@inkeep/agents-ui 0.15.26 → 0.15.28

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.
Files changed (102) hide show
  1. package/dist/index.cjs +1 -1
  2. package/dist/index.js +166 -174
  3. package/dist/primitives/atoms/dialog.cjs +1 -1
  4. package/dist/primitives/atoms/dialog.js +110 -106
  5. package/dist/primitives/atoms/file-upload.cjs +1 -0
  6. package/dist/primitives/atoms/file-upload.d.ts +35 -0
  7. package/dist/primitives/atoms/file-upload.js +45 -0
  8. package/dist/primitives/atoms/icons/built-in-icons.cjs +1 -1
  9. package/dist/primitives/atoms/icons/built-in-icons.d.ts +8 -1
  10. package/dist/primitives/atoms/icons/built-in-icons.js +86 -79
  11. package/dist/primitives/atoms/icons/collections/pi.cjs +1 -1
  12. package/dist/primitives/atoms/icons/collections/pi.d.ts +6 -0
  13. package/dist/primitives/atoms/icons/collections/pi.js +103 -13
  14. package/dist/primitives/atoms/icons/inkeep-default-icons.cjs +1 -1
  15. package/dist/primitives/atoms/icons/inkeep-default-icons.js +9 -1
  16. package/dist/primitives/components/embedded-chat/file-upload-input.cjs +1 -0
  17. package/dist/primitives/components/embedded-chat/file-upload-input.d.ts +68 -0
  18. package/dist/primitives/components/embedded-chat/file-upload-input.js +328 -0
  19. package/dist/primitives/components/embedded-chat/image-preview-modal.cjs +1 -0
  20. package/dist/primitives/components/embedded-chat/image-preview-modal.d.ts +15 -0
  21. package/dist/primitives/components/embedded-chat/image-preview-modal.js +71 -0
  22. package/dist/primitives/components/embedded-chat/use-inkeep-chat.cjs +3 -3
  23. package/dist/primitives/components/embedded-chat/use-inkeep-chat.d.ts +8 -6
  24. package/dist/primitives/components/embedded-chat/use-inkeep-chat.js +277 -227
  25. package/dist/primitives/components/embedded-chat.cjs +4 -4
  26. package/dist/primitives/components/embedded-chat.d.ts +7 -116
  27. package/dist/primitives/components/embedded-chat.js +1082 -1484
  28. package/dist/primitives/components/embedded-search.d.ts +1 -1
  29. package/dist/primitives/hooks/index.cjs +1 -1
  30. package/dist/primitives/hooks/index.js +15 -14
  31. package/dist/primitives/hooks/use-initial-conversation.cjs +1 -0
  32. package/dist/primitives/hooks/use-initial-conversation.d.ts +16 -0
  33. package/dist/primitives/hooks/use-initial-conversation.js +31 -0
  34. package/dist/primitives/hooks/use-input-notification.cjs +1 -0
  35. package/dist/primitives/hooks/use-input-notification.d.ts +9 -0
  36. package/dist/primitives/hooks/use-input-notification.js +18 -0
  37. package/dist/primitives/hooks/use-scrolling-fades.cjs +1 -1
  38. package/dist/primitives/hooks/use-scrolling-fades.d.ts +1 -0
  39. package/dist/primitives/hooks/use-scrolling-fades.js +21 -5
  40. package/dist/primitives/index.cjs +1 -1
  41. package/dist/primitives/index.js +146 -154
  42. package/dist/primitives/providers/base-events-provider.cjs +1 -1
  43. package/dist/primitives/providers/base-events-provider.js +1 -1
  44. package/dist/primitives/providers/feedback-provider.cjs +1 -1
  45. package/dist/primitives/providers/feedback-provider.js +37 -38
  46. package/dist/primitives/providers/image-preview-provider.cjs +1 -0
  47. package/dist/primitives/providers/image-preview-provider.d.ts +15 -0
  48. package/dist/primitives/providers/image-preview-provider.js +23 -0
  49. package/dist/primitives/providers/index.cjs +1 -1
  50. package/dist/primitives/providers/index.d.ts +0 -3
  51. package/dist/primitives/providers/index.js +54 -63
  52. package/dist/primitives/utils/component-ids.cjs +1 -1
  53. package/dist/primitives/utils/component-ids.d.ts +54 -98
  54. package/dist/primitives/utils/component-ids.js +44 -66
  55. package/dist/primitives/utils/default-settings.cjs +1 -1
  56. package/dist/primitives/utils/default-settings.d.ts +0 -2
  57. package/dist/primitives/utils/default-settings.js +6 -8
  58. package/dist/react/embedded-chat.cjs +1 -1
  59. package/dist/react/embedded-chat.js +283 -287
  60. package/dist/react/index.cjs +1 -1
  61. package/dist/react/index.js +166 -174
  62. package/dist/styled/components/chat-history.cjs +1 -1
  63. package/dist/styled/components/chat-history.d.ts +1 -1
  64. package/dist/styled/components/chat-history.js +31 -29
  65. package/dist/styled/components/embedded-chat/file-upload-input.cjs +1 -0
  66. package/dist/styled/components/embedded-chat/file-upload-input.d.ts +20 -0
  67. package/dist/styled/components/embedded-chat/file-upload-input.js +300 -0
  68. package/dist/styled/components/embedded-chat/image-preview-modal.cjs +1 -0
  69. package/dist/styled/components/embedded-chat/image-preview-modal.d.ts +11 -0
  70. package/dist/styled/components/embedded-chat/image-preview-modal.js +77 -0
  71. package/dist/styled/components/embedded-chat.cjs +1 -1
  72. package/dist/styled/components/embedded-chat.d.ts +4 -50
  73. package/dist/styled/components/embedded-chat.js +567 -1010
  74. package/dist/styled/components/message.cjs +1 -1
  75. package/dist/styled/components/message.js +89 -88
  76. package/dist/styled/components/ui/recipes/citation.d.ts +1 -1
  77. package/dist/styled/components/ui/recipes/index.cjs +1 -1
  78. package/dist/styled/components/ui/recipes/index.d.ts +0 -1
  79. package/dist/styled/components/ui/recipes/index.js +31 -33
  80. package/dist/styled/index.cjs +1 -1
  81. package/dist/styled/index.js +154 -162
  82. package/dist/styled/inkeep.css.cjs +241 -61
  83. package/dist/styled/inkeep.css.js +241 -61
  84. package/dist/types/config/ai.d.ts +8 -10
  85. package/dist/types/icons/built-in.d.ts +1 -1
  86. package/dist/types/icons/custom.d.ts +8 -0
  87. package/dist/types/index.d.ts +0 -1
  88. package/package.json +7 -6
  89. package/dist/primitives/providers/attachment-item-provider.cjs +0 -1
  90. package/dist/primitives/providers/attachment-item-provider.d.ts +0 -9
  91. package/dist/primitives/providers/attachment-item-provider.js +0 -13
  92. package/dist/primitives/providers/attachments-bar-provider.cjs +0 -1
  93. package/dist/primitives/providers/attachments-bar-provider.d.ts +0 -30
  94. package/dist/primitives/providers/attachments-bar-provider.js +0 -57
  95. package/dist/primitives/providers/message-attachments-provider.cjs +0 -1
  96. package/dist/primitives/providers/message-attachments-provider.d.ts +0 -13
  97. package/dist/primitives/providers/message-attachments-provider.js +0 -27
  98. package/dist/primitives/utils/get-message-metadata.d.ts +0 -8
  99. package/dist/styled/components/ui/recipes/attachment.cjs +0 -1
  100. package/dist/styled/components/ui/recipes/attachment.d.ts +0 -4
  101. package/dist/styled/components/ui/recipes/attachment.js +0 -28
  102. package/dist/types/config/settings/workflow.d.ts +0 -86
