tvuikit 0.2.1 → 0.3.1

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.
@@ -1,28 +1,29 @@
1
- import I, { Activity as ge, useState as Z, useRef as G, useEffect as pe } from "react";
2
- const ye = {
1
+ import Ye, { Activity as Ue, useState as Se, useRef as ve, useEffect as qe } from "react";
2
+ import { createPortal as Je } from "react-dom";
3
+ const He = {
3
4
  default: "#0A0A0A",
4
5
  component: "#00000065",
5
6
  smooth: "#111111"
6
- }, Q = {
7
+ }, Oe = {
7
8
  default: "#EDEDED",
8
9
  text: "#EDEDED",
9
10
  miniText: "#EDEDED40",
10
11
  card: "#27272780",
11
12
  component: "#272727"
12
- }, ee = {
13
- default: Q.default,
13
+ }, Ce = {
14
+ default: Oe.default,
14
15
  primary: "#2AFF6A",
15
16
  danger: "#FF0000",
16
17
  secondary: "#000000",
17
18
  tetriary: "#000000"
18
- }, me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19
+ }, Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19
20
  __proto__: null,
20
- BACKGROUND: ye,
21
- BUTTONS: ee,
22
- FOREGROUND: Q
21
+ BACKGROUND: He,
22
+ BUTTONS: Ce,
23
+ FOREGROUND: Oe
23
24
  }, Symbol.toStringTag, { value: "Module" }));
24
- var R = /* @__PURE__ */ ((a) => (a.h1 = "36px", a.h2 = "32px", a.h3 = "24px", a.h4 = "20px", a.h5 = "18px", a.base = "16px", a.mini = "14px", a))(R || {});
25
- const he = {
25
+ var F = /* @__PURE__ */ ((e) => (e.h1 = "36px", e.h2 = "32px", e.h3 = "24px", e.h4 = "20px", e.h5 = "18px", e.base = "16px", e.mini = "14px", e))(F || {});
26
+ const Ze = {
26
27
  h1: "36px",
27
28
  h2: "32px",
28
29
  h3: "24px",
@@ -31,330 +32,3099 @@ const he = {
31
32
  base: "16px",
32
33
  mini: "14px"
33
34
  /* mini */
34
- }, ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
35
+ }, Qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
35
36
  __proto__: null,
36
- FONT_SIZE: he,
37
- FontSize: R
38
- }, Symbol.toStringTag, { value: "Module" })), Ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
37
+ FONT_SIZE: Ze,
38
+ FontSize: F
39
+ }, Symbol.toStringTag, { value: "Module" })), ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
39
40
  __proto__: null,
40
- COLORS: me,
41
- FONTS: ve
41
+ COLORS: Xe,
42
+ FONTS: Qe
42
43
  }, Symbol.toStringTag, { value: "Module" }));
