import { a as s } from "./chunk-OIOYMECS.js";
import { a as t, c as d } from "./chunk-VPFCY4DH.js";
import { a as r } from "./chunk-TWBY2GOR.js";
import { a as o } from "./chunk-CT3EI7YN.js";
import { a as m } from "./chunk-6WCGUAQN.js";
import { a as i, c } from "./chunk-T4LMBG2G.js";
import { a as n, e as l } from "./chunk-C3VGP4CA.js";
import { c as f, a as p } from "./chunk-ACVLF55Q.js";
import { a as h, c as y } from "./chunk-6FITVVZX.js";
import { e as S, c as u } from "./chunk-T3LIA4YB.js";
import { a as g } from "./chunk-RGLVKILY.js";
import { d as $, a as v } from "./chunk-YBGPPF7T.js";
import { a as b, d as F } from "./chunk-VZPXXFVX.js";
import { a as w } from "./chunk-UMHXXXVP.js";
import { b as x } from "./chunk-2IYSJYNE.js";
import { a as j, c as C, e as k } from "./chunk-E22E4XWE.js";
import D from "../../../../_virtual/ajv.js";
import N from "../../../../_virtual/index5.js";
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
var a = new D({ useDefaults: !0, strictSchema: !1, validateSchema: !1, coerceTypes: !0, allErrors: !0, inlineRefs: !1 });
a.addSchema(t(), "styles:background");
a.addSchema(d(), "styles:backgroundColor");
a.addSchema(j(), "styles:justifyContent");
a.addSchema(C(), "styles:alignItems");
a.addSchema(k(), "styles:alignSelf");
a.addSchema(r(), "styles:basicGap");
a.addSchema(f(), "styles:rounding");
a.addSchema(n(), "styles:fontSize");
a.addSchema(w(), "styles:hidden");
a.addSchema(o(), "styles:direction");
a.addSchema(b(), "styles:gradientDirection");
a.addSchema(p(), "styles:border");
a.addSchema(m(), "styles:padding");
a.addSchema(h(), "styles:color");
a.addSchema(y(), "styles:borderColor");
a.addSchema(i(), "styles:shadow");
a.addSchema(c(), "styles:textShadow");
a.addSchema(x(), "styles:cssLength");
a.addSchema(g(), "assets:image");
a.addSchema(S(), "assets:icon");
a.addSchema(l(), "content:textContent");
a.addSchema(u(), "content:urlOrPageId");
a.addSchema($(), "content:loop");
a.addSchema(v(), "content:queryUse");
a.addSchema(F(), "presets:color");
a.addSchema(s(), "content:tags");
var q = ["date-time", "time", "date", "email", "hostname", "ipv4", "ipv6", "uri", "uri-reference", "uuid", "uri-template", "json-pointer", "relative-json-pointer", "regex"];
N(a, [...q]);
a.addFormat("date-object", { validate: (e) => e instanceof Date && !Number.isNaN(e.getTime()), async: !1 });
a.addFormat("nanoid", { validate: (e) => typeof e == "string", async: !1 });
a.addFormat("richtext", { validate: (e) => typeof e == "string", async: !1 });
a.addFormat("markdown", { validate: (e) => typeof e == "string", async: !1 });
a.addFormat("multiline", { validate: (e) => typeof e == "string", async: !1 });
a.addFormat("password", { validate: (e) => typeof e == "string", async: !1 });
export {
  a,
  q as b
};
//# sourceMappingURL=chunk-ZTDUXSWH.js.map
