@vezham/shared-varaints 0.3.0 → 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.
package/index.mjs CHANGED
@@ -1,13 +1,13 @@
1
- var ee = ["small", "medium", "large"], pe = {
1
+ var D = ["small", "medium", "large"], de = {
2
2
  theme: {
3
3
  opacity: ["disabled"],
4
4
  spacing: ["divider"],
5
- borderWidth: ee,
6
- borderRadius: ee
5
+ borderWidth: D,
6
+ borderRadius: D
7
7
  },
8
8
  classGroups: {
9
- shadow: [{ shadow: ee }],
10
- "font-size": [{ text: ["tiny", ...ee] }],
9
+ shadow: [{ shadow: D }],
10
+ "font-size": [{ text: ["tiny", ...D] }],
11
11
  "bg-image": [
12
12
  "bg-stripe-gradient-default",
13
13
  "bg-stripe-gradient-primary",
@@ -18,56 +18,56 @@ var ee = ["small", "medium", "large"], pe = {
18
18
  "bg-stripe-gradient-info"
19
19
  ]
20
20
  }
21
- }, fe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, G = (e) => !e || typeof e != "object" || Object.keys(e).length === 0, Se = (e, t) => JSON.stringify(e) === JSON.stringify(t);
22
- function he(e, t) {
21
+ }, pe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, j = (e) => !e || typeof e != "object" || Object.keys(e).length === 0, Se = (e, t) => JSON.stringify(e) === JSON.stringify(t);
22
+ function me(e, t) {
23
23
  e.forEach(function(r) {
24
- Array.isArray(r) ? he(r, t) : t.push(r);
24
+ Array.isArray(r) ? me(r, t) : t.push(r);
25
25
  });
26
26
  }
27
- function ye(e) {
27
+ function he(e) {
28
28
  let t = [];
29
- return he(e, t), t;
29
+ return me(e, t), t;
30
30
  }
31
- var we = (...e) => ye(e).filter(Boolean), ve = (e, t) => {
32
- let r = {}, n = Object.keys(e), l = Object.keys(t);
33
- for (let o of n) if (l.includes(o)) {
34
- let i = e[o], s = t[o];
35
- Array.isArray(i) || Array.isArray(s) ? r[o] = we(s, i) : typeof i == "object" && typeof s == "object" ? r[o] = ve(i, s) : r[o] = s + " " + i;
31
+ var ye = (...e) => he(e).filter(Boolean), we = (e, t) => {
32
+ let r = {}, n = Object.keys(e), i = Object.keys(t);
33
+ for (let o of n) if (i.includes(o)) {
34
+ let l = e[o], s = t[o];
35
+ typeof l == "object" && typeof s == "object" ? r[o] = we(l, s) : Array.isArray(l) || Array.isArray(s) ? r[o] = ye(s, l) : r[o] = s + " " + l;
36
36
  } else r[o] = e[o];
37
- for (let o of l) n.includes(o) || (r[o] = t[o]);
37
+ for (let o of i) n.includes(o) || (r[o] = t[o]);
38
38
  return r;
39
39
  }, ue = (e) => !e || typeof e != "string" ? e : e.replace(/\s+/g, " ").trim();
40
- const ce = "-", je = (e) => {
40
+ const ie = "-", Ge = (e) => {
41
41
  const t = Pe(e), {
42
42
  conflictingClassGroups: r,
43
43
  conflictingClassGroupModifiers: n
44
44
  } = e;
45
45
  return {
46
- getClassGroupId: (i) => {
47
- const s = i.split(ce);
48
- return s[0] === "" && s.length !== 1 && s.shift(), xe(s, t) || Ge(i);
46
+ getClassGroupId: (l) => {
47
+ const s = l.split(ie);
48
+ return s[0] === "" && s.length !== 1 && s.shift(), ve(s, t) || je(l);
49
49
  },
50
- getConflictingClassGroupIds: (i, s) => {
51
- const p = r[i] || [];
52
- return s && n[i] ? [...p, ...n[i]] : p;
50
+ getConflictingClassGroupIds: (l, s) => {
51
+ const p = r[l] || [];
52
+ return s && n[l] ? [...p, ...n[l]] : p;
53
53
  }
54
54
  };
55
- }, xe = (e, t) => {
56
- var i;
55
+ }, ve = (e, t) => {
56
+ var l;
57
57
  if (e.length === 0)
58
58
  return t.classGroupId;
59
- const r = e[0], n = t.nextPart.get(r), l = n ? xe(e.slice(1), n) : void 0;
60
- if (l)
61
- return l;
59
+ const r = e[0], n = t.nextPart.get(r), i = n ? ve(e.slice(1), n) : void 0;
60
+ if (i)
61
+ return i;
62
62
  if (t.validators.length === 0)
63
63
  return;
64
- const o = e.join(ce);
65
- return (i = t.validators.find(({
64
+ const o = e.join(ie);
65
+ return (l = t.validators.find(({
66
66
  validator: s
67
- }) => s(o))) == null ? void 0 : i.classGroupId;
68
- }, ge = /^\[(.+)\]$/, Ge = (e) => {
69
- if (ge.test(e)) {
70
- const t = ge.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
67
+ }) => s(o))) == null ? void 0 : l.classGroupId;
68
+ }, fe = /^\[(.+)\]$/, je = (e) => {
69
+ if (fe.test(e)) {
70
+ const t = fe.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
71
71
  if (r)
72
72
  return "arbitrary.." + r;
73
73
  }
@@ -79,42 +79,42 @@ const ce = "-", je = (e) => {
79
79
  nextPart: /* @__PURE__ */ new Map(),
80
80
  validators: []
81
81
  };
82
- return Ve(Object.entries(e.classGroups), r).forEach(([o, i]) => {
83
- se(i, n, o, t);
82
+ return Ve(Object.entries(e.classGroups), r).forEach(([o, l]) => {
83
+ ne(l, n, o, t);
84
84
  }), n;
85
- }, se = (e, t, r, n) => {
86
- e.forEach((l) => {
87
- if (typeof l == "string") {
88
- const o = l === "" ? t : be(t, l);
85
+ }, ne = (e, t, r, n) => {
86
+ e.forEach((i) => {
87
+ if (typeof i == "string") {
88
+ const o = i === "" ? t : ge(t, i);
89
89
  o.classGroupId = r;
90
90
  return;
91
91
  }
92
- if (typeof l == "function") {
93
- if (Re(l)) {
94
- se(l(n), t, r, n);
92
+ if (typeof i == "function") {
93
+ if (Re(i)) {
94
+ ne(i(n), t, r, n);
95
95
  return;
96
96
  }
97
97
  t.validators.push({
98
- validator: l,
98
+ validator: i,
99
99
  classGroupId: r
100
100
  });
101
101
  return;
102
102
  }
103
- Object.entries(l).forEach(([o, i]) => {
104
- se(i, be(t, o), r, n);
103
+ Object.entries(i).forEach(([o, l]) => {
104
+ ne(l, ge(t, o), r, n);
105
105
  });
106
106
  });
107
- }, be = (e, t) => {
107
+ }, ge = (e, t) => {
108
108
  let r = e;
109
- return t.split(ce).forEach((n) => {
109
+ return t.split(ie).forEach((n) => {
110
110
  r.nextPart.has(n) || r.nextPart.set(n, {
111
111
  nextPart: /* @__PURE__ */ new Map(),
112
112
  validators: []
113
113
  }), r = r.nextPart.get(n);
114
114
  }), r;
115
115
  }, Re = (e) => e.isThemeGetter, Ve = (e, t) => t ? e.map(([r, n]) => {
116
- const l = n.map((o) => typeof o == "string" ? t + o : typeof o == "object" ? Object.fromEntries(Object.entries(o).map(([i, s]) => [t + i, s])) : o);
117
- return [r, l];
116
+ const i = n.map((o) => typeof o == "string" ? t + o : typeof o == "object" ? Object.fromEntries(Object.entries(o).map(([l, s]) => [t + l, s])) : o);
117
+ return [r, i];
118
118
  }) : e, Ne = (e) => {
119
119
  if (e < 1)
120
120
  return {
@@ -124,43 +124,43 @@ const ce = "-", je = (e) => {
124
124
  }
125
125
  };
126
126
  let t = 0, r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
127
- const l = (o, i) => {
128
- r.set(o, i), t++, t > e && (t = 0, n = r, r = /* @__PURE__ */ new Map());
127
+ const i = (o, l) => {
128
+ r.set(o, l), t++, t > e && (t = 0, n = r, r = /* @__PURE__ */ new Map());
129
129
  };
130
130
  return {
131
131
  get(o) {
132
- let i = r.get(o);
133
- if (i !== void 0)
134
- return i;
135
- if ((i = n.get(o)) !== void 0)
136
- return l(o, i), i;
132
+ let l = r.get(o);
133
+ if (l !== void 0)
134
+ return l;
135
+ if ((l = n.get(o)) !== void 0)
136
+ return i(o, l), l;
137
137
  },
138
- set(o, i) {
139
- r.has(o) ? r.set(o, i) : l(o, i);
138
+ set(o, l) {
139
+ r.has(o) ? r.set(o, l) : i(o, l);
140
140
  }
141
141
  };
142
- }, _e = "!", Ie = (e) => {
142
+ }, xe = "!", $e = (e) => {
143
143
  const {
144
144
  separator: t,
145
145
  experimentalParseClassName: r
146
- } = e, n = t.length === 1, l = t[0], o = t.length, i = (s) => {
146
+ } = e, n = t.length === 1, i = t[0], o = t.length, l = (s) => {
147
147
  const p = [];
148
148
  let k = 0, m = 0, z;
149
149
  for (let g = 0; g < s.length; g++) {
150
- let A = s[g];
150
+ let C = s[g];
151
151
  if (k === 0) {
152
- if (A === l && (n || s.slice(g, g + o) === t)) {
152
+ if (C === i && (n || s.slice(g, g + o) === t)) {
153
153
  p.push(s.slice(m, g)), m = g + o;
154
154
  continue;
155
155
  }
156
- if (A === "/") {
156
+ if (C === "/") {
157
157
  z = g;
158
158
  continue;
159
159
  }
160
160
  }
161
- A === "[" ? k++ : A === "]" && k--;
161
+ C === "[" ? k++ : C === "]" && k--;
162
162
  }
163
- const M = p.length === 0 ? s : s.substring(m), P = M.startsWith(_e), S = P ? M.substring(1) : M, _ = z && z > m ? z - m : void 0;
163
+ const M = p.length === 0 ? s : s.substring(m), P = M.startsWith(xe), S = P ? M.substring(1) : M, _ = z && z > m ? z - m : void 0;
164
164
  return {
165
165
  modifiers: p,
166
166
  hasImportantModifier: P,
@@ -170,9 +170,9 @@ const ce = "-", je = (e) => {
170
170
  };
171
171
  return r ? (s) => r({
172
172
  className: s,
173
- parseClassName: i
174
- }) : i;
175
- }, Te = (e) => {
173
+ parseClassName: l
174
+ }) : l;
175
+ }, Ie = (e) => {
176
176
  if (e.length <= 1)
177
177
  return e;
178
178
  const t = [];
@@ -180,19 +180,19 @@ const ce = "-", je = (e) => {
180
180
  return e.forEach((n) => {
181
181
  n[0] === "[" ? (t.push(...r.sort(), n), r = []) : r.push(n);
182
182
  }), t.push(...r.sort()), t;
183
- }, Oe = (e) => ({
183
+ }, Te = (e) => ({
184
184
  cache: Ne(e.cacheSize),
185
- parseClassName: Ie(e),
186
- ...je(e)
187
- }), Ee = /\s+/, Le = (e, t) => {
185
+ parseClassName: $e(e),
186
+ ...Ge(e)
187
+ }), Oe = /\s+/, Ee = (e, t) => {
188
188
  const {
189
189
  parseClassName: r,
190
190
  getClassGroupId: n,
191
- getConflictingClassGroupIds: l
192
- } = t, o = [], i = e.trim().split(Ee);
191
+ getConflictingClassGroupIds: i
192
+ } = t, o = [], l = e.trim().split(Oe);
193
193
  let s = "";
194
- for (let p = i.length - 1; p >= 0; p -= 1) {
195
- const k = i[p], {
194
+ for (let p = l.length - 1; p >= 0; p -= 1) {
195
+ const k = l[p], {
196
196
  modifiers: m,
197
197
  hasImportantModifier: z,
198
198
  baseClassName: M,
@@ -210,90 +210,90 @@ const ce = "-", je = (e) => {
210
210
  }
211
211
  S = !1;
212
212
  }
213
- const g = Te(m).join(":"), A = z ? g + _e : g, h = A + _;
213
+ const g = Ie(m).join(":"), C = z ? g + xe : g, h = C + _;
214
214
  if (o.includes(h))
215
215
  continue;
216
216
  o.push(h);
217
- const E = l(_, S);
218
- for (let V = 0; V < E.length; ++V) {
219
- const L = E[V];
220
- o.push(A + L);
217
+ const O = i(_, S);
218
+ for (let R = 0; R < O.length; ++R) {
219
+ const E = O[R];
220
+ o.push(C + E);
221
221
  }
222
222
  s = k + (s.length > 0 ? " " + s : s);
223
223
  }
224
224
  return s;
225
225
  };
226
- function We() {
226
+ function Le() {
227
227
  let e = 0, t, r, n = "";
228
228
  for (; e < arguments.length; )
229
- (t = arguments[e++]) && (r = ke(t)) && (n && (n += " "), n += r);
229
+ (t = arguments[e++]) && (r = _e(t)) && (n && (n += " "), n += r);
230
230
  return n;
231
231
  }
232
- const ke = (e) => {
232
+ const _e = (e) => {
233
233
  if (typeof e == "string")
234
234
  return e;
235
235
  let t, r = "";
236
236
  for (let n = 0; n < e.length; n++)
237
- e[n] && (t = ke(e[n])) && (r && (r += " "), r += t);
237
+ e[n] && (t = _e(e[n])) && (r && (r += " "), r += t);
238
238
  return r;
239
239
  };
240
- function ae(e, ...t) {
241
- let r, n, l, o = i;
242
- function i(p) {
240
+ function se(e, ...t) {
241
+ let r, n, i, o = l;
242
+ function l(p) {
243
243
  const k = t.reduce((m, z) => z(m), e());
244
- return r = Oe(k), n = r.cache.get, l = r.cache.set, o = s, s(p);
244
+ return r = Te(k), n = r.cache.get, i = r.cache.set, o = s, s(p);
245
245
  }
246
246
  function s(p) {
247
247
  const k = n(p);
248
248
  if (k)
249
249
  return k;
250
- const m = Le(p, r);
251
- return l(p, m), m;
250
+ const m = Ee(p, r);
251
+ return i(p, m), m;
252
252
  }
253
253
  return function() {
254
- return o(We.apply(null, arguments));
254
+ return o(Le.apply(null, arguments));
255
255
  };
256
256
  }
257
257
  const x = (e) => {
258
258
  const t = (r) => r[e] || [];
259
259
  return t.isThemeGetter = !0, t;
260
- }, Ce = /^\[(?:([a-z-]+):)?(.+)\]$/i, $e = /^\d+\/\d+$/, Be = /* @__PURE__ */ new Set(["px", "full", "screen"]), Ue = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Fe = /\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$/, Je = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, qe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ke = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, N = (e) => $(e) || Be.has(e) || $e.test(e), T = (e) => B(e, "length", rr), $ = (e) => !!e && !Number.isNaN(Number(e)), oe = (e) => B(e, "number", $), K = (e) => !!e && Number.isInteger(Number(e)), He = (e) => e.endsWith("%") && $(e.slice(0, -1)), c = (e) => Ce.test(e), O = (e) => Ue.test(e), Qe = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Xe = (e) => B(e, Qe, Ae), Ze = (e) => B(e, "position", Ae), Ye = /* @__PURE__ */ new Set(["image", "url"]), De = (e) => B(e, Ye, or), er = (e) => B(e, "", tr), H = () => !0, B = (e, t, r) => {
261
- const n = Ce.exec(e);
260
+ }, ke = /^\[(?:([a-z-]+):)?(.+)\]$/i, We = /^\d+\/\d+$/, Be = /* @__PURE__ */ new Set(["px", "full", "screen"]), Ue = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Fe = /\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$/, Je = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, qe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ke = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, V = (e) => W(e) || Be.has(e) || We.test(e), I = (e) => B(e, "length", rr), W = (e) => !!e && !Number.isNaN(Number(e)), te = (e) => B(e, "number", W), K = (e) => !!e && Number.isInteger(Number(e)), Ze = (e) => e.endsWith("%") && W(e.slice(0, -1)), c = (e) => ke.test(e), T = (e) => Ue.test(e), He = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Xe = (e) => B(e, He, Ce), Qe = (e) => B(e, "position", Ce), Ye = /* @__PURE__ */ new Set(["image", "url"]), De = (e) => B(e, Ye, or), er = (e) => B(e, "", tr), Z = () => !0, B = (e, t, r) => {
261
+ const n = ke.exec(e);
262
262
  return n ? n[1] ? typeof t == "string" ? n[1] === t : t.has(n[1]) : r(n[2]) : !1;
263
263
  }, rr = (e) => (
264
264
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
265
265
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
266
266
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
267
267
  Fe.test(e) && !Je.test(e)
268
- ), Ae = () => !1, tr = (e) => qe.test(e), or = (e) => Ke.test(e), ie = () => {
269
- const e = x("colors"), t = x("spacing"), r = x("blur"), n = x("brightness"), l = x("borderColor"), o = x("borderRadius"), i = x("borderSpacing"), s = x("borderWidth"), p = x("contrast"), k = x("grayscale"), m = x("hueRotate"), z = x("invert"), M = x("gap"), P = x("gradientColorStops"), S = x("gradientColorStopPositions"), _ = x("inset"), g = x("margin"), A = x("opacity"), h = x("padding"), E = x("saturate"), V = x("scale"), L = x("sepia"), Y = x("skew"), U = x("space"), F = x("translate"), W = () => ["auto", "contain", "none"], J = () => ["auto", "hidden", "clip", "visible", "scroll"], q = () => ["auto", c, t], a = () => [c, t], f = () => ["", N, T], d = () => ["auto", $, c], b = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], u = () => ["solid", "dashed", "dotted", "double", "none"], y = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], w = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], v = () => ["", "0", c], C = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], j = () => [$, c];
268
+ ), Ce = () => !1, tr = (e) => qe.test(e), or = (e) => Ke.test(e), ae = () => {
269
+ const e = x("colors"), t = x("spacing"), r = x("blur"), n = x("brightness"), i = x("borderColor"), o = x("borderRadius"), l = x("borderSpacing"), s = x("borderWidth"), p = x("contrast"), k = x("grayscale"), m = x("hueRotate"), z = x("invert"), M = x("gap"), P = x("gradientColorStops"), S = x("gradientColorStopPositions"), _ = x("inset"), g = x("margin"), C = x("opacity"), h = x("padding"), O = x("saturate"), R = x("scale"), E = x("sepia"), Y = x("skew"), U = x("space"), F = x("translate"), L = () => ["auto", "contain", "none"], J = () => ["auto", "hidden", "clip", "visible", "scroll"], q = () => ["auto", c, t], a = () => [c, t], u = () => ["", V, I], d = () => ["auto", W, c], b = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], f = () => ["solid", "dashed", "dotted", "double", "none"], y = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], w = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], v = () => ["", "0", c], A = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], G = () => [W, c];
270
270
  return {
271
271
  cacheSize: 500,
272
272
  separator: ":",
273
273
  theme: {
274
- colors: [H],
275
- spacing: [N, T],
276
- blur: ["none", "", O, c],
277
- brightness: j(),
274
+ colors: [Z],
275
+ spacing: [V, I],
276
+ blur: ["none", "", T, c],
277
+ brightness: G(),
278
278
  borderColor: [e],
279
- borderRadius: ["none", "", "full", O, c],
279
+ borderRadius: ["none", "", "full", T, c],
280
280
  borderSpacing: a(),
281
- borderWidth: f(),
282
- contrast: j(),
281
+ borderWidth: u(),
282
+ contrast: G(),
283
283
  grayscale: v(),
284
- hueRotate: j(),
284
+ hueRotate: G(),
285
285
  invert: v(),
286
286
  gap: a(),
287
287
  gradientColorStops: [e],
288
- gradientColorStopPositions: [He, T],
288
+ gradientColorStopPositions: [Ze, I],
289
289
  inset: q(),
290
290
  margin: q(),
291
- opacity: j(),
291
+ opacity: G(),
292
292
  padding: a(),
293
- saturate: j(),
294
- scale: j(),
293
+ saturate: G(),
294
+ scale: G(),
295
295
  sepia: v(),
296
- skew: j(),
296
+ skew: G(),
297
297
  space: a(),
298
298
  translate: a()
299
299
  },
@@ -316,21 +316,21 @@ const x = (e) => {
316
316
  * @see https://tailwindcss.com/docs/columns
317
317
  */
318
318
  columns: [{
319
- columns: [O]
319
+ columns: [T]
320
320
  }],
321
321
  /**
322
322
  * Break After
323
323
  * @see https://tailwindcss.com/docs/break-after
324
324
  */
325
325
  "break-after": [{
326
- "break-after": C()
326
+ "break-after": A()
327
327
  }],
328
328
  /**
329
329
  * Break Before
330
330
  * @see https://tailwindcss.com/docs/break-before
331
331
  */
332
332
  "break-before": [{
333
- "break-before": C()
333
+ "break-before": A()
334
334
  }],
335
335
  /**
336
336
  * Break Inside
@@ -417,21 +417,21 @@ const x = (e) => {
417
417
  * @see https://tailwindcss.com/docs/overscroll-behavior
418
418
  */
419
419
  overscroll: [{
420
- overscroll: W()
420
+ overscroll: L()
421
421
  }],
422
422
  /**
423
423
  * Overscroll Behavior X
424
424
  * @see https://tailwindcss.com/docs/overscroll-behavior
425
425
  */
426
426
  "overscroll-x": [{
427
- "overscroll-x": W()
427
+ "overscroll-x": L()
428
428
  }],
429
429
  /**
430
430
  * Overscroll Behavior Y
431
431
  * @see https://tailwindcss.com/docs/overscroll-behavior
432
432
  */
433
433
  "overscroll-y": [{
434
- "overscroll-y": W()
434
+ "overscroll-y": L()
435
435
  }],
436
436
  /**
437
437
  * Position
@@ -568,7 +568,7 @@ const x = (e) => {
568
568
  * @see https://tailwindcss.com/docs/grid-template-columns
569
569
  */
570
570
  "grid-cols": [{
571
- "grid-cols": [H]
571
+ "grid-cols": [Z]
572
572
  }],
573
573
  /**
574
574
  * Grid Column Start / End
@@ -598,7 +598,7 @@ const x = (e) => {
598
598
  * @see https://tailwindcss.com/docs/grid-template-rows
599
599
  */
600
600
  "grid-rows": [{
601
- "grid-rows": [H]
601
+ "grid-rows": [Z]
602
602
  }],
603
603
  /**
604
604
  * Grid Row Start / End
@@ -900,8 +900,8 @@ const x = (e) => {
900
900
  */
901
901
  "max-w": [{
902
902
  "max-w": [c, t, "none", "full", "min", "max", "fit", "prose", {
903
- screen: [O]
904
- }, O]
903
+ screen: [T]
904
+ }, T]
905
905
  }],
906
906
  /**
907
907
  * Height
@@ -937,7 +937,7 @@ const x = (e) => {
937
937
  * @see https://tailwindcss.com/docs/font-size
938
938
  */
939
939
  "font-size": [{
940
- text: ["base", O, T]
940
+ text: ["base", T, I]
941
941
  }],
942
942
  /**
943
943
  * Font Smoothing
@@ -954,14 +954,14 @@ const x = (e) => {
954
954
  * @see https://tailwindcss.com/docs/font-weight
955
955
  */
956
956
  "font-weight": [{
957
- font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", oe]
957
+ font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", te]
958
958
  }],
959
959
  /**
960
960
  * Font Family
961
961
  * @see https://tailwindcss.com/docs/font-family
962
962
  */
963
963
  "font-family": [{
964
- font: [H]
964
+ font: [Z]
965
965
  }],
966
966
  /**
967
967
  * Font Variant Numeric
@@ -992,7 +992,7 @@ const x = (e) => {
992
992
  * Font Variant Numeric
993
993
  * @see https://tailwindcss.com/docs/font-variant-numeric
994
994
  */
995
- "fvn-fraction": ["diagonal-fractions", "stacked-fractons"],
995
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
996
996
  /**
997
997
  * Letter Spacing
998
998
  * @see https://tailwindcss.com/docs/letter-spacing
@@ -1005,14 +1005,14 @@ const x = (e) => {
1005
1005
  * @see https://tailwindcss.com/docs/line-clamp
1006
1006
  */
1007
1007
  "line-clamp": [{
1008
- "line-clamp": ["none", $, oe]
1008
+ "line-clamp": ["none", W, te]
1009
1009
  }],
1010
1010
  /**
1011
1011
  * Line Height
1012
1012
  * @see https://tailwindcss.com/docs/line-height
1013
1013
  */
1014
1014
  leading: [{
1015
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose", N, c]
1015
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", V, c]
1016
1016
  }],
1017
1017
  /**
1018
1018
  * List Style Image
@@ -1048,7 +1048,7 @@ const x = (e) => {
1048
1048
  * @see https://tailwindcss.com/docs/placeholder-opacity
1049
1049
  */
1050
1050
  "placeholder-opacity": [{
1051
- "placeholder-opacity": [A]
1051
+ "placeholder-opacity": [C]
1052
1052
  }],
1053
1053
  /**
1054
1054
  * Text Alignment
@@ -1069,7 +1069,7 @@ const x = (e) => {
1069
1069
  * @see https://tailwindcss.com/docs/text-opacity
1070
1070
  */
1071
1071
  "text-opacity": [{
1072
- "text-opacity": [A]
1072
+ "text-opacity": [C]
1073
1073
  }],
1074
1074
  /**
1075
1075
  * Text Decoration
@@ -1081,21 +1081,21 @@ const x = (e) => {
1081
1081
  * @see https://tailwindcss.com/docs/text-decoration-style
1082
1082
  */
1083
1083
  "text-decoration-style": [{
1084
- decoration: [...u(), "wavy"]
1084
+ decoration: [...f(), "wavy"]
1085
1085
  }],
1086
1086
  /**
1087
1087
  * Text Decoration Thickness
1088
1088
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1089
1089
  */
1090
1090
  "text-decoration-thickness": [{
1091
- decoration: ["auto", "from-font", N, T]
1091
+ decoration: ["auto", "from-font", V, I]
1092
1092
  }],
1093
1093
  /**
1094
1094
  * Text Underline Offset
1095
1095
  * @see https://tailwindcss.com/docs/text-underline-offset
1096
1096
  */
1097
1097
  "underline-offset": [{
1098
- "underline-offset": ["auto", N, c]
1098
+ "underline-offset": ["auto", V, c]
1099
1099
  }],
1100
1100
  /**
1101
1101
  * Text Decoration Color
@@ -1184,7 +1184,7 @@ const x = (e) => {
1184
1184
  * @see https://tailwindcss.com/docs/background-opacity
1185
1185
  */
1186
1186
  "bg-opacity": [{
1187
- "bg-opacity": [A]
1187
+ "bg-opacity": [C]
1188
1188
  }],
1189
1189
  /**
1190
1190
  * Background Origin
@@ -1198,7 +1198,7 @@ const x = (e) => {
1198
1198
  * @see https://tailwindcss.com/docs/background-position
1199
1199
  */
1200
1200
  "bg-position": [{
1201
- bg: [...b(), Ze]
1201
+ bg: [...b(), Qe]
1202
1202
  }],
1203
1203
  /**
1204
1204
  * Background Repeat
@@ -1448,14 +1448,14 @@ const x = (e) => {
1448
1448
  * @see https://tailwindcss.com/docs/border-opacity
1449
1449
  */
1450
1450
  "border-opacity": [{
1451
- "border-opacity": [A]
1451
+ "border-opacity": [C]
1452
1452
  }],
1453
1453
  /**
1454
1454
  * Border Style
1455
1455
  * @see https://tailwindcss.com/docs/border-style
1456
1456
  */
1457
1457
  "border-style": [{
1458
- border: [...u(), "hidden"]
1458
+ border: [...f(), "hidden"]
1459
1459
  }],
1460
1460
  /**
1461
1461
  * Divide Width X
@@ -1486,105 +1486,105 @@ const x = (e) => {
1486
1486
  * @see https://tailwindcss.com/docs/divide-opacity
1487
1487
  */
1488
1488
  "divide-opacity": [{
1489
- "divide-opacity": [A]
1489
+ "divide-opacity": [C]
1490
1490
  }],
1491
1491
  /**
1492
1492
  * Divide Style
1493
1493
  * @see https://tailwindcss.com/docs/divide-style
1494
1494
  */
1495
1495
  "divide-style": [{
1496
- divide: u()
1496
+ divide: f()
1497
1497
  }],
1498
1498
  /**
1499
1499
  * Border Color
1500
1500
  * @see https://tailwindcss.com/docs/border-color
1501
1501
  */
1502
1502
  "border-color": [{
1503
- border: [l]
1503
+ border: [i]
1504
1504
  }],
1505
1505
  /**
1506
1506
  * Border Color X
1507
1507
  * @see https://tailwindcss.com/docs/border-color
1508
1508
  */
1509
1509
  "border-color-x": [{
1510
- "border-x": [l]
1510
+ "border-x": [i]
1511
1511
  }],
1512
1512
  /**
1513
1513
  * Border Color Y
1514
1514
  * @see https://tailwindcss.com/docs/border-color
1515
1515
  */
1516
1516
  "border-color-y": [{
1517
- "border-y": [l]
1517
+ "border-y": [i]
1518
1518
  }],
1519
1519
  /**
1520
1520
  * Border Color S
1521
1521
  * @see https://tailwindcss.com/docs/border-color
1522
1522
  */
1523
1523
  "border-color-s": [{
1524
- "border-s": [l]
1524
+ "border-s": [i]
1525
1525
  }],
1526
1526
  /**
1527
1527
  * Border Color E
1528
1528
  * @see https://tailwindcss.com/docs/border-color
1529
1529
  */
1530
1530
  "border-color-e": [{
1531
- "border-e": [l]
1531
+ "border-e": [i]
1532
1532
  }],
1533
1533
  /**
1534
1534
  * Border Color Top
1535
1535
  * @see https://tailwindcss.com/docs/border-color
1536
1536
  */
1537
1537
  "border-color-t": [{
1538
- "border-t": [l]
1538
+ "border-t": [i]
1539
1539
  }],
1540
1540
  /**
1541
1541
  * Border Color Right
1542
1542
  * @see https://tailwindcss.com/docs/border-color
1543
1543
  */
1544
1544
  "border-color-r": [{
1545
- "border-r": [l]
1545
+ "border-r": [i]
1546
1546
  }],
1547
1547
  /**
1548
1548
  * Border Color Bottom
1549
1549
  * @see https://tailwindcss.com/docs/border-color
1550
1550
  */
1551
1551
  "border-color-b": [{
1552
- "border-b": [l]
1552
+ "border-b": [i]
1553
1553
  }],
1554
1554
  /**
1555
1555
  * Border Color Left
1556
1556
  * @see https://tailwindcss.com/docs/border-color
1557
1557
  */
1558
1558
  "border-color-l": [{
1559
- "border-l": [l]
1559
+ "border-l": [i]
1560
1560
  }],
1561
1561
  /**
1562
1562
  * Divide Color
1563
1563
  * @see https://tailwindcss.com/docs/divide-color
1564
1564
  */
1565
1565
  "divide-color": [{
1566
- divide: [l]
1566
+ divide: [i]
1567
1567
  }],
1568
1568
  /**
1569
1569
  * Outline Style
1570
1570
  * @see https://tailwindcss.com/docs/outline-style
1571
1571
  */
1572
1572
  "outline-style": [{
1573
- outline: ["", ...u()]
1573
+ outline: ["", ...f()]
1574
1574
  }],
1575
1575
  /**
1576
1576
  * Outline Offset
1577
1577
  * @see https://tailwindcss.com/docs/outline-offset
1578
1578
  */
1579
1579
  "outline-offset": [{
1580
- "outline-offset": [N, c]
1580
+ "outline-offset": [V, c]
1581
1581
  }],
1582
1582
  /**
1583
1583
  * Outline Width
1584
1584
  * @see https://tailwindcss.com/docs/outline-width
1585
1585
  */
1586
1586
  "outline-w": [{
1587
- outline: [N, T]
1587
+ outline: [V, I]
1588
1588
  }],
1589
1589
  /**
1590
1590
  * Outline Color
@@ -1598,7 +1598,7 @@ const x = (e) => {
1598
1598
  * @see https://tailwindcss.com/docs/ring-width
1599
1599
  */
1600
1600
  "ring-w": [{
1601
- ring: f()
1601
+ ring: u()
1602
1602
  }],
1603
1603
  /**
1604
1604
  * Ring Width Inset
@@ -1617,14 +1617,14 @@ const x = (e) => {
1617
1617
  * @see https://tailwindcss.com/docs/ring-opacity
1618
1618
  */
1619
1619
  "ring-opacity": [{
1620
- "ring-opacity": [A]
1620
+ "ring-opacity": [C]
1621
1621
  }],
1622
1622
  /**
1623
1623
  * Ring Offset Width
1624
1624
  * @see https://tailwindcss.com/docs/ring-offset-width
1625
1625
  */
1626
1626
  "ring-offset-w": [{
1627
- "ring-offset": [N, T]
1627
+ "ring-offset": [V, I]
1628
1628
  }],
1629
1629
  /**
1630
1630
  * Ring Offset Color
@@ -1639,21 +1639,21 @@ const x = (e) => {
1639
1639
  * @see https://tailwindcss.com/docs/box-shadow
1640
1640
  */
1641
1641
  shadow: [{
1642
- shadow: ["", "inner", "none", O, er]
1642
+ shadow: ["", "inner", "none", T, er]
1643
1643
  }],
1644
1644
  /**
1645
1645
  * Box Shadow Color
1646
1646
  * @see https://tailwindcss.com/docs/box-shadow-color
1647
1647
  */
1648
1648
  "shadow-color": [{
1649
- shadow: [H]
1649
+ shadow: [Z]
1650
1650
  }],
1651
1651
  /**
1652
1652
  * Opacity
1653
1653
  * @see https://tailwindcss.com/docs/opacity
1654
1654
  */
1655
1655
  opacity: [{
1656
- opacity: [A]
1656
+ opacity: [C]
1657
1657
  }],
1658
1658
  /**
1659
1659
  * Mix Blend Mode
@@ -1704,7 +1704,7 @@ const x = (e) => {
1704
1704
  * @see https://tailwindcss.com/docs/drop-shadow
1705
1705
  */
1706
1706
  "drop-shadow": [{
1707
- "drop-shadow": ["", "none", O, c]
1707
+ "drop-shadow": ["", "none", T, c]
1708
1708
  }],
1709
1709
  /**
1710
1710
  * Grayscale
@@ -1732,14 +1732,14 @@ const x = (e) => {
1732
1732
  * @see https://tailwindcss.com/docs/saturate
1733
1733
  */
1734
1734
  saturate: [{
1735
- saturate: [E]
1735
+ saturate: [O]
1736
1736
  }],
1737
1737
  /**
1738
1738
  * Sepia
1739
1739
  * @see https://tailwindcss.com/docs/sepia
1740
1740
  */
1741
1741
  sepia: [{
1742
- sepia: [L]
1742
+ sepia: [E]
1743
1743
  }],
1744
1744
  /**
1745
1745
  * Backdrop Filter
@@ -1796,21 +1796,21 @@ const x = (e) => {
1796
1796
  * @see https://tailwindcss.com/docs/backdrop-opacity
1797
1797
  */
1798
1798
  "backdrop-opacity": [{
1799
- "backdrop-opacity": [A]
1799
+ "backdrop-opacity": [C]
1800
1800
  }],
1801
1801
  /**
1802
1802
  * Backdrop Saturate
1803
1803
  * @see https://tailwindcss.com/docs/backdrop-saturate
1804
1804
  */
1805
1805
  "backdrop-saturate": [{
1806
- "backdrop-saturate": [E]
1806
+ "backdrop-saturate": [O]
1807
1807
  }],
1808
1808
  /**
1809
1809
  * Backdrop Sepia
1810
1810
  * @see https://tailwindcss.com/docs/backdrop-sepia
1811
1811
  */
1812
1812
  "backdrop-sepia": [{
1813
- "backdrop-sepia": [L]
1813
+ "backdrop-sepia": [E]
1814
1814
  }],
1815
1815
  // Tables
1816
1816
  /**
@@ -1825,21 +1825,21 @@ const x = (e) => {
1825
1825
  * @see https://tailwindcss.com/docs/border-spacing
1826
1826
  */
1827
1827
  "border-spacing": [{
1828
- "border-spacing": [i]
1828
+ "border-spacing": [l]
1829
1829
  }],
1830
1830
  /**
1831
1831
  * Border Spacing X
1832
1832
  * @see https://tailwindcss.com/docs/border-spacing
1833
1833
  */
1834
1834
  "border-spacing-x": [{
1835
- "border-spacing-x": [i]
1835
+ "border-spacing-x": [l]
1836
1836
  }],
1837
1837
  /**
1838
1838
  * Border Spacing Y
1839
1839
  * @see https://tailwindcss.com/docs/border-spacing
1840
1840
  */
1841
1841
  "border-spacing-y": [{
1842
- "border-spacing-y": [i]
1842
+ "border-spacing-y": [l]
1843
1843
  }],
1844
1844
  /**
1845
1845
  * Table Layout
@@ -1868,7 +1868,7 @@ const x = (e) => {
1868
1868
  * @see https://tailwindcss.com/docs/transition-duration
1869
1869
  */
1870
1870
  duration: [{
1871
- duration: j()
1871
+ duration: G()
1872
1872
  }],
1873
1873
  /**
1874
1874
  * Transition Timing Function
@@ -1882,7 +1882,7 @@ const x = (e) => {
1882
1882
  * @see https://tailwindcss.com/docs/transition-delay
1883
1883
  */
1884
1884
  delay: [{
1885
- delay: j()
1885
+ delay: G()
1886
1886
  }],
1887
1887
  /**
1888
1888
  * Animation
@@ -1904,21 +1904,21 @@ const x = (e) => {
1904
1904
  * @see https://tailwindcss.com/docs/scale
1905
1905
  */
1906
1906
  scale: [{
1907
- scale: [V]
1907
+ scale: [R]
1908
1908
  }],
1909
1909
  /**
1910
1910
  * Scale X
1911
1911
  * @see https://tailwindcss.com/docs/scale
1912
1912
  */
1913
1913
  "scale-x": [{
1914
- "scale-x": [V]
1914
+ "scale-x": [R]
1915
1915
  }],
1916
1916
  /**
1917
1917
  * Scale Y
1918
1918
  * @see https://tailwindcss.com/docs/scale
1919
1919
  */
1920
1920
  "scale-y": [{
1921
- "scale-y": [V]
1921
+ "scale-y": [R]
1922
1922
  }],
1923
1923
  /**
1924
1924
  * Rotate
@@ -2219,7 +2219,7 @@ const x = (e) => {
2219
2219
  * @see https://tailwindcss.com/docs/stroke-width
2220
2220
  */
2221
2221
  "stroke-w": [{
2222
- stroke: [N, T, oe]
2222
+ stroke: [V, I, te]
2223
2223
  }],
2224
2224
  /**
2225
2225
  * Stroke
@@ -2298,13 +2298,13 @@ const x = (e) => {
2298
2298
  cacheSize: t,
2299
2299
  prefix: r,
2300
2300
  separator: n,
2301
- experimentalParseClassName: l,
2301
+ experimentalParseClassName: i,
2302
2302
  extend: o = {},
2303
- override: i = {}
2303
+ override: l = {}
2304
2304
  }) => {
2305
- X(e, "cacheSize", t), X(e, "prefix", r), X(e, "separator", n), X(e, "experimentalParseClassName", l);
2306
- for (const s in i)
2307
- sr(e[s], i[s]);
2305
+ X(e, "cacheSize", t), X(e, "prefix", r), X(e, "separator", n), X(e, "experimentalParseClassName", i);
2306
+ for (const s in l)
2307
+ sr(e[s], l[s]);
2308
2308
  for (const s in o)
2309
2309
  ar(e[s], o[s]);
2310
2310
  return e;
@@ -2320,141 +2320,137 @@ const x = (e) => {
2320
2320
  const n = t[r];
2321
2321
  n !== void 0 && (e[r] = (e[r] || []).concat(n));
2322
2322
  }
2323
- }, ir = (e, ...t) => typeof e == "function" ? ae(ie, e, ...t) : ae(() => nr(ie(), e), ...t), lr = /* @__PURE__ */ ae(ie);
2324
- var cr = { twMerge: !0, twMergeConfig: {}, responsiveVariants: !1 }, ze = (e) => e || void 0, Z = (...e) => ze(ye(e).filter(Boolean).join(" ")), ne = null, I = {}, le = !1, Q = (...e) => (t) => t.twMerge ? ((!ne || le) && (le = !1, ne = G(I) ? lr : ir({ ...I, extend: { theme: I.theme, classGroups: I.classGroups, conflictingClassGroupModifiers: I.conflictingClassGroupModifiers, conflictingClassGroups: I.conflictingClassGroups, ...I.extend } })), ze(ne(Z(e)))) : Z(e), me = (e, t) => {
2325
- for (let r in t) e.hasOwnProperty(r) ? e[r] = Z(e[r], t[r]) : e[r] = t[r];
2323
+ }, lr = (e, ...t) => typeof e == "function" ? se(ae, e, ...t) : se(() => nr(ae(), e), ...t), ir = /* @__PURE__ */ se(ae);
2324
+ var cr = { twMerge: !0, twMergeConfig: {}, responsiveVariants: !1 }, Ae = (e) => e || void 0, Q = (...e) => Ae(he(e).filter(Boolean).join(" ")), oe = null, N = {}, le = !1, H = (...e) => (t) => t.twMerge ? ((!oe || le) && (le = !1, oe = j(N) ? ir : lr({ ...N, extend: { theme: N.theme, classGroups: N.classGroups, conflictingClassGroupModifiers: N.conflictingClassGroupModifiers, conflictingClassGroups: N.conflictingClassGroups, ...N.extend } })), Ae(oe(Q(e)))) : Q(e), be = (e, t) => {
2325
+ for (let r in t) e.hasOwnProperty(r) ? e[r] = Q(e[r], t[r]) : e[r] = t[r];
2326
2326
  return e;
2327
2327
  }, dr = (e, t) => {
2328
- let { extend: r = null, slots: n = {}, variants: l = {}, compoundVariants: o = [], compoundSlots: i = [], defaultVariants: s = {} } = e, p = { ...cr, ...t }, k = r != null && r.base ? Z(r.base, e == null ? void 0 : e.base) : e == null ? void 0 : e.base, m = r != null && r.variants && !G(r.variants) ? ve(l, r.variants) : l, z = r != null && r.defaultVariants && !G(r.defaultVariants) ? { ...r.defaultVariants, ...s } : s;
2329
- !G(p.twMergeConfig) && !Se(p.twMergeConfig, I) && (le = !0, I = p.twMergeConfig);
2330
- let M = G(r == null ? void 0 : r.slots), P = G(n) ? {} : { base: Z(e == null ? void 0 : e.base, M && (r == null ? void 0 : r.base)), ...n }, S = M ? P : me({ ...r == null ? void 0 : r.slots }, G(P) ? { base: e == null ? void 0 : e.base } : P), _ = G(r == null ? void 0 : r.compoundVariants) ? o : we(r == null ? void 0 : r.compoundVariants, o), g = (h) => {
2331
- if (G(m) && G(n) && M) return Q(k, h == null ? void 0 : h.class, h == null ? void 0 : h.className)(p);
2328
+ let { extend: r = null, slots: n = {}, variants: i = {}, compoundVariants: o = [], compoundSlots: l = [], defaultVariants: s = {} } = e, p = { ...cr, ...t }, k = r != null && r.base ? Q(r.base, e == null ? void 0 : e.base) : e == null ? void 0 : e.base, m = r != null && r.variants && !j(r.variants) ? we(i, r.variants) : i, z = r != null && r.defaultVariants && !j(r.defaultVariants) ? { ...r.defaultVariants, ...s } : s;
2329
+ !j(p.twMergeConfig) && !Se(p.twMergeConfig, N) && (le = !0, N = p.twMergeConfig);
2330
+ let M = j(r == null ? void 0 : r.slots), P = j(n) ? {} : { base: Q(e == null ? void 0 : e.base, M && (r == null ? void 0 : r.base)), ...n }, S = M ? P : be({ ...r == null ? void 0 : r.slots }, j(P) ? { base: e == null ? void 0 : e.base } : P), _ = j(r == null ? void 0 : r.compoundVariants) ? o : ye(r == null ? void 0 : r.compoundVariants, o), g = (h) => {
2331
+ if (j(m) && j(n) && M) return H(k, h == null ? void 0 : h.class, h == null ? void 0 : h.className)(p);
2332
2332
  if (_ && !Array.isArray(_)) throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof _}`);
2333
- if (i && !Array.isArray(i)) throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof i}`);
2334
- let E = (a, f, d = [], b) => {
2335
- let u = d;
2336
- if (typeof f == "string") u = u.concat(ue(f).split(" ").map((y) => `${a}:${y}`));
2337
- else if (Array.isArray(f)) u = u.concat(f.reduce((y, w) => y.concat(`${a}:${w}`), []));
2338
- else if (typeof f == "object" && typeof b == "string") {
2339
- for (let y in f) if (f.hasOwnProperty(y) && y === b) {
2340
- let w = f[y];
2333
+ if (l && !Array.isArray(l)) throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof l}`);
2334
+ let O = (a, u, d = [], b) => {
2335
+ let f = d;
2336
+ if (typeof u == "string") f = f.concat(ue(u).split(" ").map((y) => `${a}:${y}`));
2337
+ else if (Array.isArray(u)) f = f.concat(u.reduce((y, w) => y.concat(`${a}:${w}`), []));
2338
+ else if (typeof u == "object" && typeof b == "string") {
2339
+ for (let y in u) if (u.hasOwnProperty(y) && y === b) {
2340
+ let w = u[y];
2341
2341
  if (w && typeof w == "string") {
2342
2342
  let v = ue(w);
2343
- u[b] ? u[b] = u[b].concat(v.split(" ").map((C) => `${a}:${C}`)) : u[b] = v.split(" ").map((C) => `${a}:${C}`);
2344
- } else Array.isArray(w) && w.length > 0 && (u[b] = w.reduce((v, C) => v.concat(`${a}:${C}`), []));
2343
+ f[b] ? f[b] = f[b].concat(v.split(" ").map((A) => `${a}:${A}`)) : f[b] = v.split(" ").map((A) => `${a}:${A}`);
2344
+ } else Array.isArray(w) && w.length > 0 && (f[b] = w.reduce((v, A) => v.concat(`${a}:${A}`), []));
2345
2345
  }
2346
2346
  }
2347
- return u;
2348
- }, V = (a, f = m, d = null, b = null) => {
2349
- var u;
2350
- let y = f[a];
2351
- if (!y || G(y)) return null;
2352
- let w = (u = b == null ? void 0 : b[a]) != null ? u : h == null ? void 0 : h[a];
2347
+ return f;
2348
+ }, R = (a, u = m, d = null, b = null) => {
2349
+ var f;
2350
+ let y = u[a];
2351
+ if (!y || j(y)) return null;
2352
+ let w = (f = b == null ? void 0 : b[a]) != null ? f : h == null ? void 0 : h[a];
2353
2353
  if (w === null) return null;
2354
- let v = fe(w), C = Array.isArray(p.responsiveVariants) && p.responsiveVariants.length > 0 || p.responsiveVariants === !0, j = z == null ? void 0 : z[a], R = [];
2355
- if (typeof v == "object" && C) for (let [te, de] of Object.entries(v)) {
2356
- let Me = y[de];
2357
- if (te === "initial") {
2358
- j = de;
2354
+ let v = pe(w), A = Array.isArray(p.responsiveVariants) && p.responsiveVariants.length > 0 || p.responsiveVariants === !0, G = z == null ? void 0 : z[a], $ = [];
2355
+ if (typeof v == "object" && A) for (let [re, ce] of Object.entries(v)) {
2356
+ let Me = y[ce];
2357
+ if (re === "initial") {
2358
+ G = ce;
2359
2359
  continue;
2360
2360
  }
2361
- Array.isArray(p.responsiveVariants) && !p.responsiveVariants.includes(te) || (R = E(te, Me, R, d));
2361
+ Array.isArray(p.responsiveVariants) && !p.responsiveVariants.includes(re) || ($ = O(re, Me, $, d));
2362
2362
  }
2363
- let D = v != null && typeof v != "object" ? v : fe(j), re = y[D || "false"];
2364
- return typeof R == "object" && typeof d == "string" && R[d] ? me(R, re) : R.length > 0 ? (R.push(re), d === "base" ? R.join(" ") : R) : re;
2365
- }, L = () => m ? Object.keys(m).map((a) => V(a, m)) : null, Y = (a, f) => {
2363
+ let ze = v != null && typeof v != "object" ? v : pe(G), ee = y[ze || "false"];
2364
+ return typeof $ == "object" && typeof d == "string" && $[d] ? be($, ee) : $.length > 0 ? ($.push(ee), $) : ee;
2365
+ }, E = () => m ? Object.keys(m).map((a) => R(a, m)) : null, Y = (a, u) => {
2366
2366
  if (!m || typeof m != "object") return null;
2367
2367
  let d = new Array();
2368
2368
  for (let b in m) {
2369
- let u = V(b, m, a, f), y = a === "base" && typeof u == "string" ? u : u && u[a];
2369
+ let f = R(b, m, a, u), y = a === "base" && typeof f == "string" ? f : f && f[a];
2370
2370
  y && (d[d.length] = y);
2371
2371
  }
2372
2372
  return d;
2373
2373
  }, U = {};
2374
2374
  for (let a in h) h[a] !== void 0 && (U[a] = h[a]);
2375
- let F = (a, f) => {
2375
+ let F = (a, u) => {
2376
2376
  var d;
2377
2377
  let b = typeof (h == null ? void 0 : h[a]) == "object" ? { [a]: (d = h[a]) == null ? void 0 : d.initial } : {};
2378
- return { ...z, ...U, ...b, ...f };
2379
- }, W = (a = [], f) => {
2378
+ return { ...z, ...U, ...b, ...u };
2379
+ }, L = (a = [], u) => {
2380
2380
  let d = [];
2381
- for (let { class: b, className: u, ...y } of a) {
2381
+ for (let { class: b, className: f, ...y } of a) {
2382
2382
  let w = !0;
2383
- for (let [v, C] of Object.entries(y)) {
2384
- let j = F(v, f)[v];
2385
- if (Array.isArray(C)) {
2386
- if (!C.includes(j)) {
2387
- w = !1;
2388
- break;
2389
- }
2390
- } else {
2391
- let R = (D) => D == null || D === !1;
2392
- if (R(C) && R(j)) continue;
2393
- if (j !== C) {
2383
+ for (let [v, A] of Object.entries(y)) {
2384
+ let G = F(v, u);
2385
+ if (Array.isArray(A)) {
2386
+ if (!A.includes(G[v])) {
2394
2387
  w = !1;
2395
2388
  break;
2396
2389
  }
2390
+ } else if (G[v] !== A) {
2391
+ w = !1;
2392
+ break;
2397
2393
  }
2398
2394
  }
2399
- w && (b && d.push(b), u && d.push(u));
2395
+ w && (b && d.push(b), f && d.push(f));
2400
2396
  }
2401
2397
  return d;
2402
2398
  }, J = (a) => {
2403
- let f = W(_, a);
2404
- if (!Array.isArray(f)) return f;
2399
+ let u = L(_, a);
2400
+ if (!Array.isArray(u)) return u;
2405
2401
  let d = {};
2406
- for (let b of f) if (typeof b == "string" && (d.base = Q(d.base, b)(p)), typeof b == "object") for (let [u, y] of Object.entries(b)) d[u] = Q(d[u], y)(p);
2402
+ for (let b of u) if (typeof b == "string" && (d.base = H(d.base, b)(p)), typeof b == "object") for (let [f, y] of Object.entries(b)) d[f] = H(d[f], y)(p);
2407
2403
  return d;
2408
2404
  }, q = (a) => {
2409
- if (i.length < 1) return null;
2410
- let f = {};
2411
- for (let { slots: d = [], class: b, className: u, ...y } of i) {
2412
- if (!G(y)) {
2405
+ if (l.length < 1) return null;
2406
+ let u = {};
2407
+ for (let { slots: d = [], class: b, className: f, ...y } of l) {
2408
+ if (!j(y)) {
2413
2409
  let w = !0;
2414
2410
  for (let v of Object.keys(y)) {
2415
- let C = F(v, a)[v];
2416
- if (C === void 0 || (Array.isArray(y[v]) ? !y[v].includes(C) : y[v] !== C)) {
2411
+ let A = F(v, a)[v];
2412
+ if (A === void 0 || (Array.isArray(y[v]) ? !y[v].includes(A) : y[v] !== A)) {
2417
2413
  w = !1;
2418
2414
  break;
2419
2415
  }
2420
2416
  }
2421
2417
  if (!w) continue;
2422
2418
  }
2423
- for (let w of d) f[w] = f[w] || [], f[w].push([b, u]);
2419
+ for (let w of d) u[w] = u[w] || [], u[w].push([b, f]);
2424
2420
  }
2425
- return f;
2421
+ return u;
2426
2422
  };
2427
- if (!G(n) || !M) {
2423
+ if (!j(n) || !M) {
2428
2424
  let a = {};
2429
- if (typeof S == "object" && !G(S)) for (let f of Object.keys(S)) a[f] = (d) => {
2430
- var b, u;
2431
- return Q(S[f], Y(f, d), ((b = J(d)) != null ? b : [])[f], ((u = q(d)) != null ? u : [])[f], d == null ? void 0 : d.class, d == null ? void 0 : d.className)(p);
2425
+ if (typeof S == "object" && !j(S)) for (let u of Object.keys(S)) a[u] = (d) => {
2426
+ var b, f;
2427
+ return H(S[u], Y(u, d), ((b = J(d)) != null ? b : [])[u], ((f = q(d)) != null ? f : [])[u], d == null ? void 0 : d.class, d == null ? void 0 : d.className)(p);
2432
2428
  };
2433
2429
  return a;
2434
2430
  }
2435
- return Q(k, L(), W(_), h == null ? void 0 : h.class, h == null ? void 0 : h.className)(p);
2436
- }, A = () => {
2431
+ return H(k, E(), L(_), h == null ? void 0 : h.class, h == null ? void 0 : h.className)(p);
2432
+ }, C = () => {
2437
2433
  if (!(!m || typeof m != "object")) return Object.keys(m);
2438
2434
  };
2439
- return g.variantKeys = A(), g.extend = r, g.base = k, g.slots = S, g.variants = m, g.defaultVariants = z, g.compoundSlots = i, g.compoundVariants = _, g;
2435
+ return g.variantKeys = C(), g.extend = r, g.base = k, g.slots = S, g.variants = m, g.defaultVariants = z, g.compoundSlots = l, g.compoundVariants = _, g;
2440
2436
  }, pr = (e, t) => {
2441
- var r, n, l;
2437
+ var r, n, i;
2442
2438
  return dr(e, {
2443
2439
  ...t,
2444
2440
  twMerge: (r = void 0) != null ? r : !0,
2445
2441
  twMergeConfig: {
2446
2442
  theme: {
2447
2443
  ...(n = void 0) == null ? void 0 : n.theme,
2448
- ...pe.theme
2444
+ ...de.theme
2449
2445
  },
2450
2446
  classGroups: {
2451
- ...(l = void 0) == null ? void 0 : l.classGroups,
2452
- ...pe.classGroups
2447
+ ...(i = void 0) == null ? void 0 : i.classGroups,
2448
+ ...de.classGroups
2453
2449
  }
2454
2450
  }
2455
2451
  });
2456
2452
  };
2457
- const fr = pr({
2453
+ const ur = pr({
2458
2454
  slots: {
2459
2455
  base: "vs-section",
2460
2456
  wrapper_super_title: "vs-st",
@@ -2742,5 +2738,5 @@ const fr = pr({
2742
2738
  }
2743
2739
  });
2744
2740
  export {
2745
- fr as SheetSection
2741
+ ur as SheetSection
2746
2742
  };