@epam/ai-dial-conversation-panel 1.3.0-dev.189 → 1.3.0-dev.195

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.
package/index.js CHANGED
@@ -1,32 +1,32 @@
1
1
  import { ConversationKind as e, DeploymentIcon as t, FilterTab as n, buildCssVars as r, getUtf8ByteLength as i, mergeClasses as a, sanitizeConversationName as o, stripTrailingDots as s } from "@epam/ai-dial-chat-shared";
2
2
  import { PanelEmpty as c, PanelNoResults as l, SidebarOrientation as u, SidebarPanel as d } from "@epam/ai-dial-sidebar";
3
- import { Button as f, ButtonVariant as p, DIAL_ICON_SIZE as m, DIAL_KIT_ICON_STROKE as h, Dropdown as g, ElementSize as _, EllipsisTooltip as v, FilterChips as y, GhostIconButton as b, Highlight as x, Input as S, MenuItemMark as C, Popup as w, PopupSize as T, Search as E, Skeleton as D, SkeletonVariant as O, Spinner as k, mergeClasses as A } from "@epam/ai-dial-ui-kit";
4
- import { createElement as j, memo as M, useCallback as N, useEffect as P, useId as F, useImperativeHandle as I, useLayoutEffect as L, useMemo as R, useRef as z, useState as B } from "react";
5
- import { Fragment as V, jsx as H, jsxs as U } from "react/jsx-runtime";
6
- import { IconCaretDownFilled as ee, IconCaretRightFilled as te, IconChevronDown as W, IconChevronRight as ne, IconDotsVertical as re, IconFilter2 as ie, IconPlus as ae, IconSearch as oe, IconSparkles as G, IconX as se } from "@tabler/icons-react";
3
+ import { Button as f, ButtonVariant as p, DIAL_ICON_SIZE as m, DIAL_KIT_ICON_STROKE as h, Dropdown as g, ElementSize as _, EllipsisTooltip as v, FilterChips as y, GhostIconButton as b, Highlight as x, Input as S, MenuItemMark as C, Popup as w, PopupSize as T, Search as E, Skeleton as D, SkeletonVariant as O, Spinner as ee, mergeClasses as k } from "@epam/ai-dial-ui-kit";
4
+ import { createElement as A, memo as j, useCallback as M, useEffect as N, useId as te, useImperativeHandle as P, useLayoutEffect as F, useMemo as I, useRef as L, useState as R } from "react";
5
+ import { Fragment as z, jsx as B, jsxs as V } from "react/jsx-runtime";
6
+ import { IconCaretDownFilled as H, IconCaretRightFilled as ne, IconChevronDown as U, IconChevronRight as re, IconDotsVertical as ie, IconFilter2 as ae, IconPlus as oe, IconSearch as se, IconSparkles as W, IconX as ce } from "@tabler/icons-react";
7
7
  //#region src/constants/public-class-names.ts