@@ -1 +1 @@
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;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),M=require("../../primitives/providers/chat-history-provider.cjs"),N=require("../../primitives/providers/config-provider.cjs"),a=require("../../primitives/components/embedded-chat.cjs"),j=require("../../primitives/components/embedded-chat/chat-provider.cjs"),S=require("../../primitives/hooks/use-resize-observer.cjs"),A=require("../../primitives/utils/compose-refs.cjs"),T=require("./ui/recipes/ai-chat-page-wrapper.cjs"),i=require("./ui/recipes/button.cjs"),C=require("./ui/recipes/checkbox.cjs"),m=require("./ui/recipes/citation.cjs"),n=require("./ui/recipes/combobox.cjs"),H=require("./ui/recipes/icon.cjs"),p=require("./ui/recipes/input.cjs"),L=require("./ui/recipes/link.cjs"),b=require("./ui/recipes/modal.cjs"),u=require("./ui/recipes/popover.cjs"),g=require("./ui/recipes/scrollable.cjs"),h=require("./ui/recipes/select.cjs"),B=require("class-variance-authority"),D=require("merge-anything"),l=require("react"),o=require("../utils.cjs"),q=require("./ui/markdown-styles.cjs"),z=require("./loading-indicator.cjs"),_=require("./embedded-chat/session-loading.cjs"),W=require("./message.cjs"),r=require("./embedded-chat/file-upload-input.cjs"),c=require("./embedded-chat/image-preview-modal.cjs"),R=require("../../primitives/components/embedded-chat/file-upload-input.cjs"),Q=j.ChatProvider,V=l.forwardRef(({className:e,size:t,variant:s,...E},x)=>d.jsx(a.EmbeddedChatPrimitiveWrapper,{ref:x,className:o.cn(T.aiChatPageWrapper({size:t,variant:s}),"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),...E})),O=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveRoot,{className:o.cn(g.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}),U=({className:e,...t})=>d.jsx(a.Header,{className:o.cn(g.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}),G=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHeaderToolbar,{className:o.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}),K=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveToolbarHeaderWrapper,{className:o.cn("flex items-center gap-1.5",e),...t}),Z=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveToolbarHeader,{className:o.cn("text-gray-600 dark:text-gray-dark-100 text-sm",e),...t}),F=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatHistoryButtonIcon,{className:o.cn("text-sm",e),...t}),f=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatHistoryButton,{className:o.cn(i.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}=N.useInkeepConfig(),{setIsOpen:t,isOpen:s}=M.useChatHistory();return e.isChatHistoryButtonVisible?d.jsxs(f,{onClick:()=>t(!s),"aria-label":"Chat history",children:[d.jsx(F,{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(F,{iconKey:"chatHistory"}),"Chat history"]})]}):null},J=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContent,{className:o.cn(g.scrollable({section:"content"}),"justify-end",e),...t}),X=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContentScrollArea,{className:o.cn("overflow-hidden",e),...t}),Y=l.forwardRef(({className:e,...t},s)=>d.jsx(a.EmbeddedChatPrimitiveContentScrollAreaViewport,{ref:s,className:o.cn("h-full w-full rounded-[inherit]","[[data-chat-bubble]_&]:overscroll-contain",e),...t})),ee=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContentScrollAreaScrollbar,{className:o.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}),te=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContentScrollAreaThumb,{className:o.cn("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),ae=a.EmbeddedChatPrimitiveContentScrollAreaCorner,de=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimer,{className:o.cn("ml-auto text-sm flex items-center gap-1",e),...t}),oe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerLabel,{className:o.cn("text-gray-700 dark:text-gray-dark-100",e),...t}),re=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerTrigger,{className:o.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}),ie=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerContent,{className:o.cn(u.popover({slot:"content"}),"px-4 py-2 font-normal text-sm","w-[250px] sm:w-[420px]",e),...t}),se=a.EmbeddedChatPrimitiveDisclaimerText,me=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerArrow,{className:o.cn(u.popover({slot:"arrow"}),e),...t}),ne=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestions,{className:o.cn("mt-4 flex flex-col gap-2",e),...t}),ce=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestionsLabel,{className:o.cn("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),le=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestionsList,{className:o.cn("flex flex-col","ikp-md:flex-row","flex-wrap gap-2",e),...t}),be=l.forwardRef(({className:e,style:t,...s},E)=>{const x=l.useRef(null),y=A.composeRefs(E,x),{width:P=0,height:w=0}=S.useResizeObserver({ref:x,box:"border-box"}),I=Math.max(w,P);return d.jsx(a.EmbeddedChatPrimitiveExampleQuestion,{ref:y,style:{"--before-size":`${I+100}px`,...t},className:o.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),...s})}),he=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestionButton,{className:o.cn(i.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}),xe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessages,{className:o.cn("flex flex-col w-full min-w-0 min-h-0 text-sm relative",e),...t}),k=B.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"]),Ce=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageWrapper,{className:o.cn(k(),e),...t}),pe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveIntroMessageWrapper,{className:o.cn(k(),e),...t}),ue=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageHeader,{className:o.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}),ge=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageLoading,{className:o.cn("flex items-center gap-3 h-auto w-full",e),children:d.jsx(z.LoadingIndicator,{}),...t}),Ee=({className:e})=>d.jsx("div",{className:o.cn("w-full",e),children:d.jsx(_.MessagesSessionLoading,{})}),Fe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatar,{className:o.cn("flex items-center justify-center rounded-full","h-auto",e),...t}),ve=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatarContent,{className:o.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}),fe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatarFallback,{className:o.cn("hidden data-[role=user]:block",e),...t}),ke=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatarImage,{className:o.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}),ye=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageName,{className:o.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}),Pe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageContentWrapper,{className:o.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}),we=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageContent,{className:o.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}),Ie=a.EmbeddedChatPrimitiveDynamicComponent,Me=({componentStyles:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMarkdown,{componentStyles:D.merge(q.markdownStyles,e??{}),...t}),Ne=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageToolbar,{className:o.cn("flex items-center mt-2 mb-3",e),...t}),je=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageCustomActions,{className:o.cn("mr-auto flex items-center gap-2",e),...t}),Se=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageCustomAction,{className:o.cn(i.button({size:"xs",variant:"outline"}),"text-xs h-[30px] text-gray-700 dark:text-gray-200 gap-1",e),...t}),Ae=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAction,{className:o.cn(i.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}),Te=a.EmbeddedChatPrimitiveMessageSources,He=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourcesHeader,{className:o.cn("block text-xs font-medium my-2 text-gray-700 dark:text-gray-dark-300",e),...t}),Le=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourcesList,{className:o.cn("w-full relative flex flex-col gap-3 py-[1px]",e),...t}),Be=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItem,{className:o.cn(m.citation({slot:"root"}),e),...t}),De=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemBreadcrumbs,{className:o.cn(m.citation({slot:"breadcrumbs"}),e),...t}),qe=({className:e,...t})=>d.jsx(a.MessageSourceItemBreadcrumbIcon,{className:o.cn(m.citation({slot:"breadcrumbsIcon"}),e),...t}),ze=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemIcon,{className:o.cn(m.citation({slot:"icon"}),e),...t}),_e=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemTitle,{className:o.cn(m.citation({slot:"title"}),e),...t}),We=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemTag,{className:o.cn(m.citation({slot:"tag"}),e),...t}),Re=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemDescription,{className:o.cn(m.citation({slot:"description"}),e),...t}),Qe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemDescriptionPart,{className:o.cn(m.citation({slot:"descriptionPart"}),e),...t}),Ve=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemIndicator,{className:o.cn(m.citation({slot:"indicator"}),e),...t}),Oe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFooter,{className:o.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}),Ue=({className:e,...t})=>d.jsx(R.EmbeddedChatPrimitiveInputFieldset,{className:o.cn("group/fieldset","relative flex flex-col w-full py-1.5 px-2","rounded-lg items-stretch shadow-md dark:shadow-none","bg-gray-50 dark:bg-gray-dark-900",e),...t}),Ge=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveInputGroup,{className:o.cn("flex items-end",e),...t}),Ke=l.forwardRef(({className:e,...t},s)=>d.jsx(a.EmbeddedChatPrimitiveInput,{ref:s,className:o.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-1 py-1.5 max-h-[200px] overflow-y-auto disabled:cursor-not-allowed",e),...t})),Ze=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveSendButton,{className:o.cn(i.button({}),"group","bg-transparent relative size-8 min-w-[unset] rounded-lg transition-all ease-linear","text-inkeep-primary-medium dark:text-inkeep-expanded-primary-500","active:bg-gray-200 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}),$e=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveSendButtonIcon,{className:o.cn(H.icon(),"text-inherit group-disabled:opacity-60 ",e),...t}),Je=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveActionBar,{className:o.cn("mt-4 flex items-start justify-between flex-wrap-reverse gap-2.5",e),...t}),Xe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveActions,{className:o.cn("flex items-center gap-2.5 flex-wrap",e),...t}),Ye=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveTaglineContainer,{className:o.cn("flex items-center whitespace-nowrap",e),...t}),et=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveTaglineText,{className:o.cn("text-xs text-gray-500 dark:text-white-alpha-600",e),...t}),tt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveTaglineLogo,{className:o.cn("text-gray-500 dark:text-white dark:opacity-60","w-5 ml-1 mr-0.5",e),...t}),at=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveTaglineBrandName,{className:o.cn(L.link(),"inline-flex text-1sm text-gray-500","dark:text-white-alpha-600 font-medium",e),...t}),v=o.cn(i.button({size:"xs",variant:"outline"}),"text-gray-700 dark:text-white-alpha-700"),dt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatAction,{className:o.cn(v,e),...t}),ot=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatActionLabel,{className:o.cn("cursor-pointer",e),...t}),rt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatActionFeedback,{className:o.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}),it=a.EmbeddedChatPrimitiveHelpActions,st=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatHelpAction,{className:o.cn(v,e),...t}),mt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsTrigger,{className:o.cn(v,e),...t}),nt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenu,{className:o.cn(u.popover({slot:"content"}),"gap-3 px-3 py-4 ","w-[254px] text-sm font-normal",e),...t}),ct=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenuArrow,{className:o.cn(u.popover({slot:"arrow"}),e),...t}),lt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenuItem,{className:o.cn("flex items-center cursor-pointer hover:underline",e),...t}),bt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenuItemIcon,{className:o.cn("mr-2 text-inkeep-primary-medium",e),...t}),ht=a.EmbeddedChatPrimitiveFeedbackModal,xt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalOverlay,{className:o.cn(b.modal({slot:"overlay"}),e),...t}),Ct=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalContent,{className:o.cn(b.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}),pt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalHeader,{className:o.cn(b.modal({slot:"header"}),"px-0 pt-0 pb-8","font-semibold",e),...t}),ut=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalClose,{className:o.cn(b.modal({slot:"close"}),e),...t}),gt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalBody,{className:o.cn(b.modal({slot:"body"}),"p-0",e),...t}),Et=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackForm,{className:o.cn("flex flex-col gap-8",e),...t}),Ft=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItem,{className:o.cn("flex flex-wrap items-center","gap-[.75rem_0.5rem]",e),...t}),vt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemCheckbox,{className:o.cn(C.checkbox({slot:"root"}),e),...t}),ft=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator,{className:o.cn(C.checkbox({slot:"indicator"}),e),...t}),kt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemLabel,{className:o.cn("select-none cursor-pointer font-medium text-sm","text-gray-700 dark:text-white-alpha-700",e),...t}),yt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemDescription,{className:o.cn("flex-[0_0_100%]","min-h-20 border rounded-md","px-3 py-2 text-sm",e),...t}),Pt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackSubmitButton,{className:o.cn(i.button({variant:"primaryFilled"}),"ml-auto",e),...t}),wt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormWrapper,{className:o.cn("w-full overflow-y-auto [scrollbar-width:thin]",e),...t}),It=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveForm,{className:o.cn(g.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}),Mt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormClose,{className:o.cn(i.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}),Nt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormHeader,{className:o.cn("mt-8 flex flex-col gap-6",e),...t}),jt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormHeading,{className:o.cn("font-semibold text-xl leading-5",e),...t}),St=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormDescription,{className:o.cn("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),At=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormContent,{className:o.cn("w-full space-y-8",e),...t}),Tt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormField,{className:o.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}),Ht=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldLabel,{className:o.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}),Lt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldText,{className:o.cn(p.input({size:"md",variant:"outline"}),e),...t}),Bt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldEmail,{className:o.cn(p.input({size:"md",variant:"outline"}),e),...t}),Dt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldFile,{className:o.cn(p.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}),qt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldTextArea,{className:o.cn(p.input({size:"md",variant:"outline"}),"min-h-20 px-3 py-2 text-sm",e),...t}),zt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldCheckbox,{className:o.cn(C.checkbox({slot:"root"}),e),...t}),_t=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldCheckboxIndicator,{className:o.cn(C.checkbox({slot:"indicator"}),e),...t}),Wt=a.EmbeddedChatPrimitiveFormFieldSelect,Rt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectTrigger,{className:o.cn(h.select({slot:"trigger"}),e),...t}),Qt=a.EmbeddedChatPrimitiveFormFieldSelectValue,Vt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectIcon,{className:o.cn("h-4 w-4 opacity-45",e),...t}),Ot=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectContent,{className:o.cn(h.select({slot:"content"}),e),...t}),Ut=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectViewport,{className:o.cn(h.select({slot:"viewport"}),e),...t}),Gt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectItem,{className:o.cn(h.select({slot:"item"}),e),...t}),Kt=a.EmbeddedChatPrimitiveFormFieldSelectItemText,Zt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectItemIndicator,{className:o.cn(h.select({slot:"itemIndicator"}),e),...t}),$t=a.EmbeddedChatPrimitiveFormFieldCombobox,Jt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxControl,{className:o.cn(n.combobox({slot:"control"}),e),...t}),Xt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxPositioner,{className:e,...t}),Yt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxInput,{className:o.cn(n.combobox({slot:"input"}),e),...t}),ea=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxTrigger,{className:o.cn(n.combobox({slot:"trigger"}),e),...t}),ta=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxSelectedTags,{className:o.cn(n.combobox({slot:"selectedTags"}),e),...t}),aa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxContent,{className:o.cn(n.combobox({slot:"content"}),e),...t}),da=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxList,{className:o.cn(n.combobox({slot:"list"}),e),...t}),oa=a.EmbeddedChatPrimitiveFormFieldComboboxListItems,ra=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxListEmpty,{className:o.cn(n.combobox({slot:"emptyMessage"}),e),...t}),ia=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxItem,{className:o.cn(n.combobox({slot:"item"}),e),...t}),sa=a.EmbeddedChatPrimitiveFormFieldComboboxItemText,ma=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxItemIndicator,{className:o.cn(n.combobox({slot:"itemIndicator"}),e),...t}),na=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldDescription,{className:o.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}),ca=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldError,{className:o.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}),la=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormError,{className:o.cn("text-red-500 dark:text-red-300",e),...t}),ba=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFooter,{className:o.cn("flex items-center justify-end gap-4 w-full",e),...t}),ha=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormCancel,{className:o.cn(i.button({variant:"outline"}),e),...t}),xa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSubmit,{className:o.cn(i.button({variant:"primaryFilled"}),e),...t}),Ca=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSuccess,{className:o.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}),pa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSuccessHeading,{className:o.cn("mb-6 font-bold tracking-tight","text-3xl md:text-4xl leading-6 md:leading-5",e),...t}),ua=a.EmbeddedChatPrimitiveFormSuccessMessage,ga=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSuccessButton,{className:o.cn(i.button({variant:"primaryFilled"}),"w-full mt-12 gap-2 shrink-0",e),...t});exports.MessagePart=W.EmbeddedChatMessagePart;exports.DropZone=r.EmbeddedChatDropZone;exports.FileContent=r.EmbeddedChatFileContent;exports.FileInput=r.EmbeddedChatFileInput;exports.FileItem=r.EmbeddedChatFileItem;exports.FileList=r.EmbeddedChatFileList;exports.FileName=r.EmbeddedChatFileName;exports.FilePreviewTrigger=r.EmbeddedChatFilePreviewTrigger;exports.FileRemove=r.EmbeddedChatFileRemove;exports.FileThumbnail=r.EmbeddedChatFileThumbnail;exports.FileTypeIcon=r.EmbeddedChatFileTypeIcon;exports.FileUploadButton=r.EmbeddedChatFileUploadButton;exports.InputNotification=r.EmbeddedChatInputNotification;exports.InputNotificationClose=r.EmbeddedChatInputNotificationClose;exports.InputNotificationContent=r.EmbeddedChatInputNotificationContent;exports.InputNotificationHeader=r.EmbeddedChatInputNotificationHeader;exports.InputNotificationMessage=r.EmbeddedChatInputNotificationMessage;exports.InputNotificationTitle=r.EmbeddedChatInputNotificationTitle;exports.MessageFile=r.EmbeddedChatMessageFile;exports.MessageFiles=r.EmbeddedChatMessageFiles;exports.ImagePreviewModal=c.EmbeddedChatImagePreviewModal;exports.ImagePreviewModalClose=c.EmbeddedChatImagePreviewModalClose;exports.ImagePreviewModalContent=c.EmbeddedChatImagePreviewModalContent;exports.ImagePreviewModalFileName=c.EmbeddedChatImagePreviewModalFileName;exports.ImagePreviewModalFooter=c.EmbeddedChatImagePreviewModalFooter;exports.ImagePreviewModalImage=c.EmbeddedChatImagePreviewModalImage;exports.ImagePreviewModalOverlay=c.EmbeddedChatImagePreviewModalOverlay;exports.ActionBar=Je;exports.Actions=Xe;exports.ChatAction=dt;exports.ChatActionFeedback=rt;exports.ChatActionLabel=ot;exports.ChatHistoryButton=f;exports.ChatHistoryButtonIcon=F;exports.ChatHistoryTrigger=$;exports.Content=J;exports.ContentScrollArea=X;exports.ContentScrollAreaCorner=ae;exports.ContentScrollAreaScrollbar=ee;exports.ContentScrollAreaThumb=te;exports.ContentScrollAreaViewport=Y;exports.Disclaimer=de;exports.DisclaimerArrow=me;exports.DisclaimerContent=ie;exports.DisclaimerLabel=oe;exports.DisclaimerText=se;exports.DisclaimerTrigger=re;exports.DynamicComponent=Ie;exports.ExampleQuestion=be;exports.ExampleQuestionButton=he;exports.ExampleQuestions=ne;exports.ExampleQuestionsLabel=ce;exports.ExampleQuestionsList=le;exports.FeedbackForm=Et;exports.FeedbackItem=Ft;exports.FeedbackItemCheckbox=vt;exports.FeedbackItemCheckboxIndicator=ft;exports.FeedbackItemDescription=yt;exports.FeedbackItemLabel=kt;exports.FeedbackModal=ht;exports.FeedbackModalBody=gt;exports.FeedbackModalClose=ut;exports.FeedbackModalContent=Ct;exports.FeedbackModalHeader=pt;exports.FeedbackModalOverlay=xt;exports.FeedbackSubmitButton=Pt;exports.Footer=Oe;exports.Form=It;exports.FormCancel=ha;exports.FormClose=Mt;exports.FormContent=At;exports.FormDescription=St;exports.FormError=la;exports.FormField=Tt;exports.FormFieldCheckbox=zt;exports.FormFieldCheckboxIndicator=_t;exports.FormFieldCombobox=$t;exports.FormFieldComboboxContent=aa;exports.FormFieldComboboxControl=Jt;exports.FormFieldComboboxInput=Yt;exports.FormFieldComboboxItem=ia;exports.FormFieldComboboxItemIndicator=ma;exports.FormFieldComboboxItemText=sa;exports.FormFieldComboboxList=da;exports.FormFieldComboboxListEmpty=ra;exports.FormFieldComboboxListItems=oa;exports.FormFieldComboboxPositioner=Xt;exports.FormFieldComboboxSelectedTags=ta;exports.FormFieldComboboxTrigger=ea;exports.FormFieldDescription=na;exports.FormFieldEmail=Bt;exports.FormFieldError=ca;exports.FormFieldFile=Dt;exports.FormFieldLabel=Ht;exports.FormFieldSelect=Wt;exports.FormFieldSelectContent=Ot;exports.FormFieldSelectIcon=Vt;exports.FormFieldSelectItem=Gt;exports.FormFieldSelectItemIndicator=Zt;exports.FormFieldSelectItemText=Kt;exports.FormFieldSelectTrigger=Rt;exports.FormFieldSelectValue=Qt;exports.FormFieldSelectViewport=Ut;exports.FormFieldText=Lt;exports.FormFieldTextArea=qt;exports.FormFooter=ba;exports.FormHeader=Nt;exports.FormHeading=jt;exports.FormSubmit=xa;exports.FormSuccess=Ca;exports.FormSuccessButton=ga;exports.FormSuccessHeading=pa;exports.FormSuccessMessage=ua;exports.FormWrapper=wt;exports.Header=U;exports.HeaderToolbar=G;exports.HeaderToolbarWrapper=K;exports.HelpAction=st;exports.HelpActions=it;exports.HelpActionsMenu=nt;exports.HelpActionsMenuArrow=ct;exports.HelpActionsMenuItem=lt;exports.HelpActionsMenuItemIcon=bt;exports.HelpActionsTrigger=mt;exports.Input=Ke;exports.InputFieldset=Ue;exports.InputGroup=Ge;exports.IntroMessageWrapper=pe;exports.Markdown=Me;exports.MessageAction=Ae;exports.MessageAvatar=Fe;exports.MessageAvatarContent=ve;exports.MessageAvatarFallback=fe;exports.MessageAvatarImage=ke;exports.MessageContent=we;exports.MessageContentWrapper=Pe;exports.MessageCustomAction=Se;exports.MessageCustomActions=je;exports.MessageHeader=ue;exports.MessageLoading=ge;exports.MessageName=ye;exports.MessageSourceItem=Be;exports.MessageSourceItemBreadcrumbIcon=qe;exports.MessageSourceItemBreadcrumbs=De;exports.MessageSourceItemDescription=Re;exports.MessageSourceItemDescriptionPart=Qe;exports.MessageSourceItemIcon=ze;exports.MessageSourceItemIndicator=Ve;exports.MessageSourceItemTag=We;exports.MessageSourceItemTitle=_e;exports.MessageSources=Te;exports.MessageSourcesHeader=He;exports.MessageSourcesList=Le;exports.MessageToolbar=Ne;exports.MessageWrapper=Ce;exports.Messages=xe;exports.MessagesSessionLoading=Ee;exports.Provider=Q;exports.Root=O;exports.SendButton=Ze;exports.SendButtonIcon=$e;exports.TaglineBrandName=at;exports.TaglineContainer=Ye;exports.TaglineLogo=tt;exports.TaglineText=et;exports.ToolbarHeader=Z;exports.Wrapper=V;
@@ -5,9 +5,8 @@ import { FC, ForwardRefExoticComponent, RefAttributes, MemoExoticComponent, Comp
5
5
  import { ChatProviderProps, PolymorphicProps } from '..';
6
6
  import { ScrollAreaViewportProps, ScrollAreaCornerProps } from '@radix-ui/react-scroll-area';
7
7
  import { MarkdownProps } from '../../primitives/atoms/markdown';
8
- import { DialogProps } from '../../primitives/atoms/dialog';
9
8
  import { TextareaAutosizeProps } from 'react-textarea-autosize';
10
- import { TooltipProps, TooltipArrowProps } from '@radix-ui/react-tooltip';
9
+ import { DialogProps } from '../../primitives/atoms/dialog';
11
10
  import { SelectSharedProps, SelectValueProps, SelectItemTextProps } from '../../primitives/atoms/select';
12
11
  import { ComboboxListItemsProps, ComboboxItemTextProps } from '../../primitives/atoms/combobox';
13
12
  declare const EmbeddedChatProvider: FC<ChatProviderProps>;
@@ -38,10 +37,6 @@ declare const EmbeddedChatExampleQuestionsLabel: ({ className, ...props }: React
38
37
  declare const EmbeddedChatExampleQuestionsList: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.ExampleQuestionsList>) => import("react/jsx-runtime").JSX.Element;
39
38
  declare const EmbeddedChatExampleQuestion: ForwardRefExoticComponent<Omit<Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
40
39
  declare const EmbeddedChatExampleQuestionButton: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.ExampleQuestionButton>) => import("react/jsx-runtime").JSX.Element;
41
- declare const EmbeddedChatWorkflows: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.Workflows>) => import("react/jsx-runtime").JSX.Element;
42
- declare const EmbeddedChatWorkflowsLabel: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.WorkflowsLabel>) => import("react/jsx-runtime").JSX.Element;
43
- declare const EmbeddedChatWorkflowsList: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.WorkflowsList>) => import("react/jsx-runtime").JSX.Element;
44
- declare const EmbeddedChatWorkflow: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.Workflow>) => import("react/jsx-runtime").JSX.Element;
45
40
  declare const EmbeddedChatMessages: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.Messages>) => import("react/jsx-runtime").JSX.Element;
