@seip/bluebird-js 0.1.2 → 0.1.5

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 (43) hide show
  1. package/.vscode/extensions.json +7 -0
  2. package/.vscode/settings.json +10 -0
  3. package/AGENTS.md +495 -454
  4. package/README.md +528 -353
  5. package/app/routes/web.js +47 -55
  6. package/app/views/about.jsx +98 -0
  7. package/app/views/components/Header.jsx +42 -0
  8. package/app/views/components/LiveCounter.jsx +66 -0
  9. package/app/views/dashboard.jsx +300 -0
  10. package/app/views/index.jsx +123 -0
  11. package/app/views/layouts/main/view.jsx +201 -0
  12. package/app/views/legal/terms.html +29 -19
  13. package/app/views/login.jsx +141 -0
  14. package/core/actions.d.ts +4 -0
  15. package/core/actions.js +329 -0
  16. package/core/app.js +38 -6
  17. package/core/cli/doctor.js +3 -4
  18. package/core/cli/init.js +20 -6
  19. package/core/cli/migrate.js +418 -145
  20. package/core/cli/view.js +76 -11
  21. package/core/database.js +6 -10
  22. package/core/debug.js +1 -1
  23. package/core/html.d.ts +54 -42
  24. package/core/html.js +473 -217
  25. package/core/index.d.ts +1385 -1190
  26. package/core/jsx.d.ts +38 -0
  27. package/core/jsx.js +1432 -0
  28. package/core/model.js +271 -61
  29. package/core/render-cache.js +212 -212
  30. package/core/render.d.ts +20 -2
  31. package/core/render.js +459 -51
  32. package/core/validate.js +1 -1
  33. package/core/view-loader.js +360 -24
  34. package/package.json +9 -3
  35. package/public/js/bluebird-client.js +3160 -1780
  36. package/public/js/tailwind.js +8 -0
  37. package/app/views/about.js +0 -63
  38. package/app/views/dashboard.js +0 -147
  39. package/app/views/index.js +0 -80
  40. package/app/views/layouts/main/view.js +0 -81
  41. package/app/views/login.js +0 -80
  42. package/public/css/bluebird.min.css +0 -2
  43. package/public/js/bluebird.min.js +0 -1073
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Minified by jsDelivr using Terser v5.48.0.
3
+ * Original file: /npm/@tailwindcss/browser@4.3.3/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) { return { kind: "combinator", value: e } } function t(e) { return { kind: "complex", nodes: e } } function r(e) { return { kind: "compound", nodes: e } } function n(e, t) { return { kind: "function", value: e, nodes: t } } function o(e) { return { kind: "list", nodes: e } } function i(e) { return { kind: "selector", value: e } } function a(e) { return { kind: "value", value: e } } function l(e) { return "selector" === e.kind && e.value.charCodeAt(0) === m } function s(e) { if ("selector" !== e.kind) return !1; switch (e.value.charCodeAt(0)) { case m: case h: case d: case f: case u: case p: return !1; default: return !0 } } function c(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}(${c(n.nodes, t)})`; break; case "complex": case "compound": r += c(n.nodes, t); break; case "list": r += n.nodes.map(e => c([e], t)).join(t ? "," : ", ") }return r } var u = 58, d = 46, f = 35, p = 91, h = 38, m = 42; function g(l) { l = l.replaceAll("\r\n", "\n"); let s, c = [], v = c, k = !1, w = [], b = null, y = ""; function x(e = v) { return 1 === e.length ? e[0] : k ? t(e) : r(e) } function $(e) { let t = v[v.length - 1]; "compound" === t?.kind ? t.nodes.push(e) : t && "list" !== t.kind && "combinator" !== t.kind ? v[v.length - 1] = r([t, e]) : v.push(e) } for (let r = 0; r < l.length; r++) { let z = l.charCodeAt(r); switch (z) { case 44: for (y.length > 0 && ($(i(y)), y = ""); r + 1 < l.length && (s = l.charCodeAt(r + 1), 10 === s || 32 === s || 9 === s); r++); if (b) b.nodes.push(x()), v = [], k = !1; else { let e = o([x(v.splice(0))]); v.push(e), b = e, v = [], k = !1 } break; case 62: case 10: case 32: case 43: case 9: case 126: { y.length > 0 && ($(i(y)), y = ""); let t = r, n = r + 1; for (; n < l.length && (s = l.charCodeAt(n), 62 === s || 10 === s || 32 === s || 43 === s || 9 === s || 126 === s); n++); r = n - 1; let o = l.slice(t, n).trim(); if ("" === o && (0 === v.length || n >= l.length || 44 === l.charCodeAt(n))) break; v.push(e("" === o ? " " : o)), k = !0; break } case 40: { let e = n(y, []); if (y = "", ":not" !== e.value && ":where" !== e.value && ":has" !== e.value && ":is" !== e.value) { let t = r + 1, n = 0; for (let e = r + 1; e < l.length; e++)if (s = l.charCodeAt(e), 40 !== s) { if (41 === s) { if (0 === n) { r = e; break } n-- } } else n++; let o = r, i = l.slice(t, o); if (":nth-child" === e.value || ":nth-last-child" === e.value) { let t = i.indexOf("of "); if (-1 !== t) { e.nodes.push(a(i.slice(0, t + 3)), ...g(i.slice(t + 3))), y = "", r = o, $(e); break } } e.nodes.push(a(i)), y = "", r = o, $(e); break } $(e), w.push({ target: v, currentList: b, containsCombinator: k }), v = e.nodes, k = !1, b = null; break } case 41: { y.length > 0 && ($(i(y)), y = ""), b ? b.nodes.push(x()) : k && v.splice(0, v.length, t(v.splice(0))); let e = w.pop(); v = e?.target ?? c, b = e?.currentList ?? null, k = e?.containsCombinator ?? !1; break } case d: case u: case f: if (z === u && ":" === y) { y += l[r]; break } y.length > 0 && $(i(y)), y = l[r]; break; case p: { y.length > 0 && ($(i(y)), y = ""); let e = r, t = 0; for (let e = r + 1; e < l.length; e++)if (s = l.charCodeAt(e), s !== p) { if (93 === s) { if (0 === t) { r = e; break } t-- } } else t++; $(i(l.slice(e, r + 1))); break } case 39: case 34: { let e = r; for (let e = r + 1; e < l.length; e++)if (s = l.charCodeAt(e), 92 === s) e += 1; else if (s === z) { r = e; break } y += l.slice(e, r + 1); break } case h: case m: y.length > 0 && ($(i(y)), y = ""), $(i(l[r])); break; case 92: y += l[r] + l[r + 1], r += 1; break; default: y += l[r] } } return y.length > 0 && $(i(y)), b ? b.nodes.push(x()) : k && v.splice(0, v.length, t(v.splice(0))), c } function v(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 k = 10, w = class e extends Error { loc; constructor(t, r) { if (r) { let e = r[0], n = v(e.code).find(r[1]); t = `${e.file}:${n.line}:${n.column + 1}: ${t}` } super(t), this.name = "CssSyntaxError", this.loc = r, Error.captureStackTrace && Error.captureStackTrace(this, e) } }; function b(e, t) { let r = t?.from ? { file: t.from, code: e } : null; "\ufeff" === e[0] && (e = " " + e.slice(1)); let n, o = [], i = [], a = [], l = null, s = null, c = "", u = "", d = 0; for (let t = 0; t < e.length; t++) { let f = e.charCodeAt(t); if (13 !== f || (n = e.charCodeAt(t + 1), n !== k)) if (92 === f) "" === c && (d = t), c += e.slice(t, t + 2), t += 1; else if (47 === f && 42 === e.charCodeAt(t + 1)) { let o = t; for (let r = t + 2; r < e.length; r++)if (n = e.charCodeAt(r), 92 === n) r += 1; else if (42 === n && 47 === e.charCodeAt(r + 1)) { t = r + 1; break } let a = e.slice(o, t + 1); if (33 === a.charCodeAt(2)) { let e = Z(a.slice(2, -2)); i.push(e), r && (e.src = [r, o, t + 1], e.dst = [r, o, t + 1]) } } else if (39 === f || 34 === f) { let n = $(e, t, f, r); c += e.slice(t, n + 1), t = n } else { if ((32 === f || f === k || 9 === f) && (n = e.charCodeAt(t + 1)) && (32 === n || n === k || 9 === n || 13 === n && (n = e.charCodeAt(t + 2)) && n == k)) continue; if (f === k) { if (0 === c.length) continue; n = c.charCodeAt(c.length - 1), 32 !== n && n !== k && 9 !== n && (c += " ") } else if (45 === f && 45 === e.charCodeAt(t + 1) && 0 === c.length) { let i = "", a = t, s = -1; for (let o = t + 2; o < e.length; o++)if (n = e.charCodeAt(o), 92 === n) o += 1; else if (39 === n || 34 === n) o = $(e, o, n, r); else if (47 === n && 42 === e.charCodeAt(o + 1)) { for (let t = o + 2; t < e.length; t++)if (n = e.charCodeAt(t), 92 === n) t += 1; else if (42 === n && 47 === e.charCodeAt(t + 1)) { o = t + 1; break } } else if (-1 === s && 58 === n) s = c.length + o - a; else { if (59 === n && 0 === i.length) { c += e.slice(a, o), t = o; break } if (40 === n) i += ")"; else if (91 === n) i += "]"; else if (123 === n) i += "}"; else { if ((125 === n || e.length - 1 === o) && 0 === i.length) { t = o - 1, c += e.slice(a, o); break } (41 === n || 93 === n || 125 === n) && i.length > 0 && e[o] === i[i.length - 1] && (i = i.slice(0, -1)) } } let u = x(c, s); if (!u) throw new w("Invalid custom property, expected a value", r ? [r, a, t] : null); r && (u.src = [r, a, t], u.dst = [r, a, t]), l ? l.nodes.push(u) : o.push(u), c = "" } else if (59 === f && 64 === c.charCodeAt(0)) s = y(c), r && (s.src = [r, d, t], s.dst = [r, d, t]), l ? l.nodes.push(s) : o.push(s), c = "", s = null; else if (59 === f && ")" !== u[u.length - 1]) { let e = x(c); if (!e) { if (0 === c.length) continue; throw new w(`Invalid declaration: \`${c.trim()}\``, r ? [r, d, t] : null) } r && (e.src = [r, d, t], e.dst = [r, d, t]), l ? l.nodes.push(e) : o.push(e), c = "" } else if (123 === f && ")" !== u[u.length - 1]) u += "}", s = H(c.trim()), r && (s.src = [r, d, t], s.dst = [r, d, t]), l && l.nodes.push(s), a.push(l), l = s, c = "", s = null; else if (125 === f && ")" !== u[u.length - 1]) { if ("" === u) throw new w("Missing opening {", r ? [r, t, t] : null); if (u = u.slice(0, -1), c.length > 0) if (64 === c.charCodeAt(0)) s = y(c), r && (s.src = [r, d, t], s.dst = [r, d, t]), l ? l.nodes.push(s) : o.push(s), c = "", s = null; else { let e = c.indexOf(":"); if (l) { let n = x(c, e); if (!n) throw new w(`Invalid declaration: \`${c.trim()}\``, r ? [r, d, t] : null); r && (n.src = [r, d, t], n.dst = [r, d, t]), l.nodes.push(n) } } let e = a.pop() ?? null; null === e && l && o.push(l), l = e, c = "", s = null } else if (40 === f) u += ")", c += "("; else if (41 === f) { if (")" !== u[u.length - 1]) throw new w("Missing opening (", r ? [r, t, t] : null); u = u.slice(0, -1), c += ")" } else { if (0 === c.length && (32 === f || f === k || 9 === f)) continue; "" === c && (d = t), c += String.fromCharCode(f) } } } if (64 === c.charCodeAt(0)) { let t = y(c); r && (t.src = [r, d, e.length], t.dst = [r, d, e.length]), o.push(t) } if (u.length > 0 && l) { if ("rule" === l.kind) throw new w(`Missing closing } at ${l.selector}`, l.src ? [l.src[0], l.src[1], l.src[1]] : null); if ("at-rule" === l.kind) throw new w(`Missing closing } at ${l.name} ${l.params}`, l.src ? [l.src[0], l.src[1], l.src[1]] : null) } return i.length > 0 ? i.concat(o) : o } function y(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 P(r.trim(), n.trim(), t) } function x(e, t = e.indexOf(":")) { if (-1 === t) return null; let r = e.indexOf("!important", t + 1); return Y(e.slice(0, t).trim(), e.slice(t + 1, -1 === r ? e.length : r).trim(), -1 !== r) } function $(e, t, r, n = null) { let o; for (let i = t + 1; i < e.length; i++)if (o = e.charCodeAt(i), 92 === o) i += 1; else { if (o === r) return i; if (59 === o && (e.charCodeAt(i + 1) === k || 13 === e.charCodeAt(i + 1) && e.charCodeAt(i + 2) === k)) throw new w(`Unterminated string: ${e.slice(t, i + 1) + String.fromCharCode(r)}`, n ? [n, t, i + 1] : null); if (o === k || 13 === o && e.charCodeAt(i + 1) === k) throw new w(`Unterminated string: ${e.slice(t, i) + String.fromCharCode(r)}`, n ? [n, t, i + 1] : null) } return t } function z(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 A(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 S = 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 C(e, t) { return (S.get(t) ?? []).some(t => e === t || e.startsWith(`${t}-`)) } var T = 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) && (C(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 = A(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 = S.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 (!C(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(${z(this.prefixKey(e))}${r ? `, ${r}` : ""})` } markUsedVariable(e) { let t = A(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) } }, j = 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 } }, K = new Uint8Array(256); function V(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: K[r] = 41, r++; break; case 91: K[r] = 93, r++; break; case 123: K[r] = 125, r++; break; case 93: case 125: case 41: r > 0 && l === K[r - 1] && r-- } else n.push(e.slice(o, t)), o = t + 1 } return n.push(e.slice(o)), n } function E(e) { return { kind: "word", value: e } } function N(e, t) { return { kind: "function", value: e, nodes: t } } function O(e) { return { kind: "separator", value: e } } function F(e) { let t = ""; for (let r of e) switch (r.kind) { case "word": case "separator": t += r.value; break; case "function": t += r.value + "(" + F(r.nodes) + ")" }return t } function U(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 = E(i); o ? o.nodes.push(e) : r.push(e), i = "" } let t = E(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 = E(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 = O(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 = N(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 = E(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(E(i)), r } var W, R = ((W = R || {})[W.Continue = 0] = "Continue", W[W.Skip = 1] = "Skip", W[W.Stop = 2] = "Stop", W[W.Replace = 3] = "Replace", W[W.ReplaceSkip = 4] = "ReplaceSkip", W[W.ReplaceStop = 5] = "ReplaceStop", W), D = { 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 L(e, t) { "function" == typeof t ? B(e, t) : B(e, t.enter, t.exit) } function B(e, t = () => D.Continue, r = () => D.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) ?? D.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.${R[l.kind] ?? `Unknown(${l.kind})`}\` in enter.`) } } let s = ~a; o.index = s; let c = r(i[s], o) ?? D.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.${R[c.kind] ?? `Unknown(${c.kind})`}\` in exit.`) } } } var M = new j(e => { let t = []; return L(U(e), e => { if ("function" === e.kind && "var" === e.value) return L(e.nodes, e => { "word" !== e.kind || "-" !== e.value[0] || "-" !== e.value[1] || t.push(e.value) }), D.Skip }), t }); function _(e) { return M.get(e) } var I = 64; function q(e, t = []) { return { kind: "rule", selector: e, nodes: t } } function P(e, t = "", r = []) { return { kind: "at-rule", name: e, params: t, nodes: r } } function H(e, t = []) { return e.charCodeAt(0) === I ? y(e, t) : q(e, t) } function Y(e, t, r = !1) { return { kind: "declaration", property: e, value: t, important: r } } function Z(e) { return { kind: "comment", value: e } } function G(e, t) { return { kind: "context", context: e, nodes: t } } function J(e) { return { kind: "at-root", nodes: e } } function X(e) { switch (e.kind) { case "rule": return { kind: e.kind, selector: e.selector, nodes: e.nodes.map(X), src: e.src, dst: e.dst }; case "at-rule": return { kind: e.kind, name: e.name, params: e.params, nodes: e.nodes.map(X), src: e.src, dst: e.dst }; case "at-root": return { kind: e.kind, nodes: e.nodes.map(X), src: e.src, dst: e.dst }; case "context": return { kind: e.kind, context: { ...e.context }, nodes: e.nodes.map(X), 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 Q(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 ee(e, t, r = 3) { let n = [], o = new Set, i = new j(() => new Set), a = new j(() => new Set), u = new Set, d = new Set, f = [], p = [], h = new j(() => new Set); function m(e, l, s = {}, c = 0) { if ("declaration" === e.kind) { if ("--tw-sort" === e.property || void 0 === e.value || null === e.value) return; if (s.theme && "-" === e.property[0] && "-" === e.property[1]) { if ("initial" === e.value) return void (e.value = void 0); s.keyframes || i.get(l).add(e) } if (e.value.includes("var(")) if (s.theme && "-" === e.property[0] && "-" === e.property[1]) for (let t of _(e.value)) h.get(t).add(e.property); else t.trackUsedVariables(e.value); if ("animation" === e.property) for (let t of ae(e.value)) d.add(t); 2 & r && !s.supportsColorMix && !s.keyframes && e.value.includes("color-mix(") && a.get(l).add(e), l.push(e) } else if ("rule" === e.kind) { let t = []; for (let r of e.nodes) m(r, t, s, c + 1); t.length > 0 && l.push({ ...e, nodes: t }) } else if ("at-rule" === e.kind && "@property" === e.name && 0 === c) { 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 = Y(t, r ?? "initial"); o.src = e.src, n ? f.push(o) : p.push(o) } o.add(e.params); let t = { ...e, nodes: [] }; for (let r of e.nodes) m(r, t.nodes, s, c + 1); l.push(t) } else if ("at-rule" === e.kind) { "@keyframes" === e.name ? s = { ...s, keyframes: !0 } : "@supports" === e.name && e.params.includes("color-mix(") && (s = { ...s, supportsColorMix: !0 }); let t = { ...e, nodes: [] }; for (let r of e.nodes) m(r, t.nodes, s, c + 1); "@keyframes" === e.name && s.theme && u.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) && l.push(t) } else if ("at-root" === e.kind) for (let t of e.nodes) { let e = []; m(t, e, s, 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) m(t, l, { ...s, ...e.context }, c) } else "comment" === e.kind && l.push(e) } let v = []; for (let t of e) m(t, v, {}, 0); e: for (let [e, r] of i) for (let n of r) { if (ie(n.property, t.theme, h)) { if (n.property.startsWith(t.theme.prefixKey("--animate-"))) for (let e of ae(n.value)) d.add(e); continue } let r = e.indexOf(n); if (e.splice(r, 1), 0 === e.length) { let t = oe(v, t => "rule" === t.kind && t.nodes === e); if (!t || 0 === t.length) continue e; for (t.unshift({ kind: "at-root", nodes: v }); ;) { 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 u) if (!d.has(e.params)) { let t = n.indexOf(e); n.splice(t, 1) } if (v = v.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 = U(n.value), i = !1; if (L(o, e => { if ("function" !== e.kind || "color-mix" !== e.value) return; let r = !1, n = !1; if (L(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(") ? U(a)[0] : null } while (o); return D.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 ? D.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: F(o) }, l = H("@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 (f.length > 0) { let t = H(":root, :host", f); t.src = f[0].src, e.push(t) } if (p.length > 0) { let t = H("*, ::before, ::after, ::backdrop", p); t.src = p[0].src, e.push(t) } if (e.length > 0) { let t = v.findIndex(e => !("comment" === e.kind || "at-rule" === e.kind && ("@charset" === e.name || "@import" === e.name))), r = P("@layer", "properties", []); r.src = e[0].src, v.splice(t < 0 ? v.length : t, 0, r); let n = H("@layer properties", [P("@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, v.push(n) } } return function (e) { let t = new j(g), r = [], n = [], o = null, i = new Set, a = new Set, u = [], d = new Set; L(e, { enter(e) { switch (e.kind) { case "rule": if (o = null, 0 === r.length) if (e.selector.includes("&")) { let t = g(e.selector), n = !1; L(t, e => { "selector" === e.kind && "&" === e.value && (n = !0, e.value = ":scope") }), n ? r.push([c(t), e.src, e.dst]) : r.push([e.selector, e.src, e.dst]) } else r.push([e.selector, e.src, e.dst]); else { if ("&" === e.selector) return void d.add(e); let n = r[r.length - 1][0], o = V(e.selector, ",").map(e => { if (!e.includes("&")) { let r = t.get(n); return `${1 === r.length && "list" === r[0].kind ? `:is(${n})` : n} ${e}` } { let r = g(e), o = !1; if (L(r, { enter(e, r) { if ("selector" !== e.kind || "&" !== e.value || (o = !0, e.value = `:is(${n})`, null === r.parent)) return; let i = t.get(n); if (1 !== i.length || "list" !== i[0].kind) { if ("complex" === r.parent.kind) { if (0 === r.index) return void (e.value = n); if (r.index === r.siblings.length - 1) { if ("complex" === i[0].kind) return; return void (e.value = n) } if ("complex" === i[0].kind) return; return void (e.value = n) } if ("compound" === r.parent.kind) { if ("complex" === i[0].kind) { let e = r.path(), t = e[e.length - 2]; if (t && "complex" === t.kind && t.nodes[0] !== r.parent) return } if (r.siblings.slice(r.index + 1).some(e => l(e) || s(e))) return; if (0 === r.index) return void (e.value = n); if (r.index === r.siblings.length - 1) { if ("complex" === i[0].kind || l(i[0]) || s(i[0])) return; return void (e.value = n) } if ("complex" === i[0].kind || l(i[0]) || s(i[0])) return; return void (e.value = n) } if ("function" === r.parent.kind) return void (e.value = n) } }, exit(e, t) { if (0 === t.index && t.siblings.length > 1 && "compound" === t.parent?.kind && l(e)) { let e = t.siblings[1]; return "selector" === e.kind && 124 === e.value.charCodeAt(0) ? void 0 : D.ReplaceSkip([]) } } }), o) return c(r); let i = t.get(n); return `${1 === i.length && "list" === i[0].kind ? `:is(${n})` : n} ${e}` } }).join(", "); r.push([o, e.src, e.dst]) } if (e.nodes.some(e => "declaration" === e.kind)) { for (let t of e.nodes) f(t); return D.Skip } break; case "at-rule": if (o = null, 0 === e.nodes.length && !re.has(e.name)) return f(e), d.add(e), D.Skip; if (!te.has(e.name)) return f(e), d.add(e), D.Skip; n.push([e.name, e.params, e.src, e.dst]); break; case "declaration": case "comment": f(e) } }, exit(e) { if (!d.delete(e)) switch (e.kind) { case "rule": o = null, r.pop(); break; case "at-rule": o = null, n.pop() } } }); for (let e of a) { let t = new Set; for (let r = e.length - 1; r >= 0; --r) { let n = e[r]; if ("declaration" !== n.kind) continue; let o = `${n.property}\0${n.value}\0${n.important}`; t.has(o) ? e.splice(r, 1) : t.add(o) } } return u; function f(e) { if (o) return "declaration" === e.kind && (i.has(e.property) ? a.add(o) : i.add(e.property)), void o.push(e); { if (0 === r.length && 0 === n.length) { let t = u[u.length - 1]; if (t && "at-rule" === t.kind && "at-rule" === e.kind && 0 === t.nodes.length && 0 === e.nodes.length && t.name === e.name && t.params === e.params) return; return void u.push(e) } o = [e], i.clear(), "declaration" === e.kind && i.add(e.property); let t = null, l = u, s = 0; { let e = l[l.length - 1]; if (e && "at-rule" === e.kind) for (let t = 0; t < n.length; t++) { let r = n[t]; if (!e || "at-rule" !== e.kind || e.name !== r[0] || e.params !== r[1]) break; s++, l = e.nodes, e = e.nodes[e.nodes.length - 1] } } if (r.length > 0) { let [e, i, c] = r[r.length - 1]; if (n.length - s <= 0) { let t = l[l.length - 1]; if (t && "rule" === t.kind && t.selector === e) return t.nodes.push(...o), o = t.nodes, void a.add(o) } t = H(e, o), (i || c) && Object.assign(t, { src: i, dst: c }) } for (let e = n.length - 1; e >= s; --e) { let [r, i, a, l] = n[e]; t = P(r, i, t ? [t] : o), (a || l) && Object.assign(t, { src: a, dst: l }) } t ? l.push(t) : l.push(...o) } } }(v) } var te = new Set(["@container", "@layer", "@media", "@page", "@starting-style", "@supports", "@view-transition"]), re = new Set(["@container", "@media", "@page", "@starting-style", "@supports", "@view-transition"]); function ne(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 oe(e, t) { let r = []; return L(e, (e, n) => { if (t(e)) return r = n.path(), r.push(e), D.Stop }), r } function ie(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 (ie(e, t, r, n)) return !0 } return !1 } function ae(e) { return e.split(/[\s,]+/) } var le = ["calc", "min", "max", "clamp", "mod", "rem", "sin", "cos", "tan", "asin", "acos", "atan", "atan2", "pow", "sqrt", "hypot", "log", "exp", "round"]; function se(e) { return -1 !== e.indexOf("(") && le.some(t => e.includes(`${t}(`)) } function ce(e) { if (!le.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 (le.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 ue(e) { if (-1 === e.indexOf("(")) return de(e); let t = U(e); return fe(t), e = ce(e = F(t)) } function de(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 fe(e) { for (let t of e) switch (t.kind) { case "function": if ("url" === t.value || t.value.endsWith("_url")) { t.value = de(t.value); break } if ("var" === t.value || t.value.endsWith("_var") || "theme" === t.value || t.value.endsWith("_theme")) { t.value = de(t.value); for (let e = 0; e < t.nodes.length; e++)0 != e || "word" !== t.nodes[e].kind ? fe([t.nodes[e]]) : t.nodes[e].value = de(t.nodes[e].value, !0); break } t.value = de(t.value), fe(t.nodes); break; case "separator": case "word": t.value = de(t.value); break; default: pe(t) } } function pe(e) { throw new Error(`Unexpected value: ${e}`) } var he = new Uint8Array(256); function me(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: he[t] = 41, t++; break; case 91: he[t] = 93, t++; break; case 123: break; case 93: case 125: case 41: if (0 === t) return !1; t > 0 && o === he[t - 1] && t--; break; case 59: if (0 === t) return !1 } } return !0 } var ge = /^[a-zA-Z0-9_.%-]+$/; function ve(e) { if ("[" === e[0] && "]" === e[e.length - 1]) { let t = ue(e.slice(1, -1)); return me(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] && me(e) ? { kind: "arbitrary", value: ue(e = `var(${e})`) } : null : ge.test(e) ? { kind: "named", value: e } : null } function* ke(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 we(e) { if (null === e) return ""; let t = Se(e.value), r = t ? e.value.slice(4, -1) : e.value, [n, o] = t ? ["(", ")"] : ["[", "]"]; return "arbitrary" === e.kind ? `/${n}${xe(r)}${o}` : "named" === e.kind ? `/${e.value}` : "" } function be(e) { if ("static" === e.kind) return e.root; if ("arbitrary" === e.kind) return `[${xe(function (e) { return $e.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 = Se(e.value.value), o = n ? e.value.value.slice(4, -1) : e.value.value, [i, a] = n ? ["(", ")"] : ["[", "]"]; t += `${r ? "-" : ""}${i}${xe(o)}${a}` } else "named" === e.value.kind && (t += `${r ? "-" : ""}${e.value.value}`) } return "compound" === e.kind && (t += e.root, t += "-", t += be(e.variant)), ("functional" === e.kind || "compound" === e.kind) && (t += we(e.modifier)), t } var ye = new j(e => { let t = U(e), r = new Set, n = new Set(["~", ">", "+", "-", "*", "/"]); return L(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 : D.ReplaceSkip({ kind: "function", value: "", nodes: [e] }) } }), r.size > 0 && L(t, e => { if (r.has(e)) return r.delete(e), D.ReplaceSkip([]) }), ze(t), F(t) }); function xe(e) { return ye.get(e) } var $e = new j(e => { let t = U(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 ? F(t[2].nodes) : e }); function ze(e) { for (let t of e) switch (t.kind) { case "function": if ("url" === t.value || t.value.endsWith("_url")) { t.value = Te(t.value); break } if ("var" === t.value || t.value.endsWith("_var") || "theme" === t.value || t.value.endsWith("_theme")) { t.value = Te(t.value); for (let e = 0; e < t.nodes.length; e++)ze([t.nodes[e]]); break } t.value = Te(t.value), ze(t.nodes); break; case "separator": t.value = Te(t.value); break; case "word": ("-" !== t.value[0] || "-" !== t.value[1]) && (t.value = Te(t.value)); break; default: Ce(t) } } var Ae = new j(e => { let t = U(e); return 1 === t.length && "function" === t[0].kind && "var" === t[0].value }); function Se(e) { return Ae.get(e) } function Ce(e) { throw new Error(`Unexpected value: ${e}`) } function Te(e) { return e.replaceAll("_", String.raw`\_`).replaceAll(" ", "_") } function je(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 Ke = /^(?<value>[-+]?(?:\d*\.)?\d+)(?<unit>[a-z]+|%)?$/i, Ve = new j(e => { let t = Ke.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] }), Ee = 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"]), Ne = /^(rgba?|hsla?|hwb|color|(ok)?(lab|lch)|light-dark|color-mix|--alpha)\(/i; var Oe = { color: function (e) { return 35 === e.charCodeAt(0) || Ne.test(e) || Ee.has(e.toLowerCase()) }, length: Ye, percentage: Ie, ratio: function (e) { return qe.test(e) || se(e) }, number: Me, integer: Je, url: We, position: function (e) { let t = 0; for (let r of V(e, " ")) if ("center" !== r && "top" !== r && "right" !== r && "bottom" !== r && "left" !== r) { if (!r.startsWith("var(")) { if (Ye(r) || Ie(r)) { t += 1; continue } return !1 } } else t += 1; return t > 0 }, "bg-size": function (e) { let t = 0; for (let r of V(e, ",")) { if ("cover" === r || "contain" === r) { t += 1; continue } let e = V(r, " "); if (1 !== e.length && 2 !== e.length) return !1; e.every(e => "auto" === e || Ye(e) || Ie(e)) && (t += 1) } return t > 0 }, "line-width": function (e) { return V(e, " ").every(e => Ye(e) || Me(e) || "thin" === e || "medium" === e || "thick" === e) }, image: function (e) { let t = 0; for (let r of V(e, ",")) if (!r.startsWith("var(")) { if (We(r)) { t += 1; continue } if (De.test(r)) { t += 1; continue } if (Re.test(r)) { t += 1; continue } return !1 } return t > 0 }, "family-name": function (e) { let t = 0; for (let r of V(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 Ze.test(e) }, vector: function (e) { return Ge.test(e) } }; function Fe(e, t) { if (e.startsWith("var(")) return null; for (let r of t) if (Oe[r]?.(e)) return r; return null } var Ue = /^url\(.*\)$/; function We(e) { return Ue.test(e) } var Re = /^(?:element|image|cross-fade|image-set)\(/, De = /^(repeating-)?(conic|linear|radial)-gradient\(/; var Le = /[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/, Be = new RegExp(`^${Le.source}$`); function Me(e) { return Be.test(e) || se(e) } var _e = new RegExp(`^${Le.source}%$`); function Ie(e) { return _e.test(e) || se(e) } var qe = new RegExp(`^${Le.source}\\s*/\\s*${Le.source}$`); var Pe = new RegExp(`^${Le.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("|")})$`), He = /^(--spacing)\(/i; function Ye(e) { return Pe.test(e) || He.test(e) || se(e) } var Ze = new RegExp(`^${Le.source}(${["deg", "rad", "grad", "turn"].join("|")})$`); var Ge = new RegExp(`^${Le.source} +${Le.source} +${Le.source}$`); function Je(e) { let t = Number(e); return Number.isInteger(t) && t >= 0 && String(t) === String(e) } function Xe(e) { let t = Number(e); return Number.isInteger(t) && t > 0 && String(t) === String(e) } function Qe(e) { return tt(e, .25) } function et(e) { return tt(e, .25) } function tt(e, t) { let r = Number(e); return r >= 0 && r % t === 0 && String(r) === String(e) } var rt = new Set(["inset", "inherit", "initial", "revert", "unset"]), nt = new Set(["calc", "clamp", "max", "min", "--spacing"]), ot = new Set(["color", "color-mix", "contrast-color", "device-cmyk", "hsl", "hsla", "hwb", "lab", "lch", "light-dark", "oklab", "oklch", "rgb", "rgba", "--alpha"]), it = /^-?(\d+|\.\d+)(.*?)$/; function at(e, t) { function r(e) { let r = F([e]); return U(t(r)) } return V(e, ",").map(e => { let n = U(e = e.trim()), o = null, i = 0, a = 0, l = !1; return L(n, e => { switch (e.kind) { case "word": if (rt.has(e.value.toLowerCase())) return D.Continue; if (it.test(e.value.toLowerCase())) return a++, D.Continue; if ("#" === e.value[0] || function (e) { return Ee.has(e.toLowerCase()) }(e.value)) return l = !0, D.ReplaceStop(r(e)); o = e, i++; break; case "function": return ot.has(e.value.toLowerCase()) ? (l = !0, D.ReplaceStop(r(e))) : nt.has(e.value.toLowerCase()) ? (a++, D.Skip) : (o = e, i++, D.Skip); case "separator": return D.Continue } }), l ? F(n) : a < 2 ? e : 0 === i ? `${e} ${t("currentcolor")}` : (1 === i && L(n, e => e === o ? (l = !0, D.ReplaceStop(r(e))) : D.Skip), l ? F(n) : e) }).join(", ") } var lt = ["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"], st = class { utilities = new j(() => []); 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 ct(e, t, r) { return P("@property", e, [Y("syntax", r ? `"${r}"` : '"*"'), Y("inherits", "false"), ...t ? [Y("initial-value", t)] : []]) } function ut(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 dt(e, t) { let r = Number(t); return Number.isNaN(r) || (t = 100 * r + "%"), `oklab(from ${e} l a b / ${t})` } function ft(e, t, r) { if (!t) return e; if ("arbitrary" === t.kind) return ut(e, t.value); let n = r.resolve(t.value, ["--opacity"]); return n ? ut(e, n) : et(t.value) ? ut(e, `${t.value}%`) : null } function pt(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 ? ft(n, e.modifier, t) : null } var ht = /(\d+)_(\d+)/g; var mt = ["number", "integer", "ratio", "percentage"]; function gt(e) { let t = A(e.params); return function (e) { if (!e.endsWith("-*")) return !1; e = e.slice(0, -2); let t = bt.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 } }; L(e.nodes, e => { if ("declaration" !== e.kind || !e.value || !e.value.includes("--value(") && !e.value.includes("--modifier(")) return; let t = U(e.value); L(t, e => { if ("function" !== e.kind) return; if (!("--spacing" !== e.value || n["--modifier"].usedSpacingNumber && n["--value"].usedSpacingNumber)) return L(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 D.Stop }), D.Continue; if ("--value" !== e.value && "--modifier" !== e.value) return; let t = V(F(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 = U(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]) && !mt.includes(t.value)) { console.warn(`Unsupported bare value data type: "${t.value}".\nOnly valid data types are: ${mt.map(e => `"${e}"`).join(", ")}.\n`); let r = t.value, n = structuredClone(e), o = "¶"; L(n.nodes, e => { if ("word" === e.kind && e.value === r) return D.ReplaceSkip({ kind: "word", value: o }) }); let i = "^".repeat(F([t]).length), a = F([n]).indexOf(o), l = ["```css", F([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 = F(t) }), r.utilities.functional(t.slice(0, -2), t => { let n = X(e), o = t.value, i = t.modifier, a = !1, l = !1, s = !1, c = !1, u = new Map, d = !1; if (L([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 = U(e.value); if (L(p, t => { if ("function" === t.kind) { if ("--value" === t.value) { a = !0; let i = vt(o, t, r); return i ? (l = !0, i.ratio ? d = !0 : u.set(e, n), D.ReplaceSkip(i.nodes)) : (f = !0, D.Stop) } if ("--modifier" === t.value) { s = !0; let e = vt(i, t, r); return e ? (c = !0, D.ReplaceSkip(e.nodes)) : (f = !0, D.Stop) } } }), f) return D.ReplaceSkip([]); e.value = F(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(...lt); else if (l) for (let e of lt) Je(e) && o.push(e); for (let e of r.theme.keysInNamespaces(s)) o.push(e.replace(ht, (e, t, r) => `${t}.${r}`)) } return [{ values: e, modifiers: t }] }) } : function (e) { let t = bt.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 yt: { if (e !== n.length - 1) return !1; let t = (n[e - 1] || r[r.length - 1] || "").charCodeAt(0); if (t < Tt || t > jt) return !1; break } case xt: if (e === n.length - 1 || o) return !1; o = !0; break; case $t: { let t = (n[e - 1] || r[r.length - 1] || "").charCodeAt(0); if (t < Tt || t > jt) return !1; let o = (n[e + 1] || "").charCodeAt(0); if (o < Tt || o > jt) return !1; break } case Kt: case Vt: continue; default: if (t >= zt && t <= At || t >= St && t <= Ct || t >= Tt && t <= jt) continue; return !1 } } return !0 }(t) ? r => { r.utilities.static(t, () => e.nodes.map(X)) } : null } function vt(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: U(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: U(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: U(t) } } } } } else { if ("named" === e.kind && "word" === n.kind) { if (!mt.includes(n.value)) continue; let t = "ratio" === n.value && "fraction" in e ? e.fraction : e.value; if (!t) continue; let r = Fe(t, [n.value]); if (null === r) continue; if ("ratio" === r) { let [e, r] = V(t, "/").map(Number); if (!Je(e) || !Je(r)) continue } else { if ("number" === r && !Qe(t)) continue; if ("percentage" === r && !Je(t.slice(0, -1))) continue } if ("ratio" === r) { let [e, r] = V(t, "/"); return { nodes: U(`${e.trim()} / ${r.trim()}`), ratio: !0 } } return { nodes: U(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: U(e.value) }; if ("dataType" in e && e.dataType && e.dataType !== t) continue; if ("dataType" in e && e.dataType) return { nodes: U(e.value) }; if (null !== Fe(e.value, [t])) return { nodes: U(e.value) } } } } else for (let e of t.nodes) if ("function" === e.kind && "--default" === e.value) return { nodes: e.nodes } } function kt(e, t, r, n, o = "") { let i = !1, a = at(t, e => null == r ? n(e) : e.startsWith("current") ? n(ut(e, r)) : ((e.startsWith("var(") || r.startsWith("var(")) && (i = !0), n(dt(e, r)))); function l(e) { return o ? V(e, ",").map(e => o.trim() + " " + e.trim()).join(", ") : e } return i ? [Y(e, l(at(t, n))), H("@supports (color: lab(from red l a b))", [Y(e, l(a))])] : [Y(e, l(a))] } function wt(e, t, r, n, o = "") { let i = !1, a = V(t, ",").map(e => at(e, e => null == r ? n(e) : e.startsWith("current") ? n(ut(e, r)) : ((e.startsWith("var(") || r.startsWith("var(")) && (i = !0), n(dt(e, r))))).map(e => `drop-shadow(${e})`).join(" "); return i ? [Y(e, o + V(t, ",").map(e => `drop-shadow(${at(e, n)})`).join(" ")), H("@supports (color: lab(from red l a b))", [Y(e, o + a)])] : [Y(e, o + a)] } var bt = /^-?[a-z][a-zA-Z0-9_-]*/, yt = 37, xt = 47, $t = 46, zt = 97, At = 122, St = 65, Ct = 90, Tt = 48, jt = 57, Kt = 95, Vt = 45; var Et = { "--alpha": function (e, t, r, ...n) { let [o, i] = V(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 ut(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 = Ve.get(r); if (i) { if (0 === i[0]) return "0px"; 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 = U(i); return function (e, t) { L(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), F(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 Nt = new RegExp(Object.keys(Et).map(e => `${e}\\(`).join("|")); function Ot(e, t) { let r = 0; return L(e, e => { if ("declaration" === e.kind && e.value && Nt.test(e.value)) return r |= 8, void (e.value = Ft(e.value, e, t)); "at-rule" === e.kind && ("@media" === e.name || "@custom-media" === e.name || "@container" === e.name || "@supports" === e.name) && Nt.test(e.params) && (r |= 8, e.params = Ft(e.params, e, t)) }), r } function Ft(e, t, r) { let n = U(e); return L(n, e => { if ("function" === e.kind && e.value in Et) { let n = V(F(e.nodes).trim(), ",").map(e => e.trim()), o = Et[e.value](r, t, ...n); return D.Replace(U(o)) } }), F(n) } function Ut(e) { if ("[" !== e[0] || "]" !== e[e.length - 1]) return null; let t = 1, r = t, n = e.length - 1; for (; Wt(e.charCodeAt(t));)t++; for (r = t; t < n; t++) { let r = e.charCodeAt(t); if (92 !== r) { if (!(r >= 65 && r <= 90 || r >= 97 && r <= 122 || r >= 48 && r <= 57 || 45 === r || 95 === r || r >= 128)) break } else t++ } if (r === t) return null; let o = e.slice(r, t); for (; Wt(e.charCodeAt(t));)t++; if (t === n) return { attribute: o, operator: null, quote: null, value: null, sensitivity: null }; let i = null, a = e.charCodeAt(t); if (61 === a) i = "=", t++; else { if (126 !== a && 124 !== a && 94 !== a && 36 !== a && 42 !== a || 61 !== e.charCodeAt(t + 1)) return null; i = e[t] + "=", t += 2 } for (; Wt(e.charCodeAt(t));)t++; if (t === n) return null; let l = "", s = null; if (a = e.charCodeAt(t), 39 === a || 34 === a) { s = e[t], t++, r = t; for (let r = t; r < n; r++) { let n = e.charCodeAt(r); n === a ? t = r + 1 : 92 === n && r++ } l = e.slice(r, t - 1) } else { for (r = t; t < n && !Wt(e.charCodeAt(t));)t++; l = e.slice(r, t) } for (; Wt(e.charCodeAt(t));)t++; if (t === n) return { attribute: o, operator: i, quote: s, value: l, sensitivity: null }; let c = null; switch (e.charCodeAt(t)) { case 105: case 73: c = "i", t++; break; case 115: case 83: c = "s", t++; break; default: return null }for (; Wt(e.charCodeAt(t));)t++; return t !== n ? null : { attribute: o, operator: i, quote: s, value: l, sensitivity: c } } function Wt(e) { switch (e) { case 32: case 9: case 10: case 13: return !0; default: return !1 } } var Rt = /^@?[a-z0-9][a-zA-Z0-9_-]*(?<![_-])$/, Dt = 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; L(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(X); o && _t(n, r), Mt(n, e.nodes), e.nodes = n }, { compounds: Lt(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: Lt([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 Lt(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 Bt(e) { if (e.includes("=")) { let [t, ...r] = V(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 Mt(e, t) { L(e, e => "at-rule" === e.kind && "@slot" === e.name ? D.ReplaceSkip(t) : "at-rule" !== e.kind || "@keyframes" !== e.name && "@property" !== e.name ? void 0 : (Object.assign(e, J([P(e.name, e.params, e.nodes)])), D.Skip)) } function _t(e, t) { let r = 0; return L(e, e => { if ("at-rule" !== e.kind || "@variant" !== e.name) return; let n = [], o = V(e.params, ","); for (let [r, i] of o.entries()) { let a = q("&", r === o.length - 1 ? e.nodes : e.nodes.map(X)), l = V(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 === Ht(a, n, t.variants)) throw new Error(`Cannot use \`@variant\` with variant: ${r}`) } "&" === a.selector ? n.push(...a.nodes) : n.push(a) } return r |= 32, D.Replace(n) }), r } function It(e, t) { let r = function (e) { let t = new st; function r(r, n) { function* o(t) { for (let r of e.keysInNamespaces(t)) yield r.replace(ht, (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() : Y(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] = V(r.value.fraction, "/"); if (!Je(e) || !Je(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(X) } } else { if (r.modifier) return; n = void 0 !== o.defaultValue ? o.defaultValue : e.resolve(null, o.themeKeys ?? []) } if (null !== n) return o.handle(t ? ce(`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 = ft(r, t.modifier, e)) : r = pt(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"]) && Qe(t) ? `--spacing(${t})` : null, handleNegativeBareValue: ({ value: t }) => e.resolve(null, ["--spacing"]) && Qe(t) ? `--spacing(-${t})` : null, handle: a, staticValues: c }), r(n, () => [{ values: e.get(["--spacing"]) ? lt : [], 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 => [Y(t, e)], { supportsNegative: !0, supportsFractions: !0 }); n("isolate", [["isolation", "isolate"]]), n("isolation-auto", [["isolation", "auto"]]), o("z", { supportsNegative: !0, handleBareValue: ({ value: e }) => Je(e) ? e : null, themeKeys: ["--z-index"], handle: e => [Y("z-index", e)], staticValues: { auto: [Y("z-index", "auto")] } }), r("z", () => [{ supportsNegative: !0, values: ["0", "10", "20", "30", "40", "50"], valueThemeKeys: ["--z-index"] }]), o("order", { supportsNegative: !0, handleBareValue: ({ value: e }) => Je(e) ? e : null, themeKeys: ["--order"], handle: e => [Y("order", e)], staticValues: { first: [Y("order", "-9999")], last: [Y("order", "9999")] } }), r("order", () => [{ supportsNegative: !0, values: Array.from({ length: 12 }, (e, t) => `${t + 1}`), valueThemeKeys: ["--order"] }]), o("col", { supportsNegative: !0, handleBareValue: ({ value: e }) => Je(e) ? e : null, themeKeys: ["--grid-column"], handle: e => [Y("grid-column", e)], staticValues: { auto: [Y("grid-column", "auto")] } }), o("col-span", { handleBareValue: ({ value: e }) => Je(e) ? e : null, handle: e => [Y("grid-column", `span ${e} / span ${e}`)], staticValues: { full: [Y("grid-column", "1 / -1")] } }), o("col-start", { supportsNegative: !0, handleBareValue: ({ value: e }) => Je(e) ? e : null, themeKeys: ["--grid-column-start"], handle: e => [Y("grid-column-start", e)], staticValues: { auto: [Y("grid-column-start", "auto")] } }), o("col-end", { supportsNegative: !0, handleBareValue: ({ value: e }) => Je(e) ? e : null, themeKeys: ["--grid-column-end"], handle: e => [Y("grid-column-end", e)], staticValues: { auto: [Y("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 }) => Je(e) ? e : null, themeKeys: ["--grid-row"], handle: e => [Y("grid-row", e)], staticValues: { auto: [Y("grid-row", "auto")] } }), o("row-span", { themeKeys: [], handleBareValue: ({ value: e }) => Je(e) ? e : null, handle: e => [Y("grid-row", `span ${e} / span ${e}`)], staticValues: { full: [Y("grid-row", "1 / -1")] } }), o("row-start", { supportsNegative: !0, handleBareValue: ({ value: e }) => Je(e) ? e : null, themeKeys: ["--grid-row-start"], handle: e => [Y("grid-row-start", e)], staticValues: { auto: [Y("grid-row-start", "auto")] } }), o("row-end", { supportsNegative: !0, handleBareValue: ({ value: e }) => Je(e) ? e : null, themeKeys: ["--grid-row-end"], handle: e => [Y("grid-row-end", e)], staticValues: { auto: [Y("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 => [Y(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 }) => Je(e) ? e : null, handle: e => [Y("overflow", "hidden"), Y("display", "-webkit-box"), Y("-webkit-box-orient", "vertical"), Y("-webkit-line-clamp", e)], staticValues: { none: [Y("overflow", "visible"), Y("display", "block"), Y("-webkit-box-orient", "horizontal"), Y("-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] = V(e, "/"); return Qe(t) && Qe(r) ? e : null }, handle: e => [Y("aspect-ratio", e)], staticValues: { auto: [Y("aspect-ratio", "auto")], square: [Y("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 => [Y("--tw-sort", "size"), Y("width", e), Y("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 => [Y(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 => [Y(r, e)], { supportsFractions: !0 }); t.static("container", () => { let t = [...e.namespace("--breakpoint").values()]; t.sort((e, t) => je(e, t, "asc")); let r = [Y("--tw-sort", "--tw-container-component"), Y("width", "100%")]; for (let e of t) r.push(P("@media", `(width >= ${e})`, [Y("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 : [Y("flex", e.value.value)]; if (e.value.fraction) { let [t, r] = V(e.value.fraction, "/"); return Je(t) && Je(r) ? [Y("flex", `calc(${e.value.fraction} * 100%)`)] : void 0 } if (Je(e.value.value)) return e.modifier ? void 0 : [Y("flex", e.value.value)] } }), r("flex", () => [{ supportsFractions: !0 }, { values: Array.from({ length: 12 }, (e, t) => `${t + 1}`) }]), o("shrink", { defaultValue: "1", handleBareValue: ({ value: e }) => Je(e) ? e : null, handle: e => [Y("flex-shrink", e)] }), o("grow", { defaultValue: "1", handleBareValue: ({ value: e }) => Je(e) ? e : null, handle: e => [Y("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 => [Y("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 = () => J([ct("--tw-border-spacing-x", "0", "<length>"), ct("--tw-border-spacing-y", "0", "<length>")]); a("border-spacing", ["--border-spacing", "--spacing"], e => [l(), Y("--tw-border-spacing-x", e), Y("--tw-border-spacing-y", e), Y("border-spacing", "var(--tw-border-spacing-x) var(--tw-border-spacing-y)")]), a("border-spacing-x", ["--border-spacing", "--spacing"], e => [l(), Y("--tw-border-spacing-x", e), Y("border-spacing", "var(--tw-border-spacing-x) var(--tw-border-spacing-y)")]), a("border-spacing-y", ["--border-spacing", "--spacing"], e => [l(), Y("--tw-border-spacing-y", e), Y("border-spacing", "var(--tw-border-spacing-x) var(--tw-border-spacing-y)")]), o("origin", { themeKeys: ["--transform-origin"], handle: e => [Y("transform-origin", e)], staticValues: { center: [Y("transform-origin", "center")], top: [Y("transform-origin", "top")], "top-right": [Y("transform-origin", "100% 0")], right: [Y("transform-origin", "100%")], "bottom-right": [Y("transform-origin", "100% 100%")], bottom: [Y("transform-origin", "bottom")], "bottom-left": [Y("transform-origin", "0 100%")], left: [Y("transform-origin", "0")], "top-left": [Y("transform-origin", "0 0")] } }), o("perspective-origin", { themeKeys: ["--perspective-origin"], handle: e => [Y("perspective-origin", e)], staticValues: { center: [Y("perspective-origin", "center")], top: [Y("perspective-origin", "top")], "top-right": [Y("perspective-origin", "100% 0")], right: [Y("perspective-origin", "100%")], "bottom-right": [Y("perspective-origin", "100% 100%")], bottom: [Y("perspective-origin", "bottom")], "bottom-left": [Y("perspective-origin", "0 100%")], left: [Y("perspective-origin", "0")], "top-left": [Y("perspective-origin", "0 0")] } }), o("perspective", { themeKeys: ["--perspective"], handle: e => [Y("perspective", e)], staticValues: { none: [Y("perspective", "none")] } }); let s = () => J([ct("--tw-translate-x", "0"), ct("--tw-translate-y", "0"), ct("--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(), Y("--tw-translate-x", e), Y("--tw-translate-y", e), Y("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(), Y(`--tw-translate-${e}`, t), Y("translate", "var(--tw-translate-x) var(--tw-translate-y)")], { supportsNegative: !0, supportsFractions: !0 }); a("translate-z", ["--translate", "--spacing"], e => [s(), Y("--tw-translate-z", e), Y("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 = () => J([ct("--tw-scale-x", "1"), ct("--tw-scale-y", "1"), ct("--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, [Y("scale", n)]) : (n = e.resolve(r.value.value, ["--scale"]), !n && Je(r.value.value) && (n = `${r.value.value}%`), n ? (n = t ? `calc(${n} * -1)` : n, [c(), Y("--tw-scale-x", n), Y("--tw-scale-y", n), Y("--tw-scale-z", n), Y("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 }) => Je(e) ? `${e}%` : null, handle: t => [c(), Y(`--tw-scale-${e}`, t), Y("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 ?? Fe(n, ["angle", "vector"]); if ("vector" === e) return [Y("rotate", `${n} var(--tw-rotate)`)]; if ("angle" !== e) return [Y("rotate", t ? `calc(${n} * -1)` : n)] } else if (n = e.resolve(r.value.value, ["--rotate"]), !n && Je(r.value.value) && (n = `${r.value.value}deg`), !n) return; return [Y("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 = () => J([ct("--tw-rotate-x"), ct("--tw-rotate-y"), ct("--tw-rotate-z"), ct("--tw-skew-x"), ct("--tw-skew-y")]); for (let t of ["x", "y", "z"]) o(`rotate-${t}`, { supportsNegative: !0, themeKeys: ["--rotate"], handleBareValue: ({ value: e }) => Je(e) ? `${e}deg` : null, handle: r => [i(), Y(`--tw-rotate-${t}`, `rotate${t.toUpperCase()}(${r})`), Y("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 }) => Je(e) ? `${e}deg` : null, handle: t => [i(), Y("--tw-skew-x", `skewX(${t})`), Y("--tw-skew-y", `skewY(${t})`), Y("transform", e)] }), o("skew-x", { supportsNegative: !0, themeKeys: ["--skew"], handleBareValue: ({ value: e }) => Je(e) ? `${e}deg` : null, handle: t => [i(), Y("--tw-skew-x", `skewX(${t})`), Y("transform", e)] }), o("skew-y", { supportsNegative: !0, themeKeys: ["--skew"], handleBareValue: ({ value: e }) => Je(e) ? `${e}deg` : null, handle: t => [i(), Y("--tw-skew-y", `skewY(${t})`), Y("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(), Y("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 }) => Je(e) ? `${e}%` : null, handle: e => [Y("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 => [Y("cursor", e)] }); for (let e of ["auto", "none", "manipulation"]) n(`touch-${e}`, [["touch-action", e]]); let f = () => J([ct("--tw-pan-x"), ct("--tw-pan-y"), ct("--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 = () => J([ct("--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 => [Y(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 => [Y(t, e)]); n("list-inside", [["list-style-position", "inside"]]), n("list-outside", [["list-style-position", "outside"]]), o("list", { themeKeys: ["--list-style-type"], handle: e => [Y("list-style-type", e)], staticValues: { none: [Y("list-style-type", "none")], disc: [Y("list-style-type", "disc")], decimal: [Y("list-style-type", "decimal")] } }), o("list-image", { themeKeys: ["--list-style-image"], handle: e => [Y("list-style-image", e)], staticValues: { none: [Y("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 }) => Je(e) ? e : null, handle: e => [Y("columns", e)], staticValues: { auto: [Y("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"]) && Qe(t) ? `--spacing(${t})` : null, handle: e => [Y("grid-auto-columns", e)], staticValues: { auto: [Y("grid-auto-columns", "auto")], min: [Y("grid-auto-columns", "min-content")], max: [Y("grid-auto-columns", "max-content")], fr: [Y("grid-auto-columns", "minmax(0, 1fr)")] } }), o("auto-rows", { themeKeys: ["--grid-auto-rows"], handleBareValue: ({ value: t }) => e.resolve(null, ["--spacing"]) && Qe(t) ? `--spacing(${t})` : null, handle: e => [Y("grid-auto-rows", e)], staticValues: { auto: [Y("grid-auto-rows", "auto")], min: [Y("grid-auto-rows", "min-content")], max: [Y("grid-auto-rows", "max-content")], fr: [Y("grid-auto-rows", "minmax(0, 1fr)")] } }), o("grid-cols", { themeKeys: ["--grid-template-columns"], handleBareValue: ({ value: e }) => Xe(e) ? `repeat(${e}, minmax(0, 1fr))` : null, handle: e => [Y("grid-template-columns", e)], staticValues: { none: [Y("grid-template-columns", "none")], subgrid: [Y("grid-template-columns", "subgrid")] } }), o("grid-rows", { themeKeys: ["--grid-template-rows"], handleBareValue: ({ value: e }) => Xe(e) ? `repeat(${e}, minmax(0, 1fr))` : null, handle: e => [Y("grid-template-rows", e)], staticValues: { none: [Y("grid-template-rows", "none")], subgrid: [Y("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 => [Y("gap", e)]), a("gap-x", ["--gap", "--spacing"], e => [Y("column-gap", e)]), a("gap-y", ["--gap", "--spacing"], e => [Y("row-gap", e)]), a("space-x", ["--space", "--spacing"], e => { let t = (() => { if ("--spacing(0)" === e || "--spacing(-0)" === e) return !0; let t = Ve.get(e); return !(!t || 0 !== t[0] || null !== t[1] && !Ye(e)) })(); return [J([ct("--tw-space-x-reverse", "0")]), q(":where(& > :not(:last-child))", [Y("--tw-sort", "row-gap"), Y("--tw-space-x-reverse", "0"), Y("margin-inline-start", t ? "0" : `calc(${e} * var(--tw-space-x-reverse))`), Y("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 = Ve.get(e); return !(!t || 0 !== t[0] || null !== t[1] && !Ye(e)) })(); return [J([ct("--tw-space-y-reverse", "0")]), q(":where(& > :not(:last-child))", [Y("--tw-sort", "column-gap"), Y("--tw-space-y-reverse", "0"), Y("margin-block-start", t ? "0" : `calc(${e} * var(--tw-space-y-reverse))`), Y("margin-block-end", t ? "0" : `calc(${e} * calc(1 - var(--tw-space-y-reverse)))`)])] }, { supportsNegative: !0 }), n("space-x-reverse", [() => J([ct("--tw-space-x-reverse", "0")]), () => q(":where(& > :not(:last-child))", [Y("--tw-sort", "row-gap"), Y("--tw-space-x-reverse", "1")])]), n("space-y-reverse", [() => J([ct("--tw-space-y-reverse", "0")]), () => q(":where(& > :not(:last-child))", [Y("--tw-sort", "column-gap"), Y("--tw-space-y-reverse", "1")])]), n("accent-auto", [["accent-color", "auto"]]), i("accent", { themeKeys: ["--accent-color", "--color"], handle: e => [Y("accent-color", e)] }), i("caret", { themeKeys: ["--caret-color", "--color"], handle: e => [Y("caret-color", e)] }), i("divide", { themeKeys: ["--divide-color", "--border-color", "--color"], handle: e => [q(":where(& > :not(:last-child))", [Y("--tw-sort", "divide-color"), Y("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 = () => J([ct("--tw-scrollbar-thumb", "#0000", "<color>"), ct("--tw-scrollbar-track", "#0000", "<color>")]); i("scrollbar-thumb", { themeKeys: ["--color"], handle: t => [e(), Y("--tw-scrollbar-thumb", t), Y("scrollbar-color", "var(--tw-scrollbar-thumb) var(--tw-scrollbar-track)")] }), i("scrollbar-track", { themeKeys: ["--color"], handle: t => [e(), Y("--tw-scrollbar-track", t), Y("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 }) => Je(e) ? e : null, handle: e => [Y("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 => Y(t, e)), staticValues: { none: t.map(e => Y(e, "0")), full: t.map(e => Y(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 ?? Fe(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 = ft(r, t.modifier, e), null === r ? void 0 : o.color(r) } } { let r = pt(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 (Je(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 = () => J([ct("--tw-border-style", "solid")]); i("border", { width: e => [Y("border-style", "var(--tw-border-style)"), Y("border-width", e)], color: e => [Y("border-color", e)] }), i("border-x", { width: e => [Y("border-inline-style", "var(--tw-border-style)"), Y("border-inline-width", e)], color: e => [Y("border-inline-color", e)] }), i("border-y", { width: e => [Y("border-block-style", "var(--tw-border-style)"), Y("border-block-width", e)], color: e => [Y("border-block-color", e)] }), i("border-s", { width: e => [Y("border-inline-start-style", "var(--tw-border-style)"), Y("border-inline-start-width", e)], color: e => [Y("border-inline-start-color", e)] }), i("border-e", { width: e => [Y("border-inline-end-style", "var(--tw-border-style)"), Y("border-inline-end-width", e)], color: e => [Y("border-inline-end-color", e)] }), i("border-bs", { width: e => [Y("border-block-start-style", "var(--tw-border-style)"), Y("border-block-start-width", e)], color: e => [Y("border-block-start-color", e)] }), i("border-be", { width: e => [Y("border-block-end-style", "var(--tw-border-style)"), Y("border-block-end-width", e)], color: e => [Y("border-block-end-color", e)] }), i("border-t", { width: e => [Y("border-top-style", "var(--tw-border-style)"), Y("border-top-width", e)], color: e => [Y("border-top-color", e)] }), i("border-r", { width: e => [Y("border-right-style", "var(--tw-border-style)"), Y("border-right-width", e)], color: e => [Y("border-right-color", e)] }), i("border-b", { width: e => [Y("border-bottom-style", "var(--tw-border-style)"), Y("border-bottom-width", e)], color: e => [Y("border-bottom-color", e)] }), i("border-l", { width: e => [Y("border-left-style", "var(--tw-border-style)"), Y("border-left-width", e)], color: e => [Y("border-left-color", e)] }), o("divide-x", { defaultValue: e.get(["--default-border-width"]) ?? "1px", themeKeys: ["--divide-width", "--border-width"], handleBareValue: ({ value: e }) => Je(e) ? `${e}px` : null, handle: e => [J([ct("--tw-divide-x-reverse", "0")]), q(":where(& > :not(:last-child))", [Y("--tw-sort", "divide-x-width"), a(), Y("--tw-divide-x-reverse", "0"), Y("border-inline-style", "var(--tw-border-style)"), Y("border-inline-start-width", `calc(${e} * var(--tw-divide-x-reverse))`), Y("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 }) => Je(e) ? `${e}px` : null, handle: e => [J([ct("--tw-divide-y-reverse", "0")]), q(":where(& > :not(:last-child))", [Y("--tw-sort", "divide-y-width"), a(), Y("--tw-divide-y-reverse", "0"), Y("border-bottom-style", "var(--tw-border-style)"), Y("border-top-style", "var(--tw-border-style)"), Y("border-top-width", `calc(${e} * var(--tw-divide-y-reverse))`), Y("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", [() => J([ct("--tw-divide-x-reverse", "0")]), () => q(":where(& > :not(:last-child))", [Y("--tw-divide-x-reverse", "1")])]), n("divide-y-reverse", [() => J([ct("--tw-divide-y-reverse", "0")]), () => q(":where(& > :not(:last-child))", [Y("--tw-divide-y-reverse", "1")])]); for (let e of ["solid", "dashed", "dotted", "double", "none"]) n(`divide-${e}`, [() => q(":where(& > :not(:last-child))", [Y("--tw-sort", "divide-style"), Y("--tw-border-style", e), Y("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 [Y("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 [Y("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 ?? Fe(e, ["angle"])) ? (e = t ? `calc(${e} * -1)` : `${e}`, [Y("--tw-gradient-position", e), Y("background-image", `linear-gradient(var(--tw-gradient-stops,${e}))`)]) : t ? void 0 : [Y("--tw-gradient-position", e), Y("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 (!Je(n)) return; n = t ? `calc(${n}deg * -1)` : `${n}deg` } let o = e(r.modifier); return [Y("--tw-gradient-position", `${n}`), H("@supports (background-image: linear-gradient(in lab, red, red))", [Y("--tw-gradient-position", `${n} ${o}`)]), Y("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 [Y("--tw-gradient-position", e), Y("background-image", `conic-gradient(var(--tw-gradient-stops,${e}))`)] } let n = e(r.modifier); if (!r.value) return [Y("--tw-gradient-position", n), Y("background-image", "conic-gradient(var(--tw-gradient-stops))")]; let o = r.value.value; return Je(o) ? (o = t ? `calc(${o}deg * -1)` : `${o}deg`, [Y("--tw-gradient-position", `from ${o} ${n}`), Y("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 [Y("--tw-gradient-position", e(t.modifier)), Y("background-image", "radial-gradient(var(--tw-gradient-stops))")]; if ("arbitrary" === t.value.kind) { if (t.modifier) return; let e = t.value.value; return [Y("--tw-gradient-position", e), Y("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 ?? Fe(r, ["image", "color", "percentage", "position", "bg-size", "length", "url"])) { case "percentage": case "position": return t.modifier ? void 0 : [Y("background-position", r)]; case "bg-size": case "length": case "size": return t.modifier ? void 0 : [Y("background-size", r)]; case "image": case "url": return t.modifier ? void 0 : [Y("background-image", r)]; default: return r = ft(r, t.modifier, e), null === r ? void 0 : [Y("background-color", r)] } } { let r = pt(t, e, ["--background-color", "--color"]); if (r) return [Y("background-color", r)] } { if (t.modifier) return; let r = e.resolve(t.value.value, ["--background-image"]); if (r) return [Y("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 = () => J([ct("--tw-gradient-position"), ct("--tw-gradient-from", "#0000", "<color>"), ct("--tw-gradient-via", "#0000", "<color>"), ct("--tw-gradient-to", "#0000", "<color>"), ct("--tw-gradient-stops"), ct("--tw-gradient-via-stops"), ct("--tw-gradient-from-position", "0%", "<length-percentage>"), ct("--tw-gradient-via-position", "50%", "<length-percentage>"), ct("--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 ?? Fe(r, ["color", "length", "percentage"])) { case "length": case "percentage": return t.modifier ? void 0 : o.position(r); default: return r = ft(r, t.modifier, e), null === r ? void 0 : o.color(r) } } { let r = pt(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] && Je(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(), Y("--tw-sort", "--tw-gradient-from"), Y("--tw-gradient-from", e), Y("--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(), Y("--tw-gradient-from-position", e)] }), n("via-none", [["--tw-gradient-via-stops", "initial"]]), m("via", { color: e => [h(), Y("--tw-sort", "--tw-gradient-via"), Y("--tw-gradient-via", e), Y("--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)"), Y("--tw-gradient-stops", "var(--tw-gradient-via-stops)")], position: e => [h(), Y("--tw-gradient-via-position", e)] }), m("to", { color: e => [h(), Y("--tw-sort", "--tw-gradient-to"), Y("--tw-gradient-to", e), Y("--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(), Y("--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 ?? Fe(t, ["image", "percentage", "position", "bg-size", "length", "url"])) { case "percentage": case "position": return e.modifier ? void 0 : [Y("mask-position", t)]; case "bg-size": case "length": case "size": return [Y("mask-size", t)]; default: return [Y("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 [Y("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 [Y("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 = () => J([ct("--tw-mask-linear", "linear-gradient(#fff, #fff)"), ct("--tw-mask-radial", "linear-gradient(#fff, #fff)"), ct("--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 ?? Fe(r, ["length", "percentage", "color"])) { case "color": return r = ft(r, t.modifier, e), null === r ? void 0 : o.color(r); case "percentage": return t.modifier || !Je(r.slice(0, -1)) ? void 0 : o.position(r); default: return t.modifier ? void 0 : o.position(r) } } { let r = pt(t, e, ["--background-color", "--color"]); if (r) return o.color(r) } { if (t.modifier) return; let r = Fe(t.value.value, ["number", "percentage"]); if (!r) return; switch (r) { case "number": return e.resolve(null, ["--spacing"]) && Qe(t.value.value) ? o.position(`--spacing(${t.value.value})`) : void 0; case "percentage": return Je(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"]) ? lt : [] }, { values: ["current", "inherit", "transparent"], valueThemeKeys: ["--background-color", "--color"], modifierThemeKeys: ["--opacity"], modifiers: Array.from({ length: 21 }, (e, t) => "" + 5 * t) }]) } let k = () => J([ct("--tw-mask-left", "linear-gradient(#fff, #fff)"), ct("--tw-mask-right", "linear-gradient(#fff, #fff)"), ct("--tw-mask-bottom", "linear-gradient(#fff, #fff)"), ct("--tw-mask-top", "linear-gradient(#fff, #fff)")]); function w(e, t, r) { v(e, { color(e) { let n = [g(), k(), Y("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), Y("mask-composite", "intersect"), Y("--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(Y(`--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(J([ct(`--tw-mask-${o}-from-position`, "0%"), ct(`--tw-mask-${o}-to-position`, "100%"), ct(`--tw-mask-${o}-from-color`, "black"), ct(`--tw-mask-${o}-to-color`, "transparent")])), n.push(Y(`--tw-mask-${o}-${t}-color`, e))); return n }, position(e) { let n = [g(), k(), Y("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), Y("mask-composite", "intersect"), Y("--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(Y(`--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(J([ct(`--tw-mask-${o}-from-position`, "0%"), ct(`--tw-mask-${o}-to-position`, "100%"), ct(`--tw-mask-${o}-from-color`, "black"), ct(`--tw-mask-${o}-to-color`, "transparent")])), n.push(Y(`--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 = () => J([ct("--tw-mask-linear-position", "0deg"), ct("--tw-mask-linear-from-position", "0%"), ct("--tw-mask-linear-to-position", "100%"), ct("--tw-mask-linear-from-color", "black"), ct("--tw-mask-linear-to-color", "transparent")]); o("mask-linear", { defaultValue: null, supportsNegative: !0, supportsFractions: !1, handleBareValue({ value: e }) { if (!Je(e)) return null; let t = Number(e); return 0 === t ? "0deg" : 1 === t ? "1deg" : `calc(1deg * ${e})` }, handleNegativeBareValue({ value: e }) { if (!Je(e)) return null; let t = Number(e); return 0 === t ? "0deg" : 1 === t ? "-1deg" : `calc(1deg * -${e})` }, handle: e => [g(), b(), Y("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), Y("mask-composite", "intersect"), Y("--tw-mask-linear", "linear-gradient(var(--tw-mask-linear-stops, var(--tw-mask-linear-position)))"), Y("--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(), Y("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), Y("mask-composite", "intersect"), Y("--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)"), Y("--tw-mask-linear", "linear-gradient(var(--tw-mask-linear-stops))"), Y("--tw-mask-linear-from-color", e)], position: e => [g(), b(), Y("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), Y("mask-composite", "intersect"), Y("--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)"), Y("--tw-mask-linear", "linear-gradient(var(--tw-mask-linear-stops))"), Y("--tw-mask-linear-from-position", e)] }), v("mask-linear-to", { color: e => [g(), b(), Y("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), Y("mask-composite", "intersect"), Y("--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)"), Y("--tw-mask-linear", "linear-gradient(var(--tw-mask-linear-stops))"), Y("--tw-mask-linear-to-color", e)], position: e => [g(), b(), Y("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), Y("mask-composite", "intersect"), Y("--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)"), Y("--tw-mask-linear", "linear-gradient(var(--tw-mask-linear-stops))"), Y("--tw-mask-linear-to-position", e)] }); let y = () => J([ct("--tw-mask-radial-from-position", "0%"), ct("--tw-mask-radial-to-position", "100%"), ct("--tw-mask-radial-from-color", "black"), ct("--tw-mask-radial-to-color", "transparent"), ct("--tw-mask-radial-shape", "ellipse"), ct("--tw-mask-radial-size", "farthest-corner"), ct("--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 => [Y("--tw-mask-radial-position", e)] }), o("mask-radial", { defaultValue: null, supportsNegative: !1, supportsFractions: !1, handle: e => [g(), y(), Y("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), Y("mask-composite", "intersect"), Y("--tw-mask-radial", "radial-gradient(var(--tw-mask-radial-stops, var(--tw-mask-radial-size)))"), Y("--tw-mask-radial-size", e)] }), v("mask-radial-from", { color: e => [g(), y(), Y("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), Y("mask-composite", "intersect"), Y("--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)"), Y("--tw-mask-radial", "radial-gradient(var(--tw-mask-radial-stops))"), Y("--tw-mask-radial-from-color", e)], position: e => [g(), y(), Y("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), Y("mask-composite", "intersect"), Y("--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)"), Y("--tw-mask-radial", "radial-gradient(var(--tw-mask-radial-stops))"), Y("--tw-mask-radial-from-position", e)] }), v("mask-radial-to", { color: e => [g(), y(), Y("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), Y("mask-composite", "intersect"), Y("--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)"), Y("--tw-mask-radial", "radial-gradient(var(--tw-mask-radial-stops))"), Y("--tw-mask-radial-to-color", e)], position: e => [g(), y(), Y("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), Y("mask-composite", "intersect"), Y("--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)"), Y("--tw-mask-radial", "radial-gradient(var(--tw-mask-radial-stops))"), Y("--tw-mask-radial-to-position", e)] }); let x = () => J([ct("--tw-mask-conic-position", "0deg"), ct("--tw-mask-conic-from-position", "0%"), ct("--tw-mask-conic-to-position", "100%"), ct("--tw-mask-conic-from-color", "black"), ct("--tw-mask-conic-to-color", "transparent")]); o("mask-conic", { defaultValue: null, supportsNegative: !0, supportsFractions: !1, handleBareValue({ value: e }) { if (!Je(e)) return null; let t = Number(e); return 0 === t ? "0deg" : 1 === t ? "1deg" : `calc(1deg * ${e})` }, handleNegativeBareValue({ value: e }) { if (!Je(e)) return null; let t = Number(e); return 0 === t ? "0deg" : 1 === t ? "-1deg" : `calc(1deg * -${e})` }, handle: e => [g(), x(), Y("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), Y("mask-composite", "intersect"), Y("--tw-mask-conic", "conic-gradient(var(--tw-mask-conic-stops, var(--tw-mask-conic-position)))"), Y("--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(), Y("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), Y("mask-composite", "intersect"), Y("--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)"), Y("--tw-mask-conic", "conic-gradient(var(--tw-mask-conic-stops))"), Y("--tw-mask-conic-from-color", e)], position: e => [g(), x(), Y("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), Y("mask-composite", "intersect"), Y("--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)"), Y("--tw-mask-conic", "conic-gradient(var(--tw-mask-conic-stops))"), Y("--tw-mask-conic-from-position", e)] }), v("mask-conic-to", { color: e => [g(), x(), Y("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), Y("mask-composite", "intersect"), Y("--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)"), Y("--tw-mask-conic", "conic-gradient(var(--tw-mask-conic-stops))"), Y("--tw-mask-conic-to-color", e)], position: e => [g(), x(), Y("mask-image", "var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"), Y("mask-composite", "intersect"), Y("--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)"), Y("--tw-mask-conic", "conic-gradient(var(--tw-mask-conic-stops))"), Y("--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 = ft(t.value.value, t.modifier, e); return null === r ? void 0 : [Y("fill", r)] } let r = pt(t, e, ["--fill", "--color"]); return r ? [Y("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 ?? Fe(r, ["color", "number", "length", "percentage"])) { case "number": case "length": case "percentage": return t.modifier ? void 0 : [Y("stroke-width", r)]; default: return r = ft(t.value.value, t.modifier, e), null === r ? void 0 : [Y("stroke", r)] } } { let r = pt(t, e, ["--stroke", "--color"]); if (r) return [Y("stroke", r)] } { let r = e.resolve(t.value.value, ["--stroke-width"]); if (r) return [Y("stroke-width", r)]; if (Je(t.value.value)) return [Y("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 => [Y("object-position", e)], staticValues: { top: [Y("object-position", "top")], "top-left": [Y("object-position", "left top")], "top-right": [Y("object-position", "right top")], bottom: [Y("object-position", "bottom")], "bottom-left": [Y("object-position", "left bottom")], "bottom-right": [Y("object-position", "right bottom")], left: [Y("object-position", "left")], right: [Y("object-position", "right")], center: [Y("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 => [Y(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 => [Y("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 => [Y("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 ?? Fe(e, ["number", "generic-name", "family-name"])) { case "generic-name": case "family-name": return [Y("font-family", e)]; default: return [J([ct("--tw-font-weight")]), Y("--tw-font-weight", e), Y("font-weight", e)] } } { let r = e.resolveWith(t.value.value, ["--font"], ["--font-feature-settings", "--font-variation-settings"]); if (r) { let [e, t = {}] = r; return [Y("font-family", e), Y("font-feature-settings", t["--font-feature-settings"]), Y("font-variation-settings", t["--font-variation-settings"])] } } { let r = e.resolve(t.value.value, ["--font-weight"]); if (r) return [J([ct("--tw-font-weight")]), Y("--tw-font-weight", r), Y("font-weight", r)] } } }), r("font", () => [{ values: [], valueThemeKeys: ["--font"] }, { values: [], valueThemeKeys: ["--font-weight"] }]), o("font-features", { themeKeys: [], handle: e => [Y("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 !Je(t) || Number.isNaN(t) || t < 50 || t > 200 ? null : e }, handle: e => [Y("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 => [q("&::placeholder", [Y("--tw-sort", "placeholder-color"), Y("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 ?? Fe(r, ["color", "length", "percentage"])) { case "length": case "percentage": return t.modifier ? void 0 : [Y("text-decoration-thickness", r)]; default: return r = ft(r, t.modifier, e), null === r ? void 0 : [Y("text-decoration-color", r)] } } { let r = e.resolve(t.value.value, ["--text-decoration-thickness"]); if (r) return t.modifier ? void 0 : [Y("text-decoration-thickness", r)]; if (Je(t.value.value)) return t.modifier ? void 0 : [Y("text-decoration-thickness", `${t.value.value}px`)] } { let r = pt(t, e, ["--text-decoration-color", "--color"]); if (r) return [Y("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 => [Y("animation", e)], staticValues: { none: [Y("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 = () => J([ct("--tw-blur"), ct("--tw-brightness"), ct("--tw-contrast"), ct("--tw-grayscale"), ct("--tw-hue-rotate"), ct("--tw-invert"), ct("--tw-opacity"), ct("--tw-saturate"), ct("--tw-sepia"), ct("--tw-drop-shadow"), ct("--tw-drop-shadow-color"), ct("--tw-drop-shadow-alpha", "100%", "<percentage>"), ct("--tw-drop-shadow-size")]), s = () => J([ct("--tw-backdrop-blur"), ct("--tw-backdrop-brightness"), ct("--tw-backdrop-contrast"), ct("--tw-backdrop-grayscale"), ct("--tw-backdrop-hue-rotate"), ct("--tw-backdrop-invert"), ct("--tw-backdrop-opacity"), ct("--tw-backdrop-saturate"), ct("--tw-backdrop-sepia")]); t.functional("filter", e => { if (!e.modifier) { if (null === e.value) return [l(), Y("filter", i)]; if ("arbitrary" === e.value.kind) return [Y("filter", e.value.value)]; if ("none" === e.value.value) return [Y("filter", "none")] } }), t.functional("backdrop-filter", e => { if (!e.modifier) { if (null === e.value) return [s(), Y("-webkit-backdrop-filter", a), Y("backdrop-filter", a)]; if ("arbitrary" === e.value.kind) return [Y("-webkit-backdrop-filter", e.value.value), Y("backdrop-filter", e.value.value)]; if ("none" === e.value.value) return [Y("-webkit-backdrop-filter", "none"), Y("backdrop-filter", "none")] } }), o("blur", { themeKeys: ["--blur"], handle: e => [l(), Y("--tw-blur", `blur(${e})`), Y("filter", i)], staticValues: { none: [l(), Y("--tw-blur", " "), Y("filter", i)] } }), o("backdrop-blur", { themeKeys: ["--backdrop-blur", "--blur"], handle: e => [s(), Y("--tw-backdrop-blur", `blur(${e})`), Y("-webkit-backdrop-filter", a), Y("backdrop-filter", a)], staticValues: { none: [s(), Y("--tw-backdrop-blur", " "), Y("-webkit-backdrop-filter", a), Y("backdrop-filter", a)] } }), o("brightness", { themeKeys: ["--brightness"], handleBareValue: ({ value: e }) => Je(e) ? `${e}%` : null, handle: e => [l(), Y("--tw-brightness", `brightness(${e})`), Y("filter", i)] }), o("backdrop-brightness", { themeKeys: ["--backdrop-brightness", "--brightness"], handleBareValue: ({ value: e }) => Je(e) ? `${e}%` : null, handle: e => [s(), Y("--tw-backdrop-brightness", `brightness(${e})`), Y("-webkit-backdrop-filter", a), Y("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 }) => Je(e) ? `${e}%` : null, handle: e => [l(), Y("--tw-contrast", `contrast(${e})`), Y("filter", i)] }), o("backdrop-contrast", { themeKeys: ["--backdrop-contrast", "--contrast"], handleBareValue: ({ value: e }) => Je(e) ? `${e}%` : null, handle: e => [s(), Y("--tw-backdrop-contrast", `contrast(${e})`), Y("-webkit-backdrop-filter", a), Y("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 }) => Je(e) ? `${e}%` : null, defaultValue: "100%", handle: e => [l(), Y("--tw-grayscale", `grayscale(${e})`), Y("filter", i)] }), o("backdrop-grayscale", { themeKeys: ["--backdrop-grayscale", "--grayscale"], handleBareValue: ({ value: e }) => Je(e) ? `${e}%` : null, defaultValue: "100%", handle: e => [s(), Y("--tw-backdrop-grayscale", `grayscale(${e})`), Y("-webkit-backdrop-filter", a), Y("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 }) => Je(e) ? `${e}deg` : null, handle: e => [l(), Y("--tw-hue-rotate", `hue-rotate(${e})`), Y("filter", i)] }), o("backdrop-hue-rotate", { supportsNegative: !0, themeKeys: ["--backdrop-hue-rotate", "--hue-rotate"], handleBareValue: ({ value: e }) => Je(e) ? `${e}deg` : null, handle: e => [s(), Y("--tw-backdrop-hue-rotate", `hue-rotate(${e})`), Y("-webkit-backdrop-filter", a), Y("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 }) => Je(e) ? `${e}%` : null, defaultValue: "100%", handle: e => [l(), Y("--tw-invert", `invert(${e})`), Y("filter", i)] }), o("backdrop-invert", { themeKeys: ["--backdrop-invert", "--invert"], handleBareValue: ({ value: e }) => Je(e) ? `${e}%` : null, defaultValue: "100%", handle: e => [s(), Y("--tw-backdrop-invert", `invert(${e})`), Y("-webkit-backdrop-filter", a), Y("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 }) => Je(e) ? `${e}%` : null, handle: e => [l(), Y("--tw-saturate", `saturate(${e})`), Y("filter", i)] }), o("backdrop-saturate", { themeKeys: ["--backdrop-saturate", "--saturate"], handleBareValue: ({ value: e }) => Je(e) ? `${e}%` : null, handle: e => [s(), Y("--tw-backdrop-saturate", `saturate(${e})`), Y("-webkit-backdrop-filter", a), Y("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 }) => Je(e) ? `${e}%` : null, defaultValue: "100%", handle: e => [l(), Y("--tw-sepia", `sepia(${e})`), Y("filter", i)] }), o("backdrop-sepia", { themeKeys: ["--backdrop-sepia", "--sepia"], handleBareValue: ({ value: e }) => Je(e) ? `${e}%` : null, defaultValue: "100%", handle: e => [s(), Y("--tw-backdrop-sepia", `sepia(${e})`), Y("-webkit-backdrop-filter", a), Y("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 : et(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(), Y("--tw-drop-shadow-alpha", r), ...wt("--tw-drop-shadow-size", t, r, e => `var(--tw-drop-shadow-color, ${e})`), Y("--tw-drop-shadow", V(n, ",").map(e => `drop-shadow(${e})`).join(" ")), Y("filter", i)] } if ("arbitrary" === t.value.kind) { let n = t.value.value; return "color" === (t.value.dataType ?? Fe(n, ["color"])) ? (n = ft(n, t.modifier, e), null === n ? void 0 : [l(), Y("--tw-drop-shadow-color", ut(n, "var(--tw-drop-shadow-alpha)")), Y("--tw-drop-shadow", "var(--tw-drop-shadow-size)")]) : t.modifier && !r ? void 0 : [l(), Y("--tw-drop-shadow-alpha", r), ...wt("--tw-drop-shadow-size", n, r, e => `var(--tw-drop-shadow-color, ${e})`), Y("--tw-drop-shadow", "var(--tw-drop-shadow-size)"), Y("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(), Y("--tw-drop-shadow-alpha", r), ...wt("--tw-drop-shadow-size", n, r, e => `var(--tw-drop-shadow-color, ${e})`), Y("--tw-drop-shadow", "var(--tw-drop-shadow-size)"), Y("filter", i)] : [l(), Y("--tw-drop-shadow-alpha", r), ...wt("--tw-drop-shadow-size", n, r, e => `var(--tw-drop-shadow-color, ${e})`), Y("--tw-drop-shadow", V(o, ",").map(e => `drop-shadow(${e})`).join(" ")), Y("filter", i)] } { let r = pt(t, e, ["--drop-shadow-color", "--color"]); if (r) return "inherit" === r ? [l(), Y("--tw-drop-shadow-color", "inherit"), Y("--tw-drop-shadow", "var(--tw-drop-shadow-size)")] : [l(), Y("--tw-drop-shadow-color", ut(r, "var(--tw-drop-shadow-alpha)")), Y("--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 }) => et(e) ? `${e}%` : null, handle: e => [s(), Y("--tw-backdrop-opacity", `opacity(${e})`), Y("-webkit-backdrop-filter", a), Y("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 => [Y("transition-property", e), Y("transition-timing-function", i), Y("transition-duration", a)], staticValues: { none: [Y("transition-property", "none")], all: [Y("transition-property", "all"), Y("transition-timing-function", i), Y("transition-duration", a)], colors: [Y("transition-property", "color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to"), Y("transition-timing-function", i), Y("transition-duration", a)], opacity: [Y("transition-property", "opacity"), Y("transition-timing-function", i), Y("transition-duration", a)], shadow: [Y("transition-property", "box-shadow"), Y("transition-timing-function", i), Y("transition-duration", a)], transform: [Y("transition-property", "transform, translate, scale, rotate"), Y("transition-timing-function", i), Y("transition-duration", a)] } }), n("transition-discrete", [["transition-behavior", "allow-discrete"]]), n("transition-normal", [["transition-behavior", "normal"]]), o("delay", { handleBareValue: ({ value: e }) => Je(e) ? `${e}ms` : null, themeKeys: ["--transition-delay"], handle: e => [Y("transition-delay", e)] }); { let r = () => J([ct("--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 && Je(t.value.value) && (n = `${t.value.value}ms`)), null !== n ? [r(), Y("--tw-duration", n), Y("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 = () => J([ct("--tw-ease")]); o("ease", { themeKeys: ["--ease"], handle: t => [e(), Y("--tw-ease", t), Y("transition-timing-function", t)], staticValues: { initial: [e(), Y("--tw-ease", "initial")], linear: [e(), Y("--tw-ease", "linear"), Y("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 => [Y("will-change", e)] }), n("content-none", [["--tw-content", "none"], ["content", "none"]]), o("content", { themeKeys: ["--content"], handle: e => [J([ct("--tw-content", '""')]), Y("--tw-content", e), Y("content", "var(--tw-content)")] }); { let e = "var(--tw-contain-size,) var(--tw-contain-layout,) var(--tw-contain-paint,) var(--tw-contain-style,)", t = () => J([ct("--tw-contain-size"), ct("--tw-contain-layout"), ct("--tw-contain-paint"), ct("--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 => [Y("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 => [J([ct("--tw-leading")]), Y("--tw-leading", e), Y("line-height", e)], { staticValues: { none: [J([ct("--tw-leading")]), Y("--tw-leading", "1"), Y("line-height", "1")] } }), o("tracking", { supportsNegative: !0, themeKeys: ["--tracking"], handle: e => [J([ct("--tw-tracking")]), Y("--tw-tracking", e), Y("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 = () => J([ct("--tw-ordinal"), ct("--tw-slashed-zero"), ct("--tw-numeric-figure"), ct("--tw-numeric-spacing"), ct("--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 = () => J([ct("--tw-outline-style", "solid")]); t.static("outline-hidden", () => [Y("--tw-outline-style", "none"), Y("outline-style", "none"), P("@media", "(forced-colors: active)", [Y("outline", "2px solid transparent"), Y("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(), Y("outline-style", "var(--tw-outline-style)"), Y("outline-width", r)] } if ("arbitrary" === t.value.kind) { let r = t.value.value; switch (t.value.dataType ?? Fe(r, ["color", "length", "number", "percentage"])) { case "length": case "number": case "percentage": return t.modifier ? void 0 : [i(), Y("outline-style", "var(--tw-outline-style)"), Y("outline-width", r)]; default: return r = ft(r, t.modifier, e), null === r ? void 0 : [Y("outline-color", r)] } } { let r = pt(t, e, ["--outline-color", "--color"]); if (r) return [Y("outline-color", r)] } { if (t.modifier) return; let r = e.resolve(t.value.value, ["--outline-width"]); if (r) return [i(), Y("outline-style", "var(--tw-outline-style)"), Y("outline-width", r)]; if (Je(t.value.value)) return [i(), Y("outline-style", "var(--tw-outline-style)"), Y("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 }) => Je(e) ? `${e}px` : null, handle: e => [Y("outline-offset", e)] }), r("outline-offset", () => [{ supportsNegative: !0, values: ["0", "1", "2", "4", "8"], valueThemeKeys: ["--outline-offset"] }]) } o("opacity", { themeKeys: ["--opacity"], handleBareValue: ({ value: e }) => et(e) ? `${e}%` : null, handle: e => [Y("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 }) => Je(e) ? `${e}px` : null, handle: e => [Y("text-underline-offset", e)], staticValues: { auto: [Y("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 ?? Fe(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 && Qe(t.modifier.value)) { if (!e.resolve(null, ["--spacing"])) return null; n = `--spacing(${t.modifier.value})` } return !n && "none" === t.modifier.value && (n = "1"), n ? [Y("font-size", r), Y("line-height", n)] : null } return [Y("font-size", r)]; default: return r = ft(r, t.modifier, e), null === r ? void 0 : [Y("color", r)] } } { let r = pt(t, e, ["--text-color", "--color"]); if (r) return [Y("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 && Qe(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 = [Y("font-size", n)]; return r && o.push(Y("line-height", r)), o } return "string" == typeof o ? [Y("font-size", n), Y("line-height", o)] : [Y("font-size", n), Y("line-height", o["--line-height"] ? `var(--tw-leading, ${o["--line-height"]})` : void 0), Y("letter-spacing", o["--letter-spacing"] ? `var(--tw-tracking, ${o["--letter-spacing"]})` : void 0), Y("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 $ = () => J([ct("--tw-text-shadow-color"), ct("--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 : et(t.modifier.value) && (r = `${t.modifier.value}%`)), !t.value) { let t = e.get(["--text-shadow"]); return null === t ? void 0 : [$(), Y("--tw-text-shadow-alpha", r), ...kt("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 ?? Fe(n, ["color"])) ? (n = ft(n, t.modifier, e), null === n ? void 0 : [$(), Y("--tw-text-shadow-color", ut(n, "var(--tw-text-shadow-alpha)"))]) : [$(), Y("--tw-text-shadow-alpha", r), ...kt("text-shadow", n, r, e => `var(--tw-text-shadow-color, ${e})`)] } switch (t.value.value) { case "none": return t.modifier ? void 0 : [$(), Y("text-shadow", "none")]; case "inherit": return t.modifier ? void 0 : [$(), Y("--tw-text-shadow-color", "inherit")] }{ let n = e.get([`--text-shadow-${t.value.value}`]); if (n) return [$(), Y("--tw-text-shadow-alpha", r), ...kt("text-shadow", n, r, e => `var(--tw-text-shadow-color, ${e})`)] } { let r = pt(t, e, ["--text-shadow-color", "--color"]); if (r) return [$(), Y("--tw-text-shadow-color", ut(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 = () => J([ct("--tw-shadow", l), ct("--tw-shadow-color"), ct("--tw-shadow-alpha", "100%", "<percentage>"), ct("--tw-inset-shadow", l), ct("--tw-inset-shadow-color"), ct("--tw-inset-shadow-alpha", "100%", "<percentage>"), ct("--tw-ring-color"), ct("--tw-ring-shadow", l), ct("--tw-inset-ring-color"), ct("--tw-inset-ring-shadow", l), ct("--tw-ring-inset"), ct("--tw-ring-offset-width", "0px", "<length>"), ct("--tw-ring-offset-color", "#fff"), ct("--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 : et(t.modifier.value) && (r = `${t.modifier.value}%`)), !t.value) { let t = e.get(["--shadow"]); return null === t ? void 0 : [s(), Y("--tw-shadow-alpha", r), ...kt("--tw-shadow", t, r, e => `var(--tw-shadow-color, ${e})`), Y("box-shadow", a)] } if ("arbitrary" === t.value.kind) { let n = t.value.value; return "color" === (t.value.dataType ?? Fe(n, ["color"])) ? (n = ft(n, t.modifier, e), null === n ? void 0 : [s(), Y("--tw-shadow-color", ut(n, "var(--tw-shadow-alpha)"))]) : [s(), Y("--tw-shadow-alpha", r), ...kt("--tw-shadow", n, r, e => `var(--tw-shadow-color, ${e})`), Y("box-shadow", a)] } switch (t.value.value) { case "none": return t.modifier ? void 0 : [s(), Y("--tw-shadow", l), Y("box-shadow", a)]; case "inherit": return t.modifier ? void 0 : [s(), Y("--tw-shadow-color", "inherit")] }{ let n = e.get([`--shadow-${t.value.value}`]); if (n) return [s(), Y("--tw-shadow-alpha", r), ...kt("--tw-shadow", n, r, e => `var(--tw-shadow-color, ${e})`), Y("box-shadow", a)] } { let r = pt(t, e, ["--box-shadow-color", "--color"]); if (r) return [s(), Y("--tw-shadow-color", ut(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 : et(t.modifier.value) && (r = `${t.modifier.value}%`)), !t.value) { let t = e.get(["--inset-shadow"]); return null === t ? void 0 : [s(), Y("--tw-inset-shadow-alpha", r), ...kt("--tw-inset-shadow", t, r, e => `var(--tw-inset-shadow-color, ${e})`), Y("box-shadow", a)] } if ("arbitrary" === t.value.kind) { let n = t.value.value; return "color" === (t.value.dataType ?? Fe(n, ["color"])) ? (n = ft(n, t.modifier, e), null === n ? void 0 : [s(), Y("--tw-inset-shadow-color", ut(n, "var(--tw-inset-shadow-alpha)"))]) : [s(), Y("--tw-inset-shadow-alpha", r), ...kt("--tw-inset-shadow", n, r, e => `var(--tw-inset-shadow-color, ${e})`, "inset"), Y("box-shadow", a)] } switch (t.value.value) { case "none": return t.modifier ? void 0 : [s(), Y("--tw-inset-shadow", `inset ${l}`), Y("box-shadow", a)]; case "inherit": return t.modifier ? void 0 : [s(), Y("--tw-inset-shadow-color", "inherit")] }{ let n = e.get([`--inset-shadow-${t.value.value}`]); if (n) return [s(), Y("--tw-inset-shadow-alpha", r), ...kt("--tw-inset-shadow", n, r, e => `var(--tw-inset-shadow-color, ${e})`), Y("box-shadow", a)] } { let r = pt(t, e, ["--box-shadow-color", "--color"]); if (r) return [s(), Y("--tw-inset-shadow-color", ut(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(), Y("--tw-ring-shadow", o(r)), Y("box-shadow", a)] } if ("arbitrary" === t.value.kind) { let r = t.value.value; return "length" === (t.value.dataType ?? Fe(r, ["color", "length"])) ? t.modifier ? void 0 : [s(), Y("--tw-ring-shadow", o(r)), Y("box-shadow", a)] : (r = ft(r, t.modifier, e), null === r ? void 0 : [Y("--tw-ring-color", r)]) } { let r = pt(t, e, ["--ring-color", "--color"]); if (r) return [Y("--tw-ring-color", r)] } { if (t.modifier) return; let r = e.resolve(t.value.value, ["--ring-width"]); if (null === r && Je(t.value.value) && (r = `${t.value.value}px`), r) return [s(), Y("--tw-ring-shadow", o(r)), Y("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(), Y("--tw-inset-ring-shadow", i("1px")), Y("box-shadow", a)]; if ("arbitrary" === t.value.kind) { let r = t.value.value; return "length" === (t.value.dataType ?? Fe(r, ["color", "length"])) ? t.modifier ? void 0 : [s(), Y("--tw-inset-ring-shadow", i(r)), Y("box-shadow", a)] : (r = ft(r, t.modifier, e), null === r ? void 0 : [Y("--tw-inset-ring-color", r)]) } { let r = pt(t, e, ["--ring-color", "--color"]); if (r) return [Y("--tw-inset-ring-color", r)] } { if (t.modifier) return; let r = e.resolve(t.value.value, ["--ring-width"]); if (null === r && Je(t.value.value) && (r = `${t.value.value}px`), r) return [s(), Y("--tw-inset-ring-shadow", i(r)), Y("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 ?? Fe(r, ["color", "length"])) ? t.modifier ? void 0 : [Y("--tw-ring-offset-width", r), Y("--tw-ring-offset-shadow", u)] : (r = ft(r, t.modifier, e), null === r ? void 0 : [Y("--tw-ring-offset-color", r)]) } { let r = e.resolve(t.value.value, ["--ring-offset-width"]); if (r) return t.modifier ? void 0 : [Y("--tw-ring-offset-width", r), Y("--tw-ring-offset-shadow", u)]; if (Je(t.value.value)) return t.modifier ? void 0 : [Y("--tw-ring-offset-width", `${t.value.value}px`), Y("--tw-ring-offset-shadow", u)] } { let r = pt(t, e, ["--ring-offset-color", "--color"]); if (r) return [Y("--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 ? [Y("container-type", t), Y("container-name", e.modifier.value)] : [Y("container-type", t)] }), r("@container", () => [{ values: ["normal"], valueThemeKeys: [], hasDefaultValue: !0 }]), t }(e), n = function (e) { let t = new Dt; function r(e, r, { compounds: n } = {}) { n = n ?? Lt(r), t.static(e, e => { e.nodes = r.map(t => H(t, e.nodes)) }, { compounds: n }) } function n(e, t) { return t.map(t => { if ("@container" === e) { let e = U(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), F(e)) : e.length >= 5 && "word" === e[0].kind && "word" === e[2].kind && "not" === e[2].value && "function" === e[4].kind ? (e.splice(2, 2), F(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" }), F(e)) : `not ${t}` } { let e = V(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 = V(e.params, ","); return r.length > 1 ? null : (r = n(e.name, r), P(e.name, r.join(", "))) } return null } function a(e) { return e.includes("::") ? null : `&:not(${V(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 L([e], (t, n) => { if ("rule" !== t.kind && "at-rule" !== t.kind) return D.Continue; if (t.nodes.length > 0) return D.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 D.Stop; if (l.length > 1) return D.Stop; let c = []; for (let e of l) { let t = a(e.selector); if (!t) return r = !1, D.Stop; c.push(q(t, [])) } for (let e of o) { let t = i(e); if (!t) return r = !1, D.Stop; c.push(t) } return Object.assign(e, q("&", c)), r = !0, D.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 L([t], (e, t) => { if ("rule" !== e.kind) return D.Continue; for (let e of t.path()) if ("rule" === e.kind) return o = !1, D.Stop; let r = e.selector.replaceAll("&", n); V(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 L([t], (e, t) => { if ("rule" !== e.kind) return D.Continue; for (let e of t.path()) if ("rule" === e.kind) return o = !1, D.Stop; let r = e.selector.replaceAll("&", n); V(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 J([P("@property", "--tw-content", [Y("syntax", '"*"'), Y("initial-value", '""'), Y("inherits", "false")])]) }; t.static("before", t => { t.nodes = [q("&::before", [e(), Y("content", "var(--tw-content)"), ...t.nodes])] }, { compounds: 0 }), t.static("after", t => { t.nodes = [q("&::after", [e(), Y("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 = [q("&:hover", [P("@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 L([e], (e, t) => { if ("rule" !== e.kind) return D.Continue; for (let e of t.path()) if ("rule" === e.kind) return r = !1, D.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 L([e], (e, t) => { if ("rule" !== e.kind) return D.Continue; for (let e of t.path()) if ("rule" === e.kind) return r = !1, D.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; if ("arbitrary" === t.value.kind) { let r = `[aria-${Bt(t.value.value)}]`; if (null === Ut(r)) return null; e.nodes = [q(`&${r}`, e.nodes)] } else { let r = `[aria-${t.value.value}="true"]`; if (null === Ut(r)) return null; e.nodes = [q(`&${r}`, 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; let r = `[data-${Bt(t.value.value)}]`; if (null === Ut(r)) return null; e.nodes = [q(`&${r}`, e.nodes)] }), t.functional("nth", (e, t) => { if (!t.value || t.modifier || "named" === t.value.kind && !Je(t.value.value)) return null; e.nodes = [q(`&:nth-child(${t.value.value})`, e.nodes)] }), t.functional("nth-last", (e, t) => { if (!t.value || t.modifier || "named" === t.value.kind && !Je(t.value.value)) return null; e.nodes = [q(`&:nth-last-child(${t.value.value})`, e.nodes)] }), t.functional("nth-of-type", (e, t) => { if (!t.value || t.modifier || "named" === t.value.kind && !Je(t.value.value)) return null; e.nodes = [q(`&: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 && !Je(t.value.value)) return null; e.nodes = [q(`&: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 = [P("@supports", t, e.nodes)]) } r.includes(":") || (r = `${r}: var(--tw)`), ("(" !== r[0] || ")" !== r[r.length - 1]) && (r = `(${r})`), e.nodes = [P("@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 : je(o, i, r) }; { let n = e.namespace("--breakpoint"), o = new j(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 = [P("@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 = [P("@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 = [P("@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 j(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 = [P("@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 = [P("@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 = [P("@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 j(e => function (e, t) { if ("[" === e[0] && "]" === e[e.length - 1]) { if ("@" === e[1] && e.includes("&")) return null; let t = ue(e.slice(1, -1)); if (!me(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] = V(e, "/"); if (o) return null; let i = ke(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 : ve(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 = ue(r.slice(1, -1)); return me(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 = ue(r.slice(1, -1)); return me(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 (!ge.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 : ve(n); return null !== n && null === i ? null : { kind: "compound", root: e, modifier: i, variant: o } } } } return null }(e, c)), i = new j(e => Array.from(function* (e, t) { let r = V(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] = V(n, "/"); if (s) return; let c, u = null === l ? null : ve(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 = ue(a.slice(r + 1)); if (!me(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 = V(n, ":"), i = null; if (2 === o.length && (i = o[0], n = o[1]), "-" !== n[0] || "-" !== n[1] || !me(n)) return; c = [[r, null === i ? `[var(${n})]` : `[${i}:var(${n})]`]] } else c = ke(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 = ue(r.slice(e + 1, -1)); if (!me(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 (!ge.test(r)) continue; n.value = { kind: "named", value: r, fraction: e } } } yield n } else yield n } } }(e, c))), a = new j(e => new j(t => { let r = function (e, t, r) { let n = function (e, t) { if ("arbitrary" === e.kind) { let r = e.value; return e.modifier && (r = ft(r, e.modifier, t.theme)), null === r ? [] : [[Y(e.property, r)]] } let r = t.utilities.get(e.root) ?? [], n = [], o = r.filter(e => !Yt(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 => Yt(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 = `.${z(e.raw)}`; for (let r of n) { let n = Gt(r); (e.important || o) && Zt(r); let l = { kind: "rule", selector: a, nodes: r }; for (let r of e.variants) if (null === Ht(l, r, t.variants)) return []; i.push({ node: l, propertySort: n }) } return i }(t, c, e); try { let e = r.map(e => e.node); Ot(e, c), _t(e, c) } catch { return [] } return r })), l = new j(t => { for (let r of _(t)) e.markUsedVariable(r) }); function s(e) { let r = []; for (let n of e) { let e = !0, { astNodes: o } = Pt([n], c, { onInvalidCandidate() { e = !1 } }); t && L(o, e => (e.src ??= t, D.Continue)), o = ee(o, c, 0), r.push(e ? o : []) } return r } let c = { theme: e, utilities: r, variants: n, invalidCandidates: new Set, important: !1, candidatesToCss: function (e) { return s(e).map(e => e.length > 0 ? ne(e) : null) }, candidatesToAst: s, getClassOrder(e) { return function (e, t) { let { astNodes: r, nodeSorting: n } = Pt(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(be(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 = Se(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}:${xe(r)}${i}` : n += `-${o}${xe(r)}${i}` } } else "named" === t.value.kind && (n += `-${t.value.value}`); return "arbitrary" === t.kind && (n += `[${t.property}:${xe(t.value)}]`), ("arbitrary" === t.kind || "functional" === t.kind) && (n += we(t.modifier)), t.important && (n += "!"), r.push(n), r.join(":") }(c, e), printVariant: e => be(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 ? ut(i, o) : i }, trackUsedVariables(e) { l.get(e) }, canonicalizeCandidates: (e, t) => [], storage: {} }; return c } var qt = ["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 Pt(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 Ht(e, t, r, n = 0) { if ("arbitrary" === t.kind) return t.relative && 0 === n ? null : void (e.nodes = [H(t.selector, e.nodes)]); let { applyFn: o } = r.get(t.root); if ("compound" === t.kind) { let i = P("@slot"); if (null === Ht(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 L(i.nodes, t => { if (("rule" === t.kind || "at-rule" === t.kind) && t.nodes.length <= 0) return t.nodes = e.nodes, D.Skip }), void (e.nodes = i.nodes) } return null === o(e, t) ? null : void 0 } function Yt(e) { let t = e.options?.types ?? []; return t.length > 1 && t.includes("any") } function Zt(e) { for (let t of e) "at-root" !== t.kind && ("declaration" === t.kind ? t.important = !0 : ("rule" === t.kind || "at-rule" === t.kind) && Zt(t.nodes)) } function Gt(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 = qt.indexOf(e.value ?? ""); if (-1 !== r) { t.add(r), o = !0; continue } } let n = qt.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 = H("&", e), o = new Set, i = new j(() => new Set), a = new j(() => new Set); L([n], (e, n) => { if ("at-rule" === e.kind) { if ("@keyframes" === e.name) return L(e.nodes, e => { if ("at-rule" === e.kind && "@apply" === e.name) throw new Error("You cannot use `@apply` inside `@keyframes`.") }), D.Skip; if ("@utility" === e.name) { let r = e.params.replace(/-\*$/, ""); return a.get(r).add(e), void L(e.nodes, r => { if ("at-rule" === r.kind && "@apply" === r.name) { o.add(e); for (let n of Xt(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 Xt(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 && L(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${ne([e])}\nRelies on:\n\n${ne([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 && L(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 D.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 = Pt(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 = V(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 = X(e), !o || !t || void 0 === i) return L([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, L([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 D.Replace(a) } }); return r } function* Xt(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 Qt(e, t, r, n = 0, o = !1) { let i = 0, a = []; return L(e, e => { if ("at-rule" === e.kind && ("@import" === e.name || "@reference" === e.name)) { let l = 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 ? F(a.nodes) : ""; continue } if ("function" === a.kind && "supports" === a.value.toLowerCase()) { if (o) return null; o = F(a.nodes); continue } n = F(e.slice(i)); break } } return t ? { uri: t, layer: r, media: n, supports: o } : null }(U(e.params)); if (null === l) return; "@reference" === e.name && (l.media = "reference"), i |= 2; let { uri: s, layer: c, media: u, supports: d } = l; if (s.startsWith("data:") || s.startsWith("http://") || s.startsWith("https://")) return; let f = G({}, []); return a.push((async () => { if (n > 100) throw new Error(`Exceeded maximum recursion depth while resolving \`${s}\` in \`${t}\`)`); let i = await r(s, t), a = b(i.content, { from: o ? i.path : void 0 }); await Qt(a, i.base, r, n + 1, o), f.nodes = function (e, t, r, n, o) { let i = t; if (null !== r) { let t = P("@layer", r, i); t.src = e.src, i = [t] } if (null !== n) { let t = P("@media", n, i); t.src = e.src, i = [t] } if (null !== o) { let t = P("@supports", "(" === o[0] ? o : `(${o})`, i); t.src = e.src, i = [t] } return i }(e, [G({ base: i.base }, a)], c, u, d) })()), D.ReplaceSkip(f) } }), a.length > 0 && await Promise.all(a), i } function er(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 tr(e, { theme: t }, r) { for (let t of r) { let r = ir([t]); r && e.theme.clearNamespace(`--${r}`, 4) } for (let [r, n] of function (e) { let t = []; return ar(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 = ir(r); t && e.theme.add(`--${t}`, "" + n, 7) } if (Object.hasOwn(t, "fontFamily")) { let r = 5; { let n = er(t.fontFamily.sans); n && e.theme.hasDefault("--font-sans") && (e.theme.add("--default-font-family", n, r), e.theme.add("--default-font-feature-settings", er(t.fontFamily.sans, "fontFeatureSettings") ?? "normal", r), e.theme.add("--default-font-variation-settings", er(t.fontFamily.sans, "fontVariationSettings") ?? "normal", r)) } { let n = er(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", er(t.fontFamily.mono, "fontFeatureSettings") ?? "normal", r), e.theme.add("--default-mono-font-variation-settings", er(t.fontFamily.mono, "fontVariationSettings") ?? "normal", r)) } } return t } var rr = { borderWidth: "border-width", outlineWidth: "outline-width", ringColor: "ring-color", ringWidth: "ring-width", transitionDuration: "transition-duration", transitionTimingFunction: "transition-timing-function" }, nr = { 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" }, or = /^[a-zA-Z0-9-_%/.]+$/; function ir(e) { let t = rr[e[0]]; if (t && "DEFAULT" === e[1]) return `default-${t}`; if ("container" === e[0]) return null; for (let t of e) if (!or.test(t)) return null; let r = nr[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 ar(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 === ar(o, i, r)) return 2 } } } function lr(e) { let t = []; for (let r of V(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 sr(e) { if ("[object Object]" !== Object.prototype.toString.call(e)) return !1; let t = Object.getPrototypeOf(e); return null === t || null === Object.getPrototypeOf(t) } function cr(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 : sr(e[t]) && sr(o[t]) ? e[t] = cr({}, [e[t], o[t]], r, n) : e[t] = o[t], n.pop() } return e } function ur(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 = lr(n), [i, a] = function (e, t) { if (1 === t.length && t[0].startsWith("--")) return [e.get([t[0]]), e.getOptions(t[0])]; let r = ir(t), n = new Map, o = new j(() => 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) fr(s, [e ?? "DEFAULT"], t); for (let [e, t] of a) fr(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(dr(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 = cr({}, [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 !== dr(e, t.split("-")) || (e[A(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 null !== i && "object" == typeof i && !Array.isArray(i) && "DEFAULT" in i ? i.DEFAULT : i ?? l })(); return a && "string" == typeof l && (l = ut(l, a)), l ?? o } } function dr(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 fr(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 pr = /^[a-z@][a-zA-Z0-9/%._-]*$/; function hr({ designSystem: e, ast: t, resolvedConfig: r, featuresRef: n, referenceMode: o, src: i }) { let a = { addBase(r) { if (o) return; let a = mr(r); n.current |= Ot(a, e); let l = P("@layer", "base", a); L([l], e => { e.src = i }), t.push(l) }, addVariant(t, r) { if (!Rt.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 = gr(r, e.nodes) }, { compounds: Lt("string" == typeof r ? [r] : r) }) : "object" == typeof r && e.variants.fromAst(t, mr(r), e) }, matchVariant(t, r, n) { function o(e, t, n) { return gr(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]) => V(e, ",").map(e => [e.trim(), t])); let l = new j(() => []); for (let [e, r] of a) { if (e.startsWith("@keyframes ")) { if (!o) { let n = H(e, mr(r)); L([n], e => { e.src = i }), t.push(n) } continue } let n = g(e), a = !1; if (L(n, e => { if ("selector" === e.kind && "." === e.value[0] && pr.test(e.value.slice(1))) { let t = e.value; e.value = "&"; let o = c(n), i = t.slice(1), s = "&" === o ? mr(r) : [H(o, mr(r))]; return l.get(i).push(...s), a = !0, void (e.value = t) } if ("function" === e.kind && (":not" === e.value || ":nth-child" === e.value || ":nth-last-child" === e.value)) return D.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 && L(r, t => { if ("rule" === t.kind) { let r = g(t.selector); L(r, t => { "selector" === t.kind && "." === t.value[0] && (t.value = `.${e.theme.prefix}\\:${t.value.slice(1)}`) }), t.selector = c(r) } }), e.utilities.static(t, o => { let i = r.map(X); return vr(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 && !Fe(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 = ut(u, s)), t && (u = `calc(${u} * -1)`); let f = mr(a(u, { modifier: s })); return vr(f, i, l.raw), n.current |= Jt(f, e), f } }; if (!pr.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: ur(e, () => r.theme ?? {}, e => e), prefix: e => e, config(e, t) { let n = r; if (!e) return n; let o = lr(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 mr(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(H(e, [P("@slot")])); continue } e = e.replace(/([A-Z])/g, "-$1").toLowerCase() } t.push(Y(e, String(n))) } else if (Array.isArray(n)) for (let r of n) "string" == typeof r ? t.push(Y(e, r)) : t.push(H(e, mr(r))); else t.push(H(e, mr(n))); return t } function gr(e, t) { return ("string" == typeof e ? [e] : e).flatMap(e => { if (e.trim().endsWith("}")) { let r = b(e.replace("}", "{@slot}}")); return Mt(r, t), r } return H(e, t) }) } function vr(e, t, r) { L(e, e => { if ("rule" === e.kind) { let n = g(e.selector); L(n, e => { "selector" === e.kind && e.value === `.${t}` && (e.value = `.${z(r)}`) }), e.selector = c(n) } }) } function kr(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(P("@keyframes", r, mr(n))); return t }(t)) e.theme.addKeyframes(r) } var wr = { 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 none)", 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 none)", 100: "oklch(97% 0 none)", 200: "oklch(92.2% 0 none)", 300: "oklch(87% 0 none)", 400: "oklch(70.8% 0 none)", 500: "oklch(55.6% 0 none)", 600: "oklch(43.9% 0 none)", 700: "oklch(37.1% 0 none)", 800: "oklch(26.9% 0 none)", 900: "oklch(20.5% 0 none)", 950: "oklch(14.5% 0 none)" }, 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 none)", 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 br(e) { return { __BARE_VALUE__: e } } var yr = br(e => { if (Je(e.value)) return e.value }), xr = br(e => { if (Je(e.value)) return `${e.value}%` }), $r = br(e => { if (Je(e.value)) return `${e.value}px` }), zr = br(e => { if (Je(e.value)) return `${e.value}ms` }), Ar = br(e => { if (Je(e.value)) return `${e.value}deg` }), Sr = br(e => { if (null === e.fraction) return; let [t, r] = V(e.fraction, "/"); return Je(t) && Je(r) ? e.fraction : void 0 }), Cr = br(e => { if (Je(Number(e.value))) return `repeat(${e.value}, minmax(0, 1fr))` }), Tr = { 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", ...Sr }, backdropBlur: ({ theme: e }) => e("blur"), backdropBrightness: ({ theme: e }) => ({ ...e("brightness"), ...xr }), backdropContrast: ({ theme: e }) => ({ ...e("contrast"), ...xr }), backdropGrayscale: ({ theme: e }) => ({ ...e("grayscale"), ...xr }), backdropHueRotate: ({ theme: e }) => ({ ...e("hueRotate"), ...Ar }), backdropInvert: ({ theme: e }) => ({ ...e("invert"), ...xr }), backdropOpacity: ({ theme: e }) => ({ ...e("opacity"), ...xr }), backdropSaturate: ({ theme: e }) => ({ ...e("saturate"), ...xr }), backdropSepia: ({ theme: e }) => ({ ...e("sepia"), ...xr }), 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", ...$r }, 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", ...xr }, caretColor: ({ theme: e }) => e("colors"), colors: () => ({ ...wr }), 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", ...yr }, container: {}, content: { none: "none" }, contrast: { 0: "0", 50: ".5", 75: ".75", 100: "1", 125: "1.25", 150: "1.5", 200: "2", ...xr }, 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"), ...$r }), 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", ...yr }, flexShrink: { 0: "0", DEFAULT: "1", ...yr }, fontFamily: { sans: ["-apple-system", "BlinkMacSystemFont", '"Segoe UI"', "Roboto", '"Helvetica Neue"', '"Noto Sans"', "Arial", "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%", ...xr }, grayscale: { 0: "0", DEFAULT: "100%", ...xr }, 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", ...yr }, 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", ...yr }, 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", ...yr }, 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", ...yr }, 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))", ...Cr }, 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))", ...Cr }, 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", ...Ar }, 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%", ...xr }, 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", ...yr }, 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", ...xr }, 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", ...yr }, outlineColor: ({ theme: e }) => e("colors"), outlineOffset: { 0: "0px", 1: "1px", 2: "2px", 4: "4px", 8: "8px", ...$r }, outlineWidth: { 0: "0px", 1: "1px", 2: "2px", 4: "4px", 8: "8px", ...$r }, 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", ...$r }, ringOpacity: ({ theme: e }) => ({ DEFAULT: "0.5", ...e("opacity") }), ringWidth: { DEFAULT: "3px", 0: "0px", 1: "1px", 2: "2px", 4: "4px", 8: "8px", ...$r }, rotate: { 0: "0deg", 1: "1deg", 2: "2deg", 3: "3deg", 6: "6deg", 12: "12deg", 45: "45deg", 90: "90deg", 180: "180deg", ...Ar }, saturate: { 0: "0", 50: ".5", 100: "1", 150: "1.5", 200: "2", ...xr }, 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", ...xr }, 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%", ...xr }, skew: { 0: "0deg", 1: "1deg", 2: "2deg", 3: "3deg", 6: "6deg", 12: "12deg", ...Ar }, 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", ...yr }, 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", ...$r }, textIndent: ({ theme: e }) => e("spacing"), textOpacity: ({ theme: e }) => e("opacity"), textUnderlineOffset: { auto: "auto", 0: "0px", 1: "1px", 2: "2px", 4: "4px", 8: "8px", ...$r }, 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", ...zr }, transitionDuration: { DEFAULT: "150ms", 0: "0s", 75: "75ms", 100: "100ms", 150: "150ms", 200: "200ms", 300: "300ms", 500: "500ms", 700: "700ms", 1e3: "1000ms", ...zr }, 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", ...yr } }; function jr(e) { return { theme: { ...Tr, 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 Kr = { blocklist: [], future: {}, experimental: {}, prefix: "", important: !1, darkMode: null, theme: {}, plugins: [], content: { files: [] } }; function Vr(e, t) { let r = { design: e, configs: [], plugins: [], content: { files: [] }, theme: {}, extend: {}, result: structuredClone(Kr) }; for (let e of t) Nr(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 = ur(e.design, () => e.theme, o), n = Object.assign(r, { theme: r, colors: wr }); 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] = () => cr({}, r.map(o), Er) } 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 Er(e, t) { return Array.isArray(e) && sr(e[0]) ? e.concat(t) : Array.isArray(t) && sr(t[0]) && sr(e) ? [e, ...t] : Array.isArray(t) ? t : void 0 } function Nr(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 ?? []) Nr(e, { path: n, base: r, config: a, reference: o, src: i }); for (let t of a) e.plugins.push(t), t.config && Nr(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 Or(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(Y("margin-inline", "auto")), ("string" == typeof t || "object" == typeof t && null !== t && "DEFAULT" in t) && o.push(Y("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) => je(e[1], t[1], "asc")), e.length > 0) { let [t] = e[0]; o.push(P("@media", `(width >= --theme(--breakpoint-${t}))`, [Y("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, P("@media", `(width >= ${t})`, [Y("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) => je(e[1], t[1], "asc")); for (let [t, , r] of e) if (i && i.has(t)) i.get(t).nodes.push(Y("padding-inline", r)); else { if (i) continue; o.push(P("@media", `(width >= theme(--breakpoint-${t}))`, [Y("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(X)) } function Fr({ 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 Ur(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 Wr = /^[a-z]+$/; async function Rr({ designSystem: e, base: t, ast: r, loadModule: n, sources: o }) { let i = 0, a = [], l = []; L(r, (e, t) => { if ("at-rule" !== e.kind) return; let r = Q(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${ne([t])}\n\n\`@plugin\` options must be a flat list of declarations.`); if (void 0 === t.value) continue; let e = V(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 \`${ne([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, D.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, D.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}`, () => [Y("--tw-gradient-position", `to ${r} in oklab`), Y("background-image", "linear-gradient(var(--tw-gradient-stops))")]); e.utilities.suggest("bg-left-top", () => []), e.utilities.static("bg-left-top", () => [Y("background-position", "left top")]), e.utilities.suggest("bg-right-top", () => []), e.utilities.static("bg-right-top", () => [Y("background-position", "right top")]), e.utilities.suggest("bg-left-bottom", () => []), e.utilities.static("bg-left-bottom", () => [Y("background-position", "left bottom")]), e.utilities.suggest("bg-right-bottom", () => []), e.utilities.static("bg-right-bottom", () => [Y("background-position", "right bottom")]), e.utilities.suggest("object-left-top", () => []), e.utilities.static("object-left-top", () => [Y("object-position", "left top")]), e.utilities.suggest("object-right-top", () => []), e.utilities.static("object-right-top", () => [Y("object-position", "right top")]), e.utilities.suggest("object-left-bottom", () => []), e.utilities.static("object-left-bottom", () => [Y("object-position", "left bottom")]), e.utilities.suggest("object-right-bottom", () => []), e.utilities.static("object-right-bottom", () => [Y("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 ? [Y("max-width", r)] : void 0 }), e.utilities.suggest("overflow-ellipsis", () => []), e.utilities.static("overflow-ellipsis", () => [Y("text-overflow", "ellipsis")]), e.utilities.suggest("decoration-slice", () => []), e.utilities.static("decoration-slice", () => [Y("-webkit-box-decoration-break", "slice"), Y("box-decoration-break", "slice")]), e.utilities.suggest("decoration-clone", () => []), e.utilities.static("decoration-clone", () => [Y("-webkit-box-decoration-break", "clone"), Y("box-decoration-break", "clone")]), e.utilities.suggest("flex-shrink", () => []), e.utilities.functional("flex-shrink", e => { if (!e.modifier) { if (!e.value) return [Y("flex-shrink", "1")]; if ("arbitrary" === e.value.kind) return [Y("flex-shrink", e.value.value)]; if (Je(e.value.value)) return [Y("flex-shrink", e.value.value)] } }), e.utilities.suggest("flex-grow", () => []), e.utilities.functional("flex-grow", e => { if (!e.modifier) { if (!e.value) return [Y("flex-grow", "1")]; if ("arbitrary" === e.value.kind) return [Y("flex-grow", e.value.value)]; if (Je(e.value.value)) return [Y("flex-grow", e.value.value)] } }), e.utilities.suggest("order-none", () => []), e.utilities.static("order-none", () => [Y("order", "0")]), e.utilities.suggest("break-words", () => []), e.utilities.static("break-words", () => [Y("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 [Y(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] = V(n.value.fraction, "/"); if (!Je(e) || !Je(t)) return; o = `calc(${n.value.fraction} * 100%)` } if (null === o && t) { let t = e.theme.resolve(null, ["--spacing"]); if (t && Qe(n.value.value) && (o = `calc(${t} * -${n.value.value})`, null !== o)) return [Y(r, o)] } if (null === o) { let t = e.theme.resolve(null, ["--spacing"]); t && Qe(n.value.value) && (o = `calc(${t} * ${n.value.value})`) } return null !== o ? [Y(r, t ? `calc(${o} * -1)` : o)] : void 0 } }; e.utilities.static(`${t}-auto`, () => [Y(r, "auto")]), e.utilities.static(`${t}-full`, () => [Y(r, "100%")]), e.utilities.static(`-${t}-full`, () => [Y(r, "-100%")]), e.utilities.static(`${t}-px`, () => [Y(r, "1px")]), e.utilities.static(`-${t}-px`, () => [Y(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 |= Dr({ 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 |= Dr({ designSystem: e, base: t, ast: r, sources: o, configs: c, pluginDetails: u }), i } function Dr({ 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 } = Vr(e, [{ config: jr(e.theme), base: t, reference: !0, src: void 0 }, ...l, { config: { plugins: [Fr] }, base: t, reference: !0, src: void 0 }]), { resolvedConfig: c, replacedThemeKeys: u } = Vr(e, l), d = { designSystem: e, ast: r, resolvedConfig: s, featuresRef: { set current(e) { a |= e } } }, f = hr({ ...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(hr({ ...d, referenceMode: t ?? !1, src: r })) } if (tr(e, c, u), kr(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 = [P("@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 = Ur(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), Or(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.`)), !Wr.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; L(r, (t, r) => { if ("at-rule" !== t.kind || "@tailwind" !== t.name || "utilities" !== t.params) return; let n = Q(r); return "rule" === n.parent?.kind && n.parent.selector === e ? D.Stop : D.ReplaceStop(q(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 Lr = /^(-?\d+)\.\.(-?\d+)(?:\.\.(-?\d+))?$/; function Br(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 Lr.test(e) }(s) ? function (e) { let t = e.match(Lr); 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) : V(s, ","), l = l.flatMap(e => Br(e)); let u = Br(c); for (let e of u) for (let t of l) r.push(n + t + e); return r } var Mr = /^[a-z]+$/; function _r() { throw new Error("No `loadModule` function provided to `compile`") } function Ir() { throw new Error("No `loadStylesheet` function provided to `compile`") } async function qr(e, { base: t = "", from: r, loadModule: n = _r, loadStylesheet: o = Ir } = {}) { let i = 0; e = [G({ base: t }, e)], i |= await Qt(e, t, o, 0, void 0 !== r); let a = null, l = new T, s = new Map, c = new Map, u = [], d = null, f = null, p = [], h = [], m = [], g = [], v = null; L(e, (e, t) => { if ("at-rule" !== e.kind) return; let r = Q(t); if ("@tailwind" === e.name && ("utilities" === e.params || e.params.startsWith("utilities"))) { if (null !== f) return D.Replace([]); if (r.context.reference) return D.Replace([]); let t = V(e.params, " "); for (let e of t) if (e.startsWith("source(")) { let t = e.slice(7, -1); if ("none" === t) { v = 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."); v = { base: r.context.sourceBase ?? r.context.base, pattern: t.slice(1, -1) } } f = 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 = gt(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.`) } u.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 ? g : m, r = V(i, " "); for (let t of r) for (let r of Br(t)) e.push(r) } else h.push({ base: r.context.base, pattern: i, negated: t }); return D.ReplaceSkip([]) } if ("@variant" === e.name && (null === r.parent ? 0 === e.nodes.length ? e.name = "@custom-variant" : (L(e.nodes, t => { if ("at-rule" === t.kind && "@slot" === t.name) return e.name = "@custom-variant", D.Stop }), "@variant" === e.name && p.push(e)) : p.push(e)), "@custom-variant" === e.name) { if (null !== r.parent) throw new Error("`@custom-variant` cannot be nested."); let [t, n] = V(e.params, " "); if (!Rt.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 = V(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); s.set(t, e => { e.variants.static(t, e => { let t = []; o.length > 0 && t.push(q(o.join(", "), e.nodes)); for (let n of r) t.push(H(n, e.nodes)); e.nodes = t }, { compounds: Lt([...o, ...r]) }) }), c.set(t, new Set) } else { let r = new Set; L(e.nodes, e => { "at-rule" === e.kind && "@variant" === e.name && r.add(e.params) }), s.set(t, r => { r.variants.fromAst(t, e.nodes, r) }), c.set(t, r) } return D.ReplaceSkip([]) } if ("@media" === e.name) { let t = V(e.params, " "), n = []; for (let o of t) if (o.startsWith("source(")) { let t = o.slice(7, -1); L(e.nodes, e => { if ("at-rule" === e.kind && "@tailwind" === e.name && "utilities" === e.params) return e.params += ` source(${t})`, D.ReplaceStop([G({ sourceBase: r.context.base }, [e])]) }) } else if (o.startsWith("theme(")) { let t = o.slice(6, -1), r = t.includes("reference"); L(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 D.Continue } if ("@theme" === e.name) return e.params += " " + t, D.Skip } }) } else if (o.startsWith("prefix(")) { let t = o.slice(7, -1); L(e.nodes, e => { if ("at-rule" === e.kind && "@theme" === e.name) return e.params += ` prefix(${t})`, D.Skip }) } else "important" === o ? a = !0 : "reference" === o ? e.nodes = [G({ reference: !0 }, e.nodes)] : n.push(o); if (n.length > 0) e.params = n.join(" "); else if (t.length > 0) return D.Replace(e.nodes); return D.Continue } if ("@theme" === e.name) { let [t, n] = function (e) { let t = 0, r = null; for (let n of V(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 (!Mr.test(n)) throw new Error(`The prefix "${n}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only.`); l.prefix = n } return L(e.nodes, r => { if ("at-rule" === r.kind && "@keyframes" === r.name) return l.addKeyframes(r), D.Skip; if ("comment" === r.kind) return; if ("declaration" === r.kind && r.property.startsWith("--")) return void l.add(A(r.property), r.value ?? "", t, r.src); let n = ne([P(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}`) }), d ? D.ReplaceSkip([]) : (d = q(":root, :host", []), d.src = e.src, D.ReplaceSkip(d)) } }); let k = It(l, f?.src); if (a && (k.important = a), g.length > 0) for (let e of g) k.invalidCandidates.add(e); i |= await Rr({ designSystem: k, base: t, ast: e, loadModule: n, sources: h }); for (let e of s.keys()) k.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 }(c, { onCircularDependency(e, t) { let r = ne(e.map((r, n) => P("@custom-variant", r, [P("@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}`) } })) s.get(e)?.(k); for (let e of u) e(k); if (d) { let t = []; for (let [e, r] of k.theme.entries()) { if (2 & r.options) continue; let n = Y(z(e), r.value); n.src = r.src, t.push(n) } let r = k.theme.getKeyframes(); for (let t of r) e.push(G({ theme: !0 }, [J([t])])); d.nodes = [G({ theme: !0 }, t)] } if (i |= _t(e, k), i |= Ot(e, k), i |= Jt(e, k), f) { let e = f; e.kind = "context", e.context = {} } return L(e, e => { if ("at-rule" === e.kind) return "@utility" === e.name ? D.Replace([]) : D.Skip }), { designSystem: k, ast: e, sources: h, root: v, utilitiesNode: f, features: i, inlineCandidates: m } } async function Pr(e, t = {}) { let r = b(e, { from: t.from }), n = await async function (e, t = {}) { let { designSystem: r, ast: n, sources: o, root: i, utilitiesNode: a, features: l, inlineCandidates: s } = await qr(e, t); function c(e) { r.invalidCandidates.add(e) } n.unshift(Z("! tailwindcss v4.3.3 | 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 ??= ee(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 ??= ee(n, r, t.polyfills), d; let m = Pt(u, r, { onInvalidCandidate: c }).astNodes; return t.from && L(m, e => { e.src ??= a.src }), s || f !== m.length ? (f = m.length, a.nodes = m, d = ee(n, r, t.polyfills), d) : (d ??= ee(n, r, t.polyfills), d) } } }(r, t), o = r, i = e; return { ...n, build(e) { let r = n.build(e); return r === o || (i = ne(r, !!t.from), o = r), i }, buildSourceMap: () => function ({ ast: e }) { let t = new j(e => v(e.code)), r = new j(e => ({ url: e.file, content: e.code, ignore: !1 })), n = { file: null, sources: [], mappings: [] }; L(e, e => { if (!e.src || !e.dst) return; let o = r.get(e.src[0]); if (!o.content) return; let i = t.get(e.src[0]), a = t.get(e.dst[0]), l = o.content.slice(e.src[1], e.src[2]), s = 0; for (let t of l.split("\n")) { if ("" !== t.trim()) { let t = i.find(e.src[1] + s), r = a.find(e.dst[1]); n.mappings.push({ name: null, originalPosition: { source: o, ...t }, generatedPosition: r }) } s += t.length, s += 1 } let c = i.find(e.src[2]), u = a.find(e.dst[2]); n.mappings.push({ name: null, originalPosition: { source: o, ...c }, generatedPosition: u }) }); for (let e of t.keys()) n.sources.push(r.get(e)); return n.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)), n }({ ast: o }) } } var Hr, Yr = { 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 -apple-system,\n BlinkMacSystemFont,\n 'Segoe UI',\n Roboto,\n 'Helvetica Neue',\n 'Noto Sans',\n Arial,\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:where(:not(iframe)) {\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 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', Arial,\n sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', '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 none);\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 none);\n --color-neutral-100: oklch(97% 0 none);\n --color-neutral-200: oklch(92.2% 0 none);\n --color-neutral-300: oklch(87% 0 none);\n --color-neutral-400: oklch(70.8% 0 none);\n --color-neutral-500: oklch(55.6% 0 none);\n --color-neutral-600: oklch(43.9% 0 none);\n --color-neutral-700: oklch(37.1% 0 none);\n --color-neutral-800: oklch(26.9% 0 none);\n --color-neutral-900: oklch(20.5% 0 none);\n --color-neutral-950: oklch(14.5% 0 none);\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 none);\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" }, Zr = "text/tailwindcss", Gr = new Set, Jr = "", Xr = document.createElement("style"), Qr = Promise.resolve(), en = 1, tn = 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 rn(e, t) { try { let r = function () { if ("tailwindcss" === e) return { path: "virtual:tailwindcss/index.css", base: t, content: Yr.index }; if ("tailwindcss/preflight" === e || "tailwindcss/preflight.css" === e || "./preflight.css" === e) return { path: "virtual:tailwindcss/preflight.css", base: t, content: Yr.preflight }; if ("tailwindcss/theme" === e || "tailwindcss/theme.css" === e || "./theme.css" === e) return { path: "virtual:tailwindcss/theme.css", base: t, content: Yr.theme }; if ("tailwindcss/utilities" === e || "tailwindcss/utilities.css" === e || "./utilities.css" === e) return { path: "virtual:tailwindcss/utilities.css", base: t, content: Yr.utilities }; throw new Error(`The browser build does not support @import for "${e}"`) }(); return tn.hit("Loaded stylesheet", { id: e, base: t, size: r.content.length }), r } catch (r) { throw tn.hit("Failed to load stylesheet", { id: e, base: t, error: r.message ?? r }), r } } async function nn() { throw new Error("The browser build does not support plugins or config files.") } function on(e) { Qr = Qr.then(async function () { if (!Hr && "full" !== e) return; let t = en++; tn.start(`Build #${t} (${e})`), "full" === e && await async function () { tn.start("Create compiler"), tn.start("Reading Stylesheets"); let e = document.querySelectorAll(`style[type="${Zr}"]`), t = ""; for (let r of e) ln(r), t += r.textContent + "\n"; if (t.includes("@import") || (t = `@import "tailwindcss";${t}`), tn.end("Reading Stylesheets", { size: t.length, changed: Jr !== t }), Jr !== t) { Jr = t, tn.start("Compile CSS"); try { Hr = await Pr(t, { base: "/", loadStylesheet: rn, loadModule: nn }) } finally { tn.end("Compile CSS"), tn.end("Create compiler") } Gr.clear() } }(), tn.start("Build"), await async function (e) { if (!Hr) return; let t = new Set; tn.start("Collect classes"); for (let e of document.querySelectorAll("[class]")) for (let r of e.classList) Gr.has(r) || (Gr.add(r), t.add(r)); tn.end("Collect classes", { count: t.size }), (0 !== t.size || "incremental" !== e) && (tn.start("Build utilities"), Xr.textContent = Hr.build(Array.from(t)), tn.end("Build utilities")) }(e), tn.end("Build"), tn.end(`Build #${t} (${e})`) }).catch(e => tn.error(e)) } var an = new MutationObserver(() => on("full")); function ln(e) { an.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") === Zr && (ln(e), t++); for (let e of n.addedNodes) 1 === e.nodeType && e !== Xr && r++; "attributes" === n.type && r++ } return t > 0 ? on("full") : r > 0 ? on("incremental") : void 0 }).observe(document.documentElement, { attributes: !0, attributeFilter: ["class"], childList: !0, subtree: !0 }), on("full"), document.head.append(Xr) })();
8
+ //# sourceMappingURL=/sm/5f190017688f2b30dd0d9c5814a6088d0d5d2545a106810773899534b4dbf033.map