@inkeep/cxkit-primitives 0.5.25 → 0.5.29

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.
@@ -1,43 +1,43 @@
1
1
  "use client";
2
- import { jsx as n, jsxs as R, Fragment as ee } from "react/jsx-runtime";
3
- import { forwardRef as $, memo as F, useState as fe, useEffect as be, useMemo as Se } from "react";
2
+ import { jsx as n, jsxs as $, Fragment as ee } from "react/jsx-runtime";
3
+ import { forwardRef as Q, memo as F, useState as fe, useEffect as be, useMemo as Se } from "react";
4
4
  import te from "react-textarea-autosize";
5
5
  import * as ie from "@radix-ui/react-avatar";
6
6
  import * as V from "@radix-ui/react-checkbox";
7
7
  import * as U from "@radix-ui/react-popover";
8
- import * as E from "@radix-ui/react-tooltip";
8
+ import * as k from "@radix-ui/react-tooltip";
9
9
  import * as K from "@radix-ui/react-hover-card";
10
- import * as D from "@radix-ui/react-scroll-area";
10
+ import * as x from "@radix-ui/react-scroll-area";
11
11
  import * as f from "@radix-ui/react-select";
12
12
  import { Overlay as ae, Content as ne, Close as se, Title as re, Root as oe } from "../atoms/dialog.js";
13
- import { HiMiniBolt as ke } from "../node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/hi2/index.js";
14
- import { IoAdd as Ee } from "../node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/io5/index.js";
13
+ import { HiMiniBolt as Ee } from "../node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/hi2/index.js";
14
+ import { IoAdd as ke } from "../node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/io5/index.js";
15
15
  import Be from "../atoms/avatars/ai.js";
16
16
  import Te from "../atoms/avatars/user.js";
17
17
  import { CustomIcon as A } from "../atoms/icons/custom-icon.js";
18
18
  import { BuiltInIconRenderer as B } from "../atoms/icons/built-in-icon-renderer.js";
19
19
  import { LinkWithQueryParams as ye } from "../atoms/link.js";
20
20
  import { Markdown as ce } from "../atoms/markdown/index.js";
21
- import { AttachmentItemProvider as Ae, useAttachmentItem as x } from "../providers/attachment-item-provider.js";
21
+ import { AttachmentItemProvider as Ae, useAttachmentItem as D } from "../providers/attachment-item-provider.js";
22
22
  import { AttachmentsBarProvider as we, useAttachmentsBar as M } from "../providers/attachments-bar-provider.js";
23
23
  import { SourceItemProvider as He, useSourceItem as w } from "../providers/source-item-provider.js";
24
24
  import { useInkeepConfig as u } from "../providers/config-provider.js";
25
25
  import { useInkeepConversation as q, SHARE_QUERY_PARAM as Le } from "../providers/conversation-provider.js";
26
26
  import { useChatEvents as j } from "../providers/chat-events-provider.js";
27
27
  import { useMessageFeedback as de } from "../providers/feedback-provider.js";
28
- import { MessageAttachmentsProvider as De, useMessageAttachments as G } from "../providers/message-attachments-provider.js";
29
- import { MessageProvider as xe, useMessage as _ } from "../providers/message-provider.js";
28
+ import { MessageAttachmentsProvider as xe, useMessageAttachments as G } from "../providers/message-attachments-provider.js";
29
+ import { MessageProvider as De, useMessage as _ } from "../providers/message-provider.js";
30
30
  import { CheckboxIcon as Pe } from "../atoms/icons/checkbox-icon.js";
31
31
  import { useCopyToClipboard as Z } from "../hooks/use-copy-to-clipboard.js";
32
32
  import { FeedbackItemProvider as Oe, useFeedbackItem as me } from "../providers/feedback-item-provider.js";
33
33
  import { stringifyAttachments as We } from "../utils/get-message-metadata.js";
34
- import { dataAttr as v, maybeRender as I, getInitials as Qe, getMessageContent as le } from "../utils/misc.js";
34
+ import { dataAttr as v, maybeRender as I, getInitials as Ne, getMessageContent as le } from "../utils/misc.js";
35
35
  import { ikp as i } from "./factory.js";
36
36
  import { useChat as g } from "./embedded-chat/chat-provider.js";
37
37
  import { ChatProvider as Zr } from "./embedded-chat/chat-provider.js";
38
- import Ne from "./tagline-logo-icon.js";
39
- import { useSettleAction as Re } from "../hooks/use-settle-action.js";
40
- import { useContainerSize as $e } from "../hooks/use-container-size.js";
38
+ import Re from "./tagline-logo-icon.js";
39
+ import { useSettleAction as $e } from "../hooks/use-settle-action.js";
40
+ import { useContainerSize as Qe } from "../hooks/use-container-size.js";
41
41
  import { useChatAction as he } from "./embedded-chat/use-chat-action.js";
42
42
  import { useHelpMenuState as Ve, HelpMenuProvider as Ue, useHelpMenu as Ke } from "../providers/help-menu-provider.js";
43
43
  import { useChatForm as b } from "../providers/chat-form-provider.js";
@@ -53,8 +53,8 @@ import { logConversation as Je } from "../atoms/api/analytics/conversation.js";
53
53
  import { transformInkeepSource as Xe } from "../utils/transform-source/index.js";
