{"version":3,"file":"chat.cjs","sources":["../../../components/chat/chat.tsx"],"sourcesContent":["'use client';\n\nimport { cx } from 'class-variance-authority';\nimport { ComponentProps } from 'react';\nimport styles from './chat.module.css';\nimport { ChatAttachment } from './chat-attachment';\nimport { ChatComposer } from './chat-composer';\nimport { ChatItem } from './chat-item';\nimport { ChatJumpButton, ChatMessages } from './chat-messages';\nimport { ChatSeparator } from './chat-separator';\n\nexport interface ChatRootProps extends ComponentProps<'div'> {}\n\nfunction ChatRoot({ className, ...props }: ChatRootProps) {\n  return (\n    <div className={cx(styles.chat, className)} data-slot='chat' {...props} />\n  );\n}\n\nChatRoot.displayName = 'Chat';\n\nexport const Chat = Object.assign(ChatRoot, {\n  Messages: ChatMessages,\n  Item: ChatItem,\n  JumpButton: ChatJumpButton,\n  Composer: ChatComposer,\n  Separator: ChatSeparator,\n  Attachment: ChatAttachment\n});\n"],"names":[],"mappings":";;;;;;;;;;;;AAaA;AACE;AAGF;AAEA;;AAGE;AACA;AACA;AACA;AACA;AACA;AACD;;"}