@inkeep/cxkit-primitives 0.5.36 → 0.5.37

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.
@@ -9,7 +9,7 @@ import * as k from "@radix-ui/react-tooltip";
9
9
  import * as K from "@radix-ui/react-hover-card";
10
10
  import * as x from "@radix-ui/react-scroll-area";
11
11
  import * as f from "@radix-ui/react-select";
12
- import { Overlay as ae, Content as ne, Close as se, Title as oe, Root as re } from "../atoms/dialog.js";
12
+ import { Overlay as ae, Content as ne, Close as se, Title as re, Root as oe } from "../atoms/dialog.js";
13
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
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";
@@ -34,7 +34,7 @@ import { stringifyAttachments as We } from "../utils/get-message-metadata.js";
34
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
- import { ChatProvider as er } from "./embedded-chat/chat-provider.js";
37
+ import { ChatProvider as Zr } from "./embedded-chat/chat-provider.js";
38
38
  import Re from "./tagline-logo-icon.js";
39
39
  import { useSettleAction as $e } from "../hooks/use-settle-action.js";
40
40
  import { useContainerSize as Qe } from "../hooks/use-container-size.js";
@@ -54,7 +54,7 @@ import { transformInkeepSource as Xe } from "../utils/transform-source/index.js"
54
54
  const Ze = "__intro__", et = i("div", {
55
55
  _id: "aiChatWrapper"
56
56
  }), ja = Q((t, e) => {
57
- const { ...a } = t, { isHidden: s, isMobile: o } = g(), [r, c] = Qe(), d = ue(e, r), m = c?.width ? c.width > 580 : !0, l = Fe();
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
  {
@@ -62,7 +62,7 @@ const Ze = "__intro__", et = i("div", {
62
62
  "data-widget-md": v(m),
63
63
  "data-hidden": v(s),
64
64
  "data-in-modal": v(!!l),
65
- "data-mobile": v(o),
65
+ "data-mobile": v(r),
66
66
  ...a
67
67
  }
68
68
  );
@@ -96,11 +96,11 @@ const Ze = "__intro__", et = i("div", {
96
96
  }), nt = i(x.Viewport, {
97
97
  _id: "aiChatContentScrollArea__Viewport"
98
98
  }), an = Q(({ children: t, ...e }, a) => {
99
- const { containerRef: s } = Ye(), o = ue(a, s);
99
+ const { containerRef: s } = Ye(), r = ue(a, s);
100
100
  return /* @__PURE__ */ n(
101
101
  nt,
102
102
  {
103
- ref: o,
103
+ ref: r,
104
104
  children: (
105
105
  /* added this to fix an overflow issue see https://github.com/radix-ui/primitives/issues/926 */
106
106
  /* @__PURE__ */ n("div", { "data-part": "grid", style: { display: "grid" }, children: t })
@@ -118,26 +118,26 @@ const Ze = "__intro__", et = i("div", {
118
118
  {
119
119
  _id: "aiChatContentScrollArea__Thumb"
120
120
  }
121
- ), on = i(x.Corner, {
121
+ ), rn = i(x.Corner, {
122
122
  _id: "aiChatContentScrollArea__Corner"
123
123
  }), st = i("div", {
124
124
  _id: "aiChatMessages"
125
- }), rn = (t) => {
125
+ }), on = (t) => {
126
126
  const e = g(), { children: a, ...s } = t;
127
127
  return /* @__PURE__ */ n(st, { children: I(a, e), ...s });
128
- }, ot = i("div", {
128
+ }, rt = i("div", {
129
129
  _id: "aiChatDisclaimer"
130
130
  }), cn = F(
131
131
  (t) => {
132
132
  const { aiChatSettings: e } = u();
133
- return e.disclaimerSettings?.isEnabled ? /* @__PURE__ */ n(K.Root, { openDelay: 100, children: /* @__PURE__ */ n(ot, { ...t }) }) : null;
133
+ return e.disclaimerSettings?.isEnabled ? /* @__PURE__ */ n(K.Root, { openDelay: 100, children: /* @__PURE__ */ n(rt, { ...t }) }) : null;
134
134
  }
135
- ), rt = i("span", {
135
+ ), ot = i("span", {
136
136
  _id: "aiChatDisclaimerLabel"
137
137
  }), dn = F(
138
138
  (t) => {
139
139
  const { aiChatSettings: e } = u(), a = e.disclaimerSettings;
140
- return /* @__PURE__ */ n(rt, { children: a?.label, ...t });
140
+ return /* @__PURE__ */ n(ot, { children: a?.label, ...t });
141
141
  }
142
142
  ), mn = i(K.Trigger, {
143
143
  _id: "aiChatDisclaimerTrigger",
@@ -157,8 +157,8 @@ const Ze = "__intro__", et = i("div", {
157
157
  _id: "aiChatDisclaimerText"
158
158
  }), hn = F(
159
159
  (t) => {
160
- 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.`;
161
- return /* @__PURE__ */ n(dt, { shouldOpenLinksInNewTab: !0, children: o, ...t });
160
+ const { aiChatSettings: e } = u(), a = e.aiAssistantName, r = e.disclaimerSettings?.tooltip || `Information provided by ${a || "this AI assistant"} is not guaranteed to be accurate or comprehensive.`;
161
+ return /* @__PURE__ */ n(dt, { shouldOpenLinksInNewTab: !0, children: r, ...t });
162
162
  }
163
163
  ), un = i(K.Arrow, {
164
164
  _id: "aiChatDisclaimerArrow"
@@ -178,8 +178,8 @@ const Ze = "__intro__", et = i("div", {
178
178
  _id: "aiChatExampleQuestionsList"
179
179
  }), vn = F(
180
180
  (t) => {
181
- const { aiChatSettings: e } = u(), a = e.exampleQuestions, { children: s, ...o } = t;
182
- return /* @__PURE__ */ n(ht, { children: I(s, a), ...o });
181
+ const { aiChatSettings: e } = u(), a = e.exampleQuestions, { children: s, ...r } = t;
182
+ return /* @__PURE__ */ n(ht, { children: I(s, a), ...r });
183
183
  }
184
184
  ), ut = i("div", {
185
185
  _id: "aiChatExampleQuestion"
@@ -189,11 +189,11 @@ const Ze = "__intro__", et = i("div", {
189
189
  }), Ct = i("button", {
190
190
  _id: "aiChatExampleQuestionButton"
191
191
  }), _n = (t) => {
192
- const { question: e, onClick: a, ...s } = t, { handleSubmit: o } = g();
192
+ const { question: e, onClick: a, ...s } = t, { handleSubmit: r } = g();
193
193
  return /* @__PURE__ */ n(
194
194
  Ct,
195
195
  {
196
- onClick: h(a, () => o(e)),
196
+ onClick: h(a, () => r(e)),
197
197
  children: e,
198
198
  ...s
199
199
  }
@@ -212,17 +212,17 @@ const Ze = "__intro__", et = i("div", {
212
212
  _id: "aiChatWorkflowsList"
213
213
  }), Pn = F(
214
214
  (t) => {
215
- const { aiChatSettings: e } = u(), a = e.workflows, { children: s, ...o } = t;
216
- return /* @__PURE__ */ n(gt, { children: I(s, a), ...o });
215
+ const { aiChatSettings: e } = u(), a = e.workflows, { children: s, ...r } = t;
216
+ return /* @__PURE__ */ n(gt, { children: I(s, a), ...r });
217
217
  }
218
218
  ), _t = i("button", {
219
219
  _id: "aiChatWorkflow"
220
220
  }), Fn = (t) => {
221
- const { workflow: e, onClick: a, ...s } = t, { handleWorkflow: o } = g();
221
+ const { workflow: e, onClick: a, ...s } = t, { handleWorkflow: r } = g();
222
222
  return /* @__PURE__ */ n(
223
223
  _t,
224
224
  {
225
- onClick: h(a, () => o(e)),
225
+ onClick: h(a, () => r(e)),
226
226
  children: e.displayName,
227
227
  ...s
228
228
  }
@@ -236,7 +236,7 @@ const Ze = "__intro__", et = i("div", {
236
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
- 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}
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}
240
240
 
241
241
  I'm an AI assistant trained on documentation, help articles, and other content.`, l = d ? `
242
242
 
@@ -259,8 +259,8 @@ const Ze = "__intro__", et = i("div", {
259
259
  }, Mt = i("div", {
260
260
  _id: "aiChatMessageLoading"
261
261
  }), Sn = (t) => {
262
- 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(Mt, { children: "Thinking...", ...t });
262
+ const { isLoading: e, isStreaming: a, messages: s } = g(), { message: r } = _();
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
266
  }), En = (t) => {
@@ -298,19 +298,19 @@ const Ze = "__intro__", et = i("div", {
298
298
  (t) => {
299
299
  const { onLoadingStatusChange: e, ...a } = t, {
300
300
  aiChatSettings: s,
301
- baseSettings: { userProperties: o }
302
- } = u(), { message: r } = _(), { aiAssistantAvatar: c } = s ?? {}, d = typeof c == "string" ? c : c?.light, m = (typeof c == "string" ? c : c?.dark) ?? d, l = ze(d, m), [C, p] = fe(l);
301
+ baseSettings: { userProperties: r }
302
+ } = u(), { message: o } = _(), { aiAssistantAvatar: c } = s ?? {}, d = typeof c == "string" ? c : c?.light, m = (typeof c == "string" ? c : c?.dark) ?? d, l = ze(d, m), [C, p] = fe(l);
303
303
  be(() => {
304
304
  p(l);
305
305
  }, [l]);
306
306
  const P = (T) => {
307
307
  T === "error" && p(null);
308
308
  };
309
- return r.role === "user" ? o.name ? null : s.userAvatar ? /* @__PURE__ */ n(
309
+ return o.role === "user" ? r.name ? null : s.userAvatar ? /* @__PURE__ */ n(
310
310
  ge,
311
311
  {
312
312
  "data-type": "image",
313
- "data-role": r.role,
313
+ "data-role": o.role,
314
314
  src: s.userAvatar,
315
315
  ...t
316
316
  }
@@ -318,7 +318,7 @@ const Ze = "__intro__", et = i("div", {
318
318
  Te,
319
319
  {
320
320
  "data-type": "icon",
321
- "data-role": r.role,
321
+ "data-role": o.role,
322
322
  ...t
323
323
  }
324
324
  ) : C ? /* @__PURE__ */ n(
@@ -326,7 +326,7 @@ const Ze = "__intro__", et = i("div", {
326
326
  {
327
327
  src: C,
328
328
  "data-type": "image",
329
- "data-role": r.role,
329
+ "data-role": o.role,
330
330
  onLoadingStatusChange: h(
331
331
  e,
332
332
  P
@@ -337,7 +337,7 @@ const Ze = "__intro__", et = i("div", {
337
337
  Be,
338
338
  {
339
339
  "data-type": "icon",
340
- "data-role": r.role,
340
+ "data-role": o.role,
341
341
  ...t
342
342
  }
343
343
  );
@@ -372,17 +372,17 @@ const Ze = "__intro__", et = i("div", {
372
372
  }, yt = i("div", {
373
373
  _id: "aiChatMessageAttachments__List"
374
374
  }), xn = (t) => {
375
- const { children: e, ...a } = t, { message: s } = _(), o = s.metadata?.attributes?.attachments;
376
- return o ? /* @__PURE__ */ n(yt, { children: I(e, o), ...a }) : null;
375
+ const { children: e, ...a } = t, { message: s } = _(), r = s.metadata?.attributes?.attachments;
376
+ return r ? /* @__PURE__ */ n(yt, { children: I(e, r), ...a }) : null;
377
377
  }, wt = i("div", {
378
378
  _id: "aiChatMessageAttachments__Item"
379
379
  }), Dn = (t) => {
380
- const { attachment: e, onClick: a, ...s } = t, { selectItem: o, onOpen: r } = G();
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,
383
383
  {
384
384
  onClick: h(a, () => {
385
- o(e), r();
385
+ r(e), o();
386
386
  }),
387
387
  ...s
388
388
  }
@@ -397,16 +397,16 @@ const Ze = "__intro__", et = i("div", {
397
397
  }), Wn = (t) => {
398
398
  const { attachment: e } = D();
399
399
  return /* @__PURE__ */ n(Lt, { children: e.title, ...t });
400
- }, xt = i(re, {
400
+ }, xt = i(oe, {
401
401
  _id: "aiChatMessageAttachmentsPreview"
402
402
  }), Nn = (t) => {
403
- const { onOpenChange: e, ...a } = t, { selectItem: s, isOpen: o, onClose: r, selectedItem: c } = G();
403
+ const { onOpenChange: e, ...a } = t, { selectItem: s, isOpen: r, onClose: o, selectedItem: c } = G();
404
404
  return /* @__PURE__ */ n(
405
405
  xt,
406
406
  {
407
- open: o && c !== null,
407
+ open: r && c !== null,
408
408
  onOpenChange: h(e, (m) => {
409
- m || (r(), s(null));
409
+ m || (o(), s(null));
410
410
  }),
411
411
  ...a
412
412
  }
@@ -416,7 +416,7 @@ const Ze = "__intro__", et = i("div", {
416
416
  }), $n = i(ne, {
417
417
  _id: "aiChatMessageAttachmentsPreview__Content",
418
418
  "aria-describedby": void 0
419
- }), Dt = i(oe, {
419
+ }), Dt = i(re, {
420
420
  _id: "aiChatMessageAttachmentsPreview__Header"
421
421
  }), Qn = (t) => {
422
422
  const { selectedItem: e } = G();
@@ -438,15 +438,15 @@ const Ze = "__intro__", et = i("div", {
438
438
  }, _e = i("div", {
439
439
  _id: "aiChatMessage"
440
440
  }), Kn = (t) => {
441
- const { aiChatSettings: e } = u(), { componentStyles: a, ...s } = t, { message: o } = _(), { logEvent: r } = j(), c = le(o), { conversation: d } = q();
442
- return o.role === "user" ? /* @__PURE__ */ n(_e, { "data-role": o.role, children: c, ...s }) : /* @__PURE__ */ n(_e, { "data-role": o.role, ...s, children: /* @__PURE__ */ n(
441
+ const { aiChatSettings: e } = u(), { componentStyles: a, ...s } = t, { message: r } = _(), { logEvent: o } = j(), c = le(r), { conversation: d } = q();
442
+ return r.role === "user" ? /* @__PURE__ */ n(_e, { "data-role": r.role, children: c, ...s }) : /* @__PURE__ */ n(_e, { "data-role": r.role, ...s, children: /* @__PURE__ */ n(
443
443
  ce,
444
444
  {
445
445
  children: c,
446
446
  componentStyles: a,
447
447
  shouldOpenLinksInNewTab: e.shouldOpenLinksInNewTab,
448
448
  onLinkClick: (m, l) => {
449
- r({
449
+ o({
450
450
  eventName: "assistant_message_inline_link_opened",
451
451
  properties: {
452
452
  title: l?.toString(),
@@ -455,7 +455,7 @@ const Ze = "__intro__", et = i("div", {
455
455
  });
456
456
  },
457
457
  onCodeCopy: (m, l) => {
458
- r({
458
+ o({
459
459
  eventName: "assistant_code_block_copied",
460
460
  properties: {
461
461
  conversation: d,
@@ -467,18 +467,18 @@ const Ze = "__intro__", et = i("div", {
467
467
  }
468
468
  ) });
469
469
  }, Wt = i("div", {
470
- _id: "aiChatMessageActions"
470
+ _id: "aiChatMessageToolbar"
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
474
  }, Nt = i("div", {
475
475
  _id: "aiChatMessageToolActions"
476
476
  }), jn = (t) => {
477
- const { children: e, ...a } = t, { message: s } = _(), { messageToolCalls: o } = g(), r = o[s.id] || [];
478
- return /* @__PURE__ */ n(Nt, { children: I(e, r), ...a });
477
+ const { children: e, ...a } = t, { message: s } = _(), { messageButtons: r } = g(), o = r[s.id] || [];
478
+ return /* @__PURE__ */ n(Nt, { children: I(e, o), ...a });
479
479
  }, Gn = (t) => {
480
- const { onClick: e, action: a, ...s } = t, { handleAction: o } = he(a), r = () => {
481
- o();
480
+ const { onClick: e, action: a, ...s } = t, { handleAction: r } = he(a), o = () => {
481
+ r();
482
482
  }, c = a.label || "Contact Support", d = /* @__PURE__ */ $(ee, { children: [
483
483
  a.icon && /* @__PURE__ */ n(B, { iconSettings: a.icon }),
484
484
  c
@@ -491,13 +491,13 @@ const Ze = "__intro__", et = i("div", {
491
491
  target: "_blank",
492
492
  rel: "noopener"
493
493
  },
494
- onClick: h(e, r)
494
+ onClick: h(e, o)
495
495
  });
496
496
  return /* @__PURE__ */ n(l, { ...s });
497
497
  }, Rt = i("button", {
498
498
  _id: "aiChatMessageAction"
499
499
  }), zn = (t) => {
500
- const { action: e, onClick: a, className: s, ...o } = t, { conversation: r } = 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(), {
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 || {
@@ -510,7 +510,7 @@ const Ze = "__intro__", et = i("div", {
510
510
  C(le(c)), z({
511
511
  eventName: "assistant_message_copied",
512
512
  properties: {
513
- conversation: r
513
+ conversation: o
514
514
  }
515
515
  });
516
516
  },
@@ -549,7 +549,7 @@ const Ze = "__intro__", et = i("div", {
549
549
  "aria-label": L[e],
550
550
  className: `${s} ${e}`,
551
551
  onClick: h(a, y[e]),
552
- ...o
552
+ ...r
553
553
  }
554
554
  );
555
555
  }, $t = i("div", {
@@ -563,16 +563,16 @@ const Ze = "__intro__", et = i("div", {
563
563
  _id: "aiChatMessageSources__List"
564
564
  }), Xn = (t) => {
565
565
  const { message: e } = _(), { children: a, ...s } = t, {
566
- baseSettings: { transformSource: o, organizationDisplayName: r },
566
+ baseSettings: { transformSource: r, organizationDisplayName: o },
567
567
  aiChatSettings: { shouldOpenLinksInNewTab: c },
568
568
  searchSettings: { tabs: d }
569
569
  } = u();
570
570
  if (e.role !== "assistant") return null;
571
571
  const m = e.links.map((l) => {
572
572
  const C = Xe(l, "chatSourceItem", {
573
- organizationDisplayName: r,
573
+ organizationDisplayName: o,
574
574
  tabs: d,
575
- transformSource: o
575
+ transformSource: r
576
576
  }), p = C.shouldOpenInNewTab !== void 0 ? C.shouldOpenInNewTab : c;
577
577
  return { ...C, isExternal: p };
578
578
  });
@@ -580,11 +580,11 @@ const Ze = "__intro__", et = i("div", {
580
580
  }, Ut = i(ye, {
581
581
  _id: "aiChatMessageSourceItem"
582
582
  }), Zn = (t) => {
583
- const { source: e, onClick: a, ...s } = t, { logEvent: o } = j(), { conversation: r } = q(), c = () => {
584
- o({
583
+ const { source: e, onClick: a, ...s } = t, { logEvent: r } = j(), { conversation: o } = q(), c = () => {
584
+ r({
585
585
  eventName: "assistant_source_item_clicked",
586
586
  properties: {
587
- conversation: r,
587
+ conversation: o,
588
588
  link: e
589
589
  }
590
590
  });
@@ -626,18 +626,18 @@ const Ze = "__intro__", et = i("div", {
626
626
  }, zt = i("span", {
627
627
  _id: "aiChatMessageSourceItem__Description"
628
628
  }), ss = (t) => {
629
- const { source: e } = w(), { children: a, ...s } = t, o = Se(() => e.description ? Ge(e.description) : [], [e.description]);
630
- return o.length ? /* @__PURE__ */ n(
629
+ const { source: e } = w(), { children: a, ...s } = t, r = Se(() => e.description ? Ge(e.description) : [], [e.description]);
630
+ return r.length ? /* @__PURE__ */ n(
631
631
  zt,
632
632
  {
633
633
  "data-type": e.type,
634
- children: I(a, o),
634
+ children: I(a, r),
635
635
  ...s
636
636
  }
637
637
  ) : null;
638
638
  }, Yt = i("span", {
639
639
  _id: "aiChatMessageSourceItem__DescriptionPart"
640
- }), os = (t) => {
640
+ }), rs = (t) => {
641
641
  const { part: e, ...a } = t, { source: s } = w();
642
642
  return typeof e == "string" ? e : /* @__PURE__ */ n(
643
643
  Yt,
@@ -650,7 +650,7 @@ const Ze = "__intro__", et = i("div", {
650
650
  );
651
651
  }, Jt = i(A, {
652
652
  _id: "aiChatMessageSourceItem__Indicator"
653
- }), rs = (t) => {
653
+ }), os = (t) => {
654
654
  const { source: e } = w();
655
655
  return /* @__PURE__ */ n(
656
656
  Jt,
@@ -668,7 +668,7 @@ const Ze = "__intro__", et = i("div", {
668
668
  }), Xt = i("textarea", {
669
669
  _id: "aiChatInput"
670
670
  }), ls = Q(({ 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 = ue(
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
674
674
  ), P = Fe();
@@ -684,8 +684,8 @@ const Ze = "__intro__", et = i("div", {
684
684
  maxLength: 99999,
685
685
  placeholder: C.placeholder,
686
686
  value: c,
687
- onChange: h(t, o),
688
- onKeyDown: h(e, r),
687
+ onChange: h(t, r),
688
+ onKeyDown: h(e, o),
689
689
  disabled: !!d || C.isViewOnly,
690
690
  ...a,
691
691
  children: /* @__PURE__ */ n(te, {})
@@ -694,13 +694,13 @@ const Ze = "__intro__", et = i("div", {
694
694
  }), Zt = i("button", {
695
695
  _id: "aiChatInput__SendButton"
696
696
  }), hs = (t) => {
697
- const { handleSubmit: e, isSubmitDisabled: a, error: s } = g(), { aiChatSettings: o } = u(), { onClick: r, ...c } = t;
697
+ const { handleSubmit: e, isSubmitDisabled: a, error: s } = g(), { aiChatSettings: r } = u(), { onClick: o, ...c } = t;
698
698
  return /* @__PURE__ */ n(
699
699
  Zt,
700
700
  {
701
- onClick: h(r, () => e()),
701
+ onClick: h(o, () => e()),
702
702
  "aria-label": "Send message",
703
- disabled: a || !!s || o.isViewOnly,
703
+ disabled: a || !!s || r.isViewOnly,
704
704
  ...c
705
705
  }
706
706
  );
@@ -735,14 +735,14 @@ const Ze = "__intro__", et = i("div", {
735
735
  }, si = i("button", {
736
736
  _id: "aiChatAttachmentsBar__AttachmentDelete"
737
737
  }), bs = (t) => {
738
- const { onClick: e, ...a } = t, { attachment: s } = D(), { setMessageAttachments: o } = g();
738
+ const { onClick: e, ...a } = t, { attachment: s } = D(), { setMessageAttachments: r } = g();
739
739
  return /* @__PURE__ */ n(
740
740
  si,
741
741
  {
742
742
  "aria-label": "Remove attachment",
743
743
  children: /* @__PURE__ */ n(A, { iconKey: "close" }),
744
744
  onClick: h(e, () => {
745
- o((c) => c.filter((d) => d.id !== s.id));
745
+ r((c) => c.filter((d) => d.id !== s.id));
746
746
  }),
747
747
  ...a
748
748
  }
@@ -755,7 +755,7 @@ const Ze = "__intro__", et = i("div", {
755
755
  }), Fs = i(k.Trigger, {
756
756
  _id: "aiChatAttachmentsBar__InfoTipIcon",
757
757
  children: /* @__PURE__ */ n(A, { iconKey: "info" })
758
- }), oi = i(k.Arrow, {
758
+ }), ri = i(k.Arrow, {
759
759
  _id: "aiChatAttachmentsBar__InfoTipArrow"
760
760
  }), Ms = i(k.Content, {
761
761
  _id: "aiChatAttachmentsBar__InfoTipText",
@@ -763,15 +763,15 @@ const Ze = "__intro__", et = i("div", {
763
763
  sideOffset: 3,
764
764
  align: "center",
765
765
  children: /* @__PURE__ */ $(ee, { children: [
766
- /* @__PURE__ */ n(oi, {}),
766
+ /* @__PURE__ */ n(ri, {}),
767
767
  "Attachments will be kept in context for the entire conversation."
768
768
  ] })
769
- }), ri = i("div", {
769
+ }), oi = i("div", {
770
770
  _id: "aiChatAttachmentsBar__Inputs"
771
771
  }), Is = (t) => {
772
772
  const { children: e, ...a } = t, { selectedWorkflow: s } = g();
773
773
  return s?.supportedInputs ? /* @__PURE__ */ n(
774
- ri,
774
+ oi,
775
775
  {
776
776
  children: I(e, s.supportedInputs),
777
777
  ...a
@@ -780,9 +780,9 @@ const Ze = "__intro__", et = i("div", {
780
780
  }, ci = i("button", {
781
781
  _id: "aiChatAttachmentsBar__Input"
782
782
  }), fs = (t) => {
783
- const { input: e, onClick: a, ...s } = t, { selectedWorkflow: o, messageAttachments: r, setMessageAttachments: c } = g(), { selectInput: d, onOpen: m } = M(), l = () => {
783
+ const { input: e, onClick: a, ...s } = t, { selectedWorkflow: r, messageAttachments: o, setMessageAttachments: c } = g(), { selectInput: d, onOpen: m } = M(), l = () => {
784
784
  if (e.type === "FUNCTIONAL_MULTI_ATTACHMENT")
785
- return o ? e.onInvoke(o, e, c, [...r]) : void 0;
785
+ return r ? e.onInvoke(r, e, c, [...o]) : void 0;
786
786
  d(e), m();
787
787
  };
788
788
  return /* @__PURE__ */ n(
@@ -795,16 +795,16 @@ const Ze = "__intro__", et = i("div", {
795
795
  );
796
796
  }, Ss = i(ke, {
797
797
  _id: "aiChatAttachmentsBar__InputIcon"
798
- }), di = i(re, {
798
+ }), di = i(oe, {
799
799
  _id: "aiChatAttachmentsBar__Modal"
800
800
  }), Es = (t) => {
801
- const { onOpenChange: e, ...a } = t, { selectInput: s, isOpen: o, onClose: r, selectedInput: c } = M();
801
+ const { onOpenChange: e, ...a } = t, { selectInput: s, isOpen: r, onClose: o, selectedInput: c } = M();
802
802
  return /* @__PURE__ */ n(
803
803
  di,
804
804
  {
805
- open: o && c !== null,
805
+ open: r && c !== null,
806
806
  onOpenChange: h(e, (m) => {
807
- m || (r(), s(null));
807
+ m || (o(), s(null));
808
808
  }),
809
809
  ...a
810
810
  }
@@ -816,7 +816,7 @@ const Ze = "__intro__", et = i("div", {
816
816
  "aria-describedby": void 0
817
817
  }), Ts = i("div", {
818
818
  _id: "aiChatAttachmentsBar__ModalHeader"
819
- }), mi = i(oe, {
819
+ }), mi = i(re, {
820
820
  _id: "aiChatAttachmentsBar__ModalHeading"
821
821
  }), ys = (t) => {
822
822
  const { selectedInput: e } = M(), a = `Add ${e?.displayName}`;
@@ -829,8 +829,8 @@ const Ze = "__intro__", et = i("div", {
829
829
  }, hi = i("div", {
830
830
  _id: "aiChatAttachmentsBar__ModalHelp"
831
831
  }), Hs = (t) => {
832
- const { children: e, ...a } = t, { selectedInput: s } = M(), o = s?.workflowModalProps?.modalHelpElement;
833
- return o ? /* @__PURE__ */ n(hi, { asChild: !e, children: e || o, ...a }) : null;
832
+ const { children: e, ...a } = t, { selectedInput: s } = M(), r = s?.workflowModalProps?.modalHelpElement;
833
+ return r ? /* @__PURE__ */ n(hi, { asChild: !e, children: e || r, ...a }) : null;
834
834
  }, Ls = i(se, {
835
835
  _id: "aiChatAttachmentsBar__ModalClose",
836
836
  children: /* @__PURE__ */ n(A, { iconKey: "close" })
@@ -865,13 +865,13 @@ const Ze = "__intro__", et = i("div", {
865
865
  }, pi = i("input", {
866
866
  _id: "aiChatAttachmentsBar__FormTitleInput"
867
867
  }), Ns = (t) => {
868
- const { onChange: e, ...a } = t, { form: s, selectedInput: o } = M();
868
+ const { onChange: e, ...a } = t, { form: s, selectedInput: r } = M();
869
869
  return /* @__PURE__ */ n(
870
870
  pi,
871
871
  {
872
872
  name: "title",
873
873
  value: s.data.title,
874
- id: `${o?.id}-title`,
874
+ id: `${r?.id}-title`,
875
875
  "data-invalid": v(!!s.errors.title),
876
876
  "aria-invalid": !!s.errors.title,
877
877
  onChange: h(e, s.onChange),
@@ -908,7 +908,7 @@ const Ze = "__intro__", et = i("div", {
908
908
  }, _i = i("textarea", {
909
909
  _id: "aiChatAttachmentsBar__FormTitleInput"
910
910
  }), Vs = (t) => {
911
- const { onChange: e, ...a } = t, { form: s, selectedInput: o } = M();
911
+ const { onChange: e, ...a } = t, { form: s, selectedInput: r } = M();
912
912
  return /* @__PURE__ */ n(
913
913
  _i,
914
914
  {
@@ -916,7 +916,7 @@ const Ze = "__intro__", et = i("div", {
916
916
  rows: 4,
917
917
  name: "content",
918
918
  value: s.data.content,
919
- id: `${o?.id}-content`,
919
+ id: `${r?.id}-content`,
920
920
  "data-invalid": v(!!s.errors.content),
921
921
  "aria-invalid": !!s.errors.content,
922
922
  onChange: h(e, s.onChange),
@@ -960,7 +960,7 @@ const Ze = "__intro__", et = i("div", {
960
960
  }), Ai = i("div", {
961
961
  _id: "aiChat__ChatAction"
962
962
  }), Me = (t) => {
963
- const { action: e, onClick: a, className: s, ...o } = t, { clear: r, stop: c, isLoading: d, messages: m, selectedWorkflow: l } = g(), { conversation: C } = q(), { aiChatSettings: p, baseSettings: P } = u(), { logEvent: T } = j(), [O, z] = Z(), [W, Y] = Z();
963
+ const { action: e, onClick: a, className: s, ...r } = t, { clear: o, stop: c, isLoading: d, messages: m, selectedWorkflow: l } = g(), { conversation: C } = q(), { aiChatSettings: p, baseSettings: P } = u(), { logEvent: T } = j(), [O, z] = Z(), [W, Y] = Z();
964
964
  if ({
965
965
  help: !1,
966
966
  copy: m.length === 0 || !p.isCopyChatButtonVisible || d,
@@ -1020,7 +1020,7 @@ ${S}${R}`;
1020
1020
  });
1021
1021
  }
1022
1022
  },
1023
- clear: r,
1023
+ clear: o,
1024
1024
  stop: c
1025
1025
  }, ve = {
1026
1026
  copy: O,
@@ -1034,44 +1034,44 @@ ${S}${R}`;
1034
1034
  className: `${s} ${e}`,
1035
1035
  children: /* @__PURE__ */ n(Fi, { action: e }),
1036
1036
  onClick: h(a, X[e]),
1037
- ...o
1037
+ ...r
1038
1038
  }
1039
1039
  ) });
1040
1040
  }, Pi = i(k.Trigger, {
1041
1041
  _id: "aiChat__ChatActionLabel"
1042
1042
  }), Fi = (t) => {
1043
- const { action: e, ...a } = t, { aiChatSettings: s } = u(), o = s.toolbarButtonLabels ?? {}, r = {
1044
- help: o.getHelp ?? "Get Help",
1045
- copy: o.copyChat ?? "Copy",
1046
- share: o.share ?? "Share",
1047
- clear: o.clear ?? "Clear",
1048
- stop: o.stop ?? "Stop"
1043
+ const { action: e, ...a } = t, { aiChatSettings: s } = u(), r = s.toolbarButtonLabels ?? {}, o = {
1044
+ help: r.getHelp ?? "Get Help",
1045
+ copy: r.copyChat ?? "Copy",
1046
+ share: r.share ?? "Share",
1047
+ clear: r.clear ?? "Clear",
1048
+ stop: r.stop ?? "Stop"
1049
1049
  };
1050
- return /* @__PURE__ */ n(Pi, { children: r[e], ...a });
1050
+ return /* @__PURE__ */ n(Pi, { children: o[e], ...a });
1051
1051
  }, Mi = i(k.TooltipContent, {
1052
1052
  _id: "aiChat__ChatActionFeeback"
1053
1053
  }), Xs = (t) => {
1054
- const { action: e, children: a, ...s } = t, o = {
1054
+ const { action: e, children: a, ...s } = t, r = {
1055
1055
  copy: "Copied!",
1056
1056
  share: "Link copied!"
1057
1057
  };
1058
1058
  return /* @__PURE__ */ $(Mi, { sideOffset: 5, ...s, children: [
1059
1059
  /* @__PURE__ */ n(k.Arrow, {}),
1060
- a || o[e]
1060
+ a || r[e]
1061
1061
  ] });
1062
1062
  }, Ii = i(U.Root, {
1063
1063
  _id: "aiChatHelpActions"
1064
1064
  }), Zs = (t) => {
1065
- const { children: e, ...a } = t, { aiChatSettings: s } = u(), { getHelpOptions: o } = s;
1066
- if (!o || (o ?? []).length === 0)
1065
+ const { children: e, ...a } = t, { aiChatSettings: s } = u(), { getHelpOptions: r } = s;
1066
+ if (!r || (r ?? []).length === 0)
1067
1067
  return null;
1068
- const { _pinned: r, _unpinned: c } = o.reduce(
1068
+ const { _pinned: o, _unpinned: c } = r.reduce(
1069
1069
  (C, p) => {
1070
1070
  const P = p.isPinnedToToolbar ? "_pinned" : "_unpinned";
1071
1071
  return { ...C, [P]: [...C[P], p] };
1072
1072
  },
1073
1073
  { _pinned: [], _unpinned: [] }
1074
- ), d = c.length === 1 ? [...r, c[0]] : r, m = c.length === 1 ? [] : c, l = Ve();
1074
+ ), d = c.length === 1 ? [...o, c[0]] : o, m = c.length === 1 ? [] : c, l = Ve();
1075
1075
  return /* @__PURE__ */ n(Ue, { value: l, children: /* @__PURE__ */ n(
1076
1076
  Ii,
1077
1077
  {
@@ -1088,13 +1088,13 @@ ${S}${R}`;
1088
1088
  _id: "aiChatHelpAction",
1089
1089
  target: "_blank",
1090
1090
  rel: "noreferrer"
1091
- }), eo = (t) => {
1092
- const { action: e, onClick: a, ...s } = t, { handleAction: o, logHelpAction: r } = he(e), c = e.action.type, d = {
1091
+ }), er = (t) => {
1092
+ const { action: e, onClick: a, ...s } = t, { handleAction: r, logHelpAction: o } = he(e), c = e.action.type, d = {
1093
1093
  "aria-label": e.name,
1094
1094
  "data-name": e.name,
1095
1095
  children: e.name,
1096
1096
  onClick: h(a, () => {
1097
- o(), r();
1097
+ r(), o();
1098
1098
  }),
1099
1099
  // biome-ignore lint/suspicious/noExplicitAny: <explanation>
1100
1100
  ...s
@@ -1102,14 +1102,14 @@ ${S}${R}`;
1102
1102
  return c === "open_link" ? /* @__PURE__ */ n(Si, { href: e.action.url, ...d }) : /* @__PURE__ */ n(fi, { ...d });
1103
1103
  }, Ei = i(U.Trigger, {
1104
1104
  _id: "aiChatHelpActions__Trigger"
1105
- }), to = F(
1105
+ }), tr = F(
1106
1106
  (t) => {
1107
1107
  const { aiChatSettings: e } = u();
1108
1108
  return /* @__PURE__ */ n(Me, { action: "help", ...t, asChild: !0, children: /* @__PURE__ */ n(Ei, { children: e.toolbarButtonLabels?.getHelp ?? "Get Help" }) });
1109
1109
  }
1110
1110
  ), ki = i(U.Content, {
1111
1111
  _id: "aiChatHelpActions__Menu"
1112
- }), io = (t) => /* @__PURE__ */ n(
1112
+ }), ir = (t) => /* @__PURE__ */ n(
1113
1113
  ki,
1114
1114
  {
1115
1115
  side: "top",
@@ -1118,13 +1118,13 @@ ${S}${R}`;
1118
1118
  alignOffset: -10,
1119
1119
  ...t
1120
1120
  }
1121
- ), ao = i(U.Arrow, {
1121
+ ), ar = i(U.Arrow, {
1122
1122
  _id: "aiChatHelpActions__MenuArrow"
1123
- }), no = (t) => {
1124
- const { action: e, onClick: a, ...s } = t, { handleAction: o, logHelpAction: r } = he(e), { setOpen: c } = Ke(), d = () => {
1125
- o({
1123
+ }), nr = (t) => {
1124
+ const { action: e, onClick: a, ...s } = t, { handleAction: r, logHelpAction: o } = he(e), { setOpen: c } = Ke(), d = () => {
1125
+ r({
1126
1126
  onOpenForm: () => c(!1)
1127
- }), r();
1127
+ }), o();
1128
1128
  }, m = e.action.type, l = i(m === "open_link" ? "a" : "button", {
1129
1129
  _id: "aiChatHelpActions__MenuItem",
1130
1130
  children: e.name,
@@ -1141,52 +1141,52 @@ ${S}${R}`;
1141
1141
  return /* @__PURE__ */ n(l, { ...s });
1142
1142
  }, Bi = i(B, {
1143
1143
  _id: "aiChatHelpActions_MenuItemIcon"
1144
- }), so = (t) => {
1144
+ }), sr = (t) => {
1145
1145
  const { action: e, ...a } = t;
1146
1146
  return e.icon ? /* @__PURE__ */ n(Bi, { iconSettings: e.icon, ...a }) : null;
1147
- }, Ti = i(re, {
1147
+ }, Ti = i(oe, {
1148
1148
  _id: "aiChatFeedbackModal"
1149
- }), oo = (t) => {
1150
- const { onOpenChange: e, ...a } = t, { currentFeedback: s, setCurrentFeedback: o } = de();
1149
+ }), rr = (t) => {
1150
+ const { onOpenChange: e, ...a } = t, { currentFeedback: s, setCurrentFeedback: r } = de();
1151
1151
  return /* @__PURE__ */ n(
1152
1152
  Ti,
1153
1153
  {
1154
1154
  open: s !== null,
1155
- onOpenChange: h(e, () => o(null)),
1155
+ onOpenChange: h(e, () => r(null)),
1156
1156
  ...a
1157
1157
  }
1158
1158
  );
1159
- }, ro = i(ae, {
1159
+ }, or = i(ae, {
1160
1160
  _id: "aiChatFeedbackModal__Overlay"
1161
- }), co = i(ne, {
1161
+ }), cr = i(ne, {
1162
1162
  _id: "aiChatFeedbackModal__Content",
1163
1163
  "aria-describedby": void 0
1164
- }), mo = i(oe, {
1164
+ }), dr = i(re, {
1165
1165
  _id: "aiChatFeedbackModal__Header",
1166
1166
  children: "Help improve my answers!"
1167
- }), lo = i(se, {
1167
+ }), mr = i(se, {
1168
1168
  _id: "aiChatFeedbackModal__Close",
1169
1169
  children: /* @__PURE__ */ n(A, { iconKey: "close" })
1170
- }), ho = i("div", {
1170
+ }), lr = i("div", {
1171
1171
  _id: "aiChatFeedbackModal__Body"
1172
1172
  }), yi = i("form", {
1173
1173
  _id: "aiChatFeedbackForm"
1174
- }), uo = (t) => {
1175
- const { onSubmit: e, ...a } = t, { submitNegativeFeedback: s, currentFeedback: o, setCurrentFeedback: r } = de();
1174
+ }), hr = (t) => {
1175
+ const { onSubmit: e, ...a } = t, { submitNegativeFeedback: s, currentFeedback: r, setCurrentFeedback: o } = de();
1176
1176
  return /* @__PURE__ */ n(yi, { onSubmit: h(e, (d) => {
1177
1177
  d.preventDefault();
1178
1178
  const m = d.target, l = new FormData(m), C = Object.fromEntries(l.entries());
1179
- o && (s(o, C), r(null));
1179
+ r && (s(r, C), o(null));
1180
1180
  }), ...a });
1181
1181
  }, wi = i("div", {
1182
1182
  _id: "aiChatFeedbackItem"
1183
- }), Co = (t) => {
1183
+ }), ur = (t) => {
1184
1184
  const { name: e, ...a } = t;
1185
1185
  return /* @__PURE__ */ n(Oe, { name: e, children: /* @__PURE__ */ n(wi, { ...a }) });
1186
1186
  }, Hi = i(V.Root, {
1187
1187
  _id: "aiChatFeedbackItem__Checkbox"
1188
- }), po = (t) => {
1189
- const { name: e, focusItem: a } = me(), { onCheckedChange: s, ...o } = t, r = (c) => {
1188
+ }), Cr = (t) => {
1189
+ const { name: e, focusItem: a } = me(), { onCheckedChange: s, ...r } = t, o = (c) => {
1190
1190
  c && a?.current?.focus();
1191
1191
  };
1192
1192
  return /* @__PURE__ */ n(
@@ -1194,16 +1194,16 @@ ${S}${R}`;
1194
1194
  {
1195
1195
  id: `feedback-${e}`,
1196
1196
  name: e,
1197
- onCheckedChange: h(s, r),
1198
- ...o
1197
+ onCheckedChange: h(s, o),
1198
+ ...r
1199
1199
  }
1200
1200
  );
1201
- }, vo = i(V.Indicator, {
1201
+ }, pr = i(V.Indicator, {
1202
1202
  _id: "aiChatFeedbackItem__CheckboxIndicator",
1203
1203
  children: /* @__PURE__ */ n(Pe, {})
1204
1204
  }), Li = i("label", {
1205
1205
  _id: "aiChatFeedbackItem__Label"
1206
- }), go = (t) => {
1206
+ }), vr = (t) => {
1207
1207
  const { name: e } = me(), a = {
1208
1208
  unrelated_response: "Didn't answer my question",
1209
1209
  inaccurate_statement: "Inaccurate statement",
@@ -1214,7 +1214,7 @@ ${S}${R}`;
1214
1214
  }, xi = i("textarea", {
1215
1215
  _id: "aiChatFeedbackItem__Description",
1216
1216
  placeholder: "Please describe"
1217
- }), _o = (t) => {
1217
+ }), gr = (t) => {
1218
1218
  const { name: e, focusItem: a } = me();
1219
1219
  return /* @__PURE__ */ n(
1220
1220
  xi,
@@ -1224,59 +1224,59 @@ ${S}${R}`;
1224
1224
  ...t
1225
1225
  }
1226
1226
  );
1227
- }, bo = i("button", {
1227
+ }, _r = i("button", {
1228
1228
  _id: "aiChatFeedbackForm__SubmitButton",
1229
1229
  children: "Submit",
1230
1230
  type: "submit"
1231
1231
  }), Di = i("div", {
1232
1232
  _id: "aiChatForm__Wrapper"
1233
- }), Ao = (t) => {
1233
+ }), br = (t) => {
1234
1234
  const { form: e } = b();
1235
1235
  return e ? /* @__PURE__ */ n(Di, { ...t }) : null;
1236
1236
  }, Oi = i("form", {
1237
1237
  _id: "aiChatForm"
1238
- }), Po = (t) => {
1239
- const { onSubmit: e, ...a } = t, { handleSubmit: s, isSuccess: o } = b();
1240
- return o ? null : /* @__PURE__ */ n(Oi, { onSubmit: h(e, s), ...a });
1238
+ }), Ar = (t) => {
1239
+ const { onSubmit: e, ...a } = t, { handleSubmit: s, isSuccess: r } = b();
1240
+ return r ? null : /* @__PURE__ */ n(Oi, { onSubmit: h(e, s), ...a });
1241
1241
  }, Wi = i("button", {
1242
1242
  _id: "aiChatForm__Close",
1243
1243
  children: /* @__PURE__ */ n(A, { iconKey: "close" })
1244
- }), Fo = (t) => {
1244
+ }), Pr = (t) => {
1245
1245
  const { onClick: e, ...a } = t, { closeForm: s } = b();
1246
1246
  return /* @__PURE__ */ n(Wi, { onClick: h(e, s), ...a });
1247
- }, Mo = i("div", {
1247
+ }, Fr = i("div", {
1248
1248
  _id: "aiChatForm__Header"
1249
1249
  }), Ni = i("h2", {
1250
1250
  _id: "aiChatForm__Heading"
1251
- }), Io = (t) => {
1251
+ }), Mr = (t) => {
1252
1252
  const { form: e } = b();
1253
1253
  return e?.heading ? /* @__PURE__ */ n(Ni, { children: e.heading, ...t }) : null;
1254
1254
  }, Ri = i("span", {
1255
1255
  _id: "aiChatForm__Description"
1256
- }), fo = (t) => {
1256
+ }), Ir = (t) => {
1257
1257
  const { form: e } = b();
1258
1258
  return e?.description ? /* @__PURE__ */ n(Ri, { children: e.description, ...t }) : null;
1259
1259
  }, $i = i("div", {
1260
1260
  _id: "aiChatForm__Content"
1261
- }), So = (t) => {
1261
+ }), fr = (t) => {
1262
1262
  const { children: e, ...a } = t, { fields: s = [] } = b();
1263
1263
  return /* @__PURE__ */ n($i, { children: I(e, s), ...a });
1264
1264
  }, Qi = i("div", {
1265
1265
  _id: "aiChatForm__Field"
1266
- }), Eo = (t) => {
1267
- const { field: e, autoFocus: a, ...s } = t, { control: o, errors: r } = b();
1266
+ }), Sr = (t) => {
1267
+ const { field: e, autoFocus: a, ...s } = t, { control: r, errors: o } = b();
1268
1268
  return /* @__PURE__ */ n(
1269
1269
  je,
1270
1270
  {
1271
1271
  name: e.name,
1272
- control: o,
1272
+ control: r,
1273
1273
  rules: { required: e.isRequired ? `${e.label} is required.` : void 0 },
1274
1274
  render: ({ field: c }) => {
1275
1275
  const d = c.value !== void 0 || e.inputType === "file";
1276
1276
  return /* @__PURE__ */ n(
1277
1277
  qe,
1278
1278
  {
1279
- "data-invalid": v(!!r[e.name]),
1279
+ "data-invalid": v(!!o[e.name]),
1280
1280
  field: e,
1281
1281
  fieldProps: c,
1282
1282
  autoFocus: a,
@@ -1295,7 +1295,7 @@ ${S}${R}`;
1295
1295
  );
1296
1296
  }, Vi = i("label", {
1297
1297
  _id: "aiChatForm__FieldLabel"
1298
- }), ko = (t) => {
1298
+ }), Er = (t) => {
1299
1299
  const { field: e } = H();
1300
1300
  return /* @__PURE__ */ n(
1301
1301
  Vi,
@@ -1313,7 +1313,7 @@ ${S}${R}`;
1313
1313
  const {
1314
1314
  field: e,
1315
1315
  error: a,
1316
- fieldProps: { onChange: s, onBlur: o, ...r },
1316
+ fieldProps: { onChange: s, onBlur: r, ...o },
1317
1317
  autoFocus: c
1318
1318
  } = H(), { onChange: d, onBlur: m, ...l } = t;
1319
1319
  return /* @__PURE__ */ n(
@@ -1324,27 +1324,27 @@ ${S}${R}`;
1324
1324
  placeholder: "placeholder" in e ? e.placeholder : void 0,
1325
1325
  "data-invalid": v(!!a),
1326
1326
  onChange: h(d, s),
1327
- onBlur: h(m, o),
1328
- ...r,
1327
+ onBlur: h(m, r),
1328
+ ...o,
1329
1329
  ...l
1330
1330
  }
1331
1331
  );
1332
- }, Bo = i(Ie, {
1332
+ }, kr = i(Ie, {
1333
1333
  _id: "aiChatForm__FieldEmail",
1334
1334
  type: "email"
1335
1335
  }), Ki = i("input", {
1336
1336
  _id: "aiChatForm__FieldFile",
1337
1337
  type: "file",
1338
1338
  multiple: !0
1339
- }), To = (t) => {
1339
+ }), Br = (t) => {
1340
1340
  const {
1341
1341
  field: e,
1342
1342
  error: a,
1343
- fieldProps: { value: s, onChange: o, onBlur: r, ...c },
1343
+ fieldProps: { value: s, onChange: r, onBlur: o, ...c },
1344
1344
  autoFocus: d
1345
1345
  } = H(), { onChange: m, onBlur: l, ...C } = t, p = (P) => {
1346
1346
  const T = P.target.files;
1347
- o(T);
1347
+ r(T);
1348
1348
  };
1349
1349
  return /* @__PURE__ */ n(
1350
1350
  Ki,
@@ -1356,52 +1356,52 @@ ${S}${R}`;
1356
1356
  ...C,
1357
1357
  ...c,
1358
1358
  onChange: h(m, p),
1359
- onBlur: h(l, r)
1359
+ onBlur: h(l, o)
1360
1360
  }
1361
1361
  );
1362
- }, yo = i(Ie, {
1362
+ }, Tr = i(Ie, {
1363
1363
  _id: "aiChatForm__FieldTextArea",
1364
1364
  type: "textarea",
1365
1365
  asChild: !0,
1366
1366
  children: /* @__PURE__ */ n(te, { maxRows: 8 })
1367
1367
  }), qi = i(V.Root, {
1368
1368
  _id: "aiChatForm__FieldCheckbox"
1369
- }), wo = (t) => {
1370
- const { field: e, error: a, fieldProps: s, autoFocus: o } = H(), { onCheckedChange: r, ...c } = t;
1369
+ }), yr = (t) => {
1370
+ const { field: e, error: a, fieldProps: s, autoFocus: r } = H(), { onCheckedChange: o, ...c } = t;
1371
1371
  return /* @__PURE__ */ n(
1372
1372
  qi,
1373
1373
  {
1374
1374
  id: e.name,
1375
1375
  name: e.name,
1376
- autoFocus: o,
1376
+ autoFocus: r,
1377
1377
  "data-invalid": v(!!a),
1378
1378
  checked: s.value,
1379
- onCheckedChange: h(r, s.onChange),
1379
+ onCheckedChange: h(o, s.onChange),
1380
1380
  ...c
1381
1381
  }
1382
1382
  );
1383
- }, Ho = i(V.Indicator, {
1383
+ }, wr = i(V.Indicator, {
1384
1384
  _id: "aiChatForm__FieldCheckboxIndicator",
1385
1385
  children: /* @__PURE__ */ n(Pe, {})
1386
1386
  }), ji = i(f.Root, {
1387
1387
  _id: "aiChatForm__FieldSelect"
1388
- }), Lo = (t) => {
1389
- const { field: e, error: a, fieldProps: s } = H(), { onValueChange: o, ...r } = t;
1388
+ }), Hr = (t) => {
1389
+ const { field: e, error: a, fieldProps: s } = H(), { onValueChange: r, ...o } = t;
1390
1390
  return /* @__PURE__ */ n(
1391
1391
  ji,
1392
1392
  {
1393
1393
  name: e.name,
1394
1394
  "data-invalid": v(!!a),
1395
1395
  value: s.value,
1396
- onValueChange: h(o, s.onChange),
1397
- ...r
1396
+ onValueChange: h(r, s.onChange),
1397
+ ...o
1398
1398
  }
1399
1399
  );
1400
- }, xo = i(f.Trigger, {
1400
+ }, Lr = i(f.Trigger, {
1401
1401
  _id: "aiChatForm__FieldSelect__Trigger"
1402
1402
  }), Gi = i(f.Value, {
1403
1403
  _id: "aiChatForm__FieldSelect__Value"
1404
- }), Do = (t) => {
1404
+ }), xr = (t) => {
1405
1405
  const { field: e } = H();
1406
1406
  return /* @__PURE__ */ n(
1407
1407
  Gi,
@@ -1410,20 +1410,20 @@ ${S}${R}`;
1410
1410
  ...t
1411
1411
  }
1412
1412
  );
1413
- }, Oo = i(f.Icon, {
1413
+ }, Dr = i(f.Icon, {
1414
1414
  _id: "aiChatForm__FieldSelect__Icon",
1415
1415
  asChild: !0,
1416
1416
  children: /* @__PURE__ */ n(B, { iconSettings: { builtIn: "LuChevronDown" } })
1417
- }), Wo = i(f.Content, {
1417
+ }), Or = i(f.Content, {
1418
1418
  _id: "aiChatForm__FieldSelect__Content",
1419
1419
  position: "popper"
1420
- }), No = i(f.Viewport, {
1420
+ }), Wr = i(f.Viewport, {
1421
1421
  _id: "aiChatForm__FieldSelect__Viewport"
1422
- }), Ro = i(f.Item, {
1422
+ }), Nr = i(f.Item, {
1423
1423
  _id: "aiChatForm__FieldSelect__Item"
1424
- }), $o = i(f.ItemText, {
1424
+ }), Rr = i(f.ItemText, {
1425
1425
  _id: "aiChatForm__FieldSelect__ItemText"
1426
- }), Qo = i(
1426
+ }), $r = i(
1427
1427
  f.ItemIndicator,
1428
1428
  {
1429
1429
  _id: "aiChatForm__FieldSelect__ItemIndicator",
@@ -1432,54 +1432,54 @@ ${S}${R}`;
1432
1432
  }
1433
1433
  ), zi = i("span", {
1434
1434
  _id: "aiChatForm__FieldError"
1435
- }), Vo = (t) => {
1435
+ }), Qr = (t) => {
1436
1436
  const { error: e } = H();
1437
1437
  return e ? /* @__PURE__ */ n(zi, { children: e.message?.toString(), ...t }) : null;
1438
1438
  }, Yi = i("span", {
1439
1439
  _id: "aiChatForm__Error"
1440
- }), Uo = (t) => {
1440
+ }), Vr = (t) => {
1441
1441
  const { formError: e } = b();
1442
1442
  return e ? /* @__PURE__ */ n(Yi, { children: e.message, ...t }) : null;
1443
- }, Ko = i("div", {
1443
+ }, Ur = i("div", {
1444
1444
  _id: "aiChatForm__Footer"
1445
1445
  }), Ji = i("button", {
1446
1446
  _id: "aiChatForm__Cancel",
1447
1447
  children: "Cancel"
1448
- }), qo = (t) => {
1448
+ }), Kr = (t) => {
1449
1449
  const { onClick: e, ...a } = t, { closeForm: s } = b();
1450
1450
  return /* @__PURE__ */ n(Ji, { onClick: h(e, s), ...a });
1451
1451
  }, Xi = i("button", {
1452
1452
  _id: "aiChatForm__Submit",
1453
1453
  children: "Submit",
1454
1454
  type: "submit"
1455
- }), jo = (t) => {
1455
+ }), qr = (t) => {
1456
1456
  const { onClick: e, ...a } = t, { isSubmitting: s } = b();
1457
1457
  return /* @__PURE__ */ n(Xi, { disabled: s, ...a });
1458
1458
  }, Zi = i("div", {
1459
1459
  _id: "aiChatForm__Success"
1460
- }), Go = (t) => {
1460
+ }), jr = (t) => {
1461
1461
  const { isSuccess: e } = b();
1462
1462
  return e ? /* @__PURE__ */ n(Zi, { ...t }) : null;
1463
1463
  }, ea = i("h2", {
1464
1464
  _id: "aiChatForm__SuccessHeading"
1465
- }), zo = (t) => {
1465
+ }), Gr = (t) => {
1466
1466
  const { form: e } = b();
1467
1467
  return /* @__PURE__ */ n(ea, { children: e?.successView.heading, ...t });
1468
1468
  }, ta = i(ce, {
1469
1469
  _id: "aiChatForm__SuccessMessage"
1470
- }), Yo = (t) => {
1470
+ }), zr = (t) => {
1471
1471
  const { form: e } = b();
1472
1472
  return /* @__PURE__ */ n(ta, { children: e?.successView.message, ...t });
1473
1473
  }, ia = i("button", {
1474
1474
  _id: "aiChatForm__SuccessButton"
1475
- }), Jo = (t) => {
1476
- const { onClick: e, ...a } = t, { form: s, closeForm: o } = b(), r = s?.successView?.doneButton;
1477
- if (!r) return null;
1478
- const c = r.icon && /* @__PURE__ */ n(B, { iconSettings: r.icon }), d = r.label;
1475
+ }), Yr = (t) => {
1476
+ const { onClick: e, ...a } = t, { form: s, closeForm: r } = b(), o = s?.successView?.doneButton;
1477
+ if (!o) return null;
1478
+ const c = o.icon && /* @__PURE__ */ n(B, { iconSettings: o.icon }), d = o.label;
1479
1479
  return /* @__PURE__ */ n(
1480
1480
  ia,
1481
1481
  {
1482
- onClick: h(e, o),
1482
+ onClick: h(e, r),
1483
1483
  children: /* @__PURE__ */ $(ee, { children: [
1484
1484
  c,
1485
1485
  d
@@ -1508,7 +1508,7 @@ export {
1508
1508
  Ns as AttachmentsBarFormTitleInput,
1509
1509
  Ws as AttachmentsBarFormTitleLabel,
1510
1510
  Ps as AttachmentsBarInfoTip,
1511
- oi as AttachmentsBarInfoTipArrow,
1511
+ ri as AttachmentsBarInfoTipArrow,
1512
1512
  Fs as AttachmentsBarInfoTipIcon,
1513
1513
  Ms as AttachmentsBarInfoTipText,
1514
1514
  fs as AttachmentsBarInput,
@@ -1527,10 +1527,10 @@ export {
1527
1527
  Me as ChatAction,
1528
1528
  Xs as ChatActionFeedback,
1529
1529
  Fi as ChatActionLabel,
1530
- eo as ChatHelpAction,
1530
+ er as ChatHelpAction,
1531
1531
  en as Content,
1532
1532
  tn as ContentScrollArea,
1533
- on as ContentScrollAreaCorner,
1533
+ rn as ContentScrollAreaCorner,
1534
1534
  nn as ContentScrollAreaScrollbar,
1535
1535
  sn as ContentScrollAreaThumb,
1536
1536
  an as ContentScrollAreaViewport,
@@ -1560,7 +1560,7 @@ export {
1560
1560
  Ns as EmbeddedChatPrimitiveAttachmentsBarFormTitleInput,
1561
1561
  Ws as EmbeddedChatPrimitiveAttachmentsBarFormTitleLabel,
1562
1562
  Ps as EmbeddedChatPrimitiveAttachmentsBarInfoTip,
1563
- oi as EmbeddedChatPrimitiveAttachmentsBarInfoTipArrow,
1563
+ ri as EmbeddedChatPrimitiveAttachmentsBarInfoTipArrow,
1564
1564
  Fs as EmbeddedChatPrimitiveAttachmentsBarInfoTipIcon,
1565
1565
  Ms as EmbeddedChatPrimitiveAttachmentsBarInfoTipText,
1566
1566
  fs as EmbeddedChatPrimitiveAttachmentsBarInput,
@@ -1579,10 +1579,10 @@ export {
1579
1579
  Me as EmbeddedChatPrimitiveChatAction,
1580
1580
  Xs as EmbeddedChatPrimitiveChatActionFeedback,
1581
1581
  Fi as EmbeddedChatPrimitiveChatActionLabel,
1582
- eo as EmbeddedChatPrimitiveChatHelpAction,
1582
+ er as EmbeddedChatPrimitiveChatHelpAction,
1583
1583
  en as EmbeddedChatPrimitiveContent,
1584
1584
  tn as EmbeddedChatPrimitiveContentScrollArea,
1585
- on as EmbeddedChatPrimitiveContentScrollAreaCorner,
1585
+ rn as EmbeddedChatPrimitiveContentScrollAreaCorner,
1586
1586
  nn as EmbeddedChatPrimitiveContentScrollAreaScrollbar,
1587
1587
  sn as EmbeddedChatPrimitiveContentScrollAreaThumb,
1588
1588
  an as EmbeddedChatPrimitiveContentScrollAreaViewport,
@@ -1598,67 +1598,66 @@ export {
1598
1598
  Cn as EmbeddedChatPrimitiveExampleQuestions,
1599
1599
  pn as EmbeddedChatPrimitiveExampleQuestionsLabel,
1600
1600
  vn as EmbeddedChatPrimitiveExampleQuestionsList,
1601
- uo as EmbeddedChatPrimitiveFeedbackForm,
1602
- Co as EmbeddedChatPrimitiveFeedbackItem,
1603
- po as EmbeddedChatPrimitiveFeedbackItemCheckbox,
1604
- vo as EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator,
1605
- _o as EmbeddedChatPrimitiveFeedbackItemDescription,
1606
- go as EmbeddedChatPrimitiveFeedbackItemLabel,
1607
- oo as EmbeddedChatPrimitiveFeedbackModal,
1608
- ho as EmbeddedChatPrimitiveFeedbackModalBody,
1609
- lo as EmbeddedChatPrimitiveFeedbackModalClose,
1610
- co as EmbeddedChatPrimitiveFeedbackModalContent,
1611
- mo as EmbeddedChatPrimitiveFeedbackModalHeader,
1612
- ro as EmbeddedChatPrimitiveFeedbackModalOverlay,
1613
- bo as EmbeddedChatPrimitiveFeedbackSubmitButton,
1601
+ hr as EmbeddedChatPrimitiveFeedbackForm,
1602
+ ur as EmbeddedChatPrimitiveFeedbackItem,
1603
+ Cr as EmbeddedChatPrimitiveFeedbackItemCheckbox,
1604
+ pr as EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator,
1605
+ gr as EmbeddedChatPrimitiveFeedbackItemDescription,
1606
+ vr as EmbeddedChatPrimitiveFeedbackItemLabel,
1607
+ rr as EmbeddedChatPrimitiveFeedbackModal,
1608
+ lr as EmbeddedChatPrimitiveFeedbackModalBody,
1609
+ mr as EmbeddedChatPrimitiveFeedbackModalClose,
1610
+ cr as EmbeddedChatPrimitiveFeedbackModalContent,
1611
+ dr as EmbeddedChatPrimitiveFeedbackModalHeader,
1612
+ or as EmbeddedChatPrimitiveFeedbackModalOverlay,
1613
+ _r as EmbeddedChatPrimitiveFeedbackSubmitButton,
1614
1614
  cs as EmbeddedChatPrimitiveFooter,
1615
- Po as EmbeddedChatPrimitiveForm,
1616
- qo as EmbeddedChatPrimitiveFormCancel,
1617
- Fo as EmbeddedChatPrimitiveFormClose,
1618
- So as EmbeddedChatPrimitiveFormContent,
1619
- fo as EmbeddedChatPrimitiveFormDescription,
1620
- Uo as EmbeddedChatPrimitiveFormError,
1621
- Eo as EmbeddedChatPrimitiveFormField,
1622
- wo as EmbeddedChatPrimitiveFormFieldCheckbox,
1623
- Ho as EmbeddedChatPrimitiveFormFieldCheckboxIndicator,
1624
- Bo as EmbeddedChatPrimitiveFormFieldEmail,
1625
- Vo as EmbeddedChatPrimitiveFormFieldError,
1626
- To as EmbeddedChatPrimitiveFormFieldFile,
1627
- ko as EmbeddedChatPrimitiveFormFieldLabel,
1628
- Lo as EmbeddedChatPrimitiveFormFieldSelect,
1629
- Wo as EmbeddedChatPrimitiveFormFieldSelectContent,
1630
- Oo as EmbeddedChatPrimitiveFormFieldSelectIcon,
1631
- Ro as EmbeddedChatPrimitiveFormFieldSelectItem,
1632
- Qo as EmbeddedChatPrimitiveFormFieldSelectItemIndicator,
1633
- $o as EmbeddedChatPrimitiveFormFieldSelectItemText,
1634
- xo as EmbeddedChatPrimitiveFormFieldSelectTrigger,
1635
- Do as EmbeddedChatPrimitiveFormFieldSelectValue,
1636
- No as EmbeddedChatPrimitiveFormFieldSelectViewport,
1615
+ Ar as EmbeddedChatPrimitiveForm,
1616
+ Kr as EmbeddedChatPrimitiveFormCancel,
1617
+ Pr as EmbeddedChatPrimitiveFormClose,
1618
+ fr as EmbeddedChatPrimitiveFormContent,
1619
+ Ir as EmbeddedChatPrimitiveFormDescription,
1620
+ Vr as EmbeddedChatPrimitiveFormError,
1621
+ Sr as EmbeddedChatPrimitiveFormField,
1622
+ yr as EmbeddedChatPrimitiveFormFieldCheckbox,
1623
+ wr as EmbeddedChatPrimitiveFormFieldCheckboxIndicator,
1624
+ kr as EmbeddedChatPrimitiveFormFieldEmail,
1625
+ Qr as EmbeddedChatPrimitiveFormFieldError,
1626
+ Br as EmbeddedChatPrimitiveFormFieldFile,
1627
+ Er as EmbeddedChatPrimitiveFormFieldLabel,
1628
+ Hr as EmbeddedChatPrimitiveFormFieldSelect,
1629
+ Or as EmbeddedChatPrimitiveFormFieldSelectContent,
1630
+ Dr as EmbeddedChatPrimitiveFormFieldSelectIcon,
1631
+ Nr as EmbeddedChatPrimitiveFormFieldSelectItem,
1632
+ $r as EmbeddedChatPrimitiveFormFieldSelectItemIndicator,
1633
+ Rr as EmbeddedChatPrimitiveFormFieldSelectItemText,
1634
+ Lr as EmbeddedChatPrimitiveFormFieldSelectTrigger,
1635
+ xr as EmbeddedChatPrimitiveFormFieldSelectValue,
1636
+ Wr as EmbeddedChatPrimitiveFormFieldSelectViewport,
1637
1637
  Ie as EmbeddedChatPrimitiveFormFieldText,
1638
- yo as EmbeddedChatPrimitiveFormFieldTextArea,
1639
- Ko as EmbeddedChatPrimitiveFormFooter,
1640
- Mo as EmbeddedChatPrimitiveFormHeader,
1641
- Io as EmbeddedChatPrimitiveFormHeading,
1642
- jo as EmbeddedChatPrimitiveFormSubmit,
1643
- Go as EmbeddedChatPrimitiveFormSuccess,
1644
- Jo as EmbeddedChatPrimitiveFormSuccessButton,
1645
- zo as EmbeddedChatPrimitiveFormSuccessHeading,
1646
- Yo as EmbeddedChatPrimitiveFormSuccessMessage,
1647
- Ao as EmbeddedChatPrimitiveFormWrapper,
1638
+ Tr as EmbeddedChatPrimitiveFormFieldTextArea,
1639
+ Ur as EmbeddedChatPrimitiveFormFooter,
1640
+ Fr as EmbeddedChatPrimitiveFormHeader,
1641
+ Mr as EmbeddedChatPrimitiveFormHeading,
1642
+ qr as EmbeddedChatPrimitiveFormSubmit,
1643
+ jr as EmbeddedChatPrimitiveFormSuccess,
1644
+ Yr as EmbeddedChatPrimitiveFormSuccessButton,
1645
+ Gr as EmbeddedChatPrimitiveFormSuccessHeading,
1646
+ zr as EmbeddedChatPrimitiveFormSuccessMessage,
1647
+ br as EmbeddedChatPrimitiveFormWrapper,
1648
1648
  Ja as EmbeddedChatPrimitiveHeaderToolbar,
1649
1649
  Zs as EmbeddedChatPrimitiveHelpActions,
1650
- io as EmbeddedChatPrimitiveHelpActionsMenu,
1651
- ao as EmbeddedChatPrimitiveHelpActionsMenuArrow,
1652
- no as EmbeddedChatPrimitiveHelpActionsMenuItem,
1653
- so as EmbeddedChatPrimitiveHelpActionsMenuItemIcon,
1654
- to as EmbeddedChatPrimitiveHelpActionsTrigger,
1650
+ ir as EmbeddedChatPrimitiveHelpActionsMenu,
1651
+ ar as EmbeddedChatPrimitiveHelpActionsMenuArrow,
1652
+ nr as EmbeddedChatPrimitiveHelpActionsMenuItem,
1653
+ sr as EmbeddedChatPrimitiveHelpActionsMenuItemIcon,
1654
+ tr as EmbeddedChatPrimitiveHelpActionsTrigger,
1655
1655
  ls as EmbeddedChatPrimitiveInput,
1656
1656
  ds as EmbeddedChatPrimitiveInputFieldset,
1657
1657
  ms as EmbeddedChatPrimitiveInputGroup,
1658
1658
  In as EmbeddedChatPrimitiveIntroMessageWrapper,
1659
1659
  Kn as EmbeddedChatPrimitiveMessage,
1660
1660
  zn as EmbeddedChatPrimitiveMessageAction,
1661
- qn as EmbeddedChatPrimitiveMessageActions,
1662
1661
  Ln as EmbeddedChatPrimitiveMessageAttachments,
1663
1662
  Dn as EmbeddedChatPrimitiveMessageAttachmentsItem,
1664
1663
  On as EmbeddedChatPrimitiveMessageAttachmentsItemIcon,
@@ -1682,9 +1681,9 @@ export {
1682
1681
  Zn as EmbeddedChatPrimitiveMessageSourceItem,
1683
1682
  es as EmbeddedChatPrimitiveMessageSourceItemBreadcrumbs,
1684
1683
  ss as EmbeddedChatPrimitiveMessageSourceItemDescription,
1685
- os as EmbeddedChatPrimitiveMessageSourceItemDescriptionPart,
1684
+ rs as EmbeddedChatPrimitiveMessageSourceItemDescriptionPart,
1686
1685
  is as EmbeddedChatPrimitiveMessageSourceItemIcon,
1687
- rs as EmbeddedChatPrimitiveMessageSourceItemIndicator,
1686
+ os as EmbeddedChatPrimitiveMessageSourceItemIndicator,
1688
1687
  ns as EmbeddedChatPrimitiveMessageSourceItemTag,
1689
1688
  as as EmbeddedChatPrimitiveMessageSourceItemTitle,
1690
1689
  Yn as EmbeddedChatPrimitiveMessageSources,
@@ -1692,8 +1691,9 @@ export {
1692
1691
  Xn as EmbeddedChatPrimitiveMessageSourcesList,
1693
1692
  Gn as EmbeddedChatPrimitiveMessageToolAction,
1694
1693
  jn as EmbeddedChatPrimitiveMessageToolActions,
1694
+ qn as EmbeddedChatPrimitiveMessageToolbar,
1695
1695
  Pt as EmbeddedChatPrimitiveMessageWrapper,
1696
- rn as EmbeddedChatPrimitiveMessages,
1696
+ on as EmbeddedChatPrimitiveMessages,
1697
1697
  za as EmbeddedChatPrimitiveRoot,
1698
1698
  hs as EmbeddedChatPrimitiveSendButton,
1699
1699
  us as EmbeddedChatPrimitiveSendButtonIcon,
@@ -1714,69 +1714,68 @@ export {
1714
1714
  Cn as ExampleQuestions,
1715
1715
  pn as ExampleQuestionsLabel,
1716
1716
  vn as ExampleQuestionsList,
1717
- uo as FeedbackForm,
1718
- Co as FeedbackItem,
1719
- po as FeedbackItemCheckbox,
1720
- vo as FeedbackItemCheckboxIndicator,
1721
- _o as FeedbackItemDescription,
1722
- go as FeedbackItemLabel,
1723
- oo as FeedbackModal,
1724
- ho as FeedbackModalBody,
1725
- lo as FeedbackModalClose,
1726
- co as FeedbackModalContent,
1727
- mo as FeedbackModalHeader,
1728
- ro as FeedbackModalOverlay,
1729
- bo as FeedbackSubmitButton,
1717
+ hr as FeedbackForm,
1718
+ ur as FeedbackItem,
1719
+ Cr as FeedbackItemCheckbox,
1720
+ pr as FeedbackItemCheckboxIndicator,
1721
+ gr as FeedbackItemDescription,
1722
+ vr as FeedbackItemLabel,
1723
+ rr as FeedbackModal,
1724
+ lr as FeedbackModalBody,
1725
+ mr as FeedbackModalClose,
1726
+ cr as FeedbackModalContent,
1727
+ dr as FeedbackModalHeader,
1728
+ or as FeedbackModalOverlay,
1729
+ _r as FeedbackSubmitButton,
1730
1730
  cs as Footer,
1731
- Po as Form,
1732
- qo as FormCancel,
1733
- Fo as FormClose,
1734
- So as FormContent,
1735
- fo as FormDescription,
1736
- Uo as FormError,
1737
- Eo as FormField,
1738
- wo as FormFieldCheckbox,
1739
- Ho as FormFieldCheckboxIndicator,
1740
- Bo as FormFieldEmail,
1741
- Vo as FormFieldError,
1742
- To as FormFieldFile,
1743
- ko as FormFieldLabel,
1744
- Lo as FormFieldSelect,
1745
- Wo as FormFieldSelectContent,
1746
- Oo as FormFieldSelectIcon,
1747
- Ro as FormFieldSelectItem,
1748
- Qo as FormFieldSelectItemIndicator,
1749
- $o as FormFieldSelectItemText,
1750
- xo as FormFieldSelectTrigger,
1751
- Do as FormFieldSelectValue,
1752
- No as FormFieldSelectViewport,
1731
+ Ar as Form,
1732
+ Kr as FormCancel,
1733
+ Pr as FormClose,
1734
+ fr as FormContent,
1735
+ Ir as FormDescription,
1736
+ Vr as FormError,
1737
+ Sr as FormField,
1738
+ yr as FormFieldCheckbox,
1739
+ wr as FormFieldCheckboxIndicator,
1740
+ kr as FormFieldEmail,
1741
+ Qr as FormFieldError,
1742
+ Br as FormFieldFile,
1743
+ Er as FormFieldLabel,
1744
+ Hr as FormFieldSelect,
1745
+ Or as FormFieldSelectContent,
1746
+ Dr as FormFieldSelectIcon,
1747
+ Nr as FormFieldSelectItem,
1748
+ $r as FormFieldSelectItemIndicator,
1749
+ Rr as FormFieldSelectItemText,
1750
+ Lr as FormFieldSelectTrigger,
1751
+ xr as FormFieldSelectValue,
1752
+ Wr as FormFieldSelectViewport,
1753
1753
  Ie as FormFieldText,
1754
- yo as FormFieldTextArea,
1755
- Ko as FormFooter,
1756
- Mo as FormHeader,
1757
- Io as FormHeading,
1758
- jo as FormSubmit,
1759
- Go as FormSuccess,
1760
- Jo as FormSuccessButton,
1761
- zo as FormSuccessHeading,
1762
- Yo as FormSuccessMessage,
1763
- Ao as FormWrapper,
1754
+ Tr as FormFieldTextArea,
1755
+ Ur as FormFooter,
1756
+ Fr as FormHeader,
1757
+ Mr as FormHeading,
1758
+ qr as FormSubmit,
1759
+ jr as FormSuccess,
1760
+ Yr as FormSuccessButton,
1761
+ Gr as FormSuccessHeading,
1762
+ zr as FormSuccessMessage,
1763
+ br as FormWrapper,
1764
1764
  Ya as Header,
1765
1765
  Ja as HeaderToolbar,
1766
1766
  Xa as HeaderToolbarWrapper,
1767
1767
  Zs as HelpActions,
1768
- io as HelpActionsMenu,
1769
- ao as HelpActionsMenuArrow,
1770
- no as HelpActionsMenuItem,
1771
- so as HelpActionsMenuItemIcon,
1772
- to as HelpActionsTrigger,
1768
+ ir as HelpActionsMenu,
1769
+ ar as HelpActionsMenuArrow,
1770
+ nr as HelpActionsMenuItem,
1771
+ sr as HelpActionsMenuItemIcon,
1772
+ tr as HelpActionsTrigger,
1773
1773
  ls as Input,
1774
1774
  ds as InputFieldset,
1775
1775
  ms as InputGroup,
1776
1776
  In as IntroMessageWrapper,
1777
1777
  Kn as Message,
1778
1778
  zn as MessageAction,
1779
- qn as MessageActions,
1780
1779
  Ln as MessageAttachments,
1781
1780
  Dn as MessageAttachmentsItem,
1782
1781
  On as MessageAttachmentsItemIcon,
@@ -1801,9 +1800,9 @@ export {
1801
1800
  ts as MessageSourceItemBreadcrumbIcon,
1802
1801
  es as MessageSourceItemBreadcrumbs,
1803
1802
  ss as MessageSourceItemDescription,
1804
- os as MessageSourceItemDescriptionPart,
1803
+ rs as MessageSourceItemDescriptionPart,
1805
1804
  is as MessageSourceItemIcon,
1806
- rs as MessageSourceItemIndicator,
1805
+ os as MessageSourceItemIndicator,
1807
1806
  ns as MessageSourceItemTag,
1808
1807
  as as MessageSourceItemTitle,
1809
1808
  Yn as MessageSources,
@@ -1811,9 +1810,10 @@ export {
1811
1810
  Xn as MessageSourcesList,
1812
1811
  Gn as MessageToolAction,
1813
1812
  jn as MessageToolActions,
1813
+ qn as MessageToolbar,
1814
1814
  Pt as MessageWrapper,
1815
- rn as Messages,
1816
- er as Provider,
1815
+ on as Messages,
1816
+ Zr as Provider,
1817
1817
  za as Root,
1818
1818
  hs as SendButton,
1819
1819
  us as SendButtonIcon,