@niledatabase/react 3.0.0-alpha.37 → 3.0.0-alpha.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,2999 +1,3 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
21
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
- // If the importer is in node compatibility mode or this is not an ESM
23
- // file that has been converted to a CommonJS file using a Babel-
24
- // compatible transform (i.e. "__esModule" has not been set), then set
25
- // "default" to the CommonJS "module.exports" for node compatibility.
26
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
27
- mod
28
- ));
29
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
-
31
- // src/index.ts
32
- var src_exports = {};
33
- __export(src_exports, {
34
- Email: () => Email,
35
- Google: () => GoogleLoginButton_default,
36
- Password: () => Password,
37
- SignInForm: () => SigningIn2,
38
- SignUpForm: () => SigningUp,
39
- useSignIn: () => useSignIn,
40
- useSignUp: () => useSignUp
41
- });
42
- module.exports = __toCommonJS(src_exports);
43
-
44
- // src/GoogleLoginButton/GoogleLoginButton.tsx
45
- var import_react = __toESM(require("react"));
46
- var import_react2 = require("next-auth/react");
47
- var import_react_slot2 = require("@radix-ui/react-slot");
48
-
49
- // ../../node_modules/clsx/dist/clsx.mjs
50
- function r(e) {
51
- var t, f, n = "";
52
- if ("string" == typeof e || "number" == typeof e) n += e;
53
- else if ("object" == typeof e) if (Array.isArray(e)) {
54
- var o = e.length;
55
- for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
56
- } else for (f in e) e[f] && (n && (n += " "), n += f);
57
- return n;
58
- }
59
- function clsx() {
60
- for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
61
- return n;
62
- }
63
-
64
- // ../../node_modules/tailwind-merge/dist/bundle-mjs.mjs
65
- var CLASS_PART_SEPARATOR = "-";
66
- var createClassGroupUtils = (config) => {
67
- const classMap = createClassMap(config);
68
- const {
69
- conflictingClassGroups,
70
- conflictingClassGroupModifiers
71
- } = config;
72
- const getClassGroupId = (className) => {
73
- const classParts = className.split(CLASS_PART_SEPARATOR);
74
- if (classParts[0] === "" && classParts.length !== 1) {
75
- classParts.shift();
76
- }
77
- return getGroupRecursive(classParts, classMap) || getGroupIdForArbitraryProperty(className);
78
- };
79
- const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
80
- const conflicts = conflictingClassGroups[classGroupId] || [];
81
- if (hasPostfixModifier && conflictingClassGroupModifiers[classGroupId]) {
82
- return [...conflicts, ...conflictingClassGroupModifiers[classGroupId]];
83
- }
84
- return conflicts;
85
- };
86
- return {
87
- getClassGroupId,
88
- getConflictingClassGroupIds
89
- };
90
- };
91
- var getGroupRecursive = (classParts, classPartObject) => {
92
- if (classParts.length === 0) {
93
- return classPartObject.classGroupId;
94
- }
95
- const currentClassPart = classParts[0];
96
- const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
97
- const classGroupFromNextClassPart = nextClassPartObject ? getGroupRecursive(classParts.slice(1), nextClassPartObject) : void 0;
98
- if (classGroupFromNextClassPart) {
99
- return classGroupFromNextClassPart;
100
- }
101
- if (classPartObject.validators.length === 0) {
102
- return void 0;
103
- }
104
- const classRest = classParts.join(CLASS_PART_SEPARATOR);
105
- return classPartObject.validators.find(({
106
- validator
107
- }) => validator(classRest))?.classGroupId;
108
- };
109
- var arbitraryPropertyRegex = /^\[(.+)\]$/;
110
- var getGroupIdForArbitraryProperty = (className) => {
111
- if (arbitraryPropertyRegex.test(className)) {
112
- const arbitraryPropertyClassName = arbitraryPropertyRegex.exec(className)[1];
113
- const property = arbitraryPropertyClassName?.substring(0, arbitraryPropertyClassName.indexOf(":"));
114
- if (property) {
115
- return "arbitrary.." + property;
116
- }
117
- }
118
- };
119
- var createClassMap = (config) => {
120
- const {
121
- theme,
122
- prefix
123
- } = config;
124
- const classMap = {
125
- nextPart: /* @__PURE__ */ new Map(),
126
- validators: []
127
- };
128
- const prefixedClassGroupEntries = getPrefixedClassGroupEntries(Object.entries(config.classGroups), prefix);
129
- prefixedClassGroupEntries.forEach(([classGroupId, classGroup]) => {
130
- processClassesRecursively(classGroup, classMap, classGroupId, theme);
131
- });
132
- return classMap;
133
- };
134
- var processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {
135
- classGroup.forEach((classDefinition) => {
136
- if (typeof classDefinition === "string") {
137
- const classPartObjectToEdit = classDefinition === "" ? classPartObject : getPart(classPartObject, classDefinition);
138
- classPartObjectToEdit.classGroupId = classGroupId;
139
- return;
140
- }
141
- if (typeof classDefinition === "function") {
142
- if (isThemeGetter(classDefinition)) {
143
- processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
144
- return;
145
- }
146
- classPartObject.validators.push({
147
- validator: classDefinition,
148
- classGroupId
149
- });
150
- return;
151
- }
152
- Object.entries(classDefinition).forEach(([key, classGroup2]) => {
153
- processClassesRecursively(classGroup2, getPart(classPartObject, key), classGroupId, theme);
154
- });
155
- });
156
- };
157
- var getPart = (classPartObject, path) => {
158
- let currentClassPartObject = classPartObject;
159
- path.split(CLASS_PART_SEPARATOR).forEach((pathPart) => {
160
- if (!currentClassPartObject.nextPart.has(pathPart)) {
161
- currentClassPartObject.nextPart.set(pathPart, {
162
- nextPart: /* @__PURE__ */ new Map(),
163
- validators: []
164
- });
165
- }
166
- currentClassPartObject = currentClassPartObject.nextPart.get(pathPart);
167
- });
168
- return currentClassPartObject;
169
- };
170
- var isThemeGetter = (func) => func.isThemeGetter;
171
- var getPrefixedClassGroupEntries = (classGroupEntries, prefix) => {
172
- if (!prefix) {
173
- return classGroupEntries;
174
- }
175
- return classGroupEntries.map(([classGroupId, classGroup]) => {
176
- const prefixedClassGroup = classGroup.map((classDefinition) => {
177
- if (typeof classDefinition === "string") {
178
- return prefix + classDefinition;
179
- }
180
- if (typeof classDefinition === "object") {
181
- return Object.fromEntries(Object.entries(classDefinition).map(([key, value]) => [prefix + key, value]));
182
- }
183
- return classDefinition;
184
- });
185
- return [classGroupId, prefixedClassGroup];
186
- });
187
- };
188
- var createLruCache = (maxCacheSize) => {
189
- if (maxCacheSize < 1) {
190
- return {
191
- get: () => void 0,
192
- set: () => {
193
- }
194
- };
195
- }
196
- let cacheSize = 0;
197
- let cache = /* @__PURE__ */ new Map();
198
- let previousCache = /* @__PURE__ */ new Map();
199
- const update = (key, value) => {
200
- cache.set(key, value);
201
- cacheSize++;
202
- if (cacheSize > maxCacheSize) {
203
- cacheSize = 0;
204
- previousCache = cache;
205
- cache = /* @__PURE__ */ new Map();
206
- }
207
- };
208
- return {
209
- get(key) {
210
- let value = cache.get(key);
211
- if (value !== void 0) {
212
- return value;
213
- }
214
- if ((value = previousCache.get(key)) !== void 0) {
215
- update(key, value);
216
- return value;
217
- }
218
- },
219
- set(key, value) {
220
- if (cache.has(key)) {
221
- cache.set(key, value);
222
- } else {
223
- update(key, value);
224
- }
225
- }
226
- };
227
- };
228
- var IMPORTANT_MODIFIER = "!";
229
- var createParseClassName = (config) => {
230
- const {
231
- separator,
232
- experimentalParseClassName
233
- } = config;
234
- const isSeparatorSingleCharacter = separator.length === 1;
235
- const firstSeparatorCharacter = separator[0];
236
- const separatorLength = separator.length;
237
- const parseClassName = (className) => {
238
- const modifiers = [];
239
- let bracketDepth = 0;
240
- let modifierStart = 0;
241
- let postfixModifierPosition;
242
- for (let index = 0; index < className.length; index++) {
243
- let currentCharacter = className[index];
244
- if (bracketDepth === 0) {
245
- if (currentCharacter === firstSeparatorCharacter && (isSeparatorSingleCharacter || className.slice(index, index + separatorLength) === separator)) {
246
- modifiers.push(className.slice(modifierStart, index));
247
- modifierStart = index + separatorLength;
248
- continue;
249
- }
250
- if (currentCharacter === "/") {
251
- postfixModifierPosition = index;
252
- continue;
253
- }
254
- }
255
- if (currentCharacter === "[") {
256
- bracketDepth++;
257
- } else if (currentCharacter === "]") {
258
- bracketDepth--;
259
- }
260
- }
261
- const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.substring(modifierStart);
262
- const hasImportantModifier = baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER);
263
- const baseClassName = hasImportantModifier ? baseClassNameWithImportantModifier.substring(1) : baseClassNameWithImportantModifier;
264
- const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : void 0;
265
- return {
266
- modifiers,
267
- hasImportantModifier,
268
- baseClassName,
269
- maybePostfixModifierPosition
270
- };
271
- };
272
- if (experimentalParseClassName) {
273
- return (className) => experimentalParseClassName({
274
- className,
275
- parseClassName
276
- });
277
- }
278
- return parseClassName;
279
- };
280
- var sortModifiers = (modifiers) => {
281
- if (modifiers.length <= 1) {
282
- return modifiers;
283
- }
284
- const sortedModifiers = [];
285
- let unsortedModifiers = [];
286
- modifiers.forEach((modifier) => {
287
- const isArbitraryVariant = modifier[0] === "[";
288
- if (isArbitraryVariant) {
289
- sortedModifiers.push(...unsortedModifiers.sort(), modifier);
290
- unsortedModifiers = [];
291
- } else {
292
- unsortedModifiers.push(modifier);
293
- }
294
- });
295
- sortedModifiers.push(...unsortedModifiers.sort());
296
- return sortedModifiers;
297
- };
298
- var createConfigUtils = (config) => ({
299
- cache: createLruCache(config.cacheSize),
300
- parseClassName: createParseClassName(config),
301
- ...createClassGroupUtils(config)
302
- });
303
- var SPLIT_CLASSES_REGEX = /\s+/;
304
- var mergeClassList = (classList, configUtils) => {
305
- const {
306
- parseClassName,
307
- getClassGroupId,
308
- getConflictingClassGroupIds
309
- } = configUtils;
310
- const classGroupsInConflict = [];
311
- const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
312
- let result = "";
313
- for (let index = classNames.length - 1; index >= 0; index -= 1) {
314
- const originalClassName = classNames[index];
315
- const {
316
- modifiers,
317
- hasImportantModifier,
318
- baseClassName,
319
- maybePostfixModifierPosition
320
- } = parseClassName(originalClassName);
321
- let hasPostfixModifier = Boolean(maybePostfixModifierPosition);
322
- let classGroupId = getClassGroupId(hasPostfixModifier ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);
323
- if (!classGroupId) {
324
- if (!hasPostfixModifier) {
325
- result = originalClassName + (result.length > 0 ? " " + result : result);
326
- continue;
327
- }
328
- classGroupId = getClassGroupId(baseClassName);
329
- if (!classGroupId) {
330
- result = originalClassName + (result.length > 0 ? " " + result : result);
331
- continue;
332
- }
333
- hasPostfixModifier = false;
334
- }
335
- const variantModifier = sortModifiers(modifiers).join(":");
336
- const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
337
- const classId = modifierId + classGroupId;
338
- if (classGroupsInConflict.includes(classId)) {
339
- continue;
340
- }
341
- classGroupsInConflict.push(classId);
342
- const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
343
- for (let i = 0; i < conflictGroups.length; ++i) {
344
- const group = conflictGroups[i];
345
- classGroupsInConflict.push(modifierId + group);
346
- }
347
- result = originalClassName + (result.length > 0 ? " " + result : result);
348
- }
349
- return result;
350
- };
351
- function twJoin() {
352
- let index = 0;
353
- let argument;
354
- let resolvedValue;
355
- let string = "";
356
- while (index < arguments.length) {
357
- if (argument = arguments[index++]) {
358
- if (resolvedValue = toValue(argument)) {
359
- string && (string += " ");
360
- string += resolvedValue;
361
- }
362
- }
363
- }
364
- return string;
365
- }
366
- var toValue = (mix) => {
367
- if (typeof mix === "string") {
368
- return mix;
369
- }
370
- let resolvedValue;
371
- let string = "";
372
- for (let k = 0; k < mix.length; k++) {
373
- if (mix[k]) {
374
- if (resolvedValue = toValue(mix[k])) {
375
- string && (string += " ");
376
- string += resolvedValue;
377
- }
378
- }
379
- }
380
- return string;
381
- };
382
- function createTailwindMerge(createConfigFirst, ...createConfigRest) {
383
- let configUtils;
384
- let cacheGet;
385
- let cacheSet;
386
- let functionToCall = initTailwindMerge;
387
- function initTailwindMerge(classList) {
388
- const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());
389
- configUtils = createConfigUtils(config);
390
- cacheGet = configUtils.cache.get;
391
- cacheSet = configUtils.cache.set;
392
- functionToCall = tailwindMerge;
393
- return tailwindMerge(classList);
394
- }
395
- function tailwindMerge(classList) {
396
- const cachedResult = cacheGet(classList);
397
- if (cachedResult) {
398
- return cachedResult;
399
- }
400
- const result = mergeClassList(classList, configUtils);
401
- cacheSet(classList, result);
402
- return result;
403
- }
404
- return function callTailwindMerge() {
405
- return functionToCall(twJoin.apply(null, arguments));
406
- };
407
- }
408
- var fromTheme = (key) => {
409
- const themeGetter = (theme) => theme[key] || [];
410
- themeGetter.isThemeGetter = true;
411
- return themeGetter;
412
- };
413
- var arbitraryValueRegex = /^\[(?:([a-z-]+):)?(.+)\]$/i;
414
- var fractionRegex = /^\d+\/\d+$/;
415
- var stringLengths = /* @__PURE__ */ new Set(["px", "full", "screen"]);
416
- var tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
417
- 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$/;
418
- var colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/;
419
- var shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
420
- var imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
421
- var isLength = (value) => isNumber(value) || stringLengths.has(value) || fractionRegex.test(value);
422
- var isArbitraryLength = (value) => getIsArbitraryValue(value, "length", isLengthOnly);
423
- var isNumber = (value) => Boolean(value) && !Number.isNaN(Number(value));
424
- var isArbitraryNumber = (value) => getIsArbitraryValue(value, "number", isNumber);
425
- var isInteger = (value) => Boolean(value) && Number.isInteger(Number(value));
426
- var isPercent = (value) => value.endsWith("%") && isNumber(value.slice(0, -1));
427
- var isArbitraryValue = (value) => arbitraryValueRegex.test(value);
428
- var isTshirtSize = (value) => tshirtUnitRegex.test(value);
429
- var sizeLabels = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
430
- var isArbitrarySize = (value) => getIsArbitraryValue(value, sizeLabels, isNever);
431
- var isArbitraryPosition = (value) => getIsArbitraryValue(value, "position", isNever);
432
- var imageLabels = /* @__PURE__ */ new Set(["image", "url"]);
433
- var isArbitraryImage = (value) => getIsArbitraryValue(value, imageLabels, isImage);
434
- var isArbitraryShadow = (value) => getIsArbitraryValue(value, "", isShadow);
435
- var isAny = () => true;
436
- var getIsArbitraryValue = (value, label, testValue) => {
437
- const result = arbitraryValueRegex.exec(value);
438
- if (result) {
439
- if (result[1]) {
440
- return typeof label === "string" ? result[1] === label : label.has(result[1]);
441
- }
442
- return testValue(result[2]);
443
- }
444
- return false;
445
- };
446
- var isLengthOnly = (value) => (
447
- // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
448
- // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
449
- // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
450
- lengthUnitRegex.test(value) && !colorFunctionRegex.test(value)
451
- );
452
- var isNever = () => false;
453
- var isShadow = (value) => shadowRegex.test(value);
454
- var isImage = (value) => imageRegex.test(value);
455
- var getDefaultConfig = () => {
456
- const colors = fromTheme("colors");
457
- const spacing = fromTheme("spacing");
458
- const blur = fromTheme("blur");
459
- const brightness = fromTheme("brightness");
460
- const borderColor = fromTheme("borderColor");
461
- const borderRadius = fromTheme("borderRadius");
462
- const borderSpacing = fromTheme("borderSpacing");
463
- const borderWidth = fromTheme("borderWidth");
464
- const contrast = fromTheme("contrast");
465
- const grayscale = fromTheme("grayscale");
466
- const hueRotate = fromTheme("hueRotate");
467
- const invert = fromTheme("invert");
468
- const gap = fromTheme("gap");
469
- const gradientColorStops = fromTheme("gradientColorStops");
470
- const gradientColorStopPositions = fromTheme("gradientColorStopPositions");
471
- const inset = fromTheme("inset");
472
- const margin = fromTheme("margin");
473
- const opacity = fromTheme("opacity");
474
- const padding = fromTheme("padding");
475
- const saturate = fromTheme("saturate");
476
- const scale = fromTheme("scale");
477
- const sepia = fromTheme("sepia");
478
- const skew = fromTheme("skew");
479
- const space = fromTheme("space");
480
- const translate = fromTheme("translate");
481
- const getOverscroll = () => ["auto", "contain", "none"];
482
- const getOverflow = () => ["auto", "hidden", "clip", "visible", "scroll"];
483
- const getSpacingWithAutoAndArbitrary = () => ["auto", isArbitraryValue, spacing];
484
- const getSpacingWithArbitrary = () => [isArbitraryValue, spacing];
485
- const getLengthWithEmptyAndArbitrary = () => ["", isLength, isArbitraryLength];
486
- const getNumberWithAutoAndArbitrary = () => ["auto", isNumber, isArbitraryValue];
487
- const getPositions = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"];
488
- const getLineStyles = () => ["solid", "dashed", "dotted", "double", "none"];
489
- const getBlendModes = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"];
490
- const getAlign = () => ["start", "end", "center", "between", "around", "evenly", "stretch"];
491
- const getZeroAndEmpty = () => ["", "0", isArbitraryValue];
492
- const getBreaks = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"];
493
- const getNumberAndArbitrary = () => [isNumber, isArbitraryValue];
494
- return {
495
- cacheSize: 500,
496
- separator: ":",
497
- theme: {
498
- colors: [isAny],
499
- spacing: [isLength, isArbitraryLength],
500
- blur: ["none", "", isTshirtSize, isArbitraryValue],
501
- brightness: getNumberAndArbitrary(),
502
- borderColor: [colors],
503
- borderRadius: ["none", "", "full", isTshirtSize, isArbitraryValue],
504
- borderSpacing: getSpacingWithArbitrary(),
505
- borderWidth: getLengthWithEmptyAndArbitrary(),
506
- contrast: getNumberAndArbitrary(),
507
- grayscale: getZeroAndEmpty(),
508
- hueRotate: getNumberAndArbitrary(),
509
- invert: getZeroAndEmpty(),
510
- gap: getSpacingWithArbitrary(),
511
- gradientColorStops: [colors],
512
- gradientColorStopPositions: [isPercent, isArbitraryLength],
513
- inset: getSpacingWithAutoAndArbitrary(),
514
- margin: getSpacingWithAutoAndArbitrary(),
515
- opacity: getNumberAndArbitrary(),
516
- padding: getSpacingWithArbitrary(),
517
- saturate: getNumberAndArbitrary(),
518
- scale: getNumberAndArbitrary(),
519
- sepia: getZeroAndEmpty(),
520
- skew: getNumberAndArbitrary(),
521
- space: getSpacingWithArbitrary(),
522
- translate: getSpacingWithArbitrary()
523
- },
524
- classGroups: {
525
- // Layout
526
- /**
527
- * Aspect Ratio
528
- * @see https://tailwindcss.com/docs/aspect-ratio
529
- */
530
- aspect: [{
531
- aspect: ["auto", "square", "video", isArbitraryValue]
532
- }],
533
- /**
534
- * Container
535
- * @see https://tailwindcss.com/docs/container
536
- */
537
- container: ["container"],
538
- /**
539
- * Columns
540
- * @see https://tailwindcss.com/docs/columns
541
- */
542
- columns: [{
543
- columns: [isTshirtSize]
544
- }],
545
- /**
546
- * Break After
547
- * @see https://tailwindcss.com/docs/break-after
548
- */
549
- "break-after": [{
550
- "break-after": getBreaks()
551
- }],
552
- /**
553
- * Break Before
554
- * @see https://tailwindcss.com/docs/break-before
555
- */
556
- "break-before": [{
557
- "break-before": getBreaks()
558
- }],
559
- /**
560
- * Break Inside
561
- * @see https://tailwindcss.com/docs/break-inside
562
- */
563
- "break-inside": [{
564
- "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
565
- }],
566
- /**
567
- * Box Decoration Break
568
- * @see https://tailwindcss.com/docs/box-decoration-break
569
- */
570
- "box-decoration": [{
571
- "box-decoration": ["slice", "clone"]
572
- }],
573
- /**
574
- * Box Sizing
575
- * @see https://tailwindcss.com/docs/box-sizing
576
- */
577
- box: [{
578
- box: ["border", "content"]
579
- }],
580
- /**
581
- * Display
582
- * @see https://tailwindcss.com/docs/display
583
- */
584
- display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
585
- /**
586
- * Floats
587
- * @see https://tailwindcss.com/docs/float
588
- */
589
- float: [{
590
- float: ["right", "left", "none", "start", "end"]
591
- }],
592
- /**
593
- * Clear
594
- * @see https://tailwindcss.com/docs/clear
595
- */
596
- clear: [{
597
- clear: ["left", "right", "both", "none", "start", "end"]
598
- }],
599
- /**
600
- * Isolation
601
- * @see https://tailwindcss.com/docs/isolation
602
- */
603
- isolation: ["isolate", "isolation-auto"],
604
- /**
605
- * Object Fit
606
- * @see https://tailwindcss.com/docs/object-fit
607
- */
608
- "object-fit": [{
609
- object: ["contain", "cover", "fill", "none", "scale-down"]
610
- }],
611
- /**
612
- * Object Position
613
- * @see https://tailwindcss.com/docs/object-position
614
- */
615
- "object-position": [{
616
- object: [...getPositions(), isArbitraryValue]
617
- }],
618
- /**
619
- * Overflow
620
- * @see https://tailwindcss.com/docs/overflow
621
- */
622
- overflow: [{
623
- overflow: getOverflow()
624
- }],
625
- /**
626
- * Overflow X
627
- * @see https://tailwindcss.com/docs/overflow
628
- */
629
- "overflow-x": [{
630
- "overflow-x": getOverflow()
631
- }],
632
- /**
633
- * Overflow Y
634
- * @see https://tailwindcss.com/docs/overflow
635
- */
636
- "overflow-y": [{
637
- "overflow-y": getOverflow()
638
- }],
639
- /**
640
- * Overscroll Behavior
641
- * @see https://tailwindcss.com/docs/overscroll-behavior
642
- */
643
- overscroll: [{
644
- overscroll: getOverscroll()
645
- }],
646
- /**
647
- * Overscroll Behavior X
648
- * @see https://tailwindcss.com/docs/overscroll-behavior
649
- */
650
- "overscroll-x": [{
651
- "overscroll-x": getOverscroll()
652
- }],
653
- /**
654
- * Overscroll Behavior Y
655
- * @see https://tailwindcss.com/docs/overscroll-behavior
656
- */
657
- "overscroll-y": [{
658
- "overscroll-y": getOverscroll()
659
- }],
660
- /**
661
- * Position
662
- * @see https://tailwindcss.com/docs/position
663
- */
664
- position: ["static", "fixed", "absolute", "relative", "sticky"],
665
- /**
666
- * Top / Right / Bottom / Left
667
- * @see https://tailwindcss.com/docs/top-right-bottom-left
668
- */
669
- inset: [{
670
- inset: [inset]
671
- }],
672
- /**
673
- * Right / Left
674
- * @see https://tailwindcss.com/docs/top-right-bottom-left
675
- */
676
- "inset-x": [{
677
- "inset-x": [inset]
678
- }],
679
- /**
680
- * Top / Bottom
681
- * @see https://tailwindcss.com/docs/top-right-bottom-left
682
- */
683
- "inset-y": [{
684
- "inset-y": [inset]
685
- }],
686
- /**
687
- * Start
688
- * @see https://tailwindcss.com/docs/top-right-bottom-left
689
- */
690
- start: [{
691
- start: [inset]
692
- }],
693
- /**
694
- * End
695
- * @see https://tailwindcss.com/docs/top-right-bottom-left
696
- */
697
- end: [{
698
- end: [inset]
699
- }],
700
- /**
701
- * Top
702
- * @see https://tailwindcss.com/docs/top-right-bottom-left
703
- */
704
- top: [{
705
- top: [inset]
706
- }],
707
- /**
708
- * Right
709
- * @see https://tailwindcss.com/docs/top-right-bottom-left
710
- */
711
- right: [{
712
- right: [inset]
713
- }],
714
- /**
715
- * Bottom
716
- * @see https://tailwindcss.com/docs/top-right-bottom-left
717
- */
718
- bottom: [{
719
- bottom: [inset]
720
- }],
721
- /**
722
- * Left
723
- * @see https://tailwindcss.com/docs/top-right-bottom-left
724
- */
725
- left: [{
726
- left: [inset]
727
- }],
728
- /**
729
- * Visibility
730
- * @see https://tailwindcss.com/docs/visibility
731
- */
732
- visibility: ["visible", "invisible", "collapse"],
733
- /**
734
- * Z-Index
735
- * @see https://tailwindcss.com/docs/z-index
736
- */
737
- z: [{
738
- z: ["auto", isInteger, isArbitraryValue]
739
- }],
740
- // Flexbox and Grid
741
- /**
742
- * Flex Basis
743
- * @see https://tailwindcss.com/docs/flex-basis
744
- */
745
- basis: [{
746
- basis: getSpacingWithAutoAndArbitrary()
747
- }],
748
- /**
749
- * Flex Direction
750
- * @see https://tailwindcss.com/docs/flex-direction
751
- */
752
- "flex-direction": [{
753
- flex: ["row", "row-reverse", "col", "col-reverse"]
754
- }],
755
- /**
756
- * Flex Wrap
757
- * @see https://tailwindcss.com/docs/flex-wrap
758
- */
759
- "flex-wrap": [{
760
- flex: ["wrap", "wrap-reverse", "nowrap"]
761
- }],
762
- /**
763
- * Flex
764
- * @see https://tailwindcss.com/docs/flex
765
- */
766
- flex: [{
767
- flex: ["1", "auto", "initial", "none", isArbitraryValue]
768
- }],
769
- /**
770
- * Flex Grow
771
- * @see https://tailwindcss.com/docs/flex-grow
772
- */
773
- grow: [{
774
- grow: getZeroAndEmpty()
775
- }],
776
- /**
777
- * Flex Shrink
778
- * @see https://tailwindcss.com/docs/flex-shrink
779
- */
780
- shrink: [{
781
- shrink: getZeroAndEmpty()
782
- }],
783
- /**
784
- * Order
785
- * @see https://tailwindcss.com/docs/order
786
- */
787
- order: [{
788
- order: ["first", "last", "none", isInteger, isArbitraryValue]
789
- }],
790
- /**
791
- * Grid Template Columns
792
- * @see https://tailwindcss.com/docs/grid-template-columns
793
- */
794
- "grid-cols": [{
795
- "grid-cols": [isAny]
796
- }],
797
- /**
798
- * Grid Column Start / End
799
- * @see https://tailwindcss.com/docs/grid-column
800
- */
801
- "col-start-end": [{
802
- col: ["auto", {
803
- span: ["full", isInteger, isArbitraryValue]
804
- }, isArbitraryValue]
805
- }],
806
- /**
807
- * Grid Column Start
808
- * @see https://tailwindcss.com/docs/grid-column
809
- */
810
- "col-start": [{
811
- "col-start": getNumberWithAutoAndArbitrary()
812
- }],
813
- /**
814
- * Grid Column End
815
- * @see https://tailwindcss.com/docs/grid-column
816
- */
817
- "col-end": [{
818
- "col-end": getNumberWithAutoAndArbitrary()
819
- }],
820
- /**
821
- * Grid Template Rows
822
- * @see https://tailwindcss.com/docs/grid-template-rows
823
- */
824
- "grid-rows": [{
825
- "grid-rows": [isAny]
826
- }],
827
- /**
828
- * Grid Row Start / End
829
- * @see https://tailwindcss.com/docs/grid-row
830
- */
831
- "row-start-end": [{
832
- row: ["auto", {
833
- span: [isInteger, isArbitraryValue]
834
- }, isArbitraryValue]
835
- }],
836
- /**
837
- * Grid Row Start
838
- * @see https://tailwindcss.com/docs/grid-row
839
- */
840
- "row-start": [{
841
- "row-start": getNumberWithAutoAndArbitrary()
842
- }],
843
- /**
844
- * Grid Row End
845
- * @see https://tailwindcss.com/docs/grid-row
846
- */
847
- "row-end": [{
848
- "row-end": getNumberWithAutoAndArbitrary()
849
- }],
850
- /**
851
- * Grid Auto Flow
852
- * @see https://tailwindcss.com/docs/grid-auto-flow
853
- */
854
- "grid-flow": [{
855
- "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
856
- }],
857
- /**
858
- * Grid Auto Columns
859
- * @see https://tailwindcss.com/docs/grid-auto-columns
860
- */
861
- "auto-cols": [{
862
- "auto-cols": ["auto", "min", "max", "fr", isArbitraryValue]
863
- }],
864
- /**
865
- * Grid Auto Rows
866
- * @see https://tailwindcss.com/docs/grid-auto-rows
867
- */
868
- "auto-rows": [{
869
- "auto-rows": ["auto", "min", "max", "fr", isArbitraryValue]
870
- }],
871
- /**
872
- * Gap
873
- * @see https://tailwindcss.com/docs/gap
874
- */
875
- gap: [{
876
- gap: [gap]
877
- }],
878
- /**
879
- * Gap X
880
- * @see https://tailwindcss.com/docs/gap
881
- */
882
- "gap-x": [{
883
- "gap-x": [gap]
884
- }],
885
- /**
886
- * Gap Y
887
- * @see https://tailwindcss.com/docs/gap
888
- */
889
- "gap-y": [{
890
- "gap-y": [gap]
891
- }],
892
- /**
893
- * Justify Content
894
- * @see https://tailwindcss.com/docs/justify-content
895
- */
896
- "justify-content": [{
897
- justify: ["normal", ...getAlign()]
898
- }],
899
- /**
900
- * Justify Items
901
- * @see https://tailwindcss.com/docs/justify-items
902
- */
903
- "justify-items": [{
904
- "justify-items": ["start", "end", "center", "stretch"]
905
- }],
906
- /**
907
- * Justify Self
908
- * @see https://tailwindcss.com/docs/justify-self
909
- */
910
- "justify-self": [{
911
- "justify-self": ["auto", "start", "end", "center", "stretch"]
912
- }],
913
- /**
914
- * Align Content
915
- * @see https://tailwindcss.com/docs/align-content
916
- */
917
- "align-content": [{
918
- content: ["normal", ...getAlign(), "baseline"]
919
- }],
920
- /**
921
- * Align Items
922
- * @see https://tailwindcss.com/docs/align-items
923
- */
924
- "align-items": [{
925
- items: ["start", "end", "center", "baseline", "stretch"]
926
- }],
927
- /**
928
- * Align Self
929
- * @see https://tailwindcss.com/docs/align-self
930
- */
931
- "align-self": [{
932
- self: ["auto", "start", "end", "center", "stretch", "baseline"]
933
- }],
934
- /**
935
- * Place Content
936
- * @see https://tailwindcss.com/docs/place-content
937
- */
938
- "place-content": [{
939
- "place-content": [...getAlign(), "baseline"]
940
- }],
941
- /**
942
- * Place Items
943
- * @see https://tailwindcss.com/docs/place-items
944
- */
945
- "place-items": [{
946
- "place-items": ["start", "end", "center", "baseline", "stretch"]
947
- }],
948
- /**
949
- * Place Self
950
- * @see https://tailwindcss.com/docs/place-self
951
- */
952
- "place-self": [{
953
- "place-self": ["auto", "start", "end", "center", "stretch"]
954
- }],
955
- // Spacing
956
- /**
957
- * Padding
958
- * @see https://tailwindcss.com/docs/padding
959
- */
960
- p: [{
961
- p: [padding]
962
- }],
963
- /**
964
- * Padding X
965
- * @see https://tailwindcss.com/docs/padding
966
- */
967
- px: [{
968
- px: [padding]
969
- }],
970
- /**
971
- * Padding Y
972
- * @see https://tailwindcss.com/docs/padding
973
- */
974
- py: [{
975
- py: [padding]
976
- }],
977
- /**
978
- * Padding Start
979
- * @see https://tailwindcss.com/docs/padding
980
- */
981
- ps: [{
982
- ps: [padding]
983
- }],
984
- /**
985
- * Padding End
986
- * @see https://tailwindcss.com/docs/padding
987
- */
988
- pe: [{
989
- pe: [padding]
990
- }],
991
- /**
992
- * Padding Top
993
- * @see https://tailwindcss.com/docs/padding
994
- */
995
- pt: [{
996
- pt: [padding]
997
- }],
998
- /**
999
- * Padding Right
1000
- * @see https://tailwindcss.com/docs/padding
1001
- */
1002
- pr: [{
1003
- pr: [padding]
1004
- }],
1005
- /**
1006
- * Padding Bottom
1007
- * @see https://tailwindcss.com/docs/padding
1008
- */
1009
- pb: [{
1010
- pb: [padding]
1011
- }],
1012
- /**
1013
- * Padding Left
1014
- * @see https://tailwindcss.com/docs/padding
1015
- */
1016
- pl: [{
1017
- pl: [padding]
1018
- }],
1019
- /**
1020
- * Margin
1021
- * @see https://tailwindcss.com/docs/margin
1022
- */
1023
- m: [{
1024
- m: [margin]
1025
- }],
1026
- /**
1027
- * Margin X
1028
- * @see https://tailwindcss.com/docs/margin
1029
- */
1030
- mx: [{
1031
- mx: [margin]
1032
- }],
1033
- /**
1034
- * Margin Y
1035
- * @see https://tailwindcss.com/docs/margin
1036
- */
1037
- my: [{
1038
- my: [margin]
1039
- }],
1040
- /**
1041
- * Margin Start
1042
- * @see https://tailwindcss.com/docs/margin
1043
- */
1044
- ms: [{
1045
- ms: [margin]
1046
- }],
1047
- /**
1048
- * Margin End
1049
- * @see https://tailwindcss.com/docs/margin
1050
- */
1051
- me: [{
1052
- me: [margin]
1053
- }],
1054
- /**
1055
- * Margin Top
1056
- * @see https://tailwindcss.com/docs/margin
1057
- */
1058
- mt: [{
1059
- mt: [margin]
1060
- }],
1061
- /**
1062
- * Margin Right
1063
- * @see https://tailwindcss.com/docs/margin
1064
- */
1065
- mr: [{
1066
- mr: [margin]
1067
- }],
1068
- /**
1069
- * Margin Bottom
1070
- * @see https://tailwindcss.com/docs/margin
1071
- */
1072
- mb: [{
1073
- mb: [margin]
1074
- }],
1075
- /**
1076
- * Margin Left
1077
- * @see https://tailwindcss.com/docs/margin
1078
- */
1079
- ml: [{
1080
- ml: [margin]
1081
- }],
1082
- /**
1083
- * Space Between X
1084
- * @see https://tailwindcss.com/docs/space
1085
- */
1086
- "space-x": [{
1087
- "space-x": [space]
1088
- }],
1089
- /**
1090
- * Space Between X Reverse
1091
- * @see https://tailwindcss.com/docs/space
1092
- */
1093
- "space-x-reverse": ["space-x-reverse"],
1094
- /**
1095
- * Space Between Y
1096
- * @see https://tailwindcss.com/docs/space
1097
- */
1098
- "space-y": [{
1099
- "space-y": [space]
1100
- }],
1101
- /**
1102
- * Space Between Y Reverse
1103
- * @see https://tailwindcss.com/docs/space
1104
- */
1105
- "space-y-reverse": ["space-y-reverse"],
1106
- // Sizing
1107
- /**
1108
- * Width
1109
- * @see https://tailwindcss.com/docs/width
1110
- */
1111
- w: [{
1112
- w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", isArbitraryValue, spacing]
1113
- }],
1114
- /**
1115
- * Min-Width
1116
- * @see https://tailwindcss.com/docs/min-width
1117
- */
1118
- "min-w": [{
1119
- "min-w": [isArbitraryValue, spacing, "min", "max", "fit"]
1120
- }],
1121
- /**
1122
- * Max-Width
1123
- * @see https://tailwindcss.com/docs/max-width
1124
- */
1125
- "max-w": [{
1126
- "max-w": [isArbitraryValue, spacing, "none", "full", "min", "max", "fit", "prose", {
1127
- screen: [isTshirtSize]
1128
- }, isTshirtSize]
1129
- }],
1130
- /**
1131
- * Height
1132
- * @see https://tailwindcss.com/docs/height
1133
- */
1134
- h: [{
1135
- h: [isArbitraryValue, spacing, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
1136
- }],
1137
- /**
1138
- * Min-Height
1139
- * @see https://tailwindcss.com/docs/min-height
1140
- */
1141
- "min-h": [{
1142
- "min-h": [isArbitraryValue, spacing, "min", "max", "fit", "svh", "lvh", "dvh"]
1143
- }],
1144
- /**
1145
- * Max-Height
1146
- * @see https://tailwindcss.com/docs/max-height
1147
- */
1148
- "max-h": [{
1149
- "max-h": [isArbitraryValue, spacing, "min", "max", "fit", "svh", "lvh", "dvh"]
1150
- }],
1151
- /**
1152
- * Size
1153
- * @see https://tailwindcss.com/docs/size
1154
- */
1155
- size: [{
1156
- size: [isArbitraryValue, spacing, "auto", "min", "max", "fit"]
1157
- }],
1158
- // Typography
1159
- /**
1160
- * Font Size
1161
- * @see https://tailwindcss.com/docs/font-size
1162
- */
1163
- "font-size": [{
1164
- text: ["base", isTshirtSize, isArbitraryLength]
1165
- }],
1166
- /**
1167
- * Font Smoothing
1168
- * @see https://tailwindcss.com/docs/font-smoothing
1169
- */
1170
- "font-smoothing": ["antialiased", "subpixel-antialiased"],
1171
- /**
1172
- * Font Style
1173
- * @see https://tailwindcss.com/docs/font-style
1174
- */
1175
- "font-style": ["italic", "not-italic"],
1176
- /**
1177
- * Font Weight
1178
- * @see https://tailwindcss.com/docs/font-weight
1179
- */
1180
- "font-weight": [{
1181
- font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", isArbitraryNumber]
1182
- }],
1183
- /**
1184
- * Font Family
1185
- * @see https://tailwindcss.com/docs/font-family
1186
- */
1187
- "font-family": [{
1188
- font: [isAny]
1189
- }],
1190
- /**
1191
- * Font Variant Numeric
1192
- * @see https://tailwindcss.com/docs/font-variant-numeric
1193
- */
1194
- "fvn-normal": ["normal-nums"],
1195
- /**
1196
- * Font Variant Numeric
1197
- * @see https://tailwindcss.com/docs/font-variant-numeric
1198
- */
1199
- "fvn-ordinal": ["ordinal"],
1200
- /**
1201
- * Font Variant Numeric
1202
- * @see https://tailwindcss.com/docs/font-variant-numeric
1203
- */
1204
- "fvn-slashed-zero": ["slashed-zero"],
1205
- /**
1206
- * Font Variant Numeric
1207
- * @see https://tailwindcss.com/docs/font-variant-numeric
1208
- */
1209
- "fvn-figure": ["lining-nums", "oldstyle-nums"],
1210
- /**
1211
- * Font Variant Numeric
1212
- * @see https://tailwindcss.com/docs/font-variant-numeric
1213
- */
1214
- "fvn-spacing": ["proportional-nums", "tabular-nums"],
1215
- /**
1216
- * Font Variant Numeric
1217
- * @see https://tailwindcss.com/docs/font-variant-numeric
1218
- */
1219
- "fvn-fraction": ["diagonal-fractions", "stacked-fractons"],
1220
- /**
1221
- * Letter Spacing
1222
- * @see https://tailwindcss.com/docs/letter-spacing
1223
- */
1224
- tracking: [{
1225
- tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", isArbitraryValue]
1226
- }],
1227
- /**
1228
- * Line Clamp
1229
- * @see https://tailwindcss.com/docs/line-clamp
1230
- */
1231
- "line-clamp": [{
1232
- "line-clamp": ["none", isNumber, isArbitraryNumber]
1233
- }],
1234
- /**
1235
- * Line Height
1236
- * @see https://tailwindcss.com/docs/line-height
1237
- */
1238
- leading: [{
1239
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose", isLength, isArbitraryValue]
1240
- }],
1241
- /**
1242
- * List Style Image
1243
- * @see https://tailwindcss.com/docs/list-style-image
1244
- */
1245
- "list-image": [{
1246
- "list-image": ["none", isArbitraryValue]
1247
- }],
1248
- /**
1249
- * List Style Type
1250
- * @see https://tailwindcss.com/docs/list-style-type
1251
- */
1252
- "list-style-type": [{
1253
- list: ["none", "disc", "decimal", isArbitraryValue]
1254
- }],
1255
- /**
1256
- * List Style Position
1257
- * @see https://tailwindcss.com/docs/list-style-position
1258
- */
1259
- "list-style-position": [{
1260
- list: ["inside", "outside"]
1261
- }],
1262
- /**
1263
- * Placeholder Color
1264
- * @deprecated since Tailwind CSS v3.0.0
1265
- * @see https://tailwindcss.com/docs/placeholder-color
1266
- */
1267
- "placeholder-color": [{
1268
- placeholder: [colors]
1269
- }],
1270
- /**
1271
- * Placeholder Opacity
1272
- * @see https://tailwindcss.com/docs/placeholder-opacity
1273
- */
1274
- "placeholder-opacity": [{
1275
- "placeholder-opacity": [opacity]
1276
- }],
1277
- /**
1278
- * Text Alignment
1279
- * @see https://tailwindcss.com/docs/text-align
1280
- */
1281
- "text-alignment": [{
1282
- text: ["left", "center", "right", "justify", "start", "end"]
1283
- }],
1284
- /**
1285
- * Text Color
1286
- * @see https://tailwindcss.com/docs/text-color
1287
- */
1288
- "text-color": [{
1289
- text: [colors]
1290
- }],
1291
- /**
1292
- * Text Opacity
1293
- * @see https://tailwindcss.com/docs/text-opacity
1294
- */
1295
- "text-opacity": [{
1296
- "text-opacity": [opacity]
1297
- }],
1298
- /**
1299
- * Text Decoration
1300
- * @see https://tailwindcss.com/docs/text-decoration
1301
- */
1302
- "text-decoration": ["underline", "overline", "line-through", "no-underline"],
1303
- /**
1304
- * Text Decoration Style
1305
- * @see https://tailwindcss.com/docs/text-decoration-style
1306
- */
1307
- "text-decoration-style": [{
1308
- decoration: [...getLineStyles(), "wavy"]
1309
- }],
1310
- /**
1311
- * Text Decoration Thickness
1312
- * @see https://tailwindcss.com/docs/text-decoration-thickness
1313
- */
1314
- "text-decoration-thickness": [{
1315
- decoration: ["auto", "from-font", isLength, isArbitraryLength]
1316
- }],
1317
- /**
1318
- * Text Underline Offset
1319
- * @see https://tailwindcss.com/docs/text-underline-offset
1320
- */
1321
- "underline-offset": [{
1322
- "underline-offset": ["auto", isLength, isArbitraryValue]
1323
- }],
1324
- /**
1325
- * Text Decoration Color
1326
- * @see https://tailwindcss.com/docs/text-decoration-color
1327
- */
1328
- "text-decoration-color": [{
1329
- decoration: [colors]
1330
- }],
1331
- /**
1332
- * Text Transform
1333
- * @see https://tailwindcss.com/docs/text-transform
1334
- */
1335
- "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
1336
- /**
1337
- * Text Overflow
1338
- * @see https://tailwindcss.com/docs/text-overflow
1339
- */
1340
- "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
1341
- /**
1342
- * Text Wrap
1343
- * @see https://tailwindcss.com/docs/text-wrap
1344
- */
1345
- "text-wrap": [{
1346
- text: ["wrap", "nowrap", "balance", "pretty"]
1347
- }],
1348
- /**
1349
- * Text Indent
1350
- * @see https://tailwindcss.com/docs/text-indent
1351
- */
1352
- indent: [{
1353
- indent: getSpacingWithArbitrary()
1354
- }],
1355
- /**
1356
- * Vertical Alignment
1357
- * @see https://tailwindcss.com/docs/vertical-align
1358
- */
1359
- "vertical-align": [{
1360
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", isArbitraryValue]
1361
- }],
1362
- /**
1363
- * Whitespace
1364
- * @see https://tailwindcss.com/docs/whitespace
1365
- */
1366
- whitespace: [{
1367
- whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
1368
- }],
1369
- /**
1370
- * Word Break
1371
- * @see https://tailwindcss.com/docs/word-break
1372
- */
1373
- break: [{
1374
- break: ["normal", "words", "all", "keep"]
1375
- }],
1376
- /**
1377
- * Hyphens
1378
- * @see https://tailwindcss.com/docs/hyphens
1379
- */
1380
- hyphens: [{
1381
- hyphens: ["none", "manual", "auto"]
1382
- }],
1383
- /**
1384
- * Content
1385
- * @see https://tailwindcss.com/docs/content
1386
- */
1387
- content: [{
1388
- content: ["none", isArbitraryValue]
1389
- }],
1390
- // Backgrounds
1391
- /**
1392
- * Background Attachment
1393
- * @see https://tailwindcss.com/docs/background-attachment
1394
- */
1395
- "bg-attachment": [{
1396
- bg: ["fixed", "local", "scroll"]
1397
- }],
1398
- /**
1399
- * Background Clip
1400
- * @see https://tailwindcss.com/docs/background-clip
1401
- */
1402
- "bg-clip": [{
1403
- "bg-clip": ["border", "padding", "content", "text"]
1404
- }],
1405
- /**
1406
- * Background Opacity
1407
- * @deprecated since Tailwind CSS v3.0.0
1408
- * @see https://tailwindcss.com/docs/background-opacity
1409
- */
1410
- "bg-opacity": [{
1411
- "bg-opacity": [opacity]
1412
- }],
1413
- /**
1414
- * Background Origin
1415
- * @see https://tailwindcss.com/docs/background-origin
1416
- */
1417
- "bg-origin": [{
1418
- "bg-origin": ["border", "padding", "content"]
1419
- }],
1420
- /**
1421
- * Background Position
1422
- * @see https://tailwindcss.com/docs/background-position
1423
- */
1424
- "bg-position": [{
1425
- bg: [...getPositions(), isArbitraryPosition]
1426
- }],
1427
- /**
1428
- * Background Repeat
1429
- * @see https://tailwindcss.com/docs/background-repeat
1430
- */
1431
- "bg-repeat": [{
1432
- bg: ["no-repeat", {
1433
- repeat: ["", "x", "y", "round", "space"]
1434
- }]
1435
- }],
1436
- /**
1437
- * Background Size
1438
- * @see https://tailwindcss.com/docs/background-size
1439
- */
1440
- "bg-size": [{
1441
- bg: ["auto", "cover", "contain", isArbitrarySize]
1442
- }],
1443
- /**
1444
- * Background Image
1445
- * @see https://tailwindcss.com/docs/background-image
1446
- */
1447
- "bg-image": [{
1448
- bg: ["none", {
1449
- "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1450
- }, isArbitraryImage]
1451
- }],
1452
- /**
1453
- * Background Color
1454
- * @see https://tailwindcss.com/docs/background-color
1455
- */
1456
- "bg-color": [{
1457
- bg: [colors]
1458
- }],
1459
- /**
1460
- * Gradient Color Stops From Position
1461
- * @see https://tailwindcss.com/docs/gradient-color-stops
1462
- */
1463
- "gradient-from-pos": [{
1464
- from: [gradientColorStopPositions]
1465
- }],
1466
- /**
1467
- * Gradient Color Stops Via Position
1468
- * @see https://tailwindcss.com/docs/gradient-color-stops
1469
- */
1470
- "gradient-via-pos": [{
1471
- via: [gradientColorStopPositions]
1472
- }],
1473
- /**
1474
- * Gradient Color Stops To Position
1475
- * @see https://tailwindcss.com/docs/gradient-color-stops
1476
- */
1477
- "gradient-to-pos": [{
1478
- to: [gradientColorStopPositions]
1479
- }],
1480
- /**
1481
- * Gradient Color Stops From
1482
- * @see https://tailwindcss.com/docs/gradient-color-stops
1483
- */
1484
- "gradient-from": [{
1485
- from: [gradientColorStops]
1486
- }],
1487
- /**
1488
- * Gradient Color Stops Via
1489
- * @see https://tailwindcss.com/docs/gradient-color-stops
1490
- */
1491
- "gradient-via": [{
1492
- via: [gradientColorStops]
1493
- }],
1494
- /**
1495
- * Gradient Color Stops To
1496
- * @see https://tailwindcss.com/docs/gradient-color-stops
1497
- */
1498
- "gradient-to": [{
1499
- to: [gradientColorStops]
1500
- }],
1501
- // Borders
1502
- /**
1503
- * Border Radius
1504
- * @see https://tailwindcss.com/docs/border-radius
1505
- */
1506
- rounded: [{
1507
- rounded: [borderRadius]
1508
- }],
1509
- /**
1510
- * Border Radius Start
1511
- * @see https://tailwindcss.com/docs/border-radius
1512
- */
1513
- "rounded-s": [{
1514
- "rounded-s": [borderRadius]
1515
- }],
1516
- /**
1517
- * Border Radius End
1518
- * @see https://tailwindcss.com/docs/border-radius
1519
- */
1520
- "rounded-e": [{
1521
- "rounded-e": [borderRadius]
1522
- }],
1523
- /**
1524
- * Border Radius Top
1525
- * @see https://tailwindcss.com/docs/border-radius
1526
- */
1527
- "rounded-t": [{
1528
- "rounded-t": [borderRadius]
1529
- }],
1530
- /**
1531
- * Border Radius Right
1532
- * @see https://tailwindcss.com/docs/border-radius
1533
- */
1534
- "rounded-r": [{
1535
- "rounded-r": [borderRadius]
1536
- }],
1537
- /**
1538
- * Border Radius Bottom
1539
- * @see https://tailwindcss.com/docs/border-radius
1540
- */
1541
- "rounded-b": [{
1542
- "rounded-b": [borderRadius]
1543
- }],
1544
- /**
1545
- * Border Radius Left
1546
- * @see https://tailwindcss.com/docs/border-radius
1547
- */
1548
- "rounded-l": [{
1549
- "rounded-l": [borderRadius]
1550
- }],
1551
- /**
1552
- * Border Radius Start Start
1553
- * @see https://tailwindcss.com/docs/border-radius
1554
- */
1555
- "rounded-ss": [{
1556
- "rounded-ss": [borderRadius]
1557
- }],
1558
- /**
1559
- * Border Radius Start End
1560
- * @see https://tailwindcss.com/docs/border-radius
1561
- */
1562
- "rounded-se": [{
1563
- "rounded-se": [borderRadius]
1564
- }],
1565
- /**
1566
- * Border Radius End End
1567
- * @see https://tailwindcss.com/docs/border-radius
1568
- */
1569
- "rounded-ee": [{
1570
- "rounded-ee": [borderRadius]
1571
- }],
1572
- /**
1573
- * Border Radius End Start
1574
- * @see https://tailwindcss.com/docs/border-radius
1575
- */
1576
- "rounded-es": [{
1577
- "rounded-es": [borderRadius]
1578
- }],
1579
- /**
1580
- * Border Radius Top Left
1581
- * @see https://tailwindcss.com/docs/border-radius
1582
- */
1583
- "rounded-tl": [{
1584
- "rounded-tl": [borderRadius]
1585
- }],
1586
- /**
1587
- * Border Radius Top Right
1588
- * @see https://tailwindcss.com/docs/border-radius
1589
- */
1590
- "rounded-tr": [{
1591
- "rounded-tr": [borderRadius]
1592
- }],
1593
- /**
1594
- * Border Radius Bottom Right
1595
- * @see https://tailwindcss.com/docs/border-radius
1596
- */
1597
- "rounded-br": [{
1598
- "rounded-br": [borderRadius]
1599
- }],
1600
- /**
1601
- * Border Radius Bottom Left
1602
- * @see https://tailwindcss.com/docs/border-radius
1603
- */
1604
- "rounded-bl": [{
1605
- "rounded-bl": [borderRadius]
1606
- }],
1607
- /**
1608
- * Border Width
1609
- * @see https://tailwindcss.com/docs/border-width
1610
- */
1611
- "border-w": [{
1612
- border: [borderWidth]
1613
- }],
1614
- /**
1615
- * Border Width X
1616
- * @see https://tailwindcss.com/docs/border-width
1617
- */
1618
- "border-w-x": [{
1619
- "border-x": [borderWidth]
1620
- }],
1621
- /**
1622
- * Border Width Y
1623
- * @see https://tailwindcss.com/docs/border-width
1624
- */
1625
- "border-w-y": [{
1626
- "border-y": [borderWidth]
1627
- }],
1628
- /**
1629
- * Border Width Start
1630
- * @see https://tailwindcss.com/docs/border-width
1631
- */
1632
- "border-w-s": [{
1633
- "border-s": [borderWidth]
1634
- }],
1635
- /**
1636
- * Border Width End
1637
- * @see https://tailwindcss.com/docs/border-width
1638
- */
1639
- "border-w-e": [{
1640
- "border-e": [borderWidth]
1641
- }],
1642
- /**
1643
- * Border Width Top
1644
- * @see https://tailwindcss.com/docs/border-width
1645
- */
1646
- "border-w-t": [{
1647
- "border-t": [borderWidth]
1648
- }],
1649
- /**
1650
- * Border Width Right
1651
- * @see https://tailwindcss.com/docs/border-width
1652
- */
1653
- "border-w-r": [{
1654
- "border-r": [borderWidth]
1655
- }],
1656
- /**
1657
- * Border Width Bottom
1658
- * @see https://tailwindcss.com/docs/border-width
1659
- */
1660
- "border-w-b": [{
1661
- "border-b": [borderWidth]
1662
- }],
1663
- /**
1664
- * Border Width Left
1665
- * @see https://tailwindcss.com/docs/border-width
1666
- */
1667
- "border-w-l": [{
1668
- "border-l": [borderWidth]
1669
- }],
1670
- /**
1671
- * Border Opacity
1672
- * @see https://tailwindcss.com/docs/border-opacity
1673
- */
1674
- "border-opacity": [{
1675
- "border-opacity": [opacity]
1676
- }],
1677
- /**
1678
- * Border Style
1679
- * @see https://tailwindcss.com/docs/border-style
1680
- */
1681
- "border-style": [{
1682
- border: [...getLineStyles(), "hidden"]
1683
- }],
1684
- /**
1685
- * Divide Width X
1686
- * @see https://tailwindcss.com/docs/divide-width
1687
- */
1688
- "divide-x": [{
1689
- "divide-x": [borderWidth]
1690
- }],
1691
- /**
1692
- * Divide Width X Reverse
1693
- * @see https://tailwindcss.com/docs/divide-width
1694
- */
1695
- "divide-x-reverse": ["divide-x-reverse"],
1696
- /**
1697
- * Divide Width Y
1698
- * @see https://tailwindcss.com/docs/divide-width
1699
- */
1700
- "divide-y": [{
1701
- "divide-y": [borderWidth]
1702
- }],
1703
- /**
1704
- * Divide Width Y Reverse
1705
- * @see https://tailwindcss.com/docs/divide-width
1706
- */
1707
- "divide-y-reverse": ["divide-y-reverse"],
1708
- /**
1709
- * Divide Opacity
1710
- * @see https://tailwindcss.com/docs/divide-opacity
1711
- */
1712
- "divide-opacity": [{
1713
- "divide-opacity": [opacity]
1714
- }],
1715
- /**
1716
- * Divide Style
1717
- * @see https://tailwindcss.com/docs/divide-style
1718
- */
1719
- "divide-style": [{
1720
- divide: getLineStyles()
1721
- }],
1722
- /**
1723
- * Border Color
1724
- * @see https://tailwindcss.com/docs/border-color
1725
- */
1726
- "border-color": [{
1727
- border: [borderColor]
1728
- }],
1729
- /**
1730
- * Border Color X
1731
- * @see https://tailwindcss.com/docs/border-color
1732
- */
1733
- "border-color-x": [{
1734
- "border-x": [borderColor]
1735
- }],
1736
- /**
1737
- * Border Color Y
1738
- * @see https://tailwindcss.com/docs/border-color
1739
- */
1740
- "border-color-y": [{
1741
- "border-y": [borderColor]
1742
- }],
1743
- /**
1744
- * Border Color Top
1745
- * @see https://tailwindcss.com/docs/border-color
1746
- */
1747
- "border-color-t": [{
1748
- "border-t": [borderColor]
1749
- }],
1750
- /**
1751
- * Border Color Right
1752
- * @see https://tailwindcss.com/docs/border-color
1753
- */
1754
- "border-color-r": [{
1755
- "border-r": [borderColor]
1756
- }],
1757
- /**
1758
- * Border Color Bottom
1759
- * @see https://tailwindcss.com/docs/border-color
1760
- */
1761
- "border-color-b": [{
1762
- "border-b": [borderColor]
1763
- }],
1764
- /**
1765
- * Border Color Left
1766
- * @see https://tailwindcss.com/docs/border-color
1767
- */
1768
- "border-color-l": [{
1769
- "border-l": [borderColor]
1770
- }],
1771
- /**
1772
- * Divide Color
1773
- * @see https://tailwindcss.com/docs/divide-color
1774
- */
1775
- "divide-color": [{
1776
- divide: [borderColor]
1777
- }],
1778
- /**
1779
- * Outline Style
1780
- * @see https://tailwindcss.com/docs/outline-style
1781
- */
1782
- "outline-style": [{
1783
- outline: ["", ...getLineStyles()]
1784
- }],
1785
- /**
1786
- * Outline Offset
1787
- * @see https://tailwindcss.com/docs/outline-offset
1788
- */
1789
- "outline-offset": [{
1790
- "outline-offset": [isLength, isArbitraryValue]
1791
- }],
1792
- /**
1793
- * Outline Width
1794
- * @see https://tailwindcss.com/docs/outline-width
1795
- */
1796
- "outline-w": [{
1797
- outline: [isLength, isArbitraryLength]
1798
- }],
1799
- /**
1800
- * Outline Color
1801
- * @see https://tailwindcss.com/docs/outline-color
1802
- */
1803
- "outline-color": [{
1804
- outline: [colors]
1805
- }],
1806
- /**
1807
- * Ring Width
1808
- * @see https://tailwindcss.com/docs/ring-width
1809
- */
1810
- "ring-w": [{
1811
- ring: getLengthWithEmptyAndArbitrary()
1812
- }],
1813
- /**
1814
- * Ring Width Inset
1815
- * @see https://tailwindcss.com/docs/ring-width
1816
- */
1817
- "ring-w-inset": ["ring-inset"],
1818
- /**
1819
- * Ring Color
1820
- * @see https://tailwindcss.com/docs/ring-color
1821
- */
1822
- "ring-color": [{
1823
- ring: [colors]
1824
- }],
1825
- /**
1826
- * Ring Opacity
1827
- * @see https://tailwindcss.com/docs/ring-opacity
1828
- */
1829
- "ring-opacity": [{
1830
- "ring-opacity": [opacity]
1831
- }],
1832
- /**
1833
- * Ring Offset Width
1834
- * @see https://tailwindcss.com/docs/ring-offset-width
1835
- */
1836
- "ring-offset-w": [{
1837
- "ring-offset": [isLength, isArbitraryLength]
1838
- }],
1839
- /**
1840
- * Ring Offset Color
1841
- * @see https://tailwindcss.com/docs/ring-offset-color
1842
- */
1843
- "ring-offset-color": [{
1844
- "ring-offset": [colors]
1845
- }],
1846
- // Effects
1847
- /**
1848
- * Box Shadow
1849
- * @see https://tailwindcss.com/docs/box-shadow
1850
- */
1851
- shadow: [{
1852
- shadow: ["", "inner", "none", isTshirtSize, isArbitraryShadow]
1853
- }],
1854
- /**
1855
- * Box Shadow Color
1856
- * @see https://tailwindcss.com/docs/box-shadow-color
1857
- */
1858
- "shadow-color": [{
1859
- shadow: [isAny]
1860
- }],
1861
- /**
1862
- * Opacity
1863
- * @see https://tailwindcss.com/docs/opacity
1864
- */
1865
- opacity: [{
1866
- opacity: [opacity]
1867
- }],
1868
- /**
1869
- * Mix Blend Mode
1870
- * @see https://tailwindcss.com/docs/mix-blend-mode
1871
- */
1872
- "mix-blend": [{
1873
- "mix-blend": [...getBlendModes(), "plus-lighter", "plus-darker"]
1874
- }],
1875
- /**
1876
- * Background Blend Mode
1877
- * @see https://tailwindcss.com/docs/background-blend-mode
1878
- */
1879
- "bg-blend": [{
1880
- "bg-blend": getBlendModes()
1881
- }],
1882
- // Filters
1883
- /**
1884
- * Filter
1885
- * @deprecated since Tailwind CSS v3.0.0
1886
- * @see https://tailwindcss.com/docs/filter
1887
- */
1888
- filter: [{
1889
- filter: ["", "none"]
1890
- }],
1891
- /**
1892
- * Blur
1893
- * @see https://tailwindcss.com/docs/blur
1894
- */
1895
- blur: [{
1896
- blur: [blur]
1897
- }],
1898
- /**
1899
- * Brightness
1900
- * @see https://tailwindcss.com/docs/brightness
1901
- */
1902
- brightness: [{
1903
- brightness: [brightness]
1904
- }],
1905
- /**
1906
- * Contrast
1907
- * @see https://tailwindcss.com/docs/contrast
1908
- */
1909
- contrast: [{
1910
- contrast: [contrast]
1911
- }],
1912
- /**
1913
- * Drop Shadow
1914
- * @see https://tailwindcss.com/docs/drop-shadow
1915
- */
1916
- "drop-shadow": [{
1917
- "drop-shadow": ["", "none", isTshirtSize, isArbitraryValue]
1918
- }],
1919
- /**
1920
- * Grayscale
1921
- * @see https://tailwindcss.com/docs/grayscale
1922
- */
1923
- grayscale: [{
1924
- grayscale: [grayscale]
1925
- }],
1926
- /**
1927
- * Hue Rotate
1928
- * @see https://tailwindcss.com/docs/hue-rotate
1929
- */
1930
- "hue-rotate": [{
1931
- "hue-rotate": [hueRotate]
1932
- }],
1933
- /**
1934
- * Invert
1935
- * @see https://tailwindcss.com/docs/invert
1936
- */
1937
- invert: [{
1938
- invert: [invert]
1939
- }],
1940
- /**
1941
- * Saturate
1942
- * @see https://tailwindcss.com/docs/saturate
1943
- */
1944
- saturate: [{
1945
- saturate: [saturate]
1946
- }],
1947
- /**
1948
- * Sepia
1949
- * @see https://tailwindcss.com/docs/sepia
1950
- */
1951
- sepia: [{
1952
- sepia: [sepia]
1953
- }],
1954
- /**
1955
- * Backdrop Filter
1956
- * @deprecated since Tailwind CSS v3.0.0
1957
- * @see https://tailwindcss.com/docs/backdrop-filter
1958
- */
1959
- "backdrop-filter": [{
1960
- "backdrop-filter": ["", "none"]
1961
- }],
1962
- /**
1963
- * Backdrop Blur
1964
- * @see https://tailwindcss.com/docs/backdrop-blur
1965
- */
1966
- "backdrop-blur": [{
1967
- "backdrop-blur": [blur]
1968
- }],
1969
- /**
1970
- * Backdrop Brightness
1971
- * @see https://tailwindcss.com/docs/backdrop-brightness
1972
- */
1973
- "backdrop-brightness": [{
1974
- "backdrop-brightness": [brightness]
1975
- }],
1976
- /**
1977
- * Backdrop Contrast
1978
- * @see https://tailwindcss.com/docs/backdrop-contrast
1979
- */
1980
- "backdrop-contrast": [{
1981
- "backdrop-contrast": [contrast]
1982
- }],
1983
- /**
1984
- * Backdrop Grayscale
1985
- * @see https://tailwindcss.com/docs/backdrop-grayscale
1986
- */
1987
- "backdrop-grayscale": [{
1988
- "backdrop-grayscale": [grayscale]
1989
- }],
1990
- /**
1991
- * Backdrop Hue Rotate
1992
- * @see https://tailwindcss.com/docs/backdrop-hue-rotate
1993
- */
1994
- "backdrop-hue-rotate": [{
1995
- "backdrop-hue-rotate": [hueRotate]
1996
- }],
1997
- /**
1998
- * Backdrop Invert
1999
- * @see https://tailwindcss.com/docs/backdrop-invert
2000
- */
2001
- "backdrop-invert": [{
2002
- "backdrop-invert": [invert]
2003
- }],
2004
- /**
2005
- * Backdrop Opacity
2006
- * @see https://tailwindcss.com/docs/backdrop-opacity
2007
- */
2008
- "backdrop-opacity": [{
2009
- "backdrop-opacity": [opacity]
2010
- }],
2011
- /**
2012
- * Backdrop Saturate
2013
- * @see https://tailwindcss.com/docs/backdrop-saturate
2014
- */
2015
- "backdrop-saturate": [{
2016
- "backdrop-saturate": [saturate]
2017
- }],
2018
- /**
2019
- * Backdrop Sepia
2020
- * @see https://tailwindcss.com/docs/backdrop-sepia
2021
- */
2022
- "backdrop-sepia": [{
2023
- "backdrop-sepia": [sepia]
2024
- }],
2025
- // Tables
2026
- /**
2027
- * Border Collapse
2028
- * @see https://tailwindcss.com/docs/border-collapse
2029
- */
2030
- "border-collapse": [{
2031
- border: ["collapse", "separate"]
2032
- }],
2033
- /**
2034
- * Border Spacing
2035
- * @see https://tailwindcss.com/docs/border-spacing
2036
- */
2037
- "border-spacing": [{
2038
- "border-spacing": [borderSpacing]
2039
- }],
2040
- /**
2041
- * Border Spacing X
2042
- * @see https://tailwindcss.com/docs/border-spacing
2043
- */
2044
- "border-spacing-x": [{
2045
- "border-spacing-x": [borderSpacing]
2046
- }],
2047
- /**
2048
- * Border Spacing Y
2049
- * @see https://tailwindcss.com/docs/border-spacing
2050
- */
2051
- "border-spacing-y": [{
2052
- "border-spacing-y": [borderSpacing]
2053
- }],
2054
- /**
2055
- * Table Layout
2056
- * @see https://tailwindcss.com/docs/table-layout
2057
- */
2058
- "table-layout": [{
2059
- table: ["auto", "fixed"]
2060
- }],
2061
- /**
2062
- * Caption Side
2063
- * @see https://tailwindcss.com/docs/caption-side
2064
- */
2065
- caption: [{
2066
- caption: ["top", "bottom"]
2067
- }],
2068
- // Transitions and Animation
2069
- /**
2070
- * Tranisition Property
2071
- * @see https://tailwindcss.com/docs/transition-property
2072
- */
2073
- transition: [{
2074
- transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", isArbitraryValue]
2075
- }],
2076
- /**
2077
- * Transition Duration
2078
- * @see https://tailwindcss.com/docs/transition-duration
2079
- */
2080
- duration: [{
2081
- duration: getNumberAndArbitrary()
2082
- }],
2083
- /**
2084
- * Transition Timing Function
2085
- * @see https://tailwindcss.com/docs/transition-timing-function
2086
- */
2087
- ease: [{
2088
- ease: ["linear", "in", "out", "in-out", isArbitraryValue]
2089
- }],
2090
- /**
2091
- * Transition Delay
2092
- * @see https://tailwindcss.com/docs/transition-delay
2093
- */
2094
- delay: [{
2095
- delay: getNumberAndArbitrary()
2096
- }],
2097
- /**
2098
- * Animation
2099
- * @see https://tailwindcss.com/docs/animation
2100
- */
2101
- animate: [{
2102
- animate: ["none", "spin", "ping", "pulse", "bounce", isArbitraryValue]
2103
- }],
2104
- // Transforms
2105
- /**
2106
- * Transform
2107
- * @see https://tailwindcss.com/docs/transform
2108
- */
2109
- transform: [{
2110
- transform: ["", "gpu", "none"]
2111
- }],
2112
- /**
2113
- * Scale
2114
- * @see https://tailwindcss.com/docs/scale
2115
- */
2116
- scale: [{
2117
- scale: [scale]
2118
- }],
2119
- /**
2120
- * Scale X
2121
- * @see https://tailwindcss.com/docs/scale
2122
- */
2123
- "scale-x": [{
2124
- "scale-x": [scale]
2125
- }],
2126
- /**
2127
- * Scale Y
2128
- * @see https://tailwindcss.com/docs/scale
2129
- */
2130
- "scale-y": [{
2131
- "scale-y": [scale]
2132
- }],
2133
- /**
2134
- * Rotate
2135
- * @see https://tailwindcss.com/docs/rotate
2136
- */
2137
- rotate: [{
2138
- rotate: [isInteger, isArbitraryValue]
2139
- }],
2140
- /**
2141
- * Translate X
2142
- * @see https://tailwindcss.com/docs/translate
2143
- */
2144
- "translate-x": [{
2145
- "translate-x": [translate]
2146
- }],
2147
- /**
2148
- * Translate Y
2149
- * @see https://tailwindcss.com/docs/translate
2150
- */
2151
- "translate-y": [{
2152
- "translate-y": [translate]
2153
- }],
2154
- /**
2155
- * Skew X
2156
- * @see https://tailwindcss.com/docs/skew
2157
- */
2158
- "skew-x": [{
2159
- "skew-x": [skew]
2160
- }],
2161
- /**
2162
- * Skew Y
2163
- * @see https://tailwindcss.com/docs/skew
2164
- */
2165
- "skew-y": [{
2166
- "skew-y": [skew]
2167
- }],
2168
- /**
2169
- * Transform Origin
2170
- * @see https://tailwindcss.com/docs/transform-origin
2171
- */
2172
- "transform-origin": [{
2173
- origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", isArbitraryValue]
2174
- }],
2175
- // Interactivity
2176
- /**
2177
- * Accent Color
2178
- * @see https://tailwindcss.com/docs/accent-color
2179
- */
2180
- accent: [{
2181
- accent: ["auto", colors]
2182
- }],
2183
- /**
2184
- * Appearance
2185
- * @see https://tailwindcss.com/docs/appearance
2186
- */
2187
- appearance: [{
2188
- appearance: ["none", "auto"]
2189
- }],
2190
- /**
2191
- * Cursor
2192
- * @see https://tailwindcss.com/docs/cursor
2193
- */
2194
- cursor: [{
2195
- cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", isArbitraryValue]
2196
- }],
2197
- /**
2198
- * Caret Color
2199
- * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2200
- */
2201
- "caret-color": [{
2202
- caret: [colors]
2203
- }],
2204
- /**
2205
- * Pointer Events
2206
- * @see https://tailwindcss.com/docs/pointer-events
2207
- */
2208
- "pointer-events": [{
2209
- "pointer-events": ["none", "auto"]
2210
- }],
2211
- /**
2212
- * Resize
2213
- * @see https://tailwindcss.com/docs/resize
2214
- */
2215
- resize: [{
2216
- resize: ["none", "y", "x", ""]
2217
- }],
2218
- /**
2219
- * Scroll Behavior
2220
- * @see https://tailwindcss.com/docs/scroll-behavior
2221
- */
2222
- "scroll-behavior": [{
2223
- scroll: ["auto", "smooth"]
2224
- }],
2225
- /**
2226
- * Scroll Margin
2227
- * @see https://tailwindcss.com/docs/scroll-margin
2228
- */
2229
- "scroll-m": [{
2230
- "scroll-m": getSpacingWithArbitrary()
2231
- }],
2232
- /**
2233
- * Scroll Margin X
2234
- * @see https://tailwindcss.com/docs/scroll-margin
2235
- */
2236
- "scroll-mx": [{
2237
- "scroll-mx": getSpacingWithArbitrary()
2238
- }],
2239
- /**
2240
- * Scroll Margin Y
2241
- * @see https://tailwindcss.com/docs/scroll-margin
2242
- */
2243
- "scroll-my": [{
2244
- "scroll-my": getSpacingWithArbitrary()
2245
- }],
2246
- /**
2247
- * Scroll Margin Start
2248
- * @see https://tailwindcss.com/docs/scroll-margin
2249
- */
2250
- "scroll-ms": [{
2251
- "scroll-ms": getSpacingWithArbitrary()
2252
- }],
2253
- /**
2254
- * Scroll Margin End
2255
- * @see https://tailwindcss.com/docs/scroll-margin
2256
- */
2257
- "scroll-me": [{
2258
- "scroll-me": getSpacingWithArbitrary()
2259
- }],
2260
- /**
2261
- * Scroll Margin Top
2262
- * @see https://tailwindcss.com/docs/scroll-margin
2263
- */
2264
- "scroll-mt": [{
2265
- "scroll-mt": getSpacingWithArbitrary()
2266
- }],
2267
- /**
2268
- * Scroll Margin Right
2269
- * @see https://tailwindcss.com/docs/scroll-margin
2270
- */
2271
- "scroll-mr": [{
2272
- "scroll-mr": getSpacingWithArbitrary()
2273
- }],
2274
- /**
2275
- * Scroll Margin Bottom
2276
- * @see https://tailwindcss.com/docs/scroll-margin
2277
- */
2278
- "scroll-mb": [{
2279
- "scroll-mb": getSpacingWithArbitrary()
2280
- }],
2281
- /**
2282
- * Scroll Margin Left
2283
- * @see https://tailwindcss.com/docs/scroll-margin
2284
- */
2285
- "scroll-ml": [{
2286
- "scroll-ml": getSpacingWithArbitrary()
2287
- }],
2288
- /**
2289
- * Scroll Padding
2290
- * @see https://tailwindcss.com/docs/scroll-padding
2291
- */
2292
- "scroll-p": [{
2293
- "scroll-p": getSpacingWithArbitrary()
2294
- }],
2295
- /**
2296
- * Scroll Padding X
2297
- * @see https://tailwindcss.com/docs/scroll-padding
2298
- */
2299
- "scroll-px": [{
2300
- "scroll-px": getSpacingWithArbitrary()
2301
- }],
2302
- /**
2303
- * Scroll Padding Y
2304
- * @see https://tailwindcss.com/docs/scroll-padding
2305
- */
2306
- "scroll-py": [{
2307
- "scroll-py": getSpacingWithArbitrary()
2308
- }],
2309
- /**
2310
- * Scroll Padding Start
2311
- * @see https://tailwindcss.com/docs/scroll-padding
2312
- */
2313
- "scroll-ps": [{
2314
- "scroll-ps": getSpacingWithArbitrary()
2315
- }],
2316
- /**
2317
- * Scroll Padding End
2318
- * @see https://tailwindcss.com/docs/scroll-padding
2319
- */
2320
- "scroll-pe": [{
2321
- "scroll-pe": getSpacingWithArbitrary()
2322
- }],
2323
- /**
2324
- * Scroll Padding Top
2325
- * @see https://tailwindcss.com/docs/scroll-padding
2326
- */
2327
- "scroll-pt": [{
2328
- "scroll-pt": getSpacingWithArbitrary()
2329
- }],
2330
- /**
2331
- * Scroll Padding Right
2332
- * @see https://tailwindcss.com/docs/scroll-padding
2333
- */
2334
- "scroll-pr": [{
2335
- "scroll-pr": getSpacingWithArbitrary()
2336
- }],
2337
- /**
2338
- * Scroll Padding Bottom
2339
- * @see https://tailwindcss.com/docs/scroll-padding
2340
- */
2341
- "scroll-pb": [{
2342
- "scroll-pb": getSpacingWithArbitrary()
2343
- }],
2344
- /**
2345
- * Scroll Padding Left
2346
- * @see https://tailwindcss.com/docs/scroll-padding
2347
- */
2348
- "scroll-pl": [{
2349
- "scroll-pl": getSpacingWithArbitrary()
2350
- }],
2351
- /**
2352
- * Scroll Snap Align
2353
- * @see https://tailwindcss.com/docs/scroll-snap-align
2354
- */
2355
- "snap-align": [{
2356
- snap: ["start", "end", "center", "align-none"]
2357
- }],
2358
- /**
2359
- * Scroll Snap Stop
2360
- * @see https://tailwindcss.com/docs/scroll-snap-stop
2361
- */
2362
- "snap-stop": [{
2363
- snap: ["normal", "always"]
2364
- }],
2365
- /**
2366
- * Scroll Snap Type
2367
- * @see https://tailwindcss.com/docs/scroll-snap-type
2368
- */
2369
- "snap-type": [{
2370
- snap: ["none", "x", "y", "both"]
2371
- }],
2372
- /**
2373
- * Scroll Snap Type Strictness
2374
- * @see https://tailwindcss.com/docs/scroll-snap-type
2375
- */
2376
- "snap-strictness": [{
2377
- snap: ["mandatory", "proximity"]
2378
- }],
2379
- /**
2380
- * Touch Action
2381
- * @see https://tailwindcss.com/docs/touch-action
2382
- */
2383
- touch: [{
2384
- touch: ["auto", "none", "manipulation"]
2385
- }],
2386
- /**
2387
- * Touch Action X
2388
- * @see https://tailwindcss.com/docs/touch-action
2389
- */
2390
- "touch-x": [{
2391
- "touch-pan": ["x", "left", "right"]
2392
- }],
2393
- /**
2394
- * Touch Action Y
2395
- * @see https://tailwindcss.com/docs/touch-action
2396
- */
2397
- "touch-y": [{
2398
- "touch-pan": ["y", "up", "down"]
2399
- }],
2400
- /**
2401
- * Touch Action Pinch Zoom
2402
- * @see https://tailwindcss.com/docs/touch-action
2403
- */
2404
- "touch-pz": ["touch-pinch-zoom"],
2405
- /**
2406
- * User Select
2407
- * @see https://tailwindcss.com/docs/user-select
2408
- */
2409
- select: [{
2410
- select: ["none", "text", "all", "auto"]
2411
- }],
2412
- /**
2413
- * Will Change
2414
- * @see https://tailwindcss.com/docs/will-change
2415
- */
2416
- "will-change": [{
2417
- "will-change": ["auto", "scroll", "contents", "transform", isArbitraryValue]
2418
- }],
2419
- // SVG
2420
- /**
2421
- * Fill
2422
- * @see https://tailwindcss.com/docs/fill
2423
- */
2424
- fill: [{
2425
- fill: [colors, "none"]
2426
- }],
2427
- /**
2428
- * Stroke Width
2429
- * @see https://tailwindcss.com/docs/stroke-width
2430
- */
2431
- "stroke-w": [{
2432
- stroke: [isLength, isArbitraryLength, isArbitraryNumber]
2433
- }],
2434
- /**
2435
- * Stroke
2436
- * @see https://tailwindcss.com/docs/stroke
2437
- */
2438
- stroke: [{
2439
- stroke: [colors, "none"]
2440
- }],
2441
- // Accessibility
2442
- /**
2443
- * Screen Readers
2444
- * @see https://tailwindcss.com/docs/screen-readers
2445
- */
2446
- sr: ["sr-only", "not-sr-only"],
2447
- /**
2448
- * Forced Color Adjust
2449
- * @see https://tailwindcss.com/docs/forced-color-adjust
2450
- */
2451
- "forced-color-adjust": [{
2452
- "forced-color-adjust": ["auto", "none"]
2453
- }]
2454
- },
2455
- conflictingClassGroups: {
2456
- overflow: ["overflow-x", "overflow-y"],
2457
- overscroll: ["overscroll-x", "overscroll-y"],
2458
- inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
2459
- "inset-x": ["right", "left"],
2460
- "inset-y": ["top", "bottom"],
2461
- flex: ["basis", "grow", "shrink"],
2462
- gap: ["gap-x", "gap-y"],
2463
- p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
2464
- px: ["pr", "pl"],
2465
- py: ["pt", "pb"],
2466
- m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
2467
- mx: ["mr", "ml"],
2468
- my: ["mt", "mb"],
2469
- size: ["w", "h"],
2470
- "font-size": ["leading"],
2471
- "fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
2472
- "fvn-ordinal": ["fvn-normal"],
2473
- "fvn-slashed-zero": ["fvn-normal"],
2474
- "fvn-figure": ["fvn-normal"],
2475
- "fvn-spacing": ["fvn-normal"],
2476
- "fvn-fraction": ["fvn-normal"],
2477
- "line-clamp": ["display", "overflow"],
2478
- rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l", "rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr", "rounded-br", "rounded-bl"],
2479
- "rounded-s": ["rounded-ss", "rounded-es"],
2480
- "rounded-e": ["rounded-se", "rounded-ee"],
2481
- "rounded-t": ["rounded-tl", "rounded-tr"],
2482
- "rounded-r": ["rounded-tr", "rounded-br"],
2483
- "rounded-b": ["rounded-br", "rounded-bl"],
2484
- "rounded-l": ["rounded-tl", "rounded-bl"],
2485
- "border-spacing": ["border-spacing-x", "border-spacing-y"],
2486
- "border-w": ["border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
2487
- "border-w-x": ["border-w-r", "border-w-l"],
2488
- "border-w-y": ["border-w-t", "border-w-b"],
2489
- "border-color": ["border-color-t", "border-color-r", "border-color-b", "border-color-l"],
2490
- "border-color-x": ["border-color-r", "border-color-l"],
2491
- "border-color-y": ["border-color-t", "border-color-b"],
2492
- "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
2493
- "scroll-mx": ["scroll-mr", "scroll-ml"],
2494
- "scroll-my": ["scroll-mt", "scroll-mb"],
2495
- "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
2496
- "scroll-px": ["scroll-pr", "scroll-pl"],
2497
- "scroll-py": ["scroll-pt", "scroll-pb"],
2498
- touch: ["touch-x", "touch-y", "touch-pz"],
2499
- "touch-x": ["touch"],
2500
- "touch-y": ["touch"],
2501
- "touch-pz": ["touch"]
2502
- },
2503
- conflictingClassGroupModifiers: {
2504
- "font-size": ["leading"]
2505
- }
2506
- };
2507
- };
2508
- var twMerge = /* @__PURE__ */ createTailwindMerge(getDefaultConfig);
2509
-
2510
- // lib/utils.ts
2511
- function cn(...inputs) {
2512
- return twMerge(clsx(inputs));
2513
- }
2514
-
2515
- // components/ui/button.tsx
2516
- var React = __toESM(require("react"));
2517
- var import_react_slot = require("@radix-ui/react-slot");
2518
-
2519
- // ../../node_modules/class-variance-authority/node_modules/clsx/dist/clsx.mjs
2520
- function r2(e) {
2521
- var t, f, n = "";
2522
- if ("string" == typeof e || "number" == typeof e) n += e;
2523
- else if ("object" == typeof e) if (Array.isArray(e)) for (t = 0; t < e.length; t++) e[t] && (f = r2(e[t])) && (n && (n += " "), n += f);
2524
- else for (t in e) e[t] && (n && (n += " "), n += t);
2525
- return n;
2526
- }
2527
- function clsx2() {
2528
- for (var e, t, f = 0, n = ""; f < arguments.length; ) (e = arguments[f++]) && (t = r2(e)) && (n && (n += " "), n += t);
2529
- return n;
2530
- }
2531
-
2532
- // ../../node_modules/class-variance-authority/dist/index.mjs
2533
- var falsyToString = (value) => typeof value === "boolean" ? "".concat(value) : value === 0 ? "0" : value;
2534
- var cx = clsx2;
2535
- var cva = (base, config) => {
2536
- return (props) => {
2537
- var ref;
2538
- if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
2539
- const { variants, defaultVariants } = config;
2540
- const getVariantClassNames = Object.keys(variants).map((variant) => {
2541
- const variantProp = props === null || props === void 0 ? void 0 : props[variant];
2542
- const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];
2543
- if (variantProp === null) return null;
2544
- const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);
2545
- return variants[variant][variantKey];
2546
- });
2547
- const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param) => {
2548
- let [key, value] = param;
2549
- if (value === void 0) {
2550
- return acc;
2551
- }
2552
- acc[key] = value;
2553
- return acc;
2554
- }, {});
2555
- const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (ref = config.compoundVariants) === null || ref === void 0 ? void 0 : ref.reduce((acc, param1) => {
2556
- let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param1;
2557
- return Object.entries(compoundVariantOptions).every((param) => {
2558
- let [key, value] = param;
2559
- return Array.isArray(value) ? value.includes({
2560
- ...defaultVariants,
2561
- ...propsWithoutUndefined
2562
- }[key]) : {
2563
- ...defaultVariants,
2564
- ...propsWithoutUndefined
2565
- }[key] === value;
2566
- }) ? [
2567
- ...acc,
2568
- cvClass,
2569
- cvClassName
2570
- ] : acc;
2571
- }, []);
2572
- return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
2573
- };
2574
- };
2575
-
2576
- // components/ui/button.tsx
2577
- var buttonVariants = cva(
2578
- "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
2579
- {
2580
- variants: {
2581
- variant: {
2582
- default: "bg-primary text-primary-foreground hover:bg-primary/90",
2583
- destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
2584
- outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
2585
- secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
2586
- ghost: "hover:bg-accent hover:text-accent-foreground",
2587
- link: "text-primary underline-offset-4 hover:underline"
2588
- },
2589
- size: {
2590
- default: "h-10 px-4 py-2",
2591
- sm: "h-9 rounded-md px-3",
2592
- lg: "h-11 rounded-md px-8",
2593
- icon: "h-10 w-10"
2594
- }
2595
- },
2596
- defaultVariants: {
2597
- variant: "default",
2598
- size: "default"
2599
- }
2600
- }
2601
- );
2602
- var Button = React.forwardRef(
2603
- ({ className, variant, size, asChild = false, ...props }, ref) => {
2604
- const Comp = asChild ? import_react_slot.Slot : "button";
2605
- return /* @__PURE__ */ React.createElement(
2606
- Comp,
2607
- {
2608
- className: cn(buttonVariants({ variant, size, className })),
2609
- ref,
2610
- ...props
2611
- }
2612
- );
2613
- }
2614
- );
2615
- Button.displayName = "Button";
2616
-
2617
- // src/GoogleLoginButton/GoogleLoginButton.tsx
2618
- var GoogleSSOButton = import_react.default.forwardRef(
2619
- ({ callbackUrl, className, variant, size, asChild = false, ...props }, ref) => {
2620
- const Comp = asChild ? import_react_slot2.Slot : "button";
2621
- return /* @__PURE__ */ import_react.default.createElement(
2622
- Comp,
2623
- {
2624
- className: cn(
2625
- buttonVariants({ variant, size, className }),
2626
- "bg-[#4285f4] hover:bg-[#4285f4] hover:bg-opacity-90 pl-[3px]"
2627
- ),
2628
- ref,
2629
- onClick: () => {
2630
- (0, import_react2.signIn)("google", { callbackUrl });
2631
- },
2632
- ...props
2633
- },
2634
- /* @__PURE__ */ import_react.default.createElement("div", { className: "inline-flex items-center flex-1 justify-between font-roboto rounded-[4px] gap-4 google-logo" }, /* @__PURE__ */ import_react.default.createElement(
2635
- "div",
2636
- {
2637
- style: {
2638
- background: "white",
2639
- borderRadius: "4px",
2640
- padding: "0.5rem"
2641
- }
2642
- },
2643
- /* @__PURE__ */ import_react.default.createElement(GoogleLogo, null)
2644
- ), /* @__PURE__ */ import_react.default.createElement("div", null, "Continue with Google"))
2645
- );
2646
- }
2647
- );
2648
- GoogleSSOButton.displayName = "GoogleSSOButton";
2649
- var GoogleLoginButton_default = GoogleSSOButton;
2650
- function GoogleLogo() {
2651
- return /* @__PURE__ */ import_react.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "18", height: "18" }, /* @__PURE__ */ import_react.default.createElement("g", { fill: "#000", fillRule: "evenodd" }, /* @__PURE__ */ import_react.default.createElement(
2652
- "path",
2653
- {
2654
- d: "M9 3.48c1.69 0 2.83.73 3.48 1.34l2.54-2.48C13.46.89 11.43 0 9 0 5.48 0 2.44 2.02.96 4.96l2.91 2.26C4.6 5.05 6.62 3.48 9 3.48z",
2655
- fill: "#EA4335"
2656
- }
2657
- ), /* @__PURE__ */ import_react.default.createElement(
2658
- "path",
2659
- {
2660
- d: "M17.64 9.2c0-.74-.06-1.28-.19-1.84H9v3.34h4.96c-.1.83-.64 2.08-1.84 2.92l2.84 2.2c1.7-1.57 2.68-3.88 2.68-6.62z",
2661
- fill: "#4285F4"
2662
- }
2663
- ), /* @__PURE__ */ import_react.default.createElement(
2664
- "path",
2665
- {
2666
- d: "M3.88 10.78A5.54 5.54 0 0 1 3.58 9c0-.62.11-1.22.29-1.78L.96 4.96A9.008 9.008 0 0 0 0 9c0 1.45.35 2.82.96 4.04l2.92-2.26z",
2667
- fill: "#FBBC05"
2668
- }
2669
- ), /* @__PURE__ */ import_react.default.createElement(
2670
- "path",
2671
- {
2672
- d: "M9 18c2.43 0 4.47-.8 5.96-2.18l-2.84-2.2c-.76.53-1.78.9-3.12.9-2.38 0-4.4-1.57-5.12-3.74L.97 13.04C2.45 15.98 5.48 18 9 18z",
2673
- fill: "#34A853"
2674
- }
2675
- ), /* @__PURE__ */ import_react.default.createElement("path", { fill: "none", d: "M0 0h18v18H0z" })));
2676
- }
2677
-
2678
- // src/SignUpForm/SignUpForm.tsx
2679
- var import_react5 = __toESM(require("react"));
2680
-
2681
- // src/SignUpForm/Form.tsx
2682
- var import_react4 = __toESM(require("react"));
2683
- var import_react_query2 = require("@tanstack/react-query");
2684
- var import_react_hook_form2 = require("react-hook-form");
2685
-
2686
- // components/ui/form.tsx
2687
- var React5 = __toESM(require("react"));
2688
- var import_react_slot3 = require("@radix-ui/react-slot");
2689
- var import_react_hook_form = require("react-hook-form");
2690
-
2691
- // components/ui/label.tsx
2692
- var React3 = __toESM(require("react"));
2693
- var LabelPrimitive = __toESM(require("@radix-ui/react-label"));
2694
- var labelVariants = cva(
2695
- "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
2696
- );
2697
- var Label = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React3.createElement(
2698
- LabelPrimitive.Root,
2699
- {
2700
- ref,
2701
- className: cn(labelVariants(), className),
2702
- ...props
2703
- }
2704
- ));
2705
- Label.displayName = LabelPrimitive.Root.displayName;
2706
-
2707
- // components/ui/input.tsx
2708
- var React4 = __toESM(require("react"));
2709
- var Input = React4.forwardRef(
2710
- ({ className, type, ...props }, ref) => {
2711
- return /* @__PURE__ */ React4.createElement(
2712
- "input",
2713
- {
2714
- type,
2715
- className: cn(
2716
- "flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
2717
- className
2718
- ),
2719
- ref,
2720
- ...props
2721
- }
2722
- );
2723
- }
2724
- );
2725
- Input.displayName = "Input";
2726
-
2727
- // components/ui/form.tsx
2728
- var Form = import_react_hook_form.FormProvider;
2729
- var FormFieldContext = React5.createContext(
2730
- {}
2731
- );
2732
- var FormField = ({ ...props }) => {
2733
- return /* @__PURE__ */ React5.createElement(FormFieldContext.Provider, { value: { name: props.name } }, /* @__PURE__ */ React5.createElement(import_react_hook_form.Controller, { ...props }));
2734
- };
2735
- var useFormField = () => {
2736
- const fieldContext = React5.useContext(FormFieldContext);
2737
- const itemContext = React5.useContext(FormItemContext);
2738
- const { getFieldState, formState } = (0, import_react_hook_form.useFormContext)();
2739
- const fieldState = getFieldState(fieldContext.name, formState);
2740
- if (!fieldContext) {
2741
- throw new Error("useFormField should be used within <FormField>");
2742
- }
2743
- const { id } = itemContext;
2744
- return {
2745
- id,
2746
- name: fieldContext.name,
2747
- formItemId: `${id}-form-item`,
2748
- formDescriptionId: `${id}-form-item-description`,
2749
- formMessageId: `${id}-form-item-message`,
2750
- ...fieldState
2751
- };
2752
- };
2753
- var FormItemContext = React5.createContext(
2754
- {}
2755
- );
2756
- var FormItem = React5.forwardRef(({ className, ...props }, ref) => {
2757
- const id = React5.useId();
2758
- return /* @__PURE__ */ React5.createElement(FormItemContext.Provider, { value: { id } }, /* @__PURE__ */ React5.createElement("div", { ref, className: cn("space-y-2", className), ...props }));
2759
- });
2760
- FormItem.displayName = "FormItem";
2761
- var FormLabel = React5.forwardRef(({ className, ...props }, ref) => {
2762
- const { error, formItemId } = useFormField();
2763
- return /* @__PURE__ */ React5.createElement(
2764
- Label,
2765
- {
2766
- ref,
2767
- className: cn(error && "text-destructive", className),
2768
- htmlFor: formItemId,
2769
- ...props
2770
- }
2771
- );
2772
- });
2773
- FormLabel.displayName = "FormLabel";
2774
- var FormControl = React5.forwardRef(({ ...props }, ref) => {
2775
- const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
2776
- return /* @__PURE__ */ React5.createElement(
2777
- import_react_slot3.Slot,
2778
- {
2779
- ref,
2780
- id: formItemId,
2781
- "aria-describedby": !error ? `${formDescriptionId}` : `${formDescriptionId} ${formMessageId}`,
2782
- "aria-invalid": !!error,
2783
- ...props
2784
- }
2785
- );
2786
- });
2787
- FormControl.displayName = "FormControl";
2788
- var FormDescription = React5.forwardRef(({ className, ...props }, ref) => {
2789
- const { formDescriptionId } = useFormField();
2790
- return /* @__PURE__ */ React5.createElement(
2791
- "p",
2792
- {
2793
- ref,
2794
- id: formDescriptionId,
2795
- className: cn("text-sm text-muted-foreground", className),
2796
- ...props
2797
- }
2798
- );
2799
- });
2800
- FormDescription.displayName = "FormDescription";
2801
- var FormMessage = React5.forwardRef(({ className, children, ...props }, ref) => {
2802
- const { error, formMessageId } = useFormField();
2803
- const body = error ? String(error?.message) : children;
2804
- if (!body) {
2805
- return null;
2806
- }
2807
- return /* @__PURE__ */ React5.createElement(
2808
- "p",
2809
- {
2810
- ref,
2811
- id: formMessageId,
2812
- className: cn("text-sm font-medium text-destructive", className),
2813
- ...props
2814
- },
2815
- body
2816
- );
2817
- });
2818
- FormMessage.displayName = "FormMessage";
2819
- var Email = () => {
2820
- const form = (0, import_react_hook_form.useFormContext)();
2821
- return /* @__PURE__ */ React5.createElement(
2822
- FormField,
2823
- {
2824
- control: form.control,
2825
- name: "email",
2826
- render: ({ field }) => {
2827
- return /* @__PURE__ */ React5.createElement(FormItem, null, /* @__PURE__ */ React5.createElement(FormLabel, null, "Email"), /* @__PURE__ */ React5.createElement(FormControl, null, /* @__PURE__ */ React5.createElement(
2828
- Input,
2829
- {
2830
- placeholder: "Email",
2831
- ...field,
2832
- autoComplete: "current-email"
2833
- }
2834
- )), /* @__PURE__ */ React5.createElement(FormDescription, null, "Your email address"), /* @__PURE__ */ React5.createElement(FormMessage, null));
2835
- }
2836
- }
2837
- );
2838
- };
2839
- var Password = () => {
2840
- const form = (0, import_react_hook_form.useFormContext)();
2841
- return /* @__PURE__ */ React5.createElement(
2842
- FormField,
2843
- {
2844
- control: form.control,
2845
- name: "password",
2846
- render: ({ field }) => {
2847
- return /* @__PURE__ */ React5.createElement(FormItem, null, /* @__PURE__ */ React5.createElement(FormLabel, null, "Password"), /* @__PURE__ */ React5.createElement(FormControl, null, /* @__PURE__ */ React5.createElement(
2848
- Input,
2849
- {
2850
- placeholder: "Password",
2851
- ...field,
2852
- type: "password",
2853
- autoComplete: "current-password"
2854
- }
2855
- )), /* @__PURE__ */ React5.createElement(FormDescription, null, "The desired password"), /* @__PURE__ */ React5.createElement(FormMessage, null));
2856
- }
2857
- }
2858
- );
2859
- };
2860
-
2861
- // src/SignUpForm/hooks.tsx
2862
- var import_react_query = require("@tanstack/react-query");
2863
- var import_react3 = require("react");
2864
- function useSignUp(params, client) {
2865
- const { onSuccess, onError, beforeMutate, callbackUrl } = params;
2866
- const mutation = (0, import_react_query.useMutation)(
2867
- {
2868
- mutationFn: async (_data) => {
2869
- const possibleData = beforeMutate && beforeMutate(_data);
2870
- const payload = { ..._data, ...possibleData };
2871
- const { tenantId, newTenantName, ...body } = payload;
2872
- let fetchUrl = payload.fetchURL ?? `${window.location.origin}/api/signup`;
2873
- const searchParams = new URLSearchParams();
2874
- if (newTenantName) {
2875
- searchParams.set("newTenantName", newTenantName);
2876
- }
2877
- if (tenantId) {
2878
- searchParams.set("tenantId", tenantId);
2879
- }
2880
- if (searchParams.size > 0) {
2881
- fetchUrl += `?${searchParams}`;
2882
- }
2883
- return await fetch(fetchUrl, {
2884
- body: JSON.stringify(body),
2885
- method: "POST"
2886
- });
2887
- },
2888
- onSuccess: (data, variables) => {
2889
- if (callbackUrl) {
2890
- window.location.href = callbackUrl;
2891
- }
2892
- onSuccess && onSuccess(data, variables);
2893
- },
2894
- onError
2895
- },
2896
- client
2897
- );
2898
- (0, import_react3.useEffect)(() => {
2899
- fetch("/api/auth/providers");
2900
- fetch("/api/auth/csrf");
2901
- }, []);
2902
- return mutation.mutate;
2903
- }
2904
-
2905
- // src/SignUpForm/Form.tsx
2906
- var queryClient = new import_react_query2.QueryClient();
2907
- function SignUpForm(props) {
2908
- const { client } = props ?? {};
2909
- return /* @__PURE__ */ import_react4.default.createElement(import_react_query2.QueryClientProvider, { client: client ?? queryClient }, /* @__PURE__ */ import_react4.default.createElement(SignInForm, { ...props }));
2910
- }
2911
- function SignInForm(props) {
2912
- const signUp = useSignUp(props);
2913
- const form = (0, import_react_hook_form2.useForm)({ defaultValues: { email: "", password: "" } });
2914
- return /* @__PURE__ */ import_react4.default.createElement(Form, { ...form }, /* @__PURE__ */ import_react4.default.createElement(
2915
- "form",
2916
- {
2917
- onSubmit: form.handleSubmit(
2918
- ({ email, password }) => signUp({ email, password })
2919
- ),
2920
- className: "space-y-8"
2921
- },
2922
- /* @__PURE__ */ import_react4.default.createElement(Email, null),
2923
- /* @__PURE__ */ import_react4.default.createElement(Password, null),
2924
- /* @__PURE__ */ import_react4.default.createElement(Button, null, "Sign up")
2925
- ));
2926
- }
2927
-
2928
- // src/SignUpForm/SignUpForm.tsx
2929
- function SigningUp(props) {
2930
- return /* @__PURE__ */ import_react5.default.createElement("div", { className: "flex flex-col gap-4" }, /* @__PURE__ */ import_react5.default.createElement("div", { className: "font-sans text-3xl" }, "Sign up"), /* @__PURE__ */ import_react5.default.createElement(SignUpForm, { ...props }));
2931
- }
2932
-
2933
- // src/SignInForm/SignInForm.tsx
2934
- var import_react8 = __toESM(require("react"));
2935
-
2936
- // src/SignInForm/Form.tsx
2937
- var import_react7 = __toESM(require("react"));
2938
- var import_react_query4 = require("@tanstack/react-query");
2939
- var import_react_hook_form3 = require("react-hook-form");
2940
-
2941
- // src/SignInForm/hooks.tsx
2942
- var import_react_query3 = require("@tanstack/react-query");
2943
- var import_react6 = require("next-auth/react");
2944
- function useSignIn(params) {
2945
- const { onSuccess, onError, beforeMutate, callbackUrl } = params ?? {};
2946
- const mutation = (0, import_react_query3.useMutation)({
2947
- mutationFn: async (_data) => {
2948
- const d = { ..._data, callbackUrl };
2949
- const possibleData = beforeMutate && beforeMutate(d);
2950
- const data = possibleData ?? d;
2951
- return await (0, import_react6.signIn)("credentials", data);
2952
- },
2953
- onSuccess,
2954
- onError
2955
- });
2956
- return mutation.mutate;
2957
- }
2958
-
2959
- // src/SignInForm/Form.tsx
2960
- var queryClient2 = new import_react_query4.QueryClient();
2961
- function SigningIn(props) {
2962
- const { client, ...remaining } = props ?? {};
2963
- return /* @__PURE__ */ import_react7.default.createElement(import_react_query4.QueryClientProvider, { client: client ?? queryClient2 }, /* @__PURE__ */ import_react7.default.createElement(SignInForm2, { ...remaining }));
2964
- }
2965
- function SignInForm2(props) {
2966
- const signIn3 = useSignIn(props);
2967
- const form = (0, import_react_hook_form3.useForm)({ defaultValues: { email: "", password: "" } });
2968
- return /* @__PURE__ */ import_react7.default.createElement(Form, { ...form }, /* @__PURE__ */ import_react7.default.createElement(
2969
- "form",
2970
- {
2971
- onSubmit: form.handleSubmit(
2972
- ({ email, password }) => signIn3 && signIn3({ email, password })
2973
- ),
2974
- className: "space-y-8"
2975
- },
2976
- /* @__PURE__ */ import_react7.default.createElement(Email, null),
2977
- /* @__PURE__ */ import_react7.default.createElement(Password, null),
2978
- /* @__PURE__ */ import_react7.default.createElement(Button, { type: "submit" }, "Sign In")
2979
- ));
2980
- }
2981
-
2982
- // src/SignInForm/SignInForm.tsx
2983
- function SigningIn2(props) {
2984
- return /* @__PURE__ */ import_react8.default.createElement("div", { className: "flex flex-col gap-4" }, /* @__PURE__ */ import_react8.default.createElement("h2", { className: "font-sans text-3xl" }, "Sign In"), /* @__PURE__ */ import_react8.default.createElement(SigningIn, { ...props }));
2985
- }
2986
-
2987
- // src/index.ts
2988
- __reExport(src_exports, require("next-auth/react"), module.exports);
2989
- // Annotate the CommonJS export names for ESM import in node:
2990
- 0 && (module.exports = {
2991
- Email,
2992
- Google,
2993
- Password,
2994
- SignInForm,
2995
- SignUpForm,
2996
- useSignIn,
2997
- useSignUp,
2998
- ...require("next-auth/react")
2999
- });
1
+ "use client"
2
+ "use strict";var no=Object.create;var it=Object.defineProperty;var so=Object.getOwnPropertyDescriptor;var io=Object.getOwnPropertyNames;var lo=Object.getPrototypeOf,ao=Object.prototype.hasOwnProperty;var co=(t,e)=>{for(var o in e)it(t,o,{get:e[o],enumerable:!0})},Dt=(t,e,o,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of io(e))!ao.call(t,n)&&n!==o&&it(t,n,{get:()=>e[n],enumerable:!(r=so(e,n))||r.enumerable});return t};var y=(t,e,o)=>(o=t!=null?no(lo(t)):{},Dt(e||!t||!t.__esModule?it(o,"default",{value:t,enumerable:!0}):o,t)),mo=t=>Dt(it({},"__esModule",{value:!0}),t);var nr={};co(nr,{Azure:()=>Fe,Discord:()=>ze,Email:()=>V,EmailSignIn:()=>ft,EmailSignInButton:()=>At,GitHub:()=>Ve,Google:()=>Ht,HubSpot:()=>Ue,LinkedIn:()=>$e,Password:()=>Q,SignInForm:()=>yt,SignUpForm:()=>ht,Slack:()=>De,X:()=>Je,signIn:()=>wt.signIn,signOut:()=>wt.signOut,useEmailSignIn:()=>Y,useSignIn:()=>ot,useSignUp:()=>et});module.exports=mo(nr);var A=y(require("react")),pt=require("@tanstack/react-query"),ge=require("react-hook-form"),be=require("lucide-react");var m=y(require("react")),ae=require("@radix-ui/react-slot"),L=require("react-hook-form");function qt(t){var e,o,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var n=t.length;for(e=0;e<n;e++)t[e]&&(o=qt(t[e]))&&(r&&(r+=" "),r+=o)}else for(o in t)t[o]&&(r&&(r+=" "),r+=o);return r}function Xt(){for(var t,e,o=0,r="",n=arguments.length;o<n;o++)(t=arguments[o])&&(e=qt(t))&&(r&&(r+=" "),r+=e);return r}var Mt="-",uo=t=>{let e=fo(t),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:l=>{let i=l.split(Mt);return i[0]===""&&i.length!==1&&i.shift(),Kt(i,e)||po(l)},getConflictingClassGroupIds:(l,i)=>{let a=o[l]||[];return i&&r[l]?[...a,...r[l]]:a}}},Kt=(t,e)=>{var l;if(t.length===0)return e.classGroupId;let o=t[0],r=e.nextPart.get(o),n=r?Kt(t.slice(1),r):void 0;if(n)return n;if(e.validators.length===0)return;let s=t.join(Mt);return(l=e.validators.find(({validator:i})=>i(s)))==null?void 0:l.classGroupId},Zt=/^\[(.+)\]$/,po=t=>{if(Zt.test(t)){let e=Zt.exec(t)[1],o=e==null?void 0:e.substring(0,e.indexOf(":"));if(o)return"arbitrary.."+o}},fo=t=>{let{theme:e,prefix:o}=t,r={nextPart:new Map,validators:[]};return bo(Object.entries(t.classGroups),o).forEach(([s,l])=>{Ft(l,r,s,e)}),r},Ft=(t,e,o,r)=>{t.forEach(n=>{if(typeof n=="string"){let s=n===""?e:Jt(e,n);s.classGroupId=o;return}if(typeof n=="function"){if(go(n)){Ft(n(r),e,o,r);return}e.validators.push({validator:n,classGroupId:o});return}Object.entries(n).forEach(([s,l])=>{Ft(l,Jt(e,s),o,r)})})},Jt=(t,e)=>{let o=t;return e.split(Mt).forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},go=t=>t.isThemeGetter,bo=(t,e)=>e?t.map(([o,r])=>{let n=r.map(s=>typeof s=="string"?e+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([l,i])=>[e+l,i])):s);return[o,n]}):t,ho=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,o=new Map,r=new Map,n=(s,l)=>{o.set(s,l),e++,e>t&&(e=0,r=o,o=new Map)};return{get(s){let l=o.get(s);if(l!==void 0)return l;if((l=r.get(s))!==void 0)return n(s,l),l},set(s,l){o.has(s)?o.set(s,l):n(s,l)}}},Yt="!",xo=t=>{let{separator:e,experimentalParseClassName:o}=t,r=e.length===1,n=e[0],s=e.length,l=i=>{let a=[],d=0,u=0,v;for(let f=0;f<i.length;f++){let S=i[f];if(d===0){if(S===n&&(r||i.slice(f,f+s)===e)){a.push(i.slice(u,f)),u=f+s;continue}if(S==="/"){v=f;continue}}S==="["?d++:S==="]"&&d--}let b=a.length===0?i:i.substring(u),I=b.startsWith(Yt),C=I?b.substring(1):b,x=v&&v>u?v-u:void 0;return{modifiers:a,hasImportantModifier:I,baseClassName:C,maybePostfixModifierPosition:x}};return o?i=>o({className:i,parseClassName:l}):l},vo=t=>{if(t.length<=1)return t;let e=[],o=[];return t.forEach(r=>{r[0]==="["?(e.push(...o.sort(),r),o=[]):o.push(r)}),e.push(...o.sort()),e},yo=t=>({cache:ho(t.cacheSize),parseClassName:xo(t),...uo(t)}),wo=/\s+/,Co=(t,e)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:n}=e,s=[],l=t.trim().split(wo),i="";for(let a=l.length-1;a>=0;a-=1){let d=l[a],{modifiers:u,hasImportantModifier:v,baseClassName:b,maybePostfixModifierPosition:I}=o(d),C=!!I,x=r(C?b.substring(0,I):b);if(!x){if(!C){i=d+(i.length>0?" "+i:i);continue}if(x=r(b),!x){i=d+(i.length>0?" "+i:i);continue}C=!1}let f=vo(u).join(":"),S=v?f+Yt:f,k=S+x;if(s.includes(k))continue;s.push(k);let X=n(x,C);for(let U=0;U<X.length;++U){let rt=X[U];s.push(S+rt)}i=d+(i.length>0?" "+i:i)}return i};function So(){let t=0,e,o,r="";for(;t<arguments.length;)(e=arguments[t++])&&(o=te(e))&&(r&&(r+=" "),r+=o);return r}var te=t=>{if(typeof t=="string")return t;let e,o="";for(let r=0;r<t.length;r++)t[r]&&(e=te(t[r]))&&(o&&(o+=" "),o+=e);return o};function Io(t,...e){let o,r,n,s=l;function l(a){let d=e.reduce((u,v)=>v(u),t());return o=yo(d),r=o.cache.get,n=o.cache.set,s=i,i(a)}function i(a){let d=r(a);if(d)return d;let u=Co(a,o);return n(a,u),u}return function(){return s(So.apply(null,arguments))}}var g=t=>{let e=o=>o[t]||[];return e.isThemeGetter=!0,e},ee=/^\[(?:([a-z-]+):)?(.+)\]$/i,Po=/^\d+\/\d+$/,ko=new Set(["px","full","screen"]),Fo=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Mo=/\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$/,No=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Bo=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,zo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=t=>W(t)||ko.has(t)||Po.test(t),T=t=>$(t,"length",Uo),W=t=>!!t&&!Number.isNaN(Number(t)),kt=t=>$(t,"number",W),J=t=>!!t&&Number.isInteger(Number(t)),To=t=>t.endsWith("%")&&W(t.slice(0,-1)),c=t=>ee.test(t),E=t=>Fo.test(t),Eo=new Set(["length","size","percentage"]),Lo=t=>$(t,Eo,oe),Vo=t=>$(t,"position",oe),Ao=new Set(["image","url"]),Ho=t=>$(t,Ao,jo),Go=t=>$(t,"",Ro),K=()=>!0,$=(t,e,o)=>{let r=ee.exec(t);return r?r[1]?typeof e=="string"?r[1]===e:e.has(r[1]):o(r[2]):!1},Uo=t=>Mo.test(t)&&!No.test(t),oe=()=>!1,Ro=t=>Bo.test(t),jo=t=>zo.test(t);var Wo=()=>{let t=g("colors"),e=g("spacing"),o=g("blur"),r=g("brightness"),n=g("borderColor"),s=g("borderRadius"),l=g("borderSpacing"),i=g("borderWidth"),a=g("contrast"),d=g("grayscale"),u=g("hueRotate"),v=g("invert"),b=g("gap"),I=g("gradientColorStops"),C=g("gradientColorStopPositions"),x=g("inset"),f=g("margin"),S=g("opacity"),k=g("padding"),X=g("saturate"),U=g("scale"),rt=g("sepia"),Rt=g("skew"),jt=g("space"),Wt=g("translate"),Ct=()=>["auto","contain","none"],St=()=>["auto","hidden","clip","visible","scroll"],It=()=>["auto",c,e],h=()=>[c,e],$t=()=>["",B,T],nt=()=>["auto",W,c],Ot=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],st=()=>["solid","dashed","dotted","double","none"],Qt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Pt=()=>["start","end","center","between","around","evenly","stretch"],Z=()=>["","0",c],_t=()=>["auto","avoid","all","avoid-page","page","left","right","column"],N=()=>[W,c];return{cacheSize:500,separator:":",theme:{colors:[K],spacing:[B,T],blur:["none","",E,c],brightness:N(),borderColor:[t],borderRadius:["none","","full",E,c],borderSpacing:h(),borderWidth:$t(),contrast:N(),grayscale:Z(),hueRotate:N(),invert:Z(),gap:h(),gradientColorStops:[t],gradientColorStopPositions:[To,T],inset:It(),margin:It(),opacity:N(),padding:h(),saturate:N(),scale:N(),sepia:Z(),skew:N(),space:h(),translate:h()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[E]}],"break-after":[{"break-after":_t()}],"break-before":[{"break-before":_t()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Ot(),c]}],overflow:[{overflow:St()}],"overflow-x":[{"overflow-x":St()}],"overflow-y":[{"overflow-y":St()}],overscroll:[{overscroll:Ct()}],"overscroll-x":[{"overscroll-x":Ct()}],"overscroll-y":[{"overscroll-y":Ct()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",J,c]}],basis:[{basis:It()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",c]}],grow:[{grow:Z()}],shrink:[{shrink:Z()}],order:[{order:["first","last","none",J,c]}],"grid-cols":[{"grid-cols":[K]}],"col-start-end":[{col:["auto",{span:["full",J,c]},c]}],"col-start":[{"col-start":nt()}],"col-end":[{"col-end":nt()}],"grid-rows":[{"grid-rows":[K]}],"row-start-end":[{row:["auto",{span:[J,c]},c]}],"row-start":[{"row-start":nt()}],"row-end":[{"row-end":nt()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",c]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",c]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...Pt()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Pt(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Pt(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[k]}],px:[{px:[k]}],py:[{py:[k]}],ps:[{ps:[k]}],pe:[{pe:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],m:[{m:[f]}],mx:[{mx:[f]}],my:[{my:[f]}],ms:[{ms:[f]}],me:[{me:[f]}],mt:[{mt:[f]}],mr:[{mr:[f]}],mb:[{mb:[f]}],ml:[{ml:[f]}],"space-x":[{"space-x":[jt]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[jt]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",c,e]}],"min-w":[{"min-w":[c,e,"min","max","fit"]}],"max-w":[{"max-w":[c,e,"none","full","min","max","fit","prose",{screen:[E]},E]}],h:[{h:[c,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[c,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[c,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,e,"auto","min","max","fit"]}],"font-size":[{text:["base",E,T]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",kt]}],"font-family":[{font:[K]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",c]}],"line-clamp":[{"line-clamp":["none",W,kt]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",B,c]}],"list-image":[{"list-image":["none",c]}],"list-style-type":[{list:["none","disc","decimal",c]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[S]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[S]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...st(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,T]}],"underline-offset":[{"underline-offset":["auto",B,c]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:h()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[S]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ot(),Vo]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Lo]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ho]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[C]}],"gradient-via-pos":[{via:[C]}],"gradient-to-pos":[{to:[C]}],"gradient-from":[{from:[I]}],"gradient-via":[{via:[I]}],"gradient-to":[{to:[I]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[S]}],"border-style":[{border:[...st(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[S]}],"divide-style":[{divide:st()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...st()]}],"outline-offset":[{"outline-offset":[B,c]}],"outline-w":[{outline:[B,T]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:$t()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[S]}],"ring-offset-w":[{"ring-offset":[B,T]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",E,Go]}],"shadow-color":[{shadow:[K]}],opacity:[{opacity:[S]}],"mix-blend":[{"mix-blend":[...Qt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Qt()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[r]}],contrast:[{contrast:[a]}],"drop-shadow":[{"drop-shadow":["","none",E,c]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[v]}],saturate:[{saturate:[X]}],sepia:[{sepia:[rt]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[a]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[S]}],"backdrop-saturate":[{"backdrop-saturate":[X]}],"backdrop-sepia":[{"backdrop-sepia":[rt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",c]}],duration:[{duration:N()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:N()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[U]}],"scale-x":[{"scale-x":[U]}],"scale-y":[{"scale-y":[U]}],rotate:[{rotate:[J,c]}],"translate-x":[{"translate-x":[Wt]}],"translate-y":[{"translate-y":[Wt]}],"skew-x":[{"skew-x":[Rt]}],"skew-y":[{"skew-y":[Rt]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",c]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",c]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":h()}],"scroll-mx":[{"scroll-mx":h()}],"scroll-my":[{"scroll-my":h()}],"scroll-ms":[{"scroll-ms":h()}],"scroll-me":[{"scroll-me":h()}],"scroll-mt":[{"scroll-mt":h()}],"scroll-mr":[{"scroll-mr":h()}],"scroll-mb":[{"scroll-mb":h()}],"scroll-ml":[{"scroll-ml":h()}],"scroll-p":[{"scroll-p":h()}],"scroll-px":[{"scroll-px":h()}],"scroll-py":[{"scroll-py":h()}],"scroll-ps":[{"scroll-ps":h()}],"scroll-pe":[{"scroll-pe":h()}],"scroll-pt":[{"scroll-pt":h()}],"scroll-pr":[{"scroll-pr":h()}],"scroll-pb":[{"scroll-pb":h()}],"scroll-pl":[{"scroll-pl":h()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",c]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[B,T,kt]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var re=Io(Wo);function p(...t){return re(Xt(t))}var at=y(require("react")),Nt=y(require("@radix-ui/react-label"));function ne(t){var e,o,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(o=ne(t[e]))&&(r&&(r+=" "),r+=o);else for(e in t)t[e]&&(r&&(r+=" "),r+=e);return r}function se(){for(var t,e,o=0,r="";o<arguments.length;)(t=arguments[o++])&&(e=ne(t))&&(r&&(r+=" "),r+=e);return r}var ie=t=>typeof t=="boolean"?"".concat(t):t===0?"0":t,le=se,lt=(t,e)=>o=>{var r;if((e==null?void 0:e.variants)==null)return le(t,o==null?void 0:o.class,o==null?void 0:o.className);let{variants:n,defaultVariants:s}=e,l=Object.keys(n).map(d=>{let u=o==null?void 0:o[d],v=s==null?void 0:s[d];if(u===null)return null;let b=ie(u)||ie(v);return n[d][b]}),i=o&&Object.entries(o).reduce((d,u)=>{let[v,b]=u;return b===void 0||(d[v]=b),d},{}),a=e==null||(r=e.compoundVariants)===null||r===void 0?void 0:r.reduce((d,u)=>{let{class:v,className:b,...I}=u;return Object.entries(I).every(C=>{let[x,f]=C;return Array.isArray(f)?f.includes({...s,...i}[x]):{...s,...i}[x]===f})?[...d,v,b]:d},[]);return le(t,l,a,o==null?void 0:o.class,o==null?void 0:o.className)};var $o=lt("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Bt=at.forwardRef(({className:t,...e},o)=>at.createElement(Nt.Root,{ref:o,className:p($o(),t),...e}));Bt.displayName=Nt.Root.displayName;var ct=y(require("react"));var dt=ct.forwardRef(({className:t,type:e,...o},r)=>ct.createElement("input",{type:e,className:p("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:r,...o}));dt.displayName="Input";var O=L.FormProvider,ce=m.createContext({}),de=({...t})=>m.createElement(ce.Provider,{value:{name:t.name}},m.createElement(L.Controller,{...t})),mt=()=>{let t=m.useContext(ce),e=m.useContext(me),{getFieldState:o,formState:r}=(0,L.useFormContext)(),n=o(t.name,r);if(!t)throw new Error("useFormField should be used within <FormField>");let{id:s}=e;return{id:s,name:t.name,formItemId:`${s}-form-item`,formDescriptionId:`${s}-form-item-description`,formMessageId:`${s}-form-item-message`,...n}},me=m.createContext({}),zt=m.forwardRef(({className:t,...e},o)=>{let r=m.useId();return m.createElement(me.Provider,{value:{id:r}},m.createElement("div",{ref:o,className:p("space-y-2",t),...e}))});zt.displayName="FormItem";var Tt=m.forwardRef(({className:t,...e},o)=>{let{error:r,formItemId:n}=mt();return m.createElement(Bt,{ref:o,className:p(r&&"text-destructive",t),htmlFor:n,...e})});Tt.displayName="FormLabel";var Et=m.forwardRef(({...t},e)=>{let{error:o,formItemId:r,formDescriptionId:n,formMessageId:s}=mt();return m.createElement(ae.Slot,{ref:e,id:r,"aria-describedby":o?`${n} ${s}`:`${n}`,"aria-invalid":!!o,...t})});Et.displayName="FormControl";var Lt=m.forwardRef(({className:t,...e},o)=>{let{formDescriptionId:r}=mt();return m.createElement("p",{ref:o,id:r,className:p("text-sm text-muted-foreground",t),...e})});Lt.displayName="FormDescription";var Vt=m.forwardRef(({className:t,children:e,...o},r)=>{let{error:n,formMessageId:s}=mt(),l=n?String(n==null?void 0:n.message):e;return l?m.createElement("p",{ref:r,id:s,className:p("text-sm font-medium text-destructive",t),...o},l):null});Vt.displayName="FormMessage";var V=()=>{let t=(0,L.useFormContext)();return m.createElement(de,{control:t.control,name:"email",render:({field:e})=>m.createElement(zt,null,m.createElement(Tt,null,"Email"),m.createElement(Et,null,m.createElement(dt,{placeholder:"Email",...e,autoComplete:"current-email"})),m.createElement(Lt,null,"Your email address"),m.createElement(Vt,null))})},Q=()=>{let t=(0,L.useFormContext)();return m.createElement(de,{control:t.control,name:"password",render:({field:e})=>m.createElement(zt,null,m.createElement(Tt,null,"Password"),m.createElement(Et,null,m.createElement(dt,{placeholder:"Password",...e,type:"password",autoComplete:"current-password"})),m.createElement(Lt,null,"The desired password"),m.createElement(Vt,null))})};var ut=y(require("react")),ue=require("@radix-ui/react-slot");var w=lt("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),R=ut.forwardRef(({className:t,variant:e,size:o,asChild:r=!1,...n},s)=>ut.createElement(r?ue.Slot:"button",{className:p(w({variant:e,size:o,className:t})),ref:s,...n}));R.displayName="Button";var pe=require("next-auth/react"),fe=require("@tanstack/react-query");function Y(t){let{onSuccess:e,onError:o,beforeMutate:r,callbackUrl:n,redirect:s=!1}=t!=null?t:{};return(0,fe.useMutation)({mutationFn:async i=>{let a={...i,callbackUrl:n,redirect:s},d=r&&r(a),u=d!=null?d:a;return await(0,pe.signIn)("email",u)},onSuccess:e,onError:o}).mutate}var Oo=new pt.QueryClient;function ft(t){let{client:e,...o}=t!=null?t:{};return A.default.createElement(pt.QueryClientProvider,{client:e!=null?e:Oo},A.default.createElement(Qo,{...o}))}function Qo(t){let e=Y(t),o=(0,ge.useForm)({defaultValues:{email:""}});return A.default.createElement(O,{...o},A.default.createElement("form",{onSubmit:o.handleSubmit(({email:r})=>e&&e({email:r})),className:"space-y-8"},A.default.createElement(V,null),A.default.createElement(R,{type:"submit",className:"flex flex-row gap-2"},A.default.createElement(be.Mail,null),"Sign in with email")))}var he=require("@radix-ui/react-slot"),xe=require("next-auth/react"),tt=y(require("react")),ve=require("lucide-react");var ye=tt.default.forwardRef(({callbackUrl:t,className:e,variant:o,size:r,asChild:n=!1,redirect:s=!1,email:l,onFailure:i,onSent:a,...d},u)=>tt.default.createElement(n?he.Slot:"button",{className:p(w({variant:o,size:r,className:e})),ref:u,onClick:async()=>{let b=await(0,xe.signIn)("email",{email:l,callbackUrl:t,redirect:s});b&&"error"in b?i&&i(b):a&&a()},...d},d.children?d.children:tt.default.createElement("div",{className:"flex flex-row gap-2 items-center"},tt.default.createElement(ve.Mail,null),"Continue with Email")));ye.displayName="EmailSignInButton";var At=ye;var P=y(require("react")),we=require("next-auth/react"),Ce=require("@radix-ui/react-slot");var Se=P.default.forwardRef(({callbackUrl:t,className:e,variant:o,size:r,buttonText:n="Continue with Google",asChild:s=!1,...l},i)=>P.default.createElement(s?Ce.Slot:"button",{className:p(w({variant:o,size:r,className:e}),"bg-[#4285f4] hover:bg-[#4285f4] hover:bg-opacity-85 pl-[3px]"),ref:i,onClick:()=>{(0,we.signIn)("google",{callbackUrl:t})},...l},P.default.createElement("div",{className:"inline-flex items-center flex-1 justify-between font-roboto rounded-[4px] gap-4 google-logo"},P.default.createElement("div",{style:{background:"white",borderRadius:"4px",padding:"0.5rem"}},P.default.createElement(_o,null)),n)));Se.displayName="GoogleSSOButton";var Ht=Se;function _o(){return P.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18"},P.default.createElement("g",{fill:"#000",fillRule:"evenodd"},P.default.createElement("path",{d:"M9 3.48c1.69 0 2.83.73 3.48 1.34l2.54-2.48C13.46.89 11.43 0 9 0 5.48 0 2.44 2.02.96 4.96l2.91 2.26C4.6 5.05 6.62 3.48 9 3.48z",fill:"#EA4335"}),P.default.createElement("path",{d:"M17.64 9.2c0-.74-.06-1.28-.19-1.84H9v3.34h4.96c-.1.83-.64 2.08-1.84 2.92l2.84 2.2c1.7-1.57 2.68-3.88 2.68-6.62z",fill:"#4285F4"}),P.default.createElement("path",{d:"M3.88 10.78A5.54 5.54 0 0 1 3.58 9c0-.62.11-1.22.29-1.78L.96 4.96A9.008 9.008 0 0 0 0 9c0 1.45.35 2.82.96 4.04l2.92-2.26z",fill:"#FBBC05"}),P.default.createElement("path",{d:"M9 18c2.43 0 4.47-.8 5.96-2.18l-2.84-2.2c-.76.53-1.78.9-3.12.9-2.38 0-4.4-1.57-5.12-3.74L.97 13.04C2.45 15.98 5.48 18 9 18z",fill:"#34A853"}),P.default.createElement("path",{fill:"none",d:"M0 0h18v18H0z"})))}var Ie=require("next-auth/react"),F=y(require("react")),Pe=require("@radix-ui/react-slot");var ke=F.default.forwardRef(({callbackUrl:t,className:e,buttonText:o="Continue with Microsoft",variant:r,size:n,asChild:s=!1,...l},i)=>F.default.createElement(s?Pe.Slot:"button",{className:p(w({variant:r,size:n,className:e}),"bg-[#0078d4] hover:bg-[#0078d4] hover:bg-opacity-85 pl-[3px] text-white gap-4 transition-colors shadow-md"),ref:i,onClick:()=>{(0,Ie.signIn)("azure-ad",{callbackUrl:t})},...l},F.default.createElement(Do,null),o));ke.displayName="AzureSignInButton";var Fe=ke,Do=()=>F.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 23 23",className:"w-5 h-5 ml-3"},F.default.createElement("path",{fill:"#f3f3f3",d:"M0 0h23v23H0z"}),F.default.createElement("path",{fill:"#f35325",d:"M1 1h10v10H1z"}),F.default.createElement("path",{fill:"#81bc06",d:"M12 1h10v10H12z"}),F.default.createElement("path",{fill:"#05a6f0",d:"M1 12h10v10H1z"}),F.default.createElement("path",{fill:"#ffba08",d:"M12 12h10v10H12z"}));var Me=require("next-auth/react"),z=y(require("react")),Ne=require("@radix-ui/react-slot");var Be=z.default.forwardRef(({callbackUrl:t,className:e,buttonText:o="Continue with Discord",variant:r,size:n,asChild:s=!1,...l},i)=>z.default.createElement(s?Ne.Slot:"button",{className:p(w({variant:r,size:n,className:e}),"bg-[#5865F2] hover:bg-[#5865F2] hover:bg-opacity-85 pl-[3px] gap-4 transition-colors border shadow-md text-white"),ref:i,onClick:()=>{(0,Me.signIn)("discord",{callbackUrl:t})},...l},z.default.createElement(qo,null),o));Be.displayName="DiscordSignInButton";var ze=Be,qo=()=>z.default.createElement("svg",{className:"w-5 h-5 ml-3",viewBox:"0 0 75 59",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},z.default.createElement("title",null,"discord-icon"),z.default.createElement("g",{id:"Page-1",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},z.default.createElement("g",{id:"discord-icon",transform:"translate(2.000000, 2.411745)",fillRule:"nonzero",stroke:"#636262",strokeWidth:"0"},z.default.createElement("path",{d:"M60.1044999,4.48605546 C55.5791999,2.40965546 50.7264999,0.879855461 45.6526999,0.00367546142 C45.5602999,-0.0132345386 45.4679999,0.0290244614 45.4203999,0.113544461 C44.7962999,1.22355546 44.1049999,2.67165546 43.6208999,3.80985546 C38.1636999,2.99285546 32.7344999,2.99285546 27.3891999,3.80985546 C26.9049999,2.64635546 26.1885999,1.22355546 25.5616999,0.113544461 C25.5140999,0.0318444614 25.4217999,-0.0104145386 25.3293999,0.00367546142 C20.2583999,0.877055461 15.4056999,2.40685546 10.8775999,4.48605546 C10.8383999,4.50295546 10.8047999,4.53115546 10.7824999,4.56775546 C1.57794989,18.3191555 -0.94356111,31.7325555 0.29340789,44.9796555 C0.29900489,45.0444555 0.33538589,45.1064555 0.38576089,45.1458555 C6.45865989,49.6056555 12.3412999,52.3131555 18.1146999,54.1077555 C18.2070999,54.1359555 18.3049999,54.1021555 18.3637999,54.0260555 C19.7294999,52.1610555 20.9468999,50.1945555 21.9906999,48.1265555 C22.0522999,48.0054555 21.9934999,47.8617555 21.8675999,47.8138555 C19.9365999,47.0813555 18.0978999,46.1882555 16.3291999,45.1740555 C16.1892999,45.0923555 16.1780999,44.8922555 16.3067999,44.7964555 C16.6789999,44.5175555 17.0512999,44.2273555 17.4066999,43.9343555 C17.4709999,43.8808555 17.5605999,43.8695555 17.6361999,43.9033555 C29.2557999,49.2084555 41.8353999,49.2084555 53.3178999,43.9033555 C53.3934999,43.8667555 53.4830999,43.8780555 53.5501999,43.9315555 C53.9056999,44.2245555 54.2778999,44.5175555 54.6528999,44.7964555 C54.7815999,44.8922555 54.7731999,45.0923555 54.6332999,45.1740555 C52.8645999,46.2079555 51.0258999,47.0813555 49.0920999,47.8110555 C48.9661999,47.8589555 48.9101999,48.0054555 48.9717999,48.1265555 C50.0379999,50.1916555 51.2553999,52.1581555 52.5958999,54.0232555 C52.6518999,54.1021555 52.7525999,54.1359555 52.8449999,54.1077555 C58.6463999,52.3131555 64.5289999,49.6056555 70.6018999,45.1458555 C70.6550999,45.1064555 70.6886999,45.0472555 70.6942999,44.9824555 C72.1746999,29.6673555 68.2146999,16.3639555 60.1967999,4.57055546 C60.1771999,4.53115546 60.1436999,4.50295546 60.1044999,4.48605546 Z M23.7258999,36.9135555 C20.2275999,36.9135555 17.3450999,33.7018555 17.3450999,29.7575555 C17.3450999,25.8132555 20.1716999,22.6015555 23.7258999,22.6015555 C27.3079999,22.6015555 30.1625999,25.8414555 30.1065999,29.7575555 C30.1065999,33.7018555 27.2799999,36.9135555 23.7258999,36.9135555 Z M47.3177999,36.9135555 C43.8195999,36.9135555 40.9370999,33.7018555 40.9370999,29.7575555 C40.9370999,25.8132555 43.7635999,22.6015555 47.3177999,22.6015555 C50.8999999,22.6015555 53.7544999,25.8414555 53.6985999,29.7575555 C53.6985999,33.7018555 50.8999999,36.9135555 47.3177999,36.9135555 Z",id:"Shape",fill:"white"}))));var Te=require("next-auth/react"),_=y(require("react")),Ee=require("@radix-ui/react-slot");var Le=_.default.forwardRef(({callbackUrl:t,className:e,buttonText:o="Continue with GitHub",variant:r,size:n,asChild:s=!1,...l},i)=>_.default.createElement(s?Ee.Slot:"button",{className:p(w({variant:r,size:n,className:e}),"bg-black hover:bg-slate-800 pl-[3px] text-white gap-4 transition-colors shadow-md"),ref:i,onClick:()=>{(0,Te.signIn)("github",{callbackUrl:t})},...l},_.default.createElement(Xo,null),o));Le.displayName="GitHubSignInButton";var Ve=Le,Xo=()=>_.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32.58 31.77",fill:"currentColor",className:"w-5 h-5 ml-3"},_.default.createElement("path",{fill:"#FFFFFF",d:"M16.29,0a16.29,16.29,0,0,0-5.15,31.75c.82.15,1.11-.36,1.11-.79s0-1.41,0-2.77C7.7,29.18,6.74,26,6.74,26a4.36,4.36,0,0,0-1.81-2.39c-1.47-1,.12-1,.12-1a3.43,3.43,0,0,1,2.49,1.68,3.48,3.48,0,0,0,4.74,1.36,3.46,3.46,0,0,1,1-2.18c-3.62-.41-7.42-1.81-7.42-8a6.3,6.3,0,0,1,1.67-4.37,5.94,5.94,0,0,1,.16-4.31s1.37-.44,4.48,1.67a15.41,15.41,0,0,1,8.16,0c3.11-2.11,4.47-1.67,4.47-1.67A5.91,5.91,0,0,1,25,11.07a6.3,6.3,0,0,1,1.67,4.37c0,6.26-3.81,7.63-7.44,8a3.85,3.85,0,0,1,1.11,3c0,2.18,0,3.94,0,4.47s.29.94,1.12.78A16.29,16.29,0,0,0,16.29,0Z"}));var Ae=require("next-auth/react"),D=y(require("react")),He=require("@radix-ui/react-slot");var Ge=D.default.forwardRef(({callbackUrl:t,className:e,buttonText:o="Continue with HubSpot",variant:r,size:n,asChild:s=!1,...l},i)=>D.default.createElement(s?He.Slot:"button",{className:p(w({variant:r,size:n,className:e}),"bg-[#ff7a59] hover:bg-[#ff7a59] hover:bg-opacity-85 pl-[3px] text-white gap-4 transition-colors shadow-md"),ref:i,onClick:()=>{(0,Ae.signIn)("hubspot",{callbackUrl:t})},...l},D.default.createElement(Zo,null),o));Ge.displayName="HubSpotSignInButton";var Ue=Ge,Zo=()=>D.default.createElement("svg",{className:"w-5 h-5 ml-3",viewBox:"6.20856283 .64498824 244.26943717 251.24701176",xmlns:"http://www.w3.org/2000/svg"},D.default.createElement("path",{d:"m191.385 85.694v-29.506a22.722 22.722 0 0 0 13.101-20.48v-.677c0-12.549-10.173-22.722-22.721-22.722h-.678c-12.549 0-22.722 10.173-22.722 22.722v.677a22.722 22.722 0 0 0 13.101 20.48v29.506a64.342 64.342 0 0 0 -30.594 13.47l-80.922-63.03c.577-2.083.878-4.225.912-6.375a25.6 25.6 0 1 0 -25.633 25.55 25.323 25.323 0 0 0 12.607-3.43l79.685 62.007c-14.65 22.131-14.258 50.974.987 72.7l-24.236 24.243c-1.96-.626-4-.959-6.057-.987-11.607.01-21.01 9.423-21.007 21.03.003 11.606 9.412 21.014 21.018 21.017 11.607.003 21.02-9.4 21.03-21.007a20.747 20.747 0 0 0 -.988-6.056l23.976-23.985c21.423 16.492 50.846 17.913 73.759 3.562 22.912-14.352 34.475-41.446 28.985-67.918-5.49-26.473-26.873-46.734-53.603-50.792m-9.938 97.044a33.17 33.17 0 1 1 0-66.316c17.85.625 32 15.272 32.01 33.134.008 17.86-14.127 32.522-31.977 33.165",fill:"white"}));var Re=require("next-auth/react"),j=y(require("react")),je=require("@radix-ui/react-slot");var We=j.default.forwardRef(({callbackUrl:t,className:e,buttonText:o="Continue with LinkedIn",variant:r,size:n,asChild:s=!1,...l},i)=>j.default.createElement(s?je.Slot:"button",{className:p(w({variant:r,size:n,className:e}),"bg-[#0288D1] hover:bg-[#0288D1] pl-[3px] hover:bg-opacity-85 gap-4 transition-colors shadow-md text-white"),ref:i,onClick:()=>{(0,Re.signIn)("linkedin",{callbackUrl:t})},...l},j.default.createElement(Jo,null),o));We.displayName="LinkedInSignInButton";var $e=We,Jo=()=>j.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",className:"w-6 h-6 ml-3"},j.default.createElement("path",{fill:"#fff",d:"M42,37c0,2.762-2.238,5-5,5H11c-2.761,0-5-2.238-5-5V11c0-2.762,2.239-5,5-5h26c2.762,0,5,2.238,5,5V37z"}),j.default.createElement("path",{fill:"#0288D1",d:"M12 19H17V36H12zM14.485 17h-.028C12.965 17 12 15.888 12 14.499 12 13.08 12.995 12 14.514 12c1.521 0 2.458 1.08 2.486 2.499C17 15.887 16.035 17 14.485 17zM36 36h-5v-9.099c0-2.198-1.225-3.698-3.192-3.698-1.501 0-2.313 1.012-2.707 1.99C24.957 25.543 25 26.511 25 27v9h-5V19h5v2.616C25.721 20.5 26.85 19 29.738 19c3.578 0 6.261 2.25 6.261 7.274L36 36 36 36z"}));var Oe=require("next-auth/react"),M=y(require("react")),Qe=require("@radix-ui/react-slot");var _e=M.default.forwardRef(({callbackUrl:t,className:e,buttonText:o="Continue with Slack",variant:r,size:n,asChild:s=!1,...l},i)=>M.default.createElement(s?Qe.Slot:"button",{className:p(w({variant:r,size:n,className:e}),"bg-[#4A154B] hover:bg-[#4A154B] pl-[3px] hover:bg-opacity-85 gap-4 transition-colors shadow-md text-white"),ref:i,onClick:()=>{(0,Oe.signIn)("slack",{callbackUrl:t})},...l},M.default.createElement(Ko,null),o));_e.displayName="SlackSignInButton";var De=_e,Ko=()=>M.default.createElement("svg",{enableBackground:"new 0 0 2447.6 2452.5",viewBox:"0 0 2447.6 2452.5",className:"w-5 h-5 ml-3",xmlns:"http://www.w3.org/2000/svg"},M.default.createElement("g",{clipRule:"evenodd",fillRule:"evenodd"},M.default.createElement("path",{d:"m897.4 0c-135.3.1-244.8 109.9-244.7 245.2-.1 135.3 109.5 245.1 244.8 245.2h244.8v-245.1c.1-135.3-109.5-245.1-244.9-245.3.1 0 .1 0 0 0m0 654h-652.6c-135.3.1-244.9 109.9-244.8 245.2-.2 135.3 109.4 245.1 244.7 245.3h652.7c135.3-.1 244.9-109.9 244.8-245.2.1-135.4-109.5-245.2-244.8-245.3z",fill:"#36c5f0"}),M.default.createElement("path",{d:"m2447.6 899.2c.1-135.3-109.5-245.1-244.8-245.2-135.3.1-244.9 109.9-244.8 245.2v245.3h244.8c135.3-.1 244.9-109.9 244.8-245.3zm-652.7 0v-654c.1-135.2-109.4-245-244.7-245.2-135.3.1-244.9 109.9-244.8 245.2v654c-.2 135.3 109.4 245.1 244.7 245.3 135.3-.1 244.9-109.9 244.8-245.3z",fill:"#2eb67d"}),M.default.createElement("path",{d:"m1550.1 2452.5c135.3-.1 244.9-109.9 244.8-245.2.1-135.3-109.5-245.1-244.8-245.2h-244.8v245.2c-.1 135.2 109.5 245 244.8 245.2zm0-654.1h652.7c135.3-.1 244.9-109.9 244.8-245.2.2-135.3-109.4-245.1-244.7-245.3h-652.7c-135.3.1-244.9 109.9-244.8 245.2-.1 135.4 109.4 245.2 244.7 245.3z",fill:"#ecb22e"}),M.default.createElement("path",{d:"m0 1553.2c-.1 135.3 109.5 245.1 244.8 245.2 135.3-.1 244.9-109.9 244.8-245.2v-245.2h-244.8c-135.3.1-244.9 109.9-244.8 245.2zm652.7 0v654c-.2 135.3 109.4 245.1 244.7 245.3 135.3-.1 244.9-109.9 244.8-245.2v-653.9c.2-135.3-109.4-245.1-244.7-245.3-135.4 0-244.9 109.8-244.8 245.1 0 0 0 .1 0 0",fill:"#e01e5a"})));var qe=require("next-auth/react"),q=y(require("react")),Xe=require("@radix-ui/react-slot");var Ze=q.default.forwardRef(({callbackUrl:t,className:e,buttonText:o="Continue with X",variant:r,size:n,asChild:s=!1,...l},i)=>q.default.createElement(s?Xe.Slot:"button",{className:p(w({variant:r,size:n,className:e}),"bg-black hover:bg-slate-800 pl-[3px] text-white gap-4 transition-colors shadow-md"),ref:i,onClick:()=>{(0,qe.signIn)("twitter",{callbackUrl:t})},...l},q.default.createElement(Yo,null),o));Ze.displayName="XSignInButton";var Je=Ze,Yo=()=>q.default.createElement("svg",{className:"w-5 h-5 ml-3",viewBox:"0 0 24 24",version:"1.1"},q.default.createElement("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z",fill:"#ffffff"}));var bt=y(require("react"));var H=y(require("react")),gt=require("@tanstack/react-query"),to=require("react-hook-form");var Ke=require("@tanstack/react-query"),Ye=require("react");function et(t,e){let{onSuccess:o,onError:r,beforeMutate:n,callbackUrl:s}=t,l=(0,Ke.useMutation)({mutationFn:async i=>{var x;let a=n&&n(i),d={...i,...a},{tenantId:u,newTenantName:v,...b}=d,I=(x=d.fetchURL)!=null?x:`${window.location.origin}/api/signup`,C=new URLSearchParams;return v&&C.set("newTenantName",v),u&&C.set("tenantId",u),C.size>0&&(I+=`?${C}`),await fetch(I,{body:JSON.stringify(b),method:"POST"})},onSuccess:(i,a)=>{s&&(window.location.href=s),o&&o(i,a)},onError:r},e);return(0,Ye.useEffect)(()=>{fetch("/api/auth/providers"),fetch("/api/auth/csrf")},[]),l.mutate}var tr=new gt.QueryClient;function Gt(t){let{client:e}=t!=null?t:{};return H.default.createElement(gt.QueryClientProvider,{client:e!=null?e:tr},H.default.createElement(er,{...t}))}function er(t){let e=et(t),o=(0,to.useForm)({defaultValues:{email:"",password:""}});return H.default.createElement(O,{...o},H.default.createElement("form",{onSubmit:o.handleSubmit(({email:r,password:n})=>e({email:r,password:n})),className:"space-y-8"},H.default.createElement(V,null),H.default.createElement(Q,null),H.default.createElement(R,null,"Sign up")))}function ht(t){return bt.default.createElement("div",{className:"flex flex-col gap-4"},bt.default.createElement("div",{className:"font-sans text-3xl"},"Sign up"),bt.default.createElement(Gt,{...t}))}var vt=y(require("react"));var G=y(require("react")),xt=require("@tanstack/react-query"),ro=require("react-hook-form");var eo=require("@tanstack/react-query"),oo=require("next-auth/react");function ot(t){let{onSuccess:e,onError:o,beforeMutate:r,callbackUrl:n}=t!=null?t:{};return(0,eo.useMutation)({mutationFn:async l=>{let i={...l,callbackUrl:n},a=r&&r(i),d=a!=null?a:i;return await(0,oo.signIn)("credentials",d)},onSuccess:e,onError:o}).mutate}var or=new xt.QueryClient;function Ut(t){let{client:e,...o}=t!=null?t:{};return G.default.createElement(xt.QueryClientProvider,{client:e!=null?e:or},G.default.createElement(rr,{...o}))}function rr(t){let e=ot(t),o=(0,ro.useForm)({defaultValues:{email:"",password:""}});return G.default.createElement(O,{...o},G.default.createElement("form",{onSubmit:o.handleSubmit(({email:r,password:n})=>e&&e({email:r,password:n})),className:"space-y-8"},G.default.createElement(V,null),G.default.createElement(Q,null),G.default.createElement(R,{type:"submit"},"Sign In")))}function yt(t){return vt.default.createElement("div",{className:"flex flex-col gap-4"},vt.default.createElement("h2",{className:"font-sans text-3xl"},"Sign In"),vt.default.createElement(Ut,{...t}))}var wt=require("next-auth/react");0&&(module.exports={Azure,Discord,Email,EmailSignIn,EmailSignInButton,GitHub,Google,HubSpot,LinkedIn,Password,SignInForm,SignUpForm,Slack,X,signIn,signOut,useEmailSignIn,useSignIn,useSignUp});
3
+ //# sourceMappingURL=index.js.map