@inkeep/agents-ui 0.15.25 → 0.15.27

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 (99) 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 +7 -5
  24. package/dist/primitives/components/embedded-chat/use-inkeep-chat.js +287 -247
  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-input-notification.cjs +1 -0
  32. package/dist/primitives/hooks/use-input-notification.d.ts +9 -0
  33. package/dist/primitives/hooks/use-input-notification.js +18 -0
  34. package/dist/primitives/hooks/use-scrolling-fades.cjs +1 -1
  35. package/dist/primitives/hooks/use-scrolling-fades.d.ts +1 -0
  36. package/dist/primitives/hooks/use-scrolling-fades.js +21 -5
  37. package/dist/primitives/index.cjs +1 -1
  38. package/dist/primitives/index.js +146 -154
  39. package/dist/primitives/providers/base-events-provider.cjs +1 -1
  40. package/dist/primitives/providers/base-events-provider.js +1 -1
  41. package/dist/primitives/providers/feedback-provider.cjs +1 -1
  42. package/dist/primitives/providers/feedback-provider.js +37 -38
  43. package/dist/primitives/providers/image-preview-provider.cjs +1 -0
  44. package/dist/primitives/providers/image-preview-provider.d.ts +15 -0
  45. package/dist/primitives/providers/image-preview-provider.js +23 -0
  46. package/dist/primitives/providers/index.cjs +1 -1
  47. package/dist/primitives/providers/index.d.ts +0 -3
  48. package/dist/primitives/providers/index.js +54 -63
  49. package/dist/primitives/utils/component-ids.cjs +1 -1
  50. package/dist/primitives/utils/component-ids.d.ts +54 -98
  51. package/dist/primitives/utils/component-ids.js +44 -66
  52. package/dist/primitives/utils/default-settings.cjs +1 -1
  53. package/dist/primitives/utils/default-settings.d.ts +0 -2
  54. package/dist/primitives/utils/default-settings.js +6 -8
  55. package/dist/react/embedded-chat.cjs +1 -1
  56. package/dist/react/embedded-chat.js +283 -287
  57. package/dist/react/index.cjs +1 -1
  58. package/dist/react/index.js +166 -174
  59. package/dist/styled/components/chat-history.cjs +1 -1
  60. package/dist/styled/components/chat-history.d.ts +1 -1
  61. package/dist/styled/components/chat-history.js +31 -29
  62. package/dist/styled/components/embedded-chat/file-upload-input.cjs +1 -0
  63. package/dist/styled/components/embedded-chat/file-upload-input.d.ts +20 -0
  64. package/dist/styled/components/embedded-chat/file-upload-input.js +300 -0
  65. package/dist/styled/components/embedded-chat/image-preview-modal.cjs +1 -0
  66. package/dist/styled/components/embedded-chat/image-preview-modal.d.ts +11 -0
  67. package/dist/styled/components/embedded-chat/image-preview-modal.js +77 -0
  68. package/dist/styled/components/embedded-chat.cjs +1 -1
  69. package/dist/styled/components/embedded-chat.d.ts +4 -50
  70. package/dist/styled/components/embedded-chat.js +567 -1010
  71. package/dist/styled/components/message.cjs +1 -1
  72. package/dist/styled/components/message.js +89 -88
  73. package/dist/styled/components/ui/recipes/citation.d.ts +1 -1
  74. package/dist/styled/components/ui/recipes/index.cjs +1 -1
  75. package/dist/styled/components/ui/recipes/index.d.ts +0 -1
  76. package/dist/styled/components/ui/recipes/index.js +31 -33
  77. package/dist/styled/index.cjs +1 -1
  78. package/dist/styled/index.js +154 -162
  79. package/dist/styled/inkeep.css.cjs +241 -61
  80. package/dist/styled/inkeep.css.js +241 -61
  81. package/dist/types/config/ai.d.ts +1 -10
  82. package/dist/types/icons/built-in.d.ts +1 -1
  83. package/dist/types/icons/custom.d.ts +8 -0
  84. package/dist/types/index.d.ts +0 -1
  85. package/package.json +7 -6
  86. package/dist/primitives/providers/attachment-item-provider.cjs +0 -1
  87. package/dist/primitives/providers/attachment-item-provider.d.ts +0 -9
  88. package/dist/primitives/providers/attachment-item-provider.js +0 -13
  89. package/dist/primitives/providers/attachments-bar-provider.cjs +0 -1
  90. package/dist/primitives/providers/attachments-bar-provider.d.ts +0 -30
  91. package/dist/primitives/providers/attachments-bar-provider.js +0 -57
  92. package/dist/primitives/providers/message-attachments-provider.cjs +0 -1
  93. package/dist/primitives/providers/message-attachments-provider.d.ts +0 -13
  94. package/dist/primitives/providers/message-attachments-provider.js +0 -27
  95. package/dist/primitives/utils/get-message-metadata.d.ts +0 -8
  96. package/dist/styled/components/ui/recipes/attachment.cjs +0 -1
  97. package/dist/styled/components/ui/recipes/attachment.d.ts +0 -4
  98. package/dist/styled/components/ui/recipes/attachment.js +0 -28
  99. package/dist/types/config/settings/workflow.d.ts +0 -86
@@ -1,39 +1,41 @@
1
1
  "use client";
2
- import { jsx as a, jsxs as g } from "react/jsx-runtime";
2
+ import { jsx as a, jsxs as E } from "react/jsx-runtime";
3
3
  import { useChatHistory as P } from "../../primitives/providers/chat-history-provider.js";
4
4
  import { useInkeepConfig as w } from "../../primitives/providers/config-provider.js";
