@pstdio/ui 0.19.0 → 0.20.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 (120) hide show
  1. package/dist/{MermaidComponent-BPiVFNYK.js → MermaidComponent-BVMyKttu.js} +3 -3
  2. package/dist/{MermaidComponent-BPiVFNYK.js.map → MermaidComponent-BVMyKttu.js.map} +1 -1
  3. package/dist/browser-storage-DPtOQJx0.js +127 -0
  4. package/dist/browser-storage-DPtOQJx0.js.map +1 -0
  5. package/dist/chat-ui.js +19 -20
  6. package/dist/chat-ui.js.map +1 -1
  7. package/dist/components/data-table/data-table-header.d.ts +3 -1
  8. package/dist/components/data-table/edit-mode-data-table-body.d.ts +29 -0
  9. package/dist/components/data-table/edit-mode-data-table-cell.d.ts +15 -0
  10. package/dist/components/data-table/edit-mode-data-table-editors.d.ts +19 -0
  11. package/dist/components/data-table/edit-mode-data-table-header.d.ts +23 -0
  12. package/dist/components/data-table/edit-mode-data-table-selection.d.ts +12 -0
  13. package/dist/components/data-table/edit-mode-data-table.d.ts +2 -0
  14. package/dist/components/data-table/edit-mode-story.d.ts +5 -0
  15. package/dist/components/data-table/index.d.ts +1 -1
  16. package/dist/components/data-table/pagination-footer.d.ts +8 -5
  17. package/dist/components/data-table/types.d.ts +24 -0
  18. package/dist/components/diff-viewer/code-editor.d.ts +2 -0
  19. package/dist/components/diff-viewer/file-change-badge.d.ts +3 -0
  20. package/dist/components/diff-viewer/file-list-panel.d.ts +0 -1
  21. package/dist/components/diff-viewer/index.d.ts +1 -0
  22. package/dist/components/param-editor/param-editor.types.d.ts +2 -0
  23. package/dist/components/rich-text/index.d.ts +2 -0
  24. package/dist/components/rich-text/markdown-editor/markdown-editor.d.ts +7 -0
  25. package/dist/components/rich-text/markdown-editor/markdown-table.story-fixture.d.ts +3 -0
  26. package/dist/components/rich-text/markdown-editor/plugins/MarkdownSectionNavigationPlugin.d.ts +8 -0
  27. package/dist/components/rich-text/markdown-editor/plugins/MarkdownSlashCommandPlugin.d.ts +1 -0
  28. package/dist/components/rich-text/markdown-editor/plugins/markdown-history-plugin.d.ts +1 -0
  29. package/dist/components/rich-text/markdown-editor/plugins/markdown-section-navigation.d.ts +20 -0
  30. package/dist/components/rich-text/rich-message/rich-message.d.ts +2 -0
  31. package/dist/components/rich-text/shared/markdown-ast.d.ts +6 -0
  32. package/dist/components/rich-text/shared/markdown-codec.d.ts +3 -0
  33. package/dist/components/rich-text/shared/markdown-export.d.ts +2 -0
  34. package/dist/components/rich-text/shared/markdown-import.d.ts +2 -0
  35. package/dist/components/rich-text/shared/markdown-inline.d.ts +5 -0
  36. package/dist/components/rich-text/shared/markdown-table.d.ts +41 -0
  37. package/dist/components/rich-text/shared/markdown-url-context.d.ts +9 -0
  38. package/dist/components/rich-text/shared/markdown-url.d.ts +3 -0
  39. package/dist/components/rich-text/shared/nodes/DataTableNode.d.ts +13 -11
  40. package/dist/components/rich-text/shared/nodes/MarkdownImageNode.d.ts +35 -0
  41. package/dist/components/rich-text/shared/nodes/MarkdownLinkNode.d.ts +18 -0
  42. package/dist/components/rich-text/shared/nodes/RawHtmlNode.d.ts +31 -0
  43. package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/floating-toolbar-buttons.d.ts +4 -2
  44. package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/resolve-block-type.d.ts +1 -1
  45. package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/utils/setFloatingElemPos.d.ts +1 -1
  46. package/dist/components/rich-text/shared/plugins/MermaidPlugin/MermaidNode.d.ts +1 -0
  47. package/dist/components/rich-text/shared/transformers/markdown-transformers.d.ts +2 -3
  48. package/dist/components/tree-list/tree-list-background.d.ts +8 -0
  49. package/dist/components/tree-list/tree-list-drag.d.ts +7 -0
  50. package/dist/components/tree-list/tree-list-inline-creation-story.d.ts +3 -0
  51. package/dist/components/tree-list/tree-list-inline-input.d.ts +9 -0
  52. package/dist/components/tree-list/tree-list-move-surface.d.ts +7 -0
  53. package/dist/components/tree-list/tree-list-node-row.d.ts +1 -0
  54. package/dist/components/tree-list/tree-list.d.ts +2 -0
  55. package/dist/components/tree-list/tree-list.types.d.ts +13 -0
  56. package/dist/data-table.js +723 -923
  57. package/dist/data-table.js.map +1 -1
  58. package/dist/diff.js +796 -815
  59. package/dist/diff.js.map +1 -1
  60. package/dist/edit-mode-data-table-D6NeiDJx.js +775 -0
  61. package/dist/edit-mode-data-table-D6NeiDJx.js.map +1 -0
  62. package/dist/editor-config-D9OksZ93.js +2416 -0
  63. package/dist/editor-config-D9OksZ93.js.map +1 -0
  64. package/dist/index.d.ts +1 -1
  65. package/dist/index.js +326 -353
  66. package/dist/index.js.map +1 -1
  67. package/dist/{kanban-renderer-toolbar-Bcj_N1qr.js → kanban-renderer-toolbar-CpegGbwq.js} +359 -361
  68. package/dist/kanban-renderer-toolbar-CpegGbwq.js.map +1 -0
  69. package/dist/kanban-renderer.js +28 -27
  70. package/dist/kanban-renderer.js.map +1 -1
  71. package/dist/{lazy-markdown-editor-DwhqQ-NN.js → lazy-markdown-editor-B7uP2ALS.js} +2 -2
  72. package/dist/{lazy-markdown-editor-DwhqQ-NN.js.map → lazy-markdown-editor-B7uP2ALS.js.map} +1 -1
  73. package/dist/{list-row-BtoVJpFs.js → list-row-9oxy-F0v.js} +229 -254
  74. package/dist/list-row-9oxy-F0v.js.map +1 -0
  75. package/dist/{mermaid-renderer-DZo3qj6D.js → mermaid-renderer-H3IhLqnQ.js} +3 -3
  76. package/dist/{mermaid-renderer-DZo3qj6D.js.map → mermaid-renderer-H3IhLqnQ.js.map} +1 -1
  77. package/dist/mermaid.js +1 -1
  78. package/dist/number-input-WUfejtNx.js +343 -0
  79. package/dist/number-input-WUfejtNx.js.map +1 -0
  80. package/dist/{param-editor-XRjSu6MT.js → param-editor-B8Ff9Nm8.js} +2 -2
  81. package/dist/{param-editor-XRjSu6MT.js.map → param-editor-B8Ff9Nm8.js.map} +1 -1
  82. package/dist/param-editor-field-Cu4pto_a.js +2845 -0
  83. package/dist/param-editor-field-Cu4pto_a.js.map +1 -0
  84. package/dist/rich-message-DdFYRzTo.js +658 -0
  85. package/dist/rich-message-DdFYRzTo.js.map +1 -0
  86. package/dist/rich-text.js +182 -110
  87. package/dist/rich-text.js.map +1 -1
  88. package/dist/style.css +1 -1
  89. package/dist/theme/recipes/button.d.ts +11 -0
  90. package/dist/theme/recipes/input.d.ts +32 -0
  91. package/dist/{theme-7PDdD9OD.js → theme-BH4fSst9.js} +44 -1
  92. package/dist/theme-BH4fSst9.js.map +1 -0
  93. package/dist/{theme-preference-DOzHx64J.js → theme-preference-DyymrYpR.js} +2 -2
  94. package/dist/{theme-preference-DOzHx64J.js.map → theme-preference-DyymrYpR.js.map} +1 -1
  95. package/dist/theme.js +1 -1
  96. package/dist/tree-list-uV4UFj0x.js +1116 -0
  97. package/dist/tree-list-uV4UFj0x.js.map +1 -0
  98. package/package.json +9 -1
  99. package/dist/browser-storage-BinyFNJX.js +0 -40
  100. package/dist/browser-storage-BinyFNJX.js.map +0 -1
  101. package/dist/checkbox-B2zYVemL.js +0 -70
  102. package/dist/checkbox-B2zYVemL.js.map +0 -1
  103. package/dist/components/data-table/editable-cells-story.d.ts +0 -9
  104. package/dist/kanban-renderer-toolbar-Bcj_N1qr.js.map +0 -1
  105. package/dist/list-row-BtoVJpFs.js.map +0 -1
  106. package/dist/markdown-DDd2ESoH.js +0 -743
  107. package/dist/markdown-DDd2ESoH.js.map +0 -1
  108. package/dist/markdown-editor-CYVkzt8t.js +0 -741
  109. package/dist/markdown-editor-CYVkzt8t.js.map +0 -1
  110. package/dist/param-editor-field-B9lEPq8c.js +0 -3028
  111. package/dist/param-editor-field-B9lEPq8c.js.map +0 -1
  112. package/dist/resource-badge-CuItchgL.js +0 -98
  113. package/dist/resource-badge-CuItchgL.js.map +0 -1
  114. package/dist/rich-message--eRzjWYK.js +0 -730
  115. package/dist/rich-message--eRzjWYK.js.map +0 -1
  116. package/dist/scroll-area-BMbg1WcD.js +0 -91
  117. package/dist/scroll-area-BMbg1WcD.js.map +0 -1
  118. package/dist/theme-7PDdD9OD.js.map +0 -1
  119. package/dist/tree-list-B2L0cTj2.js +0 -1033
  120. package/dist/tree-list-B2L0cTj2.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,30 +1,28 @@
1
1
  import { Avatar as at, Box as V, Text as W, Stack as j, HStack as re, chakra as Ie, Textarea as rn, Spacer as Ft, IconButton as We, Icon as se, Timeline as we, Dialog as X, CloseButton as Ht, Input as Mt, InputGroup as Vt, Kbd as ln, Collapsible as Xe, Flex as ge, Badge as Ne, Button as de, Skeleton as mt, Portal as Je, Breadcrumb as fe, AbsoluteCenter as sn, Center as an, Popover as qe, Grid as pt, defineSlotRecipe as cn, createSlotRecipeContext as dn, createToaster as un, Toaster as fn, Toast as Le, Spinner as Gt, Editable as Be, Menu as Ve } from "@chakra-ui/react";
2
- import { ChakraProvider as $l } from "@chakra-ui/react";
2
+ import { ChakraProvider as kl } from "@chakra-ui/react";
3
3
  import { jsx as s, jsxs as x, Fragment as Fe } from "react/jsx-runtime";
4
4
  import { c as P } from "react/compiler-runtime";
5
5
  import * as gt from "react";
6
6
  import { Children as hn, useState as ue, useEffect as he, useRef as je, Fragment as bt, forwardRef as jt, Component as mn, createContext as pn, useContext as gn } from "react";
7
7
  import { Paperclip as bn, ArrowUp as xn, Check as et, ArrowRight as Sn, ArrowLeft as vn, Option as xt, Command as Ye, ChevronRight as yn, Bell as Cn, X as wn, Search as Ut, SquareArrowOutUpRight as In, Minus as Tn, FileText as Pn, FolderOpen as An, Folder as Qt, Home as Rn, ChevronUp as En, ChevronDown as kn, GripVertical as _n, Trash2 as $n, Plus as On } from "lucide-react";
8
- import { T as Ue, S as tt } from "./scroll-area-BMbg1WcD.js";
8
+ import { T as Ue, S as tt, c as He } from "./browser-storage-DPtOQJx0.js";
9
9
  import { useVirtualizer as Dn } from "@tanstack/react-virtual";
10
- import { L as nt, H as Ln, R as Xt } from "./list-row-BtoVJpFs.js";
11
- import { c as Dl, b as Ll } from "./list-row-BtoVJpFs.js";
12
- import { T as zn } from "./tree-list-B2L0cTj2.js";
13
- import { R as Nl } from "./tree-list-B2L0cTj2.js";
10
+ import { L as nt, H as Ln, R as Xt } from "./list-row-9oxy-F0v.js";
11
+ import { c as $l, b as Ol } from "./list-row-9oxy-F0v.js";
12
+ import { T as zn } from "./tree-list-uV4UFj0x.js";
13
+ import { R as Ll } from "./tree-list-uV4UFj0x.js";
14
14
  import { A as ft } from "./radio-cLMEBBZk.js";
15
- import { R as Wl, a as Fl } from "./radio-cLMEBBZk.js";
16
- import { g as Nn, o as Bn, d as Wn } from "./param-editor-field-B9lEPq8c.js";
17
- import { e as Ml, f as Vl, h as Gl, A as jl, B as Ul, C as Ql, j as Xl, D as ql, F as Yl, H as Kl, M as Zl, k as Jl, l as es, P as ts, m as ns, n as os, m as rs, p as is, q as ls, R as ss, r as as, s as cs, S as ds, t as us, b as fs, T as hs, V as ms, W as ps, u as gs, v as bs, a as xs, w as Ss, x as vs, y as ys } from "./param-editor-field-B9lEPq8c.js";
18
- import { h as ws } from "./dialog-accept-shortcut-DAEBsoWW.js";
19
- import { P as Ts, a as Ps, b as As } from "./param-editor-XRjSu6MT.js";
20
- import { C as Es } from "./checkbox-B2zYVemL.js";
21
- import { E as _s } from "./empty-state-Bo4HVrgr.js";
22
- import { g as Fn } from "./resource-badge-CuItchgL.js";
23
- import { R as Os } from "./resource-badge-CuItchgL.js";
15
+ import { R as Nl, a as Bl } from "./radio-cLMEBBZk.js";
16
+ import { g as Nn, o as Bn, c as Wn } from "./param-editor-field-Cu4pto_a.js";
17
+ import { d as Fl, e as Hl, f as Ml, A as Vl, B as Gl, C as jl, h as Ul, D as Ql, F as Xl, H as ql, M as Yl, N as Kl, j as Zl, P as Jl, k as es, l as ts, k as ns, m as os, n as rs, R as is, p as ls, q as ss, S as as, b as cs, T as ds, V as us, r as fs, s as hs, a as ms } from "./param-editor-field-Cu4pto_a.js";
18
+ import { h as gs } from "./dialog-accept-shortcut-DAEBsoWW.js";
19
+ import { P as xs, a as Ss, b as vs } from "./param-editor-B8Ff9Nm8.js";
20
+ import { g as Fn } from "./number-input-WUfejtNx.js";
21
+ import { C as Cs, R as ws, S as Is, W as Ts, r as Ps, b as As, s as Rs } from "./number-input-WUfejtNx.js";
22
+ import { E as ks } from "./empty-state-Bo4HVrgr.js";
24
23
  import { useStore as ot } from "zustand";
25
24
  import { persist as rt, createJSONStorage as it } from "zustand/middleware";
26
25
  import { createStore as lt } from "zustand/vanilla";