54
54
  const Ze = "__intro__", et = i("div", {
55
55
  _id: "aiChatWrapper"
56
- }), ja = $((t, e) => {
57
- const { ...a } = t, { isHidden: s, isMobile: r } = g(), [o, c] = $e(), d = ue(e, o), m = c?.width ? c.width > 580 : !0, l = Fe();
56
+ }), ja = Q((t, e) => {
57
+ const { ...a } = t, { isHidden: s, isMobile: r } = g(), [o, c] = Qe(), d = ue(e, o), m = c?.width ? c.width > 580 : !0, l = Fe();
58
58
  return /* @__PURE__ */ n(
59
59
  et,
60
60
  {
@@ -91,11 +91,11 @@ const Ze = "__intro__", et = i("div", {
91
91
  }
92
92
  ), en = i("div", {
93
93
  _id: "aiChatContent"
94
- }), tn = i(D.Root, {
94
+ }), tn = i(x.Root, {
95
95
  _id: "aiChatContentScrollArea"
96
- }), nt = i(D.Viewport, {
96
+ }), nt = i(x.Viewport, {
97
97
  _id: "aiChatContentScrollArea__Viewport"
98
- }), an = $(({ children: t, ...e }, a) => {
98
+ }), an = Q(({ children: t, ...e }, a) => {
99
99
  const { containerRef: s } = Ye(), r = ue(a, s);
100
100
  return /* @__PURE__ */ n(
101
101
  nt,
@@ -109,16 +109,16 @@ const Ze = "__intro__", et = i("div", {
109
109
  }
110
110
  );
111
111
  }), nn = i(
112
- D.ScrollAreaScrollbar,
112
+ x.ScrollAreaScrollbar,
113
113
  {
114
114
  _id: "aiChatContentScrollArea__Scrollbar"
115
115
  }
116
116
  ), sn = i(
117
- D.ScrollAreaThumb,
117
+ x.ScrollAreaThumb,
118
118
  {
119
119
  _id: "aiChatContentScrollArea__Thumb"
120
120
  }
121
- ), rn = i(D.Corner, {
121
+ ), rn = i(x.Corner, {
122
122
  _id: "aiChatContentScrollArea__Corner"
123
123
  }), st = i("div", {
124
124
  _id: "aiChatMessages"
@@ -163,31 +163,31 @@ const Ze = "__intro__", et = i("div", {
163
163
  ), un = i(K.Arrow, {
164
164
  _id: "aiChatDisclaimerArrow"
165
165
  }), mt = i("div", {
166
- _id: "aiChatQuickQuestions"
166
+ _id: "aiChatExampleQuestions"
167
167
  }), Cn = (t) => {
168
168
  const { aiChatSettings: e } = u(), { messages: a } = g();
169
169
  return !e.exampleQuestions?.length || a.length ? null : /* @__PURE__ */ n(mt, { ...t });
170
170
  }, lt = i("h3", {
171
- _id: "aiChatQuickQuestionsLabel"
171
+ _id: "aiChatExampleQuestionsLabel"
172
172
  }), pn = F(
173
173
  (t) => {
174
174
  const { aiChatSettings: e } = u();
175
175
  return /* @__PURE__ */ n(lt, { children: e.exampleQuestionsLabel, ...t });
176
176
  }
177
177
  ), ht = i("div", {
178
- _id: "aiChatQuickQuestionsList"
178
+ _id: "aiChatExampleQuestionsList"
179
179
  }), vn = F(
180
180
  (t) => {
181
181
  const { aiChatSettings: e } = u(), a = e.exampleQuestions, { children: s, ...r } = t;
182
182
  return /* @__PURE__ */ n(ht, { children: I(s, a), ...r });
183
183
  }
184
184
  ), ut = i("div", {
185
- _id: "aiChatQuickQuestion"
186
- }), gn = $((t, e) => {
185
+ _id: "aiChatExampleQuestion"
186
+ }), gn = Q((t, e) => {
187
187
  const { aiChatSettings: a } = u(), s = a.isFirstExampleQuestionHighlighted;
188
188
  return /* @__PURE__ */ n(ut, { ref: e, "data-highlight": v(s), ...t });
189
189
  }), Ct = i("button", {
190
- _id: "aiChatQuickQuestionButton"
190
+ _id: "aiChatExampleQuestionButton"
191
191
  }), _n = (t) => {
192
192
  const { question: e, onClick: a, ...s } = t, { handleSubmit: r } = g();
193
193
  return /* @__PURE__ */ n(
@@ -227,13 +227,13 @@ const Ze = "__intro__", et = i("div", {
227
227
  ...s
228
228
  }
229
229
  );
230
- }, bt = i(ke, {
230
+ }, bt = i(Ee, {
231
231
  _id: "aiChatWorkflow__Icon"
232
232
  }), Mn = (t) => /* @__PURE__ */ n(bt, { ...t }), At = i("div", {
233
233
  _id: "aiChatMessageWrapper"
234
234
  }), Pt = (t) => {
235
235
  const { message: e, ...a } = t;
236
- return e.role === "system" ? null : /* @__PURE__ */ n(xe, { message: e, children: /* @__PURE__ */ n(At, { "data-role": e.role, ...a }) });
236
+ return e.role === "system" ? null : /* @__PURE__ */ n(De, { message: e, children: /* @__PURE__ */ n(At, { "data-role": e.role, ...a }) });
237
237
  }, In = F(
238
238
  (t) => {
239
239
  const { message: e, ...a } = t, { aiChatSettings: s, baseSettings: r } = u(), o = s.aiAssistantName, c = o ? `Hi, I'm ${o}!` : "Hi!", d = s.chatSubjectName ?? r.organizationDisplayName, m = `${c}
@@ -263,12 +263,12 @@ const Ze = "__intro__", et = i("div", {
263
263
  return !(s.at(-1)?.id === r?.id) || r.role !== "assistant" || !e || a ? null : /* @__PURE__ */ n(Mt, { children: "Thinking...", ...t });
264
264
  }, It = i("div", {
265
265
  _id: "aiChatMessageAvatar"
266
- }), kn = (t) => {
266
+ }), En = (t) => {
267
267
  const { message: e } = _();
268
268
  return /* @__PURE__ */ n(It, { "data-role": e.role, ...t });
269
269
  }, ft = i(ie.Root, {
270
270
  _id: "aiChatMessageAvatarContent"
271
- }), En = (t) => {
271
+ }), kn = (t) => {
272
272
  const { message: e } = _(), { baseSettings: a } = u();
273
273
  return /* @__PURE__ */ n(
274
274
  ft,
@@ -287,7 +287,7 @@ const Ze = "__intro__", et = i("div", {
287
287
  St,
288
288
  {
289
289
  "data-role": a.role,
290
- children: Qe(e.userProperties.name),
290
+ children: Ne(e.userProperties.name),
291
291
  ...t
292
292
  }
293
293
  ) : null;
@@ -342,23 +342,23 @@ const Ze = "__intro__", et = i("div", {
342
342
  }
343
343
  );
344
344
  }
345
- ), kt = i("span", {
345
+ ), Et = i("span", {
346
346
  _id: "aiChatMessageName"
347
347
  }), yn = (t) => {
348
348
  const { message: e } = _();
349
349
  return /* @__PURE__ */ n(
350
- kt,
350
+ Et,
351
351
  {
352
352
  "data-role": e.role,
353
353
  children: e.role === "user" ? "You" : "AI assistant",
354
354
  ...t
355
355
  }
356
356
  );
357
- }, Et = i("div", {
357
+ }, kt = i("div", {
358
358
  _id: "aiChatMessageContentWrapper"
359
359
  }), wn = (t) => {
360
360
  const { message: e } = _();
361
- return /* @__PURE__ */ n(Et, { "data-role": e.role, ...t });
361
+ return /* @__PURE__ */ n(kt, { "data-role": e.role, ...t });
362
362
  }, Bt = i("div", {
363
363
  _id: "aiChatMessageContent"
364
364
  }), Hn = (t) => {
@@ -368,15 +368,15 @@ const Ze = "__intro__", et = i("div", {
368
368
  _id: "aiChatMessageAttachments"
369
369
  }), Ln = (t) => {
370
370
  const { message: e } = _(), a = e.metadata?.attributes?.attachments;
371
- return e.role !== "user" || !a?.length ? null : /* @__PURE__ */ n(De, { children: /* @__PURE__ */ n(Tt, { ...t }) });
371
+ return e.role !== "user" || !a?.length ? null : /* @__PURE__ */ n(xe, { children: /* @__PURE__ */ n(Tt, { ...t }) });
372
372
  }, yt = i("div", {
373
373
  _id: "aiChatMessageAttachments__List"
374
- }), Dn = (t) => {
374
+ }), xn = (t) => {
375
375
  const { children: e, ...a } = t, { message: s } = _(), r = s.metadata?.attributes?.attachments;
376
376
  return r ? /* @__PURE__ */ n(yt, { children: I(e, r), ...a }) : null;
377
377
  }, wt = i("div", {
378
378
  _id: "aiChatMessageAttachments__Item"
379
- }), xn = (t) => {
379
+ }), Dn = (t) => {
380
380
  const { attachment: e, onClick: a, ...s } = t, { selectItem: r, onOpen: o } = G();
381
381
  return /* @__PURE__ */ n(Ae, { attachment: e, children: /* @__PURE__ */ n(
382
382
  wt,
@@ -390,19 +390,19 @@ const Ze = "__intro__", et = i("div", {
390
390
  }, Ht = i(B, {
391
391
  _id: "aiChatMessageAttachments__ItemIcon"
392
392
  }), On = (t) => {
393
- const { attachment: e } = x(), a = e.contentType?.attachmentIcon;
393
+ const { attachment: e } = D(), a = e.contentType?.attachmentIcon;
394
394
  return a ? /* @__PURE__ */ n(Ht, { iconSettings: a, ...t }) : null;
395
395
  }, Lt = i("span", {
396
396
  _id: "aiChatMessageAttachments__ItemTitle"
397
397
  }), Wn = (t) => {
398
- const { attachment: e } = x();
398
+ const { attachment: e } = D();
399
399
  return /* @__PURE__ */ n(Lt, { children: e.title, ...t });
400
- }, Dt = i(oe, {
400
+ }, xt = i(oe, {
401
401
  _id: "aiChatMessageAttachmentsPreview"
402
- }), Qn = (t) => {
402
+ }), Nn = (t) => {
403
403
  const { onOpenChange: e, ...a } = t, { selectItem: s, isOpen: r, onClose: o, selectedItem: c } = G();
404
404
  return /* @__PURE__ */ n(
405
- Dt,
405
+ xt,
406
406
  {
407
407
  open: r && c !== null,
408
408
  onOpenChange: h(e, (m) => {
@@ -411,17 +411,17 @@ const Ze = "__intro__", et = i("div", {
411
411
  ...a
412
412
  }
413
413
  );
414
- }, Nn = i(ae, {
414
+ }, Rn = i(ae, {
415
415
  _id: "aiChatMessageAttachmentsPreview__Overlay"
416
- }), Rn = i(ne, {
416
+ }), $n = i(ne, {
417
417
  _id: "aiChatMessageAttachmentsPreview__Content",
418
418
  "aria-describedby": void 0
419
- }), xt = i(re, {
419
+ }), Dt = i(re, {
420
420
  _id: "aiChatMessageAttachmentsPreview__Header"
421
- }), $n = (t) => {
421
+ }), Qn = (t) => {
422
422
  const { selectedItem: e } = G();
423
423
  return /* @__PURE__ */ n(
424
- xt,
424
+ Dt,
425
425
  {
426
426
  children: e?.title || "Attachment",
427
427
  ...t
@@ -471,15 +471,15 @@ const Ze = "__intro__", et = i("div", {
471
471
  }), qn = (t) => {
472
472
  const { isLoading: e, messages: a } = g(), { message: s } = _();
473
473
  return a.at(-1)?.id === s?.id && e || s.role === "user" ? null : /* @__PURE__ */ n(Wt, { ...t });
474
- }, Qt = i("div", {
474
+ }, Nt = i("div", {
475
475
  _id: "aiChatMessageToolActions"
476
476
  }), jn = (t) => {
477
477
  const { children: e, ...a } = t, { message: s } = _(), { messageToolCalls: r } = g(), o = r[s.id] || [];
478
- return /* @__PURE__ */ n(Qt, { children: I(e, o), ...a });
478
+ return /* @__PURE__ */ n(Nt, { children: I(e, o), ...a });
479
479
  }, Gn = (t) => {
480
480
  const { onClick: e, action: a, ...s } = t, { handleAction: r } = he(a), o = () => {
481
481
  r();
482
- }, c = a.label || "Contact Support", d = /* @__PURE__ */ R(ee, { children: [
482
+ }, c = a.label || "Contact Support", d = /* @__PURE__ */ $(ee, { children: [
483
483
  a.icon && /* @__PURE__ */ n(B, { iconSettings: a.icon }),
484
484
  c
485
485
  ] }), m = a.action.type, l = i(m === "open_link" ? "a" : "button", {
@@ -494,10 +494,10 @@ const Ze = "__intro__", et = i("div", {
494
494
  onClick: h(e, o)
495
495
  });
496
496
  return /* @__PURE__ */ n(l, { ...s });
497
- }, Nt = i("button", {
497
+ }, Rt = i("button", {
498
498
  _id: "aiChatMessageAction"
499
499
  }), zn = (t) => {
500
- const { action: e, onClick: a, className: s, ...r } = t, { conversation: o } = q(), { message: c } = _(), { isStreaming: d, messages: m } = g(), [l, C] = Z(), { feedback: p, submitPositiveFeedback: P, setCurrentFeedback: T, currentFeedback: O } = de(), { logEvent: z } = j(), [W, Y] = Re(), {
500
+ const { action: e, onClick: a, className: s, ...r } = t, { conversation: o } = q(), { message: c } = _(), { isStreaming: d, messages: m } = g(), [l, C] = Z(), { feedback: p, submitPositiveFeedback: P, setCurrentFeedback: T, currentFeedback: O } = de(), { logEvent: z } = j(), [W, Y] = $e(), {
501
501
  baseSettings: { privacyPreferences: Ce }
502
502
  } = u(), { optOutAllAnalytics: J } = Ce, pe = m.at(-1)?.id === c?.id, X = c.role === "assistant";
503
503
  if (pe && d || !X || {
@@ -530,7 +530,7 @@ const Ze = "__intro__", et = i("div", {
530
530
  copy: /* @__PURE__ */ n(A, { iconKey: l ? "messageCopied" : "messageCopy" }),
531
531
  upvote: /* @__PURE__ */ n(A, { iconKey: W ? "messageCopied" : "thumbsUp" }),
532
532
  downvote: /* @__PURE__ */ n(A, { iconKey: "thumbsDown" })
533
- }, k = {
533
+ }, E = {
534
534
  copy: { "data-copied": v(l) },
535
535
  upvote: {
536
536
  "data-upvoted": v(p[c.id]?.type === "positive")
@@ -541,10 +541,10 @@ const Ze = "__intro__", et = i("div", {
541
541
  }
542
542
  };
543
543
  return /* @__PURE__ */ n(
544
- Nt,
544
+ Rt,
545
545
  {
546
546
  "data-action": e,
547
- ...k[e],
547
+ ...E[e],
548
548
  children: S[e],
549
549
  "aria-label": L[e],
550
550
  className: `${s} ${e}`,
@@ -552,14 +552,14 @@ const Ze = "__intro__", et = i("div", {
552
552
  ...r
553
553
  }
554
554
  );
555
- }, Rt = i("div", {
555
+ }, $t = i("div", {
556
556
  _id: "aiChatMessageSources"
557
557
  }), Yn = (t) => {
558
558
  const { message: e } = _();
559
- return e.role !== "assistant" || !e.links?.length ? null : /* @__PURE__ */ n(Rt, { ...t });
560
- }, $t = i("div", {
559
+ return e.role !== "assistant" || !e.links?.length ? null : /* @__PURE__ */ n($t, { ...t });
560
+ }, Qt = i("div", {
561
561
  _id: "aiChatMessageSources__Header"
562
- }), Jn = (t) => /* @__PURE__ */ n($t, { children: "Sources", ...t }), Vt = i("div", {
562
+ }), Jn = (t) => /* @__PURE__ */ n(Qt, { children: "Sources", ...t }), Vt = i("div", {
563
563
  _id: "aiChatMessageSources__List"
564
564
  }), Xn = (t) => {
565
565
  const { message: e } = _(), { children: a, ...s } = t, {
@@ -667,7 +667,7 @@ const Ze = "__intro__", et = i("div", {
667
667
  _id: "aiChatInput__Group"
668
668
  }), Xt = i("textarea", {
669
669
  _id: "aiChatInput"
670
- }), ls = $(({ onChange: t, onKeyDown: e, ...a }, s) => {
670
+ }), ls = Q(({ onChange: t, onKeyDown: e, ...a }, s) => {
671
671
  const { handleInputChange: r, handleInputKeyDown: o, input: c, error: d, shouldAutoFocusInput: m, inputRef: l } = g(), { aiChatSettings: C } = u(), p = ue(
672
672
  s,
673
673
  l
@@ -725,17 +725,17 @@ const Ze = "__intro__", et = i("div", {
725
725
  }, ai = i(B, {
726
726
  _id: "aiChatAttachmentsBar__AttachmentIcon"
727
727
  }), gs = (t) => {
728
- const { attachment: e } = x(), a = e.contentType?.attachmentIcon;
728
+ const { attachment: e } = D(), a = e.contentType?.attachmentIcon;
729
729
  return a ? /* @__PURE__ */ n(ai, { iconSettings: a, ...t }) : null;
730
730
  }, ni = i("span", {
731
731
  _id: "aiChatAttachmentsBar__AttachmentTitle"
732
732
  }), _s = (t) => {
733
- const { attachment: e } = x();
733
+ const { attachment: e } = D();
734
734
  return /* @__PURE__ */ n(ni, { children: e.title, ...t });
735
735
  }, si = i("button", {
736
736
  _id: "aiChatAttachmentsBar__AttachmentDelete"
737
737
  }), bs = (t) => {
738
- const { onClick: e, ...a } = t, { attachment: s } = x(), { setMessageAttachments: r } = g();
738
+ const { onClick: e, ...a } = t, { attachment: s } = D(), { setMessageAttachments: r } = g();
739
739
  return /* @__PURE__ */ n(
740
740
  si,
741
741
  {
@@ -749,20 +749,20 @@ const Ze = "__intro__", et = i("div", {
749
749
  );
750
750
  }, As = i("div", {
751
751
  _id: "aiChatAttachmentsBar__Actions"
752
- }), Ps = i(E.Tooltip, {
752
+ }), Ps = i(k.Tooltip, {
753
753
  _id: "aiChatAttachmentsBar__InfoTip",
754
754
  delayDuration: 0
755
- }), Fs = i(E.Trigger, {
755
+ }), Fs = i(k.Trigger, {
756
756
  _id: "aiChatAttachmentsBar__InfoTipIcon",
757
757
  children: /* @__PURE__ */ n(A, { iconKey: "info" })
758
- }), ri = i(E.Arrow, {
758
+ }), ri = i(k.Arrow, {
759
759
  _id: "aiChatAttachmentsBar__InfoTipArrow"
760
- }), Ms = i(E.Content, {
760
+ }), Ms = i(k.Content, {
761
761
  _id: "aiChatAttachmentsBar__InfoTipText",
762
762
  side: "bottom",
763
763
  sideOffset: 3,
764
764
  align: "center",
765
- children: /* @__PURE__ */ R(ee, { children: [
765
+ children: /* @__PURE__ */ $(ee, { children: [
766
766
  /* @__PURE__ */ n(ri, {}),
767
767
  "Attachments will be kept in context for the entire conversation."
768
768
  ] })
@@ -793,11 +793,11 @@ const Ze = "__intro__", et = i("div", {
793
793
  ...s
794
794
  }
795
795
  );
796
- }, Ss = i(Ee, {
796
+ }, Ss = i(ke, {
797
797
  _id: "aiChatAttachmentsBar__InputIcon"
798
798
  }), di = i(oe, {
799
799
  _id: "aiChatAttachmentsBar__Modal"
800
- }), ks = (t) => {
800
+ }), Es = (t) => {
801
801
  const { onOpenChange: e, ...a } = t, { selectInput: s, isOpen: r, onClose: o, selectedInput: c } = M();
802
802
  return /* @__PURE__ */ n(
803
803
  di,
@@ -809,7 +809,7 @@ const Ze = "__intro__", et = i("div", {
809
809
  ...a
810
810
  }
811
811
  );
812
- }, Es = i(ae, {
812
+ }, ks = i(ae, {
813
813
  _id: "aiChatAttachmentsBar__ModalOverlay"
814
814
  }), Bs = i(ne, {
815
815
  _id: "aiChatAttachmentsBar__ModalContent",
@@ -834,11 +834,11 @@ const Ze = "__intro__", et = i("div", {
834
834
  }, Ls = i(se, {
835
835
  _id: "aiChatAttachmentsBar__ModalClose",
836
836
  children: /* @__PURE__ */ n(A, { iconKey: "close" })
837
- }), Ds = i("div", {
837
+ }), xs = i("div", {
838
838
  _id: "aiChatAttachmentsBar__ModalBody"
839
839
  }), ui = i("form", {
840
840
  _id: "aiChatAttachmentsBar__Form"
841
- }), xs = (t) => {
841
+ }), Ds = (t) => {
842
842
  const { onSubmit: e, ...a } = t, { form: s } = M();
843
843
  return /* @__PURE__ */ n(
844
844
  ui,
@@ -864,7 +864,7 @@ const Ze = "__intro__", et = i("div", {
864
864
  );
865
865
  }, pi = i("input", {
866
866
  _id: "aiChatAttachmentsBar__FormTitleInput"
867
- }), Qs = (t) => {
867
+ }), Ns = (t) => {
868
868
  const { onChange: e, ...a } = t, { form: s, selectedInput: r } = M();
869
869
  return /* @__PURE__ */ n(
870
870
  pi,
@@ -880,7 +880,7 @@ const Ze = "__intro__", et = i("div", {
880
880
  );
881
881
  }, vi = i("span", {
882
882
  _id: "aiChatAttachmentsBar__FormTitleError"
883
- }), Ns = (t) => {
883
+ }), Rs = (t) => {
884
884
  const { form: e } = M();
885
885
  return e.errors.title ? /* @__PURE__ */ n(
886
886
  vi,
@@ -890,12 +890,12 @@ const Ze = "__intro__", et = i("div", {
890
890
  ...t
891
891
  }
892
892
  ) : null;
893
- }, Rs = i("div", {
893
+ }, $s = i("div", {
894
894
  _id: "aiChatAttachmentsBar__FormTitle",
895
895
  role: "group"
896
896
  }), gi = i("label", {
897
897
  _id: "aiChatAttachmentsBar__FormContentLabel"
898
- }), $s = (t) => {
898
+ }), Qs = (t) => {
899
899
  const { form: e, selectedInput: a } = M();
900
900
  return /* @__PURE__ */ n(
901
901
  gi,
@@ -949,7 +949,7 @@ const Ze = "__intro__", et = i("div", {
949
949
  }), zs = i("span", {
950
950
  _id: "aiChatTagline__Text",
951
951
  children: "Powered by"
952
- }), Ys = i(Ne, {
952
+ }), Ys = i(Re, {
953
953
  _id: "aiChatTagline__Logo"
954
954
  }), Js = i("a", {
955
955
  _id: "aiChatTagline__BrandName",
@@ -973,46 +973,46 @@ const Ze = "__intro__", et = i("div", {
973
973
  help: () => {
974
974
  },
975
975
  copy: () => {
976
- const Q = m.map((y) => {
977
- const L = `**${y.role === "assistant" ? "AI Assistant" : "User"}**`, S = le(y), k = We(y.metadata?.attributes?.attachments), N = k ? `
976
+ const N = m.map((y) => {
977
+ const L = `**${y.role === "assistant" ? "AI Assistant" : "User"}**`, S = le(y), E = We(y.metadata?.attributes?.attachments), R = E ? `
978
978
 
979
979
  **Attachments**
980
980
 
981
- ${k}` : "";
981
+ ${E}` : "";
982
982
  return `${L}
983
983
 
984
- ${S}${N}`;
984
+ ${S}${R}`;
985
985
  }).join(`
986
986
 
987
987
  ---
988
988
 
989
989
  `);
990
- z(Q);
990
+ z(N);
991
991
  },
992
992
  share: async () => {
993
- const Q = {
993
+ const N = {
994
994
  visibility: "public",
995
995
  tags: [],
996
996
  userProperties: {},
997
- messages: C.messages.map((k) => ({
998
- ...k,
999
- id: Date.now().toString() + k.id,
997
+ messages: C.messages.map((E) => ({
998
+ ...E,
999
+ id: Date.now().toString() + E.id,
1000
1000
  conversationId: void 0
1001
1001
  }))
1002
1002
  }, { apiKey: y, analyticsApiBaseUrl: L } = P, S = await Je(
1003
1003
  "",
1004
- Q,
1004
+ N,
1005
1005
  y,
1006
1006
  L
1007
1007
  );
1008
1008
  if (S) {
1009
- const N = `${p.shareChatUrlBasePath}?${Le}=${S?.id}`;
1010
- Y(N), T({
1009
+ const R = `${p.shareChatUrlBasePath}?${Le}=${S?.id}`;
1010
+ Y(R), T({
1011
1011
  eventName: "chat_share_button_clicked",
1012
1012
  properties: {
1013
1013
  sharedConversationId: S?.id,
1014
1014
  originalConversationId: C.id,
1015
- sharedChatUrl: N,
1015
+ sharedChatUrl: R,
1016
1016
  conversation: S
1017
1017
  }
1018
1018
  });
@@ -1024,7 +1024,7 @@ ${S}${N}`;
1024
1024
  copy: O,
1025
1025
  share: W
1026
1026
  };
1027
- return /* @__PURE__ */ n(E.Tooltip, { delayDuration: 0, open: ve[e], children: /* @__PURE__ */ n(
1027
+ return /* @__PURE__ */ n(k.Tooltip, { delayDuration: 0, open: ve[e], children: /* @__PURE__ */ n(
1028
1028
  Ai,
1029
1029
  {
1030
1030
  "data-type": e,
@@ -1035,7 +1035,7 @@ ${S}${N}`;
1035
1035
  ...r
1036
1036
  }
1037
1037
  ) });
1038
- }, Pi = i(E.Trigger, {
1038
+ }, Pi = i(k.Trigger, {
1039
1039
  _id: "aiChat__ChatActionLabel"
1040
1040
  }), Fi = (t) => {
1041
1041
  const { action: e, ...a } = t, { aiChatSettings: s } = u(), r = s.toolbarButtonLabels ?? {}, o = {
@@ -1046,15 +1046,15 @@ ${S}${N}`;
1046
1046
  stop: r.stop ?? "Stop"
1047
1047
  };
1048
1048
  return /* @__PURE__ */ n(Pi, { children: o[e], ...a });
1049
- }, Mi = i(E.TooltipContent, {
1049
+ }, Mi = i(k.TooltipContent, {
1050
1050
  _id: "aiChat__ChatActionFeeback"
1051
1051
  }), Xs = (t) => {
1052
1052
  const { action: e, children: a, ...s } = t, r = {
1053
1053
  copy: "Copied!",
1054
1054
  share: "Link copied!"
1055
1055
  };
1056
- return /* @__PURE__ */ R(Mi, { sideOffset: 5, ...s, children: [
1057
- /* @__PURE__ */ n(E.Arrow, {}),
1056
+ return /* @__PURE__ */ $(Mi, { sideOffset: 5, ...s, children: [
1057
+ /* @__PURE__ */ n(k.Arrow, {}),
1058
1058
  a || r[e]
1059
1059
  ] });
1060
1060
  }, Ii = i(U.Root, {
@@ -1098,17 +1098,17 @@ ${S}${N}`;
1098
1098
  ...s
1099
1099
  };
1100
1100
  return c === "open_link" ? /* @__PURE__ */ n(Si, { href: e.action.url, ...d }) : /* @__PURE__ */ n(fi, { ...d });
1101
- }, ki = i(U.Trigger, {
1101
+ }, Ei = i(U.Trigger, {
1102
1102
  _id: "aiChatHelpActions__Trigger"
1103
1103
  }), tr = F(
1104
1104
  (t) => {
1105
1105
  const { aiChatSettings: e } = u();
1106
- return /* @__PURE__ */ n(Me, { action: "help", ...t, asChild: !0, children: /* @__PURE__ */ n(ki, { children: e.toolbarButtonLabels?.getHelp ?? "Get Help" }) });
1106
+ return /* @__PURE__ */ n(Me, { action: "help", ...t, asChild: !0, children: /* @__PURE__ */ n(Ei, { children: e.toolbarButtonLabels?.getHelp ?? "Get Help" }) });
1107
1107
  }
1108
- ), Ei = i(U.Content, {
1108
+ ), ki = i(U.Content, {
1109
1109
  _id: "aiChatHelpActions__Menu"
1110
1110
  }), ir = (t) => /* @__PURE__ */ n(
1111
- Ei,
1111
+ ki,
1112
1112
  {
1113
1113
  side: "top",
1114
1114
  sideOffset: 8,
@@ -1209,13 +1209,13 @@ ${S}${N}`;
1209
1209
  irrelevant_citations: "Irrelevant citations"
1210
1210
  };
1211
1211
  return /* @__PURE__ */ n(Li, { htmlFor: `feedback-${e}`, children: a[e], ...t });
1212
- }, Di = i("textarea", {
1212
+ }, xi = i("textarea", {
1213
1213
  _id: "aiChatFeedbackItem__Description",
1214
1214
  placeholder: "Please describe"
1215
1215
  }), gr = (t) => {
1216
1216
  const { name: e, focusItem: a } = me();
1217
1217
  return /* @__PURE__ */ n(
1218
- Di,
1218
+ xi,
1219
1219
  {
1220
1220
  ref: a,
1221
1221
  name: `${e}:description`,
@@ -1226,11 +1226,11 @@ ${S}${N}`;
1226
1226
  _id: "aiChatFeedbackForm__SubmitButton",
1227
1227
  children: "Submit",
1228
1228
  type: "submit"
1229
- }), xi = i("div", {
1229
+ }), Di = i("div", {
1230
1230
  _id: "aiChatForm__Wrapper"
1231
1231
  }), br = (t) => {
1232
1232
  const { form: e } = b();
1233
- return e ? /* @__PURE__ */ n(xi, { ...t }) : null;
1233
+ return e ? /* @__PURE__ */ n(Di, { ...t }) : null;
1234
1234
  }, Oi = i("form", {
1235
1235
  _id: "aiChatForm"
1236
1236
  }), Ar = (t) => {
@@ -1244,22 +1244,22 @@ ${S}${N}`;
1244
1244
  return /* @__PURE__ */ n(Wi, { onClick: h(e, s), ...a });
1245
1245
  }, Fr = i("div", {
1246
1246
  _id: "aiChatForm__Header"
1247
- }), Qi = i("h2", {
1247
+ }), Ni = i("h2", {
1248
1248
  _id: "aiChatForm__Heading"
1249
1249
  }), Mr = (t) => {
1250
1250
  const { form: e } = b();
1251
- return e?.heading ? /* @__PURE__ */ n(Qi, { children: e.heading, ...t }) : null;
1252
- }, Ni = i("span", {
1251
+ return e?.heading ? /* @__PURE__ */ n(Ni, { children: e.heading, ...t }) : null;
1252
+ }, Ri = i("span", {
1253
1253
  _id: "aiChatForm__Description"
1254
1254
  }), Ir = (t) => {
1255
1255
  const { form: e } = b();
1256
- return e?.description ? /* @__PURE__ */ n(Ni, { children: e.description, ...t }) : null;
1257
- }, Ri = i("div", {
1256
+ return e?.description ? /* @__PURE__ */ n(Ri, { children: e.description, ...t }) : null;
1257
+ }, $i = i("div", {
1258
1258
  _id: "aiChatForm__Content"
1259
1259
  }), fr = (t) => {
1260
1260
  const { children: e, ...a } = t, { fields: s = [] } = b();
1261
- return /* @__PURE__ */ n(Ri, { children: I(e, s), ...a });
1262
- }, $i = i("div", {
1261
+ return /* @__PURE__ */ n($i, { children: I(e, s), ...a });
1262
+ }, Qi = i("div", {
1263
1263
  _id: "aiChatForm__Field"
1264
1264
  }), Sr = (t) => {
1265
1265
  const { field: e, autoFocus: a, ...s } = t, { control: r, errors: o } = b();
@@ -1279,7 +1279,7 @@ ${S}${N}`;
1279
1279
  fieldProps: c,
1280
1280
  autoFocus: a,
1281
1281
  children: d && /* @__PURE__ */ n(
1282
- $i,
1282
+ Qi,
1283
1283
  {
1284
1284
  "data-input-type": e.inputType,
1285
1285
  "data-hidden": v(e.isHidden),
@@ -1293,7 +1293,7 @@ ${S}${N}`;
1293
1293
  );
1294
1294
  }, Vi = i("label", {
1295
1295
  _id: "aiChatForm__FieldLabel"
1296
- }), kr = (t) => {
1296
+ }), Er = (t) => {
1297
1297
  const { field: e } = H();
1298
1298
  return /* @__PURE__ */ n(
1299
1299
  Vi,
@@ -1327,7 +1327,7 @@ ${S}${N}`;
1327
1327
  ...l
1328
1328
  }
1329
1329
  );
1330
- }, Er = i(Ie, {
1330
+ }, kr = i(Ie, {
1331
1331
  _id: "aiChatForm__FieldEmail",
1332
1332
  type: "email"
1333
1333
  }), Ki = i("input", {
@@ -1399,7 +1399,7 @@ ${S}${N}`;
1399
1399
  _id: "aiChatForm__FieldSelect__Trigger"
1400
1400
  }), Gi = i(f.Value, {
1401
1401
  _id: "aiChatForm__FieldSelect__Value"
1402
- }), Dr = (t) => {
1402
+ }), xr = (t) => {
1403
1403
  const { field: e } = H();
1404
1404
  return /* @__PURE__ */ n(
1405
1405
  Gi,
@@ -1408,7 +1408,7 @@ ${S}${N}`;
1408
1408
  ...t
1409
1409
  }
1410
1410
  );
1411
- }, xr = i(f.Icon, {
1411
+ }, Dr = i(f.Icon, {
1412
1412
  _id: "aiChatForm__FieldSelect__Icon",
1413
1413
  asChild: !0,
1414
1414
  children: /* @__PURE__ */ n(B, { iconSettings: { builtIn: "LuChevronDown" } })
@@ -1417,11 +1417,11 @@ ${S}${N}`;
1417
1417
  position: "popper"
1418
1418
  }), Wr = i(f.Viewport, {
1419
1419
  _id: "aiChatForm__FieldSelect__Viewport"
1420
- }), Qr = i(f.Item, {
1420
+ }), Nr = i(f.Item, {
1421
1421
  _id: "aiChatForm__FieldSelect__Item"
1422
- }), Nr = i(f.ItemText, {
1422
+ }), Rr = i(f.ItemText, {
1423
1423
  _id: "aiChatForm__FieldSelect__ItemText"
1424
- }), Rr = i(
1424
+ }), $r = i(
1425
1425
  f.ItemIndicator,
1426
1426
  {
1427
1427
  _id: "aiChatForm__FieldSelect__ItemIndicator",
@@ -1430,7 +1430,7 @@ ${S}${N}`;
1430
1430
  }
1431
1431
  ), zi = i("span", {
1432
1432
  _id: "aiChatForm__FieldError"
1433
- }), $r = (t) => {
1433
+ }), Qr = (t) => {
1434
1434
  const { error: e } = H();
1435
1435
  return e ? /* @__PURE__ */ n(zi, { children: e.message?.toString(), ...t }) : null;
1436
1436
  }, Yi = i("span", {
@@ -1478,7 +1478,7 @@ ${S}${N}`;
1478
1478
  ia,
1479
1479
  {
1480
1480
  onClick: h(e, r),
1481
- children: /* @__PURE__ */ R(ee, { children: [
1481
+ children: /* @__PURE__ */ $(ee, { children: [
1482
1482
  c,
1483
1483
  d
1484
1484
  ] }),
@@ -1495,15 +1495,15 @@ export {
1495
1495
  bs as AttachmentsBarAttachmentDelete,
1496
1496
  gs as AttachmentsBarAttachmentIcon,
1497
1497
  _s as AttachmentsBarAttachmentTitle,
1498
- xs as AttachmentsBarForm,
1499
- Rs as AttachmentsBarFormContent,
1498
+ Ds as AttachmentsBarForm,
1499
+ $s as AttachmentsBarFormContent,
1500
1500
  Us as AttachmentsBarFormContentError,
1501
1501
  Vs as AttachmentsBarFormContentInput,
1502
- $s as AttachmentsBarFormContentLabel,
1502
+ Qs as AttachmentsBarFormContentLabel,
1503
1503
  Ks as AttachmentsBarFormSubmitButton,
1504
1504
  Os as AttachmentsBarFormTitle,
1505
- Ns as AttachmentsBarFormTitleError,
1506
- Qs as AttachmentsBarFormTitleInput,
1505
+ Rs as AttachmentsBarFormTitleError,
1506
+ Ns as AttachmentsBarFormTitleInput,
1507
1507
  Ws as AttachmentsBarFormTitleLabel,
1508
1508
  Ps as AttachmentsBarInfoTip,
1509
1509
  ri as AttachmentsBarInfoTipArrow,
@@ -1513,15 +1513,15 @@ export {
1513
1513
  Ss as AttachmentsBarInputIcon,
1514
1514
  Is as AttachmentsBarInputs,
1515
1515
  ps as AttachmentsBarList,
1516
- ks as AttachmentsBarModal,
1517
- Ds as AttachmentsBarModalBody,
1516
+ Es as AttachmentsBarModal,
1517
+ xs as AttachmentsBarModalBody,
1518
1518
  Ls as AttachmentsBarModalClose,
1519
1519
  Bs as AttachmentsBarModalContent,
1520
1520
  ws as AttachmentsBarModalDescription,
1521
1521
  Ts as AttachmentsBarModalHeader,
1522
1522
  ys as AttachmentsBarModalHeading,
1523
1523
  Hs as AttachmentsBarModalHelp,
1524
- Es as AttachmentsBarModalOverlay,
1524
+ ks as AttachmentsBarModalOverlay,
1525
1525
  Me as ChatAction,
1526
1526
  Xs as ChatActionFeedback,
1527
1527
  Fi as ChatActionLabel,
@@ -1547,15 +1547,15 @@ export {
1547
1547
  bs as EmbeddedChatPrimitiveAttachmentsBarAttachmentDelete,
1548
1548
  gs as EmbeddedChatPrimitiveAttachmentsBarAttachmentIcon,
1549
1549
  _s as EmbeddedChatPrimitiveAttachmentsBarAttachmentTitle,
1550
- xs as EmbeddedChatPrimitiveAttachmentsBarForm,
1551
- Rs as EmbeddedChatPrimitiveAttachmentsBarFormContent,
1550
+ Ds as EmbeddedChatPrimitiveAttachmentsBarForm,
1551
+ $s as EmbeddedChatPrimitiveAttachmentsBarFormContent,
1552
1552
  Us as EmbeddedChatPrimitiveAttachmentsBarFormContentError,
1553
1553
  Vs as EmbeddedChatPrimitiveAttachmentsBarFormContentInput,
1554
- $s as EmbeddedChatPrimitiveAttachmentsBarFormContentLabel,
1554
+ Qs as EmbeddedChatPrimitiveAttachmentsBarFormContentLabel,
1555
1555
  Ks as EmbeddedChatPrimitiveAttachmentsBarFormSubmitButton,
1556
1556
  Os as EmbeddedChatPrimitiveAttachmentsBarFormTitle,
1557
- Ns as EmbeddedChatPrimitiveAttachmentsBarFormTitleError,
1558
- Qs as EmbeddedChatPrimitiveAttachmentsBarFormTitleInput,
1557
+ Rs as EmbeddedChatPrimitiveAttachmentsBarFormTitleError,
1558
+ Ns as EmbeddedChatPrimitiveAttachmentsBarFormTitleInput,
1559
1559
  Ws as EmbeddedChatPrimitiveAttachmentsBarFormTitleLabel,
1560
1560
  Ps as EmbeddedChatPrimitiveAttachmentsBarInfoTip,
1561
1561
  ri as EmbeddedChatPrimitiveAttachmentsBarInfoTipArrow,
@@ -1565,15 +1565,15 @@ export {
1565
1565
  Ss as EmbeddedChatPrimitiveAttachmentsBarInputIcon,
1566
1566
  Is as EmbeddedChatPrimitiveAttachmentsBarInputs,
1567
1567
  ps as EmbeddedChatPrimitiveAttachmentsBarList,
1568
- ks as EmbeddedChatPrimitiveAttachmentsBarModal,
1569
- Ds as EmbeddedChatPrimitiveAttachmentsBarModalBody,
1568
+ Es as EmbeddedChatPrimitiveAttachmentsBarModal,
1569
+ xs as EmbeddedChatPrimitiveAttachmentsBarModalBody,
1570
1570
  Ls as EmbeddedChatPrimitiveAttachmentsBarModalClose,
1571
1571
  Bs as EmbeddedChatPrimitiveAttachmentsBarModalContent,
1572
1572
  ws as EmbeddedChatPrimitiveAttachmentsBarModalDescription,
1573
1573
  Ts as EmbeddedChatPrimitiveAttachmentsBarModalHeader,
1574
1574
  ys as EmbeddedChatPrimitiveAttachmentsBarModalHeading,
1575
1575
  Hs as EmbeddedChatPrimitiveAttachmentsBarModalHelp,
1576
- Es as EmbeddedChatPrimitiveAttachmentsBarModalOverlay,
1576
+ ks as EmbeddedChatPrimitiveAttachmentsBarModalOverlay,
1577
1577
  Me as EmbeddedChatPrimitiveChatAction,
1578
1578
  Xs as EmbeddedChatPrimitiveChatActionFeedback,
1579
1579
  Fi as EmbeddedChatPrimitiveChatActionLabel,
@@ -1591,6 +1591,11 @@ export {
1591
1591
  dn as EmbeddedChatPrimitiveDisclaimerLabel,
1592
1592
  hn as EmbeddedChatPrimitiveDisclaimerText,
1593
1593
  mn as EmbeddedChatPrimitiveDisclaimerTrigger,
1594
+ gn as EmbeddedChatPrimitiveExampleQuestion,
1595
+ _n as EmbeddedChatPrimitiveExampleQuestionButton,
1596
+ Cn as EmbeddedChatPrimitiveExampleQuestions,
1597
+ pn as EmbeddedChatPrimitiveExampleQuestionsLabel,
1598
+ vn as EmbeddedChatPrimitiveExampleQuestionsList,
1594
1599
  hr as EmbeddedChatPrimitiveFeedbackForm,
1595
1600
  ur as EmbeddedChatPrimitiveFeedbackItem,
1596
1601
  Cr as EmbeddedChatPrimitiveFeedbackItemCheckbox,
@@ -1614,18 +1619,18 @@ export {
1614
1619
  Sr as EmbeddedChatPrimitiveFormField,
1615
1620
  yr as EmbeddedChatPrimitiveFormFieldCheckbox,
1616
1621
  wr as EmbeddedChatPrimitiveFormFieldCheckboxIndicator,
1617
- Er as EmbeddedChatPrimitiveFormFieldEmail,
1618
- $r as EmbeddedChatPrimitiveFormFieldError,
1622
+ kr as EmbeddedChatPrimitiveFormFieldEmail,
1623
+ Qr as EmbeddedChatPrimitiveFormFieldError,
1619
1624
  Br as EmbeddedChatPrimitiveFormFieldFile,
1620
- kr as EmbeddedChatPrimitiveFormFieldLabel,
1625
+ Er as EmbeddedChatPrimitiveFormFieldLabel,
1621
1626
  Hr as EmbeddedChatPrimitiveFormFieldSelect,
1622
1627
  Or as EmbeddedChatPrimitiveFormFieldSelectContent,
1623
- xr as EmbeddedChatPrimitiveFormFieldSelectIcon,
1624
- Qr as EmbeddedChatPrimitiveFormFieldSelectItem,
1625
- Rr as EmbeddedChatPrimitiveFormFieldSelectItemIndicator,
1626
- Nr as EmbeddedChatPrimitiveFormFieldSelectItemText,
1628
+ Dr as EmbeddedChatPrimitiveFormFieldSelectIcon,
1629
+ Nr as EmbeddedChatPrimitiveFormFieldSelectItem,
1630
+ $r as EmbeddedChatPrimitiveFormFieldSelectItemIndicator,
1631
+ Rr as EmbeddedChatPrimitiveFormFieldSelectItemText,
1627
1632
  Lr as EmbeddedChatPrimitiveFormFieldSelectTrigger,
1628
- Dr as EmbeddedChatPrimitiveFormFieldSelectValue,
1633
+ xr as EmbeddedChatPrimitiveFormFieldSelectValue,
1629
1634
  Wr as EmbeddedChatPrimitiveFormFieldSelectViewport,
1630
1635
  Ie as EmbeddedChatPrimitiveFormFieldText,
1631
1636
  Tr as EmbeddedChatPrimitiveFormFieldTextArea,
@@ -1653,18 +1658,18 @@ export {
1653
1658
  zn as EmbeddedChatPrimitiveMessageAction,
1654
1659
  qn as EmbeddedChatPrimitiveMessageActions,
1655
1660
  Ln as EmbeddedChatPrimitiveMessageAttachments,
1656
- xn as EmbeddedChatPrimitiveMessageAttachmentsItem,
1661
+ Dn as EmbeddedChatPrimitiveMessageAttachmentsItem,
1657
1662
  On as EmbeddedChatPrimitiveMessageAttachmentsItemIcon,
1658
1663
  Wn as EmbeddedChatPrimitiveMessageAttachmentsItemTitle,
1659
- Dn as EmbeddedChatPrimitiveMessageAttachmentsList,
1660
- Qn as EmbeddedChatPrimitiveMessageAttachmentsPreview,
1664
+ xn as EmbeddedChatPrimitiveMessageAttachmentsList,
1665
+ Nn as EmbeddedChatPrimitiveMessageAttachmentsPreview,
1661
1666
  Un as EmbeddedChatPrimitiveMessageAttachmentsPreviewBody,
1662
1667
  Vn as EmbeddedChatPrimitiveMessageAttachmentsPreviewClose,
1663
- Rn as EmbeddedChatPrimitiveMessageAttachmentsPreviewContent,
1664
- $n as EmbeddedChatPrimitiveMessageAttachmentsPreviewHeader,
1665
- Nn as EmbeddedChatPrimitiveMessageAttachmentsPreviewOverlay,
1666
- kn as EmbeddedChatPrimitiveMessageAvatar,
1667
- En as EmbeddedChatPrimitiveMessageAvatarContent,
1668
+ $n as EmbeddedChatPrimitiveMessageAttachmentsPreviewContent,
1669
+ Qn as EmbeddedChatPrimitiveMessageAttachmentsPreviewHeader,
1670
+ Rn as EmbeddedChatPrimitiveMessageAttachmentsPreviewOverlay,
1671
+ En as EmbeddedChatPrimitiveMessageAvatar,
1672
+ kn as EmbeddedChatPrimitiveMessageAvatarContent,
1668
1673
  Bn as EmbeddedChatPrimitiveMessageAvatarFallback,
1669
1674
  Tn as EmbeddedChatPrimitiveMessageAvatarImage,
1670
1675
  Hn as EmbeddedChatPrimitiveMessageContent,
@@ -1687,11 +1692,6 @@ export {
1687
1692
  jn as EmbeddedChatPrimitiveMessageToolActions,
1688
1693
  Pt as EmbeddedChatPrimitiveMessageWrapper,
1689
1694
  on as EmbeddedChatPrimitiveMessages,
1690
- gn as EmbeddedChatPrimitiveQuickQuestion,
1691
- _n as EmbeddedChatPrimitiveQuickQuestionButton,
1692
- Cn as EmbeddedChatPrimitiveQuickQuestions,
1693
- pn as EmbeddedChatPrimitiveQuickQuestionsLabel,
1694
- vn as EmbeddedChatPrimitiveQuickQuestionsList,
1695
1695
  za as EmbeddedChatPrimitiveRoot,
1696
1696
  hs as EmbeddedChatPrimitiveSendButton,
1697
1697
  us as EmbeddedChatPrimitiveSendButtonIcon,
@@ -1707,6 +1707,11 @@ export {
1707
1707
  An as EmbeddedChatPrimitiveWorkflowsLabel,
1708
1708
  Pn as EmbeddedChatPrimitiveWorkflowsList,
1709
1709
  ja as EmbeddedChatPrimitiveWrapper,
1710
+ gn as ExampleQuestion,
1711
+ _n as ExampleQuestionButton,
1712
+ Cn as ExampleQuestions,
1713
+ pn as ExampleQuestionsLabel,
1714
+ vn as ExampleQuestionsList,
1710
1715
  hr as FeedbackForm,
1711
1716
  ur as FeedbackItem,
1712
1717
  Cr as FeedbackItemCheckbox,
@@ -1730,18 +1735,18 @@ export {
1730
1735
  Sr as FormField,
1731
1736
  yr as FormFieldCheckbox,
1732
1737
  wr as FormFieldCheckboxIndicator,
1733
- Er as FormFieldEmail,
1734
- $r as FormFieldError,
1738
+ kr as FormFieldEmail,
1739
+ Qr as FormFieldError,
1735
1740
  Br as FormFieldFile,
1736
- kr as FormFieldLabel,
1741
+ Er as FormFieldLabel,
1737
1742
  Hr as FormFieldSelect,
1738
1743
  Or as FormFieldSelectContent,
1739
- xr as FormFieldSelectIcon,
1740
- Qr as FormFieldSelectItem,
1741
- Rr as FormFieldSelectItemIndicator,
1742
- Nr as FormFieldSelectItemText,
1744
+ Dr as FormFieldSelectIcon,
1745
+ Nr as FormFieldSelectItem,
1746
+ $r as FormFieldSelectItemIndicator,
1747
+ Rr as FormFieldSelectItemText,
1743
1748
  Lr as FormFieldSelectTrigger,
1744
- Dr as FormFieldSelectValue,
1749
+ xr as FormFieldSelectValue,
1745
1750
  Wr as FormFieldSelectViewport,
1746
1751
  Ie as FormFieldText,
1747
1752
  Tr as FormFieldTextArea,
@@ -1771,18 +1776,18 @@ export {
1771
1776
  zn as MessageAction,
1772
1777
  qn as MessageActions,
1773
1778
  Ln as MessageAttachments,
1774
- xn as MessageAttachmentsItem,
1779
+ Dn as MessageAttachmentsItem,
1775
1780
  On as MessageAttachmentsItemIcon,
1776
1781
  Wn as MessageAttachmentsItemTitle,
1777
- Dn as MessageAttachmentsList,
1778
- Qn as MessageAttachmentsPreview,
1782
+ xn as MessageAttachmentsList,
1783
+ Nn as MessageAttachmentsPreview,
1779
1784
  Un as MessageAttachmentsPreviewBody,
1780
1785
  Vn as MessageAttachmentsPreviewClose,
1781
- Rn as MessageAttachmentsPreviewContent,
1782
- $n as MessageAttachmentsPreviewHeader,
1783
- Nn as MessageAttachmentsPreviewOverlay,
1784
- kn as MessageAvatar,
1785
- En as MessageAvatarContent,
1786
+ $n as MessageAttachmentsPreviewContent,
1787
+ Qn as MessageAttachmentsPreviewHeader,
1788
+ Rn as MessageAttachmentsPreviewOverlay,
1789
+ En as MessageAvatar,
1790
+ kn as MessageAvatarContent,
1786
1791
  Bn as MessageAvatarFallback,
1787
1792
  Tn as MessageAvatarImage,
1788
1793
  Hn as MessageContent,
@@ -1807,11 +1812,6 @@ export {
1807
1812
  Pt as MessageWrapper,
1808
1813
  on as Messages,
1809
1814
  Zr as Provider,
1810
- gn as QuickQuestion,
1811
- _n as QuickQuestionButton,
1812
- Cn as QuickQuestions,
1813
- pn as QuickQuestionsLabel,
1814
- vn as QuickQuestionsList,
1815
1815
  za as Root,
1816
1816
  hs as SendButton,
1817
1817
  us as SendButtonIcon,