{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "contentoracle/ai-chat",
	"version": "0.1.0",
	"title": "Contentoracle Ai Chat",
	"category": "contentoracle",
	"icon": "smiley",
	"description": "Let your users chat with ai, and show ai search results with your site's custom content.",
	"example": {},
	"keywords": [
		"chat",
		"ai",
		"contentoracle",
		"search",
		"searchbar",
		"query",
		"answer",
		"question"
	],
	"attributes": {
		"header": {
			"type": "string",
			"default": "ContentOracle Ai Chat"
		},
		"placeholder": {
			"type": "string",
			"default": "Ask me anything..."
		},
		"buttonText": {
			"type": "string",
			"default": "Send"
		},
		"height": {
			"type": "string",
			"default": "20rem"
		},
		"botMsgBgColor": {
			"type": "string",
			"default": "#d1d1d1"
		},
		"botMsgTextColor": {
			"type": "string",
			"default": "#111111"
		},
		"userMsgBgColor": {
			"type": "string",
			"default": "#3232fd"
		},
		"userMsgTextColor": {
			"type": "string",
			"default": "#eeeeff"
		},
		"streamResponses": {
			"type": "boolean",
			"default": true
		},
		"scrollBlockIntoView": {
			"type": "boolean",
			"default": true
		},
		"greeterMsg": {
			"type": "string",
			"default": "Hello! I'm ContentOracle AI Chat. How can I help you today?"
		},
		"chatMessageSeederItems": {
			"type": "array",
			"default": [
				"hello there"
			]
		}
	},
	"selectors": {
		"root": ".contentoracle-ai_chat_root",
		"input_container": ".contentoracle-ai_chat_input_container",
		"input": ".contentoracle-ai_chat_input",
		"button": ".contentoracle-ai_chat_button",
		"conversation": ".contentoracle-ai_chat_conversation",
		"label": ".contentoracle-ai_chat_label",
		"header": ".contentoracle-ai_chat_header",
		"inline_citation": ".contentoracle-inline_citation",
		"source_list": ".contentoracle-source_list",
		"footer_citation": ".contentoracle-footer_citation",
		"footer_citation_link": ".contentoracle-footer_citation_link",
		"action_container": ".contentoracle-action_container",
		"action_label": ".contentoracle-action_label",
		"action_button": ".contentoracle-action_button",
		"action_excerpt": ".contentoracle-action_excerpt",
		"action_image": ".contentoracle-action_image"
	},
	"supports": {
		"color": {
			"background": true,
			"text": true,
			"button": true
		},
		"__experimentalBorder": {
			"color": true,
			"radius": true,
			"width": true,
			"__experimentalSkipSerialization": true,
			"__experimentalDefaultControls": {
				"color": true,
				"radius": true,
				"width": true
			}
		},
		"border": {
			"radius": true,
			"color": true
		},
		"spacing": {
			"margin": true,
			"padding": true
		},
		"html": false
	},
	"textdomain": "contentoracle-ai-chat-block",
	"editorScript": "file:./index.js",
	"editorStyle": "file:./index.css",
	"style": "file:./style-index.css",
	"render": "file:./render.php",
	"viewScript": "file:./view.js"
}