import { b as a } from "./chunk-Q4H4QEMB.js";
import { a as b$1 } from "./chunk-SY6DZLTC.js";
import { a as d } from "./chunk-7A2JNQX3.js";
import { a as a$1 } from "./chunk-KSEURRVZ.js";
import { k as se, h as Se } from "./chunk-AFVJZPLS.js";
import { Type } from "@sinclair/typebox";
import { b } from "./chunk-CCI4C3TM.js";
import { a as l } from "./chunk-A3GF4PYW.js";
import { b as c } from "./chunk-DHI3IBOD.js";
import { c as y } from "./chunk-CZRCW5EN.js";
import { a as i } from "./chunk-JMN3HTZU.js";
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
var h = Type.Object({ backgroundImage: Type.Optional(c()), colorPreset: Type.Optional(y({ examples: [{ color: "base-100" }, { color: "primary-500" }, { color: "accent-100", gradientDirection: "bg-gradient-to-r" }] })), tags: Type.Optional(Type.Array(l("Tag"), { title: "Tags", description: "Use tags to organize, group and filter pages in navigation elements and in the dashboard. By default, the navbar element display pages having the 'navbar' tag, while the sidebar displays the pages with the tag 'sidebar'.", "ui:field": "tags", examples: [["navbar", "navbar"], ["navbar", "sidebar"], ["sidebar"]] })), path: l("URL path", { default: "/", description: "The URL path of the page. Use placeholders like :id or :slug for dynamic paths.", "ui:field": "path", pattern: "^/[a-z0-9-:/]*$", examples: ["/", "/about", "/products/:id"] }), queries: Type.Optional(Type.Array(se(), { title: "Page Queries", description: "List of queries to use in this page. All listed queries will be executed when the page loads.", "ai:instructions": "Reference Query IDs to use at the page level.", "ui:field": "page-queries", maxItems: 5 })), title: l("Title", { default: "Untitled", "ui:group": "meta", "ui:group:title": "Meta tags", description: "The title of the page. Appears in the browser tab and search results", "ui:placeholder": "Page title" }), description: l("Description", { "ui:widget": "textarea", "ui:group": "meta", "ui:group:title": "Meta tags", description: "A short description of the page. Used by search engines", "ui:multiline": true, "ui:textarea-class": "h-24", default: "", "ui:placeholder": "A brief description of the page" }), keywords: l("Keywords", { "ui:group": "meta", "ui:group:title": "Meta tags", description: "Keywords related to the page. Used by search engines", "ui:multiline": true, default: "", "ui:placeholder": "keyword1, keyword2, keyword3" }), ogImage: Type.Optional(b({ title: "Social share image", description: "Image shown when this page is shared on social media", "ui:group": "meta", "ai:hidden": true, "ui:no-object-options": true, "ui:no-alt-text": true, "ui:show-img-search": false, "ui:no-dynamic": true, "ui:placeholder": "https://example.com/image.jpg" })), robotsIndexing: Type.Optional(a$1("Allow search engines to index this page", true, { description: "Disabling this will prevent search engines from indexing this page", "ai:hidden": true, "ui:group": "meta" })), language: Type.Optional(i(["ar", "zh", "cs", "nl", "en", "fr", "de", "he", "hi", "it", "ja", "ko", "fa", "pl", "pt", "ru", "es", "tr", "vi"], { "ai:hidden": true, "ui:group": "meta", title: "Language", default: "en", description: "Overrides the site language for this page. Leave blank to use the site default language.", enumNames: ["Arabic", "Chinese", "Czech", "Dutch", "English", "French", "German", "Hebrew", "Hindi", "Italian", "Japanese", "Korean", "Persian", "Polish", "Portuguese", "Russian", "Spanish", "Turkish", "Vietnamese"] })), additionalTags: Type.Optional(Type.Object({ headTags: Type.Optional(Type.String({ title: "Head script tags", description: "Add custom tags to the <head> of your site. Useful for analytics tags, custom scripts, etc.", "ai:instructions": "Don't include meta tags here, they are automatically generated.", "ui:multiline": true, "ui:textarea-class": "h-40 !font-mono", "ui:placeholder": "<script src='https://example.com/script.js'><\/script>", "ui:premium": true, "ui:textarea-font-size": "1", "ui:no-dynamic": true })), bodyTags: Type.Optional(Type.String({ title: "Body script tags", description: "Add custom tags to the <body> of your site. Useful for analytics tags, custom scripts, etc.", "ui:multiline": true, "ui:premium": true, "ui:textarea-class": "h-40 !font-mono", "ui:textarea-font-size": "1", "ui:placeholder": "<script src='https://example.com/script.js'><\/script>", "ui:no-dynamic": true })) }, { "ui:group": "meta" })), noNavbar: Type.Optional(a$1("Hide navbar", false, { "ui:group": "layout" })), noFooter: Type.Optional(a$1("Hide footer", false, { "ui:group": "layout" })), lastUpdated: Type.Optional(a("Last updated", { "ui:hidden": true, "ai:hidden": true })) }, { "ui:groups": { meta: "SEO & Meta tags", layout: "Layout" } });
var f = Type.Object({ language: i(["ar", "zh", "cs", "nl", "en", "fr", "de", "he", "hi", "it", "ja", "ko", "fa", "pl", "pt", "ru", "es", "tr", "vi"], { title: "Site language", default: "en", enumNames: ["Arabic", "Chinese", "Czech", "Dutch", "English", "French", "German", "Hebrew", "Hindi", "Italian", "Japanese", "Korean", "Persian", "Polish", "Portuguese", "Russian", "Spanish", "Turkish", "Vietnamese"], "ai:instructions": "Choose a value based on the site description. If the site is in multiple languages, use 'en'." }), backgroundImage: Type.Optional(c()), colorPreset: Type.Optional(y({ examples: [{ color: "base-100" }, { color: "primary-500" }, { color: "secondary-400" }, { color: "neutral-400" }, { color: "accent-200-gradient", gradientDirection: "bg-gradient-to-r" }, { color: "neutral-800-gradient", gradientDirection: "bg-gradient-to-t" }] })), queries: Type.Optional(Type.Array(Se, { title: "Site Queries", "ui:field": "site-queries", description: "List of all queries available in this site. These can be used in any page.", "ai:instructions": "This is where queries are first defined. They are then referenced in pages attributes (in the 'queries' field) to use them." })), navbar: Type.Optional(Type.Composite([b$1.props], { title: "Navbar", "ui:group": "navbar" })), footer: Type.Optional(Type.Composite([d.props], { title: "Footer", "ui:group": "footer" })), ogImage: Type.Optional(b({ title: "Social share image", description: "Image shown when this site is shared on social media", "ai:hidden": true, "ui:group": "meta", "ui:no-object-options": true, "ui:no-alt-text": true, "ui:show-img-search": false, "ui:no-dynamic": true })), robotsIndexing: Type.Optional(a$1("Allow search engines to index this site", true, { description: "Disabling this will prevent search engines from indexing this site entirely", "ai:hidden": true, "ui:group": "meta" })), headTags: Type.Optional(Type.String({ title: "Head script tags", description: "Add custom tags to the <head> of your site. Useful for analytics tags, custom scripts, etc.", "ai:hidden": true, "ui:multiline": true, "ui:textarea-class": "h-40 !font-mono", "ui:placeholder": "<script src='https://example.com/script.js'><\/script>", "ui:premium": true, "ui:textarea-font-size": "1", "ui:group": "external", "ui:no-dynamic": true })), bodyTags: Type.Optional(Type.String({ title: "Body script tags", description: "Add custom tags to the <body> of your site. Useful for analytics tags, custom scripts, etc.", "ai:hidden": true, "ui:multiline": true, "ui:premium": true, "ui:textarea-class": "h-40 !font-mono", "ui:textarea-font-size": "1", "ui:placeholder": "<script src='https://example.com/script.js'><\/script>", "ui:group": "external", "ui:no-dynamic": true })) }, { "ui:groups": { meta: "SEO & Meta tags", layout: "Layout", navbar: "Navbar", footer: "Footer", external: "External scripts" } });
export {
  h as a,
  f as c
};
//# sourceMappingURL=chunk-AI4GHU7R.js.map
