{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "rooster/builder-location",
	"version": "1.0.0",
	"title": "Builder location",
	"category": "theme",
	"icon": "layout",
	"description": "Where a page builder may take over. In Elementor Compatibility Mode the header and footer locations show the Elementor Pro location or the Header Footer Elementor template that matches the page, and the content location renders an Elementor library template; otherwise the blocks inside render as they are.",
	"keywords": [ "elementor", "header", "footer", "location" ],
	"textdomain": "ai-eshop-optimizer",
	"attributes": {
		"location": { "type": "string", "enum": [ "header", "footer", "content" ], "default": "header" },
		"templateId": { "type": "integer", "default": 0 }
	},
	"supports": {
		"html": false,
		"rooster": { "defer": { "allowed": false } }
	},
	"rooster": {
		"innerBlocks": true,
		"when": "elementor",
		"ui": {
			"location": { "label": "Location" },
			"templateId": { "label": "Elementor template ID (content location; 0 = the template the slot resolved to)" }
		},
		"notice": "Elementor Compatibility Mode is switched in Appearance → Rooster Zero → Elementor. While it is off this block renders its inner blocks only."
	},
	"render": "file:./render.php"
}
