@inkeep/cxkit-primitives 0.5.5 → 0.5.8

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 (54) hide show
  1. package/dist/atoms/api/analytics/events.cjs +1 -1
  2. package/dist/atoms/api/analytics/events.js +2 -2
  3. package/dist/components/embedded-chat/use-chat-action.cjs +1 -1
  4. package/dist/components/embedded-chat/use-chat-action.js +14 -16
  5. package/dist/components/embedded-chat/use-inkeep-chat.cjs +3 -3
  6. package/dist/components/embedded-chat/use-inkeep-chat.js +122 -128
  7. package/dist/components/embedded-chat.cjs +5 -5
  8. package/dist/components/embedded-chat.d.cts +9 -8
  9. package/dist/components/embedded-chat.d.ts +9 -8
  10. package/dist/components/embedded-chat.js +952 -963
  11. package/dist/components/embedded-search/use-inkeep-search.cjs +1 -1
  12. package/dist/components/embedded-search/use-inkeep-search.js +10 -10
  13. package/dist/components/embedded-search.d.cts +2 -2
  14. package/dist/components/embedded-search.d.ts +2 -2
  15. package/dist/components/embedded-search.js +79 -79
  16. package/dist/components/intelligent-form/intelligent-form-provider.cjs +1 -1
  17. package/dist/components/intelligent-form/intelligent-form-provider.d.cts +3 -3
  18. package/dist/components/intelligent-form/intelligent-form-provider.d.ts +3 -3
  19. package/dist/components/intelligent-form/intelligent-form-provider.js +2 -2
  20. package/dist/components/intelligent-form/use-inkeep-intelligent-form.cjs +1 -1
  21. package/dist/components/intelligent-form/use-inkeep-intelligent-form.d.cts +5 -5
  22. package/dist/components/intelligent-form/use-inkeep-intelligent-form.d.ts +5 -5
  23. package/dist/components/intelligent-form/use-inkeep-intelligent-form.js +88 -109
  24. package/dist/components/intelligent-form.cjs +1 -1
  25. package/dist/components/intelligent-form.d.cts +4 -3
  26. package/dist/components/intelligent-form.d.ts +4 -3
  27. package/dist/components/intelligent-form.js +191 -188
  28. package/dist/components/modal.cjs +1 -1
  29. package/dist/components/modal.d.cts +1 -1
  30. package/dist/components/modal.d.ts +1 -1
  31. package/dist/components/modal.js +26 -26
  32. package/dist/providers/base-events-provider.cjs +1 -1
  33. package/dist/providers/base-events-provider.js +1 -1
  34. package/dist/providers/chat-events-provider.cjs +1 -1
  35. package/dist/providers/chat-events-provider.d.cts +9 -1
  36. package/dist/providers/chat-events-provider.d.ts +9 -1
  37. package/dist/providers/chat-events-provider.js +54 -57
  38. package/dist/providers/chat-form-provider.cjs +1 -1
  39. package/dist/providers/chat-form-provider.d.cts +3 -3
  40. package/dist/providers/chat-form-provider.d.ts +3 -3
  41. package/dist/providers/chat-form-provider.js +17 -17
  42. package/dist/providers/feedback-provider.cjs +1 -1
  43. package/dist/providers/feedback-provider.js +23 -23
  44. package/dist/utils/default-settings.cjs +1 -1
  45. package/dist/utils/default-settings.d.cts +1 -0
  46. package/dist/utils/default-settings.d.ts +1 -0
  47. package/dist/utils/default-settings.js +13 -11
  48. package/dist/utils/misc.cjs +1 -1
  49. package/dist/utils/misc.d.cts +2 -2
  50. package/dist/utils/misc.d.ts +2 -2
  51. package/dist/utils/misc.js +15 -13
  52. package/package.json +5 -4
  53. package/dist/atoms/dialog.cjs +0 -1
  54. package/dist/atoms/dialog.js +0 -185
@@ -1,60 +1,61 @@
1
1
  "use client";
2
- import { jsx as n, jsxs as K, Fragment as Z } from "react/jsx-runtime";
3
- import { forwardRef as q, memo as F, useState as Me, useEffect as _e, useMemo as fe } from "react";
4
- import ee from "react-textarea-autosize";
5
- import * as te from "@radix-ui/react-avatar";
6
- import * as j from "@radix-ui/react-checkbox";
7
- import * as k from "@radix-ui/react-popover";
8
- import * as E from "@radix-ui/react-tooltip";
9
- import * as R from "@radix-ui/react-scroll-area";
2
+ import { jsx as n, jsxs as $, Fragment as ie } from "react/jsx-runtime";
3
+ import { forwardRef as V, memo as M, useState as Pe, useEffect as pe, useMemo as Fe } from "react";
4
+ import ae from "react-textarea-autosize";
5
+ import * as ne from "@radix-ui/react-avatar";
6
+ import * as U from "@radix-ui/react-checkbox";
7
+ import * as K from "@radix-ui/react-popover";
8
+ import * as B from "@radix-ui/react-tooltip";
9
+ import * as q from "@radix-ui/react-hover-card";
10
+ import * as x from "@radix-ui/react-scroll-area";
10
11
  import * as S from "@radix-ui/react-select";
11
- import { Overlay as ie, Content as ae, Close as ne, Title as se, Root as oe } from "../atoms/dialog.js";
12
- import { HiMiniBolt as Se } from "../node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/hi2/index.js";
13
- import { IoAdd as ke } from "../node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/io5/index.js";
14
- import Ee from "../atoms/avatars/ai.js";
15
- import Be from "../atoms/avatars/user.js";
12
+ import * as b from "@radix-ui/react-dialog";
13
+ import { HiMiniBolt as Me } from "../node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/hi2/index.js";
14
+ import { IoAdd as Ie } from "../node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/io5/index.js";
15
+ import fe from "../atoms/avatars/ai.js";
16
+ import Se from "../atoms/avatars/user.js";
16
17
  import { CustomIcon as P } from "../atoms/icons/custom-icon.js";
17
- import { BuiltInIconRenderer as B } from "../atoms/icons/built-in-icon-renderer.js";
18
- import { LinkWithQueryParams as Te } from "../atoms/link.js";
19
- import { Markdown as G } from "../atoms/markdown/index.js";
20
- import { AttachmentItemProvider as be, useAttachmentItem as $ } from "../providers/attachment-item-provider.js";
21
- import { AttachmentsBarProvider as ye, useAttachmentsBar as I } from "../providers/attachments-bar-provider.js";
22
- import { SourceItemProvider as we, useSourceItem as H } from "../providers/source-item-provider.js";
23
- import { useInkeepConfig as C } from "../providers/config-provider.js";
24
- import { useInkeepConversation as re, SHARE_QUERY_PARAM as He } from "../providers/conversation-provider.js";
25
- import { useChatEvents as V } from "../providers/chat-events-provider.js";
26
- import { useMessageFeedback as ce } from "../providers/feedback-provider.js";
27
- import { MessageAttachmentsProvider as Le, useMessageAttachments as z } from "../providers/message-attachments-provider.js";
28
- import { MessageProvider as xe, useMessage as _ } from "../providers/message-provider.js";
29
- import { CheckboxIcon as Ae } from "../atoms/icons/checkbox-icon.js";
30
- import { useCopyToClipboard as X } from "../hooks/use-copy-to-clipboard.js";
31
- import { FeedbackItemProvider as De, useFeedbackItem as de } from "../providers/feedback-item-provider.js";
32
- import { stringifyAttachments as Oe } from "../utils/get-message-metadata.js";
33
- import { dataAttr as v, maybeRender as M, getInitials as We, getMessageContent as N } from "../utils/misc.js";
18
+ import { BuiltInIconRenderer as T } from "../atoms/icons/built-in-icon-renderer.js";
19
+ import { LinkWithQueryParams as ke } from "../atoms/link.js";
20
+ import { Markdown as j } from "../atoms/markdown/index.js";
21
+ import { AttachmentItemProvider as ve, useAttachmentItem as O } from "../providers/attachment-item-provider.js";
22
+ import { AttachmentsBarProvider as Ee, useAttachmentsBar as I } from "../providers/attachments-bar-provider.js";
23
+ import { SourceItemProvider as Be, useSourceItem as H } from "../providers/source-item-provider.js";
24
+ import { useInkeepConfig as u } from "../providers/config-provider.js";
25
+ import { useInkeepConversation as G, SHARE_QUERY_PARAM as Te } from "../providers/conversation-provider.js";
26
+ import { useChatEvents as z } from "../providers/chat-events-provider.js";
27
+ import { useMessageFeedback as se } from "../providers/feedback-provider.js";
28
+ import { MessageAttachmentsProvider as ye, useMessageAttachments as Y } from "../providers/message-attachments-provider.js";
29
+ import { MessageProvider as we, useMessage as _ } from "../providers/message-provider.js";
30
+ import { CheckboxIcon as ge } from "../atoms/icons/checkbox-icon.js";
31
+ import { useCopyToClipboard as te } from "../hooks/use-copy-to-clipboard.js";
32
+ import { FeedbackItemProvider as He, useFeedbackItem as oe } from "../providers/feedback-item-provider.js";
33
+ import { stringifyAttachments as Le } from "../utils/get-message-metadata.js";
34
+ import { dataAttr as v, maybeRender as f, getInitials as De, getMessageContent as re } from "../utils/misc.js";
34
35
  import { ikp as i } from "./factory.js";
35
36
  import { useChat as g } from "./embedded-chat/chat-provider.js";
36
- import { ChatProvider as zo } from "./embedded-chat/chat-provider.js";
37
- import Qe from "./tagline-logo-icon.js";
38
- import { useSettleAction as Ne } from "../hooks/use-settle-action.js";
39
- import { useContainerSize as Re } from "../hooks/use-container-size.js";
40
- import { useChatAction as me } from "./embedded-chat/use-chat-action.js";
41
- import { useHelpMenuState as $e, HelpMenuProvider as Ve, useHelpMenu as Ue } from "../providers/help-menu-provider.js";
42
- import { useChatForm as b } from "../providers/chat-form-provider.js";
43
- import { FormFieldProvider as Ke, useFormField as L } from "../providers/form-field-provider.js";
44
- import { Controller as qe } from "react-hook-form";
45
- import { highlightEmphasis as je } from "../utils/highlight-emphasis.js";
46
- import { useModal as Pe } from "./modal/modal-provider.js";
47
- import { useColorModeValue as Ge } from "@inkeep/cxkit-color-mode";
48
- import { useComposedRefs as le } from "../utils/compose-refs.js";
37
+ import { ChatProvider as Ko } from "./embedded-chat/chat-provider.js";
38
+ import xe from "./tagline-logo-icon.js";
39
+ import { useSettleAction as Oe } from "../hooks/use-settle-action.js";
40
+ import { useContainerSize as We } from "../hooks/use-container-size.js";
41
+ import { useChatAction as ce } from "./embedded-chat/use-chat-action.js";
42
+ import { useHelpMenuState as Qe, HelpMenuProvider as Ne, useHelpMenu as Re } from "../providers/help-menu-provider.js";
43
+ import { useChatForm as A } from "../providers/chat-form-provider.js";
44
+ import { FormFieldProvider as $e, useFormField as L } from "../providers/form-field-provider.js";
45
+ import { Controller as Ve } from "react-hook-form";
46
+ import { highlightEmphasis as Ue } from "../utils/highlight-emphasis.js";
47
+ import { useModal as _e } from "./modal/modal-provider.js";
48
+ import { useColorModeValue as Ke } from "@inkeep/cxkit-color-mode";
49
+ import { useComposedRefs as de } from "../utils/compose-refs.js";
49
50
  import { composeEventHandlers as h } from "../utils/compose-event-handlers.js";
