@saar-ai/web-widget 0.5.0 → 0.6.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.
- package/dist/card-aspect.d.ts +58 -0
- package/dist/card-aspect.d.ts.map +1 -0
- package/dist/chunks/{host-widget-B0SkhMIs.js → host-widget-C0XT9lHX.js} +4301 -5756
- package/dist/chunks/{telemetry-Bw-3F_Zk.js → telemetry-BI_SEWTb.js} +104 -2
- package/dist/dock/dock-caption.d.ts +67 -0
- package/dist/dock/dock-caption.d.ts.map +1 -0
- package/dist/dock/dock-motion.d.ts +155 -0
- package/dist/dock/dock-motion.d.ts.map +1 -0
- package/dist/dock/dock-pill.d.ts +38 -0
- package/dist/dock/dock-pill.d.ts.map +1 -0
- package/dist/dock/dock-row.d.ts +120 -0
- package/dist/dock/dock-row.d.ts.map +1 -0
- package/dist/dock/dock-sheet.d.ts +89 -0
- package/dist/dock/dock-sheet.d.ts.map +1 -0
- package/dist/dock/dock-shelf.d.ts +38 -0
- package/dist/dock/dock-shelf.d.ts.map +1 -0
- package/dist/dock/dock-state.d.ts +221 -0
- package/dist/dock/dock-state.d.ts.map +1 -0
- package/dist/dock/dock.d.ts +344 -0
- package/dist/dock/dock.d.ts.map +1 -0
- package/dist/dock/geometry.d.ts +161 -0
- package/dist/dock/geometry.d.ts.map +1 -0
- package/dist/generated/widget-css.d.ts.map +1 -1
- package/dist/host-widget.d.ts +94 -16
- package/dist/host-widget.d.ts.map +1 -1
- package/dist/index.d.ts +7 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4029 -7
- package/dist/messages.d.ts +69 -0
- package/dist/messages.d.ts.map +1 -1
- package/dist/next/index.js +1 -1
- package/dist/session-log.d.ts +7 -0
- package/dist/session-log.d.ts.map +1 -1
- package/dist/session-panel.d.ts +13 -3
- package/dist/session-panel.d.ts.map +1 -1
- package/dist/theme/color.d.ts +114 -0
- package/dist/theme/color.d.ts.map +1 -0
- package/dist/theme/derive.d.ts +92 -0
- package/dist/theme/derive.d.ts.map +1 -0
- package/dist/theme/index.d.ts +10 -0
- package/dist/theme/index.d.ts.map +1 -0
- package/dist/use-chat-session.d.ts +18 -16
- package/dist/use-chat-session.d.ts.map +1 -1
- package/dist/use-voice-session.d.ts +79 -3
- package/dist/use-voice-session.d.ts.map +1 -1
- package/dist/voice-widget.d.ts +49 -19
- package/dist/voice-widget.d.ts.map +1 -1
- package/dist/widget-cards.d.ts +28 -1
- package/dist/widget-cards.d.ts.map +1 -1
- package/dist/widget.css +1 -1
- package/package.json +4 -4
- package/src/styles/concierge.css +758 -28
- package/src/styles/tokens.css +67 -0
- package/dist/concierge-launcher.d.ts +0 -53
- package/dist/concierge-launcher.d.ts.map +0 -1
- package/dist/concierge-shell.d.ts +0 -256
- package/dist/concierge-shell.d.ts.map +0 -1
- package/dist/position.d.ts +0 -65
- package/dist/position.d.ts.map +0 -1
- package/dist/transcript-geometry.d.ts +0 -220
- package/dist/transcript-geometry.d.ts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,4011 @@
|
|
|
1
|
-
import { A as
|
|
1
|
+
import { $ as SHEET_PEEK_MAX, A as Dock, At as srgbToLinear, B as DESKTOP_GUTTER, C as IDLE_SNAPSHOT, Ct as oklabToLinearRgb, D as SessionLog, Dt as parseHex, E as SESSION_EVENTS, Et as oklchToOklab, F as ACTIVITY_W, Ft as widgetMessagesFromCopy, G as PILL_H, H as DOCK_MINIMISED_STORAGE_KEY, I as BOTTOM_FLOOR, J as RADII, K as PILL_MARK, L as CONTROL, M as deriveDockState, Mt as defaultWidgetMessages, N as idleDockInput, Nt as formatMessage, O as formatMs, Ot as relativeLuminance, P as formatMoney, Pt as resolveWidgetMessages, Q as SHEET_GAP, R as DESKTOP_BOTTOM, S as parseBlocks, St as oklabToHex, T as SseFrameParser, Tt as oklchToHex, U as MARK, V as DESKTOP_WIDTHS, W as MOBILE_MARGIN, X as SHEET_EXPANDED_DESKTOP_MAX, Y as ROW_H, Z as SHEET_EXPANDED_VH, _ as readsAsCheckoutIntent, _t as hexToOklab, a as mergeAddedCartLine, at as pillAnchor, b as WidgetCardList, bt as linearToSrgb, c as toChatCart, ct as CARD_RADIUS_MAX_PX, d as useVoiceSession, dt as WIDGET_THEME_TOKENS, et as SHEET_TOP_CLEARANCE, f as useChatSession, ft as deriveTheme, g as readsAsCartViewIntent, gt as formatHex, h as basketIntentFromTurns, ht as contrastRatio, i as deriveCallPhase, it as geometryVars, j as DOCK_STATES, jt as withAlpha, k as latencyBetween, kt as rotateHue, l as ROOM_EVENTS, lt as SHEET_RADIUS_MAX_PX, m as VoiceWidget, mt as themeToInlineStyle, n as MAX_REPORTED_CART_LINES, nt as Z_INDEX, o as resolveAddToCartHandler, ot as rowWidthLen, pt as themeToCss, q as PROACTIVE_NUDGE_MS, r as cartLinesFromSnapshot, rt as bottomLen, s as resolveCheckoutUrl, st as sheetMaxHeightLen, t as ConciergeWidget, tt as SHORT_VIEWPORT, u as createWidgetVoiceTokenFetcher, ut as SYSTEM_FONT_STACK, v as textDirectionFor, vt as hexToOklch, w as botStateFor, wt as oklabToOklch, x as WidgetMarkdown, xt as mixToward, y as WidgetCartSummary, yt as linearRgbToOklab, z as DESKTOP_BREAKPOINT } from "./chunks/host-widget-C0XT9lHX.js";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Component, createElement } from "react";
|
|
3
|
+
import { Component, createElement, useEffect, useId, useRef, useState } from "react";
|
|
4
4
|
import { createRoot } from "react-dom/client";
|
|
5
|
+
//#region ../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
6
|
+
function r(e) {
|
|
7
|
+
var t, f, n = "";
|
|
8
|
+
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
9
|
+
else if ("object" == typeof e) if (Array.isArray(e)) {
|
|
10
|
+
var o = e.length;
|
|
11
|
+
for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
|
|
12
|
+
} else for (f in e) e[f] && (n && (n += " "), n += f);
|
|
13
|
+
return n;
|
|
14
|
+
}
|
|
15
|
+
function clsx() {
|
|
16
|
+
for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
|
|
17
|
+
return n;
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
//#region ../../node_modules/.pnpm/tailwind-merge@3.6.0/node_modules/tailwind-merge/dist/bundle-mjs.mjs
|
|
21
|
+
/**
|
|
22
|
+
* Concatenates two arrays faster than the array spread operator.
|
|
23
|
+
*/
|
|
24
|
+
var concatArrays = (array1, array2) => {
|
|
25
|
+
const combinedArray = new Array(array1.length + array2.length);
|
|
26
|
+
for (let i = 0; i < array1.length; i++) combinedArray[i] = array1[i];
|
|
27
|
+
for (let i = 0; i < array2.length; i++) combinedArray[array1.length + i] = array2[i];
|
|
28
|
+
return combinedArray;
|
|
29
|
+
};
|
|
30
|
+
var createClassValidatorObject = (classGroupId, validator) => ({
|
|
31
|
+
classGroupId,
|
|
32
|
+
validator
|
|
33
|
+
});
|
|
34
|
+
var createClassPartObject = (nextPart = /* @__PURE__ */ new Map(), validators = null, classGroupId) => ({
|
|
35
|
+
nextPart,
|
|
36
|
+
validators,
|
|
37
|
+
classGroupId
|
|
38
|
+
});
|
|
39
|
+
var CLASS_PART_SEPARATOR = "-";
|
|
40
|
+
var EMPTY_CONFLICTS = [];
|
|
41
|
+
var ARBITRARY_PROPERTY_PREFIX = "arbitrary..";
|
|
42
|
+
var createClassGroupUtils = (config) => {
|
|
43
|
+
const classMap = createClassMap(config);
|
|
44
|
+
const { conflictingClassGroups, conflictingClassGroupModifiers } = config;
|
|
45
|
+
const getClassGroupId = (className) => {
|
|
46
|
+
if (className.startsWith("[") && className.endsWith("]")) return getGroupIdForArbitraryProperty(className);
|
|
47
|
+
const classParts = className.split(CLASS_PART_SEPARATOR);
|
|
48
|
+
return getGroupRecursive(classParts, classParts[0] === "" && classParts.length > 1 ? 1 : 0, classMap);
|
|
49
|
+
};
|
|
50
|
+
const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
|
|
51
|
+
if (hasPostfixModifier) {
|
|
52
|
+
const modifierConflicts = conflictingClassGroupModifiers[classGroupId];
|
|
53
|
+
const baseConflicts = conflictingClassGroups[classGroupId];
|
|
54
|
+
if (modifierConflicts) {
|
|
55
|
+
if (baseConflicts) return concatArrays(baseConflicts, modifierConflicts);
|
|
56
|
+
return modifierConflicts;
|
|
57
|
+
}
|
|
58
|
+
return baseConflicts || EMPTY_CONFLICTS;
|
|
59
|
+
}
|
|
60
|
+
return conflictingClassGroups[classGroupId] || EMPTY_CONFLICTS;
|
|
61
|
+
};
|
|
62
|
+
return {
|
|
63
|
+
getClassGroupId,
|
|
64
|
+
getConflictingClassGroupIds
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
var getGroupRecursive = (classParts, startIndex, classPartObject) => {
|
|
68
|
+
if (classParts.length - startIndex === 0) return classPartObject.classGroupId;
|
|
69
|
+
const currentClassPart = classParts[startIndex];
|
|
70
|
+
const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
|
|
71
|
+
if (nextClassPartObject) {
|
|
72
|
+
const result = getGroupRecursive(classParts, startIndex + 1, nextClassPartObject);
|
|
73
|
+
if (result) return result;
|
|
74
|
+
}
|
|
75
|
+
const validators = classPartObject.validators;
|
|
76
|
+
if (validators === null) return;
|
|
77
|
+
const classRest = startIndex === 0 ? classParts.join(CLASS_PART_SEPARATOR) : classParts.slice(startIndex).join(CLASS_PART_SEPARATOR);
|
|
78
|
+
const validatorsLength = validators.length;
|
|
79
|
+
for (let i = 0; i < validatorsLength; i++) {
|
|
80
|
+
const validatorObj = validators[i];
|
|
81
|
+
if (validatorObj.validator(classRest)) return validatorObj.classGroupId;
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Get the class group ID for an arbitrary property.
|
|
86
|
+
*
|
|
87
|
+
* @param className - The class name to get the group ID for. Is expected to be string starting with `[` and ending with `]`.
|
|
88
|
+
*/
|
|
89
|
+
var getGroupIdForArbitraryProperty = (className) => className.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
90
|
+
const content = className.slice(1, -1);
|
|
91
|
+
const colonIndex = content.indexOf(":");
|
|
92
|
+
const property = content.slice(0, colonIndex);
|
|
93
|
+
return property ? ARBITRARY_PROPERTY_PREFIX + property : void 0;
|
|
94
|
+
})();
|
|
95
|
+
/**
|
|
96
|
+
* Exported for testing only
|
|
97
|
+
*/
|
|
98
|
+
var createClassMap = (config) => {
|
|
99
|
+
const { theme, classGroups } = config;
|
|
100
|
+
return processClassGroups(classGroups, theme);
|
|
101
|
+
};
|
|
102
|
+
var processClassGroups = (classGroups, theme) => {
|
|
103
|
+
const classMap = createClassPartObject();
|
|
104
|
+
for (const classGroupId in classGroups) {
|
|
105
|
+
const group = classGroups[classGroupId];
|
|
106
|
+
processClassesRecursively(group, classMap, classGroupId, theme);
|
|
107
|
+
}
|
|
108
|
+
return classMap;
|
|
109
|
+
};
|
|
110
|
+
var processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {
|
|
111
|
+
const len = classGroup.length;
|
|
112
|
+
for (let i = 0; i < len; i++) {
|
|
113
|
+
const classDefinition = classGroup[i];
|
|
114
|
+
processClassDefinition(classDefinition, classPartObject, classGroupId, theme);
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
var processClassDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
|
|
118
|
+
if (typeof classDefinition === "string") {
|
|
119
|
+
processStringDefinition(classDefinition, classPartObject, classGroupId);
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
122
|
+
if (typeof classDefinition === "function") {
|
|
123
|
+
processFunctionDefinition(classDefinition, classPartObject, classGroupId, theme);
|
|
124
|
+
return;
|
|
125
|
+
}
|
|
126
|
+
processObjectDefinition(classDefinition, classPartObject, classGroupId, theme);
|
|
127
|
+
};
|
|
128
|
+
var processStringDefinition = (classDefinition, classPartObject, classGroupId) => {
|
|
129
|
+
const classPartObjectToEdit = classDefinition === "" ? classPartObject : getPart(classPartObject, classDefinition);
|
|
130
|
+
classPartObjectToEdit.classGroupId = classGroupId;
|
|
131
|
+
};
|
|
132
|
+
var processFunctionDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
|
|
133
|
+
if (isThemeGetter(classDefinition)) {
|
|
134
|
+
processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
|
|
135
|
+
return;
|
|
136
|
+
}
|
|
137
|
+
if (classPartObject.validators === null) classPartObject.validators = [];
|
|
138
|
+
classPartObject.validators.push(createClassValidatorObject(classGroupId, classDefinition));
|
|
139
|
+
};
|
|
140
|
+
var processObjectDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
|
|
141
|
+
const entries = Object.entries(classDefinition);
|
|
142
|
+
const len = entries.length;
|
|
143
|
+
for (let i = 0; i < len; i++) {
|
|
144
|
+
const [key, value] = entries[i];
|
|
145
|
+
processClassesRecursively(value, getPart(classPartObject, key), classGroupId, theme);
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
var getPart = (classPartObject, path) => {
|
|
149
|
+
let current = classPartObject;
|
|
150
|
+
const parts = path.split(CLASS_PART_SEPARATOR);
|
|
151
|
+
const len = parts.length;
|
|
152
|
+
for (let i = 0; i < len; i++) {
|
|
153
|
+
const part = parts[i];
|
|
154
|
+
let next = current.nextPart.get(part);
|
|
155
|
+
if (!next) {
|
|
156
|
+
next = createClassPartObject();
|
|
157
|
+
current.nextPart.set(part, next);
|
|
158
|
+
}
|
|
159
|
+
current = next;
|
|
160
|
+
}
|
|
161
|
+
return current;
|
|
162
|
+
};
|
|
163
|
+
var isThemeGetter = (func) => "isThemeGetter" in func && func.isThemeGetter === true;
|
|
164
|
+
var createLruCache = (maxCacheSize) => {
|
|
165
|
+
if (maxCacheSize < 1) return {
|
|
166
|
+
get: () => void 0,
|
|
167
|
+
set: () => {}
|
|
168
|
+
};
|
|
169
|
+
let cacheSize = 0;
|
|
170
|
+
let cache = Object.create(null);
|
|
171
|
+
let previousCache = Object.create(null);
|
|
172
|
+
const update = (key, value) => {
|
|
173
|
+
cache[key] = value;
|
|
174
|
+
cacheSize++;
|
|
175
|
+
if (cacheSize > maxCacheSize) {
|
|
176
|
+
cacheSize = 0;
|
|
177
|
+
previousCache = cache;
|
|
178
|
+
cache = Object.create(null);
|
|
179
|
+
}
|
|
180
|
+
};
|
|
181
|
+
return {
|
|
182
|
+
get(key) {
|
|
183
|
+
let value = cache[key];
|
|
184
|
+
if (value !== void 0) return value;
|
|
185
|
+
if ((value = previousCache[key]) !== void 0) {
|
|
186
|
+
update(key, value);
|
|
187
|
+
return value;
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
set(key, value) {
|
|
191
|
+
if (key in cache) cache[key] = value;
|
|
192
|
+
else update(key, value);
|
|
193
|
+
}
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
var IMPORTANT_MODIFIER = "!";
|
|
197
|
+
var MODIFIER_SEPARATOR = ":";
|
|
198
|
+
var EMPTY_MODIFIERS = [];
|
|
199
|
+
var createResultObject = (modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition, isExternal) => ({
|
|
200
|
+
modifiers,
|
|
201
|
+
hasImportantModifier,
|
|
202
|
+
baseClassName,
|
|
203
|
+
maybePostfixModifierPosition,
|
|
204
|
+
isExternal
|
|
205
|
+
});
|
|
206
|
+
var createParseClassName = (config) => {
|
|
207
|
+
const { prefix, experimentalParseClassName } = config;
|
|
208
|
+
/**
|
|
209
|
+
* Parse class name into parts.
|
|
210
|
+
*
|
|
211
|
+
* Inspired by `splitAtTopLevelOnly` used in Tailwind CSS
|
|
212
|
+
* @see https://github.com/tailwindlabs/tailwindcss/blob/v3.2.2/src/util/splitAtTopLevelOnly.js
|
|
213
|
+
*/
|
|
214
|
+
let parseClassName = (className) => {
|
|
215
|
+
const modifiers = [];
|
|
216
|
+
let bracketDepth = 0;
|
|
217
|
+
let parenDepth = 0;
|
|
218
|
+
let modifierStart = 0;
|
|
219
|
+
let postfixModifierPosition;
|
|
220
|
+
const len = className.length;
|
|
221
|
+
for (let index = 0; index < len; index++) {
|
|
222
|
+
const currentCharacter = className[index];
|
|
223
|
+
if (bracketDepth === 0 && parenDepth === 0) {
|
|
224
|
+
if (currentCharacter === MODIFIER_SEPARATOR) {
|
|
225
|
+
modifiers.push(className.slice(modifierStart, index));
|
|
226
|
+
modifierStart = index + 1;
|
|
227
|
+
continue;
|
|
228
|
+
}
|
|
229
|
+
if (currentCharacter === "/") {
|
|
230
|
+
postfixModifierPosition = index;
|
|
231
|
+
continue;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
if (currentCharacter === "[") bracketDepth++;
|
|
235
|
+
else if (currentCharacter === "]") bracketDepth--;
|
|
236
|
+
else if (currentCharacter === "(") parenDepth++;
|
|
237
|
+
else if (currentCharacter === ")") parenDepth--;
|
|
238
|
+
}
|
|
239
|
+
const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.slice(modifierStart);
|
|
240
|
+
let baseClassName = baseClassNameWithImportantModifier;
|
|
241
|
+
let hasImportantModifier = false;
|
|
242
|
+
if (baseClassNameWithImportantModifier.endsWith(IMPORTANT_MODIFIER)) {
|
|
243
|
+
baseClassName = baseClassNameWithImportantModifier.slice(0, -1);
|
|
244
|
+
hasImportantModifier = true;
|
|
245
|
+
} else if (baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER)) {
|
|
246
|
+
baseClassName = baseClassNameWithImportantModifier.slice(1);
|
|
247
|
+
hasImportantModifier = true;
|
|
248
|
+
}
|
|
249
|
+
const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : void 0;
|
|
250
|
+
return createResultObject(modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition);
|
|
251
|
+
};
|
|
252
|
+
if (prefix) {
|
|
253
|
+
const fullPrefix = prefix + MODIFIER_SEPARATOR;
|
|
254
|
+
const parseClassNameOriginal = parseClassName;
|
|
255
|
+
parseClassName = (className) => className.startsWith(fullPrefix) ? parseClassNameOriginal(className.slice(fullPrefix.length)) : createResultObject(EMPTY_MODIFIERS, false, className, void 0, true);
|
|
256
|
+
}
|
|
257
|
+
if (experimentalParseClassName) {
|
|
258
|
+
const parseClassNameOriginal = parseClassName;
|
|
259
|
+
parseClassName = (className) => experimentalParseClassName({
|
|
260
|
+
className,
|
|
261
|
+
parseClassName: parseClassNameOriginal
|
|
262
|
+
});
|
|
263
|
+
}
|
|
264
|
+
return parseClassName;
|
|
265
|
+
};
|
|
266
|
+
/**
|
|
267
|
+
* Sorts modifiers according to following schema:
|
|
268
|
+
* - Predefined modifiers are sorted alphabetically
|
|
269
|
+
* - When an arbitrary variant appears, it must be preserved which modifiers are before and after it
|
|
270
|
+
*/
|
|
271
|
+
var createSortModifiers = (config) => {
|
|
272
|
+
const modifierWeights = /* @__PURE__ */ new Map();
|
|
273
|
+
config.orderSensitiveModifiers.forEach((mod, index) => {
|
|
274
|
+
modifierWeights.set(mod, 1e6 + index);
|
|
275
|
+
});
|
|
276
|
+
return (modifiers) => {
|
|
277
|
+
const result = [];
|
|
278
|
+
let currentSegment = [];
|
|
279
|
+
for (let i = 0; i < modifiers.length; i++) {
|
|
280
|
+
const modifier = modifiers[i];
|
|
281
|
+
const isArbitrary = modifier[0] === "[";
|
|
282
|
+
const isOrderSensitive = modifierWeights.has(modifier);
|
|
283
|
+
if (isArbitrary || isOrderSensitive) {
|
|
284
|
+
if (currentSegment.length > 0) {
|
|
285
|
+
currentSegment.sort();
|
|
286
|
+
result.push(...currentSegment);
|
|
287
|
+
currentSegment = [];
|
|
288
|
+
}
|
|
289
|
+
result.push(modifier);
|
|
290
|
+
} else currentSegment.push(modifier);
|
|
291
|
+
}
|
|
292
|
+
if (currentSegment.length > 0) {
|
|
293
|
+
currentSegment.sort();
|
|
294
|
+
result.push(...currentSegment);
|
|
295
|
+
}
|
|
296
|
+
return result;
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
var createConfigUtils = (config) => ({
|
|
300
|
+
cache: createLruCache(config.cacheSize),
|
|
301
|
+
parseClassName: createParseClassName(config),
|
|
302
|
+
sortModifiers: createSortModifiers(config),
|
|
303
|
+
postfixLookupClassGroupIds: createPostfixLookupClassGroupIds(config),
|
|
304
|
+
...createClassGroupUtils(config)
|
|
305
|
+
});
|
|
306
|
+
var createPostfixLookupClassGroupIds = (config) => {
|
|
307
|
+
const lookup = Object.create(null);
|
|
308
|
+
const classGroupIds = config.postfixLookupClassGroups;
|
|
309
|
+
if (classGroupIds) for (let i = 0; i < classGroupIds.length; i++) lookup[classGroupIds[i]] = true;
|
|
310
|
+
return lookup;
|
|
311
|
+
};
|
|
312
|
+
var SPLIT_CLASSES_REGEX = /\s+/;
|
|
313
|
+
var mergeClassList = (classList, configUtils) => {
|
|
314
|
+
const { parseClassName, getClassGroupId, getConflictingClassGroupIds, sortModifiers, postfixLookupClassGroupIds } = configUtils;
|
|
315
|
+
/**
|
|
316
|
+
* Set of classGroupIds in following format:
|
|
317
|
+
* `{importantModifier}{variantModifiers}{classGroupId}`
|
|
318
|
+
* @example 'float'
|
|
319
|
+
* @example 'hover:focus:bg-color'
|
|
320
|
+
* @example 'md:!pr'
|
|
321
|
+
*/
|
|
322
|
+
const classGroupsInConflict = [];
|
|
323
|
+
const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
|
|
324
|
+
let result = "";
|
|
325
|
+
for (let index = classNames.length - 1; index >= 0; index -= 1) {
|
|
326
|
+
const originalClassName = classNames[index];
|
|
327
|
+
const { isExternal, modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition } = parseClassName(originalClassName);
|
|
328
|
+
if (isExternal) {
|
|
329
|
+
result = originalClassName + (result.length > 0 ? " " + result : result);
|
|
330
|
+
continue;
|
|
331
|
+
}
|
|
332
|
+
let hasPostfixModifier = !!maybePostfixModifierPosition;
|
|
333
|
+
let classGroupId;
|
|
334
|
+
if (hasPostfixModifier) {
|
|
335
|
+
classGroupId = getClassGroupId(baseClassName.substring(0, maybePostfixModifierPosition));
|
|
336
|
+
const classGroupIdWithPostfix = classGroupId && postfixLookupClassGroupIds[classGroupId] ? getClassGroupId(baseClassName) : void 0;
|
|
337
|
+
if (classGroupIdWithPostfix && classGroupIdWithPostfix !== classGroupId) {
|
|
338
|
+
classGroupId = classGroupIdWithPostfix;
|
|
339
|
+
hasPostfixModifier = false;
|
|
340
|
+
}
|
|
341
|
+
} else classGroupId = getClassGroupId(baseClassName);
|
|
342
|
+
if (!classGroupId) {
|
|
343
|
+
if (!hasPostfixModifier) {
|
|
344
|
+
result = originalClassName + (result.length > 0 ? " " + result : result);
|
|
345
|
+
continue;
|
|
346
|
+
}
|
|
347
|
+
classGroupId = getClassGroupId(baseClassName);
|
|
348
|
+
if (!classGroupId) {
|
|
349
|
+
result = originalClassName + (result.length > 0 ? " " + result : result);
|
|
350
|
+
continue;
|
|
351
|
+
}
|
|
352
|
+
hasPostfixModifier = false;
|
|
353
|
+
}
|
|
354
|
+
const variantModifier = modifiers.length === 0 ? "" : modifiers.length === 1 ? modifiers[0] : sortModifiers(modifiers).join(":");
|
|
355
|
+
const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
|
|
356
|
+
const classId = modifierId + classGroupId;
|
|
357
|
+
if (classGroupsInConflict.indexOf(classId) > -1) continue;
|
|
358
|
+
classGroupsInConflict.push(classId);
|
|
359
|
+
const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
|
|
360
|
+
for (let i = 0; i < conflictGroups.length; ++i) {
|
|
361
|
+
const group = conflictGroups[i];
|
|
362
|
+
classGroupsInConflict.push(modifierId + group);
|
|
363
|
+
}
|
|
364
|
+
result = originalClassName + (result.length > 0 ? " " + result : result);
|
|
365
|
+
}
|
|
366
|
+
return result;
|
|
367
|
+
};
|
|
368
|
+
/**
|
|
369
|
+
* The code in this file is copied from https://github.com/lukeed/clsx and modified to suit the needs of tailwind-merge better.
|
|
370
|
+
*
|
|
371
|
+
* Specifically:
|
|
372
|
+
* - Runtime code from https://github.com/lukeed/clsx/blob/v1.2.1/src/index.js
|
|
373
|
+
* - TypeScript types from https://github.com/lukeed/clsx/blob/v1.2.1/clsx.d.ts
|
|
374
|
+
*
|
|
375
|
+
* Original code has MIT license: Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
|
|
376
|
+
*/
|
|
377
|
+
var twJoin = (...classLists) => {
|
|
378
|
+
let index = 0;
|
|
379
|
+
let argument;
|
|
380
|
+
let resolvedValue;
|
|
381
|
+
let string = "";
|
|
382
|
+
while (index < classLists.length) if (argument = classLists[index++]) {
|
|
383
|
+
if (resolvedValue = toValue(argument)) {
|
|
384
|
+
string && (string += " ");
|
|
385
|
+
string += resolvedValue;
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
return string;
|
|
389
|
+
};
|
|
390
|
+
var toValue = (mix) => {
|
|
391
|
+
if (typeof mix === "string") return mix;
|
|
392
|
+
let resolvedValue;
|
|
393
|
+
let string = "";
|
|
394
|
+
for (let k = 0; k < mix.length; k++) if (mix[k]) {
|
|
395
|
+
if (resolvedValue = toValue(mix[k])) {
|
|
396
|
+
string && (string += " ");
|
|
397
|
+
string += resolvedValue;
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
return string;
|
|
401
|
+
};
|
|
402
|
+
var createTailwindMerge = (createConfigFirst, ...createConfigRest) => {
|
|
403
|
+
let configUtils;
|
|
404
|
+
let cacheGet;
|
|
405
|
+
let cacheSet;
|
|
406
|
+
let functionToCall;
|
|
407
|
+
const initTailwindMerge = (classList) => {
|
|
408
|
+
configUtils = createConfigUtils(createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst()));
|
|
409
|
+
cacheGet = configUtils.cache.get;
|
|
410
|
+
cacheSet = configUtils.cache.set;
|
|
411
|
+
functionToCall = tailwindMerge;
|
|
412
|
+
return tailwindMerge(classList);
|
|
413
|
+
};
|
|
414
|
+
const tailwindMerge = (classList) => {
|
|
415
|
+
const cachedResult = cacheGet(classList);
|
|
416
|
+
if (cachedResult) return cachedResult;
|
|
417
|
+
const result = mergeClassList(classList, configUtils);
|
|
418
|
+
cacheSet(classList, result);
|
|
419
|
+
return result;
|
|
420
|
+
};
|
|
421
|
+
functionToCall = initTailwindMerge;
|
|
422
|
+
return (...args) => functionToCall(twJoin(...args));
|
|
423
|
+
};
|
|
424
|
+
var fallbackThemeArr = [];
|
|
425
|
+
var fromTheme = (key) => {
|
|
426
|
+
const themeGetter = (theme) => theme[key] || fallbackThemeArr;
|
|
427
|
+
themeGetter.isThemeGetter = true;
|
|
428
|
+
return themeGetter;
|
|
429
|
+
};
|
|
430
|
+
var arbitraryValueRegex = /^\[(?:(\w[\w-]*):)?(.+)\]$/i;
|
|
431
|
+
var arbitraryVariableRegex = /^\((?:(\w[\w-]*):)?(.+)\)$/i;
|
|
432
|
+
var fractionRegex = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/;
|
|
433
|
+
var tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
|
|
434
|
+
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$/;
|
|
435
|
+
var colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/;
|
|
436
|
+
var shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
|
|
437
|
+
var imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
|
|
438
|
+
var isFraction = (value) => fractionRegex.test(value);
|
|
439
|
+
var isNumber = (value) => !!value && !Number.isNaN(Number(value));
|
|
440
|
+
var isInteger = (value) => !!value && Number.isInteger(Number(value));
|
|
441
|
+
var isPercent = (value) => value.endsWith("%") && isNumber(value.slice(0, -1));
|
|
442
|
+
var isTshirtSize = (value) => tshirtUnitRegex.test(value);
|
|
443
|
+
var isAny = () => true;
|
|
444
|
+
var isLengthOnly = (value) => lengthUnitRegex.test(value) && !colorFunctionRegex.test(value);
|
|
445
|
+
var isNever = () => false;
|
|
446
|
+
var isShadow = (value) => shadowRegex.test(value);
|
|
447
|
+
var isImage = (value) => imageRegex.test(value);
|
|
448
|
+
var isAnyNonArbitrary = (value) => !isArbitraryValue(value) && !isArbitraryVariable(value);
|
|
449
|
+
var isNamedContainerQuery = (value) => value.startsWith("@container") && (value[10] === "/" && value[11] !== void 0 || value[11] === "s" && value[16] !== void 0 && value.startsWith("-size/", 10) || value[11] === "n" && value[18] !== void 0 && value.startsWith("-normal/", 10));
|
|
450
|
+
var isArbitrarySize = (value) => getIsArbitraryValue(value, isLabelSize, isNever);
|
|
451
|
+
var isArbitraryValue = (value) => arbitraryValueRegex.test(value);
|
|
452
|
+
var isArbitraryLength = (value) => getIsArbitraryValue(value, isLabelLength, isLengthOnly);
|
|
453
|
+
var isArbitraryNumber = (value) => getIsArbitraryValue(value, isLabelNumber, isNumber);
|
|
454
|
+
var isArbitraryWeight = (value) => getIsArbitraryValue(value, isLabelWeight, isAny);
|
|
455
|
+
var isArbitraryFamilyName = (value) => getIsArbitraryValue(value, isLabelFamilyName, isNever);
|
|
456
|
+
var isArbitraryPosition = (value) => getIsArbitraryValue(value, isLabelPosition, isNever);
|
|
457
|
+
var isArbitraryImage = (value) => getIsArbitraryValue(value, isLabelImage, isImage);
|
|
458
|
+
var isArbitraryShadow = (value) => getIsArbitraryValue(value, isLabelShadow, isShadow);
|
|
459
|
+
var isArbitraryVariable = (value) => arbitraryVariableRegex.test(value);
|
|
460
|
+
var isArbitraryVariableLength = (value) => getIsArbitraryVariable(value, isLabelLength);
|
|
461
|
+
var isArbitraryVariableFamilyName = (value) => getIsArbitraryVariable(value, isLabelFamilyName);
|
|
462
|
+
var isArbitraryVariablePosition = (value) => getIsArbitraryVariable(value, isLabelPosition);
|
|
463
|
+
var isArbitraryVariableSize = (value) => getIsArbitraryVariable(value, isLabelSize);
|
|
464
|
+
var isArbitraryVariableImage = (value) => getIsArbitraryVariable(value, isLabelImage);
|
|
465
|
+
var isArbitraryVariableShadow = (value) => getIsArbitraryVariable(value, isLabelShadow, true);
|
|
466
|
+
var isArbitraryVariableWeight = (value) => getIsArbitraryVariable(value, isLabelWeight, true);
|
|
467
|
+
var getIsArbitraryValue = (value, testLabel, testValue) => {
|
|
468
|
+
const result = arbitraryValueRegex.exec(value);
|
|
469
|
+
if (result) {
|
|
470
|
+
if (result[1]) return testLabel(result[1]);
|
|
471
|
+
return testValue(result[2]);
|
|
472
|
+
}
|
|
473
|
+
return false;
|
|
474
|
+
};
|
|
475
|
+
var getIsArbitraryVariable = (value, testLabel, shouldMatchNoLabel = false) => {
|
|
476
|
+
const result = arbitraryVariableRegex.exec(value);
|
|
477
|
+
if (result) {
|
|
478
|
+
if (result[1]) return testLabel(result[1]);
|
|
479
|
+
return shouldMatchNoLabel;
|
|
480
|
+
}
|
|
481
|
+
return false;
|
|
482
|
+
};
|
|
483
|
+
var isLabelPosition = (label) => label === "position" || label === "percentage";
|
|
484
|
+
var isLabelImage = (label) => label === "image" || label === "url";
|
|
485
|
+
var isLabelSize = (label) => label === "length" || label === "size" || label === "bg-size";
|
|
486
|
+
var isLabelLength = (label) => label === "length";
|
|
487
|
+
var isLabelNumber = (label) => label === "number";
|
|
488
|
+
var isLabelFamilyName = (label) => label === "family-name";
|
|
489
|
+
var isLabelWeight = (label) => label === "number" || label === "weight";
|
|
490
|
+
var isLabelShadow = (label) => label === "shadow";
|
|
491
|
+
var getDefaultConfig = () => {
|
|
492
|
+
/**
|
|
493
|
+
* Theme getters for theme variable namespaces
|
|
494
|
+
* @see https://tailwindcss.com/docs/theme#theme-variable-namespaces
|
|
495
|
+
*/
|
|
496
|
+
const themeColor = fromTheme("color");
|
|
497
|
+
const themeFont = fromTheme("font");
|
|
498
|
+
const themeText = fromTheme("text");
|
|
499
|
+
const themeFontWeight = fromTheme("font-weight");
|
|
500
|
+
const themeTracking = fromTheme("tracking");
|
|
501
|
+
const themeLeading = fromTheme("leading");
|
|
502
|
+
const themeBreakpoint = fromTheme("breakpoint");
|
|
503
|
+
const themeContainer = fromTheme("container");
|
|
504
|
+
const themeSpacing = fromTheme("spacing");
|
|
505
|
+
const themeRadius = fromTheme("radius");
|
|
506
|
+
const themeShadow = fromTheme("shadow");
|
|
507
|
+
const themeInsetShadow = fromTheme("inset-shadow");
|
|
508
|
+
const themeTextShadow = fromTheme("text-shadow");
|
|
509
|
+
const themeDropShadow = fromTheme("drop-shadow");
|
|
510
|
+
const themeBlur = fromTheme("blur");
|
|
511
|
+
const themePerspective = fromTheme("perspective");
|
|
512
|
+
const themeAspect = fromTheme("aspect");
|
|
513
|
+
const themeEase = fromTheme("ease");
|
|
514
|
+
const themeAnimate = fromTheme("animate");
|
|
515
|
+
/**
|
|
516
|
+
* Helpers to avoid repeating the same scales
|
|
517
|
+
*
|
|
518
|
+
* We use functions that create a new array every time they're called instead of static arrays.
|
|
519
|
+
* 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.
|
|
520
|
+
*/
|
|
521
|
+
const scaleBreak = () => [
|
|
522
|
+
"auto",
|
|
523
|
+
"avoid",
|
|
524
|
+
"all",
|
|
525
|
+
"avoid-page",
|
|
526
|
+
"page",
|
|
527
|
+
"left",
|
|
528
|
+
"right",
|
|
529
|
+
"column"
|
|
530
|
+
];
|
|
531
|
+
const scalePosition = () => [
|
|
532
|
+
"center",
|
|
533
|
+
"top",
|
|
534
|
+
"bottom",
|
|
535
|
+
"left",
|
|
536
|
+
"right",
|
|
537
|
+
"top-left",
|
|
538
|
+
"left-top",
|
|
539
|
+
"top-right",
|
|
540
|
+
"right-top",
|
|
541
|
+
"bottom-right",
|
|
542
|
+
"right-bottom",
|
|
543
|
+
"bottom-left",
|
|
544
|
+
"left-bottom"
|
|
545
|
+
];
|
|
546
|
+
const scalePositionWithArbitrary = () => [
|
|
547
|
+
...scalePosition(),
|
|
548
|
+
isArbitraryVariable,
|
|
549
|
+
isArbitraryValue
|
|
550
|
+
];
|
|
551
|
+
const scaleOverflow = () => [
|
|
552
|
+
"auto",
|
|
553
|
+
"hidden",
|
|
554
|
+
"clip",
|
|
555
|
+
"visible",
|
|
556
|
+
"scroll"
|
|
557
|
+
];
|
|
558
|
+
const scaleOverscroll = () => [
|
|
559
|
+
"auto",
|
|
560
|
+
"contain",
|
|
561
|
+
"none"
|
|
562
|
+
];
|
|
563
|
+
const scaleUnambiguousSpacing = () => [
|
|
564
|
+
isArbitraryVariable,
|
|
565
|
+
isArbitraryValue,
|
|
566
|
+
themeSpacing
|
|
567
|
+
];
|
|
568
|
+
const scaleInset = () => [
|
|
569
|
+
isFraction,
|
|
570
|
+
"full",
|
|
571
|
+
"auto",
|
|
572
|
+
...scaleUnambiguousSpacing()
|
|
573
|
+
];
|
|
574
|
+
const scaleGridTemplateColsRows = () => [
|
|
575
|
+
isInteger,
|
|
576
|
+
"none",
|
|
577
|
+
"subgrid",
|
|
578
|
+
isArbitraryVariable,
|
|
579
|
+
isArbitraryValue
|
|
580
|
+
];
|
|
581
|
+
const scaleGridColRowStartAndEnd = () => [
|
|
582
|
+
"auto",
|
|
583
|
+
{ span: [
|
|
584
|
+
"full",
|
|
585
|
+
isInteger,
|
|
586
|
+
isArbitraryVariable,
|
|
587
|
+
isArbitraryValue
|
|
588
|
+
] },
|
|
589
|
+
isInteger,
|
|
590
|
+
isArbitraryVariable,
|
|
591
|
+
isArbitraryValue
|
|
592
|
+
];
|
|
593
|
+
const scaleGridColRowStartOrEnd = () => [
|
|
594
|
+
isInteger,
|
|
595
|
+
"auto",
|
|
596
|
+
isArbitraryVariable,
|
|
597
|
+
isArbitraryValue
|
|
598
|
+
];
|
|
599
|
+
const scaleGridAutoColsRows = () => [
|
|
600
|
+
"auto",
|
|
601
|
+
"min",
|
|
602
|
+
"max",
|
|
603
|
+
"fr",
|
|
604
|
+
isArbitraryVariable,
|
|
605
|
+
isArbitraryValue
|
|
606
|
+
];
|
|
607
|
+
const scaleAlignPrimaryAxis = () => [
|
|
608
|
+
"start",
|
|
609
|
+
"end",
|
|
610
|
+
"center",
|
|
611
|
+
"between",
|
|
612
|
+
"around",
|
|
613
|
+
"evenly",
|
|
614
|
+
"stretch",
|
|
615
|
+
"baseline",
|
|
616
|
+
"center-safe",
|
|
617
|
+
"end-safe"
|
|
618
|
+
];
|
|
619
|
+
const scaleAlignSecondaryAxis = () => [
|
|
620
|
+
"start",
|
|
621
|
+
"end",
|
|
622
|
+
"center",
|
|
623
|
+
"stretch",
|
|
624
|
+
"center-safe",
|
|
625
|
+
"end-safe"
|
|
626
|
+
];
|
|
627
|
+
const scaleMargin = () => ["auto", ...scaleUnambiguousSpacing()];
|
|
628
|
+
const scaleSizing = () => [
|
|
629
|
+
isFraction,
|
|
630
|
+
"auto",
|
|
631
|
+
"full",
|
|
632
|
+
"dvw",
|
|
633
|
+
"dvh",
|
|
634
|
+
"lvw",
|
|
635
|
+
"lvh",
|
|
636
|
+
"svw",
|
|
637
|
+
"svh",
|
|
638
|
+
"min",
|
|
639
|
+
"max",
|
|
640
|
+
"fit",
|
|
641
|
+
...scaleUnambiguousSpacing()
|
|
642
|
+
];
|
|
643
|
+
const scaleSizingInline = () => [
|
|
644
|
+
isFraction,
|
|
645
|
+
"screen",
|
|
646
|
+
"full",
|
|
647
|
+
"dvw",
|
|
648
|
+
"lvw",
|
|
649
|
+
"svw",
|
|
650
|
+
"min",
|
|
651
|
+
"max",
|
|
652
|
+
"fit",
|
|
653
|
+
...scaleUnambiguousSpacing()
|
|
654
|
+
];
|
|
655
|
+
const scaleSizingBlock = () => [
|
|
656
|
+
isFraction,
|
|
657
|
+
"screen",
|
|
658
|
+
"full",
|
|
659
|
+
"lh",
|
|
660
|
+
"dvh",
|
|
661
|
+
"lvh",
|
|
662
|
+
"svh",
|
|
663
|
+
"min",
|
|
664
|
+
"max",
|
|
665
|
+
"fit",
|
|
666
|
+
...scaleUnambiguousSpacing()
|
|
667
|
+
];
|
|
668
|
+
const scaleColor = () => [
|
|
669
|
+
themeColor,
|
|
670
|
+
isArbitraryVariable,
|
|
671
|
+
isArbitraryValue
|
|
672
|
+
];
|
|
673
|
+
const scaleBgPosition = () => [
|
|
674
|
+
...scalePosition(),
|
|
675
|
+
isArbitraryVariablePosition,
|
|
676
|
+
isArbitraryPosition,
|
|
677
|
+
{ position: [isArbitraryVariable, isArbitraryValue] }
|
|
678
|
+
];
|
|
679
|
+
const scaleBgRepeat = () => ["no-repeat", { repeat: [
|
|
680
|
+
"",
|
|
681
|
+
"x",
|
|
682
|
+
"y",
|
|
683
|
+
"space",
|
|
684
|
+
"round"
|
|
685
|
+
] }];
|
|
686
|
+
const scaleBgSize = () => [
|
|
687
|
+
"auto",
|
|
688
|
+
"cover",
|
|
689
|
+
"contain",
|
|
690
|
+
isArbitraryVariableSize,
|
|
691
|
+
isArbitrarySize,
|
|
692
|
+
{ size: [isArbitraryVariable, isArbitraryValue] }
|
|
693
|
+
];
|
|
694
|
+
const scaleGradientStopPosition = () => [
|
|
695
|
+
isPercent,
|
|
696
|
+
isArbitraryVariableLength,
|
|
697
|
+
isArbitraryLength
|
|
698
|
+
];
|
|
699
|
+
const scaleRadius = () => [
|
|
700
|
+
"",
|
|
701
|
+
"none",
|
|
702
|
+
"full",
|
|
703
|
+
themeRadius,
|
|
704
|
+
isArbitraryVariable,
|
|
705
|
+
isArbitraryValue
|
|
706
|
+
];
|
|
707
|
+
const scaleBorderWidth = () => [
|
|
708
|
+
"",
|
|
709
|
+
isNumber,
|
|
710
|
+
isArbitraryVariableLength,
|
|
711
|
+
isArbitraryLength
|
|
712
|
+
];
|
|
713
|
+
const scaleLineStyle = () => [
|
|
714
|
+
"solid",
|
|
715
|
+
"dashed",
|
|
716
|
+
"dotted",
|
|
717
|
+
"double"
|
|
718
|
+
];
|
|
719
|
+
const scaleBlendMode = () => [
|
|
720
|
+
"normal",
|
|
721
|
+
"multiply",
|
|
722
|
+
"screen",
|
|
723
|
+
"overlay",
|
|
724
|
+
"darken",
|
|
725
|
+
"lighten",
|
|
726
|
+
"color-dodge",
|
|
727
|
+
"color-burn",
|
|
728
|
+
"hard-light",
|
|
729
|
+
"soft-light",
|
|
730
|
+
"difference",
|
|
731
|
+
"exclusion",
|
|
732
|
+
"hue",
|
|
733
|
+
"saturation",
|
|
734
|
+
"color",
|
|
735
|
+
"luminosity"
|
|
736
|
+
];
|
|
737
|
+
const scaleMaskImagePosition = () => [
|
|
738
|
+
isNumber,
|
|
739
|
+
isPercent,
|
|
740
|
+
isArbitraryVariablePosition,
|
|
741
|
+
isArbitraryPosition
|
|
742
|
+
];
|
|
743
|
+
const scaleBlur = () => [
|
|
744
|
+
"",
|
|
745
|
+
"none",
|
|
746
|
+
themeBlur,
|
|
747
|
+
isArbitraryVariable,
|
|
748
|
+
isArbitraryValue
|
|
749
|
+
];
|
|
750
|
+
const scaleRotate = () => [
|
|
751
|
+
"none",
|
|
752
|
+
isNumber,
|
|
753
|
+
isArbitraryVariable,
|
|
754
|
+
isArbitraryValue
|
|
755
|
+
];
|
|
756
|
+
const scaleScale = () => [
|
|
757
|
+
"none",
|
|
758
|
+
isNumber,
|
|
759
|
+
isArbitraryVariable,
|
|
760
|
+
isArbitraryValue
|
|
761
|
+
];
|
|
762
|
+
const scaleSkew = () => [
|
|
763
|
+
isNumber,
|
|
764
|
+
isArbitraryVariable,
|
|
765
|
+
isArbitraryValue
|
|
766
|
+
];
|
|
767
|
+
const scaleTranslate = () => [
|
|
768
|
+
isFraction,
|
|
769
|
+
"full",
|
|
770
|
+
...scaleUnambiguousSpacing()
|
|
771
|
+
];
|
|
772
|
+
return {
|
|
773
|
+
cacheSize: 500,
|
|
774
|
+
theme: {
|
|
775
|
+
animate: [
|
|
776
|
+
"spin",
|
|
777
|
+
"ping",
|
|
778
|
+
"pulse",
|
|
779
|
+
"bounce"
|
|
780
|
+
],
|
|
781
|
+
aspect: ["video"],
|
|
782
|
+
blur: [isTshirtSize],
|
|
783
|
+
breakpoint: [isTshirtSize],
|
|
784
|
+
color: [isAny],
|
|
785
|
+
container: [isTshirtSize],
|
|
786
|
+
"drop-shadow": [isTshirtSize],
|
|
787
|
+
ease: [
|
|
788
|
+
"in",
|
|
789
|
+
"out",
|
|
790
|
+
"in-out"
|
|
791
|
+
],
|
|
792
|
+
font: [isAnyNonArbitrary],
|
|
793
|
+
"font-weight": [
|
|
794
|
+
"thin",
|
|
795
|
+
"extralight",
|
|
796
|
+
"light",
|
|
797
|
+
"normal",
|
|
798
|
+
"medium",
|
|
799
|
+
"semibold",
|
|
800
|
+
"bold",
|
|
801
|
+
"extrabold",
|
|
802
|
+
"black"
|
|
803
|
+
],
|
|
804
|
+
"inset-shadow": [isTshirtSize],
|
|
805
|
+
leading: [
|
|
806
|
+
"none",
|
|
807
|
+
"tight",
|
|
808
|
+
"snug",
|
|
809
|
+
"normal",
|
|
810
|
+
"relaxed",
|
|
811
|
+
"loose"
|
|
812
|
+
],
|
|
813
|
+
perspective: [
|
|
814
|
+
"dramatic",
|
|
815
|
+
"near",
|
|
816
|
+
"normal",
|
|
817
|
+
"midrange",
|
|
818
|
+
"distant",
|
|
819
|
+
"none"
|
|
820
|
+
],
|
|
821
|
+
radius: [isTshirtSize],
|
|
822
|
+
shadow: [isTshirtSize],
|
|
823
|
+
spacing: ["px", isNumber],
|
|
824
|
+
text: [isTshirtSize],
|
|
825
|
+
"text-shadow": [isTshirtSize],
|
|
826
|
+
tracking: [
|
|
827
|
+
"tighter",
|
|
828
|
+
"tight",
|
|
829
|
+
"normal",
|
|
830
|
+
"wide",
|
|
831
|
+
"wider",
|
|
832
|
+
"widest"
|
|
833
|
+
]
|
|
834
|
+
},
|
|
835
|
+
classGroups: {
|
|
836
|
+
/**
|
|
837
|
+
* Aspect Ratio
|
|
838
|
+
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
839
|
+
*/
|
|
840
|
+
aspect: [{ aspect: [
|
|
841
|
+
"auto",
|
|
842
|
+
"square",
|
|
843
|
+
isFraction,
|
|
844
|
+
isArbitraryValue,
|
|
845
|
+
isArbitraryVariable,
|
|
846
|
+
themeAspect
|
|
847
|
+
] }],
|
|
848
|
+
/**
|
|
849
|
+
* Container
|
|
850
|
+
* @see https://tailwindcss.com/docs/container
|
|
851
|
+
* @deprecated since Tailwind CSS v4.0.0
|
|
852
|
+
*/
|
|
853
|
+
container: ["container"],
|
|
854
|
+
/**
|
|
855
|
+
* Container Type
|
|
856
|
+
* @see https://tailwindcss.com/docs/responsive-design#container-queries
|
|
857
|
+
*/
|
|
858
|
+
"container-type": [{ "@container": [
|
|
859
|
+
"",
|
|
860
|
+
"normal",
|
|
861
|
+
"size",
|
|
862
|
+
isArbitraryVariable,
|
|
863
|
+
isArbitraryValue
|
|
864
|
+
] }],
|
|
865
|
+
/**
|
|
866
|
+
* Container Name
|
|
867
|
+
* @see https://tailwindcss.com/docs/responsive-design#named-containers
|
|
868
|
+
*/
|
|
869
|
+
"container-named": [isNamedContainerQuery],
|
|
870
|
+
/**
|
|
871
|
+
* Columns
|
|
872
|
+
* @see https://tailwindcss.com/docs/columns
|
|
873
|
+
*/
|
|
874
|
+
columns: [{ columns: [
|
|
875
|
+
isNumber,
|
|
876
|
+
isArbitraryValue,
|
|
877
|
+
isArbitraryVariable,
|
|
878
|
+
themeContainer
|
|
879
|
+
] }],
|
|
880
|
+
/**
|
|
881
|
+
* Break After
|
|
882
|
+
* @see https://tailwindcss.com/docs/break-after
|
|
883
|
+
*/
|
|
884
|
+
"break-after": [{ "break-after": scaleBreak() }],
|
|
885
|
+
/**
|
|
886
|
+
* Break Before
|
|
887
|
+
* @see https://tailwindcss.com/docs/break-before
|
|
888
|
+
*/
|
|
889
|
+
"break-before": [{ "break-before": scaleBreak() }],
|
|
890
|
+
/**
|
|
891
|
+
* Break Inside
|
|
892
|
+
* @see https://tailwindcss.com/docs/break-inside
|
|
893
|
+
*/
|
|
894
|
+
"break-inside": [{ "break-inside": [
|
|
895
|
+
"auto",
|
|
896
|
+
"avoid",
|
|
897
|
+
"avoid-page",
|
|
898
|
+
"avoid-column"
|
|
899
|
+
] }],
|
|
900
|
+
/**
|
|
901
|
+
* Box Decoration Break
|
|
902
|
+
* @see https://tailwindcss.com/docs/box-decoration-break
|
|
903
|
+
*/
|
|
904
|
+
"box-decoration": [{ "box-decoration": ["slice", "clone"] }],
|
|
905
|
+
/**
|
|
906
|
+
* Box Sizing
|
|
907
|
+
* @see https://tailwindcss.com/docs/box-sizing
|
|
908
|
+
*/
|
|
909
|
+
box: [{ box: ["border", "content"] }],
|
|
910
|
+
/**
|
|
911
|
+
* Display
|
|
912
|
+
* @see https://tailwindcss.com/docs/display
|
|
913
|
+
*/
|
|
914
|
+
display: [
|
|
915
|
+
"block",
|
|
916
|
+
"inline-block",
|
|
917
|
+
"inline",
|
|
918
|
+
"flex",
|
|
919
|
+
"inline-flex",
|
|
920
|
+
"table",
|
|
921
|
+
"inline-table",
|
|
922
|
+
"table-caption",
|
|
923
|
+
"table-cell",
|
|
924
|
+
"table-column",
|
|
925
|
+
"table-column-group",
|
|
926
|
+
"table-footer-group",
|
|
927
|
+
"table-header-group",
|
|
928
|
+
"table-row-group",
|
|
929
|
+
"table-row",
|
|
930
|
+
"flow-root",
|
|
931
|
+
"grid",
|
|
932
|
+
"inline-grid",
|
|
933
|
+
"contents",
|
|
934
|
+
"list-item",
|
|
935
|
+
"hidden"
|
|
936
|
+
],
|
|
937
|
+
/**
|
|
938
|
+
* Screen Reader Only
|
|
939
|
+
* @see https://tailwindcss.com/docs/display#screen-reader-only
|
|
940
|
+
*/
|
|
941
|
+
sr: ["sr-only", "not-sr-only"],
|
|
942
|
+
/**
|
|
943
|
+
* Floats
|
|
944
|
+
* @see https://tailwindcss.com/docs/float
|
|
945
|
+
*/
|
|
946
|
+
float: [{ float: [
|
|
947
|
+
"right",
|
|
948
|
+
"left",
|
|
949
|
+
"none",
|
|
950
|
+
"start",
|
|
951
|
+
"end"
|
|
952
|
+
] }],
|
|
953
|
+
/**
|
|
954
|
+
* Clear
|
|
955
|
+
* @see https://tailwindcss.com/docs/clear
|
|
956
|
+
*/
|
|
957
|
+
clear: [{ clear: [
|
|
958
|
+
"left",
|
|
959
|
+
"right",
|
|
960
|
+
"both",
|
|
961
|
+
"none",
|
|
962
|
+
"start",
|
|
963
|
+
"end"
|
|
964
|
+
] }],
|
|
965
|
+
/**
|
|
966
|
+
* Isolation
|
|
967
|
+
* @see https://tailwindcss.com/docs/isolation
|
|
968
|
+
*/
|
|
969
|
+
isolation: ["isolate", "isolation-auto"],
|
|
970
|
+
/**
|
|
971
|
+
* Object Fit
|
|
972
|
+
* @see https://tailwindcss.com/docs/object-fit
|
|
973
|
+
*/
|
|
974
|
+
"object-fit": [{ object: [
|
|
975
|
+
"contain",
|
|
976
|
+
"cover",
|
|
977
|
+
"fill",
|
|
978
|
+
"none",
|
|
979
|
+
"scale-down"
|
|
980
|
+
] }],
|
|
981
|
+
/**
|
|
982
|
+
* Object Position
|
|
983
|
+
* @see https://tailwindcss.com/docs/object-position
|
|
984
|
+
*/
|
|
985
|
+
"object-position": [{ object: scalePositionWithArbitrary() }],
|
|
986
|
+
/**
|
|
987
|
+
* Overflow
|
|
988
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
989
|
+
*/
|
|
990
|
+
overflow: [{ overflow: scaleOverflow() }],
|
|
991
|
+
/**
|
|
992
|
+
* Overflow X
|
|
993
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
994
|
+
*/
|
|
995
|
+
"overflow-x": [{ "overflow-x": scaleOverflow() }],
|
|
996
|
+
/**
|
|
997
|
+
* Overflow Y
|
|
998
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
999
|
+
*/
|
|
1000
|
+
"overflow-y": [{ "overflow-y": scaleOverflow() }],
|
|
1001
|
+
/**
|
|
1002
|
+
* Overscroll Behavior
|
|
1003
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1004
|
+
*/
|
|
1005
|
+
overscroll: [{ overscroll: scaleOverscroll() }],
|
|
1006
|
+
/**
|
|
1007
|
+
* Overscroll Behavior X
|
|
1008
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1009
|
+
*/
|
|
1010
|
+
"overscroll-x": [{ "overscroll-x": scaleOverscroll() }],
|
|
1011
|
+
/**
|
|
1012
|
+
* Overscroll Behavior Y
|
|
1013
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1014
|
+
*/
|
|
1015
|
+
"overscroll-y": [{ "overscroll-y": scaleOverscroll() }],
|
|
1016
|
+
/**
|
|
1017
|
+
* Position
|
|
1018
|
+
* @see https://tailwindcss.com/docs/position
|
|
1019
|
+
*/
|
|
1020
|
+
position: [
|
|
1021
|
+
"static",
|
|
1022
|
+
"fixed",
|
|
1023
|
+
"absolute",
|
|
1024
|
+
"relative",
|
|
1025
|
+
"sticky"
|
|
1026
|
+
],
|
|
1027
|
+
/**
|
|
1028
|
+
* Inset
|
|
1029
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1030
|
+
*/
|
|
1031
|
+
inset: [{ inset: scaleInset() }],
|
|
1032
|
+
/**
|
|
1033
|
+
* Inset Inline
|
|
1034
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1035
|
+
*/
|
|
1036
|
+
"inset-x": [{ "inset-x": scaleInset() }],
|
|
1037
|
+
/**
|
|
1038
|
+
* Inset Block
|
|
1039
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1040
|
+
*/
|
|
1041
|
+
"inset-y": [{ "inset-y": scaleInset() }],
|
|
1042
|
+
/**
|
|
1043
|
+
* Inset Inline Start
|
|
1044
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1045
|
+
* @todo class group will be renamed to `inset-s` in next major release
|
|
1046
|
+
*/
|
|
1047
|
+
start: [{
|
|
1048
|
+
"inset-s": scaleInset(),
|
|
1049
|
+
/**
|
|
1050
|
+
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
|
|
1051
|
+
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
1052
|
+
*/
|
|
1053
|
+
start: scaleInset()
|
|
1054
|
+
}],
|
|
1055
|
+
/**
|
|
1056
|
+
* Inset Inline End
|
|
1057
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1058
|
+
* @todo class group will be renamed to `inset-e` in next major release
|
|
1059
|
+
*/
|
|
1060
|
+
end: [{
|
|
1061
|
+
"inset-e": scaleInset(),
|
|
1062
|
+
/**
|
|
1063
|
+
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
|
|
1064
|
+
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
1065
|
+
*/
|
|
1066
|
+
end: scaleInset()
|
|
1067
|
+
}],
|
|
1068
|
+
/**
|
|
1069
|
+
* Inset Block Start
|
|
1070
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1071
|
+
*/
|
|
1072
|
+
"inset-bs": [{ "inset-bs": scaleInset() }],
|
|
1073
|
+
/**
|
|
1074
|
+
* Inset Block End
|
|
1075
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1076
|
+
*/
|
|
1077
|
+
"inset-be": [{ "inset-be": scaleInset() }],
|
|
1078
|
+
/**
|
|
1079
|
+
* Top
|
|
1080
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1081
|
+
*/
|
|
1082
|
+
top: [{ top: scaleInset() }],
|
|
1083
|
+
/**
|
|
1084
|
+
* Right
|
|
1085
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1086
|
+
*/
|
|
1087
|
+
right: [{ right: scaleInset() }],
|
|
1088
|
+
/**
|
|
1089
|
+
* Bottom
|
|
1090
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1091
|
+
*/
|
|
1092
|
+
bottom: [{ bottom: scaleInset() }],
|
|
1093
|
+
/**
|
|
1094
|
+
* Left
|
|
1095
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1096
|
+
*/
|
|
1097
|
+
left: [{ left: scaleInset() }],
|
|
1098
|
+
/**
|
|
1099
|
+
* Visibility
|
|
1100
|
+
* @see https://tailwindcss.com/docs/visibility
|
|
1101
|
+
*/
|
|
1102
|
+
visibility: [
|
|
1103
|
+
"visible",
|
|
1104
|
+
"invisible",
|
|
1105
|
+
"collapse"
|
|
1106
|
+
],
|
|
1107
|
+
/**
|
|
1108
|
+
* Z-Index
|
|
1109
|
+
* @see https://tailwindcss.com/docs/z-index
|
|
1110
|
+
*/
|
|
1111
|
+
z: [{ z: [
|
|
1112
|
+
isInteger,
|
|
1113
|
+
"auto",
|
|
1114
|
+
isArbitraryVariable,
|
|
1115
|
+
isArbitraryValue
|
|
1116
|
+
] }],
|
|
1117
|
+
/**
|
|
1118
|
+
* Flex Basis
|
|
1119
|
+
* @see https://tailwindcss.com/docs/flex-basis
|
|
1120
|
+
*/
|
|
1121
|
+
basis: [{ basis: [
|
|
1122
|
+
isFraction,
|
|
1123
|
+
"full",
|
|
1124
|
+
"auto",
|
|
1125
|
+
themeContainer,
|
|
1126
|
+
...scaleUnambiguousSpacing()
|
|
1127
|
+
] }],
|
|
1128
|
+
/**
|
|
1129
|
+
* Flex Direction
|
|
1130
|
+
* @see https://tailwindcss.com/docs/flex-direction
|
|
1131
|
+
*/
|
|
1132
|
+
"flex-direction": [{ flex: [
|
|
1133
|
+
"row",
|
|
1134
|
+
"row-reverse",
|
|
1135
|
+
"col",
|
|
1136
|
+
"col-reverse"
|
|
1137
|
+
] }],
|
|
1138
|
+
/**
|
|
1139
|
+
* Flex Wrap
|
|
1140
|
+
* @see https://tailwindcss.com/docs/flex-wrap
|
|
1141
|
+
*/
|
|
1142
|
+
"flex-wrap": [{ flex: [
|
|
1143
|
+
"nowrap",
|
|
1144
|
+
"wrap",
|
|
1145
|
+
"wrap-reverse"
|
|
1146
|
+
] }],
|
|
1147
|
+
/**
|
|
1148
|
+
* Flex
|
|
1149
|
+
* @see https://tailwindcss.com/docs/flex
|
|
1150
|
+
*/
|
|
1151
|
+
flex: [{ flex: [
|
|
1152
|
+
isNumber,
|
|
1153
|
+
isFraction,
|
|
1154
|
+
"auto",
|
|
1155
|
+
"initial",
|
|
1156
|
+
"none",
|
|
1157
|
+
isArbitraryValue
|
|
1158
|
+
] }],
|
|
1159
|
+
/**
|
|
1160
|
+
* Flex Grow
|
|
1161
|
+
* @see https://tailwindcss.com/docs/flex-grow
|
|
1162
|
+
*/
|
|
1163
|
+
grow: [{ grow: [
|
|
1164
|
+
"",
|
|
1165
|
+
isNumber,
|
|
1166
|
+
isArbitraryVariable,
|
|
1167
|
+
isArbitraryValue
|
|
1168
|
+
] }],
|
|
1169
|
+
/**
|
|
1170
|
+
* Flex Shrink
|
|
1171
|
+
* @see https://tailwindcss.com/docs/flex-shrink
|
|
1172
|
+
*/
|
|
1173
|
+
shrink: [{ shrink: [
|
|
1174
|
+
"",
|
|
1175
|
+
isNumber,
|
|
1176
|
+
isArbitraryVariable,
|
|
1177
|
+
isArbitraryValue
|
|
1178
|
+
] }],
|
|
1179
|
+
/**
|
|
1180
|
+
* Order
|
|
1181
|
+
* @see https://tailwindcss.com/docs/order
|
|
1182
|
+
*/
|
|
1183
|
+
order: [{ order: [
|
|
1184
|
+
isInteger,
|
|
1185
|
+
"first",
|
|
1186
|
+
"last",
|
|
1187
|
+
"none",
|
|
1188
|
+
isArbitraryVariable,
|
|
1189
|
+
isArbitraryValue
|
|
1190
|
+
] }],
|
|
1191
|
+
/**
|
|
1192
|
+
* Grid Template Columns
|
|
1193
|
+
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
1194
|
+
*/
|
|
1195
|
+
"grid-cols": [{ "grid-cols": scaleGridTemplateColsRows() }],
|
|
1196
|
+
/**
|
|
1197
|
+
* Grid Column Start / End
|
|
1198
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
1199
|
+
*/
|
|
1200
|
+
"col-start-end": [{ col: scaleGridColRowStartAndEnd() }],
|
|
1201
|
+
/**
|
|
1202
|
+
* Grid Column Start
|
|
1203
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
1204
|
+
*/
|
|
1205
|
+
"col-start": [{ "col-start": scaleGridColRowStartOrEnd() }],
|
|
1206
|
+
/**
|
|
1207
|
+
* Grid Column End
|
|
1208
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
1209
|
+
*/
|
|
1210
|
+
"col-end": [{ "col-end": scaleGridColRowStartOrEnd() }],
|
|
1211
|
+
/**
|
|
1212
|
+
* Grid Template Rows
|
|
1213
|
+
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
1214
|
+
*/
|
|
1215
|
+
"grid-rows": [{ "grid-rows": scaleGridTemplateColsRows() }],
|
|
1216
|
+
/**
|
|
1217
|
+
* Grid Row Start / End
|
|
1218
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
1219
|
+
*/
|
|
1220
|
+
"row-start-end": [{ row: scaleGridColRowStartAndEnd() }],
|
|
1221
|
+
/**
|
|
1222
|
+
* Grid Row Start
|
|
1223
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
1224
|
+
*/
|
|
1225
|
+
"row-start": [{ "row-start": scaleGridColRowStartOrEnd() }],
|
|
1226
|
+
/**
|
|
1227
|
+
* Grid Row End
|
|
1228
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
1229
|
+
*/
|
|
1230
|
+
"row-end": [{ "row-end": scaleGridColRowStartOrEnd() }],
|
|
1231
|
+
/**
|
|
1232
|
+
* Grid Auto Flow
|
|
1233
|
+
* @see https://tailwindcss.com/docs/grid-auto-flow
|
|
1234
|
+
*/
|
|
1235
|
+
"grid-flow": [{ "grid-flow": [
|
|
1236
|
+
"row",
|
|
1237
|
+
"col",
|
|
1238
|
+
"dense",
|
|
1239
|
+
"row-dense",
|
|
1240
|
+
"col-dense"
|
|
1241
|
+
] }],
|
|
1242
|
+
/**
|
|
1243
|
+
* Grid Auto Columns
|
|
1244
|
+
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
1245
|
+
*/
|
|
1246
|
+
"auto-cols": [{ "auto-cols": scaleGridAutoColsRows() }],
|
|
1247
|
+
/**
|
|
1248
|
+
* Grid Auto Rows
|
|
1249
|
+
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
1250
|
+
*/
|
|
1251
|
+
"auto-rows": [{ "auto-rows": scaleGridAutoColsRows() }],
|
|
1252
|
+
/**
|
|
1253
|
+
* Gap
|
|
1254
|
+
* @see https://tailwindcss.com/docs/gap
|
|
1255
|
+
*/
|
|
1256
|
+
gap: [{ gap: scaleUnambiguousSpacing() }],
|
|
1257
|
+
/**
|
|
1258
|
+
* Gap X
|
|
1259
|
+
* @see https://tailwindcss.com/docs/gap
|
|
1260
|
+
*/
|
|
1261
|
+
"gap-x": [{ "gap-x": scaleUnambiguousSpacing() }],
|
|
1262
|
+
/**
|
|
1263
|
+
* Gap Y
|
|
1264
|
+
* @see https://tailwindcss.com/docs/gap
|
|
1265
|
+
*/
|
|
1266
|
+
"gap-y": [{ "gap-y": scaleUnambiguousSpacing() }],
|
|
1267
|
+
/**
|
|
1268
|
+
* Justify Content
|
|
1269
|
+
* @see https://tailwindcss.com/docs/justify-content
|
|
1270
|
+
*/
|
|
1271
|
+
"justify-content": [{ justify: [...scaleAlignPrimaryAxis(), "normal"] }],
|
|
1272
|
+
/**
|
|
1273
|
+
* Justify Items
|
|
1274
|
+
* @see https://tailwindcss.com/docs/justify-items
|
|
1275
|
+
*/
|
|
1276
|
+
"justify-items": [{ "justify-items": [...scaleAlignSecondaryAxis(), "normal"] }],
|
|
1277
|
+
/**
|
|
1278
|
+
* Justify Self
|
|
1279
|
+
* @see https://tailwindcss.com/docs/justify-self
|
|
1280
|
+
*/
|
|
1281
|
+
"justify-self": [{ "justify-self": ["auto", ...scaleAlignSecondaryAxis()] }],
|
|
1282
|
+
/**
|
|
1283
|
+
* Align Content
|
|
1284
|
+
* @see https://tailwindcss.com/docs/align-content
|
|
1285
|
+
*/
|
|
1286
|
+
"align-content": [{ content: ["normal", ...scaleAlignPrimaryAxis()] }],
|
|
1287
|
+
/**
|
|
1288
|
+
* Align Items
|
|
1289
|
+
* @see https://tailwindcss.com/docs/align-items
|
|
1290
|
+
*/
|
|
1291
|
+
"align-items": [{ items: [...scaleAlignSecondaryAxis(), { baseline: ["", "last"] }] }],
|
|
1292
|
+
/**
|
|
1293
|
+
* Align Self
|
|
1294
|
+
* @see https://tailwindcss.com/docs/align-self
|
|
1295
|
+
*/
|
|
1296
|
+
"align-self": [{ self: [
|
|
1297
|
+
"auto",
|
|
1298
|
+
...scaleAlignSecondaryAxis(),
|
|
1299
|
+
{ baseline: ["", "last"] }
|
|
1300
|
+
] }],
|
|
1301
|
+
/**
|
|
1302
|
+
* Place Content
|
|
1303
|
+
* @see https://tailwindcss.com/docs/place-content
|
|
1304
|
+
*/
|
|
1305
|
+
"place-content": [{ "place-content": scaleAlignPrimaryAxis() }],
|
|
1306
|
+
/**
|
|
1307
|
+
* Place Items
|
|
1308
|
+
* @see https://tailwindcss.com/docs/place-items
|
|
1309
|
+
*/
|
|
1310
|
+
"place-items": [{ "place-items": [...scaleAlignSecondaryAxis(), "baseline"] }],
|
|
1311
|
+
/**
|
|
1312
|
+
* Place Self
|
|
1313
|
+
* @see https://tailwindcss.com/docs/place-self
|
|
1314
|
+
*/
|
|
1315
|
+
"place-self": [{ "place-self": ["auto", ...scaleAlignSecondaryAxis()] }],
|
|
1316
|
+
/**
|
|
1317
|
+
* Padding
|
|
1318
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1319
|
+
*/
|
|
1320
|
+
p: [{ p: scaleUnambiguousSpacing() }],
|
|
1321
|
+
/**
|
|
1322
|
+
* Padding Inline
|
|
1323
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1324
|
+
*/
|
|
1325
|
+
px: [{ px: scaleUnambiguousSpacing() }],
|
|
1326
|
+
/**
|
|
1327
|
+
* Padding Block
|
|
1328
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1329
|
+
*/
|
|
1330
|
+
py: [{ py: scaleUnambiguousSpacing() }],
|
|
1331
|
+
/**
|
|
1332
|
+
* Padding Inline Start
|
|
1333
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1334
|
+
*/
|
|
1335
|
+
ps: [{ ps: scaleUnambiguousSpacing() }],
|
|
1336
|
+
/**
|
|
1337
|
+
* Padding Inline End
|
|
1338
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1339
|
+
*/
|
|
1340
|
+
pe: [{ pe: scaleUnambiguousSpacing() }],
|
|
1341
|
+
/**
|
|
1342
|
+
* Padding Block Start
|
|
1343
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1344
|
+
*/
|
|
1345
|
+
pbs: [{ pbs: scaleUnambiguousSpacing() }],
|
|
1346
|
+
/**
|
|
1347
|
+
* Padding Block End
|
|
1348
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1349
|
+
*/
|
|
1350
|
+
pbe: [{ pbe: scaleUnambiguousSpacing() }],
|
|
1351
|
+
/**
|
|
1352
|
+
* Padding Top
|
|
1353
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1354
|
+
*/
|
|
1355
|
+
pt: [{ pt: scaleUnambiguousSpacing() }],
|
|
1356
|
+
/**
|
|
1357
|
+
* Padding Right
|
|
1358
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1359
|
+
*/
|
|
1360
|
+
pr: [{ pr: scaleUnambiguousSpacing() }],
|
|
1361
|
+
/**
|
|
1362
|
+
* Padding Bottom
|
|
1363
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1364
|
+
*/
|
|
1365
|
+
pb: [{ pb: scaleUnambiguousSpacing() }],
|
|
1366
|
+
/**
|
|
1367
|
+
* Padding Left
|
|
1368
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1369
|
+
*/
|
|
1370
|
+
pl: [{ pl: scaleUnambiguousSpacing() }],
|
|
1371
|
+
/**
|
|
1372
|
+
* Margin
|
|
1373
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1374
|
+
*/
|
|
1375
|
+
m: [{ m: scaleMargin() }],
|
|
1376
|
+
/**
|
|
1377
|
+
* Margin Inline
|
|
1378
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1379
|
+
*/
|
|
1380
|
+
mx: [{ mx: scaleMargin() }],
|
|
1381
|
+
/**
|
|
1382
|
+
* Margin Block
|
|
1383
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1384
|
+
*/
|
|
1385
|
+
my: [{ my: scaleMargin() }],
|
|
1386
|
+
/**
|
|
1387
|
+
* Margin Inline Start
|
|
1388
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1389
|
+
*/
|
|
1390
|
+
ms: [{ ms: scaleMargin() }],
|
|
1391
|
+
/**
|
|
1392
|
+
* Margin Inline End
|
|
1393
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1394
|
+
*/
|
|
1395
|
+
me: [{ me: scaleMargin() }],
|
|
1396
|
+
/**
|
|
1397
|
+
* Margin Block Start
|
|
1398
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1399
|
+
*/
|
|
1400
|
+
mbs: [{ mbs: scaleMargin() }],
|
|
1401
|
+
/**
|
|
1402
|
+
* Margin Block End
|
|
1403
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1404
|
+
*/
|
|
1405
|
+
mbe: [{ mbe: scaleMargin() }],
|
|
1406
|
+
/**
|
|
1407
|
+
* Margin Top
|
|
1408
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1409
|
+
*/
|
|
1410
|
+
mt: [{ mt: scaleMargin() }],
|
|
1411
|
+
/**
|
|
1412
|
+
* Margin Right
|
|
1413
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1414
|
+
*/
|
|
1415
|
+
mr: [{ mr: scaleMargin() }],
|
|
1416
|
+
/**
|
|
1417
|
+
* Margin Bottom
|
|
1418
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1419
|
+
*/
|
|
1420
|
+
mb: [{ mb: scaleMargin() }],
|
|
1421
|
+
/**
|
|
1422
|
+
* Margin Left
|
|
1423
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1424
|
+
*/
|
|
1425
|
+
ml: [{ ml: scaleMargin() }],
|
|
1426
|
+
/**
|
|
1427
|
+
* Space Between X
|
|
1428
|
+
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1429
|
+
*/
|
|
1430
|
+
"space-x": [{ "space-x": scaleUnambiguousSpacing() }],
|
|
1431
|
+
/**
|
|
1432
|
+
* Space Between X Reverse
|
|
1433
|
+
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1434
|
+
*/
|
|
1435
|
+
"space-x-reverse": ["space-x-reverse"],
|
|
1436
|
+
/**
|
|
1437
|
+
* Space Between Y
|
|
1438
|
+
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1439
|
+
*/
|
|
1440
|
+
"space-y": [{ "space-y": scaleUnambiguousSpacing() }],
|
|
1441
|
+
/**
|
|
1442
|
+
* Space Between Y Reverse
|
|
1443
|
+
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1444
|
+
*/
|
|
1445
|
+
"space-y-reverse": ["space-y-reverse"],
|
|
1446
|
+
/**
|
|
1447
|
+
* Size
|
|
1448
|
+
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1449
|
+
*/
|
|
1450
|
+
size: [{ size: scaleSizing() }],
|
|
1451
|
+
/**
|
|
1452
|
+
* Inline Size
|
|
1453
|
+
* @see https://tailwindcss.com/docs/width
|
|
1454
|
+
*/
|
|
1455
|
+
"inline-size": [{ inline: ["auto", ...scaleSizingInline()] }],
|
|
1456
|
+
/**
|
|
1457
|
+
* Min-Inline Size
|
|
1458
|
+
* @see https://tailwindcss.com/docs/min-width
|
|
1459
|
+
*/
|
|
1460
|
+
"min-inline-size": [{ "min-inline": ["auto", ...scaleSizingInline()] }],
|
|
1461
|
+
/**
|
|
1462
|
+
* Max-Inline Size
|
|
1463
|
+
* @see https://tailwindcss.com/docs/max-width
|
|
1464
|
+
*/
|
|
1465
|
+
"max-inline-size": [{ "max-inline": ["none", ...scaleSizingInline()] }],
|
|
1466
|
+
/**
|
|
1467
|
+
* Block Size
|
|
1468
|
+
* @see https://tailwindcss.com/docs/height
|
|
1469
|
+
*/
|
|
1470
|
+
"block-size": [{ block: ["auto", ...scaleSizingBlock()] }],
|
|
1471
|
+
/**
|
|
1472
|
+
* Min-Block Size
|
|
1473
|
+
* @see https://tailwindcss.com/docs/min-height
|
|
1474
|
+
*/
|
|
1475
|
+
"min-block-size": [{ "min-block": ["auto", ...scaleSizingBlock()] }],
|
|
1476
|
+
/**
|
|
1477
|
+
* Max-Block Size
|
|
1478
|
+
* @see https://tailwindcss.com/docs/max-height
|
|
1479
|
+
*/
|
|
1480
|
+
"max-block-size": [{ "max-block": ["none", ...scaleSizingBlock()] }],
|
|
1481
|
+
/**
|
|
1482
|
+
* Width
|
|
1483
|
+
* @see https://tailwindcss.com/docs/width
|
|
1484
|
+
*/
|
|
1485
|
+
w: [{ w: [
|
|
1486
|
+
themeContainer,
|
|
1487
|
+
"screen",
|
|
1488
|
+
...scaleSizing()
|
|
1489
|
+
] }],
|
|
1490
|
+
/**
|
|
1491
|
+
* Min-Width
|
|
1492
|
+
* @see https://tailwindcss.com/docs/min-width
|
|
1493
|
+
*/
|
|
1494
|
+
"min-w": [{ "min-w": [
|
|
1495
|
+
themeContainer,
|
|
1496
|
+
"screen",
|
|
1497
|
+
"none",
|
|
1498
|
+
...scaleSizing()
|
|
1499
|
+
] }],
|
|
1500
|
+
/**
|
|
1501
|
+
* Max-Width
|
|
1502
|
+
* @see https://tailwindcss.com/docs/max-width
|
|
1503
|
+
*/
|
|
1504
|
+
"max-w": [{ "max-w": [
|
|
1505
|
+
themeContainer,
|
|
1506
|
+
"screen",
|
|
1507
|
+
"none",
|
|
1508
|
+
"prose",
|
|
1509
|
+
{ screen: [themeBreakpoint] },
|
|
1510
|
+
...scaleSizing()
|
|
1511
|
+
] }],
|
|
1512
|
+
/**
|
|
1513
|
+
* Height
|
|
1514
|
+
* @see https://tailwindcss.com/docs/height
|
|
1515
|
+
*/
|
|
1516
|
+
h: [{ h: [
|
|
1517
|
+
"screen",
|
|
1518
|
+
"lh",
|
|
1519
|
+
...scaleSizing()
|
|
1520
|
+
] }],
|
|
1521
|
+
/**
|
|
1522
|
+
* Min-Height
|
|
1523
|
+
* @see https://tailwindcss.com/docs/min-height
|
|
1524
|
+
*/
|
|
1525
|
+
"min-h": [{ "min-h": [
|
|
1526
|
+
"screen",
|
|
1527
|
+
"lh",
|
|
1528
|
+
"none",
|
|
1529
|
+
...scaleSizing()
|
|
1530
|
+
] }],
|
|
1531
|
+
/**
|
|
1532
|
+
* Max-Height
|
|
1533
|
+
* @see https://tailwindcss.com/docs/max-height
|
|
1534
|
+
*/
|
|
1535
|
+
"max-h": [{ "max-h": [
|
|
1536
|
+
"screen",
|
|
1537
|
+
"lh",
|
|
1538
|
+
...scaleSizing()
|
|
1539
|
+
] }],
|
|
1540
|
+
/**
|
|
1541
|
+
* Font Size
|
|
1542
|
+
* @see https://tailwindcss.com/docs/font-size
|
|
1543
|
+
*/
|
|
1544
|
+
"font-size": [{ text: [
|
|
1545
|
+
"base",
|
|
1546
|
+
themeText,
|
|
1547
|
+
isArbitraryVariableLength,
|
|
1548
|
+
isArbitraryLength
|
|
1549
|
+
] }],
|
|
1550
|
+
/**
|
|
1551
|
+
* Font Smoothing
|
|
1552
|
+
* @see https://tailwindcss.com/docs/font-smoothing
|
|
1553
|
+
*/
|
|
1554
|
+
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
1555
|
+
/**
|
|
1556
|
+
* Font Style
|
|
1557
|
+
* @see https://tailwindcss.com/docs/font-style
|
|
1558
|
+
*/
|
|
1559
|
+
"font-style": ["italic", "not-italic"],
|
|
1560
|
+
/**
|
|
1561
|
+
* Font Weight
|
|
1562
|
+
* @see https://tailwindcss.com/docs/font-weight
|
|
1563
|
+
*/
|
|
1564
|
+
"font-weight": [{ font: [
|
|
1565
|
+
themeFontWeight,
|
|
1566
|
+
isArbitraryVariableWeight,
|
|
1567
|
+
isArbitraryWeight
|
|
1568
|
+
] }],
|
|
1569
|
+
/**
|
|
1570
|
+
* Font Stretch
|
|
1571
|
+
* @see https://tailwindcss.com/docs/font-stretch
|
|
1572
|
+
*/
|
|
1573
|
+
"font-stretch": [{ "font-stretch": [
|
|
1574
|
+
"ultra-condensed",
|
|
1575
|
+
"extra-condensed",
|
|
1576
|
+
"condensed",
|
|
1577
|
+
"semi-condensed",
|
|
1578
|
+
"normal",
|
|
1579
|
+
"semi-expanded",
|
|
1580
|
+
"expanded",
|
|
1581
|
+
"extra-expanded",
|
|
1582
|
+
"ultra-expanded",
|
|
1583
|
+
isPercent,
|
|
1584
|
+
isArbitraryValue
|
|
1585
|
+
] }],
|
|
1586
|
+
/**
|
|
1587
|
+
* Font Family
|
|
1588
|
+
* @see https://tailwindcss.com/docs/font-family
|
|
1589
|
+
*/
|
|
1590
|
+
"font-family": [{ font: [
|
|
1591
|
+
isArbitraryVariableFamilyName,
|
|
1592
|
+
isArbitraryFamilyName,
|
|
1593
|
+
themeFont
|
|
1594
|
+
] }],
|
|
1595
|
+
/**
|
|
1596
|
+
* Font Feature Settings
|
|
1597
|
+
* @see https://tailwindcss.com/docs/font-feature-settings
|
|
1598
|
+
*/
|
|
1599
|
+
"font-features": [{ "font-features": [isArbitraryValue] }],
|
|
1600
|
+
/**
|
|
1601
|
+
* Font Variant Numeric
|
|
1602
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1603
|
+
*/
|
|
1604
|
+
"fvn-normal": ["normal-nums"],
|
|
1605
|
+
/**
|
|
1606
|
+
* Font Variant Numeric
|
|
1607
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1608
|
+
*/
|
|
1609
|
+
"fvn-ordinal": ["ordinal"],
|
|
1610
|
+
/**
|
|
1611
|
+
* Font Variant Numeric
|
|
1612
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1613
|
+
*/
|
|
1614
|
+
"fvn-slashed-zero": ["slashed-zero"],
|
|
1615
|
+
/**
|
|
1616
|
+
* Font Variant Numeric
|
|
1617
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1618
|
+
*/
|
|
1619
|
+
"fvn-figure": ["lining-nums", "oldstyle-nums"],
|
|
1620
|
+
/**
|
|
1621
|
+
* Font Variant Numeric
|
|
1622
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1623
|
+
*/
|
|
1624
|
+
"fvn-spacing": ["proportional-nums", "tabular-nums"],
|
|
1625
|
+
/**
|
|
1626
|
+
* Font Variant Numeric
|
|
1627
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1628
|
+
*/
|
|
1629
|
+
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
|
|
1630
|
+
/**
|
|
1631
|
+
* Letter Spacing
|
|
1632
|
+
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1633
|
+
*/
|
|
1634
|
+
tracking: [{ tracking: [
|
|
1635
|
+
themeTracking,
|
|
1636
|
+
isArbitraryVariable,
|
|
1637
|
+
isArbitraryValue
|
|
1638
|
+
] }],
|
|
1639
|
+
/**
|
|
1640
|
+
* Line Clamp
|
|
1641
|
+
* @see https://tailwindcss.com/docs/line-clamp
|
|
1642
|
+
*/
|
|
1643
|
+
"line-clamp": [{ "line-clamp": [
|
|
1644
|
+
isNumber,
|
|
1645
|
+
"none",
|
|
1646
|
+
isArbitraryVariable,
|
|
1647
|
+
isArbitraryNumber
|
|
1648
|
+
] }],
|
|
1649
|
+
/**
|
|
1650
|
+
* Line Height
|
|
1651
|
+
* @see https://tailwindcss.com/docs/line-height
|
|
1652
|
+
*/
|
|
1653
|
+
leading: [{ leading: [themeLeading, ...scaleUnambiguousSpacing()] }],
|
|
1654
|
+
/**
|
|
1655
|
+
* List Style Image
|
|
1656
|
+
* @see https://tailwindcss.com/docs/list-style-image
|
|
1657
|
+
*/
|
|
1658
|
+
"list-image": [{ "list-image": [
|
|
1659
|
+
"none",
|
|
1660
|
+
isArbitraryVariable,
|
|
1661
|
+
isArbitraryValue
|
|
1662
|
+
] }],
|
|
1663
|
+
/**
|
|
1664
|
+
* List Style Position
|
|
1665
|
+
* @see https://tailwindcss.com/docs/list-style-position
|
|
1666
|
+
*/
|
|
1667
|
+
"list-style-position": [{ list: ["inside", "outside"] }],
|
|
1668
|
+
/**
|
|
1669
|
+
* List Style Type
|
|
1670
|
+
* @see https://tailwindcss.com/docs/list-style-type
|
|
1671
|
+
*/
|
|
1672
|
+
"list-style-type": [{ list: [
|
|
1673
|
+
"disc",
|
|
1674
|
+
"decimal",
|
|
1675
|
+
"none",
|
|
1676
|
+
isArbitraryVariable,
|
|
1677
|
+
isArbitraryValue
|
|
1678
|
+
] }],
|
|
1679
|
+
/**
|
|
1680
|
+
* Text Alignment
|
|
1681
|
+
* @see https://tailwindcss.com/docs/text-align
|
|
1682
|
+
*/
|
|
1683
|
+
"text-alignment": [{ text: [
|
|
1684
|
+
"left",
|
|
1685
|
+
"center",
|
|
1686
|
+
"right",
|
|
1687
|
+
"justify",
|
|
1688
|
+
"start",
|
|
1689
|
+
"end"
|
|
1690
|
+
] }],
|
|
1691
|
+
/**
|
|
1692
|
+
* Placeholder Color
|
|
1693
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
1694
|
+
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1695
|
+
*/
|
|
1696
|
+
"placeholder-color": [{ placeholder: scaleColor() }],
|
|
1697
|
+
/**
|
|
1698
|
+
* Text Color
|
|
1699
|
+
* @see https://tailwindcss.com/docs/text-color
|
|
1700
|
+
*/
|
|
1701
|
+
"text-color": [{ text: scaleColor() }],
|
|
1702
|
+
/**
|
|
1703
|
+
* Text Decoration
|
|
1704
|
+
* @see https://tailwindcss.com/docs/text-decoration
|
|
1705
|
+
*/
|
|
1706
|
+
"text-decoration": [
|
|
1707
|
+
"underline",
|
|
1708
|
+
"overline",
|
|
1709
|
+
"line-through",
|
|
1710
|
+
"no-underline"
|
|
1711
|
+
],
|
|
1712
|
+
/**
|
|
1713
|
+
* Text Decoration Style
|
|
1714
|
+
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1715
|
+
*/
|
|
1716
|
+
"text-decoration-style": [{ decoration: [...scaleLineStyle(), "wavy"] }],
|
|
1717
|
+
/**
|
|
1718
|
+
* Text Decoration Thickness
|
|
1719
|
+
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1720
|
+
*/
|
|
1721
|
+
"text-decoration-thickness": [{ decoration: [
|
|
1722
|
+
isNumber,
|
|
1723
|
+
"from-font",
|
|
1724
|
+
"auto",
|
|
1725
|
+
isArbitraryVariable,
|
|
1726
|
+
isArbitraryLength
|
|
1727
|
+
] }],
|
|
1728
|
+
/**
|
|
1729
|
+
* Text Decoration Color
|
|
1730
|
+
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1731
|
+
*/
|
|
1732
|
+
"text-decoration-color": [{ decoration: scaleColor() }],
|
|
1733
|
+
/**
|
|
1734
|
+
* Text Underline Offset
|
|
1735
|
+
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1736
|
+
*/
|
|
1737
|
+
"underline-offset": [{ "underline-offset": [
|
|
1738
|
+
isNumber,
|
|
1739
|
+
"auto",
|
|
1740
|
+
isArbitraryVariable,
|
|
1741
|
+
isArbitraryValue
|
|
1742
|
+
] }],
|
|
1743
|
+
/**
|
|
1744
|
+
* Text Transform
|
|
1745
|
+
* @see https://tailwindcss.com/docs/text-transform
|
|
1746
|
+
*/
|
|
1747
|
+
"text-transform": [
|
|
1748
|
+
"uppercase",
|
|
1749
|
+
"lowercase",
|
|
1750
|
+
"capitalize",
|
|
1751
|
+
"normal-case"
|
|
1752
|
+
],
|
|
1753
|
+
/**
|
|
1754
|
+
* Text Overflow
|
|
1755
|
+
* @see https://tailwindcss.com/docs/text-overflow
|
|
1756
|
+
*/
|
|
1757
|
+
"text-overflow": [
|
|
1758
|
+
"truncate",
|
|
1759
|
+
"text-ellipsis",
|
|
1760
|
+
"text-clip"
|
|
1761
|
+
],
|
|
1762
|
+
/**
|
|
1763
|
+
* Text Wrap
|
|
1764
|
+
* @see https://tailwindcss.com/docs/text-wrap
|
|
1765
|
+
*/
|
|
1766
|
+
"text-wrap": [{ text: [
|
|
1767
|
+
"wrap",
|
|
1768
|
+
"nowrap",
|
|
1769
|
+
"balance",
|
|
1770
|
+
"pretty"
|
|
1771
|
+
] }],
|
|
1772
|
+
/**
|
|
1773
|
+
* Text Indent
|
|
1774
|
+
* @see https://tailwindcss.com/docs/text-indent
|
|
1775
|
+
*/
|
|
1776
|
+
indent: [{ indent: scaleUnambiguousSpacing() }],
|
|
1777
|
+
/**
|
|
1778
|
+
* Tab Size
|
|
1779
|
+
* @see https://tailwindcss.com/docs/tab-size
|
|
1780
|
+
*/
|
|
1781
|
+
"tab-size": [{ tab: [
|
|
1782
|
+
isInteger,
|
|
1783
|
+
isArbitraryVariable,
|
|
1784
|
+
isArbitraryValue
|
|
1785
|
+
] }],
|
|
1786
|
+
/**
|
|
1787
|
+
* Vertical Alignment
|
|
1788
|
+
* @see https://tailwindcss.com/docs/vertical-align
|
|
1789
|
+
*/
|
|
1790
|
+
"vertical-align": [{ align: [
|
|
1791
|
+
"baseline",
|
|
1792
|
+
"top",
|
|
1793
|
+
"middle",
|
|
1794
|
+
"bottom",
|
|
1795
|
+
"text-top",
|
|
1796
|
+
"text-bottom",
|
|
1797
|
+
"sub",
|
|
1798
|
+
"super",
|
|
1799
|
+
isArbitraryVariable,
|
|
1800
|
+
isArbitraryValue
|
|
1801
|
+
] }],
|
|
1802
|
+
/**
|
|
1803
|
+
* Whitespace
|
|
1804
|
+
* @see https://tailwindcss.com/docs/whitespace
|
|
1805
|
+
*/
|
|
1806
|
+
whitespace: [{ whitespace: [
|
|
1807
|
+
"normal",
|
|
1808
|
+
"nowrap",
|
|
1809
|
+
"pre",
|
|
1810
|
+
"pre-line",
|
|
1811
|
+
"pre-wrap",
|
|
1812
|
+
"break-spaces"
|
|
1813
|
+
] }],
|
|
1814
|
+
/**
|
|
1815
|
+
* Word Break
|
|
1816
|
+
* @see https://tailwindcss.com/docs/word-break
|
|
1817
|
+
*/
|
|
1818
|
+
break: [{ break: [
|
|
1819
|
+
"normal",
|
|
1820
|
+
"words",
|
|
1821
|
+
"all",
|
|
1822
|
+
"keep"
|
|
1823
|
+
] }],
|
|
1824
|
+
/**
|
|
1825
|
+
* Overflow Wrap
|
|
1826
|
+
* @see https://tailwindcss.com/docs/overflow-wrap
|
|
1827
|
+
*/
|
|
1828
|
+
wrap: [{ wrap: [
|
|
1829
|
+
"break-word",
|
|
1830
|
+
"anywhere",
|
|
1831
|
+
"normal"
|
|
1832
|
+
] }],
|
|
1833
|
+
/**
|
|
1834
|
+
* Hyphens
|
|
1835
|
+
* @see https://tailwindcss.com/docs/hyphens
|
|
1836
|
+
*/
|
|
1837
|
+
hyphens: [{ hyphens: [
|
|
1838
|
+
"none",
|
|
1839
|
+
"manual",
|
|
1840
|
+
"auto"
|
|
1841
|
+
] }],
|
|
1842
|
+
/**
|
|
1843
|
+
* Content
|
|
1844
|
+
* @see https://tailwindcss.com/docs/content
|
|
1845
|
+
*/
|
|
1846
|
+
content: [{ content: [
|
|
1847
|
+
"none",
|
|
1848
|
+
isArbitraryVariable,
|
|
1849
|
+
isArbitraryValue
|
|
1850
|
+
] }],
|
|
1851
|
+
/**
|
|
1852
|
+
* Background Attachment
|
|
1853
|
+
* @see https://tailwindcss.com/docs/background-attachment
|
|
1854
|
+
*/
|
|
1855
|
+
"bg-attachment": [{ bg: [
|
|
1856
|
+
"fixed",
|
|
1857
|
+
"local",
|
|
1858
|
+
"scroll"
|
|
1859
|
+
] }],
|
|
1860
|
+
/**
|
|
1861
|
+
* Background Clip
|
|
1862
|
+
* @see https://tailwindcss.com/docs/background-clip
|
|
1863
|
+
*/
|
|
1864
|
+
"bg-clip": [{ "bg-clip": [
|
|
1865
|
+
"border",
|
|
1866
|
+
"padding",
|
|
1867
|
+
"content",
|
|
1868
|
+
"text"
|
|
1869
|
+
] }],
|
|
1870
|
+
/**
|
|
1871
|
+
* Background Origin
|
|
1872
|
+
* @see https://tailwindcss.com/docs/background-origin
|
|
1873
|
+
*/
|
|
1874
|
+
"bg-origin": [{ "bg-origin": [
|
|
1875
|
+
"border",
|
|
1876
|
+
"padding",
|
|
1877
|
+
"content"
|
|
1878
|
+
] }],
|
|
1879
|
+
/**
|
|
1880
|
+
* Background Position
|
|
1881
|
+
* @see https://tailwindcss.com/docs/background-position
|
|
1882
|
+
*/
|
|
1883
|
+
"bg-position": [{ bg: scaleBgPosition() }],
|
|
1884
|
+
/**
|
|
1885
|
+
* Background Repeat
|
|
1886
|
+
* @see https://tailwindcss.com/docs/background-repeat
|
|
1887
|
+
*/
|
|
1888
|
+
"bg-repeat": [{ bg: scaleBgRepeat() }],
|
|
1889
|
+
/**
|
|
1890
|
+
* Background Size
|
|
1891
|
+
* @see https://tailwindcss.com/docs/background-size
|
|
1892
|
+
*/
|
|
1893
|
+
"bg-size": [{ bg: scaleBgSize() }],
|
|
1894
|
+
/**
|
|
1895
|
+
* Background Image
|
|
1896
|
+
* @see https://tailwindcss.com/docs/background-image
|
|
1897
|
+
*/
|
|
1898
|
+
"bg-image": [{ bg: [
|
|
1899
|
+
"none",
|
|
1900
|
+
{
|
|
1901
|
+
linear: [
|
|
1902
|
+
{ to: [
|
|
1903
|
+
"t",
|
|
1904
|
+
"tr",
|
|
1905
|
+
"r",
|
|
1906
|
+
"br",
|
|
1907
|
+
"b",
|
|
1908
|
+
"bl",
|
|
1909
|
+
"l",
|
|
1910
|
+
"tl"
|
|
1911
|
+
] },
|
|
1912
|
+
isInteger,
|
|
1913
|
+
isArbitraryVariable,
|
|
1914
|
+
isArbitraryValue
|
|
1915
|
+
],
|
|
1916
|
+
radial: [
|
|
1917
|
+
"",
|
|
1918
|
+
isArbitraryVariable,
|
|
1919
|
+
isArbitraryValue
|
|
1920
|
+
],
|
|
1921
|
+
conic: [
|
|
1922
|
+
isInteger,
|
|
1923
|
+
isArbitraryVariable,
|
|
1924
|
+
isArbitraryValue
|
|
1925
|
+
]
|
|
1926
|
+
},
|
|
1927
|
+
isArbitraryVariableImage,
|
|
1928
|
+
isArbitraryImage
|
|
1929
|
+
] }],
|
|
1930
|
+
/**
|
|
1931
|
+
* Background Color
|
|
1932
|
+
* @see https://tailwindcss.com/docs/background-color
|
|
1933
|
+
*/
|
|
1934
|
+
"bg-color": [{ bg: scaleColor() }],
|
|
1935
|
+
/**
|
|
1936
|
+
* Gradient Color Stops From Position
|
|
1937
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1938
|
+
*/
|
|
1939
|
+
"gradient-from-pos": [{ from: scaleGradientStopPosition() }],
|
|
1940
|
+
/**
|
|
1941
|
+
* Gradient Color Stops Via Position
|
|
1942
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1943
|
+
*/
|
|
1944
|
+
"gradient-via-pos": [{ via: scaleGradientStopPosition() }],
|
|
1945
|
+
/**
|
|
1946
|
+
* Gradient Color Stops To Position
|
|
1947
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1948
|
+
*/
|
|
1949
|
+
"gradient-to-pos": [{ to: scaleGradientStopPosition() }],
|
|
1950
|
+
/**
|
|
1951
|
+
* Gradient Color Stops From
|
|
1952
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1953
|
+
*/
|
|
1954
|
+
"gradient-from": [{ from: scaleColor() }],
|
|
1955
|
+
/**
|
|
1956
|
+
* Gradient Color Stops Via
|
|
1957
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1958
|
+
*/
|
|
1959
|
+
"gradient-via": [{ via: scaleColor() }],
|
|
1960
|
+
/**
|
|
1961
|
+
* Gradient Color Stops To
|
|
1962
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1963
|
+
*/
|
|
1964
|
+
"gradient-to": [{ to: scaleColor() }],
|
|
1965
|
+
/**
|
|
1966
|
+
* Border Radius
|
|
1967
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1968
|
+
*/
|
|
1969
|
+
rounded: [{ rounded: scaleRadius() }],
|
|
1970
|
+
/**
|
|
1971
|
+
* Border Radius Start
|
|
1972
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1973
|
+
*/
|
|
1974
|
+
"rounded-s": [{ "rounded-s": scaleRadius() }],
|
|
1975
|
+
/**
|
|
1976
|
+
* Border Radius End
|
|
1977
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1978
|
+
*/
|
|
1979
|
+
"rounded-e": [{ "rounded-e": scaleRadius() }],
|
|
1980
|
+
/**
|
|
1981
|
+
* Border Radius Top
|
|
1982
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1983
|
+
*/
|
|
1984
|
+
"rounded-t": [{ "rounded-t": scaleRadius() }],
|
|
1985
|
+
/**
|
|
1986
|
+
* Border Radius Right
|
|
1987
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1988
|
+
*/
|
|
1989
|
+
"rounded-r": [{ "rounded-r": scaleRadius() }],
|
|
1990
|
+
/**
|
|
1991
|
+
* Border Radius Bottom
|
|
1992
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1993
|
+
*/
|
|
1994
|
+
"rounded-b": [{ "rounded-b": scaleRadius() }],
|
|
1995
|
+
/**
|
|
1996
|
+
* Border Radius Left
|
|
1997
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1998
|
+
*/
|
|
1999
|
+
"rounded-l": [{ "rounded-l": scaleRadius() }],
|
|
2000
|
+
/**
|
|
2001
|
+
* Border Radius Start Start
|
|
2002
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2003
|
+
*/
|
|
2004
|
+
"rounded-ss": [{ "rounded-ss": scaleRadius() }],
|
|
2005
|
+
/**
|
|
2006
|
+
* Border Radius Start End
|
|
2007
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2008
|
+
*/
|
|
2009
|
+
"rounded-se": [{ "rounded-se": scaleRadius() }],
|
|
2010
|
+
/**
|
|
2011
|
+
* Border Radius End End
|
|
2012
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2013
|
+
*/
|
|
2014
|
+
"rounded-ee": [{ "rounded-ee": scaleRadius() }],
|
|
2015
|
+
/**
|
|
2016
|
+
* Border Radius End Start
|
|
2017
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2018
|
+
*/
|
|
2019
|
+
"rounded-es": [{ "rounded-es": scaleRadius() }],
|
|
2020
|
+
/**
|
|
2021
|
+
* Border Radius Top Left
|
|
2022
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2023
|
+
*/
|
|
2024
|
+
"rounded-tl": [{ "rounded-tl": scaleRadius() }],
|
|
2025
|
+
/**
|
|
2026
|
+
* Border Radius Top Right
|
|
2027
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2028
|
+
*/
|
|
2029
|
+
"rounded-tr": [{ "rounded-tr": scaleRadius() }],
|
|
2030
|
+
/**
|
|
2031
|
+
* Border Radius Bottom Right
|
|
2032
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2033
|
+
*/
|
|
2034
|
+
"rounded-br": [{ "rounded-br": scaleRadius() }],
|
|
2035
|
+
/**
|
|
2036
|
+
* Border Radius Bottom Left
|
|
2037
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2038
|
+
*/
|
|
2039
|
+
"rounded-bl": [{ "rounded-bl": scaleRadius() }],
|
|
2040
|
+
/**
|
|
2041
|
+
* Border Width
|
|
2042
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2043
|
+
*/
|
|
2044
|
+
"border-w": [{ border: scaleBorderWidth() }],
|
|
2045
|
+
/**
|
|
2046
|
+
* Border Width Inline
|
|
2047
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2048
|
+
*/
|
|
2049
|
+
"border-w-x": [{ "border-x": scaleBorderWidth() }],
|
|
2050
|
+
/**
|
|
2051
|
+
* Border Width Block
|
|
2052
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2053
|
+
*/
|
|
2054
|
+
"border-w-y": [{ "border-y": scaleBorderWidth() }],
|
|
2055
|
+
/**
|
|
2056
|
+
* Border Width Inline Start
|
|
2057
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2058
|
+
*/
|
|
2059
|
+
"border-w-s": [{ "border-s": scaleBorderWidth() }],
|
|
2060
|
+
/**
|
|
2061
|
+
* Border Width Inline End
|
|
2062
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2063
|
+
*/
|
|
2064
|
+
"border-w-e": [{ "border-e": scaleBorderWidth() }],
|
|
2065
|
+
/**
|
|
2066
|
+
* Border Width Block Start
|
|
2067
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2068
|
+
*/
|
|
2069
|
+
"border-w-bs": [{ "border-bs": scaleBorderWidth() }],
|
|
2070
|
+
/**
|
|
2071
|
+
* Border Width Block End
|
|
2072
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2073
|
+
*/
|
|
2074
|
+
"border-w-be": [{ "border-be": scaleBorderWidth() }],
|
|
2075
|
+
/**
|
|
2076
|
+
* Border Width Top
|
|
2077
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2078
|
+
*/
|
|
2079
|
+
"border-w-t": [{ "border-t": scaleBorderWidth() }],
|
|
2080
|
+
/**
|
|
2081
|
+
* Border Width Right
|
|
2082
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2083
|
+
*/
|
|
2084
|
+
"border-w-r": [{ "border-r": scaleBorderWidth() }],
|
|
2085
|
+
/**
|
|
2086
|
+
* Border Width Bottom
|
|
2087
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2088
|
+
*/
|
|
2089
|
+
"border-w-b": [{ "border-b": scaleBorderWidth() }],
|
|
2090
|
+
/**
|
|
2091
|
+
* Border Width Left
|
|
2092
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2093
|
+
*/
|
|
2094
|
+
"border-w-l": [{ "border-l": scaleBorderWidth() }],
|
|
2095
|
+
/**
|
|
2096
|
+
* Divide Width X
|
|
2097
|
+
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2098
|
+
*/
|
|
2099
|
+
"divide-x": [{ "divide-x": scaleBorderWidth() }],
|
|
2100
|
+
/**
|
|
2101
|
+
* Divide Width X Reverse
|
|
2102
|
+
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2103
|
+
*/
|
|
2104
|
+
"divide-x-reverse": ["divide-x-reverse"],
|
|
2105
|
+
/**
|
|
2106
|
+
* Divide Width Y
|
|
2107
|
+
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2108
|
+
*/
|
|
2109
|
+
"divide-y": [{ "divide-y": scaleBorderWidth() }],
|
|
2110
|
+
/**
|
|
2111
|
+
* Divide Width Y Reverse
|
|
2112
|
+
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2113
|
+
*/
|
|
2114
|
+
"divide-y-reverse": ["divide-y-reverse"],
|
|
2115
|
+
/**
|
|
2116
|
+
* Border Style
|
|
2117
|
+
* @see https://tailwindcss.com/docs/border-style
|
|
2118
|
+
*/
|
|
2119
|
+
"border-style": [{ border: [
|
|
2120
|
+
...scaleLineStyle(),
|
|
2121
|
+
"hidden",
|
|
2122
|
+
"none"
|
|
2123
|
+
] }],
|
|
2124
|
+
/**
|
|
2125
|
+
* Divide Style
|
|
2126
|
+
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
2127
|
+
*/
|
|
2128
|
+
"divide-style": [{ divide: [
|
|
2129
|
+
...scaleLineStyle(),
|
|
2130
|
+
"hidden",
|
|
2131
|
+
"none"
|
|
2132
|
+
] }],
|
|
2133
|
+
/**
|
|
2134
|
+
* Border Color
|
|
2135
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2136
|
+
*/
|
|
2137
|
+
"border-color": [{ border: scaleColor() }],
|
|
2138
|
+
/**
|
|
2139
|
+
* Border Color Inline
|
|
2140
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2141
|
+
*/
|
|
2142
|
+
"border-color-x": [{ "border-x": scaleColor() }],
|
|
2143
|
+
/**
|
|
2144
|
+
* Border Color Block
|
|
2145
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2146
|
+
*/
|
|
2147
|
+
"border-color-y": [{ "border-y": scaleColor() }],
|
|
2148
|
+
/**
|
|
2149
|
+
* Border Color Inline Start
|
|
2150
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2151
|
+
*/
|
|
2152
|
+
"border-color-s": [{ "border-s": scaleColor() }],
|
|
2153
|
+
/**
|
|
2154
|
+
* Border Color Inline End
|
|
2155
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2156
|
+
*/
|
|
2157
|
+
"border-color-e": [{ "border-e": scaleColor() }],
|
|
2158
|
+
/**
|
|
2159
|
+
* Border Color Block Start
|
|
2160
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2161
|
+
*/
|
|
2162
|
+
"border-color-bs": [{ "border-bs": scaleColor() }],
|
|
2163
|
+
/**
|
|
2164
|
+
* Border Color Block End
|
|
2165
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2166
|
+
*/
|
|
2167
|
+
"border-color-be": [{ "border-be": scaleColor() }],
|
|
2168
|
+
/**
|
|
2169
|
+
* Border Color Top
|
|
2170
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2171
|
+
*/
|
|
2172
|
+
"border-color-t": [{ "border-t": scaleColor() }],
|
|
2173
|
+
/**
|
|
2174
|
+
* Border Color Right
|
|
2175
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2176
|
+
*/
|
|
2177
|
+
"border-color-r": [{ "border-r": scaleColor() }],
|
|
2178
|
+
/**
|
|
2179
|
+
* Border Color Bottom
|
|
2180
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2181
|
+
*/
|
|
2182
|
+
"border-color-b": [{ "border-b": scaleColor() }],
|
|
2183
|
+
/**
|
|
2184
|
+
* Border Color Left
|
|
2185
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2186
|
+
*/
|
|
2187
|
+
"border-color-l": [{ "border-l": scaleColor() }],
|
|
2188
|
+
/**
|
|
2189
|
+
* Divide Color
|
|
2190
|
+
* @see https://tailwindcss.com/docs/divide-color
|
|
2191
|
+
*/
|
|
2192
|
+
"divide-color": [{ divide: scaleColor() }],
|
|
2193
|
+
/**
|
|
2194
|
+
* Outline Style
|
|
2195
|
+
* @see https://tailwindcss.com/docs/outline-style
|
|
2196
|
+
*/
|
|
2197
|
+
"outline-style": [{ outline: [
|
|
2198
|
+
...scaleLineStyle(),
|
|
2199
|
+
"none",
|
|
2200
|
+
"hidden"
|
|
2201
|
+
] }],
|
|
2202
|
+
/**
|
|
2203
|
+
* Outline Offset
|
|
2204
|
+
* @see https://tailwindcss.com/docs/outline-offset
|
|
2205
|
+
*/
|
|
2206
|
+
"outline-offset": [{ "outline-offset": [
|
|
2207
|
+
isNumber,
|
|
2208
|
+
isArbitraryVariable,
|
|
2209
|
+
isArbitraryValue
|
|
2210
|
+
] }],
|
|
2211
|
+
/**
|
|
2212
|
+
* Outline Width
|
|
2213
|
+
* @see https://tailwindcss.com/docs/outline-width
|
|
2214
|
+
*/
|
|
2215
|
+
"outline-w": [{ outline: [
|
|
2216
|
+
"",
|
|
2217
|
+
isNumber,
|
|
2218
|
+
isArbitraryVariableLength,
|
|
2219
|
+
isArbitraryLength
|
|
2220
|
+
] }],
|
|
2221
|
+
/**
|
|
2222
|
+
* Outline Color
|
|
2223
|
+
* @see https://tailwindcss.com/docs/outline-color
|
|
2224
|
+
*/
|
|
2225
|
+
"outline-color": [{ outline: scaleColor() }],
|
|
2226
|
+
/**
|
|
2227
|
+
* Box Shadow
|
|
2228
|
+
* @see https://tailwindcss.com/docs/box-shadow
|
|
2229
|
+
*/
|
|
2230
|
+
shadow: [{ shadow: [
|
|
2231
|
+
"",
|
|
2232
|
+
"none",
|
|
2233
|
+
themeShadow,
|
|
2234
|
+
isArbitraryVariableShadow,
|
|
2235
|
+
isArbitraryShadow
|
|
2236
|
+
] }],
|
|
2237
|
+
/**
|
|
2238
|
+
* Box Shadow Color
|
|
2239
|
+
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
2240
|
+
*/
|
|
2241
|
+
"shadow-color": [{ shadow: scaleColor() }],
|
|
2242
|
+
/**
|
|
2243
|
+
* Inset Box Shadow
|
|
2244
|
+
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
2245
|
+
*/
|
|
2246
|
+
"inset-shadow": [{ "inset-shadow": [
|
|
2247
|
+
"none",
|
|
2248
|
+
themeInsetShadow,
|
|
2249
|
+
isArbitraryVariableShadow,
|
|
2250
|
+
isArbitraryShadow
|
|
2251
|
+
] }],
|
|
2252
|
+
/**
|
|
2253
|
+
* Inset Box Shadow Color
|
|
2254
|
+
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
2255
|
+
*/
|
|
2256
|
+
"inset-shadow-color": [{ "inset-shadow": scaleColor() }],
|
|
2257
|
+
/**
|
|
2258
|
+
* Ring Width
|
|
2259
|
+
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
2260
|
+
*/
|
|
2261
|
+
"ring-w": [{ ring: scaleBorderWidth() }],
|
|
2262
|
+
/**
|
|
2263
|
+
* Ring Width Inset
|
|
2264
|
+
* @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
|
|
2265
|
+
* @deprecated since Tailwind CSS v4.0.0
|
|
2266
|
+
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2267
|
+
*/
|
|
2268
|
+
"ring-w-inset": ["ring-inset"],
|
|
2269
|
+
/**
|
|
2270
|
+
* Ring Color
|
|
2271
|
+
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
2272
|
+
*/
|
|
2273
|
+
"ring-color": [{ ring: scaleColor() }],
|
|
2274
|
+
/**
|
|
2275
|
+
* Ring Offset Width
|
|
2276
|
+
* @see https://v3.tailwindcss.com/docs/ring-offset-width
|
|
2277
|
+
* @deprecated since Tailwind CSS v4.0.0
|
|
2278
|
+
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2279
|
+
*/
|
|
2280
|
+
"ring-offset-w": [{ "ring-offset": [isNumber, isArbitraryLength] }],
|
|
2281
|
+
/**
|
|
2282
|
+
* Ring Offset Color
|
|
2283
|
+
* @see https://v3.tailwindcss.com/docs/ring-offset-color
|
|
2284
|
+
* @deprecated since Tailwind CSS v4.0.0
|
|
2285
|
+
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2286
|
+
*/
|
|
2287
|
+
"ring-offset-color": [{ "ring-offset": scaleColor() }],
|
|
2288
|
+
/**
|
|
2289
|
+
* Inset Ring Width
|
|
2290
|
+
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
2291
|
+
*/
|
|
2292
|
+
"inset-ring-w": [{ "inset-ring": scaleBorderWidth() }],
|
|
2293
|
+
/**
|
|
2294
|
+
* Inset Ring Color
|
|
2295
|
+
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
2296
|
+
*/
|
|
2297
|
+
"inset-ring-color": [{ "inset-ring": scaleColor() }],
|
|
2298
|
+
/**
|
|
2299
|
+
* Text Shadow
|
|
2300
|
+
* @see https://tailwindcss.com/docs/text-shadow
|
|
2301
|
+
*/
|
|
2302
|
+
"text-shadow": [{ "text-shadow": [
|
|
2303
|
+
"none",
|
|
2304
|
+
themeTextShadow,
|
|
2305
|
+
isArbitraryVariableShadow,
|
|
2306
|
+
isArbitraryShadow
|
|
2307
|
+
] }],
|
|
2308
|
+
/**
|
|
2309
|
+
* Text Shadow Color
|
|
2310
|
+
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
2311
|
+
*/
|
|
2312
|
+
"text-shadow-color": [{ "text-shadow": scaleColor() }],
|
|
2313
|
+
/**
|
|
2314
|
+
* Opacity
|
|
2315
|
+
* @see https://tailwindcss.com/docs/opacity
|
|
2316
|
+
*/
|
|
2317
|
+
opacity: [{ opacity: [
|
|
2318
|
+
isNumber,
|
|
2319
|
+
isArbitraryVariable,
|
|
2320
|
+
isArbitraryValue
|
|
2321
|
+
] }],
|
|
2322
|
+
/**
|
|
2323
|
+
* Mix Blend Mode
|
|
2324
|
+
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2325
|
+
*/
|
|
2326
|
+
"mix-blend": [{ "mix-blend": [
|
|
2327
|
+
...scaleBlendMode(),
|
|
2328
|
+
"plus-darker",
|
|
2329
|
+
"plus-lighter"
|
|
2330
|
+
] }],
|
|
2331
|
+
/**
|
|
2332
|
+
* Background Blend Mode
|
|
2333
|
+
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2334
|
+
*/
|
|
2335
|
+
"bg-blend": [{ "bg-blend": scaleBlendMode() }],
|
|
2336
|
+
/**
|
|
2337
|
+
* Mask Clip
|
|
2338
|
+
* @see https://tailwindcss.com/docs/mask-clip
|
|
2339
|
+
*/
|
|
2340
|
+
"mask-clip": [{ "mask-clip": [
|
|
2341
|
+
"border",
|
|
2342
|
+
"padding",
|
|
2343
|
+
"content",
|
|
2344
|
+
"fill",
|
|
2345
|
+
"stroke",
|
|
2346
|
+
"view"
|
|
2347
|
+
] }, "mask-no-clip"],
|
|
2348
|
+
/**
|
|
2349
|
+
* Mask Composite
|
|
2350
|
+
* @see https://tailwindcss.com/docs/mask-composite
|
|
2351
|
+
*/
|
|
2352
|
+
"mask-composite": [{ mask: [
|
|
2353
|
+
"add",
|
|
2354
|
+
"subtract",
|
|
2355
|
+
"intersect",
|
|
2356
|
+
"exclude"
|
|
2357
|
+
] }],
|
|
2358
|
+
/**
|
|
2359
|
+
* Mask Image
|
|
2360
|
+
* @see https://tailwindcss.com/docs/mask-image
|
|
2361
|
+
*/
|
|
2362
|
+
"mask-image-linear-pos": [{ "mask-linear": [isNumber] }],
|
|
2363
|
+
"mask-image-linear-from-pos": [{ "mask-linear-from": scaleMaskImagePosition() }],
|
|
2364
|
+
"mask-image-linear-to-pos": [{ "mask-linear-to": scaleMaskImagePosition() }],
|
|
2365
|
+
"mask-image-linear-from-color": [{ "mask-linear-from": scaleColor() }],
|
|
2366
|
+
"mask-image-linear-to-color": [{ "mask-linear-to": scaleColor() }],
|
|
2367
|
+
"mask-image-t-from-pos": [{ "mask-t-from": scaleMaskImagePosition() }],
|
|
2368
|
+
"mask-image-t-to-pos": [{ "mask-t-to": scaleMaskImagePosition() }],
|
|
2369
|
+
"mask-image-t-from-color": [{ "mask-t-from": scaleColor() }],
|
|
2370
|
+
"mask-image-t-to-color": [{ "mask-t-to": scaleColor() }],
|
|
2371
|
+
"mask-image-r-from-pos": [{ "mask-r-from": scaleMaskImagePosition() }],
|
|
2372
|
+
"mask-image-r-to-pos": [{ "mask-r-to": scaleMaskImagePosition() }],
|
|
2373
|
+
"mask-image-r-from-color": [{ "mask-r-from": scaleColor() }],
|
|
2374
|
+
"mask-image-r-to-color": [{ "mask-r-to": scaleColor() }],
|
|
2375
|
+
"mask-image-b-from-pos": [{ "mask-b-from": scaleMaskImagePosition() }],
|
|
2376
|
+
"mask-image-b-to-pos": [{ "mask-b-to": scaleMaskImagePosition() }],
|
|
2377
|
+
"mask-image-b-from-color": [{ "mask-b-from": scaleColor() }],
|
|
2378
|
+
"mask-image-b-to-color": [{ "mask-b-to": scaleColor() }],
|
|
2379
|
+
"mask-image-l-from-pos": [{ "mask-l-from": scaleMaskImagePosition() }],
|
|
2380
|
+
"mask-image-l-to-pos": [{ "mask-l-to": scaleMaskImagePosition() }],
|
|
2381
|
+
"mask-image-l-from-color": [{ "mask-l-from": scaleColor() }],
|
|
2382
|
+
"mask-image-l-to-color": [{ "mask-l-to": scaleColor() }],
|
|
2383
|
+
"mask-image-x-from-pos": [{ "mask-x-from": scaleMaskImagePosition() }],
|
|
2384
|
+
"mask-image-x-to-pos": [{ "mask-x-to": scaleMaskImagePosition() }],
|
|
2385
|
+
"mask-image-x-from-color": [{ "mask-x-from": scaleColor() }],
|
|
2386
|
+
"mask-image-x-to-color": [{ "mask-x-to": scaleColor() }],
|
|
2387
|
+
"mask-image-y-from-pos": [{ "mask-y-from": scaleMaskImagePosition() }],
|
|
2388
|
+
"mask-image-y-to-pos": [{ "mask-y-to": scaleMaskImagePosition() }],
|
|
2389
|
+
"mask-image-y-from-color": [{ "mask-y-from": scaleColor() }],
|
|
2390
|
+
"mask-image-y-to-color": [{ "mask-y-to": scaleColor() }],
|
|
2391
|
+
"mask-image-radial": [{ "mask-radial": [isArbitraryVariable, isArbitraryValue] }],
|
|
2392
|
+
"mask-image-radial-from-pos": [{ "mask-radial-from": scaleMaskImagePosition() }],
|
|
2393
|
+
"mask-image-radial-to-pos": [{ "mask-radial-to": scaleMaskImagePosition() }],
|
|
2394
|
+
"mask-image-radial-from-color": [{ "mask-radial-from": scaleColor() }],
|
|
2395
|
+
"mask-image-radial-to-color": [{ "mask-radial-to": scaleColor() }],
|
|
2396
|
+
"mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
|
|
2397
|
+
"mask-image-radial-size": [{ "mask-radial": [{
|
|
2398
|
+
closest: ["side", "corner"],
|
|
2399
|
+
farthest: ["side", "corner"]
|
|
2400
|
+
}] }],
|
|
2401
|
+
"mask-image-radial-pos": [{ "mask-radial-at": scalePosition() }],
|
|
2402
|
+
"mask-image-conic-pos": [{ "mask-conic": [isNumber] }],
|
|
2403
|
+
"mask-image-conic-from-pos": [{ "mask-conic-from": scaleMaskImagePosition() }],
|
|
2404
|
+
"mask-image-conic-to-pos": [{ "mask-conic-to": scaleMaskImagePosition() }],
|
|
2405
|
+
"mask-image-conic-from-color": [{ "mask-conic-from": scaleColor() }],
|
|
2406
|
+
"mask-image-conic-to-color": [{ "mask-conic-to": scaleColor() }],
|
|
2407
|
+
/**
|
|
2408
|
+
* Mask Mode
|
|
2409
|
+
* @see https://tailwindcss.com/docs/mask-mode
|
|
2410
|
+
*/
|
|
2411
|
+
"mask-mode": [{ mask: [
|
|
2412
|
+
"alpha",
|
|
2413
|
+
"luminance",
|
|
2414
|
+
"match"
|
|
2415
|
+
] }],
|
|
2416
|
+
/**
|
|
2417
|
+
* Mask Origin
|
|
2418
|
+
* @see https://tailwindcss.com/docs/mask-origin
|
|
2419
|
+
*/
|
|
2420
|
+
"mask-origin": [{ "mask-origin": [
|
|
2421
|
+
"border",
|
|
2422
|
+
"padding",
|
|
2423
|
+
"content",
|
|
2424
|
+
"fill",
|
|
2425
|
+
"stroke",
|
|
2426
|
+
"view"
|
|
2427
|
+
] }],
|
|
2428
|
+
/**
|
|
2429
|
+
* Mask Position
|
|
2430
|
+
* @see https://tailwindcss.com/docs/mask-position
|
|
2431
|
+
*/
|
|
2432
|
+
"mask-position": [{ mask: scaleBgPosition() }],
|
|
2433
|
+
/**
|
|
2434
|
+
* Mask Repeat
|
|
2435
|
+
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2436
|
+
*/
|
|
2437
|
+
"mask-repeat": [{ mask: scaleBgRepeat() }],
|
|
2438
|
+
/**
|
|
2439
|
+
* Mask Size
|
|
2440
|
+
* @see https://tailwindcss.com/docs/mask-size
|
|
2441
|
+
*/
|
|
2442
|
+
"mask-size": [{ mask: scaleBgSize() }],
|
|
2443
|
+
/**
|
|
2444
|
+
* Mask Type
|
|
2445
|
+
* @see https://tailwindcss.com/docs/mask-type
|
|
2446
|
+
*/
|
|
2447
|
+
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
|
|
2448
|
+
/**
|
|
2449
|
+
* Mask Image
|
|
2450
|
+
* @see https://tailwindcss.com/docs/mask-image
|
|
2451
|
+
*/
|
|
2452
|
+
"mask-image": [{ mask: [
|
|
2453
|
+
"none",
|
|
2454
|
+
isArbitraryVariable,
|
|
2455
|
+
isArbitraryValue
|
|
2456
|
+
] }],
|
|
2457
|
+
/**
|
|
2458
|
+
* Filter
|
|
2459
|
+
* @see https://tailwindcss.com/docs/filter
|
|
2460
|
+
*/
|
|
2461
|
+
filter: [{ filter: [
|
|
2462
|
+
"",
|
|
2463
|
+
"none",
|
|
2464
|
+
isArbitraryVariable,
|
|
2465
|
+
isArbitraryValue
|
|
2466
|
+
] }],
|
|
2467
|
+
/**
|
|
2468
|
+
* Blur
|
|
2469
|
+
* @see https://tailwindcss.com/docs/blur
|
|
2470
|
+
*/
|
|
2471
|
+
blur: [{ blur: scaleBlur() }],
|
|
2472
|
+
/**
|
|
2473
|
+
* Brightness
|
|
2474
|
+
* @see https://tailwindcss.com/docs/brightness
|
|
2475
|
+
*/
|
|
2476
|
+
brightness: [{ brightness: [
|
|
2477
|
+
isNumber,
|
|
2478
|
+
isArbitraryVariable,
|
|
2479
|
+
isArbitraryValue
|
|
2480
|
+
] }],
|
|
2481
|
+
/**
|
|
2482
|
+
* Contrast
|
|
2483
|
+
* @see https://tailwindcss.com/docs/contrast
|
|
2484
|
+
*/
|
|
2485
|
+
contrast: [{ contrast: [
|
|
2486
|
+
isNumber,
|
|
2487
|
+
isArbitraryVariable,
|
|
2488
|
+
isArbitraryValue
|
|
2489
|
+
] }],
|
|
2490
|
+
/**
|
|
2491
|
+
* Drop Shadow
|
|
2492
|
+
* @see https://tailwindcss.com/docs/drop-shadow
|
|
2493
|
+
*/
|
|
2494
|
+
"drop-shadow": [{ "drop-shadow": [
|
|
2495
|
+
"",
|
|
2496
|
+
"none",
|
|
2497
|
+
themeDropShadow,
|
|
2498
|
+
isArbitraryVariableShadow,
|
|
2499
|
+
isArbitraryShadow
|
|
2500
|
+
] }],
|
|
2501
|
+
/**
|
|
2502
|
+
* Drop Shadow Color
|
|
2503
|
+
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2504
|
+
*/
|
|
2505
|
+
"drop-shadow-color": [{ "drop-shadow": scaleColor() }],
|
|
2506
|
+
/**
|
|
2507
|
+
* Grayscale
|
|
2508
|
+
* @see https://tailwindcss.com/docs/grayscale
|
|
2509
|
+
*/
|
|
2510
|
+
grayscale: [{ grayscale: [
|
|
2511
|
+
"",
|
|
2512
|
+
isNumber,
|
|
2513
|
+
isArbitraryVariable,
|
|
2514
|
+
isArbitraryValue
|
|
2515
|
+
] }],
|
|
2516
|
+
/**
|
|
2517
|
+
* Hue Rotate
|
|
2518
|
+
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2519
|
+
*/
|
|
2520
|
+
"hue-rotate": [{ "hue-rotate": [
|
|
2521
|
+
isNumber,
|
|
2522
|
+
isArbitraryVariable,
|
|
2523
|
+
isArbitraryValue
|
|
2524
|
+
] }],
|
|
2525
|
+
/**
|
|
2526
|
+
* Invert
|
|
2527
|
+
* @see https://tailwindcss.com/docs/invert
|
|
2528
|
+
*/
|
|
2529
|
+
invert: [{ invert: [
|
|
2530
|
+
"",
|
|
2531
|
+
isNumber,
|
|
2532
|
+
isArbitraryVariable,
|
|
2533
|
+
isArbitraryValue
|
|
2534
|
+
] }],
|
|
2535
|
+
/**
|
|
2536
|
+
* Saturate
|
|
2537
|
+
* @see https://tailwindcss.com/docs/saturate
|
|
2538
|
+
*/
|
|
2539
|
+
saturate: [{ saturate: [
|
|
2540
|
+
isNumber,
|
|
2541
|
+
isArbitraryVariable,
|
|
2542
|
+
isArbitraryValue
|
|
2543
|
+
] }],
|
|
2544
|
+
/**
|
|
2545
|
+
* Sepia
|
|
2546
|
+
* @see https://tailwindcss.com/docs/sepia
|
|
2547
|
+
*/
|
|
2548
|
+
sepia: [{ sepia: [
|
|
2549
|
+
"",
|
|
2550
|
+
isNumber,
|
|
2551
|
+
isArbitraryVariable,
|
|
2552
|
+
isArbitraryValue
|
|
2553
|
+
] }],
|
|
2554
|
+
/**
|
|
2555
|
+
* Backdrop Filter
|
|
2556
|
+
* @see https://tailwindcss.com/docs/backdrop-filter
|
|
2557
|
+
*/
|
|
2558
|
+
"backdrop-filter": [{ "backdrop-filter": [
|
|
2559
|
+
"",
|
|
2560
|
+
"none",
|
|
2561
|
+
isArbitraryVariable,
|
|
2562
|
+
isArbitraryValue
|
|
2563
|
+
] }],
|
|
2564
|
+
/**
|
|
2565
|
+
* Backdrop Blur
|
|
2566
|
+
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2567
|
+
*/
|
|
2568
|
+
"backdrop-blur": [{ "backdrop-blur": scaleBlur() }],
|
|
2569
|
+
/**
|
|
2570
|
+
* Backdrop Brightness
|
|
2571
|
+
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2572
|
+
*/
|
|
2573
|
+
"backdrop-brightness": [{ "backdrop-brightness": [
|
|
2574
|
+
isNumber,
|
|
2575
|
+
isArbitraryVariable,
|
|
2576
|
+
isArbitraryValue
|
|
2577
|
+
] }],
|
|
2578
|
+
/**
|
|
2579
|
+
* Backdrop Contrast
|
|
2580
|
+
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2581
|
+
*/
|
|
2582
|
+
"backdrop-contrast": [{ "backdrop-contrast": [
|
|
2583
|
+
isNumber,
|
|
2584
|
+
isArbitraryVariable,
|
|
2585
|
+
isArbitraryValue
|
|
2586
|
+
] }],
|
|
2587
|
+
/**
|
|
2588
|
+
* Backdrop Grayscale
|
|
2589
|
+
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2590
|
+
*/
|
|
2591
|
+
"backdrop-grayscale": [{ "backdrop-grayscale": [
|
|
2592
|
+
"",
|
|
2593
|
+
isNumber,
|
|
2594
|
+
isArbitraryVariable,
|
|
2595
|
+
isArbitraryValue
|
|
2596
|
+
] }],
|
|
2597
|
+
/**
|
|
2598
|
+
* Backdrop Hue Rotate
|
|
2599
|
+
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2600
|
+
*/
|
|
2601
|
+
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
|
|
2602
|
+
isNumber,
|
|
2603
|
+
isArbitraryVariable,
|
|
2604
|
+
isArbitraryValue
|
|
2605
|
+
] }],
|
|
2606
|
+
/**
|
|
2607
|
+
* Backdrop Invert
|
|
2608
|
+
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2609
|
+
*/
|
|
2610
|
+
"backdrop-invert": [{ "backdrop-invert": [
|
|
2611
|
+
"",
|
|
2612
|
+
isNumber,
|
|
2613
|
+
isArbitraryVariable,
|
|
2614
|
+
isArbitraryValue
|
|
2615
|
+
] }],
|
|
2616
|
+
/**
|
|
2617
|
+
* Backdrop Opacity
|
|
2618
|
+
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2619
|
+
*/
|
|
2620
|
+
"backdrop-opacity": [{ "backdrop-opacity": [
|
|
2621
|
+
isNumber,
|
|
2622
|
+
isArbitraryVariable,
|
|
2623
|
+
isArbitraryValue
|
|
2624
|
+
] }],
|
|
2625
|
+
/**
|
|
2626
|
+
* Backdrop Saturate
|
|
2627
|
+
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2628
|
+
*/
|
|
2629
|
+
"backdrop-saturate": [{ "backdrop-saturate": [
|
|
2630
|
+
isNumber,
|
|
2631
|
+
isArbitraryVariable,
|
|
2632
|
+
isArbitraryValue
|
|
2633
|
+
] }],
|
|
2634
|
+
/**
|
|
2635
|
+
* Backdrop Sepia
|
|
2636
|
+
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2637
|
+
*/
|
|
2638
|
+
"backdrop-sepia": [{ "backdrop-sepia": [
|
|
2639
|
+
"",
|
|
2640
|
+
isNumber,
|
|
2641
|
+
isArbitraryVariable,
|
|
2642
|
+
isArbitraryValue
|
|
2643
|
+
] }],
|
|
2644
|
+
/**
|
|
2645
|
+
* Border Collapse
|
|
2646
|
+
* @see https://tailwindcss.com/docs/border-collapse
|
|
2647
|
+
*/
|
|
2648
|
+
"border-collapse": [{ border: ["collapse", "separate"] }],
|
|
2649
|
+
/**
|
|
2650
|
+
* Border Spacing
|
|
2651
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
2652
|
+
*/
|
|
2653
|
+
"border-spacing": [{ "border-spacing": scaleUnambiguousSpacing() }],
|
|
2654
|
+
/**
|
|
2655
|
+
* Border Spacing X
|
|
2656
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
2657
|
+
*/
|
|
2658
|
+
"border-spacing-x": [{ "border-spacing-x": scaleUnambiguousSpacing() }],
|
|
2659
|
+
/**
|
|
2660
|
+
* Border Spacing Y
|
|
2661
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
2662
|
+
*/
|
|
2663
|
+
"border-spacing-y": [{ "border-spacing-y": scaleUnambiguousSpacing() }],
|
|
2664
|
+
/**
|
|
2665
|
+
* Table Layout
|
|
2666
|
+
* @see https://tailwindcss.com/docs/table-layout
|
|
2667
|
+
*/
|
|
2668
|
+
"table-layout": [{ table: ["auto", "fixed"] }],
|
|
2669
|
+
/**
|
|
2670
|
+
* Caption Side
|
|
2671
|
+
* @see https://tailwindcss.com/docs/caption-side
|
|
2672
|
+
*/
|
|
2673
|
+
caption: [{ caption: ["top", "bottom"] }],
|
|
2674
|
+
/**
|
|
2675
|
+
* Transition Property
|
|
2676
|
+
* @see https://tailwindcss.com/docs/transition-property
|
|
2677
|
+
*/
|
|
2678
|
+
transition: [{ transition: [
|
|
2679
|
+
"",
|
|
2680
|
+
"all",
|
|
2681
|
+
"colors",
|
|
2682
|
+
"opacity",
|
|
2683
|
+
"shadow",
|
|
2684
|
+
"transform",
|
|
2685
|
+
"none",
|
|
2686
|
+
isArbitraryVariable,
|
|
2687
|
+
isArbitraryValue
|
|
2688
|
+
] }],
|
|
2689
|
+
/**
|
|
2690
|
+
* Transition Behavior
|
|
2691
|
+
* @see https://tailwindcss.com/docs/transition-behavior
|
|
2692
|
+
*/
|
|
2693
|
+
"transition-behavior": [{ transition: ["normal", "discrete"] }],
|
|
2694
|
+
/**
|
|
2695
|
+
* Transition Duration
|
|
2696
|
+
* @see https://tailwindcss.com/docs/transition-duration
|
|
2697
|
+
*/
|
|
2698
|
+
duration: [{ duration: [
|
|
2699
|
+
isNumber,
|
|
2700
|
+
"initial",
|
|
2701
|
+
isArbitraryVariable,
|
|
2702
|
+
isArbitraryValue
|
|
2703
|
+
] }],
|
|
2704
|
+
/**
|
|
2705
|
+
* Transition Timing Function
|
|
2706
|
+
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2707
|
+
*/
|
|
2708
|
+
ease: [{ ease: [
|
|
2709
|
+
"linear",
|
|
2710
|
+
"initial",
|
|
2711
|
+
themeEase,
|
|
2712
|
+
isArbitraryVariable,
|
|
2713
|
+
isArbitraryValue
|
|
2714
|
+
] }],
|
|
2715
|
+
/**
|
|
2716
|
+
* Transition Delay
|
|
2717
|
+
* @see https://tailwindcss.com/docs/transition-delay
|
|
2718
|
+
*/
|
|
2719
|
+
delay: [{ delay: [
|
|
2720
|
+
isNumber,
|
|
2721
|
+
isArbitraryVariable,
|
|
2722
|
+
isArbitraryValue
|
|
2723
|
+
] }],
|
|
2724
|
+
/**
|
|
2725
|
+
* Animation
|
|
2726
|
+
* @see https://tailwindcss.com/docs/animation
|
|
2727
|
+
*/
|
|
2728
|
+
animate: [{ animate: [
|
|
2729
|
+
"none",
|
|
2730
|
+
themeAnimate,
|
|
2731
|
+
isArbitraryVariable,
|
|
2732
|
+
isArbitraryValue
|
|
2733
|
+
] }],
|
|
2734
|
+
/**
|
|
2735
|
+
* Backface Visibility
|
|
2736
|
+
* @see https://tailwindcss.com/docs/backface-visibility
|
|
2737
|
+
*/
|
|
2738
|
+
backface: [{ backface: ["hidden", "visible"] }],
|
|
2739
|
+
/**
|
|
2740
|
+
* Perspective
|
|
2741
|
+
* @see https://tailwindcss.com/docs/perspective
|
|
2742
|
+
*/
|
|
2743
|
+
perspective: [{ perspective: [
|
|
2744
|
+
themePerspective,
|
|
2745
|
+
isArbitraryVariable,
|
|
2746
|
+
isArbitraryValue
|
|
2747
|
+
] }],
|
|
2748
|
+
/**
|
|
2749
|
+
* Perspective Origin
|
|
2750
|
+
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2751
|
+
*/
|
|
2752
|
+
"perspective-origin": [{ "perspective-origin": scalePositionWithArbitrary() }],
|
|
2753
|
+
/**
|
|
2754
|
+
* Rotate
|
|
2755
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
2756
|
+
*/
|
|
2757
|
+
rotate: [{ rotate: scaleRotate() }],
|
|
2758
|
+
/**
|
|
2759
|
+
* Rotate X
|
|
2760
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
2761
|
+
*/
|
|
2762
|
+
"rotate-x": [{ "rotate-x": scaleRotate() }],
|
|
2763
|
+
/**
|
|
2764
|
+
* Rotate Y
|
|
2765
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
2766
|
+
*/
|
|
2767
|
+
"rotate-y": [{ "rotate-y": scaleRotate() }],
|
|
2768
|
+
/**
|
|
2769
|
+
* Rotate Z
|
|
2770
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
2771
|
+
*/
|
|
2772
|
+
"rotate-z": [{ "rotate-z": scaleRotate() }],
|
|
2773
|
+
/**
|
|
2774
|
+
* Scale
|
|
2775
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2776
|
+
*/
|
|
2777
|
+
scale: [{ scale: scaleScale() }],
|
|
2778
|
+
/**
|
|
2779
|
+
* Scale X
|
|
2780
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2781
|
+
*/
|
|
2782
|
+
"scale-x": [{ "scale-x": scaleScale() }],
|
|
2783
|
+
/**
|
|
2784
|
+
* Scale Y
|
|
2785
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2786
|
+
*/
|
|
2787
|
+
"scale-y": [{ "scale-y": scaleScale() }],
|
|
2788
|
+
/**
|
|
2789
|
+
* Scale Z
|
|
2790
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2791
|
+
*/
|
|
2792
|
+
"scale-z": [{ "scale-z": scaleScale() }],
|
|
2793
|
+
/**
|
|
2794
|
+
* Scale 3D
|
|
2795
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2796
|
+
*/
|
|
2797
|
+
"scale-3d": ["scale-3d"],
|
|
2798
|
+
/**
|
|
2799
|
+
* Skew
|
|
2800
|
+
* @see https://tailwindcss.com/docs/skew
|
|
2801
|
+
*/
|
|
2802
|
+
skew: [{ skew: scaleSkew() }],
|
|
2803
|
+
/**
|
|
2804
|
+
* Skew X
|
|
2805
|
+
* @see https://tailwindcss.com/docs/skew
|
|
2806
|
+
*/
|
|
2807
|
+
"skew-x": [{ "skew-x": scaleSkew() }],
|
|
2808
|
+
/**
|
|
2809
|
+
* Skew Y
|
|
2810
|
+
* @see https://tailwindcss.com/docs/skew
|
|
2811
|
+
*/
|
|
2812
|
+
"skew-y": [{ "skew-y": scaleSkew() }],
|
|
2813
|
+
/**
|
|
2814
|
+
* Transform
|
|
2815
|
+
* @see https://tailwindcss.com/docs/transform
|
|
2816
|
+
*/
|
|
2817
|
+
transform: [{ transform: [
|
|
2818
|
+
isArbitraryVariable,
|
|
2819
|
+
isArbitraryValue,
|
|
2820
|
+
"",
|
|
2821
|
+
"none",
|
|
2822
|
+
"gpu",
|
|
2823
|
+
"cpu"
|
|
2824
|
+
] }],
|
|
2825
|
+
/**
|
|
2826
|
+
* Transform Origin
|
|
2827
|
+
* @see https://tailwindcss.com/docs/transform-origin
|
|
2828
|
+
*/
|
|
2829
|
+
"transform-origin": [{ origin: scalePositionWithArbitrary() }],
|
|
2830
|
+
/**
|
|
2831
|
+
* Transform Style
|
|
2832
|
+
* @see https://tailwindcss.com/docs/transform-style
|
|
2833
|
+
*/
|
|
2834
|
+
"transform-style": [{ transform: ["3d", "flat"] }],
|
|
2835
|
+
/**
|
|
2836
|
+
* Translate
|
|
2837
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2838
|
+
*/
|
|
2839
|
+
translate: [{ translate: scaleTranslate() }],
|
|
2840
|
+
/**
|
|
2841
|
+
* Translate X
|
|
2842
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2843
|
+
*/
|
|
2844
|
+
"translate-x": [{ "translate-x": scaleTranslate() }],
|
|
2845
|
+
/**
|
|
2846
|
+
* Translate Y
|
|
2847
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2848
|
+
*/
|
|
2849
|
+
"translate-y": [{ "translate-y": scaleTranslate() }],
|
|
2850
|
+
/**
|
|
2851
|
+
* Translate Z
|
|
2852
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2853
|
+
*/
|
|
2854
|
+
"translate-z": [{ "translate-z": scaleTranslate() }],
|
|
2855
|
+
/**
|
|
2856
|
+
* Translate None
|
|
2857
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2858
|
+
*/
|
|
2859
|
+
"translate-none": ["translate-none"],
|
|
2860
|
+
/**
|
|
2861
|
+
* Zoom
|
|
2862
|
+
* @see https://tailwindcss.com/docs/zoom
|
|
2863
|
+
*/
|
|
2864
|
+
zoom: [{ zoom: [
|
|
2865
|
+
isInteger,
|
|
2866
|
+
isArbitraryVariable,
|
|
2867
|
+
isArbitraryValue
|
|
2868
|
+
] }],
|
|
2869
|
+
/**
|
|
2870
|
+
* Accent Color
|
|
2871
|
+
* @see https://tailwindcss.com/docs/accent-color
|
|
2872
|
+
*/
|
|
2873
|
+
accent: [{ accent: scaleColor() }],
|
|
2874
|
+
/**
|
|
2875
|
+
* Appearance
|
|
2876
|
+
* @see https://tailwindcss.com/docs/appearance
|
|
2877
|
+
*/
|
|
2878
|
+
appearance: [{ appearance: ["none", "auto"] }],
|
|
2879
|
+
/**
|
|
2880
|
+
* Caret Color
|
|
2881
|
+
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2882
|
+
*/
|
|
2883
|
+
"caret-color": [{ caret: scaleColor() }],
|
|
2884
|
+
/**
|
|
2885
|
+
* Color Scheme
|
|
2886
|
+
* @see https://tailwindcss.com/docs/color-scheme
|
|
2887
|
+
*/
|
|
2888
|
+
"color-scheme": [{ scheme: [
|
|
2889
|
+
"normal",
|
|
2890
|
+
"dark",
|
|
2891
|
+
"light",
|
|
2892
|
+
"light-dark",
|
|
2893
|
+
"only-dark",
|
|
2894
|
+
"only-light"
|
|
2895
|
+
] }],
|
|
2896
|
+
/**
|
|
2897
|
+
* Cursor
|
|
2898
|
+
* @see https://tailwindcss.com/docs/cursor
|
|
2899
|
+
*/
|
|
2900
|
+
cursor: [{ cursor: [
|
|
2901
|
+
"auto",
|
|
2902
|
+
"default",
|
|
2903
|
+
"pointer",
|
|
2904
|
+
"wait",
|
|
2905
|
+
"text",
|
|
2906
|
+
"move",
|
|
2907
|
+
"help",
|
|
2908
|
+
"not-allowed",
|
|
2909
|
+
"none",
|
|
2910
|
+
"context-menu",
|
|
2911
|
+
"progress",
|
|
2912
|
+
"cell",
|
|
2913
|
+
"crosshair",
|
|
2914
|
+
"vertical-text",
|
|
2915
|
+
"alias",
|
|
2916
|
+
"copy",
|
|
2917
|
+
"no-drop",
|
|
2918
|
+
"grab",
|
|
2919
|
+
"grabbing",
|
|
2920
|
+
"all-scroll",
|
|
2921
|
+
"col-resize",
|
|
2922
|
+
"row-resize",
|
|
2923
|
+
"n-resize",
|
|
2924
|
+
"e-resize",
|
|
2925
|
+
"s-resize",
|
|
2926
|
+
"w-resize",
|
|
2927
|
+
"ne-resize",
|
|
2928
|
+
"nw-resize",
|
|
2929
|
+
"se-resize",
|
|
2930
|
+
"sw-resize",
|
|
2931
|
+
"ew-resize",
|
|
2932
|
+
"ns-resize",
|
|
2933
|
+
"nesw-resize",
|
|
2934
|
+
"nwse-resize",
|
|
2935
|
+
"zoom-in",
|
|
2936
|
+
"zoom-out",
|
|
2937
|
+
isArbitraryVariable,
|
|
2938
|
+
isArbitraryValue
|
|
2939
|
+
] }],
|
|
2940
|
+
/**
|
|
2941
|
+
* Field Sizing
|
|
2942
|
+
* @see https://tailwindcss.com/docs/field-sizing
|
|
2943
|
+
*/
|
|
2944
|
+
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
|
|
2945
|
+
/**
|
|
2946
|
+
* Pointer Events
|
|
2947
|
+
* @see https://tailwindcss.com/docs/pointer-events
|
|
2948
|
+
*/
|
|
2949
|
+
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
|
|
2950
|
+
/**
|
|
2951
|
+
* Resize
|
|
2952
|
+
* @see https://tailwindcss.com/docs/resize
|
|
2953
|
+
*/
|
|
2954
|
+
resize: [{ resize: [
|
|
2955
|
+
"none",
|
|
2956
|
+
"",
|
|
2957
|
+
"y",
|
|
2958
|
+
"x"
|
|
2959
|
+
] }],
|
|
2960
|
+
/**
|
|
2961
|
+
* Scroll Behavior
|
|
2962
|
+
* @see https://tailwindcss.com/docs/scroll-behavior
|
|
2963
|
+
*/
|
|
2964
|
+
"scroll-behavior": [{ scroll: ["auto", "smooth"] }],
|
|
2965
|
+
/**
|
|
2966
|
+
* Scrollbar Thumb Color
|
|
2967
|
+
* @see https://tailwindcss.com/docs/scrollbar-color
|
|
2968
|
+
*/
|
|
2969
|
+
"scrollbar-thumb-color": [{ "scrollbar-thumb": scaleColor() }],
|
|
2970
|
+
/**
|
|
2971
|
+
* Scrollbar Track Color
|
|
2972
|
+
* @see https://tailwindcss.com/docs/scrollbar-color
|
|
2973
|
+
*/
|
|
2974
|
+
"scrollbar-track-color": [{ "scrollbar-track": scaleColor() }],
|
|
2975
|
+
/**
|
|
2976
|
+
* Scrollbar Gutter
|
|
2977
|
+
* @see https://tailwindcss.com/docs/scrollbar-gutter
|
|
2978
|
+
*/
|
|
2979
|
+
"scrollbar-gutter": [{ "scrollbar-gutter": [
|
|
2980
|
+
"auto",
|
|
2981
|
+
"stable",
|
|
2982
|
+
"both"
|
|
2983
|
+
] }],
|
|
2984
|
+
/**
|
|
2985
|
+
* Scrollbar Width
|
|
2986
|
+
* @see https://tailwindcss.com/docs/scrollbar-width
|
|
2987
|
+
*/
|
|
2988
|
+
"scrollbar-w": [{ scrollbar: [
|
|
2989
|
+
"auto",
|
|
2990
|
+
"thin",
|
|
2991
|
+
"none"
|
|
2992
|
+
] }],
|
|
2993
|
+
/**
|
|
2994
|
+
* Scroll Margin
|
|
2995
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2996
|
+
*/
|
|
2997
|
+
"scroll-m": [{ "scroll-m": scaleUnambiguousSpacing() }],
|
|
2998
|
+
/**
|
|
2999
|
+
* Scroll Margin Inline
|
|
3000
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3001
|
+
*/
|
|
3002
|
+
"scroll-mx": [{ "scroll-mx": scaleUnambiguousSpacing() }],
|
|
3003
|
+
/**
|
|
3004
|
+
* Scroll Margin Block
|
|
3005
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3006
|
+
*/
|
|
3007
|
+
"scroll-my": [{ "scroll-my": scaleUnambiguousSpacing() }],
|
|
3008
|
+
/**
|
|
3009
|
+
* Scroll Margin Inline Start
|
|
3010
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3011
|
+
*/
|
|
3012
|
+
"scroll-ms": [{ "scroll-ms": scaleUnambiguousSpacing() }],
|
|
3013
|
+
/**
|
|
3014
|
+
* Scroll Margin Inline End
|
|
3015
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3016
|
+
*/
|
|
3017
|
+
"scroll-me": [{ "scroll-me": scaleUnambiguousSpacing() }],
|
|
3018
|
+
/**
|
|
3019
|
+
* Scroll Margin Block Start
|
|
3020
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3021
|
+
*/
|
|
3022
|
+
"scroll-mbs": [{ "scroll-mbs": scaleUnambiguousSpacing() }],
|
|
3023
|
+
/**
|
|
3024
|
+
* Scroll Margin Block End
|
|
3025
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3026
|
+
*/
|
|
3027
|
+
"scroll-mbe": [{ "scroll-mbe": scaleUnambiguousSpacing() }],
|
|
3028
|
+
/**
|
|
3029
|
+
* Scroll Margin Top
|
|
3030
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3031
|
+
*/
|
|
3032
|
+
"scroll-mt": [{ "scroll-mt": scaleUnambiguousSpacing() }],
|
|
3033
|
+
/**
|
|
3034
|
+
* Scroll Margin Right
|
|
3035
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3036
|
+
*/
|
|
3037
|
+
"scroll-mr": [{ "scroll-mr": scaleUnambiguousSpacing() }],
|
|
3038
|
+
/**
|
|
3039
|
+
* Scroll Margin Bottom
|
|
3040
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3041
|
+
*/
|
|
3042
|
+
"scroll-mb": [{ "scroll-mb": scaleUnambiguousSpacing() }],
|
|
3043
|
+
/**
|
|
3044
|
+
* Scroll Margin Left
|
|
3045
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3046
|
+
*/
|
|
3047
|
+
"scroll-ml": [{ "scroll-ml": scaleUnambiguousSpacing() }],
|
|
3048
|
+
/**
|
|
3049
|
+
* Scroll Padding
|
|
3050
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3051
|
+
*/
|
|
3052
|
+
"scroll-p": [{ "scroll-p": scaleUnambiguousSpacing() }],
|
|
3053
|
+
/**
|
|
3054
|
+
* Scroll Padding Inline
|
|
3055
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3056
|
+
*/
|
|
3057
|
+
"scroll-px": [{ "scroll-px": scaleUnambiguousSpacing() }],
|
|
3058
|
+
/**
|
|
3059
|
+
* Scroll Padding Block
|
|
3060
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3061
|
+
*/
|
|
3062
|
+
"scroll-py": [{ "scroll-py": scaleUnambiguousSpacing() }],
|
|
3063
|
+
/**
|
|
3064
|
+
* Scroll Padding Inline Start
|
|
3065
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3066
|
+
*/
|
|
3067
|
+
"scroll-ps": [{ "scroll-ps": scaleUnambiguousSpacing() }],
|
|
3068
|
+
/**
|
|
3069
|
+
* Scroll Padding Inline End
|
|
3070
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3071
|
+
*/
|
|
3072
|
+
"scroll-pe": [{ "scroll-pe": scaleUnambiguousSpacing() }],
|
|
3073
|
+
/**
|
|
3074
|
+
* Scroll Padding Block Start
|
|
3075
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3076
|
+
*/
|
|
3077
|
+
"scroll-pbs": [{ "scroll-pbs": scaleUnambiguousSpacing() }],
|
|
3078
|
+
/**
|
|
3079
|
+
* Scroll Padding Block End
|
|
3080
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3081
|
+
*/
|
|
3082
|
+
"scroll-pbe": [{ "scroll-pbe": scaleUnambiguousSpacing() }],
|
|
3083
|
+
/**
|
|
3084
|
+
* Scroll Padding Top
|
|
3085
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3086
|
+
*/
|
|
3087
|
+
"scroll-pt": [{ "scroll-pt": scaleUnambiguousSpacing() }],
|
|
3088
|
+
/**
|
|
3089
|
+
* Scroll Padding Right
|
|
3090
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3091
|
+
*/
|
|
3092
|
+
"scroll-pr": [{ "scroll-pr": scaleUnambiguousSpacing() }],
|
|
3093
|
+
/**
|
|
3094
|
+
* Scroll Padding Bottom
|
|
3095
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3096
|
+
*/
|
|
3097
|
+
"scroll-pb": [{ "scroll-pb": scaleUnambiguousSpacing() }],
|
|
3098
|
+
/**
|
|
3099
|
+
* Scroll Padding Left
|
|
3100
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3101
|
+
*/
|
|
3102
|
+
"scroll-pl": [{ "scroll-pl": scaleUnambiguousSpacing() }],
|
|
3103
|
+
/**
|
|
3104
|
+
* Scroll Snap Align
|
|
3105
|
+
* @see https://tailwindcss.com/docs/scroll-snap-align
|
|
3106
|
+
*/
|
|
3107
|
+
"snap-align": [{ snap: [
|
|
3108
|
+
"start",
|
|
3109
|
+
"end",
|
|
3110
|
+
"center",
|
|
3111
|
+
"align-none"
|
|
3112
|
+
] }],
|
|
3113
|
+
/**
|
|
3114
|
+
* Scroll Snap Stop
|
|
3115
|
+
* @see https://tailwindcss.com/docs/scroll-snap-stop
|
|
3116
|
+
*/
|
|
3117
|
+
"snap-stop": [{ snap: ["normal", "always"] }],
|
|
3118
|
+
/**
|
|
3119
|
+
* Scroll Snap Type
|
|
3120
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
3121
|
+
*/
|
|
3122
|
+
"snap-type": [{ snap: [
|
|
3123
|
+
"none",
|
|
3124
|
+
"x",
|
|
3125
|
+
"y",
|
|
3126
|
+
"both"
|
|
3127
|
+
] }],
|
|
3128
|
+
/**
|
|
3129
|
+
* Scroll Snap Type Strictness
|
|
3130
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
3131
|
+
*/
|
|
3132
|
+
"snap-strictness": [{ snap: ["mandatory", "proximity"] }],
|
|
3133
|
+
/**
|
|
3134
|
+
* Touch Action
|
|
3135
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3136
|
+
*/
|
|
3137
|
+
touch: [{ touch: [
|
|
3138
|
+
"auto",
|
|
3139
|
+
"none",
|
|
3140
|
+
"manipulation"
|
|
3141
|
+
] }],
|
|
3142
|
+
/**
|
|
3143
|
+
* Touch Action X
|
|
3144
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3145
|
+
*/
|
|
3146
|
+
"touch-x": [{ "touch-pan": [
|
|
3147
|
+
"x",
|
|
3148
|
+
"left",
|
|
3149
|
+
"right"
|
|
3150
|
+
] }],
|
|
3151
|
+
/**
|
|
3152
|
+
* Touch Action Y
|
|
3153
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3154
|
+
*/
|
|
3155
|
+
"touch-y": [{ "touch-pan": [
|
|
3156
|
+
"y",
|
|
3157
|
+
"up",
|
|
3158
|
+
"down"
|
|
3159
|
+
] }],
|
|
3160
|
+
/**
|
|
3161
|
+
* Touch Action Pinch Zoom
|
|
3162
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3163
|
+
*/
|
|
3164
|
+
"touch-pz": ["touch-pinch-zoom"],
|
|
3165
|
+
/**
|
|
3166
|
+
* User Select
|
|
3167
|
+
* @see https://tailwindcss.com/docs/user-select
|
|
3168
|
+
*/
|
|
3169
|
+
select: [{ select: [
|
|
3170
|
+
"none",
|
|
3171
|
+
"text",
|
|
3172
|
+
"all",
|
|
3173
|
+
"auto"
|
|
3174
|
+
] }],
|
|
3175
|
+
/**
|
|
3176
|
+
* Will Change
|
|
3177
|
+
* @see https://tailwindcss.com/docs/will-change
|
|
3178
|
+
*/
|
|
3179
|
+
"will-change": [{ "will-change": [
|
|
3180
|
+
"auto",
|
|
3181
|
+
"scroll",
|
|
3182
|
+
"contents",
|
|
3183
|
+
"transform",
|
|
3184
|
+
isArbitraryVariable,
|
|
3185
|
+
isArbitraryValue
|
|
3186
|
+
] }],
|
|
3187
|
+
/**
|
|
3188
|
+
* Fill
|
|
3189
|
+
* @see https://tailwindcss.com/docs/fill
|
|
3190
|
+
*/
|
|
3191
|
+
fill: [{ fill: ["none", ...scaleColor()] }],
|
|
3192
|
+
/**
|
|
3193
|
+
* Stroke Width
|
|
3194
|
+
* @see https://tailwindcss.com/docs/stroke-width
|
|
3195
|
+
*/
|
|
3196
|
+
"stroke-w": [{ stroke: [
|
|
3197
|
+
isNumber,
|
|
3198
|
+
isArbitraryVariableLength,
|
|
3199
|
+
isArbitraryLength,
|
|
3200
|
+
isArbitraryNumber
|
|
3201
|
+
] }],
|
|
3202
|
+
/**
|
|
3203
|
+
* Stroke
|
|
3204
|
+
* @see https://tailwindcss.com/docs/stroke
|
|
3205
|
+
*/
|
|
3206
|
+
stroke: [{ stroke: ["none", ...scaleColor()] }],
|
|
3207
|
+
/**
|
|
3208
|
+
* Forced Color Adjust
|
|
3209
|
+
* @see https://tailwindcss.com/docs/forced-color-adjust
|
|
3210
|
+
*/
|
|
3211
|
+
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
|
|
3212
|
+
},
|
|
3213
|
+
conflictingClassGroups: {
|
|
3214
|
+
"container-named": ["container-type"],
|
|
3215
|
+
overflow: ["overflow-x", "overflow-y"],
|
|
3216
|
+
overscroll: ["overscroll-x", "overscroll-y"],
|
|
3217
|
+
inset: [
|
|
3218
|
+
"inset-x",
|
|
3219
|
+
"inset-y",
|
|
3220
|
+
"inset-bs",
|
|
3221
|
+
"inset-be",
|
|
3222
|
+
"start",
|
|
3223
|
+
"end",
|
|
3224
|
+
"top",
|
|
3225
|
+
"right",
|
|
3226
|
+
"bottom",
|
|
3227
|
+
"left"
|
|
3228
|
+
],
|
|
3229
|
+
"inset-x": ["right", "left"],
|
|
3230
|
+
"inset-y": ["top", "bottom"],
|
|
3231
|
+
flex: [
|
|
3232
|
+
"basis",
|
|
3233
|
+
"grow",
|
|
3234
|
+
"shrink"
|
|
3235
|
+
],
|
|
3236
|
+
gap: ["gap-x", "gap-y"],
|
|
3237
|
+
p: [
|
|
3238
|
+
"px",
|
|
3239
|
+
"py",
|
|
3240
|
+
"ps",
|
|
3241
|
+
"pe",
|
|
3242
|
+
"pbs",
|
|
3243
|
+
"pbe",
|
|
3244
|
+
"pt",
|
|
3245
|
+
"pr",
|
|
3246
|
+
"pb",
|
|
3247
|
+
"pl"
|
|
3248
|
+
],
|
|
3249
|
+
px: ["pr", "pl"],
|
|
3250
|
+
py: ["pt", "pb"],
|
|
3251
|
+
m: [
|
|
3252
|
+
"mx",
|
|
3253
|
+
"my",
|
|
3254
|
+
"ms",
|
|
3255
|
+
"me",
|
|
3256
|
+
"mbs",
|
|
3257
|
+
"mbe",
|
|
3258
|
+
"mt",
|
|
3259
|
+
"mr",
|
|
3260
|
+
"mb",
|
|
3261
|
+
"ml"
|
|
3262
|
+
],
|
|
3263
|
+
mx: ["mr", "ml"],
|
|
3264
|
+
my: ["mt", "mb"],
|
|
3265
|
+
size: ["w", "h"],
|
|
3266
|
+
"font-size": ["leading"],
|
|
3267
|
+
"fvn-normal": [
|
|
3268
|
+
"fvn-ordinal",
|
|
3269
|
+
"fvn-slashed-zero",
|
|
3270
|
+
"fvn-figure",
|
|
3271
|
+
"fvn-spacing",
|
|
3272
|
+
"fvn-fraction"
|
|
3273
|
+
],
|
|
3274
|
+
"fvn-ordinal": ["fvn-normal"],
|
|
3275
|
+
"fvn-slashed-zero": ["fvn-normal"],
|
|
3276
|
+
"fvn-figure": ["fvn-normal"],
|
|
3277
|
+
"fvn-spacing": ["fvn-normal"],
|
|
3278
|
+
"fvn-fraction": ["fvn-normal"],
|
|
3279
|
+
"line-clamp": ["display", "overflow"],
|
|
3280
|
+
rounded: [
|
|
3281
|
+
"rounded-s",
|
|
3282
|
+
"rounded-e",
|
|
3283
|
+
"rounded-t",
|
|
3284
|
+
"rounded-r",
|
|
3285
|
+
"rounded-b",
|
|
3286
|
+
"rounded-l",
|
|
3287
|
+
"rounded-ss",
|
|
3288
|
+
"rounded-se",
|
|
3289
|
+
"rounded-ee",
|
|
3290
|
+
"rounded-es",
|
|
3291
|
+
"rounded-tl",
|
|
3292
|
+
"rounded-tr",
|
|
3293
|
+
"rounded-br",
|
|
3294
|
+
"rounded-bl"
|
|
3295
|
+
],
|
|
3296
|
+
"rounded-s": ["rounded-ss", "rounded-es"],
|
|
3297
|
+
"rounded-e": ["rounded-se", "rounded-ee"],
|
|
3298
|
+
"rounded-t": ["rounded-tl", "rounded-tr"],
|
|
3299
|
+
"rounded-r": ["rounded-tr", "rounded-br"],
|
|
3300
|
+
"rounded-b": ["rounded-br", "rounded-bl"],
|
|
3301
|
+
"rounded-l": ["rounded-tl", "rounded-bl"],
|
|
3302
|
+
"border-spacing": ["border-spacing-x", "border-spacing-y"],
|
|
3303
|
+
"border-w": [
|
|
3304
|
+
"border-w-x",
|
|
3305
|
+
"border-w-y",
|
|
3306
|
+
"border-w-s",
|
|
3307
|
+
"border-w-e",
|
|
3308
|
+
"border-w-bs",
|
|
3309
|
+
"border-w-be",
|
|
3310
|
+
"border-w-t",
|
|
3311
|
+
"border-w-r",
|
|
3312
|
+
"border-w-b",
|
|
3313
|
+
"border-w-l"
|
|
3314
|
+
],
|
|
3315
|
+
"border-w-x": ["border-w-r", "border-w-l"],
|
|
3316
|
+
"border-w-y": ["border-w-t", "border-w-b"],
|
|
3317
|
+
"border-color": [
|
|
3318
|
+
"border-color-x",
|
|
3319
|
+
"border-color-y",
|
|
3320
|
+
"border-color-s",
|
|
3321
|
+
"border-color-e",
|
|
3322
|
+
"border-color-bs",
|
|
3323
|
+
"border-color-be",
|
|
3324
|
+
"border-color-t",
|
|
3325
|
+
"border-color-r",
|
|
3326
|
+
"border-color-b",
|
|
3327
|
+
"border-color-l"
|
|
3328
|
+
],
|
|
3329
|
+
"border-color-x": ["border-color-r", "border-color-l"],
|
|
3330
|
+
"border-color-y": ["border-color-t", "border-color-b"],
|
|
3331
|
+
translate: [
|
|
3332
|
+
"translate-x",
|
|
3333
|
+
"translate-y",
|
|
3334
|
+
"translate-none"
|
|
3335
|
+
],
|
|
3336
|
+
"translate-none": [
|
|
3337
|
+
"translate",
|
|
3338
|
+
"translate-x",
|
|
3339
|
+
"translate-y",
|
|
3340
|
+
"translate-z"
|
|
3341
|
+
],
|
|
3342
|
+
"scroll-m": [
|
|
3343
|
+
"scroll-mx",
|
|
3344
|
+
"scroll-my",
|
|
3345
|
+
"scroll-ms",
|
|
3346
|
+
"scroll-me",
|
|
3347
|
+
"scroll-mbs",
|
|
3348
|
+
"scroll-mbe",
|
|
3349
|
+
"scroll-mt",
|
|
3350
|
+
"scroll-mr",
|
|
3351
|
+
"scroll-mb",
|
|
3352
|
+
"scroll-ml"
|
|
3353
|
+
],
|
|
3354
|
+
"scroll-mx": ["scroll-mr", "scroll-ml"],
|
|
3355
|
+
"scroll-my": ["scroll-mt", "scroll-mb"],
|
|
3356
|
+
"scroll-p": [
|
|
3357
|
+
"scroll-px",
|
|
3358
|
+
"scroll-py",
|
|
3359
|
+
"scroll-ps",
|
|
3360
|
+
"scroll-pe",
|
|
3361
|
+
"scroll-pbs",
|
|
3362
|
+
"scroll-pbe",
|
|
3363
|
+
"scroll-pt",
|
|
3364
|
+
"scroll-pr",
|
|
3365
|
+
"scroll-pb",
|
|
3366
|
+
"scroll-pl"
|
|
3367
|
+
],
|
|
3368
|
+
"scroll-px": ["scroll-pr", "scroll-pl"],
|
|
3369
|
+
"scroll-py": ["scroll-pt", "scroll-pb"],
|
|
3370
|
+
touch: [
|
|
3371
|
+
"touch-x",
|
|
3372
|
+
"touch-y",
|
|
3373
|
+
"touch-pz"
|
|
3374
|
+
],
|
|
3375
|
+
"touch-x": ["touch"],
|
|
3376
|
+
"touch-y": ["touch"],
|
|
3377
|
+
"touch-pz": ["touch"]
|
|
3378
|
+
},
|
|
3379
|
+
conflictingClassGroupModifiers: { "font-size": ["leading"] },
|
|
3380
|
+
postfixLookupClassGroups: ["container-type"],
|
|
3381
|
+
orderSensitiveModifiers: [
|
|
3382
|
+
"*",
|
|
3383
|
+
"**",
|
|
3384
|
+
"after",
|
|
3385
|
+
"backdrop",
|
|
3386
|
+
"before",
|
|
3387
|
+
"details-content",
|
|
3388
|
+
"file",
|
|
3389
|
+
"first-letter",
|
|
3390
|
+
"first-line",
|
|
3391
|
+
"marker",
|
|
3392
|
+
"placeholder",
|
|
3393
|
+
"selection"
|
|
3394
|
+
]
|
|
3395
|
+
};
|
|
3396
|
+
};
|
|
3397
|
+
var twMerge = /*#__PURE__*/ createTailwindMerge(getDefaultConfig);
|
|
3398
|
+
//#endregion
|
|
3399
|
+
//#region src/cn.ts
|
|
3400
|
+
/**
|
|
3401
|
+
* Same className helper `@wesence/ui/lib/utils` ships (clsx + tailwind-merge,
|
|
3402
|
+
* last-wins conflict resolution for Tailwind utility classes). Copied rather
|
|
3403
|
+
* than imported: this package is `publishable` (see package.json distribution class) and
|
|
3404
|
+
* `@wesence/ui` is `template`-classified — `check-publishable.mjs` forbids a
|
|
3405
|
+
* publishable package from depending on a template one (a template package is
|
|
3406
|
+
* scaffold-only source, never resolvable through a real `npm install`). The
|
|
3407
|
+
* concierge components moved here needed only this one helper from
|
|
3408
|
+
* `@wesence/ui`, so a second one-line definition is cheaper than a fork of the
|
|
3409
|
+
* whole design system. See `packages/web-widget/AGENTS.md`.
|
|
3410
|
+
*/
|
|
3411
|
+
function cn(...inputs) {
|
|
3412
|
+
return twMerge(clsx(inputs));
|
|
3413
|
+
}
|
|
3414
|
+
//#endregion
|
|
3415
|
+
//#region src/bot-face.tsx
|
|
3416
|
+
function BotFace({ state = "idle", size = "sm", messageArrived = false, label }) {
|
|
3417
|
+
if (size === "lg") return /* @__PURE__ */ jsx(BotOrbLarge, {
|
|
3418
|
+
state,
|
|
3419
|
+
messageArrived,
|
|
3420
|
+
label
|
|
3421
|
+
});
|
|
3422
|
+
return /* @__PURE__ */ jsx(BotFaceSmall, {
|
|
3423
|
+
state,
|
|
3424
|
+
label
|
|
3425
|
+
});
|
|
3426
|
+
}
|
|
3427
|
+
/**
|
|
3428
|
+
* `role="img"` + a name, or nothing at all — never a name we invented.
|
|
3429
|
+
*
|
|
3430
|
+
* Exported so `rope-knot.tsx` (the 'knot' avatar) shares this exact
|
|
3431
|
+
* accessibility contract rather than redeclaring it — both avatars are
|
|
3432
|
+
* decorative-by-default for the identical reason (see this module's doc
|
|
3433
|
+
* comment), and a second copy would be free to drift.
|
|
3434
|
+
*/
|
|
3435
|
+
function labelProps(label) {
|
|
3436
|
+
return label === void 0 ? { "aria-hidden": true } : {
|
|
3437
|
+
role: "img",
|
|
3438
|
+
"aria-label": label
|
|
3439
|
+
};
|
|
3440
|
+
}
|
|
3441
|
+
function BotFaceSmall({ state, label }) {
|
|
3442
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
3443
|
+
...labelProps(label),
|
|
3444
|
+
className: "relative flex h-16 w-16 items-center justify-center rounded-3xl border border-brand-plum/10 bg-card/90 p-0 backdrop-blur-md",
|
|
3445
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
3446
|
+
"aria-hidden": true,
|
|
3447
|
+
className: cn("absolute inset-0 rounded-3xl bg-gradient-to-tr from-brand-rose/12 via-brand-amber/8 to-brand-plum/8 blur-md transition-opacity duration-500", state === "speaking" && "opacity-90 animate-[bot-halo-speak_1.8s_ease-in-out_infinite]", state === "listening" && "opacity-75 animate-[bot-halo-listen_2.2s_ease-in-out_infinite]", state === "thinking" && "opacity-55", state === "idle" && "opacity-45")
|
|
3448
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
3449
|
+
className: "relative z-10 flex h-full w-full flex-col items-center justify-center rounded-2xl border border-brand-plum/10 bg-gradient-to-b from-white/80 to-brand-rose/[0.03]",
|
|
3450
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
3451
|
+
className: "relative flex h-4 w-9 items-center justify-center overflow-hidden rounded-full bg-brand-plum shadow-[inset_0_1px_4px_rgba(0,0,0,0.4)]",
|
|
3452
|
+
children: [/* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-gradient-to-r from-transparent via-brand-rose/25 to-transparent animate-[scan_4s_ease-in-out_infinite]" }), /* @__PURE__ */ jsx("div", { className: "relative h-0.5 w-full rounded-full bg-brand-amber animate-[pulse-glow_3s_ease-in-out_infinite]" })]
|
|
3453
|
+
})
|
|
3454
|
+
})]
|
|
3455
|
+
});
|
|
3456
|
+
}
|
|
3457
|
+
/**
|
|
3458
|
+
* The orb inside the open panel.
|
|
3459
|
+
*
|
|
3460
|
+
* 96px, down from 160px. The orb is the panel's largest ornament and at its
|
|
3461
|
+
* original size it took the top quarter of a 520px panel before a single line
|
|
3462
|
+
* of conversation appeared — most of the first screen on a phone. The
|
|
3463
|
+
* transcript is the product; the ornament gets the smaller share.
|
|
3464
|
+
*
|
|
3465
|
+
* Resized in the markup rather than by wrapping the old size in a `scale-*`: a
|
|
3466
|
+
* transform shrinks what you SEE and changes nothing about the space taken, so
|
|
3467
|
+
* the panel would have kept a 160px row it no longer draws into. That is the
|
|
3468
|
+
* same trap the product widget's old header fell into.
|
|
3469
|
+
*/
|
|
3470
|
+
function BotOrbLarge({ state, messageArrived, label }) {
|
|
3471
|
+
const speaking = state === "speaking";
|
|
3472
|
+
const listening = state === "listening";
|
|
3473
|
+
const thinking = state === "thinking";
|
|
3474
|
+
const idle = state === "idle";
|
|
3475
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
3476
|
+
...labelProps(label),
|
|
3477
|
+
className: cn("relative flex h-24 w-24 items-center justify-center", messageArrived && "animate-[bot-nod_0.4s_ease-out]"),
|
|
3478
|
+
children: [
|
|
3479
|
+
/* @__PURE__ */ jsx("div", {
|
|
3480
|
+
"aria-hidden": true,
|
|
3481
|
+
className: cn("absolute inset-0 rounded-full blur-2xl transition-opacity duration-500", "bg-[radial-gradient(circle,color-mix(in_oklab,var(--brand-amber)_12%,transparent),color-mix(in_oklab,var(--brand-rose)_7%,transparent)_55%,transparent_75%)]", speaking && "opacity-70 animate-[bot-halo-speak_1.4s_ease-in-out_infinite]", listening && "opacity-55 animate-[bot-halo-listen_2.2s_ease-in-out_infinite]", thinking && "opacity-40", idle && "opacity-30")
|
|
3482
|
+
}),
|
|
3483
|
+
(speaking || listening) && /* @__PURE__ */ jsx("div", {
|
|
3484
|
+
"aria-hidden": true,
|
|
3485
|
+
className: cn("absolute inset-1 rounded-full ring-2", speaking ? "ring-brand-amber/50 animate-[bot-ring-speak_1.4s_ease-in-out_infinite]" : "ring-brand-rose/50 animate-[bot-ring-listen_2.2s_ease-in-out_infinite]")
|
|
3486
|
+
}),
|
|
3487
|
+
/* @__PURE__ */ jsxs("div", {
|
|
3488
|
+
className: cn("relative h-[4.8rem] w-[4.8rem]", !speaking && !thinking && !messageArrived && "animate-[bot-breathe_4s_ease-in-out_infinite]"),
|
|
3489
|
+
children: [
|
|
3490
|
+
/* @__PURE__ */ jsxs("svg", {
|
|
3491
|
+
viewBox: "0 0 120 120",
|
|
3492
|
+
className: "absolute inset-0 h-full w-full overflow-visible",
|
|
3493
|
+
"aria-hidden": true,
|
|
3494
|
+
children: [
|
|
3495
|
+
/* @__PURE__ */ jsxs("defs", { children: [
|
|
3496
|
+
/* @__PURE__ */ jsxs("linearGradient", {
|
|
3497
|
+
id: "blobGradA",
|
|
3498
|
+
x1: "0",
|
|
3499
|
+
y1: "0",
|
|
3500
|
+
x2: "1",
|
|
3501
|
+
y2: "1",
|
|
3502
|
+
children: [
|
|
3503
|
+
/* @__PURE__ */ jsx("stop", {
|
|
3504
|
+
offset: "0%",
|
|
3505
|
+
stopColor: "var(--brand-plum)",
|
|
3506
|
+
stopOpacity: "0.85"
|
|
3507
|
+
}),
|
|
3508
|
+
/* @__PURE__ */ jsx("stop", {
|
|
3509
|
+
offset: "60%",
|
|
3510
|
+
stopColor: "var(--brand-rose)",
|
|
3511
|
+
stopOpacity: "0.7"
|
|
3512
|
+
}),
|
|
3513
|
+
/* @__PURE__ */ jsx("stop", {
|
|
3514
|
+
offset: "100%",
|
|
3515
|
+
stopColor: "var(--brand-amber)",
|
|
3516
|
+
stopOpacity: "0.8"
|
|
3517
|
+
})
|
|
3518
|
+
]
|
|
3519
|
+
}),
|
|
3520
|
+
/* @__PURE__ */ jsxs("linearGradient", {
|
|
3521
|
+
id: "blobGradB",
|
|
3522
|
+
x1: "1",
|
|
3523
|
+
y1: "0",
|
|
3524
|
+
x2: "0",
|
|
3525
|
+
y2: "1",
|
|
3526
|
+
children: [
|
|
3527
|
+
/* @__PURE__ */ jsx("stop", {
|
|
3528
|
+
offset: "0%",
|
|
3529
|
+
stopColor: "var(--brand-amber)",
|
|
3530
|
+
stopOpacity: "0.75"
|
|
3531
|
+
}),
|
|
3532
|
+
/* @__PURE__ */ jsx("stop", {
|
|
3533
|
+
offset: "55%",
|
|
3534
|
+
stopColor: "var(--brand-rose)",
|
|
3535
|
+
stopOpacity: "0.55"
|
|
3536
|
+
}),
|
|
3537
|
+
/* @__PURE__ */ jsx("stop", {
|
|
3538
|
+
offset: "100%",
|
|
3539
|
+
stopColor: "var(--brand-plum)",
|
|
3540
|
+
stopOpacity: "0.7"
|
|
3541
|
+
})
|
|
3542
|
+
]
|
|
3543
|
+
}),
|
|
3544
|
+
/* @__PURE__ */ jsxs("radialGradient", {
|
|
3545
|
+
id: "coreGrad",
|
|
3546
|
+
cx: "50%",
|
|
3547
|
+
cy: "50%",
|
|
3548
|
+
r: "50%",
|
|
3549
|
+
children: [
|
|
3550
|
+
/* @__PURE__ */ jsx("stop", {
|
|
3551
|
+
offset: "0%",
|
|
3552
|
+
stopColor: "var(--brand-amber)",
|
|
3553
|
+
stopOpacity: "0.95"
|
|
3554
|
+
}),
|
|
3555
|
+
/* @__PURE__ */ jsx("stop", {
|
|
3556
|
+
offset: "55%",
|
|
3557
|
+
stopColor: "var(--brand-rose)",
|
|
3558
|
+
stopOpacity: "0.35"
|
|
3559
|
+
}),
|
|
3560
|
+
/* @__PURE__ */ jsx("stop", {
|
|
3561
|
+
offset: "100%",
|
|
3562
|
+
stopColor: "var(--brand-plum)",
|
|
3563
|
+
stopOpacity: "0"
|
|
3564
|
+
})
|
|
3565
|
+
]
|
|
3566
|
+
})
|
|
3567
|
+
] }),
|
|
3568
|
+
/* @__PURE__ */ jsx("g", {
|
|
3569
|
+
style: { transformOrigin: "60px 60px" },
|
|
3570
|
+
className: cn(speaking ? "animate-[bot-blob-speak-a_1.6s_ease-in-out_infinite]" : "animate-[bot-blob-a_7s_ease-in-out_infinite]"),
|
|
3571
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
3572
|
+
d: "M60 12 C 88 14, 108 34, 106 62 C 104 90, 82 108, 58 106 C 30 104, 14 82, 16 56 C 18 30, 36 12, 60 12 Z",
|
|
3573
|
+
fill: "url(#blobGradA)",
|
|
3574
|
+
opacity: "0.55"
|
|
3575
|
+
})
|
|
3576
|
+
}),
|
|
3577
|
+
/* @__PURE__ */ jsx("g", {
|
|
3578
|
+
style: { transformOrigin: "60px 60px" },
|
|
3579
|
+
className: cn(speaking ? "animate-[bot-blob-speak-b_1.4s_ease-in-out_infinite]" : "animate-[bot-blob-b_9s_ease-in-out_infinite]"),
|
|
3580
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
3581
|
+
d: "M60 18 C 84 16, 104 38, 102 62 C 100 86, 78 102, 58 100 C 34 98, 20 78, 22 58 C 24 36, 40 20, 60 18 Z",
|
|
3582
|
+
fill: "url(#blobGradB)",
|
|
3583
|
+
opacity: "0.45"
|
|
3584
|
+
})
|
|
3585
|
+
}),
|
|
3586
|
+
/* @__PURE__ */ jsx("circle", {
|
|
3587
|
+
cx: "60",
|
|
3588
|
+
cy: "60",
|
|
3589
|
+
r: "46",
|
|
3590
|
+
fill: "none",
|
|
3591
|
+
stroke: "url(#blobGradA)",
|
|
3592
|
+
strokeWidth: "1.2",
|
|
3593
|
+
opacity: "0.6"
|
|
3594
|
+
}),
|
|
3595
|
+
/* @__PURE__ */ jsx("circle", {
|
|
3596
|
+
cx: "60",
|
|
3597
|
+
cy: "60",
|
|
3598
|
+
r: "18",
|
|
3599
|
+
fill: "url(#coreGrad)",
|
|
3600
|
+
className: cn(speaking && "animate-[bot-core-pulse_0.9s_ease-in-out_infinite]"),
|
|
3601
|
+
style: { transformOrigin: "60px 60px" }
|
|
3602
|
+
})
|
|
3603
|
+
]
|
|
3604
|
+
}),
|
|
3605
|
+
/* @__PURE__ */ jsx("div", {
|
|
3606
|
+
className: "absolute inset-0 flex items-center justify-center",
|
|
3607
|
+
children: /* @__PURE__ */ jsx("div", { className: cn("h-1 w-[2.1rem] rounded-full bg-brand-amber shadow-[0_0_12px_color-mix(in_oklab,var(--brand-amber)_55%,transparent)]", speaking ? "animate-[eye-speak-stretch_0.7s_ease-in-out_infinite]" : listening ? "animate-[pulse-glow_1.6s_ease-in-out_infinite]" : idle ? "animate-[eye-idle-drift_5s_ease-in-out_infinite]" : "animate-[pulse-glow_3s_ease-in-out_infinite]") })
|
|
3608
|
+
}),
|
|
3609
|
+
idle && /* @__PURE__ */ jsx("div", {
|
|
3610
|
+
"aria-hidden": true,
|
|
3611
|
+
className: "absolute inset-0 flex items-center justify-center overflow-hidden rounded-full",
|
|
3612
|
+
children: /* @__PURE__ */ jsx("div", { className: "h-px w-12 rounded-full bg-brand-rose/40 shadow-[0_0_8px_color-mix(in_oklab,var(--brand-rose)_60%,transparent)] animate-[bot-idle-scan_6s_ease-in-out_infinite]" })
|
|
3613
|
+
}),
|
|
3614
|
+
thinking && /* @__PURE__ */ jsxs("div", {
|
|
3615
|
+
"aria-hidden": true,
|
|
3616
|
+
className: "absolute inset-0 animate-[bot-orbit_1.6s_linear_infinite]",
|
|
3617
|
+
style: { transformOrigin: "50% 50%" },
|
|
3618
|
+
children: [
|
|
3619
|
+
/* @__PURE__ */ jsx("span", { className: "absolute left-1/2 top-1 -ml-0.5 h-1 w-1 rounded-full bg-brand-rose shadow-[0_0_6px_color-mix(in_oklab,var(--brand-rose)_55%,transparent)]" }),
|
|
3620
|
+
/* @__PURE__ */ jsx("span", { className: "absolute right-1.5 top-1/2 -mt-0.5 h-1 w-1 rounded-full bg-brand-amber/80" }),
|
|
3621
|
+
/* @__PURE__ */ jsx("span", { className: "absolute left-1.5 top-1/2 -mt-0.5 h-1 w-1 rounded-full bg-brand-plum/70" })
|
|
3622
|
+
]
|
|
3623
|
+
})
|
|
3624
|
+
]
|
|
3625
|
+
})
|
|
3626
|
+
]
|
|
3627
|
+
});
|
|
3628
|
+
}
|
|
3629
|
+
//#endregion
|
|
3630
|
+
//#region src/rope-knot.tsx
|
|
3631
|
+
/**
|
|
3632
|
+
* The `'knot'` avatar — a single hand-drawn line that loops through itself
|
|
3633
|
+
* into a knot, in the two sizes the widget uses (`sm` trigger, `lg` panel
|
|
3634
|
+
* orb-slot) and the same four {@link BotState}s `BotFace` (the `'orb'`
|
|
3635
|
+
* avatar) renders. Selected per tenant via `appearance.avatar` — see
|
|
3636
|
+
* `avatar.ts` — and otherwise a drop-in for `BotFace` at every call site:
|
|
3637
|
+
* same `state`/`size`/`label` contract, same `labelProps` accessibility rule
|
|
3638
|
+
* (imported from `bot-face.tsx` rather than redeclared).
|
|
3639
|
+
*
|
|
3640
|
+
* Ported from the Lovable prototype's `RopeKnot.tsx`.
|
|
3641
|
+
*
|
|
3642
|
+
* ## Why the colour vars are declared HERE, not in `concierge.css`
|
|
3643
|
+
*
|
|
3644
|
+
* The rope's colour is never hardcoded — `--knot-ink` and its
|
|
3645
|
+
* `-faint`/`-halo`/`-surface` derivatives alias `--brand-plum`, the same
|
|
3646
|
+
* tenant-config-driven variable `BotFace`'s gradient reads. They used to
|
|
3647
|
+
* live in a `:root { --knot-ink: var(--brand-plum, …); … }` block in
|
|
3648
|
+
* `concierge.css`, which was broken two ways at once: `:root` matches
|
|
3649
|
+
* nothing inside the CDN embed's shadow tree (the tenant's brand colours
|
|
3650
|
+
* never reach a shadow-mounted widget at all), and even in light DOM, a
|
|
3651
|
+
* `--x: var(--y)` declaration resolves `var(--y)` using the DECLARING
|
|
3652
|
+
* element's own cascade AT THAT MOMENT — `:root` has no tenant override on
|
|
3653
|
+
* it, that override lives on a DESCENDANT (`ConciergeShell`'s
|
|
3654
|
+
* `skinStyle`-carrying wrapper), so every tenant silently got the built-in
|
|
3655
|
+
* plum default regardless of what they published.
|
|
3656
|
+
*
|
|
3657
|
+
* `RopeKnotFrame`'s own root div is always rendered somewhere INSIDE that
|
|
3658
|
+
* `skinStyle` wrapper (`ConciergeShell` renders both the panel orb and,
|
|
3659
|
+
* via `ConciergeLauncher`, the collapsed pill, and both sit inside the one
|
|
3660
|
+
* `<div data-skin style={skinStyle}>` root). Declaring the vars on THIS
|
|
3661
|
+
* element via inline `style` means `var(--brand-plum, …)` resolves using
|
|
3662
|
+
* THIS element's own cascade — which, by the time render reaches here, has
|
|
3663
|
+
* already inherited whatever override the ancestor set. Everything BELOW
|
|
3664
|
+
* this div (the halo, the svg, the drawn path) then just inherits the
|
|
3665
|
+
* already-resolved values normally, in both light and shadow DOM, no
|
|
3666
|
+
* selector needed at all. Same fix `concierge.css`'s own `@theme inline`
|
|
3667
|
+
* block uses for `--color-brand-plum` (see that block's doc comment) —
|
|
3668
|
+
* "resolve where it's used," not "resolve once at the top."
|
|
3669
|
+
*
|
|
3670
|
+
* ## The crossfade
|
|
3671
|
+
*
|
|
3672
|
+
* Every state change freezes the `stroke-dasharray` the rope was showing —
|
|
3673
|
+
* read directly off the live element via `getComputedStyle` at the instant
|
|
3674
|
+
* the state actually changes — into `--rk-from`, then remounts the drawn
|
|
3675
|
+
* path so the incoming state's `rk-blend-to-*` animation eases OUT of that
|
|
3676
|
+
* exact shape instead of snapping back to the self-tying intro. This is a
|
|
3677
|
+
* single synchronous read inside the state-change effect, not a polling
|
|
3678
|
+
* loop: a CSS animation keeps an element's OWN computed style live at every
|
|
3679
|
+
* instant, so there is nothing to gain by sampling continuously, and a
|
|
3680
|
+
* `requestAnimationFrame` loop that ran forever — for the life of the
|
|
3681
|
+
* component, including a launcher pill that never leaves `state="idle"` and
|
|
3682
|
+
* can never blend at all, and regardless of `prefers-reduced-motion`, where
|
|
3683
|
+
* the dash never even changes — was a real cost on a merchant's page for no
|
|
3684
|
+
* benefit.
|
|
3685
|
+
*/
|
|
3686
|
+
var KNOT_PATH = "M2 54 C15 54 24 55 31 53 C40 50 44 40 54 41 C64 42 67 51 60 57 C52 64 38 64 33 57 C29 51 34 45 42 46 C50 47 58 52 68 53.5 C80 55 90 54 98 54";
|
|
3687
|
+
/** Short pulse rider used while listening/thinking. Dash-array sum equals `pathLength={100}`. */
|
|
3688
|
+
var PULSE_DASH = "9 91";
|
|
3689
|
+
/**
|
|
3690
|
+
* The colour vars every layer below reads — declared once, as inline style,
|
|
3691
|
+
* on `RopeKnotFrame`'s own root (see this module's doc comment for why not
|
|
3692
|
+
* `concierge.css`'s `:root`).
|
|
3693
|
+
*
|
|
3694
|
+
* `color-mix()` has no literal fallback here, consistent with the rest of
|
|
3695
|
+
* this package: `concierge-shell.tsx`'s glow/shadow effects and
|
|
3696
|
+
* `bot-face.tsx`'s halo already use unguarded `color-mix()` throughout, with
|
|
3697
|
+
* no `@supports` branch anywhere in this codebase. Adding one just for the
|
|
3698
|
+
* knot would be new, inconsistent machinery for a real but narrow gap — of
|
|
3699
|
+
* this widget's stated browser floor (`AGENTS.md` → "The browser floor",
|
|
3700
|
+
* ~March 2023), only the FLOOR's exact Chrome version (110) predates
|
|
3701
|
+
* `color-mix()` (Chrome 111); Safari's floor (16.4) and Firefox's (115) both
|
|
3702
|
+
* postdate their own `color-mix()` landings (16.2, 113). The honest
|
|
3703
|
+
* degradation on that one version: `stroke`/`background` are inherited
|
|
3704
|
+
* properties, so an unresolvable `var()` falls back to the inherited value
|
|
3705
|
+
* (effectively transparent/unset) rather than to solid ink — a fainter knot,
|
|
3706
|
+
* not a broken one.
|
|
3707
|
+
*/
|
|
3708
|
+
var KNOT_COLOR_VARS = {
|
|
3709
|
+
["--knot-ink"]: "var(--brand-plum, oklch(0.34 0.0728 128.34))",
|
|
3710
|
+
["--knot-ink-faint"]: "color-mix(in oklab, var(--knot-ink) 12%, transparent)",
|
|
3711
|
+
["--knot-halo"]: "color-mix(in oklab, var(--knot-ink) 12%, transparent)",
|
|
3712
|
+
["--knot-surface"]: "color-mix(in oklab, var(--knot-ink) 4%, var(--widget-card, oklch(0.99 0 0)))"
|
|
3713
|
+
};
|
|
3714
|
+
var PULSE_SPEED = {
|
|
3715
|
+
idle: "0s",
|
|
3716
|
+
listening: "2.2s",
|
|
3717
|
+
thinking: "1.6s",
|
|
3718
|
+
speaking: "1.1s"
|
|
3719
|
+
};
|
|
3720
|
+
function RopeKnot({ state = "idle", size = "sm", label, tightenKey = 0 }) {
|
|
3721
|
+
if (size === "lg") return /* @__PURE__ */ jsx(RopeKnotFrame, {
|
|
3722
|
+
state,
|
|
3723
|
+
label,
|
|
3724
|
+
tightenKey,
|
|
3725
|
+
outerClassName: "flex h-24 w-24 items-center justify-center",
|
|
3726
|
+
artClassName: "h-[4.8rem] w-[4.8rem]"
|
|
3727
|
+
});
|
|
3728
|
+
return /* @__PURE__ */ jsx(RopeKnotFrame, {
|
|
3729
|
+
state,
|
|
3730
|
+
label,
|
|
3731
|
+
tightenKey,
|
|
3732
|
+
outerClassName: "relative flex h-16 w-16 items-center justify-center rounded-3xl border border-brand-plum/10 bg-card/90 p-0 backdrop-blur-md",
|
|
3733
|
+
artClassName: "h-full w-full",
|
|
3734
|
+
chrome: true
|
|
3735
|
+
});
|
|
3736
|
+
}
|
|
3737
|
+
/**
|
|
3738
|
+
* The halo + sway wrapper both sizes share, and the ONE structural
|
|
3739
|
+
* difference between them: the small trigger carries `BotFaceSmall`'s card
|
|
3740
|
+
* chrome (border, blurred backdrop, rounded corners) so swapping avatars
|
|
3741
|
+
* never changes the trigger's frame — only what is drawn inside it. The
|
|
3742
|
+
* large slot carries none of that; `ConciergeShell` already gives the orb
|
|
3743
|
+
* slot its own ground (see that file's "opaque ground under the orb").
|
|
3744
|
+
*/
|
|
3745
|
+
function RopeKnotFrame({ state, label, tightenKey, outerClassName, artClassName, chrome = false }) {
|
|
3746
|
+
const halo = /* @__PURE__ */ jsx("div", {
|
|
3747
|
+
"aria-hidden": true,
|
|
3748
|
+
className: cn("pointer-events-none absolute inset-0 rounded-full bg-[radial-gradient(circle,var(--knot-halo),transparent_70%)] blur-md transition-opacity duration-500", state === "idle" && "opacity-0", state === "listening" && "rk-halo opacity-70", state === "thinking" && "opacity-40", state === "speaking" && "rk-halo opacity-60")
|
|
3749
|
+
});
|
|
3750
|
+
/**
|
|
3751
|
+
* Restarts the `rk-tighten` cinch on every `tightenKey` bump WITHOUT
|
|
3752
|
+
* remounting `KnotSvg` — this used to be `<div key={tightenKey}>`, which
|
|
3753
|
+
* looks like the obvious way to "replay" a CSS animation but tears down
|
|
3754
|
+
* and rebuilds the ENTIRE subtree underneath it on every bump. `KnotSvg`
|
|
3755
|
+
* carries the crossfade state (`blend`/`fromDash`/`tap`) in refs and
|
|
3756
|
+
* state that a remount wipes to their initial values — so a tighten
|
|
3757
|
+
* pulse that happened to land in the SAME commit as a state change (a
|
|
3758
|
+
* real, deterministic sequence: `useChatSession.sendText` sets the
|
|
3759
|
+
* transcript and flips `awaitingAgent` in one batch, which is exactly
|
|
3760
|
+
* `messageArrived`'s rising edge — `concierge-shell.tsx`'s tighten
|
|
3761
|
+
* trigger — landing together with a `listening` → `thinking` state
|
|
3762
|
+
* transition) both skipped the crossfade AND replayed the self-tying
|
|
3763
|
+
* intro from scratch, because the remount reset `blend` to 0.
|
|
3764
|
+
*
|
|
3765
|
+
* The fix is the standard "restart a CSS animation without touching the
|
|
3766
|
+
* DOM subtree" technique: remove the class, force a synchronous reflow
|
|
3767
|
+
* (reading `offsetWidth` — the read is what forces the browser to flush
|
|
3768
|
+
* layout, so the SUBSEQUENT class add is seen as a genuinely NEW
|
|
3769
|
+
* animation start rather than a no-op), then re-add it. `KnotSvg` is
|
|
3770
|
+
* never unmounted, so its own state survives untouched.
|
|
3771
|
+
*/
|
|
3772
|
+
const artRef = useRef(null);
|
|
3773
|
+
const prevTighten = useRef(tightenKey);
|
|
3774
|
+
useEffect(() => {
|
|
3775
|
+
if (tightenKey === prevTighten.current) return;
|
|
3776
|
+
prevTighten.current = tightenKey;
|
|
3777
|
+
const el = artRef.current;
|
|
3778
|
+
if (!el) return;
|
|
3779
|
+
el.classList.remove("rk-tighten");
|
|
3780
|
+
el.offsetWidth;
|
|
3781
|
+
el.classList.add("rk-tighten");
|
|
3782
|
+
}, [tightenKey]);
|
|
3783
|
+
const art = /* @__PURE__ */ jsx("div", {
|
|
3784
|
+
ref: artRef,
|
|
3785
|
+
className: cn("rk-tighten relative", artClassName),
|
|
3786
|
+
children: /* @__PURE__ */ jsx(KnotSvg, {
|
|
3787
|
+
state,
|
|
3788
|
+
tightenKey
|
|
3789
|
+
})
|
|
3790
|
+
});
|
|
3791
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
3792
|
+
...labelProps(label),
|
|
3793
|
+
className: cn("rk-sway relative", outerClassName),
|
|
3794
|
+
style: {
|
|
3795
|
+
...KNOT_COLOR_VARS,
|
|
3796
|
+
animationDuration: state === "idle" ? "6s" : "7s"
|
|
3797
|
+
},
|
|
3798
|
+
children: [halo, chrome ? /* @__PURE__ */ jsx("div", {
|
|
3799
|
+
className: "relative z-10 flex h-full w-full items-center justify-center rounded-2xl border border-brand-plum/10 bg-[var(--knot-surface)]",
|
|
3800
|
+
children: art
|
|
3801
|
+
}) : art]
|
|
3802
|
+
});
|
|
3803
|
+
}
|
|
3804
|
+
/** The drawn line itself — the part of the source `RopeKnot` component with no size opinion. */
|
|
3805
|
+
function KnotSvg({ state, tightenKey }) {
|
|
3806
|
+
const glowId = `rk-glow${useId()}`;
|
|
3807
|
+
const pathRef = useRef(null);
|
|
3808
|
+
const prev = useRef(state);
|
|
3809
|
+
const [blend, setBlend] = useState(0);
|
|
3810
|
+
const fromDash = useRef("100 0 0");
|
|
3811
|
+
useEffect(() => {
|
|
3812
|
+
if (prev.current === state) return;
|
|
3813
|
+
prev.current = state;
|
|
3814
|
+
const el = pathRef.current;
|
|
3815
|
+
if (el) {
|
|
3816
|
+
const d = getComputedStyle(el).strokeDasharray;
|
|
3817
|
+
if (d && d !== "none") fromDash.current = d.replace(/px/g, "");
|
|
3818
|
+
}
|
|
3819
|
+
setBlend((b) => b + 1);
|
|
3820
|
+
}, [state]);
|
|
3821
|
+
const [tap, setTap] = useState(false);
|
|
3822
|
+
useEffect(() => {
|
|
3823
|
+
if (tightenKey === 0) return;
|
|
3824
|
+
setTap(true);
|
|
3825
|
+
const t = setTimeout(() => setTap(false), 750);
|
|
3826
|
+
return () => clearTimeout(t);
|
|
3827
|
+
}, [tightenKey]);
|
|
3828
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
3829
|
+
viewBox: "0 0 100 100",
|
|
3830
|
+
className: cn("h-full w-full overflow-visible", state === "thinking" && "rk-thinking"),
|
|
3831
|
+
children: [
|
|
3832
|
+
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs("linearGradient", {
|
|
3833
|
+
id: glowId,
|
|
3834
|
+
x1: "0",
|
|
3835
|
+
y1: "0",
|
|
3836
|
+
x2: "1",
|
|
3837
|
+
y2: "0",
|
|
3838
|
+
children: [
|
|
3839
|
+
/* @__PURE__ */ jsx("stop", {
|
|
3840
|
+
offset: "0%",
|
|
3841
|
+
stopColor: "var(--knot-ink)",
|
|
3842
|
+
stopOpacity: "0"
|
|
3843
|
+
}),
|
|
3844
|
+
/* @__PURE__ */ jsx("stop", {
|
|
3845
|
+
offset: "50%",
|
|
3846
|
+
stopColor: "var(--knot-ink)",
|
|
3847
|
+
stopOpacity: "1"
|
|
3848
|
+
}),
|
|
3849
|
+
/* @__PURE__ */ jsx("stop", {
|
|
3850
|
+
offset: "100%",
|
|
3851
|
+
stopColor: "var(--knot-ink)",
|
|
3852
|
+
stopOpacity: "0"
|
|
3853
|
+
})
|
|
3854
|
+
]
|
|
3855
|
+
}) }),
|
|
3856
|
+
/* @__PURE__ */ jsx("path", {
|
|
3857
|
+
d: KNOT_PATH,
|
|
3858
|
+
fill: "none",
|
|
3859
|
+
stroke: "var(--knot-ink-faint)",
|
|
3860
|
+
strokeWidth: "3",
|
|
3861
|
+
strokeLinecap: "round",
|
|
3862
|
+
className: cn("transition-opacity duration-500", state === "listening" ? "opacity-100" : "opacity-60")
|
|
3863
|
+
}),
|
|
3864
|
+
/* @__PURE__ */ jsx("path", {
|
|
3865
|
+
ref: pathRef,
|
|
3866
|
+
d: KNOT_PATH,
|
|
3867
|
+
pathLength: 100,
|
|
3868
|
+
style: { ["--rk-from"]: fromDash.current },
|
|
3869
|
+
className: cn("rk-draw", state === "idle" && "rk-idle", state === "listening" && "rk-listening", state === "thinking" && "rk-thread", state === "speaking" && "rk-speaking", blend > 0 && !tap && "rk-blend", tap && "rk-tap"),
|
|
3870
|
+
fill: "none",
|
|
3871
|
+
stroke: "var(--knot-ink)",
|
|
3872
|
+
strokeLinecap: "round",
|
|
3873
|
+
strokeLinejoin: "round"
|
|
3874
|
+
}, blend),
|
|
3875
|
+
state !== "idle" && /* @__PURE__ */ jsx("path", {
|
|
3876
|
+
d: KNOT_PATH,
|
|
3877
|
+
pathLength: 100,
|
|
3878
|
+
className: cn("rk-pulse transition-opacity duration-500", state === "speaking" ? "opacity-0" : "opacity-100"),
|
|
3879
|
+
style: { animationDuration: PULSE_SPEED[state] },
|
|
3880
|
+
fill: "none",
|
|
3881
|
+
stroke: `url(#${glowId})`,
|
|
3882
|
+
strokeWidth: "4",
|
|
3883
|
+
strokeLinecap: "round",
|
|
3884
|
+
strokeDasharray: PULSE_DASH
|
|
3885
|
+
})
|
|
3886
|
+
]
|
|
3887
|
+
});
|
|
3888
|
+
}
|
|
3889
|
+
//#endregion
|
|
3890
|
+
//#region src/avatar.ts
|
|
3891
|
+
/**
|
|
3892
|
+
* Which face the widget draws — a per-tenant `appearance.avatar` choice.
|
|
3893
|
+
*
|
|
3894
|
+
* `'orb'` is `BotFace`, the animated gradient blob this widget has always
|
|
3895
|
+
* shipped. `'knot'` is `RopeKnot`, a hand-drawn rope line that ties and
|
|
3896
|
+
* unties itself through the same four {@link BotState}s. Kept as data,
|
|
3897
|
+
* separate from the components, for the same reason `bot-state.ts` keeps
|
|
3898
|
+
* `BotState` separate from `BotFace`: parsing and defaulting have to be
|
|
3899
|
+
* assertable without rendering either avatar.
|
|
3900
|
+
*/
|
|
3901
|
+
var WIDGET_AVATARS = ["orb", "knot"];
|
|
3902
|
+
/** What every layer in this package falls back to when a tenant never published one. */
|
|
3903
|
+
var DEFAULT_WIDGET_AVATAR = "orb";
|
|
3904
|
+
/** Whether a value is an avatar this widget knows how to render. Mirrors `bot-state.ts`'s `isBotState`. */
|
|
3905
|
+
function isWidgetAvatar(value) {
|
|
3906
|
+
return typeof value === "string" && WIDGET_AVATARS.includes(value);
|
|
3907
|
+
}
|
|
3908
|
+
//#endregion
|
|
3909
|
+
//#region src/morphing-loader.tsx
|
|
3910
|
+
/**
|
|
3911
|
+
* A voice-frequency visualizer loader.
|
|
3912
|
+
*
|
|
3913
|
+
* Six soft vertical bars rise and fall like a calm voice waveform,
|
|
3914
|
+
* using the plum brand family with no amber or yellow tints.
|
|
3915
|
+
* Respects prefers-reduced-motion by resting the bars at mid-height.
|
|
3916
|
+
*/
|
|
3917
|
+
function MorphingLoader({ size = "md", variant = "brand", className, label = "Loading" }) {
|
|
3918
|
+
const dims = {
|
|
3919
|
+
sm: "h-3 w-3",
|
|
3920
|
+
md: "h-5 w-5",
|
|
3921
|
+
lg: "h-10 w-10",
|
|
3922
|
+
full: "h-full w-full"
|
|
3923
|
+
}[size];
|
|
3924
|
+
const barWidth = {
|
|
3925
|
+
sm: "w-px",
|
|
3926
|
+
md: "w-[2px]",
|
|
3927
|
+
lg: "w-[3px]",
|
|
3928
|
+
full: "w-[5%]"
|
|
3929
|
+
}[size];
|
|
3930
|
+
const gap = {
|
|
3931
|
+
sm: "gap-px",
|
|
3932
|
+
md: "gap-[2px]",
|
|
3933
|
+
lg: "gap-[3px]",
|
|
3934
|
+
full: "gap-[2%]"
|
|
3935
|
+
}[size];
|
|
3936
|
+
const bars = [
|
|
3937
|
+
{
|
|
3938
|
+
min: .35,
|
|
3939
|
+
max: .65,
|
|
3940
|
+
opacityMin: .45,
|
|
3941
|
+
opacityMax: .75,
|
|
3942
|
+
duration: 1.2,
|
|
3943
|
+
delay: 0
|
|
3944
|
+
},
|
|
3945
|
+
{
|
|
3946
|
+
min: .3,
|
|
3947
|
+
max: .85,
|
|
3948
|
+
opacityMin: .4,
|
|
3949
|
+
opacityMax: .9,
|
|
3950
|
+
duration: 1.35,
|
|
3951
|
+
delay: .12
|
|
3952
|
+
},
|
|
3953
|
+
{
|
|
3954
|
+
min: .25,
|
|
3955
|
+
max: 1,
|
|
3956
|
+
opacityMin: .35,
|
|
3957
|
+
opacityMax: 1,
|
|
3958
|
+
duration: 1.5,
|
|
3959
|
+
delay: .24
|
|
3960
|
+
},
|
|
3961
|
+
{
|
|
3962
|
+
min: .25,
|
|
3963
|
+
max: 1,
|
|
3964
|
+
opacityMin: .35,
|
|
3965
|
+
opacityMax: 1,
|
|
3966
|
+
duration: 1.5,
|
|
3967
|
+
delay: .36
|
|
3968
|
+
},
|
|
3969
|
+
{
|
|
3970
|
+
min: .3,
|
|
3971
|
+
max: .85,
|
|
3972
|
+
opacityMin: .4,
|
|
3973
|
+
opacityMax: .9,
|
|
3974
|
+
duration: 1.35,
|
|
3975
|
+
delay: .48
|
|
3976
|
+
},
|
|
3977
|
+
{
|
|
3978
|
+
min: .35,
|
|
3979
|
+
max: .65,
|
|
3980
|
+
opacityMin: .45,
|
|
3981
|
+
opacityMax: .75,
|
|
3982
|
+
duration: 1.2,
|
|
3983
|
+
delay: .6
|
|
3984
|
+
}
|
|
3985
|
+
];
|
|
3986
|
+
const isLight = variant === "light";
|
|
3987
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
3988
|
+
className: cn("relative inline-flex items-end justify-center", dims, gap, isLight && "text-[var(--widget-accent-foreground)]", className),
|
|
3989
|
+
role: "status",
|
|
3990
|
+
"aria-label": label,
|
|
3991
|
+
children: [bars.map((bar, i) => /* @__PURE__ */ jsx("span", {
|
|
3992
|
+
className: cn("rounded-full motion-reduce:scale-y-75 motion-reduce:opacity-70", "animate-[voice-bar_1.4s_cubic-bezier(0.45,0,0.55,1)_infinite]", barWidth, "h-full", isLight ? "bg-current opacity-90" : "bg-gradient-to-t from-brand-plum to-[color-mix(in_oklab,var(--brand-plum)_55%,white)]"),
|
|
3993
|
+
style: {
|
|
3994
|
+
animationDuration: `${bar.duration}s`,
|
|
3995
|
+
animationDelay: `${bar.delay}s`,
|
|
3996
|
+
["--voice-min"]: bar.min,
|
|
3997
|
+
["--voice-max"]: bar.max,
|
|
3998
|
+
["--voice-min-opacity"]: bar.opacityMin,
|
|
3999
|
+
["--voice-max-opacity"]: bar.opacityMax
|
|
4000
|
+
},
|
|
4001
|
+
"aria-hidden": true
|
|
4002
|
+
}, i)), /* @__PURE__ */ jsx("span", {
|
|
4003
|
+
className: "sr-only",
|
|
4004
|
+
children: label
|
|
4005
|
+
})]
|
|
4006
|
+
});
|
|
4007
|
+
}
|
|
4008
|
+
//#endregion
|
|
5
4009
|
//#region src/bot-state.ts
|
|
6
4010
|
/**
|
|
7
4011
|
* The voice widget's visible state.
|
|
@@ -313,9 +4317,23 @@ var STAGES = [
|
|
|
313
4317
|
label: "total"
|
|
314
4318
|
}
|
|
315
4319
|
];
|
|
316
|
-
function SessionPanel({ events,
|
|
4320
|
+
function SessionPanel({ events, agentLevelRef, phase, micOpen, error, turns, transcript }) {
|
|
317
4321
|
const heard = events.some((e) => e.kind === "agent_audio_started");
|
|
318
4322
|
const latest = turns[turns.length - 1];
|
|
4323
|
+
const meterRef = useRef(null);
|
|
4324
|
+
useEffect(() => {
|
|
4325
|
+
const paint = () => {
|
|
4326
|
+
const el = meterRef.current;
|
|
4327
|
+
if (el) el.style.transform = `scaleX(${Math.min(1, Math.round(agentLevelRef.current * 300) / 100)})`;
|
|
4328
|
+
};
|
|
4329
|
+
paint();
|
|
4330
|
+
if (typeof requestAnimationFrame !== "function") return;
|
|
4331
|
+
let raf = requestAnimationFrame(function tick() {
|
|
4332
|
+
paint();
|
|
4333
|
+
raf = requestAnimationFrame(tick);
|
|
4334
|
+
});
|
|
4335
|
+
return () => cancelAnimationFrame(raf);
|
|
4336
|
+
}, [agentLevelRef]);
|
|
319
4337
|
return /* @__PURE__ */ jsxs("aside", {
|
|
320
4338
|
"data-testid": "session-panel",
|
|
321
4339
|
className: "w-full max-w-md rounded-xl border border-white/10 bg-black/60 p-4 font-mono text-xs text-white/80",
|
|
@@ -425,9 +4443,13 @@ function SessionPanel({ events, agentLevel, phase, micOpen, error, turns, transc
|
|
|
425
4443
|
/* @__PURE__ */ jsx("div", {
|
|
426
4444
|
className: "mb-1 h-2 w-full overflow-hidden rounded bg-white/10",
|
|
427
4445
|
children: /* @__PURE__ */ jsx("div", {
|
|
4446
|
+
ref: meterRef,
|
|
428
4447
|
"data-testid": "agent-level",
|
|
429
|
-
className: "h-full bg-emerald-400 transition-
|
|
430
|
-
style: {
|
|
4448
|
+
className: "h-full origin-left bg-emerald-400 transition-transform duration-75",
|
|
4449
|
+
style: {
|
|
4450
|
+
width: "100%",
|
|
4451
|
+
transform: "scaleX(0)"
|
|
4452
|
+
}
|
|
431
4453
|
})
|
|
432
4454
|
}),
|
|
433
4455
|
/* @__PURE__ */ jsx("p", {
|
|
@@ -507,7 +4529,7 @@ var WidgetErrorBoundary = class extends Component {
|
|
|
507
4529
|
};
|
|
508
4530
|
//#endregion
|
|
509
4531
|
//#region src/generated/widget-css.ts
|
|
510
|
-
var WIDGET_CSS = "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-scroll-snap-strictness:proximity;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--color-amber-300:oklch(87.9% .169 91.605);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-sky-300:oklch(82.8% .111 230.318);--color-rose-300:oklch(81% .117 11.638);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-medium:500;--font-weight-semibold:600;--tracking-tight:-.025em;--tracking-wide:.025em;--tracking-wider:.05em;--leading-snug:1.375;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--ease-out:cubic-bezier(0, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--animate-bounce:bounce 1s infinite;--blur-md:12px;--blur-xl:24px;--blur-2xl:40px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-brand-plum:var(--brand-plum);--color-brand-ink:var(--brand-ink)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.\\[container-type\\:size\\]{container-type:size}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.-inset-4{inset:calc(var(--spacing) * -4)}.inset-0{inset:0}.inset-1{inset:var(--spacing)}.inset-2{inset:calc(var(--spacing) * 2)}.inset-x-0{inset-inline:0}.start-1\\/2{inset-inline-start:50%}.end-2{inset-inline-end:calc(var(--spacing) * 2)}.end-5{inset-inline-end:calc(var(--spacing) * 5)}.end-\\[8\\%\\]{inset-inline-end:8%}.-top-16{top:calc(var(--spacing) * -16)}.top-1{top:var(--spacing)}.top-1\\.5{top:calc(var(--spacing) * 1.5)}.top-1\\/2{top:50%}.top-4{top:calc(var(--spacing) * 4)}.top-5{top:calc(var(--spacing) * 5)}.top-\\[8\\%\\]{top:8%}.top-full{top:100%}.-right-10{right:calc(var(--spacing) * -10)}.right-1\\.5{right:calc(var(--spacing) * 1.5)}.right-2{right:calc(var(--spacing) * 2)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-20{bottom:calc(var(--spacing) * -20)}.bottom-0{bottom:0}.bottom-1\\.5{bottom:calc(var(--spacing) * 1.5)}.bottom-4{bottom:calc(var(--spacing) * 4)}.-left-12{left:calc(var(--spacing) * -12)}.left-1\\.5{left:calc(var(--spacing) * 1.5)}.left-1\\/2{left:50%}.left-4{left:calc(var(--spacing) * 4)}.z-10{z-index:10}.z-20{z-index:20}.z-40{z-index:40}.z-50{z-index:50}.z-\\[55\\]{z-index:55}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.my-1{margin-block:var(--spacing)}.-mt-0\\.5{margin-top:calc(var(--spacing) * -.5)}.mt-1{margin-top:var(--spacing)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-\\[104px\\]{margin-top:104px}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.-ml-0\\.5{margin-left:calc(var(--spacing) * -.5)}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.aspect-\\[5\\/8\\]{aspect-ratio:5/8}.aspect-square{aspect-ratio:1}.size-1\\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-2\\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-10{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.size-12{width:calc(var(--spacing) * 12);height:calc(var(--spacing) * 12)}.size-16{width:calc(var(--spacing) * 16);height:calc(var(--spacing) * 16)}.h-0\\.5{height:calc(var(--spacing) * .5)}.h-1{height:var(--spacing)}.h-1\\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-3{height:calc(var(--spacing) * 3)}.h-3\\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-16{height:calc(var(--spacing) * 16)}.h-24{height:calc(var(--spacing) * 24)}.h-52{height:calc(var(--spacing) * 52)}.h-56{height:calc(var(--spacing) * 56)}.h-\\[4\\.5rem\\]{height:4.5rem}.h-\\[4\\.8rem\\]{height:4.8rem}.h-\\[40px\\]{height:40px}.h-\\[132px\\]{height:132px}.h-\\[min\\(520px\\,calc\\(100dvh-5rem\\)\\)\\]{height:min(520px,100dvh - 5rem)}.h-\\[min\\(520px\\,…\\)\\]{height:min(520px, …)}.h-full{height:100%}.h-px{height:1px}.max-h-40{max-height:calc(var(--spacing) * 40)}.max-h-72{max-height:calc(var(--spacing) * 72)}.min-h-0{min-height:0}.w-1{width:var(--spacing)}.w-1\\.5{width:calc(var(--spacing) * 1.5)}.w-3{width:calc(var(--spacing) * 3)}.w-3\\.5{width:calc(var(--spacing) * 3.5)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-9{width:calc(var(--spacing) * 9)}.w-10{width:calc(var(--spacing) * 10)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-24{width:calc(var(--spacing) * 24)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-\\[\\.\\.\\.\\]{width:...}.w-\\[2\\.1rem\\]{width:2.1rem}.w-\\[2px\\]{width:2px}.w-\\[3px\\]{width:3px}.w-\\[4\\.5rem\\]{width:4.5rem}.w-\\[4\\.8rem\\]{width:4.8rem}.w-\\[5\\%\\]{width:5%}.w-\\[68\\%\\]{width:68%}.w-\\[71\\%\\]{width:71%}.w-\\[min\\(97vw\\,50dvh\\)\\]{width:min(97vw,50dvh)}.w-\\[min\\(400px\\,calc\\(100vw-2rem\\)\\)\\]{width:min(400px,100vw - 2rem)}.w-\\[min\\(400px\\,…\\)\\]{width:min(400px, …)}.w-full{width:100%}.w-px{width:1px}.max-w-32{max-width:calc(var(--spacing) * 32)}.max-w-40{max-width:calc(var(--spacing) * 40)}.max-w-\\[14rem\\]{max-width:14rem}.max-w-\\[85\\%\\]{max-width:85%}.max-w-\\[180px\\]{max-width:180px}.max-w-\\[300px\\]{max-width:300px}.max-w-full{max-width:100%}.max-w-md{max-width:var(--container-md)}.min-w-0{min-width:0}.flex-1{flex:1}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-\\[calc\\(100\\%\\/1\\.25\\)\\]{flex-basis:80%}.origin-bottom{transform-origin:bottom}.-translate-x-1\\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-0{--tw-translate-y:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-2{--tw-translate-y:calc(var(--spacing) * 2);translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-75{--tw-scale-x:75%;--tw-scale-y:75%;--tw-scale-z:75%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-90{--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-\\[0\\.75\\]{scale:.75}.scale-\\[0\\.625\\]{scale:.625}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-\\[\\<name\\>_1\\.8s_…\\]{animation:<name> 1.8s …}.animate-\\[bot-blob-a_1\\.6s_ease-in-out_infinite\\]{animation:1.6s ease-in-out infinite bot-blob-a}.animate-\\[bot-blob-a_5s_ease-in-out_infinite\\]{animation:5s ease-in-out infinite bot-blob-a}.animate-\\[bot-blob-a_7s_ease-in-out_infinite\\]{animation:7s ease-in-out infinite bot-blob-a}.animate-\\[bot-blob-a_9s_ease-in-out_infinite\\]{animation:9s ease-in-out infinite bot-blob-a}.animate-\\[bot-blob-b_1\\.4s_ease-in-out_infinite\\]{animation:1.4s ease-in-out infinite bot-blob-b}.animate-\\[bot-blob-b_6s_ease-in-out_infinite\\]{animation:6s ease-in-out infinite bot-blob-b}.animate-\\[bot-blob-b_9s_ease-in-out_infinite\\]{animation:9s ease-in-out infinite bot-blob-b}.animate-\\[bot-blob-b_11s_ease-in-out_infinite\\]{animation:11s ease-in-out infinite bot-blob-b}.animate-\\[bot-blob-speak-a_1\\.6s_ease-in-out_infinite\\]{animation:1.6s ease-in-out infinite bot-blob-speak-a}.animate-\\[bot-blob-speak-b_1\\.4s_ease-in-out_infinite\\]{animation:1.4s ease-in-out infinite bot-blob-speak-b}.animate-\\[bot-breathe_4s_ease-in-out_infinite\\]{animation:4s ease-in-out infinite bot-breathe}.animate-\\[bot-core-pulse_0\\.9s_ease-in-out_infinite\\]{animation:.9s ease-in-out infinite bot-core-pulse}.animate-\\[bot-core-pulse_1\\.6s_ease-in-out_infinite\\]{animation:1.6s ease-in-out infinite bot-core-pulse}.animate-\\[bot-core-pulse_2\\.4s_ease-in-out_infinite\\]{animation:2.4s ease-in-out infinite bot-core-pulse}.animate-\\[bot-halo-listen_2\\.2s_ease-in-out_infinite\\]{animation:2.2s ease-in-out infinite bot-halo-listen}.animate-\\[bot-halo-listen_2\\.4s_ease-in-out_infinite\\]{animation:2.4s ease-in-out infinite bot-halo-listen}.animate-\\[bot-halo-speak_1\\.4s_ease-in-out_infinite\\]{animation:1.4s ease-in-out infinite bot-halo-speak}.animate-\\[bot-halo-speak_1\\.8s_ease-in-out_infinite\\]{animation:1.8s ease-in-out infinite bot-halo-speak}.animate-\\[bot-idle-scan_6s_ease-in-out_infinite\\]{animation:6s ease-in-out infinite bot-idle-scan}.animate-\\[bot-nod_0\\.4s_ease-out\\]{animation:.4s ease-out bot-nod}.animate-\\[bot-orbit_1\\.6s_linear_infinite\\]{animation:1.6s linear infinite bot-orbit}.animate-\\[bot-orbit_3\\.2s_linear_infinite\\]{animation:3.2s linear infinite bot-orbit}.animate-\\[bot-orbit_4\\.6s_linear_infinite_reverse\\]{animation:4.6s linear infinite reverse bot-orbit}.animate-\\[bot-orbit_…\\]{animation:bot-orbit …}.animate-\\[bot-ring-listen_2\\.2s_ease-in-out_infinite\\]{animation:2.2s ease-in-out infinite bot-ring-listen}.animate-\\[bot-ring-listen_2\\.4s_ease-in-out_infinite\\]{animation:2.4s ease-in-out infinite bot-ring-listen}.animate-\\[bot-ring-speak_1\\.4s_ease-in-out_infinite\\]{animation:1.4s ease-in-out infinite bot-ring-speak}.animate-\\[eye-idle-drift_5s_ease-in-out_infinite\\]{animation:5s ease-in-out infinite eye-idle-drift}.animate-\\[eye-speak-stretch_0\\.7s_ease-in-out_infinite\\]{animation:.7s ease-in-out infinite eye-speak-stretch}.animate-\\[name_\\.\\.\\.\\]{animation:name ...}.animate-\\[pulse-glow_1\\.6s_ease-in-out_infinite\\]{animation:1.6s ease-in-out infinite pulse-glow}.animate-\\[pulse-glow_3s_ease-in-out_infinite\\]{animation:3s ease-in-out infinite pulse-glow}.animate-\\[scan_4s_ease-in-out_infinite\\]{animation:4s ease-in-out infinite scan}.animate-\\[spin_18s_linear_infinite\\]{animation:18s linear infinite spin}.animate-\\[voice-bar_1\\.4s_cubic-bezier\\(0\\.45\\,0\\,0\\.55\\,1\\)_infinite\\]{animation:1.4s cubic-bezier(.45,0,.55,1) infinite voice-bar}.animate-bounce{animation:var(--animate-bounce)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-grabbing{cursor:grabbing}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-wait{cursor:wait}.touch-none{touch-action:none}.resize{resize:both}.snap-x{scroll-snap-type:x var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness:mandatory}.snap-start{scroll-snap-align:start}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-cols-\\[1fr_auto\\]{grid-template-columns:1fr auto}.grid-cols-\\[repeat\\(auto-fit\\,minmax\\(15rem\\,1fr\\)\\)\\]{grid-template-columns:repeat(auto-fit,minmax(15rem,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:var(--spacing)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-\\[2\\%\\]{gap:2%}.gap-\\[2px\\]{gap:2px}.gap-\\[3px\\]{gap:3px}.gap-px{gap:1px}:where(.space-y-0\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * .5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * .5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}.gap-y-1{row-gap:var(--spacing)}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-clip{overflow:clip}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-ee-md{border-end-end-radius:var(--radius-md)}.rounded-es-md{border-end-start-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-\\[var\\(--widget-foreground-muted\\)\\]\\/50{border-color:var(--widget-foreground-muted)}@supports (color:color-mix(in lab, red, red)){.border-\\[var\\(--widget-foreground-muted\\)\\]\\/50{border-color:color-mix(in oklab, var(--widget-foreground-muted) 50%, transparent)}}.border-black\\/5{border-color:#0000000d}@supports (color:color-mix(in lab, red, red)){.border-black\\/5{border-color:color-mix(in oklab, var(--color-black) 5%, transparent)}}.border-black\\/10{border-color:#0000001a}@supports (color:color-mix(in lab, red, red)){.border-black\\/10{border-color:color-mix(in oklab, var(--color-black) 10%, transparent)}}.border-brand-plum\\/10{border-color:var(--brand-plum)}@supports (color:color-mix(in lab, red, red)){.border-brand-plum\\/10{border-color:color-mix(in oklab, var(--brand-plum) 10%, transparent)}}.border-brand-plum\\/12{border-color:var(--brand-plum)}@supports (color:color-mix(in lab, red, red)){.border-brand-plum\\/12{border-color:color-mix(in oklab, var(--brand-plum) 12%, transparent)}}.border-current{border-color:currentColor}.border-white\\/10{border-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.border-white\\/10{border-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.border-white\\/40{border-color:#fff6}@supports (color:color-mix(in lab, red, red)){.border-white\\/40{border-color:color-mix(in oklab, var(--color-white) 40%, transparent)}}.border-t-transparent{border-top-color:#0000}.bg-\\[var\\(--knot-surface\\)\\]{background-color:var(--knot-surface)}.bg-\\[var\\(--widget-accent\\)\\],.bg-\\[var\\(--widget-accent\\)\\]\\/15{background-color:var(--widget-accent)}@supports (color:color-mix(in lab, red, red)){.bg-\\[var\\(--widget-accent\\)\\]\\/15{background-color:color-mix(in oklab, var(--widget-accent) 15%, transparent)}}.bg-\\[var\\(--widget-bubble\\)\\]{background-color:var(--widget-bubble)}.bg-\\[var\\(--widget-card\\)\\]{background-color:var(--widget-card)}.bg-\\[var\\(--widget-chip\\)\\]{background-color:var(--widget-chip)}.bg-\\[var\\(--widget-foreground-muted\\)\\],.bg-\\[var\\(--widget-foreground-muted\\)\\]\\/25{background-color:var(--widget-foreground-muted)}@supports (color:color-mix(in lab, red, red)){.bg-\\[var\\(--widget-foreground-muted\\)\\]\\/25{background-color:color-mix(in oklab, var(--widget-foreground-muted) 25%, transparent)}}.bg-black\\/5{background-color:#0000000d}@supports (color:color-mix(in lab, red, red)){.bg-black\\/5{background-color:color-mix(in oklab, var(--color-black) 5%, transparent)}}.bg-black\\/10{background-color:#0000001a}@supports (color:color-mix(in lab, red, red)){.bg-black\\/10{background-color:color-mix(in oklab, var(--color-black) 10%, transparent)}}.bg-black\\/60{background-color:#0009}@supports (color:color-mix(in lab, red, red)){.bg-black\\/60{background-color:color-mix(in oklab, var(--color-black) 60%, transparent)}}.bg-brand-amber,.bg-brand-amber\\/80{background-color:var(--brand-amber)}@supports (color:color-mix(in lab, red, red)){.bg-brand-amber\\/80{background-color:color-mix(in oklab, var(--brand-amber) 80%, transparent)}}.bg-brand-ink\\/10{background-color:var(--brand-ink)}@supports (color:color-mix(in lab, red, red)){.bg-brand-ink\\/10{background-color:color-mix(in oklab, var(--brand-ink) 10%, transparent)}}.bg-brand-plum,.bg-brand-plum\\/70{background-color:var(--brand-plum)}@supports (color:color-mix(in lab, red, red)){.bg-brand-plum\\/70{background-color:color-mix(in oklab, var(--brand-plum) 70%, transparent)}}.bg-brand-rose,.bg-brand-rose\\/40{background-color:var(--brand-rose)}@supports (color:color-mix(in lab, red, red)){.bg-brand-rose\\/40{background-color:color-mix(in oklab, var(--brand-rose) 40%, transparent)}}.bg-current{background-color:currentColor}.bg-emerald-400{background-color:var(--color-emerald-400)}.bg-transparent{background-color:#0000}.bg-white\\/10{background-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.bg-white\\/10{background-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.bg-white\\/60{background-color:#fff9}@supports (color:color-mix(in lab, red, red)){.bg-white\\/60{background-color:color-mix(in oklab, var(--color-white) 60%, transparent)}}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-t{--tw-gradient-position:to top in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-tr{--tw-gradient-position:to top right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\\[linear-gradient\\(to_bottom\\,transparent\\,var\\(--widget-card\\)_38\\%\\,var\\(--widget-card\\)\\)\\]{background-image:linear-gradient(to bottom,transparent,var(--widget-card) 38%,var(--widget-card))}.bg-\\[radial-gradient\\(circle\\,color-mix\\(in_oklab\\,var\\(--brand-amber\\)_7\\%\\,transparent\\)\\,transparent_70\\%\\)\\]{background-image:radial-gradient(circle,var(--brand-amber),transparent 70%)}@supports (color:color-mix(in lab, red, red)){.bg-\\[radial-gradient\\(circle\\,color-mix\\(in_oklab\\,var\\(--brand-amber\\)_7\\%\\,transparent\\)\\,transparent_70\\%\\)\\]{background-image:radial-gradient(circle,color-mix(in oklab,var(--brand-amber) 7%,transparent),transparent 70%)}}.bg-\\[radial-gradient\\(circle\\,color-mix\\(in_oklab\\,var\\(--brand-amber\\)_12\\%\\,transparent\\)\\,color-mix\\(in_oklab\\,var\\(--brand-rose\\)_7\\%\\,transparent\\)_55\\%\\,transparent_75\\%\\)\\]{background-image:radial-gradient(circle,var(--brand-amber),var(--brand-rose) 55%,transparent 75%)}@supports (color:color-mix(in lab, red, red)){.bg-\\[radial-gradient\\(circle\\,color-mix\\(in_oklab\\,var\\(--brand-amber\\)_12\\%\\,transparent\\)\\,color-mix\\(in_oklab\\,var\\(--brand-rose\\)_7\\%\\,transparent\\)_55\\%\\,transparent_75\\%\\)\\]{background-image:radial-gradient(circle,color-mix(in oklab,var(--brand-amber) 12%,transparent),color-mix(in oklab,var(--brand-rose) 7%,transparent) 55%,transparent 75%)}}.bg-\\[radial-gradient\\(circle\\,color-mix\\(in_oklab\\,var\\(--brand-rose\\)_5\\%\\,transparent\\)\\,transparent_70\\%\\)\\]{background-image:radial-gradient(circle,var(--brand-rose),transparent 70%)}@supports (color:color-mix(in lab, red, red)){.bg-\\[radial-gradient\\(circle\\,color-mix\\(in_oklab\\,var\\(--brand-rose\\)_5\\%\\,transparent\\)\\,transparent_70\\%\\)\\]{background-image:radial-gradient(circle,color-mix(in oklab,var(--brand-rose) 5%,transparent),transparent 70%)}}.bg-\\[radial-gradient\\(circle\\,var\\(--knot-halo\\)\\,transparent_70\\%\\)\\]{background-image:radial-gradient(circle,var(--knot-halo),transparent 70%)}.bg-\\[radial-gradient\\(circle\\,var\\(--widget-card\\)_58\\%\\,transparent_72\\%\\)\\]{background-image:radial-gradient(circle,var(--widget-card) 58%,transparent 72%)}.from-brand-plum{--tw-gradient-from:var(--brand-plum);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-brand-rose{--tw-gradient-from:var(--brand-rose);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-brand-rose\\/12{--tw-gradient-from:var(--brand-rose)}@supports (color:color-mix(in lab, red, red)){.from-brand-rose\\/12{--tw-gradient-from:color-mix(in oklab, var(--brand-rose) 12%, transparent)}}.from-brand-rose\\/12{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-transparent{--tw-gradient-from:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-white\\/80{--tw-gradient-from:#fffc}@supports (color:color-mix(in lab, red, red)){.from-white\\/80{--tw-gradient-from:color-mix(in oklab, var(--color-white) 80%, transparent)}}.from-white\\/80{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.via-brand-amber\\/8{--tw-gradient-via:var(--brand-amber)}@supports (color:color-mix(in lab, red, red)){.via-brand-amber\\/8{--tw-gradient-via:color-mix(in oklab, var(--brand-amber) 8%, transparent)}}.via-brand-amber\\/8{--tw-gradient-via-stops:var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.via-brand-rose\\/25{--tw-gradient-via:var(--brand-rose)}@supports (color:color-mix(in lab, red, red)){.via-brand-rose\\/25{--tw-gradient-via:color-mix(in oklab, var(--brand-rose) 25%, transparent)}}.via-brand-rose\\/25{--tw-gradient-via-stops:var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-\\[color-mix\\(in_oklab\\,var\\(--brand-plum\\)_55\\%\\,white\\)\\]{--tw-gradient-to:var(--brand-plum)}@supports (color:color-mix(in lab, red, red)){.to-\\[color-mix\\(in_oklab\\,var\\(--brand-plum\\)_55\\%\\,white\\)\\]{--tw-gradient-to:color-mix(in oklab,var(--brand-plum) 55%,white)}}.to-\\[color-mix\\(in_oklab\\,var\\(--brand-plum\\)_55\\%\\,white\\)\\]{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-brand-amber{--tw-gradient-to:var(--brand-amber);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-brand-plum\\/8{--tw-gradient-to:var(--brand-plum)}@supports (color:color-mix(in lab, red, red)){.to-brand-plum\\/8{--tw-gradient-to:color-mix(in oklab, var(--brand-plum) 8%, transparent)}}.to-brand-plum\\/8{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-brand-plum\\/90{--tw-gradient-to:var(--brand-plum)}@supports (color:color-mix(in lab, red, red)){.to-brand-plum\\/90{--tw-gradient-to:color-mix(in oklab, var(--brand-plum) 90%, transparent)}}.to-brand-plum\\/90{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-brand-rose{--tw-gradient-to:var(--brand-rose);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-brand-rose\\/\\[0\\.03\\]{--tw-gradient-to:var(--brand-rose)}@supports (color:color-mix(in lab, red, red)){.to-brand-rose\\/\\[0\\.03\\]{--tw-gradient-to:color-mix(in oklab, var(--brand-rose) 3%, transparent)}}.to-brand-rose\\/\\[0\\.03\\]{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-transparent{--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-1\\.5{padding:calc(var(--spacing) * 1.5)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-\\[1\\.5px\\]{padding:1.5px}.px-1{padding-inline:var(--spacing)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-3\\.5{padding-inline:calc(var(--spacing) * 3.5)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\\.5{padding-block:calc(var(--spacing) * 2.5)}.py-8{padding-block:calc(var(--spacing) * 8)}.ps-2{padding-inline-start:calc(var(--spacing) * 2)}.ps-4{padding-inline-start:calc(var(--spacing) * 4)}.pe-0\\.5{padding-inline-end:calc(var(--spacing) * .5)}.pe-4{padding-inline-end:calc(var(--spacing) * 4)}.pe-12{padding-inline-end:calc(var(--spacing) * 12)}.pt-0\\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-2\\.5{padding-top:calc(var(--spacing) * 2.5)}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[0\\.85em\\]{font-size:.85em}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[14px\\]{font-size:14px}.leading-\\[1\\.55\\]{--tw-leading:1.55;line-height:1.55}.leading-none{--tw-leading:1;line-height:1}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\\[0\\.2em\\]{--tw-tracking:.2em;letter-spacing:.2em}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.text-pretty{text-wrap:pretty}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-\\[var\\(--widget-accent\\)\\]{color:var(--widget-accent)}.text-\\[var\\(--widget-accent-foreground\\)\\]{color:var(--widget-accent-foreground)}.text-\\[var\\(--widget-foreground\\)\\]{color:var(--widget-foreground)}.text-\\[var\\(--widget-foreground-muted\\)\\]{color:var(--widget-foreground-muted)}.text-amber-300{color:var(--color-amber-300)}.text-brand-plum{color:var(--brand-plum)}.text-emerald-300{color:var(--color-emerald-300)}.text-rose-300{color:var(--color-rose-300)}.text-sky-300{color:var(--color-sky-300)}.text-white\\/30{color:#ffffff4d}@supports (color:color-mix(in lab, red, red)){.text-white\\/30{color:color-mix(in oklab, var(--color-white) 30%, transparent)}}.text-white\\/40{color:#fff6}@supports (color:color-mix(in lab, red, red)){.text-white\\/40{color:color-mix(in oklab, var(--color-white) 40%, transparent)}}.text-white\\/50{color:#ffffff80}@supports (color:color-mix(in lab, red, red)){.text-white\\/50{color:color-mix(in oklab, var(--color-white) 50%, transparent)}}.text-white\\/80{color:#fffc}@supports (color:color-mix(in lab, red, red)){.text-white\\/80{color:color-mix(in oklab, var(--color-white) 80%, transparent)}}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.opacity-0{opacity:0}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-40{opacity:.4}.opacity-45{opacity:.45}.opacity-50{opacity:.5}.opacity-55{opacity:.55}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.opacity-90{opacity:.9}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_0_0_1px_color-mix\\(in_oklab\\,var\\(--brand-plum\\)_18\\%\\,transparent\\)\\,0_4px_14px_-2px_color-mix\\(in_oklab\\,var\\(--brand-plum\\)_45\\%\\,transparent\\)\\,0_0_22px_-4px_color-mix\\(in_oklab\\,var\\(--brand-rose\\)_40\\%\\,transparent\\)\\]{--tw-shadow:0 0 0 1px var(--tw-shadow-color,var(--brand-plum)), 0 4px 14px -2px var(--tw-shadow-color,var(--brand-plum)), 0 0 22px -4px var(--tw-shadow-color,var(--brand-rose))}@supports (color:color-mix(in lab, red, red)){.shadow-\\[0_0_0_1px_color-mix\\(in_oklab\\,var\\(--brand-plum\\)_18\\%\\,transparent\\)\\,0_4px_14px_-2px_color-mix\\(in_oklab\\,var\\(--brand-plum\\)_45\\%\\,transparent\\)\\,0_0_22px_-4px_color-mix\\(in_oklab\\,var\\(--brand-rose\\)_40\\%\\,transparent\\)\\]{--tw-shadow:0 0 0 1px var(--tw-shadow-color,color-mix(in oklab,var(--brand-plum) 18%,transparent)), 0 4px 14px -2px var(--tw-shadow-color,color-mix(in oklab,var(--brand-plum) 45%,transparent)), 0 0 22px -4px var(--tw-shadow-color,color-mix(in oklab,var(--brand-rose) 40%,transparent))}}.shadow-\\[0_0_0_1px_color-mix\\(in_oklab\\,var\\(--brand-plum\\)_18\\%\\,transparent\\)\\,0_4px_14px_-2px_color-mix\\(in_oklab\\,var\\(--brand-plum\\)_45\\%\\,transparent\\)\\,0_0_22px_-4px_color-mix\\(in_oklab\\,var\\(--brand-rose\\)_40\\%\\,transparent\\)\\]{box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_0_6px_color-mix\\(in_oklab\\,var\\(--brand-rose\\)_55\\%\\,transparent\\)\\]{--tw-shadow:0 0 6px var(--tw-shadow-color,var(--brand-rose))}@supports (color:color-mix(in lab, red, red)){.shadow-\\[0_0_6px_color-mix\\(in_oklab\\,var\\(--brand-rose\\)_55\\%\\,transparent\\)\\]{--tw-shadow:0 0 6px var(--tw-shadow-color,color-mix(in oklab,var(--brand-rose) 55%,transparent))}}.shadow-\\[0_0_6px_color-mix\\(in_oklab\\,var\\(--brand-rose\\)_55\\%\\,transparent\\)\\]{box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_0_8px_color-mix\\(in_oklab\\,var\\(--brand-rose\\)_60\\%\\,transparent\\)\\]{--tw-shadow:0 0 8px var(--tw-shadow-color,var(--brand-rose))}@supports (color:color-mix(in lab, red, red)){.shadow-\\[0_0_8px_color-mix\\(in_oklab\\,var\\(--brand-rose\\)_60\\%\\,transparent\\)\\]{--tw-shadow:0 0 8px var(--tw-shadow-color,color-mix(in oklab,var(--brand-rose) 60%,transparent))}}.shadow-\\[0_0_8px_color-mix\\(in_oklab\\,var\\(--brand-rose\\)_60\\%\\,transparent\\)\\]{box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_0_12px_color-mix\\(in_oklab\\,var\\(--brand-amber\\)_55\\%\\,transparent\\)\\]{--tw-shadow:0 0 12px var(--tw-shadow-color,var(--brand-amber))}@supports (color:color-mix(in lab, red, red)){.shadow-\\[0_0_12px_color-mix\\(in_oklab\\,var\\(--brand-amber\\)_55\\%\\,transparent\\)\\]{--tw-shadow:0 0 12px var(--tw-shadow-color,color-mix(in oklab,var(--brand-amber) 55%,transparent))}}.shadow-\\[0_0_12px_color-mix\\(in_oklab\\,var\\(--brand-amber\\)_55\\%\\,transparent\\)\\]{box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_2px_8px_-2px_rgba\\(0\\,0\\,0\\,0\\.15\\)\\]{--tw-shadow:0 2px 8px -2px var(--tw-shadow-color,#00000026);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_2px_10px_-2px_color-mix\\(in_oklab\\,var\\(--brand-plum\\)_35\\%\\,transparent\\)\\]{--tw-shadow:0 2px 10px -2px var(--tw-shadow-color,var(--brand-plum))}@supports (color:color-mix(in lab, red, red)){.shadow-\\[0_2px_10px_-2px_color-mix\\(in_oklab\\,var\\(--brand-plum\\)_35\\%\\,transparent\\)\\]{--tw-shadow:0 2px 10px -2px var(--tw-shadow-color,color-mix(in oklab,var(--brand-plum) 35%,transparent))}}.shadow-\\[0_2px_10px_-2px_color-mix\\(in_oklab\\,var\\(--brand-plum\\)_35\\%\\,transparent\\)\\]{box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_12px_32px_-12px_color-mix\\(in_oklab\\,var\\(--brand-plum\\)_35\\%\\,transparent\\)\\]{--tw-shadow:0 12px 32px -12px var(--tw-shadow-color,var(--brand-plum))}@supports (color:color-mix(in lab, red, red)){.shadow-\\[0_12px_32px_-12px_color-mix\\(in_oklab\\,var\\(--brand-plum\\)_35\\%\\,transparent\\)\\]{--tw-shadow:0 12px 32px -12px var(--tw-shadow-color,color-mix(in oklab,var(--brand-plum) 35%,transparent))}}.shadow-\\[0_12px_32px_-12px_color-mix\\(in_oklab\\,var\\(--brand-plum\\)_35\\%\\,transparent\\)\\]{box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_30px_80px_-20px_color-mix\\(in_oklab\\,var\\(--brand-plum\\)_25\\%\\,transparent\\)\\,inset_0_1px_0_rgba\\(255\\,255\\,255\\,0\\.75\\)\\]{--tw-shadow:0 30px 80px -20px var(--tw-shadow-color,var(--brand-plum)), inset 0 1px 0 var(--tw-shadow-color,#ffffffbf)}@supports (color:color-mix(in lab, red, red)){.shadow-\\[0_30px_80px_-20px_color-mix\\(in_oklab\\,var\\(--brand-plum\\)_25\\%\\,transparent\\)\\,inset_0_1px_0_rgba\\(255\\,255\\,255\\,0\\.75\\)\\]{--tw-shadow:0 30px 80px -20px var(--tw-shadow-color,color-mix(in oklab,var(--brand-plum) 25%,transparent)), inset 0 1px 0 var(--tw-shadow-color,#ffffffbf)}}.shadow-\\[0_30px_80px_-20px_color-mix\\(in_oklab\\,var\\(--brand-plum\\)_25\\%\\,transparent\\)\\,inset_0_1px_0_rgba\\(255\\,255\\,255\\,0\\.75\\)\\]{box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[inset_0_1px_4px_rgba\\(0\\,0\\,0\\,0\\.4\\)\\]{--tw-shadow:inset 0 1px 4px var(--tw-shadow-color,#0006);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring,.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-4{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-\\[var\\(--widget-accent\\)\\]\\/30{--tw-ring-color:var(--widget-accent)}@supports (color:color-mix(in lab, red, red)){.ring-\\[var\\(--widget-accent\\)\\]\\/30{--tw-ring-color:color-mix(in oklab, var(--widget-accent) 30%, transparent)}}.ring-black\\/5{--tw-ring-color:#0000000d}@supports (color:color-mix(in lab, red, red)){.ring-black\\/5{--tw-ring-color:color-mix(in oklab, var(--color-black) 5%, transparent)}}.ring-black\\/10{--tw-ring-color:#0000001a}@supports (color:color-mix(in lab, red, red)){.ring-black\\/10{--tw-ring-color:color-mix(in oklab, var(--color-black) 10%, transparent)}}.ring-brand-amber\\/50{--tw-ring-color:var(--brand-amber)}@supports (color:color-mix(in lab, red, red)){.ring-brand-amber\\/50{--tw-ring-color:color-mix(in oklab, var(--brand-amber) 50%, transparent)}}.ring-brand-plum\\/10{--tw-ring-color:var(--brand-plum)}@supports (color:color-mix(in lab, red, red)){.ring-brand-plum\\/10{--tw-ring-color:color-mix(in oklab, var(--brand-plum) 10%, transparent)}}.ring-brand-rose\\/50{--tw-ring-color:var(--brand-rose)}@supports (color:color-mix(in lab, red, red)){.ring-brand-rose\\/50{--tw-ring-color:color-mix(in oklab, var(--brand-rose) 50%, transparent)}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur-2xl{--tw-blur:blur(var(--blur-2xl));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.blur-md{--tw-blur:blur(var(--blur-md));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.blur-xl{--tw-blur:blur(var(--blur-xl));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\\[2px\\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-xl{--tw-backdrop-blur:blur(var(--blur-xl));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[opacity\\,scale\\]{transition-property:opacity,scale;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[width\\]{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.delay-\\[300ms\\]{transition-delay:.3s}.delay-\\[350ms\\]{transition-delay:.35s}.duration-75{--tw-duration:75ms;transition-duration:75ms}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-500{--tw-duration:.5s;transition-duration:.5s}.duration-\\[700ms\\]{--tw-duration:.7s;transition-duration:.7s}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.\\[storefront-report\\:\\<kind\\>\\]{storefront-report:<kind>}.\\[storefront-report\\:cart_add\\]{storefront-report:cart add}.placeholder\\:text-\\[var\\(--widget-foreground-muted\\)\\]::placeholder{color:var(--widget-foreground-muted)}@media (hover:hover){.hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\\:bg-\\[var\\(--widget-accent\\)\\]:hover{background-color:var(--widget-accent)}.hover\\:bg-brand-plum\\/10:hover{background-color:var(--brand-plum)}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-brand-plum\\/10:hover{background-color:color-mix(in oklab, var(--brand-plum) 10%, transparent)}}.hover\\:text-\\[var\\(--widget-accent-foreground\\)\\]:hover{color:var(--widget-accent-foreground)}.hover\\:text-brand-plum:hover{color:var(--brand-plum)}.hover\\:shadow-\\[0_0_0_1px_color-mix\\(in_oklab\\,var\\(--brand-plum\\)_26\\%\\,transparent\\)\\,0_6px_18px_-2px_color-mix\\(in_oklab\\,var\\(--brand-plum\\)_60\\%\\,transparent\\)\\,0_0_30px_-4px_color-mix\\(in_oklab\\,var\\(--brand-rose\\)_55\\%\\,transparent\\)\\]:hover{--tw-shadow:0 0 0 1px var(--tw-shadow-color,var(--brand-plum)), 0 6px 18px -2px var(--tw-shadow-color,var(--brand-plum)), 0 0 30px -4px var(--tw-shadow-color,var(--brand-rose))}@supports (color:color-mix(in lab, red, red)){.hover\\:shadow-\\[0_0_0_1px_color-mix\\(in_oklab\\,var\\(--brand-plum\\)_26\\%\\,transparent\\)\\,0_6px_18px_-2px_color-mix\\(in_oklab\\,var\\(--brand-plum\\)_60\\%\\,transparent\\)\\,0_0_30px_-4px_color-mix\\(in_oklab\\,var\\(--brand-rose\\)_55\\%\\,transparent\\)\\]:hover{--tw-shadow:0 0 0 1px var(--tw-shadow-color,color-mix(in oklab,var(--brand-plum) 26%,transparent)), 0 6px 18px -2px var(--tw-shadow-color,color-mix(in oklab,var(--brand-plum) 60%,transparent)), 0 0 30px -4px var(--tw-shadow-color,color-mix(in oklab,var(--brand-rose) 55%,transparent))}}.hover\\:shadow-\\[0_0_0_1px_color-mix\\(in_oklab\\,var\\(--brand-plum\\)_26\\%\\,transparent\\)\\,0_6px_18px_-2px_color-mix\\(in_oklab\\,var\\(--brand-plum\\)_60\\%\\,transparent\\)\\,0_0_30px_-4px_color-mix\\(in_oklab\\,var\\(--brand-rose\\)_55\\%\\,transparent\\)\\]:hover{box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:ring-brand-plum\\/30:hover{--tw-ring-color:var(--brand-plum)}@supports (color:color-mix(in lab, red, red)){.hover\\:ring-brand-plum\\/30:hover{--tw-ring-color:color-mix(in oklab, var(--brand-plum) 30%, transparent)}}}.focus\\:border-brand-plum\\/30:focus{border-color:var(--brand-plum)}@supports (color:color-mix(in lab, red, red)){.focus\\:border-brand-plum\\/30:focus{border-color:color-mix(in oklab, var(--brand-plum) 30%, transparent)}}.focus\\:bg-\\[var\\(--widget-bubble\\)\\]:focus{background-color:var(--widget-bubble)}.focus\\:opacity-100:focus{opacity:1}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus\\:ring-brand-plum\\/15:focus{--tw-ring-color:var(--brand-plum)}@supports (color:color-mix(in lab, red, red)){.focus\\:ring-brand-plum\\/15:focus{--tw-ring-color:color-mix(in oklab, var(--brand-plum) 15%, transparent)}}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-\\[var\\(--widget-accent-ring\\)\\]:focus-visible{--tw-ring-color:var(--widget-accent-ring)}.focus-visible\\:ring-brand-plum\\/30:focus-visible{--tw-ring-color:var(--brand-plum)}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:ring-brand-plum\\/30:focus-visible{--tw-ring-color:color-mix(in oklab, var(--brand-plum) 30%, transparent)}}.focus-visible\\:ring-brand-plum\\/50:focus-visible{--tw-ring-color:var(--brand-plum)}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:ring-brand-plum\\/50:focus-visible{--tw-ring-color:color-mix(in oklab, var(--brand-plum) 50%, transparent)}}.focus-visible\\:ring-white\\/50:focus-visible{--tw-ring-color:#ffffff80}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:ring-white\\/50:focus-visible{--tw-ring-color:color-mix(in oklab, var(--color-white) 50%, transparent)}}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\\:cursor-default:disabled{cursor:default}.disabled\\:opacity-30:disabled{opacity:.3}.disabled\\:opacity-40:disabled{opacity:.4}.disabled\\:opacity-50:disabled{opacity:.5}.disabled\\:opacity-60:disabled{opacity:.6}.disabled\\:opacity-70:disabled{opacity:.7}@media (prefers-reduced-motion:reduce){.motion-reduce\\:scale-y-75{--tw-scale-y:75%;scale:var(--tw-scale-x) var(--tw-scale-y)}.motion-reduce\\:animate-none{animation:none}.motion-reduce\\:opacity-70{opacity:.7}.motion-reduce\\:transition-none{transition-property:none}}@media (min-width:40rem){.sm\\:top-6{top:calc(var(--spacing) * 6)}.sm\\:right-6{right:calc(var(--spacing) * 6)}.sm\\:bottom-6{bottom:calc(var(--spacing) * 6)}.sm\\:left-6{left:calc(var(--spacing) * 6)}.sm\\:ps-6{padding-inline-start:calc(var(--spacing) * 6)}.sm\\:pe-6{padding-inline-end:calc(var(--spacing) * 6)}}.rtl\\:translate-x-1\\/2:where(:dir(rtl),[dir=rtl],[dir=rtl] *){--tw-translate-x:calc(1 / 2 * 100%);translate:var(--tw-translate-x) var(--tw-translate-y)}.rtl\\:-scale-x-100:where(:dir(rtl),[dir=rtl],[dir=rtl] *){--tw-scale-x:calc(100% * -1);scale:var(--tw-scale-x) var(--tw-scale-y)}.\\[\\&\\:not\\(\\:first-child\\)\\]\\:mt-2:not(:first-child){margin-top:calc(var(--spacing) * 2)}}:host,:root{--widget-card:oklch(98.2% 0 0/.97);--widget-bubble:oklch(95% .006 84.6/.92);--widget-chip:oklch(92.7% .008 73.7/.78);--widget-foreground:oklch(30.5% .002 106.5);--widget-foreground-muted:oklch(30.5% .002 106.5/.62);--widget-accent:oklch(46.8% .043 126.6);--widget-accent-foreground:oklch(97% .012 125.3);--widget-accent-ring:oklch(80% .05 125.3);--widget-shadow-tint:oklch(46.8% .043 126.6);--color-brand-plum-800:oklch(42% .19 330);--color-brand-plum-400:oklch(69.5% .169 330);--color-brand-rose-500:oklch(65% .22 20);--color-brand-rose-400:oklch(71.4% .19 20);--color-brand-amber-400:oklch(80% .16 80);--color-brand-amber-500:oklch(70.7% .185 80);--color-brand-amber-300:oklch(84.3% .121 80);--color-brand-ink:oklch(21% .01 280);--background:oklch(100% 0 0);--foreground:oklch(21% .01 280)}:host(.dark),.dark{--widget-card:oklch(26% .012 124.8/.95);--widget-bubble:oklch(31.6% .023 124.8/.9);--widget-chip:oklch(31.6% .023 124.8/.75);--widget-foreground:oklch(97% .006 84.6);--widget-foreground-muted:oklch(97% .006 84.6/.65);--widget-accent:oklch(80% .05 125.3);--widget-accent-foreground:oklch(26% .012 124.8);--widget-accent-ring:oklch(85.8% .037 17.9);--widget-shadow-tint:oklch(31.6% .023 124.8);--background:oklch(14% .01 280);--foreground:oklch(97% .006 84.6)}:root{--brand-plum:var(--color-brand-plum-800);--brand-rose:var(--color-brand-rose-500);--brand-amber:var(--color-brand-amber-400);--brand-amber-deep:var(--color-brand-amber-500);--brand-ink:var(--color-brand-ink);--brand-surface:var(--background)}.dark{--brand-plum:var(--color-brand-plum-400);--brand-rose:var(--color-brand-rose-400);--brand-amber:var(--color-brand-amber-400);--brand-amber-deep:var(--color-brand-amber-300);--brand-ink:var(--foreground);--brand-surface:var(--background)}@keyframes scan{0%{transform:translate(-100%)}50%{transform:translate(100%)}to{transform:translate(-100%)}}@keyframes pulse-glow{0%,to{opacity:.8;box-shadow:0 0 8px color-mix(in oklab, var(--brand-amber) 45%, transparent), 0 0 3px color-mix(in oklab, var(--brand-amber) 30%, transparent)}50%{opacity:1;box-shadow:0 0 14px color-mix(in oklab, var(--brand-amber) 60%, transparent), 0 0 6px color-mix(in oklab, var(--brand-amber) 35%, transparent)}}@keyframes bot-halo-speak{0%,to{opacity:.55;transform:scale(1)}50%{opacity:.85;transform:scale(1.03)}}@keyframes bot-halo-listen{0%,to{opacity:.5;transform:scale(1)}50%{opacity:.75;transform:scale(1.015)}}@keyframes bot-ring-speak{0%,to{box-shadow:0 0 0 0 color-mix(in oklab, var(--brand-amber) 35%, transparent)}50%{box-shadow:0 0 0 6px color-mix(in oklab, var(--brand-amber) 0%, transparent)}}@keyframes bot-ring-listen{0%,to{box-shadow:0 0 0 0 color-mix(in oklab, var(--brand-rose) 35%, transparent)}50%{box-shadow:0 0 0 8px color-mix(in oklab, var(--brand-rose) 0%, transparent)}}@keyframes bot-blob-a{0%,to{transform:rotate(0)scale(1)}33%{transform:rotate(9deg)scale(1.06)}66%{transform:rotate(-7deg)scale(.97)}}@keyframes bot-blob-b{0%,to{transform:rotate(0)scale(1)}33%{transform:rotate(-11deg)scale(.95)}66%{transform:rotate(8deg)scale(1.08)}}@keyframes bot-blob-speak-a{0%,to{transform:rotate(0)scale(1)translate(0)}25%{transform:rotate(14deg)scale(1.09)translate(1px,-1px)}50%{transform:rotate(-6deg)scale(.94)translate(-1px,1px)}75%{transform:rotate(10deg)scale(1.05)translate(0)}}@keyframes bot-blob-speak-b{0%,to{transform:rotate(0)scale(1)translate(0)}25%{transform:rotate(-12deg)scale(.93)translate(-1px,1px)}50%{transform:rotate(9deg)scale(1.1)translate(1px,-1px)}75%{transform:rotate(-8deg)scale(.98)translate(0)}}@keyframes eye-speak-stretch{0%,to{opacity:.9;transform:scaleX(1)scaleY(1)}20%{opacity:1;transform:scaleX(.55)scaleY(1.6)}40%{opacity:1;transform:scaleX(1.15)scaleY(.7)}60%{opacity:1;transform:scaleX(.75)scaleY(1.3)}80%{opacity:.95;transform:scaleX(1.05)scaleY(.85)}}@keyframes bot-core-pulse{0%,to{opacity:.55;transform:scale(1)}50%{opacity:1;transform:scale(1.15)}}@keyframes bot-orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes bot-breathe{0%,to{transform:scale(1)}50%{transform:scale(1.025)}}@keyframes widget-portal{0%{opacity:.75;filter:blur();transform:scale(1)}to{opacity:0;filter:blur(10px);transform:scale(10)}}.widget-portal{animation:.7s cubic-bezier(.16,1,.3,1) forwards widget-portal}.no-scrollbar{scrollbar-width:none;-ms-overflow-style:none}.no-scrollbar::-webkit-scrollbar{display:none}.card-carousel{scrollbar-width:thin;scrollbar-color:#00000040 transparent}.card-carousel::-webkit-scrollbar{height:6px}.card-carousel::-webkit-scrollbar-track{background:0 0}.card-carousel::-webkit-scrollbar-thumb{background:#00000040;border-radius:9999px}.dark .card-carousel{scrollbar-color:#ffffff4d transparent}.dark .card-carousel::-webkit-scrollbar-thumb{background:#ffffff4d}@media (pointer:coarse){.card-carousel{scrollbar-width:none}.card-carousel::-webkit-scrollbar{display:none}}button:enabled,[role=button]:not([aria-disabled=true]),select:enabled,summary,label[for]{cursor:pointer}@keyframes bot-nod{0%{transform:translateY(0)scale(1)}30%{transform:translateY(-6px)scale(1.04)}55%{transform:translateY(2px)scale(.98)}to{transform:translateY(0)scale(1)}}@keyframes eye-idle-drift{0%,to{opacity:.85;transform:translate(0)scaleX(1)}25%{opacity:.95;transform:translate(-2px)scaleX(1.05)}50%{opacity:.9;transform:translate(2px)scaleX(.95)}75%{opacity:.95;transform:translate(0)scaleX(1.02)}}@keyframes bot-idle-scan{0%,to{opacity:0}20%{opacity:.6}50%{opacity:.8}80%{opacity:.5}}@keyframes voice-bar{0%,to{transform:scaleY(var(--voice-min,.35));opacity:var(--voice-min-opacity,.45)}50%{transform:scaleY(var(--voice-max,1));opacity:var(--voice-max-opacity,1)}}@keyframes rk-draw-on{0%{stroke-dasharray:0 100}to{stroke-dasharray:100 0}}.rk-draw{stroke-width:3px;animation:1.3s cubic-bezier(.5,0,.2,1) both rk-draw-on}@keyframes rk-idle-retie{0%,52%{stroke-dasharray:100 0 0;animation-timing-function:cubic-bezier(.6,0,.3,1)}58%{stroke-dasharray:4 92 4;animation-timing-function:cubic-bezier(.3,0,.3,1)}62%{stroke-dasharray:3 94 3;animation-timing-function:cubic-bezier(.45,0,.25,1)}88%,to{stroke-dasharray:50 0 50}}.rk-draw.rk-idle{animation:1.3s cubic-bezier(.5,0,.2,1) both rk-draw-on,9.5s ease-in-out 1.6s infinite rk-idle-retie}@keyframes rk-listen-fill{0%{stroke-dasharray:0 100}45%{stroke-dasharray:100 0}55%{stroke-dasharray:100 0}to{stroke-dasharray:0 100}}.rk-draw.rk-listening{animation:1.3s cubic-bezier(.5,0,.2,1) both rk-draw-on,2.8s cubic-bezier(.45,0,.55,1) 1.3s infinite rk-listen-fill}@keyframes rk-blend-to-listen{0%{stroke-dasharray:var(--rk-from,100 0 0)}to{stroke-dasharray:0 100}}@keyframes rk-blend-to-speak{0%{stroke-dasharray:var(--rk-from,100 0 0)}to{stroke-dasharray:10 80 10}}@keyframes rk-blend-to-think{0%{stroke-dasharray:var(--rk-from,100 0 0)}to{stroke-dasharray:.4 6.5}}@keyframes rk-blend-to-idle{0%{stroke-dasharray:var(--rk-from,0 100)}to{stroke-dasharray:100 0 0}}.rk-draw.rk-listening.rk-blend{animation:.5s cubic-bezier(.4,0,.2,1) both rk-blend-to-listen,2.8s cubic-bezier(.45,0,.55,1) .5s infinite rk-listen-fill}.rk-draw.rk-speaking.rk-blend{animation:.5s cubic-bezier(.4,0,.2,1) both rk-blend-to-speak,1.65s .5s infinite rk-speak-ends}.rk-draw.rk-thread.rk-blend{animation:.6s cubic-bezier(.4,0,.2,1) both rk-blend-to-think,3.8s ease-in-out .6s infinite rk-thread-fill}.rk-draw.rk-idle.rk-blend{animation:.55s cubic-bezier(.4,0,.2,1) both rk-blend-to-idle,9.5s ease-in-out .85s infinite rk-idle-retie}@keyframes rk-pulse-run{0%{stroke-dashoffset:100px}to{stroke-dashoffset:0}}.rk-pulse{animation:2.4s cubic-bezier(.45,0,.55,1) infinite rk-pulse-run}@keyframes rk-sway{0%,to{transform:rotate(-.8deg)translateY(0)scale(1)}50%{transform:rotate(.8deg)translateY(-1px)scale(1.012)}}.rk-sway{animation:7.5s ease-in-out infinite rk-sway}@keyframes rk-tighten{0%{transform:scale(1)rotate(0)}28%{transform:scale(.9)rotate(-2.5deg)}55%{transform:scale(1.035)rotate(1deg)}78%{transform:scale(.99)rotate(-.4deg)}to{transform:scale(1)rotate(0)}}.rk-tighten{animation:.42s cubic-bezier(.34,1.56,.64,1) rk-tighten}@keyframes rk-tap-fill{0%{stroke-dasharray:100 0 0}30%{stroke-dasharray:34 32 34}55%{stroke-dasharray:42 16 42}to{stroke-dasharray:100 0 0}}.rk-draw.rk-tap{animation:.65s cubic-bezier(.4,0,.3,1) both rk-tap-fill}@keyframes rk-cinch{0%{animation-timing-function:cubic-bezier(.6,0,.8,.4);transform:scale(1)rotate(0)}38%{animation-timing-function:cubic-bezier(.2,1.1,.3,1);transform:scale(.955,.91)rotate(-1.3deg)}55%{animation-timing-function:cubic-bezier(.4,0,.3,1);transform:scale(1.02,1.028)rotate(.5deg)}68%,to{transform:scale(1)rotate(0)}}.rk-thinking{transform-origin:50%;animation:3.8s infinite rk-cinch}@keyframes rk-thread-fill{0%,to{stroke-dasharray:.4 6.5}50%{stroke-dasharray:100 0}}.rk-draw.rk-thread{stroke-linecap:round;animation:1.3s cubic-bezier(.5,0,.2,1) both rk-draw-on,3.8s ease-in-out 1.3s infinite rk-thread-fill}@keyframes rk-speak-ends{0%,to{stroke-dasharray:10 80 10;animation-timing-function:cubic-bezier(.45,0,.2,1)}35%{stroke-dasharray:40 20 40;animation-timing-function:cubic-bezier(.25,.5,.5,1)}48%{stroke-dasharray:38 24 38;animation-timing-function:linear}62%{stroke-dasharray:38 24 38;animation-timing-function:cubic-bezier(.35,0,.5,1)}}.rk-draw.rk-speaking{animation:1.3s cubic-bezier(.5,0,.2,1) both rk-draw-on,1.65s 1.3s infinite rk-speak-ends}@keyframes rk-halo{0%,to{opacity:.45;transform:scale(1)}50%{opacity:.75;transform:scale(1.15)}}.rk-halo{animation:2.4s ease-in-out infinite rk-halo}@media (prefers-reduced-motion:reduce){.rk-draw,.rk-draw.rk-idle,.rk-draw.rk-listening,.rk-draw.rk-thread,.rk-draw.rk-speaking,.rk-draw.rk-tap,.rk-draw.rk-blend,.rk-draw.rk-idle.rk-blend,.rk-draw.rk-listening.rk-blend,.rk-draw.rk-thread.rk-blend,.rk-draw.rk-speaking.rk-blend,.rk-pulse,.rk-sway,.rk-tighten,.rk-thinking,.rk-halo{animation:none}}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}@property --tw-scale-x{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-y{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-z{syntax:\"*\";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-scroll-snap-strictness{syntax:\"*\";inherits:false;initial-value:proximity}@property --tw-space-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:\"*\";inherits:false}@property --tw-gradient-from{syntax:\"<color>\";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:\"<color>\";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:\"<color>\";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:\"*\";inherits:false}@property --tw-gradient-via-stops{syntax:\"*\";inherits:false}@property --tw-gradient-from-position{syntax:\"<length-percentage>\";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:\"<length-percentage>\";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:\"<length-percentage>\";inherits:false;initial-value:100%}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-tracking{syntax:\"*\";inherits:false}@property --tw-ordinal{syntax:\"*\";inherits:false}@property --tw-slashed-zero{syntax:\"*\";inherits:false}@property --tw-numeric-figure{syntax:\"*\";inherits:false}@property --tw-numeric-spacing{syntax:\"*\";inherits:false}@property --tw-numeric-fraction{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-blur{syntax:\"*\";inherits:false}@property --tw-brightness{syntax:\"*\";inherits:false}@property --tw-contrast{syntax:\"*\";inherits:false}@property --tw-grayscale{syntax:\"*\";inherits:false}@property --tw-hue-rotate{syntax:\"*\";inherits:false}@property --tw-invert{syntax:\"*\";inherits:false}@property --tw-opacity{syntax:\"*\";inherits:false}@property --tw-saturate{syntax:\"*\";inherits:false}@property --tw-sepia{syntax:\"*\";inherits:false}@property --tw-drop-shadow{syntax:\"*\";inherits:false}@property --tw-drop-shadow-color{syntax:\"*\";inherits:false}@property --tw-drop-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:\"*\";inherits:false}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}@property --tw-duration{syntax:\"*\";inherits:false}@property --tw-ease{syntax:\"*\";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}}";
|
|
4532
|
+
var WIDGET_CSS = "/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-scroll-snap-strictness:proximity;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--color-amber-300:oklch(87.9% .169 91.605);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-sky-300:oklch(82.8% .111 230.318);--color-rose-300:oklch(81% .117 11.638);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-medium:500;--font-weight-semibold:600;--tracking-wide:.025em;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--animate-spin:spin 1s linear infinite;--animate-bounce:bounce 1s infinite;--blur-md:12px;--blur-2xl:40px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-brand-plum:var(--brand-plum);--color-brand-ink:var(--brand-ink)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.\\[container-type\\:size\\]{container-type:size}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-1{inset:var(--spacing)}.inset-2{inset:calc(var(--spacing) * 2)}.end-2{inset-inline-end:calc(var(--spacing) * 2)}.end-5{inset-inline-end:calc(var(--spacing) * 5)}.end-\\[8\\%\\]{inset-inline-end:8%}.top-1{top:var(--spacing)}.top-1\\/2{top:50%}.top-5{top:calc(var(--spacing) * 5)}.top-\\[8\\%\\]{top:8%}.right-1\\.5{right:calc(var(--spacing) * 1.5)}.right-2{right:calc(var(--spacing) * 2)}.bottom-1\\.5{bottom:calc(var(--spacing) * 1.5)}.left-1\\.5{left:calc(var(--spacing) * 1.5)}.left-1\\/2{left:50%}.z-10{z-index:10}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.my-1{margin-block:var(--spacing)}.-mt-0\\.5{margin-top:calc(var(--spacing) * -.5)}.mt-1{margin-top:var(--spacing)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.-ml-0\\.5{margin-left:calc(var(--spacing) * -.5)}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.aspect-\\[5\\/8\\]{aspect-ratio:5/8}.aspect-square{aspect-ratio:1}.h-0\\.5{height:calc(var(--spacing) * .5)}.h-1{height:var(--spacing)}.h-1\\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-3{height:calc(var(--spacing) * 3)}.h-3\\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-16{height:calc(var(--spacing) * 16)}.h-24{height:calc(var(--spacing) * 24)}.h-\\[4\\.5rem\\]{height:4.5rem}.h-\\[4\\.8rem\\]{height:4.8rem}.h-\\[min\\(520px\\,calc\\(100dvh-5rem\\)\\)\\]{height:min(520px,100dvh - 5rem)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.max-h-40{max-height:calc(var(--spacing) * 40)}.max-h-72{max-height:calc(var(--spacing) * 72)}.min-h-0{min-height:0}.w-1{width:var(--spacing)}.w-1\\.5{width:calc(var(--spacing) * 1.5)}.w-3{width:calc(var(--spacing) * 3)}.w-3\\.5{width:calc(var(--spacing) * 3.5)}.w-5{width:calc(var(--spacing) * 5)}.w-9{width:calc(var(--spacing) * 9)}.w-10{width:calc(var(--spacing) * 10)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-24{width:calc(var(--spacing) * 24)}.w-\\[2\\.1rem\\]{width:2.1rem}.w-\\[2px\\]{width:2px}.w-\\[3px\\]{width:3px}.w-\\[4\\.8rem\\]{width:4.8rem}.w-\\[5\\%\\]{width:5%}.w-\\[71\\%\\]{width:71%}.w-\\[min\\(97vw\\,50dvh\\)\\]{width:min(97vw,50dvh)}.w-\\[min\\(400px\\,calc\\(100vw-2rem\\)\\)\\]{width:min(400px,100vw - 2rem)}.w-auto{width:auto}.w-full{width:100%}.w-px{width:1px}.max-w-32{max-width:calc(var(--spacing) * 32)}.max-w-40{max-width:calc(var(--spacing) * 40)}.max-w-\\[85\\%\\]{max-width:85%}.max-w-\\[180px\\]{max-width:180px}.max-w-\\[300px\\]{max-width:300px}.max-w-md{max-width:var(--container-md)}.min-w-0{min-width:0}.flex-1{flex:1}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-\\[calc\\(100\\%\\/1\\.25\\)\\]{flex-basis:80%}.origin-left{transform-origin:0}.scale-90{--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-\\[0\\.75\\]{scale:.75}.scale-\\[0\\.625\\]{scale:.625}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-\\[\\<name\\>_1\\.8s_…\\]{animation:<name> 1.8s …}.animate-\\[bot-blob-a_1\\.6s_ease-in-out_infinite\\]{animation:1.6s ease-in-out infinite bot-blob-a}.animate-\\[bot-blob-a_5s_ease-in-out_infinite\\]{animation:5s ease-in-out infinite bot-blob-a}.animate-\\[bot-blob-a_7s_ease-in-out_infinite\\]{animation:7s ease-in-out infinite bot-blob-a}.animate-\\[bot-blob-a_9s_ease-in-out_infinite\\]{animation:9s ease-in-out infinite bot-blob-a}.animate-\\[bot-blob-b_1\\.4s_ease-in-out_infinite\\]{animation:1.4s ease-in-out infinite bot-blob-b}.animate-\\[bot-blob-b_6s_ease-in-out_infinite\\]{animation:6s ease-in-out infinite bot-blob-b}.animate-\\[bot-blob-b_9s_ease-in-out_infinite\\]{animation:9s ease-in-out infinite bot-blob-b}.animate-\\[bot-blob-b_11s_ease-in-out_infinite\\]{animation:11s ease-in-out infinite bot-blob-b}.animate-\\[bot-blob-speak-a_1\\.6s_ease-in-out_infinite\\]{animation:1.6s ease-in-out infinite bot-blob-speak-a}.animate-\\[bot-blob-speak-b_1\\.4s_ease-in-out_infinite\\]{animation:1.4s ease-in-out infinite bot-blob-speak-b}.animate-\\[bot-breathe_4s_ease-in-out_infinite\\]{animation:4s ease-in-out infinite bot-breathe}.animate-\\[bot-core-pulse_0\\.9s_ease-in-out_infinite\\]{animation:.9s ease-in-out infinite bot-core-pulse}.animate-\\[bot-core-pulse_1\\.6s_ease-in-out_infinite\\]{animation:1.6s ease-in-out infinite bot-core-pulse}.animate-\\[bot-core-pulse_2\\.4s_ease-in-out_infinite\\]{animation:2.4s ease-in-out infinite bot-core-pulse}.animate-\\[bot-halo-listen_2\\.2s_ease-in-out_infinite\\]{animation:2.2s ease-in-out infinite bot-halo-listen}.animate-\\[bot-halo-listen_2\\.4s_ease-in-out_infinite\\]{animation:2.4s ease-in-out infinite bot-halo-listen}.animate-\\[bot-halo-speak_1\\.4s_ease-in-out_infinite\\]{animation:1.4s ease-in-out infinite bot-halo-speak}.animate-\\[bot-halo-speak_1\\.8s_ease-in-out_infinite\\]{animation:1.8s ease-in-out infinite bot-halo-speak}.animate-\\[bot-idle-scan_6s_ease-in-out_infinite\\]{animation:6s ease-in-out infinite bot-idle-scan}.animate-\\[bot-nod_0\\.4s_ease-out\\]{animation:.4s ease-out bot-nod}.animate-\\[bot-orbit_1\\.6s_linear_infinite\\]{animation:1.6s linear infinite bot-orbit}.animate-\\[bot-orbit_3\\.2s_linear_infinite\\]{animation:3.2s linear infinite bot-orbit}.animate-\\[bot-orbit_4\\.6s_linear_infinite_reverse\\]{animation:4.6s linear infinite reverse bot-orbit}.animate-\\[bot-orbit_…\\]{animation:bot-orbit …}.animate-\\[bot-ring-listen_2\\.2s_ease-in-out_infinite\\]{animation:2.2s ease-in-out infinite bot-ring-listen}.animate-\\[bot-ring-listen_2\\.4s_ease-in-out_infinite\\]{animation:2.4s ease-in-out infinite bot-ring-listen}.animate-\\[bot-ring-speak_1\\.4s_ease-in-out_infinite\\]{animation:1.4s ease-in-out infinite bot-ring-speak}.animate-\\[eye-idle-drift_5s_ease-in-out_infinite\\]{animation:5s ease-in-out infinite eye-idle-drift}.animate-\\[eye-speak-stretch_0\\.7s_ease-in-out_infinite\\]{animation:.7s ease-in-out infinite eye-speak-stretch}.animate-\\[name_\\.\\.\\.\\]{animation:name ...}.animate-\\[pulse-glow_1\\.6s_ease-in-out_infinite\\]{animation:1.6s ease-in-out infinite pulse-glow}.animate-\\[pulse-glow_3s_ease-in-out_infinite\\]{animation:3s ease-in-out infinite pulse-glow}.animate-\\[scan_4s_ease-in-out_infinite\\]{animation:4s ease-in-out infinite scan}.animate-\\[voice-bar_1\\.4s_cubic-bezier\\(0\\.45\\,0\\,0\\.55\\,1\\)_infinite\\]{animation:1.4s cubic-bezier(.45,0,.55,1) infinite voice-bar}.animate-bounce{animation:var(--animate-bounce)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.resize{resize:both}.snap-x{scroll-snap-type:x var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness:mandatory}.snap-start{scroll-snap-align:start}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-cols-\\[1fr_auto\\]{grid-template-columns:1fr auto}.grid-cols-\\[repeat\\(auto-fit\\,minmax\\(15rem\\,1fr\\)\\)\\]{grid-template-columns:repeat(auto-fit,minmax(15rem,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:var(--spacing)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-\\[2\\%\\]{gap:2%}.gap-\\[2px\\]{gap:2px}.gap-\\[3px\\]{gap:3px}.gap-px{gap:1px}:where(.space-y-0\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * .5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * .5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}.gap-y-1{row-gap:var(--spacing)}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-clip{overflow:clip}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-ee-md{border-end-end-radius:var(--radius-md)}.rounded-es-md{border-end-start-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-\\[var\\(--widget-foreground-muted\\)\\]\\/50{border-color:var(--widget-foreground-muted)}@supports (color:color-mix(in lab, red, red)){.border-\\[var\\(--widget-foreground-muted\\)\\]\\/50{border-color:color-mix(in oklab, var(--widget-foreground-muted) 50%, transparent)}}.border-black\\/5{border-color:#0000000d}@supports (color:color-mix(in lab, red, red)){.border-black\\/5{border-color:color-mix(in oklab, var(--color-black) 5%, transparent)}}.border-black\\/10{border-color:#0000001a}@supports (color:color-mix(in lab, red, red)){.border-black\\/10{border-color:color-mix(in oklab, var(--color-black) 10%, transparent)}}.border-brand-plum\\/10{border-color:var(--brand-plum)}@supports (color:color-mix(in lab, red, red)){.border-brand-plum\\/10{border-color:color-mix(in oklab, var(--brand-plum) 10%, transparent)}}.border-current{border-color:currentColor}.border-white\\/10{border-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.border-white\\/10{border-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.border-t-transparent{border-top-color:#0000}.bg-\\[var\\(--knot-surface\\)\\]{background-color:var(--knot-surface)}.bg-\\[var\\(--widget-accent\\)\\],.bg-\\[var\\(--widget-accent\\)\\]\\/15{background-color:var(--widget-accent)}@supports (color:color-mix(in lab, red, red)){.bg-\\[var\\(--widget-accent\\)\\]\\/15{background-color:color-mix(in oklab, var(--widget-accent) 15%, transparent)}}.bg-\\[var\\(--widget-bubble\\)\\]{background-color:var(--widget-bubble)}.bg-\\[var\\(--widget-card\\)\\]{background-color:var(--widget-card)}.bg-\\[var\\(--widget-chip\\)\\]{background-color:var(--widget-chip)}.bg-\\[var\\(--widget-foreground-muted\\)\\],.bg-\\[var\\(--widget-foreground-muted\\)\\]\\/25{background-color:var(--widget-foreground-muted)}@supports (color:color-mix(in lab, red, red)){.bg-\\[var\\(--widget-foreground-muted\\)\\]\\/25{background-color:color-mix(in oklab, var(--widget-foreground-muted) 25%, transparent)}}.bg-black\\/5{background-color:#0000000d}@supports (color:color-mix(in lab, red, red)){.bg-black\\/5{background-color:color-mix(in oklab, var(--color-black) 5%, transparent)}}.bg-black\\/10{background-color:#0000001a}@supports (color:color-mix(in lab, red, red)){.bg-black\\/10{background-color:color-mix(in oklab, var(--color-black) 10%, transparent)}}.bg-black\\/60{background-color:#0009}@supports (color:color-mix(in lab, red, red)){.bg-black\\/60{background-color:color-mix(in oklab, var(--color-black) 60%, transparent)}}.bg-brand-amber,.bg-brand-amber\\/80{background-color:var(--brand-amber)}@supports (color:color-mix(in lab, red, red)){.bg-brand-amber\\/80{background-color:color-mix(in oklab, var(--brand-amber) 80%, transparent)}}.bg-brand-plum,.bg-brand-plum\\/70{background-color:var(--brand-plum)}@supports (color:color-mix(in lab, red, red)){.bg-brand-plum\\/70{background-color:color-mix(in oklab, var(--brand-plum) 70%, transparent)}}.bg-brand-rose,.bg-brand-rose\\/40{background-color:var(--brand-rose)}@supports (color:color-mix(in lab, red, red)){.bg-brand-rose\\/40{background-color:color-mix(in oklab, var(--brand-rose) 40%, transparent)}}.bg-current{background-color:currentColor}.bg-emerald-400{background-color:var(--color-emerald-400)}.bg-transparent{background-color:#0000}.bg-white\\/10{background-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.bg-white\\/10{background-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.bg-white\\/60{background-color:#fff9}@supports (color:color-mix(in lab, red, red)){.bg-white\\/60{background-color:color-mix(in oklab, var(--color-white) 60%, transparent)}}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-t{--tw-gradient-position:to top in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-tr{--tw-gradient-position:to top right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\\[radial-gradient\\(circle\\,color-mix\\(in_oklab\\,var\\(--brand-amber\\)_12\\%\\,transparent\\)\\,color-mix\\(in_oklab\\,var\\(--brand-rose\\)_7\\%\\,transparent\\)_55\\%\\,transparent_75\\%\\)\\]{background-image:radial-gradient(circle,var(--brand-amber),var(--brand-rose) 55%,transparent 75%)}@supports (color:color-mix(in lab, red, red)){.bg-\\[radial-gradient\\(circle\\,color-mix\\(in_oklab\\,var\\(--brand-amber\\)_12\\%\\,transparent\\)\\,color-mix\\(in_oklab\\,var\\(--brand-rose\\)_7\\%\\,transparent\\)_55\\%\\,transparent_75\\%\\)\\]{background-image:radial-gradient(circle,color-mix(in oklab,var(--brand-amber) 12%,transparent),color-mix(in oklab,var(--brand-rose) 7%,transparent) 55%,transparent 75%)}}.bg-\\[radial-gradient\\(circle\\,var\\(--knot-halo\\)\\,transparent_70\\%\\)\\]{background-image:radial-gradient(circle,var(--knot-halo),transparent 70%)}.from-brand-plum{--tw-gradient-from:var(--brand-plum);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-brand-rose\\/12{--tw-gradient-from:var(--brand-rose)}@supports (color:color-mix(in lab, red, red)){.from-brand-rose\\/12{--tw-gradient-from:color-mix(in oklab, var(--brand-rose) 12%, transparent)}}.from-brand-rose\\/12{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-transparent{--tw-gradient-from:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-white\\/80{--tw-gradient-from:#fffc}@supports (color:color-mix(in lab, red, red)){.from-white\\/80{--tw-gradient-from:color-mix(in oklab, var(--color-white) 80%, transparent)}}.from-white\\/80{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.via-brand-amber\\/8{--tw-gradient-via:var(--brand-amber)}@supports (color:color-mix(in lab, red, red)){.via-brand-amber\\/8{--tw-gradient-via:color-mix(in oklab, var(--brand-amber) 8%, transparent)}}.via-brand-amber\\/8{--tw-gradient-via-stops:var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.via-brand-rose\\/25{--tw-gradient-via:var(--brand-rose)}@supports (color:color-mix(in lab, red, red)){.via-brand-rose\\/25{--tw-gradient-via:color-mix(in oklab, var(--brand-rose) 25%, transparent)}}.via-brand-rose\\/25{--tw-gradient-via-stops:var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-\\[color-mix\\(in_oklab\\,var\\(--brand-plum\\)_55\\%\\,white\\)\\]{--tw-gradient-to:var(--brand-plum)}@supports (color:color-mix(in lab, red, red)){.to-\\[color-mix\\(in_oklab\\,var\\(--brand-plum\\)_55\\%\\,white\\)\\]{--tw-gradient-to:color-mix(in oklab,var(--brand-plum) 55%,white)}}.to-\\[color-mix\\(in_oklab\\,var\\(--brand-plum\\)_55\\%\\,white\\)\\]{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-brand-plum\\/8{--tw-gradient-to:var(--brand-plum)}@supports (color:color-mix(in lab, red, red)){.to-brand-plum\\/8{--tw-gradient-to:color-mix(in oklab, var(--brand-plum) 8%, transparent)}}.to-brand-plum\\/8{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-brand-plum\\/90{--tw-gradient-to:var(--brand-plum)}@supports (color:color-mix(in lab, red, red)){.to-brand-plum\\/90{--tw-gradient-to:color-mix(in oklab, var(--brand-plum) 90%, transparent)}}.to-brand-plum\\/90{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-brand-rose\\/\\[0\\.03\\]{--tw-gradient-to:var(--brand-rose)}@supports (color:color-mix(in lab, red, red)){.to-brand-rose\\/\\[0\\.03\\]{--tw-gradient-to:color-mix(in oklab, var(--brand-rose) 3%, transparent)}}.to-brand-rose\\/\\[0\\.03\\]{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-transparent{--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.px-1{padding-inline:var(--spacing)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-3\\.5{padding-inline:calc(var(--spacing) * 3.5)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\\.5{padding-block:calc(var(--spacing) * 2.5)}.py-8{padding-block:calc(var(--spacing) * 8)}.ps-4{padding-inline-start:calc(var(--spacing) * 4)}.pe-0\\.5{padding-inline-end:calc(var(--spacing) * .5)}.pt-0\\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-2\\.5{padding-top:calc(var(--spacing) * 2.5)}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[0\\.85em\\]{font-size:.85em}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[14px\\]{font-size:14px}.leading-\\[1\\.55\\]{--tw-leading:1.55;line-height:1.55}.leading-none{--tw-leading:1;line-height:1}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\\[0\\.2em\\]{--tw-tracking:.2em;letter-spacing:.2em}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.text-pretty{text-wrap:pretty}.whitespace-pre-wrap{white-space:pre-wrap}.text-\\[var\\(--widget-accent\\)\\]{color:var(--widget-accent)}.text-\\[var\\(--widget-accent-foreground\\)\\]{color:var(--widget-accent-foreground)}.text-\\[var\\(--widget-foreground\\)\\]{color:var(--widget-foreground)}.text-\\[var\\(--widget-foreground-muted\\)\\]{color:var(--widget-foreground-muted)}.text-amber-300{color:var(--color-amber-300)}.text-emerald-300{color:var(--color-emerald-300)}.text-rose-300{color:var(--color-rose-300)}.text-sky-300{color:var(--color-sky-300)}.text-white\\/30{color:#ffffff4d}@supports (color:color-mix(in lab, red, red)){.text-white\\/30{color:color-mix(in oklab, var(--color-white) 30%, transparent)}}.text-white\\/40{color:#fff6}@supports (color:color-mix(in lab, red, red)){.text-white\\/40{color:color-mix(in oklab, var(--color-white) 40%, transparent)}}.text-white\\/50{color:#ffffff80}@supports (color:color-mix(in lab, red, red)){.text-white\\/50{color:color-mix(in oklab, var(--color-white) 50%, transparent)}}.text-white\\/80{color:#fffc}@supports (color:color-mix(in lab, red, red)){.text-white\\/80{color:color-mix(in oklab, var(--color-white) 80%, transparent)}}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.opacity-0{opacity:0}.opacity-30{opacity:.3}.opacity-40{opacity:.4}.opacity-45{opacity:.45}.opacity-50{opacity:.5}.opacity-55{opacity:.55}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.opacity-90{opacity:.9}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_0_6px_color-mix\\(in_oklab\\,var\\(--brand-rose\\)_55\\%\\,transparent\\)\\]{--tw-shadow:0 0 6px var(--tw-shadow-color,var(--brand-rose))}@supports (color:color-mix(in lab, red, red)){.shadow-\\[0_0_6px_color-mix\\(in_oklab\\,var\\(--brand-rose\\)_55\\%\\,transparent\\)\\]{--tw-shadow:0 0 6px var(--tw-shadow-color,color-mix(in oklab,var(--brand-rose) 55%,transparent))}}.shadow-\\[0_0_6px_color-mix\\(in_oklab\\,var\\(--brand-rose\\)_55\\%\\,transparent\\)\\]{box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_0_8px_color-mix\\(in_oklab\\,var\\(--brand-rose\\)_60\\%\\,transparent\\)\\]{--tw-shadow:0 0 8px var(--tw-shadow-color,var(--brand-rose))}@supports (color:color-mix(in lab, red, red)){.shadow-\\[0_0_8px_color-mix\\(in_oklab\\,var\\(--brand-rose\\)_60\\%\\,transparent\\)\\]{--tw-shadow:0 0 8px var(--tw-shadow-color,color-mix(in oklab,var(--brand-rose) 60%,transparent))}}.shadow-\\[0_0_8px_color-mix\\(in_oklab\\,var\\(--brand-rose\\)_60\\%\\,transparent\\)\\]{box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_0_12px_color-mix\\(in_oklab\\,var\\(--brand-amber\\)_55\\%\\,transparent\\)\\]{--tw-shadow:0 0 12px var(--tw-shadow-color,var(--brand-amber))}@supports (color:color-mix(in lab, red, red)){.shadow-\\[0_0_12px_color-mix\\(in_oklab\\,var\\(--brand-amber\\)_55\\%\\,transparent\\)\\]{--tw-shadow:0 0 12px var(--tw-shadow-color,color-mix(in oklab,var(--brand-amber) 55%,transparent))}}.shadow-\\[0_0_12px_color-mix\\(in_oklab\\,var\\(--brand-amber\\)_55\\%\\,transparent\\)\\]{box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[inset_0_1px_4px_rgba\\(0\\,0\\,0\\,0\\.4\\)\\]{--tw-shadow:inset 0 1px 4px var(--tw-shadow-color,#0006);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring,.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-\\[var\\(--widget-accent\\)\\]\\/30{--tw-ring-color:var(--widget-accent)}@supports (color:color-mix(in lab, red, red)){.ring-\\[var\\(--widget-accent\\)\\]\\/30{--tw-ring-color:color-mix(in oklab, var(--widget-accent) 30%, transparent)}}.ring-black\\/10{--tw-ring-color:#0000001a}@supports (color:color-mix(in lab, red, red)){.ring-black\\/10{--tw-ring-color:color-mix(in oklab, var(--color-black) 10%, transparent)}}.ring-brand-amber\\/50{--tw-ring-color:var(--brand-amber)}@supports (color:color-mix(in lab, red, red)){.ring-brand-amber\\/50{--tw-ring-color:color-mix(in oklab, var(--brand-amber) 50%, transparent)}}.ring-brand-plum\\/10{--tw-ring-color:var(--brand-plum)}@supports (color:color-mix(in lab, red, red)){.ring-brand-plum\\/10{--tw-ring-color:color-mix(in oklab, var(--brand-plum) 10%, transparent)}}.ring-brand-rose\\/50{--tw-ring-color:var(--brand-rose)}@supports (color:color-mix(in lab, red, red)){.ring-brand-rose\\/50{--tw-ring-color:color-mix(in oklab, var(--brand-rose) 50%, transparent)}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur-2xl{--tw-blur:blur(var(--blur-2xl));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.blur-md{--tw-blur:blur(var(--blur-md));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[width\\]{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[…\\]{transition-property:…;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-75{--tw-duration:75ms;transition-duration:75ms}.duration-500{--tw-duration:.5s;transition-duration:.5s}.\\[storefront-report\\:\\<kind\\>\\]{storefront-report:<kind>}.\\[storefront-report\\:cart_add\\]{storefront-report:cart add}@media (hover:hover){.hover\\:bg-\\[var\\(--widget-accent\\)\\]:hover{background-color:var(--widget-accent)}.hover\\:text-\\[var\\(--widget-accent-foreground\\)\\]:hover{color:var(--widget-accent-foreground)}}.focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-\\[var\\(--widget-accent-ring\\)\\]:focus-visible{--tw-ring-color:var(--widget-accent-ring)}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.disabled\\:cursor-default:disabled{cursor:default}.disabled\\:opacity-50:disabled{opacity:.5}.disabled\\:opacity-60:disabled{opacity:.6}.disabled\\:opacity-70:disabled{opacity:.7}@media (prefers-reduced-motion:reduce){.motion-reduce\\:scale-y-75{--tw-scale-y:75%;scale:var(--tw-scale-x) var(--tw-scale-y)}.motion-reduce\\:animate-none{animation:none}.motion-reduce\\:opacity-70{opacity:.7}}.\\[\\&\\:not\\(\\:first-child\\)\\]\\:mt-2:not(:first-child){margin-top:calc(var(--spacing) * 2)}}:host,:root{--widget-card:oklch(98.2% 0 0/.97);--widget-bubble:oklch(95% .006 84.6/.92);--widget-chip:oklch(92.7% .008 73.7/.78);--widget-foreground:oklch(30.5% .002 106.5);--widget-foreground-muted:oklch(30.5% .002 106.5/.62);--widget-accent:oklch(46.8% .043 126.6);--widget-accent-foreground:oklch(97% .012 125.3);--widget-accent-ring:oklch(80% .05 125.3);--widget-shadow-tint:oklch(46.8% .043 126.6);--color-brand-plum-800:oklch(42% .19 330);--color-brand-plum-400:oklch(69.5% .169 330);--color-brand-rose-500:oklch(65% .22 20);--color-brand-rose-400:oklch(71.4% .19 20);--color-brand-amber-400:oklch(80% .16 80);--color-brand-amber-500:oklch(70.7% .185 80);--color-brand-amber-300:oklch(84.3% .121 80);--color-brand-ink:oklch(21% .01 280);--background:oklch(100% 0 0);--foreground:oklch(21% .01 280)}:host(.dark),.dark{--widget-card:oklch(26% .012 124.8/.95);--widget-bubble:oklch(31.6% .023 124.8/.9);--widget-chip:oklch(31.6% .023 124.8/.75);--widget-foreground:oklch(97% .006 84.6);--widget-foreground-muted:oklch(97% .006 84.6/.65);--widget-accent:oklch(80% .05 125.3);--widget-accent-foreground:oklch(26% .012 124.8);--widget-accent-ring:oklch(85.8% .037 17.9);--widget-shadow-tint:oklch(31.6% .023 124.8);--background:oklch(14% .01 280);--foreground:oklch(97% .006 84.6)}:host,:root{--wgt-primary:#111827;--wgt-on-primary:#fff;--wgt-accent:#191525;--wgt-surface:#fff;--wgt-surface-2:#f0efef;--wgt-text:#1c1618;--wgt-text-muted:#1c16189e;--wgt-border:#1c16181f;--wgt-ring:#111827;--wgt-radius:12px;--wgt-sheet-radius:12px;--wgt-card-radius:12px;--wgt-font:inherit;--wgt-caps:none}:host(.dark),.dark{--wgt-primary:#111827;--wgt-on-primary:#fff;--wgt-accent:#191525;--wgt-surface:#141414;--wgt-surface-2:#1f1f1f;--wgt-text:#fbf2f5;--wgt-text-muted:#fbf2f59e;--wgt-border:#fbf2f51f;--wgt-ring:#5a6376;--wgt-radius:12px;--wgt-sheet-radius:12px;--wgt-card-radius:12px;--wgt-font:inherit;--wgt-caps:none}:root{--brand-plum:var(--color-brand-plum-800);--brand-rose:var(--color-brand-rose-500);--brand-amber:var(--color-brand-amber-400);--brand-amber-deep:var(--color-brand-amber-500);--brand-ink:var(--color-brand-ink);--brand-surface:var(--background)}.dark{--brand-plum:var(--color-brand-plum-400);--brand-rose:var(--color-brand-rose-400);--brand-amber:var(--color-brand-amber-400);--brand-amber-deep:var(--color-brand-amber-300);--brand-ink:var(--foreground);--brand-surface:var(--background)}@keyframes scan{0%{transform:translate(-100%)}50%{transform:translate(100%)}to{transform:translate(-100%)}}@keyframes pulse-glow{0%,to{opacity:.8;transform:scaleY(1)}50%{opacity:1;transform:scaleY(1.35)}}@keyframes bot-halo-speak{0%,to{opacity:.55;transform:scale(1)}50%{opacity:.85;transform:scale(1.03)}}@keyframes bot-halo-listen{0%,to{opacity:.5;transform:scale(1)}50%{opacity:.75;transform:scale(1.015)}}@keyframes bot-ring-speak{0%,to{opacity:.9;transform:scale(1)}50%{opacity:0;transform:scale(1.09)}}@keyframes bot-ring-listen{0%,to{opacity:.9;transform:scale(1)}50%{opacity:0;transform:scale(1.12)}}@keyframes bot-blob-a{0%,to{transform:rotate(0)scale(1)}33%{transform:rotate(9deg)scale(1.06)}66%{transform:rotate(-7deg)scale(.97)}}@keyframes bot-blob-b{0%,to{transform:rotate(0)scale(1)}33%{transform:rotate(-11deg)scale(.95)}66%{transform:rotate(8deg)scale(1.08)}}@keyframes bot-blob-speak-a{0%,to{transform:rotate(0)scale(1)translate(0)}25%{transform:rotate(14deg)scale(1.09)translate(1px,-1px)}50%{transform:rotate(-6deg)scale(.94)translate(-1px,1px)}75%{transform:rotate(10deg)scale(1.05)translate(0)}}@keyframes bot-blob-speak-b{0%,to{transform:rotate(0)scale(1)translate(0)}25%{transform:rotate(-12deg)scale(.93)translate(-1px,1px)}50%{transform:rotate(9deg)scale(1.1)translate(1px,-1px)}75%{transform:rotate(-8deg)scale(.98)translate(0)}}@keyframes eye-speak-stretch{0%,to{opacity:.9;transform:scaleX(1)scaleY(1)}20%{opacity:1;transform:scaleX(.55)scaleY(1.6)}40%{opacity:1;transform:scaleX(1.15)scaleY(.7)}60%{opacity:1;transform:scaleX(.75)scaleY(1.3)}80%{opacity:.95;transform:scaleX(1.05)scaleY(.85)}}@keyframes bot-core-pulse{0%,to{opacity:.55;transform:scale(1)}50%{opacity:1;transform:scale(1.15)}}@keyframes bot-orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes bot-breathe{0%,to{transform:scale(1)}50%{transform:scale(1.025)}}.no-scrollbar{scrollbar-width:none;-ms-overflow-style:none}.no-scrollbar::-webkit-scrollbar{display:none}.card-carousel{scrollbar-width:thin;scrollbar-color:#00000040 transparent}.card-carousel::-webkit-scrollbar{height:6px}.card-carousel::-webkit-scrollbar-track{background:0 0}.card-carousel::-webkit-scrollbar-thumb{background:#00000040;border-radius:9999px}.dark .card-carousel{scrollbar-color:#ffffff4d transparent}.dark .card-carousel::-webkit-scrollbar-thumb{background:#ffffff4d}@media (pointer:coarse){.card-carousel{scrollbar-width:none}.card-carousel::-webkit-scrollbar{display:none}}button:enabled,[role=button]:not([aria-disabled=true]),select:enabled,summary,label[for]{cursor:pointer}@keyframes bot-nod{0%{transform:translateY(0)scale(1)}30%{transform:translateY(-6px)scale(1.04)}55%{transform:translateY(2px)scale(.98)}to{transform:translateY(0)scale(1)}}@keyframes eye-idle-drift{0%,to{opacity:.85;transform:translate(0)scaleX(1)}25%{opacity:.95;transform:translate(-2px)scaleX(1.05)}50%{opacity:.9;transform:translate(2px)scaleX(.95)}75%{opacity:.95;transform:translate(0)scaleX(1.02)}}@keyframes bot-idle-scan{0%,to{opacity:0}20%{opacity:.6}50%{opacity:.8}80%{opacity:.5}}@keyframes voice-bar{0%,to{transform:scaleY(var(--voice-min,.35));opacity:var(--voice-min-opacity,.45)}50%{transform:scaleY(var(--voice-max,1));opacity:var(--voice-max-opacity,1)}}@keyframes rk-draw-on{0%{stroke-dasharray:0 100}to{stroke-dasharray:100 0}}.rk-draw{stroke-width:3px;animation:1.3s cubic-bezier(.5,0,.2,1) both rk-draw-on}@keyframes rk-idle-retie{0%,52%{stroke-dasharray:100 0 0;animation-timing-function:cubic-bezier(.6,0,.3,1)}58%{stroke-dasharray:4 92 4;animation-timing-function:cubic-bezier(.3,0,.3,1)}62%{stroke-dasharray:3 94 3;animation-timing-function:cubic-bezier(.45,0,.25,1)}88%,to{stroke-dasharray:50 0 50}}.rk-draw.rk-idle{animation:1.3s cubic-bezier(.5,0,.2,1) both rk-draw-on,9.5s ease-in-out 1.6s infinite rk-idle-retie}@keyframes rk-listen-fill{0%{stroke-dasharray:0 100}45%{stroke-dasharray:100 0}55%{stroke-dasharray:100 0}to{stroke-dasharray:0 100}}.rk-draw.rk-listening{animation:1.3s cubic-bezier(.5,0,.2,1) both rk-draw-on,2.8s cubic-bezier(.45,0,.55,1) 1.3s infinite rk-listen-fill}@keyframes rk-blend-to-listen{0%{stroke-dasharray:var(--rk-from,100 0 0)}to{stroke-dasharray:0 100}}@keyframes rk-blend-to-speak{0%{stroke-dasharray:var(--rk-from,100 0 0)}to{stroke-dasharray:10 80 10}}@keyframes rk-blend-to-think{0%{stroke-dasharray:var(--rk-from,100 0 0)}to{stroke-dasharray:.4 6.5}}@keyframes rk-blend-to-idle{0%{stroke-dasharray:var(--rk-from,0 100)}to{stroke-dasharray:100 0 0}}.rk-draw.rk-listening.rk-blend{animation:.5s cubic-bezier(.4,0,.2,1) both rk-blend-to-listen,2.8s cubic-bezier(.45,0,.55,1) .5s infinite rk-listen-fill}.rk-draw.rk-speaking.rk-blend{animation:.5s cubic-bezier(.4,0,.2,1) both rk-blend-to-speak,1.65s .5s infinite rk-speak-ends}.rk-draw.rk-thread.rk-blend{animation:.6s cubic-bezier(.4,0,.2,1) both rk-blend-to-think,3.8s ease-in-out .6s infinite rk-thread-fill}.rk-draw.rk-idle.rk-blend{animation:.55s cubic-bezier(.4,0,.2,1) both rk-blend-to-idle,9.5s ease-in-out .85s infinite rk-idle-retie}@keyframes rk-pulse-run{0%{stroke-dashoffset:100px}to{stroke-dashoffset:0}}.rk-pulse{animation:2.4s cubic-bezier(.45,0,.55,1) infinite rk-pulse-run}@keyframes rk-sway{0%,to{transform:rotate(-.8deg)translateY(0)scale(1)}50%{transform:rotate(.8deg)translateY(-1px)scale(1.012)}}.rk-sway{animation:7.5s ease-in-out infinite rk-sway}@keyframes rk-tighten{0%{transform:scale(1)rotate(0)}28%{transform:scale(.9)rotate(-2.5deg)}55%{transform:scale(1.035)rotate(1deg)}78%{transform:scale(.99)rotate(-.4deg)}to{transform:scale(1)rotate(0)}}.rk-tighten{animation:.42s cubic-bezier(.34,1.56,.64,1) rk-tighten}@keyframes rk-tap-fill{0%{stroke-dasharray:100 0 0}30%{stroke-dasharray:34 32 34}55%{stroke-dasharray:42 16 42}to{stroke-dasharray:100 0 0}}.rk-draw.rk-tap{animation:.65s cubic-bezier(.4,0,.3,1) both rk-tap-fill}@keyframes rk-cinch{0%{animation-timing-function:cubic-bezier(.6,0,.8,.4);transform:scale(1)rotate(0)}38%{animation-timing-function:cubic-bezier(.2,1.1,.3,1);transform:scale(.955,.91)rotate(-1.3deg)}55%{animation-timing-function:cubic-bezier(.4,0,.3,1);transform:scale(1.02,1.028)rotate(.5deg)}68%,to{transform:scale(1)rotate(0)}}.rk-thinking{transform-origin:50%;animation:3.8s infinite rk-cinch}@keyframes rk-thread-fill{0%,to{stroke-dasharray:.4 6.5}50%{stroke-dasharray:100 0}}.rk-draw.rk-thread{stroke-linecap:round;animation:1.3s cubic-bezier(.5,0,.2,1) both rk-draw-on,3.8s ease-in-out 1.3s infinite rk-thread-fill}@keyframes rk-speak-ends{0%,to{stroke-dasharray:10 80 10;animation-timing-function:cubic-bezier(.45,0,.2,1)}35%{stroke-dasharray:40 20 40;animation-timing-function:cubic-bezier(.25,.5,.5,1)}48%{stroke-dasharray:38 24 38;animation-timing-function:linear}62%{stroke-dasharray:38 24 38;animation-timing-function:cubic-bezier(.35,0,.5,1)}}.rk-draw.rk-speaking{animation:1.3s cubic-bezier(.5,0,.2,1) both rk-draw-on,1.65s 1.3s infinite rk-speak-ends}@keyframes rk-halo{0%,to{opacity:.45;transform:scale(1)}50%{opacity:.75;transform:scale(1.15)}}.rk-halo{animation:2.4s ease-in-out infinite rk-halo}@media (prefers-reduced-motion:reduce){.rk-draw,.rk-draw.rk-idle,.rk-draw.rk-listening,.rk-draw.rk-thread,.rk-draw.rk-speaking,.rk-draw.rk-tap,.rk-draw.rk-blend,.rk-draw.rk-idle.rk-blend,.rk-draw.rk-listening.rk-blend,.rk-draw.rk-thread.rk-blend,.rk-draw.rk-speaking.rk-blend,.rk-pulse,.rk-sway,.rk-tighten,.rk-thinking,.rk-halo{animation:none}}.wgt-dock{z-index:var(--wgt-z,2147480000);pointer-events:auto;font-family:var(--wgt-font);color:var(--wgt-text);transform:translateY(calc(-1 * var(--wgt-kb,0px)));contain:layout style;position:fixed}.wgt-dock *,.wgt-dock :before,.wgt-dock :after{box-sizing:border-box}.wgt-row{bottom:0;inset-inline:var(--wgt-row-margin,0px);height:var(--wgt-row-h,48px);border:1px solid var(--wgt-border);border-radius:var(--wgt-radius);background:var(--wgt-surface);color:var(--wgt-text);contain:layout style paint;transition:border-color var(--wgt-dur-border,.16s) linear, transform var(--wgt-dur-swap,.24s) cubic-bezier(.2, 0, 0, 1), opacity var(--wgt-dur-swap,.24s) cubic-bezier(.2, 0, 0, 1), visibility var(--wgt-dur-swap,.24s) linear;align-items:center;gap:8px;padding:0 8px;display:flex;position:absolute}.wgt-row[data-border=primary]{border-color:var(--wgt-primary)}.wgt-row[data-form=pill]{opacity:0;visibility:hidden;pointer-events:none;transform:scale(.98)}.wgt-mark{min-width:44px;min-height:44px;color:inherit;cursor:pointer;background:0 0;border:none;flex:none;justify-content:center;align-items:center;padding:0;display:flex}.wgt-mark-face{width:var(--wgt-mark-size,32px);height:var(--wgt-mark-size,32px);transition:opacity var(--wgt-dur-border,.16s) linear;border-radius:9999px;flex:none;justify-content:center;align-items:center;display:flex;overflow:hidden}.wgt-mark-face[data-mark=dimmed]{opacity:.55}.wgt-mark-img{object-fit:cover;width:100%;height:100%}.wgt-mark-visor{background:var(--wgt-primary);border-radius:9999px;width:56%;height:25%;display:block}.wgt-mark-dot{background:var(--wgt-primary);border-radius:9999px;width:37.5%;height:37.5%;display:block}.wgt-mark-face[data-avatar=image][data-mark=live]{outline:2px solid var(--wgt-primary);outline-offset:1px}.wgt-activity{flex:none;justify-content:center;align-items:center;gap:2px;width:20px;height:20px;display:flex}.wgt-bar{background:var(--wgt-primary);width:2px;height:100%;transform:scaleY(var(--wgt-level,.15));transform-origin:50%;border-radius:1px}.wgt-progress{background:var(--wgt-surface-2);border-radius:1px;width:100%;height:2px;overflow:hidden}.wgt-progress:after{content:\"\";background:var(--wgt-primary);border-radius:1px;width:40%;height:100%;animation:1.1s ease-in-out infinite wgt-progress;display:block}@keyframes wgt-progress{0%{transform:translate(-100%)}to{transform:translate(350%)}}.wgt-caption{flex:auto;align-items:center;min-width:0;display:flex;position:relative}.wgt-input{min-width:0;height:44px;color:var(--wgt-text);-webkit-text-fill-color:var(--wgt-text);background:0 0;border:none;outline:none;flex:auto;font-family:inherit;font-size:15px}.wgt-input::placeholder{color:var(--wgt-text-muted)}.wgt-line{color:var(--wgt-text);text-overflow:ellipsis;white-space:nowrap;pointer-events:none;font-size:15px;line-height:44px;position:absolute;inset-inline:0;overflow:hidden}.wgt-line[data-phase=in]{animation:wgt-caption-in var(--wgt-dur-caption,.16s) ease}.wgt-line[data-phase=out]{animation:wgt-caption-out var(--wgt-dur-caption,.16s) ease forwards}@keyframes wgt-caption-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes wgt-caption-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-4px)}}.wgt-caption[data-mode=line] .wgt-input{opacity:0}.wgt-controls{flex:none;align-items:center;display:flex}.wgt-control{min-width:44px;min-height:44px;color:var(--wgt-text);-webkit-text-fill-color:var(--wgt-text);font:inherit;text-transform:var(--wgt-caps);cursor:pointer;transition:transform var(--wgt-dur-control,.12s) ease, opacity var(--wgt-dur-control,.12s) ease;background:0 0;border:none;justify-content:center;align-items:center;gap:6px;padding:0 6px;font-size:13px;display:inline-flex}.wgt-control:disabled{opacity:.4;cursor:default}.wgt-control:focus-visible,.wgt-mark:focus-visible,.wgt-pill:focus-visible,.wgt-input:focus-visible,.wgt-sheet-handle:focus-visible{outline:2px solid var(--wgt-ring);outline-offset:2px}.wgt-control[data-control=mute][aria-pressed=true]{color:var(--wgt-primary);-webkit-text-fill-color:var(--wgt-primary)}.wgt-pill{bottom:0;left:var(--wgt-pill-left,auto);right:var(--wgt-pill-right,16px);height:var(--wgt-pill-h,44px);border:1px solid var(--wgt-border);border-radius:var(--wgt-radius);background:var(--wgt-surface);min-width:44px;max-width:calc(100% - 20px);min-height:44px;color:var(--wgt-text);-webkit-text-fill-color:var(--wgt-text);text-transform:var(--wgt-caps,none);cursor:pointer;contain:layout style paint;transition:transform var(--wgt-dur-swap,.24s) cubic-bezier(.2, 0, 0, 1), opacity var(--wgt-dur-swap,.24s) cubic-bezier(.2, 0, 0, 1), visibility var(--wgt-dur-swap,.24s) linear;align-items:center;gap:8px;padding:0 14px 0 8px;display:flex;position:absolute}.wgt-pill[data-form=row]{opacity:0;visibility:hidden;pointer-events:none;transform:scale(.92)}.wgt-pill-label{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;overflow:hidden}.wgt-sheet{bottom:calc(var(--wgt-row-h,48px) + 8px);inset-inline:var(--wgt-row-margin,0px);max-height:var(--wgt-sheet-max-h);border:1px solid var(--wgt-border);border-radius:var(--wgt-sheet-radius,12px) var(--wgt-sheet-radius,12px) 0 0;background:var(--wgt-surface);contain:layout style paint;transform:translateY(var(--wgt-sheet-y,0px));transition:clip-path var(--wgt-dur-sheet,.24s) cubic-bezier(.2, 0, 0, 1), transform var(--wgt-dur-sheet,.24s) cubic-bezier(.2, 0, 0, 1), opacity var(--wgt-dur-sheet,.24s) cubic-bezier(.2, 0, 0, 1), visibility var(--wgt-dur-sheet,.24s) linear;flex-direction:column;display:flex;position:absolute}.wgt-sheet[data-snap=closed]{clip-path:inset(100% 0 0);opacity:0;visibility:hidden;pointer-events:none;transition-duration:var(--wgt-dur-sheet-close,.18s);transition-timing-function:cubic-bezier(.4,0,1,1);transform:translateY(8px)}.wgt-sheet[data-snap=peek],.wgt-sheet[data-snap=expanded]{clip-path:inset(0);opacity:1}.wgt-sheet[data-snap=peek]{max-height:min(var(--wgt-sheet-max-h), var(--wgt-sheet-peek,260px))}.wgt-sheet[data-dragging=true]{transition:none}.wgt-sheet-handle{cursor:grab;touch-action:none;background:0 0;border:none;flex:none;justify-content:center;align-items:center;min-height:24px;padding:8px 0 4px;display:flex;position:relative}.wgt-sheet-handle:before{content:\"\";inset-inline:0;height:44px;position:absolute;top:0}.wgt-sheet-grip{background:var(--wgt-border);border-radius:9999px;width:36px;height:4px;display:block}.wgt-sheet-header{z-index:1;flex:none;justify-content:flex-end;align-items:center;gap:8px;padding:0 12px 4px;display:flex;position:relative}.wgt-sheet-body{z-index:1;overscroll-behavior:contain;scrollbar-gutter:stable;flex:auto;min-height:0;padding:0 12px 12px;position:relative;overflow-y:auto}.wgt-sheet-action{border-radius:var(--wgt-card-radius,12px);color:var(--wgt-text-muted);-webkit-text-fill-color:var(--wgt-text-muted);font:inherit;min-width:44px;min-height:44px;text-transform:var(--wgt-caps);cursor:pointer;background:0 0;border:none;padding:0 6px;font-size:13px}.wgt-turn-row{content-visibility:auto;contain-intrinsic-size:auto 64px;margin-inline:-4px;padding:4px}.wgt-shelf{grid-template-columns:1fr;gap:8px;margin:0;padding:0;list-style:none;display:grid}.wgt-dock[data-viewport=desktop] .wgt-shelf{grid-template-columns:repeat(3,minmax(0,1fr))}.wgt-shelf-row{content-visibility:auto;contain-intrinsic-size:auto 72px;display:flex}.wgt-shelf-card{min-width:0;min-height:44px;color:inherit;flex:auto;align-items:center;gap:10px;text-decoration:none;display:flex}.wgt-dock[data-viewport=desktop] .wgt-shelf-card{flex-direction:column;align-items:stretch}.wgt-shelf-image{width:auto;height:64px;aspect-ratio:var(--wgt-card-aspect,1 / 1);border-radius:var(--wgt-card-radius,12px);background:var(--wgt-surface-2);object-fit:cover;flex:none}.wgt-dock[data-viewport=desktop] .wgt-shelf-image{width:100%;height:auto}.wgt-shelf-text{flex-direction:column;gap:2px;min-width:0;display:flex}.wgt-shelf-title{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;overflow:hidden}.wgt-shelf-price{color:var(--wgt-text-muted);font-size:13px}.wgt-shelf-reason{color:var(--wgt-text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.wgt-shelf-more{min-width:44px;min-height:44px;color:var(--wgt-primary);-webkit-text-fill-color:var(--wgt-primary);justify-content:center;align-items:center;font-size:13px;text-decoration:none;display:inline-flex}.wgt-sr{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.wgt-dock[dir=rtl] .wgt-icon-directional{transform:scaleX(-1)}@media (prefers-reduced-motion:reduce){.wgt-row,.wgt-pill,.wgt-sheet,.wgt-control,.wgt-mark-face{transition-duration:0s!important}.wgt-line,.wgt-progress:after{animation:none}}@property --tw-scale-x{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-y{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-z{syntax:\"*\";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-scroll-snap-strictness{syntax:\"*\";inherits:false;initial-value:proximity}@property --tw-space-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:\"*\";inherits:false}@property --tw-gradient-from{syntax:\"<color>\";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:\"<color>\";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:\"<color>\";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:\"*\";inherits:false}@property --tw-gradient-via-stops{syntax:\"*\";inherits:false}@property --tw-gradient-from-position{syntax:\"<length-percentage>\";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:\"<length-percentage>\";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:\"<length-percentage>\";inherits:false;initial-value:100%}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-tracking{syntax:\"*\";inherits:false}@property --tw-ordinal{syntax:\"*\";inherits:false}@property --tw-slashed-zero{syntax:\"*\";inherits:false}@property --tw-numeric-figure{syntax:\"*\";inherits:false}@property --tw-numeric-spacing{syntax:\"*\";inherits:false}@property --tw-numeric-fraction{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-blur{syntax:\"*\";inherits:false}@property --tw-brightness{syntax:\"*\";inherits:false}@property --tw-contrast{syntax:\"*\";inherits:false}@property --tw-grayscale{syntax:\"*\";inherits:false}@property --tw-hue-rotate{syntax:\"*\";inherits:false}@property --tw-invert{syntax:\"*\";inherits:false}@property --tw-opacity{syntax:\"*\";inherits:false}@property --tw-saturate{syntax:\"*\";inherits:false}@property --tw-sepia{syntax:\"*\";inherits:false}@property --tw-drop-shadow{syntax:\"*\";inherits:false}@property --tw-drop-shadow-color{syntax:\"*\";inherits:false}@property --tw-drop-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:\"*\";inherits:false}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}@property --tw-duration{syntax:\"*\";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}}";
|
|
511
4533
|
//#endregion
|
|
512
4534
|
//#region src/mount.ts
|
|
513
4535
|
/**
|
|
@@ -580,4 +4602,4 @@ function adoptWidgetStylesheet(shadow) {
|
|
|
580
4602
|
shadow.appendChild(style);
|
|
581
4603
|
}
|
|
582
4604
|
//#endregion
|
|
583
|
-
export { BOT_STATES, BotAvatar, BotFace,
|
|
4605
|
+
export { ACTIVITY_W, BOTTOM_FLOOR, BOT_STATES, BotAvatar, BotFace, CARD_RADIUS_MAX_PX, CONTROL, ConciergeWidget, DEFAULT_WIDGET_AVATAR, DESKTOP_BOTTOM, DESKTOP_BREAKPOINT, DESKTOP_GUTTER, DESKTOP_WIDTHS, DOCK_MINIMISED_STORAGE_KEY, DOCK_STATES, Dock, IDLE_SNAPSHOT, MARK, MAX_REPORTED_CART_LINES, MOBILE_MARGIN, MorphingLoader, PILL_H, PILL_MARK, PROACTIVE_NUDGE_MS, RADII, ROOM_EVENTS, ROW_H, RopeKnot, SESSION_EVENTS, SHEET_EXPANDED_DESKTOP_MAX, SHEET_EXPANDED_VH, SHEET_GAP, SHEET_PEEK_MAX, SHEET_RADIUS_MAX_PX, SHEET_TOP_CLEARANCE, SHORT_VIEWPORT, SYSTEM_FONT_STACK, SessionLog, SessionPanel, SseFrameParser, VoiceWidget, WIDGET_AVATARS, WIDGET_CSS, WIDGET_THEME_TOKENS, WidgetCardList, WidgetCartSummary, WidgetErrorBoundary, WidgetMarkdown, Z_INDEX, adoptWidgetStylesheet, basketIntentFromTurns, botStateFor, bottomLen, cartLinesFromSnapshot, cn, contrastRatio, createWidgetVoiceTokenFetcher, defaultWidgetMessages, deriveCallPhase, deriveDockState, deriveTheme, formatHex, formatMessage, formatMoney, formatMs, geometryVars, hexToOklab, hexToOklch, idleDockInput, isBotState, isWidgetAvatar, labelKeyFor, labelProps, latencyBetween, linearRgbToOklab, linearToSrgb, mergeAddedCartLine, mixToward, mountConciergeWidget, oklabToHex, oklabToLinearRgb, oklabToOklch, oklchToHex, oklchToOklab, parseBlocks, parseHex, pillAnchor, readsAsCartViewIntent, readsAsCheckoutIntent, relativeLuminance, resolveAddToCartHandler, resolveCheckoutUrl, resolveWidgetMessages, rotateHue, rowWidthLen, sheetMaxHeightLen, srgbToLinear, textDirectionFor, themeToCss, themeToInlineStyle, toChatCart, useChatSession, useVoiceSession, visualsFor, widgetMessagesFromCopy, withAlpha };
|