@bonprix-ds/internal-components 0.1.0 → 0.1.2

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,4055 +1,13 @@
1
1
  "use client";
2
- import { useGlobalConfig as e } from "@bonprix-ds/utils";
3
- import * as t from "react";
4
- import { useId as n, useState as r } from "react";
5
- import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
6
- import * as s from "react-dom";
7
- //#region ../react/icon/dist/index.js
8
- var c = "-", l = (e) => {
9
- let t = p(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
10
- return {
11
- getClassGroupId: (e) => {
12
- let n = e.split(c);
13
- return n[0] === "" && n.length !== 1 && n.shift(), u(n, t) || f(e);
14
- },
15
- getConflictingClassGroupIds: (e, t) => {
16
- let i = n[e] || [];
17
- return t && r[e] ? [...i, ...r[e]] : i;
18
- }
19
- };
20
- }, u = (e, t) => {
21
- if (e.length === 0) return t.classGroupId;
22
- let n = e[0], r = t.nextPart.get(n), i = r ? u(e.slice(1), r) : void 0;
23
- if (i) return i;
24
- if (t.validators.length === 0) return;
25
- let a = e.join(c);
26
- return t.validators.find(({ validator: e }) => e(a))?.classGroupId;
27
- }, d = /^\[(.+)\]$/, f = (e) => {
28
- if (d.test(e)) {
29
- let t = d.exec(e)[1], n = t?.substring(0, t.indexOf(":"));
30
- if (n) return "arbitrary.." + n;
31
- }
32
- }, p = (e) => {
33
- let { theme: t, prefix: n } = e, r = {
34
- nextPart: /* @__PURE__ */ new Map(),
35
- validators: []
36
- };
37
- return _(Object.entries(e.classGroups), n).forEach(([e, n]) => {
38
- m(n, r, e, t);
39
- }), r;
40
- }, m = (e, t, n, r) => {
41
- e.forEach((e) => {
42
- if (typeof e == "string") {
43
- let r = e === "" ? t : h(t, e);
44
- r.classGroupId = n;
45
- return;
46
- }
47
- if (typeof e == "function") {
48
- if (g(e)) {
49
- m(e(r), t, n, r);
50
- return;
51
- }
52
- t.validators.push({
53
- validator: e,
54
- classGroupId: n
55
- });
56
- return;
57
- }
58
- Object.entries(e).forEach(([e, i]) => {
59
- m(i, h(t, e), n, r);
60
- });
61
- });
62
- }, h = (e, t) => {
63
- let n = e;
64
- return t.split(c).forEach((e) => {
65
- n.nextPart.has(e) || n.nextPart.set(e, {
66
- nextPart: /* @__PURE__ */ new Map(),
67
- validators: []
68
- }), n = n.nextPart.get(e);
69
- }), n;
70
- }, g = (e) => e.isThemeGetter, _ = (e, t) => t ? e.map(([e, n]) => [e, n.map((e) => typeof e == "string" ? t + e : typeof e == "object" ? Object.fromEntries(Object.entries(e).map(([e, n]) => [t + e, n])) : e)]) : e, v = (e) => {
71
- if (e < 1) return {
72
- get: () => void 0,
73
- set: () => {}
74
- };
75
- let t = 0, n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = (i, a) => {
76
- n.set(i, a), t++, t > e && (t = 0, r = n, n = /* @__PURE__ */ new Map());
77
- };
78
- return {
79
- get(e) {
80
- let t = n.get(e);
81
- if (t !== void 0) return t;
82
- if ((t = r.get(e)) !== void 0) return i(e, t), t;
83
- },
84
- set(e, t) {
85
- n.has(e) ? n.set(e, t) : i(e, t);
86
- }
87
- };
88
- }, y = "!", b = (e) => {
89
- let { separator: t, experimentalParseClassName: n } = e, r = t.length === 1, i = t[0], a = t.length, o = (e) => {
90
- let n = [], o = 0, s = 0, c;
91
- for (let l = 0; l < e.length; l++) {
92
- let u = e[l];
93
- if (o === 0) {
94
- if (u === i && (r || e.slice(l, l + a) === t)) {
95
- n.push(e.slice(s, l)), s = l + a;
96
- continue;
97
- }
98
- if (u === "/") {
99
- c = l;
100
- continue;
101
- }
102
- }
103
- u === "[" ? o++ : u === "]" && o--;
104
- }
105
- let l = n.length === 0 ? e : e.substring(s), u = l.startsWith(y);
106
- return {
107
- modifiers: n,
108
- hasImportantModifier: u,
109
- baseClassName: u ? l.substring(1) : l,
110
- maybePostfixModifierPosition: c && c > s ? c - s : void 0
111
- };
112
- };
113
- return n ? (e) => n({
114
- className: e,
115
- parseClassName: o
116
- }) : o;
117
- }, x = (e) => {
118
- if (e.length <= 1) return e;
119
- let t = [], n = [];
120
- return e.forEach((e) => {
121
- e[0] === "[" ? (t.push(...n.sort(), e), n = []) : n.push(e);
122
- }), t.push(...n.sort()), t;
123
- }, S = (e) => ({
124
- cache: v(e.cacheSize),
125
- parseClassName: b(e),
126
- ...l(e)
127
- }), C = /\s+/, w = (e, t) => {
128
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i } = t, a = [], o = e.trim().split(C), s = "";
129
- for (let e = o.length - 1; e >= 0; --e) {
130
- let t = o[e], { modifiers: c, hasImportantModifier: l, baseClassName: u, maybePostfixModifierPosition: d } = n(t), f = !!d, p = r(f ? u.substring(0, d) : u);
131
- if (!p) {
132
- if (!f) {
133
- s = t + (s.length > 0 ? " " + s : s);
134
- continue;
135
- }
136
- if (p = r(u), !p) {
137
- s = t + (s.length > 0 ? " " + s : s);
138
- continue;
139
- }
140
- f = !1;
141
- }
142
- let m = x(c).join(":"), h = l ? m + y : m, g = h + p;
143
- if (a.includes(g)) continue;
144
- a.push(g);
145
- let _ = i(p, f);
146
- for (let e = 0; e < _.length; ++e) {
147
- let t = _[e];
148
- a.push(h + t);
149
- }
150
- s = t + (s.length > 0 ? " " + s : s);
151
- }
152
- return s;
153
- };
154
- function T() {
155
- let e = 0, t, n, r = "";
156
- for (; e < arguments.length;) (t = arguments[e++]) && (n = E(t)) && (r && (r += " "), r += n);
157
- return r;
158
- }
159
- var E = (e) => {
160
- if (typeof e == "string") return e;
161
- let t, n = "";
162
- for (let r = 0; r < e.length; r++) e[r] && (t = E(e[r])) && (n && (n += " "), n += t);
163
- return n;
164
- };
165
- function D(e, ...t) {
166
- let n, r, i, a = o;
167
- function o(o) {
168
- return n = S(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o);
169
- }
170
- function s(e) {
171
- let t = r(e);
172
- if (t) return t;
173
- let a = w(e, n);
174
- return i(e, a), a;
175
- }
176
- return function() {
177
- return a(T.apply(null, arguments));
178
- };
179
- }
180
- var O = (e) => {
181
- let t = (t) => t[e] || [];
182
- return t.isThemeGetter = !0, t;
183
- }, k = /^\[(?:([a-z-]+):)?(.+)\]$/i, A = /^\d+\/\d+$/, j = /*#__PURE__*/ new Set([
184
- "px",
185
- "full",
186
- "screen"
187
- ]), M = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, N = /\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$/, P = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, F = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, I = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, L = (e) => ee(e) || j.has(e) || A.test(e), R = (e) => ue(e, "length", de), ee = (e) => !!e && !Number.isNaN(Number(e)), te = (e) => ue(e, "number", ee), ne = (e) => !!e && Number.isInteger(Number(e)), re = (e) => e.endsWith("%") && ee(e.slice(0, -1)), z = (e) => k.test(e), B = (e) => M.test(e), ie = /*#__PURE__*/ new Set([
188
- "length",
189
- "size",
190
- "percentage"
191
- ]), ae = (e) => ue(e, ie, fe), oe = (e) => ue(e, "position", fe), V = /*#__PURE__*/ new Set(["image", "url"]), se = (e) => ue(e, V, me), ce = (e) => ue(e, "", pe), le = () => !0, ue = (e, t, n) => {
192
- let r = k.exec(e);
193
- return r ? r[1] ? typeof t == "string" ? r[1] === t : t.has(r[1]) : n(r[2]) : !1;
194
- }, de = (e) => N.test(e) && !P.test(e), fe = () => !1, pe = (e) => F.test(e), me = (e) => I.test(e), he = /*#__PURE__*/ D(() => {
195
- let e = O("colors"), t = O("spacing"), n = O("blur"), r = O("brightness"), i = O("borderColor"), a = O("borderRadius"), o = O("borderSpacing"), s = O("borderWidth"), c = O("contrast"), l = O("grayscale"), u = O("hueRotate"), d = O("invert"), f = O("gap"), p = O("gradientColorStops"), m = O("gradientColorStopPositions"), h = O("inset"), g = O("margin"), _ = O("opacity"), v = O("padding"), y = O("saturate"), b = O("scale"), x = O("sepia"), S = O("skew"), C = O("space"), w = O("translate"), T = () => [
196
- "auto",
197
- "contain",
198
- "none"
199
- ], E = () => [
200
- "auto",
201
- "hidden",
202
- "clip",
203
- "visible",
204
- "scroll"
205
- ], D = () => [
206
- "auto",
207
- z,
208
- t
209
- ], k = () => [z, t], A = () => [
210
- "",
211
- L,
212
- R
213
- ], j = () => [
214
- "auto",
215
- ee,
216
- z
217
- ], M = () => [
218
- "bottom",
219
- "center",
220
- "left",
221
- "left-bottom",
222
- "left-top",
223
- "right",
224
- "right-bottom",
225
- "right-top",
226
- "top"
227
- ], N = () => [
228
- "solid",
229
- "dashed",
230
- "dotted",
231
- "double",
232
- "none"
233
- ], P = () => [
234
- "normal",
235
- "multiply",
236
- "screen",
237
- "overlay",
238
- "darken",
239
- "lighten",
240
- "color-dodge",
241
- "color-burn",
242
- "hard-light",
243
- "soft-light",
244
- "difference",
245
- "exclusion",
246
- "hue",
247
- "saturation",
248
- "color",
249
- "luminosity"
250
- ], F = () => [
251
- "start",
252
- "end",
253
- "center",
254
- "between",
255
- "around",
256
- "evenly",
257
- "stretch"
258
- ], I = () => [
259
- "",
260
- "0",
261
- z
262
- ], ie = () => [
263
- "auto",
264
- "avoid",
265
- "all",
266
- "avoid-page",
267
- "page",
268
- "left",
269
- "right",
270
- "column"
271
- ], V = () => [ee, z];
272
- return {
273
- cacheSize: 500,
274
- separator: ":",
275
- theme: {
276
- colors: [le],
277
- spacing: [L, R],
278
- blur: [
279
- "none",
280
- "",
281
- B,
282
- z
283
- ],
284
- brightness: V(),
285
- borderColor: [e],
286
- borderRadius: [
287
- "none",
288
- "",
289
- "full",
290
- B,
291
- z
292
- ],
293
- borderSpacing: k(),
294
- borderWidth: A(),
295
- contrast: V(),
296
- grayscale: I(),
297
- hueRotate: V(),
298
- invert: I(),
299
- gap: k(),
300
- gradientColorStops: [e],
301
- gradientColorStopPositions: [re, R],
302
- inset: D(),
303
- margin: D(),
304
- opacity: V(),
305
- padding: k(),
306
- saturate: V(),
307
- scale: V(),
308
- sepia: I(),
309
- skew: V(),
310
- space: k(),
311
- translate: k()
312
- },
313
- classGroups: {
314
- aspect: [{ aspect: [
315
- "auto",
316
- "square",
317
- "video",
318
- z
319
- ] }],
320
- container: ["container"],
321
- columns: [{ columns: [B] }],
322
- "break-after": [{ "break-after": ie() }],
323
- "break-before": [{ "break-before": ie() }],
324
- "break-inside": [{ "break-inside": [
325
- "auto",
326
- "avoid",
327
- "avoid-page",
328
- "avoid-column"
329
- ] }],
330
- "box-decoration": [{ "box-decoration": ["slice", "clone"] }],
331
- box: [{ box: ["border", "content"] }],
332
- display: [
333
- "block",
334
- "inline-block",
335
- "inline",
336
- "flex",
337
- "inline-flex",
338
- "table",
339
- "inline-table",
340
- "table-caption",
341
- "table-cell",
342
- "table-column",
343
- "table-column-group",
344
- "table-footer-group",
345
- "table-header-group",
346
- "table-row-group",
347
- "table-row",
348
- "flow-root",
349
- "grid",
350
- "inline-grid",
351
- "contents",
352
- "list-item",
353
- "hidden"
354
- ],
355
- float: [{ float: [
356
- "right",
357
- "left",
358
- "none",
359
- "start",
360
- "end"
361
- ] }],
362
- clear: [{ clear: [
363
- "left",
364
- "right",
365
- "both",
366
- "none",
367
- "start",
368
- "end"
369
- ] }],
370
- isolation: ["isolate", "isolation-auto"],
371
- "object-fit": [{ object: [
372
- "contain",
373
- "cover",
374
- "fill",
375
- "none",
376
- "scale-down"
377
- ] }],
378
- "object-position": [{ object: [...M(), z] }],
379
- overflow: [{ overflow: E() }],
380
- "overflow-x": [{ "overflow-x": E() }],
381
- "overflow-y": [{ "overflow-y": E() }],
382
- overscroll: [{ overscroll: T() }],
383
- "overscroll-x": [{ "overscroll-x": T() }],
384
- "overscroll-y": [{ "overscroll-y": T() }],
385
- position: [
386
- "static",
387
- "fixed",
388
- "absolute",
389
- "relative",
390
- "sticky"
391
- ],
392
- inset: [{ inset: [h] }],
393
- "inset-x": [{ "inset-x": [h] }],
394
- "inset-y": [{ "inset-y": [h] }],
395
- start: [{ start: [h] }],
396
- end: [{ end: [h] }],
397
- top: [{ top: [h] }],
398
- right: [{ right: [h] }],
399
- bottom: [{ bottom: [h] }],
400
- left: [{ left: [h] }],
401
- visibility: [
402
- "visible",
403
- "invisible",
404
- "collapse"
405
- ],
406
- z: [{ z: [
407
- "auto",
408
- ne,
409
- z
410
- ] }],
411
- basis: [{ basis: D() }],
412
- "flex-direction": [{ flex: [
413
- "row",
414
- "row-reverse",
415
- "col",
416
- "col-reverse"
417
- ] }],
418
- "flex-wrap": [{ flex: [
419
- "wrap",
420
- "wrap-reverse",
421
- "nowrap"
422
- ] }],
423
- flex: [{ flex: [
424
- "1",
425
- "auto",
426
- "initial",
427
- "none",
428
- z
429
- ] }],
430
- grow: [{ grow: I() }],
431
- shrink: [{ shrink: I() }],
432
- order: [{ order: [
433
- "first",
434
- "last",
435
- "none",
436
- ne,
437
- z
438
- ] }],
439
- "grid-cols": [{ "grid-cols": [le] }],
440
- "col-start-end": [{ col: [
441
- "auto",
442
- { span: [
443
- "full",
444
- ne,
445
- z
446
- ] },
447
- z
448
- ] }],
449
- "col-start": [{ "col-start": j() }],
450
- "col-end": [{ "col-end": j() }],
451
- "grid-rows": [{ "grid-rows": [le] }],
452
- "row-start-end": [{ row: [
453
- "auto",
454
- { span: [ne, z] },
455
- z
456
- ] }],
457
- "row-start": [{ "row-start": j() }],
458
- "row-end": [{ "row-end": j() }],
459
- "grid-flow": [{ "grid-flow": [
460
- "row",
461
- "col",
462
- "dense",
463
- "row-dense",
464
- "col-dense"
465
- ] }],
466
- "auto-cols": [{ "auto-cols": [
467
- "auto",
468
- "min",
469
- "max",
470
- "fr",
471
- z
472
- ] }],
473
- "auto-rows": [{ "auto-rows": [
474
- "auto",
475
- "min",
476
- "max",
477
- "fr",
478
- z
479
- ] }],
480
- gap: [{ gap: [f] }],
481
- "gap-x": [{ "gap-x": [f] }],
482
- "gap-y": [{ "gap-y": [f] }],
483
- "justify-content": [{ justify: ["normal", ...F()] }],
484
- "justify-items": [{ "justify-items": [
485
- "start",
486
- "end",
487
- "center",
488
- "stretch"
489
- ] }],
490
- "justify-self": [{ "justify-self": [
491
- "auto",
492
- "start",
493
- "end",
494
- "center",
495
- "stretch"
496
- ] }],
497
- "align-content": [{ content: [
498
- "normal",
499
- ...F(),
500
- "baseline"
501
- ] }],
502
- "align-items": [{ items: [
503
- "start",
504
- "end",
505
- "center",
506
- "baseline",
507
- "stretch"
508
- ] }],
509
- "align-self": [{ self: [
510
- "auto",
511
- "start",
512
- "end",
513
- "center",
514
- "stretch",
515
- "baseline"
516
- ] }],
517
- "place-content": [{ "place-content": [...F(), "baseline"] }],
518
- "place-items": [{ "place-items": [
519
- "start",
520
- "end",
521
- "center",
522
- "baseline",
523
- "stretch"
524
- ] }],
525
- "place-self": [{ "place-self": [
526
- "auto",
527
- "start",
528
- "end",
529
- "center",
530
- "stretch"
531
- ] }],
532
- p: [{ p: [v] }],
533
- px: [{ px: [v] }],
534
- py: [{ py: [v] }],
535
- ps: [{ ps: [v] }],
536
- pe: [{ pe: [v] }],
537
- pt: [{ pt: [v] }],
538
- pr: [{ pr: [v] }],
539
- pb: [{ pb: [v] }],
540
- pl: [{ pl: [v] }],
541
- m: [{ m: [g] }],
542
- mx: [{ mx: [g] }],
543
- my: [{ my: [g] }],
544
- ms: [{ ms: [g] }],
545
- me: [{ me: [g] }],
546
- mt: [{ mt: [g] }],
547
- mr: [{ mr: [g] }],
548
- mb: [{ mb: [g] }],
549
- ml: [{ ml: [g] }],
550
- "space-x": [{ "space-x": [C] }],
551
- "space-x-reverse": ["space-x-reverse"],
552
- "space-y": [{ "space-y": [C] }],
553
- "space-y-reverse": ["space-y-reverse"],
554
- w: [{ w: [
555
- "auto",
556
- "min",
557
- "max",
558
- "fit",
559
- "svw",
560
- "lvw",
561
- "dvw",
562
- z,
563
- t
564
- ] }],
565
- "min-w": [{ "min-w": [
566
- z,
567
- t,
568
- "min",
569
- "max",
570
- "fit"
571
- ] }],
572
- "max-w": [{ "max-w": [
573
- z,
574
- t,
575
- "none",
576
- "full",
577
- "min",
578
- "max",
579
- "fit",
580
- "prose",
581
- { screen: [B] },
582
- B
583
- ] }],
584
- h: [{ h: [
585
- z,
586
- t,
587
- "auto",
588
- "min",
589
- "max",
590
- "fit",
591
- "svh",
592
- "lvh",
593
- "dvh"
594
- ] }],
595
- "min-h": [{ "min-h": [
596
- z,
597
- t,
598
- "min",
599
- "max",
600
- "fit",
601
- "svh",
602
- "lvh",
603
- "dvh"
604
- ] }],
605
- "max-h": [{ "max-h": [
606
- z,
607
- t,
608
- "min",
609
- "max",
610
- "fit",
611
- "svh",
612
- "lvh",
613
- "dvh"
614
- ] }],
615
- size: [{ size: [
616
- z,
617
- t,
618
- "auto",
619
- "min",
620
- "max",
621
- "fit"
622
- ] }],
623
- "font-size": [{ text: [
624
- "base",
625
- B,
626
- R
627
- ] }],
628
- "font-smoothing": ["antialiased", "subpixel-antialiased"],
629
- "font-style": ["italic", "not-italic"],
630
- "font-weight": [{ font: [
631
- "thin",
632
- "extralight",
633
- "light",
634
- "normal",
635
- "medium",
636
- "semibold",
637
- "bold",
638
- "extrabold",
639
- "black",
640
- te
641
- ] }],
642
- "font-family": [{ font: [le] }],
643
- "fvn-normal": ["normal-nums"],
644
- "fvn-ordinal": ["ordinal"],
645
- "fvn-slashed-zero": ["slashed-zero"],
646
- "fvn-figure": ["lining-nums", "oldstyle-nums"],
647
- "fvn-spacing": ["proportional-nums", "tabular-nums"],
648
- "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
649
- tracking: [{ tracking: [
650
- "tighter",
651
- "tight",
652
- "normal",
653
- "wide",
654
- "wider",
655
- "widest",
656
- z
657
- ] }],
658
- "line-clamp": [{ "line-clamp": [
659
- "none",
660
- ee,
661
- te
662
- ] }],
663
- leading: [{ leading: [
664
- "none",
665
- "tight",
666
- "snug",
667
- "normal",
668
- "relaxed",
669
- "loose",
670
- L,
671
- z
672
- ] }],
673
- "list-image": [{ "list-image": ["none", z] }],
674
- "list-style-type": [{ list: [
675
- "none",
676
- "disc",
677
- "decimal",
678
- z
679
- ] }],
680
- "list-style-position": [{ list: ["inside", "outside"] }],
681
- "placeholder-color": [{ placeholder: [e] }],
682
- "placeholder-opacity": [{ "placeholder-opacity": [_] }],
683
- "text-alignment": [{ text: [
684
- "left",
685
- "center",
686
- "right",
687
- "justify",
688
- "start",
689
- "end"
690
- ] }],
691
- "text-color": [{ text: [e] }],
692
- "text-opacity": [{ "text-opacity": [_] }],
693
- "text-decoration": [
694
- "underline",
695
- "overline",
696
- "line-through",
697
- "no-underline"
698
- ],
699
- "text-decoration-style": [{ decoration: [...N(), "wavy"] }],
700
- "text-decoration-thickness": [{ decoration: [
701
- "auto",
702
- "from-font",
703
- L,
704
- R
705
- ] }],
706
- "underline-offset": [{ "underline-offset": [
707
- "auto",
708
- L,
709
- z
710
- ] }],
711
- "text-decoration-color": [{ decoration: [e] }],
712
- "text-transform": [
713
- "uppercase",
714
- "lowercase",
715
- "capitalize",
716
- "normal-case"
717
- ],
718
- "text-overflow": [
719
- "truncate",
720
- "text-ellipsis",
721
- "text-clip"
722
- ],
723
- "text-wrap": [{ text: [
724
- "wrap",
725
- "nowrap",
726
- "balance",
727
- "pretty"
728
- ] }],
729
- indent: [{ indent: k() }],
730
- "vertical-align": [{ align: [
731
- "baseline",
732
- "top",
733
- "middle",
734
- "bottom",
735
- "text-top",
736
- "text-bottom",
737
- "sub",
738
- "super",
739
- z
740
- ] }],
741
- whitespace: [{ whitespace: [
742
- "normal",
743
- "nowrap",
744
- "pre",
745
- "pre-line",
746
- "pre-wrap",
747
- "break-spaces"
748
- ] }],
749
- break: [{ break: [
750
- "normal",
751
- "words",
752
- "all",
753
- "keep"
754
- ] }],
755
- hyphens: [{ hyphens: [
756
- "none",
757
- "manual",
758
- "auto"
759
- ] }],
760
- content: [{ content: ["none", z] }],
761
- "bg-attachment": [{ bg: [
762
- "fixed",
763
- "local",
764
- "scroll"
765
- ] }],
766
- "bg-clip": [{ "bg-clip": [
767
- "border",
768
- "padding",
769
- "content",
770
- "text"
771
- ] }],
772
- "bg-opacity": [{ "bg-opacity": [_] }],
773
- "bg-origin": [{ "bg-origin": [
774
- "border",
775
- "padding",
776
- "content"
777
- ] }],
778
- "bg-position": [{ bg: [...M(), oe] }],
779
- "bg-repeat": [{ bg: ["no-repeat", { repeat: [
780
- "",
781
- "x",
782
- "y",
783
- "round",
784
- "space"
785
- ] }] }],
786
- "bg-size": [{ bg: [
787
- "auto",
788
- "cover",
789
- "contain",
790
- ae
791
- ] }],
792
- "bg-image": [{ bg: [
793
- "none",
794
- { "gradient-to": [
795
- "t",
796
- "tr",
797
- "r",
798
- "br",
799
- "b",
800
- "bl",
801
- "l",
802
- "tl"
803
- ] },
804
- se
805
- ] }],
806
- "bg-color": [{ bg: [e] }],
807
- "gradient-from-pos": [{ from: [m] }],
808
- "gradient-via-pos": [{ via: [m] }],
809
- "gradient-to-pos": [{ to: [m] }],
810
- "gradient-from": [{ from: [p] }],
811
- "gradient-via": [{ via: [p] }],
812
- "gradient-to": [{ to: [p] }],
813
- rounded: [{ rounded: [a] }],
814
- "rounded-s": [{ "rounded-s": [a] }],
815
- "rounded-e": [{ "rounded-e": [a] }],
816
- "rounded-t": [{ "rounded-t": [a] }],
817
- "rounded-r": [{ "rounded-r": [a] }],
818
- "rounded-b": [{ "rounded-b": [a] }],
819
- "rounded-l": [{ "rounded-l": [a] }],
820
- "rounded-ss": [{ "rounded-ss": [a] }],
821
- "rounded-se": [{ "rounded-se": [a] }],
822
- "rounded-ee": [{ "rounded-ee": [a] }],
823
- "rounded-es": [{ "rounded-es": [a] }],
824
- "rounded-tl": [{ "rounded-tl": [a] }],
825
- "rounded-tr": [{ "rounded-tr": [a] }],
826
- "rounded-br": [{ "rounded-br": [a] }],
827
- "rounded-bl": [{ "rounded-bl": [a] }],
828
- "border-w": [{ border: [s] }],
829
- "border-w-x": [{ "border-x": [s] }],
830
- "border-w-y": [{ "border-y": [s] }],
831
- "border-w-s": [{ "border-s": [s] }],
832
- "border-w-e": [{ "border-e": [s] }],
833
- "border-w-t": [{ "border-t": [s] }],
834
- "border-w-r": [{ "border-r": [s] }],
835
- "border-w-b": [{ "border-b": [s] }],
836
- "border-w-l": [{ "border-l": [s] }],
837
- "border-opacity": [{ "border-opacity": [_] }],
838
- "border-style": [{ border: [...N(), "hidden"] }],
839
- "divide-x": [{ "divide-x": [s] }],
840
- "divide-x-reverse": ["divide-x-reverse"],
841
- "divide-y": [{ "divide-y": [s] }],
842
- "divide-y-reverse": ["divide-y-reverse"],
843
- "divide-opacity": [{ "divide-opacity": [_] }],
844
- "divide-style": [{ divide: N() }],
845
- "border-color": [{ border: [i] }],
846
- "border-color-x": [{ "border-x": [i] }],
847
- "border-color-y": [{ "border-y": [i] }],
848
- "border-color-s": [{ "border-s": [i] }],
849
- "border-color-e": [{ "border-e": [i] }],
850
- "border-color-t": [{ "border-t": [i] }],
851
- "border-color-r": [{ "border-r": [i] }],
852
- "border-color-b": [{ "border-b": [i] }],
853
- "border-color-l": [{ "border-l": [i] }],
854
- "divide-color": [{ divide: [i] }],
855
- "outline-style": [{ outline: ["", ...N()] }],
856
- "outline-offset": [{ "outline-offset": [L, z] }],
857
- "outline-w": [{ outline: [L, R] }],
858
- "outline-color": [{ outline: [e] }],
859
- "ring-w": [{ ring: A() }],
860
- "ring-w-inset": ["ring-inset"],
861
- "ring-color": [{ ring: [e] }],
862
- "ring-opacity": [{ "ring-opacity": [_] }],
863
- "ring-offset-w": [{ "ring-offset": [L, R] }],
864
- "ring-offset-color": [{ "ring-offset": [e] }],
865
- shadow: [{ shadow: [
866
- "",
867
- "inner",
868
- "none",
869
- B,
870
- ce
871
- ] }],
872
- "shadow-color": [{ shadow: [le] }],
873
- opacity: [{ opacity: [_] }],
874
- "mix-blend": [{ "mix-blend": [
875
- ...P(),
876
- "plus-lighter",
877
- "plus-darker"
878
- ] }],
879
- "bg-blend": [{ "bg-blend": P() }],
880
- filter: [{ filter: ["", "none"] }],
881
- blur: [{ blur: [n] }],
882
- brightness: [{ brightness: [r] }],
883
- contrast: [{ contrast: [c] }],
884
- "drop-shadow": [{ "drop-shadow": [
885
- "",
886
- "none",
887
- B,
888
- z
889
- ] }],
890
- grayscale: [{ grayscale: [l] }],
891
- "hue-rotate": [{ "hue-rotate": [u] }],
892
- invert: [{ invert: [d] }],
893
- saturate: [{ saturate: [y] }],
894
- sepia: [{ sepia: [x] }],
895
- "backdrop-filter": [{ "backdrop-filter": ["", "none"] }],
896
- "backdrop-blur": [{ "backdrop-blur": [n] }],
897
- "backdrop-brightness": [{ "backdrop-brightness": [r] }],
898
- "backdrop-contrast": [{ "backdrop-contrast": [c] }],
899
- "backdrop-grayscale": [{ "backdrop-grayscale": [l] }],
900
- "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [u] }],
901
- "backdrop-invert": [{ "backdrop-invert": [d] }],
902
- "backdrop-opacity": [{ "backdrop-opacity": [_] }],
903
- "backdrop-saturate": [{ "backdrop-saturate": [y] }],
904
- "backdrop-sepia": [{ "backdrop-sepia": [x] }],
905
- "border-collapse": [{ border: ["collapse", "separate"] }],
906
- "border-spacing": [{ "border-spacing": [o] }],
907
- "border-spacing-x": [{ "border-spacing-x": [o] }],
908
- "border-spacing-y": [{ "border-spacing-y": [o] }],
909
- "table-layout": [{ table: ["auto", "fixed"] }],
910
- caption: [{ caption: ["top", "bottom"] }],
911
- transition: [{ transition: [
912
- "none",
913
- "all",
914
- "",
915
- "colors",
916
- "opacity",
917
- "shadow",
918
- "transform",
919
- z
920
- ] }],
921
- duration: [{ duration: V() }],
922
- ease: [{ ease: [
923
- "linear",
924
- "in",
925
- "out",
926
- "in-out",
927
- z
928
- ] }],
929
- delay: [{ delay: V() }],
930
- animate: [{ animate: [
931
- "none",
932
- "spin",
933
- "ping",
934
- "pulse",
935
- "bounce",
936
- z
937
- ] }],
938
- transform: [{ transform: [
939
- "",
940
- "gpu",
941
- "none"
942
- ] }],
943
- scale: [{ scale: [b] }],
944
- "scale-x": [{ "scale-x": [b] }],
945
- "scale-y": [{ "scale-y": [b] }],
946
- rotate: [{ rotate: [ne, z] }],
947
- "translate-x": [{ "translate-x": [w] }],
948
- "translate-y": [{ "translate-y": [w] }],
949
- "skew-x": [{ "skew-x": [S] }],
950
- "skew-y": [{ "skew-y": [S] }],
951
- "transform-origin": [{ origin: [
952
- "center",
953
- "top",
954
- "top-right",
955
- "right",
956
- "bottom-right",
957
- "bottom",
958
- "bottom-left",
959
- "left",
960
- "top-left",
961
- z
962
- ] }],
963
- accent: [{ accent: ["auto", e] }],
964
- appearance: [{ appearance: ["none", "auto"] }],
965
- cursor: [{ cursor: [
966
- "auto",
967
- "default",
968
- "pointer",
969
- "wait",
970
- "text",
971
- "move",
972
- "help",
973
- "not-allowed",
974
- "none",
975
- "context-menu",
976
- "progress",
977
- "cell",
978
- "crosshair",
979
- "vertical-text",
980
- "alias",
981
- "copy",
982
- "no-drop",
983
- "grab",
984
- "grabbing",
985
- "all-scroll",
986
- "col-resize",
987
- "row-resize",
988
- "n-resize",
989
- "e-resize",
990
- "s-resize",
991
- "w-resize",
992
- "ne-resize",
993
- "nw-resize",
994
- "se-resize",
995
- "sw-resize",
996
- "ew-resize",
997
- "ns-resize",
998
- "nesw-resize",
999
- "nwse-resize",
1000
- "zoom-in",
1001
- "zoom-out",
1002
- z
1003
- ] }],
1004
- "caret-color": [{ caret: [e] }],
1005
- "pointer-events": [{ "pointer-events": ["none", "auto"] }],
1006
- resize: [{ resize: [
1007
- "none",
1008
- "y",
1009
- "x",
1010
- ""
1011
- ] }],
1012
- "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
1013
- "scroll-m": [{ "scroll-m": k() }],
1014
- "scroll-mx": [{ "scroll-mx": k() }],
1015
- "scroll-my": [{ "scroll-my": k() }],
1016
- "scroll-ms": [{ "scroll-ms": k() }],
1017
- "scroll-me": [{ "scroll-me": k() }],
1018
- "scroll-mt": [{ "scroll-mt": k() }],
1019
- "scroll-mr": [{ "scroll-mr": k() }],
1020
- "scroll-mb": [{ "scroll-mb": k() }],
1021
- "scroll-ml": [{ "scroll-ml": k() }],
1022
- "scroll-p": [{ "scroll-p": k() }],
1023
- "scroll-px": [{ "scroll-px": k() }],
1024
- "scroll-py": [{ "scroll-py": k() }],
1025
- "scroll-ps": [{ "scroll-ps": k() }],
1026
- "scroll-pe": [{ "scroll-pe": k() }],
1027
- "scroll-pt": [{ "scroll-pt": k() }],
1028
- "scroll-pr": [{ "scroll-pr": k() }],
1029
- "scroll-pb": [{ "scroll-pb": k() }],
1030
- "scroll-pl": [{ "scroll-pl": k() }],
1031
- "snap-align": [{ snap: [
1032
- "start",
1033
- "end",
1034
- "center",
1035
- "align-none"
1036
- ] }],
1037
- "snap-stop": [{ snap: ["normal", "always"] }],
1038
- "snap-type": [{ snap: [
1039
- "none",
1040
- "x",
1041
- "y",
1042
- "both"
1043
- ] }],
1044
- "snap-strictness": [{ snap: ["mandatory", "proximity"] }],
1045
- touch: [{ touch: [
1046
- "auto",
1047
- "none",
1048
- "manipulation"
1049
- ] }],
1050
- "touch-x": [{ "touch-pan": [
1051
- "x",
1052
- "left",
1053
- "right"
1054
- ] }],
1055
- "touch-y": [{ "touch-pan": [
1056
- "y",
1057
- "up",
1058
- "down"
1059
- ] }],
1060
- "touch-pz": ["touch-pinch-zoom"],
1061
- select: [{ select: [
1062
- "none",
1063
- "text",
1064
- "all",
1065
- "auto"
1066
- ] }],
1067
- "will-change": [{ "will-change": [
1068
- "auto",
1069
- "scroll",
1070
- "contents",
1071
- "transform",
1072
- z
1073
- ] }],
1074
- fill: [{ fill: [e, "none"] }],
1075
- "stroke-w": [{ stroke: [
1076
- L,
1077
- R,
1078
- te
1079
- ] }],
1080
- stroke: [{ stroke: [e, "none"] }],
1081
- sr: ["sr-only", "not-sr-only"],
1082
- "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
1083
- },
1084
- conflictingClassGroups: {
1085
- overflow: ["overflow-x", "overflow-y"],
1086
- overscroll: ["overscroll-x", "overscroll-y"],
1087
- inset: [
1088
- "inset-x",
1089
- "inset-y",
1090
- "start",
1091
- "end",
1092
- "top",
1093
- "right",
1094
- "bottom",
1095
- "left"
1096
- ],
1097
- "inset-x": ["right", "left"],
1098
- "inset-y": ["top", "bottom"],
1099
- flex: [
1100
- "basis",
1101
- "grow",
1102
- "shrink"
1103
- ],
1104
- gap: ["gap-x", "gap-y"],
1105
- p: [
1106
- "px",
1107
- "py",
1108
- "ps",
1109
- "pe",
1110
- "pt",
1111
- "pr",
1112
- "pb",
1113
- "pl"
1114
- ],
1115
- px: ["pr", "pl"],
1116
- py: ["pt", "pb"],
1117
- m: [
1118
- "mx",
1119
- "my",
1120
- "ms",
1121
- "me",
1122
- "mt",
1123
- "mr",
1124
- "mb",
1125
- "ml"
1126
- ],
1127
- mx: ["mr", "ml"],
1128
- my: ["mt", "mb"],
1129
- size: ["w", "h"],
1130
- "font-size": ["leading"],
1131
- "fvn-normal": [
1132
- "fvn-ordinal",
1133
- "fvn-slashed-zero",
1134
- "fvn-figure",
1135
- "fvn-spacing",
1136
- "fvn-fraction"
1137
- ],
1138
- "fvn-ordinal": ["fvn-normal"],
1139
- "fvn-slashed-zero": ["fvn-normal"],
1140
- "fvn-figure": ["fvn-normal"],
1141
- "fvn-spacing": ["fvn-normal"],
1142
- "fvn-fraction": ["fvn-normal"],
1143
- "line-clamp": ["display", "overflow"],
1144
- rounded: [
1145
- "rounded-s",
1146
- "rounded-e",
1147
- "rounded-t",
1148
- "rounded-r",
1149
- "rounded-b",
1150
- "rounded-l",
1151
- "rounded-ss",
1152
- "rounded-se",
1153
- "rounded-ee",
1154
- "rounded-es",
1155
- "rounded-tl",
1156
- "rounded-tr",
1157
- "rounded-br",
1158
- "rounded-bl"
1159
- ],
1160
- "rounded-s": ["rounded-ss", "rounded-es"],
1161
- "rounded-e": ["rounded-se", "rounded-ee"],
1162
- "rounded-t": ["rounded-tl", "rounded-tr"],
1163
- "rounded-r": ["rounded-tr", "rounded-br"],
1164
- "rounded-b": ["rounded-br", "rounded-bl"],
1165
- "rounded-l": ["rounded-tl", "rounded-bl"],
1166
- "border-spacing": ["border-spacing-x", "border-spacing-y"],
1167
- "border-w": [
1168
- "border-w-s",
1169
- "border-w-e",
1170
- "border-w-t",
1171
- "border-w-r",
1172
- "border-w-b",
1173
- "border-w-l"
1174
- ],
1175
- "border-w-x": ["border-w-r", "border-w-l"],
1176
- "border-w-y": ["border-w-t", "border-w-b"],
1177
- "border-color": [
1178
- "border-color-s",
1179
- "border-color-e",
1180
- "border-color-t",
1181
- "border-color-r",
1182
- "border-color-b",
1183
- "border-color-l"
1184
- ],
1185
- "border-color-x": ["border-color-r", "border-color-l"],
1186
- "border-color-y": ["border-color-t", "border-color-b"],
1187
- "scroll-m": [
1188
- "scroll-mx",
1189
- "scroll-my",
1190
- "scroll-ms",
1191
- "scroll-me",
1192
- "scroll-mt",
1193
- "scroll-mr",
1194
- "scroll-mb",
1195
- "scroll-ml"
1196
- ],
1197
- "scroll-mx": ["scroll-mr", "scroll-ml"],
1198
- "scroll-my": ["scroll-mt", "scroll-mb"],
1199
- "scroll-p": [
1200
- "scroll-px",
1201
- "scroll-py",
1202
- "scroll-ps",
1203
- "scroll-pe",
1204
- "scroll-pt",
1205
- "scroll-pr",
1206
- "scroll-pb",
1207
- "scroll-pl"
1208
- ],
1209
- "scroll-px": ["scroll-pr", "scroll-pl"],
1210
- "scroll-py": ["scroll-pt", "scroll-pb"],
1211
- touch: [
1212
- "touch-x",
1213
- "touch-y",
1214
- "touch-pz"
1215
- ],
1216
- "touch-x": ["touch"],
1217
- "touch-y": ["touch"],
1218
- "touch-pz": ["touch"]
1219
- },
1220
- conflictingClassGroupModifiers: { "font-size": ["leading"] }
1221
- };
1222
- }), ge = {
1223
- "account-balanced": ["24", "24"],
1224
- "address-book": ["24", "24"],
1225
- ai: ["24", "24"],
1226
- "alarm-clock": ["24", "24"],
1227
- alert: ["24", "24"],
1228
- app: ["24", "24"],
1229
- apple: ["24", "24"],
1230
- armchair: ["24", "24"],
1231
- "arrow-down": ["24", "24"],
1232
- "arrow-left": ["24", "24"],
1233
- "arrow-right": ["24", "24"],
1234
- "arrow-up": ["24", "24"],
1235
- back: ["24", "24"],
1236
- bell: ["24", "24"],
1237
- bra: ["24", "24"],
1238
- briefcase: ["24", "24"],
1239
- "cake-piece-full": ["24", "24"],
1240
- "cake-piece": ["24", "24"],
1241
- calendar: ["24", "24"],
1242
- cart: ["24", "24"],
1243
- catalog: ["24", "24"],
1244
- chat: ["24", "24"],
1245
- "check-bold": ["24", "24"],
1246
- check: ["24", "24"],
1247
- child: ["24", "24"],
1248
- closer: ["24", "24"],
1249
- "clothing-basic": ["24", "24"],
1250
- "clothing-blazer": ["24", "24"],
1251
- "clothing-blouse": ["24", "24"],
1252
- "clothing-dress": ["24", "24"],
1253
- "clothing-homewear": ["24", "24"],
1254
- clothing: ["24", "24"],
1255
- "clothing-jacket": ["24", "24"],
1256
- "clothing-jeans": ["24", "24"],
1257
- "clothing-jumpsuit": ["24", "24"],
1258
- "clothing-knitwear": ["24", "24"],
1259
- "clothing-maternity-wear": ["24", "24"],
1260
- "clothing-party-wear": ["24", "24"],
1261
- "clothing-set": ["24", "24"],
1262
- "clothing-shirt": ["24", "24"],
1263
- "clothing-shorts": ["24", "24"],
1264
- "clothing-size": ["24", "24"],
1265
- "clothing-skirt": ["24", "24"],
1266
- "clothing-sport": ["24", "24"],
1267
- "clothing-sweater": ["24", "24"],
1268
- "clothing-sweatshirt": ["24", "24"],
1269
- "clothing-trousers": ["24", "24"],
1270
- communication: ["24", "24"],
1271
- connection: ["24", "24"],
1272
- "control-panel": ["24", "24"],
1273
- cookie: ["24", "24"],
1274
- copy: ["24", "24"],
1275
- "credit-card": ["24", "24"],
1276
- crown: ["24", "24"],
1277
- culture: ["24", "24"],
1278
- "curtain-almost-dark": ["24", "24"],
1279
- "curtain-dark": ["24", "24"],
1280
- "curtain-opaque": ["24", "24"],
1281
- "curtain-semi-transparent": ["24", "24"],
1282
- "curtain-transparent": ["24", "24"],
1283
- customer: ["24", "24"],
1284
- delivery: ["24", "24"],
1285
- denied: ["24", "24"],
1286
- desktop: ["24", "24"],
1287
- diamond: ["24", "24"],
1288
- discount: ["24", "24"],
1289
- dots: ["24", "24"],
1290
- download: ["24", "24"],
1291
- edit: ["24", "24"],
1292
- education: ["24", "24"],
1293
- email: ["24", "24"],
1294
- error: ["24", "24"],
1295
- exchange: ["24", "24"],
1296
- family: ["24", "24"],
1297
- faq: ["24", "24"],
1298
- "fast-delivery": ["24", "24"],
1299
- "feedback-negative": ["24", "24"],
1300
- "feedback-positive": ["24", "24"],
1301
- "first-aid": ["24", "24"],
1302
- fitness: ["24", "24"],
1303
- "fossil-fuel": ["24", "24"],
1304
- "free-delivery": ["24", "24"],
1305
- friendship: ["24", "24"],
1306
- giftbox: ["24", "24"],
1307
- "global-warming": ["24", "24"],
1308
- globe: ["24", "24"],
1309
- glossary: ["24", "24"],
1310
- handshake: ["24", "24"],
1311
- hanger: ["24", "24"],
1312
- hashtag: ["24", "24"],
1313
- health: ["24", "24"],
1314
- "heart-eyes-emoji": ["24", "24"],
1315
- "heart-full": ["24", "24"],
1316
- heart: ["24", "24"],
1317
- help: ["24", "24"],
1318
- hint: ["24", "24"],
1319
- home: ["24", "24"],
1320
- home2: ["24", "24"],
1321
- "image-placeholder": ["24", "24"],
1322
- info: ["24", "24"],
1323
- invoice: ["24", "24"],
1324
- "light-bulb-heart": ["24", "24"],
1325
- "light-bulb": ["24", "24"],
1326
- lightning: ["24", "24"],
1327
- location: ["24", "24"],
1328
- locations: ["24", "24"],
1329
- lock: ["24", "24"],
1330
- "lock-open": ["24", "24"],
1331
- "logged-in": ["24", "24"],
1332
- logout: ["24", "24"],
1333
- mail: ["24", "24"],
1334
- menu: ["24", "24"],
1335
- minus: ["24", "24"],
1336
- newsletter: ["24", "24"],
1337
- "not-yet-available": ["24", "24"],
1338
- order: ["24", "24"],
1339
- order2: ["24", "24"],
1340
- "out-of-stock": ["24", "24"],
1341
- pause: ["24", "24"],
1342
- "personal-data": ["24", "24"],
1343
- phone: ["24", "24"],
1344
- pin: ["24", "24"],
1345
- "pinch-zoom": ["24", "24"],
1346
- plane: ["24", "24"],
1347
- play: ["24", "24"],
1348
- plus: ["24", "24"],
1349
- prepaid: ["24", "24"],
1350
- print: ["24", "24"],
1351
- process: ["24", "24"],
1352
- "production-site": ["24", "24"],
1353
- puzzle: ["24", "24"],
1354
- "qr-code": ["24", "24"],
1355
- quality: ["24", "24"],
1356
- question: ["24", "24"],
1357
- radio: ["24", "24"],
1358
- "recently-viewed": ["24", "24"],
1359
- recycling: ["24", "24"],
1360
- religion: ["24", "24"],
1361
- return: ["24", "24"],
1362
- "review-full": ["24", "24"],
1363
- review: ["24", "24"],
1364
- rocket: ["24", "24"],
1365
- roots: ["24", "24"],
1366
- "saved-money": ["24", "24"],
1367
- scale: ["24", "24"],
1368
- "search-categories": ["24", "24"],
1369
- "search-form-arrow": ["24", "24"],
1370
- search: ["24", "24"],
1371
- sepa: ["24", "24"],
1372
- service: ["24", "24"],
1373
- share: ["24", "24"],
1374
- shoe: ["24", "24"],
1375
- "shopping-bag": ["24", "24"],
1376
- signpost: ["24", "24"],
1377
- "signpost-single": ["24", "24"],
1378
- "similar-products": ["24", "24"],
1379
- size: ["24", "24"],
1380
- social: ["24", "24"],
1381
- "sold-out": ["24", "24"],
1382
- sort: ["24", "24"],
1383
- spark: ["24", "24"],
1384
- store: ["24", "24"],
1385
- success: ["24", "24"],
1386
- suitcase: ["24", "24"],
1387
- "sustainable-animal-welfare": ["24", "24"],
1388
- "sustainable-energy-efficient": ["24", "24"],
1389
- "sustainable-natural-cosmetics": ["24", "24"],
1390
- "sustainable-organic-materials": ["24", "24"],
1391
- "sustainable-production": ["24", "24"],
1392
- "sustainable-recyclable-design": ["24", "24"],
1393
- "sustainable-recycling": ["24", "24"],
1394
- "sustainable-resource": ["24", "24"],
1395
- "sustainable-social-initiatives": ["24", "24"],
1396
- swords: ["24", "24"],
1397
- tablet: ["24", "24"],
1398
- teacup: ["24", "24"],
1399
- "thumb-down-full": ["24", "24"],
1400
- "thumb-down": ["24", "24"],
1401
- "thumb-up-full": ["24", "24"],
1402
- "thumb-up": ["24", "24"],
1403
- "trash-bin": ["24", "24"],
1404
- tv: ["24", "24"],
1405
- user: ["24", "24"],
1406
- visibility: ["24", "24"],
1407
- "visibility-off": ["24", "24"],
1408
- voucher: ["24", "24"],
1409
- wallet: ["24", "24"],
1410
- "water-pollution": ["24", "24"],
1411
- "water-usage": ["24", "24"],
1412
- "whatsapp-bell": ["24", "24"],
1413
- "whatsapp-phone": ["24", "24"],
1414
- "zoom-in": ["24", "24"],
1415
- "zoom-out": ["24", "24"]
1416
- }, _e = ({ variant: t, className: n }) => {
1417
- let { iconSprite: r } = e(), i = "fill-clr-primary";
1418
- t.startsWith("sustainable-") && (i = "fill-clr-sustainable");
1419
- let o = he("shrink-0 w-6 h-6", i, n), [s, c] = ge[t];
1420
- return /* @__PURE__ */ a("svg", {
1421
- className: o,
1422
- "aria-hidden": "true",
1423
- "data-bpds": "icon",
1424
- "data-bpds-variant": t,
1425
- style: { aspectRatio: `${s} / ${c}` },
1426
- children: /* @__PURE__ */ a("use", { href: `${r}#${t}-icon` })
1427
- });
1428
- }, ve = ({ edgeLength: e = "1rem" }) => /* @__PURE__ */ o("span", {
1429
- role: "status",
1430
- "data-bpds": "spinner",
1431
- "data-bpds-edge-length": e,
1432
- children: [/* @__PURE__ */ o("svg", {
1433
- "aria-hidden": "true",
1434
- "data-chromatic": "ignore",
1435
- className: "text-clr-on-bg-low animate-spin fill-clr-bg-main",
1436
- style: {
1437
- width: e,
1438
- height: e
1439
- },
1440
- viewBox: "0 0 100 101",
1441
- fill: "none",
1442
- xmlns: "http://www.w3.org/2000/svg",
1443
- children: [/* @__PURE__ */ a("path", {
1444
- d: "M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",
1445
- fill: "currentColor"
1446
- }), /* @__PURE__ */ a("path", {
1447
- d: "M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",
1448
- fill: "currentFill"
1449
- })]
1450
- }), /* @__PURE__ */ a("span", {
1451
- className: "sr-only",
1452
- children: "Lade..."
1453
- })]
1454
- }), ye = "-", be = (e) => {
1455
- let t = we(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
1456
- return {
1457
- getClassGroupId: (e) => {
1458
- let n = e.split(ye);
1459
- return n[0] === "" && n.length !== 1 && n.shift(), xe(n, t) || Ce(e);
1460
- },
1461
- getConflictingClassGroupIds: (e, t) => {
1462
- let i = n[e] || [];
1463
- return t && r[e] ? [...i, ...r[e]] : i;
1464
- }
1465
- };
1466
- }, xe = (e, t) => {
1467
- if (e.length === 0) return t.classGroupId;
1468
- let n = e[0], r = t.nextPart.get(n), i = r ? xe(e.slice(1), r) : void 0;
1469
- if (i) return i;
1470
- if (t.validators.length === 0) return;
1471
- let a = e.join(ye);
1472
- return t.validators.find(({ validator: e }) => e(a))?.classGroupId;
1473
- }, Se = /^\[(.+)\]$/, Ce = (e) => {
1474
- if (Se.test(e)) {
1475
- let t = Se.exec(e)[1], n = t?.substring(0, t.indexOf(":"));
1476
- if (n) return "arbitrary.." + n;
1477
- }
1478
- }, we = (e) => {
1479
- let { theme: t, prefix: n } = e, r = {
1480
- nextPart: /* @__PURE__ */ new Map(),
1481
- validators: []
1482
- };
1483
- return Oe(Object.entries(e.classGroups), n).forEach(([e, n]) => {
1484
- Te(n, r, e, t);
1485
- }), r;
1486
- }, Te = (e, t, n, r) => {
1487
- e.forEach((e) => {
1488
- if (typeof e == "string") {
1489
- let r = e === "" ? t : Ee(t, e);
1490
- r.classGroupId = n;
1491
- return;
1492
- }
1493
- if (typeof e == "function") {
1494
- if (De(e)) {
1495
- Te(e(r), t, n, r);
1496
- return;
1497
- }
1498
- t.validators.push({
1499
- validator: e,
1500
- classGroupId: n
1501
- });
1502
- return;
1503
- }
1504
- Object.entries(e).forEach(([e, i]) => {
1505
- Te(i, Ee(t, e), n, r);
1506
- });
1507
- });
1508
- }, Ee = (e, t) => {
1509
- let n = e;
1510
- return t.split(ye).forEach((e) => {
1511
- n.nextPart.has(e) || n.nextPart.set(e, {
1512
- nextPart: /* @__PURE__ */ new Map(),
1513
- validators: []
1514
- }), n = n.nextPart.get(e);
1515
- }), n;
1516
- }, De = (e) => e.isThemeGetter, Oe = (e, t) => t ? e.map(([e, n]) => [e, n.map((e) => typeof e == "string" ? t + e : typeof e == "object" ? Object.fromEntries(Object.entries(e).map(([e, n]) => [t + e, n])) : e)]) : e, ke = (e) => {
1517
- if (e < 1) return {
1518
- get: () => void 0,
1519
- set: () => {}
1520
- };
1521
- let t = 0, n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = (i, a) => {
1522
- n.set(i, a), t++, t > e && (t = 0, r = n, n = /* @__PURE__ */ new Map());
1523
- };
1524
- return {
1525
- get(e) {
1526
- let t = n.get(e);
1527
- if (t !== void 0) return t;
1528
- if ((t = r.get(e)) !== void 0) return i(e, t), t;
1529
- },
1530
- set(e, t) {
1531
- n.has(e) ? n.set(e, t) : i(e, t);
1532
- }
1533
- };
1534
- }, Ae = "!", je = (e) => {
1535
- let { separator: t, experimentalParseClassName: n } = e, r = t.length === 1, i = t[0], a = t.length, o = (e) => {
1536
- let n = [], o = 0, s = 0, c;
1537
- for (let l = 0; l < e.length; l++) {
1538
- let u = e[l];
1539
- if (o === 0) {
1540
- if (u === i && (r || e.slice(l, l + a) === t)) {
1541
- n.push(e.slice(s, l)), s = l + a;
1542
- continue;
1543
- }
1544
- if (u === "/") {
1545
- c = l;
1546
- continue;
1547
- }
1548
- }
1549
- u === "[" ? o++ : u === "]" && o--;
1550
- }
1551
- let l = n.length === 0 ? e : e.substring(s), u = l.startsWith(Ae);
1552
- return {
1553
- modifiers: n,
1554
- hasImportantModifier: u,
1555
- baseClassName: u ? l.substring(1) : l,
1556
- maybePostfixModifierPosition: c && c > s ? c - s : void 0
1557
- };
1558
- };
1559
- return n ? (e) => n({
1560
- className: e,
1561
- parseClassName: o
1562
- }) : o;
1563
- }, Me = (e) => {
1564
- if (e.length <= 1) return e;
1565
- let t = [], n = [];
1566
- return e.forEach((e) => {
1567
- e[0] === "[" ? (t.push(...n.sort(), e), n = []) : n.push(e);
1568
- }), t.push(...n.sort()), t;
1569
- }, Ne = (e) => ({
1570
- cache: ke(e.cacheSize),
1571
- parseClassName: je(e),
1572
- ...be(e)
1573
- }), Pe = /\s+/, Fe = (e, t) => {
1574
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i } = t, a = [], o = e.trim().split(Pe), s = "";
1575
- for (let e = o.length - 1; e >= 0; --e) {
1576
- let t = o[e], { modifiers: c, hasImportantModifier: l, baseClassName: u, maybePostfixModifierPosition: d } = n(t), f = !!d, p = r(f ? u.substring(0, d) : u);
1577
- if (!p) {
1578
- if (!f) {
1579
- s = t + (s.length > 0 ? " " + s : s);
1580
- continue;
1581
- }
1582
- if (p = r(u), !p) {
1583
- s = t + (s.length > 0 ? " " + s : s);
1584
- continue;
1585
- }
1586
- f = !1;
1587
- }
1588
- let m = Me(c).join(":"), h = l ? m + Ae : m, g = h + p;
1589
- if (a.includes(g)) continue;
1590
- a.push(g);
1591
- let _ = i(p, f);
1592
- for (let e = 0; e < _.length; ++e) {
1593
- let t = _[e];
1594
- a.push(h + t);
1595
- }
1596
- s = t + (s.length > 0 ? " " + s : s);
1597
- }
1598
- return s;
1599
- };
1600
- function Ie() {
1601
- let e = 0, t, n, r = "";
1602
- for (; e < arguments.length;) (t = arguments[e++]) && (n = Le(t)) && (r && (r += " "), r += n);
1603
- return r;
1604
- }
1605
- var Le = (e) => {
1606
- if (typeof e == "string") return e;
1607
- let t, n = "";
1608
- for (let r = 0; r < e.length; r++) e[r] && (t = Le(e[r])) && (n && (n += " "), n += t);
1609
- return n;
1610
- };
1611
- function Re(e, ...t) {
1612
- let n, r, i, a = o;
1613
- function o(o) {
1614
- return n = Ne(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o);
1615
- }
1616
- function s(e) {
1617
- let t = r(e);
1618
- if (t) return t;
1619
- let a = Fe(e, n);
1620
- return i(e, a), a;
1621
- }
1622
- return function() {
1623
- return a(Ie.apply(null, arguments));
1624
- };
1625
- }
1626
- var H = (e) => {
1627
- let t = (t) => t[e] || [];
1628
- return t.isThemeGetter = !0, t;
1629
- }, ze = /^\[(?:([a-z-]+):)?(.+)\]$/i, Be = /^\d+\/\d+$/, Ve = /*#__PURE__*/ new Set([
1630
- "px",
1631
- "full",
1632
- "screen"
1633
- ]), He = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ue = /\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$/, We = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ge = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ke = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, U = (e) => qe(e) || Ve.has(e) || Be.test(e), W = (e) => it(e, "length", at), qe = (e) => !!e && !Number.isNaN(Number(e)), Je = (e) => it(e, "number", qe), Ye = (e) => !!e && Number.isInteger(Number(e)), Xe = (e) => e.endsWith("%") && qe(e.slice(0, -1)), G = (e) => ze.test(e), K = (e) => He.test(e), Ze = /*#__PURE__*/ new Set([
1634
- "length",
1635
- "size",
1636
- "percentage"
1637
- ]), Qe = (e) => it(e, Ze, ot), $e = (e) => it(e, "position", ot), et = /*#__PURE__*/ new Set(["image", "url"]), tt = (e) => it(e, et, ct), nt = (e) => it(e, "", st), rt = () => !0, it = (e, t, n) => {
1638
- let r = ze.exec(e);
1639
- return r ? r[1] ? typeof t == "string" ? r[1] === t : t.has(r[1]) : n(r[2]) : !1;
1640
- }, at = (e) => Ue.test(e) && !We.test(e), ot = () => !1, st = (e) => Ge.test(e), ct = (e) => Ke.test(e), lt = /*#__PURE__*/ Re(() => {
1641
- let e = H("colors"), t = H("spacing"), n = H("blur"), r = H("brightness"), i = H("borderColor"), a = H("borderRadius"), o = H("borderSpacing"), s = H("borderWidth"), c = H("contrast"), l = H("grayscale"), u = H("hueRotate"), d = H("invert"), f = H("gap"), p = H("gradientColorStops"), m = H("gradientColorStopPositions"), h = H("inset"), g = H("margin"), _ = H("opacity"), v = H("padding"), y = H("saturate"), b = H("scale"), x = H("sepia"), S = H("skew"), C = H("space"), w = H("translate"), T = () => [
1642
- "auto",
1643
- "contain",
1644
- "none"
1645
- ], E = () => [
1646
- "auto",
1647
- "hidden",
1648
- "clip",
1649
- "visible",
1650
- "scroll"
1651
- ], D = () => [
1652
- "auto",
1653
- G,
1654
- t
1655
- ], O = () => [G, t], k = () => [
1656
- "",
1657
- U,
1658
- W
1659
- ], A = () => [
1660
- "auto",
1661
- qe,
1662
- G
1663
- ], j = () => [
1664
- "bottom",
1665
- "center",
1666
- "left",
1667
- "left-bottom",
1668
- "left-top",
1669
- "right",
1670
- "right-bottom",
1671
- "right-top",
1672
- "top"
1673
- ], M = () => [
1674
- "solid",
1675
- "dashed",
1676
- "dotted",
1677
- "double",
1678
- "none"
1679
- ], N = () => [
1680
- "normal",
1681
- "multiply",
1682
- "screen",
1683
- "overlay",
1684
- "darken",
1685
- "lighten",
1686
- "color-dodge",
1687
- "color-burn",
1688
- "hard-light",
1689
- "soft-light",
1690
- "difference",
1691
- "exclusion",
1692
- "hue",
1693
- "saturation",
1694
- "color",
1695
- "luminosity"
1696
- ], P = () => [
1697
- "start",
1698
- "end",
1699
- "center",
1700
- "between",
1701
- "around",
1702
- "evenly",
1703
- "stretch"
1704
- ], F = () => [
1705
- "",
1706
- "0",
1707
- G
1708
- ], I = () => [
1709
- "auto",
1710
- "avoid",
1711
- "all",
1712
- "avoid-page",
1713
- "page",
1714
- "left",
1715
- "right",
1716
- "column"
1717
- ], L = () => [qe, G];
1718
- return {
1719
- cacheSize: 500,
1720
- separator: ":",
1721
- theme: {
1722
- colors: [rt],
1723
- spacing: [U, W],
1724
- blur: [
1725
- "none",
1726
- "",
1727
- K,
1728
- G
1729
- ],
1730
- brightness: L(),
1731
- borderColor: [e],
1732
- borderRadius: [
1733
- "none",
1734
- "",
1735
- "full",
1736
- K,
1737
- G
1738
- ],
1739
- borderSpacing: O(),
1740
- borderWidth: k(),
1741
- contrast: L(),
1742
- grayscale: F(),
1743
- hueRotate: L(),
1744
- invert: F(),
1745
- gap: O(),
1746
- gradientColorStops: [e],
1747
- gradientColorStopPositions: [Xe, W],
1748
- inset: D(),
1749
- margin: D(),
1750
- opacity: L(),
1751
- padding: O(),
1752
- saturate: L(),
1753
- scale: L(),
1754
- sepia: F(),
1755
- skew: L(),
1756
- space: O(),
1757
- translate: O()
1758
- },
1759
- classGroups: {
1760
- aspect: [{ aspect: [
1761
- "auto",
1762
- "square",
1763
- "video",
1764
- G
1765
- ] }],
1766
- container: ["container"],
1767
- columns: [{ columns: [K] }],
1768
- "break-after": [{ "break-after": I() }],
1769
- "break-before": [{ "break-before": I() }],
1770
- "break-inside": [{ "break-inside": [
1771
- "auto",
1772
- "avoid",
1773
- "avoid-page",
1774
- "avoid-column"
1775
- ] }],
1776
- "box-decoration": [{ "box-decoration": ["slice", "clone"] }],
1777
- box: [{ box: ["border", "content"] }],
1778
- display: [
1779
- "block",
1780
- "inline-block",
1781
- "inline",
1782
- "flex",
1783
- "inline-flex",
1784
- "table",
1785
- "inline-table",
1786
- "table-caption",
1787
- "table-cell",
1788
- "table-column",
1789
- "table-column-group",
1790
- "table-footer-group",
1791
- "table-header-group",
1792
- "table-row-group",
1793
- "table-row",
1794
- "flow-root",
1795
- "grid",
1796
- "inline-grid",
1797
- "contents",
1798
- "list-item",
1799
- "hidden"
1800
- ],
1801
- float: [{ float: [
1802
- "right",
1803
- "left",
1804
- "none",
1805
- "start",
1806
- "end"
1807
- ] }],
1808
- clear: [{ clear: [
1809
- "left",
1810
- "right",
1811
- "both",
1812
- "none",
1813
- "start",
1814
- "end"
1815
- ] }],
1816
- isolation: ["isolate", "isolation-auto"],
1817
- "object-fit": [{ object: [
1818
- "contain",
1819
- "cover",
1820
- "fill",
1821
- "none",
1822
- "scale-down"
1823
- ] }],
1824
- "object-position": [{ object: [...j(), G] }],
1825
- overflow: [{ overflow: E() }],
1826
- "overflow-x": [{ "overflow-x": E() }],
1827
- "overflow-y": [{ "overflow-y": E() }],
1828
- overscroll: [{ overscroll: T() }],
1829
- "overscroll-x": [{ "overscroll-x": T() }],
1830
- "overscroll-y": [{ "overscroll-y": T() }],
1831
- position: [
1832
- "static",
1833
- "fixed",
1834
- "absolute",
1835
- "relative",
1836
- "sticky"
1837
- ],
1838
- inset: [{ inset: [h] }],
1839
- "inset-x": [{ "inset-x": [h] }],
1840
- "inset-y": [{ "inset-y": [h] }],
1841
- start: [{ start: [h] }],
1842
- end: [{ end: [h] }],
1843
- top: [{ top: [h] }],
1844
- right: [{ right: [h] }],
1845
- bottom: [{ bottom: [h] }],
1846
- left: [{ left: [h] }],
1847
- visibility: [
1848
- "visible",
1849
- "invisible",
1850
- "collapse"
1851
- ],
1852
- z: [{ z: [
1853
- "auto",
1854
- Ye,
1855
- G
1856
- ] }],
1857
- basis: [{ basis: D() }],
1858
- "flex-direction": [{ flex: [
1859
- "row",
1860
- "row-reverse",
1861
- "col",
1862
- "col-reverse"
1863
- ] }],
1864
- "flex-wrap": [{ flex: [
1865
- "wrap",
1866
- "wrap-reverse",
1867
- "nowrap"
1868
- ] }],
1869
- flex: [{ flex: [
1870
- "1",
1871
- "auto",
1872
- "initial",
1873
- "none",
1874
- G
1875
- ] }],
1876
- grow: [{ grow: F() }],
1877
- shrink: [{ shrink: F() }],
1878
- order: [{ order: [
1879
- "first",
1880
- "last",
1881
- "none",
1882
- Ye,
1883
- G
1884
- ] }],
1885
- "grid-cols": [{ "grid-cols": [rt] }],
1886
- "col-start-end": [{ col: [
1887
- "auto",
1888
- { span: [
1889
- "full",
1890
- Ye,
1891
- G
1892
- ] },
1893
- G
1894
- ] }],
1895
- "col-start": [{ "col-start": A() }],
1896
- "col-end": [{ "col-end": A() }],
1897
- "grid-rows": [{ "grid-rows": [rt] }],
1898
- "row-start-end": [{ row: [
1899
- "auto",
1900
- { span: [Ye, G] },
1901
- G
1902
- ] }],
1903
- "row-start": [{ "row-start": A() }],
1904
- "row-end": [{ "row-end": A() }],
1905
- "grid-flow": [{ "grid-flow": [
1906
- "row",
1907
- "col",
1908
- "dense",
1909
- "row-dense",
1910
- "col-dense"
1911
- ] }],
1912
- "auto-cols": [{ "auto-cols": [
1913
- "auto",
1914
- "min",
1915
- "max",
1916
- "fr",
1917
- G
1918
- ] }],
1919
- "auto-rows": [{ "auto-rows": [
1920
- "auto",
1921
- "min",
1922
- "max",
1923
- "fr",
1924
- G
1925
- ] }],
1926
- gap: [{ gap: [f] }],
1927
- "gap-x": [{ "gap-x": [f] }],
1928
- "gap-y": [{ "gap-y": [f] }],
1929
- "justify-content": [{ justify: ["normal", ...P()] }],
1930
- "justify-items": [{ "justify-items": [
1931
- "start",
1932
- "end",
1933
- "center",
1934
- "stretch"
1935
- ] }],
1936
- "justify-self": [{ "justify-self": [
1937
- "auto",
1938
- "start",
1939
- "end",
1940
- "center",
1941
- "stretch"
1942
- ] }],
1943
- "align-content": [{ content: [
1944
- "normal",
1945
- ...P(),
1946
- "baseline"
1947
- ] }],
1948
- "align-items": [{ items: [
1949
- "start",
1950
- "end",
1951
- "center",
1952
- "baseline",
1953
- "stretch"
1954
- ] }],
1955
- "align-self": [{ self: [
1956
- "auto",
1957
- "start",
1958
- "end",
1959
- "center",
1960
- "stretch",
1961
- "baseline"
1962
- ] }],
1963
- "place-content": [{ "place-content": [...P(), "baseline"] }],
1964
- "place-items": [{ "place-items": [
1965
- "start",
1966
- "end",
1967
- "center",
1968
- "baseline",
1969
- "stretch"
1970
- ] }],
1971
- "place-self": [{ "place-self": [
1972
- "auto",
1973
- "start",
1974
- "end",
1975
- "center",
1976
- "stretch"
1977
- ] }],
1978
- p: [{ p: [v] }],
1979
- px: [{ px: [v] }],
1980
- py: [{ py: [v] }],
1981
- ps: [{ ps: [v] }],
1982
- pe: [{ pe: [v] }],
1983
- pt: [{ pt: [v] }],
1984
- pr: [{ pr: [v] }],
1985
- pb: [{ pb: [v] }],
1986
- pl: [{ pl: [v] }],
1987
- m: [{ m: [g] }],
1988
- mx: [{ mx: [g] }],
1989
- my: [{ my: [g] }],
1990
- ms: [{ ms: [g] }],
1991
- me: [{ me: [g] }],
1992
- mt: [{ mt: [g] }],
1993
- mr: [{ mr: [g] }],
1994
- mb: [{ mb: [g] }],
1995
- ml: [{ ml: [g] }],
1996
- "space-x": [{ "space-x": [C] }],
1997
- "space-x-reverse": ["space-x-reverse"],
1998
- "space-y": [{ "space-y": [C] }],
1999
- "space-y-reverse": ["space-y-reverse"],
2000
- w: [{ w: [
2001
- "auto",
2002
- "min",
2003
- "max",
2004
- "fit",
2005
- "svw",
2006
- "lvw",
2007
- "dvw",
2008
- G,
2009
- t
2010
- ] }],
2011
- "min-w": [{ "min-w": [
2012
- G,
2013
- t,
2014
- "min",
2015
- "max",
2016
- "fit"
2017
- ] }],
2018
- "max-w": [{ "max-w": [
2019
- G,
2020
- t,
2021
- "none",
2022
- "full",
2023
- "min",
2024
- "max",
2025
- "fit",
2026
- "prose",
2027
- { screen: [K] },
2028
- K
2029
- ] }],
2030
- h: [{ h: [
2031
- G,
2032
- t,
2033
- "auto",
2034
- "min",
2035
- "max",
2036
- "fit",
2037
- "svh",
2038
- "lvh",
2039
- "dvh"
2040
- ] }],
2041
- "min-h": [{ "min-h": [
2042
- G,
2043
- t,
2044
- "min",
2045
- "max",
2046
- "fit",
2047
- "svh",
2048
- "lvh",
2049
- "dvh"
2050
- ] }],
2051
- "max-h": [{ "max-h": [
2052
- G,
2053
- t,
2054
- "min",
2055
- "max",
2056
- "fit",
2057
- "svh",
2058
- "lvh",
2059
- "dvh"
2060
- ] }],
2061
- size: [{ size: [
2062
- G,
2063
- t,
2064
- "auto",
2065
- "min",
2066
- "max",
2067
- "fit"
2068
- ] }],
2069
- "font-size": [{ text: [
2070
- "base",
2071
- K,
2072
- W
2073
- ] }],
2074
- "font-smoothing": ["antialiased", "subpixel-antialiased"],
2075
- "font-style": ["italic", "not-italic"],
2076
- "font-weight": [{ font: [
2077
- "thin",
2078
- "extralight",
2079
- "light",
2080
- "normal",
2081
- "medium",
2082
- "semibold",
2083
- "bold",
2084
- "extrabold",
2085
- "black",
2086
- Je
2087
- ] }],
2088
- "font-family": [{ font: [rt] }],
2089
- "fvn-normal": ["normal-nums"],
2090
- "fvn-ordinal": ["ordinal"],
2091
- "fvn-slashed-zero": ["slashed-zero"],
2092
- "fvn-figure": ["lining-nums", "oldstyle-nums"],
2093
- "fvn-spacing": ["proportional-nums", "tabular-nums"],
2094
- "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
2095
- tracking: [{ tracking: [
2096
- "tighter",
2097
- "tight",
2098
- "normal",
2099
- "wide",
2100
- "wider",
2101
- "widest",
2102
- G
2103
- ] }],
2104
- "line-clamp": [{ "line-clamp": [
2105
- "none",
2106
- qe,
2107
- Je
2108
- ] }],
2109
- leading: [{ leading: [
2110
- "none",
2111
- "tight",
2112
- "snug",
2113
- "normal",
2114
- "relaxed",
2115
- "loose",
2116
- U,
2117
- G
2118
- ] }],
2119
- "list-image": [{ "list-image": ["none", G] }],
2120
- "list-style-type": [{ list: [
2121
- "none",
2122
- "disc",
2123
- "decimal",
2124
- G
2125
- ] }],
2126
- "list-style-position": [{ list: ["inside", "outside"] }],
2127
- "placeholder-color": [{ placeholder: [e] }],
2128
- "placeholder-opacity": [{ "placeholder-opacity": [_] }],
2129
- "text-alignment": [{ text: [
2130
- "left",
2131
- "center",
2132
- "right",
2133
- "justify",
2134
- "start",
2135
- "end"
2136
- ] }],
2137
- "text-color": [{ text: [e] }],
2138
- "text-opacity": [{ "text-opacity": [_] }],
2139
- "text-decoration": [
2140
- "underline",
2141
- "overline",
2142
- "line-through",
2143
- "no-underline"
2144
- ],
2145
- "text-decoration-style": [{ decoration: [...M(), "wavy"] }],
2146
- "text-decoration-thickness": [{ decoration: [
2147
- "auto",
2148
- "from-font",
2149
- U,
2150
- W
2151
- ] }],
2152
- "underline-offset": [{ "underline-offset": [
2153
- "auto",
2154
- U,
2155
- G
2156
- ] }],
2157
- "text-decoration-color": [{ decoration: [e] }],
2158
- "text-transform": [
2159
- "uppercase",
2160
- "lowercase",
2161
- "capitalize",
2162
- "normal-case"
2163
- ],
2164
- "text-overflow": [
2165
- "truncate",
2166
- "text-ellipsis",
2167
- "text-clip"
2168
- ],
2169
- "text-wrap": [{ text: [
2170
- "wrap",
2171
- "nowrap",
2172
- "balance",
2173
- "pretty"
2174
- ] }],
2175
- indent: [{ indent: O() }],
2176
- "vertical-align": [{ align: [
2177
- "baseline",
2178
- "top",
2179
- "middle",
2180
- "bottom",
2181
- "text-top",
2182
- "text-bottom",
2183
- "sub",
2184
- "super",
2185
- G
2186
- ] }],
2187
- whitespace: [{ whitespace: [
2188
- "normal",
2189
- "nowrap",
2190
- "pre",
2191
- "pre-line",
2192
- "pre-wrap",
2193
- "break-spaces"
2194
- ] }],
2195
- break: [{ break: [
2196
- "normal",
2197
- "words",
2198
- "all",
2199
- "keep"
2200
- ] }],
2201
- hyphens: [{ hyphens: [
2202
- "none",
2203
- "manual",
2204
- "auto"
2205
- ] }],
2206
- content: [{ content: ["none", G] }],
2207
- "bg-attachment": [{ bg: [
2208
- "fixed",
2209
- "local",
2210
- "scroll"
2211
- ] }],
2212
- "bg-clip": [{ "bg-clip": [
2213
- "border",
2214
- "padding",
2215
- "content",
2216
- "text"
2217
- ] }],
2218
- "bg-opacity": [{ "bg-opacity": [_] }],
2219
- "bg-origin": [{ "bg-origin": [
2220
- "border",
2221
- "padding",
2222
- "content"
2223
- ] }],
2224
- "bg-position": [{ bg: [...j(), $e] }],
2225
- "bg-repeat": [{ bg: ["no-repeat", { repeat: [
2226
- "",
2227
- "x",
2228
- "y",
2229
- "round",
2230
- "space"
2231
- ] }] }],
2232
- "bg-size": [{ bg: [
2233
- "auto",
2234
- "cover",
2235
- "contain",
2236
- Qe
2237
- ] }],
2238
- "bg-image": [{ bg: [
2239
- "none",
2240
- { "gradient-to": [
2241
- "t",
2242
- "tr",
2243
- "r",
2244
- "br",
2245
- "b",
2246
- "bl",
2247
- "l",
2248
- "tl"
2249
- ] },
2250
- tt
2251
- ] }],
2252
- "bg-color": [{ bg: [e] }],
2253
- "gradient-from-pos": [{ from: [m] }],
2254
- "gradient-via-pos": [{ via: [m] }],
2255
- "gradient-to-pos": [{ to: [m] }],
2256
- "gradient-from": [{ from: [p] }],
2257
- "gradient-via": [{ via: [p] }],
2258
- "gradient-to": [{ to: [p] }],
2259
- rounded: [{ rounded: [a] }],
2260
- "rounded-s": [{ "rounded-s": [a] }],
2261
- "rounded-e": [{ "rounded-e": [a] }],
2262
- "rounded-t": [{ "rounded-t": [a] }],
2263
- "rounded-r": [{ "rounded-r": [a] }],
2264
- "rounded-b": [{ "rounded-b": [a] }],
2265
- "rounded-l": [{ "rounded-l": [a] }],
2266
- "rounded-ss": [{ "rounded-ss": [a] }],
2267
- "rounded-se": [{ "rounded-se": [a] }],
2268
- "rounded-ee": [{ "rounded-ee": [a] }],
2269
- "rounded-es": [{ "rounded-es": [a] }],
2270
- "rounded-tl": [{ "rounded-tl": [a] }],
2271
- "rounded-tr": [{ "rounded-tr": [a] }],
2272
- "rounded-br": [{ "rounded-br": [a] }],
2273
- "rounded-bl": [{ "rounded-bl": [a] }],
2274
- "border-w": [{ border: [s] }],
2275
- "border-w-x": [{ "border-x": [s] }],
2276
- "border-w-y": [{ "border-y": [s] }],
2277
- "border-w-s": [{ "border-s": [s] }],
2278
- "border-w-e": [{ "border-e": [s] }],
2279
- "border-w-t": [{ "border-t": [s] }],
2280
- "border-w-r": [{ "border-r": [s] }],
2281
- "border-w-b": [{ "border-b": [s] }],
2282
- "border-w-l": [{ "border-l": [s] }],
2283
- "border-opacity": [{ "border-opacity": [_] }],
2284
- "border-style": [{ border: [...M(), "hidden"] }],
2285
- "divide-x": [{ "divide-x": [s] }],
2286
- "divide-x-reverse": ["divide-x-reverse"],
2287
- "divide-y": [{ "divide-y": [s] }],
2288
- "divide-y-reverse": ["divide-y-reverse"],
2289
- "divide-opacity": [{ "divide-opacity": [_] }],
2290
- "divide-style": [{ divide: M() }],
2291
- "border-color": [{ border: [i] }],
2292
- "border-color-x": [{ "border-x": [i] }],
2293
- "border-color-y": [{ "border-y": [i] }],
2294
- "border-color-s": [{ "border-s": [i] }],
2295
- "border-color-e": [{ "border-e": [i] }],
2296
- "border-color-t": [{ "border-t": [i] }],
2297
- "border-color-r": [{ "border-r": [i] }],
2298
- "border-color-b": [{ "border-b": [i] }],
2299
- "border-color-l": [{ "border-l": [i] }],
2300
- "divide-color": [{ divide: [i] }],
2301
- "outline-style": [{ outline: ["", ...M()] }],
2302
- "outline-offset": [{ "outline-offset": [U, G] }],
2303
- "outline-w": [{ outline: [U, W] }],
2304
- "outline-color": [{ outline: [e] }],
2305
- "ring-w": [{ ring: k() }],
2306
- "ring-w-inset": ["ring-inset"],
2307
- "ring-color": [{ ring: [e] }],
2308
- "ring-opacity": [{ "ring-opacity": [_] }],
2309
- "ring-offset-w": [{ "ring-offset": [U, W] }],
2310
- "ring-offset-color": [{ "ring-offset": [e] }],
2311
- shadow: [{ shadow: [
2312
- "",
2313
- "inner",
2314
- "none",
2315
- K,
2316
- nt
2317
- ] }],
2318
- "shadow-color": [{ shadow: [rt] }],
2319
- opacity: [{ opacity: [_] }],
2320
- "mix-blend": [{ "mix-blend": [
2321
- ...N(),
2322
- "plus-lighter",
2323
- "plus-darker"
2324
- ] }],
2325
- "bg-blend": [{ "bg-blend": N() }],
2326
- filter: [{ filter: ["", "none"] }],
2327
- blur: [{ blur: [n] }],
2328
- brightness: [{ brightness: [r] }],
2329
- contrast: [{ contrast: [c] }],
2330
- "drop-shadow": [{ "drop-shadow": [
2331
- "",
2332
- "none",
2333
- K,
2334
- G
2335
- ] }],
2336
- grayscale: [{ grayscale: [l] }],
2337
- "hue-rotate": [{ "hue-rotate": [u] }],
2338
- invert: [{ invert: [d] }],
2339
- saturate: [{ saturate: [y] }],
2340
- sepia: [{ sepia: [x] }],
2341
- "backdrop-filter": [{ "backdrop-filter": ["", "none"] }],
2342
- "backdrop-blur": [{ "backdrop-blur": [n] }],
2343
- "backdrop-brightness": [{ "backdrop-brightness": [r] }],
2344
- "backdrop-contrast": [{ "backdrop-contrast": [c] }],
2345
- "backdrop-grayscale": [{ "backdrop-grayscale": [l] }],
2346
- "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [u] }],
2347
- "backdrop-invert": [{ "backdrop-invert": [d] }],
2348
- "backdrop-opacity": [{ "backdrop-opacity": [_] }],
2349
- "backdrop-saturate": [{ "backdrop-saturate": [y] }],
2350
- "backdrop-sepia": [{ "backdrop-sepia": [x] }],
2351
- "border-collapse": [{ border: ["collapse", "separate"] }],
2352
- "border-spacing": [{ "border-spacing": [o] }],
2353
- "border-spacing-x": [{ "border-spacing-x": [o] }],
2354
- "border-spacing-y": [{ "border-spacing-y": [o] }],
2355
- "table-layout": [{ table: ["auto", "fixed"] }],
2356
- caption: [{ caption: ["top", "bottom"] }],
2357
- transition: [{ transition: [
2358
- "none",
2359
- "all",
2360
- "",
2361
- "colors",
2362
- "opacity",
2363
- "shadow",
2364
- "transform",
2365
- G
2366
- ] }],
2367
- duration: [{ duration: L() }],
2368
- ease: [{ ease: [
2369
- "linear",
2370
- "in",
2371
- "out",
2372
- "in-out",
2373
- G
2374
- ] }],
2375
- delay: [{ delay: L() }],
2376
- animate: [{ animate: [
2377
- "none",
2378
- "spin",
2379
- "ping",
2380
- "pulse",
2381
- "bounce",
2382
- G
2383
- ] }],
2384
- transform: [{ transform: [
2385
- "",
2386
- "gpu",
2387
- "none"
2388
- ] }],
2389
- scale: [{ scale: [b] }],
2390
- "scale-x": [{ "scale-x": [b] }],
2391
- "scale-y": [{ "scale-y": [b] }],
2392
- rotate: [{ rotate: [Ye, G] }],
2393
- "translate-x": [{ "translate-x": [w] }],
2394
- "translate-y": [{ "translate-y": [w] }],
2395
- "skew-x": [{ "skew-x": [S] }],
2396
- "skew-y": [{ "skew-y": [S] }],
2397
- "transform-origin": [{ origin: [
2398
- "center",
2399
- "top",
2400
- "top-right",
2401
- "right",
2402
- "bottom-right",
2403
- "bottom",
2404
- "bottom-left",
2405
- "left",
2406
- "top-left",
2407
- G
2408
- ] }],
2409
- accent: [{ accent: ["auto", e] }],
2410
- appearance: [{ appearance: ["none", "auto"] }],
2411
- cursor: [{ cursor: [
2412
- "auto",
2413
- "default",
2414
- "pointer",
2415
- "wait",
2416
- "text",
2417
- "move",
2418
- "help",
2419
- "not-allowed",
2420
- "none",
2421
- "context-menu",
2422
- "progress",
2423
- "cell",
2424
- "crosshair",
2425
- "vertical-text",
2426
- "alias",
2427
- "copy",
2428
- "no-drop",
2429
- "grab",
2430
- "grabbing",
2431
- "all-scroll",
2432
- "col-resize",
2433
- "row-resize",
2434
- "n-resize",
2435
- "e-resize",
2436
- "s-resize",
2437
- "w-resize",
2438
- "ne-resize",
2439
- "nw-resize",
2440
- "se-resize",
2441
- "sw-resize",
2442
- "ew-resize",
2443
- "ns-resize",
2444
- "nesw-resize",
2445
- "nwse-resize",
2446
- "zoom-in",
2447
- "zoom-out",
2448
- G
2449
- ] }],
2450
- "caret-color": [{ caret: [e] }],
2451
- "pointer-events": [{ "pointer-events": ["none", "auto"] }],
2452
- resize: [{ resize: [
2453
- "none",
2454
- "y",
2455
- "x",
2456
- ""
2457
- ] }],
2458
- "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
2459
- "scroll-m": [{ "scroll-m": O() }],
2460
- "scroll-mx": [{ "scroll-mx": O() }],
2461
- "scroll-my": [{ "scroll-my": O() }],
2462
- "scroll-ms": [{ "scroll-ms": O() }],
2463
- "scroll-me": [{ "scroll-me": O() }],
2464
- "scroll-mt": [{ "scroll-mt": O() }],
2465
- "scroll-mr": [{ "scroll-mr": O() }],
2466
- "scroll-mb": [{ "scroll-mb": O() }],
2467
- "scroll-ml": [{ "scroll-ml": O() }],
2468
- "scroll-p": [{ "scroll-p": O() }],
2469
- "scroll-px": [{ "scroll-px": O() }],
2470
- "scroll-py": [{ "scroll-py": O() }],
2471
- "scroll-ps": [{ "scroll-ps": O() }],
2472
- "scroll-pe": [{ "scroll-pe": O() }],
2473
- "scroll-pt": [{ "scroll-pt": O() }],
2474
- "scroll-pr": [{ "scroll-pr": O() }],
2475
- "scroll-pb": [{ "scroll-pb": O() }],
2476
- "scroll-pl": [{ "scroll-pl": O() }],
2477
- "snap-align": [{ snap: [
2478
- "start",
2479
- "end",
2480
- "center",
2481
- "align-none"
2482
- ] }],
2483
- "snap-stop": [{ snap: ["normal", "always"] }],
2484
- "snap-type": [{ snap: [
2485
- "none",
2486
- "x",
2487
- "y",
2488
- "both"
2489
- ] }],
2490
- "snap-strictness": [{ snap: ["mandatory", "proximity"] }],
2491
- touch: [{ touch: [
2492
- "auto",
2493
- "none",
2494
- "manipulation"
2495
- ] }],
2496
- "touch-x": [{ "touch-pan": [
2497
- "x",
2498
- "left",
2499
- "right"
2500
- ] }],
2501
- "touch-y": [{ "touch-pan": [
2502
- "y",
2503
- "up",
2504
- "down"
2505
- ] }],
2506
- "touch-pz": ["touch-pinch-zoom"],
2507
- select: [{ select: [
2508
- "none",
2509
- "text",
2510
- "all",
2511
- "auto"
2512
- ] }],
2513
- "will-change": [{ "will-change": [
2514
- "auto",
2515
- "scroll",
2516
- "contents",
2517
- "transform",
2518
- G
2519
- ] }],
2520
- fill: [{ fill: [e, "none"] }],
2521
- "stroke-w": [{ stroke: [
2522
- U,
2523
- W,
2524
- Je
2525
- ] }],
2526
- stroke: [{ stroke: [e, "none"] }],
2527
- sr: ["sr-only", "not-sr-only"],
2528
- "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
2529
- },
2530
- conflictingClassGroups: {
2531
- overflow: ["overflow-x", "overflow-y"],
2532
- overscroll: ["overscroll-x", "overscroll-y"],
2533
- inset: [
2534
- "inset-x",
2535
- "inset-y",
2536
- "start",
2537
- "end",
2538
- "top",
2539
- "right",
2540
- "bottom",
2541
- "left"
2542
- ],
2543
- "inset-x": ["right", "left"],
2544
- "inset-y": ["top", "bottom"],
2545
- flex: [
2546
- "basis",
2547
- "grow",
2548
- "shrink"
2549
- ],
2550
- gap: ["gap-x", "gap-y"],
2551
- p: [
2552
- "px",
2553
- "py",
2554
- "ps",
2555
- "pe",
2556
- "pt",
2557
- "pr",
2558
- "pb",
2559
- "pl"
2560
- ],
2561
- px: ["pr", "pl"],
2562
- py: ["pt", "pb"],
2563
- m: [
2564
- "mx",
2565
- "my",
2566
- "ms",
2567
- "me",
2568
- "mt",
2569
- "mr",
2570
- "mb",
2571
- "ml"
2572
- ],
2573
- mx: ["mr", "ml"],
2574
- my: ["mt", "mb"],
2575
- size: ["w", "h"],
2576
- "font-size": ["leading"],
2577
- "fvn-normal": [
2578
- "fvn-ordinal",
2579
- "fvn-slashed-zero",
2580
- "fvn-figure",
2581
- "fvn-spacing",
2582
- "fvn-fraction"
2583
- ],
2584
- "fvn-ordinal": ["fvn-normal"],
2585
- "fvn-slashed-zero": ["fvn-normal"],
2586
- "fvn-figure": ["fvn-normal"],
2587
- "fvn-spacing": ["fvn-normal"],
2588
- "fvn-fraction": ["fvn-normal"],
2589
- "line-clamp": ["display", "overflow"],
2590
- rounded: [
2591
- "rounded-s",
2592
- "rounded-e",
2593
- "rounded-t",
2594
- "rounded-r",
2595
- "rounded-b",
2596
- "rounded-l",
2597
- "rounded-ss",
2598
- "rounded-se",
2599
- "rounded-ee",
2600
- "rounded-es",
2601
- "rounded-tl",
2602
- "rounded-tr",
2603
- "rounded-br",
2604
- "rounded-bl"
2605
- ],
2606
- "rounded-s": ["rounded-ss", "rounded-es"],
2607
- "rounded-e": ["rounded-se", "rounded-ee"],
2608
- "rounded-t": ["rounded-tl", "rounded-tr"],
2609
- "rounded-r": ["rounded-tr", "rounded-br"],
2610
- "rounded-b": ["rounded-br", "rounded-bl"],
2611
- "rounded-l": ["rounded-tl", "rounded-bl"],
2612
- "border-spacing": ["border-spacing-x", "border-spacing-y"],
2613
- "border-w": [
2614
- "border-w-s",
2615
- "border-w-e",
2616
- "border-w-t",
2617
- "border-w-r",
2618
- "border-w-b",
2619
- "border-w-l"
2620
- ],
2621
- "border-w-x": ["border-w-r", "border-w-l"],
2622
- "border-w-y": ["border-w-t", "border-w-b"],
2623
- "border-color": [
2624
- "border-color-s",
2625
- "border-color-e",
2626
- "border-color-t",
2627
- "border-color-r",
2628
- "border-color-b",
2629
- "border-color-l"
2630
- ],
2631
- "border-color-x": ["border-color-r", "border-color-l"],
2632
- "border-color-y": ["border-color-t", "border-color-b"],
2633
- "scroll-m": [
2634
- "scroll-mx",
2635
- "scroll-my",
2636
- "scroll-ms",
2637
- "scroll-me",
2638
- "scroll-mt",
2639
- "scroll-mr",
2640
- "scroll-mb",
2641
- "scroll-ml"
2642
- ],
2643
- "scroll-mx": ["scroll-mr", "scroll-ml"],
2644
- "scroll-my": ["scroll-mt", "scroll-mb"],
2645
- "scroll-p": [
2646
- "scroll-px",
2647
- "scroll-py",
2648
- "scroll-ps",
2649
- "scroll-pe",
2650
- "scroll-pt",
2651
- "scroll-pr",
2652
- "scroll-pb",
2653
- "scroll-pl"
2654
- ],
2655
- "scroll-px": ["scroll-pr", "scroll-pl"],
2656
- "scroll-py": ["scroll-pt", "scroll-pb"],
2657
- touch: [
2658
- "touch-x",
2659
- "touch-y",
2660
- "touch-pz"
2661
- ],
2662
- "touch-x": ["touch"],
2663
- "touch-y": ["touch"],
2664
- "touch-pz": ["touch"]
2665
- },
2666
- conflictingClassGroupModifiers: { "font-size": ["leading"] }
2667
- };
2668
- }), ut = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, q = (e) => !e || typeof e != "object" || Object.keys(e).length === 0, dt = (e, t) => JSON.stringify(e) === JSON.stringify(t);
2669
- function ft(e, t) {
2670
- e.forEach(function(e) {
2671
- Array.isArray(e) ? ft(e, t) : t.push(e);
2672
- });
2673
- }
2674
- function pt(e) {
2675
- let t = [];
2676
- return ft(e, t), t;
2677
- }
2678
- var mt = (...e) => pt(e).filter(Boolean), ht = (e, t) => {
2679
- let n = {}, r = Object.keys(e), i = Object.keys(t);
2680
- for (let a of r) if (i.includes(a)) {
2681
- let r = e[a], i = t[a];
2682
- Array.isArray(r) || Array.isArray(i) ? n[a] = mt(i, r) : typeof r == "object" && typeof i == "object" ? n[a] = ht(r, i) : n[a] = i + " " + r;
2683
- } else n[a] = e[a];
2684
- for (let e of i) r.includes(e) || (n[e] = t[e]);
2685
- return n;
2686
- }, gt = (e) => !e || typeof e != "string" ? e : e.replace(/\s+/g, " ").trim(), _t = "-", vt = (e) => {
2687
- let t = St(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
2688
- return {
2689
- getClassGroupId: (e) => {
2690
- let n = e.split(_t);
2691
- return n[0] === "" && n.length !== 1 && n.shift(), yt(n, t) || xt(e);
2692
- },
2693
- getConflictingClassGroupIds: (e, t) => {
2694
- let i = n[e] || [];
2695
- return t && r[e] ? [...i, ...r[e]] : i;
2696
- }
2697
- };
2698
- }, yt = (e, t) => {
2699
- if (e.length === 0) return t.classGroupId;
2700
- let n = e[0], r = t.nextPart.get(n), i = r ? yt(e.slice(1), r) : void 0;
2701
- if (i) return i;
2702
- if (t.validators.length === 0) return;
2703
- let a = e.join(_t);
2704
- return t.validators.find(({ validator: e }) => e(a))?.classGroupId;
2705
- }, bt = /^\[(.+)\]$/, xt = (e) => {
2706
- if (bt.test(e)) {
2707
- let t = bt.exec(e)[1], n = t?.substring(0, t.indexOf(":"));
2708
- if (n) return "arbitrary.." + n;
2709
- }
2710
- }, St = (e) => {
2711
- let { theme: t, prefix: n } = e, r = {
2712
- nextPart: /* @__PURE__ */ new Map(),
2713
- validators: []
2714
- };
2715
- return Et(Object.entries(e.classGroups), n).forEach(([e, n]) => {
2716
- Ct(n, r, e, t);
2717
- }), r;
2718
- }, Ct = (e, t, n, r) => {
2719
- e.forEach((e) => {
2720
- if (typeof e == "string") {
2721
- let r = e === "" ? t : wt(t, e);
2722
- r.classGroupId = n;
2723
- return;
2724
- }
2725
- if (typeof e == "function") {
2726
- if (Tt(e)) {
2727
- Ct(e(r), t, n, r);
2728
- return;
2729
- }
2730
- t.validators.push({
2731
- validator: e,
2732
- classGroupId: n
2733
- });
2734
- return;
2735
- }
2736
- Object.entries(e).forEach(([e, i]) => {
2737
- Ct(i, wt(t, e), n, r);
2738
- });
2739
- });
2740
- }, wt = (e, t) => {
2741
- let n = e;
2742
- return t.split(_t).forEach((e) => {
2743
- n.nextPart.has(e) || n.nextPart.set(e, {
2744
- nextPart: /* @__PURE__ */ new Map(),
2745
- validators: []
2746
- }), n = n.nextPart.get(e);
2747
- }), n;
2748
- }, Tt = (e) => e.isThemeGetter, Et = (e, t) => t ? e.map(([e, n]) => [e, n.map((e) => typeof e == "string" ? t + e : typeof e == "object" ? Object.fromEntries(Object.entries(e).map(([e, n]) => [t + e, n])) : e)]) : e, Dt = (e) => {
2749
- if (e < 1) return {
2750
- get: () => void 0,
2751
- set: () => {}
2752
- };
2753
- let t = 0, n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = (i, a) => {
2754
- n.set(i, a), t++, t > e && (t = 0, r = n, n = /* @__PURE__ */ new Map());
2755
- };
2756
- return {
2757
- get(e) {
2758
- let t = n.get(e);
2759
- if (t !== void 0) return t;
2760
- if ((t = r.get(e)) !== void 0) return i(e, t), t;
2761
- },
2762
- set(e, t) {
2763
- n.has(e) ? n.set(e, t) : i(e, t);
2764
- }
2765
- };
2766
- }, Ot = "!", kt = (e) => {
2767
- let { separator: t, experimentalParseClassName: n } = e, r = t.length === 1, i = t[0], a = t.length, o = (e) => {
2768
- let n = [], o = 0, s = 0, c;
2769
- for (let l = 0; l < e.length; l++) {
2770
- let u = e[l];
2771
- if (o === 0) {
2772
- if (u === i && (r || e.slice(l, l + a) === t)) {
2773
- n.push(e.slice(s, l)), s = l + a;
2774
- continue;
2775
- }
2776
- if (u === "/") {
2777
- c = l;
2778
- continue;
2779
- }
2780
- }
2781
- u === "[" ? o++ : u === "]" && o--;
2782
- }
2783
- let l = n.length === 0 ? e : e.substring(s), u = l.startsWith(Ot);
2784
- return {
2785
- modifiers: n,
2786
- hasImportantModifier: u,
2787
- baseClassName: u ? l.substring(1) : l,
2788
- maybePostfixModifierPosition: c && c > s ? c - s : void 0
2789
- };
2790
- };
2791
- return n ? (e) => n({
2792
- className: e,
2793
- parseClassName: o
2794
- }) : o;
2795
- }, At = (e) => {
2796
- if (e.length <= 1) return e;
2797
- let t = [], n = [];
2798
- return e.forEach((e) => {
2799
- e[0] === "[" ? (t.push(...n.sort(), e), n = []) : n.push(e);
2800
- }), t.push(...n.sort()), t;
2801
- }, jt = (e) => ({
2802
- cache: Dt(e.cacheSize),
2803
- parseClassName: kt(e),
2804
- ...vt(e)
2805
- }), Mt = /\s+/, Nt = (e, t) => {
2806
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i } = t, a = [], o = e.trim().split(Mt), s = "";
2807
- for (let e = o.length - 1; e >= 0; --e) {
2808
- let t = o[e], { modifiers: c, hasImportantModifier: l, baseClassName: u, maybePostfixModifierPosition: d } = n(t), f = !!d, p = r(f ? u.substring(0, d) : u);
2809
- if (!p) {
2810
- if (!f) {
2811
- s = t + (s.length > 0 ? " " + s : s);
2812
- continue;
2813
- }
2814
- if (p = r(u), !p) {
2815
- s = t + (s.length > 0 ? " " + s : s);
2816
- continue;
2817
- }
2818
- f = !1;
2819
- }
2820
- let m = At(c).join(":"), h = l ? m + Ot : m, g = h + p;
2821
- if (a.includes(g)) continue;
2822
- a.push(g);
2823
- let _ = i(p, f);
2824
- for (let e = 0; e < _.length; ++e) {
2825
- let t = _[e];
2826
- a.push(h + t);
2827
- }
2828
- s = t + (s.length > 0 ? " " + s : s);
2829
- }
2830
- return s;
2831
- };
2832
- function Pt() {
2833
- let e = 0, t, n, r = "";
2834
- for (; e < arguments.length;) (t = arguments[e++]) && (n = Ft(t)) && (r && (r += " "), r += n);
2835
- return r;
2836
- }
2837
- var Ft = (e) => {
2838
- if (typeof e == "string") return e;
2839
- let t, n = "";
2840
- for (let r = 0; r < e.length; r++) e[r] && (t = Ft(e[r])) && (n && (n += " "), n += t);
2841
- return n;
2842
- };
2843
- function It(e, ...t) {
2844
- let n, r, i, a = o;
2845
- function o(o) {
2846
- return n = jt(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o);
2847
- }
2848
- function s(e) {
2849
- let t = r(e);
2850
- if (t) return t;
2851
- let a = Nt(e, n);
2852
- return i(e, a), a;
2853
- }
2854
- return function() {
2855
- return a(Pt.apply(null, arguments));
2856
- };
2857
- }
2858
- var J = (e) => {
2859
- let t = (t) => t[e] || [];
2860
- return t.isThemeGetter = !0, t;
2861
- }, Lt = /^\[(?:([a-z-]+):)?(.+)\]$/i, Rt = /^\d+\/\d+$/, zt = /*#__PURE__*/ new Set([
2862
- "px",
2863
- "full",
2864
- "screen"
2865
- ]), Bt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Vt = /\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$/, Ht = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Ut = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Wt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Y = (e) => Gt(e) || zt.has(e) || Rt.test(e), X = (e) => rn(e, "length", an), Gt = (e) => !!e && !Number.isNaN(Number(e)), Kt = (e) => rn(e, "number", Gt), qt = (e) => !!e && Number.isInteger(Number(e)), Jt = (e) => e.endsWith("%") && Gt(e.slice(0, -1)), Z = (e) => Lt.test(e), Yt = (e) => Bt.test(e), Xt = /*#__PURE__*/ new Set([
2866
- "length",
2867
- "size",
2868
- "percentage"
2869
- ]), Zt = (e) => rn(e, Xt, on), Qt = (e) => rn(e, "position", on), $t = /*#__PURE__*/ new Set(["image", "url"]), en = (e) => rn(e, $t, cn), tn = (e) => rn(e, "", sn), nn = () => !0, rn = (e, t, n) => {
2870
- let r = Lt.exec(e);
2871
- return r ? r[1] ? typeof t == "string" ? r[1] === t : t.has(r[1]) : n(r[2]) : !1;
2872
- }, an = (e) => Vt.test(e) && !Ht.test(e), on = () => !1, sn = (e) => Ut.test(e), cn = (e) => Wt.test(e), ln = () => {
2873
- let e = J("colors"), t = J("spacing"), n = J("blur"), r = J("brightness"), i = J("borderColor"), a = J("borderRadius"), o = J("borderSpacing"), s = J("borderWidth"), c = J("contrast"), l = J("grayscale"), u = J("hueRotate"), d = J("invert"), f = J("gap"), p = J("gradientColorStops"), m = J("gradientColorStopPositions"), h = J("inset"), g = J("margin"), _ = J("opacity"), v = J("padding"), y = J("saturate"), b = J("scale"), x = J("sepia"), S = J("skew"), C = J("space"), w = J("translate"), T = () => [
2874
- "auto",
2875
- "contain",
2876
- "none"
2877
- ], E = () => [
2878
- "auto",
2879
- "hidden",
2880
- "clip",
2881
- "visible",
2882
- "scroll"
2883
- ], D = () => [
2884
- "auto",
2885
- Z,
2886
- t
2887
- ], O = () => [Z, t], k = () => [
2888
- "",
2889
- Y,
2890
- X
2891
- ], A = () => [
2892
- "auto",
2893
- Gt,
2894
- Z
2895
- ], j = () => [
2896
- "bottom",
2897
- "center",
2898
- "left",
2899
- "left-bottom",
2900
- "left-top",
2901
- "right",
2902
- "right-bottom",
2903
- "right-top",
2904
- "top"
2905
- ], M = () => [
2906
- "solid",
2907
- "dashed",
2908
- "dotted",
2909
- "double",
2910
- "none"
2911
- ], N = () => [
2912
- "normal",
2913
- "multiply",
2914
- "screen",
2915
- "overlay",
2916
- "darken",
2917
- "lighten",
2918
- "color-dodge",
2919
- "color-burn",
2920
- "hard-light",
2921
- "soft-light",
2922
- "difference",
2923
- "exclusion",
2924
- "hue",
2925
- "saturation",
2926
- "color",
2927
- "luminosity"
2928
- ], P = () => [
2929
- "start",
2930
- "end",
2931
- "center",
2932
- "between",
2933
- "around",
2934
- "evenly",
2935
- "stretch"
2936
- ], F = () => [
2937
- "",
2938
- "0",
2939
- Z
2940
- ], I = () => [
2941
- "auto",
2942
- "avoid",
2943
- "all",
2944
- "avoid-page",
2945
- "page",
2946
- "left",
2947
- "right",
2948
- "column"
2949
- ], L = () => [Gt, Z];
2950
- return {
2951
- cacheSize: 500,
2952
- separator: ":",
2953
- theme: {
2954
- colors: [nn],
2955
- spacing: [Y, X],
2956
- blur: [
2957
- "none",
2958
- "",
2959
- Yt,
2960
- Z
2961
- ],
2962
- brightness: L(),
2963
- borderColor: [e],
2964
- borderRadius: [
2965
- "none",
2966
- "",
2967
- "full",
2968
- Yt,
2969
- Z
2970
- ],
2971
- borderSpacing: O(),
2972
- borderWidth: k(),
2973
- contrast: L(),
2974
- grayscale: F(),
2975
- hueRotate: L(),
2976
- invert: F(),
2977
- gap: O(),
2978
- gradientColorStops: [e],
2979
- gradientColorStopPositions: [Jt, X],
2980
- inset: D(),
2981
- margin: D(),
2982
- opacity: L(),
2983
- padding: O(),
2984
- saturate: L(),
2985
- scale: L(),
2986
- sepia: F(),
2987
- skew: L(),
2988
- space: O(),
2989
- translate: O()
2990
- },
2991
- classGroups: {
2992
- aspect: [{ aspect: [
2993
- "auto",
2994
- "square",
2995
- "video",
2996
- Z
2997
- ] }],
2998
- container: ["container"],
2999
- columns: [{ columns: [Yt] }],
3000
- "break-after": [{ "break-after": I() }],
3001
- "break-before": [{ "break-before": I() }],
3002
- "break-inside": [{ "break-inside": [
3003
- "auto",
3004
- "avoid",
3005
- "avoid-page",
3006
- "avoid-column"
3007
- ] }],
3008
- "box-decoration": [{ "box-decoration": ["slice", "clone"] }],
3009
- box: [{ box: ["border", "content"] }],
3010
- display: [
3011
- "block",
3012
- "inline-block",
3013
- "inline",
3014
- "flex",
3015
- "inline-flex",
3016
- "table",
3017
- "inline-table",
3018
- "table-caption",
3019
- "table-cell",
3020
- "table-column",
3021
- "table-column-group",
3022
- "table-footer-group",
3023
- "table-header-group",
3024
- "table-row-group",
3025
- "table-row",
3026
- "flow-root",
3027
- "grid",
3028
- "inline-grid",
3029
- "contents",
3030
- "list-item",
3031
- "hidden"
3032
- ],
3033
- float: [{ float: [
3034
- "right",
3035
- "left",
3036
- "none",
3037
- "start",
3038
- "end"
3039
- ] }],
3040
- clear: [{ clear: [
3041
- "left",
3042
- "right",
3043
- "both",
3044
- "none",
3045
- "start",
3046
- "end"
3047
- ] }],
3048
- isolation: ["isolate", "isolation-auto"],
3049
- "object-fit": [{ object: [
3050
- "contain",
3051
- "cover",
3052
- "fill",
3053
- "none",
3054
- "scale-down"
3055
- ] }],
3056
- "object-position": [{ object: [...j(), Z] }],
3057
- overflow: [{ overflow: E() }],
3058
- "overflow-x": [{ "overflow-x": E() }],
3059
- "overflow-y": [{ "overflow-y": E() }],
3060
- overscroll: [{ overscroll: T() }],
3061
- "overscroll-x": [{ "overscroll-x": T() }],
3062
- "overscroll-y": [{ "overscroll-y": T() }],
3063
- position: [
3064
- "static",
3065
- "fixed",
3066
- "absolute",
3067
- "relative",
3068
- "sticky"
3069
- ],
3070
- inset: [{ inset: [h] }],
3071
- "inset-x": [{ "inset-x": [h] }],
3072
- "inset-y": [{ "inset-y": [h] }],
3073
- start: [{ start: [h] }],
3074
- end: [{ end: [h] }],
3075
- top: [{ top: [h] }],
3076
- right: [{ right: [h] }],
3077
- bottom: [{ bottom: [h] }],
3078
- left: [{ left: [h] }],
3079
- visibility: [
3080
- "visible",
3081
- "invisible",
3082
- "collapse"
3083
- ],
3084
- z: [{ z: [
3085
- "auto",
3086
- qt,
3087
- Z
3088
- ] }],
3089
- basis: [{ basis: D() }],
3090
- "flex-direction": [{ flex: [
3091
- "row",
3092
- "row-reverse",
3093
- "col",
3094
- "col-reverse"
3095
- ] }],
3096
- "flex-wrap": [{ flex: [
3097
- "wrap",
3098
- "wrap-reverse",
3099
- "nowrap"
3100
- ] }],
3101
- flex: [{ flex: [
3102
- "1",
3103
- "auto",
3104
- "initial",
3105
- "none",
3106
- Z
3107
- ] }],
3108
- grow: [{ grow: F() }],
3109
- shrink: [{ shrink: F() }],
3110
- order: [{ order: [
3111
- "first",
3112
- "last",
3113
- "none",
3114
- qt,
3115
- Z
3116
- ] }],
3117
- "grid-cols": [{ "grid-cols": [nn] }],
3118
- "col-start-end": [{ col: [
3119
- "auto",
3120
- { span: [
3121
- "full",
3122
- qt,
3123
- Z
3124
- ] },
3125
- Z
3126
- ] }],
3127
- "col-start": [{ "col-start": A() }],
3128
- "col-end": [{ "col-end": A() }],
3129
- "grid-rows": [{ "grid-rows": [nn] }],
3130
- "row-start-end": [{ row: [
3131
- "auto",
3132
- { span: [qt, Z] },
3133
- Z
3134
- ] }],
3135
- "row-start": [{ "row-start": A() }],
3136
- "row-end": [{ "row-end": A() }],
3137
- "grid-flow": [{ "grid-flow": [
3138
- "row",
3139
- "col",
3140
- "dense",
3141
- "row-dense",
3142
- "col-dense"
3143
- ] }],
3144
- "auto-cols": [{ "auto-cols": [
3145
- "auto",
3146
- "min",
3147
- "max",
3148
- "fr",
3149
- Z
3150
- ] }],
3151
- "auto-rows": [{ "auto-rows": [
3152
- "auto",
3153
- "min",
3154
- "max",
3155
- "fr",
3156
- Z
3157
- ] }],
3158
- gap: [{ gap: [f] }],
3159
- "gap-x": [{ "gap-x": [f] }],
3160
- "gap-y": [{ "gap-y": [f] }],
3161
- "justify-content": [{ justify: ["normal", ...P()] }],
3162
- "justify-items": [{ "justify-items": [
3163
- "start",
3164
- "end",
3165
- "center",
3166
- "stretch"
3167
- ] }],
3168
- "justify-self": [{ "justify-self": [
3169
- "auto",
3170
- "start",
3171
- "end",
3172
- "center",
3173
- "stretch"
3174
- ] }],
3175
- "align-content": [{ content: [
3176
- "normal",
3177
- ...P(),
3178
- "baseline"
3179
- ] }],
3180
- "align-items": [{ items: [
3181
- "start",
3182
- "end",
3183
- "center",
3184
- "baseline",
3185
- "stretch"
3186
- ] }],
3187
- "align-self": [{ self: [
3188
- "auto",
3189
- "start",
3190
- "end",
3191
- "center",
3192
- "stretch",
3193
- "baseline"
3194
- ] }],
3195
- "place-content": [{ "place-content": [...P(), "baseline"] }],
3196
- "place-items": [{ "place-items": [
3197
- "start",
3198
- "end",
3199
- "center",
3200
- "baseline",
3201
- "stretch"
3202
- ] }],
3203
- "place-self": [{ "place-self": [
3204
- "auto",
3205
- "start",
3206
- "end",
3207
- "center",
3208
- "stretch"
3209
- ] }],
3210
- p: [{ p: [v] }],
3211
- px: [{ px: [v] }],
3212
- py: [{ py: [v] }],
3213
- ps: [{ ps: [v] }],
3214
- pe: [{ pe: [v] }],
3215
- pt: [{ pt: [v] }],
3216
- pr: [{ pr: [v] }],
3217
- pb: [{ pb: [v] }],
3218
- pl: [{ pl: [v] }],
3219
- m: [{ m: [g] }],
3220
- mx: [{ mx: [g] }],
3221
- my: [{ my: [g] }],
3222
- ms: [{ ms: [g] }],
3223
- me: [{ me: [g] }],
3224
- mt: [{ mt: [g] }],
3225
- mr: [{ mr: [g] }],
3226
- mb: [{ mb: [g] }],
3227
- ml: [{ ml: [g] }],
3228
- "space-x": [{ "space-x": [C] }],
3229
- "space-x-reverse": ["space-x-reverse"],
3230
- "space-y": [{ "space-y": [C] }],
3231
- "space-y-reverse": ["space-y-reverse"],
3232
- w: [{ w: [
3233
- "auto",
3234
- "min",
3235
- "max",
3236
- "fit",
3237
- "svw",
3238
- "lvw",
3239
- "dvw",
3240
- Z,
3241
- t
3242
- ] }],
3243
- "min-w": [{ "min-w": [
3244
- Z,
3245
- t,
3246
- "min",
3247
- "max",
3248
- "fit"
3249
- ] }],
3250
- "max-w": [{ "max-w": [
3251
- Z,
3252
- t,
3253
- "none",
3254
- "full",
3255
- "min",
3256
- "max",
3257
- "fit",
3258
- "prose",
3259
- { screen: [Yt] },
3260
- Yt
3261
- ] }],
3262
- h: [{ h: [
3263
- Z,
3264
- t,
3265
- "auto",
3266
- "min",
3267
- "max",
3268
- "fit",
3269
- "svh",
3270
- "lvh",
3271
- "dvh"
3272
- ] }],
3273
- "min-h": [{ "min-h": [
3274
- Z,
3275
- t,
3276
- "min",
3277
- "max",
3278
- "fit",
3279
- "svh",
3280
- "lvh",
3281
- "dvh"
3282
- ] }],
3283
- "max-h": [{ "max-h": [
3284
- Z,
3285
- t,
3286
- "min",
3287
- "max",
3288
- "fit",
3289
- "svh",
3290
- "lvh",
3291
- "dvh"
3292
- ] }],
3293
- size: [{ size: [
3294
- Z,
3295
- t,
3296
- "auto",
3297
- "min",
3298
- "max",
3299
- "fit"
3300
- ] }],
3301
- "font-size": [{ text: [
3302
- "base",
3303
- Yt,
3304
- X
3305
- ] }],
3306
- "font-smoothing": ["antialiased", "subpixel-antialiased"],
3307
- "font-style": ["italic", "not-italic"],
3308
- "font-weight": [{ font: [
3309
- "thin",
3310
- "extralight",
3311
- "light",
3312
- "normal",
3313
- "medium",
3314
- "semibold",
3315
- "bold",
3316
- "extrabold",
3317
- "black",
3318
- Kt
3319
- ] }],
3320
- "font-family": [{ font: [nn] }],
3321
- "fvn-normal": ["normal-nums"],
3322
- "fvn-ordinal": ["ordinal"],
3323
- "fvn-slashed-zero": ["slashed-zero"],
3324
- "fvn-figure": ["lining-nums", "oldstyle-nums"],
3325
- "fvn-spacing": ["proportional-nums", "tabular-nums"],
3326
- "fvn-fraction": ["diagonal-fractions", "stacked-fractons"],
3327
- tracking: [{ tracking: [
3328
- "tighter",
3329
- "tight",
3330
- "normal",
3331
- "wide",
3332
- "wider",
3333
- "widest",
3334
- Z
3335
- ] }],
3336
- "line-clamp": [{ "line-clamp": [
3337
- "none",
3338
- Gt,
3339
- Kt
3340
- ] }],
3341
- leading: [{ leading: [
3342
- "none",
3343
- "tight",
3344
- "snug",
3345
- "normal",
3346
- "relaxed",
3347
- "loose",
3348
- Y,
3349
- Z
3350
- ] }],
3351
- "list-image": [{ "list-image": ["none", Z] }],
3352
- "list-style-type": [{ list: [
3353
- "none",
3354
- "disc",
3355
- "decimal",
3356
- Z
3357
- ] }],
3358
- "list-style-position": [{ list: ["inside", "outside"] }],
3359
- "placeholder-color": [{ placeholder: [e] }],
3360
- "placeholder-opacity": [{ "placeholder-opacity": [_] }],
3361
- "text-alignment": [{ text: [
3362
- "left",
3363
- "center",
3364
- "right",
3365
- "justify",
3366
- "start",
3367
- "end"
3368
- ] }],
3369
- "text-color": [{ text: [e] }],
3370
- "text-opacity": [{ "text-opacity": [_] }],
3371
- "text-decoration": [
3372
- "underline",
3373
- "overline",
3374
- "line-through",
3375
- "no-underline"
3376
- ],
3377
- "text-decoration-style": [{ decoration: [...M(), "wavy"] }],
3378
- "text-decoration-thickness": [{ decoration: [
3379
- "auto",
3380
- "from-font",
3381
- Y,
3382
- X
3383
- ] }],
3384
- "underline-offset": [{ "underline-offset": [
3385
- "auto",
3386
- Y,
3387
- Z
3388
- ] }],
3389
- "text-decoration-color": [{ decoration: [e] }],
3390
- "text-transform": [
3391
- "uppercase",
3392
- "lowercase",
3393
- "capitalize",
3394
- "normal-case"
3395
- ],
3396
- "text-overflow": [
3397
- "truncate",
3398
- "text-ellipsis",
3399
- "text-clip"
3400
- ],
3401
- "text-wrap": [{ text: [
3402
- "wrap",
3403
- "nowrap",
3404
- "balance",
3405
- "pretty"
3406
- ] }],
3407
- indent: [{ indent: O() }],
3408
- "vertical-align": [{ align: [
3409
- "baseline",
3410
- "top",
3411
- "middle",
3412
- "bottom",
3413
- "text-top",
3414
- "text-bottom",
3415
- "sub",
3416
- "super",
3417
- Z
3418
- ] }],
3419
- whitespace: [{ whitespace: [
3420
- "normal",
3421
- "nowrap",
3422
- "pre",
3423
- "pre-line",
3424
- "pre-wrap",
3425
- "break-spaces"
3426
- ] }],
3427
- break: [{ break: [
3428
- "normal",
3429
- "words",
3430
- "all",
3431
- "keep"
3432
- ] }],
3433
- hyphens: [{ hyphens: [
3434
- "none",
3435
- "manual",
3436
- "auto"
3437
- ] }],
3438
- content: [{ content: ["none", Z] }],
3439
- "bg-attachment": [{ bg: [
3440
- "fixed",
3441
- "local",
3442
- "scroll"
3443
- ] }],
3444
- "bg-clip": [{ "bg-clip": [
3445
- "border",
3446
- "padding",
3447
- "content",
3448
- "text"
3449
- ] }],
3450
- "bg-opacity": [{ "bg-opacity": [_] }],
3451
- "bg-origin": [{ "bg-origin": [
3452
- "border",
3453
- "padding",
3454
- "content"
3455
- ] }],
3456
- "bg-position": [{ bg: [...j(), Qt] }],
3457
- "bg-repeat": [{ bg: ["no-repeat", { repeat: [
3458
- "",
3459
- "x",
3460
- "y",
3461
- "round",
3462
- "space"
3463
- ] }] }],
3464
- "bg-size": [{ bg: [
3465
- "auto",
3466
- "cover",
3467
- "contain",
3468
- Zt
3469
- ] }],
3470
- "bg-image": [{ bg: [
3471
- "none",
3472
- { "gradient-to": [
3473
- "t",
3474
- "tr",
3475
- "r",
3476
- "br",
3477
- "b",
3478
- "bl",
3479
- "l",
3480
- "tl"
3481
- ] },
3482
- en
3483
- ] }],
3484
- "bg-color": [{ bg: [e] }],
3485
- "gradient-from-pos": [{ from: [m] }],
3486
- "gradient-via-pos": [{ via: [m] }],
3487
- "gradient-to-pos": [{ to: [m] }],
3488
- "gradient-from": [{ from: [p] }],
3489
- "gradient-via": [{ via: [p] }],
3490
- "gradient-to": [{ to: [p] }],
3491
- rounded: [{ rounded: [a] }],
3492
- "rounded-s": [{ "rounded-s": [a] }],
3493
- "rounded-e": [{ "rounded-e": [a] }],
3494
- "rounded-t": [{ "rounded-t": [a] }],
3495
- "rounded-r": [{ "rounded-r": [a] }],
3496
- "rounded-b": [{ "rounded-b": [a] }],
3497
- "rounded-l": [{ "rounded-l": [a] }],
3498
- "rounded-ss": [{ "rounded-ss": [a] }],
3499
- "rounded-se": [{ "rounded-se": [a] }],
3500
- "rounded-ee": [{ "rounded-ee": [a] }],
3501
- "rounded-es": [{ "rounded-es": [a] }],
3502
- "rounded-tl": [{ "rounded-tl": [a] }],
3503
- "rounded-tr": [{ "rounded-tr": [a] }],
3504
- "rounded-br": [{ "rounded-br": [a] }],
3505
- "rounded-bl": [{ "rounded-bl": [a] }],
3506
- "border-w": [{ border: [s] }],
3507
- "border-w-x": [{ "border-x": [s] }],
3508
- "border-w-y": [{ "border-y": [s] }],
3509
- "border-w-s": [{ "border-s": [s] }],
3510
- "border-w-e": [{ "border-e": [s] }],
3511
- "border-w-t": [{ "border-t": [s] }],
3512
- "border-w-r": [{ "border-r": [s] }],
3513
- "border-w-b": [{ "border-b": [s] }],
3514
- "border-w-l": [{ "border-l": [s] }],
3515
- "border-opacity": [{ "border-opacity": [_] }],
3516
- "border-style": [{ border: [...M(), "hidden"] }],
3517
- "divide-x": [{ "divide-x": [s] }],
3518
- "divide-x-reverse": ["divide-x-reverse"],
3519
- "divide-y": [{ "divide-y": [s] }],
3520
- "divide-y-reverse": ["divide-y-reverse"],
3521
- "divide-opacity": [{ "divide-opacity": [_] }],
3522
- "divide-style": [{ divide: M() }],
3523
- "border-color": [{ border: [i] }],
3524
- "border-color-x": [{ "border-x": [i] }],
3525
- "border-color-y": [{ "border-y": [i] }],
3526
- "border-color-s": [{ "border-s": [i] }],
3527
- "border-color-e": [{ "border-e": [i] }],
3528
- "border-color-t": [{ "border-t": [i] }],
3529
- "border-color-r": [{ "border-r": [i] }],
3530
- "border-color-b": [{ "border-b": [i] }],
3531
- "border-color-l": [{ "border-l": [i] }],
3532
- "divide-color": [{ divide: [i] }],
3533
- "outline-style": [{ outline: ["", ...M()] }],
3534
- "outline-offset": [{ "outline-offset": [Y, Z] }],
3535
- "outline-w": [{ outline: [Y, X] }],
3536
- "outline-color": [{ outline: [e] }],
3537
- "ring-w": [{ ring: k() }],
3538
- "ring-w-inset": ["ring-inset"],
3539
- "ring-color": [{ ring: [e] }],
3540
- "ring-opacity": [{ "ring-opacity": [_] }],
3541
- "ring-offset-w": [{ "ring-offset": [Y, X] }],
3542
- "ring-offset-color": [{ "ring-offset": [e] }],
3543
- shadow: [{ shadow: [
3544
- "",
3545
- "inner",
3546
- "none",
3547
- Yt,
3548
- tn
3549
- ] }],
3550
- "shadow-color": [{ shadow: [nn] }],
3551
- opacity: [{ opacity: [_] }],
3552
- "mix-blend": [{ "mix-blend": [
3553
- ...N(),
3554
- "plus-lighter",
3555
- "plus-darker"
3556
- ] }],
3557
- "bg-blend": [{ "bg-blend": N() }],
3558
- filter: [{ filter: ["", "none"] }],
3559
- blur: [{ blur: [n] }],
3560
- brightness: [{ brightness: [r] }],
3561
- contrast: [{ contrast: [c] }],
3562
- "drop-shadow": [{ "drop-shadow": [
3563
- "",
3564
- "none",
3565
- Yt,
3566
- Z
3567
- ] }],
3568
- grayscale: [{ grayscale: [l] }],
3569
- "hue-rotate": [{ "hue-rotate": [u] }],
3570
- invert: [{ invert: [d] }],
3571
- saturate: [{ saturate: [y] }],
3572
- sepia: [{ sepia: [x] }],
3573
- "backdrop-filter": [{ "backdrop-filter": ["", "none"] }],
3574
- "backdrop-blur": [{ "backdrop-blur": [n] }],
3575
- "backdrop-brightness": [{ "backdrop-brightness": [r] }],
3576
- "backdrop-contrast": [{ "backdrop-contrast": [c] }],
3577
- "backdrop-grayscale": [{ "backdrop-grayscale": [l] }],
3578
- "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [u] }],
3579
- "backdrop-invert": [{ "backdrop-invert": [d] }],
3580
- "backdrop-opacity": [{ "backdrop-opacity": [_] }],
3581
- "backdrop-saturate": [{ "backdrop-saturate": [y] }],
3582
- "backdrop-sepia": [{ "backdrop-sepia": [x] }],
3583
- "border-collapse": [{ border: ["collapse", "separate"] }],
3584
- "border-spacing": [{ "border-spacing": [o] }],
3585
- "border-spacing-x": [{ "border-spacing-x": [o] }],
3586
- "border-spacing-y": [{ "border-spacing-y": [o] }],
3587
- "table-layout": [{ table: ["auto", "fixed"] }],
3588
- caption: [{ caption: ["top", "bottom"] }],
3589
- transition: [{ transition: [
3590
- "none",
3591
- "all",
3592
- "",
3593
- "colors",
3594
- "opacity",
3595
- "shadow",
3596
- "transform",
3597
- Z
3598
- ] }],
3599
- duration: [{ duration: L() }],
3600
- ease: [{ ease: [
3601
- "linear",
3602
- "in",
3603
- "out",
3604
- "in-out",
3605
- Z
3606
- ] }],
3607
- delay: [{ delay: L() }],
3608
- animate: [{ animate: [
3609
- "none",
3610
- "spin",
3611
- "ping",
3612
- "pulse",
3613
- "bounce",
3614
- Z
3615
- ] }],
3616
- transform: [{ transform: [
3617
- "",
3618
- "gpu",
3619
- "none"
3620
- ] }],
3621
- scale: [{ scale: [b] }],
3622
- "scale-x": [{ "scale-x": [b] }],
3623
- "scale-y": [{ "scale-y": [b] }],
3624
- rotate: [{ rotate: [qt, Z] }],
3625
- "translate-x": [{ "translate-x": [w] }],
3626
- "translate-y": [{ "translate-y": [w] }],
3627
- "skew-x": [{ "skew-x": [S] }],
3628
- "skew-y": [{ "skew-y": [S] }],
3629
- "transform-origin": [{ origin: [
3630
- "center",
3631
- "top",
3632
- "top-right",
3633
- "right",
3634
- "bottom-right",
3635
- "bottom",
3636
- "bottom-left",
3637
- "left",
3638
- "top-left",
3639
- Z
3640
- ] }],
3641
- accent: [{ accent: ["auto", e] }],
3642
- appearance: [{ appearance: ["none", "auto"] }],
3643
- cursor: [{ cursor: [
3644
- "auto",
3645
- "default",
3646
- "pointer",
3647
- "wait",
3648
- "text",
3649
- "move",
3650
- "help",
3651
- "not-allowed",
3652
- "none",
3653
- "context-menu",
3654
- "progress",
3655
- "cell",
3656
- "crosshair",
3657
- "vertical-text",
3658
- "alias",
3659
- "copy",
3660
- "no-drop",
3661
- "grab",
3662
- "grabbing",
3663
- "all-scroll",
3664
- "col-resize",
3665
- "row-resize",
3666
- "n-resize",
3667
- "e-resize",
3668
- "s-resize",
3669
- "w-resize",
3670
- "ne-resize",
3671
- "nw-resize",
3672
- "se-resize",
3673
- "sw-resize",
3674
- "ew-resize",
3675
- "ns-resize",
3676
- "nesw-resize",
3677
- "nwse-resize",
3678
- "zoom-in",
3679
- "zoom-out",
3680
- Z
3681
- ] }],
3682
- "caret-color": [{ caret: [e] }],
3683
- "pointer-events": [{ "pointer-events": ["none", "auto"] }],
3684
- resize: [{ resize: [
3685
- "none",
3686
- "y",
3687
- "x",
3688
- ""
3689
- ] }],
3690
- "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
3691
- "scroll-m": [{ "scroll-m": O() }],
3692
- "scroll-mx": [{ "scroll-mx": O() }],
3693
- "scroll-my": [{ "scroll-my": O() }],
3694
- "scroll-ms": [{ "scroll-ms": O() }],
3695
- "scroll-me": [{ "scroll-me": O() }],
3696
- "scroll-mt": [{ "scroll-mt": O() }],
3697
- "scroll-mr": [{ "scroll-mr": O() }],
3698
- "scroll-mb": [{ "scroll-mb": O() }],
3699
- "scroll-ml": [{ "scroll-ml": O() }],
3700
- "scroll-p": [{ "scroll-p": O() }],
3701
- "scroll-px": [{ "scroll-px": O() }],
3702
- "scroll-py": [{ "scroll-py": O() }],
3703
- "scroll-ps": [{ "scroll-ps": O() }],
3704
- "scroll-pe": [{ "scroll-pe": O() }],
3705
- "scroll-pt": [{ "scroll-pt": O() }],
3706
- "scroll-pr": [{ "scroll-pr": O() }],
3707
- "scroll-pb": [{ "scroll-pb": O() }],
3708
- "scroll-pl": [{ "scroll-pl": O() }],
3709
- "snap-align": [{ snap: [
3710
- "start",
3711
- "end",
3712
- "center",
3713
- "align-none"
3714
- ] }],
3715
- "snap-stop": [{ snap: ["normal", "always"] }],
3716
- "snap-type": [{ snap: [
3717
- "none",
3718
- "x",
3719
- "y",
3720
- "both"
3721
- ] }],
3722
- "snap-strictness": [{ snap: ["mandatory", "proximity"] }],
3723
- touch: [{ touch: [
3724
- "auto",
3725
- "none",
3726
- "manipulation"
3727
- ] }],
3728
- "touch-x": [{ "touch-pan": [
3729
- "x",
3730
- "left",
3731
- "right"
3732
- ] }],
3733
- "touch-y": [{ "touch-pan": [
3734
- "y",
3735
- "up",
3736
- "down"
3737
- ] }],
3738
- "touch-pz": ["touch-pinch-zoom"],
3739
- select: [{ select: [
3740
- "none",
3741
- "text",
3742
- "all",
3743
- "auto"
3744
- ] }],
3745
- "will-change": [{ "will-change": [
3746
- "auto",
3747
- "scroll",
3748
- "contents",
3749
- "transform",
3750
- Z
3751
- ] }],
3752
- fill: [{ fill: [e, "none"] }],
3753
- "stroke-w": [{ stroke: [
3754
- Y,
3755
- X,
3756
- Kt
3757
- ] }],
3758
- stroke: [{ stroke: [e, "none"] }],
3759
- sr: ["sr-only", "not-sr-only"],
3760
- "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
3761
- },
3762
- conflictingClassGroups: {
3763
- overflow: ["overflow-x", "overflow-y"],
3764
- overscroll: ["overscroll-x", "overscroll-y"],
3765
- inset: [
3766
- "inset-x",
3767
- "inset-y",
3768
- "start",
3769
- "end",
3770
- "top",
3771
- "right",
3772
- "bottom",
3773
- "left"
3774
- ],
3775
- "inset-x": ["right", "left"],
3776
- "inset-y": ["top", "bottom"],
3777
- flex: [
3778
- "basis",
3779
- "grow",
3780
- "shrink"
3781
- ],
3782
- gap: ["gap-x", "gap-y"],
3783
- p: [
3784
- "px",
3785
- "py",
3786
- "ps",
3787
- "pe",
3788
- "pt",
3789
- "pr",
3790
- "pb",
3791
- "pl"
3792
- ],
3793
- px: ["pr", "pl"],
3794
- py: ["pt", "pb"],
3795
- m: [
3796
- "mx",
3797
- "my",
3798
- "ms",
3799
- "me",
3800
- "mt",
3801
- "mr",
3802
- "mb",
3803
- "ml"
3804
- ],
3805
- mx: ["mr", "ml"],
3806
- my: ["mt", "mb"],
3807
- size: ["w", "h"],
3808
- "font-size": ["leading"],
3809
- "fvn-normal": [
3810
- "fvn-ordinal",
3811
- "fvn-slashed-zero",
3812
- "fvn-figure",
3813
- "fvn-spacing",
3814
- "fvn-fraction"
3815
- ],
3816
- "fvn-ordinal": ["fvn-normal"],
3817
- "fvn-slashed-zero": ["fvn-normal"],
3818
- "fvn-figure": ["fvn-normal"],
3819
- "fvn-spacing": ["fvn-normal"],
3820
- "fvn-fraction": ["fvn-normal"],
3821
- "line-clamp": ["display", "overflow"],
3822
- rounded: [
3823
- "rounded-s",
3824
- "rounded-e",
3825
- "rounded-t",
3826
- "rounded-r",
3827
- "rounded-b",
3828
- "rounded-l",
3829
- "rounded-ss",
3830
- "rounded-se",
3831
- "rounded-ee",
3832
- "rounded-es",
3833
- "rounded-tl",
3834
- "rounded-tr",
3835
- "rounded-br",
3836
- "rounded-bl"
3837
- ],
3838
- "rounded-s": ["rounded-ss", "rounded-es"],
3839
- "rounded-e": ["rounded-se", "rounded-ee"],
3840
- "rounded-t": ["rounded-tl", "rounded-tr"],
3841
- "rounded-r": ["rounded-tr", "rounded-br"],
3842
- "rounded-b": ["rounded-br", "rounded-bl"],
3843
- "rounded-l": ["rounded-tl", "rounded-bl"],
3844
- "border-spacing": ["border-spacing-x", "border-spacing-y"],
3845
- "border-w": [
3846
- "border-w-s",
3847
- "border-w-e",
3848
- "border-w-t",
3849
- "border-w-r",
3850
- "border-w-b",
3851
- "border-w-l"
3852
- ],
3853
- "border-w-x": ["border-w-r", "border-w-l"],
3854
- "border-w-y": ["border-w-t", "border-w-b"],
3855
- "border-color": [
3856
- "border-color-s",
3857
- "border-color-e",
3858
- "border-color-t",
3859
- "border-color-r",
3860
- "border-color-b",
3861
- "border-color-l"
3862
- ],
3863
- "border-color-x": ["border-color-r", "border-color-l"],
3864
- "border-color-y": ["border-color-t", "border-color-b"],
3865
- "scroll-m": [
3866
- "scroll-mx",
3867
- "scroll-my",
3868
- "scroll-ms",
3869
- "scroll-me",
3870
- "scroll-mt",
3871
- "scroll-mr",
3872
- "scroll-mb",
3873
- "scroll-ml"
3874
- ],
3875
- "scroll-mx": ["scroll-mr", "scroll-ml"],
3876
- "scroll-my": ["scroll-mt", "scroll-mb"],
3877
- "scroll-p": [
3878
- "scroll-px",
3879
- "scroll-py",
3880
- "scroll-ps",
3881
- "scroll-pe",
3882
- "scroll-pt",
3883
- "scroll-pr",
3884
- "scroll-pb",
3885
- "scroll-pl"
3886
- ],
3887
- "scroll-px": ["scroll-pr", "scroll-pl"],
3888
- "scroll-py": ["scroll-pt", "scroll-pb"],
3889
- touch: [
3890
- "touch-x",
3891
- "touch-y",
3892
- "touch-pz"
3893
- ],
3894
- "touch-x": ["touch"],
3895
- "touch-y": ["touch"],
3896
- "touch-pz": ["touch"]
3897
- },
3898
- conflictingClassGroupModifiers: { "font-size": ["leading"] }
3899
- };
3900
- }, un = (e, { cacheSize: t, prefix: n, separator: r, experimentalParseClassName: i, extend: a = {}, override: o = {} }) => {
3901
- dn(e, "cacheSize", t), dn(e, "prefix", n), dn(e, "separator", r), dn(e, "experimentalParseClassName", i);
3902
- for (let t in o) fn(e[t], o[t]);
3903
- for (let t in a) pn(e[t], a[t]);
3904
- return e;
3905
- }, dn = (e, t, n) => {
3906
- n !== void 0 && (e[t] = n);
3907
- }, fn = (e, t) => {
3908
- if (t) for (let n in t) dn(e, n, t[n]);
3909
- }, pn = (e, t) => {
3910
- if (t) for (let n in t) {
3911
- let r = t[n];
3912
- r !== void 0 && (e[n] = (e[n] || []).concat(r));
3913
- }
3914
- }, mn = (e, ...t) => typeof e == "function" ? It(ln, e, ...t) : It(() => un(ln(), e), ...t), hn = /*#__PURE__*/ It(ln), gn = {
3915
- twMerge: !0,
3916
- twMergeConfig: {},
3917
- responsiveVariants: !1
3918
- }, _n = (e) => e || void 0, vn = (...e) => _n(pt(e).filter(Boolean).join(" ")), yn = null, Q = {}, bn = !1, xn = (...e) => (t) => t.twMerge ? ((!yn || bn) && (bn = !1, yn = q(Q) ? hn : mn({
3919
- ...Q,
3920
- extend: {
3921
- theme: Q.theme,
3922
- classGroups: Q.classGroups,
3923
- conflictingClassGroupModifiers: Q.conflictingClassGroupModifiers,
3924
- conflictingClassGroups: Q.conflictingClassGroups,
3925
- ...Q.extend
3926
- }
3927
- })), _n(yn(vn(e)))) : vn(e), Sn = (e, t) => {
3928
- for (let n in t) e.hasOwnProperty(n) ? e[n] = vn(e[n], t[n]) : e[n] = t[n];
3929
- return e;
3930
- }, Cn = (e, t) => {
3931
- let { extend: n = null, slots: r = {}, variants: i = {}, compoundVariants: a = [], compoundSlots: o = [], defaultVariants: s = {} } = e, c = {
3932
- ...gn,
3933
- ...t
3934
- }, l = n != null && n.base ? vn(n.base, e?.base) : e?.base, u = n != null && n.variants && !q(n.variants) ? ht(i, n.variants) : i, d = n != null && n.defaultVariants && !q(n.defaultVariants) ? {
3935
- ...n.defaultVariants,
3936
- ...s
3937
- } : s;
3938
- !q(c.twMergeConfig) && !dt(c.twMergeConfig, Q) && (bn = !0, Q = c.twMergeConfig);
3939
- let f = q(n?.slots), p = q(r) ? {} : {
3940
- base: vn(e?.base, f && n?.base),
3941
- ...r
3942
- }, m = f ? p : Sn({ ...n?.slots }, q(p) ? { base: e?.base } : p), h = q(n?.compoundVariants) ? a : mt(n?.compoundVariants, a), g = (e) => {
3943
- if (q(u) && q(r) && f) return xn(l, e?.class, e?.className)(c);
3944
- if (h && !Array.isArray(h)) throw TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof h}`);
3945
- if (o && !Array.isArray(o)) throw TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof o}`);
3946
- let t = (e, t, n = [], r) => {
3947
- let i = n;
3948
- if (typeof t == "string") i = i.concat(gt(t).split(" ").map((t) => `${e}:${t}`));
3949
- else if (Array.isArray(t)) i = i.concat(t.reduce((t, n) => t.concat(`${e}:${n}`), []));
3950
- else if (typeof t == "object" && typeof r == "string") {
3951
- for (let n in t) if (t.hasOwnProperty(n) && n === r) {
3952
- let a = t[n];
3953
- if (a && typeof a == "string") {
3954
- let t = gt(a);
3955
- i[r] ? i[r] = i[r].concat(t.split(" ").map((t) => `${e}:${t}`)) : i[r] = t.split(" ").map((t) => `${e}:${t}`);
3956
- } else Array.isArray(a) && a.length > 0 && (i[r] = a.reduce((t, n) => t.concat(`${e}:${n}`), []));
3957
- }
3958
- }
3959
- return i;
3960
- }, n = (n, r = u, i = null, a = null) => {
3961
- let o = r[n];
3962
- if (!o || q(o)) return null;
3963
- let s = a?.[n] ?? e?.[n];
3964
- if (s === null) return null;
3965
- let l = ut(s), f = Array.isArray(c.responsiveVariants) && c.responsiveVariants.length > 0 || c.responsiveVariants === !0, p = d?.[n], m = [];
3966
- if (typeof l == "object" && f) for (let [e, n] of Object.entries(l)) {
3967
- let r = o[n];
3968
- if (e === "initial") {
3969
- p = n;
3970
- continue;
3971
- }
3972
- Array.isArray(c.responsiveVariants) && !c.responsiveVariants.includes(e) || (m = t(e, r, m, i));
3973
- }
3974
- let h = o[(l != null && typeof l != "object" ? l : ut(p)) || "false"];
3975
- return typeof m == "object" && typeof i == "string" && m[i] ? Sn(m, h) : m.length > 0 ? (m.push(h), i === "base" ? m.join(" ") : m) : h;
3976
- }, i = () => u ? Object.keys(u).map((e) => n(e, u)) : null, a = (e, t) => {
3977
- if (!u || typeof u != "object") return null;
3978
- let r = [];
3979
- for (let i in u) {
3980
- let a = n(i, u, e, t), o = e === "base" && typeof a == "string" ? a : a && a[e];
3981
- o && (r[r.length] = o);
3982
- }
3983
- return r;
3984
- }, s = {};
3985
- for (let t in e) e[t] !== void 0 && (s[t] = e[t]);
3986
- let p = (t, n) => {
3987
- let r = typeof e?.[t] == "object" ? { [t]: e[t]?.initial } : {};
3988
- return {
3989
- ...d,
3990
- ...s,
3991
- ...r,
3992
- ...n
3993
- };
3994
- }, g = (e = [], t) => {
3995
- let n = [];
3996
- for (let { class: r, className: i, ...a } of e) {
3997
- let e = !0;
3998
- for (let [n, r] of Object.entries(a)) {
3999
- let i = p(n, t)[n];
4000
- if (Array.isArray(r)) {
4001
- if (!r.includes(i)) {
4002
- e = !1;
4003
- break;
4004
- }
4005
- } else {
4006
- let t = (e) => e == null || e === !1;
4007
- if (t(r) && t(i)) continue;
4008
- if (i !== r) {
4009
- e = !1;
4010
- break;
4011
- }
4012
- }
4013
- }
4014
- e && (r && n.push(r), i && n.push(i));
4015
- }
4016
- return n;
4017
- }, _ = (e) => {
4018
- let t = g(h, e);
4019
- if (!Array.isArray(t)) return t;
4020
- let n = {};
4021
- for (let e of t) if (typeof e == "string" && (n.base = xn(n.base, e)(c)), typeof e == "object") for (let [t, r] of Object.entries(e)) n[t] = xn(n[t], r)(c);
4022
- return n;
4023
- }, v = (e) => {
4024
- if (o.length < 1) return null;
4025
- let t = {};
4026
- for (let { slots: n = [], class: r, className: i, ...a } of o) {
4027
- if (!q(a)) {
4028
- let t = !0;
4029
- for (let n of Object.keys(a)) {
4030
- let r = p(n, e)[n];
4031
- if (r === void 0 || (Array.isArray(a[n]) ? !a[n].includes(r) : a[n] !== r)) {
4032
- t = !1;
4033
- break;
4034
- }
4035
- }
4036
- if (!t) continue;
4037
- }
4038
- for (let e of n) t[e] = t[e] || [], t[e].push([r, i]);
4039
- }
4040
- return t;
4041
- };
4042
- if (!q(r) || !f) {
4043
- let e = {};
4044
- if (typeof m == "object" && !q(m)) for (let t of Object.keys(m)) e[t] = (e) => xn(m[t], a(t, e), (_(e) ?? [])[t], (v(e) ?? [])[t], e?.class, e?.className)(c);
4045
- return e;
4046
- }
4047
- return xn(l, i(), g(h), e?.class, e?.className)(c);
4048
- };
4049
- return g.variantKeys = (() => {
4050
- if (!(!u || typeof u != "object")) return Object.keys(u);
4051
- })(), g.extend = n, g.base = l, g.slots = m, g.variants = u, g.defaultVariants = d, g.compoundSlots = o, g.compoundVariants = h, g;
4052
- }, wn = Cn({
2
+ import e from "@bonprix-ds/react-icon";
3
+ import t from "@bonprix-ds/react-spinner";
4
+ import { twMerge as n } from "tailwind-merge";
5
+ import { useId as r, useState as i } from "react";
6
+ import { tv as a } from "tailwind-variants";
7
+ import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
8
+ import * as l from "@radix-ui/react-label";
9
+ //#region src/BaseButton.tsx
10
+ var u = a({
4053
11
  base: ["preflight rounded typography-button relative flex items-center justify-center gap-2 border border-transparent group/button", "focus-visible:outline outline-1 outline-offset-1 outline-clr-primary"],
4054
12
  slots: {
4055
13
  icon: "",
@@ -4310,43 +268,43 @@ var J = (e) => {
4310
268
  }
4311
269
  }
4312
270
  ]
4313
- }), Tn = ({ children: e, size: t = "medium", variant: n = "primary", contentWidth: r = !1, loading: s = !1, icon: c, iconPosition: l = "start", componentName: u, inverted: d = !1, component: f = "button", ...p }) => {
4314
- let m = f, { disabled: h = !1, className: g = "", ..._ } = p, v = h || s, y = u === "icon-button", { base: b, icon: x, contentWrapper: S, loader: C } = wn({
4315
- size: t,
4316
- contentWidth: r,
4317
- disabled: v,
4318
- iconButton: y,
4319
- iconPosition: l,
4320
- variant: n,
4321
- loading: s,
4322
- link: f !== "button",
4323
- inverted: d
4324
- }), w = /* @__PURE__ */ o(i, { children: [c && /* @__PURE__ */ a(_e, {
4325
- variant: c,
4326
- className: x()
4327
- }), y ? void 0 : e] }), T = w;
4328
- s && (T = /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a("span", {
4329
- className: S(),
4330
- children: w
4331
- }), /* @__PURE__ */ a("span", {
4332
- className: C(),
4333
- children: /* @__PURE__ */ a(ve, { edgeLength: y ? "1.25rem" : "1rem" })
271
+ }), d = ({ children: r, size: i = "medium", variant: a = "primary", contentWidth: l = !1, loading: d = !1, icon: f, iconPosition: p = "start", componentName: m, inverted: h = !1, component: g = "button", ..._ }) => {
272
+ let v = g, { disabled: y = !1, className: b = "", ...x } = _, S = y || d, C = m === "icon-button", { base: w, icon: T, contentWrapper: E, loader: D } = u({
273
+ size: i,
274
+ contentWidth: l,
275
+ disabled: S,
276
+ iconButton: C,
277
+ iconPosition: p,
278
+ variant: a,
279
+ loading: d,
280
+ link: g !== "button",
281
+ inverted: h
282
+ }), O = /* @__PURE__ */ c(o, { children: [f && /* @__PURE__ */ s(e, {
283
+ variant: f,
284
+ className: T()
285
+ }), C ? void 0 : r] }), k = O;
286
+ d && (k = /* @__PURE__ */ c(o, { children: [/* @__PURE__ */ s("span", {
287
+ className: E(),
288
+ children: O
289
+ }), /* @__PURE__ */ s("span", {
290
+ className: D(),
291
+ children: /* @__PURE__ */ s(t, { edgeLength: C ? "1.25rem" : "1rem" })
4334
292
  })] }));
4335
- let E;
4336
- return y && (E = e || "Icon"), /* @__PURE__ */ a(m, {
4337
- className: lt(b(), g),
4338
- disabled: f === "button" ? v : void 0,
4339
- ..._,
4340
- "aria-label": E,
4341
- "data-bpds": u,
4342
- "data-bpds-icon": c,
4343
- "data-bpds-size": t,
4344
- "data-bpds-content-width": u === "icon-button" ? void 0 : r,
4345
- "data-bpds-inverted": d,
4346
- "data-bpds-variant": n,
4347
- children: T
293
+ let A;
294
+ return C && (A = r || "Icon"), /* @__PURE__ */ s(v, {
295
+ className: n(w(), b),
296
+ disabled: g === "button" ? S : void 0,
297
+ ...x,
298
+ "aria-label": A,
299
+ "data-bpds": m,
300
+ "data-bpds-icon": f,
301
+ "data-bpds-size": i,
302
+ "data-bpds-content-width": m === "icon-button" ? void 0 : l,
303
+ "data-bpds-inverted": h,
304
+ "data-bpds-variant": a,
305
+ children: k
4348
306
  });
4349
- }, En = Cn({
307
+ }, f = a({
4350
308
  base: "preflight typography-input-text flex gap-2 items-start py-3 text-clr-on-bg-high relative",
4351
309
  slots: {
4352
310
  input: ["appearance-none relative w-6 h-6 rounded-sm border text-current cursor-pointer shrink-0", "focus-visible:outline focus-visible:outline-current focus-visible:outline-1 focus-visible:outline-offset-2"],
@@ -4366,226 +324,72 @@ var J = (e) => {
4366
324
  icon: "fill-clr-fg-error"
4367
325
  } }
4368
326
  }
4369
- }), Dn = ({ label: e, name: t, onChange: n, onBlur: i, id: s, value: c = e, required: l, disabled: u, error: d, errorText: f, helperText: p, helperTextId: m, errorTextId: h, rootRef: g, describedBy: _, ...v }) => {
4370
- let { base: y, input: b, icon: x } = En({
4371
- disabled: u,
4372
- error: d
4373
- }), S = "defaultChecked" in v, C = v.checked, [w, T] = r(() => S ? v.defaultChecked : C), E = S ? w : C, D;
4374
- return p && (D = m), d && f && (D = D ? D + " " + h : h), _ && (D = D ? D + " " + _ : _), /* @__PURE__ */ o("label", {
4375
- className: y(),
327
+ }), p = ({ label: t, name: n, onChange: r, onBlur: a, id: o, value: l = t, required: u, disabled: d, error: p, errorText: m, helperText: h, helperTextId: g, errorTextId: _, rootRef: v, describedBy: y, ...b }) => {
328
+ let { base: x, input: S, icon: C } = f({
329
+ disabled: d,
330
+ error: p
331
+ }), w = "defaultChecked" in b, T = b.checked, [E, D] = i(() => w ? b.defaultChecked : T), O = w ? E : T, k;
332
+ return h && (k = g), p && m && (k = k ? k + " " + _ : _), y && (k = k ? k + " " + y : y), /* @__PURE__ */ c("label", {
333
+ className: x(),
4376
334
  tabIndex: -1,
4377
335
  children: [
4378
- /* @__PURE__ */ a("input", {
4379
- className: b(),
336
+ /* @__PURE__ */ s("input", {
337
+ className: S(),
4380
338
  type: "checkbox",
4381
- checked: E,
339
+ checked: O,
4382
340
  onChange: (e) => {
4383
341
  let t = e.currentTarget.checked;
4384
- S && T(t), n?.(t);
342
+ w && D(t), r?.(t);
4385
343
  },
4386
344
  onBlur: (e) => {
4387
- if (i) {
345
+ if (a) {
4388
346
  if (e.relatedTarget?.contains(e.currentTarget)) {
4389
347
  e.preventDefault();
4390
348
  return;
4391
349
  }
4392
- i();
350
+ a();
4393
351
  }
4394
352
  },
4395
- value: c,
4396
- id: s,
4397
- name: t,
4398
- disabled: u,
4399
- ref: g,
4400
- required: l,
4401
- "aria-invalid": d ? "true" : void 0,
4402
- "aria-describedby": D
353
+ value: l,
354
+ id: o,
355
+ name: n,
356
+ disabled: d,
357
+ ref: v,
358
+ required: u,
359
+ "aria-invalid": p ? "true" : void 0,
360
+ "aria-describedby": k
4403
361
  }),
4404
- e,
4405
- E && /* @__PURE__ */ a(_e, {
362
+ t,
363
+ O && /* @__PURE__ */ s(e, {
4406
364
  variant: "check-bold",
4407
- className: x()
365
+ className: C()
4408
366
  })
4409
367
  ]
4410
368
  });
4411
- }, On = Cn({
369
+ }, m = a({
4412
370
  base: "preflight typography-input-helper-text w-full inline-block",
4413
371
  variants: { type: {
4414
372
  description: "text-clr-on-bg-mid",
4415
373
  error: "text-clr-fg-error"
4416
374
  } }
4417
- }), kn = ({ id: e, children: t, type: n = "description" }) => /* @__PURE__ */ a("p", {
4418
- id: e,
4419
- className: On({ type: n }),
4420
- children: t
4421
- }), An = Cn({ base: "preflight flex flex-col gap-1 w-full" }), jn = ({ helperText: e, helperTextId: t, error: n = !1, errorText: r, errorTextId: i, className: s = "" }) => /* @__PURE__ */ o("div", {
4422
- className: `${An()} ${s}`,
4423
- children: [e && /* @__PURE__ */ a(kn, {
375
+ }), h = ({ id: e, children: t, type: n = "description" }) => {
376
+ let r = m({ type: n });
377
+ return /* @__PURE__ */ s("p", {
378
+ id: e,
379
+ className: r,
380
+ children: t
381
+ });
382
+ }, g = a({ base: "preflight flex flex-col gap-1 w-full" }), _ = ({ helperText: e, helperTextId: t, error: n = !1, errorText: r, errorTextId: i, className: a = "" }) => /* @__PURE__ */ c("div", {
383
+ className: `${g()} ${a}`,
384
+ children: [e && /* @__PURE__ */ s(h, {
4424
385
  id: t,
4425
386
  children: e
4426
- }), n && r && /* @__PURE__ */ a(kn, {
387
+ }), n && r && /* @__PURE__ */ s(h, {
4427
388
  id: i,
4428
389
  type: "error",
4429
390
  children: r
4430
391
  })]
4431
- }), Mn = Object.defineProperty, Nn = (e, t) => Mn(e, "name", {
4432
- value: t,
4433
- configurable: !0
4434
- });
4435
- function Pn(e, t) {
4436
- if (typeof e == "function") return e(t);
4437
- e != null && (e.current = t);
4438
- }
4439
- Nn(Pn, "setRef");
4440
- function Fn(...e) {
4441
- return (t) => {
4442
- let n = !1, r = e.map((e) => {
4443
- let r = Pn(e, t);
4444
- return !n && typeof r == "function" && (n = !0), r;
4445
- });
4446
- if (n) return () => {
4447
- for (let t = 0; t < r.length; t++) {
4448
- let n = r[t];
4449
- typeof n == "function" ? n() : Pn(e[t], null);
4450
- }
4451
- };
4452
- };
4453
- }
4454
- Nn(Fn, "composeRefs");
4455
- function In(...e) {
4456
- return t.useCallback(Fn(...e), e);
4457
- }
4458
- Nn(In, "useComposedRefs");
4459
- //#endregion
4460
- //#region ../../node_modules/.pnpm/@radix-ui+react-slot@1.3.3_@types+react@19.2.17_react@19.2.8/node_modules/@radix-ui/react-slot/dist/index.mjs
4461
- var Ln = Object.defineProperty, $ = (e, t) => Ln(e, "name", {
4462
- value: t,
4463
- configurable: !0
4464
- });
4465
- // @__NO_SIDE_EFFECTS__
4466
- function Rn(e) {
4467
- let n = t.forwardRef((n, r) => {
4468
- let { children: i, ...a } = n, o = null, s = !1, c = [];
4469
- Kn(i) && typeof Xn == "function" && (i = Xn(i._payload)), t.Children.forEach(i, (e) => {
4470
- if (Wn(e)) {
4471
- s = !0;
4472
- let t = e, n = "child" in t.props ? t.props.child : t.props.children;
4473
- Kn(n) && typeof Xn == "function" && (n = Xn(n._payload)), o = Vn(t, n), c.push(o?.props?.children);
4474
- } else c.push(e);
4475
- }), o ? o = t.cloneElement(o, void 0, c) : !s && t.Children.count(i) === 1 && t.isValidElement(i) && (o = i);
4476
- let l = o ? Un(o) : void 0, u = In(r, l);
4477
- if (!o) {
4478
- if (i || i === 0) throw Error(s ? Yn(e) : Jn(e));
4479
- return i;
4480
- }
4481
- let d = Hn(a, o.props ?? {});
4482
- return o.type !== t.Fragment && (d.ref = r ? u : l), t.cloneElement(o, d);
4483
- });
4484
- return n.displayName = `${e}.Slot`, n;
4485
- }
4486
- $(Rn, "createSlot");
4487
- var zn = Symbol.for("radix.slottable");
4488
- // @__NO_SIDE_EFFECTS__
4489
- function Bn(e) {
4490
- let t = /* @__PURE__ */ $((e) => "child" in e ? e.children(e.child) : e.children, "Slottable");
4491
- return t.displayName = `${e}.Slottable`, t.__radixId = zn, t;
4492
- }
4493
- $(Bn, "createSlottable");
4494
- var Vn = /* @__PURE__ */ $((e, n) => {
4495
- if ("child" in e.props) {
4496
- let n = e.props.child;
4497
- return t.isValidElement(n) ? t.cloneElement(n, void 0, e.props.children(n.props.children)) : null;
4498
- }
4499
- return t.isValidElement(n) ? n : null;
4500
- }, "getSlottableElementFromSlottable");
4501
- function Hn(e, t) {
4502
- let n = { ...t };
4503
- for (let r in t) {
4504
- let i = e[r], a = t[r];
4505
- /^on[A-Z]/.test(r) ? i && a ? n[r] = (...e) => {
4506
- let t = a(...e);
4507
- return i(...e), t;
4508
- } : i && (n[r] = i) : r === "style" ? n[r] = {
4509
- ...i,
4510
- ...a
4511
- } : r === "className" && (n[r] = [i, a].filter(Boolean).join(" "));
4512
- }
4513
- return {
4514
- ...e,
4515
- ...n
4516
- };
4517
- }
4518
- $(Hn, "mergeProps");
4519
- function Un(e) {
4520
- let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
4521
- return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
4522
- }
4523
- $(Un, "getElementRef");
4524
- function Wn(e) {
4525
- return t.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === zn;
4526
- }
4527
- $(Wn, "isSlottable");
4528
- var Gn = Symbol.for("react.lazy");
4529
- function Kn(e) {
4530
- return typeof e == "object" && !!e && "$$typeof" in e && e.$$typeof === Gn && "_payload" in e && qn(e._payload);
4531
- }
4532
- $(Kn, "isLazyComponent");
4533
- function qn(e) {
4534
- return typeof e == "object" && !!e && "then" in e;
4535
- }
4536
- $(qn, "isPromiseLike");
4537
- var Jn = /* @__PURE__ */ $((e) => `${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`, "createSlotError"), Yn = /* @__PURE__ */ $((e) => `${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`, "createSlottableError"), Xn = t.use, Zn = Object.defineProperty, Qn = (e, t) => Zn(e, "name", {
4538
- value: t,
4539
- configurable: !0
4540
- }), $n = [
4541
- "a",
4542
- "button",
4543
- "div",
4544
- "form",
4545
- "h2",
4546
- "h3",
4547
- "img",
4548
- "input",
4549
- "label",
4550
- "li",
4551
- "nav",
4552
- "ol",
4553
- "p",
4554
- "select",
4555
- "span",
4556
- "svg",
4557
- "ul"
4558
- ].reduce((e, n) => {
4559
- let r = /* @__PURE__ */ Rn(`Primitive.${n}`), i = t.forwardRef((e, t) => {
4560
- let { asChild: i, ...o } = e, s = i ? r : n;
4561
- return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ a(s, {
4562
- ...o,
4563
- ref: t
4564
- });
4565
- });
4566
- return i.displayName = `Primitive.${n}`, {
4567
- ...e,
4568
- [n]: i
4569
- };
4570
- }, {});
4571
- function er(e, t) {
4572
- e && s.flushSync(() => e.dispatchEvent(t));
4573
- }
4574
- Qn(er, "dispatchDiscreteCustomEvent");
4575
- //#endregion
4576
- //#region ../../node_modules/.pnpm/@radix-ui+react-label@2.1.15_@types+react-dom@19.2.3_@types+react@19.2.17__@types+react_47bfbc0ebd7e3b516270b1b15948c886/node_modules/@radix-ui/react-label/dist/index.mjs
4577
- var tr = Object.defineProperty, nr = /* @__PURE__ */ t.forwardRef(/* @__PURE__ */ ((e, t) => tr(e, "name", {
4578
- value: t,
4579
- configurable: !0
4580
- }))(function(e, t) {
4581
- return /* @__PURE__ */ a($n.label, {
4582
- ...e,
4583
- ref: t,
4584
- onMouseDown: (t) => {
4585
- t.target.closest("button, input, select, textarea") || (e.onMouseDown?.(t), !t.defaultPrevented && t.detail > 1 && t.preventDefault());
4586
- }
4587
- });
4588
- }, "Label")), rr = Cn({
392
+ }), v = a({
4589
393
  slots: {
4590
394
  root: [
4591
395
  "preflight relative text-clr-primary fill-clr-primary pt-5",
@@ -4630,6 +434,7 @@ var tr = Object.defineProperty, nr = /* @__PURE__ */ t.forwardRef(/* @__PURE__ *
4630
434
  "password-field": "",
4631
435
  "text-field": "",
4632
436
  "search-field": "",
437
+ "email-field": "",
4633
438
  textarea: ""
4634
439
  },
4635
440
  helperTextSectionVisible: {
@@ -4646,74 +451,74 @@ var tr = Object.defineProperty, nr = /* @__PURE__ */ t.forwardRef(/* @__PURE__ *
4646
451
  ],
4647
452
  class: { inputLabel: "pe-7" }
4648
453
  }]
4649
- }), ir = ({ children: e, id: t, label: n, labelFloated: r, disabled: i, required: s, componentName: c, helperText: l, helperTextId: u, error: d, errorText: f, errorTextId: p, labelClassName: m = "" }) => {
4650
- let { root: h, inputWrapper: g, inputLabel: _, helperTextSection: v, stateIndicator: y } = rr({
454
+ }), y = ({ children: e, id: t, label: n, labelFloated: r, disabled: i, required: a, componentName: o, helperText: u, helperTextId: d, error: f, errorText: p, errorTextId: m, labelClassName: h = "" }) => {
455
+ let { root: g, inputWrapper: y, inputLabel: b, helperTextSection: x, stateIndicator: S } = v({
4651
456
  labelFloated: r,
4652
457
  disabled: i,
4653
- error: d,
4654
- componentName: c,
4655
- helperTextSectionVisible: !!(l || d && f)
458
+ error: f,
459
+ componentName: o,
460
+ helperTextSectionVisible: !!(u || f && p)
4656
461
  });
4657
- return /* @__PURE__ */ o("div", {
4658
- className: h(),
4659
- "data-bpds": c,
462
+ return /* @__PURE__ */ c("div", {
463
+ className: g(),
464
+ "data-bpds": o,
4660
465
  children: [
4661
- /* @__PURE__ */ o("div", {
4662
- className: g(),
466
+ /* @__PURE__ */ c("div", {
467
+ className: y(),
4663
468
  "aria-disabled": i,
4664
- children: [e, /* @__PURE__ */ a("div", { className: y() })]
469
+ children: [e, /* @__PURE__ */ s("div", { className: S() })]
4665
470
  }),
4666
- /* @__PURE__ */ o(nr, {
471
+ /* @__PURE__ */ c(l.Root, {
4667
472
  htmlFor: t,
4668
- className: `${_()} ${m}`,
4669
- children: [n, s && /* @__PURE__ */ a("span", {
473
+ className: `${b()} ${h}`,
474
+ children: [n, a && /* @__PURE__ */ s("span", {
4670
475
  "aria-hidden": "true",
4671
476
  children: "*"
4672
477
  })]
4673
478
  }),
4674
- /* @__PURE__ */ a(jn, {
4675
- className: v(),
4676
- helperText: l,
4677
- helperTextId: u,
4678
- error: d,
4679
- errorText: f,
4680
- errorTextId: p
479
+ /* @__PURE__ */ s(_, {
480
+ className: x(),
481
+ helperText: u,
482
+ helperTextId: d,
483
+ error: f,
484
+ errorText: p,
485
+ errorTextId: m
4681
486
  })
4682
487
  ]
4683
488
  });
4684
- }, ar = Cn({
489
+ }, b = a({
4685
490
  base: "preflight min-w-0",
4686
491
  slots: { label: "typography-input-label text-clr-on-bg-mid truncate inline-block w-full" },
4687
492
  variants: { horizontalPadding: { true: { base: "px-3" } } }
4688
- }), or = ({ label: e, children: t, error: r = !1, errorText: i = "", disabled: s = !1, helperText: c = "", required: l = !1, divider: u = !1, horizontalPadding: d = !1, "aria-label": f, "aria-labelledby": p, componentName: m }) => {
4689
- let { base: h, label: g } = ar({ horizontalPadding: d }), _ = n(), v = n(), y;
4690
- return c && (y = _), r && i && (y = y ? y + " " + v : v), /* @__PURE__ */ o("fieldset", {
493
+ }), x = ({ label: e, children: t, error: n = !1, errorText: i = "", disabled: a = !1, helperText: o = "", required: l = !1, divider: u = !1, horizontalPadding: d = !1, "aria-label": f, "aria-labelledby": p, componentName: m }) => {
494
+ let { base: h, label: g } = b({ horizontalPadding: d }), v = r(), y = r(), x;
495
+ return o && (x = v), n && i && (x = x ? x + " " + y : y), /* @__PURE__ */ c("fieldset", {
4691
496
  className: h(),
4692
- disabled: s,
497
+ disabled: a,
4693
498
  "data-bpds": m,
4694
499
  "data-bpds-has-divider": u ? "true" : "false",
4695
500
  "data-bpds-has-horizontal-padding": d ? "true" : "false",
4696
- "aria-describedby": y,
4697
- "aria-invalid": r ? "true" : void 0,
501
+ "aria-describedby": x,
502
+ "aria-invalid": n ? "true" : void 0,
4698
503
  "aria-label": f,
4699
504
  "aria-labelledby": p,
4700
505
  children: [
4701
- e && /* @__PURE__ */ o("legend", {
506
+ e && /* @__PURE__ */ c("legend", {
4702
507
  className: g(),
4703
- children: [e, l && /* @__PURE__ */ a("span", { children: "*" })]
508
+ children: [e, l && /* @__PURE__ */ s("span", { children: "*" })]
4704
509
  }),
4705
510
  t,
4706
- /* @__PURE__ */ a(jn, {
4707
- helperText: c,
4708
- error: r,
511
+ /* @__PURE__ */ s(_, {
512
+ helperText: o,
513
+ error: n,
4709
514
  errorText: i,
4710
- helperTextId: _,
4711
- errorTextId: v
515
+ helperTextId: v,
516
+ errorTextId: y
4712
517
  })
4713
518
  ]
4714
519
  });
4715
520
  };
4716
521
  //#endregion
4717
- export { Tn as BaseButton, Dn as CheckboxBase, kn as InputHelperText, jn as InputHelperTextSection, ir as InputWrapper, or as SelectionControlGroup };
522
+ export { d as BaseButton, p as CheckboxBase, h as InputHelperText, _ as InputHelperTextSection, y as InputWrapper, x as SelectionControlGroup };
4718
523
 
4719
524
  //# sourceMappingURL=index.js.map