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