46
41
  declare const EmbeddedChatMessageWrapper: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageWrapper>) => import("react/jsx-runtime").JSX.Element;
47
42
  declare const EmbeddedChatIntroMessageWrapper: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.IntroMessageWrapper>) => import("react/jsx-runtime").JSX.Element;
@@ -57,17 +52,6 @@ declare const EmbeddedChatMessageAvatarImage: ({ className, ...props }: React.Co
57
52
  declare const EmbeddedChatMessageName: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageName>) => import("react/jsx-runtime").JSX.Element;
58
53
  declare const EmbeddedChatMessageContentWrapper: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageContentWrapper>) => import("react/jsx-runtime").JSX.Element;
59
54
  declare const EmbeddedChatMessageContent: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageContent>) => import("react/jsx-runtime").JSX.Element;
60
- declare const EmbeddedChatMessageAttachments: (props: ComponentPropsWithRef<ForwardRefExoticComponent< PolymorphicProps & Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id"> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id">>>>) => import("react/jsx-runtime").JSX.Element | null;
61
- declare const EmbeddedChatMessageAttachmentsList: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageAttachmentsList>) => import("react/jsx-runtime").JSX.Element;
62
- declare const EmbeddedChatMessageAttachmentsItem: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageAttachmentsItem>) => import("react/jsx-runtime").JSX.Element;
63
- declare const EmbeddedChatMessageAttachmentsItemIcon: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageAttachmentsItemIcon>) => import("react/jsx-runtime").JSX.Element;
64
- declare const EmbeddedChatMessageAttachmentsItemTitle: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageAttachmentsItemTitle>) => import("react/jsx-runtime").JSX.Element;
65
- declare const EmbeddedChatMessageAttachmentsPreview: (props: ComponentPropsWithRef<ForwardRefExoticComponent< PolymorphicProps & Omit< DialogProps, "_id"> & Partial<Pick< DialogProps, "_id">>>>) => import("react/jsx-runtime").JSX.Element;
66
- declare const EmbeddedChatMessageAttachmentsPreviewOverlay: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageAttachmentsPreviewOverlay>) => import("react/jsx-runtime").JSX.Element;
67
- declare const EmbeddedChatMessageAttachmentsPreviewContent: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageAttachmentsPreviewContent>) => import("react/jsx-runtime").JSX.Element;
68
- declare const EmbeddedChatMessageAttachmentsPreviewHeader: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageAttachmentsPreviewHeader>) => import("react/jsx-runtime").JSX.Element;
69
- declare const EmbeddedChatMessageAttachmentsPreviewClose: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageAttachmentsPreviewClose>) => import("react/jsx-runtime").JSX.Element;
70
- declare const EmbeddedChatMessageAttachmentsPreviewBody: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageAttachmentsPreviewBody>) => import("react/jsx-runtime").JSX.Element;
71
55
  declare const EmbeddedChatDynamicComponent: ({ name, props, componentDef, }: EmbeddedChatPrimitive.EmbeddedChatPrimitiveDynamicComponentProps) => import("react/jsx-runtime").JSX.Element;
