@pstdio/ui 0.17.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/dist/{MermaidComponent-BCMQqPqu.js → MermaidComponent-BPiVFNYK.js} +2 -2
  2. package/dist/{MermaidComponent-BCMQqPqu.js.map → MermaidComponent-BPiVFNYK.js.map} +1 -1
  3. package/dist/chat-ui.js +2 -2
  4. package/dist/components/data-table/data-table-column-menu.d.ts +4 -1
  5. package/dist/components/data-table/data-table-header.d.ts +0 -8
  6. package/dist/components/data-table/editable-cells-story.d.ts +9 -0
  7. package/dist/components/diff-viewer/code-editor.d.ts +2 -0
  8. package/dist/components/diff-viewer/index.d.ts +1 -1
  9. package/dist/components/diff-viewer/monaco-browser.d.ts +1 -0
  10. package/dist/components/overlays/searchable-menu-input.d.ts +9 -0
  11. package/dist/components/param-editor/index.d.ts +5 -2
  12. package/dist/components/param-editor/inputs/action-input.d.ts +1 -0
  13. package/dist/components/param-editor/inputs/boolean-input.d.ts +13 -0
  14. package/dist/components/param-editor/inputs/color-input.d.ts +1 -0
  15. package/dist/components/param-editor/inputs/date-input.d.ts +1 -0
  16. package/dist/components/param-editor/inputs/file-upload-input.d.ts +15 -0
  17. package/dist/components/param-editor/inputs/file-upload-value.d.ts +7 -0
  18. package/dist/components/param-editor/inputs/horizontal-text-input.d.ts +1 -0
  19. package/dist/components/param-editor/inputs/markdown-input.d.ts +13 -0
  20. package/dist/components/param-editor/inputs/number-input.d.ts +1 -0
  21. package/dist/components/param-editor/inputs/range-input.d.ts +1 -0
  22. package/dist/components/param-editor/inputs/resource-input.d.ts +2 -0
  23. package/dist/components/param-editor/inputs/segmented-input.d.ts +1 -0
  24. package/dist/components/param-editor/inputs/selection-input.d.ts +1 -0
  25. package/dist/components/param-editor/inputs/selection-menu.d.ts +4 -0
  26. package/dist/components/param-editor/inputs/text-input.d.ts +1 -0
  27. package/dist/components/param-editor/param-editor-advanced-field.d.ts +14 -0
  28. package/dist/components/param-editor/param-editor-control-fixtures.d.ts +24 -0
  29. package/dist/components/param-editor/param-editor-field.d.ts +2 -0
  30. package/dist/components/param-editor/param-editor-horizontal.d.ts +2 -2
  31. package/dist/components/param-editor/param-editor-label.d.ts +1 -0
  32. package/dist/components/param-editor/param-editor-presentation.d.ts +3 -0
  33. package/dist/components/param-editor/param-editor.types.d.ts +25 -13
  34. package/dist/components/param-editor/resolve-param-value.d.ts +2 -0
  35. package/dist/components/primitives/chip.d.ts +4 -0
  36. package/dist/components/primitives/index.d.ts +2 -0
  37. package/dist/components/primitives/resource-badge.d.ts +12 -10
  38. package/dist/components/rich-text/index.d.ts +1 -0
  39. package/dist/components/rich-text/lazy-markdown-editor.d.ts +2 -0
  40. package/dist/components/rich-text/utils/inferResourceType.d.ts +1 -1
  41. package/dist/data-table.js +960 -910
  42. package/dist/data-table.js.map +1 -1
  43. package/dist/diff.js +370 -366
  44. package/dist/diff.js.map +1 -1
  45. package/dist/font/css/prompt-studio-icons.css +690 -0
  46. package/dist/font/prompt-studio-icons.eot +0 -0
  47. package/dist/font/prompt-studio-icons.svg +1 -0
  48. package/dist/font/prompt-studio-icons.ttf +0 -0
  49. package/dist/font/prompt-studio-icons.woff +0 -0
  50. package/dist/font/prompt-studio-icons.woff2 +0 -0
  51. package/dist/index.js +895 -947
  52. package/dist/index.js.map +1 -1
  53. package/dist/{kanban-renderer-toolbar-B9ro-9z1.js → kanban-renderer-toolbar-Db1mIWWd.js} +3 -3
  54. package/dist/{kanban-renderer-toolbar-B9ro-9z1.js.map → kanban-renderer-toolbar-Db1mIWWd.js.map} +1 -1
  55. package/dist/kanban-renderer.js +831 -817
  56. package/dist/kanban-renderer.js.map +1 -1
  57. package/dist/lazy-markdown-editor-DwhqQ-NN.js +26 -0
  58. package/dist/lazy-markdown-editor-DwhqQ-NN.js.map +1 -0
  59. package/dist/{list-row-YRUxEcy3.js → list-row-BYWwcbGK.js} +286 -271
  60. package/dist/list-row-BYWwcbGK.js.map +1 -0
  61. package/dist/markdown-DDd2ESoH.js +743 -0
  62. package/dist/markdown-DDd2ESoH.js.map +1 -0
  63. package/dist/markdown-editor-CYVkzt8t.js +741 -0
  64. package/dist/markdown-editor-CYVkzt8t.js.map +1 -0
  65. package/dist/monaco-browser-CO0NxK_Z.js +19 -0
  66. package/dist/monaco-browser-CO0NxK_Z.js.map +1 -0
  67. package/dist/param-editor-BCZOw5Gt.js +140 -0
  68. package/dist/param-editor-BCZOw5Gt.js.map +1 -0
  69. package/dist/param-editor-field-ZzZwgjZ_.js +2094 -0
  70. package/dist/param-editor-field-ZzZwgjZ_.js.map +1 -0
  71. package/dist/resource-badge-CuItchgL.js +98 -0
  72. package/dist/resource-badge-CuItchgL.js.map +1 -0
  73. package/dist/rich-message--eRzjWYK.js +730 -0
  74. package/dist/rich-message--eRzjWYK.js.map +1 -0
  75. package/dist/rich-text.js +114 -827
  76. package/dist/rich-text.js.map +1 -1
  77. package/dist/style.css +1 -1
  78. package/dist/theme/primitives/fonts.d.ts +3 -0
  79. package/dist/theme/recipes/badge.d.ts +8 -0
  80. package/dist/theme/recipes/color-picker.d.ts +18 -1
  81. package/dist/theme/recipes/switch.d.ts +17 -0
  82. package/dist/{theme-CNhnbvcE.js → theme-poQlUgt0.js} +284 -156
  83. package/dist/theme-poQlUgt0.js.map +1 -0
  84. package/dist/theme.js +1 -1
  85. package/dist/{tree-list-CZHLAURU.js → tree-list-BAja2eXU.js} +2 -2
  86. package/dist/{tree-list-CZHLAURU.js.map → tree-list-BAja2eXU.js.map} +1 -1
  87. package/package.json +2 -1
  88. package/dist/components/param-editor/inputs/file-accept.d.ts +0 -22
  89. package/dist/components/param-editor/inputs/file-drop-input.d.ts +0 -14
  90. package/dist/list-row-YRUxEcy3.js.map +0 -1
  91. package/dist/param-editor-CYZJbmKu.js +0 -933
  92. package/dist/param-editor-CYZJbmKu.js.map +0 -1
  93. package/dist/param-editor-read-only-field-DgtLqcFa.js +0 -925
  94. package/dist/param-editor-read-only-field-DgtLqcFa.js.map +0 -1
  95. package/dist/prism-BXb57lxL.js +0 -125
  96. package/dist/prism-BXb57lxL.js.map +0 -1
  97. package/dist/resource-badge-qCWHP-wQ.js +0 -99
  98. package/dist/resource-badge-qCWHP-wQ.js.map +0 -1
  99. package/dist/rich-message-DBf_5YlW.js +0 -1450
  100. package/dist/rich-message-DBf_5YlW.js.map +0 -1
  101. package/dist/theme-CNhnbvcE.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,33 +1,32 @@
1
- import { Avatar as lt, Box as Q, Text as V, Stack as K, HStack as oe, chakra as ft, Textarea as sn, Spacer as Ht, IconButton as Ge, Icon as we, Timeline as Te, Dialog as q, CloseButton as Ft, Input as ht, InputGroup as Mt, Kbd as an, Collapsible as Xe, Flex as ge, Badge as Ne, Button as ne, Skeleton as gt, Portal as Vt, Breadcrumb as fe, AbsoluteCenter as cn, Switch as Ie, createToaster as dn, Toaster as un, Toast as ze, Spinner as Gt, Table as X, Editable as st, Menu as Fe } from "@chakra-ui/react";
2
- import { ChakraProvider as fl } from "@chakra-ui/react";
3
- import { jsx as l, jsxs as b, Fragment as je } from "react/jsx-runtime";
4
- import { c as A } from "react/compiler-runtime";
5
- import * as ct from "react";
6
- import { Children as fn, useState as ce, useEffect as he, useRef as Ve, Fragment as bt, forwardRef as Ut, Component as hn, createContext as mn, useContext as pn } from "react";
7
- import { Paperclip as gn, ArrowUp as bn, Check as Ze, ArrowRight as xn, ArrowLeft as Sn, Option as xt, Command as qe, ChevronRight as vn, Bell as yn, X as jt, Search as Qt, SquareArrowOutUpRight as Cn, Minus as wn, FileText as In, FolderOpen as Tn, Folder as Xt, Home as Pn, ChevronUp as An, ChevronDown as kn, GripVertical as En, Trash2 as Rn, Plus as Dn } from "lucide-react";
8
- import { T as Ue, S as Je } from "./scroll-area-BMbg1WcD.js";
9
- import { useVirtualizer as _n } from "@tanstack/react-virtual";
10
- import { L as et, H as On, R as qt } from "./list-row-YRUxEcy3.js";
11
- import { a as ml, b as pl } from "./list-row-YRUxEcy3.js";
12
- import { T as $n } from "./tree-list-CZHLAURU.js";
13
- import { R as bl } from "./tree-list-CZHLAURU.js";
14
- import { A as mt } from "./radio-cLMEBBZk.js";
15
- import { R as Sl, a as vl } from "./radio-cLMEBBZk.js";
16
- import { A as Cl, H as wl, i as Il } from "./prism-BXb57lxL.js";
17
- import { A as Pl, a as Al, b as kl, F as El, P as Rl, c as Dl, d as _l, e as Ol, R as $l, f as Ll, S as zl, T as Bl, V as Nl, i as Wl } from "./param-editor-CYZJbmKu.js";
18
- import { I as Kt } from "./param-editor-read-only-field-DgtLqcFa.js";
19
- import { C as Fl, D as Ml, N as Vl, e as Gl, P as Ul, P as jl, b as Ql, a as Xl, S as ql, i as Kl, W as Yl, g as Zl, o as Jl, j as es, r as ts, k as ns } from "./param-editor-read-only-field-DgtLqcFa.js";
20
- import { C as rs } from "./checkbox-B2zYVemL.js";
21
- import { E as ls } from "./empty-state-Bo4HVrgr.js";
22
- import { g as Ln } from "./resource-badge-qCWHP-wQ.js";
23
- import { R as as } from "./resource-badge-qCWHP-wQ.js";
24
- import { useStore as tt } from "zustand";
25
- import { persist as nt, createJSONStorage as ot } from "zustand/middleware";
26
- import { createStore as rt } from "zustand/vanilla";
27
- import { c as We } from "./browser-storage-BinyFNJX.js";
28
- import { useSensors as zn, useSensor as Bn, PointerSensor as Nn, DndContext as Wn, closestCenter as Hn } from "@dnd-kit/core";
29
- import { useSortable as Fn, SortableContext as Mn, verticalListSortingStrategy as Vn, arrayMove as Gn } from "@dnd-kit/sortable";
30
- import { CSS as Un } from "@dnd-kit/utilities";
1
+ import { Avatar as it, Box as Q, Text as V, Stack as K, HStack as oe, chakra as dt, Textarea as ln, Spacer as Wt, IconButton as Ve, Icon as we, Timeline as Ie, Dialog as q, CloseButton as Ft, Input as ut, InputGroup as Ht, Kbd as sn, Collapsible as Qe, Flex as ge, Badge as Be, Button as ne, Skeleton as mt, Portal as Mt, Breadcrumb as fe, AbsoluteCenter as an, createToaster as cn, Toaster as dn, Toast as Le, Spinner as Vt, Table as X, Editable as lt, Menu as Fe } from "@chakra-ui/react";
2
+ import { ChakraProvider as dl } from "@chakra-ui/react";
3
+ import { jsx as l, jsxs as b, Fragment as Ue } from "react/jsx-runtime";
4
+ import { c as T } from "react/compiler-runtime";
5
+ import * as pt from "react";
6
+ import { Children as un, useState as ce, useEffect as he, useRef as Me, Fragment as gt, forwardRef as Gt, Component as fn, createContext as hn, useContext as mn } from "react";
7
+ import { Paperclip as pn, ArrowUp as gn, Check as Ye, ArrowRight as bn, ArrowLeft as xn, Option as bt, Command as Xe, ChevronRight as Sn, Bell as vn, X as Ut, Search as jt, SquareArrowOutUpRight as yn, Minus as Cn, FileText as wn, FolderOpen as In, Folder as Qt, Home as Tn, ChevronUp as Pn, ChevronDown as An, GripVertical as En, Trash2 as kn, Plus as Dn } from "lucide-react";
8
+ import { T as Ge, S as Ze } from "./scroll-area-BMbg1WcD.js";
9
+ import { useVirtualizer as Rn } from "@tanstack/react-virtual";
10
+ import { L as Je, H as On, R as Xt } from "./list-row-BYWwcbGK.js";
11
+ import { b as fl, c as hl } from "./list-row-BYWwcbGK.js";
12
+ import { T as _n } from "./tree-list-BAja2eXU.js";
13
+ import { R as pl } from "./tree-list-BAja2eXU.js";
14
+ import { A as ft } from "./radio-cLMEBBZk.js";
15
+ import { R as bl, a as xl } from "./radio-cLMEBBZk.js";
16
+ import { I as qt } from "./param-editor-field-ZzZwgjZ_.js";
17
+ import { d as vl, e as yl, f as Cl, A as wl, B as Il, C as Tl, h as Pl, D as Al, F as El, H as kl, M as Dl, j as Rl, k as Ol, P as _l, l as $l, m as Ll, l as zl, n as Bl, o as Nl, R as Wl, p as Fl, q as Hl, S as Ml, r as Vl, b as Gl, T as Ul, V as jl, W as Ql, g as Xl, s as ql, a as Kl, t as Yl, u as Zl, v as Jl, w as es } from "./param-editor-field-ZzZwgjZ_.js";
18
+ import { P as ns, a as os } from "./param-editor-BCZOw5Gt.js";
19
+ import { C as is } from "./checkbox-B2zYVemL.js";
20
+ import { E as ss } from "./empty-state-Bo4HVrgr.js";
21
+ import { g as $n } from "./resource-badge-CuItchgL.js";
22
+ import { R as cs } from "./resource-badge-CuItchgL.js";
23
+ import { useStore as et } from "zustand";
24
+ import { persist as tt, createJSONStorage as nt } from "zustand/middleware";
25
+ import { createStore as ot } from "zustand/vanilla";
26
+ import { c as Ne } from "./browser-storage-BinyFNJX.js";
27
+ import { useSensors as Ln, useSensor as zn, PointerSensor as Bn, DndContext as Nn, closestCenter as Wn } from "@dnd-kit/core";
28
+ import { useSortable as Fn, SortableContext as Hn, verticalListSortingStrategy as Mn, arrayMove as Vn } from "@dnd-kit/sortable";
29
+ import { CSS as Gn } from "@dnd-kit/utilities";
31
30
  import "@fontsource/inter/400.css";
32
31
  import "@fontsource/inter/500.css";
33
32
  import "@fontsource/playfair-display/400.css";
@@ -36,10 +35,11 @@ import "@fontsource/playfair-display/700.css";
36
35
  import "@fontsource/onest/400.css";
37
36
  import "@fontsource/onest/500.css";
38
37
  import "@fontsource/onest/700.css";
