@ynput/ayon-frontend-shared 0.6.7 → 0.6.9

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 (41) hide show
  1. package/dist/DetailsPanel.es.js +3 -3
  2. package/dist/Feed.es.js +64 -58
  3. package/dist/ListTable.es.js +5 -5
  4. package/dist/NewEntity.es.js +38 -38
  5. package/dist/ProjectTreeTable.es.js +1314 -1314
  6. package/dist/Slicer.es.js +21 -21
  7. package/dist/Views.es.js +1 -1
  8. package/dist/api.es.js +362 -360
  9. package/dist/chunks/Actions.es.js +21 -21
  10. package/dist/chunks/ColumnDropIndicator.es.js +7 -7
  11. package/dist/chunks/DeleteEntitiesContextInstance.es.js +22 -22
  12. package/dist/chunks/EmptyPlaceholder.es.js +9 -9
  13. package/dist/chunks/EntityPath.es.js +1 -1
  14. package/dist/chunks/EntityUpdatesContext.es.js +1 -1
  15. package/dist/chunks/Feed.es.js +1843 -1830
  16. package/dist/chunks/MetaWidget.es.js +816 -827
  17. package/dist/chunks/PlayableIcon.es.js +124 -85
  18. package/dist/chunks/ProjectContext.es.js +11 -11
  19. package/dist/chunks/ReviewablesSelector.es.js +572 -484
  20. package/dist/chunks/SimpleForm.es.js +6 -5
  21. package/dist/chunks/SimpleTable.es.js +1 -1
  22. package/dist/chunks/Slicer.es.js +75 -75
  23. package/dist/chunks/ThumbnailSimple.es.js +15 -15
  24. package/dist/chunks/Watchers.es.js +35 -35
  25. package/dist/chunks/getBundleMode.es.js +33 -25
  26. package/dist/chunks/getUris.es.js +236 -229
  27. package/dist/chunks/searchTerms.es.js +352 -333
  28. package/dist/chunks/useAttributeEnums.es.js +16 -16
  29. package/dist/chunks/useDateRangeFilter.es.js +85 -59
  30. package/dist/chunks/viewUpdateHelper.es.js +36 -36
  31. package/dist/components.es.js +793 -754
  32. package/dist/context.es.js +121 -120
  33. package/dist/hooks.es.js +15 -15
  34. package/dist/index.es.js +2 -2
  35. package/dist/types/Feed.d.ts +54 -0
  36. package/dist/types/ProjectTreeTable.d.ts +5 -2
  37. package/dist/types/api.d.ts +372 -0
  38. package/dist/types/components.d.ts +516 -0
  39. package/dist/types/util.d.ts +4 -0
  40. package/dist/util.es.js +68 -66
  41. package/package.json +1 -1
@@ -1,64 +1,64 @@
1
1
  import { jsxs as w, jsx as n, Fragment as me } from "react/jsx-runtime";
2
- import g, { css as It, keyframes as Wn } from "styled-components";
3
- import { forwardRef as le, useRef as K, useState as U, useEffect as Z, useMemo as X, Fragment as Xn, useCallback as ee, useImperativeHandle as Qn } from "react";
4
- import { Icon as Y, InputNumber as pn, Button as H, IconSelect as Jn, InputText as Ae, Dialog as qe, FormLayout as Et, FormRow as te, Dropdown as pe, LockedInput as Zn, InputSwitch as De, Spacer as mn, SaveButton as gn, theme as fe } from "@ynput/ayon-react-components";
5
- import { U as eo } from "./PlayableIcon.es.js";
2
+ import g, { css as It, keyframes as Wn, createGlobalStyle as Xn } from "styled-components";
3
+ import { forwardRef as le, useRef as K, useState as U, useEffect as Z, useMemo as X, Fragment as Qn, useCallback as ee, useImperativeHandle as Jn } from "react";
4
+ import { Icon as G, InputNumber as pn, Button as H, IconSelect as Zn, InputText as Ae, Dialog as qe, FormLayout as Et, FormRow as te, Dropdown as pe, LockedInput as eo, InputSwitch as De, Spacer as mn, SaveButton as gn, theme as fe } from "@ynput/ayon-react-components";
5
+ import { U as to } from "./PlayableIcon.es.js";
6
6
  import J from "clsx";
7
- import { kebabCase as Me, isEqual as Bt, uniqueId as Ye, startCase as Tt, camelCase as ut, upperFirst as to } from "lodash";
7
+ import { kebabCase as Me, isEqual as Bt, uniqueId as Ge, startCase as Tt, camelCase as ut, upperFirst as no } from "lodash";
8
8
  import { createPortal as hn } from "react-dom";
9
9
  import { DndContext as We, closestCenter as Xe, DragOverlay as Nt, useSensors as Pt, useSensor as _t, PointerSensor as Dt } from "@dnd-kit/core";
10
- import { useSortable as Qe, SortableContext as Oe, verticalListSortingStrategy as Le, arrayMove as At } from "@dnd-kit/sortable";
10
+ import { useSortable as Qe, SortableContext as Oe, verticalListSortingStrategy as Re, arrayMove as At } from "@dnd-kit/sortable";
11
11
  import { CSS as Je } from "@dnd-kit/utilities";
12
- import { I as no } from "./InfoMessage.es.js";
12
+ import { I as oo } from "./InfoMessage.es.js";
13
13
  import { S as vn } from "./SimpleForm.es.js";
14
- import { br as oo, aY as ro, bp as fn, bn, bq as Ut, bg as io, b1 as ao, bm as yn, bj as xn, bi as so } from "./searchTerms.es.js";
15
- import { bk as lo, bq as co, cD as uo, be as po, dB as ae, cl as mo } from "./getUris.es.js";
14
+ import { bs as ro, aZ as io, bq as fn, bo as bn, br as Ut, bh as ao, b2 as so, bn as yn, bk as xn, bj as lo } from "./searchTerms.es.js";
15
+ import { bk as co, bq as uo, cE as po, be as mo, dC as ae, cl as go } from "./getUris.es.js";
16
16
  import "primereact/confirmdialog";
17
- import { l as go, b as ho, v as vo } from "./Watchers.es.js";
17
+ import { l as ho, b as vo, v as fo } from "./Watchers.es.js";
18
18
  import { matchSorter as Ht } from "match-sorter";
19
- import { J as fo } from "./JsonViewer.es.js";
19
+ import { J as bo } from "./JsonViewer.es.js";
20
20
  import "@module-federation/enhanced/runtime";
21
- import { toast as bo } from "react-toastify";
22
- import { d as wn, a as yo, a9 as Ze, u as et, x as Sn } from "./DeleteEntitiesContextInstance.es.js";
21
+ import { toast as yo } from "react-toastify";
22
+ import { d as wn, a as xo, a9 as Ze, u as et, x as Sn } from "./DeleteEntitiesContextInstance.es.js";
23
23
  import "uuid";
24
24
  import "semver";
25
25
  import "./ContextMenuContextInstance.es.js";
26
26
  import "react-redux";
27
27
  import { g as ve } from "./iconUtils.es.js";
28
- import { Link as xo } from "react-router-dom";
29
- import { aY as Q, a as ke, b as tt, b4 as wo, b9 as So, ax as xe, aZ as oe, ae as ko, b0 as zt, a_ as jt, b1 as Kt, ba as Co } from "./MetaWidget.es.js";
28
+ import { Link as wo } from "react-router-dom";
29
+ import { aY as Q, a as ke, b as tt, b4 as So, b9 as ko, ax as xe, aZ as oe, ae as Co, b0 as zt, a_ as jt, b1 as Kt, ba as Io } from "./MetaWidget.es.js";
30
30
  import "@tanstack/react-table";
31
31
  import "date-fns";
32
32
  import "lexical";
33
33
  import "@lexical/markdown";
34
- import "@lexical/react/LexicalBlockWithAlignableContents";
35
- import "@lexical/react/LexicalDecoratorBlockNode";
36
34
  import "@lexical/code";
37
35
  import "@lexical/list";
38
36
  import "@lexical/rich-text";
39
37
  import "@lexical/selection";
40
38
  import "@lexical/utils";
41
- import { T as Io, E as Eo } from "./EntityPickerDialog.es.js";
42
- import { useDebounce as To } from "primereact/hooks";
43
- import { c as No, a as kn, C as Cn, g as Po } from "./ColumnDropIndicator.es.js";
44
- import { M as _o, D as Do, R as Ao } from "./realtimeUpdatesUtils.es.js";
39
+ import "@lexical/react/LexicalBlockWithAlignableContents";
40
+ import "@lexical/react/LexicalDecoratorBlockNode";
41
+ import { T as Eo, E as To } from "./EntityPickerDialog.es.js";
42
+ import { useDebounce as No } from "primereact/hooks";
43
+ import { c as Po, a as kn, C as Cn, g as _o } from "./ColumnDropIndicator.es.js";
44
+ import { M as Do, D as Ao, R as Oo } from "./realtimeUpdatesUtils.es.js";
45
45
  import "@tanstack/react-virtual";
46
- import { a as Oo } from "./ColumnDropIndicator.styled.es.js";
46
+ import { a as Ro } from "./ColumnDropIndicator.styled.es.js";
47
47
  import { g as In } from "./getEntityTypeIcon.es.js";
48
48
  import "./MenuItem.es.js";
49
49
  import "./EmptyPlaceholder.es.js";
50
- import { M as Lo, a as Ro, c as $o } from "./Menu.es.js";
50
+ import { M as Lo, a as $o, c as Fo } from "./Menu.es.js";
51
51
  import { a as En } from "./VersionUploadContextInstance.es.js";
52
- import { Skeleton as Fo } from "primereact/skeleton";
53
- import Mo from "react-perfect-scrollbar";
54
- import { u as Vo } from "./useCreateContextMenu.es.js";
55
- const Bo = g.div`
52
+ import { Skeleton as Mo } from "primereact/skeleton";
53
+ import Vo from "react-perfect-scrollbar";
54
+ import { u as Bo } from "./useCreateContextMenu.es.js";
55
+ const Uo = g.div`
56
56
  display: flex;
57
57
  width: 100%;
58
58
  height: 100%;
59
59
  gap: 0;
60
60
  padding: ${(e) => e.$padding};
61
- `, Uo = g.div`
61
+ `, Ho = g.div`
62
62
  width: ${(e) => e.$config.width || "15%"};
63
63
  min-width: ${(e) => e.$config.minWidth || "2%"};
64
64
  max-width: ${(e) => e.$config.maxWidth || "600px"};
@@ -66,7 +66,7 @@ const Bo = g.div`
66
66
  flex-shrink: 0;
67
67
  border-radius: 4px;
68
68
  background-color: var(--md-sys-color-surface-container);
69
- `, Ho = g.div`
69
+ `, zo = g.div`
70
70
  display: grid;
71
71
  grid-template-columns: repeat(${(e) => e.$config.columns}, 1fr);
72
72
  grid-template-rows: repeat(${(e) => e.$config.rows}, 1fr);
@@ -74,11 +74,11 @@ const Bo = g.div`
74
74
  flex: 1;
75
75
  padding: 1rem;
76
76
  overflow: auto;
77
- `, zo = g.div`
77
+ `, jo = g.div`
78
78
  border-radius: 4px;
79
79
  min-height: ${(e) => e.$minHeight};
80
80
  background-color: var(--md-sys-color-surface-container);
81
- `, vs = ({
81
+ `, fs = ({
82
82
  showSidebar: e = !0,
83
83
  sidebarConfig: t = {},
84
84
  gridConfig: o = { columns: 3, rows: 3 },
@@ -87,10 +87,10 @@ const Bo = g.div`
87
87
  ...s
88
88
  }) => {
89
89
  const i = o.columns * o.rows;
90
- return /* @__PURE__ */ w(Bo, { $padding: r, ...s, children: [
91
- e && /* @__PURE__ */ n(Uo, { className: "loading", $config: t, ...a?.sidebar }),
92
- /* @__PURE__ */ n(Ho, { $config: o, ...a?.grid, children: Array.from({ length: i }).map((v, f) => /* @__PURE__ */ n(
93
- zo,
90
+ return /* @__PURE__ */ w(Uo, { $padding: r, ...s, children: [
91
+ e && /* @__PURE__ */ n(Ho, { className: "loading", $config: t, ...a?.sidebar }),
92
+ /* @__PURE__ */ n(zo, { $config: o, ...a?.grid, children: Array.from({ length: i }).map((v, f) => /* @__PURE__ */ n(
93
+ jo,
94
94
  {
95
95
  className: "loading",
96
96
  $minHeight: o.itemMinHeight || "200px",
@@ -99,7 +99,7 @@ const Bo = g.div`
99
99
  f
100
100
  )) })
101
101
  ] });
102
- }, fs = g.div`
102
+ }, bs = g.div`
103
103
  position: relative;
104
104
  width: 100%;
105
105
 
@@ -107,7 +107,7 @@ const Bo = g.div`
107
107
  min-height: 32px;
108
108
  max-height: 32px;
109
109
  }
110
- `, bs = g.ul`
110
+ `, ys = g.ul`
111
111
  position: absolute;
112
112
  top: 100%;
113
113
  left: 0;
@@ -136,7 +136,7 @@ const Bo = g.div`
136
136
  .tip {
137
137
  color: var(--md-sys-color-outline);
138
138
  }
139
- `, jo = g.div`
139
+ `, Ko = g.div`
140
140
  display: flex;
141
141
  align-items: center;
142
142
  gap: var(--base-gap-medium);
@@ -180,7 +180,7 @@ const Bo = g.div`
180
180
  padding: 2px;
181
181
  font-size: 20px;
182
182
  }
183
- `, Ko = "__everyone__", Yo = "__guests__", Yt = "group:", Gt = "team:", qt = "user:", Wt = "guest:", Go = g(Y)`
183
+ `, Go = "__everyone__", Yo = "__guests__", Gt = "group:", Yt = "team:", qt = "user:", Wt = "guest:", qo = g(G)`
184
184
  font-size: ${({ $size: e }) => `${e}px`};
185
185
  &.withBackground {
186
186
  display: flex;
@@ -190,7 +190,7 @@ const Bo = g.div`
190
190
  background-color: var(--md-sys-color-surface-container-high);
191
191
  padding: 3px;
192
192
  }
193
- `, qo = ({
193
+ `, Wo = ({
194
194
  shareType: e,
195
195
  name: t,
196
196
  label: o,
@@ -199,9 +199,9 @@ const Bo = g.div`
199
199
  withTooltip: s = !0
200
200
  }) => {
201
201
  let i = e, v = t;
202
- i || (t.startsWith(qt) ? (i = "user", v = t.slice(qt.length)) : t.startsWith(Yt) ? (i = "group", v = t.slice(Yt.length)) : t.startsWith(Gt) ? (i = "team", v = t.slice(Gt.length)) : t.startsWith(Wt) && (i = "guest", v = t.slice(Wt.length)));
202
+ i || (t.startsWith(qt) ? (i = "user", v = t.slice(qt.length)) : t.startsWith(Gt) ? (i = "group", v = t.slice(Gt.length)) : t.startsWith(Yt) ? (i = "team", v = t.slice(Yt.length)) : t.startsWith(Wt) && (i = "guest", v = t.slice(Wt.length)));
203
203
  const f = (c, l) => /* @__PURE__ */ n(
204
- Go,
204
+ qo,
205
205
  {
206
206
  className: J({ withBackground: a }),
207
207
  icon: c,
@@ -210,8 +210,8 @@ const Bo = g.div`
210
210
  $size: a ? r - 6 : r
211
211
  }
212
212
  );
213
- return i === "user" ? /* @__PURE__ */ n(eo, { name: v, fullName: s ? o : void 0, size: r }) : i === "group" ? f("shield_person", "Access group") : i === "team" ? f("groups", "Team") : i === "guest" || t === Yo ? f("badge", "Guest user") : t === Ko ? f("groups", "Everyone with access to the project") : f("person");
214
- }, ys = le(
213
+ return i === "user" ? /* @__PURE__ */ n(to, { name: v, fullName: s ? o : void 0, size: r }) : i === "group" ? f("shield_person", "Access group") : i === "team" ? f("groups", "Team") : i === "guest" || t === Yo ? f("badge", "Guest user") : t === Go ? f("groups", "Everyone with access to the project") : f("person");
214
+ }, xs = le(
215
215
  ({
216
216
  name: e,
217
217
  label: t,
@@ -227,8 +227,8 @@ const Bo = g.div`
227
227
  ...p
228
228
  }, u) => {
229
229
  const y = r === "user" || r === "guest", d = y || v, h = y ? e : r;
230
- return /* @__PURE__ */ w(jo, { ...p, ref: u, className: J(l, { compact: i }), children: [
231
- /* @__PURE__ */ n(qo, { shareType: r, name: e, label: t, icon: o }),
230
+ return /* @__PURE__ */ w(Ko, { ...p, ref: u, className: J(l, { compact: i }), children: [
231
+ /* @__PURE__ */ n(Wo, { shareType: r, name: e, label: t, icon: o }),
232
232
  /* @__PURE__ */ w("span", { className: "title-label", children: [
233
233
  t || e,
234
234
  a ? /* @__PURE__ */ n("span", { className: "name", children: "(you)" }) : d && /* @__PURE__ */ n("span", { className: J("name", { "float-right": v }), children: h }),
@@ -238,7 +238,7 @@ const Bo = g.div`
238
238
  s && /* @__PURE__ */ n("span", { className: "owner", children: "Owner" })
239
239
  ] });
240
240
  }
241
- ), Wo = g.div`
241
+ ), Xo = g.div`
242
242
  display: flex;
243
243
  flex-direction: row;
244
244
  align-items: center;
@@ -248,7 +248,7 @@ const Bo = g.div`
248
248
  input {
249
249
  width: 100%;
250
250
  }
251
- `, Xo = ({ value: e = {}, isMin: t, isFloat: o = !1, onChange: r }) => {
251
+ `, Qo = ({ value: e = {}, isMin: t, isFloat: o = !1, onChange: r }) => {
252
252
  const { le: a, lt: s, ge: i, gt: v } = e, f = i ?? v, c = a ?? s, l = K(null), p = t ? f : c, u = t ? "g" : "l", y = u + "e", d = u + "t", [h, k] = U(e[y] != null || !o);
253
253
  Z(() => {
254
254
  o ? (p !== void 0 && r({ [y]: String(p), [d]: void 0 }), k(!0)) : (r({ [y]: parseInt(String(p))?.toString(), [d]: void 0 }), k(!0));
@@ -260,7 +260,7 @@ const Bo = g.div`
260
260
  const $ = !h;
261
261
  k($), r($ ? { [d]: void 0, [y]: p } : { [d]: p, [y]: void 0 });
262
262
  }, m = t ? "greater" : "less", x = t ? ">" : "<", S = t ? "≥" : "≤", P = `Determines if the value should be '${m} than or equal to' (${S}) or 'strictly ${m} than' (${x}). Currently: ${h ? S : x}`;