8
- var ce = {
8
+ var le = {
9
9
  newChatButton: "dial-cp-new-chat-button",
10
10
  search: "dial-cp-search",
11
11
  list: "dial-cp-list",
12
12
  listHeader: "dial-cp-list-header",
13
13
  listSection: "dial-cp-list-section"
14
- }, K = typeof window < "u" ? L : P;
15
- function q(e) {
14
+ }, G = typeof window < "u" ? F : N;
15
+ function K(e) {
16
16
  if (e !== void 0) switch (typeof e) {
17
17
  case "number": return e;
18
18
  case "string": if (e.endsWith("px")) return parseFloat(e);
19
19
  }
20
20
  }
21
- function J({ box: e, defaultHeight: t, defaultWidth: n, disabled: r, element: i, mode: a, style: o }) {
22
- let { styleHeight: s, styleWidth: c } = R(() => ({
23
- styleHeight: q(o?.height),
24
- styleWidth: q(o?.width)
25
- }), [o?.height, o?.width]), [l, u] = B({
21
+ function q({ box: e, defaultHeight: t, defaultWidth: n, disabled: r, element: i, mode: a, style: o }) {
22
+ let { styleHeight: s, styleWidth: c } = I(() => ({
23
+ styleHeight: K(o?.height),
24
+ styleWidth: K(o?.width)
25
+ }), [o?.height, o?.width]), [l, u] = R({
26
26
  height: t,
27
27
  width: n
28
28
  }), d = r || a === "only-height" && s !== void 0 || a === "only-width" && c !== void 0 || s !== void 0 && c !== void 0;
29
- return K(() => {
29
+ return G(() => {
30
30
  if (i === null || d) return;
31
31
  let t = new ResizeObserver((e) => {
32
32
  for (let t of e) {
@@ -46,7 +46,7 @@ function J({ box: e, defaultHeight: t, defaultWidth: n, disabled: r, element: i,
46
46
  i,
47
47
  s,
48
48
  c
49
- ]), R(() => ({
49
+ ]), I(() => ({
50
50
  height: s ?? l.height,
51
51
  width: c ?? l.width
52
52
  }), [
@@ -55,23 +55,23 @@ function J({ box: e, defaultHeight: t, defaultWidth: n, disabled: r, element: i,
55
55
  c
56
56
  ]);
57
57
  }
58
- function le(e) {
59
- let t = z(() => {
58
+ function ue(e) {
59
+ let t = L(() => {
60
60
  throw Error("Cannot call during render.");
61
61
  });
62
- return K(() => {
62
+ return G(() => {
63
63
  t.current = e;
64
- }, [e]), N((e) => t.current?.(e), [t]);
64
+ }, [e]), M((e) => t.current?.(e), [t]);
65
65
  }
66
- var ue = null;
66
+ var J = null;
67
67
  function de(e = !1) {
68
- if (ue === null || e) {
68
+ if (J === null || e) {
69
69
  let e = document.createElement("div"), t = e.style;
70
70
  t.width = "50px", t.height = "50px", t.overflow = "scroll", t.direction = "rtl";
71
71
  let n = document.createElement("div"), r = n.style;
72
- return r.width = "100px", r.height = "100px", e.appendChild(n), document.body.appendChild(e), e.scrollLeft > 0 ? ue = "positive-descending" : (e.scrollLeft = 1, ue = e.scrollLeft === 0 ? "negative" : "positive-ascending"), document.body.removeChild(e), ue;
72
+ return r.width = "100px", r.height = "100px", e.appendChild(n), document.body.appendChild(e), e.scrollLeft > 0 ? J = "positive-descending" : (e.scrollLeft = 1, J = e.scrollLeft === 0 ? "negative" : "positive-ascending"), document.body.removeChild(e), J;
73
73
  }
74
- return ue;
74
+ return J;
75
75
  }
76
76
  function fe({ containerElement: e, direction: t, isRtl: n, scrollOffset: r }) {
77
77
  if (t === "horizontal" && n) switch (de()) {
@@ -168,8 +168,8 @@ function _e({ itemCount: e, itemProps: t, itemSize: n }) {
168
168
  }
169
169
  };
170
170
  }
171
- function X({ itemCount: e, itemProps: t, itemSize: n }) {
172
- return R(() => _e({
171
+ function ve({ itemCount: e, itemProps: t, itemSize: n }) {
172
+ return I(() => _e({
173
173
  itemCount: e,
174
174
  itemProps: t,
175
175
  itemSize: n
@@ -179,7 +179,7 @@ function X({ itemCount: e, itemProps: t, itemSize: n }) {
179
179
  n
180
180
  ]);
181
181
  }
182
- function ve({ containerSize: e, itemSize: t }) {
182
+ function X({ containerSize: e, itemSize: t }) {
183
183
  let n;
184
184
  switch (typeof t) {
185
185
  case "string":
@@ -190,20 +190,20 @@ function ve({ containerSize: e, itemSize: t }) {
190
190
  return n;
191
191
  }
192
192
  function ye({ containerElement: e, containerStyle: t, defaultContainerSize: n = 0, direction: r, isRtl: i = !1, itemCount: a, itemProps: o, itemSize: s, onResize: c, overscanCount: l }) {
193
- let { height: u = n, width: d = n } = J({
193
+ let { height: u = n, width: d = n } = q({
194
194
  defaultHeight: r === "vertical" ? n : void 0,
195
195
  defaultWidth: r === "horizontal" ? n : void 0,
196
196
  element: e,
197
197
  mode: r === "vertical" ? "only-height" : "only-width",
198
198
  style: t
199
- }), f = z({
199
+ }), f = L({
200
200
  height: 0,
201
201
  width: 0
202
- }), p = r === "vertical" ? u : d, m = ve({
202
+ }), p = r === "vertical" ? u : d, m = X({
203
203
  containerSize: p,
204
204
  itemSize: s
205
205
  });
206
- L(() => {
206
+ F(() => {
207
207
  if (typeof c == "function") {
208
208
  let e = f.current;
209
209
  (e.height !== u || e.width !== d) && (c({
@@ -216,11 +216,11 @@ function ye({ containerElement: e, containerStyle: t, defaultContainerSize: n =
216
216
  c,
217
217
  d
218
218
  ]);
219
- let h = X({
219
+ let h = ve({
220
220
  itemCount: a,
221
221
  itemProps: o,
222
222
  itemSize: m
223
- }), g = N((e) => h.get(e), [h]), [_, v] = B(() => ge({
223
+ }), g = M((e) => h.get(e), [h]), [_, v] = R(() => ge({
224
224
  cachedBounds: h,
225
225
  containerScrollOffset: 0,
226
226
  containerSize: p,
@@ -231,7 +231,7 @@ function ye({ containerElement: e, containerStyle: t, defaultContainerSize: n =
231
231
  startIndexOverscan: Math.min(a - 1, _.startIndexOverscan),
232
232
  stopIndexVisible: Math.min(a - 1, _.stopIndexVisible),
233
233
  stopIndexOverscan: Math.min(a - 1, _.stopIndexOverscan)
234
- }, C = N(() => me({
234
+ }, C = M(() => me({
235
235
  cachedBounds: h,
236
236
  itemCount: a,
237
237
  itemSize: m
@@ -239,7 +239,7 @@ function ye({ containerElement: e, containerStyle: t, defaultContainerSize: n =
239
239
  h,
240
240
  a,
241
241
  m
242
- ]), w = N((t) => {
242
+ ]), w = M((t) => {
243
243
  let n = fe({
244
244
  containerElement: e,
245
245
  direction: r,
@@ -262,14 +262,14 @@ function ye({ containerElement: e, containerStyle: t, defaultContainerSize: n =
262
262
  a,
263
263
  l
264
264
  ]);
265
- return K(() => {
265
+ return G(() => {
266
266
  let t = (r === "vertical" ? e?.scrollTop : e?.scrollLeft) ?? 0;
267
267
  v(w(t));
268
268
  }, [
269
269
  e,
270
270
  r,
271
271
  w
272
- ]), K(() => {
272
+ ]), G(() => {
273
273
  if (!e) return;
274
274
  let t = () => {
275
275
  v((t) => {
@@ -301,7 +301,7 @@ function ye({ containerElement: e, containerStyle: t, defaultContainerSize: n =
301
301
  ]), {
302
302
  getCellBounds: g,
303
303
  getEstimatedSize: C,
304
- scrollToIndex: le(({ align: t = "auto", containerScrollOffset: n, index: o }) => {
304
+ scrollToIndex: ue(({ align: t = "auto", containerScrollOffset: n, index: o }) => {
305
305
  let s = he({
306
306
  align: t,
307
307
  cachedBounds: h,
@@ -331,7 +331,7 @@ function ye({ containerElement: e, containerStyle: t, defaultContainerSize: n =
331
331
  };
332
332
  }
333
333
  function be(e) {
334
- return R(() => e, Object.values(e));
334
+ return I(() => e, Object.values(e));
335
335
  }
336
336
  function xe(e, t) {
337
337
  let { ariaAttributes: n, style: r, ...i } = e, { ariaAttributes: a, style: o, ...s } = t;
@@ -342,18 +342,18 @@ function Se(e) {
342
342
  }
343
343
  var Ce = "data-react-window-index";
344
344
  function we({ children: e, className: t, defaultHeight: n = 0, listRef: r, onResize: i, onRowsRendered: a, overscanCount: o = 3, rowComponent: s, rowCount: c, rowHeight: l, rowProps: u, tagName: d = "div", style: f, ...p }) {
345
- let m = be(u), h = R(() => M(s, xe), [s]), [g, _] = B(null), v = Se(l), { getCellBounds: y, getEstimatedSize: b, scrollToIndex: x, startIndexOverscan: S, startIndexVisible: C, stopIndexOverscan: w, stopIndexVisible: T } = ye({
345
+ let m = be(u), h = I(() => j(s, xe), [s]), [g, _] = R(null), v = Se(l), { getCellBounds: y, getEstimatedSize: b, scrollToIndex: x, startIndexOverscan: S, startIndexVisible: C, stopIndexOverscan: w, stopIndexVisible: T } = ye({
346
346
  containerElement: g,
347
347
  containerStyle: f,
348
348
  defaultContainerSize: n,
349
349
  direction: "vertical",
350
350
  itemCount: c,
351
351
  itemProps: m,
352
- itemSize: R(() => v ? (e) => l.getRowHeight(e) ?? l.getAverageRowHeight() : l, [v, l]),
352
+ itemSize: I(() => v ? (e) => l.getRowHeight(e) ?? l.getAverageRowHeight() : l, [v, l]),
353
353
  onResize: i,
354
354
  overscanCount: o
355
355
  });
356
- I(r, () => ({
356
+ P(r, () => ({
357
357
  get element() {
358
358
  return g;
359
359
  },
@@ -368,7 +368,7 @@ function we({ children: e, className: t, defaultHeight: n = 0, listRef: r, onRes
368
368
  top: r
369
369
  });
370
370
  }
371
- }), [g, x]), K(() => {
371
+ }), [g, x]), G(() => {
372
372
  if (!g) return;
373
373
  let e = Array.from(g.children).filter((e, t) => {
374
374
  if (e.hasAttribute("aria-hidden")) return !1;
@@ -382,7 +382,7 @@ function we({ children: e, className: t, defaultHeight: n = 0, listRef: r, onRes
382
382
  l,
383
383
  S,
384
384
  w
385
- ]), P(() => {
385
+ ]), N(() => {
386
386
  S >= 0 && w >= 0 && a && a({
387
387
  startIndex: C,
388
388
  stopIndex: T
@@ -397,11 +397,11 @@ function we({ children: e, className: t, defaultHeight: n = 0, listRef: r, onRes
397
397
  w,
398
398
  T
399
399
  ]);
400
- let E = R(() => {
400
+ let E = I(() => {
401
401
  let e = [];
402
402
  if (c > 0) for (let t = S; t <= w; t++) {
403
403
  let n = y(t);
404
- e.push(/* @__PURE__ */ j(h, {
404
+ e.push(/* @__PURE__ */ A(h, {
405
405
  ...m,
406
406
  ariaAttributes: {
407
407
  "aria-posinset": t + 1,
@@ -428,7 +428,7 @@ function we({ children: e, className: t, defaultHeight: n = 0, listRef: r, onRes
428
428
  m,
429
429
  S,
430
430
  w
431
- ]), D = /* @__PURE__ */ H("div", {
431
+ ]), D = /* @__PURE__ */ B("div", {
432
432
  "aria-hidden": !0,
433
433
  style: {
434
434
  height: b(),
@@ -436,7 +436,7 @@ function we({ children: e, className: t, defaultHeight: n = 0, listRef: r, onRes
436
436
  zIndex: -1
437
437
  }
438
438
  });
439
- return j(d, {
439
+ return A(d, {
440
440
  role: "list",
441
441
  ...p,
442
442
  className: t,
@@ -508,7 +508,7 @@ var Z = /* @__PURE__ */ function(e) {
508
508
  list: "_list_gcqru_70"
509
509
  }, Re = ({ label: e, isExpanded: t, onToggle: n, listId: r, className: i = "dial-tiny-lead-text", variant: o = Q.Avatar, dropZoneGroupKey: s, isDragOver: c, onDragOver: l, onDragLeave: u, onDrop: d }) => {
510
510
  let f = s != null, p = o === Q.Indicator;
511
- return /* @__PURE__ */ U("button", {
511
+ return /* @__PURE__ */ V("button", {
512
512
  type: "button",
513
513
  "aria-expanded": t,
514
514
  "aria-controls": r,
@@ -524,25 +524,25 @@ var Z = /* @__PURE__ */ function(e) {
524
524
  } : void 0,
525
525
  className: a("group flex h-6 w-full items-center gap-1 rounded text-start", p ? "px-2" : "py-1 pe-3", i, $.groupHeader, c && $.dropZoneActive),
526
526
  children: [
527
- !p && (t ? /* @__PURE__ */ H(ee, {
527
+ !p && (t ? /* @__PURE__ */ B(H, {
528
528
  size: 12,
529
529
  className: "shrink-0 opacity-0 transition-opacity duration-150 group-hover:opacity-100 group-focus-visible:opacity-100",
530
530
  "aria-hidden": !0
531
- }) : /* @__PURE__ */ H(te, {
531
+ }) : /* @__PURE__ */ B(ne, {
532
532
  size: 12,
533
533
  className: "shrink-0 opacity-0 transition-opacity duration-150 group-hover:opacity-100 group-focus-visible:opacity-100 rtl:scale-x-[-1]",
534
534
  "aria-hidden": !0
535
535
  })),
536
- p ? /* @__PURE__ */ H("span", {
536
+ p ? /* @__PURE__ */ B("span", {
537
537
  className: "max-w-full min-w-0",
538
- children: /* @__PURE__ */ H(v, { text: e })
539
- }) : /* @__PURE__ */ H(v, { text: e }),
540
- p && (t ? /* @__PURE__ */ H(W, {
538
+ children: /* @__PURE__ */ B(v, { text: e })
539
+ }) : /* @__PURE__ */ B(v, { text: e }),
540
+ p && (t ? /* @__PURE__ */ B(U, {
541
541
  size: m.SM,
542
542
  stroke: h,
543
543
  className: "shrink-0 opacity-0 transition-opacity duration-150 group-hover:opacity-100 group-focus-visible:opacity-100",
544
544
  "aria-hidden": !0
545
- }) : /* @__PURE__ */ H(ne, {
545
+ }) : /* @__PURE__ */ B(re, {
546
546
  size: m.SM,
547
547
  stroke: h,
548
548
  className: "shrink-0 opacity-0 transition-opacity duration-150 group-hover:opacity-100 group-focus-visible:opacity-100 rtl:scale-x-[-1]",
@@ -550,104 +550,104 @@ var Z = /* @__PURE__ */ function(e) {
550
550
  }))
551
551
  ]
552
552
  });
553
- }, ze = M(({ item: e, isActive: n, onSelectConversation: r, searchQuery: i = "", getActions: o, onActionMenuOpen: s, actionsLabel: c = "More actions", itemTitleClassName: l = "dial-small-text", itemIconBadgeClassName: u, unreadIndicatorLabel: d = "Unread", variant: p = Q.Avatar, rowGroupKey: v, rows: y, draggingId: S, dragOverId: C, allowedDropGroups: w, onDragStart: T, onDragEnd: E, onDragOver: k, onDragLeave: A, onDrop: j }) => {
554
- let [M, P] = B(!1), F = z(null), I = N((t) => {
555
- P(t), t && F.current && s?.(e, F.current);
556
- }, [e, s]), L = R(() => o?.(e) ?? [], [o, e]), V = L.length > 0, ee = R(() => ({ tooltip: e.iconTooltip }), [e.iconTooltip]), te = R(() => ({ badgeClassName: u }), [u]), W = p === Q.Indicator, ne = e.leadingIcon ? /* @__PURE__ */ H("span", {
553
+ }, ze = j(({ item: e, isActive: n, onSelectConversation: r, searchQuery: i = "", getActions: o, onActionMenuOpen: s, actionsLabel: c = "More actions", itemTitleClassName: l = "dial-small-text", itemIconBadgeClassName: u, unreadIndicatorLabel: d = "Unread", variant: p = Q.Avatar, rowGroupKey: v, rows: y, draggingId: S, dragOverId: C, allowedDropGroups: w, onDragStart: T, onDragEnd: E, onDragOver: ee, onDragLeave: k, onDrop: A }) => {
554
+ let [j, N] = R(!1), te = L(null), P = M((t) => {
555
+ N(t), t && te.current && s?.(e, te.current);
556
+ }, [e, s]), F = I(() => o?.(e) ?? [], [o, e]), z = F.length > 0, H = I(() => ({ tooltip: e.iconTooltip }), [e.iconTooltip]), ne = I(() => ({ badgeClassName: u }), [u]), U = p === Q.Indicator, re = e.leadingIcon ? /* @__PURE__ */ B("span", {
557
557
  className: "flex size-6 shrink-0 items-center justify-center",
558
558
  children: e.leadingIcon
559
- }) : e.isIconLoading ? /* @__PURE__ */ H(D, {
559
+ }) : e.isIconLoading ? /* @__PURE__ */ B(D, {
560
560
  variant: O.Circular,
561
561
  width: m.LG,
562
562
  height: m.LG,
563
563
  color: $.skeletonColor,
564
564
  "aria-hidden": !0
565
- }) : /* @__PURE__ */ H(t, {
565
+ }) : /* @__PURE__ */ B(t, {
566
566
  src: e.iconUrl,
567
567
  size: m.LG,
568
568
  initialsName: e.iconTooltip ?? "",
569
- labels: ee,
570
- styles: te
571
- }), ie = Ae(V, M), ae = /* @__PURE__ */ U("span", {
569
+ labels: H,
570
+ styles: ne
571
+ }), ae = Ae(z, j), oe = /* @__PURE__ */ V("span", {
572
572
  className: "flex size-6 shrink-0 items-center justify-center",
573
- children: [/* @__PURE__ */ H("span", {
573
+ children: [/* @__PURE__ */ B("span", {
574
574
  className: a("size-2 rounded-full", e.isUnread ? a("size-[7.11px]", $.unreadDot) : $.indicatorDot),
575
575
  "aria-hidden": !0
576
- }), e.isUnread && /* @__PURE__ */ H("span", {
576
+ }), e.isUnread && /* @__PURE__ */ B("span", {
577
577
  className: "sr-only",
578
578
  children: d
579
579
  })]
580
- }), oe = e.isUnread && !W ? /* @__PURE__ */ U("span", {
580
+ }), se = e.isUnread && !U ? /* @__PURE__ */ V("span", {
581
581
  className: "flex size-6 shrink-0 items-center justify-center",
582
- children: [/* @__PURE__ */ H("span", {
583
- className: a("size-[7.11px] rounded-full", $.unreadDot, V && (M ? "opacity-0" : "group-focus-within/conversation:opacity-0 group-hover/conversation:opacity-0")),
582
+ children: [/* @__PURE__ */ B("span", {
583
+ className: a("size-[7.11px] rounded-full", $.unreadDot, z && (j ? "opacity-0" : "group-focus-within/conversation:opacity-0 group-hover/conversation:opacity-0")),
584
584
  "aria-hidden": !0
585
- }), /* @__PURE__ */ H("span", {
585
+ }), /* @__PURE__ */ B("span", {
586
586
  className: "sr-only",
587
587
  children: d
588
588
  })]
589
- }) : void 0, G = v != null, se = N((e) => {
590
- e.currentTarget.contains(e.relatedTarget) || A?.();
591
- }, [A]), ce = N((t) => {
592
- if (!v || !y || !j) return;
589
+ }) : void 0, W = v != null, ce = M((e) => {
590
+ e.currentTarget.contains(e.relatedTarget) || k?.();
591
+ }, [k]), le = M((t) => {
592
+ if (!v || !y || !A) return;
593
593
  t.preventDefault();
594
594
  let n = Le(t, e.id, y, v);
595
- j(e.id, v, n);
595
+ A(e.id, v, n);
596
596
  }, [
597
597
  e.id,
598
598
  y,
599
599
  v,
600
- j
601
- ]), K = e.id === S, q = e.id === C, J = v != null && (w?.has(v) ?? !1), le = S != null;
602
- return /* @__PURE__ */ U("li", {
603
- className: a("group/conversation relative", K && "cursor-grabbing opacity-50", q && J && "rounded", q && J && $.dropZoneActive, le && !K && !J && "cursor-not-allowed"),
604
- draggable: G || void 0,
605
- onDragStart: G ? () => T?.(e.id) : void 0,
606
- onDragEnd: G ? E : void 0,
607
- onDragOver: G ? (t) => {
608
- t.preventDefault(), k?.(e.id);
600
+ A
601
+ ]), G = e.id === S, K = e.id === C, q = v != null && (w?.has(v) ?? !1), ue = S != null;
602
+ return /* @__PURE__ */ V("li", {
603
+ className: a("group/conversation relative", G && "cursor-grabbing opacity-50", K && q && "rounded", K && q && $.dropZoneActive, ue && !G && !q && "cursor-not-allowed"),
604
+ draggable: W || void 0,
605
+ onDragStart: W ? () => T?.(e.id) : void 0,
606
+ onDragEnd: W ? E : void 0,
607
+ onDragOver: W ? (t) => {
608
+ t.preventDefault(), ee?.(e.id);
609
609
  } : void 0,
610
- onDragLeave: G ? se : void 0,
611
- onDrop: G ? ce : void 0,
612
- children: [/* @__PURE__ */ H("a", {
610
+ onDragLeave: W ? ce : void 0,
611
+ onDrop: W ? le : void 0,
612
+ children: [/* @__PURE__ */ B("a", {
613
613
  href: e.href,
614
614
  className: "contents",
615
615
  onClick: (t) => {
616
616
  e.href && (t.preventDefault(), r(e.id));
617
617
  },
618
- children: /* @__PURE__ */ H(f, {
619
- iconBefore: W ? ae : ne,
620
- label: /* @__PURE__ */ H(x, {
618
+ children: /* @__PURE__ */ B(f, {
619
+ iconBefore: U ? oe : re,
620
+ label: /* @__PURE__ */ B(x, {
621
621
  text: e.title,
622
622
  query: i,
623
623
  className: e.isUnread ? "dial-small-semi-text" : l,
624
624
  maxLines: 1
625
625
  }),
626
- iconAfter: oe,
626
+ iconAfter: se,
627
627
  textClassName: "min-w-0 flex-1",
628
628
  "aria-current": n ? "page" : void 0,
629
629
  onClick: e.href ? void 0 : () => r(e.id),
630
630
  tabIndex: e.href ? -1 : void 0,
631
- className: a("h-8 w-full justify-start py-2 after:pointer-events-none", W ? "gap-0.5 ps-0" : "gap-2 ps-3", ie, $.item, W && $.itemIndicator, n && $.itemActive, M && $.itemActive)
631
+ className: a("h-8 w-full justify-start py-2 after:pointer-events-none", U ? "gap-0.5 ps-0" : "gap-2 ps-3", ae, $.item, U && $.itemIndicator, n && $.itemActive, j && $.itemActive)
632
632
  })
633
- }), V && /* @__PURE__ */ H("div", {
634
- className: a("absolute inset-y-0 flex items-center", W ? "end-2" : "end-1", M ? "opacity-100" : "opacity-0 group-focus-within/conversation:opacity-100 group-hover/conversation:opacity-100"),
635
- children: /* @__PURE__ */ H(g, {
636
- items: L,
637
- onOpenChange: I,
633
+ }), z && /* @__PURE__ */ B("div", {
634
+ className: a("absolute inset-y-0 flex items-center", U ? "end-2" : "end-1", j ? "opacity-100" : "opacity-0 group-focus-within/conversation:opacity-100 group-hover/conversation:opacity-100"),
635
+ children: /* @__PURE__ */ B(g, {
636
+ items: F,
637
+ onOpenChange: P,
638
638
  matchReferenceWidth: !1,
639
639
  listClassName: "w-[200px]",
640
- children: /* @__PURE__ */ H(b, {
641
- ref: F,
642
- icon: /* @__PURE__ */ H(re, {
643
- size: W ? m.SM : m.MD,
640
+ children: /* @__PURE__ */ B(b, {
641
+ ref: te,
642
+ icon: /* @__PURE__ */ B(ie, {
643
+ size: U ? m.SM : m.MD,
644
644
  className: $.triggerIcon,
645
645
  "aria-hidden": !0,
646
646
  stroke: h
647
647
  }),
648
648
  size: _.Small,
649
649
  "aria-label": c,
650
- className: a(W && "!size-6 !min-h-0 !min-w-0 !p-1", M && $.triggerActive)
650
+ className: a(U && "!size-6 !min-h-0 !min-w-0 !p-1", j && $.triggerActive)
651
651
  })
652
652
  })
653
653
  })]
@@ -656,11 +656,11 @@ var Z = /* @__PURE__ */ function(e) {
656
656
  let w = r[e], T = h === Q.Indicator;
657
657
  if (w.kind === Te.Header) {
658
658
  let r = w.groupKey === n.Pinned;
659
- return /* @__PURE__ */ H("div", {
659
+ return /* @__PURE__ */ B("div", {
660
660
  role: "listitem",
661
661
  style: t,
662
662
  className: Be(e, T),
663
- children: /* @__PURE__ */ H(Re, {
663
+ children: /* @__PURE__ */ B(Re, {
664
664
  variant: h,
665
665
  label: w.label,
666
666
  isExpanded: i.has(w.groupKey),
@@ -675,11 +675,11 @@ var Z = /* @__PURE__ */ function(e) {
675
675
  })
676
676
  });
677
677
  }
678
- return /* @__PURE__ */ H("div", {
678
+ return /* @__PURE__ */ B("div", {
679
679
  role: "presentation",
680
680
  style: t,
681
681
  className: T ? "pt-0.5" : "pt-1",
682
- children: /* @__PURE__ */ H(ze, {
682
+ children: /* @__PURE__ */ B(ze, {
683
683
  variant: h,
684
684
  item: w.item,
685
685
  isActive: w.item.id === s,
@@ -708,33 +708,33 @@ var Z = /* @__PURE__ */ function(e) {
708
708
  n.MyChats,
709
709
  n.Shared,
710
710
  n.Organization
711
- ]), Ue = M(({ conversations: e, isLoading: t, onSelectConversation: i, activeConversationId: o, labels: s, searchQuery: u = "", activeFilter: d = n.All, activeTypeFilter: f = Z.All, hiddenSources: p, rowVariant: m, getActions: h, onActionMenuOpen: g, onMoveConversation: _, styles: v, id: y, className: b }) => {
712
- let { colors: x, typography: S, itemIconBadgeClassName: C } = v ?? {}, { emptyLabel: w, emptyDescription: T, noResultsLabel: E, noResultsDescription: O, sharedEmptyDescription: k = O, loadingLabel: A = "Loading conversations", groupLabels: j, actionsLabel: M, unreadIndicatorLabel: I } = s, L = R(() => p?.length ? e.filter((e) => e.source == null || !p.includes(e.source)) : e, [e, p]), [V, ee] = B(() => He), [te, W] = B(5), ne = F(), re = z(null), ie = z(null), [ae, oe] = B(null), [G, se] = B(null), [K, q] = B(null), J = z(null), le = z(null), ue = N(({ height: e }) => {
713
- W(Ne(e));
714
- }, []), de = N((e) => {
715
- ee((t) => {
711
+ ]), Ue = j(({ conversations: e, isLoading: t, onSelectConversation: i, activeConversationId: o, labels: s, searchQuery: u = "", activeFilter: d = n.All, activeTypeFilter: f = Z.All, hiddenSources: p, rowVariant: m, getActions: h, onActionMenuOpen: g, onMoveConversation: _, styles: v, id: y, className: b }) => {
712
+ let { colors: x, typography: S, itemIconBadgeClassName: C } = v ?? {}, { emptyLabel: w, emptyDescription: T, noResultsLabel: E, noResultsDescription: O, sharedEmptyDescription: ee = O, tabEmptyLabels: k, loadingLabel: A = "Loading conversations", groupLabels: j, actionsLabel: P, unreadIndicatorLabel: F } = s, z = I(() => p?.length ? e.filter((e) => e.source == null || !p.includes(e.source)) : e, [e, p]), [H, ne] = R(() => He), [U, re] = R(5), ie = te(), ae = L(null), oe = L(null), [se, W] = R(null), [ce, G] = R(null), [K, q] = R(null), ue = L(null), J = L(null), de = M(({ height: e }) => {
713
+ re(Ne(e));
714
+ }, []), fe = M((e) => {
715
+ ne((t) => {
716
716
  let n = new Set(t);
717
717
  return n.has(e) ? n.delete(e) : n.add(e), n;
718
718
  });
719
- }, []), fe = N(() => {
720
- J.current = null, le.current = null, oe(null), se(null), q(null);
721
- }, []), Y = N((e, t) => {
722
- let n = Ie(e, Fe(t, e), L);
723
- J.current = e, le.current = n, oe(e), q(n);
724
- }, [L]), pe = N(() => {
725
- fe();
726
- }, [fe]), me = N((e) => {
727
- se(e);
728
- }, []), he = N(() => {
729
- se(null);
730
- }, []), ge = N((e, t, n) => {
731
- let r = J.current, i = le.current;
732
- fe(), r != null && r !== e && i?.has(t) && _?.({
719
+ }, []), Y = M(() => {
720
+ ue.current = null, J.current = null, W(null), G(null), q(null);
721
+ }, []), pe = M((e, t) => {
722
+ let n = Ie(e, Fe(t, e), z);
723
+ ue.current = e, J.current = n, W(e), q(n);
724
+ }, [z]), me = M(() => {
725
+ Y();
726
+ }, [Y]), he = M((e) => {
727
+ G(e);
728
+ }, []), ge = M(() => {
729
+ G(null);
730
+ }, []), _e = M((e, t, n) => {
731
+ let r = ue.current, i = J.current;
732
+ Y(), r != null && r !== e && i?.has(t) && _?.({
733
733
  draggedId: r,
734
734
  targetGroupKey: t,
735
735
  afterId: n
736
736
  });
737
- }, [fe, _]), _e = r({
737
+ }, [Y, _]), ve = r({
738
738
  "--cp-item-hover": x?.itemHover,
739
739
  "--cp-item-active": x?.itemActive,
740
740
  "--cp-text": x?.text,
@@ -747,155 +747,155 @@ var Z = /* @__PURE__ */ function(e) {
747
747
  "--cp-unread-dot": x?.unreadDot,
748
748
  "--cp-indicator-dot": x?.indicatorDot,
749
749
  "--cp-list-font-family": S?.fontFamily
750
- }), X = R(() => L.filter((e) => Ee(e, d) && De(e, f) && Oe(e, u)), [
751
- L,
750
+ }), X = I(() => z.filter((e) => Ee(e, d) && De(e, f) && Oe(e, u)), [
751
+ z,
752
752
  d,
753
753
  f,
754
754
  u
755
- ]), ve = R(() => X.filter((e) => e.isPinned), [X]), ye = R(() => X.filter((e) => !e.isPinned && e.source !== n.Shared && e.source !== n.Organization), [X]), be = R(() => X.filter((e) => !e.isPinned && e.source === n.Shared), [X]), xe = R(() => X.filter((e) => !e.isPinned && e.source === n.Organization), [X]), Se = R(() => [
755
+ ]), ye = I(() => X.filter((e) => e.isPinned), [X]), be = I(() => X.filter((e) => !e.isPinned && e.source !== n.Shared && e.source !== n.Organization), [X]), xe = I(() => X.filter((e) => !e.isPinned && e.source === n.Shared), [X]), Se = I(() => X.filter((e) => !e.isPinned && e.source === n.Organization), [X]), Ce = I(() => [
756
756
  {
757
757
  key: n.Pinned,
758
758
  label: j?.pinned ?? "Pinned",
759
- items: ve
759
+ items: ye
760
760
  },
761
761
  {
762
762
  key: n.MyChats,
763
763
  label: j?.myChats ?? "My chats",
764
- items: ye
764
+ items: be
765
765
  },
766
766
  {
767
767
  key: n.Shared,
768
768
  label: j?.shared ?? "Shared",
769
- items: be
769
+ items: xe
770
770
  },
771
771
  {
772
772
  key: n.Organization,
773
773
  label: j?.organization ?? "Organization",
774
- items: xe
774
+ items: Se
775
775
  }
776
776
  ], [
777
777
  j,
778
- ve,
779
778
  ye,
780
779
  be,
781
- xe
782
- ]), Ce = R(() => {
780
+ xe,
781
+ Se
782
+ ]), Ae = I(() => {
783
783
  let e = [];
784
- for (let t of Se) if (t.items.length !== 0 && (e.push({
784
+ for (let t of Ce) if (t.items.length !== 0 && (e.push({
785
785
  kind: Te.Header,
786
786
  groupKey: t.key,
787
787
  label: t.label
788
- }), V.has(t.key))) for (let n of t.items) e.push({
788
+ }), H.has(t.key))) for (let n of t.items) e.push({
789
789
  kind: Te.Item,
790
790
  item: n,
791
791
  groupKey: t.key
792
792
  });
793
793
  return e;
794
- }, [Se, V]);
795
- P(() => {
796
- if (!o || ie.current === o) return;
797
- let e = Ce.findIndex((e) => e.kind === Te.Item && e.item.id === o);
798
- e >= 0 && (re.current?.scrollToRow({
794
+ }, [Ce, H]);
795
+ N(() => {
796
+ if (!o || oe.current === o) return;
797
+ let e = Ae.findIndex((e) => e.kind === Te.Item && e.item.id === o);
798
+ e >= 0 && (ae.current?.scrollToRow({
799
799
  index: e,
800
800
  align: "smart",
801
801
  behavior: "smooth"
802
- }), ie.current = o);
802
+ }), oe.current = o);
803
803
  }, [
804
804
  o,
805
- Se,
806
- V,
807
- Ce
805
+ Ce,
806
+ H,
807
+ Ae
808
808
  ]);
809
- let Ae = z(Ce);
810
- P(() => {
811
- Ae.current = Ce;
812
- }, [Ce]);
813
- let Me = N((e) => Y(e, Ae.current), [Y]), Pe = R(() => ({
814
- rows: Ce,
815
- expandedGroups: V,
816
- onToggleGroup: de,
817
- listId: ne,
809
+ let Me = L(Ae);
810
+ N(() => {
811
+ Me.current = Ae;
812
+ }, [Ae]);
813
+ let Pe = M((e) => pe(e, Me.current), [pe]), Le = I(() => ({
814
+ rows: Ae,
815
+ expandedGroups: H,
816
+ onToggleGroup: fe,
817
+ listId: ie,
818
818
  activeConversationId: o,
819
819
  searchQuery: u,
820
820
  onSelectConversation: i,
821
821
  getActions: h,
822
822
  onActionMenuOpen: g,
823
- actionsLabel: M,
824
- unreadIndicatorLabel: I,
823
+ actionsLabel: P,
824
+ unreadIndicatorLabel: F,
825
825
  rowVariant: m,
826
826
  styles: {
827
827
  groupHeaderClassName: S?.groupHeaderClassName,
828
828
  itemTitleClassName: S?.itemTitleClassName,
829
829
  itemIconBadgeClassName: C
830
830
  },
831
- draggingId: ae,
832
- dragOverId: G,
831
+ draggingId: se,
832
+ dragOverId: ce,
833
833
  allowedDropGroups: K,
834
- onDragStart: Me,
835
- onDragEnd: pe,
836
- onDragOver: me,
837
- onDragLeave: he,
838
- onDrop: ge
834
+ onDragStart: Pe,
835
+ onDragEnd: me,
836
+ onDragOver: he,
837
+ onDragLeave: ge,
838
+ onDrop: _e
839
839
  }), [
840
- Ce,
841
- V,
842
- de,
843
- ne,
840
+ Ae,
841
+ H,
842
+ fe,
843
+ ie,
844
844
  o,
845
845
  u,
846
846
  i,
847
847
  h,
848
848
  g,
849
- M,
850
- I,
849
+ P,
850
+ F,
851
851
  m,
852
852
  S?.groupHeaderClassName,
853
853
  S?.itemTitleClassName,
854
854
  C,
855
- ae,
856
- G,
855
+ se,
856
+ ce,
857
857
  K,
858
- Me,
859
- pe,
858
+ Pe,
860
859
  me,
861
860
  he,
862
- ge
863
- ]), Le = u !== "" || d !== n.All || f !== Z.All, Re = X.length === 0, ze = Re && Le, Be = Re && !Le, Ue = d === n.Shared && u === "" ? k : O;
864
- return /* @__PURE__ */ U("div", {
861
+ ge,
862
+ _e
863
+ ]), Re = u !== "" || d !== n.All || f !== Z.All, ze = X.length === 0, Be = ze && Re, Ue = ze && !Re, We = Be && u === "" && f === Z.All ? k?.[d] : void 0, Ge = We?.label ?? E, Ke = d === n.Shared && u === "" ? ee : O, qe = We?.description ?? Ke;
864
+ return /* @__PURE__ */ V("div", {
865
865
  id: y,
866
- style: _e,
867
- className: a("flex-1 overflow-hidden px-3", $.list, S?.fontClassName, m !== Q.Indicator && "py-1", b, ce.list),
868
- children: [/* @__PURE__ */ H("span", {
866
+ style: ve,
867
+ className: a("flex-1 overflow-hidden px-3", $.list, S?.fontClassName, m !== Q.Indicator && "py-1", b, le.list),
868
+ children: [/* @__PURE__ */ B("span", {
869
869
  role: "status",
870
870
  "aria-live": "polite",
871
871
  className: "sr-only",
872
- children: t ? A : Be ? w : ze ? E : ""
873
- }), t ? /* @__PURE__ */ H("div", {
872
+ children: t ? A : Ue ? w : Be ? Ge : ""
873
+ }), t ? /* @__PURE__ */ B("div", {
874
874
  className: "flex flex-col gap-3 px-2 py-3",
875
- children: Array.from({ length: 15 }, (e, t) => /* @__PURE__ */ H(D, {
875
+ children: Array.from({ length: 15 }, (e, t) => /* @__PURE__ */ B(D, {
876
876
  avatar: { size: 24 },
877
877
  showTitle: { width: ke(t) },
878
878
  paragraph: !1,
879
879
  active: !0,
880
880
  color: $.skeletonColor
881
881
  }, t))
882
- }) : Be ? /* @__PURE__ */ H(c, {
882
+ }) : Ue ? /* @__PURE__ */ B(c, {
883
883
  label: w,
884
884
  description: T
885
- }) : ze ? /* @__PURE__ */ H(l, {
886
- label: E,
887
- description: Ue
888
- }) : /* @__PURE__ */ H(we, {
889
- listRef: re,
890
- id: ne,
885
+ }) : Be ? /* @__PURE__ */ B(l, {
886
+ label: Ge,
887
+ description: qe
888
+ }) : /* @__PURE__ */ B(we, {
889
+ listRef: ae,
890
+ id: ie,
891
891
  role: "list",
892
892
  style: { height: "100%" },
893
893
  rowComponent: Ve,
894
- rowCount: Ce.length,
894
+ rowCount: Ae.length,
895
895
  rowHeight: je,
896
- overscanCount: te,
897
- onResize: ue,
898
- rowProps: Pe
896
+ overscanCount: U,
897
+ onResize: de,
898
+ rowProps: Le
899
899
  })]
900
900
  });
901
901
  }), We = {
@@ -931,24 +931,24 @@ var Z = /* @__PURE__ */ function(e) {
931
931
  value: Z.Task,
932
932
  getLabel: (e) => e.task ?? "Task"
933
933
  }
934
- ], Je = M(({ labels: e, isExpanded: t = !0, onToggleExpanded: i, controlsId: o, searchQuery: s = "", isSearchOpen: c = !1, onSearchChange: l, onSearchOpenChange: u, activeFilter: d = n.All, onFilterChange: f, activeTypeFilter: p = Z.All, onTypeFilterChange: v, hiddenSources: y, actions: x, styles: S, className: w }) => {
935
- let T = S?.typography?.titleClassName ?? "dial-tiny-lead-semi-text", D = S?.typography?.searchTextClassName ?? "dial-tiny-text", O = z(null), k = z(null), A = z(c), j = e.filterLabels.groupAriaLabel ?? "Filter chats", M = e.filterActiveLabel ?? "Filters applied", I = F(), L = d !== n.All || p !== Z.All, B = l != null && u != null;
936
- P(() => {
937
- c ? k.current?.focus() : A.current && O.current?.focus(), A.current = c;
934
+ ], Je = j(({ labels: e, isExpanded: t = !0, onToggleExpanded: i, controlsId: o, searchQuery: s = "", isSearchOpen: c = !1, onSearchChange: l, onSearchOpenChange: u, activeFilter: d = n.All, onFilterChange: f, activeTypeFilter: p = Z.All, onTypeFilterChange: v, hiddenSources: y, actions: x, styles: S, className: w }) => {
935
+ let T = S?.typography?.titleClassName ?? "dial-tiny-lead-semi-text", D = S?.typography?.searchTextClassName ?? "dial-tiny-text", O = L(null), ee = L(null), k = L(c), A = e.filterLabels.groupAriaLabel ?? "Filter chats", j = e.filterActiveLabel ?? "Filters applied", P = te(), F = d !== n.All || p !== Z.All, R = l != null && u != null;
936
+ N(() => {
937
+ c ? ee.current?.focus() : k.current && O.current?.focus(), k.current = c;
938
938
  }, [c]);
939
- let ee = N(() => {
939
+ let H = M(() => {
940
940
  u?.(!0);
941
- }, [u]), te = N(() => {
941
+ }, [u]), ne = M(() => {
942
942
  l?.(""), u?.(!1);
943
- }, [l, u]), re = N((e) => {
943
+ }, [l, u]), ie = M((e) => {
944
944
  l?.(e ?? "");
945
- }, [l]), ae = N((e) => {
946
- e.key === "Escape" && (e.stopPropagation(), te());
947
- }, [te]), G = R(() => {
948
- let { filterLabels: t } = e, n = (e, t) => () => /* @__PURE__ */ U(V, { children: [/* @__PURE__ */ H("span", {
945
+ }, [l]), oe = M((e) => {
946
+ e.key === "Escape" && (e.stopPropagation(), ne());
947
+ }, [ne]), W = I(() => {
948
+ let { filterLabels: t } = e, n = (e, t) => () => /* @__PURE__ */ V(z, { children: [/* @__PURE__ */ B("span", {
949
949
  className: "min-w-0 flex-1 truncate text-start",
950
950
  children: e
951
- }), /* @__PURE__ */ H("span", {
951
+ }), /* @__PURE__ */ B("span", {
952
952
  className: "shrink-0 text-secondary",
953
953
  children: t
954
954
  })] }), r = [];
@@ -990,7 +990,7 @@ var Z = /* @__PURE__ */ function(e) {
990
990
  p,
991
991
  f,
992
992
  v
993
- ]), K = R(() => r({
993
+ ]), G = I(() => r({
994
994
  "--cp-list-header-title": S?.colors?.title,
995
995
  "--cp-list-header-title-focus": S?.colors?.titleFocus,
996
996
  "--cp-list-header-filter-indicator": S?.colors?.filterIndicator
@@ -998,23 +998,23 @@ var Z = /* @__PURE__ */ function(e) {
998
998
  S?.colors?.title,
999
999
  S?.colors?.titleFocus,
1000
1000
  S?.colors?.filterIndicator
1001
- ]), q = (e) => a("flex min-h-6 items-center justify-between ps-2", e, w, ce.listHeader);
1002
- if (B && c) return /* @__PURE__ */ U("div", {
1001
+ ]), K = (e) => a("flex min-h-6 items-center justify-between ps-2", e, w, le.listHeader);
1002
+ if (R && c) return /* @__PURE__ */ V("div", {
1003
1003
  role: "search",
1004
- style: K,
1005
- className: q("gap-2"),
1006
- onKeyDown: ae,
1007
- children: [/* @__PURE__ */ H(E, {
1004
+ style: G,
1005
+ className: K("gap-2"),
1006
+ onKeyDown: oe,
1007
+ children: [/* @__PURE__ */ B(E, {
1008
1008
  containerClassName: "min-w-0 flex-1",
1009
1009
  wrapperClassName: a("!h-6 !min-h-0 !py-1 !pe-2 [&_svg]:!size-4", D),
1010
- inputRef: k,
1010
+ inputRef: ee,
1011
1011
  value: s,
1012
- onChange: re,
1012
+ onChange: ie,
1013
1013
  placeholder: e.searchPlaceholder,
1014
1014
  clearLabel: e.searchClearLabel,
1015
1015
  "aria-label": e.searchPlaceholder
1016
- }), /* @__PURE__ */ H(b, {
1017
- icon: /* @__PURE__ */ H(se, {
1016
+ }), /* @__PURE__ */ B(b, {
1017
+ icon: /* @__PURE__ */ B(ce, {
1018
1018
  size: m.SM,
1019
1019
  stroke: h,
1020
1020
  "aria-hidden": !0
@@ -1022,42 +1022,42 @@ var Z = /* @__PURE__ */ function(e) {
1022
1022
  size: _.Small,
1023
1023
  className: Ge,
1024
1024
  "aria-label": e.searchCloseLabel,
1025
- onClick: te
1025
+ onClick: ne
1026
1026
  })]
1027
1027
  });
1028
- let J = /* @__PURE__ */ H("span", {
1028
+ let q = /* @__PURE__ */ B("span", {
1029
1029
  className: T,
1030
1030
  children: e.title
1031
1031
  });
1032
- return /* @__PURE__ */ U("div", {
1033
- style: K,
1034
- className: q(),
1035
- children: [i ? /* @__PURE__ */ U("button", {
1032
+ return /* @__PURE__ */ V("div", {
1033
+ style: G,
1034
+ className: K(),
1035
+ children: [i ? /* @__PURE__ */ V("button", {
1036
1036
  type: "button",
1037
1037
  "aria-expanded": t,
1038
1038
  "aria-controls": o,
1039
1039
  onClick: i,
1040
1040
  className: a("group flex items-center gap-1 rounded", We.title),
1041
- children: [J, t ? /* @__PURE__ */ H(W, {
1041
+ children: [q, t ? /* @__PURE__ */ B(U, {
1042
1042
  size: m.SM,
1043
1043
  stroke: h,
1044
1044
  className: "opacity-0 group-hover:opacity-100 group-focus-visible:opacity-100",
1045
1045
  "aria-hidden": !0
1046
- }) : /* @__PURE__ */ H(ne, {
1046
+ }) : /* @__PURE__ */ B(re, {
1047
1047
  size: m.SM,
1048
1048
  stroke: h,
1049
1049
  className: "opacity-0 group-hover:opacity-100 group-focus-visible:opacity-100 rtl:scale-x-[-1]",
1050
1050
  "aria-hidden": !0
1051
1051
  })]
1052
- }) : /* @__PURE__ */ H("span", {
1052
+ }) : /* @__PURE__ */ B("span", {
1053
1053
  className: We.title,
1054
- children: J
1055
- }), /* @__PURE__ */ U("div", {
1054
+ children: q
1055
+ }), /* @__PURE__ */ V("div", {
1056
1056
  className: "flex items-center gap-2",
1057
1057
  children: [
1058
- B && /* @__PURE__ */ H(b, {
1058
+ R && /* @__PURE__ */ B(b, {
1059
1059
  ref: O,
1060
- icon: /* @__PURE__ */ H(oe, {
1060
+ icon: /* @__PURE__ */ B(se, {
1061
1061
  size: m.SM,
1062
1062
  stroke: h,
1063
1063
  "aria-hidden": !0
@@ -1065,80 +1065,80 @@ var Z = /* @__PURE__ */ function(e) {
1065
1065
  size: _.Small,
1066
1066
  className: Ge,
1067
1067
  "aria-label": e.searchOpenLabel,
1068
- onClick: ee
1068
+ onClick: H
1069
1069
  }),
1070
- (f || v) && /* @__PURE__ */ H(g, {
1071
- items: G,
1070
+ (f || v) && /* @__PURE__ */ B(g, {
1071
+ items: W,
1072
1072
  placement: "bottom-end",
1073
1073
  matchReferenceWidth: !1,
1074
- children: /* @__PURE__ */ H(b, {
1075
- icon: /* @__PURE__ */ U("span", {
1074
+ children: /* @__PURE__ */ B(b, {
1075
+ icon: /* @__PURE__ */ V("span", {
1076
1076
  className: "relative inline-flex",
1077
- children: [/* @__PURE__ */ H(ie, {
1077
+ children: [/* @__PURE__ */ B(ae, {
1078
1078
  size: m.SM,
1079
1079
  stroke: h,
1080
1080
  "aria-hidden": !0
1081
- }), L && /* @__PURE__ */ H("span", {
1081
+ }), F && /* @__PURE__ */ B("span", {
1082
1082
  "aria-hidden": !0,
1083
1083
  className: a(We.filterIndicator, "absolute -end-0.5 -top-0.5 size-1.5 rounded-full")
1084
1084
  })]
1085
1085
  }),
1086
1086
  size: _.Small,
1087
1087
  className: Ge,
1088
- "aria-label": j,
1089
- "aria-describedby": L ? I : void 0
1088
+ "aria-label": A,
1089
+ "aria-describedby": F ? P : void 0
1090
1090
  })
1091
1091
  }),
1092
- L && (f || v) && /* @__PURE__ */ H("span", {
1093
- id: I,
1092
+ F && (f || v) && /* @__PURE__ */ B("span", {
1093
+ id: P,
1094
1094
  className: "sr-only",
1095
- children: M
1095
+ children: j
1096
1096
  }),
1097
1097
  x
1098
1098
  ]
1099
1099
  })]
1100
1100
  });
1101
- }), Ye = M(({ conversations: e, isLoading: t, onSelectConversation: r, activeConversationId: i, labels: o, requestedFilter: s, isFilterHidden: c = !1, onFilterChange: l, isTypeFilterHidden: u = !1, onTypeFilterChange: d, hiddenSources: f, headerActions: p, getActions: m, onActionMenuOpen: h, onMoveConversation: g, styles: _, listClassName: v, className: y }) => {
1102
- let b = F(), [x, S] = B(""), [C, w] = B(!1), [T, E] = B(!0), [D, O] = B(n.All), [k, A] = B(Z.All);
1103
- P(() => {
1101
+ }), Ye = j(({ conversations: e, isLoading: t, onSelectConversation: r, activeConversationId: i, labels: o, requestedFilter: s, isFilterHidden: c = !1, onFilterChange: l, isTypeFilterHidden: u = !1, onTypeFilterChange: d, hiddenSources: f, headerActions: p, getActions: m, onActionMenuOpen: h, onMoveConversation: g, styles: _, listClassName: v, className: y }) => {
1102
+ let b = te(), [x, S] = R(""), [C, w] = R(!1), [T, E] = R(!0), [D, O] = R(n.All), [ee, k] = R(Z.All);
1103
+ N(() => {
1104
1104
  s != null && O(s);
1105
1105
  }, [s]);
1106
- let j = N((e) => {
1106
+ let A = M((e) => {
1107
1107
  O(e), l?.(e);
1108
- }, [l]), M = N((e) => {
1108
+ }, [l]), j = M((e) => {
1109
1109
  S(e), e !== "" && E(!0);
1110
- }, []), I = N((e) => {
1110
+ }, []), P = M((e) => {
1111
1111
  w(e), e && E(!0);
1112
- }, []), L = N((e) => {
1113
- A(e), d?.(e);
1114
- }, [d]), R = N(() => E((e) => !e), []);
1115
- return /* @__PURE__ */ U("section", {
1112
+ }, []), F = M((e) => {
1113
+ k(e), d?.(e);
1114
+ }, [d]), I = M(() => E((e) => !e), []);
1115
+ return /* @__PURE__ */ V("section", {
1116
1116
  "aria-label": o.title,
1117
- className: a("flex min-h-0 flex-1 flex-col px-1 pt-4", y, ce.listSection),
1118
- children: [/* @__PURE__ */ H("div", {
1117
+ className: a("flex min-h-0 flex-1 flex-col px-1 pt-4", y, le.listSection),
1118
+ children: [/* @__PURE__ */ B("div", {
1119
1119
  className: "px-3 pb-2",
1120
- children: /* @__PURE__ */ H(Je, {
1120
+ children: /* @__PURE__ */ B(Je, {
1121
1121
  labels: o,
1122
1122
  isExpanded: T,
1123
- onToggleExpanded: R,
1123
+ onToggleExpanded: I,
1124
1124
  controlsId: b,
1125
1125
  searchQuery: x,
1126
1126
  isSearchOpen: C,
1127
- onSearchChange: M,
1128
- onSearchOpenChange: I,
1127
+ onSearchChange: j,
1128
+ onSearchOpenChange: P,
1129
1129
  activeFilter: D,
1130
- onFilterChange: c ? void 0 : j,
1131
- activeTypeFilter: k,
1132
- onTypeFilterChange: c || u ? void 0 : L,
1130
+ onFilterChange: c ? void 0 : A,
1131
+ activeTypeFilter: ee,
1132
+ onTypeFilterChange: c || u ? void 0 : F,
1133
1133
  hiddenSources: f,
1134
1134
  actions: p,
1135
1135
  styles: _?.header
1136
1136
  })
1137
- }), /* @__PURE__ */ H("div", {
1137
+ }), /* @__PURE__ */ B("div", {
1138
1138
  hidden: !T,
1139
1139
  inert: !T,
1140
1140
  className: T ? "flex min-h-0 flex-1 flex-col" : "hidden",
1141
- children: /* @__PURE__ */ H(Ue, {
1141
+ children: /* @__PURE__ */ B(Ue, {
1142
1142
  id: b,
1143
1143
  conversations: e,
1144
1144
  isLoading: t,
@@ -1147,7 +1147,7 @@ var Z = /* @__PURE__ */ function(e) {
1147
1147
  labels: o,
1148
1148
  searchQuery: x,
1149
1149
  activeFilter: D,
1150
- activeTypeFilter: k,
1150
+ activeTypeFilter: ee,
1151
1151
  hiddenSources: f,
1152
1152
  rowVariant: Q.Indicator,
1153
1153
  getActions: m,
@@ -1175,75 +1175,77 @@ var Z = /* @__PURE__ */ function(e) {
1175
1175
  value: n.Organization,
1176
1176
  labelKey: "organization"
1177
1177
  }
1178
- ], Ze = M(({ activeTab: e, labels: t, onChange: n, tabClassName: r = "dial-tiny-semi-text", hiddenSources: i }) => {
1179
- let a = R(() => Xe.filter(({ value: e }) => !i?.includes(e)).map(({ value: e, labelKey: n }) => ({
1178
+ ], Ze = j(({ activeTab: e, labels: t, onChange: n, tabClassName: r = "dial-tiny-semi-text", hiddenSources: i }) => {
1179
+ let a = I(() => Xe.filter(({ value: e }) => !i?.includes(e)).map(({ value: e, labelKey: n }) => ({
1180
1180
  value: e,
1181
1181
  label: t[n]
1182
1182
  })), [t, i]);
1183
- return /* @__PURE__ */ H(y, {
1183
+ return /* @__PURE__ */ B(y, {
1184
1184
  items: a,
1185
1185
  value: e,
1186
1186
  onChange: n,
1187
1187
  stretch: !0,
1188
1188
  "aria-label": t.groupAriaLabel ?? "Filter chats",
1189
1189
  className: "px-3 py-2",
1190
- chipClassName: A("!px-2", r)
1190
+ chipClassName: k("!px-2", r)
1191
1191
  });
1192
- }), Qe = { button: "_button_vjird_1" }, $e = M(({ label: e, onClick: t, labelClassName: n = "dial-small-semi-text", colors: i, className: o }) => {
1192
+ }), Qe = { button: "_button_vjird_1" }, $e = j(({ label: e, onClick: t, labelClassName: n = "dial-small-semi-text", colors: i, className: o }) => {
1193
1193
  let s = r({
1194
1194
  "--cp-new-chat-bg": i?.background,
1195
1195
  "--cp-new-chat-text": i?.text,
1196
1196
  "--cp-new-chat-focus-outline": i?.focusOutline
1197
1197
  });
1198
- return /* @__PURE__ */ H("div", {
1198
+ return /* @__PURE__ */ B("div", {
1199
1199
  className: "px-3 py-2",
1200
1200
  style: s,
1201
- children: /* @__PURE__ */ H(f, {
1201
+ children: /* @__PURE__ */ B(f, {
1202
1202
  label: e,
1203
1203
  textClassName: n,
1204
- iconBefore: /* @__PURE__ */ H(ae, {
1204
+ iconBefore: /* @__PURE__ */ B(oe, {
1205
1205
  size: 18,
1206
1206
  stroke: h,
1207
1207
  className: "shrink-0",
1208
1208
  "aria-hidden": !0
1209
1209
  }),
1210
1210
  onClick: t,
1211
- className: a("h-[36px] w-full gap-2 px-3 py-1 shadow-chat-button hover:shadow-xs focus-visible:shadow-xs active:shadow-xs", Qe.button, o, ce.newChatButton)
1211
+ className: a("h-[36px] w-full gap-2 px-3 py-1 shadow-chat-button hover:shadow-xs focus-visible:shadow-xs active:shadow-xs", Qe.button, o, le.newChatButton)
1212
1212
  })
1213
1213
  });
1214
- }), et = M(({ conversations: e, isLoading: t, isOpen: i, onSelectConversation: o, activeConversationId: s, labels: c, onNewChat: l, styles: f, className: p, isOverlay: m = !1, getActions: h, onActionMenuOpen: g, onToggle: _, headerActions: v, onMoveConversation: y, activeFilter: b, onActiveFilterChange: x, isFilterTabsHidden: S = !1, hiddenSources: C }) => {
1215
- let { colors: w, typography: T, newChatButton: D, searchWrapperClassName: O, headerClassName: k, headerActionsClassName: A, newChatButtonClassName: j } = f ?? {}, { title: M, emptyLabel: F, emptyDescription: I, noResultsLabel: L, noResultsDescription: z, sharedEmptyDescription: V, loadingLabel: ee, newChatLabel: te, searchPlaceholder: W, searchClearLabel: ne, filterLabels: re, groupLabels: ie, actionsLabel: ae, unreadIndicatorLabel: oe, closeAriaLabel: G } = c, [se, K] = B(""), [q, J] = B(n.All);
1216
- P(() => {
1217
- b != null && J(b);
1214
+ }), et = j(({ conversations: e, isLoading: t, isOpen: i, onSelectConversation: o, activeConversationId: s, labels: c, onNewChat: l, styles: f, className: p, isOverlay: m = !1, getActions: h, onActionMenuOpen: g, onToggle: _, headerActions: v, onMoveConversation: y, activeFilter: b, onActiveFilterChange: x, isFilterTabsHidden: S = !1, hiddenSources: C }) => {
1215
+ let { colors: w, typography: T, newChatButton: D, searchWrapperClassName: O, headerClassName: ee, headerActionsClassName: k, newChatButtonClassName: A } = f ?? {}, { title: j, emptyLabel: te, emptyDescription: P, noResultsLabel: F, noResultsDescription: L, sharedEmptyDescription: z, tabEmptyLabels: H, loadingLabel: ne, newChatLabel: U, searchPlaceholder: re, searchClearLabel: ie, filterLabels: ae, groupLabels: oe, actionsLabel: se, unreadIndicatorLabel: W, closeAriaLabel: ce } = c, [G, K] = R(""), [q, ue] = R(n.All);
1216
+ N(() => {
1217
+ b != null && ue(b);
1218
1218
  }, [b]);
1219
- let le = N((e) => {
1219
+ let J = M((e) => {
1220
1220
  K(e ?? "");
1221
- }, []), ue = r({
1221
+ }, []), de = r({
1222
1222
  "--cp-text": w?.text,
1223
1223
  "--cp-new-chat-bg": D?.background,
1224
1224
  "--cp-new-chat-text": D?.text,
1225
1225
  "--cp-new-chat-focus-outline": D?.focusOutline
1226
- }), de = R(() => ({
1227
- emptyLabel: F,
1228
- emptyDescription: I,
1229
- noResultsLabel: L,
1230
- noResultsDescription: z,
1231
- sharedEmptyDescription: V,
1232
- loadingLabel: ee,
1233
- groupLabels: ie,
1234
- actionsLabel: ae,
1235
- unreadIndicatorLabel: oe
1226
+ }), fe = I(() => ({
1227
+ emptyLabel: te,
1228
+ emptyDescription: P,
1229
+ noResultsLabel: F,
1230
+ noResultsDescription: L,
1231
+ sharedEmptyDescription: z,
1232
+ tabEmptyLabels: H,
1233
+ loadingLabel: ne,
1234
+ groupLabels: oe,
1235
+ actionsLabel: se,
1236
+ unreadIndicatorLabel: W
1236
1237
  }), [
1238
+ te,
1239
+ P,
1237
1240
  F,
1238
- I,
1239
1241
  L,
1240
1242
  z,
1241
- V,
1242
- ee,
1243
- ie,
1244
- ae,
1245
- oe
1246
- ]), fe = R(() => ({
1243
+ H,
1244
+ ne,
1245
+ oe,
1246
+ se,
1247
+ W
1248
+ ]), Y = I(() => ({
1247
1249
  colors: w,
1248
1250
  typography: {
1249
1251
  fontFamily: T?.fontFamily,
@@ -1258,14 +1260,14 @@ var Z = /* @__PURE__ */ function(e) {
1258
1260
  T?.itemTitleClassName,
1259
1261
  f?.itemIconBadgeClassName
1260
1262
  ]);
1261
- return /* @__PURE__ */ U(d, {
1263
+ return /* @__PURE__ */ V(d, {
1262
1264
  isOpen: i,
1263
1265
  isOverlay: m,
1264
1266
  orientation: u.Left,
1265
- title: M,
1267
+ title: j,
1266
1268
  labels: {
1267
- ariaLabel: M,
1268
- closeLabel: G
1269
+ ariaLabel: j,
1270
+ closeLabel: ce
1269
1271
  },
1270
1272
  onClose: _,
1271
1273
  styles: {
@@ -1275,61 +1277,61 @@ var Z = /* @__PURE__ */ function(e) {
1275
1277
  },
1276
1278
  typography: { fontClassName: T?.fontClassName },
1277
1279
  bodyClassName: "flex flex-col overflow-hidden p-0 gap-3",
1278
- cssVars: ue,
1280
+ cssVars: de,
1279
1281
  titleClassName: T?.fontClassName,
1280
- headerClassName: a("h-[64px]", k),
1281
- headerActionsClassName: A,
1282
+ headerClassName: a("h-[64px]", ee),
1283
+ headerActionsClassName: k,
1282
1284
  className: a(i ? "w-[324px] mobile:w-full" : "w-0", p)
1283
1285
  },
1284
1286
  rightActions: v,
1285
1287
  children: [
1286
- /* @__PURE__ */ H($e, {
1287
- label: te,
1288
+ /* @__PURE__ */ B($e, {
1289
+ label: U,
1288
1290
  onClick: l,
1289
1291
  labelClassName: T?.newChatLabelClassName,
1290
1292
  colors: D,
1291
- className: j
1293
+ className: A
1292
1294
  }),
1293
- /* @__PURE__ */ H("div", {
1295
+ /* @__PURE__ */ B("div", {
1294
1296
  role: "search",
1295
- className: a("px-3 py-2", ce.search),
1296
- children: /* @__PURE__ */ H(E, {
1297
+ className: a("px-3 py-2", le.search),
1298
+ children: /* @__PURE__ */ B(E, {
1297
1299
  wrapperClassName: a($.search, O),
1298
- value: se,
1299
- onChange: le,
1300
- placeholder: W,
1301
- clearLabel: ne,
1302
- "aria-label": W
1300
+ value: G,
1301
+ onChange: J,
1302
+ placeholder: re,
1303
+ clearLabel: ie,
1304
+ "aria-label": re
1303
1305
  })
1304
1306
  }),
1305
- !S && /* @__PURE__ */ H(Ze, {
1307
+ !S && /* @__PURE__ */ B(Ze, {
1306
1308
  activeTab: q,
1307
- labels: re,
1309
+ labels: ae,
1308
1310
  onChange: (e) => {
1309
- J(e), x?.(e);
1311
+ ue(e), x?.(e);
1310
1312
  },
1311
1313
  tabClassName: T?.tabClassName,
1312
1314
  hiddenSources: C
1313
1315
  }),
1314
- /* @__PURE__ */ H(Ue, {
1316
+ /* @__PURE__ */ B(Ue, {
1315
1317
  conversations: e,
1316
1318
  isLoading: t,
1317
1319
  onSelectConversation: o,
1318
1320
  activeConversationId: s,
1319
- labels: de,
1320
- searchQuery: se,
1321
+ labels: fe,
1322
+ searchQuery: G,
1321
1323
  activeFilter: q,
1322
1324
  hiddenSources: C,
1323
1325
  getActions: h,
1324
1326
  onActionMenuOpen: g,
1325
1327
  onMoveConversation: y,
1326
- styles: fe
1328
+ styles: Y
1327
1329
  })
1328
1330
  ]
1329
1331
  });
1330
- }), tt = M(({ isOpen: e, currentTitle: t, isSaving: n, error: r, onSave: a, onCancel: c, onGenerateWithAi: l, labels: u, styles: d }) => {
1331
- let [f, g] = B(t), [_, v] = B(!1), [y, x] = B(null), C = z(null), E = z(!1), D = z(0);
1332
- P(() => {
1332
+ }), tt = j(({ isOpen: e, currentTitle: t, isSaving: n, error: r, onSave: a, onCancel: c, onGenerateWithAi: l, labels: u, styles: d }) => {
1333
+ let [f, g] = R(t), [_, v] = R(!1), [y, x] = R(null), C = L(null), E = L(!1), D = L(0);
1334
+ N(() => {
1333
1335
  let n = e && !E.current;
1334
1336
  if (E.current = e, !e) {
1335
1337
  D.current += 1, v(!1);
@@ -1339,18 +1341,18 @@ var Z = /* @__PURE__ */ function(e) {
1339
1341
  D.current += 1, g(t), x(null), v(!1);
1340
1342
  let r = setTimeout(() => C.current?.focus(), 0);
1341
1343
  return () => clearTimeout(r);
1342
- }, [e, t]), P(() => () => {
1344
+ }, [e, t]), N(() => () => {
1343
1345
  D.current += 1;
1344
1346
  }, []);
1345
- let O = s(f.trim()), A = i(O) > 255, j = n || O === "" || O === t.trim() || A, M = N(() => {
1346
- j || a(O);
1347
+ let O = s(f.trim()), k = i(O) > 255, A = n || O === "" || O === t.trim() || k, j = M(() => {
1348
+ A || a(O);
1347
1349
  }, [
1348
- j,
1350
+ A,
1349
1351
  a,
1350
1352
  O
1351
- ]), F = N((e) => {
1352
- e.key === "Enter" && M();
1353
- }, [M]), I = N(async () => {
1353
+ ]), te = M((e) => {
1354
+ e.key === "Enter" && j();
1355
+ }, [j]), P = M(async () => {
1354
1356
  if (_) return;
1355
1357
  let e = ++D.current;
1356
1358
  v(!0), x(null);
@@ -1368,8 +1370,8 @@ var Z = /* @__PURE__ */ function(e) {
1368
1370
  _,
1369
1371
  l,
1370
1372
  u.renameWithAiError
1371
- ]), L = y ?? r ?? void 0, R;
1372
- return R = A ? u.nameTooLongError : L, /* @__PURE__ */ H(w, {
1373
+ ]), F = y ?? r ?? void 0, I;
1374
+ return I = k ? u.nameTooLongError : F, /* @__PURE__ */ B(w, {
1373
1375
  open: e,
1374
1376
  header: u.popupTitle,
1375
1377
  size: T.Sm,
@@ -1380,45 +1382,45 @@ var Z = /* @__PURE__ */ function(e) {
1380
1382
  }, {
1381
1383
  label: u.saveLabel,
1382
1384
  variant: p.Primary,
1383
- disabled: j,
1384
- onClick: M
1385
+ disabled: A,
1386
+ onClick: j
1385
1387
  }],
1386
- children: /* @__PURE__ */ H("div", {
1388
+ children: /* @__PURE__ */ B("div", {
1387
1389
  className: d?.bodyClassName,
1388
1390
  style: d?.cssVars,
1389
- children: n ? /* @__PURE__ */ H("div", {
1391
+ children: n ? /* @__PURE__ */ B("div", {
1390
1392
  className: "h-[120px] px-6 py-4",
1391
- children: /* @__PURE__ */ H(k, { size: 50 })
1392
- }) : /* @__PURE__ */ U("div", {
1393
+ children: /* @__PURE__ */ B(ee, { size: 50 })
1394
+ }) : /* @__PURE__ */ V("div", {
1393
1395
  className: "flex items-start gap-2 px-6 py-3",
1394
1396
  children: [
1395
- /* @__PURE__ */ H("span", {
1397
+ /* @__PURE__ */ B("span", {
1396
1398
  role: "alert",
1397
1399
  className: "sr-only",
1398
- children: A ? "" : L ?? ""
1400
+ children: k ? "" : F ?? ""
1399
1401
  }),
1400
- /* @__PURE__ */ H("div", {
1402
+ /* @__PURE__ */ B("div", {
1401
1403
  className: "min-w-0 flex-1",
1402
- children: /* @__PURE__ */ H(S, {
1404
+ children: /* @__PURE__ */ B(S, {
1403
1405
  inputRef: C,
1404
1406
  value: f,
1405
1407
  placeholder: u.inputPlaceholder,
1406
- error: R,
1408
+ error: I,
1407
1409
  onChange: (e) => g(o(e ?? "")),
1408
- onKeyDown: F
1410
+ onKeyDown: te
1409
1411
  })
1410
1412
  }),
1411
- /* @__PURE__ */ H(b, {
1413
+ /* @__PURE__ */ B(b, {
1412
1414
  "aria-label": u.renameWithAiLabel,
1413
1415
  tooltipProps: { tooltip: u.renameWithAiLabel },
1414
1416
  disabled: _ || n,
1415
1417
  "aria-busy": _,
1416
- onClick: I,
1417
- icon: _ ? /* @__PURE__ */ H("span", {
1418
+ onClick: P,
1419
+ icon: _ ? /* @__PURE__ */ B("span", {
1418
1420
  className: "flex",
1419
1421
  "aria-hidden": !0,
1420
- children: /* @__PURE__ */ H(k, { size: m.MD })
1421
- }) : /* @__PURE__ */ H(G, {
1422
+ children: /* @__PURE__ */ B(ee, { size: m.MD })
1423
+ }) : /* @__PURE__ */ B(W, {
1422
1424
  size: m.MD,
1423
1425
  stroke: h,
1424
1426
  "aria-hidden": !0
@@ -1431,4 +1433,4 @@ var Z = /* @__PURE__ */ function(e) {
1431
1433
  });
1432
1434
  tt.displayName = "RenameConversationPopup";
1433
1435
  //#endregion
1434
- export { ce as CONVERSATION_PANEL_CLASS, Ue as ConversationList, Je as ConversationListHeader, Ye as ConversationListSection, et as ConversationPanel, Q as ConversationRowVariant, Z as ConversationTypeFilter, tt as RenameConversationPopup };
1436
+ export { le as CONVERSATION_PANEL_CLASS, Ue as ConversationList, Je as ConversationListHeader, Ye as ConversationListSection, et as ConversationPanel, Q as ConversationRowVariant, Z as ConversationTypeFilter, tt as RenameConversationPopup };