@inkeep/agents-ui 0.0.0-dev-20260401193828 → 0.0.0-dev-20260402200940

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 (71) hide show
  1. package/dist/index.cjs +1 -1
  2. package/dist/index.js +78 -77
  3. package/dist/primitives/atoms/dialog.cjs +1 -1
  4. package/dist/primitives/atoms/dialog.js +110 -106
  5. package/dist/primitives/atoms/file-upload.cjs +1 -0
  6. package/dist/primitives/atoms/file-upload.d.ts +35 -0
  7. package/dist/primitives/atoms/file-upload.js +45 -0
  8. package/dist/primitives/atoms/icons/built-in-icons.cjs +1 -1
  9. package/dist/primitives/atoms/icons/built-in-icons.d.ts +8 -1
  10. package/dist/primitives/atoms/icons/built-in-icons.js +86 -79
  11. package/dist/primitives/atoms/icons/collections/pi.cjs +1 -1
  12. package/dist/primitives/atoms/icons/collections/pi.d.ts +6 -0
  13. package/dist/primitives/atoms/icons/collections/pi.js +103 -13
  14. package/dist/primitives/atoms/icons/inkeep-default-icons.cjs +1 -1
  15. package/dist/primitives/atoms/icons/inkeep-default-icons.js +9 -1
  16. package/dist/primitives/components/embedded-chat/file-upload-input.cjs +1 -0
  17. package/dist/primitives/components/embedded-chat/file-upload-input.d.ts +68 -0
  18. package/dist/primitives/components/embedded-chat/file-upload-input.js +328 -0
  19. package/dist/primitives/components/embedded-chat/image-preview-modal.cjs +1 -0
  20. package/dist/primitives/components/embedded-chat/image-preview-modal.d.ts +15 -0
  21. package/dist/primitives/components/embedded-chat/image-preview-modal.js +71 -0
  22. package/dist/primitives/components/embedded-chat/use-inkeep-chat.cjs +3 -3
  23. package/dist/primitives/components/embedded-chat/use-inkeep-chat.d.ts +6 -0
  24. package/dist/primitives/components/embedded-chat/use-inkeep-chat.js +282 -237
  25. package/dist/primitives/components/embedded-chat.cjs +5 -5
  26. package/dist/primitives/components/embedded-chat.d.ts +6 -5
  27. package/dist/primitives/components/embedded-chat.js +934 -907
  28. package/dist/primitives/components/embedded-search.d.ts +1 -1
  29. package/dist/primitives/hooks/index.cjs +1 -1
  30. package/dist/primitives/hooks/index.js +15 -14
  31. package/dist/primitives/hooks/use-input-notification.cjs +1 -0
  32. package/dist/primitives/hooks/use-input-notification.d.ts +9 -0
  33. package/dist/primitives/hooks/use-input-notification.js +18 -0
  34. package/dist/primitives/hooks/use-scrolling-fades.cjs +1 -1
  35. package/dist/primitives/hooks/use-scrolling-fades.d.ts +1 -0
  36. package/dist/primitives/hooks/use-scrolling-fades.js +21 -5
  37. package/dist/primitives/index.cjs +1 -1
  38. package/dist/primitives/index.js +69 -68
  39. package/dist/primitives/providers/base-events-provider.cjs +1 -1
  40. package/dist/primitives/providers/base-events-provider.js +1 -1
  41. package/dist/primitives/providers/image-preview-provider.cjs +1 -0
  42. package/dist/primitives/providers/image-preview-provider.d.ts +15 -0
  43. package/dist/primitives/providers/image-preview-provider.js +23 -0
  44. package/dist/primitives/utils/component-ids.cjs +1 -1
  45. package/dist/primitives/utils/component-ids.d.ts +54 -0
  46. package/dist/primitives/utils/component-ids.js +37 -10
  47. package/dist/react/embedded-chat.cjs +1 -1
  48. package/dist/react/embedded-chat.js +305 -260
  49. package/dist/react/index.cjs +1 -1
  50. package/dist/react/index.js +78 -77
  51. package/dist/styled/components/chat-history.cjs +1 -1
  52. package/dist/styled/components/chat-history.d.ts +1 -1
  53. package/dist/styled/components/chat-history.js +31 -29
  54. package/dist/styled/components/embedded-chat/file-upload-input.cjs +1 -0
  55. package/dist/styled/components/embedded-chat/file-upload-input.d.ts +20 -0
  56. package/dist/styled/components/embedded-chat/file-upload-input.js +300 -0
  57. package/dist/styled/components/embedded-chat/image-preview-modal.cjs +1 -0
  58. package/dist/styled/components/embedded-chat/image-preview-modal.d.ts +11 -0
  59. package/dist/styled/components/embedded-chat/image-preview-modal.js +77 -0
  60. package/dist/styled/components/embedded-chat.cjs +1 -1
  61. package/dist/styled/components/embedded-chat.d.ts +2 -0
  62. package/dist/styled/components/embedded-chat.js +479 -449
  63. package/dist/styled/components/message.cjs +1 -1
  64. package/dist/styled/components/message.js +89 -88
  65. package/dist/styled/index.cjs +1 -1
  66. package/dist/styled/index.js +77 -76
  67. package/dist/styled/inkeep.css.cjs +253 -7
  68. package/dist/styled/inkeep.css.js +253 -7
  69. package/dist/types/icons/built-in.d.ts +1 -1
  70. package/dist/types/icons/custom.d.ts +8 -0
  71. package/package.json +7 -6
@@ -1,16 +1,16 @@
1
1
  "use client";
2
- import { jsx as n, jsxs as j, Fragment as te } from "react/jsx-runtime";
3
- import Z, { memo as S, forwardRef as U, useRef as O, useState as q, useMemo as be, useEffect as $, useLayoutEffect as fe } from "react";
4
- import * as Ie from "react-dom/client";
2
+ import { jsx as o, jsxs as j, Fragment as te } from "react/jsx-runtime";
3
+ import X, { memo as S, forwardRef as Q, useRef as O, useState as q, useMemo as be, useEffect as U, useLayoutEffect as Ie } from "react";
4
+ import * as fe from "react-dom/client";
5
5
  import ie from "react-textarea-autosize";
6
6
  import * as ae from "@radix-ui/react-avatar";
7
7
  import * as z from "@radix-ui/react-checkbox";
8
- import * as R from "@radix-ui/react-popover";
9
- import * as W from "@radix-ui/react-tooltip";
8
+ import * as N from "@radix-ui/react-popover";
9
+ import * as R from "@radix-ui/react-tooltip";
10
10
  import * as K from "@radix-ui/react-scroll-area";
11
11
  import { ItemText as Me, Trigger as Ee, Icon as Se, Content as ke, Viewport as Be, Item as ye, ItemIndicator as Te, Root as xe, Value as we } from "../atoms/select.js";
12
- import { ComboboxListItems as He, ComboboxRoot as Le, ComboboxItemText as De, ComboboxControl as Oe, ComboboxInput as Re, ComboboxTrigger as We, ComboboxSelectedTags as Ne, ComboboxContent as Ve, ComboboxPositioner as $e, ComboboxList as Qe, ComboboxItem as Ue, ComboboxItemIndicator as Ke, ComboboxListEmpty as qe } from "../atoms/combobox.js";
13
- import { Overlay as ne, Content as oe, Close as re, Title as se, Root as ce } from "../atoms/dialog.js";
12
+ import { ComboboxListItems as He, ComboboxRoot as Le, ComboboxItemText as De, ComboboxControl as Oe, ComboboxInput as Ne, ComboboxTrigger as Re, ComboboxSelectedTags as We, ComboboxContent as Ve, ComboboxPositioner as Ue, ComboboxList as $e, ComboboxItem as Qe, ComboboxItemIndicator as Ke, ComboboxListEmpty as qe } from "../atoms/combobox.js";
13
+ import { Overlay as oe, Content as ne, Close as re, Title as se, Root as ce } from "../atoms/dialog.js";
14
14
  import je from "../atoms/avatars/ai.js";
15
15
  import ze from "../atoms/avatars/user.js";
16
16
  import { CustomIcon as E } from "../atoms/icons/custom-icon.js";
@@ -19,23 +19,23 @@ import { LinkWithQueryParams as Ge } from "../atoms/link.js";
19
19
  import { Markdown as G } from "../atoms/markdown/index.js";
20
20
  import { AttachmentItemProvider as pe, useAttachmentItem as Y } from "../providers/attachment-item-provider.js";
21
21
  import { useAttachmentsBar as k, AttachmentsBarProvider as Ye } from "../providers/attachments-bar-provider.js";
22
- import { SourceItemProvider as Je, useSourceItem as N } from "../providers/source-item-provider.js";
22
+ import { SourceItemProvider as Ze, useSourceItem as W } from "../providers/source-item-provider.js";
23
23
  import { useInkeepConfig as p } from "../providers/config-provider.js";
24
24
  import { useMessageFeedback as de } from "../providers/feedback-provider.js";
25
- import { MessageAttachmentsProvider as Xe, useMessageAttachments as J } from "../providers/message-attachments-provider.js";
26
- import { useMessage as P, MessageProvider as Ze } from "../providers/message-provider.js";
25
+ import { MessageAttachmentsProvider as Je, useMessageAttachments as Z } from "../providers/message-attachments-provider.js";
26
+ import { useMessage as P, MessageProvider as Xe } from "../providers/message-provider.js";
27
27
  import { CheckboxIcon as ve } from "../atoms/icons/checkbox-icon.js";
28
28
  import { useCopyToClipboard as ee } from "../hooks/use-copy-to-clipboard.js";
29
29
  import { FeedbackItemProvider as et, useFeedbackItem as me } from "../providers/feedback-item-provider.js";
30
- import { maybeRender as B, dataAttr as v, getInitials as tt, getMessageContent as _e } from "../utils/misc.js";
30
+ import { maybeRender as B, dataAttr as v, getInitials as tt, getMessageContent as ge } from "../utils/misc.js";
31
31
  import { ikp as i } from "./factory.js";
32
- import { useChat as g } from "./embedded-chat/chat-provider.js";
33
- import { ChatProvider as Ys } from "./embedded-chat/chat-provider.js";
32
+ import { useChat as _ } from "./embedded-chat/chat-provider.js";
33
+ import { ChatProvider as Gs } from "./embedded-chat/chat-provider.js";
34
34
  import it from "./tagline-logo-icon.js";
35
35
  import { useSettleAction as at } from "../hooks/use-settle-action.js";
36
- import { useContainerSize as nt } from "../hooks/use-container-size.js";
36
+ import { useContainerSize as ot } from "../hooks/use-container-size.js";
37
37
  import { useChatAction as le } from "./embedded-chat/use-chat-action.js";
38
- import { useHelpMenuState as ot, HelpMenuProvider as rt, useHelpMenu as st } from "../providers/help-menu-provider.js";
38
+ import { useHelpMenuState as nt, HelpMenuProvider as rt, useHelpMenu as st } from "../providers/help-menu-provider.js";
39
39
  import { useChatForm as A } from "../providers/chat-form-provider.js";
40
40
  import { useFormField as w, FormFieldProvider as ct } from "../providers/form-field-provider.js";
41
41
  import { Controller as dt } from "react-hook-form";
@@ -46,28 +46,30 @@ import { useComposedRefs as he } from "../utils/compose-refs.js";
46
46
  import { composeEventHandlers as h } from "../utils/compose-event-handlers.js";
47
47
  import { useSimpleScroll as ut } from "../hooks/use-simple-scroll.js";
48
48
  import { useDebounce as Ct } from "../hooks/use-debounce.js";
49
- import { HoverPopoverProvider as bt, useHoverPopover as ge } from "../providers/hover-popover-provider.js";
49
+ import { HoverPopoverProvider as bt, useHoverPopover as _e } from "../providers/hover-popover-provider.js";
50
50
  import { useWidgetAutoFocus as pt } from "./modal/widget-auto-focus.js";
51
51
  import { useBaseEvents as ue } from "../providers/base-events-provider.js";
52
52
  import { useShadow as vt } from "../atoms/shadow/context.js";