5
- import { EmbeddedChatPrimitiveContentScrollAreaCorner as M, EmbeddedChatPrimitiveDisclaimerText as N, EmbeddedChatPrimitiveMessageAttachments as I, EmbeddedChatPrimitiveMessageAttachmentsPreview as B, EmbeddedChatPrimitiveDynamicComponent as S, EmbeddedChatPrimitiveMessageSources as T, EmbeddedChatPrimitiveAttachmentsBarInfoTip as H, EmbeddedChatPrimitiveAttachmentsBarInfoTipArrow as L, EmbeddedChatPrimitiveAttachmentsBarModal as D, EmbeddedChatPrimitiveAttachmentsBarModalHelp as W, EmbeddedChatPrimitiveHelpActions as _, EmbeddedChatPrimitiveFeedbackModal as z, EmbeddedChatPrimitiveFormFieldSelect as j, EmbeddedChatPrimitiveFormFieldSelectValue as Q, EmbeddedChatPrimitiveFormFieldSelectItemText as O, EmbeddedChatPrimitiveFormFieldCombobox as V, EmbeddedChatPrimitiveFormFieldComboboxListItems as R, EmbeddedChatPrimitiveFormFieldComboboxItemText as q, EmbeddedChatPrimitiveFormSuccessMessage as G, EmbeddedChatPrimitiveWrapper as K, EmbeddedChatPrimitiveRoot as $, Header as J, EmbeddedChatPrimitiveHeaderToolbar as U, EmbeddedChatPrimitiveToolbarHeaderWrapper as X, EmbeddedChatPrimitiveToolbarHeader as Y, EmbeddedChatPrimitiveChatHistoryButtonIcon as Z, EmbeddedChatPrimitiveChatHistoryButton as ee, EmbeddedChatPrimitiveContent as te, EmbeddedChatPrimitiveContentScrollArea as ae, EmbeddedChatPrimitiveContentScrollAreaViewport as de, EmbeddedChatPrimitiveContentScrollAreaScrollbar as se, EmbeddedChatPrimitiveContentScrollAreaThumb as re, EmbeddedChatPrimitiveMessages as oe, EmbeddedChatPrimitiveMessageWrapper as me, EmbeddedChatPrimitiveIntroMessageWrapper as ie, EmbeddedChatPrimitiveDisclaimer as ne, EmbeddedChatPrimitiveDisclaimerLabel as le, EmbeddedChatPrimitiveDisclaimerTrigger as ce, EmbeddedChatPrimitiveDisclaimerContent as he, EmbeddedChatPrimitiveDisclaimerArrow as be, EmbeddedChatPrimitiveExampleQuestions as Ce, EmbeddedChatPrimitiveExampleQuestionsLabel as pe, EmbeddedChatPrimitiveExampleQuestionsList as ue, EmbeddedChatPrimitiveExampleQuestion as Ee, EmbeddedChatPrimitiveExampleQuestionButton as xe, EmbeddedChatPrimitiveWorkflows as ge, EmbeddedChatPrimitiveWorkflowsLabel as Fe, EmbeddedChatPrimitiveWorkflowsList as fe, EmbeddedChatPrimitiveWorkflow as ve, EmbeddedChatPrimitiveMessageHeader as ke, EmbeddedChatPrimitiveMessageLoading as Ae, EmbeddedChatPrimitiveMessageAvatar as ye, EmbeddedChatPrimitiveMessageAvatarContent as Pe, EmbeddedChatPrimitiveMessageAvatarFallback as we, EmbeddedChatPrimitiveMessageAvatarImage as Me, EmbeddedChatPrimitiveMessageName as Ne, EmbeddedChatPrimitiveMessageContentWrapper as Ie, EmbeddedChatPrimitiveMessageContent as Be, EmbeddedChatPrimitiveMessageAttachmentsList as Se, EmbeddedChatPrimitiveMessageAttachmentsItem as Te, EmbeddedChatPrimitiveMessageAttachmentsItemIcon as He, EmbeddedChatPrimitiveMessageAttachmentsItemTitle as Le, EmbeddedChatPrimitiveMessageAttachmentsPreviewOverlay as De, EmbeddedChatPrimitiveMessageAttachmentsPreviewContent as We, EmbeddedChatPrimitiveMessageAttachmentsPreviewHeader as _e, EmbeddedChatPrimitiveMessageAttachmentsPreviewClose as ze, EmbeddedChatPrimitiveMessageAttachmentsPreviewBody as je, EmbeddedChatPrimitiveMarkdown as Qe, EmbeddedChatPrimitiveMessageToolbar as Oe, EmbeddedChatPrimitiveMessageCustomActions as Ve, EmbeddedChatPrimitiveMessageCustomAction as Re, EmbeddedChatPrimitiveMessageAction as qe, EmbeddedChatPrimitiveMessageSourcesHeader as Ge, EmbeddedChatPrimitiveMessageSourcesList as Ke, EmbeddedChatPrimitiveMessageSourceItem as $e, EmbeddedChatPrimitiveMessageSourceItemBreadcrumbs as Je, MessageSourceItemBreadcrumbIcon as Ue, EmbeddedChatPrimitiveMessageSourceItemIcon as Xe, EmbeddedChatPrimitiveMessageSourceItemTitle as Ye, EmbeddedChatPrimitiveMessageSourceItemTag as Ze, EmbeddedChatPrimitiveMessageSourceItemDescription as et, EmbeddedChatPrimitiveMessageSourceItemDescriptionPart as tt, EmbeddedChatPrimitiveMessageSourceItemIndicator as at, EmbeddedChatPrimitiveFooter as dt, EmbeddedChatPrimitiveInputFieldset as st, EmbeddedChatPrimitiveInputGroup as rt, EmbeddedChatPrimitiveInput as ot, EmbeddedChatPrimitiveSendButton as mt, EmbeddedChatPrimitiveSendButtonIcon as it, EmbeddedChatPrimitiveAttachmentsBar as nt, EmbeddedChatPrimitiveAttachmentsBarList as lt, EmbeddedChatPrimitiveAttachmentsBarAttachment as ct, EmbeddedChatPrimitiveAttachmentsBarAttachmentIcon as ht, EmbeddedChatPrimitiveAttachmentsBarAttachmentTitle as bt, EmbeddedChatPrimitiveAttachmentsBarAttachmentDelete as Ct, EmbeddedChatPrimitiveAttachmentsBarActions as pt, EmbeddedChatPrimitiveAttachmentsBarInfoTipIcon as ut, EmbeddedChatPrimitiveAttachmentsBarInfoTipText as Et, EmbeddedChatPrimitiveAttachmentsBarInputs as xt, EmbeddedChatPrimitiveAttachmentsBarInput as gt, EmbeddedChatPrimitiveAttachmentsBarModalOverlay as Ft, EmbeddedChatPrimitiveAttachmentsBarModalContent as ft, EmbeddedChatPrimitiveAttachmentsBarModalHeader as vt, EmbeddedChatPrimitiveAttachmentsBarModalHeading as kt, EmbeddedChatPrimitiveAttachmentsBarModalDescription as At, EmbeddedChatPrimitiveAttachmentsBarModalClose as yt, EmbeddedChatPrimitiveAttachmentsBarModalBody as Pt, EmbeddedChatPrimitiveAttachmentsBarForm as wt, EmbeddedChatPrimitiveAttachmentsBarFormTitle as Mt, EmbeddedChatPrimitiveAttachmentsBarFormTitleLabel as Nt, EmbeddedChatPrimitiveAttachmentsBarFormTitleInput as It, EmbeddedChatPrimitiveAttachmentsBarFormTitleError as Bt, EmbeddedChatPrimitiveAttachmentsBarFormContent as St, EmbeddedChatPrimitiveAttachmentsBarFormContentLabel as Tt, EmbeddedChatPrimitiveAttachmentsBarFormContentInput as Ht, EmbeddedChatPrimitiveAttachmentsBarFormContentError as Lt, EmbeddedChatPrimitiveAttachmentsBarFormSubmitButton as Dt, EmbeddedChatPrimitiveActionBar as Wt, EmbeddedChatPrimitiveActions as _t, EmbeddedChatPrimitiveTaglineContainer as zt, EmbeddedChatPrimitiveTaglineText as jt, EmbeddedChatPrimitiveTaglineLogo as Qt, EmbeddedChatPrimitiveTaglineBrandName as Ot, EmbeddedChatPrimitiveChatAction as Vt, EmbeddedChatPrimitiveChatActionLabel as Rt, EmbeddedChatPrimitiveChatActionFeedback as qt, EmbeddedChatPrimitiveChatHelpAction as Gt, EmbeddedChatPrimitiveHelpActionsTrigger as Kt, EmbeddedChatPrimitiveHelpActionsMenu as $t, EmbeddedChatPrimitiveHelpActionsMenuArrow as Jt, EmbeddedChatPrimitiveHelpActionsMenuItem as Ut, EmbeddedChatPrimitiveHelpActionsMenuItemIcon as Xt, EmbeddedChatPrimitiveFeedbackModalOverlay as Yt, EmbeddedChatPrimitiveFeedbackModalContent as Zt, EmbeddedChatPrimitiveFeedbackModalHeader as ea, EmbeddedChatPrimitiveFeedbackModalClose as ta, EmbeddedChatPrimitiveFeedbackModalBody as aa, EmbeddedChatPrimitiveFeedbackForm as da, EmbeddedChatPrimitiveFeedbackItem as sa, EmbeddedChatPrimitiveFeedbackItemCheckbox as ra, EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator as oa, EmbeddedChatPrimitiveFeedbackItemLabel as ma, EmbeddedChatPrimitiveFeedbackItemDescription as ia, EmbeddedChatPrimitiveFeedbackSubmitButton as na, EmbeddedChatPrimitiveFormWrapper as la, EmbeddedChatPrimitiveForm as ca, EmbeddedChatPrimitiveFormClose as ha, EmbeddedChatPrimitiveFormHeader as ba, EmbeddedChatPrimitiveFormHeading as Ca, EmbeddedChatPrimitiveFormDescription as pa, EmbeddedChatPrimitiveFormContent as ua, EmbeddedChatPrimitiveFormField as Ea, EmbeddedChatPrimitiveFormFieldLabel as xa, EmbeddedChatPrimitiveFormFieldText as ga, EmbeddedChatPrimitiveFormFieldEmail as Fa, EmbeddedChatPrimitiveFormFieldFile as fa, EmbeddedChatPrimitiveFormFieldTextArea as va, EmbeddedChatPrimitiveFormFieldCheckbox as ka, EmbeddedChatPrimitiveFormFieldCheckboxIndicator as Aa, EmbeddedChatPrimitiveFormFieldSelectTrigger as ya, EmbeddedChatPrimitiveFormFieldSelectIcon as Pa, EmbeddedChatPrimitiveFormFieldSelectContent as wa, EmbeddedChatPrimitiveFormFieldSelectViewport as Ma, EmbeddedChatPrimitiveFormFieldSelectItem as Na, EmbeddedChatPrimitiveFormFieldSelectItemIndicator as Ia, EmbeddedChatPrimitiveFormFieldComboboxControl as Ba, EmbeddedChatPrimitiveFormFieldComboboxInput as Sa, EmbeddedChatPrimitiveFormFieldComboboxTrigger as Ta, EmbeddedChatPrimitiveFormFieldComboboxSelectedTags as Ha, EmbeddedChatPrimitiveFormFieldComboboxPositioner as La, EmbeddedChatPrimitiveFormFieldComboboxContent as Da, EmbeddedChatPrimitiveFormFieldComboboxList as Wa, EmbeddedChatPrimitiveFormFieldComboboxListEmpty as _a, EmbeddedChatPrimitiveFormFieldComboboxItem as za, EmbeddedChatPrimitiveFormFieldComboboxItemIndicator as ja, EmbeddedChatPrimitiveFormFieldDescription as Qa, EmbeddedChatPrimitiveFormFieldError as Oa, EmbeddedChatPrimitiveFormError as Va, EmbeddedChatPrimitiveFormFooter as Ra, EmbeddedChatPrimitiveFormCancel as qa, EmbeddedChatPrimitiveFormSubmit as Ga, EmbeddedChatPrimitiveFormSuccess as Ka, EmbeddedChatPrimitiveFormSuccessHeading as $a, EmbeddedChatPrimitiveFormSuccessButton as Ja } from "../../primitives/components/embedded-chat.js";
6
- import { ChatProvider as Ua } from "../../primitives/components/embedded-chat/chat-provider.js";
7
- import { useResizeObserver as Xa } from "../../primitives/hooks/use-resize-observer.js";
8
- import { composeRefs as Ya } from "../../primitives/utils/compose-refs.js";
9
- import { aiChatPageWrapper as Za } from "./ui/recipes/ai-chat-page-wrapper.js";
10
- import { attachment as n } from "./ui/recipes/attachment.js";
11
- import { button as s } from "./ui/recipes/button.js";
12
- import { checkbox as b } from "./ui/recipes/checkbox.js";
13
- import { citation as m } from "./ui/recipes/citation.js";
14
- import { combobox as i } from "./ui/recipes/combobox.js";
15
- import { icon as ed } from "./ui/recipes/icon.js";
16
- import { input as l } from "./ui/recipes/input.js";
17
- import { link as td } from "./ui/recipes/link.js";
18
- import { modal as r } from "./ui/recipes/modal.js";
19
- import { popover as C } from "./ui/recipes/popover.js";
20
- import { scrollable as p } from "./ui/recipes/scrollable.js";
21
- import { select as c } from "./ui/recipes/select.js";
22
- import { cva as ad } from "class-variance-authority";
23
- import { merge as dd } from "merge-anything";
24
- import { forwardRef as u, useRef as sd } from "react";
5
+ import { EmbeddedChatPrimitiveContentScrollAreaCorner as I, EmbeddedChatPrimitiveDisclaimerText as M, EmbeddedChatPrimitiveDynamicComponent as N, EmbeddedChatPrimitiveMessageSources as S, EmbeddedChatPrimitiveHelpActions as A, EmbeddedChatPrimitiveFeedbackModal as T, EmbeddedChatPrimitiveFormFieldSelect as H, EmbeddedChatPrimitiveFormFieldSelectValue as L, EmbeddedChatPrimitiveFormFieldSelectItemText as B, EmbeddedChatPrimitiveFormFieldCombobox as D, EmbeddedChatPrimitiveFormFieldComboboxListItems as z, EmbeddedChatPrimitiveFormFieldComboboxItemText as _, EmbeddedChatPrimitiveFormSuccessMessage as W, EmbeddedChatPrimitiveWrapper as Q, EmbeddedChatPrimitiveRoot as j, Header as R, EmbeddedChatPrimitiveHeaderToolbar as V, EmbeddedChatPrimitiveToolbarHeaderWrapper as O, EmbeddedChatPrimitiveToolbarHeader as q, EmbeddedChatPrimitiveChatHistoryButtonIcon as G, EmbeddedChatPrimitiveChatHistoryButton as K, EmbeddedChatPrimitiveContent as U, EmbeddedChatPrimitiveContentScrollArea as Z, EmbeddedChatPrimitiveContentScrollAreaViewport as $, EmbeddedChatPrimitiveContentScrollAreaScrollbar as J, EmbeddedChatPrimitiveContentScrollAreaThumb as X, EmbeddedChatPrimitiveMessages as Y, EmbeddedChatPrimitiveMessageWrapper as ee, EmbeddedChatPrimitiveIntroMessageWrapper as te, EmbeddedChatPrimitiveDisclaimer as ae, EmbeddedChatPrimitiveDisclaimerLabel as de, EmbeddedChatPrimitiveDisclaimerTrigger as oe, EmbeddedChatPrimitiveDisclaimerContent as re, EmbeddedChatPrimitiveDisclaimerArrow as ie, EmbeddedChatPrimitiveExampleQuestions as se, EmbeddedChatPrimitiveExampleQuestionsLabel as me, EmbeddedChatPrimitiveExampleQuestionsList as le, EmbeddedChatPrimitiveExampleQuestion as ne, EmbeddedChatPrimitiveExampleQuestionButton as ce, EmbeddedChatPrimitiveMessageHeader as be, EmbeddedChatPrimitiveMessageLoading as he, EmbeddedChatPrimitiveMessageAvatar as Ce, EmbeddedChatPrimitiveMessageAvatarContent as pe, EmbeddedChatPrimitiveMessageAvatarFallback as ue, EmbeddedChatPrimitiveMessageAvatarImage as ge, EmbeddedChatPrimitiveMessageName as Ee, EmbeddedChatPrimitiveMessageContentWrapper as Fe, EmbeddedChatPrimitiveMessageContent as xe, EmbeddedChatPrimitiveMarkdown as fe, EmbeddedChatPrimitiveMessageToolbar as ve, EmbeddedChatPrimitiveMessageCustomActions as ke, EmbeddedChatPrimitiveMessageCustomAction as ye, EmbeddedChatPrimitiveMessageAction as Pe, EmbeddedChatPrimitiveMessageSourcesHeader as we, EmbeddedChatPrimitiveMessageSourcesList as Ie, EmbeddedChatPrimitiveMessageSourceItem as Me, EmbeddedChatPrimitiveMessageSourceItemBreadcrumbs as Ne, MessageSourceItemBreadcrumbIcon as Se, EmbeddedChatPrimitiveMessageSourceItemIcon as Ae, EmbeddedChatPrimitiveMessageSourceItemTitle as Te, EmbeddedChatPrimitiveMessageSourceItemTag as He, EmbeddedChatPrimitiveMessageSourceItemDescription as Le, EmbeddedChatPrimitiveMessageSourceItemDescriptionPart as Be, EmbeddedChatPrimitiveMessageSourceItemIndicator as De, EmbeddedChatPrimitiveFooter as ze, EmbeddedChatPrimitiveInputGroup as _e, EmbeddedChatPrimitiveInput as We, EmbeddedChatPrimitiveSendButton as Qe, EmbeddedChatPrimitiveSendButtonIcon as je, EmbeddedChatPrimitiveActionBar as Re, EmbeddedChatPrimitiveActions as Ve, EmbeddedChatPrimitiveTaglineContainer as Oe, EmbeddedChatPrimitiveTaglineText as qe, EmbeddedChatPrimitiveTaglineLogo as Ge, EmbeddedChatPrimitiveTaglineBrandName as Ke, EmbeddedChatPrimitiveChatAction as Ue, EmbeddedChatPrimitiveChatActionLabel as Ze, EmbeddedChatPrimitiveChatActionFeedback as $e, EmbeddedChatPrimitiveChatHelpAction as Je, EmbeddedChatPrimitiveHelpActionsTrigger as Xe, EmbeddedChatPrimitiveHelpActionsMenu as Ye, EmbeddedChatPrimitiveHelpActionsMenuArrow as et, EmbeddedChatPrimitiveHelpActionsMenuItem as tt, EmbeddedChatPrimitiveHelpActionsMenuItemIcon as at, EmbeddedChatPrimitiveFeedbackModalOverlay as dt, EmbeddedChatPrimitiveFeedbackModalContent as ot, EmbeddedChatPrimitiveFeedbackModalHeader as rt, EmbeddedChatPrimitiveFeedbackModalClose as it, EmbeddedChatPrimitiveFeedbackModalBody as st, EmbeddedChatPrimitiveFeedbackForm as mt, EmbeddedChatPrimitiveFeedbackItem as lt, EmbeddedChatPrimitiveFeedbackItemCheckbox as nt, EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator as ct, EmbeddedChatPrimitiveFeedbackItemLabel as bt, EmbeddedChatPrimitiveFeedbackItemDescription as ht, EmbeddedChatPrimitiveFeedbackSubmitButton as Ct, EmbeddedChatPrimitiveFormWrapper as pt, EmbeddedChatPrimitiveForm as ut, EmbeddedChatPrimitiveFormClose as gt, EmbeddedChatPrimitiveFormHeader as Et, EmbeddedChatPrimitiveFormHeading as Ft, EmbeddedChatPrimitiveFormDescription as xt, EmbeddedChatPrimitiveFormContent as ft, EmbeddedChatPrimitiveFormField as vt, EmbeddedChatPrimitiveFormFieldLabel as kt, EmbeddedChatPrimitiveFormFieldText as yt, EmbeddedChatPrimitiveFormFieldEmail as Pt, EmbeddedChatPrimitiveFormFieldFile as wt, EmbeddedChatPrimitiveFormFieldTextArea as It, EmbeddedChatPrimitiveFormFieldCheckbox as Mt, EmbeddedChatPrimitiveFormFieldCheckboxIndicator as Nt, EmbeddedChatPrimitiveFormFieldSelectTrigger as St, EmbeddedChatPrimitiveFormFieldSelectIcon as At, EmbeddedChatPrimitiveFormFieldSelectContent as Tt, EmbeddedChatPrimitiveFormFieldSelectViewport as Ht, EmbeddedChatPrimitiveFormFieldSelectItem as Lt, EmbeddedChatPrimitiveFormFieldSelectItemIndicator as Bt, EmbeddedChatPrimitiveFormFieldComboboxControl as Dt, EmbeddedChatPrimitiveFormFieldComboboxInput as zt, EmbeddedChatPrimitiveFormFieldComboboxTrigger as _t, EmbeddedChatPrimitiveFormFieldComboboxSelectedTags as Wt, EmbeddedChatPrimitiveFormFieldComboboxPositioner as Qt, EmbeddedChatPrimitiveFormFieldComboboxContent as jt, EmbeddedChatPrimitiveFormFieldComboboxList as Rt, EmbeddedChatPrimitiveFormFieldComboboxListEmpty as Vt, EmbeddedChatPrimitiveFormFieldComboboxItem as Ot, EmbeddedChatPrimitiveFormFieldComboboxItemIndicator as qt, EmbeddedChatPrimitiveFormFieldDescription as Gt, EmbeddedChatPrimitiveFormFieldError as Kt, EmbeddedChatPrimitiveFormError as Ut, EmbeddedChatPrimitiveFormFooter as Zt, EmbeddedChatPrimitiveFormCancel as $t, EmbeddedChatPrimitiveFormSubmit as Jt, EmbeddedChatPrimitiveFormSuccess as Xt, EmbeddedChatPrimitiveFormSuccessHeading as Yt, EmbeddedChatPrimitiveFormSuccessButton as ea } from "../../primitives/components/embedded-chat.js";
6
+ import { ChatProvider as ta } from "../../primitives/components/embedded-chat/chat-provider.js";
7
+ import { useResizeObserver as aa } from "../../primitives/hooks/use-resize-observer.js";
8
+ import { composeRefs as da } from "../../primitives/utils/compose-refs.js";
9
+ import { aiChatPageWrapper as oa } from "./ui/recipes/ai-chat-page-wrapper.js";
10
+ import { button as o } from "./ui/recipes/button.js";
11
+ import { checkbox as c } from "./ui/recipes/checkbox.js";
12
+ import { citation as i } from "./ui/recipes/citation.js";
13
+ import { combobox as s } from "./ui/recipes/combobox.js";
14
+ import { icon as ra } from "./ui/recipes/icon.js";
15
+ import { input as b } from "./ui/recipes/input.js";
16
+ import { link as ia } from "./ui/recipes/link.js";
17
+ import { modal as m } from "./ui/recipes/modal.js";
18
+ import { popover as h } from "./ui/recipes/popover.js";
19
+ import { scrollable as C } from "./ui/recipes/scrollable.js";
20
+ import { select as l } from "./ui/recipes/select.js";
21
+ import { cva as sa } from "class-variance-authority";
22
+ import { merge as ma } from "merge-anything";
23
+ import { forwardRef as p, useRef as la } from "react";
25
24
  import { cn as d } from "../utils.js";