39
- import { c as ds, a as us, t as fs } from "./theme-CNhnbvcE.js";
40
- import { T as ms, a as ps, d as gs, b as bs, c as xs, e as Ss, g as vs, i as ys, u as Cs } from "./theme-preference-DOzHx64J.js";
41
- const it = (n) => {
42
- const e = A(14), {
38
+ import { c as us, a as fs, t as hs } from "./theme-poQlUgt0.js";
39
+ import { T as ps, a as gs, d as bs, b as xs, c as Ss, e as vs, g as ys, i as Cs, u as ws } from "./theme-preference-DOzHx64J.js";
40
+ import { i as Ts } from "./lazy-markdown-editor-DwhqQ-NN.js";
41
+ const rt = (n) => {
42
+ const e = T(14), {
43
43
  actor: o,
44
44
  icon: t,
45
45
  color: r,
@@ -51,32 +51,32 @@ const it = (n) => {
51
51
  }
52
52
  const c = o?.avatarSrc, d = o?.avatarAlt ?? o?.name;
53
53
  let u;
54
- e[4] !== c || e[5] !== d ? (u = /* @__PURE__ */ l(lt.Image, { src: c, alt: d }), e[4] = c, e[5] = d, e[6] = u) : u = e[6];
54
+ e[4] !== c || e[5] !== d ? (u = /* @__PURE__ */ l(it.Image, { src: c, alt: d }), e[4] = c, e[5] = d, e[6] = u) : u = e[6];
55
55
  const h = o?.name;
56
56
  let f;
57
- e[7] !== a || e[8] !== s || e[9] !== h ? (f = /* @__PURE__ */ l(lt.Fallback, { name: h, background: a, color: s }), e[7] = a, e[8] = s, e[9] = h, e[10] = f) : f = e[10];
57
+ e[7] !== a || e[8] !== s || e[9] !== h ? (f = /* @__PURE__ */ l(it.Fallback, { name: h, background: a, color: s }), e[7] = a, e[8] = s, e[9] = h, e[10] = f) : f = e[10];
58
58
  let p;
59
- return e[11] !== u || e[12] !== f ? (p = /* @__PURE__ */ b(lt.Root, { size: "2xs", flexShrink: 0, children: [
59
+ return e[11] !== u || e[12] !== f ? (p = /* @__PURE__ */ b(it.Root, { size: "2xs", flexShrink: 0, children: [
60
60
  u,
61
61
  f
62
62
  ] }), e[11] = u, e[12] = f, e[13] = p) : p = e[13], p;
63
- }, jn = () => {
64
- const n = A(1);
63
+ }, Un = () => {
64
+ const n = T(1);
65
65
  let e;
66
66
  return n[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ l(Q, { as: "span", boxSize: "3px", borderRadius: "full", background: "fg.subtle", flexShrink: 0 }), n[0] = e) : e = n[0], e;
67
- }, Yt = (n) => {
68
- const e = A(13), {
67
+ }, Kt = (n) => {
68
+ const e = T(13), {
69
69
  actor: o,
70
70
  timestamp: t,
71
71
  actions: r
72
72
  } = n;
73
73
  let i;
74
- e[0] !== o ? (i = /* @__PURE__ */ l(it, { actor: o }), e[0] = o, e[1] = i) : i = e[1];
74
+ e[0] !== o ? (i = /* @__PURE__ */ l(rt, { actor: o }), e[0] = o, e[1] = i) : i = e[1];
75
75
  let s;
76
76
  e[2] !== o.name ? (s = /* @__PURE__ */ l(V, { textStyle: "label/S/medium", color: "fg", truncate: !0, children: o.name }), e[2] = o.name, e[3] = s) : s = e[3];
77
77
  let a;
78
- e[4] !== t ? (a = t ? /* @__PURE__ */ b(je, { children: [
79
- /* @__PURE__ */ l(jn, {}),
78
+ e[4] !== t ? (a = t ? /* @__PURE__ */ b(Ue, { children: [
79
+ /* @__PURE__ */ l(Un, {}),
80
80
  /* @__PURE__ */ l(V, { textStyle: "label/S/regular", color: "fg.muted", flexShrink: 0, children: t })
81
81
  ] }) : null, e[4] = t, e[5] = a) : a = e[5];
82
82
  let c;
@@ -88,8 +88,8 @@ const it = (n) => {
88
88
  a,
89
89
  c
90
90
  ] }), e[8] = i, e[9] = s, e[10] = a, e[11] = c, e[12] = d) : d = e[12], d;
91
- }, Qn = (n) => {
92
- const e = A(18);
91
+ }, jn = (n) => {
92
+ const e = T(18);
93
93
  let o, t, r, i, s;
94
94
  e[0] !== n ? ({
95
95
  actor: t,
@@ -99,7 +99,7 @@ const it = (n) => {
99
99
  ...i
100
100
  } = n, e[0] = n, e[1] = o, e[2] = t, e[3] = r, e[4] = i, e[5] = s) : (o = e[1], t = e[2], r = e[3], i = e[4], s = e[5]);
101
101
  let a;
102
- e[6] !== o || e[7] !== t || e[8] !== s ? (a = /* @__PURE__ */ l(Yt, { actor: t, timestamp: s, actions: o }), e[6] = o, e[7] = t, e[8] = s, e[9] = a) : a = e[9];
102
+ e[6] !== o || e[7] !== t || e[8] !== s ? (a = /* @__PURE__ */ l(Kt, { actor: t, timestamp: s, actions: o }), e[6] = o, e[7] = t, e[8] = s, e[9] = a) : a = e[9];
103
103
  let c;
104
104
  e[10] !== r ? (c = /* @__PURE__ */ l(Q, { paddingLeft: "32px", children: /* @__PURE__ */ l(V, { as: "div", textStyle: "label/S/regular", color: "fg", overflowWrap: "anywhere", children: r }) }), e[10] = r, e[11] = c) : c = e[11];
105
105
  let d;
@@ -109,8 +109,8 @@ const it = (n) => {
109
109
  ] }), e[12] = a, e[13] = c, e[14] = d) : d = e[14];
110
110
  let u;
111
111
  return e[15] !== i || e[16] !== d ? (u = /* @__PURE__ */ l(Q, { paddingX: "md", paddingY: "sm", ...i, children: d }), e[15] = i, e[16] = d, e[17] = u) : u = e[17], u;
112
- }, Xn = (n) => {
113
- const e = A(27);
112
+ }, Qn = (n) => {
113
+ const e = T(27);
114
114
  let o, t, r, i, s, a, c;
115
115
  e[0] !== n ? ({
116
116
  actor: t,
@@ -121,9 +121,9 @@ const it = (n) => {
121
121
  children: r,
122
122
  ...a
123
123
  } = n, e[0] = n, e[1] = o, e[2] = t, e[3] = r, e[4] = i, e[5] = s, e[6] = a, e[7] = c) : (o = e[1], t = e[2], r = e[3], i = e[4], s = e[5], a = e[6], c = e[7]);
124
- const d = fn.count(s) > 0;
124
+ const d = un.count(s) > 0;
125
125
  let u;
126
- e[8] !== o || e[9] !== t || e[10] !== c ? (u = /* @__PURE__ */ l(Yt, { actor: t, timestamp: c, actions: o }), e[8] = o, e[9] = t, e[10] = c, e[11] = u) : u = e[11];
126
+ e[8] !== o || e[9] !== t || e[10] !== c ? (u = /* @__PURE__ */ l(Kt, { actor: t, timestamp: c, actions: o }), e[8] = o, e[9] = t, e[10] = c, e[11] = u) : u = e[11];
127
127
  let h;
128
128
  e[12] !== r ? (h = /* @__PURE__ */ l(V, { as: "div", textStyle: "label/S/regular", color: "fg", overflowWrap: "anywhere", whiteSpace: "pre-wrap", children: r }), e[12] = r, e[13] = h) : h = e[13];
129
129
  let f;
@@ -141,7 +141,7 @@ const it = (n) => {
141
141
  p,
142
142
  m
143
143
  ] }), e[22] = a, e[23] = f, e[24] = p, e[25] = m, e[26] = g) : g = e[26], g;
144
- }, qn = (n) => {
144
+ }, Xn = (n) => {
145
145
  const {
146
146
  actor: e,
147
147
  value: o,
@@ -156,35 +156,35 @@ const it = (n) => {
156
156
  onChange: h,
157
157
  onSubmit: f,
158
158
  ...p
159
- } = n, [m, g] = ce(t), x = o ?? m, v = i === "inline", w = x.trim().length > 0, T = (S) => {
160
- o === void 0 && g(S), h?.(S);
161
- }, P = (S) => {
162
- S.preventDefault(), w && (f?.(x.trim()), o === void 0 && g(""));
159
+ } = n, [m, g] = ce(t), x = o ?? m, S = i === "inline", A = x.trim().length > 0, E = (v) => {
160
+ o === void 0 && g(v), h?.(v);
161
+ }, R = (v) => {
162
+ v.preventDefault(), A && (f?.(x.trim()), o === void 0 && g(""));
163
163
  };
164
- return /* @__PURE__ */ l(ft.form, { width: "full", background: "bg", borderWidth: v ? "0" : "1px", borderColor: "border", borderRadius: v ? "0" : "sm", transition: "border-color 0.12s ease", _hover: v ? void 0 : {
164
+ return /* @__PURE__ */ l(dt.form, { width: "full", background: "bg", borderWidth: S ? "0" : "1px", borderColor: "border", borderRadius: S ? "0" : "sm", transition: "border-color 0.12s ease", _hover: S ? void 0 : {
165
165
  borderColor: "border"
166
- }, _focusWithin: v ? void 0 : {
166
+ }, _focusWithin: S ? void 0 : {
167
167
  borderColor: "border.accent"
168
- }, onSubmit: P, ...p, children: /* @__PURE__ */ b(oe, { alignItems: "flex-start", gap: "xs", padding: v ? "sm" : "md", children: [
169
- e ? /* @__PURE__ */ l(it, { actor: e }) : null,
168
+ }, onSubmit: R, ...p, children: /* @__PURE__ */ b(oe, { alignItems: "flex-start", gap: "xs", padding: S ? "sm" : "md", children: [
169
+ e ? /* @__PURE__ */ l(rt, { actor: e }) : null,
170
170
  /* @__PURE__ */ b(Q, { flex: "1", minW: "0", children: [
171
- /* @__PURE__ */ l(sn, { value: x, rows: s, resize: "none", border: "0", padding: "0", minH: v ? "1.5rem" : "4rem", background: "transparent", color: "fg", textStyle: "label/S/regular", placeholder: r, _placeholder: {
171
+ /* @__PURE__ */ l(ln, { value: x, rows: s, resize: "none", border: "0", padding: "0", minH: S ? "1.5rem" : "4rem", background: "transparent", color: "fg", textStyle: "label/S/regular", placeholder: r, _placeholder: {
172
172
  color: "fg.subtle"
173
- }, onChange: (S) => T(S.currentTarget.value) }),
174
- /* @__PURE__ */ b(oe, { gap: "2xs", marginTop: v ? "0" : "sm", children: [
173
+ }, onChange: (v) => E(v.currentTarget.value) }),
174
+ /* @__PURE__ */ b(oe, { gap: "2xs", marginTop: S ? "0" : "sm", children: [
175
175
  d,
176
- /* @__PURE__ */ l(Ht, {}),
177
- /* @__PURE__ */ l(Ue, { content: a, children: /* @__PURE__ */ l(Ge, { size: "2xs", variant: "ghost", "aria-label": a, type: "button", onClick: u, children: /* @__PURE__ */ l(we, { as: gn, boxSize: "14px" }) }) }),
178
- /* @__PURE__ */ l(Ue, { content: c, children: /* @__PURE__ */ l(Ge, { size: "2xs", variant: "subtle", "aria-label": c, type: "submit", disabled: !w, children: /* @__PURE__ */ l(we, { as: bn, boxSize: "14px" }) }) })
176
+ /* @__PURE__ */ l(Wt, {}),
177
+ /* @__PURE__ */ l(Ge, { content: a, children: /* @__PURE__ */ l(Ve, { size: "2xs", variant: "ghost", "aria-label": a, type: "button", onClick: u, children: /* @__PURE__ */ l(we, { as: pn, boxSize: "14px" }) }) }),
178
+ /* @__PURE__ */ l(Ge, { content: c, children: /* @__PURE__ */ l(Ve, { size: "2xs", variant: "subtle", "aria-label": c, type: "submit", disabled: !A, children: /* @__PURE__ */ l(we, { as: gn, boxSize: "14px" }) }) })
179
179
  ] })
180
180
  ] })
181
181
  ] }) });
182
- }, Kn = () => {
183
- const n = A(1);
182
+ }, qn = () => {
183
+ const n = T(1);
184
184
  let e;
185
185
  return n[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ l(Q, { as: "span", boxSize: "3px", borderRadius: "full", background: "fg.subtle", flexShrink: 0 }), n[0] = e) : e = n[0], e;
186
- }, Yn = (n) => {
187
- const e = A(28);
186
+ }, Kn = (n) => {
187
+ const e = T(28);
188
188
  let o, t, r, i, s, a, c;
189
189
  e[0] !== n ? ({
190
190
  actor: o,
@@ -197,34 +197,34 @@ const it = (n) => {
197
197
  } = n, e[0] = n, e[1] = o, e[2] = t, e[3] = r, e[4] = i, e[5] = s, e[6] = a, e[7] = c) : (o = e[1], t = e[2], r = e[3], i = e[4], s = e[5], a = e[6], c = e[7]);
198
198
  const d = s === void 0 ? "fg" : s, u = a === void 0 ? "transparent" : a;
199
199
  let h;
200
- e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ l(Te.Separator, { borderColor: "border" }), e[8] = h) : h = e[8];
200
+ e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ l(Ie.Separator, { borderColor: "border" }), e[8] = h) : h = e[8];
201
201
  let f;
202
- e[9] !== o || e[10] !== r || e[11] !== u || e[12] !== d ? (f = /* @__PURE__ */ b(Te.Connector, { children: [
202
+ e[9] !== o || e[10] !== r || e[11] !== u || e[12] !== d ? (f = /* @__PURE__ */ b(Ie.Connector, { children: [
203
203
  h,
204
- /* @__PURE__ */ l(Te.Indicator, { outline: "none", border: "none", background: "bg", children: /* @__PURE__ */ l(it, { actor: o, icon: r, color: d, background: u }) })
204
+ /* @__PURE__ */ l(Ie.Indicator, { outline: "none", border: "none", background: "bg", children: /* @__PURE__ */ l(rt, { actor: o, icon: r, color: d, background: u }) })
205
205
  ] }), e[9] = o, e[10] = r, e[11] = u, e[12] = d, e[13] = f) : f = e[13];
206
206
  let p;
207
207
  e[14] !== o ? (p = o ? /* @__PURE__ */ l(V, { as: "span", color: "fg", fontWeight: "500", flexShrink: 0, children: o.name }) : null, e[14] = o, e[15] = p) : p = e[15];
208
208
  let m;
209
209
  e[16] !== t ? (m = /* @__PURE__ */ l(Q, { as: "span", display: "inline-flex", alignItems: "center", gap: "2xs", minW: "0", flexWrap: "wrap", children: t }), e[16] = t, e[17] = m) : m = e[17];
210
210
  let g;
211
- e[18] !== c ? (g = c ? /* @__PURE__ */ b(je, { children: [
212
- /* @__PURE__ */ l(Kn, {}),
211
+ e[18] !== c ? (g = c ? /* @__PURE__ */ b(Ue, { children: [
212
+ /* @__PURE__ */ l(qn, {}),
213
213
  /* @__PURE__ */ l(V, { as: "span", color: "fg.muted", flexShrink: 0, children: c })
214
214
  ] }) : null, e[18] = c, e[19] = g) : g = e[19];
215
215
  let x;
216
- e[20] !== p || e[21] !== m || e[22] !== g ? (x = /* @__PURE__ */ l(Te.Content, { gap: "0", paddingBottom: "xs", minW: "0", children: /* @__PURE__ */ b(Te.Title, { marginTop: "0", gap: "xs", minW: "0", fontWeight: "normal", textStyle: "label/S/regular", color: "fg.muted", children: [
216
+ e[20] !== p || e[21] !== m || e[22] !== g ? (x = /* @__PURE__ */ l(Ie.Content, { gap: "0", paddingBottom: "xs", minW: "0", children: /* @__PURE__ */ b(Ie.Title, { marginTop: "0", gap: "xs", minW: "0", fontWeight: "normal", textStyle: "label/S/regular", color: "fg.muted", children: [
217
217
  p,
218
218
  m,
219
219
  g
220
220
  ] }) }), e[20] = p, e[21] = m, e[22] = g, e[23] = x) : x = e[23];
221
- let v;
222
- return e[24] !== i || e[25] !== f || e[26] !== x ? (v = /* @__PURE__ */ b(Te.Item, { gap: "xs", minH: "24px", paddingX: "md", ...i, children: [
221
+ let S;
222
+ return e[24] !== i || e[25] !== f || e[26] !== x ? (S = /* @__PURE__ */ b(Ie.Item, { gap: "xs", minH: "24px", paddingX: "md", ...i, children: [
223
223
  f,
224
224
  x
225
- ] }), e[24] = i, e[25] = f, e[26] = x, e[27] = v) : v = e[27], v;
226
- }, Zn = (n) => {
227
- const e = A(6);
225
+ ] }), e[24] = i, e[25] = f, e[26] = x, e[27] = S) : S = e[27], S;
226
+ }, Yn = (n) => {
227
+ const e = T(6);
228
228
  let o, t;
229
229
  e[0] !== n ? ({
230
230
  children: o,
@@ -232,8 +232,8 @@ const it = (n) => {
232
232
  } = n, e[0] = n, e[1] = o, e[2] = t) : (o = e[1], t = e[2]);
233
233
  let r;
234
234
  return e[3] !== o || e[4] !== t ? (r = /* @__PURE__ */ l(K, { width: "full", gap: "md", ...t, children: o }), e[3] = o, e[4] = t, e[5] = r) : r = e[5], r;
235
- }, Jn = (n) => {
236
- const e = A(12);
235
+ }, Zn = (n) => {
236
+ const e = T(12);
237
237
  let o, t, r;
238
238
  e[0] !== n ? ({
239
239
  title: r,
@@ -250,8 +250,8 @@ const it = (n) => {
250
250
  s,
251
251
  a
252
252
  ] }), e[8] = t, e[9] = s, e[10] = a, e[11] = c) : c = e[11], c;
253
- }, eo = (n) => {
254
- const e = A(6);
253
+ }, Jn = (n) => {
254
+ const e = T(6);
255
255
  let o, t;
256
256
  e[0] !== n ? ({
257
257
  children: o,
@@ -259,8 +259,8 @@ const it = (n) => {
259
259
  } = n, e[0] = n, e[1] = o, e[2] = t) : (o = e[1], t = e[2]);
260
260
  let r;
261
261
  return e[3] !== o || e[4] !== t ? (r = /* @__PURE__ */ l(K, { gap: "md", width: "full", ...t, children: o }), e[3] = o, e[4] = t, e[5] = r) : r = e[5], r;
262
- }, to = (n) => {
263
- const e = A(7);
262
+ }, eo = (n) => {
263
+ const e = T(7);
264
264
  let o, t;
265
265
  e[0] !== n ? ({
266
266
  children: o,
@@ -271,24 +271,24 @@ const it = (n) => {
271
271
  "--timeline-indicator-size": "18px"
272
272
  }, e[3] = r) : r = e[3];
273
273
  let i;
274
- return e[4] !== o || e[5] !== t ? (i = /* @__PURE__ */ l(Te.Root, { size: "sm", variant: "plain", width: "full", css: r, ...t, children: o }), e[4] = o, e[5] = t, e[6] = i) : i = e[6], i;
275
- }, Ri = {
276
- Root: Zn,
277
- Header: Jn,
278
- Feed: eo,
279
- Timeline: to,
280
- Event: Yn,
281
- Comment: Xn,
282
- Reply: Qn,
283
- Composer: qn,
284
- Avatar: it
285
- }, Di = 48, no = (n) => {
274
+ return e[4] !== o || e[5] !== t ? (i = /* @__PURE__ */ l(Ie.Root, { size: "sm", variant: "plain", width: "full", css: r, ...t, children: o }), e[4] = o, e[5] = t, e[6] = i) : i = e[6], i;
275
+ }, ki = {
276
+ Root: Yn,
277
+ Header: Zn,
278
+ Feed: Jn,
279
+ Timeline: eo,
280
+ Event: Kn,
281
+ Comment: Qn,
282
+ Reply: jn,
283
+ Composer: Xn,
284
+ Avatar: rt
285
+ }, Di = 48, to = (n) => {
286
286
  const e = typeof n.label == "string" ? n.label : "", o = typeof n.secondaryLabel == "string" ? n.secondaryLabel : "";
287
287
  return `${e} ${n.searchText ?? ""} ${o}`;
288
- }, Zt = (n, e) => n.trimStart().startsWith(e), oo = (n, e = [], o) => e.find((r) => r.inputPrefix && Zt(n, r.inputPrefix))?.id ?? o ?? e.find((r) => !r.inputPrefix)?.id ?? e[0]?.id, ro = (n, e = [], o) => {
289
- const t = e.find((r) => r.id === o && r.inputPrefix && Zt(n, r.inputPrefix));
288
+ }, Yt = (n, e) => n.trimStart().startsWith(e), no = (n, e = [], o) => e.find((r) => r.inputPrefix && Yt(n, r.inputPrefix))?.id ?? o ?? e.find((r) => !r.inputPrefix)?.id ?? e[0]?.id, oo = (n, e = [], o) => {
289
+ const t = e.find((r) => r.id === o && r.inputPrefix && Yt(n, r.inputPrefix));
290
290
  return t?.inputPrefix ? n.trimStart().slice(t.inputPrefix.length).trim() : n.trim();
291
- }, io = (n, e) => {
291
+ }, ro = (n, e) => {
292
292
  const o = {};
293
293
  return n.filter((t) => {
294
294
  const r = t.assetType;
@@ -296,20 +296,20 @@ const it = (n) => {
296
296
  const i = o[r] ?? 0;
297
297
  return i >= e ? !1 : (o[r] = i + 1, !0);
298
298
  });
299
- }, lo = (n, e) => {
300
- const o = (e.getEffectiveQuery?.(e.query) ?? e.query.trim()).toLowerCase(), t = n.filter((r) => e.mode && r.mode !== e.mode ? !1 : o ? no(r).toLowerCase().includes(o) : !0);
301
- return o || e.defaultAssetLimit === void 0 ? t : io(t, e.defaultAssetLimit);
302
- }, so = 24, ao = 40, co = 384, uo = (n) => ({
299
+ }, io = (n, e) => {
300
+ const o = (e.getEffectiveQuery?.(e.query) ?? e.query.trim()).toLowerCase(), t = n.filter((r) => e.mode && r.mode !== e.mode ? !1 : o ? to(r).toLowerCase().includes(o) : !0);
301
+ return o || e.defaultAssetLimit === void 0 ? t : ro(t, e.defaultAssetLimit);
302
+ }, lo = 24, so = 40, ao = 384, co = (n) => ({
303
303
  id: n.id,
304
304
  label: n.label,
305
305
  description: n.description ?? n.secondaryLabel,
306
306
  icon: n.icon,
307
307
  endContent: n.endContent ?? (n.shortcut || n.isSelected ? /* @__PURE__ */ b(oe, { gap: "2", children: [
308
308
  n.shortcut,
309
- n.isSelected ? /* @__PURE__ */ l(we, { as: Ze, boxSize: "14px", color: "fg.muted" }) : null
309
+ n.isSelected ? /* @__PURE__ */ l(we, { as: Ye, boxSize: "14px", color: "fg.muted" }) : null
310
310
  ] }) : void 0),
311
311
  onActivate: n.onActivate
312
- }), fo = (n) => {
312
+ }), uo = (n) => {
313
313
  const e = [];
314
314
  return n.forEach((o, t) => {
315
315
  const r = n[t - 1];
@@ -324,21 +324,21 @@ const it = (n) => {
324
324
  entryIndex: t
325
325
  });
326
326
  }), e;
327
- }, ho = (n, e) => n.findIndex((o) => o.type === "entry" && o.entryIndex === e), mo = (n) => {
327
+ }, fo = (n, e) => n.findIndex((o) => o.type === "entry" && o.entryIndex === e), ho = (n) => {
328
328
  const {
329
329
  entries: e,
330
330
  activeIndex: o,
331
331
  emptyLabel: t,
332
332
  onHover: r,
333
333
  scrollRef: i
334
- } = n, s = fo(e), a = ho(s, o), c = _n({
334
+ } = n, s = uo(e), a = fo(s, o), c = Rn({
335
335
  count: s.length,
336
336
  getScrollElement: () => i.current,
337
- estimateSize: (d) => s[d]?.type === "group" ? so : ao,
337
+ estimateSize: (d) => s[d]?.type === "group" ? lo : so,
338
338
  getItemKey: (d) => s[d]?.id ?? d,
339
339
  initialRect: {
340
340
  width: 0,
341
- height: co
341
+ height: ao
342
342
  },
343
343
  overscan: 6
344
344
  });
@@ -353,9 +353,9 @@ const it = (n) => {
353
353
  const u = s[d.index];
354
354
  return u ? /* @__PURE__ */ l(Q, { "data-index": d.index, ref: c.measureElement, position: "absolute", left: "0", width: "100%", style: {
355
355
  top: d.start
356
- }, children: u.type === "group" ? /* @__PURE__ */ l(V, { textStyle: "label/XS/medium", color: "fg.muted", px: "sm", pt: "xs", pb: "2xs", children: u.label }) : /* @__PURE__ */ l(et, { variant: "full-width", ...uo(u.entry), isSelected: u.entryIndex === o, tabIndex: -1, onPointerMove: () => r(u.entryIndex) }) }, d.key) : null;
356
+ }, children: u.type === "group" ? /* @__PURE__ */ l(V, { textStyle: "label/XS/medium", color: "fg.muted", px: "sm", pt: "xs", pb: "2xs", children: u.label }) : /* @__PURE__ */ l(Je, { variant: "full-width", ...co(u.entry), isSelected: u.entryIndex === o, tabIndex: -1, onPointerMove: () => r(u.entryIndex) }) }, d.key) : null;
357
357
  }) });
358
- }, St = (n) => n != null, po = (n, e) => n && e ? "space-between" : e ? "flex-end" : "flex-start", go = {
358
+ }, xt = (n) => n != null, mo = (n, e) => n && e ? "space-between" : e ? "flex-end" : "flex-start", po = {
359
359
  bg: "transparent",
360
360
  border: "0",
361
361
  borderColor: "transparent",
@@ -380,8 +380,8 @@ const it = (n) => {
380
380
  outline: "none",
381
381
  boxShadow: "none"
382
382
  }
383
- }, Jt = (n) => {
384
- const e = A(49), {
383
+ }, Zt = (n) => {
384
+ const e = T(49), {
385
385
  children: o,
386
386
  searchValue: t,
387
387
  searchPlaceholder: r,
@@ -397,51 +397,51 @@ const it = (n) => {
397
397
  scrollAreaProps: m,
398
398
  onSearchChange: g,
399
399
  onSearchKeyDown: x
400
- } = n, v = i === void 0 ? r : i, w = d === void 0 ? !1 : d, T = u === void 0 ? "Close" : u;
401
- let P;
402
- if (e[0] !== h || e[1] !== o || e[2] !== T || e[3] !== p || e[4] !== f || e[5] !== g || e[6] !== x || e[7] !== m || e[8] !== v || e[9] !== c || e[10] !== s || e[11] !== a || e[12] !== r || e[13] !== t || e[14] !== w) {
403
- const S = St(f), k = St(p);
404
- let y;
405
- e[16] !== m ? (y = m ?? {}, e[16] = m, e[17] = y) : y = e[17];
406
- let $, R, O;
407
- e[18] !== y ? ({
408
- maxH: R,
400
+ } = n, S = i === void 0 ? r : i, A = d === void 0 ? !1 : d, E = u === void 0 ? "Close" : u;
401
+ let R;
402
+ if (e[0] !== h || e[1] !== o || e[2] !== E || e[3] !== p || e[4] !== f || e[5] !== g || e[6] !== x || e[7] !== m || e[8] !== S || e[9] !== c || e[10] !== s || e[11] !== a || e[12] !== r || e[13] !== t || e[14] !== A) {
403
+ const v = xt(f), _ = xt(p);
404
+ let C;
405
+ e[16] !== m ? (C = m ?? {}, e[16] = m, e[17] = C) : C = e[17];
406
+ let $, P, O;
407
+ e[18] !== C ? ({
408
+ maxH: P,
409
409
  showHorizontalScrollbar: O,
410
410
  ...$
411
- } = y, e[18] = y, e[19] = $, e[20] = R, e[21] = O) : ($ = e[19], R = e[20], O = e[21]);
412
- const N = R === void 0 ? "24rem" : R, W = O === void 0 ? !1 : O;
411
+ } = C, e[18] = C, e[19] = $, e[20] = P, e[21] = O) : ($ = e[19], P = e[20], O = e[21]);
412
+ const N = P === void 0 ? "24rem" : P, W = O === void 0 ? !1 : O;
413
413
  let L;
414
414
  e[22] !== g ? (L = (U) => g(U.target.value), e[22] = g, e[23] = L) : L = e[23];
415
- let D;
416
- e[24] !== x || e[25] !== v || e[26] !== c || e[27] !== a || e[28] !== r || e[29] !== t || e[30] !== L ? (D = /* @__PURE__ */ l(ht, { ref: a, value: t, placeholder: r, "aria-label": v, autoComplete: "off", autoFocus: c, mx: "xs", h: "3rem", ...go, onChange: L, onKeyDown: x }), e[24] = x, e[25] = v, e[26] = c, e[27] = a, e[28] = r, e[29] = t, e[30] = L, e[31] = D) : D = e[31];
417
- let I;
418
- e[32] !== s || e[33] !== D ? (I = /* @__PURE__ */ l(Mt, { startElement: s, width: "full", children: D }), e[32] = s, e[33] = D, e[34] = I) : I = e[34];
419
- let C;
420
- e[35] !== T || e[36] !== w ? (C = w ? /* @__PURE__ */ l(q.CloseTrigger, { asChild: !0, children: /* @__PURE__ */ l(Ft, { "aria-label": T, size: "sm", mr: "2" }) }) : null, e[35] = T, e[36] = w, e[37] = C) : C = e[37];
415
+ let k;
416
+ e[24] !== x || e[25] !== S || e[26] !== c || e[27] !== a || e[28] !== r || e[29] !== t || e[30] !== L ? (k = /* @__PURE__ */ l(ut, { ref: a, value: t, placeholder: r, "aria-label": S, autoComplete: "off", autoFocus: c, mx: "xs", h: "3rem", ...po, onChange: L, onKeyDown: x }), e[24] = x, e[25] = S, e[26] = c, e[27] = a, e[28] = r, e[29] = t, e[30] = L, e[31] = k) : k = e[31];
417
+ let w;
418
+ e[32] !== s || e[33] !== k ? (w = /* @__PURE__ */ l(Ht, { startElement: s, width: "full", children: k }), e[32] = s, e[33] = k, e[34] = w) : w = e[34];
419
+ let y;
420
+ e[35] !== E || e[36] !== A ? (y = A ? /* @__PURE__ */ l(q.CloseTrigger, { asChild: !0, children: /* @__PURE__ */ l(Ft, { "aria-label": E, size: "sm", mr: "2" }) }) : null, e[35] = E, e[36] = A, e[37] = y) : y = e[37];
421
421
  let z;
422
- e[38] !== C || e[39] !== I ? (z = /* @__PURE__ */ b(q.Header, { px: "0", py: "0", borderBottomWidth: "1px", borderBottomColor: "border.subtle", children: [
423
- I,
424
- C
425
- ] }), e[38] = C, e[39] = I, e[40] = z) : z = e[40];
422
+ e[38] !== y || e[39] !== w ? (z = /* @__PURE__ */ b(q.Header, { px: "0", py: "0", borderBottomWidth: "1px", borderBottomColor: "border.subtle", children: [
423
+ w,
424
+ y
425
+ ] }), e[38] = y, e[39] = w, e[40] = z) : z = e[40];
426
426
  let B;
427
- e[41] !== o || e[42] !== N || e[43] !== $ || e[44] !== W ? (B = /* @__PURE__ */ l(Je, { maxH: N, showHorizontalScrollbar: W, ...$, children: o }), e[41] = o, e[42] = N, e[43] = $, e[44] = W, e[45] = B) : B = e[45];
427
+ e[41] !== o || e[42] !== N || e[43] !== $ || e[44] !== W ? (B = /* @__PURE__ */ l(Ze, { maxH: N, showHorizontalScrollbar: W, ...$, children: o }), e[41] = o, e[42] = N, e[43] = $, e[44] = W, e[45] = B) : B = e[45];
428
428
  let j;
429
429
  e[46] !== h || e[47] !== B ? (j = /* @__PURE__ */ b(q.Body, { p: "0", children: [
430
430
  h,
431
431
  B
432
- ] }), e[46] = h, e[47] = B, e[48] = j) : j = e[48], P = /* @__PURE__ */ b(je, { children: [
432
+ ] }), e[46] = h, e[47] = B, e[48] = j) : j = e[48], R = /* @__PURE__ */ b(Ue, { children: [
433
433
  z,
434
434
  j,
435
- S || k ? /* @__PURE__ */ b(q.Footer, { justifyContent: po(S, k), px: "sm", py: "xs", borderTopWidth: "1px", borderTopColor: "border.subtle", children: [
436
- S ? /* @__PURE__ */ l(Q, { minW: "0", children: f }) : null,
437
- k ? /* @__PURE__ */ l(Q, { flexShrink: 0, children: p }) : null
435
+ v || _ ? /* @__PURE__ */ b(q.Footer, { justifyContent: mo(v, _), px: "sm", py: "xs", borderTopWidth: "1px", borderTopColor: "border.subtle", children: [
436
+ v ? /* @__PURE__ */ l(Q, { minW: "0", children: f }) : null,
437
+ _ ? /* @__PURE__ */ l(Q, { flexShrink: 0, children: p }) : null
438
438
  ] }) : null
439
- ] }), e[0] = h, e[1] = o, e[2] = T, e[3] = p, e[4] = f, e[5] = g, e[6] = x, e[7] = m, e[8] = v, e[9] = c, e[10] = s, e[11] = a, e[12] = r, e[13] = t, e[14] = w, e[15] = P;
439
+ ] }), e[0] = h, e[1] = o, e[2] = E, e[3] = p, e[4] = f, e[5] = g, e[6] = x, e[7] = m, e[8] = S, e[9] = c, e[10] = s, e[11] = a, e[12] = r, e[13] = t, e[14] = A, e[15] = R;
440
440
  } else
441
- P = e[15];
442
- return P;
443
- }, vt = (n, e, o) => typeof n == "function" ? n(e) : n ?? o, _i = (n) => {
444
- const e = A(71), {
441
+ R = e[15];
442
+ return R;
443
+ }, St = (n, e, o) => typeof n == "function" ? n(e) : n ?? o, Ri = (n) => {
444
+ const e = T(71), {
445
445
  open: o,
446
446
  entries: t,
447
447
  initialQuery: r,
@@ -457,55 +457,55 @@ const it = (n) => {
457
457
  filterEntries: m,
458
458
  onActiveEntryChange: g,
459
459
  onQueryChange: x,
460
- onClose: v,
461
- onEscape: w
462
- } = n, T = r === void 0 ? "" : r, P = i === void 0 ? 0 : i, S = c === void 0 ? "default" : c, k = h === void 0 ? "No results." : h, [y, $] = ce(T), [R, O] = ce(P), N = Ve(null), W = Ve(null);
460
+ onClose: S,
461
+ onEscape: A
462
+ } = n, E = r === void 0 ? "" : r, R = i === void 0 ? 0 : i, v = c === void 0 ? "default" : c, _ = h === void 0 ? "No results." : h, [C, $] = ce(E), [P, O] = ce(R), N = Me(null), W = Me(null);
463
463
  let L;
464
- e[0] !== S ? (L = {
464
+ e[0] !== v ? (L = {
465
465
  open: !1,
466
- resetKey: S
467
- }, e[0] = S, e[1] = L) : L = e[1];
468
- const D = Ve(L);
469
- let I, C, z, B, j;
470
- if (e[2] !== R || e[3] !== t || e[4] !== m || e[5] !== d || e[6] !== s || e[7] !== a || e[8] !== u || e[9] !== y) {
471
- const F = s ?? oo(y, a);
472
- C = m ? m(t, y, F) : lo(t, {
473
- query: y,
474
- mode: F,
475
- getEffectiveQuery: (me) => ro(me, a, F)
476
- }), I = C[R] ?? null, B = {
477
- query: y,
478
- mode: F,
479
- activeIndex: R,
480
- entries: C
481
- }, z = vt(d, B, null), j = vt(u, B, "Search"), e[2] = R, e[3] = t, e[4] = m, e[5] = d, e[6] = s, e[7] = a, e[8] = u, e[9] = y, e[10] = I, e[11] = C, e[12] = z, e[13] = B, e[14] = j;
466
+ resetKey: v
467
+ }, e[0] = v, e[1] = L) : L = e[1];
468
+ const k = Me(L);
469
+ let w, y, z, B, j;
470
+ if (e[2] !== P || e[3] !== t || e[4] !== m || e[5] !== d || e[6] !== s || e[7] !== a || e[8] !== u || e[9] !== C) {
471
+ const H = s ?? no(C, a);
472
+ y = m ? m(t, C, H) : io(t, {
473
+ query: C,
474
+ mode: H,
475
+ getEffectiveQuery: (me) => oo(me, a, H)
476
+ }), w = y[P] ?? null, B = {
477
+ query: C,
478
+ mode: H,
479
+ activeIndex: P,
480
+ entries: y
481
+ }, z = St(d, B, null), j = St(u, B, "Search"), e[2] = P, e[3] = t, e[4] = m, e[5] = d, e[6] = s, e[7] = a, e[8] = u, e[9] = C, e[10] = w, e[11] = y, e[12] = z, e[13] = B, e[14] = j;
482
482
  } else
483
- I = e[10], C = e[11], z = e[12], B = e[13], j = e[14];
483
+ w = e[10], y = e[11], z = e[12], B = e[13], j = e[14];
484
484
  const U = j;
485
485
  let G;
486
- e[15] !== x ? (G = (F) => {
487
- $(F), x?.(F);
486
+ e[15] !== x ? (G = (H) => {
487
+ $(H), x?.(H);
488
488
  }, e[15] = x, e[16] = G) : G = e[16];
489
- const _ = G;
489
+ const D = G;
490
490
  let Y;
491
- e[17] !== I ? (Y = () => {
492
- I?.onActivate();
493
- }, e[17] = I, e[18] = Y) : Y = e[18];
491
+ e[17] !== w ? (Y = () => {
492
+ w?.onActivate();
493
+ }, e[17] = w, e[18] = Y) : Y = e[18];
494
494
  const Z = Y;
495
- let E;
496
- e[19] !== v ? (E = () => {
497
- v();
498
- }, e[19] = v, e[20] = E) : E = e[20];
499
- const M = E;
500
- let H, ue;
501
- e[21] !== P || e[22] !== T || e[23] !== o || e[24] !== S ? (ue = () => {
502
- const F = D.current;
503
- if (D.current = {
495
+ let I;
496
+ e[19] !== S ? (I = () => {
497
+ S();
498
+ }, e[19] = S, e[20] = I) : I = e[20];
499
+ const M = I;
500
+ let F, ue;
501
+ e[21] !== R || e[22] !== E || e[23] !== o || e[24] !== v ? (ue = () => {
502
+ const H = k.current;
503
+ if (k.current = {
504
504
  open: o,
505
- resetKey: S
506
- }, !o || !(!F.open || F.resetKey !== S))
505
+ resetKey: v
506
+ }, !o || !(!H.open || H.resetKey !== v))
507
507
  return;
508
- $(T), O(P);
508
+ $(E), O(R);
509
509
  const ye = setTimeout(() => {
510
510
  const Ce = N.current;
511
511
  if (!Ce)
@@ -515,57 +515,57 @@ const it = (n) => {
515
515
  Ce.setSelectionRange(pe, pe);
516
516
  }, 0);
517
517
  return () => clearTimeout(ye);
518
- }, H = [P, T, o, S], e[21] = P, e[22] = T, e[23] = o, e[24] = S, e[25] = H, e[26] = ue) : (H = e[25], ue = e[26]), he(ue, H);
518
+ }, F = [R, E, o, v], e[21] = R, e[22] = E, e[23] = o, e[24] = v, e[25] = F, e[26] = ue) : (F = e[25], ue = e[26]), he(ue, F);
519
519
  let te, J;
520
- e[27] !== C.length ? (te = () => {
521
- O((F) => Math.min(F, Math.max(C.length - 1, 0)));
522
- }, J = [C.length], e[27] = C.length, e[28] = te, e[29] = J) : (te = e[28], J = e[29]), he(te, J);
520
+ e[27] !== y.length ? (te = () => {
521
+ O((H) => Math.min(H, Math.max(y.length - 1, 0)));
522
+ }, J = [y.length], e[27] = y.length, e[28] = te, e[29] = J) : (te = e[28], J = e[29]), he(te, J);
523
523
  let re, ie;
524
- e[30] !== I || e[31] !== R || e[32] !== g ? (re = () => {
525
- g?.(I, R);
526
- }, ie = [I, R, g], e[30] = I, e[31] = R, e[32] = g, e[33] = re, e[34] = ie) : (re = e[33], ie = e[34]), he(re, ie);
524
+ e[30] !== w || e[31] !== P || e[32] !== g ? (re = () => {
525
+ g?.(w, P);
526
+ }, ie = [w, P, g], e[30] = w, e[31] = P, e[32] = g, e[33] = re, e[34] = ie) : (re = e[33], ie = e[34]), he(re, ie);
527
527
  let se;
528
- e[35] !== I || e[36] !== M || e[37] !== C.length || e[38] !== w || e[39] !== y || e[40] !== Z || e[41] !== _ || e[42] !== B ? (se = () => {
529
- if (!w?.({
528
+ e[35] !== w || e[36] !== M || e[37] !== y.length || e[38] !== A || e[39] !== C || e[40] !== Z || e[41] !== D || e[42] !== B ? (se = () => {
529
+ if (!A?.({
530
530
  ...B,
531
- activeEntry: I,
532
- entryCount: C.length,
533
- setQuery: _,
531
+ activeEntry: w,
532
+ entryCount: y.length,
533
+ setQuery: D,
534
534
  setActiveIndex: O,
535
535
  runActiveEntry: Z,
536
536
  closePalette: M
537
537
  })) {
538
- if (y.length > 0) {
539
- _(""), O(0);
538
+ if (C.length > 0) {
539
+ D(""), O(0);
540
540
  return;
541
541
  }
542
542
  M();
543
543
  }
544
- }, e[35] = I, e[36] = M, e[37] = C.length, e[38] = w, e[39] = y, e[40] = Z, e[41] = _, e[42] = B, e[43] = se) : se = e[43];
544
+ }, e[35] = w, e[36] = M, e[37] = y.length, e[38] = A, e[39] = C, e[40] = Z, e[41] = D, e[42] = B, e[43] = se) : se = e[43];
545
545
  const ae = se;
546
546
  let le;
547
- e[44] !== C.length || e[45] !== ae || e[46] !== Z ? (le = (F) => {
548
- if (F.key === "ArrowDown") {
549
- F.preventDefault(), O((me) => Math.min(me + 1, Math.max(C.length - 1, 0)));
547
+ e[44] !== y.length || e[45] !== ae || e[46] !== Z ? (le = (H) => {
548
+ if (H.key === "ArrowDown") {
549
+ H.preventDefault(), O((me) => Math.min(me + 1, Math.max(y.length - 1, 0)));
550
550
  return;
551
551
  }
552
- if (F.key === "ArrowUp") {
553
- F.preventDefault(), O(bo);
552
+ if (H.key === "ArrowUp") {
553
+ H.preventDefault(), O(go);
554
554
  return;
555
555
  }
556
- if (F.key === "Enter") {
557
- F.preventDefault(), Z();
556
+ if (H.key === "Enter") {
557
+ H.preventDefault(), Z();
558
558
  return;
559
559
  }
560
- F.key === "Escape" && (F.preventDefault(), F.stopPropagation(), ae());
561
- }, e[44] = C.length, e[45] = ae, e[46] = Z, e[47] = le) : le = e[47];
560
+ H.key === "Escape" && (H.preventDefault(), H.stopPropagation(), ae());
561
+ }, e[44] = y.length, e[45] = ae, e[46] = Z, e[47] = le) : le = e[47];
562
562
  const de = le;
563
563
  let ee;
564
- e[48] !== M ? (ee = (F) => !F.open && M(), e[48] = M, e[49] = ee) : ee = e[49];
564
+ e[48] !== M ? (ee = (H) => !H.open && M(), e[48] = M, e[49] = ee) : ee = e[49];
565
565
  let be;
566
566
  e[50] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (be = /* @__PURE__ */ l(q.Backdrop, {}), e[50] = be) : be = e[50];
567
- let Pe;
568
- e[51] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Pe = {
567
+ let Te;
568
+ e[51] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Te = {
569
569
  maxH: "24rem",
570
570
  showHorizontalScrollbar: !1,
571
571
  viewportRef: W,
@@ -574,25 +574,25 @@ const it = (n) => {
574
574
  overflowAnchor: "none"
575
575
  }
576
576
  }
577
- }, e[51] = Pe) : Pe = e[51];
577
+ }, e[51] = Te) : Te = e[51];
578
578
  let xe;
579
- e[52] !== _ ? (xe = (F) => {
580
- _(F), O(0);
581
- }, e[52] = _, e[53] = xe) : xe = e[53];
579
+ e[52] !== D ? (xe = (H) => {
580
+ D(H), O(0);
581
+ }, e[52] = D, e[53] = xe) : xe = e[53];
582
582
  let Se;
583
- e[54] !== R || e[55] !== k || e[56] !== C ? (Se = /* @__PURE__ */ l(mo, { entries: C, activeIndex: R, emptyLabel: k, onHover: O, scrollRef: W }), e[54] = R, e[55] = k, e[56] = C, e[57] = Se) : Se = e[57];
583
+ e[54] !== P || e[55] !== _ || e[56] !== y ? (Se = /* @__PURE__ */ l(ho, { entries: y, activeIndex: P, emptyLabel: _, onHover: O, scrollRef: W }), e[54] = P, e[55] = _, e[56] = y, e[57] = Se) : Se = e[57];
584
584
  let ve;
585
- e[58] !== p || e[59] !== f || e[60] !== de || e[61] !== y || e[62] !== z || e[63] !== U || e[64] !== xe || e[65] !== Se ? (ve = /* @__PURE__ */ l(q.Positioner, { alignItems: "center", justifyContent: "center", p: "md", children: /* @__PURE__ */ l(q.Content, { maxW: "44rem", w: "full", p: "0", overflow: "hidden", borderWidth: "1px", borderColor: "border.subtle", children: /* @__PURE__ */ l(Jt, { searchValue: y, searchPlaceholder: U, searchIcon: z, searchInputRef: N, showCloseButton: !0, footerStart: f, footerEnd: p, scrollAreaProps: Pe, onSearchChange: xe, onSearchKeyDown: de, children: Se }) }) }), e[58] = p, e[59] = f, e[60] = de, e[61] = y, e[62] = z, e[63] = U, e[64] = xe, e[65] = Se, e[66] = ve) : ve = e[66];
586
- let Ae;
587
- return e[67] !== o || e[68] !== ee || e[69] !== ve ? (Ae = /* @__PURE__ */ b(q.Root, { open: o, onOpenChange: ee, children: [
585
+ e[58] !== p || e[59] !== f || e[60] !== de || e[61] !== C || e[62] !== z || e[63] !== U || e[64] !== xe || e[65] !== Se ? (ve = /* @__PURE__ */ l(q.Positioner, { alignItems: "center", justifyContent: "center", p: "md", children: /* @__PURE__ */ l(q.Content, { maxW: "44rem", w: "full", p: "0", overflow: "hidden", borderWidth: "1px", borderColor: "border.subtle", children: /* @__PURE__ */ l(Zt, { searchValue: C, searchPlaceholder: U, searchIcon: z, searchInputRef: N, showCloseButton: !0, footerStart: f, footerEnd: p, scrollAreaProps: Te, onSearchChange: xe, onSearchKeyDown: de, children: Se }) }) }), e[58] = p, e[59] = f, e[60] = de, e[61] = C, e[62] = z, e[63] = U, e[64] = xe, e[65] = Se, e[66] = ve) : ve = e[66];
586
+ let Pe;
587
+ return e[67] !== o || e[68] !== ee || e[69] !== ve ? (Pe = /* @__PURE__ */ b(q.Root, { open: o, onOpenChange: ee, children: [
588
588
  be,
589
589
  ve
590
- ] }), e[67] = o, e[68] = ee, e[69] = ve, e[70] = Ae) : Ae = e[70], Ae;
590
+ ] }), e[67] = o, e[68] = ee, e[69] = ve, e[70] = Pe) : Pe = e[70], Pe;
591
591
  };
592
- function bo(n) {
592
+ function go(n) {
593
593
  return Math.max(n - 1, 0);
594
594
  }
595
- const xo = {
595
+ const bo = {
596
596
  alt: {
597
597
  label: "Alt"
598
598
  },
@@ -608,76 +608,76 @@ const xo = {
608
608
  shift: {
609
609
  label: "Shift"
610
610
  }
611
- }, So = {
611
+ }, xo = {
612
612
  alt: {
613
613
  label: "Option",
614
- Icon: xt
614
+ Icon: bt
615
615
  },
616
616
  cmd: {
617
617
  label: "Command",
618
- Icon: qe
618
+ Icon: Xe
619
619
  },
620
620
  command: {
621
621
  label: "Command",
622
- Icon: qe
622
+ Icon: Xe
623
623
  },
624
624
  meta: {
625
625
  label: "Command",
626
- Icon: qe
626
+ Icon: Xe
627
627
  },
628
628
  mod: {
629
629
  label: "Command",
630
- Icon: qe
630
+ Icon: Xe
631
631
  },
632
632
  option: {
633
633
  label: "Option",
634
- Icon: xt
634
+ Icon: bt
635
635
  },
636
636
  shift: {
637
637
  label: "Shift"
638
638
  }
639
- }, vo = {
639
+ }, So = {
640
640
  arrowleft: {
641
641
  label: "Arrow Left",
642
- Icon: Sn
642
+ Icon: xn
643
643
  },
644
644
  arrowright: {
645
645
  label: "Arrow Right",
646
- Icon: xn
646
+ Icon: bn
647
647
  }
648
- }, yo = () => {
648
+ }, vo = () => {
649
649
  if (typeof navigator > "u") return "linux";
650
650
  const n = navigator.platform?.toLowerCase() ?? "";
651
651
  return n.includes("mac") ? "mac" : n.includes("win") ? "win" : "linux";
652
- }, Co = (n, e = yo()) => {
653
- const o = n.toLowerCase(), t = e === "mac" ? So : xo;
654
- return vo[o] ?? t[o] ?? {
652
+ }, yo = (n, e = vo()) => {
653
+ const o = n.toLowerCase(), t = e === "mac" ? xo : bo;
654
+ return So[o] ?? t[o] ?? {
655
655
  label: n
656
656
  };
657
- }, yt = (n) => n.split("+").map((e) => e.trim()).filter(Boolean), wo = (n) => (Array.isArray(n) ? n.map(yt) : [yt(n)]).map((o) => o.map((t) => Co(t))), Oi = (n) => {
658
- const e = A(4), {
657
+ }, vt = (n) => n.split("+").map((e) => e.trim()).filter(Boolean), Co = (n) => (Array.isArray(n) ? n.map(vt) : [vt(n)]).map((o) => o.map((t) => yo(t))), Oi = (n) => {
658
+ const e = T(4), {
659
659
  binding: o
660
660
  } = n;
661
661
  let t;
662
662
  if (e[0] !== o) {
663
- const i = wo(o);
664
- t = i.map((s, a) => /* @__PURE__ */ b(bt, { children: [
665
- s.map((c, d) => /* @__PURE__ */ b(bt, { children: [
666
- /* @__PURE__ */ l(an, { fontSize: "xs", borderRadius: "0", display: "inline-flex", alignItems: "center", justifyContent: "center", "aria-label": c.label, children: c.Icon ? /* @__PURE__ */ l(c.Icon, { size: 12, "aria-hidden": "true" }) : c.label }),
663
+ const i = Co(o);
664
+ t = i.map((s, a) => /* @__PURE__ */ b(gt, { children: [
665
+ s.map((c, d) => /* @__PURE__ */ b(gt, { children: [
666
+ /* @__PURE__ */ l(sn, { fontSize: "xs", borderRadius: "0", display: "inline-flex", alignItems: "center", justifyContent: "center", "aria-label": c.label, children: c.Icon ? /* @__PURE__ */ l(c.Icon, { size: 12, "aria-hidden": "true" }) : c.label }),
667
667
  d < s.length - 1 ? " " : null
668
668
  ] }, `${c.label}-${d}`)),
669
669
  a < i.length - 1 ? " then " : null
670
- ] }, `${s.map(Io).join("+")}-${a}`)), e[0] = o, e[1] = t;
670
+ ] }, `${s.map(wo).join("+")}-${a}`)), e[0] = o, e[1] = t;
671
671
  } else
672
672
  t = e[1];
673
673
  let r;
674
- return e[2] !== t ? (r = /* @__PURE__ */ l(je, { children: t }), e[2] = t, e[3] = r) : r = e[3], r;
674
+ return e[2] !== t ? (r = /* @__PURE__ */ l(Ue, { children: t }), e[2] = t, e[3] = r) : r = e[3], r;
675
675
  };
676
- function Io(n) {
676
+ function wo(n) {
677
677
  return n.label;
678
678
  }
679
- function $i(n) {
680
- const e = A(14);
679
+ function _i(n) {
680
+ const e = T(14);
681
681
  let o, t, r, i, s, a;
682
682
  e[0] !== n ? ({
683
683
  children: o,
@@ -691,8 +691,8 @@ function $i(n) {
691
691
  let f;
692
692
  return e[7] !== h || e[8] !== o || e[9] !== c || e[10] !== d || e[11] !== u || e[12] !== t ? (f = /* @__PURE__ */ l(oe, { ...t, h: c, justify: "space-between", align: "center", borderBottomWidth: h, borderColor: "border.subtle", px: d, py: u, children: o }), e[7] = h, e[8] = o, e[9] = c, e[10] = d, e[11] = u, e[12] = t, e[13] = f) : f = e[13], f;
693
693
  }
694
- const Li = (n) => {
695
- const e = A(17), {
694
+ const $i = (n) => {
695
+ const e = T(17), {
696
696
  children: o,
697
697
  title: t,
698
698
  defaultOpen: r,
@@ -705,36 +705,36 @@ const Li = (n) => {
705
705
  let c;
706
706
  e[1] !== t ? (c = t && /* @__PURE__ */ l(V, { fontWeight: "600", textStyle: "label/S/medium", children: t }), e[1] = t, e[2] = c) : c = e[2];
707
707
  let d;
708
- e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ l(Xe.Indicator, { transition: "transform 0.2s", _open: {
708
+ e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ l(Qe.Indicator, { transition: "transform 0.2s", _open: {
709
709
  transform: "rotate(90deg)"
710
- }, children: /* @__PURE__ */ l(vn, { size: 16 }) }), e[3] = d) : d = e[3];
710
+ }, children: /* @__PURE__ */ l(Sn, { size: 16 }) }), e[3] = d) : d = e[3];
711
711
  let u;
712
- e[4] !== c ? (u = /* @__PURE__ */ b(Xe.Trigger, { _hover: a, padding: "sm", height: "2rem", display: "flex", width: "full", gap: "2", alignItems: "center", cursor: "pointer", justifyContent: "space-between", children: [
712
+ e[4] !== c ? (u = /* @__PURE__ */ b(Qe.Trigger, { _hover: a, padding: "sm", height: "2rem", display: "flex", width: "full", gap: "2", alignItems: "center", cursor: "pointer", justifyContent: "space-between", children: [
713
713
  c,
714
714
  d
715
715
  ] }), e[4] = c, e[5] = u) : u = e[5];
716
716
  let h;
717
- e[6] !== i ? (h = i && /* @__PURE__ */ l(Q, { marginLeft: "auto", onClick: To, children: i }), e[6] = i, e[7] = h) : h = e[7];
717
+ e[6] !== i ? (h = i && /* @__PURE__ */ l(Q, { marginLeft: "auto", onClick: Io, children: i }), e[6] = i, e[7] = h) : h = e[7];
718
718
  let f;
719
719
  e[8] !== u || e[9] !== h ? (f = /* @__PURE__ */ b(ge, { children: [
720
720
  u,
721
721
  h
722
722
  ] }), e[8] = u, e[9] = h, e[10] = f) : f = e[10];
723
723
  let p;
724
- e[11] !== o ? (p = /* @__PURE__ */ l(Xe.Content, { children: o }), e[11] = o, e[12] = p) : p = e[12];
724
+ e[11] !== o ? (p = /* @__PURE__ */ l(Qe.Content, { children: o }), e[11] = o, e[12] = p) : p = e[12];
725
725
  let m;
726
- return e[13] !== s || e[14] !== f || e[15] !== p ? (m = /* @__PURE__ */ b(Xe.Root, { defaultOpen: s, width: "full", children: [
726
+ return e[13] !== s || e[14] !== f || e[15] !== p ? (m = /* @__PURE__ */ b(Qe.Root, { defaultOpen: s, width: "full", children: [
727
727
  f,
728
728
  p
729
729
  ] }), e[13] = s, e[14] = f, e[15] = p, e[16] = m) : m = e[16], m;
730
730
  };
731
- function To(n) {
731
+ function Io(n) {
732
732
  return n.stopPropagation();
733
733
  }
734
- const Po = "2.5rem", Ct = "2xs", zi = "sm", en = (n) => n === "urgent" ? "red" : n === "high" ? "orange" : n === "low" ? "gray" : "blue", Ao = (n) => n !== "normal", ko = (n) => [n.title, n.body, n.kind, n.priority, n.status, n.sourceLabel, n.targetLabel, n.searchText, ...(n.actions ?? []).map((e) => e.label)].filter(Boolean).join(" ").toLowerCase(), Eo = (n, e) => {
734
+ const To = "2.5rem", yt = "2xs", Li = "sm", Jt = (n) => n === "urgent" ? "red" : n === "high" ? "orange" : n === "low" ? "gray" : "blue", Po = (n) => n !== "normal", Ao = (n) => [n.title, n.body, n.kind, n.priority, n.status, n.sourceLabel, n.targetLabel, n.searchText, ...(n.actions ?? []).map((e) => e.label)].filter(Boolean).join(" ").toLowerCase(), Eo = (n, e) => {
735
735
  const o = e.trim().toLowerCase();
736
- return o ? n.filter((t) => ko(t).includes(o)) : n;
737
- }, tn = (n) => {
736
+ return o ? n.filter((t) => Ao(t).includes(o)) : n;
737
+ }, en = (n) => {
738
738
  const e = n.filter((r) => r.kind === "blocked"), o = n.filter((r) => r.kind !== "blocked" && (r.priority === "urgent" || r.priority === "high")), t = n.filter((r) => r.kind !== "blocked" && (r.priority === "normal" || r.priority === "low"));
739
739
  return [{
740
740
  id: "needs-input",
@@ -749,25 +749,25 @@ const Po = "2.5rem", Ct = "2xs", zi = "sm", en = (n) => n === "urgent" ? "red" :
749
749
  label: "Other",
750
750
  items: t
751
751
  }].filter((r) => r.items.length > 0);
752
- }, Ro = (n) => tn(n).flatMap((e) => e.items), Do = (n) => [n.body, n.targetLabel, n.sourceLabel, n.timeLabel].filter(Boolean).join(" · "), _o = (n, e) => {
752
+ }, ko = (n) => en(n).flatMap((e) => e.items), Do = (n) => [n.body, n.targetLabel, n.sourceLabel, n.timeLabel].filter(Boolean).join(" · "), Ro = (n, e) => {
753
753
  const o = [];
754
754
  return e.onDismiss && o.push({
755
755
  id: "dismiss",
756
756
  label: "Dismiss",
757
- icon: /* @__PURE__ */ l(jt, { size: 14 }),
757
+ icon: /* @__PURE__ */ l(Ut, { size: 14 }),
758
758
  tooltip: "Dismiss",
759
759
  onAction: () => e.onDismiss?.(n)
760
760
  }), o;
761
761
  }, Oo = (n) => {
762
- const e = A(15), {
762
+ const e = T(15), {
763
763
  actions: o,
764
764
  item: t,
765
765
  onRunAction: r
766
766
  } = n;
767
767
  let i;
768
- e[0] !== t.priority ? (i = Ao(t.priority) ? /* @__PURE__ */ l(Ne, { size: "sm", colorPalette: en(t.priority), textTransform: "capitalize", flexShrink: 0, children: t.priority }) : null, e[0] = t.priority, e[1] = i) : i = e[1];
768
+ e[0] !== t.priority ? (i = Po(t.priority) ? /* @__PURE__ */ l(Be, { size: "sm", colorPalette: Jt(t.priority), textTransform: "capitalize", flexShrink: 0, children: t.priority }) : null, e[0] = t.priority, e[1] = i) : i = e[1];
769
769
  let s;
770
- e[2] !== t.status ? (s = t.status === "open" ? /* @__PURE__ */ l(Ne, { size: "sm", colorPalette: "blue", variant: "solid", flexShrink: 0, children: "New" }) : null, e[2] = t.status, e[3] = s) : s = e[3];
770
+ e[2] !== t.status ? (s = t.status === "open" ? /* @__PURE__ */ l(Be, { size: "sm", colorPalette: "blue", variant: "solid", flexShrink: 0, children: "New" }) : null, e[2] = t.status, e[3] = s) : s = e[3];
771
771
  let a;
772
772
  if (e[4] !== o || e[5] !== t || e[6] !== r) {
773
773
  let d;
@@ -782,28 +782,28 @@ const Po = "2.5rem", Ct = "2xs", zi = "sm", en = (n) => n === "urgent" ? "red" :
782
782
  s,
783
783
  a
784
784
  ] }), e[11] = i, e[12] = s, e[13] = a, e[14] = c) : c = e[14], c;
785
- }, $o = (n) => {
785
+ }, _o = (n) => {
786
786
  const {
787
787
  activeIndex: e,
788
788
  items: o,
789
789
  onActivateItem: t,
790
790
  onActiveIndexChange: r,
791
791
  onRunAction: i
792
- } = n, s = tn(o);
792
+ } = n, s = en(o);
793
793
  let a = 0;
794
794
  return /* @__PURE__ */ l(K, { gap: "2xs", py: "xs", children: s.map((c) => /* @__PURE__ */ b(K, { gap: "2xs", children: [
795
795
  /* @__PURE__ */ l(V, { textStyle: "label/XS/medium", color: "fg.muted", px: "sm", pt: "xs", children: c.label }),
796
796
  c.items.map((d) => {
797
797
  const u = a;
798
- return a += 1, /* @__PURE__ */ l(et, { id: d.id, label: d.title, description: Do(d), icon: /* @__PURE__ */ l(we, { as: yn, boxSize: "14px" }), iconColor: `${en(d.priority)}.500`, variant: "compact", isSelected: u === e, endContent: /* @__PURE__ */ l(Oo, { item: d, actions: d.actions ?? [], onRunAction: i }), actions: _o(d, n), tabIndex: -1, onActivate: () => t?.(d), onPointerMove: () => r(u) }, d.id);
798
+ return a += 1, /* @__PURE__ */ l(Je, { id: d.id, label: d.title, description: Do(d), icon: /* @__PURE__ */ l(we, { as: vn, boxSize: "14px" }), iconColor: `${Jt(d.priority)}.500`, variant: "compact", isSelected: u === e, endContent: /* @__PURE__ */ l(Oo, { item: d, actions: d.actions ?? [], onRunAction: i }), actions: Ro(d, n), tabIndex: -1, onActivate: () => t?.(d), onPointerMove: () => r(u) }, d.id);
799
799
  })
800
800
  ] }, c.id)) });
801
- }, Lo = () => {
802
- const n = A(1);
801
+ }, $o = () => {
802
+ const n = T(1);
803
803
  let e;
804
- return n[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ l(K, { gap: "2", p: "sm", children: [0, 1, 2, 3].map(zo) }), n[0] = e) : e = n[0], e;
805
- }, Bi = (n) => {
806
- const e = A(37), {
804
+ return n[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ l(K, { gap: "2", p: "sm", children: [0, 1, 2, 3].map(Lo) }), n[0] = e) : e = n[0], e;
805
+ }, zi = (n) => {
806
+ const e = T(37), {
807
807
  autoFocus: o,
808
808
  emptyLabel: t,
809
809
  error: r,
@@ -815,72 +815,72 @@ const Po = "2.5rem", Ct = "2xs", zi = "sm", en = (n) => n === "urgent" ? "red" :
815
815
  onEscape: u,
816
816
  onQueryChange: h,
817
817
  query: f
818
- } = n, p = o === void 0 ? !1 : o, m = t === void 0 ? "No notifications." : t, g = c === void 0 ? !1 : c, [x, v] = ce(""), [w, T] = ce(0), P = Ve(null), S = f ?? x;
819
- let k, y;
820
- e[0] !== S || e[1] !== a ? (k = Eo(a, S), y = Ro(k), e[0] = S, e[1] = a, e[2] = k, e[3] = y) : (k = e[2], y = e[3]);
821
- const $ = y, R = $[w] ?? null;
818
+ } = n, p = o === void 0 ? !1 : o, m = t === void 0 ? "No notifications." : t, g = c === void 0 ? !1 : c, [x, S] = ce(""), [A, E] = ce(0), R = Me(null), v = f ?? x;
819
+ let _, C;
820
+ e[0] !== v || e[1] !== a ? (_ = Eo(a, v), C = ko(_), e[0] = v, e[1] = a, e[2] = _, e[3] = C) : (_ = e[2], C = e[3]);
821
+ const $ = C, P = $[A] ?? null;
822
822
  let O, N;
823
823
  e[4] !== p ? (O = () => {
824
824
  if (!p)
825
825
  return;
826
- const _ = setTimeout(() => P.current?.focus(), 0);
827
- return () => clearTimeout(_);
826
+ const D = setTimeout(() => R.current?.focus(), 0);
827
+ return () => clearTimeout(D);
828
828
  }, N = [p], e[4] = p, e[5] = O, e[6] = N) : (O = e[5], N = e[6]), he(O, N);
829
829
  let W, L;
830
830
  e[7] !== $.length ? (W = () => {
831
- T((_) => Math.min(_, Math.max($.length - 1, 0)));
831
+ E((D) => Math.min(D, Math.max($.length - 1, 0)));
832
832
  }, L = [$.length], e[7] = $.length, e[8] = W, e[9] = L) : (W = e[8], L = e[9]), he(W, L);
833
- let D;
834
- e[10] !== h || e[11] !== f ? (D = (_) => {
835
- f === void 0 && v(_), h?.(_), T(0);
836
- }, e[10] = h, e[11] = f, e[12] = D) : D = e[12];
837
- const I = D;
838
- let C;
839
- e[13] !== R || e[14] !== S || e[15] !== $.length || e[16] !== d || e[17] !== u || e[18] !== I ? (C = (_) => {
840
- if (_.key === "ArrowDown") {
841
- _.preventDefault(), T((Y) => Math.min(Y + 1, Math.max($.length - 1, 0)));
833
+ let k;
834
+ e[10] !== h || e[11] !== f ? (k = (D) => {
835
+ f === void 0 && S(D), h?.(D), E(0);
836
+ }, e[10] = h, e[11] = f, e[12] = k) : k = e[12];
837
+ const w = k;
838
+ let y;
839
+ e[13] !== P || e[14] !== v || e[15] !== $.length || e[16] !== d || e[17] !== u || e[18] !== w ? (y = (D) => {
840
+ if (D.key === "ArrowDown") {
841
+ D.preventDefault(), E((Y) => Math.min(Y + 1, Math.max($.length - 1, 0)));
842
842
  return;
843
843
  }
844
- if (_.key === "ArrowUp") {
845
- _.preventDefault(), T(Bo);
844
+ if (D.key === "ArrowUp") {
845
+ D.preventDefault(), E(zo);
846
846
  return;
847
847
  }
848
- if (_.key === "Enter") {
849
- _.preventDefault(), R && d?.(R);
848
+ if (D.key === "Enter") {
849
+ D.preventDefault(), P && d?.(P);
850
850
  return;
851
851
  }
852
- if (_.key === "Escape") {
853
- if (_.preventDefault(), S.length > 0) {
854
- I("");
852
+ if (D.key === "Escape") {
853
+ if (D.preventDefault(), v.length > 0) {
854
+ w("");
855
855
  return;
856
856
  }
857
857
  u?.();
858
858
  }
859
- }, e[13] = R, e[14] = S, e[15] = $.length, e[16] = d, e[17] = u, e[18] = I, e[19] = C) : C = e[19];
860
- const z = C;
859
+ }, e[13] = P, e[14] = v, e[15] = $.length, e[16] = d, e[17] = u, e[18] = w, e[19] = y) : y = e[19];
860
+ const z = y;
861
861
  let B;
862
- e[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (B = /* @__PURE__ */ l(Qt, { size: 14 }), e[20] = B) : B = e[20];
862
+ e[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (B = /* @__PURE__ */ l(jt, { size: 14 }), e[20] = B) : B = e[20];
863
863
  let j;
864
864
  e[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (j = {
865
865
  maxH: "24rem",
866
866
  showHorizontalScrollbar: !1
867
867
  }, e[21] = j) : j = e[21];
868
868
  let U;
869
- e[22] !== w || e[23] !== m || e[24] !== r || e[25] !== k || e[26] !== g || e[27] !== n ? (U = r ? /* @__PURE__ */ l(Q, { p: "sm", children: /* @__PURE__ */ l(mt, { status: "error", colorPalette: "red", title: "Notifications unavailable", size: "sm", children: r }) }) : g ? /* @__PURE__ */ l(Lo, {}) : k.length === 0 ? /* @__PURE__ */ l(V, { textStyle: "paragraph/S/regular", color: "fg.muted", px: "sm", py: "md", children: m }) : /* @__PURE__ */ l($o, { ...n, items: k, activeIndex: w, onActiveIndexChange: T }), e[22] = w, e[23] = m, e[24] = r, e[25] = k, e[26] = g, e[27] = n, e[28] = U) : U = e[28];
869
+ e[22] !== A || e[23] !== m || e[24] !== r || e[25] !== _ || e[26] !== g || e[27] !== n ? (U = r ? /* @__PURE__ */ l(Q, { p: "sm", children: /* @__PURE__ */ l(ft, { status: "error", colorPalette: "red", title: "Notifications unavailable", size: "sm", children: r }) }) : g ? /* @__PURE__ */ l($o, {}) : _.length === 0 ? /* @__PURE__ */ l(V, { textStyle: "paragraph/S/regular", color: "fg.muted", px: "sm", py: "md", children: m }) : /* @__PURE__ */ l(_o, { ...n, items: _, activeIndex: A, onActiveIndexChange: E }), e[22] = A, e[23] = m, e[24] = r, e[25] = _, e[26] = g, e[27] = n, e[28] = U) : U = e[28];
870
870
  let G;
871
- return e[29] !== S || e[30] !== p || e[31] !== i || e[32] !== s || e[33] !== z || e[34] !== U || e[35] !== I ? (G = /* @__PURE__ */ l(Jt, { searchValue: S, searchPlaceholder: "Search notifications", searchIcon: B, searchInputRef: P, searchAutoFocus: p, footerStart: s, footerEnd: i, scrollAreaProps: j, onSearchChange: I, onSearchKeyDown: z, children: U }), e[29] = S, e[30] = p, e[31] = i, e[32] = s, e[33] = z, e[34] = U, e[35] = I, e[36] = G) : G = e[36], G;
871
+ return e[29] !== v || e[30] !== p || e[31] !== i || e[32] !== s || e[33] !== z || e[34] !== U || e[35] !== w ? (G = /* @__PURE__ */ l(Zt, { searchValue: v, searchPlaceholder: "Search notifications", searchIcon: B, searchInputRef: R, searchAutoFocus: p, footerStart: s, footerEnd: i, scrollAreaProps: j, onSearchChange: w, onSearchKeyDown: z, children: U }), e[29] = v, e[30] = p, e[31] = i, e[32] = s, e[33] = z, e[34] = U, e[35] = w, e[36] = G) : G = e[36], G;
872
872
  };
873
- function zo(n) {
873
+ function Lo(n) {
874
874
  return /* @__PURE__ */ b(K, { gap: "2xs", children: [
875
- /* @__PURE__ */ l(gt, { h: "4", w: n % 2 === 0 ? "68%" : "52%", borderRadius: "xs" }),
876
- /* @__PURE__ */ l(gt, { h: "3", w: "88%", borderRadius: "xs" })
875
+ /* @__PURE__ */ l(mt, { h: "4", w: n % 2 === 0 ? "68%" : "52%", borderRadius: "xs" }),
876
+ /* @__PURE__ */ l(mt, { h: "3", w: "88%", borderRadius: "xs" })
877
877
  ] }, n);
878
878
  }
879
- function Bo(n) {
879
+ function zo(n) {
880
880
  return Math.max(n - 1, 0);
881
881
  }
882
- const Ni = (n) => {
883
- const e = A(6);
882
+ const Bi = (n) => {
883
+ const e = T(6);
884
884
  let o, t;
885
885
  e[0] !== n ? ({
886
886
  children: o,
@@ -888,8 +888,8 @@ const Ni = (n) => {
888
888
  } = n, e[0] = n, e[1] = o, e[2] = t) : (o = e[1], t = e[2]);
889
889
  let r;
890
890
  return e[3] !== o || e[4] !== t ? (r = /* @__PURE__ */ l(ge, { as: "aside", direction: "column", h: "full", minH: "0", minW: "0", w: "full", overflow: "hidden", bg: "bg", ...t, children: o }), e[3] = o, e[4] = t, e[5] = r) : r = e[5], r;
891
- }, No = "20rem", Wi = (n) => {
892
- const e = A(15);
891
+ }, Bo = "20rem", Ni = (n) => {
892
+ const e = T(15);
893
893
  let o, t, r, i, s, a;
894
894
  e[0] !== n ? ({
895
895
  children: o,
@@ -899,7 +899,7 @@ const Ni = (n) => {
899
899
  resizable: a,
900
900
  ...i
901
901
  } = n, e[0] = n, e[1] = o, e[2] = t, e[3] = r, e[4] = i, e[5] = s, e[6] = a) : (o = e[1], t = e[2], r = e[3], i = e[4], s = e[5], a = e[6]);
902
- const c = s === void 0 ? "28rem" : s, d = a === void 0 ? !1 : a, u = r ?? (d ? No : c), h = d ? "full" : c;
902
+ const c = s === void 0 ? "28rem" : s, d = a === void 0 ? !1 : a, u = r ?? (d ? Bo : c), h = d ? "full" : c;
903
903
  let f;
904
904
  e[7] !== o ? (f = /* @__PURE__ */ l(ge, { flex: "1", minH: 0, direction: "column", children: o }), e[7] = o, e[8] = f) : f = e[8];
905
905
  let p;
@@ -907,8 +907,8 @@ const Ni = (n) => {
907
907
  t,
908
908
  f
909
909
  ] }), e[9] = t, e[10] = u, e[11] = h, e[12] = i, e[13] = f, e[14] = p) : p = e[14], p;
910
- }, Hi = Ut(function(e, o) {
911
- const t = A(19);
910
+ }, Wi = Gt(function(e, o) {
911
+ const t = T(19);
912
912
  let r, i, s, a, c;
913
913
  t[0] !== e ? ({
914
914
  children: r,
@@ -925,14 +925,14 @@ const Ni = (n) => {
925
925
  borderColor: "border.accent"
926
926
  }, t[6] = h, t[7] = f) : (h = t[6], f = t[7]);
927
927
  let p;
928
- t[8] !== r || t[9] !== o || t[10] !== s || t[11] !== u ? (p = /* @__PURE__ */ l(Ge, { ref: o, rounded: "full", size: "lg", borderWidth: "1px", borderColor: u, transition: "border-color 0.2s ease-in-out", _hover: h, _active: f, ...s, children: r }), t[8] = r, t[9] = o, t[10] = s, t[11] = u, t[12] = p) : p = t[12];
928
+ t[8] !== r || t[9] !== o || t[10] !== s || t[11] !== u ? (p = /* @__PURE__ */ l(Ve, { ref: o, rounded: "full", size: "lg", borderWidth: "1px", borderColor: u, transition: "border-color 0.2s ease-in-out", _hover: h, _active: f, ...s, children: r }), t[8] = r, t[9] = o, t[10] = s, t[11] = u, t[12] = p) : p = t[12];
929
929
  const m = p;
930
930
  let g;
931
- t[13] !== m || t[14] !== c ? (g = c ? /* @__PURE__ */ l(Ue, { content: c, children: m }) : m, t[13] = m, t[14] = c, t[15] = g) : g = t[15];
931
+ t[13] !== m || t[14] !== c ? (g = c ? /* @__PURE__ */ l(Ge, { content: c, children: m }) : m, t[13] = m, t[14] = c, t[15] = g) : g = t[15];
932
932
  let x;
933
- return t[16] !== i || t[17] !== g ? (x = /* @__PURE__ */ l(ft.div, { position: "fixed", bottom: "6", right: "6", zIndex: "docked", ...i, children: g }), t[16] = i, t[17] = g, t[18] = x) : x = t[18], x;
934
- }), Fi = Ut(function(e, o) {
935
- const t = A(28), {
933
+ return t[16] !== i || t[17] !== g ? (x = /* @__PURE__ */ l(dt.div, { position: "fixed", bottom: "6", right: "6", zIndex: "docked", ...i, children: g }), t[16] = i, t[17] = g, t[18] = x) : x = t[18], x;
934
+ }), Fi = Gt(function(e, o) {
935
+ const t = T(28), {
936
936
  isOpen: r,
937
937
  title: i,
938
938
  menu: s,
@@ -946,29 +946,29 @@ const Ni = (n) => {
946
946
  testId: m,
947
947
  "aria-label": g,
948
948
  children: x
949
- } = e, v = r === void 0 ? !1 : r, w = h === void 0 ? "28rem" : h, T = f === void 0 ? "38rem" : f;
950
- if (!v)
949
+ } = e, S = r === void 0 ? !1 : r, A = h === void 0 ? "28rem" : h, E = f === void 0 ? "38rem" : f;
950
+ if (!S)
951
951
  return null;
952
- const P = g ?? i;
953
- let S;
954
- t[0] !== s ? (S = /* @__PURE__ */ l(oe, { gap: "1", minW: "0", children: s }), t[0] = s, t[1] = S) : S = t[1];
955
- let k;
956
- t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (k = /* @__PURE__ */ l(Ht, {}), t[2] = k) : k = t[2];
957
- let y;
958
- t[3] !== d || t[4] !== u ? (y = d ? /* @__PURE__ */ l(Ue, { content: u, children: /* @__PURE__ */ l(Ge, { size: Ct, variant: "ghost", "aria-label": u, onClick: d, children: /* @__PURE__ */ l(Cn, { size: 16 }) }) }) : null, t[3] = d, t[4] = u, t[5] = y) : y = t[5];
952
+ const R = g ?? i;
953
+ let v;
954
+ t[0] !== s ? (v = /* @__PURE__ */ l(oe, { gap: "1", minW: "0", children: s }), t[0] = s, t[1] = v) : v = t[1];
955
+ let _;
956
+ t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */ l(Wt, {}), t[2] = _) : _ = t[2];
957
+ let C;
958
+ t[3] !== d || t[4] !== u ? (C = d ? /* @__PURE__ */ l(Ge, { content: u, children: /* @__PURE__ */ l(Ve, { size: yt, variant: "ghost", "aria-label": u, onClick: d, children: /* @__PURE__ */ l(yn, { size: 16 }) }) }) : null, t[3] = d, t[4] = u, t[5] = C) : C = t[5];
959
959
  let $;
960
- t[6] !== c || t[7] !== a ? ($ = a ? /* @__PURE__ */ l(Ue, { content: c, children: /* @__PURE__ */ l(Ge, { size: Ct, variant: "ghost", "aria-label": c, onClick: a, children: /* @__PURE__ */ l(wn, { size: 16 }) }) }) : null, t[6] = c, t[7] = a, t[8] = $) : $ = t[8];
961
- let R;
962
- t[9] !== y || t[10] !== $ ? (R = /* @__PURE__ */ b(oe, { gap: "1", children: [
963
- y,
960
+ t[6] !== c || t[7] !== a ? ($ = a ? /* @__PURE__ */ l(Ge, { content: c, children: /* @__PURE__ */ l(Ve, { size: yt, variant: "ghost", "aria-label": c, onClick: a, children: /* @__PURE__ */ l(Cn, { size: 16 }) }) }) : null, t[6] = c, t[7] = a, t[8] = $) : $ = t[8];
961
+ let P;
962
+ t[9] !== C || t[10] !== $ ? (P = /* @__PURE__ */ b(oe, { gap: "1", children: [
963
+ C,
964
964
  $
965
- ] }), t[9] = y, t[10] = $, t[11] = R) : R = t[11];
965
+ ] }), t[9] = C, t[10] = $, t[11] = P) : P = t[11];
966
966
  let O;
967
- t[12] !== S || t[13] !== R ? (O = /* @__PURE__ */ b(On, { variant: "main", gap: "sm", flexShrink: 0, children: [
968
- S,
969
- k,
970
- R
971
- ] }), t[12] = S, t[13] = R, t[14] = O) : O = t[14];
967
+ t[12] !== v || t[13] !== P ? (O = /* @__PURE__ */ b(On, { variant: "main", gap: "sm", flexShrink: 0, children: [
968
+ v,
969
+ _,
970
+ P
971
+ ] }), t[12] = v, t[13] = P, t[14] = O) : O = t[14];
972
972
  let N;
973
973
  t[15] !== x ? (N = /* @__PURE__ */ l(Q, { flex: "1", minH: 0, display: "flex", flexDirection: "column", gap: "sm", children: x }), t[15] = x, t[16] = N) : N = t[16];
974
974
  let W;
@@ -977,8 +977,8 @@ const Ni = (n) => {
977
977
  N
978
978
  ] }), t[17] = N, t[18] = O, t[19] = W) : W = t[19];
979
979
  let L;
980
- return t[20] !== p || t[21] !== T || t[22] !== o || t[23] !== W || t[24] !== P || t[25] !== m || t[26] !== w ? (L = /* @__PURE__ */ l(Vt, { children: /* @__PURE__ */ l(ft.section, { ref: o, role: "dialog", "data-testid": m, "aria-label": P, position: "fixed", bottom: "3", right: "3", w, maxW: "calc(100vw - 2rem)", h: T, maxH: "calc(100vh - 2rem)", borderRadius: "xs", borderWidth: "1px", borderColor: "border.subtle", bg: "bg", overflow: "hidden", zIndex: "dropdown", ...p, children: W }) }), t[20] = p, t[21] = T, t[22] = o, t[23] = W, t[24] = P, t[25] = m, t[26] = w, t[27] = L) : L = t[27], L;
981
- }), Wo = (n) => {
980
+ return t[20] !== p || t[21] !== E || t[22] !== o || t[23] !== W || t[24] !== R || t[25] !== m || t[26] !== A ? (L = /* @__PURE__ */ l(Mt, { children: /* @__PURE__ */ l(dt.section, { ref: o, role: "dialog", "data-testid": m, "aria-label": R, position: "fixed", bottom: "3", right: "3", w: A, maxW: "calc(100vw - 2rem)", h: E, maxH: "calc(100vh - 2rem)", borderRadius: "xs", borderWidth: "1px", borderColor: "border.subtle", bg: "bg", overflow: "hidden", zIndex: "dropdown", ...p, children: W }) }), t[20] = p, t[21] = E, t[22] = o, t[23] = W, t[24] = R, t[25] = m, t[26] = A, t[27] = L) : L = t[27], L;
981
+ }), No = (n) => {
982
982
  const [e, o] = ce(!1), {
983
983
  headline: t,
984
984
  buttonText: r,
@@ -1013,11 +1013,11 @@ const Ni = (n) => {
1013
1013
  ] }) })
1014
1014
  ] }) })
1015
1015
  ] });
1016
- }, Ho = (n) => n.isDirectory ? n.isGitRepo ? Tn : Xt : In, Fo = (n, e) => {
1016
+ }, Wo = (n) => n.isDirectory ? n.isGitRepo ? In : Qt : wn, Fo = (n, e) => {
1017
1017
  const o = e.trim().toLowerCase();
1018
1018
  return o ? n.filter((t) => `${t.name} ${t.path}`.toLowerCase().includes(o)) : n;
1019
- }, Mo = (n) => {
1020
- const e = A(22), {
1019
+ }, Ho = (n) => {
1020
+ const e = T(22), {
1021
1021
  entry: o,
1022
1022
  selectedPath: t,
1023
1023
  selectedPathSet: r,
@@ -1032,14 +1032,14 @@ const Ni = (n) => {
1032
1032
  }, e[4] = o, e[5] = a, e[6] = i, e[7] = d) : d = e[7];
1033
1033
  const u = d, h = t === o.path, f = o.path, p = o.name;
1034
1034
  let m;
1035
- e[8] !== o ? (m = Ho(o), e[8] = o, e[9] = m) : m = e[9];
1035
+ e[8] !== o ? (m = Wo(o), e[8] = o, e[9] = m) : m = e[9];
1036
1036
  let g;
1037
1037
  e[10] !== m ? (g = /* @__PURE__ */ l(we, { as: m, boxSize: "16px" }), e[10] = m, e[11] = g) : g = e[11];
1038
1038
  let x;
1039
- e[12] !== o.isGitRepo ? (x = o.isGitRepo ? /* @__PURE__ */ l(Ne, { textStyle: "label/XS/medium", px: "xs", py: "2px", colorPalette: "green", variant: "subtle", pointerEvents: "none", children: "Git repo" }) : void 0, e[12] = o.isGitRepo, e[13] = x) : x = e[13];
1040
- let v;
1041
- return e[14] !== o.name || e[15] !== o.path || e[16] !== u || e[17] !== c || e[18] !== h || e[19] !== g || e[20] !== x ? (v = /* @__PURE__ */ l(et, { variant: "compact", isSelected: h, id: f, label: p, icon: g, endContent: x, disabled: c, onActivate: u }), e[14] = o.name, e[15] = o.path, e[16] = u, e[17] = c, e[18] = h, e[19] = g, e[20] = x, e[21] = v) : v = e[21], v;
1042
- }, Vo = (n) => {
1039
+ e[12] !== o.isGitRepo ? (x = o.isGitRepo ? /* @__PURE__ */ l(Be, { textStyle: "label/XS/medium", px: "xs", py: "2px", colorPalette: "green", variant: "subtle", pointerEvents: "none", children: "Git repo" }) : void 0, e[12] = o.isGitRepo, e[13] = x) : x = e[13];
1040
+ let S;
1041
+ return e[14] !== o.name || e[15] !== o.path || e[16] !== u || e[17] !== c || e[18] !== h || e[19] !== g || e[20] !== x ? (S = /* @__PURE__ */ l(Je, { variant: "compact", isSelected: h, id: f, label: p, icon: g, endContent: x, disabled: c, onActivate: u }), e[14] = o.name, e[15] = o.path, e[16] = u, e[17] = c, e[18] = h, e[19] = g, e[20] = x, e[21] = S) : S = e[21], S;
1042
+ }, Mo = (n) => {
1043
1043
  if (!["ArrowDown", "ArrowUp", "Home", "End"].includes(n.key))
1044
1044
  return;
1045
1045
  const e = Array.from(n.currentTarget.querySelectorAll('button[role="option"]:not(:disabled)'));
@@ -1047,8 +1047,8 @@ const Ni = (n) => {
1047
1047
  return;
1048
1048
  const o = e.indexOf(document.activeElement), t = n.key === "Home" ? 0 : n.key === "End" ? e.length - 1 : n.key === "ArrowUp" ? o <= 0 ? e.length - 1 : o - 1 : o < 0 || o === e.length - 1 ? 0 : o + 1;
1049
1049
  n.preventDefault(), e[t]?.focus();
1050
- }, Mi = (n) => {
1051
- const e = A(68), {
1050
+ }, Hi = (n) => {
1051
+ const e = T(68), {
1052
1052
  open: o,
1053
1053
  title: t,
1054
1054
  description: r,
@@ -1064,95 +1064,95 @@ const Ni = (n) => {
1064
1064
  onSelectHomeDirectory: m,
1065
1065
  onSelectParentDirectory: g,
1066
1066
  onEntryClick: x
1067
- } = n, v = t === void 0 ? "Select folder" : t, w = i === void 0 ? "" : i, T = a === void 0 ? null : a;
1068
- let P;
1069
- e[0] !== c ? (P = c === void 0 ? [] : c, e[0] = c, e[1] = P) : P = e[1];
1070
- const S = P, k = d === void 0 ? !1 : d, y = u === void 0 ? "" : u, $ = h === void 0 ? !1 : h, [R, O] = ce("");
1067
+ } = n, S = t === void 0 ? "Select folder" : t, A = i === void 0 ? "" : i, E = a === void 0 ? null : a;
1068
+ let R;
1069
+ e[0] !== c ? (R = c === void 0 ? [] : c, e[0] = c, e[1] = R) : R = e[1];
1070
+ const v = R, _ = d === void 0 ? !1 : d, C = u === void 0 ? "" : u, $ = h === void 0 ? !1 : h, [P, O] = ce("");
1071
1071
  let N;
1072
- e[2] !== S ? (N = new Set(S), e[2] = S, e[3] = N) : N = e[3];
1073
- const W = N, L = Fo(s, R), D = w || "Home";
1074
- let I, C;
1075
- e[4] !== o || e[5] !== D ? (C = () => {
1076
- !o || !D || O("");
1077
- }, I = [o, D], e[4] = o, e[5] = D, e[6] = I, e[7] = C) : (I = e[6], C = e[7]), he(C, I);
1072
+ e[2] !== v ? (N = new Set(v), e[2] = v, e[3] = N) : N = e[3];
1073
+ const W = N, L = Fo(s, P), k = A || "Home";
1074
+ let w, y;
1075
+ e[4] !== o || e[5] !== k ? (y = () => {
1076
+ !o || !k || O("");
1077
+ }, w = [o, k], e[4] = o, e[5] = k, e[6] = w, e[7] = y) : (w = e[6], y = e[7]), he(y, w);
1078
1078
  const z = q, B = !0, j = !0, U = !1;
1079
1079
  let G;
1080
- e[8] !== f ? (G = (Le) => !Le.open && f(), e[8] = f, e[9] = G) : G = e[9];
1081
- let _;
1082
- e[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */ l(q.Backdrop, {}), e[10] = _) : _ = e[10];
1080
+ e[8] !== f ? (G = ($e) => !$e.open && f(), e[8] = f, e[9] = G) : G = e[9];
1081
+ let D;
1082
+ e[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (D = /* @__PURE__ */ l(q.Backdrop, {}), e[10] = D) : D = e[10];
1083
1083
  const Y = q, Z = q;
1084
- let E;
1085
- e[11] !== v ? (E = /* @__PURE__ */ l(V, { textStyle: "heading/M", children: v }), e[11] = v, e[12] = E) : E = e[12];
1084
+ let I;
1085
+ e[11] !== S ? (I = /* @__PURE__ */ l(V, { textStyle: "heading/M", children: S }), e[11] = S, e[12] = I) : I = e[12];
1086
1086
  let M;
1087
1087
  e[13] !== r ? (M = r ? /* @__PURE__ */ l(V, { textStyle: "paragraph/S/regular", color: "fg.muted", children: r }) : null, e[13] = r, e[14] = M) : M = e[14];
1088
- let H;
1089
- e[15] !== E || e[16] !== M ? (H = /* @__PURE__ */ l(q.Header, { children: /* @__PURE__ */ b(K, { gap: "xs", children: [
1090
- E,
1088
+ let F;
1089
+ e[15] !== I || e[16] !== M ? (F = /* @__PURE__ */ l(q.Header, { children: /* @__PURE__ */ b(K, { gap: "xs", children: [
1090
+ I,
1091
1091
  M
1092
- ] }) }), e[15] = E, e[16] = M, e[17] = H) : H = e[17];
1092
+ ] }) }), e[15] = I, e[16] = M, e[17] = F) : F = e[17];
1093
1093
  const ue = q, te = K, J = "md";
1094
1094
  let re;
1095
- e[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (re = /* @__PURE__ */ l(Pn, { size: 16 }), e[18] = re) : re = e[18];
1095
+ e[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (re = /* @__PURE__ */ l(Tn, { size: 16 }), e[18] = re) : re = e[18];
1096
1096
  let ie;
1097
1097
  e[19] !== m ? (ie = /* @__PURE__ */ l(ne, { "aria-label": "Go to home directory", variant: "outline", size: "sm", onClick: m, children: re }), e[19] = m, e[20] = ie) : ie = e[20];
1098
- const se = !w || w === "/";
1098
+ const se = !A || A === "/";
1099
1099
  let ae;
1100
- e[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ae = /* @__PURE__ */ l(An, { size: 16 }), e[21] = ae) : ae = e[21];
1100
+ e[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ae = /* @__PURE__ */ l(Pn, { size: 16 }), e[21] = ae) : ae = e[21];
1101
1101
  let le;
1102
1102
  e[22] !== g || e[23] !== se ? (le = /* @__PURE__ */ l(ne, { "aria-label": "Go to parent directory", variant: "outline", size: "sm", onClick: g, disabled: se, children: ae }), e[22] = g, e[23] = se, e[24] = le) : le = e[24];
1103
1103
  let de;
1104
- e[25] !== D ? (de = /* @__PURE__ */ l(V, { "data-testid": "folder-picker-path", textStyle: "paragraph/S/regular", color: "fg.muted", flex: "1", lineClamp: 1, children: D }), e[25] = D, e[26] = de) : de = e[26];
1104
+ e[25] !== k ? (de = /* @__PURE__ */ l(V, { "data-testid": "folder-picker-path", textStyle: "paragraph/S/regular", color: "fg.muted", flex: "1", lineClamp: 1, children: k }), e[25] = k, e[26] = de) : de = e[26];
1105
1105
  let ee;
1106
1106
  e[27] !== ie || e[28] !== le || e[29] !== de ? (ee = /* @__PURE__ */ b(K, { direction: "row", gap: "sm", align: "center", children: [
1107
1107
  ie,
1108
1108
  le,
1109
1109
  de
1110
1110
  ] }), e[27] = ie, e[28] = le, e[29] = de, e[30] = ee) : ee = e[30];
1111
- const be = K, Pe = "0", xe = "1px", Se = "md", ve = "border.subtle", Ae = "hidden";
1112
- let F;
1113
- e[31] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (F = /* @__PURE__ */ l(Qt, { size: 14 }), e[31] = F) : F = e[31];
1111
+ const be = K, Te = "0", xe = "1px", Se = "md", ve = "border.subtle", Pe = "hidden";
1112
+ let H;
1113
+ e[31] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (H = /* @__PURE__ */ l(jt, { size: 14 }), e[31] = H) : H = e[31];
1114
1114
  let me;
1115
- e[32] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (me = (Le) => O(Le.target.value), e[32] = me) : me = e[32];
1115
+ e[32] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (me = ($e) => O($e.target.value), e[32] = me) : me = e[32];
1116
1116
  let ye;
1117
- e[33] !== R ? (ye = /* @__PURE__ */ l(Mt, { startElement: F, width: "full", borderBottomWidth: "1px", borderColor: "border.subtle", children: /* @__PURE__ */ l(ht, { mx: "xs", value: R, placeholder: "Search repositories", "aria-label": "Search repositories", autoComplete: "off", onChange: me }) }), e[33] = R, e[34] = ye) : ye = e[34];
1118
- const Ce = k ? /* @__PURE__ */ l(V, { textStyle: "paragraph/S/regular", color: "fg.muted", p: "sm", children: "Loading..." }) : y ? /* @__PURE__ */ l(V, { textStyle: "paragraph/S/regular", color: "red.500", p: "sm", children: y }) : L.length === 0 ? /* @__PURE__ */ l(V, { textStyle: "paragraph/S/regular", color: "fg.muted", p: "sm", children: "No entries found." }) : /* @__PURE__ */ l(Je, { maxHeight: "320px", contentProps: {
1117
+ e[33] !== P ? (ye = /* @__PURE__ */ l(Ht, { startElement: H, width: "full", borderBottomWidth: "1px", borderColor: "border.subtle", children: /* @__PURE__ */ l(ut, { mx: "xs", value: P, placeholder: "Search repositories", "aria-label": "Search repositories", autoComplete: "off", onChange: me }) }), e[33] = P, e[34] = ye) : ye = e[34];
1118
+ const Ce = _ ? /* @__PURE__ */ l(V, { textStyle: "paragraph/S/regular", color: "fg.muted", p: "sm", children: "Loading..." }) : C ? /* @__PURE__ */ l(V, { textStyle: "paragraph/S/regular", color: "red.500", p: "sm", children: C }) : L.length === 0 ? /* @__PURE__ */ l(V, { textStyle: "paragraph/S/regular", color: "fg.muted", p: "sm", children: "No entries found." }) : /* @__PURE__ */ l(Ze, { maxHeight: "320px", contentProps: {
1119
1119
  padding: "sm"
1120
- }, children: /* @__PURE__ */ l(K, { gap: "xs", role: "listbox", "aria-label": "Repository folders", onKeyDown: Vo, children: L.map((Le) => /* @__PURE__ */ l(Mo, { entry: Le, selectedPath: T, selectedPathSet: W, onEntryClick: x }, Le.path)) }) });
1120
+ }, children: /* @__PURE__ */ l(K, { gap: "xs", role: "listbox", "aria-label": "Repository folders", onKeyDown: Mo, children: L.map(($e) => /* @__PURE__ */ l(Ho, { entry: $e, selectedPath: E, selectedPathSet: W, onEntryClick: x }, $e.path)) }) });
1121
1121
  let pe;
1122
- e[35] !== be || e[36] !== ye || e[37] !== Ce ? (pe = /* @__PURE__ */ b(be, { gap: Pe, borderWidth: xe, borderRadius: Se, borderColor: ve, overflow: Ae, children: [
1122
+ e[35] !== be || e[36] !== ye || e[37] !== Ce ? (pe = /* @__PURE__ */ b(be, { gap: Te, borderWidth: xe, borderRadius: Se, borderColor: ve, overflow: Pe, children: [
1123
1123
  ye,
1124
1124
  Ce
1125
1125
  ] }), e[35] = be, e[36] = ye, e[37] = Ce, e[38] = pe) : pe = e[38];
1126
- let ke;
1127
- e[39] !== te || e[40] !== ee || e[41] !== pe ? (ke = /* @__PURE__ */ b(te, { gap: J, children: [
1126
+ let Ae;
1127
+ e[39] !== te || e[40] !== ee || e[41] !== pe ? (Ae = /* @__PURE__ */ b(te, { gap: J, children: [
1128
1128
  ee,
1129
1129
  pe
1130
- ] }), e[39] = te, e[40] = ee, e[41] = pe, e[42] = ke) : ke = e[42];
1130
+ ] }), e[39] = te, e[40] = ee, e[41] = pe, e[42] = Ae) : Ae = e[42];
1131
1131
  let Ee;
1132
- e[43] !== ue.Body || e[44] !== ke ? (Ee = /* @__PURE__ */ l(ue.Body, { children: ke }), e[43] = ue.Body, e[44] = ke, e[45] = Ee) : Ee = e[45];
1133
- let Re;
1134
- e[46] !== f ? (Re = /* @__PURE__ */ l(ne, { variant: "outline", onClick: f, children: "Cancel" }), e[46] = f, e[47] = Re) : Re = e[47];
1132
+ e[43] !== ue.Body || e[44] !== Ae ? (Ee = /* @__PURE__ */ l(ue.Body, { children: Ae }), e[43] = ue.Body, e[44] = Ae, e[45] = Ee) : Ee = e[45];
1133
+ let ke;
1134
+ e[46] !== f ? (ke = /* @__PURE__ */ l(ne, { variant: "outline", onClick: f, children: "Cancel" }), e[46] = f, e[47] = ke) : ke = e[47];
1135
1135
  let De;
1136
1136
  e[48] !== $ || e[49] !== p ? (De = /* @__PURE__ */ l(ne, { onClick: p, disabled: $, children: "Select repository" }), e[48] = $, e[49] = p, e[50] = De) : De = e[50];
1137
- let _e;
1138
- e[51] !== Re || e[52] !== De ? (_e = /* @__PURE__ */ l(q.Footer, { children: /* @__PURE__ */ b(K, { direction: "row", gap: "sm", children: [
1139
- Re,
1137
+ let Re;
1138
+ e[51] !== ke || e[52] !== De ? (Re = /* @__PURE__ */ l(q.Footer, { children: /* @__PURE__ */ b(K, { direction: "row", gap: "sm", children: [
1139
+ ke,
1140
1140
  De
1141
- ] }) }), e[51] = Re, e[52] = De, e[53] = _e) : _e = e[53];
1141
+ ] }) }), e[51] = ke, e[52] = De, e[53] = Re) : Re = e[53];
1142
1142
  let Oe;
1143
- e[54] !== Z.Content || e[55] !== H || e[56] !== Ee || e[57] !== _e ? (Oe = /* @__PURE__ */ b(Z.Content, { children: [
1144
- H,
1143
+ e[54] !== Z.Content || e[55] !== F || e[56] !== Ee || e[57] !== Re ? (Oe = /* @__PURE__ */ b(Z.Content, { children: [
1144
+ F,
1145
1145
  Ee,
1146
+ Re
1147
+ ] }), e[54] = Z.Content, e[55] = F, e[56] = Ee, e[57] = Re, e[58] = Oe) : Oe = e[58];
1148
+ let _e;
1149
+ e[59] !== Y.Positioner || e[60] !== Oe ? (_e = /* @__PURE__ */ l(Y.Positioner, { children: Oe }), e[59] = Y.Positioner, e[60] = Oe, e[61] = _e) : _e = e[61];
1150
+ let je;
1151
+ return e[62] !== o || e[63] !== z.Root || e[64] !== G || e[65] !== D || e[66] !== _e ? (je = /* @__PURE__ */ b(z.Root, { lazyMount: B, unmountOnExit: j, closeOnInteractOutside: U, open: o, onOpenChange: G, children: [
1152
+ D,
1146
1153
  _e
1147
- ] }), e[54] = Z.Content, e[55] = H, e[56] = Ee, e[57] = _e, e[58] = Oe) : Oe = e[58];
1148
- let $e;
1149
- e[59] !== Y.Positioner || e[60] !== Oe ? ($e = /* @__PURE__ */ l(Y.Positioner, { children: Oe }), e[59] = Y.Positioner, e[60] = Oe, e[61] = $e) : $e = e[61];
1150
- let Qe;
1151
- return e[62] !== o || e[63] !== z.Root || e[64] !== G || e[65] !== _ || e[66] !== $e ? (Qe = /* @__PURE__ */ b(z.Root, { lazyMount: B, unmountOnExit: j, closeOnInteractOutside: U, open: o, onOpenChange: G, children: [
1152
- _,
1153
- $e
1154
- ] }), e[62] = o, e[63] = z.Root, e[64] = G, e[65] = _, e[66] = $e, e[67] = Qe) : Qe = e[67], Qe;
1155
- }, Ye = {
1154
+ ] }), e[62] = o, e[63] = z.Root, e[64] = G, e[65] = D, e[66] = _e, e[67] = je) : je = e[67], je;
1155
+ }, Ke = {
1156
1156
  alignItems: "center",
1157
1157
  display: "inline-flex",
1158
1158
  gap: "2xs",
@@ -1171,44 +1171,44 @@ const Ni = (n) => {
1171
1171
  _focusVisible: {
1172
1172
  outline: "none"
1173
1173
  }
1174
- }, wt = {
1175
- ...Ye,
1174
+ }, Ct = {
1175
+ ...Ke,
1176
1176
  color: "fg",
1177
1177
  cursor: "default",
1178
1178
  textDecoration: "none",
1179
1179
  _hover: {
1180
1180
  textDecoration: "none"
1181
1181
  }
1182
- }, Go = (n) => !!(n.url || n.onClick), Uo = (n) => {
1183
- const e = A(14), {
1182
+ }, Vo = (n) => !!(n.url || n.onClick), Go = (n) => {
1183
+ const e = T(14), {
1184
1184
  item: o,
1185
1185
  isCurrent: t,
1186
1186
  linkComponent: r
1187
1187
  } = n;
1188
- if (t && !Go(o)) {
1188
+ if (t && !Vo(o)) {
1189
1189
  let s;
1190
- return e[0] !== o.title ? (s = /* @__PURE__ */ l(fe.CurrentLink, { ...wt, children: o.title }), e[0] = o.title, e[1] = s) : s = e[1], s;
1190
+ return e[0] !== o.title ? (s = /* @__PURE__ */ l(fe.CurrentLink, { ...Ct, children: o.title }), e[0] = o.title, e[1] = s) : s = e[1], s;
1191
1191
  }
1192
1192
  if (o.url && r) {
1193
1193
  let s;
1194
- return e[2] !== r || e[3] !== o.title || e[4] !== o.url ? (s = /* @__PURE__ */ l(fe.Link, { asChild: !0, ...Ye, children: /* @__PURE__ */ l(r, { to: o.url, children: o.title }) }), e[2] = r, e[3] = o.title, e[4] = o.url, e[5] = s) : s = e[5], s;
1194
+ return e[2] !== r || e[3] !== o.title || e[4] !== o.url ? (s = /* @__PURE__ */ l(fe.Link, { asChild: !0, ...Ke, children: /* @__PURE__ */ l(r, { to: o.url, children: o.title }) }), e[2] = r, e[3] = o.title, e[4] = o.url, e[5] = s) : s = e[5], s;
1195
1195
  }
1196
1196
  if (o.url) {
1197
1197
  let s;
1198
- return e[6] !== o.title || e[7] !== o.url ? (s = /* @__PURE__ */ l(fe.Link, { href: o.url, ...Ye, children: o.title }), e[6] = o.title, e[7] = o.url, e[8] = s) : s = e[8], s;
1198
+ return e[6] !== o.title || e[7] !== o.url ? (s = /* @__PURE__ */ l(fe.Link, { href: o.url, ...Ke, children: o.title }), e[6] = o.title, e[7] = o.url, e[8] = s) : s = e[8], s;
1199
1199
  }
1200
1200
  if (o.onClick) {
1201
1201
  let s;
1202
- return e[9] !== o.onClick || e[10] !== o.title ? (s = /* @__PURE__ */ l(fe.Link, { as: "button", type: "button", onClick: o.onClick, ...Ye, children: o.title }), e[9] = o.onClick, e[10] = o.title, e[11] = s) : s = e[11], s;
1202
+ return e[9] !== o.onClick || e[10] !== o.title ? (s = /* @__PURE__ */ l(fe.Link, { as: "button", type: "button", onClick: o.onClick, ...Ke, children: o.title }), e[9] = o.onClick, e[10] = o.title, e[11] = s) : s = e[11], s;
1203
1203
  }
1204
1204
  let i;
1205
- return e[12] !== o.title ? (i = /* @__PURE__ */ l(fe.Link, { as: "span", ...wt, children: o.title }), e[12] = o.title, e[13] = i) : i = e[13], i;
1206
- }, jo = (n) => {
1207
- const e = A(6), {
1205
+ return e[12] !== o.title ? (i = /* @__PURE__ */ l(fe.Link, { as: "span", ...Ct, children: o.title }), e[12] = o.title, e[13] = i) : i = e[13], i;
1206
+ }, Uo = (n) => {
1207
+ const e = T(6), {
1208
1208
  item: o
1209
1209
  } = n;
1210
1210
  let t;
1211
- e[0] !== n ? (t = /* @__PURE__ */ l(Uo, { ...n }), e[0] = n, e[1] = t) : t = e[1];
1211
+ e[0] !== n ? (t = /* @__PURE__ */ l(Go, { ...n }), e[0] = n, e[1] = t) : t = e[1];
1212
1212
  const r = t;
1213
1213
  if (!o.contextMenuActions?.length)
1214
1214
  return r;
@@ -1217,9 +1217,9 @@ const Ni = (n) => {
1217
1217
  placement: "bottom-start"
1218
1218
  }, e[2] = i) : i = e[2];
1219
1219
  let s;
1220
- return e[3] !== r || e[4] !== o.contextMenuActions ? (s = /* @__PURE__ */ l(qt, { actions: o.contextMenuActions, positioning: i, children: r }), e[3] = r, e[4] = o.contextMenuActions, e[5] = s) : s = e[5], s;
1221
- }, Qo = (n) => {
1222
- const e = A(3), {
1220
+ return e[3] !== r || e[4] !== o.contextMenuActions ? (s = /* @__PURE__ */ l(Xt, { actions: o.contextMenuActions, positioning: i, children: r }), e[3] = r, e[4] = o.contextMenuActions, e[5] = s) : s = e[5], s;
1221
+ }, jo = (n) => {
1222
+ const e = T(3), {
1223
1223
  separator: o
1224
1224
  } = n;
1225
1225
  if (o === void 0) {
@@ -1228,8 +1228,8 @@ const Ni = (n) => {
1228
1228
  }
1229
1229
  let t;
1230
1230
  return e[1] !== o ? (t = /* @__PURE__ */ l(fe.Separator, { flexShrink: 0, children: o }), e[1] = o, e[2] = t) : t = e[2], t;
1231
- }, Vi = ct.forwardRef(function(e, o) {
1232
- const t = A(21);
1231
+ }, Mi = pt.forwardRef(function(e, o) {
1232
+ const t = T(21);
1233
1233
  let r, i, s, a, c;
1234
1234
  t[0] !== e ? ({
1235
1235
  separator: a,
@@ -1243,9 +1243,9 @@ const Ni = (n) => {
1243
1243
  let f;
1244
1244
  t[10] !== r || t[11] !== i.length || t[12] !== a ? (f = (p, m) => {
1245
1245
  const g = m === i.length - 1;
1246
- return /* @__PURE__ */ b(ct.Fragment, { children: [
1247
- /* @__PURE__ */ l(fe.Item, { minW: "0", flexShrink: g ? 1 : 0, overflow: "hidden", children: /* @__PURE__ */ l(jo, { item: p, isCurrent: g, linkComponent: r }) }),
1248
- g ? null : /* @__PURE__ */ l(Qo, { separator: a })
1246
+ return /* @__PURE__ */ b(pt.Fragment, { children: [
1247
+ /* @__PURE__ */ l(fe.Item, { minW: "0", flexShrink: g ? 1 : 0, overflow: "hidden", children: /* @__PURE__ */ l(Uo, { item: p, isCurrent: g, linkComponent: r }) }),
1248
+ g ? null : /* @__PURE__ */ l(jo, { separator: a })
1249
1249
  ] }, m);
1250
1250
  }, t[10] = r, t[11] = i.length, t[12] = a, t[13] = f) : f = t[13], d = i.map(f), t[6] = r, t[7] = i, t[8] = a, t[9] = d;
1251
1251
  } else
@@ -1254,23 +1254,23 @@ const Ni = (n) => {
1254
1254
  t[14] !== c || t[15] !== d ? (u = /* @__PURE__ */ l(fe.List, { gap: c, flexWrap: "nowrap", minW: "0", maxW: "100%", overflow: "hidden", children: d }), t[14] = c, t[15] = d, t[16] = u) : u = t[16];
1255
1255
  let h;
1256
1256
  return t[17] !== o || t[18] !== s || t[19] !== u ? (h = /* @__PURE__ */ l(fe.Root, { ref: o, ...s, children: u }), t[17] = o, t[18] = s, t[19] = u, t[20] = h) : h = t[20], h;
1257
- }), Xo = `url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239C92AC' fill-opacity='0.2' fillRule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E")`, qo = (n) => {
1258
- const e = A(3);
1257
+ }), Qo = `url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239C92AC' fill-opacity='0.2' fillRule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E")`, Xo = (n) => {
1258
+ const e = T(3);
1259
1259
  let o;
1260
1260
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (o = {
1261
1261
  backgroundClip: "padding-box",
1262
- backgroundImage: Xo,
1262
+ backgroundImage: Qo,
1263
1263
  display: "flex",
1264
1264
  width: "100%"
1265
1265
  }, e[0] = o) : o = e[0];
1266
1266
  let t;
1267
1267
  return e[1] !== n ? (t = /* @__PURE__ */ l(Q, { ...n, css: o }), e[1] = n, e[2] = t) : t = e[2], t;
1268
- }, Gi = (n) => {
1269
- const e = A(2);
1268
+ }, Vi = (n) => {
1269
+ const e = T(2);
1270
1270
  let o;
1271
1271
  return e[0] !== n ? (o = /* @__PURE__ */ l(Q, { p: "2", children: /* @__PURE__ */ l(V, { color: "fg.muted", fontWeight: "medium", textStyle: "sm", whiteSpace: "nowrap", ...n }) }), e[0] = n, e[1] = o) : o = e[1], o;
1272
1272
  };
1273
- class Ui extends hn {
1273
+ class Gi extends fn {
1274
1274
  state = {
1275
1275
  error: null
1276
1276
  };
@@ -1295,11 +1295,11 @@ class Ui extends hn {
1295
1295
  } = this.props, {
1296
1296
  error: r
1297
1297
  } = this.state;
1298
- return r ? o || /* @__PURE__ */ l(Ko, { error: r, label: t, onReset: this.handleReset }) : e;
1298
+ return r ? o || /* @__PURE__ */ l(qo, { error: r, label: t, onReset: this.handleReset }) : e;
1299
1299
  }
1300
1300
  }
1301
- const Ko = (n) => {
1302
- const e = A(12), {
1301
+ const qo = (n) => {
1302
+ const e = T(12), {
1303
1303
  error: o,
1304
1304
  label: t,
1305
1305
  onReset: r
@@ -1317,9 +1317,9 @@ const Ko = (n) => {
1317
1317
  d
1318
1318
  ] }), e[6] = c, e[7] = d, e[8] = u) : u = e[8];
1319
1319
  let h;
1320
- return e[9] !== s || e[10] !== u ? (h = /* @__PURE__ */ l(qo, { height: "100%", width: "100%", children: /* @__PURE__ */ l(cn, { children: /* @__PURE__ */ l(mt, { status: "error", title: s, children: u }) }) }), e[9] = s, e[10] = u, e[11] = h) : h = e[11], h;
1321
- }, Yo = (n) => {
1322
- const e = A(6);
1320
+ return e[9] !== s || e[10] !== u ? (h = /* @__PURE__ */ l(Xo, { height: "100%", width: "100%", children: /* @__PURE__ */ l(an, { children: /* @__PURE__ */ l(ft, { status: "error", title: s, children: u }) }) }), e[9] = s, e[10] = u, e[11] = h) : h = e[11], h;
1321
+ }, Ko = (n) => {
1322
+ const e = T(6);
1323
1323
  let o, t;
1324
1324
  e[0] !== n ? ({
1325
1325
  children: o,
@@ -1327,8 +1327,8 @@ const Ko = (n) => {
1327
1327
  } = n, e[0] = n, e[1] = o, e[2] = t) : (o = e[1], t = e[2]);
1328
1328
  let r;
1329
1329
  return e[3] !== o || e[4] !== t ? (r = /* @__PURE__ */ l(Q, { borderWidth: "1px", borderColor: "border.subtle", borderRadius: "xs", bg: "bg", ...t, children: o }), e[3] = o, e[4] = t, e[5] = r) : r = e[5], r;
1330
- }, Zo = (n) => {
1331
- const e = A(6);
1330
+ }, Yo = (n) => {
1331
+ const e = T(6);
1332
1332
  let o, t;
1333
1333
  e[0] !== n ? ({
1334
1334
  children: o,
@@ -1336,8 +1336,8 @@ const Ko = (n) => {
1336
1336
  } = n, e[0] = n, e[1] = o, e[2] = t) : (o = e[1], t = e[2]);
1337
1337
  let r;
1338
1338
  return e[3] !== o || e[4] !== t ? (r = /* @__PURE__ */ l(Q, { p: "md", ...t, children: o }), e[3] = o, e[4] = t, e[5] = r) : r = e[5], r;
1339
- }, ji = (n) => {
1340
- const e = A(30), {
1339
+ }, Ui = (n) => {
1340
+ const e = T(30), {
1341
1341
  icon: o,
1342
1342
  name: t,
1343
1343
  description: r,
@@ -1352,14 +1352,14 @@ const Ko = (n) => {
1352
1352
  let f;
1353
1353
  e[2] !== t ? (f = /* @__PURE__ */ l(V, { textStyle: "sm", fontWeight: "semibold", children: t }), e[2] = t, e[3] = f) : f = e[3];
1354
1354
  let p;
1355
- e[4] !== i ? (p = /* @__PURE__ */ l(Ne, { size: "sm", variant: "outline", children: i }), e[4] = i, e[5] = p) : p = e[5];
1355
+ e[4] !== i ? (p = /* @__PURE__ */ l(Be, { size: "sm", variant: "outline", children: i }), e[4] = i, e[5] = p) : p = e[5];
1356
1356
  let m;
1357
- e[6] !== s ? (m = s && /* @__PURE__ */ b(Ne, { size: "sm", variant: "outline", children: [
1357
+ e[6] !== s ? (m = s && /* @__PURE__ */ b(Be, { size: "sm", variant: "outline", children: [
1358
1358
  "v",
1359
1359
  s
1360
1360
  ] }), e[6] = s, e[7] = m) : m = e[7];
1361
1361
  let g;
1362
- e[8] !== a ? (g = a && /* @__PURE__ */ l(Ne, { size: "sm", variant: "outline", children: a }), e[8] = a, e[9] = g) : g = e[9];
1362
+ e[8] !== a ? (g = a && /* @__PURE__ */ l(Be, { size: "sm", variant: "outline", children: a }), e[8] = a, e[9] = g) : g = e[9];
1363
1363
  let x;
1364
1364
  e[10] !== f || e[11] !== p || e[12] !== m || e[13] !== g ? (x = /* @__PURE__ */ b(oe, { gap: "2", flexWrap: "wrap", children: [
1365
1365
  f,
@@ -1367,111 +1367,55 @@ const Ko = (n) => {
1367
1367
  m,
1368
1368
  g
1369
1369
  ] }), e[10] = f, e[11] = p, e[12] = m, e[13] = g, e[14] = x) : x = e[14];
1370
- let v;
1371
- e[15] !== r ? (v = /* @__PURE__ */ l(V, { color: "fg.muted", children: r }), e[15] = r, e[16] = v) : v = e[16];
1372
- let w;
1373
- e[17] !== x || e[18] !== v ? (w = /* @__PURE__ */ l(Q, { flex: "1", minW: "0", children: /* @__PURE__ */ b(K, { gap: "1", children: [
1374
- x,
1375
- v
1376
- ] }) }), e[17] = x, e[18] = v, e[19] = w) : w = e[19];
1377
- let T;
1378
- e[20] !== u ? (T = u && /* @__PURE__ */ l(we, { color: "fg.success", children: /* @__PURE__ */ l(Ze, {}) }), e[20] = u, e[21] = T) : T = e[21];
1379
- const P = d ?? (u ? "Active" : "Connect");
1380
1370
  let S;
1381
- e[22] !== u || e[23] !== P || e[24] !== T ? (S = /* @__PURE__ */ b(ne, { type: "button", disabled: u, size: "sm", variant: "outline", colorPalette: "gray", bg: "bg", flexShrink: "0", children: [
1382
- T,
1383
- P
1384
- ] }), e[22] = u, e[23] = P, e[24] = T, e[25] = S) : S = e[25];
1385
- let k;
1386
- return e[26] !== h || e[27] !== S || e[28] !== w ? (k = /* @__PURE__ */ l(Yo, { children: /* @__PURE__ */ l(Zo, { children: /* @__PURE__ */ b(oe, { gap: "4", alignItems: "flex-start", children: [
1387
- h,
1388
- w,
1371
+ e[15] !== r ? (S = /* @__PURE__ */ l(V, { color: "fg.muted", children: r }), e[15] = r, e[16] = S) : S = e[16];
1372
+ let A;
1373
+ e[17] !== x || e[18] !== S ? (A = /* @__PURE__ */ l(Q, { flex: "1", minW: "0", children: /* @__PURE__ */ b(K, { gap: "1", children: [
1374
+ x,
1389
1375
  S
1390
- ] }) }) }), e[26] = h, e[27] = S, e[28] = w, e[29] = k) : k = e[29], k;
1391
- }, Qi = ct.forwardRef(function(e, o) {
1392
- const t = A(36);
1393
- let r, i, s, a, c, d, u;
1394
- t[0] !== e ? ({
1395
- inputProps: i,
1396
- children: r,
1397
- rootRef: a,
1398
- trackLabel: u,
1399
- thumbLabel: d,
1400
- disabled: c,
1401
- ...s
1402
- } = e, t[0] = e, t[1] = r, t[2] = i, t[3] = s, t[4] = a, t[5] = c, t[6] = d, t[7] = u) : (r = t[1], i = t[2], s = t[3], a = t[4], c = t[5], d = t[6], u = t[7]);
1403
- const h = c === void 0 ? !1 : c, f = h ? "not-allowed" : "pointer";
1404
- let p;
1405
- t[8] !== i || t[9] !== o ? (p = /* @__PURE__ */ l(Ie.HiddenInput, { ref: o, ...i }), t[8] = i, t[9] = o, t[10] = p) : p = t[10];
1406
- let m, g, x;
1407
- t[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = {
1408
- borderColor: "border.accent-light"
1409
- }, g = {
1410
- borderColor: "border.accent-light"
1411
- }, x = {
1412
- borderColor: "border.accent-light",
1413
- outline: "none",
1414
- boxShadow: "none"
1415
- }, t[11] = m, t[12] = g, t[13] = x) : (m = t[11], g = t[12], x = t[13]);
1376
+ ] }) }), e[17] = x, e[18] = S, e[19] = A) : A = e[19];
1377
+ let E;
1378
+ e[20] !== u ? (E = u && /* @__PURE__ */ l(we, { color: "fg.success", children: /* @__PURE__ */ l(Ye, {}) }), e[20] = u, e[21] = E) : E = e[21];
1379
+ const R = d ?? (u ? "Active" : "Connect");
1416
1380
  let v;
1417
- t[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = {
1418
- bg: "bg.button.primary.default",
1419
- borderColor: "bg.button.primary.default",
1420
- color: "fg.button.primary.default",
1421
- _hover: {
1422
- borderColor: "bg.button.primary.default"
1423
- },
1424
- _active: {
1425
- borderColor: "bg.button.primary.default"
1426
- }
1427
- }, t[14] = v) : v = t[14];
1428
- let w;
1429
- t[15] !== d ? (w = d && /* @__PURE__ */ l(Ie.ThumbIndicator, { fallback: d?.off, children: d?.on }), t[15] = d, t[16] = w) : w = t[16];
1430
- let T;
1431
- t[17] !== w ? (T = /* @__PURE__ */ l(Ie.Thumb, { bg: "bg", borderColor: "border", borderRadius: "full", children: w }), t[17] = w, t[18] = T) : T = t[18];
1432
- let P;
1433
- t[19] !== u ? (P = u && /* @__PURE__ */ l(Ie.Indicator, { fallback: u.off, children: u.on }), t[19] = u, t[20] = P) : P = t[20];
1434
- let S;
1435
- t[21] !== f || t[22] !== T || t[23] !== P ? (S = /* @__PURE__ */ b(Ie.Control, { bg: "bg.muted", borderWidth: "1px", borderColor: "border", borderRadius: "md", color: "fg", cursor: f, transition: "border-color 0.2s ease-in-out", boxShadow: "none", _hover: m, _active: g, _focusVisible: x, _checked: v, children: [
1436
- T,
1437
- P
1438
- ] }), t[21] = f, t[22] = T, t[23] = P, t[24] = S) : S = t[24];
1439
- let k;
1440
- t[25] !== r || t[26] !== f ? (k = r != null && /* @__PURE__ */ l(Ie.Label, { cursor: f, children: r }), t[25] = r, t[26] = f, t[27] = k) : k = t[27];
1441
- let y;
1442
- return t[28] !== h || t[29] !== f || t[30] !== s || t[31] !== a || t[32] !== p || t[33] !== k || t[34] !== S ? (y = /* @__PURE__ */ b(Ie.Root, { ref: a, disabled: h, cursor: f, ...s, children: [
1443
- p,
1444
- S,
1445
- k
1446
- ] }), t[28] = h, t[29] = f, t[30] = s, t[31] = a, t[32] = p, t[33] = k, t[34] = S, t[35] = y) : y = t[35], y;
1447
- }), Jo = dn({
1381
+ e[22] !== u || e[23] !== R || e[24] !== E ? (v = /* @__PURE__ */ b(ne, { type: "button", disabled: u, size: "sm", variant: "outline", colorPalette: "gray", bg: "bg", flexShrink: "0", children: [
1382
+ E,
1383
+ R
1384
+ ] }), e[22] = u, e[23] = R, e[24] = E, e[25] = v) : v = e[25];
1385
+ let _;
1386
+ return e[26] !== h || e[27] !== v || e[28] !== A ? (_ = /* @__PURE__ */ l(Ko, { children: /* @__PURE__ */ l(Yo, { children: /* @__PURE__ */ b(oe, { gap: "4", alignItems: "flex-start", children: [
1387
+ h,
1388
+ A,
1389
+ v
1390
+ ] }) }) }), e[26] = h, e[27] = v, e[28] = A, e[29] = _) : _ = e[29], _;
1391
+ }, Zo = cn({
1448
1392
  placement: "top",
1449
1393
  pauseOnPageIdle: !0,
1450
1394
  duration: 1e4
1451
- }), Xi = () => {
1452
- const n = A(1);
1395
+ }), ji = () => {
1396
+ const n = T(1);
1453
1397
  let e;
1454
- return n[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ l(Vt, { children: /* @__PURE__ */ l(un, { toaster: Jo, insetInline: {
1398
+ return n[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ l(Mt, { children: /* @__PURE__ */ l(dn, { toaster: Zo, insetInline: {
1455
1399
  mdDown: "4"
1456
- }, children: er }) }), n[0] = e) : e = n[0], e;
1400
+ }, children: Jo }) }), n[0] = e) : e = n[0], e;
1457
1401
  };
1458
- function er(n) {
1459
- return /* @__PURE__ */ b(ze.Root, { width: {
1402
+ function Jo(n) {
1403
+ return /* @__PURE__ */ b(Le.Root, { width: {
1460
1404
  md: "sm"
1461
1405
  }, alignItems: "start", borderRadius: "xs", gap: "xs", px: "sm", py: "xs", minH: "auto", children: [
1462
- n.type === "loading" ? /* @__PURE__ */ l(Gt, { size: "sm", color: "blue.solid" }) : /* @__PURE__ */ l(ze.Indicator, {}),
1406
+ n.type === "loading" ? /* @__PURE__ */ l(Vt, { size: "sm", color: "blue.solid" }) : /* @__PURE__ */ l(Le.Indicator, {}),
1463
1407
  /* @__PURE__ */ b(K, { gap: "0", flex: "1", minWidth: "0", maxWidth: "100%", children: [
1464
- n.title && /* @__PURE__ */ l(ze.Title, { textStyle: "label/S/medium", children: n.title }),
1465
- n.description && /* @__PURE__ */ l(Je, { maxHeight: "12rem", contentProps: {
1408
+ n.title && /* @__PURE__ */ l(Le.Title, { textStyle: "label/S/medium", children: n.title }),
1409
+ n.description && /* @__PURE__ */ l(Ze, { maxHeight: "12rem", contentProps: {
1466
1410
  paddingEnd: "1"
1467
- }, children: /* @__PURE__ */ l(ze.Description, { textStyle: "paragraph/S/regular", whiteSpace: "pre-wrap", wordBreak: "break-word", children: n.description }) })
1411
+ }, children: /* @__PURE__ */ l(Le.Description, { textStyle: "paragraph/S/regular", whiteSpace: "pre-wrap", wordBreak: "break-word", children: n.description }) })
1468
1412
  ] }),
1469
- n.action && /* @__PURE__ */ l(ze.ActionTrigger, { children: n.action.label }),
1470
- /* @__PURE__ */ l(ze.CloseTrigger, {})
1413
+ n.action && /* @__PURE__ */ l(Le.ActionTrigger, { children: n.action.label }),
1414
+ /* @__PURE__ */ l(Le.CloseTrigger, {})
1471
1415
  ] });
1472
1416
  }
1473
- const qi = (n) => {
1474
- const e = A(6);
1417
+ const Qi = (n) => {
1418
+ const e = T(6);
1475
1419
  let o, t;
1476
1420
  e[0] !== n ? ({
1477
1421
  children: o,
@@ -1479,25 +1423,25 @@ const qi = (n) => {
1479
1423
  } = n, e[0] = n, e[1] = o, e[2] = t) : (o = e[1], t = e[2]);
1480
1424
  let r;
1481
1425
  return e[3] !== o || e[4] !== t ? (r = /* @__PURE__ */ l(K, { gap: "sm", minW: "0", ...t, children: o }), e[3] = o, e[4] = t, e[5] = r) : r = e[5], r;
1482
- }, It = {
1426
+ }, wt = {
1483
1427
  open: !0,
1484
1428
  expandedSections: [],
1485
1429
  expandedNodes: [],
1486
1430
  width: null
1487
- }, tr = "pstdio/ui/sidenav", nr = (n) => `${tr}/${n}`, Tt = (n, e) => n.includes(e) ? n.filter((o) => o !== e) : [...n, e], Pt = (n, e, o) => o ? n.includes(e) ? n : [...n, e] : n.filter((t) => t !== e), or = (n) => ({
1431
+ }, er = "pstdio/ui/sidenav", tr = (n) => `${er}/${n}`, It = (n, e) => n.includes(e) ? n.filter((o) => o !== e) : [...n, e], Tt = (n, e, o) => o ? n.includes(e) ? n : [...n, e] : n.filter((t) => t !== e), nr = (n) => ({
1488
1432
  open: n.open,
1489
1433
  expandedSections: n.expandedSections,
1490
1434
  expandedNodes: n.expandedNodes,
1491
1435
  width: n.width
1492
- }), rr = (n) => {
1436
+ }), or = (n) => {
1493
1437
  const {
1494
1438
  storageKey: e,
1495
1439
  initialState: o
1496
1440
  } = n, t = {
1497
- ...It,
1441
+ ...wt,
1498
1442
  ...o
1499
1443
  };
1500
- return rt()(nt((r) => ({
1444
+ return ot()(tt((r) => ({
1501
1445
  ...t,
1502
1446
  openSidenav: () => r((i) => ({
1503
1447
  ...i,
@@ -1513,66 +1457,66 @@ const qi = (n) => {
1513
1457
  })),
1514
1458
  toggleSection: (i) => r((s) => ({
1515
1459
  ...s,
1516
- expandedSections: Tt(s.expandedSections, i)
1460
+ expandedSections: It(s.expandedSections, i)
1517
1461
  })),
1518
1462
  toggleNode: (i) => r((s) => ({
1519
1463
  ...s,
1520
- expandedNodes: Tt(s.expandedNodes, i)
1464
+ expandedNodes: It(s.expandedNodes, i)
1521
1465
  })),
1522
1466
  setSectionExpanded: (i, s) => r((a) => ({
1523
1467
  ...a,
1524
- expandedSections: Pt(a.expandedSections, i, s)
1468
+ expandedSections: Tt(a.expandedSections, i, s)
1525
1469
  })),
1526
1470
  setNodeExpanded: (i, s) => r((a) => ({
1527
1471
  ...a,
1528
- expandedNodes: Pt(a.expandedNodes, i, s)
1472
+ expandedNodes: Tt(a.expandedNodes, i, s)
1529
1473
  })),
1530
1474
  setWidth: (i) => r((s) => ({
1531
1475
  ...s,
1532
1476
  width: i
1533
1477
  })),
1534
- reset: () => r(It)
1478
+ reset: () => r(wt)
1535
1479
  }), {
1536
- name: nr(e),
1537
- storage: ot(We),
1538
- partialize: or
1480
+ name: tr(e),
1481
+ storage: nt(Ne),
1482
+ partialize: nr
1539
1483
  }));
1540
- }, At = /* @__PURE__ */ new Map(), ir = (n, e) => {
1541
- const o = At.get(n);
1484
+ }, Pt = /* @__PURE__ */ new Map(), rr = (n, e) => {
1485
+ const o = Pt.get(n);
1542
1486
  if (o)
1543
1487
  return o;
1544
- const t = rr({
1488
+ const t = or({
1545
1489
  storageKey: n,
1546
1490
  initialState: e
1547
1491
  });
1548
- return At.set(n, t), t;
1549
- }, Be = (n, e, o) => {
1550
- const t = A(3);
1492
+ return Pt.set(n, t), t;
1493
+ }, ze = (n, e, o) => {
1494
+ const t = T(3);
1551
1495
  let r;
1552
- return t[0] !== o || t[1] !== n ? (r = ir(n, o), t[0] = o, t[1] = n, t[2] = r) : r = t[2], tt(r, e);
1553
- }, lr = (n) => {
1554
- const e = A(2), {
1496
+ return t[0] !== o || t[1] !== n ? (r = rr(n, o), t[0] = o, t[1] = n, t[2] = r) : r = t[2], et(r, e);
1497
+ }, ir = (n) => {
1498
+ const e = T(2), {
1555
1499
  children: o
1556
1500
  } = n;
1557
1501
  if (!o)
1558
1502
  return null;
1559
1503
  let t;
1560
1504
  return e[0] !== o ? (t = /* @__PURE__ */ l(Q, { bg: "bg", position: "sticky", bottom: "0", overflow: "hidden", children: o }), e[0] = o, e[1] = t) : t = e[1], t;
1561
- }, sr = (n) => {
1562
- const e = A(2), {
1505
+ }, lr = (n) => {
1506
+ const e = T(2), {
1563
1507
  children: o
1564
1508
  } = n;
1565
1509
  let t;
1566
- return e[0] !== o ? (t = /* @__PURE__ */ l(oe, { "data-testid": "sidenav-header", justify: "space-between", align: "center", minH: Po, bg: "bg", position: "sticky", top: "0", zIndex: "1", gap: "0", children: /* @__PURE__ */ l(oe, { minW: "0", flex: "1", children: o }) }), e[0] = o, e[1] = t) : t = e[1], t;
1567
- }, ar = 240, cr = 200, dr = 480, ur = (n, e, o) => Math.min(Math.max(n, e), o), fr = (n, e = ar) => {
1510
+ return e[0] !== o ? (t = /* @__PURE__ */ l(oe, { "data-testid": "sidenav-header", justify: "space-between", align: "center", minH: To, bg: "bg", position: "sticky", top: "0", zIndex: "1", gap: "0", children: /* @__PURE__ */ l(oe, { minW: "0", flex: "1", children: o }) }), e[0] = o, e[1] = t) : t = e[1], t;
1511
+ }, sr = 240, ar = 200, cr = 480, dr = (n, e, o) => Math.min(Math.max(n, e), o), ur = (n, e = sr) => {
1568
1512
  if (typeof n == "number") return n;
1569
1513
  if (typeof n == "string") {
1570
1514
  const o = parseInt(n, 10);
1571
1515
  if (!Number.isNaN(o)) return o;
1572
1516
  }
1573
1517
  return e;
1574
- }, Ki = (n) => {
1575
- const e = A(43), {
1518
+ }, Xi = (n) => {
1519
+ const e = T(43), {
1576
1520
  storageKey: o,
1577
1521
  sections: t,
1578
1522
  activeNodeId: r,
@@ -1588,39 +1532,39 @@ const qi = (n) => {
1588
1532
  onOpenChange: m,
1589
1533
  resizable: g,
1590
1534
  defaultWidth: x,
1591
- minWidth: v,
1592
- maxWidth: w,
1593
- virtualize: T
1535
+ minWidth: S,
1536
+ maxWidth: A,
1537
+ virtualize: E
1594
1538
  } = n;
1595
- let P;
1596
- e[0] !== i ? (P = i === void 0 ? [] : i, e[0] = i, e[1] = P) : P = e[1];
1597
- const S = P, k = d === void 0 ? !0 : d, y = u === void 0 ? "No items available." : u, $ = g === void 0 ? !0 : g, R = v === void 0 ? cr : v, O = w === void 0 ? dr : w, N = T === void 0 ? !1 : T, W = Ve(null);
1539
+ let R;
1540
+ e[0] !== i ? (R = i === void 0 ? [] : i, e[0] = i, e[1] = R) : R = e[1];
1541
+ const v = R, _ = d === void 0 ? !0 : d, C = u === void 0 ? "No items available." : u, $ = g === void 0 ? !0 : g, P = S === void 0 ? ar : S, O = A === void 0 ? cr : A, N = E === void 0 ? !1 : E, W = Me(null);
1598
1542
  let L;
1599
- e[2] !== x || e[3] !== c ? (L = fr(c, x), e[2] = x, e[3] = c, e[4] = L) : L = e[4];
1600
- const D = L;
1601
- let I;
1602
- e[5] !== h ? (I = h ? {
1543
+ e[2] !== x || e[3] !== c ? (L = ur(c, x), e[2] = x, e[3] = c, e[4] = L) : L = e[4];
1544
+ const k = L;
1545
+ let w;
1546
+ e[5] !== h ? (w = h ? {
1603
1547
  expandedSections: h
1604
- } : {}, e[5] = h, e[6] = I) : I = e[6];
1605
- let C;
1606
- e[7] !== D || e[8] !== I ? (C = {
1607
- ...I,
1608
- width: D
1609
- }, e[7] = D, e[8] = I, e[9] = C) : C = e[9];
1610
- const z = C, B = Be(o, hr, z), j = Be(o, mr, z), U = Be(o, pr, z), G = Be(o, gr, z), _ = Be(o, br, z), Y = Be(o, xr, z);
1611
- let Z, E;
1548
+ } : {}, e[5] = h, e[6] = w) : w = e[6];
1549
+ let y;
1550
+ e[7] !== k || e[8] !== w ? (y = {
1551
+ ...w,
1552
+ width: k
1553
+ }, e[7] = k, e[8] = w, e[9] = y) : y = e[9];
1554
+ const z = y, B = ze(o, fr, z), j = ze(o, hr, z), U = ze(o, mr, z), G = ze(o, pr, z), D = ze(o, gr, z), Y = ze(o, br, z);
1555
+ let Z, I;
1612
1556
  e[10] !== m || e[11] !== B ? (Z = () => {
1613
1557
  m?.(B);
1614
- }, E = [m, B], e[10] = m, e[11] = B, e[12] = Z, e[13] = E) : (Z = e[12], E = e[13]), he(Z, E);
1615
- const M = j ?? D;
1616
- let H;
1617
- e[14] !== O || e[15] !== R || e[16] !== M ? (H = ur(M, R, O), e[14] = O, e[15] = R, e[16] = M, e[17] = H) : H = e[17];
1618
- const ue = H;
1619
- if (!B && k)
1558
+ }, I = [m, B], e[10] = m, e[11] = B, e[12] = Z, e[13] = I) : (Z = e[12], I = e[13]), he(Z, I);
1559
+ const M = j ?? k;
1560
+ let F;
1561
+ e[14] !== O || e[15] !== P || e[16] !== M ? (F = dr(M, P, O), e[14] = O, e[15] = P, e[16] = M, e[17] = F) : F = e[17];
1562
+ const ue = F;
1563
+ if (!B && _)
1620
1564
  return null;
1621
- const te = $ ? `${ue}px` : c ?? `${D}px`;
1565
+ const te = $ ? `${ue}px` : c ?? `${k}px`;
1622
1566
  let J;
1623
- e[18] !== s ? (J = /* @__PURE__ */ l(sr, { children: s }), e[18] = s, e[19] = J) : J = e[19];
1567
+ e[18] !== s ? (J = /* @__PURE__ */ l(lr, { children: s }), e[18] = s, e[19] = J) : J = e[19];
1624
1568
  let re, ie;
1625
1569
  e[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (re = {
1626
1570
  display: "block",
@@ -1637,9 +1581,9 @@ const qi = (n) => {
1637
1581
  }
1638
1582
  }, e[20] = re, e[21] = ie) : (re = e[20], ie = e[21]);
1639
1583
  let se;
1640
- e[22] !== r || e[23] !== y || e[24] !== G || e[25] !== U || e[26] !== f || e[27] !== p || e[28] !== t || e[29] !== Y || e[30] !== _ || e[31] !== N ? (se = /* @__PURE__ */ l(Je, { flex: "1", mt: "lg", viewportRef: W, viewportProps: re, contentProps: ie, children: /* @__PURE__ */ l(Q, { w: "full", minW: "0", flex: "1 0 auto", display: "flex", flexDirection: "column", children: t.length === 0 ? /* @__PURE__ */ l(V, { textStyle: "paragraph/S/regular", color: "fg.muted", p: "3", children: y }) : /* @__PURE__ */ l($n, { sections: t, expandedSectionIds: U, expandedNodeIds: G, activeNodeId: r, rowVariant: "compact", sectionGap: "md", nodeGap: "1px", linkComponent: f, onNavigate: p, onToggleSection: _, onToggleNode: Y, virtualize: N, scrollRef: W }) }) }), e[22] = r, e[23] = y, e[24] = G, e[25] = U, e[26] = f, e[27] = p, e[28] = t, e[29] = Y, e[30] = _, e[31] = N, e[32] = se) : se = e[32];
1584
+ e[22] !== r || e[23] !== C || e[24] !== G || e[25] !== U || e[26] !== f || e[27] !== p || e[28] !== t || e[29] !== Y || e[30] !== D || e[31] !== N ? (se = /* @__PURE__ */ l(Ze, { flex: "1", mt: "lg", viewportRef: W, viewportProps: re, contentProps: ie, children: /* @__PURE__ */ l(Q, { w: "full", minW: "0", flex: "1 0 auto", display: "flex", flexDirection: "column", children: t.length === 0 ? /* @__PURE__ */ l(V, { textStyle: "paragraph/S/regular", color: "fg.muted", p: "3", children: C }) : /* @__PURE__ */ l(_n, { sections: t, expandedSectionIds: U, expandedNodeIds: G, activeNodeId: r, rowVariant: "compact", sectionGap: "md", nodeGap: "1px", linkComponent: f, onNavigate: p, onToggleSection: D, onToggleNode: Y, virtualize: N, scrollRef: W }) }) }), e[22] = r, e[23] = C, e[24] = G, e[25] = U, e[26] = f, e[27] = p, e[28] = t, e[29] = Y, e[30] = D, e[31] = N, e[32] = se) : se = e[32];
1641
1585
  let ae;
1642
- e[33] !== a ? (ae = /* @__PURE__ */ l(lr, { children: a }), e[33] = a, e[34] = ae) : ae = e[34];
1586
+ e[33] !== a ? (ae = /* @__PURE__ */ l(ir, { children: a }), e[33] = a, e[34] = ae) : ae = e[34];
1643
1587
  let le;
1644
1588
  e[35] !== J || e[36] !== se || e[37] !== ae || e[38] !== te ? (le = /* @__PURE__ */ b(ge, { as: "aside", "data-testid": "sidenav", direction: "column", position: "relative", h: "100%", w: te, minW: te, maxW: te, flexShrink: 0, borderRightWidth: "1px", borderRightColor: "border.subtle", bg: "bg", children: [
1645
1589
  J,
@@ -1648,29 +1592,29 @@ const qi = (n) => {
1648
1592
  ] }), e[35] = J, e[36] = se, e[37] = ae, e[38] = te, e[39] = le) : le = e[39];
1649
1593
  const de = le;
1650
1594
  let ee;
1651
- return e[40] !== de || e[41] !== S ? (ee = /* @__PURE__ */ l(qt, { actions: S, closeOnSelect: !1, children: de }), e[40] = de, e[41] = S, e[42] = ee) : ee = e[42], ee;
1595
+ return e[40] !== de || e[41] !== v ? (ee = /* @__PURE__ */ l(Xt, { actions: v, closeOnSelect: !1, children: de }), e[40] = de, e[41] = v, e[42] = ee) : ee = e[42], ee;
1652
1596
  };
1653
- function hr(n) {
1597
+ function fr(n) {
1654
1598
  return n.open;
1655
1599
  }
1656
- function mr(n) {
1600
+ function hr(n) {
1657
1601
  return n.width;
1658
1602
  }
1659
- function pr(n) {
1603
+ function mr(n) {
1660
1604
  return n.expandedSections;
1661
1605
  }
1662
- function gr(n) {
1606
+ function pr(n) {
1663
1607
  return n.expandedNodes;
1664
1608
  }
1665
- function br(n) {
1609
+ function gr(n) {
1666
1610
  return n.toggleSection;
1667
1611
  }
1668
- function xr(n) {
1612
+ function br(n) {
1669
1613
  return n.toggleNode;
1670
1614
  }
1671
- const kt = {
1615
+ const At = {
1672
1616
  tabOverrides: {}
1673
- }, Sr = "pstdio/ui/tab-visibility", vr = (n) => `${Sr}/${n}`, yr = (n, e) => n ?? (e ? "hidden" : "shown"), dt = (n, e, o) => {
1617
+ }, xr = "pstdio/ui/tab-visibility", Sr = (n) => `${xr}/${n}`, vr = (n, e) => n ?? (e ? "hidden" : "shown"), at = (n, e, o) => {
1674
1618
  if (o === void 0) {
1675
1619
  if (!(e in n)) return n;
1676
1620
  const {
@@ -1683,51 +1627,51 @@ const kt = {
1683
1627
  ...n,
1684
1628
  [e]: o
1685
1629
  };
1686
- }, Cr = (n, e, o) => {
1687
- const t = yr(n[e], o);
1688
- return dt(n, e, t === "hidden" ? "shown" : "hidden");
1689
- }, wr = (n) => ({
1630
+ }, yr = (n, e, o) => {
1631
+ const t = vr(n[e], o);
1632
+ return at(n, e, t === "hidden" ? "shown" : "hidden");
1633
+ }, Cr = (n) => ({
1690
1634
  tabOverrides: n.tabOverrides
1691
- }), Ir = (n) => rt()(nt((e) => ({
1692
- ...kt,
1635
+ }), wr = (n) => ot()(tt((e) => ({
1636
+ ...At,
1693
1637
  setTab: (o, t) => e((r) => ({
1694
1638
  ...r,
1695
- tabOverrides: dt(r.tabOverrides, o, t)
1639
+ tabOverrides: at(r.tabOverrides, o, t)
1696
1640
  })),
1697
1641
  toggleTab: (o, t) => e((r) => ({
1698
1642
  ...r,
1699
- tabOverrides: Cr(r.tabOverrides, o, t)
1643
+ tabOverrides: yr(r.tabOverrides, o, t)
1700
1644
  })),
1701
1645
  clearTab: (o) => e((t) => ({
1702
1646
  ...t,
1703
- tabOverrides: dt(t.tabOverrides, o, void 0)
1647
+ tabOverrides: at(t.tabOverrides, o, void 0)
1704
1648
  })),
1705
- reset: () => e(kt)
1649
+ reset: () => e(At)
1706
1650
  }), {
1707
- name: vr(n.storageKey),
1708
- storage: ot(We),
1709
- partialize: wr
1710
- })), Et = /* @__PURE__ */ new Map(), Tr = (n) => {
1651
+ name: Sr(n.storageKey),
1652
+ storage: nt(Ne),
1653
+ partialize: Cr
1654
+ })), Et = /* @__PURE__ */ new Map(), Ir = (n) => {
1711
1655
  const e = Et.get(n);
1712
1656
  if (e) return e;
1713
- const o = Ir({
1657
+ const o = wr({
1714
1658
  storageKey: n
1715
1659
  });
1716
1660
  return Et.set(n, o), o;
1717
- }, Yi = (n, e) => {
1718
- const o = A(2);
1661
+ }, qi = (n, e) => {
1662
+ const o = T(2);
1719
1663
  let t;
1720
- return o[0] !== n ? (t = Tr(n), o[0] = n, o[1] = t) : t = o[1], tt(t, e);
1721
- }, Pr = (n, e) => typeof n == "string" ? n : e, He = (n, e) => n ?? (e ? "hidden" : "shown"), Ke = (n) => n.canHide === !0 || n.hiddenByDefault === !0, Ar = (n, e) => He(e[n.id], n.hiddenByDefault) === "shown", pt = (n, e) => {
1664
+ return o[0] !== n ? (t = Ir(n), o[0] = n, o[1] = t) : t = o[1], et(t, e);
1665
+ }, Tr = (n, e) => typeof n == "string" ? n : e, We = (n, e) => n ?? (e ? "hidden" : "shown"), qe = (n) => n.canHide === !0 || n.hiddenByDefault === !0, Pr = (n, e) => We(e[n.id], n.hiddenByDefault) === "shown", ht = (n, e) => {
1722
1666
  let o = !1;
1723
1667
  const t = [];
1724
1668
  for (const r of n) {
1725
- if (!Ar(r, e)) {
1669
+ if (!Pr(r, e)) {
1726
1670
  o = !0;
1727
1671
  continue;
1728
1672
  }
1729
1673
  if (r.children && r.children.length > 0) {
1730
- const i = pt(r.children, e);
1674
+ const i = ht(r.children, e);
1731
1675
  if (i !== r.children) {
1732
1676
  o = !0, t.push({
1733
1677
  ...r,
@@ -1739,15 +1683,15 @@ const kt = {
1739
1683
  t.push(r);
1740
1684
  }
1741
1685
  return o ? t : n;
1742
- }, Zi = (n, e) => pt(n, e), Ji = (n, e, o) => {
1686
+ }, Ki = (n, e) => ht(n, e), Yi = (n, e, o) => {
1743
1687
  let t = !1;
1744
1688
  const r = [];
1745
1689
  for (const i of n) {
1746
- if (He(e[i.id], i.hiddenByDefault) === "hidden") {
1690
+ if (We(e[i.id], i.hiddenByDefault) === "hidden") {
1747
1691
  t = !0;
1748
1692
  continue;
1749
1693
  }
1750
- const s = pt(i.nodes, o);
1694
+ const s = ht(i.nodes, o);
1751
1695
  if (s !== i.nodes) {
1752
1696
  t = !0, r.push({
1753
1697
  ...i,
@@ -1758,45 +1702,45 @@ const kt = {
1758
1702
  r.push(i);
1759
1703
  }
1760
1704
  return t ? r : n;
1761
- }, nn = (n, e) => n === "shown" ? e.visibleIcon : e.hiddenIcon, kr = (n, e, o, t) => {
1762
- const r = n.hiddenByDefault === !0, i = He(e[n.id], r);
1705
+ }, tn = (n, e) => n === "shown" ? e.visibleIcon : e.hiddenIcon, Ar = (n, e, o, t) => {
1706
+ const r = n.hiddenByDefault === !0, i = We(e[n.id], r);
1763
1707
  return {
1764
1708
  key: `section:${n.id}`,
1765
1709
  label: n.label ?? n.id,
1766
1710
  onClick: () => o.onToggleSection(n.id, r),
1767
- endContent: nn(i, t)
1711
+ endContent: tn(i, t)
1768
1712
  };
1769
- }, at = (n, e, o, t) => {
1770
- const r = n.hiddenByDefault === !0, i = He(e[n.id], r);
1713
+ }, st = (n, e, o, t) => {
1714
+ const r = n.hiddenByDefault === !0, i = We(e[n.id], r);
1771
1715
  return {
1772
1716
  key: `node:${n.id}`,
1773
- label: Pr(n.label, n.id),
1717
+ label: Tr(n.label, n.id),
1774
1718
  icon: n.icon,
1775
1719
  onClick: () => o.onToggleNode(n.id, r),
1776
- endContent: nn(i, t)
1720
+ endContent: tn(i, t)
1777
1721
  };
1778
- }, el = (n, e, o, t, r) => {
1722
+ }, Zi = (n, e, o, t, r) => {
1779
1723
  const i = [], s = (c) => {
1780
1724
  c.length !== 0 && (i.length > 0 && (c[0] = {
1781
1725
  ...c[0],
1782
1726
  separatorBefore: !0
1783
1727
  }), i.push(...c));
1784
1728
  };
1785
- s((n.headerNodes ?? []).filter(Ke).map((c) => at(c, o, t, r)));
1729
+ s((n.headerNodes ?? []).filter(qe).map((c) => st(c, o, t, r)));
1786
1730
  const a = [];
1787
1731
  for (const c of n.sections) {
1788
- Ke(c) && a.push(kr(c, e, t, r));
1732
+ qe(c) && a.push(Ar(c, e, t, r));
1789
1733
  for (const d of c.nodes)
1790
- Ke(d) && a.push(at(d, o, t, r));
1734
+ qe(d) && a.push(st(d, o, t, r));
1791
1735
  }
1792
- return s(a), s((n.footerNodes ?? []).filter(Ke).map((c) => at(c, o, t, r))), i.length === 0 || i.push({
1736
+ return s(a), s((n.footerNodes ?? []).filter(qe).map((c) => st(c, o, t, r))), i.length === 0 || i.push({
1793
1737
  key: "__reset-visibility",
1794
1738
  label: "Reset to default",
1795
1739
  icon: r.resetIcon,
1796
1740
  separatorBefore: !0,
1797
1741
  onClick: t.onResetAll
1798
1742
  }), i;
1799
- }, tl = (n, e, o) => {
1743
+ }, Ji = (n, e, o) => {
1800
1744
  let t = !1;
1801
1745
  const r = [];
1802
1746
  for (const i of n) {
@@ -1808,20 +1752,20 @@ const kt = {
1808
1752
  r.push(i);
1809
1753
  continue;
1810
1754
  }
1811
- if (He(e[o(i)], i.hiddenByDefault) === "hidden") {
1755
+ if (We(e[o(i)], i.hiddenByDefault) === "hidden") {
1812
1756
  t = !0;
1813
1757
  continue;
1814
1758
  }
1815
1759
  r.push(i);
1816
1760
  }
1817
1761
  return t ? r : n;
1818
- }, nl = (n, e, o, t, r, i) => {
1762
+ }, el = (n, e, o, t, r, i) => {
1819
1763
  const s = [];
1820
1764
  let a = 0;
1821
1765
  for (const c of n) {
1822
1766
  if (c.pinned === !0 || c.closable === !0) continue;
1823
1767
  a += 1;
1824
- const d = t(c), u = c.hiddenByDefault === !0, h = He(e[d], u);
1768
+ const d = t(c), u = c.hiddenByDefault === !0, h = We(e[d], u);
1825
1769
  s.push({
1826
1770
  key: `tab:${d}`,
1827
1771
  label: c.title ?? c.contributionId,
@@ -1838,7 +1782,7 @@ const kt = {
1838
1782
  onClick: o.onResetAll
1839
1783
  }), s;
1840
1784
  }, Er = (n) => {
1841
- const e = A(20), {
1785
+ const e = T(20), {
1842
1786
  actions: o,
1843
1787
  disabled: t,
1844
1788
  options: r,
@@ -1850,7 +1794,7 @@ const kt = {
1850
1794
  }, e[0] = o, e[1] = i, e[2] = s) : s = e[2];
1851
1795
  const a = s, c = o.length !== 1 ? "s" : "";
1852
1796
  let d;
1853
- e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ l(we, { as: kn, boxSize: "12px" }), e[3] = d) : d = e[3];
1797
+ e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ l(we, { as: An, boxSize: "12px" }), e[3] = d) : d = e[3];
1854
1798
  let u;
1855
1799
  e[4] !== o.length || e[5] !== t || e[6] !== c ? (u = /* @__PURE__ */ l(Fe.Trigger, { asChild: !0, children: /* @__PURE__ */ b(ne, { size: "2xs", variant: "outline", gap: "xs", disabled: t, children: [
1856
1800
  o.length,
@@ -1861,7 +1805,7 @@ const kt = {
1861
1805
  let h;
1862
1806
  if (e[8] !== o || e[9] !== r || e[10] !== a) {
1863
1807
  let m;
1864
- e[12] !== o || e[13] !== a ? (m = (g) => /* @__PURE__ */ l(Fe.Item, { value: g.value, asChild: !0, children: /* @__PURE__ */ l(et, { asChild: !0, variant: "full-width", id: g.value, label: g.label, isSelected: o.includes(g.value), endContent: o.includes(g.value) ? /* @__PURE__ */ l(Ze, { size: 14 }) : void 0, onActivate: () => a(g.value) }) }, g.value), e[12] = o, e[13] = a, e[14] = m) : m = e[14], h = r.map(m), e[8] = o, e[9] = r, e[10] = a, e[11] = h;
1808
+ e[12] !== o || e[13] !== a ? (m = (g) => /* @__PURE__ */ l(Fe.Item, { value: g.value, asChild: !0, children: /* @__PURE__ */ l(Je, { asChild: !0, variant: "full-width", id: g.value, label: g.label, isSelected: o.includes(g.value), endContent: o.includes(g.value) ? /* @__PURE__ */ l(Ye, { size: 14 }) : void 0, onActivate: () => a(g.value) }) }, g.value), e[12] = o, e[13] = a, e[14] = m) : m = e[14], h = r.map(m), e[8] = o, e[9] = r, e[10] = a, e[11] = h;
1865
1809
  } else
1866
1810
  h = e[11];
1867
1811
  let f;
@@ -1871,8 +1815,8 @@ const kt = {
1871
1815
  u,
1872
1816
  f
1873
1817
  ] }), e[17] = u, e[18] = f, e[19] = p) : p = e[19], p;
1874
- }, Rr = (n) => {
1875
- const e = A(54), {
1818
+ }, kr = (n) => {
1819
+ const e = T(54), {
1876
1820
  actionOptions: o,
1877
1821
  colorOptions: t,
1878
1822
  iconOptions: r,
@@ -1893,58 +1837,58 @@ const kt = {
1893
1837
  }, e[0] = i.id, e[1] = g) : g = e[1];
1894
1838
  const {
1895
1839
  attributes: x,
1896
- listeners: v,
1897
- setNodeRef: w,
1898
- transform: T,
1899
- transition: P,
1900
- isDragging: S
1840
+ listeners: S,
1841
+ setNodeRef: A,
1842
+ transform: E,
1843
+ transition: R,
1844
+ isDragging: v
1901
1845
  } = Fn(g);
1902
- let k;
1903
- e[2] !== T ? (k = Un.Transform.toString(T), e[2] = T, e[3] = k) : k = e[3];
1904
- const y = S ? 0.5 : 1;
1846
+ let _;
1847
+ e[2] !== E ? (_ = Gn.Transform.toString(E), e[2] = E, e[3] = _) : _ = e[3];
1848
+ const C = v ? 0.5 : 1;
1905
1849
  let $;
1906
- e[4] !== k || e[5] !== y || e[6] !== P ? ($ = {
1907
- transform: k,
1908
- transition: P,
1909
- opacity: y
1910
- }, e[4] = k, e[5] = y, e[6] = P, e[7] = $) : $ = e[7];
1911
- const R = $;
1850
+ e[4] !== _ || e[5] !== C || e[6] !== R ? ($ = {
1851
+ transform: _,
1852
+ transition: R,
1853
+ opacity: C
1854
+ }, e[4] = _, e[5] = C, e[6] = R, e[7] = $) : $ = e[7];
1855
+ const P = $;
1912
1856
  let O;
1913
1857
  e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (O = /* @__PURE__ */ l(En, { size: 14, color: "var(--chakra-colors-fg-muted)" }), e[8] = O) : O = e[8];
1914
1858
  let N;
1915
- e[9] !== x || e[10] !== v ? (N = /* @__PURE__ */ l(X.Cell, { width: "40px", children: /* @__PURE__ */ l(ge, { cursor: "grab", ...x, ...v, children: O }) }), e[9] = x, e[10] = v, e[11] = N) : N = e[11];
1859
+ e[9] !== x || e[10] !== S ? (N = /* @__PURE__ */ l(X.Cell, { width: "40px", children: /* @__PURE__ */ l(ge, { cursor: "grab", ...x, ...S, children: O }) }), e[9] = x, e[10] = S, e[11] = N) : N = e[11];
1916
1860
  let W;
1917
1861
  e[12] !== p || e[13] !== i.name ? (W = (Z) => {
1918
- const E = Z.value.trim();
1919
- E && E !== i.name && p(E);
1862
+ const I = Z.value.trim();
1863
+ I && I !== i.name && p(I);
1920
1864
  }, e[12] = p, e[13] = i.name, e[14] = W) : W = e[14];
1921
- let L, D;
1922
- e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (L = /* @__PURE__ */ l(st.Preview, {}), D = /* @__PURE__ */ l(st.Input, {}), e[15] = L, e[16] = D) : (L = e[15], D = e[16]);
1923
- let I;
1924
- e[17] !== W || e[18] !== i.name ? (I = /* @__PURE__ */ l(X.Cell, { children: /* @__PURE__ */ b(st.Root, { defaultValue: i.name, onValueCommit: W, children: [
1865
+ let L, k;
1866
+ e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (L = /* @__PURE__ */ l(lt.Preview, {}), k = /* @__PURE__ */ l(lt.Input, {}), e[15] = L, e[16] = k) : (L = e[15], k = e[16]);
1867
+ let w;
1868
+ e[17] !== W || e[18] !== i.name ? (w = /* @__PURE__ */ l(X.Cell, { children: /* @__PURE__ */ b(lt.Root, { defaultValue: i.name, onValueCommit: W, children: [
1925
1869
  L,
1926
- D
1927
- ] }) }), e[17] = W, e[18] = i.name, e[19] = I) : I = e[19];
1928
- let C;
1929
- e[20] !== t || e[21] !== r || e[22] !== s || e[23] !== u || e[24] !== f || e[25] !== c || e[26] !== i.color || e[27] !== i.icon ? (C = /* @__PURE__ */ l(X.Cell, { width: "54px", children: /* @__PURE__ */ l(Kt, { color: i.color, colorOptions: t, icon: i.icon, iconOptions: r, showIcons: c, onColorChange: u, onIconChange: f, disabled: s }) }), e[20] = t, e[21] = r, e[22] = s, e[23] = u, e[24] = f, e[25] = c, e[26] = i.color, e[27] = i.icon, e[28] = C) : C = e[28];
1870
+ k
1871
+ ] }) }), e[17] = W, e[18] = i.name, e[19] = w) : w = e[19];
1872
+ let y;
1873
+ e[20] !== t || e[21] !== r || e[22] !== s || e[23] !== u || e[24] !== f || e[25] !== c || e[26] !== i.color || e[27] !== i.icon ? (y = /* @__PURE__ */ l(X.Cell, { width: "54px", children: /* @__PURE__ */ l(qt, { color: i.color, colorOptions: t, icon: i.icon, iconOptions: r, showIcons: c, onColorChange: u, onIconChange: f, disabled: s }) }), e[20] = t, e[21] = r, e[22] = s, e[23] = u, e[24] = f, e[25] = c, e[26] = i.color, e[27] = i.icon, e[28] = y) : y = e[28];
1930
1874
  let z;
1931
- e[29] !== s || e[30] !== m || e[31] !== a || e[32] !== i.isDefault || e[33] !== i.name ? (z = a ? /* @__PURE__ */ l(X.Cell, { width: "80px", children: /* @__PURE__ */ l(ne, { size: "2xs", variant: i.isDefault ? "primary" : "ghost", onClick: m, disabled: s || i.isDefault, "aria-label": `Set ${i.name} as default`, children: /* @__PURE__ */ l(Ze, { size: 14 }) }) }) : null, e[29] = s, e[30] = m, e[31] = a, e[32] = i.isDefault, e[33] = i.name, e[34] = z) : z = e[34];
1875
+ e[29] !== s || e[30] !== m || e[31] !== a || e[32] !== i.isDefault || e[33] !== i.name ? (z = a ? /* @__PURE__ */ l(X.Cell, { width: "80px", children: /* @__PURE__ */ l(ne, { size: "2xs", variant: i.isDefault ? "primary" : "ghost", onClick: m, disabled: s || i.isDefault, "aria-label": `Set ${i.name} as default`, children: /* @__PURE__ */ l(Ye, { size: 14 }) }) }) : null, e[29] = s, e[30] = m, e[31] = a, e[32] = i.isDefault, e[33] = i.name, e[34] = z) : z = e[34];
1932
1876
  let B;
1933
1877
  e[35] !== o || e[36] !== s || e[37] !== d || e[38] !== i.actions ? (B = o ? /* @__PURE__ */ l(X.Cell, { width: "140px", children: /* @__PURE__ */ l(Er, { actions: i.actions ?? [], disabled: s, options: o, onChange: d }) }) : null, e[35] = o, e[36] = s, e[37] = d, e[38] = i.actions, e[39] = B) : B = e[39];
1934
1878
  const j = s || i.isDefault, U = `Delete ${i.name}`;
1935
1879
  let G;
1936
- e[40] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (G = /* @__PURE__ */ l(Rn, { size: 14 }), e[40] = G) : G = e[40];
1937
- let _;
1938
- e[41] !== h || e[42] !== j || e[43] !== U ? (_ = /* @__PURE__ */ l(X.Cell, { width: "40px", children: /* @__PURE__ */ l(ne, { size: "2xs", variant: "destructive", onClick: h, disabled: j, "aria-label": U, children: G }) }), e[41] = h, e[42] = j, e[43] = U, e[44] = _) : _ = e[44];
1880
+ e[40] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (G = /* @__PURE__ */ l(kn, { size: 14 }), e[40] = G) : G = e[40];
1881
+ let D;
1882
+ e[41] !== h || e[42] !== j || e[43] !== U ? (D = /* @__PURE__ */ l(X.Cell, { width: "40px", children: /* @__PURE__ */ l(ne, { size: "2xs", variant: "destructive", onClick: h, disabled: j, "aria-label": U, children: G }) }), e[41] = h, e[42] = j, e[43] = U, e[44] = D) : D = e[44];
1939
1883
  let Y;
1940
- return e[45] !== w || e[46] !== R || e[47] !== C || e[48] !== z || e[49] !== B || e[50] !== _ || e[51] !== N || e[52] !== I ? (Y = /* @__PURE__ */ b(X.Row, { ref: w, style: R, children: [
1884
+ return e[45] !== A || e[46] !== P || e[47] !== y || e[48] !== z || e[49] !== B || e[50] !== D || e[51] !== N || e[52] !== w ? (Y = /* @__PURE__ */ b(X.Row, { ref: A, style: P, children: [
1941
1885
  N,
1942
- I,
1943
- C,
1886
+ w,
1887
+ y,
1944
1888
  z,
1945
1889
  B,
1946
- _
1947
- ] }), e[45] = w, e[46] = R, e[47] = C, e[48] = z, e[49] = B, e[50] = _, e[51] = N, e[52] = I, e[53] = Y) : Y = e[53], Y;
1890
+ D
1891
+ ] }), e[45] = A, e[46] = P, e[47] = y, e[48] = z, e[49] = B, e[50] = D, e[51] = N, e[52] = w, e[53] = Y) : Y = e[53], Y;
1948
1892
  }, Dr = (n, e) => ({
1949
1893
  id: `new-${crypto.randomUUID()}`,
1950
1894
  name: n.name.trim(),
@@ -1952,7 +1896,7 @@ const kt = {
1952
1896
  icon: n.icon,
1953
1897
  sortOrder: e,
1954
1898
  isNew: !0
1955
- }), _r = (n) => {
1899
+ }), Rr = (n) => {
1956
1900
  const {
1957
1901
  title: e,
1958
1902
  description: o,
@@ -1970,58 +1914,58 @@ const kt = {
1970
1914
  actionsColumnLabel: m = "Actions",
1971
1915
  cancelLabel: g = "Cancel",
1972
1916
  colorOptions: x,
1973
- defaultAddColor: v = "blue",
1974
- defaultAddIcon: w = null,
1975
- defaultColumnLabel: T = "Default",
1976
- deleteButtonText: P = "Delete tag",
1977
- deleteHeadline: S = "Delete tag?",
1978
- deleteNotificationText: k = (E) => `This will delete "${E.name}".`,
1979
- iconOptions: y,
1917
+ defaultAddColor: S = "blue",
1918
+ defaultAddIcon: A = null,
1919
+ defaultColumnLabel: E = "Default",
1920
+ deleteButtonText: R = "Delete tag",
1921
+ deleteHeadline: v = "Delete tag?",
1922
+ deleteNotificationText: _ = (I) => `This will delete "${I.name}".`,
1923
+ iconOptions: C,
1980
1924
  saveLabel: $ = "Save",
1981
- showDefault: R,
1925
+ showDefault: P,
1982
1926
  showIcons: O = !0,
1983
1927
  valueColumnLabel: N = "Name"
1984
- } = n, [W, L] = ce(!1), [D, I] = ce({
1928
+ } = n, [W, L] = ce(!1), [k, w] = ce({
1985
1929
  name: "",
1986
- color: v,
1987
- icon: w
1988
- }), [C, z] = ce(null), B = zn(Bn(Nn, {
1930
+ color: S,
1931
+ icon: A
1932
+ }), [y, z] = ce(null), B = Ln(zn(Bn, {
1989
1933
  activationConstraint: {
1990
1934
  distance: 5
1991
1935
  }
1992
1936
  })), j = () => {
1993
- L(!1), I({
1937
+ L(!1), w({
1994
1938
  name: "",
1995
- color: v,
1996
- icon: w
1939
+ color: S,
1940
+ icon: A
1997
1941
  });
1998
- }, U = (E, M) => {
1999
- const H = [...t];
2000
- H[E] = {
2001
- ...H[E],
1942
+ }, U = (I, M) => {
1943
+ const F = [...t];
1944
+ F[I] = {
1945
+ ...F[I],
2002
1946
  ...M
2003
- }, r(H);
1947
+ }, r(F);
2004
1948
  }, G = () => {
2005
- if (!D.name.trim()) return;
2006
- const E = t.length > 0 ? Math.max(...t.map((M) => M.sortOrder)) : 0;
2007
- r([...t, Dr(D, E + 1)]), j();
2008
- }, _ = () => {
2009
- C && (a ? a(C) : r(t.filter((E) => E.id !== C.id)), z(null));
2010
- }, Y = (E) => {
1949
+ if (!k.name.trim()) return;
1950
+ const I = t.length > 0 ? Math.max(...t.map((M) => M.sortOrder)) : 0;
1951
+ r([...t, Dr(k, I + 1)]), j();
1952
+ }, D = () => {
1953
+ y && (a ? a(y) : r(t.filter((I) => I.id !== y.id)), z(null));
1954
+ }, Y = (I) => {
2011
1955
  const {
2012
1956
  active: M,
2013
- over: H
2014
- } = E;
2015
- if (!H || M.id === H.id) return;
2016
- const ue = t.findIndex((J) => J.id === M.id), te = t.findIndex((J) => J.id === H.id);
2017
- ue < 0 || te < 0 || r(Gn(t, ue, te).map((J, re) => ({
1957
+ over: F
1958
+ } = I;
1959
+ if (!F || M.id === F.id) return;
1960
+ const ue = t.findIndex((J) => J.id === M.id), te = t.findIndex((J) => J.id === F.id);
1961
+ ue < 0 || te < 0 || r(Vn(t, ue, te).map((J, re) => ({
2018
1962
  ...J,
2019
1963
  sortOrder: re
2020
1964
  })));
2021
- }, Z = (E) => {
2022
- E.key === "Enter" && G(), E.key === "Escape" && j();
1965
+ }, Z = (I) => {
1966
+ I.key === "Enter" && G(), I.key === "Escape" && j();
2023
1967
  };
2024
- return /* @__PURE__ */ b(je, { children: [
1968
+ return /* @__PURE__ */ b(Ue, { children: [
2025
1969
  /* @__PURE__ */ b(K, { gap: "md", height: "100%", children: [
2026
1970
  /* @__PURE__ */ b(ge, { justifyContent: "space-between", alignItems: "center", gap: "sm", flexWrap: "wrap", children: [
2027
1971
  /* @__PURE__ */ b(K, { gap: "2xs", children: [
@@ -2033,43 +1977,43 @@ const kt = {
2033
1977
  h
2034
1978
  ] })
2035
1979
  ] }),
2036
- /* @__PURE__ */ l(Wn, { sensors: B, collisionDetection: Hn, onDragEnd: Y, children: /* @__PURE__ */ l(Mn, { items: t.map((E) => E.id), strategy: Vn, children: /* @__PURE__ */ b(X.Root, { size: "sm", variant: "outline", children: [
1980
+ /* @__PURE__ */ l(Nn, { sensors: B, collisionDetection: Wn, onDragEnd: Y, children: /* @__PURE__ */ l(Hn, { items: t.map((I) => I.id), strategy: Mn, children: /* @__PURE__ */ b(X.Root, { size: "sm", variant: "outline", children: [
2037
1981
  /* @__PURE__ */ l(X.Header, { children: /* @__PURE__ */ b(X.Row, { children: [
2038
1982
  /* @__PURE__ */ l(X.ColumnHeader, { width: "40px" }),
2039
1983
  /* @__PURE__ */ l(X.ColumnHeader, { children: N }),
2040
1984
  /* @__PURE__ */ l(X.ColumnHeader, { width: "54px" }),
2041
- R ? /* @__PURE__ */ l(X.ColumnHeader, { width: "80px", children: T }) : null,
1985
+ P ? /* @__PURE__ */ l(X.ColumnHeader, { width: "80px", children: E }) : null,
2042
1986
  p ? /* @__PURE__ */ l(X.ColumnHeader, { width: "140px", children: m }) : null,
2043
1987
  /* @__PURE__ */ l(X.ColumnHeader, { width: "40px" })
2044
1988
  ] }) }),
2045
1989
  /* @__PURE__ */ b(X.Body, { children: [
2046
- t.map((E, M) => /* @__PURE__ */ l(Rr, { value: E, isSaving: u, showDefault: R, showIcons: O, actionOptions: p, colorOptions: x, iconOptions: y, onNameChange: (H) => U(M, {
2047
- name: H
2048
- }), onColorChange: (H) => U(M, {
2049
- color: H
2050
- }), onIconChange: (H) => U(M, {
2051
- icon: H
2052
- }), onActionsChange: (H) => U(M, {
2053
- actions: H
2054
- }), onSetDefault: () => c?.(E), onDelete: () => z(E) }, E.id)),
1990
+ t.map((I, M) => /* @__PURE__ */ l(kr, { value: I, isSaving: u, showDefault: P, showIcons: O, actionOptions: p, colorOptions: x, iconOptions: C, onNameChange: (F) => U(M, {
1991
+ name: F
1992
+ }), onColorChange: (F) => U(M, {
1993
+ color: F
1994
+ }), onIconChange: (F) => U(M, {
1995
+ icon: F
1996
+ }), onActionsChange: (F) => U(M, {
1997
+ actions: F
1998
+ }), onSetDefault: () => c?.(I), onDelete: () => z(I) }, I.id)),
2055
1999
  W ? /* @__PURE__ */ b(X.Row, { children: [
2056
2000
  /* @__PURE__ */ l(X.Cell, {}),
2057
- /* @__PURE__ */ l(X.Cell, { children: /* @__PURE__ */ l(ht, { size: "xs", placeholder: f, value: D.name, onChange: (E) => I({
2058
- ...D,
2059
- name: E.target.value
2001
+ /* @__PURE__ */ l(X.Cell, { children: /* @__PURE__ */ l(ut, { size: "xs", placeholder: f, value: k.name, onChange: (I) => w({
2002
+ ...k,
2003
+ name: I.target.value
2060
2004
  }), onKeyDown: Z, autoFocus: !0 }) }),
2061
- /* @__PURE__ */ l(X.Cell, { children: /* @__PURE__ */ l(Kt, { color: D.color, icon: D.icon, showIcons: O, colorOptions: x, iconOptions: y, onColorChange: (E) => I({
2062
- ...D,
2063
- color: E
2064
- }), onIconChange: (E) => I({
2065
- ...D,
2066
- icon: E
2005
+ /* @__PURE__ */ l(X.Cell, { children: /* @__PURE__ */ l(qt, { color: k.color, icon: k.icon, showIcons: O, colorOptions: x, iconOptions: C, onColorChange: (I) => w({
2006
+ ...k,
2007
+ color: I
2008
+ }), onIconChange: (I) => w({
2009
+ ...k,
2010
+ icon: I
2067
2011
  }) }) }),
2068
- R ? /* @__PURE__ */ l(X.Cell, {}) : null,
2012
+ P ? /* @__PURE__ */ l(X.Cell, {}) : null,
2069
2013
  p ? /* @__PURE__ */ l(X.Cell, {}) : null,
2070
2014
  /* @__PURE__ */ l(X.Cell, { children: /* @__PURE__ */ b(oe, { gap: "2xs", children: [
2071
- /* @__PURE__ */ l(ne, { size: "2xs", variant: "primary", onClick: G, disabled: !D.name.trim(), children: "Add" }),
2072
- /* @__PURE__ */ l(ne, { size: "2xs", variant: "ghost", onClick: j, "aria-label": "Cancel add value", children: /* @__PURE__ */ l(jt, { size: 14 }) })
2015
+ /* @__PURE__ */ l(ne, { size: "2xs", variant: "primary", onClick: G, disabled: !k.name.trim(), children: "Add" }),
2016
+ /* @__PURE__ */ l(ne, { size: "2xs", variant: "ghost", onClick: j, "aria-label": "Cancel add value", children: /* @__PURE__ */ l(Ut, { size: 14 }) })
2073
2017
  ] }) })
2074
2018
  ] }) : null
2075
2019
  ] })
@@ -2079,13 +2023,13 @@ const kt = {
2079
2023
  /* @__PURE__ */ l(ne, { size: "sm", variant: "primary", onClick: i, loading: u, disabled: !d, children: $ })
2080
2024
  ] }) })
2081
2025
  ] }),
2082
- /* @__PURE__ */ l(Wo, { open: !!C, onClose: () => z(null), onDelete: _, headline: S, notificationText: C ? k(C) : "", buttonText: P })
2026
+ /* @__PURE__ */ l(No, { open: !!y, onClose: () => z(null), onDelete: D, headline: v, notificationText: y ? _(y) : "", buttonText: R })
2083
2027
  ] });
2084
- }, Or = (n, e) => n.sortOrder - e.sortOrder || n.name.localeCompare(e.name), Rt = (n, e) => n.map(e).sort(Or), $r = (n, e) => n.find((o) => o.id === e.id), Lr = (n, e, o, t) => o.size > 0 ? !0 : e.some((r) => {
2028
+ }, Or = (n, e) => n.sortOrder - e.sortOrder || n.name.localeCompare(e.name), kt = (n, e) => n.map(e).sort(Or), _r = (n, e) => n.find((o) => o.id === e.id), $r = (n, e, o, t) => o.size > 0 ? !0 : e.some((r) => {
2085
2029
  if (r.isNew) return !0;
2086
- const i = $r(n, r);
2030
+ const i = _r(n, r);
2087
2031
  return i ? t(i, r) || r.sortOrder !== i.sortOrder : !0;
2088
- }), Dt = (n) => n instanceof Error ? n.message : n ? String(n) : null, ol = (n) => {
2032
+ }), Dt = (n) => n instanceof Error ? n.message : n ? String(n) : null, tl = (n) => {
2089
2033
  const {
2090
2034
  errorTitle: e,
2091
2035
  loadingText: o = "Loading...",
@@ -2095,50 +2039,50 @@ const kt = {
2095
2039
  toEditorValue: s,
2096
2040
  valueNeedsUpdate: a,
2097
2041
  ...c
2098
- } = n, [d, u] = ce([]), [h, f] = ce(/* @__PURE__ */ new Set()), [p, m] = ce(!1), [g, x] = ce(null), v = t ?? [];
2042
+ } = n, [d, u] = ce([]), [h, f] = ce(/* @__PURE__ */ new Set()), [p, m] = ce(!1), [g, x] = ce(null), S = t ?? [];
2099
2043
  he(() => {
2100
- t && u(Rt(t, s));
2044
+ t && u(kt(t, s));
2101
2045
  }, [t, s]);
2102
- const w = async () => {
2046
+ const A = async () => {
2103
2047
  m(!0), x(null);
2104
2048
  try {
2105
2049
  await i({
2106
2050
  deletedIds: h,
2107
2051
  drafts: d,
2108
- values: v
2052
+ values: S
2109
2053
  }), f(/* @__PURE__ */ new Set());
2110
- } catch (y) {
2111
- x(y);
2054
+ } catch (C) {
2055
+ x(C);
2112
2056
  } finally {
2113
2057
  m(!1);
2114
2058
  }
2115
- }, T = Lr(v, d, h, a), P = Dt(r) ?? Dt(g);
2059
+ }, E = $r(S, d, h, a), R = Dt(r) ?? Dt(g);
2116
2060
  return /* @__PURE__ */ b(K, { boxSizing: "border-box", minH: "100%", p: "lg", gap: "lg", bg: "bg", color: "fg", children: [
2117
- P ? /* @__PURE__ */ l(mt, { status: "error", colorPalette: "red", title: e, size: "sm", children: P }) : null,
2061
+ R ? /* @__PURE__ */ l(ft, { status: "error", colorPalette: "red", title: e, size: "sm", children: R }) : null,
2118
2062
  t === void 0 ? /* @__PURE__ */ b(oe, { gap: "sm", color: "fg.muted", children: [
2119
- /* @__PURE__ */ l(Gt, { size: "sm" }),
2063
+ /* @__PURE__ */ l(Vt, { size: "sm" }),
2120
2064
  /* @__PURE__ */ l(V, { textStyle: "paragraph/S/regular", children: o })
2121
- ] }) : /* @__PURE__ */ l(_r, { ...c, values: d, onValuesChange: u, onDeleteValue: (y) => {
2122
- y.isNew || f(/* @__PURE__ */ new Set([...h, y.id])), u(d.filter(($) => $.id !== y.id));
2123
- }, hasChanges: T, isSaving: p, onSave: () => {
2124
- w();
2065
+ ] }) : /* @__PURE__ */ l(Rr, { ...c, values: d, onValuesChange: u, onDeleteValue: (C) => {
2066
+ C.isNew || f(/* @__PURE__ */ new Set([...h, C.id])), u(d.filter(($) => $.id !== C.id));
2067
+ }, hasChanges: E, isSaving: p, onSave: () => {
2068
+ A();
2125
2069
  }, onCancel: () => {
2126
- u(Rt(v, s)), f(/* @__PURE__ */ new Set()), x(null);
2070
+ u(kt(S, s)), f(/* @__PURE__ */ new Set()), x(null);
2127
2071
  } })
2128
2072
  ] });
2129
- }, _t = {
2073
+ }, Rt = {
2130
2074
  sectionOrder: [],
2131
2075
  nodeOrderBySection: {}
2132
- }, zr = "pstdio/ui/tree-list-order", Br = (n) => `${zr}/${n}`, Ot = (n) => {
2076
+ }, Lr = "pstdio/ui/tree-list-order", zr = (n) => `${Lr}/${n}`, Ot = (n) => {
2133
2077
  const e = /* @__PURE__ */ new Set(), o = [];
2134
2078
  for (const t of n)
2135
2079
  e.has(t) || (e.add(t), o.push(t));
2136
2080
  return o;
2137
- }, Nr = (n) => ({
2081
+ }, Br = (n) => ({
2138
2082
  sectionOrder: n.sectionOrder,
2139
2083
  nodeOrderBySection: n.nodeOrderBySection
2140
- }), Wr = (n) => rt()(nt((e) => ({
2141
- ..._t,
2084
+ }), Nr = (n) => ot()(tt((e) => ({
2085
+ ...Rt,
2142
2086
  setSectionOrder: (o) => e((t) => ({
2143
2087
  ...t,
2144
2088
  sectionOrder: Ot(o)
@@ -2165,23 +2109,23 @@ const kt = {
2165
2109
  nodeOrderBySection: i
2166
2110
  };
2167
2111
  }),
2168
- reset: () => e(_t)
2112
+ reset: () => e(Rt)
2169
2113
  }), {
2170
- name: Br(n.storageKey),
2171
- storage: ot(We),
2172
- partialize: Nr
2173
- })), $t = /* @__PURE__ */ new Map(), Hr = (n) => {
2174
- const e = $t.get(n);
2114
+ name: zr(n.storageKey),
2115
+ storage: nt(Ne),
2116
+ partialize: Br
2117
+ })), _t = /* @__PURE__ */ new Map(), Wr = (n) => {
2118
+ const e = _t.get(n);
2175
2119
  if (e) return e;
2176
- const o = Wr({
2120
+ const o = Nr({
2177
2121
  storageKey: n
2178
2122
  });
2179
- return $t.set(n, o), o;
2180
- }, rl = (n, e) => {
2181
- const o = A(2);
2123
+ return _t.set(n, o), o;
2124
+ }, nl = (n, e) => {
2125
+ const o = T(2);
2182
2126
  let t;
2183
- return o[0] !== n ? (t = Hr(n), o[0] = n, o[1] = t) : t = o[1], tt(t, e);
2184
- }, Lt = (n, e) => {
2127
+ return o[0] !== n ? (t = Wr(n), o[0] = n, o[1] = t) : t = o[1], et(t, e);
2128
+ }, $t = (n, e) => {
2185
2129
  if (e.length === 0) return n;
2186
2130
  const o = new Map(n.map((s, a) => [s.id, a])), t = /* @__PURE__ */ new Set(), r = [];
2187
2131
  for (const s of e) {
@@ -2199,9 +2143,9 @@ const kt = {
2199
2143
  }
2200
2144
  }
2201
2145
  return i ? r : n;
2202
- }, il = (n, e, o) => {
2146
+ }, ol = (n, e, o) => {
2203
2147
  let t = !1;
2204
- const r = Lt(n, e);
2148
+ const r = $t(n, e);
2205
2149
  r !== n && (t = !0);
2206
2150
  const i = [];
2207
2151
  for (const s of r) {
@@ -2210,17 +2154,17 @@ const kt = {
2210
2154
  i.push(s);
2211
2155
  continue;
2212
2156
  }
2213
- const c = Lt(s.nodes, a);
2157
+ const c = $t(s.nodes, a);
2214
2158
  c !== s.nodes ? (t = !0, i.push({
2215
2159
  ...s,
2216
2160
  nodes: c
2217
2161
  })) : i.push(s);
2218
2162
  }
2219
2163
  return t ? i : n;
2220
- }, zt = {
2164
+ }, Lt = {
2221
2165
  sectionOverrides: {},
2222
2166
  nodeOverrides: {}
2223
- }, Fr = "pstdio/ui/tree-list-visibility", Mr = (n) => `${Fr}/${n}`, Vr = (n, e) => n ?? (e ? "hidden" : "shown"), Gr = (n) => n === "hidden" ? "shown" : "hidden", Me = (n, e, o) => {
2167
+ }, Fr = "pstdio/ui/tree-list-visibility", Hr = (n) => `${Fr}/${n}`, Mr = (n, e) => n ?? (e ? "hidden" : "shown"), Vr = (n) => n === "hidden" ? "shown" : "hidden", He = (n, e, o) => {
2224
2168
  if (o === void 0) {
2225
2169
  if (!(e in n)) return n;
2226
2170
  const {
@@ -2233,121 +2177,121 @@ const kt = {
2233
2177
  ...n,
2234
2178
  [e]: o
2235
2179
  };
2236
- }, Bt = (n, e, o) => {
2237
- const t = Gr(Vr(n[e], o));
2238
- return Me(n, e, t);
2239
- }, Ur = (n) => ({
2180
+ }, zt = (n, e, o) => {
2181
+ const t = Vr(Mr(n[e], o));
2182
+ return He(n, e, t);
2183
+ }, Gr = (n) => ({
2240
2184
  sectionOverrides: n.sectionOverrides,
2241
2185
  nodeOverrides: n.nodeOverrides
2242
- }), jr = (n) => rt()(nt((e) => ({
2243
- ...zt,
2186
+ }), Ur = (n) => ot()(tt((e) => ({
2187
+ ...Lt,
2244
2188
  setSection: (o, t) => e((r) => ({
2245
2189
  ...r,
2246
- sectionOverrides: Me(r.sectionOverrides, o, t)
2190
+ sectionOverrides: He(r.sectionOverrides, o, t)
2247
2191
  })),
2248
2192
  setNode: (o, t) => e((r) => ({
2249
2193
  ...r,
2250
- nodeOverrides: Me(r.nodeOverrides, o, t)
2194
+ nodeOverrides: He(r.nodeOverrides, o, t)
2251
2195
  })),
2252
2196
  toggleSection: (o, t) => e((r) => ({
2253
2197
  ...r,
2254
- sectionOverrides: Bt(r.sectionOverrides, o, t)
2198
+ sectionOverrides: zt(r.sectionOverrides, o, t)
2255
2199
  })),
2256
2200
  toggleNode: (o, t) => e((r) => ({
2257
2201
  ...r,
2258
- nodeOverrides: Bt(r.nodeOverrides, o, t)
2202
+ nodeOverrides: zt(r.nodeOverrides, o, t)
2259
2203
  })),
2260
2204
  clearSection: (o) => e((t) => ({
2261
2205
  ...t,
2262
- sectionOverrides: Me(t.sectionOverrides, o, void 0)
2206
+ sectionOverrides: He(t.sectionOverrides, o, void 0)
2263
2207
  })),
2264
2208
  clearNode: (o) => e((t) => ({
2265
2209
  ...t,
2266
- nodeOverrides: Me(t.nodeOverrides, o, void 0)
2210
+ nodeOverrides: He(t.nodeOverrides, o, void 0)
2267
2211
  })),
2268
- reset: () => e(zt)
2212
+ reset: () => e(Lt)
2269
2213
  }), {
2270
- name: Mr(n.storageKey),
2271
- storage: ot(We),
2272
- partialize: Ur
2273
- })), Nt = /* @__PURE__ */ new Map(), Qr = (n) => {
2274
- const e = Nt.get(n);
2214
+ name: Hr(n.storageKey),
2215
+ storage: nt(Ne),
2216
+ partialize: Gr
2217
+ })), Bt = /* @__PURE__ */ new Map(), jr = (n) => {
2218
+ const e = Bt.get(n);
2275
2219
  if (e) return e;
2276
- const o = jr({
2220
+ const o = Ur({
2277
2221
  storageKey: n
2278
2222
  });
2279
- return Nt.set(n, o), o;
2280
- }, ll = (n, e) => {
2281
- const o = A(2);
2223
+ return Bt.set(n, o), o;
2224
+ }, rl = (n, e) => {
2225
+ const o = T(2);
2282
2226
  let t;
2283
- return o[0] !== n ? (t = Qr(n), o[0] = n, o[1] = t) : t = o[1], tt(t, e);
2284
- }, Xr = [], on = (n, e) => typeof n == "string" && e.some((o) => o.id === n), qr = (n) => {
2227
+ return o[0] !== n ? (t = jr(n), o[0] = n, o[1] = t) : t = o[1], et(t, e);
2228
+ }, Qr = [], nn = (n, e) => typeof n == "string" && e.some((o) => o.id === n), Xr = (n) => {
2285
2229
  const e = n.toLowerCase().split("."), o = [];
2286
2230
  for (let t = 1; t < e.length; t += 1) o.push(e.slice(t).join("."));
2287
2231
  return o;
2288
- }, Kr = (n, e, o) => {
2232
+ }, qr = (n, e, o) => {
2289
2233
  if (o) return n.defaults.folder;
2290
2234
  const t = n.fileNames[e.toLowerCase()];
2291
2235
  if (t) return t;
2292
- for (const r of qr(e)) {
2236
+ for (const r of Xr(e)) {
2293
2237
  const i = n.fileExtensions[r];
2294
2238
  if (i) return i;
2295
2239
  }
2296
2240
  return n.defaults.file;
2297
- }, Yr = (n, e) => {
2241
+ }, Kr = (n, e) => {
2298
2242
  if (e.fontId) {
2299
2243
  const o = n.fonts.find((t) => t.fontFamily === `${n.id}-${e.fontId}`);
2300
2244
  if (o) return o.fontFamily;
2301
2245
  }
2302
2246
  return n.fonts[0]?.fontFamily;
2303
- }, Zr = (n) => {
2247
+ }, Yr = (n) => {
2304
2248
  const e = /^\\([0-9a-fA-F]+)$/.exec(n);
2305
2249
  return e ? String.fromCodePoint(Number.parseInt(e[1], 16)) : n;
2306
- }, Jr = (n, e, o = !1) => {
2250
+ }, Zr = (n, e, o = !1) => {
2307
2251
  if (!n) return;
2308
- const t = Kr(n, e, o);
2252
+ const t = qr(n, e, o);
2309
2253
  if (!t) return;
2310
2254
  const r = n.definitions[t];
2311
2255
  if (!r?.fontCharacter) return;
2312
- const i = Yr(n, r);
2256
+ const i = Kr(n, r);
2313
2257
  if (i)
2314
2258
  return {
2315
2259
  fontFamily: i,
2316
- fontCharacter: Zr(r.fontCharacter),
2260
+ fontCharacter: Yr(r.fontCharacter),
2317
2261
  fontColor: r.fontColor
2318
2262
  };
2319
- }, Wt = "data-pstdio-file-icon-fonts", ei = (n) => {
2263
+ }, Nt = "data-pstdio-file-icon-fonts", Jr = (n) => {
2320
2264
  const e = n.src.map((o) => `url("${o.url}")${o.format ? ` format("${o.format}")` : ""}`).join(", ");
2321
2265
  return ["@font-face {", ` font-family: "${n.fontFamily}";`, ` src: ${e};`, ` font-weight: ${n.weight ?? "normal"};`, ` font-style: ${n.style ?? "normal"};`, "}"].join(`
2322
2266
  `);
2323
- }, ti = (n, e) => {
2267
+ }, ei = (n, e) => {
2324
2268
  if (typeof document > "u") return;
2325
- let o = document.querySelector(`style[${Wt}]`);
2326
- o || (o = document.createElement("style"), o.setAttribute(Wt, ""), document.head.appendChild(o));
2269
+ let o = document.querySelector(`style[${Nt}]`);
2270
+ o || (o = document.createElement("style"), o.setAttribute(Nt, ""), document.head.appendChild(o));
2327
2271
  const t = e.find((r) => r.id === n);
2328
- o.textContent = (t?.fonts ?? []).map(ei).join(`
2272
+ o.textContent = (t?.fonts ?? []).map(Jr).join(`
2329
2273
 
2330
2274
  `);
2331
- }, rn = "file-icon-theme-preference", ut = (n) => n.find((e) => e.id.endsWith(".seti"))?.id ?? n[0]?.id ?? null, ln = mn(null), ni = (n) => {
2332
- if (typeof window > "u") return ut(n);
2333
- const e = We().getItem(rn);
2334
- return on(e, n) ? e : ut(n);
2335
- }, sl = (n) => {
2336
- const e = A(18), {
2275
+ }, on = "file-icon-theme-preference", ct = (n) => n.find((e) => e.id.endsWith(".seti"))?.id ?? n[0]?.id ?? null, rn = hn(null), ti = (n) => {
2276
+ if (typeof window > "u") return ct(n);
2277
+ const e = Ne().getItem(on);
2278
+ return nn(e, n) ? e : ct(n);
2279
+ }, il = (n) => {
2280
+ const e = T(18), {
2337
2281
  children: o,
2338
2282
  themePreferences: t
2339
- } = n, r = t === void 0 ? Xr : t;
2283
+ } = n, r = t === void 0 ? Qr : t;
2340
2284
  let i;
2341
- e[0] !== r ? (i = () => ni(r), e[0] = r, e[1] = i) : i = e[1];
2285
+ e[0] !== r ? (i = () => ti(r), e[0] = r, e[1] = i) : i = e[1];
2342
2286
  const [s, a] = ce(i);
2343
2287
  let c, d;
2344
2288
  e[2] !== s || e[3] !== r ? (c = () => {
2345
- const m = on(s, r) ? s : ut(r);
2289
+ const m = nn(s, r) ? s : ct(r);
2346
2290
  if (m !== s) {
2347
2291
  a(m);
2348
2292
  return;
2349
2293
  }
2350
- ti(m, r), typeof window < "u" && m && We().setItem(rn, m);
2294
+ ei(m, r), typeof window < "u" && m && Ne().setItem(on, m);
2351
2295
  }, d = [s, r], e[2] = s, e[3] = r, e[4] = c, e[5] = d) : (c = e[4], d = e[5]), he(c, d);
2352
2296
  let u;
2353
2297
  if (e[6] !== s || e[7] !== r) {
@@ -2364,18 +2308,18 @@ const kt = {
2364
2308
  setFileIconThemePreference: a
2365
2309
  }, e[11] = h, e[12] = s, e[13] = r, e[14] = f) : f = e[14];
2366
2310
  let p;
2367
- return e[15] !== o || e[16] !== f ? (p = /* @__PURE__ */ l(ln, { value: f, children: o }), e[15] = o, e[16] = f, e[17] = p) : p = e[17], p;
2368
- }, al = () => {
2369
- const n = pn(ln);
2311
+ return e[15] !== o || e[16] !== f ? (p = /* @__PURE__ */ l(rn, { value: f, children: o }), e[15] = o, e[16] = f, e[17] = p) : p = e[17], p;
2312
+ }, ll = () => {
2313
+ const n = mn(rn);
2370
2314
  if (!n)
2371
2315
  throw new Error("useFileIconThemePreference must be used within a FileIconThemePreferenceProvider");
2372
2316
  return n;
2373
- }, cl = (n, e = {}) => {
2317
+ }, sl = (n, e = {}) => {
2374
2318
  const {
2375
2319
  isDirectory: o = !1,
2376
2320
  theme: t,
2377
2321
  size: r = 16
2378
- } = e, i = Jr(t, n, o);
2322
+ } = e, i = Zr(t, n, o);
2379
2323
  if (i) {
2380
2324
  const a = {
2381
2325
  fontFamily: `"${i.fontFamily}"`,
@@ -2386,135 +2330,139 @@ const kt = {
2386
2330
  };
2387
2331
  return /* @__PURE__ */ l("span", { "aria-hidden": "true", style: a, children: i.fontCharacter });
2388
2332
  }
2389
- if (o) return /* @__PURE__ */ l(Xt, { size: r });
2390
- const s = Ln(n);
2333
+ if (o) return /* @__PURE__ */ l(Qt, { size: r });
2334
+ const s = $n(n);
2391
2335
  return /* @__PURE__ */ l(s, { size: r });
2392
2336
  };
2393
2337
  export {
2394
- Pl as ANCHOR_GRID_VALUES,
2395
- Al as ActionInput,
2396
- Ri as Activity,
2397
- it as ActivityAvatar,
2398
- Xn as ActivityComment,
2399
- qn as ActivityComposer,
2400
- Yn as ActivityEvent,
2401
- eo as ActivityFeed,
2402
- Jn as ActivityHeader,
2403
- Qn as ActivityReply,
2404
- Zn as ActivityRoot,
2405
- to as ActivityTimeline,
2406
- mt as AlertMessage,
2407
- kl as AnchorGridInput,
2408
- Ni as AttachedMenu,
2409
- Wi as AttachedPanel,
2410
- Cl as AttachmentChip,
2411
- Vi as Breadcrumb,
2412
- Hi as BubbleButton,
2338
+ vl as ANCHOR_GRID_VALUES,
2339
+ yl as ActionInput,
2340
+ ki as Activity,
2341
+ rt as ActivityAvatar,
2342
+ Qn as ActivityComment,
2343
+ Xn as ActivityComposer,
2344
+ Kn as ActivityEvent,
2345
+ Jn as ActivityFeed,
2346
+ Zn as ActivityHeader,
2347
+ jn as ActivityReply,
2348
+ Yn as ActivityRoot,
2349
+ eo as ActivityTimeline,
2350
+ ft as AlertMessage,
2351
+ Cl as AnchorGridInput,
2352
+ Bi as AttachedMenu,
2353
+ Ni as AttachedPanel,
2354
+ wl as AttachmentChip,
2355
+ Il as BooleanInput,
2356
+ Mi as Breadcrumb,
2357
+ Wi as BubbleButton,
2413
2358
  Fi as BubblePanel,
2414
- fl as ChakraProvider,
2415
- rs as Checkbox,
2416
- Fl as ColorInput,
2417
- qo as ContentPlaceholder,
2418
- Gi as ContentPlaceholderLabel,
2359
+ dl as ChakraProvider,
2360
+ is as Checkbox,
2361
+ Tl as Chip,
2362
+ Pl as ColorInput,
2363
+ Xo as ContentPlaceholder,
2364
+ Vi as ContentPlaceholderLabel,
2419
2365
  Di as DEFAULT_PALETTE_ASSET_LIMIT,
2420
- Ml as DateInput,
2421
- Wo as DeleteConfirmationModal,
2422
- ls as EmptyState,
2423
- Ui as ErrorBoundary,
2424
- El as FileDropInput,
2425
- sl as FileIconThemePreferenceProvider,
2366
+ Al as DateInput,
2367
+ No as DeleteConfirmationModal,
2368
+ ss as EmptyState,
2369
+ Gi as ErrorBoundary,
2370
+ il as FileIconThemePreferenceProvider,
2371
+ El as FileUploadInput,
2426
2372
  On as Header,
2427
- $i as HorizontalMenuStack,
2428
- wl as HorizontalTextInput,
2429
- Kt as IconColorPicker,
2430
- ji as IntegrationCard,
2431
- Li as ItemSection,
2432
- et as ListRow,
2433
- Bi as NotificationCenter,
2434
- Vl as NumberInput,
2435
- Ct as PANEL_HEADER_CONTROL_SIZE,
2436
- Po as PANEL_HEADER_HEIGHT,
2437
- zi as PANEL_HEADER_TAB_SIZE,
2438
- _i as Palette,
2373
+ _i as HorizontalMenuStack,
2374
+ kl as HorizontalTextInput,
2375
+ qt as IconColorPicker,
2376
+ Ui as IntegrationCard,
2377
+ $i as ItemSection,
2378
+ Je as ListRow,
2379
+ Dl as MarkdownInput,
2380
+ zi as NotificationCenter,
2381
+ Rl as NumberInput,
2382
+ yt as PANEL_HEADER_CONTROL_SIZE,
2383
+ To as PANEL_HEADER_HEIGHT,
2384
+ Li as PANEL_HEADER_TAB_SIZE,
2385
+ Ri as Palette,
2439
2386
  Oi as PaletteShortcut,
2440
- Rl as ParamEditor,
2441
- Gl as ParamEditorControlItem,
2442
- qi as ParamEditorControlList,
2443
- Dl as ParamEditorField,
2444
- Ul as ParamEditorFieldLabel,
2445
- _l as ParamEditorInlineGroup,
2446
- jl as ParamEditorLabel,
2447
- Ql as ParamEditorReadOnlyField,
2448
- Xl as ParamEditorReadOnlyValue,
2449
- Ol as ParamEditorSection,
2450
- Sl as Radio,
2451
- vl as RadioGroup,
2452
- $l as RangeInput,
2453
- Mi as RepoPickerDialog,
2454
- bl as ResizableSplitLayout,
2455
- ml as ResourceActionMenu,
2456
- as as ResourceBadge,
2457
- qt as ResourceContextMenu,
2458
- Ll as ResourceInput,
2459
- Je as ScrollArea,
2460
- Jt as SearchModalContent,
2461
- pl as SearchableMenu,
2462
- zl as SegmentedInput,
2463
- ql as SelectionInput,
2464
- Kl as SessionIndicator,
2465
- Ki as Sidenav,
2466
- Yo as SimpleCard,
2467
- Zo as SimpleCardBody,
2468
- Qi as Switch,
2469
- _r as TagEditor,
2470
- ol as TagSettingsPanel,
2471
- Bl as TextInput,
2472
- ms as ThemePreferenceProvider,
2473
- Xi as Toaster,
2474
- Ue as Tooltip,
2475
- $n as TreeList,
2476
- Nl as VectorInput,
2477
- Yl as WorkspaceBadge,
2478
- ti as applyFileIconThemePreference,
2479
- ps as applyThemePreference,
2480
- il as applyTreeListOrder,
2481
- nl as buildTabVisibilityMenuActions,
2482
- el as buildTreeVisibilityMenuActions,
2483
- ds as createMonacoThemeFromVsCodeTheme,
2484
- us as createThemePreferenceFromVsCodeTheme,
2485
- Xr as defaultFileIconThemePreferences,
2486
- gs as defaultThemePreferences,
2487
- lo as filterPaletteEntries,
2488
- Zi as filterVisibleNodes,
2489
- Ji as filterVisibleSections,
2490
- tl as filterVisibleTabs,
2491
- Ln as getFileTypeIcon,
2492
- Zl as getIconComponent,
2493
- bs as getInitialThemePreference,
2494
- Tr as getTabVisibilityStore,
2495
- xs as getThemePreferenceClassName,
2496
- Ss as getThemePreferenceClassNames,
2497
- vs as getThemePreferenceMode,
2498
- Hr as getTreeListOrderStore,
2499
- Qr as getTreeListVisibilityStore,
2500
- Il as installPrismGlobal,
2501
- Wl as isAnchorGridValue,
2502
- on as isFileIconThemePreference,
2503
- ys as isThemePreference,
2504
- Jl as optionColors,
2505
- es as optionIcons,
2506
- fs as psTheme,
2507
- cl as resolveFileIconElement,
2508
- Jr as resolveFileIconGlyph,
2509
- ts as resolveSessionIndicatorColor,
2510
- ns as resolveSessionIndicatorIcon,
2511
- He as resolveVisibility,
2512
- Jo as toaster,
2513
- al as useFileIconThemePreference,
2514
- Be as useSidenavStore,
2515
- Yi as useTabVisibilityStore,
2516
- Cs as useThemePreference,
2517
- rl as useTreeListOrderStore,
2518
- ll as useTreeListVisibilityStore
2387
+ ns as ParamEditor,
2388
+ Ol as ParamEditorControlItem,
2389
+ Qi as ParamEditorControlList,
2390
+ _l as ParamEditorField,
2391
+ $l as ParamEditorFieldLabel,
2392
+ Ll as ParamEditorInlineGroup,
2393
+ zl as ParamEditorLabel,
2394
+ Bl as ParamEditorReadOnlyField,
2395
+ Nl as ParamEditorReadOnlyValue,
2396
+ os as ParamEditorSection,
2397
+ bl as Radio,
2398
+ xl as RadioGroup,
2399
+ Wl as RangeInput,
2400
+ Hi as RepoPickerDialog,
2401
+ pl as ResizableSplitLayout,
2402
+ fl as ResourceActionMenu,
2403
+ cs as ResourceBadge,
2404
+ Xt as ResourceContextMenu,
2405
+ Fl as ResourceInput,
2406
+ Ze as ScrollArea,
2407
+ Zt as SearchModalContent,
2408
+ hl as SearchableMenu,
2409
+ Hl as SegmentedInput,
2410
+ Ml as SelectionInput,
2411
+ Vl as SessionIndicator,
2412
+ Xi as Sidenav,
2413
+ Ko as SimpleCard,
2414
+ Yo as SimpleCardBody,
2415
+ Gl as Switch,
2416
+ Rr as TagEditor,
2417
+ tl as TagSettingsPanel,
2418
+ Ul as TextInput,
2419
+ ps as ThemePreferenceProvider,
2420
+ ji as Toaster,
2421
+ Ge as Tooltip,
2422
+ _n as TreeList,
2423
+ jl as VectorInput,
2424
+ Ql as WorkspaceBadge,
2425
+ ei as applyFileIconThemePreference,
2426
+ gs as applyThemePreference,
2427
+ ol as applyTreeListOrder,
2428
+ el as buildTabVisibilityMenuActions,
2429
+ Zi as buildTreeVisibilityMenuActions,
2430
+ us as createMonacoThemeFromVsCodeTheme,
2431
+ fs as createThemePreferenceFromVsCodeTheme,
2432
+ Qr as defaultFileIconThemePreferences,
2433
+ bs as defaultThemePreferences,
2434
+ io as filterPaletteEntries,
2435
+ Ki as filterVisibleNodes,
2436
+ Yi as filterVisibleSections,
2437
+ Ji as filterVisibleTabs,
2438
+ $n as getFileTypeIcon,
2439
+ Xl as getIconComponent,
2440
+ xs as getInitialThemePreference,
2441
+ Ir as getTabVisibilityStore,
2442
+ Ss as getThemePreferenceClassName,
2443
+ vs as getThemePreferenceClassNames,
2444
+ ys as getThemePreferenceMode,
2445
+ Wr as getTreeListOrderStore,
2446
+ jr as getTreeListVisibilityStore,
2447
+ Ts as installPrismGlobal,
2448
+ ql as isAnchorGridValue,
2449
+ nn as isFileIconThemePreference,
2450
+ Kl as isParamEditorRichControl,
2451
+ Cs as isThemePreference,
2452
+ Yl as optionColors,
2453
+ Zl as optionIcons,
2454
+ hs as psTheme,
2455
+ sl as resolveFileIconElement,
2456
+ Zr as resolveFileIconGlyph,
2457
+ Jl as resolveSessionIndicatorColor,
2458
+ es as resolveSessionIndicatorIcon,
2459
+ We as resolveVisibility,
2460
+ Zo as toaster,
2461
+ ll as useFileIconThemePreference,
2462
+ ze as useSidenavStore,
2463
+ qi as useTabVisibilityStore,
2464
+ ws as useThemePreference,
2465
+ nl as useTreeListOrderStore,
2466
+ rl as useTreeListVisibilityStore
2519
2467
  };
2520
2468
  //# sourceMappingURL=index.js.map