@hot-updater/console 0.27.1 → 0.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/.output/nitro.json +17 -0
  2. package/.output/public/apple-touch-icon.png +0 -0
  3. package/.output/public/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
  4. package/.output/public/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
  5. package/.output/public/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
  6. package/.output/public/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
  7. package/.output/public/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
  8. package/.output/public/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
  9. package/.output/public/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
  10. package/.output/public/assets/main-Dlx8-qN-.js +61 -0
  11. package/.output/public/assets/routes-DB0tWmiJ.js +10 -0
  12. package/.output/public/assets/styles-Bfxg4M1x.css +2 -0
  13. package/.output/public/favicon-16x16.png +0 -0
  14. package/.output/public/favicon-32x32.png +0 -0
  15. package/.output/public/favicon.ico +0 -0
  16. package/.output/public/logo.svg +1 -0
  17. package/.output/public/manifest.json +30 -0
  18. package/.output/public/robots.txt +3 -0
  19. package/.output/server/_chunks/ssr-renderer.mjs +15 -0
  20. package/.output/server/_libs/@floating-ui/core+[...].mjs +698 -0
  21. package/.output/server/_libs/@floating-ui/dom+[...].mjs +644 -0
  22. package/.output/server/_libs/@floating-ui/react-dom+[...].mjs +839 -0
  23. package/.output/server/_libs/@radix-ui/react-alert-dialog+[...].mjs +2093 -0
  24. package/.output/server/_libs/@radix-ui/react-popper+[...].mjs +287 -0
  25. package/.output/server/_libs/@radix-ui/react-select+[...].mjs +1003 -0
  26. package/.output/server/_libs/@tanstack/devtools-event-client+[...].mjs +196 -0
  27. package/.output/server/_libs/@tanstack/form-core+[...].mjs +2396 -0
  28. package/.output/server/_libs/@tanstack/react-form+[...].mjs +298 -0
  29. package/.output/server/_libs/@tanstack/react-router+[...].mjs +13068 -0
  30. package/.output/server/_libs/@tanstack/react-table+[...].mjs +2372 -0
  31. package/.output/server/_libs/chownr.mjs +60 -0
  32. package/.output/server/_libs/class-variance-authority+clsx.mjs +69 -0
  33. package/.output/server/_libs/core-util-is.mjs +67 -0
  34. package/.output/server/_libs/dayjs.mjs +408 -0
  35. package/.output/server/_libs/h3+rou3+srvx.mjs +1158 -0
  36. package/.output/server/_libs/hookable.mjs +41 -0
  37. package/.output/server/_libs/immediate.mjs +57 -0
  38. package/.output/server/_libs/inherits.mjs +39 -0
  39. package/.output/server/_libs/isaacs__fs-minipass+minipass.mjs +1120 -0
  40. package/.output/server/_libs/isarray.mjs +10 -0
  41. package/.output/server/_libs/jszip+[...].mjs +8311 -0
  42. package/.output/server/_libs/lucide-react.mjs +371 -0
  43. package/.output/server/_libs/minizlib.mjs +345 -0
  44. package/.output/server/_libs/next-themes.mjs +49 -0
  45. package/.output/server/_libs/radix-ui__number.mjs +6 -0
  46. package/.output/server/_libs/radix-ui__primitive.mjs +9 -0
  47. package/.output/server/_libs/radix-ui__react-arrow.mjs +23 -0
  48. package/.output/server/_libs/radix-ui__react-collection.mjs +78 -0
  49. package/.output/server/_libs/radix-ui__react-direction.mjs +11 -0
  50. package/.output/server/_libs/radix-ui__react-label.mjs +22 -0
  51. package/.output/server/_libs/radix-ui__react-separator.mjs +31 -0
  52. package/.output/server/_libs/radix-ui__react-slider.mjs +451 -0
  53. package/.output/server/_libs/radix-ui__react-switch.mjs +118 -0
  54. package/.output/server/_libs/radix-ui__react-tooltip.mjs +491 -0
  55. package/.output/server/_libs/semver.mjs +1339 -0
  56. package/.output/server/_libs/sonner.mjs +908 -0
  57. package/.output/server/_libs/tailwind-merge.mjs +1962 -0
  58. package/.output/server/_libs/tanstack__history.mjs +322 -0
  59. package/.output/server/_libs/tanstack__query-core.mjs +2073 -0
  60. package/.output/server/_libs/tanstack__react-query.mjs +146 -0
  61. package/.output/server/_libs/tanstack__router-core.mjs +6 -0
  62. package/.output/server/_libs/tar.mjs +1996 -0
  63. package/.output/server/_libs/ufo.mjs +64 -0
  64. package/.output/server/_runtime.mjs +26 -0
  65. package/.output/server/_ssr/api-rpc-D3ZehMIN.mjs +217 -0
  66. package/.output/server/_ssr/config.server-JUYQ7UbI.mjs +26 -0
  67. package/.output/server/_ssr/deleteBundle-DWUxu9-K.mjs +22 -0
  68. package/.output/server/_ssr/extract-timestamp-from-uuidv7-B90UBADU.mjs +24 -0
  69. package/.output/server/_ssr/promoteBundle-DtMHuubR.mjs +1571 -0
  70. package/.output/server/_ssr/router-pgc7NX76.mjs +250 -0
  71. package/.output/server/_ssr/routes-PqTTQSoI.mjs +1833 -0
  72. package/.output/server/_ssr/sidebar-DXng0IOP.mjs +439 -0
  73. package/.output/server/_ssr/ssr.mjs +5050 -0
  74. package/.output/server/_ssr/start-DQK0r85G.mjs +4 -0
  75. package/.output/server/_tanstack-start-manifest_v-DTbQVOpU.mjs +17 -0
  76. package/.output/server/index.mjs +417 -0
  77. package/.output/server/node_modules/tslib/modules/index.js +70 -0
  78. package/.output/server/node_modules/tslib/modules/package.json +3 -0
  79. package/.output/server/node_modules/tslib/package.json +47 -0
  80. package/.output/server/node_modules/tslib/tslib.js +484 -0
  81. package/.output/server/package.json +9 -0
  82. package/README.md +191 -2
  83. package/package.json +77 -50
  84. package/dist/.gitkeep +0 -0
  85. package/dist/assets/favicon-BkwcEHsj.ico +0 -0
  86. package/dist/assets/index-DUlKsori.css +0 -1
  87. package/dist/assets/index-ijmIcyn1.js +0 -27
  88. package/dist/assets/logo-BYNFyja1.png +0 -0
  89. package/dist/index.cjs +0 -2129
  90. package/dist/index.d.cts +0 -218
  91. package/dist/index.d.ts +0 -218
  92. package/dist/index.html +0 -14
  93. package/dist/index.js +0 -2125
