@inkeep/cxkit-primitives 0.5.20 → 0.5.21

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 E from "@radix-ui/react-tooltip";
9
9
  import * as K from "@radix-ui/react-hover-card";
10
10
  import * as D from "@radix-ui/react-scroll-area";
11
11
  import * as f from "@radix-ui/react-select";
12
- import { Overlay as ne, Content as se, Close as re, Title as oe, Root as ce } from "../atoms/dialog.js";
12
+ import { Overlay as ne, Content as se, Close as oe, Title as re, Root as ce } from "../atoms/dialog.js";
13
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
14
  import { IoAdd as Ee } from "../node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/io5/index.js";
15
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 Qe, getMessageContent as le } from "../utils/misc.js";
35
35
  import { ikp as i } from "./factory.js";
36
36
  import { useChat as g } from "./embedded-chat/chat-provider.js";
37
- import { ChatProvider as Jr } from "./embedded-chat/chat-provider.js";
37
+ import { ChatProvider as Xo } from "./embedded-chat/chat-provider.js";
38
38
  import Ne from "./tagline-logo-icon.js";
39
39
  import { useSettleAction as Re } from "../hooks/use-settle-action.js";
40
40
  import { useContainerSize as $e } 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
  }), Ka = $((t, e) => {
57
- const { ...a } = t, { isHidden: s, isMobile: r } = g(), [o, c] = $e(), d = ue(e, o), m = c?.width ? c.width > 580 : !0, l = Fe();
57
+ const { ...a } = t, { isHidden: s, isMobile: o } = g(), [r, c] = $e(), d = ue(e, r), 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(r),
65
+ "data-mobile": v(o),
66
66
  ...a
67
67
  }
68
68
  );