50
- import { useScrollToBottom as ze } from "../hooks/use-scroll-to-bottom.js";
51
- import { logConversation as Ye } from "../atoms/api/analytics/conversation.js";
52
- const Je = "__intro__", Xe = i("div", {
51
+ import { useScrollToBottom as qe } from "../hooks/use-scroll-to-bottom.js";
52
+ import { logConversation as je } from "../atoms/api/analytics/conversation.js";
53
+ const Ge = "__intro__", ze = i("div", {
53
54
  _id: "aiChatWrapper"
54
- }), $a = q((t, e) => {
55
- const { ...a } = t, { isHidden: s, isMobile: o } = g(), [r, c] = Re(), d = le(e, r), m = c?.width ? c.width > 580 : !0, l = Pe();
55
+ }), Wa = V((t, e) => {
56
+ const { ...a } = t, { isHidden: s, isMobile: o } = g(), [r, c] = We(), d = de(e, r), m = c?.width ? c.width > 580 : !0, l = _e();
56
57
  return /* @__PURE__ */ n(
57
- Xe,
58
+ ze,
58
59
  {
59
60
  ref: d,
60
61
  "data-widget-md": v(m),
@@ -64,39 +65,39 @@ const Je = "__intro__", Xe = i("div", {
64
65
  ...a
65
66
  }
66
67
  );
67
- }), Ze = i("div", {
68
+ }), Ye = i("div", {
68
69
  _id: "aiChatConversationLoading"
69
- }), Va = (t) => {
70
+ }), Qa = (t) => {
70
71
  const { isLoadingConversation: e } = g();
71
- return e ? /* @__PURE__ */ n(Ze, { children: /* @__PURE__ */ n("span", { children: "Loading..." }), ...t }) : null;
72
- }, et = i("div", {
72
+ return e ? /* @__PURE__ */ n(Ye, { children: /* @__PURE__ */ n("span", { children: "Loading..." }), ...t }) : null;
73
+ }, Je = i("div", {
73
74
  _id: "aiChatRoot"
74
- }), Ua = (t) => {
75
- const { isLoadingConversation: e, isHidden: a } = g(), { form: s } = b();
76
- return e || s ? null : /* @__PURE__ */ n(et, { "data-hidden": v(a), ...t });
77
- }, Ka = i("div", {
75
+ }), Na = (t) => {
76
+ const { isLoadingConversation: e, isHidden: a } = g(), { form: s } = A();
77
+ return e || s ? null : /* @__PURE__ */ n(Je, { "data-hidden": v(a), ...t });
78
+ }, Ra = i("div", {
78
79
  _id: "aiChatHeader"
79
- }), qa = i("div", {
80
+ }), $a = i("div", {
80
81
  _id: "aiChatHeader__Toolbar"
81
- }), ja = i("div", {
82
+ }), Va = i("div", {
82
83
  _id: "aiChatHeader__ToolbarHeaderWrapper"
83
- }), tt = i("div", {
84
+ }), Xe = i("div", {
84
85
  _id: "aiChatHeader__ToolbarHeader"
85
- }), Ga = F(
86
+ }), Ua = M(
86
87
  (t) => {
87
- const { aiChatSettings: e } = C(), a = `Ask ${e.aiAssistantName || "AI"}`;
88
- return /* @__PURE__ */ n(tt, { ...t, children: a });
88
+ const { aiChatSettings: e } = u(), a = `Ask ${e.aiAssistantName || "AI"}`;
89
+ return /* @__PURE__ */ n(Xe, { ...t, children: a });
89
90
  }
90
- ), za = i("div", {
91
+ ), Ka = i("div", {
91
92
  _id: "aiChatContent"
92
- }), Ya = i(R.Root, {
93
+ }), qa = i(x.Root, {
93
94
  _id: "aiChatContentScrollArea"
94
- }), it = i(R.Viewport, {
95
+ }), Ze = i(x.Viewport, {
95
96
  _id: "aiChatContentScrollArea__Viewport"
96
- }), Ja = q(({ children: t, ...e }, a) => {
97
- const { containerRef: s } = ze(), o = le(a, s);
97
+ }), ja = V(({ children: t, ...e }, a) => {
98
+ const { containerRef: s } = qe(), o = de(a, s);
98
99
  return /* @__PURE__ */ n(
99
- it,
100
+ Ze,
100
101
  {
101
102
  ref: o,
102
103
  children: (
@@ -106,44 +107,44 @@ const Je = "__intro__", Xe = i("div", {
106
107
  ...e
107
108
  }
108
109
  );
109
- }), Xa = i(
110
- R.ScrollAreaScrollbar,
110
+ }), Ga = i(
111
+ x.ScrollAreaScrollbar,
111
112
  {
112
113
  _id: "aiChatContentScrollArea__Scrollbar"
113
114
  }
114
- ), Za = i(
115
- R.ScrollAreaThumb,
115
+ ), za = i(
116
+ x.ScrollAreaThumb,
116
117
  {
117
118
  _id: "aiChatContentScrollArea__Thumb"
118
119
  }
119
- ), en = i(R.Corner, {
120
+ ), Ya = i(x.Corner, {
120
121
  _id: "aiChatContentScrollArea__Corner"
121
- }), at = i("div", {
122
+ }), et = i("div", {
122
123
  _id: "aiChatMessages"
123
- }), tn = (t) => {
124
+ }), Ja = (t) => {
124
125
  const e = g(), { children: a, ...s } = t;
125
- return /* @__PURE__ */ n(at, { children: M(a, e), ...s });
126
- }, nt = i("div", {
126
+ return /* @__PURE__ */ n(et, { children: f(a, e), ...s });
127
+ }, tt = i("div", {
127
128
  _id: "aiChatDisclaimer"
128
- }), an = F(
129
+ }), Xa = M(
129
130
  (t) => {
130
- const { aiChatSettings: e } = C();
131
- return e.disclaimerSettings?.isEnabled ? /* @__PURE__ */ n(k.Root, { children: /* @__PURE__ */ n(nt, { ...t }) }) : null;
131
+ const { aiChatSettings: e } = u();
132
+ return e.disclaimerSettings?.isEnabled ? /* @__PURE__ */ n(q.Root, { openDelay: 100, children: /* @__PURE__ */ n(tt, { ...t }) }) : null;
132
133
  }
133
- ), st = i("span", {
134
+ ), it = i("span", {
134
135
  _id: "aiChatDisclaimerLabel"
135
- }), nn = F(
136
+ }), Za = M(
136
137
  (t) => {
137
- const { aiChatSettings: e } = C(), a = e.disclaimerSettings;
138
- return /* @__PURE__ */ n(st, { children: a?.label, ...t });
138
+ const { aiChatSettings: e } = u(), a = e.disclaimerSettings;
139
+ return /* @__PURE__ */ n(it, { children: a?.label, ...t });
139
140
  }
140
- ), sn = i(k.Trigger, {
141
+ ), en = i(q.Trigger, {
141
142
  _id: "aiChatDisclaimerTrigger",
142
143
  children: /* @__PURE__ */ n(P, { iconKey: "info" })
143
- }), ot = i(k.Content, {
144
+ }), at = i(q.Content, {
144
145
  _id: "aiChatDisclaimerContent"
145
- }), on = (t) => /* @__PURE__ */ n(
146
- ot,
146
+ }), tn = (t) => /* @__PURE__ */ n(
147
+ at,
147
148
  {
148
149
  side: "top",
149
150
  sideOffset: 8,
@@ -152,91 +153,91 @@ const Je = "__intro__", Xe = i("div", {
152
153
  ...t
153
154
  }
154
155
  );
155
- i(G, {
156
+ i(j, {
156
157
  _id: "aiChatDisclaimerText"
157
158
  });
158
- const rn = F(
159
+ const an = M(
159
160
  (t) => {
160
- const { aiChatSettings: e } = C(), a = e.aiAssistantName, o = e.disclaimerSettings?.tooltip || `Information provided by ${a || "this AI assistant"} is not guaranteed to be accurate or comprehensive.`;
161
- return /* @__PURE__ */ n(G, { shouldOpenLinksInNewTab: !0, children: o, ...t });
161
+ const { aiChatSettings: e } = u(), a = e.aiAssistantName, o = e.disclaimerSettings?.tooltip || `Information provided by ${a || "this AI assistant"} is not guaranteed to be accurate or comprehensive.`;
162
+ return /* @__PURE__ */ n(j, { shouldOpenLinksInNewTab: !0, children: o, ...t });
162
163
  }
163
- ), cn = i(k.Arrow, {
164
+ ), nn = i(q.Arrow, {
164
165
  _id: "aiChatDisclaimerArrow"
165
- }), rt = i("div", {
166
+ }), nt = i("div", {
166
167
  _id: "aiChatQuickQuestions"
167
- }), dn = (t) => {
168
- const { aiChatSettings: e } = C(), { messages: a } = g();
169
- return !e.exampleQuestions?.length || a.length ? null : /* @__PURE__ */ n(rt, { ...t });
170
- }, ct = i("h3", {
168
+ }), sn = (t) => {
169
+ const { aiChatSettings: e } = u(), { messages: a } = g();
170
+ return !e.exampleQuestions?.length || a.length ? null : /* @__PURE__ */ n(nt, { ...t });
171
+ }, st = i("h3", {
171
172
  _id: "aiChatQuickQuestionsLabel"
172
- }), mn = F(
173
+ }), on = M(
173
174
  (t) => {
174
- const { aiChatSettings: e } = C();
175
- return /* @__PURE__ */ n(ct, { children: e.exampleQuestionsLabel, ...t });
175
+ const { aiChatSettings: e } = u();
176
+ return /* @__PURE__ */ n(st, { children: e.exampleQuestionsLabel, ...t });
176
177
  }
177
- ), dt = i("div", {
178
+ ), ot = i("div", {
178
179
  _id: "aiChatQuickQuestionsList"
179
- }), ln = F(
180
+ }), rn = M(
180
181
  (t) => {
181
- const { aiChatSettings: e } = C(), a = e.exampleQuestions, { children: s, ...o } = t;
182
- return /* @__PURE__ */ n(dt, { children: M(s, a), ...o });
182
+ const { aiChatSettings: e } = u(), a = e.exampleQuestions, { children: s, ...o } = t;
183
+ return /* @__PURE__ */ n(ot, { children: f(s, a), ...o });
183
184
  }
184
- ), mt = i("div", {
185
+ ), rt = i("div", {
185
186
  _id: "aiChatQuickQuestion"
186
- }), hn = q((t, e) => {
187
- const { aiChatSettings: a } = C(), s = a.isFirstExampleQuestionHighlighted;
188
- return /* @__PURE__ */ n(mt, { ref: e, "data-highlight": v(s), ...t });
189
- }), lt = i("button", {
187
+ }), cn = V((t, e) => {
188
+ const { aiChatSettings: a } = u(), s = a.isFirstExampleQuestionHighlighted;
189
+ return /* @__PURE__ */ n(rt, { ref: e, "data-highlight": v(s), ...t });
190
+ }), ct = i("button", {
190
191
  _id: "aiChatQuickQuestionButton"
191
- }), un = (t) => {
192
+ }), dn = (t) => {
192
193
  const { question: e, onClick: a, ...s } = t, { handleSubmit: o } = g();
193
194
  return /* @__PURE__ */ n(
194
- lt,
195
+ ct,
195
196
  {
196
197
  onClick: h(a, () => o(e)),
197
198
  children: e,
198
199
  ...s
199
200
  }
200
201
  );
201
- }, ht = i("div", {
202
+ }, dt = i("div", {
202
203
  _id: "aiChatWorkflows"
203
- }), Cn = (t) => {
204
- const { aiChatSettings: e } = C(), { messages: a } = g();
205
- return !e.workflows?.length || a.length ? null : /* @__PURE__ */ n(ht, { ...t });
206
- }, ut = i("h3", {
204
+ }), mn = (t) => {
205
+ const { aiChatSettings: e } = u(), { messages: a } = g();
206
+ return !e.workflows?.length || a.length ? null : /* @__PURE__ */ n(dt, { ...t });
207
+ }, mt = i("h3", {
207
208
  _id: "aiChatWorkflowsLabel"
208
- }), pn = F((t) => {
209
- const { aiChatSettings: e } = C();
210
- return /* @__PURE__ */ n(ut, { children: e.workflowsHeader, ...t });
211
- }), Ct = i("div", {
209
+ }), ln = M((t) => {
210
+ const { aiChatSettings: e } = u();
211
+ return /* @__PURE__ */ n(mt, { children: e.workflowsHeader, ...t });
212
+ }), lt = i("div", {
212
213
  _id: "aiChatWorkflowsList"
213
- }), vn = F(
214
+ }), hn = M(
214
215
  (t) => {
215
- const { aiChatSettings: e } = C(), a = e.workflows, { children: s, ...o } = t;
216
- return /* @__PURE__ */ n(Ct, { children: M(s, a), ...o });
216
+ const { aiChatSettings: e } = u(), a = e.workflows, { children: s, ...o } = t;
217
+ return /* @__PURE__ */ n(lt, { children: f(s, a), ...o });
217
218
  }
218
- ), pt = i("button", {
219
+ ), ht = i("button", {
219
220
  _id: "aiChatWorkflow"
220
- }), gn = (t) => {
221
+ }), un = (t) => {
221
222
  const { workflow: e, onClick: a, ...s } = t, { handleWorkflow: o } = g();
222
223
  return /* @__PURE__ */ n(
223
- pt,
224
+ ht,
224
225
  {
225
226
  onClick: h(a, () => o(e)),
226
227
  children: e.displayName,
227
228
  ...s
228
229
  }
229
230
  );
230
- }, vt = i(Se, {
231
+ }, ut = i(Me, {
231
232
  _id: "aiChatWorkflow__Icon"
232
- }), _n = (t) => /* @__PURE__ */ n(vt, { ...t }), gt = i("div", {
233
+ }), Cn = (t) => /* @__PURE__ */ n(ut, { ...t }), Ct = i("div", {
233
234
  _id: "aiChatMessageWrapper"
234
- }), _t = (t) => {
235
+ }), pt = (t) => {
235
236
  const { message: e, ...a } = t;
236
- return e.role === "system" ? null : /* @__PURE__ */ n(xe, { message: e, children: /* @__PURE__ */ n(gt, { "data-role": e.role, ...a }) });
237
- }, bn = F(
237
+ return e.role === "system" ? null : /* @__PURE__ */ n(we, { message: e, children: /* @__PURE__ */ n(Ct, { "data-role": e.role, ...a }) });
238
+ }, pn = M(
238
239
  (t) => {
239
- const { message: e, ...a } = t, { aiChatSettings: s, baseSettings: o } = C(), r = s.aiAssistantName, c = r ? `Hi, I'm ${r}!` : "Hi!", d = s.chatSubjectName ?? o.organizationDisplayName, m = `${c}
240
+ const { message: e, ...a } = t, { aiChatSettings: s, baseSettings: o } = u(), r = s.aiAssistantName, c = r ? `Hi, I'm ${r}!` : "Hi!", d = s.chatSubjectName ?? o.organizationDisplayName, m = `${c}
240
241
 
241
242
  I'm an AI assistant trained on documentation, help articles, and other content.`, l = d ? `
242
243
 
@@ -244,70 +245,70 @@ const rn = F(
244
245
 
245
246
  Let me know how I can help.`, p = {
246
247
  content: s.introMessage ?? `${m}${l}`,
247
- id: Je,
248
+ id: Ge,
248
249
  ...e,
249
250
  role: "assistant",
250
251
  links: []
251
252
  };
252
- return /* @__PURE__ */ n(_t, { message: p, ...a });
253
+ return /* @__PURE__ */ n(pt, { message: p, ...a });
253
254
  }
254
- ), bt = i("div", {
255
+ ), vt = i("div", {
255
256
  _id: "aiChatMessageHeader"
256
- }), An = (t) => {
257
+ }), vn = (t) => {
257
258
  const { message: e } = _();
258
- return /* @__PURE__ */ n(bt, { "data-role": e.role, ...t });
259
- }, At = i("div", {
259
+ return /* @__PURE__ */ n(vt, { "data-role": e.role, ...t });
260
+ }, gt = i("div", {
260
261
  _id: "aiChatMessageLoading"
261
- }), Pn = (t) => {
262
+ }), gn = (t) => {
262
263
  const { isLoading: e, isStreaming: a, messages: s } = g(), { message: o } = _();
263
- return !(s.at(-1)?.id === o?.id) || o.role !== "assistant" || !e || a ? null : /* @__PURE__ */ n(At, { children: "Thinking...", ...t });
264
- }, Pt = i("div", {
264
+ return !(s.at(-1)?.id === o?.id) || o.role !== "assistant" || !e || a ? null : /* @__PURE__ */ n(gt, { children: "Thinking...", ...t });
265
+ }, _t = i("div", {
265
266
  _id: "aiChatMessageAvatar"
266
- }), Fn = (t) => {
267
+ }), _n = (t) => {
267
268
  const { message: e } = _();
268
- return /* @__PURE__ */ n(Pt, { "data-role": e.role, ...t });
269
- }, Ft = i(te.Root, {
269
+ return /* @__PURE__ */ n(_t, { "data-role": e.role, ...t });
270
+ }, bt = i(ne.Root, {
270
271
  _id: "aiChatMessageAvatarContent"
271
- }), In = (t) => {
272
- const { message: e } = _(), { baseSettings: a } = C();
272
+ }), bn = (t) => {
273
+ const { message: e } = _(), { baseSettings: a } = u();
273
274
  return /* @__PURE__ */ n(
274
- Ft,
275
+ bt,
275
276
  {
276
277
  "data-username": v(e.role === "user" && !!a.userProperties.name),
277
278
  "data-role": e.role,
278
279
  ...t
279
280
  }
280
281
  );
281
- }, It = i(te.Fallback, {
282
+ }, At = i(ne.Fallback, {
282
283
  _id: "aiChatMessageAvatarFallback"
283
- }), Mn = F(
284
+ }), An = M(
284
285
  (t) => {
285
- const { baseSettings: e } = C(), { message: a } = _();
286
+ const { baseSettings: e } = u(), { message: a } = _();
286
287
  return e.userProperties.name ? /* @__PURE__ */ n(
287
- It,
288
+ At,
288
289
  {
289
290
  "data-role": a.role,
290
- children: We(e.userProperties.name),
291
+ children: De(e.userProperties.name),
291
292
  ...t
292
293
  }
293
294
  ) : null;
294
295
  }
295
- ), ve = i(te.Image, {
296
+ ), ue = i(ne.Image, {
296
297
  _id: "aiChatMessageAvatarImage"
297
- }), fn = F(
298
+ }), Pn = M(
298
299
  (t) => {
299
300
  const { onLoadingStatusChange: e, ...a } = t, {
300
301
  aiChatSettings: s,
301
302
  baseSettings: { userProperties: o }
302
- } = C(), { message: r } = _(), { aiAssistantAvatar: c } = s ?? {}, d = typeof c == "string" ? c : c?.light, m = (typeof c == "string" ? c : c?.dark) ?? d, l = Ge(d, m), [u, p] = Me(l);
303
- _e(() => {
303
+ } = u(), { message: r } = _(), { aiAssistantAvatar: c } = s ?? {}, d = typeof c == "string" ? c : c?.light, m = (typeof c == "string" ? c : c?.dark) ?? d, l = Ke(d, m), [C, p] = Pe(l);
304
+ pe(() => {
304
305
  p(l);
305
306
  }, [l]);
306
- const A = (f) => {
307
- f === "error" && p(null);
307
+ const F = (y) => {
308
+ y === "error" && p(null);
308
309
  };
309
310
  return r.role === "user" ? o.name ? null : s.userAvatar ? /* @__PURE__ */ n(
310
- ve,
311
+ ue,
311
312
  {
312
313
  "data-type": "image",
313
314
  "data-role": r.role,
@@ -315,26 +316,26 @@ const rn = F(
315
316
  ...t
316
317
  }
317
318
  ) : /* @__PURE__ */ n(
318
- Be,
319
+ Se,
319
320
  {
320
321
  "data-type": "icon",
321
322
  "data-role": r.role,
322
323
  ...t
323
324
  }
324
- ) : u ? /* @__PURE__ */ n(
325
- ve,
325
+ ) : C ? /* @__PURE__ */ n(
326
+ ue,
326
327
  {
327
- src: u,
328
+ src: C,
328
329
  "data-type": "image",
329
330
  "data-role": r.role,
330
331
  onLoadingStatusChange: h(
331
332
  e,
332
- A
333
+ F
333
334
  ),
334
335
  ...a
335
336
  }
336
337
  ) : /* @__PURE__ */ n(
337
- Ee,
338
+ fe,
338
339
  {
339
340
  "data-type": "icon",
340
341
  "data-role": r.role,
@@ -342,44 +343,44 @@ const rn = F(
342
343
  }
343
344
  );
344
345
  }
345
- ), Mt = i("span", {
346
+ ), Pt = i("span", {
346
347
  _id: "aiChatMessageName"
347
- }), Sn = (t) => {
348
+ }), Fn = (t) => {
348
349
  const { message: e } = _();
349
350
  return /* @__PURE__ */ n(
350
- Mt,
351
+ Pt,
351
352
  {
352
353
  "data-role": e.role,
353
354
  children: e.role === "user" ? "You" : "AI assistant",
354
355
  ...t
355
356
  }
356
357
  );
357
- }, ft = i("div", {
358
+ }, Ft = i("div", {
358
359
  _id: "aiChatMessageContentWrapper"
359
- }), kn = (t) => {
360
+ }), Mn = (t) => {
360
361
  const { message: e } = _();
361
- return /* @__PURE__ */ n(ft, { "data-role": e.role, ...t });
362
- }, St = i("div", {
362
+ return /* @__PURE__ */ n(Ft, { "data-role": e.role, ...t });
363
+ }, Mt = i("div", {
363
364
  _id: "aiChatMessageContent"
364
- }), En = (t) => {
365
+ }), In = (t) => {
365
366
  const { message: e } = _();
366
- return /* @__PURE__ */ n(St, { "data-role": e.role, ...t });
367
- }, kt = i("div", {
367
+ return /* @__PURE__ */ n(Mt, { "data-role": e.role, ...t });
368
+ }, It = i("div", {
368
369
  _id: "aiChatMessageAttachments"
369
- }), Bn = (t) => {
370
+ }), fn = (t) => {
370
371
  const { message: e } = _(), a = e.metadata?.attributes?.attachments;
371
- return e.role !== "user" || !a?.length ? null : /* @__PURE__ */ n(Le, { children: /* @__PURE__ */ n(kt, { ...t }) });
372
- }, Et = i("div", {
372
+ return e.role !== "user" || !a?.length ? null : /* @__PURE__ */ n(ye, { children: /* @__PURE__ */ n(It, { ...t }) });
373
+ }, ft = i("div", {
373
374
  _id: "aiChatMessageAttachments__List"
374
- }), Tn = (t) => {
375
+ }), Sn = (t) => {
375
376
  const { children: e, ...a } = t, { message: s } = _(), o = s.metadata?.attributes?.attachments;
376
- return o ? /* @__PURE__ */ n(Et, { children: M(e, o), ...a }) : null;
377
- }, Bt = i("div", {
377
+ return o ? /* @__PURE__ */ n(ft, { children: f(e, o), ...a }) : null;
378
+ }, St = i("div", {
378
379
  _id: "aiChatMessageAttachments__Item"
379
- }), yn = (t) => {
380
- const { attachment: e, onClick: a, ...s } = t, { selectItem: o, onOpen: r } = z();
381
- return /* @__PURE__ */ n(be, { attachment: e, children: /* @__PURE__ */ n(
382
- Bt,
380
+ }), kn = (t) => {
381
+ const { attachment: e, onClick: a, ...s } = t, { selectItem: o, onOpen: r } = Y();
382
+ return /* @__PURE__ */ n(ve, { attachment: e, children: /* @__PURE__ */ n(
383
+ St,
383
384
  {
384
385
  onClick: h(a, () => {
385
386
  o(e), r();
@@ -387,22 +388,22 @@ const rn = F(
387
388
  ...s
388
389
  }
389
390
  ) });
390
- }, Tt = i(B, {
391
+ }, kt = i(T, {
391
392
  _id: "aiChatMessageAttachments__ItemIcon"
392
- }), wn = (t) => {
393
- const { attachment: e } = $(), a = e.contentType?.attachmentIcon;
394
- return a ? /* @__PURE__ */ n(Tt, { iconSettings: a, ...t }) : null;
395
- }, yt = i("span", {
393
+ }), En = (t) => {
394
+ const { attachment: e } = O(), a = e.contentType?.attachmentIcon;
395
+ return a ? /* @__PURE__ */ n(kt, { iconSettings: a, ...t }) : null;
396
+ }, Et = i("span", {
396
397
  _id: "aiChatMessageAttachments__ItemTitle"
397
- }), Hn = (t) => {
398
- const { attachment: e } = $();
399
- return /* @__PURE__ */ n(yt, { children: e.title, ...t });
400
- }, wt = i(oe, {
398
+ }), Bn = (t) => {
399
+ const { attachment: e } = O();
400
+ return /* @__PURE__ */ n(Et, { children: e.title, ...t });
401
+ }, Bt = i(b.Root, {
401
402
  _id: "aiChatMessageAttachmentsPreview"
402
- }), Ln = (t) => {
403
- const { onOpenChange: e, ...a } = t, { selectItem: s, isOpen: o, onClose: r, selectedItem: c } = z();
403
+ }), Tn = (t) => {
404
+ const { onOpenChange: e, ...a } = t, { selectItem: s, isOpen: o, onClose: r, selectedItem: c } = Y();
404
405
  return /* @__PURE__ */ n(
405
- wt,
406
+ Bt,
406
407
  {
407
408
  open: o && c !== null,
408
409
  onOpenChange: h(e, (m) => {
@@ -411,45 +412,44 @@ const rn = F(
411
412
  ...a
412
413
  }
413
414
  );
414
- }, xn = i(ie, {
415
+ }, yn = i(b.Overlay, {
415
416
  _id: "aiChatMessageAttachmentsPreview__Overlay"
416
- }), Dn = i(ae, {
417
+ }), wn = i(b.Content, {
417
418
  _id: "aiChatMessageAttachmentsPreview__Content",
418
419
  "aria-describedby": void 0
419
- }), Ht = i(se, {
420
+ }), Tt = i(b.Title, {
420
421
  _id: "aiChatMessageAttachmentsPreview__Header"
421
- }), On = (t) => {
422
- const { selectedItem: e } = z();
422
+ }), Hn = (t) => {
423
+ const { selectedItem: e } = Y();
423
424
  return /* @__PURE__ */ n(
424
- Ht,
425
+ Tt,
425
426
  {
426
427
  children: e?.title || "Attachment",
427
428
  ...t
428
429
  }
429
430
  );
430
- }, Wn = i(ne, {
431
+ }, Ln = i(b.Close, {
431
432
  _id: "aiChatMessageAttachmentsPreview__Close",
432
433
  children: /* @__PURE__ */ n(P, { iconKey: "close" })
433
- }), Lt = i("p", {
434
+ }), yt = i("p", {
434
435
  _id: "aiChatMessageAttachmentsPreview__Body"
435
- }), Qn = (t) => {
436
- const { selectedItem: e } = z();
437
- return /* @__PURE__ */ n(Lt, { children: e?.content, ...t });
438
- }, ge = i("div", {
436
+ }), Dn = (t) => {
437
+ const { selectedItem: e } = Y();
438
+ return /* @__PURE__ */ n(yt, { children: e?.content, ...t });
439
+ }, Ce = i("div", {
439
440
  _id: "aiChatMessage"
440
- }), Nn = (t) => {
441
- const { aiChatSettings: e } = C(), { componentStyles: a, ...s } = t, { message: o } = _(), { logEvent: r } = V(), c = N(o), { conversation: d } = re();
442
- return o.role === "user" ? /* @__PURE__ */ n(ge, { "data-role": o.role, children: c, ...s }) : /* @__PURE__ */ n(ge, { "data-role": o.role, ...s, children: /* @__PURE__ */ n(
443
- G,
441
+ }), xn = (t) => {
442
+ const { aiChatSettings: e } = u(), { componentStyles: a, ...s } = t, { message: o } = _(), { logEvent: r } = z(), c = re(o), { conversation: d } = G();
443
+ return o.role === "user" ? /* @__PURE__ */ n(Ce, { "data-role": o.role, children: c, ...s }) : /* @__PURE__ */ n(Ce, { "data-role": o.role, ...s, children: /* @__PURE__ */ n(
444
+ j,
444
445
  {
445
446
  children: c,
446
447
  componentStyles: a,
447
448
  shouldOpenLinksInNewTab: e.shouldOpenLinksInNewTab,
448
449
  onLinkClick: (m, l) => {
449
450
  r({
450
- eventName: "chat_response_link_opened",
451
+ eventName: "assistant_message_inline_link_opened",
451
452
  properties: {
452
- messageId: o.id,
453
453
  title: l?.toString(),
454
454
  url: m
455
455
  }
@@ -457,9 +457,9 @@ const rn = F(
457
457
  },
458
458
  onCodeCopy: (m, l) => {
459
459
  r({
460
- eventName: "chat_code_block_copied",
460
+ eventName: "assistant_code_block_copied",
461
461
  properties: {
462
- conversationId: d.id,
462
+ conversation: d,
463
463
  language: m,
464
464
  code: l
465
465
  }
@@ -467,142 +467,130 @@ const rn = F(
467
467
  }
468
468
  }
469
469
  ) });
470
- }, xt = i("div", {
470
+ }, wt = i("div", {
471
471
  _id: "aiChatMessageActions"
472
- }), Rn = (t) => {
472
+ }), On = (t) => {
473
473
  const { isLoading: e, messages: a } = g(), { message: s } = _();
474
- return a.at(-1)?.id === s?.id && e || s.role === "user" ? null : /* @__PURE__ */ n(xt, { ...t });
475
- }, Dt = i("div", {
474
+ return a.at(-1)?.id === s?.id && e || s.role === "user" ? null : /* @__PURE__ */ n(wt, { ...t });
475
+ }, Ht = i("div", {
476
476
  _id: "aiChatMessageToolActions"
477
- }), $n = (t) => {
477
+ }), Wn = (t) => {
478
478
  const { children: e, ...a } = t, { message: s } = _(), { messageToolCalls: o } = g(), r = o[s.id] || [];
479
- return /* @__PURE__ */ n(Dt, { children: M(e, r), ...a });
480
- }, Vn = (t) => {
481
- const { onClick: e, action: a, ...s } = t, { logEvent: o } = V(), { message: r } = _(), { messages: c, selectedWorkflow: d } = g(), { conversation: m } = re(), { handleAction: l } = me(a), u = c.findIndex((x) => x.id === r.id), p = () => {
482
- l(), o({
483
- eventName: "toolcall_action_clicked",
484
- properties: {
485
- actionType: a.action.type,
486
- conversationId: m.id,
487
- question: N(c[u - 1]),
488
- answer: N(r),
489
- answerId: r.id,
490
- workflowId: d?.id
491
- }
492
- });
493
- }, A = a.label || "Contact Support", f = /* @__PURE__ */ K(Z, { children: [
494
- a.icon && /* @__PURE__ */ n(B, { iconSettings: a.icon }),
495
- A
496
- ] }), T = a.action.type, O = i(T === "open_link" ? "a" : "button", {
479
+ return /* @__PURE__ */ n(Ht, { children: f(e, r), ...a });
480
+ }, Qn = (t) => {
481
+ const { onClick: e, action: a, ...s } = t, { handleAction: o } = ce(a), r = () => {
482
+ o();
483
+ }, c = a.label || "Contact Support", d = /* @__PURE__ */ $(ie, { children: [
484
+ a.icon && /* @__PURE__ */ n(T, { iconSettings: a.icon }),
485
+ c
486
+ ] }), m = a.action.type, l = i(m === "open_link" ? "a" : "button", {
497
487
  _id: "aiChatMessageToolAction",
498
- children: f,
488
+ children: d,
499
489
  "data-type": a.action.type,
500
- ...T === "open_link" && {
490
+ ...m === "open_link" && {
501
491
  href: a.action.url,
502
492
  target: "_blank",
503
493
  rel: "noopener"
504
494
  },
505
- onClick: h(e, p)
495
+ onClick: h(e, r)
506
496
  });
507
- return /* @__PURE__ */ n(O, { ...s });
508
- }, Ot = i("button", {
497
+ return /* @__PURE__ */ n(l, { ...s });
498
+ }, Lt = i("button", {
509
499
  _id: "aiChatMessageAction"
510
- }), Un = (t) => {
511
- const { action: e, onClick: a, className: s, ...o } = t, { message: r } = _(), { isStreaming: c, messages: d } = g(), [m, l] = X(), { feedback: u, submitPositiveFeedback: p, setCurrentFeedback: A, currentFeedback: f } = ce(), { logEvent: T } = V(), [O, x] = Ne(), {
512
- baseSettings: { privacyPreferences: Y }
513
- } = C(), { optOutAllAnalytics: J } = Y, he = d.at(-1)?.id === r?.id, ue = r.role === "assistant";
514
- if (he && c || !ue || {
500
+ }), Nn = (t) => {
501
+ const { action: e, onClick: a, className: s, ...o } = t, { conversation: r } = G(), { message: c } = _(), { isStreaming: d, messages: m } = g(), [l, C] = te(), { feedback: p, submitPositiveFeedback: F, setCurrentFeedback: y, currentFeedback: W } = se(), { logEvent: J } = z(), [Q, X] = Oe(), {
502
+ baseSettings: { privacyPreferences: me }
503
+ } = u(), { optOutAllAnalytics: Z } = me, le = m.at(-1)?.id === c?.id, ee = c.role === "assistant";
504
+ if (le && d || !ee || {
515
505
  copy: !1,
516
- upvote: J,
517
- downvote: J
506
+ upvote: Z,
507
+ downvote: Z
518
508
  }[e]) return null;
519
- const W = {
509
+ const w = {
520
510
  copy() {
521
- l(N(r)), T({
522
- eventName: "chat_message_copied",
511
+ C(re(c)), J({
512
+ eventName: "assistant_message_copied",
523
513
  properties: {
524
- messageId: r.id
514
+ conversation: r
525
515
  }
526
516
  });
527
517
  },
528
518
  upvote() {
529
- p(r.id).then(() => {
530
- x();
519
+ F(c.id).then(() => {
520
+ X();
531
521
  });
532
522
  },
533
523
  downvote() {
534
- A(r.id);
524
+ y(c.id);
535
525
  }
536
- }, y = {
526
+ }, D = {
537
527
  copy: "Copy Message",
538
528
  upvote: "Upvote Message",
539
529
  downvote: "Downvote Message"
540
- }, Q = {
541
- copy: /* @__PURE__ */ n(P, { iconKey: m ? "messageCopied" : "messageCopy" }),
542
- upvote: /* @__PURE__ */ n(P, { iconKey: O ? "messageCopied" : "thumbsUp" }),
530
+ }, k = {
531
+ copy: /* @__PURE__ */ n(P, { iconKey: l ? "messageCopied" : "messageCopy" }),
532
+ upvote: /* @__PURE__ */ n(P, { iconKey: Q ? "messageCopied" : "thumbsUp" }),
543
533
  downvote: /* @__PURE__ */ n(P, { iconKey: "thumbsDown" })
544
- }, w = {
545
- copy: { "data-copied": v(m) },
534
+ }, E = {
535
+ copy: { "data-copied": v(l) },
546
536
  upvote: {
547
- "data-upvoted": v(u[r.id]?.type === "positive")
537
+ "data-upvoted": v(p[c.id]?.type === "positive")
548
538
  },
549
539
  downvote: {
550
- "data-downvoted": v(u[r.id]?.type === "negative"),
551
- "data-state": f === null ? "closed" : "open"
540
+ "data-downvoted": v(p[c.id]?.type === "negative"),
541
+ "data-state": W === null ? "closed" : "open"
552
542
  }
553
543
  };
554
544
  return /* @__PURE__ */ n(
555
- Ot,
545
+ Lt,
556
546
  {
557
547
  "data-action": e,
558
- ...w[e],
559
- children: Q[e],
560
- "aria-label": y[e],
548
+ ...E[e],
549
+ children: k[e],
550
+ "aria-label": D[e],
561
551
  className: `${s} ${e}`,
562
- onClick: h(a, W[e]),
552
+ onClick: h(a, w[e]),
563
553
  ...o
564
554
  }
565
555
  );
566
- }, Wt = i("div", {
556
+ }, Dt = i("div", {
567
557
  _id: "aiChatMessageSources"
568
- }), Kn = (t) => {
558
+ }), Rn = (t) => {
569
559
  const { message: e } = _();
570
- return e.role !== "assistant" || !e.links?.length ? null : /* @__PURE__ */ n(Wt, { ...t });
571
- }, Qt = i("div", {
560
+ return e.role !== "assistant" || !e.links?.length ? null : /* @__PURE__ */ n(Dt, { ...t });
561
+ }, xt = i("div", {
572
562
  _id: "aiChatMessageSources__Header"
573
- }), qn = (t) => /* @__PURE__ */ n(Qt, { children: "Sources", ...t }), Nt = i("div", {
563
+ }), $n = (t) => /* @__PURE__ */ n(xt, { children: "Sources", ...t }), Ot = i("div", {
574
564
  _id: "aiChatMessageSources__List"
575
- }), jn = (t) => {
565
+ }), Vn = (t) => {
576
566
  const { message: e } = _(), { children: a, ...s } = t, {
577
567
  baseSettings: { transformSource: o, organizationDisplayName: r },
578
568
  aiChatSettings: { shouldOpenLinksInNewTab: c },
579
569
  searchSettings: { tabs: d }
580
- } = C();
570
+ } = u();
581
571
  if (e.role !== "assistant") return null;
582
572
  const m = e.links.map((l) => {
583
- const u = o(l, "chatSourceItem", {
573
+ const C = o(l, "chatSourceItem", {
584
574
  organizationDisplayName: r,
585
575
  tabs: d
586
- }), p = c || u.shouldOpenInNewTab;
587
- return { ...u, isExternal: p };
576
+ }), p = c || C.shouldOpenInNewTab;
577
+ return { ...C, isExternal: p };
588
578
  });
589
- return /* @__PURE__ */ n(Nt, { children: M(a, m), ...s });
590
- }, Rt = i(Te, {
579
+ return /* @__PURE__ */ n(Ot, { children: f(a, m), ...s });
580
+ }, Wt = i(ke, {
591
581
  _id: "aiChatMessageSourceItem"
592
- }), Gn = (t) => {
593
- const { source: e, onClick: a, ...s } = t, { logEvent: o } = V(), { message: r } = _(), c = () => {
582
+ }), Un = (t) => {
583
+ const { source: e, onClick: a, ...s } = t, { logEvent: o } = z(), { conversation: r } = G(), c = () => {
594
584
  o({
595
- eventName: "chat_response_source_item_clicked",
585
+ eventName: "assistant_source_item_clicked",
596
586
  properties: {
597
- messageId: r.id,
598
- sourceType: e.type,
599
- title: e.title,
600
- url: e.url
587
+ conversation: r,
588
+ link: e
601
589
  }
602
590
  });
603
591
  };
604
- return /* @__PURE__ */ n(we, { source: e, children: /* @__PURE__ */ n(
605
- Rt,
592
+ return /* @__PURE__ */ n(Be, { source: e, children: /* @__PURE__ */ n(
593
+ Wt,
606
594
  {
607
595
  "data-type": e.type,
608
596
  appendToUrl: e.appendToUrl,
@@ -612,47 +600,47 @@ const rn = F(
612
600
  ...s
613
601
  }
614
602
  ) });
615
- }, $t = i("div", {
603
+ }, Qt = i("div", {
616
604
  _id: "aiChatMessageSourceItem__Breadcrumbs"
617
- }), zn = (t) => {
605
+ }), Kn = (t) => {
618
606
  const { source: e } = H();
619
- return e.breadcrumbs?.length ? /* @__PURE__ */ n($t, { "data-type": e.type, ...t }) : null;
620
- }, Yn = i(P, {
607
+ return e.breadcrumbs?.length ? /* @__PURE__ */ n(Qt, { "data-type": e.type, ...t }) : null;
608
+ }, qn = i(P, {
621
609
  _id: "aiChatMessageSourceItem__BreadcrumbIcon",
622
610
  iconKey: "breadcrumbSeparator"
623
- }), Vt = i(B, {
611
+ }), Nt = i(T, {
624
612
  _id: "aiChatMessageSourceItem__Icon"
625
- }), Jn = (t) => {
613
+ }), jn = (t) => {
626
614
  const { source: e } = H();
627
- return /* @__PURE__ */ n(Vt, { iconSettings: e.icon, "data-type": e.type, ...t });
628
- }, Ut = i("span", {
615
+ return /* @__PURE__ */ n(Nt, { iconSettings: e.icon, "data-type": e.type, ...t });
616
+ }, Rt = i("span", {
629
617
  _id: "aiChatMessageSourceItem__Title"
630
- }), Xn = (t) => {
618
+ }), Gn = (t) => {
631
619
  const { source: e } = H();
632
- return /* @__PURE__ */ n(Ut, { "data-type": e.type, children: e.title, ...t });
633
- }, Kt = i("span", {
620
+ return /* @__PURE__ */ n(Rt, { "data-type": e.type, children: e.title, ...t });
621
+ }, $t = i("span", {
634
622
  _id: "aiChatMessageSourceItem__Tag"
635
- }), Zn = (t) => {
623
+ }), zn = (t) => {
636
624
  const { source: e } = H();
637
- return /* @__PURE__ */ n(Kt, { "data-type": e.type, ...t });
638
- }, qt = i("span", {
625
+ return /* @__PURE__ */ n($t, { "data-type": e.type, ...t });
626
+ }, Vt = i("span", {
639
627
  _id: "aiChatMessageSourceItem__Description"
640
- }), es = (t) => {
641
- const { source: e } = H(), { children: a, ...s } = t, o = fe(() => e.description ? je(e.description) : [], [e.description]);
628
+ }), Yn = (t) => {
629
+ const { source: e } = H(), { children: a, ...s } = t, o = Fe(() => e.description ? Ue(e.description) : [], [e.description]);
642
630
  return o.length ? /* @__PURE__ */ n(
643
- qt,
631
+ Vt,
644
632
  {
645
633
  "data-type": e.type,
646
- children: M(a, o),
634
+ children: f(a, o),
647
635
  ...s
648
636
  }
649
637
  ) : null;
650
- }, jt = i("span", {
638
+ }, Ut = i("span", {
651
639
  _id: "aiChatMessageSourceItem__DescriptionPart"
652
- }), ts = (t) => {
640
+ }), Jn = (t) => {
653
641
  const { part: e, ...a } = t, { source: s } = H();
654
642
  return typeof e == "string" ? e : /* @__PURE__ */ n(
655
- jt,
643
+ Ut,
656
644
  {
657
645
  "data-type": s.type,
658
646
  children: e.content,
@@ -660,55 +648,55 @@ const rn = F(
660
648
  ...a
661
649
  }
662
650
  );
663
- }, Gt = i(P, {
651
+ }, Kt = i(P, {
664
652
  _id: "aiChatMessageSourceItem__Indicator"
665
- }), is = (t) => {
653
+ }), Xn = (t) => {
666
654
  const { source: e } = H();
667
655
  return /* @__PURE__ */ n(
668
- Gt,
656
+ Kt,
669
657
  {
670
658
  iconKey: e.isExternal ? "openLinkInNewTab" : "openLinkInSameTab",
671
659
  ...t
672
660
  }
673
661
  );
674
- }, as = i("div", {
662
+ }, Zn = i("div", {
675
663
  _id: "aiChatFooter"
676
- }), ns = i("div", {
664
+ }), es = i("div", {
677
665
  _id: "aiChatInput__Fieldset"
678
- }), ss = i("div", {
666
+ }), ts = i("div", {
679
667
  _id: "aiChatInput__Group"
680
- }), zt = i("textarea", {
668
+ }), qt = i("textarea", {
681
669
  _id: "aiChatInput"
682
- }), os = q(({ onChange: t, onKeyDown: e, ...a }, s) => {
683
- const { handleInputChange: o, handleInputKeyDown: r, input: c, error: d, shouldAutoFocusInput: m, inputRef: l } = g(), { aiChatSettings: u } = C(), p = le(
670
+ }), is = V(({ onChange: t, onKeyDown: e, ...a }, s) => {
671
+ const { handleInputChange: o, handleInputKeyDown: r, input: c, error: d, shouldAutoFocusInput: m, inputRef: l } = g(), { aiChatSettings: C } = u(), p = de(
684
672
  s,
685
673
  l
686
- ), A = Pe();
687
- return _e(() => {
674
+ ), F = _e();
675
+ return pe(() => {
688
676
  requestAnimationFrame(() => {
689
677
  m && l?.current && (l.current.focus(), l.current.selectionStart = l.current.value.length);
690
678
  });
691
- }, [m, l, A?.isOpen]), /* @__PURE__ */ n(
692
- zt,
679
+ }, [m, l, F?.isOpen]), /* @__PURE__ */ n(
680
+ qt,
693
681
  {
694
682
  asChild: !0,
695
683
  ref: p,
696
684
  maxLength: 99999,
697
- placeholder: u.placeholder,
685
+ placeholder: C.placeholder,
698
686
  value: c,
699
687
  onChange: h(t, o),
700
688
  onKeyDown: h(e, r),
701
- disabled: !!d || u.isViewOnly,
689
+ disabled: !!d || C.isViewOnly,
702
690
  ...a,
703
- children: /* @__PURE__ */ n(ee, {})
691
+ children: /* @__PURE__ */ n(ae, {})
704
692
  }
705
693
  );
706
- }), Yt = i("button", {
694
+ }), jt = i("button", {
707
695
  _id: "aiChatInput__SendButton"
708
- }), rs = (t) => {
709
- const { handleSubmit: e, isSubmitDisabled: a, error: s } = g(), { aiChatSettings: o } = C(), { onClick: r, ...c } = t;
696
+ }), as = (t) => {
697
+ const { handleSubmit: e, isSubmitDisabled: a, error: s } = g(), { aiChatSettings: o } = u(), { onClick: r, ...c } = t;
710
698
  return /* @__PURE__ */ n(
711
- Yt,
699
+ jt,
712
700
  {
713
701
  onClick: h(r, () => e()),
714
702
  "aria-label": "Send message",
@@ -716,40 +704,40 @@ const rn = F(
716
704
  ...c
717
705
  }
718
706
  );
719
- }, cs = i(P, {
707
+ }, ns = i(P, {
720
708
  _id: "aiChatInput__SendButtonIcon",
721
709
  iconKey: "chatSubmit"
722
- }), Jt = i("div", {
710
+ }), Gt = i("div", {
723
711
  _id: "aiChatAttachmentsBar"
724
- }), ds = (t) => {
712
+ }), ss = (t) => {
725
713
  const { selectedWorkflow: e } = g();
726
- return !e || !e.supportedInputs?.length ? null : /* @__PURE__ */ n(ye, { children: /* @__PURE__ */ n(Jt, { ...t }) });
727
- }, Xt = i("div", {
714
+ return !e || !e.supportedInputs?.length ? null : /* @__PURE__ */ n(Ee, { children: /* @__PURE__ */ n(Gt, { ...t }) });
715
+ }, zt = i("div", {
728
716
  _id: "aiChatAttachmentsBar__List"
729
- }), ms = (t) => {
717
+ }), os = (t) => {
730
718
  const { children: e, ...a } = t, { messageAttachments: s } = g();
731
- return /* @__PURE__ */ n(Xt, { children: M(e, s), ...a });
732
- }, Zt = i("div", {
719
+ return /* @__PURE__ */ n(zt, { children: f(e, s), ...a });
720
+ }, Yt = i("div", {
733
721
  _id: "aiChatAttachmentsBar__Attachment"
734
- }), ls = (t) => {
722
+ }), rs = (t) => {
735
723
  const { attachment: e, ...a } = t;
736
- return /* @__PURE__ */ n(be, { attachment: e, children: /* @__PURE__ */ n(Zt, { ...a }) });
737
- }, ei = i(B, {
724
+ return /* @__PURE__ */ n(ve, { attachment: e, children: /* @__PURE__ */ n(Yt, { ...a }) });
725
+ }, Jt = i(T, {
738
726
  _id: "aiChatAttachmentsBar__AttachmentIcon"
739
- }), hs = (t) => {
740
- const { attachment: e } = $(), a = e.contentType?.attachmentIcon;
741
- return a ? /* @__PURE__ */ n(ei, { iconSettings: a, ...t }) : null;
742
- }, ti = i("span", {
727
+ }), cs = (t) => {
728
+ const { attachment: e } = O(), a = e.contentType?.attachmentIcon;
729
+ return a ? /* @__PURE__ */ n(Jt, { iconSettings: a, ...t }) : null;
730
+ }, Xt = i("span", {
743
731
  _id: "aiChatAttachmentsBar__AttachmentTitle"
744
- }), us = (t) => {
745
- const { attachment: e } = $();
746
- return /* @__PURE__ */ n(ti, { children: e.title, ...t });
747
- }, ii = i("button", {
732
+ }), ds = (t) => {
733
+ const { attachment: e } = O();
734
+ return /* @__PURE__ */ n(Xt, { children: e.title, ...t });
735
+ }, Zt = i("button", {
748
736
  _id: "aiChatAttachmentsBar__AttachmentDelete"
749
- }), Cs = (t) => {
750
- const { onClick: e, ...a } = t, { attachment: s } = $(), { setMessageAttachments: o } = g();
737
+ }), ms = (t) => {
738
+ const { onClick: e, ...a } = t, { attachment: s } = O(), { setMessageAttachments: o } = g();
751
739
  return /* @__PURE__ */ n(
752
- ii,
740
+ Zt,
753
741
  {
754
742
  "aria-label": "Remove attachment",
755
743
  children: /* @__PURE__ */ n(P, { iconKey: "close" }),
@@ -759,60 +747,60 @@ const rn = F(
759
747
  ...a
760
748
  }
761
749
  );
762
- }, ps = i("div", {
750
+ }, ls = i("div", {
763
751
  _id: "aiChatAttachmentsBar__Actions"
764
- }), vs = i(E.Tooltip, {
752
+ }), hs = i(B.Tooltip, {
765
753
  _id: "aiChatAttachmentsBar__InfoTip",
766
754
  delayDuration: 0
767
- }), gs = i(E.Trigger, {
755
+ }), us = i(B.Trigger, {
768
756
  _id: "aiChatAttachmentsBar__InfoTipIcon",
769
757
  children: /* @__PURE__ */ n(P, { iconKey: "info" })
770
- }), ai = i(E.Arrow, {
758
+ }), ei = i(B.Arrow, {
771
759
  _id: "aiChatAttachmentsBar__InfoTipArrow"
772
- }), _s = i(E.Content, {
760
+ }), Cs = i(B.Content, {
773
761
  _id: "aiChatAttachmentsBar__InfoTipText",
774
762
  side: "bottom",
775
763
  sideOffset: 3,
776
764
  align: "center",
777
- children: /* @__PURE__ */ K(Z, { children: [
778
- /* @__PURE__ */ n(ai, {}),
765
+ children: /* @__PURE__ */ $(ie, { children: [
766
+ /* @__PURE__ */ n(ei, {}),
779
767
  "Attachments will be kept in context for the entire conversation."
780
768
  ] })
781
- }), ni = i("div", {
769
+ }), ti = i("div", {
782
770
  _id: "aiChatAttachmentsBar__Inputs"
783
- }), bs = (t) => {
771
+ }), ps = (t) => {
784
772
  const { children: e, ...a } = t, { selectedWorkflow: s } = g();
785
773
  return s?.supportedInputs ? /* @__PURE__ */ n(
786
- ni,
774
+ ti,
787
775
  {
788
- children: M(e, s.supportedInputs),
776
+ children: f(e, s.supportedInputs),
789
777
  ...a
790
778
  }
791
779
  ) : null;
792
- }, si = i("button", {
780
+ }, ii = i("button", {
793
781
  _id: "aiChatAttachmentsBar__Input"
794
- }), As = (t) => {
782
+ }), vs = (t) => {
795
783
  const { input: e, onClick: a, ...s } = t, { selectedWorkflow: o, messageAttachments: r, setMessageAttachments: c } = g(), { selectInput: d, onOpen: m } = I(), l = () => {
796
784
  if (e.type === "FUNCTIONAL_MULTI_ATTACHMENT")
797
785
  return o ? e.onInvoke(o, e, c, [...r]) : void 0;
798
786
  d(e), m();
799
787
  };
800
788
  return /* @__PURE__ */ n(
801
- si,
789
+ ii,
802
790
  {
803
791
  children: e.displayName,
804
792
  onClick: h(a, l),
805
793
  ...s
806
794
  }
807
795
  );
808
- }, Ps = i(ke, {
796
+ }, gs = i(Ie, {
809
797
  _id: "aiChatAttachmentsBar__InputIcon"
810
- }), oi = i(oe, {
798
+ }), ai = i(b.Root, {
811
799
  _id: "aiChatAttachmentsBar__Modal"
812
- }), Fs = (t) => {
800
+ }), _s = (t) => {
813
801
  const { onOpenChange: e, ...a } = t, { selectInput: s, isOpen: o, onClose: r, selectedInput: c } = I();
814
802
  return /* @__PURE__ */ n(
815
- oi,
803
+ ai,
816
804
  {
817
805
  open: o && c !== null,
818
806
  onOpenChange: h(e, (m) => {
@@ -821,65 +809,65 @@ const rn = F(
821
809
  ...a
822
810
  }
823
811
  );
824
- }, Is = i(ie, {
812
+ }, bs = i(b.Overlay, {
825
813
  _id: "aiChatAttachmentsBar__ModalOverlay"
826
- }), Ms = i(ae, {
814
+ }), As = i(b.Content, {
827
815
  _id: "aiChatAttachmentsBar__ModalContent",
828
816
  "aria-describedby": void 0
829
- }), fs = i("div", {
817
+ }), Ps = i("div", {
830
818
  _id: "aiChatAttachmentsBar__ModalHeader"
831
- }), ri = i(se, {
819
+ }), ni = i(b.Title, {
832
820
  _id: "aiChatAttachmentsBar__ModalHeading"
833
- }), Ss = (t) => {
821
+ }), Fs = (t) => {
834
822
  const { selectedInput: e } = I(), a = `Add ${e?.displayName}`;
835
- return /* @__PURE__ */ n(ri, { children: a, ...t });
836
- }, ci = i("span", {
823
+ return /* @__PURE__ */ n(ni, { children: a, ...t });
824
+ }, si = i("span", {
837
825
  _id: "aiChatAttachmentsBar__ModalDescription"
838
- }), ks = (t) => {
826
+ }), Ms = (t) => {
839
827
  const { selectedInput: e } = I(), a = e?.workflowModalProps?.modalHelpText;
840
- return a ? /* @__PURE__ */ n(ci, { children: a, ...t }) : null;
841
- }, di = i("div", {
828
+ return a ? /* @__PURE__ */ n(si, { children: a, ...t }) : null;
829
+ }, oi = i("div", {
842
830
  _id: "aiChatAttachmentsBar__ModalHelp"
843
- }), Es = (t) => {
831
+ }), Is = (t) => {
844
832
  const { children: e, ...a } = t, { selectedInput: s } = I(), o = s?.workflowModalProps?.modalHelpElement;
845
- return o ? /* @__PURE__ */ n(di, { asChild: !e, children: e || o, ...a }) : null;
846
- }, Bs = i(ne, {
833
+ return o ? /* @__PURE__ */ n(oi, { asChild: !e, children: e || o, ...a }) : null;
834
+ }, fs = i(b.Close, {
847
835
  _id: "aiChatAttachmentsBar__ModalClose",
848
836
  children: /* @__PURE__ */ n(P, { iconKey: "close" })
849
- }), Ts = i("div", {
837
+ }), Ss = i("div", {
850
838
  _id: "aiChatAttachmentsBar__ModalBody"
851
- }), mi = i("form", {
839
+ }), ri = i("form", {
852
840
  _id: "aiChatAttachmentsBar__Form"
853
- }), ys = (t) => {
841
+ }), ks = (t) => {
854
842
  const { onSubmit: e, ...a } = t, { form: s } = I();
855
843
  return /* @__PURE__ */ n(
856
- mi,
844
+ ri,
857
845
  {
858
846
  onSubmit: h(e, s.onSubmit),
859
847
  ...a
860
848
  }
861
849
  );
862
- }, ws = i("div", {
850
+ }, Es = i("div", {
863
851
  _id: "aiChatAttachmentsBar__FormTitle",
864
852
  role: "group"
865
- }), li = i("label", {
853
+ }), ci = i("label", {
866
854
  _id: "aiChatAttachmentsBar__FormTitleLabel"
867
- }), Hs = (t) => {
855
+ }), Bs = (t) => {
868
856
  const { form: e, selectedInput: a } = I();
869
857
  return /* @__PURE__ */ n(
870
- li,
858
+ ci,
871
859
  {
872
860
  htmlFor: `${a?.id}-title`,
873
861
  children: e.labels.title,
874
862
  ...t
875
863
  }
876
864
  );
877
- }, hi = i("input", {
865
+ }, di = i("input", {
878
866
  _id: "aiChatAttachmentsBar__FormTitleInput"
879
- }), Ls = (t) => {
867
+ }), Ts = (t) => {
880
868
  const { onChange: e, ...a } = t, { form: s, selectedInput: o } = I();
881
869
  return /* @__PURE__ */ n(
882
- hi,
870
+ di,
883
871
  {
884
872
  name: "title",
885
873
  value: s.data.title,
@@ -890,39 +878,39 @@ const rn = F(
890
878
  ...a
891
879
  }
892
880
  );
893
- }, ui = i("span", {
881
+ }, mi = i("span", {
894
882
  _id: "aiChatAttachmentsBar__FormTitleError"
895
- }), xs = (t) => {
883
+ }), ys = (t) => {
896
884
  const { form: e } = I();
897
885
  return e.errors.title ? /* @__PURE__ */ n(
898
- ui,
886
+ mi,
899
887
  {
900
888
  "aria-live": "polite",
901
889
  children: e.errors.title,
902
890
  ...t
903
891
  }
904
892
  ) : null;
905
- }, Ds = i("div", {
893
+ }, ws = i("div", {
906
894
  _id: "aiChatAttachmentsBar__FormTitle",
907
895
  role: "group"
908
- }), Ci = i("label", {
896
+ }), li = i("label", {
909
897
  _id: "aiChatAttachmentsBar__FormContentLabel"
910
- }), Os = (t) => {
898
+ }), Hs = (t) => {
911
899
  const { form: e, selectedInput: a } = I();
912
900
  return /* @__PURE__ */ n(
913
- Ci,
901
+ li,
914
902
  {
915
903
  htmlFor: `${a?.id}-content`,
916
904
  children: e.labels.content,
917
905
  ...t
918
906
  }
919
907
  );
920
- }, pi = i("textarea", {
908
+ }, hi = i("textarea", {
921
909
  _id: "aiChatAttachmentsBar__FormTitleInput"
922
- }), Ws = (t) => {
910
+ }), Ls = (t) => {
923
911
  const { onChange: e, ...a } = t, { form: s, selectedInput: o } = I();
924
912
  return /* @__PURE__ */ n(
925
- pi,
913
+ hi,
926
914
  {
927
915
  asChild: !0,
928
916
  rows: 4,
@@ -933,169 +921,170 @@ const rn = F(
933
921
  "aria-invalid": !!s.errors.content,
934
922
  onChange: h(e, s.onChange),
935
923
  ...a,
936
- children: /* @__PURE__ */ n(ee, { maxRows: 10 })
924
+ children: /* @__PURE__ */ n(ae, { maxRows: 10 })
937
925
  }
938
926
  );
939
- }, vi = i("span", {
927
+ }, ui = i("span", {
940
928
  _id: "aiChatAttachmentsBar__FormContentError"
941
- }), Qs = (t) => {
929
+ }), Ds = (t) => {
942
930
  const { form: e } = I();
943
931
  return e.errors.content ? /* @__PURE__ */ n(
944
- vi,
932
+ ui,
945
933
  {
946
934
  "aria-live": "polite",
947
935
  children: e.errors.content,
948
936
  ...t
949
937
  }
950
938
  ) : null;
951
- }, Ns = i("button", {
939
+ }, xs = i("button", {
952
940
  _id: "aiChatAttachmentsBar__FormSubmitButton",
953
941
  children: "Upload",
954
942
  type: "submit"
955
- }), Rs = i("div", {
943
+ }), Os = i("div", {
956
944
  _id: "aiChatActionBar"
957
- }), $s = i("div", {
945
+ }), Ws = i("div", {
958
946
  _id: "aiChat__ChatActions"
959
- }), Vs = i("div", {
947
+ }), Qs = i("div", {
960
948
  _id: "aiChatTagline__Container"
961
- }), Us = i("span", {
949
+ }), Ns = i("span", {
962
950
  _id: "aiChatTagline__Text",
963
951
  children: "Powered by"
964
- }), Ks = i(Qe, {
952
+ }), Rs = i(xe, {
965
953
  _id: "aiChatTagline__Logo"
966
- }), qs = i("a", {
954
+ }), $s = i("a", {
967
955
  _id: "aiChatTagline__BrandName",
968
956
  children: "inkeep",
969
957
  href: "https://www.inkeep.com/",
970
958
  target: "_blank",
971
959
  rel: "noopener noreferrer"
972
- }), gi = i("div", {
960
+ }), Ci = i("div", {
973
961
  _id: "aiChat__ChatAction"
974
- }), Fe = (t) => {
975
- const { action: e, onClick: a, className: s, ...o } = t, { clear: r, stop: c, isLoading: d, messages: m, selectedWorkflow: l } = g(), { conversation: u } = re(), { aiChatSettings: p, baseSettings: A } = C(), { logEvent: f } = V(), [T, O] = X(), [x, Y] = X();
962
+ }), be = (t) => {
963
+ const { action: e, onClick: a, className: s, ...o } = t, { clear: r, stop: c, isLoading: d, messages: m, selectedWorkflow: l } = g(), { conversation: C } = G(), { aiChatSettings: p, baseSettings: F } = u(), { logEvent: y } = z(), [W, J] = te(), [Q, X] = te();
976
964
  if ({
977
965
  help: !1,
978
966
  copy: m.length === 0 || !p.isCopyChatButtonVisible || d,
979
- share: m.length === 0 || !p.isShareButtonVisible || !u.id || !!l || d,
967
+ share: m.length === 0 || !p.isShareButtonVisible || !C.id || !!l || d,
980
968
  clear: m.length === 0 || p.isViewOnly || d,
981
969
  stop: !d
982
970
  }[e]) return null;
983
- const Ce = {
971
+ const ee = {
984
972
  // Help actions are handled by HelpAction component
985
973
  help: () => {
986
974
  },
987
975
  copy: () => {
988
- const W = m.map((y) => {
989
- const Q = `**${y.role === "assistant" ? "AI Assistant" : "User"}**`, w = N(y), D = Oe(y.metadata?.attributes?.attachments), U = D ? `
976
+ const N = m.map((w) => {
977
+ const D = `**${w.role === "assistant" ? "AI Assistant" : "User"}**`, k = re(w), E = Le(w.metadata?.attributes?.attachments), R = E ? `
990
978
 
991
979
  **Attachments**
992
980
 
993
- ${D}` : "";
994
- return `${Q}
981
+ ${E}` : "";
982
+ return `${D}
995
983
 
996
- ${w}${U}`;
984
+ ${k}${R}`;
997
985
  }).join(`
998
986
 
999
987
  ---
1000
988
 
1001
989
  `);
1002
- O(W);
990
+ J(N);
1003
991
  },
1004
992
  share: async () => {
1005
- const W = {
993
+ const N = {
1006
994
  visibility: "public",
1007
995
  tags: [],
1008
996
  userProperties: {},
1009
- messages: u.messages.map((D) => ({
1010
- ...D,
1011
- id: Date.now().toString() + D.id,
997
+ messages: C.messages.map((E) => ({
998
+ ...E,
999
+ id: Date.now().toString() + E.id,
1012
1000
  conversationId: void 0
1013
1001
  }))
1014
- }, { apiKey: y, analyticsApiBaseUrl: Q } = A, w = await Ye(
1002
+ }, { apiKey: w, analyticsApiBaseUrl: D } = F, k = await je(
1015
1003
  "",
1016
- W,
1017
- y,
1018
- Q
1004
+ N,
1005
+ w,
1006
+ D
1019
1007
  );
1020
- if (w) {
1021
- const U = `${p.shareChatUrlBasePath}?${He}=${w?.id}`;
1022
- Y(U), f({
1008
+ if (k) {
1009
+ const R = `${p.shareChatUrlBasePath}?${Te}=${k?.id}`;
1010
+ X(R), y({
1023
1011
  eventName: "chat_share_button_clicked",
1024
1012
  properties: {
1025
- sharedConversationId: w?.id,
1026
- originalConversationId: u.id,
1027
- sharedChatUrl: U
1013
+ sharedConversationId: k?.id,
1014
+ originalConversationId: C.id,
1015
+ sharedChatUrl: R,
1016
+ conversation: k
1028
1017
  }
1029
1018
  });
1030
1019
  }
1031
1020
  },
1032
1021
  clear: r,
1033
1022
  stop: c
1034
- }, pe = {
1035
- copy: T,
1036
- share: x
1023
+ }, he = {
1024
+ copy: W,
1025
+ share: Q
1037
1026
  };
1038
- return /* @__PURE__ */ n(E.Tooltip, { delayDuration: 0, open: pe[e], children: /* @__PURE__ */ n(
1039
- gi,
1027
+ return /* @__PURE__ */ n(B.Tooltip, { delayDuration: 0, open: he[e], children: /* @__PURE__ */ n(
1028
+ Ci,
1040
1029
  {
1041
1030
  "data-type": e,
1042
- "data-copied": v(T || x),
1031
+ "data-copied": v(W || Q),
1043
1032
  className: `${s} ${e}`,
1044
- children: /* @__PURE__ */ n(bi, { action: e }),
1045
- onClick: h(a, Ce[e]),
1033
+ children: /* @__PURE__ */ n(vi, { action: e }),
1034
+ onClick: h(a, ee[e]),
1046
1035
  ...o
1047
1036
  }
1048
1037
  ) });
1049
- }, _i = i(E.Trigger, {
1038
+ }, pi = i(B.Trigger, {
1050
1039
  _id: "aiChat__ChatActionLabel"
1051
- }), bi = (t) => {
1052
- const { action: e, ...a } = t, { aiChatSettings: s } = C(), o = s.toolbarButtonLabels ?? {}, r = {
1040
+ }), vi = (t) => {
1041
+ const { action: e, ...a } = t, { aiChatSettings: s } = u(), o = s.toolbarButtonLabels ?? {}, r = {
1053
1042
  help: o.getHelp ?? "Get Help",
1054
1043
  copy: o.copyChat ?? "Copy",
1055
1044
  share: o.share ?? "Share",
1056
1045
  clear: o.clear ?? "Clear",
1057
1046
  stop: o.stop ?? "Stop"
1058
1047
  };
1059
- return /* @__PURE__ */ n(_i, { children: r[e], ...a });
1060
- }, Ai = i(E.TooltipContent, {
1048
+ return /* @__PURE__ */ n(pi, { children: r[e], ...a });
1049
+ }, gi = i(B.TooltipContent, {
1061
1050
  _id: "aiChat__ChatActionFeeback"
1062
- }), js = (t) => {
1051
+ }), Vs = (t) => {
1063
1052
  const { action: e, children: a, ...s } = t, o = {
1064
1053
  copy: "Copied!",
1065
1054
  share: "Link copied!"
1066
1055
  };
1067
- return /* @__PURE__ */ K(Ai, { sideOffset: 5, ...s, children: [
1068
- /* @__PURE__ */ n(E.Arrow, {}),
1056
+ return /* @__PURE__ */ $(gi, { sideOffset: 5, ...s, children: [
1057
+ /* @__PURE__ */ n(B.Arrow, {}),
1069
1058
  a || o[e]
1070
1059
  ] });
1071
- }, Pi = i(k.Root, {
1060
+ }, _i = i(K.Root, {
1072
1061
  _id: "aiChatHelpActions"
1073
- }), Gs = (t) => {
1074
- const { children: e, ...a } = t, { aiChatSettings: s } = C(), { getHelpOptions: o } = s;
1062
+ }), Us = (t) => {
1063
+ const { children: e, ...a } = t, { aiChatSettings: s } = u(), { getHelpOptions: o } = s;
1075
1064
  if (!o || (o ?? []).length === 0)
1076
1065
  return null;
1077
1066
  const { _pinned: r, _unpinned: c } = o.reduce(
1078
- (u, p) => {
1079
- const A = p.isPinnedToToolbar ? "_pinned" : "_unpinned";
1080
- return { ...u, [A]: [...u[A], p] };
1067
+ (C, p) => {
1068
+ const F = p.isPinnedToToolbar ? "_pinned" : "_unpinned";
1069
+ return { ...C, [F]: [...C[F], p] };
1081
1070
  },
1082
1071
  { _pinned: [], _unpinned: [] }
1083
- ), d = c.length === 1 ? [...r, c[0]] : r, m = c.length === 1 ? [] : c, l = $e();
1084
- return /* @__PURE__ */ n(Ve, { value: l, children: /* @__PURE__ */ n(
1085
- Pi,
1072
+ ), d = c.length === 1 ? [...r, c[0]] : r, m = c.length === 1 ? [] : c, l = Qe();
1073
+ return /* @__PURE__ */ n(Ne, { value: l, children: /* @__PURE__ */ n(
1074
+ _i,
1086
1075
  {
1087
1076
  open: l.open,
1088
1077
  onOpenChange: l.setOpen,
1089
- children: M(e, { pinned: d, unpinned: m }),
1078
+ children: f(e, { pinned: d, unpinned: m }),
1090
1079
  ...a
1091
1080
  }
1092
1081
  ) });
1093
- }, Fi = i(Fe, {
1082
+ }, bi = i(be, {
1094
1083
  _id: "aiChatHelpAction"
1095
- }), zs = (t) => {
1096
- const { action: e, onClick: a, ...s } = t, { handleAction: o, logHelpAction: r } = me(e), c = e.action.type, d = c === "open_link" ? /* @__PURE__ */ n("a", { href: e.action.url, target: "_blank", rel: "noreferrer", children: e.name }) : e.name;
1084
+ }), Ks = (t) => {
1085
+ const { action: e, onClick: a, ...s } = t, { handleAction: o, logHelpAction: r } = ce(e), c = e.action.type, d = c === "open_link" ? /* @__PURE__ */ n("a", { href: e.action.url, target: "_blank", rel: "noreferrer", children: e.name }) : e.name;
1097
1086
  return /* @__PURE__ */ n(
1098
- Fi,
1087
+ bi,
1099
1088
  {
1100
1089
  action: "help",
1101
1090
  "aria-label": e.name,
@@ -1108,17 +1097,17 @@ ${w}${U}`;
1108
1097
  ...s
1109
1098
  }
1110
1099
  );
1111
- }, Ii = i(k.Trigger, {
1100
+ }, Ai = i(K.Trigger, {
1112
1101
  _id: "aiChatHelpActions__Trigger"
1113
- }), Ys = F(
1102
+ }), qs = M(
1114
1103
  (t) => {
1115
- const { aiChatSettings: e } = C();
1116
- return /* @__PURE__ */ n(Fe, { action: "help", ...t, asChild: !0, children: /* @__PURE__ */ n(Ii, { children: e.toolbarButtonLabels?.getHelp ?? "Get Help" }) });
1104
+ const { aiChatSettings: e } = u();
1105
+ return /* @__PURE__ */ n(be, { action: "help", ...t, asChild: !0, children: /* @__PURE__ */ n(Ai, { children: e.toolbarButtonLabels?.getHelp ?? "Get Help" }) });
1117
1106
  }
1118
- ), Mi = i(k.Content, {
1107
+ ), Pi = i(K.Content, {
1119
1108
  _id: "aiChatHelpActions__Menu"
1120
- }), Js = (t) => /* @__PURE__ */ n(
1121
- Mi,
1109
+ }), js = (t) => /* @__PURE__ */ n(
1110
+ Pi,
1122
1111
  {
1123
1112
  side: "top",
1124
1113
  sideOffset: 8,
@@ -1126,10 +1115,10 @@ ${w}${U}`;
1126
1115
  alignOffset: -10,
1127
1116
  ...t
1128
1117
  }
1129
- ), Xs = i(k.Arrow, {
1118
+ ), Gs = i(K.Arrow, {
1130
1119
  _id: "aiChatHelpActions__MenuArrow"
1131
- }), Zs = (t) => {
1132
- const { action: e, onClick: a, ...s } = t, { handleAction: o, logHelpAction: r } = me(e), { setOpen: c } = Ue(), d = () => {
1120
+ }), zs = (t) => {
1121
+ const { action: e, onClick: a, ...s } = t, { handleAction: o, logHelpAction: r } = ce(e), { setOpen: c } = Re(), d = () => {
1133
1122
  o({
1134
1123
  onOpenForm: () => c(!1)
1135
1124
  }), r();
@@ -1147,58 +1136,58 @@ ${w}${U}`;
1147
1136
  onClick: h(a, d)
1148
1137
  });
1149
1138
  return /* @__PURE__ */ n(l, { ...s });
1150
- }, fi = i(B, {
1139
+ }, Fi = i(T, {
1151
1140
  _id: "aiChatHelpActions_MenuItemIcon"
1152
- }), eo = (t) => {
1141
+ }), Ys = (t) => {
1153
1142
  const { action: e, ...a } = t;
1154
- return e.icon ? /* @__PURE__ */ n(fi, { iconSettings: e.icon, ...a }) : null;
1155
- }, Si = i(oe, {
1143
+ return e.icon ? /* @__PURE__ */ n(Fi, { iconSettings: e.icon, ...a }) : null;
1144
+ }, Mi = i(b.Root, {
1156
1145
  _id: "aiChatFeedbackModal"
1157
- }), to = (t) => {
1158
- const { onOpenChange: e, ...a } = t, { currentFeedback: s, setCurrentFeedback: o } = ce();
1146
+ }), Js = (t) => {
1147
+ const { onOpenChange: e, ...a } = t, { currentFeedback: s, setCurrentFeedback: o } = se();
1159
1148
  return /* @__PURE__ */ n(
1160
- Si,
1149
+ Mi,
1161
1150
  {
1162
1151
  open: s !== null,
1163
1152
  onOpenChange: h(e, () => o(null)),
1164
1153
  ...a
1165
1154
  }
1166
1155
  );
1167
- }, io = i(ie, {
1156
+ }, Xs = i(b.Overlay, {
1168
1157
  _id: "aiChatFeedbackModal__Overlay"
1169
- }), ao = i(ae, {
1158
+ }), Zs = i(b.Content, {
1170
1159
  _id: "aiChatFeedbackModal__Content",
1171
1160
  "aria-describedby": void 0
1172
- }), no = i(se, {
1161
+ }), eo = i(b.Title, {
1173
1162
  _id: "aiChatFeedbackModal__Header",
1174
1163
  children: "Help improve my answers!"
1175
- }), so = i(ne, {
1164
+ }), to = i(b.Close, {
1176
1165
  _id: "aiChatFeedbackModal__Close",
1177
1166
  children: /* @__PURE__ */ n(P, { iconKey: "close" })
1178
- }), oo = i("div", {
1167
+ }), io = i("div", {
1179
1168
  _id: "aiChatFeedbackModal__Body"
1180
- }), ki = i("form", {
1169
+ }), Ii = i("form", {
1181
1170
  _id: "aiChatFeedbackForm"
1182
- }), ro = (t) => {
1183
- const { onSubmit: e, ...a } = t, { submitNegativeFeedback: s, currentFeedback: o, setCurrentFeedback: r } = ce();
1184
- return /* @__PURE__ */ n(ki, { onSubmit: h(e, (d) => {
1171
+ }), ao = (t) => {
1172
+ const { onSubmit: e, ...a } = t, { submitNegativeFeedback: s, currentFeedback: o, setCurrentFeedback: r } = se();
1173
+ return /* @__PURE__ */ n(Ii, { onSubmit: h(e, (d) => {
1185
1174
  d.preventDefault();
1186
- const m = d.target, l = new FormData(m), u = Object.fromEntries(l.entries());
1187
- o && (s(o, u), r(null));
1175
+ const m = d.target, l = new FormData(m), C = Object.fromEntries(l.entries());
1176
+ o && (s(o, C), r(null));
1188
1177
  }), ...a });
1189
- }, Ei = i("div", {
1178
+ }, fi = i("div", {
1190
1179
  _id: "aiChatFeedbackItem"
1191
- }), co = (t) => {
1180
+ }), no = (t) => {
1192
1181
  const { name: e, ...a } = t;
1193
- return /* @__PURE__ */ n(De, { name: e, children: /* @__PURE__ */ n(Ei, { ...a }) });
1194
- }, Bi = i(j.Root, {
1182
+ return /* @__PURE__ */ n(He, { name: e, children: /* @__PURE__ */ n(fi, { ...a }) });
1183
+ }, Si = i(U.Root, {
1195
1184
  _id: "aiChatFeedbackItem__Checkbox"
1196
- }), mo = (t) => {
1197
- const { name: e, focusItem: a } = de(), { onCheckedChange: s, ...o } = t, r = (c) => {
1185
+ }), so = (t) => {
1186
+ const { name: e, focusItem: a } = oe(), { onCheckedChange: s, ...o } = t, r = (c) => {
1198
1187
  c && a?.current?.focus();
1199
1188
  };
1200
1189
  return /* @__PURE__ */ n(
1201
- Bi,
1190
+ Si,
1202
1191
  {
1203
1192
  id: `feedback-${e}`,
1204
1193
  name: e,
@@ -1206,75 +1195,75 @@ ${w}${U}`;
1206
1195
  ...o
1207
1196
  }
1208
1197
  );
1209
- }, lo = i(j.Indicator, {
1198
+ }, oo = i(U.Indicator, {
1210
1199
  _id: "aiChatFeedbackItem__CheckboxIndicator",
1211
- children: /* @__PURE__ */ n(Ae, {})
1212
- }), Ti = i("label", {
1200
+ children: /* @__PURE__ */ n(ge, {})
1201
+ }), ki = i("label", {
1213
1202
  _id: "aiChatFeedbackItem__Label"
1214
- }), ho = (t) => {
1215
- const { name: e } = de(), a = {
1203
+ }), ro = (t) => {
1204
+ const { name: e } = oe(), a = {
1216
1205
  unrelated_response: "Didn't answer my question",
1217
1206
  inaccurate_statement: "Inaccurate statement",
1218
1207
  inaccurate_code_snippet: "Inaccurate code snippet",
1219
1208
  irrelevant_citations: "Irrelevant citations"
1220
1209
  };
1221
- return /* @__PURE__ */ n(Ti, { htmlFor: `feedback-${e}`, children: a[e], ...t });
1222
- }, yi = i("textarea", {
1210
+ return /* @__PURE__ */ n(ki, { htmlFor: `feedback-${e}`, children: a[e], ...t });
1211
+ }, Ei = i("textarea", {
1223
1212
  _id: "aiChatFeedbackItem__Description",
1224
1213
  placeholder: "Please describe"
1225
- }), uo = (t) => {
1226
- const { name: e, focusItem: a } = de();
1214
+ }), co = (t) => {
1215
+ const { name: e, focusItem: a } = oe();
1227
1216
  return /* @__PURE__ */ n(
1228
- yi,
1217
+ Ei,
1229
1218
  {
1230
1219
  ref: a,
1231
1220
  name: `${e}:description`,
1232
1221
  ...t
1233
1222
  }
1234
1223
  );
1235
- }, Co = i("button", {
1224
+ }, mo = i("button", {
1236
1225
  _id: "aiChatFeedbackForm__SubmitButton",
1237
1226
  children: "Submit",
1238
1227
  type: "submit"
1239
- }), wi = i("div", {
1228
+ }), Bi = i("div", {
1240
1229
  _id: "aiChatForm__Wrapper"
1241
- }), po = (t) => {
1242
- const { form: e } = b();
1243
- return e ? /* @__PURE__ */ n(wi, { ...t }) : null;
1244
- }, Hi = i("form", {
1230
+ }), lo = (t) => {
1231
+ const { form: e } = A();
1232
+ return e ? /* @__PURE__ */ n(Bi, { ...t }) : null;
1233
+ }, Ti = i("form", {
1245
1234
  _id: "aiChatForm"
1246
- }), vo = (t) => {
1247
- const { onSubmit: e, ...a } = t, { handleSubmit: s, isSuccess: o } = b();
1248
- return o ? null : /* @__PURE__ */ n(Hi, { onSubmit: h(e, s), ...a });
1249
- }, Li = i("button", {
1235
+ }), ho = (t) => {
1236
+ const { onSubmit: e, ...a } = t, { handleSubmit: s, isSuccess: o } = A();
1237
+ return o ? null : /* @__PURE__ */ n(Ti, { onSubmit: h(e, s), ...a });
1238
+ }, yi = i("button", {
1250
1239
  _id: "aiChatForm__Close",
1251
1240
  children: /* @__PURE__ */ n(P, { iconKey: "close" })
1252
- }), go = (t) => {
1253
- const { onClick: e, ...a } = t, { closeForm: s } = b();
1254
- return /* @__PURE__ */ n(Li, { onClick: h(e, s), ...a });
1255
- }, _o = i("div", {
1241
+ }), uo = (t) => {
1242
+ const { onClick: e, ...a } = t, { closeForm: s } = A();
1243
+ return /* @__PURE__ */ n(yi, { onClick: h(e, s), ...a });
1244
+ }, Co = i("div", {
1256
1245
  _id: "aiChatForm__Header"
1257
- }), xi = i("h2", {
1246
+ }), wi = i("h2", {
1258
1247
  _id: "aiChatForm__Heading"
1259
- }), bo = (t) => {
1260
- const { form: e } = b();
1261
- return e?.heading ? /* @__PURE__ */ n(xi, { children: e.heading, ...t }) : null;
1262
- }, Di = i("span", {
1248
+ }), po = (t) => {
1249
+ const { form: e } = A();
1250
+ return e?.heading ? /* @__PURE__ */ n(wi, { children: e.heading, ...t }) : null;
1251
+ }, Hi = i("span", {
1263
1252
  _id: "aiChatForm__Description"
1264
- }), Ao = (t) => {
1265
- const { form: e } = b();
1266
- return e?.description ? /* @__PURE__ */ n(Di, { children: e.description, ...t }) : null;
1267
- }, Oi = i("div", {
1253
+ }), vo = (t) => {
1254
+ const { form: e } = A();
1255
+ return e?.description ? /* @__PURE__ */ n(Hi, { children: e.description, ...t }) : null;
1256
+ }, Li = i("div", {
1268
1257
  _id: "aiChatForm__Content"
1269
- }), Po = (t) => {
1270
- const { children: e, ...a } = t, { fields: s = [] } = b();
1271
- return /* @__PURE__ */ n(Oi, { children: M(e, s), ...a });
1272
- }, Wi = i("div", {
1258
+ }), go = (t) => {
1259
+ const { children: e, ...a } = t, { fields: s = [] } = A();
1260
+ return /* @__PURE__ */ n(Li, { children: f(e, s), ...a });
1261
+ }, Di = i("div", {
1273
1262
  _id: "aiChatForm__Field"
1274
- }), Fo = (t) => {
1275
- const { field: e, autoFocus: a, ...s } = t, { control: o, errors: r } = b();
1263
+ }), _o = (t) => {
1264
+ const { field: e, autoFocus: a, ...s } = t, { control: o, errors: r } = A();
1276
1265
  return /* @__PURE__ */ n(
1277
- qe,
1266
+ Ve,
1278
1267
  {
1279
1268
  name: e.name,
1280
1269
  control: o,
@@ -1282,14 +1271,14 @@ ${w}${U}`;
1282
1271
  render: ({ field: c }) => {
1283
1272
  const d = c.value !== void 0 || e.inputType === "file";
1284
1273
  return /* @__PURE__ */ n(
1285
- Ke,
1274
+ $e,
1286
1275
  {
1287
1276
  "data-invalid": v(!!r[e.name]),
1288
1277
  field: e,
1289
1278
  fieldProps: c,
1290
1279
  autoFocus: a,
1291
1280
  children: d && /* @__PURE__ */ n(
1292
- Wi,
1281
+ Di,
1293
1282
  {
1294
1283
  "data-input-type": e.inputType,
1295
1284
  "data-hidden": v(e.isHidden),
@@ -1301,12 +1290,12 @@ ${w}${U}`;
1301
1290
  }
1302
1291
  }
1303
1292
  );
1304
- }, Qi = i("label", {
1293
+ }, xi = i("label", {
1305
1294
  _id: "aiChatForm__FieldLabel"
1306
- }), Io = (t) => {
1295
+ }), bo = (t) => {
1307
1296
  const { field: e } = L();
1308
1297
  return /* @__PURE__ */ n(
1309
- Qi,
1298
+ xi,
1310
1299
  {
1311
1300
  "data-required": v(e.isRequired),
1312
1301
  htmlFor: e.name,
@@ -1314,10 +1303,10 @@ ${w}${U}`;
1314
1303
  ...t
1315
1304
  }
1316
1305
  );
1317
- }, Ni = i("input", {
1306
+ }, Oi = i("input", {
1318
1307
  _id: "aiChatForm__FieldText",
1319
1308
  type: "text"
1320
- }), Ie = (t) => {
1309
+ }), Ae = (t) => {
1321
1310
  const {
1322
1311
  field: e,
1323
1312
  error: a,
@@ -1325,7 +1314,7 @@ ${w}${U}`;
1325
1314
  autoFocus: c
1326
1315
  } = L(), { onChange: d, onBlur: m, ...l } = t;
1327
1316
  return /* @__PURE__ */ n(
1328
- Ni,
1317
+ Oi,
1329
1318
  {
1330
1319
  id: e.name,
1331
1320
  autoFocus: c,
@@ -1337,47 +1326,47 @@ ${w}${U}`;
1337
1326
  ...l
1338
1327
  }
1339
1328
  );
1340
- }, Mo = i(Ie, {
1329
+ }, Ao = i(Ae, {
1341
1330
  _id: "aiChatForm__FieldEmail",
1342
1331
  type: "email"
1343
- }), Ri = i("input", {
1332
+ }), Wi = i("input", {
1344
1333
  _id: "aiChatForm__FieldFile",
1345
1334
  type: "file",
1346
1335
  multiple: !0
1347
- }), fo = (t) => {
1336
+ }), Po = (t) => {
1348
1337
  const {
1349
1338
  field: e,
1350
1339
  error: a,
1351
1340
  fieldProps: { value: s, onChange: o, onBlur: r, ...c },
1352
1341
  autoFocus: d
1353
- } = L(), { onChange: m, onBlur: l, ...u } = t, p = (A) => {
1354
- const f = A.target.files;
1355
- o(f);
1342
+ } = L(), { onChange: m, onBlur: l, ...C } = t, p = (F) => {
1343
+ const y = F.target.files;
1344
+ o(y);
1356
1345
  };
1357
1346
  return /* @__PURE__ */ n(
1358
- Ri,
1347
+ Wi,
1359
1348
  {
1360
1349
  id: e.name,
1361
1350
  autoFocus: d,
1362
1351
  "data-value": s,
1363
1352
  "data-invalid": v(!!a),
1364
- ...u,
1353
+ ...C,
1365
1354
  ...c,
1366
1355
  onChange: h(m, p),
1367
1356
  onBlur: h(l, r)
1368
1357
  }
1369
1358
  );
1370
- }, So = i(Ie, {
1359
+ }, Fo = i(Ae, {
1371
1360
  _id: "aiChatForm__FieldTextArea",
1372
1361
  type: "textarea",
1373
1362
  asChild: !0,
1374
- children: /* @__PURE__ */ n(ee, { maxRows: 8 })
1375
- }), $i = i(j.Root, {
1363
+ children: /* @__PURE__ */ n(ae, { maxRows: 8 })
1364
+ }), Qi = i(U.Root, {
1376
1365
  _id: "aiChatForm__FieldCheckbox"
1377
- }), ko = (t) => {
1366
+ }), Mo = (t) => {
1378
1367
  const { field: e, error: a, fieldProps: s, autoFocus: o } = L(), { onCheckedChange: r, ...c } = t;
1379
1368
  return /* @__PURE__ */ n(
1380
- $i,
1369
+ Qi,
1381
1370
  {
1382
1371
  id: e.name,
1383
1372
  name: e.name,
@@ -1388,15 +1377,15 @@ ${w}${U}`;
1388
1377
  ...c
1389
1378
  }
1390
1379
  );
1391
- }, Eo = i(j.Indicator, {
1380
+ }, Io = i(U.Indicator, {
1392
1381
  _id: "aiChatForm__FieldCheckboxIndicator",
1393
- children: /* @__PURE__ */ n(Ae, {})
1394
- }), Vi = i(S.Root, {
1382
+ children: /* @__PURE__ */ n(ge, {})
1383
+ }), Ni = i(S.Root, {
1395
1384
  _id: "aiChatForm__FieldSelect"
1396
- }), Bo = (t) => {
1385
+ }), fo = (t) => {
1397
1386
  const { field: e, error: a, fieldProps: s } = L(), { onValueChange: o, ...r } = t;
1398
1387
  return /* @__PURE__ */ n(
1399
- Vi,
1388
+ Ni,
1400
1389
  {
1401
1390
  name: e.name,
1402
1391
  "data-invalid": v(!!a),
@@ -1405,90 +1394,90 @@ ${w}${U}`;
1405
1394
  ...r
1406
1395
  }
1407
1396
  );
1408
- }, To = i(S.Trigger, {
1397
+ }, So = i(S.Trigger, {
1409
1398
  _id: "aiChatForm__FieldSelect__Trigger"
1410
- }), Ui = i(S.Value, {
1399
+ }), Ri = i(S.Value, {
1411
1400
  _id: "aiChatForm__FieldSelect__Value"
1412
- }), yo = (t) => {
1401
+ }), ko = (t) => {
1413
1402
  const { field: e } = L();
1414
1403
  return /* @__PURE__ */ n(
1415
- Ui,
1404
+ Ri,
1416
1405
  {
1417
1406
  placeholder: "placeholder" in e ? e.placeholder : void 0,
1418
1407
  ...t
1419
1408
  }
1420
1409
  );
1421
- }, wo = i(S.Icon, {
1410
+ }, Eo = i(S.Icon, {
1422
1411
  _id: "aiChatForm__FieldSelect__Icon",
1423
1412
  asChild: !0,
1424
- children: /* @__PURE__ */ n(B, { iconSettings: { builtIn: "LuChevronDown" } })
1425
- }), Ho = i(S.Content, {
1413
+ children: /* @__PURE__ */ n(T, { iconSettings: { builtIn: "LuChevronDown" } })
1414
+ }), Bo = i(S.Content, {
1426
1415
  _id: "aiChatForm__FieldSelect__Content",
1427
1416
  position: "popper"
1428
- }), Lo = i(S.Viewport, {
1417
+ }), To = i(S.Viewport, {
1429
1418
  _id: "aiChatForm__FieldSelect__Viewport"
1430
- }), xo = i(S.Item, {
1419
+ }), yo = i(S.Item, {
1431
1420
  _id: "aiChatForm__FieldSelect__Item"
1432
- }), Do = i(S.ItemText, {
1421
+ }), wo = i(S.ItemText, {
1433
1422
  _id: "aiChatForm__FieldSelect__ItemText"
1434
- }), Oo = i(
1423
+ }), Ho = i(
1435
1424
  S.ItemIndicator,
1436
1425
  {
1437
1426
  _id: "aiChatForm__FieldSelect__ItemIndicator",
1438
1427
  asChild: !0,
1439
- children: /* @__PURE__ */ n(B, { iconSettings: { builtIn: "LuCheck" } })
1428
+ children: /* @__PURE__ */ n(T, { iconSettings: { builtIn: "LuCheck" } })
1440
1429
  }
1441
- ), Ki = i("span", {
1430
+ ), $i = i("span", {
1442
1431
  _id: "aiChatForm__FieldError"
1443
- }), Wo = (t) => {
1432
+ }), Lo = (t) => {
1444
1433
  const { error: e } = L();
1445
- return e ? /* @__PURE__ */ n(Ki, { children: e.message?.toString(), ...t }) : null;
1446
- }, qi = i("span", {
1434
+ return e ? /* @__PURE__ */ n($i, { children: e.message?.toString(), ...t }) : null;
1435
+ }, Vi = i("span", {
1447
1436
  _id: "aiChatForm__Error"
1448
- }), Qo = (t) => {
1449
- const { formError: e } = b();
1450
- return e ? /* @__PURE__ */ n(qi, { children: e.message, ...t }) : null;
1451
- }, No = i("div", {
1437
+ }), Do = (t) => {
1438
+ const { formError: e } = A();
1439
+ return e ? /* @__PURE__ */ n(Vi, { children: e.message, ...t }) : null;
1440
+ }, xo = i("div", {
1452
1441
  _id: "aiChatForm__Footer"
1453
- }), ji = i("button", {
1442
+ }), Ui = i("button", {
1454
1443
  _id: "aiChatForm__Cancel",
1455
1444
  children: "Cancel"
1456
- }), Ro = (t) => {
1457
- const { onClick: e, ...a } = t, { closeForm: s } = b();
1458
- return /* @__PURE__ */ n(ji, { onClick: h(e, s), ...a });
1459
- }, Gi = i("button", {
1445
+ }), Oo = (t) => {
1446
+ const { onClick: e, ...a } = t, { closeForm: s } = A();
1447
+ return /* @__PURE__ */ n(Ui, { onClick: h(e, s), ...a });
1448
+ }, Ki = i("button", {
1460
1449
  _id: "aiChatForm__Submit",
1461
1450
  children: "Submit",
1462
1451
  type: "submit"
1463
- }), $o = (t) => {
1464
- const { onClick: e, ...a } = t, { isSubmitting: s } = b();
1465
- return /* @__PURE__ */ n(Gi, { disabled: s, ...a });
1466
- }, zi = i("div", {
1452
+ }), Wo = (t) => {
1453
+ const { onClick: e, ...a } = t, { isSubmitting: s } = A();
1454
+ return /* @__PURE__ */ n(Ki, { disabled: s, ...a });
1455
+ }, qi = i("div", {
1467
1456
  _id: "aiChatForm__Success"
1468
- }), Vo = (t) => {
1469
- const { isSuccess: e } = b();
1470
- return e ? /* @__PURE__ */ n(zi, { ...t }) : null;
1471
- }, Yi = i("h2", {
1457
+ }), Qo = (t) => {
1458
+ const { isSuccess: e } = A();
1459
+ return e ? /* @__PURE__ */ n(qi, { ...t }) : null;
1460
+ }, ji = i("h2", {
1472
1461
  _id: "aiChatForm__SuccessHeading"
1473
- }), Uo = (t) => {
1474
- const { form: e } = b();
1475
- return /* @__PURE__ */ n(Yi, { children: e?.successView.heading, ...t });
1476
- }, Ji = i(G, {
1462
+ }), No = (t) => {
1463
+ const { form: e } = A();
1464
+ return /* @__PURE__ */ n(ji, { children: e?.successView.heading, ...t });
1465
+ }, Gi = i(j, {
1477
1466
  _id: "aiChatForm__SuccessMessage"
1478
- }), Ko = (t) => {
1479
- const { form: e } = b();
1480
- return /* @__PURE__ */ n(Ji, { children: e?.successView.message, ...t });
1481
- }, Xi = i("button", {
1467
+ }), Ro = (t) => {
1468
+ const { form: e } = A();
1469
+ return /* @__PURE__ */ n(Gi, { children: e?.successView.message, ...t });
1470
+ }, zi = i("button", {
1482
1471
  _id: "aiChatForm__SuccessButton"
1483
- }), qo = (t) => {
1484
- const { onClick: e, ...a } = t, { form: s, closeForm: o } = b(), r = s?.successView?.button;
1472
+ }), $o = (t) => {
1473
+ const { onClick: e, ...a } = t, { form: s, closeForm: o } = A(), r = s?.successView?.doneButton;
1485
1474
  if (!r) return null;
1486
- const c = r.icon && /* @__PURE__ */ n(B, { iconSettings: r.icon }), d = r.label;
1475
+ const c = r.icon && /* @__PURE__ */ n(T, { iconSettings: r.icon }), d = r.label;
1487
1476
  return /* @__PURE__ */ n(
1488
- Xi,
1477
+ zi,
1489
1478
  {
1490
1479
  onClick: h(e, o),
1491
- children: /* @__PURE__ */ K(Z, { children: [
1480
+ children: /* @__PURE__ */ $(ie, { children: [
1492
1481
  c,
1493
1482
  d
1494
1483
  ] }),
@@ -1497,343 +1486,343 @@ ${w}${U}`;
1497
1486
  );
1498
1487
  };
1499
1488
  export {
1500
- Rs as ActionBar,
1501
- $s as Actions,
1502
- ds as AttachmentsBar,
1503
- ps as AttachmentsBarActions,
1504
- ls as AttachmentsBarAttachment,
1505
- Cs as AttachmentsBarAttachmentDelete,
1506
- hs as AttachmentsBarAttachmentIcon,
1507
- us as AttachmentsBarAttachmentTitle,
1508
- ys as AttachmentsBarForm,
1509
- Ds as AttachmentsBarFormContent,
1510
- Qs as AttachmentsBarFormContentError,
1511
- Ws as AttachmentsBarFormContentInput,
1512
- Os as AttachmentsBarFormContentLabel,
1513
- Ns as AttachmentsBarFormSubmitButton,
1514
- ws as AttachmentsBarFormTitle,
1515
- xs as AttachmentsBarFormTitleError,
1516
- Ls as AttachmentsBarFormTitleInput,
1517
- Hs as AttachmentsBarFormTitleLabel,
1518
- vs as AttachmentsBarInfoTip,
1519
- ai as AttachmentsBarInfoTipArrow,
1520
- gs as AttachmentsBarInfoTipIcon,
1521
- _s as AttachmentsBarInfoTipText,
1522
- As as AttachmentsBarInput,
1523
- Ps as AttachmentsBarInputIcon,
1524
- bs as AttachmentsBarInputs,
1525
- ms as AttachmentsBarList,
1526
- Fs as AttachmentsBarModal,
1527
- Ts as AttachmentsBarModalBody,
1528
- Bs as AttachmentsBarModalClose,
1529
- Ms as AttachmentsBarModalContent,
1530
- ks as AttachmentsBarModalDescription,
1531
- fs as AttachmentsBarModalHeader,
1532
- Ss as AttachmentsBarModalHeading,
1533
- Es as AttachmentsBarModalHelp,
1534
- Is as AttachmentsBarModalOverlay,
1535
- Fe as ChatAction,
1536
- js as ChatActionFeedback,
1537
- bi as ChatActionLabel,
1538
- zs as ChatHelpAction,
1539
- za as Content,
1540
- Ya as ContentScrollArea,
1541
- en as ContentScrollAreaCorner,
1542
- Xa as ContentScrollAreaScrollbar,
1543
- Za as ContentScrollAreaThumb,
1544
- Ja as ContentScrollAreaViewport,
1545
- Va as ConversationLoading,
1546
- an as Disclaimer,
1547
- cn as DisclaimerArrow,
1548
- on as DisclaimerContent,
1549
- nn as DisclaimerLabel,
1550
- rn as DisclaimerText,
1551
- sn as DisclaimerTrigger,
1552
- Rs as EmbeddedChatPrimitiveActionBar,
1553
- $s as EmbeddedChatPrimitiveActions,
1554
- ds as EmbeddedChatPrimitiveAttachmentsBar,
1555
- ps as EmbeddedChatPrimitiveAttachmentsBarActions,
1556
- ls as EmbeddedChatPrimitiveAttachmentsBarAttachment,
1557
- Cs as EmbeddedChatPrimitiveAttachmentsBarAttachmentDelete,
1558
- hs as EmbeddedChatPrimitiveAttachmentsBarAttachmentIcon,
1559
- us as EmbeddedChatPrimitiveAttachmentsBarAttachmentTitle,
1560
- ys as EmbeddedChatPrimitiveAttachmentsBarForm,
1561
- Ds as EmbeddedChatPrimitiveAttachmentsBarFormContent,
1562
- Qs as EmbeddedChatPrimitiveAttachmentsBarFormContentError,
1563
- Ws as EmbeddedChatPrimitiveAttachmentsBarFormContentInput,
1564
- Os as EmbeddedChatPrimitiveAttachmentsBarFormContentLabel,
1565
- Ns as EmbeddedChatPrimitiveAttachmentsBarFormSubmitButton,
1566
- ws as EmbeddedChatPrimitiveAttachmentsBarFormTitle,
1567
- xs as EmbeddedChatPrimitiveAttachmentsBarFormTitleError,
1568
- Ls as EmbeddedChatPrimitiveAttachmentsBarFormTitleInput,
1569
- Hs as EmbeddedChatPrimitiveAttachmentsBarFormTitleLabel,
1570
- vs as EmbeddedChatPrimitiveAttachmentsBarInfoTip,
1571
- ai as EmbeddedChatPrimitiveAttachmentsBarInfoTipArrow,
1572
- gs as EmbeddedChatPrimitiveAttachmentsBarInfoTipIcon,
1573
- _s as EmbeddedChatPrimitiveAttachmentsBarInfoTipText,
1574
- As as EmbeddedChatPrimitiveAttachmentsBarInput,
1575
- Ps as EmbeddedChatPrimitiveAttachmentsBarInputIcon,
1576
- bs as EmbeddedChatPrimitiveAttachmentsBarInputs,
1577
- ms as EmbeddedChatPrimitiveAttachmentsBarList,
1578
- Fs as EmbeddedChatPrimitiveAttachmentsBarModal,
1579
- Ts as EmbeddedChatPrimitiveAttachmentsBarModalBody,
1580
- Bs as EmbeddedChatPrimitiveAttachmentsBarModalClose,
1581
- Ms as EmbeddedChatPrimitiveAttachmentsBarModalContent,
1582
- ks as EmbeddedChatPrimitiveAttachmentsBarModalDescription,
1583
- fs as EmbeddedChatPrimitiveAttachmentsBarModalHeader,
1584
- Ss as EmbeddedChatPrimitiveAttachmentsBarModalHeading,
1585
- Es as EmbeddedChatPrimitiveAttachmentsBarModalHelp,
1586
- Is as EmbeddedChatPrimitiveAttachmentsBarModalOverlay,
1587
- Fe as EmbeddedChatPrimitiveChatAction,
1588
- js as EmbeddedChatPrimitiveChatActionFeedback,
1589
- bi as EmbeddedChatPrimitiveChatActionLabel,
1590
- zs as EmbeddedChatPrimitiveChatHelpAction,
1591
- za as EmbeddedChatPrimitiveContent,
1592
- Ya as EmbeddedChatPrimitiveContentScrollArea,
1593
- en as EmbeddedChatPrimitiveContentScrollAreaCorner,
1594
- Xa as EmbeddedChatPrimitiveContentScrollAreaScrollbar,
1595
- Za as EmbeddedChatPrimitiveContentScrollAreaThumb,
1596
- Ja as EmbeddedChatPrimitiveContentScrollAreaViewport,
1597
- Va as EmbeddedChatPrimitiveConversationLoading,
1598
- an as EmbeddedChatPrimitiveDisclaimer,
1599
- cn as EmbeddedChatPrimitiveDisclaimerArrow,
1600
- on as EmbeddedChatPrimitiveDisclaimerContent,
1601
- nn as EmbeddedChatPrimitiveDisclaimerLabel,
1602
- rn as EmbeddedChatPrimitiveDisclaimerText,
1603
- sn as EmbeddedChatPrimitiveDisclaimerTrigger,
1604
- ro as EmbeddedChatPrimitiveFeedbackForm,
1605
- co as EmbeddedChatPrimitiveFeedbackItem,
1606
- mo as EmbeddedChatPrimitiveFeedbackItemCheckbox,
1607
- lo as EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator,
1608
- uo as EmbeddedChatPrimitiveFeedbackItemDescription,
1609
- ho as EmbeddedChatPrimitiveFeedbackItemLabel,
1610
- to as EmbeddedChatPrimitiveFeedbackModal,
1611
- oo as EmbeddedChatPrimitiveFeedbackModalBody,
1612
- so as EmbeddedChatPrimitiveFeedbackModalClose,
1613
- ao as EmbeddedChatPrimitiveFeedbackModalContent,
1614
- no as EmbeddedChatPrimitiveFeedbackModalHeader,
1615
- io as EmbeddedChatPrimitiveFeedbackModalOverlay,
1616
- Co as EmbeddedChatPrimitiveFeedbackSubmitButton,
1617
- as as EmbeddedChatPrimitiveFooter,
1618
- vo as EmbeddedChatPrimitiveForm,
1619
- Ro as EmbeddedChatPrimitiveFormCancel,
1620
- go as EmbeddedChatPrimitiveFormClose,
1621
- Po as EmbeddedChatPrimitiveFormContent,
1622
- Ao as EmbeddedChatPrimitiveFormDescription,
1623
- Qo as EmbeddedChatPrimitiveFormError,
1624
- Fo as EmbeddedChatPrimitiveFormField,
1625
- ko as EmbeddedChatPrimitiveFormFieldCheckbox,
1626
- Eo as EmbeddedChatPrimitiveFormFieldCheckboxIndicator,
1627
- Mo as EmbeddedChatPrimitiveFormFieldEmail,
1628
- Wo as EmbeddedChatPrimitiveFormFieldError,
1629
- fo as EmbeddedChatPrimitiveFormFieldFile,
1630
- Io as EmbeddedChatPrimitiveFormFieldLabel,
1631
- Bo as EmbeddedChatPrimitiveFormFieldSelect,
1632
- Ho as EmbeddedChatPrimitiveFormFieldSelectContent,
1633
- wo as EmbeddedChatPrimitiveFormFieldSelectIcon,
1634
- xo as EmbeddedChatPrimitiveFormFieldSelectItem,
1635
- Oo as EmbeddedChatPrimitiveFormFieldSelectItemIndicator,
1636
- Do as EmbeddedChatPrimitiveFormFieldSelectItemText,
1637
- To as EmbeddedChatPrimitiveFormFieldSelectTrigger,
1638
- yo as EmbeddedChatPrimitiveFormFieldSelectValue,
1639
- Lo as EmbeddedChatPrimitiveFormFieldSelectViewport,
1640
- Ie as EmbeddedChatPrimitiveFormFieldText,
1641
- So as EmbeddedChatPrimitiveFormFieldTextArea,
1642
- No as EmbeddedChatPrimitiveFormFooter,
1643
- _o as EmbeddedChatPrimitiveFormHeader,
1644
- bo as EmbeddedChatPrimitiveFormHeading,
1645
- $o as EmbeddedChatPrimitiveFormSubmit,
1646
- Vo as EmbeddedChatPrimitiveFormSuccess,
1647
- qo as EmbeddedChatPrimitiveFormSuccessButton,
1648
- Uo as EmbeddedChatPrimitiveFormSuccessHeading,
1649
- Ko as EmbeddedChatPrimitiveFormSuccessMessage,
1650
- po as EmbeddedChatPrimitiveFormWrapper,
1651
- qa as EmbeddedChatPrimitiveHeaderToolbar,
1652
- Gs as EmbeddedChatPrimitiveHelpActions,
1653
- Js as EmbeddedChatPrimitiveHelpActionsMenu,
1654
- Xs as EmbeddedChatPrimitiveHelpActionsMenuArrow,
1655
- Zs as EmbeddedChatPrimitiveHelpActionsMenuItem,
1656
- eo as EmbeddedChatPrimitiveHelpActionsMenuItemIcon,
1657
- Ys as EmbeddedChatPrimitiveHelpActionsTrigger,
1658
- os as EmbeddedChatPrimitiveInput,
1659
- ns as EmbeddedChatPrimitiveInputFieldset,
1660
- ss as EmbeddedChatPrimitiveInputGroup,
1661
- bn as EmbeddedChatPrimitiveIntroMessageWrapper,
1662
- Nn as EmbeddedChatPrimitiveMessage,
1663
- Un as EmbeddedChatPrimitiveMessageAction,
1664
- Rn as EmbeddedChatPrimitiveMessageActions,
1665
- Bn as EmbeddedChatPrimitiveMessageAttachments,
1666
- yn as EmbeddedChatPrimitiveMessageAttachmentsItem,
1667
- wn as EmbeddedChatPrimitiveMessageAttachmentsItemIcon,
1668
- Hn as EmbeddedChatPrimitiveMessageAttachmentsItemTitle,
1669
- Tn as EmbeddedChatPrimitiveMessageAttachmentsList,
1670
- Ln as EmbeddedChatPrimitiveMessageAttachmentsPreview,
1671
- Qn as EmbeddedChatPrimitiveMessageAttachmentsPreviewBody,
1672
- Wn as EmbeddedChatPrimitiveMessageAttachmentsPreviewClose,
1673
- Dn as EmbeddedChatPrimitiveMessageAttachmentsPreviewContent,
1674
- On as EmbeddedChatPrimitiveMessageAttachmentsPreviewHeader,
1675
- xn as EmbeddedChatPrimitiveMessageAttachmentsPreviewOverlay,
1676
- Fn as EmbeddedChatPrimitiveMessageAvatar,
1677
- In as EmbeddedChatPrimitiveMessageAvatarContent,
1678
- Mn as EmbeddedChatPrimitiveMessageAvatarFallback,
1679
- fn as EmbeddedChatPrimitiveMessageAvatarImage,
1680
- En as EmbeddedChatPrimitiveMessageContent,
1681
- kn as EmbeddedChatPrimitiveMessageContentWrapper,
1682
- An as EmbeddedChatPrimitiveMessageHeader,
1683
- Pn as EmbeddedChatPrimitiveMessageLoading,
1684
- Sn as EmbeddedChatPrimitiveMessageName,
1685
- Gn as EmbeddedChatPrimitiveMessageSourceItem,
1686
- zn as EmbeddedChatPrimitiveMessageSourceItemBreadcrumbs,
1687
- es as EmbeddedChatPrimitiveMessageSourceItemDescription,
1688
- ts as EmbeddedChatPrimitiveMessageSourceItemDescriptionPart,
1689
- Jn as EmbeddedChatPrimitiveMessageSourceItemIcon,
1690
- is as EmbeddedChatPrimitiveMessageSourceItemIndicator,
1691
- Zn as EmbeddedChatPrimitiveMessageSourceItemTag,
1692
- Xn as EmbeddedChatPrimitiveMessageSourceItemTitle,
1693
- Kn as EmbeddedChatPrimitiveMessageSources,
1694
- qn as EmbeddedChatPrimitiveMessageSourcesHeader,
1695
- jn as EmbeddedChatPrimitiveMessageSourcesList,
1696
- Vn as EmbeddedChatPrimitiveMessageToolAction,
1697
- $n as EmbeddedChatPrimitiveMessageToolActions,
1698
- _t as EmbeddedChatPrimitiveMessageWrapper,
1699
- tn as EmbeddedChatPrimitiveMessages,
1700
- hn as EmbeddedChatPrimitiveQuickQuestion,
1701
- un as EmbeddedChatPrimitiveQuickQuestionButton,
1702
- dn as EmbeddedChatPrimitiveQuickQuestions,
1703
- mn as EmbeddedChatPrimitiveQuickQuestionsLabel,
1704
- ln as EmbeddedChatPrimitiveQuickQuestionsList,
1705
- Ua as EmbeddedChatPrimitiveRoot,
1706
- rs as EmbeddedChatPrimitiveSendButton,
1707
- cs as EmbeddedChatPrimitiveSendButtonIcon,
1708
- qs as EmbeddedChatPrimitiveTaglineBrandName,
1709
- Vs as EmbeddedChatPrimitiveTaglineContainer,
1710
- Ks as EmbeddedChatPrimitiveTaglineLogo,
1711
- Us as EmbeddedChatPrimitiveTaglineText,
1712
- Ga as EmbeddedChatPrimitiveToolbarHeader,
1713
- ja as EmbeddedChatPrimitiveToolbarHeaderWrapper,
1714
- gn as EmbeddedChatPrimitiveWorkflow,
1715
- _n as EmbeddedChatPrimitiveWorkflowIcon,
1716
- Cn as EmbeddedChatPrimitiveWorkflows,
1717
- pn as EmbeddedChatPrimitiveWorkflowsLabel,
1718
- vn as EmbeddedChatPrimitiveWorkflowsList,
1719
- $a as EmbeddedChatPrimitiveWrapper,
1720
- ro as FeedbackForm,
1721
- co as FeedbackItem,
1722
- mo as FeedbackItemCheckbox,
1723
- lo as FeedbackItemCheckboxIndicator,
1724
- uo as FeedbackItemDescription,
1725
- ho as FeedbackItemLabel,
1726
- to as FeedbackModal,
1727
- oo as FeedbackModalBody,
1728
- so as FeedbackModalClose,
1729
- ao as FeedbackModalContent,
1730
- no as FeedbackModalHeader,
1731
- io as FeedbackModalOverlay,
1732
- Co as FeedbackSubmitButton,
1733
- as as Footer,
1734
- vo as Form,
1735
- Ro as FormCancel,
1736
- go as FormClose,
1737
- Po as FormContent,
1738
- Ao as FormDescription,
1739
- Qo as FormError,
1740
- Fo as FormField,
1741
- ko as FormFieldCheckbox,
1742
- Eo as FormFieldCheckboxIndicator,
1743
- Mo as FormFieldEmail,
1744
- Wo as FormFieldError,
1745
- fo as FormFieldFile,
1746
- Io as FormFieldLabel,
1747
- Bo as FormFieldSelect,
1748
- Ho as FormFieldSelectContent,
1749
- wo as FormFieldSelectIcon,
1750
- xo as FormFieldSelectItem,
1751
- Oo as FormFieldSelectItemIndicator,
1752
- Do as FormFieldSelectItemText,
1753
- To as FormFieldSelectTrigger,
1754
- yo as FormFieldSelectValue,
1755
- Lo as FormFieldSelectViewport,
1756
- Ie as FormFieldText,
1757
- So as FormFieldTextArea,
1758
- No as FormFooter,
1759
- _o as FormHeader,
1760
- bo as FormHeading,
1761
- $o as FormSubmit,
1762
- Vo as FormSuccess,
1763
- qo as FormSuccessButton,
1764
- Uo as FormSuccessHeading,
1765
- Ko as FormSuccessMessage,
1766
- po as FormWrapper,
1767
- Ka as Header,
1768
- qa as HeaderToolbar,
1769
- ja as HeaderToolbarWrapper,
1770
- Gs as HelpActions,
1771
- Js as HelpActionsMenu,
1772
- Xs as HelpActionsMenuArrow,
1773
- Zs as HelpActionsMenuItem,
1774
- eo as HelpActionsMenuItemIcon,
1775
- Ys as HelpActionsTrigger,
1776
- os as Input,
1777
- ns as InputFieldset,
1778
- ss as InputGroup,
1779
- bn as IntroMessageWrapper,
1780
- Nn as Message,
1781
- Un as MessageAction,
1782
- Rn as MessageActions,
1783
- Bn as MessageAttachments,
1784
- yn as MessageAttachmentsItem,
1785
- wn as MessageAttachmentsItemIcon,
1786
- Hn as MessageAttachmentsItemTitle,
1787
- Tn as MessageAttachmentsList,
1788
- Ln as MessageAttachmentsPreview,
1789
- Qn as MessageAttachmentsPreviewBody,
1790
- Wn as MessageAttachmentsPreviewClose,
1791
- Dn as MessageAttachmentsPreviewContent,
1792
- On as MessageAttachmentsPreviewHeader,
1793
- xn as MessageAttachmentsPreviewOverlay,
1794
- Fn as MessageAvatar,
1795
- In as MessageAvatarContent,
1796
- Mn as MessageAvatarFallback,
1797
- fn as MessageAvatarImage,
1798
- En as MessageContent,
1799
- kn as MessageContentWrapper,
1800
- An as MessageHeader,
1801
- Pn as MessageLoading,
1802
- Sn as MessageName,
1803
- Gn as MessageSourceItem,
1804
- Yn as MessageSourceItemBreadcrumbIcon,
1805
- zn as MessageSourceItemBreadcrumbs,
1806
- es as MessageSourceItemDescription,
1807
- ts as MessageSourceItemDescriptionPart,
1808
- Jn as MessageSourceItemIcon,
1809
- is as MessageSourceItemIndicator,
1810
- Zn as MessageSourceItemTag,
1811
- Xn as MessageSourceItemTitle,
1812
- Kn as MessageSources,
1813
- qn as MessageSourcesHeader,
1814
- jn as MessageSourcesList,
1815
- Vn as MessageToolAction,
1816
- $n as MessageToolActions,
1817
- _t as MessageWrapper,
1818
- tn as Messages,
1819
- zo as Provider,
1820
- hn as QuickQuestion,
1821
- un as QuickQuestionButton,
1822
- dn as QuickQuestions,
1823
- mn as QuickQuestionsLabel,
1824
- ln as QuickQuestionsList,
1825
- Ua as Root,
1826
- rs as SendButton,
1827
- cs as SendButtonIcon,
1828
- qs as TaglineBrandName,
1829
- Vs as TaglineContainer,
1830
- Ks as TaglineLogo,
1831
- Us as TaglineText,
1832
- Ga as ToolbarHeader,
1833
- gn as Workflow,
1834
- _n as WorkflowIcon,
1835
- Cn as Workflows,
1836
- pn as WorkflowsLabel,
1837
- vn as WorkflowsList,
1838
- $a as Wrapper
1489
+ Os as ActionBar,
1490
+ Ws as Actions,
1491
+ ss as AttachmentsBar,
1492
+ ls as AttachmentsBarActions,
1493
+ rs as AttachmentsBarAttachment,
1494
+ ms as AttachmentsBarAttachmentDelete,
1495
+ cs as AttachmentsBarAttachmentIcon,
1496
+ ds as AttachmentsBarAttachmentTitle,
1497
+ ks as AttachmentsBarForm,
1498
+ ws as AttachmentsBarFormContent,
1499
+ Ds as AttachmentsBarFormContentError,
1500
+ Ls as AttachmentsBarFormContentInput,
1501
+ Hs as AttachmentsBarFormContentLabel,
1502
+ xs as AttachmentsBarFormSubmitButton,
1503
+ Es as AttachmentsBarFormTitle,
1504
+ ys as AttachmentsBarFormTitleError,
1505
+ Ts as AttachmentsBarFormTitleInput,
1506
+ Bs as AttachmentsBarFormTitleLabel,
1507
+ hs as AttachmentsBarInfoTip,
1508
+ ei as AttachmentsBarInfoTipArrow,
1509
+ us as AttachmentsBarInfoTipIcon,
1510
+ Cs as AttachmentsBarInfoTipText,
1511
+ vs as AttachmentsBarInput,
1512
+ gs as AttachmentsBarInputIcon,
1513
+ ps as AttachmentsBarInputs,
1514
+ os as AttachmentsBarList,
1515
+ _s as AttachmentsBarModal,
1516
+ Ss as AttachmentsBarModalBody,
1517
+ fs as AttachmentsBarModalClose,
1518
+ As as AttachmentsBarModalContent,
1519
+ Ms as AttachmentsBarModalDescription,
1520
+ Ps as AttachmentsBarModalHeader,
1521
+ Fs as AttachmentsBarModalHeading,
1522
+ Is as AttachmentsBarModalHelp,
1523
+ bs as AttachmentsBarModalOverlay,
1524
+ be as ChatAction,
1525
+ Vs as ChatActionFeedback,
1526
+ vi as ChatActionLabel,
1527
+ Ks as ChatHelpAction,
1528
+ Ka as Content,
1529
+ qa as ContentScrollArea,
1530
+ Ya as ContentScrollAreaCorner,
1531
+ Ga as ContentScrollAreaScrollbar,
1532
+ za as ContentScrollAreaThumb,
1533
+ ja as ContentScrollAreaViewport,
1534
+ Qa as ConversationLoading,
1535
+ Xa as Disclaimer,
1536
+ nn as DisclaimerArrow,
1537
+ tn as DisclaimerContent,
1538
+ Za as DisclaimerLabel,
1539
+ an as DisclaimerText,
1540
+ en as DisclaimerTrigger,
1541
+ Os as EmbeddedChatPrimitiveActionBar,
1542
+ Ws as EmbeddedChatPrimitiveActions,
1543
+ ss as EmbeddedChatPrimitiveAttachmentsBar,
1544
+ ls as EmbeddedChatPrimitiveAttachmentsBarActions,
1545
+ rs as EmbeddedChatPrimitiveAttachmentsBarAttachment,
1546
+ ms as EmbeddedChatPrimitiveAttachmentsBarAttachmentDelete,
1547
+ cs as EmbeddedChatPrimitiveAttachmentsBarAttachmentIcon,
1548
+ ds as EmbeddedChatPrimitiveAttachmentsBarAttachmentTitle,
1549
+ ks as EmbeddedChatPrimitiveAttachmentsBarForm,
1550
+ ws as EmbeddedChatPrimitiveAttachmentsBarFormContent,
1551
+ Ds as EmbeddedChatPrimitiveAttachmentsBarFormContentError,
1552
+ Ls as EmbeddedChatPrimitiveAttachmentsBarFormContentInput,
1553
+ Hs as EmbeddedChatPrimitiveAttachmentsBarFormContentLabel,
1554
+ xs as EmbeddedChatPrimitiveAttachmentsBarFormSubmitButton,
1555
+ Es as EmbeddedChatPrimitiveAttachmentsBarFormTitle,
1556
+ ys as EmbeddedChatPrimitiveAttachmentsBarFormTitleError,
1557
+ Ts as EmbeddedChatPrimitiveAttachmentsBarFormTitleInput,
1558
+ Bs as EmbeddedChatPrimitiveAttachmentsBarFormTitleLabel,
1559
+ hs as EmbeddedChatPrimitiveAttachmentsBarInfoTip,
1560
+ ei as EmbeddedChatPrimitiveAttachmentsBarInfoTipArrow,
1561
+ us as EmbeddedChatPrimitiveAttachmentsBarInfoTipIcon,
1562
+ Cs as EmbeddedChatPrimitiveAttachmentsBarInfoTipText,
1563
+ vs as EmbeddedChatPrimitiveAttachmentsBarInput,
1564
+ gs as EmbeddedChatPrimitiveAttachmentsBarInputIcon,
1565
+ ps as EmbeddedChatPrimitiveAttachmentsBarInputs,
1566
+ os as EmbeddedChatPrimitiveAttachmentsBarList,
1567
+ _s as EmbeddedChatPrimitiveAttachmentsBarModal,
1568
+ Ss as EmbeddedChatPrimitiveAttachmentsBarModalBody,
1569
+ fs as EmbeddedChatPrimitiveAttachmentsBarModalClose,
1570
+ As as EmbeddedChatPrimitiveAttachmentsBarModalContent,
1571
+ Ms as EmbeddedChatPrimitiveAttachmentsBarModalDescription,
1572
+ Ps as EmbeddedChatPrimitiveAttachmentsBarModalHeader,
1573
+ Fs as EmbeddedChatPrimitiveAttachmentsBarModalHeading,
1574
+ Is as EmbeddedChatPrimitiveAttachmentsBarModalHelp,
1575
+ bs as EmbeddedChatPrimitiveAttachmentsBarModalOverlay,
1576
+ be as EmbeddedChatPrimitiveChatAction,
1577
+ Vs as EmbeddedChatPrimitiveChatActionFeedback,
1578
+ vi as EmbeddedChatPrimitiveChatActionLabel,
1579
+ Ks as EmbeddedChatPrimitiveChatHelpAction,
1580
+ Ka as EmbeddedChatPrimitiveContent,
1581
+ qa as EmbeddedChatPrimitiveContentScrollArea,
1582
+ Ya as EmbeddedChatPrimitiveContentScrollAreaCorner,
1583
+ Ga as EmbeddedChatPrimitiveContentScrollAreaScrollbar,
1584
+ za as EmbeddedChatPrimitiveContentScrollAreaThumb,
1585
+ ja as EmbeddedChatPrimitiveContentScrollAreaViewport,
1586
+ Qa as EmbeddedChatPrimitiveConversationLoading,
1587
+ Xa as EmbeddedChatPrimitiveDisclaimer,
1588
+ nn as EmbeddedChatPrimitiveDisclaimerArrow,
1589
+ tn as EmbeddedChatPrimitiveDisclaimerContent,
1590
+ Za as EmbeddedChatPrimitiveDisclaimerLabel,
1591
+ an as EmbeddedChatPrimitiveDisclaimerText,
1592
+ en as EmbeddedChatPrimitiveDisclaimerTrigger,
1593
+ ao as EmbeddedChatPrimitiveFeedbackForm,
1594
+ no as EmbeddedChatPrimitiveFeedbackItem,
1595
+ so as EmbeddedChatPrimitiveFeedbackItemCheckbox,
1596
+ oo as EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator,
1597
+ co as EmbeddedChatPrimitiveFeedbackItemDescription,
1598
+ ro as EmbeddedChatPrimitiveFeedbackItemLabel,
1599
+ Js as EmbeddedChatPrimitiveFeedbackModal,
1600
+ io as EmbeddedChatPrimitiveFeedbackModalBody,
1601
+ to as EmbeddedChatPrimitiveFeedbackModalClose,
1602
+ Zs as EmbeddedChatPrimitiveFeedbackModalContent,
1603
+ eo as EmbeddedChatPrimitiveFeedbackModalHeader,
1604
+ Xs as EmbeddedChatPrimitiveFeedbackModalOverlay,
1605
+ mo as EmbeddedChatPrimitiveFeedbackSubmitButton,
1606
+ Zn as EmbeddedChatPrimitiveFooter,
1607
+ ho as EmbeddedChatPrimitiveForm,
1608
+ Oo as EmbeddedChatPrimitiveFormCancel,
1609
+ uo as EmbeddedChatPrimitiveFormClose,
1610
+ go as EmbeddedChatPrimitiveFormContent,
1611
+ vo as EmbeddedChatPrimitiveFormDescription,
1612
+ Do as EmbeddedChatPrimitiveFormError,
1613
+ _o as EmbeddedChatPrimitiveFormField,
1614
+ Mo as EmbeddedChatPrimitiveFormFieldCheckbox,
1615
+ Io as EmbeddedChatPrimitiveFormFieldCheckboxIndicator,
1616
+ Ao as EmbeddedChatPrimitiveFormFieldEmail,
1617
+ Lo as EmbeddedChatPrimitiveFormFieldError,
1618
+ Po as EmbeddedChatPrimitiveFormFieldFile,
1619
+ bo as EmbeddedChatPrimitiveFormFieldLabel,
1620
+ fo as EmbeddedChatPrimitiveFormFieldSelect,
1621
+ Bo as EmbeddedChatPrimitiveFormFieldSelectContent,
1622
+ Eo as EmbeddedChatPrimitiveFormFieldSelectIcon,
1623
+ yo as EmbeddedChatPrimitiveFormFieldSelectItem,
1624
+ Ho as EmbeddedChatPrimitiveFormFieldSelectItemIndicator,
1625
+ wo as EmbeddedChatPrimitiveFormFieldSelectItemText,
1626
+ So as EmbeddedChatPrimitiveFormFieldSelectTrigger,
1627
+ ko as EmbeddedChatPrimitiveFormFieldSelectValue,
1628
+ To as EmbeddedChatPrimitiveFormFieldSelectViewport,
1629
+ Ae as EmbeddedChatPrimitiveFormFieldText,
1630
+ Fo as EmbeddedChatPrimitiveFormFieldTextArea,
1631
+ xo as EmbeddedChatPrimitiveFormFooter,
1632
+ Co as EmbeddedChatPrimitiveFormHeader,
1633
+ po as EmbeddedChatPrimitiveFormHeading,
1634
+ Wo as EmbeddedChatPrimitiveFormSubmit,
1635
+ Qo as EmbeddedChatPrimitiveFormSuccess,
1636
+ $o as EmbeddedChatPrimitiveFormSuccessButton,
1637
+ No as EmbeddedChatPrimitiveFormSuccessHeading,
1638
+ Ro as EmbeddedChatPrimitiveFormSuccessMessage,
1639
+ lo as EmbeddedChatPrimitiveFormWrapper,
1640
+ $a as EmbeddedChatPrimitiveHeaderToolbar,
1641
+ Us as EmbeddedChatPrimitiveHelpActions,
1642
+ js as EmbeddedChatPrimitiveHelpActionsMenu,
1643
+ Gs as EmbeddedChatPrimitiveHelpActionsMenuArrow,
1644
+ zs as EmbeddedChatPrimitiveHelpActionsMenuItem,
1645
+ Ys as EmbeddedChatPrimitiveHelpActionsMenuItemIcon,
1646
+ qs as EmbeddedChatPrimitiveHelpActionsTrigger,
1647
+ is as EmbeddedChatPrimitiveInput,
1648
+ es as EmbeddedChatPrimitiveInputFieldset,
1649
+ ts as EmbeddedChatPrimitiveInputGroup,
1650
+ pn as EmbeddedChatPrimitiveIntroMessageWrapper,
1651
+ xn as EmbeddedChatPrimitiveMessage,
1652
+ Nn as EmbeddedChatPrimitiveMessageAction,
1653
+ On as EmbeddedChatPrimitiveMessageActions,
1654
+ fn as EmbeddedChatPrimitiveMessageAttachments,
1655
+ kn as EmbeddedChatPrimitiveMessageAttachmentsItem,
1656
+ En as EmbeddedChatPrimitiveMessageAttachmentsItemIcon,
1657
+ Bn as EmbeddedChatPrimitiveMessageAttachmentsItemTitle,
1658
+ Sn as EmbeddedChatPrimitiveMessageAttachmentsList,
1659
+ Tn as EmbeddedChatPrimitiveMessageAttachmentsPreview,
1660
+ Dn as EmbeddedChatPrimitiveMessageAttachmentsPreviewBody,
1661
+ Ln as EmbeddedChatPrimitiveMessageAttachmentsPreviewClose,
1662
+ wn as EmbeddedChatPrimitiveMessageAttachmentsPreviewContent,
1663
+ Hn as EmbeddedChatPrimitiveMessageAttachmentsPreviewHeader,
1664
+ yn as EmbeddedChatPrimitiveMessageAttachmentsPreviewOverlay,
1665
+ _n as EmbeddedChatPrimitiveMessageAvatar,
1666
+ bn as EmbeddedChatPrimitiveMessageAvatarContent,
1667
+ An as EmbeddedChatPrimitiveMessageAvatarFallback,
1668
+ Pn as EmbeddedChatPrimitiveMessageAvatarImage,
1669
+ In as EmbeddedChatPrimitiveMessageContent,
1670
+ Mn as EmbeddedChatPrimitiveMessageContentWrapper,
1671
+ vn as EmbeddedChatPrimitiveMessageHeader,
1672
+ gn as EmbeddedChatPrimitiveMessageLoading,
1673
+ Fn as EmbeddedChatPrimitiveMessageName,
1674
+ Un as EmbeddedChatPrimitiveMessageSourceItem,
1675
+ Kn as EmbeddedChatPrimitiveMessageSourceItemBreadcrumbs,
1676
+ Yn as EmbeddedChatPrimitiveMessageSourceItemDescription,
1677
+ Jn as EmbeddedChatPrimitiveMessageSourceItemDescriptionPart,
1678
+ jn as EmbeddedChatPrimitiveMessageSourceItemIcon,
1679
+ Xn as EmbeddedChatPrimitiveMessageSourceItemIndicator,
1680
+ zn as EmbeddedChatPrimitiveMessageSourceItemTag,
1681
+ Gn as EmbeddedChatPrimitiveMessageSourceItemTitle,
1682
+ Rn as EmbeddedChatPrimitiveMessageSources,
1683
+ $n as EmbeddedChatPrimitiveMessageSourcesHeader,
1684
+ Vn as EmbeddedChatPrimitiveMessageSourcesList,
1685
+ Qn as EmbeddedChatPrimitiveMessageToolAction,
1686
+ Wn as EmbeddedChatPrimitiveMessageToolActions,
1687
+ pt as EmbeddedChatPrimitiveMessageWrapper,
1688
+ Ja as EmbeddedChatPrimitiveMessages,
1689
+ cn as EmbeddedChatPrimitiveQuickQuestion,
1690
+ dn as EmbeddedChatPrimitiveQuickQuestionButton,
1691
+ sn as EmbeddedChatPrimitiveQuickQuestions,
1692
+ on as EmbeddedChatPrimitiveQuickQuestionsLabel,
1693
+ rn as EmbeddedChatPrimitiveQuickQuestionsList,
1694
+ Na as EmbeddedChatPrimitiveRoot,
1695
+ as as EmbeddedChatPrimitiveSendButton,
1696
+ ns as EmbeddedChatPrimitiveSendButtonIcon,
1697
+ $s as EmbeddedChatPrimitiveTaglineBrandName,
1698
+ Qs as EmbeddedChatPrimitiveTaglineContainer,
1699
+ Rs as EmbeddedChatPrimitiveTaglineLogo,
1700
+ Ns as EmbeddedChatPrimitiveTaglineText,
1701
+ Ua as EmbeddedChatPrimitiveToolbarHeader,
1702
+ Va as EmbeddedChatPrimitiveToolbarHeaderWrapper,
1703
+ un as EmbeddedChatPrimitiveWorkflow,
1704
+ Cn as EmbeddedChatPrimitiveWorkflowIcon,
1705
+ mn as EmbeddedChatPrimitiveWorkflows,
1706
+ ln as EmbeddedChatPrimitiveWorkflowsLabel,
1707
+ hn as EmbeddedChatPrimitiveWorkflowsList,
1708
+ Wa as EmbeddedChatPrimitiveWrapper,
1709
+ ao as FeedbackForm,
1710
+ no as FeedbackItem,
1711
+ so as FeedbackItemCheckbox,
1712
+ oo as FeedbackItemCheckboxIndicator,
1713
+ co as FeedbackItemDescription,
1714
+ ro as FeedbackItemLabel,
1715
+ Js as FeedbackModal,
1716
+ io as FeedbackModalBody,
1717
+ to as FeedbackModalClose,
1718
+ Zs as FeedbackModalContent,
1719
+ eo as FeedbackModalHeader,
1720
+ Xs as FeedbackModalOverlay,
1721
+ mo as FeedbackSubmitButton,
1722
+ Zn as Footer,
1723
+ ho as Form,
1724
+ Oo as FormCancel,
1725
+ uo as FormClose,
1726
+ go as FormContent,
1727
+ vo as FormDescription,
1728
+ Do as FormError,
1729
+ _o as FormField,
1730
+ Mo as FormFieldCheckbox,
1731
+ Io as FormFieldCheckboxIndicator,
1732
+ Ao as FormFieldEmail,
1733
+ Lo as FormFieldError,
1734
+ Po as FormFieldFile,
1735
+ bo as FormFieldLabel,
1736
+ fo as FormFieldSelect,
1737
+ Bo as FormFieldSelectContent,
1738
+ Eo as FormFieldSelectIcon,
1739
+ yo as FormFieldSelectItem,
1740
+ Ho as FormFieldSelectItemIndicator,
1741
+ wo as FormFieldSelectItemText,
1742
+ So as FormFieldSelectTrigger,
1743
+ ko as FormFieldSelectValue,
1744
+ To as FormFieldSelectViewport,
1745
+ Ae as FormFieldText,
1746
+ Fo as FormFieldTextArea,
1747
+ xo as FormFooter,
1748
+ Co as FormHeader,
1749
+ po as FormHeading,
1750
+ Wo as FormSubmit,
1751
+ Qo as FormSuccess,
1752
+ $o as FormSuccessButton,
1753
+ No as FormSuccessHeading,
1754
+ Ro as FormSuccessMessage,
1755
+ lo as FormWrapper,
1756
+ Ra as Header,
1757
+ $a as HeaderToolbar,
1758
+ Va as HeaderToolbarWrapper,
1759
+ Us as HelpActions,
1760
+ js as HelpActionsMenu,
1761
+ Gs as HelpActionsMenuArrow,
1762
+ zs as HelpActionsMenuItem,
1763
+ Ys as HelpActionsMenuItemIcon,
1764
+ qs as HelpActionsTrigger,
1765
+ is as Input,
1766
+ es as InputFieldset,
1767
+ ts as InputGroup,
1768
+ pn as IntroMessageWrapper,
1769
+ xn as Message,
1770
+ Nn as MessageAction,
1771
+ On as MessageActions,
1772
+ fn as MessageAttachments,
1773
+ kn as MessageAttachmentsItem,
1774
+ En as MessageAttachmentsItemIcon,
1775
+ Bn as MessageAttachmentsItemTitle,
1776
+ Sn as MessageAttachmentsList,
1777
+ Tn as MessageAttachmentsPreview,
1778
+ Dn as MessageAttachmentsPreviewBody,
1779
+ Ln as MessageAttachmentsPreviewClose,
1780
+ wn as MessageAttachmentsPreviewContent,
1781
+ Hn as MessageAttachmentsPreviewHeader,
1782
+ yn as MessageAttachmentsPreviewOverlay,
1783
+ _n as MessageAvatar,
1784
+ bn as MessageAvatarContent,
1785
+ An as MessageAvatarFallback,
1786
+ Pn as MessageAvatarImage,
1787
+ In as MessageContent,
1788
+ Mn as MessageContentWrapper,
1789
+ vn as MessageHeader,
1790
+ gn as MessageLoading,
1791
+ Fn as MessageName,
1792
+ Un as MessageSourceItem,
1793
+ qn as MessageSourceItemBreadcrumbIcon,
1794
+ Kn as MessageSourceItemBreadcrumbs,
1795
+ Yn as MessageSourceItemDescription,
1796
+ Jn as MessageSourceItemDescriptionPart,
1797
+ jn as MessageSourceItemIcon,
1798
+ Xn as MessageSourceItemIndicator,
1799
+ zn as MessageSourceItemTag,
1800
+ Gn as MessageSourceItemTitle,
1801
+ Rn as MessageSources,
1802
+ $n as MessageSourcesHeader,
1803
+ Vn as MessageSourcesList,
1804
+ Qn as MessageToolAction,
1805
+ Wn as MessageToolActions,
1806
+ pt as MessageWrapper,
1807
+ Ja as Messages,
1808
+ Ko as Provider,
1809
+ cn as QuickQuestion,
1810
+ dn as QuickQuestionButton,
1811
+ sn as QuickQuestions,
1812
+ on as QuickQuestionsLabel,
1813
+ rn as QuickQuestionsList,
1814
+ Na as Root,
1815
+ as as SendButton,
1816
+ ns as SendButtonIcon,
1817
+ $s as TaglineBrandName,
1818
+ Qs as TaglineContainer,
1819
+ Rs as TaglineLogo,
1820
+ Ns as TaglineText,
1821
+ Ua as ToolbarHeader,
1822
+ un as Workflow,
1823
+ Cn as WorkflowIcon,
1824
+ mn as Workflows,
1825
+ ln as WorkflowsLabel,
1826
+ hn as WorkflowsList,
1827
+ Wa as Wrapper
1839
1828
  };