72
56
  declare const EmbeddedChatMarkdown: ({ componentStyles, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.Markdown>) => import("react/jsx-runtime").JSX.Element;
73
57
  declare const EmbeddedChatMessageToolbar: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.MessageToolbar>) => import("react/jsx-runtime").JSX.Element;
@@ -92,38 +76,6 @@ declare const EmbeddedChatInputGroup: ({ className, ...props }: React.ComponentP
92
76
  declare const EmbeddedChatInput: ForwardRefExoticComponent<Omit<Omit< TextareaAutosizeProps & ClassAttributes<HTMLTextAreaElement> & TextareaHTMLAttributes<HTMLTextAreaElement>, "ref"> & RefAttributes<HTMLTextAreaElement>, "ref"> & RefAttributes<HTMLTextAreaElement>>;
93
77
  declare const EmbeddedChatSendButton: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.SendButton>) => import("react/jsx-runtime").JSX.Element;
94
78
  declare const EmbeddedChatSendButtonIcon: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.SendButtonIcon>) => import("react/jsx-runtime").JSX.Element;
95
- declare const EmbeddedChatAttachmentsBar: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBar>) => import("react/jsx-runtime").JSX.Element;
96
- declare const EmbeddedChatAttachmentsBarList: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarList>) => import("react/jsx-runtime").JSX.Element;
97
- declare const EmbeddedChatAttachmentsBarAttachment: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarAttachment>) => import("react/jsx-runtime").JSX.Element;
98
- declare const EmbeddedChatAttachmentsBarAttachmentIcon: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarAttachmentIcon>) => import("react/jsx-runtime").JSX.Element;
99
- declare const EmbeddedChatAttachmentsBarAttachmentTitle: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarAttachmentTitle>) => import("react/jsx-runtime").JSX.Element;
100
- declare const EmbeddedChatAttachmentsBarAttachmentDelete: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarAttachmentDelete>) => import("react/jsx-runtime").JSX.Element;
101
- declare const EmbeddedChatAttachmentsBarActions: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarActions>) => import("react/jsx-runtime").JSX.Element;
102
- declare const EmbeddedChatAttachmentsBarInfoTip: ForwardRefExoticComponent< PolymorphicProps & Omit< TooltipProps, "_id" | "delayDuration"> & Partial<Pick< TooltipProps, "_id" | "delayDuration">>>;
103
- declare const EmbeddedChatAttachmentsBarInfoTipIcon: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarInfoTipIcon>) => import("react/jsx-runtime").JSX.Element;
104
- declare const EmbeddedChatAttachmentsBarInfoTipText: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarInfoTipText>) => import("react/jsx-runtime").JSX.Element;
105
- declare const EmbeddedChatAttachmentsBarInfoTipArrow: ForwardRefExoticComponent< PolymorphicProps & Omit< TooltipArrowProps & RefAttributes<SVGSVGElement>, "_id"> & Partial<Pick< TooltipArrowProps & RefAttributes<SVGSVGElement>, "_id">>>;
106
- declare const EmbeddedChatAttachmentsBarInputs: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarInputs>) => import("react/jsx-runtime").JSX.Element;
107
- declare const EmbeddedChatAttachmentsBarInput: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarInput>) => import("react/jsx-runtime").JSX.Element;
108
- declare const EmbeddedChatAttachmentsBarModal: (props: ComponentPropsWithRef<ForwardRefExoticComponent< PolymorphicProps & Omit< DialogProps, "_id"> & Partial<Pick< DialogProps, "_id">>>>) => import("react/jsx-runtime").JSX.Element;
109
- declare const EmbeddedChatAttachmentsBarModalOverlay: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarModalOverlay>) => import("react/jsx-runtime").JSX.Element;
110
- declare const EmbeddedChatAttachmentsBarModalContent: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarModalContent>) => import("react/jsx-runtime").JSX.Element;
111
- declare const EmbeddedChatAttachmentsBarModalHeader: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarModalHeader>) => import("react/jsx-runtime").JSX.Element;
112
- declare const EmbeddedChatAttachmentsBarModalHeading: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarModalHeading>) => import("react/jsx-runtime").JSX.Element;
113
- declare const EmbeddedChatAttachmentsBarModalDescription: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarModalDescription>) => import("react/jsx-runtime").JSX.Element;
114
- declare const EmbeddedChatAttachmentsBarModalHelp: (props: ComponentPropsWithRef<ForwardRefExoticComponent< PolymorphicProps & Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id"> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id">>>>) => import("react/jsx-runtime").JSX.Element | null;
115
- declare const EmbeddedChatAttachmentsBarModalClose: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarModalClose>) => import("react/jsx-runtime").JSX.Element;
116
- declare const EmbeddedChatAttachmentsBarModalBody: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarModalBody>) => import("react/jsx-runtime").JSX.Element;
117
- declare const EmbeddedChatAttachmentsBarForm: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarForm>) => import("react/jsx-runtime").JSX.Element;
118
- declare const EmbeddedChatAttachmentsBarFormTitle: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarFormTitle>) => import("react/jsx-runtime").JSX.Element;
119
- declare const EmbeddedChatAttachmentsBarFormTitleLabel: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarFormTitleLabel>) => import("react/jsx-runtime").JSX.Element;
120
- declare const EmbeddedChatAttachmentsBarFormTitleInput: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarFormTitleInput>) => import("react/jsx-runtime").JSX.Element;
121
- declare const EmbeddedChatAttachmentsBarFormTitleError: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarFormTitleError>) => import("react/jsx-runtime").JSX.Element;
122
- declare const EmbeddedChatAttachmentsBarFormContent: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarFormContent>) => import("react/jsx-runtime").JSX.Element;
123
- declare const EmbeddedChatAttachmentsBarFormContentLabel: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarFormContentLabel>) => import("react/jsx-runtime").JSX.Element;
124
- declare const EmbeddedChatAttachmentsBarFormContentInput: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarFormContentInput>) => import("react/jsx-runtime").JSX.Element;
125
- declare const EmbeddedChatAttachmentsBarFormContentError: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarFormContentError>) => import("react/jsx-runtime").JSX.Element;
126
- declare const EmbeddedChatAttachmentsBarFormSubmitButton: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.AttachmentsBarFormSubmitButton>) => import("react/jsx-runtime").JSX.Element;
127
79
  declare const EmbeddedChatActionBar: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.ActionBar>) => import("react/jsx-runtime").JSX.Element;