26
- import { markdownStyles as rd } from "./ui/markdown-styles.js";
27
- import { LoadingIndicator as od } from "./loading-indicator.js";
28
- import { MessagesSessionLoading as md } from "./embedded-chat/session-loading.js";
29
- import { EmbeddedChatMessagePart as im } from "./message.js";
30
- const Dd = Ua, Wd = u(
31
- ({ className: e, size: t, variant: o, ...E }, h) => /* @__PURE__ */ a(
32
- K,
25
+ import { markdownStyles as na } from "./ui/markdown-styles.js";
26
+ import { LoadingIndicator as ca } from "./loading-indicator.js";
27
+ import { MessagesSessionLoading as ba } from "./embedded-chat/session-loading.js";
28
+ import { EmbeddedChatMessagePart as fr } from "./message.js";
29
+ import { EmbeddedChatDropZone as kr, EmbeddedChatFileContent as yr, EmbeddedChatFileInput as Pr, EmbeddedChatFileItem as wr, EmbeddedChatFileList as Ir, EmbeddedChatFileName as Mr, EmbeddedChatFilePreviewTrigger as Nr, EmbeddedChatFileRemove as Sr, EmbeddedChatFileThumbnail as Ar, EmbeddedChatFileTypeIcon as Tr, EmbeddedChatFileUploadButton as Hr, EmbeddedChatInputNotification as Lr, EmbeddedChatInputNotificationClose as Br, EmbeddedChatInputNotificationContent as Dr, EmbeddedChatInputNotificationHeader as zr, EmbeddedChatInputNotificationMessage as _r, EmbeddedChatInputNotificationTitle as Wr, EmbeddedChatMessageFile as Qr, EmbeddedChatMessageFiles as jr } from "./embedded-chat/file-upload-input.js";
30
+ import { EmbeddedChatImagePreviewModal as Vr, EmbeddedChatImagePreviewModalClose as Or, EmbeddedChatImagePreviewModalContent as qr, EmbeddedChatImagePreviewModalFileName as Gr, EmbeddedChatImagePreviewModalFooter as Kr, EmbeddedChatImagePreviewModalImage as Ur, EmbeddedChatImagePreviewModalOverlay as Zr } from "./embedded-chat/image-preview-modal.js";
31
+ import { EmbeddedChatPrimitiveInputFieldset as ha } from "../../primitives/components/embedded-chat/file-upload-input.js";
32
+ const Ra = ta, Va = p(
33
+ ({ className: e, size: t, variant: r, ...u }, n) => /* @__PURE__ */ a(
34
+ Q,
33
35
  {
34
- ref: h,
36
+ ref: n,
35
37
  className: d(
36
- Za({ size: t, variant: o }),
38
+ oa({ size: t, variant: r }),
37
39
  "data-[hidden]:hidden rounded-md flex",
38
40
  "bg-white dark:bg-gray-dark-950",
39
41
  "data-[composite]:w-full",
@@ -49,17 +51,17 @@ const Dd = Ua, Wd = u(
49
51
  "data-[chat-history-layout=sidepane]:flex-row",
50
52
  e
51
53
  ),
52
- ...E
54
+ ...u
53
55
  }
54
56
  )
55
- ), _d = ({
57
+ ), Oa = ({
56
58
  className: e,
57
59
  ...t
58
60
  }) => /* @__PURE__ */ a(
59
- $,
61
+ j,
60
62
  {
61
63
  className: d(
62
- p({ section: "wrapper" }),
64
+ C({ section: "wrapper" }),
63
65
  "rounded-[inherit] font-body",
64
66
  // Sidepane layout: take remaining space
65
67
  "group-data-[chat-history-layout=sidepane]/chat-history:flex-1",
@@ -70,14 +72,14 @@ const Dd = Ua, Wd = u(
70
72
  ),
71
73
  ...t
72
74
  }
73
- ), zd = ({
75
+ ), qa = ({
74
76
  className: e,
75
77
  ...t
76
78
  }) => /* @__PURE__ */ a(
77
- J,
79
+ R,
78
80
  {
79
81
  className: d(
80
- p({ section: "header" }),
82
+ C({ section: "header" }),
81
83
  "flex items-center",
82
84
  "bg-white dark:bg-gray-dark-950",
83
85
  "data-[show-toolbar]:after:absolute",
@@ -93,11 +95,11 @@ const Dd = Ua, Wd = u(
93
95
  ),
94
96
  ...t
95
97
  }
96
- ), jd = ({
98
+ ), Ga = ({
97
99
  className: e,
98
100
  ...t
99
101
  }) => /* @__PURE__ */ a(
100
- U,
102
+ V,
101
103
  {
102
104
  className: d(
103
105
  "flex items-center gap-3 w-full",
@@ -107,20 +109,20 @@ const Dd = Ua, Wd = u(
107
109
  ),
108
110
  ...t
109
111
  }
110
- ), Qd = ({
112
+ ), Ka = ({
111
113
  className: e,
112
114
  ...t
113
115
  }) => /* @__PURE__ */ a(
114
- X,
116
+ O,
115
117
  {
116
118
  className: d("flex items-center gap-1.5", e),
117
119
  ...t
118
120
  }
119
- ), Od = ({
121
+ ), Ua = ({
120
122
  className: e,
121
123
  ...t
122
124
  }) => /* @__PURE__ */ a(
123
- Y,
125
+ q,
124
126
  {
125
127
  className: d("text-gray-600 dark:text-gray-dark-100 text-sm", e),
126
128
  ...t
@@ -128,22 +130,22 @@ const Dd = Ua, Wd = u(
128
130
  ), F = ({
129
131
  className: e,
130
132
  ...t
131
- }) => /* @__PURE__ */ a(Z, { className: d("text-sm", e), ...t }), id = ({
133
+ }) => /* @__PURE__ */ a(G, { className: d("text-sm", e), ...t }), Ca = ({
132
134
  className: e,
133
135
  ...t
134
136
  }) => /* @__PURE__ */ a(
135
- ee,
137
+ K,
136
138
  {
137
139
  className: d(
138
- s({ size: "xs", variant: "ghost" }),
140
+ o({ size: "xs", variant: "ghost" }),
139
141
  "gap-1.5 text-gray-600 hover:text-gray-800 dark:text-white dark:opacity-60 dark:hover:text-white dark:hover:opacity-95",
140
142
  e
141
143
  ),
142
144
  ...t
143
145
  }
144
- ), Vd = () => {
145
- const { aiChatSettings: e } = w(), { setIsOpen: t, isOpen: o } = P();
146
- return e.isChatHistoryButtonVisible ? /* @__PURE__ */ g(id, { onClick: () => t(!o), "aria-label": "Chat history", children: [
146
+ ), Za = () => {
147
+ const { aiChatSettings: e } = w(), { setIsOpen: t, isOpen: r } = P();
148
+ return e.isChatHistoryButtonVisible ? /* @__PURE__ */ E(Ca, { onClick: () => t(!r), "aria-label": "Chat history", children: [
147
149
  /* @__PURE__ */ a(
148
150
  F,
149
151
  {
@@ -151,33 +153,33 @@ const Dd = Ua, Wd = u(
151
153
  className: "!hidden group-data-[chat-history-layout=sidepane]/chat-history:!block"
152
154
  }
153
155
  ),
154
- /* @__PURE__ */ g("span", { className: "flex items-center gap-1.5 group-data-[chat-history-layout=sidepane]/chat-history:hidden", children: [
156
+ /* @__PURE__ */ E("span", { className: "flex items-center gap-1.5 group-data-[chat-history-layout=sidepane]/chat-history:hidden", children: [
155
157
  /* @__PURE__ */ a(F, { iconKey: "chatHistory" }),
156
158
  "Chat history"
157
159
  ] })
158
160
  ] }) : null;
159
- }, Rd = ({
161
+ }, $a = ({
160
162
  className: e,
161
163
  ...t
162
164
  }) => /* @__PURE__ */ a(
163
- te,
165
+ U,
164
166
  {
165
- className: d(p({ section: "content" }), "justify-end", e),
167
+ className: d(C({ section: "content" }), "justify-end", e),
166
168
  ...t
167
169
  }
168
- ), qd = ({
170
+ ), Ja = ({
169
171
  className: e,
170
172
  ...t
171
173
  }) => /* @__PURE__ */ a(
172
- ae,
174
+ Z,
173
175
  {
174
176
  className: d("overflow-hidden", e),
175
177
  ...t
176
178
  }
177
- ), Gd = u(({ className: e, ...t }, o) => /* @__PURE__ */ a(
178
- de,
179
+ ), Xa = p(({ className: e, ...t }, r) => /* @__PURE__ */ a(
180
+ $,
179
181
  {
180
- ref: o,
182
+ ref: r,
181
183
  className: d(
182
184
  "h-full w-full rounded-[inherit]",
183
185
  "[[data-chat-bubble]_&]:overscroll-contain",
@@ -185,11 +187,11 @@ const Dd = Ua, Wd = u(
185
187
  ),
186
188
  ...t
187
189
  }
188
- )), Kd = ({
190
+ )), Ya = ({
189
191
  className: e,
190
192
  ...t
191
193
  }) => /* @__PURE__ */ a(
192
- se,
194
+ J,
193
195
  {
194
196
  className: d(
195
197
  "flex select-none touch-none p-0.5",
@@ -199,38 +201,38 @@ const Dd = Ua, Wd = u(
199
201
  ),
200
202
  ...t
201
203
  }
202
- ), $d = ({
204
+ ), ed = ({
203
205
  className: e,
204
206
  ...t
205
207
  }) => /* @__PURE__ */ a(
206
- re,
208
+ X,
207
209
  {
208
210
  className: d("relative flex-1 rounded-full", "bg-gray-300 dark:bg-white-alpha-200", e),
209
211
  ...t
210
212
  }
211
- ), Jd = M, Ud = ({
213
+ ), td = I, ad = ({
212
214
  className: e,
213
215
  ...t
214
216
  }) => /* @__PURE__ */ a(
215
- ne,
217
+ ae,
216
218
  {
217
219
  className: d("ml-auto text-sm flex items-center gap-1", e),
218
220
  ...t
219
221
  }
220
- ), Xd = ({
222
+ ), dd = ({
221
223
  className: e,
222
224
  ...t
223
225
  }) => /* @__PURE__ */ a(
224
- le,
226
+ de,
225
227
  {
226
228
  className: d("text-gray-700 dark:text-gray-dark-100", e),
227
229
  ...t
228
230
  }
229
- ), Yd = ({
231
+ ), od = ({
230
232
  className: e,
231
233
  ...t
232
234
  }) => /* @__PURE__ */ a(
233
- ce,
235
+ oe,
234
236
  {
235
237
  className: d(
236
238
  "cursor-pointer text-gray-700 dark:text-gray-dark-100",
@@ -239,43 +241,43 @@ const Dd = Ua, Wd = u(
239
241
  ),
240
242
  ...t
241
243
  }
242
- ), Zd = ({
244
+ ), rd = ({
243
245
  className: e,
244
246
  ...t
245
247
  }) => /* @__PURE__ */ a(
246
- he,
248
+ re,
247
249
  {
248
250
  className: d(
249
- C({ slot: "content" }),
251
+ h({ slot: "content" }),
250
252
  "px-4 py-2 font-normal text-sm",
251
253
  "w-[250px] sm:w-[420px]",
252
254
  e
253
255
  ),
254
256
  ...t
255
257
  }
256
- ), es = N, ts = ({
258
+ ), id = M, sd = ({
257
259
  className: e,
258
260
  ...t
259
261
  }) => /* @__PURE__ */ a(
260
- be,
262
+ ie,
261
263
  {
262
- className: d(C({ slot: "arrow" }), e),
264
+ className: d(h({ slot: "arrow" }), e),
263
265
  ...t
264
266
  }
265
- ), as = ({
267
+ ), md = ({
266
268
  className: e,
267
269
  ...t
268
270
  }) => /* @__PURE__ */ a(
269
- Ce,
271
+ se,
270
272
  {
271
273
  className: d("mt-4 flex flex-col gap-2", e),
272
274
  ...t
273
275
  }
274
- ), ds = ({
276
+ ), ld = ({
275
277
  className: e,
276
278
  ...t
277
279
  }) => /* @__PURE__ */ a(
278
- pe,
280
+ me,
279
281
  {
280
282
  className: d(
281
283
  "text-2xs uppercase font-semibold tracking-widest",
@@ -284,24 +286,24 @@ const Dd = Ua, Wd = u(
284
286
  ),
285
287
  ...t
286
288
  }
287
- ), ss = ({
289
+ ), nd = ({
288
290
  className: e,
289
291
  ...t
290
292
  }) => /* @__PURE__ */ a(
291
- ue,
293
+ le,
292
294
  {
293
295
  className: d("flex flex-col", "ikp-md:flex-row", "flex-wrap gap-2", e),
294
296
  ...t
295
297
  }
296
- ), rs = u(({ className: e, style: t, ...o }, E) => {
297
- const h = sd(null), v = Ya(E, h), { width: k = 0, height: A = 0 } = Xa({
298
- ref: h,
298
+ ), cd = p(({ className: e, style: t, ...r }, u) => {
299
+ const n = la(null), f = da(u, n), { width: v = 0, height: k = 0 } = aa({
300
+ ref: n,
299
301
  box: "border-box"
300
- }), y = Math.max(A, k);
302
+ }), y = Math.max(k, v);
301
303
  return /* @__PURE__ */ a(
302
- Ee,
304
+ ne,
303
305
  {
304
- ref: v,
306
+ ref: f,
305
307
  style: {
306
308
  "--before-size": `${y + 100}px`,
307
309
  ...t
@@ -322,17 +324,17 @@ const Dd = Ua, Wd = u(
322
324
  "after:rounded-[5px] after:bg-white dark:after:bg-gray-dark-950",
323
325
  e
324
326
  ),
325
- ...o
327
+ ...r
326
328
  }
327
329
  );
328
- }), os = ({
330
+ }), bd = ({
329
331
  className: e,
330
332
  ...t
331
333
  }) => /* @__PURE__ */ a(
332
- xe,
334
+ ce,
333
335
  {
334
336
  className: d(
335
- s({ size: "sm" }),
337
+ o({ size: "sm" }),
336
338
  "text-sm font-normal h-auto w-full py-1.5 z-start",
337
339
  "whitespace-normal text-center leading-[unset]",
338
340
  "border border-solid",
@@ -344,87 +346,37 @@ const Dd = Ua, Wd = u(
344
346
  ),
345
347
  ...t
346
348
  }
347
- ), ms = ({
349
+ ), hd = ({
348
350
  className: e,
349
351
  ...t
350
352
  }) => /* @__PURE__ */ a(
351
- ge,
352
- {
353
- className: d("mt-4 flex flex-col gap-2", e),
354
- ...t
355
- }
356
- ), is = ({
357
- className: e,
358
- ...t
359
- }) => /* @__PURE__ */ a(
360
- Fe,
361
- {
362
- className: d(
363
- "text-2xs uppercase font-semibold tracking-widest",
364
- "text-gray-600 dark:text-white-alpha-500",
365
- e
366
- ),
367
- ...t
368
- }
369
- ), ns = ({
370
- className: e,
371
- ...t
372
- }) => /* @__PURE__ */ a(
373
- fe,
374
- {
375
- className: d("flex flex-wrap gap-2", e),
376
- ...t
377
- }
378
- ), ls = ({
379
- className: e,
380
- ...t
381
- }) => /* @__PURE__ */ a(
382
- ve,
383
- {
384
- className: d(
385
- s({ size: "sm" }),
386
- "min-h-9 px-3 py-2 h-auto font-medium",
387
- "text-sm gap-2 whitespace-normal border ",
388
- "text-inkeep-primary-strong dark:text-inkeep-expanded-primary-300",
389
- "border-inkeep-expanded-primary-200",
390
- "dark:border-inkeep-expanded-primary-200",
391
- "hover:bg-inkeep-primary-light-subtle",
392
- "dark:hover:bg-white-alpha-100",
393
- e
394
- ),
395
- ...t
396
- }
397
- ), cs = ({
398
- className: e,
399
- ...t
400
- }) => /* @__PURE__ */ a(
401
- oe,
353
+ Y,
402
354
  {
403
355
  className: d("flex flex-col w-full min-w-0 min-h-0 text-sm relative", e),
404
356
  ...t
405
357
  }
406
- ), f = ad([
358
+ ), x = sa([
407
359
  "flex relative w-full overflow-hidden ikp-md:py-6 py-4",
408
360
  "px-5",
409
361
  "flex-col ikp-md:flex-row",
410
362
  "min-w-0 grow-[2] data-[role=user]:grow-0"
411
- ]), hs = ({
363
+ ]), Cd = ({
412
364
  className: e,
413
365
  ...t
414
- }) => /* @__PURE__ */ a(me, { className: d(f(), e), ...t }), bs = ({
366
+ }) => /* @__PURE__ */ a(ee, { className: d(x(), e), ...t }), pd = ({
415
367
  className: e,
416
368
  ...t
417
369
  }) => /* @__PURE__ */ a(
418
- ie,
370
+ te,
419
371
  {
420
- className: d(f(), e),
372
+ className: d(x(), e),
421
373
  ...t
422
374
  }
423
- ), Cs = ({
375
+ ), ud = ({
424
376
  className: e,
425
377
  ...t
426
378
  }) => /* @__PURE__ */ a(
427
- ke,
379
+ be,
428
380
  {
429
381
  className: d(
430
382
  "flex justify-start overflow-hidden shrink-0 select-none",
@@ -438,30 +390,30 @@ const Dd = Ua, Wd = u(
438
390
  ),
439
391
  ...t
440
392
  }
441
- ), ps = ({
393
+ ), gd = ({
442
394
  className: e,
443
395
  ...t
444
396
  }) => /* @__PURE__ */ a(
445
- Ae,
397
+ he,
446
398
  {
447
399
  className: d("flex items-center gap-3 h-auto w-full", e),
448
- children: /* @__PURE__ */ a(od, {}),
400
+ children: /* @__PURE__ */ a(ca, {}),
449
401
  ...t
450
402
  }
451
- ), us = ({ className: e }) => /* @__PURE__ */ a("div", { className: d("w-full", e), children: /* @__PURE__ */ a(md, {}) }), Es = ({
403
+ ), Ed = ({ className: e }) => /* @__PURE__ */ a("div", { className: d("w-full", e), children: /* @__PURE__ */ a(ba, {}) }), Fd = ({
452
404
  className: e,
453
405
  ...t
454
406
  }) => /* @__PURE__ */ a(
455
- ye,
407
+ Ce,
456
408
  {
457
409
  className: d("flex items-center justify-center rounded-full", "h-auto", e),
458
410
  ...t
459
411
  }
460
- ), xs = ({
412
+ ), xd = ({
461
413
  className: e,
462
414
  ...t
463
415
  }) => /* @__PURE__ */ a(
464
- Pe,
416
+ pe,
465
417
  {
466
418
  className: d(
467
419
  "relative flex h-6 w-6 shrink-0 overflow-hidden",
@@ -474,20 +426,20 @@ const Dd = Ua, Wd = u(
474
426
  ),
475
427
  ...t
476
428
  }
477
- ), gs = ({
429
+ ), fd = ({
478
430
  className: e,
479
431
  ...t
480
432
  }) => /* @__PURE__ */ a(
481
- we,
433
+ ue,
482
434
  {
483
435
  className: d("hidden data-[role=user]:block", e),
484
436
  ...t
485
437
  }
486
- ), Fs = ({
438
+ ), vd = ({
487
439
  className: e,
488
440
  ...t
489
441
  }) => /* @__PURE__ */ a(
490
- Me,
442
+ ge,
491
443
  {
492
444
  className: d(
493
445
  "data-[type=icon]:data-[role=user]:text-inkeep-primary-medium",
@@ -500,11 +452,11 @@ const Dd = Ua, Wd = u(
500
452
  ),
501
453
  ...t
502
454
  }
503
- ), fs = ({
455
+ ), kd = ({
504
456
  className: e,
505
457
  ...t
506
458
  }) => /* @__PURE__ */ a(
507
- Ne,
459
+ Ee,
508
460
  {
509
461
  className: d(
510
462
  "py-1 ml-3",
@@ -512,723 +464,349 @@ const Dd = Ua, Wd = u(
512
464
  "text-gray-600 dark:text-white-alpha-600",
513
465
  "data-[role=user]:hidden",
514
466
  "ikp-md:hidden",
515
- e
516
- ),
517
- ...t
518
- }
519
- ), vs = ({
520
- className: e,
521
- ...t
522
- }) => /* @__PURE__ */ a(
523
- Ie,
524
- {
525
- className: d(
526
- "overflow-hidden flex flex-col",
527
- "justify-start grow-2 w-full",
528
- "data-[role=user]:justify-end",
529
- "data-[role=user]:items-end",
530
- "data-[role=user]:shrink-2",
531
- "data-[role=user]:grow-0",
532
- "ikp-md:pr-3",
533
- e
534
- ),
535
- ...t
536
- }
537
- ), ks = ({
538
- className: e,
539
- ...t
540
- }) => /* @__PURE__ */ a(
541
- Be,
542
- {
543
- className: d(
544
- "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",
545
- e
546
- ),
547
- ...t
548
- }
549
- ), As = I, ys = ({
550
- className: e,
551
- ...t
552
- }) => /* @__PURE__ */ a(
553
- Se,
554
- {
555
- className: d("flex flex-wrap gap-2", e),
556
- ...t
557
- }
558
- ), Ps = ({
559
- className: e,
560
- ...t
561
- }) => /* @__PURE__ */ a(
562
- Te,
563
- {
564
- className: d(
565
- s({ variant: "ghost" }),
566
- n({ slot: "root" }),
567
- "font-normal px-2",
568
- e
569
- ),
570
- ...t
571
- }
572
- ), ws = ({
573
- className: e,
574
- ...t
575
- }) => /* @__PURE__ */ a(
576
- He,
577
- {
578
- className: d(n({ slot: "icon" }), e),
579
- ...t
580
- }
581
- ), Ms = ({
582
- className: e,
583
- ...t
584
- }) => /* @__PURE__ */ a(
585
- Le,
586
- {
587
- className: d(n({ slot: "title" }), e),
588
- ...t
589
- }
590
- ), Ns = B, Is = ({
591
- className: e,
592
- ...t
593
- }) => /* @__PURE__ */ a(
594
- De,
595
- {
596
- className: d(r({ slot: "overlay" }), e),
597
- ...t
598
- }
599
- ), Bs = ({
600
- className: e,
601
- ...t
602
- }) => /* @__PURE__ */ a(
603
- We,
604
- {
605
- className: d(
606
- r({ slot: "content" }),
607
- "my-6 md:my-12 top-0 left-[unset] transform-none relative",
608
- "p-8 md:p-10 max-w-2xl",
609
- e
610
- ),
611
- ...t
612
- }
613
- ), Ss = ({
614
- className: e,
615
- ...t
616
- }) => /* @__PURE__ */ a(
617
- _e,
618
- {
619
- className: d(
620
- r({ slot: "header" }),
621
- "px-0 pt-0 pb-8 flex flex-col gap-6",
622
- "font-semibold",
623
- e
624
- ),
625
- ...t
626
- }
627
- ), Ts = ({
628
- className: e,
629
- ...t
630
- }) => /* @__PURE__ */ a(
631
- ze,
632
- {
633
- className: d(r({ slot: "close" }), e),
634
- ...t
635
- }
636
- ), Hs = ({
637
- className: e,
638
- ...t
639
- }) => /* @__PURE__ */ a(
640
- je,
641
- {
642
- className: d(r({ slot: "body" }), "p-0", e),
643
- ...t
644
- }
645
- ), Ls = S, Ds = ({
646
- componentStyles: e,
647
- ...t
648
- }) => /* @__PURE__ */ a(
649
- Qe,
650
- {
651
- componentStyles: dd(rd, e ?? {}),
652
- ...t
653
- }
654
- ), Ws = ({
655
- className: e,
656
- ...t
657
- }) => /* @__PURE__ */ a(
658
- Oe,
659
- {
660
- className: d("flex items-center mt-2 mb-3", e),
661
- ...t
662
- }
663
- ), _s = ({
664
- className: e,
665
- ...t
666
- }) => /* @__PURE__ */ a(
667
- Ve,
668
- {
669
- className: d("mr-auto flex items-center gap-2", e),
670
- ...t
671
- }
672
- ), zs = ({
673
- className: e,
674
- ...t
675
- }) => /* @__PURE__ */ a(
676
- Re,
677
- {
678
- className: d(
679
- s({ size: "xs", variant: "outline" }),
680
- "text-xs h-[30px] text-gray-700 dark:text-gray-200 gap-1",
681
- e
682
- ),
683
- ...t
684
- }
685
- ), js = ({
686
- className: e,
687
- ...t
688
- }) => /* @__PURE__ */ a(
689
- qe,
690
- {
691
- className: d(
692
- s({ variant: "iconButton", size: "sm" }),
693
- "data-[upvoted]:text-inkeep-primary-medium",
694
- "data-[downvoted]:text-inkeep-primary-medium",
695
- "data-[upvoted]:dark:text-inkeep-expanded-primary-300",
696
- "data-[downvoted]:dark:text-inkeep-expanded-primary-300",
697
- "dark:hover:text-inkeep-expanded-primary-300 px-2 text-md",
698
- e
699
- ),
700
- ...t
701
- }
702
- ), Qs = T, Os = ({
703
- className: e,
704
- ...t
705
- }) => /* @__PURE__ */ a(
706
- Ge,
707
- {
708
- className: d(
709
- "block text-xs font-medium my-2 text-gray-700 dark:text-gray-dark-300",
710
- e
711
- ),
712
- ...t
713
- }
714
- ), Vs = ({
715
- className: e,
716
- ...t
717
- }) => /* @__PURE__ */ a(
718
- Ke,
719
- {
720
- className: d("w-full relative flex flex-col gap-3 py-[1px]", e),
721
- ...t
722
- }
723
- ), Rs = ({
724
- className: e,
725
- ...t
726
- }) => /* @__PURE__ */ a(
727
- $e,
728
- {
729
- className: d(m({ slot: "root" }), e),
730
- ...t
731
- }
732
- ), qs = ({
733
- className: e,
734
- ...t
735
- }) => /* @__PURE__ */ a(
736
- Je,
737
- {
738
- className: d(m({ slot: "breadcrumbs" }), e),
739
- ...t
740
- }
741
- ), Gs = ({
742
- className: e,
743
- ...t
744
- }) => /* @__PURE__ */ a(
745
- Ue,
746
- {
747
- className: d(m({ slot: "breadcrumbsIcon" }), e),
748
- ...t
749
- }
750
- ), Ks = ({
751
- className: e,
752
- ...t
753
- }) => /* @__PURE__ */ a(
754
- Xe,
755
- {
756
- className: d(m({ slot: "icon" }), e),
757
- ...t
758
- }
759
- ), $s = ({
760
- className: e,
761
- ...t
762
- }) => /* @__PURE__ */ a(
763
- Ye,
764
- {
765
- className: d(m({ slot: "title" }), e),
766
- ...t
767
- }
768
- ), Js = ({
769
- className: e,
770
- ...t
771
- }) => /* @__PURE__ */ a(
772
- Ze,
773
- {
774
- className: d(m({ slot: "tag" }), e),
775
- ...t
776
- }
777
- ), Us = ({
778
- className: e,
779
- ...t
780
- }) => /* @__PURE__ */ a(
781
- et,
782
- {
783
- className: d(m({ slot: "description" }), e),
784
- ...t
785
- }
786
- ), Xs = ({
787
- className: e,
788
- ...t
789
- }) => /* @__PURE__ */ a(
790
- tt,
791
- {
792
- className: d(m({ slot: "descriptionPart" }), e),
793
- ...t
794
- }
795
- ), Ys = ({
796
- className: e,
797
- ...t
798
- }) => /* @__PURE__ */ a(
799
- at,
800
- {
801
- className: d(m({ slot: "indicator" }), e),
802
- ...t
803
- }
804
- ), Zs = ({
805
- className: e,
806
- ...t
807
- }) => /* @__PURE__ */ a(
808
- dt,
809
- {
810
- className: d(
811
- "bg-white dark:bg-gray-dark-950 pt-6 pb-4",
812
- "px-5 relative",
813
- "before:absolute before:block before:top-0 before:left-0",
814
- "before:pointer-events-none before:w-full before:h-3",
815
- "before:bg-[linear-gradient(transparent,_white)] dark:before:bg-[linear-gradient(transparent,_var(--ikp-color-gray-dark-950))]",
816
- "before:-translate-y-full",
817
- e
818
- ),
819
- ...t
820
- }
821
- ), er = ({
822
- className: e,
823
- ...t
824
- }) => /* @__PURE__ */ a(
825
- st,
826
- {
827
- className: d(
828
- "relative flex flex-col w-full py-1 px-2",
829
- "rounded-lg items-stretch shadow-md dark:shadow-none",
830
- "bg-gray-50 dark:bg-white-alpha-50",
831
- e
832
- ),
833
- ...t
834
- }
835
- ), tr = ({
836
- className: e,
837
- ...t
838
- }) => /* @__PURE__ */ a(rt, { className: d("flex", e), ...t }), ar = u(({ className: e, ...t }, o) => /* @__PURE__ */ a(
839
- ot,
840
- {
841
- ref: o,
842
- className: d(
843
- "min-h-[unset] text-sm overflow-hidden w-full resize-none",
844
- "placeholder:text-gray-500 dark:placeholder:text-gray-dark-200",
845
- "border-none outline-none shadow-none bg-transparent",
846
- "px-3 py-2 mr-2 max-h-[200px] overflow-y-auto disabled:cursor-not-allowed",
847
- e
848
- ),
849
- ...t
850
- }
851
- )), dr = ({
852
- className: e,
853
- ...t
854
- }) => /* @__PURE__ */ a(
855
- mt,
856
- {
857
- className: d(
858
- s({}),
859
- "group",
860
- "bg-transparent relative size-9 min-w-[unset] rounded-lg transition-all ease-linear",
861
- "text-inkeep-primary-medium dark:text-inkeep-expanded-primary-500",
862
- "active:bg-gray-300 dark:active:bg-white-alpha-100",
863
- "hover:bg-gray-200 hover:text-inkeep-primary-strong",
864
- "dark:hover:bg-white-alpha-100 dark:hover:text-inkeep-expanded-primary-300",
865
- "disabled:text-gray-500 dark:disabled:text-white",
866
- "disabled:cursor-not-allowed hover:disabled:[background:none] active:disabled:[background:none]",
867
- e
868
- ),
869
- ...t
870
- }
871
- ), sr = ({
872
- className: e,
873
- ...t
874
- }) => /* @__PURE__ */ a(
875
- it,
876
- {
877
- className: d(ed(), "text-inherit group-disabled:opacity-60 ", e),
878
- ...t
879
- }
880
- ), rr = ({
881
- className: e,
882
- ...t
883
- }) => /* @__PURE__ */ a(
884
- nt,
885
- {
886
- className: d(
887
- "flex items-center justify-between",
888
- "flex-wrap gap-2 px-1 pt-2 pb-1",
889
- e
890
- ),
891
- ...t
892
- }
893
- ), or = ({
894
- className: e,
895
- ...t
896
- }) => /* @__PURE__ */ a(
897
- lt,
898
- {
899
- className: d("flex items-center gap-2 flex-wrap px-3 min-w-0", e),
900
- ...t
901
- }
902
- ), mr = ({
903
- className: e,
904
- ...t
905
- }) => /* @__PURE__ */ a(
906
- ct,
907
- {
908
- className: d(n({ slot: "root" }), e),
467
+ e
468
+ ),
909
469
  ...t
910
470
  }
911
- ), ir = ({
471
+ ), yd = ({
912
472
  className: e,
913
473
  ...t
914
474
  }) => /* @__PURE__ */ a(
915
- ht,
475
+ Fe,
916
476
  {
917
- className: d(n({ slot: "icon" }), e),
477
+ className: d(
478
+ "overflow-hidden flex flex-col",
479
+ "justify-start grow-2 w-full",
480
+ "data-[role=user]:justify-end",
481
+ "data-[role=user]:items-end",
482
+ "data-[role=user]:shrink-2",
483
+ "data-[role=user]:grow-0",
484
+ "ikp-md:pr-3",
485
+ e
486
+ ),
918
487
  ...t
919
488
  }
920
- ), nr = ({
489
+ ), Pd = ({
921
490
  className: e,
922
491
  ...t
923
492
  }) => /* @__PURE__ */ a(
924
- bt,
493
+ xe,
925
494
  {
926
- className: d(n({ slot: "title" }), e),
495
+ className: d(
496
+ "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",
497
+ e
498
+ ),
927
499
  ...t
928
500
  }
929
- ), lr = ({
930
- className: e,
501
+ ), wd = N, Id = ({
502
+ componentStyles: e,
931
503
  ...t
932
504
  }) => /* @__PURE__ */ a(
933
- Ct,
505
+ fe,
934
506
  {
935
- className: d(n({ slot: "delete" }), e),
507
+ componentStyles: ma(na, e ?? {}),
936
508
  ...t
937
509
  }
938
- ), cr = ({
510
+ ), Md = ({
939
511
  className: e,
940
512
  ...t
941
513
  }) => /* @__PURE__ */ a(
942
- pt,
514
+ ve,
943
515
  {
944
- className: d("flex items-center justify-between", "gap-2 flex-wrap px-3", e),
516
+ className: d("flex items-center mt-2 mb-3", e),
945
517
  ...t
946
518
  }
947
- ), hr = H, br = ({
519
+ ), Nd = ({
948
520
  className: e,
949
521
  ...t
950
522
  }) => /* @__PURE__ */ a(
951
- ut,
523
+ ke,
952
524
  {
953
- className: d("cursor-pointer text-sm text-gray-600", "dark:text-white-alpha-600", e),
525
+ className: d("mr-auto flex items-center gap-2", e),
954
526
  ...t
955
527
  }
956
- ), Cr = ({
528
+ ), Sd = ({
957
529
  className: e,
958
530
  ...t
959
531
  }) => /* @__PURE__ */ a(
960
- Et,
532
+ ye,
961
533
  {
962
534
  className: d(
963
- "bg-white text-gray-800 fill-white",
964
- "dark:bg-gray-dark-800 dark:text-white-alpha-950 dark:fill-gray-dark-800",
965
- "shadow-[0_8px_30px_rgba(0,0,0,0.12)] z-dropdown",
966
- "px-3 py-2 rounded-md text-sm font-normal max-w-[200px]",
535
+ o({ size: "xs", variant: "outline" }),
536
+ "text-xs h-[30px] text-gray-700 dark:text-gray-200 gap-1",
967
537
  e
968
538
  ),
969
539
  ...t
970
540
  }
971
- ), pr = L, ur = ({
972
- className: e,
973
- ...t
974
- }) => /* @__PURE__ */ a(xt, { className: d("contents", e), ...t }), Er = ({
541
+ ), Ad = ({
975
542
  className: e,
976
543
  ...t
977
544
  }) => /* @__PURE__ */ a(
978
- gt,
545
+ Pe,
979
546
  {
980
547
  className: d(
981
- s({ variant: "outline", size: "xs" }),
982
- "light:text-gray-700 gap-1",
548
+ o({ variant: "iconButton", size: "sm" }),
549
+ "data-[upvoted]:text-inkeep-primary-medium",
550
+ "data-[downvoted]:text-inkeep-primary-medium",
551
+ "data-[upvoted]:dark:text-inkeep-expanded-primary-300",
552
+ "data-[downvoted]:dark:text-inkeep-expanded-primary-300",
553
+ "dark:hover:text-inkeep-expanded-primary-300 px-2 text-md",
983
554
  e
984
555
  ),
985
556
  ...t
986
557
  }
987
- ), xr = D, gr = ({
558
+ ), Td = S, Hd = ({
988
559
  className: e,
989
560
  ...t
990
561
  }) => /* @__PURE__ */ a(
991
- Ft,
992
- {
993
- className: d(r({ slot: "overlay" }), e),
994
- ...t
995
- }
996
- ), Fr = ({
997
- className: e,
998
- ...t
999
- }) => /* @__PURE__ */ a(
1000
- ft,
562
+ we,
1001
563
  {
1002
564
  className: d(
1003
- r({ slot: "content" }),
1004
- "my-6 md:my-12 top-0 left-[unset] transform-none relative",
1005
- "p-8 md:p-10 max-w-2xl",
565
+ "block text-xs font-medium my-2 text-gray-700 dark:text-gray-dark-300",
1006
566
  e
1007
567
  ),
1008
568
  ...t
1009
569
  }
1010
- ), fr = ({
570
+ ), Ld = ({
1011
571
  className: e,
1012
572
  ...t
1013
573
  }) => /* @__PURE__ */ a(
1014
- vt,
574
+ Ie,
1015
575
  {
1016
- className: d(r({ slot: "header" }), "px-0 pt-0 pb-8 gap-y-2", "font-semibold", e),
576
+ className: d("w-full relative flex flex-col gap-3 py-[1px]", e),
1017
577
  ...t
1018
578
  }
1019
- ), vr = ({
579
+ ), Bd = ({
1020
580
  className: e,
1021
581
  ...t
1022
582
  }) => /* @__PURE__ */ a(
1023
- kt,
583
+ Me,
1024
584
  {
1025
- className: d("w-full semibold", e),
585
+ className: d(i({ slot: "root" }), e),
1026
586
  ...t
1027
587
  }
1028
- ), kr = ({
588
+ ), Dd = ({
1029
589
  className: e,
1030
590
  ...t
1031
591
  }) => /* @__PURE__ */ a(
1032
- At,
592
+ Ne,
1033
593
  {
1034
- className: d(
1035
- "text-gray-700 dark:text-white-alpha-700",
1036
- "text-sm font-normal w-full",
1037
- e
1038
- ),
594
+ className: d(i({ slot: "breadcrumbs" }), e),
1039
595
  ...t
1040
596
  }
1041
- ), Ar = W, yr = ({
597
+ ), zd = ({
1042
598
  className: e,
1043
599
  ...t
1044
600
  }) => /* @__PURE__ */ a(
1045
- yt,
601
+ Se,
1046
602
  {
1047
- className: d(r({ slot: "close" }), e),
603
+ className: d(i({ slot: "breadcrumbsIcon" }), e),
1048
604
  ...t
1049
605
  }
1050
- ), Pr = ({
606
+ ), _d = ({
1051
607
  className: e,
1052
608
  ...t
1053
609
  }) => /* @__PURE__ */ a(
1054
- Pt,
610
+ Ae,
1055
611
  {
1056
- className: d(r({ slot: "body" }), "p-0", e),
612
+ className: d(i({ slot: "icon" }), e),
1057
613
  ...t
1058
614
  }
1059
- ), wr = ({
615
+ ), Wd = ({
1060
616
  className: e,
1061
617
  ...t
1062
618
  }) => /* @__PURE__ */ a(
1063
- wt,
619
+ Te,
1064
620
  {
1065
- className: d("flex flex-col gap-8", e),
621
+ className: d(i({ slot: "title" }), e),
1066
622
  ...t
1067
623
  }
1068
- ), Mr = ({
624
+ ), Qd = ({
1069
625
  className: e,
1070
626
  ...t
1071
627
  }) => /* @__PURE__ */ a(
1072
- Mt,
628
+ He,
1073
629
  {
1074
- className: d("flex flex-col gap-2", e),
630
+ className: d(i({ slot: "tag" }), e),
1075
631
  ...t
1076
632
  }
1077
- ), Nr = ({
633
+ ), jd = ({
1078
634
  className: e,
1079
635
  ...t
1080
636
  }) => /* @__PURE__ */ a(
1081
- Nt,
637
+ Le,
1082
638
  {
1083
- className: d("text-sm font-medium text-gray-700 dark:text-white-alpha-700", e),
639
+ className: d(i({ slot: "description" }), e),
1084
640
  ...t
1085
641
  }
1086
- ), Ir = ({
642
+ ), Rd = ({
1087
643
  className: e,
1088
644
  ...t
1089
645
  }) => /* @__PURE__ */ a(
1090
- It,
646
+ Be,
1091
647
  {
1092
- className: d(
1093
- "h-9 px-3 rounded-md border",
1094
- "focus:outline-none focus:[--shadow-color:theme(colors.blue.500)]",
1095
- "data-[invalid]:[--shadow-color:theme(colors.red.500)]",
1096
- "shadow-[0_0_0_2px_var(--shadow-color)]",
1097
- e
1098
- ),
648
+ className: d(i({ slot: "descriptionPart" }), e),
1099
649
  ...t
1100
650
  }
1101
- ), Br = ({
651
+ ), Vd = ({
1102
652
  className: e,
1103
653
  ...t
1104
654
  }) => /* @__PURE__ */ a(
1105
- Bt,
655
+ De,
1106
656
  {
1107
- className: d("text-sm text-red-500", e),
657
+ className: d(i({ slot: "indicator" }), e),
1108
658
  ...t
1109
659
  }
1110
- ), Sr = ({
660
+ ), Od = ({
1111
661
  className: e,
1112
662
  ...t
1113
663
  }) => /* @__PURE__ */ a(
1114
- St,
664
+ ze,
1115
665
  {
1116
- className: d("flex flex-col gap-2", e),
666
+ className: d(
667
+ "bg-white dark:bg-gray-dark-950 pt-6 pb-4",
668
+ "px-5 relative",
669
+ "before:absolute before:block before:top-0 before:left-0",
670
+ "before:pointer-events-none before:w-full before:h-3",
671
+ "before:bg-[linear-gradient(transparent,_white)] dark:before:bg-[linear-gradient(transparent,_var(--ikp-color-gray-dark-950))]",
672
+ "before:-translate-y-full",
673
+ e
674
+ ),
1117
675
  ...t
1118
676
  }
1119
- ), Tr = ({
677
+ ), qd = ({
1120
678
  className: e,
1121
679
  ...t
1122
680
  }) => /* @__PURE__ */ a(
1123
- Tt,
681
+ ha,
1124
682
  {
1125
- className: d("text-sm font-medium text-gray-700 dark:text-white-alpha-700", e),
683
+ className: d(
684
+ "group/fieldset",
685
+ "relative flex flex-col w-full py-1.5 px-2",
686
+ "rounded-lg items-stretch shadow-md dark:shadow-none",
687
+ "bg-gray-50 dark:bg-gray-dark-900",
688
+ e
689
+ ),
1126
690
  ...t
1127
691
  }
1128
- ), Hr = ({
692
+ ), Gd = ({
1129
693
  className: e,
1130
694
  ...t
1131
- }) => /* @__PURE__ */ a(
1132
- Ht,
695
+ }) => /* @__PURE__ */ a(_e, { className: d("flex items-end", e), ...t }), Kd = p(({ className: e, ...t }, r) => /* @__PURE__ */ a(
696
+ We,
1133
697
  {
698
+ ref: r,
1134
699
  className: d(
1135
- l({ size: "md", variant: "outline" }),
1136
- "min-h-20 px-3 py-1 text-sm",
700
+ "min-h-[unset] text-sm overflow-hidden w-full resize-none",
701
+ "placeholder:text-gray-500 dark:placeholder:text-gray-dark-200",
702
+ "border-none outline-none shadow-none bg-transparent",
703
+ "px-1 py-1.5 max-h-[200px] overflow-y-auto disabled:cursor-not-allowed",
1137
704
  e
1138
705
  ),
1139
706
  ...t
1140
707
  }
1141
- ), Lr = ({
708
+ )), Ud = ({
1142
709
  className: e,
1143
710
  ...t
1144
711
  }) => /* @__PURE__ */ a(
1145
- Lt,
712
+ Qe,
1146
713
  {
1147
- className: d("text-sm text-red-500", e),
714
+ className: d(
715
+ o({}),
716
+ "group",
717
+ "bg-transparent relative size-8 min-w-[unset] rounded-lg transition-all ease-linear",
718
+ "text-inkeep-primary-medium dark:text-inkeep-expanded-primary-500",
719
+ "active:bg-gray-200 dark:active:bg-white-alpha-100",
720
+ "hover:bg-gray-200 hover:text-inkeep-primary-strong",
721
+ "dark:hover:bg-white-alpha-100 dark:hover:text-inkeep-expanded-primary-300",
722
+ "disabled:text-gray-500 dark:disabled:text-white",
723
+ "disabled:cursor-not-allowed hover:disabled:[background:none] active:disabled:[background:none]",
724
+ e
725
+ ),
1148
726
  ...t
1149
727
  }
1150
- ), Dr = ({
728
+ ), Zd = ({
1151
729
  className: e,
1152
730
  ...t
1153
731
  }) => /* @__PURE__ */ a(
1154
- Dt,
732
+ je,
1155
733
  {
1156
- className: d(s({ variant: "primaryFilled" }), "ml-auto", e),
734
+ className: d(ra(), "text-inherit group-disabled:opacity-60 ", e),
1157
735
  ...t
1158
736
  }
1159
- ), Wr = ({
737
+ ), $d = ({
1160
738
  className: e,
1161
739
  ...t
1162
740
  }) => /* @__PURE__ */ a(
1163
- Wt,
741
+ Re,
1164
742
  {
1165
743
  className: d("mt-4 flex items-start justify-between flex-wrap-reverse gap-2.5", e),
1166
744
  ...t
1167
745
  }
1168
- ), _r = ({
746
+ ), Jd = ({
1169
747
  className: e,
1170
748
  ...t
1171
749
  }) => /* @__PURE__ */ a(
1172
- _t,
750
+ Ve,
1173
751
  {
1174
752
  className: d("flex items-center gap-2.5 flex-wrap", e),
1175
753
  ...t
1176
754
  }
1177
- ), zr = ({
755
+ ), Xd = ({
1178
756
  className: e,
1179
757
  ...t
1180
758
  }) => /* @__PURE__ */ a(
1181
- zt,
759
+ Oe,
1182
760
  {
1183
761
  className: d("flex items-center whitespace-nowrap", e),
1184
762
  ...t
1185
763
  }
1186
- ), jr = ({
764
+ ), Yd = ({
1187
765
  className: e,
1188
766
  ...t
1189
767
  }) => /* @__PURE__ */ a(
1190
- jt,
768
+ qe,
1191
769
  {
1192
770
  className: d("text-xs text-gray-500 dark:text-white-alpha-600", e),
1193
771
  ...t
1194
772
  }
1195
- ), Qr = ({
773
+ ), eo = ({
1196
774
  className: e,
1197
775
  ...t
1198
776
  }) => /* @__PURE__ */ a(
1199
- Qt,
777
+ Ge,
1200
778
  {
1201
779
  className: d("text-gray-500 dark:text-white dark:opacity-60", "w-5 ml-1 mr-0.5", e),
1202
780
  ...t
1203
781
  }
1204
- ), Or = ({
782
+ ), to = ({
1205
783
  className: e,
1206
784
  ...t
1207
785
  }) => /* @__PURE__ */ a(
1208
- Ot,
786
+ Ke,
1209
787
  {
1210
788
  className: d(
1211
- td(),
789
+ ia(),
1212
790
  "inline-flex text-1sm text-gray-500",
1213
791
  "dark:text-white-alpha-600 font-medium",
1214
792
  e
1215
793
  ),
1216
794
  ...t
1217
795
  }
1218
- ), x = d(
1219
- s({ size: "xs", variant: "outline" }),
796
+ ), g = d(
797
+ o({ size: "xs", variant: "outline" }),
1220
798
  "text-gray-700 dark:text-white-alpha-700"
1221
- ), Vr = ({
799
+ ), ao = ({
1222
800
  className: e,
1223
801
  ...t
1224
- }) => /* @__PURE__ */ a(Vt, { className: d(x, e), ...t }), Rr = ({
802
+ }) => /* @__PURE__ */ a(Ue, { className: d(g, e), ...t }), oo = ({
1225
803
  className: e,
1226
804
  ...t
1227
- }) => /* @__PURE__ */ a(Rt, { className: d("cursor-pointer", e), ...t }), qr = ({
805
+ }) => /* @__PURE__ */ a(Ze, { className: d("cursor-pointer", e), ...t }), ro = ({
1228
806
  className: e,
1229
807
  ...t
1230
808
  }) => /* @__PURE__ */ a(
1231
- qt,
809
+ $e,
1232
810
  {
1233
811
  className: d(
1234
812
  "bg-white text-gray-800 fill-white",
@@ -1239,144 +817,144 @@ const Dd = Ua, Wd = u(
1239
817
  ),
1240
818
  ...t
1241
819
  }
1242
- ), Gr = _, Kr = ({
820
+ ), io = A, so = ({
1243
821
  className: e,
1244
822
  ...t
1245
- }) => /* @__PURE__ */ a(Gt, { className: d(x, e), ...t }), $r = ({
823
+ }) => /* @__PURE__ */ a(Je, { className: d(g, e), ...t }), mo = ({
1246
824
  className: e,
1247
825
  ...t
1248
826
  }) => /* @__PURE__ */ a(
1249
- Kt,
827
+ Xe,
1250
828
  {
1251
- className: d(x, e),
829
+ className: d(g, e),
1252
830
  ...t
1253
831
  }
1254
- ), Jr = ({
832
+ ), lo = ({
1255
833
  className: e,
1256
834
  ...t
1257
835
  }) => /* @__PURE__ */ a(
1258
- $t,
836
+ Ye,
1259
837
  {
1260
838
  className: d(
1261
- C({ slot: "content" }),
839
+ h({ slot: "content" }),
1262
840
  "gap-3 px-3 py-4 ",
1263
841
  "w-[254px] text-sm font-normal",
1264
842
  e
1265
843
  ),
1266
844
  ...t
1267
845
  }
1268
- ), Ur = ({
846
+ ), no = ({
1269
847
  className: e,
1270
848
  ...t
1271
849
  }) => /* @__PURE__ */ a(
1272
- Jt,
850
+ et,
1273
851
  {
1274
- className: d(C({ slot: "arrow" }), e),
852
+ className: d(h({ slot: "arrow" }), e),
1275
853
  ...t
1276
854
  }
1277
- ), Xr = ({
855
+ ), co = ({
1278
856
  className: e,
1279
857
  ...t
1280
858
  }) => /* @__PURE__ */ a(
1281
- Ut,
859
+ tt,
1282
860
  {
1283
861
  className: d("flex items-center cursor-pointer hover:underline", e),
1284
862
  ...t
1285
863
  }
1286
- ), Yr = ({
864
+ ), bo = ({
1287
865
  className: e,
1288
866
  ...t
1289
867
  }) => /* @__PURE__ */ a(
1290
- Xt,
868
+ at,
1291
869
  {
1292
870
  className: d("mr-2 text-inkeep-primary-medium", e),
1293
871
  ...t
1294
872
  }
1295
- ), Zr = z, eo = ({
873
+ ), ho = T, Co = ({
1296
874
  className: e,
1297
875
  ...t
1298
876
  }) => /* @__PURE__ */ a(
1299
- Yt,
877
+ dt,
1300
878
  {
1301
- className: d(r({ slot: "overlay" }), e),
879
+ className: d(m({ slot: "overlay" }), e),
1302
880
  ...t
1303
881
  }
1304
- ), to = ({
882
+ ), po = ({
1305
883
  className: e,
1306
884
  ...t
1307
885
  }) => /* @__PURE__ */ a(
1308
- Zt,
886
+ ot,
1309
887
  {
1310
888
  className: d(
1311
- r({ slot: "content" }),
889
+ m({ slot: "content" }),
1312
890
  "my-6 md:my-12 top-0 left-[unset] transform-none relative",
1313
891
  "p-8 md:p-10 max-w-[480px]",
1314
892
  e
1315
893
  ),
1316
894
  ...t
1317
895
  }
1318
- ), ao = ({
896
+ ), uo = ({
1319
897
  className: e,
1320
898
  ...t
1321
899
  }) => /* @__PURE__ */ a(
1322
- ea,
900
+ rt,
1323
901
  {
1324
- className: d(r({ slot: "header" }), "px-0 pt-0 pb-8", "font-semibold", e),
902
+ className: d(m({ slot: "header" }), "px-0 pt-0 pb-8", "font-semibold", e),
1325
903
  ...t
1326
904
  }
1327
- ), so = ({
905
+ ), go = ({
1328
906
  className: e,
1329
907
  ...t
1330
908
  }) => /* @__PURE__ */ a(
1331
- ta,
909
+ it,
1332
910
  {
1333
- className: d(r({ slot: "close" }), e),
911
+ className: d(m({ slot: "close" }), e),
1334
912
  ...t
1335
913
  }
1336
- ), ro = ({
914
+ ), Eo = ({
1337
915
  className: e,
1338
916
  ...t
1339
917
  }) => /* @__PURE__ */ a(
1340
- aa,
918
+ st,
1341
919
  {
1342
- className: d(r({ slot: "body" }), "p-0", e),
920
+ className: d(m({ slot: "body" }), "p-0", e),
1343
921
  ...t
1344
922
  }
1345
- ), oo = ({
923
+ ), Fo = ({
1346
924
  className: e,
1347
925
  ...t
1348
- }) => /* @__PURE__ */ a(da, { className: d("flex flex-col gap-8", e), ...t }), mo = ({
926
+ }) => /* @__PURE__ */ a(mt, { className: d("flex flex-col gap-8", e), ...t }), xo = ({
1349
927
  className: e,
1350
928
  ...t
1351
929
  }) => /* @__PURE__ */ a(
1352
- sa,
930
+ lt,
1353
931
  {
1354
932
  className: d("flex flex-wrap items-center", "gap-[.75rem_0.5rem]", e),
1355
933
  ...t
1356
934
  }
1357
- ), io = ({
935
+ ), fo = ({
1358
936
  className: e,
1359
937
  ...t
1360
938
  }) => /* @__PURE__ */ a(
1361
- ra,
939
+ nt,
1362
940
  {
1363
- className: d(b({ slot: "root" }), e),
941
+ className: d(c({ slot: "root" }), e),
1364
942
  ...t
1365
943
  }
1366
- ), no = ({
944
+ ), vo = ({
1367
945
  className: e,
1368
946
  ...t
1369
947
  }) => /* @__PURE__ */ a(
1370
- oa,
948
+ ct,
1371
949
  {
1372
- className: d(b({ slot: "indicator" }), e),
950
+ className: d(c({ slot: "indicator" }), e),
1373
951
  ...t
1374
952
  }
1375
- ), lo = ({
953
+ ), ko = ({
1376
954
  className: e,
1377
955
  ...t
1378
956
  }) => /* @__PURE__ */ a(
1379
- ma,
957
+ bt,
1380
958
  {
1381
959
  className: d(
1382
960
  "select-none cursor-pointer font-medium text-sm",
@@ -1385,41 +963,41 @@ const Dd = Ua, Wd = u(
1385
963
  ),
1386
964
  ...t
1387
965
  }
1388
- ), co = ({
966
+ ), yo = ({
1389
967
  className: e,
1390
968
  ...t
1391
969
  }) => /* @__PURE__ */ a(
1392
- ia,
970
+ ht,
1393
971
  {
1394
972
  className: d("flex-[0_0_100%]", "min-h-20 border rounded-md", "px-3 py-2 text-sm", e),
1395
973
  ...t
1396
974
  }
1397
- ), ho = ({
975
+ ), Po = ({
1398
976
  className: e,
1399
977
  ...t
1400
978
  }) => /* @__PURE__ */ a(
1401
- na,
979
+ Ct,
1402
980
  {
1403
- className: d(s({ variant: "primaryFilled" }), "ml-auto", e),
981
+ className: d(o({ variant: "primaryFilled" }), "ml-auto", e),
1404
982
  ...t
1405
983
  }
1406
- ), bo = ({
984
+ ), wo = ({
1407
985
  className: e,
1408
986
  ...t
1409
987
  }) => /* @__PURE__ */ a(
1410
- la,
988
+ pt,
1411
989
  {
1412
990
  className: d("w-full overflow-y-auto [scrollbar-width:thin]", e),
1413
991
  ...t
1414
992
  }
1415
- ), Co = ({
993
+ ), Io = ({
1416
994
  className: e,
1417
995
  ...t
1418
996
  }) => /* @__PURE__ */ a(
1419
- ca,
997
+ ut,
1420
998
  {
1421
999
  className: d(
1422
- p({ section: "content" }),
1000
+ C({ section: "content" }),
1423
1001
  "relative pt-4 pb-8 gap-8",
1424
1002
  "items-start justify-center w-full",
1425
1003
  "px-6 ikp-md:px-10 ikp-md:pb-12",
@@ -1427,55 +1005,55 @@ const Dd = Ua, Wd = u(
1427
1005
  ),
1428
1006
  ...t
1429
1007
  }
1430
- ), po = ({
1008
+ ), Mo = ({
1431
1009
  className: e,
1432
1010
  ...t
1433
1011
  }) => /* @__PURE__ */ a(
1434
- ha,
1012
+ gt,
1435
1013
  {
1436
1014
  className: d(
1437
- s({ variant: "ghost" }),
1015
+ o({ variant: "ghost" }),
1438
1016
  "absolute right-1 top-1",
1439
1017
  "text-xl text-gray-500 dark:text-white-alpha-500 w-10 h-10 z-modal",
1440
1018
  e
1441
1019
  ),
1442
1020
  ...t
1443
1021
  }
1444
- ), uo = ({
1022
+ ), No = ({
1445
1023
  className: e,
1446
1024
  ...t
1447
1025
  }) => /* @__PURE__ */ a(
1448
- ba,
1026
+ Et,
1449
1027
  {
1450
1028
  className: d("mt-8 flex flex-col gap-6", e),
1451
1029
  ...t
1452
1030
  }
1453
- ), Eo = ({
1031
+ ), So = ({
1454
1032
  className: e,
1455
1033
  ...t
1456
1034
  }) => /* @__PURE__ */ a(
1457
- Ca,
1035
+ Ft,
1458
1036
  {
1459
1037
  className: d("font-semibold text-xl leading-5", e),
1460
1038
  ...t
1461
1039
  }
1462
- ), xo = ({
1040
+ ), Ao = ({
1463
1041
  className: e,
1464
1042
  ...t
1465
1043
  }) => /* @__PURE__ */ a(
1466
- pa,
1044
+ xt,
1467
1045
  {
1468
1046
  className: d("text-gray-700 dark:text-white-alpha-700 text-sm", e),
1469
1047
  ...t
1470
1048
  }
1471
- ), go = ({
1049
+ ), To = ({
1472
1050
  className: e,
1473
1051
  ...t
1474
- }) => /* @__PURE__ */ a(ua, { className: d("w-full space-y-8", e), ...t }), Fo = ({
1052
+ }) => /* @__PURE__ */ a(ft, { className: d("w-full space-y-8", e), ...t }), Ho = ({
1475
1053
  className: e,
1476
1054
  ...t
1477
1055
  }) => /* @__PURE__ */ a(
1478
- Ea,
1056
+ vt,
1479
1057
  {
1480
1058
  className: d(
1481
1059
  "group flex flex-col gap-2 data-[hidden]:hidden",
@@ -1484,11 +1062,11 @@ const Dd = Ua, Wd = u(
1484
1062
  ),
1485
1063
  ...t
1486
1064
  }
1487
- ), fo = ({
1065
+ ), Lo = ({
1488
1066
  className: e,
1489
1067
  ...t
1490
1068
  }) => /* @__PURE__ */ a(
1491
- xa,
1069
+ kt,
1492
1070
  {
1493
1071
  className: d(
1494
1072
  "font-medium text-sm text-gray-700",
@@ -1505,32 +1083,32 @@ const Dd = Ua, Wd = u(
1505
1083
  ),
1506
1084
  ...t
1507
1085
  }
1508
- ), vo = ({
1086
+ ), Bo = ({
1509
1087
  className: e,
1510
1088
  ...t
1511
1089
  }) => /* @__PURE__ */ a(
1512
- ga,
1090
+ yt,
1513
1091
  {
1514
- className: d(l({ size: "md", variant: "outline" }), e),
1092
+ className: d(b({ size: "md", variant: "outline" }), e),
1515
1093
  ...t
1516
1094
  }
1517
- ), ko = ({
1095
+ ), Do = ({
1518
1096
  className: e,
1519
1097
  ...t
1520
1098
  }) => /* @__PURE__ */ a(
1521
- Fa,
1099
+ Pt,
1522
1100
  {
1523
- className: d(l({ size: "md", variant: "outline" }), e),
1101
+ className: d(b({ size: "md", variant: "outline" }), e),
1524
1102
  ...t
1525
1103
  }
1526
- ), Ao = ({
1104
+ ), zo = ({
1527
1105
  className: e,
1528
1106
  ...t
1529
1107
  }) => /* @__PURE__ */ a(
1530
- fa,
1108
+ wt,
1531
1109
  {
1532
1110
  className: d(
1533
- l({ size: "md", variant: "outline" }),
1111
+ b({ size: "md", variant: "outline" }),
1534
1112
  "text-sm pl-2 file:h-full file:cursor-pointer py-0",
1535
1113
  "file:bg-transparent file:border-none file:font-medium",
1536
1114
  "file:text-sm file:text-gray-700 dark:file:text-white-alpha-700",
@@ -1538,180 +1116,180 @@ const Dd = Ua, Wd = u(
1538
1116
  ),
1539
1117
  ...t
1540
1118
  }
1541
- ), yo = ({
1119
+ ), _o = ({
1542
1120
  className: e,
1543
1121
  ...t
1544
1122
  }) => /* @__PURE__ */ a(
1545
- va,
1123
+ It,
1546
1124
  {
1547
1125
  className: d(
1548
- l({ size: "md", variant: "outline" }),
1126
+ b({ size: "md", variant: "outline" }),
1549
1127
  "min-h-20 px-3 py-2 text-sm",
1550
1128
  e
1551
1129
  ),
1552
1130
  ...t
1553
1131
  }
1554
- ), Po = ({
1132
+ ), Wo = ({
1555
1133
  className: e,
1556
1134
  ...t
1557
1135
  }) => /* @__PURE__ */ a(
1558
- ka,
1136
+ Mt,
1559
1137
  {
1560
- className: d(b({ slot: "root" }), e),
1138
+ className: d(c({ slot: "root" }), e),
1561
1139
  ...t
1562
1140
  }
1563
- ), wo = ({
1141
+ ), Qo = ({
1564
1142
  className: e,
1565
1143
  ...t
1566
1144
  }) => /* @__PURE__ */ a(
1567
- Aa,
1145
+ Nt,
1568
1146
  {
1569
- className: d(b({ slot: "indicator" }), e),
1147
+ className: d(c({ slot: "indicator" }), e),
1570
1148
  ...t
1571
1149
  }
1572
- ), Mo = j, No = ({
1150
+ ), jo = H, Ro = ({
1573
1151
  className: e,
1574
1152
  ...t
1575
1153
  }) => /* @__PURE__ */ a(
1576
- ya,
1154
+ St,
1577
1155
  {
1578
- className: d(c({ slot: "trigger" }), e),
1156
+ className: d(l({ slot: "trigger" }), e),
1579
1157
  ...t
1580
1158
  }
1581
- ), Io = Q, Bo = ({
1159
+ ), Vo = L, Oo = ({
1582
1160
  className: e,
1583
1161
  ...t
1584
1162
  }) => /* @__PURE__ */ a(
1585
- Pa,
1163
+ At,
1586
1164
  {
1587
1165
  className: d("h-4 w-4 opacity-45", e),
1588
1166
  ...t
1589
1167
  }
1590
- ), So = ({
1168
+ ), qo = ({
1591
1169
  className: e,
1592
1170
  ...t
1593
1171
  }) => /* @__PURE__ */ a(
1594
- wa,
1172
+ Tt,
1595
1173
  {
1596
- className: d(c({ slot: "content" }), e),
1174
+ className: d(l({ slot: "content" }), e),
1597
1175
  ...t
1598
1176
  }
1599
- ), To = ({
1177
+ ), Go = ({
1600
1178
  className: e,
1601
1179
  ...t
1602
1180
  }) => /* @__PURE__ */ a(
1603
- Ma,
1181
+ Ht,
1604
1182
  {
1605
- className: d(c({ slot: "viewport" }), e),
1183
+ className: d(l({ slot: "viewport" }), e),
1606
1184
  ...t
1607
1185
  }
1608
- ), Ho = ({
1186
+ ), Ko = ({
1609
1187
  className: e,
1610
1188
  ...t
1611
1189
  }) => /* @__PURE__ */ a(
1612
- Na,
1190
+ Lt,
1613
1191
  {
1614
- className: d(c({ slot: "item" }), e),
1192
+ className: d(l({ slot: "item" }), e),
1615
1193
  ...t
1616
1194
  }
1617
- ), Lo = O, Do = ({
1195
+ ), Uo = B, Zo = ({
1618
1196
  className: e,
1619
1197
  ...t
1620
1198
  }) => /* @__PURE__ */ a(
1621
- Ia,
1199
+ Bt,
1622
1200
  {
1623
- className: d(c({ slot: "itemIndicator" }), e),
1201
+ className: d(l({ slot: "itemIndicator" }), e),
1624
1202
  ...t
1625
1203
  }
1626
- ), Wo = V, _o = ({
1204
+ ), $o = D, Jo = ({
1627
1205
  className: e,
1628
1206
  ...t
1629
1207
  }) => /* @__PURE__ */ a(
1630
- Ba,
1208
+ Dt,
1631
1209
  {
1632
- className: d(i({ slot: "control" }), e),
1210
+ className: d(s({ slot: "control" }), e),
1633
1211
  ...t
1634
1212
  }
1635
- ), zo = ({
1213
+ ), Xo = ({
1636
1214
  className: e,
1637
1215
  ...t
1638
- }) => /* @__PURE__ */ a(La, { className: e, ...t }), jo = ({
1216
+ }) => /* @__PURE__ */ a(Qt, { className: e, ...t }), Yo = ({
1639
1217
  className: e,
1640
1218
  ...t
1641
1219
  }) => /* @__PURE__ */ a(
1642
- Sa,
1220
+ zt,
1643
1221
  {
1644
- className: d(i({ slot: "input" }), e),
1222
+ className: d(s({ slot: "input" }), e),
1645
1223
  ...t
1646
1224
  }
1647
- ), Qo = ({
1225
+ ), er = ({
1648
1226
  className: e,
1649
1227
  ...t
1650
1228
  }) => /* @__PURE__ */ a(
1651
- Ta,
1229
+ _t,
1652
1230
  {
1653
- className: d(i({ slot: "trigger" }), e),
1231
+ className: d(s({ slot: "trigger" }), e),
1654
1232
  ...t
1655
1233
  }
1656
- ), Oo = ({
1234
+ ), tr = ({
1657
1235
  className: e,
1658
1236
  ...t
1659
1237
  }) => /* @__PURE__ */ a(
1660
- Ha,
1238
+ Wt,
1661
1239
  {
1662
- className: d(i({ slot: "selectedTags" }), e),
1240
+ className: d(s({ slot: "selectedTags" }), e),
1663
1241
  ...t
1664
1242
  }
1665
- ), Vo = ({
1243
+ ), ar = ({
1666
1244
  className: e,
1667
1245
  ...t
1668
1246
  }) => /* @__PURE__ */ a(
1669
- Da,
1247
+ jt,
1670
1248
  {
1671
- className: d(i({ slot: "content" }), e),
1249
+ className: d(s({ slot: "content" }), e),
1672
1250
  ...t
1673
1251
  }
1674
- ), Ro = ({
1252
+ ), dr = ({
1675
1253
  className: e,
1676
1254
  ...t
1677
1255
  }) => /* @__PURE__ */ a(
1678
- Wa,
1256
+ Rt,
1679
1257
  {
1680
- className: d(i({ slot: "list" }), e),
1258
+ className: d(s({ slot: "list" }), e),
1681
1259
  ...t
1682
1260
  }
1683
- ), qo = R, Go = ({
1261
+ ), or = z, rr = ({
1684
1262
  className: e,
1685
1263
  ...t
1686
1264
  }) => /* @__PURE__ */ a(
1687
- _a,
1265
+ Vt,
1688
1266
  {
1689
- className: d(i({ slot: "emptyMessage" }), e),
1267
+ className: d(s({ slot: "emptyMessage" }), e),
1690
1268
  ...t
1691
1269
  }
1692
- ), Ko = ({
1270
+ ), ir = ({
1693
1271
  className: e,
1694
1272
  ...t
1695
1273
  }) => /* @__PURE__ */ a(
1696
- za,
1274
+ Ot,
1697
1275
  {
1698
- className: d(i({ slot: "item" }), e),
1276
+ className: d(s({ slot: "item" }), e),
1699
1277
  ...t
1700
1278
  }
1701
- ), $o = q, Jo = ({
1279
+ ), sr = _, mr = ({
1702
1280
  className: e,
1703
1281
  ...t
1704
1282
  }) => /* @__PURE__ */ a(
1705
- ja,
1283
+ qt,
1706
1284
  {
1707
- className: d(i({ slot: "itemIndicator" }), e),
1285
+ className: d(s({ slot: "itemIndicator" }), e),
1708
1286
  ...t
1709
1287
  }
1710
- ), Uo = ({
1288
+ ), lr = ({
1711
1289
  className: e,
1712
1290
  ...t
1713
1291
  }) => /* @__PURE__ */ a(
1714
- Qa,
1292
+ Gt,
1715
1293
  {
1716
1294
  className: d(
1717
1295
  "text-sm text-gray-600 dark:text-white-alpha-600",
@@ -1720,11 +1298,11 @@ const Dd = Ua, Wd = u(
1720
1298
  ),
1721
1299
  ...t
1722
1300
  }
1723
- ), Xo = ({
1301
+ ), nr = ({
1724
1302
  className: e,
1725
1303
  ...t
1726
1304
  }) => /* @__PURE__ */ a(
1727
- Oa,
1305
+ Kt,
1728
1306
  {
1729
1307
  className: d(
1730
1308
  "text-sm flex items-center text-red-500 dark:text-red-300",
@@ -1733,47 +1311,47 @@ const Dd = Ua, Wd = u(
1733
1311
  ),
1734
1312
  ...t
1735
1313
  }
1736
- ), Yo = ({
1314
+ ), cr = ({
1737
1315
  className: e,
1738
1316
  ...t
1739
1317
  }) => /* @__PURE__ */ a(
1740
- Va,
1318
+ Ut,
1741
1319
  {
1742
1320
  className: d("text-red-500 dark:text-red-300", e),
1743
1321
  ...t
1744
1322
  }
1745
- ), Zo = ({
1323
+ ), br = ({
1746
1324
  className: e,
1747
1325
  ...t
1748
1326
  }) => /* @__PURE__ */ a(
1749
- Ra,
1327
+ Zt,
1750
1328
  {
1751
1329
  className: d("flex items-center justify-end gap-4 w-full", e),
1752
1330
  ...t
1753
1331
  }
1754
- ), em = ({
1332
+ ), hr = ({
1755
1333
  className: e,
1756
1334
  ...t
1757
1335
  }) => /* @__PURE__ */ a(
1758
- qa,
1336
+ $t,
1759
1337
  {
1760
- className: d(s({ variant: "outline" }), e),
1338
+ className: d(o({ variant: "outline" }), e),
1761
1339
  ...t
1762
1340
  }
1763
- ), tm = ({
1341
+ ), Cr = ({
1764
1342
  className: e,
1765
1343
  ...t
1766
1344
  }) => /* @__PURE__ */ a(
1767
- Ga,
1345
+ Jt,
1768
1346
  {
1769
- className: d(s({ variant: "primaryFilled" }), e),
1347
+ className: d(o({ variant: "primaryFilled" }), e),
1770
1348
  ...t
1771
1349
  }
1772
- ), am = ({
1350
+ ), pr = ({
1773
1351
  className: e,
1774
1352
  ...t
1775
1353
  }) => /* @__PURE__ */ a(
1776
- Ka,
1354
+ Xt,
1777
1355
  {
1778
1356
  className: d(
1779
1357
  "flex flex-col items-center justify-center h-auto",
@@ -1782,11 +1360,11 @@ const Dd = Ua, Wd = u(
1782
1360
  ),
1783
1361
  ...t
1784
1362
  }
1785
- ), dm = ({
1363
+ ), ur = ({
1786
1364
  className: e,
1787
1365
  ...t
1788
1366
  }) => /* @__PURE__ */ a(
1789
- $a,
1367
+ Yt,
1790
1368
  {
1791
1369
  className: d(
1792
1370
  "mb-6 font-bold tracking-tight",
@@ -1795,203 +1373,182 @@ const Dd = Ua, Wd = u(
1795
1373
  ),
1796
1374
  ...t
1797
1375
  }
1798
- ), sm = G, rm = ({
1376
+ ), gr = W, Er = ({
1799
1377
  className: e,
1800
1378
  ...t
1801
1379
  }) => /* @__PURE__ */ a(
1802
- Ja,
1380
+ ea,
1803
1381
  {
1804
- className: d(s({ variant: "primaryFilled" }), "w-full mt-12 gap-2 shrink-0", e),
1382
+ className: d(o({ variant: "primaryFilled" }), "w-full mt-12 gap-2 shrink-0", e),
1805
1383
  ...t
1806
1384
  }
1807
1385
  );
1808
1386
  export {
1809
- Wr as ActionBar,
1810
- _r as Actions,
1811
- rr as AttachmentsBar,
1812
- cr as AttachmentsBarActions,
1813
- mr as AttachmentsBarAttachment,
1814
- lr as AttachmentsBarAttachmentDelete,
1815
- ir as AttachmentsBarAttachmentIcon,
1816
- nr as AttachmentsBarAttachmentTitle,
1817
- wr as AttachmentsBarForm,
1818
- Sr as AttachmentsBarFormContent,
1819
- Lr as AttachmentsBarFormContentError,
1820
- Hr as AttachmentsBarFormContentInput,
1821
- Tr as AttachmentsBarFormContentLabel,
1822
- Dr as AttachmentsBarFormSubmitButton,
1823
- Mr as AttachmentsBarFormTitle,
1824
- Br as AttachmentsBarFormTitleError,
1825
- Ir as AttachmentsBarFormTitleInput,
1826
- Nr as AttachmentsBarFormTitleLabel,
1827
- hr as AttachmentsBarInfoTip,
1828
- pr as AttachmentsBarInfoTipArrow,
1829
- br as AttachmentsBarInfoTipIcon,
1830
- Cr as AttachmentsBarInfoTipText,
1831
- Er as AttachmentsBarInput,
1832
- ur as AttachmentsBarInputs,
1833
- or as AttachmentsBarList,
1834
- xr as AttachmentsBarModal,
1835
- Pr as AttachmentsBarModalBody,
1836
- yr as AttachmentsBarModalClose,
1837
- Fr as AttachmentsBarModalContent,
1838
- kr as AttachmentsBarModalDescription,
1839
- fr as AttachmentsBarModalHeader,
1840
- vr as AttachmentsBarModalHeading,
1841
- Ar as AttachmentsBarModalHelp,
1842
- gr as AttachmentsBarModalOverlay,
1843
- Vr as ChatAction,
1844
- qr as ChatActionFeedback,
1845
- Rr as ChatActionLabel,
1846
- id as ChatHistoryButton,
1387
+ $d as ActionBar,
1388
+ Jd as Actions,
1389
+ ao as ChatAction,
1390
+ ro as ChatActionFeedback,
1391
+ oo as ChatActionLabel,
1392
+ Ca as ChatHistoryButton,
1847
1393
  F as ChatHistoryButtonIcon,
1848
- Vd as ChatHistoryTrigger,
1849
- Rd as Content,
1850
- qd as ContentScrollArea,
1851
- Jd as ContentScrollAreaCorner,
1852
- Kd as ContentScrollAreaScrollbar,
1853
- $d as ContentScrollAreaThumb,
1854
- Gd as ContentScrollAreaViewport,
1855
- Ud as Disclaimer,
1856
- ts as DisclaimerArrow,
1857
- Zd as DisclaimerContent,
1858
- Xd as DisclaimerLabel,
1859
- es as DisclaimerText,
1860
- Yd as DisclaimerTrigger,
1861
- Ls as DynamicComponent,
1862
- rs as ExampleQuestion,
1863
- os as ExampleQuestionButton,
1864
- as as ExampleQuestions,
1865
- ds as ExampleQuestionsLabel,
1866
- ss as ExampleQuestionsList,
1867
- oo as FeedbackForm,
1868
- mo as FeedbackItem,
1869
- io as FeedbackItemCheckbox,
1870
- no as FeedbackItemCheckboxIndicator,
1871
- co as FeedbackItemDescription,
1872
- lo as FeedbackItemLabel,
1873
- Zr as FeedbackModal,
1874
- ro as FeedbackModalBody,
1875
- so as FeedbackModalClose,
1876
- to as FeedbackModalContent,
1877
- ao as FeedbackModalHeader,
1878
- eo as FeedbackModalOverlay,
1879
- ho as FeedbackSubmitButton,
1880
- Zs as Footer,
1881
- Co as Form,
1882
- em as FormCancel,
1883
- po as FormClose,
1884
- go as FormContent,
1885
- xo as FormDescription,
1886
- Yo as FormError,
1887
- Fo as FormField,
1888
- Po as FormFieldCheckbox,
1889
- wo as FormFieldCheckboxIndicator,
1890
- Wo as FormFieldCombobox,
1891
- Vo as FormFieldComboboxContent,
1892
- _o as FormFieldComboboxControl,
1893
- jo as FormFieldComboboxInput,
1894
- Ko as FormFieldComboboxItem,
1895
- Jo as FormFieldComboboxItemIndicator,
1896
- $o as FormFieldComboboxItemText,
1897
- Ro as FormFieldComboboxList,
1898
- Go as FormFieldComboboxListEmpty,
1899
- qo as FormFieldComboboxListItems,
1900
- zo as FormFieldComboboxPositioner,
1901
- Oo as FormFieldComboboxSelectedTags,
1902
- Qo as FormFieldComboboxTrigger,
1903
- Uo as FormFieldDescription,
1904
- ko as FormFieldEmail,
1905
- Xo as FormFieldError,
1906
- Ao as FormFieldFile,
1907
- fo as FormFieldLabel,
1908
- Mo as FormFieldSelect,
1909
- So as FormFieldSelectContent,
1910
- Bo as FormFieldSelectIcon,
1911
- Ho as FormFieldSelectItem,
1912
- Do as FormFieldSelectItemIndicator,
1913
- Lo as FormFieldSelectItemText,
1914
- No as FormFieldSelectTrigger,
1915
- Io as FormFieldSelectValue,
1916
- To as FormFieldSelectViewport,
1917
- vo as FormFieldText,
1918
- yo as FormFieldTextArea,
1919
- Zo as FormFooter,
1920
- uo as FormHeader,
1921
- Eo as FormHeading,
1922
- tm as FormSubmit,
1923
- am as FormSuccess,
1924
- rm as FormSuccessButton,
1925
- dm as FormSuccessHeading,
1926
- sm as FormSuccessMessage,
1927
- bo as FormWrapper,
1928
- zd as Header,
1929
- jd as HeaderToolbar,
1930
- Qd as HeaderToolbarWrapper,
1931
- Kr as HelpAction,
1932
- Gr as HelpActions,
1933
- Jr as HelpActionsMenu,
1934
- Ur as HelpActionsMenuArrow,
1935
- Xr as HelpActionsMenuItem,
1936
- Yr as HelpActionsMenuItemIcon,
1937
- $r as HelpActionsTrigger,
1938
- ar as Input,
1939
- er as InputFieldset,
1940
- tr as InputGroup,
1941
- bs as IntroMessageWrapper,
1942
- Ds as Markdown,
1943
- js as MessageAction,
1944
- As as MessageAttachments,
1945
- Ps as MessageAttachmentsItem,
1946
- ws as MessageAttachmentsItemIcon,
1947
- Ms as MessageAttachmentsItemTitle,
1948
- ys as MessageAttachmentsList,
1949
- Ns as MessageAttachmentsPreview,
1950
- Hs as MessageAttachmentsPreviewBody,
1951
- Ts as MessageAttachmentsPreviewClose,
1952
- Bs as MessageAttachmentsPreviewContent,
1953
- Ss as MessageAttachmentsPreviewHeader,
1954
- Is as MessageAttachmentsPreviewOverlay,
1955
- Es as MessageAvatar,
1956
- xs as MessageAvatarContent,
1957
- gs as MessageAvatarFallback,
1958
- Fs as MessageAvatarImage,
1959
- ks as MessageContent,
1960
- vs as MessageContentWrapper,
1961
- zs as MessageCustomAction,
1962
- _s as MessageCustomActions,
1963
- Cs as MessageHeader,
1964
- ps as MessageLoading,
1965
- fs as MessageName,
1966
- im as MessagePart,
1967
- Rs as MessageSourceItem,
1968
- Gs as MessageSourceItemBreadcrumbIcon,
1969
- qs as MessageSourceItemBreadcrumbs,
1970
- Us as MessageSourceItemDescription,
1971
- Xs as MessageSourceItemDescriptionPart,
1972
- Ks as MessageSourceItemIcon,
1973
- Ys as MessageSourceItemIndicator,
1974
- Js as MessageSourceItemTag,
1975
- $s as MessageSourceItemTitle,
1976
- Qs as MessageSources,
1977
- Os as MessageSourcesHeader,
1978
- Vs as MessageSourcesList,
1979
- Ws as MessageToolbar,
1980
- hs as MessageWrapper,
1981
- cs as Messages,
1982
- us as MessagesSessionLoading,
1983
- Dd as Provider,
1984
- _d as Root,
1985
- dr as SendButton,
1986
- sr as SendButtonIcon,
1987
- Or as TaglineBrandName,
1988
- zr as TaglineContainer,
1989
- Qr as TaglineLogo,
1990
- jr as TaglineText,
1991
- Od as ToolbarHeader,
1992
- ls as Workflow,
1993
- ms as Workflows,
1994
- is as WorkflowsLabel,
1995
- ns as WorkflowsList,
1996
- Wd as Wrapper
1394
+ Za as ChatHistoryTrigger,
1395
+ $a as Content,
1396
+ Ja as ContentScrollArea,
1397
+ td as ContentScrollAreaCorner,
1398
+ Ya as ContentScrollAreaScrollbar,
1399
+ ed as ContentScrollAreaThumb,
1400
+ Xa as ContentScrollAreaViewport,
1401
+ ad as Disclaimer,
1402
+ sd as DisclaimerArrow,
1403
+ rd as DisclaimerContent,
1404
+ dd as DisclaimerLabel,
1405
+ id as DisclaimerText,
1406
+ od as DisclaimerTrigger,
1407
+ kr as DropZone,
1408
+ wd as DynamicComponent,
1409
+ cd as ExampleQuestion,
1410
+ bd as ExampleQuestionButton,
1411
+ md as ExampleQuestions,
1412
+ ld as ExampleQuestionsLabel,
1413
+ nd as ExampleQuestionsList,
1414
+ Fo as FeedbackForm,
1415
+ xo as FeedbackItem,
1416
+ fo as FeedbackItemCheckbox,
1417
+ vo as FeedbackItemCheckboxIndicator,
1418
+ yo as FeedbackItemDescription,
1419
+ ko as FeedbackItemLabel,
1420
+ ho as FeedbackModal,
1421
+ Eo as FeedbackModalBody,
1422
+ go as FeedbackModalClose,
1423
+ po as FeedbackModalContent,
1424
+ uo as FeedbackModalHeader,
1425
+ Co as FeedbackModalOverlay,
1426
+ Po as FeedbackSubmitButton,
1427
+ yr as FileContent,
1428
+ Pr as FileInput,
1429
+ wr as FileItem,
1430
+ Ir as FileList,
1431
+ Mr as FileName,
1432
+ Nr as FilePreviewTrigger,
1433
+ Sr as FileRemove,
1434
+ Ar as FileThumbnail,
1435
+ Tr as FileTypeIcon,
1436
+ Hr as FileUploadButton,
1437
+ Od as Footer,
1438
+ Io as Form,
1439
+ hr as FormCancel,
1440
+ Mo as FormClose,
1441
+ To as FormContent,
1442
+ Ao as FormDescription,
1443
+ cr as FormError,
1444
+ Ho as FormField,
1445
+ Wo as FormFieldCheckbox,
1446
+ Qo as FormFieldCheckboxIndicator,
1447
+ $o as FormFieldCombobox,
1448
+ ar as FormFieldComboboxContent,
1449
+ Jo as FormFieldComboboxControl,
1450
+ Yo as FormFieldComboboxInput,
1451
+ ir as FormFieldComboboxItem,
1452
+ mr as FormFieldComboboxItemIndicator,
1453
+ sr as FormFieldComboboxItemText,
1454
+ dr as FormFieldComboboxList,
1455
+ rr as FormFieldComboboxListEmpty,
1456
+ or as FormFieldComboboxListItems,
1457
+ Xo as FormFieldComboboxPositioner,
1458
+ tr as FormFieldComboboxSelectedTags,
1459
+ er as FormFieldComboboxTrigger,
1460
+ lr as FormFieldDescription,
1461
+ Do as FormFieldEmail,
1462
+ nr as FormFieldError,
1463
+ zo as FormFieldFile,
1464
+ Lo as FormFieldLabel,
1465
+ jo as FormFieldSelect,
1466
+ qo as FormFieldSelectContent,
1467
+ Oo as FormFieldSelectIcon,
1468
+ Ko as FormFieldSelectItem,
1469
+ Zo as FormFieldSelectItemIndicator,
1470
+ Uo as FormFieldSelectItemText,
1471
+ Ro as FormFieldSelectTrigger,
1472
+ Vo as FormFieldSelectValue,
1473
+ Go as FormFieldSelectViewport,
1474
+ Bo as FormFieldText,
1475
+ _o as FormFieldTextArea,
1476
+ br as FormFooter,
1477
+ No as FormHeader,
1478
+ So as FormHeading,
1479
+ Cr as FormSubmit,
1480
+ pr as FormSuccess,
1481
+ Er as FormSuccessButton,
1482
+ ur as FormSuccessHeading,
1483
+ gr as FormSuccessMessage,
1484
+ wo as FormWrapper,
1485
+ qa as Header,
1486
+ Ga as HeaderToolbar,
1487
+ Ka as HeaderToolbarWrapper,
1488
+ so as HelpAction,
1489
+ io as HelpActions,
1490
+ lo as HelpActionsMenu,
1491
+ no as HelpActionsMenuArrow,
1492
+ co as HelpActionsMenuItem,
1493
+ bo as HelpActionsMenuItemIcon,
1494
+ mo as HelpActionsTrigger,
1495
+ Vr as ImagePreviewModal,
1496
+ Or as ImagePreviewModalClose,
1497
+ qr as ImagePreviewModalContent,
1498
+ Gr as ImagePreviewModalFileName,
1499
+ Kr as ImagePreviewModalFooter,
1500
+ Ur as ImagePreviewModalImage,
1501
+ Zr as ImagePreviewModalOverlay,
1502
+ Kd as Input,
1503
+ qd as InputFieldset,
1504
+ Gd as InputGroup,
1505
+ Lr as InputNotification,
1506
+ Br as InputNotificationClose,
1507
+ Dr as InputNotificationContent,
1508
+ zr as InputNotificationHeader,
1509
+ _r as InputNotificationMessage,
1510
+ Wr as InputNotificationTitle,
1511
+ pd as IntroMessageWrapper,
1512
+ Id as Markdown,
1513
+ Ad as MessageAction,
1514
+ Fd as MessageAvatar,
1515
+ xd as MessageAvatarContent,
1516
+ fd as MessageAvatarFallback,
1517
+ vd as MessageAvatarImage,
1518
+ Pd as MessageContent,
1519
+ yd as MessageContentWrapper,
1520
+ Sd as MessageCustomAction,
1521
+ Nd as MessageCustomActions,
1522
+ Qr as MessageFile,
1523
+ jr as MessageFiles,
1524
+ ud as MessageHeader,
1525
+ gd as MessageLoading,
1526
+ kd as MessageName,
1527
+ fr as MessagePart,
1528
+ Bd as MessageSourceItem,
1529
+ zd as MessageSourceItemBreadcrumbIcon,
1530
+ Dd as MessageSourceItemBreadcrumbs,
1531
+ jd as MessageSourceItemDescription,
1532
+ Rd as MessageSourceItemDescriptionPart,
1533
+ _d as MessageSourceItemIcon,
1534
+ Vd as MessageSourceItemIndicator,
1535
+ Qd as MessageSourceItemTag,
1536
+ Wd as MessageSourceItemTitle,
1537
+ Td as MessageSources,
1538
+ Hd as MessageSourcesHeader,
1539
+ Ld as MessageSourcesList,
1540
+ Md as MessageToolbar,
1541
+ Cd as MessageWrapper,
1542
+ hd as Messages,
1543
+ Ed as MessagesSessionLoading,
1544
+ Ra as Provider,
1545
+ Oa as Root,
1546
+ Ud as SendButton,
1547
+ Zd as SendButtonIcon,
1548
+ to as TaglineBrandName,
1549
+ Xd as TaglineContainer,
1550
+ eo as TaglineLogo,
1551
+ Yd as TaglineText,
1552
+ Ua as ToolbarHeader,
1553
+ Va as Wrapper
1997
1554
  };