@inkeep/agents-ui 0.15.13 → 0.15.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +230 -222
- package/dist/primitives/atoms/icons/built-in-icons.cjs +1 -1
- package/dist/primitives/atoms/icons/built-in-icons.d.ts +2 -0
- package/dist/primitives/atoms/icons/built-in-icons.js +33 -31
- package/dist/primitives/atoms/icons/inkeep-default-icons.cjs +1 -1
- package/dist/primitives/atoms/icons/inkeep-default-icons.js +4 -1
- package/dist/primitives/components/chat-history/index.cjs +1 -0
- package/dist/primitives/components/chat-history/index.d.ts +27 -0
- package/dist/primitives/components/chat-history/index.js +105 -0
- package/dist/primitives/components/embedded-chat/use-captcha.cjs +1 -0
- package/dist/primitives/components/embedded-chat/use-captcha.d.ts +23 -6
- package/dist/primitives/components/embedded-chat/use-captcha.js +67 -0
- package/dist/primitives/components/embedded-chat/use-inkeep-chat.cjs +2 -2
- package/dist/primitives/components/embedded-chat/use-inkeep-chat.d.ts +12 -3
- package/dist/primitives/components/embedded-chat/use-inkeep-chat.js +252 -144
- package/dist/primitives/components/embedded-chat/use-stream-processor.cjs +1 -1
- package/dist/primitives/components/embedded-chat/use-stream-processor.d.ts +2 -0
- package/dist/primitives/components/embedded-chat/use-stream-processor.js +120 -70
- package/dist/primitives/components/embedded-chat.cjs +3 -3
- package/dist/primitives/components/embedded-chat.d.ts +5 -2
- package/dist/primitives/components/embedded-chat.js +1010 -967
- package/dist/primitives/components/index.cjs +1 -1
- package/dist/primitives/components/index.d.ts +1 -0
- package/dist/primitives/components/index.js +20 -18
- package/dist/primitives/hooks/use-anonymous-session.cjs +1 -0
- package/dist/primitives/hooks/use-anonymous-session.d.ts +12 -0
- package/dist/primitives/hooks/use-anonymous-session.js +57 -0
- package/dist/primitives/hooks/use-conversation-loader.cjs +1 -0
- package/dist/primitives/hooks/use-conversation-loader.d.ts +13 -0
- package/dist/primitives/hooks/use-conversation-loader.js +36 -0
- package/dist/primitives/hooks/use-inkeep-api-client.cjs +1 -0
- package/dist/primitives/hooks/use-inkeep-api-client.d.ts +33 -0
- package/dist/primitives/hooks/use-inkeep-api-client.js +87 -0
- package/dist/primitives/hooks/use-local-storage.cjs +1 -0
- package/dist/primitives/hooks/use-local-storage.d.ts +8 -0
- package/dist/primitives/hooks/use-local-storage.js +26 -0
- package/dist/primitives/index.cjs +1 -1
- package/dist/primitives/index.js +157 -151
- package/dist/primitives/providers/base-events-provider.cjs +1 -1
- package/dist/primitives/providers/base-events-provider.js +1 -1
- package/dist/primitives/providers/chat-history-provider.cjs +1 -0
- package/dist/primitives/providers/chat-history-provider.d.ts +32 -0
- package/dist/primitives/providers/chat-history-provider.js +105 -0
- package/dist/primitives/providers/index.cjs +1 -1
- package/dist/primitives/providers/index.d.ts +1 -0
- package/dist/primitives/providers/index.js +55 -52
- package/dist/primitives/utils/component-ids.cjs +1 -1
- package/dist/primitives/utils/component-ids.d.ts +32 -0
- package/dist/primitives/utils/component-ids.js +19 -1
- package/dist/primitives/utils/default-settings.cjs +1 -1
- package/dist/primitives/utils/default-settings.d.ts +2 -0
- package/dist/primitives/utils/default-settings.js +6 -4
- package/dist/react/chat-button.cjs +1 -1
- package/dist/react/chat-button.js +42 -38
- package/dist/react/embedded-chat.cjs +1 -1
- package/dist/react/embedded-chat.js +256 -230
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.js +230 -222
- package/dist/react/sidebar-chat.cjs +1 -1
- package/dist/react/sidebar-chat.js +26 -22
- package/dist/styled/components/chat-bubble.cjs +1 -1
- package/dist/styled/components/chat-bubble.js +1 -1
- package/dist/styled/components/chat-history.cjs +1 -0
- package/dist/styled/components/chat-history.d.ts +15 -0
- package/dist/styled/components/chat-history.js +197 -0
- package/dist/styled/components/data-summary-group.cjs +1 -1
- package/dist/styled/components/data-summary-group.js +24 -24
- package/dist/styled/components/embedded-chat/session-loading.cjs +1 -0
- package/dist/styled/components/embedded-chat/session-loading.d.ts +1 -0
- package/dist/styled/components/embedded-chat/session-loading.js +26 -0
- package/dist/styled/components/embedded-chat.cjs +1 -1
- package/dist/styled/components/embedded-chat.d.ts +7 -1
- package/dist/styled/components/embedded-chat.js +615 -563
- package/dist/styled/components/embedded-search.cjs +1 -1
- package/dist/styled/components/embedded-search.js +1 -1
- package/dist/styled/components/index.cjs +1 -1
- package/dist/styled/components/index.d.ts +1 -0
- package/dist/styled/components/index.js +22 -20
- package/dist/styled/components/sidebar-chat.cjs +1 -1
- package/dist/styled/components/sidebar-chat.js +1 -1
- package/dist/styled/components/ui/recipes/ai-chat-page-wrapper.cjs +1 -1
- package/dist/styled/components/ui/recipes/ai-chat-page-wrapper.js +3 -2
- package/dist/styled/index.cjs +1 -1
- package/dist/styled/index.js +193 -185
- package/dist/styled/inkeep.css.cjs +146 -4
- package/dist/styled/inkeep.css.js +146 -4
- package/dist/types/config/ai.d.ts +17 -1
- package/dist/types/config/base.d.ts +21 -0
- package/dist/types/icons/built-in.d.ts +1 -1
- package/dist/types/icons/custom.d.ts +3 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),r=require("../../primitives/components/chat-bubble/index.cjs"),o=require("../utils.cjs"),l=require("./ui/recipes/button.cjs"),s=require("./ui/recipes/scrollable.cjs"),n=({className:t,...e})=>a.jsx(r.ChatBubblePrimitiveRoot,{...e,className:o.cn("[--chat-bubble-bottom:84px] [--chat-bubble-margin:theme(spacing.5)]","bg-white dark:bg-gray-dark-950 fixed height-full z-50","w-screen h-full bottom-0 right-0 rounded-none shadow-none","xs:w-[440px] xs:h-full xs:bottom-[var(--chat-bubble-bottom)] xs:right-5 xs:rounded-xl xs:shadow-2xl xs:max-h-[min(650px,calc(100%-var(--chat-bubble-bottom)-var(--chat-bubble-margin)))]","xs:origin-bottom-right","data-[state=open]:animate-chat-bubble-in xs:data-[state=open]:animate-chat-bubble-in-desktop",t)}),b=({className:t,...e})=>a.jsx(r.Header,{className:o.cn(s.scrollable({section:"header"}),"w-full flex flex-row items-center px-3 py-
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),r=require("../../primitives/components/chat-bubble/index.cjs"),o=require("../utils.cjs"),l=require("./ui/recipes/button.cjs"),s=require("./ui/recipes/scrollable.cjs"),n=({className:t,...e})=>a.jsx(r.ChatBubblePrimitiveRoot,{...e,className:o.cn("[--chat-bubble-bottom:84px] [--chat-bubble-margin:theme(spacing.5)]","bg-white dark:bg-gray-dark-950 fixed height-full z-50","w-screen h-full bottom-0 right-0 rounded-none shadow-none","xs:w-[440px] xs:h-full xs:bottom-[var(--chat-bubble-bottom)] xs:right-5 xs:rounded-xl xs:shadow-2xl xs:max-h-[min(650px,calc(100%-var(--chat-bubble-bottom)-var(--chat-bubble-margin)))]","xs:origin-bottom-right","data-[state=open]:animate-chat-bubble-in xs:data-[state=open]:animate-chat-bubble-in-desktop",t)}),b=({className:t,...e})=>a.jsx(r.Header,{className:o.cn(s.scrollable({section:"header"}),"w-full flex flex-row items-center px-3 py-3","bg-white dark:bg-gray-dark-950","after:absolute","after:left-0","after:top-full","after:h-3","after:w-full","after:text-white","after:dark:text-gray-dark-950","after:bg-[linear-gradient(currentColor,_transparent)]","after:z-start",t),...e}),i=({className:t,...e})=>a.jsx(r.CloseButton,{className:o.cn(l.button({variant:"ghost",size:"xs"}),"relative inset-[unset] w-6 ml-auto text-lg text-gray-500 dark:text-white-alpha-500 px-0",t),...e});exports.CloseButton=i;exports.Header=b;exports.Root=n;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),r=require("../../primitives/components/chat-history/index.cjs"),o=require("../utils.cjs"),d=require("./ui/recipes/button.cjs");function h(t){const e=Date.now()-t.getTime(),i=Math.floor(e/(1e3*60)),s=Math.floor(e/(1e3*60*60)),n=Math.floor(e/(1e3*60*60*24));return i<1?"Just now":i<60?`${i}m ago`:s<24?`${s}h ago`:n<7?t.toLocaleDateString("en-US",{weekday:"short"}):t.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})}const c=({className:t,...e})=>a.jsx(r.ChatHistoryPrimitiveRoot,{className:o.cn("flex flex-col flex-1 min-h-0 w-full rounded-[inherit] font-body","data-[hidden]:hidden","group-data-[chat-history-layout=sidepane]/chat-history:basis-64","group-data-[chat-history-layout=sidepane]/chat-history:w-64","group-data-[chat-history-layout=sidepane]/chat-history:max-w-64","group-data-[chat-history-layout=sidepane]/chat-history:shrink-0","group-data-[chat-history-layout=sidepane]/chat-history:grow-0","group-data-[chat-history-layout=sidepane]/chat-history:border-r","group-data-[chat-history-layout=sidepane]/chat-history:border-gray-200","dark:group-data-[chat-history-layout=sidepane]/chat-history:border-gray-dark-800",t),...e}),l=({className:t,...e})=>a.jsx(r.ChatHistoryPrimitiveHeader,{className:o.cn("flex items-center justify-between shrink-0","px-3 py-3 relative","after:absolute after:left-0 after:top-full after:h-3 after:w-full after:text-white after:dark:text-gray-dark-950 after:bg-[linear-gradient(currentColor,_transparent)] after:z-start",t),...e}),y=({className:t,...e})=>a.jsx(r.ChatHistoryPrimitiveBackButtonIcon,{className:o.cn("text-sm",t),...e}),m=({className:t,...e})=>a.jsx(r.ChatHistoryPrimitiveBackButton,{className:o.cn(d.button({size:"xs",variant:"ghost"}),"gap-1.5 text-gray-600 hover:text-gray-800 dark:text-white dark:opacity-60 dark:hover:text-white dark:hover:opacity-95","group-data-[chat-history-layout=sidepane]/chat-history:!hidden",t),...e}),u=({className:t,children:e,...i})=>a.jsx(r.ChatHistoryPrimitiveTitle,{className:o.cn("pl-2 text-sm font-normal text-gray-600 dark:text-white-alpha-600","group-data-[chat-history-layout=stack]/chat-history:!hidden",t),...i,children:e??"Chats"}),f=({className:t,...e})=>a.jsx(r.ChatHistoryPrimitiveList,{className:o.cn("flex-1 min-h-0 overflow-y-auto [scrollbar-width:thin] px-2 py-3 gap-0.5",t),...e}),b=({className:t,...e})=>a.jsx(r.ChatHistoryPrimitiveItem,{className:o.cn("flex flex-col gap-0.5 w-full text-left px-3 py-2 rounded-lg","hover:bg-gray-50 dark:hover:bg-gray-dark-900","focus-visible:outline-none focus-visible:bg-gray-50 dark:focus-visible:bg-gray-dark-900","data-[active]:bg-gray-100 dark:data-[active]:bg-gray-dark-800","transition-colors cursor-pointer",t),...e}),g=({className:t,...e})=>a.jsx(r.ChatHistoryPrimitiveItemTitle,{className:o.cn("text-sm text-gray-800 dark:text-white-alpha-950 truncate w-full block",t),...e}),p=({className:t,...e})=>a.jsx(r.ChatHistoryPrimitiveItemDate,{className:o.cn("text-xs text-gray-500 dark:text-white-alpha-500",t),...e}),x=({className:t,children:e,...i})=>a.jsx(r.ChatHistoryPrimitiveEmptyState,{className:o.cn("flex flex-col items-center justify-center flex-1 py-2 h-full","text-sm text-gray-500 dark:text-white-alpha-500",t),...i,children:e??"No conversations yet."}),C=({className:t,...e})=>a.jsx(r.ChatHistoryPrimitiveLoadingState,{className:o.cn("flex flex-col px-3 py-2 gap-3",t),...e,children:[1,2,3].map(i=>a.jsx("div",{className:"h-14 w-full rounded-lg bg-gray-100 dark:bg-gray-dark-800 animate-pulse"},i))}),H=({className:t,...e})=>a.jsx(r.ChatHistoryPrimitiveFooter,{className:o.cn("shrink-0 px-5 py-4 relative","before:absolute before:block before:top-0 before:left-0 before:pointer-events-none before:w-full before:h-3 before:bg-[linear-gradient(transparent,_white)] dark:before:bg-[linear-gradient(transparent,_var(--ikp-color-gray-dark-950))] before:-translate-y-full",t),...e}),k=({className:t,children:e,...i})=>a.jsx(r.ChatHistoryPrimitiveNewConversationButton,{className:o.cn(d.button({variant:"primaryFilled"}),"w-full shrink-0",t),...i,children:e??"New conversation"});exports.EmbeddedChatHistoryBackButton=m;exports.EmbeddedChatHistoryBackButtonIcon=y;exports.EmbeddedChatHistoryEmptyState=x;exports.EmbeddedChatHistoryFooter=H;exports.EmbeddedChatHistoryHeader=l;exports.EmbeddedChatHistoryItem=b;exports.EmbeddedChatHistoryItemDate=p;exports.EmbeddedChatHistoryItemTitle=g;exports.EmbeddedChatHistoryList=f;exports.EmbeddedChatHistoryLoadingState=C;exports.EmbeddedChatHistoryNewConversationButton=k;exports.EmbeddedChatHistoryRoot=c;exports.EmbeddedChatHistoryTitle=u;exports.formatSessionDate=h;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ChatHistoryPrimitive } from '../../primitives';
|
|
2
|
+
export declare function formatSessionDate(date: Date): string;
|
|
3
|
+
export declare const EmbeddedChatHistoryRoot: ({ className, ...props }: React.ComponentPropsWithRef<typeof ChatHistoryPrimitive.Root>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const EmbeddedChatHistoryHeader: ({ className, ...props }: React.ComponentPropsWithRef<typeof ChatHistoryPrimitive.Header>) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const EmbeddedChatHistoryBackButtonIcon: ({ className, ...props }: React.ComponentPropsWithRef<typeof ChatHistoryPrimitive.BackButtonIcon>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const EmbeddedChatHistoryBackButton: ({ className, ...props }: React.ComponentPropsWithRef<typeof ChatHistoryPrimitive.BackButton>) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const EmbeddedChatHistoryTitle: ({ className, children, ...props }: React.ComponentPropsWithRef<typeof ChatHistoryPrimitive.Title>) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare const EmbeddedChatHistoryList: ({ className, ...props }: React.ComponentPropsWithRef<typeof ChatHistoryPrimitive.List>) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const EmbeddedChatHistoryItem: ({ className, ...props }: React.ComponentPropsWithRef<typeof ChatHistoryPrimitive.Item>) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const EmbeddedChatHistoryItemTitle: ({ className, ...props }: React.ComponentPropsWithRef<typeof ChatHistoryPrimitive.ItemTitle>) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const EmbeddedChatHistoryItemDate: ({ className, ...props }: React.ComponentPropsWithRef<typeof ChatHistoryPrimitive.ItemDate>) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const EmbeddedChatHistoryEmptyState: ({ className, children, ...props }: React.ComponentPropsWithRef<typeof ChatHistoryPrimitive.EmptyState>) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const EmbeddedChatHistoryLoadingState: ({ className, ...props }: React.ComponentPropsWithRef<typeof ChatHistoryPrimitive.LoadingState>) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const EmbeddedChatHistoryFooter: ({ className, ...props }: React.ComponentPropsWithRef<typeof ChatHistoryPrimitive.Footer>) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const EmbeddedChatHistoryNewConversationButton: ({ className, children, ...props }: React.ComponentPropsWithRef<typeof ChatHistoryPrimitive.NewConversationButton>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
3
|
+
import { ChatHistoryPrimitiveRoot as n, ChatHistoryPrimitiveHeader as h, ChatHistoryPrimitiveBackButtonIcon as l, ChatHistoryPrimitiveBackButton as y, ChatHistoryPrimitiveTitle as c, ChatHistoryPrimitiveList as m, ChatHistoryPrimitiveItem as f, ChatHistoryPrimitiveItemTitle as u, ChatHistoryPrimitiveItemDate as p, ChatHistoryPrimitiveEmptyState as g, ChatHistoryPrimitiveLoadingState as b, ChatHistoryPrimitiveFooter as x, ChatHistoryPrimitiveNewConversationButton as k } from "../../primitives/components/chat-history/index.js";
|
|
4
|
+
import { cn as r } from "../utils.js";
|
|
5
|
+
import { button as s } from "./ui/recipes/button.js";
|
|
6
|
+
function N(t) {
|
|
7
|
+
const e = Date.now() - t.getTime(), o = Math.floor(e / (1e3 * 60)), i = Math.floor(e / (1e3 * 60 * 60)), d = Math.floor(e / (1e3 * 60 * 60 * 24));
|
|
8
|
+
return o < 1 ? "Just now" : o < 60 ? `${o}m ago` : i < 24 ? `${i}h ago` : d < 7 ? t.toLocaleDateString("en-US", { weekday: "short" }) : t.toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric" });
|
|
9
|
+
}
|
|
10
|
+
const E = ({
|
|
11
|
+
className: t,
|
|
12
|
+
...e
|
|
13
|
+
}) => /* @__PURE__ */ a(
|
|
14
|
+
n,
|
|
15
|
+
{
|
|
16
|
+
className: r(
|
|
17
|
+
"flex flex-col flex-1 min-h-0 w-full rounded-[inherit] font-body",
|
|
18
|
+
"data-[hidden]:hidden",
|
|
19
|
+
"group-data-[chat-history-layout=sidepane]/chat-history:basis-64",
|
|
20
|
+
"group-data-[chat-history-layout=sidepane]/chat-history:w-64",
|
|
21
|
+
"group-data-[chat-history-layout=sidepane]/chat-history:max-w-64",
|
|
22
|
+
"group-data-[chat-history-layout=sidepane]/chat-history:shrink-0",
|
|
23
|
+
"group-data-[chat-history-layout=sidepane]/chat-history:grow-0",
|
|
24
|
+
"group-data-[chat-history-layout=sidepane]/chat-history:border-r",
|
|
25
|
+
"group-data-[chat-history-layout=sidepane]/chat-history:border-gray-200",
|
|
26
|
+
"dark:group-data-[chat-history-layout=sidepane]/chat-history:border-gray-dark-800",
|
|
27
|
+
t
|
|
28
|
+
),
|
|
29
|
+
...e
|
|
30
|
+
}
|
|
31
|
+
), P = ({
|
|
32
|
+
className: t,
|
|
33
|
+
...e
|
|
34
|
+
}) => /* @__PURE__ */ a(
|
|
35
|
+
h,
|
|
36
|
+
{
|
|
37
|
+
className: r(
|
|
38
|
+
"flex items-center justify-between shrink-0",
|
|
39
|
+
"px-3 py-3 relative",
|
|
40
|
+
"after:absolute after:left-0 after:top-full after:h-3 after:w-full after:text-white after:dark:text-gray-dark-950 after:bg-[linear-gradient(currentColor,_transparent)] after:z-start",
|
|
41
|
+
t
|
|
42
|
+
),
|
|
43
|
+
...e
|
|
44
|
+
}
|
|
45
|
+
), B = ({
|
|
46
|
+
className: t,
|
|
47
|
+
...e
|
|
48
|
+
}) => /* @__PURE__ */ a(l, { className: r("text-sm", t), ...e }), S = ({
|
|
49
|
+
className: t,
|
|
50
|
+
...e
|
|
51
|
+
}) => /* @__PURE__ */ a(
|
|
52
|
+
y,
|
|
53
|
+
{
|
|
54
|
+
className: r(
|
|
55
|
+
s({ size: "xs", variant: "ghost" }),
|
|
56
|
+
"gap-1.5 text-gray-600 hover:text-gray-800 dark:text-white dark:opacity-60 dark:hover:text-white dark:hover:opacity-95",
|
|
57
|
+
"group-data-[chat-history-layout=sidepane]/chat-history:!hidden",
|
|
58
|
+
t
|
|
59
|
+
),
|
|
60
|
+
...e
|
|
61
|
+
}
|
|
62
|
+
), I = ({
|
|
63
|
+
className: t,
|
|
64
|
+
children: e,
|
|
65
|
+
...o
|
|
66
|
+
}) => /* @__PURE__ */ a(
|
|
67
|
+
c,
|
|
68
|
+
{
|
|
69
|
+
className: r(
|
|
70
|
+
"pl-2 text-sm font-normal text-gray-600 dark:text-white-alpha-600",
|
|
71
|
+
"group-data-[chat-history-layout=stack]/chat-history:!hidden",
|
|
72
|
+
t
|
|
73
|
+
),
|
|
74
|
+
...o,
|
|
75
|
+
children: e ?? "Chats"
|
|
76
|
+
}
|
|
77
|
+
), D = ({
|
|
78
|
+
className: t,
|
|
79
|
+
...e
|
|
80
|
+
}) => /* @__PURE__ */ a(
|
|
81
|
+
m,
|
|
82
|
+
{
|
|
83
|
+
className: r(
|
|
84
|
+
"flex-1 min-h-0 overflow-y-auto [scrollbar-width:thin] px-2 py-3 gap-0.5",
|
|
85
|
+
t
|
|
86
|
+
),
|
|
87
|
+
...e
|
|
88
|
+
}
|
|
89
|
+
), L = ({
|
|
90
|
+
className: t,
|
|
91
|
+
...e
|
|
92
|
+
}) => /* @__PURE__ */ a(
|
|
93
|
+
f,
|
|
94
|
+
{
|
|
95
|
+
className: r(
|
|
96
|
+
"flex flex-col gap-0.5 w-full text-left px-3 py-2 rounded-lg",
|
|
97
|
+
"hover:bg-gray-50 dark:hover:bg-gray-dark-900",
|
|
98
|
+
"focus-visible:outline-none focus-visible:bg-gray-50 dark:focus-visible:bg-gray-dark-900",
|
|
99
|
+
"data-[active]:bg-gray-100 dark:data-[active]:bg-gray-dark-800",
|
|
100
|
+
"transition-colors cursor-pointer",
|
|
101
|
+
t
|
|
102
|
+
),
|
|
103
|
+
...e
|
|
104
|
+
}
|
|
105
|
+
), M = ({
|
|
106
|
+
className: t,
|
|
107
|
+
...e
|
|
108
|
+
}) => /* @__PURE__ */ a(
|
|
109
|
+
u,
|
|
110
|
+
{
|
|
111
|
+
className: r(
|
|
112
|
+
"text-sm text-gray-800 dark:text-white-alpha-950 truncate w-full block",
|
|
113
|
+
t
|
|
114
|
+
),
|
|
115
|
+
...e
|
|
116
|
+
}
|
|
117
|
+
), T = ({
|
|
118
|
+
className: t,
|
|
119
|
+
...e
|
|
120
|
+
}) => /* @__PURE__ */ a(
|
|
121
|
+
p,
|
|
122
|
+
{
|
|
123
|
+
className: r("text-xs text-gray-500 dark:text-white-alpha-500", t),
|
|
124
|
+
...e
|
|
125
|
+
}
|
|
126
|
+
), j = ({
|
|
127
|
+
className: t,
|
|
128
|
+
children: e,
|
|
129
|
+
...o
|
|
130
|
+
}) => /* @__PURE__ */ a(
|
|
131
|
+
g,
|
|
132
|
+
{
|
|
133
|
+
className: r(
|
|
134
|
+
"flex flex-col items-center justify-center flex-1 py-2 h-full",
|
|
135
|
+
"text-sm text-gray-500 dark:text-white-alpha-500",
|
|
136
|
+
t
|
|
137
|
+
),
|
|
138
|
+
...o,
|
|
139
|
+
children: e ?? "No conversations yet."
|
|
140
|
+
}
|
|
141
|
+
), F = ({
|
|
142
|
+
className: t,
|
|
143
|
+
...e
|
|
144
|
+
}) => /* @__PURE__ */ a(
|
|
145
|
+
b,
|
|
146
|
+
{
|
|
147
|
+
className: r("flex flex-col px-3 py-2 gap-3", t),
|
|
148
|
+
...e,
|
|
149
|
+
children: [1, 2, 3].map((o) => /* @__PURE__ */ a(
|
|
150
|
+
"div",
|
|
151
|
+
{
|
|
152
|
+
className: "h-14 w-full rounded-lg bg-gray-100 dark:bg-gray-dark-800 animate-pulse"
|
|
153
|
+
},
|
|
154
|
+
o
|
|
155
|
+
))
|
|
156
|
+
}
|
|
157
|
+
), _ = ({
|
|
158
|
+
className: t,
|
|
159
|
+
...e
|
|
160
|
+
}) => /* @__PURE__ */ a(
|
|
161
|
+
x,
|
|
162
|
+
{
|
|
163
|
+
className: r(
|
|
164
|
+
"shrink-0 px-5 py-4 relative",
|
|
165
|
+
"before:absolute before:block before:top-0 before:left-0 before:pointer-events-none before:w-full before:h-3 before:bg-[linear-gradient(transparent,_white)] dark:before:bg-[linear-gradient(transparent,_var(--ikp-color-gray-dark-950))] before:-translate-y-full",
|
|
166
|
+
t
|
|
167
|
+
),
|
|
168
|
+
...e
|
|
169
|
+
}
|
|
170
|
+
), z = ({
|
|
171
|
+
className: t,
|
|
172
|
+
children: e,
|
|
173
|
+
...o
|
|
174
|
+
}) => /* @__PURE__ */ a(
|
|
175
|
+
k,
|
|
176
|
+
{
|
|
177
|
+
className: r(s({ variant: "primaryFilled" }), "w-full shrink-0", t),
|
|
178
|
+
...o,
|
|
179
|
+
children: e ?? "New conversation"
|
|
180
|
+
}
|
|
181
|
+
);
|
|
182
|
+
export {
|
|
183
|
+
S as EmbeddedChatHistoryBackButton,
|
|
184
|
+
B as EmbeddedChatHistoryBackButtonIcon,
|
|
185
|
+
j as EmbeddedChatHistoryEmptyState,
|
|
186
|
+
_ as EmbeddedChatHistoryFooter,
|
|
187
|
+
P as EmbeddedChatHistoryHeader,
|
|
188
|
+
L as EmbeddedChatHistoryItem,
|
|
189
|
+
T as EmbeddedChatHistoryItemDate,
|
|
190
|
+
M as EmbeddedChatHistoryItemTitle,
|
|
191
|
+
D as EmbeddedChatHistoryList,
|
|
192
|
+
F as EmbeddedChatHistoryLoadingState,
|
|
193
|
+
z as EmbeddedChatHistoryNewConversationButton,
|
|
194
|
+
E as EmbeddedChatHistoryRoot,
|
|
195
|
+
I as EmbeddedChatHistoryTitle,
|
|
196
|
+
N as formatSessionDate
|
|
197
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("react"),a=require("lucide-react"),r=require("../../primitives/components/data-summaries.cjs"),p=t=>{const{type:n,label:s}=t;return s||n.replace(/_/g," ").replace(/\b\w/g,i=>i.toUpperCase())},u={agent_generate:e.jsx(a.RefreshCw,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"}),agent_reasoning:e.jsx(a.Brain,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"}),tool_call:e.jsx(a.
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("react"),a=require("lucide-react"),r=require("../../primitives/components/data-summaries.cjs"),p=t=>{const{type:n,label:s}=t;return s||n.replace(/_/g," ").replace(/\b\w/g,i=>i.toUpperCase())},u={agent_generate:e.jsx(a.RefreshCw,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"}),agent_reasoning:e.jsx(a.Brain,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"}),tool_call:e.jsx(a.LoaderCircle,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500 animate-spin"}),tool_result:e.jsx(a.Hammer,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"}),transfer:e.jsx(a.ArrowRight,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"}),delegation_sent:e.jsx(a.Forward,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"}),delegation_returned:e.jsx(a.CheckCheck,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"}),artifact_saved:e.jsx(a.Download,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"}),error:e.jsx(a.TriangleAlert,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"}),agent_initializing:e.jsx(a.CircleDot,{className:"w-3 h-3 animate-spin"}),completion:e.jsx(a.CheckCheck,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"}),default:e.jsx(a.Dot,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"})},h={retrieve:e.jsx(a.Search,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"}),action:e.jsx(a.CheckCheck,{className:"w-3 h-3 text-gray-500 dark:text-white-alpha-500"}),...u},d=o.memo(({summary:t,showConnector:n})=>{const s=o.useMemo(()=>t.details&&Object.keys(t.details).length>0?JSON.stringify(t.details,null,2):null,[t.details]),i=o.useMemo(()=>p(t),[t]),c=o.useMemo(()=>h[t.type]||h.default,[t.type]);return e.jsxs(r.DataSummaryItem,{className:"flex items-start gap-2 text-xs relative",children:[n&&e.jsx(r.DataSummaryConnector,{className:"absolute left-1.5 top-4 bottom-0 w-px bg-gray-200 dark:bg-white-alpha-200 -mb-3"}),e.jsx(r.DataSummaryIconContainer,{className:"flex items-center justify-center w-3 h-3 relative z-10 mt-0.5",children:c}),e.jsxs(r.DataSummaryContent,{className:"flex-1",children:[e.jsx(r.DataSummaryLabel,{className:"text-gray-700 dark:text-white-alpha-600",children:i}),s&&e.jsx(r.DataSummaryDetails,{className:"mt-2 text-xs whitespace-pre-wrap font-mono bg-gray-50 dark:bg-gray-dark-900 p-2 rounded-md px-3 py-2",children:s})]})]})}),g=o.memo(({summaries:t,isCompleted:n})=>{const s=t.length>1,[i,c]=o.useState(!n||!s);o.useEffect(()=>{let l;return n&&s?l=setTimeout(()=>{c(!1)},1e3):c(!0),()=>{l&&clearTimeout(l)}},[n,s]);const m=o.useCallback(()=>{s&&c(!i)},[s,i]);return s?e.jsxs(r.DataSummaryGroup,{className:"flex flex-col items-start mb-2.5 mt-2.5 first:mt-1 relative",children:[e.jsx(r.DataSummaryToggle,{type:"button",onClick:m,"data-expanded":i,className:"inline-flex items-center group gap-2 text-xs text-gray-500 dark:text-white-alpha-600 hover:text-gray-700 dark:hover:text-white-alpha-700 transition-colors cursor-pointer",children:n?e.jsxs(e.Fragment,{children:[e.jsx(a.Check,{className:"check-icon w-3 h-3 text-gray-500 dark:text-white-alpha-500 transition-all duration-200 absolute opacity-100 group-hover:opacity-0 group-data-[expanded=true]:opacity-0"}),e.jsx(a.ChevronRight,{className:"chevron-icon w-3 h-3 text-gray-500 dark:text-white-alpha-500 transition-all duration-200 transform opacity-0 rotate-0 group-hover:opacity-100 group-data-[expanded=true]:opacity-100 group-data-[expanded=true]:rotate-90"}),e.jsx(r.DataSummaryToggleText,{className:"font-medium",children:"Completed"})]}):e.jsxs(e.Fragment,{children:[e.jsx(a.LoaderCircle,{className:"w-3 h-3 animate-spin"}),e.jsx(r.DataSummaryToggleText,{className:"font-medium",children:"Thinking..."})]})}),e.jsx(r.DataSummaryCollapsible,{"data-expanded":i,className:"overflow-hidden transition-all duration-300 ease-in-out data-[expanded=true]:opacity-100 data-[expanded=false]:max-h-0 data-[expanded=false]:opacity-0 max-w-full",children:e.jsx(r.DataSummaryList,{className:"pb-2 mt-1.5 space-y-3 relative",children:t.map((l,x)=>e.jsx(d,{summary:l,showConnector:t.length>1&&x<t.length-1},`op-${l.type}-${x}`))})})]}):e.jsx(r.DataSummaryGroup,{className:"flex flex-col items-start mb-2.5 mt-2.5 first:mt-1 relative",children:e.jsx(r.DataSummaryList,{className:"pb-2 mt-1.5 space-y-3 relative",children:t.map((l,x)=>e.jsx(d,{summary:l,showConnector:!1},`op-${l.type}-${x}`))})})});exports.DataSummaryGroup=g;
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as a, jsxs as n, Fragment as h } from "react/jsx-runtime";
|
|
3
|
-
import { memo as
|
|
4
|
-
import { Check as S, ChevronRight as v, LoaderCircle as
|
|
5
|
-
import { DataSummaryGroup as
|
|
3
|
+
import { memo as y, useState as N, useEffect as k, useCallback as D, useMemo as m } from "react";
|
|
4
|
+
import { Check as S, ChevronRight as v, LoaderCircle as w, CheckCheck as c, Search as b, Dot as C, CircleDot as P, TriangleAlert as _, Download as T, Forward as I, ArrowRight as A, Hammer as L, Brain as O, RefreshCw as E } from "lucide-react";
|
|
5
|
+
import { DataSummaryGroup as d, DataSummaryList as p, DataSummaryToggle as M, DataSummaryToggleText as x, DataSummaryCollapsible as R, DataSummaryItem as j, DataSummaryConnector as $, DataSummaryIconContainer as G, DataSummaryContent as z, DataSummaryLabel as F, DataSummaryDetails as U } from "../../primitives/components/data-summaries.js";
|
|
6
6
|
const B = (t) => {
|
|
7
7
|
const { type: i, label: e } = t;
|
|
8
8
|
return e || i.replace(/_/g, " ").replace(/\b\w/g, (l) => l.toUpperCase());
|
|
9
9
|
}, H = {
|
|
10
10
|
agent_generate: /* @__PURE__ */ a(E, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
11
11
|
agent_reasoning: /* @__PURE__ */ a(O, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
12
|
-
tool_call: /* @__PURE__ */ a(
|
|
13
|
-
tool_result: /* @__PURE__ */ a(
|
|
14
|
-
transfer: /* @__PURE__ */ a(
|
|
15
|
-
delegation_sent: /* @__PURE__ */ a(
|
|
12
|
+
tool_call: /* @__PURE__ */ a(w, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500 animate-spin" }),
|
|
13
|
+
tool_result: /* @__PURE__ */ a(L, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
14
|
+
transfer: /* @__PURE__ */ a(A, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
15
|
+
delegation_sent: /* @__PURE__ */ a(I, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
16
16
|
delegation_returned: /* @__PURE__ */ a(c, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
17
|
-
artifact_saved: /* @__PURE__ */ a(
|
|
18
|
-
error: /* @__PURE__ */ a(
|
|
19
|
-
agent_initializing: /* @__PURE__ */ a(
|
|
17
|
+
artifact_saved: /* @__PURE__ */ a(T, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
18
|
+
error: /* @__PURE__ */ a(_, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
19
|
+
agent_initializing: /* @__PURE__ */ a(P, { className: "w-3 h-3 animate-spin" }),
|
|
20
20
|
completion: /* @__PURE__ */ a(c, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
21
|
-
default: /* @__PURE__ */ a(
|
|
22
|
-
},
|
|
23
|
-
retrieve: /* @__PURE__ */ a(
|
|
21
|
+
default: /* @__PURE__ */ a(C, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" })
|
|
22
|
+
}, g = {
|
|
23
|
+
retrieve: /* @__PURE__ */ a(b, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
24
24
|
action: /* @__PURE__ */ a(c, { className: "w-3 h-3 text-gray-500 dark:text-white-alpha-500" }),
|
|
25
25
|
...H
|
|
26
|
-
},
|
|
26
|
+
}, u = y(({ summary: t, showConnector: i }) => {
|
|
27
27
|
const e = m(() => t.details && Object.keys(t.details).length > 0 ? JSON.stringify(t.details, null, 2) : null, [t.details]), l = m(() => B(t), [t]), s = m(
|
|
28
|
-
() =>
|
|
28
|
+
() => g[t.type] || g.default,
|
|
29
29
|
[t.type]
|
|
30
30
|
);
|
|
31
31
|
return /* @__PURE__ */ n(j, { className: "flex items-start gap-2 text-xs relative", children: [
|
|
@@ -36,7 +36,7 @@ const B = (t) => {
|
|
|
36
36
|
e && /* @__PURE__ */ a(U, { className: "mt-2 text-xs whitespace-pre-wrap font-mono bg-gray-50 dark:bg-gray-dark-900 p-2 rounded-md px-3 py-2", children: e })
|
|
37
37
|
] })
|
|
38
38
|
] });
|
|
39
|
-
}), Q =
|
|
39
|
+
}), Q = y(({ summaries: t, isCompleted: i }) => {
|
|
40
40
|
const e = t.length > 1, [l, s] = N(!i || !e);
|
|
41
41
|
k(() => {
|
|
42
42
|
let r;
|
|
@@ -49,7 +49,7 @@ const B = (t) => {
|
|
|
49
49
|
const f = D(() => {
|
|
50
50
|
e && s(!l);
|
|
51
51
|
}, [e, l]);
|
|
52
|
-
return e ? /* @__PURE__ */ n(
|
|
52
|
+
return e ? /* @__PURE__ */ n(d, { className: "flex flex-col items-start mb-2.5 mt-2.5 first:mt-1 relative", children: [
|
|
53
53
|
/* @__PURE__ */ a(
|
|
54
54
|
M,
|
|
55
55
|
{
|
|
@@ -60,10 +60,10 @@ const B = (t) => {
|
|
|
60
60
|
children: i ? /* @__PURE__ */ n(h, { children: [
|
|
61
61
|
/* @__PURE__ */ a(S, { className: "check-icon w-3 h-3 text-gray-500 dark:text-white-alpha-500 transition-all duration-200 absolute opacity-100 group-hover:opacity-0 group-data-[expanded=true]:opacity-0" }),
|
|
62
62
|
/* @__PURE__ */ a(v, { className: "chevron-icon w-3 h-3 text-gray-500 dark:text-white-alpha-500 transition-all duration-200 transform opacity-0 rotate-0 group-hover:opacity-100 group-data-[expanded=true]:opacity-100 group-data-[expanded=true]:rotate-90" }),
|
|
63
|
-
/* @__PURE__ */ a(
|
|
63
|
+
/* @__PURE__ */ a(x, { className: "font-medium", children: "Completed" })
|
|
64
64
|
] }) : /* @__PURE__ */ n(h, { children: [
|
|
65
|
-
/* @__PURE__ */ a(
|
|
66
|
-
/* @__PURE__ */ a(
|
|
65
|
+
/* @__PURE__ */ a(w, { className: "w-3 h-3 animate-spin" }),
|
|
66
|
+
/* @__PURE__ */ a(x, { className: "font-medium", children: "Thinking..." })
|
|
67
67
|
] })
|
|
68
68
|
}
|
|
69
69
|
),
|
|
@@ -72,8 +72,8 @@ const B = (t) => {
|
|
|
72
72
|
{
|
|
73
73
|
"data-expanded": l,
|
|
74
74
|
className: "overflow-hidden transition-all duration-300 ease-in-out data-[expanded=true]:opacity-100 data-[expanded=false]:max-h-0 data-[expanded=false]:opacity-0 max-w-full",
|
|
75
|
-
children: /* @__PURE__ */ a(
|
|
76
|
-
|
|
75
|
+
children: /* @__PURE__ */ a(p, { className: "pb-2 mt-1.5 space-y-3 relative", children: t.map((r, o) => /* @__PURE__ */ a(
|
|
76
|
+
u,
|
|
77
77
|
{
|
|
78
78
|
summary: r,
|
|
79
79
|
showConnector: t.length > 1 && o < t.length - 1
|
|
@@ -82,8 +82,8 @@ const B = (t) => {
|
|
|
82
82
|
)) })
|
|
83
83
|
}
|
|
84
84
|
)
|
|
85
|
-
] }) : /* @__PURE__ */ a(
|
|
86
|
-
|
|
85
|
+
] }) : /* @__PURE__ */ a(d, { className: "flex flex-col items-start mb-2.5 mt-2.5 first:mt-1 relative", children: /* @__PURE__ */ a(p, { className: "pb-2 mt-1.5 space-y-3 relative", children: t.map((r, o) => /* @__PURE__ */ a(
|
|
86
|
+
u,
|
|
87
87
|
{
|
|
88
88
|
summary: r,
|
|
89
89
|
showConnector: !1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../../utils.cjs"),l=require("../ui/recipes/skeleton.cjs");function n({widths:i}){return e.jsxs("div",{className:"flex flex-col px-5 py-4 gap-3",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:s.cn(l.skeleton(),"h-6 w-6 rounded-full flex-shrink-0")}),e.jsx("div",{className:s.cn(l.skeleton(),"h-4 w-20")})]}),e.jsx("div",{className:"flex flex-col gap-2 pl-8",children:i.map((c,t)=>e.jsx("div",{className:s.cn(l.skeleton(),"h-4",c)},t))})]})}function a(){return e.jsxs("div",{className:"flex flex-col w-full",children:[e.jsx(n,{widths:["w-full","w-5/6","w-4/6"]}),e.jsx(n,{widths:["w-2/5"]}),e.jsx(n,{widths:["w-full","w-3/4"]})]})}exports.MessagesSessionLoading=a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function MessagesSessionLoading(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
3
|
+
import { cn as l } from "../../utils.js";
|
|
4
|
+
import { skeleton as s } from "../ui/recipes/skeleton.js";
|
|
5
|
+
function i({ widths: c }) {
|
|
6
|
+
return /* @__PURE__ */ a("div", { className: "flex flex-col px-5 py-4 gap-3", children: [
|
|
7
|
+
/* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
|
|
8
|
+
/* @__PURE__ */ e("div", { className: l(s(), "h-6 w-6 rounded-full flex-shrink-0") }),
|
|
9
|
+
/* @__PURE__ */ e("div", { className: l(s(), "h-4 w-20") })
|
|
10
|
+
] }),
|
|
11
|
+
/* @__PURE__ */ e("div", { className: "flex flex-col gap-2 pl-8", children: c.map((n, r) => (
|
|
12
|
+
// biome-ignore lint/suspicious/noArrayIndexKey: static skeleton rows
|
|
13
|
+
/* @__PURE__ */ e("div", { className: l(s(), "h-4", n) }, r)
|
|
14
|
+
)) })
|
|
15
|
+
] });
|
|
16
|
+
}
|
|
17
|
+
function t() {
|
|
18
|
+
return /* @__PURE__ */ a("div", { className: "flex flex-col w-full", children: [
|
|
19
|
+
/* @__PURE__ */ e(i, { widths: ["w-full", "w-5/6", "w-4/6"] }),
|
|
20
|
+
/* @__PURE__ */ e(i, { widths: ["w-2/5"] }),
|
|
21
|
+
/* @__PURE__ */ e(i, { widths: ["w-full", "w-3/4"] })
|
|
22
|
+
] });
|
|
23
|
+
}
|
|
24
|
+
export {
|
|
25
|
+
t as MessagesSessionLoading
|
|
26
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),a=require("../../primitives/components/embedded-chat.cjs"),P=require("../../primitives/components/embedded-chat/chat-provider.cjs"),w=require("../../primitives/hooks/use-resize-observer.cjs"),M=require("../../primitives/utils/compose-refs.cjs"),y=require("./ui/recipes/ai-chat-page-wrapper.cjs"),c=require("./ui/recipes/attachment.cjs"),o=require("./ui/recipes/button.cjs"),C=require("./ui/recipes/checkbox.cjs"),m=require("./ui/recipes/citation.cjs"),i=require("./ui/recipes/combobox.cjs"),j=require("./ui/recipes/icon.cjs"),b=require("./ui/recipes/input.cjs"),N=require("./ui/recipes/link.cjs"),s=require("./ui/recipes/modal.cjs"),p=require("./ui/recipes/popover.cjs"),u=require("./ui/recipes/scrollable.cjs"),h=require("./ui/recipes/select.cjs"),I=require("class-variance-authority"),B=require("merge-anything"),l=require("react"),r=require("../utils.cjs"),S=require("./ui/markdown-styles.cjs"),T=require("./loading-indicator.cjs"),H=require("./message.cjs"),L=P.ChatProvider,D=l.forwardRef(({className:e,size:t,variant:n,...E},x)=>d.jsx(a.EmbeddedChatPrimitiveWrapper,{ref:x,className:r.cn(y.aiChatPageWrapper({size:t,variant:n}),"data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950","data-[composite]:w-full","max-h-[min(85vh,850px)]","[[data-sidebar]_&]:m-[unset] [[data-sidebar]_&]:mt-auto","[[data-sidebar]_&]:h-full [[data-sidebar]_&]:w-full","[[data-sidebar]_&]:max-h-[unset]","[[data-chat-bubble]_&]:max-h-[unset]","[[data-chat-bubble]_&]:h-full [[data-chat-bubble]_&]:w-full [[data-chat-bubble]_&]:rounded-[inherit]",e),...E})),W=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveRoot,{className:r.cn(u.scrollable({section:"wrapper"}),"rounded-[inherit] font-body",e),...t}),q=({className:e,...t})=>d.jsx(a.Header,{className:r.cn(u.scrollable({section:"header"}),"flex items-center","bg-white dark:bg-gray-dark-950","data-[show-toolbar]:after:absolute","data-[show-toolbar]:after:left-0","data-[show-toolbar]:after:top-full","data-[show-toolbar]:after:h-[1rem]","data-[show-toolbar]:after:w-full","data-[show-toolbar]:after:text-white","data-[show-toolbar]:after:dark:text-gray-dark-950","data-[show-toolbar]:after:bg-[linear-gradient(currentColor,_transparent)]","data-[show-toolbar]:after:z-start",e),...t}),_=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHeaderToolbar,{className:r.cn("flex items-center gap-3 w-full","px-5 py-2 pt-4 justify-between *:m-0",e),...t}),z=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveToolbarHeaderWrapper,{className:r.cn("flex items-center gap-1.5",e),...t}),Q=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveToolbarHeader,{className:r.cn("text-gray-600 dark:text-gray-dark-100 text-sm",e),...t}),R=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContent,{className:r.cn(u.scrollable({section:"content"}),"justify-end",e),...t}),O=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContentScrollArea,{className:r.cn("overflow-hidden",e),...t}),V=l.forwardRef(({className:e,...t},n)=>d.jsx(a.EmbeddedChatPrimitiveContentScrollAreaViewport,{ref:n,className:r.cn("h-full w-full rounded-[inherit]","[[data-chat-bubble]_&]:overscroll-contain",e),...t})),G=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContentScrollAreaScrollbar,{className:r.cn("flex select-none touch-none p-0.5","transition-colors duration-[160ms] ease-in-out","w-2.5 border-l border-l-transparent",e),...t}),$=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContentScrollAreaThumb,{className:r.cn("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),J=a.EmbeddedChatPrimitiveContentScrollAreaCorner,K=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimer,{className:r.cn("ml-auto text-sm flex items-center gap-1",e),...t}),U=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerLabel,{className:r.cn("text-gray-700 dark:text-gray-dark-100",e),...t}),X=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerTrigger,{className:r.cn("cursor-pointer text-gray-700 dark:text-gray-dark-100","focus-visible:ring-gray-500 dark:focus-visible:ring-white-alpha-900 focus-visible:ring-2 focus:outline-none",e),...t}),Y=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerContent,{className:r.cn(p.popover({slot:"content"}),"px-4 py-2 font-normal text-sm","w-[250px] sm:w-[420px]",e),...t}),Z=a.EmbeddedChatPrimitiveDisclaimerText,ee=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerArrow,{className:r.cn(p.popover({slot:"arrow"}),e),...t}),te=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestions,{className:r.cn("mt-4 flex flex-col gap-2",e),...t}),ae=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestionsLabel,{className:r.cn("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),de=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestionsList,{className:r.cn("flex flex-col","ikp-md:flex-row","flex-wrap gap-2",e),...t}),re=l.forwardRef(({className:e,style:t,...n},E)=>{const x=l.useRef(null),v=M.composeRefs(E,x),{width:f=0,height:A=0}=w.useResizeObserver({ref:x,box:"border-box"}),k=Math.max(A,f);return d.jsx(a.EmbeddedChatPrimitiveExampleQuestion,{ref:v,style:{"--before-size":`${k+100}px`,...t},className:r.cn("flex items-center justify-center relative z-base","min-h-9 rounded-md overflow-hidden","before:absolute before:z-hide","before:bg-gray-300 dark:before:bg-gray-dark-950","before:bg-no-repeat before:[background-position:0_0]","before:[background-size:cover] before:m-auto","before:w-[--before-size] before:h-[--before-size]","data-[highlight]:first:before:[background-image:conic-gradient(transparent,theme(colors.inkeep-expanded-primary.600),transparent_30%)]","dark:data-[highlight]:first:before:[background-image:conic-gradient(transparent,theme(colors.inkeep-expanded-primary.300),transparent_30%)]","data-[highlight]:first:before:animate-[spin_4s_linear_infinite]","after:absolute after:z-base after:top-[1px] after:left-[1px]","after:w-[calc(100%-2px)] after:h-[calc(100%-2px)]","after:rounded-[5px] after:bg-white dark:after:bg-gray-dark-950",e),...n})}),se=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestionButton,{className:r.cn(o.button({size:"sm"}),"text-sm font-normal h-auto w-full py-1.5 z-start","whitespace-normal text-center leading-[unset]","border border-solid","text-gray-800 dark:text-white-alpha-950","border-white-alpha-200","[&:where(:hover,:focus)]:bg-slate-400/5","dark:[&:where(:hover,:focus)]:bg-white-alpha-100 focus:z-start",e),...t}),oe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveWorkflows,{className:r.cn("mt-4 flex flex-col gap-2",e),...t}),me=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveWorkflowsLabel,{className:r.cn("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),ie=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveWorkflowsList,{className:r.cn("flex flex-wrap gap-2",e),...t}),ne=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveWorkflow,{className:r.cn(o.button({size:"sm"}),"min-h-9 px-3 py-2 h-auto font-medium","text-sm gap-2 whitespace-normal border ","text-inkeep-primary-strong dark:text-inkeep-expanded-primary-300","border-inkeep-expanded-primary-200","dark:border-inkeep-expanded-primary-200","hover:bg-inkeep-primary-light-subtle","dark:hover:bg-white-alpha-100",e),...t}),ce=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessages,{className:r.cn("flex flex-col w-full min-w-0 min-h-0 text-sm relative",e),...t}),F=I.cva(["flex relative w-full overflow-hidden ikp-md:py-6 py-4","px-5","flex-col ikp-md:flex-row","min-w-0 grow-[2] data-[role=user]:grow-0"]),le=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageWrapper,{className:r.cn(F(),e),...t}),be=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveIntroMessageWrapper,{className:r.cn(F(),e),...t}),he=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageHeader,{className:r.cn("flex justify-start overflow-hidden shrink-0 select-none","flex-row ikp-md:flex-col","items-center ikp-md:items-start","ikp-md:pl-3","ikp-md:pr-6","mb-4 ikp-md:mb-0","data-[role=user]:hidden",e),...t}),xe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageLoading,{className:r.cn("flex items-center gap-3 h-auto w-full",e),children:d.jsx(T.LoadingIndicator,{}),...t}),Ce=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatar,{className:r.cn("flex items-center justify-center rounded-full","h-auto",e),...t}),pe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatarContent,{className:r.cn("relative flex h-6 w-6 shrink-0 overflow-hidden","data-[username]:bg-inkeep-primary-lighter","dark:data-[username]:bg-inkeep-expanded-primary-300","text-inkeep-primary-stronger font-semibold ","data-[role=user]:hidden","justify-center items-center",e),...t}),ue=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatarFallback,{className:r.cn("hidden data-[role=user]:block",e),...t}),Ee=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatarImage,{className:r.cn("data-[type=icon]:data-[role=user]:text-inkeep-primary-medium","dark:data-[type=icon]:data-[role=user]:text-inkeep-expanded-primary-300","data-[type=icon]:data-[role=assistant]:[--start-color:theme(colors.inkeep-expanded-primary.300)]","data-[type=icon]:data-[role=assistant]:[--end-color:theme(colors.inkeep-expanded-primary.700)]","dark:data-[type=icon]:data-[role=assistant]:[--start-color:theme(colors.inkeep-expanded-primary.50)]","dark:data-[type=icon]:data-[role=assistant]:[--end-color:theme(colors.inkeep-expanded-primary.300)]",e),...t}),ge=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageName,{className:r.cn("py-1 ml-3","text-1sm font-medium","text-gray-600 dark:text-white-alpha-600","data-[role=user]:hidden","ikp-md:hidden",e),...t}),Fe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageContentWrapper,{className:r.cn("overflow-hidden flex flex-col","justify-start grow-2 w-full","data-[role=user]:justify-end","data-[role=user]:items-end","data-[role=user]:shrink-2","data-[role=user]:grow-0","ikp-md:pr-3",e),...t}),ve=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageContent,{className:r.cn("text-sm flex-wrap break-words min-w-0 shrink-1 max-w-full data-[role=user]:py-2 data-[role=user]:px-4 data-[role=user]:bg-gray-100 data-[role=user]:dark:bg-white-alpha-100 rounded-3xl xs:data-[role=user]:max-w-[75%] rounded-br-sm",e),...t}),fe=a.EmbeddedChatPrimitiveMessageAttachments,Ae=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsList,{className:r.cn("flex flex-wrap gap-2",e),...t}),ke=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsItem,{className:r.cn(o.button({variant:"ghost"}),c.attachment({slot:"root"}),"font-normal px-2",e),...t}),Pe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsItemIcon,{className:r.cn(c.attachment({slot:"icon"}),e),...t}),we=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsItemTitle,{className:r.cn(c.attachment({slot:"title"}),e),...t}),Me=a.EmbeddedChatPrimitiveMessageAttachmentsPreview,ye=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsPreviewOverlay,{className:r.cn(s.modal({slot:"overlay"}),e),...t}),je=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsPreviewContent,{className:r.cn(s.modal({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),Ne=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsPreviewHeader,{className:r.cn(s.modal({slot:"header"}),"px-0 pt-0 pb-8 flex flex-col gap-6","font-semibold",e),...t}),Ie=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsPreviewClose,{className:r.cn(s.modal({slot:"close"}),e),...t}),Be=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsPreviewBody,{className:r.cn(s.modal({slot:"body"}),"p-0",e),...t}),Se=a.EmbeddedChatPrimitiveDynamicComponent,Te=({componentStyles:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMarkdown,{componentStyles:B.merge(S.markdownStyles,e??{}),...t}),He=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageToolbar,{className:r.cn("flex items-center mt-2 mb-3",e),...t}),Le=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageCustomActions,{className:r.cn("mr-auto flex items-center gap-2",e),...t}),De=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageCustomAction,{className:r.cn(o.button({size:"xs",variant:"outline"}),"text-xs h-[30px] text-gray-700 dark:text-gray-200 gap-1",e),...t}),We=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAction,{className:r.cn(o.button({variant:"iconButton",size:"sm"}),"data-[upvoted]:text-inkeep-primary-medium","data-[downvoted]:text-inkeep-primary-medium","data-[upvoted]:dark:text-inkeep-expanded-primary-300","data-[downvoted]:dark:text-inkeep-expanded-primary-300","dark:hover:text-inkeep-expanded-primary-300 px-2 text-md",e),...t}),qe=a.EmbeddedChatPrimitiveMessageSources,_e=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourcesHeader,{className:r.cn("block text-xs font-medium my-2 text-gray-700 dark:text-gray-dark-300",e),...t}),ze=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourcesList,{className:r.cn("w-full relative flex flex-col gap-3 py-[1px]",e),...t}),Qe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItem,{className:r.cn(m.citation({slot:"root"}),e),...t}),Re=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemBreadcrumbs,{className:r.cn(m.citation({slot:"breadcrumbs"}),e),...t}),Oe=({className:e,...t})=>d.jsx(a.MessageSourceItemBreadcrumbIcon,{className:r.cn(m.citation({slot:"breadcrumbsIcon"}),e),...t}),Ve=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemIcon,{className:r.cn(m.citation({slot:"icon"}),e),...t}),Ge=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemTitle,{className:r.cn(m.citation({slot:"title"}),e),...t}),$e=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemTag,{className:r.cn(m.citation({slot:"tag"}),e),...t}),Je=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemDescription,{className:r.cn(m.citation({slot:"description"}),e),...t}),Ke=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemDescriptionPart,{className:r.cn(m.citation({slot:"descriptionPart"}),e),...t}),Ue=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemIndicator,{className:r.cn(m.citation({slot:"indicator"}),e),...t}),Xe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFooter,{className:r.cn("bg-white dark:bg-gray-dark-950 pt-6 pb-4","px-5 relative","before:absolute before:block before:top-0 before:left-0","before:pointer-events-none before:w-full before:h-3","before:bg-[linear-gradient(transparent,_white)] dark:before:bg-[linear-gradient(transparent,_var(--ikp-color-gray-dark-950))]","before:-translate-y-full",e),...t}),Ye=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveInputFieldset,{className:r.cn("relative flex flex-col w-full py-1 px-2","rounded-lg items-stretch shadow-md dark:shadow-none","bg-gray-50 dark:bg-white-alpha-50",e),...t}),Ze=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveInputGroup,{className:r.cn("flex",e),...t}),et=l.forwardRef(({className:e,...t},n)=>d.jsx(a.EmbeddedChatPrimitiveInput,{ref:n,className:r.cn("min-h-[unset] text-sm overflow-hidden w-full resize-none","placeholder:text-gray-500 dark:placeholder:text-gray-dark-200","border-none outline-none shadow-none bg-transparent","px-3 py-2 mr-2 max-h-[200px] overflow-y-auto disabled:cursor-not-allowed",e),...t})),tt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveSendButton,{className:r.cn(o.button({}),"group","bg-transparent relative size-9 min-w-[unset] rounded-lg transition-all ease-linear","text-inkeep-primary-medium dark:text-inkeep-expanded-primary-500","active:bg-gray-300 dark:active:bg-white-alpha-100","hover:bg-gray-200 hover:text-inkeep-primary-strong","dark:hover:bg-white-alpha-100 dark:hover:text-inkeep-expanded-primary-300","disabled:text-gray-500 dark:disabled:text-white","disabled:cursor-not-allowed hover:disabled:[background:none] active:disabled:[background:none]",e),...t}),at=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveSendButtonIcon,{className:r.cn(j.icon(),"text-inherit group-disabled:opacity-60 ",e),...t}),dt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBar,{className:r.cn("flex items-center justify-between","flex-wrap gap-2 px-1 pt-2 pb-1",e),...t}),rt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarList,{className:r.cn("flex items-center gap-2 flex-wrap px-3 min-w-0",e),...t}),st=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarAttachment,{className:r.cn(c.attachment({slot:"root"}),e),...t}),ot=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarAttachmentIcon,{className:r.cn(c.attachment({slot:"icon"}),e),...t}),mt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarAttachmentTitle,{className:r.cn(c.attachment({slot:"title"}),e),...t}),it=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarAttachmentDelete,{className:r.cn(c.attachment({slot:"delete"}),e),...t}),nt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarActions,{className:r.cn("flex items-center justify-between","gap-2 flex-wrap px-3",e),...t}),ct=a.EmbeddedChatPrimitiveAttachmentsBarInfoTip,lt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarInfoTipIcon,{className:r.cn("cursor-pointer text-sm text-gray-600","dark:text-white-alpha-600",e),...t}),bt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarInfoTipText,{className:r.cn("bg-white text-gray-800 fill-white","dark:bg-gray-dark-800 dark:text-white-alpha-950 dark:fill-gray-dark-800","shadow-[0_8px_30px_rgba(0,0,0,0.12)] z-dropdown","px-3 py-2 rounded-md text-sm font-normal max-w-[200px]",e),...t}),ht=a.EmbeddedChatPrimitiveAttachmentsBarInfoTipArrow,xt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarInputs,{className:r.cn("contents",e),...t}),Ct=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarInput,{className:r.cn(o.button({variant:"outline",size:"xs"}),"light:text-gray-700 gap-1",e),...t}),pt=a.EmbeddedChatPrimitiveAttachmentsBarModal,ut=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalOverlay,{className:r.cn(s.modal({slot:"overlay"}),e),...t}),Et=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalContent,{className:r.cn(s.modal({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),gt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalHeader,{className:r.cn(s.modal({slot:"header"}),"px-0 pt-0 pb-8 gap-y-2","font-semibold",e),...t}),Ft=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalHeading,{className:r.cn("w-full semibold",e),...t}),vt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalDescription,{className:r.cn("text-gray-700 dark:text-white-alpha-700","text-sm font-normal w-full",e),...t}),ft=a.EmbeddedChatPrimitiveAttachmentsBarModalHelp,At=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalClose,{className:r.cn(s.modal({slot:"close"}),e),...t}),kt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalBody,{className:r.cn(s.modal({slot:"body"}),"p-0",e),...t}),Pt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarForm,{className:r.cn("flex flex-col gap-8",e),...t}),wt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormTitle,{className:r.cn("flex flex-col gap-2",e),...t}),Mt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormTitleLabel,{className:r.cn("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),yt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormTitleInput,{className:r.cn("h-9 px-3 rounded-md border","focus:outline-none focus:[--shadow-color:theme(colors.blue.500)]","data-[invalid]:[--shadow-color:theme(colors.red.500)]","shadow-[0_0_0_2px_var(--shadow-color)]",e),...t}),jt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormTitleError,{className:r.cn("text-sm text-red-500",e),...t}),Nt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormContent,{className:r.cn("flex flex-col gap-2",e),...t}),It=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormContentLabel,{className:r.cn("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),Bt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormContentInput,{className:r.cn(b.input({size:"md",variant:"outline"}),"min-h-20 px-3 py-1 text-sm",e),...t}),St=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormContentError,{className:r.cn("text-sm text-red-500",e),...t}),Tt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormSubmitButton,{className:r.cn(o.button({variant:"primaryFilled"}),"ml-auto",e),...t}),Ht=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveActionBar,{className:r.cn("mt-4 flex items-start justify-between flex-wrap-reverse gap-2.5",e),...t}),Lt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveActions,{className:r.cn("flex items-center gap-2.5 flex-wrap",e),...t}),Dt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveTaglineContainer,{className:r.cn("flex items-center whitespace-nowrap",e),...t}),Wt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveTaglineText,{className:r.cn("text-xs text-gray-500 dark:text-white-alpha-600",e),...t}),qt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveTaglineLogo,{className:r.cn("text-gray-500 dark:text-white-alpha-600","w-5 ml-1 mr-0.5",e),...t}),_t=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveTaglineBrandName,{className:r.cn(N.link(),"inline-flex text-1sm text-gray-500","dark:text-white-alpha-600 font-medium",e),...t}),g=r.cn(o.button({size:"xs",variant:"outline"}),"text-gray-700 dark:text-white-alpha-700"),zt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatAction,{className:r.cn(g,e),...t}),Qt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatActionLabel,{className:r.cn("cursor-pointer",e),...t}),Rt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatActionFeedback,{className:r.cn("bg-white text-gray-800 fill-white","dark:bg-gray-dark-800 dark:text-white-alpha-900 dark:fill-gray-dark-800","shadow-[0_8px_30px_rgba(0,0,0,0.12)]","px-2 py-3 rounded-md text-sm font-normal",e),...t}),Ot=a.EmbeddedChatPrimitiveHelpActions,Vt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatHelpAction,{className:r.cn(g,e),...t}),Gt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsTrigger,{className:r.cn(g,e),...t}),$t=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenu,{className:r.cn(p.popover({slot:"content"}),"gap-3 px-3 py-4 ","w-[254px] text-sm font-normal",e),...t}),Jt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenuArrow,{className:r.cn(p.popover({slot:"arrow"}),e),...t}),Kt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenuItem,{className:r.cn("flex items-center cursor-pointer hover:underline",e),...t}),Ut=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenuItemIcon,{className:r.cn("mr-2 text-inkeep-primary-medium",e),...t}),Xt=a.EmbeddedChatPrimitiveFeedbackModal,Yt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalOverlay,{className:r.cn(s.modal({slot:"overlay"}),e),...t}),Zt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalContent,{className:r.cn(s.modal({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-[480px]",e),...t}),ea=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalHeader,{className:r.cn(s.modal({slot:"header"}),"px-0 pt-0 pb-8","font-semibold",e),...t}),ta=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalClose,{className:r.cn(s.modal({slot:"close"}),e),...t}),aa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalBody,{className:r.cn(s.modal({slot:"body"}),"p-0",e),...t}),da=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackForm,{className:r.cn("flex flex-col gap-8",e),...t}),ra=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItem,{className:r.cn("flex flex-wrap items-center","gap-[.75rem_0.5rem]",e),...t}),sa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemCheckbox,{className:r.cn(C.checkbox({slot:"root"}),e),...t}),oa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator,{className:r.cn(C.checkbox({slot:"indicator"}),e),...t}),ma=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemLabel,{className:r.cn("select-none cursor-pointer font-medium text-sm","text-gray-700 dark:text-white-alpha-700",e),...t}),ia=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemDescription,{className:r.cn("flex-[0_0_100%]","min-h-20 border rounded-md","px-3 py-2 text-sm",e),...t}),na=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackSubmitButton,{className:r.cn(o.button({variant:"primaryFilled"}),"ml-auto",e),...t}),ca=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormWrapper,{className:r.cn("w-full overflow-y-auto [scrollbar-width:thin]",e),...t}),la=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveForm,{className:r.cn(u.scrollable({section:"content"}),"relative pt-4 pb-8 gap-8","items-start justify-center w-full","px-6 ikp-md:px-10 ikp-md:pb-12",e),...t}),ba=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormClose,{className:r.cn(o.button({variant:"ghost"}),"absolute right-1 top-1","text-xl text-gray-500 dark:text-white-alpha-500 w-10 h-10 z-modal",e),...t}),ha=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormHeader,{className:r.cn("mt-8 flex flex-col gap-6",e),...t}),xa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormHeading,{className:r.cn("font-semibold text-xl leading-5",e),...t}),Ca=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormDescription,{className:r.cn("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),pa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormContent,{className:r.cn("w-full space-y-8",e),...t}),ua=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormField,{className:r.cn("group flex flex-col gap-2 data-[hidden]:hidden","data-[input-type=checkbox]:flex-row data-[input-type=checkbox]:flex-wrap data-[input-type=checkbox]:items-center",e),...t}),Ea=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldLabel,{className:r.cn("font-medium text-sm text-gray-700","dark:text-white-alpha-700 ","font-medium relative","data-[required]:after:absolute",'data-[required]:after:[content:"*"]',"data-[required]:after:ml-1","data-[required]:after:mt-0","data-[required]:after:text-red-500","dark:data-[required]:after:text-red-300",'dark:data-[required]:after:[content:"*"]',e),...t}),ga=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldText,{className:r.cn(b.input({size:"md",variant:"outline"}),e),...t}),Fa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldEmail,{className:r.cn(b.input({size:"md",variant:"outline"}),e),...t}),va=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldFile,{className:r.cn(b.input({size:"md",variant:"outline"}),"text-sm pl-2 file:h-full file:cursor-pointer py-0","file:bg-transparent file:border-none file:font-medium","file:text-sm file:text-gray-700 dark:file:text-white-alpha-700",e),...t}),fa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldTextArea,{className:r.cn(b.input({size:"md",variant:"outline"}),"min-h-20 px-3 py-2 text-sm",e),...t}),Aa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldCheckbox,{className:r.cn(C.checkbox({slot:"root"}),e),...t}),ka=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldCheckboxIndicator,{className:r.cn(C.checkbox({slot:"indicator"}),e),...t}),Pa=a.EmbeddedChatPrimitiveFormFieldSelect,wa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectTrigger,{className:r.cn(h.select({slot:"trigger"}),e),...t}),Ma=a.EmbeddedChatPrimitiveFormFieldSelectValue,ya=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectIcon,{className:r.cn("h-4 w-4 opacity-45",e),...t}),ja=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectContent,{className:r.cn(h.select({slot:"content"}),e),...t}),Na=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectViewport,{className:r.cn(h.select({slot:"viewport"}),e),...t}),Ia=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectItem,{className:r.cn(h.select({slot:"item"}),e),...t}),Ba=a.EmbeddedChatPrimitiveFormFieldSelectItemText,Sa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectItemIndicator,{className:r.cn(h.select({slot:"itemIndicator"}),e),...t}),Ta=a.EmbeddedChatPrimitiveFormFieldCombobox,Ha=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxControl,{className:r.cn(i.combobox({slot:"control"}),e),...t}),La=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxPositioner,{className:e,...t}),Da=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxInput,{className:r.cn(i.combobox({slot:"input"}),e),...t}),Wa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxTrigger,{className:r.cn(i.combobox({slot:"trigger"}),e),...t}),qa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxSelectedTags,{className:r.cn(i.combobox({slot:"selectedTags"}),e),...t}),_a=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxContent,{className:r.cn(i.combobox({slot:"content"}),e),...t}),za=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxList,{className:r.cn(i.combobox({slot:"list"}),e),...t}),Qa=a.EmbeddedChatPrimitiveFormFieldComboboxListItems,Ra=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxListEmpty,{className:r.cn(i.combobox({slot:"emptyMessage"}),e),...t}),Oa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxItem,{className:r.cn(i.combobox({slot:"item"}),e),...t}),Va=a.EmbeddedChatPrimitiveFormFieldComboboxItemText,Ga=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxItemIndicator,{className:r.cn(i.combobox({slot:"itemIndicator"}),e),...t}),$a=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldDescription,{className:r.cn("text-sm text-gray-600 dark:text-white-alpha-600","group-data-[input-type=checkbox]:w-full group-data-[input-type=checkbox]:basis-full",e),...t}),Ja=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldError,{className:r.cn("text-sm flex items-center text-red-500 dark:text-red-300","group-data-[input-type=checkbox]:w-full group-data-[input-type=checkbox]:basis-full",e),...t}),Ka=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormError,{className:r.cn("text-red-500 dark:text-red-300",e),...t}),Ua=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFooter,{className:r.cn("flex items-center justify-end gap-4 w-full",e),...t}),Xa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormCancel,{className:r.cn(o.button({variant:"outline"}),e),...t}),Ya=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSubmit,{className:r.cn(o.button({variant:"primaryFilled"}),e),...t}),Za=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSuccess,{className:r.cn("flex flex-col items-center justify-center h-auto","m-auto px-6 py-8 ikp-md:py-14 ikp-md:px-10",e),...t}),ed=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSuccessHeading,{className:r.cn("mb-6 font-bold tracking-tight","text-3xl md:text-4xl leading-6 md:leading-5",e),...t}),td=a.EmbeddedChatPrimitiveFormSuccessMessage,ad=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSuccessButton,{className:r.cn(o.button({variant:"primaryFilled"}),"w-full mt-12 gap-2 shrink-0",e),...t});exports.MessagePart=H.EmbeddedChatMessagePart;exports.ActionBar=Ht;exports.Actions=Lt;exports.AttachmentsBar=dt;exports.AttachmentsBarActions=nt;exports.AttachmentsBarAttachment=st;exports.AttachmentsBarAttachmentDelete=it;exports.AttachmentsBarAttachmentIcon=ot;exports.AttachmentsBarAttachmentTitle=mt;exports.AttachmentsBarForm=Pt;exports.AttachmentsBarFormContent=Nt;exports.AttachmentsBarFormContentError=St;exports.AttachmentsBarFormContentInput=Bt;exports.AttachmentsBarFormContentLabel=It;exports.AttachmentsBarFormSubmitButton=Tt;exports.AttachmentsBarFormTitle=wt;exports.AttachmentsBarFormTitleError=jt;exports.AttachmentsBarFormTitleInput=yt;exports.AttachmentsBarFormTitleLabel=Mt;exports.AttachmentsBarInfoTip=ct;exports.AttachmentsBarInfoTipArrow=ht;exports.AttachmentsBarInfoTipIcon=lt;exports.AttachmentsBarInfoTipText=bt;exports.AttachmentsBarInput=Ct;exports.AttachmentsBarInputs=xt;exports.AttachmentsBarList=rt;exports.AttachmentsBarModal=pt;exports.AttachmentsBarModalBody=kt;exports.AttachmentsBarModalClose=At;exports.AttachmentsBarModalContent=Et;exports.AttachmentsBarModalDescription=vt;exports.AttachmentsBarModalHeader=gt;exports.AttachmentsBarModalHeading=Ft;exports.AttachmentsBarModalHelp=ft;exports.AttachmentsBarModalOverlay=ut;exports.ChatAction=zt;exports.ChatActionFeedback=Rt;exports.ChatActionLabel=Qt;exports.Content=R;exports.ContentScrollArea=O;exports.ContentScrollAreaCorner=J;exports.ContentScrollAreaScrollbar=G;exports.ContentScrollAreaThumb=$;exports.ContentScrollAreaViewport=V;exports.Disclaimer=K;exports.DisclaimerArrow=ee;exports.DisclaimerContent=Y;exports.DisclaimerLabel=U;exports.DisclaimerText=Z;exports.DisclaimerTrigger=X;exports.DynamicComponent=Se;exports.ExampleQuestion=re;exports.ExampleQuestionButton=se;exports.ExampleQuestions=te;exports.ExampleQuestionsLabel=ae;exports.ExampleQuestionsList=de;exports.FeedbackForm=da;exports.FeedbackItem=ra;exports.FeedbackItemCheckbox=sa;exports.FeedbackItemCheckboxIndicator=oa;exports.FeedbackItemDescription=ia;exports.FeedbackItemLabel=ma;exports.FeedbackModal=Xt;exports.FeedbackModalBody=aa;exports.FeedbackModalClose=ta;exports.FeedbackModalContent=Zt;exports.FeedbackModalHeader=ea;exports.FeedbackModalOverlay=Yt;exports.FeedbackSubmitButton=na;exports.Footer=Xe;exports.Form=la;exports.FormCancel=Xa;exports.FormClose=ba;exports.FormContent=pa;exports.FormDescription=Ca;exports.FormError=Ka;exports.FormField=ua;exports.FormFieldCheckbox=Aa;exports.FormFieldCheckboxIndicator=ka;exports.FormFieldCombobox=Ta;exports.FormFieldComboboxContent=_a;exports.FormFieldComboboxControl=Ha;exports.FormFieldComboboxInput=Da;exports.FormFieldComboboxItem=Oa;exports.FormFieldComboboxItemIndicator=Ga;exports.FormFieldComboboxItemText=Va;exports.FormFieldComboboxList=za;exports.FormFieldComboboxListEmpty=Ra;exports.FormFieldComboboxListItems=Qa;exports.FormFieldComboboxPositioner=La;exports.FormFieldComboboxSelectedTags=qa;exports.FormFieldComboboxTrigger=Wa;exports.FormFieldDescription=$a;exports.FormFieldEmail=Fa;exports.FormFieldError=Ja;exports.FormFieldFile=va;exports.FormFieldLabel=Ea;exports.FormFieldSelect=Pa;exports.FormFieldSelectContent=ja;exports.FormFieldSelectIcon=ya;exports.FormFieldSelectItem=Ia;exports.FormFieldSelectItemIndicator=Sa;exports.FormFieldSelectItemText=Ba;exports.FormFieldSelectTrigger=wa;exports.FormFieldSelectValue=Ma;exports.FormFieldSelectViewport=Na;exports.FormFieldText=ga;exports.FormFieldTextArea=fa;exports.FormFooter=Ua;exports.FormHeader=ha;exports.FormHeading=xa;exports.FormSubmit=Ya;exports.FormSuccess=Za;exports.FormSuccessButton=ad;exports.FormSuccessHeading=ed;exports.FormSuccessMessage=td;exports.FormWrapper=ca;exports.Header=q;exports.HeaderToolbar=_;exports.HeaderToolbarWrapper=z;exports.HelpAction=Vt;exports.HelpActions=Ot;exports.HelpActionsMenu=$t;exports.HelpActionsMenuArrow=Jt;exports.HelpActionsMenuItem=Kt;exports.HelpActionsMenuItemIcon=Ut;exports.HelpActionsTrigger=Gt;exports.Input=et;exports.InputFieldset=Ye;exports.InputGroup=Ze;exports.IntroMessageWrapper=be;exports.Markdown=Te;exports.MessageAction=We;exports.MessageAttachments=fe;exports.MessageAttachmentsItem=ke;exports.MessageAttachmentsItemIcon=Pe;exports.MessageAttachmentsItemTitle=we;exports.MessageAttachmentsList=Ae;exports.MessageAttachmentsPreview=Me;exports.MessageAttachmentsPreviewBody=Be;exports.MessageAttachmentsPreviewClose=Ie;exports.MessageAttachmentsPreviewContent=je;exports.MessageAttachmentsPreviewHeader=Ne;exports.MessageAttachmentsPreviewOverlay=ye;exports.MessageAvatar=Ce;exports.MessageAvatarContent=pe;exports.MessageAvatarFallback=ue;exports.MessageAvatarImage=Ee;exports.MessageContent=ve;exports.MessageContentWrapper=Fe;exports.MessageCustomAction=De;exports.MessageCustomActions=Le;exports.MessageHeader=he;exports.MessageLoading=xe;exports.MessageName=ge;exports.MessageSourceItem=Qe;exports.MessageSourceItemBreadcrumbIcon=Oe;exports.MessageSourceItemBreadcrumbs=Re;exports.MessageSourceItemDescription=Je;exports.MessageSourceItemDescriptionPart=Ke;exports.MessageSourceItemIcon=Ve;exports.MessageSourceItemIndicator=Ue;exports.MessageSourceItemTag=$e;exports.MessageSourceItemTitle=Ge;exports.MessageSources=qe;exports.MessageSourcesHeader=_e;exports.MessageSourcesList=ze;exports.MessageToolbar=He;exports.MessageWrapper=le;exports.Messages=ce;exports.Provider=L;exports.Root=W;exports.SendButton=tt;exports.SendButtonIcon=at;exports.TaglineBrandName=_t;exports.TaglineContainer=Dt;exports.TaglineLogo=qt;exports.TaglineText=Wt;exports.ToolbarHeader=Q;exports.Workflow=ne;exports.Workflows=oe;exports.WorkflowsLabel=me;exports.WorkflowsList=ie;exports.Wrapper=D;
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),w=require("../../primitives/providers/chat-history-provider.cjs"),M=require("../../primitives/providers/config-provider.cjs"),a=require("../../primitives/components/embedded-chat.cjs"),j=require("../../primitives/components/embedded-chat/chat-provider.cjs"),N=require("../../primitives/hooks/use-resize-observer.cjs"),I=require("../../primitives/utils/compose-refs.cjs"),B=require("./ui/recipes/ai-chat-page-wrapper.cjs"),c=require("./ui/recipes/attachment.cjs"),r=require("./ui/recipes/button.cjs"),C=require("./ui/recipes/checkbox.cjs"),m=require("./ui/recipes/citation.cjs"),n=require("./ui/recipes/combobox.cjs"),S=require("./ui/recipes/icon.cjs"),h=require("./ui/recipes/input.cjs"),T=require("./ui/recipes/link.cjs"),o=require("./ui/recipes/modal.cjs"),p=require("./ui/recipes/popover.cjs"),u=require("./ui/recipes/scrollable.cjs"),b=require("./ui/recipes/select.cjs"),H=require("class-variance-authority"),L=require("merge-anything"),l=require("react"),s=require("../utils.cjs"),D=require("./ui/markdown-styles.cjs"),q=require("./loading-indicator.cjs"),W=require("./embedded-chat/session-loading.cjs"),_=require("./message.cjs"),z=j.ChatProvider,Q=l.forwardRef(({className:e,size:t,variant:i,...g},x)=>d.jsx(a.EmbeddedChatPrimitiveWrapper,{ref:x,className:s.cn(B.aiChatPageWrapper({size:t,variant:i}),"data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950","data-[composite]:w-full","max-h-[min(85vh,850px)]","[[data-sidebar]_&]:m-[unset] [[data-sidebar]_&]:mt-auto","[[data-sidebar]_&]:h-full [[data-sidebar]_&]:w-full","[[data-sidebar]_&]:max-h-[unset]","[[data-chat-bubble]_&]:max-h-[unset]","[[data-chat-bubble]_&]:h-full [[data-chat-bubble]_&]:w-full [[data-chat-bubble]_&]:rounded-[inherit]","group/chat-history","data-[chat-history-layout=sidepane]:flex-row",e),...g})),R=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveRoot,{className:s.cn(u.scrollable({section:"wrapper"}),"rounded-[inherit] font-body","group-data-[chat-history-layout=sidepane]/chat-history:flex-1","group-data-[chat-history-layout=sidepane]/chat-history:min-w-0","group-data-[stack-history-open]/chat-history:!hidden",e),...t}),O=({className:e,...t})=>d.jsx(a.Header,{className:s.cn(u.scrollable({section:"header"}),"flex items-center","bg-white dark:bg-gray-dark-950","data-[show-toolbar]:after:absolute","data-[show-toolbar]:after:left-0","data-[show-toolbar]:after:top-full","data-[show-toolbar]:after:h-[1rem]","data-[show-toolbar]:after:w-full","data-[show-toolbar]:after:text-white","data-[show-toolbar]:after:dark:text-gray-dark-950","data-[show-toolbar]:after:bg-[linear-gradient(currentColor,_transparent)]","data-[show-toolbar]:after:z-start",e),...t}),V=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHeaderToolbar,{className:s.cn("flex items-center gap-3 w-full","px-5 py-2 pt-3 justify-between *:m-0",'data-[show-widget-toggle=""]:pt-4',e),...t}),G=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveToolbarHeaderWrapper,{className:s.cn("flex items-center gap-1.5",e),...t}),K=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveToolbarHeader,{className:s.cn("text-gray-600 dark:text-gray-dark-100 text-sm",e),...t}),E=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatHistoryButtonIcon,{className:s.cn("text-sm",e),...t}),v=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatHistoryButton,{className:s.cn(r.button({size:"xs",variant:"ghost"}),"gap-1.5 text-gray-600 hover:text-gray-800 dark:text-white dark:opacity-60 dark:hover:text-white dark:hover:opacity-95",e),...t}),$=()=>{const{aiChatSettings:e}=M.useInkeepConfig(),{setIsOpen:t,isOpen:i}=w.useChatHistory();return e.isChatHistoryButtonVisible?d.jsxs(v,{onClick:()=>t(!i),"aria-label":"Chat history",children:[d.jsx(E,{iconKey:"chatHistoryPanel",className:"!hidden group-data-[chat-history-layout=sidepane]/chat-history:!block"}),d.jsxs("span",{className:"flex items-center gap-1.5 group-data-[chat-history-layout=sidepane]/chat-history:hidden",children:[d.jsx(E,{iconKey:"chatHistory"}),"Chat history"]})]}):null},J=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContent,{className:s.cn(u.scrollable({section:"content"}),"justify-end",e),...t}),U=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContentScrollArea,{className:s.cn("overflow-hidden",e),...t}),X=l.forwardRef(({className:e,...t},i)=>d.jsx(a.EmbeddedChatPrimitiveContentScrollAreaViewport,{ref:i,className:s.cn("h-full w-full rounded-[inherit]","[[data-chat-bubble]_&]:overscroll-contain",e),...t})),Y=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContentScrollAreaScrollbar,{className:s.cn("flex select-none touch-none p-0.5","transition-colors duration-[160ms] ease-in-out","w-2.5 border-l border-l-transparent",e),...t}),Z=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContentScrollAreaThumb,{className:s.cn("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),ee=a.EmbeddedChatPrimitiveContentScrollAreaCorner,te=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimer,{className:s.cn("ml-auto text-sm flex items-center gap-1",e),...t}),ae=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerLabel,{className:s.cn("text-gray-700 dark:text-gray-dark-100",e),...t}),de=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerTrigger,{className:s.cn("cursor-pointer text-gray-700 dark:text-gray-dark-100","focus-visible:ring-gray-500 dark:focus-visible:ring-white-alpha-900 focus-visible:ring-2 focus:outline-none",e),...t}),se=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerContent,{className:s.cn(p.popover({slot:"content"}),"px-4 py-2 font-normal text-sm","w-[250px] sm:w-[420px]",e),...t}),re=a.EmbeddedChatPrimitiveDisclaimerText,oe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerArrow,{className:s.cn(p.popover({slot:"arrow"}),e),...t}),ie=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestions,{className:s.cn("mt-4 flex flex-col gap-2",e),...t}),me=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestionsLabel,{className:s.cn("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),ne=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestionsList,{className:s.cn("flex flex-col","ikp-md:flex-row","flex-wrap gap-2",e),...t}),ce=l.forwardRef(({className:e,style:t,...i},g)=>{const x=l.useRef(null),k=I.composeRefs(g,x),{width:A=0,height:y=0}=N.useResizeObserver({ref:x,box:"border-box"}),P=Math.max(y,A);return d.jsx(a.EmbeddedChatPrimitiveExampleQuestion,{ref:k,style:{"--before-size":`${P+100}px`,...t},className:s.cn("flex items-center justify-center relative z-base","min-h-9 rounded-md overflow-hidden","before:absolute before:z-hide","before:bg-gray-300 dark:before:bg-gray-dark-950","before:bg-no-repeat before:[background-position:0_0]","before:[background-size:cover] before:m-auto","before:w-[--before-size] before:h-[--before-size]","data-[highlight]:first:before:[background-image:conic-gradient(transparent,theme(colors.inkeep-expanded-primary.600),transparent_30%)]","dark:data-[highlight]:first:before:[background-image:conic-gradient(transparent,theme(colors.inkeep-expanded-primary.300),transparent_30%)]","data-[highlight]:first:before:animate-[spin_4s_linear_infinite]","after:absolute after:z-base after:top-[1px] after:left-[1px]","after:w-[calc(100%-2px)] after:h-[calc(100%-2px)]","after:rounded-[5px] after:bg-white dark:after:bg-gray-dark-950",e),...i})}),le=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestionButton,{className:s.cn(r.button({size:"sm"}),"text-sm font-normal h-auto w-full py-1.5 z-start","whitespace-normal text-center leading-[unset]","border border-solid","text-gray-800 dark:text-white-alpha-950","border-white-alpha-200","[&:where(:hover,:focus)]:bg-slate-400/5","dark:[&:where(:hover,:focus)]:bg-white-alpha-100 focus:z-start",e),...t}),he=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveWorkflows,{className:s.cn("mt-4 flex flex-col gap-2",e),...t}),be=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveWorkflowsLabel,{className:s.cn("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),xe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveWorkflowsList,{className:s.cn("flex flex-wrap gap-2",e),...t}),Ce=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveWorkflow,{className:s.cn(r.button({size:"sm"}),"min-h-9 px-3 py-2 h-auto font-medium","text-sm gap-2 whitespace-normal border ","text-inkeep-primary-strong dark:text-inkeep-expanded-primary-300","border-inkeep-expanded-primary-200","dark:border-inkeep-expanded-primary-200","hover:bg-inkeep-primary-light-subtle","dark:hover:bg-white-alpha-100",e),...t}),pe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessages,{className:s.cn("flex flex-col w-full min-w-0 min-h-0 text-sm relative",e),...t}),f=H.cva(["flex relative w-full overflow-hidden ikp-md:py-6 py-4","px-5","flex-col ikp-md:flex-row","min-w-0 grow-[2] data-[role=user]:grow-0"]),ue=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageWrapper,{className:s.cn(f(),e),...t}),ge=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveIntroMessageWrapper,{className:s.cn(f(),e),...t}),Ee=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageHeader,{className:s.cn("flex justify-start overflow-hidden shrink-0 select-none","flex-row ikp-md:flex-col","items-center ikp-md:items-start","ikp-md:pl-3","ikp-md:pr-6","mb-4 ikp-md:mb-0","data-[role=user]:hidden",e),...t}),Fe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageLoading,{className:s.cn("flex items-center gap-3 h-auto w-full",e),children:d.jsx(q.LoadingIndicator,{}),...t}),ve=({className:e})=>d.jsx("div",{className:s.cn("w-full",e),children:d.jsx(W.MessagesSessionLoading,{})}),fe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatar,{className:s.cn("flex items-center justify-center rounded-full","h-auto",e),...t}),ke=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatarContent,{className:s.cn("relative flex h-6 w-6 shrink-0 overflow-hidden","data-[username]:bg-inkeep-primary-lighter","dark:data-[username]:bg-inkeep-expanded-primary-300","text-inkeep-primary-stronger font-semibold ","data-[role=user]:hidden","justify-center items-center",e),...t}),Ae=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatarFallback,{className:s.cn("hidden data-[role=user]:block",e),...t}),ye=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatarImage,{className:s.cn("data-[type=icon]:data-[role=user]:text-inkeep-primary-medium","dark:data-[type=icon]:data-[role=user]:text-inkeep-expanded-primary-300","data-[type=icon]:data-[role=assistant]:[--start-color:theme(colors.inkeep-expanded-primary.300)]","data-[type=icon]:data-[role=assistant]:[--end-color:theme(colors.inkeep-expanded-primary.700)]","dark:data-[type=icon]:data-[role=assistant]:[--start-color:theme(colors.inkeep-expanded-primary.50)]","dark:data-[type=icon]:data-[role=assistant]:[--end-color:theme(colors.inkeep-expanded-primary.300)]",e),...t}),Pe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageName,{className:s.cn("py-1 ml-3","text-1sm font-medium","text-gray-600 dark:text-white-alpha-600","data-[role=user]:hidden","ikp-md:hidden",e),...t}),we=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageContentWrapper,{className:s.cn("overflow-hidden flex flex-col","justify-start grow-2 w-full","data-[role=user]:justify-end","data-[role=user]:items-end","data-[role=user]:shrink-2","data-[role=user]:grow-0","ikp-md:pr-3",e),...t}),Me=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageContent,{className:s.cn("text-sm flex-wrap break-words min-w-0 shrink-1 max-w-full data-[role=user]:py-2 data-[role=user]:px-4 data-[role=user]:bg-gray-100 data-[role=user]:dark:bg-white-alpha-100 rounded-3xl xs:data-[role=user]:max-w-[75%] rounded-br-sm",e),...t}),je=a.EmbeddedChatPrimitiveMessageAttachments,Ne=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsList,{className:s.cn("flex flex-wrap gap-2",e),...t}),Ie=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsItem,{className:s.cn(r.button({variant:"ghost"}),c.attachment({slot:"root"}),"font-normal px-2",e),...t}),Be=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsItemIcon,{className:s.cn(c.attachment({slot:"icon"}),e),...t}),Se=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsItemTitle,{className:s.cn(c.attachment({slot:"title"}),e),...t}),Te=a.EmbeddedChatPrimitiveMessageAttachmentsPreview,He=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsPreviewOverlay,{className:s.cn(o.modal({slot:"overlay"}),e),...t}),Le=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsPreviewContent,{className:s.cn(o.modal({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),De=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsPreviewHeader,{className:s.cn(o.modal({slot:"header"}),"px-0 pt-0 pb-8 flex flex-col gap-6","font-semibold",e),...t}),qe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsPreviewClose,{className:s.cn(o.modal({slot:"close"}),e),...t}),We=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsPreviewBody,{className:s.cn(o.modal({slot:"body"}),"p-0",e),...t}),_e=a.EmbeddedChatPrimitiveDynamicComponent,ze=({componentStyles:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMarkdown,{componentStyles:L.merge(D.markdownStyles,e??{}),...t}),Qe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageToolbar,{className:s.cn("flex items-center mt-2 mb-3",e),...t}),Re=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageCustomActions,{className:s.cn("mr-auto flex items-center gap-2",e),...t}),Oe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageCustomAction,{className:s.cn(r.button({size:"xs",variant:"outline"}),"text-xs h-[30px] text-gray-700 dark:text-gray-200 gap-1",e),...t}),Ve=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAction,{className:s.cn(r.button({variant:"iconButton",size:"sm"}),"data-[upvoted]:text-inkeep-primary-medium","data-[downvoted]:text-inkeep-primary-medium","data-[upvoted]:dark:text-inkeep-expanded-primary-300","data-[downvoted]:dark:text-inkeep-expanded-primary-300","dark:hover:text-inkeep-expanded-primary-300 px-2 text-md",e),...t}),Ge=a.EmbeddedChatPrimitiveMessageSources,Ke=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourcesHeader,{className:s.cn("block text-xs font-medium my-2 text-gray-700 dark:text-gray-dark-300",e),...t}),$e=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourcesList,{className:s.cn("w-full relative flex flex-col gap-3 py-[1px]",e),...t}),Je=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItem,{className:s.cn(m.citation({slot:"root"}),e),...t}),Ue=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemBreadcrumbs,{className:s.cn(m.citation({slot:"breadcrumbs"}),e),...t}),Xe=({className:e,...t})=>d.jsx(a.MessageSourceItemBreadcrumbIcon,{className:s.cn(m.citation({slot:"breadcrumbsIcon"}),e),...t}),Ye=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemIcon,{className:s.cn(m.citation({slot:"icon"}),e),...t}),Ze=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemTitle,{className:s.cn(m.citation({slot:"title"}),e),...t}),et=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemTag,{className:s.cn(m.citation({slot:"tag"}),e),...t}),tt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemDescription,{className:s.cn(m.citation({slot:"description"}),e),...t}),at=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemDescriptionPart,{className:s.cn(m.citation({slot:"descriptionPart"}),e),...t}),dt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemIndicator,{className:s.cn(m.citation({slot:"indicator"}),e),...t}),st=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFooter,{className:s.cn("bg-white dark:bg-gray-dark-950 pt-6 pb-4","px-5 relative","before:absolute before:block before:top-0 before:left-0","before:pointer-events-none before:w-full before:h-3","before:bg-[linear-gradient(transparent,_white)] dark:before:bg-[linear-gradient(transparent,_var(--ikp-color-gray-dark-950))]","before:-translate-y-full",e),...t}),rt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveInputFieldset,{className:s.cn("relative flex flex-col w-full py-1 px-2","rounded-lg items-stretch shadow-md dark:shadow-none","bg-gray-50 dark:bg-white-alpha-50",e),...t}),ot=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveInputGroup,{className:s.cn("flex",e),...t}),it=l.forwardRef(({className:e,...t},i)=>d.jsx(a.EmbeddedChatPrimitiveInput,{ref:i,className:s.cn("min-h-[unset] text-sm overflow-hidden w-full resize-none","placeholder:text-gray-500 dark:placeholder:text-gray-dark-200","border-none outline-none shadow-none bg-transparent","px-3 py-2 mr-2 max-h-[200px] overflow-y-auto disabled:cursor-not-allowed",e),...t})),mt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveSendButton,{className:s.cn(r.button({}),"group","bg-transparent relative size-9 min-w-[unset] rounded-lg transition-all ease-linear","text-inkeep-primary-medium dark:text-inkeep-expanded-primary-500","active:bg-gray-300 dark:active:bg-white-alpha-100","hover:bg-gray-200 hover:text-inkeep-primary-strong","dark:hover:bg-white-alpha-100 dark:hover:text-inkeep-expanded-primary-300","disabled:text-gray-500 dark:disabled:text-white","disabled:cursor-not-allowed hover:disabled:[background:none] active:disabled:[background:none]",e),...t}),nt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveSendButtonIcon,{className:s.cn(S.icon(),"text-inherit group-disabled:opacity-60 ",e),...t}),ct=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBar,{className:s.cn("flex items-center justify-between","flex-wrap gap-2 px-1 pt-2 pb-1",e),...t}),lt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarList,{className:s.cn("flex items-center gap-2 flex-wrap px-3 min-w-0",e),...t}),ht=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarAttachment,{className:s.cn(c.attachment({slot:"root"}),e),...t}),bt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarAttachmentIcon,{className:s.cn(c.attachment({slot:"icon"}),e),...t}),xt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarAttachmentTitle,{className:s.cn(c.attachment({slot:"title"}),e),...t}),Ct=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarAttachmentDelete,{className:s.cn(c.attachment({slot:"delete"}),e),...t}),pt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarActions,{className:s.cn("flex items-center justify-between","gap-2 flex-wrap px-3",e),...t}),ut=a.EmbeddedChatPrimitiveAttachmentsBarInfoTip,gt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarInfoTipIcon,{className:s.cn("cursor-pointer text-sm text-gray-600","dark:text-white-alpha-600",e),...t}),Et=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarInfoTipText,{className:s.cn("bg-white text-gray-800 fill-white","dark:bg-gray-dark-800 dark:text-white-alpha-950 dark:fill-gray-dark-800","shadow-[0_8px_30px_rgba(0,0,0,0.12)] z-dropdown","px-3 py-2 rounded-md text-sm font-normal max-w-[200px]",e),...t}),Ft=a.EmbeddedChatPrimitiveAttachmentsBarInfoTipArrow,vt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarInputs,{className:s.cn("contents",e),...t}),ft=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarInput,{className:s.cn(r.button({variant:"outline",size:"xs"}),"light:text-gray-700 gap-1",e),...t}),kt=a.EmbeddedChatPrimitiveAttachmentsBarModal,At=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalOverlay,{className:s.cn(o.modal({slot:"overlay"}),e),...t}),yt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalContent,{className:s.cn(o.modal({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),Pt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalHeader,{className:s.cn(o.modal({slot:"header"}),"px-0 pt-0 pb-8 gap-y-2","font-semibold",e),...t}),wt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalHeading,{className:s.cn("w-full semibold",e),...t}),Mt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalDescription,{className:s.cn("text-gray-700 dark:text-white-alpha-700","text-sm font-normal w-full",e),...t}),jt=a.EmbeddedChatPrimitiveAttachmentsBarModalHelp,Nt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalClose,{className:s.cn(o.modal({slot:"close"}),e),...t}),It=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalBody,{className:s.cn(o.modal({slot:"body"}),"p-0",e),...t}),Bt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarForm,{className:s.cn("flex flex-col gap-8",e),...t}),St=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormTitle,{className:s.cn("flex flex-col gap-2",e),...t}),Tt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormTitleLabel,{className:s.cn("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),Ht=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormTitleInput,{className:s.cn("h-9 px-3 rounded-md border","focus:outline-none focus:[--shadow-color:theme(colors.blue.500)]","data-[invalid]:[--shadow-color:theme(colors.red.500)]","shadow-[0_0_0_2px_var(--shadow-color)]",e),...t}),Lt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormTitleError,{className:s.cn("text-sm text-red-500",e),...t}),Dt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormContent,{className:s.cn("flex flex-col gap-2",e),...t}),qt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormContentLabel,{className:s.cn("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),Wt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormContentInput,{className:s.cn(h.input({size:"md",variant:"outline"}),"min-h-20 px-3 py-1 text-sm",e),...t}),_t=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormContentError,{className:s.cn("text-sm text-red-500",e),...t}),zt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormSubmitButton,{className:s.cn(r.button({variant:"primaryFilled"}),"ml-auto",e),...t}),Qt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveActionBar,{className:s.cn("mt-4 flex items-start justify-between flex-wrap-reverse gap-2.5",e),...t}),Rt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveActions,{className:s.cn("flex items-center gap-2.5 flex-wrap",e),...t}),Ot=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveTaglineContainer,{className:s.cn("flex items-center whitespace-nowrap",e),...t}),Vt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveTaglineText,{className:s.cn("text-xs text-gray-500 dark:text-white-alpha-600",e),...t}),Gt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveTaglineLogo,{className:s.cn("text-gray-500 dark:text-white dark:opacity-60","w-5 ml-1 mr-0.5",e),...t}),Kt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveTaglineBrandName,{className:s.cn(T.link(),"inline-flex text-1sm text-gray-500","dark:text-white-alpha-600 font-medium",e),...t}),F=s.cn(r.button({size:"xs",variant:"outline"}),"text-gray-700 dark:text-white-alpha-700"),$t=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatAction,{className:s.cn(F,e),...t}),Jt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatActionLabel,{className:s.cn("cursor-pointer",e),...t}),Ut=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatActionFeedback,{className:s.cn("bg-white text-gray-800 fill-white","dark:bg-gray-dark-800 dark:text-white-alpha-900 dark:fill-gray-dark-800","shadow-[0_8px_30px_rgba(0,0,0,0.12)]","px-2 py-3 rounded-md text-sm font-normal",e),...t}),Xt=a.EmbeddedChatPrimitiveHelpActions,Yt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatHelpAction,{className:s.cn(F,e),...t}),Zt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsTrigger,{className:s.cn(F,e),...t}),ea=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenu,{className:s.cn(p.popover({slot:"content"}),"gap-3 px-3 py-4 ","w-[254px] text-sm font-normal",e),...t}),ta=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenuArrow,{className:s.cn(p.popover({slot:"arrow"}),e),...t}),aa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenuItem,{className:s.cn("flex items-center cursor-pointer hover:underline",e),...t}),da=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenuItemIcon,{className:s.cn("mr-2 text-inkeep-primary-medium",e),...t}),sa=a.EmbeddedChatPrimitiveFeedbackModal,ra=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalOverlay,{className:s.cn(o.modal({slot:"overlay"}),e),...t}),oa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalContent,{className:s.cn(o.modal({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-[480px]",e),...t}),ia=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalHeader,{className:s.cn(o.modal({slot:"header"}),"px-0 pt-0 pb-8","font-semibold",e),...t}),ma=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalClose,{className:s.cn(o.modal({slot:"close"}),e),...t}),na=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalBody,{className:s.cn(o.modal({slot:"body"}),"p-0",e),...t}),ca=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackForm,{className:s.cn("flex flex-col gap-8",e),...t}),la=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItem,{className:s.cn("flex flex-wrap items-center","gap-[.75rem_0.5rem]",e),...t}),ha=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemCheckbox,{className:s.cn(C.checkbox({slot:"root"}),e),...t}),ba=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator,{className:s.cn(C.checkbox({slot:"indicator"}),e),...t}),xa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemLabel,{className:s.cn("select-none cursor-pointer font-medium text-sm","text-gray-700 dark:text-white-alpha-700",e),...t}),Ca=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemDescription,{className:s.cn("flex-[0_0_100%]","min-h-20 border rounded-md","px-3 py-2 text-sm",e),...t}),pa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackSubmitButton,{className:s.cn(r.button({variant:"primaryFilled"}),"ml-auto",e),...t}),ua=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormWrapper,{className:s.cn("w-full overflow-y-auto [scrollbar-width:thin]",e),...t}),ga=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveForm,{className:s.cn(u.scrollable({section:"content"}),"relative pt-4 pb-8 gap-8","items-start justify-center w-full","px-6 ikp-md:px-10 ikp-md:pb-12",e),...t}),Ea=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormClose,{className:s.cn(r.button({variant:"ghost"}),"absolute right-1 top-1","text-xl text-gray-500 dark:text-white-alpha-500 w-10 h-10 z-modal",e),...t}),Fa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormHeader,{className:s.cn("mt-8 flex flex-col gap-6",e),...t}),va=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormHeading,{className:s.cn("font-semibold text-xl leading-5",e),...t}),fa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormDescription,{className:s.cn("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),ka=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormContent,{className:s.cn("w-full space-y-8",e),...t}),Aa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormField,{className:s.cn("group flex flex-col gap-2 data-[hidden]:hidden","data-[input-type=checkbox]:flex-row data-[input-type=checkbox]:flex-wrap data-[input-type=checkbox]:items-center",e),...t}),ya=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldLabel,{className:s.cn("font-medium text-sm text-gray-700","dark:text-white-alpha-700 ","font-medium relative","data-[required]:after:absolute",'data-[required]:after:[content:"*"]',"data-[required]:after:ml-1","data-[required]:after:mt-0","data-[required]:after:text-red-500","dark:data-[required]:after:text-red-300",'dark:data-[required]:after:[content:"*"]',e),...t}),Pa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldText,{className:s.cn(h.input({size:"md",variant:"outline"}),e),...t}),wa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldEmail,{className:s.cn(h.input({size:"md",variant:"outline"}),e),...t}),Ma=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldFile,{className:s.cn(h.input({size:"md",variant:"outline"}),"text-sm pl-2 file:h-full file:cursor-pointer py-0","file:bg-transparent file:border-none file:font-medium","file:text-sm file:text-gray-700 dark:file:text-white-alpha-700",e),...t}),ja=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldTextArea,{className:s.cn(h.input({size:"md",variant:"outline"}),"min-h-20 px-3 py-2 text-sm",e),...t}),Na=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldCheckbox,{className:s.cn(C.checkbox({slot:"root"}),e),...t}),Ia=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldCheckboxIndicator,{className:s.cn(C.checkbox({slot:"indicator"}),e),...t}),Ba=a.EmbeddedChatPrimitiveFormFieldSelect,Sa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectTrigger,{className:s.cn(b.select({slot:"trigger"}),e),...t}),Ta=a.EmbeddedChatPrimitiveFormFieldSelectValue,Ha=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectIcon,{className:s.cn("h-4 w-4 opacity-45",e),...t}),La=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectContent,{className:s.cn(b.select({slot:"content"}),e),...t}),Da=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectViewport,{className:s.cn(b.select({slot:"viewport"}),e),...t}),qa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectItem,{className:s.cn(b.select({slot:"item"}),e),...t}),Wa=a.EmbeddedChatPrimitiveFormFieldSelectItemText,_a=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectItemIndicator,{className:s.cn(b.select({slot:"itemIndicator"}),e),...t}),za=a.EmbeddedChatPrimitiveFormFieldCombobox,Qa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxControl,{className:s.cn(n.combobox({slot:"control"}),e),...t}),Ra=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxPositioner,{className:e,...t}),Oa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxInput,{className:s.cn(n.combobox({slot:"input"}),e),...t}),Va=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxTrigger,{className:s.cn(n.combobox({slot:"trigger"}),e),...t}),Ga=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxSelectedTags,{className:s.cn(n.combobox({slot:"selectedTags"}),e),...t}),Ka=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxContent,{className:s.cn(n.combobox({slot:"content"}),e),...t}),$a=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxList,{className:s.cn(n.combobox({slot:"list"}),e),...t}),Ja=a.EmbeddedChatPrimitiveFormFieldComboboxListItems,Ua=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxListEmpty,{className:s.cn(n.combobox({slot:"emptyMessage"}),e),...t}),Xa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxItem,{className:s.cn(n.combobox({slot:"item"}),e),...t}),Ya=a.EmbeddedChatPrimitiveFormFieldComboboxItemText,Za=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxItemIndicator,{className:s.cn(n.combobox({slot:"itemIndicator"}),e),...t}),ed=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldDescription,{className:s.cn("text-sm text-gray-600 dark:text-white-alpha-600","group-data-[input-type=checkbox]:w-full group-data-[input-type=checkbox]:basis-full",e),...t}),td=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldError,{className:s.cn("text-sm flex items-center text-red-500 dark:text-red-300","group-data-[input-type=checkbox]:w-full group-data-[input-type=checkbox]:basis-full",e),...t}),ad=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormError,{className:s.cn("text-red-500 dark:text-red-300",e),...t}),dd=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFooter,{className:s.cn("flex items-center justify-end gap-4 w-full",e),...t}),sd=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormCancel,{className:s.cn(r.button({variant:"outline"}),e),...t}),rd=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSubmit,{className:s.cn(r.button({variant:"primaryFilled"}),e),...t}),od=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSuccess,{className:s.cn("flex flex-col items-center justify-center h-auto","m-auto px-6 py-8 ikp-md:py-14 ikp-md:px-10",e),...t}),id=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSuccessHeading,{className:s.cn("mb-6 font-bold tracking-tight","text-3xl md:text-4xl leading-6 md:leading-5",e),...t}),md=a.EmbeddedChatPrimitiveFormSuccessMessage,nd=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSuccessButton,{className:s.cn(r.button({variant:"primaryFilled"}),"w-full mt-12 gap-2 shrink-0",e),...t});exports.MessagePart=_.EmbeddedChatMessagePart;exports.ActionBar=Qt;exports.Actions=Rt;exports.AttachmentsBar=ct;exports.AttachmentsBarActions=pt;exports.AttachmentsBarAttachment=ht;exports.AttachmentsBarAttachmentDelete=Ct;exports.AttachmentsBarAttachmentIcon=bt;exports.AttachmentsBarAttachmentTitle=xt;exports.AttachmentsBarForm=Bt;exports.AttachmentsBarFormContent=Dt;exports.AttachmentsBarFormContentError=_t;exports.AttachmentsBarFormContentInput=Wt;exports.AttachmentsBarFormContentLabel=qt;exports.AttachmentsBarFormSubmitButton=zt;exports.AttachmentsBarFormTitle=St;exports.AttachmentsBarFormTitleError=Lt;exports.AttachmentsBarFormTitleInput=Ht;exports.AttachmentsBarFormTitleLabel=Tt;exports.AttachmentsBarInfoTip=ut;exports.AttachmentsBarInfoTipArrow=Ft;exports.AttachmentsBarInfoTipIcon=gt;exports.AttachmentsBarInfoTipText=Et;exports.AttachmentsBarInput=ft;exports.AttachmentsBarInputs=vt;exports.AttachmentsBarList=lt;exports.AttachmentsBarModal=kt;exports.AttachmentsBarModalBody=It;exports.AttachmentsBarModalClose=Nt;exports.AttachmentsBarModalContent=yt;exports.AttachmentsBarModalDescription=Mt;exports.AttachmentsBarModalHeader=Pt;exports.AttachmentsBarModalHeading=wt;exports.AttachmentsBarModalHelp=jt;exports.AttachmentsBarModalOverlay=At;exports.ChatAction=$t;exports.ChatActionFeedback=Ut;exports.ChatActionLabel=Jt;exports.ChatHistoryButton=v;exports.ChatHistoryButtonIcon=E;exports.ChatHistoryTrigger=$;exports.Content=J;exports.ContentScrollArea=U;exports.ContentScrollAreaCorner=ee;exports.ContentScrollAreaScrollbar=Y;exports.ContentScrollAreaThumb=Z;exports.ContentScrollAreaViewport=X;exports.Disclaimer=te;exports.DisclaimerArrow=oe;exports.DisclaimerContent=se;exports.DisclaimerLabel=ae;exports.DisclaimerText=re;exports.DisclaimerTrigger=de;exports.DynamicComponent=_e;exports.ExampleQuestion=ce;exports.ExampleQuestionButton=le;exports.ExampleQuestions=ie;exports.ExampleQuestionsLabel=me;exports.ExampleQuestionsList=ne;exports.FeedbackForm=ca;exports.FeedbackItem=la;exports.FeedbackItemCheckbox=ha;exports.FeedbackItemCheckboxIndicator=ba;exports.FeedbackItemDescription=Ca;exports.FeedbackItemLabel=xa;exports.FeedbackModal=sa;exports.FeedbackModalBody=na;exports.FeedbackModalClose=ma;exports.FeedbackModalContent=oa;exports.FeedbackModalHeader=ia;exports.FeedbackModalOverlay=ra;exports.FeedbackSubmitButton=pa;exports.Footer=st;exports.Form=ga;exports.FormCancel=sd;exports.FormClose=Ea;exports.FormContent=ka;exports.FormDescription=fa;exports.FormError=ad;exports.FormField=Aa;exports.FormFieldCheckbox=Na;exports.FormFieldCheckboxIndicator=Ia;exports.FormFieldCombobox=za;exports.FormFieldComboboxContent=Ka;exports.FormFieldComboboxControl=Qa;exports.FormFieldComboboxInput=Oa;exports.FormFieldComboboxItem=Xa;exports.FormFieldComboboxItemIndicator=Za;exports.FormFieldComboboxItemText=Ya;exports.FormFieldComboboxList=$a;exports.FormFieldComboboxListEmpty=Ua;exports.FormFieldComboboxListItems=Ja;exports.FormFieldComboboxPositioner=Ra;exports.FormFieldComboboxSelectedTags=Ga;exports.FormFieldComboboxTrigger=Va;exports.FormFieldDescription=ed;exports.FormFieldEmail=wa;exports.FormFieldError=td;exports.FormFieldFile=Ma;exports.FormFieldLabel=ya;exports.FormFieldSelect=Ba;exports.FormFieldSelectContent=La;exports.FormFieldSelectIcon=Ha;exports.FormFieldSelectItem=qa;exports.FormFieldSelectItemIndicator=_a;exports.FormFieldSelectItemText=Wa;exports.FormFieldSelectTrigger=Sa;exports.FormFieldSelectValue=Ta;exports.FormFieldSelectViewport=Da;exports.FormFieldText=Pa;exports.FormFieldTextArea=ja;exports.FormFooter=dd;exports.FormHeader=Fa;exports.FormHeading=va;exports.FormSubmit=rd;exports.FormSuccess=od;exports.FormSuccessButton=nd;exports.FormSuccessHeading=id;exports.FormSuccessMessage=md;exports.FormWrapper=ua;exports.Header=O;exports.HeaderToolbar=V;exports.HeaderToolbarWrapper=G;exports.HelpAction=Yt;exports.HelpActions=Xt;exports.HelpActionsMenu=ea;exports.HelpActionsMenuArrow=ta;exports.HelpActionsMenuItem=aa;exports.HelpActionsMenuItemIcon=da;exports.HelpActionsTrigger=Zt;exports.Input=it;exports.InputFieldset=rt;exports.InputGroup=ot;exports.IntroMessageWrapper=ge;exports.Markdown=ze;exports.MessageAction=Ve;exports.MessageAttachments=je;exports.MessageAttachmentsItem=Ie;exports.MessageAttachmentsItemIcon=Be;exports.MessageAttachmentsItemTitle=Se;exports.MessageAttachmentsList=Ne;exports.MessageAttachmentsPreview=Te;exports.MessageAttachmentsPreviewBody=We;exports.MessageAttachmentsPreviewClose=qe;exports.MessageAttachmentsPreviewContent=Le;exports.MessageAttachmentsPreviewHeader=De;exports.MessageAttachmentsPreviewOverlay=He;exports.MessageAvatar=fe;exports.MessageAvatarContent=ke;exports.MessageAvatarFallback=Ae;exports.MessageAvatarImage=ye;exports.MessageContent=Me;exports.MessageContentWrapper=we;exports.MessageCustomAction=Oe;exports.MessageCustomActions=Re;exports.MessageHeader=Ee;exports.MessageLoading=Fe;exports.MessageName=Pe;exports.MessageSourceItem=Je;exports.MessageSourceItemBreadcrumbIcon=Xe;exports.MessageSourceItemBreadcrumbs=Ue;exports.MessageSourceItemDescription=tt;exports.MessageSourceItemDescriptionPart=at;exports.MessageSourceItemIcon=Ye;exports.MessageSourceItemIndicator=dt;exports.MessageSourceItemTag=et;exports.MessageSourceItemTitle=Ze;exports.MessageSources=Ge;exports.MessageSourcesHeader=Ke;exports.MessageSourcesList=$e;exports.MessageToolbar=Qe;exports.MessageWrapper=ue;exports.Messages=pe;exports.MessagesSessionLoading=ve;exports.Provider=z;exports.Root=R;exports.SendButton=mt;exports.SendButtonIcon=nt;exports.TaglineBrandName=Kt;exports.TaglineContainer=Ot;exports.TaglineLogo=Gt;exports.TaglineText=Vt;exports.ToolbarHeader=K;exports.Workflow=Ce;exports.Workflows=he;exports.WorkflowsLabel=be;exports.WorkflowsList=xe;exports.Wrapper=Q;
|