128
80
  declare const EmbeddedChatActions: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.Actions>) => import("react/jsx-runtime").JSX.Element;
129
81
  declare const EmbeddedChatTaglineContainer: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.TaglineContainer>) => import("react/jsx-runtime").JSX.Element;
@@ -208,4 +160,6 @@ declare const EmbeddedChatFormSuccess: ({ className, ...props }: React.Component
208
160
  declare const EmbeddedChatFormSuccessHeading: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormSuccessHeading>) => import("react/jsx-runtime").JSX.Element;
209
161
  declare const EmbeddedChatFormSuccessMessage: (props: ComponentPropsWithRef<ForwardRefExoticComponent< PolymorphicProps & Omit< ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & MarkdownProps, "_id"> & Partial<Pick< ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & MarkdownProps, "_id">>>>) => import("react/jsx-runtime").JSX.Element;
210
162
  declare const EmbeddedChatFormSuccessButton: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormSuccessButton>) => import("react/jsx-runtime").JSX.Element;
211
- export { EmbeddedChatProvider as Provider, EmbeddedChatWrapper as Wrapper, EmbeddedChatRoot as Root, EmbeddedChatHeader as Header, EmbeddedChatHeaderToolbar as HeaderToolbar, EmbeddedChatHeaderToolbarWrapper as HeaderToolbarWrapper, EmbeddedChatToolbarHeader as ToolbarHeader, EmbeddedChatChatHistoryButtonIcon as ChatHistoryButtonIcon, EmbeddedChatChatHistoryButton as ChatHistoryButton, EmbeddedChatChatHistoryTrigger as ChatHistoryTrigger, EmbeddedChatContent as Content, EmbeddedChatContentScrollArea as ContentScrollArea, EmbeddedChatContentScrollAreaViewport as ContentScrollAreaViewport, EmbeddedChatContentScrollAreaScrollbar as ContentScrollAreaScrollbar, EmbeddedChatContentScrollAreaThumb as ContentScrollAreaThumb, EmbeddedChatContentScrollAreaCorner as ContentScrollAreaCorner, EmbeddedChatMessages as Messages, EmbeddedChatMessageWrapper as MessageWrapper, EmbeddedChatIntroMessageWrapper as IntroMessageWrapper, EmbeddedChatDisclaimer as Disclaimer, EmbeddedChatDisclaimerLabel as DisclaimerLabel, EmbeddedChatDisclaimerTrigger as DisclaimerTrigger, EmbeddedChatDisclaimerContent as DisclaimerContent, EmbeddedChatDisclaimerText as DisclaimerText, EmbeddedChatDisclaimerArrow as DisclaimerArrow, EmbeddedChatExampleQuestions as ExampleQuestions, EmbeddedChatExampleQuestionsLabel as ExampleQuestionsLabel, EmbeddedChatExampleQuestionsList as ExampleQuestionsList, EmbeddedChatExampleQuestion as ExampleQuestion, EmbeddedChatExampleQuestionButton as ExampleQuestionButton, EmbeddedChatWorkflows as Workflows, EmbeddedChatWorkflowsLabel as WorkflowsLabel, EmbeddedChatWorkflowsList as WorkflowsList, EmbeddedChatWorkflow as Workflow, EmbeddedChatMessageHeader as MessageHeader, EmbeddedChatMessageLoading as MessageLoading, EmbeddedChatMessagesSessionLoading as MessagesSessionLoading, EmbeddedChatMessageAvatar as MessageAvatar, EmbeddedChatMessageAvatarContent as MessageAvatarContent, EmbeddedChatMessageAvatarFallback as MessageAvatarFallback, EmbeddedChatMessageAvatarImage as MessageAvatarImage, EmbeddedChatMessageName as MessageName, EmbeddedChatMessageContentWrapper as MessageContentWrapper, EmbeddedChatMessageContent as MessageContent, EmbeddedChatMessageAttachments as MessageAttachments, EmbeddedChatMessageAttachmentsList as MessageAttachmentsList, EmbeddedChatMessageAttachmentsItem as MessageAttachmentsItem, EmbeddedChatMessageAttachmentsItemIcon as MessageAttachmentsItemIcon, EmbeddedChatMessageAttachmentsItemTitle as MessageAttachmentsItemTitle, EmbeddedChatMessageAttachmentsPreview as MessageAttachmentsPreview, EmbeddedChatMessageAttachmentsPreviewOverlay as MessageAttachmentsPreviewOverlay, EmbeddedChatMessageAttachmentsPreviewContent as MessageAttachmentsPreviewContent, EmbeddedChatMessageAttachmentsPreviewHeader as MessageAttachmentsPreviewHeader, EmbeddedChatMessageAttachmentsPreviewClose as MessageAttachmentsPreviewClose, EmbeddedChatMessageAttachmentsPreviewBody as MessageAttachmentsPreviewBody, EmbeddedChatMarkdown as Markdown, EmbeddedChatDynamicComponent as DynamicComponent, EmbeddedChatMessagePart as MessagePart, EmbeddedChatMessageToolbar as MessageToolbar, EmbeddedChatMessageCustomActions as MessageCustomActions, EmbeddedChatMessageCustomAction as MessageCustomAction, EmbeddedChatMessageAction as MessageAction, EmbeddedChatMessageSources as MessageSources, EmbeddedChatMessageSourcesHeader as MessageSourcesHeader, EmbeddedChatMessageSourcesList as MessageSourcesList, EmbeddedChatMessageSourceItem as MessageSourceItem, EmbeddedChatMessageSourceItemBreadcrumbs as MessageSourceItemBreadcrumbs, EmbeddedChatMessageSourceItemBreadcrumbIcon as MessageSourceItemBreadcrumbIcon, EmbeddedChatMessageSourceItemIcon as MessageSourceItemIcon, EmbeddedChatMessageSourceItemTitle as MessageSourceItemTitle, EmbeddedChatMessageSourceItemTag as MessageSourceItemTag, EmbeddedChatMessageSourceItemDescription as MessageSourceItemDescription, EmbeddedChatMessageSourceItemDescriptionPart as MessageSourceItemDescriptionPart, EmbeddedChatMessageSourceItemIndicator as MessageSourceItemIndicator, EmbeddedChatFooter as Footer, EmbeddedChatInputFieldset as InputFieldset, EmbeddedChatInputGroup as InputGroup, EmbeddedChatInput as Input, EmbeddedChatSendButton as SendButton, EmbeddedChatSendButtonIcon as SendButtonIcon, EmbeddedChatAttachmentsBar as AttachmentsBar, EmbeddedChatAttachmentsBarList as AttachmentsBarList, EmbeddedChatAttachmentsBarAttachment as AttachmentsBarAttachment, EmbeddedChatAttachmentsBarAttachmentIcon as AttachmentsBarAttachmentIcon, EmbeddedChatAttachmentsBarAttachmentTitle as AttachmentsBarAttachmentTitle, EmbeddedChatAttachmentsBarAttachmentDelete as AttachmentsBarAttachmentDelete, EmbeddedChatAttachmentsBarActions as AttachmentsBarActions, EmbeddedChatAttachmentsBarInfoTip as AttachmentsBarInfoTip, EmbeddedChatAttachmentsBarInfoTipIcon as AttachmentsBarInfoTipIcon, EmbeddedChatAttachmentsBarInfoTipText as AttachmentsBarInfoTipText, EmbeddedChatAttachmentsBarInfoTipArrow as AttachmentsBarInfoTipArrow, EmbeddedChatAttachmentsBarInputs as AttachmentsBarInputs, EmbeddedChatAttachmentsBarInput as AttachmentsBarInput, EmbeddedChatAttachmentsBarModal as AttachmentsBarModal, EmbeddedChatAttachmentsBarModalOverlay as AttachmentsBarModalOverlay, EmbeddedChatAttachmentsBarModalContent as AttachmentsBarModalContent, EmbeddedChatAttachmentsBarModalHeader as AttachmentsBarModalHeader, EmbeddedChatAttachmentsBarModalHeading as AttachmentsBarModalHeading, EmbeddedChatAttachmentsBarModalDescription as AttachmentsBarModalDescription, EmbeddedChatAttachmentsBarModalHelp as AttachmentsBarModalHelp, EmbeddedChatAttachmentsBarModalClose as AttachmentsBarModalClose, EmbeddedChatAttachmentsBarModalBody as AttachmentsBarModalBody, EmbeddedChatAttachmentsBarForm as AttachmentsBarForm, EmbeddedChatAttachmentsBarFormTitle as AttachmentsBarFormTitle, EmbeddedChatAttachmentsBarFormTitleLabel as AttachmentsBarFormTitleLabel, EmbeddedChatAttachmentsBarFormTitleInput as AttachmentsBarFormTitleInput, EmbeddedChatAttachmentsBarFormTitleError as AttachmentsBarFormTitleError, EmbeddedChatAttachmentsBarFormContent as AttachmentsBarFormContent, EmbeddedChatAttachmentsBarFormContentLabel as AttachmentsBarFormContentLabel, EmbeddedChatAttachmentsBarFormContentInput as AttachmentsBarFormContentInput, EmbeddedChatAttachmentsBarFormContentError as AttachmentsBarFormContentError, EmbeddedChatAttachmentsBarFormSubmitButton as AttachmentsBarFormSubmitButton, EmbeddedChatActionBar as ActionBar, EmbeddedChatActions as Actions, EmbeddedChatTaglineContainer as TaglineContainer, EmbeddedChatTaglineText as TaglineText, EmbeddedChatTaglineLogo as TaglineLogo, EmbeddedChatTaglineBrandName as TaglineBrandName, EmbeddedChatAction as ChatAction, EmbeddedChatActionLabel as ChatActionLabel, EmbeddedChatActionFeedback as ChatActionFeedback, EmbeddedChatHelpActions as HelpActions, EmbeddedChatHelpAction as HelpAction, EmbeddedChatHelpActionsTrigger as HelpActionsTrigger, EmbeddedChatHelpActionsMenu as HelpActionsMenu, EmbeddedChatHelpActionsMenuArrow as HelpActionsMenuArrow, EmbeddedChatHelpActionsMenuItem as HelpActionsMenuItem, EmbeddedChatHelpActionsMenuItemIcon as HelpActionsMenuItemIcon, EmbeddedChatFeedbackModal as FeedbackModal, EmbeddedChatFeedbackModalOverlay as FeedbackModalOverlay, EmbeddedChatFeedbackModalContent as FeedbackModalContent, EmbeddedChatFeedbackModalHeader as FeedbackModalHeader, EmbeddedChatFeedbackModalClose as FeedbackModalClose, EmbeddedChatFeedbackModalBody as FeedbackModalBody, EmbeddedChatFeedbackForm as FeedbackForm, EmbeddedChatFeedbackItem as FeedbackItem, EmbeddedChatFeedbackItemCheckbox as FeedbackItemCheckbox, EmbeddedChatFeedbackItemCheckboxIndicator as FeedbackItemCheckboxIndicator, EmbeddedChatFeedbackItemLabel as FeedbackItemLabel, EmbeddedChatFeedbackItemDescription as FeedbackItemDescription, EmbeddedChatFeedbackSubmitButton as FeedbackSubmitButton, EmbeddedChatFormWrapper as FormWrapper, EmbeddedChatForm as Form, EmbeddedChatFormClose as FormClose, EmbeddedChatFormHeader as FormHeader, EmbeddedChatFormHeading as FormHeading, EmbeddedChatFormDescription as FormDescription, EmbeddedChatFormContent as FormContent, EmbeddedChatFormField as FormField, EmbeddedChatFormFieldLabel as FormFieldLabel, EmbeddedChatFormFieldText as FormFieldText, EmbeddedChatFormFieldEmail as FormFieldEmail, EmbeddedChatFormFieldFile as FormFieldFile, EmbeddedChatFormFieldTextArea as FormFieldTextArea, EmbeddedChatFormFieldCheckbox as FormFieldCheckbox, EmbeddedChatFormFieldCheckboxIndicator as FormFieldCheckboxIndicator, EmbeddedChatFormFieldSelect as FormFieldSelect, EmbeddedChatFormFieldSelectTrigger as FormFieldSelectTrigger, EmbeddedChatFormFieldSelectValue as FormFieldSelectValue, EmbeddedChatFormFieldSelectIcon as FormFieldSelectIcon, EmbeddedChatFormFieldSelectContent as FormFieldSelectContent, EmbeddedChatFormFieldSelectViewport as FormFieldSelectViewport, EmbeddedChatFormFieldSelectItem as FormFieldSelectItem, EmbeddedChatFormFieldSelectItemText as FormFieldSelectItemText, EmbeddedChatFormFieldSelectItemIndicator as FormFieldSelectItemIndicator, EmbeddedChatFormFieldCombobox as FormFieldCombobox, EmbeddedChatFormFieldComboboxControl as FormFieldComboboxControl, EmbeddedChatFormFieldComboboxInput as FormFieldComboboxInput, EmbeddedChatFormFieldComboboxTrigger as FormFieldComboboxTrigger, EmbeddedChatFormFieldComboboxSelectedTags as FormFieldComboboxSelectedTags, EmbeddedChatFormFieldComboboxPositioner as FormFieldComboboxPositioner, EmbeddedChatFormFieldComboboxContent as FormFieldComboboxContent, EmbeddedChatFormFieldComboboxList as FormFieldComboboxList, EmbeddedChatFormFieldComboboxListItems as FormFieldComboboxListItems, EmbeddedChatFormFieldComboboxListEmpty as FormFieldComboboxListEmpty, EmbeddedChatFormFieldComboboxItem as FormFieldComboboxItem, EmbeddedChatFormFieldComboboxItemText as FormFieldComboboxItemText, EmbeddedChatFormFieldComboboxItemIndicator as FormFieldComboboxItemIndicator, EmbeddedChatFormFieldDescription as FormFieldDescription, EmbeddedChatFormFieldError as FormFieldError, EmbeddedChatFormError as FormError, EmbeddedChatFormFooter as FormFooter, EmbeddedChatFormCancel as FormCancel, EmbeddedChatFormSubmit as FormSubmit, EmbeddedChatFormSuccess as FormSuccess, EmbeddedChatFormSuccessHeading as FormSuccessHeading, EmbeddedChatFormSuccessMessage as FormSuccessMessage, EmbeddedChatFormSuccessButton as FormSuccessButton, };
163
+ export { EmbeddedChatProvider as Provider, EmbeddedChatWrapper as Wrapper, EmbeddedChatRoot as Root, EmbeddedChatHeader as Header, EmbeddedChatHeaderToolbar as HeaderToolbar, EmbeddedChatHeaderToolbarWrapper as HeaderToolbarWrapper, EmbeddedChatToolbarHeader as ToolbarHeader, EmbeddedChatChatHistoryButtonIcon as ChatHistoryButtonIcon, EmbeddedChatChatHistoryButton as ChatHistoryButton, EmbeddedChatChatHistoryTrigger as ChatHistoryTrigger, EmbeddedChatContent as Content, EmbeddedChatContentScrollArea as ContentScrollArea, EmbeddedChatContentScrollAreaViewport as ContentScrollAreaViewport, EmbeddedChatContentScrollAreaScrollbar as ContentScrollAreaScrollbar, EmbeddedChatContentScrollAreaThumb as ContentScrollAreaThumb, EmbeddedChatContentScrollAreaCorner as ContentScrollAreaCorner, EmbeddedChatMessages as Messages, EmbeddedChatMessageWrapper as MessageWrapper, EmbeddedChatIntroMessageWrapper as IntroMessageWrapper, EmbeddedChatDisclaimer as Disclaimer, EmbeddedChatDisclaimerLabel as DisclaimerLabel, EmbeddedChatDisclaimerTrigger as DisclaimerTrigger, EmbeddedChatDisclaimerContent as DisclaimerContent, EmbeddedChatDisclaimerText as DisclaimerText, EmbeddedChatDisclaimerArrow as DisclaimerArrow, EmbeddedChatExampleQuestions as ExampleQuestions, EmbeddedChatExampleQuestionsLabel as ExampleQuestionsLabel, EmbeddedChatExampleQuestionsList as ExampleQuestionsList, EmbeddedChatExampleQuestion as ExampleQuestion, EmbeddedChatExampleQuestionButton as ExampleQuestionButton, EmbeddedChatMessageHeader as MessageHeader, EmbeddedChatMessageLoading as MessageLoading, EmbeddedChatMessagesSessionLoading as MessagesSessionLoading, EmbeddedChatMessageAvatar as MessageAvatar, EmbeddedChatMessageAvatarContent as MessageAvatarContent, EmbeddedChatMessageAvatarFallback as MessageAvatarFallback, EmbeddedChatMessageAvatarImage as MessageAvatarImage, EmbeddedChatMessageName as MessageName, EmbeddedChatMessageContentWrapper as MessageContentWrapper, EmbeddedChatMessageContent as MessageContent, EmbeddedChatMarkdown as Markdown, EmbeddedChatDynamicComponent as DynamicComponent, EmbeddedChatMessagePart as MessagePart, EmbeddedChatMessageToolbar as MessageToolbar, EmbeddedChatMessageCustomActions as MessageCustomActions, EmbeddedChatMessageCustomAction as MessageCustomAction, EmbeddedChatMessageAction as MessageAction, EmbeddedChatMessageSources as MessageSources, EmbeddedChatMessageSourcesHeader as MessageSourcesHeader, EmbeddedChatMessageSourcesList as MessageSourcesList, EmbeddedChatMessageSourceItem as MessageSourceItem, EmbeddedChatMessageSourceItemBreadcrumbs as MessageSourceItemBreadcrumbs, EmbeddedChatMessageSourceItemBreadcrumbIcon as MessageSourceItemBreadcrumbIcon, EmbeddedChatMessageSourceItemIcon as MessageSourceItemIcon, EmbeddedChatMessageSourceItemTitle as MessageSourceItemTitle, EmbeddedChatMessageSourceItemTag as MessageSourceItemTag, EmbeddedChatMessageSourceItemDescription as MessageSourceItemDescription, EmbeddedChatMessageSourceItemDescriptionPart as MessageSourceItemDescriptionPart, EmbeddedChatMessageSourceItemIndicator as MessageSourceItemIndicator, EmbeddedChatFooter as Footer, EmbeddedChatInputFieldset as InputFieldset, EmbeddedChatInputGroup as InputGroup, EmbeddedChatInput as Input, EmbeddedChatSendButton as SendButton, EmbeddedChatSendButtonIcon as SendButtonIcon, EmbeddedChatActionBar as ActionBar, EmbeddedChatActions as Actions, EmbeddedChatTaglineContainer as TaglineContainer, EmbeddedChatTaglineText as TaglineText, EmbeddedChatTaglineLogo as TaglineLogo, EmbeddedChatTaglineBrandName as TaglineBrandName, EmbeddedChatAction as ChatAction, EmbeddedChatActionLabel as ChatActionLabel, EmbeddedChatActionFeedback as ChatActionFeedback, EmbeddedChatHelpActions as HelpActions, EmbeddedChatHelpAction as HelpAction, EmbeddedChatHelpActionsTrigger as HelpActionsTrigger, EmbeddedChatHelpActionsMenu as HelpActionsMenu, EmbeddedChatHelpActionsMenuArrow as HelpActionsMenuArrow, EmbeddedChatHelpActionsMenuItem as HelpActionsMenuItem, EmbeddedChatHelpActionsMenuItemIcon as HelpActionsMenuItemIcon, EmbeddedChatFeedbackModal as FeedbackModal, EmbeddedChatFeedbackModalOverlay as FeedbackModalOverlay, EmbeddedChatFeedbackModalContent as FeedbackModalContent, EmbeddedChatFeedbackModalHeader as FeedbackModalHeader, EmbeddedChatFeedbackModalClose as FeedbackModalClose, EmbeddedChatFeedbackModalBody as FeedbackModalBody, EmbeddedChatFeedbackForm as FeedbackForm, EmbeddedChatFeedbackItem as FeedbackItem, EmbeddedChatFeedbackItemCheckbox as FeedbackItemCheckbox, EmbeddedChatFeedbackItemCheckboxIndicator as FeedbackItemCheckboxIndicator, EmbeddedChatFeedbackItemLabel as FeedbackItemLabel, EmbeddedChatFeedbackItemDescription as FeedbackItemDescription, EmbeddedChatFeedbackSubmitButton as FeedbackSubmitButton, EmbeddedChatFormWrapper as FormWrapper, EmbeddedChatForm as Form, EmbeddedChatFormClose as FormClose, EmbeddedChatFormHeader as FormHeader, EmbeddedChatFormHeading as FormHeading, EmbeddedChatFormDescription as FormDescription, EmbeddedChatFormContent as FormContent, EmbeddedChatFormField as FormField, EmbeddedChatFormFieldLabel as FormFieldLabel, EmbeddedChatFormFieldText as FormFieldText, EmbeddedChatFormFieldEmail as FormFieldEmail, EmbeddedChatFormFieldFile as FormFieldFile, EmbeddedChatFormFieldTextArea as FormFieldTextArea, EmbeddedChatFormFieldCheckbox as FormFieldCheckbox, EmbeddedChatFormFieldCheckboxIndicator as FormFieldCheckboxIndicator, EmbeddedChatFormFieldSelect as FormFieldSelect, EmbeddedChatFormFieldSelectTrigger as FormFieldSelectTrigger, EmbeddedChatFormFieldSelectValue as FormFieldSelectValue, EmbeddedChatFormFieldSelectIcon as FormFieldSelectIcon, EmbeddedChatFormFieldSelectContent as FormFieldSelectContent, EmbeddedChatFormFieldSelectViewport as FormFieldSelectViewport, EmbeddedChatFormFieldSelectItem as FormFieldSelectItem, EmbeddedChatFormFieldSelectItemText as FormFieldSelectItemText, EmbeddedChatFormFieldSelectItemIndicator as FormFieldSelectItemIndicator, EmbeddedChatFormFieldCombobox as FormFieldCombobox, EmbeddedChatFormFieldComboboxControl as FormFieldComboboxControl, EmbeddedChatFormFieldComboboxInput as FormFieldComboboxInput, EmbeddedChatFormFieldComboboxTrigger as FormFieldComboboxTrigger, EmbeddedChatFormFieldComboboxSelectedTags as FormFieldComboboxSelectedTags, EmbeddedChatFormFieldComboboxPositioner as FormFieldComboboxPositioner, EmbeddedChatFormFieldComboboxContent as FormFieldComboboxContent, EmbeddedChatFormFieldComboboxList as FormFieldComboboxList, EmbeddedChatFormFieldComboboxListItems as FormFieldComboboxListItems, EmbeddedChatFormFieldComboboxListEmpty as FormFieldComboboxListEmpty, EmbeddedChatFormFieldComboboxItem as FormFieldComboboxItem, EmbeddedChatFormFieldComboboxItemText as FormFieldComboboxItemText, EmbeddedChatFormFieldComboboxItemIndicator as FormFieldComboboxItemIndicator, EmbeddedChatFormFieldDescription as FormFieldDescription, EmbeddedChatFormFieldError as FormFieldError, EmbeddedChatFormError as FormError, EmbeddedChatFormFooter as FormFooter, EmbeddedChatFormCancel as FormCancel, EmbeddedChatFormSubmit as FormSubmit, EmbeddedChatFormSuccess as FormSuccess, EmbeddedChatFormSuccessHeading as FormSuccessHeading, EmbeddedChatFormSuccessMessage as FormSuccessMessage, EmbeddedChatFormSuccessButton as FormSuccessButton, };
164
+ export { EmbeddedChatDropZone as DropZone, EmbeddedChatFileUploadButton as FileUploadButton, EmbeddedChatFileInput as FileInput, EmbeddedChatInputNotification as InputNotification, EmbeddedChatInputNotificationContent as InputNotificationContent, EmbeddedChatInputNotificationHeader as InputNotificationHeader, EmbeddedChatInputNotificationTitle as InputNotificationTitle, EmbeddedChatInputNotificationMessage as InputNotificationMessage, EmbeddedChatInputNotificationClose as InputNotificationClose, EmbeddedChatFileList as FileList, EmbeddedChatFileItem as FileItem, EmbeddedChatFilePreviewTrigger as FilePreviewTrigger, EmbeddedChatFileContent as FileContent, EmbeddedChatFileThumbnail as FileThumbnail, EmbeddedChatFileTypeIcon as FileTypeIcon, EmbeddedChatFileName as FileName, EmbeddedChatFileRemove as FileRemove, EmbeddedChatMessageFiles as MessageFiles, EmbeddedChatMessageFile as MessageFile, } from './embedded-chat/file-upload-input';
165
+ export { EmbeddedChatImagePreviewModal as ImagePreviewModal, EmbeddedChatImagePreviewModalOverlay as ImagePreviewModalOverlay, EmbeddedChatImagePreviewModalContent as ImagePreviewModalContent, EmbeddedChatImagePreviewModalImage as ImagePreviewModalImage, EmbeddedChatImagePreviewModalFooter as ImagePreviewModalFooter, EmbeddedChatImagePreviewModalFileName as ImagePreviewModalFileName, EmbeddedChatImagePreviewModalClose as ImagePreviewModalClose, } from './embedded-chat/image-preview-modal';