27
- import { c as He } from "./browser-storage-BinyFNJX.js";
28
26
  import { useSensors as Hn, useSensor as Mn, PointerSensor as Vn, DndContext as Gn, closestCenter as jn } from "@dnd-kit/core";
29
27
  import { useSortable as Un, SortableContext as Qn, verticalListSortingStrategy as Xn, arrayMove as qn } from "@dnd-kit/sortable";
30
28
  import { CSS as Yn } from "@dnd-kit/utilities";
@@ -36,9 +34,9 @@ import "@fontsource/playfair-display/700.css";
36
34
  import "@fontsource/onest/400.css";
37
35
  import "@fontsource/onest/500.css";
38
36
  import "@fontsource/onest/700.css";
39
- import { c as Ls, a as zs, t as Ns } from "./theme-7PDdD9OD.js";
40
- import { T as Ws, a as Fs, d as Hs, b as Ms, c as Vs, e as Gs, g as js, i as Us, u as Qs } from "./theme-preference-DOzHx64J.js";
41
- import { i as qs } from "./lazy-markdown-editor-DwhqQ-NN.js";
37
+ import { c as $s, a as Os, t as Ds } from "./theme-BH4fSst9.js";
38
+ import { T as zs, a as Ns, d as Bs, b as Ws, c as Fs, e as Hs, g as Ms, i as Vs, u as Gs } from "./theme-preference-DyymrYpR.js";
39
+ import { i as Us } from "./lazy-markdown-editor-B7uP2ALS.js";
42
40
  const st = (o) => {
43
41
  const e = P(14), {
44
42
  actor: t,
@@ -273,7 +271,7 @@ const st = (o) => {
273
271
  }, e[3] = r) : r = e[3];
274
272
  let i;
275
273
  return e[4] !== t || e[5] !== n ? (i = /* @__PURE__ */ s(we.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;
276
- }, Yi = {
274
+ }, Xi = {
277
275
  Root: oo,
278
276
  Header: ro,
279
277
  Feed: io,
@@ -283,7 +281,7 @@ const st = (o) => {
283
281
  Reply: Zn,
284
282
  Composer: eo,
285
283
  Avatar: st
286
- }, Ki = 48, so = (o) => {
284
+ }, qi = 48, so = (o) => {
287
285
  const e = typeof o.label == "string" ? o.label : "", t = typeof o.secondaryLabel == "string" ? o.secondaryLabel : "";
288
286
  return `${e} ${o.searchText ?? ""} ${t}`;
289
287
  }, Yt = (o, e) => o.trimStart().startsWith(e), ao = (o, e = [], t) => e.find((r) => r.inputPrefix && Yt(o, r.inputPrefix))?.id ?? t ?? e.find((r) => !r.inputPrefix)?.id ?? e[0]?.id, co = (o, e = [], t) => {
@@ -356,32 +354,7 @@ const st = (o) => {
356
354
  top: u.start
357
355
  }, children: d.type === "group" ? /* @__PURE__ */ s(W, { textStyle: "label/XS/medium", color: "fg.muted", px: "sm", pt: "xs", pb: "2xs", children: d.label }) : /* @__PURE__ */ s(nt, { variant: "full-width", ...go(d.entry), isSelected: d.entryIndex === t, tabIndex: -1, onPointerMove: () => r(d.entryIndex) }) }, u.key) : null;
358
356
  }) });
