@nuvra-ui/react 0.0.8 → 0.0.10
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/dist/index.js +360 -548
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,247 +1,244 @@
|
|
|
1
|
-
|
|
2
|
-
if (typeof require < "u") return require.apply(this, arguments);
|
|
3
|
-
throw Error("Calling `require` for \"" + e + "\" in an environment that doesn't expose the `require` function.");
|
|
4
|
-
});
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
2
|
function r(e) {
|
|
6
|
-
var
|
|
7
|
-
if (typeof e == "string" || typeof e == "number")
|
|
3
|
+
var s, c, l = "";
|
|
4
|
+
if (typeof e == "string" || typeof e == "number") l += e;
|
|
8
5
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
9
|
-
var
|
|
10
|
-
for (
|
|
11
|
-
} else for (
|
|
12
|
-
return
|
|
6
|
+
var u = e.length;
|
|
7
|
+
for (s = 0; s < u; s++) e[s] && (c = r(e[s])) && (l && (l += " "), l += c);
|
|
8
|
+
} else for (c in e) e[c] && (l && (l += " "), l += c);
|
|
9
|
+
return l;
|
|
13
10
|
}
|
|
14
11
|
function clsx() {
|
|
15
|
-
for (var e,
|
|
16
|
-
return
|
|
12
|
+
for (var e, s, c = 0, l = "", u = arguments.length; c < u; c++) (e = arguments[c]) && (s = r(e)) && (l && (l += " "), l += s);
|
|
13
|
+
return l;
|
|
17
14
|
}
|
|
18
|
-
var concatArrays = (e,
|
|
19
|
-
let
|
|
20
|
-
for (let
|
|
21
|
-
for (let
|
|
22
|
-
return
|
|
23
|
-
}, createClassValidatorObject = (e,
|
|
15
|
+
var concatArrays = (e, o) => {
|
|
16
|
+
let s = Array(e.length + o.length);
|
|
17
|
+
for (let o = 0; o < e.length; o++) s[o] = e[o];
|
|
18
|
+
for (let c = 0; c < o.length; c++) s[e.length + c] = o[c];
|
|
19
|
+
return s;
|
|
20
|
+
}, createClassValidatorObject = (e, o) => ({
|
|
24
21
|
classGroupId: e,
|
|
25
|
-
validator:
|
|
26
|
-
}), createClassPartObject = (e = /* @__PURE__ */ new Map(),
|
|
22
|
+
validator: o
|
|
23
|
+
}), createClassPartObject = (e = /* @__PURE__ */ new Map(), o = null, s) => ({
|
|
27
24
|
nextPart: e,
|
|
28
|
-
validators:
|
|
29
|
-
classGroupId:
|
|
25
|
+
validators: o,
|
|
26
|
+
classGroupId: s
|
|
30
27
|
}), CLASS_PART_SEPARATOR = "-", EMPTY_CONFLICTS = [], ARBITRARY_PROPERTY_PREFIX = "arbitrary..", createClassGroupUtils = (e) => {
|
|
31
|
-
let
|
|
28
|
+
let o = createClassMap(e), { conflictingClassGroups: s, conflictingClassGroupModifiers: l } = e;
|
|
32
29
|
return {
|
|
33
30
|
getClassGroupId: (e) => {
|
|
34
31
|
if (e.startsWith("[") && e.endsWith("]")) return getGroupIdForArbitraryProperty(e);
|
|
35
|
-
let
|
|
36
|
-
return getGroupRecursive(
|
|
32
|
+
let s = e.split(CLASS_PART_SEPARATOR);
|
|
33
|
+
return getGroupRecursive(s, s[0] === "" && s.length > 1 ? 1 : 0, o);
|
|
37
34
|
},
|
|
38
|
-
getConflictingClassGroupIds: (e,
|
|
39
|
-
if (
|
|
40
|
-
let
|
|
41
|
-
return
|
|
35
|
+
getConflictingClassGroupIds: (e, o) => {
|
|
36
|
+
if (o) {
|
|
37
|
+
let o = l[e], u = s[e];
|
|
38
|
+
return o ? u ? concatArrays(u, o) : o : u || EMPTY_CONFLICTS;
|
|
42
39
|
}
|
|
43
|
-
return
|
|
40
|
+
return s[e] || EMPTY_CONFLICTS;
|
|
44
41
|
}
|
|
45
42
|
};
|
|
46
|
-
}, getGroupRecursive = (e,
|
|
47
|
-
if (e.length -
|
|
48
|
-
let
|
|
49
|
-
if (
|
|
50
|
-
let
|
|
51
|
-
if (
|
|
43
|
+
}, getGroupRecursive = (e, o, s) => {
|
|
44
|
+
if (e.length - o === 0) return s.classGroupId;
|
|
45
|
+
let c = e[o], l = s.nextPart.get(c);
|
|
46
|
+
if (l) {
|
|
47
|
+
let s = getGroupRecursive(e, o + 1, l);
|
|
48
|
+
if (s) return s;
|
|
52
49
|
}
|
|
53
|
-
let
|
|
54
|
-
if (
|
|
55
|
-
let
|
|
56
|
-
for (let e = 0; e <
|
|
57
|
-
let
|
|
58
|
-
if (
|
|
50
|
+
let u = s.validators;
|
|
51
|
+
if (u === null) return;
|
|
52
|
+
let f = o === 0 ? e.join(CLASS_PART_SEPARATOR) : e.slice(o).join(CLASS_PART_SEPARATOR), p = u.length;
|
|
53
|
+
for (let e = 0; e < p; e++) {
|
|
54
|
+
let o = u[e];
|
|
55
|
+
if (o.validator(f)) return o.classGroupId;
|
|
59
56
|
}
|
|
60
57
|
}, getGroupIdForArbitraryProperty = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
61
|
-
let
|
|
62
|
-
return
|
|
58
|
+
let o = e.slice(1, -1), s = o.indexOf(":"), c = o.slice(0, s);
|
|
59
|
+
return c ? ARBITRARY_PROPERTY_PREFIX + c : void 0;
|
|
63
60
|
})(), createClassMap = (e) => {
|
|
64
|
-
let { theme:
|
|
65
|
-
return processClassGroups(
|
|
66
|
-
}, processClassGroups = (e,
|
|
67
|
-
let
|
|
68
|
-
for (let
|
|
69
|
-
let
|
|
70
|
-
processClassesRecursively(
|
|
61
|
+
let { theme: o, classGroups: s } = e;
|
|
62
|
+
return processClassGroups(s, o);
|
|
63
|
+
}, processClassGroups = (e, o) => {
|
|
64
|
+
let s = createClassPartObject();
|
|
65
|
+
for (let c in e) {
|
|
66
|
+
let l = e[c];
|
|
67
|
+
processClassesRecursively(l, s, c, o);
|
|
71
68
|
}
|
|
72
|
-
return
|
|
73
|
-
}, processClassesRecursively = (e,
|
|
74
|
-
let
|
|
75
|
-
for (let
|
|
76
|
-
let
|
|
77
|
-
processClassDefinition(
|
|
69
|
+
return s;
|
|
70
|
+
}, processClassesRecursively = (e, o, s, c) => {
|
|
71
|
+
let l = e.length;
|
|
72
|
+
for (let u = 0; u < l; u++) {
|
|
73
|
+
let l = e[u];
|
|
74
|
+
processClassDefinition(l, o, s, c);
|
|
78
75
|
}
|
|
79
|
-
}, processClassDefinition = (e,
|
|
76
|
+
}, processClassDefinition = (e, o, s, c) => {
|
|
80
77
|
if (typeof e == "string") {
|
|
81
|
-
processStringDefinition(e,
|
|
78
|
+
processStringDefinition(e, o, s);
|
|
82
79
|
return;
|
|
83
80
|
}
|
|
84
81
|
if (typeof e == "function") {
|
|
85
|
-
processFunctionDefinition(e,
|
|
82
|
+
processFunctionDefinition(e, o, s, c);
|
|
86
83
|
return;
|
|
87
84
|
}
|
|
88
|
-
processObjectDefinition(e,
|
|
89
|
-
}, processStringDefinition = (e,
|
|
90
|
-
let
|
|
91
|
-
|
|
92
|
-
}, processFunctionDefinition = (e,
|
|
85
|
+
processObjectDefinition(e, o, s, c);
|
|
86
|
+
}, processStringDefinition = (e, o, s) => {
|
|
87
|
+
let c = e === "" ? o : getPart(o, e);
|
|
88
|
+
c.classGroupId = s;
|
|
89
|
+
}, processFunctionDefinition = (e, o, s, c) => {
|
|
93
90
|
if (isThemeGetter(e)) {
|
|
94
|
-
processClassesRecursively(e(
|
|
91
|
+
processClassesRecursively(e(c), o, s, c);
|
|
95
92
|
return;
|
|
96
93
|
}
|
|
97
|
-
|
|
98
|
-
}, processObjectDefinition = (e,
|
|
99
|
-
let
|
|
100
|
-
for (let e = 0; e <
|
|
101
|
-
let [
|
|
102
|
-
processClassesRecursively(
|
|
94
|
+
o.validators === null && (o.validators = []), o.validators.push(createClassValidatorObject(s, e));
|
|
95
|
+
}, processObjectDefinition = (e, o, s, c) => {
|
|
96
|
+
let l = Object.entries(e), u = l.length;
|
|
97
|
+
for (let e = 0; e < u; e++) {
|
|
98
|
+
let [u, d] = l[e];
|
|
99
|
+
processClassesRecursively(d, getPart(o, u), s, c);
|
|
103
100
|
}
|
|
104
|
-
}, getPart = (e,
|
|
105
|
-
let
|
|
106
|
-
for (let e = 0; e <
|
|
107
|
-
let
|
|
108
|
-
|
|
101
|
+
}, getPart = (e, o) => {
|
|
102
|
+
let s = e, c = o.split(CLASS_PART_SEPARATOR), l = c.length;
|
|
103
|
+
for (let e = 0; e < l; e++) {
|
|
104
|
+
let o = c[e], l = s.nextPart.get(o);
|
|
105
|
+
l || (l = createClassPartObject(), s.nextPart.set(o, l)), s = l;
|
|
109
106
|
}
|
|
110
|
-
return
|
|
107
|
+
return s;
|
|
111
108
|
}, isThemeGetter = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, createLruCache = (e) => {
|
|
112
109
|
if (e < 1) return {
|
|
113
110
|
get: () => void 0,
|
|
114
111
|
set: () => {}
|
|
115
112
|
};
|
|
116
|
-
let
|
|
117
|
-
|
|
113
|
+
let o = 0, s = Object.create(null), c = Object.create(null), l = (l, u) => {
|
|
114
|
+
s[l] = u, o++, o > e && (o = 0, c = s, s = Object.create(null));
|
|
118
115
|
};
|
|
119
116
|
return {
|
|
120
117
|
get(e) {
|
|
121
|
-
let
|
|
122
|
-
if (
|
|
123
|
-
if ((
|
|
118
|
+
let o = s[e];
|
|
119
|
+
if (o !== void 0) return o;
|
|
120
|
+
if ((o = c[e]) !== void 0) return l(e, o), o;
|
|
124
121
|
},
|
|
125
|
-
set(e,
|
|
126
|
-
e in
|
|
122
|
+
set(e, o) {
|
|
123
|
+
e in s ? s[e] = o : l(e, o);
|
|
127
124
|
}
|
|
128
125
|
};
|
|
129
|
-
}, IMPORTANT_MODIFIER = "!", MODIFIER_SEPARATOR = ":", EMPTY_MODIFIERS = [], createResultObject = (e,
|
|
126
|
+
}, IMPORTANT_MODIFIER = "!", MODIFIER_SEPARATOR = ":", EMPTY_MODIFIERS = [], createResultObject = (e, o, s, c, l) => ({
|
|
130
127
|
modifiers: e,
|
|
131
|
-
hasImportantModifier:
|
|
132
|
-
baseClassName:
|
|
133
|
-
maybePostfixModifierPosition:
|
|
134
|
-
isExternal:
|
|
128
|
+
hasImportantModifier: o,
|
|
129
|
+
baseClassName: s,
|
|
130
|
+
maybePostfixModifierPosition: c,
|
|
131
|
+
isExternal: l
|
|
135
132
|
}), createParseClassName = (e) => {
|
|
136
|
-
let { prefix:
|
|
137
|
-
let
|
|
138
|
-
for (let
|
|
139
|
-
let
|
|
140
|
-
if (
|
|
141
|
-
if (
|
|
142
|
-
|
|
133
|
+
let { prefix: o, experimentalParseClassName: s } = e, c = (e) => {
|
|
134
|
+
let o = [], s = 0, c = 0, l = 0, u, d = e.length;
|
|
135
|
+
for (let f = 0; f < d; f++) {
|
|
136
|
+
let d = e[f];
|
|
137
|
+
if (s === 0 && c === 0) {
|
|
138
|
+
if (d === MODIFIER_SEPARATOR) {
|
|
139
|
+
o.push(e.slice(l, f)), l = f + 1;
|
|
143
140
|
continue;
|
|
144
141
|
}
|
|
145
|
-
if (
|
|
146
|
-
|
|
142
|
+
if (d === "/") {
|
|
143
|
+
u = f;
|
|
147
144
|
continue;
|
|
148
145
|
}
|
|
149
146
|
}
|
|
150
|
-
|
|
147
|
+
d === "[" ? s++ : d === "]" ? s-- : d === "(" ? c++ : d === ")" && c--;
|
|
151
148
|
}
|
|
152
|
-
let
|
|
153
|
-
|
|
154
|
-
let
|
|
155
|
-
return createResultObject(
|
|
149
|
+
let f = o.length === 0 ? e : e.slice(l), p = f, m = !1;
|
|
150
|
+
f.endsWith(IMPORTANT_MODIFIER) ? (p = f.slice(0, -1), m = !0) : f.startsWith(IMPORTANT_MODIFIER) && (p = f.slice(1), m = !0);
|
|
151
|
+
let h = u && u > l ? u - l : void 0;
|
|
152
|
+
return createResultObject(o, m, p, h);
|
|
156
153
|
};
|
|
157
|
-
if (a) {
|
|
158
|
-
let e = a + MODIFIER_SEPARATOR, o = s;
|
|
159
|
-
s = (a) => a.startsWith(e) ? o(a.slice(e.length)) : createResultObject(EMPTY_MODIFIERS, !1, a, void 0, !0);
|
|
160
|
-
}
|
|
161
154
|
if (o) {
|
|
162
|
-
let e = s;
|
|
163
|
-
|
|
164
|
-
|
|
155
|
+
let e = o + MODIFIER_SEPARATOR, s = c;
|
|
156
|
+
c = (o) => o.startsWith(e) ? s(o.slice(e.length)) : createResultObject(EMPTY_MODIFIERS, !1, o, void 0, !0);
|
|
157
|
+
}
|
|
158
|
+
if (s) {
|
|
159
|
+
let e = c;
|
|
160
|
+
c = (o) => s({
|
|
161
|
+
className: o,
|
|
165
162
|
parseClassName: e
|
|
166
163
|
});
|
|
167
164
|
}
|
|
168
|
-
return
|
|
165
|
+
return c;
|
|
169
166
|
}, createSortModifiers = (e) => {
|
|
170
|
-
let
|
|
171
|
-
return e.orderSensitiveModifiers.forEach((e,
|
|
172
|
-
|
|
167
|
+
let o = /* @__PURE__ */ new Map();
|
|
168
|
+
return e.orderSensitiveModifiers.forEach((e, s) => {
|
|
169
|
+
o.set(e, 1e6 + s);
|
|
173
170
|
}), (e) => {
|
|
174
|
-
let
|
|
175
|
-
for (let
|
|
176
|
-
let
|
|
177
|
-
|
|
171
|
+
let s = [], c = [];
|
|
172
|
+
for (let l = 0; l < e.length; l++) {
|
|
173
|
+
let u = e[l], d = u[0] === "[", f = o.has(u);
|
|
174
|
+
d || f ? (c.length > 0 && (c.sort(), s.push(...c), c = []), s.push(u)) : c.push(u);
|
|
178
175
|
}
|
|
179
|
-
return
|
|
176
|
+
return c.length > 0 && (c.sort(), s.push(...c)), s;
|
|
180
177
|
};
|
|
181
178
|
}, createConfigUtils = (e) => ({
|
|
182
179
|
cache: createLruCache(e.cacheSize),
|
|
183
180
|
parseClassName: createParseClassName(e),
|
|
184
181
|
sortModifiers: createSortModifiers(e),
|
|
185
182
|
...createClassGroupUtils(e)
|
|
186
|
-
}), SPLIT_CLASSES_REGEX = /\s+/, mergeClassList = (e,
|
|
187
|
-
let { parseClassName:
|
|
188
|
-
for (let e =
|
|
189
|
-
let
|
|
190
|
-
if (
|
|
191
|
-
|
|
183
|
+
}), SPLIT_CLASSES_REGEX = /\s+/, mergeClassList = (e, o) => {
|
|
184
|
+
let { parseClassName: s, getClassGroupId: c, getConflictingClassGroupIds: l, sortModifiers: u } = o, d = [], f = e.trim().split(SPLIT_CLASSES_REGEX), p = "";
|
|
185
|
+
for (let e = f.length - 1; e >= 0; --e) {
|
|
186
|
+
let o = f[e], { isExternal: m, modifiers: h, hasImportantModifier: g, baseClassName: _, maybePostfixModifierPosition: v } = s(o);
|
|
187
|
+
if (m) {
|
|
188
|
+
p = o + (p.length > 0 ? " " + p : p);
|
|
192
189
|
continue;
|
|
193
190
|
}
|
|
194
|
-
let
|
|
195
|
-
if (!
|
|
196
|
-
if (!
|
|
197
|
-
|
|
191
|
+
let y = !!v, b = c(y ? _.substring(0, v) : _);
|
|
192
|
+
if (!b) {
|
|
193
|
+
if (!y) {
|
|
194
|
+
p = o + (p.length > 0 ? " " + p : p);
|
|
198
195
|
continue;
|
|
199
196
|
}
|
|
200
|
-
if (
|
|
201
|
-
|
|
197
|
+
if (b = c(_), !b) {
|
|
198
|
+
p = o + (p.length > 0 ? " " + p : p);
|
|
202
199
|
continue;
|
|
203
200
|
}
|
|
204
|
-
|
|
201
|
+
y = !1;
|
|
205
202
|
}
|
|
206
|
-
let
|
|
207
|
-
if (
|
|
208
|
-
|
|
209
|
-
let
|
|
210
|
-
for (let e = 0; e <
|
|
211
|
-
let
|
|
212
|
-
|
|
203
|
+
let x = h.length === 0 ? "" : h.length === 1 ? h[0] : u(h).join(":"), S = g ? x + IMPORTANT_MODIFIER : x, C = S + b;
|
|
204
|
+
if (d.indexOf(C) > -1) continue;
|
|
205
|
+
d.push(C);
|
|
206
|
+
let w = l(b, y);
|
|
207
|
+
for (let e = 0; e < w.length; ++e) {
|
|
208
|
+
let o = w[e];
|
|
209
|
+
d.push(S + o);
|
|
213
210
|
}
|
|
214
|
-
|
|
211
|
+
p = o + (p.length > 0 ? " " + p : p);
|
|
215
212
|
}
|
|
216
|
-
return
|
|
213
|
+
return p;
|
|
217
214
|
}, twJoin = (...e) => {
|
|
218
|
-
let
|
|
219
|
-
for (;
|
|
220
|
-
return
|
|
215
|
+
let o = 0, s, c, l = "";
|
|
216
|
+
for (; o < e.length;) (s = e[o++]) && (c = toValue(s)) && (l && (l += " "), l += c);
|
|
217
|
+
return l;
|
|
221
218
|
}, toValue = (e) => {
|
|
222
219
|
if (typeof e == "string") return e;
|
|
223
|
-
let
|
|
224
|
-
for (let
|
|
225
|
-
return
|
|
226
|
-
}, createTailwindMerge = (e, ...
|
|
227
|
-
let
|
|
228
|
-
let
|
|
229
|
-
if (
|
|
230
|
-
let
|
|
231
|
-
return
|
|
220
|
+
let o, s = "";
|
|
221
|
+
for (let c = 0; c < e.length; c++) e[c] && (o = toValue(e[c])) && (s && (s += " "), s += o);
|
|
222
|
+
return s;
|
|
223
|
+
}, createTailwindMerge = (e, ...o) => {
|
|
224
|
+
let s, c, l, u, d = (d) => (s = createConfigUtils(o.reduce((e, o) => o(e), e())), c = s.cache.get, l = s.cache.set, u = f, f(d)), f = (e) => {
|
|
225
|
+
let o = c(e);
|
|
226
|
+
if (o) return o;
|
|
227
|
+
let u = mergeClassList(e, s);
|
|
228
|
+
return l(e, u), u;
|
|
232
229
|
};
|
|
233
|
-
return
|
|
230
|
+
return u = d, (...e) => u(twJoin(...e));
|
|
234
231
|
}, fallbackThemeArr = [], fromTheme = (e) => {
|
|
235
|
-
let
|
|
236
|
-
return
|
|
237
|
-
}, arbitraryValueRegex = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, arbitraryVariableRegex = /^\((?:(\w[\w-]*):)?(.+)\)$/i, fractionRegex = /^\d+\/\d+$/, tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, lengthUnitRegex = /\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$/, colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, isFraction = (e) => fractionRegex.test(e), isNumber = (e) => !!e && !Number.isNaN(Number(e)), isInteger = (e) => !!e && Number.isInteger(Number(e)), isPercent = (e) => e.endsWith("%") && isNumber(e.slice(0, -1)), isTshirtSize = (e) => tshirtUnitRegex.test(e), isAny = () => !0, isLengthOnly = (e) => lengthUnitRegex.test(e) && !colorFunctionRegex.test(e), isNever = () => !1, isShadow = (e) => shadowRegex.test(e), isImage = (e) => imageRegex.test(e), isAnyNonArbitrary = (e) => !isArbitraryValue(e) && !isArbitraryVariable(e), isArbitrarySize = (e) => getIsArbitraryValue(e, isLabelSize, isNever), isArbitraryValue = (e) => arbitraryValueRegex.test(e), isArbitraryLength = (e) => getIsArbitraryValue(e, isLabelLength, isLengthOnly), isArbitraryNumber = (e) => getIsArbitraryValue(e, isLabelNumber, isNumber), isArbitraryPosition = (e) => getIsArbitraryValue(e, isLabelPosition, isNever), isArbitraryImage = (e) => getIsArbitraryValue(e, isLabelImage, isImage), isArbitraryShadow = (e) => getIsArbitraryValue(e, isLabelShadow, isShadow), isArbitraryVariable = (e) => arbitraryVariableRegex.test(e), isArbitraryVariableLength = (e) => getIsArbitraryVariable(e, isLabelLength), isArbitraryVariableFamilyName = (e) => getIsArbitraryVariable(e, isLabelFamilyName), isArbitraryVariablePosition = (e) => getIsArbitraryVariable(e, isLabelPosition), isArbitraryVariableSize = (e) => getIsArbitraryVariable(e, isLabelSize), isArbitraryVariableImage = (e) => getIsArbitraryVariable(e, isLabelImage), isArbitraryVariableShadow = (e) => getIsArbitraryVariable(e, isLabelShadow, !0), getIsArbitraryValue = (e,
|
|
238
|
-
let
|
|
239
|
-
return
|
|
240
|
-
}, getIsArbitraryVariable = (e,
|
|
241
|
-
let
|
|
242
|
-
return
|
|
232
|
+
let o = (o) => o[e] || fallbackThemeArr;
|
|
233
|
+
return o.isThemeGetter = !0, o;
|
|
234
|
+
}, arbitraryValueRegex = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, arbitraryVariableRegex = /^\((?:(\w[\w-]*):)?(.+)\)$/i, fractionRegex = /^\d+\/\d+$/, tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, lengthUnitRegex = /\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$/, colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, isFraction = (e) => fractionRegex.test(e), isNumber = (e) => !!e && !Number.isNaN(Number(e)), isInteger = (e) => !!e && Number.isInteger(Number(e)), isPercent = (e) => e.endsWith("%") && isNumber(e.slice(0, -1)), isTshirtSize = (e) => tshirtUnitRegex.test(e), isAny = () => !0, isLengthOnly = (e) => lengthUnitRegex.test(e) && !colorFunctionRegex.test(e), isNever = () => !1, isShadow = (e) => shadowRegex.test(e), isImage = (e) => imageRegex.test(e), isAnyNonArbitrary = (e) => !isArbitraryValue(e) && !isArbitraryVariable(e), isArbitrarySize = (e) => getIsArbitraryValue(e, isLabelSize, isNever), isArbitraryValue = (e) => arbitraryValueRegex.test(e), isArbitraryLength = (e) => getIsArbitraryValue(e, isLabelLength, isLengthOnly), isArbitraryNumber = (e) => getIsArbitraryValue(e, isLabelNumber, isNumber), isArbitraryPosition = (e) => getIsArbitraryValue(e, isLabelPosition, isNever), isArbitraryImage = (e) => getIsArbitraryValue(e, isLabelImage, isImage), isArbitraryShadow = (e) => getIsArbitraryValue(e, isLabelShadow, isShadow), isArbitraryVariable = (e) => arbitraryVariableRegex.test(e), isArbitraryVariableLength = (e) => getIsArbitraryVariable(e, isLabelLength), isArbitraryVariableFamilyName = (e) => getIsArbitraryVariable(e, isLabelFamilyName), isArbitraryVariablePosition = (e) => getIsArbitraryVariable(e, isLabelPosition), isArbitraryVariableSize = (e) => getIsArbitraryVariable(e, isLabelSize), isArbitraryVariableImage = (e) => getIsArbitraryVariable(e, isLabelImage), isArbitraryVariableShadow = (e) => getIsArbitraryVariable(e, isLabelShadow, !0), getIsArbitraryValue = (e, o, s) => {
|
|
235
|
+
let c = arbitraryValueRegex.exec(e);
|
|
236
|
+
return c ? c[1] ? o(c[1]) : s(c[2]) : !1;
|
|
237
|
+
}, getIsArbitraryVariable = (e, o, s = !1) => {
|
|
238
|
+
let c = arbitraryVariableRegex.exec(e);
|
|
239
|
+
return c ? c[1] ? o(c[1]) : s : !1;
|
|
243
240
|
}, isLabelPosition = (e) => e === "position" || e === "percentage", isLabelImage = (e) => e === "image" || e === "url", isLabelSize = (e) => e === "length" || e === "size" || e === "bg-size", isLabelLength = (e) => e === "length", isLabelNumber = (e) => e === "number", isLabelFamilyName = (e) => e === "family-name", isLabelShadow = (e) => e === "shadow", twMerge = /* @__PURE__ */ createTailwindMerge(() => {
|
|
244
|
-
let e = fromTheme("color"),
|
|
241
|
+
let e = fromTheme("color"), o = fromTheme("font"), s = fromTheme("text"), c = fromTheme("font-weight"), l = fromTheme("tracking"), u = fromTheme("leading"), d = fromTheme("breakpoint"), f = fromTheme("container"), p = fromTheme("spacing"), m = fromTheme("radius"), h = fromTheme("shadow"), g = fromTheme("inset-shadow"), _ = fromTheme("text-shadow"), v = fromTheme("drop-shadow"), y = fromTheme("blur"), b = fromTheme("perspective"), x = fromTheme("aspect"), S = fromTheme("ease"), C = fromTheme("animate"), w = () => [
|
|
245
242
|
"auto",
|
|
246
243
|
"avoid",
|
|
247
244
|
"all",
|
|
@@ -250,7 +247,7 @@ var concatArrays = (e, a) => {
|
|
|
250
247
|
"left",
|
|
251
248
|
"right",
|
|
252
249
|
"column"
|
|
253
|
-
],
|
|
250
|
+
], T = () => [
|
|
254
251
|
"center",
|
|
255
252
|
"top",
|
|
256
253
|
"bottom",
|
|
@@ -264,36 +261,36 @@ var concatArrays = (e, a) => {
|
|
|
264
261
|
"right-bottom",
|
|
265
262
|
"bottom-left",
|
|
266
263
|
"left-bottom"
|
|
267
|
-
],
|
|
268
|
-
...
|
|
264
|
+
], E = () => [
|
|
265
|
+
...T(),
|
|
269
266
|
isArbitraryVariable,
|
|
270
267
|
isArbitraryValue
|
|
271
|
-
],
|
|
268
|
+
], D = () => [
|
|
272
269
|
"auto",
|
|
273
270
|
"hidden",
|
|
274
271
|
"clip",
|
|
275
272
|
"visible",
|
|
276
273
|
"scroll"
|
|
277
|
-
],
|
|
274
|
+
], O = () => [
|
|
278
275
|
"auto",
|
|
279
276
|
"contain",
|
|
280
277
|
"none"
|
|
281
|
-
],
|
|
278
|
+
], k = () => [
|
|
282
279
|
isArbitraryVariable,
|
|
283
280
|
isArbitraryValue,
|
|
284
|
-
|
|
285
|
-
],
|
|
281
|
+
p
|
|
282
|
+
], A = () => [
|
|
286
283
|
isFraction,
|
|
287
284
|
"full",
|
|
288
285
|
"auto",
|
|
289
|
-
...
|
|
290
|
-
],
|
|
286
|
+
...k()
|
|
287
|
+
], j = () => [
|
|
291
288
|
isInteger,
|
|
292
289
|
"none",
|
|
293
290
|
"subgrid",
|
|
294
291
|
isArbitraryVariable,
|
|
295
292
|
isArbitraryValue
|
|
296
|
-
],
|
|
293
|
+
], M = () => [
|
|
297
294
|
"auto",
|
|
298
295
|
{ span: [
|
|
299
296
|
"full",
|
|
@@ -304,19 +301,19 @@ var concatArrays = (e, a) => {
|
|
|
304
301
|
isInteger,
|
|
305
302
|
isArbitraryVariable,
|
|
306
303
|
isArbitraryValue
|
|
307
|
-
],
|
|
304
|
+
], N = () => [
|
|
308
305
|
isInteger,
|
|
309
306
|
"auto",
|
|
310
307
|
isArbitraryVariable,
|
|
311
308
|
isArbitraryValue
|
|
312
|
-
],
|
|
309
|
+
], P = () => [
|
|
313
310
|
"auto",
|
|
314
311
|
"min",
|
|
315
312
|
"max",
|
|
316
313
|
"fr",
|
|
317
314
|
isArbitraryVariable,
|
|
318
315
|
isArbitraryValue
|
|
319
|
-
],
|
|
316
|
+
], F = () => [
|
|
320
317
|
"start",
|
|
321
318
|
"end",
|
|
322
319
|
"center",
|
|
@@ -327,14 +324,14 @@ var concatArrays = (e, a) => {
|
|
|
327
324
|
"baseline",
|
|
328
325
|
"center-safe",
|
|
329
326
|
"end-safe"
|
|
330
|
-
],
|
|
327
|
+
], I = () => [
|
|
331
328
|
"start",
|
|
332
329
|
"end",
|
|
333
330
|
"center",
|
|
334
331
|
"stretch",
|
|
335
332
|
"center-safe",
|
|
336
333
|
"end-safe"
|
|
337
|
-
],
|
|
334
|
+
], L = () => ["auto", ...k()], R = () => [
|
|
338
335
|
isFraction,
|
|
339
336
|
"auto",
|
|
340
337
|
"full",
|
|
@@ -347,13 +344,13 @@ var concatArrays = (e, a) => {
|
|
|
347
344
|
"min",
|
|
348
345
|
"max",
|
|
349
346
|
"fit",
|
|
350
|
-
...
|
|
351
|
-
],
|
|
347
|
+
...k()
|
|
348
|
+
], z = () => [
|
|
352
349
|
e,
|
|
353
350
|
isArbitraryVariable,
|
|
354
351
|
isArbitraryValue
|
|
355
|
-
],
|
|
356
|
-
...
|
|
352
|
+
], B = () => [
|
|
353
|
+
...T(),
|
|
357
354
|
isArbitraryVariablePosition,
|
|
358
355
|
isArbitraryPosition,
|
|
359
356
|
{ position: [isArbitraryVariable, isArbitraryValue] }
|
|
@@ -378,7 +375,7 @@ var concatArrays = (e, a) => {
|
|
|
378
375
|
"",
|
|
379
376
|
"none",
|
|
380
377
|
"full",
|
|
381
|
-
|
|
378
|
+
m,
|
|
382
379
|
isArbitraryVariable,
|
|
383
380
|
isArbitraryValue
|
|
384
381
|
], G = () => [
|
|
@@ -416,7 +413,7 @@ var concatArrays = (e, a) => {
|
|
|
416
413
|
], Y = () => [
|
|
417
414
|
"",
|
|
418
415
|
"none",
|
|
419
|
-
|
|
416
|
+
y,
|
|
420
417
|
isArbitraryVariable,
|
|
421
418
|
isArbitraryValue
|
|
422
419
|
], X = () => [
|
|
@@ -436,7 +433,7 @@ var concatArrays = (e, a) => {
|
|
|
436
433
|
], $ = () => [
|
|
437
434
|
isFraction,
|
|
438
435
|
"full",
|
|
439
|
-
...
|
|
436
|
+
...k()
|
|
440
437
|
];
|
|
441
438
|
return {
|
|
442
439
|
cacheSize: 500,
|
|
@@ -508,17 +505,17 @@ var concatArrays = (e, a) => {
|
|
|
508
505
|
isFraction,
|
|
509
506
|
isArbitraryValue,
|
|
510
507
|
isArbitraryVariable,
|
|
511
|
-
|
|
508
|
+
x
|
|
512
509
|
] }],
|
|
513
510
|
container: ["container"],
|
|
514
511
|
columns: [{ columns: [
|
|
515
512
|
isNumber,
|
|
516
513
|
isArbitraryValue,
|
|
517
514
|
isArbitraryVariable,
|
|
518
|
-
|
|
515
|
+
f
|
|
519
516
|
] }],
|
|
520
|
-
"break-after": [{ "break-after":
|
|
521
|
-
"break-before": [{ "break-before":
|
|
517
|
+
"break-after": [{ "break-after": w() }],
|
|
518
|
+
"break-before": [{ "break-before": w() }],
|
|
522
519
|
"break-inside": [{ "break-inside": [
|
|
523
520
|
"auto",
|
|
524
521
|
"avoid",
|
|
@@ -574,13 +571,13 @@ var concatArrays = (e, a) => {
|
|
|
574
571
|
"none",
|
|
575
572
|
"scale-down"
|
|
576
573
|
] }],
|
|
577
|
-
"object-position": [{ object:
|
|
578
|
-
overflow: [{ overflow:
|
|
579
|
-
"overflow-x": [{ "overflow-x":
|
|
580
|
-
"overflow-y": [{ "overflow-y":
|
|
581
|
-
overscroll: [{ overscroll:
|
|
582
|
-
"overscroll-x": [{ "overscroll-x":
|
|
583
|
-
"overscroll-y": [{ "overscroll-y":
|
|
574
|
+
"object-position": [{ object: E() }],
|
|
575
|
+
overflow: [{ overflow: D() }],
|
|
576
|
+
"overflow-x": [{ "overflow-x": D() }],
|
|
577
|
+
"overflow-y": [{ "overflow-y": D() }],
|
|
578
|
+
overscroll: [{ overscroll: O() }],
|
|
579
|
+
"overscroll-x": [{ "overscroll-x": O() }],
|
|
580
|
+
"overscroll-y": [{ "overscroll-y": O() }],
|
|
584
581
|
position: [
|
|
585
582
|
"static",
|
|
586
583
|
"fixed",
|
|
@@ -588,15 +585,15 @@ var concatArrays = (e, a) => {
|
|
|
588
585
|
"relative",
|
|
589
586
|
"sticky"
|
|
590
587
|
],
|
|
591
|
-
inset: [{ inset:
|
|
592
|
-
"inset-x": [{ "inset-x":
|
|
593
|
-
"inset-y": [{ "inset-y":
|
|
594
|
-
start: [{ start:
|
|
595
|
-
end: [{ end:
|
|
596
|
-
top: [{ top:
|
|
597
|
-
right: [{ right:
|
|
598
|
-
bottom: [{ bottom:
|
|
599
|
-
left: [{ left:
|
|
588
|
+
inset: [{ inset: A() }],
|
|
589
|
+
"inset-x": [{ "inset-x": A() }],
|
|
590
|
+
"inset-y": [{ "inset-y": A() }],
|
|
591
|
+
start: [{ start: A() }],
|
|
592
|
+
end: [{ end: A() }],
|
|
593
|
+
top: [{ top: A() }],
|
|
594
|
+
right: [{ right: A() }],
|
|
595
|
+
bottom: [{ bottom: A() }],
|
|
596
|
+
left: [{ left: A() }],
|
|
600
597
|
visibility: [
|
|
601
598
|
"visible",
|
|
602
599
|
"invisible",
|
|
@@ -612,8 +609,8 @@ var concatArrays = (e, a) => {
|
|
|
612
609
|
isFraction,
|
|
613
610
|
"full",
|
|
614
611
|
"auto",
|
|
615
|
-
|
|
616
|
-
...
|
|
612
|
+
f,
|
|
613
|
+
...k()
|
|
617
614
|
] }],
|
|
618
615
|
"flex-direction": [{ flex: [
|
|
619
616
|
"row",
|
|
@@ -654,14 +651,14 @@ var concatArrays = (e, a) => {
|
|
|
654
651
|
isArbitraryVariable,
|
|
655
652
|
isArbitraryValue
|
|
656
653
|
] }],
|
|
657
|
-
"grid-cols": [{ "grid-cols":
|
|
658
|
-
"col-start-end": [{ col:
|
|
659
|
-
"col-start": [{ "col-start":
|
|
660
|
-
"col-end": [{ "col-end":
|
|
661
|
-
"grid-rows": [{ "grid-rows":
|
|
662
|
-
"row-start-end": [{ row:
|
|
663
|
-
"row-start": [{ "row-start":
|
|
664
|
-
"row-end": [{ "row-end":
|
|
654
|
+
"grid-cols": [{ "grid-cols": j() }],
|
|
655
|
+
"col-start-end": [{ col: M() }],
|
|
656
|
+
"col-start": [{ "col-start": N() }],
|
|
657
|
+
"col-end": [{ "col-end": N() }],
|
|
658
|
+
"grid-rows": [{ "grid-rows": j() }],
|
|
659
|
+
"row-start-end": [{ row: M() }],
|
|
660
|
+
"row-start": [{ "row-start": N() }],
|
|
661
|
+
"row-end": [{ "row-end": N() }],
|
|
665
662
|
"grid-flow": [{ "grid-flow": [
|
|
666
663
|
"row",
|
|
667
664
|
"col",
|
|
@@ -669,92 +666,92 @@ var concatArrays = (e, a) => {
|
|
|
669
666
|
"row-dense",
|
|
670
667
|
"col-dense"
|
|
671
668
|
] }],
|
|
672
|
-
"auto-cols": [{ "auto-cols":
|
|
673
|
-
"auto-rows": [{ "auto-rows":
|
|
674
|
-
gap: [{ gap:
|
|
675
|
-
"gap-x": [{ "gap-x":
|
|
676
|
-
"gap-y": [{ "gap-y":
|
|
677
|
-
"justify-content": [{ justify: [...
|
|
678
|
-
"justify-items": [{ "justify-items": [...
|
|
679
|
-
"justify-self": [{ "justify-self": ["auto", ...
|
|
680
|
-
"align-content": [{ content: ["normal", ...
|
|
681
|
-
"align-items": [{ items: [...
|
|
669
|
+
"auto-cols": [{ "auto-cols": P() }],
|
|
670
|
+
"auto-rows": [{ "auto-rows": P() }],
|
|
671
|
+
gap: [{ gap: k() }],
|
|
672
|
+
"gap-x": [{ "gap-x": k() }],
|
|
673
|
+
"gap-y": [{ "gap-y": k() }],
|
|
674
|
+
"justify-content": [{ justify: [...F(), "normal"] }],
|
|
675
|
+
"justify-items": [{ "justify-items": [...I(), "normal"] }],
|
|
676
|
+
"justify-self": [{ "justify-self": ["auto", ...I()] }],
|
|
677
|
+
"align-content": [{ content: ["normal", ...F()] }],
|
|
678
|
+
"align-items": [{ items: [...I(), { baseline: ["", "last"] }] }],
|
|
682
679
|
"align-self": [{ self: [
|
|
683
680
|
"auto",
|
|
684
|
-
...
|
|
681
|
+
...I(),
|
|
685
682
|
{ baseline: ["", "last"] }
|
|
686
683
|
] }],
|
|
687
|
-
"place-content": [{ "place-content":
|
|
688
|
-
"place-items": [{ "place-items": [...
|
|
689
|
-
"place-self": [{ "place-self": ["auto", ...
|
|
690
|
-
p: [{ p:
|
|
691
|
-
px: [{ px:
|
|
692
|
-
py: [{ py:
|
|
693
|
-
ps: [{ ps:
|
|
694
|
-
pe: [{ pe:
|
|
695
|
-
pt: [{ pt:
|
|
696
|
-
pr: [{ pr:
|
|
697
|
-
pb: [{ pb:
|
|
698
|
-
pl: [{ pl:
|
|
699
|
-
m: [{ m:
|
|
700
|
-
mx: [{ mx:
|
|
701
|
-
my: [{ my:
|
|
702
|
-
ms: [{ ms:
|
|
703
|
-
me: [{ me:
|
|
704
|
-
mt: [{ mt:
|
|
705
|
-
mr: [{ mr:
|
|
706
|
-
mb: [{ mb:
|
|
707
|
-
ml: [{ ml:
|
|
708
|
-
"space-x": [{ "space-x":
|
|
684
|
+
"place-content": [{ "place-content": F() }],
|
|
685
|
+
"place-items": [{ "place-items": [...I(), "baseline"] }],
|
|
686
|
+
"place-self": [{ "place-self": ["auto", ...I()] }],
|
|
687
|
+
p: [{ p: k() }],
|
|
688
|
+
px: [{ px: k() }],
|
|
689
|
+
py: [{ py: k() }],
|
|
690
|
+
ps: [{ ps: k() }],
|
|
691
|
+
pe: [{ pe: k() }],
|
|
692
|
+
pt: [{ pt: k() }],
|
|
693
|
+
pr: [{ pr: k() }],
|
|
694
|
+
pb: [{ pb: k() }],
|
|
695
|
+
pl: [{ pl: k() }],
|
|
696
|
+
m: [{ m: L() }],
|
|
697
|
+
mx: [{ mx: L() }],
|
|
698
|
+
my: [{ my: L() }],
|
|
699
|
+
ms: [{ ms: L() }],
|
|
700
|
+
me: [{ me: L() }],
|
|
701
|
+
mt: [{ mt: L() }],
|
|
702
|
+
mr: [{ mr: L() }],
|
|
703
|
+
mb: [{ mb: L() }],
|
|
704
|
+
ml: [{ ml: L() }],
|
|
705
|
+
"space-x": [{ "space-x": k() }],
|
|
709
706
|
"space-x-reverse": ["space-x-reverse"],
|
|
710
|
-
"space-y": [{ "space-y":
|
|
707
|
+
"space-y": [{ "space-y": k() }],
|
|
711
708
|
"space-y-reverse": ["space-y-reverse"],
|
|
712
|
-
size: [{ size:
|
|
709
|
+
size: [{ size: R() }],
|
|
713
710
|
w: [{ w: [
|
|
714
|
-
|
|
711
|
+
f,
|
|
715
712
|
"screen",
|
|
716
|
-
...
|
|
713
|
+
...R()
|
|
717
714
|
] }],
|
|
718
715
|
"min-w": [{ "min-w": [
|
|
719
|
-
|
|
716
|
+
f,
|
|
720
717
|
"screen",
|
|
721
718
|
"none",
|
|
722
|
-
...
|
|
719
|
+
...R()
|
|
723
720
|
] }],
|
|
724
721
|
"max-w": [{ "max-w": [
|
|
725
|
-
|
|
722
|
+
f,
|
|
726
723
|
"screen",
|
|
727
724
|
"none",
|
|
728
725
|
"prose",
|
|
729
|
-
{ screen: [
|
|
730
|
-
...
|
|
726
|
+
{ screen: [d] },
|
|
727
|
+
...R()
|
|
731
728
|
] }],
|
|
732
729
|
h: [{ h: [
|
|
733
730
|
"screen",
|
|
734
731
|
"lh",
|
|
735
|
-
...
|
|
732
|
+
...R()
|
|
736
733
|
] }],
|
|
737
734
|
"min-h": [{ "min-h": [
|
|
738
735
|
"screen",
|
|
739
736
|
"lh",
|
|
740
737
|
"none",
|
|
741
|
-
...
|
|
738
|
+
...R()
|
|
742
739
|
] }],
|
|
743
740
|
"max-h": [{ "max-h": [
|
|
744
741
|
"screen",
|
|
745
742
|
"lh",
|
|
746
|
-
...
|
|
743
|
+
...R()
|
|
747
744
|
] }],
|
|
748
745
|
"font-size": [{ text: [
|
|
749
746
|
"base",
|
|
750
|
-
|
|
747
|
+
s,
|
|
751
748
|
isArbitraryVariableLength,
|
|
752
749
|
isArbitraryLength
|
|
753
750
|
] }],
|
|
754
751
|
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
755
752
|
"font-style": ["italic", "not-italic"],
|
|
756
753
|
"font-weight": [{ font: [
|
|
757
|
-
|
|
754
|
+
c,
|
|
758
755
|
isArbitraryVariable,
|
|
759
756
|
isArbitraryNumber
|
|
760
757
|
] }],
|
|
@@ -774,7 +771,7 @@ var concatArrays = (e, a) => {
|
|
|
774
771
|
"font-family": [{ font: [
|
|
775
772
|
isArbitraryVariableFamilyName,
|
|
776
773
|
isArbitraryValue,
|
|
777
|
-
|
|
774
|
+
o
|
|
778
775
|
] }],
|
|
779
776
|
"fvn-normal": ["normal-nums"],
|
|
780
777
|
"fvn-ordinal": ["ordinal"],
|
|
@@ -783,7 +780,7 @@ var concatArrays = (e, a) => {
|
|
|
783
780
|
"fvn-spacing": ["proportional-nums", "tabular-nums"],
|
|
784
781
|
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
|
|
785
782
|
tracking: [{ tracking: [
|
|
786
|
-
|
|
783
|
+
l,
|
|
787
784
|
isArbitraryVariable,
|
|
788
785
|
isArbitraryValue
|
|
789
786
|
] }],
|
|
@@ -793,7 +790,7 @@ var concatArrays = (e, a) => {
|
|
|
793
790
|
isArbitraryVariable,
|
|
794
791
|
isArbitraryNumber
|
|
795
792
|
] }],
|
|
796
|
-
leading: [{ leading: [
|
|
793
|
+
leading: [{ leading: [u, ...k()] }],
|
|
797
794
|
"list-image": [{ "list-image": [
|
|
798
795
|
"none",
|
|
799
796
|
isArbitraryVariable,
|
|
@@ -815,8 +812,8 @@ var concatArrays = (e, a) => {
|
|
|
815
812
|
"start",
|
|
816
813
|
"end"
|
|
817
814
|
] }],
|
|
818
|
-
"placeholder-color": [{ placeholder:
|
|
819
|
-
"text-color": [{ text:
|
|
815
|
+
"placeholder-color": [{ placeholder: z() }],
|
|
816
|
+
"text-color": [{ text: z() }],
|
|
820
817
|
"text-decoration": [
|
|
821
818
|
"underline",
|
|
822
819
|
"overline",
|
|
@@ -831,7 +828,7 @@ var concatArrays = (e, a) => {
|
|
|
831
828
|
isArbitraryVariable,
|
|
832
829
|
isArbitraryLength
|
|
833
830
|
] }],
|
|
834
|
-
"text-decoration-color": [{ decoration:
|
|
831
|
+
"text-decoration-color": [{ decoration: z() }],
|
|
835
832
|
"underline-offset": [{ "underline-offset": [
|
|
836
833
|
isNumber,
|
|
837
834
|
"auto",
|
|
@@ -855,7 +852,7 @@ var concatArrays = (e, a) => {
|
|
|
855
852
|
"balance",
|
|
856
853
|
"pretty"
|
|
857
854
|
] }],
|
|
858
|
-
indent: [{ indent:
|
|
855
|
+
indent: [{ indent: k() }],
|
|
859
856
|
"vertical-align": [{ align: [
|
|
860
857
|
"baseline",
|
|
861
858
|
"top",
|
|
@@ -913,7 +910,7 @@ var concatArrays = (e, a) => {
|
|
|
913
910
|
"padding",
|
|
914
911
|
"content"
|
|
915
912
|
] }],
|
|
916
|
-
"bg-position": [{ bg:
|
|
913
|
+
"bg-position": [{ bg: B() }],
|
|
917
914
|
"bg-repeat": [{ bg: V() }],
|
|
918
915
|
"bg-size": [{ bg: H() }],
|
|
919
916
|
"bg-image": [{ bg: [
|
|
@@ -948,13 +945,13 @@ var concatArrays = (e, a) => {
|
|
|
948
945
|
isArbitraryVariableImage,
|
|
949
946
|
isArbitraryImage
|
|
950
947
|
] }],
|
|
951
|
-
"bg-color": [{ bg:
|
|
948
|
+
"bg-color": [{ bg: z() }],
|
|
952
949
|
"gradient-from-pos": [{ from: U() }],
|
|
953
950
|
"gradient-via-pos": [{ via: U() }],
|
|
954
951
|
"gradient-to-pos": [{ to: U() }],
|
|
955
|
-
"gradient-from": [{ from:
|
|
956
|
-
"gradient-via": [{ via:
|
|
957
|
-
"gradient-to": [{ to:
|
|
952
|
+
"gradient-from": [{ from: z() }],
|
|
953
|
+
"gradient-via": [{ via: z() }],
|
|
954
|
+
"gradient-to": [{ to: z() }],
|
|
958
955
|
rounded: [{ rounded: W() }],
|
|
959
956
|
"rounded-s": [{ "rounded-s": W() }],
|
|
960
957
|
"rounded-e": [{ "rounded-e": W() }],
|
|
@@ -993,16 +990,16 @@ var concatArrays = (e, a) => {
|
|
|
993
990
|
"hidden",
|
|
994
991
|
"none"
|
|
995
992
|
] }],
|
|
996
|
-
"border-color": [{ border:
|
|
997
|
-
"border-color-x": [{ "border-x":
|
|
998
|
-
"border-color-y": [{ "border-y":
|
|
999
|
-
"border-color-s": [{ "border-s":
|
|
1000
|
-
"border-color-e": [{ "border-e":
|
|
1001
|
-
"border-color-t": [{ "border-t":
|
|
1002
|
-
"border-color-r": [{ "border-r":
|
|
1003
|
-
"border-color-b": [{ "border-b":
|
|
1004
|
-
"border-color-l": [{ "border-l":
|
|
1005
|
-
"divide-color": [{ divide:
|
|
993
|
+
"border-color": [{ border: z() }],
|
|
994
|
+
"border-color-x": [{ "border-x": z() }],
|
|
995
|
+
"border-color-y": [{ "border-y": z() }],
|
|
996
|
+
"border-color-s": [{ "border-s": z() }],
|
|
997
|
+
"border-color-e": [{ "border-e": z() }],
|
|
998
|
+
"border-color-t": [{ "border-t": z() }],
|
|
999
|
+
"border-color-r": [{ "border-r": z() }],
|
|
1000
|
+
"border-color-b": [{ "border-b": z() }],
|
|
1001
|
+
"border-color-l": [{ "border-l": z() }],
|
|
1002
|
+
"divide-color": [{ divide: z() }],
|
|
1006
1003
|
"outline-style": [{ outline: [
|
|
1007
1004
|
...K(),
|
|
1008
1005
|
"none",
|
|
@@ -1019,36 +1016,36 @@ var concatArrays = (e, a) => {
|
|
|
1019
1016
|
isArbitraryVariableLength,
|
|
1020
1017
|
isArbitraryLength
|
|
1021
1018
|
] }],
|
|
1022
|
-
"outline-color": [{ outline:
|
|
1019
|
+
"outline-color": [{ outline: z() }],
|
|
1023
1020
|
shadow: [{ shadow: [
|
|
1024
1021
|
"",
|
|
1025
1022
|
"none",
|
|
1026
|
-
|
|
1023
|
+
h,
|
|
1027
1024
|
isArbitraryVariableShadow,
|
|
1028
1025
|
isArbitraryShadow
|
|
1029
1026
|
] }],
|
|
1030
|
-
"shadow-color": [{ shadow:
|
|
1027
|
+
"shadow-color": [{ shadow: z() }],
|
|
1031
1028
|
"inset-shadow": [{ "inset-shadow": [
|
|
1032
1029
|
"none",
|
|
1033
|
-
|
|
1030
|
+
g,
|
|
1034
1031
|
isArbitraryVariableShadow,
|
|
1035
1032
|
isArbitraryShadow
|
|
1036
1033
|
] }],
|
|
1037
|
-
"inset-shadow-color": [{ "inset-shadow":
|
|
1034
|
+
"inset-shadow-color": [{ "inset-shadow": z() }],
|
|
1038
1035
|
"ring-w": [{ ring: G() }],
|
|
1039
1036
|
"ring-w-inset": ["ring-inset"],
|
|
1040
|
-
"ring-color": [{ ring:
|
|
1037
|
+
"ring-color": [{ ring: z() }],
|
|
1041
1038
|
"ring-offset-w": [{ "ring-offset": [isNumber, isArbitraryLength] }],
|
|
1042
|
-
"ring-offset-color": [{ "ring-offset":
|
|
1039
|
+
"ring-offset-color": [{ "ring-offset": z() }],
|
|
1043
1040
|
"inset-ring-w": [{ "inset-ring": G() }],
|
|
1044
|
-
"inset-ring-color": [{ "inset-ring":
|
|
1041
|
+
"inset-ring-color": [{ "inset-ring": z() }],
|
|
1045
1042
|
"text-shadow": [{ "text-shadow": [
|
|
1046
1043
|
"none",
|
|
1047
|
-
|
|
1044
|
+
_,
|
|
1048
1045
|
isArbitraryVariableShadow,
|
|
1049
1046
|
isArbitraryShadow
|
|
1050
1047
|
] }],
|
|
1051
|
-
"text-shadow-color": [{ "text-shadow":
|
|
1048
|
+
"text-shadow-color": [{ "text-shadow": z() }],
|
|
1052
1049
|
opacity: [{ opacity: [
|
|
1053
1050
|
isNumber,
|
|
1054
1051
|
isArbitraryVariable,
|
|
@@ -1077,48 +1074,48 @@ var concatArrays = (e, a) => {
|
|
|
1077
1074
|
"mask-image-linear-pos": [{ "mask-linear": [isNumber] }],
|
|
1078
1075
|
"mask-image-linear-from-pos": [{ "mask-linear-from": J() }],
|
|
1079
1076
|
"mask-image-linear-to-pos": [{ "mask-linear-to": J() }],
|
|
1080
|
-
"mask-image-linear-from-color": [{ "mask-linear-from":
|
|
1081
|
-
"mask-image-linear-to-color": [{ "mask-linear-to":
|
|
1077
|
+
"mask-image-linear-from-color": [{ "mask-linear-from": z() }],
|
|
1078
|
+
"mask-image-linear-to-color": [{ "mask-linear-to": z() }],
|
|
1082
1079
|
"mask-image-t-from-pos": [{ "mask-t-from": J() }],
|
|
1083
1080
|
"mask-image-t-to-pos": [{ "mask-t-to": J() }],
|
|
1084
|
-
"mask-image-t-from-color": [{ "mask-t-from":
|
|
1085
|
-
"mask-image-t-to-color": [{ "mask-t-to":
|
|
1081
|
+
"mask-image-t-from-color": [{ "mask-t-from": z() }],
|
|
1082
|
+
"mask-image-t-to-color": [{ "mask-t-to": z() }],
|
|
1086
1083
|
"mask-image-r-from-pos": [{ "mask-r-from": J() }],
|
|
1087
1084
|
"mask-image-r-to-pos": [{ "mask-r-to": J() }],
|
|
1088
|
-
"mask-image-r-from-color": [{ "mask-r-from":
|
|
1089
|
-
"mask-image-r-to-color": [{ "mask-r-to":
|
|
1085
|
+
"mask-image-r-from-color": [{ "mask-r-from": z() }],
|
|
1086
|
+
"mask-image-r-to-color": [{ "mask-r-to": z() }],
|
|
1090
1087
|
"mask-image-b-from-pos": [{ "mask-b-from": J() }],
|
|
1091
1088
|
"mask-image-b-to-pos": [{ "mask-b-to": J() }],
|
|
1092
|
-
"mask-image-b-from-color": [{ "mask-b-from":
|
|
1093
|
-
"mask-image-b-to-color": [{ "mask-b-to":
|
|
1089
|
+
"mask-image-b-from-color": [{ "mask-b-from": z() }],
|
|
1090
|
+
"mask-image-b-to-color": [{ "mask-b-to": z() }],
|
|
1094
1091
|
"mask-image-l-from-pos": [{ "mask-l-from": J() }],
|
|
1095
1092
|
"mask-image-l-to-pos": [{ "mask-l-to": J() }],
|
|
1096
|
-
"mask-image-l-from-color": [{ "mask-l-from":
|
|
1097
|
-
"mask-image-l-to-color": [{ "mask-l-to":
|
|
1093
|
+
"mask-image-l-from-color": [{ "mask-l-from": z() }],
|
|
1094
|
+
"mask-image-l-to-color": [{ "mask-l-to": z() }],
|
|
1098
1095
|
"mask-image-x-from-pos": [{ "mask-x-from": J() }],
|
|
1099
1096
|
"mask-image-x-to-pos": [{ "mask-x-to": J() }],
|
|
1100
|
-
"mask-image-x-from-color": [{ "mask-x-from":
|
|
1101
|
-
"mask-image-x-to-color": [{ "mask-x-to":
|
|
1097
|
+
"mask-image-x-from-color": [{ "mask-x-from": z() }],
|
|
1098
|
+
"mask-image-x-to-color": [{ "mask-x-to": z() }],
|
|
1102
1099
|
"mask-image-y-from-pos": [{ "mask-y-from": J() }],
|
|
1103
1100
|
"mask-image-y-to-pos": [{ "mask-y-to": J() }],
|
|
1104
|
-
"mask-image-y-from-color": [{ "mask-y-from":
|
|
1105
|
-
"mask-image-y-to-color": [{ "mask-y-to":
|
|
1101
|
+
"mask-image-y-from-color": [{ "mask-y-from": z() }],
|
|
1102
|
+
"mask-image-y-to-color": [{ "mask-y-to": z() }],
|
|
1106
1103
|
"mask-image-radial": [{ "mask-radial": [isArbitraryVariable, isArbitraryValue] }],
|
|
1107
1104
|
"mask-image-radial-from-pos": [{ "mask-radial-from": J() }],
|
|
1108
1105
|
"mask-image-radial-to-pos": [{ "mask-radial-to": J() }],
|
|
1109
|
-
"mask-image-radial-from-color": [{ "mask-radial-from":
|
|
1110
|
-
"mask-image-radial-to-color": [{ "mask-radial-to":
|
|
1106
|
+
"mask-image-radial-from-color": [{ "mask-radial-from": z() }],
|
|
1107
|
+
"mask-image-radial-to-color": [{ "mask-radial-to": z() }],
|
|
1111
1108
|
"mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
|
|
1112
1109
|
"mask-image-radial-size": [{ "mask-radial": [{
|
|
1113
1110
|
closest: ["side", "corner"],
|
|
1114
1111
|
farthest: ["side", "corner"]
|
|
1115
1112
|
}] }],
|
|
1116
|
-
"mask-image-radial-pos": [{ "mask-radial-at":
|
|
1113
|
+
"mask-image-radial-pos": [{ "mask-radial-at": T() }],
|
|
1117
1114
|
"mask-image-conic-pos": [{ "mask-conic": [isNumber] }],
|
|
1118
1115
|
"mask-image-conic-from-pos": [{ "mask-conic-from": J() }],
|
|
1119
1116
|
"mask-image-conic-to-pos": [{ "mask-conic-to": J() }],
|
|
1120
|
-
"mask-image-conic-from-color": [{ "mask-conic-from":
|
|
1121
|
-
"mask-image-conic-to-color": [{ "mask-conic-to":
|
|
1117
|
+
"mask-image-conic-from-color": [{ "mask-conic-from": z() }],
|
|
1118
|
+
"mask-image-conic-to-color": [{ "mask-conic-to": z() }],
|
|
1122
1119
|
"mask-mode": [{ mask: [
|
|
1123
1120
|
"alpha",
|
|
1124
1121
|
"luminance",
|
|
@@ -1132,7 +1129,7 @@ var concatArrays = (e, a) => {
|
|
|
1132
1129
|
"stroke",
|
|
1133
1130
|
"view"
|
|
1134
1131
|
] }],
|
|
1135
|
-
"mask-position": [{ mask:
|
|
1132
|
+
"mask-position": [{ mask: B() }],
|
|
1136
1133
|
"mask-repeat": [{ mask: V() }],
|
|
1137
1134
|
"mask-size": [{ mask: H() }],
|
|
1138
1135
|
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
|
|
@@ -1161,11 +1158,11 @@ var concatArrays = (e, a) => {
|
|
|
1161
1158
|
"drop-shadow": [{ "drop-shadow": [
|
|
1162
1159
|
"",
|
|
1163
1160
|
"none",
|
|
1164
|
-
|
|
1161
|
+
v,
|
|
1165
1162
|
isArbitraryVariableShadow,
|
|
1166
1163
|
isArbitraryShadow
|
|
1167
1164
|
] }],
|
|
1168
|
-
"drop-shadow-color": [{ "drop-shadow":
|
|
1165
|
+
"drop-shadow-color": [{ "drop-shadow": z() }],
|
|
1169
1166
|
grayscale: [{ grayscale: [
|
|
1170
1167
|
"",
|
|
1171
1168
|
isNumber,
|
|
@@ -1245,9 +1242,9 @@ var concatArrays = (e, a) => {
|
|
|
1245
1242
|
isArbitraryValue
|
|
1246
1243
|
] }],
|
|
1247
1244
|
"border-collapse": [{ border: ["collapse", "separate"] }],
|
|
1248
|
-
"border-spacing": [{ "border-spacing":
|
|
1249
|
-
"border-spacing-x": [{ "border-spacing-x":
|
|
1250
|
-
"border-spacing-y": [{ "border-spacing-y":
|
|
1245
|
+
"border-spacing": [{ "border-spacing": k() }],
|
|
1246
|
+
"border-spacing-x": [{ "border-spacing-x": k() }],
|
|
1247
|
+
"border-spacing-y": [{ "border-spacing-y": k() }],
|
|
1251
1248
|
"table-layout": [{ table: ["auto", "fixed"] }],
|
|
1252
1249
|
caption: [{ caption: ["top", "bottom"] }],
|
|
1253
1250
|
transition: [{ transition: [
|
|
@@ -1271,7 +1268,7 @@ var concatArrays = (e, a) => {
|
|
|
1271
1268
|
ease: [{ ease: [
|
|
1272
1269
|
"linear",
|
|
1273
1270
|
"initial",
|
|
1274
|
-
|
|
1271
|
+
S,
|
|
1275
1272
|
isArbitraryVariable,
|
|
1276
1273
|
isArbitraryValue
|
|
1277
1274
|
] }],
|
|
@@ -1282,17 +1279,17 @@ var concatArrays = (e, a) => {
|
|
|
1282
1279
|
] }],
|
|
1283
1280
|
animate: [{ animate: [
|
|
1284
1281
|
"none",
|
|
1285
|
-
|
|
1282
|
+
C,
|
|
1286
1283
|
isArbitraryVariable,
|
|
1287
1284
|
isArbitraryValue
|
|
1288
1285
|
] }],
|
|
1289
1286
|
backface: [{ backface: ["hidden", "visible"] }],
|
|
1290
1287
|
perspective: [{ perspective: [
|
|
1291
|
-
|
|
1288
|
+
b,
|
|
1292
1289
|
isArbitraryVariable,
|
|
1293
1290
|
isArbitraryValue
|
|
1294
1291
|
] }],
|
|
1295
|
-
"perspective-origin": [{ "perspective-origin":
|
|
1292
|
+
"perspective-origin": [{ "perspective-origin": E() }],
|
|
1296
1293
|
rotate: [{ rotate: X() }],
|
|
1297
1294
|
"rotate-x": [{ "rotate-x": X() }],
|
|
1298
1295
|
"rotate-y": [{ "rotate-y": X() }],
|
|
@@ -1313,16 +1310,16 @@ var concatArrays = (e, a) => {
|
|
|
1313
1310
|
"gpu",
|
|
1314
1311
|
"cpu"
|
|
1315
1312
|
] }],
|
|
1316
|
-
"transform-origin": [{ origin:
|
|
1313
|
+
"transform-origin": [{ origin: E() }],
|
|
1317
1314
|
"transform-style": [{ transform: ["3d", "flat"] }],
|
|
1318
1315
|
translate: [{ translate: $() }],
|
|
1319
1316
|
"translate-x": [{ "translate-x": $() }],
|
|
1320
1317
|
"translate-y": [{ "translate-y": $() }],
|
|
1321
1318
|
"translate-z": [{ "translate-z": $() }],
|
|
1322
1319
|
"translate-none": ["translate-none"],
|
|
1323
|
-
accent: [{ accent:
|
|
1320
|
+
accent: [{ accent: z() }],
|
|
1324
1321
|
appearance: [{ appearance: ["none", "auto"] }],
|
|
1325
|
-
"caret-color": [{ caret:
|
|
1322
|
+
"caret-color": [{ caret: z() }],
|
|
1326
1323
|
"color-scheme": [{ scheme: [
|
|
1327
1324
|
"normal",
|
|
1328
1325
|
"dark",
|
|
@@ -1380,24 +1377,24 @@ var concatArrays = (e, a) => {
|
|
|
1380
1377
|
"x"
|
|
1381
1378
|
] }],
|
|
1382
1379
|
"scroll-behavior": [{ scroll: ["auto", "smooth"] }],
|
|
1383
|
-
"scroll-m": [{ "scroll-m":
|
|
1384
|
-
"scroll-mx": [{ "scroll-mx":
|
|
1385
|
-
"scroll-my": [{ "scroll-my":
|
|
1386
|
-
"scroll-ms": [{ "scroll-ms":
|
|
1387
|
-
"scroll-me": [{ "scroll-me":
|
|
1388
|
-
"scroll-mt": [{ "scroll-mt":
|
|
1389
|
-
"scroll-mr": [{ "scroll-mr":
|
|
1390
|
-
"scroll-mb": [{ "scroll-mb":
|
|
1391
|
-
"scroll-ml": [{ "scroll-ml":
|
|
1392
|
-
"scroll-p": [{ "scroll-p":
|
|
1393
|
-
"scroll-px": [{ "scroll-px":
|
|
1394
|
-
"scroll-py": [{ "scroll-py":
|
|
1395
|
-
"scroll-ps": [{ "scroll-ps":
|
|
1396
|
-
"scroll-pe": [{ "scroll-pe":
|
|
1397
|
-
"scroll-pt": [{ "scroll-pt":
|
|
1398
|
-
"scroll-pr": [{ "scroll-pr":
|
|
1399
|
-
"scroll-pb": [{ "scroll-pb":
|
|
1400
|
-
"scroll-pl": [{ "scroll-pl":
|
|
1380
|
+
"scroll-m": [{ "scroll-m": k() }],
|
|
1381
|
+
"scroll-mx": [{ "scroll-mx": k() }],
|
|
1382
|
+
"scroll-my": [{ "scroll-my": k() }],
|
|
1383
|
+
"scroll-ms": [{ "scroll-ms": k() }],
|
|
1384
|
+
"scroll-me": [{ "scroll-me": k() }],
|
|
1385
|
+
"scroll-mt": [{ "scroll-mt": k() }],
|
|
1386
|
+
"scroll-mr": [{ "scroll-mr": k() }],
|
|
1387
|
+
"scroll-mb": [{ "scroll-mb": k() }],
|
|
1388
|
+
"scroll-ml": [{ "scroll-ml": k() }],
|
|
1389
|
+
"scroll-p": [{ "scroll-p": k() }],
|
|
1390
|
+
"scroll-px": [{ "scroll-px": k() }],
|
|
1391
|
+
"scroll-py": [{ "scroll-py": k() }],
|
|
1392
|
+
"scroll-ps": [{ "scroll-ps": k() }],
|
|
1393
|
+
"scroll-pe": [{ "scroll-pe": k() }],
|
|
1394
|
+
"scroll-pt": [{ "scroll-pt": k() }],
|
|
1395
|
+
"scroll-pr": [{ "scroll-pr": k() }],
|
|
1396
|
+
"scroll-pb": [{ "scroll-pb": k() }],
|
|
1397
|
+
"scroll-pl": [{ "scroll-pl": k() }],
|
|
1401
1398
|
"snap-align": [{ snap: [
|
|
1402
1399
|
"start",
|
|
1403
1400
|
"end",
|
|
@@ -1442,14 +1439,14 @@ var concatArrays = (e, a) => {
|
|
|
1442
1439
|
isArbitraryVariable,
|
|
1443
1440
|
isArbitraryValue
|
|
1444
1441
|
] }],
|
|
1445
|
-
fill: [{ fill: ["none", ...
|
|
1442
|
+
fill: [{ fill: ["none", ...z()] }],
|
|
1446
1443
|
"stroke-w": [{ stroke: [
|
|
1447
1444
|
isNumber,
|
|
1448
1445
|
isArbitraryVariableLength,
|
|
1449
1446
|
isArbitraryLength,
|
|
1450
1447
|
isArbitraryNumber
|
|
1451
1448
|
] }],
|
|
1452
|
-
stroke: [{ stroke: ["none", ...
|
|
1449
|
+
stroke: [{ stroke: ["none", ...z()] }],
|
|
1453
1450
|
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
|
|
1454
1451
|
},
|
|
1455
1452
|
conflictingClassGroups: {
|
|
@@ -1623,210 +1620,25 @@ var concatArrays = (e, a) => {
|
|
|
1623
1620
|
function cn(...e) {
|
|
1624
1621
|
return twMerge(clsx(e));
|
|
1625
1622
|
}
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
*
|
|
1632
|
-
* This source code is licensed under the MIT license found in the
|
|
1633
|
-
* LICENSE file in the root directory of this source tree.
|
|
1634
|
-
*/
|
|
1635
|
-
var require_react_jsx_runtime_production = /* @__PURE__ */ __commonJSMin(((e) => {
|
|
1636
|
-
var a = Symbol.for("react.transitional.element");
|
|
1637
|
-
function o(e, o, s) {
|
|
1638
|
-
var c = null;
|
|
1639
|
-
if (s !== void 0 && (c = "" + s), o.key !== void 0 && (c = "" + o.key), "key" in o) for (var l in s = {}, o) l !== "key" && (s[l] = o[l]);
|
|
1640
|
-
else s = o;
|
|
1641
|
-
return o = s.ref, {
|
|
1642
|
-
$$typeof: a,
|
|
1643
|
-
type: e,
|
|
1644
|
-
key: c,
|
|
1645
|
-
ref: o === void 0 ? null : o,
|
|
1646
|
-
props: s
|
|
1647
|
-
};
|
|
1648
|
-
}
|
|
1649
|
-
e.jsx = o;
|
|
1650
|
-
})), require_react_jsx_runtime_development = /* @__PURE__ */ __commonJSMin(((e) => {
|
|
1651
|
-
process.env.NODE_ENV !== "production" && (function() {
|
|
1652
|
-
function o(e) {
|
|
1653
|
-
if (e == null) return null;
|
|
1654
|
-
if (typeof e == "function") return e.$$typeof === N ? null : e.displayName || e.name || null;
|
|
1655
|
-
if (typeof e == "string") return e;
|
|
1656
|
-
switch (e) {
|
|
1657
|
-
case S: return "Fragment";
|
|
1658
|
-
case w: return "Profiler";
|
|
1659
|
-
case C: return "StrictMode";
|
|
1660
|
-
case O: return "Suspense";
|
|
1661
|
-
case k: return "SuspenseList";
|
|
1662
|
-
case M: return "Activity";
|
|
1663
|
-
}
|
|
1664
|
-
if (typeof e == "object") switch (typeof e.tag == "number" && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), e.$$typeof) {
|
|
1665
|
-
case x: return "Portal";
|
|
1666
|
-
case E: return e.displayName || "Context";
|
|
1667
|
-
case T: return (e._context.displayName || "Context") + ".Consumer";
|
|
1668
|
-
case D:
|
|
1669
|
-
var a = e.render;
|
|
1670
|
-
return e = e.displayName, e ||= (e = a.displayName || a.name || "", e === "" ? "ForwardRef" : "ForwardRef(" + e + ")"), e;
|
|
1671
|
-
case A: return a = e.displayName || null, a === null ? o(e.type) || "Memo" : a;
|
|
1672
|
-
case j:
|
|
1673
|
-
a = e._payload, e = e._init;
|
|
1674
|
-
try {
|
|
1675
|
-
return o(e(a));
|
|
1676
|
-
} catch {}
|
|
1677
|
-
}
|
|
1678
|
-
return null;
|
|
1679
|
-
}
|
|
1680
|
-
function s(e) {
|
|
1681
|
-
return "" + e;
|
|
1682
|
-
}
|
|
1683
|
-
function c(e) {
|
|
1684
|
-
try {
|
|
1685
|
-
s(e);
|
|
1686
|
-
var a = !1;
|
|
1687
|
-
} catch {
|
|
1688
|
-
a = !0;
|
|
1689
|
-
}
|
|
1690
|
-
if (a) {
|
|
1691
|
-
a = console;
|
|
1692
|
-
var o = a.error, c = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
1693
|
-
return o.call(a, "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", c), s(e);
|
|
1694
|
-
}
|
|
1695
|
-
}
|
|
1696
|
-
function l(e) {
|
|
1697
|
-
if (e === S) return "<>";
|
|
1698
|
-
if (typeof e == "object" && e && e.$$typeof === j) return "<...>";
|
|
1699
|
-
try {
|
|
1700
|
-
var a = o(e);
|
|
1701
|
-
return a ? "<" + a + ">" : "<...>";
|
|
1702
|
-
} catch {
|
|
1703
|
-
return "<...>";
|
|
1704
|
-
}
|
|
1705
|
-
}
|
|
1706
|
-
function u() {
|
|
1707
|
-
var e = P.A;
|
|
1708
|
-
return e === null ? null : e.getOwner();
|
|
1709
|
-
}
|
|
1710
|
-
function d() {
|
|
1711
|
-
return Error("react-stack-top-frame");
|
|
1712
|
-
}
|
|
1713
|
-
function f(e) {
|
|
1714
|
-
if (F.call(e, "key")) {
|
|
1715
|
-
var a = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1716
|
-
if (a && a.isReactWarning) return !1;
|
|
1717
|
-
}
|
|
1718
|
-
return e.key !== void 0;
|
|
1719
|
-
}
|
|
1720
|
-
function p(e, a) {
|
|
1721
|
-
function o() {
|
|
1722
|
-
R || (R = !0, console.error("%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)", a));
|
|
1723
|
-
}
|
|
1724
|
-
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1725
|
-
get: o,
|
|
1726
|
-
configurable: !0
|
|
1727
|
-
});
|
|
1728
|
-
}
|
|
1729
|
-
function m() {
|
|
1730
|
-
var e = o(this.type);
|
|
1731
|
-
return z[e] || (z[e] = !0, console.error("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.")), e = this.props.ref, e === void 0 ? null : e;
|
|
1732
|
-
}
|
|
1733
|
-
function h(e, a, o, s, c, l) {
|
|
1734
|
-
var u = o.ref;
|
|
1735
|
-
return e = {
|
|
1736
|
-
$$typeof: b,
|
|
1737
|
-
type: e,
|
|
1738
|
-
key: a,
|
|
1739
|
-
props: o,
|
|
1740
|
-
_owner: s
|
|
1741
|
-
}, (u === void 0 ? null : u) === null ? Object.defineProperty(e, "ref", {
|
|
1742
|
-
enumerable: !1,
|
|
1743
|
-
value: null
|
|
1744
|
-
}) : Object.defineProperty(e, "ref", {
|
|
1745
|
-
enumerable: !1,
|
|
1746
|
-
get: m
|
|
1747
|
-
}), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
1748
|
-
configurable: !1,
|
|
1749
|
-
enumerable: !1,
|
|
1750
|
-
writable: !0,
|
|
1751
|
-
value: 0
|
|
1752
|
-
}), Object.defineProperty(e, "_debugInfo", {
|
|
1753
|
-
configurable: !1,
|
|
1754
|
-
enumerable: !1,
|
|
1755
|
-
writable: !0,
|
|
1756
|
-
value: null
|
|
1757
|
-
}), Object.defineProperty(e, "_debugStack", {
|
|
1758
|
-
configurable: !1,
|
|
1759
|
-
enumerable: !1,
|
|
1760
|
-
writable: !0,
|
|
1761
|
-
value: c
|
|
1762
|
-
}), Object.defineProperty(e, "_debugTask", {
|
|
1763
|
-
configurable: !1,
|
|
1764
|
-
enumerable: !1,
|
|
1765
|
-
writable: !0,
|
|
1766
|
-
value: l
|
|
1767
|
-
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
1768
|
-
}
|
|
1769
|
-
function g(e, a, s, l, d, m) {
|
|
1770
|
-
var g = a.children;
|
|
1771
|
-
if (g !== void 0) if (l) if (I(g)) {
|
|
1772
|
-
for (l = 0; l < g.length; l++) _(g[l]);
|
|
1773
|
-
Object.freeze && Object.freeze(g);
|
|
1774
|
-
} else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1775
|
-
else _(g);
|
|
1776
|
-
if (F.call(a, "key")) {
|
|
1777
|
-
g = o(e);
|
|
1778
|
-
var v = Object.keys(a).filter(function(e) {
|
|
1779
|
-
return e !== "key";
|
|
1780
|
-
});
|
|
1781
|
-
l = 0 < v.length ? "{key: someKey, " + v.join(": ..., ") + ": ...}" : "{key: someKey}", H[g + l] || (v = 0 < v.length ? "{" + v.join(": ..., ") + ": ...}" : "{}", console.error("A props object containing a \"key\" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />", l, g, v, g), H[g + l] = !0);
|
|
1782
|
-
}
|
|
1783
|
-
if (g = null, s !== void 0 && (c(s), g = "" + s), f(a) && (c(a.key), g = "" + a.key), "key" in a) for (var y in s = {}, a) y !== "key" && (s[y] = a[y]);
|
|
1784
|
-
else s = a;
|
|
1785
|
-
return g && p(s, typeof e == "function" ? e.displayName || e.name || "Unknown" : e), h(e, g, s, u(), d, m);
|
|
1786
|
-
}
|
|
1787
|
-
function _(e) {
|
|
1788
|
-
v(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e && e.$$typeof === j && (e._payload.status === "fulfilled" ? v(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
|
|
1789
|
-
}
|
|
1790
|
-
function v(e) {
|
|
1791
|
-
return typeof e == "object" && !!e && e.$$typeof === b;
|
|
1792
|
-
}
|
|
1793
|
-
var y = __require("react"), b = Symbol.for("react.transitional.element"), x = Symbol.for("react.portal"), S = Symbol.for("react.fragment"), C = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), T = Symbol.for("react.consumer"), E = Symbol.for("react.context"), D = Symbol.for("react.forward_ref"), O = Symbol.for("react.suspense"), k = Symbol.for("react.suspense_list"), A = Symbol.for("react.memo"), j = Symbol.for("react.lazy"), M = Symbol.for("react.activity"), N = Symbol.for("react.client.reference"), P = y.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, F = Object.prototype.hasOwnProperty, I = Array.isArray, L = console.createTask ? console.createTask : function() {
|
|
1794
|
-
return null;
|
|
1795
|
-
};
|
|
1796
|
-
y = { react_stack_bottom_frame: function(e) {
|
|
1797
|
-
return e();
|
|
1798
|
-
} };
|
|
1799
|
-
var R, z = {}, B = y.react_stack_bottom_frame.bind(y, d)(), V = L(l(d)), H = {};
|
|
1800
|
-
e.Fragment = S, e.jsx = function(e, a, o) {
|
|
1801
|
-
var s = 1e4 > P.recentlyCreatedOwnerStacks++;
|
|
1802
|
-
return g(e, a, o, !1, s ? Error("react-stack-top-frame") : B, s ? L(l(e)) : V);
|
|
1803
|
-
}, e.jsxs = function(e, a, o) {
|
|
1804
|
-
var s = 1e4 > P.recentlyCreatedOwnerStacks++;
|
|
1805
|
-
return g(e, a, o, !0, s ? Error("react-stack-top-frame") : B, s ? L(l(e)) : V);
|
|
1806
|
-
};
|
|
1807
|
-
})();
|
|
1808
|
-
})), import_jsx_runtime = (/* @__PURE__ */ __commonJSMin(((e, a) => {
|
|
1809
|
-
process.env.NODE_ENV === "production" ? a.exports = require_react_jsx_runtime_production() : a.exports = require_react_jsx_runtime_development();
|
|
1810
|
-
})))();
|
|
1811
|
-
function Badge({ className: e, children: a, ...o }) {
|
|
1812
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1813
|
-
className: cn("bg-primary text-primary-foreground text-sm px-3 py-1 rounded-full", e),
|
|
1814
|
-
...o,
|
|
1815
|
-
children: a
|
|
1623
|
+
function Badge({ className: o, children: s, ...c }) {
|
|
1624
|
+
return /* @__PURE__ */ jsx("span", {
|
|
1625
|
+
className: cn("bg-primary text-primary-foreground text-sm px-3 py-1 rounded-full", o),
|
|
1626
|
+
...c,
|
|
1627
|
+
children: s
|
|
1816
1628
|
});
|
|
1817
1629
|
}
|
|
1818
|
-
function Button({ className:
|
|
1819
|
-
return /* @__PURE__ */
|
|
1820
|
-
className: cn("bg-primary hover:bg-primary/90 text-primary-foreground px-3 py-1 rounded-md flex justify-center items-center",
|
|
1821
|
-
...
|
|
1822
|
-
children:
|
|
1630
|
+
function Button({ className: o, children: s, ...c }) {
|
|
1631
|
+
return /* @__PURE__ */ jsx("button", {
|
|
1632
|
+
className: cn("bg-primary hover:bg-primary/90 text-primary-foreground px-3 py-1 rounded-md flex justify-center items-center", o),
|
|
1633
|
+
...c,
|
|
1634
|
+
children: s
|
|
1823
1635
|
});
|
|
1824
1636
|
}
|
|
1825
|
-
function Link({ className:
|
|
1826
|
-
return /* @__PURE__ */
|
|
1827
|
-
className: cn("text-primary underline-offset-4 hover:underline",
|
|
1828
|
-
...
|
|
1829
|
-
children:
|
|
1637
|
+
function Link({ className: o, children: s, ...c }) {
|
|
1638
|
+
return /* @__PURE__ */ jsx("a", {
|
|
1639
|
+
className: cn("text-primary underline-offset-4 hover:underline", o),
|
|
1640
|
+
...c,
|
|
1641
|
+
children: s
|
|
1830
1642
|
});
|
|
1831
1643
|
}
|
|
1832
1644
|
export { Badge, Button, Link };
|