@inkeep/agents-ui 0.15.28 → 0.15.30

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 (52) hide show
  1. package/dist/index.cjs +1 -1
  2. package/dist/index.js +156 -158
  3. package/dist/primitives/components/embedded-chat.cjs +4 -4
  4. package/dist/primitives/components/embedded-chat.d.ts +6 -16
  5. package/dist/primitives/components/embedded-chat.js +809 -859
  6. package/dist/primitives/components/embedded-search.cjs +1 -1
  7. package/dist/primitives/components/embedded-search.d.ts +3 -4
  8. package/dist/primitives/components/embedded-search.js +290 -294
  9. package/dist/primitives/components/tagline-logo-icon.cjs +1 -1
  10. package/dist/primitives/components/tagline-logo-icon.js +11 -21
  11. package/dist/primitives/hooks/use-feedback-api.cjs +1 -0
  12. package/dist/primitives/hooks/use-feedback-api.d.ts +19 -0
  13. package/dist/primitives/hooks/use-feedback-api.js +37 -0
  14. package/dist/primitives/index.cjs +1 -1
  15. package/dist/primitives/index.js +134 -137
  16. package/dist/primitives/providers/base-events-provider.cjs +1 -1
  17. package/dist/primitives/providers/base-events-provider.js +1 -1
  18. package/dist/primitives/providers/feedback-provider.cjs +1 -1
  19. package/dist/primitives/providers/feedback-provider.d.ts +1 -1
  20. package/dist/primitives/providers/feedback-provider.js +57 -64
  21. package/dist/primitives/providers/index.cjs +1 -1
  22. package/dist/primitives/providers/index.d.ts +0 -1
  23. package/dist/primitives/providers/index.js +42 -45
  24. package/dist/primitives/utils/component-ids.cjs +1 -1
  25. package/dist/primitives/utils/component-ids.d.ts +2 -10
  26. package/dist/primitives/utils/component-ids.js +2 -6
  27. package/dist/react/embedded-chat.cjs +1 -1
  28. package/dist/react/embedded-chat.js +249 -265
  29. package/dist/react/embedded-search.cjs +1 -1
  30. package/dist/react/embedded-search.js +63 -64
  31. package/dist/react/index.cjs +1 -1
  32. package/dist/react/index.js +156 -158
  33. package/dist/styled/components/embedded-chat.cjs +1 -1
  34. package/dist/styled/components/embedded-chat.d.ts +2 -5
  35. package/dist/styled/components/embedded-chat.js +397 -441
  36. package/dist/styled/components/embedded-search.cjs +1 -1
  37. package/dist/styled/components/embedded-search.d.ts +1 -2
  38. package/dist/styled/components/embedded-search.js +119 -133
  39. package/dist/styled/components/index.cjs +1 -1
  40. package/dist/styled/components/index.js +12 -11
  41. package/dist/styled/components/message.cjs +1 -1
  42. package/dist/styled/components/message.d.ts +20 -0
  43. package/dist/styled/components/message.js +304 -228
  44. package/dist/styled/index.cjs +1 -1
  45. package/dist/styled/index.js +152 -154
  46. package/dist/styled/inkeep.css.cjs +82 -15
  47. package/dist/styled/inkeep.css.js +82 -15
  48. package/dist/types/events.d.ts +3 -17
  49. package/package.json +1 -1
  50. package/dist/primitives/providers/feedback-item-provider.cjs +0 -1
  51. package/dist/primitives/providers/feedback-item-provider.d.ts +0 -10
  52. package/dist/primitives/providers/feedback-item-provider.js +0 -16
@@ -1,59 +1,57 @@
1
1
  "use client";
2
- import { jsx as a, jsxs as Z, Fragment as re } from "react/jsx-runtime";
3
- import G, { memo as S, forwardRef as Q, useRef as w, useState as $, useMemo as ne, useEffect as W, useLayoutEffect as Ce } from "react";
4
- import * as be from "react-dom/client";
5
- import se from "react-textarea-autosize";
6
- import * as J from "@radix-ui/react-avatar";
7
- import * as K from "@radix-ui/react-checkbox";
8
- import * as D from "@radix-ui/react-popover";
9
- import * as q from "@radix-ui/react-tooltip";
2
+ import { jsx as a, jsxs as G, Fragment as ie } from "react/jsx-runtime";
3
+ import j, { memo as I, forwardRef as Q, useRef as D, useState as $, useMemo as oe, useEffect as W, useLayoutEffect as ue } from "react";
4
+ import * as he from "react-dom/client";
5
+ import ae from "react-textarea-autosize";
6
+ import * as Y from "@radix-ui/react-avatar";
7
+ import * as re from "@radix-ui/react-checkbox";
8
+ import * as B from "@radix-ui/react-popover";
9
+ import * as K from "@radix-ui/react-tooltip";
10
10
  import * as U from "@radix-ui/react-scroll-area";
11
- import { ItemText as pe, Trigger as ge, Icon as ve, Content as Fe, Viewport as _e, Item as Pe, ItemIndicator as fe, Root as Ie, Value as Ee } from "../atoms/select.js";
12
- import { ComboboxListItems as Se, ComboboxRoot as Me, ComboboxItemText as ke, ComboboxControl as ye, ComboboxInput as Ae, ComboboxTrigger as xe, ComboboxSelectedTags as Te, ComboboxContent as He, ComboboxPositioner as Le, ComboboxList as we, ComboboxItem as De, ComboboxItemIndicator as Be, ComboboxListEmpty as Ne } from "../atoms/combobox.js";
13
- import { Overlay as Re, Content as Oe, Title as Ve, Close as We, Root as Qe } from "../atoms/dialog.js";
14
- import Ue from "../atoms/avatars/ai.js";
15
- import $e from "../atoms/avatars/user.js";
16
- import { CustomIcon as k } from "../atoms/icons/custom-icon.js";
11
+ import { ItemText as Ce, Trigger as be, Icon as pe, Content as ge, Viewport as ve, Item as Fe, ItemIndicator as _e, Root as Pe, Value as fe } from "../atoms/select.js";
12
+ import { ComboboxListItems as Se, ComboboxRoot as Ee, ComboboxItemText as Ie, ComboboxControl as Me, ComboboxInput as Ae, ComboboxTrigger as ye, ComboboxSelectedTags as ke, ComboboxContent as xe, ComboboxPositioner as Te, ComboboxList as He, ComboboxItem as Le, ComboboxItemIndicator as we, ComboboxListEmpty as De } from "../atoms/combobox.js";
13
+ import { Overlay as Be, Content as Ne, Title as Re, Close as Oe, Root as Ve } from "../atoms/dialog.js";
14
+ import We from "../atoms/avatars/ai.js";
15
+ import Qe from "../atoms/avatars/user.js";
16
+ import { CustomIcon as A } from "../atoms/icons/custom-icon.js";
17
17
  import { BuiltInIconRenderer as N } from "../atoms/icons/built-in-icon-renderer.js";
18
- import { LinkWithQueryParams as Ke } from "../atoms/link.js";
19
- import { Markdown as j } from "../atoms/markdown/index.js";
20
- import { SourceItemProvider as qe, useSourceItem as R } from "../providers/source-item-provider.js";
18
+ import { LinkWithQueryParams as Ue } from "../atoms/link.js";
19
+ import { Markdown as q } from "../atoms/markdown/index.js";
20
+ import { SourceItemProvider as $e, useSourceItem as R } from "../providers/source-item-provider.js";
21
21
  import { useInkeepConfig as p } from "../providers/config-provider.js";
22
- import { useMessageFeedback as X } from "../providers/feedback-provider.js";
23
- import { useMessage as E, MessageProvider as je } from "../providers/message-provider.js";
24
- import { CheckboxIcon as de } from "../atoms/icons/checkbox-icon.js";
25
- import { useCopyToClipboard as Y } from "../hooks/use-copy-to-clipboard.js";
26
- import { FeedbackItemProvider as ze, useFeedbackItem as ee } from "../providers/feedback-item-provider.js";
27
- import { maybeRender as O, dataAttr as g, getInitials as Ge, getMessageContent as ce } from "../utils/misc.js";
22
+ import { useMessageFeedback as Z } from "../providers/feedback-provider.js";
23
+ import { useMessage as E, MessageProvider as Ke } from "../providers/message-provider.js";
24
+ import { CheckboxIcon as qe } from "../atoms/icons/checkbox-icon.js";
25
+ import { useCopyToClipboard as z } from "../hooks/use-copy-to-clipboard.js";
26
+ import { maybeRender as O, dataAttr as g, getInitials as je, getMessageContent as ne } from "../utils/misc.js";
28
27
  import { ikp as i } from "./factory.js";
29
28
  import { useChat as F } from "./embedded-chat/chat-provider.js";
30
- import { ChatProvider as pn } from "./embedded-chat/chat-provider.js";
31
- import Ye from "./tagline-logo-icon.js";
32
- import { useSettleAction as Ze } from "../hooks/use-settle-action.js";
33
- import { useContainerSize as Je } from "../hooks/use-container-size.js";
34
- import { useChatAction as te } from "./embedded-chat/use-chat-action.js";
35
- import { useHelpMenuState as Xe, HelpMenuProvider as et, useHelpMenu as tt } from "../providers/help-menu-provider.js";
36
- import { useChatForm as f } from "../providers/chat-form-provider.js";
37
- import { useFormField as A, FormFieldProvider as it } from "../providers/form-field-provider.js";
38
- import { Controller as ot } from "react-hook-form";
39
- import { highlightEmphasis as at } from "../utils/highlight-emphasis.js";
40
- import { useModal as rt } from "./modal/modal-provider.js";
41
- import { useColorModeValue as nt } from "../../color-mode/index.js";
42
- import { useComposedRefs as ie } from "../utils/compose-refs.js";
29
+ import { ChatProvider as on } from "./embedded-chat/chat-provider.js";
30
+ import { useSettleAction as ze } from "../hooks/use-settle-action.js";
31
+ import { useContainerSize as Ge } from "../hooks/use-container-size.js";
32
+ import { useChatAction as J } from "./embedded-chat/use-chat-action.js";
33
+ import { useHelpMenuState as Ye, HelpMenuProvider as Ze, useHelpMenu as Je } from "../providers/help-menu-provider.js";
34
+ import { useChatForm as P } from "../providers/chat-form-provider.js";
35
+ import { useFormField as k, FormFieldProvider as Xe } from "../providers/form-field-provider.js";
36
+ import { Controller as et } from "react-hook-form";
37
+ import { highlightEmphasis as tt } from "../utils/highlight-emphasis.js";
38
+ import { useModal as it } from "./modal/modal-provider.js";
39
+ import { useColorModeValue as ot } from "../../color-mode/index.js";
40
+ import { useComposedRefs as X } from "../utils/compose-refs.js";
43
41
  import { composeEventHandlers as b } from "../utils/compose-event-handlers.js";
