import type { ChatOptions } from "../types"; export const defaultOptions: ChatOptions = { webhookUrl: "http://localhost:5678", webhookConfig: { method: "POST", headers: {}, }, target: "#chat-widget", loadPreviousSession: true, chatInputKey: "chatInput", chatSessionKey: "sessionId", defaultLanguage: "en", showWelcomeScreen: false, initialMessages: ["Hi there! 👋", "How can I assist you today?"], complianceNotice: "", topics: [], i18n: { en: { title: "Hi there! 👋", subtitle: "Start a chat and we'll get back to you soon.", footer: "", getStarted: "New Conversation", inputPlaceholder: "Type your question…", closeButtonTooltip: "Close chat", newChatButtonTooltip: "Start a new chat", topicSelectionHeading: "What would you like to talk about?", topicSelectionDescription: "Pick a topic so we can route your conversation to the right person.", topicSelectionInputPlaceholder: "Select a topic to start typing…", topicSelectionAcknowledgementPrefix: "Starting a conversation about", feedbackUpvoteButton: "Mark this response as helpful", feedbackDownvoteButton: "Mark this response as not helpful", }, }, theme: {}, allowFileUploads: false, allowedFilesMimeTypes: "", disabled: false, enableStreaming: false, enableFeedback: false, }; export const defaultMountingTarget = "#chat-widget";