53
- import { getIcon as _t } from "../utils/get-source-icon.js";
54
- import { ChatHistoryProvider as gt } from "../providers/chat-history-provider.js";
53
+ import { getIcon as gt } from "../utils/get-source-icon.js";
54
+ import { ChatHistoryProvider as _t } from "../providers/chat-history-provider.js";
55
+ import { EmbeddedChatPrimitiveDropZone as Zs, EmbeddedChatPrimitiveFileContent as Js, EmbeddedChatPrimitiveFileInput as Xs, EmbeddedChatPrimitiveFileItem as ec, EmbeddedChatPrimitiveFileList as tc, EmbeddedChatPrimitiveFileName as ic, EmbeddedChatPrimitiveFilePreviewTrigger as ac, EmbeddedChatPrimitiveFileRemove as oc, EmbeddedChatPrimitiveFileRemoveIcon as nc, EmbeddedChatPrimitiveFileThumbnail as rc, EmbeddedChatPrimitiveFileTypeIcon as sc, EmbeddedChatPrimitiveFileUploadButton as cc, EmbeddedChatPrimitiveFileUploadButtonIcon as dc, EmbeddedChatPrimitiveInputFieldset as mc, EmbeddedChatPrimitiveInputNotification as lc, EmbeddedChatPrimitiveInputNotificationClose as hc, EmbeddedChatPrimitiveInputNotificationContent as uc, EmbeddedChatPrimitiveInputNotificationHeader as Cc, EmbeddedChatPrimitiveInputNotificationMessage as bc, EmbeddedChatPrimitiveInputNotificationTitle as pc, EmbeddedChatPrimitiveMessageFile as vc, EmbeddedChatPrimitiveMessageFiles as gc } from "./embedded-chat/file-upload-input.js";
56
+ import { EmbeddedChatPrimitiveImagePreviewModal as Fc, EmbeddedChatPrimitiveImagePreviewModalClose as Pc, EmbeddedChatPrimitiveImagePreviewModalContent as Ac, EmbeddedChatPrimitiveImagePreviewModalFileName as Ic, EmbeddedChatPrimitiveImagePreviewModalFooter as fc, EmbeddedChatPrimitiveImagePreviewModalImage as Mc, EmbeddedChatPrimitiveImagePreviewModalOverlay as Ec } from "./embedded-chat/image-preview-modal.js";
55
57
  const Ft = "__intro__", Pt = 767, At = i("div", {
56
58
  _id: "aiChatWrapper"
57
- }), Fe = U(
59
+ }), Fe = Q(
58
60
  ({
59
61
  chatHistoryLayout: t,
60
62
  isChatHistoryOpen: e,
61
63
  setChatHistoryOpen: a,
62
- isChatHistoryButtonVisible: o,
64
+ isChatHistoryButtonVisible: n,
63
65
  children: r,
64
66
  ...s
65
67
  }, c) => {
66
- $(() => {
67
- t === "stack" ? a(!1) : t === "sidepane" && o && a(!0);
68
- }, [t, o, a]);
68
+ U(() => {
69
+ t === "stack" ? a(!1) : t === "sidepane" && n && a(!0);
70
+ }, [t, n, a]);
69
71
  const d = t === "stack" && e;
70
- return /* @__PURE__ */ n(
72
+ return /* @__PURE__ */ o(
71
73
  At,
72
74
  {
73
75
  ref: c,
@@ -81,59 +83,59 @@ const Ft = "__intro__", Pt = 767, At = i("div", {
81
83
  }
82
84
  );
83
85
  Fe.displayName = "EmbeddedChatWrapperInner";
84
- const Bn = U((t, e) => {
85
- const { children: a, ...o } = t, { isHidden: r, isMobile: s } = g(), { aiChatSettings: c } = p(), { isChatHistoryButtonVisible: d } = c, [m, l] = nt(), u = he(e, m), b = l?.width ? l.width > 580 : !0, C = lt(), _ = (l?.width ?? 0) > Pt ? "sidepane" : "stack";
86
- return /* @__PURE__ */ n(gt, { layout: _, children: ({ isOpen: f, setIsOpen: I }) => /* @__PURE__ */ n(
86
+ const Bo = Q((t, e) => {
87
+ const { children: a, ...n } = t, { isHidden: r, isMobile: s } = _(), { aiChatSettings: c } = p(), { isChatHistoryButtonVisible: d } = c, [m, l] = ot(), u = he(e, m), b = l?.width ? l.width > 580 : !0, C = lt(), g = (l?.width ?? 0) > Pt ? "sidepane" : "stack";
88
+ return /* @__PURE__ */ o(_t, { layout: g, children: ({ isOpen: I, setIsOpen: f }) => /* @__PURE__ */ o(
87
89
  Fe,
88
90
  {
89
91
  ref: u,
90
- chatHistoryLayout: _,
91
- isChatHistoryOpen: f,
92
- setChatHistoryOpen: I,
92
+ chatHistoryLayout: g,
93
+ isChatHistoryOpen: I,
94
+ setChatHistoryOpen: f,
93
95
  isChatHistoryButtonVisible: !!d,
94
96
  "data-widget-md": v(b),
95
97
  "data-hidden": v(r),
96
98
  "data-in-modal": v(!!C),
97
99
  "data-mobile": v(s),
98
- ...o,
100
+ ...n,
99
101
  children: a
100
102
  }
101
103
  ) });
102
- }), ft = i("div", {
104
+ }), It = i("div", {
103
105
  _id: "aiChatRoot"
104
- }), yn = (t) => {
105
- const { isHidden: e } = g(), { form: a } = A();
106
- return a ? null : /* @__PURE__ */ n(ft, { "data-hidden": v(e), ...t });
107
- }, Tn = i("div", {
106
+ }), yo = (t) => {
107
+ const { isHidden: e } = _(), { form: a } = A();
108
+ return a ? null : /* @__PURE__ */ o(It, { "data-hidden": v(e), ...t });
109
+ }, To = i("div", {
108
110
  _id: "aiChatHeader"
109
- }), xn = i("div", {
111
+ }), xo = i("div", {
110
112
  _id: "aiChatHeader__Toolbar"
111
- }), wn = i("div", {
113
+ }), wo = i("div", {
112
114
  _id: "aiChatHeader__ToolbarHeaderWrapper"
113
- }), It = i(E, {
115
+ }), ft = i(E, {
114
116
  _id: "aiChatHeader__ChatHistoryButtonIcon"
115
- }), Hn = S(
116
- (t) => /* @__PURE__ */ n(It, { ...t })
117
- ), Ln = i("button", {
117
+ }), Ho = S(
118
+ (t) => /* @__PURE__ */ o(ft, { ...t })
119
+ ), Lo = i("button", {
118
120
  _id: "aiChatHeader__ChatHistoryButton"
119
121
  }), Mt = i("div", {
120
122
  _id: "aiChatHeader__ToolbarHeader"
121
- }), Dn = S(
123
+ }), Do = S(
122
124
  (t) => {
123
125
  const { aiChatSettings: e } = p(), a = `Ask ${e.aiAssistantName || "AI"}`;
124
- return /* @__PURE__ */ n(Mt, { ...t, children: a });
126
+ return /* @__PURE__ */ o(Mt, { ...t, children: a });
125
127
  }
126
- ), On = i("div", {
128
+ ), Oo = i("div", {
127
129
  _id: "aiChatContent"
128
- }), Rn = i(K.Root, {
130
+ }), No = i(K.Root, {
129
131
  _id: "aiChatContentScrollArea"
130
132
  }), Et = i(K.Viewport, {
131
133
  _id: "aiChatContentScrollArea__Viewport"
132
- }), Wn = U(({ children: t, ...e }, a) => {
133
- const { messages: o, isStreaming: r } = g(), { containerRef: s, scrollToBottom: c, handleScroll: d } = ut({ isStreaming: r }), m = he(a, s);
134
- return $(() => {
135
- o.length > 0 && !r && c();
136
- }, [o.length, c, r]), /* @__PURE__ */ n(
134
+ }), Ro = Q(({ children: t, ...e }, a) => {
135
+ const { messages: n, isStreaming: r } = _(), { containerRef: s, scrollToBottom: c, handleScroll: d } = ut({ isStreaming: r }), m = he(a, s);
136
+ return U(() => {
137
+ n.length > 0 && !r && c();
138
+ }, [n.length, c, r]), /* @__PURE__ */ o(
137
139
  Et,
138
140
  {
139
141
  ref: m,
@@ -142,49 +144,49 @@ const Bn = U((t, e) => {
142
144
  style: { outline: "none" },
143
145
  children: (
144
146
  /* added this to fix an overflow issue see https://github.com/radix-ui/primitives/issues/926 */
145
- /* @__PURE__ */ n("div", { "data-part": "grid", tabIndex: -1, style: { display: "grid", outline: "none" }, children: t })
147
+ /* @__PURE__ */ o("div", { "data-part": "grid", tabIndex: -1, style: { display: "grid", outline: "none" }, children: t })
146
148
  ),
147
149
  ...e
148
150
  }
149
151
  );
150
- }), Nn = i(
152
+ }), Wo = i(
151
153
  K.ScrollAreaScrollbar,
152
154
  {
153
155
  _id: "aiChatContentScrollArea__Scrollbar"
154
156
  }
155
- ), Vn = i(
157
+ ), Vo = i(
156
158
  K.ScrollAreaThumb,
157
159
  {
158
160
  _id: "aiChatContentScrollArea__Thumb"
159
161
  }
160
- ), $n = i(K.Corner, {
162
+ ), Uo = i(K.Corner, {
161
163
  _id: "aiChatContentScrollArea__Corner"
162
164
  }), St = i("div", {
163
165
  _id: "aiChatMessages"
164
- }), Qn = (t) => {
165
- const e = g(), { children: a, ...o } = t;
166
- return /* @__PURE__ */ n(St, { children: B(a, e), ...o });
166
+ }), $o = (t) => {
167
+ const e = _(), { children: a, ...n } = t;
168
+ return /* @__PURE__ */ o(St, { children: B(a, e), ...n });
167
169
  }, kt = i("div", {
168
170
  _id: "aiChatDisclaimer"
169
- }), Un = S(
171
+ }), Qo = S(
170
172
  (t) => {
171
- const { aiChatSettings: e } = p(), [a, o] = q(!1), r = Ct(a, 100);
172
- return e.disclaimerSettings?.isEnabled ? /* @__PURE__ */ n(bt, { open: a, setOpen: o, children: /* @__PURE__ */ n(R.Root, { open: r, onOpenChange: o, children: /* @__PURE__ */ n(kt, { ...t }) }) }) : null;
173
+ const { aiChatSettings: e } = p(), [a, n] = q(!1), r = Ct(a, 100);
174
+ return e.disclaimerSettings?.isEnabled ? /* @__PURE__ */ o(bt, { open: a, setOpen: n, children: /* @__PURE__ */ o(N.Root, { open: r, onOpenChange: n, children: /* @__PURE__ */ o(kt, { ...t }) }) }) : null;
173
175
  }
174
176
  ), Bt = i("span", {
175
177
  _id: "aiChatDisclaimerLabel"
176
- }), Kn = S(
178
+ }), Ko = S(
177
179
  (t) => {
178
180
  const { aiChatSettings: e } = p(), a = e.disclaimerSettings;
179
- return /* @__PURE__ */ n(Bt, { children: a?.label, ...t });
181
+ return /* @__PURE__ */ o(Bt, { children: a?.label, ...t });
180
182
  }
181
- ), yt = i(R.Trigger, {
183
+ ), yt = i(N.Trigger, {
182
184
  _id: "aiChatDisclaimerTrigger",
183
- children: /* @__PURE__ */ n(E, { iconKey: "info" })
184
- }), qn = S(
185
+ children: /* @__PURE__ */ o(E, { iconKey: "info" })
186
+ }), qo = S(
185
187
  (t) => {
186
- const { setOpen: e } = ge();
187
- return /* @__PURE__ */ n(
188
+ const { setOpen: e } = _e();
189
+ return /* @__PURE__ */ o(
188
190
  yt,
189
191
  {
190
192
  onMouseEnter: () => e(!0),
@@ -193,11 +195,11 @@ const Bn = U((t, e) => {
193
195
  }
194
196
  );
195
197
  }
196
- ), Tt = i(R.Content, {
198
+ ), Tt = i(N.Content, {
197
199
  _id: "aiChatDisclaimerContent"
198
- }), jn = (t) => {
199
- const { setOpen: e } = ge();
200
- return /* @__PURE__ */ n(
200
+ }), jo = (t) => {
201
+ const { setOpen: e } = _e();
202
+ return /* @__PURE__ */ o(
201
203
  Tt,
202
204
  {
203
205
  onMouseEnter: () => e(!0),
@@ -211,116 +213,116 @@ const Bn = U((t, e) => {
211
213
  );
212
214
  }, xt = i(G, {
213
215
  _id: "aiChatDisclaimerText"
214
- }), zn = S(
216
+ }), zo = S(
215
217
  (t) => {
216
218
  const { aiChatSettings: e } = p(), a = e.aiAssistantName, r = e.disclaimerSettings?.tooltip || `Information provided by ${a || "this AI assistant"} is not guaranteed to be accurate or comprehensive.`;
217
- return /* @__PURE__ */ n(xt, { shouldOpenLinksInNewTab: !0, children: r, ...t });
219
+ return /* @__PURE__ */ o(xt, { shouldOpenLinksInNewTab: !0, children: r, ...t });
218
220
  }
219
- ), Gn = i(R.Arrow, {
221
+ ), Go = i(N.Arrow, {
220
222
  _id: "aiChatDisclaimerArrow"
221
223
  }), wt = i("div", {
222
224
  _id: "aiChatExampleQuestions"
223
- }), Yn = (t) => {
224
- const { aiChatSettings: e } = p(), { messages: a } = g();
225
- return !e.exampleQuestions?.length || a.length ? null : /* @__PURE__ */ n(wt, { ...t });
225
+ }), Yo = (t) => {
226
+ const { aiChatSettings: e } = p(), { messages: a } = _();
227
+ return !e.exampleQuestions?.length || a.length ? null : /* @__PURE__ */ o(wt, { ...t });
226
228
  }, Ht = i("h3", {
227
229
  _id: "aiChatExampleQuestionsLabel"
228
- }), Jn = S(
230
+ }), Zo = S(
229
231
  (t) => {
230
232
  const { aiChatSettings: e } = p();
231
- return /* @__PURE__ */ n(Ht, { children: e.exampleQuestionsLabel, ...t });
233
+ return /* @__PURE__ */ o(Ht, { children: e.exampleQuestionsLabel, ...t });
232
234
  }
233
235
  ), Lt = i("div", {
234
236
  _id: "aiChatExampleQuestionsList"
235
- }), Xn = S(
237
+ }), Jo = S(
236
238
  (t) => {
237
- const { aiChatSettings: e } = p(), a = e.exampleQuestions, { children: o, ...r } = t;
238
- return /* @__PURE__ */ n(Lt, { children: B(o, a), ...r });
239
+ const { aiChatSettings: e } = p(), a = e.exampleQuestions, { children: n, ...r } = t;
240
+ return /* @__PURE__ */ o(Lt, { children: B(n, a), ...r });
239
241
  }
240
242
  ), Dt = i("div", {
241
243
  _id: "aiChatExampleQuestion"
242
- }), Zn = U((t, e) => {
243
- const { aiChatSettings: a } = p(), o = a.isFirstExampleQuestionHighlighted;
244
- return /* @__PURE__ */ n(Dt, { ref: e, "data-highlight": v(o), ...t });
244
+ }), Xo = Q((t, e) => {
245
+ const { aiChatSettings: a } = p(), n = a.isFirstExampleQuestionHighlighted;
246
+ return /* @__PURE__ */ o(Dt, { ref: e, "data-highlight": v(n), ...t });
245
247
  }), Ot = i("button", {
246
248
  _id: "aiChatExampleQuestionButton"
247
- }), eo = (t) => {
248
- const { question: e, onClick: a, ...o } = t, r = typeof e == "object" ? e.value : e, s = typeof e == "object" ? e.label : e, { handleSubmit: c } = g();
249
- return /* @__PURE__ */ n(
249
+ }), en = (t) => {
250
+ const { question: e, onClick: a, ...n } = t, r = typeof e == "object" ? e.value : e, s = typeof e == "object" ? e.label : e, { handleSubmit: c } = _();
251
+ return /* @__PURE__ */ o(
250
252
  Ot,
251
253
  {
252
254
  onClick: h(a, () => c(r)),
253
255
  children: s,
254
- ...o
256
+ ...n
255
257
  }
256
258
  );
257
- }, Rt = i("div", {
259
+ }, Nt = i("div", {
258
260
  _id: "aiChatWorkflows"
259
- }), to = (t) => {
260
- const { aiChatSettings: e } = p(), { messages: a } = g();
261
- return !e.workflows?.length || a.length ? null : /* @__PURE__ */ n(Rt, { ...t });
262
- }, Wt = i("h3", {
261
+ }), tn = (t) => {
262
+ const { aiChatSettings: e } = p(), { messages: a } = _();
263
+ return !e.workflows?.length || a.length ? null : /* @__PURE__ */ o(Nt, { ...t });
264
+ }, Rt = i("h3", {
263
265
  _id: "aiChatWorkflowsLabel"
264
- }), io = S((t) => {
266
+ }), an = S((t) => {
265
267
  const { aiChatSettings: e } = p();
266
- return /* @__PURE__ */ n(Wt, { children: e.workflowsHeader, ...t });
267
- }), Nt = i("div", {
268
+ return /* @__PURE__ */ o(Rt, { children: e.workflowsHeader, ...t });
269
+ }), Wt = i("div", {
268
270
  _id: "aiChatWorkflowsList"
269
- }), ao = S(
271
+ }), on = S(
270
272
  (t) => {
271
- const { aiChatSettings: e } = p(), a = e.workflows, { children: o, ...r } = t;
272
- return /* @__PURE__ */ n(Nt, { children: B(o, a), ...r });
273
+ const { aiChatSettings: e } = p(), a = e.workflows, { children: n, ...r } = t;
274
+ return /* @__PURE__ */ o(Wt, { children: B(n, a), ...r });
273
275
  }
274
276
  ), Vt = i("button", {
275
277
  _id: "aiChatWorkflow"
276
- }), no = (t) => {
277
- const { workflow: e, onClick: a, ...o } = t, r = (s) => {
278
+ }), nn = (t) => {
279
+ const { workflow: e, onClick: a, ...n } = t, r = (s) => {
278
280
  };
279
- return /* @__PURE__ */ n(
281
+ return /* @__PURE__ */ o(
280
282
  Vt,
281
283
  {
282
284
  onClick: h(a, () => r()),
283
285
  children: e.displayName,
284
- ...o
286
+ ...n
285
287
  }
286
288
  );
287
- }, $t = i("div", {
289
+ }, Ut = i("div", {
288
290
  _id: "aiChatMessageWrapper"
289
- }), Qt = (t) => {
291
+ }), $t = (t) => {
290
292
  const { message: e, ...a } = t;
291
- return e.role === "system" ? null : /* @__PURE__ */ n(Ze, { message: e, children: /* @__PURE__ */ n($t, { "data-role": e.role, ...a }) });
292
- }, oo = S(
293
+ return e.role === "system" ? null : /* @__PURE__ */ o(Xe, { message: e, children: /* @__PURE__ */ o(Ut, { "data-role": e.role, ...a }) });
294
+ }, rn = S(
293
295
  (t) => {
294
- const { message: e, ...a } = t, { aiChatSettings: o, baseSettings: r } = p(), s = o.aiAssistantName, c = s ? `Hi, I'm ${s}!` : "Hi!", d = o.chatSubjectName ?? r.organizationDisplayName, m = d ? `
296
+ const { message: e, ...a } = t, { aiChatSettings: n, baseSettings: r } = p(), s = n.aiAssistantName, c = s ? `Hi, I'm ${s}!` : "Hi!", d = n.chatSubjectName ?? r.organizationDisplayName, m = d ? `
295
297
 
296
298
  Ask me anything about \`${d}\`.` : `
297
299
 
298
300
  How can I help?`, u = {
299
- parts: [{ type: "text", text: o.introMessage ?? `${c}${m}` }],
301
+ parts: [{ type: "text", text: n.introMessage ?? `${c}${m}` }],
300
302
  id: Ft,
301
303
  ...e,
302
304
  role: "assistant"
303
305
  };
304
- return /* @__PURE__ */ n(Qt, { message: u, ...a });
306
+ return /* @__PURE__ */ o($t, { message: u, ...a });
305
307
  }
306
- ), Ut = i("div", {
308
+ ), Qt = i("div", {
307
309
  _id: "aiChatMessageHeader"
308
- }), ro = (t) => {
310
+ }), sn = (t) => {
309
311
  const { message: e } = P();
310
- return /* @__PURE__ */ n(Ut, { "data-role": e.role, ...t });
312
+ return /* @__PURE__ */ o(Qt, { "data-role": e.role, ...t });
311
313
  }, Kt = i("div", {
312
314
  _id: "aiChatMessageLoading",
313
315
  children: "Thinking..."
314
- }), so = (t) => /* @__PURE__ */ n(Kt, { ...t }), qt = i("div", {
316
+ }), cn = (t) => /* @__PURE__ */ o(Kt, { ...t }), qt = i("div", {
315
317
  _id: "aiChatMessageAvatar"
316
- }), co = (t) => {
318
+ }), dn = (t) => {
317
319
  const { message: e } = P();
318
- return /* @__PURE__ */ n(qt, { "data-role": e.role, ...t });
320
+ return /* @__PURE__ */ o(qt, { "data-role": e.role, ...t });
319
321
  }, jt = i(ae.Root, {
320
322
  _id: "aiChatMessageAvatarContent"
321
- }), mo = (t) => {
323
+ }), mn = (t) => {
322
324
  const { message: e } = P(), { baseSettings: a } = p();
323
- return /* @__PURE__ */ n(
325
+ return /* @__PURE__ */ o(
324
326
  jt,
325
327
  {
326
328
  "data-username": v(e.role === "user" && !!a.userProperties.name),
@@ -330,10 +332,10 @@ const Bn = U((t, e) => {
330
332
  );
331
333
  }, zt = i(ae.Fallback, {
332
334
  _id: "aiChatMessageAvatarFallback"
333
- }), lo = S(
335
+ }), ln = S(
334
336
  (t) => {
335
337
  const { baseSettings: e } = p(), { message: a } = P();
336
- return e.userProperties.name ? /* @__PURE__ */ n(
338
+ return e.userProperties.name ? /* @__PURE__ */ o(
337
339
  zt,
338
340
  {
339
341
  "data-role": a.role,
@@ -344,35 +346,35 @@ const Bn = U((t, e) => {
344
346
  }
345
347
  ), Ce = i(ae.Image, {
346
348
  _id: "aiChatMessageAvatarImage"
347
- }), ho = S(
349
+ }), hn = S(
348
350
  (t) => {
349
351
  const { onLoadingStatusChange: e, ...a } = t, {
350
- aiChatSettings: o,
352
+ aiChatSettings: n,
351
353
  baseSettings: { userProperties: r }
352
- } = p(), { message: s } = P(), { aiAssistantAvatar: c } = o ?? {}, d = typeof c == "string" ? c : c?.light, m = (typeof c == "string" ? c : c?.dark) ?? d, l = ht(d, m), [u, b] = q(l);
353
- $(() => {
354
+ } = p(), { message: s } = P(), { aiAssistantAvatar: c } = n ?? {}, d = typeof c == "string" ? c : c?.light, m = (typeof c == "string" ? c : c?.dark) ?? d, l = ht(d, m), [u, b] = q(l);
355
+ U(() => {
354
356
  b(l);
355
357
  }, [l]);
356
- const C = (_) => {
357
- _ === "error" && b(null);
358
+ const C = (g) => {
359
+ g === "error" && b(null);
358
360
  };
359
- return s.role === "user" ? r.name ? null : o.userAvatar ? /* @__PURE__ */ n(
361
+ return s.role === "user" ? r.name ? null : n.userAvatar ? /* @__PURE__ */ o(
360
362
  Ce,
361
363
  {
362
364
  "data-type": "image",
363
365
  alt: "User avatar",
364
366
  "data-role": s.role,
365
- src: o.userAvatar,
367
+ src: n.userAvatar,
366
368
  ...t
367
369
  }
368
- ) : /* @__PURE__ */ n(
370
+ ) : /* @__PURE__ */ o(
369
371
  ze,
370
372
  {
371
373
  "data-type": "icon",
372
374
  "data-role": s.role,
373
375
  ...t
374
376
  }
375
- ) : u ? /* @__PURE__ */ n(
377
+ ) : u ? /* @__PURE__ */ o(
376
378
  Ce,
377
379
  {
378
380
  src: u,
@@ -385,7 +387,7 @@ const Bn = U((t, e) => {
385
387
  ),
386
388
  ...a
387
389
  }
388
- ) : /* @__PURE__ */ n(
390
+ ) : /* @__PURE__ */ o(
389
391
  je,
390
392
  {
391
393
  "data-type": "icon",
@@ -396,124 +398,124 @@ const Bn = U((t, e) => {
396
398
  }
397
399
  ), Gt = i("span", {
398
400
  _id: "aiChatMessageName"
399
- }), uo = (t) => {
400
- const { message: e } = P(), { aiChatSettings: a } = p(), { aiAssistantName: o } = a;
401
- return /* @__PURE__ */ n(
401
+ }), un = (t) => {
402
+ const { message: e } = P(), { aiChatSettings: a } = p(), { aiAssistantName: n } = a;
403
+ return /* @__PURE__ */ o(
402
404
  Gt,
403
405
  {
404
406
  "data-role": e.role,
405
- children: e.role === "user" ? "You" : o || "AI assistant",
407
+ children: e.role === "user" ? "You" : n || "AI assistant",
406
408
  ...t
407
409
  }
408
410
  );
409
411
  }, Yt = i("div", {
410
412
  _id: "aiChatMessageContentWrapper"
411
- }), Co = (t) => {
413
+ }), Cn = (t) => {
412
414
  const { message: e } = P();
413
- return /* @__PURE__ */ n(Yt, { "data-role": e.role, ...t });
414
- }, Jt = i("div", {
415
+ return /* @__PURE__ */ o(Yt, { "data-role": e.role, ...t });
416
+ }, Zt = i("div", {
415
417
  _id: "aiChatMessageContent"
416
- }), bo = (t) => {
418
+ }), bn = (t) => {
417
419
  const { message: e } = P();
418
- return /* @__PURE__ */ n(Jt, { "data-role": e.role, ...t });
419
- }, Xt = i("div", {
420
+ return /* @__PURE__ */ o(Zt, { "data-role": e.role, ...t });
421
+ }, Jt = i("div", {
420
422
  _id: "aiChatMessageAttachments"
421
- }), po = (t) => {
423
+ }), pn = (t) => {
422
424
  const { message: e } = P(), a = [];
423
- return e.role !== "user" || !a?.length ? null : /* @__PURE__ */ n(Xe, { children: /* @__PURE__ */ n(Xt, { ...t }) });
424
- }, Zt = i("div", {
425
+ return e.role !== "user" || !a?.length ? null : /* @__PURE__ */ o(Je, { children: /* @__PURE__ */ o(Jt, { ...t }) });
426
+ }, Xt = i("div", {
425
427
  _id: "aiChatMessageAttachments__List"
426
- }), vo = (t) => {
427
- const { children: e, ...a } = t, o = [];
428
- return o ? /* @__PURE__ */ n(Zt, { children: B(e, o), ...a }) : null;
428
+ }), vn = (t) => {
429
+ const { children: e, ...a } = t, n = [];
430
+ return n ? /* @__PURE__ */ o(Xt, { children: B(e, n), ...a }) : null;
429
431
  }, ei = i("div", {
430
432
  _id: "aiChatMessageAttachments__Item"
431
- }), _o = (t) => {
432
- const { attachment: e, onClick: a, ...o } = t, { selectItem: r, onOpen: s } = J();
433
- return /* @__PURE__ */ n(pe, { attachment: e, children: /* @__PURE__ */ n(
433
+ }), gn = (t) => {
434
+ const { attachment: e, onClick: a, ...n } = t, { selectItem: r, onOpen: s } = Z();
435
+ return /* @__PURE__ */ o(pe, { attachment: e, children: /* @__PURE__ */ o(
434
436
  ei,
435
437
  {
436
438
  onClick: h(a, () => {
437
439
  r(e), s();
438
440
  }),
439
- ...o
441
+ ...n
440
442
  }
441
443
  ) });
442
444
  }, ti = i(x, {
443
445
  _id: "aiChatMessageAttachments__ItemIcon"
444
- }), go = (t) => {
446
+ }), _n = (t) => {
445
447
  const { attachment: e } = Y(), a = e.contentType?.attachmentIcon;
446
- return a ? /* @__PURE__ */ n(ti, { iconSettings: a, ...t }) : null;
448
+ return a ? /* @__PURE__ */ o(ti, { iconSettings: a, ...t }) : null;
447
449
  }, ii = i("span", {
448
450
  _id: "aiChatMessageAttachments__ItemTitle"
449
- }), Fo = (t) => {
451
+ }), Fn = (t) => {
450
452
  const { attachment: e } = Y();
451
- return /* @__PURE__ */ n(ii, { children: e.title, ...t });
453
+ return /* @__PURE__ */ o(ii, { children: e.title, ...t });
452
454
  }, ai = i(ce, {
453
455
  _id: "aiChatMessageAttachmentsPreview"
454
- }), Po = (t) => {
455
- const { onOpenChange: e, ...a } = t, { selectItem: o, isOpen: r, onClose: s, selectedItem: c } = J();
456
- return /* @__PURE__ */ n(
456
+ }), Pn = (t) => {
457
+ const { onOpenChange: e, ...a } = t, { selectItem: n, isOpen: r, onClose: s, selectedItem: c } = Z();
458
+ return /* @__PURE__ */ o(
457
459
  ai,
458
460
  {
459
461
  open: r && c !== null,
460
462
  onOpenChange: h(e, (m) => {
461
- m || (s(), o(null));
463
+ m || (s(), n(null));
462
464
  }),
463
465
  ...a
464
466
  }
465
467
  );
466
- }, Ao = i(ne, {
468
+ }, An = i(oe, {
467
469
  _id: "aiChatMessageAttachmentsPreview__Overlay"
468
- }), fo = i(oe, {
470
+ }), In = i(ne, {
469
471
  _id: "aiChatMessageAttachmentsPreview__Content",
470
472
  "aria-describedby": void 0
471
- }), ni = i(se, {
473
+ }), oi = i(se, {
472
474
  _id: "aiChatMessageAttachmentsPreview__Header"
473
- }), Io = (t) => {
474
- const { selectedItem: e } = J();
475
- return /* @__PURE__ */ n(
476
- ni,
475
+ }), fn = (t) => {
476
+ const { selectedItem: e } = Z();
477
+ return /* @__PURE__ */ o(
478
+ oi,
477
479
  {
478
480
  children: e?.title || "Attachment",
479
481
  ...t
480
482
  }
481
483
  );
482
- }, Mo = i(re, {
484
+ }, Mn = i(re, {
483
485
  _id: "aiChatMessageAttachmentsPreview__Close",
484
- children: /* @__PURE__ */ n(E, { iconKey: "close" })
485
- }), oi = i("p", {
486
+ children: /* @__PURE__ */ o(E, { iconKey: "close" })
487
+ }), ni = i("p", {
486
488
  _id: "aiChatMessageAttachmentsPreview__Body"
487
- }), Eo = (t) => {
488
- const { selectedItem: e } = J();
489
- return /* @__PURE__ */ n(oi, { children: e?.content, ...t });
490
- }, So = (t) => {
491
- const { text: e, componentStyles: a, ...o } = t, { aiChatSettings: r } = p(), { shouldOpenLinksInNewTab: s } = r;
492
- return /* @__PURE__ */ n(
489
+ }), En = (t) => {
490
+ const { selectedItem: e } = Z();
491
+ return /* @__PURE__ */ o(ni, { children: e?.content, ...t });
492
+ }, Sn = (t) => {
493
+ const { text: e, componentStyles: a, ...n } = t, { aiChatSettings: r } = p(), { shouldOpenLinksInNewTab: s } = r;
494
+ return /* @__PURE__ */ o(
493
495
  G,
494
496
  {
495
497
  children: e,
496
498
  componentStyles: a,
497
499
  shouldOpenLinksInNewTab: s,
498
- ...o
500
+ ...n
499
501
  }
500
502
  );
501
- }, ko = ({
503
+ }, kn = ({
502
504
  name: t,
503
505
  props: e,
504
506
  componentDef: a
505
507
  }) => {
506
- const r = vt()?.shadowHost, s = O(void 0), c = O(null), d = O(null), m = O(!1), [l, u] = q(!1), [b, C] = q(!1), _ = O(a);
508
+ const r = vt()?.shadowHost, s = O(void 0), c = O(null), d = O(null), m = O(!1), [l, u] = q(!1), [b, C] = q(!1), g = O(a);
507
509
  be(() => {
508
- a !== _.current && (typeof a == "function" && typeof _.current == "function" ? a.toString() !== _.current.toString() && (_.current = a) : _.current = a);
510
+ a !== g.current && (typeof a == "function" && typeof g.current == "function" ? a.toString() !== g.current.toString() && (g.current = a) : g.current = a);
509
511
  }, [a]);
510
- const f = _.current, I = O(e);
511
- I.current = e;
512
- const M = O(null), H = O(f);
513
- H.current !== f && (M.current = null, H.current = f), $(() => {
512
+ const I = g.current, f = O(e);
513
+ f.current = e;
514
+ const M = O(null), H = O(I);
515
+ H.current !== I && (M.current = null, H.current = I), U(() => {
514
516
  s.current || (s.current = `dyn:${t}:${crypto.randomUUID()}`, u(!0));
515
- }, [t]), fe(() => {
516
- if (!f || !r || !l || !s.current)
517
+ }, [t]), Ie(() => {
518
+ if (!I || !r || !l || !s.current)
517
519
  return;
518
520
  const L = s.current, F = document.createElement("div");
519
521
  return F.setAttribute("data-ikp-component", ""), F.setAttribute("data-component", t), F.setAttribute("slot", L), c.current = F, m.current = !1, r.appendChild(F), C(!0), () => {
@@ -526,8 +528,8 @@ const Bn = U((t, e) => {
526
528
  F.parentNode === r && F.remove(), c.current = null;
527
529
  });
528
530
  };
529
- }, [f, r, l, t]);
530
- const Q = (L) => {
531
+ }, [I, r, l, t]);
532
+ const $ = (L) => {
531
533
  const F = c.current;
532
534
  if (!F || m.current) return;
533
535
  const V = (T) => {
@@ -536,8 +538,8 @@ const Bn = U((t, e) => {
536
538
  return M.current = !1, !1;
537
539
  try {
538
540
  if (T.constructor === Function) {
539
- const X = T({});
540
- return M.current = Z.isValidElement(X), M.current;
541
+ const J = T({});
542
+ return M.current = X.isValidElement(J), M.current;
541
543
  }
542
544
  return M.current = !1, !1;
543
545
  } catch {
@@ -545,10 +547,10 @@ const Bn = U((t, e) => {
545
547
  }
546
548
  };
547
549
  let y;
548
- const D = _.current;
550
+ const D = g.current;
549
551
  if (V(D))
550
552
  try {
551
- y = Z.createElement(
553
+ y = X.createElement(
552
554
  D,
553
555
  L || {}
554
556
  );
@@ -562,36 +564,36 @@ const Bn = U((t, e) => {
562
564
  console.error("Invalid component definition");
563
565
  return;
564
566
  }
565
- if (Z.isValidElement(y) || typeof y == "string") {
567
+ if (X.isValidElement(y) || typeof y == "string") {
566
568
  if (m.current) return;
567
- d.current || (d.current = Ie.createRoot(F)), !m.current && d.current && d.current.render(y);
569
+ d.current || (d.current = fe.createRoot(F)), !m.current && d.current && d.current.render(y);
568
570
  return;
569
571
  }
570
572
  d.current && !m.current && d.current.render(null);
571
573
  };
572
- return $(() => {
573
- Q(I.current);
574
- }, [f, b]), $(() => {
575
- !d.current || m.current || Q(e);
576
- }, [e]), /* @__PURE__ */ n("slot", { name: s.current });
577
- }, Bo = i("div", {
574
+ return U(() => {
575
+ $(f.current);
576
+ }, [I, b]), U(() => {
577
+ !d.current || m.current || $(e);
578
+ }, [e]), /* @__PURE__ */ o("slot", { name: s.current });
579
+ }, Bn = i("div", {
578
580
  _id: "aiChatMessagePart"
579
581
  }), ri = i("div", {
580
582
  _id: "aiChatMessageToolbar"
581
- }), yo = (t) => {
582
- const { isLoading: e, messages: a } = g(), { message: o } = P();
583
- return a.at(-1)?.id === o?.id && e || o.role === "user" ? null : /* @__PURE__ */ n(ri, { ...t });
583
+ }), yn = (t) => {
584
+ const { isLoading: e, messages: a } = _(), { message: n } = P();
585
+ return a.at(-1)?.id === n?.id && e || n.role === "user" ? null : /* @__PURE__ */ o(ri, { ...t });
584
586
  }, si = i("div", {
585
587
  _id: "aiChatMessageCustomActions"
586
- }), To = (t) => {
587
- const { children: e, ...a } = t, { aiChatSettings: o } = p(), { message: r } = P(), { isStreaming: s, messages: c } = g(), d = c.at(-1)?.id === r?.id, m = r.role === "assistant", l = o.messageActions || [];
588
- return d && s || !m ? null : /* @__PURE__ */ n(si, { children: B(e, l), ...a });
588
+ }), Tn = (t) => {
589
+ const { children: e, ...a } = t, { aiChatSettings: n } = p(), { message: r } = P(), { isStreaming: s, messages: c } = _(), d = c.at(-1)?.id === r?.id, m = r.role === "assistant", l = n.messageActions || [];
590
+ return d && s || !m ? null : /* @__PURE__ */ o(si, { children: B(e, l), ...a });
589
591
  }, ci = i("a", {
590
592
  _id: "aiChatMessageCustomAction"
591
593
  }), di = i("button", {
592
594
  _id: "aiChatMessageCustomAction"
593
- }), xo = (t) => {
594
- const { onClick: e, action: a, ...o } = t, { message: r } = P(), { handleAction: s } = le(a, r.id), { logEvent: c } = ue(), { conversationId: d } = g(), m = () => {
595
+ }), xn = (t) => {
596
+ const { onClick: e, action: a, ...n } = t, { message: r } = P(), { handleAction: s } = le(a, r.id), { logEvent: c } = ue(), { conversationId: d } = _(), m = () => {
595
597
  s(), c({
596
598
  eventName: "user_escalation_indicated",
597
599
  properties: {
@@ -600,10 +602,10 @@ const Bn = U((t, e) => {
600
602
  }
601
603
  });
602
604
  }, l = a.label, u = /* @__PURE__ */ j(te, { children: [
603
- a.icon && /* @__PURE__ */ n(x, { iconSettings: a.icon }),
605
+ a.icon && /* @__PURE__ */ o(x, { iconSettings: a.icon }),
604
606
  l
605
607
  ] });
606
- return a.action.type === "open_link" ? /* @__PURE__ */ n(
608
+ return a.action.type === "open_link" ? /* @__PURE__ */ o(
607
609
  ci,
608
610
  {
609
611
  href: a.action.url,
@@ -612,27 +614,27 @@ const Bn = U((t, e) => {
612
614
  "data-type": a.action.type,
613
615
  onClick: h(e, m),
614
616
  children: u,
615
- ...o
617
+ ...n
616
618
  }
617
- ) : /* @__PURE__ */ n(
619
+ ) : /* @__PURE__ */ o(
618
620
  di,
619
621
  {
620
622
  "data-type": a.action.type,
621
623
  onClick: h(e, m),
622
624
  children: u,
623
- ...o
625
+ ...n
624
626
  }
625
627
  );
626
628
  }, mi = i("button", {
627
629
  _id: "aiChatMessageAction"
628
- }), wo = (t) => {
629
- const { action: e, onClick: a, className: o, ...r } = t, { conversationId: s } = g(), {
630
+ }), wn = (t) => {
631
+ const { action: e, onClick: a, className: n, ...r } = t, { conversationId: s } = _(), {
630
632
  baseSettings: { onFeedback: c }
631
- } = p(), { message: d } = P(), { isStreaming: m, messages: l } = g(), [u, b] = ee(), { feedback: C, submitPositiveFeedback: _, setCurrentFeedback: f, currentFeedback: I } = de(), { logEvent: M } = ue(), [H, Q] = at(), L = l.at(-1)?.id === d?.id, F = d.role === "assistant";
633
+ } = p(), { message: d } = P(), { isStreaming: m, messages: l } = _(), [u, b] = ee(), { feedback: C, submitPositiveFeedback: g, setCurrentFeedback: I, currentFeedback: f } = de(), { logEvent: M } = ue(), [H, $] = at(), L = l.at(-1)?.id === d?.id, F = d.role === "assistant";
632
634
  if (L && m || !F) return null;
633
635
  const y = {
634
636
  copy() {
635
- b(_e(d)), M({
637
+ b(ge(d)), M({
636
638
  eventName: "assistant_message_copied",
637
639
  properties: {
638
640
  conversationId: s
@@ -640,60 +642,60 @@ const Bn = U((t, e) => {
640
642
  });
641
643
  },
642
644
  upvote() {
643
- _(d.id).then(() => {
644
- Q();
645
+ g(d.id).then(() => {
646
+ $();
645
647
  });
646
648
  },
647
649
  downvote() {
648
- f(d.id);
650
+ I(d.id);
649
651
  }
650
652
  }, D = {
651
653
  copy: "Copy Message",
652
654
  upvote: "Upvote Message",
653
655
  downvote: "Downvote Message"
654
656
  }, T = {
655
- copy: /* @__PURE__ */ n(E, { iconKey: u ? "messageCopied" : "messageCopy" }),
656
- upvote: /* @__PURE__ */ n(E, { iconKey: H ? "messageCopied" : "thumbsUp" }),
657
- downvote: /* @__PURE__ */ n(E, { iconKey: "thumbsDown" })
658
- }, X = {
657
+ copy: /* @__PURE__ */ o(E, { iconKey: u ? "messageCopied" : "messageCopy" }),
658
+ upvote: /* @__PURE__ */ o(E, { iconKey: H ? "messageCopied" : "thumbsUp" }),
659
+ downvote: /* @__PURE__ */ o(E, { iconKey: "thumbsDown" })
660
+ }, J = {
659
661
  copy: { "data-copied": v(u) },
660
662
  upvote: {
661
663
  "data-upvoted": v(C[d.id]?.type === "positive")
662
664
  },
663
665
  downvote: {
664
666
  "data-downvoted": v(C[d.id]?.type === "negative"),
665
- "data-state": I === null ? "closed" : "open"
667
+ "data-state": f === null ? "closed" : "open"
666
668
  }
667
669
  };
668
670
  return {
669
671
  copy: !1,
670
672
  upvote: !c,
671
673
  downvote: !c
672
- }[e] ? null : /* @__PURE__ */ n(
674
+ }[e] ? null : /* @__PURE__ */ o(
673
675
  mi,
674
676
  {
675
677
  "data-action": e,
676
- ...X[e],
678
+ ...J[e],
677
679
  children: T[e],
678
680
  "aria-label": D[e],
679
- className: `${o} ${e}`,
681
+ className: `${n} ${e}`,
680
682
  onClick: h(a, y[e]),
681
683
  ...r
682
684
  }
683
685
  );
684
686
  }, li = i("div", {
685
687
  _id: "aiChatMessageSources"
686
- }), Ho = (t) => {
688
+ }), Hn = (t) => {
687
689
  const { message: e } = P();
688
690
  return e.role !== "assistant" || !e.parts.filter(
689
- (o) => o.type === "data-artifact" && o.data?.type?.toLowerCase() === "citation"
690
- )?.length ? null : /* @__PURE__ */ n(li, { ...t });
691
+ (n) => n.type === "data-artifact" && n.data?.type?.toLowerCase() === "citation"
692
+ )?.length ? null : /* @__PURE__ */ o(li, { ...t });
691
693
  }, hi = i("div", {
692
694
  _id: "aiChatMessageSources__Header"
693
- }), Lo = (t) => /* @__PURE__ */ n(hi, { children: "Sources", ...t }), ui = i("div", {
695
+ }), Ln = (t) => /* @__PURE__ */ o(hi, { children: "Sources", ...t }), ui = i("div", {
694
696
  _id: "aiChatMessageSources__List"
695
- }), Do = (t) => {
696
- const { message: e } = P(), { children: a, ...o } = t, {
697
+ }), Dn = (t) => {
698
+ const { message: e } = P(), { children: a, ...n } = t, {
697
699
  baseSettings: { transformSource: r, organizationDisplayName: s },
698
700
  aiChatSettings: { shouldOpenLinksInNewTab: c },
699
701
  searchSettings: { tabs: d }
@@ -707,7 +709,7 @@ const Bn = U((t, e) => {
707
709
  const C = b.data.artifactSummary.url;
708
710
  return !C || l.has(C) ? !1 : (l.set(C, !0), !0);
709
711
  }).map((b) => {
710
- const C = b.data, _ = {
712
+ const C = b.data, g = {
711
713
  id: C?.artifactId,
712
714
  title: C?.artifactSummary?.title || C?.name,
713
715
  url: C?.artifactSummary?.url || "",
@@ -716,21 +718,21 @@ const Bn = U((t, e) => {
716
718
  type: C?.artifactSummary?.record_type,
717
719
  contentType: C?.artifactType,
718
720
  tag: C?.artifactType
719
- }, I = (r ?? ((H) => ({
721
+ }, f = (r ?? ((H) => ({
720
722
  ...H,
721
723
  shouldOpenInNewTab: c,
722
- icon: _t(H)
723
- })))(_, "chatSourceItem", {
724
+ icon: gt(H)
725
+ })))(g, "chatSourceItem", {
724
726
  organizationDisplayName: s,
725
727
  tabs: d
726
- }), M = I.shouldOpenInNewTab !== void 0 ? I.shouldOpenInNewTab : c;
727
- return { ...I, isExternal: M };
728
+ }), M = f.shouldOpenInNewTab !== void 0 ? f.shouldOpenInNewTab : c;
729
+ return { ...f, isExternal: M };
728
730
  });
729
- return /* @__PURE__ */ n(ui, { children: B(a, u), ...o });
731
+ return /* @__PURE__ */ o(ui, { children: B(a, u), ...n });
730
732
  }, Ci = i(Ge, {
731
733
  _id: "aiChatMessageSourceItem"
732
- }), Oo = (t) => {
733
- const { source: e, onClick: a, ...o } = t, { logEvent: r } = ue(), { conversationId: s } = g(), c = () => {
734
+ }), On = (t) => {
735
+ const { source: e, onClick: a, ...n } = t, { logEvent: r } = ue(), { conversationId: s } = _(), c = () => {
734
736
  r({
735
737
  eventName: "assistant_source_item_clicked",
736
738
  properties: {
@@ -739,7 +741,7 @@ const Bn = U((t, e) => {
739
741
  }
740
742
  });
741
743
  };
742
- return /* @__PURE__ */ n(Je, { source: e, children: /* @__PURE__ */ n(
744
+ return /* @__PURE__ */ o(Ze, { source: e, children: /* @__PURE__ */ o(
743
745
  Ci,
744
746
  {
745
747
  "data-type": e.type,
@@ -747,52 +749,52 @@ const Bn = U((t, e) => {
747
749
  isExternal: e.isExternal,
748
750
  "data-breadcrumbs": !!e.breadcrumbs?.length,
749
751
  onClick: h(a, c),
750
- ...o
752
+ ...n
751
753
  }
752
754
  ) });
753
755
  }, bi = i("div", {
754
756
  _id: "aiChatMessageSourceItem__Breadcrumbs"
755
- }), Ro = (t) => {
756
- const { source: e } = N();
757
- return e.breadcrumbs?.length ? /* @__PURE__ */ n(bi, { "data-type": e.type, ...t }) : null;
758
- }, Wo = i(E, {
757
+ }), Nn = (t) => {
758
+ const { source: e } = W();
759
+ return e.breadcrumbs?.length ? /* @__PURE__ */ o(bi, { "data-type": e.type, ...t }) : null;
760
+ }, Rn = i(E, {
759
761
  _id: "aiChatMessageSourceItem__BreadcrumbIcon",
760
762
  iconKey: "breadcrumbSeparator"
761
763
  }), pi = i(x, {
762
764
  _id: "aiChatMessageSourceItem__Icon"
763
- }), No = (t) => {
764
- const { source: e } = N();
765
- return /* @__PURE__ */ n(pi, { iconSettings: e.icon, "data-type": e.type, ...t });
765
+ }), Wn = (t) => {
766
+ const { source: e } = W();
767
+ return /* @__PURE__ */ o(pi, { iconSettings: e.icon, "data-type": e.type, ...t });
766
768
  }, vi = i("span", {
767
769
  _id: "aiChatMessageSourceItem__Title"
768
- }), Vo = (t) => {
769
- const { source: e } = N();
770
- return /* @__PURE__ */ n(vi, { "data-type": e.type, children: e.title, ...t });
771
- }, _i = i("span", {
772
- _id: "aiChatMessageSourceItem__Tag"
773
- }), $o = (t) => {
774
- const { source: e } = N();
775
- return /* @__PURE__ */ n(_i, { "data-type": e.type, ...t });
770
+ }), Vn = (t) => {
771
+ const { source: e } = W();
772
+ return /* @__PURE__ */ o(vi, { "data-type": e.type, children: e.title, ...t });
776
773
  }, gi = i("span", {
774
+ _id: "aiChatMessageSourceItem__Tag"
775
+ }), Un = (t) => {
776
+ const { source: e } = W();
777
+ return /* @__PURE__ */ o(gi, { "data-type": e.type, ...t });
778
+ }, _i = i("span", {
777
779
  _id: "aiChatMessageSourceItem__Description"
778
- }), Qo = (t) => {
779
- const { source: e } = N(), { children: a, ...o } = t, r = be(() => e.description ? mt(e.description) : [], [e.description]);
780
- return r.length ? /* @__PURE__ */ n(
781
- gi,
780
+ }), $n = (t) => {
781
+ const { source: e } = W(), { children: a, ...n } = t, r = be(() => e.description ? mt(e.description) : [], [e.description]);
782
+ return r.length ? /* @__PURE__ */ o(
783
+ _i,
782
784
  {
783
785
  "data-type": e.type,
784
786
  children: B(a, r),
785
- ...o
787
+ ...n
786
788
  }
787
789
  ) : null;
788
790
  }, Fi = i("span", {
789
791
  _id: "aiChatMessageSourceItem__DescriptionPart"
790
- }), Uo = (t) => {
791
- const { part: e, ...a } = t, { source: o } = N();
792
- return typeof e == "string" ? e : /* @__PURE__ */ n(
792
+ }), Qn = (t) => {
793
+ const { part: e, ...a } = t, { source: n } = W();
794
+ return typeof e == "string" ? e : /* @__PURE__ */ o(
793
795
  Fi,
794
796
  {
795
- "data-type": o.type,
797
+ "data-type": n.type,
796
798
  children: e.content,
797
799
  "data-highlighted": v(e.highlighted),
798
800
  ...a
@@ -800,29 +802,27 @@ const Bn = U((t, e) => {
800
802
  );
801
803
  }, Pi = i(E, {
802
804
  _id: "aiChatMessageSourceItem__Indicator"
803
- }), Ko = (t) => {
804
- const { source: e } = N();
805
- return /* @__PURE__ */ n(
805
+ }), Kn = (t) => {
806
+ const { source: e } = W();
807
+ return /* @__PURE__ */ o(
806
808
  Pi,
807
809
  {
808
810
  iconKey: e.isExternal ? "openLinkInNewTab" : "openLinkInSameTab",
809
811
  ...t
810
812
  }
811
813
  );
812
- }, qo = i("div", {
814
+ }, qn = i("div", {
813
815
  _id: "aiChatFooter"
814
- }), jo = i("div", {
815
- _id: "aiChatInput__Fieldset"
816
- }), zo = i("div", {
816
+ }), jn = i("div", {
817
817
  _id: "aiChatInput__Group"
818
818
  }), Ai = i("textarea", {
819
819
  _id: "aiChatInput"
820
- }), Go = U(({ onChange: t, onKeyDown: e, ...a }, o) => {
821
- const { handleInputChange: r, handleInputKeyDown: s, input: c, error: d, shouldAutoFocusInput: m, inputRef: l } = g(), { aiChatSettings: u } = p(), b = he(
822
- o,
820
+ }), zn = Q(({ onChange: t, onKeyDown: e, ...a }, n) => {
821
+ const { handleInputChange: r, handleInputKeyDown: s, input: c, error: d, shouldAutoFocusInput: m, inputRef: l } = _(), { aiChatSettings: u } = p(), b = he(
822
+ n,
823
823
  l
824
824
  );
825
- return pt("chat", l, m), /* @__PURE__ */ n(
825
+ return pt("chat", l, m), /* @__PURE__ */ o(
826
826
  Ai,
827
827
  {
828
828
  asChild: !0,
@@ -834,200 +834,200 @@ const Bn = U((t, e) => {
834
834
  onKeyDown: h(e, s),
835
835
  disabled: !!d || u.isViewOnly,
836
836
  ...a,
837
- children: /* @__PURE__ */ n(ie, {})
837
+ children: /* @__PURE__ */ o(ie, {})
838
838
  }
839
839
  );
840
- }), fi = i("button", {
840
+ }), Ii = i("button", {
841
841
  _id: "aiChatInput__SendButton"
842
- }), Yo = (t) => {
843
- const { handleSubmit: e, isSubmitDisabled: a, error: o } = g(), { aiChatSettings: r } = p(), { onClick: s, ...c } = t;
844
- return /* @__PURE__ */ n(
845
- fi,
842
+ }), Gn = (t) => {
843
+ const { handleSubmit: e, isSubmitDisabled: a, error: n } = _(), { aiChatSettings: r } = p(), { onClick: s, ...c } = t;
844
+ return /* @__PURE__ */ o(
845
+ Ii,
846
846
  {
847
847
  onClick: h(s, () => e()),
848
848
  "aria-label": "Send message",
849
- disabled: a || !!o || r.isViewOnly,
849
+ disabled: a || !!n || r.isViewOnly,
850
850
  ...c
851
851
  }
852
852
  );
853
- }, Jo = i(E, {
853
+ }, Yn = i(E, {
854
854
  _id: "aiChatInput__SendButtonIcon",
855
855
  iconKey: "chatSubmit"
856
- }), Ii = i("div", {
856
+ }), fi = i("div", {
857
857
  _id: "aiChatAttachmentsBar"
858
- }), Xo = (t) => {
858
+ }), Zn = (t) => {
859
859
  const e = { supportedInputs: [] };
860
- return !e || !e.supportedInputs?.length ? null : /* @__PURE__ */ n(Ye, { children: /* @__PURE__ */ n(Ii, { ...t }) });
860
+ return !e || !e.supportedInputs?.length ? null : /* @__PURE__ */ o(Ye, { children: /* @__PURE__ */ o(fi, { ...t }) });
861
861
  }, Mi = i("div", {
862
862
  _id: "aiChatAttachmentsBar__List"
863
- }), Zo = (t) => {
863
+ }), Jn = (t) => {
864
864
  const { children: e, ...a } = t;
865
- return /* @__PURE__ */ n(Mi, { children: B(e, []), ...a });
865
+ return /* @__PURE__ */ o(Mi, { children: B(e, []), ...a });
866
866
  }, Ei = i("div", {
867
867
  _id: "aiChatAttachmentsBar__Attachment"
868
- }), er = (t) => {
868
+ }), Xn = (t) => {
869
869
  const { attachment: e, ...a } = t;
870
- return /* @__PURE__ */ n(pe, { attachment: e, children: /* @__PURE__ */ n(Ei, { ...a }) });
870
+ return /* @__PURE__ */ o(pe, { attachment: e, children: /* @__PURE__ */ o(Ei, { ...a }) });
871
871
  }, Si = i(x, {
872
872
  _id: "aiChatAttachmentsBar__AttachmentIcon"
873
- }), tr = (t) => {
873
+ }), er = (t) => {
874
874
  const { attachment: e } = Y(), a = e.contentType?.attachmentIcon;
875
- return a ? /* @__PURE__ */ n(Si, { iconSettings: a, ...t }) : null;
875
+ return a ? /* @__PURE__ */ o(Si, { iconSettings: a, ...t }) : null;
876
876
  }, ki = i("span", {
877
877
  _id: "aiChatAttachmentsBar__AttachmentTitle"
878
- }), ir = (t) => {
878
+ }), tr = (t) => {
879
879
  const { attachment: e } = Y();
880
- return /* @__PURE__ */ n(ki, { children: e.title, ...t });
880
+ return /* @__PURE__ */ o(ki, { children: e.title, ...t });
881
881
  }, Bi = i("button", {
882
882
  _id: "aiChatAttachmentsBar__AttachmentDelete"
883
- }), ar = (t) => {
883
+ }), ir = (t) => {
884
884
  const { onClick: e, ...a } = t;
885
- return /* @__PURE__ */ n(
885
+ return /* @__PURE__ */ o(
886
886
  Bi,
887
887
  {
888
888
  "aria-label": "Remove attachment",
889
- children: /* @__PURE__ */ n(E, { iconKey: "close" }),
889
+ children: /* @__PURE__ */ o(E, { iconKey: "close" }),
890
890
  onClick: h(e, () => {
891
891
  }),
892
892
  ...a
893
893
  }
894
894
  );
895
- }, nr = i("div", {
895
+ }, ar = i("div", {
896
896
  _id: "aiChatAttachmentsBar__Actions"
897
- }), or = i(W.Tooltip, {
897
+ }), or = i(R.Tooltip, {
898
898
  _id: "aiChatAttachmentsBar__InfoTip",
899
899
  delayDuration: 0
900
- }), rr = i(W.Trigger, {
900
+ }), nr = i(R.Trigger, {
901
901
  _id: "aiChatAttachmentsBar__InfoTipIcon",
902
- children: /* @__PURE__ */ n(E, { iconKey: "info" })
903
- }), yi = i(W.Arrow, {
902
+ children: /* @__PURE__ */ o(E, { iconKey: "info" })
903
+ }), yi = i(R.Arrow, {
904
904
  _id: "aiChatAttachmentsBar__InfoTipArrow"
905
- }), sr = i(W.Content, {
905
+ }), rr = i(R.Content, {
906
906
  _id: "aiChatAttachmentsBar__InfoTipText",
907
907
  side: "bottom",
908
908
  sideOffset: 3,
909
909
  align: "center",
910
910
  children: /* @__PURE__ */ j(te, { children: [
911
- /* @__PURE__ */ n(yi, {}),
911
+ /* @__PURE__ */ o(yi, {}),
912
912
  "Attachments will be kept in context for the entire conversation."
913
913
  ] })
914
914
  }), Ti = i("div", {
915
915
  _id: "aiChatAttachmentsBar__Inputs"
916
- }), cr = (t) => {
917
- const { children: e, ...a } = t, o = { supportedInputs: [] };
918
- return o?.supportedInputs ? /* @__PURE__ */ n(
916
+ }), sr = (t) => {
917
+ const { children: e, ...a } = t, n = { supportedInputs: [] };
918
+ return n?.supportedInputs ? /* @__PURE__ */ o(
919
919
  Ti,
920
920
  {
921
- children: B(e, o.supportedInputs),
921
+ children: B(e, n.supportedInputs),
922
922
  ...a
923
923
  }
924
924
  ) : null;
925
925
  }, xi = i("button", {
926
926
  _id: "aiChatAttachmentsBar__Input"
927
- }), dr = (t) => {
928
- const { input: e, onClick: a, ...o } = t, r = { supportedInputs: [] }, s = [], c = () => {
927
+ }), cr = (t) => {
928
+ const { input: e, onClick: a, ...n } = t, r = { supportedInputs: [] }, s = [], c = () => {
929
929
  }, { selectInput: d, onOpen: m } = k(), l = () => {
930
930
  if (e.type === "FUNCTIONAL_MULTI_ATTACHMENT")
931
931
  return r ? e.onInvoke(r, e, c, [...s]) : void 0;
932
932
  d(e), m();
933
933
  };
934
- return /* @__PURE__ */ n(
934
+ return /* @__PURE__ */ o(
935
935
  xi,
936
936
  {
937
937
  children: e.displayName,
938
938
  onClick: h(a, l),
939
- ...o
939
+ ...n
940
940
  }
941
941
  );
942
942
  }, wi = i(ce, {
943
943
  _id: "aiChatAttachmentsBar__Modal"
944
- }), mr = (t) => {
945
- const { onOpenChange: e, ...a } = t, { selectInput: o, isOpen: r, onClose: s, selectedInput: c } = k();
946
- return /* @__PURE__ */ n(
944
+ }), dr = (t) => {
945
+ const { onOpenChange: e, ...a } = t, { selectInput: n, isOpen: r, onClose: s, selectedInput: c } = k();
946
+ return /* @__PURE__ */ o(
947
947
  wi,
948
948
  {
949
949
  open: r && c !== null,
950
950
  onOpenChange: h(e, (m) => {
951
- m || (s(), o(null));
951
+ m || (s(), n(null));
952
952
  }),
953
953
  ...a
954
954
  }
955
955
  );
956
- }, lr = i(ne, {
956
+ }, mr = i(oe, {
957
957
  _id: "aiChatAttachmentsBar__ModalOverlay"
958
- }), hr = i(oe, {
958
+ }), lr = i(ne, {
959
959
  _id: "aiChatAttachmentsBar__ModalContent",
960
960
  "aria-describedby": void 0
961
- }), ur = i("div", {
961
+ }), hr = i("div", {
962
962
  _id: "aiChatAttachmentsBar__ModalHeader"
963
963
  }), Hi = i(se, {
964
964
  _id: "aiChatAttachmentsBar__ModalHeading"
965
- }), Cr = (t) => {
965
+ }), ur = (t) => {
966
966
  const { selectedInput: e } = k(), a = `Add ${e?.displayName}`;
967
- return /* @__PURE__ */ n(Hi, { children: a, ...t });
967
+ return /* @__PURE__ */ o(Hi, { children: a, ...t });
968
968
  }, Li = i("span", {
969
969
  _id: "aiChatAttachmentsBar__ModalDescription"
970
- }), br = (t) => {
970
+ }), Cr = (t) => {
971
971
  const { selectedInput: e } = k(), a = e?.workflowModalProps?.modalHelpText;
972
- return a ? /* @__PURE__ */ n(Li, { children: a, ...t }) : null;
972
+ return a ? /* @__PURE__ */ o(Li, { children: a, ...t }) : null;
973
973
  }, Di = i("div", {
974
974
  _id: "aiChatAttachmentsBar__ModalHelp"
975
- }), pr = (t) => {
976
- const { children: e, ...a } = t, { selectedInput: o } = k(), r = o?.workflowModalProps?.modalHelpElement;
977
- return r ? /* @__PURE__ */ n(Di, { asChild: !e, children: e || r, ...a }) : null;
978
- }, vr = i(re, {
975
+ }), br = (t) => {
976
+ const { children: e, ...a } = t, { selectedInput: n } = k(), r = n?.workflowModalProps?.modalHelpElement;
977
+ return r ? /* @__PURE__ */ o(Di, { asChild: !e, children: e || r, ...a }) : null;
978
+ }, pr = i(re, {
979
979
  _id: "aiChatAttachmentsBar__ModalClose",
980
- children: /* @__PURE__ */ n(E, { iconKey: "close" })
981
- }), _r = i("div", {
980
+ children: /* @__PURE__ */ o(E, { iconKey: "close" })
981
+ }), vr = i("div", {
982
982
  _id: "aiChatAttachmentsBar__ModalBody"
983
983
  }), Oi = i("form", {
984
984
  _id: "aiChatAttachmentsBar__Form"
985
985
  }), gr = (t) => {
986
- const { onSubmit: e, ...a } = t, { form: o } = k();
987
- return /* @__PURE__ */ n(
986
+ const { onSubmit: e, ...a } = t, { form: n } = k();
987
+ return /* @__PURE__ */ o(
988
988
  Oi,
989
989
  {
990
- onSubmit: h(e, o.onSubmit),
990
+ onSubmit: h(e, n.onSubmit),
991
991
  ...a
992
992
  }
993
993
  );
994
- }, Fr = i("div", {
994
+ }, _r = i("div", {
995
995
  _id: "aiChatAttachmentsBar__FormTitle",
996
996
  role: "group"
997
- }), Ri = i("label", {
997
+ }), Ni = i("label", {
998
998
  _id: "aiChatAttachmentsBar__FormTitleLabel"
999
- }), Pr = (t) => {
999
+ }), Fr = (t) => {
1000
1000
  const { form: e, selectedInput: a } = k();
1001
- return /* @__PURE__ */ n(
1002
- Ri,
1001
+ return /* @__PURE__ */ o(
1002
+ Ni,
1003
1003
  {
1004
1004
  htmlFor: `${a?.id}-title`,
1005
1005
  children: e.labels.title,
1006
1006
  ...t
1007
1007
  }
1008
1008
  );
1009
- }, Wi = i("input", {
1009
+ }, Ri = i("input", {
1010
1010
  _id: "aiChatAttachmentsBar__FormTitleInput"
1011
- }), Ar = (t) => {
1012
- const { onChange: e, ...a } = t, { form: o, selectedInput: r } = k();
1013
- return /* @__PURE__ */ n(
1014
- Wi,
1011
+ }), Pr = (t) => {
1012
+ const { onChange: e, ...a } = t, { form: n, selectedInput: r } = k();
1013
+ return /* @__PURE__ */ o(
1014
+ Ri,
1015
1015
  {
1016
1016
  name: "title",
1017
- value: o.data.title,
1017
+ value: n.data.title,
1018
1018
  id: `${r?.id}-title`,
1019
- "data-invalid": v(!!o.errors.title),
1020
- "aria-invalid": !!o.errors.title,
1021
- onChange: h(e, o.onChange),
1019
+ "data-invalid": v(!!n.errors.title),
1020
+ "aria-invalid": !!n.errors.title,
1021
+ onChange: h(e, n.onChange),
1022
1022
  ...a
1023
1023
  }
1024
1024
  );
1025
- }, Ni = i("span", {
1025
+ }, Wi = i("span", {
1026
1026
  _id: "aiChatAttachmentsBar__FormTitleError"
1027
- }), fr = (t) => {
1027
+ }), Ar = (t) => {
1028
1028
  const { form: e } = k();
1029
- return e.errors.title ? /* @__PURE__ */ n(
1030
- Ni,
1029
+ return e.errors.title ? /* @__PURE__ */ o(
1030
+ Wi,
1031
1031
  {
1032
1032
  "aria-live": "polite",
1033
1033
  children: e.errors.title,
@@ -1039,9 +1039,9 @@ const Bn = U((t, e) => {
1039
1039
  role: "group"
1040
1040
  }), Vi = i("label", {
1041
1041
  _id: "aiChatAttachmentsBar__FormContentLabel"
1042
- }), Mr = (t) => {
1042
+ }), fr = (t) => {
1043
1043
  const { form: e, selectedInput: a } = k();
1044
- return /* @__PURE__ */ n(
1044
+ return /* @__PURE__ */ o(
1045
1045
  Vi,
1046
1046
  {
1047
1047
  htmlFor: `${a?.id}-content`,
@@ -1049,70 +1049,70 @@ const Bn = U((t, e) => {
1049
1049
  ...t
1050
1050
  }
1051
1051
  );
1052
- }, $i = i("textarea", {
1052
+ }, Ui = i("textarea", {
1053
1053
  _id: "aiChatAttachmentsBar__FormTitleInput"
1054
- }), Er = (t) => {
1055
- const { onChange: e, ...a } = t, { form: o, selectedInput: r } = k();
1056
- return /* @__PURE__ */ n(
1057
- $i,
1054
+ }), Mr = (t) => {
1055
+ const { onChange: e, ...a } = t, { form: n, selectedInput: r } = k();
1056
+ return /* @__PURE__ */ o(
1057
+ Ui,
1058
1058
  {
1059
1059
  asChild: !0,
1060
1060
  rows: 4,
1061
1061
  name: "content",
1062
- value: o.data.content,
1062
+ value: n.data.content,
1063
1063
  id: `${r?.id}-content`,
1064
- "data-invalid": v(!!o.errors.content),
1065
- "aria-invalid": !!o.errors.content,
1066
- onChange: h(e, o.onChange),
1064
+ "data-invalid": v(!!n.errors.content),
1065
+ "aria-invalid": !!n.errors.content,
1066
+ onChange: h(e, n.onChange),
1067
1067
  ...a,
1068
- children: /* @__PURE__ */ n(ie, { maxRows: 10 })
1068
+ children: /* @__PURE__ */ o(ie, { maxRows: 10 })
1069
1069
  }
1070
1070
  );
1071
- }, Qi = i("span", {
1071
+ }, $i = i("span", {
1072
1072
  _id: "aiChatAttachmentsBar__FormContentError"
1073
- }), Sr = (t) => {
1073
+ }), Er = (t) => {
1074
1074
  const { form: e } = k();
1075
- return e.errors.content ? /* @__PURE__ */ n(
1076
- Qi,
1075
+ return e.errors.content ? /* @__PURE__ */ o(
1076
+ $i,
1077
1077
  {
1078
1078
  "aria-live": "polite",
1079
1079
  children: e.errors.content,
1080
1080
  ...t
1081
1081
  }
1082
1082
  ) : null;
1083
- }, kr = i("button", {
1083
+ }, Sr = i("button", {
1084
1084
  _id: "aiChatAttachmentsBar__FormSubmitButton",
1085
1085
  children: "Upload",
1086
1086
  type: "submit"
1087
- }), Br = i("div", {
1087
+ }), kr = i("div", {
1088
1088
  _id: "aiChatActionBar"
1089
- }), yr = i("div", {
1089
+ }), Br = i("div", {
1090
1090
  _id: "aiChat__ChatActions"
1091
- }), Tr = i("div", {
1091
+ }), yr = i("div", {
1092
1092
  _id: "aiChatTagline__Container"
1093
- }), xr = i("span", {
1093
+ }), Tr = i("span", {
1094
1094
  _id: "aiChatTagline__Text",
1095
1095
  children: "Powered by"
1096
- }), wr = i(it, {
1096
+ }), xr = i(it, {
1097
1097
  _id: "aiChatTagline__Logo"
1098
- }), Hr = i("a", {
1098
+ }), wr = i("a", {
1099
1099
  _id: "aiChatTagline__BrandName",
1100
1100
  children: "inkeep",
1101
1101
  href: "https://www.inkeep.com/",
1102
1102
  target: "_blank",
1103
1103
  rel: "noopener noreferrer"
1104
- }), Ui = i(W.Trigger, {
1104
+ }), Qi = i(R.Trigger, {
1105
1105
  _id: "aiChat__ChatAction"
1106
1106
  }), Pe = (t) => {
1107
- const { action: e, onClick: a, className: o, ...r } = t, s = {}, { clear: c, stop: d, isBusy: m, messages: l } = g(), { conversationId: u } = g(), { aiChatSettings: b } = p(), [C, _] = ee(), [
1108
- f
1107
+ const { action: e, onClick: a, className: n, ...r } = t, s = {}, { clear: c, stop: d, isBusy: m, messages: l } = _(), { conversationId: u } = _(), { aiChatSettings: b } = p(), [C, g] = ee(), [
1108
+ I
1109
1109
  /* copyShareUri */
1110
- ] = ee(), I = l.length > 0;
1110
+ ] = ee(), f = l.length > 0;
1111
1111
  if ({
1112
1112
  help: !1,
1113
- copy: !I || !b.isCopyChatButtonVisible || m,
1114
- share: !I || !b.isShareButtonVisible || !u || !!s || m,
1115
- clear: !I || b.isViewOnly || m,
1113
+ copy: !f || !b.isCopyChatButtonVisible || m,
1114
+ share: !f || !b.isShareButtonVisible || !u || !!s || m,
1115
+ clear: !f || b.isViewOnly || m,
1116
1116
  stop: !m
1117
1117
  }[e]) return null;
1118
1118
  const L = {
@@ -1121,7 +1121,7 @@ const Bn = U((t, e) => {
1121
1121
  },
1122
1122
  copy: () => {
1123
1123
  const V = l.map((y) => {
1124
- const D = `**${y.role === "assistant" ? "AI Assistant" : "User"}**`, T = _e(y);
1124
+ const D = `**${y.role === "assistant" ? "AI Assistant" : "User"}**`, T = ge(y);
1125
1125
  return `${D}
1126
1126
 
1127
1127
  ${T}`;
@@ -1130,7 +1130,7 @@ ${T}`;
1130
1130
  ---
1131
1131
 
1132
1132
  `);
1133
- _(V);
1133
+ g(V);
1134
1134
  },
1135
1135
  share: async () => {
1136
1136
  },
@@ -1138,15 +1138,15 @@ ${T}`;
1138
1138
  stop: d
1139
1139
  }, F = {
1140
1140
  copy: C,
1141
- share: f
1141
+ share: I
1142
1142
  };
1143
- return /* @__PURE__ */ n(W.Tooltip, { delayDuration: 0, open: F[e], children: /* @__PURE__ */ n(
1144
- Ui,
1143
+ return /* @__PURE__ */ o(R.Tooltip, { delayDuration: 0, open: F[e], children: /* @__PURE__ */ o(
1144
+ Qi,
1145
1145
  {
1146
1146
  "data-type": e,
1147
- "data-copied": v(C || f),
1148
- className: `${o} ${e}`,
1149
- children: /* @__PURE__ */ n(qi, { action: e }),
1147
+ "data-copied": v(C || I),
1148
+ className: `${n} ${e}`,
1149
+ children: /* @__PURE__ */ o(qi, { action: e }),
1150
1150
  onClick: h(a, L[e]),
1151
1151
  ...r
1152
1152
  }
@@ -1154,29 +1154,29 @@ ${T}`;
1154
1154
  }, Ki = i("span", {
1155
1155
  _id: "aiChat__ChatActionLabel"
1156
1156
  }), qi = (t) => {
1157
- const { action: e, ...a } = t, { aiChatSettings: o } = p(), r = o.toolbarButtonLabels ?? {}, s = {
1157
+ const { action: e, ...a } = t, { aiChatSettings: n } = p(), r = n.toolbarButtonLabels ?? {}, s = {
1158
1158
  help: r.getHelp ?? "Get Help",
1159
1159
  copy: r.copyChat ?? "Copy",
1160
1160
  share: r.share ?? "Share",
1161
1161
  clear: r.clear ?? "Clear",
1162
1162
  stop: r.stop ?? "Stop"
1163
1163
  };
1164
- return /* @__PURE__ */ n(Ki, { children: s[e], ...a });
1165
- }, ji = i(W.TooltipContent, {
1164
+ return /* @__PURE__ */ o(Ki, { children: s[e], ...a });
1165
+ }, ji = i(R.TooltipContent, {
1166
1166
  _id: "aiChat__ChatActionFeeback"
1167
- }), Lr = (t) => {
1168
- const { action: e, children: a, ...o } = t, r = {
1167
+ }), Hr = (t) => {
1168
+ const { action: e, children: a, ...n } = t, r = {
1169
1169
  copy: "Copied!",
1170
1170
  share: "Link copied!"
1171
1171
  };
1172
- return /* @__PURE__ */ j(ji, { sideOffset: 5, ...o, children: [
1173
- /* @__PURE__ */ n(W.Arrow, {}),
1172
+ return /* @__PURE__ */ j(ji, { sideOffset: 5, ...n, children: [
1173
+ /* @__PURE__ */ o(R.Arrow, {}),
1174
1174
  a || r[e]
1175
1175
  ] });
1176
- }, zi = i(R.Root, {
1176
+ }, zi = i(N.Root, {
1177
1177
  _id: "aiChatHelpActions"
1178
- }), Dr = (t) => {
1179
- const { children: e, ...a } = t, { aiChatSettings: o } = p(), { getHelpOptions: r } = o;
1178
+ }), Lr = (t) => {
1179
+ const { children: e, ...a } = t, { aiChatSettings: n } = p(), { getHelpOptions: r } = n;
1180
1180
  if (!r || (r ?? []).length === 0)
1181
1181
  return null;
1182
1182
  const { _pinned: s, _unpinned: c } = r.reduce(
@@ -1185,8 +1185,8 @@ ${T}`;
1185
1185
  return { ...u, [C]: [...u[C], b] };
1186
1186
  },
1187
1187
  { _pinned: [], _unpinned: [] }
1188
- ), d = c.length === 1 ? [...s, c[0]] : s, m = c.length === 1 ? [] : c, l = ot();
1189
- return /* @__PURE__ */ n(rt, { value: l, children: /* @__PURE__ */ n(
1188
+ ), d = c.length === 1 ? [...s, c[0]] : s, m = c.length === 1 ? [] : c, l = nt();
1189
+ return /* @__PURE__ */ o(rt, { value: l, children: /* @__PURE__ */ o(
1190
1190
  zi,
1191
1191
  {
1192
1192
  open: l.open,
@@ -1202,8 +1202,8 @@ ${T}`;
1202
1202
  _id: "aiChatHelpAction",
1203
1203
  target: "_blank",
1204
1204
  rel: "noreferrer"
1205
- }), Or = (t) => {
1206
- const { action: e, onClick: a, ...o } = t, { handleAction: r, logHelpAction: s } = le(e), c = e.action.type, d = {
1205
+ }), Dr = (t) => {
1206
+ const { action: e, onClick: a, ...n } = t, { handleAction: r, logHelpAction: s } = le(e), c = e.action.type, d = {
1207
1207
  "aria-label": e.name,
1208
1208
  "data-name": e.name,
1209
1209
  children: e.name,
@@ -1211,20 +1211,20 @@ ${T}`;
1211
1211
  r(), s();
1212
1212
  }),
1213
1213
  // biome-ignore lint/suspicious/noExplicitAny: <explanation>
1214
- ...o
1214
+ ...n
1215
1215
  };
1216
- return c === "open_link" ? /* @__PURE__ */ n(Yi, { href: e.action.url, ...d }) : /* @__PURE__ */ n(Gi, { ...d });
1217
- }, Ji = i(R.Trigger, {
1216
+ return c === "open_link" ? /* @__PURE__ */ o(Yi, { href: e.action.url, ...d }) : /* @__PURE__ */ o(Gi, { ...d });
1217
+ }, Zi = i(N.Trigger, {
1218
1218
  _id: "aiChatHelpActions__Trigger"
1219
- }), Rr = S(
1219
+ }), Or = S(
1220
1220
  (t) => {
1221
1221
  const { aiChatSettings: e } = p();
1222
- return /* @__PURE__ */ n(Pe, { action: "help", ...t, asChild: !0, children: /* @__PURE__ */ n(Ji, { children: e.toolbarButtonLabels?.getHelp ?? "Get Help" }) });
1222
+ return /* @__PURE__ */ o(Pe, { action: "help", ...t, asChild: !0, children: /* @__PURE__ */ o(Zi, { children: e.toolbarButtonLabels?.getHelp ?? "Get Help" }) });
1223
1223
  }
1224
- ), Xi = i(R.Content, {
1224
+ ), Ji = i(N.Content, {
1225
1225
  _id: "aiChatHelpActions__Menu"
1226
- }), Wr = (t) => /* @__PURE__ */ n(
1227
- Xi,
1226
+ }), Nr = (t) => /* @__PURE__ */ o(
1227
+ Ji,
1228
1228
  {
1229
1229
  side: "top",
1230
1230
  sideOffset: 8,
@@ -1232,10 +1232,10 @@ ${T}`;
1232
1232
  alignOffset: -10,
1233
1233
  ...t
1234
1234
  }
1235
- ), Nr = i(R.Arrow, {
1235
+ ), Rr = i(N.Arrow, {
1236
1236
  _id: "aiChatHelpActions__MenuArrow"
1237
- }), Vr = (t) => {
1238
- const { action: e, onClick: a, ...o } = t, { handleAction: r, logHelpAction: s } = le(e), { setOpen: c } = st(), d = () => {
1237
+ }), Wr = (t) => {
1238
+ const { action: e, onClick: a, ...n } = t, { handleAction: r, logHelpAction: s } = le(e), { setOpen: c } = st(), d = () => {
1239
1239
  r({
1240
1240
  onOpenForm: () => c(!1)
1241
1241
  }), s();
@@ -1252,143 +1252,143 @@ ${T}`;
1252
1252
  },
1253
1253
  onClick: h(a, d)
1254
1254
  });
1255
- return /* @__PURE__ */ n(l, { ...o });
1256
- }, Zi = i(x, {
1255
+ return /* @__PURE__ */ o(l, { ...n });
1256
+ }, Xi = i(x, {
1257
1257
  _id: "aiChatHelpActions_MenuItemIcon"
1258
- }), $r = (t) => {
1258
+ }), Vr = (t) => {
1259
1259
  const { action: e, ...a } = t;
1260
- return e.icon ? /* @__PURE__ */ n(Zi, { iconSettings: e.icon, ...a }) : null;
1260
+ return e.icon ? /* @__PURE__ */ o(Xi, { iconSettings: e.icon, ...a }) : null;
1261
1261
  }, ea = i(ce, {
1262
1262
  _id: "aiChatFeedbackModal"
1263
- }), Qr = (t) => {
1264
- const { onOpenChange: e, ...a } = t, { currentFeedback: o, setCurrentFeedback: r } = de();
1265
- return /* @__PURE__ */ n(
1263
+ }), Ur = (t) => {
1264
+ const { onOpenChange: e, ...a } = t, { currentFeedback: n, setCurrentFeedback: r } = de();
1265
+ return /* @__PURE__ */ o(
1266
1266
  ea,
1267
1267
  {
1268
- open: o !== null,
1268
+ open: n !== null,
1269
1269
  onOpenChange: h(e, () => r(null)),
1270
1270
  ...a
1271
1271
  }
1272
1272
  );
1273
- }, Ur = i(ne, {
1273
+ }, $r = i(oe, {
1274
1274
  _id: "aiChatFeedbackModal__Overlay"
1275
- }), Kr = i(oe, {
1275
+ }), Qr = i(ne, {
1276
1276
  _id: "aiChatFeedbackModal__Content",
1277
1277
  "aria-describedby": void 0
1278
- }), qr = i(se, {
1278
+ }), Kr = i(se, {
1279
1279
  _id: "aiChatFeedbackModal__Header",
1280
1280
  children: "Help improve my answers!"
1281
- }), jr = i(re, {
1281
+ }), qr = i(re, {
1282
1282
  _id: "aiChatFeedbackModal__Close",
1283
- children: /* @__PURE__ */ n(E, { iconKey: "close" })
1284
- }), zr = i("div", {
1283
+ children: /* @__PURE__ */ o(E, { iconKey: "close" })
1284
+ }), jr = i("div", {
1285
1285
  _id: "aiChatFeedbackModal__Body"
1286
1286
  }), ta = i("form", {
1287
1287
  _id: "aiChatFeedbackForm"
1288
- }), Gr = (t) => {
1289
- const { onSubmit: e, ...a } = t, { submitNegativeFeedback: o, currentFeedback: r, setCurrentFeedback: s } = de();
1290
- return /* @__PURE__ */ n(ta, { onSubmit: h(e, (d) => {
1288
+ }), zr = (t) => {
1289
+ const { onSubmit: e, ...a } = t, { submitNegativeFeedback: n, currentFeedback: r, setCurrentFeedback: s } = de();
1290
+ return /* @__PURE__ */ o(ta, { onSubmit: h(e, (d) => {
1291
1291
  d.preventDefault();
1292
1292
  const m = d.target, l = new FormData(m), u = Object.fromEntries(l.entries());
1293
- r && (o(r, u), s(null));
1293
+ r && (n(r, u), s(null));
1294
1294
  }), ...a });
1295
1295
  }, ia = i("div", {
1296
1296
  _id: "aiChatFeedbackItem"
1297
- }), Yr = (t) => {
1297
+ }), Gr = (t) => {
1298
1298
  const { name: e, ...a } = t;
1299
- return /* @__PURE__ */ n(et, { name: e, children: /* @__PURE__ */ n(ia, { ...a }) });
1299
+ return /* @__PURE__ */ o(et, { name: e, children: /* @__PURE__ */ o(ia, { ...a }) });
1300
1300
  }, aa = i(z.Root, {
1301
1301
  _id: "aiChatFeedbackItem__Checkbox"
1302
- }), Jr = (t) => {
1303
- const { name: e, focusItem: a } = me(), { onCheckedChange: o, ...r } = t, s = (c) => {
1302
+ }), Yr = (t) => {
1303
+ const { name: e, focusItem: a } = me(), { onCheckedChange: n, ...r } = t, s = (c) => {
1304
1304
  c && a?.current?.focus();
1305
1305
  };
1306
- return /* @__PURE__ */ n(
1306
+ return /* @__PURE__ */ o(
1307
1307
  aa,
1308
1308
  {
1309
1309
  id: `feedback-${e}`,
1310
1310
  name: e,
1311
- onCheckedChange: h(o, s),
1311
+ onCheckedChange: h(n, s),
1312
1312
  ...r
1313
1313
  }
1314
1314
  );
1315
- }, Xr = i(z.Indicator, {
1315
+ }, Zr = i(z.Indicator, {
1316
1316
  _id: "aiChatFeedbackItem__CheckboxIndicator",
1317
- children: /* @__PURE__ */ n(ve, {})
1318
- }), na = i("label", {
1317
+ children: /* @__PURE__ */ o(ve, {})
1318
+ }), oa = i("label", {
1319
1319
  _id: "aiChatFeedbackItem__Label"
1320
- }), Zr = (t) => {
1320
+ }), Jr = (t) => {
1321
1321
  const { name: e } = me(), a = {
1322
1322
  unrelated_response: "Didn't answer my question",
1323
1323
  inaccurate_statement: "Inaccurate statement",
1324
1324
  inaccurate_code_snippet: "Inaccurate code snippet",
1325
1325
  irrelevant_citations: "Irrelevant citations"
1326
1326
  };
1327
- return /* @__PURE__ */ n(na, { htmlFor: `feedback-${e}`, children: a[e], ...t });
1328
- }, oa = i("textarea", {
1327
+ return /* @__PURE__ */ o(oa, { htmlFor: `feedback-${e}`, children: a[e], ...t });
1328
+ }, na = i("textarea", {
1329
1329
  _id: "aiChatFeedbackItem__Description",
1330
1330
  placeholder: "Please describe"
1331
- }), es = (t) => {
1331
+ }), Xr = (t) => {
1332
1332
  const { name: e, focusItem: a } = me();
1333
- return /* @__PURE__ */ n(
1334
- oa,
1333
+ return /* @__PURE__ */ o(
1334
+ na,
1335
1335
  {
1336
1336
  ref: a,
1337
1337
  name: `${e}:description`,
1338
1338
  ...t
1339
1339
  }
1340
1340
  );
1341
- }, ts = i("button", {
1341
+ }, es = i("button", {
1342
1342
  _id: "aiChatFeedbackForm__SubmitButton",
1343
1343
  children: "Submit",
1344
1344
  type: "submit"
1345
1345
  }), ra = i("div", {
1346
1346
  _id: "aiChatForm__Wrapper"
1347
- }), is = (t) => {
1347
+ }), ts = (t) => {
1348
1348
  const { form: e } = A();
1349
- return e ? /* @__PURE__ */ n(ra, { ...t }) : null;
1349
+ return e ? /* @__PURE__ */ o(ra, { ...t }) : null;
1350
1350
  }, sa = i("form", {
1351
1351
  _id: "aiChatForm"
1352
- }), as = (t) => {
1353
- const { onSubmit: e, ...a } = t, { conversationId: o, messages: r } = g(), { handleSubmit: s, isSuccess: c } = A();
1354
- return c ? null : /* @__PURE__ */ n(
1352
+ }), is = (t) => {
1353
+ const { onSubmit: e, ...a } = t, { conversationId: n, messages: r } = _(), { handleSubmit: s, isSuccess: c } = A();
1354
+ return c ? null : /* @__PURE__ */ o(
1355
1355
  sa,
1356
1356
  {
1357
1357
  onSubmit: h(
1358
1358
  e,
1359
- (d) => s(d, { id: o, messages: r })
1359
+ (d) => s(d, { id: n, messages: r })
1360
1360
  ),
1361
1361
  ...a
1362
1362
  }
1363
1363
  );
1364
1364
  }, ca = i("button", {
1365
1365
  _id: "aiChatForm__Close",
1366
- children: /* @__PURE__ */ n(E, { iconKey: "close" })
1367
- }), ns = (t) => {
1368
- const { onClick: e, ...a } = t, { closeForm: o } = A();
1369
- return /* @__PURE__ */ n(ca, { onClick: h(e, o), ...a });
1366
+ children: /* @__PURE__ */ o(E, { iconKey: "close" })
1367
+ }), as = (t) => {
1368
+ const { onClick: e, ...a } = t, { closeForm: n } = A();
1369
+ return /* @__PURE__ */ o(ca, { onClick: h(e, n), ...a });
1370
1370
  }, os = i("div", {
1371
1371
  _id: "aiChatForm__Header"
1372
1372
  }), da = i("h2", {
1373
1373
  _id: "aiChatForm__Heading"
1374
- }), rs = (t) => {
1374
+ }), ns = (t) => {
1375
1375
  const { form: e } = A();
1376
- return e?.heading ? /* @__PURE__ */ n(da, { children: e.heading, ...t }) : null;
1376
+ return e?.heading ? /* @__PURE__ */ o(da, { children: e.heading, ...t }) : null;
1377
1377
  }, ma = i(G, {
1378
1378
  _id: "aiChatForm__Description"
1379
- }), ss = (t) => {
1379
+ }), rs = (t) => {
1380
1380
  const { form: e } = A();
1381
- return e?.description ? /* @__PURE__ */ n(ma, { shouldOpenLinksInNewTab: !0, children: e.description, ...t }) : null;
1381
+ return e?.description ? /* @__PURE__ */ o(ma, { shouldOpenLinksInNewTab: !0, children: e.description, ...t }) : null;
1382
1382
  }, la = i("div", {
1383
1383
  _id: "aiChatForm__Content"
1384
- }), cs = (t) => {
1385
- const { children: e, ...a } = t, { getFields: o } = A(), { conversationId: r } = g(), s = o(r) || [];
1386
- return /* @__PURE__ */ n(la, { children: B(e, s), ...a });
1384
+ }), ss = (t) => {
1385
+ const { children: e, ...a } = t, { getFields: n } = A(), { conversationId: r } = _(), s = n(r) || [];
1386
+ return /* @__PURE__ */ o(la, { children: B(e, s), ...a });
1387
1387
  }, ha = i("div", {
1388
1388
  _id: "aiChatForm__Field"
1389
- }), ds = (t) => {
1390
- const { field: e, autoFocus: a, ...o } = t, { control: r, errors: s } = A();
1391
- return /* @__PURE__ */ n(
1389
+ }), cs = (t) => {
1390
+ const { field: e, autoFocus: a, ...n } = t, { control: r, errors: s } = A();
1391
+ return /* @__PURE__ */ o(
1392
1392
  dt,
1393
1393
  {
1394
1394
  name: e.name,
@@ -1396,19 +1396,19 @@ ${T}`;
1396
1396
  rules: { required: e.isRequired ? `${e.label} is required.` : void 0 },
1397
1397
  render: ({ field: c }) => {
1398
1398
  const d = c.value !== void 0 || e.inputType === "file";
1399
- return /* @__PURE__ */ n(
1399
+ return /* @__PURE__ */ o(
1400
1400
  ct,
1401
1401
  {
1402
1402
  "data-invalid": v(!!s[e.name]),
1403
1403
  field: e,
1404
1404
  fieldProps: c,
1405
1405
  autoFocus: a,
1406
- children: d && /* @__PURE__ */ n(
1406
+ children: d && /* @__PURE__ */ o(
1407
1407
  ha,
1408
1408
  {
1409
1409
  "data-input-type": e.inputType,
1410
1410
  "data-hidden": v(e.isHidden),
1411
- ...o
1411
+ ...n
1412
1412
  }
1413
1413
  )
1414
1414
  }
@@ -1418,9 +1418,9 @@ ${T}`;
1418
1418
  );
1419
1419
  }, ua = i("label", {
1420
1420
  _id: "aiChatForm__FieldLabel"
1421
- }), ms = (t) => {
1421
+ }), ds = (t) => {
1422
1422
  const { field: e } = w();
1423
- return /* @__PURE__ */ n(
1423
+ return /* @__PURE__ */ o(
1424
1424
  ua,
1425
1425
  {
1426
1426
  "data-required": v(e.isRequired),
@@ -1436,45 +1436,45 @@ ${T}`;
1436
1436
  const {
1437
1437
  field: e,
1438
1438
  error: a,
1439
- fieldProps: { onChange: o, onBlur: r, ...s },
1439
+ fieldProps: { onChange: n, onBlur: r, ...s },
1440
1440
  autoFocus: c
1441
1441
  } = w(), { onChange: d, onBlur: m, ...l } = t;
1442
- return /* @__PURE__ */ n(
1442
+ return /* @__PURE__ */ o(
1443
1443
  Ca,
1444
1444
  {
1445
1445
  id: e.name,
1446
1446
  autoFocus: c,
1447
1447
  placeholder: "placeholder" in e ? e.placeholder : void 0,
1448
1448
  "data-invalid": v(!!a),
1449
- onChange: h(d, o),
1449
+ onChange: h(d, n),
1450
1450
  onBlur: h(m, r),
1451
1451
  ...s,
1452
1452
  ...l
1453
1453
  }
1454
1454
  );
1455
- }, ls = i(Ae, {
1455
+ }, ms = i(Ae, {
1456
1456
  _id: "aiChatForm__FieldEmail",
1457
1457
  type: "email"
1458
1458
  }), ba = i("input", {
1459
1459
  _id: "aiChatForm__FieldFile",
1460
1460
  type: "file",
1461
1461
  multiple: !0
1462
- }), hs = (t) => {
1462
+ }), ls = (t) => {
1463
1463
  const {
1464
1464
  field: e,
1465
1465
  error: a,
1466
- fieldProps: { value: o, onChange: r, onBlur: s, ...c },
1466
+ fieldProps: { value: n, onChange: r, onBlur: s, ...c },
1467
1467
  autoFocus: d
1468
1468
  } = w(), { onChange: m, onBlur: l, ...u } = t, b = (C) => {
1469
- const _ = C.target.files;
1470
- r(_);
1469
+ const g = C.target.files;
1470
+ r(g);
1471
1471
  };
1472
- return /* @__PURE__ */ n(
1472
+ return /* @__PURE__ */ o(
1473
1473
  ba,
1474
1474
  {
1475
1475
  id: e.name,
1476
1476
  autoFocus: d,
1477
- "data-value": o,
1477
+ "data-value": n,
1478
1478
  "data-invalid": v(!!a),
1479
1479
  ...u,
1480
1480
  ...c,
@@ -1482,52 +1482,52 @@ ${T}`;
1482
1482
  onBlur: h(l, s)
1483
1483
  }
1484
1484
  );
1485
- }, us = i(Ae, {
1485
+ }, hs = i(Ae, {
1486
1486
  _id: "aiChatForm__FieldTextArea",
1487
1487
  type: "textarea",
1488
1488
  asChild: !0,
1489
- children: /* @__PURE__ */ n(ie, { maxRows: 8 })
1489
+ children: /* @__PURE__ */ o(ie, { maxRows: 8 })
1490
1490
  }), pa = i(z.Root, {
1491
1491
  _id: "aiChatForm__FieldCheckbox"
1492
- }), Cs = (t) => {
1493
- const { field: e, error: a, fieldProps: o, autoFocus: r } = w(), { onCheckedChange: s, ...c } = t;
1494
- return /* @__PURE__ */ n(
1492
+ }), us = (t) => {
1493
+ const { field: e, error: a, fieldProps: n, autoFocus: r } = w(), { onCheckedChange: s, ...c } = t;
1494
+ return /* @__PURE__ */ o(
1495
1495
  pa,
1496
1496
  {
1497
1497
  id: e.name,
1498
1498
  name: e.name,
1499
1499
  autoFocus: r,
1500
1500
  "data-invalid": v(!!a),
1501
- checked: o.value,
1502
- onCheckedChange: h(s, o.onChange),
1501
+ checked: n.value,
1502
+ onCheckedChange: h(s, n.onChange),
1503
1503
  ...c
1504
1504
  }
1505
1505
  );
1506
- }, bs = i(z.Indicator, {
1506
+ }, Cs = i(z.Indicator, {
1507
1507
  _id: "aiChatForm__FieldCheckboxIndicator",
1508
- children: /* @__PURE__ */ n(ve, {})
1508
+ children: /* @__PURE__ */ o(ve, {})
1509
1509
  }), va = i(xe, {
1510
1510
  _id: "aiChatForm__FieldSelect"
1511
- }), ps = (t) => {
1512
- const { field: e, error: a, fieldProps: o } = w(), { onValueChange: r, ...s } = t;
1513
- return /* @__PURE__ */ n(
1511
+ }), bs = (t) => {
1512
+ const { field: e, error: a, fieldProps: n } = w(), { onValueChange: r, ...s } = t;
1513
+ return /* @__PURE__ */ o(
1514
1514
  va,
1515
1515
  {
1516
1516
  name: e.name,
1517
1517
  "data-invalid": v(!!a),
1518
- value: o.value,
1519
- onValueChange: h(r, o.onChange),
1518
+ value: n.value,
1519
+ onValueChange: h(r, n.onChange),
1520
1520
  ...s
1521
1521
  }
1522
1522
  );
1523
- }, vs = i(Ee, {
1523
+ }, ps = i(Ee, {
1524
1524
  _id: "aiChatForm__FieldSelect__Trigger"
1525
- }), _a = i(we, {
1525
+ }), ga = i(we, {
1526
1526
  _id: "aiChatForm__FieldSelect__Value"
1527
- }), _s = (t) => {
1527
+ }), vs = (t) => {
1528
1528
  const { field: e } = w();
1529
- return /* @__PURE__ */ n(
1530
- _a,
1529
+ return /* @__PURE__ */ o(
1530
+ ga,
1531
1531
  {
1532
1532
  placeholder: "placeholder" in e ? e.placeholder : void 0,
1533
1533
  ...t
@@ -1536,27 +1536,27 @@ ${T}`;
1536
1536
  }, gs = i(Se, {
1537
1537
  _id: "aiChatForm__FieldSelect__Icon",
1538
1538
  asChild: !0,
1539
- children: /* @__PURE__ */ n(x, { iconSettings: { builtIn: "LuChevronDown" } })
1540
- }), Fs = i(ke, {
1539
+ children: /* @__PURE__ */ o(x, { iconSettings: { builtIn: "LuChevronDown" } })
1540
+ }), _s = i(ke, {
1541
1541
  _id: "aiChatForm__FieldSelect__Content",
1542
1542
  position: "popper"
1543
- }), Ps = i(Be, {
1543
+ }), Fs = i(Be, {
1544
1544
  _id: "aiChatForm__FieldSelect__Viewport"
1545
- }), As = i(ye, {
1545
+ }), Ps = i(ye, {
1546
1546
  _id: "aiChatForm__FieldSelect__Item"
1547
- }), fs = i(Me, {
1547
+ }), As = i(Me, {
1548
1548
  _id: "aiChatForm__FieldSelect__ItemText"
1549
1549
  }), Is = i(
1550
1550
  Te,
1551
1551
  {
1552
1552
  _id: "aiChatForm__FieldSelect__ItemIndicator",
1553
1553
  asChild: !0,
1554
- children: /* @__PURE__ */ n(x, { iconSettings: { builtIn: "LuCheck" } })
1554
+ children: /* @__PURE__ */ o(x, { iconSettings: { builtIn: "LuCheck" } })
1555
1555
  }
1556
- ), Ms = (t) => {
1557
- const { field: e, error: a, fieldProps: o } = w(), { onValueChange: r, ...s } = t;
1556
+ ), fs = (t) => {
1557
+ const { field: e, error: a, fieldProps: n } = w(), { onValueChange: r, ...s } = t;
1558
1558
  if (e.inputType !== "combobox") return null;
1559
- const c = e, { items: d, placeholder: m, multiple: l } = c, u = Array.isArray(o.value) ? o.value : [], b = {
1559
+ const c = e, { items: d, placeholder: m, multiple: l } = c, u = Array.isArray(n.value) ? n.value : [], b = {
1560
1560
  name: e.name,
1561
1561
  "data-invalid": v(!!a) || void 0,
1562
1562
  items: d,
@@ -1565,97 +1565,97 @@ ${T}`;
1565
1565
  placeholder: m,
1566
1566
  onValueChange: h(
1567
1567
  r,
1568
- (C) => o.onChange(C.value)
1568
+ (C) => n.onChange(C.value)
1569
1569
  ),
1570
1570
  ...s
1571
1571
  };
1572
- return /* @__PURE__ */ n(
1572
+ return /* @__PURE__ */ o(
1573
1573
  Le,
1574
1574
  {
1575
1575
  ...b
1576
1576
  }
1577
1577
  );
1578
- }, ga = { _id: "aiChatForm__FieldCombobox__Control" }, Es = i(
1578
+ }, _a = { _id: "aiChatForm__FieldCombobox__Control" }, Ms = i(
1579
1579
  Oe,
1580
- ga
1581
- ), Fa = { _id: "aiChatForm__FieldCombobox__Input" }, Ss = i(
1582
- Re,
1580
+ _a
1581
+ ), Fa = { _id: "aiChatForm__FieldCombobox__Input" }, Es = i(
1582
+ Ne,
1583
1583
  Fa
1584
1584
  ), Pa = {
1585
1585
  _id: "aiChatForm__FieldCombobox__Trigger",
1586
- children: /* @__PURE__ */ n(x, { iconSettings: { builtIn: "LuChevronDown" } })
1587
- }, ks = i(
1588
- We,
1586
+ children: /* @__PURE__ */ o(x, { iconSettings: { builtIn: "LuChevronDown" } })
1587
+ }, Ss = i(
1588
+ Re,
1589
1589
  Pa
1590
- ), Aa = { _id: "aiChatForm__FieldCombobox__SelectedTags" }, Bs = i(
1591
- Ne,
1590
+ ), Aa = { _id: "aiChatForm__FieldCombobox__SelectedTags" }, ks = i(
1591
+ We,
1592
1592
  Aa
1593
- ), fa = { _id: "aiChatForm__FieldCombobox__Content" }, ys = i(
1593
+ ), Ia = { _id: "aiChatForm__FieldCombobox__Content" }, Bs = i(
1594
1594
  Ve,
1595
+ Ia
1596
+ ), fa = { _id: "aiChatForm__FieldCombobox__Positioner" }, ys = i(
1597
+ Ue,
1595
1598
  fa
1596
- ), Ia = { _id: "aiChatForm__FieldCombobox__Positioner" }, Ts = i(
1599
+ ), Ma = { _id: "aiChatForm__FieldCombobox__List" }, Ts = i(
1597
1600
  $e,
1598
- Ia
1599
- ), Ma = { _id: "aiChatForm__FieldCombobox__List" }, xs = i(
1600
- Qe,
1601
1601
  Ma
1602
- ), ws = i(Ue, {
1602
+ ), xs = i(Qe, {
1603
1603
  _id: "aiChatForm__FieldCombobox__Item"
1604
- }), Hs = i(
1604
+ }), ws = i(
1605
1605
  De,
1606
1606
  { _id: "aiChatForm__FieldCombobox__ItemText" }
1607
- ), Ls = i(
1607
+ ), Hs = i(
1608
1608
  Ke,
1609
1609
  { _id: "aiChatForm__FieldCombobox__ItemIndicator" }
1610
- ), Ds = He, Os = i(
1610
+ ), Ls = He, Ds = i(
1611
1611
  qe,
1612
1612
  { _id: "aiChatForm__FieldCombobox__ListEmpty" }
1613
1613
  ), Ea = i("p", {
1614
1614
  _id: "aiChatForm__FieldDescription"
1615
- }), Rs = (t) => {
1615
+ }), Os = (t) => {
1616
1616
  const { field: e } = w();
1617
- return e.description ? /* @__PURE__ */ n(Ea, { children: e.description, ...t }) : null;
1617
+ return e.description ? /* @__PURE__ */ o(Ea, { children: e.description, ...t }) : null;
1618
1618
  }, Sa = i("span", {
1619
1619
  _id: "aiChatForm__FieldError"
1620
- }), Ws = (t) => {
1620
+ }), Ns = (t) => {
1621
1621
  const { error: e } = w();
1622
- return e ? /* @__PURE__ */ n(Sa, { children: e.message?.toString(), ...t }) : null;
1622
+ return e ? /* @__PURE__ */ o(Sa, { children: e.message?.toString(), ...t }) : null;
1623
1623
  }, ka = i("span", {
1624
1624
  _id: "aiChatForm__Error"
1625
- }), Ns = (t) => {
1625
+ }), Rs = (t) => {
1626
1626
  const { formError: e } = A();
1627
- return e ? /* @__PURE__ */ n(ka, { children: e.message, ...t }) : null;
1628
- }, Vs = i("div", {
1627
+ return e ? /* @__PURE__ */ o(ka, { children: e.message, ...t }) : null;
1628
+ }, Ws = i("div", {
1629
1629
  _id: "aiChatForm__Footer"
1630
1630
  }), Ba = i("button", {
1631
1631
  _id: "aiChatForm__Cancel",
1632
1632
  children: "Cancel",
1633
1633
  type: "button"
1634
- }), $s = (t) => {
1635
- const { onClick: e, ...a } = t, { closeForm: o } = A();
1636
- return /* @__PURE__ */ n(Ba, { onClick: h(e, o), ...a });
1634
+ }), Vs = (t) => {
1635
+ const { onClick: e, ...a } = t, { closeForm: n } = A();
1636
+ return /* @__PURE__ */ o(Ba, { onClick: h(e, n), ...a });
1637
1637
  }, ya = i("button", {
1638
1638
  _id: "aiChatForm__Submit",
1639
1639
  children: "Submit",
1640
1640
  type: "submit"
1641
- }), Qs = (t) => {
1642
- const { onClick: e, ...a } = t, { isSubmitting: o, form: r } = A(), s = r?.buttons.submit.label || "Submit";
1643
- return /* @__PURE__ */ n(ya, { disabled: o, ...a, children: s });
1641
+ }), Us = (t) => {
1642
+ const { onClick: e, ...a } = t, { isSubmitting: n, form: r } = A(), s = r?.buttons.submit.label || "Submit";
1643
+ return /* @__PURE__ */ o(ya, { disabled: n, ...a, children: s });
1644
1644
  }, Ta = i("div", {
1645
1645
  _id: "aiChatForm__Success"
1646
- }), Us = (t) => {
1646
+ }), $s = (t) => {
1647
1647
  const { isSuccess: e } = A();
1648
- return e ? /* @__PURE__ */ n(Ta, { ...t }) : null;
1648
+ return e ? /* @__PURE__ */ o(Ta, { ...t }) : null;
1649
1649
  }, xa = i("h2", {
1650
1650
  _id: "aiChatForm__SuccessHeading"
1651
- }), Ks = (t) => {
1651
+ }), Qs = (t) => {
1652
1652
  const { form: e } = A();
1653
- return /* @__PURE__ */ n(xa, { children: e?.successView?.heading, ...t });
1653
+ return /* @__PURE__ */ o(xa, { children: e?.successView?.heading, ...t });
1654
1654
  }, wa = i(G, {
1655
1655
  _id: "aiChatForm__SuccessMessage"
1656
- }), qs = (t) => {
1656
+ }), Ks = (t) => {
1657
1657
  const { form: e } = A();
1658
- return /* @__PURE__ */ n(
1658
+ return /* @__PURE__ */ o(
1659
1659
  wa,
1660
1660
  {
1661
1661
  shouldOpenLinksInNewTab: !0,
@@ -1665,11 +1665,11 @@ ${T}`;
1665
1665
  );
1666
1666
  }, Ha = i("button", {
1667
1667
  _id: "aiChatForm__SuccessButton"
1668
- }), js = (t) => {
1669
- const { onClick: e, ...a } = t, { form: o, closeForm: r } = A(), s = o?.successView?.doneButton;
1668
+ }), qs = (t) => {
1669
+ const { onClick: e, ...a } = t, { form: n, closeForm: r } = A(), s = n?.successView?.doneButton;
1670
1670
  if (!s) return null;
1671
- const c = s.icon && /* @__PURE__ */ n(x, { iconSettings: s.icon }), d = s.label;
1672
- return /* @__PURE__ */ n(
1671
+ const c = s.icon && /* @__PURE__ */ o(x, { iconSettings: s.icon }), d = s.label;
1672
+ return /* @__PURE__ */ o(
1673
1673
  Ha,
1674
1674
  {
1675
1675
  onClick: h(e, r),
@@ -1682,372 +1682,399 @@ ${T}`;
1682
1682
  );
1683
1683
  };
1684
1684
  export {
1685
- Br as ActionBar,
1686
- yr as Actions,
1687
- Xo as AttachmentsBar,
1688
- nr as AttachmentsBarActions,
1689
- er as AttachmentsBarAttachment,
1690
- ar as AttachmentsBarAttachmentDelete,
1691
- tr as AttachmentsBarAttachmentIcon,
1692
- ir as AttachmentsBarAttachmentTitle,
1685
+ kr as ActionBar,
1686
+ Br as Actions,
1687
+ Zn as AttachmentsBar,
1688
+ ar as AttachmentsBarActions,
1689
+ Xn as AttachmentsBarAttachment,
1690
+ ir as AttachmentsBarAttachmentDelete,
1691
+ er as AttachmentsBarAttachmentIcon,
1692
+ tr as AttachmentsBarAttachmentTitle,
1693
1693
  gr as AttachmentsBarForm,
1694
1694
  Ir as AttachmentsBarFormContent,
1695
- Sr as AttachmentsBarFormContentError,
1696
- Er as AttachmentsBarFormContentInput,
1697
- Mr as AttachmentsBarFormContentLabel,
1698
- kr as AttachmentsBarFormSubmitButton,
1699
- Fr as AttachmentsBarFormTitle,
1700
- fr as AttachmentsBarFormTitleError,
1701
- Ar as AttachmentsBarFormTitleInput,
1702
- Pr as AttachmentsBarFormTitleLabel,
1695
+ Er as AttachmentsBarFormContentError,
1696
+ Mr as AttachmentsBarFormContentInput,
1697
+ fr as AttachmentsBarFormContentLabel,
1698
+ Sr as AttachmentsBarFormSubmitButton,
1699
+ _r as AttachmentsBarFormTitle,
1700
+ Ar as AttachmentsBarFormTitleError,
1701
+ Pr as AttachmentsBarFormTitleInput,
1702
+ Fr as AttachmentsBarFormTitleLabel,
1703
1703
  or as AttachmentsBarInfoTip,
1704
1704
  yi as AttachmentsBarInfoTipArrow,
1705
- rr as AttachmentsBarInfoTipIcon,
1706
- sr as AttachmentsBarInfoTipText,
1707
- dr as AttachmentsBarInput,
1708
- cr as AttachmentsBarInputs,
1709
- Zo as AttachmentsBarList,
1710
- mr as AttachmentsBarModal,
1711
- _r as AttachmentsBarModalBody,
1712
- vr as AttachmentsBarModalClose,
1713
- hr as AttachmentsBarModalContent,
1714
- br as AttachmentsBarModalDescription,
1715
- ur as AttachmentsBarModalHeader,
1716
- Cr as AttachmentsBarModalHeading,
1717
- pr as AttachmentsBarModalHelp,
1718
- lr as AttachmentsBarModalOverlay,
1705
+ nr as AttachmentsBarInfoTipIcon,
1706
+ rr as AttachmentsBarInfoTipText,
1707
+ cr as AttachmentsBarInput,
1708
+ sr as AttachmentsBarInputs,
1709
+ Jn as AttachmentsBarList,
1710
+ dr as AttachmentsBarModal,
1711
+ vr as AttachmentsBarModalBody,
1712
+ pr as AttachmentsBarModalClose,
1713
+ lr as AttachmentsBarModalContent,
1714
+ Cr as AttachmentsBarModalDescription,
1715
+ hr as AttachmentsBarModalHeader,
1716
+ ur as AttachmentsBarModalHeading,
1717
+ br as AttachmentsBarModalHelp,
1718
+ mr as AttachmentsBarModalOverlay,
1719
1719
  Pe as ChatAction,
1720
- Lr as ChatActionFeedback,
1720
+ Hr as ChatActionFeedback,
1721
1721
  qi as ChatActionLabel,
1722
- Or as ChatHelpAction,
1723
- Ln as ChatHistoryButton,
1724
- Hn as ChatHistoryButtonIcon,
1725
- On as Content,
1726
- Rn as ContentScrollArea,
1727
- $n as ContentScrollAreaCorner,
1728
- Nn as ContentScrollAreaScrollbar,
1729
- Vn as ContentScrollAreaThumb,
1730
- Wn as ContentScrollAreaViewport,
1731
- Un as Disclaimer,
1732
- Gn as DisclaimerArrow,
1733
- jn as DisclaimerContent,
1734
- Kn as DisclaimerLabel,
1735
- zn as DisclaimerText,
1736
- qn as DisclaimerTrigger,
1737
- ko as DynamicComponent,
1738
- Br as EmbeddedChatPrimitiveActionBar,
1739
- yr as EmbeddedChatPrimitiveActions,
1740
- Xo as EmbeddedChatPrimitiveAttachmentsBar,
1741
- nr as EmbeddedChatPrimitiveAttachmentsBarActions,
1742
- er as EmbeddedChatPrimitiveAttachmentsBarAttachment,
1743
- ar as EmbeddedChatPrimitiveAttachmentsBarAttachmentDelete,
1744
- tr as EmbeddedChatPrimitiveAttachmentsBarAttachmentIcon,
1745
- ir as EmbeddedChatPrimitiveAttachmentsBarAttachmentTitle,
1722
+ Dr as ChatHelpAction,
1723
+ Lo as ChatHistoryButton,
1724
+ Ho as ChatHistoryButtonIcon,
1725
+ Oo as Content,
1726
+ No as ContentScrollArea,
1727
+ Uo as ContentScrollAreaCorner,
1728
+ Wo as ContentScrollAreaScrollbar,
1729
+ Vo as ContentScrollAreaThumb,
1730
+ Ro as ContentScrollAreaViewport,
1731
+ Qo as Disclaimer,
1732
+ Go as DisclaimerArrow,
1733
+ jo as DisclaimerContent,
1734
+ Ko as DisclaimerLabel,
1735
+ zo as DisclaimerText,
1736
+ qo as DisclaimerTrigger,
1737
+ Zs as DropZone,
1738
+ kn as DynamicComponent,
1739
+ kr as EmbeddedChatPrimitiveActionBar,
1740
+ Br as EmbeddedChatPrimitiveActions,
1741
+ Zn as EmbeddedChatPrimitiveAttachmentsBar,
1742
+ ar as EmbeddedChatPrimitiveAttachmentsBarActions,
1743
+ Xn as EmbeddedChatPrimitiveAttachmentsBarAttachment,
1744
+ ir as EmbeddedChatPrimitiveAttachmentsBarAttachmentDelete,
1745
+ er as EmbeddedChatPrimitiveAttachmentsBarAttachmentIcon,
1746
+ tr as EmbeddedChatPrimitiveAttachmentsBarAttachmentTitle,
1746
1747
  gr as EmbeddedChatPrimitiveAttachmentsBarForm,
1747
1748
  Ir as EmbeddedChatPrimitiveAttachmentsBarFormContent,
1748
- Sr as EmbeddedChatPrimitiveAttachmentsBarFormContentError,
1749
- Er as EmbeddedChatPrimitiveAttachmentsBarFormContentInput,
1750
- Mr as EmbeddedChatPrimitiveAttachmentsBarFormContentLabel,
1751
- kr as EmbeddedChatPrimitiveAttachmentsBarFormSubmitButton,
1752
- Fr as EmbeddedChatPrimitiveAttachmentsBarFormTitle,
1753
- fr as EmbeddedChatPrimitiveAttachmentsBarFormTitleError,
1754
- Ar as EmbeddedChatPrimitiveAttachmentsBarFormTitleInput,
1755
- Pr as EmbeddedChatPrimitiveAttachmentsBarFormTitleLabel,
1749
+ Er as EmbeddedChatPrimitiveAttachmentsBarFormContentError,
1750
+ Mr as EmbeddedChatPrimitiveAttachmentsBarFormContentInput,
1751
+ fr as EmbeddedChatPrimitiveAttachmentsBarFormContentLabel,
1752
+ Sr as EmbeddedChatPrimitiveAttachmentsBarFormSubmitButton,
1753
+ _r as EmbeddedChatPrimitiveAttachmentsBarFormTitle,
1754
+ Ar as EmbeddedChatPrimitiveAttachmentsBarFormTitleError,
1755
+ Pr as EmbeddedChatPrimitiveAttachmentsBarFormTitleInput,
1756
+ Fr as EmbeddedChatPrimitiveAttachmentsBarFormTitleLabel,
1756
1757
  or as EmbeddedChatPrimitiveAttachmentsBarInfoTip,
1757
1758
  yi as EmbeddedChatPrimitiveAttachmentsBarInfoTipArrow,
1758
- rr as EmbeddedChatPrimitiveAttachmentsBarInfoTipIcon,
1759
- sr as EmbeddedChatPrimitiveAttachmentsBarInfoTipText,
1760
- dr as EmbeddedChatPrimitiveAttachmentsBarInput,
1761
- cr as EmbeddedChatPrimitiveAttachmentsBarInputs,
1762
- Zo as EmbeddedChatPrimitiveAttachmentsBarList,
1763
- mr as EmbeddedChatPrimitiveAttachmentsBarModal,
1764
- _r as EmbeddedChatPrimitiveAttachmentsBarModalBody,
1765
- vr as EmbeddedChatPrimitiveAttachmentsBarModalClose,
1766
- hr as EmbeddedChatPrimitiveAttachmentsBarModalContent,
1767
- br as EmbeddedChatPrimitiveAttachmentsBarModalDescription,
1768
- ur as EmbeddedChatPrimitiveAttachmentsBarModalHeader,
1769
- Cr as EmbeddedChatPrimitiveAttachmentsBarModalHeading,
1770
- pr as EmbeddedChatPrimitiveAttachmentsBarModalHelp,
1771
- lr as EmbeddedChatPrimitiveAttachmentsBarModalOverlay,
1759
+ nr as EmbeddedChatPrimitiveAttachmentsBarInfoTipIcon,
1760
+ rr as EmbeddedChatPrimitiveAttachmentsBarInfoTipText,
1761
+ cr as EmbeddedChatPrimitiveAttachmentsBarInput,
1762
+ sr as EmbeddedChatPrimitiveAttachmentsBarInputs,
1763
+ Jn as EmbeddedChatPrimitiveAttachmentsBarList,
1764
+ dr as EmbeddedChatPrimitiveAttachmentsBarModal,
1765
+ vr as EmbeddedChatPrimitiveAttachmentsBarModalBody,
1766
+ pr as EmbeddedChatPrimitiveAttachmentsBarModalClose,
1767
+ lr as EmbeddedChatPrimitiveAttachmentsBarModalContent,
1768
+ Cr as EmbeddedChatPrimitiveAttachmentsBarModalDescription,
1769
+ hr as EmbeddedChatPrimitiveAttachmentsBarModalHeader,
1770
+ ur as EmbeddedChatPrimitiveAttachmentsBarModalHeading,
1771
+ br as EmbeddedChatPrimitiveAttachmentsBarModalHelp,
1772
+ mr as EmbeddedChatPrimitiveAttachmentsBarModalOverlay,
1772
1773
  Pe as EmbeddedChatPrimitiveChatAction,
1773
- Lr as EmbeddedChatPrimitiveChatActionFeedback,
1774
+ Hr as EmbeddedChatPrimitiveChatActionFeedback,
1774
1775
  qi as EmbeddedChatPrimitiveChatActionLabel,
1775
- Or as EmbeddedChatPrimitiveChatHelpAction,
1776
- Ln as EmbeddedChatPrimitiveChatHistoryButton,
1777
- Hn as EmbeddedChatPrimitiveChatHistoryButtonIcon,
1778
- On as EmbeddedChatPrimitiveContent,
1779
- Rn as EmbeddedChatPrimitiveContentScrollArea,
1780
- $n as EmbeddedChatPrimitiveContentScrollAreaCorner,
1781
- Nn as EmbeddedChatPrimitiveContentScrollAreaScrollbar,
1782
- Vn as EmbeddedChatPrimitiveContentScrollAreaThumb,
1783
- Wn as EmbeddedChatPrimitiveContentScrollAreaViewport,
1784
- Un as EmbeddedChatPrimitiveDisclaimer,
1785
- Gn as EmbeddedChatPrimitiveDisclaimerArrow,
1786
- jn as EmbeddedChatPrimitiveDisclaimerContent,
1787
- Kn as EmbeddedChatPrimitiveDisclaimerLabel,
1788
- zn as EmbeddedChatPrimitiveDisclaimerText,
1789
- qn as EmbeddedChatPrimitiveDisclaimerTrigger,
1790
- ko as EmbeddedChatPrimitiveDynamicComponent,
1791
- Zn as EmbeddedChatPrimitiveExampleQuestion,
1792
- eo as EmbeddedChatPrimitiveExampleQuestionButton,
1793
- Yn as EmbeddedChatPrimitiveExampleQuestions,
1794
- Jn as EmbeddedChatPrimitiveExampleQuestionsLabel,
1795
- Xn as EmbeddedChatPrimitiveExampleQuestionsList,
1796
- Gr as EmbeddedChatPrimitiveFeedbackForm,
1797
- Yr as EmbeddedChatPrimitiveFeedbackItem,
1798
- Jr as EmbeddedChatPrimitiveFeedbackItemCheckbox,
1799
- Xr as EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator,
1800
- es as EmbeddedChatPrimitiveFeedbackItemDescription,
1801
- Zr as EmbeddedChatPrimitiveFeedbackItemLabel,
1802
- Qr as EmbeddedChatPrimitiveFeedbackModal,
1803
- zr as EmbeddedChatPrimitiveFeedbackModalBody,
1804
- jr as EmbeddedChatPrimitiveFeedbackModalClose,
1805
- Kr as EmbeddedChatPrimitiveFeedbackModalContent,
1806
- qr as EmbeddedChatPrimitiveFeedbackModalHeader,
1807
- Ur as EmbeddedChatPrimitiveFeedbackModalOverlay,
1808
- ts as EmbeddedChatPrimitiveFeedbackSubmitButton,
1809
- qo as EmbeddedChatPrimitiveFooter,
1810
- as as EmbeddedChatPrimitiveForm,
1811
- $s as EmbeddedChatPrimitiveFormCancel,
1812
- ns as EmbeddedChatPrimitiveFormClose,
1813
- cs as EmbeddedChatPrimitiveFormContent,
1814
- ss as EmbeddedChatPrimitiveFormDescription,
1815
- Ns as EmbeddedChatPrimitiveFormError,
1816
- ds as EmbeddedChatPrimitiveFormField,
1817
- Cs as EmbeddedChatPrimitiveFormFieldCheckbox,
1818
- bs as EmbeddedChatPrimitiveFormFieldCheckboxIndicator,
1819
- Ms as EmbeddedChatPrimitiveFormFieldCombobox,
1820
- ys as EmbeddedChatPrimitiveFormFieldComboboxContent,
1821
- Es as EmbeddedChatPrimitiveFormFieldComboboxControl,
1822
- Ss as EmbeddedChatPrimitiveFormFieldComboboxInput,
1823
- ws as EmbeddedChatPrimitiveFormFieldComboboxItem,
1824
- Ls as EmbeddedChatPrimitiveFormFieldComboboxItemIndicator,
1825
- Hs as EmbeddedChatPrimitiveFormFieldComboboxItemText,
1826
- xs as EmbeddedChatPrimitiveFormFieldComboboxList,
1827
- Os as EmbeddedChatPrimitiveFormFieldComboboxListEmpty,
1828
- Ds as EmbeddedChatPrimitiveFormFieldComboboxListItems,
1829
- Ts as EmbeddedChatPrimitiveFormFieldComboboxPositioner,
1830
- Bs as EmbeddedChatPrimitiveFormFieldComboboxSelectedTags,
1831
- ks as EmbeddedChatPrimitiveFormFieldComboboxTrigger,
1832
- Rs as EmbeddedChatPrimitiveFormFieldDescription,
1833
- ls as EmbeddedChatPrimitiveFormFieldEmail,
1834
- Ws as EmbeddedChatPrimitiveFormFieldError,
1835
- hs as EmbeddedChatPrimitiveFormFieldFile,
1836
- ms as EmbeddedChatPrimitiveFormFieldLabel,
1837
- ps as EmbeddedChatPrimitiveFormFieldSelect,
1838
- Fs as EmbeddedChatPrimitiveFormFieldSelectContent,
1776
+ Dr as EmbeddedChatPrimitiveChatHelpAction,
1777
+ Lo as EmbeddedChatPrimitiveChatHistoryButton,
1778
+ Ho as EmbeddedChatPrimitiveChatHistoryButtonIcon,
1779
+ Oo as EmbeddedChatPrimitiveContent,
1780
+ No as EmbeddedChatPrimitiveContentScrollArea,
1781
+ Uo as EmbeddedChatPrimitiveContentScrollAreaCorner,
1782
+ Wo as EmbeddedChatPrimitiveContentScrollAreaScrollbar,
1783
+ Vo as EmbeddedChatPrimitiveContentScrollAreaThumb,
1784
+ Ro as EmbeddedChatPrimitiveContentScrollAreaViewport,
1785
+ Qo as EmbeddedChatPrimitiveDisclaimer,
1786
+ Go as EmbeddedChatPrimitiveDisclaimerArrow,
1787
+ jo as EmbeddedChatPrimitiveDisclaimerContent,
1788
+ Ko as EmbeddedChatPrimitiveDisclaimerLabel,
1789
+ zo as EmbeddedChatPrimitiveDisclaimerText,
1790
+ qo as EmbeddedChatPrimitiveDisclaimerTrigger,
1791
+ kn as EmbeddedChatPrimitiveDynamicComponent,
1792
+ Xo as EmbeddedChatPrimitiveExampleQuestion,
1793
+ en as EmbeddedChatPrimitiveExampleQuestionButton,
1794
+ Yo as EmbeddedChatPrimitiveExampleQuestions,
1795
+ Zo as EmbeddedChatPrimitiveExampleQuestionsLabel,
1796
+ Jo as EmbeddedChatPrimitiveExampleQuestionsList,
1797
+ zr as EmbeddedChatPrimitiveFeedbackForm,
1798
+ Gr as EmbeddedChatPrimitiveFeedbackItem,
1799
+ Yr as EmbeddedChatPrimitiveFeedbackItemCheckbox,
1800
+ Zr as EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator,
1801
+ Xr as EmbeddedChatPrimitiveFeedbackItemDescription,
1802
+ Jr as EmbeddedChatPrimitiveFeedbackItemLabel,
1803
+ Ur as EmbeddedChatPrimitiveFeedbackModal,
1804
+ jr as EmbeddedChatPrimitiveFeedbackModalBody,
1805
+ qr as EmbeddedChatPrimitiveFeedbackModalClose,
1806
+ Qr as EmbeddedChatPrimitiveFeedbackModalContent,
1807
+ Kr as EmbeddedChatPrimitiveFeedbackModalHeader,
1808
+ $r as EmbeddedChatPrimitiveFeedbackModalOverlay,
1809
+ es as EmbeddedChatPrimitiveFeedbackSubmitButton,
1810
+ qn as EmbeddedChatPrimitiveFooter,
1811
+ is as EmbeddedChatPrimitiveForm,
1812
+ Vs as EmbeddedChatPrimitiveFormCancel,
1813
+ as as EmbeddedChatPrimitiveFormClose,
1814
+ ss as EmbeddedChatPrimitiveFormContent,
1815
+ rs as EmbeddedChatPrimitiveFormDescription,
1816
+ Rs as EmbeddedChatPrimitiveFormError,
1817
+ cs as EmbeddedChatPrimitiveFormField,
1818
+ us as EmbeddedChatPrimitiveFormFieldCheckbox,
1819
+ Cs as EmbeddedChatPrimitiveFormFieldCheckboxIndicator,
1820
+ fs as EmbeddedChatPrimitiveFormFieldCombobox,
1821
+ Bs as EmbeddedChatPrimitiveFormFieldComboboxContent,
1822
+ Ms as EmbeddedChatPrimitiveFormFieldComboboxControl,
1823
+ Es as EmbeddedChatPrimitiveFormFieldComboboxInput,
1824
+ xs as EmbeddedChatPrimitiveFormFieldComboboxItem,
1825
+ Hs as EmbeddedChatPrimitiveFormFieldComboboxItemIndicator,
1826
+ ws as EmbeddedChatPrimitiveFormFieldComboboxItemText,
1827
+ Ts as EmbeddedChatPrimitiveFormFieldComboboxList,
1828
+ Ds as EmbeddedChatPrimitiveFormFieldComboboxListEmpty,
1829
+ Ls as EmbeddedChatPrimitiveFormFieldComboboxListItems,
1830
+ ys as EmbeddedChatPrimitiveFormFieldComboboxPositioner,
1831
+ ks as EmbeddedChatPrimitiveFormFieldComboboxSelectedTags,
1832
+ Ss as EmbeddedChatPrimitiveFormFieldComboboxTrigger,
1833
+ Os as EmbeddedChatPrimitiveFormFieldDescription,
1834
+ ms as EmbeddedChatPrimitiveFormFieldEmail,
1835
+ Ns as EmbeddedChatPrimitiveFormFieldError,
1836
+ ls as EmbeddedChatPrimitiveFormFieldFile,
1837
+ ds as EmbeddedChatPrimitiveFormFieldLabel,
1838
+ bs as EmbeddedChatPrimitiveFormFieldSelect,
1839
+ _s as EmbeddedChatPrimitiveFormFieldSelectContent,
1839
1840
  gs as EmbeddedChatPrimitiveFormFieldSelectIcon,
1840
- As as EmbeddedChatPrimitiveFormFieldSelectItem,
1841
+ Ps as EmbeddedChatPrimitiveFormFieldSelectItem,
1841
1842
  Is as EmbeddedChatPrimitiveFormFieldSelectItemIndicator,
1842
- fs as EmbeddedChatPrimitiveFormFieldSelectItemText,
1843
- vs as EmbeddedChatPrimitiveFormFieldSelectTrigger,
1844
- _s as EmbeddedChatPrimitiveFormFieldSelectValue,
1845
- Ps as EmbeddedChatPrimitiveFormFieldSelectViewport,
1843
+ As as EmbeddedChatPrimitiveFormFieldSelectItemText,
1844
+ ps as EmbeddedChatPrimitiveFormFieldSelectTrigger,
1845
+ vs as EmbeddedChatPrimitiveFormFieldSelectValue,
1846
+ Fs as EmbeddedChatPrimitiveFormFieldSelectViewport,
1846
1847
  Ae as EmbeddedChatPrimitiveFormFieldText,
1847
- us as EmbeddedChatPrimitiveFormFieldTextArea,
1848
- Vs as EmbeddedChatPrimitiveFormFooter,
1848
+ hs as EmbeddedChatPrimitiveFormFieldTextArea,
1849
+ Ws as EmbeddedChatPrimitiveFormFooter,
1849
1850
  os as EmbeddedChatPrimitiveFormHeader,
1850
- rs as EmbeddedChatPrimitiveFormHeading,
1851
- Qs as EmbeddedChatPrimitiveFormSubmit,
1852
- Us as EmbeddedChatPrimitiveFormSuccess,
1853
- js as EmbeddedChatPrimitiveFormSuccessButton,
1854
- Ks as EmbeddedChatPrimitiveFormSuccessHeading,
1855
- qs as EmbeddedChatPrimitiveFormSuccessMessage,
1856
- is as EmbeddedChatPrimitiveFormWrapper,
1857
- xn as EmbeddedChatPrimitiveHeaderToolbar,
1858
- Dr as EmbeddedChatPrimitiveHelpActions,
1859
- Wr as EmbeddedChatPrimitiveHelpActionsMenu,
1860
- Nr as EmbeddedChatPrimitiveHelpActionsMenuArrow,
1861
- Vr as EmbeddedChatPrimitiveHelpActionsMenuItem,
1862
- $r as EmbeddedChatPrimitiveHelpActionsMenuItemIcon,
1863
- Rr as EmbeddedChatPrimitiveHelpActionsTrigger,
1864
- Go as EmbeddedChatPrimitiveInput,
1865
- jo as EmbeddedChatPrimitiveInputFieldset,
1866
- zo as EmbeddedChatPrimitiveInputGroup,
1867
- oo as EmbeddedChatPrimitiveIntroMessageWrapper,
1868
- So as EmbeddedChatPrimitiveMarkdown,
1869
- wo as EmbeddedChatPrimitiveMessageAction,
1870
- po as EmbeddedChatPrimitiveMessageAttachments,
1871
- _o as EmbeddedChatPrimitiveMessageAttachmentsItem,
1872
- go as EmbeddedChatPrimitiveMessageAttachmentsItemIcon,
1873
- Fo as EmbeddedChatPrimitiveMessageAttachmentsItemTitle,
1874
- vo as EmbeddedChatPrimitiveMessageAttachmentsList,
1875
- Po as EmbeddedChatPrimitiveMessageAttachmentsPreview,
1876
- Eo as EmbeddedChatPrimitiveMessageAttachmentsPreviewBody,
1877
- Mo as EmbeddedChatPrimitiveMessageAttachmentsPreviewClose,
1878
- fo as EmbeddedChatPrimitiveMessageAttachmentsPreviewContent,
1879
- Io as EmbeddedChatPrimitiveMessageAttachmentsPreviewHeader,
1880
- Ao as EmbeddedChatPrimitiveMessageAttachmentsPreviewOverlay,
1881
- co as EmbeddedChatPrimitiveMessageAvatar,
1882
- mo as EmbeddedChatPrimitiveMessageAvatarContent,
1883
- lo as EmbeddedChatPrimitiveMessageAvatarFallback,
1884
- ho as EmbeddedChatPrimitiveMessageAvatarImage,
1885
- bo as EmbeddedChatPrimitiveMessageContent,
1886
- Co as EmbeddedChatPrimitiveMessageContentWrapper,
1887
- xo as EmbeddedChatPrimitiveMessageCustomAction,
1888
- To as EmbeddedChatPrimitiveMessageCustomActions,
1889
- ro as EmbeddedChatPrimitiveMessageHeader,
1890
- so as EmbeddedChatPrimitiveMessageLoading,
1891
- uo as EmbeddedChatPrimitiveMessageName,
1892
- Oo as EmbeddedChatPrimitiveMessageSourceItem,
1893
- Ro as EmbeddedChatPrimitiveMessageSourceItemBreadcrumbs,
1894
- Qo as EmbeddedChatPrimitiveMessageSourceItemDescription,
1895
- Uo as EmbeddedChatPrimitiveMessageSourceItemDescriptionPart,
1896
- No as EmbeddedChatPrimitiveMessageSourceItemIcon,
1897
- Ko as EmbeddedChatPrimitiveMessageSourceItemIndicator,
1898
- $o as EmbeddedChatPrimitiveMessageSourceItemTag,
1899
- Vo as EmbeddedChatPrimitiveMessageSourceItemTitle,
1900
- Ho as EmbeddedChatPrimitiveMessageSources,
1901
- Lo as EmbeddedChatPrimitiveMessageSourcesHeader,
1902
- Do as EmbeddedChatPrimitiveMessageSourcesList,
1903
- yo as EmbeddedChatPrimitiveMessageToolbar,
1904
- Qt as EmbeddedChatPrimitiveMessageWrapper,
1905
- Qn as EmbeddedChatPrimitiveMessages,
1906
- yn as EmbeddedChatPrimitiveRoot,
1907
- Yo as EmbeddedChatPrimitiveSendButton,
1908
- Jo as EmbeddedChatPrimitiveSendButtonIcon,
1909
- Hr as EmbeddedChatPrimitiveTaglineBrandName,
1910
- Tr as EmbeddedChatPrimitiveTaglineContainer,
1911
- wr as EmbeddedChatPrimitiveTaglineLogo,
1912
- xr as EmbeddedChatPrimitiveTaglineText,
1913
- Dn as EmbeddedChatPrimitiveToolbarHeader,
1914
- wn as EmbeddedChatPrimitiveToolbarHeaderWrapper,
1915
- no as EmbeddedChatPrimitiveWorkflow,
1916
- to as EmbeddedChatPrimitiveWorkflows,
1917
- io as EmbeddedChatPrimitiveWorkflowsLabel,
1918
- ao as EmbeddedChatPrimitiveWorkflowsList,
1919
- Bn as EmbeddedChatPrimitiveWrapper,
1920
- Zn as ExampleQuestion,
1921
- eo as ExampleQuestionButton,
1922
- Yn as ExampleQuestions,
1923
- Jn as ExampleQuestionsLabel,
1924
- Xn as ExampleQuestionsList,
1925
- Gr as FeedbackForm,
1926
- Yr as FeedbackItem,
1927
- Jr as FeedbackItemCheckbox,
1928
- Xr as FeedbackItemCheckboxIndicator,
1929
- es as FeedbackItemDescription,
1930
- Zr as FeedbackItemLabel,
1931
- Qr as FeedbackModal,
1932
- zr as FeedbackModalBody,
1933
- jr as FeedbackModalClose,
1934
- Kr as FeedbackModalContent,
1935
- qr as FeedbackModalHeader,
1936
- Ur as FeedbackModalOverlay,
1937
- ts as FeedbackSubmitButton,
1938
- qo as Footer,
1939
- as as Form,
1940
- $s as FormCancel,
1941
- ns as FormClose,
1942
- cs as FormContent,
1943
- ss as FormDescription,
1944
- Ns as FormError,
1945
- ds as FormField,
1946
- Cs as FormFieldCheckbox,
1947
- bs as FormFieldCheckboxIndicator,
1948
- Ms as FormFieldCombobox,
1949
- ys as FormFieldComboboxContent,
1950
- Es as FormFieldComboboxControl,
1951
- Ss as FormFieldComboboxInput,
1952
- ws as FormFieldComboboxItem,
1953
- Ls as FormFieldComboboxItemIndicator,
1954
- Hs as FormFieldComboboxItemText,
1955
- xs as FormFieldComboboxList,
1956
- Os as FormFieldComboboxListEmpty,
1957
- Ds as FormFieldComboboxListItems,
1958
- Ts as FormFieldComboboxPositioner,
1959
- Bs as FormFieldComboboxSelectedTags,
1960
- ks as FormFieldComboboxTrigger,
1961
- Rs as FormFieldDescription,
1962
- ls as FormFieldEmail,
1963
- Ws as FormFieldError,
1964
- hs as FormFieldFile,
1965
- ms as FormFieldLabel,
1966
- ps as FormFieldSelect,
1967
- Fs as FormFieldSelectContent,
1851
+ ns as EmbeddedChatPrimitiveFormHeading,
1852
+ Us as EmbeddedChatPrimitiveFormSubmit,
1853
+ $s as EmbeddedChatPrimitiveFormSuccess,
1854
+ qs as EmbeddedChatPrimitiveFormSuccessButton,
1855
+ Qs as EmbeddedChatPrimitiveFormSuccessHeading,
1856
+ Ks as EmbeddedChatPrimitiveFormSuccessMessage,
1857
+ ts as EmbeddedChatPrimitiveFormWrapper,
1858
+ xo as EmbeddedChatPrimitiveHeaderToolbar,
1859
+ Lr as EmbeddedChatPrimitiveHelpActions,
1860
+ Nr as EmbeddedChatPrimitiveHelpActionsMenu,
1861
+ Rr as EmbeddedChatPrimitiveHelpActionsMenuArrow,
1862
+ Wr as EmbeddedChatPrimitiveHelpActionsMenuItem,
1863
+ Vr as EmbeddedChatPrimitiveHelpActionsMenuItemIcon,
1864
+ Or as EmbeddedChatPrimitiveHelpActionsTrigger,
1865
+ zn as EmbeddedChatPrimitiveInput,
1866
+ jn as EmbeddedChatPrimitiveInputGroup,
1867
+ rn as EmbeddedChatPrimitiveIntroMessageWrapper,
1868
+ Sn as EmbeddedChatPrimitiveMarkdown,
1869
+ wn as EmbeddedChatPrimitiveMessageAction,
1870
+ pn as EmbeddedChatPrimitiveMessageAttachments,
1871
+ gn as EmbeddedChatPrimitiveMessageAttachmentsItem,
1872
+ _n as EmbeddedChatPrimitiveMessageAttachmentsItemIcon,
1873
+ Fn as EmbeddedChatPrimitiveMessageAttachmentsItemTitle,
1874
+ vn as EmbeddedChatPrimitiveMessageAttachmentsList,
1875
+ Pn as EmbeddedChatPrimitiveMessageAttachmentsPreview,
1876
+ En as EmbeddedChatPrimitiveMessageAttachmentsPreviewBody,
1877
+ Mn as EmbeddedChatPrimitiveMessageAttachmentsPreviewClose,
1878
+ In as EmbeddedChatPrimitiveMessageAttachmentsPreviewContent,
1879
+ fn as EmbeddedChatPrimitiveMessageAttachmentsPreviewHeader,
1880
+ An as EmbeddedChatPrimitiveMessageAttachmentsPreviewOverlay,
1881
+ dn as EmbeddedChatPrimitiveMessageAvatar,
1882
+ mn as EmbeddedChatPrimitiveMessageAvatarContent,
1883
+ ln as EmbeddedChatPrimitiveMessageAvatarFallback,
1884
+ hn as EmbeddedChatPrimitiveMessageAvatarImage,
1885
+ bn as EmbeddedChatPrimitiveMessageContent,
1886
+ Cn as EmbeddedChatPrimitiveMessageContentWrapper,
1887
+ xn as EmbeddedChatPrimitiveMessageCustomAction,
1888
+ Tn as EmbeddedChatPrimitiveMessageCustomActions,
1889
+ sn as EmbeddedChatPrimitiveMessageHeader,
1890
+ cn as EmbeddedChatPrimitiveMessageLoading,
1891
+ un as EmbeddedChatPrimitiveMessageName,
1892
+ On as EmbeddedChatPrimitiveMessageSourceItem,
1893
+ Nn as EmbeddedChatPrimitiveMessageSourceItemBreadcrumbs,
1894
+ $n as EmbeddedChatPrimitiveMessageSourceItemDescription,
1895
+ Qn as EmbeddedChatPrimitiveMessageSourceItemDescriptionPart,
1896
+ Wn as EmbeddedChatPrimitiveMessageSourceItemIcon,
1897
+ Kn as EmbeddedChatPrimitiveMessageSourceItemIndicator,
1898
+ Un as EmbeddedChatPrimitiveMessageSourceItemTag,
1899
+ Vn as EmbeddedChatPrimitiveMessageSourceItemTitle,
1900
+ Hn as EmbeddedChatPrimitiveMessageSources,
1901
+ Ln as EmbeddedChatPrimitiveMessageSourcesHeader,
1902
+ Dn as EmbeddedChatPrimitiveMessageSourcesList,
1903
+ yn as EmbeddedChatPrimitiveMessageToolbar,
1904
+ $t as EmbeddedChatPrimitiveMessageWrapper,
1905
+ $o as EmbeddedChatPrimitiveMessages,
1906
+ yo as EmbeddedChatPrimitiveRoot,
1907
+ Gn as EmbeddedChatPrimitiveSendButton,
1908
+ Yn as EmbeddedChatPrimitiveSendButtonIcon,
1909
+ wr as EmbeddedChatPrimitiveTaglineBrandName,
1910
+ yr as EmbeddedChatPrimitiveTaglineContainer,
1911
+ xr as EmbeddedChatPrimitiveTaglineLogo,
1912
+ Tr as EmbeddedChatPrimitiveTaglineText,
1913
+ Do as EmbeddedChatPrimitiveToolbarHeader,
1914
+ wo as EmbeddedChatPrimitiveToolbarHeaderWrapper,
1915
+ nn as EmbeddedChatPrimitiveWorkflow,
1916
+ tn as EmbeddedChatPrimitiveWorkflows,
1917
+ an as EmbeddedChatPrimitiveWorkflowsLabel,
1918
+ on as EmbeddedChatPrimitiveWorkflowsList,
1919
+ Bo as EmbeddedChatPrimitiveWrapper,
1920
+ Xo as ExampleQuestion,
1921
+ en as ExampleQuestionButton,
1922
+ Yo as ExampleQuestions,
1923
+ Zo as ExampleQuestionsLabel,
1924
+ Jo as ExampleQuestionsList,
1925
+ zr as FeedbackForm,
1926
+ Gr as FeedbackItem,
1927
+ Yr as FeedbackItemCheckbox,
1928
+ Zr as FeedbackItemCheckboxIndicator,
1929
+ Xr as FeedbackItemDescription,
1930
+ Jr as FeedbackItemLabel,
1931
+ Ur as FeedbackModal,
1932
+ jr as FeedbackModalBody,
1933
+ qr as FeedbackModalClose,
1934
+ Qr as FeedbackModalContent,
1935
+ Kr as FeedbackModalHeader,
1936
+ $r as FeedbackModalOverlay,
1937
+ es as FeedbackSubmitButton,
1938
+ Js as FileContent,
1939
+ Xs as FileInput,
1940
+ ec as FileItem,
1941
+ tc as FileList,
1942
+ ic as FileName,
1943
+ ac as FilePreviewTrigger,
1944
+ oc as FileRemove,
1945
+ nc as FileRemoveIcon,
1946
+ rc as FileThumbnail,
1947
+ sc as FileTypeIcon,
1948
+ cc as FileUploadButton,
1949
+ dc as FileUploadButtonIcon,
1950
+ qn as Footer,
1951
+ is as Form,
1952
+ Vs as FormCancel,
1953
+ as as FormClose,
1954
+ ss as FormContent,
1955
+ rs as FormDescription,
1956
+ Rs as FormError,
1957
+ cs as FormField,
1958
+ us as FormFieldCheckbox,
1959
+ Cs as FormFieldCheckboxIndicator,
1960
+ fs as FormFieldCombobox,
1961
+ Bs as FormFieldComboboxContent,
1962
+ Ms as FormFieldComboboxControl,
1963
+ Es as FormFieldComboboxInput,
1964
+ xs as FormFieldComboboxItem,
1965
+ Hs as FormFieldComboboxItemIndicator,
1966
+ ws as FormFieldComboboxItemText,
1967
+ Ts as FormFieldComboboxList,
1968
+ Ds as FormFieldComboboxListEmpty,
1969
+ Ls as FormFieldComboboxListItems,
1970
+ ys as FormFieldComboboxPositioner,
1971
+ ks as FormFieldComboboxSelectedTags,
1972
+ Ss as FormFieldComboboxTrigger,
1973
+ Os as FormFieldDescription,
1974
+ ms as FormFieldEmail,
1975
+ Ns as FormFieldError,
1976
+ ls as FormFieldFile,
1977
+ ds as FormFieldLabel,
1978
+ bs as FormFieldSelect,
1979
+ _s as FormFieldSelectContent,
1968
1980
  gs as FormFieldSelectIcon,
1969
- As as FormFieldSelectItem,
1981
+ Ps as FormFieldSelectItem,
1970
1982
  Is as FormFieldSelectItemIndicator,
1971
- fs as FormFieldSelectItemText,
1972
- vs as FormFieldSelectTrigger,
1973
- _s as FormFieldSelectValue,
1974
- Ps as FormFieldSelectViewport,
1983
+ As as FormFieldSelectItemText,
1984
+ ps as FormFieldSelectTrigger,
1985
+ vs as FormFieldSelectValue,
1986
+ Fs as FormFieldSelectViewport,
1975
1987
  Ae as FormFieldText,
1976
- us as FormFieldTextArea,
1977
- Vs as FormFooter,
1988
+ hs as FormFieldTextArea,
1989
+ Ws as FormFooter,
1978
1990
  os as FormHeader,
1979
- rs as FormHeading,
1980
- Qs as FormSubmit,
1981
- Us as FormSuccess,
1982
- js as FormSuccessButton,
1983
- Ks as FormSuccessHeading,
1984
- qs as FormSuccessMessage,
1985
- is as FormWrapper,
1986
- Tn as Header,
1987
- xn as HeaderToolbar,
1988
- wn as HeaderToolbarWrapper,
1989
- Dr as HelpActions,
1990
- Wr as HelpActionsMenu,
1991
- Nr as HelpActionsMenuArrow,
1992
- Vr as HelpActionsMenuItem,
1993
- $r as HelpActionsMenuItemIcon,
1994
- Rr as HelpActionsTrigger,
1995
- Go as Input,
1996
- jo as InputFieldset,
1997
- zo as InputGroup,
1998
- oo as IntroMessageWrapper,
1999
- So as Markdown,
2000
- wo as MessageAction,
2001
- po as MessageAttachments,
2002
- _o as MessageAttachmentsItem,
2003
- go as MessageAttachmentsItemIcon,
2004
- Fo as MessageAttachmentsItemTitle,
2005
- vo as MessageAttachmentsList,
2006
- Po as MessageAttachmentsPreview,
2007
- Eo as MessageAttachmentsPreviewBody,
2008
- Mo as MessageAttachmentsPreviewClose,
2009
- fo as MessageAttachmentsPreviewContent,
2010
- Io as MessageAttachmentsPreviewHeader,
2011
- Ao as MessageAttachmentsPreviewOverlay,
2012
- co as MessageAvatar,
2013
- mo as MessageAvatarContent,
2014
- lo as MessageAvatarFallback,
2015
- ho as MessageAvatarImage,
2016
- bo as MessageContent,
2017
- Co as MessageContentWrapper,
2018
- xo as MessageCustomAction,
2019
- To as MessageCustomActions,
2020
- ro as MessageHeader,
2021
- so as MessageLoading,
2022
- uo as MessageName,
2023
- Oo as MessageSourceItem,
2024
- Wo as MessageSourceItemBreadcrumbIcon,
2025
- Ro as MessageSourceItemBreadcrumbs,
2026
- Qo as MessageSourceItemDescription,
2027
- Uo as MessageSourceItemDescriptionPart,
2028
- No as MessageSourceItemIcon,
2029
- Ko as MessageSourceItemIndicator,
2030
- $o as MessageSourceItemTag,
2031
- Vo as MessageSourceItemTitle,
2032
- Ho as MessageSources,
2033
- Lo as MessageSourcesHeader,
2034
- Do as MessageSourcesList,
2035
- yo as MessageToolbar,
2036
- Qt as MessageWrapper,
2037
- Qn as Messages,
2038
- Bo as PrimitiveMessagePart,
2039
- Ys as Provider,
2040
- yn as Root,
2041
- Yo as SendButton,
2042
- Jo as SendButtonIcon,
2043
- Hr as TaglineBrandName,
2044
- Tr as TaglineContainer,
2045
- wr as TaglineLogo,
2046
- xr as TaglineText,
2047
- Dn as ToolbarHeader,
2048
- no as Workflow,
2049
- to as Workflows,
2050
- io as WorkflowsLabel,
2051
- ao as WorkflowsList,
2052
- Bn as Wrapper
1991
+ ns as FormHeading,
1992
+ Us as FormSubmit,
1993
+ $s as FormSuccess,
1994
+ qs as FormSuccessButton,
1995
+ Qs as FormSuccessHeading,
1996
+ Ks as FormSuccessMessage,
1997
+ ts as FormWrapper,
1998
+ To as Header,
1999
+ xo as HeaderToolbar,
2000
+ wo as HeaderToolbarWrapper,
2001
+ Lr as HelpActions,
2002
+ Nr as HelpActionsMenu,
2003
+ Rr as HelpActionsMenuArrow,
2004
+ Wr as HelpActionsMenuItem,
2005
+ Vr as HelpActionsMenuItemIcon,
2006
+ Or as HelpActionsTrigger,
2007
+ Fc as ImagePreviewModal,
2008
+ Pc as ImagePreviewModalClose,
2009
+ Ac as ImagePreviewModalContent,
2010
+ Ic as ImagePreviewModalFileName,
2011
+ fc as ImagePreviewModalFooter,
2012
+ Mc as ImagePreviewModalImage,
2013
+ Ec as ImagePreviewModalOverlay,
2014
+ zn as Input,
2015
+ mc as InputFieldset,
2016
+ jn as InputGroup,
2017
+ lc as InputNotification,
2018
+ hc as InputNotificationClose,
2019
+ uc as InputNotificationContent,
2020
+ Cc as InputNotificationHeader,
2021
+ bc as InputNotificationMessage,
2022
+ pc as InputNotificationTitle,
2023
+ rn as IntroMessageWrapper,
2024
+ Sn as Markdown,
2025
+ wn as MessageAction,
2026
+ pn as MessageAttachments,
2027
+ gn as MessageAttachmentsItem,
2028
+ _n as MessageAttachmentsItemIcon,
2029
+ Fn as MessageAttachmentsItemTitle,
2030
+ vn as MessageAttachmentsList,
2031
+ Pn as MessageAttachmentsPreview,
2032
+ En as MessageAttachmentsPreviewBody,
2033
+ Mn as MessageAttachmentsPreviewClose,
2034
+ In as MessageAttachmentsPreviewContent,
2035
+ fn as MessageAttachmentsPreviewHeader,
2036
+ An as MessageAttachmentsPreviewOverlay,
2037
+ dn as MessageAvatar,
2038
+ mn as MessageAvatarContent,
2039
+ ln as MessageAvatarFallback,
2040
+ hn as MessageAvatarImage,
2041
+ bn as MessageContent,
2042
+ Cn as MessageContentWrapper,
2043
+ xn as MessageCustomAction,
2044
+ Tn as MessageCustomActions,
2045
+ vc as MessageFile,
2046
+ gc as MessageFiles,
2047
+ sn as MessageHeader,
2048
+ cn as MessageLoading,
2049
+ un as MessageName,
2050
+ On as MessageSourceItem,
2051
+ Rn as MessageSourceItemBreadcrumbIcon,
2052
+ Nn as MessageSourceItemBreadcrumbs,
2053
+ $n as MessageSourceItemDescription,
2054
+ Qn as MessageSourceItemDescriptionPart,
2055
+ Wn as MessageSourceItemIcon,
2056
+ Kn as MessageSourceItemIndicator,
2057
+ Un as MessageSourceItemTag,
2058
+ Vn as MessageSourceItemTitle,
2059
+ Hn as MessageSources,
2060
+ Ln as MessageSourcesHeader,
2061
+ Dn as MessageSourcesList,
2062
+ yn as MessageToolbar,
2063
+ $t as MessageWrapper,
2064
+ $o as Messages,
2065
+ Bn as PrimitiveMessagePart,
2066
+ Gs as Provider,
2067
+ yo as Root,
2068
+ Gn as SendButton,
2069
+ Yn as SendButtonIcon,
2070
+ wr as TaglineBrandName,
2071
+ yr as TaglineContainer,
2072
+ xr as TaglineLogo,
2073
+ Tr as TaglineText,
2074
+ Do as ToolbarHeader,
2075
+ nn as Workflow,
2076
+ tn as Workflows,
2077
+ an as WorkflowsLabel,
2078
+ on as WorkflowsList,
2079
+ Bo as Wrapper
2053
2080
  };