@seip/blue-bird 0.7.6 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/.env_example +34 -34
  2. package/AGENTS.md +174 -249
  3. package/LICENSE +21 -21
  4. package/README.md +331 -367
  5. package/{index.js → backend/index.js} +22 -30
  6. package/backend/routes/api.js +57 -57
  7. package/core/app.js +338 -402
  8. package/core/auth.js +262 -256
  9. package/core/cache.js +174 -174
  10. package/core/cli/docker.js +488 -457
  11. package/core/cli/init.js +333 -337
  12. package/core/cli/route.js +42 -42
  13. package/core/config.js +52 -52
  14. package/core/database.js +263 -263
  15. package/core/debug.js +248 -248
  16. package/core/logger.js +115 -115
  17. package/core/middleware.js +27 -27
  18. package/core/router.js +144 -144
  19. package/core/swagger.js +40 -40
  20. package/core/upload.js +77 -77
  21. package/core/validate.js +380 -380
  22. package/docker/Dockerfile +16 -16
  23. package/docker/docker-compose.dev.yml +6 -0
  24. package/docker/docker-compose.mysql.yml +92 -92
  25. package/docker/docker-compose.none.yml +68 -68
  26. package/docker/docker-compose.postgres.yml +93 -93
  27. package/docker/nginx.conf +98 -106
  28. package/docker-compose.yml +92 -92
  29. package/frontend/about.html +103 -0
  30. package/frontend/images/favicon.ico +0 -0
  31. package/frontend/index.html +141 -0
  32. package/frontend/js/tailwind.js +8 -0
  33. package/package.json +64 -71
  34. package/frontend/astro.config.mjs +0 -35
  35. package/frontend/public/css/app.css +0 -319
  36. package/frontend/public/favicon.ico +0 -0
  37. package/frontend/src/http/api.js +0 -29
  38. package/frontend/src/layouts/Layout.astro +0 -20
  39. package/frontend/src/pages/about.astro +0 -54
  40. package/frontend/src/pages/index.astro +0 -110
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Minified by jsDelivr using Terser v5.48.0.
3
+ * Original file: /npm/@tailwindcss/browser@4.3.2/dist/index.global.js
4
+ *
5
+ * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
6
+ */
7
+ "use strict"; (() => { function e(e) { let t = [0]; for (let r = 0; r < e.length; r++)10 === e.charCodeAt(r) && t.push(r + 1); return { find: function (e) { let r = 0, n = t.length; for (; n > 0;) { let o = n >> 1, i = r + o; t[i] <= e ? (r = i + 1, n = n - o - 1) : n = o } return r -= 1, { line: r + 1, column: e - t[r] } }, findOffset: function ({ line: e, column: r }) { e -= 1, e = Math.min(Math.max(e, 0), t.length - 1); let n = t[e], o = t[e + 1] ?? n; return Math.min(Math.max(n + r, 0), o) } } } var t = 10, r = class t extends Error { loc; constructor(r, n) { if (n) { let t = n[0], o = e(t.code).find(n[1]); r = `${t.file}:${o.line}:${o.column + 1}: ${r}` } super(r), this.name = "CssSyntaxError", this.loc = n, Error.captureStackTrace && Error.captureStackTrace(this, t) } }; function n(e, n) { let l = n?.from ? { file: n.from, code: e } : null; "\ufeff" === e[0] && (e = " " + e.slice(1)); let s, c = [], u = [], d = [], f = null, p = null, h = "", m = "", g = 0; for (let n = 0; n < e.length; n++) { let v = e.charCodeAt(n); if (13 !== v || (s = e.charCodeAt(n + 1), s !== t)) if (92 === v) "" === h && (g = n), h += e.slice(n, n + 2), n += 1; else if (47 === v && 42 === e.charCodeAt(n + 1)) { let t = n; for (let t = n + 2; t < e.length; t++)if (s = e.charCodeAt(t), 92 === s) t += 1; else if (42 === s && 47 === e.charCodeAt(t + 1)) { n = t + 1; break } let r = e.slice(t, n + 1); if (33 === r.charCodeAt(2)) { let e = j(r.slice(2, -2)); u.push(e), l && (e.src = [l, t, n + 1], e.dst = [l, t, n + 1]) } } else if (39 === v || 34 === v) { let t = a(e, n, v, l); h += e.slice(n, t + 1), n = t } else { if ((32 === v || v === t || 9 === v) && (s = e.charCodeAt(n + 1)) && (32 === s || s === t || 9 === s || 13 === s && (s = e.charCodeAt(n + 2)) && s == t)) continue; if (v === t) { if (0 === h.length) continue; s = h.charCodeAt(h.length - 1), 32 !== s && s !== t && 9 !== s && (h += " ") } else if (45 === v && 45 === e.charCodeAt(n + 1) && 0 === h.length) { let t = "", o = n, u = -1; for (let r = n + 2; r < e.length; r++)if (s = e.charCodeAt(r), 92 === s) r += 1; else if (39 === s || 34 === s) r = a(e, r, s, l); else if (47 === s && 42 === e.charCodeAt(r + 1)) { for (let t = r + 2; t < e.length; t++)if (s = e.charCodeAt(t), 92 === s) t += 1; else if (42 === s && 47 === e.charCodeAt(t + 1)) { r = t + 1; break } } else if (-1 === u && 58 === s) u = h.length + r - o; else { if (59 === s && 0 === t.length) { h += e.slice(o, r), n = r; break } if (40 === s) t += ")"; else if (91 === s) t += "]"; else if (123 === s) t += "}"; else { if ((125 === s || e.length - 1 === r) && 0 === t.length) { n = r - 1, h += e.slice(o, r); break } (41 === s || 93 === s || 125 === s) && t.length > 0 && e[r] === t[t.length - 1] && (t = t.slice(0, -1)) } } let d = i(h, u); if (!d) throw new r("Invalid custom property, expected a value", l ? [l, o, n] : null); l && (d.src = [l, o, n], d.dst = [l, o, n]), f ? f.nodes.push(d) : c.push(d), h = "" } else if (59 === v && 64 === h.charCodeAt(0)) p = o(h), l && (p.src = [l, g, n], p.dst = [l, g, n]), f ? f.nodes.push(p) : c.push(p), h = "", p = null; else if (59 === v && ")" !== m[m.length - 1]) { let e = i(h); if (!e) { if (0 === h.length) continue; throw new r(`Invalid declaration: \`${h.trim()}\``, l ? [l, g, n] : null) } l && (e.src = [l, g, n], e.dst = [l, g, n]), f ? f.nodes.push(e) : c.push(e), h = "" } else if (123 === v && ")" !== m[m.length - 1]) m += "}", p = C(h.trim()), l && (p.src = [l, g, n], p.dst = [l, g, n]), f && f.nodes.push(p), d.push(f), f = p, h = "", p = null; else if (125 === v && ")" !== m[m.length - 1]) { if ("" === m) throw new r("Missing opening {", l ? [l, n, n] : null); if (m = m.slice(0, -1), h.length > 0) if (64 === h.charCodeAt(0)) p = o(h), l && (p.src = [l, g, n], p.dst = [l, g, n]), f ? f.nodes.push(p) : c.push(p), h = "", p = null; else { let e = h.indexOf(":"); if (f) { let t = i(h, e); if (!t) throw new r(`Invalid declaration: \`${h.trim()}\``, l ? [l, g, n] : null); l && (t.src = [l, g, n], t.dst = [l, g, n]), f.nodes.push(t) } } let e = d.pop() ?? null; null === e && f && c.push(f), f = e, h = "", p = null } else if (40 === v) m += ")", h += "("; else if (41 === v) { if (")" !== m[m.length - 1]) throw new r("Missing opening (", l ? [l, n, n] : null); m = m.slice(0, -1), h += ")" } else { if (0 === h.length && (32 === v || v === t || 9 === v)) continue; "" === h && (g = n), h += String.fromCharCode(v) } } } if (64 === h.charCodeAt(0)) { let t = o(h); l && (t.src = [l, g, e.length], t.dst = [l, g, e.length]), c.push(t) } if (m.length > 0 && f) { if ("rule" === f.kind) throw new r(`Missing closing } at ${f.selector}`, f.src ? [f.src[0], f.src[1], f.src[1]] : null); if ("at-rule" === f.kind) throw new r(`Missing closing } at ${f.name} ${f.params}`, f.src ? [f.src[0], f.src[1], f.src[1]] : null) } return u.length > 0 ? u.concat(c) : c } function o(e, t = []) { let r = e, n = ""; for (let t = 5; t < e.length; t++) { let o = e.charCodeAt(t); if (32 === o || 9 === o || 40 === o) { r = e.slice(0, t), n = e.slice(t); break } } return S(r.trim(), n.trim(), t) } function i(e, t = e.indexOf(":")) { if (-1 === t) return null; let r = e.indexOf("!important", t + 1); return T(e.slice(0, t).trim(), e.slice(t + 1, -1 === r ? e.length : r).trim(), -1 !== r) } function a(e, n, o, i = null) { let a; for (let l = n + 1; l < e.length; l++)if (a = e.charCodeAt(l), 92 === a) l += 1; else { if (a === o) return l; if (59 === a && (e.charCodeAt(l + 1) === t || 13 === e.charCodeAt(l + 1) && e.charCodeAt(l + 2) === t)) throw new r(`Unterminated string: ${e.slice(n, l + 1) + String.fromCharCode(o)}`, i ? [i, n, l + 1] : null); if (a === t || 13 === a && e.charCodeAt(l + 1) === t) throw new r(`Unterminated string: ${e.slice(n, l) + String.fromCharCode(o)}`, i ? [i, n, l + 1] : null) } return n } function l(e) { if (0 === arguments.length) throw new TypeError("`CSS.escape` requires an argument."); let t, r = String(e), n = r.length, o = -1, i = "", a = r.charCodeAt(0); if (1 === n && 45 === a) return "\\" + r; for (; ++o < n;)t = r.charCodeAt(o), i += 0 !== t ? t >= 1 && t <= 31 || 127 === t || 0 === o && t >= 48 && t <= 57 || 1 === o && t >= 48 && t <= 57 && 45 === a ? "\\" + t.toString(16) + " " : t >= 128 || 45 === t || 95 === t || t >= 48 && t <= 57 || t >= 65 && t <= 90 || t >= 97 && t <= 122 ? r.charAt(o) : "\\" + r.charAt(o) : "�"; return i } function s(e) { return e.replace(/\\([\dA-Fa-f]{1,6}[\t\n\f\r ]?|[\S\s])/g, e => { if (e.length <= 2) return e[1]; let t = Number.parseInt(e.slice(1).trim(), 16); return 0 === t || t > 1114111 || t >= 55296 && t <= 57343 ? "�" : String.fromCodePoint(t) }) } var c = new Map([["--font", ["--font-weight", "--font-size"]], ["--inset", ["--inset-shadow", "--inset-ring"]], ["--text", ["--text-color", "--text-decoration-color", "--text-decoration-thickness", "--text-indent", "--text-shadow", "--text-underline-offset"]], ["--grid-column", ["--grid-column-start", "--grid-column-end"]], ["--grid-row", ["--grid-row-start", "--grid-row-end"]]]); function u(e, t) { return (c.get(t) ?? []).some(t => e === t || e.startsWith(`${t}-`)) } var d = class { constructor(e = new Map, t = new Set([])) { this.values = e, this.keyframes = t } values; keyframes; prefix = null; get size() { return this.values.size } add(e, t, r = 0, n) { if (e.endsWith("-*")) { if ("initial" !== t) throw new Error(`Invalid theme value \`${t}\` for namespace \`${e}\``); "--*" === e ? this.values.clear() : this.clearNamespace(e.slice(0, -2), 0) } if (4 & r) { let t = this.values.get(e); if (t && !(4 & t.options)) return } "initial" === t ? this.values.delete(e) : this.values.set(e, { value: t, options: r, src: n }) } keysInNamespaces(e) { let t = []; for (let r of e) { let e = `${r}-`; for (let n of this.values.keys()) n.startsWith(e) && -1 === n.indexOf("--", 2) && (u(n, r) || t.push(n.slice(e.length))) } return t } get(e) { for (let t of e) { let e = this.values.get(t); if (e) return e.value } return null } hasDefault(e) { return !(4 & ~this.getOptions(e)) } getOptions(e) { return e = s(this.#e(e)), this.values.get(e)?.options ?? 0 } entries() { return this.prefix ? Array.from(this.values, e => (e[0] = this.prefixKey(e[0]), e)) : this.values.entries() } prefixKey(e) { return this.prefix ? `--${this.prefix}-${e.slice(2)}` : e } #e(e) { return this.prefix ? `--${e.slice(3 + this.prefix.length)}` : e } clearNamespace(e, t) { let r = c.get(e) ?? []; e: for (let n of this.values.keys()) if (n.startsWith(e)) { if (0 !== t && (this.getOptions(n) & t) !== t) continue; for (let e of r) if (n.startsWith(e)) continue e; this.values.delete(n) } } #t(e, t) { for (let r of t) { let t = null !== e ? `${r}-${e}` : r; if (!this.values.has(t)) { if (null === e || !e.includes(".")) continue; if (t = `${r}-${e.replaceAll(".", "_")}`, !this.values.has(t)) continue } if (!u(t, r)) return t } return null } #r(e) { let t = this.values.get(e); if (!t) return null; let r = null; return 2 & t.options && (r = t.value), `var(${l(this.prefixKey(e))}${r ? `, ${r}` : ""})` } markUsedVariable(e) { let t = s(this.#e(e)), r = this.values.get(t); if (!r) return !1; let n = 16 & r.options; return r.options |= 16, !n } resolve(e, t, r = 0) { let n = this.#t(e, t); if (!n) return null; let o = this.values.get(n); return 1 & (r | o.options) ? o.value : this.#r(n) } resolveValue(e, t) { let r = this.#t(e, t); return r ? this.values.get(r).value : null } resolveWith(e, t, r = []) { let n = this.#t(e, t); if (!n) return null; let o = {}; for (let e of r) { let t = `${n}${e}`, r = this.values.get(t); r && (1 & r.options ? o[e] = r.value : o[e] = this.#r(t)) } let i = this.values.get(n); return 1 & i.options ? [i.value, o] : [this.#r(n), o] } namespace(e) { let t = new Map, r = `${e}-`; for (let [n, o] of this.values) n === e ? t.set(null, o.value) : n.startsWith(`${r}-`) ? t.set(n.slice(e.length), o.value) : n.startsWith(r) && t.set(n.slice(r.length), o.value); return t } addKeyframes(e) { this.keyframes.add(e) } getKeyframes() { return Array.from(this.keyframes) } }, f = class extends Map { constructor(e) { super(), this.factory = e } factory; get(e) { let t = super.get(e); return void 0 === t && (t = this.factory(e, this), this.set(e, t)), t } }; function p(e) { return { kind: "word", value: e } } function h(e, t) { return { kind: "function", value: e, nodes: t } } function m(e) { return { kind: "separator", value: e } } function g(e) { let t = ""; for (let r of e) switch (r.kind) { case "word": case "separator": t += r.value; break; case "function": t += r.value + "(" + g(r.nodes) + ")" }return t } function v(e) { e = e.replaceAll("\r\n", "\n"); let t, r = [], n = [], o = null, i = ""; for (let a = 0; a < e.length; a++) { let l = e.charCodeAt(a); switch (l) { case 92: i += e[a] + e[a + 1], a++; break; case 47: { if (i.length > 0) { let e = p(i); o ? o.nodes.push(e) : r.push(e), i = "" } let t = p(e[a]); o ? o.nodes.push(t) : r.push(t); break } case 58: case 44: case 61: case 62: case 60: case 10: case 32: case 9: { if (i.length > 0) { let e = p(i); o ? o.nodes.push(e) : r.push(e), i = "" } let n = a, l = a + 1; for (; l < e.length && (t = e.charCodeAt(l), 58 === t || 44 === t || 61 === t || 62 === t || 60 === t || 10 === t || 32 === t || 9 === t); l++); a = l - 1; let s = m(e.slice(n, l)); o ? o.nodes.push(s) : r.push(s); break } case 39: case 34: { let r = a; for (let r = a + 1; r < e.length; r++)if (t = e.charCodeAt(r), 92 === t) r += 1; else if (t === l) { a = r; break } i += e.slice(r, a + 1); break } case 40: { let e = h(i, []); i = "", o ? o.nodes.push(e) : r.push(e), n.push(e), o = e; break } case 41: { let e = n.pop(); if (i.length > 0) { let t = p(i); e?.nodes.push(t), i = "" } o = n.length > 0 ? n[n.length - 1] : null; break } default: i += String.fromCharCode(l) } } return i.length > 0 && r.push(p(i)), r } var k, w = ((k = w || {})[k.Continue = 0] = "Continue", k[k.Skip = 1] = "Skip", k[k.Stop = 2] = "Stop", k[k.Replace = 3] = "Replace", k[k.ReplaceSkip = 4] = "ReplaceSkip", k[k.ReplaceStop = 5] = "ReplaceStop", k), b = { Continue: { kind: 0 }, Skip: { kind: 1 }, Stop: { kind: 2 }, Replace: e => ({ kind: 3, nodes: Array.isArray(e) ? e : [e] }), ReplaceSkip: e => ({ kind: 4, nodes: Array.isArray(e) ? e : [e] }), ReplaceStop: e => ({ kind: 5, nodes: Array.isArray(e) ? e : [e] }) }; function y(e, t) { "function" == typeof t ? x(e, t) : x(e, t.enter, t.exit) } function x(e, t = () => b.Continue, r = () => b.Continue) { let n = { value: [e, 0, null], prev: null }, o = { parent: null, depth: 0, index: 0, siblings: e, path() { let e = [], t = n; for (; t;) { let r = t.value[2]; r && e.push(r), t = t.prev } return e.reverse(), e } }; for (; null !== n;) { let e = n.value, i = e[0], a = e[1], l = e[2]; if (a >= i.length) { n = n.prev, o.depth -= 1; continue } if (o.parent = l, o.siblings = i, a >= 0) { o.index = a; let r = i[a], l = t(r, o) ?? b.Continue; switch (l.kind) { case 0: r.nodes && r.nodes.length > 0 && (o.depth += 1, n = { value: [r.nodes, 0, r], prev: n }), e[1] = ~a; continue; case 2: return; case 1: e[1] = ~a; continue; case 3: i.splice(a, 1, ...l.nodes); continue; case 5: return void i.splice(a, 1, ...l.nodes); case 4: i.splice(a, 1, ...l.nodes), e[1] += l.nodes.length; continue; default: throw new Error(`Invalid \`WalkAction.${w[l.kind] ?? `Unknown(${l.kind})`}\` in enter.`) } } let s = ~a; o.index = s; let c = r(i[s], o) ?? b.Continue; switch (c.kind) { case 0: e[1] = s + 1; continue; case 2: return; case 3: case 4: i.splice(s, 1, ...c.nodes), e[1] = s + c.nodes.length; continue; case 5: return void i.splice(s, 1, ...c.nodes); default: throw new Error(`Invalid \`WalkAction.${w[c.kind] ?? `Unknown(${c.kind})`}\` in exit.`) } } } function $(e) { let t = []; return y(v(e), e => { if ("function" === e.kind && "var" === e.value) return y(e.nodes, e => { "word" !== e.kind || "-" !== e.value[0] || "-" !== e.value[1] || t.push(e.value) }), b.Skip }), t } var z = 64; function A(e, t = []) { return { kind: "rule", selector: e, nodes: t } } function S(e, t = "", r = []) { return { kind: "at-rule", name: e, params: t, nodes: r } } function C(e, t = []) { return e.charCodeAt(0) === z ? o(e, t) : A(e, t) } function T(e, t, r = !1) { return { kind: "declaration", property: e, value: t, important: r } } function j(e) { return { kind: "comment", value: e } } function K(e, t) { return { kind: "context", context: e, nodes: t } } function V(e) { return { kind: "at-root", nodes: e } } function E(e) { switch (e.kind) { case "rule": return { kind: e.kind, selector: e.selector, nodes: e.nodes.map(E), src: e.src, dst: e.dst }; case "at-rule": return { kind: e.kind, name: e.name, params: e.params, nodes: e.nodes.map(E), src: e.src, dst: e.dst }; case "at-root": return { kind: e.kind, nodes: e.nodes.map(E), src: e.src, dst: e.dst }; case "context": return { kind: e.kind, context: { ...e.context }, nodes: e.nodes.map(E), src: e.src, dst: e.dst }; case "declaration": return { kind: e.kind, property: e.property, value: e.value, important: e.important, src: e.src, dst: e.dst }; case "comment": return { kind: e.kind, value: e.value, src: e.src, dst: e.dst }; default: throw new Error(`Unknown node kind: ${e.kind}`) } } function N(e) { return { depth: e.depth, index: e.index, siblings: e.siblings, get context() { let t = {}; for (let r of e.path()) "context" === r.kind && Object.assign(t, r.context); return Object.defineProperty(this, "context", { value: t }), t }, get parent() { let e = this.path().pop() ?? null; return Object.defineProperty(this, "parent", { value: e }), e }, path: () => e.path().filter(e => "context" !== e.kind) } } function O(e, t, r = 3) { let n = [], o = new Set, i = new f(() => new Set), a = new f(() => new Set), l = new Set, s = new Set, c = [], u = [], d = new f(() => new Set); function p(e, f, h = {}, m = 0) { if ("declaration" === e.kind) { if ("--tw-sort" === e.property || void 0 === e.value || null === e.value) return; if (h.theme && "-" === e.property[0] && "-" === e.property[1]) { if ("initial" === e.value) return void (e.value = void 0); h.keyframes || i.get(f).add(e) } if (e.value.includes("var(")) if (h.theme && "-" === e.property[0] && "-" === e.property[1]) for (let t of $(e.value)) d.get(t).add(e.property); else t.trackUsedVariables(e.value); if ("animation" === e.property) for (let t of R(e.value)) s.add(t); 2 & r && e.value.includes("color-mix(") && !h.supportsColorMix && !h.keyframes && a.get(f).add(e), f.push(e) } else if ("rule" === e.kind) { let t = []; for (let r of e.nodes) p(r, t, h, m + 1); let r = {}, n = new Set; for (let e of t) { if ("declaration" !== e.kind) continue; let t = `${e.property}:${e.value}:${e.important}`; r[t] ??= [], r[t].push(e) } for (let e in r) for (let t = 0; t < r[e].length - 1; ++t)n.add(r[e][t]); if (n.size > 0 && (t = t.filter(e => !n.has(e))), 0 === t.length) return; "&" === e.selector ? f.push(...t) : f.push({ ...e, nodes: t }) } else if ("at-rule" === e.kind && "@property" === e.name && 0 === m) { if (o.has(e.params)) return; if (1 & r) { let t = e.params, r = null, n = !1; for (let t of e.nodes) "declaration" === t.kind && ("initial-value" === t.property ? r = t.value : "inherits" === t.property && (n = "true" === t.value)); let o = T(t, r ?? "initial"); o.src = e.src, n ? c.push(o) : u.push(o) } o.add(e.params); let t = { ...e, nodes: [] }; for (let r of e.nodes) p(r, t.nodes, h, m + 1); f.push(t) } else if ("at-rule" === e.kind) { "@keyframes" === e.name ? h = { ...h, keyframes: !0 } : "@supports" === e.name && e.params.includes("color-mix(") && (h = { ...h, supportsColorMix: !0 }); let t = { ...e, nodes: [] }; for (let r of e.nodes) p(r, t.nodes, h, m + 1); "@keyframes" === e.name && h.theme && l.add(t), (t.nodes.length > 0 || "@layer" === t.name || "@charset" === t.name || "@custom-media" === t.name || "@namespace" === t.name || "@import" === t.name || "@apply" === t.name) && f.push(t) } else if ("at-root" === e.kind) for (let t of e.nodes) { let e = []; p(t, e, h, 0); for (let t of e) n.push(t) } else if ("context" === e.kind) { if (e.context.reference) return; for (let t of e.nodes) p(t, f, { ...h, ...e.context }, m) } else "comment" === e.kind && f.push(e) } let h = []; for (let t of e) p(t, h, {}, 0); e: for (let [e, r] of i) for (let n of r) { if (W(n.property, t.theme, d)) { if (n.property.startsWith(t.theme.prefixKey("--animate-"))) for (let e of R(n.value)) s.add(e); continue } let r = e.indexOf(n); if (e.splice(r, 1), 0 === e.length) { let t = U(h, t => "rule" === t.kind && t.nodes === e); if (!t || 0 === t.length) continue e; for (t.unshift({ kind: "at-root", nodes: h }); ;) { let e = t.pop(); if (!e) break; let r = t[t.length - 1]; if (!r || "at-root" !== r.kind && "at-rule" !== r.kind) break; let n = r.nodes.indexOf(e); if (-1 === n) break; r.nodes.splice(n, 1) } continue e } } for (let e of l) if (!s.has(e.params)) { let t = n.indexOf(e); n.splice(t, 1) } if (h = h.concat(n), 2 & r) for (let [e, r] of a) for (let n of r) { let r = e.indexOf(n); if (-1 === r || null == n.value) continue; let o = v(n.value), i = !1; if (y(o, e => { if ("function" !== e.kind || "color-mix" !== e.value) return; let r = !1, n = !1; if (y(e.nodes, e => { if ("word" == e.kind && "currentcolor" === e.value.toLowerCase()) return n = !0, void (i = !0); let o = e, a = null, l = new Set; do { if ("function" !== o.kind || "var" !== o.value) return; let e = o.nodes[0]; if (!e || "word" !== e.kind) return; let s = e.value; if (l.has(s)) return void (r = !0); if (l.add(s), i = !0, a = t.theme.resolveValue(null, [e.value]), !a) return void (r = !0); if ("currentcolor" === a.toLowerCase()) return void (n = !0); o = a.startsWith("var(") ? v(a)[0] : null } while (o); return b.Replace({ kind: "word", value: a }) }), r || n) { let t = e.nodes.findIndex(e => "separator" === e.kind && e.value.trim().includes(",")); if (-1 === t) return; let r = e.nodes.length > t ? e.nodes[t + 1] : null; return r ? b.Replace(r) : void 0 } if (i) { let t = e.nodes[2]; "word" === t.kind && ("oklab" === t.value || "oklch" === t.value || "lab" === t.value || "lch" === t.value) && (t.value = "srgb") } }), !i) continue; let a = { ...n, value: g(o) }, l = C("@supports (color: color-mix(in lab, red, red))", [n]); l.src = n.src, e.splice(r, 1, a, l) } if (1 & r) { let e = []; if (c.length > 0) { let t = C(":root, :host", c); t.src = c[0].src, e.push(t) } if (u.length > 0) { let t = C("*, ::before, ::after, ::backdrop", u); t.src = u[0].src, e.push(t) } if (e.length > 0) { let t = h.findIndex(e => !("comment" === e.kind || "at-rule" === e.kind && ("@charset" === e.name || "@import" === e.name))), r = S("@layer", "properties", []); r.src = e[0].src, h.splice(t < 0 ? h.length : t, 0, r); let n = C("@layer properties", [S("@supports", "((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))", e)]); n.src = e[0].src, n.nodes[0].src = e[0].src, h.push(n) } } return h } function F(e, t) { let r = 0, n = { file: null, code: "" }; function o(e, i = 0) { let a = "", l = " ".repeat(i); if ("declaration" === e.kind) { if (a += `${l}${e.property}: ${e.value}${e.important ? " !important" : ""};\n`, t) { r += l.length; let t = r; r += e.property.length, r += 2, r += e.value?.length ?? 0, e.important && (r += 11); let o = r; r += 2, e.dst = [n, t, o] } } else if ("rule" === e.kind) { if (a += `${l}${e.selector} {\n`, t) { r += l.length; let t = r; r += e.selector.length, r += 1; let o = r; e.dst = [n, t, o], r += 2 } for (let t of e.nodes) a += o(t, i + 1); a += `${l}}\n`, t && (r += l.length, r += 2) } else if ("at-rule" === e.kind) { if (0 === e.nodes.length) { let o = `${l}${e.name} ${e.params};\n`; if (t) { r += l.length; let t = r; r += e.name.length, r += 1, r += e.params.length; let o = r; r += 2, e.dst = [n, t, o] } return o } if (a += `${l}${e.name}${e.params ? ` ${e.params} ` : " "}{\n`, t) { r += l.length; let t = r; r += e.name.length, e.params && (r += 1, r += e.params.length), r += 1; let o = r; e.dst = [n, t, o], r += 2 } for (let t of e.nodes) a += o(t, i + 1); a += `${l}}\n`, t && (r += l.length, r += 2) } else if ("comment" === e.kind) { if (a += `${l}/*${e.value}*/\n`, t) { r += l.length; let t = r; r += 2 + e.value.length + 2; let o = r; e.dst = [n, t, o], r += 1 } } else if ("context" === e.kind || "at-root" === e.kind) return ""; return a } let i = ""; for (let t of e) i += o(t, 0); return n.code = i, i } function U(e, t) { let r = []; return y(e, (e, n) => { if (t(e)) return r = n.path(), r.push(e), b.Stop }), r } function W(e, t, r, n = new Set) { if (n.has(e) || (n.add(e), 24 & t.getOptions(e))) return !0; { let o = r.get(e) ?? []; for (let e of o) if (W(e, t, r, n)) return !0 } return !1 } function R(e) { return e.split(/[\s,]+/) } var D = ["calc", "min", "max", "clamp", "mod", "rem", "sin", "cos", "tan", "asin", "acos", "atan", "atan2", "pow", "sqrt", "hypot", "log", "exp", "round"]; function L(e) { return -1 !== e.indexOf("(") && D.some(t => e.includes(`${t}(`)) } function _(e) { if (!D.some(t => e.includes(t))) return e; let t = "", r = [], n = null, o = null; for (let i = 0; i < e.length; i++) { let a = e.charCodeAt(i); if (a >= 48 && a <= 57 || null !== n && (37 === a || a >= 97 && a <= 122 || a >= 65 && a <= 90) ? n = i : (o = n, n = null), 40 === a) { t += e[i]; let n = i; for (let t = i - 1; t >= 0; t--) { let r = e.charCodeAt(t); if (r >= 48 && r <= 57) n = t; else { if (!(r >= 97 && r <= 122)) break; n = t } } let o = e.slice(n, i); if (D.includes(o)) { r.unshift(!0); continue } if (r[0] && "" === o) { r.unshift(!0); continue } r.unshift(!1); continue } if (41 === a) t += e[i], r.shift(); else { if (44 === a && r[0]) { t += ", "; continue } if (32 === a && r[0] && 32 === t.charCodeAt(t.length - 1)) continue; if (43 !== a && 42 !== a && 47 !== a && 45 !== a || !r[0]) t += e[i]; else { let r = t.trimEnd(), n = r.charCodeAt(r.length - 1), a = r.charCodeAt(r.length - 2), l = e.charCodeAt(i + 1); if ((101 === n || 69 === n) && a >= 48 && a <= 57) { t += e[i]; continue } if (43 === n || 42 === n || 47 === n || 45 === n) { t += e[i]; continue } if (40 === n || 44 === n) { t += e[i]; continue } 32 === e.charCodeAt(i - 1) ? t += `${e[i]} ` : t += n >= 48 && n <= 57 || l >= 48 && l <= 57 || 41 === n || 40 === l || 43 === l || 42 === l || 47 === l || 45 === l || null !== o && o === i - 1 ? ` ${e[i]} ` : e[i] } } } return t } function B(e) { if (-1 === e.indexOf("(")) return M(e); let t = v(e); return I(t), e = _(e = g(t)) } function M(e, t = !1) { let r = ""; for (let n = 0; n < e.length; n++) { let o = e[n]; "\\" === o && "_" === e[n + 1] ? (r += "_", n += 1) : r += "_" !== o || t ? o : " " } return r } function I(e) { for (let t of e) switch (t.kind) { case "function": if ("url" === t.value || t.value.endsWith("_url")) { t.value = M(t.value); break } if ("var" === t.value || t.value.endsWith("_var") || "theme" === t.value || t.value.endsWith("_theme")) { t.value = M(t.value); for (let e = 0; e < t.nodes.length; e++)0 != e || "word" !== t.nodes[e].kind ? I([t.nodes[e]]) : t.nodes[e].value = M(t.nodes[e].value, !0); break } t.value = M(t.value), I(t.nodes); break; case "separator": case "word": t.value = M(t.value); break; default: P(t) } } function P(e) { throw new Error(`Unexpected value: ${e}`) } var q = new Uint8Array(256); function H(e) { let t = 0, r = e.length; for (let n = 0; n < r; n++) { let o = e.charCodeAt(n); switch (o) { case 92: n += 1; break; case 39: case 34: for (; ++n < r;) { let t = e.charCodeAt(n); if (92 !== t) { if (t === o) break } else n += 1 } break; case 40: q[t] = 41, t++; break; case 91: q[t] = 93, t++; break; case 123: break; case 93: case 125: case 41: if (0 === t) return !1; t > 0 && o === q[t - 1] && t--; break; case 59: if (0 === t) return !1 } } return !0 } var Y = new Uint8Array(256); function Z(e, t) { let r = 0, n = [], o = 0, i = e.length, a = t.charCodeAt(0); for (let t = 0; t < i; t++) { let l = e.charCodeAt(t); if (0 !== r || l !== a) switch (l) { case 92: t += 1; break; case 39: case 34: for (; ++t < i;) { let r = e.charCodeAt(t); if (92 !== r) { if (r === l) break } else t += 1 } break; case 40: Y[r] = 41, r++; break; case 91: Y[r] = 93, r++; break; case 123: Y[r] = 125, r++; break; case 93: case 125: case 41: r > 0 && l === Y[r - 1] && r-- } else n.push(e.slice(o, t)), o = t + 1 } return n.push(e.slice(o)), n } var G = /^[a-zA-Z0-9_.%-]+$/; function J(e) { if ("[" === e[0] && "]" === e[e.length - 1]) { let t = B(e.slice(1, -1)); return H(t) && 0 !== t.length && 0 !== t.trim().length ? { kind: "arbitrary", value: t } : null } return "(" === e[0] && ")" === e[e.length - 1] ? "-" === (e = e.slice(1, -1))[0] && "-" === e[1] && H(e) ? { kind: "arbitrary", value: B(e = `var(${e})`) } : null : G.test(e) ? { kind: "named", value: e } : null } function* X(e, t) { t(e) && (yield [e, null]); let r = e.lastIndexOf("-"); for (; r > 0;) { let n = e.slice(0, r); if (t(n)) { let o = [n, e.slice(r + 1)]; if ("" === o[1] || "@" === o[0] && t("@") && "-" === e[r]) break; yield o } r = e.lastIndexOf("-", r - 1) } "@" === e[0] && t("@") && (yield ["@", e.slice(1)]) } function Q(e) { if (null === e) return ""; let t = ae(e.value), r = t ? e.value.slice(4, -1) : e.value, [n, o] = t ? ["(", ")"] : ["[", "]"]; return "arbitrary" === e.kind ? `/${n}${re(r)}${o}` : "named" === e.kind ? `/${e.value}` : "" } function ee(e) { if ("static" === e.kind) return e.root; if ("arbitrary" === e.kind) return `[${re(function (e) { return ne.get(e) }(e.selector))}]`; let t = ""; if ("functional" === e.kind) { t += e.root; let r = "@" !== e.root; if (e.value) if ("arbitrary" === e.value.kind) { let n = ae(e.value.value), o = n ? e.value.value.slice(4, -1) : e.value.value, [i, a] = n ? ["(", ")"] : ["[", "]"]; t += `${r ? "-" : ""}${i}${re(o)}${a}` } else "named" === e.value.kind && (t += `${r ? "-" : ""}${e.value.value}`) } return "compound" === e.kind && (t += e.root, t += "-", t += ee(e.variant)), ("functional" === e.kind || "compound" === e.kind) && (t += Q(e.modifier)), t } var te = new f(e => { let t = v(e), r = new Set, n = new Set(["~", ">", "+", "-", "*", "/"]); return y(t, (e, t) => { if ("word" === e.kind && n.has(e.value)) { let e = t.index; if (-1 === e) return; let o = t.siblings[e - 1]; if ("separator" !== o?.kind || " " !== o.value) return; let i = t.siblings[e + 1]; if ("separator" !== i?.kind || " " !== i.value) return; let a = t.siblings[e - 2]; if (a && n.has(a.value)) return; let l = t.siblings[e + 2]; if (l && n.has(l.value)) return; r.add(o), r.add(i) } else if ("separator" === e.kind && e.value.length > 0 && "" === e.value.trim()) (t.siblings[0] === e || t.siblings[t.siblings.length - 1] === e) && r.add(e); else if ("separator" === e.kind && "," === e.value.trim()) e.value = ","; else if ("function" === e.kind && e.value.startsWith("--")) { let r = t.index; if (r <= 0) return; let o = t.siblings[r - 1]; if ("separator" === o?.kind && "," === o.value) return; let i = t.siblings[r - 2]; return i && !n.has(i.value) ? void 0 : b.ReplaceSkip({ kind: "function", value: "", nodes: [e] }) } }), r.size > 0 && y(t, e => { if (r.has(e)) return r.delete(e), b.ReplaceSkip([]) }), oe(t), g(t) }); function re(e) { return te.get(e) } var ne = new f(e => { let t = v(e); return 3 === t.length && "word" === t[0].kind && "&" === t[0].value && "separator" === t[1].kind && ":" === t[1].value && "function" === t[2].kind && "is" === t[2].value ? g(t[2].nodes) : e }); function oe(e) { for (let t of e) switch (t.kind) { case "function": if ("url" === t.value || t.value.endsWith("_url")) { t.value = se(t.value); break } if ("var" === t.value || t.value.endsWith("_var") || "theme" === t.value || t.value.endsWith("_theme")) { t.value = se(t.value); for (let e = 0; e < t.nodes.length; e++)oe([t.nodes[e]]); break } t.value = se(t.value), oe(t.nodes); break; case "separator": t.value = se(t.value); break; case "word": ("-" !== t.value[0] || "-" !== t.value[1]) && (t.value = se(t.value)); break; default: le(t) } } var ie = new f(e => { let t = v(e); return 1 === t.length && "function" === t[0].kind && "var" === t[0].value }); function ae(e) { return ie.get(e) } function le(e) { throw new Error(`Unexpected value: ${e}`) } function se(e) { return e.replaceAll("_", String.raw`\_`).replaceAll(" ", "_") } function ce(e, t, r) { if (e === t) return 0; let n = e.indexOf("("), o = t.indexOf("("), i = -1 === n ? e.replace(/[\d.]+/g, "") : e.slice(0, n), a = -1 === o ? t.replace(/[\d.]+/g, "") : t.slice(0, o), l = (i === a ? 0 : i < a ? -1 : 1) || ("asc" === r ? parseInt(e) - parseInt(t) : parseInt(t) - parseInt(e)); return Number.isNaN(l) ? e < t ? -1 : 1 : l } var ue = /^(?<value>[-+]?(?:\d*\.)?\d+)(?<unit>[a-z]+|%)?$/i, de = new f(e => { let t = ue.exec(e); if (!t) return null; let r = t.groups?.value; if (void 0 === r) return null; let n = Number(r); if (Number.isNaN(n)) return null; let o = t.groups?.unit; return void 0 === o ? [n, null] : [n, o] }), fe = new Set(["black", "silver", "gray", "white", "maroon", "red", "purple", "fuchsia", "green", "lime", "olive", "yellow", "navy", "blue", "teal", "aqua", "aliceblue", "antiquewhite", "aqua", "aquamarine", "azure", "beige", "bisque", "black", "blanchedalmond", "blue", "blueviolet", "brown", "burlywood", "cadetblue", "chartreuse", "chocolate", "coral", "cornflowerblue", "cornsilk", "crimson", "cyan", "darkblue", "darkcyan", "darkgoldenrod", "darkgray", "darkgreen", "darkgrey", "darkkhaki", "darkmagenta", "darkolivegreen", "darkorange", "darkorchid", "darkred", "darksalmon", "darkseagreen", "darkslateblue", "darkslategray", "darkslategrey", "darkturquoise", "darkviolet", "deeppink", "deepskyblue", "dimgray", "dimgrey", "dodgerblue", "firebrick", "floralwhite", "forestgreen", "fuchsia", "gainsboro", "ghostwhite", "gold", "goldenrod", "gray", "green", "greenyellow", "grey", "honeydew", "hotpink", "indianred", "indigo", "ivory", "khaki", "lavender", "lavenderblush", "lawngreen", "lemonchiffon", "lightblue", "lightcoral", "lightcyan", "lightgoldenrodyellow", "lightgray", "lightgreen", "lightgrey", "lightpink", "lightsalmon", "lightseagreen", "lightskyblue", "lightslategray", "lightslategrey", "lightsteelblue", "lightyellow", "lime", "limegreen", "linen", "magenta", "maroon", "mediumaquamarine", "mediumblue", "mediumorchid", "mediumpurple", "mediumseagreen", "mediumslateblue", "mediumspringgreen", "mediumturquoise", "mediumvioletred", "midnightblue", "mintcream", "mistyrose", "moccasin", "navajowhite", "navy", "oldlace", "olive", "olivedrab", "orange", "orangered", "orchid", "palegoldenrod", "palegreen", "paleturquoise", "palevioletred", "papayawhip", "peachpuff", "peru", "pink", "plum", "powderblue", "purple", "rebeccapurple", "red", "rosybrown", "royalblue", "saddlebrown", "salmon", "sandybrown", "seagreen", "seashell", "sienna", "silver", "skyblue", "slateblue", "slategray", "slategrey", "snow", "springgreen", "steelblue", "tan", "teal", "thistle", "tomato", "turquoise", "violet", "wheat", "white", "whitesmoke", "yellow", "yellowgreen", "transparent", "currentcolor", "canvas", "canvastext", "linktext", "visitedtext", "activetext", "buttonface", "buttontext", "buttonborder", "field", "fieldtext", "highlight", "highlighttext", "selecteditem", "selecteditemtext", "mark", "marktext", "graytext", "accentcolor", "accentcolortext"]), pe = /^(rgba?|hsla?|hwb|color|(ok)?(lab|lch)|light-dark|color-mix|--alpha)\(/i; var he = { color: function (e) { return 35 === e.charCodeAt(0) || pe.test(e) || fe.has(e.toLowerCase()) }, length: Te, percentage: ze, ratio: function (e) { return Ae.test(e) || L(e) }, number: xe, integer: Ve, url: ve, position: function (e) { let t = 0; for (let r of Z(e, " ")) if ("center" !== r && "top" !== r && "right" !== r && "bottom" !== r && "left" !== r) { if (!r.startsWith("var(")) { if (Te(r) || ze(r)) { t += 1; continue } return !1 } } else t += 1; return t > 0 }, "bg-size": function (e) { let t = 0; for (let r of Z(e, ",")) { if ("cover" === r || "contain" === r) { t += 1; continue } let e = Z(r, " "); if (1 !== e.length && 2 !== e.length) return !1; e.every(e => "auto" === e || Te(e) || ze(e)) && (t += 1) } return t > 0 }, "line-width": function (e) { return Z(e, " ").every(e => Te(e) || xe(e) || "thin" === e || "medium" === e || "thick" === e) }, image: function (e) { let t = 0; for (let r of Z(e, ",")) if (!r.startsWith("var(")) { if (ve(r)) { t += 1; continue } if (we.test(r)) { t += 1; continue } if (ke.test(r)) { t += 1; continue } return !1 } return t > 0 }, "family-name": function (e) { let t = 0; for (let r of Z(e, ",")) { let e = r.charCodeAt(0); if (e >= 48 && e <= 57) return !1; r.startsWith("var(") || (t += 1) } return t > 0 }, "generic-name": function (e) { return "serif" === e || "sans-serif" === e || "monospace" === e || "cursive" === e || "fantasy" === e || "system-ui" === e || "ui-serif" === e || "ui-sans-serif" === e || "ui-monospace" === e || "ui-rounded" === e || "math" === e || "emoji" === e || "fangsong" === e }, "absolute-size": function (e) { return "xx-small" === e || "x-small" === e || "small" === e || "medium" === e || "large" === e || "x-large" === e || "xx-large" === e || "xxx-large" === e }, "relative-size": function (e) { return "larger" === e || "smaller" === e }, angle: function (e) { return je.test(e) }, vector: function (e) { return Ke.test(e) } }; function me(e, t) { if (e.startsWith("var(")) return null; for (let r of t) if (he[r]?.(e)) return r; return null } var ge = /^url\(.*\)$/; function ve(e) { return ge.test(e) } var ke = /^(?:element|image|cross-fade|image-set)\(/, we = /^(repeating-)?(conic|linear|radial)-gradient\(/; var be = /[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/, ye = new RegExp(`^${be.source}$`); function xe(e) { return ye.test(e) || L(e) } var $e = new RegExp(`^${be.source}%$`); function ze(e) { return $e.test(e) || L(e) } var Ae = new RegExp(`^${be.source}\\s*/\\s*${be.source}$`); var Se = new RegExp(`^${be.source}(${["cm", "mm", "Q", "in", "pc", "pt", "px", "em", "ex", "ch", "rem", "lh", "rlh", "vw", "vh", "vmin", "vmax", "vb", "vi", "svw", "svh", "lvw", "lvh", "dvw", "dvh", "cqw", "cqh", "cqi", "cqb", "cqmin", "cqmax"].join("|")})$`), Ce = /^(--spacing)\(/i; function Te(e) { return Se.test(e) || Ce.test(e) || L(e) } var je = new RegExp(`^${be.source}(${["deg", "rad", "grad", "turn"].join("|")})$`); var Ke = new RegExp(`^${be.source} +${be.source} +${be.source}$`); function Ve(e) { let t = Number(e); return Number.isInteger(t) && t >= 0 && String(t) === String(e) } function Ee(e) { let t = Number(e); return Number.isInteger(t) && t > 0 && String(t) === String(e) } function Ne(e) { return Fe(e, .25) } function Oe(e) { return Fe(e, .25) } function Fe(e, t) { let r = Number(e); return r >= 0 && r % t === 0 && String(r) === String(e) } var Ue = new Set(["inset", "inherit", "initial", "revert", "unset"]), We = new Set(["calc", "clamp", "max", "min", "--spacing"]), Re = new Set(["color", "color-mix", "contrast-color", "device-cmyk", "hsl", "hsla", "hwb", "lab", "lch", "light-dark", "oklab", "oklch", "rgb", "rgba", "--alpha"]), De = /^-?(\d+|\.\d+)(.*?)$/; function Le(e, t) { function r(e) { let r = g([e]); return v(t(r)) } return Z(e, ",").map(e => { let n = v(e = e.trim()), o = null, i = 0, a = 0, l = !1; return y(n, e => { switch (e.kind) { case "word": if (Ue.has(e.value.toLowerCase())) return b.Continue; if (De.test(e.value.toLowerCase())) return a++, b.Continue; if ("#" === e.value[0] || function (e) { return fe.has(e.toLowerCase()) }(e.value)) return l = !0, b.ReplaceStop(r(e)); o = e, i++; break; case "function": return Re.has(e.value.toLowerCase()) ? (l = !0, b.ReplaceStop(r(e))) : We.has(e.value.toLowerCase()) ? (a++, b.Skip) : (o = e, i++, b.Skip); case "separator": return b.Continue } }), l ? g(n) : a < 2 ? e : 0 === i ? `${e} ${t("currentcolor")}` : (1 === i && y(n, e => e === o ? (l = !0, b.ReplaceStop(r(e))) : b.Skip), l ? g(n) : e) }).join(", ") } var _e = ["0", "0.5", "1", "1.5", "2", "2.5", "3", "3.5", "4", "5", "6", "7", "8", "9", "10", "11", "12", "14", "16", "20", "24", "28", "32", "36", "40", "44", "48", "52", "56", "60", "64", "72", "80", "96"], Be = class { utilities = new f(() => []); completions = new Map; static(e, t) { this.utilities.get(e).push({ kind: "static", compileFn: t }) } functional(e, t, r) { this.utilities.get(e).push({ kind: "functional", compileFn: t, options: r }) } has(e, t) { return this.utilities.has(e) && this.utilities.get(e).some(e => e.kind === t) } get(e) { return this.utilities.has(e) ? this.utilities.get(e) : [] } getCompletions(e) { return this.has(e, "static") ? this.completions.get(e)?.() ?? [{ supportsNegative: !1, values: [], modifiers: [] }] : this.completions.get(e)?.() ?? [] } suggest(e, t) { let r = this.completions.get(e); r ? this.completions.set(e, () => [...r?.(), ...t?.()]) : this.completions.set(e, t) } keys(e) { let t = []; for (let [r, n] of this.utilities.entries()) for (let o of n) if (o.kind === e) { t.push(r); break } return t } }; function Me(e, t, r) { return S("@property", e, [T("syntax", r ? `"${r}"` : '"*"'), T("inherits", "false"), ...t ? [T("initial-value", t)] : []]) } function Ie(e, t) { if (null === t) return e; let r = Number(t); return Number.isNaN(r) || (t = 100 * r + "%"), "100%" === t ? e : `color-mix(in oklab, ${e} ${t}, transparent)` } function Pe(e, t) { let r = Number(t); return Number.isNaN(r) || (t = 100 * r + "%"), `oklab(from ${e} l a b / ${t})` } function qe(e, t, r) { if (!t) return e; if ("arbitrary" === t.kind) return Ie(e, t.value); let n = r.resolve(t.value, ["--opacity"]); return n ? Ie(e, n) : Oe(t.value) ? Ie(e, `${t.value}%`) : null } function He(e, t, r) { let n = null; switch (e.value.value) { case "inherit": n = "inherit"; break; case "transparent": n = "transparent"; break; case "current": n = "currentcolor"; break; default: n = t.resolve(e.value.value, r) }return n ? qe(n, e.modifier, t) : null } var Ye = /(\d+)_(\d+)/g; var Ze = ["number", "integer", "ratio", "percentage"]; function Ge(e) { let t = s(e.params); return function (e) { if (!e.endsWith("-*")) return !1; e = e.slice(0, -2); let t = et.exec(e); if (null === t) return !1; let r = t[0]; return 0 === e.slice(r.length).length }(t) ? r => { let n = { "--value": { usedSpacingInteger: !1, usedSpacingNumber: !1, themeKeys: new Set, literals: new Set }, "--modifier": { usedSpacingInteger: !1, usedSpacingNumber: !1, themeKeys: new Set, literals: new Set } }; y(e.nodes, e => { if ("declaration" !== e.kind || !e.value || !e.value.includes("--value(") && !e.value.includes("--modifier(")) return; let t = v(e.value); y(t, e => { if ("function" !== e.kind) return; if (!("--spacing" !== e.value || n["--modifier"].usedSpacingNumber && n["--value"].usedSpacingNumber)) return y(e.nodes, e => { if ("function" !== e.kind || "--value" !== e.value && "--modifier" !== e.value) return; let t = e.value; for (let r of e.nodes) if ("word" === r.kind) if ("integer" === r.value) n[t].usedSpacingInteger ||= !0; else if ("number" === r.value && (n[t].usedSpacingNumber ||= !0, n["--modifier"].usedSpacingNumber && n["--value"].usedSpacingNumber)) return b.Stop }), b.Continue; if ("--value" !== e.value && "--modifier" !== e.value) return; let t = Z(g(e.nodes), ","); for (let [e, r] of t.entries()) r = r.replace(/\\\*/g, "*"), r = r.replace(/--(.*?)\s--(.*?)/g, "--$1-*--$2"), r = r.replace(/\s+/g, ""), r = r.replace(/(-\*){2,}/g, "-*"), "-" === r[0] && "-" === r[1] && !r.includes("(") && !r.includes("-*") && (r += "-*"), t[e] = r; e.nodes = v(t.join(",")); for (let t of e.nodes) if ("word" !== t.kind || '"' !== t.value[0] && "'" !== t.value[0] || t.value[0] !== t.value[t.value.length - 1]) { if ("word" === t.kind && "-" === t.value[0] && "-" === t.value[1]) { let r = t.value.replace(/-\*.*$/g, ""); n[e.value].themeKeys.add(r) } else if ("word" === t.kind && ("[" !== t.value[0] || "]" !== t.value[t.value.length - 1]) && !Ze.includes(t.value)) { console.warn(`Unsupported bare value data type: "${t.value}".\nOnly valid data types are: ${Ze.map(e => `"${e}"`).join(", ")}.\n`); let r = t.value, n = structuredClone(e), o = "¶"; y(n.nodes, e => { if ("word" === e.kind && e.value === r) return b.ReplaceSkip({ kind: "word", value: o }) }); let i = "^".repeat(g([t]).length), a = g([n]).indexOf(o), l = ["```css", g([e]), " ".repeat(a) + i, "```"].join("\n"); console.warn(l) } } else { let r = t.value.slice(1, -1); n[e.value].literals.add(r) } }), e.value = g(t) }), r.utilities.functional(t.slice(0, -2), t => { let n = E(e), o = t.value, i = t.modifier, a = !1, l = !1, s = !1, c = !1, u = new Map, d = !1; if (y([n], (e, t) => { let n = t.parent; if ("rule" !== n?.kind && "at-rule" !== n?.kind || "declaration" !== e.kind || !e.value) return; let f = !1, p = v(e.value); if (y(p, t => { if ("function" === t.kind) { if ("--value" === t.value) { a = !0; let i = Je(o, t, r); return i ? (l = !0, i.ratio ? d = !0 : u.set(e, n), b.ReplaceSkip(i.nodes)) : (f = !0, b.Stop) } if ("--modifier" === t.value) { s = !0; let e = Je(i, t, r); return e ? (c = !0, b.ReplaceSkip(e.nodes)) : (f = !0, b.Stop) } } }), f) return b.ReplaceSkip([]); e.value = g(p) }), !a || !l || s && !c && null !== i || d && c || i && !d && !c) return null; if (d) for (let [e, t] of u) { let r = t.nodes.indexOf(e); -1 !== r && t.nodes.splice(r, 1) } return n.nodes }), r.utilities.suggest(t.slice(0, -2), () => { let e = [], t = []; for (let [o, { literals: i, usedSpacingNumber: a, usedSpacingInteger: l, themeKeys: s }] of [[e, n["--value"]], [t, n["--modifier"]]]) { for (let e of i) o.push(e); if (a) o.push(..._e); else if (l) for (let e of _e) Ve(e) && o.push(e); for (let e of r.theme.keysInNamespaces(s)) o.push(e.replace(Ye, (e, t, r) => `${t}.${r}`)) } return [{ values: e, modifiers: t }] }) } : function (e) { let t = et.exec(e); if (null === t) return !1; let r = t[0], n = e.slice(r.length); if (0 === n.length && r.endsWith("-")) return !1; if (0 === n.length) return !0; let o = !1; for (let e = 0; e < n.length; e++) { let t = n.charCodeAt(e); switch (t) { case tt: { if (e !== n.length - 1) return !1; let t = (n[e - 1] || r[r.length - 1] || "").charCodeAt(0); if (t < st || t > ct) return !1; break } case rt: if (e === n.length - 1 || o) return !1; o = !0; break; case nt: { let t = (n[e - 1] || r[r.length - 1] || "").charCodeAt(0); if (t < st || t > ct) return !1; let o = (n[e + 1] || "").charCodeAt(0); if (o < st || o > ct) return !1; break } case ut: case dt: continue; default: if (t >= ot && t <= it || t >= at && t <= lt || t >= st && t <= ct) continue; return !1 } } return !0 }(t) ? r => { r.utilities.static(t, () => e.nodes.map(E)) } : null } function Je(e, t, r) { if (null !== e) for (let n of t.nodes) { if ("named" === e.kind && "word" === n.kind && ("'" === n.value[0] || '"' === n.value[0]) && n.value[n.value.length - 1] === n.value[0] && n.value.slice(1, -1) === e.value) return { nodes: v(e.value) }; if ("named" === e.kind && "word" === n.kind && "-" === n.value[0] && "-" === n.value[1]) { let t = n.value; if (t.endsWith("-*")) { t = t.slice(0, -2); let n = r.theme.resolve(e.value, [t]); if (n) return { nodes: v(n) } } else { let n = t.split("-*"); if (n.length <= 1) continue; let o = [n.shift()], i = r.theme.resolveWith(e.value, o, n); if (i) { let [, e = {}] = i; { let t = e[n.pop()]; if (t) return { nodes: v(t) } } } } } else { if ("named" === e.kind && "word" === n.kind) { if (!Ze.includes(n.value)) continue; let t = "ratio" === n.value && "fraction" in e ? e.fraction : e.value; if (!t) continue; let r = me(t, [n.value]); if (null === r) continue; if ("ratio" === r) { let [e, r] = Z(t, "/").map(Number); if (!Ve(e) || !Ve(r)) continue } else { if ("number" === r && !Ne(t)) continue; if ("percentage" === r && !Ve(t.slice(0, -1))) continue } if ("ratio" === r) { let [e, r] = Z(t, "/"); return { nodes: v(`${e.trim()} / ${r.trim()}`), ratio: !0 } } return { nodes: v(t), ratio: !1 } } if ("arbitrary" === e.kind && "word" === n.kind && "[" === n.value[0] && "]" === n.value[n.value.length - 1]) { let t = n.value.slice(1, -1); if ("*" === t) return { nodes: v(e.value) }; if ("dataType" in e && e.dataType && e.dataType !== t) continue; if ("dataType" in e && e.dataType) return { nodes: v(e.value) }; if (null !== me(e.value, [t])) return { nodes: v(e.value) } } } } else for (let e of t.nodes) if ("function" === e.kind && "--default" === e.value) return { nodes: e.nodes } } function Xe(e, t, r, n, o = "") { let i = !1, a = Le(t, e => null == r ? n(e) : e.startsWith("current") ? n(Ie(e, r)) : ((e.startsWith("var(") || r.startsWith("var(")) && (i = !0), n(Pe(e, r)))); function l(e) { return o ? Z(e, ",").map(e => o.trim() + " " + e.trim()).join(", ") : e } return i ? [T(e, l(Le(t, n))), C("@supports (color: lab(from red l a b))", [T(e, l(a))])] : [T(e, l(a))] } function Qe(e, t, r, n, o = "") { let i = !1, a = Z(t, ",").map(e => Le(e, e => null == r ? n(e) : e.startsWith("current") ? n(Ie(e, r)) : ((e.startsWith("var(") || r.startsWith("var(")) && (i = !0), n(Pe(e, r))))).map(e => `drop-shadow(${e})`).join(" "); return i ? [T(e, o + Z(t, ",").map(e => `drop-shadow(${Le(e, n)})`).join(" ")), C("@supports (color: lab(from red l a b))", [T(e, o + a)])] : [T(e, o + a)] } var et = /^-?[a-z][a-zA-Z0-9_-]*/, tt = 37, rt = 47, nt = 46, ot = 97, it = 122, at = 65, lt = 90, st = 48, ct = 57, ut = 95, dt = 45; var ft = { "--alpha": function (e, t, r, ...n) { let [o, i] = Z(r, "/").map(e => e.trim()); if (!o || !i) throw new Error(`The --alpha(…) function requires a color and an alpha value, e.g.: \`--alpha(${o || "var(--my-color)"} / ${i || "50%"})\``); if (n.length > 0) throw new Error(`The --alpha(…) function only accepts one argument, e.g.: \`--alpha(${o || "var(--my-color)"} / ${i || "50%"})\``); return Ie(o, i) }, "--spacing": function (e, t, r, ...n) { if (!r) throw new Error("The --spacing(…) function requires an argument, but received none."); if (n.length > 0) throw new Error(`The --spacing(…) function only accepts a single argument, but received ${n.length + 1}.`); let o = e.theme.resolve(null, ["--spacing"]); if (!o) throw new Error("The --spacing(…) function requires that the `--spacing` theme variable exists, but it was not found."); let i = de.get(r); if (i) { if (0 === i[0]) return "0"; if (1 === i[0]) return o } return `calc(${o} * ${r})` }, "--theme": function (e, t, r, ...n) { if (!r.startsWith("--")) throw new Error("The --theme(…) function can only be used with CSS variables from your theme."); let o = !1; r.endsWith(" inline") && (o = !0, r = r.slice(0, -7)), "at-rule" === t.kind && (o = !0); let i = e.resolveThemeValue(r, o); if (!i) { if (n.length > 0) return n.join(", "); throw new Error(`Could not resolve value for theme function: \`theme(${r})\`. Consider checking if the variable name is correct or provide a fallback value to silence this error.`) } if (0 === n.length) return i; let a = n.join(", "); if ("initial" === a) return i; if ("initial" === i) return a; if (i.startsWith("var(") || i.startsWith("theme(") || i.startsWith("--theme(")) { let e = v(i); return function (e, t) { y(e, e => { if ("function" === e.kind && ("var" === e.value || "theme" === e.value || "--theme" === e.value)) if (1 === e.nodes.length) e.nodes.push({ kind: "word", value: `, ${t}` }); else { let r = e.nodes[e.nodes.length - 1]; "word" === r.kind && "initial" === r.value && (r.value = t) } }) }(e, a), g(e) } return i }, theme: function (e, t, r, ...n) { r = function (e) { if ("'" !== e[0] && '"' !== e[0]) return e; let t = "", r = e[0]; for (let n = 1; n < e.length - 1; n++) { let o = e[n], i = e[n + 1]; "\\" !== o || i !== r && "\\" !== i ? t += o : (t += i, n++) } return t }(r); let o = e.resolveThemeValue(r); if (!o && n.length > 0) return n.join(", "); if (!o) throw new Error(`Could not resolve value for theme function: \`theme(${r})\`. Consider checking if the path is correct or provide a fallback value to silence this error.`); return o } }; var pt = new RegExp(Object.keys(ft).map(e => `${e}\\(`).join("|")); function ht(e, t) { let r = 0; return y(e, e => { if ("declaration" === e.kind && e.value && pt.test(e.value)) return r |= 8, void (e.value = mt(e.value, e, t)); "at-rule" === e.kind && ("@media" === e.name || "@custom-media" === e.name || "@container" === e.name || "@supports" === e.name) && pt.test(e.params) && (r |= 8, e.params = mt(e.params, e, t)) }), r } function mt(e, t, r) { let n = v(e); return y(n, e => { if ("function" === e.kind && e.value in ft) { let n = Z(g(e.nodes).trim(), ",").map(e => e.trim()), o = ft[e.value](r, t, ...n); return b.Replace(v(o)) } }), g(n) } var gt = /^@?[a-z0-9][a-zA-Z0-9_-]*(?<![_-])$/, vt = class { compareFns = new Map; variants = new Map; completions = new Map; groupOrder = null; lastOrder = 0; static(e, t, { compounds: r, order: n } = {}) { this.set(e, { kind: "static", applyFn: t, compoundsWith: 0, compounds: r ?? 2, order: n }) } fromAst(e, t, r) { let n = [], o = !1; y(t, e => { "rule" === e.kind ? n.push(e.selector) : "at-rule" === e.kind && "@variant" === e.name ? o = !0 : "at-rule" === e.kind && "@slot" !== e.name && n.push(`${e.name} ${e.params}`) }), this.static(e, e => { let n = t.map(E); o && yt(n, r), bt(n, e.nodes), e.nodes = n }, { compounds: kt(n) }) } functional(e, t, { compounds: r, order: n } = {}) { this.set(e, { kind: "functional", applyFn: t, compoundsWith: 0, compounds: r ?? 2, order: n }) } compound(e, t, r, { compounds: n, order: o } = {}) { this.set(e, { kind: "compound", applyFn: r, compoundsWith: t, compounds: n ?? 2, order: o }) } group(e, t) { this.groupOrder = this.nextOrder(), t && this.compareFns.set(this.groupOrder, t), e(), this.groupOrder = null } has(e) { return this.variants.has(e) } get(e) { return this.variants.get(e) } kind(e) { return this.variants.get(e)?.kind } compoundsWith(e, t) { let r = this.variants.get(e), n = "string" == typeof t ? this.variants.get(t) : "arbitrary" === t.kind ? { compounds: kt([t.selector]) } : this.variants.get(t.root); return !(!r || !n || "compound" !== r.kind || 0 === n.compounds || 0 === r.compoundsWith || 0 === (r.compoundsWith & n.compounds)) } suggest(e, t) { this.completions.set(e, t) } getCompletions(e) { return this.completions.get(e)?.() ?? [] } compare(e, t) { if (e === t) return 0; if (null === e) return -1; if (null === t) return 1; if ("arbitrary" === e.kind && "arbitrary" === t.kind) return e.selector < t.selector ? -1 : 1; if ("arbitrary" === e.kind) return 1; if ("arbitrary" === t.kind) return -1; let r = this.variants.get(e.root).order, n = r - this.variants.get(t.root).order; if (0 !== n) return n; if ("compound" === e.kind && "compound" === t.kind) { let r = this.compare(e.variant, t.variant); return 0 !== r ? r : e.modifier && t.modifier ? e.modifier.value < t.modifier.value ? -1 : 1 : e.modifier ? 1 : t.modifier ? -1 : 0 } let o = this.compareFns.get(r); if (void 0 !== o) return o(e, t); if (e.root !== t.root) return e.root < t.root ? -1 : 1; let i = e.value, a = t.value; return null === i ? -1 : null === a || "arbitrary" === i.kind && "arbitrary" !== a.kind ? 1 : "arbitrary" !== i.kind && "arbitrary" === a.kind || i.value < a.value ? -1 : 1 } keys() { return this.variants.keys() } entries() { return this.variants.entries() } set(e, { kind: t, applyFn: r, compounds: n, compoundsWith: o, order: i }) { let a = this.variants.get(e); a ? Object.assign(a, { kind: t, applyFn: r, compounds: n }) : (void 0 === i && (this.lastOrder = this.nextOrder(), i = this.lastOrder), this.variants.set(e, { kind: t, applyFn: r, order: i, compoundsWith: o, compounds: n })) } nextOrder() { return this.groupOrder ?? this.lastOrder + 1 } }; function kt(e) { let t = 0; for (let r of e) if ("@" !== r[0]) { if (r.includes("::")) return 0; t |= 2 } else { if (!r.startsWith("@media") && !r.startsWith("@supports") && !r.startsWith("@container")) return 0; t |= 1 } return t } function wt(e) { if (e.includes("=")) { let [t, ...r] = Z(e, "="), n = r.join("=").trim(); if ("'" === n[0] || '"' === n[0]) return e; if (n.length > 1) { let e = n[n.length - 1]; if (" " === n[n.length - 2] && ("i" === e || "I" === e || "s" === e || "S" === e)) return `${t}="${n.slice(0, -2)}" ${e}` } return `${t}="${n}"` } return e } function bt(e, t) { y(e, e => "at-rule" === e.kind && "@slot" === e.name ? b.ReplaceSkip(t) : "at-rule" !== e.kind || "@keyframes" !== e.name && "@property" !== e.name ? void 0 : (Object.assign(e, V([S(e.name, e.params, e.nodes)])), b.Skip)) } function yt(e, t) { let r = 0; return y(e, e => { if ("at-rule" !== e.kind || "@variant" !== e.name) return; let n = [], o = Z(e.params, ","); for (let [r, i] of o.entries()) { let a = A("&", r === o.length - 1 ? e.nodes : e.nodes.map(E)), l = Z(i, ":"); for (let e = l.length - 1; e >= 0; --e) { let r = l[e].trim(); if (!r) throw new Error("Cannot use `@variant` with empty variant"); let n = t.parseVariant(r); if (null === n) throw new Error(`Cannot use \`@variant\` with unknown variant: ${r}`); if (null === At(a, n, t.variants)) throw new Error(`Cannot use \`@variant\` with variant: ${r}`) } n.push(a) } return r |= 32, b.Replace(n) }), r } function xt(e, t) { let r = function (e) { let t = new Be; function r(r, n) { function* o(t) { for (let r of e.keysInNamespaces(t)) yield r.replace(Ye, (e, t, r) => `${t}.${r}`) } let i = ["1/2", "1/3", "2/3", "1/4", "2/4", "3/4", "1/5", "2/5", "3/5", "4/5", "1/6", "2/6", "3/6", "4/6", "5/6", "1/12", "2/12", "3/12", "4/12", "5/12", "6/12", "7/12", "8/12", "9/12", "10/12", "11/12"]; t.suggest(r, () => { let e = []; for (let t of n()) { if ("string" == typeof t) { e.push({ values: [t], modifiers: [] }); continue } let r = [...t.values ?? [], ...o(t.valueThemeKeys ?? [])], n = [...t.modifiers ?? [], ...o(t.modifierThemeKeys ?? [])]; t.supportsFractions && r.push(...i), t.hasDefaultValue && r.unshift(null), e.push({ supportsNegative: t.supportsNegative, values: r, modifiers: n }) } return e }) } function n(e, r) { t.static(e, () => r.map(e => "function" == typeof e ? e() : T(e[0], e[1]))) } function o(n, o) { function i({ negative: t }) { return r => { let n = null, i = null; if (r.value) if ("arbitrary" === r.value.kind) { if (r.modifier) return; n = r.value.value, i = r.value.dataType } else { if (n = e.resolve(r.value.fraction ?? r.value.value, o.themeKeys ?? []), null === n && o.supportsFractions && r.value.fraction) { let [e, t] = Z(r.value.fraction, "/"); if (!Ve(e) || !Ve(t)) return; n = `calc(${e} / ${t} * 100%)` } if (null === n && t && o.handleNegativeBareValue) { if (n = o.handleNegativeBareValue(r.value), !n?.includes("/") && r.modifier) return; if (null !== n) return o.handle(n, null) } if (null === n && o.handleBareValue && (n = o.handleBareValue(r.value), !n?.includes("/") && r.modifier)) return; if (null === n && !t && o.staticValues && !r.modifier) { let e = o.staticValues[r.value.value]; if (e) return e.map(E) } } else { if (r.modifier) return; n = void 0 !== o.defaultValue ? o.defaultValue : e.resolve(null, o.themeKeys ?? []) } if (null !== n) return o.handle(t ? _(`calc(${n} * -1)`) : n, i) } } if (o.staticValues && (o.staticValues = Object.assign(Object.create(null), o.staticValues)), o.supportsNegative && t.functional(`-${n}`, i({ negative: !0 })), t.functional(n, i({ negative: !1 })), r(n, () => [{ supportsNegative: o.supportsNegative, valueThemeKeys: o.themeKeys ?? [], hasDefaultValue: void 0 !== o.defaultValue && null !== o.defaultValue, supportsFractions: o.supportsFractions }]), o.staticValues && Object.keys(o.staticValues).length > 0) { let e = Object.keys(o.staticValues); r(n, () => [{ values: e }]) } } function i(n, o) { t.functional(n, t => { if (!t.value) return; let r = null; return "arbitrary" === t.value.kind ? (r = t.value.value, r = qe(r, t.modifier, e)) : r = He(t, e, o.themeKeys), null !== r ? o.handle(r) : void 0 }), r(n, () => [{ values: ["current", "inherit", "transparent"], valueThemeKeys: o.themeKeys, modifierThemeKeys: ["--opacity"], modifiers: Array.from({ length: 21 }, (e, t) => "" + 5 * t) }]) } function a(n, i, a, { supportsNegative: l = !1, supportsFractions: s = !1, staticValues: c } = {}) { l && t.static(`-${n}-px`, () => a("-1px")), t.static(`${n}-px`, () => a("1px")), o(n, { themeKeys: i, supportsFractions: s, supportsNegative: l, defaultValue: null, handleBareValue: ({ value: t }) => e.resolve(null, ["--spacing"]) && Ne(t) ? `--spacing(${t})` : null, handleNegativeBareValue: ({ value: t }) => e.resolve(null, ["--spacing"]) && Ne(t) ? `--spacing(-${t})` : null, handle: a, staticValues: c }), r(n, () => [{ values: e.get(["--spacing"]) ? _e : [], supportsNegative: l, supportsFractions: s, valueThemeKeys: i }]) } n("sr-only", [["position", "absolute"], ["width", "1px"], ["height", "1px"], ["padding", "0"], ["margin", "-1px"], ["overflow", "hidden"], ["clip-path", "inset(50%)"], ["white-space", "nowrap"], ["border-width", "0"]]), n("not-sr-only", [["position", "static"], ["width", "auto"], ["height", "auto"], ["padding", "0"], ["margin", "0"], ["overflow", "visible"], ["clip-path", "none"], ["white-space", "normal"]]), n("pointer-events-none", [["pointer-events", "none"]]), n("pointer-events-auto", [["pointer-events", "auto"]]), n("visible", [["visibility", "visible"]]), n("invisible", [["visibility", "hidden"]]), n("collapse", [["visibility", "collapse"]]), n("static", [["position", "static"]]), n("fixed", [["position", "fixed"]]), n("absolute", [["position", "absolute"]]), n("relative", [["position", "relative"]]), n("sticky", [["position", "sticky"]]); for (let [e, t] of [["inset", "inset"], ["inset-x", "inset-inline"], ["inset-y", "inset-block"], ["inset-s", "inset-inline-start"], ["inset-e", "inset-inline-end"], ["inset-bs", "inset-block-start"], ["inset-be", "inset-block-end"], ["top", "top"], ["right", "right"], ["bottom", "bottom"], ["left", "left"]]) n(`${e}-auto`, [[t, "auto"]]), n(`${e}-full`, [[t, "100%"]]), n(`-${e}-full`, [[t, "-100%"]]), a(e, ["--inset", "--spacing"], e => [T(t, e)], { supportsNegative: !0, supportsFractions: !0 }); n("isolate", [["isolation", "isolate"]]), n("isolation-auto", [["isolation", "auto"]]), o("z", { supportsNegative: !0, handleBareValue: ({ value: e }) => Ve(e) ? e : null, themeKeys: ["--z-index"], handle: e => [T("z-index", e)], staticValues: { auto: [T("z-index", "auto")] } }), r("z", () => [{ supportsNegative: !0, values: ["0", "10", "20", "30", "40", "50"], valueThemeKeys: ["--z-index"] }]), o("order", { supportsNegative: !0, handleBareValue: ({ value: e }) => Ve(e) ? e : null, themeKeys: ["--order"], handle: e => [T("order", e)], staticValues: { first: [T("order", "-9999")], last: [T("order", "9999")] } }), r("order", () => [{ supportsNegative: !0, values: Array.from({ length: 12 }, (e, t) => `${t + 1}`), valueThemeKeys: ["--order"] }]), o("col", { supportsNegative: !0, handleBareValue: ({ value: e }) => Ve(e) ? e : null, themeKeys: ["--grid-column"], handle: e => [T("grid-column", e)], staticValues: { auto: [T("grid-column", "auto")] } }), o("col-span", { handleBareValue: ({ value: e }) => Ve(e) ? e : null, handle: e => [T("grid-column", `span ${e} / span ${e}`)], staticValues: { full: [T("grid-column", "1 / -1")] } }), o("col-start", { supportsNegative: !0, handleBareValue: ({ value: e }) => Ve(e) ? e : null, themeKeys: ["--grid-column-start"], handle: e => [T("grid-column-start", e)], staticValues: { auto: [T("grid-column-start", "auto")] } }), o("col-end", { supportsNegative: !0, handleBareValue: ({ value: e }) => Ve(e) ? e : null, themeKeys: ["--grid-column-end"], handle: e => [T("grid-column-end", e)], staticValues: { auto: [T("grid-column-end", "auto")] } }), r("col-span", () => [{ values: Array.from({ length: 12 }, (e, t) => `${t + 1}`), valueThemeKeys: [] }]), r("col-start", () => [{ supportsNegative: !0, values: Array.from({ length: 13 }, (e, t) => `${t + 1}`), valueThemeKeys: ["--grid-column-start"] }]), r("col-end", () => [{ supportsNegative: !0, values: Array.from({ length: 13 }, (e, t) => `${t + 1}`), valueThemeKeys: ["--grid-column-end"] }]), o("row", { supportsNegative: !0, handleBareValue: ({ value: e }) => Ve(e) ? e : null, themeKeys: ["--grid-row"], handle: e => [T("grid-row", e)], staticValues: { auto: [T("grid-row", "auto")] } }), o("row-span", { themeKeys: [], handleBareValue: ({ value: e }) => Ve(e) ? e : null, handle: e => [T("grid-row", `span ${e} / span ${e}`)], staticValues: { full: [T("grid-row", "1 / -1")] } }), o("row-start", { supportsNegative: !0, handleBareValue: ({ value: e }) => Ve(e) ? e : null, themeKeys: ["--grid-row-start"], handle: e => [T("grid-row-start", e)], staticValues: { auto: [T("grid-row-start", "auto")] } }), o("row-end", { supportsNegative: !0, handleBareValue: ({ value: e }) => Ve(e) ? e : null, themeKeys: ["--grid-row-end"], handle: e => [T("grid-row-end", e)], staticValues: { auto: [T("grid-row-end", "auto")] } }), r("row-span", () => [{ values: Array.from({ length: 12 }, (e, t) => `${t + 1}`), valueThemeKeys: [] }]), r("row-start", () => [{ supportsNegative: !0, values: Array.from({ length: 13 }, (e, t) => `${t + 1}`), valueThemeKeys: ["--grid-row-start"] }]), r("row-end", () => [{ supportsNegative: !0, values: Array.from({ length: 13 }, (e, t) => `${t + 1}`), valueThemeKeys: ["--grid-row-end"] }]), n("float-start", [["float", "inline-start"]]), n("float-end", [["float", "inline-end"]]), n("float-right", [["float", "right"]]), n("float-left", [["float", "left"]]), n("float-none", [["float", "none"]]), n("clear-start", [["clear", "inline-start"]]), n("clear-end", [["clear", "inline-end"]]), n("clear-right", [["clear", "right"]]), n("clear-left", [["clear", "left"]]), n("clear-both", [["clear", "both"]]), n("clear-none", [["clear", "none"]]); for (let [e, t] of [["m", "margin"], ["mx", "margin-inline"], ["my", "margin-block"], ["ms", "margin-inline-start"], ["me", "margin-inline-end"], ["mbs", "margin-block-start"], ["mbe", "margin-block-end"], ["mt", "margin-top"], ["mr", "margin-right"], ["mb", "margin-bottom"], ["ml", "margin-left"]]) n(`${e}-auto`, [[t, "auto"]]), a(e, ["--margin", "--spacing"], e => [T(t, e)], { supportsNegative: !0 }); n("box-border", [["box-sizing", "border-box"]]), n("box-content", [["box-sizing", "content-box"]]), o("line-clamp", { themeKeys: ["--line-clamp"], handleBareValue: ({ value: e }) => Ve(e) ? e : null, handle: e => [T("overflow", "hidden"), T("display", "-webkit-box"), T("-webkit-box-orient", "vertical"), T("-webkit-line-clamp", e)], staticValues: { none: [T("overflow", "visible"), T("display", "block"), T("-webkit-box-orient", "horizontal"), T("-webkit-line-clamp", "unset")] } }), r("line-clamp", () => [{ values: ["1", "2", "3", "4", "5", "6"], valueThemeKeys: ["--line-clamp"] }]), n("block", [["display", "block"]]), n("inline-block", [["display", "inline-block"]]), n("inline", [["display", "inline"]]), n("hidden", [["display", "none"]]), n("inline-flex", [["display", "inline-flex"]]), n("table", [["display", "table"]]), n("inline-table", [["display", "inline-table"]]), n("table-caption", [["display", "table-caption"]]), n("table-cell", [["display", "table-cell"]]), n("table-column", [["display", "table-column"]]), n("table-column-group", [["display", "table-column-group"]]), n("table-footer-group", [["display", "table-footer-group"]]), n("table-header-group", [["display", "table-header-group"]]), n("table-row-group", [["display", "table-row-group"]]), n("table-row", [["display", "table-row"]]), n("flow-root", [["display", "flow-root"]]), n("flex", [["display", "flex"]]), n("grid", [["display", "grid"]]), n("inline-grid", [["display", "inline-grid"]]), n("contents", [["display", "contents"]]), n("list-item", [["display", "list-item"]]), n("field-sizing-content", [["field-sizing", "content"]]), n("field-sizing-fixed", [["field-sizing", "fixed"]]), o("aspect", { themeKeys: ["--aspect"], handleBareValue: ({ fraction: e }) => { if (null === e) return null; let [t, r] = Z(e, "/"); return Ne(t) && Ne(r) ? e : null }, handle: e => [T("aspect-ratio", e)], staticValues: { auto: [T("aspect-ratio", "auto")], square: [T("aspect-ratio", "1 / 1")] } }); for (let [e, t] of [["full", "100%"], ["svw", "100svw"], ["lvw", "100lvw"], ["dvw", "100dvw"], ["svh", "100svh"], ["lvh", "100lvh"], ["dvh", "100dvh"], ["min", "min-content"], ["max", "max-content"], ["fit", "fit-content"]]) n(`size-${e}`, [["--tw-sort", "size"], ["width", t], ["height", t]]), n(`w-${e}`, [["width", t]]), n(`h-${e}`, [["height", t]]), n(`min-w-${e}`, [["min-width", t]]), n(`min-h-${e}`, [["min-height", t]]), n(`max-w-${e}`, [["max-width", t]]), n(`max-h-${e}`, [["max-height", t]]); n("size-auto", [["--tw-sort", "size"], ["width", "auto"], ["height", "auto"]]), n("w-auto", [["width", "auto"]]), n("h-auto", [["height", "auto"]]), n("min-w-auto", [["min-width", "auto"]]), n("min-h-auto", [["min-height", "auto"]]), n("h-lh", [["height", "1lh"]]), n("min-h-lh", [["min-height", "1lh"]]), n("max-h-lh", [["max-height", "1lh"]]), n("w-screen", [["width", "100vw"]]), n("min-w-screen", [["min-width", "100vw"]]), n("max-w-screen", [["max-width", "100vw"]]), n("h-screen", [["height", "100vh"]]), n("min-h-screen", [["min-height", "100vh"]]), n("max-h-screen", [["max-height", "100vh"]]), n("max-w-none", [["max-width", "none"]]), n("max-h-none", [["max-height", "none"]]), a("size", ["--size", "--spacing"], e => [T("--tw-sort", "size"), T("width", e), T("height", e)], { supportsFractions: !0 }); for (let [e, t, r] of [["w", ["--width", "--spacing", "--container"], "width"], ["min-w", ["--min-width", "--spacing", "--container"], "min-width"], ["max-w", ["--max-width", "--spacing", "--container"], "max-width"], ["h", ["--height", "--spacing"], "height"], ["min-h", ["--min-height", "--height", "--spacing"], "min-height"], ["max-h", ["--max-height", "--height", "--spacing"], "max-height"]]) a(e, t, e => [T(r, e)], { supportsFractions: !0 }); for (let [e, t] of [["full", "100%"], ["min", "min-content"], ["max", "max-content"], ["fit", "fit-content"]]) n(`inline-${e}`, [["inline-size", t]]), n(`block-${e}`, [["block-size", t]]), n(`min-inline-${e}`, [["min-inline-size", t]]), n(`min-block-${e}`, [["min-block-size", t]]), n(`max-inline-${e}`, [["max-inline-size", t]]), n(`max-block-${e}`, [["max-block-size", t]]); for (let [e, t] of [["svw", "100svw"], ["lvw", "100lvw"], ["dvw", "100dvw"]]) n(`inline-${e}`, [["inline-size", t]]), n(`min-inline-${e}`, [["min-inline-size", t]]), n(`max-inline-${e}`, [["max-inline-size", t]]); for (let [e, t] of [["svh", "100svh"], ["lvh", "100lvh"], ["dvh", "100dvh"]]) n(`block-${e}`, [["block-size", t]]), n(`min-block-${e}`, [["min-block-size", t]]), n(`max-block-${e}`, [["max-block-size", t]]); n("inline-auto", [["inline-size", "auto"]]), n("block-auto", [["block-size", "auto"]]), n("min-inline-auto", [["min-inline-size", "auto"]]), n("min-block-auto", [["min-block-size", "auto"]]), n("block-lh", [["block-size", "1lh"]]), n("min-block-lh", [["min-block-size", "1lh"]]), n("max-block-lh", [["max-block-size", "1lh"]]), n("inline-screen", [["inline-size", "100vw"]]), n("min-inline-screen", [["min-inline-size", "100vw"]]), n("max-inline-screen", [["max-inline-size", "100vw"]]), n("block-screen", [["block-size", "100vh"]]), n("min-block-screen", [["min-block-size", "100vh"]]), n("max-block-screen", [["max-block-size", "100vh"]]), n("max-inline-none", [["max-inline-size", "none"]]), n("max-block-none", [["max-block-size", "none"]]); for (let [e, t, r] of [["inline", ["--spacing", "--container"], "inline-size"], ["min-inline", ["--spacing", "--container"], "min-inline-size"], ["max-inline", ["--spacing", "--container"], "max-inline-size"], ["block", ["--spacing"], "block-size"], ["min-block", ["--spacing"], "min-block-size"], ["max-block", ["--spacing"], "max-block-size"]]) a(e, t, e => [T(r, e)], { supportsFractions: !0 }); t.static("container", () => { let t = [...e.namespace("--breakpoint").values()]; t.sort((e, t) => ce(e, t, "asc")); let r = [T("--tw-sort", "--tw-container-component"), T("width", "100%")]; for (let e of t) r.push(S("@media", `(width >= ${e})`, [T("max-width", e)])); return r }), n("flex-auto", [["flex", "auto"]]), n("flex-initial", [["flex", "0 auto"]]), n("flex-none", [["flex", "none"]]), t.functional("flex", e => { if (e.value) { if ("arbitrary" === e.value.kind) return e.modifier ? void 0 : [T("flex", e.value.value)]; if (e.value.fraction) { let [t, r] = Z(e.value.fraction, "/"); return Ve(t) && Ve(r) ? [T("flex", `calc(${e.value.fraction} * 100%)`)] : void 0 } if (Ve(e.value.value)) return e.modifier ? void 0 : [T("flex", e.value.value)] } }), r("flex", () => [{ supportsFractions: !0 }, { values: Array.from({ length: 12 }, (e, t) => `${t + 1}`) }]), o("shrink", { defaultValue: "1", handleBareValue: ({ value: e }) => Ve(e) ? e : null, handle: e => [T("flex-shrink", e)] }), o("grow", { defaultValue: "1", handleBareValue: ({ value: e }) => Ve(e) ? e : null, handle: e => [T("flex-grow", e)] }), r("shrink", () => [{ values: ["0"], valueThemeKeys: [], hasDefaultValue: !0 }]), r("grow", () => [{ values: ["0"], valueThemeKeys: [], hasDefaultValue: !0 }]), n("basis-auto", [["flex-basis", "auto"]]), n("basis-full", [["flex-basis", "100%"]]), a("basis", ["--flex-basis", "--spacing", "--container"], e => [T("flex-basis", e)], { supportsFractions: !0 }), n("table-auto", [["table-layout", "auto"]]), n("table-fixed", [["table-layout", "fixed"]]), n("caption-top", [["caption-side", "top"]]), n("caption-bottom", [["caption-side", "bottom"]]), n("border-collapse", [["border-collapse", "collapse"]]), n("border-separate", [["border-collapse", "separate"]]); let l = () => V([Me("--tw-border-spacing-x", "0", "<length>"), Me("--tw-border-spacing-y", "0", "<length>")]); a("border-spacing", ["--border-spacing", "--spacing"], e => [l(), T("--tw-border-spacing-x", e), T("--tw-border-spacing-y", e), T("border-spacing", "var(--tw-border-spacing-x) var(--tw-border-spacing-y)")]), a("border-spacing-x", ["--border-spacing", "--spacing"], e => [l(), T("--tw-border-spacing-x", e), T("border-spacing", "var(--tw-border-spacing-x) var(--tw-border-spacing-y)")]), a("border-spacing-y", ["--border-spacing", "--spacing"], e => [l(), T("--tw-border-spacing-y", e), T("border-spacing", "var(--tw-border-spacing-x) var(--tw-border-spacing-y)")]), o("origin", { themeKeys: ["--transform-origin"], handle: e => [T("transform-origin", e)], staticValues: { center: [T("transform-origin", "center")], top: [T("transform-origin", "top")], "top-right": [T("transform-origin", "100% 0")], right: [T("transform-origin", "100%")], "bottom-right": [T("transform-origin", "100% 100%")], bottom: [T("transform-origin", "bottom")], "bottom-left": [T("transform-origin", "0 100%")], left: [T("transform-origin", "0")], "top-left": [T("transform-origin", "0 0")] } }), o("perspective-origin", { themeKeys: ["--perspective-origin"], handle: e => [T("perspective-origin", e)], staticValues: { center: [T("perspective-origin", "center")], top: [T("perspective-origin", "top")], "top-right": [T("perspective-origin", "100% 0")], right: [T("perspective-origin", "100%")], "bottom-right": [T("perspective-origin", "100% 100%")], bottom: [T("perspective-origin", "bottom")], "bottom-left": [T("perspective-origin", "0 100%")], left: [T("perspective-origin", "0")], "top-left": [T("perspective-origin", "0 0")] } }), o("perspective", { themeKeys: ["--perspective"], handle: e => [T("perspective", e)], staticValues: { none: [T("perspective", "none")] } }); let s = () => V([Me("--tw-translate-x", "0"), Me("--tw-translate-y", "0"), Me("--tw-translate-z", "0")]); n("translate-none", [["translate", "none"]]), n("-translate-full", [s, ["--tw-translate-x", "-100%"], ["--tw-translate-y", "-100%"], ["translate", "var(--tw-translate-x) var(--tw-translate-y)"]]), n("translate-full", [s, ["--tw-translate-x", "100%"], ["--tw-translate-y", "100%"], ["translate", "var(--tw-translate-x) var(--tw-translate-y)"]]), a("translate", ["--translate", "--spacing"], e => [s(), T("--tw-translate-x", e), T("--tw-translate-y", e), T("translate", "var(--tw-translate-x) var(--tw-translate-y)")], { supportsNegative: !0, supportsFractions: !0 }); for (let e of ["x", "y"]) n(`-translate-${e}-full`, [s, [`--tw-translate-${e}`, "-100%"], ["translate", "var(--tw-translate-x) var(--tw-translate-y)"]]), n(`translate-${e}-full`, [s, [`--tw-translate-${e}`, "100%"], ["translate", "var(--tw-translate-x) var(--tw-translate-y)"]]), a(`translate-${e}`, ["--translate", "--spacing"], t => [s(), T(`--tw-translate-${e}`, t), T("translate", "var(--tw-translate-x) var(--tw-translate-y)")], { supportsNegative: !0, supportsFractions: !0 }); a("translate-z", ["--translate", "--spacing"], e => [s(), T("--tw-translate-z", e), T("translate", "var(--tw-translate-x) var(--tw-translate-y) var(--tw-translate-z)")], { supportsNegative: !0 }), n("translate-3d", [s, ["translate", "var(--tw-translate-x) var(--tw-translate-y) var(--tw-translate-z)"]]); let c = () => V([Me("--tw-scale-x", "1"), Me("--tw-scale-y", "1"), Me("--tw-scale-z", "1")]); function u({ negative: t }) { return r => { if (!r.value || r.modifier) return; let n; return "arbitrary" === r.value.kind ? (n = r.value.value, n = t ? `calc(${n} * -1)` : n, [T("scale", n)]) : (n = e.resolve(r.value.value, ["--scale"]), !n && Ve(r.value.value) && (n = `${r.value.value}%`), n ? (n = t ? `calc(${n} * -1)` : n, [c(), T("--tw-scale-x", n), T("--tw-scale-y", n), T("--tw-scale-z", n), T("scale", "var(--tw-scale-x) var(--tw-scale-y)")]) : void 0) } } n("scale-none", [["scale", "none"]]), t.functional("-scale", u({ negative: !0 })), t.functional("scale", u({ negative: !1 })), r("scale", () => [{ supportsNegative: !0, values: ["0", "50", "75", "90", "95", "100", "105", "110", "125", "150", "200"], valueThemeKeys: ["--scale"] }]); for (let e of ["x", "y", "z"]) o(`scale-${e}`, { supportsNegative: !0, themeKeys: ["--scale"], handleBareValue: ({ value: e }) => Ve(e) ? `${e}%` : null, handle: t => [c(), T(`--tw-scale-${e}`, t), T("scale", "var(--tw-scale-x) var(--tw-scale-y)" + ("z" === e ? " var(--tw-scale-z)" : ""))] }), r(`scale-${e}`, () => [{ supportsNegative: !0, values: ["0", "50", "75", "90", "95", "100", "105", "110", "125", "150", "200"], valueThemeKeys: ["--scale"] }]); function d({ negative: t }) { return r => { if (!r.value || r.modifier) return; let n; if ("arbitrary" === r.value.kind) { n = r.value.value; let e = r.value.dataType ?? me(n, ["angle", "vector"]); if ("vector" === e) return [T("rotate", `${n} var(--tw-rotate)`)]; if ("angle" !== e) return [T("rotate", t ? `calc(${n} * -1)` : n)] } else if (n = e.resolve(r.value.value, ["--rotate"]), !n && Ve(r.value.value) && (n = `${r.value.value}deg`), !n) return; return [T("rotate", t ? `calc(${n} * -1)` : n)] } } n("scale-3d", [c, ["scale", "var(--tw-scale-x) var(--tw-scale-y) var(--tw-scale-z)"]]), n("rotate-none", [["rotate", "none"]]), t.functional("-rotate", d({ negative: !0 })), t.functional("rotate", d({ negative: !1 })), r("rotate", () => [{ supportsNegative: !0, values: ["0", "1", "2", "3", "6", "12", "45", "90", "180"], valueThemeKeys: ["--rotate"] }]); { let e = ["var(--tw-rotate-x,)", "var(--tw-rotate-y,)", "var(--tw-rotate-z,)", "var(--tw-skew-x,)", "var(--tw-skew-y,)"].join(" "), i = () => V([Me("--tw-rotate-x"), Me("--tw-rotate-y"), Me("--tw-rotate-z"), Me("--tw-skew-x"), Me("--tw-skew-y")]); for (let t of ["x", "y", "z"]) o(`rotate-${t}`, { supportsNegative: !0, themeKeys: ["--rotate"], handleBareValue: ({ value: e }) => Ve(e) ? `${e}deg` : null, handle: r => [i(), T(`--tw-rotate-${t}`, `rotate${t.toUpperCase()}(${r})`), T("transform", e)] }), r(`rotate-${t}`, () => [{ supportsNegative: !0, values: ["0", "1", "2", "3", "6", "12", "45", "90", "180"], valueThemeKeys: ["--rotate"] }]); o("skew", { supportsNegative: !0, themeKeys: ["--skew"], handleBareValue: ({ value: e }) => Ve(e) ? `${e}deg` : null, handle: t => [i(), T("--tw-skew-x", `skewX(${t})`), T("--tw-skew-y", `skewY(${t})`), T("transform", e)] }), o("skew-x", { supportsNegative: !0, themeKeys: ["--skew"], handleBareValue: ({ value: e }) => Ve(e) ? `${e}deg` : null, handle: t => [i(), T("--tw-skew-x", `skewX(${t})`), T("transform", e)] }), o("skew-y", { supportsNegative: !0, themeKeys: ["--skew"], handleBareValue: ({ value: e }) => Ve(e) ? `${e}deg` : null, handle: t => [i(), T("--tw-skew-y", `skewY(${t})`), T("transform", e)] }), r("skew", () => [{ supportsNegative: !0, values: ["0", "1", "2", "3", "6", "12"], valueThemeKeys: ["--skew"] }]), r("skew-x", () => [{ supportsNegative: !0, values: ["0", "1", "2", "3", "6", "12"], valueThemeKeys: ["--skew"] }]), r("skew-y", () => [{ supportsNegative: !0, values: ["0", "1", "2", "3", "6", "12"], valueThemeKeys: ["--skew"] }]), t.functional("transform", t => { if (t.modifier) return; let r = null; return t.value ? "arbitrary" === t.value.kind && (r = t.value.value) : r = e, null !== r ? [i(), T("transform", r)] : void 0 }), r("transform", () => [{ hasDefaultValue: !0 }]), n("transform-cpu", [["transform", e]]), n("transform-gpu", [["transform", `translateZ(0) ${e}`]]), n("transform-none", [["transform", "none"]]) } o("zoom", { handleBareValue: ({ value: e }) => Ve(e) ? `${e}%` : null, handle: e => [T("zoom", e)] }), r("zoom", () => [{ values: ["50", "75", "90", "95", "100", "105", "110", "125", "150", "200"] }]), n("transform-flat", [["transform-style", "flat"]]), n("transform-3d", [["transform-style", "preserve-3d"]]), n("transform-content", [["transform-box", "content-box"]]), n("transform-border", [["transform-box", "border-box"]]), n("transform-fill", [["transform-box", "fill-box"]]), n("transform-stroke", [["transform-box", "stroke-box"]]), n("transform-view", [["transform-box", "view-box"]]), n("backface-visible", [["backface-visibility", "visible"]]), n("backface-hidden", [["backface-visibility", "hidden"]]); for (let e of ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out"]) n(`cursor-${e}`, [["cursor", e]]); o("cursor", { themeKeys: ["--cursor"], handle: e => [T("cursor", e)] }); for (let e of ["auto", "none", "manipulation"]) n(`touch-${e}`, [["touch-action", e]]); let f = () => V([Me("--tw-pan-x"), Me("--tw-pan-y"), Me("--tw-pinch-zoom")]); for (let e of ["x", "left", "right"]) n(`touch-pan-${e}`, [f, ["--tw-pan-x", `pan-${e}`], ["touch-action", "var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)"]]); for (let e of ["y", "up", "down"]) n(`touch-pan-${e}`, [f, ["--tw-pan-y", `pan-${e}`], ["touch-action", "var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)"]]); n("touch-pinch-zoom", [f, ["--tw-pinch-zoom", "pinch-zoom"], ["touch-action", "var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)"]]); for (let e of ["none", "text", "all", "auto"]) n(`select-${e}`, [["-webkit-user-select", e], ["user-select", e]]); n("resize-none", [["resize", "none"]]), n("resize-x", [["resize", "horizontal"]]), n("resize-y", [["resize", "vertical"]]), n("resize", [["resize", "both"]]), n("snap-none", [["scroll-snap-type", "none"]]); let p = () => V([Me("--tw-scroll-snap-strictness", "proximity", "*")]); for (let e of ["x", "y", "both"]) n(`snap-${e}`, [p, ["scroll-snap-type", `${e} var(--tw-scroll-snap-strictness)`]]); n("snap-mandatory", [p, ["--tw-scroll-snap-strictness", "mandatory"]]), n("snap-proximity", [p, ["--tw-scroll-snap-strictness", "proximity"]]), n("snap-align-none", [["scroll-snap-align", "none"]]), n("snap-start", [["scroll-snap-align", "start"]]), n("snap-end", [["scroll-snap-align", "end"]]), n("snap-center", [["scroll-snap-align", "center"]]), n("snap-normal", [["scroll-snap-stop", "normal"]]), n("snap-always", [["scroll-snap-stop", "always"]]); for (let [e, t] of [["scroll-m", "scroll-margin"], ["scroll-mx", "scroll-margin-inline"], ["scroll-my", "scroll-margin-block"], ["scroll-ms", "scroll-margin-inline-start"], ["scroll-me", "scroll-margin-inline-end"], ["scroll-mbs", "scroll-margin-block-start"], ["scroll-mbe", "scroll-margin-block-end"], ["scroll-mt", "scroll-margin-top"], ["scroll-mr", "scroll-margin-right"], ["scroll-mb", "scroll-margin-bottom"], ["scroll-ml", "scroll-margin-left"]]) a(e, ["--scroll-margin", "--spacing"], e => [T(t, e)], { supportsNegative: !0 }); for (let [e, t] of [["scroll-p", "scroll-padding"], ["scroll-px", "scroll-padding-inline"], ["scroll-py", "scroll-padding-block"], ["scroll-ps", "scroll-padding-inline-start"], ["scroll-pe", "scroll-padding-inline-end"], ["scroll-pbs", "scroll-padding-block-start"], ["scroll-pbe", "scroll-padding-block-end"], ["scroll-pt", "scroll-padding-top"], ["scroll-pr", "scroll-padding-right"], ["scroll-pb", "scroll-padding-bottom"], ["scroll-pl", "scroll-padding-left"]]) a(e, ["--scroll-padding", "--spacing"], e => [T(t, e)]); n("list-inside", [["list-style-position", "inside"]]), n("list-outside", [["list-style-position", "outside"]]), o("list", { themeKeys: ["--list-style-type"], handle: e => [T("list-style-type", e)], staticValues: { none: [T("list-style-type", "none")], disc: [T("list-style-type", "disc")], decimal: [T("list-style-type", "decimal")] } }), o("list-image", { themeKeys: ["--list-style-image"], handle: e => [T("list-style-image", e)], staticValues: { none: [T("list-style-image", "none")] } }), n("appearance-none", [["appearance", "none"]]), n("appearance-auto", [["appearance", "auto"]]), n("scheme-normal", [["color-scheme", "normal"]]), n("scheme-dark", [["color-scheme", "dark"]]), n("scheme-light", [["color-scheme", "light"]]), n("scheme-light-dark", [["color-scheme", "light dark"]]), n("scheme-only-dark", [["color-scheme", "only dark"]]), n("scheme-only-light", [["color-scheme", "only light"]]), o("columns", { themeKeys: ["--columns", "--container"], handleBareValue: ({ value: e }) => Ve(e) ? e : null, handle: e => [T("columns", e)], staticValues: { auto: [T("columns", "auto")] } }), r("columns", () => [{ values: Array.from({ length: 12 }, (e, t) => `${t + 1}`), valueThemeKeys: ["--columns", "--container"] }]); for (let e of ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"]) n(`break-before-${e}`, [["break-before", e]]); for (let e of ["auto", "avoid", "avoid-page", "avoid-column"]) n(`break-inside-${e}`, [["break-inside", e]]); for (let e of ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"]) n(`break-after-${e}`, [["break-after", e]]); n("grid-flow-row", [["grid-auto-flow", "row"]]), n("grid-flow-col", [["grid-auto-flow", "column"]]), n("grid-flow-dense", [["grid-auto-flow", "dense"]]), n("grid-flow-row-dense", [["grid-auto-flow", "row dense"]]), n("grid-flow-col-dense", [["grid-auto-flow", "column dense"]]), o("auto-cols", { themeKeys: ["--grid-auto-columns"], handleBareValue: ({ value: t }) => e.resolve(null, ["--spacing"]) && Ne(t) ? `--spacing(${t})` : null, handle: e => [T("grid-auto-columns", e)], staticValues: { auto: [T("grid-auto-columns", "auto")], min: [T("grid-auto-columns", "min-content")], max: [T("grid-auto-columns", "max-content")], fr: [T("grid-auto-columns", "minmax(0, 1fr)")] } }), o("auto-rows", { themeKeys: ["--grid-auto-rows"], handleBareValue: ({ value: t }) => e.resolve(null, ["--spacing"]) && Ne(t) ? `--spacing(${t})` : null, handle: e => [T("grid-auto-rows", e)], staticValues: { auto: [T("grid-auto-rows", "auto")], min: [T("grid-auto-rows", "min-content")], max: [T("grid-auto-rows", "max-content")], fr: [T("grid-auto-rows", "minmax(0, 1fr)")] } }), o("grid-cols", { themeKeys: ["--grid-template-columns"], handleBareValue: ({ value: e }) => Ee(e) ? `repeat(${e}, minmax(0, 1fr))` : null, handle: e => [T("grid-template-columns", e)], staticValues: { none: [T("grid-template-columns", "none")], subgrid: [T("grid-template-columns", "subgrid")] } }), o("grid-rows", { themeKeys: ["--grid-template-rows"], handleBareValue: ({ value: e }) => Ee(e) ? `repeat(${e}, minmax(0, 1fr))` : null, handle: e => [T("grid-template-rows", e)], staticValues: { none: [T("grid-template-rows", "none")], subgrid: [T("grid-template-rows", "subgrid")] } }), r("grid-cols", () => [{ values: Array.from({ length: 12 }, (e, t) => `${t + 1}`), valueThemeKeys: ["--grid-template-columns"] }]), r("grid-rows", () => [{ values: Array.from({ length: 12 }, (e, t) => `${t + 1}`), valueThemeKeys: ["--grid-template-rows"] }]), n("flex-row", [["flex-direction", "row"]]), n("flex-row-reverse", [["flex-direction", "row-reverse"]]), n("flex-col", [["flex-direction", "column"]]), n("flex-col-reverse", [["flex-direction", "column-reverse"]]), n("flex-wrap", [["flex-wrap", "wrap"]]), n("flex-nowrap", [["flex-wrap", "nowrap"]]), n("flex-wrap-reverse", [["flex-wrap", "wrap-reverse"]]), n("place-content-center", [["place-content", "center"]]), n("place-content-start", [["place-content", "start"]]), n("place-content-end", [["place-content", "end"]]), n("place-content-center-safe", [["place-content", "safe center"]]), n("place-content-end-safe", [["place-content", "safe end"]]), n("place-content-between", [["place-content", "space-between"]]), n("place-content-around", [["place-content", "space-around"]]), n("place-content-evenly", [["place-content", "space-evenly"]]), n("place-content-baseline", [["place-content", "baseline"]]), n("place-content-stretch", [["place-content", "stretch"]]), n("place-items-center", [["place-items", "center"]]), n("place-items-start", [["place-items", "start"]]), n("place-items-end", [["place-items", "end"]]), n("place-items-center-safe", [["place-items", "safe center"]]), n("place-items-end-safe", [["place-items", "safe end"]]), n("place-items-baseline", [["place-items", "baseline"]]), n("place-items-stretch", [["place-items", "stretch"]]), n("content-normal", [["align-content", "normal"]]), n("content-center", [["align-content", "center"]]), n("content-start", [["align-content", "flex-start"]]), n("content-end", [["align-content", "flex-end"]]), n("content-center-safe", [["align-content", "safe center"]]), n("content-end-safe", [["align-content", "safe flex-end"]]), n("content-between", [["align-content", "space-between"]]), n("content-around", [["align-content", "space-around"]]), n("content-evenly", [["align-content", "space-evenly"]]), n("content-baseline", [["align-content", "baseline"]]), n("content-stretch", [["align-content", "stretch"]]), n("items-center", [["align-items", "center"]]), n("items-start", [["align-items", "flex-start"]]), n("items-end", [["align-items", "flex-end"]]), n("items-center-safe", [["align-items", "safe center"]]), n("items-end-safe", [["align-items", "safe flex-end"]]), n("items-baseline", [["align-items", "baseline"]]), n("items-baseline-last", [["align-items", "last baseline"]]), n("items-stretch", [["align-items", "stretch"]]), n("justify-normal", [["justify-content", "normal"]]), n("justify-center", [["justify-content", "center"]]), n("justify-start", [["justify-content", "flex-start"]]), n("justify-end", [["justify-content", "flex-end"]]), n("justify-center-safe", [["justify-content", "safe center"]]), n("justify-end-safe", [["justify-content", "safe flex-end"]]), n("justify-between", [["justify-content", "space-between"]]), n("justify-around", [["justify-content", "space-around"]]), n("justify-evenly", [["justify-content", "space-evenly"]]), n("justify-baseline", [["justify-content", "baseline"]]), n("justify-stretch", [["justify-content", "stretch"]]), n("justify-items-normal", [["justify-items", "normal"]]), n("justify-items-center", [["justify-items", "center"]]), n("justify-items-start", [["justify-items", "start"]]), n("justify-items-end", [["justify-items", "end"]]), n("justify-items-center-safe", [["justify-items", "safe center"]]), n("justify-items-end-safe", [["justify-items", "safe end"]]), n("justify-items-stretch", [["justify-items", "stretch"]]), a("gap", ["--gap", "--spacing"], e => [T("gap", e)]), a("gap-x", ["--gap", "--spacing"], e => [T("column-gap", e)]), a("gap-y", ["--gap", "--spacing"], e => [T("row-gap", e)]), a("space-x", ["--space", "--spacing"], e => { let t = (() => { if ("--spacing(0)" === e || "--spacing(-0)" === e) return !0; let t = de.get(e); return !(!t || 0 !== t[0] || null !== t[1] && !Te(e)) })(); return [V([Me("--tw-space-x-reverse", "0")]), A(":where(& > :not(:last-child))", [T("--tw-sort", "row-gap"), T("--tw-space-x-reverse", "0"), T("margin-inline-start", t ? "0" : `calc(${e} * var(--tw-space-x-reverse))`), T("margin-inline-end", t ? "0" : `calc(${e} * calc(1 - var(--tw-space-x-reverse)))`)])] }, { supportsNegative: !0 }), a("space-y", ["--space", "--spacing"], e => { let t = (() => { if ("--spacing(0)" === e || "--spacing(-0)" === e) return !0; let t = de.get(e); return !(!t || 0 !== t[0] || null !== t[1] && !Te(e)) })(); return [V([Me("--tw-space-y-reverse", "0")]), A(":where(& > :not(:last-child))", [T("--tw-sort", "column-gap"), T("--tw-space-y-reverse", "0"), T("margin-block-start", t ? "0" : `calc(${e} * var(--tw-space-y-reverse))`), T("margin-block-end", t ? "0" : `calc(${e} * calc(1 - var(--tw-space-y-reverse)))`)])] }, { supportsNegative: !0 }), n("space-x-reverse", [() => V([Me("--tw-space-x-reverse", "0")]), () => A(":where(& > :not(:last-child))", [T("--tw-sort", "row-gap"), T("--tw-space-x-reverse", "1")])]), n("space-y-reverse", [() => V([Me("--tw-space-y-reverse", "0")]), () => A(":where(& > :not(:last-child))", [T("--tw-sort", "column-gap"), T("--tw-space-y-reverse", "1")])]), n("accent-auto", [["accent-color", "auto"]]), i("accent", { themeKeys: ["--accent-color", "--color"], handle: e => [T("accent-color", e)] }), i("caret", { themeKeys: ["--caret-color", "--color"], handle: e => [T("caret-color", e)] }), i("divide", { themeKeys: ["--divide-color", "--border-color", "--color"], handle: e => [A(":where(& > :not(:last-child))", [T("--tw-sort", "divide-color"), T("border-color", e)])] }), n("place-self-auto", [["place-self", "auto"]]), n("place-self-start", [["place-self", "start"]]), n("place-self-end", [["place-self", "end"]]), n("place-self-center", [["place-self", "center"]]), n("place-self-end-safe", [["place-self", "safe end"]]), n("place-self-center-safe", [["place-self", "safe center"]]), n("place-self-stretch", [["place-self", "stretch"]]), n("self-auto", [["align-self", "auto"]]), n("self-start", [["align-self", "flex-start"]]), n("self-end", [["align-self", "flex-end"]]), n("self-center", [["align-self", "center"]]), n("self-end-safe", [["align-self", "safe flex-end"]]), n("self-center-safe", [["align-self", "safe center"]]), n("self-stretch", [["align-self", "stretch"]]), n("self-baseline", [["align-self", "baseline"]]), n("self-baseline-last", [["align-self", "last baseline"]]), n("justify-self-auto", [["justify-self", "auto"]]), n("justify-self-start", [["justify-self", "flex-start"]]), n("justify-self-end", [["justify-self", "flex-end"]]), n("justify-self-center", [["justify-self", "center"]]), n("justify-self-end-safe", [["justify-self", "safe flex-end"]]), n("justify-self-center-safe", [["justify-self", "safe center"]]), n("justify-self-stretch", [["justify-self", "stretch"]]); for (let e of ["auto", "hidden", "clip", "visible", "scroll"]) n(`overflow-${e}`, [["overflow", e]]), n(`overflow-x-${e}`, [["overflow-x", e]]), n(`overflow-y-${e}`, [["overflow-y", e]]); for (let e of ["auto", "contain", "none"]) n(`overscroll-${e}`, [["overscroll-behavior", e]]), n(`overscroll-x-${e}`, [["overscroll-behavior-x", e]]), n(`overscroll-y-${e}`, [["overscroll-behavior-y", e]]); n("scroll-auto", [["scroll-behavior", "auto"]]), n("scroll-smooth", [["scroll-behavior", "smooth"]]), n("scrollbar-auto", [["scrollbar-width", "auto"]]), n("scrollbar-thin", [["scrollbar-width", "thin"]]), n("scrollbar-none", [["scrollbar-width", "none"]]); { let e = () => V([Me("--tw-scrollbar-thumb", "#0000", "<color>"), Me("--tw-scrollbar-track", "#0000", "<color>")]); i("scrollbar-thumb", { themeKeys: ["--color"], handle: t => [e(), T("--tw-scrollbar-thumb", t), T("scrollbar-color", "var(--tw-scrollbar-thumb) var(--tw-scrollbar-track)")] }), i("scrollbar-track", { themeKeys: ["--color"], handle: t => [e(), T("--tw-scrollbar-track", t), T("scrollbar-color", "var(--tw-scrollbar-thumb) var(--tw-scrollbar-track)")] }) } n("scrollbar-gutter-auto", [["scrollbar-gutter", "auto"]]), n("scrollbar-gutter-stable", [["scrollbar-gutter", "stable"]]), n("scrollbar-gutter-both", [["scrollbar-gutter", "stable both-edges"]]), n("truncate", [["overflow", "hidden"], ["text-overflow", "ellipsis"], ["white-space", "nowrap"]]), n("text-ellipsis", [["text-overflow", "ellipsis"]]), n("text-clip", [["text-overflow", "clip"]]), n("hyphens-none", [["-webkit-hyphens", "none"], ["hyphens", "none"]]), n("hyphens-manual", [["-webkit-hyphens", "manual"], ["hyphens", "manual"]]), n("hyphens-auto", [["-webkit-hyphens", "auto"], ["hyphens", "auto"]]), n("whitespace-normal", [["white-space", "normal"]]), n("whitespace-nowrap", [["white-space", "nowrap"]]), n("whitespace-pre", [["white-space", "pre"]]), n("whitespace-pre-line", [["white-space", "pre-line"]]), n("whitespace-pre-wrap", [["white-space", "pre-wrap"]]), n("whitespace-break-spaces", [["white-space", "break-spaces"]]), o("tab", { handleBareValue: ({ value: e }) => Ve(e) ? e : null, handle: e => [T("tab-size", e)] }), r("tab", () => [{ values: ["2", "4", "8"] }]), n("text-wrap", [["text-wrap", "wrap"]]), n("text-nowrap", [["text-wrap", "nowrap"]]), n("text-balance", [["text-wrap", "balance"]]), n("text-pretty", [["text-wrap", "pretty"]]), n("break-normal", [["overflow-wrap", "normal"], ["word-break", "normal"]]), n("break-all", [["word-break", "break-all"]]), n("break-keep", [["word-break", "keep-all"]]), n("wrap-anywhere", [["overflow-wrap", "anywhere"]]), n("wrap-break-word", [["overflow-wrap", "break-word"]]), n("wrap-normal", [["overflow-wrap", "normal"]]); for (let [e, t] of [["rounded", ["border-radius"]], ["rounded-s", ["border-start-start-radius", "border-end-start-radius"]], ["rounded-e", ["border-start-end-radius", "border-end-end-radius"]], ["rounded-t", ["border-top-left-radius", "border-top-right-radius"]], ["rounded-r", ["border-top-right-radius", "border-bottom-right-radius"]], ["rounded-b", ["border-bottom-right-radius", "border-bottom-left-radius"]], ["rounded-l", ["border-top-left-radius", "border-bottom-left-radius"]], ["rounded-ss", ["border-start-start-radius"]], ["rounded-se", ["border-start-end-radius"]], ["rounded-ee", ["border-end-end-radius"]], ["rounded-es", ["border-end-start-radius"]], ["rounded-tl", ["border-top-left-radius"]], ["rounded-tr", ["border-top-right-radius"]], ["rounded-br", ["border-bottom-right-radius"]], ["rounded-bl", ["border-bottom-left-radius"]]]) o(e, { themeKeys: ["--radius"], handle: e => t.map(t => T(t, e)), staticValues: { none: t.map(e => T(e, "0")), full: t.map(e => T(e, "calc(infinity * 1px)")) } }); n("border-solid", [["--tw-border-style", "solid"], ["border-style", "solid"]]), n("border-dashed", [["--tw-border-style", "dashed"], ["border-style", "dashed"]]), n("border-dotted", [["--tw-border-style", "dotted"], ["border-style", "dotted"]]), n("border-double", [["--tw-border-style", "double"], ["border-style", "double"]]), n("border-hidden", [["--tw-border-style", "hidden"], ["border-style", "hidden"]]), n("border-none", [["--tw-border-style", "none"], ["border-style", "none"]]); { let i = function (n, o) { t.functional(n, t => { if (!t.value) { if (t.modifier) return; let r = e.get(["--default-border-width"]) ?? "1px", n = o.width(r); return n ? [a(), ...n] : void 0 } if ("arbitrary" === t.value.kind) { let r = t.value.value; switch (t.value.dataType ?? me(r, ["color", "line-width", "length"])) { case "line-width": case "length": { if (t.modifier) return; let e = o.width(r); return e ? [a(), ...e] : void 0 } default: return r = qe(r, t.modifier, e), null === r ? void 0 : o.color(r) } } { let r = He(t, e, ["--border-color", "--color"]); if (r) return o.color(r) } { if (t.modifier) return; let r = e.resolve(t.value.value, ["--border-width"]); if (r) { let e = o.width(r); return e ? [a(), ...e] : void 0 } if (Ve(t.value.value)) { let e = o.width(`${t.value.value}px`); return e ? [a(), ...e] : void 0 } } }), r(n, () => [{ values: ["current", "inherit", "transparent"], valueThemeKeys: ["--border-color", "--color"], modifierThemeKeys: ["--opacity"], modifiers: Array.from({ length: 21 }, (e, t) => "" + 5 * t), hasDefaultValue: !0 }, { values: ["0", "2", "4", "8"], valueThemeKeys: ["--border-width"] }]) }, a = () => V([Me("--tw-border-style", "solid")]); i("border", { width: e => [T("border-style", "var(--tw-border-style)"), T("border-width", e)], color: e => [T("border-color", e)] }), i("border-x", { width: e => [T("border-inline-style", "var(--tw-border-style)"), T("border-inline-width", e)], color: e => [T("border-inline-color", e)] }), i("border-y", { width: e => [T("border-block-style", "var(--tw-border-style)"), T("border-block-width", e)], color: e => [T("border-block-color", e)] }), i("border-s", { width: e => [T("border-inline-start-style", "var(--tw-border-style)"), T("border-inline-start-width", e)], color: e => [T("border-inline-start-color", e)] }), i("border-e", { width: e => [T("border-inline-end-style", "var(--tw-border-style)"), T("border-inline-end-width", e)], color: e => [T("border-inline-end-color", e)] }), i("border-bs", { width: e => [T("border-block-start-style", "var(--tw-border-style)"), T("border-block-start-width", e)], color: e => [T("border-block-start-color", e)] }), i("border-be", { width: e => [T("border-block-end-style", "var(--tw-border-style)"), T("border-block-end-width", e)], color: e => [T("border-block-end-color", e)] }), i("border-t", { width: e => [T("border-top-style", "var(--tw-border-style)"), T("border-top-width", e)], color: e => [T("border-top-color", e)] }), i("border-r", { width: e => [T("border-right-style", "var(--tw-border-style)"), T("border-right-width", e)], color: e => [T("border-right-color", e)] }), i("border-b", { width: e => [T("border-bottom-style", "var(--tw-border-style)"), T("border-bottom-width", e)], color: e => [T("border-bottom-color", e)] }), i("border-l", { width: e => [T("border-left-style", "var(--tw-border-style)"), T("border-left-width", e)], color: e => [T("border-left-color", e)] }), o("divide-x", { defaultValue: e.get(["--default-border-width"]) ?? "1px", themeKeys: ["--divide-width", "--border-width"], handleBareValue: ({ value: e }) => Ve(e) ? `${e}px` : null, handle: e => [V([Me("--tw-divide-x-reverse", "0")]), A(":where(& > :not(:last-child))", [T("--tw-sort", "divide-x-width"), a(), T("--tw-divide-x-reverse", "0"), T("border-inline-style", "var(--tw-border-style)"), T("border-inline-start-width", `calc(${e} * var(--tw-divide-x-reverse))`), T("border-inline-end-width", `calc(${e} * calc(1 - var(--tw-divide-x-reverse)))`)])] }), o("divide-y", { defaultValue: e.get(["--default-border-width"]) ?? "1px", themeKeys: ["--divide-width", "--border-width"], handleBareValue: ({ value: e }) => Ve(e) ? `${e}px` : null, handle: e => [V([Me("--tw-divide-y-reverse", "0")]), A(":where(& > :not(:last-child))", [T("--tw-sort", "divide-y-width"), a(), T("--tw-divide-y-reverse", "0"), T("border-bottom-style", "var(--tw-border-style)"), T("border-top-style", "var(--tw-border-style)"), T("border-top-width", `calc(${e} * var(--tw-divide-y-reverse))`), T("border-bottom-width", `calc(${e} * calc(1 - var(--tw-divide-y-reverse)))`)])] }), r("divide-x", () => [{ values: ["0", "2", "4", "8"], valueThemeKeys: ["--divide-width", "--border-width"], hasDefaultValue: !0 }]), r("divide-y", () => [{ values: ["0", "2", "4", "8"], valueThemeKeys: ["--divide-width", "--border-width"], hasDefaultValue: !0 }]), n("divide-x-reverse", [() => V([Me("--tw-divide-x-reverse", "0")]), () => A(":where(& > :not(:last-child))", [T("--tw-divide-x-reverse", "1")])]), n("divide-y-reverse", [() => V([Me("--tw-divide-y-reverse", "0")]), () => A(":where(& > :not(:last-child))", [T("--tw-divide-y-reverse", "1")])]); for (let e of ["solid", "dashed", "dotted", "double", "none"]) n(`divide-${e}`, [() => A(":where(& > :not(:last-child))", [T("--tw-sort", "divide-style"), T("--tw-border-style", e), T("border-style", e)])]) } n("bg-auto", [["background-size", "auto"]]), n("bg-cover", [["background-size", "cover"]]), n("bg-contain", [["background-size", "contain"]]), o("bg-size", { handle(e) { if (e) return [T("background-size", e)] } }), n("bg-fixed", [["background-attachment", "fixed"]]), n("bg-local", [["background-attachment", "local"]]), n("bg-scroll", [["background-attachment", "scroll"]]), n("bg-top", [["background-position", "top"]]), n("bg-top-left", [["background-position", "left top"]]), n("bg-top-right", [["background-position", "right top"]]), n("bg-bottom", [["background-position", "bottom"]]), n("bg-bottom-left", [["background-position", "left bottom"]]), n("bg-bottom-right", [["background-position", "right bottom"]]), n("bg-left", [["background-position", "left"]]), n("bg-right", [["background-position", "right"]]), n("bg-center", [["background-position", "center"]]), o("bg-position", { handle(e) { if (e) return [T("background-position", e)] } }), n("bg-repeat", [["background-repeat", "repeat"]]), n("bg-no-repeat", [["background-repeat", "no-repeat"]]), n("bg-repeat-x", [["background-repeat", "repeat-x"]]), n("bg-repeat-y", [["background-repeat", "repeat-y"]]), n("bg-repeat-round", [["background-repeat", "round"]]), n("bg-repeat-space", [["background-repeat", "space"]]), n("bg-none", [["background-image", "none"]]); { let e = function (e) { let t = "in oklab"; if ("named" === e?.kind) switch (e.value) { case "longer": case "shorter": case "increasing": case "decreasing": t = `in oklch ${e.value} hue`; break; default: t = `in ${e.value}` } else "arbitrary" === e?.kind && (t = e.value); return t }, n = function ({ negative: t }) { return r => { if (!r.value) return; if ("arbitrary" === r.value.kind) { if (r.modifier) return; let e = r.value.value; return "angle" === (r.value.dataType ?? me(e, ["angle"])) ? (e = t ? `calc(${e} * -1)` : `${e}`, [T("--tw-gradient-position", e), T("background-image", `linear-gradient(var(--tw-gradient-stops,${e}))`)]) : t ? void 0 : [T("--tw-gradient-position", e), T("background-image", `linear-gradient(var(--tw-gradient-stops,${e}))`)] } let n = r.value.value; if (!t && a.has(n)) n = a.get(n); else { if (!Ve(n)) return; n = t ? `calc(${n}deg * -1)` : `${n}deg` } let o = e(r.modifier); return [T("--tw-gradient-position", `${n}`), C("@supports (background-image: linear-gradient(in lab, red, red))", [T("--tw-gradient-position", `${n} ${o}`)]), T("background-image", "linear-gradient(var(--tw-gradient-stops))")] } }, o = function ({ negative: t }) { return r => { if ("arbitrary" === r.value?.kind) { if (r.modifier) return; let e = r.value.value; return [T("--tw-gradient-position", e), T("background-image", `conic-gradient(var(--tw-gradient-stops,${e}))`)] } let n = e(r.modifier); if (!r.value) return [T("--tw-gradient-position", n), T("background-image", "conic-gradient(var(--tw-gradient-stops))")]; let o = r.value.value; return Ve(o) ? (o = t ? `calc(${o}deg * -1)` : `${o}deg`, [T("--tw-gradient-position", `from ${o} ${n}`), T("background-image", "conic-gradient(var(--tw-gradient-stops))")]) : void 0 } }, i = ["oklab", "oklch", "srgb", "hsl", "longer", "shorter", "increasing", "decreasing"], a = new Map([["to-t", "to top"], ["to-tr", "to top right"], ["to-r", "to right"], ["to-br", "to bottom right"], ["to-b", "to bottom"], ["to-bl", "to bottom left"], ["to-l", "to left"], ["to-tl", "to top left"]]); t.functional("-bg-linear", n({ negative: !0 })), t.functional("bg-linear", n({ negative: !1 })), r("bg-linear", () => [{ values: [...a.keys()], modifiers: i }, { values: ["0", "30", "60", "90", "120", "150", "180", "210", "240", "270", "300", "330"], supportsNegative: !0, modifiers: i }]), t.functional("-bg-conic", o({ negative: !0 })), t.functional("bg-conic", o({ negative: !1 })), r("bg-conic", () => [{ hasDefaultValue: !0, modifiers: i }, { values: ["0", "30", "60", "90", "120", "150", "180", "210", "240", "270", "300", "330"], supportsNegative: !0, modifiers: i }]), t.functional("bg-radial", t => { if (!t.value) return [T("--tw-gradient-position", e(t.modifier)), T("background-image", "radial-gradient(var(--tw-gradient-stops))")]; if ("arbitrary" === t.value.kind) { if (t.modifier) return; let e = t.value.value; return [T("--tw-gradient-position", e), T("background-image", `radial-gradient(var(--tw-gradient-stops,${e}))`)] } }), r("bg-radial", () => [{ hasDefaultValue: !0, modifiers: i }]) } t.functional("bg", t => { if (t.value) { if ("arbitrary" === t.value.kind) { let r = t.value.value; switch (t.value.dataType ?? me(r, ["image", "color", "percentage", "position", "bg-size", "length", "url"])) { case "percentage": case "position": return t.modifier ? void 0 : [T("background-position", r)]; case "bg-size": case "length": case "size": return t.modifier ? void 0 : [T("background-size", r)]; case "image": case "url": return t.modifier ? void 0 : [T("background-image", r)]; default: return r = qe(r, t.modifier, e), null === r ? void 0 : [T("background-color", r)] } } { let r = He(t, e, ["--background-color", "--color"]); if (r) return [T("background-color", r)] } { if (t.modifier) return; let r = e.resolve(t.value.value, ["--background-image"]); if (r) return [T("background-image", r)] } } }), r("bg", () => [{ values: ["current", "inherit", "transparent"], valueThemeKeys: ["--background-color", "--color"], modifierThemeKeys: ["--opacity"], modifiers: Array.from({ length: 21 }, (e, t) => "" + 5 * t) }, { values: [], valueThemeKeys: ["--background-image"] }]); let h = () => V([Me("--tw-gradient-position"), Me("--tw-gradient-from", "#0000", "<color>"), Me("--tw-gradient-via", "#0000", "<color>"), Me("--tw-gradient-to", "#0000", "<color>"), Me("--tw-gradient-stops"), Me("--tw-gradient-via-stops"), Me("--tw-gradient-from-position", "0%", "<length-percentage>"), Me("--tw-gradient-via-position", "50%", "<length-percentage>"), Me("--tw-gradient-to-position", "100%", "<length-percentage>")]); function m(n, o) { t.functional(n, t => { if (t.value) { if ("arbitrary" === t.value.kind) { let r = t.value.value; switch (t.value.dataType ?? me(r, ["color", "length", "percentage"])) { case "length": case "percentage": return t.modifier ? void 0 : o.position(r); default: return r = qe(r, t.modifier, e), null === r ? void 0 : o.color(r) } } { let r = He(t, e, ["--background-color", "--color"]); if (r) return o.color(r) } { if (t.modifier) return; let r = e.resolve(t.value.value, ["--gradient-color-stop-positions"]); if (r) return o.position(r); if ("%" === t.value.value[t.value.value.length - 1] && Ve(t.value.value.slice(0, -1))) return o.position(t.value.value) } } }), r(n, () => [{ values: ["current", "inherit", "transparent"], valueThemeKeys: ["--background-color", "--color"], modifierThemeKeys: ["--opacity"], modifiers: Array.from({ length: 21 }, (e, t) => "" + 5 * t) }, { values: Array.from({ length: 21 }, (e, t) => 5 * t + "%"), valueThemeKeys: ["--gradient-color-stop-positions"] }]) } m("from", { color: e => [h(), T("--tw-sort", "--tw-gradient-from"), T("--tw-gradient-from", e), T("--tw-gradient-stops", "var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))")], position: e => [h(), T("--tw-gradient-from-position", e)] }), n("via-none", [["--tw-gradient-via-stops", "initial"]]), m("via", { color: e => [h(), T("--tw-sort", "--tw-gradient-via"), T("--tw-gradient-via", e), T("--tw-gradient-via-stops", "var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position)"), T("--tw-gradient-stops", "var(--tw-gradient-via-stops)")], position: e => [h(), T("--tw-gradient-via-position", e)] }), m("to", { color: e => [h(), T("--tw-sort", "--tw-gradient-to"), T("--tw-gradient-to", e), T("--tw-gradient-stops", "var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))")], position: e => [h(), T("--tw-gradient-to-position", e)] }), n("mask-none", [["mask-image", "none"]]), t.functional("mask", e => { if (!e.value || e.modifier || "arbitrary" !== e.value.kind) return; let t = e.value.value; switch (e.value.dataType ?? me(t, ["image", "percentage", "position", "bg-size", "length", "url"])) { case "percentage": case "position": return e.modifier ? void 0 : [T("mask-position", t)]; case "bg-size": case "length": case "size": return [T("mask-size", t)]; default: return [T("mask-image", t)] } }), n("mask-add", [["mask-composite", "add"]]), n("mask-subtract", [["mask-composite", "subtract"]]), n("mask-intersect", [["mask-composite", "intersect"]]), n("mask-exclude", [["mask-composite", "exclude"]]), n("mask-alpha", [["mask-mode", "alpha"]]), n("mask-luminance", [["mask-mode", "luminance"]]), n("mask-match", [["mask-mode", "match-source"]]), n("mask-type-alpha", [["mask-type", "alpha"]]), n("mask-type-luminance", [["mask-type", "luminance"]]), n("mask-auto", [["mask-size", "auto"]]), n("mask-cover", [["mask-size", "cover"]]), n("mask-contain", [["mask-size", "contain"]]), o("mask-size", { handle(e) { if (e) return [T("mask-size", e)] } }), n("mask-top", [["mask-position", "top"]]), n("mask-top-left", [["mask-position", "left top"]]), n("mask-top-right", [["mask-position", "right top"]]), n("mask-bottom", [["mask-position", "bottom"]]), n("mask-bottom-left", [["mask-position", "left bottom"]]), n("mask-bottom-right", [["mask-position", "right bottom"]]), n("mask-left", [["mask-position", "left"]]), n("mask-right", [["mask-position", "right"]]), n("mask-center", [["mask-position", "center"]]), o("mask-position", { handle(e) { if (e) return [T("mask-position", e)] } }), n("mask-repeat", [["mask-repeat", "repeat"]]), n("mask-no-repeat", [["mask-repeat", "no-repeat"]]), n("mask-repeat-x", [["mask-repeat", "repeat-x"]]), n("mask-repeat-y", [["mask-repeat", "repeat-y"]]), n("mask-repeat-round", [["mask-repeat", "round"]]), n("mask-repeat-space", [["mask-repeat", "space"]]), n("mask-clip-border", [["mask-clip", "border-box"]]), n("mask-clip-padding", [["mask-clip", "padding-box"]]), n("mask-clip-content", [["mask-clip", "content-box"]]), n("mask-clip-fill", [["mask-clip", "fill-box"]]), n("mask-clip-stroke", [["mask-clip", "stroke-box"]]), n("mask-clip-view", [["mask-clip", "view-box"]]), n("mask-no-clip", [["mask-clip", "no-clip"]]), n("mask-origin-border", [["mask-origin", "border-box"]]), n("mask-origin-padding", [["mask-origin", "padding-box"]]), n("mask-origin-content", [["mask-origin", "content-box"]]), n("mask-origin-fill", [["mask-origin", "fill-box"]]), n("mask-origin-stroke", [["mask-origin", "stroke-box"]]), n("mask-origin-view", [["mask-origin", "view-box"]]); let g = () => V([Me("--tw-mask-linear", "linear-gradient(#fff, #fff)"), Me("--tw-mask-radial", "linear-gradient(#fff, #fff)"), Me("--tw-mask-conic", "linear-gradient(#fff, #fff)")]); function v(n, o) { t.functional(n, t => { if (t.value) { if ("arbitrary" === t.value.kind) { let r = t.value.value; switch (t.value.dataType ?? me(r, ["length", "percentage", "color"])) { case "color": return r = qe(r, t.modifier, e), null === r ? void 0 : o.color(r); case "percentage": return t.modifier || !Ve(r.slice(0, -1)) ? void 0 : o.position(r); default: return t.modifier ? void 0 : o.position(r) } } { let r = He(t, e, ["--background-color", "--color"]); if (r) return o.color(r) } { if (t.modifier) return; let r = me(t.value.value, ["number", "percentage"]); if (!r) return; switch (r) { case "number": return e.resolve(null, ["--spacing"]) && Ne(t.value.value) ? o.position(`--spacing(${t.value.value})`) : void 0; case "percentage": return Ve(t.value.value.slice(0, -1)) ? o.position(t.value.value) : void 0; default: return } } } }), r(n, () => [{ values: ["current", "inherit", "transparent"], valueThemeKeys: ["--background-color", "--color"], modifierThemeKeys: ["--opacity"], modifiers: Array.from({ length: 21 }, (e, t) => "" + 5 * t) }, { values: Array.from({ length: 21 }, (e, t) => 5 * t + "%"), valueThemeKeys: ["--gradient-color-stop-positions"] }]), r(n, () => [{ values: Array.from({ length: 21 }, (e, t) => 5 * t + "%") }, { values: e.get(["--spacing"]) ? _e : [] }, { values: ["current", "inherit", "transparent"], valueThemeKeys: ["--background-color", "--color"], modifierThemeKeys: ["--opacity"], modifiers: Array.from({ length: 21 }, (e, t) => "" + 5 * t) }]) } let k = () => V([Me("--tw-mask-left", "linear-gradient(#fff, #fff)"), Me("--tw-mask-right", "linear-gradient(#fff, #fff)"), Me("--tw-mask-bottom", "linear-gradient(#fff, #fff)"), Me("--tw-mask-top", "linear-gradient(#fff, #fff)")]); function w(e, t, r) { v(e, { color(e) { let n = [g(), k(), T("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), T("mask-composite", "intersect"), T("--tw-mask-linear", "var(--tw-mask-left), var(--tw-mask-right), var(--tw-mask-bottom), var(--tw-mask-top)")]; for (let o of ["top", "right", "bottom", "left"]) r[o] && (n.push(T(`--tw-mask-${o}`, `linear-gradient(to ${o}, var(--tw-mask-${o}-from-color) var(--tw-mask-${o}-from-position), var(--tw-mask-${o}-to-color) var(--tw-mask-${o}-to-position))`)), n.push(V([Me(`--tw-mask-${o}-from-position`, "0%"), Me(`--tw-mask-${o}-to-position`, "100%"), Me(`--tw-mask-${o}-from-color`, "black"), Me(`--tw-mask-${o}-to-color`, "transparent")])), n.push(T(`--tw-mask-${o}-${t}-color`, e))); return n }, position(e) { let n = [g(), k(), T("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), T("mask-composite", "intersect"), T("--tw-mask-linear", "var(--tw-mask-left), var(--tw-mask-right), var(--tw-mask-bottom), var(--tw-mask-top)")]; for (let o of ["top", "right", "bottom", "left"]) r[o] && (n.push(T(`--tw-mask-${o}`, `linear-gradient(to ${o}, var(--tw-mask-${o}-from-color) var(--tw-mask-${o}-from-position), var(--tw-mask-${o}-to-color) var(--tw-mask-${o}-to-position))`)), n.push(V([Me(`--tw-mask-${o}-from-position`, "0%"), Me(`--tw-mask-${o}-to-position`, "100%"), Me(`--tw-mask-${o}-from-color`, "black"), Me(`--tw-mask-${o}-to-color`, "transparent")])), n.push(T(`--tw-mask-${o}-${t}-position`, e))); return n } }) } w("mask-x-from", "from", { top: !1, right: !0, bottom: !1, left: !0 }), w("mask-x-to", "to", { top: !1, right: !0, bottom: !1, left: !0 }), w("mask-y-from", "from", { top: !0, right: !1, bottom: !0, left: !1 }), w("mask-y-to", "to", { top: !0, right: !1, bottom: !0, left: !1 }), w("mask-t-from", "from", { top: !0, right: !1, bottom: !1, left: !1 }), w("mask-t-to", "to", { top: !0, right: !1, bottom: !1, left: !1 }), w("mask-r-from", "from", { top: !1, right: !0, bottom: !1, left: !1 }), w("mask-r-to", "to", { top: !1, right: !0, bottom: !1, left: !1 }), w("mask-b-from", "from", { top: !1, right: !1, bottom: !0, left: !1 }), w("mask-b-to", "to", { top: !1, right: !1, bottom: !0, left: !1 }), w("mask-l-from", "from", { top: !1, right: !1, bottom: !1, left: !0 }), w("mask-l-to", "to", { top: !1, right: !1, bottom: !1, left: !0 }); let b = () => V([Me("--tw-mask-linear-position", "0deg"), Me("--tw-mask-linear-from-position", "0%"), Me("--tw-mask-linear-to-position", "100%"), Me("--tw-mask-linear-from-color", "black"), Me("--tw-mask-linear-to-color", "transparent")]); o("mask-linear", { defaultValue: null, supportsNegative: !0, supportsFractions: !1, handleBareValue({ value: e }) { if (!Ve(e)) return null; let t = Number(e); return 0 === t ? "0deg" : 1 === t ? "1deg" : `calc(1deg * ${e})` }, handleNegativeBareValue({ value: e }) { if (!Ve(e)) return null; let t = Number(e); return 0 === t ? "0deg" : 1 === t ? "-1deg" : `calc(1deg * -${e})` }, handle: e => [g(), b(), T("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), T("mask-composite", "intersect"), T("--tw-mask-linear", "linear-gradient(var(--tw-mask-linear-stops, var(--tw-mask-linear-position)))"), T("--tw-mask-linear-position", e)] }), r("mask-linear", () => [{ supportsNegative: !0, values: ["0", "1", "2", "3", "6", "12", "45", "90", "180"] }]), v("mask-linear-from", { color: e => [g(), b(), T("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), T("mask-composite", "intersect"), T("--tw-mask-linear-stops", "var(--tw-mask-linear-position), var(--tw-mask-linear-from-color) var(--tw-mask-linear-from-position), var(--tw-mask-linear-to-color) var(--tw-mask-linear-to-position)"), T("--tw-mask-linear", "linear-gradient(var(--tw-mask-linear-stops))"), T("--tw-mask-linear-from-color", e)], position: e => [g(), b(), T("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), T("mask-composite", "intersect"), T("--tw-mask-linear-stops", "var(--tw-mask-linear-position), var(--tw-mask-linear-from-color) var(--tw-mask-linear-from-position), var(--tw-mask-linear-to-color) var(--tw-mask-linear-to-position)"), T("--tw-mask-linear", "linear-gradient(var(--tw-mask-linear-stops))"), T("--tw-mask-linear-from-position", e)] }), v("mask-linear-to", { color: e => [g(), b(), T("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), T("mask-composite", "intersect"), T("--tw-mask-linear-stops", "var(--tw-mask-linear-position), var(--tw-mask-linear-from-color) var(--tw-mask-linear-from-position), var(--tw-mask-linear-to-color) var(--tw-mask-linear-to-position)"), T("--tw-mask-linear", "linear-gradient(var(--tw-mask-linear-stops))"), T("--tw-mask-linear-to-color", e)], position: e => [g(), b(), T("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), T("mask-composite", "intersect"), T("--tw-mask-linear-stops", "var(--tw-mask-linear-position), var(--tw-mask-linear-from-color) var(--tw-mask-linear-from-position), var(--tw-mask-linear-to-color) var(--tw-mask-linear-to-position)"), T("--tw-mask-linear", "linear-gradient(var(--tw-mask-linear-stops))"), T("--tw-mask-linear-to-position", e)] }); let y = () => V([Me("--tw-mask-radial-from-position", "0%"), Me("--tw-mask-radial-to-position", "100%"), Me("--tw-mask-radial-from-color", "black"), Me("--tw-mask-radial-to-color", "transparent"), Me("--tw-mask-radial-shape", "ellipse"), Me("--tw-mask-radial-size", "farthest-corner"), Me("--tw-mask-radial-position", "center")]); n("mask-circle", [["--tw-mask-radial-shape", "circle"]]), n("mask-ellipse", [["--tw-mask-radial-shape", "ellipse"]]), n("mask-radial-closest-side", [["--tw-mask-radial-size", "closest-side"]]), n("mask-radial-farthest-side", [["--tw-mask-radial-size", "farthest-side"]]), n("mask-radial-closest-corner", [["--tw-mask-radial-size", "closest-corner"]]), n("mask-radial-farthest-corner", [["--tw-mask-radial-size", "farthest-corner"]]), n("mask-radial-at-top", [["--tw-mask-radial-position", "top"]]), n("mask-radial-at-top-left", [["--tw-mask-radial-position", "top left"]]), n("mask-radial-at-top-right", [["--tw-mask-radial-position", "top right"]]), n("mask-radial-at-bottom", [["--tw-mask-radial-position", "bottom"]]), n("mask-radial-at-bottom-left", [["--tw-mask-radial-position", "bottom left"]]), n("mask-radial-at-bottom-right", [["--tw-mask-radial-position", "bottom right"]]), n("mask-radial-at-left", [["--tw-mask-radial-position", "left"]]), n("mask-radial-at-right", [["--tw-mask-radial-position", "right"]]), n("mask-radial-at-center", [["--tw-mask-radial-position", "center"]]), o("mask-radial-at", { defaultValue: null, supportsNegative: !1, supportsFractions: !1, handle: e => [T("--tw-mask-radial-position", e)] }), o("mask-radial", { defaultValue: null, supportsNegative: !1, supportsFractions: !1, handle: e => [g(), y(), T("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), T("mask-composite", "intersect"), T("--tw-mask-radial", "radial-gradient(var(--tw-mask-radial-stops, var(--tw-mask-radial-size)))"), T("--tw-mask-radial-size", e)] }), v("mask-radial-from", { color: e => [g(), y(), T("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), T("mask-composite", "intersect"), T("--tw-mask-radial-stops", "var(--tw-mask-radial-shape) var(--tw-mask-radial-size) at var(--tw-mask-radial-position), var(--tw-mask-radial-from-color) var(--tw-mask-radial-from-position), var(--tw-mask-radial-to-color) var(--tw-mask-radial-to-position)"), T("--tw-mask-radial", "radial-gradient(var(--tw-mask-radial-stops))"), T("--tw-mask-radial-from-color", e)], position: e => [g(), y(), T("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), T("mask-composite", "intersect"), T("--tw-mask-radial-stops", "var(--tw-mask-radial-shape) var(--tw-mask-radial-size) at var(--tw-mask-radial-position), var(--tw-mask-radial-from-color) var(--tw-mask-radial-from-position), var(--tw-mask-radial-to-color) var(--tw-mask-radial-to-position)"), T("--tw-mask-radial", "radial-gradient(var(--tw-mask-radial-stops))"), T("--tw-mask-radial-from-position", e)] }), v("mask-radial-to", { color: e => [g(), y(), T("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), T("mask-composite", "intersect"), T("--tw-mask-radial-stops", "var(--tw-mask-radial-shape) var(--tw-mask-radial-size) at var(--tw-mask-radial-position), var(--tw-mask-radial-from-color) var(--tw-mask-radial-from-position), var(--tw-mask-radial-to-color) var(--tw-mask-radial-to-position)"), T("--tw-mask-radial", "radial-gradient(var(--tw-mask-radial-stops))"), T("--tw-mask-radial-to-color", e)], position: e => [g(), y(), T("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), T("mask-composite", "intersect"), T("--tw-mask-radial-stops", "var(--tw-mask-radial-shape) var(--tw-mask-radial-size) at var(--tw-mask-radial-position), var(--tw-mask-radial-from-color) var(--tw-mask-radial-from-position), var(--tw-mask-radial-to-color) var(--tw-mask-radial-to-position)"), T("--tw-mask-radial", "radial-gradient(var(--tw-mask-radial-stops))"), T("--tw-mask-radial-to-position", e)] }); let x = () => V([Me("--tw-mask-conic-position", "0deg"), Me("--tw-mask-conic-from-position", "0%"), Me("--tw-mask-conic-to-position", "100%"), Me("--tw-mask-conic-from-color", "black"), Me("--tw-mask-conic-to-color", "transparent")]); o("mask-conic", { defaultValue: null, supportsNegative: !0, supportsFractions: !1, handleBareValue({ value: e }) { if (!Ve(e)) return null; let t = Number(e); return 0 === t ? "0deg" : 1 === t ? "1deg" : `calc(1deg * ${e})` }, handleNegativeBareValue({ value: e }) { if (!Ve(e)) return null; let t = Number(e); return 0 === t ? "0deg" : 1 === t ? "-1deg" : `calc(1deg * -${e})` }, handle: e => [g(), x(), T("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), T("mask-composite", "intersect"), T("--tw-mask-conic", "conic-gradient(var(--tw-mask-conic-stops, var(--tw-mask-conic-position)))"), T("--tw-mask-conic-position", e)] }), r("mask-conic", () => [{ supportsNegative: !0, values: ["0", "1", "2", "3", "6", "12", "45", "90", "180"] }]), v("mask-conic-from", { color: e => [g(), x(), T("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), T("mask-composite", "intersect"), T("--tw-mask-conic-stops", "from var(--tw-mask-conic-position), var(--tw-mask-conic-from-color) var(--tw-mask-conic-from-position), var(--tw-mask-conic-to-color) var(--tw-mask-conic-to-position)"), T("--tw-mask-conic", "conic-gradient(var(--tw-mask-conic-stops))"), T("--tw-mask-conic-from-color", e)], position: e => [g(), x(), T("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), T("mask-composite", "intersect"), T("--tw-mask-conic-stops", "from var(--tw-mask-conic-position), var(--tw-mask-conic-from-color) var(--tw-mask-conic-from-position), var(--tw-mask-conic-to-color) var(--tw-mask-conic-to-position)"), T("--tw-mask-conic", "conic-gradient(var(--tw-mask-conic-stops))"), T("--tw-mask-conic-from-position", e)] }), v("mask-conic-to", { color: e => [g(), x(), T("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), T("mask-composite", "intersect"), T("--tw-mask-conic-stops", "from var(--tw-mask-conic-position), var(--tw-mask-conic-from-color) var(--tw-mask-conic-from-position), var(--tw-mask-conic-to-color) var(--tw-mask-conic-to-position)"), T("--tw-mask-conic", "conic-gradient(var(--tw-mask-conic-stops))"), T("--tw-mask-conic-to-color", e)], position: e => [g(), x(), T("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), T("mask-composite", "intersect"), T("--tw-mask-conic-stops", "from var(--tw-mask-conic-position), var(--tw-mask-conic-from-color) var(--tw-mask-conic-from-position), var(--tw-mask-conic-to-color) var(--tw-mask-conic-to-position)"), T("--tw-mask-conic", "conic-gradient(var(--tw-mask-conic-stops))"), T("--tw-mask-conic-to-position", e)] }), n("box-decoration-slice", [["-webkit-box-decoration-break", "slice"], ["box-decoration-break", "slice"]]), n("box-decoration-clone", [["-webkit-box-decoration-break", "clone"], ["box-decoration-break", "clone"]]), n("bg-clip-text", [["background-clip", "text"]]), n("bg-clip-border", [["background-clip", "border-box"]]), n("bg-clip-padding", [["background-clip", "padding-box"]]), n("bg-clip-content", [["background-clip", "content-box"]]), n("bg-origin-border", [["background-origin", "border-box"]]), n("bg-origin-padding", [["background-origin", "padding-box"]]), n("bg-origin-content", [["background-origin", "content-box"]]); for (let e of ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"]) n(`bg-blend-${e}`, [["background-blend-mode", e]]), n(`mix-blend-${e}`, [["mix-blend-mode", e]]); n("mix-blend-plus-darker", [["mix-blend-mode", "plus-darker"]]), n("mix-blend-plus-lighter", [["mix-blend-mode", "plus-lighter"]]), n("fill-none", [["fill", "none"]]), t.functional("fill", t => { if (!t.value) return; if ("arbitrary" === t.value.kind) { let r = qe(t.value.value, t.modifier, e); return null === r ? void 0 : [T("fill", r)] } let r = He(t, e, ["--fill", "--color"]); return r ? [T("fill", r)] : void 0 }), r("fill", () => [{ values: ["current", "inherit", "transparent"], valueThemeKeys: ["--fill", "--color"], modifierThemeKeys: ["--opacity"], modifiers: Array.from({ length: 21 }, (e, t) => "" + 5 * t) }]), n("stroke-none", [["stroke", "none"]]), t.functional("stroke", t => { if (t.value) { if ("arbitrary" === t.value.kind) { let r = t.value.value; switch (t.value.dataType ?? me(r, ["color", "number", "length", "percentage"])) { case "number": case "length": case "percentage": return t.modifier ? void 0 : [T("stroke-width", r)]; default: return r = qe(t.value.value, t.modifier, e), null === r ? void 0 : [T("stroke", r)] } } { let r = He(t, e, ["--stroke", "--color"]); if (r) return [T("stroke", r)] } { let r = e.resolve(t.value.value, ["--stroke-width"]); if (r) return [T("stroke-width", r)]; if (Ve(t.value.value)) return [T("stroke-width", t.value.value)] } } }), r("stroke", () => [{ values: ["current", "inherit", "transparent"], valueThemeKeys: ["--stroke", "--color"], modifierThemeKeys: ["--opacity"], modifiers: Array.from({ length: 21 }, (e, t) => "" + 5 * t) }, { values: ["0", "1", "2", "3"], valueThemeKeys: ["--stroke-width"] }]), n("object-contain", [["object-fit", "contain"]]), n("object-cover", [["object-fit", "cover"]]), n("object-fill", [["object-fit", "fill"]]), n("object-none", [["object-fit", "none"]]), n("object-scale-down", [["object-fit", "scale-down"]]), o("object", { themeKeys: ["--object-position"], handle: e => [T("object-position", e)], staticValues: { top: [T("object-position", "top")], "top-left": [T("object-position", "left top")], "top-right": [T("object-position", "right top")], bottom: [T("object-position", "bottom")], "bottom-left": [T("object-position", "left bottom")], "bottom-right": [T("object-position", "right bottom")], left: [T("object-position", "left")], right: [T("object-position", "right")], center: [T("object-position", "center")] } }); for (let [e, t] of [["p", "padding"], ["px", "padding-inline"], ["py", "padding-block"], ["ps", "padding-inline-start"], ["pe", "padding-inline-end"], ["pbs", "padding-block-start"], ["pbe", "padding-block-end"], ["pt", "padding-top"], ["pr", "padding-right"], ["pb", "padding-bottom"], ["pl", "padding-left"]]) a(e, ["--padding", "--spacing"], e => [T(t, e)]); n("text-left", [["text-align", "left"]]), n("text-center", [["text-align", "center"]]), n("text-right", [["text-align", "right"]]), n("text-justify", [["text-align", "justify"]]), n("text-start", [["text-align", "start"]]), n("text-end", [["text-align", "end"]]), a("indent", ["--text-indent", "--spacing"], e => [T("text-indent", e)], { supportsNegative: !0 }), n("align-baseline", [["vertical-align", "baseline"]]), n("align-top", [["vertical-align", "top"]]), n("align-middle", [["vertical-align", "middle"]]), n("align-bottom", [["vertical-align", "bottom"]]), n("align-text-top", [["vertical-align", "text-top"]]), n("align-text-bottom", [["vertical-align", "text-bottom"]]), n("align-sub", [["vertical-align", "sub"]]), n("align-super", [["vertical-align", "super"]]), o("align", { themeKeys: [], handle: e => [T("vertical-align", e)] }), t.functional("font", t => { if (t.value && !t.modifier) { if ("arbitrary" === t.value.kind) { let e = t.value.value; switch (t.value.dataType ?? me(e, ["number", "generic-name", "family-name"])) { case "generic-name": case "family-name": return [T("font-family", e)]; default: return [V([Me("--tw-font-weight")]), T("--tw-font-weight", e), T("font-weight", e)] } } { let r = e.resolveWith(t.value.value, ["--font"], ["--font-feature-settings", "--font-variation-settings"]); if (r) { let [e, t = {}] = r; return [T("font-family", e), T("font-feature-settings", t["--font-feature-settings"]), T("font-variation-settings", t["--font-variation-settings"])] } } { let r = e.resolve(t.value.value, ["--font-weight"]); if (r) return [V([Me("--tw-font-weight")]), T("--tw-font-weight", r), T("font-weight", r)] } } }), r("font", () => [{ values: [], valueThemeKeys: ["--font"] }, { values: [], valueThemeKeys: ["--font-weight"] }]), o("font-features", { themeKeys: [], handle: e => [T("font-feature-settings", e)] }), n("uppercase", [["text-transform", "uppercase"]]), n("lowercase", [["text-transform", "lowercase"]]), n("capitalize", [["text-transform", "capitalize"]]), n("normal-case", [["text-transform", "none"]]), n("italic", [["font-style", "italic"]]), n("not-italic", [["font-style", "normal"]]), n("underline", [["text-decoration-line", "underline"]]), n("overline", [["text-decoration-line", "overline"]]), n("line-through", [["text-decoration-line", "line-through"]]), n("no-underline", [["text-decoration-line", "none"]]), n("font-stretch-normal", [["font-stretch", "normal"]]), n("font-stretch-ultra-condensed", [["font-stretch", "ultra-condensed"]]), n("font-stretch-extra-condensed", [["font-stretch", "extra-condensed"]]), n("font-stretch-condensed", [["font-stretch", "condensed"]]), n("font-stretch-semi-condensed", [["font-stretch", "semi-condensed"]]), n("font-stretch-semi-expanded", [["font-stretch", "semi-expanded"]]), n("font-stretch-expanded", [["font-stretch", "expanded"]]), n("font-stretch-extra-expanded", [["font-stretch", "extra-expanded"]]), n("font-stretch-ultra-expanded", [["font-stretch", "ultra-expanded"]]), o("font-stretch", { handleBareValue: ({ value: e }) => { if (!e.endsWith("%")) return null; let t = Number(e.slice(0, -1)); return !Ve(t) || Number.isNaN(t) || t < 50 || t > 200 ? null : e }, handle: e => [T("font-stretch", e)] }), r("font-stretch", () => [{ values: ["50%", "75%", "90%", "95%", "100%", "105%", "110%", "125%", "150%", "200%"] }]), i("placeholder", { themeKeys: ["--placeholder-color", "--color"], handle: e => [A("&::placeholder", [T("--tw-sort", "placeholder-color"), T("color", e)])] }), n("decoration-solid", [["text-decoration-style", "solid"]]), n("decoration-double", [["text-decoration-style", "double"]]), n("decoration-dotted", [["text-decoration-style", "dotted"]]), n("decoration-dashed", [["text-decoration-style", "dashed"]]), n("decoration-wavy", [["text-decoration-style", "wavy"]]), n("decoration-auto", [["text-decoration-thickness", "auto"]]), n("decoration-from-font", [["text-decoration-thickness", "from-font"]]), t.functional("decoration", t => { if (t.value) { if ("arbitrary" === t.value.kind) { let r = t.value.value; switch (t.value.dataType ?? me(r, ["color", "length", "percentage"])) { case "length": case "percentage": return t.modifier ? void 0 : [T("text-decoration-thickness", r)]; default: return r = qe(r, t.modifier, e), null === r ? void 0 : [T("text-decoration-color", r)] } } { let r = e.resolve(t.value.value, ["--text-decoration-thickness"]); if (r) return t.modifier ? void 0 : [T("text-decoration-thickness", r)]; if (Ve(t.value.value)) return t.modifier ? void 0 : [T("text-decoration-thickness", `${t.value.value}px`)] } { let r = He(t, e, ["--text-decoration-color", "--color"]); if (r) return [T("text-decoration-color", r)] } } }), r("decoration", () => [{ values: ["current", "inherit", "transparent"], valueThemeKeys: ["--text-decoration-color", "--color"], modifierThemeKeys: ["--opacity"], modifiers: Array.from({ length: 21 }, (e, t) => "" + 5 * t) }, { values: ["0", "1", "2"], valueThemeKeys: ["--text-decoration-thickness"] }]), o("animate", { themeKeys: ["--animate"], handle: e => [T("animation", e)], staticValues: { none: [T("animation", "none")] } }); { let i = ["var(--tw-blur,)", "var(--tw-brightness,)", "var(--tw-contrast,)", "var(--tw-grayscale,)", "var(--tw-hue-rotate,)", "var(--tw-invert,)", "var(--tw-saturate,)", "var(--tw-sepia,)", "var(--tw-drop-shadow,)"].join(" "), a = ["var(--tw-backdrop-blur,)", "var(--tw-backdrop-brightness,)", "var(--tw-backdrop-contrast,)", "var(--tw-backdrop-grayscale,)", "var(--tw-backdrop-hue-rotate,)", "var(--tw-backdrop-invert,)", "var(--tw-backdrop-opacity,)", "var(--tw-backdrop-saturate,)", "var(--tw-backdrop-sepia,)"].join(" "), l = () => V([Me("--tw-blur"), Me("--tw-brightness"), Me("--tw-contrast"), Me("--tw-grayscale"), Me("--tw-hue-rotate"), Me("--tw-invert"), Me("--tw-opacity"), Me("--tw-saturate"), Me("--tw-sepia"), Me("--tw-drop-shadow"), Me("--tw-drop-shadow-color"), Me("--tw-drop-shadow-alpha", "100%", "<percentage>"), Me("--tw-drop-shadow-size")]), s = () => V([Me("--tw-backdrop-blur"), Me("--tw-backdrop-brightness"), Me("--tw-backdrop-contrast"), Me("--tw-backdrop-grayscale"), Me("--tw-backdrop-hue-rotate"), Me("--tw-backdrop-invert"), Me("--tw-backdrop-opacity"), Me("--tw-backdrop-saturate"), Me("--tw-backdrop-sepia")]); t.functional("filter", e => { if (!e.modifier) { if (null === e.value) return [l(), T("filter", i)]; if ("arbitrary" === e.value.kind) return [T("filter", e.value.value)]; if ("none" === e.value.value) return [T("filter", "none")] } }), t.functional("backdrop-filter", e => { if (!e.modifier) { if (null === e.value) return [s(), T("-webkit-backdrop-filter", a), T("backdrop-filter", a)]; if ("arbitrary" === e.value.kind) return [T("-webkit-backdrop-filter", e.value.value), T("backdrop-filter", e.value.value)]; if ("none" === e.value.value) return [T("-webkit-backdrop-filter", "none"), T("backdrop-filter", "none")] } }), o("blur", { themeKeys: ["--blur"], handle: e => [l(), T("--tw-blur", `blur(${e})`), T("filter", i)], staticValues: { none: [l(), T("--tw-blur", " "), T("filter", i)] } }), o("backdrop-blur", { themeKeys: ["--backdrop-blur", "--blur"], handle: e => [s(), T("--tw-backdrop-blur", `blur(${e})`), T("-webkit-backdrop-filter", a), T("backdrop-filter", a)], staticValues: { none: [s(), T("--tw-backdrop-blur", " "), T("-webkit-backdrop-filter", a), T("backdrop-filter", a)] } }), o("brightness", { themeKeys: ["--brightness"], handleBareValue: ({ value: e }) => Ve(e) ? `${e}%` : null, handle: e => [l(), T("--tw-brightness", `brightness(${e})`), T("filter", i)] }), o("backdrop-brightness", { themeKeys: ["--backdrop-brightness", "--brightness"], handleBareValue: ({ value: e }) => Ve(e) ? `${e}%` : null, handle: e => [s(), T("--tw-backdrop-brightness", `brightness(${e})`), T("-webkit-backdrop-filter", a), T("backdrop-filter", a)] }), r("brightness", () => [{ values: ["0", "50", "75", "90", "95", "100", "105", "110", "125", "150", "200"], valueThemeKeys: ["--brightness"] }]), r("backdrop-brightness", () => [{ values: ["0", "50", "75", "90", "95", "100", "105", "110", "125", "150", "200"], valueThemeKeys: ["--backdrop-brightness", "--brightness"] }]), o("contrast", { themeKeys: ["--contrast"], handleBareValue: ({ value: e }) => Ve(e) ? `${e}%` : null, handle: e => [l(), T("--tw-contrast", `contrast(${e})`), T("filter", i)] }), o("backdrop-contrast", { themeKeys: ["--backdrop-contrast", "--contrast"], handleBareValue: ({ value: e }) => Ve(e) ? `${e}%` : null, handle: e => [s(), T("--tw-backdrop-contrast", `contrast(${e})`), T("-webkit-backdrop-filter", a), T("backdrop-filter", a)] }), r("contrast", () => [{ values: ["0", "50", "75", "100", "125", "150", "200"], valueThemeKeys: ["--contrast"] }]), r("backdrop-contrast", () => [{ values: ["0", "50", "75", "100", "125", "150", "200"], valueThemeKeys: ["--backdrop-contrast", "--contrast"] }]), o("grayscale", { themeKeys: ["--grayscale"], handleBareValue: ({ value: e }) => Ve(e) ? `${e}%` : null, defaultValue: "100%", handle: e => [l(), T("--tw-grayscale", `grayscale(${e})`), T("filter", i)] }), o("backdrop-grayscale", { themeKeys: ["--backdrop-grayscale", "--grayscale"], handleBareValue: ({ value: e }) => Ve(e) ? `${e}%` : null, defaultValue: "100%", handle: e => [s(), T("--tw-backdrop-grayscale", `grayscale(${e})`), T("-webkit-backdrop-filter", a), T("backdrop-filter", a)] }), r("grayscale", () => [{ values: ["0", "25", "50", "75", "100"], valueThemeKeys: ["--grayscale"], hasDefaultValue: !0 }]), r("backdrop-grayscale", () => [{ values: ["0", "25", "50", "75", "100"], valueThemeKeys: ["--backdrop-grayscale", "--grayscale"], hasDefaultValue: !0 }]), o("hue-rotate", { supportsNegative: !0, themeKeys: ["--hue-rotate"], handleBareValue: ({ value: e }) => Ve(e) ? `${e}deg` : null, handle: e => [l(), T("--tw-hue-rotate", `hue-rotate(${e})`), T("filter", i)] }), o("backdrop-hue-rotate", { supportsNegative: !0, themeKeys: ["--backdrop-hue-rotate", "--hue-rotate"], handleBareValue: ({ value: e }) => Ve(e) ? `${e}deg` : null, handle: e => [s(), T("--tw-backdrop-hue-rotate", `hue-rotate(${e})`), T("-webkit-backdrop-filter", a), T("backdrop-filter", a)] }), r("hue-rotate", () => [{ values: ["0", "15", "30", "60", "90", "180"], valueThemeKeys: ["--hue-rotate"] }]), r("backdrop-hue-rotate", () => [{ values: ["0", "15", "30", "60", "90", "180"], valueThemeKeys: ["--backdrop-hue-rotate", "--hue-rotate"] }]), o("invert", { themeKeys: ["--invert"], handleBareValue: ({ value: e }) => Ve(e) ? `${e}%` : null, defaultValue: "100%", handle: e => [l(), T("--tw-invert", `invert(${e})`), T("filter", i)] }), o("backdrop-invert", { themeKeys: ["--backdrop-invert", "--invert"], handleBareValue: ({ value: e }) => Ve(e) ? `${e}%` : null, defaultValue: "100%", handle: e => [s(), T("--tw-backdrop-invert", `invert(${e})`), T("-webkit-backdrop-filter", a), T("backdrop-filter", a)] }), r("invert", () => [{ values: ["0", "25", "50", "75", "100"], valueThemeKeys: ["--invert"], hasDefaultValue: !0 }]), r("backdrop-invert", () => [{ values: ["0", "25", "50", "75", "100"], valueThemeKeys: ["--backdrop-invert", "--invert"], hasDefaultValue: !0 }]), o("saturate", { themeKeys: ["--saturate"], handleBareValue: ({ value: e }) => Ve(e) ? `${e}%` : null, handle: e => [l(), T("--tw-saturate", `saturate(${e})`), T("filter", i)] }), o("backdrop-saturate", { themeKeys: ["--backdrop-saturate", "--saturate"], handleBareValue: ({ value: e }) => Ve(e) ? `${e}%` : null, handle: e => [s(), T("--tw-backdrop-saturate", `saturate(${e})`), T("-webkit-backdrop-filter", a), T("backdrop-filter", a)] }), r("saturate", () => [{ values: ["0", "50", "100", "150", "200"], valueThemeKeys: ["--saturate"] }]), r("backdrop-saturate", () => [{ values: ["0", "50", "100", "150", "200"], valueThemeKeys: ["--backdrop-saturate", "--saturate"] }]), o("sepia", { themeKeys: ["--sepia"], handleBareValue: ({ value: e }) => Ve(e) ? `${e}%` : null, defaultValue: "100%", handle: e => [l(), T("--tw-sepia", `sepia(${e})`), T("filter", i)] }), o("backdrop-sepia", { themeKeys: ["--backdrop-sepia", "--sepia"], handleBareValue: ({ value: e }) => Ve(e) ? `${e}%` : null, defaultValue: "100%", handle: e => [s(), T("--tw-backdrop-sepia", `sepia(${e})`), T("-webkit-backdrop-filter", a), T("backdrop-filter", a)] }), r("sepia", () => [{ values: ["0", "50", "100"], valueThemeKeys: ["--sepia"], hasDefaultValue: !0 }]), r("backdrop-sepia", () => [{ values: ["0", "50", "100"], valueThemeKeys: ["--backdrop-sepia", "--sepia"], hasDefaultValue: !0 }]), n("drop-shadow-none", [l, ["--tw-drop-shadow", " "], ["filter", i]]), t.functional("drop-shadow", t => { let r; if (t.modifier && ("arbitrary" === t.modifier.kind ? r = t.modifier.value : Ve(t.modifier.value) && (r = `${t.modifier.value}%`)), !t.value) { let t = e.get(["--drop-shadow"]), n = e.resolve(null, ["--drop-shadow"]); return null === t || null === n ? void 0 : [l(), T("--tw-drop-shadow-alpha", r), ...Qe("--tw-drop-shadow-size", t, r, e => `var(--tw-drop-shadow-color, ${e})`), T("--tw-drop-shadow", Z(n, ",").map(e => `drop-shadow(${e})`).join(" ")), T("filter", i)] } if ("arbitrary" === t.value.kind) { let n = t.value.value; return "color" === (t.value.dataType ?? me(n, ["color"])) ? (n = qe(n, t.modifier, e), null === n ? void 0 : [l(), T("--tw-drop-shadow-color", Ie(n, "var(--tw-drop-shadow-alpha)")), T("--tw-drop-shadow", "var(--tw-drop-shadow-size)")]) : t.modifier && !r ? void 0 : [l(), T("--tw-drop-shadow-alpha", r), ...Qe("--tw-drop-shadow-size", n, r, e => `var(--tw-drop-shadow-color, ${e})`), T("--tw-drop-shadow", "var(--tw-drop-shadow-size)"), T("filter", i)] } { let n = e.get([`--drop-shadow-${t.value.value}`]), o = e.resolve(t.value.value, ["--drop-shadow"]); if (n && o) return t.modifier && !r ? void 0 : r ? [l(), T("--tw-drop-shadow-alpha", r), ...Qe("--tw-drop-shadow-size", n, r, e => `var(--tw-drop-shadow-color, ${e})`), T("--tw-drop-shadow", "var(--tw-drop-shadow-size)"), T("filter", i)] : [l(), T("--tw-drop-shadow-alpha", r), ...Qe("--tw-drop-shadow-size", n, r, e => `var(--tw-drop-shadow-color, ${e})`), T("--tw-drop-shadow", Z(o, ",").map(e => `drop-shadow(${e})`).join(" ")), T("filter", i)] } { let r = He(t, e, ["--drop-shadow-color", "--color"]); if (r) return "inherit" === r ? [l(), T("--tw-drop-shadow-color", "inherit"), T("--tw-drop-shadow", "var(--tw-drop-shadow-size)")] : [l(), T("--tw-drop-shadow-color", Ie(r, "var(--tw-drop-shadow-alpha)")), T("--tw-drop-shadow", "var(--tw-drop-shadow-size)")] } }), r("drop-shadow", () => [{ values: ["current", "inherit", "transparent"], valueThemeKeys: ["--drop-shadow-color", "--color"], modifierThemeKeys: ["--opacity"], modifiers: Array.from({ length: 21 }, (e, t) => "" + 5 * t) }, { valueThemeKeys: ["--drop-shadow"] }]), o("backdrop-opacity", { themeKeys: ["--backdrop-opacity", "--opacity"], handleBareValue: ({ value: e }) => Oe(e) ? `${e}%` : null, handle: e => [s(), T("--tw-backdrop-opacity", `opacity(${e})`), T("-webkit-backdrop-filter", a), T("backdrop-filter", a)] }), r("backdrop-opacity", () => [{ values: Array.from({ length: 21 }, (e, t) => "" + 5 * t), valueThemeKeys: ["--backdrop-opacity", "--opacity"] }]) } { let i = `var(--tw-ease, ${e.resolve(null, ["--default-transition-timing-function"]) ?? "ease"})`, a = `var(--tw-duration, ${e.resolve(null, ["--default-transition-duration"]) ?? "0s"})`; o("transition", { defaultValue: "color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events", themeKeys: ["--transition-property"], handle: e => [T("transition-property", e), T("transition-timing-function", i), T("transition-duration", a)], staticValues: { none: [T("transition-property", "none")], all: [T("transition-property", "all"), T("transition-timing-function", i), T("transition-duration", a)], colors: [T("transition-property", "color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to"), T("transition-timing-function", i), T("transition-duration", a)], opacity: [T("transition-property", "opacity"), T("transition-timing-function", i), T("transition-duration", a)], shadow: [T("transition-property", "box-shadow"), T("transition-timing-function", i), T("transition-duration", a)], transform: [T("transition-property", "transform, translate, scale, rotate"), T("transition-timing-function", i), T("transition-duration", a)] } }), n("transition-discrete", [["transition-behavior", "allow-discrete"]]), n("transition-normal", [["transition-behavior", "normal"]]), o("delay", { handleBareValue: ({ value: e }) => Ve(e) ? `${e}ms` : null, themeKeys: ["--transition-delay"], handle: e => [T("transition-delay", e)] }); { let r = () => V([Me("--tw-duration")]); n("duration-initial", [r, ["--tw-duration", "initial"]]), t.functional("duration", t => { if (t.modifier || !t.value) return; let n = null; return "arbitrary" === t.value.kind ? n = t.value.value : (n = e.resolve(t.value.fraction ?? t.value.value, ["--transition-duration"]), null === n && Ve(t.value.value) && (n = `${t.value.value}ms`)), null !== n ? [r(), T("--tw-duration", n), T("transition-duration", n)] : void 0 }) } r("delay", () => [{ values: ["75", "100", "150", "200", "300", "500", "700", "1000"], valueThemeKeys: ["--transition-delay"] }]), r("duration", () => [{ values: ["75", "100", "150", "200", "300", "500", "700", "1000"], valueThemeKeys: ["--transition-duration"] }]) } { let e = () => V([Me("--tw-ease")]); o("ease", { themeKeys: ["--ease"], handle: t => [e(), T("--tw-ease", t), T("transition-timing-function", t)], staticValues: { initial: [e(), T("--tw-ease", "initial")], linear: [e(), T("--tw-ease", "linear"), T("transition-timing-function", "linear")] } }) } n("will-change-auto", [["will-change", "auto"]]), n("will-change-scroll", [["will-change", "scroll-position"]]), n("will-change-contents", [["will-change", "contents"]]), n("will-change-transform", [["will-change", "transform"]]), o("will-change", { themeKeys: [], handle: e => [T("will-change", e)] }), n("content-none", [["--tw-content", "none"], ["content", "none"]]), o("content", { themeKeys: ["--content"], handle: e => [V([Me("--tw-content", '""')]), T("--tw-content", e), T("content", "var(--tw-content)")] }); { let e = "var(--tw-contain-size,) var(--tw-contain-layout,) var(--tw-contain-paint,) var(--tw-contain-style,)", t = () => V([Me("--tw-contain-size"), Me("--tw-contain-layout"), Me("--tw-contain-paint"), Me("--tw-contain-style")]); n("contain-none", [["contain", "none"]]), n("contain-content", [["contain", "content"]]), n("contain-strict", [["contain", "strict"]]), n("contain-size", [t, ["--tw-contain-size", "size"], ["contain", e]]), n("contain-inline-size", [t, ["--tw-contain-size", "inline-size"], ["contain", e]]), n("contain-layout", [t, ["--tw-contain-layout", "layout"], ["contain", e]]), n("contain-paint", [t, ["--tw-contain-paint", "paint"], ["contain", e]]), n("contain-style", [t, ["--tw-contain-style", "style"], ["contain", e]]), o("contain", { themeKeys: [], handle: e => [T("contain", e)] }) } n("forced-color-adjust-none", [["forced-color-adjust", "none"]]), n("forced-color-adjust-auto", [["forced-color-adjust", "auto"]]), a("leading", ["--leading", "--spacing"], e => [V([Me("--tw-leading")]), T("--tw-leading", e), T("line-height", e)], { staticValues: { none: [V([Me("--tw-leading")]), T("--tw-leading", "1"), T("line-height", "1")] } }), o("tracking", { supportsNegative: !0, themeKeys: ["--tracking"], handle: e => [V([Me("--tw-tracking")]), T("--tw-tracking", e), T("letter-spacing", e)] }), n("antialiased", [["-webkit-font-smoothing", "antialiased"], ["-moz-osx-font-smoothing", "grayscale"]]), n("subpixel-antialiased", [["-webkit-font-smoothing", "auto"], ["-moz-osx-font-smoothing", "auto"]]); { let e = "var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)", t = () => V([Me("--tw-ordinal"), Me("--tw-slashed-zero"), Me("--tw-numeric-figure"), Me("--tw-numeric-spacing"), Me("--tw-numeric-fraction")]); n("normal-nums", [["font-variant-numeric", "normal"]]), n("ordinal", [t, ["--tw-ordinal", "ordinal"], ["font-variant-numeric", e]]), n("slashed-zero", [t, ["--tw-slashed-zero", "slashed-zero"], ["font-variant-numeric", e]]), n("lining-nums", [t, ["--tw-numeric-figure", "lining-nums"], ["font-variant-numeric", e]]), n("oldstyle-nums", [t, ["--tw-numeric-figure", "oldstyle-nums"], ["font-variant-numeric", e]]), n("proportional-nums", [t, ["--tw-numeric-spacing", "proportional-nums"], ["font-variant-numeric", e]]), n("tabular-nums", [t, ["--tw-numeric-spacing", "tabular-nums"], ["font-variant-numeric", e]]), n("diagonal-fractions", [t, ["--tw-numeric-fraction", "diagonal-fractions"], ["font-variant-numeric", e]]), n("stacked-fractions", [t, ["--tw-numeric-fraction", "stacked-fractions"], ["font-variant-numeric", e]]) } { let i = () => V([Me("--tw-outline-style", "solid")]); t.static("outline-hidden", () => [T("--tw-outline-style", "none"), T("outline-style", "none"), S("@media", "(forced-colors: active)", [T("outline", "2px solid transparent"), T("outline-offset", "2px")])]), n("outline-none", [["--tw-outline-style", "none"], ["outline-style", "none"]]), n("outline-solid", [["--tw-outline-style", "solid"], ["outline-style", "solid"]]), n("outline-dashed", [["--tw-outline-style", "dashed"], ["outline-style", "dashed"]]), n("outline-dotted", [["--tw-outline-style", "dotted"], ["outline-style", "dotted"]]), n("outline-double", [["--tw-outline-style", "double"], ["outline-style", "double"]]), t.functional("outline", t => { if (null === t.value) { if (t.modifier) return; let r = e.get(["--default-outline-width"]) ?? "1px"; return [i(), T("outline-style", "var(--tw-outline-style)"), T("outline-width", r)] } if ("arbitrary" === t.value.kind) { let r = t.value.value; switch (t.value.dataType ?? me(r, ["color", "length", "number", "percentage"])) { case "length": case "number": case "percentage": return t.modifier ? void 0 : [i(), T("outline-style", "var(--tw-outline-style)"), T("outline-width", r)]; default: return r = qe(r, t.modifier, e), null === r ? void 0 : [T("outline-color", r)] } } { let r = He(t, e, ["--outline-color", "--color"]); if (r) return [T("outline-color", r)] } { if (t.modifier) return; let r = e.resolve(t.value.value, ["--outline-width"]); if (r) return [i(), T("outline-style", "var(--tw-outline-style)"), T("outline-width", r)]; if (Ve(t.value.value)) return [i(), T("outline-style", "var(--tw-outline-style)"), T("outline-width", `${t.value.value}px`)] } }), r("outline", () => [{ values: ["current", "inherit", "transparent"], valueThemeKeys: ["--outline-color", "--color"], modifierThemeKeys: ["--opacity"], modifiers: Array.from({ length: 21 }, (e, t) => "" + 5 * t), hasDefaultValue: !0 }, { values: ["0", "1", "2", "4", "8"], valueThemeKeys: ["--outline-width"] }]), o("outline-offset", { supportsNegative: !0, themeKeys: ["--outline-offset"], handleBareValue: ({ value: e }) => Ve(e) ? `${e}px` : null, handle: e => [T("outline-offset", e)] }), r("outline-offset", () => [{ supportsNegative: !0, values: ["0", "1", "2", "4", "8"], valueThemeKeys: ["--outline-offset"] }]) } o("opacity", { themeKeys: ["--opacity"], handleBareValue: ({ value: e }) => Oe(e) ? `${e}%` : null, handle: e => [T("opacity", e)] }), r("opacity", () => [{ values: Array.from({ length: 21 }, (e, t) => "" + 5 * t), valueThemeKeys: ["--opacity"] }]), o("underline-offset", { supportsNegative: !0, themeKeys: ["--text-underline-offset"], handleBareValue: ({ value: e }) => Ve(e) ? `${e}px` : null, handle: e => [T("text-underline-offset", e)], staticValues: { auto: [T("text-underline-offset", "auto")] } }), r("underline-offset", () => [{ supportsNegative: !0, values: ["0", "1", "2", "4", "8"], valueThemeKeys: ["--text-underline-offset"] }]), t.functional("text", t => { if (t.value) { if ("arbitrary" === t.value.kind) { let r = t.value.value; switch (t.value.dataType ?? me(r, ["color", "length", "percentage", "absolute-size", "relative-size"])) { case "size": case "length": case "percentage": case "absolute-size": case "relative-size": if (t.modifier) { let n = "arbitrary" === t.modifier.kind ? t.modifier.value : e.resolve(t.modifier.value, ["--leading"]); if (!n && Ne(t.modifier.value)) { if (!e.resolve(null, ["--spacing"])) return null; n = `--spacing(${t.modifier.value})` } return !n && "none" === t.modifier.value && (n = "1"), n ? [T("font-size", r), T("line-height", n)] : null } return [T("font-size", r)]; default: return r = qe(r, t.modifier, e), null === r ? void 0 : [T("color", r)] } } { let r = He(t, e, ["--text-color", "--color"]); if (r) return [T("color", r)] } { let r = e.resolveWith(t.value.value, ["--text"], ["--line-height", "--letter-spacing", "--font-weight"]); if (r) { let [n, o = {}] = Array.isArray(r) ? r : [r]; if (t.modifier) { let r = "arbitrary" === t.modifier.kind ? t.modifier.value : e.resolve(t.modifier.value, ["--leading"]); if (!r && Ne(t.modifier.value)) { if (!e.resolve(null, ["--spacing"])) return null; r = `--spacing(${t.modifier.value})` } if (!r && "none" === t.modifier.value && (r = "1"), !r) return null; let o = [T("font-size", n)]; return r && o.push(T("line-height", r)), o } return "string" == typeof o ? [T("font-size", n), T("line-height", o)] : [T("font-size", n), T("line-height", o["--line-height"] ? `var(--tw-leading, ${o["--line-height"]})` : void 0), T("letter-spacing", o["--letter-spacing"] ? `var(--tw-tracking, ${o["--letter-spacing"]})` : void 0), T("font-weight", o["--font-weight"] ? `var(--tw-font-weight, ${o["--font-weight"]})` : void 0)] } } } }), r("text", () => [{ values: ["current", "inherit", "transparent"], valueThemeKeys: ["--text-color", "--color"], modifierThemeKeys: ["--opacity"], modifiers: Array.from({ length: 21 }, (e, t) => "" + 5 * t) }, { values: [], valueThemeKeys: ["--text"], modifiers: [], modifierThemeKeys: ["--leading"] }]); let $ = () => V([Me("--tw-text-shadow-color"), Me("--tw-text-shadow-alpha", "100%", "<percentage>")]); n("text-shadow-initial", [$, ["--tw-text-shadow-color", "initial"]]), t.functional("text-shadow", t => { let r; if (t.modifier && ("arbitrary" === t.modifier.kind ? r = t.modifier.value : Ve(t.modifier.value) && (r = `${t.modifier.value}%`)), !t.value) { let t = e.get(["--text-shadow"]); return null === t ? void 0 : [$(), T("--tw-text-shadow-alpha", r), ...Xe("text-shadow", t, r, e => `var(--tw-text-shadow-color, ${e})`)] } if ("arbitrary" === t.value.kind) { let n = t.value.value; return "color" === (t.value.dataType ?? me(n, ["color"])) ? (n = qe(n, t.modifier, e), null === n ? void 0 : [$(), T("--tw-text-shadow-color", Ie(n, "var(--tw-text-shadow-alpha)"))]) : [$(), T("--tw-text-shadow-alpha", r), ...Xe("text-shadow", n, r, e => `var(--tw-text-shadow-color, ${e})`)] } switch (t.value.value) { case "none": return t.modifier ? void 0 : [$(), T("text-shadow", "none")]; case "inherit": return t.modifier ? void 0 : [$(), T("--tw-text-shadow-color", "inherit")] }{ let n = e.get([`--text-shadow-${t.value.value}`]); if (n) return [$(), T("--tw-text-shadow-alpha", r), ...Xe("text-shadow", n, r, e => `var(--tw-text-shadow-color, ${e})`)] } { let r = He(t, e, ["--text-shadow-color", "--color"]); if (r) return [$(), T("--tw-text-shadow-color", Ie(r, "var(--tw-text-shadow-alpha)"))] } }), r("text-shadow", () => [{ values: ["current", "inherit", "transparent"], valueThemeKeys: ["--text-shadow-color", "--color"], modifierThemeKeys: ["--opacity"], modifiers: Array.from({ length: 21 }, (e, t) => "" + 5 * t) }, { values: ["none"] }, { valueThemeKeys: ["--text-shadow"], modifiers: Array.from({ length: 21 }, (e, t) => "" + 5 * t), hasDefaultValue: null !== e.get(["--text-shadow"]) }]); { let o = function (e) { return `var(--tw-ring-inset,) 0 0 0 calc(${e} + var(--tw-ring-offset-width)) var(--tw-ring-color, ${c})` }, i = function (e) { return `inset 0 0 0 ${e} var(--tw-inset-ring-color, currentcolor)` }, a = ["var(--tw-inset-shadow)", "var(--tw-inset-ring-shadow)", "var(--tw-ring-offset-shadow)", "var(--tw-ring-shadow)", "var(--tw-shadow)"].join(", "), l = "0 0 #0000", s = () => V([Me("--tw-shadow", l), Me("--tw-shadow-color"), Me("--tw-shadow-alpha", "100%", "<percentage>"), Me("--tw-inset-shadow", l), Me("--tw-inset-shadow-color"), Me("--tw-inset-shadow-alpha", "100%", "<percentage>"), Me("--tw-ring-color"), Me("--tw-ring-shadow", l), Me("--tw-inset-ring-color"), Me("--tw-inset-ring-shadow", l), Me("--tw-ring-inset"), Me("--tw-ring-offset-width", "0px", "<length>"), Me("--tw-ring-offset-color", "#fff"), Me("--tw-ring-offset-shadow", l)]); n("shadow-initial", [s, ["--tw-shadow-color", "initial"]]), t.functional("shadow", t => { let r; if (t.modifier && ("arbitrary" === t.modifier.kind ? r = t.modifier.value : Ve(t.modifier.value) && (r = `${t.modifier.value}%`)), !t.value) { let t = e.get(["--shadow"]); return null === t ? void 0 : [s(), T("--tw-shadow-alpha", r), ...Xe("--tw-shadow", t, r, e => `var(--tw-shadow-color, ${e})`), T("box-shadow", a)] } if ("arbitrary" === t.value.kind) { let n = t.value.value; return "color" === (t.value.dataType ?? me(n, ["color"])) ? (n = qe(n, t.modifier, e), null === n ? void 0 : [s(), T("--tw-shadow-color", Ie(n, "var(--tw-shadow-alpha)"))]) : [s(), T("--tw-shadow-alpha", r), ...Xe("--tw-shadow", n, r, e => `var(--tw-shadow-color, ${e})`), T("box-shadow", a)] } switch (t.value.value) { case "none": return t.modifier ? void 0 : [s(), T("--tw-shadow", l), T("box-shadow", a)]; case "inherit": return t.modifier ? void 0 : [s(), T("--tw-shadow-color", "inherit")] }{ let n = e.get([`--shadow-${t.value.value}`]); if (n) return [s(), T("--tw-shadow-alpha", r), ...Xe("--tw-shadow", n, r, e => `var(--tw-shadow-color, ${e})`), T("box-shadow", a)] } { let r = He(t, e, ["--box-shadow-color", "--color"]); if (r) return [s(), T("--tw-shadow-color", Ie(r, "var(--tw-shadow-alpha)"))] } }), r("shadow", () => [{ values: ["current", "inherit", "transparent"], valueThemeKeys: ["--box-shadow-color", "--color"], modifierThemeKeys: ["--opacity"], modifiers: Array.from({ length: 21 }, (e, t) => "" + 5 * t) }, { values: ["none"] }, { valueThemeKeys: ["--shadow"], modifiers: Array.from({ length: 21 }, (e, t) => "" + 5 * t), hasDefaultValue: null !== e.get(["--shadow"]) }]), n("inset-shadow-initial", [s, ["--tw-inset-shadow-color", "initial"]]), t.functional("inset-shadow", t => { let r; if (t.modifier && ("arbitrary" === t.modifier.kind ? r = t.modifier.value : Ve(t.modifier.value) && (r = `${t.modifier.value}%`)), !t.value) { let t = e.get(["--inset-shadow"]); return null === t ? void 0 : [s(), T("--tw-inset-shadow-alpha", r), ...Xe("--tw-inset-shadow", t, r, e => `var(--tw-inset-shadow-color, ${e})`), T("box-shadow", a)] } if ("arbitrary" === t.value.kind) { let n = t.value.value; return "color" === (t.value.dataType ?? me(n, ["color"])) ? (n = qe(n, t.modifier, e), null === n ? void 0 : [s(), T("--tw-inset-shadow-color", Ie(n, "var(--tw-inset-shadow-alpha)"))]) : [s(), T("--tw-inset-shadow-alpha", r), ...Xe("--tw-inset-shadow", n, r, e => `var(--tw-inset-shadow-color, ${e})`, "inset"), T("box-shadow", a)] } switch (t.value.value) { case "none": return t.modifier ? void 0 : [s(), T("--tw-inset-shadow", `inset ${l}`), T("box-shadow", a)]; case "inherit": return t.modifier ? void 0 : [s(), T("--tw-inset-shadow-color", "inherit")] }{ let n = e.get([`--inset-shadow-${t.value.value}`]); if (n) return [s(), T("--tw-inset-shadow-alpha", r), ...Xe("--tw-inset-shadow", n, r, e => `var(--tw-inset-shadow-color, ${e})`), T("box-shadow", a)] } { let r = He(t, e, ["--box-shadow-color", "--color"]); if (r) return [s(), T("--tw-inset-shadow-color", Ie(r, "var(--tw-inset-shadow-alpha)"))] } }), r("inset-shadow", () => [{ values: ["current", "inherit", "transparent"], valueThemeKeys: ["--box-shadow-color", "--color"], modifierThemeKeys: ["--opacity"], modifiers: Array.from({ length: 21 }, (e, t) => "" + 5 * t) }, { values: ["none"] }, { valueThemeKeys: ["--inset-shadow"], modifiers: Array.from({ length: 21 }, (e, t) => "" + 5 * t), hasDefaultValue: null !== e.get(["--inset-shadow"]) }]), n("ring-inset", [s, ["--tw-ring-inset", "inset"]]); let c = e.get(["--default-ring-color"]) ?? "currentcolor"; t.functional("ring", t => { if (!t.value) { if (t.modifier) return; let r = e.get(["--default-ring-width"]) ?? "1px"; return [s(), T("--tw-ring-shadow", o(r)), T("box-shadow", a)] } if ("arbitrary" === t.value.kind) { let r = t.value.value; return "length" === (t.value.dataType ?? me(r, ["color", "length"])) ? t.modifier ? void 0 : [s(), T("--tw-ring-shadow", o(r)), T("box-shadow", a)] : (r = qe(r, t.modifier, e), null === r ? void 0 : [T("--tw-ring-color", r)]) } { let r = He(t, e, ["--ring-color", "--color"]); if (r) return [T("--tw-ring-color", r)] } { if (t.modifier) return; let r = e.resolve(t.value.value, ["--ring-width"]); if (null === r && Ve(t.value.value) && (r = `${t.value.value}px`), r) return [s(), T("--tw-ring-shadow", o(r)), T("box-shadow", a)] } }), r("ring", () => [{ values: ["current", "inherit", "transparent"], valueThemeKeys: ["--ring-color", "--color"], modifierThemeKeys: ["--opacity"], modifiers: Array.from({ length: 21 }, (e, t) => "" + 5 * t) }, { values: ["0", "1", "2", "4", "8"], valueThemeKeys: ["--ring-width"], hasDefaultValue: !0 }]), t.functional("inset-ring", t => { if (!t.value) return t.modifier ? void 0 : [s(), T("--tw-inset-ring-shadow", i("1px")), T("box-shadow", a)]; if ("arbitrary" === t.value.kind) { let r = t.value.value; return "length" === (t.value.dataType ?? me(r, ["color", "length"])) ? t.modifier ? void 0 : [s(), T("--tw-inset-ring-shadow", i(r)), T("box-shadow", a)] : (r = qe(r, t.modifier, e), null === r ? void 0 : [T("--tw-inset-ring-color", r)]) } { let r = He(t, e, ["--ring-color", "--color"]); if (r) return [T("--tw-inset-ring-color", r)] } { if (t.modifier) return; let r = e.resolve(t.value.value, ["--ring-width"]); if (null === r && Ve(t.value.value) && (r = `${t.value.value}px`), r) return [s(), T("--tw-inset-ring-shadow", i(r)), T("box-shadow", a)] } }), r("inset-ring", () => [{ values: ["current", "inherit", "transparent"], valueThemeKeys: ["--ring-color", "--color"], modifierThemeKeys: ["--opacity"], modifiers: Array.from({ length: 21 }, (e, t) => "" + 5 * t) }, { values: ["0", "1", "2", "4", "8"], valueThemeKeys: ["--ring-width"], hasDefaultValue: !0 }]); let u = "var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)"; t.functional("ring-offset", t => { if (t.value) { if ("arbitrary" === t.value.kind) { let r = t.value.value; return "length" === (t.value.dataType ?? me(r, ["color", "length"])) ? t.modifier ? void 0 : [T("--tw-ring-offset-width", r), T("--tw-ring-offset-shadow", u)] : (r = qe(r, t.modifier, e), null === r ? void 0 : [T("--tw-ring-offset-color", r)]) } { let r = e.resolve(t.value.value, ["--ring-offset-width"]); if (r) return t.modifier ? void 0 : [T("--tw-ring-offset-width", r), T("--tw-ring-offset-shadow", u)]; if (Ve(t.value.value)) return t.modifier ? void 0 : [T("--tw-ring-offset-width", `${t.value.value}px`), T("--tw-ring-offset-shadow", u)] } { let r = He(t, e, ["--ring-offset-color", "--color"]); if (r) return [T("--tw-ring-offset-color", r)] } } }) } return r("ring-offset", () => [{ values: ["current", "inherit", "transparent"], valueThemeKeys: ["--ring-offset-color", "--color"], modifierThemeKeys: ["--opacity"], modifiers: Array.from({ length: 21 }, (e, t) => "" + 5 * t) }, { values: ["0", "1", "2", "4", "8"], valueThemeKeys: ["--ring-offset-width"] }]), t.functional("@container", e => { let t = null; if (null === e.value ? t = "inline-size" : "arbitrary" === e.value.kind ? t = e.value.value : "named" === e.value.kind && "normal" === e.value.value ? t = "normal" : "named" === e.value.kind && "size" === e.value.value && (t = "size"), null !== t) return e.modifier ? [T("container-type", t), T("container-name", e.modifier.value)] : [T("container-type", t)] }), r("@container", () => [{ values: ["normal"], valueThemeKeys: [], hasDefaultValue: !0 }]), t }(e), n = function (e) { let t = new vt; function r(e, r, { compounds: n } = {}) { n = n ?? kt(r), t.static(e, e => { e.nodes = r.map(t => C(t, e.nodes)) }, { compounds: n }) } function n(e, t) { return t.map(t => { if ("@container" === e) { let e = v(t.trim()); return e.length >= 1 && "function" === e[0].kind ? `not ${t}` : e.length >= 3 && "word" === e[0].kind && "not" === e[0].value && "function" === e[2].kind ? (e.splice(0, 2), g(e)) : e.length >= 5 && "word" === e[0].kind && "word" === e[2].kind && "not" === e[2].value && "function" === e[4].kind ? (e.splice(2, 2), g(e)) : e.length >= 3 && "word" === e[0].kind && "not" !== e[0].value && "function" === e[2].kind ? (e.splice(1, 0, { kind: "separator", value: " " }, { kind: "word", value: "not" }), g(e)) : `not ${t}` } { let e = Z(t = t.trim(), " "); return "not" === e[0] ? e.slice(1).join(" ") : `not ${t}` } }) } r("*", [":is(& > *)"], { compounds: 0 }), r("**", [":is(& *)"], { compounds: 0 }); let o = ["@media", "@supports", "@container"]; function i(e) { for (let t of o) { if (t !== e.name) continue; let r = Z(e.params, ","); return r.length > 1 ? null : (r = n(e.name, r), S(e.name, r.join(", "))) } return null } function a(e) { return e.includes("::") ? null : `&:not(${Z(e, ",").map(e => e.replaceAll("&", "*")).join(", ")})` } t.compound("not", 3, (e, t) => { if ("arbitrary" === t.variant.kind && t.variant.relative || t.modifier) return null; let r = !1; return y([e], (t, n) => { if ("rule" !== t.kind && "at-rule" !== t.kind) return b.Continue; if (t.nodes.length > 0) return b.Continue; let o = [], l = [], s = n.path(); s.push(t); for (let e of s) "at-rule" === e.kind ? o.push(e) : "rule" === e.kind && l.push(e); if (o.length > 1) return b.Stop; if (l.length > 1) return b.Stop; let c = []; for (let e of l) { let t = a(e.selector); if (!t) return r = !1, b.Stop; c.push(A(t, [])) } for (let e of o) { let t = i(e); if (!t) return r = !1, b.Stop; c.push(t) } return Object.assign(e, A("&", c)), r = !0, b.Skip }), "rule" === e.kind && "&" === e.selector && 1 === e.nodes.length && Object.assign(e, e.nodes[0]), r ? void 0 : null }), t.suggest("not", () => Array.from(t.keys()).filter(e => t.compoundsWith("not", e))), t.compound("group", 2, (t, r) => { if ("arbitrary" === r.variant.kind && r.variant.relative) return null; let n = r.modifier ? `:where(.${e.prefix ? `${e.prefix}\\:` : ""}group\\/${r.modifier.value})` : `:where(.${e.prefix ? `${e.prefix}\\:` : ""}group)`, o = !1; return y([t], (e, t) => { if ("rule" !== e.kind) return b.Continue; for (let e of t.path()) if ("rule" === e.kind) return o = !1, b.Stop; let r = e.selector.replaceAll("&", n); Z(r, ",").length > 1 && (r = `:is(${r})`), e.selector = `&:is(${r} *)`, o = !0 }), o ? void 0 : null }), t.suggest("group", () => Array.from(t.keys()).filter(e => t.compoundsWith("group", e))), t.compound("peer", 2, (t, r) => { if ("arbitrary" === r.variant.kind && r.variant.relative) return null; let n = r.modifier ? `:where(.${e.prefix ? `${e.prefix}\\:` : ""}peer\\/${r.modifier.value})` : `:where(.${e.prefix ? `${e.prefix}\\:` : ""}peer)`, o = !1; return y([t], (e, t) => { if ("rule" !== e.kind) return b.Continue; for (let e of t.path()) if ("rule" === e.kind) return o = !1, b.Stop; let r = e.selector.replaceAll("&", n); Z(r, ",").length > 1 && (r = `:is(${r})`), e.selector = `&:is(${r} ~ *)`, o = !0 }), o ? void 0 : null }), t.suggest("peer", () => Array.from(t.keys()).filter(e => t.compoundsWith("peer", e))), r("first-letter", ["&::first-letter"]), r("first-line", ["&::first-line"]), r("marker", ["& *::marker", "&::marker", "& *::-webkit-details-marker", "&::-webkit-details-marker"]), r("selection", ["& *::selection", "&::selection"]), r("file", ["&::file-selector-button"]), r("placeholder", ["&::placeholder"]), r("backdrop", ["&::backdrop"]), r("details-content", ["&::details-content"]); { let e = function () { return V([S("@property", "--tw-content", [T("syntax", '"*"'), T("initial-value", '""'), T("inherits", "false")])]) }; t.static("before", t => { t.nodes = [A("&::before", [e(), T("content", "var(--tw-content)"), ...t.nodes])] }, { compounds: 0 }), t.static("after", t => { t.nodes = [A("&::after", [e(), T("content", "var(--tw-content)"), ...t.nodes])] }, { compounds: 0 }) } r("first", ["&:first-child"]), r("last", ["&:last-child"]), r("only", ["&:only-child"]), r("odd", ["&:nth-child(odd)"]), r("even", ["&:nth-child(even)"]), r("first-of-type", ["&:first-of-type"]), r("last-of-type", ["&:last-of-type"]), r("only-of-type", ["&:only-of-type"]), r("visited", ["&:visited"]), r("target", ["&:target"]), r("open", ["&:is([open], :popover-open, :open)"]), r("default", ["&:default"]), r("checked", ["&:checked"]), r("indeterminate", ["&:indeterminate"]), r("placeholder-shown", ["&:placeholder-shown"]), r("autofill", ["&:autofill"]), r("optional", ["&:optional"]), r("required", ["&:required"]), r("valid", ["&:valid"]), r("invalid", ["&:invalid"]), r("user-valid", ["&:user-valid"]), r("user-invalid", ["&:user-invalid"]), r("in-range", ["&:in-range"]), r("out-of-range", ["&:out-of-range"]), r("read-only", ["&:read-only"]), r("empty", ["&:empty"]), r("focus-within", ["&:focus-within"]), t.static("hover", e => { e.nodes = [A("&:hover", [S("@media", "(hover: hover)", e.nodes)])] }), r("focus", ["&:focus"]), r("focus-visible", ["&:focus-visible"]), r("active", ["&:active"]), r("enabled", ["&:enabled"]), r("disabled", ["&:disabled"]), r("inert", ["&:is([inert], [inert] *)"]), t.compound("in", 2, (e, t) => { if (t.modifier) return null; let r = !1; return y([e], (e, t) => { if ("rule" !== e.kind) return b.Continue; for (let e of t.path()) if ("rule" === e.kind) return r = !1, b.Stop; e.selector = `:where(${e.selector.replaceAll("&", "*")}) &`, r = !0 }), r ? void 0 : null }), t.suggest("in", () => Array.from(t.keys()).filter(e => t.compoundsWith("in", e))), t.compound("has", 2, (e, t) => { if (t.modifier) return null; let r = !1; return y([e], (e, t) => { if ("rule" !== e.kind) return b.Continue; for (let e of t.path()) if ("rule" === e.kind) return r = !1, b.Stop; e.selector = `&:has(${e.selector.replaceAll("&", "*")})`, r = !0 }), r ? void 0 : null }), t.suggest("has", () => Array.from(t.keys()).filter(e => t.compoundsWith("has", e))), t.functional("aria", (e, t) => { if (!t.value || t.modifier) return null; "arbitrary" === t.value.kind ? e.nodes = [A(`&[aria-${wt(t.value.value)}]`, e.nodes)] : e.nodes = [A(`&[aria-${t.value.value}="true"]`, e.nodes)] }), t.suggest("aria", () => ["busy", "checked", "disabled", "expanded", "hidden", "pressed", "readonly", "required", "selected"]), t.functional("data", (e, t) => { if (!t.value || t.modifier) return null; e.nodes = [A(`&[data-${wt(t.value.value)}]`, e.nodes)] }), t.functional("nth", (e, t) => { if (!t.value || t.modifier || "named" === t.value.kind && !Ve(t.value.value)) return null; e.nodes = [A(`&:nth-child(${t.value.value})`, e.nodes)] }), t.functional("nth-last", (e, t) => { if (!t.value || t.modifier || "named" === t.value.kind && !Ve(t.value.value)) return null; e.nodes = [A(`&:nth-last-child(${t.value.value})`, e.nodes)] }), t.functional("nth-of-type", (e, t) => { if (!t.value || t.modifier || "named" === t.value.kind && !Ve(t.value.value)) return null; e.nodes = [A(`&:nth-of-type(${t.value.value})`, e.nodes)] }), t.functional("nth-last-of-type", (e, t) => { if (!t.value || t.modifier || "named" === t.value.kind && !Ve(t.value.value)) return null; e.nodes = [A(`&:nth-last-of-type(${t.value.value})`, e.nodes)] }), t.functional("supports", (e, t) => { if (!t.value || t.modifier) return null; let r = t.value.value; if (null === r) return null; if (/^[\w-]*\s*\(/.test(r)) { let t = r.replace(/\b(and|or|not)\b/g, " $1 "); return void (e.nodes = [S("@supports", t, e.nodes)]) } r.includes(":") || (r = `${r}: var(--tw)`), ("(" !== r[0] || ")" !== r[r.length - 1]) && (r = `(${r})`), e.nodes = [S("@supports", r, e.nodes)] }, { compounds: 1 }), r("motion-safe", ["@media (prefers-reduced-motion: no-preference)"]), r("motion-reduce", ["@media (prefers-reduced-motion: reduce)"]), r("contrast-more", ["@media (prefers-contrast: more)"]), r("contrast-less", ["@media (prefers-contrast: less)"]); { let r = function (e, t, r, n) { if (e === t) return 0; let o = n.get(e); if (null === o) return "asc" === r ? -1 : 1; let i = n.get(t); return null === i ? "asc" === r ? 1 : -1 : ce(o, i, r) }; { let n = e.namespace("--breakpoint"), o = new f(t => { switch (t.kind) { case "static": return e.resolveValue(t.root, ["--breakpoint"]) ?? null; case "functional": { if (!t.value || t.modifier) return null; let r = null; return "arbitrary" === t.value.kind ? r = t.value.value : "named" === t.value.kind && (r = e.resolveValue(t.value.value, ["--breakpoint"])), !r || r.includes("var(") ? null : r } case "arbitrary": case "compound": return null } }); t.group(() => { t.functional("max", (e, t) => { if (t.modifier) return null; let r = o.get(t); if (null === r) return null; e.nodes = [S("@media", `(width < ${r})`, e.nodes)] }, { compounds: 1 }) }, (e, t) => r(e, t, "desc", o)), t.suggest("max", () => Array.from(n.keys()).filter(e => null !== e)), t.group(() => { for (let [r, n] of e.namespace("--breakpoint")) null !== r && t.static(r, e => { e.nodes = [S("@media", `(width >= ${n})`, e.nodes)] }, { compounds: 1 }); t.functional("min", (e, t) => { if (t.modifier) return null; let r = o.get(t); if (null === r) return null; e.nodes = [S("@media", `(width >= ${r})`, e.nodes)] }, { compounds: 1 }) }, (e, t) => r(e, t, "asc", o)), t.suggest("min", () => Array.from(n.keys()).filter(e => null !== e)) } { let n = e.namespace("--container"), o = new f(t => { switch (t.kind) { case "functional": { if (null === t.value) return null; let r = null; return "arbitrary" === t.value.kind ? r = t.value.value : "named" === t.value.kind && (r = e.resolveValue(t.value.value, ["--container"])), !r || r.includes("var(") ? null : r } case "static": case "arbitrary": case "compound": return null } }); t.group(() => { t.functional("@max", (e, t) => { let r = o.get(t); if (null === r) return null; e.nodes = [S("@container", t.modifier ? `${t.modifier.value} (width < ${r})` : `(width < ${r})`, e.nodes)] }, { compounds: 1 }) }, (e, t) => r(e, t, "desc", o)), t.suggest("@max", () => Array.from(n.keys()).filter(e => null !== e)), t.group(() => { t.functional("@", (e, t) => { let r = o.get(t); if (null === r) return null; e.nodes = [S("@container", t.modifier ? `${t.modifier.value} (width >= ${r})` : `(width >= ${r})`, e.nodes)] }, { compounds: 1 }), t.functional("@min", (e, t) => { let r = o.get(t); if (null === r) return null; e.nodes = [S("@container", t.modifier ? `${t.modifier.value} (width >= ${r})` : `(width >= ${r})`, e.nodes)] }, { compounds: 1 }) }, (e, t) => r(e, t, "asc", o)), t.suggest("@min", () => Array.from(n.keys()).filter(e => null !== e)), t.suggest("@", () => Array.from(n.keys()).filter(e => null !== e)) } } return r("portrait", ["@media (orientation: portrait)"]), r("landscape", ["@media (orientation: landscape)"]), r("ltr", ['&:where(:dir(ltr), [dir="ltr"], [dir="ltr"] *)']), r("rtl", ['&:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *)']), r("dark", ["@media (prefers-color-scheme: dark)"]), r("starting", ["@starting-style"]), r("print", ["@media print"]), r("forced-colors", ["@media (forced-colors: active)"]), r("inverted-colors", ["@media (inverted-colors: inverted)"]), r("pointer-none", ["@media (pointer: none)"]), r("pointer-coarse", ["@media (pointer: coarse)"]), r("pointer-fine", ["@media (pointer: fine)"]), r("any-pointer-none", ["@media (any-pointer: none)"]), r("any-pointer-coarse", ["@media (any-pointer: coarse)"]), r("any-pointer-fine", ["@media (any-pointer: fine)"]), r("noscript", ["@media (scripting: none)"]), t }(e), o = new f(e => function (e, t) { if ("[" === e[0] && "]" === e[e.length - 1]) { if ("@" === e[1] && e.includes("&")) return null; let t = B(e.slice(1, -1)); if (!H(t) || 0 === t.length || 0 === t.trim().length) return null; let r = ">" === t[0] || "+" === t[0] || "~" === t[0]; return !r && "@" !== t[0] && !t.includes("&") && (t = `&:is(${t})`), { kind: "arbitrary", selector: t, relative: r } } { let [r, n = null, o] = Z(e, "/"); if (o) return null; let i = X(r, e => t.variants.has(e)); for (let [e, r] of i) switch (t.variants.kind(e)) { case "static": return null !== r || null !== n ? null : { kind: "static", root: e }; case "functional": { let t = null === n ? null : J(n); if (null !== n && null === t) return null; if (null === r) return { kind: "functional", root: e, modifier: t, value: null }; if ("]" === r[r.length - 1]) { if ("[" !== r[0]) continue; let n = B(r.slice(1, -1)); return H(n) && 0 !== n.length && 0 !== n.trim().length ? { kind: "functional", root: e, modifier: t, value: { kind: "arbitrary", value: n } } : null } if (")" === r[r.length - 1]) { if ("(" !== r[0]) continue; let n = B(r.slice(1, -1)); return H(n) && 0 !== n.length && 0 !== n.trim().length && "-" === n[0] && "-" === n[1] ? { kind: "functional", root: e, modifier: t, value: { kind: "arbitrary", value: `var(${n})` } } : null } if (!G.test(r)) continue; return { kind: "functional", root: e, modifier: t, value: { kind: "named", value: r } } } case "compound": { if (null === r) return null; n && ("not" === e || "has" === e || "in" === e) && (r = `${r}/${n}`, n = null); let o = t.parseVariant(r); if (null === o || !t.variants.compoundsWith(e, o)) return null; let i = null === n ? null : J(n); return null !== n && null === i ? null : { kind: "compound", root: e, modifier: i, variant: o } } } } return null }(e, u)), i = new f(e => Array.from(function* (e, t) { let r = Z(e, ":"); if (t.theme.prefix) { if (1 === r.length || r[0] !== t.theme.prefix) return null; r.shift() } let n = r.pop(), o = []; for (let e = r.length - 1; e >= 0; --e) { let n = t.parseVariant(r[e]); if (null === n) return; o.push(n) } let i = !1; "!" === n[n.length - 1] ? (i = !0, n = n.slice(0, -1)) : "!" === n[0] && (i = !0, n = n.slice(1)), t.utilities.has(n, "static") && !n.includes("[") && (yield { kind: "static", root: n, variants: o, important: i, raw: e }); let [a, l = null, s] = Z(n, "/"); if (s) return; let c, u = null === l ? null : J(l); if (null === l || null !== u) { if ("[" === a[0]) { if ("]" !== a[a.length - 1]) return; let t = a.charCodeAt(1); if (45 !== t && !(t >= 97 && t <= 122)) return; a = a.slice(1, -1); let r = a.indexOf(":"); if (-1 === r || 0 === r || r === a.length - 1) return; let n = a.slice(0, r), l = B(a.slice(r + 1)); if (!H(l)) return; return void (yield { kind: "arbitrary", property: n, value: l, modifier: u, variants: o, important: i, raw: e }) } if ("]" === a[a.length - 1]) { let e = a.indexOf("-["); if (-1 === e) return; let r = a.slice(0, e); if (!t.utilities.has(r, "functional")) return; c = [[r, a.slice(e + 1)]] } else if (")" === a[a.length - 1]) { let e = a.indexOf("-("); if (-1 === e) return; let r = a.slice(0, e); if (!t.utilities.has(r, "functional")) return; let n = a.slice(e + 2, -1), o = Z(n, ":"), i = null; if (2 === o.length && (i = o[0], n = o[1]), "-" !== n[0] || "-" !== n[1] || !H(n)) return; c = [[r, null === i ? `[var(${n})]` : `[${i}:var(${n})]`]] } else c = X(a, e => t.utilities.has(e, "functional")); for (let [t, r] of c) { let n = { kind: "functional", root: t, modifier: u, value: null, variants: o, important: i, raw: e }; if (null !== r) { { let e = r.indexOf("["); if (-1 !== e) { if ("]" !== r[r.length - 1]) return; let t = B(r.slice(e + 1, -1)); if (!H(t)) continue; let o = null; for (let e = 0; e < t.length; e++) { let r = t.charCodeAt(e); if (58 === r) { o = t.slice(0, e), t = t.slice(e + 1); break } if (!(45 === r || r >= 97 && r <= 122)) break } if (0 === t.length || 0 === t.trim().length || "" === o) continue; n.value = { kind: "arbitrary", dataType: o || null, value: t } } else { let e = null === l || "arbitrary" === n.modifier?.kind ? null : `${r}/${l}`; if (!G.test(r)) continue; n.value = { kind: "named", value: r, fraction: e } } } yield n } else yield n } } }(e, u))), a = new f(e => new f(t => { let r = function (e, t, r) { let n = function (e, t) { if ("arbitrary" === e.kind) { let r = e.value; return e.modifier && (r = qe(r, e.modifier, t.theme)), null === r ? [] : [[T(e.property, r)]] } let r = t.utilities.get(e.root) ?? [], n = [], o = r.filter(e => !St(e)); for (let t of o) { if (t.kind !== e.kind) continue; let r = t.compileFn(e); if (void 0 !== r) { if (null === r) { if (t.options?.types?.length) return n; continue } n.push(r) } } if (n.length > 0) return n; let i = r.filter(e => St(e)); for (let t of i) { if (t.kind !== e.kind) continue; let r = t.compileFn(e); if (void 0 !== r) { if (null === r) { if (t.options?.types?.length) return n; continue } n.push(r) } } return n }(e, t); if (0 === n.length) return []; let o = t.important && !!(1 & r), i = [], a = `.${l(e.raw)}`; for (let r of n) { let n = Tt(r); (e.important || o) && Ct(r); let l = { kind: "rule", selector: a, nodes: r }; for (let r of e.variants) if (null === At(l, r, t.variants)) return []; i.push({ node: l, propertySort: n }) } return i }(t, u, e); try { let e = r.map(e => e.node); ht(e, u), yt(e, u) } catch { return [] } return r })), s = new f(t => { for (let r of $(t)) e.markUsedVariable(r) }); function c(e) { let r = []; for (let n of e) { let e = !0, { astNodes: o } = zt([n], u, { onInvalidCandidate() { e = !1 } }); t && y(o, e => (e.src ??= t, b.Continue)), o = O(o, u, 0), r.push(e ? o : []) } return r } let u = { theme: e, utilities: r, variants: n, invalidCandidates: new Set, important: !1, candidatesToCss: function (e) { return c(e).map(e => e.length > 0 ? F(e) : null) }, candidatesToAst: c, getClassOrder(e) { return function (e, t) { let { astNodes: r, nodeSorting: n } = zt(Array.from(t), e), o = new Map(t.map(e => [e, null])), i = 0n; for (let e of r) { let t = n.get(e)?.candidate; t && o.set(t, o.get(t) ?? i++) } return t.map(e => [e, o.get(e) ?? null]) }(this, e) }, getClassList: () => [], getVariants: () => [], parseCandidate: e => i.get(e), parseVariant: e => o.get(e), compileAstNodes: (e, t = 1) => a.get(t).get(e), printCandidate: e => function (e, t) { let r = []; for (let e of t.variants) r.unshift(ee(e)); e.theme.prefix && r.unshift(e.theme.prefix); let n = ""; if ("static" === t.kind && (n += t.root), "functional" === t.kind && (n += t.root, t.value)) if ("arbitrary" === t.value.kind) { if (null !== t.value) { let e = ae(t.value.value), r = e ? t.value.value.slice(4, -1) : t.value.value, [o, i] = e ? ["(", ")"] : ["[", "]"]; t.value.dataType ? n += `-${o}${t.value.dataType}:${re(r)}${i}` : n += `-${o}${re(r)}${i}` } } else "named" === t.value.kind && (n += `-${t.value.value}`); return "arbitrary" === t.kind && (n += `[${t.property}:${re(t.value)}]`), ("arbitrary" === t.kind || "functional" === t.kind) && (n += Q(t.modifier)), t.important && (n += "!"), r.push(n), r.join(":") }(u, e), printVariant: e => ee(e), getVariantOrder() { let e = Array.from(o.values()); e.sort((e, t) => this.variants.compare(e, t)); let t, r = new Map, n = 0; for (let o of e) null !== o && (void 0 !== t && 0 !== this.variants.compare(t, o) && n++, r.set(o, n), t = o); return r }, resolveThemeValue(t, r = !0) { let n = t.lastIndexOf("/"), o = null; -1 !== n && (o = t.slice(n + 1).trim(), t = t.slice(0, n).trim()); let i = e.resolve(null, [t], r ? 1 : 0) ?? void 0; return o && i ? Ie(i, o) : i }, trackUsedVariables(e) { s.get(e) }, canonicalizeCandidates: (e, t) => [], storage: {} }; return u } var $t = ["container-type", "pointer-events", "visibility", "position", "inset", "inset-inline", "inset-block", "inset-inline-start", "inset-inline-end", "inset-block-start", "inset-block-end", "top", "right", "bottom", "left", "isolation", "z-index", "order", "grid-column", "grid-column-start", "grid-column-end", "grid-row", "grid-row-start", "grid-row-end", "float", "clear", "--tw-container-component", "margin", "margin-inline", "margin-block", "margin-inline-start", "margin-inline-end", "margin-block-start", "margin-block-end", "margin-top", "margin-right", "margin-bottom", "margin-left", "box-sizing", "display", "field-sizing", "aspect-ratio", "height", "max-height", "min-height", "width", "max-width", "min-width", "flex", "flex-shrink", "flex-grow", "flex-basis", "table-layout", "caption-side", "border-collapse", "border-spacing", "transform-origin", "translate", "--tw-translate-x", "--tw-translate-y", "--tw-translate-z", "scale", "--tw-scale-x", "--tw-scale-y", "--tw-scale-z", "rotate", "--tw-rotate-x", "--tw-rotate-y", "--tw-rotate-z", "--tw-skew-x", "--tw-skew-y", "transform", "zoom", "animation", "cursor", "touch-action", "--tw-pan-x", "--tw-pan-y", "--tw-pinch-zoom", "resize", "scroll-snap-type", "--tw-scroll-snap-strictness", "scroll-snap-align", "scroll-snap-stop", "scroll-margin", "scroll-margin-inline", "scroll-margin-block", "scroll-margin-inline-start", "scroll-margin-inline-end", "scroll-margin-block-start", "scroll-margin-block-end", "scroll-margin-top", "scroll-margin-right", "scroll-margin-bottom", "scroll-margin-left", "scroll-padding", "scroll-padding-inline", "scroll-padding-block", "scroll-padding-inline-start", "scroll-padding-inline-end", "scroll-padding-block-start", "scroll-padding-block-end", "scroll-padding-top", "scroll-padding-right", "scroll-padding-bottom", "scroll-padding-left", "scrollbar-width", "scrollbar-color", "scrollbar-gutter", "list-style-position", "list-style-type", "list-style-image", "appearance", "columns", "break-before", "break-inside", "break-after", "grid-auto-columns", "grid-auto-flow", "grid-auto-rows", "grid-template-columns", "grid-template-rows", "flex-direction", "flex-wrap", "place-content", "place-items", "align-content", "align-items", "justify-content", "justify-items", "gap", "column-gap", "row-gap", "--tw-space-x-reverse", "--tw-space-y-reverse", "divide-x-width", "divide-y-width", "--tw-divide-y-reverse", "divide-style", "divide-color", "place-self", "align-self", "justify-self", "overflow", "overflow-x", "overflow-y", "overscroll-behavior", "overscroll-behavior-x", "overscroll-behavior-y", "scroll-behavior", "border-radius", "border-start-radius", "border-end-radius", "border-top-radius", "border-right-radius", "border-bottom-radius", "border-left-radius", "border-start-start-radius", "border-start-end-radius", "border-end-end-radius", "border-end-start-radius", "border-top-left-radius", "border-top-right-radius", "border-bottom-right-radius", "border-bottom-left-radius", "border-width", "border-inline-width", "border-block-width", "border-inline-start-width", "border-inline-end-width", "border-block-start-width", "border-block-end-width", "border-top-width", "border-right-width", "border-bottom-width", "border-left-width", "border-style", "border-inline-style", "border-block-style", "border-inline-start-style", "border-inline-end-style", "border-block-start-style", "border-block-end-style", "border-top-style", "border-right-style", "border-bottom-style", "border-left-style", "border-color", "border-inline-color", "border-block-color", "border-inline-start-color", "border-inline-end-color", "border-block-start-color", "border-block-end-color", "border-top-color", "border-right-color", "border-bottom-color", "border-left-color", "background-color", "background-image", "--tw-gradient-position", "--tw-gradient-stops", "--tw-gradient-via-stops", "--tw-gradient-from", "--tw-gradient-from-position", "--tw-gradient-via", "--tw-gradient-via-position", "--tw-gradient-to", "--tw-gradient-to-position", "mask-image", "--tw-mask-top", "--tw-mask-top-from-color", "--tw-mask-top-from-position", "--tw-mask-top-to-color", "--tw-mask-top-to-position", "--tw-mask-right", "--tw-mask-right-from-color", "--tw-mask-right-from-position", "--tw-mask-right-to-color", "--tw-mask-right-to-position", "--tw-mask-bottom", "--tw-mask-bottom-from-color", "--tw-mask-bottom-from-position", "--tw-mask-bottom-to-color", "--tw-mask-bottom-to-position", "--tw-mask-left", "--tw-mask-left-from-color", "--tw-mask-left-from-position", "--tw-mask-left-to-color", "--tw-mask-left-to-position", "--tw-mask-linear", "--tw-mask-linear-position", "--tw-mask-linear-from-color", "--tw-mask-linear-from-position", "--tw-mask-linear-to-color", "--tw-mask-linear-to-position", "--tw-mask-radial", "--tw-mask-radial-shape", "--tw-mask-radial-size", "--tw-mask-radial-position", "--tw-mask-radial-from-color", "--tw-mask-radial-from-position", "--tw-mask-radial-to-color", "--tw-mask-radial-to-position", "--tw-mask-conic", "--tw-mask-conic-position", "--tw-mask-conic-from-color", "--tw-mask-conic-from-position", "--tw-mask-conic-to-color", "--tw-mask-conic-to-position", "box-decoration-break", "background-size", "background-attachment", "background-clip", "background-position", "background-repeat", "background-origin", "mask-composite", "mask-mode", "mask-type", "mask-size", "mask-clip", "mask-position", "mask-repeat", "mask-origin", "fill", "stroke", "stroke-width", "object-fit", "object-position", "padding", "padding-inline", "padding-block", "padding-inline-start", "padding-inline-end", "padding-block-start", "padding-block-end", "padding-top", "padding-right", "padding-bottom", "padding-left", "text-align", "text-indent", "vertical-align", "font-family", "font-feature-settings", "font-size", "line-height", "font-weight", "letter-spacing", "text-wrap", "overflow-wrap", "word-break", "text-overflow", "hyphens", "white-space", "tab-size", "color", "text-transform", "font-style", "font-stretch", "font-variant-numeric", "text-decoration-line", "text-decoration-color", "text-decoration-style", "text-decoration-thickness", "text-underline-offset", "-webkit-font-smoothing", "placeholder-color", "caret-color", "accent-color", "color-scheme", "opacity", "background-blend-mode", "mix-blend-mode", "box-shadow", "--tw-shadow", "--tw-shadow-color", "--tw-ring-shadow", "--tw-ring-color", "--tw-inset-shadow", "--tw-inset-shadow-color", "--tw-inset-ring-shadow", "--tw-inset-ring-color", "--tw-ring-offset-width", "--tw-ring-offset-color", "outline", "outline-width", "outline-offset", "outline-color", "--tw-blur", "--tw-brightness", "--tw-contrast", "--tw-drop-shadow", "--tw-grayscale", "--tw-hue-rotate", "--tw-invert", "--tw-saturate", "--tw-sepia", "filter", "--tw-backdrop-blur", "--tw-backdrop-brightness", "--tw-backdrop-contrast", "--tw-backdrop-grayscale", "--tw-backdrop-hue-rotate", "--tw-backdrop-invert", "--tw-backdrop-opacity", "--tw-backdrop-saturate", "--tw-backdrop-sepia", "backdrop-filter", "transition-property", "transition-behavior", "transition-delay", "transition-duration", "transition-timing-function", "will-change", "contain", "content", "forced-color-adjust"]; function zt(e, t, { onInvalidCandidate: r, respectImportant: n } = {}) { let o = new Map, i = [], a = new Map; for (let n of e) { if (t.invalidCandidates.has(n)) { r?.(n); continue } let e = t.parseCandidate(n); 0 !== e.length ? a.set(n, e) : r?.(n) } let l = 0; (n ?? 1) && (l |= 1); let s = t.getVariantOrder(); for (let [e, n] of a) { let a = !1; for (let r of n) { let n = t.compileAstNodes(r, l); if (0 !== n.length) { a = !0; for (let { node: t, propertySort: a } of n) { let n = 0n; for (let e of r.variants) n |= 1n << BigInt(s.get(e)); o.set(t, { properties: a, variants: n, candidate: e }), i.push(t) } } } a || r?.(e) } return i.sort((e, t) => { let r = o.get(e), n = o.get(t); if (r.variants - n.variants !== 0n) return Number(r.variants - n.variants); let i = 0; for (; i < r.properties.order.length && i < n.properties.order.length && r.properties.order[i] === n.properties.order[i];)i += 1; return (r.properties.order[i] ?? 1 / 0) - (n.properties.order[i] ?? 1 / 0) || n.properties.count - r.properties.count || function (e, t) { let r = e.length, n = t.length, o = r < n ? r : n; for (let r = 0; r < o; r++) { let n = e.charCodeAt(r), o = t.charCodeAt(r); if (n >= 48 && n <= 57 && o >= 48 && o <= 57) { let i = r, a = r + 1, l = r, s = r + 1; for (n = e.charCodeAt(a); n >= 48 && n <= 57;)n = e.charCodeAt(++a); for (o = t.charCodeAt(s); o >= 48 && o <= 57;)o = t.charCodeAt(++s); let c = e.slice(i, a), u = t.slice(l, s), d = Number(c) - Number(u); if (d) return d; if (c < u) return -1; if (c > u) return 1; continue } if (n !== o) return n - o } return e.length - t.length }(r.candidate, n.candidate) }), { astNodes: i, nodeSorting: o } } function At(e, t, r, n = 0) { if ("arbitrary" === t.kind) return t.relative && 0 === n ? null : void (e.nodes = [C(t.selector, e.nodes)]); let { applyFn: o } = r.get(t.root); if ("compound" === t.kind) { let i = S("@slot"); if (null === At(i, t.variant, r, n + 1) || "not" === t.root && i.nodes.length > 1) return null; for (let e of i.nodes) if ("rule" !== e.kind && "at-rule" !== e.kind || null === o(e, t)) return null; return y(i.nodes, t => { if (("rule" === t.kind || "at-rule" === t.kind) && t.nodes.length <= 0) return t.nodes = e.nodes, b.Skip }), void (e.nodes = i.nodes) } return null === o(e, t) ? null : void 0 } function St(e) { let t = e.options?.types ?? []; return t.length > 1 && t.includes("any") } function Ct(e) { for (let t of e) "at-root" !== t.kind && ("declaration" === t.kind ? t.important = !0 : ("rule" === t.kind || "at-rule" === t.kind) && Ct(t.nodes)) } function Tt(e) { let t = new Set, r = 0, n = e.slice(), o = !1; for (; n.length > 0;) { let e = n.shift(); if ("declaration" === e.kind) { if (void 0 === e.value || (r++, o)) continue; if ("--tw-sort" === e.property) { let r = $t.indexOf(e.value ?? ""); if (-1 !== r) { t.add(r), o = !0; continue } } let n = $t.indexOf(e.property); -1 !== n && t.add(n) } else if ("rule" === e.kind || "at-rule" === e.kind) for (let t of e.nodes) n.push(t) } return { order: Array.from(t).sort((e, t) => e - t), count: r } } function jt(e, t) { let r = 0, n = C("&", e), o = new Set, i = new f(() => new Set), a = new f(() => new Set); y([n], (e, n) => { if ("at-rule" === e.kind) { if ("@keyframes" === e.name) return y(e.nodes, e => { if ("at-rule" === e.kind && "@apply" === e.name) throw new Error("You cannot use `@apply` inside `@keyframes`.") }), b.Skip; if ("@utility" === e.name) { let r = e.params.replace(/-\*$/, ""); return a.get(r).add(e), void y(e.nodes, r => { if ("at-rule" === r.kind && "@apply" === r.name) { o.add(e); for (let n of Kt(r, t)) i.get(e).add(n) } }) } if ("@apply" === e.name) { if (null === n.parent) return; r |= 1, o.add(n.parent); for (let r of Kt(e, t)) for (let e of n.path()) o.has(e) && i.get(e).add(r) } } }); let l = new Set, s = [], c = new Set; function u(e, r = []) { if (!l.has(e)) { if (c.has(e)) { let n = r[(r.indexOf(e) + 1) % r.length]; throw "at-rule" === e.kind && "@utility" === e.name && "at-rule" === n.kind && "@utility" === n.name && y(e.nodes, e => { if ("at-rule" !== e.kind || "@apply" !== e.name) return; let r = e.params.split(/\s+/g); for (let e of r) for (let r of t.parseCandidate(e)) switch (r.kind) { case "arbitrary": break; case "static": case "functional": if (n.params.replace(/-\*$/, "") === r.root) throw new Error(`You cannot \`@apply\` the \`${e}\` utility here because it creates a circular dependency.`) } }), new Error(`Circular dependency detected:\n\n${F([e])}\nRelies on:\n\n${F([n])}`) } c.add(e); for (let t of i.get(e)) for (let n of a.get(t)) r.push(e), u(n, r), r.pop(); l.add(e), c.delete(e), s.push(e) } } for (let e of o) u(e); for (let e of s) "nodes" in e && y(e.nodes, e => { if ("at-rule" !== e.kind || "@apply" !== e.name) return; let r = e.params.split(/(\s+)/g), n = {}, o = [], i = [], a = 0; for (let [e, t] of r.entries()) e % 2 == 0 && ("-" === t[0] && "-" === t[1] ? i.push(t) : o.push(t), n[t] = a), a += t.length; if (i.length) { if (0 === o.length) return b.Skip; let e = i.join(" "); throw new Error(`You cannot use \`@apply\` with both mixins and utilities. Please move \`@apply ${e}\` into a separate rule.`) } if (e.nodes.length > 0 && o.length) { let e = o.join(" "); throw new Error(`The rule \`@apply ${e}\` must not have a body.`) } { let r = zt(Object.keys(n), t, { respectImportant: !1, onInvalidCandidate: e => { if (t.theme.prefix && !e.startsWith(t.theme.prefix)) throw new Error(`Cannot apply unprefixed utility class \`${e}\`. Did you mean \`${t.theme.prefix}:${e}\`?`); if (t.invalidCandidates.has(e)) throw new Error(`Cannot apply utility class \`${e}\` because it has been explicitly disabled: https://tailwindcss.com/docs/detecting-classes-in-source-files#explicitly-excluding-classes`); let r = Z(e, ":"); if (r.length > 1) { let n = r.pop(); if (t.candidatesToCss([n])[0]) { let n = t.candidatesToCss(r.map(e => `${e}:[--tw-variant-check:1]`)), o = r.filter((e, t) => null === n[t]); if (o.length > 0) { if (1 === o.length) throw new Error(`Cannot apply utility class \`${e}\` because the ${o.map(e => `\`${e}\``)} variant does not exist.`); { let t = new Intl.ListFormat("en", { style: "long", type: "conjunction" }); throw new Error(`Cannot apply utility class \`${e}\` because the ${t.format(o.map(e => `\`${e}\``))} variants do not exist.`) } } } } throw 0 === t.theme.size ? new Error(`Cannot apply unknown utility class \`${e}\`. Are you using CSS modules or similar and missing \`@reference\`? https://tailwindcss.com/docs/functions-and-directives#reference-directive`) : new Error(`Cannot apply unknown utility class \`${e}\``) } }), o = e.src, i = r.astNodes.map(e => { let t = r.nodeSorting.get(e)?.candidate, i = t ? n[t] : void 0; if (e = E(e), !o || !t || void 0 === i) return y([e], e => { e.src = o }), e; let a = [o[0], o[1], o[2]]; return a[1] += 7 + i, a[2] = a[1] + t.length, y([e], e => { e.src = a }), e }), a = []; for (let e of i) if ("rule" === e.kind) for (let t of e.nodes) a.push(t); else a.push(e); return b.Replace(a) } }); return r } function* Kt(e, t) { for (let r of e.params.split(/\s+/g)) for (let e of t.parseCandidate(r)) switch (e.kind) { case "arbitrary": break; case "static": case "functional": yield e.root } } async function Vt(e, t, r, o = 0, i = !1) { let a = 0, l = []; return y(e, e => { if ("at-rule" === e.kind && ("@import" === e.name || "@reference" === e.name)) { let s = function (e) { let t, r = null, n = null, o = null; for (let i = 0; i < e.length; i++) { let a = e[i]; if ("separator" !== a.kind) { if ("word" === a.kind && !t) { if (!a.value || '"' !== a.value[0] && "'" !== a.value[0]) return null; t = a.value.slice(1, -1); continue } if ("function" === a.kind && "url" === a.value.toLowerCase() || !t) return null; if (("word" === a.kind || "function" === a.kind) && "layer" === a.value.toLowerCase()) { if (r) return null; if (o) throw new Error("`layer(…)` in an `@import` should come before any other functions or conditions"); r = "nodes" in a ? g(a.nodes) : ""; continue } if ("function" === a.kind && "supports" === a.value.toLowerCase()) { if (o) return null; o = g(a.nodes); continue } n = g(e.slice(i)); break } } return t ? { uri: t, layer: r, media: n, supports: o } : null }(v(e.params)); if (null === s) return; "@reference" === e.name && (s.media = "reference"), a |= 2; let { uri: c, layer: u, media: d, supports: f } = s; if (c.startsWith("data:") || c.startsWith("http://") || c.startsWith("https://")) return; let p = K({}, []); return l.push((async () => { if (o > 100) throw new Error(`Exceeded maximum recursion depth while resolving \`${c}\` in \`${t}\`)`); let a = await r(c, t), l = n(a.content, { from: i ? a.path : void 0 }); await Vt(l, a.base, r, o + 1, i), p.nodes = function (e, t, r, n, o) { let i = t; if (null !== r) { let t = S("@layer", r, i); t.src = e.src, i = [t] } if (null !== n) { let t = S("@media", n, i); t.src = e.src, i = [t] } if (null !== o) { let t = S("@supports", "(" === o[0] ? o : `(${o})`, i); t.src = e.src, i = [t] } return i }(e, [K({ base: a.base }, l)], u, d, f) })()), b.ReplaceSkip(p) } }), l.length > 0 && await Promise.all(l), a } function Et(e, t = null) { return Array.isArray(e) && 2 === e.length && "object" == typeof e[1] && null !== typeof e[1] ? t ? e[1][t] ?? null : e[0] : Array.isArray(e) && null === t ? e.join(", ") : "string" == typeof e && null === t ? e : null } function Nt(e, { theme: t }, r) { for (let t of r) { let r = Wt([t]); r && e.theme.clearNamespace(`--${r}`, 4) } for (let [r, n] of function (e) { let t = []; return Rt(e, [], (e, r) => { if (function (e) { return "number" == typeof e || "string" == typeof e }(e)) return t.push([r, e]), 1; if (function (e) { if (!Array.isArray(e) || 2 !== e.length || "string" != typeof e[0] && "number" != typeof e[0] || void 0 === e[1] || null === e[1] || "object" != typeof e[1]) return !1; for (let t of Reflect.ownKeys(e[1])) if ("string" != typeof t || "string" != typeof e[1][t] && "number" != typeof e[1][t]) return !1; return !0 }(e)) { t.push([r, e[0]]); for (let n of Reflect.ownKeys(e[1])) t.push([[...r, `-${n}`], e[1][n]]); return 1 } return Array.isArray(e) && e.every(e => "string" == typeof e) ? ("fontSize" === r[0] ? (t.push([r, e[0]]), e.length >= 2 && t.push([[...r, "-line-height"], e[1]])) : t.push([r, e.join(", ")]), 1) : void 0 }), t }(t)) { if ("string" != typeof n && "number" != typeof n) continue; if ("string" == typeof n && (n = n.replace(/<alpha-value>/g, "1")), "opacity" === r[0] && ("number" == typeof n || "string" == typeof n)) { let e = "string" == typeof n ? parseFloat(n) : n; e >= 0 && e <= 1 && (n = 100 * e + "%") } let t = Wt(r); t && e.theme.add(`--${t}`, "" + n, 7) } if (Object.hasOwn(t, "fontFamily")) { let r = 5; { let n = Et(t.fontFamily.sans); n && e.theme.hasDefault("--font-sans") && (e.theme.add("--default-font-family", n, r), e.theme.add("--default-font-feature-settings", Et(t.fontFamily.sans, "fontFeatureSettings") ?? "normal", r), e.theme.add("--default-font-variation-settings", Et(t.fontFamily.sans, "fontVariationSettings") ?? "normal", r)) } { let n = Et(t.fontFamily.mono); n && e.theme.hasDefault("--font-mono") && (e.theme.add("--default-mono-font-family", n, r), e.theme.add("--default-mono-font-feature-settings", Et(t.fontFamily.mono, "fontFeatureSettings") ?? "normal", r), e.theme.add("--default-mono-font-variation-settings", Et(t.fontFamily.mono, "fontVariationSettings") ?? "normal", r)) } } return t } var Ot = { borderWidth: "border-width", outlineWidth: "outline-width", ringColor: "ring-color", ringWidth: "ring-width", transitionDuration: "transition-duration", transitionTimingFunction: "transition-timing-function" }, Ft = { animation: "animate", aspectRatio: "aspect", borderRadius: "radius", boxShadow: "shadow", colors: "color", containers: "container", fontFamily: "font", fontSize: "text", letterSpacing: "tracking", lineHeight: "leading", maxWidth: "container", screens: "breakpoint", transitionTimingFunction: "ease" }, Ut = /^[a-zA-Z0-9-_%/.]+$/; function Wt(e) { let t = Ot[e[0]]; if (t && "DEFAULT" === e[1]) return `default-${t}`; if ("container" === e[0]) return null; for (let t of e) if (!Ut.test(t)) return null; let r = Ft[e[0]]; return r && ((e = e.slice())[0] = r), e.map((e, t, r) => "1" === e && t !== r.length - 1 ? "" : e).map((e, t) => (e = e.replaceAll(".", "_"), (0 === t || e.startsWith("-") || "lineHeight" === e) && (e = e.replace(/([a-z])([A-Z])/g, (e, t, r) => `${t}-${r.toLowerCase()}`)), e)).filter((t, r) => "DEFAULT" !== t || r !== e.length - 1).join("-") } function Rt(e, t = [], r) { for (let n of Reflect.ownKeys(e)) { let o = e[n]; if (null == o) continue; let i = [...t, n], a = r(o, i) ?? 0; if (1 !== a) { if (2 === a) return 2; if ((Array.isArray(o) || "object" == typeof o) && 2 === Rt(o, i, r)) return 2 } } } function Dt(e) { return { kind: "combinator", value: e } } function Lt(e) { return { kind: "complex", nodes: e } } function _t(e) { return { kind: "compound", nodes: e } } function Bt(e, t) { return { kind: "function", value: e, nodes: t } } function Mt(e) { return { kind: "list", nodes: e } } function It(e) { return { kind: "selector", value: e } } function Pt(e) { return { kind: "value", value: e } } function qt(e, t = !1) { let r = ""; for (let n of e) switch (n.kind) { case "selector": case "value": r += n.value; break; case "combinator": t || " " === n.value ? r += n.value : r += ` ${n.value} `; break; case "function": r += `${n.value}(${qt(n.nodes, t)})`; break; case "complex": case "compound": r += qt(n.nodes, t); break; case "list": r += n.nodes.map(e => qt([e], t)).join(t ? "," : ", ") }return r } function Ht(e) { e = e.replaceAll("\r\n", "\n"); let t, r = [], n = r, o = !1, i = [], a = null, l = ""; function s(e = n) { return 1 === e.length ? e[0] : o ? Lt(e) : _t(e) } function c(e) { let t = n[n.length - 1]; "compound" === t?.kind ? t.nodes.push(e) : t && "list" !== t.kind && "combinator" !== t.kind ? n[n.length - 1] = _t([t, e]) : n.push(e) } for (let u = 0; u < e.length; u++) { let d = e.charCodeAt(u); switch (d) { case 44: for (l.length > 0 && (c(It(l)), l = ""); u + 1 < e.length && (t = e.charCodeAt(u + 1), 10 === t || 32 === t || 9 === t); u++); if (a) a.nodes.push(s()), n = [], o = !1; else { let e = Mt([s(n.splice(0))]); n.push(e), a = e, n = [], o = !1 } break; case 62: case 10: case 32: case 43: case 9: case 126: { l.length > 0 && (c(It(l)), l = ""); let r = u, i = u + 1; for (; i < e.length && (t = e.charCodeAt(i), 62 === t || 10 === t || 32 === t || 43 === t || 9 === t || 126 === t); i++); u = i - 1; let a = e.slice(r, i).trim(); if ("" === a && (0 === n.length || i >= e.length || 44 === e.charCodeAt(i))) break; n.push(Dt("" === a ? " " : a)), o = !0; break } case 40: { let r = Bt(l, []); if (l = "", ":not" !== r.value && ":where" !== r.value && ":has" !== r.value && ":is" !== r.value) { let n = u + 1, o = 0; for (let r = u + 1; r < e.length; r++)if (t = e.charCodeAt(r), 40 !== t) { if (41 === t) { if (0 === o) { u = r; break } o-- } } else o++; let i = u; r.nodes.push(Pt(e.slice(n, i))), l = "", u = i, c(r); break } c(r), i.push({ target: n, currentList: a, containsCombinator: o }), n = r.nodes, o = !1, a = null; break } case 41: { l.length > 0 && (c(It(l)), l = ""), a ? a.nodes.push(s()) : o && n.splice(0, n.length, Lt(n.splice(0))); let e = i.pop(); n = e?.target ?? r, a = e?.currentList ?? null, o = e?.containsCombinator ?? !1; break } case 46: case 58: case 35: if (58 === d && ":" === l) { l += e[u]; break } l.length > 0 && c(It(l)), l = e[u]; break; case 91: { l.length > 0 && c(It(l)), l = ""; let r = u, n = 0; for (let r = u + 1; r < e.length; r++)if (t = e.charCodeAt(r), 91 !== t) { if (93 === t) { if (0 === n) { u = r; break } n-- } } else n++; l += e.slice(r, u + 1); break } case 39: case 34: { let r = u; for (let r = u + 1; r < e.length; r++)if (t = e.charCodeAt(r), 92 === t) r += 1; else if (t === d) { u = r; break } l += e.slice(r, u + 1); break } case 38: case 42: l.length > 0 && (c(It(l)), l = ""), c(It(e[u])); break; case 92: l += e[u] + e[u + 1], u += 1; break; default: l += e[u] } } return l.length > 0 && c(It(l)), a ? a.nodes.push(s()) : o && n.splice(0, n.length, Lt(n.splice(0))), r } function Yt(e) { let t = []; for (let r of Z(e, ".")) { if (!r.includes("[")) { t.push(r); continue } let e = 0; for (; ;) { let n = r.indexOf("[", e), o = r.indexOf("]", n); if (-1 === n || -1 === o) break; n > e && t.push(r.slice(e, n)), t.push(r.slice(n + 1, o)), e = o + 1 } e <= r.length - 1 && t.push(r.slice(e)) } return t } function Zt(e) { if ("[object Object]" !== Object.prototype.toString.call(e)) return !1; let t = Object.getPrototypeOf(e); return null === t || null === Object.getPrototypeOf(t) } function Gt(e, t, r, n = []) { for (let o of t) if (null != o) for (let t of Reflect.ownKeys(o)) { n.push(t); let i = r(e[t], o[t], n); void 0 !== i ? e[t] = i : Zt(e[t]) && Zt(o[t]) ? e[t] = Gt({}, [e[t], o[t]], r, n) : e[t] = o[t], n.pop() } return e } function Jt(e, t, r) { return function (n, o) { let i = n.lastIndexOf("/"), a = null; -1 !== i && (a = n.slice(i + 1).trim(), n = n.slice(0, i).trim()); let l = (() => { let o = Yt(n), [i, a] = function (e, t) { if (1 === t.length && t[0].startsWith("--")) return [e.get([t[0]]), e.getOptions(t[0])]; let r = Wt(t), n = new Map, o = new f(() => new Map), i = e.namespace(`--${r}`); if (0 === i.size) return [null, 0]; let a = new Map; for (let [t, l] of i) { if (!t || !t.includes("--")) { n.set(t, l), a.set(t, e.getOptions(t ? `--${r}-${t}` : `--${r}`)); continue } let i = t.indexOf("--"), s = t.slice(0, i), c = t.slice(i + 2); c = c.replace(/-([a-z])/g, (e, t) => t.toUpperCase()), o.get("" === s ? null : s).set(c, [l, e.getOptions(`--${r}${t}`)]) } let l = e.getOptions(`--${r}`); for (let [e, t] of o) { let r = n.get(e); if ("string" != typeof r) continue; let o = {}, i = {}; for (let [e, [r, n]] of t) o[e] = r, i[e] = n; n.set(e, [r, o]), a.set(e, [l, i]) } let s = {}, c = {}; for (let [e, t] of n) Qt(s, [e ?? "DEFAULT"], t); for (let [e, t] of a) Qt(c, [e ?? "DEFAULT"], t); return "DEFAULT" === t[t.length - 1] ? [s?.DEFAULT ?? null, c.DEFAULT ?? 0] : "DEFAULT" in s && 1 === Object.keys(s).length ? [s.DEFAULT, c.DEFAULT ?? 0] : (s.__CSS_VALUES__ = c, [s, c]) }(e.theme, o), l = r(Xt(t() ?? {}, o) ?? null); if ("string" == typeof l && (l = l.replace("<alpha-value>", "1")), "object" != typeof i) return "object" != typeof a && 4 & a ? l ?? i : i; if (null !== l && "object" == typeof l && !Array.isArray(l)) { let e = Gt({}, [l], (e, t) => t); if (null === i && Object.hasOwn(l, "__CSS_VALUES__")) { let t = {}; for (let r in l.__CSS_VALUES__) t[r] = l[r], delete e[r]; i = t } for (let t in i) "__CSS_VALUES__" !== t && (4 & l?.__CSS_VALUES__?.[t] && void 0 !== Xt(e, t.split("-")) || (e[s(t)] = i[t])); return e } if (Array.isArray(i) && Array.isArray(a) && Array.isArray(l)) { let e = i[0], t = i[1]; 4 & a[0] && (e = l[0] ?? e); for (let e of Object.keys(t)) 4 & a[1][e] && (t[e] = l[1][e] ?? t[e]); return [e, t] } return i ?? l })(); return a && "string" == typeof l && (l = Ie(l, a)), l ?? o } } function Xt(e, t) { for (let r = 0; r < t.length; ++r) { let n = t[r]; if (null != e && "object" == typeof e && Object.hasOwn(e, n)) e = e[n]; else { if (void 0 === t[r + 1]) return; t[r + 1] = `${n}-${t[r + 1]}` } } return e } function Qt(e, t, r) { for (let r of t.slice(0, -1)) void 0 === e[r] && (e[r] = {}), e = e[r]; e[t[t.length - 1]] = r } var er = /^[a-z@][a-zA-Z0-9/%._-]*$/; function tr({ designSystem: e, ast: t, resolvedConfig: r, featuresRef: n, referenceMode: o, src: i }) { let a = { addBase(r) { if (o) return; let a = rr(r); n.current |= ht(a, e); let l = S("@layer", "base", a); y([l], e => { e.src = i }), t.push(l) }, addVariant(t, r) { if (!gt.test(t)) throw new Error(`\`addVariant('${t}')\` defines an invalid variant name. Variants should only contain alphanumeric, dashes, or underscore characters and start with a lowercase letter or number.`); if ("string" == typeof r) { if (r.includes(":merge(")) return } else if (Array.isArray(r)) { if (r.some(e => e.includes(":merge("))) return } else if ("object" == typeof r) { let e = function (t, r) { return Object.entries(t).some(([t, n]) => t.includes(r) || "object" == typeof n && e(n, r)) }; if (e(r, ":merge(")) return } "string" == typeof r || Array.isArray(r) ? e.variants.static(t, e => { e.nodes = nr(r, e.nodes) }, { compounds: kt("string" == typeof r ? [r] : r) }) : "object" == typeof r && e.variants.fromAst(t, rr(r), e) }, matchVariant(t, r, n) { function o(e, t, n) { return nr(r(e, { modifier: t?.value ?? null }), n) } try { let e = r("a", { modifier: null }); if ("string" == typeof e && e.includes(":merge(")) return; if (Array.isArray(e) && e.some(e => e.includes(":merge("))) return } catch { } let i = Object.keys(n?.values ?? {}); e.variants.group(() => { e.variants.functional(t, (e, t) => { if (!t.value) return n?.values && "DEFAULT" in n.values ? void (e.nodes = o(n.values.DEFAULT, t.modifier, e.nodes)) : null; if ("arbitrary" === t.value.kind) e.nodes = o(t.value.value, t.modifier, e.nodes); else { if ("named" !== t.value.kind || !n?.values) return null; { if (!Object.hasOwn(n.values, t.value.value)) return null; let r = n.values[t.value.value]; if ("string" != typeof r) return null; e.nodes = o(r, t.modifier, e.nodes) } } }) }, (e, t) => { if ("functional" !== e.kind || "functional" !== t.kind) return 0; let r = e.value ? e.value.value : "DEFAULT", o = t.value ? t.value.value : "DEFAULT", a = (n?.values && Object.hasOwn(n.values, r) ? n.values[r] : void 0) ?? r, l = (n?.values && Object.hasOwn(n.values, o) ? n.values[o] : void 0) ?? o; if (n && "function" == typeof n.sort) return n.sort({ value: a, modifier: e.modifier?.value ?? null }, { value: l, modifier: t.modifier?.value ?? null }); let s = i.indexOf(r), c = i.indexOf(o); return s = -1 === s ? i.length : s, c = -1 === c ? i.length : c, s !== c ? s - c : a < l ? -1 : 1 }), e.variants.suggest(t, () => Object.keys(n?.values ?? {}).filter(e => "DEFAULT" !== e)) }, addUtilities(r) { let a = (r = Array.isArray(r) ? r : [r]).flatMap(e => Object.entries(e)); a = a.flatMap(([e, t]) => Z(e, ",").map(e => [e.trim(), t])); let l = new f(() => []); for (let [e, r] of a) { if (e.startsWith("@keyframes ")) { if (!o) { let n = C(e, rr(r)); y([n], e => { e.src = i }), t.push(n) } continue } let n = Ht(e), a = !1; if (y(n, e => { if ("selector" === e.kind && "." === e.value[0] && er.test(e.value.slice(1))) { let t = e.value; e.value = "&"; let o = qt(n), i = t.slice(1), s = "&" === o ? rr(r) : [C(o, rr(r))]; return l.get(i).push(...s), a = !0, void (e.value = t) } if ("function" === e.kind && ":not" === e.value) return b.Skip }), !a) throw new Error(`\`addUtilities({ '${e}' : … })\` defines an invalid utility selector. Utilities must be a single class name and start with a lowercase letter, eg. \`.scrollbar-none\`.`) } for (let [t, r] of l) e.theme.prefix && y(r, t => { if ("rule" === t.kind) { let r = Ht(t.selector); y(r, t => { "selector" === t.kind && "." === t.value[0] && (t.value = `.${e.theme.prefix}\\:${t.value.slice(1)}`) }), t.selector = qt(r) } }), e.utilities.static(t, o => { let i = r.map(E); return or(i, t, o.raw), n.current |= jt(i, e), i }) }, matchUtilities(t, r) { let o = r?.type ? Array.isArray(r?.type) ? r.type : [r.type] : ["any"]; for (let [i, a] of Object.entries(t)) { let t = function ({ negative: t }) { return l => { if ("arbitrary" === l.value?.kind && o.length > 0 && !o.includes("any") && (l.value.dataType && !o.includes(l.value.dataType) || !l.value.dataType && !me(l.value.value, o))) return; let s, c = o.includes("color"), u = null, d = !1; { let e = r?.values ?? {}; c && (e = Object.assign({ inherit: "inherit", transparent: "transparent", current: "currentcolor" }, e)), l.value ? "arbitrary" === l.value.kind ? u = l.value.value : l.value.fraction && Object.hasOwn(e, l.value.fraction) ? (u = e[l.value.fraction], d = !0) : Object.hasOwn(e, l.value.value) ? u = e[l.value.value] : e.__BARE_VALUE__ && (u = e.__BARE_VALUE__(l.value) ?? null, d = (null !== l.value.fraction && u?.includes("/")) ?? !1) : u = e.DEFAULT ?? null } if (null === u) return; { let e = r?.modifiers ?? null; s = l.modifier ? "any" === e || "arbitrary" === l.modifier.kind ? l.modifier.value : e && Object.hasOwn(e, l.modifier.value) ? e[l.modifier.value] : c && !Number.isNaN(Number(l.modifier.value)) ? `${l.modifier.value}%` : null : null } if (l.modifier && null === s && !d) return "arbitrary" === l.value?.kind ? null : void 0; c && null !== s && (u = Ie(u, s)), t && (u = `calc(${u} * -1)`); let f = rr(a(u, { modifier: s })); return or(f, i, l.raw), n.current |= jt(f, e), f } }; if (!er.test(i)) throw new Error(`\`matchUtilities({ '${i}' : … })\` defines an invalid utility name. Utilities should be alphanumeric and start with a lowercase letter, eg. \`scrollbar\`.`); r?.supportsNegativeValues && e.utilities.functional(`-${i}`, t({ negative: !0 }), { types: o }), e.utilities.functional(i, t({ negative: !1 }), { types: o }), e.utilities.suggest(i, () => { let e = r?.values ?? {}, t = new Set(Object.keys(e)); t.delete("__BARE_VALUE__"), t.delete("__CSS_VALUES__"), t.has("DEFAULT") && (t.delete("DEFAULT"), t.add(null)); let n = r?.modifiers ?? {}, o = "any" === n ? [] : Object.keys(n); return [{ supportsNegative: r?.supportsNegativeValues ?? !1, values: Array.from(t), modifiers: o }] }) } }, addComponents(e, t) { this.addUtilities(e, t) }, matchComponents(e, t) { this.matchUtilities(e, t) }, theme: Jt(e, () => r.theme ?? {}, e => e), prefix: e => e, config(e, t) { let n = r; if (!e) return n; let o = Yt(e); for (let e = 0; e < o.length; ++e) { let r = o[e]; if (void 0 === n[r]) return t; n = n[r] } return n ?? t } }; return a.addComponents = a.addComponents.bind(a), a.matchComponents = a.matchComponents.bind(a), a } function rr(e) { let t = [], r = (e = Array.isArray(e) ? e : [e]).flatMap(e => Object.entries(e)); for (let [e, n] of r) if (null != n && !1 !== n) if ("object" != typeof n) { if (!e.startsWith("--")) { if ("@slot" === n) { t.push(C(e, [S("@slot")])); continue } e = e.replace(/([A-Z])/g, "-$1").toLowerCase() } t.push(T(e, String(n))) } else if (Array.isArray(n)) for (let r of n) "string" == typeof r ? t.push(T(e, r)) : t.push(C(e, rr(r))); else t.push(C(e, rr(n))); return t } function nr(e, t) { return ("string" == typeof e ? [e] : e).flatMap(e => { if (e.trim().endsWith("}")) { let r = n(e.replace("}", "{@slot}}")); return bt(r, t), r } return C(e, t) }) } function or(e, t, r) { y(e, e => { if ("rule" === e.kind) { let n = Ht(e.selector); y(n, e => { "selector" === e.kind && e.value === `.${t}` && (e.value = `.${l(r)}`) }), e.selector = qt(n) } }) } function ir(e, t) { for (let r of function (e) { let t = []; if ("keyframes" in e.theme) for (let [r, n] of Object.entries(e.theme.keyframes)) t.push(S("@keyframes", r, rr(n))); return t }(t)) e.theme.addKeyframes(r) } var ar = { inherit: "inherit", current: "currentcolor", transparent: "transparent", black: "#000", white: "#fff", slate: { 50: "oklch(98.4% 0.003 247.858)", 100: "oklch(96.8% 0.007 247.896)", 200: "oklch(92.9% 0.013 255.508)", 300: "oklch(86.9% 0.022 252.894)", 400: "oklch(70.4% 0.04 256.788)", 500: "oklch(55.4% 0.046 257.417)", 600: "oklch(44.6% 0.043 257.281)", 700: "oklch(37.2% 0.044 257.287)", 800: "oklch(27.9% 0.041 260.031)", 900: "oklch(20.8% 0.042 265.755)", 950: "oklch(12.9% 0.042 264.695)" }, gray: { 50: "oklch(98.5% 0.002 247.839)", 100: "oklch(96.7% 0.003 264.542)", 200: "oklch(92.8% 0.006 264.531)", 300: "oklch(87.2% 0.01 258.338)", 400: "oklch(70.7% 0.022 261.325)", 500: "oklch(55.1% 0.027 264.364)", 600: "oklch(44.6% 0.03 256.802)", 700: "oklch(37.3% 0.034 259.733)", 800: "oklch(27.8% 0.033 256.848)", 900: "oklch(21% 0.034 264.665)", 950: "oklch(13% 0.028 261.692)" }, zinc: { 50: "oklch(98.5% 0 0)", 100: "oklch(96.7% 0.001 286.375)", 200: "oklch(92% 0.004 286.32)", 300: "oklch(87.1% 0.006 286.286)", 400: "oklch(70.5% 0.015 286.067)", 500: "oklch(55.2% 0.016 285.938)", 600: "oklch(44.2% 0.017 285.786)", 700: "oklch(37% 0.013 285.805)", 800: "oklch(27.4% 0.006 286.033)", 900: "oklch(21% 0.006 285.885)", 950: "oklch(14.1% 0.005 285.823)" }, neutral: { 50: "oklch(98.5% 0 0)", 100: "oklch(97% 0 0)", 200: "oklch(92.2% 0 0)", 300: "oklch(87% 0 0)", 400: "oklch(70.8% 0 0)", 500: "oklch(55.6% 0 0)", 600: "oklch(43.9% 0 0)", 700: "oklch(37.1% 0 0)", 800: "oklch(26.9% 0 0)", 900: "oklch(20.5% 0 0)", 950: "oklch(14.5% 0 0)" }, stone: { 50: "oklch(98.5% 0.001 106.423)", 100: "oklch(97% 0.001 106.424)", 200: "oklch(92.3% 0.003 48.717)", 300: "oklch(86.9% 0.005 56.366)", 400: "oklch(70.9% 0.01 56.259)", 500: "oklch(55.3% 0.013 58.071)", 600: "oklch(44.4% 0.011 73.639)", 700: "oklch(37.4% 0.01 67.558)", 800: "oklch(26.8% 0.007 34.298)", 900: "oklch(21.6% 0.006 56.043)", 950: "oklch(14.7% 0.004 49.25)" }, mauve: { 50: "oklch(98.5% 0 0)", 100: "oklch(96% 0.003 325.6)", 200: "oklch(92.2% 0.005 325.62)", 300: "oklch(86.5% 0.012 325.68)", 400: "oklch(71.1% 0.019 323.02)", 500: "oklch(54.2% 0.034 322.5)", 600: "oklch(43.5% 0.029 321.78)", 700: "oklch(36.4% 0.029 323.89)", 800: "oklch(26.3% 0.024 320.12)", 900: "oklch(21.2% 0.019 322.12)", 950: "oklch(14.5% 0.008 326)" }, olive: { 50: "oklch(98.8% 0.003 106.5)", 100: "oklch(96.6% 0.005 106.5)", 200: "oklch(93% 0.007 106.5)", 300: "oklch(88% 0.011 106.6)", 400: "oklch(73.7% 0.021 106.9)", 500: "oklch(58% 0.031 107.3)", 600: "oklch(46.6% 0.025 107.3)", 700: "oklch(39.4% 0.023 107.4)", 800: "oklch(28.6% 0.016 107.4)", 900: "oklch(22.8% 0.013 107.4)", 950: "oklch(15.3% 0.006 107.1)" }, mist: { 50: "oklch(98.7% 0.002 197.1)", 100: "oklch(96.3% 0.002 197.1)", 200: "oklch(92.5% 0.005 214.3)", 300: "oklch(87.2% 0.007 219.6)", 400: "oklch(72.3% 0.014 214.4)", 500: "oklch(56% 0.021 213.5)", 600: "oklch(45% 0.017 213.2)", 700: "oklch(37.8% 0.015 216)", 800: "oklch(27.5% 0.011 216.9)", 900: "oklch(21.8% 0.008 223.9)", 950: "oklch(14.8% 0.004 228.8)" }, taupe: { 50: "oklch(98.6% 0.002 67.8)", 100: "oklch(96% 0.002 17.2)", 200: "oklch(92.2% 0.005 34.3)", 300: "oklch(86.8% 0.007 39.5)", 400: "oklch(71.4% 0.014 41.2)", 500: "oklch(54.7% 0.021 43.1)", 600: "oklch(43.8% 0.017 39.3)", 700: "oklch(36.7% 0.016 35.7)", 800: "oklch(26.8% 0.011 36.5)", 900: "oklch(21.4% 0.009 43.1)", 950: "oklch(14.7% 0.004 49.3)" }, red: { 50: "oklch(97.1% 0.013 17.38)", 100: "oklch(93.6% 0.032 17.717)", 200: "oklch(88.5% 0.062 18.334)", 300: "oklch(80.8% 0.114 19.571)", 400: "oklch(70.4% 0.191 22.216)", 500: "oklch(63.7% 0.237 25.331)", 600: "oklch(57.7% 0.245 27.325)", 700: "oklch(50.5% 0.213 27.518)", 800: "oklch(44.4% 0.177 26.899)", 900: "oklch(39.6% 0.141 25.723)", 950: "oklch(25.8% 0.092 26.042)" }, orange: { 50: "oklch(98% 0.016 73.684)", 100: "oklch(95.4% 0.038 75.164)", 200: "oklch(90.1% 0.076 70.697)", 300: "oklch(83.7% 0.128 66.29)", 400: "oklch(75% 0.183 55.934)", 500: "oklch(70.5% 0.213 47.604)", 600: "oklch(64.6% 0.222 41.116)", 700: "oklch(55.3% 0.195 38.402)", 800: "oklch(47% 0.157 37.304)", 900: "oklch(40.8% 0.123 38.172)", 950: "oklch(26.6% 0.079 36.259)" }, amber: { 50: "oklch(98.7% 0.022 95.277)", 100: "oklch(96.2% 0.059 95.617)", 200: "oklch(92.4% 0.12 95.746)", 300: "oklch(87.9% 0.169 91.605)", 400: "oklch(82.8% 0.189 84.429)", 500: "oklch(76.9% 0.188 70.08)", 600: "oklch(66.6% 0.179 58.318)", 700: "oklch(55.5% 0.163 48.998)", 800: "oklch(47.3% 0.137 46.201)", 900: "oklch(41.4% 0.112 45.904)", 950: "oklch(27.9% 0.077 45.635)" }, yellow: { 50: "oklch(98.7% 0.026 102.212)", 100: "oklch(97.3% 0.071 103.193)", 200: "oklch(94.5% 0.129 101.54)", 300: "oklch(90.5% 0.182 98.111)", 400: "oklch(85.2% 0.199 91.936)", 500: "oklch(79.5% 0.184 86.047)", 600: "oklch(68.1% 0.162 75.834)", 700: "oklch(55.4% 0.135 66.442)", 800: "oklch(47.6% 0.114 61.907)", 900: "oklch(42.1% 0.095 57.708)", 950: "oklch(28.6% 0.066 53.813)" }, lime: { 50: "oklch(98.6% 0.031 120.757)", 100: "oklch(96.7% 0.067 122.328)", 200: "oklch(93.8% 0.127 124.321)", 300: "oklch(89.7% 0.196 126.665)", 400: "oklch(84.1% 0.238 128.85)", 500: "oklch(76.8% 0.233 130.85)", 600: "oklch(64.8% 0.2 131.684)", 700: "oklch(53.2% 0.157 131.589)", 800: "oklch(45.3% 0.124 130.933)", 900: "oklch(40.5% 0.101 131.063)", 950: "oklch(27.4% 0.072 132.109)" }, green: { 50: "oklch(98.2% 0.018 155.826)", 100: "oklch(96.2% 0.044 156.743)", 200: "oklch(92.5% 0.084 155.995)", 300: "oklch(87.1% 0.15 154.449)", 400: "oklch(79.2% 0.209 151.711)", 500: "oklch(72.3% 0.219 149.579)", 600: "oklch(62.7% 0.194 149.214)", 700: "oklch(52.7% 0.154 150.069)", 800: "oklch(44.8% 0.119 151.328)", 900: "oklch(39.3% 0.095 152.535)", 950: "oklch(26.6% 0.065 152.934)" }, emerald: { 50: "oklch(97.9% 0.021 166.113)", 100: "oklch(95% 0.052 163.051)", 200: "oklch(90.5% 0.093 164.15)", 300: "oklch(84.5% 0.143 164.978)", 400: "oklch(76.5% 0.177 163.223)", 500: "oklch(69.6% 0.17 162.48)", 600: "oklch(59.6% 0.145 163.225)", 700: "oklch(50.8% 0.118 165.612)", 800: "oklch(43.2% 0.095 166.913)", 900: "oklch(37.8% 0.077 168.94)", 950: "oklch(26.2% 0.051 172.552)" }, teal: { 50: "oklch(98.4% 0.014 180.72)", 100: "oklch(95.3% 0.051 180.801)", 200: "oklch(91% 0.096 180.426)", 300: "oklch(85.5% 0.138 181.071)", 400: "oklch(77.7% 0.152 181.912)", 500: "oklch(70.4% 0.14 182.503)", 600: "oklch(60% 0.118 184.704)", 700: "oklch(51.1% 0.096 186.391)", 800: "oklch(43.7% 0.078 188.216)", 900: "oklch(38.6% 0.063 188.416)", 950: "oklch(27.7% 0.046 192.524)" }, cyan: { 50: "oklch(98.4% 0.019 200.873)", 100: "oklch(95.6% 0.045 203.388)", 200: "oklch(91.7% 0.08 205.041)", 300: "oklch(86.5% 0.127 207.078)", 400: "oklch(78.9% 0.154 211.53)", 500: "oklch(71.5% 0.143 215.221)", 600: "oklch(60.9% 0.126 221.723)", 700: "oklch(52% 0.105 223.128)", 800: "oklch(45% 0.085 224.283)", 900: "oklch(39.8% 0.07 227.392)", 950: "oklch(30.2% 0.056 229.695)" }, sky: { 50: "oklch(97.7% 0.013 236.62)", 100: "oklch(95.1% 0.026 236.824)", 200: "oklch(90.1% 0.058 230.902)", 300: "oklch(82.8% 0.111 230.318)", 400: "oklch(74.6% 0.16 232.661)", 500: "oklch(68.5% 0.169 237.323)", 600: "oklch(58.8% 0.158 241.966)", 700: "oklch(50% 0.134 242.749)", 800: "oklch(44.3% 0.11 240.79)", 900: "oklch(39.1% 0.09 240.876)", 950: "oklch(29.3% 0.066 243.157)" }, blue: { 50: "oklch(97% 0.014 254.604)", 100: "oklch(93.2% 0.032 255.585)", 200: "oklch(88.2% 0.059 254.128)", 300: "oklch(80.9% 0.105 251.813)", 400: "oklch(70.7% 0.165 254.624)", 500: "oklch(62.3% 0.214 259.815)", 600: "oklch(54.6% 0.245 262.881)", 700: "oklch(48.8% 0.243 264.376)", 800: "oklch(42.4% 0.199 265.638)", 900: "oklch(37.9% 0.146 265.522)", 950: "oklch(28.2% 0.091 267.935)" }, indigo: { 50: "oklch(96.2% 0.018 272.314)", 100: "oklch(93% 0.034 272.788)", 200: "oklch(87% 0.065 274.039)", 300: "oklch(78.5% 0.115 274.713)", 400: "oklch(67.3% 0.182 276.935)", 500: "oklch(58.5% 0.233 277.117)", 600: "oklch(51.1% 0.262 276.966)", 700: "oklch(45.7% 0.24 277.023)", 800: "oklch(39.8% 0.195 277.366)", 900: "oklch(35.9% 0.144 278.697)", 950: "oklch(25.7% 0.09 281.288)" }, violet: { 50: "oklch(96.9% 0.016 293.756)", 100: "oklch(94.3% 0.029 294.588)", 200: "oklch(89.4% 0.057 293.283)", 300: "oklch(81.1% 0.111 293.571)", 400: "oklch(70.2% 0.183 293.541)", 500: "oklch(60.6% 0.25 292.717)", 600: "oklch(54.1% 0.281 293.009)", 700: "oklch(49.1% 0.27 292.581)", 800: "oklch(43.2% 0.232 292.759)", 900: "oklch(38% 0.189 293.745)", 950: "oklch(28.3% 0.141 291.089)" }, purple: { 50: "oklch(97.7% 0.014 308.299)", 100: "oklch(94.6% 0.033 307.174)", 200: "oklch(90.2% 0.063 306.703)", 300: "oklch(82.7% 0.119 306.383)", 400: "oklch(71.4% 0.203 305.504)", 500: "oklch(62.7% 0.265 303.9)", 600: "oklch(55.8% 0.288 302.321)", 700: "oklch(49.6% 0.265 301.924)", 800: "oklch(43.8% 0.218 303.724)", 900: "oklch(38.1% 0.176 304.987)", 950: "oklch(29.1% 0.149 302.717)" }, fuchsia: { 50: "oklch(97.7% 0.017 320.058)", 100: "oklch(95.2% 0.037 318.852)", 200: "oklch(90.3% 0.076 319.62)", 300: "oklch(83.3% 0.145 321.434)", 400: "oklch(74% 0.238 322.16)", 500: "oklch(66.7% 0.295 322.15)", 600: "oklch(59.1% 0.293 322.896)", 700: "oklch(51.8% 0.253 323.949)", 800: "oklch(45.2% 0.211 324.591)", 900: "oklch(40.1% 0.17 325.612)", 950: "oklch(29.3% 0.136 325.661)" }, pink: { 50: "oklch(97.1% 0.014 343.198)", 100: "oklch(94.8% 0.028 342.258)", 200: "oklch(89.9% 0.061 343.231)", 300: "oklch(82.3% 0.12 346.018)", 400: "oklch(71.8% 0.202 349.761)", 500: "oklch(65.6% 0.241 354.308)", 600: "oklch(59.2% 0.249 0.584)", 700: "oklch(52.5% 0.223 3.958)", 800: "oklch(45.9% 0.187 3.815)", 900: "oklch(40.8% 0.153 2.432)", 950: "oklch(28.4% 0.109 3.907)" }, rose: { 50: "oklch(96.9% 0.015 12.422)", 100: "oklch(94.1% 0.03 12.58)", 200: "oklch(89.2% 0.058 10.001)", 300: "oklch(81% 0.117 11.638)", 400: "oklch(71.2% 0.194 13.428)", 500: "oklch(64.5% 0.246 16.439)", 600: "oklch(58.6% 0.253 17.585)", 700: "oklch(51.4% 0.222 16.935)", 800: "oklch(45.5% 0.188 13.697)", 900: "oklch(41% 0.159 10.272)", 950: "oklch(27.1% 0.105 12.094)" } }; function lr(e) { return { __BARE_VALUE__: e } } var sr = lr(e => { if (Ve(e.value)) return e.value }), cr = lr(e => { if (Ve(e.value)) return `${e.value}%` }), ur = lr(e => { if (Ve(e.value)) return `${e.value}px` }), dr = lr(e => { if (Ve(e.value)) return `${e.value}ms` }), fr = lr(e => { if (Ve(e.value)) return `${e.value}deg` }), pr = lr(e => { if (null === e.fraction) return; let [t, r] = Z(e.fraction, "/"); return Ve(t) && Ve(r) ? e.fraction : void 0 }), hr = lr(e => { if (Ve(Number(e.value))) return `repeat(${e.value}, minmax(0, 1fr))` }), mr = { accentColor: ({ theme: e }) => e("colors"), animation: { none: "none", spin: "spin 1s linear infinite", ping: "ping 1s cubic-bezier(0, 0, 0.2, 1) infinite", pulse: "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite", bounce: "bounce 1s infinite" }, aria: { busy: 'busy="true"', checked: 'checked="true"', disabled: 'disabled="true"', expanded: 'expanded="true"', hidden: 'hidden="true"', pressed: 'pressed="true"', readonly: 'readonly="true"', required: 'required="true"', selected: 'selected="true"' }, aspectRatio: { auto: "auto", square: "1 / 1", video: "16 / 9", ...pr }, backdropBlur: ({ theme: e }) => e("blur"), backdropBrightness: ({ theme: e }) => ({ ...e("brightness"), ...cr }), backdropContrast: ({ theme: e }) => ({ ...e("contrast"), ...cr }), backdropGrayscale: ({ theme: e }) => ({ ...e("grayscale"), ...cr }), backdropHueRotate: ({ theme: e }) => ({ ...e("hueRotate"), ...fr }), backdropInvert: ({ theme: e }) => ({ ...e("invert"), ...cr }), backdropOpacity: ({ theme: e }) => ({ ...e("opacity"), ...cr }), backdropSaturate: ({ theme: e }) => ({ ...e("saturate"), ...cr }), backdropSepia: ({ theme: e }) => ({ ...e("sepia"), ...cr }), backgroundColor: ({ theme: e }) => e("colors"), backgroundImage: { none: "none", "gradient-to-t": "linear-gradient(to top, var(--tw-gradient-stops))", "gradient-to-tr": "linear-gradient(to top right, var(--tw-gradient-stops))", "gradient-to-r": "linear-gradient(to right, var(--tw-gradient-stops))", "gradient-to-br": "linear-gradient(to bottom right, var(--tw-gradient-stops))", "gradient-to-b": "linear-gradient(to bottom, var(--tw-gradient-stops))", "gradient-to-bl": "linear-gradient(to bottom left, var(--tw-gradient-stops))", "gradient-to-l": "linear-gradient(to left, var(--tw-gradient-stops))", "gradient-to-tl": "linear-gradient(to top left, var(--tw-gradient-stops))" }, backgroundOpacity: ({ theme: e }) => e("opacity"), backgroundPosition: { bottom: "bottom", center: "center", left: "left", "left-bottom": "left bottom", "left-top": "left top", right: "right", "right-bottom": "right bottom", "right-top": "right top", top: "top" }, backgroundSize: { auto: "auto", cover: "cover", contain: "contain" }, blur: { 0: "0", none: "", sm: "4px", DEFAULT: "8px", md: "12px", lg: "16px", xl: "24px", "2xl": "40px", "3xl": "64px" }, borderColor: ({ theme: e }) => ({ DEFAULT: "currentcolor", ...e("colors") }), borderOpacity: ({ theme: e }) => e("opacity"), borderRadius: { none: "0px", sm: "0.125rem", DEFAULT: "0.25rem", md: "0.375rem", lg: "0.5rem", xl: "0.75rem", "2xl": "1rem", "3xl": "1.5rem", full: "9999px" }, borderSpacing: ({ theme: e }) => e("spacing"), borderWidth: { DEFAULT: "1px", 0: "0px", 2: "2px", 4: "4px", 8: "8px", ...ur }, boxShadow: { sm: "0 1px 2px 0 rgb(0 0 0 / 0.05)", DEFAULT: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)", md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)", lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)", xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)", "2xl": "0 25px 50px -12px rgb(0 0 0 / 0.25)", inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)", none: "none" }, boxShadowColor: ({ theme: e }) => e("colors"), brightness: { 0: "0", 50: ".5", 75: ".75", 90: ".9", 95: ".95", 100: "1", 105: "1.05", 110: "1.1", 125: "1.25", 150: "1.5", 200: "2", ...cr }, caretColor: ({ theme: e }) => e("colors"), colors: () => ({ ...ar }), columns: { auto: "auto", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", 10: "10", 11: "11", 12: "12", "3xs": "16rem", "2xs": "18rem", xs: "20rem", sm: "24rem", md: "28rem", lg: "32rem", xl: "36rem", "2xl": "42rem", "3xl": "48rem", "4xl": "56rem", "5xl": "64rem", "6xl": "72rem", "7xl": "80rem", ...sr }, container: {}, content: { none: "none" }, contrast: { 0: "0", 50: ".5", 75: ".75", 100: "1", 125: "1.25", 150: "1.5", 200: "2", ...cr }, cursor: { auto: "auto", default: "default", pointer: "pointer", wait: "wait", text: "text", move: "move", help: "help", "not-allowed": "not-allowed", none: "none", "context-menu": "context-menu", progress: "progress", cell: "cell", crosshair: "crosshair", "vertical-text": "vertical-text", alias: "alias", copy: "copy", "no-drop": "no-drop", grab: "grab", grabbing: "grabbing", "all-scroll": "all-scroll", "col-resize": "col-resize", "row-resize": "row-resize", "n-resize": "n-resize", "e-resize": "e-resize", "s-resize": "s-resize", "w-resize": "w-resize", "ne-resize": "ne-resize", "nw-resize": "nw-resize", "se-resize": "se-resize", "sw-resize": "sw-resize", "ew-resize": "ew-resize", "ns-resize": "ns-resize", "nesw-resize": "nesw-resize", "nwse-resize": "nwse-resize", "zoom-in": "zoom-in", "zoom-out": "zoom-out" }, divideColor: ({ theme: e }) => e("borderColor"), divideOpacity: ({ theme: e }) => e("borderOpacity"), divideWidth: ({ theme: e }) => ({ ...e("borderWidth"), ...ur }), dropShadow: { sm: "0 1px 1px rgb(0 0 0 / 0.05)", DEFAULT: ["0 1px 2px rgb(0 0 0 / 0.1)", "0 1px 1px rgb(0 0 0 / 0.06)"], md: ["0 4px 3px rgb(0 0 0 / 0.07)", "0 2px 2px rgb(0 0 0 / 0.06)"], lg: ["0 10px 8px rgb(0 0 0 / 0.04)", "0 4px 3px rgb(0 0 0 / 0.1)"], xl: ["0 20px 13px rgb(0 0 0 / 0.03)", "0 8px 5px rgb(0 0 0 / 0.08)"], "2xl": "0 25px 25px rgb(0 0 0 / 0.15)", none: "0 0 #0000" }, fill: ({ theme: e }) => e("colors"), flex: { 1: "1 1 0%", auto: "1 1 auto", initial: "0 1 auto", none: "none" }, flexBasis: ({ theme: e }) => ({ auto: "auto", "1/2": "50%", "1/3": "33.333333%", "2/3": "66.666667%", "1/4": "25%", "2/4": "50%", "3/4": "75%", "1/5": "20%", "2/5": "40%", "3/5": "60%", "4/5": "80%", "1/6": "16.666667%", "2/6": "33.333333%", "3/6": "50%", "4/6": "66.666667%", "5/6": "83.333333%", "1/12": "8.333333%", "2/12": "16.666667%", "3/12": "25%", "4/12": "33.333333%", "5/12": "41.666667%", "6/12": "50%", "7/12": "58.333333%", "8/12": "66.666667%", "9/12": "75%", "10/12": "83.333333%", "11/12": "91.666667%", full: "100%", ...e("spacing") }), flexGrow: { 0: "0", DEFAULT: "1", ...sr }, flexShrink: { 0: "0", DEFAULT: "1", ...sr }, fontFamily: { sans: ["ui-sans-serif", "system-ui", "sans-serif", '"Apple Color Emoji"', '"Segoe UI Emoji"', '"Segoe UI Symbol"', '"Noto Color Emoji"'], serif: ["ui-serif", "Georgia", "Cambria", '"Times New Roman"', "Times", "serif"], mono: ["ui-monospace", "SFMono-Regular", "Menlo", "Monaco", "Consolas", '"Liberation Mono"', '"Courier New"', "monospace"] }, fontSize: { xs: ["0.75rem", { lineHeight: "1rem" }], sm: ["0.875rem", { lineHeight: "1.25rem" }], base: ["1rem", { lineHeight: "1.5rem" }], lg: ["1.125rem", { lineHeight: "1.75rem" }], xl: ["1.25rem", { lineHeight: "1.75rem" }], "2xl": ["1.5rem", { lineHeight: "2rem" }], "3xl": ["1.875rem", { lineHeight: "2.25rem" }], "4xl": ["2.25rem", { lineHeight: "2.5rem" }], "5xl": ["3rem", { lineHeight: "1" }], "6xl": ["3.75rem", { lineHeight: "1" }], "7xl": ["4.5rem", { lineHeight: "1" }], "8xl": ["6rem", { lineHeight: "1" }], "9xl": ["8rem", { lineHeight: "1" }] }, fontWeight: { thin: "100", extralight: "200", light: "300", normal: "400", medium: "500", semibold: "600", bold: "700", extrabold: "800", black: "900" }, gap: ({ theme: e }) => e("spacing"), gradientColorStops: ({ theme: e }) => e("colors"), gradientColorStopPositions: { "0%": "0%", "5%": "5%", "10%": "10%", "15%": "15%", "20%": "20%", "25%": "25%", "30%": "30%", "35%": "35%", "40%": "40%", "45%": "45%", "50%": "50%", "55%": "55%", "60%": "60%", "65%": "65%", "70%": "70%", "75%": "75%", "80%": "80%", "85%": "85%", "90%": "90%", "95%": "95%", "100%": "100%", ...cr }, grayscale: { 0: "0", DEFAULT: "100%", ...cr }, gridAutoColumns: { auto: "auto", min: "min-content", max: "max-content", fr: "minmax(0, 1fr)" }, gridAutoRows: { auto: "auto", min: "min-content", max: "max-content", fr: "minmax(0, 1fr)" }, gridColumn: { auto: "auto", "span-1": "span 1 / span 1", "span-2": "span 2 / span 2", "span-3": "span 3 / span 3", "span-4": "span 4 / span 4", "span-5": "span 5 / span 5", "span-6": "span 6 / span 6", "span-7": "span 7 / span 7", "span-8": "span 8 / span 8", "span-9": "span 9 / span 9", "span-10": "span 10 / span 10", "span-11": "span 11 / span 11", "span-12": "span 12 / span 12", "span-full": "1 / -1" }, gridColumnEnd: { auto: "auto", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", 10: "10", 11: "11", 12: "12", 13: "13", ...sr }, gridColumnStart: { auto: "auto", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", 10: "10", 11: "11", 12: "12", 13: "13", ...sr }, gridRow: { auto: "auto", "span-1": "span 1 / span 1", "span-2": "span 2 / span 2", "span-3": "span 3 / span 3", "span-4": "span 4 / span 4", "span-5": "span 5 / span 5", "span-6": "span 6 / span 6", "span-7": "span 7 / span 7", "span-8": "span 8 / span 8", "span-9": "span 9 / span 9", "span-10": "span 10 / span 10", "span-11": "span 11 / span 11", "span-12": "span 12 / span 12", "span-full": "1 / -1" }, gridRowEnd: { auto: "auto", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", 10: "10", 11: "11", 12: "12", 13: "13", ...sr }, gridRowStart: { auto: "auto", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", 10: "10", 11: "11", 12: "12", 13: "13", ...sr }, gridTemplateColumns: { none: "none", subgrid: "subgrid", 1: "repeat(1, minmax(0, 1fr))", 2: "repeat(2, minmax(0, 1fr))", 3: "repeat(3, minmax(0, 1fr))", 4: "repeat(4, minmax(0, 1fr))", 5: "repeat(5, minmax(0, 1fr))", 6: "repeat(6, minmax(0, 1fr))", 7: "repeat(7, minmax(0, 1fr))", 8: "repeat(8, minmax(0, 1fr))", 9: "repeat(9, minmax(0, 1fr))", 10: "repeat(10, minmax(0, 1fr))", 11: "repeat(11, minmax(0, 1fr))", 12: "repeat(12, minmax(0, 1fr))", ...hr }, gridTemplateRows: { none: "none", subgrid: "subgrid", 1: "repeat(1, minmax(0, 1fr))", 2: "repeat(2, minmax(0, 1fr))", 3: "repeat(3, minmax(0, 1fr))", 4: "repeat(4, minmax(0, 1fr))", 5: "repeat(5, minmax(0, 1fr))", 6: "repeat(6, minmax(0, 1fr))", 7: "repeat(7, minmax(0, 1fr))", 8: "repeat(8, minmax(0, 1fr))", 9: "repeat(9, minmax(0, 1fr))", 10: "repeat(10, minmax(0, 1fr))", 11: "repeat(11, minmax(0, 1fr))", 12: "repeat(12, minmax(0, 1fr))", ...hr }, height: ({ theme: e }) => ({ auto: "auto", "1/2": "50%", "1/3": "33.333333%", "2/3": "66.666667%", "1/4": "25%", "2/4": "50%", "3/4": "75%", "1/5": "20%", "2/5": "40%", "3/5": "60%", "4/5": "80%", "1/6": "16.666667%", "2/6": "33.333333%", "3/6": "50%", "4/6": "66.666667%", "5/6": "83.333333%", full: "100%", screen: "100vh", svh: "100svh", lvh: "100lvh", dvh: "100dvh", min: "min-content", max: "max-content", fit: "fit-content", ...e("spacing") }), hueRotate: { 0: "0deg", 15: "15deg", 30: "30deg", 60: "60deg", 90: "90deg", 180: "180deg", ...fr }, inset: ({ theme: e }) => ({ auto: "auto", "1/2": "50%", "1/3": "33.333333%", "2/3": "66.666667%", "1/4": "25%", "2/4": "50%", "3/4": "75%", full: "100%", ...e("spacing") }), invert: { 0: "0", DEFAULT: "100%", ...cr }, keyframes: { spin: { to: { transform: "rotate(360deg)" } }, ping: { "75%, 100%": { transform: "scale(2)", opacity: "0" } }, pulse: { "50%": { opacity: ".5" } }, bounce: { "0%, 100%": { transform: "translateY(-25%)", animationTimingFunction: "cubic-bezier(0.8,0,1,1)" }, "50%": { transform: "none", animationTimingFunction: "cubic-bezier(0,0,0.2,1)" } } }, letterSpacing: { tighter: "-0.05em", tight: "-0.025em", normal: "0em", wide: "0.025em", wider: "0.05em", widest: "0.1em" }, lineHeight: { none: "1", tight: "1.25", snug: "1.375", normal: "1.5", relaxed: "1.625", loose: "2", 3: ".75rem", 4: "1rem", 5: "1.25rem", 6: "1.5rem", 7: "1.75rem", 8: "2rem", 9: "2.25rem", 10: "2.5rem" }, listStyleType: { none: "none", disc: "disc", decimal: "decimal" }, listStyleImage: { none: "none" }, margin: ({ theme: e }) => ({ auto: "auto", ...e("spacing") }), lineClamp: { 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", ...sr }, maxHeight: ({ theme: e }) => ({ none: "none", full: "100%", screen: "100vh", svh: "100svh", lvh: "100lvh", dvh: "100dvh", min: "min-content", max: "max-content", fit: "fit-content", ...e("spacing") }), maxWidth: ({ theme: e }) => ({ none: "none", xs: "20rem", sm: "24rem", md: "28rem", lg: "32rem", xl: "36rem", "2xl": "42rem", "3xl": "48rem", "4xl": "56rem", "5xl": "64rem", "6xl": "72rem", "7xl": "80rem", full: "100%", min: "min-content", max: "max-content", fit: "fit-content", prose: "65ch", ...e("spacing") }), minHeight: ({ theme: e }) => ({ full: "100%", screen: "100vh", svh: "100svh", lvh: "100lvh", dvh: "100dvh", min: "min-content", max: "max-content", fit: "fit-content", ...e("spacing") }), minWidth: ({ theme: e }) => ({ full: "100%", min: "min-content", max: "max-content", fit: "fit-content", ...e("spacing") }), objectPosition: { bottom: "bottom", center: "center", left: "left", "left-bottom": "left bottom", "left-top": "left top", right: "right", "right-bottom": "right bottom", "right-top": "right top", top: "top" }, opacity: { 0: "0", 5: "0.05", 10: "0.1", 15: "0.15", 20: "0.2", 25: "0.25", 30: "0.3", 35: "0.35", 40: "0.4", 45: "0.45", 50: "0.5", 55: "0.55", 60: "0.6", 65: "0.65", 70: "0.7", 75: "0.75", 80: "0.8", 85: "0.85", 90: "0.9", 95: "0.95", 100: "1", ...cr }, order: { first: "-9999", last: "9999", none: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", 10: "10", 11: "11", 12: "12", ...sr }, outlineColor: ({ theme: e }) => e("colors"), outlineOffset: { 0: "0px", 1: "1px", 2: "2px", 4: "4px", 8: "8px", ...ur }, outlineWidth: { 0: "0px", 1: "1px", 2: "2px", 4: "4px", 8: "8px", ...ur }, padding: ({ theme: e }) => e("spacing"), placeholderColor: ({ theme: e }) => e("colors"), placeholderOpacity: ({ theme: e }) => e("opacity"), ringColor: ({ theme: e }) => ({ DEFAULT: "currentcolor", ...e("colors") }), ringOffsetColor: ({ theme: e }) => e("colors"), ringOffsetWidth: { 0: "0px", 1: "1px", 2: "2px", 4: "4px", 8: "8px", ...ur }, ringOpacity: ({ theme: e }) => ({ DEFAULT: "0.5", ...e("opacity") }), ringWidth: { DEFAULT: "3px", 0: "0px", 1: "1px", 2: "2px", 4: "4px", 8: "8px", ...ur }, rotate: { 0: "0deg", 1: "1deg", 2: "2deg", 3: "3deg", 6: "6deg", 12: "12deg", 45: "45deg", 90: "90deg", 180: "180deg", ...fr }, saturate: { 0: "0", 50: ".5", 100: "1", 150: "1.5", 200: "2", ...cr }, scale: { 0: "0", 50: ".5", 75: ".75", 90: ".9", 95: ".95", 100: "1", 105: "1.05", 110: "1.1", 125: "1.25", 150: "1.5", ...cr }, screens: { sm: "40rem", md: "48rem", lg: "64rem", xl: "80rem", "2xl": "96rem" }, scrollMargin: ({ theme: e }) => e("spacing"), scrollPadding: ({ theme: e }) => e("spacing"), sepia: { 0: "0", DEFAULT: "100%", ...cr }, skew: { 0: "0deg", 1: "1deg", 2: "2deg", 3: "3deg", 6: "6deg", 12: "12deg", ...fr }, space: ({ theme: e }) => e("spacing"), spacing: { px: "1px", 0: "0px", .5: "0.125rem", 1: "0.25rem", 1.5: "0.375rem", 2: "0.5rem", 2.5: "0.625rem", 3: "0.75rem", 3.5: "0.875rem", 4: "1rem", 5: "1.25rem", 6: "1.5rem", 7: "1.75rem", 8: "2rem", 9: "2.25rem", 10: "2.5rem", 11: "2.75rem", 12: "3rem", 14: "3.5rem", 16: "4rem", 20: "5rem", 24: "6rem", 28: "7rem", 32: "8rem", 36: "9rem", 40: "10rem", 44: "11rem", 48: "12rem", 52: "13rem", 56: "14rem", 60: "15rem", 64: "16rem", 72: "18rem", 80: "20rem", 96: "24rem" }, stroke: ({ theme: e }) => ({ none: "none", ...e("colors") }), strokeWidth: { 0: "0", 1: "1", 2: "2", ...sr }, supports: {}, data: {}, textColor: ({ theme: e }) => e("colors"), textDecorationColor: ({ theme: e }) => e("colors"), textDecorationThickness: { auto: "auto", "from-font": "from-font", 0: "0px", 1: "1px", 2: "2px", 4: "4px", 8: "8px", ...ur }, textIndent: ({ theme: e }) => e("spacing"), textOpacity: ({ theme: e }) => e("opacity"), textUnderlineOffset: { auto: "auto", 0: "0px", 1: "1px", 2: "2px", 4: "4px", 8: "8px", ...ur }, transformOrigin: { center: "center", top: "top", "top-right": "top right", right: "right", "bottom-right": "bottom right", bottom: "bottom", "bottom-left": "bottom left", left: "left", "top-left": "top left" }, transitionDelay: { 0: "0s", 75: "75ms", 100: "100ms", 150: "150ms", 200: "200ms", 300: "300ms", 500: "500ms", 700: "700ms", 1e3: "1000ms", ...dr }, transitionDuration: { DEFAULT: "150ms", 0: "0s", 75: "75ms", 100: "100ms", 150: "150ms", 200: "200ms", 300: "300ms", 500: "500ms", 700: "700ms", 1e3: "1000ms", ...dr }, transitionProperty: { none: "none", all: "all", DEFAULT: "color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter", colors: "color, background-color, border-color, outline-color, text-decoration-color, fill, stroke", opacity: "opacity", shadow: "box-shadow", transform: "transform" }, transitionTimingFunction: { DEFAULT: "cubic-bezier(0.4, 0, 0.2, 1)", linear: "linear", in: "cubic-bezier(0.4, 0, 1, 1)", out: "cubic-bezier(0, 0, 0.2, 1)", "in-out": "cubic-bezier(0.4, 0, 0.2, 1)" }, translate: ({ theme: e }) => ({ "1/2": "50%", "1/3": "33.333333%", "2/3": "66.666667%", "1/4": "25%", "2/4": "50%", "3/4": "75%", full: "100%", ...e("spacing") }), size: ({ theme: e }) => ({ auto: "auto", "1/2": "50%", "1/3": "33.333333%", "2/3": "66.666667%", "1/4": "25%", "2/4": "50%", "3/4": "75%", "1/5": "20%", "2/5": "40%", "3/5": "60%", "4/5": "80%", "1/6": "16.666667%", "2/6": "33.333333%", "3/6": "50%", "4/6": "66.666667%", "5/6": "83.333333%", "1/12": "8.333333%", "2/12": "16.666667%", "3/12": "25%", "4/12": "33.333333%", "5/12": "41.666667%", "6/12": "50%", "7/12": "58.333333%", "8/12": "66.666667%", "9/12": "75%", "10/12": "83.333333%", "11/12": "91.666667%", full: "100%", min: "min-content", max: "max-content", fit: "fit-content", ...e("spacing") }), width: ({ theme: e }) => ({ auto: "auto", "1/2": "50%", "1/3": "33.333333%", "2/3": "66.666667%", "1/4": "25%", "2/4": "50%", "3/4": "75%", "1/5": "20%", "2/5": "40%", "3/5": "60%", "4/5": "80%", "1/6": "16.666667%", "2/6": "33.333333%", "3/6": "50%", "4/6": "66.666667%", "5/6": "83.333333%", "1/12": "8.333333%", "2/12": "16.666667%", "3/12": "25%", "4/12": "33.333333%", "5/12": "41.666667%", "6/12": "50%", "7/12": "58.333333%", "8/12": "66.666667%", "9/12": "75%", "10/12": "83.333333%", "11/12": "91.666667%", full: "100%", screen: "100vw", svw: "100svw", lvw: "100lvw", dvw: "100dvw", min: "min-content", max: "max-content", fit: "fit-content", ...e("spacing") }), willChange: { auto: "auto", scroll: "scroll-position", contents: "contents", transform: "transform" }, zIndex: { auto: "auto", 0: "0", 10: "10", 20: "20", 30: "30", 40: "40", 50: "50", ...sr } }; function gr(e) { return { theme: { ...mr, colors: ({ theme: e }) => e("color", {}), extend: { fontSize: ({ theme: e }) => ({ ...e("text", {}) }), boxShadow: ({ theme: e }) => ({ ...e("shadow", {}) }), animation: ({ theme: e }) => ({ ...e("animate", {}) }), aspectRatio: ({ theme: e }) => ({ ...e("aspect", {}) }), borderRadius: ({ theme: e }) => ({ ...e("radius", {}) }), screens: ({ theme: e }) => ({ ...e("breakpoint", {}) }), letterSpacing: ({ theme: e }) => ({ ...e("tracking", {}) }), lineHeight: ({ theme: e }) => ({ ...e("leading", {}) }), transitionDuration: { DEFAULT: e.get(["--default-transition-duration"]) ?? null }, transitionTimingFunction: { DEFAULT: e.get(["--default-transition-timing-function"]) ?? null }, maxWidth: ({ theme: e }) => ({ ...e("container", {}) }) } } } } var vr = { blocklist: [], future: {}, experimental: {}, prefix: "", important: !1, darkMode: null, theme: {}, plugins: [], content: { files: [] } }; function kr(e, t) { let r = { design: e, configs: [], plugins: [], content: { files: [] }, theme: {}, extend: {}, result: structuredClone(vr) }; for (let e of t) br(r, e); for (let e of r.configs) "darkMode" in e && void 0 !== e.darkMode && (r.result.darkMode = e.darkMode ?? null), "prefix" in e && void 0 !== e.prefix && (r.result.prefix = e.prefix ?? ""), "blocklist" in e && void 0 !== e.blocklist && (r.result.blocklist = e.blocklist ?? []), "important" in e && void 0 !== e.important && (r.result.important = e.important ?? !1); let n = function (e) { let t = new Set, r = Jt(e.design, () => e.theme, o), n = Object.assign(r, { theme: r, colors: ar }); function o(e) { return "function" == typeof e ? e(n) ?? null : e ?? null } for (let r of e.configs) { let n = r.theme ?? {}, o = n.extend ?? {}; for (let e in n) "extend" !== e && t.add(e); Object.assign(e.theme, n); for (let t in o) e.extend[t] ??= [], e.extend[t].push(o[t]) } delete e.theme.extend; for (let t in e.extend) { let r = [e.theme[t], ...e.extend[t]]; e.theme[t] = () => Gt({}, r.map(o), wr) } for (let t in e.theme) e.theme[t] = o(e.theme[t]); if (e.theme.screens && "object" == typeof e.theme.screens) for (let t of Object.keys(e.theme.screens)) { let r = e.theme.screens[t]; r && "object" == typeof r && ("raw" in r || "max" in r || "min" in r && (e.theme.screens[t] = r.min)) } return t }(r); return { resolvedConfig: { ...r.result, content: r.content, theme: r.theme, plugins: r.plugins }, replacedThemeKeys: n } } function wr(e, t) { return Array.isArray(e) && Zt(e[0]) ? e.concat(t) : Array.isArray(t) && Zt(t[0]) && Zt(e) ? [e, ...t] : Array.isArray(t) ? t : void 0 } function br(e, { config: t, base: r, path: n, reference: o, src: i }) { let a = []; for (let e of t.plugins ?? []) "__isOptionsFunction" in e ? a.push({ ...e(), reference: o, src: i }) : "handler" in e ? a.push({ ...e, reference: o, src: i }) : a.push({ handler: e, reference: o, src: i }); if (Array.isArray(t.presets) && 0 === t.presets.length) throw new Error("Error in the config file/plugin/preset. An empty preset (`preset: []`) is not currently supported."); for (let a of t.presets ?? []) br(e, { path: n, base: r, config: a, reference: o, src: i }); for (let t of a) e.plugins.push(t), t.config && br(e, { path: n, base: r, config: t.config, reference: !!t.reference, src: t.src ?? i }); let l = t.content ?? [], s = Array.isArray(l) ? l : l.files; for (let t of s) e.content.files.push("object" == typeof t ? t : { base: r, pattern: t }); e.configs.push(t) } function yr(e, t) { let r = e.theme.container || {}; if ("object" != typeof r || null === r) return; let n = function ({ center: e, padding: t, screens: r }, n) { let o = [], i = null; if (e && o.push(T("margin-inline", "auto")), ("string" == typeof t || "object" == typeof t && null !== t && "DEFAULT" in t) && o.push(T("padding-inline", "string" == typeof t ? t : t.DEFAULT)), "object" == typeof r && null !== r) { i = new Map; let e = Array.from(n.theme.namespace("--breakpoint").entries()); if (e.sort((e, t) => ce(e[1], t[1], "asc")), e.length > 0) { let [t] = e[0]; o.push(S("@media", `(width >= --theme(--breakpoint-${t}))`, [T("max-width", "none")])) } for (let [e, t] of Object.entries(r)) { if ("object" == typeof t) { if (!("min" in t)) continue; t = t.min } i.set(e, S("@media", `(width >= ${t})`, [T("max-width", t)])) } } if ("object" == typeof t && null !== t) { let e = Object.entries(t).filter(([e]) => "DEFAULT" !== e).map(([e, t]) => [e, n.theme.resolveValue(e, ["--breakpoint"]), t]).filter(Boolean); e.sort((e, t) => ce(e[1], t[1], "asc")); for (let [t, , r] of e) if (i && i.has(t)) i.get(t).nodes.push(T("padding-inline", r)); else { if (i) continue; o.push(S("@media", `(width >= theme(--breakpoint-${t}))`, [T("padding-inline", r)])) } } if (i) for (let [, e] of i) o.push(e); return o }(r, t); 0 !== n.length && t.utilities.static("container", () => n.map(E)) } function xr({ addVariant: e, config: t }) { let r = t("darkMode", null), [n, o = ".dark"] = Array.isArray(r) ? r : [r]; if ("variant" === n) { let e; if (Array.isArray(o) || "function" == typeof o ? e = o : "string" == typeof o && (e = [o]), Array.isArray(e)) for (let t of e) ".dark" === t ? (n = !1, console.warn('When using `variant` for `darkMode`, you must provide a selector.\nExample: `darkMode: ["variant", ".your-selector &"]`')) : t.includes("&") || (n = !1, console.warn('When using `variant` for `darkMode`, your selector must contain `&`.\nExample `darkMode: ["variant", ".your-selector &"]`')); o = e } null === n || ("selector" === n ? e("dark", `&:where(${o}, ${o} *)`) : "media" === n ? e("dark", "@media (prefers-color-scheme: dark)") : "variant" === n ? e("dark", o) : "class" === n && e("dark", `&:is(${o} *)`)) } function $r(e) { return (Array.isArray(e) ? e : [e]).map(e => "string" == typeof e ? { min: e } : e && "object" == typeof e ? e : null).map(e => { if (null === e) return null; if ("raw" in e) return e.raw; let t = ""; return void 0 !== e.max && (t += `${e.max} >= `), t += "width", void 0 !== e.min && (t += ` >= ${e.min}`), `(${t})` }).filter(Boolean).join(", ") } var zr = /^[a-z]+$/; async function Ar({ designSystem: e, base: t, ast: r, loadModule: n, sources: o }) { let i = 0, a = [], l = []; y(r, (e, t) => { if ("at-rule" !== e.kind) return; let r = N(t); if ("@plugin" === e.name) { if (null !== r.parent) throw new Error("`@plugin` cannot be nested."); let t = e.params.slice(1, -1); if (0 === t.length) throw new Error("`@plugin` must have a path."); let n = {}; for (let t of e.nodes ?? []) { if ("declaration" !== t.kind) throw new Error(`Unexpected \`@plugin\` option:\n\n${F([t])}\n\n\`@plugin\` options must be a flat list of declarations.`); if (void 0 === t.value) continue; let e = Z(t.value, ",").map(e => { if ("null" === (e = e.trim())) return null; if ("true" === e) return !0; if ("false" === e) return !1; if (!Number.isNaN(Number(e))) return Number(e); if ('"' === e[0] && '"' === e[e.length - 1] || "'" === e[0] && "'" === e[e.length - 1]) return e.slice(1, -1); if ("{" === e[0] && "}" === e[e.length - 1]) throw new Error(`Unexpected \`@plugin\` option: Value of declaration \`${F([t]).trim()}\` is not supported.\n\nUsing an object as a plugin option is currently only supported in JavaScript configuration files.`); return e }); n[t.property] = 1 === e.length ? e[0] : e } return a.push([{ id: t, base: r.context.base, reference: !!r.context.reference, src: e.src }, Object.keys(n).length > 0 ? n : null]), i |= 4, b.Replace([]) } if ("@config" === e.name) { if (e.nodes.length > 0) throw new Error("`@config` cannot have a body."); if (null !== r.parent) throw new Error("`@config` cannot be nested."); return l.push({ id: e.params.slice(1, -1), base: r.context.base, reference: !!r.context.reference, src: e.src }), i |= 4, b.Replace([]) } }), function (e) { for (let [t, r] of [["t", "top"], ["tr", "top right"], ["r", "right"], ["br", "bottom right"], ["b", "bottom"], ["bl", "bottom left"], ["l", "left"], ["tl", "top left"]]) e.utilities.suggest(`bg-gradient-to-${t}`, () => []), e.utilities.static(`bg-gradient-to-${t}`, () => [T("--tw-gradient-position", `to ${r} in oklab`), T("background-image", "linear-gradient(var(--tw-gradient-stops))")]); e.utilities.suggest("bg-left-top", () => []), e.utilities.static("bg-left-top", () => [T("background-position", "left top")]), e.utilities.suggest("bg-right-top", () => []), e.utilities.static("bg-right-top", () => [T("background-position", "right top")]), e.utilities.suggest("bg-left-bottom", () => []), e.utilities.static("bg-left-bottom", () => [T("background-position", "left bottom")]), e.utilities.suggest("bg-right-bottom", () => []), e.utilities.static("bg-right-bottom", () => [T("background-position", "right bottom")]), e.utilities.suggest("object-left-top", () => []), e.utilities.static("object-left-top", () => [T("object-position", "left top")]), e.utilities.suggest("object-right-top", () => []), e.utilities.static("object-right-top", () => [T("object-position", "right top")]), e.utilities.suggest("object-left-bottom", () => []), e.utilities.static("object-left-bottom", () => [T("object-position", "left bottom")]), e.utilities.suggest("object-right-bottom", () => []), e.utilities.static("object-right-bottom", () => [T("object-position", "right bottom")]), e.utilities.suggest("max-w-screen", () => []), e.utilities.functional("max-w-screen", t => { if (!t.value || "arbitrary" === t.value.kind) return; let r = e.theme.resolve(t.value.value, ["--breakpoint"]); return r ? [T("max-width", r)] : void 0 }), e.utilities.suggest("overflow-ellipsis", () => []), e.utilities.static("overflow-ellipsis", () => [T("text-overflow", "ellipsis")]), e.utilities.suggest("decoration-slice", () => []), e.utilities.static("decoration-slice", () => [T("-webkit-box-decoration-break", "slice"), T("box-decoration-break", "slice")]), e.utilities.suggest("decoration-clone", () => []), e.utilities.static("decoration-clone", () => [T("-webkit-box-decoration-break", "clone"), T("box-decoration-break", "clone")]), e.utilities.suggest("flex-shrink", () => []), e.utilities.functional("flex-shrink", e => { if (!e.modifier) { if (!e.value) return [T("flex-shrink", "1")]; if ("arbitrary" === e.value.kind) return [T("flex-shrink", e.value.value)]; if (Ve(e.value.value)) return [T("flex-shrink", e.value.value)] } }), e.utilities.suggest("flex-grow", () => []), e.utilities.functional("flex-grow", e => { if (!e.modifier) { if (!e.value) return [T("flex-grow", "1")]; if ("arbitrary" === e.value.kind) return [T("flex-grow", e.value.value)]; if (Ve(e.value.value)) return [T("flex-grow", e.value.value)] } }), e.utilities.suggest("order-none", () => []), e.utilities.static("order-none", () => [T("order", "0")]), e.utilities.suggest("break-words", () => []), e.utilities.static("break-words", () => [T("overflow-wrap", "break-word")]); for (let [t, r] of [["start", "inset-inline-start"], ["end", "inset-inline-end"]]) { let n = function ({ negative: t }) { return n => { if (null === n.value) return; if ("arbitrary" === n.value.kind) { if (n.modifier) return; let e = n.value.value; return [T(r, t ? `calc(${e} * -1)` : e)] } let o = e.theme.resolve(n.value.fraction ?? n.value.value, ["--inset", "--spacing"]); if (null === o && n.value.fraction) { let [e, t] = Z(n.value.fraction, "/"); if (!Ve(e) || !Ve(t)) return; o = `calc(${n.value.fraction} * 100%)` } if (null === o && t) { let t = e.theme.resolve(null, ["--spacing"]); if (t && Ne(n.value.value) && (o = `calc(${t} * -${n.value.value})`, null !== o)) return [T(r, o)] } if (null === o) { let t = e.theme.resolve(null, ["--spacing"]); t && Ne(n.value.value) && (o = `calc(${t} * ${n.value.value})`) } return null !== o ? [T(r, t ? `calc(${o} * -1)` : o)] : void 0 } }; e.utilities.static(`${t}-auto`, () => [T(r, "auto")]), e.utilities.static(`${t}-full`, () => [T(r, "100%")]), e.utilities.static(`-${t}-full`, () => [T(r, "-100%")]), e.utilities.static(`${t}-px`, () => [T(r, "1px")]), e.utilities.static(`-${t}-px`, () => [T(r, "-1px")]), e.utilities.functional(`-${t}`, n({ negative: !0 })), e.utilities.functional(t, n({ negative: !1 })) } }(e); let s = e.resolveThemeValue; if (e.resolveThemeValue = function (n, a) { return n.startsWith("--") ? s(n, a) : (i |= Sr({ designSystem: e, base: t, ast: r, sources: o, configs: [], pluginDetails: [] }), e.resolveThemeValue(n, a)) }, !a.length && !l.length) return 0; let [c, u] = await Promise.all([Promise.all(l.map(async ({ id: e, base: t, reference: r, src: o }) => { let i = await n(e, t, "config"); return { path: e, base: i.base, config: i.module, reference: r, src: o } })), Promise.all(a.map(async ([{ id: e, base: t, reference: r, src: o }, i]) => { let a = await n(e, t, "plugin"); return { path: e, base: a.base, plugin: a.module, options: i, reference: r, src: o } }))]); return i |= Sr({ designSystem: e, base: t, ast: r, sources: o, configs: c, pluginDetails: u }), i } function Sr({ designSystem: e, base: t, ast: r, sources: n, configs: o, pluginDetails: i }) { let a = 0, l = [...i.map(e => { if (!e.options) return { config: { plugins: [e.plugin] }, base: e.base, reference: e.reference, src: e.src }; if ("__isOptionsFunction" in e.plugin) return { config: { plugins: [e.plugin(e.options)] }, base: e.base, reference: e.reference, src: e.src }; throw new Error(`The plugin "${e.path}" does not accept options`) }), ...o], { resolvedConfig: s } = kr(e, [{ config: gr(e.theme), base: t, reference: !0, src: void 0 }, ...l, { config: { plugins: [xr] }, base: t, reference: !0, src: void 0 }]), { resolvedConfig: c, replacedThemeKeys: u } = kr(e, l), d = { designSystem: e, ast: r, resolvedConfig: s, featuresRef: { set current(e) { a |= e } } }, f = tr({ ...d, referenceMode: !1, src: void 0 }), p = e.resolveThemeValue; e.resolveThemeValue = function (e, t) { if ("-" === e[0] && "-" === e[1]) return p(e, t); let r = f.theme(e, void 0); return Array.isArray(r) && 2 === r.length ? r[0] : Array.isArray(r) ? r.join(", ") : "object" == typeof r && null !== r && "DEFAULT" in r ? r.DEFAULT : "string" == typeof r ? r : void 0 }; for (let { handler: e, reference: t, src: r } of s.plugins) { e(tr({ ...d, referenceMode: t ?? !1, src: r })) } if (Nt(e, c, u), ir(e, c), function (e, t) { let r = e.theme.aria || {}, n = e.theme.supports || {}, o = e.theme.data || {}; if (Object.keys(r).length > 0) { let e = t.variants.get("aria"), n = e?.applyFn, o = e?.compounds; t.variants.functional("aria", (e, t) => { let o = t.value; return o && "named" === o.kind && o.value in r ? n?.(e, { ...t, value: { kind: "arbitrary", value: r[o.value] } }) : n?.(e, t) }, { compounds: o }) } if (Object.keys(n).length > 0) { let e = t.variants.get("supports"), r = e?.applyFn, o = e?.compounds; t.variants.functional("supports", (e, t) => { let o = t.value; return o && "named" === o.kind && o.value in n ? r?.(e, { ...t, value: { kind: "arbitrary", value: n[o.value] } }) : r?.(e, t) }, { compounds: o }) } if (Object.keys(o).length > 0) { let e = t.variants.get("data"), r = e?.applyFn, n = e?.compounds; t.variants.functional("data", (e, t) => { let n = t.value; return n && "named" === n.kind && n.value in o ? r?.(e, { ...t, value: { kind: "arbitrary", value: o[n.value] } }) : r?.(e, t) }, { compounds: n }) } }(c, e), function (e, t) { let r = e.theme.screens || {}, n = t.variants.get("min")?.order ?? 0, o = []; for (let [e, i] of Object.entries(r)) { let r = function (r) { t.variants.static(e, e => { e.nodes = [S("@media", c, e.nodes)] }, { order: r }) }, a = t.variants.get(e), l = t.theme.resolveValue(e, ["--breakpoint"]); if (a && l && !t.theme.hasDefault(`--breakpoint-${e}`)) continue; let s = !0; "string" == typeof i && (s = !1); let c = $r(i); s ? o.push(r) : r(n) } if (0 !== o.length) { for (let [, e] of t.variants.variants) e.order > n && (e.order += o.length); t.variants.compareFns = new Map(Array.from(t.variants.compareFns).map(([e, t]) => (e > n && (e += o.length), [e, t]))); for (let [e, t] of o.entries()) t(n + e + 1) } }(c, e), yr(c, e), !e.theme.prefix && s.prefix) { if (s.prefix.endsWith("-") && (s.prefix = s.prefix.slice(0, -1), console.warn(`The prefix "${s.prefix}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only and is written as a variant before all utilities. We have fixed up the prefix for you. Remove the trailing \`-\` to silence this warning.`)), !zr.test(s.prefix)) throw new Error(`The prefix "${s.prefix}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only.`); e.theme.prefix = s.prefix } if (!e.important && !0 === s.important && (e.important = !0), "string" == typeof s.important) { let e = s.important; y(r, (t, r) => { if ("at-rule" !== t.kind || "@tailwind" !== t.name || "utilities" !== t.params) return; let n = N(r); return "rule" === n.parent?.kind && n.parent.selector === e ? b.Stop : b.ReplaceStop(A(e, [t])) }) } for (let t of s.blocklist) e.invalidCandidates.add(t); for (let e of s.content.files) { if ("raw" in e) throw new Error(`Error in the config file/plugin/preset. The \`content\` key contains a \`raw\` entry:\n\n${JSON.stringify(e, null, 2)}\n\nThis feature is not currently supported.`); let t = !1; "!" == e.pattern[0] && (t = !0, e.pattern = e.pattern.slice(1)), n.push({ ...e, negated: t }) } return a } var Cr = /^(-?\d+)\.\.(-?\d+)(?:\.\.(-?\d+))?$/; function Tr(e) { let t = e.indexOf("{"); if (-1 === t) return [e]; let r = [], n = e.slice(0, t), o = e.slice(t), i = 0, a = o.lastIndexOf("}"); for (let e = 0; e < o.length; e++) { let t = o[e]; if ("{" === t) i++; else if ("}" === t && (i--, 0 === i)) { a = e; break } } if (-1 === a) throw new Error(`The pattern \`${e}\` is not balanced.`); let l, s = o.slice(1, a), c = o.slice(a + 1); l = function (e) { return Cr.test(e) }(s) ? function (e) { let t = e.match(Cr); if (!t) return [e]; let [, r, n, o] = t, i = o ? parseInt(o, 10) : void 0, a = []; if (/^-?\d+$/.test(r) && /^-?\d+$/.test(n)) { let e = parseInt(r, 10), t = parseInt(n, 10); if (void 0 === i && (i = e <= t ? 1 : -1), 0 === i) throw new Error("Step cannot be zero in sequence expansion."); let o = e < t; o && i < 0 && (i = -i), !o && i > 0 && (i = -i); for (let r = e; o ? r <= t : r >= t; r += i)a.push(r.toString()) } return a }(s) : Z(s, ","), l = l.flatMap(e => Tr(e)); let u = Tr(c); for (let e of u) for (let t of l) r.push(n + t + e); return r } var jr = /^[a-z]+$/; function Kr() { throw new Error("No `loadModule` function provided to `compile`") } function Vr() { throw new Error("No `loadStylesheet` function provided to `compile`") } async function Er(e, { base: t = "", from: r, loadModule: n = Kr, loadStylesheet: o = Vr } = {}) { let i = 0; e = [K({ base: t }, e)], i |= await Vt(e, t, o, 0, void 0 !== r); let a = null, c = new d, u = new Map, f = new Map, p = [], h = null, m = null, g = [], v = [], k = [], w = [], x = null; y(e, (e, t) => { if ("at-rule" !== e.kind) return; let r = N(t); if ("@tailwind" === e.name && ("utilities" === e.params || e.params.startsWith("utilities"))) { if (null !== m) return b.Replace([]); if (r.context.reference) return b.Replace([]); let t = Z(e.params, " "); for (let e of t) if (e.startsWith("source(")) { let t = e.slice(7, -1); if ("none" === t) { x = t; continue } if ('"' === t[0] && '"' !== t[t.length - 1] || "'" === t[0] && "'" !== t[t.length - 1] || "'" !== t[0] && '"' !== t[0]) throw new Error("`source(…)` paths must be quoted."); x = { base: r.context.sourceBase ?? r.context.base, pattern: t.slice(1, -1) } } m = e, i |= 16 } if ("@utility" === e.name) { if (null !== r.parent) throw new Error("`@utility` cannot be nested."); if (0 === e.nodes.length) throw new Error(`\`@utility ${e.params}\` is empty. Utilities should include at least one property.`); let t = Ge(e); if (null === t) { if (!e.params.endsWith("-*")) { if (e.params.endsWith("*")) throw new Error(`\`@utility ${e.params}\` defines an invalid utility name. A functional utility must end in \`-*\`.`); if (e.params.includes("*")) throw new Error(`\`@utility ${e.params}\` defines an invalid utility name. The dynamic portion marked by \`-*\` must appear once at the end.`) } throw new Error(`\`@utility ${e.params}\` defines an invalid utility name. Utilities should be alphanumeric and start with a lowercase letter.`) } p.push(t) } if ("@source" === e.name) { if (e.nodes.length > 0) throw new Error("`@source` cannot have a body."); if (null !== r.parent) throw new Error("`@source` cannot be nested."); let t = !1, n = !1, o = e.params; if ("n" === o[0] && o.startsWith("not ") && (t = !0, o = o.slice(4)), "i" === o[0] && o.startsWith("inline(") && (n = !0, o = o.slice(7, -1).trim()), '"' === o[0] && '"' !== o[o.length - 1] || "'" === o[0] && "'" !== o[o.length - 1] || "'" !== o[0] && '"' !== o[0]) throw new Error("`@source` paths must be quoted."); let i = o.slice(1, -1); if (n) { let e = t ? w : k, r = Z(i, " "); for (let t of r) for (let r of Tr(t)) e.push(r) } else v.push({ base: r.context.base, pattern: i, negated: t }); return b.ReplaceSkip([]) } if ("@variant" === e.name && (null === r.parent ? 0 === e.nodes.length ? e.name = "@custom-variant" : (y(e.nodes, t => { if ("at-rule" === t.kind && "@slot" === t.name) return e.name = "@custom-variant", b.Stop }), "@variant" === e.name && g.push(e)) : g.push(e)), "@custom-variant" === e.name) { if (null !== r.parent) throw new Error("`@custom-variant` cannot be nested."); let [t, n] = Z(e.params, " "); if (!gt.test(t)) throw new Error(`\`@custom-variant ${t}\` defines an invalid variant name. Variants should only contain alphanumeric, dashes, or underscore characters and start with a lowercase letter or number.`); if (e.nodes.length > 0 && n) throw new Error(`\`@custom-variant ${t}\` cannot have both a selector and a body.`); if (0 === e.nodes.length) { if (!n) throw new Error(`\`@custom-variant ${t}\` has no selector or body.`); let e = Z(n.slice(1, -1), ","); if (0 === e.length || e.some(e => "" === e.trim())) throw new Error(`\`@custom-variant ${t} (${e.join(",")})\` selector is invalid.`); let r = [], o = []; for (let t of e) t = t.trim(), "@" === t[0] ? r.push(t) : o.push(t); u.set(t, e => { e.variants.static(t, e => { let t = []; o.length > 0 && t.push(A(o.join(", "), e.nodes)); for (let n of r) t.push(C(n, e.nodes)); e.nodes = t }, { compounds: kt([...o, ...r]) }) }), f.set(t, new Set) } else { let r = new Set; y(e.nodes, e => { "at-rule" === e.kind && "@variant" === e.name && r.add(e.params) }), u.set(t, r => { r.variants.fromAst(t, e.nodes, r) }), f.set(t, r) } return b.ReplaceSkip([]) } if ("@media" === e.name) { let t = Z(e.params, " "), n = []; for (let o of t) if (o.startsWith("source(")) { let t = o.slice(7, -1); y(e.nodes, e => { if ("at-rule" === e.kind && "@tailwind" === e.name && "utilities" === e.params) return e.params += ` source(${t})`, b.ReplaceStop([K({ sourceBase: r.context.base }, [e])]) }) } else if (o.startsWith("theme(")) { let t = o.slice(6, -1), r = t.includes("reference"); y(e.nodes, e => { if ("context" !== e.kind) { if ("at-rule" !== e.kind) { if (r) throw new Error('Files imported with `@import "…" theme(reference)` must only contain `@theme` blocks.\nUse `@reference "…";` instead.'); return b.Continue } if ("@theme" === e.name) return e.params += " " + t, b.Skip } }) } else if (o.startsWith("prefix(")) { let t = o.slice(7, -1); y(e.nodes, e => { if ("at-rule" === e.kind && "@theme" === e.name) return e.params += ` prefix(${t})`, b.Skip }) } else "important" === o ? a = !0 : "reference" === o ? e.nodes = [K({ reference: !0 }, e.nodes)] : n.push(o); if (n.length > 0) e.params = n.join(" "); else if (t.length > 0) return b.Replace(e.nodes); return b.Continue } if ("@theme" === e.name) { let [t, n] = function (e) { let t = 0, r = null; for (let n of Z(e, " ")) "reference" === n ? t |= 2 : "inline" === n ? t |= 1 : "default" === n ? t |= 4 : "static" === n ? t |= 8 : n.startsWith("prefix(") && n.endsWith(")") && (r = n.slice(7, -1)); return [t, r] }(e.params); if (i |= 64, r.context.reference && (t |= 2), n) { if (!jr.test(n)) throw new Error(`The prefix "${n}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only.`); c.prefix = n } return y(e.nodes, r => { if ("at-rule" === r.kind && "@keyframes" === r.name) return c.addKeyframes(r), b.Skip; if ("comment" === r.kind) return; if ("declaration" === r.kind && r.property.startsWith("--")) return void c.add(s(r.property), r.value ?? "", t, r.src); let n = F([S(e.name, e.params, [r])]).split("\n").map((e, t, r) => `${0 === t || t >= r.length - 2 ? " " : ">"} ${e}`).join("\n"); throw new Error(`\`@theme\` blocks must only contain custom properties or \`@keyframes\`.\n\n${n}`) }), h ? b.ReplaceSkip([]) : (h = A(":root, :host", []), h.src = e.src, b.ReplaceSkip(h)) } }); let $ = xt(c, m?.src); if (a && ($.important = a), w.length > 0) for (let e of w) $.invalidCandidates.add(e); i |= await Ar({ designSystem: $, base: t, ast: e, loadModule: n, sources: v }); for (let e of u.keys()) $.variants.static(e, () => { }); for (let e of function (e, t) { let r = new Set, n = new Set, o = []; function i(a, l = []) { if (e.has(a) && !r.has(a)) { n.has(a) && t.onCircularDependency?.(l, a), n.add(a); for (let t of e.get(a) ?? []) l.push(a), i(t, l), l.pop(); r.add(a), n.delete(a), o.push(a) } } for (let t of e.keys()) i(t); return o }(f, { onCircularDependency(e, t) { let r = F(e.map((r, n) => S("@custom-variant", r, [S("@variant", e[n + 1] ?? t, [])]))).replaceAll(";", " { … }").replace(`@custom-variant ${t} {`, `@custom-variant ${t} { /* ← */`); throw new Error(`Circular dependency detected in custom variants:\n\n${r}`) } })) u.get(e)?.($); for (let e of p) e($); if (h) { let t = []; for (let [e, r] of $.theme.entries()) { if (2 & r.options) continue; let n = T(l(e), r.value); n.src = r.src, t.push(n) } let r = $.theme.getKeyframes(); for (let t of r) e.push(K({ theme: !0 }, [V([t])])); h.nodes = [K({ theme: !0 }, t)] } if (i |= yt(e, $), i |= ht(e, $), i |= jt(e, $), m) { let e = m; e.kind = "context", e.context = {} } return y(e, e => { if ("at-rule" === e.kind) return "@utility" === e.name ? b.Replace([]) : b.Skip }), { designSystem: $, ast: e, sources: v, root: x, utilitiesNode: m, features: i, inlineCandidates: k } } async function Nr(t, r = {}) { let o = n(t, { from: r.from }), i = await async function (e, t = {}) { let { designSystem: r, ast: n, sources: o, root: i, utilitiesNode: a, features: l, inlineCandidates: s } = await Er(e, t); function c(e) { r.invalidCandidates.add(e) } n.unshift(j("! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com ")); let u = new Set, d = null, f = 0, p = !1; for (let e of s) r.invalidCandidates.has(e) || (u.add(e), p = !0); return { sources: o, root: i, features: l, build(o) { if (0 === l) return e; if (!a) return d ??= O(n, r, t.polyfills), d; let i = p, s = !1; p = !1; let h = u.size; for (let e of o) if (!r.invalidCandidates.has(e)) if ("-" === e[0] && "-" === e[1]) { let t = r.theme.markUsedVariable(e); i ||= t, s ||= t } else u.add(e), i ||= u.size !== h; if (!i) return d ??= O(n, r, t.polyfills), d; let m = zt(u, r, { onInvalidCandidate: c }).astNodes; return t.from && y(m, e => { e.src ??= a.src }), s || f !== m.length ? (f = m.length, a.nodes = m, d = O(n, r, t.polyfills), d) : (d ??= O(n, r, t.polyfills), d) } } }(o, r), a = o, l = t; return { ...i, build(e) { let t = i.build(e); return t === a || (l = F(t, !!r.from), a = t), l }, buildSourceMap: () => function ({ ast: t }) { let r = new f(t => e(t.code)), n = new f(e => ({ url: e.file, content: e.code, ignore: !1 })), o = { file: null, sources: [], mappings: [] }; y(t, e => { if (!e.src || !e.dst) return; let t = n.get(e.src[0]); if (!t.content) return; let i = r.get(e.src[0]), a = r.get(e.dst[0]), l = t.content.slice(e.src[1], e.src[2]), s = 0; for (let r of l.split("\n")) { if ("" !== r.trim()) { let r = i.find(e.src[1] + s), n = a.find(e.dst[1]); o.mappings.push({ name: null, originalPosition: { source: t, ...r }, generatedPosition: n }) } s += r.length, s += 1 } let c = i.find(e.src[2]), u = a.find(e.dst[2]); o.mappings.push({ name: null, originalPosition: { source: t, ...c }, generatedPosition: u }) }); for (let e of r.keys()) o.sources.push(n.get(e)); return o.mappings.sort((e, t) => e.generatedPosition.line - t.generatedPosition.line || e.generatedPosition.column - t.generatedPosition.column || (e.originalPosition?.line ?? 0) - (t.originalPosition?.line ?? 0) || (e.originalPosition?.column ?? 0) - (t.originalPosition?.column ?? 0)), o }({ ast: a }) } } var Or, Fr = { index: "@layer theme, base, components, utilities;\n\n@import './theme.css' layer(theme);\n@import './preflight.css' layer(base);\n@import './utilities.css' layer(utilities);\n", preflight: "/*\n 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n 2. Remove default margins and padding\n 3. Reset all borders.\n*/\n\n*,\n::after,\n::before,\n::backdrop,\n::file-selector-button {\n box-sizing: border-box; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 2 */\n border: 0 solid; /* 3 */\n}\n\n/*\n 1. Use a consistent sensible line-height in all browsers.\n 2. Prevent adjustments of font size after orientation changes in iOS.\n 3. Use a more readable tab size.\n 4. Use the user's configured `sans` font-family by default.\n 5. Use the user's configured `sans` font-feature-settings by default.\n 6. Use the user's configured `sans` font-variation-settings by default.\n 7. Disable tap highlights on iOS.\n*/\n\nhtml,\n:host {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n tab-size: 4; /* 3 */\n font-family: --theme(\n --default-font-family,\n ui-sans-serif,\n system-ui,\n sans-serif,\n 'Apple Color Emoji',\n 'Segoe UI Emoji',\n 'Segoe UI Symbol',\n 'Noto Color Emoji'\n ); /* 4 */\n font-feature-settings: --theme(--default-font-feature-settings, normal); /* 5 */\n font-variation-settings: --theme(--default-font-variation-settings, normal); /* 6 */\n -webkit-tap-highlight-color: transparent; /* 7 */\n}\n\n/*\n 1. Add the correct height in Firefox.\n 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n 3. Reset the default border style to a 1px solid border.\n*/\n\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n\n/*\n Add the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/*\n Remove the default font size and weight for headings.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\n Reset links to optimize for opt-in styling instead of opt-out.\n*/\n\na {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n}\n\n/*\n Add the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/*\n 1. Use the user's configured `mono` font-family by default.\n 2. Use the user's configured `mono` font-feature-settings by default.\n 3. Use the user's configured `mono` font-variation-settings by default.\n 4. Correct the odd `em` font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family: --theme(\n --default-mono-font-family,\n ui-monospace,\n SFMono-Regular,\n Menlo,\n Monaco,\n Consolas,\n 'Liberation Mono',\n 'Courier New',\n monospace\n ); /* 1 */\n font-feature-settings: --theme(--default-mono-font-feature-settings, normal); /* 2 */\n font-variation-settings: --theme(--default-mono-font-variation-settings, normal); /* 3 */\n font-size: 1em; /* 4 */\n}\n\n/*\n Add the correct font size in all browsers.\n*/\n\nsmall {\n font-size: 80%;\n}\n\n/*\n Prevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/*\n 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n 3. Remove gaps between table borders by default.\n*/\n\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n\n/*\n Use the modern Firefox focus style for all focusable elements.\n*/\n\n:-moz-focusring {\n outline: auto;\n}\n\n/*\n Add the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n vertical-align: baseline;\n}\n\n/*\n Add the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/*\n Make lists unstyled by default.\n*/\n\nol,\nul,\nmenu {\n list-style: none;\n}\n\n/*\n 1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n 2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n\n/*\n Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n/*\n 1. Inherit font styles in all browsers.\n 2. Remove border radius in all browsers.\n 3. Remove background color in all browsers.\n 4. Ensure consistent opacity for disabled states in all browsers.\n*/\n\nbutton,\ninput,\nselect,\noptgroup,\ntextarea,\n::file-selector-button {\n font: inherit; /* 1 */\n font-feature-settings: inherit; /* 1 */\n font-variation-settings: inherit; /* 1 */\n letter-spacing: inherit; /* 1 */\n color: inherit; /* 1 */\n border-radius: 0; /* 2 */\n background-color: transparent; /* 3 */\n opacity: 1; /* 4 */\n}\n\n/*\n Restore default font weight.\n*/\n\n:where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n}\n\n/*\n Restore indentation.\n*/\n\n:where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n}\n\n/*\n Restore space after button.\n*/\n\n::file-selector-button {\n margin-inline-end: 4px;\n}\n\n/*\n Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n*/\n\n::placeholder {\n opacity: 1;\n}\n\n/*\n Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not\n crash when using `color-mix(…)` with `currentcolor`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)\n*/\n\n@supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or\n (contain-intrinsic-size: 1px) /* Safari 17+ */ {\n ::placeholder {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n}\n\n/*\n Prevent resizing textareas horizontally by default.\n*/\n\ntextarea {\n resize: vertical;\n}\n\n/*\n Remove the inner padding in Chrome and Safari on macOS.\n*/\n\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n 1. Ensure date/time inputs have the same height when empty in iOS Safari.\n 2. Ensure text alignment can be changed on date/time inputs in iOS Safari.\n*/\n\n::-webkit-date-and-time-value {\n min-height: 1lh; /* 1 */\n text-align: inherit; /* 2 */\n}\n\n/*\n Prevent height from changing on date/time inputs in macOS Safari when the input is set to `display: block`.\n*/\n\n::-webkit-datetime-edit {\n display: inline-flex;\n}\n\n/*\n Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.\n*/\n\n::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n}\n\n::-webkit-datetime-edit,\n::-webkit-datetime-edit-year-field,\n::-webkit-datetime-edit-month-field,\n::-webkit-datetime-edit-day-field,\n::-webkit-datetime-edit-hour-field,\n::-webkit-datetime-edit-minute-field,\n::-webkit-datetime-edit-second-field,\n::-webkit-datetime-edit-millisecond-field,\n::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n}\n\n/*\n Center dropdown marker shown on inputs with paired `<datalist>`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)\n*/\n\n::-webkit-calendar-picker-indicator {\n line-height: 1;\n}\n\n/*\n Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n:-moz-ui-invalid {\n box-shadow: none;\n}\n\n/*\n Correct the inability to style the border radius in iOS Safari.\n*/\n\nbutton,\ninput:where([type='button'], [type='reset'], [type='submit']),\n::file-selector-button {\n appearance: button;\n}\n\n/*\n Correct the cursor style of increment and decrement buttons in Safari.\n*/\n\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n Make elements with the HTML hidden attribute stay hidden by default.\n*/\n\n[hidden]:where(:not([hidden='until-found'])) {\n display: none !important;\n}\n", theme: "@theme default {\n --font-sans:\n ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n 'Noto Color Emoji';\n --font-serif: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;\n --font-mono:\n ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',\n monospace;\n\n --color-red-50: oklch(97.1% 0.013 17.38);\n --color-red-100: oklch(93.6% 0.032 17.717);\n --color-red-200: oklch(88.5% 0.062 18.334);\n --color-red-300: oklch(80.8% 0.114 19.571);\n --color-red-400: oklch(70.4% 0.191 22.216);\n --color-red-500: oklch(63.7% 0.237 25.331);\n --color-red-600: oklch(57.7% 0.245 27.325);\n --color-red-700: oklch(50.5% 0.213 27.518);\n --color-red-800: oklch(44.4% 0.177 26.899);\n --color-red-900: oklch(39.6% 0.141 25.723);\n --color-red-950: oklch(25.8% 0.092 26.042);\n\n --color-orange-50: oklch(98% 0.016 73.684);\n --color-orange-100: oklch(95.4% 0.038 75.164);\n --color-orange-200: oklch(90.1% 0.076 70.697);\n --color-orange-300: oklch(83.7% 0.128 66.29);\n --color-orange-400: oklch(75% 0.183 55.934);\n --color-orange-500: oklch(70.5% 0.213 47.604);\n --color-orange-600: oklch(64.6% 0.222 41.116);\n --color-orange-700: oklch(55.3% 0.195 38.402);\n --color-orange-800: oklch(47% 0.157 37.304);\n --color-orange-900: oklch(40.8% 0.123 38.172);\n --color-orange-950: oklch(26.6% 0.079 36.259);\n\n --color-amber-50: oklch(98.7% 0.022 95.277);\n --color-amber-100: oklch(96.2% 0.059 95.617);\n --color-amber-200: oklch(92.4% 0.12 95.746);\n --color-amber-300: oklch(87.9% 0.169 91.605);\n --color-amber-400: oklch(82.8% 0.189 84.429);\n --color-amber-500: oklch(76.9% 0.188 70.08);\n --color-amber-600: oklch(66.6% 0.179 58.318);\n --color-amber-700: oklch(55.5% 0.163 48.998);\n --color-amber-800: oklch(47.3% 0.137 46.201);\n --color-amber-900: oklch(41.4% 0.112 45.904);\n --color-amber-950: oklch(27.9% 0.077 45.635);\n\n --color-yellow-50: oklch(98.7% 0.026 102.212);\n --color-yellow-100: oklch(97.3% 0.071 103.193);\n --color-yellow-200: oklch(94.5% 0.129 101.54);\n --color-yellow-300: oklch(90.5% 0.182 98.111);\n --color-yellow-400: oklch(85.2% 0.199 91.936);\n --color-yellow-500: oklch(79.5% 0.184 86.047);\n --color-yellow-600: oklch(68.1% 0.162 75.834);\n --color-yellow-700: oklch(55.4% 0.135 66.442);\n --color-yellow-800: oklch(47.6% 0.114 61.907);\n --color-yellow-900: oklch(42.1% 0.095 57.708);\n --color-yellow-950: oklch(28.6% 0.066 53.813);\n\n --color-lime-50: oklch(98.6% 0.031 120.757);\n --color-lime-100: oklch(96.7% 0.067 122.328);\n --color-lime-200: oklch(93.8% 0.127 124.321);\n --color-lime-300: oklch(89.7% 0.196 126.665);\n --color-lime-400: oklch(84.1% 0.238 128.85);\n --color-lime-500: oklch(76.8% 0.233 130.85);\n --color-lime-600: oklch(64.8% 0.2 131.684);\n --color-lime-700: oklch(53.2% 0.157 131.589);\n --color-lime-800: oklch(45.3% 0.124 130.933);\n --color-lime-900: oklch(40.5% 0.101 131.063);\n --color-lime-950: oklch(27.4% 0.072 132.109);\n\n --color-green-50: oklch(98.2% 0.018 155.826);\n --color-green-100: oklch(96.2% 0.044 156.743);\n --color-green-200: oklch(92.5% 0.084 155.995);\n --color-green-300: oklch(87.1% 0.15 154.449);\n --color-green-400: oklch(79.2% 0.209 151.711);\n --color-green-500: oklch(72.3% 0.219 149.579);\n --color-green-600: oklch(62.7% 0.194 149.214);\n --color-green-700: oklch(52.7% 0.154 150.069);\n --color-green-800: oklch(44.8% 0.119 151.328);\n --color-green-900: oklch(39.3% 0.095 152.535);\n --color-green-950: oklch(26.6% 0.065 152.934);\n\n --color-emerald-50: oklch(97.9% 0.021 166.113);\n --color-emerald-100: oklch(95% 0.052 163.051);\n --color-emerald-200: oklch(90.5% 0.093 164.15);\n --color-emerald-300: oklch(84.5% 0.143 164.978);\n --color-emerald-400: oklch(76.5% 0.177 163.223);\n --color-emerald-500: oklch(69.6% 0.17 162.48);\n --color-emerald-600: oklch(59.6% 0.145 163.225);\n --color-emerald-700: oklch(50.8% 0.118 165.612);\n --color-emerald-800: oklch(43.2% 0.095 166.913);\n --color-emerald-900: oklch(37.8% 0.077 168.94);\n --color-emerald-950: oklch(26.2% 0.051 172.552);\n\n --color-teal-50: oklch(98.4% 0.014 180.72);\n --color-teal-100: oklch(95.3% 0.051 180.801);\n --color-teal-200: oklch(91% 0.096 180.426);\n --color-teal-300: oklch(85.5% 0.138 181.071);\n --color-teal-400: oklch(77.7% 0.152 181.912);\n --color-teal-500: oklch(70.4% 0.14 182.503);\n --color-teal-600: oklch(60% 0.118 184.704);\n --color-teal-700: oklch(51.1% 0.096 186.391);\n --color-teal-800: oklch(43.7% 0.078 188.216);\n --color-teal-900: oklch(38.6% 0.063 188.416);\n --color-teal-950: oklch(27.7% 0.046 192.524);\n\n --color-cyan-50: oklch(98.4% 0.019 200.873);\n --color-cyan-100: oklch(95.6% 0.045 203.388);\n --color-cyan-200: oklch(91.7% 0.08 205.041);\n --color-cyan-300: oklch(86.5% 0.127 207.078);\n --color-cyan-400: oklch(78.9% 0.154 211.53);\n --color-cyan-500: oklch(71.5% 0.143 215.221);\n --color-cyan-600: oklch(60.9% 0.126 221.723);\n --color-cyan-700: oklch(52% 0.105 223.128);\n --color-cyan-800: oklch(45% 0.085 224.283);\n --color-cyan-900: oklch(39.8% 0.07 227.392);\n --color-cyan-950: oklch(30.2% 0.056 229.695);\n\n --color-sky-50: oklch(97.7% 0.013 236.62);\n --color-sky-100: oklch(95.1% 0.026 236.824);\n --color-sky-200: oklch(90.1% 0.058 230.902);\n --color-sky-300: oklch(82.8% 0.111 230.318);\n --color-sky-400: oklch(74.6% 0.16 232.661);\n --color-sky-500: oklch(68.5% 0.169 237.323);\n --color-sky-600: oklch(58.8% 0.158 241.966);\n --color-sky-700: oklch(50% 0.134 242.749);\n --color-sky-800: oklch(44.3% 0.11 240.79);\n --color-sky-900: oklch(39.1% 0.09 240.876);\n --color-sky-950: oklch(29.3% 0.066 243.157);\n\n --color-blue-50: oklch(97% 0.014 254.604);\n --color-blue-100: oklch(93.2% 0.032 255.585);\n --color-blue-200: oklch(88.2% 0.059 254.128);\n --color-blue-300: oklch(80.9% 0.105 251.813);\n --color-blue-400: oklch(70.7% 0.165 254.624);\n --color-blue-500: oklch(62.3% 0.214 259.815);\n --color-blue-600: oklch(54.6% 0.245 262.881);\n --color-blue-700: oklch(48.8% 0.243 264.376);\n --color-blue-800: oklch(42.4% 0.199 265.638);\n --color-blue-900: oklch(37.9% 0.146 265.522);\n --color-blue-950: oklch(28.2% 0.091 267.935);\n\n --color-indigo-50: oklch(96.2% 0.018 272.314);\n --color-indigo-100: oklch(93% 0.034 272.788);\n --color-indigo-200: oklch(87% 0.065 274.039);\n --color-indigo-300: oklch(78.5% 0.115 274.713);\n --color-indigo-400: oklch(67.3% 0.182 276.935);\n --color-indigo-500: oklch(58.5% 0.233 277.117);\n --color-indigo-600: oklch(51.1% 0.262 276.966);\n --color-indigo-700: oklch(45.7% 0.24 277.023);\n --color-indigo-800: oklch(39.8% 0.195 277.366);\n --color-indigo-900: oklch(35.9% 0.144 278.697);\n --color-indigo-950: oklch(25.7% 0.09 281.288);\n\n --color-violet-50: oklch(96.9% 0.016 293.756);\n --color-violet-100: oklch(94.3% 0.029 294.588);\n --color-violet-200: oklch(89.4% 0.057 293.283);\n --color-violet-300: oklch(81.1% 0.111 293.571);\n --color-violet-400: oklch(70.2% 0.183 293.541);\n --color-violet-500: oklch(60.6% 0.25 292.717);\n --color-violet-600: oklch(54.1% 0.281 293.009);\n --color-violet-700: oklch(49.1% 0.27 292.581);\n --color-violet-800: oklch(43.2% 0.232 292.759);\n --color-violet-900: oklch(38% 0.189 293.745);\n --color-violet-950: oklch(28.3% 0.141 291.089);\n\n --color-purple-50: oklch(97.7% 0.014 308.299);\n --color-purple-100: oklch(94.6% 0.033 307.174);\n --color-purple-200: oklch(90.2% 0.063 306.703);\n --color-purple-300: oklch(82.7% 0.119 306.383);\n --color-purple-400: oklch(71.4% 0.203 305.504);\n --color-purple-500: oklch(62.7% 0.265 303.9);\n --color-purple-600: oklch(55.8% 0.288 302.321);\n --color-purple-700: oklch(49.6% 0.265 301.924);\n --color-purple-800: oklch(43.8% 0.218 303.724);\n --color-purple-900: oklch(38.1% 0.176 304.987);\n --color-purple-950: oklch(29.1% 0.149 302.717);\n\n --color-fuchsia-50: oklch(97.7% 0.017 320.058);\n --color-fuchsia-100: oklch(95.2% 0.037 318.852);\n --color-fuchsia-200: oklch(90.3% 0.076 319.62);\n --color-fuchsia-300: oklch(83.3% 0.145 321.434);\n --color-fuchsia-400: oklch(74% 0.238 322.16);\n --color-fuchsia-500: oklch(66.7% 0.295 322.15);\n --color-fuchsia-600: oklch(59.1% 0.293 322.896);\n --color-fuchsia-700: oklch(51.8% 0.253 323.949);\n --color-fuchsia-800: oklch(45.2% 0.211 324.591);\n --color-fuchsia-900: oklch(40.1% 0.17 325.612);\n --color-fuchsia-950: oklch(29.3% 0.136 325.661);\n\n --color-pink-50: oklch(97.1% 0.014 343.198);\n --color-pink-100: oklch(94.8% 0.028 342.258);\n --color-pink-200: oklch(89.9% 0.061 343.231);\n --color-pink-300: oklch(82.3% 0.12 346.018);\n --color-pink-400: oklch(71.8% 0.202 349.761);\n --color-pink-500: oklch(65.6% 0.241 354.308);\n --color-pink-600: oklch(59.2% 0.249 0.584);\n --color-pink-700: oklch(52.5% 0.223 3.958);\n --color-pink-800: oklch(45.9% 0.187 3.815);\n --color-pink-900: oklch(40.8% 0.153 2.432);\n --color-pink-950: oklch(28.4% 0.109 3.907);\n\n --color-rose-50: oklch(96.9% 0.015 12.422);\n --color-rose-100: oklch(94.1% 0.03 12.58);\n --color-rose-200: oklch(89.2% 0.058 10.001);\n --color-rose-300: oklch(81% 0.117 11.638);\n --color-rose-400: oklch(71.2% 0.194 13.428);\n --color-rose-500: oklch(64.5% 0.246 16.439);\n --color-rose-600: oklch(58.6% 0.253 17.585);\n --color-rose-700: oklch(51.4% 0.222 16.935);\n --color-rose-800: oklch(45.5% 0.188 13.697);\n --color-rose-900: oklch(41% 0.159 10.272);\n --color-rose-950: oklch(27.1% 0.105 12.094);\n\n --color-slate-50: oklch(98.4% 0.003 247.858);\n --color-slate-100: oklch(96.8% 0.007 247.896);\n --color-slate-200: oklch(92.9% 0.013 255.508);\n --color-slate-300: oklch(86.9% 0.022 252.894);\n --color-slate-400: oklch(70.4% 0.04 256.788);\n --color-slate-500: oklch(55.4% 0.046 257.417);\n --color-slate-600: oklch(44.6% 0.043 257.281);\n --color-slate-700: oklch(37.2% 0.044 257.287);\n --color-slate-800: oklch(27.9% 0.041 260.031);\n --color-slate-900: oklch(20.8% 0.042 265.755);\n --color-slate-950: oklch(12.9% 0.042 264.695);\n\n --color-gray-50: oklch(98.5% 0.002 247.839);\n --color-gray-100: oklch(96.7% 0.003 264.542);\n --color-gray-200: oklch(92.8% 0.006 264.531);\n --color-gray-300: oklch(87.2% 0.01 258.338);\n --color-gray-400: oklch(70.7% 0.022 261.325);\n --color-gray-500: oklch(55.1% 0.027 264.364);\n --color-gray-600: oklch(44.6% 0.03 256.802);\n --color-gray-700: oklch(37.3% 0.034 259.733);\n --color-gray-800: oklch(27.8% 0.033 256.848);\n --color-gray-900: oklch(21% 0.034 264.665);\n --color-gray-950: oklch(13% 0.028 261.692);\n\n --color-zinc-50: oklch(98.5% 0 0);\n --color-zinc-100: oklch(96.7% 0.001 286.375);\n --color-zinc-200: oklch(92% 0.004 286.32);\n --color-zinc-300: oklch(87.1% 0.006 286.286);\n --color-zinc-400: oklch(70.5% 0.015 286.067);\n --color-zinc-500: oklch(55.2% 0.016 285.938);\n --color-zinc-600: oklch(44.2% 0.017 285.786);\n --color-zinc-700: oklch(37% 0.013 285.805);\n --color-zinc-800: oklch(27.4% 0.006 286.033);\n --color-zinc-900: oklch(21% 0.006 285.885);\n --color-zinc-950: oklch(14.1% 0.005 285.823);\n\n --color-neutral-50: oklch(98.5% 0 0);\n --color-neutral-100: oklch(97% 0 0);\n --color-neutral-200: oklch(92.2% 0 0);\n --color-neutral-300: oklch(87% 0 0);\n --color-neutral-400: oklch(70.8% 0 0);\n --color-neutral-500: oklch(55.6% 0 0);\n --color-neutral-600: oklch(43.9% 0 0);\n --color-neutral-700: oklch(37.1% 0 0);\n --color-neutral-800: oklch(26.9% 0 0);\n --color-neutral-900: oklch(20.5% 0 0);\n --color-neutral-950: oklch(14.5% 0 0);\n\n --color-stone-50: oklch(98.5% 0.001 106.423);\n --color-stone-100: oklch(97% 0.001 106.424);\n --color-stone-200: oklch(92.3% 0.003 48.717);\n --color-stone-300: oklch(86.9% 0.005 56.366);\n --color-stone-400: oklch(70.9% 0.01 56.259);\n --color-stone-500: oklch(55.3% 0.013 58.071);\n --color-stone-600: oklch(44.4% 0.011 73.639);\n --color-stone-700: oklch(37.4% 0.01 67.558);\n --color-stone-800: oklch(26.8% 0.007 34.298);\n --color-stone-900: oklch(21.6% 0.006 56.043);\n --color-stone-950: oklch(14.7% 0.004 49.25);\n\n --color-mauve-50: oklch(98.5% 0 0);\n --color-mauve-100: oklch(96% 0.003 325.6);\n --color-mauve-200: oklch(92.2% 0.005 325.62);\n --color-mauve-300: oklch(86.5% 0.012 325.68);\n --color-mauve-400: oklch(71.1% 0.019 323.02);\n --color-mauve-500: oklch(54.2% 0.034 322.5);\n --color-mauve-600: oklch(43.5% 0.029 321.78);\n --color-mauve-700: oklch(36.4% 0.029 323.89);\n --color-mauve-800: oklch(26.3% 0.024 320.12);\n --color-mauve-900: oklch(21.2% 0.019 322.12);\n --color-mauve-950: oklch(14.5% 0.008 326);\n\n --color-olive-50: oklch(98.8% 0.003 106.5);\n --color-olive-100: oklch(96.6% 0.005 106.5);\n --color-olive-200: oklch(93% 0.007 106.5);\n --color-olive-300: oklch(88% 0.011 106.6);\n --color-olive-400: oklch(73.7% 0.021 106.9);\n --color-olive-500: oklch(58% 0.031 107.3);\n --color-olive-600: oklch(46.6% 0.025 107.3);\n --color-olive-700: oklch(39.4% 0.023 107.4);\n --color-olive-800: oklch(28.6% 0.016 107.4);\n --color-olive-900: oklch(22.8% 0.013 107.4);\n --color-olive-950: oklch(15.3% 0.006 107.1);\n\n --color-mist-50: oklch(98.7% 0.002 197.1);\n --color-mist-100: oklch(96.3% 0.002 197.1);\n --color-mist-200: oklch(92.5% 0.005 214.3);\n --color-mist-300: oklch(87.2% 0.007 219.6);\n --color-mist-400: oklch(72.3% 0.014 214.4);\n --color-mist-500: oklch(56% 0.021 213.5);\n --color-mist-600: oklch(45% 0.017 213.2);\n --color-mist-700: oklch(37.8% 0.015 216);\n --color-mist-800: oklch(27.5% 0.011 216.9);\n --color-mist-900: oklch(21.8% 0.008 223.9);\n --color-mist-950: oklch(14.8% 0.004 228.8);\n\n --color-taupe-50: oklch(98.6% 0.002 67.8);\n --color-taupe-100: oklch(96% 0.002 17.2);\n --color-taupe-200: oklch(92.2% 0.005 34.3);\n --color-taupe-300: oklch(86.8% 0.007 39.5);\n --color-taupe-400: oklch(71.4% 0.014 41.2);\n --color-taupe-500: oklch(54.7% 0.021 43.1);\n --color-taupe-600: oklch(43.8% 0.017 39.3);\n --color-taupe-700: oklch(36.7% 0.016 35.7);\n --color-taupe-800: oklch(26.8% 0.011 36.5);\n --color-taupe-900: oklch(21.4% 0.009 43.1);\n --color-taupe-950: oklch(14.7% 0.004 49.3);\n\n --color-black: #000;\n --color-white: #fff;\n\n --spacing: 0.25rem;\n\n --breakpoint-sm: 40rem;\n --breakpoint-md: 48rem;\n --breakpoint-lg: 64rem;\n --breakpoint-xl: 80rem;\n --breakpoint-2xl: 96rem;\n\n --container-3xs: 16rem;\n --container-2xs: 18rem;\n --container-xs: 20rem;\n --container-sm: 24rem;\n --container-md: 28rem;\n --container-lg: 32rem;\n --container-xl: 36rem;\n --container-2xl: 42rem;\n --container-3xl: 48rem;\n --container-4xl: 56rem;\n --container-5xl: 64rem;\n --container-6xl: 72rem;\n --container-7xl: 80rem;\n\n --text-xs: 0.75rem;\n --text-xs--line-height: calc(1 / 0.75);\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-base: 1rem;\n --text-base--line-height: calc(1.5 / 1);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-2xl: 1.5rem;\n --text-2xl--line-height: calc(2 / 1.5);\n --text-3xl: 1.875rem;\n --text-3xl--line-height: calc(2.25 / 1.875);\n --text-4xl: 2.25rem;\n --text-4xl--line-height: calc(2.5 / 2.25);\n --text-5xl: 3rem;\n --text-5xl--line-height: 1;\n --text-6xl: 3.75rem;\n --text-6xl--line-height: 1;\n --text-7xl: 4.5rem;\n --text-7xl--line-height: 1;\n --text-8xl: 6rem;\n --text-8xl--line-height: 1;\n --text-9xl: 8rem;\n --text-9xl--line-height: 1;\n\n --font-weight-thin: 100;\n --font-weight-extralight: 200;\n --font-weight-light: 300;\n --font-weight-normal: 400;\n --font-weight-medium: 500;\n --font-weight-semibold: 600;\n --font-weight-bold: 700;\n --font-weight-extrabold: 800;\n --font-weight-black: 900;\n\n --tracking-tighter: -0.05em;\n --tracking-tight: -0.025em;\n --tracking-normal: 0em;\n --tracking-wide: 0.025em;\n --tracking-wider: 0.05em;\n --tracking-widest: 0.1em;\n\n --leading-tight: 1.25;\n --leading-snug: 1.375;\n --leading-normal: 1.5;\n --leading-relaxed: 1.625;\n --leading-loose: 2;\n\n --radius-xs: 0.125rem;\n --radius-sm: 0.25rem;\n --radius-md: 0.375rem;\n --radius-lg: 0.5rem;\n --radius-xl: 0.75rem;\n --radius-2xl: 1rem;\n --radius-3xl: 1.5rem;\n --radius-4xl: 2rem;\n\n --shadow-2xs: 0 1px rgb(0 0 0 / 0.05);\n --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);\n --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);\n --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);\n --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);\n --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);\n\n --inset-shadow-2xs: inset 0 1px rgb(0 0 0 / 0.05);\n --inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / 0.05);\n --inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / 0.05);\n\n --drop-shadow-xs: 0 1px 1px rgb(0 0 0 / 0.05);\n --drop-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.15);\n --drop-shadow-md: 0 3px 3px rgb(0 0 0 / 0.12);\n --drop-shadow-lg: 0 4px 4px rgb(0 0 0 / 0.15);\n --drop-shadow-xl: 0 9px 7px rgb(0 0 0 / 0.1);\n --drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / 0.15);\n\n --text-shadow-2xs: 0px 1px 0px rgb(0 0 0 / 0.15);\n --text-shadow-xs: 0px 1px 1px rgb(0 0 0 / 0.2);\n --text-shadow-sm:\n 0px 1px 0px rgb(0 0 0 / 0.075), 0px 1px 1px rgb(0 0 0 / 0.075), 0px 2px 2px rgb(0 0 0 / 0.075);\n --text-shadow-md:\n 0px 1px 1px rgb(0 0 0 / 0.1), 0px 1px 2px rgb(0 0 0 / 0.1), 0px 2px 4px rgb(0 0 0 / 0.1);\n --text-shadow-lg:\n 0px 1px 2px rgb(0 0 0 / 0.1), 0px 3px 2px rgb(0 0 0 / 0.1), 0px 4px 8px rgb(0 0 0 / 0.1);\n\n --ease-in: cubic-bezier(0.4, 0, 1, 1);\n --ease-out: cubic-bezier(0, 0, 0.2, 1);\n --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);\n\n --animate-spin: spin 1s linear infinite;\n --animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;\n --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n --animate-bounce: bounce 1s infinite;\n\n @keyframes spin {\n to {\n transform: rotate(360deg);\n }\n }\n\n @keyframes ping {\n 75%,\n 100% {\n transform: scale(2);\n opacity: 0;\n }\n }\n\n @keyframes pulse {\n 50% {\n opacity: 0.5;\n }\n }\n\n @keyframes bounce {\n 0%,\n 100% {\n transform: translateY(-25%);\n animation-timing-function: cubic-bezier(0.8, 0, 1, 1);\n }\n\n 50% {\n transform: none;\n animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n }\n }\n\n --blur-xs: 4px;\n --blur-sm: 8px;\n --blur-md: 12px;\n --blur-lg: 16px;\n --blur-xl: 24px;\n --blur-2xl: 40px;\n --blur-3xl: 64px;\n\n --perspective-dramatic: 100px;\n --perspective-near: 300px;\n --perspective-normal: 500px;\n --perspective-midrange: 800px;\n --perspective-distant: 1200px;\n\n --aspect-video: 16 / 9;\n\n --default-transition-duration: 150ms;\n --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n --default-font-family: --theme(--font-sans, initial);\n --default-font-feature-settings: --theme(--font-sans--font-feature-settings, initial);\n --default-font-variation-settings: --theme(--font-sans--font-variation-settings, initial);\n --default-mono-font-family: --theme(--font-mono, initial);\n --default-mono-font-feature-settings: --theme(--font-mono--font-feature-settings, initial);\n --default-mono-font-variation-settings: --theme(--font-mono--font-variation-settings, initial);\n}\n\n/* Deprecated */\n@theme default inline reference {\n --blur: 8px;\n --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);\n --drop-shadow: 0 1px 2px rgb(0 0 0 / 0.1), 0 1px 1px rgb(0 0 0 / 0.06);\n --radius: 0.25rem;\n --max-width-prose: 65ch;\n}\n", utilities: "@tailwind utilities;\n" }, Ur = "text/tailwindcss", Wr = new Set, Rr = "", Dr = document.createElement("style"), Lr = Promise.resolve(), _r = 1, Br = new class { start(e) { performance.mark(`${e} (start)`) } end(e, t) { performance.mark(`${e} (end)`), performance.measure(e, { start: `${e} (start)`, end: `${e} (end)`, detail: t }) } hit(e, t) { performance.mark(e, { detail: t }) } error(e) { throw performance.mark("(error)", { detail: { error: `${e}` } }), e } }; async function Mr(e, t) { try { let r = function () { if ("tailwindcss" === e) return { path: "virtual:tailwindcss/index.css", base: t, content: Fr.index }; if ("tailwindcss/preflight" === e || "tailwindcss/preflight.css" === e || "./preflight.css" === e) return { path: "virtual:tailwindcss/preflight.css", base: t, content: Fr.preflight }; if ("tailwindcss/theme" === e || "tailwindcss/theme.css" === e || "./theme.css" === e) return { path: "virtual:tailwindcss/theme.css", base: t, content: Fr.theme }; if ("tailwindcss/utilities" === e || "tailwindcss/utilities.css" === e || "./utilities.css" === e) return { path: "virtual:tailwindcss/utilities.css", base: t, content: Fr.utilities }; throw new Error(`The browser build does not support @import for "${e}"`) }(); return Br.hit("Loaded stylesheet", { id: e, base: t, size: r.content.length }), r } catch (r) { throw Br.hit("Failed to load stylesheet", { id: e, base: t, error: r.message ?? r }), r } } async function Ir() { throw new Error("The browser build does not support plugins or config files.") } function Pr(e) { Lr = Lr.then(async function () { if (!Or && "full" !== e) return; let t = _r++; Br.start(`Build #${t} (${e})`), "full" === e && await async function () { Br.start("Create compiler"), Br.start("Reading Stylesheets"); let e = document.querySelectorAll(`style[type="${Ur}"]`), t = ""; for (let r of e) Hr(r), t += r.textContent + "\n"; if (t.includes("@import") || (t = `@import "tailwindcss";${t}`), Br.end("Reading Stylesheets", { size: t.length, changed: Rr !== t }), Rr !== t) { Rr = t, Br.start("Compile CSS"); try { Or = await Nr(t, { base: "/", loadStylesheet: Mr, loadModule: Ir }) } finally { Br.end("Compile CSS"), Br.end("Create compiler") } Wr.clear() } }(), Br.start("Build"), await async function (e) { if (!Or) return; let t = new Set; Br.start("Collect classes"); for (let e of document.querySelectorAll("[class]")) for (let r of e.classList) Wr.has(r) || (Wr.add(r), t.add(r)); Br.end("Collect classes", { count: t.size }), (0 !== t.size || "incremental" !== e) && (Br.start("Build utilities"), Dr.textContent = Or.build(Array.from(t)), Br.end("Build utilities")) }(e), Br.end("Build"), Br.end(`Build #${t} (${e})`) }).catch(e => Br.error(e)) } var qr = new MutationObserver(() => Pr("full")); function Hr(e) { qr.observe(e, { attributes: !0, attributeFilter: ["type"], characterData: !0, subtree: !0, childList: !0 }) } new MutationObserver(e => { let t = 0, r = 0; for (let n of e) { for (let e of n.addedNodes) e.nodeType === Node.ELEMENT_NODE && "STYLE" === e.tagName && e.getAttribute("type") === Ur && (Hr(e), t++); for (let e of n.addedNodes) 1 === e.nodeType && e !== Dr && r++; "attributes" === n.type && r++ } return t > 0 ? Pr("full") : r > 0 ? Pr("incremental") : void 0 }).observe(document.documentElement, { attributes: !0, attributeFilter: ["class"], childList: !0, subtree: !0 }), Pr("full"), document.head.append(Dr) })();
8
+ //# sourceMappingURL=/sm/6feb7dc6a2a52024630dc3ce1883805abf264bdcbc9cd51d3c9dad3192e1bfae.map