43
- var N = { exports: {} }, j = {};
44
- var V;
45
- function _e() {
46
- if (V) return j;
47
- V = 1;
48
- var a = /* @__PURE__ */ Symbol.for("react.transitional.element"), d = /* @__PURE__ */ Symbol.for("react.fragment");
49
- function f(c, l, p) {
50
- var y = null;
51
- if (p !== void 0 && (y = "" + p), l.key !== void 0 && (y = "" + l.key), "key" in l) {
52
- p = {};
53
- for (var h in l)
54
- h !== "key" && (p[h] = l[h]);
55
- } else p = l;
56
- return l = p.ref, {
57
- $$typeof: a,
58
- type: c,
59
- key: y,
60
- ref: l !== void 0 ? l : null,
61
- props: p
44
+ var de = { exports: {} }, ne = {};
45
+ var ye;
46
+ function Ke() {
47
+ if (ye) return ne;
48
+ ye = 1;
49
+ var e = /* @__PURE__ */ Symbol.for("react.transitional.element"), o = /* @__PURE__ */ Symbol.for("react.fragment");
50
+ function t(r, s, c) {
51
+ var a = null;
52
+ if (c !== void 0 && (a = "" + c), s.key !== void 0 && (a = "" + s.key), "key" in s) {
53
+ c = {};
54
+ for (var m in s)
55
+ m !== "key" && (c[m] = s[m]);
56
+ } else c = s;
57
+ return s = c.ref, {
58
+ $$typeof: e,
59
+ type: r,
60
+ key: a,
61
+ ref: s !== void 0 ? s : null,
62
+ props: c
62
63
  };
63
64
  }
64
- return j.Fragment = d, j.jsx = f, j.jsxs = f, j;
65
+ return ne.Fragment = o, ne.jsx = t, ne.jsxs = t, ne;
65
66
  }
66
- var D = {};
67
- var W;
68
- function be() {
69
- return W || (W = 1, process.env.NODE_ENV !== "production" && (function() {
70
- function a(t) {
71
- if (t == null) return null;
72
- if (typeof t == "function")
73
- return t.$$typeof === ue ? null : t.displayName || t.name || null;
74
- if (typeof t == "string") return t;
75
- switch (t) {
76
- case T:
67
+ var se = {};
68
+ var ke;
69
+ function er() {
70
+ return ke || (ke = 1, process.env.NODE_ENV !== "production" && (function() {
71
+ function e(n) {
72
+ if (n == null) return null;
73
+ if (typeof n == "function")
74
+ return n.$$typeof === le ? null : n.displayName || n.name || null;
75
+ if (typeof n == "string") return n;
76
+ switch (n) {
77
+ case R:
77
78
  return "Fragment";
78
- case te:
79
+ case J:
79
80
  return "Profiler";
80
- case re:
81
+ case N:
81
82
  return "StrictMode";
82
- case ie:
83
+ case z:
83
84
  return "Suspense";
84
- case se:
85
+ case Y:
85
86
  return "SuspenseList";
86
- case le:
87
+ case ie:
87
88
  return "Activity";
88
89
  }
89
- if (typeof t == "object")
90
- switch (typeof t.tag == "number" && console.error(
90
+ if (typeof n == "object")
91
+ switch (typeof n.tag == "number" && console.error(
91
92
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
92
- ), t.$$typeof) {
93
- case x:
93
+ ), n.$$typeof) {
94
+ case T:
94
95
  return "Portal";
95
- case ae:
96
- return t.displayName || "Context";
97
- case ne:
98
- return (t._context.displayName || "Context") + ".Consumer";
99
- case oe:
100
- var u = t.render;
101
- return t = t.displayName, t || (t = u.displayName || u.name || "", t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef"), t;
102
- case ce:
103
- return u = t.displayName || null, u !== null ? u : a(t.type) || "Memo";
104
- case k:
105
- u = t._payload, t = t._init;
96
+ case G:
97
+ return n.displayName || "Context";
98
+ case W:
99
+ return (n._context.displayName || "Context") + ".Consumer";
100
+ case L:
101
+ var b = n.render;
102
+ return n = n.displayName, n || (n = b.displayName || b.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
103
+ case f:
104
+ return b = n.displayName || null, b !== null ? b : e(n.type) || "Memo";
105
+ case S:
106
+ b = n._payload, n = n._init;
106
107
  try {
107
- return a(t(u));
108
+ return e(n(b));
108
109
  } catch {
109
110
  }
110
111
  }
111
112
  return null;
112
113
  }
113
- function d(t) {
114
- return "" + t;
114
+ function o(n) {
115
+ return "" + n;
115
116
  }
116
- function f(t) {
117
+ function t(n) {
117
118
  try {
118
- d(t);
119
- var u = !1;
119
+ o(n);
120
+ var b = !1;
120
121
  } catch {
121
- u = !0;
122
+ b = !0;
122
123
  }
123
- if (u) {
124
- u = console;
125
- var m = u.error, v = typeof Symbol == "function" && Symbol.toStringTag && t[Symbol.toStringTag] || t.constructor.name || "Object";
126
- return m.call(
127
- u,
124
+ if (b) {
125
+ b = console;
126
+ var x = b.error, y = typeof Symbol == "function" && Symbol.toStringTag && n[Symbol.toStringTag] || n.constructor.name || "Object";
127
+ return x.call(
128
+ b,
128
129
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
129
- v
130
- ), d(t);
130
+ y
131
+ ), o(n);
131
132
  }
132
133
  }
133
- function c(t) {
134
- if (t === T) return "<>";
135
- if (typeof t == "object" && t !== null && t.$$typeof === k)
134
+ function r(n) {
135
+ if (n === R) return "<>";
136
+ if (typeof n == "object" && n !== null && n.$$typeof === S)
136
137
  return "<...>";
137
138
  try {
138
- var u = a(t);
139
- return u ? "<" + u + ">" : "<...>";
139
+ var b = e(n);
140
+ return b ? "<" + b + ">" : "<...>";
140
141
  } catch {
141
142
  return "<...>";
142
143
  }
143
144
  }
144
- function l() {
145
- var t = P.A;
146
- return t === null ? null : t.getOwner();
145
+ function s() {
146
+ var n = $.A;
147
+ return n === null ? null : n.getOwner();
147
148
  }
148
- function p() {
149
+ function c() {
149
150
  return Error("react-stack-top-frame");
150
151
  }
151
- function y(t) {
152
- if (F.call(t, "key")) {
153
- var u = Object.getOwnPropertyDescriptor(t, "key").get;
154
- if (u && u.isReactWarning) return !1;
152
+ function a(n) {
153
+ if (ee.call(n, "key")) {
154
+ var b = Object.getOwnPropertyDescriptor(n, "key").get;
155
+ if (b && b.isReactWarning) return !1;
155
156
  }
156
- return t.key !== void 0;
157
+ return n.key !== void 0;
157
158
  }
158
- function h(t, u) {
159
- function m() {
160
- $ || ($ = !0, console.error(
159
+ function m(n, b) {
160
+ function x() {
161
+ O || (O = !0, console.error(
161
162
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
162
- u
163
+ b
163
164
  ));
164
165
  }
165
- m.isReactWarning = !0, Object.defineProperty(t, "key", {
166
- get: m,
166
+ x.isReactWarning = !0, Object.defineProperty(n, "key", {
167
+ get: x,
167
168
  configurable: !0
168
169
  });
169
170
  }
170
- function o() {
171
- var t = a(this.type);
172
- return U[t] || (U[t] = !0, console.error(
171
+ function d() {
172
+ var n = e(this.type);
173
+ return P[n] || (P[n] = !0, console.error(
173
174
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
174
- )), t = this.props.ref, t !== void 0 ? t : null;
175
+ )), n = this.props.ref, n !== void 0 ? n : null;
175
176
  }
176
- function r(t, u, m, v, w, C) {
177
- var _ = m.ref;
178
- return t = {
179
- $$typeof: b,
180
- type: t,
181
- key: u,
182
- props: m,
183
- _owner: v
184
- }, (_ !== void 0 ? _ : null) !== null ? Object.defineProperty(t, "ref", {
177
+ function g(n, b, x, y, I, H) {
178
+ var v = x.ref;
179
+ return n = {
180
+ $$typeof: A,
181
+ type: n,
182
+ key: b,
183
+ props: x,
184
+ _owner: y
185
+ }, (v !== void 0 ? v : null) !== null ? Object.defineProperty(n, "ref", {
185
186
  enumerable: !1,
186
- get: o
187
- }) : Object.defineProperty(t, "ref", { enumerable: !1, value: null }), t._store = {}, Object.defineProperty(t._store, "validated", {
187
+ get: d
188
+ }) : Object.defineProperty(n, "ref", { enumerable: !1, value: null }), n._store = {}, Object.defineProperty(n._store, "validated", {
188
189
  configurable: !1,
189
190
  enumerable: !1,
190
191
  writable: !0,
191
192
  value: 0
192
- }), Object.defineProperty(t, "_debugInfo", {
193
+ }), Object.defineProperty(n, "_debugInfo", {
193
194
  configurable: !1,
194
195
  enumerable: !1,
195
196
  writable: !0,
196
197
  value: null
197
- }), Object.defineProperty(t, "_debugStack", {
198
+ }), Object.defineProperty(n, "_debugStack", {
198
199
  configurable: !1,
199
200
  enumerable: !1,
200
201
  writable: !0,
201
- value: w
202
- }), Object.defineProperty(t, "_debugTask", {
202
+ value: I
203
+ }), Object.defineProperty(n, "_debugTask", {
203
204
  configurable: !1,
204
205
  enumerable: !1,
205
206
  writable: !0,
206
- value: C
207
- }), Object.freeze && (Object.freeze(t.props), Object.freeze(t)), t;
207
+ value: H
208
+ }), Object.freeze && (Object.freeze(n.props), Object.freeze(n)), n;
208
209
  }
209
- function g(t, u, m, v, w, C) {
210
- var _ = u.children;
211
- if (_ !== void 0)
212
- if (v)
213
- if (de(_)) {
214
- for (v = 0; v < _.length; v++)
215
- n(_[v]);
216
- Object.freeze && Object.freeze(_);
210
+ function w(n, b, x, y, I, H) {
211
+ var v = b.children;
212
+ if (v !== void 0)
213
+ if (y)
214
+ if (re(v)) {
215
+ for (y = 0; y < v.length; y++)
216
+ k(v[y]);
217
+ Object.freeze && Object.freeze(v);
217
218
  } else
218
219
  console.error(
219
220
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
220
221
  );
221
- else n(_);
222
- if (F.call(u, "key")) {
223
- _ = a(t);
224
- var S = Object.keys(u).filter(function(fe) {
225
- return fe !== "key";
222
+ else k(v);
223
+ if (ee.call(b, "key")) {
224
+ v = e(n);
225
+ var M = Object.keys(b).filter(function(X) {
226
+ return X !== "key";
226
227
  });
227
- v = 0 < S.length ? "{key: someKey, " + S.join(": ..., ") + ": ...}" : "{key: someKey}", B[_ + v] || (S = 0 < S.length ? "{" + S.join(": ..., ") + ": ...}" : "{}", console.error(
228
+ y = 0 < M.length ? "{key: someKey, " + M.join(": ..., ") + ": ...}" : "{key: someKey}", oe[v + y] || (M = 0 < M.length ? "{" + M.join(": ..., ") + ": ...}" : "{}", console.error(
228
229
  `A props object containing a "key" prop is being spread into JSX:
229
230
  let props = %s;
230
231
  <%s {...props} />
231
232
  React keys must be passed directly to JSX without using spread:
232
233
  let props = %s;
233
234
  <%s key={someKey} {...props} />`,
235
+ y,
234
236
  v,
235
- _,
236
- S,
237
- _
238
- ), B[_ + v] = !0);
237
+ M,
238
+ v
239
+ ), oe[v + y] = !0);
239
240
  }
240
- if (_ = null, m !== void 0 && (f(m), _ = "" + m), y(u) && (f(u.key), _ = "" + u.key), "key" in u) {
241
- m = {};
242
- for (var L in u)
243
- L !== "key" && (m[L] = u[L]);
244
- } else m = u;
245
- return _ && h(
246
- m,
247
- typeof t == "function" ? t.displayName || t.name || "Unknown" : t
248
- ), r(
249
- t,
250
- _,
251
- m,
252
- l(),
253
- w,
254
- C
241
+ if (v = null, x !== void 0 && (t(x), v = "" + x), a(b) && (t(b.key), v = "" + b.key), "key" in b) {
242
+ x = {};
243
+ for (var B in b)
244
+ B !== "key" && (x[B] = b[B]);
245
+ } else x = b;
246
+ return v && m(
247
+ x,
248
+ typeof n == "function" ? n.displayName || n.name || "Unknown" : n
249
+ ), g(
250
+ n,
251
+ v,
252
+ x,
253
+ s(),
254
+ I,
255
+ H
255
256
  );
256
257
  }
257
- function n(t) {
258
- e(t) ? t._store && (t._store.validated = 1) : typeof t == "object" && t !== null && t.$$typeof === k && (t._payload.status === "fulfilled" ? e(t._payload.value) && t._payload.value._store && (t._payload.value._store.validated = 1) : t._store && (t._store.validated = 1));
258
+ function k(n) {
259
+ E(n) ? n._store && (n._store.validated = 1) : typeof n == "object" && n !== null && n.$$typeof === S && (n._payload.status === "fulfilled" ? E(n._payload.value) && n._payload.value._store && (n._payload.value._store.validated = 1) : n._store && (n._store.validated = 1));
259
260
  }
260
- function e(t) {
261
- return typeof t == "object" && t !== null && t.$$typeof === b;
261
+ function E(n) {
262
+ return typeof n == "object" && n !== null && n.$$typeof === A;
262
263
  }
263
- var i = I, b = /* @__PURE__ */ Symbol.for("react.transitional.element"), x = /* @__PURE__ */ Symbol.for("react.portal"), T = /* @__PURE__ */ Symbol.for("react.fragment"), re = /* @__PURE__ */ Symbol.for("react.strict_mode"), te = /* @__PURE__ */ Symbol.for("react.profiler"), ne = /* @__PURE__ */ Symbol.for("react.consumer"), ae = /* @__PURE__ */ Symbol.for("react.context"), oe = /* @__PURE__ */ Symbol.for("react.forward_ref"), ie = /* @__PURE__ */ Symbol.for("react.suspense"), se = /* @__PURE__ */ Symbol.for("react.suspense_list"), ce = /* @__PURE__ */ Symbol.for("react.memo"), k = /* @__PURE__ */ Symbol.for("react.lazy"), le = /* @__PURE__ */ Symbol.for("react.activity"), ue = /* @__PURE__ */ Symbol.for("react.client.reference"), P = i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, F = Object.prototype.hasOwnProperty, de = Array.isArray, M = console.createTask ? console.createTask : function() {
264
+ var _ = Ye, A = /* @__PURE__ */ Symbol.for("react.transitional.element"), T = /* @__PURE__ */ Symbol.for("react.portal"), R = /* @__PURE__ */ Symbol.for("react.fragment"), N = /* @__PURE__ */ Symbol.for("react.strict_mode"), J = /* @__PURE__ */ Symbol.for("react.profiler"), W = /* @__PURE__ */ Symbol.for("react.consumer"), G = /* @__PURE__ */ Symbol.for("react.context"), L = /* @__PURE__ */ Symbol.for("react.forward_ref"), z = /* @__PURE__ */ Symbol.for("react.suspense"), Y = /* @__PURE__ */ Symbol.for("react.suspense_list"), f = /* @__PURE__ */ Symbol.for("react.memo"), S = /* @__PURE__ */ Symbol.for("react.lazy"), ie = /* @__PURE__ */ Symbol.for("react.activity"), le = /* @__PURE__ */ Symbol.for("react.client.reference"), $ = _.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ee = Object.prototype.hasOwnProperty, re = Array.isArray, C = console.createTask ? console.createTask : function() {
264
265
  return null;
265
266
  };
266
- i = {
267
- react_stack_bottom_frame: function(t) {
268
- return t();
267
+ _ = {
268
+ react_stack_bottom_frame: function(n) {
269
+ return n();
269
270
  }
270
271
  };
271
- var $, U = {}, Y = i.react_stack_bottom_frame.bind(
272
- i,
273
- p
274
- )(), H = M(c(p)), B = {};
275
- D.Fragment = T, D.jsx = function(t, u, m) {
276
- var v = 1e4 > P.recentlyCreatedOwnerStacks++;
277
- return g(
278
- t,
279
- u,
280
- m,
272
+ var O, P = {}, u = _.react_stack_bottom_frame.bind(
273
+ _,
274
+ c
275
+ )(), te = C(r(c)), oe = {};
276
+ se.Fragment = R, se.jsx = function(n, b, x) {
277
+ var y = 1e4 > $.recentlyCreatedOwnerStacks++;
278
+ return w(
279
+ n,
280
+ b,
281
+ x,
281
282
  !1,
282
- v ? Error("react-stack-top-frame") : Y,
283
- v ? M(c(t)) : H
283
+ y ? Error("react-stack-top-frame") : u,
284
+ y ? C(r(n)) : te
284
285
  );
285
- }, D.jsxs = function(t, u, m) {
286
- var v = 1e4 > P.recentlyCreatedOwnerStacks++;
287
- return g(
288
- t,
289
- u,
290
- m,
286
+ }, se.jsxs = function(n, b, x) {
287
+ var y = 1e4 > $.recentlyCreatedOwnerStacks++;
288
+ return w(
289
+ n,
290
+ b,
291
+ x,
291
292
  !0,
292
- v ? Error("react-stack-top-frame") : Y,
293
- v ? M(c(t)) : H
293
+ y ? Error("react-stack-top-frame") : u,
294
+ y ? C(r(n)) : te
294
295
  );
295
296
  };
296
- })()), D;
297
+ })()), se;
297
298
  }
298
- var q;
299
- function Oe() {
300
- return q || (q = 1, process.env.NODE_ENV === "production" ? N.exports = _e() : N.exports = be()), N.exports;
299
+ var we;
300
+ function rr() {
301
+ return we || (we = 1, process.env.NODE_ENV === "production" ? de.exports = Ke() : de.exports = er()), de.exports;
301
302
  }
302
- var s = Oe();
303
- const Fe = ({ actived: a, children: d, name: f }) => /* @__PURE__ */ s.jsx(ge, { name: f, mode: a ? "visible" : "hidden", children: d }), $e = ({
304
- style: a,
305
- imageVar: d,
306
- className: f = "",
307
- ...c
303
+ var p = rr();
304
+ const nt = ({ actived: e, children: o, name: t }) => /* @__PURE__ */ p.jsx(Ue, { name: t, mode: e ? "visible" : "hidden", children: o });
305
+ function Pe(e) {
306
+ var o, t, r = "";
307
+ if (typeof e == "string" || typeof e == "number") r += e;
308
+ else if (typeof e == "object") if (Array.isArray(e)) {
309
+ var s = e.length;
310
+ for (o = 0; o < s; o++) e[o] && (t = Pe(e[o])) && (r && (r += " "), r += t);
311
+ } else for (t in e) e[t] && (r && (r += " "), r += t);
312
+ return r;
313
+ }
314
+ function tr() {
315
+ for (var e, o, t = 0, r = "", s = arguments.length; t < s; t++) (e = arguments[t]) && (o = Pe(e)) && (r && (r += " "), r += o);
316
+ return r;
317
+ }
318
+ const or = (e, o) => {
319
+ const t = new Array(e.length + o.length);
320
+ for (let r = 0; r < e.length; r++)
321
+ t[r] = e[r];
322
+ for (let r = 0; r < o.length; r++)
323
+ t[e.length + r] = o[r];
324
+ return t;
325
+ }, nr = (e, o) => ({
326
+ classGroupId: e,
327
+ validator: o
328
+ }), Ne = (e = /* @__PURE__ */ new Map(), o = null, t) => ({
329
+ nextPart: e,
330
+ validators: o,
331
+ classGroupId: t
332
+ }), pe = "-", Ee = [], sr = "arbitrary..", ar = (e) => {
333
+ const o = lr(e), {
334
+ conflictingClassGroups: t,
335
+ conflictingClassGroupModifiers: r
336
+ } = e;
337
+ return {
338
+ getClassGroupId: (a) => {
339
+ if (a.startsWith("[") && a.endsWith("]"))
340
+ return ir(a);
341
+ const m = a.split(pe), d = m[0] === "" && m.length > 1 ? 1 : 0;
342
+ return ze(m, d, o);
343
+ },
344
+ getConflictingClassGroupIds: (a, m) => {
345
+ if (m) {
346
+ const d = r[a], g = t[a];
347
+ return d ? g ? or(g, d) : d : g || Ee;
348
+ }
349
+ return t[a] || Ee;
350
+ }
351
+ };
352
+ }, ze = (e, o, t) => {
353
+ if (e.length - o === 0)
354
+ return t.classGroupId;
355
+ const s = e[o], c = t.nextPart.get(s);
356
+ if (c) {
357
+ const g = ze(e, o + 1, c);
358
+ if (g) return g;
359
+ }
360
+ const a = t.validators;
361
+ if (a === null)
362
+ return;
363
+ const m = o === 0 ? e.join(pe) : e.slice(o).join(pe), d = a.length;
364
+ for (let g = 0; g < d; g++) {
365
+ const w = a[g];
366
+ if (w.validator(m))
367
+ return w.classGroupId;
368
+ }
369
+ }, ir = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
370
+ const o = e.slice(1, -1), t = o.indexOf(":"), r = o.slice(0, t);
371
+ return r ? sr + r : void 0;
372
+ })(), lr = (e) => {
373
+ const {
374
+ theme: o,
375
+ classGroups: t
376
+ } = e;
377
+ return cr(t, o);
378
+ }, cr = (e, o) => {
379
+ const t = Ne();
380
+ for (const r in e) {
381
+ const s = e[r];
382
+ xe(s, t, r, o);
383
+ }
384
+ return t;
385
+ }, xe = (e, o, t, r) => {
386
+ const s = e.length;
387
+ for (let c = 0; c < s; c++) {
388
+ const a = e[c];
389
+ dr(a, o, t, r);
390
+ }
391
+ }, dr = (e, o, t, r) => {
392
+ if (typeof e == "string") {
393
+ ur(e, o, t);
394
+ return;
395
+ }
396
+ if (typeof e == "function") {
397
+ mr(e, o, t, r);
398
+ return;
399
+ }
400
+ pr(e, o, t, r);
401
+ }, ur = (e, o, t) => {
402
+ const r = e === "" ? o : Ie(o, e);
403
+ r.classGroupId = t;
404
+ }, mr = (e, o, t, r) => {
405
+ if (fr(e)) {
406
+ xe(e(r), o, t, r);
407
+ return;
408
+ }
409
+ o.validators === null && (o.validators = []), o.validators.push(nr(t, e));
410
+ }, pr = (e, o, t, r) => {
411
+ const s = Object.entries(e), c = s.length;
412
+ for (let a = 0; a < c; a++) {
413
+ const [m, d] = s[a];
414
+ xe(d, Ie(o, m), t, r);
415
+ }
416
+ }, Ie = (e, o) => {
417
+ let t = e;
418
+ const r = o.split(pe), s = r.length;
419
+ for (let c = 0; c < s; c++) {
420
+ const a = r[c];
421
+ let m = t.nextPart.get(a);
422
+ m || (m = Ne(), t.nextPart.set(a, m)), t = m;
423
+ }
424
+ return t;
425
+ }, fr = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, br = (e) => {
426
+ if (e < 1)
427
+ return {
428
+ get: () => {
429
+ },
430
+ set: () => {
431
+ }
432
+ };
433
+ let o = 0, t = /* @__PURE__ */ Object.create(null), r = /* @__PURE__ */ Object.create(null);
434
+ const s = (c, a) => {
435
+ t[c] = a, o++, o > e && (o = 0, r = t, t = /* @__PURE__ */ Object.create(null));
436
+ };
437
+ return {
438
+ get(c) {
439
+ let a = t[c];
440
+ if (a !== void 0)
441
+ return a;
442
+ if ((a = r[c]) !== void 0)
443
+ return s(c, a), a;
444
+ },
445
+ set(c, a) {
446
+ c in t ? t[c] = a : s(c, a);
447
+ }
448
+ };
449
+ }, he = "!", Re = ":", gr = [], je = (e, o, t, r, s) => ({
450
+ modifiers: e,
451
+ hasImportantModifier: o,
452
+ baseClassName: t,
453
+ maybePostfixModifierPosition: r,
454
+ isExternal: s
455
+ }), hr = (e) => {
456
+ const {
457
+ prefix: o,
458
+ experimentalParseClassName: t
459
+ } = e;
460
+ let r = (s) => {
461
+ const c = [];
462
+ let a = 0, m = 0, d = 0, g;
463
+ const w = s.length;
464
+ for (let T = 0; T < w; T++) {
465
+ const R = s[T];
466
+ if (a === 0 && m === 0) {
467
+ if (R === Re) {
468
+ c.push(s.slice(d, T)), d = T + 1;
469
+ continue;
470
+ }
471
+ if (R === "/") {
472
+ g = T;
473
+ continue;
474
+ }
475
+ }
476
+ R === "[" ? a++ : R === "]" ? a-- : R === "(" ? m++ : R === ")" && m--;
477
+ }
478
+ const k = c.length === 0 ? s : s.slice(d);
479
+ let E = k, _ = !1;
480
+ k.endsWith(he) ? (E = k.slice(0, -1), _ = !0) : (
481
+ /**
482
+ * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
483
+ * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
484
+ */
485
+ k.startsWith(he) && (E = k.slice(1), _ = !0)
486
+ );
487
+ const A = g && g > d ? g - d : void 0;
488
+ return je(c, _, E, A);
489
+ };
490
+ if (o) {
491
+ const s = o + Re, c = r;
492
+ r = (a) => a.startsWith(s) ? c(a.slice(s.length)) : je(gr, !1, a, void 0, !0);
493
+ }
494
+ if (t) {
495
+ const s = r;
496
+ r = (c) => t({
497
+ className: c,
498
+ parseClassName: s
499
+ });
500
+ }
501
+ return r;
502
+ }, xr = (e) => {
503
+ const o = /* @__PURE__ */ new Map();
504
+ return e.orderSensitiveModifiers.forEach((t, r) => {
505
+ o.set(t, 1e6 + r);
506
+ }), (t) => {
507
+ const r = [];
508
+ let s = [];
509
+ for (let c = 0; c < t.length; c++) {
510
+ const a = t[c], m = a[0] === "[", d = o.has(a);
511
+ m || d ? (s.length > 0 && (s.sort(), r.push(...s), s = []), r.push(a)) : s.push(a);
512
+ }
513
+ return s.length > 0 && (s.sort(), r.push(...s)), r;
514
+ };
515
+ }, vr = (e) => ({
516
+ cache: br(e.cacheSize),
517
+ parseClassName: hr(e),
518
+ sortModifiers: xr(e),
519
+ ...ar(e)
520
+ }), yr = /\s+/, kr = (e, o) => {
521
+ const {
522
+ parseClassName: t,
523
+ getClassGroupId: r,
524
+ getConflictingClassGroupIds: s,
525
+ sortModifiers: c
526
+ } = o, a = [], m = e.trim().split(yr);
527
+ let d = "";
528
+ for (let g = m.length - 1; g >= 0; g -= 1) {
529
+ const w = m[g], {
530
+ isExternal: k,
531
+ modifiers: E,
532
+ hasImportantModifier: _,
533
+ baseClassName: A,
534
+ maybePostfixModifierPosition: T
535
+ } = t(w);
536
+ if (k) {
537
+ d = w + (d.length > 0 ? " " + d : d);
538
+ continue;
539
+ }
540
+ let R = !!T, N = r(R ? A.substring(0, T) : A);
541
+ if (!N) {
542
+ if (!R) {
543
+ d = w + (d.length > 0 ? " " + d : d);
544
+ continue;
545
+ }
546
+ if (N = r(A), !N) {
547
+ d = w + (d.length > 0 ? " " + d : d);
548
+ continue;
549
+ }
550
+ R = !1;
551
+ }
552
+ const J = E.length === 0 ? "" : E.length === 1 ? E[0] : c(E).join(":"), W = _ ? J + he : J, G = W + N;
553
+ if (a.indexOf(G) > -1)
554
+ continue;
555
+ a.push(G);
556
+ const L = s(N, R);
557
+ for (let z = 0; z < L.length; ++z) {
558
+ const Y = L[z];
559
+ a.push(W + Y);
560
+ }
561
+ d = w + (d.length > 0 ? " " + d : d);
562
+ }
563
+ return d;
564
+ }, wr = (...e) => {
565
+ let o = 0, t, r, s = "";
566
+ for (; o < e.length; )
567
+ (t = e[o++]) && (r = Me(t)) && (s && (s += " "), s += r);
568
+ return s;
569
+ }, Me = (e) => {
570
+ if (typeof e == "string")
571
+ return e;
572
+ let o, t = "";
573
+ for (let r = 0; r < e.length; r++)
574
+ e[r] && (o = Me(e[r])) && (t && (t += " "), t += o);
575
+ return t;
576
+ }, Er = (e, ...o) => {
577
+ let t, r, s, c;
578
+ const a = (d) => {
579
+ const g = o.reduce((w, k) => k(w), e());
580
+ return t = vr(g), r = t.cache.get, s = t.cache.set, c = m, m(d);
581
+ }, m = (d) => {
582
+ const g = r(d);
583
+ if (g)
584
+ return g;
585
+ const w = kr(d, t);
586
+ return s(d, w), w;
587
+ };
588
+ return c = a, (...d) => c(wr(...d));
589
+ }, Rr = [], j = (e) => {
590
+ const o = (t) => t[e] || Rr;
591
+ return o.isThemeGetter = !0, o;
592
+ }, De = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Fe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, jr = /^\d+\/\d+$/, _r = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Tr = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Ar = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Sr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Or = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Z = (e) => jr.test(e), h = (e) => !!e && !Number.isNaN(Number(e)), V = (e) => !!e && Number.isInteger(Number(e)), be = (e) => e.endsWith("%") && h(e.slice(0, -1)), D = (e) => _r.test(e), Cr = () => !0, Pr = (e) => (
593
+ // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
594
+ // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
595
+ // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
596
+ Tr.test(e) && !Ar.test(e)
597
+ ), Ge = () => !1, Nr = (e) => Sr.test(e), zr = (e) => Or.test(e), Ir = (e) => !i(e) && !l(e), Mr = (e) => Q(e, Be, Ge), i = (e) => De.test(e), U = (e) => Q(e, Ve, Pr), ge = (e) => Q(e, $r, h), _e = (e) => Q(e, Le, Ge), Dr = (e) => Q(e, $e, zr), ue = (e) => Q(e, We, Nr), l = (e) => Fe.test(e), ae = (e) => K(e, Ve), Fr = (e) => K(e, Br), Te = (e) => K(e, Le), Gr = (e) => K(e, Be), Lr = (e) => K(e, $e), me = (e) => K(e, We, !0), Q = (e, o, t) => {
598
+ const r = De.exec(e);
599
+ return r ? r[1] ? o(r[1]) : t(r[2]) : !1;
600
+ }, K = (e, o, t = !1) => {
601
+ const r = Fe.exec(e);
602
+ return r ? r[1] ? o(r[1]) : t : !1;
603
+ }, Le = (e) => e === "position" || e === "percentage", $e = (e) => e === "image" || e === "url", Be = (e) => e === "length" || e === "size" || e === "bg-size", Ve = (e) => e === "length", $r = (e) => e === "number", Br = (e) => e === "family-name", We = (e) => e === "shadow", Vr = () => {
604
+ const e = j("color"), o = j("font"), t = j("text"), r = j("font-weight"), s = j("tracking"), c = j("leading"), a = j("breakpoint"), m = j("container"), d = j("spacing"), g = j("radius"), w = j("shadow"), k = j("inset-shadow"), E = j("text-shadow"), _ = j("drop-shadow"), A = j("blur"), T = j("perspective"), R = j("aspect"), N = j("ease"), J = j("animate"), W = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], G = () => [
605
+ "center",
606
+ "top",
607
+ "bottom",
608
+ "left",
609
+ "right",
610
+ "top-left",
611
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
612
+ "left-top",
613
+ "top-right",
614
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
615
+ "right-top",
616
+ "bottom-right",
617
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
618
+ "right-bottom",
619
+ "bottom-left",
620
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
621
+ "left-bottom"
622
+ ], L = () => [...G(), l, i], z = () => ["auto", "hidden", "clip", "visible", "scroll"], Y = () => ["auto", "contain", "none"], f = () => [l, i, d], S = () => [Z, "full", "auto", ...f()], ie = () => [V, "none", "subgrid", l, i], le = () => ["auto", {
623
+ span: ["full", V, l, i]
624
+ }, V, l, i], $ = () => [V, "auto", l, i], ee = () => ["auto", "min", "max", "fr", l, i], re = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], C = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], O = () => ["auto", ...f()], P = () => [Z, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...f()], u = () => [e, l, i], te = () => [...G(), Te, _e, {
625
+ position: [l, i]
626
+ }], oe = () => ["no-repeat", {
627
+ repeat: ["", "x", "y", "space", "round"]
628
+ }], n = () => ["auto", "cover", "contain", Gr, Mr, {
629
+ size: [l, i]
630
+ }], b = () => [be, ae, U], x = () => [
631
+ // Deprecated since Tailwind CSS v4.0.0
632
+ "",
633
+ "none",
634
+ "full",
635
+ g,
636
+ l,
637
+ i
638
+ ], y = () => ["", h, ae, U], I = () => ["solid", "dashed", "dotted", "double"], H = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], v = () => [h, be, Te, _e], M = () => [
639
+ // Deprecated since Tailwind CSS v4.0.0
640
+ "",
641
+ "none",
642
+ A,
643
+ l,
644
+ i
645
+ ], B = () => ["none", h, l, i], X = () => ["none", h, l, i], fe = () => [h, l, i], ce = () => [Z, "full", ...f()];
646
+ return {
647
+ cacheSize: 500,
648
+ theme: {
649
+ animate: ["spin", "ping", "pulse", "bounce"],
650
+ aspect: ["video"],
651
+ blur: [D],
652
+ breakpoint: [D],
653
+ color: [Cr],
654
+ container: [D],
655
+ "drop-shadow": [D],
656
+ ease: ["in", "out", "in-out"],
657
+ font: [Ir],
658
+ "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
659
+ "inset-shadow": [D],
660
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
661
+ perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
662
+ radius: [D],
663
+ shadow: [D],
664
+ spacing: ["px", h],
665
+ text: [D],
666
+ "text-shadow": [D],
667
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
668
+ },
669
+ classGroups: {
670
+ // --------------
671
+ // --- Layout ---
672
+ // --------------
673
+ /**
674
+ * Aspect Ratio
675
+ * @see https://tailwindcss.com/docs/aspect-ratio
676
+ */
677
+ aspect: [{
678
+ aspect: ["auto", "square", Z, i, l, R]
679
+ }],
680
+ /**
681
+ * Container
682
+ * @see https://tailwindcss.com/docs/container
683
+ * @deprecated since Tailwind CSS v4.0.0
684
+ */
685
+ container: ["container"],
686
+ /**
687
+ * Columns
688
+ * @see https://tailwindcss.com/docs/columns
689
+ */
690
+ columns: [{
691
+ columns: [h, i, l, m]
692
+ }],
693
+ /**
694
+ * Break After
695
+ * @see https://tailwindcss.com/docs/break-after
696
+ */
697
+ "break-after": [{
698
+ "break-after": W()
699
+ }],
700
+ /**
701
+ * Break Before
702
+ * @see https://tailwindcss.com/docs/break-before
703
+ */
704
+ "break-before": [{
705
+ "break-before": W()
706
+ }],
707
+ /**
708
+ * Break Inside
709
+ * @see https://tailwindcss.com/docs/break-inside
710
+ */
711
+ "break-inside": [{
712
+ "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
713
+ }],
714
+ /**
715
+ * Box Decoration Break
716
+ * @see https://tailwindcss.com/docs/box-decoration-break
717
+ */
718
+ "box-decoration": [{
719
+ "box-decoration": ["slice", "clone"]
720
+ }],
721
+ /**
722
+ * Box Sizing
723
+ * @see https://tailwindcss.com/docs/box-sizing
724
+ */
725
+ box: [{
726
+ box: ["border", "content"]
727
+ }],
728
+ /**
729
+ * Display
730
+ * @see https://tailwindcss.com/docs/display
731
+ */
732
+ display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
733
+ /**
734
+ * Screen Reader Only
735
+ * @see https://tailwindcss.com/docs/display#screen-reader-only
736
+ */
737
+ sr: ["sr-only", "not-sr-only"],
738
+ /**
739
+ * Floats
740
+ * @see https://tailwindcss.com/docs/float
741
+ */
742
+ float: [{
743
+ float: ["right", "left", "none", "start", "end"]
744
+ }],
745
+ /**
746
+ * Clear
747
+ * @see https://tailwindcss.com/docs/clear
748
+ */
749
+ clear: [{
750
+ clear: ["left", "right", "both", "none", "start", "end"]
751
+ }],
752
+ /**
753
+ * Isolation
754
+ * @see https://tailwindcss.com/docs/isolation
755
+ */
756
+ isolation: ["isolate", "isolation-auto"],
757
+ /**
758
+ * Object Fit
759
+ * @see https://tailwindcss.com/docs/object-fit
760
+ */
761
+ "object-fit": [{
762
+ object: ["contain", "cover", "fill", "none", "scale-down"]
763
+ }],
764
+ /**
765
+ * Object Position
766
+ * @see https://tailwindcss.com/docs/object-position
767
+ */
768
+ "object-position": [{
769
+ object: L()
770
+ }],
771
+ /**
772
+ * Overflow
773
+ * @see https://tailwindcss.com/docs/overflow
774
+ */
775
+ overflow: [{
776
+ overflow: z()
777
+ }],
778
+ /**
779
+ * Overflow X
780
+ * @see https://tailwindcss.com/docs/overflow
781
+ */
782
+ "overflow-x": [{
783
+ "overflow-x": z()
784
+ }],
785
+ /**
786
+ * Overflow Y
787
+ * @see https://tailwindcss.com/docs/overflow
788
+ */
789
+ "overflow-y": [{
790
+ "overflow-y": z()
791
+ }],
792
+ /**
793
+ * Overscroll Behavior
794
+ * @see https://tailwindcss.com/docs/overscroll-behavior
795
+ */
796
+ overscroll: [{
797
+ overscroll: Y()
798
+ }],
799
+ /**
800
+ * Overscroll Behavior X
801
+ * @see https://tailwindcss.com/docs/overscroll-behavior
802
+ */
803
+ "overscroll-x": [{
804
+ "overscroll-x": Y()
805
+ }],
806
+ /**
807
+ * Overscroll Behavior Y
808
+ * @see https://tailwindcss.com/docs/overscroll-behavior
809
+ */
810
+ "overscroll-y": [{
811
+ "overscroll-y": Y()
812
+ }],
813
+ /**
814
+ * Position
815
+ * @see https://tailwindcss.com/docs/position
816
+ */
817
+ position: ["static", "fixed", "absolute", "relative", "sticky"],
818
+ /**
819
+ * Top / Right / Bottom / Left
820
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
821
+ */
822
+ inset: [{
823
+ inset: S()
824
+ }],
825
+ /**
826
+ * Right / Left
827
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
828
+ */
829
+ "inset-x": [{
830
+ "inset-x": S()
831
+ }],
832
+ /**
833
+ * Top / Bottom
834
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
835
+ */
836
+ "inset-y": [{
837
+ "inset-y": S()
838
+ }],
839
+ /**
840
+ * Start
841
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
842
+ */
843
+ start: [{
844
+ start: S()
845
+ }],
846
+ /**
847
+ * End
848
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
849
+ */
850
+ end: [{
851
+ end: S()
852
+ }],
853
+ /**
854
+ * Top
855
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
856
+ */
857
+ top: [{
858
+ top: S()
859
+ }],
860
+ /**
861
+ * Right
862
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
863
+ */
864
+ right: [{
865
+ right: S()
866
+ }],
867
+ /**
868
+ * Bottom
869
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
870
+ */
871
+ bottom: [{
872
+ bottom: S()
873
+ }],
874
+ /**
875
+ * Left
876
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
877
+ */
878
+ left: [{
879
+ left: S()
880
+ }],
881
+ /**
882
+ * Visibility
883
+ * @see https://tailwindcss.com/docs/visibility
884
+ */
885
+ visibility: ["visible", "invisible", "collapse"],
886
+ /**
887
+ * Z-Index
888
+ * @see https://tailwindcss.com/docs/z-index
889
+ */
890
+ z: [{
891
+ z: [V, "auto", l, i]
892
+ }],
893
+ // ------------------------
894
+ // --- Flexbox and Grid ---
895
+ // ------------------------
896
+ /**
897
+ * Flex Basis
898
+ * @see https://tailwindcss.com/docs/flex-basis
899
+ */
900
+ basis: [{
901
+ basis: [Z, "full", "auto", m, ...f()]
902
+ }],
903
+ /**
904
+ * Flex Direction
905
+ * @see https://tailwindcss.com/docs/flex-direction
906
+ */
907
+ "flex-direction": [{
908
+ flex: ["row", "row-reverse", "col", "col-reverse"]
909
+ }],
910
+ /**
911
+ * Flex Wrap
912
+ * @see https://tailwindcss.com/docs/flex-wrap
913
+ */
914
+ "flex-wrap": [{
915
+ flex: ["nowrap", "wrap", "wrap-reverse"]
916
+ }],
917
+ /**
918
+ * Flex
919
+ * @see https://tailwindcss.com/docs/flex
920
+ */
921
+ flex: [{
922
+ flex: [h, Z, "auto", "initial", "none", i]
923
+ }],
924
+ /**
925
+ * Flex Grow
926
+ * @see https://tailwindcss.com/docs/flex-grow
927
+ */
928
+ grow: [{
929
+ grow: ["", h, l, i]
930
+ }],
931
+ /**
932
+ * Flex Shrink
933
+ * @see https://tailwindcss.com/docs/flex-shrink
934
+ */
935
+ shrink: [{
936
+ shrink: ["", h, l, i]
937
+ }],
938
+ /**
939
+ * Order
940
+ * @see https://tailwindcss.com/docs/order
941
+ */
942
+ order: [{
943
+ order: [V, "first", "last", "none", l, i]
944
+ }],
945
+ /**
946
+ * Grid Template Columns
947
+ * @see https://tailwindcss.com/docs/grid-template-columns
948
+ */
949
+ "grid-cols": [{
950
+ "grid-cols": ie()
951
+ }],
952
+ /**
953
+ * Grid Column Start / End
954
+ * @see https://tailwindcss.com/docs/grid-column
955
+ */
956
+ "col-start-end": [{
957
+ col: le()
958
+ }],
959
+ /**
960
+ * Grid Column Start
961
+ * @see https://tailwindcss.com/docs/grid-column
962
+ */
963
+ "col-start": [{
964
+ "col-start": $()
965
+ }],
966
+ /**
967
+ * Grid Column End
968
+ * @see https://tailwindcss.com/docs/grid-column
969
+ */
970
+ "col-end": [{
971
+ "col-end": $()
972
+ }],
973
+ /**
974
+ * Grid Template Rows
975
+ * @see https://tailwindcss.com/docs/grid-template-rows
976
+ */
977
+ "grid-rows": [{
978
+ "grid-rows": ie()
979
+ }],
980
+ /**
981
+ * Grid Row Start / End
982
+ * @see https://tailwindcss.com/docs/grid-row
983
+ */
984
+ "row-start-end": [{
985
+ row: le()
986
+ }],
987
+ /**
988
+ * Grid Row Start
989
+ * @see https://tailwindcss.com/docs/grid-row
990
+ */
991
+ "row-start": [{
992
+ "row-start": $()
993
+ }],
994
+ /**
995
+ * Grid Row End
996
+ * @see https://tailwindcss.com/docs/grid-row
997
+ */
998
+ "row-end": [{
999
+ "row-end": $()
1000
+ }],
1001
+ /**
1002
+ * Grid Auto Flow
1003
+ * @see https://tailwindcss.com/docs/grid-auto-flow
1004
+ */
1005
+ "grid-flow": [{
1006
+ "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
1007
+ }],
1008
+ /**
1009
+ * Grid Auto Columns
1010
+ * @see https://tailwindcss.com/docs/grid-auto-columns
1011
+ */
1012
+ "auto-cols": [{
1013
+ "auto-cols": ee()
1014
+ }],
1015
+ /**
1016
+ * Grid Auto Rows
1017
+ * @see https://tailwindcss.com/docs/grid-auto-rows
1018
+ */
1019
+ "auto-rows": [{
1020
+ "auto-rows": ee()
1021
+ }],
1022
+ /**
1023
+ * Gap
1024
+ * @see https://tailwindcss.com/docs/gap
1025
+ */
1026
+ gap: [{
1027
+ gap: f()
1028
+ }],
1029
+ /**
1030
+ * Gap X
1031
+ * @see https://tailwindcss.com/docs/gap
1032
+ */
1033
+ "gap-x": [{
1034
+ "gap-x": f()
1035
+ }],
1036
+ /**
1037
+ * Gap Y
1038
+ * @see https://tailwindcss.com/docs/gap
1039
+ */
1040
+ "gap-y": [{
1041
+ "gap-y": f()
1042
+ }],
1043
+ /**
1044
+ * Justify Content
1045
+ * @see https://tailwindcss.com/docs/justify-content
1046
+ */
1047
+ "justify-content": [{
1048
+ justify: [...re(), "normal"]
1049
+ }],
1050
+ /**
1051
+ * Justify Items
1052
+ * @see https://tailwindcss.com/docs/justify-items
1053
+ */
1054
+ "justify-items": [{
1055
+ "justify-items": [...C(), "normal"]
1056
+ }],
1057
+ /**
1058
+ * Justify Self
1059
+ * @see https://tailwindcss.com/docs/justify-self
1060
+ */
1061
+ "justify-self": [{
1062
+ "justify-self": ["auto", ...C()]
1063
+ }],
1064
+ /**
1065
+ * Align Content
1066
+ * @see https://tailwindcss.com/docs/align-content
1067
+ */
1068
+ "align-content": [{
1069
+ content: ["normal", ...re()]
1070
+ }],
1071
+ /**
1072
+ * Align Items
1073
+ * @see https://tailwindcss.com/docs/align-items
1074
+ */
1075
+ "align-items": [{
1076
+ items: [...C(), {
1077
+ baseline: ["", "last"]
1078
+ }]
1079
+ }],
1080
+ /**
1081
+ * Align Self
1082
+ * @see https://tailwindcss.com/docs/align-self
1083
+ */
1084
+ "align-self": [{
1085
+ self: ["auto", ...C(), {
1086
+ baseline: ["", "last"]
1087
+ }]
1088
+ }],
1089
+ /**
1090
+ * Place Content
1091
+ * @see https://tailwindcss.com/docs/place-content
1092
+ */
1093
+ "place-content": [{
1094
+ "place-content": re()
1095
+ }],
1096
+ /**
1097
+ * Place Items
1098
+ * @see https://tailwindcss.com/docs/place-items
1099
+ */
1100
+ "place-items": [{
1101
+ "place-items": [...C(), "baseline"]
1102
+ }],
1103
+ /**
1104
+ * Place Self
1105
+ * @see https://tailwindcss.com/docs/place-self
1106
+ */
1107
+ "place-self": [{
1108
+ "place-self": ["auto", ...C()]
1109
+ }],
1110
+ // Spacing
1111
+ /**
1112
+ * Padding
1113
+ * @see https://tailwindcss.com/docs/padding
1114
+ */
1115
+ p: [{
1116
+ p: f()
1117
+ }],
1118
+ /**
1119
+ * Padding X
1120
+ * @see https://tailwindcss.com/docs/padding
1121
+ */
1122
+ px: [{
1123
+ px: f()
1124
+ }],
1125
+ /**
1126
+ * Padding Y
1127
+ * @see https://tailwindcss.com/docs/padding
1128
+ */
1129
+ py: [{
1130
+ py: f()
1131
+ }],
1132
+ /**
1133
+ * Padding Start
1134
+ * @see https://tailwindcss.com/docs/padding
1135
+ */
1136
+ ps: [{
1137
+ ps: f()
1138
+ }],
1139
+ /**
1140
+ * Padding End
1141
+ * @see https://tailwindcss.com/docs/padding
1142
+ */
1143
+ pe: [{
1144
+ pe: f()
1145
+ }],
1146
+ /**
1147
+ * Padding Top
1148
+ * @see https://tailwindcss.com/docs/padding
1149
+ */
1150
+ pt: [{
1151
+ pt: f()
1152
+ }],
1153
+ /**
1154
+ * Padding Right
1155
+ * @see https://tailwindcss.com/docs/padding
1156
+ */
1157
+ pr: [{
1158
+ pr: f()
1159
+ }],
1160
+ /**
1161
+ * Padding Bottom
1162
+ * @see https://tailwindcss.com/docs/padding
1163
+ */
1164
+ pb: [{
1165
+ pb: f()
1166
+ }],
1167
+ /**
1168
+ * Padding Left
1169
+ * @see https://tailwindcss.com/docs/padding
1170
+ */
1171
+ pl: [{
1172
+ pl: f()
1173
+ }],
1174
+ /**
1175
+ * Margin
1176
+ * @see https://tailwindcss.com/docs/margin
1177
+ */
1178
+ m: [{
1179
+ m: O()
1180
+ }],
1181
+ /**
1182
+ * Margin X
1183
+ * @see https://tailwindcss.com/docs/margin
1184
+ */
1185
+ mx: [{
1186
+ mx: O()
1187
+ }],
1188
+ /**
1189
+ * Margin Y
1190
+ * @see https://tailwindcss.com/docs/margin
1191
+ */
1192
+ my: [{
1193
+ my: O()
1194
+ }],
1195
+ /**
1196
+ * Margin Start
1197
+ * @see https://tailwindcss.com/docs/margin
1198
+ */
1199
+ ms: [{
1200
+ ms: O()
1201
+ }],
1202
+ /**
1203
+ * Margin End
1204
+ * @see https://tailwindcss.com/docs/margin
1205
+ */
1206
+ me: [{
1207
+ me: O()
1208
+ }],
1209
+ /**
1210
+ * Margin Top
1211
+ * @see https://tailwindcss.com/docs/margin
1212
+ */
1213
+ mt: [{
1214
+ mt: O()
1215
+ }],
1216
+ /**
1217
+ * Margin Right
1218
+ * @see https://tailwindcss.com/docs/margin
1219
+ */
1220
+ mr: [{
1221
+ mr: O()
1222
+ }],
1223
+ /**
1224
+ * Margin Bottom
1225
+ * @see https://tailwindcss.com/docs/margin
1226
+ */
1227
+ mb: [{
1228
+ mb: O()
1229
+ }],
1230
+ /**
1231
+ * Margin Left
1232
+ * @see https://tailwindcss.com/docs/margin
1233
+ */
1234
+ ml: [{
1235
+ ml: O()
1236
+ }],
1237
+ /**
1238
+ * Space Between X
1239
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1240
+ */
1241
+ "space-x": [{
1242
+ "space-x": f()
1243
+ }],
1244
+ /**
1245
+ * Space Between X Reverse
1246
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1247
+ */
1248
+ "space-x-reverse": ["space-x-reverse"],
1249
+ /**
1250
+ * Space Between Y
1251
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1252
+ */
1253
+ "space-y": [{
1254
+ "space-y": f()
1255
+ }],
1256
+ /**
1257
+ * Space Between Y Reverse
1258
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1259
+ */
1260
+ "space-y-reverse": ["space-y-reverse"],
1261
+ // --------------
1262
+ // --- Sizing ---
1263
+ // --------------
1264
+ /**
1265
+ * Size
1266
+ * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
1267
+ */
1268
+ size: [{
1269
+ size: P()
1270
+ }],
1271
+ /**
1272
+ * Width
1273
+ * @see https://tailwindcss.com/docs/width
1274
+ */
1275
+ w: [{
1276
+ w: [m, "screen", ...P()]
1277
+ }],
1278
+ /**
1279
+ * Min-Width
1280
+ * @see https://tailwindcss.com/docs/min-width
1281
+ */
1282
+ "min-w": [{
1283
+ "min-w": [
1284
+ m,
1285
+ "screen",
1286
+ /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1287
+ "none",
1288
+ ...P()
1289
+ ]
1290
+ }],
1291
+ /**
1292
+ * Max-Width
1293
+ * @see https://tailwindcss.com/docs/max-width
1294
+ */
1295
+ "max-w": [{
1296
+ "max-w": [
1297
+ m,
1298
+ "screen",
1299
+ "none",
1300
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1301
+ "prose",
1302
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1303
+ {
1304
+ screen: [a]
1305
+ },
1306
+ ...P()
1307
+ ]
1308
+ }],
1309
+ /**
1310
+ * Height
1311
+ * @see https://tailwindcss.com/docs/height
1312
+ */
1313
+ h: [{
1314
+ h: ["screen", "lh", ...P()]
1315
+ }],
1316
+ /**
1317
+ * Min-Height
1318
+ * @see https://tailwindcss.com/docs/min-height
1319
+ */
1320
+ "min-h": [{
1321
+ "min-h": ["screen", "lh", "none", ...P()]
1322
+ }],
1323
+ /**
1324
+ * Max-Height
1325
+ * @see https://tailwindcss.com/docs/max-height
1326
+ */
1327
+ "max-h": [{
1328
+ "max-h": ["screen", "lh", ...P()]
1329
+ }],
1330
+ // ------------------
1331
+ // --- Typography ---
1332
+ // ------------------
1333
+ /**
1334
+ * Font Size
1335
+ * @see https://tailwindcss.com/docs/font-size
1336
+ */
1337
+ "font-size": [{
1338
+ text: ["base", t, ae, U]
1339
+ }],
1340
+ /**
1341
+ * Font Smoothing
1342
+ * @see https://tailwindcss.com/docs/font-smoothing
1343
+ */
1344
+ "font-smoothing": ["antialiased", "subpixel-antialiased"],
1345
+ /**
1346
+ * Font Style
1347
+ * @see https://tailwindcss.com/docs/font-style
1348
+ */
1349
+ "font-style": ["italic", "not-italic"],
1350
+ /**
1351
+ * Font Weight
1352
+ * @see https://tailwindcss.com/docs/font-weight
1353
+ */
1354
+ "font-weight": [{
1355
+ font: [r, l, ge]
1356
+ }],
1357
+ /**
1358
+ * Font Stretch
1359
+ * @see https://tailwindcss.com/docs/font-stretch
1360
+ */
1361
+ "font-stretch": [{
1362
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", be, i]
1363
+ }],
1364
+ /**
1365
+ * Font Family
1366
+ * @see https://tailwindcss.com/docs/font-family
1367
+ */
1368
+ "font-family": [{
1369
+ font: [Fr, i, o]
1370
+ }],
1371
+ /**
1372
+ * Font Variant Numeric
1373
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1374
+ */
1375
+ "fvn-normal": ["normal-nums"],
1376
+ /**
1377
+ * Font Variant Numeric
1378
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1379
+ */
1380
+ "fvn-ordinal": ["ordinal"],
1381
+ /**
1382
+ * Font Variant Numeric
1383
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1384
+ */
1385
+ "fvn-slashed-zero": ["slashed-zero"],
1386
+ /**
1387
+ * Font Variant Numeric
1388
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1389
+ */
1390
+ "fvn-figure": ["lining-nums", "oldstyle-nums"],
1391
+ /**
1392
+ * Font Variant Numeric
1393
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1394
+ */
1395
+ "fvn-spacing": ["proportional-nums", "tabular-nums"],
1396
+ /**
1397
+ * Font Variant Numeric
1398
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1399
+ */
1400
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1401
+ /**
1402
+ * Letter Spacing
1403
+ * @see https://tailwindcss.com/docs/letter-spacing
1404
+ */
1405
+ tracking: [{
1406
+ tracking: [s, l, i]
1407
+ }],
1408
+ /**
1409
+ * Line Clamp
1410
+ * @see https://tailwindcss.com/docs/line-clamp
1411
+ */
1412
+ "line-clamp": [{
1413
+ "line-clamp": [h, "none", l, ge]
1414
+ }],
1415
+ /**
1416
+ * Line Height
1417
+ * @see https://tailwindcss.com/docs/line-height
1418
+ */
1419
+ leading: [{
1420
+ leading: [
1421
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1422
+ c,
1423
+ ...f()
1424
+ ]
1425
+ }],
1426
+ /**
1427
+ * List Style Image
1428
+ * @see https://tailwindcss.com/docs/list-style-image
1429
+ */
1430
+ "list-image": [{
1431
+ "list-image": ["none", l, i]
1432
+ }],
1433
+ /**
1434
+ * List Style Position
1435
+ * @see https://tailwindcss.com/docs/list-style-position
1436
+ */
1437
+ "list-style-position": [{
1438
+ list: ["inside", "outside"]
1439
+ }],
1440
+ /**
1441
+ * List Style Type
1442
+ * @see https://tailwindcss.com/docs/list-style-type
1443
+ */
1444
+ "list-style-type": [{
1445
+ list: ["disc", "decimal", "none", l, i]
1446
+ }],
1447
+ /**
1448
+ * Text Alignment
1449
+ * @see https://tailwindcss.com/docs/text-align
1450
+ */
1451
+ "text-alignment": [{
1452
+ text: ["left", "center", "right", "justify", "start", "end"]
1453
+ }],
1454
+ /**
1455
+ * Placeholder Color
1456
+ * @deprecated since Tailwind CSS v3.0.0
1457
+ * @see https://v3.tailwindcss.com/docs/placeholder-color
1458
+ */
1459
+ "placeholder-color": [{
1460
+ placeholder: u()
1461
+ }],
1462
+ /**
1463
+ * Text Color
1464
+ * @see https://tailwindcss.com/docs/text-color
1465
+ */
1466
+ "text-color": [{
1467
+ text: u()
1468
+ }],
1469
+ /**
1470
+ * Text Decoration
1471
+ * @see https://tailwindcss.com/docs/text-decoration
1472
+ */
1473
+ "text-decoration": ["underline", "overline", "line-through", "no-underline"],
1474
+ /**
1475
+ * Text Decoration Style
1476
+ * @see https://tailwindcss.com/docs/text-decoration-style
1477
+ */
1478
+ "text-decoration-style": [{
1479
+ decoration: [...I(), "wavy"]
1480
+ }],
1481
+ /**
1482
+ * Text Decoration Thickness
1483
+ * @see https://tailwindcss.com/docs/text-decoration-thickness
1484
+ */
1485
+ "text-decoration-thickness": [{
1486
+ decoration: [h, "from-font", "auto", l, U]
1487
+ }],
1488
+ /**
1489
+ * Text Decoration Color
1490
+ * @see https://tailwindcss.com/docs/text-decoration-color
1491
+ */
1492
+ "text-decoration-color": [{
1493
+ decoration: u()
1494
+ }],
1495
+ /**
1496
+ * Text Underline Offset
1497
+ * @see https://tailwindcss.com/docs/text-underline-offset
1498
+ */
1499
+ "underline-offset": [{
1500
+ "underline-offset": [h, "auto", l, i]
1501
+ }],
1502
+ /**
1503
+ * Text Transform
1504
+ * @see https://tailwindcss.com/docs/text-transform
1505
+ */
1506
+ "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
1507
+ /**
1508
+ * Text Overflow
1509
+ * @see https://tailwindcss.com/docs/text-overflow
1510
+ */
1511
+ "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
1512
+ /**
1513
+ * Text Wrap
1514
+ * @see https://tailwindcss.com/docs/text-wrap
1515
+ */
1516
+ "text-wrap": [{
1517
+ text: ["wrap", "nowrap", "balance", "pretty"]
1518
+ }],
1519
+ /**
1520
+ * Text Indent
1521
+ * @see https://tailwindcss.com/docs/text-indent
1522
+ */
1523
+ indent: [{
1524
+ indent: f()
1525
+ }],
1526
+ /**
1527
+ * Vertical Alignment
1528
+ * @see https://tailwindcss.com/docs/vertical-align
1529
+ */
1530
+ "vertical-align": [{
1531
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", l, i]
1532
+ }],
1533
+ /**
1534
+ * Whitespace
1535
+ * @see https://tailwindcss.com/docs/whitespace
1536
+ */
1537
+ whitespace: [{
1538
+ whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
1539
+ }],
1540
+ /**
1541
+ * Word Break
1542
+ * @see https://tailwindcss.com/docs/word-break
1543
+ */
1544
+ break: [{
1545
+ break: ["normal", "words", "all", "keep"]
1546
+ }],
1547
+ /**
1548
+ * Overflow Wrap
1549
+ * @see https://tailwindcss.com/docs/overflow-wrap
1550
+ */
1551
+ wrap: [{
1552
+ wrap: ["break-word", "anywhere", "normal"]
1553
+ }],
1554
+ /**
1555
+ * Hyphens
1556
+ * @see https://tailwindcss.com/docs/hyphens
1557
+ */
1558
+ hyphens: [{
1559
+ hyphens: ["none", "manual", "auto"]
1560
+ }],
1561
+ /**
1562
+ * Content
1563
+ * @see https://tailwindcss.com/docs/content
1564
+ */
1565
+ content: [{
1566
+ content: ["none", l, i]
1567
+ }],
1568
+ // -------------------
1569
+ // --- Backgrounds ---
1570
+ // -------------------
1571
+ /**
1572
+ * Background Attachment
1573
+ * @see https://tailwindcss.com/docs/background-attachment
1574
+ */
1575
+ "bg-attachment": [{
1576
+ bg: ["fixed", "local", "scroll"]
1577
+ }],
1578
+ /**
1579
+ * Background Clip
1580
+ * @see https://tailwindcss.com/docs/background-clip
1581
+ */
1582
+ "bg-clip": [{
1583
+ "bg-clip": ["border", "padding", "content", "text"]
1584
+ }],
1585
+ /**
1586
+ * Background Origin
1587
+ * @see https://tailwindcss.com/docs/background-origin
1588
+ */
1589
+ "bg-origin": [{
1590
+ "bg-origin": ["border", "padding", "content"]
1591
+ }],
1592
+ /**
1593
+ * Background Position
1594
+ * @see https://tailwindcss.com/docs/background-position
1595
+ */
1596
+ "bg-position": [{
1597
+ bg: te()
1598
+ }],
1599
+ /**
1600
+ * Background Repeat
1601
+ * @see https://tailwindcss.com/docs/background-repeat
1602
+ */
1603
+ "bg-repeat": [{
1604
+ bg: oe()
1605
+ }],
1606
+ /**
1607
+ * Background Size
1608
+ * @see https://tailwindcss.com/docs/background-size
1609
+ */
1610
+ "bg-size": [{
1611
+ bg: n()
1612
+ }],
1613
+ /**
1614
+ * Background Image
1615
+ * @see https://tailwindcss.com/docs/background-image
1616
+ */
1617
+ "bg-image": [{
1618
+ bg: ["none", {
1619
+ linear: [{
1620
+ to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1621
+ }, V, l, i],
1622
+ radial: ["", l, i],
1623
+ conic: [V, l, i]
1624
+ }, Lr, Dr]
1625
+ }],
1626
+ /**
1627
+ * Background Color
1628
+ * @see https://tailwindcss.com/docs/background-color
1629
+ */
1630
+ "bg-color": [{
1631
+ bg: u()
1632
+ }],
1633
+ /**
1634
+ * Gradient Color Stops From Position
1635
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1636
+ */
1637
+ "gradient-from-pos": [{
1638
+ from: b()
1639
+ }],
1640
+ /**
1641
+ * Gradient Color Stops Via Position
1642
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1643
+ */
1644
+ "gradient-via-pos": [{
1645
+ via: b()
1646
+ }],
1647
+ /**
1648
+ * Gradient Color Stops To Position
1649
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1650
+ */
1651
+ "gradient-to-pos": [{
1652
+ to: b()
1653
+ }],
1654
+ /**
1655
+ * Gradient Color Stops From
1656
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1657
+ */
1658
+ "gradient-from": [{
1659
+ from: u()
1660
+ }],
1661
+ /**
1662
+ * Gradient Color Stops Via
1663
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1664
+ */
1665
+ "gradient-via": [{
1666
+ via: u()
1667
+ }],
1668
+ /**
1669
+ * Gradient Color Stops To
1670
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1671
+ */
1672
+ "gradient-to": [{
1673
+ to: u()
1674
+ }],
1675
+ // ---------------
1676
+ // --- Borders ---
1677
+ // ---------------
1678
+ /**
1679
+ * Border Radius
1680
+ * @see https://tailwindcss.com/docs/border-radius
1681
+ */
1682
+ rounded: [{
1683
+ rounded: x()
1684
+ }],
1685
+ /**
1686
+ * Border Radius Start
1687
+ * @see https://tailwindcss.com/docs/border-radius
1688
+ */
1689
+ "rounded-s": [{
1690
+ "rounded-s": x()
1691
+ }],
1692
+ /**
1693
+ * Border Radius End
1694
+ * @see https://tailwindcss.com/docs/border-radius
1695
+ */
1696
+ "rounded-e": [{
1697
+ "rounded-e": x()
1698
+ }],
1699
+ /**
1700
+ * Border Radius Top
1701
+ * @see https://tailwindcss.com/docs/border-radius
1702
+ */
1703
+ "rounded-t": [{
1704
+ "rounded-t": x()
1705
+ }],
1706
+ /**
1707
+ * Border Radius Right
1708
+ * @see https://tailwindcss.com/docs/border-radius
1709
+ */
1710
+ "rounded-r": [{
1711
+ "rounded-r": x()
1712
+ }],
1713
+ /**
1714
+ * Border Radius Bottom
1715
+ * @see https://tailwindcss.com/docs/border-radius
1716
+ */
1717
+ "rounded-b": [{
1718
+ "rounded-b": x()
1719
+ }],
1720
+ /**
1721
+ * Border Radius Left
1722
+ * @see https://tailwindcss.com/docs/border-radius
1723
+ */
1724
+ "rounded-l": [{
1725
+ "rounded-l": x()
1726
+ }],
1727
+ /**
1728
+ * Border Radius Start Start
1729
+ * @see https://tailwindcss.com/docs/border-radius
1730
+ */
1731
+ "rounded-ss": [{
1732
+ "rounded-ss": x()
1733
+ }],
1734
+ /**
1735
+ * Border Radius Start End
1736
+ * @see https://tailwindcss.com/docs/border-radius
1737
+ */
1738
+ "rounded-se": [{
1739
+ "rounded-se": x()
1740
+ }],
1741
+ /**
1742
+ * Border Radius End End
1743
+ * @see https://tailwindcss.com/docs/border-radius
1744
+ */
1745
+ "rounded-ee": [{
1746
+ "rounded-ee": x()
1747
+ }],
1748
+ /**
1749
+ * Border Radius End Start
1750
+ * @see https://tailwindcss.com/docs/border-radius
1751
+ */
1752
+ "rounded-es": [{
1753
+ "rounded-es": x()
1754
+ }],
1755
+ /**
1756
+ * Border Radius Top Left
1757
+ * @see https://tailwindcss.com/docs/border-radius
1758
+ */
1759
+ "rounded-tl": [{
1760
+ "rounded-tl": x()
1761
+ }],
1762
+ /**
1763
+ * Border Radius Top Right
1764
+ * @see https://tailwindcss.com/docs/border-radius
1765
+ */
1766
+ "rounded-tr": [{
1767
+ "rounded-tr": x()
1768
+ }],
1769
+ /**
1770
+ * Border Radius Bottom Right
1771
+ * @see https://tailwindcss.com/docs/border-radius
1772
+ */
1773
+ "rounded-br": [{
1774
+ "rounded-br": x()
1775
+ }],
1776
+ /**
1777
+ * Border Radius Bottom Left
1778
+ * @see https://tailwindcss.com/docs/border-radius
1779
+ */
1780
+ "rounded-bl": [{
1781
+ "rounded-bl": x()
1782
+ }],
1783
+ /**
1784
+ * Border Width
1785
+ * @see https://tailwindcss.com/docs/border-width
1786
+ */
1787
+ "border-w": [{
1788
+ border: y()
1789
+ }],
1790
+ /**
1791
+ * Border Width X
1792
+ * @see https://tailwindcss.com/docs/border-width
1793
+ */
1794
+ "border-w-x": [{
1795
+ "border-x": y()
1796
+ }],
1797
+ /**
1798
+ * Border Width Y
1799
+ * @see https://tailwindcss.com/docs/border-width
1800
+ */
1801
+ "border-w-y": [{
1802
+ "border-y": y()
1803
+ }],
1804
+ /**
1805
+ * Border Width Start
1806
+ * @see https://tailwindcss.com/docs/border-width
1807
+ */
1808
+ "border-w-s": [{
1809
+ "border-s": y()
1810
+ }],
1811
+ /**
1812
+ * Border Width End
1813
+ * @see https://tailwindcss.com/docs/border-width
1814
+ */
1815
+ "border-w-e": [{
1816
+ "border-e": y()
1817
+ }],
1818
+ /**
1819
+ * Border Width Top
1820
+ * @see https://tailwindcss.com/docs/border-width
1821
+ */
1822
+ "border-w-t": [{
1823
+ "border-t": y()
1824
+ }],
1825
+ /**
1826
+ * Border Width Right
1827
+ * @see https://tailwindcss.com/docs/border-width
1828
+ */
1829
+ "border-w-r": [{
1830
+ "border-r": y()
1831
+ }],
1832
+ /**
1833
+ * Border Width Bottom
1834
+ * @see https://tailwindcss.com/docs/border-width
1835
+ */
1836
+ "border-w-b": [{
1837
+ "border-b": y()
1838
+ }],
1839
+ /**
1840
+ * Border Width Left
1841
+ * @see https://tailwindcss.com/docs/border-width
1842
+ */
1843
+ "border-w-l": [{
1844
+ "border-l": y()
1845
+ }],
1846
+ /**
1847
+ * Divide Width X
1848
+ * @see https://tailwindcss.com/docs/border-width#between-children
1849
+ */
1850
+ "divide-x": [{
1851
+ "divide-x": y()
1852
+ }],
1853
+ /**
1854
+ * Divide Width X Reverse
1855
+ * @see https://tailwindcss.com/docs/border-width#between-children
1856
+ */
1857
+ "divide-x-reverse": ["divide-x-reverse"],
1858
+ /**
1859
+ * Divide Width Y
1860
+ * @see https://tailwindcss.com/docs/border-width#between-children
1861
+ */
1862
+ "divide-y": [{
1863
+ "divide-y": y()
1864
+ }],
1865
+ /**
1866
+ * Divide Width Y Reverse
1867
+ * @see https://tailwindcss.com/docs/border-width#between-children
1868
+ */
1869
+ "divide-y-reverse": ["divide-y-reverse"],
1870
+ /**
1871
+ * Border Style
1872
+ * @see https://tailwindcss.com/docs/border-style
1873
+ */
1874
+ "border-style": [{
1875
+ border: [...I(), "hidden", "none"]
1876
+ }],
1877
+ /**
1878
+ * Divide Style
1879
+ * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1880
+ */
1881
+ "divide-style": [{
1882
+ divide: [...I(), "hidden", "none"]
1883
+ }],
1884
+ /**
1885
+ * Border Color
1886
+ * @see https://tailwindcss.com/docs/border-color
1887
+ */
1888
+ "border-color": [{
1889
+ border: u()
1890
+ }],
1891
+ /**
1892
+ * Border Color X
1893
+ * @see https://tailwindcss.com/docs/border-color
1894
+ */
1895
+ "border-color-x": [{
1896
+ "border-x": u()
1897
+ }],
1898
+ /**
1899
+ * Border Color Y
1900
+ * @see https://tailwindcss.com/docs/border-color
1901
+ */
1902
+ "border-color-y": [{
1903
+ "border-y": u()
1904
+ }],
1905
+ /**
1906
+ * Border Color S
1907
+ * @see https://tailwindcss.com/docs/border-color
1908
+ */
1909
+ "border-color-s": [{
1910
+ "border-s": u()
1911
+ }],
1912
+ /**
1913
+ * Border Color E
1914
+ * @see https://tailwindcss.com/docs/border-color
1915
+ */
1916
+ "border-color-e": [{
1917
+ "border-e": u()
1918
+ }],
1919
+ /**
1920
+ * Border Color Top
1921
+ * @see https://tailwindcss.com/docs/border-color
1922
+ */
1923
+ "border-color-t": [{
1924
+ "border-t": u()
1925
+ }],
1926
+ /**
1927
+ * Border Color Right
1928
+ * @see https://tailwindcss.com/docs/border-color
1929
+ */
1930
+ "border-color-r": [{
1931
+ "border-r": u()
1932
+ }],
1933
+ /**
1934
+ * Border Color Bottom
1935
+ * @see https://tailwindcss.com/docs/border-color
1936
+ */
1937
+ "border-color-b": [{
1938
+ "border-b": u()
1939
+ }],
1940
+ /**
1941
+ * Border Color Left
1942
+ * @see https://tailwindcss.com/docs/border-color
1943
+ */
1944
+ "border-color-l": [{
1945
+ "border-l": u()
1946
+ }],
1947
+ /**
1948
+ * Divide Color
1949
+ * @see https://tailwindcss.com/docs/divide-color
1950
+ */
1951
+ "divide-color": [{
1952
+ divide: u()
1953
+ }],
1954
+ /**
1955
+ * Outline Style
1956
+ * @see https://tailwindcss.com/docs/outline-style
1957
+ */
1958
+ "outline-style": [{
1959
+ outline: [...I(), "none", "hidden"]
1960
+ }],
1961
+ /**
1962
+ * Outline Offset
1963
+ * @see https://tailwindcss.com/docs/outline-offset
1964
+ */
1965
+ "outline-offset": [{
1966
+ "outline-offset": [h, l, i]
1967
+ }],
1968
+ /**
1969
+ * Outline Width
1970
+ * @see https://tailwindcss.com/docs/outline-width
1971
+ */
1972
+ "outline-w": [{
1973
+ outline: ["", h, ae, U]
1974
+ }],
1975
+ /**
1976
+ * Outline Color
1977
+ * @see https://tailwindcss.com/docs/outline-color
1978
+ */
1979
+ "outline-color": [{
1980
+ outline: u()
1981
+ }],
1982
+ // ---------------
1983
+ // --- Effects ---
1984
+ // ---------------
1985
+ /**
1986
+ * Box Shadow
1987
+ * @see https://tailwindcss.com/docs/box-shadow
1988
+ */
1989
+ shadow: [{
1990
+ shadow: [
1991
+ // Deprecated since Tailwind CSS v4.0.0
1992
+ "",
1993
+ "none",
1994
+ w,
1995
+ me,
1996
+ ue
1997
+ ]
1998
+ }],
1999
+ /**
2000
+ * Box Shadow Color
2001
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
2002
+ */
2003
+ "shadow-color": [{
2004
+ shadow: u()
2005
+ }],
2006
+ /**
2007
+ * Inset Box Shadow
2008
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
2009
+ */
2010
+ "inset-shadow": [{
2011
+ "inset-shadow": ["none", k, me, ue]
2012
+ }],
2013
+ /**
2014
+ * Inset Box Shadow Color
2015
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
2016
+ */
2017
+ "inset-shadow-color": [{
2018
+ "inset-shadow": u()
2019
+ }],
2020
+ /**
2021
+ * Ring Width
2022
+ * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
2023
+ */
2024
+ "ring-w": [{
2025
+ ring: y()
2026
+ }],
2027
+ /**
2028
+ * Ring Width Inset
2029
+ * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
2030
+ * @deprecated since Tailwind CSS v4.0.0
2031
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2032
+ */
2033
+ "ring-w-inset": ["ring-inset"],
2034
+ /**
2035
+ * Ring Color
2036
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
2037
+ */
2038
+ "ring-color": [{
2039
+ ring: u()
2040
+ }],
2041
+ /**
2042
+ * Ring Offset Width
2043
+ * @see https://v3.tailwindcss.com/docs/ring-offset-width
2044
+ * @deprecated since Tailwind CSS v4.0.0
2045
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2046
+ */
2047
+ "ring-offset-w": [{
2048
+ "ring-offset": [h, U]
2049
+ }],
2050
+ /**
2051
+ * Ring Offset Color
2052
+ * @see https://v3.tailwindcss.com/docs/ring-offset-color
2053
+ * @deprecated since Tailwind CSS v4.0.0
2054
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2055
+ */
2056
+ "ring-offset-color": [{
2057
+ "ring-offset": u()
2058
+ }],
2059
+ /**
2060
+ * Inset Ring Width
2061
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
2062
+ */
2063
+ "inset-ring-w": [{
2064
+ "inset-ring": y()
2065
+ }],
2066
+ /**
2067
+ * Inset Ring Color
2068
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
2069
+ */
2070
+ "inset-ring-color": [{
2071
+ "inset-ring": u()
2072
+ }],
2073
+ /**
2074
+ * Text Shadow
2075
+ * @see https://tailwindcss.com/docs/text-shadow
2076
+ */
2077
+ "text-shadow": [{
2078
+ "text-shadow": ["none", E, me, ue]
2079
+ }],
2080
+ /**
2081
+ * Text Shadow Color
2082
+ * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
2083
+ */
2084
+ "text-shadow-color": [{
2085
+ "text-shadow": u()
2086
+ }],
2087
+ /**
2088
+ * Opacity
2089
+ * @see https://tailwindcss.com/docs/opacity
2090
+ */
2091
+ opacity: [{
2092
+ opacity: [h, l, i]
2093
+ }],
2094
+ /**
2095
+ * Mix Blend Mode
2096
+ * @see https://tailwindcss.com/docs/mix-blend-mode
2097
+ */
2098
+ "mix-blend": [{
2099
+ "mix-blend": [...H(), "plus-darker", "plus-lighter"]
2100
+ }],
2101
+ /**
2102
+ * Background Blend Mode
2103
+ * @see https://tailwindcss.com/docs/background-blend-mode
2104
+ */
2105
+ "bg-blend": [{
2106
+ "bg-blend": H()
2107
+ }],
2108
+ /**
2109
+ * Mask Clip
2110
+ * @see https://tailwindcss.com/docs/mask-clip
2111
+ */
2112
+ "mask-clip": [{
2113
+ "mask-clip": ["border", "padding", "content", "fill", "stroke", "view"]
2114
+ }, "mask-no-clip"],
2115
+ /**
2116
+ * Mask Composite
2117
+ * @see https://tailwindcss.com/docs/mask-composite
2118
+ */
2119
+ "mask-composite": [{
2120
+ mask: ["add", "subtract", "intersect", "exclude"]
2121
+ }],
2122
+ /**
2123
+ * Mask Image
2124
+ * @see https://tailwindcss.com/docs/mask-image
2125
+ */
2126
+ "mask-image-linear-pos": [{
2127
+ "mask-linear": [h]
2128
+ }],
2129
+ "mask-image-linear-from-pos": [{
2130
+ "mask-linear-from": v()
2131
+ }],
2132
+ "mask-image-linear-to-pos": [{
2133
+ "mask-linear-to": v()
2134
+ }],
2135
+ "mask-image-linear-from-color": [{
2136
+ "mask-linear-from": u()
2137
+ }],
2138
+ "mask-image-linear-to-color": [{
2139
+ "mask-linear-to": u()
2140
+ }],
2141
+ "mask-image-t-from-pos": [{
2142
+ "mask-t-from": v()
2143
+ }],
2144
+ "mask-image-t-to-pos": [{
2145
+ "mask-t-to": v()
2146
+ }],
2147
+ "mask-image-t-from-color": [{
2148
+ "mask-t-from": u()
2149
+ }],
2150
+ "mask-image-t-to-color": [{
2151
+ "mask-t-to": u()
2152
+ }],
2153
+ "mask-image-r-from-pos": [{
2154
+ "mask-r-from": v()
2155
+ }],
2156
+ "mask-image-r-to-pos": [{
2157
+ "mask-r-to": v()
2158
+ }],
2159
+ "mask-image-r-from-color": [{
2160
+ "mask-r-from": u()
2161
+ }],
2162
+ "mask-image-r-to-color": [{
2163
+ "mask-r-to": u()
2164
+ }],
2165
+ "mask-image-b-from-pos": [{
2166
+ "mask-b-from": v()
2167
+ }],
2168
+ "mask-image-b-to-pos": [{
2169
+ "mask-b-to": v()
2170
+ }],
2171
+ "mask-image-b-from-color": [{
2172
+ "mask-b-from": u()
2173
+ }],
2174
+ "mask-image-b-to-color": [{
2175
+ "mask-b-to": u()
2176
+ }],
2177
+ "mask-image-l-from-pos": [{
2178
+ "mask-l-from": v()
2179
+ }],
2180
+ "mask-image-l-to-pos": [{
2181
+ "mask-l-to": v()
2182
+ }],
2183
+ "mask-image-l-from-color": [{
2184
+ "mask-l-from": u()
2185
+ }],
2186
+ "mask-image-l-to-color": [{
2187
+ "mask-l-to": u()
2188
+ }],
2189
+ "mask-image-x-from-pos": [{
2190
+ "mask-x-from": v()
2191
+ }],
2192
+ "mask-image-x-to-pos": [{
2193
+ "mask-x-to": v()
2194
+ }],
2195
+ "mask-image-x-from-color": [{
2196
+ "mask-x-from": u()
2197
+ }],
2198
+ "mask-image-x-to-color": [{
2199
+ "mask-x-to": u()
2200
+ }],
2201
+ "mask-image-y-from-pos": [{
2202
+ "mask-y-from": v()
2203
+ }],
2204
+ "mask-image-y-to-pos": [{
2205
+ "mask-y-to": v()
2206
+ }],
2207
+ "mask-image-y-from-color": [{
2208
+ "mask-y-from": u()
2209
+ }],
2210
+ "mask-image-y-to-color": [{
2211
+ "mask-y-to": u()
2212
+ }],
2213
+ "mask-image-radial": [{
2214
+ "mask-radial": [l, i]
2215
+ }],
2216
+ "mask-image-radial-from-pos": [{
2217
+ "mask-radial-from": v()
2218
+ }],
2219
+ "mask-image-radial-to-pos": [{
2220
+ "mask-radial-to": v()
2221
+ }],
2222
+ "mask-image-radial-from-color": [{
2223
+ "mask-radial-from": u()
2224
+ }],
2225
+ "mask-image-radial-to-color": [{
2226
+ "mask-radial-to": u()
2227
+ }],
2228
+ "mask-image-radial-shape": [{
2229
+ "mask-radial": ["circle", "ellipse"]
2230
+ }],
2231
+ "mask-image-radial-size": [{
2232
+ "mask-radial": [{
2233
+ closest: ["side", "corner"],
2234
+ farthest: ["side", "corner"]
2235
+ }]
2236
+ }],
2237
+ "mask-image-radial-pos": [{
2238
+ "mask-radial-at": G()
2239
+ }],
2240
+ "mask-image-conic-pos": [{
2241
+ "mask-conic": [h]
2242
+ }],
2243
+ "mask-image-conic-from-pos": [{
2244
+ "mask-conic-from": v()
2245
+ }],
2246
+ "mask-image-conic-to-pos": [{
2247
+ "mask-conic-to": v()
2248
+ }],
2249
+ "mask-image-conic-from-color": [{
2250
+ "mask-conic-from": u()
2251
+ }],
2252
+ "mask-image-conic-to-color": [{
2253
+ "mask-conic-to": u()
2254
+ }],
2255
+ /**
2256
+ * Mask Mode
2257
+ * @see https://tailwindcss.com/docs/mask-mode
2258
+ */
2259
+ "mask-mode": [{
2260
+ mask: ["alpha", "luminance", "match"]
2261
+ }],
2262
+ /**
2263
+ * Mask Origin
2264
+ * @see https://tailwindcss.com/docs/mask-origin
2265
+ */
2266
+ "mask-origin": [{
2267
+ "mask-origin": ["border", "padding", "content", "fill", "stroke", "view"]
2268
+ }],
2269
+ /**
2270
+ * Mask Position
2271
+ * @see https://tailwindcss.com/docs/mask-position
2272
+ */
2273
+ "mask-position": [{
2274
+ mask: te()
2275
+ }],
2276
+ /**
2277
+ * Mask Repeat
2278
+ * @see https://tailwindcss.com/docs/mask-repeat
2279
+ */
2280
+ "mask-repeat": [{
2281
+ mask: oe()
2282
+ }],
2283
+ /**
2284
+ * Mask Size
2285
+ * @see https://tailwindcss.com/docs/mask-size
2286
+ */
2287
+ "mask-size": [{
2288
+ mask: n()
2289
+ }],
2290
+ /**
2291
+ * Mask Type
2292
+ * @see https://tailwindcss.com/docs/mask-type
2293
+ */
2294
+ "mask-type": [{
2295
+ "mask-type": ["alpha", "luminance"]
2296
+ }],
2297
+ /**
2298
+ * Mask Image
2299
+ * @see https://tailwindcss.com/docs/mask-image
2300
+ */
2301
+ "mask-image": [{
2302
+ mask: ["none", l, i]
2303
+ }],
2304
+ // ---------------
2305
+ // --- Filters ---
2306
+ // ---------------
2307
+ /**
2308
+ * Filter
2309
+ * @see https://tailwindcss.com/docs/filter
2310
+ */
2311
+ filter: [{
2312
+ filter: [
2313
+ // Deprecated since Tailwind CSS v3.0.0
2314
+ "",
2315
+ "none",
2316
+ l,
2317
+ i
2318
+ ]
2319
+ }],
2320
+ /**
2321
+ * Blur
2322
+ * @see https://tailwindcss.com/docs/blur
2323
+ */
2324
+ blur: [{
2325
+ blur: M()
2326
+ }],
2327
+ /**
2328
+ * Brightness
2329
+ * @see https://tailwindcss.com/docs/brightness
2330
+ */
2331
+ brightness: [{
2332
+ brightness: [h, l, i]
2333
+ }],
2334
+ /**
2335
+ * Contrast
2336
+ * @see https://tailwindcss.com/docs/contrast
2337
+ */
2338
+ contrast: [{
2339
+ contrast: [h, l, i]
2340
+ }],
2341
+ /**
2342
+ * Drop Shadow
2343
+ * @see https://tailwindcss.com/docs/drop-shadow
2344
+ */
2345
+ "drop-shadow": [{
2346
+ "drop-shadow": [
2347
+ // Deprecated since Tailwind CSS v4.0.0
2348
+ "",
2349
+ "none",
2350
+ _,
2351
+ me,
2352
+ ue
2353
+ ]
2354
+ }],
2355
+ /**
2356
+ * Drop Shadow Color
2357
+ * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2358
+ */
2359
+ "drop-shadow-color": [{
2360
+ "drop-shadow": u()
2361
+ }],
2362
+ /**
2363
+ * Grayscale
2364
+ * @see https://tailwindcss.com/docs/grayscale
2365
+ */
2366
+ grayscale: [{
2367
+ grayscale: ["", h, l, i]
2368
+ }],
2369
+ /**
2370
+ * Hue Rotate
2371
+ * @see https://tailwindcss.com/docs/hue-rotate
2372
+ */
2373
+ "hue-rotate": [{
2374
+ "hue-rotate": [h, l, i]
2375
+ }],
2376
+ /**
2377
+ * Invert
2378
+ * @see https://tailwindcss.com/docs/invert
2379
+ */
2380
+ invert: [{
2381
+ invert: ["", h, l, i]
2382
+ }],
2383
+ /**
2384
+ * Saturate
2385
+ * @see https://tailwindcss.com/docs/saturate
2386
+ */
2387
+ saturate: [{
2388
+ saturate: [h, l, i]
2389
+ }],
2390
+ /**
2391
+ * Sepia
2392
+ * @see https://tailwindcss.com/docs/sepia
2393
+ */
2394
+ sepia: [{
2395
+ sepia: ["", h, l, i]
2396
+ }],
2397
+ /**
2398
+ * Backdrop Filter
2399
+ * @see https://tailwindcss.com/docs/backdrop-filter
2400
+ */
2401
+ "backdrop-filter": [{
2402
+ "backdrop-filter": [
2403
+ // Deprecated since Tailwind CSS v3.0.0
2404
+ "",
2405
+ "none",
2406
+ l,
2407
+ i
2408
+ ]
2409
+ }],
2410
+ /**
2411
+ * Backdrop Blur
2412
+ * @see https://tailwindcss.com/docs/backdrop-blur
2413
+ */
2414
+ "backdrop-blur": [{
2415
+ "backdrop-blur": M()
2416
+ }],
2417
+ /**
2418
+ * Backdrop Brightness
2419
+ * @see https://tailwindcss.com/docs/backdrop-brightness
2420
+ */
2421
+ "backdrop-brightness": [{
2422
+ "backdrop-brightness": [h, l, i]
2423
+ }],
2424
+ /**
2425
+ * Backdrop Contrast
2426
+ * @see https://tailwindcss.com/docs/backdrop-contrast
2427
+ */
2428
+ "backdrop-contrast": [{
2429
+ "backdrop-contrast": [h, l, i]
2430
+ }],
2431
+ /**
2432
+ * Backdrop Grayscale
2433
+ * @see https://tailwindcss.com/docs/backdrop-grayscale
2434
+ */
2435
+ "backdrop-grayscale": [{
2436
+ "backdrop-grayscale": ["", h, l, i]
2437
+ }],
2438
+ /**
2439
+ * Backdrop Hue Rotate
2440
+ * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2441
+ */
2442
+ "backdrop-hue-rotate": [{
2443
+ "backdrop-hue-rotate": [h, l, i]
2444
+ }],
2445
+ /**
2446
+ * Backdrop Invert
2447
+ * @see https://tailwindcss.com/docs/backdrop-invert
2448
+ */
2449
+ "backdrop-invert": [{
2450
+ "backdrop-invert": ["", h, l, i]
2451
+ }],
2452
+ /**
2453
+ * Backdrop Opacity
2454
+ * @see https://tailwindcss.com/docs/backdrop-opacity
2455
+ */
2456
+ "backdrop-opacity": [{
2457
+ "backdrop-opacity": [h, l, i]
2458
+ }],
2459
+ /**
2460
+ * Backdrop Saturate
2461
+ * @see https://tailwindcss.com/docs/backdrop-saturate
2462
+ */
2463
+ "backdrop-saturate": [{
2464
+ "backdrop-saturate": [h, l, i]
2465
+ }],
2466
+ /**
2467
+ * Backdrop Sepia
2468
+ * @see https://tailwindcss.com/docs/backdrop-sepia
2469
+ */
2470
+ "backdrop-sepia": [{
2471
+ "backdrop-sepia": ["", h, l, i]
2472
+ }],
2473
+ // --------------
2474
+ // --- Tables ---
2475
+ // --------------
2476
+ /**
2477
+ * Border Collapse
2478
+ * @see https://tailwindcss.com/docs/border-collapse
2479
+ */
2480
+ "border-collapse": [{
2481
+ border: ["collapse", "separate"]
2482
+ }],
2483
+ /**
2484
+ * Border Spacing
2485
+ * @see https://tailwindcss.com/docs/border-spacing
2486
+ */
2487
+ "border-spacing": [{
2488
+ "border-spacing": f()
2489
+ }],
2490
+ /**
2491
+ * Border Spacing X
2492
+ * @see https://tailwindcss.com/docs/border-spacing
2493
+ */
2494
+ "border-spacing-x": [{
2495
+ "border-spacing-x": f()
2496
+ }],
2497
+ /**
2498
+ * Border Spacing Y
2499
+ * @see https://tailwindcss.com/docs/border-spacing
2500
+ */
2501
+ "border-spacing-y": [{
2502
+ "border-spacing-y": f()
2503
+ }],
2504
+ /**
2505
+ * Table Layout
2506
+ * @see https://tailwindcss.com/docs/table-layout
2507
+ */
2508
+ "table-layout": [{
2509
+ table: ["auto", "fixed"]
2510
+ }],
2511
+ /**
2512
+ * Caption Side
2513
+ * @see https://tailwindcss.com/docs/caption-side
2514
+ */
2515
+ caption: [{
2516
+ caption: ["top", "bottom"]
2517
+ }],
2518
+ // ---------------------------------
2519
+ // --- Transitions and Animation ---
2520
+ // ---------------------------------
2521
+ /**
2522
+ * Transition Property
2523
+ * @see https://tailwindcss.com/docs/transition-property
2524
+ */
2525
+ transition: [{
2526
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", l, i]
2527
+ }],
2528
+ /**
2529
+ * Transition Behavior
2530
+ * @see https://tailwindcss.com/docs/transition-behavior
2531
+ */
2532
+ "transition-behavior": [{
2533
+ transition: ["normal", "discrete"]
2534
+ }],
2535
+ /**
2536
+ * Transition Duration
2537
+ * @see https://tailwindcss.com/docs/transition-duration
2538
+ */
2539
+ duration: [{
2540
+ duration: [h, "initial", l, i]
2541
+ }],
2542
+ /**
2543
+ * Transition Timing Function
2544
+ * @see https://tailwindcss.com/docs/transition-timing-function
2545
+ */
2546
+ ease: [{
2547
+ ease: ["linear", "initial", N, l, i]
2548
+ }],
2549
+ /**
2550
+ * Transition Delay
2551
+ * @see https://tailwindcss.com/docs/transition-delay
2552
+ */
2553
+ delay: [{
2554
+ delay: [h, l, i]
2555
+ }],
2556
+ /**
2557
+ * Animation
2558
+ * @see https://tailwindcss.com/docs/animation
2559
+ */
2560
+ animate: [{
2561
+ animate: ["none", J, l, i]
2562
+ }],
2563
+ // ------------------
2564
+ // --- Transforms ---
2565
+ // ------------------
2566
+ /**
2567
+ * Backface Visibility
2568
+ * @see https://tailwindcss.com/docs/backface-visibility
2569
+ */
2570
+ backface: [{
2571
+ backface: ["hidden", "visible"]
2572
+ }],
2573
+ /**
2574
+ * Perspective
2575
+ * @see https://tailwindcss.com/docs/perspective
2576
+ */
2577
+ perspective: [{
2578
+ perspective: [T, l, i]
2579
+ }],
2580
+ /**
2581
+ * Perspective Origin
2582
+ * @see https://tailwindcss.com/docs/perspective-origin
2583
+ */
2584
+ "perspective-origin": [{
2585
+ "perspective-origin": L()
2586
+ }],
2587
+ /**
2588
+ * Rotate
2589
+ * @see https://tailwindcss.com/docs/rotate
2590
+ */
2591
+ rotate: [{
2592
+ rotate: B()
2593
+ }],
2594
+ /**
2595
+ * Rotate X
2596
+ * @see https://tailwindcss.com/docs/rotate
2597
+ */
2598
+ "rotate-x": [{
2599
+ "rotate-x": B()
2600
+ }],
2601
+ /**
2602
+ * Rotate Y
2603
+ * @see https://tailwindcss.com/docs/rotate
2604
+ */
2605
+ "rotate-y": [{
2606
+ "rotate-y": B()
2607
+ }],
2608
+ /**
2609
+ * Rotate Z
2610
+ * @see https://tailwindcss.com/docs/rotate
2611
+ */
2612
+ "rotate-z": [{
2613
+ "rotate-z": B()
2614
+ }],
2615
+ /**
2616
+ * Scale
2617
+ * @see https://tailwindcss.com/docs/scale
2618
+ */
2619
+ scale: [{
2620
+ scale: X()
2621
+ }],
2622
+ /**
2623
+ * Scale X
2624
+ * @see https://tailwindcss.com/docs/scale
2625
+ */
2626
+ "scale-x": [{
2627
+ "scale-x": X()
2628
+ }],
2629
+ /**
2630
+ * Scale Y
2631
+ * @see https://tailwindcss.com/docs/scale
2632
+ */
2633
+ "scale-y": [{
2634
+ "scale-y": X()
2635
+ }],
2636
+ /**
2637
+ * Scale Z
2638
+ * @see https://tailwindcss.com/docs/scale
2639
+ */
2640
+ "scale-z": [{
2641
+ "scale-z": X()
2642
+ }],
2643
+ /**
2644
+ * Scale 3D
2645
+ * @see https://tailwindcss.com/docs/scale
2646
+ */
2647
+ "scale-3d": ["scale-3d"],
2648
+ /**
2649
+ * Skew
2650
+ * @see https://tailwindcss.com/docs/skew
2651
+ */
2652
+ skew: [{
2653
+ skew: fe()
2654
+ }],
2655
+ /**
2656
+ * Skew X
2657
+ * @see https://tailwindcss.com/docs/skew
2658
+ */
2659
+ "skew-x": [{
2660
+ "skew-x": fe()
2661
+ }],
2662
+ /**
2663
+ * Skew Y
2664
+ * @see https://tailwindcss.com/docs/skew
2665
+ */
2666
+ "skew-y": [{
2667
+ "skew-y": fe()
2668
+ }],
2669
+ /**
2670
+ * Transform
2671
+ * @see https://tailwindcss.com/docs/transform
2672
+ */
2673
+ transform: [{
2674
+ transform: [l, i, "", "none", "gpu", "cpu"]
2675
+ }],
2676
+ /**
2677
+ * Transform Origin
2678
+ * @see https://tailwindcss.com/docs/transform-origin
2679
+ */
2680
+ "transform-origin": [{
2681
+ origin: L()
2682
+ }],
2683
+ /**
2684
+ * Transform Style
2685
+ * @see https://tailwindcss.com/docs/transform-style
2686
+ */
2687
+ "transform-style": [{
2688
+ transform: ["3d", "flat"]
2689
+ }],
2690
+ /**
2691
+ * Translate
2692
+ * @see https://tailwindcss.com/docs/translate
2693
+ */
2694
+ translate: [{
2695
+ translate: ce()
2696
+ }],
2697
+ /**
2698
+ * Translate X
2699
+ * @see https://tailwindcss.com/docs/translate
2700
+ */
2701
+ "translate-x": [{
2702
+ "translate-x": ce()
2703
+ }],
2704
+ /**
2705
+ * Translate Y
2706
+ * @see https://tailwindcss.com/docs/translate
2707
+ */
2708
+ "translate-y": [{
2709
+ "translate-y": ce()
2710
+ }],
2711
+ /**
2712
+ * Translate Z
2713
+ * @see https://tailwindcss.com/docs/translate
2714
+ */
2715
+ "translate-z": [{
2716
+ "translate-z": ce()
2717
+ }],
2718
+ /**
2719
+ * Translate None
2720
+ * @see https://tailwindcss.com/docs/translate
2721
+ */
2722
+ "translate-none": ["translate-none"],
2723
+ // ---------------------
2724
+ // --- Interactivity ---
2725
+ // ---------------------
2726
+ /**
2727
+ * Accent Color
2728
+ * @see https://tailwindcss.com/docs/accent-color
2729
+ */
2730
+ accent: [{
2731
+ accent: u()
2732
+ }],
2733
+ /**
2734
+ * Appearance
2735
+ * @see https://tailwindcss.com/docs/appearance
2736
+ */
2737
+ appearance: [{
2738
+ appearance: ["none", "auto"]
2739
+ }],
2740
+ /**
2741
+ * Caret Color
2742
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2743
+ */
2744
+ "caret-color": [{
2745
+ caret: u()
2746
+ }],
2747
+ /**
2748
+ * Color Scheme
2749
+ * @see https://tailwindcss.com/docs/color-scheme
2750
+ */
2751
+ "color-scheme": [{
2752
+ scheme: ["normal", "dark", "light", "light-dark", "only-dark", "only-light"]
2753
+ }],
2754
+ /**
2755
+ * Cursor
2756
+ * @see https://tailwindcss.com/docs/cursor
2757
+ */
2758
+ cursor: [{
2759
+ cursor: ["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", l, i]
2760
+ }],
2761
+ /**
2762
+ * Field Sizing
2763
+ * @see https://tailwindcss.com/docs/field-sizing
2764
+ */
2765
+ "field-sizing": [{
2766
+ "field-sizing": ["fixed", "content"]
2767
+ }],
2768
+ /**
2769
+ * Pointer Events
2770
+ * @see https://tailwindcss.com/docs/pointer-events
2771
+ */
2772
+ "pointer-events": [{
2773
+ "pointer-events": ["auto", "none"]
2774
+ }],
2775
+ /**
2776
+ * Resize
2777
+ * @see https://tailwindcss.com/docs/resize
2778
+ */
2779
+ resize: [{
2780
+ resize: ["none", "", "y", "x"]
2781
+ }],
2782
+ /**
2783
+ * Scroll Behavior
2784
+ * @see https://tailwindcss.com/docs/scroll-behavior
2785
+ */
2786
+ "scroll-behavior": [{
2787
+ scroll: ["auto", "smooth"]
2788
+ }],
2789
+ /**
2790
+ * Scroll Margin
2791
+ * @see https://tailwindcss.com/docs/scroll-margin
2792
+ */
2793
+ "scroll-m": [{
2794
+ "scroll-m": f()
2795
+ }],
2796
+ /**
2797
+ * Scroll Margin X
2798
+ * @see https://tailwindcss.com/docs/scroll-margin
2799
+ */
2800
+ "scroll-mx": [{
2801
+ "scroll-mx": f()
2802
+ }],
2803
+ /**
2804
+ * Scroll Margin Y
2805
+ * @see https://tailwindcss.com/docs/scroll-margin
2806
+ */
2807
+ "scroll-my": [{
2808
+ "scroll-my": f()
2809
+ }],
2810
+ /**
2811
+ * Scroll Margin Start
2812
+ * @see https://tailwindcss.com/docs/scroll-margin
2813
+ */
2814
+ "scroll-ms": [{
2815
+ "scroll-ms": f()
2816
+ }],
2817
+ /**
2818
+ * Scroll Margin End
2819
+ * @see https://tailwindcss.com/docs/scroll-margin
2820
+ */
2821
+ "scroll-me": [{
2822
+ "scroll-me": f()
2823
+ }],
2824
+ /**
2825
+ * Scroll Margin Top
2826
+ * @see https://tailwindcss.com/docs/scroll-margin
2827
+ */
2828
+ "scroll-mt": [{
2829
+ "scroll-mt": f()
2830
+ }],
2831
+ /**
2832
+ * Scroll Margin Right
2833
+ * @see https://tailwindcss.com/docs/scroll-margin
2834
+ */
2835
+ "scroll-mr": [{
2836
+ "scroll-mr": f()
2837
+ }],
2838
+ /**
2839
+ * Scroll Margin Bottom
2840
+ * @see https://tailwindcss.com/docs/scroll-margin
2841
+ */
2842
+ "scroll-mb": [{
2843
+ "scroll-mb": f()
2844
+ }],
2845
+ /**
2846
+ * Scroll Margin Left
2847
+ * @see https://tailwindcss.com/docs/scroll-margin
2848
+ */
2849
+ "scroll-ml": [{
2850
+ "scroll-ml": f()
2851
+ }],
2852
+ /**
2853
+ * Scroll Padding
2854
+ * @see https://tailwindcss.com/docs/scroll-padding
2855
+ */
2856
+ "scroll-p": [{
2857
+ "scroll-p": f()
2858
+ }],
2859
+ /**
2860
+ * Scroll Padding X
2861
+ * @see https://tailwindcss.com/docs/scroll-padding
2862
+ */
2863
+ "scroll-px": [{
2864
+ "scroll-px": f()
2865
+ }],
2866
+ /**
2867
+ * Scroll Padding Y
2868
+ * @see https://tailwindcss.com/docs/scroll-padding
2869
+ */
2870
+ "scroll-py": [{
2871
+ "scroll-py": f()
2872
+ }],
2873
+ /**
2874
+ * Scroll Padding Start
2875
+ * @see https://tailwindcss.com/docs/scroll-padding
2876
+ */
2877
+ "scroll-ps": [{
2878
+ "scroll-ps": f()
2879
+ }],
2880
+ /**
2881
+ * Scroll Padding End
2882
+ * @see https://tailwindcss.com/docs/scroll-padding
2883
+ */
2884
+ "scroll-pe": [{
2885
+ "scroll-pe": f()
2886
+ }],
2887
+ /**
2888
+ * Scroll Padding Top
2889
+ * @see https://tailwindcss.com/docs/scroll-padding
2890
+ */
2891
+ "scroll-pt": [{
2892
+ "scroll-pt": f()
2893
+ }],
2894
+ /**
2895
+ * Scroll Padding Right
2896
+ * @see https://tailwindcss.com/docs/scroll-padding
2897
+ */
2898
+ "scroll-pr": [{
2899
+ "scroll-pr": f()
2900
+ }],
2901
+ /**
2902
+ * Scroll Padding Bottom
2903
+ * @see https://tailwindcss.com/docs/scroll-padding
2904
+ */
2905
+ "scroll-pb": [{
2906
+ "scroll-pb": f()
2907
+ }],
2908
+ /**
2909
+ * Scroll Padding Left
2910
+ * @see https://tailwindcss.com/docs/scroll-padding
2911
+ */
2912
+ "scroll-pl": [{
2913
+ "scroll-pl": f()
2914
+ }],
2915
+ /**
2916
+ * Scroll Snap Align
2917
+ * @see https://tailwindcss.com/docs/scroll-snap-align
2918
+ */
2919
+ "snap-align": [{
2920
+ snap: ["start", "end", "center", "align-none"]
2921
+ }],
2922
+ /**
2923
+ * Scroll Snap Stop
2924
+ * @see https://tailwindcss.com/docs/scroll-snap-stop
2925
+ */
2926
+ "snap-stop": [{
2927
+ snap: ["normal", "always"]
2928
+ }],
2929
+ /**
2930
+ * Scroll Snap Type
2931
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2932
+ */
2933
+ "snap-type": [{
2934
+ snap: ["none", "x", "y", "both"]
2935
+ }],
2936
+ /**
2937
+ * Scroll Snap Type Strictness
2938
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2939
+ */
2940
+ "snap-strictness": [{
2941
+ snap: ["mandatory", "proximity"]
2942
+ }],
2943
+ /**
2944
+ * Touch Action
2945
+ * @see https://tailwindcss.com/docs/touch-action
2946
+ */
2947
+ touch: [{
2948
+ touch: ["auto", "none", "manipulation"]
2949
+ }],
2950
+ /**
2951
+ * Touch Action X
2952
+ * @see https://tailwindcss.com/docs/touch-action
2953
+ */
2954
+ "touch-x": [{
2955
+ "touch-pan": ["x", "left", "right"]
2956
+ }],
2957
+ /**
2958
+ * Touch Action Y
2959
+ * @see https://tailwindcss.com/docs/touch-action
2960
+ */
2961
+ "touch-y": [{
2962
+ "touch-pan": ["y", "up", "down"]
2963
+ }],
2964
+ /**
2965
+ * Touch Action Pinch Zoom
2966
+ * @see https://tailwindcss.com/docs/touch-action
2967
+ */
2968
+ "touch-pz": ["touch-pinch-zoom"],
2969
+ /**
2970
+ * User Select
2971
+ * @see https://tailwindcss.com/docs/user-select
2972
+ */
2973
+ select: [{
2974
+ select: ["none", "text", "all", "auto"]
2975
+ }],
2976
+ /**
2977
+ * Will Change
2978
+ * @see https://tailwindcss.com/docs/will-change
2979
+ */
2980
+ "will-change": [{
2981
+ "will-change": ["auto", "scroll", "contents", "transform", l, i]
2982
+ }],
2983
+ // -----------
2984
+ // --- SVG ---
2985
+ // -----------
2986
+ /**
2987
+ * Fill
2988
+ * @see https://tailwindcss.com/docs/fill
2989
+ */
2990
+ fill: [{
2991
+ fill: ["none", ...u()]
2992
+ }],
2993
+ /**
2994
+ * Stroke Width
2995
+ * @see https://tailwindcss.com/docs/stroke-width
2996
+ */
2997
+ "stroke-w": [{
2998
+ stroke: [h, ae, U, ge]
2999
+ }],
3000
+ /**
3001
+ * Stroke
3002
+ * @see https://tailwindcss.com/docs/stroke
3003
+ */
3004
+ stroke: [{
3005
+ stroke: ["none", ...u()]
3006
+ }],
3007
+ // ---------------------
3008
+ // --- Accessibility ---
3009
+ // ---------------------
3010
+ /**
3011
+ * Forced Color Adjust
3012
+ * @see https://tailwindcss.com/docs/forced-color-adjust
3013
+ */
3014
+ "forced-color-adjust": [{
3015
+ "forced-color-adjust": ["auto", "none"]
3016
+ }]
3017
+ },
3018
+ conflictingClassGroups: {
3019
+ overflow: ["overflow-x", "overflow-y"],
3020
+ overscroll: ["overscroll-x", "overscroll-y"],
3021
+ inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
3022
+ "inset-x": ["right", "left"],
3023
+ "inset-y": ["top", "bottom"],
3024
+ flex: ["basis", "grow", "shrink"],
3025
+ gap: ["gap-x", "gap-y"],
3026
+ p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
3027
+ px: ["pr", "pl"],
3028
+ py: ["pt", "pb"],
3029
+ m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
3030
+ mx: ["mr", "ml"],
3031
+ my: ["mt", "mb"],
3032
+ size: ["w", "h"],
3033
+ "font-size": ["leading"],
3034
+ "fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
3035
+ "fvn-ordinal": ["fvn-normal"],
3036
+ "fvn-slashed-zero": ["fvn-normal"],
3037
+ "fvn-figure": ["fvn-normal"],
3038
+ "fvn-spacing": ["fvn-normal"],
3039
+ "fvn-fraction": ["fvn-normal"],
3040
+ "line-clamp": ["display", "overflow"],
3041
+ rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l", "rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr", "rounded-br", "rounded-bl"],
3042
+ "rounded-s": ["rounded-ss", "rounded-es"],
3043
+ "rounded-e": ["rounded-se", "rounded-ee"],
3044
+ "rounded-t": ["rounded-tl", "rounded-tr"],
3045
+ "rounded-r": ["rounded-tr", "rounded-br"],
3046
+ "rounded-b": ["rounded-br", "rounded-bl"],
3047
+ "rounded-l": ["rounded-tl", "rounded-bl"],
3048
+ "border-spacing": ["border-spacing-x", "border-spacing-y"],
3049
+ "border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
3050
+ "border-w-x": ["border-w-r", "border-w-l"],
3051
+ "border-w-y": ["border-w-t", "border-w-b"],
3052
+ "border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
3053
+ "border-color-x": ["border-color-r", "border-color-l"],
3054
+ "border-color-y": ["border-color-t", "border-color-b"],
3055
+ translate: ["translate-x", "translate-y", "translate-none"],
3056
+ "translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
3057
+ "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
3058
+ "scroll-mx": ["scroll-mr", "scroll-ml"],
3059
+ "scroll-my": ["scroll-mt", "scroll-mb"],
3060
+ "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
3061
+ "scroll-px": ["scroll-pr", "scroll-pl"],
3062
+ "scroll-py": ["scroll-pt", "scroll-pb"],
3063
+ touch: ["touch-x", "touch-y", "touch-pz"],
3064
+ "touch-x": ["touch"],
3065
+ "touch-y": ["touch"],
3066
+ "touch-pz": ["touch"]
3067
+ },
3068
+ conflictingClassGroupModifiers: {
3069
+ "font-size": ["leading"]
3070
+ },
3071
+ orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3072
+ };
3073
+ }, Wr = /* @__PURE__ */ Er(Vr), q = (...e) => Wr(tr(e)), st = ({
3074
+ style: e,
3075
+ imageVar: o,
3076
+ className: t = "",
3077
+ ...r
308
3078
  }) => {
309
- const l = `bg-(image:${d})`;
310
- return /* @__PURE__ */ s.jsx(
3079
+ const s = `bg-(image:${o})`;
3080
+ return /* @__PURE__ */ p.jsx(
311
3081
  "div",
312
3082
  {
313
- ...c,
314
- className: [f, l].join(" "),
3083
+ ...r,
3084
+ className: q(t, s),
315
3085
  style: {
316
- ...a,
3086
+ ...e,
317
3087
  backgroundSize: "cover",
318
3088
  backgroundRepeat: "no-repeat"
319
3089
  }
320
3090
  }
321
3091
  );
322
- }, z = ({
323
- variant: a = "default",
324
- children: d,
325
- className: f,
326
- ...c
3092
+ }, Ae = ({
3093
+ variant: e = "default",
3094
+ children: o,
3095
+ className: t,
3096
+ ...r
327
3097
  }) => {
328
- const l = {
329
- diabled: c.disabled ? "bg-(--bg-smooth) text-(--fg-mini-text)" : `bg-(--bg-card) color-${a} cursor-pointer`,
330
- "hover:disabled": c.disabled ? "" : "hover:px-5 hover:py-3",
331
- "active:disabled": c.disabled ? "" : "active:px-3 active:py-1 active:bg-(--fg-component) active:opacity-[0.7]"
3098
+ const s = {
3099
+ diabled: r.disabled ? "bg-(--bg-smooth) text-(--fg-mini-text)" : `bg-(--bg-card) color-${e} cursor-pointer`,
3100
+ "hover:disabled": r.disabled ? "" : "hover:px-5 hover:py-3",
3101
+ "active:disabled": r.disabled ? "" : "active:px-3 active:py-1 active:bg-(--fg-component) active:opacity-[0.7]"
332
3102
  };
333
- return /* @__PURE__ */ s.jsx(
3103
+ return /* @__PURE__ */ p.jsx(
334
3104
  "button",
335
3105
  {
336
- className: [
3106
+ className: q(
337
3107
  "px-4 py-2 w-fit rounded-lg page duration-200",
338
- l.diabled,
339
- l["hover:disabled"],
340
- l["active:disabled"],
341
- f
342
- ].join(" "),
343
- ...c,
344
- children: d
3108
+ s.diabled,
3109
+ s["hover:disabled"],
3110
+ s["active:disabled"],
3111
+ t
3112
+ ),
3113
+ ...r,
3114
+ children: o
345
3115
  }
346
3116
  );
347
- }, Ee = ({ size: a, ref: d, className: f }) => /* @__PURE__ */ s.jsx(
3117
+ }, Yr = ({ size: e, ref: o, className: t }) => /* @__PURE__ */ p.jsx(
348
3118
  "svg",
349
3119
  {
350
- ref: d,
351
- width: a,
352
- height: a,
3120
+ ref: o,
3121
+ width: e,
3122
+ height: e,
353
3123
  viewBox: "0 0 24 24",
354
3124
  fill: "none",
355
- className: f,
3125
+ className: t,
356
3126
  xmlns: "http://www.w3.org/2000/svg",
357
- children: /* @__PURE__ */ s.jsx("g", { transform: "translate(4 6)", children: /* @__PURE__ */ s.jsx(
3127
+ children: /* @__PURE__ */ p.jsx("g", { transform: "translate(4 6)", children: /* @__PURE__ */ p.jsx(
358
3128
  "path",
359
3129
  {
360
3130
  d: "M1 6L6 11L16 1",
@@ -365,60 +3135,60 @@ const Fe = ({ actived: a, children: d, name: f }) => /* @__PURE__ */ s.jsx(ge, {
365
3135
  }
366
3136
  ) })
367
3137
  }
368
- ), xe = ({ size: a, ref: d, className: f }) => /* @__PURE__ */ s.jsx(
3138
+ ), Ur = ({ size: e, ref: o, className: t }) => /* @__PURE__ */ p.jsx(
369
3139
  "svg",
370
3140
  {
371
- ref: d,
372
- width: a,
373
- height: a,
3141
+ ref: o,
3142
+ width: e,
3143
+ height: e,
374
3144
  viewBox: "0 0 12 12",
375
3145
  fill: "none",
376
- className: f,
3146
+ className: t,
377
3147
  xmlns: "http://www.w3.org/2000/svg",
378
- children: /* @__PURE__ */ s.jsx("circle", { cx: "6", cy: "6", r: "6", fill: "#EDEDED" })
3148
+ children: /* @__PURE__ */ p.jsx("circle", { cx: "6", cy: "6", r: "6", fill: "#EDEDED" })
379
3149
  }
380
- ), Te = 8, Re = 1, Se = (Te + Re) * 2, je = ({
381
- inputName: a,
382
- inputId: d,
383
- className: f,
384
- style: c,
385
- onClick: l,
386
- size: p = 24,
387
- checked: y = !1,
388
- type: h,
389
- ...o
3150
+ ), qr = 8, Jr = 1, Hr = (qr + Jr) * 2, Xr = ({
3151
+ inputName: e,
3152
+ inputId: o,
3153
+ className: t,
3154
+ style: r,
3155
+ onClick: s,
3156
+ size: c = 24,
3157
+ checked: a = !1,
3158
+ type: m,
3159
+ ...d
390
3160
  }) => {
391
- const [r, g] = Z(y), n = G(null), e = G(null), i = `${p + Se}px`;
392
- return pe(() => {
393
- n.current && (e.current && (e.current.checked = r), r ? n.current.style.display = c?.display || "block" : n.current.style.opacity = "0", setTimeout(() => {
394
- n.current && (r ? n.current.style.opacity = "1" : n.current.style.display = "none");
3161
+ const [g, w] = Se(a), k = ve(null), E = ve(null), _ = `${c + Hr}px`;
3162
+ return qe(() => {
3163
+ k.current && (E.current && (E.current.checked = g), g ? k.current.style.display = r?.display || "block" : k.current.style.opacity = "0", setTimeout(() => {
3164
+ k.current && (g ? k.current.style.opacity = "1" : k.current.style.display = "none");
395
3165
  }, 100));
396
- }, [r, c?.display]), /* @__PURE__ */ s.jsxs(
3166
+ }, [g, r?.display]), /* @__PURE__ */ p.jsxs(
397
3167
  "div",
398
3168
  {
399
3169
  className: [
400
3170
  "bg-(--bg-card) border-(--fg-mini-text) border-1 p-[8px] cursor-pointer duration-300",
401
- h === "checkbox" ? "rounded-[20%]" : "rounded-[100%]",
3171
+ m === "checkbox" ? "rounded-[20%]" : "rounded-[100%]",
402
3172
  "hover:bg-(--fg-card)",
403
- f
3173
+ t
404
3174
  ].join(" "),
405
3175
  style: {
406
- height: i,
407
- width: i,
408
- ...c
3176
+ height: _,
3177
+ width: _,
3178
+ ...r
409
3179
  },
410
- onClick: (b) => {
411
- l?.(b), g(!r);
3180
+ onClick: (A) => {
3181
+ s?.(A), w(!g);
412
3182
  },
413
- ...o,
3183
+ ...d,
414
3184
  children: [
415
- h === "checkbox" ? /* @__PURE__ */ s.jsx(Ee, { className: "duration-300", ref: n, size: p }) : /* @__PURE__ */ s.jsx(xe, { className: "duration-300", ref: n, size: p }),
416
- /* @__PURE__ */ s.jsx(
3185
+ m === "checkbox" ? /* @__PURE__ */ p.jsx(Yr, { className: "duration-300", ref: k, size: c }) : /* @__PURE__ */ p.jsx(Ur, { className: "duration-300", ref: k, size: c }),
3186
+ /* @__PURE__ */ p.jsx(
417
3187
  "input",
418
3188
  {
419
- ref: e,
420
- name: a,
421
- id: d,
3189
+ ref: E,
3190
+ name: e,
3191
+ id: o,
422
3192
  type: "checkbox",
423
3193
  style: { display: "none" }
424
3194
  }
@@ -426,467 +3196,109 @@ const Fe = ({ actived: a, children: d, name: f }) => /* @__PURE__ */ s.jsx(ge, {
426
3196
  ]
427
3197
  }
428
3198
  );
429
- }, Ue = (a) => /* @__PURE__ */ s.jsx(je, { type: "checkbox", ...a }), Ye = ({ className: a, ...d }) => /* @__PURE__ */ s.jsx(
3199
+ }, at = (e) => /* @__PURE__ */ p.jsx(Xr, { type: "checkbox", ...e }), it = ({ className: e, ...o }) => /* @__PURE__ */ p.jsx(
430
3200
  "input",
431
3201
  {
432
3202
  placeholder: "input here...",
433
- ...d,
434
- className: [
435
- a || "",
436
- "bg-(--bg-card) px-4 py-2 rounded-lg min-w-30 max-w-60"
437
- ].join(" ")
3203
+ ...o,
3204
+ className: q(
3205
+ "bg-(--bg-card) px-4 py-2 rounded-lg min-w-30 max-w-60",
3206
+ e
3207
+ )
438
3208
  }
439
- ), He = ({ className: a, ...d }) => /* @__PURE__ */ s.jsx(
3209
+ ), lt = ({ className: e, ...o }) => /* @__PURE__ */ p.jsx(
440
3210
  "textarea",
441
3211
  {
442
3212
  placeholder: "write here...",
443
- ...d,
444
- className: [
445
- a || "",
446
- "bg-(--bg-card) px-4 py-2 rounded-lg min-w-30 max-w-150 min-h-10 resize"
447
- ].join(" ")
448
- }
449
- );
450
- var A = { exports: {} }, O = {};
451
- var X;
452
- function De() {
453
- if (X) return O;
454
- X = 1;
455
- var a = I;
456
- function d(o) {
457
- var r = "https://react.dev/errors/" + o;
458
- if (1 < arguments.length) {
459
- r += "?args[]=" + encodeURIComponent(arguments[1]);
460
- for (var g = 2; g < arguments.length; g++)
461
- r += "&args[]=" + encodeURIComponent(arguments[g]);
462
- }
463
- return "Minified React error #" + o + "; visit " + r + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
464
- }
465
- function f() {
466
- }
467
- var c = {
468
- d: {
469
- f,
470
- r: function() {
471
- throw Error(d(522));
472
- },
473
- D: f,
474
- C: f,
475
- L: f,
476
- m: f,
477
- X: f,
478
- S: f,
479
- M: f
480
- },
481
- p: 0,
482
- findDOMNode: null
483
- }, l = /* @__PURE__ */ Symbol.for("react.portal");
484
- function p(o, r, g) {
485
- var n = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
486
- return {
487
- $$typeof: l,
488
- key: n == null ? null : "" + n,
489
- children: o,
490
- containerInfo: r,
491
- implementation: g
492
- };
3213
+ ...o,
3214
+ className: q(
3215
+ "bg-(--bg-card) px-4 py-2 rounded-lg min-w-30 max-w-150 min-h-10 resize",
3216
+ e
3217
+ )
493
3218
  }
494
- var y = a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
495
- function h(o, r) {
496
- if (o === "font") return "";
497
- if (typeof r == "string")
498
- return r === "use-credentials" ? r : "";
499
- }
500
- return O.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = c, O.createPortal = function(o, r) {
501
- var g = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
502
- if (!r || r.nodeType !== 1 && r.nodeType !== 9 && r.nodeType !== 11)
503
- throw Error(d(299));
504
- return p(o, r, null, g);
505
- }, O.flushSync = function(o) {
506
- var r = y.T, g = c.p;
507
- try {
508
- if (y.T = null, c.p = 2, o) return o();
509
- } finally {
510
- y.T = r, c.p = g, c.d.f();
511
- }
512
- }, O.preconnect = function(o, r) {
513
- typeof o == "string" && (r ? (r = r.crossOrigin, r = typeof r == "string" ? r === "use-credentials" ? r : "" : void 0) : r = null, c.d.C(o, r));
514
- }, O.prefetchDNS = function(o) {
515
- typeof o == "string" && c.d.D(o);
516
- }, O.preinit = function(o, r) {
517
- if (typeof o == "string" && r && typeof r.as == "string") {
518
- var g = r.as, n = h(g, r.crossOrigin), e = typeof r.integrity == "string" ? r.integrity : void 0, i = typeof r.fetchPriority == "string" ? r.fetchPriority : void 0;
519
- g === "style" ? c.d.S(
520
- o,
521
- typeof r.precedence == "string" ? r.precedence : void 0,
522
- {
523
- crossOrigin: n,
524
- integrity: e,
525
- fetchPriority: i
526
- }
527
- ) : g === "script" && c.d.X(o, {
528
- crossOrigin: n,
529
- integrity: e,
530
- fetchPriority: i,
531
- nonce: typeof r.nonce == "string" ? r.nonce : void 0
532
- });
533
- }
534
- }, O.preinitModule = function(o, r) {
535
- if (typeof o == "string")
536
- if (typeof r == "object" && r !== null) {
537
- if (r.as == null || r.as === "script") {
538
- var g = h(
539
- r.as,
540
- r.crossOrigin
541
- );
542
- c.d.M(o, {
543
- crossOrigin: g,
544
- integrity: typeof r.integrity == "string" ? r.integrity : void 0,
545
- nonce: typeof r.nonce == "string" ? r.nonce : void 0
546
- });
547
- }
548
- } else r == null && c.d.M(o);
549
- }, O.preload = function(o, r) {
550
- if (typeof o == "string" && typeof r == "object" && r !== null && typeof r.as == "string") {
551
- var g = r.as, n = h(g, r.crossOrigin);
552
- c.d.L(o, g, {
553
- crossOrigin: n,
554
- integrity: typeof r.integrity == "string" ? r.integrity : void 0,
555
- nonce: typeof r.nonce == "string" ? r.nonce : void 0,
556
- type: typeof r.type == "string" ? r.type : void 0,
557
- fetchPriority: typeof r.fetchPriority == "string" ? r.fetchPriority : void 0,
558
- referrerPolicy: typeof r.referrerPolicy == "string" ? r.referrerPolicy : void 0,
559
- imageSrcSet: typeof r.imageSrcSet == "string" ? r.imageSrcSet : void 0,
560
- imageSizes: typeof r.imageSizes == "string" ? r.imageSizes : void 0,
561
- media: typeof r.media == "string" ? r.media : void 0
562
- });
563
- }
564
- }, O.preloadModule = function(o, r) {
565
- if (typeof o == "string")
566
- if (r) {
567
- var g = h(r.as, r.crossOrigin);
568
- c.d.m(o, {
569
- as: typeof r.as == "string" && r.as !== "script" ? r.as : void 0,
570
- crossOrigin: g,
571
- integrity: typeof r.integrity == "string" ? r.integrity : void 0
572
- });
573
- } else c.d.m(o);
574
- }, O.requestFormReset = function(o) {
575
- c.d.r(o);
576
- }, O.unstable_batchedUpdates = function(o, r) {
577
- return o(r);
578
- }, O.useFormState = function(o, r, g) {
579
- return y.H.useFormState(o, r, g);
580
- }, O.useFormStatus = function() {
581
- return y.H.useHostTransitionStatus();
582
- }, O.version = "19.2.3", O;
583
- }
584
- var E = {};
585
- var J;
586
- function we() {
587
- return J || (J = 1, process.env.NODE_ENV !== "production" && (function() {
588
- function a() {
589
- }
590
- function d(n) {
591
- return "" + n;
592
- }
593
- function f(n, e, i) {
594
- var b = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
595
- try {
596
- d(b);
597
- var x = !1;
598
- } catch {
599
- x = !0;
600
- }
601
- return x && (console.error(
602
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
603
- typeof Symbol == "function" && Symbol.toStringTag && b[Symbol.toStringTag] || b.constructor.name || "Object"
604
- ), d(b)), {
605
- $$typeof: r,
606
- key: b == null ? null : "" + b,
607
- children: n,
608
- containerInfo: e,
609
- implementation: i
610
- };
611
- }
612
- function c(n, e) {
613
- if (n === "font") return "";
614
- if (typeof e == "string")
615
- return e === "use-credentials" ? e : "";
616
- }
617
- function l(n) {
618
- return n === null ? "`null`" : n === void 0 ? "`undefined`" : n === "" ? "an empty string" : 'something with type "' + typeof n + '"';
619
- }
620
- function p(n) {
621
- return n === null ? "`null`" : n === void 0 ? "`undefined`" : n === "" ? "an empty string" : typeof n == "string" ? JSON.stringify(n) : typeof n == "number" ? "`" + n + "`" : 'something with type "' + typeof n + '"';
622
- }
623
- function y() {
624
- var n = g.H;
625
- return n === null && console.error(
626
- `Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
627
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
628
- 2. You might be breaking the Rules of Hooks
629
- 3. You might have more than one copy of React in the same app
630
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
631
- ), n;
632
- }
633
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
634
- var h = I, o = {
635
- d: {
636
- f: a,
637
- r: function() {
638
- throw Error(
639
- "Invalid form element. requestFormReset must be passed a form that was rendered by React."
640
- );
641
- },
642
- D: a,
643
- C: a,
644
- L: a,
645
- m: a,
646
- X: a,
647
- S: a,
648
- M: a
649
- },
650
- p: 0,
651
- findDOMNode: null
652
- }, r = /* @__PURE__ */ Symbol.for("react.portal"), g = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
653
- typeof Map == "function" && Map.prototype != null && typeof Map.prototype.forEach == "function" && typeof Set == "function" && Set.prototype != null && typeof Set.prototype.clear == "function" && typeof Set.prototype.forEach == "function" || console.error(
654
- "React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
655
- ), E.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = o, E.createPortal = function(n, e) {
656
- var i = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
657
- if (!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11)
658
- throw Error("Target container is not a DOM element.");
659
- return f(n, e, null, i);
660
- }, E.flushSync = function(n) {
661
- var e = g.T, i = o.p;
662
- try {
663
- if (g.T = null, o.p = 2, n)
664
- return n();
665
- } finally {
666
- g.T = e, o.p = i, o.d.f() && console.error(
667
- "flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."
668
- );
669
- }
670
- }, E.preconnect = function(n, e) {
671
- typeof n == "string" && n ? e != null && typeof e != "object" ? console.error(
672
- "ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",
673
- p(e)
674
- ) : e != null && typeof e.crossOrigin != "string" && console.error(
675
- "ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",
676
- l(e.crossOrigin)
677
- ) : console.error(
678
- "ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
679
- l(n)
680
- ), typeof n == "string" && (e ? (e = e.crossOrigin, e = typeof e == "string" ? e === "use-credentials" ? e : "" : void 0) : e = null, o.d.C(n, e));
681
- }, E.prefetchDNS = function(n) {
682
- if (typeof n != "string" || !n)
683
- console.error(
684
- "ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
685
- l(n)
686
- );
687
- else if (1 < arguments.length) {
688
- var e = arguments[1];
689
- typeof e == "object" && e.hasOwnProperty("crossOrigin") ? console.error(
690
- "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
691
- p(e)
692
- ) : console.error(
693
- "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
694
- p(e)
695
- );
696
- }
697
- typeof n == "string" && o.d.D(n);
698
- }, E.preinit = function(n, e) {
699
- if (typeof n == "string" && n ? e == null || typeof e != "object" ? console.error(
700
- "ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",
701
- p(e)
702
- ) : e.as !== "style" && e.as !== "script" && console.error(
703
- 'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',
704
- p(e.as)
705
- ) : console.error(
706
- "ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
707
- l(n)
708
- ), typeof n == "string" && e && typeof e.as == "string") {
709
- var i = e.as, b = c(i, e.crossOrigin), x = typeof e.integrity == "string" ? e.integrity : void 0, T = typeof e.fetchPriority == "string" ? e.fetchPriority : void 0;
710
- i === "style" ? o.d.S(
711
- n,
712
- typeof e.precedence == "string" ? e.precedence : void 0,
713
- {
714
- crossOrigin: b,
715
- integrity: x,
716
- fetchPriority: T
717
- }
718
- ) : i === "script" && o.d.X(n, {
719
- crossOrigin: b,
720
- integrity: x,
721
- fetchPriority: T,
722
- nonce: typeof e.nonce == "string" ? e.nonce : void 0
723
- });
724
- }
725
- }, E.preinitModule = function(n, e) {
726
- var i = "";
727
- typeof n == "string" && n || (i += " The `href` argument encountered was " + l(n) + "."), e !== void 0 && typeof e != "object" ? i += " The `options` argument encountered was " + l(e) + "." : e && "as" in e && e.as !== "script" && (i += " The `as` option encountered was " + p(e.as) + "."), i ? console.error(
728
- "ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",
729
- i
730
- ) : (i = e && typeof e.as == "string" ? e.as : "script", i) === "script" || (i = p(i), console.error(
731
- 'ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',
732
- i,
733
- n
734
- )), typeof n == "string" && (typeof e == "object" && e !== null ? (e.as == null || e.as === "script") && (i = c(
735
- e.as,
736
- e.crossOrigin
737
- ), o.d.M(n, {
738
- crossOrigin: i,
739
- integrity: typeof e.integrity == "string" ? e.integrity : void 0,
740
- nonce: typeof e.nonce == "string" ? e.nonce : void 0
741
- })) : e == null && o.d.M(n));
742
- }, E.preload = function(n, e) {
743
- var i = "";
744
- if (typeof n == "string" && n || (i += " The `href` argument encountered was " + l(n) + "."), e == null || typeof e != "object" ? i += " The `options` argument encountered was " + l(e) + "." : typeof e.as == "string" && e.as || (i += " The `as` option encountered was " + l(e.as) + "."), i && console.error(
745
- 'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',
746
- i
747
- ), typeof n == "string" && typeof e == "object" && e !== null && typeof e.as == "string") {
748
- i = e.as;
749
- var b = c(
750
- i,
751
- e.crossOrigin
752
- );
753
- o.d.L(n, i, {
754
- crossOrigin: b,
755
- integrity: typeof e.integrity == "string" ? e.integrity : void 0,
756
- nonce: typeof e.nonce == "string" ? e.nonce : void 0,
757
- type: typeof e.type == "string" ? e.type : void 0,
758
- fetchPriority: typeof e.fetchPriority == "string" ? e.fetchPriority : void 0,
759
- referrerPolicy: typeof e.referrerPolicy == "string" ? e.referrerPolicy : void 0,
760
- imageSrcSet: typeof e.imageSrcSet == "string" ? e.imageSrcSet : void 0,
761
- imageSizes: typeof e.imageSizes == "string" ? e.imageSizes : void 0,
762
- media: typeof e.media == "string" ? e.media : void 0
763
- });
764
- }
765
- }, E.preloadModule = function(n, e) {
766
- var i = "";
767
- typeof n == "string" && n || (i += " The `href` argument encountered was " + l(n) + "."), e !== void 0 && typeof e != "object" ? i += " The `options` argument encountered was " + l(e) + "." : e && "as" in e && typeof e.as != "string" && (i += " The `as` option encountered was " + l(e.as) + "."), i && console.error(
768
- 'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',
769
- i
770
- ), typeof n == "string" && (e ? (i = c(
771
- e.as,
772
- e.crossOrigin
773
- ), o.d.m(n, {
774
- as: typeof e.as == "string" && e.as !== "script" ? e.as : void 0,
775
- crossOrigin: i,
776
- integrity: typeof e.integrity == "string" ? e.integrity : void 0
777
- })) : o.d.m(n));
778
- }, E.requestFormReset = function(n) {
779
- o.d.r(n);
780
- }, E.unstable_batchedUpdates = function(n, e) {
781
- return n(e);
782
- }, E.useFormState = function(n, e, i) {
783
- return y().useFormState(n, e, i);
784
- }, E.useFormStatus = function() {
785
- return y().useHostTransitionStatus();
786
- }, E.version = "19.2.3", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
787
- })()), E;
788
- }
789
- var K;
790
- function Ne() {
791
- if (K) return A.exports;
792
- K = 1;
793
- function a() {
794
- if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) {
795
- if (process.env.NODE_ENV !== "production")
796
- throw new Error("^_^");
797
- try {
798
- __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a);
799
- } catch (d) {
800
- console.error(d);
801
- }
802
- }
803
- }
804
- return process.env.NODE_ENV === "production" ? (a(), A.exports = De()) : A.exports = we(), A.exports;
805
- }
806
- var Ae = Ne();
807
- const Be = ({
808
- container: a,
809
- children: d,
810
- portalKey: f,
811
- className: c = "",
812
- zIndex: l,
813
- style: p,
814
- ...y
3219
+ ), ct = ({
3220
+ container: e,
3221
+ children: o,
3222
+ portalKey: t,
3223
+ className: r = "",
3224
+ zIndex: s,
3225
+ style: c,
3226
+ ...a
815
3227
  }) => {
816
- const h = l ? "" : "z-100";
817
- return Ae.createPortal(
818
- /* @__PURE__ */ s.jsx(
3228
+ const m = s ? "" : "z-100";
3229
+ return Je(
3230
+ /* @__PURE__ */ p.jsx(
819
3231
  "div",
820
3232
  {
821
- className: [
3233
+ className: q(
822
3234
  "fixed top-0 h-screen w-screen",
823
- h,
824
- c
825
- ].join(" "),
826
- ...y,
3235
+ m,
3236
+ r
3237
+ ),
3238
+ ...a,
827
3239
  style: {
828
- zIndex: l,
829
- ...p
3240
+ zIndex: s,
3241
+ ...c
830
3242
  },
831
- children: d
3243
+ children: o
832
3244
  }
833
3245
  ),
834
- a,
835
- f
3246
+ e,
3247
+ t
836
3248
  );
837
- }, ke = 12, Pe = 8, Ge = ({
838
- inputId: a,
839
- inputName: d,
840
- dangerousDisableError: f = !1,
841
- style: c,
842
- className: l,
843
- onClick: p,
844
- radioSize: y = 24,
845
- checked: h = !1,
846
- ...o
3249
+ }, Zr = 12, Qr = 8, dt = ({
3250
+ inputId: e,
3251
+ inputName: o,
3252
+ dangerousDisableError: t = !1,
3253
+ style: r,
3254
+ className: s,
3255
+ onClick: c,
3256
+ radioSize: a = 24,
3257
+ checked: m = !1,
3258
+ ...d
847
3259
  }) => {
848
- const [r, g] = Z(h);
849
- y < ke && !f && console.error(
3260
+ const [g, w] = Se(m);
3261
+ a < Zr && !t && console.error(
850
3262
  "radio size less than minimal, set radioSize = 12 or more too resolve"
851
3263
  );
852
- const n = y * 4, e = n - Pe * 2 - y, i = r ? "bg-(--bg-card)" : "bg-(--bg-section)", b = r ? "bg-(--fg-default)" : "bg-(--fg-mini-text)", x = r ? e : 0;
853
- return /* @__PURE__ */ s.jsxs(
3264
+ const k = a * 4, E = k - Qr * 2 - a, _ = g ? "bg-(--bg-card)" : "bg-(--bg-section)", A = g ? "bg-(--fg-default)" : "bg-(--fg-mini-text)", T = g ? E : 0;
3265
+ return /* @__PURE__ */ p.jsxs(
854
3266
  "div",
855
3267
  {
856
3268
  style: {
857
- width: `${n}px`,
858
- ...c
3269
+ width: `${k}px`,
3270
+ ...r
859
3271
  },
860
- className: [
3272
+ className: q(
861
3273
  "rounded-[200px] py-[6px] px-[8px] cursor-pointer duration-300",
862
- i,
3274
+ _,
863
3275
  "hover:bg-(--fg-card)",
864
- l
865
- ].join(" "),
866
- onClick: (T) => {
867
- g(!r), p?.(T);
3276
+ s
3277
+ ),
3278
+ onClick: (R) => {
3279
+ w(!g), c?.(R);
868
3280
  },
869
- ...o,
3281
+ ...d,
870
3282
  children: [
871
- /* @__PURE__ */ s.jsx(
3283
+ /* @__PURE__ */ p.jsx(
872
3284
  "div",
873
3285
  {
874
3286
  className: [
875
3287
  "relative duration-300 rounded-[100%]",
876
- b
3288
+ A
877
3289
  ].join(" "),
878
3290
  style: {
879
- height: `${y}px`,
880
- width: `${y}px`,
881
- left: `${x}px`
3291
+ height: `${a}px`,
3292
+ width: `${a}px`,
3293
+ left: `${T}px`
882
3294
  }
883
3295
  }
884
3296
  ),
885
- /* @__PURE__ */ s.jsx(
3297
+ /* @__PURE__ */ p.jsx(
886
3298
  "input",
887
3299
  {
888
- name: d,
889
- id: a,
3300
+ name: o,
3301
+ id: e,
890
3302
  type: "checkbox",
891
3303
  style: { display: "none" }
892
3304
  }
@@ -894,94 +3306,95 @@ const Be = ({
894
3306
  ]
895
3307
  }
896
3308
  );
897
- }, Ve = ({
898
- flexDirection: a = "row",
899
- className: d,
900
- ...f
3309
+ }, ut = ({
3310
+ flexDirection: e = "row",
3311
+ className: o,
3312
+ ...t
901
3313
  }) => {
902
- const c = a === "col" ? "flex-col" : "flex-row";
903
- return /* @__PURE__ */ s.jsx(
3314
+ const r = e === "col" ? "flex-col" : "flex-row";
3315
+ return /* @__PURE__ */ p.jsx(
904
3316
  "div",
905
3317
  {
906
- ...f,
907
- className: [
908
- d || "",
909
- c,
910
- "bg-(image:--image-bg) flex gap-8 px-12 py-4 rounded-lg page"
911
- ].join(" ")
3318
+ ...t,
3319
+ className: q(
3320
+ "bg-(image:--image-bg) flex gap-8 px-12 py-4 rounded-lg page",
3321
+ r,
3322
+ o
3323
+ )
912
3324
  }
913
3325
  );
914
- }, Me = () => /* @__PURE__ */ s.jsxs("div", { className: "flex flex-col justify-center gap-4", children: [
915
- Object.keys(ee).map((a) => /* @__PURE__ */ s.jsxs(z, { variant: a, children: [
3326
+ }, Kr = () => /* @__PURE__ */ p.jsxs("div", { className: "flex flex-col justify-center gap-4", children: [
3327
+ Object.keys(Ce).map((e) => /* @__PURE__ */ p.jsxs(Ae, { variant: e, children: [
916
3328
  "Button ",
917
- a
918
- ] }, a)),
919
- /* @__PURE__ */ s.jsx(z, { disabled: !0, children: "Button Disabled" })
920
- ] }), Ce = () => /* @__PURE__ */ s.jsxs("div", { className: "flex flex-col gap-2 rounded-lg", children: [
921
- /* @__PURE__ */ s.jsxs("div", { children: [
922
- /* @__PURE__ */ s.jsxs("h1", { children: [
3329
+ e
3330
+ ] }, e)),
3331
+ /* @__PURE__ */ p.jsx(Ae, { disabled: !0, children: "Button Disabled" })
3332
+ ] }), et = () => /* @__PURE__ */ p.jsxs("div", { className: "flex flex-col gap-2 rounded-lg", children: [
3333
+ /* @__PURE__ */ p.jsxs("div", { children: [
3334
+ /* @__PURE__ */ p.jsxs("h1", { children: [
923
3335
  "H1 text, ",
924
- R.h1
3336
+ F.h1
925
3337
  ] }),
926
- /* @__PURE__ */ s.jsx("span", { children: "Пока не знаю" })
3338
+ /* @__PURE__ */ p.jsx("span", { children: "Пока не знаю" })
927
3339
  ] }),
928
- /* @__PURE__ */ s.jsxs("div", { children: [
929
- /* @__PURE__ */ s.jsxs("h2", { children: [
3340
+ /* @__PURE__ */ p.jsxs("div", { children: [
3341
+ /* @__PURE__ */ p.jsxs("h2", { children: [
930
3342
  "H2 text, ",
931
- R.h2
3343
+ F.h2
932
3344
  ] }),
933
- /* @__PURE__ */ s.jsx("span", { children: "Пока не знаю" })
3345
+ /* @__PURE__ */ p.jsx("span", { children: "Пока не знаю" })
934
3346
  ] }),
935
- /* @__PURE__ */ s.jsxs("div", { children: [
936
- /* @__PURE__ */ s.jsxs("h3", { children: [
3347
+ /* @__PURE__ */ p.jsxs("div", { children: [
3348
+ /* @__PURE__ */ p.jsxs("h3", { children: [
937
3349
  "H3 text, ",
938
- R.h3
3350
+ F.h3
939
3351
  ] }),
940
- /* @__PURE__ */ s.jsx("span", { children: "Пока не знаю" })
3352
+ /* @__PURE__ */ p.jsx("span", { children: "Пока не знаю" })
941
3353
  ] }),
942
- /* @__PURE__ */ s.jsxs("div", { children: [
943
- /* @__PURE__ */ s.jsxs("h4", { children: [
3354
+ /* @__PURE__ */ p.jsxs("div", { children: [
3355
+ /* @__PURE__ */ p.jsxs("h4", { children: [
944
3356
  "H4 text, ",
945
- R.h4
3357
+ F.h4
946
3358
  ] }),
947
- /* @__PURE__ */ s.jsx("span", { children: "Пока не знаю" })
3359
+ /* @__PURE__ */ p.jsx("span", { children: "Пока не знаю" })
948
3360
  ] }),
949
- /* @__PURE__ */ s.jsxs("div", { children: [
950
- /* @__PURE__ */ s.jsxs("h5", { children: [
3361
+ /* @__PURE__ */ p.jsxs("div", { children: [
3362
+ /* @__PURE__ */ p.jsxs("h5", { children: [
951
3363
  "H5 text, ",
952
- R.h5
3364
+ F.h5
953
3365
  ] }),
954
- /* @__PURE__ */ s.jsx("span", { children: "Пока не знаю" })
3366
+ /* @__PURE__ */ p.jsx("span", { children: "Пока не знаю" })
955
3367
  ] }),
956
- /* @__PURE__ */ s.jsxs("div", { className: "flex flex-col", children: [
957
- /* @__PURE__ */ s.jsxs("span", { children: [
3368
+ /* @__PURE__ */ p.jsxs("div", { className: "flex flex-col", children: [
3369
+ /* @__PURE__ */ p.jsxs("span", { children: [
958
3370
  "Base text, ",
959
- R.base
3371
+ F.base
960
3372
  ] }),
961
- /* @__PURE__ */ s.jsx("span", { children: "Пока не знаю" })
3373
+ /* @__PURE__ */ p.jsx("span", { children: "Пока не знаю" })
962
3374
  ] }),
963
- /* @__PURE__ */ s.jsxs("div", { className: "flex flex-col", children: [
964
- /* @__PURE__ */ s.jsxs("span", { className: "text-mini", children: [
3375
+ /* @__PURE__ */ p.jsxs("div", { className: "flex flex-col", children: [
3376
+ /* @__PURE__ */ p.jsxs("span", { className: "text-mini", children: [
965
3377
  "Mini text, ",
966
- R.mini
3378
+ F.mini
967
3379
  ] }),
968
- /* @__PURE__ */ s.jsx("span", { children: "Пока не знаю" })
3380
+ /* @__PURE__ */ p.jsx("span", { children: "Пока не знаю" })
969
3381
  ] })
970
- ] }), We = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3382
+ ] }), mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
971
3383
  __proto__: null,
972
- Button: Me,
973
- Text: Ce
3384
+ Button: Kr,
3385
+ Text: et
974
3386
  }, Symbol.toStringTag, { value: "Module" }));
975
3387
  export {
976
- Fe as Active,
977
- $e as Background,
978
- z as Button,
979
- Ue as Checkbox,
980
- We as Guildline,
981
- Ye as Input,
982
- Be as Modal,
983
- Ge as Switch,
984
- He as Textarea,
985
- Ie as VARIABLES,
986
- Ve as Wrapper
3388
+ nt as Active,
3389
+ st as Background,
3390
+ Ae as Button,
3391
+ at as Checkbox,
3392
+ mt as Guildline,
3393
+ it as Input,
3394
+ ct as Modal,
3395
+ dt as Switch,
3396
+ lt as Textarea,
3397
+ ot as VARIABLES,
3398
+ ut as Wrapper
987
3399
  };
3400
+ //# sourceMappingURL=tvuikit.es.js.map