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