@pstdio/ui 0.22.0 → 0.24.1

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 (74) hide show
  1. package/dist/{MermaidComponent-D92GMhht.js → MermaidComponent-BTgLnpLA.js} +2 -2
  2. package/dist/{MermaidComponent-D92GMhht.js.map → MermaidComponent-BTgLnpLA.js.map} +1 -1
  3. package/dist/chat-ui.js +840 -834
  4. package/dist/chat-ui.js.map +1 -1
  5. package/dist/components/chat-ui/components/chat-input-actions.d.ts +2 -0
  6. package/dist/components/chat-ui/components/chat-input-question-prompt.d.ts +3 -0
  7. package/dist/components/chat-ui/components/chat-input.d.ts +2 -0
  8. package/dist/components/chat-ui/components/chat-panel.d.ts +2 -0
  9. package/dist/components/chat-ui/components/timeline-title.d.ts +6 -0
  10. package/dist/components/layout/index.d.ts +1 -0
  11. package/dist/components/layout/resizable-split-layout.d.ts +4 -3
  12. package/dist/components/layout/resizable-split-layout.handle.d.ts +6 -2
  13. package/dist/components/layout/resizable-split-layout.panels.d.ts +6 -2
  14. package/dist/components/layout/resizable-split-layout.root-size.d.ts +3 -0
  15. package/dist/components/list-row/list-row-root-props.d.ts +34 -0
  16. package/dist/components/primitives/index.d.ts +2 -0
  17. package/dist/components/tab-strip/window-tabs.d.ts +14 -0
  18. package/dist/components/tab-strip/window-title-bar.d.ts +6 -0
  19. package/dist/data-table.js +5 -5
  20. package/dist/{diff-editor-BnfV8cYB.js → diff-bubble-DvUPRnfB.js} +49 -48
  21. package/dist/diff-bubble-DvUPRnfB.js.map +1 -0
  22. package/dist/diff.js +549 -545
  23. package/dist/diff.js.map +1 -1
  24. package/dist/{edit-mode-data-table-DGgRuSW3.js → edit-mode-data-table-BrydKuMM.js} +4 -4
  25. package/dist/{edit-mode-data-table-DGgRuSW3.js.map → edit-mode-data-table-BrydKuMM.js.map} +1 -1
  26. package/dist/index.d.ts +2 -0
  27. package/dist/index.js +1112 -1041
  28. package/dist/index.js.map +1 -1
  29. package/dist/{kanban-renderer-toolbar-Bl8xXdwU.js → kanban-renderer-toolbar-ebqlG13w.js} +3 -3
  30. package/dist/{kanban-renderer-toolbar-Bl8xXdwU.js.map → kanban-renderer-toolbar-ebqlG13w.js.map} +1 -1
  31. package/dist/kanban-renderer.js +8 -8
  32. package/dist/kanban-renderer.js.map +1 -1
  33. package/dist/{lazy-markdown-editor-CCOchoJX.js → lazy-markdown-editor-Obb0M8xc.js} +2 -2
  34. package/dist/{lazy-markdown-editor-CCOchoJX.js.map → lazy-markdown-editor-Obb0M8xc.js.map} +1 -1
  35. package/dist/{list-row-DCgdza1i.js → list-row-CRi3Luog.js} +33 -30
  36. package/dist/list-row-CRi3Luog.js.map +1 -0
  37. package/dist/{markdown-editor-C4GCyebp.js → markdown-editor-Bj_QX4oN.js} +2 -2
  38. package/dist/{markdown-editor-C4GCyebp.js.map → markdown-editor-Bj_QX4oN.js.map} +1 -1
  39. package/dist/{markdown-CASvn1Z2.js → markdown-kuU19Oh3.js} +4 -4
  40. package/dist/{markdown-CASvn1Z2.js.map → markdown-kuU19Oh3.js.map} +1 -1
  41. package/dist/monaco-browser-l82HnffN.js +22 -0
  42. package/dist/monaco-browser-l82HnffN.js.map +1 -0
  43. package/dist/{param-editor-CkDq623X.js → param-editor-DhoxgwGd.js} +2 -2
  44. package/dist/{param-editor-CkDq623X.js.map → param-editor-DhoxgwGd.js.map} +1 -1
  45. package/dist/{param-editor-field-DRgbnL7-.js → param-editor-field-DurcyLuw.js} +45 -44
  46. package/dist/param-editor-field-DurcyLuw.js.map +1 -0
  47. package/dist/{rich-message-DARuDVOX.js → rich-message-dNYvLDd4.js} +2 -2
  48. package/dist/{rich-message-DARuDVOX.js.map → rich-message-dNYvLDd4.js.map} +1 -1
  49. package/dist/rich-text.js +5 -5
  50. package/dist/theme/primitives/colors.d.ts +34 -0
  51. package/dist/theme/primitives/sizes.d.ts +27 -0
  52. package/dist/theme/recipes/button.d.ts +5 -3
  53. package/dist/theme/recipes/landing-story.d.ts +10 -0
  54. package/dist/theme/recipes/landing-tool-demo.d.ts +1 -0
  55. package/dist/theme/recipes/landing.d.ts +23 -0
  56. package/dist/theme/recipes/resizable-split-layout.d.ts +106 -0
  57. package/dist/theme/recipes/window-title-bar.d.ts +16 -0
  58. package/dist/theme/tokens/colors-background.d.ts +260 -0
  59. package/dist/theme/tokens/colors-visualization.d.ts +162 -0
  60. package/dist/theme/tokens/colors.d.ts +2 -422
  61. package/dist/{theme-B-l5_a6F.js → theme-Ca-KyNoi.js} +1474 -476
  62. package/dist/theme-Ca-KyNoi.js.map +1 -0
  63. package/dist/theme.js +1 -1
  64. package/dist/tree-list-DXwHWodb.js +1348 -0
  65. package/dist/tree-list-DXwHWodb.js.map +1 -0
  66. package/package.json +2 -2
  67. package/dist/diff-editor-BnfV8cYB.js.map +0 -1
  68. package/dist/list-row-DCgdza1i.js.map +0 -1
  69. package/dist/monaco-browser-CgvlArN7.js +0 -21
  70. package/dist/monaco-browser-CgvlArN7.js.map +0 -1
  71. package/dist/param-editor-field-DRgbnL7-.js.map +0 -1
  72. package/dist/theme-B-l5_a6F.js.map +0 -1
  73. package/dist/tree-list-AlO5ZmxQ.js +0 -1262
  74. package/dist/tree-list-AlO5ZmxQ.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,31 +1,33 @@
1
- import { Avatar as st, Box as G, Text as F, Stack as Q, HStack as ae, chakra as Pe, Textarea as on, Spacer as Bt, IconButton as Fe, Icon as ce, Timeline as Ie, Dialog as Z, CloseButton as Wt, Input as Ft, InputGroup as Ht, Kbd as rn, Collapsible as qe, Flex as de, Badge as Te, Button as ue, Skeleton as ft, Portal as Je, Breadcrumb as me, AbsoluteCenter as ln, Center as sn, Popover as Ye, Grid as ht, defineSlotRecipe as an, createSlotRecipeContext as cn, createToaster as dn, Toaster as un, Toast as Ne, Spinner as Mt, Editable as We, Menu as pe } from "@chakra-ui/react";
2
- import { ChakraProvider as Li } from "@chakra-ui/react";
3
- import { jsx as s, jsxs as S, Fragment as He } from "react/jsx-runtime";
4
- import { c as $ } from "react/compiler-runtime";
5
- import * as mt from "react";
6
- import { Children as fn, useState as fe, useEffect as ge, useRef as je, Fragment as pt, forwardRef as Vt, Component as hn, createContext as mn, useContext as pn } from "react";
7
- import { Paperclip as gn, ArrowUp as bn, Check as et, ArrowRight as Sn, ArrowLeft as xn, Option as gt, Command as Ke, ChevronRight as vn, Bell as yn, X as Cn, Search as Gt, SquareArrowOutUpRight as wn, Minus as In, FileText as Tn, FolderOpen as Pn, Folder as jt, Home as An, ChevronUp as Rn, ChevronDown as Ut, GripVertical as En, Trash2 as kn, Plus as $n } from "lucide-react";
8
- import { T as Ue, S as tt, c as Me } from "./browser-storage-DPtOQJx0.js";
9
- import { useVirtualizer as Dn } from "@tanstack/react-virtual";
10
- import { L as Qe, H as On, R as Qt } from "./list-row-DCgdza1i.js";
11
- import { c as zi, b as Ni } from "./list-row-DCgdza1i.js";
12
- import { T as Ln } from "./tree-list-AlO5ZmxQ.js";
13
- import { R as Wi, a as Fi } from "./tree-list-AlO5ZmxQ.js";
14
- import { A as dt } from "./radio-cLMEBBZk.js";
15
- import { R as Mi, a as Vi } from "./radio-cLMEBBZk.js";
16
- import { g as _n, o as zn, b as Nn } from "./param-editor-field-DRgbnL7-.js";
17
- import { c as ji, d as Ui, e as Qi, A as Xi, B as qi, C as Yi, f as Ki, D as Zi, F as Ji, H as es, M as ts, N as ns, h as os, P as rs, j as ls, k as is, j as ss, l as as, m as cs, R as ds, n as us, p as fs, S as hs, T as ms, V as ps, q as gs, r as bs, a as Ss } from "./param-editor-field-DRgbnL7-.js";
18
- import { S as vs, W as ys, h as Cs, r as ws, a as Is, s as Ts } from "./workspace-badge-BR_GgsAG.js";
19
- import { P as As, a as Rs, b as Es } from "./param-editor-CkDq623X.js";
20
- import { g as Bn } from "./lazy-markdown-editor-CCOchoJX.js";
21
- import { C as $s, R as Ds, S as Os, i as Ls } from "./lazy-markdown-editor-CCOchoJX.js";
22
- import { E as zs } from "./empty-state-Bo4HVrgr.js";
1
+ import { Avatar as at, Box as G, Text as H, Stack as Q, HStack as ae, chakra as Pe, Textarea as sn, Spacer as Ht, IconButton as Fe, Icon as ce, Timeline as Ie, Dialog as Z, CloseButton as Ft, Input as Mt, InputGroup as Vt, Kbd as an, Collapsible as Xe, Flex as de, Badge as Te, Button as ue, Skeleton as mt, Portal as Je, Breadcrumb as pe, AbsoluteCenter as cn, Center as dn, Popover as Ke, Grid as pt, defineSlotRecipe as un, createSlotRecipeContext as ut, createToaster as fn, Toaster as hn, Toast as Ne, Spinner as Gt, Editable as We, Menu as ge } from "@chakra-ui/react";
2
+ import { ChakraProvider as Ki } from "@chakra-ui/react";
3
+ import { jsx as s, jsxs as v, Fragment as Me } from "react/jsx-runtime";
4
+ import { c as k } from "react/compiler-runtime";
5
+ import * as gt from "react";
6
+ import { Children as mn, useState as fe, useEffect as me, useRef as He, Fragment as bt, forwardRef as jt, Component as pn, createContext as gn, useContext as bn } from "react";
7
+ import { Paperclip as Sn, ArrowUp as xn, Check as et, ArrowRight as vn, ArrowLeft as yn, Option as St, Command as Ye, ChevronRight as Cn, Bell as wn, X as Ut, Search as Qt, SquareArrowOutUpRight as In, Minus as Tn, FileText as Pn, FolderOpen as An, Folder as qt, Home as Rn, ChevronUp as kn, ChevronDown as Xt, GripVertical as En, Trash2 as $n, Plus as Dn } from "lucide-react";
8
+ import { T as Ue, S as tt, c as Ve } from "./browser-storage-DPtOQJx0.js";
9
+ import { useVirtualizer as Ln } from "@tanstack/react-virtual";
10
+ import { L as Qe, H as On, R as Kt } from "./list-row-CRi3Luog.js";
11
+ import { c as Zi, b as Ji } from "./list-row-CRi3Luog.js";
12
+ import { T as _n } from "./tree-list-DXwHWodb.js";
13
+ import { R as ts, a as ns } from "./tree-list-DXwHWodb.js";
14
+ import { A as ft } from "./radio-cLMEBBZk.js";
15
+ import { R as rs, a as ls } from "./radio-cLMEBBZk.js";
16
+ import { g as zn, o as Nn, b as Bn } from "./param-editor-field-DurcyLuw.js";
17
+ import { c as ss, d as as, e as cs, A as ds, B as us, C as fs, f as hs, D as ms, F as ps, H as gs, M as bs, N as Ss, h as xs, P as vs, j as ys, k as Cs, j as ws, l as Is, m as Ts, R as Ps, n as As, p as Rs, S as ks, q as Es, T as $s, V as Ds, r as Ls, s as Os, a as _s } from "./param-editor-field-DurcyLuw.js";
18
+ import { S as Ns, W as Bs, h as Ws, r as Hs, a as Fs, s as Ms } from "./workspace-badge-BR_GgsAG.js";
19
+ import { P as Gs, a as js, b as Us } from "./param-editor-DhoxgwGd.js";
20
+ import { g as Wn } from "./lazy-markdown-editor-Obb0M8xc.js";
21
+ import { C as qs, R as Xs, S as Ks, i as Ys } from "./lazy-markdown-editor-Obb0M8xc.js";
22
+ import { E as Js } from "./empty-state-Bo4HVrgr.js";
23
23
  import { useStore as nt } from "zustand";
24
24
  import { persist as ot, createJSONStorage as rt } from "zustand/middleware";
25
25
  import { createStore as lt } from "zustand/vanilla";
26
- import { useSensors as Wn, useSensor as Fn, PointerSensor as Hn, DndContext as Mn, closestCenter as Vn } from "@dnd-kit/core";
27
- import { useSortable as Gn, SortableContext as jn, verticalListSortingStrategy as Un, arrayMove as Qn } from "@dnd-kit/sortable";
28
- import { CSS as Xn } from "@dnd-kit/utilities";
26
+ import { w as Hn, b as Fn } from "./theme-Ca-KyNoi.js";
27
+ import { c as ta, a as na, t as oa } from "./theme-Ca-KyNoi.js";
28
+ import { useSensors as Mn, useSensor as Vn, PointerSensor as Gn, DndContext as jn, closestCenter as Un } from "@dnd-kit/core";
29
+ import { useSortable as Qn, SortableContext as qn, verticalListSortingStrategy as Xn, arrayMove as Kn } from "@dnd-kit/sortable";
30
+ import { CSS as Yn } from "@dnd-kit/utilities";
29
31
  import "@fontsource/inter/400.css";
30
32
  import "@fontsource/inter/500.css";
31
33
  import "@fontsource/playfair-display/400.css";
@@ -34,10 +36,9 @@ import "@fontsource/playfair-display/700.css";
34
36
  import "@fontsource/onest/400.css";
35
37
  import "@fontsource/onest/500.css";
36
38
  import "@fontsource/onest/700.css";