@@ -96,11 +96,11 @@ const Ze = "__intro__", et = i("div", {
96
96
  }), nt = i(D.Viewport, {
97
97
  _id: "aiChatContentScrollArea__Viewport"
98
98
  }), en = $(({ children: t, ...e }, a) => {
99
- const { containerRef: s } = Ye(), r = ue(a, s);
99
+ const { containerRef: s } = Ye(), o = ue(a, s);
100
100
  return /* @__PURE__ */ n(
101
101
  nt,
102
102
  {
103
- ref: r,
103
+ ref: o,
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 })
@@ -125,19 +125,19 @@ const Ze = "__intro__", et = i("div", {
125
125
  }), sn = (t) => {
126
126
  const e = g(), { children: a, ...s } = t;
127
127
  return /* @__PURE__ */ n(st, { children: I(a, e), ...s });
128
- }, rt = i("div", {
128
+ }, ot = i("div", {
129
129
  _id: "aiChatDisclaimer"
130
- }), rn = F(
130
+ }), on = F(
131
131
  (t) => {
132
132
  const { aiChatSettings: e } = u();
133
- return e.disclaimerSettings?.isEnabled ? /* @__PURE__ */ n(K.Root, { openDelay: 100, children: /* @__PURE__ */ n(rt, { ...t }) }) : null;
133
+ return e.disclaimerSettings?.isEnabled ? /* @__PURE__ */ n(K.Root, { openDelay: 100, children: /* @__PURE__ */ n(ot, { ...t }) }) : null;
134
134
  }
135
- ), ot = i("span", {
135
+ ), rt = i("span", {
136
136
  _id: "aiChatDisclaimerLabel"
137
- }), on = F(
137
+ }), rn = F(
138
138
  (t) => {
139
139
  const { aiChatSettings: e } = u(), a = e.disclaimerSettings;
140
- return /* @__PURE__ */ n(ot, { children: a?.label, ...t });
140
+ return /* @__PURE__ */ n(rt, { children: a?.label, ...t });
141
141
  }
142
142
  ), cn = i(K.Trigger, {
143
143
  _id: "aiChatDisclaimerTrigger",
@@ -159,8 +159,8 @@ i(q, {
159
159
  });
160
160
  const mn = F(
161
161
  (t) => {
162
- const { aiChatSettings: e } = u(), a = e.aiAssistantName, r = e.disclaimerSettings?.tooltip || `Information provided by ${a || "this AI assistant"} is not guaranteed to be accurate or comprehensive.`;
163
- return /* @__PURE__ */ n(q, { shouldOpenLinksInNewTab: !0, children: r, ...t });
162
+ 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.`;
163
+ return /* @__PURE__ */ n(q, { shouldOpenLinksInNewTab: !0, children: o, ...t });
164
164
  }
165
165
  ), ln = i(K.Arrow, {
166
166
  _id: "aiChatDisclaimerArrow"
@@ -180,8 +180,8 @@ const mn = F(
180
180
  _id: "aiChatQuickQuestionsList"
181
181
  }), Cn = F(
182
182
  (t) => {
183
- const { aiChatSettings: e } = u(), a = e.exampleQuestions, { children: s, ...r } = t;
184
- return /* @__PURE__ */ n(lt, { children: I(s, a), ...r });
183
+ const { aiChatSettings: e } = u(), a = e.exampleQuestions, { children: s, ...o } = t;
184
+ return /* @__PURE__ */ n(lt, { children: I(s, a), ...o });
185
185
  }
186
186
  ), ht = i("div", {
187
187
  _id: "aiChatQuickQuestion"
@@ -191,11 +191,11 @@ const mn = F(
191
191
  }), ut = i("button", {
192
192
  _id: "aiChatQuickQuestionButton"
193
193
  }), vn = (t) => {
194
- const { question: e, onClick: a, ...s } = t, { handleSubmit: r } = g();
194
+ const { question: e, onClick: a, ...s } = t, { handleSubmit: o } = g();
195
195
  return /* @__PURE__ */ n(
196
196
  ut,
197
197
  {
198
- onClick: h(a, () => r(e)),
198
+ onClick: h(a, () => o(e)),
199
199
  children: e,
200
200
  ...s
201
201
  }
@@ -214,17 +214,17 @@ const mn = F(
214
214
  _id: "aiChatWorkflowsList"
215
215
  }), bn = F(
216
216
  (t) => {
217
- const { aiChatSettings: e } = u(), a = e.workflows, { children: s, ...r } = t;
218
- return /* @__PURE__ */ n(vt, { children: I(s, a), ...r });
217
+ const { aiChatSettings: e } = u(), a = e.workflows, { children: s, ...o } = t;
218
+ return /* @__PURE__ */ n(vt, { children: I(s, a), ...o });
219
219
  }
220
220
  ), gt = i("button", {
221
221
  _id: "aiChatWorkflow"
222
222
  }), An = (t) => {
223
- const { workflow: e, onClick: a, ...s } = t, { handleWorkflow: r } = g();
223
+ const { workflow: e, onClick: a, ...s } = t, { handleWorkflow: o } = g();
224
224
  return /* @__PURE__ */ n(
225
225
  gt,
226
226
  {
227
- onClick: h(a, () => r(e)),
227
+ onClick: h(a, () => o(e)),
228
228
  children: e.displayName,
229
229
  ...s
230
230
  }
@@ -238,7 +238,7 @@ const mn = F(
238
238
  return e.role === "system" ? null : /* @__PURE__ */ n(xe, { message: e, children: /* @__PURE__ */ n(bt, { "data-role": e.role, ...a }) });
239
239
  }, Fn = F(
240
240
  (t) => {
241
- const { message: e, ...a } = t, { aiChatSettings: s, baseSettings: r } = u(), o = s.aiAssistantName, c = o ? `Hi, I'm ${o}!` : "Hi!", d = s.chatSubjectName ?? r.organizationDisplayName, m = `${c}
241
+ 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}
242
242
 
243
243
  I'm an AI assistant trained on documentation, help articles, and other content.`, l = d ? `
244
244
 
@@ -261,8 +261,8 @@ const mn = F(
261
261
  }, Ft = i("div", {
262
262
  _id: "aiChatMessageLoading"
263
263
  }), In = (t) => {
264
- const { isLoading: e, isStreaming: a, messages: s } = g(), { message: r } = _();
265
- return !(s.at(-1)?.id === r?.id) || r.role !== "assistant" || !e || a ? null : /* @__PURE__ */ n(Ft, { children: "Thinking...", ...t });
264
+ const { isLoading: e, isStreaming: a, messages: s } = g(), { message: o } = _();
265
+ return !(s.at(-1)?.id === o?.id) || o.role !== "assistant" || !e || a ? null : /* @__PURE__ */ n(Ft, { children: "Thinking...", ...t });
266
266
  }, Mt = i("div", {
267
267
  _id: "aiChatMessageAvatar"
268
268
  }), fn = (t) => {
@@ -300,19 +300,19 @@ const mn = F(
300
300
  (t) => {
301
301
  const { onLoadingStatusChange: e, ...a } = t, {
302
302
  aiChatSettings: s,
303
- baseSettings: { userProperties: r }
304
- } = u(), { message: o } = _(), { aiAssistantAvatar: c } = s ?? {}, d = typeof c == "string" ? c : c?.light, m = (typeof c == "string" ? c : c?.dark) ?? d, l = ze(d, m), [C, p] = fe(l);
303
+ baseSettings: { userProperties: o }
304
+ } = 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);
305
305
  be(() => {
306
306
  p(l);
307
307
  }, [l]);
308
308
  const P = (T) => {
309
309
  T === "error" && p(null);
310
310
  };
311
- return o.role === "user" ? r.name ? null : s.userAvatar ? /* @__PURE__ */ n(
311
+ return r.role === "user" ? o.name ? null : s.userAvatar ? /* @__PURE__ */ n(
312
312
  ge,
313
313
  {
314
314
  "data-type": "image",
315
- "data-role": o.role,
315
+ "data-role": r.role,
316
316
  src: s.userAvatar,
317
317
  ...t
318
318
  }
@@ -320,7 +320,7 @@ const mn = F(
320
320
  Te,
321
321
  {
322
322
  "data-type": "icon",
323
- "data-role": o.role,
323
+ "data-role": r.role,
324
324
  ...t
325
325
  }
326
326
  ) : C ? /* @__PURE__ */ n(
@@ -328,7 +328,7 @@ const mn = F(
328
328
  {
329
329
  src: C,
330
330
  "data-type": "image",
331
- "data-role": o.role,
331
+ "data-role": r.role,
332
332
  onLoadingStatusChange: h(
333
333
  e,
334
334
  P
@@ -339,7 +339,7 @@ const mn = F(
339
339
  Be,
340
340
  {
341
341
  "data-type": "icon",
342
- "data-role": o.role,
342
+ "data-role": r.role,
343
343
  ...t
344
344
  }
345
345
  );
@@ -374,17 +374,17 @@ const mn = F(
374
374
  }, Tt = i("div", {
375
375
  _id: "aiChatMessageAttachments__List"
376
376
  }), Hn = (t) => {
377
- const { children: e, ...a } = t, { message: s } = _(), r = s.metadata?.attributes?.attachments;
378
- return r ? /* @__PURE__ */ n(Tt, { children: I(e, r), ...a }) : null;
377
+ const { children: e, ...a } = t, { message: s } = _(), o = s.metadata?.attributes?.attachments;
378
+ return o ? /* @__PURE__ */ n(Tt, { children: I(e, o), ...a }) : null;
379
379
  }, yt = i("div", {
380
380
  _id: "aiChatMessageAttachments__Item"
381
381
  }), Ln = (t) => {
382
- const { attachment: e, onClick: a, ...s } = t, { selectItem: r, onOpen: o } = z();
382
+ const { attachment: e, onClick: a, ...s } = t, { selectItem: o, onOpen: r } = z();
383
383
  return /* @__PURE__ */ n(Ae, { attachment: e, children: /* @__PURE__ */ n(
384
384
  yt,
385
385
  {
386
386
  onClick: h(a, () => {
387
- r(e), o();
387
+ o(e), r();
388
388
  }),
389
389
  ...s
390
390
  }
@@ -402,13 +402,13 @@ const mn = F(
402
402
  }, Lt = i(ce, {
403
403
  _id: "aiChatMessageAttachmentsPreview"
404
404
  }), On = (t) => {
405
- const { onOpenChange: e, ...a } = t, { selectItem: s, isOpen: r, onClose: o, selectedItem: c } = z();
405
+ const { onOpenChange: e, ...a } = t, { selectItem: s, isOpen: o, onClose: r, selectedItem: c } = z();
406
406
  return /* @__PURE__ */ n(
407
407
  Lt,
408
408
  {
409
- open: r && c !== null,
409
+ open: o && c !== null,
410
410
  onOpenChange: h(e, (m) => {
411
- m || (o(), s(null));
411
+ m || (r(), s(null));
412
412
  }),
413
413
  ...a
414
414
  }
@@ -418,7 +418,7 @@ const mn = F(
418
418
  }), Qn = i(se, {
419
419
  _id: "aiChatMessageAttachmentsPreview__Content",
420
420
  "aria-describedby": void 0
421
- }), Dt = i(oe, {
421
+ }), Dt = i(re, {
422
422
  _id: "aiChatMessageAttachmentsPreview__Header"
423
423
  }), Nn = (t) => {
424
424
  const { selectedItem: e } = z();
@@ -429,7 +429,7 @@ const mn = F(
429
429
  ...t
430
430
  }
431
431
  );
432
- }, Rn = i(re, {
432
+ }, Rn = i(oe, {
433
433
  _id: "aiChatMessageAttachmentsPreview__Close",
434
434
  children: /* @__PURE__ */ n(A, { iconKey: "close" })
435
435
  }), xt = i("p", {
@@ -440,15 +440,15 @@ const mn = F(
440
440
  }, _e = i("div", {
441
441
  _id: "aiChatMessage"
442
442
  }), Vn = (t) => {
443
- const { aiChatSettings: e } = u(), { componentStyles: a, ...s } = t, { message: r } = _(), { logEvent: o } = G(), c = le(r), { conversation: d } = j();
444
- return r.role === "user" ? /* @__PURE__ */ n(_e, { "data-role": r.role, children: c, ...s }) : /* @__PURE__ */ n(_e, { "data-role": r.role, ...s, children: /* @__PURE__ */ n(
443
+ const { aiChatSettings: e } = u(), { componentStyles: a, ...s } = t, { message: o } = _(), { logEvent: r } = G(), c = le(o), { conversation: d } = j();
444
+ 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(
445
445
  q,
446
446
  {
447
447
  children: c,
448
448
  componentStyles: a,
449
449
  shouldOpenLinksInNewTab: e.shouldOpenLinksInNewTab,
450
450
  onLinkClick: (m, l) => {
451
- o({
451
+ r({
452
452
  eventName: "assistant_message_inline_link_opened",
453
453
  properties: {
454
454
  title: l?.toString(),
@@ -457,7 +457,7 @@ const mn = F(
457
457
  });
458
458
  },
459
459
  onCodeCopy: (m, l) => {
460
- o({
460
+ r({
461
461
  eventName: "assistant_code_block_copied",
462
462
  properties: {
463
463
  conversation: d,
@@ -476,11 +476,11 @@ const mn = F(
476
476
  }, Wt = i("div", {
477
477
  _id: "aiChatMessageToolActions"
478
478
  }), Kn = (t) => {
479
- const { children: e, ...a } = t, { message: s } = _(), { messageToolCalls: r } = g(), o = r[s.id] || [];
480
- return /* @__PURE__ */ n(Wt, { children: I(e, o), ...a });
479
+ const { children: e, ...a } = t, { message: s } = _(), { messageToolCalls: o } = g(), r = o[s.id] || [];
480
+ return /* @__PURE__ */ n(Wt, { children: I(e, r), ...a });
481
481
  }, qn = (t) => {
482
- const { onClick: e, action: a, ...s } = t, { handleAction: r } = he(a), o = () => {
483
- r();
482
+ const { onClick: e, action: a, ...s } = t, { handleAction: o } = he(a), r = () => {
483
+ o();
484
484
  }, c = a.label || "Contact Support", d = /* @__PURE__ */ R(te, { children: [
485
485
  a.icon && /* @__PURE__ */ n(B, { iconSettings: a.icon }),
486
486
  c
@@ -493,13 +493,13 @@ const mn = F(
493
493
  target: "_blank",
494
494
  rel: "noopener"
495
495
  },
496
- onClick: h(e, o)
496
+ onClick: h(e, r)
497
497
  });
498
498
  return /* @__PURE__ */ n(l, { ...s });
499
499
  }, Qt = i("button", {
500
500
  _id: "aiChatMessageAction"
501
501
  }), jn = (t) => {
502
- const { action: e, onClick: a, className: s, ...r } = t, { conversation: o } = j(), { message: c } = _(), { isStreaming: d, messages: m } = g(), [l, C] = ee(), { feedback: p, submitPositiveFeedback: P, setCurrentFeedback: T, currentFeedback: O } = de(), { logEvent: Y } = G(), [W, J] = Re(), {
502
+ const { action: e, onClick: a, className: s, ...o } = t, { conversation: r } = j(), { message: c } = _(), { isStreaming: d, messages: m } = g(), [l, C] = ee(), { feedback: p, submitPositiveFeedback: P, setCurrentFeedback: T, currentFeedback: O } = de(), { logEvent: Y } = G(), [W, J] = Re(), {
503
503
  baseSettings: { privacyPreferences: Ce }
504
504
  } = u(), { optOutAllAnalytics: X } = Ce, pe = m.at(-1)?.id === c?.id, Z = c.role === "assistant";
505
505
  if (pe && d || !Z || {
@@ -512,7 +512,7 @@ const mn = F(
512
512
  C(le(c)), Y({
513
513
  eventName: "assistant_message_copied",
514
514
  properties: {
515
- conversation: o
515
+ conversation: r
516
516
  }
517
517
  });
518
518
  },
@@ -551,7 +551,7 @@ const mn = F(
551
551
  "aria-label": L[e],
552
552
  className: `${s} ${e}`,
553
553
  onClick: h(a, y[e]),
554
- ...r
554
+ ...o
555
555
  }
556
556
  );
557
557
  }, Nt = i("div", {
@@ -565,16 +565,16 @@ const mn = F(
565
565
  _id: "aiChatMessageSources__List"
566
566
  }), Yn = (t) => {
567
567
  const { message: e } = _(), { children: a, ...s } = t, {
568
- baseSettings: { transformSource: r, organizationDisplayName: o },
568
+ baseSettings: { transformSource: o, organizationDisplayName: r },
569
569
  aiChatSettings: { shouldOpenLinksInNewTab: c },
570
570
  searchSettings: { tabs: d }
571
571
  } = u();
572
572
  if (e.role !== "assistant") return null;
573
573
  const m = e.links.map((l) => {
574
574
  const C = Xe(l, "chatSourceItem", {
575
- organizationDisplayName: o,
575
+ organizationDisplayName: r,
576
576
  tabs: d,
577
- transformSource: r
577
+ transformSource: o
578
578
  }), p = c || C.shouldOpenInNewTab;
579
579
  return { ...C, isExternal: p };
580
580
  });
@@ -582,11 +582,11 @@ const mn = F(
582
582
  }, Vt = i(ye, {
583
583
  _id: "aiChatMessageSourceItem"
584
584
  }), Jn = (t) => {
585
- const { source: e, onClick: a, ...s } = t, { logEvent: r } = G(), { conversation: o } = j(), c = () => {
586
- r({
585
+ const { source: e, onClick: a, ...s } = t, { logEvent: o } = G(), { conversation: r } = j(), c = () => {
586
+ o({
587
587
  eventName: "assistant_source_item_clicked",
588
588
  properties: {
589
- conversation: o,
589
+ conversation: r,
590
590
  link: e
591
591
  }
592
592
  });
@@ -628,12 +628,12 @@ const mn = F(
628
628
  }, Gt = i("span", {
629
629
  _id: "aiChatMessageSourceItem__Description"
630
630
  }), as = (t) => {
631
- const { source: e } = w(), { children: a, ...s } = t, r = Se(() => e.description ? Ge(e.description) : [], [e.description]);
632
- return r.length ? /* @__PURE__ */ n(
631
+ const { source: e } = w(), { children: a, ...s } = t, o = Se(() => e.description ? Ge(e.description) : [], [e.description]);
632
+ return o.length ? /* @__PURE__ */ n(
633
633
  Gt,
634
634
  {
635
635
  "data-type": e.type,
636
- children: I(a, r),
636
+ children: I(a, o),
637
637
  ...s
638
638
  }
639
639
  ) : null;
@@ -661,16 +661,16 @@ const mn = F(
661
661
  ...t
662
662
  }
663
663
  );
664
- }, rs = i("div", {
664
+ }, os = i("div", {
665
665
  _id: "aiChatFooter"
666
- }), os = i("div", {
666
+ }), rs = i("div", {
667
667
  _id: "aiChatInput__Fieldset"
668
668
  }), cs = i("div", {
669
669
  _id: "aiChatInput__Group"
670
670
  }), Jt = i("textarea", {
671
671
  _id: "aiChatInput"
672
672
  }), ds = $(({ onChange: t, onKeyDown: e, ...a }, s) => {
673
- const { handleInputChange: r, handleInputKeyDown: o, input: c, error: d, shouldAutoFocusInput: m, inputRef: l } = g(), { aiChatSettings: C } = u(), p = ue(
673
+ const { handleInputChange: o, handleInputKeyDown: r, input: c, error: d, shouldAutoFocusInput: m, inputRef: l } = g(), { aiChatSettings: C } = u(), p = ue(
674
674
  s,
675
675
  l
676
676
  ), P = Fe();
@@ -686,8 +686,8 @@ const mn = F(
686
686
  maxLength: 99999,
687
687
  placeholder: C.placeholder,
688
688
  value: c,
689
- onChange: h(t, r),
690
- onKeyDown: h(e, o),
689
+ onChange: h(t, o),
690
+ onKeyDown: h(e, r),
691
691
  disabled: !!d || C.isViewOnly,
692
692
  ...a,
693
693
  children: /* @__PURE__ */ n(ie, {})
@@ -696,13 +696,13 @@ const mn = F(
696
696
  }), Xt = i("button", {
697
697
  _id: "aiChatInput__SendButton"
698
698
  }), ms = (t) => {
699
- const { handleSubmit: e, isSubmitDisabled: a, error: s } = g(), { aiChatSettings: r } = u(), { onClick: o, ...c } = t;
699
+ const { handleSubmit: e, isSubmitDisabled: a, error: s } = g(), { aiChatSettings: o } = u(), { onClick: r, ...c } = t;
700
700
  return /* @__PURE__ */ n(
701
701
  Xt,
702
702
  {
703
- onClick: h(o, () => e()),
703
+ onClick: h(r, () => e()),
704
704
  "aria-label": "Send message",
705
- disabled: a || !!s || r.isViewOnly,
705
+ disabled: a || !!s || o.isViewOnly,
706
706
  ...c
707
707
  }
708
708
  );
@@ -737,14 +737,14 @@ const mn = F(
737
737
  }, ni = i("button", {
738
738
  _id: "aiChatAttachmentsBar__AttachmentDelete"
739
739
  }), gs = (t) => {
740
- const { onClick: e, ...a } = t, { attachment: s } = x(), { setMessageAttachments: r } = g();
740
+ const { onClick: e, ...a } = t, { attachment: s } = x(), { setMessageAttachments: o } = g();
741
741
  return /* @__PURE__ */ n(
742
742
  ni,
743
743
  {
744
744
  "aria-label": "Remove attachment",
745
745
  children: /* @__PURE__ */ n(A, { iconKey: "close" }),
746
746
  onClick: h(e, () => {
747
- r((c) => c.filter((d) => d.id !== s.id));
747
+ o((c) => c.filter((d) => d.id !== s.id));
748
748
  }),
749
749
  ...a
750
750
  }
@@ -768,27 +768,27 @@ const mn = F(
768
768
  /* @__PURE__ */ n(si, {}),
769
769
  "Attachments will be kept in context for the entire conversation."
770
770
  ] })
771
- }), ri = i("div", {
771
+ }), oi = i("div", {
772
772
  _id: "aiChatAttachmentsBar__Inputs"
773
773
  }), Fs = (t) => {
774
774
  const { children: e, ...a } = t, { selectedWorkflow: s } = g();
775
775
  return s?.supportedInputs ? /* @__PURE__ */ n(
776
- ri,
776
+ oi,
777
777
  {
778
778
  children: I(e, s.supportedInputs),
779
779
  ...a
780
780
  }
781
781
  ) : null;
782
- }, oi = i("button", {
782
+ }, ri = i("button", {
783
783
  _id: "aiChatAttachmentsBar__Input"
784
784
  }), Ms = (t) => {
785
- const { input: e, onClick: a, ...s } = t, { selectedWorkflow: r, messageAttachments: o, setMessageAttachments: c } = g(), { selectInput: d, onOpen: m } = M(), l = () => {
785
+ const { input: e, onClick: a, ...s } = t, { selectedWorkflow: o, messageAttachments: r, setMessageAttachments: c } = g(), { selectInput: d, onOpen: m } = M(), l = () => {
786
786
  if (e.type === "FUNCTIONAL_MULTI_ATTACHMENT")
787
- return r ? e.onInvoke(r, e, c, [...o]) : void 0;
787
+ return o ? e.onInvoke(o, e, c, [...r]) : void 0;
788
788
  d(e), m();
789
789
  };
790
790
  return /* @__PURE__ */ n(
791
- oi,
791
+ ri,
792
792
  {
793
793
  children: e.displayName,
794
794
  onClick: h(a, l),
@@ -800,13 +800,13 @@ const mn = F(
800
800
  }), ci = i(ce, {
801
801
  _id: "aiChatAttachmentsBar__Modal"
802
802
  }), fs = (t) => {
803
- const { onOpenChange: e, ...a } = t, { selectInput: s, isOpen: r, onClose: o, selectedInput: c } = M();
803
+ const { onOpenChange: e, ...a } = t, { selectInput: s, isOpen: o, onClose: r, selectedInput: c } = M();
804
804
  return /* @__PURE__ */ n(
805
805
  ci,
806
806
  {
807
- open: r && c !== null,
807
+ open: o && c !== null,
808
808
  onOpenChange: h(e, (m) => {
809
- m || (o(), s(null));
809
+ m || (r(), s(null));
810
810
  }),
811
811
  ...a
812
812
  }
@@ -818,7 +818,7 @@ const mn = F(
818
818
  "aria-describedby": void 0
819
819
  }), Es = i("div", {
820
820
  _id: "aiChatAttachmentsBar__ModalHeader"
821
- }), di = i(oe, {
821
+ }), di = i(re, {
822
822
  _id: "aiChatAttachmentsBar__ModalHeading"
823
823
  }), Bs = (t) => {
824
824
  const { selectedInput: e } = M(), a = `Add ${e?.displayName}`;
@@ -831,9 +831,9 @@ const mn = F(
831
831
  }, li = i("div", {
832
832
  _id: "aiChatAttachmentsBar__ModalHelp"
833
833
  }), ys = (t) => {
834
- const { children: e, ...a } = t, { selectedInput: s } = M(), r = s?.workflowModalProps?.modalHelpElement;
835
- return r ? /* @__PURE__ */ n(li, { asChild: !e, children: e || r, ...a }) : null;
836
- }, ws = i(re, {
834
+ const { children: e, ...a } = t, { selectedInput: s } = M(), o = s?.workflowModalProps?.modalHelpElement;
835
+ return o ? /* @__PURE__ */ n(li, { asChild: !e, children: e || o, ...a }) : null;
836
+ }, ws = i(oe, {
837
837
  _id: "aiChatAttachmentsBar__ModalClose",
838
838
  children: /* @__PURE__ */ n(A, { iconKey: "close" })
839
839
  }), Hs = i("div", {
@@ -867,13 +867,13 @@ const mn = F(
867
867
  }, Ci = i("input", {
868
868
  _id: "aiChatAttachmentsBar__FormTitleInput"
869
869
  }), Os = (t) => {
870
- const { onChange: e, ...a } = t, { form: s, selectedInput: r } = M();
870
+ const { onChange: e, ...a } = t, { form: s, selectedInput: o } = M();
871
871
  return /* @__PURE__ */ n(
872
872
  Ci,
873
873
  {
874
874
  name: "title",
875
875
  value: s.data.title,
876
- id: `${r?.id}-title`,
876
+ id: `${o?.id}-title`,
877
877
  "data-invalid": v(!!s.errors.title),
878
878
  "aria-invalid": !!s.errors.title,
879
879
  onChange: h(e, s.onChange),
@@ -910,7 +910,7 @@ const mn = F(
910
910
  }, gi = i("textarea", {
911
911
  _id: "aiChatAttachmentsBar__FormTitleInput"
912
912
  }), Rs = (t) => {
913
- const { onChange: e, ...a } = t, { form: s, selectedInput: r } = M();
913
+ const { onChange: e, ...a } = t, { form: s, selectedInput: o } = M();
914
914
  return /* @__PURE__ */ n(
915
915
  gi,
916
916
  {
@@ -918,7 +918,7 @@ const mn = F(
918
918
  rows: 4,
919
919
  name: "content",
920
920
  value: s.data.content,
921
- id: `${r?.id}-content`,
921
+ id: `${o?.id}-content`,
922
922
  "data-invalid": v(!!s.errors.content),
923
923
  "aria-invalid": !!s.errors.content,
924
924
  onChange: h(e, s.onChange),
@@ -962,7 +962,7 @@ const mn = F(
962
962
  }), bi = i("div", {
963
963
  _id: "aiChat__ChatAction"
964
964
  }), Me = (t) => {
965
- const { action: e, onClick: a, className: s, ...r } = t, { clear: o, stop: c, isLoading: d, messages: m, selectedWorkflow: l } = g(), { conversation: C } = j(), { aiChatSettings: p, baseSettings: P } = u(), { logEvent: T } = G(), [O, Y] = ee(), [W, J] = ee();
965
+ const { action: e, onClick: a, className: s, ...o } = t, { clear: r, stop: c, isLoading: d, messages: m, selectedWorkflow: l } = g(), { conversation: C } = j(), { aiChatSettings: p, baseSettings: P } = u(), { logEvent: T } = G(), [O, Y] = ee(), [W, J] = ee();
966
966
  if ({
967
967
  help: !1,
968
968
  copy: m.length === 0 || !p.isCopyChatButtonVisible || d,
@@ -1020,7 +1020,7 @@ ${S}${N}`;
1020
1020
  });
1021
1021
  }
1022
1022
  },
1023
- clear: o,
1023
+ clear: r,
1024
1024
  stop: c
1025
1025
  }, ve = {
1026
1026
  copy: O,
@@ -1034,44 +1034,44 @@ ${S}${N}`;
1034
1034
  className: `${s} ${e}`,
1035
1035
  children: /* @__PURE__ */ n(Pi, { action: e }),
1036
1036
  onClick: h(a, Z[e]),
1037
- ...r
1037
+ ...o
1038
1038
  }
1039
1039
  ) });
1040
1040
  }, Ai = i(E.Trigger, {
1041
1041
  _id: "aiChat__ChatActionLabel"
1042
1042
  }), Pi = (t) => {
1043
- const { action: e, ...a } = t, { aiChatSettings: s } = u(), r = s.toolbarButtonLabels ?? {}, o = {
1044
- help: r.getHelp ?? "Get Help",
1045
- copy: r.copyChat ?? "Copy",
1046
- share: r.share ?? "Share",
1047
- clear: r.clear ?? "Clear",
1048
- stop: r.stop ?? "Stop"
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"
1049
1049
  };
1050
- return /* @__PURE__ */ n(Ai, { children: o[e], ...a });
1050
+ return /* @__PURE__ */ n(Ai, { children: r[e], ...a });
1051
1051
  }, Fi = i(E.TooltipContent, {
1052
1052
  _id: "aiChat__ChatActionFeeback"
1053
1053
  }), Ys = (t) => {
1054
- const { action: e, children: a, ...s } = t, r = {
1054
+ const { action: e, children: a, ...s } = t, o = {
1055
1055
  copy: "Copied!",
1056
1056
  share: "Link copied!"
1057
1057
  };
1058
1058
  return /* @__PURE__ */ R(Fi, { sideOffset: 5, ...s, children: [
1059
1059
  /* @__PURE__ */ n(E.Arrow, {}),
1060
- a || r[e]
1060
+ a || o[e]
1061
1061
  ] });
1062
1062
  }, Mi = i(U.Root, {
1063
1063
  _id: "aiChatHelpActions"
1064
1064
  }), Js = (t) => {
1065
- const { children: e, ...a } = t, { aiChatSettings: s } = u(), { getHelpOptions: r } = s;
1066
- if (!r || (r ?? []).length === 0)
1065
+ const { children: e, ...a } = t, { aiChatSettings: s } = u(), { getHelpOptions: o } = s;
1066
+ if (!o || (o ?? []).length === 0)
1067
1067
  return null;
1068
- const { _pinned: o, _unpinned: c } = r.reduce(
1068
+ const { _pinned: r, _unpinned: c } = o.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 ? [...o, c[0]] : o, m = c.length === 1 ? [] : c, l = Ve();
1074
+ ), d = c.length === 1 ? [...r, c[0]] : r, m = c.length === 1 ? [] : c, l = Ve();
1075
1075
  return /* @__PURE__ */ n(Ue, { value: l, children: /* @__PURE__ */ n(
1076
1076
  Mi,
1077
1077
  {
@@ -1082,19 +1082,19 @@ ${S}${N}`;
1082
1082
  }
1083
1083
  ) });
1084
1084
  }, Ii = i(Me, {
1085
- _id: "aiChatHelpAction"
1085
+ _id: "aiChatHelpAction",
1086
+ action: "help"
1086
1087
  }), Xs = (t) => {
1087
- const { action: e, onClick: a, ...s } = t, { handleAction: r, logHelpAction: o } = he(e), c = e.action.type, d = c === "open_link" ? /* @__PURE__ */ n("a", { href: e.action.url, target: "_blank", rel: "noreferrer", children: e.name }) : e.name;
1088
+ const { action: e, onClick: a, ...s } = t, { handleAction: o, logHelpAction: r } = he(e), c = e.action.type, d = c === "open_link", m = c === "open_link" ? /* @__PURE__ */ n("a", { href: e.action.url, target: "_blank", rel: "noreferrer", children: e.name }) : e.name;
1088
1089
  return /* @__PURE__ */ n(
1089
1090
  Ii,
1090
1091
  {
1091
- action: "help",
1092
1092
  "aria-label": e.name,
1093
1093
  "data-name": e.name,
1094
- children: d,
1095
- asChild: c === "open_link",
1094
+ children: m,
1095
+ asChild: d,
1096
1096
  onClick: h(a, () => {
1097
- r(), o();
1097
+ o(), r();
1098
1098
  }),
1099
1099
  ...s
1100
1100
  }
@@ -1108,7 +1108,7 @@ ${S}${N}`;
1108
1108
  }
1109
1109
  ), Si = i(U.Content, {
1110
1110
  _id: "aiChatHelpActions__Menu"
1111
- }), er = (t) => /* @__PURE__ */ n(
1111
+ }), eo = (t) => /* @__PURE__ */ n(
1112
1112
  Si,
1113
1113
  {
1114
1114
  side: "top",
@@ -1117,13 +1117,13 @@ ${S}${N}`;
1117
1117
  alignOffset: -10,
1118
1118
  ...t
1119
1119
  }
1120
- ), tr = i(U.Arrow, {
1120
+ ), to = i(U.Arrow, {
1121
1121
  _id: "aiChatHelpActions__MenuArrow"
1122
- }), ir = (t) => {
1123
- const { action: e, onClick: a, ...s } = t, { handleAction: r, logHelpAction: o } = he(e), { setOpen: c } = Ke(), d = () => {
1124
- r({
1122
+ }), io = (t) => {
1123
+ const { action: e, onClick: a, ...s } = t, { handleAction: o, logHelpAction: r } = he(e), { setOpen: c } = Ke(), d = () => {
1124
+ o({
1125
1125
  onOpenForm: () => c(!1)
1126
- }), o();
1126
+ }), r();
1127
1127
  }, m = e.action.type, l = i(m === "open_link" ? "a" : "button", {
1128
1128
  _id: "aiChatHelpActions__MenuItem",
1129
1129
  children: e.name,
@@ -1140,52 +1140,52 @@ ${S}${N}`;
1140
1140
  return /* @__PURE__ */ n(l, { ...s });
1141
1141
  }, ki = i(B, {
1142
1142
  _id: "aiChatHelpActions_MenuItemIcon"
1143
- }), ar = (t) => {
1143
+ }), ao = (t) => {
1144
1144
  const { action: e, ...a } = t;
1145
1145
  return e.icon ? /* @__PURE__ */ n(ki, { iconSettings: e.icon, ...a }) : null;
1146
1146
  }, Ei = i(ce, {
1147
1147
  _id: "aiChatFeedbackModal"
1148
- }), nr = (t) => {
1149
- const { onOpenChange: e, ...a } = t, { currentFeedback: s, setCurrentFeedback: r } = de();
1148
+ }), no = (t) => {
1149
+ const { onOpenChange: e, ...a } = t, { currentFeedback: s, setCurrentFeedback: o } = de();
1150
1150
  return /* @__PURE__ */ n(
1151
1151
  Ei,
1152
1152
  {
1153
1153
  open: s !== null,
1154
- onOpenChange: h(e, () => r(null)),
1154
+ onOpenChange: h(e, () => o(null)),
1155
1155
  ...a
1156
1156
  }
1157
1157
  );
1158
- }, sr = i(ne, {
1158
+ }, so = i(ne, {
1159
1159
  _id: "aiChatFeedbackModal__Overlay"
1160
- }), rr = i(se, {
1160
+ }), oo = i(se, {
1161
1161
  _id: "aiChatFeedbackModal__Content",
1162
1162
  "aria-describedby": void 0
1163
- }), or = i(oe, {
1163
+ }), ro = i(re, {
1164
1164
  _id: "aiChatFeedbackModal__Header",
1165
1165
  children: "Help improve my answers!"
1166
- }), cr = i(re, {
1166
+ }), co = i(oe, {
1167
1167
  _id: "aiChatFeedbackModal__Close",
1168
1168
  children: /* @__PURE__ */ n(A, { iconKey: "close" })
1169
- }), dr = i("div", {
1169
+ }), mo = i("div", {
1170
1170
  _id: "aiChatFeedbackModal__Body"
1171
1171
  }), Bi = i("form", {
1172
1172
  _id: "aiChatFeedbackForm"
1173
- }), mr = (t) => {
1174
- const { onSubmit: e, ...a } = t, { submitNegativeFeedback: s, currentFeedback: r, setCurrentFeedback: o } = de();
1173
+ }), lo = (t) => {
1174
+ const { onSubmit: e, ...a } = t, { submitNegativeFeedback: s, currentFeedback: o, setCurrentFeedback: r } = de();
1175
1175
  return /* @__PURE__ */ n(Bi, { onSubmit: h(e, (d) => {
1176
1176
  d.preventDefault();
1177
1177
  const m = d.target, l = new FormData(m), C = Object.fromEntries(l.entries());
1178
- r && (s(r, C), o(null));
1178
+ o && (s(o, C), r(null));
1179
1179
  }), ...a });
1180
1180
  }, Ti = i("div", {
1181
1181
  _id: "aiChatFeedbackItem"
1182
- }), lr = (t) => {
1182
+ }), ho = (t) => {
1183
1183
  const { name: e, ...a } = t;
1184
1184
  return /* @__PURE__ */ n(Oe, { name: e, children: /* @__PURE__ */ n(Ti, { ...a }) });
1185
1185
  }, yi = i(V.Root, {
1186
1186
  _id: "aiChatFeedbackItem__Checkbox"
1187
- }), hr = (t) => {
1188
- const { name: e, focusItem: a } = me(), { onCheckedChange: s, ...r } = t, o = (c) => {
1187
+ }), uo = (t) => {
1188
+ const { name: e, focusItem: a } = me(), { onCheckedChange: s, ...o } = t, r = (c) => {
1189
1189
  c && a?.current?.focus();
1190
1190
  };
1191
1191
  return /* @__PURE__ */ n(
@@ -1193,16 +1193,16 @@ ${S}${N}`;
1193
1193
  {
1194
1194
  id: `feedback-${e}`,
1195
1195
  name: e,
1196
- onCheckedChange: h(s, o),
1197
- ...r
1196
+ onCheckedChange: h(s, r),
1197
+ ...o
1198
1198
  }
1199
1199
  );
1200
- }, ur = i(V.Indicator, {
1200
+ }, Co = i(V.Indicator, {
1201
1201
  _id: "aiChatFeedbackItem__CheckboxIndicator",
1202
1202
  children: /* @__PURE__ */ n(Pe, {})
1203
1203
  }), wi = i("label", {
1204
1204
  _id: "aiChatFeedbackItem__Label"
1205
- }), Cr = (t) => {
1205
+ }), po = (t) => {
1206
1206
  const { name: e } = me(), a = {
1207
1207
  unrelated_response: "Didn't answer my question",
1208
1208
  inaccurate_statement: "Inaccurate statement",
@@ -1213,7 +1213,7 @@ ${S}${N}`;
1213
1213
  }, Hi = i("textarea", {
1214
1214
  _id: "aiChatFeedbackItem__Description",
1215
1215
  placeholder: "Please describe"
1216
- }), pr = (t) => {
1216
+ }), vo = (t) => {
1217
1217
  const { name: e, focusItem: a } = me();
1218
1218
  return /* @__PURE__ */ n(
1219
1219
  Hi,
@@ -1223,59 +1223,59 @@ ${S}${N}`;
1223
1223
  ...t
1224
1224
  }
1225
1225
  );
1226
- }, vr = i("button", {
1226
+ }, go = i("button", {
1227
1227
  _id: "aiChatFeedbackForm__SubmitButton",
1228
1228
  children: "Submit",
1229
1229
  type: "submit"
1230
1230
  }), Li = i("div", {
1231
1231
  _id: "aiChatForm__Wrapper"
1232
- }), gr = (t) => {
1232
+ }), _o = (t) => {
1233
1233
  const { form: e } = b();
1234
1234
  return e ? /* @__PURE__ */ n(Li, { ...t }) : null;
1235
1235
  }, Di = i("form", {
1236
1236
  _id: "aiChatForm"
1237
- }), _r = (t) => {
1238
- const { onSubmit: e, ...a } = t, { handleSubmit: s, isSuccess: r } = b();
1239
- return r ? null : /* @__PURE__ */ n(Di, { onSubmit: h(e, s), ...a });
1237
+ }), bo = (t) => {
1238
+ const { onSubmit: e, ...a } = t, { handleSubmit: s, isSuccess: o } = b();
1239
+ return o ? null : /* @__PURE__ */ n(Di, { onSubmit: h(e, s), ...a });
1240
1240
  }, xi = i("button", {
1241
1241
  _id: "aiChatForm__Close",
1242
1242
  children: /* @__PURE__ */ n(A, { iconKey: "close" })
1243
- }), br = (t) => {
1243
+ }), Ao = (t) => {
1244
1244
  const { onClick: e, ...a } = t, { closeForm: s } = b();
1245
1245
  return /* @__PURE__ */ n(xi, { onClick: h(e, s), ...a });
1246
- }, Ar = i("div", {
1246
+ }, Po = i("div", {
1247
1247
  _id: "aiChatForm__Header"
1248
1248
  }), Oi = i("h2", {
1249
1249
  _id: "aiChatForm__Heading"
1250
- }), Pr = (t) => {
1250
+ }), Fo = (t) => {
1251
1251
  const { form: e } = b();
1252
1252
  return e?.heading ? /* @__PURE__ */ n(Oi, { children: e.heading, ...t }) : null;
1253
1253
  }, Wi = i("span", {
1254
1254
  _id: "aiChatForm__Description"
1255
- }), Fr = (t) => {
1255
+ }), Mo = (t) => {
1256
1256
  const { form: e } = b();
1257
1257
  return e?.description ? /* @__PURE__ */ n(Wi, { children: e.description, ...t }) : null;
1258
1258
  }, Qi = i("div", {
1259
1259
  _id: "aiChatForm__Content"
1260
- }), Mr = (t) => {
1260
+ }), Io = (t) => {
1261
1261
  const { children: e, ...a } = t, { fields: s = [] } = b();
1262
1262
  return /* @__PURE__ */ n(Qi, { children: I(e, s), ...a });
1263
1263
  }, Ni = i("div", {
1264
1264
  _id: "aiChatForm__Field"
1265
- }), Ir = (t) => {
1266
- const { field: e, autoFocus: a, ...s } = t, { control: r, errors: o } = b();
1265
+ }), fo = (t) => {
1266
+ const { field: e, autoFocus: a, ...s } = t, { control: o, errors: r } = b();
1267
1267
  return /* @__PURE__ */ n(
1268
1268
  je,
1269
1269
  {
1270
1270
  name: e.name,
1271
- control: r,
1271
+ control: o,
1272
1272
  rules: { required: e.isRequired ? `${e.label} is required.` : void 0 },
1273
1273
  render: ({ field: c }) => {
1274
1274
  const d = c.value !== void 0 || e.inputType === "file";
1275
1275
  return /* @__PURE__ */ n(
1276
1276
  qe,
1277
1277
  {
1278
- "data-invalid": v(!!o[e.name]),
1278
+ "data-invalid": v(!!r[e.name]),
1279
1279
  field: e,
1280
1280
  fieldProps: c,
1281
1281
  autoFocus: a,
@@ -1294,7 +1294,7 @@ ${S}${N}`;
1294
1294
  );
1295
1295
  }, Ri = i("label", {
1296
1296
  _id: "aiChatForm__FieldLabel"
1297
- }), fr = (t) => {
1297
+ }), So = (t) => {
1298
1298
  const { field: e } = H();
1299
1299
  return /* @__PURE__ */ n(
1300
1300
  Ri,
@@ -1312,7 +1312,7 @@ ${S}${N}`;
1312
1312
  const {
1313
1313
  field: e,
1314
1314
  error: a,
1315
- fieldProps: { onChange: s, onBlur: r, ...o },
1315
+ fieldProps: { onChange: s, onBlur: o, ...r },
1316
1316
  autoFocus: c
1317
1317
  } = H(), { onChange: d, onBlur: m, ...l } = t;
1318
1318
  return /* @__PURE__ */ n(
@@ -1323,27 +1323,27 @@ ${S}${N}`;
1323
1323
  placeholder: "placeholder" in e ? e.placeholder : void 0,
1324
1324
  "data-invalid": v(!!a),
1325
1325
  onChange: h(d, s),
1326
- onBlur: h(m, r),
1327
- ...o,
1326
+ onBlur: h(m, o),
1327
+ ...r,
1328
1328
  ...l
1329
1329
  }
1330
1330
  );
1331
- }, Sr = i(Ie, {
1331
+ }, ko = i(Ie, {
1332
1332
  _id: "aiChatForm__FieldEmail",
1333
1333
  type: "email"
1334
1334
  }), Vi = i("input", {
1335
1335
  _id: "aiChatForm__FieldFile",
1336
1336
  type: "file",
1337
1337
  multiple: !0
1338
- }), kr = (t) => {
1338
+ }), Eo = (t) => {
1339
1339
  const {
1340
1340
  field: e,
1341
1341
  error: a,
1342
- fieldProps: { value: s, onChange: r, onBlur: o, ...c },
1342
+ fieldProps: { value: s, onChange: o, onBlur: r, ...c },
1343
1343
  autoFocus: d
1344
1344
  } = H(), { onChange: m, onBlur: l, ...C } = t, p = (P) => {
1345
1345
  const T = P.target.files;
1346
- r(T);
1346
+ o(T);
1347
1347
  };
1348
1348
  return /* @__PURE__ */ n(
1349
1349
  Vi,
@@ -1355,52 +1355,52 @@ ${S}${N}`;
1355
1355
  ...C,
1356
1356
  ...c,
1357
1357
  onChange: h(m, p),
1358
- onBlur: h(l, o)
1358
+ onBlur: h(l, r)
1359
1359
  }
1360
1360
  );
1361
- }, Er = i(Ie, {
1361
+ }, Bo = i(Ie, {
1362
1362
  _id: "aiChatForm__FieldTextArea",
1363
1363
  type: "textarea",
1364
1364
  asChild: !0,
1365
1365
  children: /* @__PURE__ */ n(ie, { maxRows: 8 })
1366
1366
  }), Ui = i(V.Root, {
1367
1367
  _id: "aiChatForm__FieldCheckbox"
1368
- }), Br = (t) => {
1369
- const { field: e, error: a, fieldProps: s, autoFocus: r } = H(), { onCheckedChange: o, ...c } = t;
1368
+ }), To = (t) => {
1369
+ const { field: e, error: a, fieldProps: s, autoFocus: o } = H(), { onCheckedChange: r, ...c } = t;
1370
1370
  return /* @__PURE__ */ n(
1371
1371
  Ui,
1372
1372
  {
1373
1373
  id: e.name,
1374
1374
  name: e.name,
1375
- autoFocus: r,
1375
+ autoFocus: o,
1376
1376
  "data-invalid": v(!!a),
1377
1377
  checked: s.value,
1378
- onCheckedChange: h(o, s.onChange),
1378
+ onCheckedChange: h(r, s.onChange),
1379
1379
  ...c
1380
1380
  }
1381
1381
  );
1382
- }, Tr = i(V.Indicator, {
1382
+ }, yo = i(V.Indicator, {
1383
1383
  _id: "aiChatForm__FieldCheckboxIndicator",
1384
1384
  children: /* @__PURE__ */ n(Pe, {})
1385
1385
  }), Ki = i(f.Root, {
1386
1386
  _id: "aiChatForm__FieldSelect"
1387
- }), yr = (t) => {
1388
- const { field: e, error: a, fieldProps: s } = H(), { onValueChange: r, ...o } = t;
1387
+ }), wo = (t) => {
1388
+ const { field: e, error: a, fieldProps: s } = H(), { onValueChange: o, ...r } = t;
1389
1389
  return /* @__PURE__ */ n(
1390
1390
  Ki,
1391
1391
  {
1392
1392
  name: e.name,
1393
1393
  "data-invalid": v(!!a),
1394
1394
  value: s.value,
1395
- onValueChange: h(r, s.onChange),
1396
- ...o
1395
+ onValueChange: h(o, s.onChange),
1396
+ ...r
1397
1397
  }
1398
1398
  );
1399
- }, wr = i(f.Trigger, {
1399
+ }, Ho = i(f.Trigger, {
1400
1400
  _id: "aiChatForm__FieldSelect__Trigger"
1401
1401
  }), qi = i(f.Value, {
1402
1402
  _id: "aiChatForm__FieldSelect__Value"
1403
- }), Hr = (t) => {
1403
+ }), Lo = (t) => {
1404
1404
  const { field: e } = H();
1405
1405
  return /* @__PURE__ */ n(
1406
1406
  qi,
@@ -1409,20 +1409,20 @@ ${S}${N}`;
1409
1409
  ...t
1410
1410
  }
1411
1411
  );
1412
- }, Lr = i(f.Icon, {
1412
+ }, Do = i(f.Icon, {
1413
1413
  _id: "aiChatForm__FieldSelect__Icon",
1414
1414
  asChild: !0,
1415
1415
  children: /* @__PURE__ */ n(B, { iconSettings: { builtIn: "LuChevronDown" } })
1416
- }), Dr = i(f.Content, {
1416
+ }), xo = i(f.Content, {
1417
1417
  _id: "aiChatForm__FieldSelect__Content",
1418
1418
  position: "popper"
1419
- }), xr = i(f.Viewport, {
1419
+ }), Oo = i(f.Viewport, {
1420
1420
  _id: "aiChatForm__FieldSelect__Viewport"
1421
- }), Or = i(f.Item, {
1421
+ }), Wo = i(f.Item, {
1422
1422
  _id: "aiChatForm__FieldSelect__Item"
1423
- }), Wr = i(f.ItemText, {
1423
+ }), Qo = i(f.ItemText, {
1424
1424
  _id: "aiChatForm__FieldSelect__ItemText"
1425
- }), Qr = i(
1425
+ }), No = i(
1426
1426
  f.ItemIndicator,
1427
1427
  {
1428
1428
  _id: "aiChatForm__FieldSelect__ItemIndicator",
@@ -1431,54 +1431,54 @@ ${S}${N}`;
1431
1431
  }
1432
1432
  ), ji = i("span", {
1433
1433
  _id: "aiChatForm__FieldError"
1434
- }), Nr = (t) => {
1434
+ }), Ro = (t) => {
1435
1435
  const { error: e } = H();
1436
1436
  return e ? /* @__PURE__ */ n(ji, { children: e.message?.toString(), ...t }) : null;
1437
1437
  }, Gi = i("span", {
1438
1438
  _id: "aiChatForm__Error"
1439
- }), Rr = (t) => {
1439
+ }), $o = (t) => {
1440
1440
  const { formError: e } = b();
1441
1441
  return e ? /* @__PURE__ */ n(Gi, { children: e.message, ...t }) : null;
1442
- }, $r = i("div", {
1442
+ }, Vo = i("div", {
1443
1443
  _id: "aiChatForm__Footer"
1444
1444
  }), zi = i("button", {
1445
1445
  _id: "aiChatForm__Cancel",
1446
1446
  children: "Cancel"
1447
- }), Vr = (t) => {
1447
+ }), Uo = (t) => {
1448
1448
  const { onClick: e, ...a } = t, { closeForm: s } = b();
1449
1449
  return /* @__PURE__ */ n(zi, { onClick: h(e, s), ...a });
1450
1450
  }, Yi = i("button", {
1451
1451
  _id: "aiChatForm__Submit",
1452
1452
  children: "Submit",
1453
1453
  type: "submit"
1454
- }), Ur = (t) => {
1454
+ }), Ko = (t) => {
1455
1455
  const { onClick: e, ...a } = t, { isSubmitting: s } = b();
1456
1456
  return /* @__PURE__ */ n(Yi, { disabled: s, ...a });
1457
1457
  }, Ji = i("div", {
1458
1458
  _id: "aiChatForm__Success"
1459
- }), Kr = (t) => {
1459
+ }), qo = (t) => {
1460
1460
  const { isSuccess: e } = b();
1461
1461
  return e ? /* @__PURE__ */ n(Ji, { ...t }) : null;
1462
1462
  }, Xi = i("h2", {
1463
1463
  _id: "aiChatForm__SuccessHeading"
1464
- }), qr = (t) => {
1464
+ }), jo = (t) => {
1465
1465
  const { form: e } = b();
1466
1466
  return /* @__PURE__ */ n(Xi, { children: e?.successView.heading, ...t });
1467
1467
  }, Zi = i(q, {
1468
1468
  _id: "aiChatForm__SuccessMessage"
1469
- }), jr = (t) => {
1469
+ }), Go = (t) => {
1470
1470
  const { form: e } = b();
1471
1471
  return /* @__PURE__ */ n(Zi, { children: e?.successView.message, ...t });
1472
1472
  }, ea = i("button", {
1473
1473
  _id: "aiChatForm__SuccessButton"
1474
- }), Gr = (t) => {
1475
- const { onClick: e, ...a } = t, { form: s, closeForm: r } = b(), o = s?.successView?.doneButton;
1476
- if (!o) return null;
1477
- const c = o.icon && /* @__PURE__ */ n(B, { iconSettings: o.icon }), d = o.label;
1474
+ }), zo = (t) => {
1475
+ const { onClick: e, ...a } = t, { form: s, closeForm: o } = b(), r = s?.successView?.doneButton;
1476
+ if (!r) return null;
1477
+ const c = r.icon && /* @__PURE__ */ n(B, { iconSettings: r.icon }), d = r.label;
1478
1478
  return /* @__PURE__ */ n(
1479
1479
  ea,
1480
1480
  {
1481
- onClick: h(e, r),
1481
+ onClick: h(e, o),
1482
1482
  children: /* @__PURE__ */ R(te, { children: [
1483
1483
  c,
1484
1484
  d
@@ -1534,10 +1534,10 @@ export {
1534
1534
  an as ContentScrollAreaThumb,
1535
1535
  en as ContentScrollAreaViewport,
1536
1536
  qa as ConversationLoading,
1537
- rn as Disclaimer,
1537
+ on as Disclaimer,
1538
1538
  ln as DisclaimerArrow,
1539
1539
  dn as DisclaimerContent,
1540
- on as DisclaimerLabel,
1540
+ rn as DisclaimerLabel,
1541
1541
  mn as DisclaimerText,
1542
1542
  cn as DisclaimerTrigger,
1543
1543
  Us as EmbeddedChatPrimitiveActionBar,
@@ -1586,68 +1586,68 @@ export {
1586
1586
  an as EmbeddedChatPrimitiveContentScrollAreaThumb,
1587
1587
  en as EmbeddedChatPrimitiveContentScrollAreaViewport,
1588
1588
  qa as EmbeddedChatPrimitiveConversationLoading,
1589
- rn as EmbeddedChatPrimitiveDisclaimer,
1589
+ on as EmbeddedChatPrimitiveDisclaimer,
1590
1590
  ln as EmbeddedChatPrimitiveDisclaimerArrow,
1591
1591
  dn as EmbeddedChatPrimitiveDisclaimerContent,
1592
- on as EmbeddedChatPrimitiveDisclaimerLabel,
1592
+ rn as EmbeddedChatPrimitiveDisclaimerLabel,
1593
1593
  mn as EmbeddedChatPrimitiveDisclaimerText,
1594
1594
  cn as EmbeddedChatPrimitiveDisclaimerTrigger,
1595
- mr as EmbeddedChatPrimitiveFeedbackForm,
1596
- lr as EmbeddedChatPrimitiveFeedbackItem,
1597
- hr as EmbeddedChatPrimitiveFeedbackItemCheckbox,
1598
- ur as EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator,
1599
- pr as EmbeddedChatPrimitiveFeedbackItemDescription,
1600
- Cr as EmbeddedChatPrimitiveFeedbackItemLabel,
1601
- nr as EmbeddedChatPrimitiveFeedbackModal,
1602
- dr as EmbeddedChatPrimitiveFeedbackModalBody,
1603
- cr as EmbeddedChatPrimitiveFeedbackModalClose,
1604
- rr as EmbeddedChatPrimitiveFeedbackModalContent,
1605
- or as EmbeddedChatPrimitiveFeedbackModalHeader,
1606
- sr as EmbeddedChatPrimitiveFeedbackModalOverlay,
1607
- vr as EmbeddedChatPrimitiveFeedbackSubmitButton,
1608
- rs as EmbeddedChatPrimitiveFooter,
1609
- _r as EmbeddedChatPrimitiveForm,
1610
- Vr as EmbeddedChatPrimitiveFormCancel,
1611
- br as EmbeddedChatPrimitiveFormClose,
1612
- Mr as EmbeddedChatPrimitiveFormContent,
1613
- Fr as EmbeddedChatPrimitiveFormDescription,
1614
- Rr as EmbeddedChatPrimitiveFormError,
1615
- Ir as EmbeddedChatPrimitiveFormField,
1616
- Br as EmbeddedChatPrimitiveFormFieldCheckbox,
1617
- Tr as EmbeddedChatPrimitiveFormFieldCheckboxIndicator,
1618
- Sr as EmbeddedChatPrimitiveFormFieldEmail,
1619
- Nr as EmbeddedChatPrimitiveFormFieldError,
1620
- kr as EmbeddedChatPrimitiveFormFieldFile,
1621
- fr as EmbeddedChatPrimitiveFormFieldLabel,
1622
- yr as EmbeddedChatPrimitiveFormFieldSelect,
1623
- Dr as EmbeddedChatPrimitiveFormFieldSelectContent,
1624
- Lr as EmbeddedChatPrimitiveFormFieldSelectIcon,
1625
- Or as EmbeddedChatPrimitiveFormFieldSelectItem,
1626
- Qr as EmbeddedChatPrimitiveFormFieldSelectItemIndicator,
1627
- Wr as EmbeddedChatPrimitiveFormFieldSelectItemText,
1628
- wr as EmbeddedChatPrimitiveFormFieldSelectTrigger,
1629
- Hr as EmbeddedChatPrimitiveFormFieldSelectValue,
1630
- xr as EmbeddedChatPrimitiveFormFieldSelectViewport,
1595
+ lo as EmbeddedChatPrimitiveFeedbackForm,
1596
+ ho as EmbeddedChatPrimitiveFeedbackItem,
1597
+ uo as EmbeddedChatPrimitiveFeedbackItemCheckbox,
1598
+ Co as EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator,
1599
+ vo as EmbeddedChatPrimitiveFeedbackItemDescription,
1600
+ po as EmbeddedChatPrimitiveFeedbackItemLabel,
1601
+ no as EmbeddedChatPrimitiveFeedbackModal,
1602
+ mo as EmbeddedChatPrimitiveFeedbackModalBody,
1603
+ co as EmbeddedChatPrimitiveFeedbackModalClose,
1604
+ oo as EmbeddedChatPrimitiveFeedbackModalContent,
1605
+ ro as EmbeddedChatPrimitiveFeedbackModalHeader,
1606
+ so as EmbeddedChatPrimitiveFeedbackModalOverlay,
1607
+ go as EmbeddedChatPrimitiveFeedbackSubmitButton,
1608
+ os as EmbeddedChatPrimitiveFooter,
1609
+ bo as EmbeddedChatPrimitiveForm,
1610
+ Uo as EmbeddedChatPrimitiveFormCancel,
1611
+ Ao as EmbeddedChatPrimitiveFormClose,
1612
+ Io as EmbeddedChatPrimitiveFormContent,
1613
+ Mo as EmbeddedChatPrimitiveFormDescription,
1614
+ $o as EmbeddedChatPrimitiveFormError,
1615
+ fo as EmbeddedChatPrimitiveFormField,
1616
+ To as EmbeddedChatPrimitiveFormFieldCheckbox,
1617
+ yo as EmbeddedChatPrimitiveFormFieldCheckboxIndicator,
1618
+ ko as EmbeddedChatPrimitiveFormFieldEmail,
1619
+ Ro as EmbeddedChatPrimitiveFormFieldError,
1620
+ Eo as EmbeddedChatPrimitiveFormFieldFile,
1621
+ So as EmbeddedChatPrimitiveFormFieldLabel,
1622
+ wo as EmbeddedChatPrimitiveFormFieldSelect,
1623
+ xo as EmbeddedChatPrimitiveFormFieldSelectContent,
1624
+ Do as EmbeddedChatPrimitiveFormFieldSelectIcon,
1625
+ Wo as EmbeddedChatPrimitiveFormFieldSelectItem,
1626
+ No as EmbeddedChatPrimitiveFormFieldSelectItemIndicator,
1627
+ Qo as EmbeddedChatPrimitiveFormFieldSelectItemText,
1628
+ Ho as EmbeddedChatPrimitiveFormFieldSelectTrigger,
1629
+ Lo as EmbeddedChatPrimitiveFormFieldSelectValue,
1630
+ Oo as EmbeddedChatPrimitiveFormFieldSelectViewport,
1631
1631
  Ie as EmbeddedChatPrimitiveFormFieldText,
1632
- Er as EmbeddedChatPrimitiveFormFieldTextArea,
1633
- $r as EmbeddedChatPrimitiveFormFooter,
1634
- Ar as EmbeddedChatPrimitiveFormHeader,
1635
- Pr as EmbeddedChatPrimitiveFormHeading,
1636
- Ur as EmbeddedChatPrimitiveFormSubmit,
1637
- Kr as EmbeddedChatPrimitiveFormSuccess,
1638
- Gr as EmbeddedChatPrimitiveFormSuccessButton,
1639
- qr as EmbeddedChatPrimitiveFormSuccessHeading,
1640
- jr as EmbeddedChatPrimitiveFormSuccessMessage,
1641
- gr as EmbeddedChatPrimitiveFormWrapper,
1632
+ Bo as EmbeddedChatPrimitiveFormFieldTextArea,
1633
+ Vo as EmbeddedChatPrimitiveFormFooter,
1634
+ Po as EmbeddedChatPrimitiveFormHeader,
1635
+ Fo as EmbeddedChatPrimitiveFormHeading,
1636
+ Ko as EmbeddedChatPrimitiveFormSubmit,
1637
+ qo as EmbeddedChatPrimitiveFormSuccess,
1638
+ zo as EmbeddedChatPrimitiveFormSuccessButton,
1639
+ jo as EmbeddedChatPrimitiveFormSuccessHeading,
1640
+ Go as EmbeddedChatPrimitiveFormSuccessMessage,
1641
+ _o as EmbeddedChatPrimitiveFormWrapper,
1642
1642
  za as EmbeddedChatPrimitiveHeaderToolbar,
1643
1643
  Js as EmbeddedChatPrimitiveHelpActions,
1644
- er as EmbeddedChatPrimitiveHelpActionsMenu,
1645
- tr as EmbeddedChatPrimitiveHelpActionsMenuArrow,
1646
- ir as EmbeddedChatPrimitiveHelpActionsMenuItem,
1647
- ar as EmbeddedChatPrimitiveHelpActionsMenuItemIcon,
1644
+ eo as EmbeddedChatPrimitiveHelpActionsMenu,
1645
+ to as EmbeddedChatPrimitiveHelpActionsMenuArrow,
1646
+ io as EmbeddedChatPrimitiveHelpActionsMenuItem,
1647
+ ao as EmbeddedChatPrimitiveHelpActionsMenuItemIcon,
1648
1648
  Zs as EmbeddedChatPrimitiveHelpActionsTrigger,
1649
1649
  ds as EmbeddedChatPrimitiveInput,
1650
- os as EmbeddedChatPrimitiveInputFieldset,
1650
+ rs as EmbeddedChatPrimitiveInputFieldset,
1651
1651
  cs as EmbeddedChatPrimitiveInputGroup,
1652
1652
  Fn as EmbeddedChatPrimitiveIntroMessageWrapper,
1653
1653
  Vn as EmbeddedChatPrimitiveMessage,
@@ -1708,64 +1708,64 @@ export {
1708
1708
  _n as EmbeddedChatPrimitiveWorkflowsLabel,
1709
1709
  bn as EmbeddedChatPrimitiveWorkflowsList,
1710
1710
  Ka as EmbeddedChatPrimitiveWrapper,
1711
- mr as FeedbackForm,
1712
- lr as FeedbackItem,
1713
- hr as FeedbackItemCheckbox,
1714
- ur as FeedbackItemCheckboxIndicator,
1715
- pr as FeedbackItemDescription,
1716
- Cr as FeedbackItemLabel,
1717
- nr as FeedbackModal,
1718
- dr as FeedbackModalBody,
1719
- cr as FeedbackModalClose,
1720
- rr as FeedbackModalContent,
1721
- or as FeedbackModalHeader,
1722
- sr as FeedbackModalOverlay,
1723
- vr as FeedbackSubmitButton,
1724
- rs as Footer,
1725
- _r as Form,
1726
- Vr as FormCancel,
1727
- br as FormClose,
1728
- Mr as FormContent,
1729
- Fr as FormDescription,
1730
- Rr as FormError,
1731
- Ir as FormField,
1732
- Br as FormFieldCheckbox,
1733
- Tr as FormFieldCheckboxIndicator,
1734
- Sr as FormFieldEmail,
1735
- Nr as FormFieldError,
1736
- kr as FormFieldFile,
1737
- fr as FormFieldLabel,
1738
- yr as FormFieldSelect,
1739
- Dr as FormFieldSelectContent,
1740
- Lr as FormFieldSelectIcon,
1741
- Or as FormFieldSelectItem,
1742
- Qr as FormFieldSelectItemIndicator,
1743
- Wr as FormFieldSelectItemText,
1744
- wr as FormFieldSelectTrigger,
1745
- Hr as FormFieldSelectValue,
1746
- xr as FormFieldSelectViewport,
1711
+ lo as FeedbackForm,
1712
+ ho as FeedbackItem,
1713
+ uo as FeedbackItemCheckbox,
1714
+ Co as FeedbackItemCheckboxIndicator,
1715
+ vo as FeedbackItemDescription,
1716
+ po as FeedbackItemLabel,
1717
+ no as FeedbackModal,
1718
+ mo as FeedbackModalBody,
1719
+ co as FeedbackModalClose,
1720
+ oo as FeedbackModalContent,
1721
+ ro as FeedbackModalHeader,
1722
+ so as FeedbackModalOverlay,
1723
+ go as FeedbackSubmitButton,
1724
+ os as Footer,
1725
+ bo as Form,
1726
+ Uo as FormCancel,
1727
+ Ao as FormClose,
1728
+ Io as FormContent,
1729
+ Mo as FormDescription,
1730
+ $o as FormError,
1731
+ fo as FormField,
1732
+ To as FormFieldCheckbox,
1733
+ yo as FormFieldCheckboxIndicator,
1734
+ ko as FormFieldEmail,
1735
+ Ro as FormFieldError,
1736
+ Eo as FormFieldFile,
1737
+ So as FormFieldLabel,
1738
+ wo as FormFieldSelect,
1739
+ xo as FormFieldSelectContent,
1740
+ Do as FormFieldSelectIcon,
1741
+ Wo as FormFieldSelectItem,
1742
+ No as FormFieldSelectItemIndicator,
1743
+ Qo as FormFieldSelectItemText,
1744
+ Ho as FormFieldSelectTrigger,
1745
+ Lo as FormFieldSelectValue,
1746
+ Oo as FormFieldSelectViewport,
1747
1747
  Ie as FormFieldText,
1748
- Er as FormFieldTextArea,
1749
- $r as FormFooter,
1750
- Ar as FormHeader,
1751
- Pr as FormHeading,
1752
- Ur as FormSubmit,
1753
- Kr as FormSuccess,
1754
- Gr as FormSuccessButton,
1755
- qr as FormSuccessHeading,
1756
- jr as FormSuccessMessage,
1757
- gr as FormWrapper,
1748
+ Bo as FormFieldTextArea,
1749
+ Vo as FormFooter,
1750
+ Po as FormHeader,
1751
+ Fo as FormHeading,
1752
+ Ko as FormSubmit,
1753
+ qo as FormSuccess,
1754
+ zo as FormSuccessButton,
1755
+ jo as FormSuccessHeading,
1756
+ Go as FormSuccessMessage,
1757
+ _o as FormWrapper,
1758
1758
  Ga as Header,
1759
1759
  za as HeaderToolbar,
1760
1760
  Ya as HeaderToolbarWrapper,
1761
1761
  Js as HelpActions,
1762
- er as HelpActionsMenu,
1763
- tr as HelpActionsMenuArrow,
1764
- ir as HelpActionsMenuItem,
1765
- ar as HelpActionsMenuItemIcon,
1762
+ eo as HelpActionsMenu,
1763
+ to as HelpActionsMenuArrow,
1764
+ io as HelpActionsMenuItem,
1765
+ ao as HelpActionsMenuItemIcon,
1766
1766
  Zs as HelpActionsTrigger,
1767
1767
  ds as Input,
1768
- os as InputFieldset,
1768
+ rs as InputFieldset,
1769
1769
  cs as InputGroup,
1770
1770
  Fn as IntroMessageWrapper,
1771
1771
  Vn as Message,
@@ -1807,7 +1807,7 @@ export {
1807
1807
  Kn as MessageToolActions,
1808
1808
  At as MessageWrapper,
1809
1809
  sn as Messages,
1810
- Jr as Provider,
1810
+ Xo as Provider,
1811
1811
  pn as QuickQuestion,
1812
1812
  vn as QuickQuestionButton,
1813
1813
  hn as QuickQuestions,