44
- import { useSimpleScroll as st } from "../hooks/use-simple-scroll.js";
45
- import { useDebounce as dt } from "../hooks/use-debounce.js";
46
- import { HoverPopoverProvider as ct, useHoverPopover as me } from "../providers/hover-popover-provider.js";
47
- import { useWidgetAutoFocus as mt } from "./modal/widget-auto-focus.js";
48
- import { useBaseEvents as oe } from "../providers/base-events-provider.js";
49
- import { useShadow as lt } from "../atoms/shadow/context.js";
50
- import { getIcon as ut } from "../utils/get-source-icon.js";
51
- import { ChatHistoryProvider as ht } from "../providers/chat-history-provider.js";
52
- import { EmbeddedChatPrimitiveDropZone as vn, EmbeddedChatPrimitiveFileContent as Fn, EmbeddedChatPrimitiveFileInput as _n, EmbeddedChatPrimitiveFileItem as Pn, EmbeddedChatPrimitiveFileList as fn, EmbeddedChatPrimitiveFileName as In, EmbeddedChatPrimitiveFilePreviewTrigger as En, EmbeddedChatPrimitiveFileRemove as Sn, EmbeddedChatPrimitiveFileRemoveIcon as Mn, EmbeddedChatPrimitiveFileThumbnail as kn, EmbeddedChatPrimitiveFileTypeIcon as yn, EmbeddedChatPrimitiveFileUploadButton as An, EmbeddedChatPrimitiveFileUploadButtonIcon as xn, EmbeddedChatPrimitiveInputFieldset as Tn, EmbeddedChatPrimitiveInputNotification as Hn, EmbeddedChatPrimitiveInputNotificationClose as Ln, EmbeddedChatPrimitiveInputNotificationContent as wn, EmbeddedChatPrimitiveInputNotificationHeader as Dn, EmbeddedChatPrimitiveInputNotificationMessage as Bn, EmbeddedChatPrimitiveInputNotificationTitle as Nn, EmbeddedChatPrimitiveMessageFile as Rn, EmbeddedChatPrimitiveMessageFiles as On } from "./embedded-chat/file-upload-input.js";
53
- import { EmbeddedChatPrimitiveImagePreviewModal as Wn, EmbeddedChatPrimitiveImagePreviewModalClose as Qn, EmbeddedChatPrimitiveImagePreviewModalContent as Un, EmbeddedChatPrimitiveImagePreviewModalFileName as $n, EmbeddedChatPrimitiveImagePreviewModalFooter as Kn, EmbeddedChatPrimitiveImagePreviewModalImage as qn, EmbeddedChatPrimitiveImagePreviewModalOverlay as jn } from "./embedded-chat/image-preview-modal.js";
54
- const Ct = "__intro__", bt = 767, pt = i("div", {
42
+ import { useSimpleScroll as at } from "../hooks/use-simple-scroll.js";
43
+ import { useDebounce as rt } from "../hooks/use-debounce.js";
44
+ import { HoverPopoverProvider as nt, useHoverPopover as se } from "../providers/hover-popover-provider.js";
45
+ import { useWidgetAutoFocus as st } from "./modal/widget-auto-focus.js";
46
+ import { useBaseEvents as ee } from "../providers/base-events-provider.js";
47
+ import { useShadow as dt } from "../atoms/shadow/context.js";
48
+ import { getIcon as ct } from "../utils/get-source-icon.js";
49
+ import { ChatHistoryProvider as mt } from "../providers/chat-history-provider.js";
50
+ import { EmbeddedChatPrimitiveDropZone as rn, EmbeddedChatPrimitiveFileContent as nn, EmbeddedChatPrimitiveFileInput as sn, EmbeddedChatPrimitiveFileItem as dn, EmbeddedChatPrimitiveFileList as cn, EmbeddedChatPrimitiveFileName as mn, EmbeddedChatPrimitiveFilePreviewTrigger as ln, EmbeddedChatPrimitiveFileRemove as un, EmbeddedChatPrimitiveFileRemoveIcon as hn, EmbeddedChatPrimitiveFileThumbnail as Cn, EmbeddedChatPrimitiveFileTypeIcon as bn, EmbeddedChatPrimitiveFileUploadButton as pn, EmbeddedChatPrimitiveFileUploadButtonIcon as gn, EmbeddedChatPrimitiveInputFieldset as vn, EmbeddedChatPrimitiveInputNotification as Fn, EmbeddedChatPrimitiveInputNotificationClose as _n, EmbeddedChatPrimitiveInputNotificationContent as Pn, EmbeddedChatPrimitiveInputNotificationHeader as fn, EmbeddedChatPrimitiveInputNotificationMessage as Sn, EmbeddedChatPrimitiveInputNotificationTitle as En, EmbeddedChatPrimitiveMessageFile as In, EmbeddedChatPrimitiveMessageFiles as Mn } from "./embedded-chat/file-upload-input.js";
51
+ import { EmbeddedChatPrimitiveImagePreviewModal as yn, EmbeddedChatPrimitiveImagePreviewModalClose as kn, EmbeddedChatPrimitiveImagePreviewModalContent as xn, EmbeddedChatPrimitiveImagePreviewModalFileName as Tn, EmbeddedChatPrimitiveImagePreviewModalFooter as Hn, EmbeddedChatPrimitiveImagePreviewModalImage as Ln, EmbeddedChatPrimitiveImagePreviewModalOverlay as wn } from "./embedded-chat/image-preview-modal.js";
52
+ const lt = "__intro__", ut = 767, ht = i("div", {
55
53
  _id: "aiChatWrapper"
56
- }), le = Q(
54
+ }), de = Q(
57
55
  ({
58
56
  chatHistoryLayout: t,
59
57
  isChatHistoryOpen: e,
@@ -67,7 +65,7 @@ const Ct = "__intro__", bt = 767, pt = i("div", {
67
65
  }, [t, r, o]);
68
66
  const c = t === "stack" && e;
69
67
  return /* @__PURE__ */ a(
70
- pt,
68
+ ht,
71
69
  {
72
70
  ref: d,
73
71
  "data-chat-history-layout": t,
@@ -79,61 +77,61 @@ const Ct = "__intro__", bt = 767, pt = i("div", {
79
77
  );
80
78
  }
81
79
  );
82
- le.displayName = "EmbeddedChatWrapperInner";
83
- const Qo = Q((t, e) => {
84
- const { children: o, ...r } = t, { isHidden: n, isMobile: s } = F(), { aiChatSettings: d } = p(), { isChatHistoryButtonVisible: c } = d, [m, l] = Je(), u = ie(e, m), C = l?.width ? l.width > 580 : !0, h = rt(), v = (l?.width ?? 0) > bt ? "sidepane" : "stack";
85
- return /* @__PURE__ */ a(ht, { layout: v, children: ({ isOpen: _, setIsOpen: M }) => /* @__PURE__ */ a(
86
- le,
80
+ de.displayName = "EmbeddedChatWrapperInner";
81
+ const Ho = Q((t, e) => {
82
+ const { children: o, ...r } = t, { isHidden: n, isMobile: s } = F(), { aiChatSettings: d } = p(), { isChatHistoryButtonVisible: c } = d, [m, l] = Ge(), u = X(e, m), h = l?.width ? l.width > 580 : !0, C = it(), v = (l?.width ?? 0) > ut ? "sidepane" : "stack";
83
+ return /* @__PURE__ */ a(mt, { layout: v, children: ({ isOpen: _, setIsOpen: M }) => /* @__PURE__ */ a(
84
+ de,
87
85
  {
88
86
  ref: u,
89
87
  chatHistoryLayout: v,
90
88
  isChatHistoryOpen: _,
91
89
  setChatHistoryOpen: M,
92
90
  isChatHistoryButtonVisible: !!c,
93
- "data-widget-md": g(C),
91
+ "data-widget-md": g(h),
94
92
  "data-hidden": g(n),
95
- "data-in-modal": g(!!h),
93
+ "data-in-modal": g(!!C),
96
94
  "data-mobile": g(s),
97
95
  ...r,
98
96
  children: o
99
97
  }
100
98
  ) });
101
- }), gt = i("div", {
99
+ }), Ct = i("div", {
102
100
  _id: "aiChatRoot"
103
- }), Uo = (t) => {
104
- const { isHidden: e } = F(), { form: o } = f();
105
- return o ? null : /* @__PURE__ */ a(gt, { "data-hidden": g(e), ...t });
106
- }, $o = i("div", {
101
+ }), Lo = (t) => {
102
+ const { isHidden: e } = F(), { form: o } = P();
103
+ return o ? null : /* @__PURE__ */ a(Ct, { "data-hidden": g(e), ...t });
104
+ }, wo = i("div", {
107
105
  _id: "aiChatHeader"
108
- }), Ko = i("div", {
106
+ }), Do = i("div", {
109
107
  _id: "aiChatHeader__Toolbar"
110
- }), qo = i("div", {
108
+ }), Bo = i("div", {
111
109
  _id: "aiChatHeader__ToolbarHeaderWrapper"
112
- }), vt = i(k, {
110
+ }), bt = i(A, {
113
111
  _id: "aiChatHeader__ChatHistoryButtonIcon"
114
- }), jo = S(
115
- (t) => /* @__PURE__ */ a(vt, { ...t })
116
- ), zo = i("button", {
112
+ }), No = I(
113
+ (t) => /* @__PURE__ */ a(bt, { ...t })
114
+ ), Ro = i("button", {
117
115
  _id: "aiChatHeader__ChatHistoryButton"
118
- }), Ft = i("div", {
116
+ }), pt = i("div", {
119
117
  _id: "aiChatHeader__ToolbarHeader"
120
- }), Go = S(
118
+ }), Oo = I(
121
119
  (t) => {
122
120
  const { aiChatSettings: e } = p(), o = `Ask ${e.aiAssistantName || "AI"}`;
123
- return /* @__PURE__ */ a(Ft, { ...t, children: o });
121
+ return /* @__PURE__ */ a(pt, { ...t, children: o });
124
122
  }
125
- ), Yo = i("div", {
123
+ ), Vo = i("div", {
126
124
  _id: "aiChatContent"
127
- }), Zo = i(U.Root, {
125
+ }), Wo = i(U.Root, {
128
126
  _id: "aiChatContentScrollArea"
129
- }), _t = i(U.Viewport, {
127
+ }), gt = i(U.Viewport, {
130
128
  _id: "aiChatContentScrollArea__Viewport"
131
- }), Jo = Q(({ children: t, ...e }, o) => {
132
- const { messages: r, isStreaming: n } = F(), { containerRef: s, scrollToBottom: d, handleScroll: c } = st({ isStreaming: n }), m = ie(o, s);
129
+ }), Qo = Q(({ children: t, ...e }, o) => {
130
+ const { messages: r, isStreaming: n } = F(), { containerRef: s, scrollToBottom: d, handleScroll: c } = at({ isStreaming: n }), m = X(o, s);
133
131
  return W(() => {
134
132
  r.length > 0 && !n && d();
135
133
  }, [r.length, d, n]), /* @__PURE__ */ a(
136
- _t,
134
+ gt,
137
135
  {
138
136
  ref: m,
139
137
  tabIndex: -1,
@@ -146,45 +144,45 @@ const Qo = Q((t, e) => {
146
144
  ...e
147
145
  }
148
146
  );
149
- }), Xo = i(
147
+ }), Uo = i(
150
148
  U.ScrollAreaScrollbar,
151
149
  {
152
150
  _id: "aiChatContentScrollArea__Scrollbar"
153
151
  }
154
- ), ea = i(
152
+ ), $o = i(
155
153
  U.ScrollAreaThumb,
156
154
  {
157
155
  _id: "aiChatContentScrollArea__Thumb"
158
156
  }
159
- ), ta = i(U.Corner, {
157
+ ), Ko = i(U.Corner, {
160
158
  _id: "aiChatContentScrollArea__Corner"
161
- }), Pt = i("div", {
159
+ }), vt = i("div", {
162
160
  _id: "aiChatMessages"
163
- }), ia = (t) => {
161
+ }), qo = (t) => {
164
162
  const e = F(), { children: o, ...r } = t;
165
- return /* @__PURE__ */ a(Pt, { children: O(o, e), ...r });
166
- }, ft = i("div", {
163
+ return /* @__PURE__ */ a(vt, { children: O(o, e), ...r });
164
+ }, Ft = i("div", {
167
165
  _id: "aiChatDisclaimer"
168
- }), oa = S(
166
+ }), jo = I(
169
167
  (t) => {
170
- const { aiChatSettings: e } = p(), [o, r] = $(!1), n = dt(o, 100);
171
- return e.disclaimerSettings?.isEnabled ? /* @__PURE__ */ a(ct, { open: o, setOpen: r, children: /* @__PURE__ */ a(D.Root, { open: n, onOpenChange: r, children: /* @__PURE__ */ a(ft, { ...t }) }) }) : null;
168
+ const { aiChatSettings: e } = p(), [o, r] = $(!1), n = rt(o, 100);
169
+ return e.disclaimerSettings?.isEnabled ? /* @__PURE__ */ a(nt, { open: o, setOpen: r, children: /* @__PURE__ */ a(B.Root, { open: n, onOpenChange: r, children: /* @__PURE__ */ a(Ft, { ...t }) }) }) : null;
172
170
  }
173
- ), It = i("span", {
171
+ ), _t = i("span", {
174
172
  _id: "aiChatDisclaimerLabel"
175
- }), aa = S(
173
+ }), zo = I(
176
174
  (t) => {
177
175
  const { aiChatSettings: e } = p(), o = e.disclaimerSettings;
178
- return /* @__PURE__ */ a(It, { children: o?.label, ...t });
176
+ return /* @__PURE__ */ a(_t, { children: o?.label, ...t });
179
177
  }
180
- ), Et = i(D.Trigger, {
178
+ ), Pt = i(B.Trigger, {
181
179
  _id: "aiChatDisclaimerTrigger",
182
- children: /* @__PURE__ */ a(k, { iconKey: "info" })
183
- }), ra = S(
180
+ children: /* @__PURE__ */ a(A, { iconKey: "info" })
181
+ }), Go = I(
184
182
  (t) => {
185
- const { setOpen: e } = me();
183
+ const { setOpen: e } = se();
186
184
  return /* @__PURE__ */ a(
187
- Et,
185
+ Pt,
188
186
  {
189
187
  onMouseEnter: () => e(!0),
190
188
  onMouseLeave: () => e(!1),
@@ -192,12 +190,12 @@ const Qo = Q((t, e) => {
192
190
  }
193
191
  );
194
192
  }
195
- ), St = i(D.Content, {
193
+ ), ft = i(B.Content, {
196
194
  _id: "aiChatDisclaimerContent"
197
- }), na = (t) => {
198
- const { setOpen: e } = me();
195
+ }), Yo = (t) => {
196
+ const { setOpen: e } = se();
199
197
  return /* @__PURE__ */ a(
200
- St,
198
+ ft,
201
199
  {
202
200
  onMouseEnter: () => e(!0),
203
201
  onMouseLeave: () => e(!1),
@@ -208,57 +206,57 @@ const Qo = Q((t, e) => {
208
206
  ...t
209
207
  }
210
208
  );
211
- }, Mt = i(j, {
209
+ }, St = i(q, {
212
210
  _id: "aiChatDisclaimerText"
213
- }), sa = S(
211
+ }), Zo = I(
214
212
  (t) => {
215
213
  const { aiChatSettings: e } = p(), o = e.aiAssistantName, n = e.disclaimerSettings?.tooltip || `Information provided by ${o || "this AI assistant"} is not guaranteed to be accurate or comprehensive.`;
216
- return /* @__PURE__ */ a(Mt, { shouldOpenLinksInNewTab: !0, children: n, ...t });
214
+ return /* @__PURE__ */ a(St, { shouldOpenLinksInNewTab: !0, children: n, ...t });
217
215
  }
218
- ), da = i(D.Arrow, {
216
+ ), Jo = i(B.Arrow, {
219
217
  _id: "aiChatDisclaimerArrow"
220
- }), kt = i("div", {
218
+ }), Et = i("div", {
221
219
  _id: "aiChatExampleQuestions"
222
- }), ca = (t) => {
220
+ }), Xo = (t) => {
223
221
  const { aiChatSettings: e } = p(), { messages: o } = F();
224
- return !e.exampleQuestions?.length || o.length ? null : /* @__PURE__ */ a(kt, { ...t });
225
- }, yt = i("h3", {
222
+ return !e.exampleQuestions?.length || o.length ? null : /* @__PURE__ */ a(Et, { ...t });
223
+ }, It = i("h3", {
226
224
  _id: "aiChatExampleQuestionsLabel"
227
- }), ma = S(
225
+ }), ea = I(
228
226
  (t) => {
229
227
  const { aiChatSettings: e } = p();
230
- return /* @__PURE__ */ a(yt, { children: e.exampleQuestionsLabel, ...t });
228
+ return /* @__PURE__ */ a(It, { children: e.exampleQuestionsLabel, ...t });
231
229
  }
232
- ), At = i("div", {
230
+ ), Mt = i("div", {
233
231
  _id: "aiChatExampleQuestionsList"
234
- }), la = S(
232
+ }), ta = I(
235
233
  (t) => {
236
234
  const { aiChatSettings: e } = p(), o = e.exampleQuestions, { children: r, ...n } = t;
237
- return /* @__PURE__ */ a(At, { children: O(r, o), ...n });
235
+ return /* @__PURE__ */ a(Mt, { children: O(r, o), ...n });
238
236
  }
239
- ), xt = i("div", {
237
+ ), At = i("div", {
240
238
  _id: "aiChatExampleQuestion"
241
- }), ua = Q((t, e) => {
239
+ }), ia = Q((t, e) => {
242
240
  const { aiChatSettings: o } = p(), r = o.isFirstExampleQuestionHighlighted;
243
- return /* @__PURE__ */ a(xt, { ref: e, "data-highlight": g(r), ...t });
244
- }), Tt = i("button", {
241
+ return /* @__PURE__ */ a(At, { ref: e, "data-highlight": g(r), ...t });
242
+ }), yt = i("button", {
245
243
  _id: "aiChatExampleQuestionButton"
246
- }), ha = (t) => {
244
+ }), oa = (t) => {
247
245
  const { question: e, onClick: o, ...r } = t, n = typeof e == "object" ? e.value : e, s = typeof e == "object" ? e.label : e, { handleSubmit: d } = F();
248
246
  return /* @__PURE__ */ a(
249
- Tt,
247
+ yt,
250
248
  {
251
249
  onClick: b(o, () => d(n)),
252
250
  children: s,
253
251
  ...r
254
252
  }
255
253
  );
256
- }, Ht = i("div", {
254
+ }, kt = i("div", {
257
255
  _id: "aiChatMessageWrapper"
258
- }), Lt = (t) => {
256
+ }), xt = (t) => {
259
257
  const { message: e, ...o } = t;
260
- return e.role === "system" ? null : /* @__PURE__ */ a(je, { message: e, children: /* @__PURE__ */ a(Ht, { "data-role": e.role, ...o }) });
261
- }, Ca = S(
258
+ return e.role === "system" ? null : /* @__PURE__ */ a(Ke, { message: e, children: /* @__PURE__ */ a(kt, { "data-role": e.role, ...o }) });
259
+ }, aa = I(
262
260
  (t) => {
263
261
  const { message: e, ...o } = t, { aiChatSettings: r, baseSettings: n } = p(), s = r.aiAssistantName, d = s ? `Hi, I'm ${s}!` : "Hi!", c = r.chatSubjectName ?? n.organizationDisplayName, m = c ? `
264
262
 
@@ -266,67 +264,67 @@ const Qo = Q((t, e) => {
266
264
 
267
265
  How can I help?`, u = {
268
266
  parts: [{ type: "text", text: r.introMessage ?? `${d}${m}` }],
269
- id: Ct,
267
+ id: lt,
270
268
  ...e,
271
269
  role: "assistant"
272
270
  };
273
- return /* @__PURE__ */ a(Lt, { message: u, ...o });
271
+ return /* @__PURE__ */ a(xt, { message: u, ...o });
274
272
  }
275
- ), wt = i("div", {
273
+ ), Tt = i("div", {
276
274
  _id: "aiChatMessageHeader"
277
- }), ba = (t) => {
275
+ }), ra = (t) => {
278
276
  const { message: e } = E();
279
- return /* @__PURE__ */ a(wt, { "data-role": e.role, ...t });
280
- }, Dt = i("div", {
277
+ return /* @__PURE__ */ a(Tt, { "data-role": e.role, ...t });
278
+ }, Ht = i("div", {
281
279
  _id: "aiChatMessageLoading",
282
280
  children: "Thinking..."
283
- }), pa = (t) => /* @__PURE__ */ a(Dt, { ...t }), Bt = i("div", {
281
+ }), na = (t) => /* @__PURE__ */ a(Ht, { ...t }), Lt = i("div", {
284
282
  _id: "aiChatMessageAvatar"
285
- }), ga = (t) => {
283
+ }), sa = (t) => {
286
284
  const { message: e } = E();
287
- return /* @__PURE__ */ a(Bt, { "data-role": e.role, ...t });
288
- }, Nt = i(J.Root, {
285
+ return /* @__PURE__ */ a(Lt, { "data-role": e.role, ...t });
286
+ }, wt = i(Y.Root, {
289
287
  _id: "aiChatMessageAvatarContent"
290
- }), va = (t) => {
288
+ }), da = (t) => {
291
289
  const { message: e } = E(), { baseSettings: o } = p();
292
290
  return /* @__PURE__ */ a(
293
- Nt,
291
+ wt,
294
292
  {
295
293
  "data-username": g(e.role === "user" && !!o.userProperties.name),
296
294
  "data-role": e.role,
297
295
  ...t
298
296
  }
299
297
  );
300
- }, Rt = i(J.Fallback, {
298
+ }, Dt = i(Y.Fallback, {
301
299
  _id: "aiChatMessageAvatarFallback"
302
- }), Fa = S(
300
+ }), ca = I(
303
301
  (t) => {
304
302
  const { baseSettings: e } = p(), { message: o } = E();
305
303
  return e.userProperties.name ? /* @__PURE__ */ a(
306
- Rt,
304
+ Dt,
307
305
  {
308
306
  "data-role": o.role,
309
- children: Ge(e.userProperties.name),
307
+ children: je(e.userProperties.name),
310
308
  ...t
311
309
  }
312
310
  ) : null;
313
311
  }
314
- ), ae = i(J.Image, {
312
+ ), te = i(Y.Image, {
315
313
  _id: "aiChatMessageAvatarImage"
316
- }), _a = S(
314
+ }), ma = I(
317
315
  (t) => {
318
316
  const { onLoadingStatusChange: e, ...o } = t, {
319
317
  aiChatSettings: r,
320
318
  baseSettings: { userProperties: n }
321
- } = p(), { message: s } = E(), { aiAssistantAvatar: d } = r ?? {}, c = typeof d == "string" ? d : d?.light, m = (typeof d == "string" ? d : d?.dark) ?? c, l = nt(c, m), [u, C] = $(l);
319
+ } = p(), { message: s } = E(), { aiAssistantAvatar: d } = r ?? {}, c = typeof d == "string" ? d : d?.light, m = (typeof d == "string" ? d : d?.dark) ?? c, l = ot(c, m), [u, h] = $(l);
322
320
  W(() => {
323
- C(l);
321
+ h(l);
324
322
  }, [l]);
325
- const h = (v) => {
326
- v === "error" && C(null);
323
+ const C = (v) => {
324
+ v === "error" && h(null);
327
325
  };
328
326
  return s.role === "user" ? n.name ? null : r.userAvatar ? /* @__PURE__ */ a(
329
- ae,
327
+ te,
330
328
  {
331
329
  "data-type": "image",
332
330
  alt: "User avatar",
@@ -335,14 +333,14 @@ const Qo = Q((t, e) => {
335
333
  ...t
336
334
  }
337
335
  ) : /* @__PURE__ */ a(
338
- $e,
336
+ Qe,
339
337
  {
340
338
  "data-type": "icon",
341
339
  "data-role": s.role,
342
340
  ...t
343
341
  }
344
342
  ) : u ? /* @__PURE__ */ a(
345
- ae,
343
+ te,
346
344
  {
347
345
  src: u,
348
346
  alt: "AI assistant avatar",
@@ -350,12 +348,12 @@ const Qo = Q((t, e) => {
350
348
  "data-role": s.role,
351
349
  onLoadingStatusChange: b(
352
350
  e,
353
- h
351
+ C
354
352
  ),
355
353
  ...o
356
354
  }
357
355
  ) : /* @__PURE__ */ a(
358
- Ue,
356
+ We,
359
357
  {
360
358
  "data-type": "icon",
361
359
  "data-role": s.role,
@@ -363,32 +361,32 @@ const Qo = Q((t, e) => {
363
361
  }
364
362
  );
365
363
  }
366
- ), Ot = i("span", {
364
+ ), Bt = i("span", {
367
365
  _id: "aiChatMessageName"
368
- }), Pa = (t) => {
366
+ }), la = (t) => {
369
367
  const { message: e } = E(), { aiChatSettings: o } = p(), { aiAssistantName: r } = o;
370
368
  return /* @__PURE__ */ a(
371
- Ot,
369
+ Bt,
372
370
  {
373
371
  "data-role": e.role,
374
372
  children: e.role === "user" ? "You" : r || "AI assistant",
375
373
  ...t
376
374
  }
377
375
  );
378
- }, Vt = i("div", {
376
+ }, Nt = i("div", {
379
377
  _id: "aiChatMessageContentWrapper"
380
- }), fa = (t) => {
378
+ }), ua = (t) => {
381
379
  const { message: e } = E();
382
- return /* @__PURE__ */ a(Vt, { "data-role": e.role, ...t });
383
- }, Wt = i("div", {
380
+ return /* @__PURE__ */ a(Nt, { "data-role": e.role, ...t });
381
+ }, Rt = i("div", {
384
382
  _id: "aiChatMessageContent"
385
- }), Ia = (t) => {
383
+ }), ha = (t) => {
386
384
  const { message: e } = E();
387
- return /* @__PURE__ */ a(Wt, { "data-role": e.role, ...t });
388
- }, Ea = (t) => {
385
+ return /* @__PURE__ */ a(Rt, { "data-role": e.role, ...t });
386
+ }, Ca = (t) => {
389
387
  const { text: e, componentStyles: o, ...r } = t, { aiChatSettings: n } = p(), { shouldOpenLinksInNewTab: s } = n;
390
388
  return /* @__PURE__ */ a(
391
- j,
389
+ q,
392
390
  {
393
391
  children: e,
394
392
  componentStyles: o,
@@ -396,100 +394,100 @@ const Qo = Q((t, e) => {
396
394
  ...r
397
395
  }
398
396
  );
399
- }, Sa = ({
397
+ }, ba = ({
400
398
  name: t,
401
399
  props: e,
402
400
  componentDef: o
403
401
  }) => {
404
- const n = lt()?.shadowHost, s = w(void 0), d = w(null), c = w(null), m = w(!1), [l, u] = $(!1), [C, h] = $(!1), v = w(o);
405
- ne(() => {
402
+ const n = dt()?.shadowHost, s = D(void 0), d = D(null), c = D(null), m = D(!1), [l, u] = $(!1), [h, C] = $(!1), v = D(o);
403
+ oe(() => {
406
404
  o !== v.current && (typeof o == "function" && typeof v.current == "function" ? o.toString() !== v.current.toString() && (v.current = o) : v.current = o);
407
405
  }, [o]);
408
- const _ = v.current, M = w(e);
406
+ const _ = v.current, M = D(e);
409
407
  M.current = e;
410
- const I = w(null), x = w(_);
411
- x.current !== _ && (I.current = null, x.current = _), W(() => {
408
+ const f = D(null), x = D(_);
409
+ x.current !== _ && (f.current = null, x.current = _), W(() => {
412
410
  s.current || (s.current = `dyn:${t}:${crypto.randomUUID()}`, u(!0));
413
- }, [t]), Ce(() => {
411
+ }, [t]), ue(() => {
414
412
  if (!_ || !n || !l || !s.current)
415
413
  return;
416
- const T = s.current, P = document.createElement("div");
417
- return P.setAttribute("data-ikp-component", ""), P.setAttribute("data-component", t), P.setAttribute("slot", T), d.current = P, m.current = !1, n.appendChild(P), h(!0), () => {
418
- m.current = !0, h(!1), queueMicrotask(() => {
414
+ const T = s.current, S = document.createElement("div");
415
+ return S.setAttribute("data-ikp-component", ""), S.setAttribute("data-component", t), S.setAttribute("slot", T), d.current = S, m.current = !1, n.appendChild(S), C(!0), () => {
416
+ m.current = !0, C(!1), queueMicrotask(() => {
419
417
  try {
420
418
  c.current && (c.current.unmount(), c.current = null);
421
- } catch (B) {
422
- console.debug("Ignoring unmount error:", B);
419
+ } catch (H) {
420
+ console.debug("Ignoring unmount error:", H);
423
421
  }
424
- P.parentNode === n && P.remove(), d.current = null;
422
+ S.parentNode === n && S.remove(), d.current = null;
425
423
  });
426
424
  };
427
425
  }, [_, n, l, t]);
428
426
  const V = (T) => {
429
- const P = d.current;
430
- if (!P || m.current) return;
431
- const B = (L) => {
432
- if (I.current !== null) return I.current;
433
- if (typeof L != "function" || L.length > 1)
434
- return I.current = !1, !1;
427
+ const S = d.current;
428
+ if (!S || m.current) return;
429
+ const H = (w) => {
430
+ if (f.current !== null) return f.current;
431
+ if (typeof w != "function" || w.length > 1)
432
+ return f.current = !1, !1;
435
433
  try {
436
- if (L.constructor === Function) {
437
- const z = L({});
438
- return I.current = G.isValidElement(z), I.current;
434
+ if (w.constructor === Function) {
435
+ const le = w({});
436
+ return f.current = j.isValidElement(le), f.current;
439
437
  }
440
- return I.current = !1, !1;
438
+ return f.current = !1, !1;
441
439
  } catch {
442
- return I.current = !0, !0;
440
+ return f.current = !0, !0;
443
441
  }
444
442
  };
445
443
  let y;
446
- const H = v.current;
447
- if (B(H))
444
+ const L = v.current;
445
+ if (H(L))
448
446
  try {
449
- y = G.createElement(
450
- H,
447
+ y = j.createElement(
448
+ L,
451
449
  T || {}
452
450
  );
453
- } catch (L) {
454
- console.error("Error creating React element from component:", L);
451
+ } catch (w) {
452
+ console.error("Error creating React element from component:", w);
455
453
  return;
456
454
  }
457
- else if (typeof H == "function")
458
- y = H(T || {}, P, null);
455
+ else if (typeof L == "function")
456
+ y = L(T || {}, S, null);
459
457
  else {
460
458
  console.error("Invalid component definition");
461
459
  return;
462
460
  }
463
- if (G.isValidElement(y) || typeof y == "string") {
461
+ if (j.isValidElement(y) || typeof y == "string") {
464
462
  if (m.current) return;
465
- c.current || (c.current = be.createRoot(P)), !m.current && c.current && c.current.render(y);
463
+ c.current || (c.current = he.createRoot(S)), !m.current && c.current && c.current.render(y);
466
464
  return;
467
465
  }
468
466
  c.current && !m.current && c.current.render(null);
469
467
  };
470
468
  return W(() => {
471
469
  V(M.current);
472
- }, [_, C]), W(() => {
470
+ }, [_, h]), W(() => {
473
471
  !c.current || m.current || V(e);
474
472
  }, [e]), /* @__PURE__ */ a("slot", { name: s.current });
475
- }, Ma = i("div", {
473
+ }, pa = i("div", {
476
474
  _id: "aiChatMessagePart"
477
- }), Qt = i("div", {
475
+ }), Ot = i("div", {
478
476
  _id: "aiChatMessageToolbar"
479
- }), ka = (t) => {
477
+ }), ga = (t) => {
480
478
  const { isLoading: e, messages: o } = F(), { message: r } = E();
481
- return o.at(-1)?.id === r?.id && e || r.role === "user" ? null : /* @__PURE__ */ a(Qt, { ...t });
482
- }, Ut = i("div", {
479
+ return o.at(-1)?.id === r?.id && e || r.role === "user" ? null : /* @__PURE__ */ a(Ot, { ...t });
480
+ }, Vt = i("div", {
483
481
  _id: "aiChatMessageCustomActions"
484
- }), ya = (t) => {
482
+ }), va = (t) => {
485
483
  const { children: e, ...o } = t, { aiChatSettings: r } = p(), { message: n } = E(), { isStreaming: s, messages: d } = F(), c = d.at(-1)?.id === n?.id, m = n.role === "assistant", l = r.messageActions || [];
486
- return c && s || !m ? null : /* @__PURE__ */ a(Ut, { children: O(e, l), ...o });
487
- }, $t = i("a", {
484
+ return c && s || !m ? null : /* @__PURE__ */ a(Vt, { children: O(e, l), ...o });
485
+ }, Wt = i("a", {
488
486
  _id: "aiChatMessageCustomAction"
489
- }), Kt = i("button", {
487
+ }), Qt = i("button", {
490
488
  _id: "aiChatMessageCustomAction"
491
- }), Aa = (t) => {
492
- const { onClick: e, action: o, ...r } = t, { message: n } = E(), { handleAction: s } = te(o, n.id), { logEvent: d } = oe(), { conversationId: c } = F(), m = () => {
489
+ }), Fa = (t) => {
490
+ const { onClick: e, action: o, ...r } = t, { message: n } = E(), { handleAction: s } = J(o, n.id), { logEvent: d } = ee(), { conversationId: c } = F(), m = () => {
493
491
  s(), d({
494
492
  eventName: "user_escalation_indicated",
495
493
  properties: {
@@ -497,12 +495,12 @@ const Qo = Q((t, e) => {
497
495
  conversationId: c
498
496
  }
499
497
  });
500
- }, l = o.label, u = /* @__PURE__ */ Z(re, { children: [
498
+ }, l = o.label, u = /* @__PURE__ */ G(ie, { children: [
501
499
  o.icon && /* @__PURE__ */ a(N, { iconSettings: o.icon }),
502
500
  l
503
501
  ] });
504
502
  return o.action.type === "open_link" ? /* @__PURE__ */ a(
505
- $t,
503
+ Wt,
506
504
  {
507
505
  href: o.action.url,
508
506
  target: "_blank",
@@ -513,7 +511,7 @@ const Qo = Q((t, e) => {
513
511
  ...r
514
512
  }
515
513
  ) : /* @__PURE__ */ a(
516
- Kt,
514
+ Qt,
517
515
  {
518
516
  "data-type": o.action.type,
519
517
  onClick: b(e, m),
@@ -521,16 +519,14 @@ const Qo = Q((t, e) => {
521
519
  ...r
522
520
  }
523
521
  );
524
- }, qt = i("button", {
522
+ }, Ut = i("button", {
525
523
  _id: "aiChatMessageAction"
526
- }), xa = (t) => {
527
- const { action: e, onClick: o, className: r, ...n } = t, { conversationId: s } = F(), {
528
- baseSettings: { onFeedback: d }
529
- } = p(), { message: c } = E(), { isStreaming: m, messages: l } = F(), [u, C] = Y(), { feedback: h, submitPositiveFeedback: v, setCurrentFeedback: _, currentFeedback: M } = X(), { logEvent: I } = oe(), [x, V] = Ze(), T = l.at(-1)?.id === c?.id, P = c.role === "assistant";
530
- if (T && m || !P) return null;
531
- const y = {
524
+ }), _a = (t) => {
525
+ const { action: e, onClick: o, className: r, ...n } = t, { conversationId: s } = F(), { message: d } = E(), { isStreaming: c, messages: m } = F(), [l, u] = z(), { feedback: h, submitPositiveFeedback: C, setCurrentFeedback: v, currentFeedback: _ } = Z(), { logEvent: M } = ee(), [f, x] = ze(), V = m.at(-1)?.id === d?.id, T = d.role === "assistant";
526
+ if (V && c || !T) return null;
527
+ const H = {
532
528
  copy() {
533
- C(ce(c)), I({
529
+ u(ne(d)), M({
534
530
  eventName: "assistant_message_copied",
535
531
  properties: {
536
532
  conversationId: s
@@ -538,59 +534,55 @@ const Qo = Q((t, e) => {
538
534
  });
539
535
  },
540
536
  upvote() {
541
- v(c.id).then(() => {
542
- V();
537
+ C(d.id).then(() => {
538
+ x();
543
539
  });
544
540
  },
545
541
  downvote() {
546
- _(c.id);
542
+ v(d.id);
547
543
  }
548
- }, H = {
544
+ }, y = {
549
545
  copy: "Copy Message",
550
546
  upvote: "Upvote Message",
551
547
  downvote: "Downvote Message"
552
548
  }, L = {
553
- copy: /* @__PURE__ */ a(k, { iconKey: u ? "messageCopied" : "messageCopy" }),
554
- upvote: /* @__PURE__ */ a(k, { iconKey: x ? "messageCopied" : "thumbsUp" }),
555
- downvote: /* @__PURE__ */ a(k, { iconKey: "thumbsDown" })
556
- }, z = {
557
- copy: { "data-copied": g(u) },
549
+ copy: /* @__PURE__ */ a(A, { iconKey: l ? "messageCopied" : "messageCopy" }),
550
+ upvote: /* @__PURE__ */ a(A, { iconKey: f ? "messageCopied" : "thumbsUp" }),
551
+ downvote: /* @__PURE__ */ a(A, { iconKey: "thumbsDown" })
552
+ }, w = {
553
+ copy: { "data-copied": g(l) },
558
554
  upvote: {
559
- "data-upvoted": g(h[c.id]?.type === "positive")
555
+ "data-upvoted": g(h[d.id]?.type === "positive")
560
556
  },
561
557
  downvote: {
562
- "data-downvoted": g(h[c.id]?.type === "negative"),
563
- "data-state": M === null ? "closed" : "open"
558
+ "data-downvoted": g(h[d.id]?.type === "negative"),
559
+ "data-state": _ === null ? "closed" : "open"
564
560
  }
565
561
  };
566
- return {
567
- copy: !1,
568
- upvote: !d,
569
- downvote: !d
570
- }[e] ? null : /* @__PURE__ */ a(
571
- qt,
562
+ return /* @__PURE__ */ a(
563
+ Ut,
572
564
  {
573
565
  "data-action": e,
574
- ...z[e],
566
+ ...w[e],
575
567
  children: L[e],
576
- "aria-label": H[e],
568
+ "aria-label": y[e],
577
569
  className: `${r} ${e}`,
578
- onClick: b(o, y[e]),
570
+ onClick: b(o, H[e]),
579
571
  ...n
580
572
  }
581
573
  );
582
- }, jt = i("div", {
574
+ }, $t = i("div", {
583
575
  _id: "aiChatMessageSources"
584
- }), Ta = (t) => {
576
+ }), Pa = (t) => {
585
577
  const { message: e } = E();
586
578
  return e.role !== "assistant" || !e.parts.filter(
587
579
  (r) => r.type === "data-artifact" && r.data?.type?.toLowerCase() === "citation"
588
- )?.length ? null : /* @__PURE__ */ a(jt, { ...t });
589
- }, zt = i("div", {
580
+ )?.length ? null : /* @__PURE__ */ a($t, { ...t });
581
+ }, Kt = i("div", {
590
582
  _id: "aiChatMessageSources__Header"
591
- }), Ha = (t) => /* @__PURE__ */ a(zt, { children: "Sources", ...t }), Gt = i("div", {
583
+ }), fa = (t) => /* @__PURE__ */ a(Kt, { children: "Sources", ...t }), qt = i("div", {
592
584
  _id: "aiChatMessageSources__List"
593
- }), La = (t) => {
585
+ }), Sa = (t) => {
594
586
  const { message: e } = E(), { children: o, ...r } = t, {
595
587
  baseSettings: { transformSource: n, organizationDisplayName: s },
596
588
  aiChatSettings: { shouldOpenLinksInNewTab: d },
@@ -598,37 +590,37 @@ const Qo = Q((t, e) => {
598
590
  } = p();
599
591
  if (e.role !== "assistant") return null;
600
592
  const m = e.parts.filter(
601
- (C) => C.type === "data-artifact" && C.data?.type?.toLowerCase() === "citation"
593
+ (h) => h.type === "data-artifact" && h.data?.type?.toLowerCase() === "citation"
602
594
  );
603
595
  if (!m?.length) return null;
604
- const l = /* @__PURE__ */ new Map(), u = m.filter((C) => {
605
- const h = C.data.artifactSummary.url;
606
- return !h || l.has(h) ? !1 : (l.set(h, !0), !0);
607
- }).map((C) => {
608
- const h = C.data, v = {
609
- id: h?.artifactId,
610
- title: h?.artifactSummary?.title || h?.name,
611
- url: h?.artifactSummary?.url || "",
596
+ const l = /* @__PURE__ */ new Map(), u = m.filter((h) => {
597
+ const C = h.data.artifactSummary.url;
598
+ return !C || l.has(C) ? !1 : (l.set(C, !0), !0);
599
+ }).map((h) => {
600
+ const C = h.data, v = {
601
+ id: C?.artifactId,
602
+ title: C?.artifactSummary?.title || C?.name,
603
+ url: C?.artifactSummary?.url || "",
612
604
  description: "",
613
605
  breadcrumbs: [],
614
- type: h?.artifactSummary?.record_type,
615
- contentType: h?.artifactType,
616
- tag: h?.artifactType
606
+ type: C?.artifactSummary?.record_type,
607
+ contentType: C?.artifactType,
608
+ tag: C?.artifactType
617
609
  }, M = (n ?? ((x) => ({
618
610
  ...x,
619
611
  shouldOpenInNewTab: d,
620
- icon: ut(x)
612
+ icon: ct(x)
621
613
  })))(v, "chatSourceItem", {
622
614
  organizationDisplayName: s,
623
615
  tabs: c
624
- }), I = M.shouldOpenInNewTab !== void 0 ? M.shouldOpenInNewTab : d;
625
- return { ...M, isExternal: I };
616
+ }), f = M.shouldOpenInNewTab !== void 0 ? M.shouldOpenInNewTab : d;
617
+ return { ...M, isExternal: f };
626
618
  });
627
- return /* @__PURE__ */ a(Gt, { children: O(o, u), ...r });
628
- }, Yt = i(Ke, {
619
+ return /* @__PURE__ */ a(qt, { children: O(o, u), ...r });
620
+ }, jt = i(Ue, {
629
621
  _id: "aiChatMessageSourceItem"
630
- }), wa = (t) => {
631
- const { source: e, onClick: o, ...r } = t, { logEvent: n } = oe(), { conversationId: s } = F(), d = () => {
622
+ }), Ea = (t) => {
623
+ const { source: e, onClick: o, ...r } = t, { logEvent: n } = ee(), { conversationId: s } = F(), d = () => {
632
624
  n({
633
625
  eventName: "assistant_source_item_clicked",
634
626
  properties: {
@@ -637,8 +629,8 @@ const Qo = Q((t, e) => {
637
629
  }
638
630
  });
639
631
  };
640
- return /* @__PURE__ */ a(qe, { source: e, children: /* @__PURE__ */ a(
641
- Yt,
632
+ return /* @__PURE__ */ a($e, { source: e, children: /* @__PURE__ */ a(
633
+ jt,
642
634
  {
643
635
  "data-type": e.type,
644
636
  appendToUrl: e.appendToUrl,
@@ -648,47 +640,47 @@ const Qo = Q((t, e) => {
648
640
  ...r
649
641
  }
650
642
  ) });
651
- }, Zt = i("div", {
643
+ }, zt = i("div", {
652
644
  _id: "aiChatMessageSourceItem__Breadcrumbs"
653
- }), Da = (t) => {
645
+ }), Ia = (t) => {
654
646
  const { source: e } = R();
655
- return e.breadcrumbs?.length ? /* @__PURE__ */ a(Zt, { "data-type": e.type, ...t }) : null;
656
- }, Ba = i(k, {
647
+ return e.breadcrumbs?.length ? /* @__PURE__ */ a(zt, { "data-type": e.type, ...t }) : null;
648
+ }, Ma = i(A, {
657
649
  _id: "aiChatMessageSourceItem__BreadcrumbIcon",
658
650
  iconKey: "breadcrumbSeparator"
659
- }), Jt = i(N, {
651
+ }), Gt = i(N, {
660
652
  _id: "aiChatMessageSourceItem__Icon"
661
- }), Na = (t) => {
653
+ }), Aa = (t) => {
662
654
  const { source: e } = R();
663
- return /* @__PURE__ */ a(Jt, { iconSettings: e.icon, "data-type": e.type, ...t });
664
- }, Xt = i("span", {
655
+ return /* @__PURE__ */ a(Gt, { iconSettings: e.icon, "data-type": e.type, ...t });
656
+ }, Yt = i("span", {
665
657
  _id: "aiChatMessageSourceItem__Title"
666
- }), Ra = (t) => {
658
+ }), ya = (t) => {
667
659
  const { source: e } = R();
668
- return /* @__PURE__ */ a(Xt, { "data-type": e.type, children: e.title, ...t });
669
- }, ei = i("span", {
660
+ return /* @__PURE__ */ a(Yt, { "data-type": e.type, children: e.title, ...t });
661
+ }, Zt = i("span", {
670
662
  _id: "aiChatMessageSourceItem__Tag"
671
- }), Oa = (t) => {
663
+ }), ka = (t) => {
672
664
  const { source: e } = R();
673
- return /* @__PURE__ */ a(ei, { "data-type": e.type, ...t });
674
- }, ti = i("span", {
665
+ return /* @__PURE__ */ a(Zt, { "data-type": e.type, ...t });
666
+ }, Jt = i("span", {
675
667
  _id: "aiChatMessageSourceItem__Description"
676
- }), Va = (t) => {
677
- const { source: e } = R(), { children: o, ...r } = t, n = ne(() => e.description ? at(e.description) : [], [e.description]);
668
+ }), xa = (t) => {
669
+ const { source: e } = R(), { children: o, ...r } = t, n = oe(() => e.description ? tt(e.description) : [], [e.description]);
678
670
  return n.length ? /* @__PURE__ */ a(
679
- ti,
671
+ Jt,
680
672
  {
681
673
  "data-type": e.type,
682
674
  children: O(o, n),
683
675
  ...r
684
676
  }
685
677
  ) : null;
686
- }, ii = i("span", {
678
+ }, Xt = i("span", {
687
679
  _id: "aiChatMessageSourceItem__DescriptionPart"
688
- }), Wa = (t) => {
680
+ }), Ta = (t) => {
689
681
  const { part: e, ...o } = t, { source: r } = R();
690
682
  return typeof e == "string" ? e : /* @__PURE__ */ a(
691
- ii,
683
+ Xt,
692
684
  {
693
685
  "data-type": r.type,
694
686
  children: e.content,
@@ -696,33 +688,33 @@ const Qo = Q((t, e) => {
696
688
  ...o
697
689
  }
698
690
  );
699
- }, oi = i(k, {
691
+ }, ei = i(A, {
700
692
  _id: "aiChatMessageSourceItem__Indicator"
701
- }), Qa = (t) => {
693
+ }), Ha = (t) => {
702
694
  const { source: e } = R();
703
695
  return /* @__PURE__ */ a(
704
- oi,
696
+ ei,
705
697
  {
706
698
  iconKey: e.isExternal ? "openLinkInNewTab" : "openLinkInSameTab",
707
699
  ...t
708
700
  }
709
701
  );
710
- }, Ua = i("div", {
702
+ }, La = i("div", {
711
703
  _id: "aiChatFooter"
712
- }), $a = i("div", {
704
+ }), wa = i("div", {
713
705
  _id: "aiChatInput__Group"
714
- }), ai = i("textarea", {
706
+ }), ti = i("textarea", {
715
707
  _id: "aiChatInput"
716
- }), Ka = Q(({ onChange: t, onKeyDown: e, ...o }, r) => {
717
- const { handleInputChange: n, handleInputKeyDown: s, input: d, error: c, shouldAutoFocusInput: m, inputRef: l } = F(), { aiChatSettings: u } = p(), C = ie(
708
+ }), Da = Q(({ onChange: t, onKeyDown: e, ...o }, r) => {
709
+ const { handleInputChange: n, handleInputKeyDown: s, input: d, error: c, shouldAutoFocusInput: m, inputRef: l } = F(), { aiChatSettings: u } = p(), h = X(
718
710
  r,
719
711
  l
720
712
  );
721
- return mt("chat", l, m), /* @__PURE__ */ a(
722
- ai,
713
+ return st("chat", l, m), /* @__PURE__ */ a(
714
+ ti,
723
715
  {
724
716
  asChild: !0,
725
- ref: C,
717
+ ref: h,
726
718
  maxLength: 99999,
727
719
  placeholder: u.placeholder,
728
720
  value: d,
@@ -730,15 +722,15 @@ const Qo = Q((t, e) => {
730
722
  onKeyDown: b(e, s),
731
723
  disabled: !!c || u.isViewOnly,
732
724
  ...o,
733
- children: /* @__PURE__ */ a(se, {})
725
+ children: /* @__PURE__ */ a(ae, {})
734
726
  }
735
727
  );
736
- }), ri = i("button", {
728
+ }), ii = i("button", {
737
729
  _id: "aiChatInput__SendButton"
738
- }), qa = (t) => {
730
+ }), Ba = (t) => {
739
731
  const { handleSubmit: e, isSubmitDisabled: o, error: r } = F(), { aiChatSettings: n } = p(), { onClick: s, ...d } = t;
740
732
  return /* @__PURE__ */ a(
741
- ri,
733
+ ii,
742
734
  {
743
735
  onClick: b(s, () => e()),
744
736
  "aria-label": "Send message",
@@ -746,33 +738,31 @@ const Qo = Q((t, e) => {
746
738
  ...d
747
739
  }
748
740
  );
749
- }, ja = i(k, {
741
+ }, Na = i(A, {
750
742
  _id: "aiChatInput__SendButtonIcon",
751
743
  iconKey: "chatSubmit"
752
- }), za = i("div", {
744
+ }), Ra = i("div", {
753
745
  _id: "aiChatActionBar"
754
- }), Ga = i("div", {
746
+ }), Oa = i("div", {
755
747
  _id: "aiChat__ChatActions"
756
- }), Ya = i("div", {
748
+ }), Va = i("div", {
757
749
  _id: "aiChatTagline__Container"
758
- }), Za = i("span", {
750
+ }), Wa = i("span", {
759
751
  _id: "aiChatTagline__Text",
760
752
  children: "Powered by"
761
- }), Ja = i(Ye, {
762
- _id: "aiChatTagline__Logo"
763
- }), Xa = i("a", {
764
- _id: "aiChatTagline__BrandName",
765
- children: "inkeep",
753
+ }), Qa = i("a", {
754
+ _id: "aiChatTagline__Logo",
766
755
  href: "https://www.inkeep.com/",
767
756
  target: "_blank",
768
- rel: "noopener noreferrer"
769
- }), ni = i(q.Trigger, {
757
+ rel: "noopener noreferrer",
758
+ "aria-label": "Inkeep"
759
+ }), oi = i(K.Trigger, {
770
760
  _id: "aiChat__ChatAction"
771
- }), ue = (t) => {
772
- const { action: e, onClick: o, className: r, ...n } = t, { clear: s, stop: d, isBusy: c, messages: m } = F(), { conversationId: l } = F(), { aiChatSettings: u } = p(), [C, h] = Y(), [
761
+ }), ce = (t) => {
762
+ const { action: e, onClick: o, className: r, ...n } = t, { clear: s, stop: d, isBusy: c, messages: m } = F(), { conversationId: l } = F(), { aiChatSettings: u } = p(), [h, C] = z(), [
773
763
  v
774
764
  /* copyShareUri */
775
- ] = Y(), _ = m.length > 0;
765
+ ] = z(), _ = m.length > 0;
776
766
  if ({
777
767
  help: !1,
778
768
  copy: !_ || !u.isCopyChatButtonVisible || c,
@@ -785,40 +775,40 @@ const Qo = Q((t, e) => {
785
775
  help: () => {
786
776
  },
787
777
  copy: () => {
788
- const P = m.map((B) => {
789
- const y = `**${B.role === "assistant" ? "AI Assistant" : "User"}**`, H = ce(B);
778
+ const S = m.map((H) => {
779
+ const y = `**${H.role === "assistant" ? "AI Assistant" : "User"}**`, L = ne(H);
790
780
  return `${y}
791
781
 
792
- ${H}`;
782
+ ${L}`;
793
783
  }).join(`
794
784
 
795
785
  ---
796
786
 
797
787
  `);
798
- h(P);
788
+ C(S);
799
789
  },
800
790
  share: async () => {
801
791
  },
802
792
  clear: s,
803
793
  stop: d
804
794
  }, T = {
805
- copy: C,
795
+ copy: h,
806
796
  share: v
807
797
  };
808
- return /* @__PURE__ */ a(q.Tooltip, { delayDuration: 0, open: T[e], children: /* @__PURE__ */ a(
809
- ni,
798
+ return /* @__PURE__ */ a(K.Tooltip, { delayDuration: 0, open: T[e], children: /* @__PURE__ */ a(
799
+ oi,
810
800
  {
811
801
  "data-type": e,
812
- "data-copied": g(C || v),
802
+ "data-copied": g(h || v),
813
803
  className: `${r} ${e}`,
814
- children: /* @__PURE__ */ a(di, { action: e }),
804
+ children: /* @__PURE__ */ a(ri, { action: e }),
815
805
  onClick: b(o, V[e]),
816
806
  ...n
817
807
  }
818
808
  ) });
819
- }, si = i("span", {
809
+ }, ai = i("span", {
820
810
  _id: "aiChat__ChatActionLabel"
821
- }), di = (t) => {
811
+ }), ri = (t) => {
822
812
  const { action: e, ...o } = t, { aiChatSettings: r } = p(), n = r.toolbarButtonLabels ?? {}, s = {
823
813
  help: n.getHelp ?? "Get Help",
824
814
  copy: n.copyChat ?? "Copy",
@@ -826,33 +816,33 @@ ${H}`;
826
816
  clear: n.clear ?? "Clear",
827
817
  stop: n.stop ?? "Stop"
828
818
  };
829
- return /* @__PURE__ */ a(si, { children: s[e], ...o });
830
- }, ci = i(q.TooltipContent, {
819
+ return /* @__PURE__ */ a(ai, { children: s[e], ...o });
820
+ }, ni = i(K.TooltipContent, {
831
821
  _id: "aiChat__ChatActionFeeback"
832
- }), er = (t) => {
822
+ }), Ua = (t) => {
833
823
  const { action: e, children: o, ...r } = t, n = {
834
824
  copy: "Copied!",
835
825
  share: "Link copied!"
836
826
  };
837
- return /* @__PURE__ */ Z(ci, { sideOffset: 5, ...r, children: [
838
- /* @__PURE__ */ a(q.Arrow, {}),
827
+ return /* @__PURE__ */ G(ni, { sideOffset: 5, ...r, children: [
828
+ /* @__PURE__ */ a(K.Arrow, {}),
839
829
  o || n[e]
840
830
  ] });
841
- }, mi = i(D.Root, {
831
+ }, si = i(B.Root, {
842
832
  _id: "aiChatHelpActions"
843
- }), tr = (t) => {
833
+ }), $a = (t) => {
844
834
  const { children: e, ...o } = t, { aiChatSettings: r } = p(), { getHelpOptions: n } = r;
845
835
  if (!n || (n ?? []).length === 0)
846
836
  return null;
847
837
  const { _pinned: s, _unpinned: d } = n.reduce(
848
- (u, C) => {
849
- const h = C.isPinnedToToolbar ? "_pinned" : "_unpinned";
850
- return { ...u, [h]: [...u[h], C] };
838
+ (u, h) => {
839
+ const C = h.isPinnedToToolbar ? "_pinned" : "_unpinned";
840
+ return { ...u, [C]: [...u[C], h] };
851
841
  },
852
842
  { _pinned: [], _unpinned: [] }
853
- ), c = d.length === 1 ? [...s, d[0]] : s, m = d.length === 1 ? [] : d, l = Xe();
854
- return /* @__PURE__ */ a(et, { value: l, children: /* @__PURE__ */ a(
855
- mi,
843
+ ), c = d.length === 1 ? [...s, d[0]] : s, m = d.length === 1 ? [] : d, l = Ye();
844
+ return /* @__PURE__ */ a(Ze, { value: l, children: /* @__PURE__ */ a(
845
+ si,
856
846
  {
857
847
  open: l.open,
858
848
  onOpenChange: l.setOpen,
@@ -860,15 +850,15 @@ ${H}`;
860
850
  ...o
861
851
  }
862
852
  ) });
863
- }, li = i(ue, {
853
+ }, di = i(ce, {
864
854
  _id: "aiChatHelpAction",
865
855
  action: "help"
866
- }), ui = i("a", {
856
+ }), ci = i("a", {
867
857
  _id: "aiChatHelpAction",
868
858
  target: "_blank",
869
859
  rel: "noreferrer"
870
- }), ir = (t) => {
871
- const { action: e, onClick: o, ...r } = t, { handleAction: n, logHelpAction: s } = te(e), d = e.action.type, c = {
860
+ }), Ka = (t) => {
861
+ const { action: e, onClick: o, ...r } = t, { handleAction: n, logHelpAction: s } = J(e), d = e.action.type, c = {
872
862
  "aria-label": e.name,
873
863
  "data-name": e.name,
874
864
  children: e.name,
@@ -878,18 +868,18 @@ ${H}`;
878
868
  // biome-ignore lint/suspicious/noExplicitAny: <explanation>
879
869
  ...r
880
870
  };
881
- return d === "open_link" ? /* @__PURE__ */ a(ui, { href: e.action.url, ...c }) : /* @__PURE__ */ a(li, { ...c });
882
- }, hi = i(D.Trigger, {
871
+ return d === "open_link" ? /* @__PURE__ */ a(ci, { href: e.action.url, ...c }) : /* @__PURE__ */ a(di, { ...c });
872
+ }, mi = i(B.Trigger, {
883
873
  _id: "aiChatHelpActions__Trigger"
884
- }), or = S(
874
+ }), qa = I(
885
875
  (t) => {
886
876
  const { aiChatSettings: e } = p();
887
- return /* @__PURE__ */ a(ue, { action: "help", ...t, asChild: !0, children: /* @__PURE__ */ a(hi, { children: e.toolbarButtonLabels?.getHelp ?? "Get Help" }) });
877
+ return /* @__PURE__ */ a(ce, { action: "help", ...t, asChild: !0, children: /* @__PURE__ */ a(mi, { children: e.toolbarButtonLabels?.getHelp ?? "Get Help" }) });
888
878
  }
889
- ), Ci = i(D.Content, {
879
+ ), li = i(B.Content, {
890
880
  _id: "aiChatHelpActions__Menu"
891
- }), ar = (t) => /* @__PURE__ */ a(
892
- Ci,
881
+ }), ja = (t) => /* @__PURE__ */ a(
882
+ li,
893
883
  {
894
884
  side: "top",
895
885
  sideOffset: 8,
@@ -897,10 +887,10 @@ ${H}`;
897
887
  alignOffset: -10,
898
888
  ...t
899
889
  }
900
- ), rr = i(D.Arrow, {
890
+ ), za = i(B.Arrow, {
901
891
  _id: "aiChatHelpActions__MenuArrow"
902
- }), nr = (t) => {
903
- const { action: e, onClick: o, ...r } = t, { handleAction: n, logHelpAction: s } = te(e), { setOpen: d } = tt(), c = () => {
892
+ }), Ga = (t) => {
893
+ const { action: e, onClick: o, ...r } = t, { handleAction: n, logHelpAction: s } = J(e), { setOpen: d } = Je(), c = () => {
904
894
  n({
905
895
  onOpenForm: () => d(!1)
906
896
  }), s();
@@ -918,106 +908,72 @@ ${H}`;
918
908
  onClick: b(o, c)
919
909
  });
920
910
  return /* @__PURE__ */ a(l, { ...r });
921
- }, bi = i(N, {
911
+ }, ui = i(N, {
922
912
  _id: "aiChatHelpActions_MenuItemIcon"
923
- }), sr = (t) => {
913
+ }), Ya = (t) => {
924
914
  const { action: e, ...o } = t;
925
- return e.icon ? /* @__PURE__ */ a(bi, { iconSettings: e.icon, ...o }) : null;
926
- }, pi = i(Qe, {
915
+ return e.icon ? /* @__PURE__ */ a(ui, { iconSettings: e.icon, ...o }) : null;
916
+ }, hi = i(Ve, {
927
917
  _id: "aiChatFeedbackModal"
928
- }), dr = (t) => {
929
- const { onOpenChange: e, ...o } = t, { currentFeedback: r, setCurrentFeedback: n } = X();
918
+ }), Za = (t) => {
919
+ const { onOpenChange: e, ...o } = t, { currentFeedback: r, setCurrentFeedback: n } = Z();
930
920
  return /* @__PURE__ */ a(
931
- pi,
921
+ hi,
932
922
  {
933
923
  open: r !== null,
934
924
  onOpenChange: b(e, () => n(null)),
935
925
  ...o
936
926
  }
937
927
  );
938
- }, cr = i(Re, {
928
+ }, Ja = i(Be, {
939
929
  _id: "aiChatFeedbackModal__Overlay"
940
- }), mr = i(Oe, {
930
+ }), Xa = i(Ne, {
941
931
  _id: "aiChatFeedbackModal__Content",
942
932
  "aria-describedby": void 0
943
- }), lr = i(Ve, {
933
+ }), er = i(Re, {
944
934
  _id: "aiChatFeedbackModal__Header",
945
- children: "Help improve my answers!"
946
- }), ur = i(We, {
935
+ children: "Feedback"
936
+ }), tr = i(Oe, {
947
937
  _id: "aiChatFeedbackModal__Close",
948
- children: /* @__PURE__ */ a(k, { iconKey: "close" })
949
- }), hr = i("div", {
938
+ children: /* @__PURE__ */ a(A, { iconKey: "close" })
939
+ }), ir = i("div", {
950
940
  _id: "aiChatFeedbackModal__Body"
951
- }), gi = i("form", {
941
+ }), Ci = i("form", {
952
942
  _id: "aiChatFeedbackForm"
953
- }), Cr = (t) => {
954
- const { onSubmit: e, ...o } = t, { submitNegativeFeedback: r, currentFeedback: n, setCurrentFeedback: s } = X();
955
- return /* @__PURE__ */ a(gi, { onSubmit: b(e, (c) => {
943
+ }), or = (t) => {
944
+ const { onSubmit: e, ...o } = t, { submitNegativeFeedback: r, currentFeedback: n, setCurrentFeedback: s } = Z();
945
+ return /* @__PURE__ */ a(Ci, { onSubmit: b(e, (c) => {
956
946
  c.preventDefault();
957
- const m = c.target, l = new FormData(m), u = Object.fromEntries(l.entries());
958
- n && (r(n, u), s(null));
947
+ const m = c.target, u = new FormData(m).get("details");
948
+ n && (r(n, u ?? void 0), s(null));
959
949
  }), ...o });
960
- }, vi = i("div", {
961
- _id: "aiChatFeedbackItem"
962
- }), br = (t) => {
963
- const { name: e, ...o } = t;
964
- return /* @__PURE__ */ a(ze, { name: e, children: /* @__PURE__ */ a(vi, { ...o }) });
965
- }, Fi = i(K.Root, {
966
- _id: "aiChatFeedbackItem__Checkbox"
967
- }), pr = (t) => {
968
- const { name: e, focusItem: o } = ee(), { onCheckedChange: r, ...n } = t, s = (d) => {
969
- d && o?.current?.focus();
970
- };
971
- return /* @__PURE__ */ a(
972
- Fi,
973
- {
974
- id: `feedback-${e}`,
975
- name: e,
976
- onCheckedChange: b(r, s),
977
- ...n
978
- }
979
- );
980
- }, gr = i(K.Indicator, {
981
- _id: "aiChatFeedbackItem__CheckboxIndicator",
982
- children: /* @__PURE__ */ a(de, {})
983
- }), _i = i("label", {
984
- _id: "aiChatFeedbackItem__Label"
985
- }), vr = (t) => {
986
- const { name: e } = ee(), o = {
987
- unrelated_response: "Didn't answer my question",
988
- inaccurate_statement: "Inaccurate statement",
989
- inaccurate_code_snippet: "Inaccurate code snippet",
990
- irrelevant_citations: "Irrelevant citations"
991
- };
992
- return /* @__PURE__ */ a(_i, { htmlFor: `feedback-${e}`, children: o[e], ...t });
993
- }, Pi = i("textarea", {
950
+ }, ar = i("div", {
951
+ _id: "aiChatFeedbackForm__Field"
952
+ }), rr = i("label", {
953
+ _id: "aiChatFeedbackItem__Label",
954
+ children: "Please provide details",
955
+ htmlFor: "feedback-details"
956
+ }), nr = i("textarea", {
994
957
  _id: "aiChatFeedbackItem__Description",
995
- placeholder: "Please describe"
996
- }), Fr = (t) => {
997
- const { name: e, focusItem: o } = ee();
998
- return /* @__PURE__ */ a(
999
- Pi,
1000
- {
1001
- ref: o,
1002
- name: `${e}:description`,
1003
- ...t
1004
- }
1005
- );
1006
- }, _r = i("button", {
958
+ placeholder: "What didn't you like about this response?",
959
+ name: "details",
960
+ id: "feedback-details",
961
+ autoFocus: !0
962
+ }), sr = i("button", {
1007
963
  _id: "aiChatFeedbackForm__SubmitButton",
1008
964
  children: "Submit",
1009
965
  type: "submit"
1010
- }), fi = i("div", {
966
+ }), bi = i("div", {
1011
967
  _id: "aiChatForm__Wrapper"
1012
- }), Pr = (t) => {
1013
- const { form: e } = f();
1014
- return e ? /* @__PURE__ */ a(fi, { ...t }) : null;
1015
- }, Ii = i("form", {
968
+ }), dr = (t) => {
969
+ const { form: e } = P();
970
+ return e ? /* @__PURE__ */ a(bi, { ...t }) : null;
971
+ }, pi = i("form", {
1016
972
  _id: "aiChatForm"
1017
- }), fr = (t) => {
1018
- const { onSubmit: e, ...o } = t, { conversationId: r, messages: n } = F(), { handleSubmit: s, isSuccess: d } = f();
973
+ }), cr = (t) => {
974
+ const { onSubmit: e, ...o } = t, { conversationId: r, messages: n } = F(), { handleSubmit: s, isSuccess: d } = P();
1019
975
  return d ? null : /* @__PURE__ */ a(
1020
- Ii,
976
+ pi,
1021
977
  {
1022
978
  onSubmit: b(
1023
979
  e,
@@ -1026,35 +982,35 @@ ${H}`;
1026
982
  ...o
1027
983
  }
1028
984
  );
1029
- }, Ei = i("button", {
985
+ }, gi = i("button", {
1030
986
  _id: "aiChatForm__Close",
1031
- children: /* @__PURE__ */ a(k, { iconKey: "close" })
1032
- }), Ir = (t) => {
1033
- const { onClick: e, ...o } = t, { closeForm: r } = f();
1034
- return /* @__PURE__ */ a(Ei, { onClick: b(e, r), ...o });
1035
- }, Er = i("div", {
987
+ children: /* @__PURE__ */ a(A, { iconKey: "close" })
988
+ }), mr = (t) => {
989
+ const { onClick: e, ...o } = t, { closeForm: r } = P();
990
+ return /* @__PURE__ */ a(gi, { onClick: b(e, r), ...o });
991
+ }, lr = i("div", {
1036
992
  _id: "aiChatForm__Header"
1037
- }), Si = i("h2", {
993
+ }), vi = i("h2", {
1038
994
  _id: "aiChatForm__Heading"
1039
- }), Sr = (t) => {
1040
- const { form: e } = f();
1041
- return e?.heading ? /* @__PURE__ */ a(Si, { children: e.heading, ...t }) : null;
1042
- }, Mi = i(j, {
995
+ }), ur = (t) => {
996
+ const { form: e } = P();
997
+ return e?.heading ? /* @__PURE__ */ a(vi, { children: e.heading, ...t }) : null;
998
+ }, Fi = i(q, {
1043
999
  _id: "aiChatForm__Description"
1044
- }), Mr = (t) => {
1045
- const { form: e } = f();
1046
- return e?.description ? /* @__PURE__ */ a(Mi, { shouldOpenLinksInNewTab: !0, children: e.description, ...t }) : null;
1047
- }, ki = i("div", {
1000
+ }), hr = (t) => {
1001
+ const { form: e } = P();
1002
+ return e?.description ? /* @__PURE__ */ a(Fi, { shouldOpenLinksInNewTab: !0, children: e.description, ...t }) : null;
1003
+ }, _i = i("div", {
1048
1004
  _id: "aiChatForm__Content"
1049
- }), kr = (t) => {
1050
- const { children: e, ...o } = t, { getFields: r } = f(), { conversationId: n } = F(), s = r(n) || [];
1051
- return /* @__PURE__ */ a(ki, { children: O(e, s), ...o });
1052
- }, yi = i("div", {
1005
+ }), Cr = (t) => {
1006
+ const { children: e, ...o } = t, { getFields: r } = P(), { conversationId: n } = F(), s = r(n) || [];
1007
+ return /* @__PURE__ */ a(_i, { children: O(e, s), ...o });
1008
+ }, Pi = i("div", {
1053
1009
  _id: "aiChatForm__Field"
1054
- }), yr = (t) => {
1055
- const { field: e, autoFocus: o, ...r } = t, { control: n, errors: s } = f();
1010
+ }), br = (t) => {
1011
+ const { field: e, autoFocus: o, ...r } = t, { control: n, errors: s } = P();
1056
1012
  return /* @__PURE__ */ a(
1057
- ot,
1013
+ et,
1058
1014
  {
1059
1015
  name: e.name,
1060
1016
  control: n,
@@ -1062,14 +1018,14 @@ ${H}`;
1062
1018
  render: ({ field: d }) => {
1063
1019
  const c = d.value !== void 0 || e.inputType === "file";
1064
1020
  return /* @__PURE__ */ a(
1065
- it,
1021
+ Xe,
1066
1022
  {
1067
1023
  "data-invalid": g(!!s[e.name]),
1068
1024
  field: e,
1069
1025
  fieldProps: d,
1070
1026
  autoFocus: o,
1071
1027
  children: c && /* @__PURE__ */ a(
1072
- yi,
1028
+ Pi,
1073
1029
  {
1074
1030
  "data-input-type": e.inputType,
1075
1031
  "data-hidden": g(e.isHidden),
@@ -1081,12 +1037,12 @@ ${H}`;
1081
1037
  }
1082
1038
  }
1083
1039
  );
1084
- }, Ai = i("label", {
1040
+ }, fi = i("label", {
1085
1041
  _id: "aiChatForm__FieldLabel"
1086
- }), Ar = (t) => {
1087
- const { field: e } = A();
1042
+ }), pr = (t) => {
1043
+ const { field: e } = k();
1088
1044
  return /* @__PURE__ */ a(
1089
- Ai,
1045
+ fi,
1090
1046
  {
1091
1047
  "data-required": g(e.isRequired),
1092
1048
  htmlFor: e.name,
@@ -1094,18 +1050,18 @@ ${H}`;
1094
1050
  ...t
1095
1051
  }
1096
1052
  );
1097
- }, xi = i("input", {
1053
+ }, Si = i("input", {
1098
1054
  _id: "aiChatForm__FieldText",
1099
1055
  type: "text"
1100
- }), he = (t) => {
1056
+ }), me = (t) => {
1101
1057
  const {
1102
1058
  field: e,
1103
1059
  error: o,
1104
1060
  fieldProps: { onChange: r, onBlur: n, ...s },
1105
1061
  autoFocus: d
1106
- } = A(), { onChange: c, onBlur: m, ...l } = t;
1062
+ } = k(), { onChange: c, onBlur: m, ...l } = t;
1107
1063
  return /* @__PURE__ */ a(
1108
- xi,
1064
+ Si,
1109
1065
  {
1110
1066
  id: e.name,
1111
1067
  autoFocus: d,
@@ -1117,25 +1073,25 @@ ${H}`;
1117
1073
  ...l
1118
1074
  }
1119
1075
  );
1120
- }, xr = i(he, {
1076
+ }, gr = i(me, {
1121
1077
  _id: "aiChatForm__FieldEmail",
1122
1078
  type: "email"
1123
- }), Ti = i("input", {
1079
+ }), Ei = i("input", {
1124
1080
  _id: "aiChatForm__FieldFile",
1125
1081
  type: "file",
1126
1082
  multiple: !0
1127
- }), Tr = (t) => {
1083
+ }), vr = (t) => {
1128
1084
  const {
1129
1085
  field: e,
1130
1086
  error: o,
1131
1087
  fieldProps: { value: r, onChange: n, onBlur: s, ...d },
1132
1088
  autoFocus: c
1133
- } = A(), { onChange: m, onBlur: l, ...u } = t, C = (h) => {
1134
- const v = h.target.files;
1089
+ } = k(), { onChange: m, onBlur: l, ...u } = t, h = (C) => {
1090
+ const v = C.target.files;
1135
1091
  n(v);
1136
1092
  };
1137
1093
  return /* @__PURE__ */ a(
1138
- Ti,
1094
+ Ei,
1139
1095
  {
1140
1096
  id: e.name,
1141
1097
  autoFocus: c,
@@ -1143,21 +1099,21 @@ ${H}`;
1143
1099
  "data-invalid": g(!!o),
1144
1100
  ...u,
1145
1101
  ...d,
1146
- onChange: b(m, C),
1102
+ onChange: b(m, h),
1147
1103
  onBlur: b(l, s)
1148
1104
  }
1149
1105
  );
1150
- }, Hr = i(he, {
1106
+ }, Fr = i(me, {
1151
1107
  _id: "aiChatForm__FieldTextArea",
1152
1108
  type: "textarea",
1153
1109
  asChild: !0,
1154
- children: /* @__PURE__ */ a(se, { maxRows: 8 })
1155
- }), Hi = i(K.Root, {
1110
+ children: /* @__PURE__ */ a(ae, { maxRows: 8 })
1111
+ }), Ii = i(re.Root, {
1156
1112
  _id: "aiChatForm__FieldCheckbox"
1157
- }), Lr = (t) => {
1158
- const { field: e, error: o, fieldProps: r, autoFocus: n } = A(), { onCheckedChange: s, ...d } = t;
1113
+ }), _r = (t) => {
1114
+ const { field: e, error: o, fieldProps: r, autoFocus: n } = k(), { onCheckedChange: s, ...d } = t;
1159
1115
  return /* @__PURE__ */ a(
1160
- Hi,
1116
+ Ii,
1161
1117
  {
1162
1118
  id: e.name,
1163
1119
  name: e.name,
@@ -1168,15 +1124,15 @@ ${H}`;
1168
1124
  ...d
1169
1125
  }
1170
1126
  );
1171
- }, wr = i(K.Indicator, {
1127
+ }, Pr = i(re.Indicator, {
1172
1128
  _id: "aiChatForm__FieldCheckboxIndicator",
1173
- children: /* @__PURE__ */ a(de, {})
1174
- }), Li = i(Ie, {
1129
+ children: /* @__PURE__ */ a(qe, {})
1130
+ }), Mi = i(Pe, {
1175
1131
  _id: "aiChatForm__FieldSelect"
1176
- }), Dr = (t) => {
1177
- const { field: e, error: o, fieldProps: r } = A(), { onValueChange: n, ...s } = t;
1132
+ }), fr = (t) => {
1133
+ const { field: e, error: o, fieldProps: r } = k(), { onValueChange: n, ...s } = t;
1178
1134
  return /* @__PURE__ */ a(
1179
- Li,
1135
+ Mi,
1180
1136
  {
1181
1137
  name: e.name,
1182
1138
  "data-invalid": g(!!o),
@@ -1185,43 +1141,43 @@ ${H}`;
1185
1141
  ...s
1186
1142
  }
1187
1143
  );
1188
- }, Br = i(ge, {
1144
+ }, Sr = i(be, {
1189
1145
  _id: "aiChatForm__FieldSelect__Trigger"
1190
- }), wi = i(Ee, {
1146
+ }), Ai = i(fe, {
1191
1147
  _id: "aiChatForm__FieldSelect__Value"
1192
- }), Nr = (t) => {
1193
- const { field: e } = A();
1148
+ }), Er = (t) => {
1149
+ const { field: e } = k();
1194
1150
  return /* @__PURE__ */ a(
1195
- wi,
1151
+ Ai,
1196
1152
  {
1197
1153
  placeholder: "placeholder" in e ? e.placeholder : void 0,
1198
1154
  ...t
1199
1155
  }
1200
1156
  );
1201
- }, Rr = i(ve, {
1157
+ }, Ir = i(pe, {
1202
1158
  _id: "aiChatForm__FieldSelect__Icon",
1203
1159
  asChild: !0,
1204
1160
  children: /* @__PURE__ */ a(N, { iconSettings: { builtIn: "LuChevronDown" } })
1205
- }), Or = i(Fe, {
1161
+ }), Mr = i(ge, {
1206
1162
  _id: "aiChatForm__FieldSelect__Content",
1207
1163
  position: "popper"
1208
- }), Vr = i(_e, {
1164
+ }), Ar = i(ve, {
1209
1165
  _id: "aiChatForm__FieldSelect__Viewport"
1210
- }), Wr = i(Pe, {
1166
+ }), yr = i(Fe, {
1211
1167
  _id: "aiChatForm__FieldSelect__Item"
1212
- }), Qr = i(pe, {
1168
+ }), kr = i(Ce, {
1213
1169
  _id: "aiChatForm__FieldSelect__ItemText"
1214
- }), Ur = i(
1215
- fe,
1170
+ }), xr = i(
1171
+ _e,
1216
1172
  {
1217
1173
  _id: "aiChatForm__FieldSelect__ItemIndicator",
1218
1174
  asChild: !0,
1219
1175
  children: /* @__PURE__ */ a(N, { iconSettings: { builtIn: "LuCheck" } })
1220
1176
  }
1221
- ), $r = (t) => {
1222
- const { field: e, error: o, fieldProps: r } = A(), { onValueChange: n, ...s } = t;
1177
+ ), Tr = (t) => {
1178
+ const { field: e, error: o, fieldProps: r } = k(), { onValueChange: n, ...s } = t;
1223
1179
  if (e.inputType !== "combobox") return null;
1224
- const d = e, { items: c, placeholder: m, multiple: l } = d, u = Array.isArray(r.value) ? r.value : [], C = {
1180
+ const d = e, { items: c, placeholder: m, multiple: l } = d, u = Array.isArray(r.value) ? r.value : [], h = {
1225
1181
  name: e.name,
1226
1182
  "data-invalid": g(!!o) || void 0,
1227
1183
  items: c,
@@ -1230,115 +1186,115 @@ ${H}`;
1230
1186
  placeholder: m,
1231
1187
  onValueChange: b(
1232
1188
  n,
1233
- (h) => r.onChange(h.value)
1189
+ (C) => r.onChange(C.value)
1234
1190
  ),
1235
1191
  ...s
1236
1192
  };
1237
1193
  return /* @__PURE__ */ a(
1238
- Me,
1194
+ Ee,
1239
1195
  {
1240
- ...C
1196
+ ...h
1241
1197
  }
1242
1198
  );
1243
- }, Di = { _id: "aiChatForm__FieldCombobox__Control" }, Kr = i(
1244
- ye,
1245
- Di
1246
- ), Bi = { _id: "aiChatForm__FieldCombobox__Input" }, qr = i(
1199
+ }, yi = { _id: "aiChatForm__FieldCombobox__Control" }, Hr = i(
1200
+ Me,
1201
+ yi
1202
+ ), ki = { _id: "aiChatForm__FieldCombobox__Input" }, Lr = i(
1247
1203
  Ae,
1248
- Bi
1249
- ), Ni = {
1204
+ ki
1205
+ ), xi = {
1250
1206
  _id: "aiChatForm__FieldCombobox__Trigger",
1251
1207
  children: /* @__PURE__ */ a(N, { iconSettings: { builtIn: "LuChevronDown" } })
1252
- }, jr = i(
1208
+ }, wr = i(
1209
+ ye,
1210
+ xi
1211
+ ), Ti = { _id: "aiChatForm__FieldCombobox__SelectedTags" }, Dr = i(
1212
+ ke,
1213
+ Ti
1214
+ ), Hi = { _id: "aiChatForm__FieldCombobox__Content" }, Br = i(
1253
1215
  xe,
1254
- Ni
1255
- ), Ri = { _id: "aiChatForm__FieldCombobox__SelectedTags" }, zr = i(
1216
+ Hi
1217
+ ), Li = { _id: "aiChatForm__FieldCombobox__Positioner" }, Nr = i(
1256
1218
  Te,
1257
- Ri
1258
- ), Oi = { _id: "aiChatForm__FieldCombobox__Content" }, Gr = i(
1219
+ Li
1220
+ ), wi = { _id: "aiChatForm__FieldCombobox__List" }, Rr = i(
1259
1221
  He,
1260
- Oi
1261
- ), Vi = { _id: "aiChatForm__FieldCombobox__Positioner" }, Yr = i(
1262
- Le,
1263
- Vi
1264
- ), Wi = { _id: "aiChatForm__FieldCombobox__List" }, Zr = i(
1265
- we,
1266
- Wi
1267
- ), Jr = i(De, {
1222
+ wi
1223
+ ), Or = i(Le, {
1268
1224
  _id: "aiChatForm__FieldCombobox__Item"
1269
- }), Xr = i(
1270
- ke,
1225
+ }), Vr = i(
1226
+ Ie,
1271
1227
  { _id: "aiChatForm__FieldCombobox__ItemText" }
1272
- ), en = i(
1273
- Be,
1228
+ ), Wr = i(
1229
+ we,
1274
1230
  { _id: "aiChatForm__FieldCombobox__ItemIndicator" }
1275
- ), tn = Se, on = i(
1276
- Ne,
1231
+ ), Qr = Se, Ur = i(
1232
+ De,
1277
1233
  { _id: "aiChatForm__FieldCombobox__ListEmpty" }
1278
- ), Qi = i("p", {
1234
+ ), Di = i("p", {
1279
1235
  _id: "aiChatForm__FieldDescription"
1280
- }), an = (t) => {
1281
- const { field: e } = A();
1282
- return e.description ? /* @__PURE__ */ a(Qi, { children: e.description, ...t }) : null;
1283
- }, Ui = i("span", {
1236
+ }), $r = (t) => {
1237
+ const { field: e } = k();
1238
+ return e.description ? /* @__PURE__ */ a(Di, { children: e.description, ...t }) : null;
1239
+ }, Bi = i("span", {
1284
1240
  _id: "aiChatForm__FieldError"
1285
- }), rn = (t) => {
1286
- const { error: e } = A();
1287
- return e ? /* @__PURE__ */ a(Ui, { children: e.message?.toString(), ...t }) : null;
1288
- }, $i = i("span", {
1241
+ }), Kr = (t) => {
1242
+ const { error: e } = k();
1243
+ return e ? /* @__PURE__ */ a(Bi, { children: e.message?.toString(), ...t }) : null;
1244
+ }, Ni = i("span", {
1289
1245
  _id: "aiChatForm__Error"
1290
- }), nn = (t) => {
1291
- const { formError: e } = f();
1292
- return e ? /* @__PURE__ */ a($i, { children: e.message, ...t }) : null;
1293
- }, sn = i("div", {
1246
+ }), qr = (t) => {
1247
+ const { formError: e } = P();
1248
+ return e ? /* @__PURE__ */ a(Ni, { children: e.message, ...t }) : null;
1249
+ }, jr = i("div", {
1294
1250
  _id: "aiChatForm__Footer"
1295
- }), Ki = i("button", {
1251
+ }), Ri = i("button", {
1296
1252
  _id: "aiChatForm__Cancel",
1297
1253
  children: "Cancel",
1298
1254
  type: "button"
1299
- }), dn = (t) => {
1300
- const { onClick: e, ...o } = t, { closeForm: r } = f();
1301
- return /* @__PURE__ */ a(Ki, { onClick: b(e, r), ...o });
1302
- }, qi = i("button", {
1255
+ }), zr = (t) => {
1256
+ const { onClick: e, ...o } = t, { closeForm: r } = P();
1257
+ return /* @__PURE__ */ a(Ri, { onClick: b(e, r), ...o });
1258
+ }, Oi = i("button", {
1303
1259
  _id: "aiChatForm__Submit",
1304
1260
  children: "Submit",
1305
1261
  type: "submit"
1306
- }), cn = (t) => {
1307
- const { onClick: e, ...o } = t, { isSubmitting: r, form: n } = f(), s = n?.buttons.submit.label || "Submit";
1308
- return /* @__PURE__ */ a(qi, { disabled: r, ...o, children: s });
1309
- }, ji = i("div", {
1262
+ }), Gr = (t) => {
1263
+ const { onClick: e, ...o } = t, { isSubmitting: r, form: n } = P(), s = n?.buttons.submit.label || "Submit";
1264
+ return /* @__PURE__ */ a(Oi, { disabled: r, ...o, children: s });
1265
+ }, Vi = i("div", {
1310
1266
  _id: "aiChatForm__Success"
1311
- }), mn = (t) => {
1312
- const { isSuccess: e } = f();
1313
- return e ? /* @__PURE__ */ a(ji, { ...t }) : null;
1314
- }, zi = i("h2", {
1267
+ }), Yr = (t) => {
1268
+ const { isSuccess: e } = P();
1269
+ return e ? /* @__PURE__ */ a(Vi, { ...t }) : null;
1270
+ }, Wi = i("h2", {
1315
1271
  _id: "aiChatForm__SuccessHeading"
1316
- }), ln = (t) => {
1317
- const { form: e } = f();
1318
- return /* @__PURE__ */ a(zi, { children: e?.successView?.heading, ...t });
1319
- }, Gi = i(j, {
1272
+ }), Zr = (t) => {
1273
+ const { form: e } = P();
1274
+ return /* @__PURE__ */ a(Wi, { children: e?.successView?.heading, ...t });
1275
+ }, Qi = i(q, {
1320
1276
  _id: "aiChatForm__SuccessMessage"
1321
- }), un = (t) => {
1322
- const { form: e } = f();
1277
+ }), Jr = (t) => {
1278
+ const { form: e } = P();
1323
1279
  return /* @__PURE__ */ a(
1324
- Gi,
1280
+ Qi,
1325
1281
  {
1326
1282
  shouldOpenLinksInNewTab: !0,
1327
1283
  children: e?.successView?.message,
1328
1284
  ...t
1329
1285
  }
1330
1286
  );
1331
- }, Yi = i("button", {
1287
+ }, Ui = i("button", {
1332
1288
  _id: "aiChatForm__SuccessButton"
1333
- }), hn = (t) => {
1334
- const { onClick: e, ...o } = t, { form: r, closeForm: n } = f(), s = r?.successView?.doneButton;
1289
+ }), Xr = (t) => {
1290
+ const { onClick: e, ...o } = t, { form: r, closeForm: n } = P(), s = r?.successView?.doneButton;
1335
1291
  if (!s) return null;
1336
1292
  const d = s.icon && /* @__PURE__ */ a(N, { iconSettings: s.icon }), c = s.label;
1337
1293
  return /* @__PURE__ */ a(
1338
- Yi,
1294
+ Ui,
1339
1295
  {
1340
1296
  onClick: b(e, n),
1341
- children: /* @__PURE__ */ Z(re, { children: [
1297
+ children: /* @__PURE__ */ G(ie, { children: [
1342
1298
  d,
1343
1299
  c
1344
1300
  ] }),
@@ -1347,305 +1303,299 @@ ${H}`;
1347
1303
  );
1348
1304
  };
1349
1305
  export {
1350
- za as ActionBar,
1351
- Ga as Actions,
1352
- ue as ChatAction,
1353
- er as ChatActionFeedback,
1354
- di as ChatActionLabel,
1355
- ir as ChatHelpAction,
1356
- zo as ChatHistoryButton,
1357
- jo as ChatHistoryButtonIcon,
1358
- Yo as Content,
1359
- Zo as ContentScrollArea,
1360
- ta as ContentScrollAreaCorner,
1361
- Xo as ContentScrollAreaScrollbar,
1362
- ea as ContentScrollAreaThumb,
1363
- Jo as ContentScrollAreaViewport,
1364
- oa as Disclaimer,
1365
- da as DisclaimerArrow,
1366
- na as DisclaimerContent,
1367
- aa as DisclaimerLabel,
1368
- sa as DisclaimerText,
1369
- ra as DisclaimerTrigger,
1370
- vn as DropZone,
1371
- Sa as DynamicComponent,
1372
- za as EmbeddedChatPrimitiveActionBar,
1373
- Ga as EmbeddedChatPrimitiveActions,
1374
- ue as EmbeddedChatPrimitiveChatAction,
1375
- er as EmbeddedChatPrimitiveChatActionFeedback,
1376
- di as EmbeddedChatPrimitiveChatActionLabel,
1377
- ir as EmbeddedChatPrimitiveChatHelpAction,
1378
- zo as EmbeddedChatPrimitiveChatHistoryButton,
1379
- jo as EmbeddedChatPrimitiveChatHistoryButtonIcon,
1380
- Yo as EmbeddedChatPrimitiveContent,
1381
- Zo as EmbeddedChatPrimitiveContentScrollArea,
1382
- ta as EmbeddedChatPrimitiveContentScrollAreaCorner,
1383
- Xo as EmbeddedChatPrimitiveContentScrollAreaScrollbar,
1384
- ea as EmbeddedChatPrimitiveContentScrollAreaThumb,
1385
- Jo as EmbeddedChatPrimitiveContentScrollAreaViewport,
1386
- oa as EmbeddedChatPrimitiveDisclaimer,
1387
- da as EmbeddedChatPrimitiveDisclaimerArrow,
1388
- na as EmbeddedChatPrimitiveDisclaimerContent,
1389
- aa as EmbeddedChatPrimitiveDisclaimerLabel,
1390
- sa as EmbeddedChatPrimitiveDisclaimerText,
1391
- ra as EmbeddedChatPrimitiveDisclaimerTrigger,
1392
- Sa as EmbeddedChatPrimitiveDynamicComponent,
1393
- ua as EmbeddedChatPrimitiveExampleQuestion,
1394
- ha as EmbeddedChatPrimitiveExampleQuestionButton,
1395
- ca as EmbeddedChatPrimitiveExampleQuestions,
1396
- ma as EmbeddedChatPrimitiveExampleQuestionsLabel,
1397
- la as EmbeddedChatPrimitiveExampleQuestionsList,
1398
- Cr as EmbeddedChatPrimitiveFeedbackForm,
1399
- br as EmbeddedChatPrimitiveFeedbackItem,
1400
- pr as EmbeddedChatPrimitiveFeedbackItemCheckbox,
1401
- gr as EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator,
1402
- Fr as EmbeddedChatPrimitiveFeedbackItemDescription,
1403
- vr as EmbeddedChatPrimitiveFeedbackItemLabel,
1404
- dr as EmbeddedChatPrimitiveFeedbackModal,
1405
- hr as EmbeddedChatPrimitiveFeedbackModalBody,
1406
- ur as EmbeddedChatPrimitiveFeedbackModalClose,
1407
- mr as EmbeddedChatPrimitiveFeedbackModalContent,
1408
- lr as EmbeddedChatPrimitiveFeedbackModalHeader,
1409
- cr as EmbeddedChatPrimitiveFeedbackModalOverlay,
1410
- _r as EmbeddedChatPrimitiveFeedbackSubmitButton,
1411
- Ua as EmbeddedChatPrimitiveFooter,
1412
- fr as EmbeddedChatPrimitiveForm,
1413
- dn as EmbeddedChatPrimitiveFormCancel,
1414
- Ir as EmbeddedChatPrimitiveFormClose,
1415
- kr as EmbeddedChatPrimitiveFormContent,
1416
- Mr as EmbeddedChatPrimitiveFormDescription,
1417
- nn as EmbeddedChatPrimitiveFormError,
1418
- yr as EmbeddedChatPrimitiveFormField,
1419
- Lr as EmbeddedChatPrimitiveFormFieldCheckbox,
1420
- wr as EmbeddedChatPrimitiveFormFieldCheckboxIndicator,
1421
- $r as EmbeddedChatPrimitiveFormFieldCombobox,
1422
- Gr as EmbeddedChatPrimitiveFormFieldComboboxContent,
1423
- Kr as EmbeddedChatPrimitiveFormFieldComboboxControl,
1424
- qr as EmbeddedChatPrimitiveFormFieldComboboxInput,
1425
- Jr as EmbeddedChatPrimitiveFormFieldComboboxItem,
1426
- en as EmbeddedChatPrimitiveFormFieldComboboxItemIndicator,
1427
- Xr as EmbeddedChatPrimitiveFormFieldComboboxItemText,
1428
- Zr as EmbeddedChatPrimitiveFormFieldComboboxList,
1429
- on as EmbeddedChatPrimitiveFormFieldComboboxListEmpty,
1430
- tn as EmbeddedChatPrimitiveFormFieldComboboxListItems,
1431
- Yr as EmbeddedChatPrimitiveFormFieldComboboxPositioner,
1432
- zr as EmbeddedChatPrimitiveFormFieldComboboxSelectedTags,
1433
- jr as EmbeddedChatPrimitiveFormFieldComboboxTrigger,
1434
- an as EmbeddedChatPrimitiveFormFieldDescription,
1435
- xr as EmbeddedChatPrimitiveFormFieldEmail,
1436
- rn as EmbeddedChatPrimitiveFormFieldError,
1437
- Tr as EmbeddedChatPrimitiveFormFieldFile,
1438
- Ar as EmbeddedChatPrimitiveFormFieldLabel,
1439
- Dr as EmbeddedChatPrimitiveFormFieldSelect,
1440
- Or as EmbeddedChatPrimitiveFormFieldSelectContent,
1441
- Rr as EmbeddedChatPrimitiveFormFieldSelectIcon,
1442
- Wr as EmbeddedChatPrimitiveFormFieldSelectItem,
1443
- Ur as EmbeddedChatPrimitiveFormFieldSelectItemIndicator,
1444
- Qr as EmbeddedChatPrimitiveFormFieldSelectItemText,
1445
- Br as EmbeddedChatPrimitiveFormFieldSelectTrigger,
1446
- Nr as EmbeddedChatPrimitiveFormFieldSelectValue,
1447
- Vr as EmbeddedChatPrimitiveFormFieldSelectViewport,
1448
- he as EmbeddedChatPrimitiveFormFieldText,
1449
- Hr as EmbeddedChatPrimitiveFormFieldTextArea,
1450
- sn as EmbeddedChatPrimitiveFormFooter,
1451
- Er as EmbeddedChatPrimitiveFormHeader,
1452
- Sr as EmbeddedChatPrimitiveFormHeading,
1453
- cn as EmbeddedChatPrimitiveFormSubmit,
1454
- mn as EmbeddedChatPrimitiveFormSuccess,
1455
- hn as EmbeddedChatPrimitiveFormSuccessButton,
1456
- ln as EmbeddedChatPrimitiveFormSuccessHeading,
1457
- un as EmbeddedChatPrimitiveFormSuccessMessage,
1458
- Pr as EmbeddedChatPrimitiveFormWrapper,
1459
- Ko as EmbeddedChatPrimitiveHeaderToolbar,
1460
- tr as EmbeddedChatPrimitiveHelpActions,
1461
- ar as EmbeddedChatPrimitiveHelpActionsMenu,
1462
- rr as EmbeddedChatPrimitiveHelpActionsMenuArrow,
1463
- nr as EmbeddedChatPrimitiveHelpActionsMenuItem,
1464
- sr as EmbeddedChatPrimitiveHelpActionsMenuItemIcon,
1465
- or as EmbeddedChatPrimitiveHelpActionsTrigger,
1466
- Ka as EmbeddedChatPrimitiveInput,
1467
- $a as EmbeddedChatPrimitiveInputGroup,
1468
- Ca as EmbeddedChatPrimitiveIntroMessageWrapper,
1469
- Ea as EmbeddedChatPrimitiveMarkdown,
1470
- xa as EmbeddedChatPrimitiveMessageAction,
1471
- ga as EmbeddedChatPrimitiveMessageAvatar,
1472
- va as EmbeddedChatPrimitiveMessageAvatarContent,
1473
- Fa as EmbeddedChatPrimitiveMessageAvatarFallback,
1474
- _a as EmbeddedChatPrimitiveMessageAvatarImage,
1475
- Ia as EmbeddedChatPrimitiveMessageContent,
1476
- fa as EmbeddedChatPrimitiveMessageContentWrapper,
1477
- Aa as EmbeddedChatPrimitiveMessageCustomAction,
1478
- ya as EmbeddedChatPrimitiveMessageCustomActions,
1479
- ba as EmbeddedChatPrimitiveMessageHeader,
1480
- pa as EmbeddedChatPrimitiveMessageLoading,
1481
- Pa as EmbeddedChatPrimitiveMessageName,
1482
- wa as EmbeddedChatPrimitiveMessageSourceItem,
1483
- Da as EmbeddedChatPrimitiveMessageSourceItemBreadcrumbs,
1484
- Va as EmbeddedChatPrimitiveMessageSourceItemDescription,
1485
- Wa as EmbeddedChatPrimitiveMessageSourceItemDescriptionPart,
1486
- Na as EmbeddedChatPrimitiveMessageSourceItemIcon,
1487
- Qa as EmbeddedChatPrimitiveMessageSourceItemIndicator,
1488
- Oa as EmbeddedChatPrimitiveMessageSourceItemTag,
1489
- Ra as EmbeddedChatPrimitiveMessageSourceItemTitle,
1490
- Ta as EmbeddedChatPrimitiveMessageSources,
1491
- Ha as EmbeddedChatPrimitiveMessageSourcesHeader,
1492
- La as EmbeddedChatPrimitiveMessageSourcesList,
1493
- ka as EmbeddedChatPrimitiveMessageToolbar,
1494
- Lt as EmbeddedChatPrimitiveMessageWrapper,
1495
- ia as EmbeddedChatPrimitiveMessages,
1496
- Uo as EmbeddedChatPrimitiveRoot,
1497
- qa as EmbeddedChatPrimitiveSendButton,
1498
- ja as EmbeddedChatPrimitiveSendButtonIcon,
1499
- Xa as EmbeddedChatPrimitiveTaglineBrandName,
1500
- Ya as EmbeddedChatPrimitiveTaglineContainer,
1501
- Ja as EmbeddedChatPrimitiveTaglineLogo,
1502
- Za as EmbeddedChatPrimitiveTaglineText,
1503
- Go as EmbeddedChatPrimitiveToolbarHeader,
1504
- qo as EmbeddedChatPrimitiveToolbarHeaderWrapper,
1505
- Qo as EmbeddedChatPrimitiveWrapper,
1506
- ua as ExampleQuestion,
1507
- ha as ExampleQuestionButton,
1508
- ca as ExampleQuestions,
1509
- ma as ExampleQuestionsLabel,
1510
- la as ExampleQuestionsList,
1511
- Cr as FeedbackForm,
1512
- br as FeedbackItem,
1513
- pr as FeedbackItemCheckbox,
1514
- gr as FeedbackItemCheckboxIndicator,
1515
- Fr as FeedbackItemDescription,
1516
- vr as FeedbackItemLabel,
1517
- dr as FeedbackModal,
1518
- hr as FeedbackModalBody,
1519
- ur as FeedbackModalClose,
1520
- mr as FeedbackModalContent,
1521
- lr as FeedbackModalHeader,
1522
- cr as FeedbackModalOverlay,
1523
- _r as FeedbackSubmitButton,
1524
- Fn as FileContent,
1525
- _n as FileInput,
1526
- Pn as FileItem,
1527
- fn as FileList,
1528
- In as FileName,
1529
- En as FilePreviewTrigger,
1530
- Sn as FileRemove,
1531
- Mn as FileRemoveIcon,
1532
- kn as FileThumbnail,
1533
- yn as FileTypeIcon,
1534
- An as FileUploadButton,
1535
- xn as FileUploadButtonIcon,
1536
- Ua as Footer,
1537
- fr as Form,
1538
- dn as FormCancel,
1539
- Ir as FormClose,
1540
- kr as FormContent,
1541
- Mr as FormDescription,
1542
- nn as FormError,
1543
- yr as FormField,
1544
- Lr as FormFieldCheckbox,
1545
- wr as FormFieldCheckboxIndicator,
1546
- $r as FormFieldCombobox,
1547
- Gr as FormFieldComboboxContent,
1548
- Kr as FormFieldComboboxControl,
1549
- qr as FormFieldComboboxInput,
1550
- Jr as FormFieldComboboxItem,
1551
- en as FormFieldComboboxItemIndicator,
1552
- Xr as FormFieldComboboxItemText,
1553
- Zr as FormFieldComboboxList,
1554
- on as FormFieldComboboxListEmpty,
1555
- tn as FormFieldComboboxListItems,
1556
- Yr as FormFieldComboboxPositioner,
1557
- zr as FormFieldComboboxSelectedTags,
1558
- jr as FormFieldComboboxTrigger,
1559
- an as FormFieldDescription,
1560
- xr as FormFieldEmail,
1561
- rn as FormFieldError,
1562
- Tr as FormFieldFile,
1563
- Ar as FormFieldLabel,
1564
- Dr as FormFieldSelect,
1565
- Or as FormFieldSelectContent,
1566
- Rr as FormFieldSelectIcon,
1567
- Wr as FormFieldSelectItem,
1568
- Ur as FormFieldSelectItemIndicator,
1569
- Qr as FormFieldSelectItemText,
1570
- Br as FormFieldSelectTrigger,
1571
- Nr as FormFieldSelectValue,
1572
- Vr as FormFieldSelectViewport,
1573
- he as FormFieldText,
1574
- Hr as FormFieldTextArea,
1575
- sn as FormFooter,
1576
- Er as FormHeader,
1577
- Sr as FormHeading,
1578
- cn as FormSubmit,
1579
- mn as FormSuccess,
1580
- hn as FormSuccessButton,
1581
- ln as FormSuccessHeading,
1582
- un as FormSuccessMessage,
1583
- Pr as FormWrapper,
1584
- $o as Header,
1585
- Ko as HeaderToolbar,
1586
- qo as HeaderToolbarWrapper,
1587
- tr as HelpActions,
1588
- ar as HelpActionsMenu,
1589
- rr as HelpActionsMenuArrow,
1590
- nr as HelpActionsMenuItem,
1591
- sr as HelpActionsMenuItemIcon,
1592
- or as HelpActionsTrigger,
1593
- Wn as ImagePreviewModal,
1594
- Qn as ImagePreviewModalClose,
1595
- Un as ImagePreviewModalContent,
1596
- $n as ImagePreviewModalFileName,
1597
- Kn as ImagePreviewModalFooter,
1598
- qn as ImagePreviewModalImage,
1599
- jn as ImagePreviewModalOverlay,
1600
- Ka as Input,
1601
- Tn as InputFieldset,
1602
- $a as InputGroup,
1603
- Hn as InputNotification,
1604
- Ln as InputNotificationClose,
1605
- wn as InputNotificationContent,
1606
- Dn as InputNotificationHeader,
1607
- Bn as InputNotificationMessage,
1608
- Nn as InputNotificationTitle,
1609
- Ca as IntroMessageWrapper,
1610
- Ea as Markdown,
1611
- xa as MessageAction,
1612
- ga as MessageAvatar,
1613
- va as MessageAvatarContent,
1614
- Fa as MessageAvatarFallback,
1615
- _a as MessageAvatarImage,
1616
- Ia as MessageContent,
1617
- fa as MessageContentWrapper,
1618
- Aa as MessageCustomAction,
1619
- ya as MessageCustomActions,
1620
- Rn as MessageFile,
1621
- On as MessageFiles,
1622
- ba as MessageHeader,
1623
- pa as MessageLoading,
1624
- Pa as MessageName,
1625
- wa as MessageSourceItem,
1626
- Ba as MessageSourceItemBreadcrumbIcon,
1627
- Da as MessageSourceItemBreadcrumbs,
1628
- Va as MessageSourceItemDescription,
1629
- Wa as MessageSourceItemDescriptionPart,
1630
- Na as MessageSourceItemIcon,
1631
- Qa as MessageSourceItemIndicator,
1632
- Oa as MessageSourceItemTag,
1633
- Ra as MessageSourceItemTitle,
1634
- Ta as MessageSources,
1635
- Ha as MessageSourcesHeader,
1636
- La as MessageSourcesList,
1637
- ka as MessageToolbar,
1638
- Lt as MessageWrapper,
1639
- ia as Messages,
1640
- Ma as PrimitiveMessagePart,
1641
- pn as Provider,
1642
- Uo as Root,
1643
- qa as SendButton,
1644
- ja as SendButtonIcon,
1645
- Xa as TaglineBrandName,
1646
- Ya as TaglineContainer,
1647
- Ja as TaglineLogo,
1648
- Za as TaglineText,
1649
- Go as ToolbarHeader,
1650
- Qo as Wrapper
1306
+ Ra as ActionBar,
1307
+ Oa as Actions,
1308
+ ce as ChatAction,
1309
+ Ua as ChatActionFeedback,
1310
+ ri as ChatActionLabel,
1311
+ Ka as ChatHelpAction,
1312
+ Ro as ChatHistoryButton,
1313
+ No as ChatHistoryButtonIcon,
1314
+ Vo as Content,
1315
+ Wo as ContentScrollArea,
1316
+ Ko as ContentScrollAreaCorner,
1317
+ Uo as ContentScrollAreaScrollbar,
1318
+ $o as ContentScrollAreaThumb,
1319
+ Qo as ContentScrollAreaViewport,
1320
+ jo as Disclaimer,
1321
+ Jo as DisclaimerArrow,
1322
+ Yo as DisclaimerContent,
1323
+ zo as DisclaimerLabel,
1324
+ Zo as DisclaimerText,
1325
+ Go as DisclaimerTrigger,
1326
+ rn as DropZone,
1327
+ ba as DynamicComponent,
1328
+ Ra as EmbeddedChatPrimitiveActionBar,
1329
+ Oa as EmbeddedChatPrimitiveActions,
1330
+ ce as EmbeddedChatPrimitiveChatAction,
1331
+ Ua as EmbeddedChatPrimitiveChatActionFeedback,
1332
+ ri as EmbeddedChatPrimitiveChatActionLabel,
1333
+ Ka as EmbeddedChatPrimitiveChatHelpAction,
1334
+ Ro as EmbeddedChatPrimitiveChatHistoryButton,
1335
+ No as EmbeddedChatPrimitiveChatHistoryButtonIcon,
1336
+ Vo as EmbeddedChatPrimitiveContent,
1337
+ Wo as EmbeddedChatPrimitiveContentScrollArea,
1338
+ Ko as EmbeddedChatPrimitiveContentScrollAreaCorner,
1339
+ Uo as EmbeddedChatPrimitiveContentScrollAreaScrollbar,
1340
+ $o as EmbeddedChatPrimitiveContentScrollAreaThumb,
1341
+ Qo as EmbeddedChatPrimitiveContentScrollAreaViewport,
1342
+ jo as EmbeddedChatPrimitiveDisclaimer,
1343
+ Jo as EmbeddedChatPrimitiveDisclaimerArrow,
1344
+ Yo as EmbeddedChatPrimitiveDisclaimerContent,
1345
+ zo as EmbeddedChatPrimitiveDisclaimerLabel,
1346
+ Zo as EmbeddedChatPrimitiveDisclaimerText,
1347
+ Go as EmbeddedChatPrimitiveDisclaimerTrigger,
1348
+ ba as EmbeddedChatPrimitiveDynamicComponent,
1349
+ ia as EmbeddedChatPrimitiveExampleQuestion,
1350
+ oa as EmbeddedChatPrimitiveExampleQuestionButton,
1351
+ Xo as EmbeddedChatPrimitiveExampleQuestions,
1352
+ ea as EmbeddedChatPrimitiveExampleQuestionsLabel,
1353
+ ta as EmbeddedChatPrimitiveExampleQuestionsList,
1354
+ ar as EmbeddedChatPrimitiveFeedbackField,
1355
+ or as EmbeddedChatPrimitiveFeedbackForm,
1356
+ nr as EmbeddedChatPrimitiveFeedbackItemDescription,
1357
+ rr as EmbeddedChatPrimitiveFeedbackItemLabel,
1358
+ Za as EmbeddedChatPrimitiveFeedbackModal,
1359
+ ir as EmbeddedChatPrimitiveFeedbackModalBody,
1360
+ tr as EmbeddedChatPrimitiveFeedbackModalClose,
1361
+ Xa as EmbeddedChatPrimitiveFeedbackModalContent,
1362
+ er as EmbeddedChatPrimitiveFeedbackModalHeader,
1363
+ Ja as EmbeddedChatPrimitiveFeedbackModalOverlay,
1364
+ sr as EmbeddedChatPrimitiveFeedbackSubmitButton,
1365
+ La as EmbeddedChatPrimitiveFooter,
1366
+ cr as EmbeddedChatPrimitiveForm,
1367
+ zr as EmbeddedChatPrimitiveFormCancel,
1368
+ mr as EmbeddedChatPrimitiveFormClose,
1369
+ Cr as EmbeddedChatPrimitiveFormContent,
1370
+ hr as EmbeddedChatPrimitiveFormDescription,
1371
+ qr as EmbeddedChatPrimitiveFormError,
1372
+ br as EmbeddedChatPrimitiveFormField,
1373
+ _r as EmbeddedChatPrimitiveFormFieldCheckbox,
1374
+ Pr as EmbeddedChatPrimitiveFormFieldCheckboxIndicator,
1375
+ Tr as EmbeddedChatPrimitiveFormFieldCombobox,
1376
+ Br as EmbeddedChatPrimitiveFormFieldComboboxContent,
1377
+ Hr as EmbeddedChatPrimitiveFormFieldComboboxControl,
1378
+ Lr as EmbeddedChatPrimitiveFormFieldComboboxInput,
1379
+ Or as EmbeddedChatPrimitiveFormFieldComboboxItem,
1380
+ Wr as EmbeddedChatPrimitiveFormFieldComboboxItemIndicator,
1381
+ Vr as EmbeddedChatPrimitiveFormFieldComboboxItemText,
1382
+ Rr as EmbeddedChatPrimitiveFormFieldComboboxList,
1383
+ Ur as EmbeddedChatPrimitiveFormFieldComboboxListEmpty,
1384
+ Qr as EmbeddedChatPrimitiveFormFieldComboboxListItems,
1385
+ Nr as EmbeddedChatPrimitiveFormFieldComboboxPositioner,
1386
+ Dr as EmbeddedChatPrimitiveFormFieldComboboxSelectedTags,
1387
+ wr as EmbeddedChatPrimitiveFormFieldComboboxTrigger,
1388
+ $r as EmbeddedChatPrimitiveFormFieldDescription,
1389
+ gr as EmbeddedChatPrimitiveFormFieldEmail,
1390
+ Kr as EmbeddedChatPrimitiveFormFieldError,
1391
+ vr as EmbeddedChatPrimitiveFormFieldFile,
1392
+ pr as EmbeddedChatPrimitiveFormFieldLabel,
1393
+ fr as EmbeddedChatPrimitiveFormFieldSelect,
1394
+ Mr as EmbeddedChatPrimitiveFormFieldSelectContent,
1395
+ Ir as EmbeddedChatPrimitiveFormFieldSelectIcon,
1396
+ yr as EmbeddedChatPrimitiveFormFieldSelectItem,
1397
+ xr as EmbeddedChatPrimitiveFormFieldSelectItemIndicator,
1398
+ kr as EmbeddedChatPrimitiveFormFieldSelectItemText,
1399
+ Sr as EmbeddedChatPrimitiveFormFieldSelectTrigger,
1400
+ Er as EmbeddedChatPrimitiveFormFieldSelectValue,
1401
+ Ar as EmbeddedChatPrimitiveFormFieldSelectViewport,
1402
+ me as EmbeddedChatPrimitiveFormFieldText,
1403
+ Fr as EmbeddedChatPrimitiveFormFieldTextArea,
1404
+ jr as EmbeddedChatPrimitiveFormFooter,
1405
+ lr as EmbeddedChatPrimitiveFormHeader,
1406
+ ur as EmbeddedChatPrimitiveFormHeading,
1407
+ Gr as EmbeddedChatPrimitiveFormSubmit,
1408
+ Yr as EmbeddedChatPrimitiveFormSuccess,
1409
+ Xr as EmbeddedChatPrimitiveFormSuccessButton,
1410
+ Zr as EmbeddedChatPrimitiveFormSuccessHeading,
1411
+ Jr as EmbeddedChatPrimitiveFormSuccessMessage,
1412
+ dr as EmbeddedChatPrimitiveFormWrapper,
1413
+ Do as EmbeddedChatPrimitiveHeaderToolbar,
1414
+ $a as EmbeddedChatPrimitiveHelpActions,
1415
+ ja as EmbeddedChatPrimitiveHelpActionsMenu,
1416
+ za as EmbeddedChatPrimitiveHelpActionsMenuArrow,
1417
+ Ga as EmbeddedChatPrimitiveHelpActionsMenuItem,
1418
+ Ya as EmbeddedChatPrimitiveHelpActionsMenuItemIcon,
1419
+ qa as EmbeddedChatPrimitiveHelpActionsTrigger,
1420
+ Da as EmbeddedChatPrimitiveInput,
1421
+ wa as EmbeddedChatPrimitiveInputGroup,
1422
+ aa as EmbeddedChatPrimitiveIntroMessageWrapper,
1423
+ Ca as EmbeddedChatPrimitiveMarkdown,
1424
+ _a as EmbeddedChatPrimitiveMessageAction,
1425
+ sa as EmbeddedChatPrimitiveMessageAvatar,
1426
+ da as EmbeddedChatPrimitiveMessageAvatarContent,
1427
+ ca as EmbeddedChatPrimitiveMessageAvatarFallback,
1428
+ ma as EmbeddedChatPrimitiveMessageAvatarImage,
1429
+ ha as EmbeddedChatPrimitiveMessageContent,
1430
+ ua as EmbeddedChatPrimitiveMessageContentWrapper,
1431
+ Fa as EmbeddedChatPrimitiveMessageCustomAction,
1432
+ va as EmbeddedChatPrimitiveMessageCustomActions,
1433
+ ra as EmbeddedChatPrimitiveMessageHeader,
1434
+ na as EmbeddedChatPrimitiveMessageLoading,
1435
+ la as EmbeddedChatPrimitiveMessageName,
1436
+ Ea as EmbeddedChatPrimitiveMessageSourceItem,
1437
+ Ia as EmbeddedChatPrimitiveMessageSourceItemBreadcrumbs,
1438
+ xa as EmbeddedChatPrimitiveMessageSourceItemDescription,
1439
+ Ta as EmbeddedChatPrimitiveMessageSourceItemDescriptionPart,
1440
+ Aa as EmbeddedChatPrimitiveMessageSourceItemIcon,
1441
+ Ha as EmbeddedChatPrimitiveMessageSourceItemIndicator,
1442
+ ka as EmbeddedChatPrimitiveMessageSourceItemTag,
1443
+ ya as EmbeddedChatPrimitiveMessageSourceItemTitle,
1444
+ Pa as EmbeddedChatPrimitiveMessageSources,
1445
+ fa as EmbeddedChatPrimitiveMessageSourcesHeader,
1446
+ Sa as EmbeddedChatPrimitiveMessageSourcesList,
1447
+ ga as EmbeddedChatPrimitiveMessageToolbar,
1448
+ xt as EmbeddedChatPrimitiveMessageWrapper,
1449
+ qo as EmbeddedChatPrimitiveMessages,
1450
+ Lo as EmbeddedChatPrimitiveRoot,
1451
+ Ba as EmbeddedChatPrimitiveSendButton,
1452
+ Na as EmbeddedChatPrimitiveSendButtonIcon,
1453
+ Va as EmbeddedChatPrimitiveTaglineContainer,
1454
+ Qa as EmbeddedChatPrimitiveTaglineLogo,
1455
+ Wa as EmbeddedChatPrimitiveTaglineText,
1456
+ Oo as EmbeddedChatPrimitiveToolbarHeader,
1457
+ Bo as EmbeddedChatPrimitiveToolbarHeaderWrapper,
1458
+ Ho as EmbeddedChatPrimitiveWrapper,
1459
+ ia as ExampleQuestion,
1460
+ oa as ExampleQuestionButton,
1461
+ Xo as ExampleQuestions,
1462
+ ea as ExampleQuestionsLabel,
1463
+ ta as ExampleQuestionsList,
1464
+ ar as FeedbackField,
1465
+ or as FeedbackForm,
1466
+ nr as FeedbackItemDescription,
1467
+ rr as FeedbackItemLabel,
1468
+ Za as FeedbackModal,
1469
+ ir as FeedbackModalBody,
1470
+ tr as FeedbackModalClose,
1471
+ Xa as FeedbackModalContent,
1472
+ er as FeedbackModalHeader,
1473
+ Ja as FeedbackModalOverlay,
1474
+ sr as FeedbackSubmitButton,
1475
+ nn as FileContent,
1476
+ sn as FileInput,
1477
+ dn as FileItem,
1478
+ cn as FileList,
1479
+ mn as FileName,
1480
+ ln as FilePreviewTrigger,
1481
+ un as FileRemove,
1482
+ hn as FileRemoveIcon,
1483
+ Cn as FileThumbnail,
1484
+ bn as FileTypeIcon,
1485
+ pn as FileUploadButton,
1486
+ gn as FileUploadButtonIcon,
1487
+ La as Footer,
1488
+ cr as Form,
1489
+ zr as FormCancel,
1490
+ mr as FormClose,
1491
+ Cr as FormContent,
1492
+ hr as FormDescription,
1493
+ qr as FormError,
1494
+ br as FormField,
1495
+ _r as FormFieldCheckbox,
1496
+ Pr as FormFieldCheckboxIndicator,
1497
+ Tr as FormFieldCombobox,
1498
+ Br as FormFieldComboboxContent,
1499
+ Hr as FormFieldComboboxControl,
1500
+ Lr as FormFieldComboboxInput,
1501
+ Or as FormFieldComboboxItem,
1502
+ Wr as FormFieldComboboxItemIndicator,
1503
+ Vr as FormFieldComboboxItemText,
1504
+ Rr as FormFieldComboboxList,
1505
+ Ur as FormFieldComboboxListEmpty,
1506
+ Qr as FormFieldComboboxListItems,
1507
+ Nr as FormFieldComboboxPositioner,
1508
+ Dr as FormFieldComboboxSelectedTags,
1509
+ wr as FormFieldComboboxTrigger,
1510
+ $r as FormFieldDescription,
1511
+ gr as FormFieldEmail,
1512
+ Kr as FormFieldError,
1513
+ vr as FormFieldFile,
1514
+ pr as FormFieldLabel,
1515
+ fr as FormFieldSelect,
1516
+ Mr as FormFieldSelectContent,
1517
+ Ir as FormFieldSelectIcon,
1518
+ yr as FormFieldSelectItem,
1519
+ xr as FormFieldSelectItemIndicator,
1520
+ kr as FormFieldSelectItemText,
1521
+ Sr as FormFieldSelectTrigger,
1522
+ Er as FormFieldSelectValue,
1523
+ Ar as FormFieldSelectViewport,
1524
+ me as FormFieldText,
1525
+ Fr as FormFieldTextArea,
1526
+ jr as FormFooter,
1527
+ lr as FormHeader,
1528
+ ur as FormHeading,
1529
+ Gr as FormSubmit,
1530
+ Yr as FormSuccess,
1531
+ Xr as FormSuccessButton,
1532
+ Zr as FormSuccessHeading,
1533
+ Jr as FormSuccessMessage,
1534
+ dr as FormWrapper,
1535
+ wo as Header,
1536
+ Do as HeaderToolbar,
1537
+ Bo as HeaderToolbarWrapper,
1538
+ $a as HelpActions,
1539
+ ja as HelpActionsMenu,
1540
+ za as HelpActionsMenuArrow,
1541
+ Ga as HelpActionsMenuItem,
1542
+ Ya as HelpActionsMenuItemIcon,
1543
+ qa as HelpActionsTrigger,
1544
+ yn as ImagePreviewModal,
1545
+ kn as ImagePreviewModalClose,
1546
+ xn as ImagePreviewModalContent,
1547
+ Tn as ImagePreviewModalFileName,
1548
+ Hn as ImagePreviewModalFooter,
1549
+ Ln as ImagePreviewModalImage,
1550
+ wn as ImagePreviewModalOverlay,
1551
+ Da as Input,
1552
+ vn as InputFieldset,
1553
+ wa as InputGroup,
1554
+ Fn as InputNotification,
1555
+ _n as InputNotificationClose,
1556
+ Pn as InputNotificationContent,
1557
+ fn as InputNotificationHeader,
1558
+ Sn as InputNotificationMessage,
1559
+ En as InputNotificationTitle,
1560
+ aa as IntroMessageWrapper,
1561
+ Ca as Markdown,
1562
+ _a as MessageAction,
1563
+ sa as MessageAvatar,
1564
+ da as MessageAvatarContent,
1565
+ ca as MessageAvatarFallback,
1566
+ ma as MessageAvatarImage,
1567
+ ha as MessageContent,
1568
+ ua as MessageContentWrapper,
1569
+ Fa as MessageCustomAction,
1570
+ va as MessageCustomActions,
1571
+ In as MessageFile,
1572
+ Mn as MessageFiles,
1573
+ ra as MessageHeader,
1574
+ na as MessageLoading,
1575
+ la as MessageName,
1576
+ Ea as MessageSourceItem,
1577
+ Ma as MessageSourceItemBreadcrumbIcon,
1578
+ Ia as MessageSourceItemBreadcrumbs,
1579
+ xa as MessageSourceItemDescription,
1580
+ Ta as MessageSourceItemDescriptionPart,
1581
+ Aa as MessageSourceItemIcon,
1582
+ Ha as MessageSourceItemIndicator,
1583
+ ka as MessageSourceItemTag,
1584
+ ya as MessageSourceItemTitle,
1585
+ Pa as MessageSources,
1586
+ fa as MessageSourcesHeader,
1587
+ Sa as MessageSourcesList,
1588
+ ga as MessageToolbar,
1589
+ xt as MessageWrapper,
1590
+ qo as Messages,
1591
+ pa as PrimitiveMessagePart,
1592
+ on as Provider,
1593
+ Lo as Root,
1594
+ Ba as SendButton,
1595
+ Na as SendButtonIcon,
1596
+ Va as TaglineContainer,
1597
+ Qa as TaglineLogo,
1598
+ Wa as TaglineText,
1599
+ Oo as ToolbarHeader,
1600
+ Ho as Wrapper
1651
1601
  };