263
- return /* @__PURE__ */ w(Wo, { children: [
263
+ return /* @__PURE__ */ w(Xo, { children: [
264
264
  /* @__PURE__ */ n(
265
265
  pn,
266
266
  {
@@ -283,7 +283,7 @@ const Bo = g.div`
283
283
  }
284
284
  )
285
285
  ] });
286
- }, Qo = It`
286
+ }, Jo = It`
287
287
  display: flex;
288
288
  flex-direction: column;
289
289
  align-items: center;
@@ -303,12 +303,12 @@ const Bo = g.div`
303
303
  &:hover {
304
304
  background-color: var(--md-sys-color-surface-container-low-hover);
305
305
  }
306
- `, Jo = g.div`
306
+ `, Zo = g.div`
307
307
  display: flex;
308
308
  flex-direction: column;
309
309
  justify-content: stretch;
310
310
  gap: 4px;
311
- `, Zo = g.div`
311
+ `, er = g.div`
312
312
  justify-content: stretch;
313
313
  border-radius: 4px;
314
314
  overflow: hidden;
@@ -316,7 +316,7 @@ const Bo = g.div`
316
316
  &.dragged {
317
317
  opacity: 0;
318
318
  }
319
- `, er = g.div`
319
+ `, tr = g.div`
320
320
  ${Ot}
321
321
  cursor: pointer;
322
322
  user-select: none;
@@ -357,7 +357,7 @@ const Bo = g.div`
357
357
  .spacer {
358
358
  flex-grow: 1;
359
359
  }
360
- `, tr = g.div`
360
+ `, nr = g.div`
361
361
  display: grid;
362
362
  grid-template-rows: 0fr;
363
363
  overflow: hidden;
@@ -365,8 +365,8 @@ const Bo = g.div`
365
365
  &.expanded {
366
366
  grid-template-rows: 1fr;
367
367
  }
368
- `, nr = g.div`
369
- ${Qo}
368
+ `, or = g.div`
369
+ ${Jo}
370
370
  align-items: stretch;
371
371
  padding: 0 8px;
372
372
  min-height: 0;
@@ -386,11 +386,11 @@ const Bo = g.div`
386
386
  `, Xt = g.div`
387
387
  ${Ot}
388
388
  gap: 4px;
389
- `, or = g.div`
389
+ `, rr = g.div`
390
390
  border-radius: 4px;
391
391
  width: 14px;
392
392
  height: 14px;
393
- `, rr = g(Jn)`
393
+ `, ir = g(Zn)`
394
394
  flex-grow: 1;
395
395
  width: 100%;
396
396
  button div {
@@ -421,7 +421,7 @@ const Bo = g.div`
421
421
  width: 100%;
422
422
  padding-left: 8px;
423
423
  user-select: none;
424
- `, ir = g(Nn)`
424
+ `, ar = g(Nn)`
425
425
  ${Tn}
426
426
  position: relative;
427
427
  cursor: pointer;
@@ -432,7 +432,7 @@ const Bo = g.div`
432
432
  position: absolute;
433
433
  visibility: hidden;
434
434
  }
435
- `, ar = ({
435
+ `, sr = ({
436
436
  item: e,
437
437
  onChange: t,
438
438
  onCommit: o,
@@ -452,7 +452,7 @@ const Bo = g.div`
452
452
  }, [v, e.isNewAttribute]), Z(() => {
453
453
  f && !v && !e.isNewAttribute && setTimeout(() => C.current?.focus(), 250);
454
454
  }, [f, v, e.isNewAttribute]), /* @__PURE__ */ w(
455
- nr,
455
+ or,
456
456
  {
457
457
  ...l?.wrapper,
458
458
  ...p,
@@ -524,7 +524,7 @@ const Bo = g.div`
524
524
  }
525
525
  ),
526
526
  /* @__PURE__ */ n(
527
- rr,
527
+ ir,
528
528
  {
529
529
  ref: x,
530
530
  value: [d || "question_mark"],
@@ -557,7 +557,7 @@ const Bo = g.div`
557
557
  /* @__PURE__ */ n(Ve, { ...l?.color?.label, children: "Color" }),
558
558
  /* @__PURE__ */ w(Jt, { style: { position: "relative" }, children: [
559
559
  /* @__PURE__ */ w(
560
- ir,
560
+ ar,
561
561
  {
562
562
  className: h ? "active" : "",
563
563
  style: { backgroundColor: h || void 0 },
@@ -617,7 +617,7 @@ const Bo = g.div`
617
617
  transform: Je.Translate.toString(k)
618
618
  };
619
619
  return /* @__PURE__ */ w(
620
- Zo,
620
+ er,
621
621
  {
622
622
  ref: h,
623
623
  style: b,
@@ -626,7 +626,7 @@ const Bo = g.div`
626
626
  className: J(v.className, i?.wrapper?.className, { dragged: t }),
627
627
  children: [
628
628
  /* @__PURE__ */ w(
629
- er,
629
+ tr,
630
630
  {
631
631
  ...i?.header,
632
632
  onClick: () => {
@@ -634,17 +634,17 @@ const Bo = g.div`
634
634
  },
635
635
  className: J(i?.header?.className, { expanded: u }),
636
636
  children: [
637
- p && /* @__PURE__ */ n(or, { style: { backgroundColor: p } }),
638
- l && /* @__PURE__ */ n(Y, { className: "icon", icon: l }),
637
+ p && /* @__PURE__ */ n(rr, { style: { backgroundColor: p } }),
638
+ l && /* @__PURE__ */ n(G, { className: "icon", icon: l }),
639
639
  /* @__PURE__ */ w("span", { children: [
640
640
  " ",
641
641
  c,
642
642
  " "
643
643
  ] }),
644
644
  /* @__PURE__ */ n("span", { className: "spacer" }),
645
- /* @__PURE__ */ n(Y, { className: "icon toggle-expand", icon: u ? "collapse_all" : "expand_all" }),
645
+ /* @__PURE__ */ n(G, { className: "icon toggle-expand", icon: u ? "collapse_all" : "expand_all" }),
646
646
  /* @__PURE__ */ n(
647
- Y,
647
+ G,
648
648
  {
649
649
  ...d,
650
650
  ...y,
@@ -656,8 +656,8 @@ const Bo = g.div`
656
656
  ]
657
657
  }
658
658
  ),
659
- /* @__PURE__ */ n(tr, { className: J({ expanded: u }), children: /* @__PURE__ */ n(
660
- ar,
659
+ /* @__PURE__ */ n(nr, { className: J({ expanded: u }), children: /* @__PURE__ */ n(
660
+ sr,
661
661
  {
662
662
  item: e,
663
663
  onChange: o,
@@ -674,7 +674,7 @@ const Bo = g.div`
674
674
  ]
675
675
  }
676
676
  );
677
- }, sr = ({
677
+ }, lr = ({
678
678
  creator: e,
679
679
  initialData: t,
680
680
  onChange: o,
@@ -695,7 +695,7 @@ const Bo = g.div`
695
695
  }, [t, s, a]), {
696
696
  items: i,
697
697
  handleAddItem: (h) => {
698
- f([...i, { ...e(), ...h, id: Ye() }]);
698
+ f([...i, { ...e(), ...h, id: Ge() }]);
699
699
  },
700
700
  handleRemoveItem: (h) => () => {
701
701
  f([...i.slice(0, h), ...i.slice(h + 1)]);
@@ -714,7 +714,7 @@ const Bo = g.div`
714
714
  handleDuplicateItem: (h, k) => {
715
715
  f([
716
716
  ...i.slice(0, h + 1),
717
- { ...i[h], id: Ye(), ...k },
717
+ { ...i[h], id: Ge(), ...k },
718
718
  ...i.slice(h + 1)
719
719
  ]);
720
720
  },
@@ -743,20 +743,20 @@ const Bo = g.div`
743
743
  for (; t.includes(v); )
744
744
  v = i + o + s++;
745
745
  return v;
746
- }, lr = () => ({
747
- id: Ye(),
746
+ }, cr = () => ({
747
+ id: Ge(),
748
748
  isExpanded: !0,
749
749
  label: "",
750
750
  value: "",
751
751
  isLabelFocused: !0,
752
752
  isNewAttribute: !1
753
- }), cr = (e) => e.filter((t) => t.label !== "" && t.value !== "").map(({ label: t, value: o, icon: r, color: a }) => ({
753
+ }), dr = (e) => e.filter((t) => t.label !== "" && t.value !== "").map(({ label: t, value: o, icon: r, color: a }) => ({
754
754
  label: t,
755
755
  value: o,
756
756
  icon: r || void 0,
757
757
  color: a || void 0
758
- })), dr = (e) => e.map(({ label: t, value: o, icon: r, color: a }) => ({
759
- id: Ye(),
758
+ })), ur = (e) => e.map(({ label: t, value: o, icon: r, color: a }) => ({
759
+ id: Ge(),
760
760
  isExpanded: !1,
761
761
  label: t,
762
762
  value: o.toString(),
@@ -764,7 +764,7 @@ const Bo = g.div`
764
764
  color: a,
765
765
  isLabelFocused: !1,
766
766
  isNewAttribute: !1
767
- })), ur = (e, t) => t.map((o, r) => {
767
+ })), pr = (e, t) => t.map((o, r) => {
768
768
  const a = e[r];
769
769
  return a ? {
770
770
  ...o,
@@ -773,7 +773,7 @@ const Bo = g.div`
773
773
  isLabelFocused: a.isLabelFocused,
774
774
  isNewAttribute: a.isNewAttribute
775
775
  } : o;
776
- }), pr = ({ values: e, onChange: t, onCommit: o, pt: r, ...a }) => {
776
+ }), mr = ({ values: e, onChange: t, onCommit: o, pt: r, ...a }) => {
777
777
  if (!e)
778
778
  return null;
779
779
  const {
@@ -784,20 +784,20 @@ const Bo = g.div`
784
784
  handleCommitItem: c,
785
785
  handleDuplicateItem: l,
786
786
  handleDraggableEnd: p
787
- } = sr({
788
- creator: lr,
789
- initialData: dr(e),
787
+ } = lr({
788
+ creator: cr,
789
+ initialData: ur(e),
790
790
  onChange: t,
791
791
  onCommit: o,
792
- normalizer: cr,
793
- mergeIncomingData: ur
792
+ normalizer: dr,
793
+ mergeIncomingData: pr
794
794
  }), u = (C) => {
795
795
  h(C.active.id);
796
796
  }, y = (C) => {
797
797
  h(null), p(C);
798
798
  }, [d, h] = U();
799
799
  let k;
800
- return d && (k = s.find((C) => C.id === d)), /* @__PURE__ */ n(me, { children: /* @__PURE__ */ w(Jo, { ...a, children: [
800
+ return d && (k = s.find((C) => C.id === d)), /* @__PURE__ */ n(me, { children: /* @__PURE__ */ w(Zo, { ...a, children: [
801
801
  /* @__PURE__ */ w(
802
802
  We,
803
803
  {
@@ -805,7 +805,7 @@ const Bo = g.div`
805
805
  onDragStart: u,
806
806
  onDragEnd: y,
807
807
  children: [
808
- /* @__PURE__ */ n(Oe, { items: s, strategy: Le, children: s.map((C, b) => /* @__PURE__ */ n(
808
+ /* @__PURE__ */ n(Oe, { items: s, strategy: Re, children: s.map((C, b) => /* @__PURE__ */ n(
809
809
  Zt,
810
810
  {
811
811
  item: C,
@@ -851,7 +851,7 @@ const Bo = g.div`
851
851
  }
852
852
  )
853
853
  ] }) });
854
- }, Pn = ({ icon: e, color: t, reserveSpace: o }) => oo(e) ? /* @__PURE__ */ n("img", { src: e, alt: "" }) : e ? /* @__PURE__ */ n(Y, { icon: e, style: { color: t } }) : o ? /* @__PURE__ */ n("span", { className: "icon-slot" }) : null, nt = g.div`
854
+ }, Pn = ({ icon: e, color: t, reserveSpace: o }) => ro(e) ? /* @__PURE__ */ n("img", { src: e, alt: "" }) : e ? /* @__PURE__ */ n(G, { icon: e, style: { color: t } }) : o ? /* @__PURE__ */ n("span", { className: "icon-slot" }) : null, nt = g.div`
855
855
  display: flex;
856
856
  align-items: center;
857
857
  gap: var(--base-gap-small);
@@ -876,12 +876,12 @@ const Bo = g.div`
876
876
  flex: none;
877
877
  width: 20px;
878
878
  }
879
- `, mr = 8, _n = 10, gr = g.div`
879
+ `, gr = 8, _n = 10, hr = g.div`
880
880
  display: flex;
881
881
  gap: var(--base-gap-large);
882
882
  flex: 1;
883
883
  min-height: 0;
884
- `, hr = g.div`
884
+ `, vr = g.div`
885
885
  display: flex;
886
886
  flex-direction: column;
887
887
  gap: var(--base-gap-large);
@@ -907,15 +907,15 @@ const Bo = g.div`
907
907
  font-weight: 500;
908
908
  color: var(--md-sys-color-outline);
909
909
  padding: 4px 0;
910
- `, vr = g.div`
910
+ `, fr = g.div`
911
911
  display: flex;
912
912
  flex-direction: column;
913
913
  gap: var(--base-gap-large);
914
914
  flex: 1;
915
915
  min-width: 0;
916
- `, fr = g.span`
916
+ `, br = g.span`
917
917
  color: var(--md-sys-color-outline);
918
- `, br = g.div`
918
+ `, yr = g.div`
919
919
  display: flex;
920
920
  flex-direction: column;
921
921
  gap: var(--base-gap-large);
@@ -925,7 +925,7 @@ const Bo = g.div`
925
925
  padding: var(--padding-m);
926
926
  border-radius: var(--border-radius-m);
927
927
  background-color: var(--md-sys-color-surface-container);
928
- `, yr = g(nt)`
928
+ `, xr = g(nt)`
929
929
  .value {
930
930
  margin-left: auto;
931
931
  flex: none;
@@ -934,7 +934,7 @@ const Bo = g.div`
934
934
  }
935
935
  `, we = g.span`
936
936
  color: var(--md-sys-color-outline);
937
- `, xr = ({ value: e, onChange: t }) => {
937
+ `, wr = ({ value: e, onChange: t }) => {
938
938
  const { projects: o } = wn(), r = o.active.map((a) => ({
939
939
  value: a.name,
940
940
  label: a.label || a.name
@@ -952,7 +952,7 @@ const Bo = g.div`
952
952
  }
953
953
  );
954
954
  }, Dn = ({ value: e, onChange: t }) => {
955
- const { data: o = [], isLoading: r } = lo({}), a = o.map((s) => ({
955
+ const { data: o = [], isLoading: r } = co({}), a = o.map((s) => ({
956
956
  value: s.name,
957
957
  label: s.fullName || s.name
958
958
  }));
@@ -968,10 +968,10 @@ const Bo = g.div`
968
968
  widthExpand: !0
969
969
  }
970
970
  );
971
- }, wr = {
972
- project_name: xr,
971
+ }, Sr = {
972
+ project_name: wr,
973
973
  user: Dn
974
- }, Sr = ["label", (e) => String(e.value), "description", "fulltext"], kr = ({ resolver: e, settings: t, onClose: o }) => {
974
+ }, kr = ["label", (e) => String(e.value), "description", "fulltext"], Cr = ({ resolver: e, settings: t, onClose: o }) => {
975
975
  const [r, a] = U({}), [s, i] = U(t), [v, f] = U(""), { user: c } = wn(), l = e.settingsForm || [], p = new Set(l.map((T) => T.name)), u = e.acceptedParams || {}, y = !!c?.data?.isAdmin, d = Object.keys(u).filter(
976
976
  (T) => !p.has(T) && (T !== "user" || y)
977
977
  ), h = y && !("user" in u), k = X(
@@ -981,7 +981,7 @@ const Bo = g.div`
981
981
  data: C,
982
982
  isFetching: b,
983
983
  isError: m
984
- } = ro({
984
+ } = io({
985
985
  enumName: e.name,
986
986
  params: k
987
987
  }), x = X(
@@ -992,7 +992,7 @@ const Bo = g.div`
992
992
  [C]
993
993
  ), S = m || !!C?.error, P = v.trim(), $ = X(
994
994
  () => P ? Ht(x, P, {
995
- keys: Sr,
995
+ keys: kr,
996
996
  threshold: Ht.rankings.CONTAINS
997
997
  }) : x,
998
998
  [x, P]
@@ -1007,19 +1007,19 @@ const Bo = g.div`
1007
1007
  }
1008
1008
  ) }),
1009
1009
  d.map((T) => {
1010
- const V = Ut(T) ? wr[T] : void 0;
1010
+ const V = Ut(T) ? Sr[T] : void 0;
1011
1011
  return /* @__PURE__ */ n(te, { label: T, children: V && Ut(T) ? /* @__PURE__ */ n(
1012
1012
  V,
1013
1013
  {
1014
1014
  value: r[T],
1015
- onChange: (F) => a((R) => ({ ...R, [T]: F }))
1015
+ onChange: (F) => a((L) => ({ ...L, [T]: F }))
1016
1016
  }
1017
1017
  ) : /* @__PURE__ */ n(we, { children: "Not supported in debug." }) }, T);
1018
1018
  })
1019
1019
  ] }), z = () => {
1020
1020
  if (b)
1021
- return Array.from({ length: mr }).map((T, V) => /* @__PURE__ */ n(nt, { className: "loading" }, V));
1022
- if (S) return /* @__PURE__ */ n(we, { children: io(C?.error) });
1021
+ return Array.from({ length: gr }).map((T, V) => /* @__PURE__ */ n(nt, { className: "loading" }, V));
1022
+ if (S) return /* @__PURE__ */ n(we, { children: ao(C?.error) });
1023
1023
  if (!x.length) {
1024
1024
  const T = "project_name" in (e.acceptedParams || {}) && !r.project_name ? " Try selecting a project." : "";
1025
1025
  return /* @__PURE__ */ w(we, { children: [
@@ -1027,7 +1027,7 @@ const Bo = g.div`
1027
1027
  T
1028
1028
  ] });
1029
1029
  }
1030
- return $.length ? $.map((T) => /* @__PURE__ */ w(yr, { title: T.description, children: [
1030
+ return $.length ? $.map((T) => /* @__PURE__ */ w(xr, { title: T.description, children: [
1031
1031
  /* @__PURE__ */ n(Pn, { icon: T.icon, color: T.color, reserveSpace: N }),
1032
1032
  /* @__PURE__ */ n("span", { className: "label", children: T.label }),
1033
1033
  /* @__PURE__ */ n("span", { className: "value", children: String(T.value) })
@@ -1046,8 +1046,8 @@ const Bo = g.div`
1046
1046
  size: "full",
1047
1047
  style: { width: "95vw", maxWidth: "95vw", height: "95vh", maxHeight: "95vh" },
1048
1048
  onKeyDown: B,
1049
- children: /* @__PURE__ */ w(gr, { children: [
1050
- /* @__PURE__ */ w(hr, { children: [
1049
+ children: /* @__PURE__ */ w(hr, { children: [
1050
+ /* @__PURE__ */ w(vr, { children: [
1051
1051
  /* @__PURE__ */ w(pt, { children: [
1052
1052
  /* @__PURE__ */ n(mt, { children: "Context Params" }),
1053
1053
  O()
@@ -1058,10 +1058,10 @@ const Bo = g.div`
1058
1058
  ] }),
1059
1059
  /* @__PURE__ */ w(pt, { children: [
1060
1060
  /* @__PURE__ */ n(mt, { children: "Enum Resolver Data" }),
1061
- /* @__PURE__ */ n(fo, { value: e, wrap: !0 })
1061
+ /* @__PURE__ */ n(bo, { value: e, wrap: !0 })
1062
1062
  ] })
1063
1063
  ] }),
1064
- /* @__PURE__ */ w(vr, { children: [
1064
+ /* @__PURE__ */ w(fr, { children: [
1065
1065
  /* @__PURE__ */ n(
1066
1066
  Ae,
1067
1067
  {
@@ -1071,21 +1071,21 @@ const Bo = g.div`
1071
1071
  autoFocus: !0
1072
1072
  }
1073
1073
  ),
1074
- !b && !S && x.length > 0 && /* @__PURE__ */ n(fr, { children: P ? `${$.length} of ${x.length} ${x.length === 1 ? "item" : "items"}` : `${x.length} ${x.length === 1 ? "item" : "items"}` }),
1075
- /* @__PURE__ */ n(br, { children: z() })
1074
+ !b && !S && x.length > 0 && /* @__PURE__ */ n(br, { children: P ? `${$.length} of ${x.length} ${x.length === 1 ? "item" : "items"}` : `${x.length} ${x.length === 1 ? "item" : "items"}` }),
1075
+ /* @__PURE__ */ n(yr, { children: z() })
1076
1076
  ] })
1077
1077
  ] })
1078
1078
  }
1079
1079
  );
1080
- }, Ue = "__custom__", gt = 5, Cr = [], Ir = "No preview items found.", Er = 5, Tr = {
1080
+ }, Ue = "__custom__", gt = 5, Ir = [], Er = "No preview items found.", Tr = 5, Nr = {
1081
1081
  project_name: "The select options will change based on the project it is used in.",
1082
1082
  user: "The select options will change based on the current user."
1083
- }, Nr = g.div`
1083
+ }, Pr = g.div`
1084
1084
  display: flex;
1085
1085
  flex-direction: column;
1086
1086
  gap: var(--base-gap-large);
1087
1087
  flex: 1;
1088
- `, Ge = g.span`
1088
+ `, Ye = g.span`
1089
1089
  color: var(--md-sys-color-outline);
1090
1090
  white-space: pre-line;
1091
1091
  `, He = g.div`
@@ -1095,7 +1095,7 @@ const Bo = g.div`
1095
1095
  padding: var(--padding-m);
1096
1096
  border-radius: var(--border-radius-m);
1097
1097
  background-color: var(--md-sys-color-surface-container);
1098
- `, Pr = g.button`
1098
+ `, _r = g.button`
1099
1099
  display: flex;
1100
1100
  align-items: center;
1101
1101
  align-self: flex-start;
@@ -1111,7 +1111,7 @@ const Bo = g.div`
1111
1111
  color: var(--md-sys-color-on-surface);
1112
1112
  text-decoration: underline;
1113
1113
  }
1114
- `, _r = g(no)`
1114
+ `, Dr = g(oo)`
1115
1115
  cursor: pointer;
1116
1116
  padding: var(--padding-s) var(--padding-m);
1117
1117
 
@@ -1122,7 +1122,7 @@ const Bo = g.div`
1122
1122
  &:hover {
1123
1123
  filter: brightness(1.15);
1124
1124
  }
1125
- `, Dr = g(nt)`
1125
+ `, Ar = g(nt)`
1126
1126
  &:nth-child(2n) {
1127
1127
  width: 80%;
1128
1128
  }
@@ -1130,7 +1130,7 @@ const Bo = g.div`
1130
1130
  &:last-of-type {
1131
1131
  width: 64px;
1132
1132
  }
1133
- `, Ar = ({
1133
+ `, Or = ({
1134
1134
  resolver: e,
1135
1135
  acceptedParams: t,
1136
1136
  settings: o,
@@ -1139,19 +1139,19 @@ const Bo = g.div`
1139
1139
  const a = X(
1140
1140
  () => ({ enumResolver: e, enumResolverSettings: o }),
1141
1141
  [e, o]
1142
- ), { options: s, isLoading: i, isError: v, errorMessage: f } = go(a), c = fn(s), l = yn(t);
1142
+ ), { options: s, isLoading: i, isError: v, errorMessage: f } = ho(a), c = fn(s), l = yn(t);
1143
1143
  if (i)
1144
- return /* @__PURE__ */ n(He, { children: Array.from({ length: gt + 1 }).map((d, h) => /* @__PURE__ */ n(Dr, { className: "loading" }, h)) });
1144
+ return /* @__PURE__ */ n(He, { children: Array.from({ length: gt + 1 }).map((d, h) => /* @__PURE__ */ n(Ar, { className: "loading" }, h)) });
1145
1145
  if (v)
1146
- return /* @__PURE__ */ n(He, { children: /* @__PURE__ */ w(Ge, { children: [
1146
+ return /* @__PURE__ */ n(He, { children: /* @__PURE__ */ w(Ye, { children: [
1147
1147
  'Could not load options for "',
1148
1148
  e,
1149
1149
  '"',
1150
1150
  f ? `: ${f}` : "."
1151
1151
  ] }) });
1152
1152
  if (!c.length)
1153
- return /* @__PURE__ */ n(He, { children: /* @__PURE__ */ w(Ge, { children: [
1154
- Ir,
1153
+ return /* @__PURE__ */ n(He, { children: /* @__PURE__ */ w(Ye, { children: [
1154
+ Er,
1155
1155
  l.length > 0 && ` This could be because in context parameters (${l.join(
1156
1156
  ", "
1157
1157
  )}) are required to get the items.`
@@ -1162,13 +1162,13 @@ const Bo = g.div`
1162
1162
  /* @__PURE__ */ n(Pn, { icon: h, color: d.color, reserveSpace: y }),
1163
1163
  /* @__PURE__ */ n("span", { className: "label", children: d.label })
1164
1164
  ] }, String(d.value))),
1165
- p > 0 && /* @__PURE__ */ w(Pr, { type: "button", onClick: r, children: [
1165
+ p > 0 && /* @__PURE__ */ w(_r, { type: "button", onClick: r, children: [
1166
1166
  "+",
1167
1167
  p,
1168
1168
  " more"
1169
1169
  ] })
1170
1170
  ] });
1171
- }, Or = ({
1171
+ }, Rr = ({
1172
1172
  enumValues: e,
1173
1173
  enumResolver: t,
1174
1174
  enumResolverSettings: o,
@@ -1176,14 +1176,14 @@ const Bo = g.div`
1176
1176
  onChangeResolver: a,
1177
1177
  onChangeResolverSettings: s
1178
1178
  }) => {
1179
- const { data: i = [], isLoading: v, isError: f } = ao(), [c, l] = U(!1), p = () => l(!0), u = [
1179
+ const { data: i = [], isLoading: v, isError: f } = so(), [c, l] = U(!1), p = () => l(!0), u = [
1180
1180
  { value: Ue, label: "Custom" },
1181
1181
  ...i.map((m) => ({
1182
1182
  value: m.name,
1183
1183
  label: m.label || Tt(m.name)
1184
1184
  }))
1185
- ], y = t || Ue, d = i.find((m) => m.name === t), h = d?.settingsForm || Cr, k = o || {}, C = yn(d?.acceptedParams).map((m) => Tr[m]).join(" ");
1186
- return /* @__PURE__ */ w(Nr, { children: [
1185
+ ], y = t || Ue, d = i.find((m) => m.name === t), h = d?.settingsForm || Ir, k = o || {}, C = yn(d?.acceptedParams).map((m) => Nr[m]).join(" ");
1186
+ return /* @__PURE__ */ w(Pr, { children: [
1187
1187
  /* @__PURE__ */ n(
1188
1188
  pe,
1189
1189
  {
@@ -1195,25 +1195,25 @@ const Bo = g.div`
1195
1195
  },
1196
1196
  disabled: v || f,
1197
1197
  minSelected: 1,
1198
- searchOnNumber: Er,
1198
+ searchOnNumber: Tr,
1199
1199
  widthExpand: !0
1200
1200
  }
1201
1201
  ),
1202
1202
  y === Ue ? /* @__PURE__ */ n(
1203
- pr,
1203
+ mr,
1204
1204
  {
1205
1205
  values: e || [],
1206
1206
  onChange: (m) => r(m?.length ? m : void 0)
1207
1207
  }
1208
1208
  ) : /* @__PURE__ */ w(me, { children: [
1209
- !v && !d && /* @__PURE__ */ w(Ge, { children: [
1209
+ !v && !d && /* @__PURE__ */ w(Ye, { children: [
1210
1210
  'Resolver "',
1211
1211
  t,
1212
1212
  '" is not available on this server. Options will be empty.'
1213
1213
  ] }),
1214
- d?.description && /* @__PURE__ */ n(Ge, { children: d.description }),
1214
+ d?.description && /* @__PURE__ */ n(Ye, { children: d.description }),
1215
1215
  C && /* @__PURE__ */ n(
1216
- _r,
1216
+ Dr,
1217
1217
  {
1218
1218
  message: C,
1219
1219
  role: "button",
@@ -1235,7 +1235,7 @@ const Bo = g.div`
1235
1235
  ),
1236
1236
  d && /* @__PURE__ */ w(me, { children: [
1237
1237
  /* @__PURE__ */ n(
1238
- Ar,
1238
+ Or,
1239
1239
  {
1240
1240
  resolver: d.name,
1241
1241
  acceptedParams: d.acceptedParams,
@@ -1255,7 +1255,7 @@ const Bo = g.div`
1255
1255
  )
1256
1256
  ] }),
1257
1257
  c && d && /* @__PURE__ */ n(
1258
- kr,
1258
+ Cr,
1259
1259
  {
1260
1260
  resolver: d,
1261
1261
  settings: k,
@@ -1293,7 +1293,7 @@ const Bo = g.div`
1293
1293
  number: ["ge", "gt", "le", "lt"],
1294
1294
  checkbox: [],
1295
1295
  datetime: []
1296
- }, Rr = {
1296
+ }, $r = {
1297
1297
  checkbox: ["example"]
1298
1298
  }, wt = (e, t, o) => {
1299
1299
  switch (e) {
@@ -1311,7 +1311,7 @@ const Bo = g.div`
1311
1311
  default:
1312
1312
  return "text";
1313
1313
  }
1314
- }, $r = (e, t) => {
1314
+ }, Fr = (e, t) => {
1315
1315
  switch (e) {
1316
1316
  case "text":
1317
1317
  return "string";
@@ -1324,24 +1324,24 @@ const Bo = g.div`
1324
1324
  case "datetime":
1325
1325
  return "datetime";
1326
1326
  }
1327
- }, Fr = [
1327
+ }, Mr = [
1328
1328
  "string",
1329
1329
  "integer",
1330
1330
  "float",
1331
1331
  "boolean",
1332
1332
  "datetime",
1333
1333
  "list_of_strings"
1334
- ], xs = (e, t, o) => {
1335
- if (!e || !Fr.includes(e)) return e ?? "";
1334
+ ], ws = (e, t, o) => {
1335
+ if (!e || !Mr.includes(e)) return e ?? "";
1336
1336
  if (e === "list_of_strings") return "Select (multiple)";
1337
1337
  const r = wt(e, t, o);
1338
1338
  return Ke.find((a) => a.value === r)?.label ?? e;
1339
- }, Mr = g.div`
1339
+ }, Vr = g.div`
1340
1340
  display: flex;
1341
1341
  flex-direction: row;
1342
1342
  gap: var(--base-gap-large);
1343
1343
  align-items: center;
1344
- `, Vr = /^[a-zA-Z0-9]{2,64}$/, Br = [
1344
+ `, Br = /^[a-zA-Z0-9]{2,64}$/, Ur = [
1345
1345
  { value: "project", label: "Project" },
1346
1346
  { value: "folder", label: "Folder" },
1347
1347
  { value: "task", label: "Task" },
@@ -1350,7 +1350,7 @@ const Bo = g.div`
1350
1350
  { value: "representation", label: "Representation" },
1351
1351
  { value: "user", label: "User" },
1352
1352
  { value: "list", label: "List" }
1353
- ], Ur = [
1353
+ ], Hr = [
1354
1354
  { value: "description", scope: null },
1355
1355
  { value: "example", scope: null },
1356
1356
  { value: "default", scope: ["project"] },
@@ -1358,7 +1358,7 @@ const Bo = g.div`
1358
1358
  value: "inherit",
1359
1359
  scope: ["project", "folder", "task", "product", "version", "representation", "user"]
1360
1360
  }
1361
- ], Hr = {
1361
+ ], zr = {
1362
1362
  name: "",
1363
1363
  scope: ["folder", "task"],
1364
1364
  builtin: !1,
@@ -1383,8 +1383,8 @@ const Bo = g.div`
1383
1383
  le: void 0,
1384
1384
  lt: void 0
1385
1385
  }
1386
- }, zr = (e, t) => {
1387
- const o = JSON.parse(JSON.stringify(Hr)), r = ["name"];
1386
+ }, jr = (e, t) => {
1387
+ const o = JSON.parse(JSON.stringify(zr)), r = ["name"];
1388
1388
  Object.keys(o).forEach((s) => {
1389
1389
  !r.includes(s) && e.includes(s) && s !== "data" && delete o[s];
1390
1390
  });
@@ -1395,7 +1395,7 @@ const Bo = g.div`
1395
1395
  const i = s;
1396
1396
  i === "data" && t.data && o.data ? o.data = { ...o.data, ...t.data } : t[i] !== void 0 && (o[i] = t[i]);
1397
1397
  }), o;
1398
- }, ws = ({
1398
+ }, Ss = ({
1399
1399
  attribute: e,
1400
1400
  defaultData: t,
1401
1401
  existingNames: o,
@@ -1409,7 +1409,7 @@ const Bo = g.div`
1409
1409
  const c = t ? {
1410
1410
  ...t,
1411
1411
  name: t.name || (t.data?.title ? ut(t.data.title) : void 0)
1412
- } : void 0, l = e || zr(s, {
1412
+ } : void 0, l = e || jr(s, {
1413
1413
  position: o.length,
1414
1414
  ...c
1415
1415
  }), [p, u] = U(l), [y, d] = U(
@@ -1421,17 +1421,17 @@ const Bo = g.div`
1421
1421
  ), k(e.data?.type === "float"));
1422
1422
  }, [e]);
1423
1423
  const C = !e, b = (I, _) => {
1424
- u((L) => L && { ...L, [I]: _ });
1424
+ u((R) => R && { ...R, [I]: _ });
1425
1425
  }, m = (I, _) => {
1426
- u((L) => {
1427
- if (!L || !L.data)
1428
- return L;
1429
- const M = { ...L.data, [I]: _ };
1430
- return { ...L, data: M };
1426
+ u((R) => {
1427
+ if (!R || !R.data)
1428
+ return R;
1429
+ const M = { ...R.data, [I]: _ };
1430
+ return { ...R, data: M };
1431
1431
  });
1432
1432
  };
1433
1433
  let x = "";
1434
- p && C && (o.includes(p.name) ? x = "This attribute already exists" : Vr.test(p.name) || (x = "Invalid attribute name: use 2-64 letters or digits, no spaces or symbols"));
1434
+ p && C && (o.includes(p.name) ? x = "This attribute already exists" : Br.test(p.name) || (x = "Invalid attribute name: use 2-64 letters or digits, no spaces or symbols"));
1435
1435
  const S = () => {
1436
1436
  p && v(p);
1437
1437
  }, P = /* @__PURE__ */ w("div", { style: { display: "flex", width: "100%", flexDirection: "row" }, children: [
@@ -1459,38 +1459,38 @@ const Bo = g.div`
1459
1459
  )
1460
1460
  ] });
1461
1461
  let $ = [];
1462
- Ur.forEach((I) => {
1462
+ Hr.forEach((I) => {
1463
1463
  (!I?.scope || I?.scope?.some((_) => p?.scope?.includes(_))) && $.push(I.value);
1464
1464
  });
1465
1465
  const N = [
1466
1466
  ...Lr[y] ?? [],
1467
1467
  ...y === "select" && p?.data?.type === "list_of_strings" ? ["minItems", "maxItems"] : []
1468
- ], B = Rr[y] ?? [];
1468
+ ], B = $r[y] ?? [];
1469
1469
  $ = [...$, ...N].filter((I) => !B.includes(I));
1470
1470
  const O = {
1471
1471
  enum: (I = [], _) => /* @__PURE__ */ n(
1472
- Or,
1472
+ Rr,
1473
1473
  {
1474
1474
  enumValues: I,
1475
1475
  enumResolver: p?.data?.enumResolver,
1476
1476
  enumResolverSettings: p?.data?.enumResolverSettings,
1477
1477
  onChangeEnum: _,
1478
1478
  onChangeResolver: z,
1479
- onChangeResolverSettings: (L) => m("enumResolverSettings", L)
1479
+ onChangeResolverSettings: (R) => m("enumResolverSettings", R)
1480
1480
  }
1481
1481
  ),
1482
1482
  inherit: (I, _) => /* @__PURE__ */ n(
1483
1483
  De,
1484
1484
  {
1485
1485
  checked: I,
1486
- onChange: (L) => _(L.target.checked)
1486
+ onChange: (R) => _(R.target.checked)
1487
1487
  }
1488
1488
  ),
1489
1489
  booleanDefault: (I, _) => /* @__PURE__ */ n(
1490
1490
  De,
1491
1491
  {
1492
1492
  checked: I,
1493
- onChange: (L) => _(L.target.checked)
1493
+ onChange: (R) => _(R.target.checked)
1494
1494
  }
1495
1495
  )
1496
1496
  }, z = (I) => {
@@ -1500,8 +1500,8 @@ const Bo = g.div`
1500
1500
  m("title", _), C && b("name", ut(_));
1501
1501
  }, V = (I) => {
1502
1502
  const _ = I[0];
1503
- d(_), m("type", $r(_, h)), _ !== "select" && (m("enum", void 0), m("enumResolver", void 0), m("enumResolverSettings", void 0), m("minItems", void 0), m("maxItems", void 0)), _ !== "text" && p?.data?.regex && m("regex", ""), m("widget", void 0);
1504
- }, R = Ke.find((I) => I.value === y)?.widgets;
1503
+ d(_), m("type", Fr(_, h)), _ !== "select" && (m("enum", void 0), m("enumResolver", void 0), m("enumResolverSettings", void 0), m("minItems", void 0), m("maxItems", void 0)), _ !== "text" && p?.data?.regex && m("regex", ""), m("widget", void 0);
1504
+ }, L = Ke.find((I) => I.value === y)?.widgets;
1505
1505
  return /* @__PURE__ */ n(
1506
1506
  qe,
1507
1507
  {
@@ -1518,7 +1518,7 @@ const Bo = g.div`
1518
1518
  children: p && /* @__PURE__ */ w(Et, { children: [
1519
1519
  !s.includes("title") && /* @__PURE__ */ n(te, { label: "Title", children: /* @__PURE__ */ n(Ae, { value: p?.data.title, onChange: T, autoFocus: !0 }) }, "title"),
1520
1520
  !s.includes("name") && /* @__PURE__ */ n(te, { label: "Name", children: /* @__PURE__ */ n(
1521
- Zn,
1521
+ eo,
1522
1522
  {
1523
1523
  value: p.name,
1524
1524
  disabled: !C,
@@ -1529,7 +1529,7 @@ const Bo = g.div`
1529
1529
  !s.includes("scope") && /* @__PURE__ */ n(te, { label: "Scope", children: /* @__PURE__ */ n(
1530
1530
  pe,
1531
1531
  {
1532
- options: Br,
1532
+ options: Ur,
1533
1533
  disabled: p.builtin,
1534
1534
  value: p.scope || [],
1535
1535
  onChange: (I) => b("scope", I),
@@ -1537,7 +1537,7 @@ const Bo = g.div`
1537
1537
  widthExpand: !0
1538
1538
  }
1539
1539
  ) }),
1540
- !s.includes("type") && /* @__PURE__ */ n(te, { label: "Type", children: /* @__PURE__ */ w(Mr, { children: [
1540
+ !s.includes("type") && /* @__PURE__ */ n(te, { label: "Type", children: /* @__PURE__ */ w(Vr, { children: [
1541
1541
  /* @__PURE__ */ n(
1542
1542
  pe,
1543
1543
  {
@@ -1551,15 +1551,15 @@ const Bo = g.div`
1551
1551
  style: { flex: 1 }
1552
1552
  }
1553
1553
  ),
1554
- R && R.length > 0 && /* @__PURE__ */ n(
1554
+ L && L.length > 0 && /* @__PURE__ */ n(
1555
1555
  pe,
1556
1556
  {
1557
1557
  value: [
1558
- p.data.widget || R.find((I) => I.isDefault)?.value || xt
1558
+ p.data.widget || L.find((I) => I.isDefault)?.value || xt
1559
1559
  ],
1560
1560
  disabled: p.builtin,
1561
1561
  dataKey: "value",
1562
- options: R,
1562
+ options: L,
1563
1563
  onChange: (I) => m("widget", I[0] === xt ? void 0 : I[0]),
1564
1564
  style: { flex: 0.5 }
1565
1565
  }
@@ -1589,10 +1589,10 @@ const Bo = g.div`
1589
1589
  ) }),
1590
1590
  $.map((I) => {
1591
1591
  if (s.includes(I)) return null;
1592
- let _ = null, L = to(I);
1592
+ let _ = null, R = no(I);
1593
1593
  if (I === "enum" || I === "inherit") {
1594
1594
  const M = O[I];
1595
- _ = M(p?.data[I], (G) => m(I, G));
1595
+ _ = M(p?.data[I], (Y) => m(I, Y));
1596
1596
  } else if (I === "default" && p?.data?.type === "boolean")
1597
1597
  _ = O.booleanDefault(
1598
1598
  p?.data[I],
@@ -1601,15 +1601,15 @@ const Bo = g.div`
1601
1601
  else if (["ge", "gt", "le", "lt"].includes(I)) {
1602
1602
  if (["gt", "lt"].includes(I)) return null;
1603
1603
  _ = /* @__PURE__ */ n(
1604
- Xo,
1604
+ Qo,
1605
1605
  {
1606
1606
  value: p?.data,
1607
1607
  isMin: I === "ge",
1608
1608
  isFloat: p?.data?.type === "float",
1609
1609
  onChange: (M) => {
1610
- const G = M.ge !== void 0 ? Number(M.ge) : void 0, ne = M.le !== void 0 ? Number(M.le) : void 0;
1610
+ const Y = M.ge !== void 0 ? Number(M.ge) : void 0, ne = M.le !== void 0 ? Number(M.le) : void 0;
1611
1611
  // @ts-expect-error
1612
- M.ge !== void 0 && isNaN(G) || // @ts-expect-error
1612
+ M.ge !== void 0 && isNaN(Y) || // @ts-expect-error
1613
1613
  M.le !== void 0 && isNaN(ne) || u((re) => {
1614
1614
  if (!re || !re.data) return re;
1615
1615
  const be = { ...re.data, ...M };
@@ -1617,10 +1617,10 @@ const Bo = g.div`
1617
1617
  });
1618
1618
  }
1619
1619
  }
1620
- ), L = I === "ge" ? "Min" : "Max";
1620
+ ), R = I === "ge" ? "Min" : "Max";
1621
1621
  } else {
1622
- const M = (G) => {
1623
- const ne = G.target.value;
1622
+ const M = (Y) => {
1623
+ const ne = Y.target.value;
1624
1624
  switch (I) {
1625
1625
  case "minLength":
1626
1626
  case "maxLength":
@@ -1646,7 +1646,7 @@ const Bo = g.div`
1646
1646
  return /* @__PURE__ */ n(
1647
1647
  te,
1648
1648
  {
1649
- label: L,
1649
+ label: R,
1650
1650
  style: {
1651
1651
  alignItems: "flex-start"
1652
1652
  },
@@ -1659,7 +1659,7 @@ const Bo = g.div`
1659
1659
  ] })
1660
1660
  }
1661
1661
  );
1662
- }, jr = Wn`
1662
+ }, Kr = Wn`
1663
1663
  from {
1664
1664
  opacity: 0;
1665
1665
  transform: translateY(-4px);
@@ -1668,10 +1668,10 @@ const Bo = g.div`
1668
1668
  opacity: 1;
1669
1669
  transform: translateY(0);
1670
1670
  }
1671
- `, Ss = g.div`
1671
+ `, ks = g.div`
1672
1672
  position: relative;
1673
1673
  display: inline-flex;
1674
- `, ks = g.button`
1674
+ `, Cs = g.button`
1675
1675
  background: none;
1676
1676
  border: none;
1677
1677
  padding: 0;
@@ -1703,7 +1703,7 @@ const Bo = g.div`
1703
1703
  width: 24px;
1704
1704
  height: 24px;
1705
1705
  }
1706
- `, Cs = g(Y)`
1706
+ `, Is = g(G)`
1707
1707
  width: 20px;
1708
1708
  height: 20px;
1709
1709
  min-width: 20px;
@@ -1719,13 +1719,13 @@ const Bo = g.div`
1719
1719
  &:hover {
1720
1720
  background-color: var(--md-sys-color-surface-container-highest-hover);
1721
1721
  }
1722
- `, Is = g.div`
1722
+ `, Es = g.div`
1723
1723
  position: fixed;
1724
1724
  z-index: 1001;
1725
1725
  background-color: var(--md-sys-color-surface-container-highest);
1726
1726
  border-radius: var(--border-radius-l);
1727
1727
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.2);
1728
- animation: ${jr} 0.15s ease-out;
1728
+ animation: ${Kr} 0.15s ease-out;
1729
1729
 
1730
1730
  &.right {
1731
1731
  transform-origin: top right;
@@ -1734,13 +1734,13 @@ const Bo = g.div`
1734
1734
  &.left {
1735
1735
  transform-origin: top left;
1736
1736
  }
1737
- `, Es = g.div`
1737
+ `, Ts = g.div`
1738
1738
  display: flex;
1739
1739
  flex-direction: column;
1740
1740
  gap: var(--base-gap-small);
1741
1741
  padding: var(--padding-m);
1742
1742
  position: relative;
1743
- `, Ts = g(H)`
1743
+ `, Ns = g(H)`
1744
1744
  &.hasIcon {
1745
1745
  padding: 4px;
1746
1746
  }
@@ -1756,7 +1756,7 @@ const Bo = g.div`
1756
1756
  &:hover {
1757
1757
  background-color: var(--md-sys-color-surface-container-highest-hover);
1758
1758
  }
1759
- `, Ns = g.div`
1759
+ `, Ps = g.div`
1760
1760
  display: flex;
1761
1761
  flex-direction: column;
1762
1762
  gap: 4px;
@@ -1765,7 +1765,7 @@ const Bo = g.div`
1765
1765
  ${fe.labelSmall}
1766
1766
  color: var(--md-sys-color-outline);
1767
1767
  }
1768
- `, Ps = g.input`
1768
+ `, _s = g.input`
1769
1769
  background-color: var(--md-sys-color-surface-container-low);
1770
1770
  border: 1px solid var(--md-sys-color-outline-variant);
1771
1771
  border-radius: var(--border-radius-m);
@@ -1787,11 +1787,11 @@ const Bo = g.div`
1787
1787
  cursor: pointer;
1788
1788
  filter: invert(0.5);
1789
1789
  }
1790
- `, _s = g(H)`
1790
+ `, Ds = g(H)`
1791
1791
  &:hover {
1792
1792
  background-color: var(--md-sys-color-surface-container-highest-hover);
1793
1793
  }
1794
- `, Kr = g.div`
1794
+ `, Gr = g.div`
1795
1795
  position: fixed;
1796
1796
  bottom: 14px;
1797
1797
  left: 14px;
@@ -1807,13 +1807,13 @@ const Bo = g.div`
1807
1807
 
1808
1808
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
1809
1809
  font-weight: 700;
1810
- `, Ds = le(
1811
- ({ tooltip: e, ...t }, o) => /* @__PURE__ */ n(Kr, { "data-tooltip": e, "data-tooltip-delay": 0, ...t, ref: o, children: "Early preview" })
1810
+ `, As = le(
1811
+ ({ tooltip: e, ...t }, o) => /* @__PURE__ */ n(Gr, { "data-tooltip": e, "data-tooltip-delay": 0, ...t, ref: o, children: "Early preview" })
1812
1812
  ), St = [
1813
1813
  { value: "hero", label: "Hero", short: "Hero", icon: "star" },
1814
1814
  { value: "latestDone", label: "Latest Done", short: "Done", icon: "check_circle" },
1815
1815
  { value: "latest", label: "Latest", short: "Latest", icon: "fiber_new" }
1816
- ], As = St.map((e) => e.value), Yr = ({ id: e, label: t }) => {
1816
+ ], Os = St.map((e) => e.value), Yr = ({ id: e, label: t }) => {
1817
1817
  const { attributes: o, listeners: r, setNodeRef: a, transform: s, transition: i, isDragging: v } = Qe({
1818
1818
  id: e
1819
1819
  }), f = {
@@ -1821,7 +1821,7 @@ const Bo = g.div`
1821
1821
  transition: i
1822
1822
  };
1823
1823
  return /* @__PURE__ */ n(
1824
- Wr,
1824
+ Xr,
1825
1825
  {
1826
1826
  ref: a,
1827
1827
  style: f,
@@ -1829,12 +1829,12 @@ const Bo = g.div`
1829
1829
  ...o,
1830
1830
  ...r,
1831
1831
  children: /* @__PURE__ */ w(An, { children: [
1832
- /* @__PURE__ */ n(On, { children: /* @__PURE__ */ n(Y, { icon: "drag_indicator" }) }),
1833
- /* @__PURE__ */ n(Ln, { children: t })
1832
+ /* @__PURE__ */ n(On, { children: /* @__PURE__ */ n(G, { icon: "drag_indicator" }) }),
1833
+ /* @__PURE__ */ n(Rn, { children: t })
1834
1834
  ] })
1835
1835
  }
1836
1836
  );
1837
- }, Os = ({ value: e, onChange: t }) => {
1837
+ }, Rs = ({ value: e, onChange: t }) => {
1838
1838
  const [o, r] = U(null), a = Pt(
1839
1839
  _t(Dt, {
1840
1840
  activationConstraint: {
@@ -1860,11 +1860,11 @@ const Bo = g.div`
1860
1860
  }
1861
1861
  r(null);
1862
1862
  }, f = o ? St.find((c) => c.value === o) : null;
1863
- return /* @__PURE__ */ w(Gr, { children: [
1864
- /* @__PURE__ */ w(Xr, { children: [
1863
+ return /* @__PURE__ */ w(qr, { children: [
1864
+ /* @__PURE__ */ w(Qr, { children: [
1865
1865
  /* @__PURE__ */ n("span", { className: "label", children: "Product's featured version priority" }),
1866
1866
  /* @__PURE__ */ n(
1867
- Y,
1867
+ G,
1868
1868
  {
1869
1869
  icon: "info",
1870
1870
  "data-tooltip": "Choose which version will be displayed on the product card. The first available from the list will be used.",
@@ -1884,27 +1884,27 @@ const Bo = g.div`
1884
1884
  Oe,
1885
1885
  {
1886
1886
  items: s.map((c) => c.value),
1887
- strategy: Le,
1888
- children: /* @__PURE__ */ n(qr, { children: s.map((c) => /* @__PURE__ */ n(Yr, { id: c.value, label: c.label }, c.value)) })
1887
+ strategy: Re,
1888
+ children: /* @__PURE__ */ n(Wr, { children: s.map((c) => /* @__PURE__ */ n(Yr, { id: c.value, label: c.label }, c.value)) })
1889
1889
  }
1890
1890
  ),
1891
1891
  /* @__PURE__ */ n(Nt, { children: f && /* @__PURE__ */ w(An, { className: "overlay", children: [
1892
- /* @__PURE__ */ n(On, { children: /* @__PURE__ */ n(Y, { icon: "drag_indicator" }) }),
1893
- /* @__PURE__ */ n(Ln, { children: f.label })
1892
+ /* @__PURE__ */ n(On, { children: /* @__PURE__ */ n(G, { icon: "drag_indicator" }) }),
1893
+ /* @__PURE__ */ n(Rn, { children: f.label })
1894
1894
  ] }) })
1895
1895
  ]
1896
1896
  }
1897
1897
  )
1898
1898
  ] });
1899
- }, Gr = g.div`
1899
+ }, qr = g.div`
1900
1900
  display: flex;
1901
1901
  flex-direction: column;
1902
1902
  gap: var(--base-gap-small);
1903
- `, qr = g.div`
1903
+ `, Wr = g.div`
1904
1904
  display: flex;
1905
1905
  flex-direction: column;
1906
1906
  gap: var(--base-gap-small);
1907
- `, Wr = g.div`
1907
+ `, Xr = g.div`
1908
1908
  &.dragging {
1909
1909
  opacity: 0;
1910
1910
  }
@@ -1935,10 +1935,10 @@ const Bo = g.div`
1935
1935
  display: flex;
1936
1936
  align-items: center;
1937
1937
  color: var(--md-sys-color-outline);
1938
- `, Ln = g.span`
1938
+ `, Rn = g.span`
1939
1939
  font-weight: 500;
1940
1940
  color: var(--md-sys-color-on-surface);
1941
- `, Xr = g.div`
1941
+ `, Qr = g.div`
1942
1942
  color: var(--md-sys-color-outline);
1943
1943
  display: flex;
1944
1944
  align-items: center;
@@ -1953,8 +1953,8 @@ const Bo = g.div`
1953
1953
  cursor: pointer;
1954
1954
  }
1955
1955
  `, Ls = le(
1956
- ({ tooltip: e = "This page will deprecated in a future version", ...t }, o) => /* @__PURE__ */ n(Y, { icon: "ad_off", "data-tooltip": e, ...t, ref: o })
1957
- ), Qr = g(H)`
1956
+ ({ tooltip: e = "This page will deprecated in a future version", ...t }, o) => /* @__PURE__ */ n(G, { icon: "ad_off", "data-tooltip": e, ...t, ref: o })
1957
+ ), Jr = g(H)`
1958
1958
  transition: color 0.2s, background-color 0.2s, opacity 0.2s;
1959
1959
 
1960
1960
  .bolt {
@@ -1987,13 +1987,13 @@ const Bo = g.div`
1987
1987
  &.rounded {
1988
1988
  border-radius: var(--border-radius-xl);
1989
1989
  }
1990
- `, Rs = le(
1990
+ `, $s = le(
1991
1991
  ({ feature: e, variant: t = "outline", rounded: o = !0, bolt: r = !1, ...a }, s) => {
1992
- const { setPowerpackDialog: i } = yo(), v = (f) => {
1992
+ const { setPowerpackDialog: i } = xo(), v = (f) => {
1993
1993
  i(e), a.onClick?.(f);
1994
1994
  };
1995
1995
  return /* @__PURE__ */ w(
1996
- Qr,
1996
+ Jr,
1997
1997
  {
1998
1998
  icon: a.icon || "bolt",
1999
1999
  ...a,
@@ -2007,26 +2007,26 @@ const Bo = g.div`
2007
2007
  "data-tooltip-delay": 0,
2008
2008
  children: [
2009
2009
  a.children,
2010
- r && /* @__PURE__ */ n(Y, { icon: "bolt", filled: !0, className: "bolt" })
2010
+ r && /* @__PURE__ */ n(G, { icon: "bolt", filled: !0, className: "bolt" })
2011
2011
  ]
2012
2012
  }
2013
2013
  );
2014
2014
  }
2015
- ), Jr = "https://ynput.cloud/free-trial", Zr = ({
2015
+ ), Zr = "https://ynput.cloud/free-trial", ei = ({
2016
2016
  addon: e
2017
2017
  // an addon they are trying to access, e.g. 'powerpack'
2018
2018
  }) => {
2019
- const { data: t } = co(), o = t?.data?.isAdmin || t?.data?.isManager, { data: r } = uo(void 0, { skip: !t?.name }), { data: a } = po(
2019
+ const { data: t } = uo(), o = t?.data?.isAdmin || t?.data?.isManager, { data: r } = po(void 0, { skip: !t?.name }), { data: a } = mo(
2020
2020
  {},
2021
2021
  { skip: !o || !r?.instanceId }
2022
- ), s = new URL(Jr), i = r?.instanceId, v = a || 10;
2022
+ ), s = new URL(Zr), i = r?.instanceId, v = a || 10;
2023
2023
  return s.searchParams.append("seats", v.toString()), i && s.searchParams.append("instance_id", i), e && s.searchParams.append("addon", e), s.toString();
2024
- }, $s = le(
2024
+ }, Fs = le(
2025
2025
  ({ children: e, addon: t, ...o }, r) => {
2026
- const a = Zr({ addon: t });
2026
+ const a = ei({ addon: t });
2027
2027
  return /* @__PURE__ */ n("a", { href: a, target: "_blank", rel: "noopener noreferrer", ...o, ref: r, children: e });
2028
2028
  }
2029
- ), Fs = g(qe)`
2029
+ ), Ms = g(qe)`
2030
2030
  background: linear-gradient(180deg, rgb(0 121 181 / 0%) -12.03%, rgb(4 255 227 / 26%) 105.38%),
2031
2031
  #15171c;
2032
2032
 
@@ -2048,7 +2048,7 @@ const Bo = g.div`
2048
2048
  .cancelButton {
2049
2049
  background-color: unset;
2050
2050
  }
2051
- `, Ms = g.div`
2051
+ `, Vs = g.div`
2052
2052
  display: flex;
2053
2053
  flex-direction: column;
2054
2054
  align-items: center;
@@ -2078,7 +2078,7 @@ const Bo = g.div`
2078
2078
  font-size: 32px;
2079
2079
  color: var(--md-sys-color-tertiary);
2080
2080
  }
2081
- `, Vs = g.div`
2081
+ `, Bs = g.div`
2082
2082
  width: 100%;
2083
2083
 
2084
2084
  h3 {
@@ -2106,7 +2106,7 @@ const Bo = g.div`
2106
2106
  gap: 8px;
2107
2107
  }
2108
2108
  }
2109
- `, Bs = g.div`
2109
+ `, Us = g.div`
2110
2110
  cursor: pointer;
2111
2111
  text-align: center;
2112
2112
  margin-top: 16px;
@@ -2116,7 +2116,7 @@ const Bo = g.div`
2116
2116
  &:hover {
2117
2117
  text-decoration: underline;
2118
2118
  }
2119
- `, ei = g(H)`
2119
+ `, ti = g(H)`
2120
2120
  background-color: var(--md-sys-color-tertiary);
2121
2121
  color: var(--md-sys-color-on-tertiary);
2122
2122
  padding: 12px 20px;
@@ -2128,27 +2128,27 @@ const Bo = g.div`
2128
2128
  &:hover {
2129
2129
  background-color: var(--md-sys-color-tertiary-hover);
2130
2130
  }
2131
- `, Us = le(({ ...e }, t) => /* @__PURE__ */ n(ei, { ...e, children: "Try for free!" })), ti = g.div`
2131
+ `, Hs = le(({ ...e }, t) => /* @__PURE__ */ n(ti, { ...e, children: "Try for free!" })), ni = g.div`
2132
2132
  display: flex;
2133
2133
  flex-direction: column;
2134
2134
  gap: 8px;
2135
2135
  border-radius: var(--border-radius-l);
2136
2136
  background-color: var(--md-sys-color-secondary-container);
2137
2137
  padding: var(--padding-m);
2138
- `, Hs = le(
2138
+ `, zs = le(
2139
2139
  ({ requiredVersion: e, addonName: t, addonLabel: o, ...r }, a) => {
2140
2140
  const s = t || "powerpack", i = o || "Power Features";
2141
- return e ? /* @__PURE__ */ w(ti, { ...r, ref: a, children: [
2141
+ return e ? /* @__PURE__ */ w(ni, { ...r, ref: a, children: [
2142
2142
  /* @__PURE__ */ n("span", { children: `${i} version ${e} is required to use this feature.` }),
2143
- /* @__PURE__ */ n(xo, { to: `/market?selected=${s}`, children: /* @__PURE__ */ w(H, { variant: "tertiary", children: [
2143
+ /* @__PURE__ */ n(wo, { to: `/market?selected=${s}`, children: /* @__PURE__ */ w(H, { variant: "tertiary", children: [
2144
2144
  "Update ",
2145
2145
  i,
2146
2146
  " ",
2147
- /* @__PURE__ */ n(Y, { icon: "arrow_right_alt" })
2147
+ /* @__PURE__ */ n(G, { icon: "arrow_right_alt" })
2148
2148
  ] }) })
2149
2149
  ] }) : `Required ${i} version installed already.`;
2150
2150
  }
2151
- ), ni = g(H)`
2151
+ ), oi = g(H)`
2152
2152
  width: 100%;
2153
2153
  justify-content: flex-start;
2154
2154
  margin-bottom: 8px;
@@ -2166,7 +2166,7 @@ const Bo = g.div`
2166
2166
  .arrow {
2167
2167
  color: var(--md-sys-color-outline);
2168
2168
  }
2169
- `, oi = g.div`
2169
+ `, ri = g.div`
2170
2170
  height: 100%;
2171
2171
  /* fixed floor so the panel doesn't resize as its content changes */
2172
2172
  min-width: 260px;
@@ -2176,7 +2176,7 @@ const Bo = g.div`
2176
2176
  z-index: 10;
2177
2177
  display: flex;
2178
2178
  flex-direction: column;
2179
- `, ri = g.div`
2179
+ `, ii = g.div`
2180
2180
  display: flex;
2181
2181
  align-items: center;
2182
2182
  gap: var(--base-gap-small);
@@ -2192,42 +2192,42 @@ const Bo = g.div`
2192
2192
  }
2193
2193
  `, tn = g(H)`
2194
2194
  padding: 4px !important;
2195
- `, ii = g.h3`
2195
+ `, ai = g.h3`
2196
2196
  margin: 0;
2197
2197
  flex: 1;
2198
- `, ai = g.div`
2198
+ `, si = g.div`
2199
2199
  padding: 8px;
2200
2200
  flex: 1;
2201
2201
  overflow-y: auto;
2202
- `, si = ({ settings: e, order: t }) => {
2202
+ `, li = ({ settings: e, order: t }) => {
2203
2203
  const { isPanelOpen: o, selectedSetting: r, closePanel: a, backToMainMenu: s, selectSetting: i } = Ze(), v = () => r && e.find((u) => u.id === r)?.title || "Settings", f = t ? e.toSorted((p, u) => {
2204
2204
  const y = p.id ? t.indexOf(p.id) : -1, d = u.id ? t.indexOf(u.id) : -1;
2205
2205
  return y === -1 && d === -1 ? 0 : y === -1 ? 1 : d === -1 ? -1 : y - d;
2206
2206
  }) : e, c = e.find((p) => p.id === r), l = () => r ? e.find((u) => u.id === r)?.component : /* @__PURE__ */ n(me, { children: f.map(
2207
2207
  (u, y) => u.title ? /* @__PURE__ */ w(
2208
- ni,
2208
+ oi,
2209
2209
  {
2210
2210
  onClick: () => i(u.id),
2211
2211
  variant: "text",
2212
2212
  className: "setting-option",
2213
2213
  children: [
2214
- u.icon && /* @__PURE__ */ n(Y, { icon: u.icon }),
2214
+ u.icon && /* @__PURE__ */ n(G, { icon: u.icon }),
2215
2215
  /* @__PURE__ */ n("span", { className: "title", children: u.title }),
2216
2216
  !!u.preview?.toString() && /* @__PURE__ */ n("span", { className: "preview", children: u.preview }),
2217
- /* @__PURE__ */ n(Y, { icon: "chevron_right", className: "arrow" })
2217
+ /* @__PURE__ */ n(G, { icon: "chevron_right", className: "arrow" })
2218
2218
  ]
2219
2219
  },
2220
2220
  u.id
2221
- ) : /* @__PURE__ */ n(Xn, { children: u.component }, u.id)
2221
+ ) : /* @__PURE__ */ n(Qn, { children: u.component }, u.id)
2222
2222
  ) });
2223
- return /* @__PURE__ */ w(oi, { open: o, children: [
2224
- /* @__PURE__ */ w(ri, { children: [
2223
+ return /* @__PURE__ */ w(ri, { open: o, children: [
2224
+ /* @__PURE__ */ w(ii, { children: [
2225
2225
  r && /* @__PURE__ */ n(tn, { variant: "text", icon: "arrow_back", onClick: s }),
2226
- /* @__PURE__ */ n(ii, { children: v() }),
2226
+ /* @__PURE__ */ n(ai, { children: v() }),
2227
2227
  c?.headerActions,
2228
2228
  /* @__PURE__ */ n(tn, { variant: "text", icon: "close", onClick: a })
2229
2229
  ] }),
2230
- /* @__PURE__ */ n(ai, { children: l() })
2230
+ /* @__PURE__ */ n(si, { children: l() })
2231
2231
  ] });
2232
2232
  }, ht = g.ul`
2233
2233
  display: flex;
@@ -2236,7 +2236,7 @@ const Bo = g.div`
2236
2236
  list-style-type: none;
2237
2237
  margin: 0;
2238
2238
  padding: 0;
2239
- `, li = g.li`
2239
+ `, ci = g.li`
2240
2240
  display: flex;
2241
2241
  padding: 2px;
2242
2242
  padding-left: 8px;
@@ -2285,11 +2285,11 @@ const Bo = g.div`
2285
2285
  background-color: unset;
2286
2286
  }
2287
2287
  }
2288
- `, ci = g.div`
2288
+ `, di = g.div`
2289
2289
  display: flex;
2290
2290
  gap: var(--base-gap-small);
2291
2291
  margin-left: auto;
2292
- `, di = g(H)`
2292
+ `, ui = g(H)`
2293
2293
  && {
2294
2294
  background-color: unset;
2295
2295
  padding: 4px;
@@ -2320,7 +2320,7 @@ const Bo = g.div`
2320
2320
  className: v,
2321
2321
  ...f
2322
2322
  }, c) => /* @__PURE__ */ w(
2323
- li,
2323
+ ci,
2324
2324
  {
2325
2325
  className: J("setting-item", v, {
2326
2326
  highlighted: a,
@@ -2331,7 +2331,7 @@ const Bo = g.div`
2331
2331
  ref: c,
2332
2332
  children: [
2333
2333
  o,
2334
- e.icon && /* @__PURE__ */ n(Y, { icon: e.icon }),
2334
+ e.icon && /* @__PURE__ */ n(G, { icon: e.icon }),
2335
2335
  /* @__PURE__ */ w("span", { className: "label", children: [
2336
2336
  e.path && /* @__PURE__ */ w("span", { className: "label-path", children: [
2337
2337
  e.path,
@@ -2339,14 +2339,14 @@ const Bo = g.div`
2339
2339
  ] }),
2340
2340
  e.label
2341
2341
  ] }),
2342
- /* @__PURE__ */ n(ci, { className: "actions", children: t?.map(({ icon: l, className: p, active: u, onClick: y, ...d }, h) => /* @__PURE__ */ w(
2343
- di,
2342
+ /* @__PURE__ */ n(di, { className: "actions", children: t?.map(({ icon: l, className: p, active: u, onClick: y, ...d }, h) => /* @__PURE__ */ w(
2343
+ ui,
2344
2344
  {
2345
2345
  className: J("action", p, { active: u }),
2346
2346
  onClick: s ? void 0 : y,
2347
2347
  ...d,
2348
2348
  children: [
2349
- l && /* @__PURE__ */ n(Y, { icon: l }),
2349
+ l && /* @__PURE__ */ n(G, { icon: l }),
2350
2350
  d.children
2351
2351
  ]
2352
2352
  },
@@ -2356,7 +2356,7 @@ const Bo = g.div`
2356
2356
  ]
2357
2357
  }
2358
2358
  )
2359
- ), ui = g(ot)`
2359
+ ), pi = g(ot)`
2360
2360
  &:hover {
2361
2361
  .pin-action {
2362
2362
  opacity: 1;
@@ -2444,7 +2444,7 @@ const Bo = g.div`
2444
2444
  ]
2445
2445
  );
2446
2446
  return /* @__PURE__ */ n(
2447
- ui,
2447
+ pi,
2448
2448
  {
2449
2449
  id: e,
2450
2450
  item: t,
@@ -2461,7 +2461,7 @@ const Bo = g.div`
2461
2461
  // the row actions arm their own gestures
2462
2462
  h.target.closest(".action") ? void 0 : y?.(h)
2463
2463
  ),
2464
- startContent: f ? y ? /* @__PURE__ */ n(Y, { icon: "drag_indicator", className: "hover-swap" }) : void 0 : /* @__PURE__ */ n("div", { ...i, className: "drag-handle", children: /* @__PURE__ */ n(Y, { icon: "drag_indicator" }) })
2464
+ startContent: f ? y ? /* @__PURE__ */ n(G, { icon: "drag_indicator", className: "hover-swap" }) : void 0 : /* @__PURE__ */ n("div", { ...i, className: "drag-handle", children: /* @__PURE__ */ n(G, { icon: "drag_indicator" }) })
2465
2465
  }
2466
2466
  );
2467
2467
  }, nn = ({
@@ -2484,7 +2484,7 @@ const Bo = g.div`
2484
2484
  transition: h
2485
2485
  };
2486
2486
  return /* @__PURE__ */ n(
2487
- pi,
2487
+ mi,
2488
2488
  {
2489
2489
  ref: y,
2490
2490
  style: C,
@@ -2508,18 +2508,18 @@ const Bo = g.div`
2508
2508
  )
2509
2509
  }
2510
2510
  );
2511
- }, pi = g.div`
2511
+ }, mi = g.div`
2512
2512
  &.dragging {
2513
2513
  z-index: 1;
2514
2514
  opacity: 0;
2515
2515
  }
2516
- `, Rn = "text_fields", $n = ({
2516
+ `, Ln = "text_fields", $n = ({
2517
2517
  field: e,
2518
2518
  parentScope: t
2519
- }) => e ? Q(e) : t ? In(t) : Rn, mi = (e) => e.length === 1 ? `${e[0].charAt(0).toUpperCase() + e[0].slice(1)} attributes` : "Attributes", Fn = (e = [], t = []) => [
2519
+ }) => e ? Q(e) : t ? In(t) : Ln, gi = (e) => e.length === 1 ? `${e[0].charAt(0).toUpperCase() + e[0].slice(1)} attributes` : "Attributes", Fn = (e = [], t = []) => [
2520
2520
  {
2521
2521
  id: "attributes",
2522
- label: mi(e),
2522
+ label: gi(e),
2523
2523
  icon: "text_fields",
2524
2524
  match: (o) => !!o.attrib && !o.parentScope
2525
2525
  },
@@ -2599,8 +2599,8 @@ const Bo = g.div`
2599
2599
  const { menuOpen: o, setMenuOpen: r } = et();
2600
2600
  return Z(() => {
2601
2601
  !t.length && o === e && r(!1);
2602
- }, [t.length, o, e, r]), /* @__PURE__ */ n(Lo, { targetId: e, id: e, align: "left", children: /* @__PURE__ */ n(Ro, { menu: t, onClose: () => r(!1) }) });
2603
- }, gi = 300, Bn = ({
2602
+ }, [t.length, o, e, r]), /* @__PURE__ */ n(Lo, { targetId: e, id: e, align: "left", children: /* @__PURE__ */ n($o, { menu: t, onClose: () => r(!1) }) });
2603
+ }, hi = 300, Bn = ({
2604
2604
  columnVisibility: e,
2605
2605
  defaultColumnVisibility: t,
2606
2606
  updateColumnVisibility: o,
@@ -2618,7 +2618,7 @@ const Bo = g.div`
2618
2618
  }, u = ee(() => {
2619
2619
  v.current = null;
2620
2620
  const b = i.current;
2621
- b && (f.current = performance.now() + gi, c.current.updateColumnVisibility(b.next), s(null));
2621
+ b && (f.current = performance.now() + hi, c.current.updateColumnVisibility(b.next), s(null));
2622
2622
  }, []), y = ee(() => {
2623
2623
  v.current = null, i.current && s(null);
2624
2624
  }, []);
@@ -2663,10 +2663,10 @@ const Bo = g.div`
2663
2663
  cancelPaint: y,
2664
2664
  isPainting: !!a
2665
2665
  };
2666
- }, ze = "add-column-menu-list", hi = [], vi = (e, t) => e.parentScope && e.attrib ? `${e.parentScope.charAt(0).toUpperCase()}${e.parentScope.slice(1)} attributes` : Mn(e, t)?.label, je = (e, t) => {
2667
- const o = vi(e, t);
2666
+ }, ze = "add-column-menu-list", vi = [], fi = (e, t) => e.parentScope && e.attrib ? `${e.parentScope.charAt(0).toUpperCase()}${e.parentScope.slice(1)} attributes` : Mn(e, t)?.label, je = (e, t) => {
2667
+ const o = fi(e, t);
2668
2668
  return { ...e, icon: e.icon ?? $n(e), ...o ? { path: o } : {} };
2669
- }, zs = ({
2669
+ }, js = ({
2670
2670
  icon: e,
2671
2671
  label: t,
2672
2672
  checked: o,
@@ -2690,7 +2690,7 @@ const Bo = g.div`
2690
2690
  ),
2691
2691
  ...s
2692
2692
  }
2693
- ), fi = ({
2693
+ ), bi = ({
2694
2694
  columns: e,
2695
2695
  highlighted: t,
2696
2696
  columnVisibility: o,
@@ -2711,29 +2711,29 @@ const Bo = g.div`
2711
2711
  addColumnMenuItems: C,
2712
2712
  onColumnDragStart: b,
2713
2713
  isColumnDragging: m,
2714
- scopes: x = hi,
2714
+ scopes: x = vi,
2715
2715
  search: S,
2716
2716
  onSearchChange: P
2717
2717
  }) => {
2718
- const [$, N] = U(null), [B, O] = U(!1), [z, T] = U(!1), [V, F] = U(!1), R = (E) => !!c && E === "name", {
2718
+ const [$, N] = U(null), [B, O] = U(!1), [z, T] = U(!1), [V, F] = U(!1), L = (E) => !!c && E === "name", {
2719
2719
  baseVisibility: I,
2720
2720
  displayVisibility: _,
2721
- isVisible: L,
2721
+ isVisible: R,
2722
2722
  onPaintStart: M,
2723
- onPaintEnter: G,
2723
+ onPaintEnter: Y,
2724
2724
  toggle: ne,
2725
2725
  cancelPaint: re
2726
2726
  } = Bn({
2727
2727
  columnVisibility: o,
2728
2728
  defaultColumnVisibility: u,
2729
2729
  updateColumnVisibility: r,
2730
- isLocked: R
2730
+ isLocked: L
2731
2731
  }), { toggleMenuOpen: be } = et(), ye = K(null), ue = K({ columnVisibility: o, updateColumnVisibility: r });
2732
2732
  ue.current = { columnVisibility: o, updateColumnVisibility: r };
2733
- const Re = K(null);
2733
+ const Le = K(null);
2734
2734
  Z(() => {
2735
- if (!t || Re.current === t || !e.some((j) => j.value === t)) return;
2736
- Re.current = t;
2735
+ if (!t || Le.current === t || !e.some((j) => j.value === t)) return;
2736
+ Le.current = t;
2737
2737
  const { columnVisibility: E, updateColumnVisibility: D } = ue.current;
2738
2738
  ae(E, t, u) || D({ ...E, [t]: !0 });
2739
2739
  }, [t, e, u]), Z(() => {
@@ -2745,7 +2745,7 @@ const Bo = g.div`
2745
2745
  distance: 5
2746
2746
  }
2747
2747
  })
2748
- ), $e = I, Ce = (E) => !L(E), { visibleColumns: ge, pinnedColumns: ce } = X(() => {
2748
+ ), $e = I, Ce = (E) => !R(E), { visibleColumns: ge, pinnedColumns: ce } = X(() => {
2749
2749
  const E = e.filter(
2750
2750
  (W) => ae($e, W.value, u)
2751
2751
  ), D = E.filter((W) => a.left?.includes(W.value));
@@ -2782,21 +2782,21 @@ const Bo = g.div`
2782
2782
  () => Vn({
2783
2783
  columns: e,
2784
2784
  onToggle: ne,
2785
- isColumnVisible: L,
2785
+ isColumnVisible: R,
2786
2786
  onPaintStart: M,
2787
- onPaintEnter: G,
2787
+ onPaintEnter: Y,
2788
2788
  scopes: x
2789
2789
  }),
2790
- [e, _, ne, M, G, x]
2791
- ), Te = C ?? Ee, Rt = typeof S == "string" ? /* @__PURE__ */ n(
2792
- yi,
2790
+ [e, _, ne, M, Y, x]
2791
+ ), Te = C ?? Ee, Lt = typeof S == "string" ? /* @__PURE__ */ n(
2792
+ xi,
2793
2793
  {
2794
2794
  value: S,
2795
2795
  onChange: (E) => P?.(E),
2796
2796
  onClose: () => P?.(null)
2797
2797
  }
2798
2798
  ) : /* @__PURE__ */ n(
2799
- bi,
2799
+ yi,
2800
2800
  {
2801
2801
  variant: "text",
2802
2802
  icon: "add",
@@ -2856,21 +2856,21 @@ const Bo = g.div`
2856
2856
  (de) => de.value === D.id
2857
2857
  ), se = [...ge, ...ce].find((de) => de.value === j.id);
2858
2858
  if (W && se) {
2859
- const de = D.id, at = j.id, Yn = ae(
2859
+ const de = D.id, at = j.id, Gn = ae(
2860
2860
  o,
2861
2861
  de,
2862
2862
  u
2863
- ), Gn = ae(
2863
+ ), Yn = ae(
2864
2864
  o,
2865
2865
  at,
2866
2866
  u
2867
2867
  ), st = a.left?.includes(de) || !1, lt = a.left?.includes(at) || !1, Ne = $t({});
2868
- if (Yn && Gn) {
2868
+ if (Gn && Yn) {
2869
2869
  let Pe = [...Ne.columnPinning.left || []];
2870
2870
  st !== lt && (st && !lt ? Pe = Pe.filter((dt) => dt !== de) : !st && lt && (Pe = [...Pe, de]));
2871
2871
  const ct = [...q, ...A], Ft = ct.indexOf(de), Mt = ct.indexOf(at);
2872
2872
  if (Ft === -1 || Mt === -1) {
2873
- console.error("Invalid column order state"), bo.error("Invalid column order state");
2873
+ console.error("Invalid column order state"), yo.error("Invalid column order state");
2874
2874
  return;
2875
2875
  }
2876
2876
  const Vt = At(ct, Ft, Mt), qn = Vt.filter((dt) => Pe.includes(dt));
@@ -2884,7 +2884,7 @@ const Bo = g.div`
2884
2884
  N(null);
2885
2885
  }, Fe = $ ? [...ge, ...ce].find((E) => E.value === $) : null;
2886
2886
  return typeof S == "string" ? /* @__PURE__ */ w(on, { ref: ye, "data-column-drag-origin": !0, children: [
2887
- Rt,
2887
+ Lt,
2888
2888
  /* @__PURE__ */ n(Ct, { menuId: ze, menuItems: Te }),
2889
2889
  /* @__PURE__ */ w(vt, { children: [
2890
2890
  /* @__PURE__ */ n(ft, { children: "All Columns" }),
@@ -2896,12 +2896,12 @@ const Bo = g.div`
2896
2896
  isPinned: a.left?.includes(E.value) || !1,
2897
2897
  isHidden: Ce(E.value),
2898
2898
  isHighlighted: t === E.value,
2899
- isDisabled: R(E.value),
2899
+ isDisabled: L(E.value),
2900
2900
  hideDragHandle: !0,
2901
2901
  onTogglePinning: it,
2902
2902
  onToggleVisibility: ne,
2903
2903
  onPaintStart: M,
2904
- onPaintEnter: G,
2904
+ onPaintEnter: Y,
2905
2905
  onDragStart: (D) => b?.(E, D)
2906
2906
  },
2907
2907
  E.value
@@ -2916,7 +2916,7 @@ const Bo = g.div`
2916
2916
  onDragOver: jn,
2917
2917
  onDragEnd: Kn,
2918
2918
  children: /* @__PURE__ */ w(on, { ref: ye, "data-column-drag-origin": !0, children: [
2919
- Rt,
2919
+ Lt,
2920
2920
  /* @__PURE__ */ n(Ct, { menuId: ze, menuItems: Te }),
2921
2921
  ce.length > 0 && /* @__PURE__ */ w(vt, { className: B && !z ? "drop-target" : "", children: [
2922
2922
  /* @__PURE__ */ n(ft, { children: "Pinned Columns" }),
@@ -2924,7 +2924,7 @@ const Bo = g.div`
2924
2924
  Oe,
2925
2925
  {
2926
2926
  items: Ie.map((E) => E.value),
2927
- strategy: Le,
2927
+ strategy: Re,
2928
2928
  children: /* @__PURE__ */ n(ht, { children: Ie.map((E) => /* @__PURE__ */ n(
2929
2929
  nn,
2930
2930
  {
@@ -2932,12 +2932,12 @@ const Bo = g.div`
2932
2932
  column: je(E, x),
2933
2933
  isPinned: !0,
2934
2934
  isHidden: Ce(E.value),
2935
- isDisabled: R(E.value),
2935
+ isDisabled: L(E.value),
2936
2936
  isHighlighted: t === E.value,
2937
2937
  onTogglePinning: it,
2938
2938
  onToggleVisibility: ne,
2939
2939
  onPaintStart: M,
2940
- onPaintEnter: G,
2940
+ onPaintEnter: Y,
2941
2941
  onDragStart: (D) => b?.(E, D)
2942
2942
  },
2943
2943
  E.value
@@ -2951,7 +2951,7 @@ const Bo = g.div`
2951
2951
  Oe,
2952
2952
  {
2953
2953
  items: ie.map((E) => E.value),
2954
- strategy: Le,
2954
+ strategy: Re,
2955
2955
  children: /* @__PURE__ */ n(ht, { children: ie.map((E) => /* @__PURE__ */ n(
2956
2956
  nn,
2957
2957
  {
@@ -2960,11 +2960,11 @@ const Bo = g.div`
2960
2960
  isPinned: !1,
2961
2961
  isHidden: Ce(E.value),
2962
2962
  isHighlighted: t === E.value,
2963
- isDisabled: R(E.value),
2963
+ isDisabled: L(E.value),
2964
2964
  onTogglePinning: it,
2965
2965
  onToggleVisibility: ne,
2966
2966
  onPaintStart: M,
2967
- onPaintEnter: G,
2967
+ onPaintEnter: Y,
2968
2968
  onDragStart: (D) => b?.(E, D)
2969
2969
  },
2970
2970
  E.value
@@ -3005,15 +3005,15 @@ const Bo = g.div`
3005
3005
  font-weight: 500;
3006
3006
  color: var(--md-sys-color-outline);
3007
3007
  padding: 4px 0;
3008
- `, bi = g(H)`
3008
+ `, yi = g(H)`
3009
3009
  justify-content: flex-start;
3010
- `, yi = g(Io)`
3010
+ `, xi = g(Eo)`
3011
3011
  padding: 0;
3012
3012
 
3013
3013
  input {
3014
3014
  height: 32px;
3015
3015
  }
3016
- `, xi = (e) => {
3016
+ `, wi = (e) => {
3017
3017
  const {
3018
3018
  columnVisibility: t,
3019
3019
  defaultColumnVisibility: o,
@@ -3032,7 +3032,7 @@ const Bo = g.div`
3032
3032
  columnSummaryFormats: h
3033
3033
  } = ke();
3034
3034
  return /* @__PURE__ */ n(
3035
- fi,
3035
+ bi,
3036
3036
  {
3037
3037
  ...e,
3038
3038
  columnVisibility: t,
@@ -3052,16 +3052,16 @@ const Bo = g.div`
3052
3052
  columnSummaryFormats: h
3053
3053
  }
3054
3054
  );
3055
- }, wi = g.div`
3055
+ }, Si = g.div`
3056
3056
  padding: var(--padding-m);
3057
3057
  display: flex;
3058
3058
  flex-direction: column;
3059
3059
  gap: 12px;
3060
- `, Si = g.div`
3060
+ `, ki = g.div`
3061
3061
  display: flex;
3062
3062
  align-items: center;
3063
3063
  gap: 12px;
3064
- `, ki = g.input`
3064
+ `, Ci = g.input`
3065
3065
  flex: 1;
3066
3066
  height: 4px;
3067
3067
  border-radius: 2px;
@@ -3102,11 +3102,11 @@ const Bo = g.div`
3102
3102
  &:hover::-moz-range-thumb {
3103
3103
  background: var(--md-sys-color-primary-container);
3104
3104
  }
3105
- `, Ci = g.span`
3105
+ `, Ii = g.span`
3106
3106
  color: var(--md-sys-color-on-surface-variant);
3107
3107
  min-width: 40px;
3108
3108
  text-align: right;
3109
- `, Ii = ({
3109
+ `, Ei = ({
3110
3110
  value: e,
3111
3111
  onChange: t,
3112
3112
  onChangeComplete: o,
@@ -3124,7 +3124,7 @@ const Bo = g.div`
3124
3124
  const h = ee((x) => {
3125
3125
  const S = parseInt(x.target.value, 10);
3126
3126
  d(!0), u(S);
3127
- }, []), k = To(p, f);
3127
+ }, []), k = No(p, f);
3128
3128
  Z(() => {
3129
3129
  y && t(p);
3130
3130
  }, [k, t, y, p]);
@@ -3133,11 +3133,11 @@ const Bo = g.div`
3133
3133
  }, []), b = ee(() => {
3134
3134
  l(!1), d(!1), o && o(p);
3135
3135
  }, [p, o]), m = (p - s) / (i - s) * 100;
3136
- return /* @__PURE__ */ w(wi, { children: [
3136
+ return /* @__PURE__ */ w(Si, { children: [
3137
3137
  /* @__PURE__ */ n("label", { htmlFor: a, children: r }),
3138
- /* @__PURE__ */ w(Si, { children: [
3138
+ /* @__PURE__ */ w(ki, { children: [
3139
3139
  /* @__PURE__ */ n(
3140
- ki,
3140
+ Ci,
3141
3141
  {
3142
3142
  id: a,
3143
3143
  type: "range",
@@ -3153,17 +3153,17 @@ const Bo = g.div`
3153
3153
  }
3154
3154
  }
3155
3155
  ),
3156
- /* @__PURE__ */ n(Ci, { children: p })
3156
+ /* @__PURE__ */ n(Ii, { children: p })
3157
3157
  ] })
3158
3158
  ] });
3159
- }, Se = "hierarchy", bt = "folder", rn = "name", Ei = ({ scope: e }) => {
3159
+ }, Se = "hierarchy", bt = "folder", rn = "name", Ti = ({ scope: e }) => {
3160
3160
  const { groupBy: t, groupByConfig: o, updateGroupBy: r, updateGroupByConfig: a, sorting: s, updateSorting: i } = ke(), {
3161
3161
  modules: v,
3162
3162
  showHierarchy: f,
3163
3163
  updateShowHierarchy: c,
3164
3164
  hierarchyOptions: l,
3165
3165
  hierarchyActive: p
3166
- } = tt(), u = No({ scope: e });
3166
+ } = tt(), u = Po({ scope: e });
3167
3167
  if (!v) return null;
3168
3168
  const { GroupSettings: y, requiredVersion: d } = v || {}, h = !!c, C = h ? [...l || [
3169
3169
  { value: Se, label: "Hierarchy", icon: "account_tree" },
@@ -3203,7 +3203,7 @@ const Bo = g.div`
3203
3203
  }
3204
3204
  )
3205
3205
  };
3206
- }, Ti = g.div`
3206
+ }, Ni = g.div`
3207
3207
  display: flex;
3208
3208
  flex-direction: column;
3209
3209
  gap: var(--base-gap-large);
@@ -3221,10 +3221,10 @@ const Bo = g.div`
3221
3221
  list-style-type: none;
3222
3222
  margin: 0;
3223
3223
  padding: 0;
3224
- `, Ni = g.span`
3224
+ `, Pi = g.span`
3225
3225
  color: var(--md-sys-color-outline);
3226
3226
  padding: 4px 0;
3227
- `, Pi = g(ot)`
3227
+ `, _i = g(ot)`
3228
3228
  .drag-handle {
3229
3229
  cursor: grab;
3230
3230
  height: 20px;
@@ -3240,25 +3240,25 @@ const Bo = g.div`
3240
3240
  cursor: grabbing;
3241
3241
  }
3242
3242
  }
3243
- `, _i = g(ot)`
3243
+ `, Di = g(ot)`
3244
3244
  cursor: pointer;
3245
3245
 
3246
3246
  .action {
3247
3247
  color: var(--md-sys-color-outline);
3248
3248
  }
3249
- `, Di = ({ item: e, desc: t, onToggleDirection: o, onRemove: r }) => {
3249
+ `, Ai = ({ item: e, desc: t, onToggleDirection: o, onRemove: r }) => {
3250
3250
  const { attributes: a, listeners: s, setNodeRef: i, transform: v, transition: f, isDragging: c } = Qe({
3251
3251
  id: e.value
3252
3252
  });
3253
3253
  return /* @__PURE__ */ n(
3254
- Pi,
3254
+ _i,
3255
3255
  {
3256
3256
  ref: i,
3257
3257
  item: e,
3258
3258
  "data-sort-id": e.value,
3259
3259
  className: c ? "dragging" : void 0,
3260
3260
  style: { transform: Je.Translate.toString(v), transition: f },
3261
- startContent: /* @__PURE__ */ n("div", { ...a, ...s, className: "drag-handle", children: /* @__PURE__ */ n(Y, { icon: "drag_indicator" }) }),
3261
+ startContent: /* @__PURE__ */ n("div", { ...a, ...s, className: "drag-handle", children: /* @__PURE__ */ n(G, { icon: "drag_indicator" }) }),
3262
3262
  actions: [
3263
3263
  {
3264
3264
  icon: t ? "arrow_downward" : "arrow_upward",
@@ -3273,11 +3273,11 @@ const Bo = g.div`
3273
3273
  ]
3274
3274
  }
3275
3275
  );
3276
- }, Ai = ({
3276
+ }, Oi = ({
3277
3277
  sorting: e,
3278
3278
  options: t,
3279
3279
  onChange: o,
3280
- maxKeys: r = _o
3280
+ maxKeys: r = Do
3281
3281
  }) => {
3282
3282
  const a = Pt(
3283
3283
  _t(Dt, {
@@ -3292,7 +3292,7 @@ const Bo = g.div`
3292
3292
  const d = e.findIndex((k) => k.id === u.id), h = e.findIndex((k) => k.id === y.id);
3293
3293
  d === -1 || h === -1 || o(At(e, d, h));
3294
3294
  }, c = (u) => o(e.map((y) => y.id === u ? { ...y, desc: !y.desc } : y)), l = (u) => o(e.filter((y) => y.id !== u)), p = (u) => o([...e, { id: u, desc: !1 }]);
3295
- return /* @__PURE__ */ w(Ti, { className: "sort-settings", children: [
3295
+ return /* @__PURE__ */ w(Ni, { className: "sort-settings", children: [
3296
3296
  e.length > 0 && /* @__PURE__ */ w(an, { className: "sorted", children: [
3297
3297
  /* @__PURE__ */ n(sn, { children: "Sorted by" }),
3298
3298
  /* @__PURE__ */ n(
@@ -3305,9 +3305,9 @@ const Bo = g.div`
3305
3305
  Oe,
3306
3306
  {
3307
3307
  items: e.map((u) => u.id),
3308
- strategy: Le,
3308
+ strategy: Re,
3309
3309
  children: /* @__PURE__ */ n(ln, { children: e.map((u) => /* @__PURE__ */ n(
3310
- Di,
3310
+ Ai,
3311
3311
  {
3312
3312
  item: s(u.id),
3313
3313
  desc: u.desc,
@@ -3324,7 +3324,7 @@ const Bo = g.div`
3324
3324
  /* @__PURE__ */ w(an, { className: "available", children: [
3325
3325
  /* @__PURE__ */ n(sn, { children: e.length > 0 ? "Then sort by" : "Sort by" }),
3326
3326
  v ? /* @__PURE__ */ n(ln, { children: i.map((u) => /* @__PURE__ */ n(
3327
- _i,
3327
+ Di,
3328
3328
  {
3329
3329
  item: u,
3330
3330
  "data-sort-id": u.value,
@@ -3332,21 +3332,21 @@ const Bo = g.div`
3332
3332
  actions: [{ icon: "add" }]
3333
3333
  },
3334
3334
  u.value
3335
- )) }) : /* @__PURE__ */ w(Ni, { children: [
3335
+ )) }) : /* @__PURE__ */ w(Pi, { children: [
3336
3336
  "Sorting is limited to ",
3337
3337
  r,
3338
3338
  " columns."
3339
3339
  ] })
3340
3340
  ] })
3341
3341
  ] });
3342
- }, Oi = (e = []) => {
3342
+ }, Ri = (e = []) => {
3343
3343
  const { sorting: t, updateSorting: o } = ke(), { attribFields: r, scopes: a } = tt(), s = [
3344
- ...wo(a, e).map((l) => ({
3344
+ ...So(a, e).map((l) => ({
3345
3345
  value: l.id,
3346
3346
  label: l.label
3347
3347
  })),
3348
3348
  ...r.filter(
3349
- (l) => l.scope?.some((p) => a.includes(p)) && !So(l)
3349
+ (l) => l.scope?.some((p) => a.includes(p)) && !ko(l)
3350
3350
  ).map((l) => ({
3351
3351
  value: `attrib_${l.name}`,
3352
3352
  label: l.data.title || l.name
@@ -3364,13 +3364,13 @@ const Bo = g.div`
3364
3364
  title: "Sort",
3365
3365
  icon: "sort",
3366
3366
  preview: t.length ? f(t[0].id) + (t.length > 1 ? ` +${t.length - 1}` : "") : "None",
3367
- component: /* @__PURE__ */ n(Ai, { sorting: t, options: v, onChange: o })
3367
+ component: /* @__PURE__ */ n(Oi, { sorting: t, options: v, onChange: o })
3368
3368
  };
3369
- }, Lt = [Do, Ao], cn = 5, Li = `#${$o}, [data-column-drag-origin]`, Ri = (e, t) => {
3369
+ }, Rt = [Ao, Oo], cn = 5, Li = `#${Fo}, [data-column-drag-origin]`, $i = (e, t) => {
3370
3370
  const r = document.querySelector(`[${kn}]`)?.getBoundingClientRect();
3371
3371
  if (!r || e < r.left || e > r.right || t < r.top || t > r.bottom) return;
3372
3372
  const a = Array.from(document.querySelectorAll(Cn)).filter(
3373
- (v) => !Lt.includes(v.dataset.columnId || "")
3373
+ (v) => !Rt.includes(v.dataset.columnId || "")
3374
3374
  ), s = a.find((v) => {
3375
3375
  const f = v.getBoundingClientRect();
3376
3376
  return e >= f.left && e < f.right;
@@ -3379,18 +3379,18 @@ const Bo = g.div`
3379
3379
  const i = a[a.length - 1];
3380
3380
  return e >= i.getBoundingClientRect().right ? i : a[0];
3381
3381
  }, dn = (e, t) => {
3382
- const o = document.elementsFromPoint(e, t).map((i) => i.closest?.(Cn)).find(Boolean) ?? Ri(e, t), r = o?.dataset.columnId;
3383
- if (!o || !r || Lt.includes(r)) return null;
3382
+ const o = document.elementsFromPoint(e, t).map((i) => i.closest?.(Cn)).find(Boolean) ?? $i(e, t), r = o?.dataset.columnId;
3383
+ if (!o || !r || Rt.includes(r)) return null;
3384
3384
  const a = o.getBoundingClientRect(), s = e < a.left + a.width / 2 ? "left" : "right";
3385
3385
  return {
3386
3386
  columnId: r,
3387
3387
  side: s,
3388
- line: Po(o, s)
3388
+ line: _o(o, s)
3389
3389
  };
3390
- }, $i = (e, t) => {
3390
+ }, Fi = (e, t) => {
3391
3391
  const o = e.length ? e : t;
3392
3392
  return [...o, ...t.filter((r) => !o.includes(r))];
3393
- }, Fi = () => {
3393
+ }, Mi = () => {
3394
3394
  const {
3395
3395
  columnVisibility: e,
3396
3396
  columnOrder: t,
@@ -3438,13 +3438,13 @@ const Bo = g.div`
3438
3438
  getAllColumns: u
3439
3439
  };
3440
3440
  const m = ee((N, B) => {
3441
- const O = b.current, z = $i(O.columnOrder, O.getAllColumns()).filter(
3442
- (I) => I !== N && !Lt.includes(I)
3443
- ), T = z.indexOf(B.columnId), V = T === -1 ? z.length : T + (B.side === "left" ? 0 : 1), F = [...z.slice(0, V), N, ...z.slice(V)], R = new Set(O.columnPinning.left || []);
3444
- R.has(B.columnId) ? R.add(N) : R.delete(N), O.setColumnsConfig({
3441
+ const O = b.current, z = Fi(O.columnOrder, O.getAllColumns()).filter(
3442
+ (I) => I !== N && !Rt.includes(I)
3443
+ ), T = z.indexOf(B.columnId), V = T === -1 ? z.length : T + (B.side === "left" ? 0 : 1), F = [...z.slice(0, V), N, ...z.slice(V)], L = new Set(O.columnPinning.left || []);
3444
+ L.has(B.columnId) ? L.add(N) : L.delete(N), O.setColumnsConfig({
3445
3445
  columnVisibility: { ...O.columnVisibility, [N]: !0 },
3446
3446
  columnOrder: F,
3447
- columnPinning: { ...O.columnPinning, left: F.filter((I) => R.has(I)) },
3447
+ columnPinning: { ...O.columnPinning, left: F.filter((I) => L.has(I)) },
3448
3448
  columnSizing: O.columnSizing,
3449
3449
  columnSummaries: O.columnSummaries,
3450
3450
  columnSummaryScopes: O.columnSummaryScopes,
@@ -3472,7 +3472,7 @@ const Bo = g.div`
3472
3472
  };
3473
3473
  }, []);
3474
3474
  Z(() => {
3475
- const N = (T, V, F) => !!F && document.elementsFromPoint(T, V).some((R) => F.contains(R)), B = (T) => {
3475
+ const N = (T, V, F) => !!F && document.elementsFromPoint(T, V).some((L) => F.contains(L)), B = (T) => {
3476
3476
  const { clientX: V, clientY: F } = T;
3477
3477
  if (C.current) {
3478
3478
  h(
@@ -3480,11 +3480,11 @@ const Bo = g.div`
3480
3480
  );
3481
3481
  return;
3482
3482
  }
3483
- const R = k.current;
3484
- R && (Math.abs(V - R.x) < cn && Math.abs(F - R.y) < cn || !R.immediate && N(V, F, R.origin) || h({ column: R.column, x: V, y: F, grab: R.grab, target: dn(V, F) }));
3483
+ const L = k.current;
3484
+ L && (Math.abs(V - L.x) < cn && Math.abs(F - L.y) < cn || !L.immediate && N(V, F, L.origin) || h({ column: L.column, x: V, y: F, grab: L.grab, target: dn(V, F) }));
3485
3485
  }, O = () => {
3486
3486
  const T = C.current;
3487
- k.current = null, T && (Vi(), T.target && (m(T.column.value, T.target), y(!1)), h(null));
3487
+ k.current = null, T && (Bi(), T.target && (m(T.column.value, T.target), y(!1)), h(null));
3488
3488
  }, z = (T) => {
3489
3489
  T.key === "Escape" && x();
3490
3490
  };
@@ -3495,7 +3495,7 @@ const Bo = g.div`
3495
3495
  const P = d ? document.querySelector(`[${kn}]`)?.getBoundingClientRect() : void 0, $ = d ? hn(
3496
3496
  /* @__PURE__ */ w(me, { children: [
3497
3497
  P && /* @__PURE__ */ n(
3498
- Bi,
3498
+ Ui,
3499
3499
  {
3500
3500
  style: {
3501
3501
  left: P.left,
@@ -3506,38 +3506,38 @@ const Bo = g.div`
3506
3506
  }
3507
3507
  ),
3508
3508
  /* @__PURE__ */ w(
3509
- Ui,
3509
+ Hi,
3510
3510
  {
3511
3511
  style: {
3512
3512
  left: d.x - d.grab.x,
3513
3513
  top: d.y - d.grab.y,
3514
3514
  width: d.grab.width
3515
3515
  },
3516
- className: Mi(d),
3516
+ className: Vi(d),
3517
3517
  children: [
3518
- d.column.icon && /* @__PURE__ */ n(Y, { icon: d.column.icon }),
3518
+ d.column.icon && /* @__PURE__ */ n(G, { icon: d.column.icon }),
3519
3519
  /* @__PURE__ */ n("span", { children: d.column.label })
3520
3520
  ]
3521
3521
  }
3522
3522
  ),
3523
- d.target && /* @__PURE__ */ n(Oo, { style: d.target.line })
3523
+ d.target && /* @__PURE__ */ n(Ro, { style: d.target.line })
3524
3524
  ] }),
3525
3525
  document.body
3526
3526
  ) : null;
3527
3527
  return { armDrag: S, cancelDrag: x, isDragging: !!d, dragOverlay: $ };
3528
- }, Mi = (e) => e.target ? "over-target" : "", Vi = () => {
3528
+ }, Vi = (e) => e.target ? "over-target" : "", Bi = () => {
3529
3529
  const e = (t) => {
3530
3530
  t.stopPropagation(), t.preventDefault();
3531
3531
  };
3532
3532
  window.addEventListener("click", e, !0), setTimeout(() => window.removeEventListener("click", e, !0), 0);
3533
- }, Bi = g.div`
3533
+ }, Ui = g.div`
3534
3534
  position: fixed;
3535
3535
  box-sizing: border-box;
3536
3536
  z-index: 999;
3537
3537
  pointer-events: none;
3538
3538
  border-radius: 4px;
3539
3539
  background-color: color-mix(in srgb, var(--md-sys-color-primary) 8%, transparent);
3540
- `, Ui = g.div`
3540
+ `, Hi = g.div`
3541
3541
  position: fixed;
3542
3542
  box-sizing: border-box;
3543
3543
  z-index: 2000;
@@ -3568,7 +3568,7 @@ const Bo = g.div`
3568
3568
  columnVisibility: r,
3569
3569
  defaultColumnVisibility: a,
3570
3570
  updateColumnVisibility: s
3571
- }), { armDrag: y, cancelDrag: d, isDragging: h, dragOverlay: k } = Fi(), C = K({ isPainting: u, isDragging: h, cancelPaint: p });
3571
+ }), { armDrag: y, cancelDrag: d, isDragging: h, dragOverlay: k } = Mi(), C = K({ isPainting: u, isDragging: h, cancelPaint: p });
3572
3572
  C.current = { isPainting: u, isDragging: h, cancelPaint: p };
3573
3573
  const b = ee(
3574
3574
  (S, P) => {
@@ -3610,9 +3610,9 @@ const Bo = g.div`
3610
3610
  onColumnDragStart: y,
3611
3611
  isColumnDragging: h
3612
3612
  };
3613
- }, Hi = [], zi = [], Hn = ({
3614
- extraColumns: e = Hi,
3615
- hiddenColumns: t = zi,
3613
+ }, zi = [], ji = [], Hn = ({
3614
+ extraColumns: e = zi,
3615
+ hiddenColumns: t = ji,
3616
3616
  includeLinks: o = !0,
3617
3617
  parentColumns: r = []
3618
3618
  }) => {
@@ -3625,7 +3625,7 @@ const Bo = g.div`
3625
3625
  },
3626
3626
  {
3627
3627
  value: "name",
3628
- label: ko(i),
3628
+ label: Co(i),
3629
3629
  icon: Q("name")
3630
3630
  },
3631
3631
  {
@@ -3736,7 +3736,7 @@ const Bo = g.div`
3736
3736
  ),
3737
3737
  ...e.map((c) => ({
3738
3738
  ...c,
3739
- icon: c.icon ?? Rn
3739
+ icon: c.icon ?? Ln
3740
3740
  }))
3741
3741
  ],
3742
3742
  [i, s, a, o, r, e]
@@ -3745,14 +3745,14 @@ const Bo = g.div`
3745
3745
  [v, t]
3746
3746
  );
3747
3747
  return { columns: v, visibleColumns: f, scopes: i };
3748
- }, ji = g(H)`
3748
+ }, Ki = g(H)`
3749
3749
  min-width: 120px;
3750
- `, Ki = g(H)`
3750
+ `, Gi = g(H)`
3751
3751
  padding: 4px !important;
3752
- `, js = ({ defaultSelected: e, className: t, ...o }) => {
3752
+ `, Ks = ({ defaultSelected: e, className: t, ...o }) => {
3753
3753
  const { togglePanel: r, isPanelOpen: a } = Ze();
3754
3754
  return /* @__PURE__ */ n(
3755
- ji,
3755
+ Ki,
3756
3756
  {
3757
3757
  onClick: () => r(e),
3758
3758
  icon: "settings",
@@ -3761,7 +3761,7 @@ const Bo = g.div`
3761
3761
  children: "Customize"
3762
3762
  }
3763
3763
  );
3764
- }, Ks = ({
3764
+ }, Gs = ({
3765
3765
  settings: e = [],
3766
3766
  extraColumns: t,
3767
3767
  hiddenColumns: o,
@@ -3794,8 +3794,8 @@ const Bo = g.div`
3794
3794
  hiddenColumns: o,
3795
3795
  includeLinks: s,
3796
3796
  parentColumns: l
3797
- }), B = a && Co(a, p), O = N.filter(
3798
- (L) => ae(y, L.value, d)
3797
+ }), B = a && Io(a, p), O = N.filter(
3798
+ (R) => ae(y, R.value, d)
3799
3799
  ).length, {
3800
3800
  menuItems: z,
3801
3801
  dragOverlay: T,
@@ -3805,14 +3805,14 @@ const Bo = g.div`
3805
3805
  columns: N,
3806
3806
  scopes: u,
3807
3807
  extraItems: c
3808
- }), R = Ei({ scope: f }), I = Oi($), _ = [
3808
+ }), L = Ti({ scope: f }), I = Ri($), _ = [
3809
3809
  {
3810
3810
  id: "columns",
3811
3811
  title: "Columns",
3812
3812
  icon: "view_column",
3813
3813
  preview: `${O}/${N.length}`,
3814
3814
  headerActions: /* @__PURE__ */ n(
3815
- Ki,
3815
+ Gi,
3816
3816
  {
3817
3817
  variant: "text",
3818
3818
  icon: "search",
@@ -3823,7 +3823,7 @@ const Bo = g.div`
3823
3823
  ),
3824
3824
  component: /* @__PURE__ */ w(me, { children: [
3825
3825
  /* @__PURE__ */ n(
3826
- xi,
3826
+ wi,
3827
3827
  {
3828
3828
  columns: N,
3829
3829
  highlighted: B,
@@ -3839,11 +3839,11 @@ const Bo = g.div`
3839
3839
  ] })
3840
3840
  },
3841
3841
  i ? null : I,
3842
- R,
3842
+ L,
3843
3843
  {
3844
3844
  id: "row-height",
3845
3845
  component: /* @__PURE__ */ n(
3846
- Ii,
3846
+ Ei,
3847
3847
  {
3848
3848
  value: h,
3849
3849
  onChange: k,
@@ -3854,11 +3854,11 @@ const Bo = g.div`
3854
3854
  )
3855
3855
  }
3856
3856
  ].filter(Boolean);
3857
- return e.forEach((L) => {
3858
- if (r.includes(L.id)) return;
3859
- const M = _.findIndex((G) => G && "id" in G && G.id === L.id);
3860
- M !== -1 ? _[M] = L : _.push(L);
3861
- }), /* @__PURE__ */ n(si, { settings: _, order: v });
3857
+ return e.forEach((R) => {
3858
+ if (r.includes(R.id)) return;
3859
+ const M = _.findIndex((Y) => Y && "id" in Y && Y.id === R.id);
3860
+ M !== -1 ? _[M] = R : _.push(R);
3861
+ }), /* @__PURE__ */ n(li, { settings: _, order: v });
3862
3862
  }, yt = "add-column-menu-table", Yi = g.div`
3863
3863
  position: absolute;
3864
3864
  top: 4px;
@@ -3901,7 +3901,94 @@ const Bo = g.div`
3901
3901
  /* @__PURE__ */ n(Ct, { menuId: yt, menuItems: c }),
3902
3902
  p
3903
3903
  ] });
3904
- }, Gs = g.a`
3904
+ }, qs = Xn`
3905
+ .p-splitter > .p-splitter-gutter {
3906
+ position: relative;
3907
+
3908
+ /* widen the grab area without changing the layout gap */
3909
+ &::after {
3910
+ content: '';
3911
+ position: absolute;
3912
+ inset: 0;
3913
+ z-index: 1;
3914
+ }
3915
+
3916
+ /* subtle three dots in the middle (the other two are box-shadows, see layouts below) */
3917
+ &::before {
3918
+ content: '';
3919
+ position: absolute;
3920
+ top: 50%;
3921
+ left: 50%;
3922
+ width: 2px;
3923
+ height: 2px;
3924
+ border-radius: 50%;
3925
+ translate: -50% -50%;
3926
+ background: var(--md-sys-color-outline-variant);
3927
+ pointer-events: none;
3928
+ transition: opacity 0.1s ease-out;
3929
+ }
3930
+
3931
+ /* short delay so the handle doesn't flash when the cursor just passes over */
3932
+ &:hover::before {
3933
+ opacity: 0;
3934
+ transition-delay: 0.2s;
3935
+ }
3936
+
3937
+ &.p-splitter-gutter-resizing::before {
3938
+ opacity: 0;
3939
+ transition-delay: 0s;
3940
+ }
3941
+
3942
+ /* collapsed gutters (gutterSize 0) show no dots and have no grab area */
3943
+ &[style*='width: 0px'],
3944
+ &[style*='height: 0px'] {
3945
+ &::before,
3946
+ &::after {
3947
+ display: none;
3948
+ }
3949
+ }
3950
+ }
3951
+
3952
+ /* extra specificity to beat the PrimeReact and ayon-react-components handle styles in any load order */
3953
+ .p-splitter.p-component > .p-splitter-gutter > .p-splitter-gutter-handle {
3954
+ width: 100%;
3955
+ height: 100%;
3956
+ border-radius: 999px;
3957
+ background: var(--md-sys-color-primary);
3958
+ opacity: 0;
3959
+ transition: opacity 0.1s ease-out;
3960
+ }
3961
+ .p-splitter.p-component > .p-splitter-gutter:hover > .p-splitter-gutter-handle {
3962
+ opacity: 0.75;
3963
+ transition-delay: 0.2s;
3964
+ }
3965
+ .p-splitter.p-component > .p-splitter-gutter.p-splitter-gutter-resizing > .p-splitter-gutter-handle {
3966
+ opacity: 0.75;
3967
+ transition-delay: 0s;
3968
+ }
3969
+
3970
+ .p-splitter-horizontal > .p-splitter-gutter {
3971
+ &::before {
3972
+ box-shadow:
3973
+ 0 -5px 0 var(--md-sys-color-outline-variant),
3974
+ 0 5px 0 var(--md-sys-color-outline-variant);
3975
+ }
3976
+ &::after {
3977
+ inset: 0 -3px;
3978
+ }
3979
+ }
3980
+
3981
+ .p-splitter-vertical > .p-splitter-gutter {
3982
+ &::before {
3983
+ box-shadow:
3984
+ -5px 0 0 var(--md-sys-color-outline-variant),
3985
+ 5px 0 0 var(--md-sys-color-outline-variant);
3986
+ }
3987
+ &::after {
3988
+ inset: -3px 0;
3989
+ }
3990
+ }
3991
+ `, Ws = g.a`
3905
3992
  color: var(--md-sys-color-primary, #0066cc);
3906
3993
  text-decoration: none;
3907
3994
  cursor: pointer;
@@ -3913,7 +4000,7 @@ const Bo = g.div`
3913
4000
  &:hover {
3914
4001
  text-decoration: underline;
3915
4002
  }
3916
- `, Gi = g.div`
4003
+ `, qi = g.div`
3917
4004
  display: flex;
3918
4005
  gap: var(--base-gap-small);
3919
4006
  background-color: var(--md-sys-color-surface-container-high);
@@ -3926,14 +4013,14 @@ const Bo = g.div`
3926
4013
  background-color: var(--md-sys-color-surface-container-highest-hover);
3927
4014
  }
3928
4015
  }
3929
- `, qs = le(
4016
+ `, Xs = le(
3930
4017
  ({ showGrid: e, onChange: t, ...o }, r) => (Z(() => {
3931
4018
  const a = (s) => {
3932
4019
  const i = s.target;
3933
4020
  i.tagName === "INPUT" || i.tagName === "TEXTAREA" || i.isContentEditable || i.getAttribute("role") === "textbox" || i.tagName === "LI" || s.ctrlKey || s.metaKey || s.altKey || (s.key.toLowerCase() === "t" ? t(!1) : s.key.toLowerCase() === "c" && t(!0));
3934
4021
  };
3935
4022
  return window.addEventListener("keydown", a), () => window.removeEventListener("keydown", a);
3936
- }, [t]), /* @__PURE__ */ w(Gi, { ...o, ref: r, children: [
4023
+ }, [t]), /* @__PURE__ */ w(qi, { ...o, ref: r, children: [
3937
4024
  /* @__PURE__ */ n(
3938
4025
  un,
3939
4026
  {
@@ -3957,13 +4044,13 @@ const Bo = g.div`
3957
4044
  }
3958
4045
  )
3959
4046
  ] }))
3960
- ), qi = g.form`
4047
+ ), Wi = g.form`
3961
4048
  display: flex;
3962
4049
  flex-direction: column;
3963
4050
  gap: var(--base-gap-large);
3964
4051
  padding: var(--padding-m);
3965
4052
  width: 100%;
3966
- `, Wi = g(Et)`
4053
+ `, Xi = g(Et)`
3967
4054
  width: 100%;
3968
4055
  margin: auto;
3969
4056
 
@@ -3974,12 +4061,12 @@ const Bo = g.div`
3974
4061
  input {
3975
4062
  width: 100%;
3976
4063
  }
3977
- `, Xi = g.div`
4064
+ `, Qi = g.div`
3978
4065
  font-size: var(--font-size-xs);
3979
4066
  color: var(--md-sys-color-outline);
3980
4067
  margin-top: var(--base-gap-small);
3981
4068
  line-height: 1.3;
3982
- `, Qi = g.button`
4069
+ `, Ji = g.button`
3983
4070
  background: none;
3984
4071
  border: none;
3985
4072
  color: var(--md-sys-color-primary);
@@ -3992,7 +4079,7 @@ const Bo = g.div`
3992
4079
  &:hover {
3993
4080
  color: var(--md-sys-color-primary-dark);
3994
4081
  }
3995
- `, Ji = g.div`
4082
+ `, Zi = g.div`
3996
4083
  display: flex;
3997
4084
  align-items: start;
3998
4085
  gap: var(--base-gap-small);
@@ -4002,39 +4089,39 @@ const Bo = g.div`
4002
4089
  flex: 1;
4003
4090
  min-width: 0;
4004
4091
  }
4005
- `, Zi = g.div`
4092
+ `, ea = g.div`
4006
4093
  font-size: var(--font-size-xs);
4007
4094
  color: var(--md-sys-color-primary);
4008
4095
  margin-top: var(--base-gap-small);
4009
4096
  line-height: 1.3;
4010
- `, ea = g.div`
4097
+ `, ta = g.div`
4011
4098
  position: relative;
4012
4099
  min-height: 80px;
4013
- `, ta = g.div`
4100
+ `, na = g.div`
4014
4101
  display: flex;
4015
4102
  align-items: center;
4016
4103
  gap: var(--base-gap-small);
4017
4104
  width: 100%;
4018
- `, na = g(H)`
4105
+ `, oa = g(H)`
4019
4106
  flex: 1;
4020
- `, oa = g.div`
4107
+ `, ra = g.div`
4021
4108
  width: 100%;
4022
4109
  overflow: hidden;
4023
4110
  display: flex;
4024
4111
  min-width: 0;
4025
- `, ra = g.span`
4112
+ `, ia = g.span`
4026
4113
  overflow: hidden;
4027
4114
  text-overflow: ellipsis;
4028
4115
  white-space: nowrap;
4029
4116
  max-width: fit-content;
4030
4117
  margin-right: 4px;
4031
4118
  flex: 1;
4032
- `, ia = g.span`
4119
+ `, aa = g.span`
4033
4120
  white-space: nowrap;
4034
4121
  overflow: hidden;
4035
4122
  text-overflow: ellipsis;
4036
4123
  font-weight: bold;
4037
- `, aa = ({
4124
+ `, sa = ({
4038
4125
  formData: e,
4039
4126
  onChange: t,
4040
4127
  onSubmit: o,
@@ -4067,10 +4154,10 @@ const Bo = g.div`
4067
4154
  t("name", A.length > 0 ? A[0] : "");
4068
4155
  },
4069
4156
  [t]
4070
- ), V = N?.latestVersion ? `v${String(N.latestVersion.version).padStart(3, "0")}` : "", { data: F, isFetching: R } = mo(
4157
+ ), V = N?.latestVersion ? `v${String(N.latestVersion.version).padStart(3, "0")}` : "", { data: F, isFetching: L } = go(
4071
4158
  { projectName: a, taskId: k },
4072
4159
  { skip: !k }
4073
- ), I = b || !!k && R && !C, _ = F?.folderId || S, L = Sn(), M = F?.label || F?.name || C?.label || C?.name || "", G = F?.taskType || C?.taskType, ne = G ? L.getTaskType(G) : void 0, re = ne?.icon || "task_alt", be = F?.path ? F.path.substring(0, F.path.lastIndexOf("/")) : "", ye = L.getProductTypeOptions(), ue = X(() => L.productTypes.reduce((A, q) => (A[q.name] = q, A), {}), [L.productTypes]);
4160
+ ), I = b || !!k && L && !C, _ = F?.folderId || S, R = Sn(), M = F?.label || F?.name || C?.label || C?.name || "", Y = F?.taskType || C?.taskType, ne = Y ? R.getTaskType(Y) : void 0, re = ne?.icon || "task_alt", be = F?.path ? F.path.substring(0, F.path.lastIndexOf("/")) : "", ye = R.getProductTypeOptions(), ue = X(() => R.productTypes.reduce((A, q) => (A[q.name] = q, A), {}), [R.productTypes]);
4074
4161
  Z(() => {
4075
4162
  const A = f.current, q = ue[A]?.name || "", he = ue[e.productType]?.name || "";
4076
4163
  if (e.productType !== A && q && e.name.startsWith(q)) {
@@ -4079,7 +4166,7 @@ const Bo = g.div`
4079
4166
  }
4080
4167
  f.current = e.productType;
4081
4168
  }, [e.productType, e.name, t]);
4082
- const Re = (A) => {
4169
+ const Le = (A) => {
4083
4170
  A.preventDefault();
4084
4171
  const q = A.nativeEvent.submitter;
4085
4172
  q && q.closest(".dropdown") || o(e);
@@ -4098,11 +4185,11 @@ const Bo = g.div`
4098
4185
  return e.name && !e.name.startsWith(A);
4099
4186
  }, ie = !!i;
4100
4187
  return /* @__PURE__ */ w(
4101
- qi,
4188
+ Wi,
4102
4189
  {
4103
4190
  id: "upload-version-form",
4104
4191
  ref: l,
4105
- onSubmit: Re,
4192
+ onSubmit: Le,
4106
4193
  noValidate: !0,
4107
4194
  onKeyDown: (A) => {
4108
4195
  if (A.key === "Enter" && (A.metaKey || A.ctrlKey)) {
@@ -4111,8 +4198,8 @@ const Bo = g.div`
4111
4198
  }
4112
4199
  },
4113
4200
  children: [
4114
- /* @__PURE__ */ w(Wi, { children: [
4115
- !r.includes("name") && /* @__PURE__ */ n(te, { label: "Product Name", children: /* @__PURE__ */ w(Ji, { children: [
4201
+ /* @__PURE__ */ w(Xi, { children: [
4202
+ !r.includes("name") && /* @__PURE__ */ n(te, { label: "Product Name", children: /* @__PURE__ */ w(Zi, { children: [
4116
4203
  /* @__PURE__ */ w("div", { children: [
4117
4204
  /* @__PURE__ */ n(
4118
4205
  Ae,
@@ -4127,17 +4214,17 @@ const Bo = g.div`
4127
4214
  disabled: ie
4128
4215
  }
4129
4216
  ),
4130
- N && /* @__PURE__ */ n(Zi, { children: N.latestVersion ? /* @__PURE__ */ w(me, { children: [
4217
+ N && /* @__PURE__ */ n(ea, { children: N.latestVersion ? /* @__PURE__ */ w(me, { children: [
4131
4218
  "Matched existing product (latest: ",
4132
4219
  V,
4133
4220
  ")"
4134
4221
  ] }) : "Matched existing product (no versions)" }),
4135
- !N && ce() && /* @__PURE__ */ w(Xi, { id: "name-recommendation", children: [
4222
+ !N && ce() && /* @__PURE__ */ w(Qi, { id: "name-recommendation", children: [
4136
4223
  'We recommend prefixing with "',
4137
4224
  ue[e.productType]?.name,
4138
4225
  '".',
4139
4226
  " ",
4140
- /* @__PURE__ */ n(Qi, { type: "button", onClick: ge, children: "Apply prefix" })
4227
+ /* @__PURE__ */ n(Ji, { type: "button", onClick: ge, children: "Apply prefix" })
4141
4228
  ] })
4142
4229
  ] }),
4143
4230
  !v && !ie && /* @__PURE__ */ n(
@@ -4192,23 +4279,23 @@ const Bo = g.div`
4192
4279
  disabled: ie
4193
4280
  }
4194
4281
  ) }),
4195
- /* @__PURE__ */ n(te, { label: "Task", children: /* @__PURE__ */ n(ta, { children: I ? /* @__PURE__ */ n(Fo, { height: "20px" }) : k && M ? /* @__PURE__ */ w(me, { children: [
4282
+ /* @__PURE__ */ n(te, { label: "Task", children: /* @__PURE__ */ n(na, { children: I ? /* @__PURE__ */ n(Mo, { height: "20px" }) : k && M ? /* @__PURE__ */ w(me, { children: [
4196
4283
  /* @__PURE__ */ w(
4197
- na,
4284
+ oa,
4198
4285
  {
4199
4286
  type: "button",
4200
4287
  onClick: () => O(!0),
4201
4288
  disabled: ie,
4202
4289
  variant: "text",
4203
4290
  children: [
4204
- /* @__PURE__ */ n(Y, { icon: re, style: { color: ne?.color } }),
4205
- /* @__PURE__ */ w(oa, { children: [
4206
- be && /* @__PURE__ */ w(ra, { children: [
4291
+ /* @__PURE__ */ n(G, { icon: re, style: { color: ne?.color } }),
4292
+ /* @__PURE__ */ w(ra, { children: [
4293
+ be && /* @__PURE__ */ w(ia, { children: [
4207
4294
  be.split("/").filter(Boolean).join(" / "),
4208
4295
  " /",
4209
4296
  " "
4210
4297
  ] }),
4211
- /* @__PURE__ */ n(ia, { children: M })
4298
+ /* @__PURE__ */ n(aa, { children: M })
4212
4299
  ] })
4213
4300
  ]
4214
4301
  }
@@ -4238,7 +4325,7 @@ const Bo = g.div`
4238
4325
  ) }) })
4239
4326
  ] }),
4240
4327
  B && /* @__PURE__ */ n(
4241
- Eo,
4328
+ To,
4242
4329
  {
4243
4330
  projectName: a,
4244
4331
  entityType: "task",
@@ -4253,8 +4340,8 @@ const Bo = g.div`
4253
4340
  }
4254
4341
  ),
4255
4342
  /* @__PURE__ */ n(te, { label: "Reviewable files" }),
4256
- /* @__PURE__ */ n(ea, { children: /* @__PURE__ */ n(
4257
- ho,
4343
+ /* @__PURE__ */ n(ta, { children: /* @__PURE__ */ n(
4344
+ vo,
4258
4345
  {
4259
4346
  projectName: a,
4260
4347
  versionId: i,
@@ -4277,15 +4364,15 @@ const Bo = g.div`
4277
4364
  ]
4278
4365
  }
4279
4366
  );
4280
- }, sa = (e) => {
4367
+ }, la = (e) => {
4281
4368
  let t = String(e), o = Math.max(0, 3 - t.length);
4282
4369
  return `v${"0".repeat(o)}${t}`;
4283
- }, la = g.span`
4370
+ }, ca = g.span`
4284
4371
  background-color: var(--md-sys-color-error-container);
4285
4372
  color: var(--md-sys-color-on-error-container);
4286
4373
  padding: var(--padding-s);
4287
4374
  border-radius: var(--border-radius-m);
4288
- `, Ws = () => {
4375
+ `, Qs = () => {
4289
4376
  const {
4290
4377
  isOpen: e,
4291
4378
  onCloseVersionUpload: t,
@@ -4309,7 +4396,7 @@ const Bo = g.div`
4309
4396
  {
4310
4397
  type: "submit",
4311
4398
  form: "upload-version-form",
4312
- label: `Create ${sa(s.version)}`,
4399
+ label: `Create ${la(s.version)}`,
4313
4400
  icon: "upload",
4314
4401
  active: !0,
4315
4402
  saving: c
@@ -4327,7 +4414,7 @@ const Bo = g.div`
4327
4414
  style: { width: 600, maxHeight: "80vh" },
4328
4415
  children: [
4329
4416
  /* @__PURE__ */ n(
4330
- aa,
4417
+ sa,
4331
4418
  {
4332
4419
  formData: s,
4333
4420
  minVersion: i,
@@ -4339,11 +4426,11 @@ const Bo = g.div`
4339
4426
  productId: d
4340
4427
  }
4341
4428
  ),
4342
- k && /* @__PURE__ */ n(la, { className: "error", children: so(l) })
4429
+ k && /* @__PURE__ */ n(ca, { className: "error", children: lo(l) })
4343
4430
  ]
4344
4431
  }
4345
4432
  );
4346
- }, ca = g.div`
4433
+ }, da = g.div`
4347
4434
  --reviewable-card-width: 62px;
4348
4435
 
4349
4436
  position: relative;
@@ -4351,14 +4438,14 @@ const Bo = g.div`
4351
4438
  z-index: 1000;
4352
4439
  overflow: hidden;
4353
4440
  padding-bottom: var(--padding-m);
4354
- `, da = g(Mo)`
4441
+ `, ua = g(Vo)`
4355
4442
  display: flex;
4356
4443
  flex-direction: column;
4357
4444
  justify-content: flex-start;
4358
4445
  align-items: center;
4359
4446
  min-width: fit-content;
4360
4447
  gap: var(--base-gap-small);
4361
- `, ua = g.div`
4448
+ `, pa = g.div`
4362
4449
  position: relative;
4363
4450
  flex-shrink: 0;
4364
4451
  display: flex;
@@ -4408,7 +4495,7 @@ const Bo = g.div`
4408
4495
  border-color: var(--selection-border-color);
4409
4496
  color: var(--selection-color);
4410
4497
  }
4411
- `, pa = g.span`
4498
+ `, ma = g.span`
4412
4499
  padding: var(--padding-m);
4413
4500
  border-radius: var(--border-radius-m);
4414
4501
  background-color: var(--md-sys-color-surface-container-low);
@@ -4419,7 +4506,7 @@ const Bo = g.div`
4419
4506
  left: -8px;
4420
4507
  transform: translateX(-100%) translateY(-50%);
4421
4508
  z-index: 1000;
4422
- `, ma = g(H)`
4509
+ `, ga = g(H)`
4423
4510
  width: var(--reviewable-card-width);
4424
4511
  aspect-ratio: 16 / 9;
4425
4512
  flex-shrink: 0;
@@ -4428,7 +4515,7 @@ const Bo = g.div`
4428
4515
  &:hover {
4429
4516
  background-color: var(--md-sys-color-surface-container-high-hover);
4430
4517
  }
4431
- `, ga = g.div`
4518
+ `, ha = g.div`
4432
4519
  border-radius: var(--border-radius-m);
4433
4520
  background-color: var(--md-sys-color-surface-container-high);
4434
4521
  position: absolute;
@@ -4436,7 +4523,7 @@ const Bo = g.div`
4436
4523
  right: var(--padding-s);
4437
4524
  padding: var(--padding-s);
4438
4525
  `;
4439
- function ha({
4526
+ function va({
4440
4527
  fileId: e,
4441
4528
  label: t,
4442
4529
  selected: o,
@@ -4449,9 +4536,9 @@ function ha({
4449
4536
  selectionVariant: c = "primary",
4450
4537
  shortcut: l
4451
4538
  }) {
4452
- const [p] = Vo();
4539
+ const [p] = Bo();
4453
4540
  return /* @__PURE__ */ w(
4454
- ua,
4541
+ pa,
4455
4542
  {
4456
4543
  id: "preview-" + e,
4457
4544
  onClick: (u) => i?.(e, u.metaKey || u.ctrlKey),
@@ -4466,14 +4553,14 @@ function ha({
4466
4553
  },
4467
4554
  tabIndex: 0,
4468
4555
  children: [
4469
- /* @__PURE__ */ n(vo, { src: `/api/projects/${r}/files/${e}/thumbnail` }),
4470
- v && /* @__PURE__ */ n(ga, { children: v })
4556
+ /* @__PURE__ */ n(fo, { src: `/api/projects/${r}/files/${e}/thumbnail` }),
4557
+ v && /* @__PURE__ */ n(ha, { children: v })
4471
4558
  ]
4472
4559
  },
4473
4560
  e
4474
4561
  );
4475
4562
  }
4476
- const Xs = le(({
4563
+ const Js = le(({
4477
4564
  reviewables: e = [],
4478
4565
  selected: t = [],
4479
4566
  projectName: o,
@@ -4486,7 +4573,7 @@ const Xs = le(({
4486
4573
  const S = m.getBoundingClientRect(), P = x.getBoundingClientRect();
4487
4574
  P.top < S.top ? m.scrollTop -= S.top - P.top : P.bottom > S.bottom && (m.scrollTop += P.bottom - S.bottom), i.current?.updateScroll?.();
4488
4575
  };
4489
- Qn(
4576
+ Jn(
4490
4577
  s,
4491
4578
  () => ({
4492
4579
  notifyNavigation: ({ fileId: b, label: m }) => {
@@ -4528,9 +4615,9 @@ const Xs = le(({
4528
4615
  if (b === (k - 1 + m) % m) return "W";
4529
4616
  if (b === (k + 1) % m) return "S";
4530
4617
  };
4531
- return /* @__PURE__ */ w(ca, { children: [
4618
+ return /* @__PURE__ */ w(da, { children: [
4532
4619
  /* @__PURE__ */ w(
4533
- da,
4620
+ ua,
4534
4621
  {
4535
4622
  className: "reviewables",
4536
4623
  ref: i,
@@ -4539,7 +4626,7 @@ const Xs = le(({
4539
4626
  },
4540
4627
  children: [
4541
4628
  e.map(({ fileId: b, label: m, tag: x, selectionVariant: S, contextMenuItems: P }, $) => /* @__PURE__ */ n(
4542
- ha,
4629
+ va,
4543
4630
  {
4544
4631
  shortcut: C($),
4545
4632
  projectName: o,
@@ -4556,7 +4643,7 @@ const Xs = le(({
4556
4643
  b
4557
4644
  )),
4558
4645
  !!a && /* @__PURE__ */ n(
4559
- ma,
4646
+ ga,
4560
4647
  {
4561
4648
  icon: "add",
4562
4649
  onClick: a,
@@ -4566,59 +4653,60 @@ const Xs = le(({
4566
4653
  ]
4567
4654
  }
4568
4655
  ),
4569
- f && l && /* @__PURE__ */ n(pa, { style: { top: l }, children: f })
4656
+ f && l && /* @__PURE__ */ n(ma, { style: { top: l }, children: f })
4570
4657
  ] });
4571
4658
  });
4572
4659
  export {
4573
- ys as A,
4574
- Xs as B,
4575
- fs as C,
4576
- Is as D,
4577
- Ko as E,
4578
- Vs as F,
4579
- Yt as G,
4580
- ni as H,
4581
- zs as I,
4582
- si as J,
4660
+ xs as A,
4661
+ Js as B,
4662
+ bs as C,
4663
+ Es as D,
4664
+ Go as E,
4665
+ Bs as F,
4666
+ Gt as G,
4667
+ oi as H,
4668
+ js as I,
4669
+ li as J,
4583
4670
  ot as K,
4584
4671
  Ls as L,
4585
- Ms as M,
4586
- qo as N,
4587
- Ii as O,
4588
- Rs as P,
4589
- Gs as Q,
4590
- Hs as R,
4591
- bs as S,
4592
- ks as T,
4593
- Gt as U,
4594
- qs as V,
4595
- qt as W,
4596
- Ws as X,
4597
- xs as Y,
4598
- Ss as a,
4599
- Es as b,
4600
- Ts as c,
4601
- Ns as d,
4602
- Ps as e,
4603
- _s as f,
4604
- Cs as g,
4605
- Fs as h,
4606
- Bs as i,
4607
- $s as j,
4608
- Us as k,
4672
+ Vs as M,
4673
+ Wo as N,
4674
+ Ei as O,
4675
+ $s as P,
4676
+ qs as Q,
4677
+ zs as R,
4678
+ ys as S,
4679
+ Cs as T,
4680
+ Ws as U,
4681
+ Yt as V,
4682
+ Xs as W,
4683
+ qt as X,
4684
+ Qs as Y,
4685
+ ws as Z,
4686
+ ks as a,
4687
+ Ts as b,
4688
+ Ns as c,
4689
+ Ps as d,
4690
+ _s as e,
4691
+ Ds as f,
4692
+ Is as g,
4693
+ Ms as h,
4694
+ Us as i,
4695
+ Fs as j,
4696
+ Hs as k,
4609
4697
  St as l,
4610
4698
  Ys as m,
4611
- vs as n,
4612
- ws as o,
4613
- fi as p,
4614
- xi as q,
4615
- js as r,
4616
- As as s,
4699
+ fs as n,
4700
+ Ss as o,
4701
+ bi as p,
4702
+ wi as q,
4703
+ Ks as r,
4704
+ Os as s,
4617
4705
  Yo as t,
4618
- Ds as u,
4619
- pr as v,
4620
- ar as w,
4621
- Os as x,
4706
+ As as u,
4707
+ mr as v,
4708
+ sr as w,
4709
+ Rs as x,
4622
4710
  Wt as y,
4623
- Ks as z
4711
+ Gs as z
4624
4712
  };