359
- }, St = (o) => o != null, vo = (o, e) => o && e ? "space-between" : e ? "flex-end" : "flex-start", yo = {
360
- bg: "transparent",
361
- border: "0",
362
- borderColor: "transparent",
363
- borderRadius: "0",
364
- boxShadow: "none",
365
- transition: "none",
366
- _hover: {
367
- bg: "transparent",
368
- borderColor: "transparent"
369
- },
370
- _active: {
371
- bg: "transparent",
372
- borderColor: "transparent"
373
- },
374
- _focus: {
375
- borderColor: "transparent",
376
- outline: "none",
377
- boxShadow: "none"
378
- },
379
- _focusVisible: {
380
- borderColor: "transparent",
381
- outline: "none",
382
- boxShadow: "none"
383
- }
384
- }, Kt = (o) => {
357
+ }, St = (o) => o != null, vo = (o, e) => o && e ? "space-between" : e ? "flex-end" : "flex-start", Kt = (o) => {
385
358
  const e = P(49), {
386
359
  children: t,
387
360
  searchValue: n,
@@ -414,7 +387,7 @@ const st = (o) => {
414
387
  let D;
415
388
  e[22] !== g ? (D = (M) => g(M.target.value), e[22] = g, e[23] = D) : D = e[23];
416
389
  let I;
417
- e[24] !== v || e[25] !== C || e[26] !== c || e[27] !== a || e[28] !== r || e[29] !== n || e[30] !== D ? (I = /* @__PURE__ */ s(Mt, { ref: a, value: n, placeholder: r, "aria-label": C, autoComplete: "off", autoFocus: c, mx: "xs", h: "3rem", ...yo, onChange: D, onKeyDown: v }), e[24] = v, e[25] = C, e[26] = c, e[27] = a, e[28] = r, e[29] = n, e[30] = D, e[31] = I) : I = e[31];
390
+ e[24] !== v || e[25] !== C || e[26] !== c || e[27] !== a || e[28] !== r || e[29] !== n || e[30] !== D ? (I = /* @__PURE__ */ s(Mt, { ref: a, value: n, placeholder: r, "aria-label": C, autoComplete: "off", autoFocus: c, mx: "xs", h: "3rem", variant: "borderless", onChange: D, onKeyDown: v }), e[24] = v, e[25] = C, e[26] = c, e[27] = a, e[28] = r, e[29] = n, e[30] = D, e[31] = I) : I = e[31];
418
391
  let y;
419
392
  e[32] !== l || e[33] !== I ? (y = /* @__PURE__ */ s(Vt, { startElement: l, width: "full", children: I }), e[32] = l, e[33] = I, e[34] = y) : y = e[34];
420
393
  let b;
@@ -441,7 +414,7 @@ const st = (o) => {
441
414
  } else
442
415
  O = e[15];
443
416
  return O;
444
- }, vt = (o, e, t) => typeof o == "function" ? o(e) : o ?? t, Zi = (o) => {
417
+ }, vt = (o, e, t) => typeof o == "function" ? o(e) : o ?? t, Yi = (o) => {
445
418
  const e = P(71), {
446
419
  open: t,
447
420
  entries: n,
@@ -551,7 +524,7 @@ const st = (o) => {
551
524
  return;
552
525
  }
553
526
  if (F.key === "ArrowUp") {
554
- F.preventDefault(), A(Co);
527
+ F.preventDefault(), A(yo);
555
528
  return;
556
529
  }
557
530
  if (F.key === "Enter") {
@@ -590,10 +563,10 @@ const st = (o) => {
590
563
  ve
591
564
  ] }), e[67] = t, e[68] = oe, e[69] = ve, e[70] = Pe) : Pe = e[70], Pe;
592
565
  };
593
- function Co(o) {
566
+ function yo(o) {
594
567
  return Math.max(o - 1, 0);
595
568
  }
596
- const wo = {
569
+ const Co = {
597
570
  alt: {
598
571
  label: "Alt"
599
572
  },
@@ -609,7 +582,7 @@ const wo = {
609
582
  shift: {
610
583
  label: "Shift"
611
584
  }
612
- }, Io = {
585
+ }, wo = {
613
586
  alt: {
614
587
  label: "Option",
615
588
  Icon: xt
@@ -637,7 +610,7 @@ const wo = {
637
610
  shift: {
638
611
  label: "Shift"
639
612
  }
640
- }, To = {
613
+ }, Io = {
641
614
  arrowleft: {
642
615
  label: "Arrow Left",
643
616
  Icon: vn
@@ -646,38 +619,38 @@ const wo = {
646
619
  label: "Arrow Right",
647
620
  Icon: Sn
648
621
  }
649
- }, Po = () => {
622
+ }, To = () => {
650
623
  if (typeof navigator > "u") return "linux";
651
624
  const o = navigator.platform?.toLowerCase() ?? "";
652
625
  return o.includes("mac") ? "mac" : o.includes("win") ? "win" : "linux";
653
- }, Ao = (o, e = Po()) => {
654
- const t = o.toLowerCase(), n = e === "mac" ? Io : wo;
655
- return To[t] ?? n[t] ?? {
626
+ }, Po = (o, e = To()) => {
627
+ const t = o.toLowerCase(), n = e === "mac" ? wo : Co;
628
+ return Io[t] ?? n[t] ?? {
656
629
  label: o
657
630
  };
658
- }, 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))), Ji = (o) => {
631
+ }, yt = (o) => o.split("+").map((e) => e.trim()).filter(Boolean), Ao = (o) => (Array.isArray(o) ? o.map(yt) : [yt(o)]).map((t) => t.map((n) => Po(n))), Ki = (o) => {
659
632
  const e = P(4), {
660
633
  binding: t
661
634
  } = o;
662
635
  let n;
663
636
  if (e[0] !== t) {
664
- const i = Ro(t);
637
+ const i = Ao(t);
665
638
  n = i.map((l, a) => /* @__PURE__ */ x(bt, { children: [
666
639
  l.map((c, u) => /* @__PURE__ */ x(bt, { children: [
667
640
  /* @__PURE__ */ s(ln, { fontSize: "xs", borderRadius: "0", display: "inline-flex", alignItems: "center", justifyContent: "center", "aria-label": c.label, children: c.Icon ? /* @__PURE__ */ s(c.Icon, { size: 12, "aria-hidden": "true" }) : c.label }),
668
641
  u < l.length - 1 ? " " : null
669
642
  ] }, `${c.label}-${u}`)),
670
643
  a < i.length - 1 ? " then " : null
671
- ] }, `${l.map(Eo).join("+")}-${a}`)), e[0] = t, e[1] = n;
644
+ ] }, `${l.map(Ro).join("+")}-${a}`)), e[0] = t, e[1] = n;
672
645
  } else
673
646
  n = e[1];
674
647
  let r;
675
648
  return e[2] !== n ? (r = /* @__PURE__ */ s(Fe, { children: n }), e[2] = n, e[3] = r) : r = e[3], r;
676
649
  };
677
- function Eo(o) {
650
+ function Ro(o) {
678
651
  return o.label;
679
652
  }
680
- function el(o) {
653
+ function Zi(o) {
681
654
  const e = P(14);
682
655
  let t, n, r, i, l, a;
683
656
  e[0] !== o ? ({
@@ -692,7 +665,7 @@ function el(o) {
692
665
  let h;
693
666
  return e[7] !== f || e[8] !== t || e[9] !== c || e[10] !== u || e[11] !== d || e[12] !== n ? (h = /* @__PURE__ */ s(re, { ...n, h: c, justify: "space-between", align: "center", borderBottomWidth: f, borderColor: "border.subtle", px: u, py: d, children: t }), e[7] = f, e[8] = t, e[9] = c, e[10] = u, e[11] = d, e[12] = n, e[13] = h) : h = e[13], h;
694
667
  }
695
- const tl = (o) => {
668
+ const Ji = (o) => {
696
669
  const e = P(17), {
697
670
  children: t,
698
671
  title: n,
@@ -715,7 +688,7 @@ const tl = (o) => {
715
688
  u
716
689
  ] }), e[4] = c, e[5] = d) : d = e[5];
717
690
  let f;
718
- e[6] !== i ? (f = i && /* @__PURE__ */ s(V, { marginLeft: "auto", onClick: ko, children: i }), e[6] = i, e[7] = f) : f = e[7];
691
+ e[6] !== i ? (f = i && /* @__PURE__ */ s(V, { marginLeft: "auto", onClick: Eo, children: i }), e[6] = i, e[7] = f) : f = e[7];
719
692
  let h;
720
693
  e[8] !== d || e[9] !== f ? (h = /* @__PURE__ */ x(ge, { children: [
721
694
  d,
@@ -729,12 +702,12 @@ const tl = (o) => {
729
702
  p
730
703
  ] }), e[13] = l, e[14] = h, e[15] = p, e[16] = m) : m = e[16], m;
731
704
  };
732
- function ko(o) {
705
+ function Eo(o) {
733
706
  return o.stopPropagation();
734
707
  }
735
- const _o = "2.5rem", Ct = "2xs", nl = "sm", Zt = (o) => o === "urgent" ? "red" : o === "high" ? "orange" : o === "low" ? "gray" : "blue", $o = (o) => o !== "normal", Oo = (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(), Do = (o, e) => {
708
+ const ko = "2.5rem", Ct = "2xs", el = "sm", Zt = (o) => o === "urgent" ? "red" : o === "high" ? "orange" : o === "low" ? "gray" : "blue", _o = (o) => o !== "normal", $o = (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) => {
736
709
  const t = e.trim().toLowerCase();
737
- return t ? o.filter((n) => Oo(n).includes(t)) : o;
710
+ return t ? o.filter((n) => $o(n).includes(t)) : o;
738
711
  }, Jt = (o) => {
739
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"));
740
713
  return [{
@@ -750,7 +723,7 @@ const _o = "2.5rem", Ct = "2xs", nl = "sm", Zt = (o) => o === "urgent" ? "red" :
750
723
  label: "Other",
751
724
  items: n
752
725
  }].filter((r) => r.items.length > 0);
753
- }, Lo = (o) => Jt(o).flatMap((e) => e.items), zo = (o) => [o.body, o.targetLabel, o.sourceLabel, o.timeLabel].filter(Boolean).join(" · "), No = (o, e) => {
726
+ }, Do = (o) => Jt(o).flatMap((e) => e.items), Lo = (o) => [o.body, o.targetLabel, o.sourceLabel, o.timeLabel].filter(Boolean).join(" · "), zo = (o, e) => {
754
727
  const t = [];
755
728
  return e.onDismiss && t.push({
756
729
  id: "dismiss",
@@ -759,14 +732,14 @@ const _o = "2.5rem", Ct = "2xs", nl = "sm", Zt = (o) => o === "urgent" ? "red" :
759
732
  tooltip: "Dismiss",
760
733
  onAction: () => e.onDismiss?.(o)
761
734
  }), t;
762
- }, Bo = (o) => {
735
+ }, No = (o) => {
763
736
  const e = P(15), {
764
737
  actions: t,
765
738
  item: n,
766
739
  onRunAction: r
767
740
  } = o;
768
741
  let i;
769
- e[0] !== n.priority ? (i = $o(n.priority) ? /* @__PURE__ */ s(Ne, { size: "sm", colorPalette: Zt(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 = _o(n.priority) ? /* @__PURE__ */ s(Ne, { size: "sm", colorPalette: Zt(n.priority), textTransform: "capitalize", flexShrink: 0, children: n.priority }) : null, e[0] = n.priority, e[1] = i) : i = e[1];
770
743
  let l;
771
744
  e[2] !== n.status ? (l = n.status === "open" ? /* @__PURE__ */ s(Ne, { size: "sm", colorPalette: "blue", variant: "solid", flexShrink: 0, children: "New" }) : null, e[2] = n.status, e[3] = l) : l = e[3];
772
745
  let a;
@@ -783,7 +756,7 @@ const _o = "2.5rem", Ct = "2xs", nl = "sm", Zt = (o) => o === "urgent" ? "red" :
783
756
  l,
784
757
  a
785
758
  ] }), e[11] = i, e[12] = l, e[13] = a, e[14] = c) : c = e[14], c;
786
- }, Wo = (o) => {
759
+ }, Bo = (o) => {
787
760
  const {
788
761
  activeIndex: e,
789
762
  items: t,
@@ -796,14 +769,14 @@ const _o = "2.5rem", Ct = "2xs", nl = "sm", Zt = (o) => o === "urgent" ? "red" :
796
769
  /* @__PURE__ */ s(W, { textStyle: "label/XS/medium", color: "fg.muted", px: "sm", pt: "xs", children: c.label }),
797
770
  c.items.map((u) => {
798
771
  const d = a;
799
- return a += 1, /* @__PURE__ */ s(nt, { id: u.id, label: u.title, description: zo(u), icon: /* @__PURE__ */ s(se, { as: Cn, boxSize: "14px" }), iconColor: `${Zt(u.priority)}.500`, variant: "compact", isSelected: d === e, endContent: /* @__PURE__ */ s(Bo, { item: u, actions: u.actions ?? [], onRunAction: i }), actions: No(u, o), tabIndex: -1, onActivate: () => n?.(u), onPointerMove: () => r(d) }, u.id);
772
+ return a += 1, /* @__PURE__ */ s(nt, { id: u.id, label: u.title, description: Lo(u), icon: /* @__PURE__ */ s(se, { as: Cn, boxSize: "14px" }), iconColor: `${Zt(u.priority)}.500`, variant: "compact", isSelected: d === e, endContent: /* @__PURE__ */ s(No, { item: u, actions: u.actions ?? [], onRunAction: i }), actions: zo(u, o), tabIndex: -1, onActivate: () => n?.(u), onPointerMove: () => r(d) }, u.id);
800
773
  })
801
774
  ] }, c.id)) });
802
- }, Fo = () => {
775
+ }, Wo = () => {
803
776
  const o = P(1);
804
777
  let e;
805
- return o[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ s(j, { gap: "2", p: "sm", children: [0, 1, 2, 3].map(Ho) }), o[0] = e) : e = o[0], e;
806
- }, ol = (o) => {
778
+ return o[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ s(j, { gap: "2", p: "sm", children: [0, 1, 2, 3].map(Fo) }), o[0] = e) : e = o[0], e;
779
+ }, tl = (o) => {
807
780
  const e = P(37), {
808
781
  autoFocus: t,
809
782
  emptyLabel: n,
@@ -818,7 +791,7 @@ const _o = "2.5rem", Ct = "2xs", nl = "sm", Zt = (o) => o === "urgent" ? "red" :
818
791
  query: h
819
792
  } = o, p = t === void 0 ? !1 : t, m = n === void 0 ? "No notifications." : n, g = c === void 0 ? !1 : c, [v, C] = ue(""), [R, E] = ue(0), O = je(null), S = h ?? v;
820
793
  let k, w;
821
- e[0] !== S || e[1] !== a ? (k = Do(a, S), w = Lo(k), e[0] = S, e[1] = a, e[2] = k, e[3] = w) : (k = e[2], w = e[3]);
794
+ e[0] !== S || e[1] !== a ? (k = Oo(a, S), w = Do(k), e[0] = S, e[1] = a, e[2] = k, e[3] = w) : (k = e[2], w = e[3]);
822
795
  const $ = w, T = $[R] ?? null;
823
796
  let A, L;
824
797
  e[4] !== p ? (A = () => {
@@ -843,7 +816,7 @@ const _o = "2.5rem", Ct = "2xs", nl = "sm", Zt = (o) => o === "urgent" ? "red" :
843
816
  return;
844
817
  }
845
818
  if (z.key === "ArrowUp") {
846
- z.preventDefault(), E(Mo);
819
+ z.preventDefault(), E(Ho);
847
820
  return;
848
821
  }
849
822
  if (z.key === "Enter") {
@@ -867,20 +840,20 @@ const _o = "2.5rem", Ct = "2xs", nl = "sm", Zt = (o) => o === "urgent" ? "red" :
867
840
  showHorizontalScrollbar: !1
868
841
  }, e[21] = H) : H = e[21];
869
842
  let M;
870
- e[22] !== R || e[23] !== m || e[24] !== r || e[25] !== k || e[26] !== g || e[27] !== o ? (M = r ? /* @__PURE__ */ s(V, { p: "sm", children: /* @__PURE__ */ s(ft, { status: "error", colorPalette: "red", title: "Notifications unavailable", size: "sm", children: r }) }) : g ? /* @__PURE__ */ s(Fo, {}) : k.length === 0 ? /* @__PURE__ */ s(W, { textStyle: "paragraph/S/regular", color: "fg.muted", px: "sm", py: "md", children: m }) : /* @__PURE__ */ s(Wo, { ...o, items: k, activeIndex: R, onActiveIndexChange: E }), e[22] = R, e[23] = m, e[24] = r, e[25] = k, e[26] = g, e[27] = o, e[28] = M) : M = e[28];
843
+ e[22] !== R || e[23] !== m || e[24] !== r || e[25] !== k || e[26] !== g || e[27] !== o ? (M = r ? /* @__PURE__ */ s(V, { p: "sm", children: /* @__PURE__ */ s(ft, { status: "error", colorPalette: "red", title: "Notifications unavailable", size: "sm", children: r }) }) : g ? /* @__PURE__ */ s(Wo, {}) : k.length === 0 ? /* @__PURE__ */ s(W, { textStyle: "paragraph/S/regular", color: "fg.muted", px: "sm", py: "md", children: m }) : /* @__PURE__ */ s(Bo, { ...o, items: k, activeIndex: R, onActiveIndexChange: E }), e[22] = R, e[23] = m, e[24] = r, e[25] = k, e[26] = g, e[27] = o, e[28] = M) : M = e[28];
871
844
  let G;
872
845
  return e[29] !== S || e[30] !== p || e[31] !== i || e[32] !== l || e[33] !== _ || e[34] !== M || e[35] !== y ? (G = /* @__PURE__ */ s(Kt, { searchValue: S, searchPlaceholder: "Search notifications", searchIcon: B, searchInputRef: O, searchAutoFocus: p, footerStart: l, footerEnd: i, scrollAreaProps: H, onSearchChange: y, onSearchKeyDown: _, children: M }), e[29] = S, e[30] = p, e[31] = i, e[32] = l, e[33] = _, e[34] = M, e[35] = y, e[36] = G) : G = e[36], G;
873
846
  };
874
- function Ho(o) {
847
+ function Fo(o) {
875
848
  return /* @__PURE__ */ x(j, { gap: "2xs", children: [
876
849
  /* @__PURE__ */ s(mt, { h: "4", w: o % 2 === 0 ? "68%" : "52%", borderRadius: "xs" }),
877
850
  /* @__PURE__ */ s(mt, { h: "3", w: "88%", borderRadius: "xs" })
878
851
  ] }, o);
879
852
  }
880
- function Mo(o) {
853
+ function Ho(o) {
881
854
  return Math.max(o - 1, 0);
882
855
  }
883
- const rl = (o) => {
856
+ const nl = (o) => {
884
857
  const e = P(6);
885
858
  let t, n;
886
859
  e[0] !== o ? ({
@@ -889,7 +862,7 @@ const rl = (o) => {
889
862
  } = o, e[0] = o, e[1] = t, e[2] = n) : (t = e[1], n = e[2]);
890
863
  let r;
891
864
  return e[3] !== t || e[4] !== n ? (r = /* @__PURE__ */ s(ge, { 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;
892
- }, Vo = "20rem", il = (o) => {
865
+ }, Mo = "20rem", ol = (o) => {
893
866
  const e = P(15);
894
867
  let t, n, r, i, l, a;
895
868
  e[0] !== o ? ({
@@ -900,7 +873,7 @@ const rl = (o) => {
900
873
  resizable: a,
901
874
  ...i
902
875
  } = o, e[0] = o, e[1] = t, e[2] = n, e[3] = r, e[4] = i, e[5] = l, e[6] = a) : (t = e[1], n = e[2], r = e[3], i = e[4], l = e[5], a = e[6]);
903
- const c = l === void 0 ? "28rem" : l, u = a === void 0 ? !1 : a, d = r ?? (u ? Vo : c), f = u ? "full" : c;
876
+ const c = l === void 0 ? "28rem" : l, u = a === void 0 ? !1 : a, d = r ?? (u ? Mo : c), f = u ? "full" : c;
904
877
  let h;
905
878
  e[7] !== t ? (h = /* @__PURE__ */ s(ge, { flex: "1", minH: 0, direction: "column", children: t }), e[7] = t, e[8] = h) : h = e[8];
906
879
  let p;
@@ -908,7 +881,7 @@ const rl = (o) => {
908
881
  n,
909
882
  h
910
883
  ] }), e[9] = n, e[10] = d, e[11] = f, e[12] = i, e[13] = h, e[14] = p) : p = e[14], p;
911
- }, ll = jt(function(e, t) {
884
+ }, rl = jt(function(e, t) {
912
885
  const n = P(19);
913
886
  let r, i, l, a, c;
914
887
  n[0] !== e ? ({
@@ -932,7 +905,7 @@ const rl = (o) => {
932
905
  n[13] !== m || n[14] !== c ? (g = c ? /* @__PURE__ */ s(Ue, { content: c, children: m }) : m, n[13] = m, n[14] = c, n[15] = g) : g = n[15];
933
906
  let v;
934
907
  return n[16] !== i || n[17] !== g ? (v = /* @__PURE__ */ s(Ie.div, { position: "fixed", bottom: "6", right: "6", zIndex: "docked", ...i, children: g }), n[16] = i, n[17] = g, n[18] = v) : v = n[18], v;
935
- }), sl = jt(function(e, t) {
908
+ }), il = jt(function(e, t) {
936
909
  const n = P(28), {
937
910
  isOpen: r,
938
911
  title: i,
@@ -979,7 +952,7 @@ const rl = (o) => {
979
952
  ] }), n[17] = L, n[18] = A, n[19] = N) : N = n[19];
980
953
  let D;
981
954
  return n[20] !== p || n[21] !== E || n[22] !== t || n[23] !== N || n[24] !== O || n[25] !== m || n[26] !== R ? (D = /* @__PURE__ */ s(Je, { children: /* @__PURE__ */ s(Ie.section, { ref: t, role: "dialog", "data-testid": m, "aria-label": O, position: "fixed", bottom: "3", right: "3", w: R, maxW: "calc(100vw - 2rem)", h: E, maxH: "calc(100vh - 2rem)", borderRadius: "xs", borderWidth: "1px", borderColor: "border.subtle", bg: "bg", overflow: "hidden", zIndex: "dropdown", ...p, children: N }) }), n[20] = p, n[21] = E, n[22] = t, n[23] = N, n[24] = O, n[25] = m, n[26] = R, n[27] = D) : D = n[27], D;
982
- }), Go = (o) => {
955
+ }), Vo = (o) => {
983
956
  const [e, t] = ue(!1), {
984
957
  headline: n,
985
958
  buttonText: r,
@@ -1021,10 +994,10 @@ const rl = (o) => {
1021
994
  ] }) })
1022
995
  ] }) })
1023
996
  );
1024
- }, jo = (o) => o.isDirectory ? o.isGitRepo ? An : Qt : Pn, Uo = (o, e) => {
997
+ }, Go = (o) => o.isDirectory ? o.isGitRepo ? An : Qt : Pn, jo = (o, e) => {
1025
998
  const t = e.trim().toLowerCase();
1026
999
  return t ? o.filter((n) => `${n.name} ${n.path}`.toLowerCase().includes(t)) : o;
1027
- }, Qo = (o) => {
1000
+ }, Uo = (o) => {
1028
1001
  const e = P(22), {
1029
1002
  entry: t,
1030
1003
  selectedPath: n,
@@ -1040,14 +1013,14 @@ const rl = (o) => {
1040
1013
  }, e[4] = t, e[5] = a, e[6] = i, e[7] = u) : u = e[7];
1041
1014
  const d = u, f = n === t.path, h = t.path, p = t.name;
1042
1015
  let m;
1043
- e[8] !== t ? (m = jo(t), e[8] = t, e[9] = m) : m = e[9];
1016
+ e[8] !== t ? (m = Go(t), e[8] = t, e[9] = m) : m = e[9];
1044
1017
  let g;
1045
1018
  e[10] !== m ? (g = /* @__PURE__ */ s(se, { as: m, boxSize: "16px" }), e[10] = m, e[11] = g) : g = e[11];
1046
1019
  let v;
1047
1020
  e[12] !== t.isGitRepo ? (v = t.isGitRepo ? /* @__PURE__ */ s(Ne, { 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] = v) : v = e[13];
1048
1021
  let C;
1049
1022
  return e[14] !== t.name || e[15] !== t.path || e[16] !== d || e[17] !== c || e[18] !== f || e[19] !== g || e[20] !== v ? (C = /* @__PURE__ */ s(nt, { variant: "compact", isSelected: f, id: h, label: p, icon: g, endContent: v, disabled: c, onActivate: d }), e[14] = t.name, e[15] = t.path, e[16] = d, e[17] = c, e[18] = f, e[19] = g, e[20] = v, e[21] = C) : C = e[21], C;
1050
- }, Xo = (o) => {
1023
+ }, Qo = (o) => {
1051
1024
  if (!["ArrowDown", "ArrowUp", "Home", "End"].includes(o.key))
1052
1025
  return;
1053
1026
  const e = Array.from(o.currentTarget.querySelectorAll('button[role="option"]:not(:disabled)'));
@@ -1055,7 +1028,7 @@ const rl = (o) => {
1055
1028
  return;
1056
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;
1057
1030
  o.preventDefault(), e[n]?.focus();
1058
- }, al = (o) => {
1031
+ }, ll = (o) => {
1059
1032
  const e = P(68), {
1060
1033
  open: t,
1061
1034
  title: n,
@@ -1078,7 +1051,7 @@ const rl = (o) => {
1078
1051
  const S = O, k = u === void 0 ? !1 : u, w = d === void 0 ? "" : d, $ = f === void 0 ? !1 : f, [T, A] = ue("");
1079
1052
  let L;
1080
1053
  e[2] !== S ? (L = new Set(S), e[2] = S, e[3] = L) : L = e[3];
1081
- const N = L, D = Uo(l, T), I = R || "Home";
1054
+ const N = L, D = jo(l, T), I = R || "Home";
1082
1055
  let y, b;
1083
1056
  e[4] !== t || e[5] !== I ? (b = () => {
1084
1057
  !t || !I || A("");
@@ -1125,7 +1098,7 @@ const rl = (o) => {
1125
1098
  e[33] !== T ? (ye = /* @__PURE__ */ s(Vt, { startElement: F, width: "full", borderBottomWidth: "1px", borderColor: "border.subtle", children: /* @__PURE__ */ s(Mt, { mx: "xs", value: T, placeholder: "Search repositories", "aria-label": "Search repositories", autoComplete: "off", onChange: me }) }), e[33] = T, e[34] = ye) : ye = e[34];
1126
1099
  const Ce = k ? /* @__PURE__ */ s(W, { textStyle: "paragraph/S/regular", color: "fg.muted", p: "sm", children: "Loading..." }) : w ? /* @__PURE__ */ s(W, { textStyle: "paragraph/S/regular", color: "red.500", p: "sm", children: w }) : D.length === 0 ? /* @__PURE__ */ s(W, { textStyle: "paragraph/S/regular", color: "fg.muted", p: "sm", children: "No entries found." }) : /* @__PURE__ */ s(tt, { maxHeight: "320px", contentProps: {
1127
1100
  padding: "sm"
1128
- }, children: /* @__PURE__ */ s(j, { gap: "xs", role: "listbox", "aria-label": "Repository folders", onKeyDown: Xo, children: D.map((De) => /* @__PURE__ */ s(Qo, { entry: De, selectedPath: E, selectedPathSet: N, onEntryClick: v }, De.path)) }) });
1101
+ }, children: /* @__PURE__ */ s(j, { gap: "xs", role: "listbox", "aria-label": "Repository folders", onKeyDown: Qo, children: D.map((De) => /* @__PURE__ */ s(Uo, { entry: De, selectedPath: E, selectedPathSet: N, onEntryClick: v }, De.path)) }) });
1129
1102
  let pe;
1130
1103
  e[35] !== be || e[36] !== ye || e[37] !== Ce ? (pe = /* @__PURE__ */ x(be, { gap: Te, borderWidth: xe, borderRadius: Se, borderColor: ve, overflow: Pe, children: [
1131
1104
  ye,
@@ -1187,13 +1160,13 @@ const rl = (o) => {
1187
1160
  _hover: {
1188
1161
  textDecoration: "none"
1189
1162
  }
1190
- }, qo = (o) => !!(o.url || o.onClick), Yo = (o) => {
1163
+ }, Xo = (o) => !!(o.url || o.onClick), qo = (o) => {
1191
1164
  const e = P(14), {
1192
1165
  item: t,
1193
1166
  isCurrent: n,
1194
1167
  linkComponent: r
1195
1168
  } = o;
1196
- if (n && !qo(t)) {
1169
+ if (n && !Xo(t)) {
1197
1170
  let l;
1198
1171
  return e[0] !== t.title ? (l = /* @__PURE__ */ s(fe.CurrentLink, { ...wt, children: t.title }), e[0] = t.title, e[1] = l) : l = e[1], l;
1199
1172
  }
@@ -1211,12 +1184,12 @@ const rl = (o) => {
1211
1184
  }
1212
1185
  let i;
1213
1186
  return e[12] !== t.title ? (i = /* @__PURE__ */ s(fe.Link, { as: "span", ...wt, children: t.title }), e[12] = t.title, e[13] = i) : i = e[13], i;
1214
- }, Ko = (o) => {
1187
+ }, Yo = (o) => {
1215
1188
  const e = P(6), {
1216
1189
  item: t
1217
1190
  } = o;
1218
1191
  let n;
1219
- e[0] !== o ? (n = /* @__PURE__ */ s(Yo, { ...o }), e[0] = o, e[1] = n) : n = e[1];
1192
+ e[0] !== o ? (n = /* @__PURE__ */ s(qo, { ...o }), e[0] = o, e[1] = n) : n = e[1];
1220
1193
  const r = n;
1221
1194
  if (!t.contextMenuActions?.length)
1222
1195
  return r;
@@ -1226,7 +1199,7 @@ const rl = (o) => {
1226
1199
  }, e[2] = i) : i = e[2];
1227
1200
  let l;
1228
1201
  return e[3] !== r || e[4] !== t.contextMenuActions ? (l = /* @__PURE__ */ s(Xt, { actions: t.contextMenuActions, positioning: i, children: r }), e[3] = r, e[4] = t.contextMenuActions, e[5] = l) : l = e[5], l;
1229
- }, Zo = (o) => {
1202
+ }, Ko = (o) => {
1230
1203
  const e = P(3), {
1231
1204
  separator: t
1232
1205
  } = o;
@@ -1236,7 +1209,7 @@ const rl = (o) => {
1236
1209
  }
1237
1210
  let n;
1238
1211
  return e[1] !== t ? (n = /* @__PURE__ */ s(fe.Separator, { flexShrink: 0, children: t }), e[1] = t, e[2] = n) : n = e[2], n;
1239
- }, cl = gt.forwardRef(function(e, t) {
1212
+ }, sl = gt.forwardRef(function(e, t) {
1240
1213
  const n = P(21);
1241
1214
  let r, i, l, a, c;
1242
1215
  n[0] !== e ? ({
@@ -1252,8 +1225,8 @@ const rl = (o) => {
1252
1225
  n[10] !== r || n[11] !== i.length || n[12] !== a ? (h = (p, m) => {
1253
1226
  const g = m === i.length - 1;
1254
1227
  return /* @__PURE__ */ x(gt.Fragment, { children: [
1255
- /* @__PURE__ */ s(fe.Item, { minW: "0", flexShrink: g ? 1 : 0, overflow: "hidden", children: /* @__PURE__ */ s(Ko, { item: p, isCurrent: g, linkComponent: r }) }),
1256
- g ? null : /* @__PURE__ */ s(Zo, { separator: a })
1228
+ /* @__PURE__ */ s(fe.Item, { minW: "0", flexShrink: g ? 1 : 0, overflow: "hidden", children: /* @__PURE__ */ s(Yo, { item: p, isCurrent: g, linkComponent: r }) }),
1229
+ g ? null : /* @__PURE__ */ s(Ko, { separator: a })
1257
1230
  ] }, m);
1258
1231
  }, n[10] = r, n[11] = i.length, n[12] = a, n[13] = h) : h = n[13], u = i.map(h), n[6] = r, n[7] = i, n[8] = a, n[9] = u;
1259
1232
  } else
@@ -1262,23 +1235,23 @@ const rl = (o) => {
1262
1235
  n[14] !== c || n[15] !== u ? (d = /* @__PURE__ */ s(fe.List, { gap: c, flexWrap: "nowrap", minW: "0", maxW: "100%", overflow: "hidden", children: u }), n[14] = c, n[15] = u, n[16] = d) : d = n[16];
1263
1236
  let f;
1264
1237
  return n[17] !== t || n[18] !== l || n[19] !== d ? (f = /* @__PURE__ */ s(fe.Root, { ref: t, ...l, children: d }), n[17] = t, n[18] = l, n[19] = d, n[20] = f) : f = n[20], f;
1265
- }), 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) => {
1238
+ }), Zo = `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")`, Jo = (o) => {
1266
1239
  const e = P(3);
1267
1240
  let t;
1268
1241
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t = {
1269
1242
  backgroundClip: "padding-box",
1270
- backgroundImage: Jo,
1243
+ backgroundImage: Zo,
1271
1244
  display: "flex",
1272
1245
  width: "100%"
1273
1246
  }, e[0] = t) : t = e[0];
1274
1247
  let n;
1275
1248
  return e[1] !== o ? (n = /* @__PURE__ */ s(V, { ...o, css: t }), e[1] = o, e[2] = n) : n = e[2], n;
1276
- }, dl = (o) => {
1249
+ }, al = (o) => {
1277
1250
  const e = P(2);
1278
1251
  let t;
1279
1252
  return e[0] !== o ? (t = /* @__PURE__ */ s(V, { p: "2", children: /* @__PURE__ */ s(W, { color: "fg.muted", fontWeight: "medium", textStyle: "sm", whiteSpace: "nowrap", ...o }) }), e[0] = o, e[1] = t) : t = e[1], t;
1280
1253
  };
1281
- class ul extends mn {
1254
+ class cl extends mn {
1282
1255
  state = {
1283
1256
  error: null
1284
1257
  };
@@ -1303,10 +1276,10 @@ class ul extends mn {
1303
1276
  } = this.props, {
1304
1277
  error: r
1305
1278
  } = this.state;
1306
- return r ? t || /* @__PURE__ */ s(tr, { error: r, label: n, onReset: this.handleReset }) : e;
1279
+ return r ? t || /* @__PURE__ */ s(er, { error: r, label: n, onReset: this.handleReset }) : e;
1307
1280
  }
1308
1281
  }
1309
- const tr = (o) => {
1282
+ const er = (o) => {
1310
1283
  const e = P(12), {
1311
1284
  error: t,
1312
1285
  label: n,
@@ -1325,8 +1298,8 @@ const tr = (o) => {
1325
1298
  u
1326
1299
  ] }), e[6] = c, e[7] = u, e[8] = d) : d = e[8];
1327
1300
  let f;
1328
- return e[9] !== l || e[10] !== d ? (f = /* @__PURE__ */ s(er, { height: "100%", width: "100%", children: /* @__PURE__ */ s(sn, { children: /* @__PURE__ */ s(ft, { status: "error", title: l, children: d }) }) }), e[9] = l, e[10] = d, e[11] = f) : f = e[11], f;
1329
- }, nr = (o) => !!o && o !== "circle", or = (o) => {
1301
+ return e[9] !== l || e[10] !== d ? (f = /* @__PURE__ */ s(Jo, { height: "100%", width: "100%", children: /* @__PURE__ */ s(sn, { children: /* @__PURE__ */ s(ft, { status: "error", title: l, children: d }) }) }), e[9] = l, e[10] = d, e[11] = f) : f = e[11], f;
1302
+ }, tr = (o) => !!o && o !== "circle", nr = (o) => {
1330
1303
  const e = P(18);
1331
1304
  let t, n, r, i, l;
1332
1305
  e[0] !== o ? ({
@@ -1341,10 +1314,10 @@ const tr = (o) => {
1341
1314
  e[6] !== n || e[7] !== r ? (c = Nn(n, r), e[6] = n, e[7] = r, e[8] = c) : c = e[8];
1342
1315
  const u = c, d = `${t}.500/15`;
1343
1316
  let f;
1344
- e[9] !== u || e[10] !== t || e[11] !== n || e[12] !== a ? (f = a && nr(n) ? /* @__PURE__ */ s(se, { as: u, boxSize: "icon-xs", color: `${t}.500` }) : /* @__PURE__ */ s(V, { boxSize: "tag-swatch-dot", borderRadius: "full", bg: `${t}.500` }), e[9] = u, e[10] = t, e[11] = n, e[12] = a, e[13] = f) : f = e[13];
1317
+ e[9] !== u || e[10] !== t || e[11] !== n || e[12] !== a ? (f = a && tr(n) ? /* @__PURE__ */ s(se, { as: u, boxSize: "icon-xs", color: `${t}.500` }) : /* @__PURE__ */ s(V, { boxSize: "tag-swatch-dot", borderRadius: "full", bg: `${t}.500` }), e[9] = u, e[10] = t, e[11] = n, e[12] = a, e[13] = f) : f = e[13];
1345
1318
  let h;
1346
1319
  return e[14] !== i || e[15] !== d || e[16] !== f ? (h = /* @__PURE__ */ s(an, { boxSize: "tag-swatch", flexShrink: 0, borderRadius: "compact", bg: d, ...i, children: f }), e[14] = i, e[15] = d, e[16] = f, e[17] = h) : h = e[17], h;
1347
- }, rr = Ie("button", {
1320
+ }, or = Ie("button", {
1348
1321
  base: {
1349
1322
  display: "inline-flex",
1350
1323
  borderRadius: "compact",
@@ -1355,7 +1328,7 @@ const tr = (o) => {
1355
1328
  opacity: 0.5
1356
1329
  }
1357
1330
  }
1358
- }), ir = Ie("button", {
1331
+ }), rr = Ie("button", {
1359
1332
  base: {
1360
1333
  boxSize: "tag-color-dot",
1361
1334
  borderRadius: "full",
@@ -1368,7 +1341,7 @@ const tr = (o) => {
1368
1341
  outlineColor: "fg"
1369
1342
  }
1370
1343
  }
1371
- }), lr = Ie("button", {
1344
+ }), ir = Ie("button", {
1372
1345
  base: {
1373
1346
  display: "inline-flex",
1374
1347
  alignItems: "center",
@@ -1381,7 +1354,7 @@ const tr = (o) => {
1381
1354
  bg: "bg.hover"
1382
1355
  }
1383
1356
  }
1384
- }), sr = (o) => {
1357
+ }), lr = (o) => {
1385
1358
  const e = P(39), {
1386
1359
  color: t,
1387
1360
  colorOptions: n,
@@ -1400,9 +1373,9 @@ const tr = (o) => {
1400
1373
  placement: "bottom-start"
1401
1374
  }, e[0] = O) : O = e[0];
1402
1375
  let S;
1403
- e[1] !== t || e[2] !== r || e[3] !== m || e[4] !== g ? (S = /* @__PURE__ */ s(or, { color: t, icon: r, iconOptions: m, showIcon: g }), e[1] = t, e[2] = r, e[3] = m, e[4] = g, e[5] = S) : S = e[5];
1376
+ e[1] !== t || e[2] !== r || e[3] !== m || e[4] !== g ? (S = /* @__PURE__ */ s(nr, { color: t, icon: r, iconOptions: m, showIcon: g }), e[1] = t, e[2] = r, e[3] = m, e[4] = g, e[5] = S) : S = e[5];
1404
1377
  let k;
1405
- e[6] !== R || e[7] !== c || e[8] !== S ? (k = /* @__PURE__ */ s(qe.Trigger, { asChild: !0, children: /* @__PURE__ */ s(rr, { type: "button", disabled: c, "aria-label": R, children: S }) }), e[6] = R, e[7] = c, e[8] = S, e[9] = k) : k = e[9];
1378
+ e[6] !== R || e[7] !== c || e[8] !== S ? (k = /* @__PURE__ */ s(qe.Trigger, { asChild: !0, children: /* @__PURE__ */ s(or, { type: "button", disabled: c, "aria-label": R, children: S }) }), e[6] = R, e[7] = c, e[8] = S, e[9] = k) : k = e[9];
1406
1379
  const w = g ? "tag-picker" : "tag-picker-color-only";
1407
1380
  let $;
1408
1381
  e[10] !== v ? ($ = /* @__PURE__ */ s(W, { textStyle: "label/S/medium", color: "fg.muted", children: v }), e[10] = v, e[11] = $) : $ = e[11];
@@ -1410,7 +1383,7 @@ const tr = (o) => {
1410
1383
  let A;
1411
1384
  if (e[12] !== t || e[13] !== p || e[14] !== l) {
1412
1385
  let b;
1413
- e[16] !== t || e[17] !== l ? (b = (_) => /* @__PURE__ */ s(ir, { type: "button", bg: `${_}.500`, "aria-label": _, "aria-pressed": _ === t, "data-selected": _ === t ? "" : void 0, onClick: () => l(_) }, _), e[16] = t, e[17] = l, e[18] = b) : b = e[18], A = p.map(b), e[12] = t, e[13] = p, e[14] = l, e[15] = A;
1386
+ e[16] !== t || e[17] !== l ? (b = (_) => /* @__PURE__ */ s(rr, { type: "button", bg: `${_}.500`, "aria-label": _, "aria-pressed": _ === t, "data-selected": _ === t ? "" : void 0, onClick: () => l(_) }, _), e[16] = t, e[17] = l, e[18] = b) : b = e[18], A = p.map(b), e[12] = t, e[13] = p, e[14] = l, e[15] = A;
1414
1387
  } else
1415
1388
  A = e[15];
1416
1389
  let L;
@@ -1421,7 +1394,7 @@ const tr = (o) => {
1421
1394
  /* @__PURE__ */ s(W, { textStyle: "label/S/medium", color: "fg.muted", children: C }),
1422
1395
  /* @__PURE__ */ s(pt, { templateColumns: "repeat(8, 1fr)", gap: "3xs", justifyItems: "center", children: m.map((b) => {
1423
1396
  const _ = b.value === E;
1424
- return /* @__PURE__ */ s(lr, { type: "button", color: _ ? `${t}.500` : void 0, bg: _ ? `${t}.500/15` : void 0, _hover: _ ? {
1397
+ return /* @__PURE__ */ s(ir, { type: "button", color: _ ? `${t}.500` : void 0, bg: _ ? `${t}.500/15` : void 0, _hover: _ ? {
1425
1398
  bg: `${t}.500/15`
1426
1399
  } : void 0, "aria-label": b.label, "aria-pressed": _, onClick: () => a?.(b.value), children: /* @__PURE__ */ s(se, { as: b.icon, boxSize: "icon-xs" }) }, b.value ?? "none");
1427
1400
  }) })
@@ -1439,7 +1412,7 @@ const tr = (o) => {
1439
1412
  k,
1440
1413
  I
1441
1414
  ] }), e[36] = I, e[37] = k, e[38] = y) : y = e[38], y;
1442
- }, ar = (o) => {
1415
+ }, sr = (o) => {
1443
1416
  const e = P(6);
1444
1417
  let t, n;
1445
1418
  e[0] !== o ? ({
@@ -1448,7 +1421,7 @@ const tr = (o) => {
1448
1421
  } = o, e[0] = o, e[1] = t, e[2] = n) : (t = e[1], n = e[2]);
1449
1422
  let r;
1450
1423
  return e[3] !== t || e[4] !== n ? (r = /* @__PURE__ */ s(V, { 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;
1451
- }, cr = (o) => {
1424
+ }, ar = (o) => {
1452
1425
  const e = P(6);
1453
1426
  let t, n;
1454
1427
  e[0] !== o ? ({
@@ -1457,7 +1430,7 @@ const tr = (o) => {
1457
1430
  } = o, e[0] = o, e[1] = t, e[2] = n) : (t = e[1], n = e[2]);
1458
1431
  let r;
1459
1432
  return e[3] !== t || e[4] !== n ? (r = /* @__PURE__ */ s(V, { p: "md", ...n, children: t }), e[3] = t, e[4] = n, e[5] = r) : r = e[5], r;
1460
- }, fl = (o) => {
1433
+ }, dl = (o) => {
1461
1434
  const e = P(30), {
1462
1435
  icon: t,
1463
1436
  name: n,
@@ -1504,12 +1477,12 @@ const tr = (o) => {
1504
1477
  O
1505
1478
  ] }), e[22] = d, e[23] = O, e[24] = E, e[25] = S) : S = e[25];
1506
1479
  let k;
1507
- return e[26] !== f || e[27] !== S || e[28] !== R ? (k = /* @__PURE__ */ s(ar, { children: /* @__PURE__ */ s(cr, { children: /* @__PURE__ */ x(re, { gap: "4", alignItems: "flex-start", children: [
1480
+ return e[26] !== f || e[27] !== S || e[28] !== R ? (k = /* @__PURE__ */ s(sr, { children: /* @__PURE__ */ s(ar, { children: /* @__PURE__ */ x(re, { gap: "4", alignItems: "flex-start", children: [
1508
1481
  f,
1509
1482
  R,
1510
1483
  S
1511
1484
  ] }) }) }), e[26] = f, e[27] = S, e[28] = R, e[29] = k) : k = e[29], k;
1512
- }, dr = cn({
1485
+ }, cr = cn({
1513
1486
  className: "ps-segmented-control",
1514
1487
  slots: ["root", "item"],
1515
1488
  base: {
@@ -1578,11 +1551,11 @@ const tr = (o) => {
1578
1551
  size: "sm"
1579
1552
  }
1580
1553
  }), {
1581
- withProvider: ur,
1582
- withContext: fr
1554
+ withProvider: dr,
1555
+ withContext: ur
1583
1556
  } = dn({
1584
- recipe: dr
1585
- }), hr = ur("div", "root"), mr = fr("button", "item"), hl = (o) => {
1557
+ recipe: cr
1558
+ }), fr = dr("div", "root"), hr = ur("button", "item"), ul = (o) => {
1586
1559
  const e = P(20);
1587
1560
  let t, n, r, i, l, a;
1588
1561
  e[0] !== o ? ({
@@ -1598,24 +1571,24 @@ const tr = (o) => {
1598
1571
  let d;
1599
1572
  e[12] !== n || e[13] !== r || e[14] !== a ? (d = (f) => {
1600
1573
  const h = f.value === a;
1601
- 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
+ return /* @__PURE__ */ s(hr, { type: "button", "aria-pressed": h, "data-selected": h ? "" : void 0, disabled: n, onClick: () => r(f.value), children: f.label }, f.value);
1602
1575
  }, e[12] = n, e[13] = r, e[14] = a, e[15] = d) : d = e[15], c = i.map(d), e[7] = n, e[8] = r, e[9] = i, e[10] = a, e[11] = c;
1603
1576
  } else
1604
1577
  c = e[11];
1605
1578
  let u;
1606
- return e[16] !== t || e[17] !== l || e[18] !== c ? (u = /* @__PURE__ */ s(hr, { role: "group", "aria-label": t, ...l, children: c }), e[16] = t, e[17] = l, e[18] = c, e[19] = u) : u = e[19], u;
1607
- }, pr = un({
1579
+ return e[16] !== t || e[17] !== l || e[18] !== c ? (u = /* @__PURE__ */ s(fr, { role: "group", "aria-label": t, ...l, children: c }), e[16] = t, e[17] = l, e[18] = c, e[19] = u) : u = e[19], u;
1580
+ }, mr = un({
1608
1581
  placement: "top",
1609
1582
  pauseOnPageIdle: !0,
1610
1583
  duration: 1e4
1611
- }), ml = () => {
1584
+ }), fl = () => {
1612
1585
  const o = P(1);
1613
1586
  let e;
1614
- return o[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ s(Je, { children: /* @__PURE__ */ s(fn, { toaster: pr, insetInline: {
1587
+ return o[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ s(Je, { children: /* @__PURE__ */ s(fn, { toaster: mr, insetInline: {
1615
1588
  mdDown: "4"
1616
- }, children: gr }) }), o[0] = e) : e = o[0], e;
1589
+ }, children: pr }) }), o[0] = e) : e = o[0], e;
1617
1590
  };
1618
- function gr(o) {
1591
+ function pr(o) {
1619
1592
  return /* @__PURE__ */ x(Le.Root, { width: {
1620
1593
  md: "sm"
1621
1594
  }, alignItems: "start", borderRadius: "xs", gap: "xs", px: "sm", py: "xs", minH: "auto", children: [
@@ -1630,7 +1603,7 @@ function gr(o) {
1630
1603
  /* @__PURE__ */ s(Le.CloseTrigger, {})
1631
1604
  ] });
1632
1605
  }
1633
- const pl = (o) => {
1606
+ const hl = (o) => {
1634
1607
  const e = P(6);
1635
1608
  let t, n;
1636
1609
  e[0] !== o ? ({
@@ -1644,12 +1617,12 @@ const pl = (o) => {
1644
1617
  expandedSections: [],
1645
1618
  expandedNodes: [],
1646
1619
  width: null
1647
- }, br = "pstdio/ui/sidenav", xr = (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), Sr = (o) => ({
1620
+ }, gr = "pstdio/ui/sidenav", br = (o) => `${gr}/${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) => ({
1648
1621
  open: o.open,
1649
1622
  expandedSections: o.expandedSections,
1650
1623
  expandedNodes: o.expandedNodes,
1651
1624
  width: o.width
1652
- }), vr = (o) => {
1625
+ }), Sr = (o) => {
1653
1626
  const {
1654
1627
  storageKey: e,
1655
1628
  initialState: t
@@ -1693,15 +1666,15 @@ const pl = (o) => {
1693
1666
  })),
1694
1667
  reset: () => r(It)
1695
1668
  }), {
1696
- name: xr(e),
1669
+ name: br(e),
1697
1670
  storage: it(He),
1698
- partialize: Sr
1671
+ partialize: xr
1699
1672
  }));
1700
- }, At = /* @__PURE__ */ new Map(), yr = (o, e) => {
1673
+ }, At = /* @__PURE__ */ new Map(), vr = (o, e) => {
1701
1674
  const t = At.get(o);
1702
1675
  if (t)
1703
1676
  return t;
1704
- const n = vr({
1677
+ const n = Sr({
1705
1678
  storageKey: o,
1706
1679
  initialState: e
1707
1680
  });
@@ -1709,8 +1682,8 @@ const pl = (o) => {
1709
1682
  }, ze = (o, e, t) => {
1710
1683
  const n = P(3);
1711
1684
  let r;
1712
- return n[0] !== t || n[1] !== o ? (r = yr(o, t), n[0] = t, n[1] = o, n[2] = r) : r = n[2], ot(r, e);
1713
- }, Cr = (o) => {
1685
+ return n[0] !== t || n[1] !== o ? (r = vr(o, t), n[0] = t, n[1] = o, n[2] = r) : r = n[2], ot(r, e);
1686
+ }, yr = (o) => {
1714
1687
  const e = P(2), {
1715
1688
  children: t
1716
1689
  } = o;
@@ -1718,20 +1691,20 @@ const pl = (o) => {
1718
1691
  return null;
1719
1692
  let n;
1720
1693
  return e[0] !== t ? (n = /* @__PURE__ */ s(V, { bg: "bg", position: "sticky", bottom: "0", overflow: "hidden", children: t }), e[0] = t, e[1] = n) : n = e[1], n;
1721
- }, wr = (o) => {
1694
+ }, Cr = (o) => {
1722
1695
  const e = P(2), {
1723
1696
  children: t
1724
1697
  } = o;
1725
1698
  let n;
1726
- return e[0] !== t ? (n = /* @__PURE__ */ s(re, { "data-testid": "sidenav-header", justify: "space-between", align: "center", minH: _o, bg: "bg", position: "sticky", top: "0", zIndex: "1", gap: "0", children: /* @__PURE__ */ s(re, { minW: "0", flex: "1", children: t }) }), e[0] = t, e[1] = n) : n = e[1], n;
1727
- }, Ir = 240, Tr = 200, Pr = 480, Ar = (o, e, t) => Math.min(Math.max(o, e), t), Rr = (o, e = Ir) => {
1699
+ return e[0] !== t ? (n = /* @__PURE__ */ s(re, { "data-testid": "sidenav-header", justify: "space-between", align: "center", minH: ko, bg: "bg", position: "sticky", top: "0", zIndex: "1", gap: "0", children: /* @__PURE__ */ s(re, { minW: "0", flex: "1", children: t }) }), e[0] = t, e[1] = n) : n = e[1], n;
1700
+ }, wr = 240, Ir = 200, Tr = 480, Pr = (o, e, t) => Math.min(Math.max(o, e), t), Ar = (o, e = wr) => {
1728
1701
  if (typeof o == "number") return o;
1729
1702
  if (typeof o == "string") {
1730
1703
  const t = parseInt(o, 10);
1731
1704
  if (!Number.isNaN(t)) return t;
1732
1705
  }
1733
1706
  return e;
1734
- }, gl = (o) => {
1707
+ }, ml = (o) => {
1735
1708
  const e = P(43), {
1736
1709
  storageKey: t,
1737
1710
  sections: n,
@@ -1754,9 +1727,9 @@ const pl = (o) => {
1754
1727
  } = o;
1755
1728
  let O;
1756
1729
  e[0] !== i ? (O = i === void 0 ? [] : i, e[0] = i, e[1] = O) : O = e[1];
1757
- const S = O, k = u === void 0 ? !0 : u, w = d === void 0 ? "No items available." : d, $ = g === void 0 ? !0 : g, T = C === void 0 ? Tr : C, A = R === void 0 ? Pr : R, L = E === void 0 ? !1 : E, N = je(null);
1730
+ const S = O, k = u === void 0 ? !0 : u, w = d === void 0 ? "No items available." : d, $ = g === void 0 ? !0 : g, T = C === void 0 ? Ir : C, A = R === void 0 ? Tr : R, L = E === void 0 ? !1 : E, N = je(null);
1758
1731
  let D;
1759
- e[2] !== v || e[3] !== c ? (D = Rr(c, v), e[2] = v, e[3] = c, e[4] = D) : D = e[4];
1732
+ e[2] !== v || e[3] !== c ? (D = Ar(c, v), e[2] = v, e[3] = c, e[4] = D) : D = e[4];
1760
1733
  const I = D;
1761
1734
  let y;
1762
1735
  e[5] !== f ? (y = f ? {
@@ -1767,20 +1740,20 @@ const pl = (o) => {
1767
1740
  ...y,
1768
1741
  width: I
1769
1742
  }, e[7] = I, e[8] = y, e[9] = b) : b = e[9];
1770
- const _ = b, B = ze(t, Er, _), H = ze(t, kr, _), M = ze(t, _r, _), G = ze(t, $r, _), z = ze(t, Or, _), Y = ze(t, Dr, _);
1743
+ const _ = b, B = ze(t, Rr, _), H = ze(t, Er, _), M = ze(t, kr, _), G = ze(t, _r, _), z = ze(t, $r, _), Y = ze(t, Or, _);
1771
1744
  let q, U;
1772
1745
  e[10] !== m || e[11] !== B ? (q = () => {
1773
1746
  m?.(B);
1774
1747
  }, U = [m, B], e[10] = m, e[11] = B, e[12] = q, e[13] = U) : (q = e[12], U = e[13]), he(q, U);
1775
1748
  const Q = H ?? I;
1776
1749
  let K;
1777
- e[14] !== A || e[15] !== T || e[16] !== Q ? (K = Ar(Q, T, A), e[14] = A, e[15] = T, e[16] = Q, e[17] = K) : K = e[17];
1750
+ e[14] !== A || e[15] !== T || e[16] !== Q ? (K = Pr(Q, T, A), e[14] = A, e[15] = T, e[16] = Q, e[17] = K) : K = e[17];
1778
1751
  const ae = K;
1779
1752
  if (!B && k)
1780
1753
  return null;
1781
1754
  const J = $ ? `${ae}px` : c ?? `${I}px`;
1782
1755
  let Z;
1783
- e[18] !== l ? (Z = /* @__PURE__ */ s(wr, { children: l }), e[18] = l, e[19] = Z) : Z = e[19];
1756
+ e[18] !== l ? (Z = /* @__PURE__ */ s(Cr, { children: l }), e[18] = l, e[19] = Z) : Z = e[19];
1784
1757
  let ee, ne;
1785
1758
  e[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ee = {
1786
1759
  display: "block",
@@ -1799,7 +1772,7 @@ const pl = (o) => {
1799
1772
  let te;
1800
1773
  e[22] !== r || e[23] !== w || e[24] !== G || e[25] !== M || e[26] !== h || e[27] !== p || e[28] !== n || e[29] !== Y || e[30] !== z || e[31] !== L ? (te = /* @__PURE__ */ s(tt, { flex: "1", mt: "lg", viewportRef: N, viewportProps: ee, contentProps: ne, children: /* @__PURE__ */ s(V, { w: "full", minW: "0", flex: "1 0 auto", display: "flex", flexDirection: "column", children: n.length === 0 ? /* @__PURE__ */ s(W, { textStyle: "paragraph/S/regular", color: "fg.muted", p: "3", children: w }) : /* @__PURE__ */ s(zn, { sections: n, expandedSectionIds: M, expandedNodeIds: G, activeNodeId: r, rowVariant: "compact", sectionGap: "md", nodeGap: "1px", linkComponent: h, onNavigate: p, onToggleSection: z, onToggleNode: Y, virtualize: L, scrollRef: N }) }) }), e[22] = r, e[23] = w, e[24] = G, e[25] = M, e[26] = h, e[27] = p, e[28] = n, e[29] = Y, e[30] = z, e[31] = L, e[32] = te) : te = e[32];
1801
1774
  let le;
1802
- e[33] !== a ? (le = /* @__PURE__ */ s(Cr, { children: a }), e[33] = a, e[34] = le) : le = e[34];
1775
+ e[33] !== a ? (le = /* @__PURE__ */ s(yr, { children: a }), e[33] = a, e[34] = le) : le = e[34];
1803
1776
  let ie;
1804
1777
  e[35] !== Z || e[36] !== te || e[37] !== le || e[38] !== J ? (ie = /* @__PURE__ */ x(ge, { 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: [
1805
1778
  Z,
@@ -1810,27 +1783,27 @@ const pl = (o) => {
1810
1783
  let oe;
1811
1784
  return e[40] !== ce || e[41] !== S ? (oe = /* @__PURE__ */ s(Xt, { actions: S, closeOnSelect: !1, children: ce }), e[40] = ce, e[41] = S, e[42] = oe) : oe = e[42], oe;
1812
1785
  };
1813
- function Er(o) {
1786
+ function Rr(o) {
1814
1787
  return o.open;
1815
1788
  }
1816
- function kr(o) {
1789
+ function Er(o) {
1817
1790
  return o.width;
1818
1791
  }
1819
- function _r(o) {
1792
+ function kr(o) {
1820
1793
  return o.expandedSections;
1821
1794
  }
1822
- function $r(o) {
1795
+ function _r(o) {
1823
1796
  return o.expandedNodes;
1824
1797
  }
1825
- function Or(o) {
1798
+ function $r(o) {
1826
1799
  return o.toggleSection;
1827
1800
  }
1828
- function Dr(o) {
1801
+ function Or(o) {
1829
1802
  return o.toggleNode;
1830
1803
  }
1831
1804
  const Rt = {
1832
1805
  tabOverrides: {}
1833
- }, Lr = "pstdio/ui/tab-visibility", zr = (o) => `${Lr}/${o}`, Nr = (o, e) => o ?? (e ? "hidden" : "shown"), dt = (o, e, t) => {
1806
+ }, Dr = "pstdio/ui/tab-visibility", Lr = (o) => `${Dr}/${o}`, zr = (o, e) => o ?? (e ? "hidden" : "shown"), dt = (o, e, t) => {
1834
1807
  if (t === void 0) {
1835
1808
  if (!(e in o)) return o;
1836
1809
  const {
@@ -1843,12 +1816,12 @@ const Rt = {
1843
1816
  ...o,
1844
1817
  [e]: t
1845
1818
  };
1846
- }, Br = (o, e, t) => {
1847
- const n = Nr(o[e], t);
1819
+ }, Nr = (o, e, t) => {
1820
+ const n = zr(o[e], t);
1848
1821
  return dt(o, e, n === "hidden" ? "shown" : "hidden");
1849
- }, Wr = (o) => ({
1822
+ }, Br = (o) => ({
1850
1823
  tabOverrides: o.tabOverrides
1851
- }), Fr = (o) => lt()(rt((e) => ({
1824
+ }), Wr = (o) => lt()(rt((e) => ({
1852
1825
  ...Rt,
1853
1826
  setTab: (t, n) => e((r) => ({
1854
1827
  ...r,
@@ -1856,7 +1829,7 @@ const Rt = {
1856
1829
  })),
1857
1830
  toggleTab: (t, n) => e((r) => ({
1858
1831
  ...r,
1859
- tabOverrides: Br(r.tabOverrides, t, n)
1832
+ tabOverrides: Nr(r.tabOverrides, t, n)
1860
1833
  })),
1861
1834
  clearTab: (t) => e((n) => ({
1862
1835
  ...n,
@@ -1864,25 +1837,25 @@ const Rt = {
1864
1837
  })),
1865
1838
  reset: () => e(Rt)
1866
1839
  }), {
1867
- name: zr(o.storageKey),
1840
+ name: Lr(o.storageKey),
1868
1841
  storage: it(He),
1869
- partialize: Wr
1870
- })), Et = /* @__PURE__ */ new Map(), Hr = (o) => {
1842
+ partialize: Br
1843
+ })), Et = /* @__PURE__ */ new Map(), Fr = (o) => {
1871
1844
  const e = Et.get(o);
1872
1845
  if (e) return e;
1873
- const t = Fr({
1846
+ const t = Wr({
1874
1847
  storageKey: o
1875
1848
  });
1876
1849
  return Et.set(o, t), t;
1877
- }, bl = (o, e) => {
1850
+ }, pl = (o, e) => {
1878
1851
  const t = P(2);
1879
1852
  let n;
1880
- return t[0] !== o ? (n = Hr(o), t[0] = o, t[1] = n) : n = t[1], ot(n, e);
1881
- }, Mr = (o, e) => typeof o == "string" ? o : e, Me = (o, e) => o ?? (e ? "hidden" : "shown"), Ke = (o) => o.canHide === !0 || o.hiddenByDefault === !0, Vr = (o, e) => Me(e[o.id], o.hiddenByDefault) === "shown", ht = (o, e) => {
1853
+ return t[0] !== o ? (n = Fr(o), t[0] = o, t[1] = n) : n = t[1], ot(n, e);
1854
+ }, Hr = (o, e) => typeof o == "string" ? o : e, Me = (o, e) => o ?? (e ? "hidden" : "shown"), Ke = (o) => o.canHide === !0 || o.hiddenByDefault === !0, Mr = (o, e) => Me(e[o.id], o.hiddenByDefault) === "shown", ht = (o, e) => {
1882
1855
  let t = !1;
1883
1856
  const n = [];
1884
1857
  for (const r of o) {
1885
- if (!Vr(r, e)) {
1858
+ if (!Mr(r, e)) {
1886
1859
  t = !0;
1887
1860
  continue;
1888
1861
  }
@@ -1899,7 +1872,7 @@ const Rt = {
1899
1872
  n.push(r);
1900
1873
  }
1901
1874
  return t ? n : o;
1902
- }, xl = (o, e) => ht(o, e), Sl = (o, e, t) => {
1875
+ }, gl = (o, e) => ht(o, e), bl = (o, e, t) => {
1903
1876
  let n = !1;
1904
1877
  const r = [];
1905
1878
  for (const i of o) {
@@ -1918,7 +1891,7 @@ const Rt = {
1918
1891
  r.push(i);
1919
1892
  }
1920
1893
  return n ? r : o;
1921
- }, en = (o, e) => o === "shown" ? e.visibleIcon : e.hiddenIcon, Gr = (o, e, t, n) => {
1894
+ }, en = (o, e) => o === "shown" ? e.visibleIcon : e.hiddenIcon, Vr = (o, e, t, n) => {
1922
1895
  const r = o.hiddenByDefault === !0, i = Me(e[o.id], r);
1923
1896
  return {
1924
1897
  key: `section:${o.id}`,
@@ -1930,12 +1903,12 @@ const Rt = {
1930
1903
  const r = o.hiddenByDefault === !0, i = Me(e[o.id], r);
1931
1904
  return {
1932
1905
  key: `node:${o.id}`,
1933
- label: Mr(o.label, o.id),
1906
+ label: Hr(o.label, o.id),
1934
1907
  icon: o.icon,
1935
1908
  onClick: () => t.onToggleNode(o.id, r),
1936
1909
  endContent: en(i, n)
1937
1910
  };
1938
- }, vl = (o, e, t, n, r) => {
1911
+ }, xl = (o, e, t, n, r) => {
1939
1912
  const i = [], l = (c) => {
1940
1913
  c.length !== 0 && (i.length > 0 && (c[0] = {
1941
1914
  ...c[0],
@@ -1945,7 +1918,7 @@ const Rt = {
1945
1918
  l((o.headerNodes ?? []).filter(Ke).map((c) => ct(c, t, n, r)));
1946
1919
  const a = [];
1947
1920
  for (const c of o.sections) {
1948
- Ke(c) && a.push(Gr(c, e, n, r));
1921
+ Ke(c) && a.push(Vr(c, e, n, r));
1949
1922
  for (const u of c.nodes)
1950
1923
  Ke(u) && a.push(ct(u, t, n, r));
1951
1924
  }
@@ -1956,7 +1929,7 @@ const Rt = {
1956
1929
  separatorBefore: !0,
1957
1930
  onClick: n.onResetAll
1958
1931
  }), i;
1959
- }, yl = (o, e, t) => {
1932
+ }, Sl = (o, e, t) => {
1960
1933
  let n = !1;
1961
1934
  const r = [];
1962
1935
  for (const i of o) {
@@ -1975,7 +1948,7 @@ const Rt = {
1975
1948
  r.push(i);
1976
1949
  }
1977
1950
  return n ? r : o;
1978
- }, Cl = (o, e, t, n, r, i) => {
1951
+ }, vl = (o, e, t, n, r, i) => {
1979
1952
  const l = [];
1980
1953
  let a = 0;
1981
1954
  for (const c of o) {
@@ -1997,7 +1970,7 @@ const Rt = {
1997
1970
  separatorBefore: !0,
1998
1971
  onClick: t.onResetAll
1999
1972
  }), l;
2000
- }, jr = (o) => {
1973
+ }, Gr = (o) => {
2001
1974
  const e = P(7), {
2002
1975
  children: t,
2003
1976
  hasChanges: n
@@ -2011,7 +1984,7 @@ const Rt = {
2011
1984
  r,
2012
1985
  i
2013
1986
  ] }), e[4] = r, e[5] = i, e[6] = l) : l = e[6], l;
2014
- }, Ur = (o) => {
1987
+ }, jr = (o) => {
2015
1988
  const e = P(20), {
2016
1989
  actions: t,
2017
1990
  disabled: n,
@@ -2045,7 +2018,7 @@ const Rt = {
2045
2018
  d,
2046
2019
  h
2047
2020
  ] }), e[17] = d, e[18] = h, e[19] = p) : p = e[19], p;
2048
- }, Qr = (o) => {
2021
+ }, Ur = (o) => {
2049
2022
  const e = P(65), {
2050
2023
  actionOptions: t,
2051
2024
  colorOptions: n,
@@ -2096,7 +2069,7 @@ const Rt = {
2096
2069
  e[11] !== v || e[12] !== C || e[13] !== y ? (_ = /* @__PURE__ */ s(ge, { cursor: "grab", color: "fg.subtle", _groupHover: I, "aria-label": y, ...v, ...C, children: b }), e[11] = v, e[12] = C, e[13] = y, e[14] = _) : _ = e[14];
2097
2070
  const B = `Change ${i.name} appearance`;
2098
2071
  let H;
2099
- e[15] !== n || e[16] !== r || e[17] !== l || e[18] !== d || e[19] !== h || e[20] !== c || e[21] !== B || e[22] !== i.color || e[23] !== i.icon ? (H = /* @__PURE__ */ s(sr, { color: i.color, colorOptions: n, icon: i.icon, iconOptions: r, showIcons: c, onColorChange: d, onIconChange: h, disabled: l, "aria-label": B }), e[15] = n, e[16] = r, e[17] = l, e[18] = d, e[19] = h, e[20] = c, e[21] = B, e[22] = i.color, e[23] = i.icon, e[24] = H) : H = e[24];
2072
+ e[15] !== n || e[16] !== r || e[17] !== l || e[18] !== d || e[19] !== h || e[20] !== c || e[21] !== B || e[22] !== i.color || e[23] !== i.icon ? (H = /* @__PURE__ */ s(lr, { color: i.color, colorOptions: n, icon: i.icon, iconOptions: r, showIcons: c, onColorChange: d, onIconChange: h, disabled: l, "aria-label": B }), e[15] = n, e[16] = r, e[17] = l, e[18] = d, e[19] = h, e[20] = c, e[21] = B, e[22] = i.color, e[23] = i.icon, e[24] = H) : H = e[24];
2100
2073
  let M;
2101
2074
  e[25] !== p || e[26] !== i.name ? (M = (ne) => {
2102
2075
  const te = ne.value.trim();
@@ -2112,7 +2085,7 @@ const Rt = {
2112
2085
  let q;
2113
2086
  e[34] !== l || e[35] !== m || e[36] !== a || e[37] !== i.isDefault || e[38] !== i.name ? (q = a ? /* @__PURE__ */ s(de, { size: "2xs", variant: i.isDefault ? "primary" : "ghost", onClick: m, disabled: l || i.isDefault, "aria-label": `Set ${i.name} as default`, children: /* @__PURE__ */ s(se, { as: et, boxSize: "icon-xs" }) }) : null, e[34] = l, e[35] = m, e[36] = a, e[37] = i.isDefault, e[38] = i.name, e[39] = q) : q = e[39];
2114
2087
  let U;
2115
- e[40] !== t || e[41] !== l || e[42] !== u || e[43] !== i.actions ? (U = t ? /* @__PURE__ */ s(Ur, { actions: i.actions ?? [], disabled: l, options: t, onChange: u }) : null, e[40] = t, e[41] = l, e[42] = u, e[43] = i.actions, e[44] = U) : U = e[44];
2088
+ e[40] !== t || e[41] !== l || e[42] !== u || e[43] !== i.actions ? (U = t ? /* @__PURE__ */ s(jr, { actions: i.actions ?? [], disabled: l, options: t, onChange: u }) : null, e[40] = t, e[41] = l, e[42] = u, e[43] = i.actions, e[44] = U) : U = e[44];
2116
2089
  let Q;
2117
2090
  e[45] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Q = {
2118
2091
  color: "fg.error",
@@ -2132,7 +2105,7 @@ const Rt = {
2132
2105
  U,
2133
2106
  Z
2134
2107
  ] }), e[51] = R, e[52] = _, e[53] = H, e[54] = Y, e[55] = q, e[56] = w, e[57] = U, e[58] = Z, e[59] = $, e[60] = T, e[61] = A, e[62] = L, e[63] = D, e[64] = ee) : ee = e[64], ee;
2135
- }, Xr = (o) => o.length > 0 ? Math.max(...o.map((e) => e.sortOrder)) + 1 : 0, qr = (o) => {
2108
+ }, Qr = (o) => o.length > 0 ? Math.max(...o.map((e) => e.sortOrder)) + 1 : 0, Xr = (o) => {
2136
2109
  const e = P(12), {
2137
2110
  title: t,
2138
2111
  hasChanges: n,
@@ -2141,7 +2114,7 @@ const Rt = {
2141
2114
  } = o;
2142
2115
  if (!i) {
2143
2116
  let d;
2144
- return e[0] !== n || e[1] !== t ? (d = /* @__PURE__ */ s(jr, { hasChanges: n, children: t }), e[0] = n, e[1] = t, e[2] = d) : d = e[2], d;
2117
+ return e[0] !== n || e[1] !== t ? (d = /* @__PURE__ */ s(Gr, { hasChanges: n, children: t }), e[0] = n, e[1] = t, e[2] = d) : d = e[2], d;
2145
2118
  }
2146
2119
  let l;
2147
2120
  e[3] !== i || e[4] !== t ? (l = (d) => {
@@ -2155,7 +2128,7 @@ const Rt = {
2155
2128
  a,
2156
2129
  c
2157
2130
  ] }, t), e[8] = r, e[9] = l, e[10] = t, e[11] = u) : u = e[11], u;
2158
- }, Yr = Ie("button", {
2131
+ }, qr = Ie("button", {
2159
2132
  base: {
2160
2133
  display: "flex",
2161
2134
  alignItems: "center",
@@ -2178,7 +2151,7 @@ const Rt = {
2178
2151
  }
2179
2152
  }
2180
2153
  }
2181
- }), Kr = (o) => {
2154
+ }), Yr = (o) => {
2182
2155
  const {
2183
2156
  title: e,
2184
2157
  description: t,
@@ -2218,7 +2191,7 @@ const Rt = {
2218
2191
  name: h,
2219
2192
  color: g,
2220
2193
  icon: v,
2221
- sortOrder: Xr(r),
2194
+ sortOrder: Qr(r),
2222
2195
  isNew: !0
2223
2196
  }]);
2224
2197
  }, N = () => {
@@ -2228,7 +2201,7 @@ const Rt = {
2228
2201
  /* @__PURE__ */ x(j, { gap: "2xs", children: [
2229
2202
  e || n ? /* @__PURE__ */ x(ge, { minHeight: "tag-editor-row", alignItems: "center", justifyContent: "space-between", gap: "xs", children: [
2230
2203
  /* @__PURE__ */ x(j, { gap: "3xs", minWidth: "0", children: [
2231
- e ? /* @__PURE__ */ s(qr, { title: e, hasChanges: u, isSaving: d, onTitleChange: c }) : null,
2204
+ e ? /* @__PURE__ */ s(Xr, { title: e, hasChanges: u, isSaving: d, onTitleChange: c }) : null,
2232
2205
  t ? /* @__PURE__ */ s(W, { textStyle: "paragraph/S/regular", color: "fg.muted", children: t }) : null
2233
2206
  ] }),
2234
2207
  n
@@ -2245,7 +2218,7 @@ const Rt = {
2245
2218
  ...H,
2246
2219
  sortOrder: M
2247
2220
  })));
2248
- }, children: /* @__PURE__ */ s(Qn, { items: r.map((I) => I.id), strategy: Xn, children: r.map((I, y) => /* @__PURE__ */ s(Qr, { value: I, isSaving: d, showDefault: S, showIcons: k, actionOptions: p, colorOptions: m, iconOptions: O, onNameChange: (b) => A(y, {
2221
+ }, children: /* @__PURE__ */ s(Qn, { items: r.map((I) => I.id), strategy: Xn, children: r.map((I, y) => /* @__PURE__ */ s(Ur, { value: I, isSaving: d, showDefault: S, showIcons: k, actionOptions: p, colorOptions: m, iconOptions: O, onNameChange: (b) => A(y, {
2249
2222
  name: b
2250
2223
  }), onColorChange: (b) => A(y, {
2251
2224
  color: b
@@ -2254,15 +2227,15 @@ const Rt = {
2254
2227
  }), onActionsChange: (b) => A(y, {
2255
2228
  actions: b
2256
2229
  }), onSetDefault: () => a?.(I), onDelete: () => $(I) }, I.id)) }) }),
2257
- /* @__PURE__ */ x(Yr, { type: "button", disabled: d, onClick: L, children: [
2230
+ /* @__PURE__ */ x(qr, { type: "button", disabled: d, onClick: L, children: [
2258
2231
  /* @__PURE__ */ s(se, { as: On, boxSize: "icon-xs" }),
2259
2232
  /* @__PURE__ */ s(W, { textStyle: "paragraph/S/regular", children: f })
2260
2233
  ] })
2261
2234
  ] })
2262
2235
  ] }),
2263
- /* @__PURE__ */ s(Go, { open: !!w, onClose: () => $(null), onDelete: N, headline: R, notificationText: w ? E(w) : "", buttonText: C })
2236
+ /* @__PURE__ */ s(Vo, { open: !!w, onClose: () => $(null), onDelete: N, headline: R, notificationText: w ? E(w) : "", buttonText: C })
2264
2237
  ] });
2265
- }, Zr = (o) => {
2238
+ }, Kr = (o) => {
2266
2239
  const e = P(13), {
2267
2240
  onSave: t,
2268
2241
  onReset: n,
@@ -2281,11 +2254,11 @@ const Rt = {
2281
2254
  d,
2282
2255
  h
2283
2256
  ] }), e[10] = d, e[11] = h, e[12] = p) : p = e[12], p;
2284
- }, Jr = (o, e) => o.sortOrder - e.sortOrder || o.name.localeCompare(e.name), kt = (o, e) => o.map(e).sort(Jr), ei = (o, e) => o.find((t) => t.id === e.id), ti = (o, e, t, n) => t.size > 0 ? !0 : e.some((r) => {
2257
+ }, Zr = (o, e) => o.sortOrder - e.sortOrder || o.name.localeCompare(e.name), kt = (o, e) => o.map(e).sort(Zr), Jr = (o, e) => o.find((t) => t.id === e.id), ei = (o, e, t, n) => t.size > 0 ? !0 : e.some((r) => {
2285
2258
  if (r.isNew) return !0;
2286
- const i = ei(o, r);
2259
+ const i = Jr(o, r);
2287
2260
  return i ? n(i, r) || r.sortOrder !== i.sortOrder : !0;
2288
- }), _t = (o) => o instanceof Error ? o.message : o ? String(o) : null, wl = (o) => {
2261
+ }), _t = (o) => o instanceof Error ? o.message : o ? String(o) : null, yl = (o) => {
2289
2262
  const {
2290
2263
  errorTitle: e,
2291
2264
  loadingText: t = "Loading...",
@@ -2314,15 +2287,15 @@ const Rt = {
2314
2287
  } finally {
2315
2288
  v(!1);
2316
2289
  }
2317
- }, S = ti(E, f, p, u), k = _t(l) ?? _t(C);
2290
+ }, S = ei(E, f, p, u), k = _t(l) ?? _t(C);
2318
2291
  return /* @__PURE__ */ x(j, { boxSizing: "border-box", minH: "100%", p: "lg", gap: "lg", bg: "bg", color: "fg", children: [
2319
2292
  k ? /* @__PURE__ */ s(ft, { status: "error", colorPalette: "red", title: e, size: "sm", children: k }) : null,
2320
2293
  i === void 0 ? /* @__PURE__ */ x(re, { gap: "sm", color: "fg.muted", children: [
2321
2294
  /* @__PURE__ */ s(Gt, { size: "sm" }),
2322
2295
  /* @__PURE__ */ s(W, { textStyle: "paragraph/S/regular", children: t })
2323
- ] }) : /* @__PURE__ */ s(Kr, { ...d, values: f, onValuesChange: h, onDeleteValue: (T) => {
2296
+ ] }) : /* @__PURE__ */ s(Yr, { ...d, values: f, onValuesChange: h, onDeleteValue: (T) => {
2324
2297
  T.isNew || m(/* @__PURE__ */ new Set([...p, T.id])), h(f.filter((A) => A.id !== T.id));
2325
- }, hasChanges: S, isSaving: g, headerActions: /* @__PURE__ */ s(Zr, { hasChanges: S, isSaving: g, resetLabel: n, saveLabel: r, onSave: () => {
2298
+ }, hasChanges: S, isSaving: g, headerActions: /* @__PURE__ */ s(Kr, { hasChanges: S, isSaving: g, resetLabel: n, saveLabel: r, onSave: () => {
2326
2299
  O();
2327
2300
  }, onReset: () => {
2328
2301
  h(kt(E, c)), m(/* @__PURE__ */ new Set()), R(null);
@@ -2331,15 +2304,15 @@ const Rt = {
2331
2304
  }, $t = {
2332
2305
  sectionOrder: [],
2333
2306
  nodeOrderBySection: {}
2334
- }, ni = "pstdio/ui/tree-list-order", oi = (o) => `${ni}/${o}`, Ot = (o) => {
2307
+ }, ti = "pstdio/ui/tree-list-order", ni = (o) => `${ti}/${o}`, Ot = (o) => {
2335
2308
  const e = /* @__PURE__ */ new Set(), t = [];
2336
2309
  for (const n of o)
2337
2310
  e.has(n) || (e.add(n), t.push(n));
2338
2311
  return t;
2339
- }, ri = (o) => ({
2312
+ }, oi = (o) => ({
2340
2313
  sectionOrder: o.sectionOrder,
2341
2314
  nodeOrderBySection: o.nodeOrderBySection
2342
- }), ii = (o) => lt()(rt((e) => ({
2315
+ }), ri = (o) => lt()(rt((e) => ({
2343
2316
  ...$t,
2344
2317
  setSectionOrder: (t) => e((n) => ({
2345
2318
  ...n,
@@ -2369,20 +2342,20 @@ const Rt = {
2369
2342
  }),
2370
2343
  reset: () => e($t)
2371
2344
  }), {
2372
- name: oi(o.storageKey),
2345
+ name: ni(o.storageKey),
2373
2346
  storage: it(He),
2374
- partialize: ri
2375
- })), Dt = /* @__PURE__ */ new Map(), li = (o) => {
2347
+ partialize: oi
2348
+ })), Dt = /* @__PURE__ */ new Map(), ii = (o) => {
2376
2349
  const e = Dt.get(o);
2377
2350
  if (e) return e;
2378
- const t = ii({
2351
+ const t = ri({
2379
2352
  storageKey: o
2380
2353
  });
2381
2354
  return Dt.set(o, t), t;
2382
- }, Il = (o, e) => {
2355
+ }, Cl = (o, e) => {
2383
2356
  const t = P(2);
2384
2357
  let n;
2385
- return t[0] !== o ? (n = li(o), t[0] = o, t[1] = n) : n = t[1], ot(n, e);
2358
+ return t[0] !== o ? (n = ii(o), t[0] = o, t[1] = n) : n = t[1], ot(n, e);
2386
2359
  }, Lt = (o, e) => {
2387
2360
  if (e.length === 0) return o;
2388
2361
  const t = new Map(o.map((l, a) => [l.id, a])), n = /* @__PURE__ */ new Set(), r = [];
@@ -2401,7 +2374,7 @@ const Rt = {
2401
2374
  }
2402
2375
  }
2403
2376
  return i ? r : o;
2404
- }, Tl = (o, e, t) => {
2377
+ }, wl = (o, e, t) => {
2405
2378
  let n = !1;
2406
2379
  const r = Lt(o, e);
2407
2380
  r !== o && (n = !0);
@@ -2422,7 +2395,7 @@ const Rt = {
2422
2395
  }, zt = {
2423
2396
  sectionOverrides: {},
2424
2397
  nodeOverrides: {}
2425
- }, si = "pstdio/ui/tree-list-visibility", ai = (o) => `${si}/${o}`, ci = (o, e) => o ?? (e ? "hidden" : "shown"), di = (o) => o === "hidden" ? "shown" : "hidden", Ge = (o, e, t) => {
2398
+ }, li = "pstdio/ui/tree-list-visibility", si = (o) => `${li}/${o}`, ai = (o, e) => o ?? (e ? "hidden" : "shown"), ci = (o) => o === "hidden" ? "shown" : "hidden", Ge = (o, e, t) => {
2426
2399
  if (t === void 0) {
2427
2400
  if (!(e in o)) return o;
2428
2401
  const {
@@ -2436,12 +2409,12 @@ const Rt = {
2436
2409
  [e]: t
2437
2410
  };
2438
2411
  }, Nt = (o, e, t) => {
2439
- const n = di(ci(o[e], t));
2412
+ const n = ci(ai(o[e], t));
2440
2413
  return Ge(o, e, n);
2441
- }, ui = (o) => ({
2414
+ }, di = (o) => ({
2442
2415
  sectionOverrides: o.sectionOverrides,
2443
2416
  nodeOverrides: o.nodeOverrides
2444
- }), fi = (o) => lt()(rt((e) => ({
2417
+ }), ui = (o) => lt()(rt((e) => ({
2445
2418
  ...zt,
2446
2419
  setSection: (t, n) => e((r) => ({
2447
2420
  ...r,
@@ -2469,78 +2442,78 @@ const Rt = {
2469
2442
  })),
2470
2443
  reset: () => e(zt)
2471
2444
  }), {
2472
- name: ai(o.storageKey),
2445
+ name: si(o.storageKey),
2473
2446
  storage: it(He),
2474
- partialize: ui
2475
- })), Bt = /* @__PURE__ */ new Map(), hi = (o) => {
2447
+ partialize: di
2448
+ })), Bt = /* @__PURE__ */ new Map(), fi = (o) => {
2476
2449
  const e = Bt.get(o);
2477
2450
  if (e) return e;
2478
- const t = fi({
2451
+ const t = ui({
2479
2452
  storageKey: o
2480
2453
  });
2481
2454
  return Bt.set(o, t), t;
2482
- }, Pl = (o, e) => {
2455
+ }, Il = (o, e) => {
2483
2456
  const t = P(2);
2484
2457
  let n;
2485
- return t[0] !== o ? (n = hi(o), t[0] = o, t[1] = n) : n = t[1], ot(n, e);
2486
- }, mi = [], tn = (o, e) => typeof o == "string" && e.some((t) => t.id === o), pi = (o) => {
2458
+ return t[0] !== o ? (n = fi(o), t[0] = o, t[1] = n) : n = t[1], ot(n, e);
2459
+ }, hi = [], tn = (o, e) => typeof o == "string" && e.some((t) => t.id === o), mi = (o) => {
2487
2460
  const e = o.toLowerCase().split("."), t = [];
2488
2461
  for (let n = 1; n < e.length; n += 1) t.push(e.slice(n).join("."));
2489
2462
  return t;
2490
- }, gi = (o, e, t) => {
2463
+ }, pi = (o, e, t) => {
2491
2464
  if (t) return o.defaults.folder;
2492
2465
  const n = o.fileNames[e.toLowerCase()];
2493
2466
  if (n) return n;
2494
- for (const r of pi(e)) {
2467
+ for (const r of mi(e)) {
2495
2468
  const i = o.fileExtensions[r];
2496
2469
  if (i) return i;
2497
2470
  }
2498
2471
  return o.defaults.file;
2499
- }, bi = (o, e) => {
2472
+ }, gi = (o, e) => {
2500
2473
  if (e.fontId) {
2501
2474
  const t = o.fonts.find((n) => n.fontFamily === `${o.id}-${e.fontId}`);
2502
2475
  if (t) return t.fontFamily;
2503
2476
  }
2504
2477
  return o.fonts[0]?.fontFamily;
2505
- }, xi = (o) => {
2478
+ }, bi = (o) => {
2506
2479
  const e = /^\\([0-9a-fA-F]+)$/.exec(o);
2507
2480
  return e ? String.fromCodePoint(Number.parseInt(e[1], 16)) : o;
2508
- }, Si = (o, e, t = !1) => {
2481
+ }, xi = (o, e, t = !1) => {
2509
2482
  if (!o) return;
2510
- const n = gi(o, e, t);
2483
+ const n = pi(o, e, t);
2511
2484
  if (!n) return;
2512
2485
  const r = o.definitions[n];
2513
2486
  if (!r?.fontCharacter) return;
2514
- const i = bi(o, r);
2487
+ const i = gi(o, r);
2515
2488
  if (i)
2516
2489
  return {
2517
2490
  fontFamily: i,
2518
- fontCharacter: xi(r.fontCharacter),
2491
+ fontCharacter: bi(r.fontCharacter),
2519
2492
  fontColor: r.fontColor
2520
2493
  };
2521
- }, Wt = "data-pstdio-file-icon-fonts", vi = (o) => {
2494
+ }, Wt = "data-pstdio-file-icon-fonts", Si = (o) => {
2522
2495
  const e = o.src.map((t) => `url("${t.url}")${t.format ? ` format("${t.format}")` : ""}`).join(", ");
2523
2496
  return ["@font-face {", ` font-family: "${o.fontFamily}";`, ` src: ${e};`, ` font-weight: ${o.weight ?? "normal"};`, ` font-style: ${o.style ?? "normal"};`, "}"].join(`
2524
2497
  `);
2525
- }, yi = (o, e) => {
2498
+ }, vi = (o, e) => {
2526
2499
  if (typeof document > "u") return;
2527
2500
  let t = document.querySelector(`style[${Wt}]`);
2528
2501
  t || (t = document.createElement("style"), t.setAttribute(Wt, ""), document.head.appendChild(t));
2529
2502
  const n = e.find((r) => r.id === o);
2530
- t.textContent = (n?.fonts ?? []).map(vi).join(`
2503
+ t.textContent = (n?.fonts ?? []).map(Si).join(`
2531
2504
 
2532
2505
  `);
2533
- }, nn = "file-icon-theme-preference", ut = (o) => o.find((e) => e.id.endsWith(".seti"))?.id ?? o[0]?.id ?? null, on = pn(null), Ci = (o) => {
2506
+ }, nn = "file-icon-theme-preference", ut = (o) => o.find((e) => e.id.endsWith(".seti"))?.id ?? o[0]?.id ?? null, on = pn(null), yi = (o) => {
2534
2507
  if (typeof window > "u") return ut(o);
2535
2508
  const e = He().getItem(nn);
2536
2509
  return tn(e, o) ? e : ut(o);
2537
- }, Al = (o) => {
2510
+ }, Tl = (o) => {
2538
2511
  const e = P(18), {
2539
2512
  children: t,
2540
2513
  themePreferences: n
2541
- } = o, r = n === void 0 ? mi : n;
2514
+ } = o, r = n === void 0 ? hi : n;
2542
2515
  let i;
2543
- e[0] !== r ? (i = () => Ci(r), e[0] = r, e[1] = i) : i = e[1];
2516
+ e[0] !== r ? (i = () => yi(r), e[0] = r, e[1] = i) : i = e[1];
2544
2517
  const [l, a] = ue(i);
2545
2518
  let c, u;
2546
2519
  e[2] !== l || e[3] !== r ? (c = () => {
@@ -2549,7 +2522,7 @@ const Rt = {
2549
2522
  a(m);
2550
2523
  return;
2551
2524
  }
2552
- yi(m, r), typeof window < "u" && m && He().setItem(nn, m);
2525
+ vi(m, r), typeof window < "u" && m && He().setItem(nn, m);
2553
2526
  }, u = [l, r], e[2] = l, e[3] = r, e[4] = c, e[5] = u) : (c = e[4], u = e[5]), he(c, u);
2554
2527
  let d;
2555
2528
  if (e[6] !== l || e[7] !== r) {
@@ -2567,17 +2540,17 @@ const Rt = {
2567
2540
  }, e[11] = f, e[12] = l, e[13] = r, e[14] = h) : h = e[14];
2568
2541
  let p;
2569
2542
  return e[15] !== t || e[16] !== h ? (p = /* @__PURE__ */ s(on, { value: h, children: t }), e[15] = t, e[16] = h, e[17] = p) : p = e[17], p;
2570
- }, Rl = () => {
2543
+ }, Pl = () => {
2571
2544
  const o = gn(on);
2572
2545
  if (!o)
2573
2546
  throw new Error("useFileIconThemePreference must be used within a FileIconThemePreferenceProvider");
2574
2547
  return o;
2575
- }, El = (o, e = {}) => {
2548
+ }, Al = (o, e = {}) => {
2576
2549
  const {
2577
2550
  isDirectory: t = !1,
2578
2551
  theme: n,
2579
2552
  size: r = 16
2580
- } = e, i = Si(n, o, t);
2553
+ } = e, i = xi(n, o, t);
2581
2554
  if (i) {
2582
2555
  const a = {
2583
2556
  fontFamily: `"${i.fontFamily}"`,
@@ -2593,9 +2566,9 @@ const Rt = {
2593
2566
  return /* @__PURE__ */ s(l, { size: r });
2594
2567
  };
2595
2568
  export {
2596
- Ml as ANCHOR_GRID_VALUES,
2597
- Vl as ActionInput,
2598
- Yi as Activity,
2569
+ Fl as ANCHOR_GRID_VALUES,
2570
+ Hl as ActionInput,
2571
+ Xi as Activity,
2599
2572
  st as ActivityAvatar,
2600
2573
  Jn as ActivityComment,
2601
2574
  eo as ActivityComposer,
@@ -2606,129 +2579,129 @@ export {
2606
2579
  oo as ActivityRoot,
2607
2580
  lo as ActivityTimeline,
2608
2581
  ft as AlertMessage,
2609
- Gl as AnchorGridInput,
2610
- rl as AttachedMenu,
2611
- il as AttachedPanel,
2612
- jl as AttachmentChip,
2613
- Ul as BooleanInput,
2614
- cl as Breadcrumb,
2615
- ll as BubbleButton,
2616
- sl as BubblePanel,
2617
- $l as ChakraProvider,
2618
- Es as Checkbox,
2619
- Ql as Chip,
2620
- Xl as ColorInput,
2621
- er as ContentPlaceholder,
2622
- dl as ContentPlaceholderLabel,
2623
- Ki as DEFAULT_PALETTE_ASSET_LIMIT,
2624
- ql as DateInput,
2625
- Go as DeleteConfirmationModal,
2626
- _s as EmptyState,
2627
- ul as ErrorBoundary,
2628
- Al as FileIconThemePreferenceProvider,
2629
- Yl as FileUploadInput,
2582
+ Ml as AnchorGridInput,
2583
+ nl as AttachedMenu,
2584
+ ol as AttachedPanel,
2585
+ Vl as AttachmentChip,
2586
+ Gl as BooleanInput,
2587
+ sl as Breadcrumb,
2588
+ rl as BubbleButton,
2589
+ il as BubblePanel,
2590
+ kl as ChakraProvider,
2591
+ Cs as Checkbox,
2592
+ jl as Chip,
2593
+ Ul as ColorInput,
2594
+ Jo as ContentPlaceholder,
2595
+ al as ContentPlaceholderLabel,
2596
+ qi as DEFAULT_PALETTE_ASSET_LIMIT,
2597
+ Ql as DateInput,
2598
+ Vo as DeleteConfirmationModal,
2599
+ ks as EmptyState,
2600
+ cl as ErrorBoundary,
2601
+ Tl as FileIconThemePreferenceProvider,
2602
+ Xl as FileUploadInput,
2630
2603
  Ln as Header,
2631
- el as HorizontalMenuStack,
2632
- Kl as HorizontalTextInput,
2633
- sr as IconColorPicker,
2634
- fl as IntegrationCard,
2635
- tl as ItemSection,
2604
+ Zi as HorizontalMenuStack,
2605
+ ql as HorizontalTextInput,
2606
+ lr as IconColorPicker,
2607
+ dl as IntegrationCard,
2608
+ Ji as ItemSection,
2636
2609
  nt as ListRow,
2637
- Zl as MarkdownInput,
2638
- ol as NotificationCenter,
2639
- Jl as NumberInput,
2610
+ Yl as MarkdownInput,
2611
+ tl as NotificationCenter,
2612
+ Kl as NumberInput,
2640
2613
  Ct as PANEL_HEADER_CONTROL_SIZE,
2641
- _o as PANEL_HEADER_HEIGHT,
2642
- nl as PANEL_HEADER_TAB_SIZE,
2643
- Zi as Palette,
2644
- Ji as PaletteShortcut,
2645
- Ts as ParamEditor,
2646
- es as ParamEditorControlItem,
2647
- pl as ParamEditorControlList,
2648
- ts as ParamEditorField,
2649
- ns as ParamEditorFieldLabel,
2650
- os as ParamEditorInlineGroup,
2651
- rs as ParamEditorLabel,
2652
- is as ParamEditorReadOnlyField,
2653
- ls as ParamEditorReadOnlyValue,
2654
- Ps as ParamEditorRow,
2655
- As as ParamEditorSection,
2656
- Wl as Radio,
2657
- Fl as RadioGroup,
2658
- ss as RangeInput,
2659
- al as RepoPickerDialog,
2660
- Nl as ResizableSplitLayout,
2661
- Dl as ResourceActionMenu,
2662
- Os as ResourceBadge,
2614
+ ko as PANEL_HEADER_HEIGHT,
2615
+ el as PANEL_HEADER_TAB_SIZE,
2616
+ Yi as Palette,
2617
+ Ki as PaletteShortcut,
2618
+ xs as ParamEditor,
2619
+ Zl as ParamEditorControlItem,
2620
+ hl as ParamEditorControlList,
2621
+ Jl as ParamEditorField,
2622
+ es as ParamEditorFieldLabel,
2623
+ ts as ParamEditorInlineGroup,
2624
+ ns as ParamEditorLabel,
2625
+ os as ParamEditorReadOnlyField,
2626
+ rs as ParamEditorReadOnlyValue,
2627
+ Ss as ParamEditorRow,
2628
+ vs as ParamEditorSection,
2629
+ Nl as Radio,
2630
+ Bl as RadioGroup,
2631
+ is as RangeInput,
2632
+ ll as RepoPickerDialog,
2633
+ Ll as ResizableSplitLayout,
2634
+ $l as ResourceActionMenu,
2635
+ ws as ResourceBadge,
2663
2636
  Xt as ResourceContextMenu,
2664
- as as ResourceInput,
2637
+ ls as ResourceInput,
2665
2638
  tt as ScrollArea,
2666
2639
  Kt as SearchModalContent,
2667
- Ll as SearchableMenu,
2668
- hl as SegmentedControl,
2669
- cs as SegmentedInput,
2670
- ds as SelectionInput,
2671
- us as SessionIndicator,
2672
- gl as Sidenav,
2673
- ar as SimpleCard,
2674
- cr as SimpleCardBody,
2675
- fs as Switch,
2676
- Kr as TagEditor,
2677
- jr as TagEditorHeading,
2678
- Zr as TagEditorSaveBar,
2679
- wl as TagSettingsPanel,
2680
- or as TagSwatch,
2681
- hs as TextInput,
2682
- Ws as ThemePreferenceProvider,
2683
- ml as Toaster,
2640
+ Ol as SearchableMenu,
2641
+ ul as SegmentedControl,
2642
+ ss as SegmentedInput,
2643
+ as as SelectionInput,
2644
+ Is as SessionIndicator,
2645
+ ml as Sidenav,
2646
+ sr as SimpleCard,
2647
+ ar as SimpleCardBody,
2648
+ cs as Switch,
2649
+ Yr as TagEditor,
2650
+ Gr as TagEditorHeading,
2651
+ Kr as TagEditorSaveBar,
2652
+ yl as TagSettingsPanel,
2653
+ nr as TagSwatch,
2654
+ ds as TextInput,
2655
+ zs as ThemePreferenceProvider,
2656
+ fl as Toaster,
2684
2657
  Ue as Tooltip,
2685
2658
  zn as TreeList,
2686
- ms as VectorInput,
2687
- ps as WorkspaceBadge,
2688
- yi as applyFileIconThemePreference,
2689
- Fs as applyThemePreference,
2690
- Tl as applyTreeListOrder,
2691
- Cl as buildTabVisibilityMenuActions,
2692
- vl as buildTreeVisibilityMenuActions,
2693
- gs as createGlyphIcon,
2694
- Ls as createMonacoThemeFromVsCodeTheme,
2695
- zs as createThemePreferenceFromVsCodeTheme,
2696
- mi as defaultFileIconThemePreferences,
2697
- Hs as defaultThemePreferences,
2659
+ us as VectorInput,
2660
+ Ts as WorkspaceBadge,
2661
+ vi as applyFileIconThemePreference,
2662
+ Ns as applyThemePreference,
2663
+ wl as applyTreeListOrder,
2664
+ vl as buildTabVisibilityMenuActions,
2665
+ xl as buildTreeVisibilityMenuActions,
2666
+ fs as createGlyphIcon,
2667
+ $s as createMonacoThemeFromVsCodeTheme,
2668
+ Os as createThemePreferenceFromVsCodeTheme,
2669
+ hi as defaultFileIconThemePreferences,
2670
+ Bs as defaultThemePreferences,
2698
2671
  fo as filterPaletteEntries,
2699
- xl as filterVisibleNodes,
2700
- Sl as filterVisibleSections,
2701
- yl as filterVisibleTabs,
2672
+ gl as filterVisibleNodes,
2673
+ bl as filterVisibleSections,
2674
+ Sl as filterVisibleTabs,
2702
2675
  Fn as getFileTypeIcon,
2703
2676
  Nn as getIconComponent,
2704
- Ms as getInitialThemePreference,
2705
- Hr as getTabVisibilityStore,
2706
- Vs as getThemePreferenceClassName,
2707
- Gs as getThemePreferenceClassNames,
2708
- js as getThemePreferenceMode,
2709
- li as getTreeListOrderStore,
2710
- hi as getTreeListVisibilityStore,
2711
- ws as handleDialogAcceptShortcut,
2712
- qs as installPrismGlobal,
2713
- bs as isAnchorGridValue,
2677
+ Ws as getInitialThemePreference,
2678
+ Fr as getTabVisibilityStore,
2679
+ Fs as getThemePreferenceClassName,
2680
+ Hs as getThemePreferenceClassNames,
2681
+ Ms as getThemePreferenceMode,
2682
+ ii as getTreeListOrderStore,
2683
+ fi as getTreeListVisibilityStore,
2684
+ gs as handleDialogAcceptShortcut,
2685
+ Us as installPrismGlobal,
2686
+ hs as isAnchorGridValue,
2714
2687
  tn as isFileIconThemePreference,
2715
- xs as isParamEditorRichControl,
2716
- Us as isThemePreference,
2688
+ ms as isParamEditorRichControl,
2689
+ Vs as isThemePreference,
2717
2690
  Wn as optionColors,
2718
2691
  Bn as optionIcons,
2719
- Ns as psTheme,
2720
- El as resolveFileIconElement,
2721
- Si as resolveFileIconGlyph,
2722
- Ss as resolveSessionIndicatorColor,
2723
- vs as resolveSessionIndicatorIcon,
2692
+ Ds as psTheme,
2693
+ Al as resolveFileIconElement,
2694
+ xi as resolveFileIconGlyph,
2695
+ Ps as resolveSessionIndicatorColor,
2696
+ As as resolveSessionIndicatorIcon,
2724
2697
  Me as resolveVisibility,
2725
- ys as sessionCompletionStatuses,
2726
- pr as toaster,
2727
- Rl as useFileIconThemePreference,
2698
+ Rs as sessionCompletionStatuses,
2699
+ mr as toaster,
2700
+ Pl as useFileIconThemePreference,
2728
2701
  ze as useSidenavStore,
2729
- bl as useTabVisibilityStore,
2730
- Qs as useThemePreference,
2731
- Il as useTreeListOrderStore,
2732
- Pl as useTreeListVisibilityStore
2702
+ pl as useTabVisibilityStore,
2703
+ Gs as useThemePreference,
2704
+ Cl as useTreeListOrderStore,
2705
+ Il as useTreeListVisibilityStore
2733
2706
  };
2734
2707
  //# sourceMappingURL=index.js.map