@@ -0,0 +1,1962 @@
1
+ //#region ../../node_modules/.pnpm/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.mjs
2
+ /**
3
+ * Concatenates two arrays faster than the array spread operator.
4
+ */
5
+ var concatArrays = (array1, array2) => {
6
+ const combinedArray = new Array(array1.length + array2.length);
7
+ for (let i = 0; i < array1.length; i++) combinedArray[i] = array1[i];
8
+ for (let i = 0; i < array2.length; i++) combinedArray[array1.length + i] = array2[i];
9
+ return combinedArray;
10
+ };
11
+ var createClassValidatorObject = (classGroupId, validator) => ({
12
+ classGroupId,
13
+ validator
14
+ });
15
+ var createClassPartObject = (nextPart = /* @__PURE__ */ new Map(), validators = null, classGroupId) => ({
16
+ nextPart,
17
+ validators,
18
+ classGroupId
19
+ });
20
+ var CLASS_PART_SEPARATOR = "-";
21
+ var EMPTY_CONFLICTS = [];
22
+ var ARBITRARY_PROPERTY_PREFIX = "arbitrary..";
23
+ var createClassGroupUtils = (config) => {
24
+ const classMap = createClassMap(config);
25
+ const { conflictingClassGroups, conflictingClassGroupModifiers } = config;
26
+ const getClassGroupId = (className) => {
27
+ if (className.startsWith("[") && className.endsWith("]")) return getGroupIdForArbitraryProperty(className);
28
+ const classParts = className.split(CLASS_PART_SEPARATOR);
29
+ return getGroupRecursive(classParts, classParts[0] === "" && classParts.length > 1 ? 1 : 0, classMap);
30
+ };
31
+ const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
32
+ if (hasPostfixModifier) {
33
+ const modifierConflicts = conflictingClassGroupModifiers[classGroupId];
34
+ const baseConflicts = conflictingClassGroups[classGroupId];
35
+ if (modifierConflicts) {
36
+ if (baseConflicts) return concatArrays(baseConflicts, modifierConflicts);
37
+ return modifierConflicts;
38
+ }
39
+ return baseConflicts || EMPTY_CONFLICTS;
40
+ }
41
+ return conflictingClassGroups[classGroupId] || EMPTY_CONFLICTS;
42
+ };
43
+ return {
44
+ getClassGroupId,
45
+ getConflictingClassGroupIds
46
+ };
47
+ };
48
+ var getGroupRecursive = (classParts, startIndex, classPartObject) => {
49
+ if (classParts.length - startIndex === 0) return classPartObject.classGroupId;
50
+ const currentClassPart = classParts[startIndex];
51
+ const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
52
+ if (nextClassPartObject) {
53
+ const result = getGroupRecursive(classParts, startIndex + 1, nextClassPartObject);
54
+ if (result) return result;
55
+ }
56
+ const validators = classPartObject.validators;
57
+ if (validators === null) return;
58
+ const classRest = startIndex === 0 ? classParts.join(CLASS_PART_SEPARATOR) : classParts.slice(startIndex).join(CLASS_PART_SEPARATOR);
59
+ const validatorsLength = validators.length;
60
+ for (let i = 0; i < validatorsLength; i++) {
61
+ const validatorObj = validators[i];
62
+ if (validatorObj.validator(classRest)) return validatorObj.classGroupId;
63
+ }
64
+ };
65
+ /**
66
+ * Get the class group ID for an arbitrary property.
67
+ *
68
+ * @param className - The class name to get the group ID for. Is expected to be string starting with `[` and ending with `]`.
69
+ */
70
+ var getGroupIdForArbitraryProperty = (className) => className.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
71
+ const content = className.slice(1, -1);
72
+ const colonIndex = content.indexOf(":");
73
+ const property = content.slice(0, colonIndex);
74
+ return property ? ARBITRARY_PROPERTY_PREFIX + property : void 0;
75
+ })();
76
+ /**
77
+ * Exported for testing only
78
+ */
79
+ var createClassMap = (config) => {
80
+ const { theme, classGroups } = config;
81
+ return processClassGroups(classGroups, theme);
82
+ };
83
+ var processClassGroups = (classGroups, theme) => {
84
+ const classMap = createClassPartObject();
85
+ for (const classGroupId in classGroups) {
86
+ const group = classGroups[classGroupId];
87
+ processClassesRecursively(group, classMap, classGroupId, theme);
88
+ }
89
+ return classMap;
90
+ };
91
+ var processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {
92
+ const len = classGroup.length;
93
+ for (let i = 0; i < len; i++) {
94
+ const classDefinition = classGroup[i];
95
+ processClassDefinition(classDefinition, classPartObject, classGroupId, theme);
96
+ }
97
+ };
98
+ var processClassDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
99
+ if (typeof classDefinition === "string") {
100
+ processStringDefinition(classDefinition, classPartObject, classGroupId);
101
+ return;
102
+ }
103
+ if (typeof classDefinition === "function") {
104
+ processFunctionDefinition(classDefinition, classPartObject, classGroupId, theme);
105
+ return;
106
+ }
107
+ processObjectDefinition(classDefinition, classPartObject, classGroupId, theme);
108
+ };
109
+ var processStringDefinition = (classDefinition, classPartObject, classGroupId) => {
110
+ const classPartObjectToEdit = classDefinition === "" ? classPartObject : getPart(classPartObject, classDefinition);
111
+ classPartObjectToEdit.classGroupId = classGroupId;
112
+ };
113
+ var processFunctionDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
114
+ if (isThemeGetter(classDefinition)) {
115
+ processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
116
+ return;
117
+ }
118
+ if (classPartObject.validators === null) classPartObject.validators = [];
119
+ classPartObject.validators.push(createClassValidatorObject(classGroupId, classDefinition));
120
+ };
121
+ var processObjectDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
122
+ const entries = Object.entries(classDefinition);
123
+ const len = entries.length;
124
+ for (let i = 0; i < len; i++) {
125
+ const [key, value] = entries[i];
126
+ processClassesRecursively(value, getPart(classPartObject, key), classGroupId, theme);
127
+ }
128
+ };
129
+ var getPart = (classPartObject, path) => {
130
+ let current = classPartObject;
131
+ const parts = path.split(CLASS_PART_SEPARATOR);
132
+ const len = parts.length;
133
+ for (let i = 0; i < len; i++) {
134
+ const part = parts[i];
135
+ let next = current.nextPart.get(part);
136
+ if (!next) {
137
+ next = createClassPartObject();
138
+ current.nextPart.set(part, next);
139
+ }
140
+ current = next;
141
+ }
142
+ return current;
143
+ };
144
+ var isThemeGetter = (func) => "isThemeGetter" in func && func.isThemeGetter === true;
145
+ var createLruCache = (maxCacheSize) => {
146
+ if (maxCacheSize < 1) return {
147
+ get: () => void 0,
148
+ set: () => {}
149
+ };
150
+ let cacheSize = 0;
151
+ let cache = Object.create(null);
152
+ let previousCache = Object.create(null);
153
+ const update = (key, value) => {
154
+ cache[key] = value;
155
+ cacheSize++;
156
+ if (cacheSize > maxCacheSize) {
157
+ cacheSize = 0;
158
+ previousCache = cache;
159
+ cache = Object.create(null);
160
+ }
161
+ };
162
+ return {
163
+ get(key) {
164
+ let value = cache[key];
165
+ if (value !== void 0) return value;
166
+ if ((value = previousCache[key]) !== void 0) {
167
+ update(key, value);
168
+ return value;
169
+ }
170
+ },
171
+ set(key, value) {
172
+ if (key in cache) cache[key] = value;
173
+ else update(key, value);
174
+ }
175
+ };
176
+ };
177
+ var IMPORTANT_MODIFIER = "!";
178
+ var MODIFIER_SEPARATOR = ":";
179
+ var EMPTY_MODIFIERS = [];
180
+ var createResultObject = (modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition, isExternal) => ({
181
+ modifiers,
182
+ hasImportantModifier,
183
+ baseClassName,
184
+ maybePostfixModifierPosition,
185
+ isExternal
186
+ });
187
+ var createParseClassName = (config) => {
188
+ const { prefix, experimentalParseClassName } = config;
189
+ /**
190
+ * Parse class name into parts.
191
+ *
192
+ * Inspired by `splitAtTopLevelOnly` used in Tailwind CSS
193
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v3.2.2/src/util/splitAtTopLevelOnly.js
194
+ */
195
+ let parseClassName = (className) => {
196
+ const modifiers = [];
197
+ let bracketDepth = 0;
198
+ let parenDepth = 0;
199
+ let modifierStart = 0;
200
+ let postfixModifierPosition;
201
+ const len = className.length;
202
+ for (let index = 0; index < len; index++) {
203
+ const currentCharacter = className[index];
204
+ if (bracketDepth === 0 && parenDepth === 0) {
205
+ if (currentCharacter === MODIFIER_SEPARATOR) {
206
+ modifiers.push(className.slice(modifierStart, index));
207
+ modifierStart = index + 1;
208
+ continue;
209
+ }
210
+ if (currentCharacter === "/") {
211
+ postfixModifierPosition = index;
212
+ continue;
213
+ }
214
+ }
215
+ if (currentCharacter === "[") bracketDepth++;
216
+ else if (currentCharacter === "]") bracketDepth--;
217
+ else if (currentCharacter === "(") parenDepth++;
218
+ else if (currentCharacter === ")") parenDepth--;
219
+ }
220
+ const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.slice(modifierStart);
221
+ let baseClassName = baseClassNameWithImportantModifier;
222
+ let hasImportantModifier = false;
223
+ if (baseClassNameWithImportantModifier.endsWith(IMPORTANT_MODIFIER)) {
224
+ baseClassName = baseClassNameWithImportantModifier.slice(0, -1);
225
+ hasImportantModifier = true;
226
+ } else if (baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER)) {
227
+ baseClassName = baseClassNameWithImportantModifier.slice(1);
228
+ hasImportantModifier = true;
229
+ }
230
+ const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : void 0;
231
+ return createResultObject(modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition);
232
+ };
233
+ if (prefix) {
234
+ const fullPrefix = prefix + MODIFIER_SEPARATOR;
235
+ const parseClassNameOriginal = parseClassName;
236
+ parseClassName = (className) => className.startsWith(fullPrefix) ? parseClassNameOriginal(className.slice(fullPrefix.length)) : createResultObject(EMPTY_MODIFIERS, false, className, void 0, true);
237
+ }
238
+ if (experimentalParseClassName) {
239
+ const parseClassNameOriginal = parseClassName;
240
+ parseClassName = (className) => experimentalParseClassName({
241
+ className,
242
+ parseClassName: parseClassNameOriginal
243
+ });
244
+ }
245
+ return parseClassName;
246
+ };
247
+ /**
248
+ * Sorts modifiers according to following schema:
249
+ * - Predefined modifiers are sorted alphabetically
250
+ * - When an arbitrary variant appears, it must be preserved which modifiers are before and after it
251
+ */
252
+ var createSortModifiers = (config) => {
253
+ const modifierWeights = /* @__PURE__ */ new Map();
254
+ config.orderSensitiveModifiers.forEach((mod, index) => {
255
+ modifierWeights.set(mod, 1e6 + index);
256
+ });
257
+ return (modifiers) => {
258
+ const result = [];
259
+ let currentSegment = [];
260
+ for (let i = 0; i < modifiers.length; i++) {
261
+ const modifier = modifiers[i];
262
+ const isArbitrary = modifier[0] === "[";
263
+ const isOrderSensitive = modifierWeights.has(modifier);
264
+ if (isArbitrary || isOrderSensitive) {
265
+ if (currentSegment.length > 0) {
266
+ currentSegment.sort();
267
+ result.push(...currentSegment);
268
+ currentSegment = [];
269
+ }
270
+ result.push(modifier);
271
+ } else currentSegment.push(modifier);
272
+ }
273
+ if (currentSegment.length > 0) {
274
+ currentSegment.sort();
275
+ result.push(...currentSegment);
276
+ }
277
+ return result;
278
+ };
279
+ };
280
+ var createConfigUtils = (config) => ({
281
+ cache: createLruCache(config.cacheSize),
282
+ parseClassName: createParseClassName(config),
283
+ sortModifiers: createSortModifiers(config),
284
+ ...createClassGroupUtils(config)
285
+ });
286
+ var SPLIT_CLASSES_REGEX = /\s+/;
287
+ var mergeClassList = (classList, configUtils) => {
288
+ const { parseClassName, getClassGroupId, getConflictingClassGroupIds, sortModifiers } = configUtils;
289
+ /**
290
+ * Set of classGroupIds in following format:
291
+ * `{importantModifier}{variantModifiers}{classGroupId}`
292
+ * @example 'float'
293
+ * @example 'hover:focus:bg-color'
294
+ * @example 'md:!pr'
295
+ */
296
+ const classGroupsInConflict = [];
297
+ const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
298
+ let result = "";
299
+ for (let index = classNames.length - 1; index >= 0; index -= 1) {
300
+ const originalClassName = classNames[index];
301
+ const { isExternal, modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition } = parseClassName(originalClassName);
302
+ if (isExternal) {
303
+ result = originalClassName + (result.length > 0 ? " " + result : result);
304
+ continue;
305
+ }
306
+ let hasPostfixModifier = !!maybePostfixModifierPosition;
307
+ let classGroupId = getClassGroupId(hasPostfixModifier ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);
308
+ if (!classGroupId) {
309
+ if (!hasPostfixModifier) {
310
+ result = originalClassName + (result.length > 0 ? " " + result : result);
311
+ continue;
312
+ }
313
+ classGroupId = getClassGroupId(baseClassName);
314
+ if (!classGroupId) {
315
+ result = originalClassName + (result.length > 0 ? " " + result : result);
316
+ continue;
317
+ }
318
+ hasPostfixModifier = false;
319
+ }
320
+ const variantModifier = modifiers.length === 0 ? "" : modifiers.length === 1 ? modifiers[0] : sortModifiers(modifiers).join(":");
321
+ const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
322
+ const classId = modifierId + classGroupId;
323
+ if (classGroupsInConflict.indexOf(classId) > -1) continue;
324
+ classGroupsInConflict.push(classId);
325
+ const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
326
+ for (let i = 0; i < conflictGroups.length; ++i) {
327
+ const group = conflictGroups[i];
328
+ classGroupsInConflict.push(modifierId + group);
329
+ }
330
+ result = originalClassName + (result.length > 0 ? " " + result : result);
331
+ }
332
+ return result;
333
+ };
334
+ /**
335
+ * The code in this file is copied from https://github.com/lukeed/clsx and modified to suit the needs of tailwind-merge better.
336
+ *
337
+ * Specifically:
338
+ * - Runtime code from https://github.com/lukeed/clsx/blob/v1.2.1/src/index.js
339
+ * - TypeScript types from https://github.com/lukeed/clsx/blob/v1.2.1/clsx.d.ts
340
+ *
341
+ * Original code has MIT license: Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
342
+ */
343
+ var twJoin = (...classLists) => {
344
+ let index = 0;
345
+ let argument;
346
+ let resolvedValue;
347
+ let string = "";
348
+ while (index < classLists.length) if (argument = classLists[index++]) {
349
+ if (resolvedValue = toValue(argument)) {
350
+ string && (string += " ");
351
+ string += resolvedValue;
352
+ }
353
+ }
354
+ return string;
355
+ };
356
+ var toValue = (mix) => {
357
+ if (typeof mix === "string") return mix;
358
+ let resolvedValue;
359
+ let string = "";
360
+ for (let k = 0; k < mix.length; k++) if (mix[k]) {
361
+ if (resolvedValue = toValue(mix[k])) {
362
+ string && (string += " ");
363
+ string += resolvedValue;
364
+ }
365
+ }
366
+ return string;
367
+ };
368
+ var createTailwindMerge = (createConfigFirst, ...createConfigRest) => {
369
+ let configUtils;
370
+ let cacheGet;
371
+ let cacheSet;
372
+ let functionToCall;
373
+ const initTailwindMerge = (classList) => {
374
+ configUtils = createConfigUtils(createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst()));
375
+ cacheGet = configUtils.cache.get;
376
+ cacheSet = configUtils.cache.set;
377
+ functionToCall = tailwindMerge;
378
+ return tailwindMerge(classList);
379
+ };
380
+ const tailwindMerge = (classList) => {
381
+ const cachedResult = cacheGet(classList);
382
+ if (cachedResult) return cachedResult;
383
+ const result = mergeClassList(classList, configUtils);
384
+ cacheSet(classList, result);
385
+ return result;
386
+ };
387
+ functionToCall = initTailwindMerge;
388
+ return (...args) => functionToCall(twJoin(...args));
389
+ };
390
+ var fallbackThemeArr = [];
391
+ var fromTheme = (key) => {
392
+ const themeGetter = (theme) => theme[key] || fallbackThemeArr;
393
+ themeGetter.isThemeGetter = true;
394
+ return themeGetter;
395
+ };
396
+ var arbitraryValueRegex = /^\[(?:(\w[\w-]*):)?(.+)\]$/i;
397
+ var arbitraryVariableRegex = /^\((?:(\w[\w-]*):)?(.+)\)$/i;
398
+ var fractionRegex = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/;
399
+ var tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
400
+ var 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$/;
401
+ var colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/;
402
+ var shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
403
+ var imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
404
+ var isFraction = (value) => fractionRegex.test(value);
405
+ var isNumber = (value) => !!value && !Number.isNaN(Number(value));
406
+ var isInteger = (value) => !!value && Number.isInteger(Number(value));
407
+ var isPercent = (value) => value.endsWith("%") && isNumber(value.slice(0, -1));
408
+ var isTshirtSize = (value) => tshirtUnitRegex.test(value);
409
+ var isAny = () => true;
410
+ var isLengthOnly = (value) => lengthUnitRegex.test(value) && !colorFunctionRegex.test(value);
411
+ var isNever = () => false;
412
+ var isShadow = (value) => shadowRegex.test(value);
413
+ var isImage = (value) => imageRegex.test(value);
414
+ var isAnyNonArbitrary = (value) => !isArbitraryValue(value) && !isArbitraryVariable(value);
415
+ var isArbitrarySize = (value) => getIsArbitraryValue(value, isLabelSize, isNever);
416
+ var isArbitraryValue = (value) => arbitraryValueRegex.test(value);
417
+ var isArbitraryLength = (value) => getIsArbitraryValue(value, isLabelLength, isLengthOnly);
418
+ var isArbitraryNumber = (value) => getIsArbitraryValue(value, isLabelNumber, isNumber);
419
+ var isArbitraryWeight = (value) => getIsArbitraryValue(value, isLabelWeight, isAny);
420
+ var isArbitraryFamilyName = (value) => getIsArbitraryValue(value, isLabelFamilyName, isNever);
421
+ var isArbitraryPosition = (value) => getIsArbitraryValue(value, isLabelPosition, isNever);
422
+ var isArbitraryImage = (value) => getIsArbitraryValue(value, isLabelImage, isImage);
423
+ var isArbitraryShadow = (value) => getIsArbitraryValue(value, isLabelShadow, isShadow);
424
+ var isArbitraryVariable = (value) => arbitraryVariableRegex.test(value);
425
+ var isArbitraryVariableLength = (value) => getIsArbitraryVariable(value, isLabelLength);
426
+ var isArbitraryVariableFamilyName = (value) => getIsArbitraryVariable(value, isLabelFamilyName);
427
+ var isArbitraryVariablePosition = (value) => getIsArbitraryVariable(value, isLabelPosition);
428
+ var isArbitraryVariableSize = (value) => getIsArbitraryVariable(value, isLabelSize);
429
+ var isArbitraryVariableImage = (value) => getIsArbitraryVariable(value, isLabelImage);
430
+ var isArbitraryVariableShadow = (value) => getIsArbitraryVariable(value, isLabelShadow, true);
431
+ var isArbitraryVariableWeight = (value) => getIsArbitraryVariable(value, isLabelWeight, true);
432
+ var getIsArbitraryValue = (value, testLabel, testValue) => {
433
+ const result = arbitraryValueRegex.exec(value);
434
+ if (result) {
435
+ if (result[1]) return testLabel(result[1]);
436
+ return testValue(result[2]);
437
+ }
438
+ return false;
439
+ };
440
+ var getIsArbitraryVariable = (value, testLabel, shouldMatchNoLabel = false) => {
441
+ const result = arbitraryVariableRegex.exec(value);
442
+ if (result) {
443
+ if (result[1]) return testLabel(result[1]);
444
+ return shouldMatchNoLabel;
445
+ }
446
+ return false;
447
+ };
448
+ var isLabelPosition = (label) => label === "position" || label === "percentage";
449
+ var isLabelImage = (label) => label === "image" || label === "url";
450
+ var isLabelSize = (label) => label === "length" || label === "size" || label === "bg-size";
451
+ var isLabelLength = (label) => label === "length";
452
+ var isLabelNumber = (label) => label === "number";
453
+ var isLabelFamilyName = (label) => label === "family-name";
454
+ var isLabelWeight = (label) => label === "number" || label === "weight";
455
+ var isLabelShadow = (label) => label === "shadow";
456
+ var getDefaultConfig = () => {
457
+ /**
458
+ * Theme getters for theme variable namespaces
459
+ * @see https://tailwindcss.com/docs/theme#theme-variable-namespaces
460
+ */
461
+ const themeColor = fromTheme("color");
462
+ const themeFont = fromTheme("font");
463
+ const themeText = fromTheme("text");
464
+ const themeFontWeight = fromTheme("font-weight");
465
+ const themeTracking = fromTheme("tracking");
466
+ const themeLeading = fromTheme("leading");
467
+ const themeBreakpoint = fromTheme("breakpoint");
468
+ const themeContainer = fromTheme("container");
469
+ const themeSpacing = fromTheme("spacing");
470
+ const themeRadius = fromTheme("radius");
471
+ const themeShadow = fromTheme("shadow");
472
+ const themeInsetShadow = fromTheme("inset-shadow");
473
+ const themeTextShadow = fromTheme("text-shadow");
474
+ const themeDropShadow = fromTheme("drop-shadow");
475
+ const themeBlur = fromTheme("blur");
476
+ const themePerspective = fromTheme("perspective");
477
+ const themeAspect = fromTheme("aspect");
478
+ const themeEase = fromTheme("ease");
479
+ const themeAnimate = fromTheme("animate");
480
+ /**
481
+ * Helpers to avoid repeating the same scales
482
+ *
483
+ * We use functions that create a new array every time they're called instead of static arrays.
484
+ * This ensures that users who modify any scale by mutating the array (e.g. with `array.push(element)`) don't accidentally mutate arrays in other parts of the config.
485
+ */
486
+ const scaleBreak = () => [
487
+ "auto",
488
+ "avoid",
489
+ "all",
490
+ "avoid-page",
491
+ "page",
492
+ "left",
493
+ "right",
494
+ "column"
495
+ ];
496
+ const scalePosition = () => [
497
+ "center",
498
+ "top",
499
+ "bottom",
500
+ "left",
501
+ "right",
502
+ "top-left",
503
+ "left-top",
504
+ "top-right",
505
+ "right-top",
506
+ "bottom-right",
507
+ "right-bottom",
508
+ "bottom-left",
509
+ "left-bottom"
510
+ ];
511
+ const scalePositionWithArbitrary = () => [
512
+ ...scalePosition(),
513
+ isArbitraryVariable,
514
+ isArbitraryValue
515
+ ];
516
+ const scaleOverflow = () => [
517
+ "auto",
518
+ "hidden",
519
+ "clip",
520
+ "visible",
521
+ "scroll"
522
+ ];
523
+ const scaleOverscroll = () => [
524
+ "auto",
525
+ "contain",
526
+ "none"
527
+ ];
528
+ const scaleUnambiguousSpacing = () => [
529
+ isArbitraryVariable,
530
+ isArbitraryValue,
531
+ themeSpacing
532
+ ];
533
+ const scaleInset = () => [
534
+ isFraction,
535
+ "full",
536
+ "auto",
537
+ ...scaleUnambiguousSpacing()
538
+ ];
539
+ const scaleGridTemplateColsRows = () => [
540
+ isInteger,
541
+ "none",
542
+ "subgrid",
543
+ isArbitraryVariable,
544
+ isArbitraryValue
545
+ ];
546
+ const scaleGridColRowStartAndEnd = () => [
547
+ "auto",
548
+ { span: [
549
+ "full",
550
+ isInteger,
551
+ isArbitraryVariable,
552
+ isArbitraryValue
553
+ ] },
554
+ isInteger,
555
+ isArbitraryVariable,
556
+ isArbitraryValue
557
+ ];
558
+ const scaleGridColRowStartOrEnd = () => [
559
+ isInteger,
560
+ "auto",
561
+ isArbitraryVariable,
562
+ isArbitraryValue
563
+ ];
564
+ const scaleGridAutoColsRows = () => [
565
+ "auto",
566
+ "min",
567
+ "max",
568
+ "fr",
569
+ isArbitraryVariable,
570
+ isArbitraryValue
571
+ ];
572
+ const scaleAlignPrimaryAxis = () => [
573
+ "start",
574
+ "end",
575
+ "center",
576
+ "between",
577
+ "around",
578
+ "evenly",
579
+ "stretch",
580
+ "baseline",
581
+ "center-safe",
582
+ "end-safe"
583
+ ];
584
+ const scaleAlignSecondaryAxis = () => [
585
+ "start",
586
+ "end",
587
+ "center",
588
+ "stretch",
589
+ "center-safe",
590
+ "end-safe"
591
+ ];
592
+ const scaleMargin = () => ["auto", ...scaleUnambiguousSpacing()];
593
+ const scaleSizing = () => [
594
+ isFraction,
595
+ "auto",
596
+ "full",
597
+ "dvw",
598
+ "dvh",
599
+ "lvw",
600
+ "lvh",
601
+ "svw",
602
+ "svh",
603
+ "min",
604
+ "max",
605
+ "fit",
606
+ ...scaleUnambiguousSpacing()
607
+ ];
608
+ const scaleSizingInline = () => [
609
+ isFraction,
610
+ "screen",
611
+ "full",
612
+ "dvw",
613
+ "lvw",
614
+ "svw",
615
+ "min",
616
+ "max",
617
+ "fit",
618
+ ...scaleUnambiguousSpacing()
619
+ ];
620
+ const scaleSizingBlock = () => [
621
+ isFraction,
622
+ "screen",
623
+ "full",
624
+ "lh",
625
+ "dvh",
626
+ "lvh",
627
+ "svh",
628
+ "min",
629
+ "max",
630
+ "fit",
631
+ ...scaleUnambiguousSpacing()
632
+ ];
633
+ const scaleColor = () => [
634
+ themeColor,
635
+ isArbitraryVariable,
636
+ isArbitraryValue
637
+ ];
638
+ const scaleBgPosition = () => [
639
+ ...scalePosition(),
640
+ isArbitraryVariablePosition,
641
+ isArbitraryPosition,
642
+ { position: [isArbitraryVariable, isArbitraryValue] }
643
+ ];
644
+ const scaleBgRepeat = () => ["no-repeat", { repeat: [
645
+ "",
646
+ "x",
647
+ "y",
648
+ "space",
649
+ "round"
650
+ ] }];
651
+ const scaleBgSize = () => [
652
+ "auto",
653
+ "cover",
654
+ "contain",
655
+ isArbitraryVariableSize,
656
+ isArbitrarySize,
657
+ { size: [isArbitraryVariable, isArbitraryValue] }
658
+ ];
659
+ const scaleGradientStopPosition = () => [
660
+ isPercent,
661
+ isArbitraryVariableLength,
662
+ isArbitraryLength
663
+ ];
664
+ const scaleRadius = () => [
665
+ "",
666
+ "none",
667
+ "full",
668
+ themeRadius,
669
+ isArbitraryVariable,
670
+ isArbitraryValue
671
+ ];
672
+ const scaleBorderWidth = () => [
673
+ "",
674
+ isNumber,
675
+ isArbitraryVariableLength,
676
+ isArbitraryLength
677
+ ];
678
+ const scaleLineStyle = () => [
679
+ "solid",
680
+ "dashed",
681
+ "dotted",
682
+ "double"
683
+ ];
684
+ const scaleBlendMode = () => [
685
+ "normal",
686
+ "multiply",
687
+ "screen",
688
+ "overlay",
689
+ "darken",
690
+ "lighten",
691
+ "color-dodge",
692
+ "color-burn",
693
+ "hard-light",
694
+ "soft-light",
695
+ "difference",
696
+ "exclusion",
697
+ "hue",
698
+ "saturation",
699
+ "color",
700
+ "luminosity"
701
+ ];
702
+ const scaleMaskImagePosition = () => [
703
+ isNumber,
704
+ isPercent,
705
+ isArbitraryVariablePosition,
706
+ isArbitraryPosition
707
+ ];
708
+ const scaleBlur = () => [
709
+ "",
710
+ "none",
711
+ themeBlur,
712
+ isArbitraryVariable,
713
+ isArbitraryValue
714
+ ];
715
+ const scaleRotate = () => [
716
+ "none",
717
+ isNumber,
718
+ isArbitraryVariable,
719
+ isArbitraryValue
720
+ ];
721
+ const scaleScale = () => [
722
+ "none",
723
+ isNumber,
724
+ isArbitraryVariable,
725
+ isArbitraryValue
726
+ ];
727
+ const scaleSkew = () => [
728
+ isNumber,
729
+ isArbitraryVariable,
730
+ isArbitraryValue
731
+ ];
732
+ const scaleTranslate = () => [
733
+ isFraction,
734
+ "full",
735
+ ...scaleUnambiguousSpacing()
736
+ ];
737
+ return {
738
+ cacheSize: 500,
739
+ theme: {
740
+ animate: [
741
+ "spin",
742
+ "ping",
743
+ "pulse",
744
+ "bounce"
745
+ ],
746
+ aspect: ["video"],
747
+ blur: [isTshirtSize],
748
+ breakpoint: [isTshirtSize],
749
+ color: [isAny],
750
+ container: [isTshirtSize],
751
+ "drop-shadow": [isTshirtSize],
752
+ ease: [
753
+ "in",
754
+ "out",
755
+ "in-out"
756
+ ],
757
+ font: [isAnyNonArbitrary],
758
+ "font-weight": [
759
+ "thin",
760
+ "extralight",
761
+ "light",
762
+ "normal",
763
+ "medium",
764
+ "semibold",
765
+ "bold",
766
+ "extrabold",
767
+ "black"
768
+ ],
769
+ "inset-shadow": [isTshirtSize],
770
+ leading: [
771
+ "none",
772
+ "tight",
773
+ "snug",
774
+ "normal",
775
+ "relaxed",
776
+ "loose"
777
+ ],
778
+ perspective: [
779
+ "dramatic",
780
+ "near",
781
+ "normal",
782
+ "midrange",
783
+ "distant",
784
+ "none"
785
+ ],
786
+ radius: [isTshirtSize],
787
+ shadow: [isTshirtSize],
788
+ spacing: ["px", isNumber],
789
+ text: [isTshirtSize],
790
+ "text-shadow": [isTshirtSize],
791
+ tracking: [
792
+ "tighter",
793
+ "tight",
794
+ "normal",
795
+ "wide",
796
+ "wider",
797
+ "widest"
798
+ ]
799
+ },
800
+ classGroups: {
801
+ aspect: [{ aspect: [
802
+ "auto",
803
+ "square",
804
+ isFraction,
805
+ isArbitraryValue,
806
+ isArbitraryVariable,
807
+ themeAspect
808
+ ] }],
809
+ container: ["container"],
810
+ columns: [{ columns: [
811
+ isNumber,
812
+ isArbitraryValue,
813
+ isArbitraryVariable,
814
+ themeContainer
815
+ ] }],
816
+ "break-after": [{ "break-after": scaleBreak() }],
817
+ "break-before": [{ "break-before": scaleBreak() }],
818
+ "break-inside": [{ "break-inside": [
819
+ "auto",
820
+ "avoid",
821
+ "avoid-page",
822
+ "avoid-column"
823
+ ] }],
824
+ "box-decoration": [{ "box-decoration": ["slice", "clone"] }],
825
+ box: [{ box: ["border", "content"] }],
826
+ display: [
827
+ "block",
828
+ "inline-block",
829
+ "inline",
830
+ "flex",
831
+ "inline-flex",
832
+ "table",
833
+ "inline-table",
834
+ "table-caption",
835
+ "table-cell",
836
+ "table-column",
837
+ "table-column-group",
838
+ "table-footer-group",
839
+ "table-header-group",
840
+ "table-row-group",
841
+ "table-row",
842
+ "flow-root",
843
+ "grid",
844
+ "inline-grid",
845
+ "contents",
846
+ "list-item",
847
+ "hidden"
848
+ ],
849
+ sr: ["sr-only", "not-sr-only"],
850
+ float: [{ float: [
851
+ "right",
852
+ "left",
853
+ "none",
854
+ "start",
855
+ "end"
856
+ ] }],
857
+ clear: [{ clear: [
858
+ "left",
859
+ "right",
860
+ "both",
861
+ "none",
862
+ "start",
863
+ "end"
864
+ ] }],
865
+ isolation: ["isolate", "isolation-auto"],
866
+ "object-fit": [{ object: [
867
+ "contain",
868
+ "cover",
869
+ "fill",
870
+ "none",
871
+ "scale-down"
872
+ ] }],
873
+ "object-position": [{ object: scalePositionWithArbitrary() }],
874
+ overflow: [{ overflow: scaleOverflow() }],
875
+ "overflow-x": [{ "overflow-x": scaleOverflow() }],
876
+ "overflow-y": [{ "overflow-y": scaleOverflow() }],
877
+ overscroll: [{ overscroll: scaleOverscroll() }],
878
+ "overscroll-x": [{ "overscroll-x": scaleOverscroll() }],
879
+ "overscroll-y": [{ "overscroll-y": scaleOverscroll() }],
880
+ position: [
881
+ "static",
882
+ "fixed",
883
+ "absolute",
884
+ "relative",
885
+ "sticky"
886
+ ],
887
+ inset: [{ inset: scaleInset() }],
888
+ "inset-x": [{ "inset-x": scaleInset() }],
889
+ "inset-y": [{ "inset-y": scaleInset() }],
890
+ start: [{
891
+ "inset-s": scaleInset(),
892
+ start: scaleInset()
893
+ }],
894
+ end: [{
895
+ "inset-e": scaleInset(),
896
+ end: scaleInset()
897
+ }],
898
+ "inset-bs": [{ "inset-bs": scaleInset() }],
899
+ "inset-be": [{ "inset-be": scaleInset() }],
900
+ top: [{ top: scaleInset() }],
901
+ right: [{ right: scaleInset() }],
902
+ bottom: [{ bottom: scaleInset() }],
903
+ left: [{ left: scaleInset() }],
904
+ visibility: [
905
+ "visible",
906
+ "invisible",
907
+ "collapse"
908
+ ],
909
+ z: [{ z: [
910
+ isInteger,
911
+ "auto",
912
+ isArbitraryVariable,
913
+ isArbitraryValue
914
+ ] }],
915
+ basis: [{ basis: [
916
+ isFraction,
917
+ "full",
918
+ "auto",
919
+ themeContainer,
920
+ ...scaleUnambiguousSpacing()
921
+ ] }],
922
+ "flex-direction": [{ flex: [
923
+ "row",
924
+ "row-reverse",
925
+ "col",
926
+ "col-reverse"
927
+ ] }],
928
+ "flex-wrap": [{ flex: [
929
+ "nowrap",
930
+ "wrap",
931
+ "wrap-reverse"
932
+ ] }],
933
+ flex: [{ flex: [
934
+ isNumber,
935
+ isFraction,
936
+ "auto",
937
+ "initial",
938
+ "none",
939
+ isArbitraryValue
940
+ ] }],
941
+ grow: [{ grow: [
942
+ "",
943
+ isNumber,
944
+ isArbitraryVariable,
945
+ isArbitraryValue
946
+ ] }],
947
+ shrink: [{ shrink: [
948
+ "",
949
+ isNumber,
950
+ isArbitraryVariable,
951
+ isArbitraryValue
952
+ ] }],
953
+ order: [{ order: [
954
+ isInteger,
955
+ "first",
956
+ "last",
957
+ "none",
958
+ isArbitraryVariable,
959
+ isArbitraryValue
960
+ ] }],
961
+ "grid-cols": [{ "grid-cols": scaleGridTemplateColsRows() }],
962
+ "col-start-end": [{ col: scaleGridColRowStartAndEnd() }],
963
+ "col-start": [{ "col-start": scaleGridColRowStartOrEnd() }],
964
+ "col-end": [{ "col-end": scaleGridColRowStartOrEnd() }],
965
+ "grid-rows": [{ "grid-rows": scaleGridTemplateColsRows() }],
966
+ "row-start-end": [{ row: scaleGridColRowStartAndEnd() }],
967
+ "row-start": [{ "row-start": scaleGridColRowStartOrEnd() }],
968
+ "row-end": [{ "row-end": scaleGridColRowStartOrEnd() }],
969
+ "grid-flow": [{ "grid-flow": [
970
+ "row",
971
+ "col",
972
+ "dense",
973
+ "row-dense",
974
+ "col-dense"
975
+ ] }],
976
+ "auto-cols": [{ "auto-cols": scaleGridAutoColsRows() }],
977
+ "auto-rows": [{ "auto-rows": scaleGridAutoColsRows() }],
978
+ gap: [{ gap: scaleUnambiguousSpacing() }],
979
+ "gap-x": [{ "gap-x": scaleUnambiguousSpacing() }],
980
+ "gap-y": [{ "gap-y": scaleUnambiguousSpacing() }],
981
+ "justify-content": [{ justify: [...scaleAlignPrimaryAxis(), "normal"] }],
982
+ "justify-items": [{ "justify-items": [...scaleAlignSecondaryAxis(), "normal"] }],
983
+ "justify-self": [{ "justify-self": ["auto", ...scaleAlignSecondaryAxis()] }],
984
+ "align-content": [{ content: ["normal", ...scaleAlignPrimaryAxis()] }],
985
+ "align-items": [{ items: [...scaleAlignSecondaryAxis(), { baseline: ["", "last"] }] }],
986
+ "align-self": [{ self: [
987
+ "auto",
988
+ ...scaleAlignSecondaryAxis(),
989
+ { baseline: ["", "last"] }
990
+ ] }],
991
+ "place-content": [{ "place-content": scaleAlignPrimaryAxis() }],
992
+ "place-items": [{ "place-items": [...scaleAlignSecondaryAxis(), "baseline"] }],
993
+ "place-self": [{ "place-self": ["auto", ...scaleAlignSecondaryAxis()] }],
994
+ p: [{ p: scaleUnambiguousSpacing() }],
995
+ px: [{ px: scaleUnambiguousSpacing() }],
996
+ py: [{ py: scaleUnambiguousSpacing() }],
997
+ ps: [{ ps: scaleUnambiguousSpacing() }],
998
+ pe: [{ pe: scaleUnambiguousSpacing() }],
999
+ pbs: [{ pbs: scaleUnambiguousSpacing() }],
1000
+ pbe: [{ pbe: scaleUnambiguousSpacing() }],
1001
+ pt: [{ pt: scaleUnambiguousSpacing() }],
1002
+ pr: [{ pr: scaleUnambiguousSpacing() }],
1003
+ pb: [{ pb: scaleUnambiguousSpacing() }],
1004
+ pl: [{ pl: scaleUnambiguousSpacing() }],
1005
+ m: [{ m: scaleMargin() }],
1006
+ mx: [{ mx: scaleMargin() }],
1007
+ my: [{ my: scaleMargin() }],
1008
+ ms: [{ ms: scaleMargin() }],
1009
+ me: [{ me: scaleMargin() }],
1010
+ mbs: [{ mbs: scaleMargin() }],
1011
+ mbe: [{ mbe: scaleMargin() }],
1012
+ mt: [{ mt: scaleMargin() }],
1013
+ mr: [{ mr: scaleMargin() }],
1014
+ mb: [{ mb: scaleMargin() }],
1015
+ ml: [{ ml: scaleMargin() }],
1016
+ "space-x": [{ "space-x": scaleUnambiguousSpacing() }],
1017
+ "space-x-reverse": ["space-x-reverse"],
1018
+ "space-y": [{ "space-y": scaleUnambiguousSpacing() }],
1019
+ "space-y-reverse": ["space-y-reverse"],
1020
+ size: [{ size: scaleSizing() }],
1021
+ "inline-size": [{ inline: ["auto", ...scaleSizingInline()] }],
1022
+ "min-inline-size": [{ "min-inline": ["auto", ...scaleSizingInline()] }],
1023
+ "max-inline-size": [{ "max-inline": ["none", ...scaleSizingInline()] }],
1024
+ "block-size": [{ block: ["auto", ...scaleSizingBlock()] }],
1025
+ "min-block-size": [{ "min-block": ["auto", ...scaleSizingBlock()] }],
1026
+ "max-block-size": [{ "max-block": ["none", ...scaleSizingBlock()] }],
1027
+ w: [{ w: [
1028
+ themeContainer,
1029
+ "screen",
1030
+ ...scaleSizing()
1031
+ ] }],
1032
+ "min-w": [{ "min-w": [
1033
+ themeContainer,
1034
+ "screen",
1035
+ "none",
1036
+ ...scaleSizing()
1037
+ ] }],
1038
+ "max-w": [{ "max-w": [
1039
+ themeContainer,
1040
+ "screen",
1041
+ "none",
1042
+ "prose",
1043
+ { screen: [themeBreakpoint] },
1044
+ ...scaleSizing()
1045
+ ] }],
1046
+ h: [{ h: [
1047
+ "screen",
1048
+ "lh",
1049
+ ...scaleSizing()
1050
+ ] }],
1051
+ "min-h": [{ "min-h": [
1052
+ "screen",
1053
+ "lh",
1054
+ "none",
1055
+ ...scaleSizing()
1056
+ ] }],
1057
+ "max-h": [{ "max-h": [
1058
+ "screen",
1059
+ "lh",
1060
+ ...scaleSizing()
1061
+ ] }],
1062
+ "font-size": [{ text: [
1063
+ "base",
1064
+ themeText,
1065
+ isArbitraryVariableLength,
1066
+ isArbitraryLength
1067
+ ] }],
1068
+ "font-smoothing": ["antialiased", "subpixel-antialiased"],
1069
+ "font-style": ["italic", "not-italic"],
1070
+ "font-weight": [{ font: [
1071
+ themeFontWeight,
1072
+ isArbitraryVariableWeight,
1073
+ isArbitraryWeight
1074
+ ] }],
1075
+ "font-stretch": [{ "font-stretch": [
1076
+ "ultra-condensed",
1077
+ "extra-condensed",
1078
+ "condensed",
1079
+ "semi-condensed",
1080
+ "normal",
1081
+ "semi-expanded",
1082
+ "expanded",
1083
+ "extra-expanded",
1084
+ "ultra-expanded",
1085
+ isPercent,
1086
+ isArbitraryValue
1087
+ ] }],
1088
+ "font-family": [{ font: [
1089
+ isArbitraryVariableFamilyName,
1090
+ isArbitraryFamilyName,
1091
+ themeFont
1092
+ ] }],
1093
+ "font-features": [{ "font-features": [isArbitraryValue] }],
1094
+ "fvn-normal": ["normal-nums"],
1095
+ "fvn-ordinal": ["ordinal"],
1096
+ "fvn-slashed-zero": ["slashed-zero"],
1097
+ "fvn-figure": ["lining-nums", "oldstyle-nums"],
1098
+ "fvn-spacing": ["proportional-nums", "tabular-nums"],
1099
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1100
+ tracking: [{ tracking: [
1101
+ themeTracking,
1102
+ isArbitraryVariable,
1103
+ isArbitraryValue
1104
+ ] }],
1105
+ "line-clamp": [{ "line-clamp": [
1106
+ isNumber,
1107
+ "none",
1108
+ isArbitraryVariable,
1109
+ isArbitraryNumber
1110
+ ] }],
1111
+ leading: [{ leading: [themeLeading, ...scaleUnambiguousSpacing()] }],
1112
+ "list-image": [{ "list-image": [
1113
+ "none",
1114
+ isArbitraryVariable,
1115
+ isArbitraryValue
1116
+ ] }],
1117
+ "list-style-position": [{ list: ["inside", "outside"] }],
1118
+ "list-style-type": [{ list: [
1119
+ "disc",
1120
+ "decimal",
1121
+ "none",
1122
+ isArbitraryVariable,
1123
+ isArbitraryValue
1124
+ ] }],
1125
+ "text-alignment": [{ text: [
1126
+ "left",
1127
+ "center",
1128
+ "right",
1129
+ "justify",
1130
+ "start",
1131
+ "end"
1132
+ ] }],
1133
+ "placeholder-color": [{ placeholder: scaleColor() }],
1134
+ "text-color": [{ text: scaleColor() }],
1135
+ "text-decoration": [
1136
+ "underline",
1137
+ "overline",
1138
+ "line-through",
1139
+ "no-underline"
1140
+ ],
1141
+ "text-decoration-style": [{ decoration: [...scaleLineStyle(), "wavy"] }],
1142
+ "text-decoration-thickness": [{ decoration: [
1143
+ isNumber,
1144
+ "from-font",
1145
+ "auto",
1146
+ isArbitraryVariable,
1147
+ isArbitraryLength
1148
+ ] }],
1149
+ "text-decoration-color": [{ decoration: scaleColor() }],
1150
+ "underline-offset": [{ "underline-offset": [
1151
+ isNumber,
1152
+ "auto",
1153
+ isArbitraryVariable,
1154
+ isArbitraryValue
1155
+ ] }],
1156
+ "text-transform": [
1157
+ "uppercase",
1158
+ "lowercase",
1159
+ "capitalize",
1160
+ "normal-case"
1161
+ ],
1162
+ "text-overflow": [
1163
+ "truncate",
1164
+ "text-ellipsis",
1165
+ "text-clip"
1166
+ ],
1167
+ "text-wrap": [{ text: [
1168
+ "wrap",
1169
+ "nowrap",
1170
+ "balance",
1171
+ "pretty"
1172
+ ] }],
1173
+ indent: [{ indent: scaleUnambiguousSpacing() }],
1174
+ "vertical-align": [{ align: [
1175
+ "baseline",
1176
+ "top",
1177
+ "middle",
1178
+ "bottom",
1179
+ "text-top",
1180
+ "text-bottom",
1181
+ "sub",
1182
+ "super",
1183
+ isArbitraryVariable,
1184
+ isArbitraryValue
1185
+ ] }],
1186
+ whitespace: [{ whitespace: [
1187
+ "normal",
1188
+ "nowrap",
1189
+ "pre",
1190
+ "pre-line",
1191
+ "pre-wrap",
1192
+ "break-spaces"
1193
+ ] }],
1194
+ break: [{ break: [
1195
+ "normal",
1196
+ "words",
1197
+ "all",
1198
+ "keep"
1199
+ ] }],
1200
+ wrap: [{ wrap: [
1201
+ "break-word",
1202
+ "anywhere",
1203
+ "normal"
1204
+ ] }],
1205
+ hyphens: [{ hyphens: [
1206
+ "none",
1207
+ "manual",
1208
+ "auto"
1209
+ ] }],
1210
+ content: [{ content: [
1211
+ "none",
1212
+ isArbitraryVariable,
1213
+ isArbitraryValue
1214
+ ] }],
1215
+ "bg-attachment": [{ bg: [
1216
+ "fixed",
1217
+ "local",
1218
+ "scroll"
1219
+ ] }],
1220
+ "bg-clip": [{ "bg-clip": [
1221
+ "border",
1222
+ "padding",
1223
+ "content",
1224
+ "text"
1225
+ ] }],
1226
+ "bg-origin": [{ "bg-origin": [
1227
+ "border",
1228
+ "padding",
1229
+ "content"
1230
+ ] }],
1231
+ "bg-position": [{ bg: scaleBgPosition() }],
1232
+ "bg-repeat": [{ bg: scaleBgRepeat() }],
1233
+ "bg-size": [{ bg: scaleBgSize() }],
1234
+ "bg-image": [{ bg: [
1235
+ "none",
1236
+ {
1237
+ linear: [
1238
+ { to: [
1239
+ "t",
1240
+ "tr",
1241
+ "r",
1242
+ "br",
1243
+ "b",
1244
+ "bl",
1245
+ "l",
1246
+ "tl"
1247
+ ] },
1248
+ isInteger,
1249
+ isArbitraryVariable,
1250
+ isArbitraryValue
1251
+ ],
1252
+ radial: [
1253
+ "",
1254
+ isArbitraryVariable,
1255
+ isArbitraryValue
1256
+ ],
1257
+ conic: [
1258
+ isInteger,
1259
+ isArbitraryVariable,
1260
+ isArbitraryValue
1261
+ ]
1262
+ },
1263
+ isArbitraryVariableImage,
1264
+ isArbitraryImage
1265
+ ] }],
1266
+ "bg-color": [{ bg: scaleColor() }],
1267
+ "gradient-from-pos": [{ from: scaleGradientStopPosition() }],
1268
+ "gradient-via-pos": [{ via: scaleGradientStopPosition() }],
1269
+ "gradient-to-pos": [{ to: scaleGradientStopPosition() }],
1270
+ "gradient-from": [{ from: scaleColor() }],
1271
+ "gradient-via": [{ via: scaleColor() }],
1272
+ "gradient-to": [{ to: scaleColor() }],
1273
+ rounded: [{ rounded: scaleRadius() }],
1274
+ "rounded-s": [{ "rounded-s": scaleRadius() }],
1275
+ "rounded-e": [{ "rounded-e": scaleRadius() }],
1276
+ "rounded-t": [{ "rounded-t": scaleRadius() }],
1277
+ "rounded-r": [{ "rounded-r": scaleRadius() }],
1278
+ "rounded-b": [{ "rounded-b": scaleRadius() }],
1279
+ "rounded-l": [{ "rounded-l": scaleRadius() }],
1280
+ "rounded-ss": [{ "rounded-ss": scaleRadius() }],
1281
+ "rounded-se": [{ "rounded-se": scaleRadius() }],
1282
+ "rounded-ee": [{ "rounded-ee": scaleRadius() }],
1283
+ "rounded-es": [{ "rounded-es": scaleRadius() }],
1284
+ "rounded-tl": [{ "rounded-tl": scaleRadius() }],
1285
+ "rounded-tr": [{ "rounded-tr": scaleRadius() }],
1286
+ "rounded-br": [{ "rounded-br": scaleRadius() }],
1287
+ "rounded-bl": [{ "rounded-bl": scaleRadius() }],
1288
+ "border-w": [{ border: scaleBorderWidth() }],
1289
+ "border-w-x": [{ "border-x": scaleBorderWidth() }],
1290
+ "border-w-y": [{ "border-y": scaleBorderWidth() }],
1291
+ "border-w-s": [{ "border-s": scaleBorderWidth() }],
1292
+ "border-w-e": [{ "border-e": scaleBorderWidth() }],
1293
+ "border-w-bs": [{ "border-bs": scaleBorderWidth() }],
1294
+ "border-w-be": [{ "border-be": scaleBorderWidth() }],
1295
+ "border-w-t": [{ "border-t": scaleBorderWidth() }],
1296
+ "border-w-r": [{ "border-r": scaleBorderWidth() }],
1297
+ "border-w-b": [{ "border-b": scaleBorderWidth() }],
1298
+ "border-w-l": [{ "border-l": scaleBorderWidth() }],
1299
+ "divide-x": [{ "divide-x": scaleBorderWidth() }],
1300
+ "divide-x-reverse": ["divide-x-reverse"],
1301
+ "divide-y": [{ "divide-y": scaleBorderWidth() }],
1302
+ "divide-y-reverse": ["divide-y-reverse"],
1303
+ "border-style": [{ border: [
1304
+ ...scaleLineStyle(),
1305
+ "hidden",
1306
+ "none"
1307
+ ] }],
1308
+ "divide-style": [{ divide: [
1309
+ ...scaleLineStyle(),
1310
+ "hidden",
1311
+ "none"
1312
+ ] }],
1313
+ "border-color": [{ border: scaleColor() }],
1314
+ "border-color-x": [{ "border-x": scaleColor() }],
1315
+ "border-color-y": [{ "border-y": scaleColor() }],
1316
+ "border-color-s": [{ "border-s": scaleColor() }],
1317
+ "border-color-e": [{ "border-e": scaleColor() }],
1318
+ "border-color-bs": [{ "border-bs": scaleColor() }],
1319
+ "border-color-be": [{ "border-be": scaleColor() }],
1320
+ "border-color-t": [{ "border-t": scaleColor() }],
1321
+ "border-color-r": [{ "border-r": scaleColor() }],
1322
+ "border-color-b": [{ "border-b": scaleColor() }],
1323
+ "border-color-l": [{ "border-l": scaleColor() }],
1324
+ "divide-color": [{ divide: scaleColor() }],
1325
+ "outline-style": [{ outline: [
1326
+ ...scaleLineStyle(),
1327
+ "none",
1328
+ "hidden"
1329
+ ] }],
1330
+ "outline-offset": [{ "outline-offset": [
1331
+ isNumber,
1332
+ isArbitraryVariable,
1333
+ isArbitraryValue
1334
+ ] }],
1335
+ "outline-w": [{ outline: [
1336
+ "",
1337
+ isNumber,
1338
+ isArbitraryVariableLength,
1339
+ isArbitraryLength
1340
+ ] }],
1341
+ "outline-color": [{ outline: scaleColor() }],
1342
+ shadow: [{ shadow: [
1343
+ "",
1344
+ "none",
1345
+ themeShadow,
1346
+ isArbitraryVariableShadow,
1347
+ isArbitraryShadow
1348
+ ] }],
1349
+ "shadow-color": [{ shadow: scaleColor() }],
1350
+ "inset-shadow": [{ "inset-shadow": [
1351
+ "none",
1352
+ themeInsetShadow,
1353
+ isArbitraryVariableShadow,
1354
+ isArbitraryShadow
1355
+ ] }],
1356
+ "inset-shadow-color": [{ "inset-shadow": scaleColor() }],
1357
+ "ring-w": [{ ring: scaleBorderWidth() }],
1358
+ "ring-w-inset": ["ring-inset"],
1359
+ "ring-color": [{ ring: scaleColor() }],
1360
+ "ring-offset-w": [{ "ring-offset": [isNumber, isArbitraryLength] }],
1361
+ "ring-offset-color": [{ "ring-offset": scaleColor() }],
1362
+ "inset-ring-w": [{ "inset-ring": scaleBorderWidth() }],
1363
+ "inset-ring-color": [{ "inset-ring": scaleColor() }],
1364
+ "text-shadow": [{ "text-shadow": [
1365
+ "none",
1366
+ themeTextShadow,
1367
+ isArbitraryVariableShadow,
1368
+ isArbitraryShadow
1369
+ ] }],
1370
+ "text-shadow-color": [{ "text-shadow": scaleColor() }],
1371
+ opacity: [{ opacity: [
1372
+ isNumber,
1373
+ isArbitraryVariable,
1374
+ isArbitraryValue
1375
+ ] }],
1376
+ "mix-blend": [{ "mix-blend": [
1377
+ ...scaleBlendMode(),
1378
+ "plus-darker",
1379
+ "plus-lighter"
1380
+ ] }],
1381
+ "bg-blend": [{ "bg-blend": scaleBlendMode() }],
1382
+ "mask-clip": [{ "mask-clip": [
1383
+ "border",
1384
+ "padding",
1385
+ "content",
1386
+ "fill",
1387
+ "stroke",
1388
+ "view"
1389
+ ] }, "mask-no-clip"],
1390
+ "mask-composite": [{ mask: [
1391
+ "add",
1392
+ "subtract",
1393
+ "intersect",
1394
+ "exclude"
1395
+ ] }],
1396
+ "mask-image-linear-pos": [{ "mask-linear": [isNumber] }],
1397
+ "mask-image-linear-from-pos": [{ "mask-linear-from": scaleMaskImagePosition() }],
1398
+ "mask-image-linear-to-pos": [{ "mask-linear-to": scaleMaskImagePosition() }],
1399
+ "mask-image-linear-from-color": [{ "mask-linear-from": scaleColor() }],
1400
+ "mask-image-linear-to-color": [{ "mask-linear-to": scaleColor() }],
1401
+ "mask-image-t-from-pos": [{ "mask-t-from": scaleMaskImagePosition() }],
1402
+ "mask-image-t-to-pos": [{ "mask-t-to": scaleMaskImagePosition() }],
1403
+ "mask-image-t-from-color": [{ "mask-t-from": scaleColor() }],
1404
+ "mask-image-t-to-color": [{ "mask-t-to": scaleColor() }],
1405
+ "mask-image-r-from-pos": [{ "mask-r-from": scaleMaskImagePosition() }],
1406
+ "mask-image-r-to-pos": [{ "mask-r-to": scaleMaskImagePosition() }],
1407
+ "mask-image-r-from-color": [{ "mask-r-from": scaleColor() }],
1408
+ "mask-image-r-to-color": [{ "mask-r-to": scaleColor() }],
1409
+ "mask-image-b-from-pos": [{ "mask-b-from": scaleMaskImagePosition() }],
1410
+ "mask-image-b-to-pos": [{ "mask-b-to": scaleMaskImagePosition() }],
1411
+ "mask-image-b-from-color": [{ "mask-b-from": scaleColor() }],
1412
+ "mask-image-b-to-color": [{ "mask-b-to": scaleColor() }],
1413
+ "mask-image-l-from-pos": [{ "mask-l-from": scaleMaskImagePosition() }],
1414
+ "mask-image-l-to-pos": [{ "mask-l-to": scaleMaskImagePosition() }],
1415
+ "mask-image-l-from-color": [{ "mask-l-from": scaleColor() }],
1416
+ "mask-image-l-to-color": [{ "mask-l-to": scaleColor() }],
1417
+ "mask-image-x-from-pos": [{ "mask-x-from": scaleMaskImagePosition() }],
1418
+ "mask-image-x-to-pos": [{ "mask-x-to": scaleMaskImagePosition() }],
1419
+ "mask-image-x-from-color": [{ "mask-x-from": scaleColor() }],
1420
+ "mask-image-x-to-color": [{ "mask-x-to": scaleColor() }],
1421
+ "mask-image-y-from-pos": [{ "mask-y-from": scaleMaskImagePosition() }],
1422
+ "mask-image-y-to-pos": [{ "mask-y-to": scaleMaskImagePosition() }],
1423
+ "mask-image-y-from-color": [{ "mask-y-from": scaleColor() }],
1424
+ "mask-image-y-to-color": [{ "mask-y-to": scaleColor() }],
1425
+ "mask-image-radial": [{ "mask-radial": [isArbitraryVariable, isArbitraryValue] }],
1426
+ "mask-image-radial-from-pos": [{ "mask-radial-from": scaleMaskImagePosition() }],
1427
+ "mask-image-radial-to-pos": [{ "mask-radial-to": scaleMaskImagePosition() }],
1428
+ "mask-image-radial-from-color": [{ "mask-radial-from": scaleColor() }],
1429
+ "mask-image-radial-to-color": [{ "mask-radial-to": scaleColor() }],
1430
+ "mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
1431
+ "mask-image-radial-size": [{ "mask-radial": [{
1432
+ closest: ["side", "corner"],
1433
+ farthest: ["side", "corner"]
1434
+ }] }],
1435
+ "mask-image-radial-pos": [{ "mask-radial-at": scalePosition() }],
1436
+ "mask-image-conic-pos": [{ "mask-conic": [isNumber] }],
1437
+ "mask-image-conic-from-pos": [{ "mask-conic-from": scaleMaskImagePosition() }],
1438
+ "mask-image-conic-to-pos": [{ "mask-conic-to": scaleMaskImagePosition() }],
1439
+ "mask-image-conic-from-color": [{ "mask-conic-from": scaleColor() }],
1440
+ "mask-image-conic-to-color": [{ "mask-conic-to": scaleColor() }],
1441
+ "mask-mode": [{ mask: [
1442
+ "alpha",
1443
+ "luminance",
1444
+ "match"
1445
+ ] }],
1446
+ "mask-origin": [{ "mask-origin": [
1447
+ "border",
1448
+ "padding",
1449
+ "content",
1450
+ "fill",
1451
+ "stroke",
1452
+ "view"
1453
+ ] }],
1454
+ "mask-position": [{ mask: scaleBgPosition() }],
1455
+ "mask-repeat": [{ mask: scaleBgRepeat() }],
1456
+ "mask-size": [{ mask: scaleBgSize() }],
1457
+ "mask-type": [{ "mask-type": ["alpha", "luminance"] }],
1458
+ "mask-image": [{ mask: [
1459
+ "none",
1460
+ isArbitraryVariable,
1461
+ isArbitraryValue
1462
+ ] }],
1463
+ filter: [{ filter: [
1464
+ "",
1465
+ "none",
1466
+ isArbitraryVariable,
1467
+ isArbitraryValue
1468
+ ] }],
1469
+ blur: [{ blur: scaleBlur() }],
1470
+ brightness: [{ brightness: [
1471
+ isNumber,
1472
+ isArbitraryVariable,
1473
+ isArbitraryValue
1474
+ ] }],
1475
+ contrast: [{ contrast: [
1476
+ isNumber,
1477
+ isArbitraryVariable,
1478
+ isArbitraryValue
1479
+ ] }],
1480
+ "drop-shadow": [{ "drop-shadow": [
1481
+ "",
1482
+ "none",
1483
+ themeDropShadow,
1484
+ isArbitraryVariableShadow,
1485
+ isArbitraryShadow
1486
+ ] }],
1487
+ "drop-shadow-color": [{ "drop-shadow": scaleColor() }],
1488
+ grayscale: [{ grayscale: [
1489
+ "",
1490
+ isNumber,
1491
+ isArbitraryVariable,
1492
+ isArbitraryValue
1493
+ ] }],
1494
+ "hue-rotate": [{ "hue-rotate": [
1495
+ isNumber,
1496
+ isArbitraryVariable,
1497
+ isArbitraryValue
1498
+ ] }],
1499
+ invert: [{ invert: [
1500
+ "",
1501
+ isNumber,
1502
+ isArbitraryVariable,
1503
+ isArbitraryValue
1504
+ ] }],
1505
+ saturate: [{ saturate: [
1506
+ isNumber,
1507
+ isArbitraryVariable,
1508
+ isArbitraryValue
1509
+ ] }],
1510
+ sepia: [{ sepia: [
1511
+ "",
1512
+ isNumber,
1513
+ isArbitraryVariable,
1514
+ isArbitraryValue
1515
+ ] }],
1516
+ "backdrop-filter": [{ "backdrop-filter": [
1517
+ "",
1518
+ "none",
1519
+ isArbitraryVariable,
1520
+ isArbitraryValue
1521
+ ] }],
1522
+ "backdrop-blur": [{ "backdrop-blur": scaleBlur() }],
1523
+ "backdrop-brightness": [{ "backdrop-brightness": [
1524
+ isNumber,
1525
+ isArbitraryVariable,
1526
+ isArbitraryValue
1527
+ ] }],
1528
+ "backdrop-contrast": [{ "backdrop-contrast": [
1529
+ isNumber,
1530
+ isArbitraryVariable,
1531
+ isArbitraryValue
1532
+ ] }],
1533
+ "backdrop-grayscale": [{ "backdrop-grayscale": [
1534
+ "",
1535
+ isNumber,
1536
+ isArbitraryVariable,
1537
+ isArbitraryValue
1538
+ ] }],
1539
+ "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
1540
+ isNumber,
1541
+ isArbitraryVariable,
1542
+ isArbitraryValue
1543
+ ] }],
1544
+ "backdrop-invert": [{ "backdrop-invert": [
1545
+ "",
1546
+ isNumber,
1547
+ isArbitraryVariable,
1548
+ isArbitraryValue
1549
+ ] }],
1550
+ "backdrop-opacity": [{ "backdrop-opacity": [
1551
+ isNumber,
1552
+ isArbitraryVariable,
1553
+ isArbitraryValue
1554
+ ] }],
1555
+ "backdrop-saturate": [{ "backdrop-saturate": [
1556
+ isNumber,
1557
+ isArbitraryVariable,
1558
+ isArbitraryValue
1559
+ ] }],
1560
+ "backdrop-sepia": [{ "backdrop-sepia": [
1561
+ "",
1562
+ isNumber,
1563
+ isArbitraryVariable,
1564
+ isArbitraryValue
1565
+ ] }],
1566
+ "border-collapse": [{ border: ["collapse", "separate"] }],
1567
+ "border-spacing": [{ "border-spacing": scaleUnambiguousSpacing() }],
1568
+ "border-spacing-x": [{ "border-spacing-x": scaleUnambiguousSpacing() }],
1569
+ "border-spacing-y": [{ "border-spacing-y": scaleUnambiguousSpacing() }],
1570
+ "table-layout": [{ table: ["auto", "fixed"] }],
1571
+ caption: [{ caption: ["top", "bottom"] }],
1572
+ transition: [{ transition: [
1573
+ "",
1574
+ "all",
1575
+ "colors",
1576
+ "opacity",
1577
+ "shadow",
1578
+ "transform",
1579
+ "none",
1580
+ isArbitraryVariable,
1581
+ isArbitraryValue
1582
+ ] }],
1583
+ "transition-behavior": [{ transition: ["normal", "discrete"] }],
1584
+ duration: [{ duration: [
1585
+ isNumber,
1586
+ "initial",
1587
+ isArbitraryVariable,
1588
+ isArbitraryValue
1589
+ ] }],
1590
+ ease: [{ ease: [
1591
+ "linear",
1592
+ "initial",
1593
+ themeEase,
1594
+ isArbitraryVariable,
1595
+ isArbitraryValue
1596
+ ] }],
1597
+ delay: [{ delay: [
1598
+ isNumber,
1599
+ isArbitraryVariable,
1600
+ isArbitraryValue
1601
+ ] }],
1602
+ animate: [{ animate: [
1603
+ "none",
1604
+ themeAnimate,
1605
+ isArbitraryVariable,
1606
+ isArbitraryValue
1607
+ ] }],
1608
+ backface: [{ backface: ["hidden", "visible"] }],
1609
+ perspective: [{ perspective: [
1610
+ themePerspective,
1611
+ isArbitraryVariable,
1612
+ isArbitraryValue
1613
+ ] }],
1614
+ "perspective-origin": [{ "perspective-origin": scalePositionWithArbitrary() }],
1615
+ rotate: [{ rotate: scaleRotate() }],
1616
+ "rotate-x": [{ "rotate-x": scaleRotate() }],
1617
+ "rotate-y": [{ "rotate-y": scaleRotate() }],
1618
+ "rotate-z": [{ "rotate-z": scaleRotate() }],
1619
+ scale: [{ scale: scaleScale() }],
1620
+ "scale-x": [{ "scale-x": scaleScale() }],
1621
+ "scale-y": [{ "scale-y": scaleScale() }],
1622
+ "scale-z": [{ "scale-z": scaleScale() }],
1623
+ "scale-3d": ["scale-3d"],
1624
+ skew: [{ skew: scaleSkew() }],
1625
+ "skew-x": [{ "skew-x": scaleSkew() }],
1626
+ "skew-y": [{ "skew-y": scaleSkew() }],
1627
+ transform: [{ transform: [
1628
+ isArbitraryVariable,
1629
+ isArbitraryValue,
1630
+ "",
1631
+ "none",
1632
+ "gpu",
1633
+ "cpu"
1634
+ ] }],
1635
+ "transform-origin": [{ origin: scalePositionWithArbitrary() }],
1636
+ "transform-style": [{ transform: ["3d", "flat"] }],
1637
+ translate: [{ translate: scaleTranslate() }],
1638
+ "translate-x": [{ "translate-x": scaleTranslate() }],
1639
+ "translate-y": [{ "translate-y": scaleTranslate() }],
1640
+ "translate-z": [{ "translate-z": scaleTranslate() }],
1641
+ "translate-none": ["translate-none"],
1642
+ accent: [{ accent: scaleColor() }],
1643
+ appearance: [{ appearance: ["none", "auto"] }],
1644
+ "caret-color": [{ caret: scaleColor() }],
1645
+ "color-scheme": [{ scheme: [
1646
+ "normal",
1647
+ "dark",
1648
+ "light",
1649
+ "light-dark",
1650
+ "only-dark",
1651
+ "only-light"
1652
+ ] }],
1653
+ cursor: [{ cursor: [
1654
+ "auto",
1655
+ "default",
1656
+ "pointer",
1657
+ "wait",
1658
+ "text",
1659
+ "move",
1660
+ "help",
1661
+ "not-allowed",
1662
+ "none",
1663
+ "context-menu",
1664
+ "progress",
1665
+ "cell",
1666
+ "crosshair",
1667
+ "vertical-text",
1668
+ "alias",
1669
+ "copy",
1670
+ "no-drop",
1671
+ "grab",
1672
+ "grabbing",
1673
+ "all-scroll",
1674
+ "col-resize",
1675
+ "row-resize",
1676
+ "n-resize",
1677
+ "e-resize",
1678
+ "s-resize",
1679
+ "w-resize",
1680
+ "ne-resize",
1681
+ "nw-resize",
1682
+ "se-resize",
1683
+ "sw-resize",
1684
+ "ew-resize",
1685
+ "ns-resize",
1686
+ "nesw-resize",
1687
+ "nwse-resize",
1688
+ "zoom-in",
1689
+ "zoom-out",
1690
+ isArbitraryVariable,
1691
+ isArbitraryValue
1692
+ ] }],
1693
+ "field-sizing": [{ "field-sizing": ["fixed", "content"] }],
1694
+ "pointer-events": [{ "pointer-events": ["auto", "none"] }],
1695
+ resize: [{ resize: [
1696
+ "none",
1697
+ "",
1698
+ "y",
1699
+ "x"
1700
+ ] }],
1701
+ "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
1702
+ "scroll-m": [{ "scroll-m": scaleUnambiguousSpacing() }],
1703
+ "scroll-mx": [{ "scroll-mx": scaleUnambiguousSpacing() }],
1704
+ "scroll-my": [{ "scroll-my": scaleUnambiguousSpacing() }],
1705
+ "scroll-ms": [{ "scroll-ms": scaleUnambiguousSpacing() }],
1706
+ "scroll-me": [{ "scroll-me": scaleUnambiguousSpacing() }],
1707
+ "scroll-mbs": [{ "scroll-mbs": scaleUnambiguousSpacing() }],
1708
+ "scroll-mbe": [{ "scroll-mbe": scaleUnambiguousSpacing() }],
1709
+ "scroll-mt": [{ "scroll-mt": scaleUnambiguousSpacing() }],
1710
+ "scroll-mr": [{ "scroll-mr": scaleUnambiguousSpacing() }],
1711
+ "scroll-mb": [{ "scroll-mb": scaleUnambiguousSpacing() }],
1712
+ "scroll-ml": [{ "scroll-ml": scaleUnambiguousSpacing() }],
1713
+ "scroll-p": [{ "scroll-p": scaleUnambiguousSpacing() }],
1714
+ "scroll-px": [{ "scroll-px": scaleUnambiguousSpacing() }],
1715
+ "scroll-py": [{ "scroll-py": scaleUnambiguousSpacing() }],
1716
+ "scroll-ps": [{ "scroll-ps": scaleUnambiguousSpacing() }],
1717
+ "scroll-pe": [{ "scroll-pe": scaleUnambiguousSpacing() }],
1718
+ "scroll-pbs": [{ "scroll-pbs": scaleUnambiguousSpacing() }],
1719
+ "scroll-pbe": [{ "scroll-pbe": scaleUnambiguousSpacing() }],
1720
+ "scroll-pt": [{ "scroll-pt": scaleUnambiguousSpacing() }],
1721
+ "scroll-pr": [{ "scroll-pr": scaleUnambiguousSpacing() }],
1722
+ "scroll-pb": [{ "scroll-pb": scaleUnambiguousSpacing() }],
1723
+ "scroll-pl": [{ "scroll-pl": scaleUnambiguousSpacing() }],
1724
+ "snap-align": [{ snap: [
1725
+ "start",
1726
+ "end",
1727
+ "center",
1728
+ "align-none"
1729
+ ] }],
1730
+ "snap-stop": [{ snap: ["normal", "always"] }],
1731
+ "snap-type": [{ snap: [
1732
+ "none",
1733
+ "x",
1734
+ "y",
1735
+ "both"
1736
+ ] }],
1737
+ "snap-strictness": [{ snap: ["mandatory", "proximity"] }],
1738
+ touch: [{ touch: [
1739
+ "auto",
1740
+ "none",
1741
+ "manipulation"
1742
+ ] }],
1743
+ "touch-x": [{ "touch-pan": [
1744
+ "x",
1745
+ "left",
1746
+ "right"
1747
+ ] }],
1748
+ "touch-y": [{ "touch-pan": [
1749
+ "y",
1750
+ "up",
1751
+ "down"
1752
+ ] }],
1753
+ "touch-pz": ["touch-pinch-zoom"],
1754
+ select: [{ select: [
1755
+ "none",
1756
+ "text",
1757
+ "all",
1758
+ "auto"
1759
+ ] }],
1760
+ "will-change": [{ "will-change": [
1761
+ "auto",
1762
+ "scroll",
1763
+ "contents",
1764
+ "transform",
1765
+ isArbitraryVariable,
1766
+ isArbitraryValue
1767
+ ] }],
1768
+ fill: [{ fill: ["none", ...scaleColor()] }],
1769
+ "stroke-w": [{ stroke: [
1770
+ isNumber,
1771
+ isArbitraryVariableLength,
1772
+ isArbitraryLength,
1773
+ isArbitraryNumber
1774
+ ] }],
1775
+ stroke: [{ stroke: ["none", ...scaleColor()] }],
1776
+ "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
1777
+ },
1778
+ conflictingClassGroups: {
1779
+ overflow: ["overflow-x", "overflow-y"],
1780
+ overscroll: ["overscroll-x", "overscroll-y"],
1781
+ inset: [
1782
+ "inset-x",
1783
+ "inset-y",
1784
+ "inset-bs",
1785
+ "inset-be",
1786
+ "start",
1787
+ "end",
1788
+ "top",
1789
+ "right",
1790
+ "bottom",
1791
+ "left"
1792
+ ],
1793
+ "inset-x": ["right", "left"],
1794
+ "inset-y": ["top", "bottom"],
1795
+ flex: [
1796
+ "basis",
1797
+ "grow",
1798
+ "shrink"
1799
+ ],
1800
+ gap: ["gap-x", "gap-y"],
1801
+ p: [
1802
+ "px",
1803
+ "py",
1804
+ "ps",
1805
+ "pe",
1806
+ "pbs",
1807
+ "pbe",
1808
+ "pt",
1809
+ "pr",
1810
+ "pb",
1811
+ "pl"
1812
+ ],
1813
+ px: ["pr", "pl"],
1814
+ py: ["pt", "pb"],
1815
+ m: [
1816
+ "mx",
1817
+ "my",
1818
+ "ms",
1819
+ "me",
1820
+ "mbs",
1821
+ "mbe",
1822
+ "mt",
1823
+ "mr",
1824
+ "mb",
1825
+ "ml"
1826
+ ],
1827
+ mx: ["mr", "ml"],
1828
+ my: ["mt", "mb"],
1829
+ size: ["w", "h"],
1830
+ "font-size": ["leading"],
1831
+ "fvn-normal": [
1832
+ "fvn-ordinal",
1833
+ "fvn-slashed-zero",
1834
+ "fvn-figure",
1835
+ "fvn-spacing",
1836
+ "fvn-fraction"
1837
+ ],
1838
+ "fvn-ordinal": ["fvn-normal"],
1839
+ "fvn-slashed-zero": ["fvn-normal"],
1840
+ "fvn-figure": ["fvn-normal"],
1841
+ "fvn-spacing": ["fvn-normal"],
1842
+ "fvn-fraction": ["fvn-normal"],
1843
+ "line-clamp": ["display", "overflow"],
1844
+ rounded: [
1845
+ "rounded-s",
1846
+ "rounded-e",
1847
+ "rounded-t",
1848
+ "rounded-r",
1849
+ "rounded-b",
1850
+ "rounded-l",
1851
+ "rounded-ss",
1852
+ "rounded-se",
1853
+ "rounded-ee",
1854
+ "rounded-es",
1855
+ "rounded-tl",
1856
+ "rounded-tr",
1857
+ "rounded-br",
1858
+ "rounded-bl"
1859
+ ],
1860
+ "rounded-s": ["rounded-ss", "rounded-es"],
1861
+ "rounded-e": ["rounded-se", "rounded-ee"],
1862
+ "rounded-t": ["rounded-tl", "rounded-tr"],
1863
+ "rounded-r": ["rounded-tr", "rounded-br"],
1864
+ "rounded-b": ["rounded-br", "rounded-bl"],
1865
+ "rounded-l": ["rounded-tl", "rounded-bl"],
1866
+ "border-spacing": ["border-spacing-x", "border-spacing-y"],
1867
+ "border-w": [
1868
+ "border-w-x",
1869
+ "border-w-y",
1870
+ "border-w-s",
1871
+ "border-w-e",
1872
+ "border-w-bs",
1873
+ "border-w-be",
1874
+ "border-w-t",
1875
+ "border-w-r",
1876
+ "border-w-b",
1877
+ "border-w-l"
1878
+ ],
1879
+ "border-w-x": ["border-w-r", "border-w-l"],
1880
+ "border-w-y": ["border-w-t", "border-w-b"],
1881
+ "border-color": [
1882
+ "border-color-x",
1883
+ "border-color-y",
1884
+ "border-color-s",
1885
+ "border-color-e",
1886
+ "border-color-bs",
1887
+ "border-color-be",
1888
+ "border-color-t",
1889
+ "border-color-r",
1890
+ "border-color-b",
1891
+ "border-color-l"
1892
+ ],
1893
+ "border-color-x": ["border-color-r", "border-color-l"],
1894
+ "border-color-y": ["border-color-t", "border-color-b"],
1895
+ translate: [
1896
+ "translate-x",
1897
+ "translate-y",
1898
+ "translate-none"
1899
+ ],
1900
+ "translate-none": [
1901
+ "translate",
1902
+ "translate-x",
1903
+ "translate-y",
1904
+ "translate-z"
1905
+ ],
1906
+ "scroll-m": [
1907
+ "scroll-mx",
1908
+ "scroll-my",
1909
+ "scroll-ms",
1910
+ "scroll-me",
1911
+ "scroll-mbs",
1912
+ "scroll-mbe",
1913
+ "scroll-mt",
1914
+ "scroll-mr",
1915
+ "scroll-mb",
1916
+ "scroll-ml"
1917
+ ],
1918
+ "scroll-mx": ["scroll-mr", "scroll-ml"],
1919
+ "scroll-my": ["scroll-mt", "scroll-mb"],
1920
+ "scroll-p": [
1921
+ "scroll-px",
1922
+ "scroll-py",
1923
+ "scroll-ps",
1924
+ "scroll-pe",
1925
+ "scroll-pbs",
1926
+ "scroll-pbe",
1927
+ "scroll-pt",
1928
+ "scroll-pr",
1929
+ "scroll-pb",
1930
+ "scroll-pl"
1931
+ ],
1932
+ "scroll-px": ["scroll-pr", "scroll-pl"],
1933
+ "scroll-py": ["scroll-pt", "scroll-pb"],
1934
+ touch: [
1935
+ "touch-x",
1936
+ "touch-y",
1937
+ "touch-pz"
1938
+ ],
1939
+ "touch-x": ["touch"],
1940
+ "touch-y": ["touch"],
1941
+ "touch-pz": ["touch"]
1942
+ },
1943
+ conflictingClassGroupModifiers: { "font-size": ["leading"] },
1944
+ orderSensitiveModifiers: [
1945
+ "*",
1946
+ "**",
1947
+ "after",
1948
+ "backdrop",
1949
+ "before",
1950
+ "details-content",
1951
+ "file",
1952
+ "first-letter",
1953
+ "first-line",
1954
+ "marker",
1955
+ "placeholder",
1956
+ "selection"
1957
+ ]
1958
+ };
1959
+ };
1960
+ var twMerge = /* @__PURE__ */ createTailwindMerge(getDefaultConfig);
1961
+ //#endregion
1962
+ export { twMerge as t };