37
- import { c as Bs, a as Ws, t as Fs } from "./theme-B-l5_a6F.js";
38
- import { T as Ms, a as Vs, d as Gs, b as js, c as Us, e as Qs, g as Xs, i as qs, u as Ys } from "./theme-preference-Bpobguh4.js";
39
+ import { T as la, a as ia, d as sa, b as aa, c as ca, e as da, g as ua, i as fa, u as ha } from "./theme-preference-Bpobguh4.js";
39
40
  const it = (o) => {
40
- const e = $(14), {
41
+ const e = k(14), {
41
42
  actor: t,
42
43
  icon: n,
43
44
  color: r,
@@ -49,21 +50,21 @@ const it = (o) => {
49
50
  }
50
51
  const a = t?.avatarSrc, d = t?.avatarAlt ?? t?.name;
51
52
  let u;
52
- e[4] !== a || e[5] !== d ? (u = /* @__PURE__ */ s(st.Image, { src: a, alt: d }), e[4] = a, e[5] = d, e[6] = u) : u = e[6];
53
+ e[4] !== a || e[5] !== d ? (u = /* @__PURE__ */ s(at.Image, { src: a, alt: d }), e[4] = a, e[5] = d, e[6] = u) : u = e[6];
53
54
  const f = t?.name;
54
55
  let h;
55
- e[7] !== c || e[8] !== l || e[9] !== f ? (h = /* @__PURE__ */ s(st.Fallback, { name: f, background: c, color: l }), e[7] = c, e[8] = l, e[9] = f, e[10] = h) : h = e[10];
56
+ e[7] !== c || e[8] !== l || e[9] !== f ? (h = /* @__PURE__ */ s(at.Fallback, { name: f, background: c, color: l }), e[7] = c, e[8] = l, e[9] = f, e[10] = h) : h = e[10];
56
57
  let m;
57
- return e[11] !== u || e[12] !== h ? (m = /* @__PURE__ */ S(st.Root, { size: "2xs", flexShrink: 0, children: [
58
+ return e[11] !== u || e[12] !== h ? (m = /* @__PURE__ */ v(at.Root, { size: "2xs", flexShrink: 0, children: [
58
59
  u,
59
60
  h
60
61
  ] }), e[11] = u, e[12] = h, e[13] = m) : m = e[13], m;
61
- }, qn = () => {
62
- const o = $(1);
62
+ }, Zn = () => {
63
+ const o = k(1);
63
64
  let e;
64
65
  return o[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ s(G, { as: "span", boxSize: "3px", borderRadius: "full", background: "fg.subtle", flexShrink: 0 }), o[0] = e) : e = o[0], e;
65
- }, Xt = (o) => {
66
- const e = $(13), {
66
+ }, Yt = (o) => {
67
+ const e = k(13), {
67
68
  actor: t,
68
69
  timestamp: n,
69
70
  actions: r
@@ -71,23 +72,23 @@ const it = (o) => {
71
72
  let i;
72
73
  e[0] !== t ? (i = /* @__PURE__ */ s(it, { actor: t }), e[0] = t, e[1] = i) : i = e[1];
73
74
  let l;
74
- e[2] !== t.name ? (l = /* @__PURE__ */ s(F, { textStyle: "label/S/medium", color: "fg", truncate: !0, children: t.name }), e[2] = t.name, e[3] = l) : l = e[3];
75
+ e[2] !== t.name ? (l = /* @__PURE__ */ s(H, { textStyle: "label/S/medium", color: "fg", truncate: !0, children: t.name }), e[2] = t.name, e[3] = l) : l = e[3];
75
76
  let c;
76
- e[4] !== n ? (c = n ? /* @__PURE__ */ S(He, { children: [
77
- /* @__PURE__ */ s(qn, {}),
78
- /* @__PURE__ */ s(F, { textStyle: "label/S/regular", color: "fg.muted", flexShrink: 0, children: n })
77
+ e[4] !== n ? (c = n ? /* @__PURE__ */ v(Me, { children: [
78
+ /* @__PURE__ */ s(Zn, {}),
79
+ /* @__PURE__ */ s(H, { textStyle: "label/S/regular", color: "fg.muted", flexShrink: 0, children: n })
79
80
  ] }) : null, e[4] = n, e[5] = c) : c = e[5];
80
81
  let a;
81
82
  e[6] !== r ? (a = /* @__PURE__ */ s(G, { marginLeft: "auto", flexShrink: 0, children: r }), e[6] = r, e[7] = a) : a = e[7];
82
83
  let d;
83
- return e[8] !== i || e[9] !== l || e[10] !== c || e[11] !== a ? (d = /* @__PURE__ */ S(ae, { gap: "xs", alignItems: "center", minW: "0", children: [
84
+ return e[8] !== i || e[9] !== l || e[10] !== c || e[11] !== a ? (d = /* @__PURE__ */ v(ae, { gap: "xs", alignItems: "center", minW: "0", children: [
84
85
  i,
85
86
  l,
86
87
  c,
87
88
  a
88
89
  ] }), e[8] = i, e[9] = l, e[10] = c, e[11] = a, e[12] = d) : d = e[12], d;
89
- }, Yn = (o) => {
90
- const e = $(18);
90
+ }, Jn = (o) => {
91
+ const e = k(18);
91
92
  let t, n, r, i, l;
92
93
  e[0] !== o ? ({
93
94
  actor: n,
@@ -97,18 +98,18 @@ const it = (o) => {
97
98
  ...i
98
99
  } = o, e[0] = o, e[1] = t, e[2] = n, e[3] = r, e[4] = i, e[5] = l) : (t = e[1], n = e[2], r = e[3], i = e[4], l = e[5]);
99
100
  let c;
100
- e[6] !== t || e[7] !== n || e[8] !== l ? (c = /* @__PURE__ */ s(Xt, { actor: n, timestamp: l, actions: t }), e[6] = t, e[7] = n, e[8] = l, e[9] = c) : c = e[9];
101
+ e[6] !== t || e[7] !== n || e[8] !== l ? (c = /* @__PURE__ */ s(Yt, { actor: n, timestamp: l, actions: t }), e[6] = t, e[7] = n, e[8] = l, e[9] = c) : c = e[9];
101
102
  let a;
102
- e[10] !== r ? (a = /* @__PURE__ */ s(G, { paddingLeft: "32px", children: /* @__PURE__ */ s(F, { as: "div", textStyle: "label/S/regular", color: "fg", overflowWrap: "anywhere", children: r }) }), e[10] = r, e[11] = a) : a = e[11];
103
+ e[10] !== r ? (a = /* @__PURE__ */ s(G, { paddingLeft: "32px", children: /* @__PURE__ */ s(H, { as: "div", textStyle: "label/S/regular", color: "fg", overflowWrap: "anywhere", children: r }) }), e[10] = r, e[11] = a) : a = e[11];
103
104
  let d;
104
- e[12] !== c || e[13] !== a ? (d = /* @__PURE__ */ S(Q, { gap: "xs", children: [
105
+ e[12] !== c || e[13] !== a ? (d = /* @__PURE__ */ v(Q, { gap: "xs", children: [
105
106
  c,
106
107
  a
107
108
  ] }), e[12] = c, e[13] = a, e[14] = d) : d = e[14];
108
109
  let u;
109
110
  return e[15] !== i || e[16] !== d ? (u = /* @__PURE__ */ s(G, { paddingX: "md", paddingY: "sm", ...i, children: d }), e[15] = i, e[16] = d, e[17] = u) : u = e[17], u;
110
- }, Kn = (o) => {
111
- const e = $(27);
111
+ }, eo = (o) => {
112
+ const e = k(27);
112
113
  let t, n, r, i, l, c, a;
113
114
  e[0] !== o ? ({
114
115
  actor: n,
@@ -119,13 +120,13 @@ const it = (o) => {
119
120
  children: r,
120
121
  ...c
121
122
  } = o, e[0] = o, e[1] = t, e[2] = n, e[3] = r, e[4] = i, e[5] = l, e[6] = c, e[7] = a) : (t = e[1], n = e[2], r = e[3], i = e[4], l = e[5], c = e[6], a = e[7]);
122
- const d = fn.count(l) > 0;
123
+ const d = mn.count(l) > 0;
123
124
  let u;
124
- e[8] !== t || e[9] !== n || e[10] !== a ? (u = /* @__PURE__ */ s(Xt, { actor: n, timestamp: a, actions: t }), e[8] = t, e[9] = n, e[10] = a, e[11] = u) : u = e[11];
125
+ e[8] !== t || e[9] !== n || e[10] !== a ? (u = /* @__PURE__ */ s(Yt, { actor: n, timestamp: a, actions: t }), e[8] = t, e[9] = n, e[10] = a, e[11] = u) : u = e[11];
125
126
  let f;
126
- e[12] !== r ? (f = /* @__PURE__ */ s(F, { as: "div", textStyle: "label/S/regular", color: "fg", overflowWrap: "anywhere", whiteSpace: "pre-wrap", children: r }), e[12] = r, e[13] = f) : f = e[13];
127
+ e[12] !== r ? (f = /* @__PURE__ */ s(H, { as: "div", textStyle: "label/S/regular", color: "fg", overflowWrap: "anywhere", whiteSpace: "pre-wrap", children: r }), e[12] = r, e[13] = f) : f = e[13];
127
128
  let h;
128
- e[14] !== u || e[15] !== f ? (h = /* @__PURE__ */ S(Q, { gap: "sm", padding: "md", children: [
129
+ e[14] !== u || e[15] !== f ? (h = /* @__PURE__ */ v(Q, { gap: "sm", padding: "md", children: [
129
130
  u,
130
131
  f
131
132
  ] }), e[14] = u, e[15] = f, e[16] = h) : h = e[16];
@@ -134,12 +135,12 @@ const it = (o) => {
134
135
  let p;
135
136
  e[20] !== i ? (p = i ? /* @__PURE__ */ s(G, { borderTopWidth: "1px", borderColor: "border.subtle", children: i }) : null, e[20] = i, e[21] = p) : p = e[21];
136
137
  let g;
137
- return e[22] !== c || e[23] !== h || e[24] !== m || e[25] !== p ? (g = /* @__PURE__ */ S(G, { as: "article", width: "full", borderWidth: "1px", borderColor: "border.subtle", borderRadius: "xs", background: "bg", overflow: "hidden", ...c, children: [
138
+ return e[22] !== c || e[23] !== h || e[24] !== m || e[25] !== p ? (g = /* @__PURE__ */ v(G, { as: "article", width: "full", borderWidth: "1px", borderColor: "border.subtle", borderRadius: "xs", background: "bg", overflow: "hidden", ...c, children: [
138
139
  h,
139
140
  m,
140
141
  p
141
142
  ] }), e[22] = c, e[23] = h, e[24] = m, e[25] = p, e[26] = g) : g = e[26], g;
142
- }, Zn = (o) => {
143
+ }, to = (o) => {
143
144
  const {
144
145
  actor: e,
145
146
  value: t,
@@ -154,35 +155,35 @@ const it = (o) => {
154
155
  onChange: f,
155
156
  onSubmit: h,
156
157
  ...m
157
- } = o, [p, g] = fe(n), x = t ?? p, b = i === "inline", E = x.trim().length > 0, P = (v) => {
158
- t === void 0 && g(v), f?.(v);
159
- }, k = (v) => {
160
- v.preventDefault(), E && (h?.(x.trim()), t === void 0 && g(""));
158
+ } = o, [p, g] = fe(n), S = t ?? p, b = i === "inline", x = S.trim().length > 0, w = (y) => {
159
+ t === void 0 && g(y), f?.(y);
160
+ }, I = (y) => {
161
+ y.preventDefault(), x && (h?.(S.trim()), t === void 0 && g(""));
161
162
  };
162
163
  return /* @__PURE__ */ s(Pe.form, { width: "full", background: "bg", borderWidth: b ? "0" : "1px", borderColor: "border", borderRadius: b ? "0" : "sm", transition: "border-color 0.12s ease", _hover: b ? void 0 : {
163
164
  borderColor: "border"
164
165
  }, _focusWithin: b ? void 0 : {
165
166
  borderColor: "border.accent"
166
- }, onSubmit: k, ...m, children: /* @__PURE__ */ S(ae, { alignItems: "flex-start", gap: "xs", padding: b ? "sm" : "md", children: [
167
+ }, onSubmit: I, ...m, children: /* @__PURE__ */ v(ae, { alignItems: "flex-start", gap: "xs", padding: b ? "sm" : "md", children: [
167
168
  e ? /* @__PURE__ */ s(it, { actor: e }) : null,
168
- /* @__PURE__ */ S(G, { flex: "1", minW: "0", children: [
169
- /* @__PURE__ */ s(on, { value: x, rows: l, resize: "none", border: "0", padding: "0", minH: b ? "1.5rem" : "4rem", background: "transparent", color: "fg", textStyle: "label/S/regular", placeholder: r, _placeholder: {
169
+ /* @__PURE__ */ v(G, { flex: "1", minW: "0", children: [
170
+ /* @__PURE__ */ s(sn, { value: S, rows: l, resize: "none", border: "0", padding: "0", minH: b ? "1.5rem" : "4rem", background: "transparent", color: "fg", textStyle: "label/S/regular", placeholder: r, _placeholder: {
170
171
  color: "fg.subtle"
171
- }, onChange: (v) => P(v.currentTarget.value) }),
172
- /* @__PURE__ */ S(ae, { gap: "2xs", marginTop: b ? "0" : "sm", children: [
172
+ }, onChange: (y) => w(y.currentTarget.value) }),
173
+ /* @__PURE__ */ v(ae, { gap: "2xs", marginTop: b ? "0" : "sm", children: [
173
174
  d,
174
- /* @__PURE__ */ s(Bt, {}),
175
- /* @__PURE__ */ s(Ue, { content: c, children: /* @__PURE__ */ s(Fe, { size: "2xs", variant: "ghost", "aria-label": c, type: "button", onClick: u, children: /* @__PURE__ */ s(ce, { as: gn, boxSize: "14px" }) }) }),
176
- /* @__PURE__ */ s(Ue, { content: a, children: /* @__PURE__ */ s(Fe, { size: "2xs", variant: "subtle", "aria-label": a, type: "submit", disabled: !E, children: /* @__PURE__ */ s(ce, { as: bn, boxSize: "14px" }) }) })
175
+ /* @__PURE__ */ s(Ht, {}),
176
+ /* @__PURE__ */ s(Ue, { content: c, children: /* @__PURE__ */ s(Fe, { size: "2xs", variant: "ghost", "aria-label": c, type: "button", onClick: u, children: /* @__PURE__ */ s(ce, { as: Sn, boxSize: "14px" }) }) }),
177
+ /* @__PURE__ */ s(Ue, { content: a, children: /* @__PURE__ */ s(Fe, { size: "2xs", variant: "subtle", "aria-label": a, type: "submit", disabled: !x, children: /* @__PURE__ */ s(ce, { as: xn, boxSize: "14px" }) }) })
177
178
  ] })
178
179
  ] })
179
180
  ] }) });
180
- }, Jn = () => {
181
- const o = $(1);
181
+ }, no = () => {
182
+ const o = k(1);
182
183
  let e;
183
184
  return o[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ s(G, { as: "span", boxSize: "3px", borderRadius: "full", background: "fg.subtle", flexShrink: 0 }), o[0] = e) : e = o[0], e;
184
- }, eo = (o) => {
185
- const e = $(28);
185
+ }, oo = (o) => {
186
+ const e = k(28);
186
187
  let t, n, r, i, l, c, a;
187
188
  e[0] !== o ? ({
188
189
  actor: t,
@@ -197,32 +198,32 @@ const it = (o) => {
197
198
  let f;
198
199
  e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = /* @__PURE__ */ s(Ie.Separator, { borderColor: "border" }), e[8] = f) : f = e[8];
199
200
  let h;
200
- e[9] !== t || e[10] !== r || e[11] !== u || e[12] !== d ? (h = /* @__PURE__ */ S(Ie.Connector, { children: [
201
+ e[9] !== t || e[10] !== r || e[11] !== u || e[12] !== d ? (h = /* @__PURE__ */ v(Ie.Connector, { children: [
201
202
  f,
202
203
  /* @__PURE__ */ s(Ie.Indicator, { outline: "none", border: "none", background: "bg", children: /* @__PURE__ */ s(it, { actor: t, icon: r, color: d, background: u }) })
203
204
  ] }), e[9] = t, e[10] = r, e[11] = u, e[12] = d, e[13] = h) : h = e[13];
204
205
  let m;
205
- e[14] !== t ? (m = t ? /* @__PURE__ */ s(F, { as: "span", color: "fg", fontWeight: "500", flexShrink: 0, children: t.name }) : null, e[14] = t, e[15] = m) : m = e[15];
206
+ e[14] !== t ? (m = t ? /* @__PURE__ */ s(H, { as: "span", color: "fg", fontWeight: "500", flexShrink: 0, children: t.name }) : null, e[14] = t, e[15] = m) : m = e[15];
206
207
  let p;
207
208
  e[16] !== n ? (p = /* @__PURE__ */ s(G, { as: "span", display: "inline-flex", alignItems: "center", gap: "2xs", minW: "0", flexWrap: "wrap", children: n }), e[16] = n, e[17] = p) : p = e[17];
208
209
  let g;
209
- e[18] !== a ? (g = a ? /* @__PURE__ */ S(He, { children: [
210
- /* @__PURE__ */ s(Jn, {}),
211
- /* @__PURE__ */ s(F, { as: "span", color: "fg.muted", flexShrink: 0, children: a })
210
+ e[18] !== a ? (g = a ? /* @__PURE__ */ v(Me, { children: [
211
+ /* @__PURE__ */ s(no, {}),
212
+ /* @__PURE__ */ s(H, { as: "span", color: "fg.muted", flexShrink: 0, children: a })
212
213
  ] }) : null, e[18] = a, e[19] = g) : g = e[19];
213
- let x;
214
- e[20] !== m || e[21] !== p || e[22] !== g ? (x = /* @__PURE__ */ s(Ie.Content, { gap: "0", minW: "0", children: /* @__PURE__ */ S(Ie.Title, { marginTop: "0", gap: "xs", minW: "0", fontWeight: "normal", textStyle: "label/S/regular", color: "fg.muted", children: [
214
+ let S;
215
+ e[20] !== m || e[21] !== p || e[22] !== g ? (S = /* @__PURE__ */ s(Ie.Content, { gap: "0", minW: "0", children: /* @__PURE__ */ v(Ie.Title, { marginTop: "0", gap: "xs", minW: "0", fontWeight: "normal", textStyle: "label/S/regular", color: "fg.muted", children: [
215
216
  m,
216
217
  p,
217
218
  g
218
- ] }) }), e[20] = m, e[21] = p, e[22] = g, e[23] = x) : x = e[23];
219
+ ] }) }), e[20] = m, e[21] = p, e[22] = g, e[23] = S) : S = e[23];
219
220
  let b;
220
- return e[24] !== i || e[25] !== h || e[26] !== x ? (b = /* @__PURE__ */ S(Ie.Item, { gap: "xs", minH: "24px", paddingX: "md", ...i, children: [
221
+ return e[24] !== i || e[25] !== h || e[26] !== S ? (b = /* @__PURE__ */ v(Ie.Item, { gap: "xs", minH: "24px", paddingX: "md", ...i, children: [
221
222
  h,
222
- x
223
- ] }), e[24] = i, e[25] = h, e[26] = x, e[27] = b) : b = e[27], b;
224
- }, to = (o) => {
225
- const e = $(6);
223
+ S
224
+ ] }), e[24] = i, e[25] = h, e[26] = S, e[27] = b) : b = e[27], b;
225
+ }, ro = (o) => {
226
+ const e = k(6);
226
227
  let t, n;
227
228
  e[0] !== o ? ({
228
229
  children: t,
@@ -230,8 +231,8 @@ const it = (o) => {
230
231
  } = o, e[0] = o, e[1] = t, e[2] = n) : (t = e[1], n = e[2]);
231
232
  let r;
232
233
  return e[3] !== t || e[4] !== n ? (r = /* @__PURE__ */ s(Q, { width: "full", gap: "md", ...n, children: t }), e[3] = t, e[4] = n, e[5] = r) : r = e[5], r;
233
- }, no = (o) => {
234
- const e = $(12);
234
+ }, lo = (o) => {
235
+ const e = k(12);
235
236
  let t, n, r;
236
237
  e[0] !== o ? ({
237
238
  title: r,
@@ -240,16 +241,16 @@ const it = (o) => {
240
241
  } = o, e[0] = o, e[1] = t, e[2] = n, e[3] = r) : (t = e[1], n = e[2], r = e[3]);
241
242
  const i = r === void 0 ? "Activity" : r;
242
243
  let l;
243
- e[4] !== i ? (l = /* @__PURE__ */ s(F, { textStyle: "label/M/medium", color: "fg", children: i }), e[4] = i, e[5] = l) : l = e[5];
244
+ e[4] !== i ? (l = /* @__PURE__ */ s(H, { textStyle: "label/M/medium", color: "fg", children: i }), e[4] = i, e[5] = l) : l = e[5];
244
245
  let c;
245
246
  e[6] !== t ? (c = t ? /* @__PURE__ */ s(ae, { gap: "xs", children: t }) : null, e[6] = t, e[7] = c) : c = e[7];
246
247
  let a;
247
- return e[8] !== n || e[9] !== l || e[10] !== c ? (a = /* @__PURE__ */ S(ae, { alignItems: "center", justifyContent: "space-between", gap: "md", ...n, children: [
248
+ return e[8] !== n || e[9] !== l || e[10] !== c ? (a = /* @__PURE__ */ v(ae, { alignItems: "center", justifyContent: "space-between", gap: "md", ...n, children: [
248
249
  l,
249
250
  c
250
251
  ] }), e[8] = n, e[9] = l, e[10] = c, e[11] = a) : a = e[11], a;
251
- }, oo = (o) => {
252
- const e = $(6);
252
+ }, io = (o) => {
253
+ const e = k(6);
253
254
  let t, n;
254
255
  e[0] !== o ? ({
255
256
  children: t,
@@ -257,8 +258,8 @@ const it = (o) => {
257
258
  } = o, e[0] = o, e[1] = t, e[2] = n) : (t = e[1], n = e[2]);
258
259
  let r;
259
260
  return e[3] !== t || e[4] !== n ? (r = /* @__PURE__ */ s(Q, { gap: "md", width: "full", ...n, children: t }), e[3] = t, e[4] = n, e[5] = r) : r = e[5], r;
260
- }, ro = (o) => {
261
- const e = $(7);
261
+ }, so = (o) => {
262
+ const e = k(7);
262
263
  let t, n;
263
264
  e[0] !== o ? ({
264
265
  children: t,
@@ -270,23 +271,23 @@ const it = (o) => {
270
271
  }, e[3] = r) : r = e[3];
271
272
  let i;
272
273
  return e[4] !== t || e[5] !== n ? (i = /* @__PURE__ */ s(Ie.Root, { size: "sm", variant: "plain", width: "full", css: r, ...n, children: t }), e[4] = t, e[5] = n, e[6] = i) : i = e[6], i;
273
- }, Zl = {
274
- Root: to,
275
- Header: no,
276
- Feed: oo,
277
- Timeline: ro,
278
- Event: eo,
279
- Comment: Kn,
280
- Reply: Yn,
281
- Composer: Zn,
274
+ }, fi = {
275
+ Root: ro,
276
+ Header: lo,
277
+ Feed: io,
278
+ Timeline: so,
279
+ Event: oo,
280
+ Comment: eo,
281
+ Reply: Jn,
282
+ Composer: to,
282
283
  Avatar: it
283
- }, Jl = 48, lo = (o) => {
284
+ }, hi = 48, ao = (o) => {
284
285
  const e = typeof o.label == "string" ? o.label : "", t = typeof o.secondaryLabel == "string" ? o.secondaryLabel : "";
285
286
  return `${e} ${o.searchText ?? ""} ${t}`;
286
- }, qt = (o, e) => o.trimStart().startsWith(e), io = (o, e = [], t) => e.find((r) => r.inputPrefix && qt(o, r.inputPrefix))?.id ?? t ?? e.find((r) => !r.inputPrefix)?.id ?? e[0]?.id, so = (o, e = [], t) => {
287
- const n = e.find((r) => r.id === t && r.inputPrefix && qt(o, r.inputPrefix));
287
+ }, Zt = (o, e) => o.trimStart().startsWith(e), co = (o, e = [], t) => e.find((r) => r.inputPrefix && Zt(o, r.inputPrefix))?.id ?? t ?? e.find((r) => !r.inputPrefix)?.id ?? e[0]?.id, uo = (o, e = [], t) => {
288
+ const n = e.find((r) => r.id === t && r.inputPrefix && Zt(o, r.inputPrefix));
288
289
  return n?.inputPrefix ? o.trimStart().slice(n.inputPrefix.length).trim() : o.trim();
289
- }, ao = (o, e) => {
290
+ }, fo = (o, e) => {
290
291
  const t = {};
291
292
  return o.filter((n) => {
292
293
  const r = n.assetType;
@@ -294,20 +295,20 @@ const it = (o) => {
294
295
  const i = t[r] ?? 0;
295
296
  return i >= e ? !1 : (t[r] = i + 1, !0);
296
297
  });
297
- }, co = (o, e) => {
298
- const t = (e.getEffectiveQuery?.(e.query) ?? e.query.trim()).toLowerCase(), n = o.filter((r) => e.mode && r.mode !== e.mode ? !1 : t ? lo(r).toLowerCase().includes(t) : !0);
299
- return t || e.defaultAssetLimit === void 0 ? n : ao(n, e.defaultAssetLimit);
300
- }, uo = 24, fo = 40, ho = 384, mo = (o) => ({
298
+ }, ho = (o, e) => {
299
+ const t = (e.getEffectiveQuery?.(e.query) ?? e.query.trim()).toLowerCase(), n = o.filter((r) => e.mode && r.mode !== e.mode ? !1 : t ? ao(r).toLowerCase().includes(t) : !0);
300
+ return t || e.defaultAssetLimit === void 0 ? n : fo(n, e.defaultAssetLimit);
301
+ }, mo = 24, po = 40, go = 384, bo = (o) => ({
301
302
  id: o.id,
302
303
  label: o.label,
303
304
  description: o.description ?? o.secondaryLabel,
304
305
  icon: o.icon,
305
- endContent: o.endContent ?? (o.shortcut || o.isSelected ? /* @__PURE__ */ S(ae, { gap: "2", children: [
306
+ endContent: o.endContent ?? (o.shortcut || o.isSelected ? /* @__PURE__ */ v(ae, { gap: "2", children: [
306
307
  o.shortcut,
307
308
  o.isSelected ? /* @__PURE__ */ s(ce, { as: et, boxSize: "14px", color: "fg.muted" }) : null
308
309
  ] }) : void 0),
309
310
  onActivate: o.onActivate
310
- }), po = (o) => {
311
+ }), So = (o) => {
311
312
  const e = [];
312
313
  return o.forEach((t, n) => {
313
314
  const r = o[n - 1];
@@ -322,39 +323,39 @@ const it = (o) => {
322
323
  entryIndex: n
323
324
  });
324
325
  }), e;
325
- }, go = (o, e) => o.findIndex((t) => t.type === "entry" && t.entryIndex === e), bo = (o) => {
326
+ }, xo = (o, e) => o.findIndex((t) => t.type === "entry" && t.entryIndex === e), vo = (o) => {
326
327
  const {
327
328
  entries: e,
328
329
  activeIndex: t,
329
330
  emptyLabel: n,
330
331
  onHover: r,
331
332
  scrollRef: i
332
- } = o, l = po(e), c = go(l, t), a = Dn({
333
+ } = o, l = So(e), c = xo(l, t), a = Ln({
333
334
  count: l.length,
334
335
  getScrollElement: () => i.current,
335
- estimateSize: (d) => l[d]?.type === "group" ? uo : fo,
336
+ estimateSize: (d) => l[d]?.type === "group" ? mo : po,
336
337
  getItemKey: (d) => l[d]?.id ?? d,
337
338
  initialRect: {
338
339
  width: 0,
339
- height: ho
340
+ height: go
340
341
  },
341
342
  overscan: 6
342
343
  });
343
- return ge(() => {
344
+ return me(() => {
344
345
  c < 0 || a.scrollToIndex(c, {
345
346
  align: "auto",
346
347
  behavior: "auto"
347
348
  });
348
- }, [c, a]), e.length === 0 ? /* @__PURE__ */ s(F, { textStyle: "paragraph/S/regular", color: "fg.muted", px: "sm", py: "md", children: n }) : /* @__PURE__ */ s(G, { role: "listbox", position: "relative", width: "100%", style: {
349
+ }, [c, a]), e.length === 0 ? /* @__PURE__ */ s(H, { textStyle: "paragraph/S/regular", color: "fg.muted", px: "sm", py: "md", children: n }) : /* @__PURE__ */ s(G, { role: "listbox", position: "relative", width: "100%", style: {
349
350
  height: a.getTotalSize()
350
351
  }, children: a.getVirtualItems().map((d) => {
351
352
  const u = l[d.index];
352
353
  return u ? /* @__PURE__ */ s(G, { "data-index": d.index, ref: a.measureElement, position: "absolute", left: "0", width: "100%", style: {
353
354
  top: d.start
354
- }, children: u.type === "group" ? /* @__PURE__ */ s(F, { textStyle: "label/XS/medium", color: "fg.muted", px: "sm", pt: "xs", pb: "2xs", children: u.label }) : /* @__PURE__ */ s(Qe, { variant: "full-width", ...mo(u.entry), isSelected: u.entryIndex === t, tabIndex: -1, onPointerMove: () => r(u.entryIndex) }) }, d.key) : null;
355
+ }, children: u.type === "group" ? /* @__PURE__ */ s(H, { textStyle: "label/XS/medium", color: "fg.muted", px: "sm", pt: "xs", pb: "2xs", children: u.label }) : /* @__PURE__ */ s(Qe, { variant: "full-width", ...bo(u.entry), isSelected: u.entryIndex === t, tabIndex: -1, onPointerMove: () => r(u.entryIndex) }) }, d.key) : null;
355
356
  }) });
356
- }, bt = (o) => o != null, So = (o, e) => o && e ? "space-between" : e ? "flex-end" : "flex-start", Yt = (o) => {
357
- const e = $(49), {
357
+ }, xt = (o) => o != null, yo = (o, e) => o && e ? "space-between" : e ? "flex-end" : "flex-start", Jt = (o) => {
358
+ const e = k(49), {
358
359
  children: t,
359
360
  searchValue: n,
360
361
  searchPlaceholder: r,
@@ -369,52 +370,52 @@ const it = (o) => {
369
370
  footerEnd: m,
370
371
  scrollAreaProps: p,
371
372
  onSearchChange: g,
372
- onSearchKeyDown: x
373
- } = o, b = i === void 0 ? r : i, E = d === void 0 ? !1 : d, P = u === void 0 ? "Close" : u;
374
- let k;
375
- if (e[0] !== f || e[1] !== t || e[2] !== P || e[3] !== m || e[4] !== h || e[5] !== g || e[6] !== x || e[7] !== p || e[8] !== b || e[9] !== a || e[10] !== l || e[11] !== c || e[12] !== r || e[13] !== n || e[14] !== E) {
376
- const v = bt(h), O = bt(m);
377
- let T;
378
- e[16] !== p ? (T = p ?? {}, e[16] = p, e[17] = T) : T = e[17];
379
- let A, w, y;
380
- e[18] !== T ? ({
381
- maxH: w,
382
- showHorizontalScrollbar: y,
383
- ...A
384
- } = T, e[18] = T, e[19] = A, e[20] = w, e[21] = y) : (A = e[19], w = e[20], y = e[21]);
385
- const L = w === void 0 ? "24rem" : w, z = y === void 0 ? !1 : y;
386
- let I;
387
- e[22] !== g ? (I = (B) => g(B.target.value), e[22] = g, e[23] = I) : I = e[23];
388
- let _;
389
- e[24] !== x || e[25] !== b || e[26] !== a || e[27] !== c || e[28] !== r || e[29] !== n || e[30] !== I ? (_ = /* @__PURE__ */ s(Ft, { ref: c, value: n, placeholder: r, "aria-label": b, autoComplete: "off", autoFocus: a, mx: "xs", h: "3rem", variant: "borderless", onChange: I, onKeyDown: x }), e[24] = x, e[25] = b, e[26] = a, e[27] = c, e[28] = r, e[29] = n, e[30] = I, e[31] = _) : _ = e[31];
373
+ onSearchKeyDown: S
374
+ } = o, b = i === void 0 ? r : i, x = d === void 0 ? !1 : d, w = u === void 0 ? "Close" : u;
375
+ let I;
376
+ if (e[0] !== f || e[1] !== t || e[2] !== w || e[3] !== m || e[4] !== h || e[5] !== g || e[6] !== S || e[7] !== p || e[8] !== b || e[9] !== a || e[10] !== l || e[11] !== c || e[12] !== r || e[13] !== n || e[14] !== x) {
377
+ const y = xt(h), L = xt(m);
390
378
  let R;
391
- e[32] !== l || e[33] !== _ ? (R = /* @__PURE__ */ s(Ht, { startElement: l, width: "full", children: _ }), e[32] = l, e[33] = _, e[34] = R) : R = e[34];
392
- let C;
393
- e[35] !== P || e[36] !== E ? (C = E ? /* @__PURE__ */ s(Z.CloseTrigger, { asChild: !0, children: /* @__PURE__ */ s(Wt, { "aria-label": P, size: "sm", mr: "2" }) }) : null, e[35] = P, e[36] = E, e[37] = C) : C = e[37];
379
+ e[16] !== p ? (R = p ?? {}, e[16] = p, e[17] = R) : R = e[17];
380
+ let E, P, C;
381
+ e[18] !== R ? ({
382
+ maxH: P,
383
+ showHorizontalScrollbar: C,
384
+ ...E
385
+ } = R, e[18] = R, e[19] = E, e[20] = P, e[21] = C) : (E = e[19], P = e[20], C = e[21]);
386
+ const O = P === void 0 ? "24rem" : P, z = C === void 0 ? !1 : C;
387
+ let A;
388
+ e[22] !== g ? (A = (B) => g(B.target.value), e[22] = g, e[23] = A) : A = e[23];
389
+ let _;
390
+ e[24] !== S || e[25] !== b || e[26] !== a || e[27] !== c || e[28] !== r || e[29] !== n || e[30] !== A ? (_ = /* @__PURE__ */ s(Mt, { ref: c, value: n, placeholder: r, "aria-label": b, autoComplete: "off", autoFocus: a, mx: "xs", h: "3rem", variant: "borderless", onChange: A, onKeyDown: S }), e[24] = S, e[25] = b, e[26] = a, e[27] = c, e[28] = r, e[29] = n, e[30] = A, e[31] = _) : _ = e[31];
391
+ let $;
392
+ e[32] !== l || e[33] !== _ ? ($ = /* @__PURE__ */ s(Vt, { startElement: l, width: "full", children: _ }), e[32] = l, e[33] = _, e[34] = $) : $ = e[34];
393
+ let T;
394
+ e[35] !== w || e[36] !== x ? (T = x ? /* @__PURE__ */ s(Z.CloseTrigger, { asChild: !0, children: /* @__PURE__ */ s(Ft, { "aria-label": w, size: "sm", mr: "2" }) }) : null, e[35] = w, e[36] = x, e[37] = T) : T = e[37];
394
395
  let N;
395
- e[38] !== C || e[39] !== R ? (N = /* @__PURE__ */ S(Z.Header, { px: "0", py: "0", borderBottomWidth: "1px", borderBottomColor: "border.subtle", children: [
396
- R,
397
- C
398
- ] }), e[38] = C, e[39] = R, e[40] = N) : N = e[40];
399
- let H;
400
- e[41] !== t || e[42] !== L || e[43] !== A || e[44] !== z ? (H = /* @__PURE__ */ s(tt, { maxH: L, showHorizontalScrollbar: z, ...A, children: t }), e[41] = t, e[42] = L, e[43] = A, e[44] = z, e[45] = H) : H = e[45];
401
- let q;
402
- e[46] !== f || e[47] !== H ? (q = /* @__PURE__ */ S(Z.Body, { p: "0", children: [
396
+ e[38] !== T || e[39] !== $ ? (N = /* @__PURE__ */ v(Z.Header, { px: "0", py: "0", borderBottomWidth: "1px", borderBottomColor: "border.subtle", children: [
397
+ $,
398
+ T
399
+ ] }), e[38] = T, e[39] = $, e[40] = N) : N = e[40];
400
+ let F;
401
+ e[41] !== t || e[42] !== O || e[43] !== E || e[44] !== z ? (F = /* @__PURE__ */ s(tt, { maxH: O, showHorizontalScrollbar: z, ...E, children: t }), e[41] = t, e[42] = O, e[43] = E, e[44] = z, e[45] = F) : F = e[45];
402
+ let X;
403
+ e[46] !== f || e[47] !== F ? (X = /* @__PURE__ */ v(Z.Body, { p: "0", children: [
403
404
  f,
404
- H
405
- ] }), e[46] = f, e[47] = H, e[48] = q) : q = e[48], k = /* @__PURE__ */ S(He, { children: [
405
+ F
406
+ ] }), e[46] = f, e[47] = F, e[48] = X) : X = e[48], I = /* @__PURE__ */ v(Me, { children: [
406
407
  N,
407
- q,
408
- v || O ? /* @__PURE__ */ S(Z.Footer, { justifyContent: So(v, O), px: "sm", py: "xs", borderTopWidth: "1px", borderTopColor: "border.subtle", children: [
409
- v ? /* @__PURE__ */ s(G, { minW: "0", children: h }) : null,
410
- O ? /* @__PURE__ */ s(G, { flexShrink: 0, children: m }) : null
408
+ X,
409
+ y || L ? /* @__PURE__ */ v(Z.Footer, { justifyContent: yo(y, L), px: "sm", py: "xs", borderTopWidth: "1px", borderTopColor: "border.subtle", children: [
410
+ y ? /* @__PURE__ */ s(G, { minW: "0", children: h }) : null,
411
+ L ? /* @__PURE__ */ s(G, { flexShrink: 0, children: m }) : null
411
412
  ] }) : null
412
- ] }), e[0] = f, e[1] = t, e[2] = P, e[3] = m, e[4] = h, e[5] = g, e[6] = x, e[7] = p, e[8] = b, e[9] = a, e[10] = l, e[11] = c, e[12] = r, e[13] = n, e[14] = E, e[15] = k;
413
+ ] }), e[0] = f, e[1] = t, e[2] = w, e[3] = m, e[4] = h, e[5] = g, e[6] = S, e[7] = p, e[8] = b, e[9] = a, e[10] = l, e[11] = c, e[12] = r, e[13] = n, e[14] = x, e[15] = I;
413
414
  } else
414
- k = e[15];
415
- return k;
416
- }, St = (o, e, t) => typeof o == "function" ? o(e) : o ?? t, ei = (o) => {
417
- const e = $(71), {
415
+ I = e[15];
416
+ return I;
417
+ }, vt = (o, e, t) => typeof o == "function" ? o(e) : o ?? t, mi = (o) => {
418
+ const e = k(71), {
418
419
  open: t,
419
420
  entries: n,
420
421
  initialQuery: r,
@@ -429,58 +430,58 @@ const it = (o) => {
429
430
  footerEnd: m,
430
431
  filterEntries: p,
431
432
  onActiveEntryChange: g,
432
- onQueryChange: x,
433
+ onQueryChange: S,
433
434
  onClose: b,
434
- onEscape: E
435
- } = o, P = r === void 0 ? "" : r, k = i === void 0 ? 0 : i, v = a === void 0 ? "default" : a, O = f === void 0 ? "No results." : f, [T, A] = fe(P), [w, y] = fe(k), L = je(null), z = je(null);
436
- let I;
437
- e[0] !== v ? (I = {
435
+ onEscape: x
436
+ } = o, w = r === void 0 ? "" : r, I = i === void 0 ? 0 : i, y = a === void 0 ? "default" : a, L = f === void 0 ? "No results." : f, [R, E] = fe(w), [P, C] = fe(I), O = He(null), z = He(null);
437
+ let A;
438
+ e[0] !== y ? (A = {
438
439
  open: !1,
439
- resetKey: v
440
- }, e[0] = v, e[1] = I) : I = e[1];
441
- const _ = je(I);
442
- let R, C, N, H, q;
443
- if (e[2] !== w || e[3] !== n || e[4] !== p || e[5] !== d || e[6] !== l || e[7] !== c || e[8] !== u || e[9] !== T) {
444
- const M = l ?? io(T, c);
445
- C = p ? p(n, T, M) : co(n, {
446
- query: T,
440
+ resetKey: y
441
+ }, e[0] = y, e[1] = A) : A = e[1];
442
+ const _ = He(A);
443
+ let $, T, N, F, X;
444
+ if (e[2] !== P || e[3] !== n || e[4] !== p || e[5] !== d || e[6] !== l || e[7] !== c || e[8] !== u || e[9] !== R) {
445
+ const M = l ?? co(R, c);
446
+ T = p ? p(n, R, M) : ho(n, {
447
+ query: R,
447
448
  mode: M,
448
- getEffectiveQuery: (be) => so(be, c, M)
449
- }), R = C[w] ?? null, H = {
450
- query: T,
449
+ getEffectiveQuery: (be) => uo(be, c, M)
450
+ }), $ = T[P] ?? null, F = {
451
+ query: R,
451
452
  mode: M,
452
- activeIndex: w,
453
- entries: C
454
- }, N = St(d, H, null), q = St(u, H, "Search"), e[2] = w, e[3] = n, e[4] = p, e[5] = d, e[6] = l, e[7] = c, e[8] = u, e[9] = T, e[10] = R, e[11] = C, e[12] = N, e[13] = H, e[14] = q;
453
+ activeIndex: P,
454
+ entries: T
455
+ }, N = vt(d, F, null), X = vt(u, F, "Search"), e[2] = P, e[3] = n, e[4] = p, e[5] = d, e[6] = l, e[7] = c, e[8] = u, e[9] = R, e[10] = $, e[11] = T, e[12] = N, e[13] = F, e[14] = X;
455
456
  } else
456
- R = e[10], C = e[11], N = e[12], H = e[13], q = e[14];
457
- const B = q;
457
+ $ = e[10], T = e[11], N = e[12], F = e[13], X = e[14];
458
+ const B = X;
458
459
  let W;
459
- e[15] !== x ? (W = (M) => {
460
- A(M), x?.(M);
461
- }, e[15] = x, e[16] = W) : W = e[16];
460
+ e[15] !== S ? (W = (M) => {
461
+ E(M), S?.(M);
462
+ }, e[15] = S, e[16] = W) : W = e[16];
462
463
  const D = W;
463
- let X;
464
- e[17] !== R ? (X = () => {
465
- R?.onActivate();
466
- }, e[17] = R, e[18] = X) : X = e[18];
467
- const j = X;
464
+ let q;
465
+ e[17] !== $ ? (q = () => {
466
+ $?.onActivate();
467
+ }, e[17] = $, e[18] = q) : q = e[18];
468
+ const j = q;
468
469
  let V;
469
470
  e[19] !== b ? (V = () => {
470
471
  b();
471
472
  }, e[19] = b, e[20] = V) : V = e[20];
472
473
  const U = V;
473
- let Y, se;
474
- e[21] !== k || e[22] !== P || e[23] !== t || e[24] !== v ? (se = () => {
474
+ let K, se;
475
+ e[21] !== I || e[22] !== w || e[23] !== t || e[24] !== y ? (se = () => {
475
476
  const M = _.current;
476
477
  if (_.current = {
477
478
  open: t,
478
- resetKey: v
479
- }, !t || !(!M.open || M.resetKey !== v))
479
+ resetKey: y
480
+ }, !t || !(!M.open || M.resetKey !== y))
480
481
  return;
481
- A(P), y(k);
482
+ E(w), C(I);
482
483
  const Ce = setTimeout(() => {
483
- const we = L.current;
484
+ const we = O.current;
484
485
  if (!we)
485
486
  return;
486
487
  we.focus();
@@ -488,42 +489,42 @@ const it = (o) => {
488
489
  we.setSelectionRange(Se, Se);
489
490
  }, 0);
490
491
  return () => clearTimeout(Ce);
491
- }, Y = [k, P, t, v], e[21] = k, e[22] = P, e[23] = t, e[24] = v, e[25] = Y, e[26] = se) : (Y = e[25], se = e[26]), ge(se, Y);
492
+ }, K = [I, w, t, y], e[21] = I, e[22] = w, e[23] = t, e[24] = y, e[25] = K, e[26] = se) : (K = e[25], se = e[26]), me(se, K);
492
493
  let J, ee;
493
- e[27] !== C.length ? (J = () => {
494
- y((M) => Math.min(M, Math.max(C.length - 1, 0)));
495
- }, ee = [C.length], e[27] = C.length, e[28] = J, e[29] = ee) : (J = e[28], ee = e[29]), ge(J, ee);
494
+ e[27] !== T.length ? (J = () => {
495
+ C((M) => Math.min(M, Math.max(T.length - 1, 0)));
496
+ }, ee = [T.length], e[27] = T.length, e[28] = J, e[29] = ee) : (J = e[28], ee = e[29]), me(J, ee);
496
497
  let re, te;
497
- e[30] !== R || e[31] !== w || e[32] !== g ? (re = () => {
498
- g?.(R, w);
499
- }, te = [R, w, g], e[30] = R, e[31] = w, e[32] = g, e[33] = re, e[34] = te) : (re = e[33], te = e[34]), ge(re, te);
498
+ e[30] !== $ || e[31] !== P || e[32] !== g ? (re = () => {
499
+ g?.($, P);
500
+ }, te = [$, P, g], e[30] = $, e[31] = P, e[32] = g, e[33] = re, e[34] = te) : (re = e[33], te = e[34]), me(re, te);
500
501
  let le;
501
- e[35] !== R || e[36] !== U || e[37] !== C.length || e[38] !== E || e[39] !== T || e[40] !== j || e[41] !== D || e[42] !== H ? (le = () => {
502
- if (!E?.({
503
- ...H,
504
- activeEntry: R,
505
- entryCount: C.length,
502
+ e[35] !== $ || e[36] !== U || e[37] !== T.length || e[38] !== x || e[39] !== R || e[40] !== j || e[41] !== D || e[42] !== F ? (le = () => {
503
+ if (!x?.({
504
+ ...F,
505
+ activeEntry: $,
506
+ entryCount: T.length,
506
507
  setQuery: D,
507
- setActiveIndex: y,
508
+ setActiveIndex: C,
508
509
  runActiveEntry: j,
509
510
  closePalette: U
510
511
  })) {
511
- if (T.length > 0) {
512
- D(""), y(0);
512
+ if (R.length > 0) {
513
+ D(""), C(0);
513
514
  return;
514
515
  }
515
516
  U();
516
517
  }
517
- }, e[35] = R, e[36] = U, e[37] = C.length, e[38] = E, e[39] = T, e[40] = j, e[41] = D, e[42] = H, e[43] = le) : le = e[43];
518
+ }, e[35] = $, e[36] = U, e[37] = T.length, e[38] = x, e[39] = R, e[40] = j, e[41] = D, e[42] = F, e[43] = le) : le = e[43];
518
519
  const ne = le;
519
- let K;
520
- e[44] !== C.length || e[45] !== ne || e[46] !== j ? (K = (M) => {
520
+ let Y;
521
+ e[44] !== T.length || e[45] !== ne || e[46] !== j ? (Y = (M) => {
521
522
  if (M.key === "ArrowDown") {
522
- M.preventDefault(), y((be) => Math.min(be + 1, Math.max(C.length - 1, 0)));
523
+ M.preventDefault(), C((be) => Math.min(be + 1, Math.max(T.length - 1, 0)));
523
524
  return;
524
525
  }
525
526
  if (M.key === "ArrowUp") {
526
- M.preventDefault(), y(xo);
527
+ M.preventDefault(), C(Co);
527
528
  return;
528
529
  }
529
530
  if (M.key === "Enter") {
@@ -531,8 +532,8 @@ const it = (o) => {
531
532
  return;
532
533
  }
533
534
  M.key === "Escape" && (M.preventDefault(), M.stopPropagation(), ne());
534
- }, e[44] = C.length, e[45] = ne, e[46] = j, e[47] = K) : K = e[47];
535
- const ie = K;
535
+ }, e[44] = T.length, e[45] = ne, e[46] = j, e[47] = Y) : Y = e[47];
536
+ const ie = Y;
536
537
  let oe;
537
538
  e[48] !== U ? (oe = (M) => !M.open && U(), e[48] = U, e[49] = oe) : oe = e[49];
538
539
  let he;
@@ -550,22 +551,22 @@ const it = (o) => {
550
551
  }, e[51] = Ae) : Ae = e[51];
551
552
  let xe;
552
553
  e[52] !== D ? (xe = (M) => {
553
- D(M), y(0);
554
+ D(M), C(0);
554
555
  }, e[52] = D, e[53] = xe) : xe = e[53];
555
556
  let ve;
556
- e[54] !== w || e[55] !== O || e[56] !== C ? (ve = /* @__PURE__ */ s(bo, { entries: C, activeIndex: w, emptyLabel: O, onHover: y, scrollRef: z }), e[54] = w, e[55] = O, e[56] = C, e[57] = ve) : ve = e[57];
557
+ e[54] !== P || e[55] !== L || e[56] !== T ? (ve = /* @__PURE__ */ s(vo, { entries: T, activeIndex: P, emptyLabel: L, onHover: C, scrollRef: z }), e[54] = P, e[55] = L, e[56] = T, e[57] = ve) : ve = e[57];
557
558
  let ye;
558
- e[58] !== m || e[59] !== h || e[60] !== ie || e[61] !== T || e[62] !== N || e[63] !== B || e[64] !== xe || e[65] !== ve ? (ye = /* @__PURE__ */ s(Z.Positioner, { alignItems: "center", justifyContent: "center", p: "md", children: /* @__PURE__ */ s(Z.Content, { maxW: "44rem", w: "full", p: "0", overflow: "hidden", borderWidth: "1px", borderColor: "border.subtle", children: /* @__PURE__ */ s(Yt, { searchValue: T, searchPlaceholder: B, searchIcon: N, searchInputRef: L, showCloseButton: !0, footerStart: h, footerEnd: m, scrollAreaProps: Ae, onSearchChange: xe, onSearchKeyDown: ie, children: ve }) }) }), e[58] = m, e[59] = h, e[60] = ie, e[61] = T, e[62] = N, e[63] = B, e[64] = xe, e[65] = ve, e[66] = ye) : ye = e[66];
559
+ e[58] !== m || e[59] !== h || e[60] !== ie || e[61] !== R || e[62] !== N || e[63] !== B || e[64] !== xe || e[65] !== ve ? (ye = /* @__PURE__ */ s(Z.Positioner, { alignItems: "center", justifyContent: "center", p: "md", children: /* @__PURE__ */ s(Z.Content, { maxW: "44rem", w: "full", p: "0", overflow: "hidden", borderWidth: "1px", borderColor: "border.subtle", children: /* @__PURE__ */ s(Jt, { searchValue: R, searchPlaceholder: B, searchIcon: N, searchInputRef: O, showCloseButton: !0, footerStart: h, footerEnd: m, scrollAreaProps: Ae, onSearchChange: xe, onSearchKeyDown: ie, children: ve }) }) }), e[58] = m, e[59] = h, e[60] = ie, e[61] = R, e[62] = N, e[63] = B, e[64] = xe, e[65] = ve, e[66] = ye) : ye = e[66];
559
560
  let Re;
560
- return e[67] !== t || e[68] !== oe || e[69] !== ye ? (Re = /* @__PURE__ */ S(Z.Root, { open: t, onOpenChange: oe, children: [
561
+ return e[67] !== t || e[68] !== oe || e[69] !== ye ? (Re = /* @__PURE__ */ v(Z.Root, { open: t, onOpenChange: oe, children: [
561
562
  he,
562
563
  ye
563
564
  ] }), e[67] = t, e[68] = oe, e[69] = ye, e[70] = Re) : Re = e[70], Re;
564
565
  };
565
- function xo(o) {
566
+ function Co(o) {
566
567
  return Math.max(o - 1, 0);
567
568
  }
568
- const vo = {
569
+ const wo = {
569
570
  alt: {
570
571
  label: "Alt"
571
572
  },
@@ -581,76 +582,76 @@ const vo = {
581
582
  shift: {
582
583
  label: "Shift"
583
584
  }
584
- }, yo = {
585
+ }, Io = {
585
586
  alt: {
586
587
  label: "Option",
587
- Icon: gt
588
+ Icon: St
588
589
  },
589
590
  cmd: {
590
591
  label: "Command",
591
- Icon: Ke
592
+ Icon: Ye
592
593
  },
593
594
  command: {
594
595
  label: "Command",
595
- Icon: Ke
596
+ Icon: Ye
596
597
  },
597
598
  meta: {
598
599
  label: "Command",
599
- Icon: Ke
600
+ Icon: Ye
600
601
  },
601
602
  mod: {
602
603
  label: "Command",
603
- Icon: Ke
604
+ Icon: Ye
604
605
  },
605
606
  option: {
606
607
  label: "Option",
607
- Icon: gt
608
+ Icon: St
608
609
  },
609
610
  shift: {
610
611
  label: "Shift"
611
612
  }
612
- }, Co = {
613
+ }, To = {
613
614
  arrowleft: {
614
615
  label: "Arrow Left",
615
- Icon: xn
616
+ Icon: yn
616
617
  },
617
618
  arrowright: {
618
619
  label: "Arrow Right",
619
- Icon: Sn
620
+ Icon: vn
620
621
  }
621
- }, wo = () => {
622
+ }, Po = () => {
622
623
  if (typeof navigator > "u") return "linux";
623
624
  const o = navigator.platform?.toLowerCase() ?? "";
624
625
  return o.includes("mac") ? "mac" : o.includes("win") ? "win" : "linux";
625
- }, Io = (o, e = wo()) => {
626
- const t = o.toLowerCase(), n = e === "mac" ? yo : vo;
627
- return Co[t] ?? n[t] ?? {
626
+ }, Ao = (o, e = Po()) => {
627
+ const t = o.toLowerCase(), n = e === "mac" ? Io : wo;
628
+ return To[t] ?? n[t] ?? {
628
629
  label: o
629
630
  };
630
- }, xt = (o) => o.split("+").map((e) => e.trim()).filter(Boolean), To = (o) => (Array.isArray(o) ? o.map(xt) : [xt(o)]).map((t) => t.map((n) => Io(n))), ti = (o) => {
631
- const e = $(4), {
631
+ }, yt = (o) => o.split("+").map((e) => e.trim()).filter(Boolean), Ro = (o) => (Array.isArray(o) ? o.map(yt) : [yt(o)]).map((t) => t.map((n) => Ao(n))), pi = (o) => {
632
+ const e = k(4), {
632
633
  binding: t
633
634
  } = o;
634
635
  let n;
635
636
  if (e[0] !== t) {
636
- const i = To(t);
637
- n = i.map((l, c) => /* @__PURE__ */ S(pt, { children: [
638
- l.map((a, d) => /* @__PURE__ */ S(pt, { children: [
639
- /* @__PURE__ */ s(rn, { fontSize: "xs", borderRadius: "0", display: "inline-flex", alignItems: "center", justifyContent: "center", "aria-label": a.label, children: a.Icon ? /* @__PURE__ */ s(a.Icon, { size: 12, "aria-hidden": "true" }) : a.label }),
637
+ const i = Ro(t);
638
+ n = i.map((l, c) => /* @__PURE__ */ v(bt, { children: [
639
+ l.map((a, d) => /* @__PURE__ */ v(bt, { children: [
640
+ /* @__PURE__ */ s(an, { fontSize: "xs", borderRadius: "0", display: "inline-flex", alignItems: "center", justifyContent: "center", "aria-label": a.label, children: a.Icon ? /* @__PURE__ */ s(a.Icon, { size: 12, "aria-hidden": "true" }) : a.label }),
640
641
  d < l.length - 1 ? " " : null
641
642
  ] }, `${a.label}-${d}`)),
642
643
  c < i.length - 1 ? " then " : null
643
- ] }, `${l.map(Po).join("+")}-${c}`)), e[0] = t, e[1] = n;
644
+ ] }, `${l.map(ko).join("+")}-${c}`)), e[0] = t, e[1] = n;
644
645
  } else
645
646
  n = e[1];
646
647
  let r;
647
- return e[2] !== n ? (r = /* @__PURE__ */ s(He, { children: n }), e[2] = n, e[3] = r) : r = e[3], r;
648
+ return e[2] !== n ? (r = /* @__PURE__ */ s(Me, { children: n }), e[2] = n, e[3] = r) : r = e[3], r;
648
649
  };
649
- function Po(o) {
650
+ function ko(o) {
650
651
  return o.label;
651
652
  }
652
- function ni(o) {
653
- const e = $(14);
653
+ function gi(o) {
654
+ const e = k(14);
654
655
  let t, n, r, i, l, c;
655
656
  e[0] !== o ? ({
656
657
  children: t,
@@ -664,8 +665,8 @@ function ni(o) {
664
665
  let h;
665
666
  return e[7] !== f || e[8] !== t || e[9] !== a || e[10] !== d || e[11] !== u || e[12] !== n ? (h = /* @__PURE__ */ s(ae, { ...n, h: a, justify: "space-between", align: "center", borderBottomWidth: f, borderColor: "border.subtle", px: d, py: u, children: t }), e[7] = f, e[8] = t, e[9] = a, e[10] = d, e[11] = u, e[12] = n, e[13] = h) : h = e[13], h;
666
667
  }
667
- const oi = (o) => {
668
- const e = $(17), {
668
+ const bi = (o) => {
669
+ const e = k(17), {
669
670
  children: t,
670
671
  title: n,
671
672
  defaultOpen: r,
@@ -676,38 +677,38 @@ const oi = (o) => {
676
677
  background: "bg.hover"
677
678
  }, e[0] = c) : c = e[0];
678
679
  let a;
679
- e[1] !== n ? (a = n && /* @__PURE__ */ s(F, { fontWeight: "600", textStyle: "label/S/medium", children: n }), e[1] = n, e[2] = a) : a = e[2];
680
+ e[1] !== n ? (a = n && /* @__PURE__ */ s(H, { fontWeight: "600", textStyle: "label/S/medium", children: n }), e[1] = n, e[2] = a) : a = e[2];
680
681
  let d;
681
- e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ s(qe.Indicator, { transition: "transform 0.2s", _open: {
682
+ e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ s(Xe.Indicator, { transition: "transform 0.2s", _open: {
682
683
  transform: "rotate(90deg)"
683
- }, children: /* @__PURE__ */ s(vn, { size: 16 }) }), e[3] = d) : d = e[3];
684
+ }, children: /* @__PURE__ */ s(Cn, { size: 16 }) }), e[3] = d) : d = e[3];
684
685
  let u;
685
- e[4] !== a ? (u = /* @__PURE__ */ S(qe.Trigger, { _hover: c, padding: "sm", height: "2rem", display: "flex", width: "full", gap: "2", alignItems: "center", cursor: "pointer", justifyContent: "space-between", children: [
686
+ e[4] !== a ? (u = /* @__PURE__ */ v(Xe.Trigger, { _hover: c, padding: "sm", height: "2rem", display: "flex", width: "full", gap: "2", alignItems: "center", cursor: "pointer", justifyContent: "space-between", children: [
686
687
  a,
687
688
  d
688
689
  ] }), e[4] = a, e[5] = u) : u = e[5];
689
690
  let f;
690
- e[6] !== i ? (f = i && /* @__PURE__ */ s(G, { marginLeft: "auto", onClick: Ao, children: i }), e[6] = i, e[7] = f) : f = e[7];
691
+ e[6] !== i ? (f = i && /* @__PURE__ */ s(G, { marginLeft: "auto", onClick: Eo, children: i }), e[6] = i, e[7] = f) : f = e[7];
691
692
  let h;
692
- e[8] !== u || e[9] !== f ? (h = /* @__PURE__ */ S(de, { children: [
693
+ e[8] !== u || e[9] !== f ? (h = /* @__PURE__ */ v(de, { children: [
693
694
  u,
694
695
  f
695
696
  ] }), e[8] = u, e[9] = f, e[10] = h) : h = e[10];
696
697
  let m;
697
- e[11] !== t ? (m = /* @__PURE__ */ s(qe.Content, { children: t }), e[11] = t, e[12] = m) : m = e[12];
698
+ e[11] !== t ? (m = /* @__PURE__ */ s(Xe.Content, { children: t }), e[11] = t, e[12] = m) : m = e[12];
698
699
  let p;
699
- return e[13] !== l || e[14] !== h || e[15] !== m ? (p = /* @__PURE__ */ S(qe.Root, { defaultOpen: l, width: "full", children: [
700
+ return e[13] !== l || e[14] !== h || e[15] !== m ? (p = /* @__PURE__ */ v(Xe.Root, { defaultOpen: l, width: "full", children: [
700
701
  h,
701
702
  m
702
703
  ] }), e[13] = l, e[14] = h, e[15] = m, e[16] = p) : p = e[16], p;
703
704
  };
704
- function Ao(o) {
705
+ function Eo(o) {
705
706
  return o.stopPropagation();
706
707
  }
707
- const Ro = "2.5rem", vt = "2xs", ri = "sm", Kt = (o) => o === "urgent" ? "red" : o === "high" ? "orange" : o === "low" ? "gray" : "blue", Eo = (o) => o !== "normal", ko = (o) => [o.title, o.body, o.kind, o.priority, o.status, o.sourceLabel, o.targetLabel, o.searchText, ...(o.actions ?? []).map((e) => e.label)].filter(Boolean).join(" ").toLowerCase(), $o = (o, e) => {
708
+ const $o = "2.5rem", Ct = "2xs", Si = "sm", en = (o) => o === "urgent" ? "red" : o === "high" ? "orange" : o === "low" ? "gray" : "blue", Do = (o) => o !== "normal", Lo = (o) => [o.title, o.body, o.kind, o.priority, o.status, o.sourceLabel, o.targetLabel, o.searchText, ...(o.actions ?? []).map((e) => e.label)].filter(Boolean).join(" ").toLowerCase(), Oo = (o, e) => {
708
709
  const t = e.trim().toLowerCase();
709
- return t ? o.filter((n) => ko(n).includes(t)) : o;
710
- }, Zt = (o) => {
710
+ return t ? o.filter((n) => Lo(n).includes(t)) : o;
711
+ }, tn = (o) => {
711
712
  const e = o.filter((r) => r.kind === "blocked"), t = o.filter((r) => r.kind !== "blocked" && (r.priority === "urgent" || r.priority === "high")), n = o.filter((r) => r.kind !== "blocked" && (r.priority === "normal" || r.priority === "low"));
712
713
  return [{
713
714
  id: "needs-input",
@@ -722,23 +723,23 @@ const Ro = "2.5rem", vt = "2xs", ri = "sm", Kt = (o) => o === "urgent" ? "red" :
722
723
  label: "Other",
723
724
  items: n
724
725
  }].filter((r) => r.items.length > 0);
725
- }, Do = (o) => Zt(o).flatMap((e) => e.items), Oo = (o) => [o.body, o.targetLabel, o.sourceLabel, o.timeLabel].filter(Boolean).join(" · "), Lo = (o, e) => {
726
+ }, _o = (o) => tn(o).flatMap((e) => e.items), zo = (o) => [o.body, o.targetLabel, o.sourceLabel, o.timeLabel].filter(Boolean).join(" · "), No = (o, e) => {
726
727
  const t = [];
727
728
  return e.onDismiss && t.push({
728
729
  id: "dismiss",
729
730
  label: "Dismiss",
730
- icon: /* @__PURE__ */ s(Cn, { size: 14 }),
731
+ icon: /* @__PURE__ */ s(Ut, { size: 14 }),
731
732
  tooltip: "Dismiss",
732
733
  onAction: () => e.onDismiss?.(o)
733
734
  }), t;
734
- }, _o = (o) => {
735
- const e = $(15), {
735
+ }, Bo = (o) => {
736
+ const e = k(15), {
736
737
  actions: t,
737
738
  item: n,
738
739
  onRunAction: r
739
740
  } = o;
740
741
  let i;
741
- e[0] !== n.priority ? (i = Eo(n.priority) ? /* @__PURE__ */ s(Te, { size: "sm", colorPalette: Kt(n.priority), textTransform: "capitalize", flexShrink: 0, children: n.priority }) : null, e[0] = n.priority, e[1] = i) : i = e[1];
742
+ e[0] !== n.priority ? (i = Do(n.priority) ? /* @__PURE__ */ s(Te, { size: "sm", colorPalette: en(n.priority), textTransform: "capitalize", flexShrink: 0, children: n.priority }) : null, e[0] = n.priority, e[1] = i) : i = e[1];
742
743
  let l;
743
744
  e[2] !== n.status ? (l = n.status === "open" ? /* @__PURE__ */ s(Te, { size: "sm", colorPalette: "blue", variant: "solid", flexShrink: 0, children: "New" }) : null, e[2] = n.status, e[3] = l) : l = e[3];
744
745
  let c;
@@ -746,37 +747,37 @@ const Ro = "2.5rem", vt = "2xs", ri = "sm", Kt = (o) => o === "urgent" ? "red" :
746
747
  let d;
747
748
  e[8] !== n || e[9] !== r ? (d = (u) => /* @__PURE__ */ s(ue, { size: "2xs", variant: "outline", colorPalette: u.destructive ? "red" : "gray", maxW: "9rem", onClick: (f) => {
748
749
  f.stopPropagation(), r?.(n, u);
749
- }, children: /* @__PURE__ */ s(F, { truncate: !0, children: u.label }) }, u.id), e[8] = n, e[9] = r, e[10] = d) : d = e[10], c = t.map(d), e[4] = t, e[5] = n, e[6] = r, e[7] = c;
750
+ }, children: /* @__PURE__ */ s(H, { truncate: !0, children: u.label }) }, u.id), e[8] = n, e[9] = r, e[10] = d) : d = e[10], c = t.map(d), e[4] = t, e[5] = n, e[6] = r, e[7] = c;
750
751
  } else
751
752
  c = e[7];
752
753
  let a;
753
- return e[11] !== i || e[12] !== l || e[13] !== c ? (a = /* @__PURE__ */ S(ae, { gap: "2", minW: "0", flexWrap: "wrap", justify: "flex-end", children: [
754
+ return e[11] !== i || e[12] !== l || e[13] !== c ? (a = /* @__PURE__ */ v(ae, { gap: "2", minW: "0", flexWrap: "wrap", justify: "flex-end", children: [
754
755
  i,
755
756
  l,
756
757
  c
757
758
  ] }), e[11] = i, e[12] = l, e[13] = c, e[14] = a) : a = e[14], a;
758
- }, zo = (o) => {
759
+ }, Wo = (o) => {
759
760
  const {
760
761
  activeIndex: e,
761
762
  items: t,
762
763
  onActivateItem: n,
763
764
  onActiveIndexChange: r,
764
765
  onRunAction: i
765
- } = o, l = Zt(t);
766
+ } = o, l = tn(t);
766
767
  let c = 0;
767
- return /* @__PURE__ */ s(Q, { gap: "2xs", py: "xs", children: l.map((a) => /* @__PURE__ */ S(Q, { gap: "2xs", children: [
768
- /* @__PURE__ */ s(F, { textStyle: "label/XS/medium", color: "fg.muted", px: "sm", pt: "xs", children: a.label }),
768
+ return /* @__PURE__ */ s(Q, { gap: "2xs", py: "xs", children: l.map((a) => /* @__PURE__ */ v(Q, { gap: "2xs", children: [
769
+ /* @__PURE__ */ s(H, { textStyle: "label/XS/medium", color: "fg.muted", px: "sm", pt: "xs", children: a.label }),
769
770
  a.items.map((d) => {
770
771
  const u = c;
771
- return c += 1, /* @__PURE__ */ s(Qe, { id: d.id, label: d.title, description: Oo(d), icon: /* @__PURE__ */ s(ce, { as: yn, boxSize: "14px" }), iconColor: `${Kt(d.priority)}.500`, variant: "compact", isSelected: u === e, endContent: /* @__PURE__ */ s(_o, { item: d, actions: d.actions ?? [], onRunAction: i }), actions: Lo(d, o), tabIndex: -1, onActivate: () => n?.(d), onPointerMove: () => r(u) }, d.id);
772
+ return c += 1, /* @__PURE__ */ s(Qe, { id: d.id, label: d.title, description: zo(d), icon: /* @__PURE__ */ s(ce, { as: wn, boxSize: "14px" }), iconColor: `${en(d.priority)}.500`, variant: "compact", isSelected: u === e, endContent: /* @__PURE__ */ s(Bo, { item: d, actions: d.actions ?? [], onRunAction: i }), actions: No(d, o), tabIndex: -1, onActivate: () => n?.(d), onPointerMove: () => r(u) }, d.id);
772
773
  })
773
774
  ] }, a.id)) });
774
- }, No = () => {
775
- const o = $(1);
775
+ }, Ho = () => {
776
+ const o = k(1);
776
777
  let e;
777
- return o[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ s(Q, { gap: "2", p: "sm", children: [0, 1, 2, 3].map(Bo) }), o[0] = e) : e = o[0], e;
778
- }, li = (o) => {
779
- const e = $(37), {
778
+ return o[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ s(Q, { gap: "2", p: "sm", children: [0, 1, 2, 3].map(Fo) }), o[0] = e) : e = o[0], e;
779
+ }, xi = (o) => {
780
+ const e = k(37), {
780
781
  autoFocus: t,
781
782
  emptyLabel: n,
782
783
  error: r,
@@ -788,72 +789,72 @@ const Ro = "2.5rem", vt = "2xs", ri = "sm", Kt = (o) => o === "urgent" ? "red" :
788
789
  onEscape: u,
789
790
  onQueryChange: f,
790
791
  query: h
791
- } = o, m = t === void 0 ? !1 : t, p = n === void 0 ? "No notifications." : n, g = a === void 0 ? !1 : a, [x, b] = fe(""), [E, P] = fe(0), k = je(null), v = h ?? x;
792
- let O, T;
793
- e[0] !== v || e[1] !== c ? (O = $o(c, v), T = Do(O), e[0] = v, e[1] = c, e[2] = O, e[3] = T) : (O = e[2], T = e[3]);
794
- const A = T, w = A[E] ?? null;
795
- let y, L;
796
- e[4] !== m ? (y = () => {
792
+ } = o, m = t === void 0 ? !1 : t, p = n === void 0 ? "No notifications." : n, g = a === void 0 ? !1 : a, [S, b] = fe(""), [x, w] = fe(0), I = He(null), y = h ?? S;
793
+ let L, R;
794
+ e[0] !== y || e[1] !== c ? (L = Oo(c, y), R = _o(L), e[0] = y, e[1] = c, e[2] = L, e[3] = R) : (L = e[2], R = e[3]);
795
+ const E = R, P = E[x] ?? null;
796
+ let C, O;
797
+ e[4] !== m ? (C = () => {
797
798
  if (!m)
798
799
  return;
799
- const D = setTimeout(() => k.current?.focus(), 0);
800
+ const D = setTimeout(() => I.current?.focus(), 0);
800
801
  return () => clearTimeout(D);
801
- }, L = [m], e[4] = m, e[5] = y, e[6] = L) : (y = e[5], L = e[6]), ge(y, L);
802
- let z, I;
803
- e[7] !== A.length ? (z = () => {
804
- P((D) => Math.min(D, Math.max(A.length - 1, 0)));
805
- }, I = [A.length], e[7] = A.length, e[8] = z, e[9] = I) : (z = e[8], I = e[9]), ge(z, I);
802
+ }, O = [m], e[4] = m, e[5] = C, e[6] = O) : (C = e[5], O = e[6]), me(C, O);
803
+ let z, A;
804
+ e[7] !== E.length ? (z = () => {
805
+ w((D) => Math.min(D, Math.max(E.length - 1, 0)));
806
+ }, A = [E.length], e[7] = E.length, e[8] = z, e[9] = A) : (z = e[8], A = e[9]), me(z, A);
806
807
  let _;
807
808
  e[10] !== f || e[11] !== h ? (_ = (D) => {
808
- h === void 0 && b(D), f?.(D), P(0);
809
+ h === void 0 && b(D), f?.(D), w(0);
809
810
  }, e[10] = f, e[11] = h, e[12] = _) : _ = e[12];
810
- const R = _;
811
- let C;
812
- e[13] !== w || e[14] !== v || e[15] !== A.length || e[16] !== d || e[17] !== u || e[18] !== R ? (C = (D) => {
811
+ const $ = _;
812
+ let T;
813
+ e[13] !== P || e[14] !== y || e[15] !== E.length || e[16] !== d || e[17] !== u || e[18] !== $ ? (T = (D) => {
813
814
  if (D.key === "ArrowDown") {
814
- D.preventDefault(), P((X) => Math.min(X + 1, Math.max(A.length - 1, 0)));
815
+ D.preventDefault(), w((q) => Math.min(q + 1, Math.max(E.length - 1, 0)));
815
816
  return;
816
817
  }
817
818
  if (D.key === "ArrowUp") {
818
- D.preventDefault(), P(Wo);
819
+ D.preventDefault(), w(Mo);
819
820
  return;
820
821
  }
821
822
  if (D.key === "Enter") {
822
- D.preventDefault(), w && d?.(w);
823
+ D.preventDefault(), P && d?.(P);
823
824
  return;
824
825
  }
825
826
  if (D.key === "Escape") {
826
- if (D.preventDefault(), v.length > 0) {
827
- R("");
827
+ if (D.preventDefault(), y.length > 0) {
828
+ $("");
828
829
  return;
829
830
  }
830
831
  u?.();
831
832
  }
832
- }, e[13] = w, e[14] = v, e[15] = A.length, e[16] = d, e[17] = u, e[18] = R, e[19] = C) : C = e[19];
833
- const N = C;
834
- let H;
835
- e[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (H = /* @__PURE__ */ s(Gt, { size: 14 }), e[20] = H) : H = e[20];
836
- let q;
837
- e[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (q = {
833
+ }, e[13] = P, e[14] = y, e[15] = E.length, e[16] = d, e[17] = u, e[18] = $, e[19] = T) : T = e[19];
834
+ const N = T;
835
+ let F;
836
+ e[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (F = /* @__PURE__ */ s(Qt, { size: 14 }), e[20] = F) : F = e[20];
837
+ let X;
838
+ e[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (X = {
838
839
  maxH: "24rem",
839
840
  showHorizontalScrollbar: !1
840
- }, e[21] = q) : q = e[21];
841
+ }, e[21] = X) : X = e[21];
841
842
  let B;
842
- e[22] !== E || e[23] !== p || e[24] !== r || e[25] !== O || e[26] !== g || e[27] !== o ? (B = r ? /* @__PURE__ */ s(G, { p: "sm", children: /* @__PURE__ */ s(dt, { status: "error", colorPalette: "red", title: "Notifications unavailable", size: "sm", children: r }) }) : g ? /* @__PURE__ */ s(No, {}) : O.length === 0 ? /* @__PURE__ */ s(F, { textStyle: "paragraph/S/regular", color: "fg.muted", px: "sm", py: "md", children: p }) : /* @__PURE__ */ s(zo, { ...o, items: O, activeIndex: E, onActiveIndexChange: P }), e[22] = E, e[23] = p, e[24] = r, e[25] = O, e[26] = g, e[27] = o, e[28] = B) : B = e[28];
843
+ e[22] !== x || e[23] !== p || e[24] !== r || e[25] !== L || e[26] !== g || e[27] !== o ? (B = r ? /* @__PURE__ */ s(G, { p: "sm", children: /* @__PURE__ */ s(ft, { status: "error", colorPalette: "red", title: "Notifications unavailable", size: "sm", children: r }) }) : g ? /* @__PURE__ */ s(Ho, {}) : L.length === 0 ? /* @__PURE__ */ s(H, { textStyle: "paragraph/S/regular", color: "fg.muted", px: "sm", py: "md", children: p }) : /* @__PURE__ */ s(Wo, { ...o, items: L, activeIndex: x, onActiveIndexChange: w }), e[22] = x, e[23] = p, e[24] = r, e[25] = L, e[26] = g, e[27] = o, e[28] = B) : B = e[28];
843
844
  let W;
844
- return e[29] !== v || e[30] !== m || e[31] !== i || e[32] !== l || e[33] !== N || e[34] !== B || e[35] !== R ? (W = /* @__PURE__ */ s(Yt, { searchValue: v, searchPlaceholder: "Search notifications", searchIcon: H, searchInputRef: k, searchAutoFocus: m, footerStart: l, footerEnd: i, scrollAreaProps: q, onSearchChange: R, onSearchKeyDown: N, children: B }), e[29] = v, e[30] = m, e[31] = i, e[32] = l, e[33] = N, e[34] = B, e[35] = R, e[36] = W) : W = e[36], W;
845
+ return e[29] !== y || e[30] !== m || e[31] !== i || e[32] !== l || e[33] !== N || e[34] !== B || e[35] !== $ ? (W = /* @__PURE__ */ s(Jt, { searchValue: y, searchPlaceholder: "Search notifications", searchIcon: F, searchInputRef: I, searchAutoFocus: m, footerStart: l, footerEnd: i, scrollAreaProps: X, onSearchChange: $, onSearchKeyDown: N, children: B }), e[29] = y, e[30] = m, e[31] = i, e[32] = l, e[33] = N, e[34] = B, e[35] = $, e[36] = W) : W = e[36], W;
845
846
  };
846
- function Bo(o) {
847
- return /* @__PURE__ */ S(Q, { gap: "2xs", children: [
848
- /* @__PURE__ */ s(ft, { h: "4", w: o % 2 === 0 ? "68%" : "52%", borderRadius: "xs" }),
849
- /* @__PURE__ */ s(ft, { h: "3", w: "88%", borderRadius: "xs" })
847
+ function Fo(o) {
848
+ return /* @__PURE__ */ v(Q, { gap: "2xs", children: [
849
+ /* @__PURE__ */ s(mt, { h: "4", w: o % 2 === 0 ? "68%" : "52%", borderRadius: "xs" }),
850
+ /* @__PURE__ */ s(mt, { h: "3", w: "88%", borderRadius: "xs" })
850
851
  ] }, o);
851
852
  }
852
- function Wo(o) {
853
+ function Mo(o) {
853
854
  return Math.max(o - 1, 0);
854
855
  }
855
- const ii = (o) => {
856
- const e = $(6);
856
+ const vi = (o) => {
857
+ const e = k(6);
857
858
  let t, n;
858
859
  e[0] !== o ? ({
859
860
  children: t,
@@ -861,8 +862,8 @@ const ii = (o) => {
861
862
  } = o, e[0] = o, e[1] = t, e[2] = n) : (t = e[1], n = e[2]);
862
863
  let r;
863
864
  return e[3] !== t || e[4] !== n ? (r = /* @__PURE__ */ s(de, { as: "aside", direction: "column", h: "full", minH: "0", minW: "0", w: "full", overflow: "hidden", bg: "bg", ...n, children: t }), e[3] = t, e[4] = n, e[5] = r) : r = e[5], r;
864
- }, Fo = "20rem", si = (o) => {
865
- const e = $(15);
865
+ }, Vo = "20rem", yi = (o) => {
866
+ const e = k(15);
866
867
  let t, n, r, i, l, c;
867
868
  e[0] !== o ? ({
868
869
  children: t,
@@ -872,16 +873,16 @@ const ii = (o) => {
872
873
  resizable: c,
873
874
  ...i
874
875
  } = o, e[0] = o, e[1] = t, e[2] = n, e[3] = r, e[4] = i, e[5] = l, e[6] = c) : (t = e[1], n = e[2], r = e[3], i = e[4], l = e[5], c = e[6]);
875
- const a = l === void 0 ? "28rem" : l, d = c === void 0 ? !1 : c, u = r ?? (d ? Fo : a), f = d ? "full" : a;
876
+ const a = l === void 0 ? "28rem" : l, d = c === void 0 ? !1 : c, u = r ?? (d ? Vo : a), f = d ? "full" : a;
876
877
  let h;
877
878
  e[7] !== t ? (h = /* @__PURE__ */ s(de, { flex: "1", minH: 0, direction: "column", children: t }), e[7] = t, e[8] = h) : h = e[8];
878
879
  let m;
879
- return e[9] !== n || e[10] !== u || e[11] !== f || e[12] !== i || e[13] !== h ? (m = /* @__PURE__ */ S(de, { direction: "column", position: "relative", flexShrink: 0, w: f, minW: u, h: "100%", borderLeftWidth: "1px", bg: "bg", overflow: "hidden", ...i, children: [
880
+ return e[9] !== n || e[10] !== u || e[11] !== f || e[12] !== i || e[13] !== h ? (m = /* @__PURE__ */ v(de, { direction: "column", position: "relative", flexShrink: 0, w: f, minW: u, h: "100%", bg: "bg", overflow: "hidden", ...i, children: [
880
881
  n,
881
882
  h
882
883
  ] }), e[9] = n, e[10] = u, e[11] = f, e[12] = i, e[13] = h, e[14] = m) : m = e[14], m;
883
- }, ai = Vt(function(e, t) {
884
- const n = $(19);
884
+ }, Ci = jt(function(e, t) {
885
+ const n = k(19);
885
886
  let r, i, l, c, a;
886
887
  n[0] !== e ? ({
887
888
  children: r,
@@ -902,10 +903,10 @@ const ii = (o) => {
902
903
  const p = m;
903
904
  let g;
904
905
  n[13] !== p || n[14] !== a ? (g = a ? /* @__PURE__ */ s(Ue, { content: a, children: p }) : p, n[13] = p, n[14] = a, n[15] = g) : g = n[15];
905
- let x;
906
- return n[16] !== i || n[17] !== g ? (x = /* @__PURE__ */ s(Pe.div, { position: "fixed", bottom: "6", right: "6", zIndex: "docked", ...i, children: g }), n[16] = i, n[17] = g, n[18] = x) : x = n[18], x;
907
- }), ci = Vt(function(e, t) {
908
- const n = $(28), {
906
+ let S;
907
+ return n[16] !== i || n[17] !== g ? (S = /* @__PURE__ */ s(Pe.div, { position: "fixed", bottom: "6", right: "6", zIndex: "docked", ...i, children: g }), n[16] = i, n[17] = g, n[18] = S) : S = n[18], S;
908
+ }), wi = jt(function(e, t) {
909
+ const n = k(28), {
909
910
  isOpen: r,
910
911
  title: i,
911
912
  menu: l,
@@ -918,40 +919,40 @@ const ii = (o) => {
918
919
  containerProps: m,
919
920
  testId: p,
920
921
  "aria-label": g,
921
- children: x
922
- } = e, b = r === void 0 ? !1 : r, E = f === void 0 ? "28rem" : f, P = h === void 0 ? "38rem" : h;
922
+ children: S
923
+ } = e, b = r === void 0 ? !1 : r, x = f === void 0 ? "28rem" : f, w = h === void 0 ? "38rem" : h;
923
924
  if (!b)
924
925
  return null;
925
- const k = g ?? i;
926
- let v;
927
- n[0] !== l ? (v = /* @__PURE__ */ s(ae, { gap: "1", minW: "0", children: l }), n[0] = l, n[1] = v) : v = n[1];
928
- let O;
929
- n[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (O = /* @__PURE__ */ s(Bt, {}), n[2] = O) : O = n[2];
930
- let T;
931
- n[3] !== d || n[4] !== u ? (T = d ? /* @__PURE__ */ s(Ue, { content: u, children: /* @__PURE__ */ s(Fe, { size: vt, variant: "ghost", "aria-label": u, onClick: d, children: /* @__PURE__ */ s(wn, { size: 16 }) }) }) : null, n[3] = d, n[4] = u, n[5] = T) : T = n[5];
932
- let A;
933
- n[6] !== a || n[7] !== c ? (A = c ? /* @__PURE__ */ s(Ue, { content: a, children: /* @__PURE__ */ s(Fe, { size: vt, variant: "ghost", "aria-label": a, onClick: c, children: /* @__PURE__ */ s(In, { size: 16 }) }) }) : null, n[6] = a, n[7] = c, n[8] = A) : A = n[8];
934
- let w;
935
- n[9] !== T || n[10] !== A ? (w = /* @__PURE__ */ S(ae, { gap: "1", children: [
936
- T,
937
- A
938
- ] }), n[9] = T, n[10] = A, n[11] = w) : w = n[11];
926
+ const I = g ?? i;
939
927
  let y;
940
- n[12] !== v || n[13] !== w ? (y = /* @__PURE__ */ S(On, { variant: "main", gap: "sm", flexShrink: 0, children: [
941
- v,
942
- O,
943
- w
944
- ] }), n[12] = v, n[13] = w, n[14] = y) : y = n[14];
928
+ n[0] !== l ? (y = /* @__PURE__ */ s(ae, { gap: "1", minW: "0", children: l }), n[0] = l, n[1] = y) : y = n[1];
945
929
  let L;
946
- n[15] !== x ? (L = /* @__PURE__ */ s(G, { flex: "1", minH: 0, display: "flex", flexDirection: "column", gap: "sm", children: x }), n[15] = x, n[16] = L) : L = n[16];
947
- let z;
948
- n[17] !== L || n[18] !== y ? (z = /* @__PURE__ */ S(de, { direction: "column", h: "full", children: [
930
+ n[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (L = /* @__PURE__ */ s(Ht, {}), n[2] = L) : L = n[2];
931
+ let R;
932
+ n[3] !== d || n[4] !== u ? (R = d ? /* @__PURE__ */ s(Ue, { content: u, children: /* @__PURE__ */ s(Fe, { size: Ct, variant: "ghost", "aria-label": u, onClick: d, children: /* @__PURE__ */ s(In, { size: 16 }) }) }) : null, n[3] = d, n[4] = u, n[5] = R) : R = n[5];
933
+ let E;
934
+ n[6] !== a || n[7] !== c ? (E = c ? /* @__PURE__ */ s(Ue, { content: a, children: /* @__PURE__ */ s(Fe, { size: Ct, variant: "ghost", "aria-label": a, onClick: c, children: /* @__PURE__ */ s(Tn, { size: 16 }) }) }) : null, n[6] = a, n[7] = c, n[8] = E) : E = n[8];
935
+ let P;
936
+ n[9] !== R || n[10] !== E ? (P = /* @__PURE__ */ v(ae, { gap: "1", children: [
937
+ R,
938
+ E
939
+ ] }), n[9] = R, n[10] = E, n[11] = P) : P = n[11];
940
+ let C;
941
+ n[12] !== y || n[13] !== P ? (C = /* @__PURE__ */ v(On, { variant: "main", gap: "sm", flexShrink: 0, children: [
949
942
  y,
950
- L
951
- ] }), n[17] = L, n[18] = y, n[19] = z) : z = n[19];
952
- let I;
953
- return n[20] !== m || n[21] !== P || n[22] !== t || n[23] !== z || n[24] !== k || n[25] !== p || n[26] !== E ? (I = /* @__PURE__ */ s(Je, { children: /* @__PURE__ */ s(Pe.section, { ref: t, role: "dialog", "data-testid": p, "aria-label": k, position: "fixed", bottom: "3", right: "3", w: E, maxW: "calc(100vw - 2rem)", h: P, maxH: "calc(100vh - 2rem)", borderRadius: "xs", borderWidth: "1px", borderColor: "border.subtle", bg: "bg", overflow: "hidden", zIndex: "dropdown", ...m, children: z }) }), n[20] = m, n[21] = P, n[22] = t, n[23] = z, n[24] = k, n[25] = p, n[26] = E, n[27] = I) : I = n[27], I;
954
- }), Ho = (o) => {
943
+ L,
944
+ P
945
+ ] }), n[12] = y, n[13] = P, n[14] = C) : C = n[14];
946
+ let O;
947
+ n[15] !== S ? (O = /* @__PURE__ */ s(G, { flex: "1", minH: 0, display: "flex", flexDirection: "column", gap: "sm", children: S }), n[15] = S, n[16] = O) : O = n[16];
948
+ let z;
949
+ n[17] !== O || n[18] !== C ? (z = /* @__PURE__ */ v(de, { direction: "column", h: "full", children: [
950
+ C,
951
+ O
952
+ ] }), n[17] = O, n[18] = C, n[19] = z) : z = n[19];
953
+ let A;
954
+ return n[20] !== m || n[21] !== w || n[22] !== t || n[23] !== z || n[24] !== I || n[25] !== p || n[26] !== x ? (A = /* @__PURE__ */ s(Je, { children: /* @__PURE__ */ s(Pe.section, { ref: t, role: "dialog", "data-testid": p, "aria-label": I, position: "fixed", bottom: "3", right: "3", w: x, maxW: "calc(100vw - 2rem)", h: w, maxH: "calc(100vh - 2rem)", borderRadius: "xs", borderWidth: "1px", borderColor: "border.subtle", bg: "bg", overflow: "hidden", zIndex: "dropdown", ...m, children: z }) }), n[20] = m, n[21] = w, n[22] = t, n[23] = z, n[24] = I, n[25] = p, n[26] = x, n[27] = A) : A = n[27], A;
955
+ }), Go = (o) => {
955
956
  const [e, t] = fe(!1), {
956
957
  headline: n,
957
958
  buttonText: r,
@@ -975,29 +976,29 @@ const ii = (o) => {
975
976
  // overlay (e.g. the settings dialog) a portal keeps the layers cooperating.
976
977
  /* @__PURE__ */ s(Z.Root, { open: c, onOpenChange: (f) => {
977
978
  f.open || a();
978
- }, closeOnInteractOutside: !1, children: /* @__PURE__ */ S(Je, { children: [
979
+ }, closeOnInteractOutside: !1, children: /* @__PURE__ */ v(Je, { children: [
979
980
  /* @__PURE__ */ s(Z.Backdrop, {}),
980
- /* @__PURE__ */ s(Z.Positioner, { children: /* @__PURE__ */ S(Z.Content, { children: [
981
- /* @__PURE__ */ S(Z.Header, { children: [
982
- /* @__PURE__ */ s(F, { textStyle: "heading/M", children: n }),
983
- /* @__PURE__ */ s(Z.CloseTrigger, { asChild: !0, children: /* @__PURE__ */ s(Wt, { size: "sm" }) })
981
+ /* @__PURE__ */ s(Z.Positioner, { children: /* @__PURE__ */ v(Z.Content, { children: [
982
+ /* @__PURE__ */ v(Z.Header, { children: [
983
+ /* @__PURE__ */ s(H, { textStyle: "heading/M", children: n }),
984
+ /* @__PURE__ */ s(Z.CloseTrigger, { asChild: !0, children: /* @__PURE__ */ s(Ft, { size: "sm" }) })
984
985
  ] }),
985
- /* @__PURE__ */ s(Z.Body, { children: /* @__PURE__ */ S(Q, { gap: "3", children: [
986
- i ? /* @__PURE__ */ s(F, { children: i }) : null,
986
+ /* @__PURE__ */ s(Z.Body, { children: /* @__PURE__ */ v(Q, { gap: "3", children: [
987
+ i ? /* @__PURE__ */ s(H, { children: i }) : null,
987
988
  d
988
989
  ] }) }),
989
- /* @__PURE__ */ s(Z.Footer, { children: /* @__PURE__ */ S(Q, { direction: "row", gap: "1", children: [
990
+ /* @__PURE__ */ s(Z.Footer, { children: /* @__PURE__ */ v(Q, { direction: "row", gap: "1", children: [
990
991
  /* @__PURE__ */ s(ue, { onClick: a, children: "Close" }),
991
992
  /* @__PURE__ */ s(ue, { loading: e, variant: "destructive", onClick: u, children: r })
992
993
  ] }) })
993
994
  ] }) })
994
995
  ] }) })
995
996
  );
996
- }, Mo = (o) => o.isDirectory ? o.isGitRepo ? Pn : jt : Tn, Vo = (o, e) => {
997
+ }, jo = (o) => o.isDirectory ? o.isGitRepo ? An : qt : Pn, Uo = (o, e) => {
997
998
  const t = e.trim().toLowerCase();
998
999
  return t ? o.filter((n) => `${n.name} ${n.path}`.toLowerCase().includes(t)) : o;
999
- }, Go = (o) => {
1000
- const e = $(22), {
1000
+ }, Qo = (o) => {
1001
+ const e = k(22), {
1001
1002
  entry: t,
1002
1003
  selectedPath: n,
1003
1004
  selectedPathSet: r,
@@ -1012,14 +1013,14 @@ const ii = (o) => {
1012
1013
  }, e[4] = t, e[5] = c, e[6] = i, e[7] = d) : d = e[7];
1013
1014
  const u = d, f = n === t.path, h = t.path, m = t.name;
1014
1015
  let p;
1015
- e[8] !== t ? (p = Mo(t), e[8] = t, e[9] = p) : p = e[9];
1016
+ e[8] !== t ? (p = jo(t), e[8] = t, e[9] = p) : p = e[9];
1016
1017
  let g;
1017
1018
  e[10] !== p ? (g = /* @__PURE__ */ s(ce, { as: p, boxSize: "16px" }), e[10] = p, e[11] = g) : g = e[11];
1018
- let x;
1019
- e[12] !== t.isGitRepo ? (x = t.isGitRepo ? /* @__PURE__ */ s(Te, { textStyle: "label/XS/medium", px: "xs", py: "2px", colorPalette: "green", variant: "subtle", pointerEvents: "none", children: "Git repo" }) : void 0, e[12] = t.isGitRepo, e[13] = x) : x = e[13];
1019
+ let S;
1020
+ e[12] !== t.isGitRepo ? (S = t.isGitRepo ? /* @__PURE__ */ s(Te, { textStyle: "label/XS/medium", px: "xs", py: "2px", colorPalette: "green", variant: "subtle", pointerEvents: "none", children: "Git repo" }) : void 0, e[12] = t.isGitRepo, e[13] = S) : S = e[13];
1020
1021
  let b;
1021
- return e[14] !== t.name || e[15] !== t.path || e[16] !== u || e[17] !== a || e[18] !== f || e[19] !== g || e[20] !== x ? (b = /* @__PURE__ */ s(Qe, { variant: "compact", isSelected: f, id: h, label: m, icon: g, endContent: x, disabled: a, onActivate: u }), e[14] = t.name, e[15] = t.path, e[16] = u, e[17] = a, e[18] = f, e[19] = g, e[20] = x, e[21] = b) : b = e[21], b;
1022
- }, jo = (o) => {
1022
+ return e[14] !== t.name || e[15] !== t.path || e[16] !== u || e[17] !== a || e[18] !== f || e[19] !== g || e[20] !== S ? (b = /* @__PURE__ */ s(Qe, { variant: "compact", isSelected: f, id: h, label: m, icon: g, endContent: S, disabled: a, onActivate: u }), e[14] = t.name, e[15] = t.path, e[16] = u, e[17] = a, e[18] = f, e[19] = g, e[20] = S, e[21] = b) : b = e[21], b;
1023
+ }, qo = (o) => {
1023
1024
  if (!["ArrowDown", "ArrowUp", "Home", "End"].includes(o.key))
1024
1025
  return;
1025
1026
  const e = Array.from(o.currentTarget.querySelectorAll('button[role="option"]:not(:disabled)'));
@@ -1027,8 +1028,8 @@ const ii = (o) => {
1027
1028
  return;
1028
1029
  const t = e.indexOf(document.activeElement), n = o.key === "Home" ? 0 : o.key === "End" ? e.length - 1 : o.key === "ArrowUp" ? t <= 0 ? e.length - 1 : t - 1 : t < 0 || t === e.length - 1 ? 0 : t + 1;
1029
1030
  o.preventDefault(), e[n]?.focus();
1030
- }, di = (o) => {
1031
- const e = $(68), {
1031
+ }, Ii = (o) => {
1032
+ const e = k(68), {
1032
1033
  open: t,
1033
1034
  title: n,
1034
1035
  description: r,
@@ -1043,95 +1044,95 @@ const ii = (o) => {
1043
1044
  onSelect: m,
1044
1045
  onSelectHomeDirectory: p,
1045
1046
  onSelectParentDirectory: g,
1046
- onEntryClick: x
1047
- } = o, b = n === void 0 ? "Select folder" : n, E = i === void 0 ? "" : i, P = c === void 0 ? null : c;
1048
- let k;
1049
- e[0] !== a ? (k = a === void 0 ? [] : a, e[0] = a, e[1] = k) : k = e[1];
1050
- const v = k, O = d === void 0 ? !1 : d, T = u === void 0 ? "" : u, A = f === void 0 ? !1 : f, [w, y] = fe("");
1051
- let L;
1052
- e[2] !== v ? (L = new Set(v), e[2] = v, e[3] = L) : L = e[3];
1053
- const z = L, I = Vo(l, w), _ = E || "Home";
1054
- let R, C;
1055
- e[4] !== t || e[5] !== _ ? (C = () => {
1056
- !t || !_ || y("");
1057
- }, R = [t, _], e[4] = t, e[5] = _, e[6] = R, e[7] = C) : (R = e[6], C = e[7]), ge(C, R);
1058
- const N = Z, H = !0, q = !0, B = !1;
1047
+ onEntryClick: S
1048
+ } = o, b = n === void 0 ? "Select folder" : n, x = i === void 0 ? "" : i, w = c === void 0 ? null : c;
1049
+ let I;
1050
+ e[0] !== a ? (I = a === void 0 ? [] : a, e[0] = a, e[1] = I) : I = e[1];
1051
+ const y = I, L = d === void 0 ? !1 : d, R = u === void 0 ? "" : u, E = f === void 0 ? !1 : f, [P, C] = fe("");
1052
+ let O;
1053
+ e[2] !== y ? (O = new Set(y), e[2] = y, e[3] = O) : O = e[3];
1054
+ const z = O, A = Uo(l, P), _ = x || "Home";
1055
+ let $, T;
1056
+ e[4] !== t || e[5] !== _ ? (T = () => {
1057
+ !t || !_ || C("");
1058
+ }, $ = [t, _], e[4] = t, e[5] = _, e[6] = $, e[7] = T) : ($ = e[6], T = e[7]), me(T, $);
1059
+ const N = Z, F = !0, X = !0, B = !1;
1059
1060
  let W;
1060
1061
  e[8] !== h ? (W = (ze) => !ze.open && h(), e[8] = h, e[9] = W) : W = e[9];
1061
1062
  let D;
1062
1063
  e[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (D = /* @__PURE__ */ s(Z.Backdrop, {}), e[10] = D) : D = e[10];
1063
- const X = Z, j = Z;
1064
+ const q = Z, j = Z;
1064
1065
  let V;
1065
- e[11] !== b ? (V = /* @__PURE__ */ s(F, { textStyle: "heading/M", children: b }), e[11] = b, e[12] = V) : V = e[12];
1066
+ e[11] !== b ? (V = /* @__PURE__ */ s(H, { textStyle: "heading/M", children: b }), e[11] = b, e[12] = V) : V = e[12];
1066
1067
  let U;
1067
- e[13] !== r ? (U = r ? /* @__PURE__ */ s(F, { textStyle: "paragraph/S/regular", color: "fg.muted", children: r }) : null, e[13] = r, e[14] = U) : U = e[14];
1068
- let Y;
1069
- e[15] !== V || e[16] !== U ? (Y = /* @__PURE__ */ s(Z.Header, { children: /* @__PURE__ */ S(Q, { gap: "xs", children: [
1068
+ e[13] !== r ? (U = r ? /* @__PURE__ */ s(H, { textStyle: "paragraph/S/regular", color: "fg.muted", children: r }) : null, e[13] = r, e[14] = U) : U = e[14];
1069
+ let K;
1070
+ e[15] !== V || e[16] !== U ? (K = /* @__PURE__ */ s(Z.Header, { children: /* @__PURE__ */ v(Q, { gap: "xs", children: [
1070
1071
  V,
1071
1072
  U
1072
- ] }) }), e[15] = V, e[16] = U, e[17] = Y) : Y = e[17];
1073
+ ] }) }), e[15] = V, e[16] = U, e[17] = K) : K = e[17];
1073
1074
  const se = Z, J = Q, ee = "md";
1074
1075
  let re;
1075
- e[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (re = /* @__PURE__ */ s(An, { size: 16 }), e[18] = re) : re = e[18];
1076
+ e[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (re = /* @__PURE__ */ s(Rn, { size: 16 }), e[18] = re) : re = e[18];
1076
1077
  let te;
1077
1078
  e[19] !== p ? (te = /* @__PURE__ */ s(ue, { "aria-label": "Go to home directory", variant: "outline", size: "sm", onClick: p, children: re }), e[19] = p, e[20] = te) : te = e[20];
1078
- const le = !E || E === "/";
1079
+ const le = !x || x === "/";
1079
1080
  let ne;
1080
- e[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ne = /* @__PURE__ */ s(Rn, { size: 16 }), e[21] = ne) : ne = e[21];
1081
- let K;
1082
- e[22] !== g || e[23] !== le ? (K = /* @__PURE__ */ s(ue, { "aria-label": "Go to parent directory", variant: "outline", size: "sm", onClick: g, disabled: le, children: ne }), e[22] = g, e[23] = le, e[24] = K) : K = e[24];
1081
+ e[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ne = /* @__PURE__ */ s(kn, { size: 16 }), e[21] = ne) : ne = e[21];
1082
+ let Y;
1083
+ e[22] !== g || e[23] !== le ? (Y = /* @__PURE__ */ s(ue, { "aria-label": "Go to parent directory", variant: "outline", size: "sm", onClick: g, disabled: le, children: ne }), e[22] = g, e[23] = le, e[24] = Y) : Y = e[24];
1083
1084
  let ie;
1084
- e[25] !== _ ? (ie = /* @__PURE__ */ s(F, { "data-testid": "folder-picker-path", textStyle: "paragraph/S/regular", color: "fg.muted", flex: "1", lineClamp: 1, children: _ }), e[25] = _, e[26] = ie) : ie = e[26];
1085
+ e[25] !== _ ? (ie = /* @__PURE__ */ s(H, { "data-testid": "folder-picker-path", textStyle: "paragraph/S/regular", color: "fg.muted", flex: "1", lineClamp: 1, children: _ }), e[25] = _, e[26] = ie) : ie = e[26];
1085
1086
  let oe;
1086
- e[27] !== te || e[28] !== K || e[29] !== ie ? (oe = /* @__PURE__ */ S(Q, { direction: "row", gap: "sm", align: "center", children: [
1087
+ e[27] !== te || e[28] !== Y || e[29] !== ie ? (oe = /* @__PURE__ */ v(Q, { direction: "row", gap: "sm", align: "center", children: [
1087
1088
  te,
1088
- K,
1089
+ Y,
1089
1090
  ie
1090
- ] }), e[27] = te, e[28] = K, e[29] = ie, e[30] = oe) : oe = e[30];
1091
+ ] }), e[27] = te, e[28] = Y, e[29] = ie, e[30] = oe) : oe = e[30];
1091
1092
  const he = Q, Ae = "0", xe = "1px", ve = "md", ye = "border.subtle", Re = "hidden";
1092
1093
  let M;
1093
- e[31] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (M = /* @__PURE__ */ s(Gt, { size: 14 }), e[31] = M) : M = e[31];
1094
+ e[31] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (M = /* @__PURE__ */ s(Qt, { size: 14 }), e[31] = M) : M = e[31];
1094
1095
  let be;
1095
- e[32] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (be = (ze) => y(ze.target.value), e[32] = be) : be = e[32];
1096
+ e[32] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (be = (ze) => C(ze.target.value), e[32] = be) : be = e[32];
1096
1097
  let Ce;
1097
- e[33] !== w ? (Ce = /* @__PURE__ */ s(Ht, { startElement: M, width: "full", borderBottomWidth: "1px", borderColor: "border.subtle", children: /* @__PURE__ */ s(Ft, { mx: "xs", value: w, placeholder: "Search repositories", "aria-label": "Search repositories", autoComplete: "off", onChange: be }) }), e[33] = w, e[34] = Ce) : Ce = e[34];
1098
- const we = O ? /* @__PURE__ */ s(F, { textStyle: "paragraph/S/regular", color: "fg.muted", p: "sm", children: "Loading..." }) : T ? /* @__PURE__ */ s(F, { textStyle: "paragraph/S/regular", color: "red.500", p: "sm", children: T }) : I.length === 0 ? /* @__PURE__ */ s(F, { textStyle: "paragraph/S/regular", color: "fg.muted", p: "sm", children: "No entries found." }) : /* @__PURE__ */ s(tt, { maxHeight: "320px", contentProps: {
1098
+ e[33] !== P ? (Ce = /* @__PURE__ */ s(Vt, { startElement: M, width: "full", borderBottomWidth: "1px", borderColor: "border.subtle", children: /* @__PURE__ */ s(Mt, { mx: "xs", value: P, placeholder: "Search repositories", "aria-label": "Search repositories", autoComplete: "off", onChange: be }) }), e[33] = P, e[34] = Ce) : Ce = e[34];
1099
+ const we = L ? /* @__PURE__ */ s(H, { textStyle: "paragraph/S/regular", color: "fg.muted", p: "sm", children: "Loading..." }) : R ? /* @__PURE__ */ s(H, { textStyle: "paragraph/S/regular", color: "red.500", p: "sm", children: R }) : A.length === 0 ? /* @__PURE__ */ s(H, { textStyle: "paragraph/S/regular", color: "fg.muted", p: "sm", children: "No entries found." }) : /* @__PURE__ */ s(tt, { maxHeight: "320px", contentProps: {
1099
1100
  padding: "sm"
1100
- }, children: /* @__PURE__ */ s(Q, { gap: "xs", role: "listbox", "aria-label": "Repository folders", onKeyDown: jo, children: I.map((ze) => /* @__PURE__ */ s(Go, { entry: ze, selectedPath: P, selectedPathSet: z, onEntryClick: x }, ze.path)) }) });
1101
+ }, children: /* @__PURE__ */ s(Q, { gap: "xs", role: "listbox", "aria-label": "Repository folders", onKeyDown: qo, children: A.map((ze) => /* @__PURE__ */ s(Qo, { entry: ze, selectedPath: w, selectedPathSet: z, onEntryClick: S }, ze.path)) }) });
1101
1102
  let Se;
1102
- e[35] !== he || e[36] !== Ce || e[37] !== we ? (Se = /* @__PURE__ */ S(he, { gap: Ae, borderWidth: xe, borderRadius: ve, borderColor: ye, overflow: Re, children: [
1103
+ e[35] !== he || e[36] !== Ce || e[37] !== we ? (Se = /* @__PURE__ */ v(he, { gap: Ae, borderWidth: xe, borderRadius: ve, borderColor: ye, overflow: Re, children: [
1103
1104
  Ce,
1104
1105
  we
1105
1106
  ] }), e[35] = he, e[36] = Ce, e[37] = we, e[38] = Se) : Se = e[38];
1106
- let Ee;
1107
- e[39] !== J || e[40] !== oe || e[41] !== Se ? (Ee = /* @__PURE__ */ S(J, { gap: ee, children: [
1107
+ let ke;
1108
+ e[39] !== J || e[40] !== oe || e[41] !== Se ? (ke = /* @__PURE__ */ v(J, { gap: ee, children: [
1108
1109
  oe,
1109
1110
  Se
1110
- ] }), e[39] = J, e[40] = oe, e[41] = Se, e[42] = Ee) : Ee = e[42];
1111
- let ke;
1112
- e[43] !== se.Body || e[44] !== Ee ? (ke = /* @__PURE__ */ s(se.Body, { children: Ee }), e[43] = se.Body, e[44] = Ee, e[45] = ke) : ke = e[45];
1111
+ ] }), e[39] = J, e[40] = oe, e[41] = Se, e[42] = ke) : ke = e[42];
1112
+ let Ee;
1113
+ e[43] !== se.Body || e[44] !== ke ? (Ee = /* @__PURE__ */ s(se.Body, { children: ke }), e[43] = se.Body, e[44] = ke, e[45] = Ee) : Ee = e[45];
1113
1114
  let $e;
1114
1115
  e[46] !== h ? ($e = /* @__PURE__ */ s(ue, { variant: "outline", onClick: h, children: "Cancel" }), e[46] = h, e[47] = $e) : $e = e[47];
1115
1116
  let De;
1116
- e[48] !== A || e[49] !== m ? (De = /* @__PURE__ */ s(ue, { onClick: m, disabled: A, children: "Select repository" }), e[48] = A, e[49] = m, e[50] = De) : De = e[50];
1117
- let Oe;
1118
- e[51] !== $e || e[52] !== De ? (Oe = /* @__PURE__ */ s(Z.Footer, { children: /* @__PURE__ */ S(Q, { direction: "row", gap: "sm", children: [
1117
+ e[48] !== E || e[49] !== m ? (De = /* @__PURE__ */ s(ue, { onClick: m, disabled: E, children: "Select repository" }), e[48] = E, e[49] = m, e[50] = De) : De = e[50];
1118
+ let Le;
1119
+ e[51] !== $e || e[52] !== De ? (Le = /* @__PURE__ */ s(Z.Footer, { children: /* @__PURE__ */ v(Q, { direction: "row", gap: "sm", children: [
1119
1120
  $e,
1120
1121
  De
1121
- ] }) }), e[51] = $e, e[52] = De, e[53] = Oe) : Oe = e[53];
1122
- let Le;
1123
- e[54] !== j.Content || e[55] !== Y || e[56] !== ke || e[57] !== Oe ? (Le = /* @__PURE__ */ S(j.Content, { children: [
1124
- Y,
1125
- ke,
1126
- Oe
1127
- ] }), e[54] = j.Content, e[55] = Y, e[56] = ke, e[57] = Oe, e[58] = Le) : Le = e[58];
1122
+ ] }) }), e[51] = $e, e[52] = De, e[53] = Le) : Le = e[53];
1123
+ let Oe;
1124
+ e[54] !== j.Content || e[55] !== K || e[56] !== Ee || e[57] !== Le ? (Oe = /* @__PURE__ */ v(j.Content, { children: [
1125
+ K,
1126
+ Ee,
1127
+ Le
1128
+ ] }), e[54] = j.Content, e[55] = K, e[56] = Ee, e[57] = Le, e[58] = Oe) : Oe = e[58];
1128
1129
  let _e;
1129
- e[59] !== X.Positioner || e[60] !== Le ? (_e = /* @__PURE__ */ s(X.Positioner, { children: Le }), e[59] = X.Positioner, e[60] = Le, e[61] = _e) : _e = e[61];
1130
- let Xe;
1131
- return e[62] !== t || e[63] !== N.Root || e[64] !== W || e[65] !== D || e[66] !== _e ? (Xe = /* @__PURE__ */ S(N.Root, { lazyMount: H, unmountOnExit: q, closeOnInteractOutside: B, open: t, onOpenChange: W, children: [
1130
+ e[59] !== q.Positioner || e[60] !== Oe ? (_e = /* @__PURE__ */ s(q.Positioner, { children: Oe }), e[59] = q.Positioner, e[60] = Oe, e[61] = _e) : _e = e[61];
1131
+ let qe;
1132
+ return e[62] !== t || e[63] !== N.Root || e[64] !== W || e[65] !== D || e[66] !== _e ? (qe = /* @__PURE__ */ v(N.Root, { lazyMount: F, unmountOnExit: X, closeOnInteractOutside: B, open: t, onOpenChange: W, children: [
1132
1133
  D,
1133
1134
  _e
1134
- ] }), e[62] = t, e[63] = N.Root, e[64] = W, e[65] = D, e[66] = _e, e[67] = Xe) : Xe = e[67], Xe;
1135
+ ] }), e[62] = t, e[63] = N.Root, e[64] = W, e[65] = D, e[66] = _e, e[67] = qe) : qe = e[67], qe;
1135
1136
  }, Ze = {
1136
1137
  alignItems: "center",
1137
1138
  display: "inline-flex",
@@ -1151,7 +1152,7 @@ const ii = (o) => {
1151
1152
  _focusVisible: {
1152
1153
  outline: "none"
1153
1154
  }
1154
- }, yt = {
1155
+ }, wt = {
1155
1156
  ...Ze,
1156
1157
  color: "fg",
1157
1158
  cursor: "default",
@@ -1159,36 +1160,36 @@ const ii = (o) => {
1159
1160
  _hover: {
1160
1161
  textDecoration: "none"
1161
1162
  }
1162
- }, Uo = (o) => !!(o.url || o.onClick), Qo = (o) => {
1163
- const e = $(14), {
1163
+ }, Xo = (o) => !!(o.url || o.onClick), Ko = (o) => {
1164
+ const e = k(14), {
1164
1165
  item: t,
1165
1166
  isCurrent: n,
1166
1167
  linkComponent: r
1167
1168
  } = o;
1168
- if (n && !Uo(t)) {
1169
+ if (n && !Xo(t)) {
1169
1170
  let l;
1170
- return e[0] !== t.title ? (l = /* @__PURE__ */ s(me.CurrentLink, { ...yt, children: t.title }), e[0] = t.title, e[1] = l) : l = e[1], l;
1171
+ return e[0] !== t.title ? (l = /* @__PURE__ */ s(pe.CurrentLink, { ...wt, children: t.title }), e[0] = t.title, e[1] = l) : l = e[1], l;
1171
1172
  }
1172
1173
  if (t.url && r) {
1173
1174
  let l;
1174
- return e[2] !== r || e[3] !== t.title || e[4] !== t.url ? (l = /* @__PURE__ */ s(me.Link, { asChild: !0, ...Ze, children: /* @__PURE__ */ s(r, { to: t.url, children: t.title }) }), e[2] = r, e[3] = t.title, e[4] = t.url, e[5] = l) : l = e[5], l;
1175
+ return e[2] !== r || e[3] !== t.title || e[4] !== t.url ? (l = /* @__PURE__ */ s(pe.Link, { asChild: !0, ...Ze, children: /* @__PURE__ */ s(r, { to: t.url, children: t.title }) }), e[2] = r, e[3] = t.title, e[4] = t.url, e[5] = l) : l = e[5], l;
1175
1176
  }
1176
1177
  if (t.url) {
1177
1178
  let l;
1178
- return e[6] !== t.title || e[7] !== t.url ? (l = /* @__PURE__ */ s(me.Link, { href: t.url, ...Ze, children: t.title }), e[6] = t.title, e[7] = t.url, e[8] = l) : l = e[8], l;
1179
+ return e[6] !== t.title || e[7] !== t.url ? (l = /* @__PURE__ */ s(pe.Link, { href: t.url, ...Ze, children: t.title }), e[6] = t.title, e[7] = t.url, e[8] = l) : l = e[8], l;
1179
1180
  }
1180
1181
  if (t.onClick) {
1181
1182
  let l;
1182
- return e[9] !== t.onClick || e[10] !== t.title ? (l = /* @__PURE__ */ s(me.Link, { as: "button", type: "button", onClick: t.onClick, ...Ze, children: t.title }), e[9] = t.onClick, e[10] = t.title, e[11] = l) : l = e[11], l;
1183
+ return e[9] !== t.onClick || e[10] !== t.title ? (l = /* @__PURE__ */ s(pe.Link, { as: "button", type: "button", onClick: t.onClick, ...Ze, children: t.title }), e[9] = t.onClick, e[10] = t.title, e[11] = l) : l = e[11], l;
1183
1184
  }
1184
1185
  let i;
1185
- return e[12] !== t.title ? (i = /* @__PURE__ */ s(me.Link, { as: "span", ...yt, children: t.title }), e[12] = t.title, e[13] = i) : i = e[13], i;
1186
- }, Xo = (o) => {
1187
- const e = $(6), {
1186
+ return e[12] !== t.title ? (i = /* @__PURE__ */ s(pe.Link, { as: "span", ...wt, children: t.title }), e[12] = t.title, e[13] = i) : i = e[13], i;
1187
+ }, Yo = (o) => {
1188
+ const e = k(6), {
1188
1189
  item: t
1189
1190
  } = o;
1190
1191
  let n;
1191
- e[0] !== o ? (n = /* @__PURE__ */ s(Qo, { ...o }), e[0] = o, e[1] = n) : n = e[1];
1192
+ e[0] !== o ? (n = /* @__PURE__ */ s(Ko, { ...o }), e[0] = o, e[1] = n) : n = e[1];
1192
1193
  const r = n;
1193
1194
  if (!t.contextMenuActions?.length)
1194
1195
  return r;
@@ -1197,19 +1198,19 @@ const ii = (o) => {
1197
1198
  placement: "bottom-start"
1198
1199
  }, e[2] = i) : i = e[2];
1199
1200
  let l;
1200
- return e[3] !== r || e[4] !== t.contextMenuActions ? (l = /* @__PURE__ */ s(Qt, { actions: t.contextMenuActions, positioning: i, children: r }), e[3] = r, e[4] = t.contextMenuActions, e[5] = l) : l = e[5], l;
1201
- }, qo = (o) => {
1202
- const e = $(3), {
1201
+ return e[3] !== r || e[4] !== t.contextMenuActions ? (l = /* @__PURE__ */ s(Kt, { actions: t.contextMenuActions, positioning: i, children: r }), e[3] = r, e[4] = t.contextMenuActions, e[5] = l) : l = e[5], l;
1202
+ }, Zo = (o) => {
1203
+ const e = k(3), {
1203
1204
  separator: t
1204
1205
  } = o;
1205
1206
  if (t === void 0) {
1206
1207
  let r;
1207
- return e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ s(me.Separator, { flexShrink: 0 }), e[0] = r) : r = e[0], r;
1208
+ return e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ s(pe.Separator, { flexShrink: 0 }), e[0] = r) : r = e[0], r;
1208
1209
  }
1209
1210
  let n;
1210
- return e[1] !== t ? (n = /* @__PURE__ */ s(me.Separator, { flexShrink: 0, children: t }), e[1] = t, e[2] = n) : n = e[2], n;
1211
- }, ui = mt.forwardRef(function(e, t) {
1212
- const n = $(21);
1211
+ return e[1] !== t ? (n = /* @__PURE__ */ s(pe.Separator, { flexShrink: 0, children: t }), e[1] = t, e[2] = n) : n = e[2], n;
1212
+ }, Ti = gt.forwardRef(function(e, t) {
1213
+ const n = k(21);
1213
1214
  let r, i, l, c, a;
1214
1215
  n[0] !== e ? ({
1215
1216
  separator: c,
@@ -1223,34 +1224,34 @@ const ii = (o) => {
1223
1224
  let h;
1224
1225
  n[10] !== r || n[11] !== i.length || n[12] !== c ? (h = (m, p) => {
1225
1226
  const g = p === i.length - 1;
1226
- return /* @__PURE__ */ S(mt.Fragment, { children: [
1227
- /* @__PURE__ */ s(me.Item, { minW: "0", flexShrink: g ? 1 : 0, overflow: "hidden", children: /* @__PURE__ */ s(Xo, { item: m, isCurrent: g, linkComponent: r }) }),
1228
- g ? null : /* @__PURE__ */ s(qo, { separator: c })
1227
+ return /* @__PURE__ */ v(gt.Fragment, { children: [
1228
+ /* @__PURE__ */ s(pe.Item, { minW: "0", flexShrink: g ? 1 : 0, overflow: "hidden", children: /* @__PURE__ */ s(Yo, { item: m, isCurrent: g, linkComponent: r }) }),
1229
+ g ? null : /* @__PURE__ */ s(Zo, { separator: c })
1229
1230
  ] }, p);
1230
1231
  }, n[10] = r, n[11] = i.length, n[12] = c, n[13] = h) : h = n[13], d = i.map(h), n[6] = r, n[7] = i, n[8] = c, n[9] = d;
1231
1232
  } else
1232
1233
  d = n[9];
1233
1234
  let u;
1234
- n[14] !== a || n[15] !== d ? (u = /* @__PURE__ */ s(me.List, { gap: a, flexWrap: "nowrap", minW: "0", maxW: "100%", overflow: "hidden", children: d }), n[14] = a, n[15] = d, n[16] = u) : u = n[16];
1235
+ n[14] !== a || n[15] !== d ? (u = /* @__PURE__ */ s(pe.List, { gap: a, flexWrap: "nowrap", minW: "0", maxW: "100%", overflow: "hidden", children: d }), n[14] = a, n[15] = d, n[16] = u) : u = n[16];
1235
1236
  let f;
1236
- return n[17] !== t || n[18] !== l || n[19] !== u ? (f = /* @__PURE__ */ s(me.Root, { ref: t, ...l, children: u }), n[17] = t, n[18] = l, n[19] = u, n[20] = f) : f = n[20], f;
1237
- }), Yo = `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")`, Ko = (o) => {
1238
- const e = $(3);
1237
+ return n[17] !== t || n[18] !== l || n[19] !== u ? (f = /* @__PURE__ */ s(pe.Root, { ref: t, ...l, children: u }), n[17] = t, n[18] = l, n[19] = u, n[20] = f) : f = n[20], f;
1238
+ }), Jo = `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")`, er = (o) => {
1239
+ const e = k(3);
1239
1240
  let t;
1240
1241
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t = {
1241
1242
  backgroundClip: "padding-box",
1242
- backgroundImage: Yo,
1243
+ backgroundImage: Jo,
1243
1244
  display: "flex",
1244
1245
  width: "100%"
1245
1246
  }, e[0] = t) : t = e[0];
1246
1247
  let n;
1247
1248
  return e[1] !== o ? (n = /* @__PURE__ */ s(G, { ...o, css: t }), e[1] = o, e[2] = n) : n = e[2], n;
1248
- }, fi = (o) => {
1249
- const e = $(2);
1249
+ }, Pi = (o) => {
1250
+ const e = k(2);
1250
1251
  let t;
1251
- return e[0] !== o ? (t = /* @__PURE__ */ s(G, { p: "2", children: /* @__PURE__ */ s(F, { color: "fg.muted", fontWeight: "medium", textStyle: "sm", whiteSpace: "nowrap", ...o }) }), e[0] = o, e[1] = t) : t = e[1], t;
1252
+ return e[0] !== o ? (t = /* @__PURE__ */ s(G, { p: "2", children: /* @__PURE__ */ s(H, { color: "fg.muted", fontWeight: "medium", textStyle: "sm", whiteSpace: "nowrap", ...o }) }), e[0] = o, e[1] = t) : t = e[1], t;
1252
1253
  };
1253
- class hi extends hn {
1254
+ class Ai extends pn {
1254
1255
  state = {
1255
1256
  error: null
1256
1257
  };
@@ -1275,31 +1276,31 @@ class hi extends hn {
1275
1276
  } = this.props, {
1276
1277
  error: r
1277
1278
  } = this.state;
1278
- return r ? t || /* @__PURE__ */ s(Zo, { error: r, label: n, onReset: this.handleReset }) : e;
1279
+ return r ? t || /* @__PURE__ */ s(tr, { error: r, label: n, onReset: this.handleReset }) : e;
1279
1280
  }
1280
1281
  }
1281
- const Zo = (o) => {
1282
- const e = $(12), {
1282
+ const tr = (o) => {
1283
+ const e = k(12), {
1283
1284
  error: t,
1284
1285
  label: n,
1285
1286
  onReset: r
1286
1287
  } = o, i = n ?? "Something went wrong";
1287
1288
  let l;
1288
- e[0] !== i ? (l = /* @__PURE__ */ s(F, { textStyle: "paragraph/M/medium", children: i }), e[0] = i, e[1] = l) : l = e[1];
1289
+ e[0] !== i ? (l = /* @__PURE__ */ s(H, { textStyle: "paragraph/M/medium", children: i }), e[0] = i, e[1] = l) : l = e[1];
1289
1290
  const c = t.message || "An unexpected error occurred while rendering this section.";
1290
1291
  let a;
1291
- e[2] !== c ? (a = /* @__PURE__ */ s(F, { textStyle: "paragraph/S/regular", children: c }), e[2] = c, e[3] = a) : a = e[3];
1292
+ e[2] !== c ? (a = /* @__PURE__ */ s(H, { textStyle: "paragraph/S/regular", children: c }), e[2] = c, e[3] = a) : a = e[3];
1292
1293
  let d;
1293
1294
  e[4] !== r ? (d = r ? /* @__PURE__ */ s(ue, { size: "sm", variant: "primary", onClick: r, children: "Try again" }) : null, e[4] = r, e[5] = d) : d = e[5];
1294
1295
  let u;
1295
- e[6] !== a || e[7] !== d ? (u = /* @__PURE__ */ S(Q, { gap: "sm", children: [
1296
+ e[6] !== a || e[7] !== d ? (u = /* @__PURE__ */ v(Q, { gap: "sm", children: [
1296
1297
  a,
1297
1298
  d
1298
1299
  ] }), e[6] = a, e[7] = d, e[8] = u) : u = e[8];
1299
1300
  let f;
1300
- return e[9] !== l || e[10] !== u ? (f = /* @__PURE__ */ s(Ko, { height: "100%", width: "100%", children: /* @__PURE__ */ s(ln, { children: /* @__PURE__ */ s(dt, { status: "error", title: l, children: u }) }) }), e[9] = l, e[10] = u, e[11] = f) : f = e[11], f;
1301
- }, Jo = (o) => !!o && o !== "circle", er = (o) => {
1302
- const e = $(18);
1301
+ return e[9] !== l || e[10] !== u ? (f = /* @__PURE__ */ s(er, { height: "100%", width: "100%", children: /* @__PURE__ */ s(cn, { children: /* @__PURE__ */ s(ft, { status: "error", title: l, children: u }) }) }), e[9] = l, e[10] = u, e[11] = f) : f = e[11], f;
1302
+ }, nr = (o) => !!o && o !== "circle", or = (o) => {
1303
+ const e = k(18);
1303
1304
  let t, n, r, i, l;
1304
1305
  e[0] !== o ? ({
1305
1306
  color: t,
@@ -1310,13 +1311,13 @@ const Zo = (o) => {
1310
1311
  } = o, e[0] = o, e[1] = t, e[2] = n, e[3] = r, e[4] = i, e[5] = l) : (t = e[1], n = e[2], r = e[3], i = e[4], l = e[5]);
1311
1312
  const c = l === void 0 ? !0 : l;
1312
1313
  let a;
1313
- e[6] !== n || e[7] !== r ? (a = _n(n, r), e[6] = n, e[7] = r, e[8] = a) : a = e[8];
1314
+ e[6] !== n || e[7] !== r ? (a = zn(n, r), e[6] = n, e[7] = r, e[8] = a) : a = e[8];
1314
1315
  const d = a, u = `${t}.500/15`;
1315
1316
  let f;
1316
- e[9] !== d || e[10] !== t || e[11] !== n || e[12] !== c ? (f = c && Jo(n) ? /* @__PURE__ */ s(ce, { as: d, boxSize: "icon-xs", color: `${t}.500` }) : /* @__PURE__ */ s(G, { boxSize: "tag-swatch-dot", borderRadius: "full", bg: `${t}.500` }), e[9] = d, e[10] = t, e[11] = n, e[12] = c, e[13] = f) : f = e[13];
1317
+ e[9] !== d || e[10] !== t || e[11] !== n || e[12] !== c ? (f = c && nr(n) ? /* @__PURE__ */ s(ce, { as: d, boxSize: "icon-xs", color: `${t}.500` }) : /* @__PURE__ */ s(G, { boxSize: "tag-swatch-dot", borderRadius: "full", bg: `${t}.500` }), e[9] = d, e[10] = t, e[11] = n, e[12] = c, e[13] = f) : f = e[13];
1317
1318
  let h;
1318
- return e[14] !== i || e[15] !== u || e[16] !== f ? (h = /* @__PURE__ */ s(sn, { boxSize: "tag-swatch", flexShrink: 0, borderRadius: "compact", bg: u, ...i, children: f }), e[14] = i, e[15] = u, e[16] = f, e[17] = h) : h = e[17], h;
1319
- }, tr = Pe("button", {
1319
+ return e[14] !== i || e[15] !== u || e[16] !== f ? (h = /* @__PURE__ */ s(dn, { boxSize: "tag-swatch", flexShrink: 0, borderRadius: "compact", bg: u, ...i, children: f }), e[14] = i, e[15] = u, e[16] = f, e[17] = h) : h = e[17], h;
1320
+ }, rr = Pe("button", {
1320
1321
  base: {
1321
1322
  display: "inline-flex",
1322
1323
  borderRadius: "compact",
@@ -1327,7 +1328,7 @@ const Zo = (o) => {
1327
1328
  opacity: 0.5
1328
1329
  }
1329
1330
  }
1330
- }), nr = Pe("button", {
1331
+ }), lr = Pe("button", {
1331
1332
  base: {
1332
1333
  boxSize: "tag-color-dot",
1333
1334
  borderRadius: "full",
@@ -1340,7 +1341,7 @@ const Zo = (o) => {
1340
1341
  outlineColor: "fg"
1341
1342
  }
1342
1343
  }
1343
- }), or = Pe("button", {
1344
+ }), ir = Pe("button", {
1344
1345
  base: {
1345
1346
  display: "inline-flex",
1346
1347
  alignItems: "center",
@@ -1353,8 +1354,8 @@ const Zo = (o) => {
1353
1354
  bg: "bg.hover"
1354
1355
  }
1355
1356
  }
1356
- }), rr = (o) => {
1357
- const e = $(39), {
1357
+ }), sr = (o) => {
1358
+ const e = k(39), {
1358
1359
  color: t,
1359
1360
  colorOptions: n,
1360
1361
  icon: r,
@@ -1366,53 +1367,53 @@ const Zo = (o) => {
1366
1367
  colorLabel: u,
1367
1368
  iconLabel: f,
1368
1369
  "aria-label": h
1369
- } = o, m = n === void 0 ? Nn : n, p = i === void 0 ? zn : i, g = d === void 0 ? !0 : d, x = u === void 0 ? "Color" : u, b = f === void 0 ? "Icon" : f, E = h === void 0 ? "Pick color and icon" : h, P = r === "circle" ? null : r ?? null;
1370
- let k;
1371
- e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (k = {
1370
+ } = o, m = n === void 0 ? Bn : n, p = i === void 0 ? Nn : i, g = d === void 0 ? !0 : d, S = u === void 0 ? "Color" : u, b = f === void 0 ? "Icon" : f, x = h === void 0 ? "Pick color and icon" : h, w = r === "circle" ? null : r ?? null;
1371
+ let I;
1372
+ e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (I = {
1372
1373
  placement: "bottom-start"
1373
- }, e[0] = k) : k = e[0];
1374
- let v;
1375
- e[1] !== t || e[2] !== r || e[3] !== p || e[4] !== g ? (v = /* @__PURE__ */ s(er, { color: t, icon: r, iconOptions: p, showIcon: g }), e[1] = t, e[2] = r, e[3] = p, e[4] = g, e[5] = v) : v = e[5];
1376
- let O;
1377
- e[6] !== E || e[7] !== a || e[8] !== v ? (O = /* @__PURE__ */ s(Ye.Trigger, { asChild: !0, children: /* @__PURE__ */ s(tr, { type: "button", disabled: a, "aria-label": E, children: v }) }), e[6] = E, e[7] = a, e[8] = v, e[9] = O) : O = e[9];
1378
- const T = g ? "tag-picker" : "tag-picker-color-only";
1379
- let A;
1380
- e[10] !== x ? (A = /* @__PURE__ */ s(F, { textStyle: "label/S/medium", color: "fg.muted", children: x }), e[10] = x, e[11] = A) : A = e[11];
1381
- const w = `repeat(${g ? 10 : 5}, 1fr)`;
1374
+ }, e[0] = I) : I = e[0];
1382
1375
  let y;
1376
+ e[1] !== t || e[2] !== r || e[3] !== p || e[4] !== g ? (y = /* @__PURE__ */ s(or, { color: t, icon: r, iconOptions: p, showIcon: g }), e[1] = t, e[2] = r, e[3] = p, e[4] = g, e[5] = y) : y = e[5];
1377
+ let L;
1378
+ e[6] !== x || e[7] !== a || e[8] !== y ? (L = /* @__PURE__ */ s(Ke.Trigger, { asChild: !0, children: /* @__PURE__ */ s(rr, { type: "button", disabled: a, "aria-label": x, children: y }) }), e[6] = x, e[7] = a, e[8] = y, e[9] = L) : L = e[9];
1379
+ const R = g ? "tag-picker" : "tag-picker-color-only";
1380
+ let E;
1381
+ e[10] !== S ? (E = /* @__PURE__ */ s(H, { textStyle: "label/S/medium", color: "fg.muted", children: S }), e[10] = S, e[11] = E) : E = e[11];
1382
+ const P = `repeat(${g ? 10 : 5}, 1fr)`;
1383
+ let C;
1383
1384
  if (e[12] !== t || e[13] !== m || e[14] !== l) {
1384
- let C;
1385
- e[16] !== t || e[17] !== l ? (C = (N) => /* @__PURE__ */ s(nr, { type: "button", bg: `${N}.500`, "aria-label": N, "aria-pressed": N === t, "data-selected": N === t ? "" : void 0, onClick: () => l(N) }, N), e[16] = t, e[17] = l, e[18] = C) : C = e[18], y = m.map(C), e[12] = t, e[13] = m, e[14] = l, e[15] = y;
1385
+ let T;
1386
+ e[16] !== t || e[17] !== l ? (T = (N) => /* @__PURE__ */ s(lr, { type: "button", bg: `${N}.500`, "aria-label": N, "aria-pressed": N === t, "data-selected": N === t ? "" : void 0, onClick: () => l(N) }, N), e[16] = t, e[17] = l, e[18] = T) : T = e[18], C = m.map(T), e[12] = t, e[13] = m, e[14] = l, e[15] = C;
1386
1387
  } else
1387
- y = e[15];
1388
- let L;
1389
- e[19] !== w || e[20] !== y ? (L = /* @__PURE__ */ s(ht, { templateColumns: w, gap: "2xs", justifyItems: "center", children: y }), e[19] = w, e[20] = y, e[21] = L) : L = e[21];
1388
+ C = e[15];
1389
+ let O;
1390
+ e[19] !== P || e[20] !== C ? (O = /* @__PURE__ */ s(pt, { templateColumns: P, gap: "2xs", justifyItems: "center", children: C }), e[19] = P, e[20] = C, e[21] = O) : O = e[21];
1390
1391
  let z;
1391
- e[22] !== t || e[23] !== b || e[24] !== p || e[25] !== c || e[26] !== P || e[27] !== g ? (z = g ? /* @__PURE__ */ S(He, { children: [
1392
+ e[22] !== t || e[23] !== b || e[24] !== p || e[25] !== c || e[26] !== w || e[27] !== g ? (z = g ? /* @__PURE__ */ v(Me, { children: [
1392
1393
  /* @__PURE__ */ s(G, { borderTop: "subtle" }),
1393
- /* @__PURE__ */ s(F, { textStyle: "label/S/medium", color: "fg.muted", children: b }),
1394
- /* @__PURE__ */ s(ht, { templateColumns: "repeat(8, 1fr)", gap: "3xs", justifyItems: "center", children: p.map((C) => {
1395
- const N = C.value === P;
1396
- return /* @__PURE__ */ s(or, { type: "button", color: N ? `${t}.500` : void 0, bg: N ? `${t}.500/15` : void 0, _hover: N ? {
1394
+ /* @__PURE__ */ s(H, { textStyle: "label/S/medium", color: "fg.muted", children: b }),
1395
+ /* @__PURE__ */ s(pt, { templateColumns: "repeat(8, 1fr)", gap: "3xs", justifyItems: "center", children: p.map((T) => {
1396
+ const N = T.value === w;
1397
+ return /* @__PURE__ */ s(ir, { type: "button", color: N ? `${t}.500` : void 0, bg: N ? `${t}.500/15` : void 0, _hover: N ? {
1397
1398
  bg: `${t}.500/15`
1398
- } : void 0, "aria-label": C.label, "aria-pressed": N, onClick: () => c?.(C.value), children: /* @__PURE__ */ s(ce, { as: C.icon, boxSize: "icon-xs" }) }, C.value ?? "none");
1399
+ } : void 0, "aria-label": T.label, "aria-pressed": N, onClick: () => c?.(T.value), children: /* @__PURE__ */ s(ce, { as: T.icon, boxSize: "icon-xs" }) }, T.value ?? "none");
1399
1400
  }) })
1400
- ] }) : null, e[22] = t, e[23] = b, e[24] = p, e[25] = c, e[26] = P, e[27] = g, e[28] = z) : z = e[28];
1401
- let I;
1402
- e[29] !== A || e[30] !== L || e[31] !== z ? (I = /* @__PURE__ */ S(Q, { gap: "compact", p: "sm", children: [
1403
- A,
1404
- L,
1401
+ ] }) : null, e[22] = t, e[23] = b, e[24] = p, e[25] = c, e[26] = w, e[27] = g, e[28] = z) : z = e[28];
1402
+ let A;
1403
+ e[29] !== E || e[30] !== O || e[31] !== z ? (A = /* @__PURE__ */ v(Q, { gap: "compact", p: "sm", children: [
1404
+ E,
1405
+ O,
1405
1406
  z
1406
- ] }), e[29] = A, e[30] = L, e[31] = z, e[32] = I) : I = e[32];
1407
+ ] }), e[29] = E, e[30] = O, e[31] = z, e[32] = A) : A = e[32];
1407
1408
  let _;
1408
- e[33] !== I || e[34] !== T ? (_ = /* @__PURE__ */ s(Je, { children: /* @__PURE__ */ s(Ye.Positioner, { children: /* @__PURE__ */ s(Ye.Content, { width: T, bg: "bg.elevated", children: I }) }) }), e[33] = I, e[34] = T, e[35] = _) : _ = e[35];
1409
- let R;
1410
- return e[36] !== _ || e[37] !== O ? (R = /* @__PURE__ */ S(Ye.Root, { positioning: k, children: [
1411
- O,
1409
+ e[33] !== A || e[34] !== R ? (_ = /* @__PURE__ */ s(Je, { children: /* @__PURE__ */ s(Ke.Positioner, { children: /* @__PURE__ */ s(Ke.Content, { width: R, bg: "bg.elevated", children: A }) }) }), e[33] = A, e[34] = R, e[35] = _) : _ = e[35];
1410
+ let $;
1411
+ return e[36] !== _ || e[37] !== L ? ($ = /* @__PURE__ */ v(Ke.Root, { positioning: I, children: [
1412
+ L,
1412
1413
  _
1413
- ] }), e[36] = _, e[37] = O, e[38] = R) : R = e[38], R;
1414
- }, lr = (o) => {
1415
- const e = $(6);
1414
+ ] }), e[36] = _, e[37] = L, e[38] = $) : $ = e[38], $;
1415
+ }, ar = (o) => {
1416
+ const e = k(6);
1416
1417
  let t, n;
1417
1418
  e[0] !== o ? ({
1418
1419
  children: t,
@@ -1420,8 +1421,8 @@ const Zo = (o) => {
1420
1421
  } = o, e[0] = o, e[1] = t, e[2] = n) : (t = e[1], n = e[2]);
1421
1422
  let r;
1422
1423
  return e[3] !== t || e[4] !== n ? (r = /* @__PURE__ */ s(G, { borderWidth: "1px", borderColor: "border.subtle", borderRadius: "xs", bg: "bg", ...n, children: t }), e[3] = t, e[4] = n, e[5] = r) : r = e[5], r;
1423
- }, ir = (o) => {
1424
- const e = $(6);
1424
+ }, cr = (o) => {
1425
+ const e = k(6);
1425
1426
  let t, n;
1426
1427
  e[0] !== o ? ({
1427
1428
  children: t,
@@ -1429,8 +1430,8 @@ const Zo = (o) => {
1429
1430
  } = o, e[0] = o, e[1] = t, e[2] = n) : (t = e[1], n = e[2]);
1430
1431
  let r;
1431
1432
  return e[3] !== t || e[4] !== n ? (r = /* @__PURE__ */ s(G, { p: "md", ...n, children: t }), e[3] = t, e[4] = n, e[5] = r) : r = e[5], r;
1432
- }, mi = (o) => {
1433
- const e = $(30), {
1433
+ }, Ri = (o) => {
1434
+ const e = k(30), {
1434
1435
  icon: t,
1435
1436
  name: n,
1436
1437
  description: r,
@@ -1443,45 +1444,45 @@ const Zo = (o) => {
1443
1444
  let f;
1444
1445
  e[0] !== t ? (f = /* @__PURE__ */ s(ce, { boxSize: "1em", fontSize: "2xl", flexShrink: "0", color: "fg.muted", children: t }), e[0] = t, e[1] = f) : f = e[1];
1445
1446
  let h;
1446
- e[2] !== n ? (h = /* @__PURE__ */ s(F, { textStyle: "sm", fontWeight: "semibold", children: n }), e[2] = n, e[3] = h) : h = e[3];
1447
+ e[2] !== n ? (h = /* @__PURE__ */ s(H, { textStyle: "sm", fontWeight: "semibold", children: n }), e[2] = n, e[3] = h) : h = e[3];
1447
1448
  let m;
1448
1449
  e[4] !== i ? (m = /* @__PURE__ */ s(Te, { size: "sm", variant: "outline", children: i }), e[4] = i, e[5] = m) : m = e[5];
1449
1450
  let p;
1450
- e[6] !== l ? (p = l && /* @__PURE__ */ S(Te, { size: "sm", variant: "outline", children: [
1451
+ e[6] !== l ? (p = l && /* @__PURE__ */ v(Te, { size: "sm", variant: "outline", children: [
1451
1452
  "v",
1452
1453
  l
1453
1454
  ] }), e[6] = l, e[7] = p) : p = e[7];
1454
1455
  let g;
1455
1456
  e[8] !== c ? (g = c && /* @__PURE__ */ s(Te, { size: "sm", variant: "outline", children: c }), e[8] = c, e[9] = g) : g = e[9];
1456
- let x;
1457
- e[10] !== h || e[11] !== m || e[12] !== p || e[13] !== g ? (x = /* @__PURE__ */ S(ae, { gap: "2", flexWrap: "wrap", children: [
1457
+ let S;
1458
+ e[10] !== h || e[11] !== m || e[12] !== p || e[13] !== g ? (S = /* @__PURE__ */ v(ae, { gap: "2", flexWrap: "wrap", children: [
1458
1459
  h,
1459
1460
  m,
1460
1461
  p,
1461
1462
  g
1462
- ] }), e[10] = h, e[11] = m, e[12] = p, e[13] = g, e[14] = x) : x = e[14];
1463
+ ] }), e[10] = h, e[11] = m, e[12] = p, e[13] = g, e[14] = S) : S = e[14];
1463
1464
  let b;
1464
- e[15] !== r ? (b = /* @__PURE__ */ s(F, { color: "fg.muted", children: r }), e[15] = r, e[16] = b) : b = e[16];
1465
- let E;
1466
- e[17] !== x || e[18] !== b ? (E = /* @__PURE__ */ s(G, { flex: "1", minW: "0", children: /* @__PURE__ */ S(Q, { gap: "1", children: [
1467
- x,
1465
+ e[15] !== r ? (b = /* @__PURE__ */ s(H, { color: "fg.muted", children: r }), e[15] = r, e[16] = b) : b = e[16];
1466
+ let x;
1467
+ e[17] !== S || e[18] !== b ? (x = /* @__PURE__ */ s(G, { flex: "1", minW: "0", children: /* @__PURE__ */ v(Q, { gap: "1", children: [
1468
+ S,
1468
1469
  b
1469
- ] }) }), e[17] = x, e[18] = b, e[19] = E) : E = e[19];
1470
- let P;
1471
- e[20] !== u ? (P = u && /* @__PURE__ */ s(ce, { color: "fg.success", children: /* @__PURE__ */ s(et, {}) }), e[20] = u, e[21] = P) : P = e[21];
1472
- const k = d ?? (u ? "Active" : "Connect");
1473
- let v;
1474
- e[22] !== u || e[23] !== k || e[24] !== P ? (v = /* @__PURE__ */ S(ue, { type: "button", disabled: u, size: "sm", variant: "outline", colorPalette: "gray", bg: "bg", flexShrink: "0", children: [
1475
- P,
1476
- k
1477
- ] }), e[22] = u, e[23] = k, e[24] = P, e[25] = v) : v = e[25];
1478
- let O;
1479
- return e[26] !== f || e[27] !== v || e[28] !== E ? (O = /* @__PURE__ */ s(lr, { children: /* @__PURE__ */ s(ir, { children: /* @__PURE__ */ S(ae, { gap: "4", alignItems: "flex-start", children: [
1470
+ ] }) }), e[17] = S, e[18] = b, e[19] = x) : x = e[19];
1471
+ let w;
1472
+ e[20] !== u ? (w = u && /* @__PURE__ */ s(ce, { color: "fg.success", children: /* @__PURE__ */ s(et, {}) }), e[20] = u, e[21] = w) : w = e[21];
1473
+ const I = d ?? (u ? "Active" : "Connect");
1474
+ let y;
1475
+ e[22] !== u || e[23] !== I || e[24] !== w ? (y = /* @__PURE__ */ v(ue, { type: "button", disabled: u, size: "sm", variant: "outline", colorPalette: "gray", bg: "bg", flexShrink: "0", children: [
1476
+ w,
1477
+ I
1478
+ ] }), e[22] = u, e[23] = I, e[24] = w, e[25] = y) : y = e[25];
1479
+ let L;
1480
+ return e[26] !== f || e[27] !== y || e[28] !== x ? (L = /* @__PURE__ */ s(ar, { children: /* @__PURE__ */ s(cr, { children: /* @__PURE__ */ v(ae, { gap: "4", alignItems: "flex-start", children: [
1480
1481
  f,
1481
- E,
1482
- v
1483
- ] }) }) }), e[26] = f, e[27] = v, e[28] = E, e[29] = O) : O = e[29], O;
1484
- }, sr = an({
1482
+ x,
1483
+ y
1484
+ ] }) }) }), e[26] = f, e[27] = y, e[28] = x, e[29] = L) : L = e[29], L;
1485
+ }, dr = un({
1485
1486
  className: "ps-segmented-control",
1486
1487
  slots: ["root", "item"],
1487
1488
  base: {
@@ -1550,12 +1551,12 @@ const Zo = (o) => {
1550
1551
  size: "sm"
1551
1552
  }
1552
1553
  }), {
1553
- withProvider: ar,
1554
- withContext: cr
1555
- } = cn({
1556
- recipe: sr
1557
- }), dr = ar("div", "root"), ur = cr("button", "item"), pi = (o) => {
1558
- const e = $(20);
1554
+ withProvider: ur,
1555
+ withContext: fr
1556
+ } = ut({
1557
+ recipe: dr
1558
+ }), hr = ur("div", "root"), mr = fr("button", "item"), ki = (o) => {
1559
+ const e = k(20);
1559
1560
  let t, n, r, i, l, c;
1560
1561
  e[0] !== o ? ({
1561
1562
  options: i,
@@ -1570,29 +1571,29 @@ const Zo = (o) => {
1570
1571
  let u;
1571
1572
  e[12] !== n || e[13] !== r || e[14] !== c ? (u = (f) => {
1572
1573
  const h = f.value === c;
1573
- return /* @__PURE__ */ s(ur, { type: "button", "aria-pressed": h, "data-selected": h ? "" : void 0, disabled: n, onClick: () => r(f.value), children: f.label }, f.value);
1574
+ return /* @__PURE__ */ s(mr, { type: "button", "aria-pressed": h, "data-selected": h ? "" : void 0, disabled: n, onClick: () => r(f.value), children: f.label }, f.value);
1574
1575
  }, e[12] = n, e[13] = r, e[14] = c, e[15] = u) : u = e[15], a = i.map(u), e[7] = n, e[8] = r, e[9] = i, e[10] = c, e[11] = a;
1575
1576
  } else
1576
1577
  a = e[11];
1577
1578
  let d;
1578
- return e[16] !== t || e[17] !== l || e[18] !== a ? (d = /* @__PURE__ */ s(dr, { role: "group", "aria-label": t, ...l, children: a }), e[16] = t, e[17] = l, e[18] = a, e[19] = d) : d = e[19], d;
1579
- }, fr = dn({
1579
+ return e[16] !== t || e[17] !== l || e[18] !== a ? (d = /* @__PURE__ */ s(hr, { role: "group", "aria-label": t, ...l, children: a }), e[16] = t, e[17] = l, e[18] = a, e[19] = d) : d = e[19], d;
1580
+ }, pr = fn({
1580
1581
  placement: "top",
1581
1582
  pauseOnPageIdle: !0,
1582
1583
  duration: 1e4
1583
- }), gi = () => {
1584
- const o = $(1);
1584
+ }), Ei = () => {
1585
+ const o = k(1);
1585
1586
  let e;
1586
- return o[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ s(Je, { children: /* @__PURE__ */ s(un, { toaster: fr, insetInline: {
1587
+ return o[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ s(Je, { children: /* @__PURE__ */ s(hn, { toaster: pr, insetInline: {
1587
1588
  mdDown: "4"
1588
- }, children: hr }) }), o[0] = e) : e = o[0], e;
1589
+ }, children: gr }) }), o[0] = e) : e = o[0], e;
1589
1590
  };
1590
- function hr(o) {
1591
- return /* @__PURE__ */ S(Ne.Root, { width: {
1591
+ function gr(o) {
1592
+ return /* @__PURE__ */ v(Ne.Root, { width: {
1592
1593
  md: "sm"
1593
1594
  }, alignItems: "start", borderRadius: "xs", gap: "xs", px: "sm", py: "xs", minH: "auto", children: [
1594
- o.type === "loading" ? /* @__PURE__ */ s(Mt, { size: "sm", color: "blue.solid" }) : /* @__PURE__ */ s(Ne.Indicator, {}),
1595
- /* @__PURE__ */ S(Q, { gap: "0", flex: "1", minWidth: "0", maxWidth: "100%", children: [
1595
+ o.type === "loading" ? /* @__PURE__ */ s(Gt, { size: "sm", color: "blue.solid" }) : /* @__PURE__ */ s(Ne.Indicator, {}),
1596
+ /* @__PURE__ */ v(Q, { gap: "0", flex: "1", minWidth: "0", maxWidth: "100%", children: [
1596
1597
  o.title && /* @__PURE__ */ s(Ne.Title, { textStyle: "label/S/medium", children: o.title }),
1597
1598
  o.description && /* @__PURE__ */ s(tt, { maxHeight: "12rem", contentProps: {
1598
1599
  paddingEnd: "1"
@@ -1602,8 +1603,8 @@ function hr(o) {
1602
1603
  /* @__PURE__ */ s(Ne.CloseTrigger, {})
1603
1604
  ] });
1604
1605
  }
1605
- const bi = (o) => {
1606
- const e = $(6);
1606
+ const $i = (o) => {
1607
+ const e = k(6);
1607
1608
  let t, n;
1608
1609
  e[0] !== o ? ({
1609
1610
  children: t,
@@ -1611,22 +1612,22 @@ const bi = (o) => {
1611
1612
  } = o, e[0] = o, e[1] = t, e[2] = n) : (t = e[1], n = e[2]);
1612
1613
  let r;
1613
1614
  return e[3] !== t || e[4] !== n ? (r = /* @__PURE__ */ s(Q, { gap: "sm", minW: "0", ...n, children: t }), e[3] = t, e[4] = n, e[5] = r) : r = e[5], r;
1614
- }, Ct = {
1615
+ }, It = {
1615
1616
  open: !0,
1616
1617
  expandedSections: [],
1617
1618
  expandedNodes: [],
1618
1619
  width: null
1619
- }, mr = "pstdio/ui/sidenav", pr = (o) => `${mr}/${o}`, wt = (o, e) => o.includes(e) ? o.filter((t) => t !== e) : [...o, e], It = (o, e, t) => t ? o.includes(e) ? o : [...o, e] : o.filter((n) => n !== e), gr = (o) => ({
1620
+ }, br = "pstdio/ui/sidenav", Sr = (o) => `${br}/${o}`, Tt = (o, e) => o.includes(e) ? o.filter((t) => t !== e) : [...o, e], Pt = (o, e, t) => t ? o.includes(e) ? o : [...o, e] : o.filter((n) => n !== e), xr = (o) => ({
1620
1621
  open: o.open,
1621
1622
  expandedSections: o.expandedSections,
1622
1623
  expandedNodes: o.expandedNodes,
1623
1624
  width: o.width
1624
- }), br = (o) => {
1625
+ }), vr = (o) => {
1625
1626
  const {
1626
1627
  storageKey: e,
1627
1628
  initialState: t
1628
1629
  } = o, n = {
1629
- ...Ct,
1630
+ ...It,
1630
1631
  ...t
1631
1632
  };
1632
1633
  return lt()(ot((r) => ({
@@ -1645,66 +1646,66 @@ const bi = (o) => {
1645
1646
  })),
1646
1647
  toggleSection: (i) => r((l) => ({
1647
1648
  ...l,
1648
- expandedSections: wt(l.expandedSections, i)
1649
+ expandedSections: Tt(l.expandedSections, i)
1649
1650
  })),
1650
1651
  toggleNode: (i) => r((l) => ({
1651
1652
  ...l,
1652
- expandedNodes: wt(l.expandedNodes, i)
1653
+ expandedNodes: Tt(l.expandedNodes, i)
1653
1654
  })),
1654
1655
  setSectionExpanded: (i, l) => r((c) => ({
1655
1656
  ...c,
1656
- expandedSections: It(c.expandedSections, i, l)
1657
+ expandedSections: Pt(c.expandedSections, i, l)
1657
1658
  })),
1658
1659
  setNodeExpanded: (i, l) => r((c) => ({
1659
1660
  ...c,
1660
- expandedNodes: It(c.expandedNodes, i, l)
1661
+ expandedNodes: Pt(c.expandedNodes, i, l)
1661
1662
  })),
1662
1663
  setWidth: (i) => r((l) => ({
1663
1664
  ...l,
1664
1665
  width: i
1665
1666
  })),
1666
- reset: () => r(Ct)
1667
+ reset: () => r(It)
1667
1668
  }), {
1668
- name: pr(e),
1669
- storage: rt(Me),
1670
- partialize: gr
1669
+ name: Sr(e),
1670
+ storage: rt(Ve),
1671
+ partialize: xr
1671
1672
  }));
1672
- }, Tt = /* @__PURE__ */ new Map(), Sr = (o, e) => {
1673
- const t = Tt.get(o);
1673
+ }, At = /* @__PURE__ */ new Map(), yr = (o, e) => {
1674
+ const t = At.get(o);
1674
1675
  if (t)
1675
1676
  return t;
1676
- const n = br({
1677
+ const n = vr({
1677
1678
  storageKey: o,
1678
1679
  initialState: e
1679
1680
  });
1680
- return Tt.set(o, n), n;
1681
+ return At.set(o, n), n;
1681
1682
  }, Be = (o, e, t) => {
1682
- const n = $(3);
1683
+ const n = k(3);
1683
1684
  let r;
1684
- return n[0] !== t || n[1] !== o ? (r = Sr(o, t), n[0] = t, n[1] = o, n[2] = r) : r = n[2], nt(r, e);
1685
- }, xr = (o) => {
1686
- const e = $(2), {
1685
+ return n[0] !== t || n[1] !== o ? (r = yr(o, t), n[0] = t, n[1] = o, n[2] = r) : r = n[2], nt(r, e);
1686
+ }, Cr = (o) => {
1687
+ const e = k(2), {
1687
1688
  children: t
1688
1689
  } = o;
1689
1690
  if (!t)
1690
1691
  return null;
1691
1692
  let n;
1692
1693
  return e[0] !== t ? (n = /* @__PURE__ */ s(G, { bg: "bg", position: "sticky", bottom: "0", overflow: "hidden", children: t }), e[0] = t, e[1] = n) : n = e[1], n;
1693
- }, vr = (o) => {
1694
- const e = $(2), {
1694
+ }, wr = (o) => {
1695
+ const e = k(2), {
1695
1696
  children: t
1696
1697
  } = o;
1697
1698
  let n;
1698
- return e[0] !== t ? (n = /* @__PURE__ */ s(ae, { "data-testid": "sidenav-header", justify: "space-between", align: "center", minH: Ro, bg: "bg", position: "sticky", top: "0", zIndex: "1", gap: "0", children: /* @__PURE__ */ s(ae, { minW: "0", flex: "1", children: t }) }), e[0] = t, e[1] = n) : n = e[1], n;
1699
- }, yr = 240, Cr = 200, wr = 480, Ir = (o, e, t) => Math.min(Math.max(o, e), t), Tr = (o, e = yr) => {
1699
+ return e[0] !== t ? (n = /* @__PURE__ */ s(ae, { "data-testid": "sidenav-header", justify: "space-between", align: "center", minH: $o, bg: "bg", position: "sticky", top: "0", zIndex: "1", gap: "0", children: /* @__PURE__ */ s(ae, { minW: "0", flex: "1", children: t }) }), e[0] = t, e[1] = n) : n = e[1], n;
1700
+ }, Ir = 240, Tr = 200, Pr = 480, Ar = (o, e, t) => Math.min(Math.max(o, e), t), Rr = (o, e = Ir) => {
1700
1701
  if (typeof o == "number") return o;
1701
1702
  if (typeof o == "string") {
1702
1703
  const t = parseInt(o, 10);
1703
1704
  if (!Number.isNaN(t)) return t;
1704
1705
  }
1705
1706
  return e;
1706
- }, Si = (o) => {
1707
- const e = $(43), {
1707
+ }, Di = (o) => {
1708
+ const e = k(43), {
1708
1709
  storageKey: t,
1709
1710
  sections: n,
1710
1711
  activeNodeId: r,
@@ -1719,40 +1720,40 @@ const bi = (o) => {
1719
1720
  onNavigate: m,
1720
1721
  onOpenChange: p,
1721
1722
  resizable: g,
1722
- defaultWidth: x,
1723
+ defaultWidth: S,
1723
1724
  minWidth: b,
1724
- maxWidth: E,
1725
- virtualize: P
1725
+ maxWidth: x,
1726
+ virtualize: w
1726
1727
  } = o;
1727
- let k;
1728
- e[0] !== i ? (k = i === void 0 ? [] : i, e[0] = i, e[1] = k) : k = e[1];
1729
- const v = k, O = d === void 0 ? !0 : d, T = u === void 0 ? "No items available." : u, A = g === void 0 ? !0 : g, w = b === void 0 ? Cr : b, y = E === void 0 ? wr : E, L = P === void 0 ? !1 : P, z = je(null);
1730
1728
  let I;
1731
- e[2] !== x || e[3] !== a ? (I = Tr(a, x), e[2] = x, e[3] = a, e[4] = I) : I = e[4];
1732
- const _ = I;
1733
- let R;
1734
- e[5] !== f ? (R = f ? {
1729
+ e[0] !== i ? (I = i === void 0 ? [] : i, e[0] = i, e[1] = I) : I = e[1];
1730
+ const y = I, L = d === void 0 ? !0 : d, R = u === void 0 ? "No items available." : u, E = g === void 0 ? !0 : g, P = b === void 0 ? Tr : b, C = x === void 0 ? Pr : x, O = w === void 0 ? !1 : w, z = He(null);
1731
+ let A;
1732
+ e[2] !== S || e[3] !== a ? (A = Rr(a, S), e[2] = S, e[3] = a, e[4] = A) : A = e[4];
1733
+ const _ = A;
1734
+ let $;
1735
+ e[5] !== f ? ($ = f ? {
1735
1736
  expandedSections: f
1736
- } : {}, e[5] = f, e[6] = R) : R = e[6];
1737
- let C;
1738
- e[7] !== _ || e[8] !== R ? (C = {
1739
- ...R,
1737
+ } : {}, e[5] = f, e[6] = $) : $ = e[6];
1738
+ let T;
1739
+ e[7] !== _ || e[8] !== $ ? (T = {
1740
+ ...$,
1740
1741
  width: _
1741
- }, e[7] = _, e[8] = R, e[9] = C) : C = e[9];
1742
- const N = C, H = Be(t, Pr, N), q = Be(t, Ar, N), B = Be(t, Rr, N), W = Be(t, Er, N), D = Be(t, kr, N), X = Be(t, $r, N);
1742
+ }, e[7] = _, e[8] = $, e[9] = T) : T = e[9];
1743
+ const N = T, F = Be(t, kr, N), X = Be(t, Er, N), B = Be(t, $r, N), W = Be(t, Dr, N), D = Be(t, Lr, N), q = Be(t, Or, N);
1743
1744
  let j, V;
1744
- e[10] !== p || e[11] !== H ? (j = () => {
1745
- p?.(H);
1746
- }, V = [p, H], e[10] = p, e[11] = H, e[12] = j, e[13] = V) : (j = e[12], V = e[13]), ge(j, V);
1747
- const U = q ?? _;
1748
- let Y;
1749
- e[14] !== y || e[15] !== w || e[16] !== U ? (Y = Ir(U, w, y), e[14] = y, e[15] = w, e[16] = U, e[17] = Y) : Y = e[17];
1750
- const se = Y;
1751
- if (!H && O)
1745
+ e[10] !== p || e[11] !== F ? (j = () => {
1746
+ p?.(F);
1747
+ }, V = [p, F], e[10] = p, e[11] = F, e[12] = j, e[13] = V) : (j = e[12], V = e[13]), me(j, V);
1748
+ const U = X ?? _;
1749
+ let K;
1750
+ e[14] !== C || e[15] !== P || e[16] !== U ? (K = Ar(U, P, C), e[14] = C, e[15] = P, e[16] = U, e[17] = K) : K = e[17];
1751
+ const se = K;
1752
+ if (!F && L)
1752
1753
  return null;
1753
- const J = A ? `${se}px` : a ?? `${_}px`;
1754
+ const J = E ? `${se}px` : a ?? `${_}px`;
1754
1755
  let ee;
1755
- e[18] !== l ? (ee = /* @__PURE__ */ s(vr, { children: l }), e[18] = l, e[19] = ee) : ee = e[19];
1756
+ e[18] !== l ? (ee = /* @__PURE__ */ s(wr, { children: l }), e[18] = l, e[19] = ee) : ee = e[19];
1756
1757
  let re, te;
1757
1758
  e[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (re = {
1758
1759
  display: "block",
@@ -1769,40 +1770,40 @@ const bi = (o) => {
1769
1770
  }
1770
1771
  }, e[20] = re, e[21] = te) : (re = e[20], te = e[21]);
1771
1772
  let le;
1772
- e[22] !== r || e[23] !== T || e[24] !== W || e[25] !== B || e[26] !== h || e[27] !== m || e[28] !== n || e[29] !== X || e[30] !== D || e[31] !== L ? (le = /* @__PURE__ */ s(tt, { flex: "1", mt: "lg", viewportRef: z, viewportProps: re, contentProps: te, children: /* @__PURE__ */ s(G, { w: "full", minW: "0", flex: "1 0 auto", display: "flex", flexDirection: "column", children: n.length === 0 ? /* @__PURE__ */ s(F, { textStyle: "paragraph/S/regular", color: "fg.muted", p: "3", children: T }) : /* @__PURE__ */ s(Ln, { sections: n, expandedSectionIds: B, expandedNodeIds: W, activeNodeId: r, rowVariant: "compact", sectionGap: "md", nodeGap: "1px", linkComponent: h, onNavigate: m, onToggleSection: D, onToggleNode: X, virtualize: L, scrollRef: z }) }) }), e[22] = r, e[23] = T, e[24] = W, e[25] = B, e[26] = h, e[27] = m, e[28] = n, e[29] = X, e[30] = D, e[31] = L, e[32] = le) : le = e[32];
1773
+ e[22] !== r || e[23] !== R || e[24] !== W || e[25] !== B || e[26] !== h || e[27] !== m || e[28] !== n || e[29] !== q || e[30] !== D || e[31] !== O ? (le = /* @__PURE__ */ s(tt, { flex: "1", mt: "lg", viewportRef: z, viewportProps: re, contentProps: te, children: /* @__PURE__ */ s(G, { w: "full", minW: "0", flex: "1 0 auto", display: "flex", flexDirection: "column", children: n.length === 0 ? /* @__PURE__ */ s(H, { textStyle: "paragraph/S/regular", color: "fg.muted", p: "3", children: R }) : /* @__PURE__ */ s(_n, { sections: n, expandedSectionIds: B, expandedNodeIds: W, activeNodeId: r, rowVariant: "compact", sectionGap: "md", nodeGap: "1px", linkComponent: h, onNavigate: m, onToggleSection: D, onToggleNode: q, virtualize: O, scrollRef: z }) }) }), e[22] = r, e[23] = R, e[24] = W, e[25] = B, e[26] = h, e[27] = m, e[28] = n, e[29] = q, e[30] = D, e[31] = O, e[32] = le) : le = e[32];
1773
1774
  let ne;
1774
- e[33] !== c ? (ne = /* @__PURE__ */ s(xr, { children: c }), e[33] = c, e[34] = ne) : ne = e[34];
1775
- let K;
1776
- e[35] !== ee || e[36] !== le || e[37] !== ne || e[38] !== J ? (K = /* @__PURE__ */ S(de, { as: "aside", "data-testid": "sidenav", direction: "column", position: "relative", h: "100%", w: J, minW: J, maxW: J, flexShrink: 0, borderRightWidth: "1px", borderRightColor: "border.subtle", bg: "bg", children: [
1775
+ e[33] !== c ? (ne = /* @__PURE__ */ s(Cr, { children: c }), e[33] = c, e[34] = ne) : ne = e[34];
1776
+ let Y;
1777
+ e[35] !== ee || e[36] !== le || e[37] !== ne || e[38] !== J ? (Y = /* @__PURE__ */ v(de, { as: "aside", "data-testid": "sidenav", direction: "column", position: "relative", h: "100%", w: J, minW: J, maxW: J, flexShrink: 0, borderRightWidth: "1px", borderRightColor: "border.subtle", bg: "bg", children: [
1777
1778
  ee,
1778
1779
  le,
1779
1780
  ne
1780
- ] }), e[35] = ee, e[36] = le, e[37] = ne, e[38] = J, e[39] = K) : K = e[39];
1781
- const ie = K;
1781
+ ] }), e[35] = ee, e[36] = le, e[37] = ne, e[38] = J, e[39] = Y) : Y = e[39];
1782
+ const ie = Y;
1782
1783
  let oe;
1783
- return e[40] !== ie || e[41] !== v ? (oe = /* @__PURE__ */ s(Qt, { actions: v, closeOnSelect: !1, children: ie }), e[40] = ie, e[41] = v, e[42] = oe) : oe = e[42], oe;
1784
+ return e[40] !== ie || e[41] !== y ? (oe = /* @__PURE__ */ s(Kt, { actions: y, closeOnSelect: !1, children: ie }), e[40] = ie, e[41] = y, e[42] = oe) : oe = e[42], oe;
1784
1785
  };
1785
- function Pr(o) {
1786
+ function kr(o) {
1786
1787
  return o.open;
1787
1788
  }
1788
- function Ar(o) {
1789
+ function Er(o) {
1789
1790
  return o.width;
1790
1791
  }
1791
- function Rr(o) {
1792
+ function $r(o) {
1792
1793
  return o.expandedSections;
1793
1794
  }
1794
- function Er(o) {
1795
+ function Dr(o) {
1795
1796
  return o.expandedNodes;
1796
1797
  }
1797
- function kr(o) {
1798
+ function Lr(o) {
1798
1799
  return o.toggleSection;
1799
1800
  }
1800
- function $r(o) {
1801
+ function Or(o) {
1801
1802
  return o.toggleNode;
1802
1803
  }
1803
- const Pt = {
1804
+ const Rt = {
1804
1805
  tabOverrides: {}
1805
- }, Dr = "pstdio/ui/tab-visibility", Or = (o) => `${Dr}/${o}`, Lr = (o, e) => o ?? (e ? "hidden" : "shown"), at = (o, e, t) => {
1806
+ }, _r = "pstdio/ui/tab-visibility", zr = (o) => `${_r}/${o}`, Nr = (o, e) => o ?? (e ? "hidden" : "shown"), ct = (o, e, t) => {
1806
1807
  if (t === void 0) {
1807
1808
  if (!(e in o)) return o;
1808
1809
  const {
@@ -1815,51 +1816,51 @@ const Pt = {
1815
1816
  ...o,
1816
1817
  [e]: t
1817
1818
  };
1818
- }, _r = (o, e, t) => {
1819
- const n = Lr(o[e], t);
1820
- return at(o, e, n === "hidden" ? "shown" : "hidden");
1821
- }, zr = (o) => ({
1819
+ }, Br = (o, e, t) => {
1820
+ const n = Nr(o[e], t);
1821
+ return ct(o, e, n === "hidden" ? "shown" : "hidden");
1822
+ }, Wr = (o) => ({
1822
1823
  tabOverrides: o.tabOverrides
1823
- }), Nr = (o) => lt()(ot((e) => ({
1824
- ...Pt,
1824
+ }), Hr = (o) => lt()(ot((e) => ({
1825
+ ...Rt,
1825
1826
  setTab: (t, n) => e((r) => ({
1826
1827
  ...r,
1827
- tabOverrides: at(r.tabOverrides, t, n)
1828
+ tabOverrides: ct(r.tabOverrides, t, n)
1828
1829
  })),
1829
1830
  toggleTab: (t, n) => e((r) => ({
1830
1831
  ...r,
1831
- tabOverrides: _r(r.tabOverrides, t, n)
1832
+ tabOverrides: Br(r.tabOverrides, t, n)
1832
1833
  })),
1833
1834
  clearTab: (t) => e((n) => ({
1834
1835
  ...n,
1835
- tabOverrides: at(n.tabOverrides, t, void 0)
1836
+ tabOverrides: ct(n.tabOverrides, t, void 0)
1836
1837
  })),
1837
- reset: () => e(Pt)
1838
+ reset: () => e(Rt)
1838
1839
  }), {
1839
- name: Or(o.storageKey),
1840
- storage: rt(Me),
1841
- partialize: zr
1842
- })), At = /* @__PURE__ */ new Map(), Br = (o) => {
1843
- const e = At.get(o);
1840
+ name: zr(o.storageKey),
1841
+ storage: rt(Ve),
1842
+ partialize: Wr
1843
+ })), kt = /* @__PURE__ */ new Map(), Fr = (o) => {
1844
+ const e = kt.get(o);
1844
1845
  if (e) return e;
1845
- const t = Nr({
1846
+ const t = Hr({
1846
1847
  storageKey: o
1847
1848
  });
1848
- return At.set(o, t), t;
1849
- }, xi = (o, e) => {
1850
- const t = $(2);
1849
+ return kt.set(o, t), t;
1850
+ }, Li = (o, e) => {
1851
+ const t = k(2);
1851
1852
  let n;
1852
- return t[0] !== o ? (n = Br(o), t[0] = o, t[1] = n) : n = t[1], nt(n, e);
1853
- }, Wr = (o, e) => typeof o == "string" ? o : e, Ve = (o, e) => o ?? (e ? "hidden" : "shown"), Rt = (o) => o.canHide === !0 || o.hiddenByDefault === !0, Fr = (o, e) => Ve(e[o.id], o.hiddenByDefault) === "shown", ut = (o, e) => {
1853
+ return t[0] !== o ? (n = Fr(o), t[0] = o, t[1] = n) : n = t[1], nt(n, e);
1854
+ }, Mr = (o, e) => typeof o == "string" ? o : e, Ge = (o, e) => o ?? (e ? "hidden" : "shown"), Et = (o) => o.canHide === !0 || o.hiddenByDefault === !0, Vr = (o, e) => Ge(e[o.id], o.hiddenByDefault) === "shown", ht = (o, e) => {
1854
1855
  let t = !1;
1855
1856
  const n = [];
1856
1857
  for (const r of o) {
1857
- if (!Fr(r, e)) {
1858
+ if (!Vr(r, e)) {
1858
1859
  t = !0;
1859
1860
  continue;
1860
1861
  }
1861
1862
  if (r.children && r.children.length > 0) {
1862
- const i = ut(r.children, e);
1863
+ const i = ht(r.children, e);
1863
1864
  if (i !== r.children) {
1864
1865
  t = !0, n.push({
1865
1866
  ...r,
@@ -1871,15 +1872,15 @@ const Pt = {
1871
1872
  n.push(r);
1872
1873
  }
1873
1874
  return t ? n : o;
1874
- }, vi = (o, e) => ut(o, e), yi = (o, e, t) => {
1875
+ }, Oi = (o, e) => ht(o, e), _i = (o, e, t) => {
1875
1876
  let n = !1;
1876
1877
  const r = [];
1877
1878
  for (const i of o) {
1878
- if (Ve(e[i.id], i.hiddenByDefault) === "hidden") {
1879
+ if (Ge(e[i.id], i.hiddenByDefault) === "hidden") {
1879
1880
  n = !0;
1880
1881
  continue;
1881
1882
  }
1882
- const l = ut(i.nodes, t);
1883
+ const l = ht(i.nodes, t);
1883
1884
  if (l.length === 0 && !i.emptyState) {
1884
1885
  n = !0;
1885
1886
  continue;
@@ -1894,24 +1895,24 @@ const Pt = {
1894
1895
  r.push(i);
1895
1896
  }
1896
1897
  return n ? r : o;
1897
- }, Jt = (o, e) => o === "shown" ? e.visibleIcon : e.hiddenIcon, Hr = (o, e, t, n) => {
1898
- const r = o.hiddenByDefault === !0, i = Ve(e[o.id], r);
1898
+ }, nn = (o, e) => o === "shown" ? e.visibleIcon : e.hiddenIcon, Gr = (o, e, t, n) => {
1899
+ const r = o.hiddenByDefault === !0, i = Ge(e[o.id], r);
1899
1900
  return {
1900
1901
  key: `section:${o.id}`,
1901
1902
  label: o.label ?? o.id,
1902
1903
  onClick: () => t.onToggleSection(o.id, r),
1903
- endContent: Jt(i, n)
1904
+ endContent: nn(i, n)
1904
1905
  };
1905
- }, Mr = (o, e, t, n) => {
1906
- const r = o.hiddenByDefault === !0, i = Ve(e[o.id], r);
1906
+ }, jr = (o, e, t, n) => {
1907
+ const r = o.hiddenByDefault === !0, i = Ge(e[o.id], r);
1907
1908
  return {
1908
1909
  key: `node:${o.id}`,
1909
- label: Wr(o.label, o.id),
1910
+ label: Mr(o.label, o.id),
1910
1911
  icon: o.icon,
1911
1912
  onClick: () => t.onToggleNode(o.id, r),
1912
- endContent: Jt(i, n)
1913
+ endContent: nn(i, n)
1913
1914
  };
1914
- }, Ci = (o, e, t, n, r) => {
1915
+ }, zi = (o, e, t, n, r) => {
1915
1916
  const i = [], l = (a) => {
1916
1917
  a.length !== 0 && (i.length > 0 && (a[0] = {
1917
1918
  ...a[0],
@@ -1920,9 +1921,9 @@ const Pt = {
1920
1921
  }, c = (a) => {
1921
1922
  const d = [];
1922
1923
  for (const u of a) {
1923
- Rt(u) && d.push(Hr(u, e, n, r));
1924
+ Et(u) && d.push(Gr(u, e, n, r));
1924
1925
  for (const f of u.nodes)
1925
- Rt(f) && d.push(Mr(f, t, n, r));
1926
+ Et(f) && d.push(jr(f, t, n, r));
1926
1927
  }
1927
1928
  return d;
1928
1929
  };
@@ -1933,7 +1934,7 @@ const Pt = {
1933
1934
  separatorBefore: !0,
1934
1935
  onClick: n.onResetAll
1935
1936
  }), i;
1936
- }, wi = (o, e, t) => {
1937
+ }, Ni = (o, e, t) => {
1937
1938
  let n = !1;
1938
1939
  const r = [];
1939
1940
  for (const i of o) {
@@ -1945,20 +1946,20 @@ const Pt = {
1945
1946
  n = !0;
1946
1947
  continue;
1947
1948
  }
1948
- if (Ve(e[t(i)], i.hiddenByDefault) === "hidden") {
1949
+ if (Ge(e[t(i)], i.hiddenByDefault) === "hidden") {
1949
1950
  n = !0;
1950
1951
  continue;
1951
1952
  }
1952
1953
  r.push(i);
1953
1954
  }
1954
1955
  return n ? r : o;
1955
- }, Ii = (o, e, t, n, r, i) => {
1956
+ }, Bi = (o, e, t, n, r, i) => {
1956
1957
  const l = [];
1957
1958
  let c = 0;
1958
1959
  for (const a of o) {
1959
1960
  if (a.pinned === !0 || a.closable === !0) continue;
1960
1961
  c += 1;
1961
- const d = n(a), u = a.hiddenByDefault === !0, f = Ve(e[d], u);
1962
+ const d = n(a), u = a.hiddenByDefault === !0, f = Ge(e[d], u);
1962
1963
  l.push({
1963
1964
  key: `tab:${d}`,
1964
1965
  label: a.title ?? a.contributionId,
@@ -1974,22 +1975,89 @@ const Pt = {
1974
1975
  separatorBefore: !0,
1975
1976
  onClick: t.onResetAll
1976
1977
  }), l;
1977
- }, Vr = (o) => {
1978
- const e = $(7), {
1978
+ }, {
1979
+ withProvider: Ur,
1980
+ withContext: st
1981
+ } = ut({
1982
+ recipe: Hn
1983
+ }), Qr = Ur("div", "list"), qr = st("div", "tab"), Xr = st("button", "trigger"), Kr = st("span", "label"), Yr = st("button", "close"), Wi = (o) => {
1984
+ const e = k(19), {
1985
+ tabs: t,
1986
+ selectedId: n,
1987
+ onSelect: r,
1988
+ onClose: i,
1989
+ "aria-label": l
1990
+ } = o, c = He(null);
1991
+ let a, d;
1992
+ e[0] !== n ? (a = () => {
1993
+ n && c.current?.querySelector('[aria-selected="true"]')?.scrollIntoView({
1994
+ block: "nearest",
1995
+ inline: "nearest"
1996
+ });
1997
+ }, d = [n], e[0] = n, e[1] = a, e[2] = d) : (a = e[1], d = e[2]), me(a, d);
1998
+ let u, f, h, m, p;
1999
+ if (e[3] !== l || e[4] !== i || e[5] !== r || e[6] !== n || e[7] !== t) {
2000
+ const S = (x) => {
2001
+ const w = c.current?.querySelectorAll('[role="tab"]'), I = w?.[x + 1] ?? w?.[x - 1];
2002
+ i(t[x].id), I?.focus();
2003
+ }, b = (x, w) => {
2004
+ let I;
2005
+ if (x.key === "ArrowRight")
2006
+ I = (w + 1) % t.length;
2007
+ else if (x.key === "ArrowLeft")
2008
+ I = (w - 1 + t.length) % t.length;
2009
+ else if (x.key === "Home")
2010
+ I = 0;
2011
+ else if (x.key === "End")
2012
+ I = t.length - 1;
2013
+ else if (x.key === "Delete") {
2014
+ x.preventDefault(), S(w);
2015
+ return;
2016
+ } else
2017
+ return;
2018
+ x.preventDefault(), c.current?.querySelectorAll('[role="tab"]')[I]?.focus(), r(t[I].id);
2019
+ };
2020
+ u = Qr, f = c, h = "tablist", m = l, p = t.map((x, w) => /* @__PURE__ */ v(qr, { role: "presentation", "data-selected": x.id === n ? "" : void 0, children: [
2021
+ /* @__PURE__ */ v(Xr, { type: "button", role: "tab", "aria-selected": x.id === n, "aria-label": x.label, tabIndex: x.id === (n ?? t[0]?.id) ? 0 : -1, title: x.label, onClick: () => r(x.id), onKeyDown: (I) => b(I, w), children: [
2022
+ x.icon,
2023
+ /* @__PURE__ */ s(Kr, { children: x.label })
2024
+ ] }),
2025
+ /* @__PURE__ */ s(Yr, { type: "button", "aria-label": `Close ${x.label}`, title: `Close ${x.label}`, onClick: () => S(w), children: /* @__PURE__ */ s(Ut, { "aria-hidden": "true" }) })
2026
+ ] }, x.id)), e[3] = l, e[4] = i, e[5] = r, e[6] = n, e[7] = t, e[8] = u, e[9] = f, e[10] = h, e[11] = m, e[12] = p;
2027
+ } else
2028
+ u = e[8], f = e[9], h = e[10], m = e[11], p = e[12];
2029
+ let g;
2030
+ return e[13] !== u || e[14] !== f || e[15] !== h || e[16] !== m || e[17] !== p ? (g = /* @__PURE__ */ s(u, { ref: f, role: h, "aria-label": m, children: p }), e[13] = u, e[14] = f, e[15] = h, e[16] = m, e[17] = p, e[18] = g) : g = e[18], g;
2031
+ }, {
2032
+ withProvider: Zr,
2033
+ withContext: Jr
2034
+ } = ut({
2035
+ recipe: Fn
2036
+ }), el = Zr("div", "root"), tl = Jr("div", "content"), Hi = (o) => {
2037
+ const e = k(5), {
2038
+ platform: t,
2039
+ children: n
2040
+ } = o, r = t === "darwin" ? "mac" : "overlay";
2041
+ let i;
2042
+ e[0] !== n ? (i = /* @__PURE__ */ s(tl, { children: n }), e[0] = n, e[1] = i) : i = e[1];
2043
+ let l;
2044
+ return e[2] !== r || e[3] !== i ? (l = /* @__PURE__ */ s(el, { controls: r, "data-window-title-bar": "", children: i }), e[2] = r, e[3] = i, e[4] = l) : l = e[4], l;
2045
+ }, nl = (o) => {
2046
+ const e = k(7), {
1979
2047
  children: t,
1980
2048
  hasChanges: n
1981
2049
  } = o;
1982
2050
  let r;
1983
- e[0] !== t ? (r = /* @__PURE__ */ s(F, { textStyle: "label/L/medium", truncate: !0, children: t }), e[0] = t, e[1] = r) : r = e[1];
2051
+ e[0] !== t ? (r = /* @__PURE__ */ s(H, { textStyle: "label/L/medium", truncate: !0, children: t }), e[0] = t, e[1] = r) : r = e[1];
1984
2052
  let i;
1985
- e[2] !== n ? (i = n ? /* @__PURE__ */ s(F, { textStyle: "label/L/medium", color: "fg.muted", "aria-label": "Unsaved changes", children: "*" }) : null, e[2] = n, e[3] = i) : i = e[3];
2053
+ e[2] !== n ? (i = n ? /* @__PURE__ */ s(H, { textStyle: "label/L/medium", color: "fg.muted", "aria-label": "Unsaved changes", children: "*" }) : null, e[2] = n, e[3] = i) : i = e[3];
1986
2054
  let l;
1987
- return e[4] !== r || e[5] !== i ? (l = /* @__PURE__ */ S(ae, { gap: "3xs", minWidth: "0", children: [
2055
+ return e[4] !== r || e[5] !== i ? (l = /* @__PURE__ */ v(ae, { gap: "3xs", minWidth: "0", children: [
1988
2056
  r,
1989
2057
  i
1990
2058
  ] }), e[4] = r, e[5] = i, e[6] = l) : l = e[6], l;
1991
- }, Gr = (o) => o.length === 0 ? "None" : o.length === 1 ? o[0].label : `${o[0].label} +${o.length - 1}`, jr = (o) => {
1992
- const e = $(54), {
2059
+ }, ol = (o) => o.length === 0 ? "None" : o.length === 1 ? o[0].label : `${o[0].label} +${o.length - 1}`, rl = (o) => {
2060
+ const e = k(54), {
1993
2061
  actions: t,
1994
2062
  disabled: n,
1995
2063
  label: r,
@@ -1997,42 +2065,42 @@ const Pt = {
1997
2065
  optionName: l,
1998
2066
  onChange: c
1999
2067
  } = o;
2000
- let a, d, u, f, h, m, p, g, x, b, E, P, k, v;
2068
+ let a, d, u, f, h, m, p, g, S, b, x, w, I, y;
2001
2069
  if (e[0] !== t || e[1] !== n || e[2] !== r || e[3] !== c || e[4] !== l || e[5] !== i) {
2002
2070
  let z;
2003
- e[20] !== t ? (z = (R) => t.includes(R.value), e[20] = t, e[21] = z) : z = e[21];
2004
- const I = i.filter(z);
2071
+ e[20] !== t ? (z = ($) => t.includes($.value), e[20] = t, e[21] = z) : z = e[21];
2072
+ const A = i.filter(z);
2005
2073
  let _;
2006
- e[22] !== t || e[23] !== c ? (_ = (R) => {
2007
- c(t.includes(R) ? t.filter((C) => C !== R) : [...t, R]);
2008
- }, e[22] = t, e[23] = c, e[24] = _) : _ = e[24], v = _, u = pe.Root, k = !1, d = pe.Trigger, P = !0, a = ue, f = "2xs", h = "ghost", m = "xs", p = I.length === 0 ? "fg.subtle" : "fg", g = n, x = `${r} for ${l}`, b = I[0]?.icon, E = Gr(I), e[0] = t, e[1] = n, e[2] = r, e[3] = c, e[4] = l, e[5] = i, e[6] = a, e[7] = d, e[8] = u, e[9] = f, e[10] = h, e[11] = m, e[12] = p, e[13] = g, e[14] = x, e[15] = b, e[16] = E, e[17] = P, e[18] = k, e[19] = v;
2074
+ e[22] !== t || e[23] !== c ? (_ = ($) => {
2075
+ c(t.includes($) ? t.filter((T) => T !== $) : [...t, $]);
2076
+ }, e[22] = t, e[23] = c, e[24] = _) : _ = e[24], y = _, u = ge.Root, I = !1, d = ge.Trigger, w = !0, a = ue, f = "2xs", h = "ghost", m = "xs", p = A.length === 0 ? "fg.subtle" : "fg", g = n, S = `${r} for ${l}`, b = A[0]?.icon, x = ol(A), e[0] = t, e[1] = n, e[2] = r, e[3] = c, e[4] = l, e[5] = i, e[6] = a, e[7] = d, e[8] = u, e[9] = f, e[10] = h, e[11] = m, e[12] = p, e[13] = g, e[14] = S, e[15] = b, e[16] = x, e[17] = w, e[18] = I, e[19] = y;
2009
2077
  } else
2010
- a = e[6], d = e[7], u = e[8], f = e[9], h = e[10], m = e[11], p = e[12], g = e[13], x = e[14], b = e[15], E = e[16], P = e[17], k = e[18], v = e[19];
2011
- let O;
2012
- e[25] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (O = /* @__PURE__ */ s(ce, { as: Ut, boxSize: "icon-2xs" }), e[25] = O) : O = e[25];
2013
- let T;
2014
- e[26] !== a || e[27] !== f || e[28] !== h || e[29] !== m || e[30] !== p || e[31] !== g || e[32] !== x || e[33] !== b || e[34] !== E ? (T = /* @__PURE__ */ S(a, { size: f, variant: h, gap: m, color: p, disabled: g, "aria-label": x, children: [
2078
+ a = e[6], d = e[7], u = e[8], f = e[9], h = e[10], m = e[11], p = e[12], g = e[13], S = e[14], b = e[15], x = e[16], w = e[17], I = e[18], y = e[19];
2079
+ let L;
2080
+ e[25] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (L = /* @__PURE__ */ s(ce, { as: Xt, boxSize: "icon-2xs" }), e[25] = L) : L = e[25];
2081
+ let R;
2082
+ e[26] !== a || e[27] !== f || e[28] !== h || e[29] !== m || e[30] !== p || e[31] !== g || e[32] !== S || e[33] !== b || e[34] !== x ? (R = /* @__PURE__ */ v(a, { size: f, variant: h, gap: m, color: p, disabled: g, "aria-label": S, children: [
2015
2083
  b,
2016
- E,
2017
- O
2018
- ] }), e[26] = a, e[27] = f, e[28] = h, e[29] = m, e[30] = p, e[31] = g, e[32] = x, e[33] = b, e[34] = E, e[35] = T) : T = e[35];
2019
- let A;
2020
- e[36] !== d || e[37] !== T || e[38] !== P ? (A = /* @__PURE__ */ s(d, { asChild: P, children: T }), e[36] = d, e[37] = T, e[38] = P, e[39] = A) : A = e[39];
2021
- let w;
2022
- if (e[40] !== t || e[41] !== i || e[42] !== v) {
2084
+ x,
2085
+ L
2086
+ ] }), e[26] = a, e[27] = f, e[28] = h, e[29] = m, e[30] = p, e[31] = g, e[32] = S, e[33] = b, e[34] = x, e[35] = R) : R = e[35];
2087
+ let E;
2088
+ e[36] !== d || e[37] !== R || e[38] !== w ? (E = /* @__PURE__ */ s(d, { asChild: w, children: R }), e[36] = d, e[37] = R, e[38] = w, e[39] = E) : E = e[39];
2089
+ let P;
2090
+ if (e[40] !== t || e[41] !== i || e[42] !== y) {
2023
2091
  let z;
2024
- e[44] !== t || e[45] !== v ? (z = (I) => /* @__PURE__ */ s(pe.Item, { value: I.value, asChild: !0, children: /* @__PURE__ */ s(Qe, { asChild: !0, variant: "full-width", id: I.value, label: I.label, icon: I.icon, isSelected: t.includes(I.value), endContent: t.includes(I.value) ? /* @__PURE__ */ s(ce, { as: et, boxSize: "icon-xs" }) : void 0, onActivate: () => v(I.value) }) }, I.value), e[44] = t, e[45] = v, e[46] = z) : z = e[46], w = i.map(z), e[40] = t, e[41] = i, e[42] = v, e[43] = w;
2092
+ e[44] !== t || e[45] !== y ? (z = (A) => /* @__PURE__ */ s(ge.Item, { value: A.value, asChild: !0, children: /* @__PURE__ */ s(Qe, { asChild: !0, variant: "full-width", id: A.value, label: A.label, icon: A.icon, isSelected: t.includes(A.value), endContent: t.includes(A.value) ? /* @__PURE__ */ s(ce, { as: et, boxSize: "icon-xs" }) : void 0, onActivate: () => y(A.value) }) }, A.value), e[44] = t, e[45] = y, e[46] = z) : z = e[46], P = i.map(z), e[40] = t, e[41] = i, e[42] = y, e[43] = P;
2025
2093
  } else
2026
- w = e[43];
2027
- let y;
2028
- e[47] !== w ? (y = /* @__PURE__ */ s(pe.Positioner, { children: /* @__PURE__ */ s(pe.Content, { minW: "tag-action-menu", bg: "bg", children: w }) }), e[47] = w, e[48] = y) : y = e[48];
2029
- let L;
2030
- return e[49] !== u || e[50] !== A || e[51] !== y || e[52] !== k ? (L = /* @__PURE__ */ S(u, { closeOnSelect: k, children: [
2031
- A,
2032
- y
2033
- ] }), e[49] = u, e[50] = A, e[51] = y, e[52] = k, e[53] = L) : L = e[53], L;
2034
- }, Ur = (o) => {
2035
- const e = $(69), {
2094
+ P = e[43];
2095
+ let C;
2096
+ e[47] !== P ? (C = /* @__PURE__ */ s(ge.Positioner, { children: /* @__PURE__ */ s(ge.Content, { minW: "tag-action-menu", bg: "bg", children: P }) }), e[47] = P, e[48] = C) : C = e[48];
2097
+ let O;
2098
+ return e[49] !== u || e[50] !== E || e[51] !== C || e[52] !== I ? (O = /* @__PURE__ */ v(u, { closeOnSelect: I, children: [
2099
+ E,
2100
+ C
2101
+ ] }), e[49] = u, e[50] = E, e[51] = C, e[52] = I, e[53] = O) : O = e[53], O;
2102
+ }, ll = (o) => {
2103
+ const e = k(69), {
2036
2104
  actionOptions: t,
2037
2105
  actionsLabel: n,
2038
2106
  colorOptions: r,
@@ -2047,45 +2115,45 @@ const Pt = {
2047
2115
  onDelete: m,
2048
2116
  onIconChange: p,
2049
2117
  onNameChange: g
2050
- } = o, x = n === void 0 ? "Actions" : n, b = c || a;
2051
- let E;
2052
- e[0] !== b || e[1] !== l.id ? (E = {
2118
+ } = o, S = n === void 0 ? "Actions" : n, b = c || a;
2119
+ let x;
2120
+ e[0] !== b || e[1] !== l.id ? (x = {
2053
2121
  id: l.id,
2054
2122
  disabled: b
2055
- }, e[0] = b, e[1] = l.id, e[2] = E) : E = e[2];
2123
+ }, e[0] = b, e[1] = l.id, e[2] = x) : x = e[2];
2056
2124
  const {
2057
- attributes: P,
2058
- listeners: k,
2059
- setNodeRef: v,
2060
- transform: O,
2061
- transition: T,
2062
- isDragging: A
2063
- } = Gn(E);
2064
- let w;
2065
- e[3] !== O ? (w = Xn.Transform.toString(O), e[3] = O, e[4] = w) : w = e[4];
2066
- let y;
2067
- e[5] !== w || e[6] !== T ? (y = {
2068
- transform: w,
2069
- transition: T
2070
- }, e[5] = w, e[6] = T, e[7] = y) : y = e[7];
2071
- const L = A ? "bg.elevated" : "transparent", z = A ? "compact" : "none", I = A ? "1px" : void 0, _ = A ? "lg" : void 0, R = A ? "bg.elevated" : "bg.muted";
2125
+ attributes: w,
2126
+ listeners: I,
2127
+ setNodeRef: y,
2128
+ transform: L,
2129
+ transition: R,
2130
+ isDragging: E
2131
+ } = Qn(x);
2132
+ let P;
2133
+ e[3] !== L ? (P = Yn.Transform.toString(L), e[3] = L, e[4] = P) : P = e[4];
2072
2134
  let C;
2073
- e[8] !== R ? (C = {
2074
- bg: R
2075
- }, e[8] = R, e[9] = C) : C = e[9];
2135
+ e[5] !== P || e[6] !== R ? (C = {
2136
+ transform: P,
2137
+ transition: R
2138
+ }, e[5] = P, e[6] = R, e[7] = C) : C = e[7];
2139
+ const O = E ? "bg.elevated" : "transparent", z = E ? "compact" : "none", A = E ? "1px" : void 0, _ = E ? "lg" : void 0, $ = E ? "bg.elevated" : "bg.muted";
2140
+ let T;
2141
+ e[8] !== $ ? (T = {
2142
+ bg: $
2143
+ }, e[8] = $, e[9] = T) : T = e[9];
2076
2144
  const N = a ? "default" : "grab";
2077
- let H;
2078
- e[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (H = {
2145
+ let F;
2146
+ e[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (F = {
2079
2147
  color: "fg.muted"
2080
- }, e[10] = H) : H = e[10];
2081
- const q = `Reorder ${l.name}`;
2148
+ }, e[10] = F) : F = e[10];
2149
+ const X = `Reorder ${l.name}`;
2082
2150
  let B;
2083
2151
  e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (B = /* @__PURE__ */ s(ce, { as: En, boxSize: "icon-xs" }), e[11] = B) : B = e[11];
2084
2152
  let W;
2085
- e[12] !== P || e[13] !== k || e[14] !== N || e[15] !== q ? (W = /* @__PURE__ */ s(de, { cursor: N, color: "fg.subtle", _groupHover: H, "aria-label": q, ...P, ...k, children: B }), e[12] = P, e[13] = k, e[14] = N, e[15] = q, e[16] = W) : W = e[16];
2153
+ e[12] !== w || e[13] !== I || e[14] !== N || e[15] !== X ? (W = /* @__PURE__ */ s(de, { cursor: N, color: "fg.subtle", _groupHover: F, "aria-label": X, ...w, ...I, children: B }), e[12] = w, e[13] = I, e[14] = N, e[15] = X, e[16] = W) : W = e[16];
2086
2154
  const D = `Change ${l.name} appearance`;
2087
- let X;
2088
- e[17] !== r || e[18] !== b || e[19] !== i || e[20] !== h || e[21] !== p || e[22] !== u || e[23] !== D || e[24] !== l.color || e[25] !== l.icon ? (X = /* @__PURE__ */ s(rr, { color: l.color, colorOptions: r, icon: l.icon, iconOptions: i, showIcons: u, onColorChange: h, onIconChange: p, disabled: b, "aria-label": D }), e[17] = r, e[18] = b, e[19] = i, e[20] = h, e[21] = p, e[22] = u, e[23] = D, e[24] = l.color, e[25] = l.icon, e[26] = X) : X = e[26];
2155
+ let q;
2156
+ e[17] !== r || e[18] !== b || e[19] !== i || e[20] !== h || e[21] !== p || e[22] !== u || e[23] !== D || e[24] !== l.color || e[25] !== l.icon ? (q = /* @__PURE__ */ s(sr, { color: l.color, colorOptions: r, icon: l.icon, iconOptions: i, showIcons: u, onColorChange: h, onIconChange: p, disabled: b, "aria-label": D }), e[17] = r, e[18] = b, e[19] = i, e[20] = h, e[21] = p, e[22] = u, e[23] = D, e[24] = l.color, e[25] = l.icon, e[26] = q) : q = e[26];
2089
2157
  let j;
2090
2158
  e[27] !== g || e[28] !== l.name ? (j = (oe) => {
2091
2159
  const he = oe.value.trim();
@@ -2093,20 +2161,20 @@ const Pt = {
2093
2161
  }, e[27] = g, e[28] = l.name, e[29] = j) : j = e[29];
2094
2162
  let V, U;
2095
2163
  e[30] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (V = /* @__PURE__ */ s(We.Preview, { textStyle: "paragraph/S/regular" }), U = /* @__PURE__ */ s(We.Input, { textStyle: "paragraph/S/regular" }), e[30] = V, e[31] = U) : (V = e[30], U = e[31]);
2096
- let Y;
2097
- e[32] !== b || e[33] !== j || e[34] !== l.isNew || e[35] !== l.name ? (Y = /* @__PURE__ */ S(We.Root, { minWidth: "0", defaultValue: l.name, defaultEdit: l.isNew, selectOnFocus: !0, disabled: b, onValueCommit: j, children: [
2164
+ let K;
2165
+ e[32] !== b || e[33] !== j || e[34] !== l.isNew || e[35] !== l.name ? (K = /* @__PURE__ */ v(We.Root, { minWidth: "0", defaultValue: l.name, defaultEdit: l.isNew, selectOnFocus: !0, disabled: b, onValueCommit: j, children: [
2098
2166
  V,
2099
2167
  U
2100
- ] }, l.name), e[32] = b, e[33] = j, e[34] = l.isNew, e[35] = l.name, e[36] = Y) : Y = e[36];
2168
+ ] }, l.name), e[32] = b, e[33] = j, e[34] = l.isNew, e[35] = l.name, e[36] = K) : K = e[36];
2101
2169
  let se;
2102
2170
  e[37] !== d || e[38] !== l.isDefault ? (se = d && l.isDefault ? /* @__PURE__ */ s(Te, { size: "sm", variant: "subtle", colorPalette: "blue", children: "Default" }) : null, e[37] = d, e[38] = l.isDefault, e[39] = se) : se = e[39];
2103
2171
  let J;
2104
- e[40] !== Y || e[41] !== se ? (J = /* @__PURE__ */ S(de, { flex: "1", minWidth: "0", alignItems: "center", gap: "xs", children: [
2105
- Y,
2172
+ e[40] !== K || e[41] !== se ? (J = /* @__PURE__ */ v(de, { flex: "1", minWidth: "0", alignItems: "center", gap: "xs", children: [
2173
+ K,
2106
2174
  se
2107
- ] }), e[40] = Y, e[41] = se, e[42] = J) : J = e[42];
2175
+ ] }), e[40] = K, e[41] = se, e[42] = J) : J = e[42];
2108
2176
  let ee;
2109
- e[43] !== t || e[44] !== x || e[45] !== b || e[46] !== f || e[47] !== l.actions || e[48] !== l.name ? (ee = t ? /* @__PURE__ */ s(de, { width: "tag-editor-commands", justifyContent: "flex-end", children: /* @__PURE__ */ s(jr, { actions: l.actions ?? [], disabled: b, label: x, optionName: l.name, options: t, onChange: f }) }) : null, e[43] = t, e[44] = x, e[45] = b, e[46] = f, e[47] = l.actions, e[48] = l.name, e[49] = ee) : ee = e[49];
2177
+ e[43] !== t || e[44] !== S || e[45] !== b || e[46] !== f || e[47] !== l.actions || e[48] !== l.name ? (ee = t ? /* @__PURE__ */ s(de, { width: "tag-editor-commands", justifyContent: "flex-end", children: /* @__PURE__ */ s(rl, { actions: l.actions ?? [], disabled: b, label: S, optionName: l.name, options: t, onChange: f }) }) : null, e[43] = t, e[44] = S, e[45] = b, e[46] = f, e[47] = l.actions, e[48] = l.name, e[49] = ee) : ee = e[49];
2110
2178
  let re;
2111
2179
  e[50] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (re = {
2112
2180
  color: "fg.error",
@@ -2114,19 +2182,19 @@ const Pt = {
2114
2182
  }, e[50] = re) : re = e[50];
2115
2183
  const te = b || l.isDefault, le = `Delete ${l.name}`;
2116
2184
  let ne;
2117
- e[51] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ne = /* @__PURE__ */ s(ce, { as: kn, boxSize: "icon-xs" }), e[51] = ne) : ne = e[51];
2118
- let K;
2119
- e[52] !== m || e[53] !== te || e[54] !== le ? (K = /* @__PURE__ */ s(Fe, { size: "xs", variant: "ghost", color: "fg.subtle", _groupHover: re, onClick: m, disabled: te, "aria-label": le, children: ne }), e[52] = m, e[53] = te, e[54] = le, e[55] = K) : K = e[55];
2185
+ e[51] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ne = /* @__PURE__ */ s(ce, { as: $n, boxSize: "icon-xs" }), e[51] = ne) : ne = e[51];
2186
+ let Y;
2187
+ e[52] !== m || e[53] !== te || e[54] !== le ? (Y = /* @__PURE__ */ s(Fe, { size: "xs", variant: "ghost", color: "fg.subtle", _groupHover: re, onClick: m, disabled: te, "aria-label": le, children: ne }), e[52] = m, e[53] = te, e[54] = le, e[55] = Y) : Y = e[55];
2120
2188
  let ie;
2121
- return e[56] !== v || e[57] !== W || e[58] !== X || e[59] !== J || e[60] !== ee || e[61] !== K || e[62] !== y || e[63] !== L || e[64] !== z || e[65] !== I || e[66] !== _ || e[67] !== C ? (ie = /* @__PURE__ */ S(de, { ref: v, style: y, className: "group", height: "tag-editor-row", alignItems: "center", gap: "compact", px: "xs", borderBottomWidth: "1px", borderColor: "border.subtle", bg: L, borderRadius: z, borderWidth: I, boxShadow: _, _hover: C, children: [
2189
+ return e[56] !== y || e[57] !== W || e[58] !== q || e[59] !== J || e[60] !== ee || e[61] !== Y || e[62] !== C || e[63] !== O || e[64] !== z || e[65] !== A || e[66] !== _ || e[67] !== T ? (ie = /* @__PURE__ */ v(de, { ref: y, style: C, className: "group", height: "tag-editor-row", alignItems: "center", gap: "compact", px: "xs", borderBottomWidth: "1px", borderColor: "border.subtle", bg: O, borderRadius: z, borderWidth: A, boxShadow: _, _hover: T, children: [
2122
2190
  W,
2123
- X,
2191
+ q,
2124
2192
  J,
2125
2193
  ee,
2126
- K
2127
- ] }), e[56] = v, e[57] = W, e[58] = X, e[59] = J, e[60] = ee, e[61] = K, e[62] = y, e[63] = L, e[64] = z, e[65] = I, e[66] = _, e[67] = C, e[68] = ie) : ie = e[68], ie;
2128
- }, Qr = (o) => o.length > 0 ? Math.max(...o.map((e) => e.sortOrder)) + 1 : 0, Xr = (o) => {
2129
- const e = $(12), {
2194
+ Y
2195
+ ] }), e[56] = y, e[57] = W, e[58] = q, e[59] = J, e[60] = ee, e[61] = Y, e[62] = C, e[63] = O, e[64] = z, e[65] = A, e[66] = _, e[67] = T, e[68] = ie) : ie = e[68], ie;
2196
+ }, il = (o) => o.length > 0 ? Math.max(...o.map((e) => e.sortOrder)) + 1 : 0, sl = (o) => {
2197
+ const e = k(12), {
2130
2198
  title: t,
2131
2199
  hasChanges: n,
2132
2200
  isSaving: r,
@@ -2134,7 +2202,7 @@ const Pt = {
2134
2202
  } = o;
2135
2203
  if (!i) {
2136
2204
  let u;
2137
- return e[0] !== n || e[1] !== t ? (u = /* @__PURE__ */ s(Vr, { hasChanges: n, children: t }), e[0] = n, e[1] = t, e[2] = u) : u = e[2], u;
2205
+ return e[0] !== n || e[1] !== t ? (u = /* @__PURE__ */ s(nl, { hasChanges: n, children: t }), e[0] = n, e[1] = t, e[2] = u) : u = e[2], u;
2138
2206
  }
2139
2207
  let l;
2140
2208
  e[3] !== i || e[4] !== t ? (l = (u) => {
@@ -2144,11 +2212,11 @@ const Pt = {
2144
2212
  let c, a;
2145
2213
  e[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ s(We.Preview, { textStyle: "label/L/medium" }), a = /* @__PURE__ */ s(We.Input, { textStyle: "label/L/medium" }), e[6] = c, e[7] = a) : (c = e[6], a = e[7]);
2146
2214
  let d;
2147
- return e[8] !== r || e[9] !== l || e[10] !== t ? (d = /* @__PURE__ */ S(We.Root, { defaultValue: t, disabled: r, selectOnFocus: !0, onValueCommit: l, children: [
2215
+ return e[8] !== r || e[9] !== l || e[10] !== t ? (d = /* @__PURE__ */ v(We.Root, { defaultValue: t, disabled: r, selectOnFocus: !0, onValueCommit: l, children: [
2148
2216
  c,
2149
2217
  a
2150
2218
  ] }, t), e[8] = r, e[9] = l, e[10] = t, e[11] = d) : d = e[11], d;
2151
- }, qr = Pe("button", {
2219
+ }, al = Pe("button", {
2152
2220
  base: {
2153
2221
  display: "flex",
2154
2222
  alignItems: "center",
@@ -2171,65 +2239,65 @@ const Pt = {
2171
2239
  }
2172
2240
  }
2173
2241
  }
2174
- }), Yr = (o) => {
2175
- const e = $(9), {
2242
+ }), cl = (o) => {
2243
+ const e = k(9), {
2176
2244
  valueLabel: t,
2177
2245
  actionsLabel: n
2178
2246
  } = o;
2179
2247
  let r;
2180
2248
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ s(de, { width: "tag-editor-lead", flexShrink: "0" }), e[0] = r) : r = e[0];
2181
2249
  let i;
2182
- e[1] !== t ? (i = /* @__PURE__ */ s(F, { flex: "1", minWidth: "0", textStyle: "label/XS/caps", color: "fg.subtle", children: t }), e[1] = t, e[2] = i) : i = e[2];
2250
+ e[1] !== t ? (i = /* @__PURE__ */ s(H, { flex: "1", minWidth: "0", textStyle: "label/XS/caps", color: "fg.subtle", children: t }), e[1] = t, e[2] = i) : i = e[2];
2183
2251
  let l;
2184
- e[3] !== n ? (l = n ? /* @__PURE__ */ s(F, { width: "tag-editor-commands", textAlign: "right", textStyle: "label/XS/caps", color: "fg.subtle", children: n }) : null, e[3] = n, e[4] = l) : l = e[4];
2252
+ e[3] !== n ? (l = n ? /* @__PURE__ */ s(H, { width: "tag-editor-commands", textAlign: "right", textStyle: "label/XS/caps", color: "fg.subtle", children: n }) : null, e[3] = n, e[4] = l) : l = e[4];
2185
2253
  let c;
2186
2254
  e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ s(de, { width: "tag-editor-trailing", flexShrink: "0" }), e[5] = c) : c = e[5];
2187
2255
  let a;
2188
- return e[6] !== i || e[7] !== l ? (a = /* @__PURE__ */ S(de, { alignItems: "center", gap: "compact", paddingInline: "xs", height: "tag-editor-add-row", bg: "bg.subtle", borderBottomWidth: "1px", borderColor: "border.subtle", children: [
2256
+ return e[6] !== i || e[7] !== l ? (a = /* @__PURE__ */ v(de, { alignItems: "center", gap: "compact", paddingInline: "xs", height: "tag-editor-add-row", bg: "bg.subtle", borderBottomWidth: "1px", borderColor: "border.subtle", children: [
2189
2257
  r,
2190
2258
  i,
2191
2259
  l,
2192
2260
  c
2193
2261
  ] }), e[6] = i, e[7] = l, e[8] = a) : a = e[8], a;
2194
- }, Kr = (o) => {
2195
- const e = $(22), {
2262
+ }, dl = (o) => {
2263
+ const e = k(22), {
2196
2264
  label: t,
2197
2265
  values: n,
2198
2266
  disabled: r,
2199
2267
  onSelect: i
2200
2268
  } = o;
2201
2269
  let l;
2202
- e[0] !== n ? (l = n.find(Jr), e[0] = n, e[1] = l) : l = e[1];
2270
+ e[0] !== n ? (l = n.find(fl), e[0] = n, e[1] = l) : l = e[1];
2203
2271
  const c = l;
2204
2272
  let a;
2205
- e[2] !== t ? (a = /* @__PURE__ */ s(F, { textStyle: "paragraph/S/regular", color: "fg.muted", children: t }), e[2] = t, e[3] = a) : a = e[3];
2273
+ e[2] !== t ? (a = /* @__PURE__ */ s(H, { textStyle: "paragraph/S/regular", color: "fg.muted", children: t }), e[2] = t, e[3] = a) : a = e[3];
2206
2274
  const d = c?.name ?? "None";
2207
2275
  let u;
2208
- e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (u = /* @__PURE__ */ s(ce, { as: Ut, boxSize: "icon-2xs" }), e[4] = u) : u = e[4];
2276
+ e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (u = /* @__PURE__ */ s(ce, { as: Xt, boxSize: "icon-2xs" }), e[4] = u) : u = e[4];
2209
2277
  let f;
2210
- e[5] !== r || e[6] !== t || e[7] !== d ? (f = /* @__PURE__ */ s(pe.Trigger, { asChild: !0, children: /* @__PURE__ */ S(ue, { size: "2xs", variant: "ghost", gap: "xs", disabled: r, "aria-label": t, children: [
2278
+ e[5] !== r || e[6] !== t || e[7] !== d ? (f = /* @__PURE__ */ s(ge.Trigger, { asChild: !0, children: /* @__PURE__ */ v(ue, { size: "2xs", variant: "ghost", gap: "xs", disabled: r, "aria-label": t, children: [
2211
2279
  d,
2212
2280
  u
2213
2281
  ] }) }), e[5] = r, e[6] = t, e[7] = d, e[8] = f) : f = e[8];
2214
2282
  let h;
2215
2283
  if (e[9] !== i || e[10] !== n) {
2216
- let x;
2217
- e[12] !== i ? (x = (b) => /* @__PURE__ */ s(pe.Item, { value: b.id, asChild: !0, children: /* @__PURE__ */ s(Qe, { asChild: !0, variant: "full-width", id: b.id, label: b.name, isSelected: b.isDefault, endContent: b.isDefault ? /* @__PURE__ */ s(ce, { as: et, boxSize: "icon-xs" }) : void 0, onActivate: () => i(b) }) }, b.id), e[12] = i, e[13] = x) : x = e[13], h = n.map(x), e[9] = i, e[10] = n, e[11] = h;
2284
+ let S;
2285
+ e[12] !== i ? (S = (b) => /* @__PURE__ */ s(ge.Item, { value: b.id, asChild: !0, children: /* @__PURE__ */ s(Qe, { asChild: !0, variant: "full-width", id: b.id, label: b.name, isSelected: b.isDefault, endContent: b.isDefault ? /* @__PURE__ */ s(ce, { as: et, boxSize: "icon-xs" }) : void 0, onActivate: () => i(b) }) }, b.id), e[12] = i, e[13] = S) : S = e[13], h = n.map(S), e[9] = i, e[10] = n, e[11] = h;
2218
2286
  } else
2219
2287
  h = e[11];
2220
2288
  let m;
2221
- e[14] !== h ? (m = /* @__PURE__ */ s(pe.Positioner, { children: /* @__PURE__ */ s(pe.Content, { minW: "tag-action-menu", bg: "bg", children: h }) }), e[14] = h, e[15] = m) : m = e[15];
2289
+ e[14] !== h ? (m = /* @__PURE__ */ s(ge.Positioner, { children: /* @__PURE__ */ s(ge.Content, { minW: "tag-action-menu", bg: "bg", children: h }) }), e[14] = h, e[15] = m) : m = e[15];
2222
2290
  let p;
2223
- e[16] !== f || e[17] !== m ? (p = /* @__PURE__ */ S(pe.Root, { children: [
2291
+ e[16] !== f || e[17] !== m ? (p = /* @__PURE__ */ v(ge.Root, { children: [
2224
2292
  f,
2225
2293
  m
2226
2294
  ] }), e[16] = f, e[17] = m, e[18] = p) : p = e[18];
2227
2295
  let g;
2228
- return e[19] !== a || e[20] !== p ? (g = /* @__PURE__ */ S(de, { alignItems: "center", gap: "sm", paddingInline: "xs", paddingBlock: "xs", bg: "bg.subtle", borderTopWidth: "1px", borderColor: "border.subtle", children: [
2296
+ return e[19] !== a || e[20] !== p ? (g = /* @__PURE__ */ v(de, { alignItems: "center", gap: "sm", paddingInline: "xs", paddingBlock: "xs", bg: "bg.subtle", borderTopWidth: "1px", borderColor: "border.subtle", children: [
2229
2297
  a,
2230
2298
  p
2231
2299
  ] }), e[19] = a, e[20] = p, e[21] = g) : g = e[21], g;
2232
- }, Zr = (o) => {
2300
+ }, ul = (o) => {
2233
2301
  const {
2234
2302
  title: e,
2235
2303
  description: t,
@@ -2246,24 +2314,24 @@ const Pt = {
2246
2314
  addName: m = "New option",
2247
2315
  actionOptions: p,
2248
2316
  actionsLabel: g,
2249
- defaultValueLabel: x = "Default value",
2317
+ defaultValueLabel: S = "Default value",
2250
2318
  colorOptions: b,
2251
- defaultAddColor: E = "blue",
2252
- defaultAddIcon: P = null,
2253
- deleteButtonText: k = "Delete tag",
2254
- deleteHeadline: v = "Delete tag?",
2255
- deleteNotificationText: O = (B) => `This will delete "${B.name}".`,
2256
- iconOptions: T,
2257
- showDefault: A,
2258
- showIcons: w = !0,
2259
- framed: y,
2260
- showColumnHeaders: L,
2319
+ defaultAddColor: x = "blue",
2320
+ defaultAddIcon: w = null,
2321
+ deleteButtonText: I = "Delete tag",
2322
+ deleteHeadline: y = "Delete tag?",
2323
+ deleteNotificationText: L = (B) => `This will delete "${B.name}".`,
2324
+ iconOptions: R,
2325
+ showDefault: E,
2326
+ showIcons: P = !0,
2327
+ framed: C,
2328
+ showColumnHeaders: O,
2261
2329
  valueColumnLabel: z = "Name"
2262
- } = o, [I, _] = fe(null), R = Wn(Fn(Hn, {
2330
+ } = o, [A, _] = fe(null), $ = Mn(Vn(Gn, {
2263
2331
  activationConstraint: {
2264
2332
  distance: 5
2265
2333
  }
2266
- })), C = (B, W) => {
2334
+ })), T = (B, W) => {
2267
2335
  const D = [...r];
2268
2336
  D[B] = {
2269
2337
  ...D[B],
@@ -2273,60 +2341,60 @@ const Pt = {
2273
2341
  i([...r, {
2274
2342
  id: `new-${crypto.randomUUID()}`,
2275
2343
  name: m,
2276
- color: E,
2277
- icon: P,
2278
- sortOrder: Qr(r),
2344
+ color: x,
2345
+ icon: w,
2346
+ sortOrder: il(r),
2279
2347
  isNew: !0
2280
2348
  }]);
2281
- }, H = () => {
2282
- I && (l ? l(I) : i(r.filter((B) => B.id !== I.id)), _(null));
2349
+ }, F = () => {
2350
+ A && (l ? l(A) : i(r.filter((B) => B.id !== A.id)), _(null));
2283
2351
  };
2284
- return /* @__PURE__ */ S(He, { children: [
2285
- /* @__PURE__ */ S(Q, { gap: "2xs", children: [
2286
- e || n ? /* @__PURE__ */ S(de, { minHeight: "tag-editor-row", alignItems: "center", justifyContent: "space-between", gap: "xs", children: [
2287
- /* @__PURE__ */ S(Q, { gap: "3xs", minWidth: "0", children: [
2288
- e ? /* @__PURE__ */ s(Xr, { title: e, hasChanges: d, isSaving: u, onTitleChange: a }) : null,
2289
- t ? /* @__PURE__ */ s(F, { textStyle: "paragraph/S/regular", color: "fg.muted", children: t }) : null
2352
+ return /* @__PURE__ */ v(Me, { children: [
2353
+ /* @__PURE__ */ v(Q, { gap: "2xs", children: [
2354
+ e || n ? /* @__PURE__ */ v(de, { minHeight: "tag-editor-row", alignItems: "center", justifyContent: "space-between", gap: "xs", children: [
2355
+ /* @__PURE__ */ v(Q, { gap: "3xs", minWidth: "0", children: [
2356
+ e ? /* @__PURE__ */ s(sl, { title: e, hasChanges: d, isSaving: u, onTitleChange: a }) : null,
2357
+ t ? /* @__PURE__ */ s(H, { textStyle: "paragraph/S/regular", color: "fg.muted", children: t }) : null
2290
2358
  ] }),
2291
2359
  n
2292
2360
  ] }) : null,
2293
- /* @__PURE__ */ S(Q, { gap: "none", borderWidth: y ? "1px" : void 0, borderColor: y ? "border.subtle" : void 0, borderRadius: y ? "md" : void 0, overflow: y ? "hidden" : void 0, children: [
2294
- L ? /* @__PURE__ */ s(Yr, { valueLabel: z, actionsLabel: p ? g : void 0 }) : null,
2295
- /* @__PURE__ */ s(Mn, { sensors: R, collisionDetection: Vn, onDragEnd: f ? void 0 : (B) => {
2361
+ /* @__PURE__ */ v(Q, { gap: "none", borderWidth: C ? "1px" : void 0, borderColor: C ? "border.subtle" : void 0, borderRadius: C ? "md" : void 0, overflow: C ? "hidden" : void 0, children: [
2362
+ O ? /* @__PURE__ */ s(cl, { valueLabel: z, actionsLabel: p ? g : void 0 }) : null,
2363
+ /* @__PURE__ */ s(jn, { sensors: $, collisionDetection: Un, onDragEnd: f ? void 0 : (B) => {
2296
2364
  const {
2297
2365
  active: W,
2298
2366
  over: D
2299
2367
  } = B;
2300
2368
  if (!D || W.id === D.id) return;
2301
- const X = r.findIndex((V) => V.id === W.id), j = r.findIndex((V) => V.id === D.id);
2302
- X < 0 || j < 0 || i(Qn(r, X, j).map((V, U) => ({
2369
+ const q = r.findIndex((V) => V.id === W.id), j = r.findIndex((V) => V.id === D.id);
2370
+ q < 0 || j < 0 || i(Kn(r, q, j).map((V, U) => ({
2303
2371
  ...V,
2304
2372
  sortOrder: U
2305
2373
  })));
2306
- }, children: /* @__PURE__ */ s(jn, { items: r.map((B) => B.id), strategy: Un, children: r.map((B, W) => /* @__PURE__ */ s(Ur, { value: B, isSaving: u, readOnly: f, showDefault: A, showIcons: w, actionOptions: p, actionsLabel: g, colorOptions: b, iconOptions: T, onNameChange: (D) => C(W, {
2374
+ }, children: /* @__PURE__ */ s(qn, { items: r.map((B) => B.id), strategy: Xn, children: r.map((B, W) => /* @__PURE__ */ s(ll, { value: B, isSaving: u, readOnly: f, showDefault: E, showIcons: P, actionOptions: p, actionsLabel: g, colorOptions: b, iconOptions: R, onNameChange: (D) => T(W, {
2307
2375
  name: D
2308
- }), onColorChange: (D) => C(W, {
2376
+ }), onColorChange: (D) => T(W, {
2309
2377
  color: D
2310
- }), onIconChange: (D) => C(W, {
2378
+ }), onIconChange: (D) => T(W, {
2311
2379
  icon: D
2312
- }), onActionsChange: (D) => C(W, {
2380
+ }), onActionsChange: (D) => T(W, {
2313
2381
  actions: D
2314
2382
  }), onDelete: () => _(B) }, B.id)) }) }),
2315
- f ? null : /* @__PURE__ */ S(qr, { type: "button", disabled: u, onClick: N, children: [
2316
- /* @__PURE__ */ s(ce, { as: $n, boxSize: "icon-xs" }),
2317
- /* @__PURE__ */ s(F, { textStyle: "paragraph/S/regular", children: h })
2383
+ f ? null : /* @__PURE__ */ v(al, { type: "button", disabled: u, onClick: N, children: [
2384
+ /* @__PURE__ */ s(ce, { as: Dn, boxSize: "icon-xs" }),
2385
+ /* @__PURE__ */ s(H, { textStyle: "paragraph/S/regular", children: h })
2318
2386
  ] }),
2319
- A && r.length > 0 ? /* @__PURE__ */ s(Kr, { label: x, values: r, disabled: u || f, onSelect: (B) => c?.(B) }) : null
2387
+ E && r.length > 0 ? /* @__PURE__ */ s(dl, { label: S, values: r, disabled: u || f, onSelect: (B) => c?.(B) }) : null
2320
2388
  ] })
2321
2389
  ] }),
2322
- /* @__PURE__ */ s(Ho, { open: !!I, onClose: () => _(null), onDelete: H, headline: v, notificationText: I ? O(I) : "", buttonText: k })
2390
+ /* @__PURE__ */ s(Go, { open: !!A, onClose: () => _(null), onDelete: F, headline: y, notificationText: A ? L(A) : "", buttonText: I })
2323
2391
  ] });
2324
2392
  };
2325
- function Jr(o) {
2393
+ function fl(o) {
2326
2394
  return o.isDefault;
2327
2395
  }
2328
- const el = (o) => {
2329
- const e = $(13), {
2396
+ const hl = (o) => {
2397
+ const e = k(13), {
2330
2398
  onSave: t,
2331
2399
  onReset: n,
2332
2400
  hasChanges: r,
@@ -2340,15 +2408,15 @@ const el = (o) => {
2340
2408
  let h;
2341
2409
  e[5] !== i || e[6] !== t || e[7] !== d || e[8] !== f ? (h = /* @__PURE__ */ s(ue, { size: "sm", variant: "primary", onClick: t, loading: i, disabled: f, children: d }), e[5] = i, e[6] = t, e[7] = d, e[8] = f, e[9] = h) : h = e[9];
2342
2410
  let m;
2343
- return e[10] !== u || e[11] !== h ? (m = /* @__PURE__ */ S(ae, { gap: "xs", children: [
2411
+ return e[10] !== u || e[11] !== h ? (m = /* @__PURE__ */ v(ae, { gap: "xs", children: [
2344
2412
  u,
2345
2413
  h
2346
2414
  ] }), e[10] = u, e[11] = h, e[12] = m) : m = e[12], m;
2347
- }, tl = (o, e) => o.sortOrder - e.sortOrder || o.name.localeCompare(e.name), Et = (o, e) => o.map(e).sort(tl), nl = (o, e) => o.find((t) => t.id === e.id), ol = (o, e, t, n) => t.size > 0 ? !0 : e.some((r) => {
2415
+ }, ml = (o, e) => o.sortOrder - e.sortOrder || o.name.localeCompare(e.name), $t = (o, e) => o.map(e).sort(ml), pl = (o, e) => o.find((t) => t.id === e.id), gl = (o, e, t, n) => t.size > 0 ? !0 : e.some((r) => {
2348
2416
  if (r.isNew) return !0;
2349
- const i = nl(o, r);
2417
+ const i = pl(o, r);
2350
2418
  return i ? n(i, r) || r.sortOrder !== i.sortOrder : !0;
2351
- }), kt = (o) => o instanceof Error ? o.message : o ? String(o) : null, Ti = (o) => {
2419
+ }), Dt = (o) => o instanceof Error ? o.message : o ? String(o) : null, Fi = (o) => {
2352
2420
  const {
2353
2421
  errorTitle: e,
2354
2422
  loadingText: t = "Loading...",
@@ -2361,64 +2429,64 @@ const el = (o) => {
2361
2429
  toEditorValue: d,
2362
2430
  valueNeedsUpdate: u,
2363
2431
  ...f
2364
- } = o, [h, m] = fe([]), [p, g] = fe(/* @__PURE__ */ new Set()), [x, b] = fe(!1), [E, P] = fe(null), k = i ?? [];
2365
- ge(() => {
2366
- i && m(Et(i, d));
2432
+ } = o, [h, m] = fe([]), [p, g] = fe(/* @__PURE__ */ new Set()), [S, b] = fe(!1), [x, w] = fe(null), I = i ?? [];
2433
+ me(() => {
2434
+ i && m($t(i, d));
2367
2435
  }, [i, d]);
2368
- const v = async () => {
2369
- b(!0), P(null);
2436
+ const y = async () => {
2437
+ b(!0), w(null);
2370
2438
  try {
2371
2439
  await c({
2372
2440
  deletedIds: p,
2373
2441
  drafts: h,
2374
- values: k
2442
+ values: I
2375
2443
  }), g(/* @__PURE__ */ new Set());
2376
- } catch (y) {
2377
- P(y);
2444
+ } catch (C) {
2445
+ w(C);
2378
2446
  } finally {
2379
2447
  b(!1);
2380
2448
  }
2381
- }, O = ol(k, h, p, u), T = kt(l) ?? kt(E), A = (y) => {
2382
- y.isNew || g(/* @__PURE__ */ new Set([...p, y.id])), m(h.filter((L) => L.id !== y.id));
2383
- }, w = () => {
2384
- m(Et(k, d)), g(/* @__PURE__ */ new Set()), P(null);
2449
+ }, L = gl(I, h, p, u), R = Dt(l) ?? Dt(x), E = (C) => {
2450
+ C.isNew || g(/* @__PURE__ */ new Set([...p, C.id])), m(h.filter((O) => O.id !== C.id));
2451
+ }, P = () => {
2452
+ m($t(I, d)), g(/* @__PURE__ */ new Set()), w(null);
2385
2453
  };
2386
- return /* @__PURE__ */ S(Q, { boxSizing: "border-box", minH: "100%", p: "lg", gap: "lg", bg: "bg", color: "fg", children: [
2387
- T ? /* @__PURE__ */ s(dt, { status: "error", colorPalette: "red", title: e, size: "sm", children: T }) : null,
2388
- i === void 0 ? /* @__PURE__ */ S(ae, { gap: "sm", color: "fg.muted", children: [
2389
- /* @__PURE__ */ s(Mt, { size: "sm" }),
2390
- /* @__PURE__ */ s(F, { textStyle: "paragraph/S/regular", children: t })
2391
- ] }) : /* @__PURE__ */ s(Zr, { ...f, readOnly: a, values: h, onValuesChange: m, onDeleteValue: A, onSetDefault: f.showDefault ? (y) => m(h.map((L) => ({
2392
- ...L,
2393
- isDefault: L.id === y.id
2394
- }))) : f.onSetDefault, hasChanges: O, isSaving: x, headerActions: a ? void 0 : /* @__PURE__ */ s(el, { hasChanges: O, isSaving: x, resetLabel: n, saveLabel: r, onSave: () => {
2395
- v();
2396
- }, onReset: w }) })
2454
+ return /* @__PURE__ */ v(Q, { boxSizing: "border-box", minH: "100%", p: "lg", gap: "lg", bg: "bg", color: "fg", children: [
2455
+ R ? /* @__PURE__ */ s(ft, { status: "error", colorPalette: "red", title: e, size: "sm", children: R }) : null,
2456
+ i === void 0 ? /* @__PURE__ */ v(ae, { gap: "sm", color: "fg.muted", children: [
2457
+ /* @__PURE__ */ s(Gt, { size: "sm" }),
2458
+ /* @__PURE__ */ s(H, { textStyle: "paragraph/S/regular", children: t })
2459
+ ] }) : /* @__PURE__ */ s(ul, { ...f, readOnly: a, values: h, onValuesChange: m, onDeleteValue: E, onSetDefault: f.showDefault ? (C) => m(h.map((O) => ({
2460
+ ...O,
2461
+ isDefault: O.id === C.id
2462
+ }))) : f.onSetDefault, hasChanges: L, isSaving: S, headerActions: a ? void 0 : /* @__PURE__ */ s(hl, { hasChanges: L, isSaving: S, resetLabel: n, saveLabel: r, onSave: () => {
2463
+ y();
2464
+ }, onReset: P }) })
2397
2465
  ] });
2398
- }, $t = {
2466
+ }, Lt = {
2399
2467
  sectionOrder: [],
2400
2468
  nodeOrderBySection: {},
2401
2469
  sectionSlotById: {}
2402
- }, rl = "pstdio/ui/tree-list-order", ll = (o) => `${rl}/${o}`, Dt = (o) => {
2470
+ }, bl = "pstdio/ui/tree-list-order", Sl = (o) => `${bl}/${o}`, Ot = (o) => {
2403
2471
  const e = /* @__PURE__ */ new Set(), t = [];
2404
2472
  for (const n of o)
2405
2473
  e.has(n) || (e.add(n), t.push(n));
2406
2474
  return t;
2407
- }, il = (o) => ({
2475
+ }, xl = (o) => ({
2408
2476
  sectionOrder: o.sectionOrder,
2409
2477
  nodeOrderBySection: o.nodeOrderBySection,
2410
2478
  sectionSlotById: o.sectionSlotById
2411
- }), sl = (o) => lt()(ot((e) => ({
2412
- ...$t,
2479
+ }), vl = (o) => lt()(ot((e) => ({
2480
+ ...Lt,
2413
2481
  setSectionOrder: (t) => e((n) => ({
2414
2482
  ...n,
2415
- sectionOrder: Dt(t)
2483
+ sectionOrder: Ot(t)
2416
2484
  })),
2417
2485
  setNodeOrder: (t, n) => e((r) => ({
2418
2486
  ...r,
2419
2487
  nodeOrderBySection: {
2420
2488
  ...r.nodeOrderBySection,
2421
- [t]: Dt(n)
2489
+ [t]: Ot(n)
2422
2490
  }
2423
2491
  })),
2424
2492
  setSectionSlot: (t, n) => e((r) => ({
@@ -2443,23 +2511,23 @@ const el = (o) => {
2443
2511
  nodeOrderBySection: i
2444
2512
  };
2445
2513
  }),
2446
- reset: () => e($t)
2514
+ reset: () => e(Lt)
2447
2515
  }), {
2448
- name: ll(o.storageKey),
2449
- storage: rt(Me),
2450
- partialize: il
2451
- })), Ot = /* @__PURE__ */ new Map(), al = (o) => {
2452
- const e = Ot.get(o);
2516
+ name: Sl(o.storageKey),
2517
+ storage: rt(Ve),
2518
+ partialize: xl
2519
+ })), _t = /* @__PURE__ */ new Map(), yl = (o) => {
2520
+ const e = _t.get(o);
2453
2521
  if (e) return e;
2454
- const t = sl({
2522
+ const t = vl({
2455
2523
  storageKey: o
2456
2524
  });
2457
- return Ot.set(o, t), t;
2458
- }, Pi = (o, e) => {
2459
- const t = $(2);
2525
+ return _t.set(o, t), t;
2526
+ }, Mi = (o, e) => {
2527
+ const t = k(2);
2460
2528
  let n;
2461
- return t[0] !== o ? (n = al(o), t[0] = o, t[1] = n) : n = t[1], nt(n, e);
2462
- }, cl = (o, e) => {
2529
+ return t[0] !== o ? (n = yl(o), t[0] = o, t[1] = n) : n = t[1], nt(n, e);
2530
+ }, Cl = (o, e) => {
2463
2531
  if (e.length === 0) return o;
2464
2532
  const t = new Map(o.map((l, c) => [l.id, c])), n = /* @__PURE__ */ new Set(), r = [];
2465
2533
  for (const l of e) {
@@ -2477,9 +2545,9 @@ const el = (o) => {
2477
2545
  }
2478
2546
  }
2479
2547
  return i ? r : o;
2480
- }, Ai = (o, e, t) => {
2548
+ }, Vi = (o, e, t) => {
2481
2549
  let n = !1;
2482
- const r = cl(o, e);
2550
+ const r = Cl(o, e);
2483
2551
  r !== o && (n = !0);
2484
2552
  const i = new Map(o.flatMap((a) => a.nodes.map((d) => [d.id, d]))), l = new Set(Object.entries(t).filter(([a]) => o.some((d) => d.id === a)).flatMap(([, a]) => a.filter((d) => i.has(d)))), c = [];
2485
2553
  for (const a of r) {
@@ -2502,10 +2570,10 @@ const el = (o) => {
2502
2570
  })) : c.push(a);
2503
2571
  }
2504
2572
  return n ? c : o;
2505
- }, Lt = {
2573
+ }, zt = {
2506
2574
  sectionOverrides: {},
2507
2575
  nodeOverrides: {}
2508
- }, dl = "pstdio/ui/tree-list-visibility", ul = (o) => `${dl}/${o}`, fl = (o, e) => o ?? (e ? "hidden" : "shown"), hl = (o) => o === "hidden" ? "shown" : "hidden", Ge = (o, e, t) => {
2576
+ }, wl = "pstdio/ui/tree-list-visibility", Il = (o) => `${wl}/${o}`, Tl = (o, e) => o ?? (e ? "hidden" : "shown"), Pl = (o) => o === "hidden" ? "shown" : "hidden", je = (o, e, t) => {
2509
2577
  if (t === void 0) {
2510
2578
  if (!(e in o)) return o;
2511
2579
  const {
@@ -2518,122 +2586,122 @@ const el = (o) => {
2518
2586
  ...o,
2519
2587
  [e]: t
2520
2588
  };
2521
- }, _t = (o, e, t) => {
2522
- const n = hl(fl(o[e], t));
2523
- return Ge(o, e, n);
2524
- }, ml = (o) => ({
2589
+ }, Nt = (o, e, t) => {
2590
+ const n = Pl(Tl(o[e], t));
2591
+ return je(o, e, n);
2592
+ }, Al = (o) => ({
2525
2593
  sectionOverrides: o.sectionOverrides,
2526
2594
  nodeOverrides: o.nodeOverrides
2527
- }), pl = (o) => lt()(ot((e) => ({
2528
- ...Lt,
2595
+ }), Rl = (o) => lt()(ot((e) => ({
2596
+ ...zt,
2529
2597
  setSection: (t, n) => e((r) => ({
2530
2598
  ...r,
2531
- sectionOverrides: Ge(r.sectionOverrides, t, n)
2599
+ sectionOverrides: je(r.sectionOverrides, t, n)
2532
2600
  })),
2533
2601
  setNode: (t, n) => e((r) => ({
2534
2602
  ...r,
2535
- nodeOverrides: Ge(r.nodeOverrides, t, n)
2603
+ nodeOverrides: je(r.nodeOverrides, t, n)
2536
2604
  })),
2537
2605
  toggleSection: (t, n) => e((r) => ({
2538
2606
  ...r,
2539
- sectionOverrides: _t(r.sectionOverrides, t, n)
2607
+ sectionOverrides: Nt(r.sectionOverrides, t, n)
2540
2608
  })),
2541
2609
  toggleNode: (t, n) => e((r) => ({
2542
2610
  ...r,
2543
- nodeOverrides: _t(r.nodeOverrides, t, n)
2611
+ nodeOverrides: Nt(r.nodeOverrides, t, n)
2544
2612
  })),
2545
2613
  clearSection: (t) => e((n) => ({
2546
2614
  ...n,
2547
- sectionOverrides: Ge(n.sectionOverrides, t, void 0)
2615
+ sectionOverrides: je(n.sectionOverrides, t, void 0)
2548
2616
  })),
2549
2617
  clearNode: (t) => e((n) => ({
2550
2618
  ...n,
2551
- nodeOverrides: Ge(n.nodeOverrides, t, void 0)
2619
+ nodeOverrides: je(n.nodeOverrides, t, void 0)
2552
2620
  })),
2553
- reset: () => e(Lt)
2621
+ reset: () => e(zt)
2554
2622
  }), {
2555
- name: ul(o.storageKey),
2556
- storage: rt(Me),
2557
- partialize: ml
2558
- })), zt = /* @__PURE__ */ new Map(), gl = (o) => {
2559
- const e = zt.get(o);
2623
+ name: Il(o.storageKey),
2624
+ storage: rt(Ve),
2625
+ partialize: Al
2626
+ })), Bt = /* @__PURE__ */ new Map(), kl = (o) => {
2627
+ const e = Bt.get(o);
2560
2628
  if (e) return e;
2561
- const t = pl({
2629
+ const t = Rl({
2562
2630
  storageKey: o
2563
2631
  });
2564
- return zt.set(o, t), t;
2565
- }, Ri = (o, e) => {
2566
- const t = $(2);
2632
+ return Bt.set(o, t), t;
2633
+ }, Gi = (o, e) => {
2634
+ const t = k(2);
2567
2635
  let n;
2568
- return t[0] !== o ? (n = gl(o), t[0] = o, t[1] = n) : n = t[1], nt(n, e);
2569
- }, bl = [], en = (o, e) => typeof o == "string" && e.some((t) => t.id === o), Sl = (o) => {
2636
+ return t[0] !== o ? (n = kl(o), t[0] = o, t[1] = n) : n = t[1], nt(n, e);
2637
+ }, El = [], on = (o, e) => typeof o == "string" && e.some((t) => t.id === o), $l = (o) => {
2570
2638
  const e = o.toLowerCase().split("."), t = [];
2571
2639
  for (let n = 1; n < e.length; n += 1) t.push(e.slice(n).join("."));
2572
2640
  return t;
2573
- }, xl = (o, e, t) => {
2641
+ }, Dl = (o, e, t) => {
2574
2642
  if (t) return o.defaults.folder;
2575
2643
  const n = o.fileNames[e.toLowerCase()];
2576
2644
  if (n) return n;
2577
- for (const r of Sl(e)) {
2645
+ for (const r of $l(e)) {
2578
2646
  const i = o.fileExtensions[r];
2579
2647
  if (i) return i;
2580
2648
  }
2581
2649
  return o.defaults.file;
2582
- }, vl = (o, e) => {
2650
+ }, Ll = (o, e) => {
2583
2651
  if (e.fontId) {
2584
2652
  const t = o.fonts.find((n) => n.fontFamily === `${o.id}-${e.fontId}`);
2585
2653
  if (t) return t.fontFamily;
2586
2654
  }
2587
2655
  return o.fonts[0]?.fontFamily;
2588
- }, yl = (o) => {
2656
+ }, Ol = (o) => {
2589
2657
  const e = /^\\([0-9a-fA-F]+)$/.exec(o);
2590
2658
  return e ? String.fromCodePoint(Number.parseInt(e[1], 16)) : o;
2591
- }, Cl = (o, e, t = !1) => {
2659
+ }, _l = (o, e, t = !1) => {
2592
2660
  if (!o) return;
2593
- const n = xl(o, e, t);
2661
+ const n = Dl(o, e, t);
2594
2662
  if (!n) return;
2595
2663
  const r = o.definitions[n];
2596
2664
  if (!r?.fontCharacter) return;
2597
- const i = vl(o, r);
2665
+ const i = Ll(o, r);
2598
2666
  if (i)
2599
2667
  return {
2600
2668
  fontFamily: i,
2601
- fontCharacter: yl(r.fontCharacter),
2669
+ fontCharacter: Ol(r.fontCharacter),
2602
2670
  fontColor: r.fontColor
2603
2671
  };
2604
- }, Nt = "data-pstdio-file-icon-fonts", wl = (o) => {
2672
+ }, Wt = "data-pstdio-file-icon-fonts", zl = (o) => {
2605
2673
  const e = o.src.map((t) => `url("${t.url}")${t.format ? ` format("${t.format}")` : ""}`).join(", ");
2606
2674
  return ["@font-face {", ` font-family: "${o.fontFamily}";`, ` src: ${e};`, ` font-weight: ${o.weight ?? "normal"};`, ` font-style: ${o.style ?? "normal"};`, "}"].join(`
2607
2675
  `);
2608
- }, Il = (o, e) => {
2676
+ }, Nl = (o, e) => {
2609
2677
  if (typeof document > "u") return;
2610
- let t = document.querySelector(`style[${Nt}]`);
2611
- t || (t = document.createElement("style"), t.setAttribute(Nt, ""), document.head.appendChild(t));
2678
+ let t = document.querySelector(`style[${Wt}]`);
2679
+ t || (t = document.createElement("style"), t.setAttribute(Wt, ""), document.head.appendChild(t));
2612
2680
  const n = e.find((r) => r.id === o);
2613
- t.textContent = (n?.fonts ?? []).map(wl).join(`
2681
+ t.textContent = (n?.fonts ?? []).map(zl).join(`
2614
2682
 
2615
2683
  `);
2616
- }, tn = "file-icon-theme-preference", ct = (o) => o.find((e) => e.id.endsWith(".seti"))?.id ?? o[0]?.id ?? null, nn = mn(null), Tl = (o) => {
2617
- if (typeof window > "u") return ct(o);
2618
- const e = Me().getItem(tn);
2619
- return en(e, o) ? e : ct(o);
2620
- }, Ei = (o) => {
2621
- const e = $(18), {
2684
+ }, rn = "file-icon-theme-preference", dt = (o) => o.find((e) => e.id.endsWith(".seti"))?.id ?? o[0]?.id ?? null, ln = gn(null), Bl = (o) => {
2685
+ if (typeof window > "u") return dt(o);
2686
+ const e = Ve().getItem(rn);
2687
+ return on(e, o) ? e : dt(o);
2688
+ }, ji = (o) => {
2689
+ const e = k(18), {
2622
2690
  children: t,
2623
2691
  themePreferences: n
2624
- } = o, r = n === void 0 ? bl : n;
2692
+ } = o, r = n === void 0 ? El : n;
2625
2693
  let i;
2626
- e[0] !== r ? (i = () => Tl(r), e[0] = r, e[1] = i) : i = e[1];
2694
+ e[0] !== r ? (i = () => Bl(r), e[0] = r, e[1] = i) : i = e[1];
2627
2695
  const [l, c] = fe(i);
2628
2696
  let a, d;
2629
2697
  e[2] !== l || e[3] !== r ? (a = () => {
2630
- const p = en(l, r) ? l : ct(r);
2698
+ const p = on(l, r) ? l : dt(r);
2631
2699
  if (p !== l) {
2632
2700
  c(p);
2633
2701
  return;
2634
2702
  }
2635
- Il(p, r), typeof window < "u" && p && Me().setItem(tn, p);
2636
- }, d = [l, r], e[2] = l, e[3] = r, e[4] = a, e[5] = d) : (a = e[4], d = e[5]), ge(a, d);
2703
+ Nl(p, r), typeof window < "u" && p && Ve().setItem(rn, p);
2704
+ }, d = [l, r], e[2] = l, e[3] = r, e[4] = a, e[5] = d) : (a = e[4], d = e[5]), me(a, d);
2637
2705
  let u;
2638
2706
  if (e[6] !== l || e[7] !== r) {
2639
2707
  let p;
@@ -2649,18 +2717,18 @@ const el = (o) => {
2649
2717
  setFileIconThemePreference: c
2650
2718
  }, e[11] = f, e[12] = l, e[13] = r, e[14] = h) : h = e[14];
2651
2719
  let m;
2652
- return e[15] !== t || e[16] !== h ? (m = /* @__PURE__ */ s(nn, { value: h, children: t }), e[15] = t, e[16] = h, e[17] = m) : m = e[17], m;
2653
- }, ki = () => {
2654
- const o = pn(nn);
2720
+ return e[15] !== t || e[16] !== h ? (m = /* @__PURE__ */ s(ln, { value: h, children: t }), e[15] = t, e[16] = h, e[17] = m) : m = e[17], m;
2721
+ }, Ui = () => {
2722
+ const o = bn(ln);
2655
2723
  if (!o)
2656
2724
  throw new Error("useFileIconThemePreference must be used within a FileIconThemePreferenceProvider");
2657
2725
  return o;
2658
- }, $i = (o, e = {}) => {
2726
+ }, Qi = (o, e = {}) => {
2659
2727
  const {
2660
2728
  isDirectory: t = !1,
2661
2729
  theme: n,
2662
2730
  size: r = 16
2663
- } = e, i = Cl(n, o, t);
2731
+ } = e, i = _l(n, o, t);
2664
2732
  if (i) {
2665
2733
  const c = {
2666
2734
  fontFamily: `"${i.fontFamily}"`,
@@ -2671,148 +2739,151 @@ const el = (o) => {
2671
2739
  };
2672
2740
  return /* @__PURE__ */ s("span", { "aria-hidden": "true", style: c, children: i.fontCharacter });
2673
2741
  }
2674
- if (t) return /* @__PURE__ */ s(jt, { size: r });
2675
- const l = Bn(o);
2742
+ if (t) return /* @__PURE__ */ s(qt, { size: r });
2743
+ const l = Wn(o);
2676
2744
  return /* @__PURE__ */ s(l, { size: r });
2677
2745
  };
2678
2746
  export {
2679
- ji as ANCHOR_GRID_VALUES,
2680
- Ui as ActionInput,
2681
- Zl as Activity,
2747
+ ss as ANCHOR_GRID_VALUES,
2748
+ as as ActionInput,
2749
+ fi as Activity,
2682
2750
  it as ActivityAvatar,
2683
- Kn as ActivityComment,
2684
- Zn as ActivityComposer,
2685
- eo as ActivityEvent,
2686
- oo as ActivityFeed,
2687
- no as ActivityHeader,
2688
- Yn as ActivityReply,
2689
- to as ActivityRoot,
2690
- ro as ActivityTimeline,
2691
- dt as AlertMessage,
2692
- Qi as AnchorGridInput,
2693
- ii as AttachedMenu,
2694
- si as AttachedPanel,
2695
- Xi as AttachmentChip,
2696
- qi as BooleanInput,
2697
- ui as Breadcrumb,
2698
- ai as BubbleButton,
2699
- ci as BubblePanel,
2700
- Li as ChakraProvider,
2701
- $s as Checkbox,
2702
- Yi as Chip,
2703
- Ki as ColorInput,
2704
- Ko as ContentPlaceholder,
2705
- fi as ContentPlaceholderLabel,
2706
- Jl as DEFAULT_PALETTE_ASSET_LIMIT,
2707
- Zi as DateInput,
2708
- Ho as DeleteConfirmationModal,
2709
- zs as EmptyState,
2710
- hi as ErrorBoundary,
2711
- Ei as FileIconThemePreferenceProvider,
2712
- Ji as FileUploadInput,
2751
+ eo as ActivityComment,
2752
+ to as ActivityComposer,
2753
+ oo as ActivityEvent,
2754
+ io as ActivityFeed,
2755
+ lo as ActivityHeader,
2756
+ Jn as ActivityReply,
2757
+ ro as ActivityRoot,
2758
+ so as ActivityTimeline,
2759
+ ft as AlertMessage,
2760
+ cs as AnchorGridInput,
2761
+ vi as AttachedMenu,
2762
+ yi as AttachedPanel,
2763
+ ds as AttachmentChip,
2764
+ us as BooleanInput,
2765
+ Ti as Breadcrumb,
2766
+ Ci as BubbleButton,
2767
+ wi as BubblePanel,
2768
+ Ki as ChakraProvider,
2769
+ qs as Checkbox,
2770
+ fs as Chip,
2771
+ hs as ColorInput,
2772
+ er as ContentPlaceholder,
2773
+ Pi as ContentPlaceholderLabel,
2774
+ hi as DEFAULT_PALETTE_ASSET_LIMIT,
2775
+ ms as DateInput,
2776
+ Go as DeleteConfirmationModal,
2777
+ Js as EmptyState,
2778
+ Ai as ErrorBoundary,
2779
+ ji as FileIconThemePreferenceProvider,
2780
+ ps as FileUploadInput,
2713
2781
  On as Header,
2714
- ni as HorizontalMenuStack,
2715
- es as HorizontalTextInput,
2716
- rr as IconColorPicker,
2717
- mi as IntegrationCard,
2718
- oi as ItemSection,
2782
+ gi as HorizontalMenuStack,
2783
+ gs as HorizontalTextInput,
2784
+ sr as IconColorPicker,
2785
+ Ri as IntegrationCard,
2786
+ bi as ItemSection,
2719
2787
  Qe as ListRow,
2720
- ts as MarkdownInput,
2721
- li as NotificationCenter,
2722
- ns as NumberInput,
2723
- vt as PANEL_HEADER_CONTROL_SIZE,
2724
- Ro as PANEL_HEADER_HEIGHT,
2725
- ri as PANEL_HEADER_TAB_SIZE,
2726
- ei as Palette,
2727
- ti as PaletteShortcut,
2728
- As as ParamEditor,
2729
- os as ParamEditorControlItem,
2730
- bi as ParamEditorControlList,
2731
- rs as ParamEditorField,
2732
- ls as ParamEditorFieldLabel,
2733
- is as ParamEditorInlineGroup,
2734
- ss as ParamEditorLabel,
2735
- as as ParamEditorReadOnlyField,
2736
- cs as ParamEditorReadOnlyValue,
2737
- Rs as ParamEditorRow,
2738
- Es as ParamEditorSection,
2739
- Mi as Radio,
2740
- Vi as RadioGroup,
2741
- ds as RangeInput,
2742
- di as RepoPickerDialog,
2743
- Wi as ResizableSplitLayout,
2744
- zi as ResourceActionMenu,
2745
- Ds as ResourceBadge,
2746
- Qt as ResourceContextMenu,
2747
- us as ResourceInput,
2788
+ bs as MarkdownInput,
2789
+ xi as NotificationCenter,
2790
+ Ss as NumberInput,
2791
+ Ct as PANEL_HEADER_CONTROL_SIZE,
2792
+ $o as PANEL_HEADER_HEIGHT,
2793
+ Si as PANEL_HEADER_TAB_SIZE,
2794
+ mi as Palette,
2795
+ pi as PaletteShortcut,
2796
+ Gs as ParamEditor,
2797
+ xs as ParamEditorControlItem,
2798
+ $i as ParamEditorControlList,
2799
+ vs as ParamEditorField,
2800
+ ys as ParamEditorFieldLabel,
2801
+ Cs as ParamEditorInlineGroup,
2802
+ ws as ParamEditorLabel,
2803
+ Is as ParamEditorReadOnlyField,
2804
+ Ts as ParamEditorReadOnlyValue,
2805
+ js as ParamEditorRow,
2806
+ Us as ParamEditorSection,
2807
+ rs as Radio,
2808
+ ls as RadioGroup,
2809
+ Ps as RangeInput,
2810
+ Ii as RepoPickerDialog,
2811
+ ts as ResizableSplitLayout,
2812
+ Zi as ResourceActionMenu,
2813
+ Xs as ResourceBadge,
2814
+ Kt as ResourceContextMenu,
2815
+ As as ResourceInput,
2748
2816
  tt as ScrollArea,
2749
- Yt as SearchModalContent,
2750
- Ni as SearchableMenu,
2751
- pi as SegmentedControl,
2752
- fs as SegmentedInput,
2753
- hs as SelectionInput,
2754
- vs as SessionIndicator,
2755
- Si as Sidenav,
2756
- lr as SimpleCard,
2757
- ir as SimpleCardBody,
2758
- Os as Switch,
2759
- Zr as TagEditor,
2760
- Vr as TagEditorHeading,
2761
- el as TagEditorSaveBar,
2762
- Ti as TagSettingsPanel,
2763
- er as TagSwatch,
2764
- ms as TextInput,
2765
- Ms as ThemePreferenceProvider,
2766
- gi as Toaster,
2817
+ Jt as SearchModalContent,
2818
+ Ji as SearchableMenu,
2819
+ ki as SegmentedControl,
2820
+ Rs as SegmentedInput,
2821
+ ks as SelectionInput,
2822
+ Ns as SessionIndicator,
2823
+ Di as Sidenav,
2824
+ ar as SimpleCard,
2825
+ cr as SimpleCardBody,
2826
+ Es as Slider,
2827
+ Ks as Switch,
2828
+ ul as TagEditor,
2829
+ nl as TagEditorHeading,
2830
+ hl as TagEditorSaveBar,
2831
+ Fi as TagSettingsPanel,
2832
+ or as TagSwatch,
2833
+ $s as TextInput,
2834
+ la as ThemePreferenceProvider,
2835
+ Ei as Toaster,
2767
2836
  Ue as Tooltip,
2768
- Ln as TreeList,
2769
- Fi as TreeListDragProvider,
2770
- ps as VectorInput,
2771
- ys as WorkspaceBadge,
2772
- Il as applyFileIconThemePreference,
2773
- Vs as applyThemePreference,
2774
- Ai as applyTreeListOrder,
2775
- Ii as buildTabVisibilityMenuActions,
2776
- Ci as buildTreeVisibilityMenuActions,
2777
- gs as createGlyphIcon,
2778
- Bs as createMonacoThemeFromVsCodeTheme,
2779
- Ws as createThemePreferenceFromVsCodeTheme,
2780
- bl as defaultFileIconThemePreferences,
2781
- Gs as defaultThemePreferences,
2782
- co as filterPaletteEntries,
2783
- vi as filterVisibleNodes,
2784
- yi as filterVisibleSections,
2785
- wi as filterVisibleTabs,
2786
- Bn as getFileTypeIcon,
2787
- _n as getIconComponent,
2788
- js as getInitialThemePreference,
2789
- Br as getTabVisibilityStore,
2790
- Us as getThemePreferenceClassName,
2791
- Qs as getThemePreferenceClassNames,
2792
- Xs as getThemePreferenceMode,
2793
- al as getTreeListOrderStore,
2794
- gl as getTreeListVisibilityStore,
2795
- Cs as handleDialogAcceptShortcut,
2796
- Ls as installPrismGlobal,
2797
- bs as isAnchorGridValue,
2798
- en as isFileIconThemePreference,
2799
- Ss as isParamEditorRichControl,
2800
- qs as isThemePreference,
2801
- Nn as optionColors,
2802
- zn as optionIcons,
2803
- Fs as psTheme,
2804
- $i as resolveFileIconElement,
2805
- Cl as resolveFileIconGlyph,
2806
- ws as resolveSessionIndicatorColor,
2807
- Is as resolveSessionIndicatorIcon,
2808
- Ve as resolveVisibility,
2809
- Ts as sessionCompletionStatuses,
2810
- fr as toaster,
2811
- ki as useFileIconThemePreference,
2837
+ _n as TreeList,
2838
+ ns as TreeListDragProvider,
2839
+ Ds as VectorInput,
2840
+ Wi as WindowTabs,
2841
+ Hi as WindowTitleBar,
2842
+ Bs as WorkspaceBadge,
2843
+ Nl as applyFileIconThemePreference,
2844
+ ia as applyThemePreference,
2845
+ Vi as applyTreeListOrder,
2846
+ Bi as buildTabVisibilityMenuActions,
2847
+ zi as buildTreeVisibilityMenuActions,
2848
+ Ls as createGlyphIcon,
2849
+ ta as createMonacoThemeFromVsCodeTheme,
2850
+ na as createThemePreferenceFromVsCodeTheme,
2851
+ El as defaultFileIconThemePreferences,
2852
+ sa as defaultThemePreferences,
2853
+ ho as filterPaletteEntries,
2854
+ Oi as filterVisibleNodes,
2855
+ _i as filterVisibleSections,
2856
+ Ni as filterVisibleTabs,
2857
+ Wn as getFileTypeIcon,
2858
+ zn as getIconComponent,
2859
+ aa as getInitialThemePreference,
2860
+ Fr as getTabVisibilityStore,
2861
+ ca as getThemePreferenceClassName,
2862
+ da as getThemePreferenceClassNames,
2863
+ ua as getThemePreferenceMode,
2864
+ yl as getTreeListOrderStore,
2865
+ kl as getTreeListVisibilityStore,
2866
+ Ws as handleDialogAcceptShortcut,
2867
+ Ys as installPrismGlobal,
2868
+ Os as isAnchorGridValue,
2869
+ on as isFileIconThemePreference,
2870
+ _s as isParamEditorRichControl,
2871
+ fa as isThemePreference,
2872
+ Bn as optionColors,
2873
+ Nn as optionIcons,
2874
+ oa as psTheme,
2875
+ Qi as resolveFileIconElement,
2876
+ _l as resolveFileIconGlyph,
2877
+ Hs as resolveSessionIndicatorColor,
2878
+ Fs as resolveSessionIndicatorIcon,
2879
+ Ge as resolveVisibility,
2880
+ Ms as sessionCompletionStatuses,
2881
+ pr as toaster,
2882
+ Ui as useFileIconThemePreference,
2812
2883
  Be as useSidenavStore,
2813
- xi as useTabVisibilityStore,
2814
- Ys as useThemePreference,
2815
- Pi as useTreeListOrderStore,
2816
- Ri as useTreeListVisibilityStore
2884
+ Li as useTabVisibilityStore,
2885
+ ha as useThemePreference,
2886
+ Mi as useTreeListOrderStore,
2887
+ Gi as useTreeListVisibilityStore
2817
2888
  };
2818
2889
  //# sourceMappingURL=index.js.map