opsfuse-ui 0.1.28 → 0.1.29
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/components/ui/sonner.d.ts +41 -3
- package/dist/components/ui/sonner.d.ts.map +1 -1
- package/dist/core.js +3 -3
- package/dist/extended.js +2 -2
- package/dist/index.js +54 -54
- package/dist/{input-group-X3fuX86H.js → input-group-BUy6rpQX.js} +380 -169
- package/dist/{input-otp-DrVB1OD2.js → input-otp-BVj0dmTF.js} +299 -299
- package/dist/style.css +1 -1
- package/dist/{toggle-group-DYoC1Lda.js → toggle-group-CU4v7h-z.js} +1323 -1480
- package/package.json +1 -1
|
@@ -1,94 +1,94 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { CheckIcon as y, ChevronDownIcon as b, ChevronLeftIcon as
|
|
4
|
-
import * as
|
|
5
|
-
import
|
|
6
|
-
import { Fragment as
|
|
7
|
-
import { cva as
|
|
8
|
-
import { Accordion as
|
|
9
|
-
import * as
|
|
2
|
+
import { D as e, H as t, J as n, K as r, V as i, Y as a, Z as o, _ as s, b as c, c as l, et as u, f as d, g as f, h as p, l as m, m as h, p as g, q as _, u as v, x as ee } from "./input-group-BUy6rpQX.js";
|
|
3
|
+
import { CheckIcon as y, ChevronDownIcon as b, ChevronLeftIcon as te, ChevronRightIcon as x, ChevronUpIcon as ne, MoreHorizontalIcon as re, PanelLeftIcon as S, SparklesIcon as ie, XIcon as C } from "lucide-react";
|
|
4
|
+
import * as w from "react";
|
|
5
|
+
import ae, { useId as oe, useMemo as T } from "react";
|
|
6
|
+
import { Fragment as E, jsx as D, jsxs as O } from "react/jsx-runtime";
|
|
7
|
+
import { cva as k } from "class-variance-authority";
|
|
8
|
+
import { Accordion as A, AspectRatio as se, Avatar as j, Checkbox as ce, Collapsible as M, ContextMenu as N, Dialog as P, Direction as F, DropdownMenu as I, HoverCard as L, Menubar as R, NavigationMenu as z, Popover as B, Progress as le, RadioGroup as ue, ScrollArea as V, Select as H, Separator as de, Slider as U, Slot as W, Switch as fe, Tabs as G, Toggle as pe, ToggleGroup as me, Tooltip as K } from "radix-ui";
|
|
9
|
+
import * as he from "react-resizable-panels";
|
|
10
10
|
//#region src/components/logo/LogoMaker.tsx
|
|
11
|
-
var
|
|
12
|
-
let
|
|
13
|
-
return /* @__PURE__ */
|
|
11
|
+
var q = ({ size: e = 32, fit: t = !0, showLogo: n = !0, brandFontSize: r = 28, productFontSize: i = 14, viewBoxX: a = 0, viewBoxY: o = 0, viewBoxWidth: s = 480, viewBoxHeight: c, iconViewBox: l, primary: d, primaryDeep: f, gradient: p, reverseGradient: m = !1, textStartX: h, mark: g, markTransform: _, productLabel: v, brandY: ee, dividerY: y, productY: b, style: te, className: x, width: ne, height: re, onlyIcon: S = !1, ...ie }) => {
|
|
12
|
+
let C = oe().replace(/:/g, ""), w = `${C}-mark`, ae = `${C}-brand-text`, T = S ? l : void 0, k = T ? T[0] : a, A = T ? T[1] : o, se = T ? T[2] : S ? c : s, j = T ? T[2] : c, ce = ne ?? (typeof e == "number" && !t ? e : void 0), M = re ?? (typeof e == "number" ? t ? e : e * j / se : void 0), N = n ? h ?? 80 : 20, P = typeof v == "string" && v.length > 0 && typeof y == "number" && typeof b == "number", F = ie["aria-label"] ?? (v ? `RecruitSmartly ${v}` : "RecruitSmartly");
|
|
13
|
+
return /* @__PURE__ */ O("svg", {
|
|
14
14
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
-
viewBox: `${
|
|
16
|
-
width:
|
|
17
|
-
height:
|
|
18
|
-
className:
|
|
15
|
+
viewBox: `${k} ${A} ${se} ${j}`,
|
|
16
|
+
width: ce,
|
|
17
|
+
height: M,
|
|
18
|
+
className: u(t && "w-fit shrink-0", x),
|
|
19
19
|
role: "img",
|
|
20
20
|
focusable: "false",
|
|
21
|
-
"aria-label":
|
|
22
|
-
...
|
|
21
|
+
"aria-label": F,
|
|
22
|
+
...ie,
|
|
23
23
|
style: {
|
|
24
24
|
"--primary": d,
|
|
25
25
|
"--primary-deep": f,
|
|
26
|
-
...
|
|
26
|
+
...te
|
|
27
27
|
},
|
|
28
28
|
children: [
|
|
29
|
-
/* @__PURE__ */
|
|
30
|
-
/* @__PURE__ */
|
|
31
|
-
id:
|
|
29
|
+
/* @__PURE__ */ D("title", { children: F }),
|
|
30
|
+
/* @__PURE__ */ O("defs", { children: [/* @__PURE__ */ O("linearGradient", {
|
|
31
|
+
id: w,
|
|
32
32
|
...p,
|
|
33
|
-
children: [/* @__PURE__ */
|
|
33
|
+
children: [/* @__PURE__ */ D("stop", {
|
|
34
34
|
offset: "0%",
|
|
35
35
|
stopColor: m ? "var(--primary-deep)" : "var(--primary)"
|
|
36
|
-
}), /* @__PURE__ */
|
|
36
|
+
}), /* @__PURE__ */ D("stop", {
|
|
37
37
|
offset: "100%",
|
|
38
38
|
stopColor: m ? "var(--primary)" : "var(--primary-deep)",
|
|
39
39
|
opacity: "0.1"
|
|
40
40
|
})]
|
|
41
|
-
}), /* @__PURE__ */
|
|
42
|
-
id:
|
|
41
|
+
}), /* @__PURE__ */ O("linearGradient", {
|
|
42
|
+
id: ae,
|
|
43
43
|
x1: "0%",
|
|
44
44
|
y1: "50%",
|
|
45
45
|
x2: "0%",
|
|
46
46
|
y2: "100%",
|
|
47
47
|
gradientUnits: "objectBoundingBox",
|
|
48
|
-
children: [/* @__PURE__ */
|
|
48
|
+
children: [/* @__PURE__ */ D("stop", {
|
|
49
49
|
offset: "0%",
|
|
50
50
|
stopColor: "var(--primary)"
|
|
51
|
-
}), /* @__PURE__ */
|
|
51
|
+
}), /* @__PURE__ */ D("stop", {
|
|
52
52
|
offset: "100%",
|
|
53
53
|
stopColor: "var(--foreground)",
|
|
54
54
|
style: { opacity: .1 }
|
|
55
55
|
})]
|
|
56
56
|
})] }),
|
|
57
|
-
|
|
57
|
+
n ? _ ? /* @__PURE__ */ D("g", {
|
|
58
58
|
transform: _,
|
|
59
|
-
children: g(
|
|
60
|
-
}) : g(
|
|
61
|
-
!
|
|
62
|
-
x:
|
|
63
|
-
y,
|
|
59
|
+
children: g(w)
|
|
60
|
+
}) : g(w) : null,
|
|
61
|
+
!S && /* @__PURE__ */ O("text", {
|
|
62
|
+
x: N,
|
|
63
|
+
y: ee,
|
|
64
64
|
fontFamily: "var(--font-sans)",
|
|
65
|
-
fontSize:
|
|
65
|
+
fontSize: r,
|
|
66
66
|
letterSpacing: "-0.4",
|
|
67
|
-
children: [/* @__PURE__ */
|
|
67
|
+
children: [/* @__PURE__ */ D("tspan", {
|
|
68
68
|
fontWeight: "600",
|
|
69
69
|
fill: "var(--foreground)",
|
|
70
70
|
opacity: "0.9",
|
|
71
71
|
children: "Recruit"
|
|
72
|
-
}), /* @__PURE__ */
|
|
72
|
+
}), /* @__PURE__ */ D("tspan", {
|
|
73
73
|
fontWeight: "800",
|
|
74
74
|
fill: "var(--primary)",
|
|
75
75
|
children: "Smartly"
|
|
76
76
|
})]
|
|
77
77
|
}),
|
|
78
|
-
!
|
|
79
|
-
x1:
|
|
80
|
-
y1:
|
|
81
|
-
x2:
|
|
82
|
-
y2:
|
|
78
|
+
!S && P ? /* @__PURE__ */ O(E, { children: [/* @__PURE__ */ D("line", {
|
|
79
|
+
x1: N,
|
|
80
|
+
y1: y,
|
|
81
|
+
x2: N + 52,
|
|
82
|
+
y2: y,
|
|
83
83
|
stroke: "var(--primary)",
|
|
84
84
|
strokeWidth: "1.5",
|
|
85
85
|
opacity: "0.5",
|
|
86
86
|
strokeLinecap: "round"
|
|
87
|
-
}), /* @__PURE__ */
|
|
88
|
-
x:
|
|
89
|
-
y:
|
|
87
|
+
}), /* @__PURE__ */ D("text", {
|
|
88
|
+
x: N,
|
|
89
|
+
y: b,
|
|
90
90
|
fontFamily: "var(--font-body)",
|
|
91
|
-
fontSize:
|
|
91
|
+
fontSize: i,
|
|
92
92
|
fontWeight: "800",
|
|
93
93
|
fill: "var(--primary)",
|
|
94
94
|
letterSpacing: "1.5",
|
|
@@ -96,7 +96,7 @@ var J = ({ size: t = 32, fit: n = !0, showLogo: r = !0, brandFontSize: i = 28, p
|
|
|
96
96
|
})] }) : null
|
|
97
97
|
]
|
|
98
98
|
});
|
|
99
|
-
},
|
|
99
|
+
}, ge = ({ ...e }) => /* @__PURE__ */ D(q, {
|
|
100
100
|
viewBoxY: 23.4,
|
|
101
101
|
viewBoxX: 24.5,
|
|
102
102
|
viewBoxWidth: 255,
|
|
@@ -118,10 +118,10 @@ var J = ({ size: t = 32, fit: n = !0, showLogo: r = !0, brandFontSize: i = 28, p
|
|
|
118
118
|
x2: "1",
|
|
119
119
|
y2: "1"
|
|
120
120
|
},
|
|
121
|
-
mark: (e) => /* @__PURE__ */
|
|
121
|
+
mark: (e) => /* @__PURE__ */ O("g", {
|
|
122
122
|
transform: "translate(22 16)",
|
|
123
123
|
children: [
|
|
124
|
-
/* @__PURE__ */
|
|
124
|
+
/* @__PURE__ */ D("rect", {
|
|
125
125
|
x: "0",
|
|
126
126
|
y: "6",
|
|
127
127
|
width: "38",
|
|
@@ -131,7 +131,7 @@ var J = ({ size: t = 32, fit: n = !0, showLogo: r = !0, brandFontSize: i = 28, p
|
|
|
131
131
|
opacity: "0.22",
|
|
132
132
|
transform: "rotate(-8 16 22)"
|
|
133
133
|
}),
|
|
134
|
-
/* @__PURE__ */
|
|
134
|
+
/* @__PURE__ */ D("rect", {
|
|
135
135
|
x: "14",
|
|
136
136
|
y: "10",
|
|
137
137
|
width: "40",
|
|
@@ -140,7 +140,7 @@ var J = ({ size: t = 32, fit: n = !0, showLogo: r = !0, brandFontSize: i = 28, p
|
|
|
140
140
|
fill: `url(#${e})`,
|
|
141
141
|
transform: "rotate(8 30 26)"
|
|
142
142
|
}),
|
|
143
|
-
/* @__PURE__ */
|
|
143
|
+
/* @__PURE__ */ D(ie, {
|
|
144
144
|
x: "26",
|
|
145
145
|
y: "22",
|
|
146
146
|
width: "18",
|
|
@@ -152,7 +152,7 @@ var J = ({ size: t = 32, fit: n = !0, showLogo: r = !0, brandFontSize: i = 28, p
|
|
|
152
152
|
]
|
|
153
153
|
}),
|
|
154
154
|
...e
|
|
155
|
-
}),
|
|
155
|
+
}), _e = ({ ...e }) => /* @__PURE__ */ D(q, {
|
|
156
156
|
viewBoxY: 35.2,
|
|
157
157
|
viewBoxWidth: 182.6,
|
|
158
158
|
viewBoxX: 31.6,
|
|
@@ -178,10 +178,10 @@ var J = ({ size: t = 32, fit: n = !0, showLogo: r = !0, brandFontSize: i = 28, p
|
|
|
178
178
|
},
|
|
179
179
|
reverseGradient: !0,
|
|
180
180
|
markTransform: "translate(43 52) scale(0.75) translate(-43 -52)",
|
|
181
|
-
mark: (e) => /* @__PURE__ */
|
|
181
|
+
mark: (e) => /* @__PURE__ */ O("g", {
|
|
182
182
|
transform: "translate(10 16)",
|
|
183
183
|
children: [
|
|
184
|
-
/* @__PURE__ */
|
|
184
|
+
/* @__PURE__ */ D("rect", {
|
|
185
185
|
x: "18",
|
|
186
186
|
y: "48",
|
|
187
187
|
width: "14",
|
|
@@ -190,7 +190,7 @@ var J = ({ size: t = 32, fit: n = !0, showLogo: r = !0, brandFontSize: i = 28, p
|
|
|
190
190
|
fill: "var(--primary)",
|
|
191
191
|
opacity: "0.25"
|
|
192
192
|
}),
|
|
193
|
-
/* @__PURE__ */
|
|
193
|
+
/* @__PURE__ */ D("rect", {
|
|
194
194
|
x: "36",
|
|
195
195
|
y: "34",
|
|
196
196
|
width: "14",
|
|
@@ -199,7 +199,7 @@ var J = ({ size: t = 32, fit: n = !0, showLogo: r = !0, brandFontSize: i = 28, p
|
|
|
199
199
|
fill: "var(--primary)",
|
|
200
200
|
opacity: "0.55"
|
|
201
201
|
}),
|
|
202
|
-
/* @__PURE__ */
|
|
202
|
+
/* @__PURE__ */ D("rect", {
|
|
203
203
|
x: "54",
|
|
204
204
|
y: "16",
|
|
205
205
|
width: "14",
|
|
@@ -210,7 +210,7 @@ var J = ({ size: t = 32, fit: n = !0, showLogo: r = !0, brandFontSize: i = 28, p
|
|
|
210
210
|
]
|
|
211
211
|
}),
|
|
212
212
|
...e
|
|
213
|
-
}),
|
|
213
|
+
}), ve = ({ ...e }) => /* @__PURE__ */ D(q, {
|
|
214
214
|
viewBoxY: 35.2,
|
|
215
215
|
viewBoxWidth: 183.8,
|
|
216
216
|
viewBoxX: 31,
|
|
@@ -236,10 +236,10 @@ var J = ({ size: t = 32, fit: n = !0, showLogo: r = !0, brandFontSize: i = 28, p
|
|
|
236
236
|
},
|
|
237
237
|
reverseGradient: !0,
|
|
238
238
|
markTransform: "translate(43 52) scale(0.75) translate(-43 -52)",
|
|
239
|
-
mark: (e) => /* @__PURE__ */
|
|
239
|
+
mark: (e) => /* @__PURE__ */ O("g", {
|
|
240
240
|
transform: "translate(10 16)",
|
|
241
241
|
children: [
|
|
242
|
-
/* @__PURE__ */
|
|
242
|
+
/* @__PURE__ */ D("circle", {
|
|
243
243
|
cx: "42",
|
|
244
244
|
cy: "40",
|
|
245
245
|
r: "22",
|
|
@@ -247,14 +247,14 @@ var J = ({ size: t = 32, fit: n = !0, showLogo: r = !0, brandFontSize: i = 28, p
|
|
|
247
247
|
stroke: `url(#${e})`,
|
|
248
248
|
strokeWidth: "4.2"
|
|
249
249
|
}),
|
|
250
|
-
/* @__PURE__ */
|
|
250
|
+
/* @__PURE__ */ D("circle", {
|
|
251
251
|
cx: "42",
|
|
252
252
|
cy: "40",
|
|
253
253
|
r: "16.5",
|
|
254
254
|
fill: "var(--primary)",
|
|
255
255
|
opacity: "0.1"
|
|
256
256
|
}),
|
|
257
|
-
/* @__PURE__ */
|
|
257
|
+
/* @__PURE__ */ D("path", {
|
|
258
258
|
d: "M54 17 A26 26 0 0 1 67 34",
|
|
259
259
|
fill: "none",
|
|
260
260
|
stroke: "var(--primary)",
|
|
@@ -262,7 +262,7 @@ var J = ({ size: t = 32, fit: n = !0, showLogo: r = !0, brandFontSize: i = 28, p
|
|
|
262
262
|
strokeLinecap: "round",
|
|
263
263
|
opacity: "0.6"
|
|
264
264
|
}),
|
|
265
|
-
/* @__PURE__ */
|
|
265
|
+
/* @__PURE__ */ D("rect", {
|
|
266
266
|
x: "18",
|
|
267
267
|
y: "70",
|
|
268
268
|
width: "18",
|
|
@@ -271,44 +271,44 @@ var J = ({ size: t = 32, fit: n = !0, showLogo: r = !0, brandFontSize: i = 28, p
|
|
|
271
271
|
fill: "var(--primary-deep)",
|
|
272
272
|
transform: "rotate(30 80 140)"
|
|
273
273
|
}),
|
|
274
|
-
/* @__PURE__ */
|
|
274
|
+
/* @__PURE__ */ D("circle", {
|
|
275
275
|
cx: "34.5",
|
|
276
276
|
cy: "36.2",
|
|
277
277
|
r: "3.6",
|
|
278
278
|
fill: "var(--primary)",
|
|
279
279
|
opacity: "0.6"
|
|
280
280
|
}),
|
|
281
|
-
/* @__PURE__ */
|
|
281
|
+
/* @__PURE__ */ D("circle", {
|
|
282
282
|
cx: "42",
|
|
283
283
|
cy: "34.1",
|
|
284
284
|
r: "4.7",
|
|
285
285
|
fill: `url(#${e})`
|
|
286
286
|
}),
|
|
287
|
-
/* @__PURE__ */
|
|
287
|
+
/* @__PURE__ */ D("circle", {
|
|
288
288
|
cx: "49.5",
|
|
289
289
|
cy: "36.2",
|
|
290
290
|
r: "3.6",
|
|
291
291
|
fill: "var(--primary)",
|
|
292
292
|
opacity: "0.6"
|
|
293
293
|
}),
|
|
294
|
-
/* @__PURE__ */
|
|
294
|
+
/* @__PURE__ */ D("path", {
|
|
295
295
|
d: "M30.2 51.5 V49.6 C30.2 45.8 33.5 43.6 37.2 43.6 C39.5 43.6 41.4 44.4 42.8 45.8 C41.3 47.3 40.4 49.3 40.4 51.5 Z",
|
|
296
296
|
fill: "var(--primary)",
|
|
297
297
|
opacity: "0.45"
|
|
298
298
|
}),
|
|
299
|
-
/* @__PURE__ */
|
|
299
|
+
/* @__PURE__ */ D("path", {
|
|
300
300
|
d: "M43.6 51.5 C43.6 49.3 42.7 47.3 41.2 45.8 C42.6 44.4 44.5 43.6 46.8 43.6 C50.5 43.6 53.8 45.8 53.8 49.6 V51.5 Z",
|
|
301
301
|
fill: "var(--primary)",
|
|
302
302
|
opacity: "0.45"
|
|
303
303
|
}),
|
|
304
|
-
/* @__PURE__ */
|
|
304
|
+
/* @__PURE__ */ D("path", {
|
|
305
305
|
d: "M35.6 52 V49.2 C35.6 44.7 39 41.6 42 41.6 C45 41.6 48.4 44.7 48.4 49.2 V52 Z",
|
|
306
306
|
fill: `url(#${e})`
|
|
307
307
|
})
|
|
308
308
|
]
|
|
309
309
|
}),
|
|
310
310
|
...e
|
|
311
|
-
}),
|
|
311
|
+
}), ye = ({ ...e }) => /* @__PURE__ */ D(q, {
|
|
312
312
|
viewBoxY: 36.6,
|
|
313
313
|
viewBoxWidth: 147.2,
|
|
314
314
|
viewBoxX: 31.8,
|
|
@@ -334,16 +334,16 @@ var J = ({ size: t = 32, fit: n = !0, showLogo: r = !0, brandFontSize: i = 28, p
|
|
|
334
334
|
x2: "0",
|
|
335
335
|
y2: "1"
|
|
336
336
|
},
|
|
337
|
-
mark: (e) => /* @__PURE__ */
|
|
337
|
+
mark: (e) => /* @__PURE__ */ O("g", {
|
|
338
338
|
transform: "translate(14 16)",
|
|
339
|
-
children: [/* @__PURE__ */
|
|
339
|
+
children: [/* @__PURE__ */ D("path", {
|
|
340
340
|
d: "M38 16 L60 26 L60 44 Q60 58 38 66 Q16 58 16 44 L16 26 Z",
|
|
341
341
|
fill: `url(#${e})`,
|
|
342
342
|
opacity: "0.18",
|
|
343
343
|
stroke: "var(--primary)",
|
|
344
344
|
strokeWidth: "1.8",
|
|
345
345
|
strokeLinejoin: "round"
|
|
346
|
-
}), /* @__PURE__ */
|
|
346
|
+
}), /* @__PURE__ */ D("polyline", {
|
|
347
347
|
points: "28,42 35,49 50,33",
|
|
348
348
|
fill: "none",
|
|
349
349
|
stroke: "var(--primary)",
|
|
@@ -353,7 +353,7 @@ var J = ({ size: t = 32, fit: n = !0, showLogo: r = !0, brandFontSize: i = 28, p
|
|
|
353
353
|
})]
|
|
354
354
|
}),
|
|
355
355
|
...e
|
|
356
|
-
}),
|
|
356
|
+
}), be = ({ ...e }) => /* @__PURE__ */ D(q, {
|
|
357
357
|
viewBoxY: 35.2,
|
|
358
358
|
viewBoxWidth: 156.6,
|
|
359
359
|
viewBoxX: 33.1,
|
|
@@ -378,10 +378,10 @@ var J = ({ size: t = 32, fit: n = !0, showLogo: r = !0, brandFontSize: i = 28, p
|
|
|
378
378
|
y2: "0"
|
|
379
379
|
},
|
|
380
380
|
markTransform: "translate(43 52) scale(0.75) translate(-43 -52)",
|
|
381
|
-
mark: (e) => /* @__PURE__ */
|
|
381
|
+
mark: (e) => /* @__PURE__ */ O("g", {
|
|
382
382
|
transform: "translate(12 16)",
|
|
383
383
|
children: [
|
|
384
|
-
/* @__PURE__ */
|
|
384
|
+
/* @__PURE__ */ D("line", {
|
|
385
385
|
x1: "22",
|
|
386
386
|
y1: "26",
|
|
387
387
|
x2: "22",
|
|
@@ -391,13 +391,13 @@ var J = ({ size: t = 32, fit: n = !0, showLogo: r = !0, brandFontSize: i = 28, p
|
|
|
391
391
|
opacity: "0.18",
|
|
392
392
|
strokeLinecap: "round"
|
|
393
393
|
}),
|
|
394
|
-
/* @__PURE__ */
|
|
394
|
+
/* @__PURE__ */ D("circle", {
|
|
395
395
|
cx: "22",
|
|
396
396
|
cy: "26",
|
|
397
397
|
r: "4",
|
|
398
398
|
fill: "var(--primary)"
|
|
399
399
|
}),
|
|
400
|
-
/* @__PURE__ */
|
|
400
|
+
/* @__PURE__ */ D("rect", {
|
|
401
401
|
x: "32",
|
|
402
402
|
y: "23",
|
|
403
403
|
width: "32",
|
|
@@ -405,14 +405,14 @@ var J = ({ size: t = 32, fit: n = !0, showLogo: r = !0, brandFontSize: i = 28, p
|
|
|
405
405
|
rx: "3",
|
|
406
406
|
fill: `url(#${e})`
|
|
407
407
|
}),
|
|
408
|
-
/* @__PURE__ */
|
|
408
|
+
/* @__PURE__ */ D("circle", {
|
|
409
409
|
cx: "22",
|
|
410
410
|
cy: "42",
|
|
411
411
|
r: "4",
|
|
412
412
|
fill: "var(--primary)",
|
|
413
413
|
opacity: "0.55"
|
|
414
414
|
}),
|
|
415
|
-
/* @__PURE__ */
|
|
415
|
+
/* @__PURE__ */ D("rect", {
|
|
416
416
|
x: "32",
|
|
417
417
|
y: "39",
|
|
418
418
|
width: "26",
|
|
@@ -421,14 +421,14 @@ var J = ({ size: t = 32, fit: n = !0, showLogo: r = !0, brandFontSize: i = 28, p
|
|
|
421
421
|
fill: "var(--primary)",
|
|
422
422
|
opacity: "0.55"
|
|
423
423
|
}),
|
|
424
|
-
/* @__PURE__ */
|
|
424
|
+
/* @__PURE__ */ D("circle", {
|
|
425
425
|
cx: "22",
|
|
426
426
|
cy: "58",
|
|
427
427
|
r: "4",
|
|
428
428
|
fill: "var(--primary)",
|
|
429
429
|
opacity: "0.22"
|
|
430
430
|
}),
|
|
431
|
-
/* @__PURE__ */
|
|
431
|
+
/* @__PURE__ */ D("rect", {
|
|
432
432
|
x: "32",
|
|
433
433
|
y: "55",
|
|
434
434
|
width: "20",
|
|
@@ -440,85 +440,85 @@ var J = ({ size: t = 32, fit: n = !0, showLogo: r = !0, brandFontSize: i = 28, p
|
|
|
440
440
|
]
|
|
441
441
|
}),
|
|
442
442
|
...e
|
|
443
|
-
}),
|
|
443
|
+
}), xe = k("group/alert relative grid w-full gap-0.5 rounded-lg border px-4 py-3 text-left text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2.5 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4", {
|
|
444
444
|
variants: { variant: {
|
|
445
445
|
default: "bg-card text-card-foreground",
|
|
446
446
|
destructive: "bg-card text-destructive *:data-[slot=alert-description]:text-destructive/90 *:[svg]:text-current"
|
|
447
447
|
} },
|
|
448
448
|
defaultVariants: { variant: "default" }
|
|
449
449
|
});
|
|
450
|
-
function
|
|
451
|
-
return /* @__PURE__ */
|
|
450
|
+
function Se({ className: e, variant: t, ...n }) {
|
|
451
|
+
return /* @__PURE__ */ D("div", {
|
|
452
452
|
"data-slot": "alert",
|
|
453
453
|
role: "alert",
|
|
454
|
-
className:
|
|
455
|
-
...
|
|
454
|
+
className: u(xe({ variant: t }), e),
|
|
455
|
+
...n
|
|
456
456
|
});
|
|
457
457
|
}
|
|
458
|
-
function
|
|
459
|
-
return /* @__PURE__ */
|
|
458
|
+
function Ce({ className: e, ...t }) {
|
|
459
|
+
return /* @__PURE__ */ D("div", {
|
|
460
460
|
"data-slot": "alert-title",
|
|
461
|
-
className:
|
|
462
|
-
...
|
|
461
|
+
className: u("font-heading font-semibold text-sm group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground", e),
|
|
462
|
+
...t
|
|
463
463
|
});
|
|
464
464
|
}
|
|
465
|
-
function
|
|
466
|
-
return /* @__PURE__ */
|
|
465
|
+
function we({ className: e, ...t }) {
|
|
466
|
+
return /* @__PURE__ */ D("div", {
|
|
467
467
|
"data-slot": "alert-description",
|
|
468
|
-
className:
|
|
469
|
-
...
|
|
468
|
+
className: u("text-sm text-balance text-muted-foreground md:text-pretty [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4", e),
|
|
469
|
+
...t
|
|
470
470
|
});
|
|
471
471
|
}
|
|
472
|
-
function
|
|
473
|
-
return /* @__PURE__ */
|
|
472
|
+
function Te({ className: e, ...t }) {
|
|
473
|
+
return /* @__PURE__ */ D("div", {
|
|
474
474
|
"data-slot": "alert-action",
|
|
475
|
-
className:
|
|
476
|
-
...
|
|
475
|
+
className: u("absolute top-2.5 right-3", e),
|
|
476
|
+
...t
|
|
477
477
|
});
|
|
478
478
|
}
|
|
479
|
-
var
|
|
480
|
-
function Ee(e) {
|
|
481
|
-
return Y ? Y(e) : "";
|
|
482
|
-
}
|
|
479
|
+
var J = null, Ee = null;
|
|
483
480
|
function De(e) {
|
|
484
|
-
|
|
481
|
+
return J ? J(e) : "";
|
|
482
|
+
}
|
|
483
|
+
function Oe(e) {
|
|
484
|
+
Ee?.(e);
|
|
485
485
|
}
|
|
486
|
-
function
|
|
487
|
-
let [t, n] =
|
|
486
|
+
function ke({ children: e }) {
|
|
487
|
+
let [t, n] = w.useState([]), r = w.useCallback((e) => {
|
|
488
488
|
n((t) => {
|
|
489
489
|
let n = t.find((t) => t.id === e);
|
|
490
490
|
return n && queueMicrotask(() => n.onDismiss?.()), t.filter((t) => t.id !== e);
|
|
491
491
|
});
|
|
492
492
|
}, []);
|
|
493
|
-
return
|
|
493
|
+
return w.useLayoutEffect(() => (J = (e) => {
|
|
494
494
|
let t = typeof crypto < "u" && crypto.randomUUID ? crypto.randomUUID() : String(Date.now());
|
|
495
495
|
n((n) => [...n, {
|
|
496
496
|
id: t,
|
|
497
497
|
...e
|
|
498
498
|
}]);
|
|
499
|
-
let
|
|
500
|
-
if (
|
|
501
|
-
let a =
|
|
502
|
-
return a > 0 && window.setTimeout(() =>
|
|
503
|
-
},
|
|
504
|
-
|
|
505
|
-
}), [
|
|
499
|
+
let i = e.duration;
|
|
500
|
+
if (i === null) return t;
|
|
501
|
+
let a = i === void 0 ? 5e3 : i;
|
|
502
|
+
return a > 0 && window.setTimeout(() => r(t), a), t;
|
|
503
|
+
}, Ee = r, () => {
|
|
504
|
+
J = null, Ee = null;
|
|
505
|
+
}), [r]), /* @__PURE__ */ O(E, { children: [e, /* @__PURE__ */ D("div", {
|
|
506
506
|
"aria-live": "polite",
|
|
507
507
|
className: "pointer-events-none fixed top-4 right-4 z-100 flex max-h-[min(80vh,calc(100vh-2rem))] w-full max-w-sm flex-col gap-2 overflow-y-auto p-1",
|
|
508
|
-
children: t.map((e) => /* @__PURE__ */
|
|
508
|
+
children: t.map((e) => /* @__PURE__ */ O(Se, {
|
|
509
509
|
variant: e.variant,
|
|
510
510
|
className: "pointer-events-auto shadow-md",
|
|
511
511
|
children: [
|
|
512
512
|
e.icon ? e.icon : null,
|
|
513
|
-
/* @__PURE__ */
|
|
514
|
-
e.description ? /* @__PURE__ */
|
|
515
|
-
/* @__PURE__ */
|
|
513
|
+
/* @__PURE__ */ D(Ce, { children: e.title }),
|
|
514
|
+
e.description ? /* @__PURE__ */ D(we, { children: e.description }) : null,
|
|
515
|
+
/* @__PURE__ */ D(Te, { children: /* @__PURE__ */ O(o, {
|
|
516
516
|
type: "button",
|
|
517
517
|
variant: "ghost",
|
|
518
518
|
size: "icon-sm",
|
|
519
519
|
className: "size-7",
|
|
520
|
-
onClick: () =>
|
|
521
|
-
children: [/* @__PURE__ */
|
|
520
|
+
onClick: () => r(e.id),
|
|
521
|
+
children: [/* @__PURE__ */ D(C, { className: "size-4" }), /* @__PURE__ */ D("span", {
|
|
522
522
|
className: "sr-only",
|
|
523
523
|
children: "Dismiss"
|
|
524
524
|
})]
|
|
@@ -528,214 +528,57 @@ function Oe({ children: e }) {
|
|
|
528
528
|
})] });
|
|
529
529
|
}
|
|
530
530
|
//#endregion
|
|
531
|
-
//#region src/components/ui/shadcn/shadcn-alert-dialog.tsx
|
|
532
|
-
function ke({ ...e }) {
|
|
533
|
-
return /* @__PURE__ */ O(M.Root, {
|
|
534
|
-
"data-slot": "alert-dialog",
|
|
535
|
-
...e
|
|
536
|
-
});
|
|
537
|
-
}
|
|
538
|
-
function Ae({ ...e }) {
|
|
539
|
-
return /* @__PURE__ */ O(M.Trigger, {
|
|
540
|
-
"data-slot": "alert-dialog-trigger",
|
|
541
|
-
...e
|
|
542
|
-
});
|
|
543
|
-
}
|
|
544
|
-
function je({ ...e }) {
|
|
545
|
-
return /* @__PURE__ */ O(M.Portal, {
|
|
546
|
-
"data-slot": "alert-dialog-portal",
|
|
547
|
-
...e
|
|
548
|
-
});
|
|
549
|
-
}
|
|
550
|
-
function Me({ className: t, ...n }) {
|
|
551
|
-
return /* @__PURE__ */ O(M.Overlay, {
|
|
552
|
-
"data-slot": "alert-dialog-overlay",
|
|
553
|
-
className: e("fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0", t),
|
|
554
|
-
...n
|
|
555
|
-
});
|
|
556
|
-
}
|
|
557
|
-
function Ne({ className: t, size: n = "default", style: r, ...a }) {
|
|
558
|
-
let o = i();
|
|
559
|
-
return /* @__PURE__ */ k(je, { children: [/* @__PURE__ */ O(Me, {}), /* @__PURE__ */ O(M.Content, {
|
|
560
|
-
"data-slot": "alert-dialog-content",
|
|
561
|
-
"data-size": n,
|
|
562
|
-
style: {
|
|
563
|
-
...o.style,
|
|
564
|
-
...r
|
|
565
|
-
},
|
|
566
|
-
className: e(o.className, "group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-6 rounded-xl bg-popover p-6 text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-lg data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", t),
|
|
567
|
-
...a
|
|
568
|
-
})] });
|
|
569
|
-
}
|
|
570
|
-
function Pe({ className: t, ...n }) {
|
|
571
|
-
return /* @__PURE__ */ O("div", {
|
|
572
|
-
"data-slot": "alert-dialog-header",
|
|
573
|
-
className: e("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-6 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]", t),
|
|
574
|
-
...n
|
|
575
|
-
});
|
|
576
|
-
}
|
|
577
|
-
function Fe({ className: t, ...n }) {
|
|
578
|
-
return /* @__PURE__ */ O("div", {
|
|
579
|
-
"data-slot": "alert-dialog-footer",
|
|
580
|
-
className: e("flex flex-col-reverse gap-2 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end", t),
|
|
581
|
-
...n
|
|
582
|
-
});
|
|
583
|
-
}
|
|
584
|
-
function Ie({ className: t, ...n }) {
|
|
585
|
-
return /* @__PURE__ */ O("div", {
|
|
586
|
-
"data-slot": "alert-dialog-media",
|
|
587
|
-
className: e("mb-2 inline-flex size-16 items-center justify-center rounded-md bg-muted sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-8", t),
|
|
588
|
-
...n
|
|
589
|
-
});
|
|
590
|
-
}
|
|
591
|
-
function Le({ className: t, ...n }) {
|
|
592
|
-
return /* @__PURE__ */ O(M.Title, {
|
|
593
|
-
"data-slot": "alert-dialog-title",
|
|
594
|
-
className: e("font-heading text-lg font-semibold sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2", t),
|
|
595
|
-
...n
|
|
596
|
-
});
|
|
597
|
-
}
|
|
598
|
-
function Re({ className: t, ...n }) {
|
|
599
|
-
return /* @__PURE__ */ O(M.Description, {
|
|
600
|
-
"data-slot": "alert-dialog-description",
|
|
601
|
-
className: e("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground", t),
|
|
602
|
-
...n
|
|
603
|
-
});
|
|
604
|
-
}
|
|
605
|
-
function ze({ className: t, variant: n = "default", size: i = "default", loading: a = !1, loadingText: o = "Loading...", disabled: s = !1, ...c }) {
|
|
606
|
-
return /* @__PURE__ */ O(r, {
|
|
607
|
-
variant: n,
|
|
608
|
-
size: i,
|
|
609
|
-
asChild: !0,
|
|
610
|
-
loading: a,
|
|
611
|
-
loadingText: o,
|
|
612
|
-
disabled: s,
|
|
613
|
-
children: /* @__PURE__ */ O(M.Action, {
|
|
614
|
-
"data-slot": "alert-dialog-action",
|
|
615
|
-
className: e(t),
|
|
616
|
-
...c
|
|
617
|
-
})
|
|
618
|
-
});
|
|
619
|
-
}
|
|
620
|
-
function Be({ className: t, variant: n = "outline", size: i = "default", loading: a = !1, loadingText: o = "Loading...", disabled: s = !1, ...c }) {
|
|
621
|
-
return /* @__PURE__ */ O(r, {
|
|
622
|
-
variant: n,
|
|
623
|
-
size: i,
|
|
624
|
-
asChild: !0,
|
|
625
|
-
loading: a,
|
|
626
|
-
loadingText: o,
|
|
627
|
-
disabled: s,
|
|
628
|
-
children: /* @__PURE__ */ O(M.Cancel, {
|
|
629
|
-
"data-slot": "alert-dialog-cancel",
|
|
630
|
-
className: e(t),
|
|
631
|
-
...c
|
|
632
|
-
})
|
|
633
|
-
});
|
|
634
|
-
}
|
|
635
|
-
//#endregion
|
|
636
|
-
//#region src/components/ui/alert-dialog.tsx
|
|
637
|
-
var Ve = "Confirm", He = "Cancel", Ue = null;
|
|
638
|
-
function We(e) {
|
|
639
|
-
Ue?.(e);
|
|
640
|
-
}
|
|
641
|
-
function Ge({ children: e }) {
|
|
642
|
-
let [t, n] = E.useState(null), r = E.useRef(!1), [i, a] = E.useState(!1);
|
|
643
|
-
E.useLayoutEffect(() => (Ue = (e) => n(e), () => {
|
|
644
|
-
Ue = null;
|
|
645
|
-
}), []);
|
|
646
|
-
let o = E.useCallback((e) => {
|
|
647
|
-
if (!e) {
|
|
648
|
-
if (r.current) {
|
|
649
|
-
r.current = !1, n(null);
|
|
650
|
-
return;
|
|
651
|
-
}
|
|
652
|
-
n((e) => (e && e.onCancel?.(), null));
|
|
653
|
-
}
|
|
654
|
-
}, []), s = E.useCallback(async () => {
|
|
655
|
-
r.current = !0;
|
|
656
|
-
let e = t;
|
|
657
|
-
if (!e) {
|
|
658
|
-
r.current = !1;
|
|
659
|
-
return;
|
|
660
|
-
}
|
|
661
|
-
try {
|
|
662
|
-
a(!0), await Promise.resolve(e.onConfirm?.());
|
|
663
|
-
} finally {
|
|
664
|
-
n(null), a(!1);
|
|
665
|
-
}
|
|
666
|
-
}, [t]);
|
|
667
|
-
return /* @__PURE__ */ k(D, { children: [e, t ? /* @__PURE__ */ O(ke, {
|
|
668
|
-
open: !0,
|
|
669
|
-
onOpenChange: o,
|
|
670
|
-
children: /* @__PURE__ */ k(Ne, { children: [/* @__PURE__ */ k(Pe, { children: [/* @__PURE__ */ O(Le, { children: t.title }), /* @__PURE__ */ O(Re, {
|
|
671
|
-
className: t.description ? void 0 : "sr-only",
|
|
672
|
-
children: t.description ?? t.title
|
|
673
|
-
})] }), t.hideCancel && t.hideConfirm ? null : /* @__PURE__ */ k(Fe, { children: [t.hideCancel ? null : /* @__PURE__ */ O(Be, {
|
|
674
|
-
disabled: i,
|
|
675
|
-
children: t.cancelText ?? He
|
|
676
|
-
}), t.hideConfirm ? null : /* @__PURE__ */ O(ze, {
|
|
677
|
-
onClick: async (e) => {
|
|
678
|
-
e.preventDefault(), await s();
|
|
679
|
-
},
|
|
680
|
-
loading: i,
|
|
681
|
-
disabled: i,
|
|
682
|
-
loadingText: "Confirming...",
|
|
683
|
-
children: t.confirmText ?? Ve
|
|
684
|
-
})] })] })
|
|
685
|
-
}) : null] });
|
|
686
|
-
}
|
|
687
|
-
//#endregion
|
|
688
531
|
//#region src/components/ui/sheet.tsx
|
|
689
|
-
function
|
|
690
|
-
return /* @__PURE__ */
|
|
532
|
+
function Y({ ...e }) {
|
|
533
|
+
return /* @__PURE__ */ D(P.Root, {
|
|
691
534
|
"data-slot": "sheet",
|
|
692
535
|
...e
|
|
693
536
|
});
|
|
694
537
|
}
|
|
695
|
-
function
|
|
696
|
-
return /* @__PURE__ */
|
|
538
|
+
function Ae({ ...e }) {
|
|
539
|
+
return /* @__PURE__ */ D(P.Trigger, {
|
|
697
540
|
"data-slot": "sheet-trigger",
|
|
698
541
|
...e
|
|
699
542
|
});
|
|
700
543
|
}
|
|
701
|
-
function
|
|
702
|
-
return /* @__PURE__ */
|
|
544
|
+
function je({ ...e }) {
|
|
545
|
+
return /* @__PURE__ */ D(P.Close, {
|
|
703
546
|
"data-slot": "sheet-close",
|
|
704
547
|
...e
|
|
705
548
|
});
|
|
706
549
|
}
|
|
707
|
-
function
|
|
708
|
-
return /* @__PURE__ */
|
|
550
|
+
function Me({ ...e }) {
|
|
551
|
+
return /* @__PURE__ */ D(P.Portal, {
|
|
709
552
|
"data-slot": "sheet-portal",
|
|
710
553
|
...e
|
|
711
554
|
});
|
|
712
555
|
}
|
|
713
|
-
function
|
|
714
|
-
return /* @__PURE__ */
|
|
556
|
+
function Ne({ className: e, ...t }) {
|
|
557
|
+
return /* @__PURE__ */ D(P.Overlay, {
|
|
715
558
|
"data-slot": "sheet-overlay",
|
|
716
|
-
className:
|
|
717
|
-
...
|
|
559
|
+
className: u("fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0", e),
|
|
560
|
+
...t
|
|
718
561
|
});
|
|
719
562
|
}
|
|
720
|
-
function
|
|
721
|
-
let
|
|
722
|
-
return /* @__PURE__ */
|
|
563
|
+
function Pe({ className: e, children: t, side: n = "right", showCloseButton: i = !0, style: a, ...s }) {
|
|
564
|
+
let c = r();
|
|
565
|
+
return /* @__PURE__ */ O(Me, { children: [/* @__PURE__ */ D(Ne, {}), /* @__PURE__ */ O(P.Content, {
|
|
723
566
|
"data-slot": "sheet-content",
|
|
724
|
-
"data-side":
|
|
567
|
+
"data-side": n,
|
|
725
568
|
style: {
|
|
726
|
-
...
|
|
727
|
-
...
|
|
569
|
+
...c.style,
|
|
570
|
+
...a
|
|
728
571
|
},
|
|
729
|
-
className:
|
|
730
|
-
...
|
|
731
|
-
children: [
|
|
572
|
+
className: u(c.className, "fixed z-50 flex flex-col gap-4 bg-popover bg-clip-padding text-sm text-popover-foreground shadow-lg transition duration-200 ease-in-out data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-l data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-[side=bottom]:data-open:slide-in-from-bottom-10 data-[side=left]:data-open:slide-in-from-left-10 data-[side=right]:data-open:slide-in-from-right-10 data-[side=top]:data-open:slide-in-from-top-10 data-closed:animate-out data-closed:fade-out-0 data-[side=bottom]:data-closed:slide-out-to-bottom-10 data-[side=left]:data-closed:slide-out-to-left-10 data-[side=right]:data-closed:slide-out-to-right-10 data-[side=top]:data-closed:slide-out-to-top-10", e),
|
|
573
|
+
...s,
|
|
574
|
+
children: [t, i && /* @__PURE__ */ D(P.Close, {
|
|
732
575
|
"data-slot": "sheet-close",
|
|
733
576
|
asChild: !0,
|
|
734
|
-
children: /* @__PURE__ */
|
|
577
|
+
children: /* @__PURE__ */ O(o, {
|
|
735
578
|
variant: "ghost",
|
|
736
579
|
className: "absolute top-4 right-4",
|
|
737
580
|
size: "icon-sm",
|
|
738
|
-
children: [/* @__PURE__ */
|
|
581
|
+
children: [/* @__PURE__ */ D(C, {}), /* @__PURE__ */ D("span", {
|
|
739
582
|
className: "sr-only",
|
|
740
583
|
children: "Close"
|
|
741
584
|
})]
|
|
@@ -743,151 +586,151 @@ function Ze({ className: t, children: n, side: a = "right", showCloseButton: o =
|
|
|
743
586
|
})]
|
|
744
587
|
})] });
|
|
745
588
|
}
|
|
746
|
-
function
|
|
747
|
-
return /* @__PURE__ */
|
|
589
|
+
function Fe({ className: e, ...t }) {
|
|
590
|
+
return /* @__PURE__ */ D("div", {
|
|
748
591
|
"data-slot": "sheet-header",
|
|
749
|
-
className:
|
|
750
|
-
...
|
|
592
|
+
className: u("flex flex-col gap-1.5 p-4", e),
|
|
593
|
+
...t
|
|
751
594
|
});
|
|
752
595
|
}
|
|
753
|
-
function
|
|
754
|
-
return /* @__PURE__ */
|
|
596
|
+
function Ie({ className: e, ...t }) {
|
|
597
|
+
return /* @__PURE__ */ D("div", {
|
|
755
598
|
"data-slot": "sheet-footer",
|
|
756
|
-
className:
|
|
757
|
-
...
|
|
599
|
+
className: u("mt-auto flex flex-col gap-2 p-4", e),
|
|
600
|
+
...t
|
|
758
601
|
});
|
|
759
602
|
}
|
|
760
|
-
function
|
|
761
|
-
return /* @__PURE__ */
|
|
603
|
+
function Le({ className: e, ...t }) {
|
|
604
|
+
return /* @__PURE__ */ D(P.Title, {
|
|
762
605
|
"data-slot": "sheet-title",
|
|
763
|
-
className:
|
|
764
|
-
...
|
|
606
|
+
className: u("font-heading font-medium text-foreground", e),
|
|
607
|
+
...t
|
|
765
608
|
});
|
|
766
609
|
}
|
|
767
|
-
function
|
|
768
|
-
return /* @__PURE__ */
|
|
610
|
+
function Re({ className: e, ...t }) {
|
|
611
|
+
return /* @__PURE__ */ D(P.Description, {
|
|
769
612
|
"data-slot": "sheet-description",
|
|
770
|
-
className:
|
|
771
|
-
...
|
|
613
|
+
className: u("text-sm text-muted-foreground", e),
|
|
614
|
+
...t
|
|
772
615
|
});
|
|
773
616
|
}
|
|
774
|
-
var
|
|
775
|
-
function
|
|
776
|
-
|
|
617
|
+
var ze = null;
|
|
618
|
+
function Be(e) {
|
|
619
|
+
ze?.(e);
|
|
777
620
|
}
|
|
778
|
-
function
|
|
779
|
-
let [t, n] =
|
|
780
|
-
|
|
781
|
-
|
|
621
|
+
function Ve({ children: e }) {
|
|
622
|
+
let [t, n] = w.useState(null);
|
|
623
|
+
w.useLayoutEffect(() => (ze = (e) => n(e), () => {
|
|
624
|
+
ze = null;
|
|
782
625
|
}), []);
|
|
783
|
-
let r =
|
|
626
|
+
let r = w.useCallback((e) => {
|
|
784
627
|
e || n((e) => (e && e.onClose?.(), null));
|
|
785
628
|
}, []);
|
|
786
|
-
return /* @__PURE__ */
|
|
629
|
+
return /* @__PURE__ */ O(E, { children: [e, t ? /* @__PURE__ */ D(Y, {
|
|
787
630
|
open: !0,
|
|
788
631
|
onOpenChange: r,
|
|
789
|
-
children: /* @__PURE__ */
|
|
632
|
+
children: /* @__PURE__ */ O(Pe, {
|
|
790
633
|
side: t.side ?? "right",
|
|
791
634
|
showCloseButton: t.showCloseButton ?? !0,
|
|
792
|
-
children: [/* @__PURE__ */
|
|
635
|
+
children: [/* @__PURE__ */ O(Fe, { children: [/* @__PURE__ */ D(Le, { children: t.title }), t.description && /* @__PURE__ */ D(Re, { children: t.description })] }), t.children]
|
|
793
636
|
})
|
|
794
637
|
}) : null] });
|
|
795
638
|
}
|
|
796
639
|
//#endregion
|
|
797
640
|
//#region src/components/ui/slider.tsx
|
|
798
|
-
function
|
|
799
|
-
let
|
|
800
|
-
r,
|
|
641
|
+
function He({ className: e, defaultValue: t, value: n, min: r = 0, max: i = 100, ...a }) {
|
|
642
|
+
let o = w.useMemo(() => Array.isArray(n) ? n : Array.isArray(t) ? t : [r, i], [
|
|
801
643
|
n,
|
|
802
|
-
|
|
803
|
-
|
|
644
|
+
t,
|
|
645
|
+
r,
|
|
646
|
+
i
|
|
804
647
|
]);
|
|
805
|
-
return /* @__PURE__ */
|
|
648
|
+
return /* @__PURE__ */ O(U.Root, {
|
|
806
649
|
"data-slot": "slider",
|
|
807
|
-
defaultValue:
|
|
808
|
-
value:
|
|
809
|
-
min:
|
|
810
|
-
max:
|
|
811
|
-
className:
|
|
812
|
-
...
|
|
813
|
-
children: [/* @__PURE__ */
|
|
650
|
+
defaultValue: t,
|
|
651
|
+
value: n,
|
|
652
|
+
min: r,
|
|
653
|
+
max: i,
|
|
654
|
+
className: u("relative flex w-full touch-none items-center select-none data-disabled:opacity-50 data-vertical:h-full data-vertical:min-h-40 data-vertical:w-auto data-vertical:flex-col", e),
|
|
655
|
+
...a,
|
|
656
|
+
children: [/* @__PURE__ */ D(U.Track, {
|
|
814
657
|
"data-slot": "slider-track",
|
|
815
658
|
className: "relative grow overflow-hidden rounded-full bg-muted data-horizontal:h-1 data-horizontal:w-full data-vertical:h-full data-vertical:w-1",
|
|
816
|
-
children: /* @__PURE__ */
|
|
659
|
+
children: /* @__PURE__ */ D(U.Range, {
|
|
817
660
|
"data-slot": "slider-range",
|
|
818
661
|
className: "absolute bg-primary select-none data-horizontal:h-full data-vertical:w-full"
|
|
819
662
|
})
|
|
820
|
-
}), Array.from({ length:
|
|
663
|
+
}), Array.from({ length: o.length }, (e, t) => /* @__PURE__ */ D(U.Thumb, {
|
|
821
664
|
"data-slot": "slider-thumb",
|
|
822
665
|
className: "relative block size-3 shrink-0 rounded-full border border-ring bg-white ring-ring/50 transition-[color,box-shadow] select-none after:absolute after:-inset-2 hover:ring-3 focus-visible:ring-3 focus-visible:outline-hidden active:ring-3 disabled:pointer-events-none disabled:opacity-50"
|
|
823
666
|
}, t))]
|
|
824
667
|
});
|
|
825
668
|
}
|
|
826
|
-
var
|
|
827
|
-
function
|
|
828
|
-
|
|
669
|
+
var Ue = "Apply", We = "Cancel", Ge = null;
|
|
670
|
+
function Ke(e) {
|
|
671
|
+
Ge?.(e);
|
|
829
672
|
}
|
|
830
|
-
function
|
|
831
|
-
let [t, n] =
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
let t = e.min ?? 0, r = e.max ?? 100,
|
|
835
|
-
|
|
673
|
+
function qe({ children: e }) {
|
|
674
|
+
let [t, n] = w.useState(null), [r, i] = w.useState([0]), a = w.useRef(!1);
|
|
675
|
+
w.useLayoutEffect(() => (Ge = (e) => {
|
|
676
|
+
a.current = !1;
|
|
677
|
+
let t = e.min ?? 0, r = e.max ?? 100, o = [Math.floor((t + r) / 2)];
|
|
678
|
+
i(e.defaultValue?.length ? e.defaultValue : o), n(e);
|
|
836
679
|
}, () => {
|
|
837
|
-
|
|
680
|
+
Ge = null;
|
|
838
681
|
}), []);
|
|
839
|
-
let
|
|
682
|
+
let c = w.useCallback((e) => {
|
|
840
683
|
if (!e) {
|
|
841
|
-
if (
|
|
842
|
-
|
|
684
|
+
if (a.current) {
|
|
685
|
+
a.current = !1, n(null);
|
|
843
686
|
return;
|
|
844
687
|
}
|
|
845
688
|
n((e) => (e && e.onCancel?.(), null));
|
|
846
689
|
}
|
|
847
|
-
}, []), l =
|
|
848
|
-
|
|
690
|
+
}, []), l = w.useCallback(async () => {
|
|
691
|
+
a.current = !0;
|
|
849
692
|
let e = t;
|
|
850
693
|
if (!e) {
|
|
851
|
-
|
|
694
|
+
a.current = !1;
|
|
852
695
|
return;
|
|
853
696
|
}
|
|
854
697
|
try {
|
|
855
|
-
await Promise.resolve(e.onConfirm(
|
|
698
|
+
await Promise.resolve(e.onConfirm(r));
|
|
856
699
|
} finally {
|
|
857
700
|
n(null);
|
|
858
701
|
}
|
|
859
|
-
}, [t,
|
|
860
|
-
return /* @__PURE__ */
|
|
702
|
+
}, [t, r]), u = t?.min ?? 0, m = t?.max ?? 100, _ = t?.step;
|
|
703
|
+
return /* @__PURE__ */ O(E, { children: [e, t ? /* @__PURE__ */ D(d, {
|
|
861
704
|
open: !0,
|
|
862
|
-
onOpenChange:
|
|
863
|
-
children: /* @__PURE__ */
|
|
864
|
-
/* @__PURE__ */
|
|
705
|
+
onOpenChange: c,
|
|
706
|
+
children: /* @__PURE__ */ O(h, { children: [
|
|
707
|
+
/* @__PURE__ */ O(s, { children: [/* @__PURE__ */ D(ee, { children: t.title }), /* @__PURE__ */ D(p, {
|
|
865
708
|
className: t.description ? void 0 : "sr-only",
|
|
866
709
|
children: t.description ?? t.title
|
|
867
710
|
})] }),
|
|
868
|
-
/* @__PURE__ */
|
|
711
|
+
/* @__PURE__ */ D("div", {
|
|
869
712
|
className: "px-1 py-2",
|
|
870
|
-
children: /* @__PURE__ */
|
|
713
|
+
children: /* @__PURE__ */ D(He, {
|
|
871
714
|
min: u,
|
|
872
715
|
max: m,
|
|
873
716
|
step: _,
|
|
874
|
-
value:
|
|
875
|
-
onValueChange:
|
|
717
|
+
value: r,
|
|
718
|
+
onValueChange: i
|
|
876
719
|
})
|
|
877
720
|
}),
|
|
878
|
-
/* @__PURE__ */
|
|
721
|
+
/* @__PURE__ */ O(f, {
|
|
879
722
|
className: "sm:justify-end",
|
|
880
|
-
children: [/* @__PURE__ */
|
|
723
|
+
children: [/* @__PURE__ */ D(g, {
|
|
881
724
|
asChild: !0,
|
|
882
|
-
children: /* @__PURE__ */
|
|
725
|
+
children: /* @__PURE__ */ D(o, {
|
|
883
726
|
type: "button",
|
|
884
727
|
variant: "outline",
|
|
885
|
-
children: t.cancelText ??
|
|
728
|
+
children: t.cancelText ?? We
|
|
886
729
|
})
|
|
887
|
-
}), /* @__PURE__ */
|
|
730
|
+
}), /* @__PURE__ */ D(o, {
|
|
888
731
|
type: "button",
|
|
889
732
|
onClick: () => void l(),
|
|
890
|
-
children: t.confirmText ??
|
|
733
|
+
children: t.confirmText ?? Ue
|
|
891
734
|
})]
|
|
892
735
|
})
|
|
893
736
|
] })
|
|
@@ -895,45 +738,45 @@ function ut({ children: e }) {
|
|
|
895
738
|
}
|
|
896
739
|
//#endregion
|
|
897
740
|
//#region src/components/ui/shadcn/shadcn-tooltip.tsx
|
|
898
|
-
function
|
|
899
|
-
return /* @__PURE__ */
|
|
741
|
+
function Je({ delayDuration: e = 0, ...t }) {
|
|
742
|
+
return /* @__PURE__ */ D(K.Provider, {
|
|
900
743
|
"data-slot": "tooltip-provider",
|
|
901
744
|
delayDuration: e,
|
|
902
745
|
...t
|
|
903
746
|
});
|
|
904
747
|
}
|
|
905
|
-
function
|
|
906
|
-
return /* @__PURE__ */
|
|
748
|
+
function Ye({ ...e }) {
|
|
749
|
+
return /* @__PURE__ */ D(K.Root, {
|
|
907
750
|
"data-slot": "tooltip",
|
|
908
751
|
...e
|
|
909
752
|
});
|
|
910
753
|
}
|
|
911
|
-
function
|
|
912
|
-
return /* @__PURE__ */
|
|
754
|
+
function Xe({ ...e }) {
|
|
755
|
+
return /* @__PURE__ */ D(K.Trigger, {
|
|
913
756
|
"data-slot": "tooltip-trigger",
|
|
914
757
|
...e
|
|
915
758
|
});
|
|
916
759
|
}
|
|
917
|
-
function
|
|
918
|
-
let
|
|
919
|
-
return /* @__PURE__ */
|
|
760
|
+
function Ze({ className: e, arrowClassName: t, sideOffset: n = 0, children: i, hideArrow: a = !1, style: o, ...s }) {
|
|
761
|
+
let c = r();
|
|
762
|
+
return /* @__PURE__ */ D(K.Portal, { children: /* @__PURE__ */ O(K.Content, {
|
|
920
763
|
"data-slot": "tooltip-content",
|
|
921
|
-
sideOffset:
|
|
764
|
+
sideOffset: n,
|
|
922
765
|
style: {
|
|
923
|
-
...
|
|
924
|
-
...
|
|
766
|
+
...c.style,
|
|
767
|
+
...o
|
|
925
768
|
},
|
|
926
|
-
className:
|
|
927
|
-
...
|
|
928
|
-
children: [
|
|
769
|
+
className: u(c.className, "z-50 inline-flex w-fit max-w-xs origin-(--radix-tooltip-content-transform-origin) items-center gap-1.5 rounded-md bg-foreground px-3 py-1.5 text-xs text-background has-data-[slot=kbd]:pr-1.5 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-sm data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
|
|
770
|
+
...s,
|
|
771
|
+
children: [i, /* @__PURE__ */ D(K.Arrow, { className: u("z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground", t, a && "invisible") })]
|
|
929
772
|
}) });
|
|
930
773
|
}
|
|
931
774
|
//#endregion
|
|
932
775
|
//#region src/components/ui/tooltip.tsx
|
|
933
|
-
var
|
|
776
|
+
var Qe = ({ children: e, content: t, side: n = "top", align: r = "center", hidden: i = !1, hideArrow: a = !1, className: o = "", arrowClassName: s = "" }) => /* @__PURE__ */ O(Ye, { children: [/* @__PURE__ */ D(Xe, {
|
|
934
777
|
asChild: !0,
|
|
935
778
|
children: e
|
|
936
|
-
}), /* @__PURE__ */
|
|
779
|
+
}), /* @__PURE__ */ D($e, {
|
|
937
780
|
className: o,
|
|
938
781
|
side: n,
|
|
939
782
|
align: r,
|
|
@@ -941,20 +784,20 @@ var ht = ({ children: e, content: t, side: n = "top", align: r = "center", hidde
|
|
|
941
784
|
hideArrow: a,
|
|
942
785
|
arrowClassName: s,
|
|
943
786
|
children: t
|
|
944
|
-
})] }),
|
|
787
|
+
})] }), $e = Ze, et = w.createContext("a"), tt = et.Provider;
|
|
945
788
|
function X() {
|
|
946
|
-
return
|
|
789
|
+
return w.useContext(et);
|
|
947
790
|
}
|
|
948
791
|
//#endregion
|
|
949
792
|
//#region src/components/opsfuse-theme-provider.tsx
|
|
950
|
-
function
|
|
951
|
-
|
|
793
|
+
function nt(e) {
|
|
794
|
+
w.useEffect(() => {
|
|
952
795
|
let t = e.current;
|
|
953
796
|
if (!t || typeof document > "u") return;
|
|
954
|
-
let
|
|
955
|
-
|
|
956
|
-
let
|
|
957
|
-
return
|
|
797
|
+
let r = () => t.classList.toggle("dark", n());
|
|
798
|
+
r();
|
|
799
|
+
let i = new MutationObserver(r);
|
|
800
|
+
return i.observe(document.documentElement, {
|
|
958
801
|
attributes: !0,
|
|
959
802
|
attributeFilter: [
|
|
960
803
|
"class",
|
|
@@ -962,84 +805,84 @@ function yt(e) {
|
|
|
962
805
|
"data-mode",
|
|
963
806
|
"data-color-mode"
|
|
964
807
|
]
|
|
965
|
-
}),
|
|
808
|
+
}), i.observe(document.body, {
|
|
966
809
|
attributes: !0,
|
|
967
810
|
attributeFilter: ["class"]
|
|
968
|
-
}), () =>
|
|
811
|
+
}), () => i.disconnect();
|
|
969
812
|
}, [e]);
|
|
970
813
|
}
|
|
971
|
-
function
|
|
972
|
-
let f =
|
|
973
|
-
return
|
|
814
|
+
function rt({ theme: n = a, linkComponent: r = "a", className: o, style: s, children: l, ...d }) {
|
|
815
|
+
let f = w.useRef(null);
|
|
816
|
+
return nt(f), /* @__PURE__ */ D("div", {
|
|
974
817
|
ref: f,
|
|
975
|
-
className:
|
|
976
|
-
"data-brand-theme":
|
|
818
|
+
className: u(_, `brand-${n}`, o),
|
|
819
|
+
"data-brand-theme": n,
|
|
977
820
|
style: {
|
|
978
|
-
...
|
|
979
|
-
...
|
|
821
|
+
...i,
|
|
822
|
+
...s
|
|
980
823
|
},
|
|
981
824
|
...d,
|
|
982
|
-
children: /* @__PURE__ */
|
|
983
|
-
value:
|
|
984
|
-
children: /* @__PURE__ */
|
|
985
|
-
theme:
|
|
986
|
-
children: /* @__PURE__ */
|
|
825
|
+
children: /* @__PURE__ */ D(tt, {
|
|
826
|
+
value: r,
|
|
827
|
+
children: /* @__PURE__ */ D(t, {
|
|
828
|
+
theme: n,
|
|
829
|
+
children: /* @__PURE__ */ D(e, { children: /* @__PURE__ */ D(Je, { children: /* @__PURE__ */ D(ke, { children: /* @__PURE__ */ D(c, { children: /* @__PURE__ */ O(E, { children: [/* @__PURE__ */ D(Ve, { children: /* @__PURE__ */ D(qe, { children: l }) }), /* @__PURE__ */ D(v, {})] }) }) }) }) })
|
|
987
830
|
})
|
|
988
831
|
})
|
|
989
832
|
});
|
|
990
833
|
}
|
|
991
834
|
//#endregion
|
|
992
835
|
//#region src/components/opsfuse-root.tsx
|
|
993
|
-
function
|
|
994
|
-
return /* @__PURE__ */
|
|
836
|
+
function it({ theme: e = a, className: t, ...n }) {
|
|
837
|
+
return /* @__PURE__ */ D(rt, {
|
|
995
838
|
theme: e,
|
|
996
839
|
className: t,
|
|
997
|
-
...
|
|
840
|
+
...n
|
|
998
841
|
});
|
|
999
842
|
}
|
|
1000
843
|
//#endregion
|
|
1001
844
|
//#region src/hooks/use-mobile.ts
|
|
1002
|
-
var
|
|
1003
|
-
function
|
|
1004
|
-
return
|
|
845
|
+
var at = "(max-width: 767px)", ot;
|
|
846
|
+
function st() {
|
|
847
|
+
return ot ??= window.matchMedia(at);
|
|
1005
848
|
}
|
|
1006
|
-
function
|
|
1007
|
-
let t =
|
|
849
|
+
function ct(e) {
|
|
850
|
+
let t = st();
|
|
1008
851
|
return t.addEventListener("change", e), () => t.removeEventListener("change", e);
|
|
1009
852
|
}
|
|
1010
|
-
function
|
|
1011
|
-
return
|
|
853
|
+
function lt() {
|
|
854
|
+
return w.useSyncExternalStore(ct, () => st().matches, () => !1);
|
|
1012
855
|
}
|
|
1013
856
|
//#endregion
|
|
1014
857
|
//#region src/components/ui/shadcn/shadcn-accordion.tsx
|
|
1015
|
-
function
|
|
1016
|
-
return /* @__PURE__ */
|
|
858
|
+
function ut({ className: e, ...t }) {
|
|
859
|
+
return /* @__PURE__ */ D(A.Root, {
|
|
1017
860
|
"data-slot": "accordion",
|
|
1018
|
-
className:
|
|
1019
|
-
...
|
|
861
|
+
className: u("flex w-full flex-col", e),
|
|
862
|
+
...t
|
|
1020
863
|
});
|
|
1021
864
|
}
|
|
1022
|
-
function
|
|
1023
|
-
return /* @__PURE__ */
|
|
865
|
+
function dt({ className: e, ...t }) {
|
|
866
|
+
return /* @__PURE__ */ D(A.Item, {
|
|
1024
867
|
"data-slot": "accordion-item",
|
|
1025
|
-
className:
|
|
1026
|
-
...
|
|
868
|
+
className: u("not-last:border-b", e),
|
|
869
|
+
...t
|
|
1027
870
|
});
|
|
1028
871
|
}
|
|
1029
|
-
function
|
|
1030
|
-
return /* @__PURE__ */
|
|
872
|
+
function ft({ className: e, children: t, ...n }) {
|
|
873
|
+
return /* @__PURE__ */ D(A.Header, {
|
|
1031
874
|
className: "flex",
|
|
1032
|
-
children: /* @__PURE__ */
|
|
875
|
+
children: /* @__PURE__ */ O(A.Trigger, {
|
|
1033
876
|
"data-slot": "accordion-trigger",
|
|
1034
|
-
className:
|
|
1035
|
-
...
|
|
877
|
+
className: u("group/accordion-trigger relative flex flex-1 items-start justify-between rounded-md border border-transparent py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:after:border-ring disabled:pointer-events-none disabled:opacity-50 **:data-[slot=accordion-trigger-icon]:ml-auto **:data-[slot=accordion-trigger-icon]:size-4 **:data-[slot=accordion-trigger-icon]:text-muted-foreground", e),
|
|
878
|
+
...n,
|
|
1036
879
|
children: [
|
|
1037
|
-
|
|
1038
|
-
/* @__PURE__ */
|
|
880
|
+
t,
|
|
881
|
+
/* @__PURE__ */ D(b, {
|
|
1039
882
|
"data-slot": "accordion-trigger-icon",
|
|
1040
883
|
className: "pointer-events-none shrink-0 group-aria-expanded/accordion-trigger:hidden"
|
|
1041
884
|
}),
|
|
1042
|
-
/* @__PURE__ */
|
|
885
|
+
/* @__PURE__ */ D(ne, {
|
|
1043
886
|
"data-slot": "accordion-trigger-icon",
|
|
1044
887
|
className: "pointer-events-none hidden shrink-0 group-aria-expanded/accordion-trigger:inline"
|
|
1045
888
|
})
|
|
@@ -1047,28 +890,28 @@ function kt({ className: t, children: n, ...r }) {
|
|
|
1047
890
|
})
|
|
1048
891
|
});
|
|
1049
892
|
}
|
|
1050
|
-
function
|
|
1051
|
-
return /* @__PURE__ */
|
|
893
|
+
function pt({ className: e, children: t, ...n }) {
|
|
894
|
+
return /* @__PURE__ */ D(A.Content, {
|
|
1052
895
|
"data-slot": "accordion-content",
|
|
1053
896
|
className: "overflow-hidden text-sm data-open:animate-accordion-down data-closed:animate-accordion-up",
|
|
1054
|
-
...
|
|
1055
|
-
children: /* @__PURE__ */
|
|
1056
|
-
className:
|
|
1057
|
-
children:
|
|
897
|
+
...n,
|
|
898
|
+
children: /* @__PURE__ */ D("div", {
|
|
899
|
+
className: u("h-(--radix-accordion-content-height) pt-0 pb-4 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4", e),
|
|
900
|
+
children: t
|
|
1058
901
|
})
|
|
1059
902
|
});
|
|
1060
903
|
}
|
|
1061
904
|
//#endregion
|
|
1062
905
|
//#region src/components/ui/aspect-ratio.tsx
|
|
1063
|
-
function
|
|
1064
|
-
return /* @__PURE__ */
|
|
906
|
+
function mt({ ...e }) {
|
|
907
|
+
return /* @__PURE__ */ D(se.Root, {
|
|
1065
908
|
"data-slot": "aspect-ratio",
|
|
1066
909
|
...e
|
|
1067
910
|
});
|
|
1068
911
|
}
|
|
1069
912
|
//#endregion
|
|
1070
913
|
//#region src/components/ui/shadcn/shadcn-avatar.tsx
|
|
1071
|
-
var
|
|
914
|
+
var ht = k("group/avatar relative flex shrink-0 rounded-full select-none after:absolute after:inset-0 after:rounded-full after:border after:border-border after:mix-blend-darken dark:after:mix-blend-lighten", {
|
|
1072
915
|
variants: { size: {
|
|
1073
916
|
sm: "size-6",
|
|
1074
917
|
default: "size-8",
|
|
@@ -1078,37 +921,37 @@ var Mt = A("group/avatar relative flex shrink-0 rounded-full select-none after:a
|
|
|
1078
921
|
} },
|
|
1079
922
|
defaultVariants: { size: "default" }
|
|
1080
923
|
});
|
|
1081
|
-
function
|
|
1082
|
-
return /* @__PURE__ */
|
|
924
|
+
function gt({ className: e, size: t = "default", ...n }) {
|
|
925
|
+
return /* @__PURE__ */ D(j.Root, {
|
|
1083
926
|
"data-slot": "avatar",
|
|
1084
|
-
"data-size":
|
|
1085
|
-
className:
|
|
1086
|
-
...
|
|
927
|
+
"data-size": t,
|
|
928
|
+
className: u(ht({ size: t }), e),
|
|
929
|
+
...n
|
|
1087
930
|
});
|
|
1088
931
|
}
|
|
1089
|
-
function
|
|
1090
|
-
return /* @__PURE__ */
|
|
932
|
+
function _t({ className: e, ...t }) {
|
|
933
|
+
return /* @__PURE__ */ D(j.Image, {
|
|
1091
934
|
"data-slot": "avatar-image",
|
|
1092
|
-
className:
|
|
1093
|
-
...
|
|
935
|
+
className: u("aspect-square size-full rounded-full object-cover", e),
|
|
936
|
+
...t
|
|
1094
937
|
});
|
|
1095
938
|
}
|
|
1096
|
-
function
|
|
1097
|
-
return /* @__PURE__ */
|
|
939
|
+
function vt({ className: e, ...t }) {
|
|
940
|
+
return /* @__PURE__ */ D(j.Fallback, {
|
|
1098
941
|
"data-slot": "avatar-fallback",
|
|
1099
|
-
className:
|
|
1100
|
-
...
|
|
942
|
+
className: u("flex size-full items-center justify-center rounded-full bg-muted text-muted-foreground group-data-[size=sm]/avatar:text-xs group-data-[size=default]/avatar:text-sm group-data-[size=lg]/avatar:text-sm group-data-[size=xl]/avatar:text-lg group-data-[size=2xl]/avatar:text-xl", e),
|
|
943
|
+
...t
|
|
1101
944
|
});
|
|
1102
945
|
}
|
|
1103
946
|
//#endregion
|
|
1104
947
|
//#region src/components/ui/avatar.tsx
|
|
1105
|
-
var
|
|
948
|
+
var yt = ({ src: e, alt: t, fallback: n, size: r = "default" }) => /* @__PURE__ */ O(gt, {
|
|
1106
949
|
size: r,
|
|
1107
|
-
children: [e && /* @__PURE__ */
|
|
950
|
+
children: [e && /* @__PURE__ */ D(_t, {
|
|
1108
951
|
src: e,
|
|
1109
952
|
alt: t
|
|
1110
|
-
}), n && /* @__PURE__ */
|
|
1111
|
-
}),
|
|
953
|
+
}), n && /* @__PURE__ */ D(vt, { children: n })]
|
|
954
|
+
}), bt = k("group/badge inline-flex h-6 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!", {
|
|
1112
955
|
variants: { variant: {
|
|
1113
956
|
default: "bg-primary text-primary-foreground hover:bg-primary/80",
|
|
1114
957
|
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
@@ -1126,75 +969,75 @@ var It = ({ src: e, alt: t, fallback: n, size: r = "default" }) => /* @__PURE__
|
|
|
1126
969
|
} },
|
|
1127
970
|
defaultVariants: { variant: "default" }
|
|
1128
971
|
});
|
|
1129
|
-
function
|
|
1130
|
-
let
|
|
1131
|
-
return /* @__PURE__ */
|
|
972
|
+
function xt({ className: e, variant: t = "default", asChild: n = !1, ...r }) {
|
|
973
|
+
let i = n ? W.Root : "span";
|
|
974
|
+
return /* @__PURE__ */ D(i, {
|
|
1132
975
|
"data-slot": "badge",
|
|
1133
|
-
"data-variant":
|
|
1134
|
-
className:
|
|
1135
|
-
...
|
|
976
|
+
"data-variant": t,
|
|
977
|
+
className: u(t === "aiLive" ? "badge-ai" : bt({ variant: t }), e),
|
|
978
|
+
...r
|
|
1136
979
|
});
|
|
1137
980
|
}
|
|
1138
981
|
//#endregion
|
|
1139
982
|
//#region src/components/ui/breadcrumb.tsx
|
|
1140
|
-
function
|
|
1141
|
-
return /* @__PURE__ */
|
|
983
|
+
function St({ className: e, ...t }) {
|
|
984
|
+
return /* @__PURE__ */ D("nav", {
|
|
1142
985
|
"aria-label": "breadcrumb",
|
|
1143
986
|
"data-slot": "breadcrumb",
|
|
1144
|
-
className: e
|
|
1145
|
-
...
|
|
987
|
+
className: u(e),
|
|
988
|
+
...t
|
|
1146
989
|
});
|
|
1147
990
|
}
|
|
1148
|
-
function
|
|
1149
|
-
return /* @__PURE__ */
|
|
991
|
+
function Ct({ className: e, ...t }) {
|
|
992
|
+
return /* @__PURE__ */ D("ol", {
|
|
1150
993
|
"data-slot": "breadcrumb-list",
|
|
1151
|
-
className:
|
|
1152
|
-
...
|
|
994
|
+
className: u("flex flex-wrap items-center gap-1.5 text-sm wrap-break-word text-muted-foreground sm:gap-2.5", e),
|
|
995
|
+
...t
|
|
1153
996
|
});
|
|
1154
997
|
}
|
|
1155
|
-
function
|
|
1156
|
-
return /* @__PURE__ */
|
|
998
|
+
function wt({ className: e, ...t }) {
|
|
999
|
+
return /* @__PURE__ */ D("li", {
|
|
1157
1000
|
"data-slot": "breadcrumb-item",
|
|
1158
|
-
className:
|
|
1159
|
-
...
|
|
1001
|
+
className: u("inline-flex items-center gap-1.5", e),
|
|
1002
|
+
...t
|
|
1160
1003
|
});
|
|
1161
1004
|
}
|
|
1162
|
-
function
|
|
1163
|
-
let
|
|
1164
|
-
return
|
|
1005
|
+
function Tt({ asChild: e, className: t, ...n }) {
|
|
1006
|
+
let r = X(), i = e ? W.Root : r;
|
|
1007
|
+
return w.createElement(i, {
|
|
1165
1008
|
"data-slot": "breadcrumb-link",
|
|
1166
|
-
className:
|
|
1167
|
-
...
|
|
1009
|
+
className: u("transition-colors hover:text-foreground", t),
|
|
1010
|
+
...n
|
|
1168
1011
|
});
|
|
1169
1012
|
}
|
|
1170
|
-
function
|
|
1171
|
-
return /* @__PURE__ */
|
|
1013
|
+
function Et({ className: e, ...t }) {
|
|
1014
|
+
return /* @__PURE__ */ D("span", {
|
|
1172
1015
|
"data-slot": "breadcrumb-page",
|
|
1173
1016
|
role: "link",
|
|
1174
1017
|
"aria-disabled": "true",
|
|
1175
1018
|
"aria-current": "page",
|
|
1176
|
-
className:
|
|
1177
|
-
...
|
|
1019
|
+
className: u("font-normal text-foreground", e),
|
|
1020
|
+
...t
|
|
1178
1021
|
});
|
|
1179
1022
|
}
|
|
1180
|
-
function
|
|
1181
|
-
return /* @__PURE__ */
|
|
1023
|
+
function Dt({ children: e, className: t, ...n }) {
|
|
1024
|
+
return /* @__PURE__ */ D("li", {
|
|
1182
1025
|
"data-slot": "breadcrumb-separator",
|
|
1183
1026
|
role: "presentation",
|
|
1184
1027
|
"aria-hidden": "true",
|
|
1185
|
-
className:
|
|
1186
|
-
...
|
|
1187
|
-
children:
|
|
1028
|
+
className: u("[&>svg]:size-3.5", t),
|
|
1029
|
+
...n,
|
|
1030
|
+
children: e ?? /* @__PURE__ */ D(x, {})
|
|
1188
1031
|
});
|
|
1189
1032
|
}
|
|
1190
|
-
function
|
|
1191
|
-
return /* @__PURE__ */
|
|
1033
|
+
function Ot({ className: e, ...t }) {
|
|
1034
|
+
return /* @__PURE__ */ O("span", {
|
|
1192
1035
|
"data-slot": "breadcrumb-ellipsis",
|
|
1193
1036
|
role: "presentation",
|
|
1194
1037
|
"aria-hidden": "true",
|
|
1195
|
-
className:
|
|
1196
|
-
...
|
|
1197
|
-
children: [/* @__PURE__ */
|
|
1038
|
+
className: u("flex size-5 items-center justify-center [&>svg]:size-4", e),
|
|
1039
|
+
...t,
|
|
1040
|
+
children: [/* @__PURE__ */ D(re, {}), /* @__PURE__ */ D("span", {
|
|
1198
1041
|
className: "sr-only",
|
|
1199
1042
|
children: "More"
|
|
1200
1043
|
})]
|
|
@@ -1202,481 +1045,481 @@ function Gt({ className: t, ...n }) {
|
|
|
1202
1045
|
}
|
|
1203
1046
|
//#endregion
|
|
1204
1047
|
//#region src/components/ui/separator.tsx
|
|
1205
|
-
function Z({ className:
|
|
1206
|
-
return /* @__PURE__ */
|
|
1048
|
+
function Z({ className: e, orientation: t = "horizontal", decorative: n = !0, ...r }) {
|
|
1049
|
+
return /* @__PURE__ */ D(de.Root, {
|
|
1207
1050
|
"data-slot": "separator",
|
|
1208
|
-
decorative:
|
|
1209
|
-
orientation:
|
|
1210
|
-
className:
|
|
1211
|
-
...
|
|
1051
|
+
decorative: n,
|
|
1052
|
+
orientation: t,
|
|
1053
|
+
className: u("shrink-0 bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch", e),
|
|
1054
|
+
...r
|
|
1212
1055
|
});
|
|
1213
1056
|
}
|
|
1214
1057
|
//#endregion
|
|
1215
1058
|
//#region src/components/ui/button-group.tsx
|
|
1216
|
-
var
|
|
1059
|
+
var kt = k("flex w-fit items-stretch *:focus-visible:relative *:focus-visible:z-10 has-[>[data-slot=button-group]]:gap-2 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-lg [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1", {
|
|
1217
1060
|
variants: { orientation: {
|
|
1218
1061
|
horizontal: "[&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none [&>[data-slot]:not(:has(~[data-slot]))]:rounded-r-lg!",
|
|
1219
1062
|
vertical: "flex-col [&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none [&>[data-slot]:not(:has(~[data-slot]))]:rounded-b-lg!"
|
|
1220
1063
|
} },
|
|
1221
1064
|
defaultVariants: { orientation: "horizontal" }
|
|
1222
1065
|
});
|
|
1223
|
-
function
|
|
1224
|
-
return /* @__PURE__ */
|
|
1066
|
+
function At({ className: e, orientation: t, ...n }) {
|
|
1067
|
+
return /* @__PURE__ */ D("div", {
|
|
1225
1068
|
role: "group",
|
|
1226
1069
|
"data-slot": "button-group",
|
|
1227
|
-
"data-orientation":
|
|
1228
|
-
className:
|
|
1229
|
-
...
|
|
1070
|
+
"data-orientation": t,
|
|
1071
|
+
className: u(kt({ orientation: t }), e),
|
|
1072
|
+
...n
|
|
1230
1073
|
});
|
|
1231
1074
|
}
|
|
1232
|
-
function
|
|
1233
|
-
let
|
|
1234
|
-
return /* @__PURE__ */
|
|
1235
|
-
className:
|
|
1236
|
-
...
|
|
1075
|
+
function jt({ className: e, asChild: t = !1, ...n }) {
|
|
1076
|
+
let r = t ? W.Root : "div";
|
|
1077
|
+
return /* @__PURE__ */ D(r, {
|
|
1078
|
+
className: u("flex items-center gap-2 rounded-lg border bg-muted px-2.5 text-sm font-medium [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4", e),
|
|
1079
|
+
...n
|
|
1237
1080
|
});
|
|
1238
1081
|
}
|
|
1239
|
-
function
|
|
1240
|
-
return /* @__PURE__ */
|
|
1082
|
+
function Mt({ className: e, orientation: t = "vertical", ...n }) {
|
|
1083
|
+
return /* @__PURE__ */ D(Z, {
|
|
1241
1084
|
"data-slot": "button-group-separator",
|
|
1242
|
-
orientation:
|
|
1243
|
-
className:
|
|
1244
|
-
...
|
|
1085
|
+
orientation: t,
|
|
1086
|
+
className: u("relative self-stretch bg-input data-horizontal:mx-px data-horizontal:w-auto data-vertical:my-px data-vertical:h-auto", e),
|
|
1087
|
+
...n
|
|
1245
1088
|
});
|
|
1246
1089
|
}
|
|
1247
1090
|
//#endregion
|
|
1248
1091
|
//#region src/components/ui/card.tsx
|
|
1249
|
-
function
|
|
1250
|
-
return /* @__PURE__ */
|
|
1092
|
+
function Nt({ className: e, size: t = "default", variant: n = "default", ...r }) {
|
|
1093
|
+
return /* @__PURE__ */ D("div", {
|
|
1251
1094
|
"data-slot": "card",
|
|
1252
|
-
"data-size":
|
|
1253
|
-
"data-variant":
|
|
1254
|
-
className:
|
|
1255
|
-
...
|
|
1095
|
+
"data-size": t,
|
|
1096
|
+
"data-variant": n,
|
|
1097
|
+
className: u("group/card flex flex-col gap-6 overflow-hidden py-6 text-sm text-card-foreground has-[>img:first-child]:pt-0 data-[size=sm]:gap-4 data-[size=sm]:py-4 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl", n === "default" && "rounded-xl bg-card shadow-xs ring-1 ring-foreground/10", (n === "surface" || n === "interactive") && "card-base rounded-lg bg-card text-card-foreground", n === "interactive" && "card-interactive", e),
|
|
1098
|
+
...r
|
|
1256
1099
|
});
|
|
1257
1100
|
}
|
|
1258
|
-
function
|
|
1259
|
-
return /* @__PURE__ */
|
|
1101
|
+
function Pt({ className: e, ...t }) {
|
|
1102
|
+
return /* @__PURE__ */ D("div", {
|
|
1260
1103
|
"data-slot": "card-header",
|
|
1261
|
-
className:
|
|
1262
|
-
...
|
|
1104
|
+
className: u("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-6 group-data-[size=sm]/card:px-4 has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-6 group-data-[size=sm]/card:[.border-b]:pb-4", e),
|
|
1105
|
+
...t
|
|
1263
1106
|
});
|
|
1264
1107
|
}
|
|
1265
|
-
function
|
|
1266
|
-
return /* @__PURE__ */
|
|
1108
|
+
function Ft({ className: e, ...t }) {
|
|
1109
|
+
return /* @__PURE__ */ D("div", {
|
|
1267
1110
|
"data-slot": "card-title",
|
|
1268
|
-
className:
|
|
1269
|
-
...
|
|
1111
|
+
className: u("font-heading text-base leading-normal font-semibold group-data-[size=sm]/card:text-sm", e),
|
|
1112
|
+
...t
|
|
1270
1113
|
});
|
|
1271
1114
|
}
|
|
1272
|
-
function
|
|
1273
|
-
return /* @__PURE__ */
|
|
1115
|
+
function It({ className: e, ...t }) {
|
|
1116
|
+
return /* @__PURE__ */ D("div", {
|
|
1274
1117
|
"data-slot": "card-description",
|
|
1275
|
-
className:
|
|
1276
|
-
...
|
|
1118
|
+
className: u("text-sm text-muted-foreground", e),
|
|
1119
|
+
...t
|
|
1277
1120
|
});
|
|
1278
1121
|
}
|
|
1279
|
-
function
|
|
1280
|
-
return /* @__PURE__ */
|
|
1122
|
+
function Lt({ className: e, ...t }) {
|
|
1123
|
+
return /* @__PURE__ */ D("div", {
|
|
1281
1124
|
"data-slot": "card-action",
|
|
1282
|
-
className:
|
|
1283
|
-
...
|
|
1125
|
+
className: u("col-start-2 row-span-2 row-start-1 self-start justify-self-end", e),
|
|
1126
|
+
...t
|
|
1284
1127
|
});
|
|
1285
1128
|
}
|
|
1286
|
-
function
|
|
1287
|
-
return /* @__PURE__ */
|
|
1129
|
+
function Rt({ className: e, ...t }) {
|
|
1130
|
+
return /* @__PURE__ */ D("div", {
|
|
1288
1131
|
"data-slot": "card-content",
|
|
1289
|
-
className:
|
|
1290
|
-
...
|
|
1132
|
+
className: u("px-6 group-data-[size=sm]/card:px-4", e),
|
|
1133
|
+
...t
|
|
1291
1134
|
});
|
|
1292
1135
|
}
|
|
1293
|
-
function
|
|
1294
|
-
return /* @__PURE__ */
|
|
1136
|
+
function zt({ className: e, ...t }) {
|
|
1137
|
+
return /* @__PURE__ */ D("div", {
|
|
1295
1138
|
"data-slot": "card-footer",
|
|
1296
|
-
className:
|
|
1297
|
-
...
|
|
1139
|
+
className: u("flex items-center rounded-b-xl px-6 group-data-[size=sm]/card:px-4 [.border-t]:pt-6 group-data-[size=sm]/card:[.border-t]:pt-4", e),
|
|
1140
|
+
...t
|
|
1298
1141
|
});
|
|
1299
1142
|
}
|
|
1300
1143
|
//#endregion
|
|
1301
1144
|
//#region src/components/ui/checkbox.tsx
|
|
1302
|
-
function
|
|
1303
|
-
return /* @__PURE__ */
|
|
1145
|
+
function Bt({ className: e, label: t, helperText: n, error: r = !1, id: i, ...a }) {
|
|
1146
|
+
return /* @__PURE__ */ O("div", {
|
|
1304
1147
|
className: "flex flex-col gap-1",
|
|
1305
|
-
children: [/* @__PURE__ */
|
|
1148
|
+
children: [/* @__PURE__ */ O("div", {
|
|
1306
1149
|
className: "flex items-center gap-2",
|
|
1307
|
-
children: [/* @__PURE__ */
|
|
1308
|
-
id:
|
|
1150
|
+
children: [/* @__PURE__ */ D(ce.Root, {
|
|
1151
|
+
id: i,
|
|
1309
1152
|
"data-slot": "checkbox",
|
|
1310
|
-
className:
|
|
1311
|
-
...
|
|
1312
|
-
children: /* @__PURE__ */
|
|
1153
|
+
className: u("peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input shadow-xs transition-shadow outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary", e),
|
|
1154
|
+
...a,
|
|
1155
|
+
children: /* @__PURE__ */ D(ce.Indicator, {
|
|
1313
1156
|
"data-slot": "checkbox-indicator",
|
|
1314
1157
|
className: "grid place-content-center text-current transition-none [&>svg]:size-3.5",
|
|
1315
|
-
children: /* @__PURE__ */
|
|
1158
|
+
children: /* @__PURE__ */ D(y, {})
|
|
1316
1159
|
})
|
|
1317
|
-
}),
|
|
1318
|
-
htmlFor:
|
|
1160
|
+
}), t && /* @__PURE__ */ D(m, {
|
|
1161
|
+
htmlFor: i,
|
|
1319
1162
|
className: "font-normal cursor-pointer",
|
|
1320
|
-
children:
|
|
1163
|
+
children: t
|
|
1321
1164
|
})]
|
|
1322
|
-
}),
|
|
1323
|
-
className: `text-caption pl-6 ${
|
|
1324
|
-
children:
|
|
1165
|
+
}), n && /* @__PURE__ */ D("p", {
|
|
1166
|
+
className: `text-caption pl-6 ${r ? "text-destructive" : "text-muted-foreground"}`,
|
|
1167
|
+
children: n
|
|
1325
1168
|
})]
|
|
1326
1169
|
});
|
|
1327
1170
|
}
|
|
1328
1171
|
//#endregion
|
|
1329
1172
|
//#region src/components/ui/collapsible.tsx
|
|
1330
|
-
function
|
|
1331
|
-
return /* @__PURE__ */
|
|
1173
|
+
function Vt({ ...e }) {
|
|
1174
|
+
return /* @__PURE__ */ D(M.Root, {
|
|
1332
1175
|
"data-slot": "collapsible",
|
|
1333
1176
|
...e
|
|
1334
1177
|
});
|
|
1335
1178
|
}
|
|
1336
|
-
function
|
|
1337
|
-
return /* @__PURE__ */
|
|
1179
|
+
function Ht({ ...e }) {
|
|
1180
|
+
return /* @__PURE__ */ D(M.CollapsibleTrigger, {
|
|
1338
1181
|
"data-slot": "collapsible-trigger",
|
|
1339
1182
|
...e
|
|
1340
1183
|
});
|
|
1341
1184
|
}
|
|
1342
|
-
function
|
|
1343
|
-
return /* @__PURE__ */
|
|
1185
|
+
function Ut({ ...e }) {
|
|
1186
|
+
return /* @__PURE__ */ D(M.CollapsibleContent, {
|
|
1344
1187
|
"data-slot": "collapsible-content",
|
|
1345
1188
|
...e
|
|
1346
1189
|
});
|
|
1347
1190
|
}
|
|
1348
1191
|
//#endregion
|
|
1349
1192
|
//#region src/components/ui/context-menu.tsx
|
|
1350
|
-
function
|
|
1351
|
-
return /* @__PURE__ */
|
|
1193
|
+
function Wt({ ...e }) {
|
|
1194
|
+
return /* @__PURE__ */ D(N.Root, {
|
|
1352
1195
|
"data-slot": "context-menu",
|
|
1353
1196
|
...e
|
|
1354
1197
|
});
|
|
1355
1198
|
}
|
|
1356
|
-
function
|
|
1357
|
-
return /* @__PURE__ */
|
|
1199
|
+
function Gt({ className: e, ...t }) {
|
|
1200
|
+
return /* @__PURE__ */ D(N.Trigger, {
|
|
1358
1201
|
"data-slot": "context-menu-trigger",
|
|
1359
|
-
className:
|
|
1360
|
-
...
|
|
1202
|
+
className: u("select-none", e),
|
|
1203
|
+
...t
|
|
1361
1204
|
});
|
|
1362
1205
|
}
|
|
1363
|
-
function
|
|
1364
|
-
return /* @__PURE__ */
|
|
1206
|
+
function Kt({ ...e }) {
|
|
1207
|
+
return /* @__PURE__ */ D(N.Group, {
|
|
1365
1208
|
"data-slot": "context-menu-group",
|
|
1366
1209
|
...e
|
|
1367
1210
|
});
|
|
1368
1211
|
}
|
|
1369
|
-
function
|
|
1370
|
-
return /* @__PURE__ */
|
|
1212
|
+
function qt({ ...e }) {
|
|
1213
|
+
return /* @__PURE__ */ D(N.Portal, {
|
|
1371
1214
|
"data-slot": "context-menu-portal",
|
|
1372
1215
|
...e
|
|
1373
1216
|
});
|
|
1374
1217
|
}
|
|
1375
|
-
function
|
|
1376
|
-
return /* @__PURE__ */
|
|
1218
|
+
function Jt({ ...e }) {
|
|
1219
|
+
return /* @__PURE__ */ D(N.Sub, {
|
|
1377
1220
|
"data-slot": "context-menu-sub",
|
|
1378
1221
|
...e
|
|
1379
1222
|
});
|
|
1380
1223
|
}
|
|
1381
|
-
function
|
|
1382
|
-
return /* @__PURE__ */
|
|
1224
|
+
function Yt({ ...e }) {
|
|
1225
|
+
return /* @__PURE__ */ D(N.RadioGroup, {
|
|
1383
1226
|
"data-slot": "context-menu-radio-group",
|
|
1384
1227
|
...e
|
|
1385
1228
|
});
|
|
1386
1229
|
}
|
|
1387
|
-
function
|
|
1388
|
-
let
|
|
1389
|
-
return /* @__PURE__ */
|
|
1230
|
+
function Xt({ className: e, style: t, ...n }) {
|
|
1231
|
+
let i = r();
|
|
1232
|
+
return /* @__PURE__ */ D(N.Portal, { children: /* @__PURE__ */ D(N.Content, {
|
|
1390
1233
|
"data-slot": "context-menu-content",
|
|
1391
1234
|
style: {
|
|
1392
|
-
...
|
|
1393
|
-
...
|
|
1235
|
+
...i.style,
|
|
1236
|
+
...t
|
|
1394
1237
|
},
|
|
1395
|
-
className:
|
|
1396
|
-
...
|
|
1238
|
+
className: u(i.className, "z-50 max-h-(--radix-context-menu-content-available-height) min-w-36 origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
|
|
1239
|
+
...n
|
|
1397
1240
|
}) });
|
|
1398
1241
|
}
|
|
1399
|
-
function
|
|
1400
|
-
return /* @__PURE__ */
|
|
1242
|
+
function Zt({ className: e, inset: t, variant: n = "default", ...r }) {
|
|
1243
|
+
return /* @__PURE__ */ D(N.Item, {
|
|
1401
1244
|
"data-slot": "context-menu-item",
|
|
1402
|
-
"data-inset":
|
|
1403
|
-
"data-variant":
|
|
1404
|
-
className:
|
|
1405
|
-
...
|
|
1245
|
+
"data-inset": t,
|
|
1246
|
+
"data-variant": n,
|
|
1247
|
+
className: u("group/context-menu-item relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-inset:pl-8 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 focus:*:[svg]:text-accent-foreground data-[variant=destructive]:*:[svg]:text-destructive", e),
|
|
1248
|
+
...r
|
|
1406
1249
|
});
|
|
1407
1250
|
}
|
|
1408
|
-
function
|
|
1409
|
-
return /* @__PURE__ */
|
|
1251
|
+
function Qt({ className: e, inset: t, children: n, ...r }) {
|
|
1252
|
+
return /* @__PURE__ */ O(N.SubTrigger, {
|
|
1410
1253
|
"data-slot": "context-menu-sub-trigger",
|
|
1411
|
-
"data-inset":
|
|
1412
|
-
className:
|
|
1413
|
-
...
|
|
1414
|
-
children: [
|
|
1254
|
+
"data-inset": t,
|
|
1255
|
+
className: u("flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-inset:pl-8 data-open:bg-accent data-open:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
|
|
1256
|
+
...r,
|
|
1257
|
+
children: [n, /* @__PURE__ */ D(x, { className: "ml-auto" })]
|
|
1415
1258
|
});
|
|
1416
1259
|
}
|
|
1417
|
-
function
|
|
1418
|
-
let
|
|
1419
|
-
return /* @__PURE__ */
|
|
1260
|
+
function $t({ className: e, style: t, ...n }) {
|
|
1261
|
+
let i = r();
|
|
1262
|
+
return /* @__PURE__ */ D(N.SubContent, {
|
|
1420
1263
|
"data-slot": "context-menu-sub-content",
|
|
1421
1264
|
style: {
|
|
1422
|
-
...
|
|
1423
|
-
...
|
|
1265
|
+
...i.style,
|
|
1266
|
+
...t
|
|
1424
1267
|
},
|
|
1425
|
-
className:
|
|
1426
|
-
...
|
|
1268
|
+
className: u(i.className, "z-50 min-w-32 origin-(--radix-context-menu-content-transform-origin) overflow-hidden rounded-md bg-popover p-1 text-popover-foreground shadow-lg ring-1 ring-foreground/10 duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
|
|
1269
|
+
...n
|
|
1427
1270
|
});
|
|
1428
1271
|
}
|
|
1429
|
-
function
|
|
1430
|
-
return /* @__PURE__ */
|
|
1272
|
+
function en({ className: e, children: t, checked: n, inset: r, ...i }) {
|
|
1273
|
+
return /* @__PURE__ */ O(N.CheckboxItem, {
|
|
1431
1274
|
"data-slot": "context-menu-checkbox-item",
|
|
1432
|
-
"data-inset":
|
|
1433
|
-
className:
|
|
1434
|
-
checked:
|
|
1435
|
-
...
|
|
1436
|
-
children: [/* @__PURE__ */
|
|
1275
|
+
"data-inset": r,
|
|
1276
|
+
className: u("relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-inset:pl-8 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
|
|
1277
|
+
checked: n,
|
|
1278
|
+
...i,
|
|
1279
|
+
children: [/* @__PURE__ */ D("span", {
|
|
1437
1280
|
className: "pointer-events-none absolute right-2",
|
|
1438
|
-
children: /* @__PURE__ */
|
|
1439
|
-
}),
|
|
1281
|
+
children: /* @__PURE__ */ D(N.ItemIndicator, { children: /* @__PURE__ */ D(y, {}) })
|
|
1282
|
+
}), t]
|
|
1440
1283
|
});
|
|
1441
1284
|
}
|
|
1442
|
-
function
|
|
1443
|
-
return /* @__PURE__ */
|
|
1285
|
+
function tn({ className: e, children: t, inset: n, ...r }) {
|
|
1286
|
+
return /* @__PURE__ */ O(N.RadioItem, {
|
|
1444
1287
|
"data-slot": "context-menu-radio-item",
|
|
1445
|
-
"data-inset":
|
|
1446
|
-
className:
|
|
1447
|
-
...
|
|
1448
|
-
children: [/* @__PURE__ */
|
|
1288
|
+
"data-inset": n,
|
|
1289
|
+
className: u("relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-inset:pl-8 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
|
|
1290
|
+
...r,
|
|
1291
|
+
children: [/* @__PURE__ */ D("span", {
|
|
1449
1292
|
className: "pointer-events-none absolute right-2",
|
|
1450
|
-
children: /* @__PURE__ */
|
|
1451
|
-
}),
|
|
1293
|
+
children: /* @__PURE__ */ D(N.ItemIndicator, { children: /* @__PURE__ */ D(y, {}) })
|
|
1294
|
+
}), t]
|
|
1452
1295
|
});
|
|
1453
1296
|
}
|
|
1454
|
-
function
|
|
1455
|
-
return /* @__PURE__ */
|
|
1297
|
+
function nn({ className: e, inset: t, ...n }) {
|
|
1298
|
+
return /* @__PURE__ */ D(N.Label, {
|
|
1456
1299
|
"data-slot": "context-menu-label",
|
|
1457
|
-
"data-inset":
|
|
1458
|
-
className:
|
|
1459
|
-
...
|
|
1300
|
+
"data-inset": t,
|
|
1301
|
+
className: u("px-2 py-1.5 text-xs font-medium text-muted-foreground data-inset:pl-8", e),
|
|
1302
|
+
...n
|
|
1460
1303
|
});
|
|
1461
1304
|
}
|
|
1462
|
-
function
|
|
1463
|
-
return /* @__PURE__ */
|
|
1305
|
+
function rn({ className: e, ...t }) {
|
|
1306
|
+
return /* @__PURE__ */ D(N.Separator, {
|
|
1464
1307
|
"data-slot": "context-menu-separator",
|
|
1465
|
-
className:
|
|
1466
|
-
...
|
|
1308
|
+
className: u("-mx-1 my-1 h-px bg-border", e),
|
|
1309
|
+
...t
|
|
1467
1310
|
});
|
|
1468
1311
|
}
|
|
1469
|
-
function
|
|
1470
|
-
return /* @__PURE__ */
|
|
1312
|
+
function an({ className: e, ...t }) {
|
|
1313
|
+
return /* @__PURE__ */ D("span", {
|
|
1471
1314
|
"data-slot": "context-menu-shortcut",
|
|
1472
|
-
className:
|
|
1473
|
-
...
|
|
1315
|
+
className: u("ml-auto text-xs tracking-widest text-muted-foreground group-focus/context-menu-item:text-accent-foreground", e),
|
|
1316
|
+
...t
|
|
1474
1317
|
});
|
|
1475
1318
|
}
|
|
1476
1319
|
//#endregion
|
|
1477
1320
|
//#region src/components/ui/direction.tsx
|
|
1478
|
-
function
|
|
1479
|
-
return /* @__PURE__ */
|
|
1321
|
+
function on({ dir: e, direction: t, children: n }) {
|
|
1322
|
+
return /* @__PURE__ */ D(F.DirectionProvider, {
|
|
1480
1323
|
dir: t ?? e,
|
|
1481
1324
|
children: n
|
|
1482
1325
|
});
|
|
1483
1326
|
}
|
|
1484
|
-
var
|
|
1327
|
+
var sn = F.useDirection;
|
|
1485
1328
|
//#endregion
|
|
1486
1329
|
//#region src/components/ui/shadcn/shadcn-dropdown-menu.tsx
|
|
1487
|
-
function
|
|
1488
|
-
return /* @__PURE__ */
|
|
1330
|
+
function cn({ ...e }) {
|
|
1331
|
+
return /* @__PURE__ */ D(I.Root, {
|
|
1489
1332
|
"data-slot": "dropdown-menu",
|
|
1490
1333
|
...e
|
|
1491
1334
|
});
|
|
1492
1335
|
}
|
|
1493
|
-
function
|
|
1494
|
-
return /* @__PURE__ */
|
|
1336
|
+
function ln({ ...e }) {
|
|
1337
|
+
return /* @__PURE__ */ D(I.Trigger, {
|
|
1495
1338
|
"data-slot": "dropdown-menu-trigger",
|
|
1496
1339
|
...e
|
|
1497
1340
|
});
|
|
1498
1341
|
}
|
|
1499
|
-
function
|
|
1500
|
-
let
|
|
1501
|
-
return /* @__PURE__ */
|
|
1342
|
+
function un({ className: e, align: t = "start", sideOffset: n = 4, style: i, ...a }) {
|
|
1343
|
+
let o = r();
|
|
1344
|
+
return /* @__PURE__ */ D(I.Portal, { children: /* @__PURE__ */ D(I.Content, {
|
|
1502
1345
|
"data-slot": "dropdown-menu-content",
|
|
1503
|
-
sideOffset:
|
|
1504
|
-
align:
|
|
1346
|
+
sideOffset: n,
|
|
1347
|
+
align: t,
|
|
1505
1348
|
style: {
|
|
1506
|
-
...
|
|
1507
|
-
...
|
|
1349
|
+
...o.style,
|
|
1350
|
+
...i
|
|
1508
1351
|
},
|
|
1509
|
-
className:
|
|
1510
|
-
...
|
|
1352
|
+
className: u(o.className, "z-50 max-h-(--radix-dropdown-menu-content-available-height) w-(--radix-dropdown-menu-trigger-width) min-w-32 origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:overflow-hidden data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
|
|
1353
|
+
...a
|
|
1511
1354
|
}) });
|
|
1512
1355
|
}
|
|
1513
|
-
function
|
|
1514
|
-
return /* @__PURE__ */
|
|
1356
|
+
function dn({ ...e }) {
|
|
1357
|
+
return /* @__PURE__ */ D(I.Group, {
|
|
1515
1358
|
"data-slot": "dropdown-menu-group",
|
|
1516
1359
|
...e
|
|
1517
1360
|
});
|
|
1518
1361
|
}
|
|
1519
|
-
function
|
|
1520
|
-
return /* @__PURE__ */
|
|
1362
|
+
function fn({ className: e, inset: t, variant: n = "default", ...r }) {
|
|
1363
|
+
return /* @__PURE__ */ D(I.Item, {
|
|
1521
1364
|
"data-slot": "dropdown-menu-item",
|
|
1522
|
-
"data-inset":
|
|
1523
|
-
"data-variant":
|
|
1524
|
-
className:
|
|
1525
|
-
...
|
|
1365
|
+
"data-inset": t,
|
|
1366
|
+
"data-variant": n,
|
|
1367
|
+
className: u("group/dropdown-menu-item relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-8 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[variant=destructive]:*:[svg]:text-destructive", e),
|
|
1368
|
+
...r
|
|
1526
1369
|
});
|
|
1527
1370
|
}
|
|
1528
|
-
function
|
|
1529
|
-
return /* @__PURE__ */
|
|
1371
|
+
function pn({ className: e, inset: t, ...n }) {
|
|
1372
|
+
return /* @__PURE__ */ D(I.Label, {
|
|
1530
1373
|
"data-slot": "dropdown-menu-label",
|
|
1531
|
-
"data-inset":
|
|
1532
|
-
className:
|
|
1533
|
-
...
|
|
1374
|
+
"data-inset": t,
|
|
1375
|
+
className: u("px-2 py-1.5 text-xs font-medium text-muted-foreground data-inset:pl-8", e),
|
|
1376
|
+
...n
|
|
1534
1377
|
});
|
|
1535
1378
|
}
|
|
1536
|
-
function
|
|
1537
|
-
return /* @__PURE__ */
|
|
1379
|
+
function mn({ className: e, ...t }) {
|
|
1380
|
+
return /* @__PURE__ */ D(I.Separator, {
|
|
1538
1381
|
"data-slot": "dropdown-menu-separator",
|
|
1539
|
-
className:
|
|
1540
|
-
...
|
|
1382
|
+
className: u("-mx-1 my-1 h-px bg-border", e),
|
|
1383
|
+
...t
|
|
1541
1384
|
});
|
|
1542
1385
|
}
|
|
1543
|
-
function
|
|
1544
|
-
return /* @__PURE__ */
|
|
1386
|
+
function hn({ className: e, ...t }) {
|
|
1387
|
+
return /* @__PURE__ */ D("span", {
|
|
1545
1388
|
"data-slot": "dropdown-menu-shortcut",
|
|
1546
|
-
className:
|
|
1547
|
-
...
|
|
1389
|
+
className: u("ml-auto text-xs tracking-widest text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground", e),
|
|
1390
|
+
...t
|
|
1548
1391
|
});
|
|
1549
1392
|
}
|
|
1550
1393
|
//#endregion
|
|
1551
1394
|
//#region src/components/ui/dropdown-menu.tsx
|
|
1552
|
-
var
|
|
1395
|
+
var gn = (e) => /* @__PURE__ */ O(cn, { children: [/* @__PURE__ */ D(ln, {
|
|
1553
1396
|
asChild: !0,
|
|
1554
|
-
className:
|
|
1555
|
-
children:
|
|
1556
|
-
variant:
|
|
1557
|
-
size:
|
|
1558
|
-
loading:
|
|
1559
|
-
loadingText:
|
|
1560
|
-
asChild:
|
|
1561
|
-
className:
|
|
1397
|
+
className: e.triggerClassName,
|
|
1398
|
+
children: e.trigger ? e.trigger : /* @__PURE__ */ O(o, {
|
|
1399
|
+
variant: e.triggerVariant,
|
|
1400
|
+
size: e.triggerSize,
|
|
1401
|
+
loading: e.triggerLoading,
|
|
1402
|
+
loadingText: e.triggerLoadingText,
|
|
1403
|
+
asChild: e.triggerAsChild,
|
|
1404
|
+
className: e.triggerClassName,
|
|
1562
1405
|
children: [
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1406
|
+
e.triggerIconPosition !== "right" && e.triggerIcon,
|
|
1407
|
+
e.triggerLabel,
|
|
1408
|
+
e.triggerIconPosition === "right" && e.triggerIcon
|
|
1566
1409
|
]
|
|
1567
1410
|
})
|
|
1568
|
-
}), /* @__PURE__ */
|
|
1569
|
-
side:
|
|
1570
|
-
align:
|
|
1571
|
-
className:
|
|
1572
|
-
children: [
|
|
1411
|
+
}), /* @__PURE__ */ O(un, {
|
|
1412
|
+
side: e.side,
|
|
1413
|
+
align: e.align,
|
|
1414
|
+
className: u("w-48", e.contentClassName),
|
|
1415
|
+
children: [e.label && /* @__PURE__ */ O(E, { children: [/* @__PURE__ */ D(pn, { children: e.label }), /* @__PURE__ */ D(mn, {})] }), /* @__PURE__ */ D(dn, { children: e.options.map((e) => /* @__PURE__ */ O(ae.Fragment, { children: [e.separator && /* @__PURE__ */ D(mn, {}), /* @__PURE__ */ O(fn, {
|
|
1573
1416
|
variant: e.variant,
|
|
1574
1417
|
onClick: () => e.onClick?.(e.value),
|
|
1575
1418
|
children: [
|
|
1576
1419
|
e.icon,
|
|
1577
1420
|
e.label,
|
|
1578
1421
|
" ",
|
|
1579
|
-
/* @__PURE__ */
|
|
1422
|
+
/* @__PURE__ */ D(hn, { children: e.shortcut })
|
|
1580
1423
|
]
|
|
1581
1424
|
})] }, e.value)) })]
|
|
1582
1425
|
})] });
|
|
1583
1426
|
//#endregion
|
|
1584
1427
|
//#region src/components/ui/shadcn/shadcn-empty.tsx
|
|
1585
|
-
function
|
|
1586
|
-
return /* @__PURE__ */
|
|
1428
|
+
function _n({ className: e, ...t }) {
|
|
1429
|
+
return /* @__PURE__ */ D("div", {
|
|
1587
1430
|
"data-slot": "empty",
|
|
1588
|
-
className:
|
|
1589
|
-
...
|
|
1431
|
+
className: u("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance", e),
|
|
1432
|
+
...t
|
|
1590
1433
|
});
|
|
1591
1434
|
}
|
|
1592
|
-
function
|
|
1593
|
-
return /* @__PURE__ */
|
|
1435
|
+
function vn({ className: e, ...t }) {
|
|
1436
|
+
return /* @__PURE__ */ D("div", {
|
|
1594
1437
|
"data-slot": "empty-header",
|
|
1595
|
-
className:
|
|
1596
|
-
...
|
|
1438
|
+
className: u("flex max-w-sm flex-col items-center gap-2", e),
|
|
1439
|
+
...t
|
|
1597
1440
|
});
|
|
1598
1441
|
}
|
|
1599
|
-
var
|
|
1442
|
+
var yn = k("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0", {
|
|
1600
1443
|
variants: { variant: {
|
|
1601
1444
|
default: "bg-transparent",
|
|
1602
1445
|
icon: "flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4"
|
|
1603
1446
|
} },
|
|
1604
1447
|
defaultVariants: { variant: "default" }
|
|
1605
1448
|
});
|
|
1606
|
-
function
|
|
1607
|
-
return /* @__PURE__ */
|
|
1449
|
+
function bn({ className: e, variant: t = "default", ...n }) {
|
|
1450
|
+
return /* @__PURE__ */ D("div", {
|
|
1608
1451
|
"data-slot": "empty-icon",
|
|
1609
|
-
"data-variant":
|
|
1610
|
-
className:
|
|
1611
|
-
variant:
|
|
1612
|
-
className:
|
|
1452
|
+
"data-variant": t,
|
|
1453
|
+
className: u(yn({
|
|
1454
|
+
variant: t,
|
|
1455
|
+
className: e
|
|
1613
1456
|
})),
|
|
1614
|
-
...
|
|
1457
|
+
...n
|
|
1615
1458
|
});
|
|
1616
1459
|
}
|
|
1617
|
-
function
|
|
1618
|
-
return /* @__PURE__ */
|
|
1460
|
+
function xn({ className: e, ...t }) {
|
|
1461
|
+
return /* @__PURE__ */ D("div", {
|
|
1619
1462
|
"data-slot": "empty-title",
|
|
1620
|
-
className:
|
|
1621
|
-
...
|
|
1463
|
+
className: u("font-heading text-sm font-medium tracking-tight", e),
|
|
1464
|
+
...t
|
|
1622
1465
|
});
|
|
1623
1466
|
}
|
|
1624
|
-
function
|
|
1625
|
-
return /* @__PURE__ */
|
|
1467
|
+
function Sn({ className: e, ...t }) {
|
|
1468
|
+
return /* @__PURE__ */ D("div", {
|
|
1626
1469
|
"data-slot": "empty-description",
|
|
1627
|
-
className:
|
|
1628
|
-
...
|
|
1470
|
+
className: u("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary", e),
|
|
1471
|
+
...t
|
|
1629
1472
|
});
|
|
1630
1473
|
}
|
|
1631
|
-
function
|
|
1632
|
-
return /* @__PURE__ */
|
|
1474
|
+
function Cn({ className: e, ...t }) {
|
|
1475
|
+
return /* @__PURE__ */ D("div", {
|
|
1633
1476
|
"data-slot": "empty-content",
|
|
1634
|
-
className:
|
|
1635
|
-
...
|
|
1477
|
+
className: u("flex w-full max-w-sm min-w-0 flex-col items-center gap-2.5 text-sm text-balance", e),
|
|
1478
|
+
...t
|
|
1636
1479
|
});
|
|
1637
1480
|
}
|
|
1638
1481
|
//#endregion
|
|
1639
1482
|
//#region src/components/ui/empty.tsx
|
|
1640
|
-
var
|
|
1641
|
-
className:
|
|
1642
|
-
children: [/* @__PURE__ */
|
|
1643
|
-
!!
|
|
1483
|
+
var wn = ({ title: e, description: t, actionLabel: n, onAction: r = () => {}, icon: i = null, children: a = null, className: s = "" }) => /* @__PURE__ */ O(_n, {
|
|
1484
|
+
className: u("min-w-[500px]", s),
|
|
1485
|
+
children: [/* @__PURE__ */ O(vn, { children: [
|
|
1486
|
+
!!i && /* @__PURE__ */ D(bn, {
|
|
1644
1487
|
variant: "icon",
|
|
1645
|
-
children:
|
|
1488
|
+
children: i
|
|
1646
1489
|
}),
|
|
1647
|
-
/* @__PURE__ */
|
|
1648
|
-
|
|
1649
|
-
] }), /* @__PURE__ */
|
|
1490
|
+
/* @__PURE__ */ D(xn, { children: e }),
|
|
1491
|
+
t && /* @__PURE__ */ D(Sn, { children: t })
|
|
1492
|
+
] }), /* @__PURE__ */ O(Cn, { children: [a, n && /* @__PURE__ */ D(o, {
|
|
1650
1493
|
size: "sm",
|
|
1651
|
-
onClick: (e) =>
|
|
1652
|
-
children:
|
|
1494
|
+
onClick: (e) => r && r(e),
|
|
1495
|
+
children: n
|
|
1653
1496
|
})] })]
|
|
1654
1497
|
});
|
|
1655
1498
|
//#endregion
|
|
1656
1499
|
//#region src/components/ui/field.tsx
|
|
1657
|
-
function
|
|
1658
|
-
return /* @__PURE__ */
|
|
1500
|
+
function Tn({ className: e, ...t }) {
|
|
1501
|
+
return /* @__PURE__ */ D("fieldset", {
|
|
1659
1502
|
"data-slot": "field-set",
|
|
1660
|
-
className:
|
|
1661
|
-
...
|
|
1503
|
+
className: u("flex flex-col gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3", e),
|
|
1504
|
+
...t
|
|
1662
1505
|
});
|
|
1663
1506
|
}
|
|
1664
|
-
function
|
|
1665
|
-
return /* @__PURE__ */
|
|
1507
|
+
function En({ className: e, variant: t = "legend", ...n }) {
|
|
1508
|
+
return /* @__PURE__ */ D("legend", {
|
|
1666
1509
|
"data-slot": "field-legend",
|
|
1667
|
-
"data-variant":
|
|
1668
|
-
className:
|
|
1669
|
-
...
|
|
1510
|
+
"data-variant": t,
|
|
1511
|
+
className: u("mb-1.5 font-medium data-[variant=label]:text-sm data-[variant=legend]:text-base", e),
|
|
1512
|
+
...n
|
|
1670
1513
|
});
|
|
1671
1514
|
}
|
|
1672
|
-
function
|
|
1673
|
-
return /* @__PURE__ */
|
|
1515
|
+
function Dn({ className: e, ...t }) {
|
|
1516
|
+
return /* @__PURE__ */ D("div", {
|
|
1674
1517
|
"data-slot": "field-group",
|
|
1675
|
-
className:
|
|
1676
|
-
...
|
|
1518
|
+
className: u("group/field-group @container/field-group flex w-full flex-col gap-5 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4", e),
|
|
1519
|
+
...t
|
|
1677
1520
|
});
|
|
1678
1521
|
}
|
|
1679
|
-
var
|
|
1522
|
+
var On = k("group/field flex w-full gap-2 data-[invalid=true]:text-destructive", {
|
|
1680
1523
|
variants: { orientation: {
|
|
1681
1524
|
vertical: "flex-col *:w-full [&>.sr-only]:w-auto",
|
|
1682
1525
|
horizontal: "flex-row items-center has-[>[data-slot=field-content]]:items-start *:data-[slot=field-label]:flex-auto has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px",
|
|
@@ -1684,156 +1527,156 @@ var Gn = A("group/field flex w-full gap-2 data-[invalid=true]:text-destructive",
|
|
|
1684
1527
|
} },
|
|
1685
1528
|
defaultVariants: { orientation: "vertical" }
|
|
1686
1529
|
});
|
|
1687
|
-
function
|
|
1688
|
-
return /* @__PURE__ */
|
|
1530
|
+
function kn({ className: e, orientation: t = "vertical", ...n }) {
|
|
1531
|
+
return /* @__PURE__ */ D("div", {
|
|
1689
1532
|
role: "group",
|
|
1690
1533
|
"data-slot": "field",
|
|
1691
|
-
"data-orientation":
|
|
1692
|
-
className:
|
|
1693
|
-
...
|
|
1534
|
+
"data-orientation": t,
|
|
1535
|
+
className: u(On({ orientation: t }), e),
|
|
1536
|
+
...n
|
|
1694
1537
|
});
|
|
1695
1538
|
}
|
|
1696
|
-
function
|
|
1697
|
-
return /* @__PURE__ */
|
|
1539
|
+
function An({ className: e, ...t }) {
|
|
1540
|
+
return /* @__PURE__ */ D("div", {
|
|
1698
1541
|
"data-slot": "field-content",
|
|
1699
|
-
className:
|
|
1700
|
-
...
|
|
1542
|
+
className: u("group/field-content flex flex-1 flex-col gap-0.5 leading-snug", e),
|
|
1543
|
+
...t
|
|
1701
1544
|
});
|
|
1702
1545
|
}
|
|
1703
|
-
function
|
|
1704
|
-
return /* @__PURE__ */
|
|
1546
|
+
function jn({ className: e, ...t }) {
|
|
1547
|
+
return /* @__PURE__ */ D(m, {
|
|
1705
1548
|
"data-slot": "field-label",
|
|
1706
|
-
className:
|
|
1707
|
-
...
|
|
1549
|
+
className: u("group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:border-primary/30 has-data-checked:bg-primary/5 has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border *:data-[slot=field]:p-2.5 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10", "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col", e),
|
|
1550
|
+
...t
|
|
1708
1551
|
});
|
|
1709
1552
|
}
|
|
1710
|
-
function
|
|
1711
|
-
return /* @__PURE__ */
|
|
1553
|
+
function Mn({ className: e, ...t }) {
|
|
1554
|
+
return /* @__PURE__ */ D("div", {
|
|
1712
1555
|
"data-slot": "field-label",
|
|
1713
|
-
className:
|
|
1714
|
-
...
|
|
1556
|
+
className: u("flex w-fit items-center gap-2 text-sm leading-snug font-medium group-data-[disabled=true]/field:opacity-50", e),
|
|
1557
|
+
...t
|
|
1715
1558
|
});
|
|
1716
1559
|
}
|
|
1717
|
-
function
|
|
1718
|
-
return /* @__PURE__ */
|
|
1560
|
+
function Nn({ className: e, ...t }) {
|
|
1561
|
+
return /* @__PURE__ */ D("p", {
|
|
1719
1562
|
"data-slot": "field-description",
|
|
1720
|
-
className:
|
|
1721
|
-
...
|
|
1563
|
+
className: u("text-left text-sm leading-normal font-normal text-muted-foreground group-has-data-horizontal/field:text-balance [[data-variant=legend]+&]:-mt-1.5", "last:mt-0 nth-last-2:-mt-1", "[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary", e),
|
|
1564
|
+
...t
|
|
1722
1565
|
});
|
|
1723
1566
|
}
|
|
1724
|
-
function
|
|
1725
|
-
return /* @__PURE__ */
|
|
1567
|
+
function Pn({ children: e, className: t, ...n }) {
|
|
1568
|
+
return /* @__PURE__ */ O("div", {
|
|
1726
1569
|
"data-slot": "field-separator",
|
|
1727
|
-
"data-content": !!
|
|
1728
|
-
className:
|
|
1729
|
-
...
|
|
1730
|
-
children: [/* @__PURE__ */
|
|
1570
|
+
"data-content": !!e,
|
|
1571
|
+
className: u("relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2", t),
|
|
1572
|
+
...n,
|
|
1573
|
+
children: [/* @__PURE__ */ D(Z, { className: "absolute inset-0 top-1/2" }), e && /* @__PURE__ */ D("span", {
|
|
1731
1574
|
className: "relative mx-auto block w-fit bg-background px-2 text-muted-foreground",
|
|
1732
1575
|
"data-slot": "field-separator-content",
|
|
1733
|
-
children:
|
|
1576
|
+
children: e
|
|
1734
1577
|
})]
|
|
1735
1578
|
});
|
|
1736
1579
|
}
|
|
1737
|
-
function
|
|
1738
|
-
let
|
|
1739
|
-
if (
|
|
1740
|
-
if (!
|
|
1741
|
-
let e = [...new Map(
|
|
1742
|
-
return e?.length == 1 ? e[0]?.message : /* @__PURE__ */
|
|
1580
|
+
function Fn({ className: e, children: t, errors: n, ...r }) {
|
|
1581
|
+
let i = T(() => {
|
|
1582
|
+
if (t) return t;
|
|
1583
|
+
if (!n?.length) return null;
|
|
1584
|
+
let e = [...new Map(n.map((e) => [e?.message, e])).values()];
|
|
1585
|
+
return e?.length == 1 ? e[0]?.message : /* @__PURE__ */ D("ul", {
|
|
1743
1586
|
className: "ml-4 flex list-disc flex-col gap-1",
|
|
1744
|
-
children: e.map((e, t) => e?.message && /* @__PURE__ */
|
|
1587
|
+
children: e.map((e, t) => e?.message && /* @__PURE__ */ D("li", { children: e.message }, t))
|
|
1745
1588
|
});
|
|
1746
|
-
}, [
|
|
1747
|
-
return
|
|
1589
|
+
}, [t, n]);
|
|
1590
|
+
return i ? /* @__PURE__ */ D("div", {
|
|
1748
1591
|
role: "alert",
|
|
1749
1592
|
"data-slot": "field-error",
|
|
1750
|
-
className:
|
|
1751
|
-
...
|
|
1752
|
-
children:
|
|
1593
|
+
className: u("text-sm font-normal text-destructive", e),
|
|
1594
|
+
...r,
|
|
1595
|
+
children: i
|
|
1753
1596
|
}) : null;
|
|
1754
1597
|
}
|
|
1755
1598
|
//#endregion
|
|
1756
1599
|
//#region src/components/ui/hover-card.tsx
|
|
1757
|
-
function
|
|
1758
|
-
return /* @__PURE__ */
|
|
1600
|
+
function In({ ...e }) {
|
|
1601
|
+
return /* @__PURE__ */ D(L.Root, {
|
|
1759
1602
|
"data-slot": "hover-card",
|
|
1760
1603
|
...e
|
|
1761
1604
|
});
|
|
1762
1605
|
}
|
|
1763
|
-
function
|
|
1764
|
-
return /* @__PURE__ */
|
|
1606
|
+
function Ln({ ...e }) {
|
|
1607
|
+
return /* @__PURE__ */ D(L.Trigger, {
|
|
1765
1608
|
"data-slot": "hover-card-trigger",
|
|
1766
1609
|
...e
|
|
1767
1610
|
});
|
|
1768
1611
|
}
|
|
1769
|
-
function
|
|
1770
|
-
let
|
|
1771
|
-
return /* @__PURE__ */
|
|
1612
|
+
function Rn({ className: e, align: t = "center", sideOffset: n = 4, style: i, ...a }) {
|
|
1613
|
+
let o = r();
|
|
1614
|
+
return /* @__PURE__ */ D(L.Portal, {
|
|
1772
1615
|
"data-slot": "hover-card-portal",
|
|
1773
|
-
children: /* @__PURE__ */
|
|
1616
|
+
children: /* @__PURE__ */ D(L.Content, {
|
|
1774
1617
|
"data-slot": "hover-card-content",
|
|
1775
|
-
align:
|
|
1776
|
-
sideOffset:
|
|
1618
|
+
align: t,
|
|
1619
|
+
sideOffset: n,
|
|
1777
1620
|
style: {
|
|
1778
|
-
...
|
|
1779
|
-
...
|
|
1621
|
+
...o.style,
|
|
1622
|
+
...i
|
|
1780
1623
|
},
|
|
1781
|
-
className:
|
|
1782
|
-
...
|
|
1624
|
+
className: u(o.className, "z-50 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-lg bg-popover p-4 text-sm text-popover-foreground shadow-md ring-1 ring-foreground/10 outline-hidden duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
|
|
1625
|
+
...a
|
|
1783
1626
|
})
|
|
1784
1627
|
});
|
|
1785
1628
|
}
|
|
1786
1629
|
//#endregion
|
|
1787
1630
|
//#region src/components/ui/Header.tsx
|
|
1788
|
-
function
|
|
1789
|
-
return /* @__PURE__ */
|
|
1631
|
+
function zn({ title: e, description: t, breadcrumb: n, rightContent: r, className: i, ...a }) {
|
|
1632
|
+
return /* @__PURE__ */ O("header", {
|
|
1790
1633
|
"data-slot": "page-header",
|
|
1791
|
-
className:
|
|
1792
|
-
...
|
|
1793
|
-
children: [
|
|
1634
|
+
className: u("flex sticky top-0 z-10 bg-background flex-col gap-3 border-b border-border py-4", i),
|
|
1635
|
+
...a,
|
|
1636
|
+
children: [n ? /* @__PURE__ */ D("div", {
|
|
1794
1637
|
"data-slot": "page-header-breadcrumb",
|
|
1795
1638
|
className: "min-w-0",
|
|
1796
|
-
children:
|
|
1797
|
-
}) : null, /* @__PURE__ */
|
|
1639
|
+
children: n
|
|
1640
|
+
}) : null, /* @__PURE__ */ O("div", {
|
|
1798
1641
|
"data-slot": "page-header-row",
|
|
1799
1642
|
className: "flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",
|
|
1800
|
-
children: [/* @__PURE__ */
|
|
1643
|
+
children: [/* @__PURE__ */ O("div", {
|
|
1801
1644
|
"data-slot": "page-header-main",
|
|
1802
1645
|
className: "min-w-0 flex flex-col gap-1",
|
|
1803
|
-
children: [/* @__PURE__ */
|
|
1646
|
+
children: [/* @__PURE__ */ D("h2", {
|
|
1804
1647
|
className: "font-heading font-bold tracking-tight text-foreground",
|
|
1805
|
-
children:
|
|
1806
|
-
}),
|
|
1648
|
+
children: e
|
|
1649
|
+
}), t ? /* @__PURE__ */ D("p", {
|
|
1807
1650
|
className: "text-sm text-muted-foreground",
|
|
1808
|
-
children:
|
|
1651
|
+
children: t
|
|
1809
1652
|
}) : null]
|
|
1810
|
-
}),
|
|
1653
|
+
}), r ? /* @__PURE__ */ D("div", {
|
|
1811
1654
|
"data-slot": "page-header-actions",
|
|
1812
1655
|
className: "flex shrink-0 flex-wrap items-center gap-3",
|
|
1813
|
-
children:
|
|
1656
|
+
children: r
|
|
1814
1657
|
}) : null]
|
|
1815
1658
|
})]
|
|
1816
1659
|
});
|
|
1817
1660
|
}
|
|
1818
1661
|
//#endregion
|
|
1819
1662
|
//#region src/components/ui/item.tsx
|
|
1820
|
-
function
|
|
1821
|
-
return /* @__PURE__ */
|
|
1663
|
+
function Bn({ className: e, ...t }) {
|
|
1664
|
+
return /* @__PURE__ */ D("div", {
|
|
1822
1665
|
role: "list",
|
|
1823
1666
|
"data-slot": "item-group",
|
|
1824
|
-
className:
|
|
1825
|
-
...
|
|
1667
|
+
className: u("group/item-group flex w-full flex-col gap-4 has-data-[size=sm]:gap-2.5 has-data-[size=xs]:gap-2", e),
|
|
1668
|
+
...t
|
|
1826
1669
|
});
|
|
1827
1670
|
}
|
|
1828
|
-
function
|
|
1829
|
-
return /* @__PURE__ */
|
|
1671
|
+
function Vn({ className: e, ...t }) {
|
|
1672
|
+
return /* @__PURE__ */ D(Z, {
|
|
1830
1673
|
"data-slot": "item-separator",
|
|
1831
1674
|
orientation: "horizontal",
|
|
1832
|
-
className:
|
|
1833
|
-
...
|
|
1675
|
+
className: u("my-2", e),
|
|
1676
|
+
...t
|
|
1834
1677
|
});
|
|
1835
1678
|
}
|
|
1836
|
-
var
|
|
1679
|
+
var Hn = k("group/item flex w-full flex-wrap items-center rounded-lg border text-sm transition-colors duration-100 outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 [a]:transition-colors [a]:hover:bg-muted", {
|
|
1837
1680
|
variants: {
|
|
1838
1681
|
variant: {
|
|
1839
1682
|
default: "border-transparent",
|
|
@@ -1851,21 +1694,21 @@ var ar = A("group/item flex w-full flex-wrap items-center rounded-lg border text
|
|
|
1851
1694
|
size: "default"
|
|
1852
1695
|
}
|
|
1853
1696
|
});
|
|
1854
|
-
function
|
|
1855
|
-
let
|
|
1856
|
-
return /* @__PURE__ */
|
|
1697
|
+
function Un({ className: e, variant: t = "default", size: n = "default", asChild: r = !1, ...i }) {
|
|
1698
|
+
let a = r ? W.Root : "div";
|
|
1699
|
+
return /* @__PURE__ */ D(a, {
|
|
1857
1700
|
"data-slot": "item",
|
|
1858
|
-
"data-variant":
|
|
1859
|
-
"data-size":
|
|
1860
|
-
className:
|
|
1861
|
-
variant:
|
|
1862
|
-
size:
|
|
1863
|
-
className:
|
|
1701
|
+
"data-variant": t,
|
|
1702
|
+
"data-size": n,
|
|
1703
|
+
className: u(Hn({
|
|
1704
|
+
variant: t,
|
|
1705
|
+
size: n,
|
|
1706
|
+
className: e
|
|
1864
1707
|
})),
|
|
1865
|
-
...
|
|
1708
|
+
...i
|
|
1866
1709
|
});
|
|
1867
1710
|
}
|
|
1868
|
-
var
|
|
1711
|
+
var Wn = k("flex shrink-0 items-center justify-center gap-2 group-has-data-[slot=item-description]/item:translate-y-0.5 group-has-data-[slot=item-description]/item:self-start [&_svg]:pointer-events-none", {
|
|
1869
1712
|
variants: { variant: {
|
|
1870
1713
|
default: "bg-transparent",
|
|
1871
1714
|
icon: "[&_svg:not([class*='size-'])]:size-4",
|
|
@@ -1873,356 +1716,356 @@ var sr = A("flex shrink-0 items-center justify-center gap-2 group-has-data-[slot
|
|
|
1873
1716
|
} },
|
|
1874
1717
|
defaultVariants: { variant: "default" }
|
|
1875
1718
|
});
|
|
1876
|
-
function
|
|
1877
|
-
return /* @__PURE__ */
|
|
1719
|
+
function Gn({ className: e, variant: t = "default", ...n }) {
|
|
1720
|
+
return /* @__PURE__ */ D("div", {
|
|
1878
1721
|
"data-slot": "item-media",
|
|
1879
|
-
"data-variant":
|
|
1880
|
-
className:
|
|
1881
|
-
variant:
|
|
1882
|
-
className:
|
|
1722
|
+
"data-variant": t,
|
|
1723
|
+
className: u(Wn({
|
|
1724
|
+
variant: t,
|
|
1725
|
+
className: e
|
|
1883
1726
|
})),
|
|
1884
|
-
...
|
|
1727
|
+
...n
|
|
1885
1728
|
});
|
|
1886
1729
|
}
|
|
1887
|
-
function
|
|
1888
|
-
return /* @__PURE__ */
|
|
1730
|
+
function Kn({ className: e, ...t }) {
|
|
1731
|
+
return /* @__PURE__ */ D("div", {
|
|
1889
1732
|
"data-slot": "item-content",
|
|
1890
|
-
className:
|
|
1891
|
-
...
|
|
1733
|
+
className: u("flex flex-1 flex-col gap-1 group-data-[size=xs]/item:gap-0 [&+[data-slot=item-content]]:flex-none", e),
|
|
1734
|
+
...t
|
|
1892
1735
|
});
|
|
1893
1736
|
}
|
|
1894
|
-
function
|
|
1895
|
-
return /* @__PURE__ */
|
|
1737
|
+
function qn({ className: e, ...t }) {
|
|
1738
|
+
return /* @__PURE__ */ D("div", {
|
|
1896
1739
|
"data-slot": "item-title",
|
|
1897
|
-
className:
|
|
1898
|
-
...
|
|
1740
|
+
className: u("font-heading line-clamp-1 flex w-fit items-center gap-2 text-sm leading-snug font-medium underline-offset-4", e),
|
|
1741
|
+
...t
|
|
1899
1742
|
});
|
|
1900
1743
|
}
|
|
1901
|
-
function
|
|
1902
|
-
return /* @__PURE__ */
|
|
1744
|
+
function Jn({ className: e, ...t }) {
|
|
1745
|
+
return /* @__PURE__ */ D("p", {
|
|
1903
1746
|
"data-slot": "item-description",
|
|
1904
|
-
className:
|
|
1905
|
-
...
|
|
1747
|
+
className: u("line-clamp-2 text-left text-sm leading-normal font-normal text-muted-foreground group-data-[size=xs]/item:text-xs [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary", e),
|
|
1748
|
+
...t
|
|
1906
1749
|
});
|
|
1907
1750
|
}
|
|
1908
|
-
function
|
|
1909
|
-
return /* @__PURE__ */
|
|
1751
|
+
function Yn({ className: e, ...t }) {
|
|
1752
|
+
return /* @__PURE__ */ D("div", {
|
|
1910
1753
|
"data-slot": "item-actions",
|
|
1911
|
-
className:
|
|
1912
|
-
...
|
|
1754
|
+
className: u("flex items-center gap-2", e),
|
|
1755
|
+
...t
|
|
1913
1756
|
});
|
|
1914
1757
|
}
|
|
1915
|
-
function
|
|
1916
|
-
return /* @__PURE__ */
|
|
1758
|
+
function Xn({ className: e, ...t }) {
|
|
1759
|
+
return /* @__PURE__ */ D("div", {
|
|
1917
1760
|
"data-slot": "item-header",
|
|
1918
|
-
className:
|
|
1919
|
-
...
|
|
1761
|
+
className: u("flex basis-full items-center justify-between gap-2", e),
|
|
1762
|
+
...t
|
|
1920
1763
|
});
|
|
1921
1764
|
}
|
|
1922
|
-
function
|
|
1923
|
-
return /* @__PURE__ */
|
|
1765
|
+
function Zn({ className: e, ...t }) {
|
|
1766
|
+
return /* @__PURE__ */ D("div", {
|
|
1924
1767
|
"data-slot": "item-footer",
|
|
1925
|
-
className:
|
|
1926
|
-
...
|
|
1768
|
+
className: u("flex basis-full items-center justify-between gap-2", e),
|
|
1769
|
+
...t
|
|
1927
1770
|
});
|
|
1928
1771
|
}
|
|
1929
1772
|
//#endregion
|
|
1930
1773
|
//#region src/components/ui/kbd.tsx
|
|
1931
|
-
function
|
|
1932
|
-
return /* @__PURE__ */
|
|
1774
|
+
function Qn({ className: e, ...t }) {
|
|
1775
|
+
return /* @__PURE__ */ D("kbd", {
|
|
1933
1776
|
"data-slot": "kbd",
|
|
1934
|
-
className:
|
|
1935
|
-
...
|
|
1777
|
+
className: u("pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-sm bg-muted px-1 font-sans text-xs font-medium text-muted-foreground select-none in-data-[slot=tooltip-content]:bg-background/20 in-data-[slot=tooltip-content]:text-background dark:in-data-[slot=tooltip-content]:bg-background/10 [&_svg:not([class*='size-'])]:size-3", e),
|
|
1778
|
+
...t
|
|
1936
1779
|
});
|
|
1937
1780
|
}
|
|
1938
|
-
function
|
|
1939
|
-
return /* @__PURE__ */
|
|
1781
|
+
function $n({ className: e, ...t }) {
|
|
1782
|
+
return /* @__PURE__ */ D("kbd", {
|
|
1940
1783
|
"data-slot": "kbd-group",
|
|
1941
|
-
className:
|
|
1942
|
-
...
|
|
1784
|
+
className: u("inline-flex items-center gap-1", e),
|
|
1785
|
+
...t
|
|
1943
1786
|
});
|
|
1944
1787
|
}
|
|
1945
1788
|
//#endregion
|
|
1946
1789
|
//#region src/components/ui/menubar.tsx
|
|
1947
|
-
function
|
|
1948
|
-
return /* @__PURE__ */
|
|
1790
|
+
function er({ className: e, ...t }) {
|
|
1791
|
+
return /* @__PURE__ */ D(R.Root, {
|
|
1949
1792
|
"data-slot": "menubar",
|
|
1950
|
-
className:
|
|
1951
|
-
...
|
|
1793
|
+
className: u("flex h-8 items-center gap-0.5 rounded-lg border p-[3px]", e),
|
|
1794
|
+
...t
|
|
1952
1795
|
});
|
|
1953
1796
|
}
|
|
1954
|
-
function
|
|
1955
|
-
return /* @__PURE__ */
|
|
1797
|
+
function tr({ ...e }) {
|
|
1798
|
+
return /* @__PURE__ */ D(R.Menu, {
|
|
1956
1799
|
"data-slot": "menubar-menu",
|
|
1957
1800
|
...e
|
|
1958
1801
|
});
|
|
1959
1802
|
}
|
|
1960
|
-
function
|
|
1961
|
-
return /* @__PURE__ */
|
|
1803
|
+
function nr({ ...e }) {
|
|
1804
|
+
return /* @__PURE__ */ D(R.Group, {
|
|
1962
1805
|
"data-slot": "menubar-group",
|
|
1963
1806
|
...e
|
|
1964
1807
|
});
|
|
1965
1808
|
}
|
|
1966
|
-
function
|
|
1967
|
-
return /* @__PURE__ */
|
|
1809
|
+
function rr({ ...e }) {
|
|
1810
|
+
return /* @__PURE__ */ D(R.Portal, {
|
|
1968
1811
|
"data-slot": "menubar-portal",
|
|
1969
1812
|
...e
|
|
1970
1813
|
});
|
|
1971
1814
|
}
|
|
1972
|
-
function
|
|
1973
|
-
return /* @__PURE__ */
|
|
1815
|
+
function ir({ ...e }) {
|
|
1816
|
+
return /* @__PURE__ */ D(R.RadioGroup, {
|
|
1974
1817
|
"data-slot": "menubar-radio-group",
|
|
1975
1818
|
...e
|
|
1976
1819
|
});
|
|
1977
1820
|
}
|
|
1978
|
-
function
|
|
1979
|
-
return /* @__PURE__ */
|
|
1821
|
+
function ar({ className: e, ...t }) {
|
|
1822
|
+
return /* @__PURE__ */ D(R.Trigger, {
|
|
1980
1823
|
"data-slot": "menubar-trigger",
|
|
1981
|
-
className:
|
|
1982
|
-
...
|
|
1824
|
+
className: u("flex items-center rounded-sm px-1.5 py-[2px] text-sm font-medium outline-hidden select-none hover:bg-muted aria-expanded:bg-muted", e),
|
|
1825
|
+
...t
|
|
1983
1826
|
});
|
|
1984
1827
|
}
|
|
1985
|
-
function
|
|
1986
|
-
let
|
|
1987
|
-
return /* @__PURE__ */
|
|
1828
|
+
function or({ className: e, align: t = "start", alignOffset: n = -4, sideOffset: i = 8, style: a, ...o }) {
|
|
1829
|
+
let s = r();
|
|
1830
|
+
return /* @__PURE__ */ D(rr, { children: /* @__PURE__ */ D(R.Content, {
|
|
1988
1831
|
"data-slot": "menubar-content",
|
|
1989
|
-
align:
|
|
1990
|
-
alignOffset:
|
|
1991
|
-
sideOffset:
|
|
1832
|
+
align: t,
|
|
1833
|
+
alignOffset: n,
|
|
1834
|
+
sideOffset: i,
|
|
1992
1835
|
style: {
|
|
1993
|
-
...
|
|
1994
|
-
...
|
|
1836
|
+
...s.style,
|
|
1837
|
+
...a
|
|
1995
1838
|
},
|
|
1996
|
-
className:
|
|
1997
|
-
...
|
|
1839
|
+
className: u(s.className, "z-50 min-w-36 origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-lg bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95", e),
|
|
1840
|
+
...o
|
|
1998
1841
|
}) });
|
|
1999
1842
|
}
|
|
2000
|
-
function
|
|
2001
|
-
return /* @__PURE__ */
|
|
1843
|
+
function sr({ className: e, inset: t, variant: n = "default", ...r }) {
|
|
1844
|
+
return /* @__PURE__ */ D(R.Item, {
|
|
2002
1845
|
"data-slot": "menubar-item",
|
|
2003
|
-
"data-inset":
|
|
2004
|
-
"data-variant":
|
|
2005
|
-
className:
|
|
2006
|
-
...
|
|
1846
|
+
"data-inset": t,
|
|
1847
|
+
"data-variant": n,
|
|
1848
|
+
className: u("group/menubar-item relative flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-7 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[variant=destructive]:*:[svg]:text-destructive!", e),
|
|
1849
|
+
...r
|
|
2007
1850
|
});
|
|
2008
1851
|
}
|
|
2009
|
-
function
|
|
2010
|
-
return /* @__PURE__ */
|
|
1852
|
+
function cr({ className: e, children: t, checked: n, inset: r, ...i }) {
|
|
1853
|
+
return /* @__PURE__ */ O(R.CheckboxItem, {
|
|
2011
1854
|
"data-slot": "menubar-checkbox-item",
|
|
2012
|
-
"data-inset":
|
|
2013
|
-
className:
|
|
2014
|
-
checked:
|
|
2015
|
-
...
|
|
2016
|
-
children: [/* @__PURE__ */
|
|
1855
|
+
"data-inset": r,
|
|
1856
|
+
className: u("relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-1.5 pl-7 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0", e),
|
|
1857
|
+
checked: n,
|
|
1858
|
+
...i,
|
|
1859
|
+
children: [/* @__PURE__ */ D("span", {
|
|
2017
1860
|
className: "pointer-events-none absolute left-1.5 flex size-4 items-center justify-center [&_svg:not([class*='size-'])]:size-4",
|
|
2018
|
-
children: /* @__PURE__ */
|
|
2019
|
-
}),
|
|
1861
|
+
children: /* @__PURE__ */ D(R.ItemIndicator, { children: /* @__PURE__ */ D(y, {}) })
|
|
1862
|
+
}), t]
|
|
2020
1863
|
});
|
|
2021
1864
|
}
|
|
2022
|
-
function
|
|
2023
|
-
return /* @__PURE__ */
|
|
1865
|
+
function lr({ className: e, children: t, inset: n, ...r }) {
|
|
1866
|
+
return /* @__PURE__ */ O(R.RadioItem, {
|
|
2024
1867
|
"data-slot": "menubar-radio-item",
|
|
2025
|
-
"data-inset":
|
|
2026
|
-
className:
|
|
2027
|
-
...
|
|
2028
|
-
children: [/* @__PURE__ */
|
|
1868
|
+
"data-inset": n,
|
|
1869
|
+
className: u("relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-1.5 pl-7 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
|
|
1870
|
+
...r,
|
|
1871
|
+
children: [/* @__PURE__ */ D("span", {
|
|
2029
1872
|
className: "pointer-events-none absolute left-1.5 flex size-4 items-center justify-center [&_svg:not([class*='size-'])]:size-4",
|
|
2030
|
-
children: /* @__PURE__ */
|
|
2031
|
-
}),
|
|
1873
|
+
children: /* @__PURE__ */ D(R.ItemIndicator, { children: /* @__PURE__ */ D(y, {}) })
|
|
1874
|
+
}), t]
|
|
2032
1875
|
});
|
|
2033
1876
|
}
|
|
2034
|
-
function
|
|
2035
|
-
return /* @__PURE__ */
|
|
1877
|
+
function ur({ className: e, inset: t, ...n }) {
|
|
1878
|
+
return /* @__PURE__ */ D(R.Label, {
|
|
2036
1879
|
"data-slot": "menubar-label",
|
|
2037
|
-
"data-inset":
|
|
2038
|
-
className:
|
|
2039
|
-
...
|
|
1880
|
+
"data-inset": t,
|
|
1881
|
+
className: u("px-1.5 py-1 text-sm font-medium data-inset:pl-7", e),
|
|
1882
|
+
...n
|
|
2040
1883
|
});
|
|
2041
1884
|
}
|
|
2042
|
-
function
|
|
2043
|
-
return /* @__PURE__ */
|
|
1885
|
+
function dr({ className: e, ...t }) {
|
|
1886
|
+
return /* @__PURE__ */ D(R.Separator, {
|
|
2044
1887
|
"data-slot": "menubar-separator",
|
|
2045
|
-
className:
|
|
2046
|
-
...
|
|
1888
|
+
className: u("-mx-1 my-1 h-px bg-border", e),
|
|
1889
|
+
...t
|
|
2047
1890
|
});
|
|
2048
1891
|
}
|
|
2049
|
-
function
|
|
2050
|
-
return /* @__PURE__ */
|
|
1892
|
+
function fr({ className: e, ...t }) {
|
|
1893
|
+
return /* @__PURE__ */ D("span", {
|
|
2051
1894
|
"data-slot": "menubar-shortcut",
|
|
2052
|
-
className:
|
|
2053
|
-
...
|
|
1895
|
+
className: u("ml-auto text-xs tracking-widest text-muted-foreground group-focus/menubar-item:text-accent-foreground", e),
|
|
1896
|
+
...t
|
|
2054
1897
|
});
|
|
2055
1898
|
}
|
|
2056
|
-
function
|
|
2057
|
-
return /* @__PURE__ */
|
|
1899
|
+
function pr({ ...e }) {
|
|
1900
|
+
return /* @__PURE__ */ D(R.Sub, {
|
|
2058
1901
|
"data-slot": "menubar-sub",
|
|
2059
1902
|
...e
|
|
2060
1903
|
});
|
|
2061
1904
|
}
|
|
2062
|
-
function
|
|
2063
|
-
return /* @__PURE__ */
|
|
1905
|
+
function mr({ className: e, inset: t, children: n, ...r }) {
|
|
1906
|
+
return /* @__PURE__ */ O(R.SubTrigger, {
|
|
2064
1907
|
"data-slot": "menubar-sub-trigger",
|
|
2065
|
-
"data-inset":
|
|
2066
|
-
className:
|
|
2067
|
-
...
|
|
2068
|
-
children: [
|
|
1908
|
+
"data-inset": t,
|
|
1909
|
+
className: u("flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-none select-none focus:bg-accent focus:text-accent-foreground data-inset:pl-7 data-open:bg-accent data-open:text-accent-foreground [&_svg:not([class*='size-'])]:size-4", e),
|
|
1910
|
+
...r,
|
|
1911
|
+
children: [n, /* @__PURE__ */ D(x, { className: "ml-auto size-4" })]
|
|
2069
1912
|
});
|
|
2070
1913
|
}
|
|
2071
|
-
function
|
|
2072
|
-
let
|
|
2073
|
-
return /* @__PURE__ */
|
|
1914
|
+
function hr({ className: e, style: t, ...n }) {
|
|
1915
|
+
let i = r();
|
|
1916
|
+
return /* @__PURE__ */ D(R.SubContent, {
|
|
2074
1917
|
"data-slot": "menubar-sub-content",
|
|
2075
1918
|
style: {
|
|
2076
|
-
...
|
|
2077
|
-
...
|
|
1919
|
+
...i.style,
|
|
1920
|
+
...t
|
|
2078
1921
|
},
|
|
2079
|
-
className:
|
|
2080
|
-
...
|
|
1922
|
+
className: u(i.className, "z-50 min-w-32 origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-lg bg-popover p-1 text-popover-foreground shadow-lg ring-1 ring-foreground/10 duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
|
|
1923
|
+
...n
|
|
2081
1924
|
});
|
|
2082
1925
|
}
|
|
2083
1926
|
//#endregion
|
|
2084
1927
|
//#region src/components/ui/navigation-menu.tsx
|
|
2085
|
-
function
|
|
2086
|
-
return /* @__PURE__ */
|
|
1928
|
+
function gr({ className: e, children: t, viewport: n = !0, ...r }) {
|
|
1929
|
+
return /* @__PURE__ */ O(z.Root, {
|
|
2087
1930
|
"data-slot": "navigation-menu",
|
|
2088
|
-
"data-viewport":
|
|
2089
|
-
className:
|
|
2090
|
-
...
|
|
2091
|
-
children: [
|
|
1931
|
+
"data-viewport": n,
|
|
1932
|
+
className: u("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center", e),
|
|
1933
|
+
...r,
|
|
1934
|
+
children: [t, n && /* @__PURE__ */ D(Sr, {})]
|
|
2092
1935
|
});
|
|
2093
1936
|
}
|
|
2094
|
-
function
|
|
2095
|
-
return /* @__PURE__ */
|
|
1937
|
+
function _r({ className: e, ...t }) {
|
|
1938
|
+
return /* @__PURE__ */ D(z.List, {
|
|
2096
1939
|
"data-slot": "navigation-menu-list",
|
|
2097
|
-
className:
|
|
2098
|
-
...
|
|
1940
|
+
className: u("group flex flex-1 list-none items-center justify-center gap-0", e),
|
|
1941
|
+
...t
|
|
2099
1942
|
});
|
|
2100
1943
|
}
|
|
2101
|
-
function
|
|
2102
|
-
return /* @__PURE__ */
|
|
1944
|
+
function vr({ className: e, ...t }) {
|
|
1945
|
+
return /* @__PURE__ */ D(z.Item, {
|
|
2103
1946
|
"data-slot": "navigation-menu-item",
|
|
2104
|
-
className:
|
|
2105
|
-
...
|
|
1947
|
+
className: u("relative", e),
|
|
1948
|
+
...t
|
|
2106
1949
|
});
|
|
2107
1950
|
}
|
|
2108
|
-
var
|
|
2109
|
-
function
|
|
2110
|
-
return /* @__PURE__ */
|
|
1951
|
+
var yr = k("group/navigation-menu-trigger inline-flex h-9 w-max items-center justify-center rounded-lg px-2.5 py-1.5 text-sm font-medium transition-all outline-none hover:bg-muted focus:bg-muted focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-popup-open:bg-muted/50 data-popup-open:hover:bg-muted data-open:bg-muted/50 data-open:hover:bg-muted data-open:focus:bg-muted");
|
|
1952
|
+
function br({ className: e, children: t, ...n }) {
|
|
1953
|
+
return /* @__PURE__ */ O(z.Trigger, {
|
|
2111
1954
|
"data-slot": "navigation-menu-trigger",
|
|
2112
|
-
className:
|
|
2113
|
-
...
|
|
1955
|
+
className: u(yr(), "group", e),
|
|
1956
|
+
...n,
|
|
2114
1957
|
children: [
|
|
2115
|
-
|
|
1958
|
+
t,
|
|
2116
1959
|
" ",
|
|
2117
|
-
/* @__PURE__ */
|
|
1960
|
+
/* @__PURE__ */ D(b, {
|
|
2118
1961
|
className: "relative top-px ml-1 size-3 transition duration-300 group-data-popup-open/navigation-menu-trigger:rotate-180 group-data-open/navigation-menu-trigger:rotate-180",
|
|
2119
1962
|
"aria-hidden": "true"
|
|
2120
1963
|
})
|
|
2121
1964
|
]
|
|
2122
1965
|
});
|
|
2123
1966
|
}
|
|
2124
|
-
function
|
|
2125
|
-
return /* @__PURE__ */
|
|
1967
|
+
function xr({ className: e, ...t }) {
|
|
1968
|
+
return /* @__PURE__ */ D(z.Content, {
|
|
2126
1969
|
"data-slot": "navigation-menu-content",
|
|
2127
|
-
className:
|
|
2128
|
-
...
|
|
1970
|
+
className: u("top-0 left-0 w-full p-1 ease-[cubic-bezier(0.22,1,0.36,1)] group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-lg group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:ring-1 group-data-[viewport=false]/navigation-menu:ring-foreground/10 group-data-[viewport=false]/navigation-menu:duration-300 data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none md:absolute md:w-auto group-data-[viewport=false]/navigation-menu:data-open:animate-in group-data-[viewport=false]/navigation-menu:data-open:fade-in-0 group-data-[viewport=false]/navigation-menu:data-open:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-closed:animate-out group-data-[viewport=false]/navigation-menu:data-closed:fade-out-0 group-data-[viewport=false]/navigation-menu:data-closed:zoom-out-95", e),
|
|
1971
|
+
...t
|
|
2129
1972
|
});
|
|
2130
1973
|
}
|
|
2131
|
-
function
|
|
2132
|
-
return /* @__PURE__ */
|
|
2133
|
-
className:
|
|
2134
|
-
children: /* @__PURE__ */
|
|
1974
|
+
function Sr({ className: e, ...t }) {
|
|
1975
|
+
return /* @__PURE__ */ D("div", {
|
|
1976
|
+
className: u("absolute top-full left-0 isolate z-50 flex justify-center"),
|
|
1977
|
+
children: /* @__PURE__ */ D(z.Viewport, {
|
|
2135
1978
|
"data-slot": "navigation-menu-viewport",
|
|
2136
|
-
className:
|
|
2137
|
-
...
|
|
1979
|
+
className: u("origin-top-center relative mt-1.5 h-(--radix-navigation-menu-viewport-height) w-full overflow-hidden rounded-lg bg-popover text-popover-foreground shadow ring-1 ring-foreground/10 duration-100 md:w-(--radix-navigation-menu-viewport-width) data-open:animate-in data-open:zoom-in-90 data-closed:animate-out data-closed:zoom-out-90", e),
|
|
1980
|
+
...t
|
|
2138
1981
|
})
|
|
2139
1982
|
});
|
|
2140
1983
|
}
|
|
2141
|
-
function
|
|
2142
|
-
return /* @__PURE__ */
|
|
1984
|
+
function Cr({ className: e, ...t }) {
|
|
1985
|
+
return /* @__PURE__ */ D(z.Link, {
|
|
2143
1986
|
"data-slot": "navigation-menu-link",
|
|
2144
|
-
className:
|
|
2145
|
-
...
|
|
1987
|
+
className: u("flex items-center gap-2 rounded-lg p-2 text-sm transition-all outline-none hover:bg-muted focus:bg-muted focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:outline-1 in-data-[slot=navigation-menu-content]:rounded-md data-active:bg-muted/50 data-active:hover:bg-muted data-active:focus:bg-muted [&_svg:not([class*='size-'])]:size-4", e),
|
|
1988
|
+
...t
|
|
2146
1989
|
});
|
|
2147
1990
|
}
|
|
2148
|
-
function
|
|
2149
|
-
return /* @__PURE__ */
|
|
1991
|
+
function wr({ className: e, ...t }) {
|
|
1992
|
+
return /* @__PURE__ */ D(z.Indicator, {
|
|
2150
1993
|
"data-slot": "navigation-menu-indicator",
|
|
2151
|
-
className:
|
|
2152
|
-
...
|
|
2153
|
-
children: /* @__PURE__ */
|
|
1994
|
+
className: u("top-full z-1 flex h-1.5 items-end justify-center overflow-hidden data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:animate-in data-[state=visible]:fade-in", e),
|
|
1995
|
+
...t,
|
|
1996
|
+
children: /* @__PURE__ */ D("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
|
|
2154
1997
|
});
|
|
2155
1998
|
}
|
|
2156
1999
|
//#endregion
|
|
2157
2000
|
//#region src/components/ui/shadcn/shadcn-pagination.tsx
|
|
2158
|
-
function
|
|
2159
|
-
return /* @__PURE__ */
|
|
2001
|
+
function Tr({ className: e, ...t }) {
|
|
2002
|
+
return /* @__PURE__ */ D("nav", {
|
|
2160
2003
|
role: "navigation",
|
|
2161
2004
|
"aria-label": "pagination",
|
|
2162
2005
|
"data-slot": "pagination",
|
|
2163
|
-
className:
|
|
2164
|
-
...
|
|
2006
|
+
className: u("mx-auto flex w-full justify-center", e),
|
|
2007
|
+
...t
|
|
2165
2008
|
});
|
|
2166
2009
|
}
|
|
2167
|
-
function
|
|
2168
|
-
return /* @__PURE__ */
|
|
2010
|
+
function Er({ className: e, ...t }) {
|
|
2011
|
+
return /* @__PURE__ */ D("ul", {
|
|
2169
2012
|
"data-slot": "pagination-content",
|
|
2170
|
-
className:
|
|
2171
|
-
...
|
|
2013
|
+
className: u("flex items-center gap-1", e),
|
|
2014
|
+
...t
|
|
2172
2015
|
});
|
|
2173
2016
|
}
|
|
2174
2017
|
function Q({ ...e }) {
|
|
2175
|
-
return /* @__PURE__ */
|
|
2018
|
+
return /* @__PURE__ */ D("li", {
|
|
2176
2019
|
"data-slot": "pagination-item",
|
|
2177
2020
|
...e
|
|
2178
2021
|
});
|
|
2179
2022
|
}
|
|
2180
|
-
function
|
|
2181
|
-
let
|
|
2182
|
-
return /* @__PURE__ */
|
|
2023
|
+
function Dr({ className: e, isActive: t, size: n = "icon", ...r }) {
|
|
2024
|
+
let i = X();
|
|
2025
|
+
return /* @__PURE__ */ D(o, {
|
|
2183
2026
|
asChild: !0,
|
|
2184
|
-
variant:
|
|
2185
|
-
size:
|
|
2186
|
-
className: e
|
|
2187
|
-
children:
|
|
2188
|
-
"aria-current":
|
|
2027
|
+
variant: t ? "outline" : "ghost",
|
|
2028
|
+
size: n,
|
|
2029
|
+
className: u(e),
|
|
2030
|
+
children: w.createElement(i, {
|
|
2031
|
+
"aria-current": t ? "page" : void 0,
|
|
2189
2032
|
"data-slot": "pagination-link",
|
|
2190
|
-
"data-active":
|
|
2191
|
-
...
|
|
2033
|
+
"data-active": t,
|
|
2034
|
+
...r
|
|
2192
2035
|
})
|
|
2193
2036
|
});
|
|
2194
2037
|
}
|
|
2195
|
-
function
|
|
2196
|
-
return /* @__PURE__ */
|
|
2038
|
+
function Or({ className: e, text: t = "Previous", ...n }) {
|
|
2039
|
+
return /* @__PURE__ */ O(Dr, {
|
|
2197
2040
|
"aria-label": "Go to previous page",
|
|
2198
2041
|
size: "default",
|
|
2199
|
-
className:
|
|
2200
|
-
...
|
|
2201
|
-
children: [/* @__PURE__ */
|
|
2042
|
+
className: u("pl-2!", e),
|
|
2043
|
+
...n,
|
|
2044
|
+
children: [/* @__PURE__ */ D(te, { "data-icon": "inline-start" }), /* @__PURE__ */ D("span", {
|
|
2202
2045
|
className: "hidden sm:block",
|
|
2203
|
-
children:
|
|
2046
|
+
children: t
|
|
2204
2047
|
})]
|
|
2205
2048
|
});
|
|
2206
2049
|
}
|
|
2207
|
-
function
|
|
2208
|
-
return /* @__PURE__ */
|
|
2050
|
+
function kr({ className: e, text: t = "Next", ...n }) {
|
|
2051
|
+
return /* @__PURE__ */ O(Dr, {
|
|
2209
2052
|
"aria-label": "Go to next page",
|
|
2210
2053
|
size: "default",
|
|
2211
|
-
className:
|
|
2212
|
-
...
|
|
2213
|
-
children: [/* @__PURE__ */
|
|
2054
|
+
className: u("pr-2!", e),
|
|
2055
|
+
...n,
|
|
2056
|
+
children: [/* @__PURE__ */ D("span", {
|
|
2214
2057
|
className: "hidden sm:block",
|
|
2215
|
-
children:
|
|
2216
|
-
}), /* @__PURE__ */
|
|
2058
|
+
children: t
|
|
2059
|
+
}), /* @__PURE__ */ D(x, { "data-icon": "inline-end" })]
|
|
2217
2060
|
});
|
|
2218
2061
|
}
|
|
2219
|
-
function
|
|
2220
|
-
return /* @__PURE__ */
|
|
2062
|
+
function Ar({ className: e, ...t }) {
|
|
2063
|
+
return /* @__PURE__ */ O("span", {
|
|
2221
2064
|
"aria-hidden": !0,
|
|
2222
2065
|
"data-slot": "pagination-ellipsis",
|
|
2223
|
-
className:
|
|
2224
|
-
...
|
|
2225
|
-
children: [/* @__PURE__ */
|
|
2066
|
+
className: u("flex size-9 items-center justify-center [&_svg:not([class*='size-'])]:size-4", e),
|
|
2067
|
+
...t,
|
|
2068
|
+
children: [/* @__PURE__ */ D(re, {}), /* @__PURE__ */ D("span", {
|
|
2226
2069
|
className: "sr-only",
|
|
2227
2070
|
children: "More pages"
|
|
2228
2071
|
})]
|
|
@@ -2230,53 +2073,53 @@ function qr({ className: t, ...n }) {
|
|
|
2230
2073
|
}
|
|
2231
2074
|
//#endregion
|
|
2232
2075
|
//#region src/components/ui/pagination.tsx
|
|
2233
|
-
function
|
|
2076
|
+
function jr(e, t, n) {
|
|
2234
2077
|
if (t <= n * 2 + 5) return Array.from({ length: t }, (e, t) => t + 1);
|
|
2235
2078
|
let r = Math.max(2, e - n), i = Math.min(t - 1, e + n), a = [1];
|
|
2236
2079
|
r > 2 && a.push("ellipsis");
|
|
2237
2080
|
for (let e = r; e <= i; e++) a.push(e);
|
|
2238
2081
|
return i < t - 1 && a.push("ellipsis"), a.push(t), a;
|
|
2239
2082
|
}
|
|
2240
|
-
var
|
|
2241
|
-
let c =
|
|
2083
|
+
var Mr = ({ currentPage: e, totalPages: t, onPageChange: n, siblingCount: r = 1, showPrevNext: i = !0, showPageLabel: a = !1, className: s }) => {
|
|
2084
|
+
let c = jr(e, t, r), l = /* @__PURE__ */ D(Tr, {
|
|
2242
2085
|
className: s,
|
|
2243
|
-
children: /* @__PURE__ */
|
|
2244
|
-
|
|
2086
|
+
children: /* @__PURE__ */ O(Er, { children: [
|
|
2087
|
+
i && /* @__PURE__ */ D(Q, { children: /* @__PURE__ */ O(o, {
|
|
2245
2088
|
variant: "ghost",
|
|
2246
2089
|
size: "default",
|
|
2247
2090
|
className: "pl-2!",
|
|
2248
2091
|
disabled: e <= 1,
|
|
2249
2092
|
onClick: () => n(e - 1),
|
|
2250
2093
|
"aria-label": "Go to previous page",
|
|
2251
|
-
children: [/* @__PURE__ */
|
|
2094
|
+
children: [/* @__PURE__ */ D(te, { "data-icon": "inline-start" }), /* @__PURE__ */ D("span", {
|
|
2252
2095
|
className: "hidden sm:block",
|
|
2253
2096
|
children: "Previous"
|
|
2254
2097
|
})]
|
|
2255
2098
|
}) }),
|
|
2256
|
-
c.map((t,
|
|
2099
|
+
c.map((t, r) => t === "ellipsis" ? /* @__PURE__ */ D(Q, { children: /* @__PURE__ */ D(Ar, {}) }, `ellipsis-${r}`) : /* @__PURE__ */ D(Q, { children: /* @__PURE__ */ D(o, {
|
|
2257
2100
|
variant: t === e ? "outline" : "ghost",
|
|
2258
2101
|
size: "icon",
|
|
2259
2102
|
"aria-current": t === e ? "page" : void 0,
|
|
2260
2103
|
onClick: () => n(t),
|
|
2261
2104
|
children: t
|
|
2262
2105
|
}) }, t)),
|
|
2263
|
-
|
|
2106
|
+
i && /* @__PURE__ */ D(Q, { children: /* @__PURE__ */ O(o, {
|
|
2264
2107
|
variant: "ghost",
|
|
2265
2108
|
size: "default",
|
|
2266
2109
|
className: "pr-2!",
|
|
2267
2110
|
disabled: e >= t,
|
|
2268
2111
|
onClick: () => n(e + 1),
|
|
2269
2112
|
"aria-label": "Go to next page",
|
|
2270
|
-
children: [/* @__PURE__ */
|
|
2113
|
+
children: [/* @__PURE__ */ D("span", {
|
|
2271
2114
|
className: "hidden sm:block",
|
|
2272
2115
|
children: "Next"
|
|
2273
|
-
}), /* @__PURE__ */
|
|
2116
|
+
}), /* @__PURE__ */ D(x, { "data-icon": "inline-end" })]
|
|
2274
2117
|
}) })
|
|
2275
2118
|
] })
|
|
2276
2119
|
});
|
|
2277
|
-
return
|
|
2120
|
+
return a ? /* @__PURE__ */ O("div", {
|
|
2278
2121
|
className: "flex flex-col items-center gap-2",
|
|
2279
|
-
children: [l, /* @__PURE__ */
|
|
2122
|
+
children: [l, /* @__PURE__ */ O("p", {
|
|
2280
2123
|
className: "text-sm text-muted-foreground",
|
|
2281
2124
|
children: [
|
|
2282
2125
|
"Page ",
|
|
@@ -2289,161 +2132,161 @@ var Yr = ({ currentPage: e, totalPages: t, onPageChange: n, siblingCount: i = 1,
|
|
|
2289
2132
|
};
|
|
2290
2133
|
//#endregion
|
|
2291
2134
|
//#region src/components/ui/popover.tsx
|
|
2292
|
-
function
|
|
2293
|
-
return /* @__PURE__ */
|
|
2135
|
+
function Nr({ ...e }) {
|
|
2136
|
+
return /* @__PURE__ */ D(B.Root, {
|
|
2294
2137
|
"data-slot": "popover",
|
|
2295
2138
|
...e
|
|
2296
2139
|
});
|
|
2297
2140
|
}
|
|
2298
|
-
function
|
|
2299
|
-
return /* @__PURE__ */
|
|
2141
|
+
function Pr({ ...e }) {
|
|
2142
|
+
return /* @__PURE__ */ D(B.Trigger, {
|
|
2300
2143
|
"data-slot": "popover-trigger",
|
|
2301
2144
|
...e
|
|
2302
2145
|
});
|
|
2303
2146
|
}
|
|
2304
|
-
function
|
|
2305
|
-
let
|
|
2306
|
-
return /* @__PURE__ */
|
|
2147
|
+
function Fr({ className: e, align: t = "center", sideOffset: n = 4, style: i, ...a }) {
|
|
2148
|
+
let o = r();
|
|
2149
|
+
return /* @__PURE__ */ D(B.Portal, { children: /* @__PURE__ */ D(B.Content, {
|
|
2307
2150
|
"data-slot": "popover-content",
|
|
2308
|
-
align:
|
|
2309
|
-
sideOffset:
|
|
2151
|
+
align: t,
|
|
2152
|
+
sideOffset: n,
|
|
2310
2153
|
style: {
|
|
2311
|
-
...
|
|
2312
|
-
...
|
|
2154
|
+
...o.style,
|
|
2155
|
+
...i
|
|
2313
2156
|
},
|
|
2314
|
-
className:
|
|
2315
|
-
...
|
|
2157
|
+
className: u(o.className, "z-50 flex w-72 origin-(--radix-popover-content-transform-origin) flex-col gap-4 rounded-md bg-popover p-4 text-sm text-popover-foreground shadow-md ring-1 ring-foreground/10 outline-hidden duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", e),
|
|
2158
|
+
...a
|
|
2316
2159
|
}) });
|
|
2317
2160
|
}
|
|
2318
|
-
function
|
|
2319
|
-
return /* @__PURE__ */
|
|
2161
|
+
function Ir({ ...e }) {
|
|
2162
|
+
return /* @__PURE__ */ D(B.Anchor, {
|
|
2320
2163
|
"data-slot": "popover-anchor",
|
|
2321
2164
|
...e
|
|
2322
2165
|
});
|
|
2323
2166
|
}
|
|
2324
|
-
function
|
|
2325
|
-
return /* @__PURE__ */
|
|
2167
|
+
function Lr({ className: e, ...t }) {
|
|
2168
|
+
return /* @__PURE__ */ D("div", {
|
|
2326
2169
|
"data-slot": "popover-header",
|
|
2327
|
-
className:
|
|
2328
|
-
...
|
|
2170
|
+
className: u("flex flex-col gap-1 text-sm", e),
|
|
2171
|
+
...t
|
|
2329
2172
|
});
|
|
2330
2173
|
}
|
|
2331
|
-
function
|
|
2332
|
-
return /* @__PURE__ */
|
|
2174
|
+
function Rr({ className: e, ...t }) {
|
|
2175
|
+
return /* @__PURE__ */ D("div", {
|
|
2333
2176
|
"data-slot": "popover-title",
|
|
2334
|
-
className:
|
|
2335
|
-
...
|
|
2177
|
+
className: u("font-heading font-medium", e),
|
|
2178
|
+
...t
|
|
2336
2179
|
});
|
|
2337
2180
|
}
|
|
2338
|
-
function
|
|
2339
|
-
return /* @__PURE__ */
|
|
2181
|
+
function zr({ className: e, ...t }) {
|
|
2182
|
+
return /* @__PURE__ */ D("p", {
|
|
2340
2183
|
"data-slot": "popover-description",
|
|
2341
|
-
className:
|
|
2342
|
-
...
|
|
2184
|
+
className: u("text-muted-foreground", e),
|
|
2185
|
+
...t
|
|
2343
2186
|
});
|
|
2344
2187
|
}
|
|
2345
2188
|
//#endregion
|
|
2346
2189
|
//#region src/components/ui/progress.tsx
|
|
2347
|
-
var
|
|
2190
|
+
var Br = {
|
|
2348
2191
|
default: "bg-primary",
|
|
2349
2192
|
ai: "bg-[var(--ai)]",
|
|
2350
2193
|
success: "bg-[var(--success)]",
|
|
2351
2194
|
warning: "bg-[var(--warning)]",
|
|
2352
2195
|
danger: "bg-destructive"
|
|
2353
2196
|
};
|
|
2354
|
-
function
|
|
2355
|
-
return /* @__PURE__ */
|
|
2197
|
+
function Vr({ className: e, value: t, tone: n = "default", ...r }) {
|
|
2198
|
+
return /* @__PURE__ */ D(le.Root, {
|
|
2356
2199
|
"data-slot": "progress",
|
|
2357
|
-
"data-tone":
|
|
2358
|
-
className:
|
|
2359
|
-
...
|
|
2360
|
-
children: /* @__PURE__ */
|
|
2200
|
+
"data-tone": n,
|
|
2201
|
+
className: u("score-track relative flex h-1 w-full items-center overflow-x-hidden", e),
|
|
2202
|
+
...r,
|
|
2203
|
+
children: /* @__PURE__ */ D(le.Indicator, {
|
|
2361
2204
|
"data-slot": "progress-indicator",
|
|
2362
|
-
className:
|
|
2363
|
-
style: { transform: `translateX(-${100 - (
|
|
2205
|
+
className: u("score-fill size-full flex-1 transition-data", Br[n]),
|
|
2206
|
+
style: { transform: `translateX(-${100 - (t || 0)}%)` }
|
|
2364
2207
|
})
|
|
2365
2208
|
});
|
|
2366
2209
|
}
|
|
2367
2210
|
//#endregion
|
|
2368
2211
|
//#region src/components/ui/radio-group.tsx
|
|
2369
|
-
function
|
|
2370
|
-
return /* @__PURE__ */
|
|
2212
|
+
function Hr({ className: e, label: t, helperText: n, error: r = !1, ...i }) {
|
|
2213
|
+
return /* @__PURE__ */ O("div", {
|
|
2371
2214
|
className: "flex flex-col gap-2",
|
|
2372
2215
|
children: [
|
|
2373
|
-
|
|
2374
|
-
/* @__PURE__ */
|
|
2216
|
+
t && /* @__PURE__ */ D(m, { children: t }),
|
|
2217
|
+
/* @__PURE__ */ D(ue.Root, {
|
|
2375
2218
|
"data-slot": "radio-group",
|
|
2376
|
-
className:
|
|
2377
|
-
...
|
|
2219
|
+
className: u("grid w-full gap-2", e),
|
|
2220
|
+
...i
|
|
2378
2221
|
}),
|
|
2379
|
-
|
|
2380
|
-
className: `text-caption ${
|
|
2381
|
-
children:
|
|
2222
|
+
n && /* @__PURE__ */ D("p", {
|
|
2223
|
+
className: `text-caption ${r ? "text-destructive" : "text-muted-foreground"}`,
|
|
2224
|
+
children: n
|
|
2382
2225
|
})
|
|
2383
2226
|
]
|
|
2384
2227
|
});
|
|
2385
2228
|
}
|
|
2386
|
-
function
|
|
2387
|
-
return /* @__PURE__ */
|
|
2229
|
+
function Ur({ className: e, ...t }) {
|
|
2230
|
+
return /* @__PURE__ */ D(ue.Item, {
|
|
2388
2231
|
"data-slot": "radio-group-item",
|
|
2389
|
-
className:
|
|
2390
|
-
...
|
|
2391
|
-
children: /* @__PURE__ */
|
|
2232
|
+
className: u("group/radio-group-item peer relative flex aspect-square size-4 shrink-0 rounded-full border border-input outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary", e),
|
|
2233
|
+
...t,
|
|
2234
|
+
children: /* @__PURE__ */ D(ue.Indicator, {
|
|
2392
2235
|
"data-slot": "radio-group-indicator",
|
|
2393
2236
|
className: "flex size-4 items-center justify-center",
|
|
2394
|
-
children: /* @__PURE__ */
|
|
2237
|
+
children: /* @__PURE__ */ D("span", { className: "absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 rounded-full bg-primary-foreground" })
|
|
2395
2238
|
})
|
|
2396
2239
|
});
|
|
2397
2240
|
}
|
|
2398
2241
|
//#endregion
|
|
2399
2242
|
//#region src/components/ui/resizable.tsx
|
|
2400
|
-
function
|
|
2401
|
-
return /* @__PURE__ */
|
|
2243
|
+
function Wr({ className: e, ...t }) {
|
|
2244
|
+
return /* @__PURE__ */ D(he.Group, {
|
|
2402
2245
|
"data-slot": "resizable-panel-group",
|
|
2403
|
-
className:
|
|
2404
|
-
...
|
|
2246
|
+
className: u("flex h-full w-full aria-[orientation=vertical]:flex-col", e),
|
|
2247
|
+
...t
|
|
2405
2248
|
});
|
|
2406
2249
|
}
|
|
2407
|
-
function
|
|
2408
|
-
return /* @__PURE__ */
|
|
2250
|
+
function Gr({ ...e }) {
|
|
2251
|
+
return /* @__PURE__ */ D(he.Panel, {
|
|
2409
2252
|
"data-slot": "resizable-panel",
|
|
2410
2253
|
...e
|
|
2411
2254
|
});
|
|
2412
2255
|
}
|
|
2413
|
-
function
|
|
2414
|
-
return /* @__PURE__ */
|
|
2256
|
+
function Kr({ withHandle: e, className: t, ...n }) {
|
|
2257
|
+
return /* @__PURE__ */ D(he.Separator, {
|
|
2415
2258
|
"data-slot": "resizable-handle",
|
|
2416
|
-
className:
|
|
2417
|
-
...
|
|
2418
|
-
children:
|
|
2259
|
+
className: u("relative flex w-px items-center justify-center bg-border ring-offset-background after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-hidden aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full aria-[orientation=horizontal]:after:left-0 aria-[orientation=horizontal]:after:h-1 aria-[orientation=horizontal]:after:w-full aria-[orientation=horizontal]:after:translate-x-0 aria-[orientation=horizontal]:after:-translate-y-1/2 [&[aria-orientation=horizontal]>div]:rotate-90", t),
|
|
2260
|
+
...n,
|
|
2261
|
+
children: e && /* @__PURE__ */ D("div", { className: "z-10 flex h-6 w-1 shrink-0 rounded-lg bg-border" })
|
|
2419
2262
|
});
|
|
2420
2263
|
}
|
|
2421
2264
|
//#endregion
|
|
2422
2265
|
//#region src/components/ui/scroll-area.tsx
|
|
2423
|
-
function
|
|
2424
|
-
return /* @__PURE__ */
|
|
2266
|
+
function qr({ className: e, children: t, ...n }) {
|
|
2267
|
+
return /* @__PURE__ */ O(V.Root, {
|
|
2425
2268
|
"data-slot": "scroll-area",
|
|
2426
|
-
className:
|
|
2427
|
-
...
|
|
2269
|
+
className: u("relative", e),
|
|
2270
|
+
...n,
|
|
2428
2271
|
children: [
|
|
2429
|
-
/* @__PURE__ */
|
|
2272
|
+
/* @__PURE__ */ D(V.Viewport, {
|
|
2430
2273
|
"data-slot": "scroll-area-viewport",
|
|
2431
2274
|
className: "size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1",
|
|
2432
|
-
children:
|
|
2275
|
+
children: t
|
|
2433
2276
|
}),
|
|
2434
|
-
/* @__PURE__ */
|
|
2435
|
-
/* @__PURE__ */
|
|
2277
|
+
/* @__PURE__ */ D(Jr, {}),
|
|
2278
|
+
/* @__PURE__ */ D(V.Corner, {})
|
|
2436
2279
|
]
|
|
2437
2280
|
});
|
|
2438
2281
|
}
|
|
2439
|
-
function
|
|
2440
|
-
return /* @__PURE__ */
|
|
2282
|
+
function Jr({ className: e, orientation: t = "vertical", ...n }) {
|
|
2283
|
+
return /* @__PURE__ */ D(V.ScrollAreaScrollbar, {
|
|
2441
2284
|
"data-slot": "scroll-area-scrollbar",
|
|
2442
|
-
"data-orientation":
|
|
2443
|
-
orientation:
|
|
2444
|
-
className:
|
|
2445
|
-
...
|
|
2446
|
-
children: /* @__PURE__ */
|
|
2285
|
+
"data-orientation": t,
|
|
2286
|
+
orientation: t,
|
|
2287
|
+
className: u("flex touch-none p-px transition-colors select-none data-horizontal:h-2.5 data-horizontal:flex-col data-horizontal:border-t data-horizontal:border-t-transparent data-vertical:h-full data-vertical:w-2.5 data-vertical:border-l data-vertical:border-l-transparent", e),
|
|
2288
|
+
...n,
|
|
2289
|
+
children: /* @__PURE__ */ D(V.ScrollAreaThumb, {
|
|
2447
2290
|
"data-slot": "scroll-area-thumb",
|
|
2448
2291
|
className: "relative flex-1 rounded-full bg-border"
|
|
2449
2292
|
})
|
|
@@ -2451,147 +2294,147 @@ function di({ className: t, orientation: n = "vertical", ...r }) {
|
|
|
2451
2294
|
}
|
|
2452
2295
|
//#endregion
|
|
2453
2296
|
//#region src/components/ui/shadcn/shadcn-select.tsx
|
|
2454
|
-
function
|
|
2455
|
-
return /* @__PURE__ */
|
|
2297
|
+
function Yr({ ...e }) {
|
|
2298
|
+
return /* @__PURE__ */ D(H.Root, {
|
|
2456
2299
|
"data-slot": "select",
|
|
2457
2300
|
...e
|
|
2458
2301
|
});
|
|
2459
2302
|
}
|
|
2460
|
-
function
|
|
2461
|
-
return /* @__PURE__ */
|
|
2303
|
+
function Xr({ className: e, ...t }) {
|
|
2304
|
+
return /* @__PURE__ */ D(H.Group, {
|
|
2462
2305
|
"data-slot": "select-group",
|
|
2463
|
-
className:
|
|
2464
|
-
...
|
|
2306
|
+
className: u("scroll-my-1 p-1", e),
|
|
2307
|
+
...t
|
|
2465
2308
|
});
|
|
2466
2309
|
}
|
|
2467
|
-
function
|
|
2468
|
-
return /* @__PURE__ */
|
|
2310
|
+
function Zr({ ...e }) {
|
|
2311
|
+
return /* @__PURE__ */ D(H.Value, {
|
|
2469
2312
|
"data-slot": "select-value",
|
|
2470
2313
|
...e
|
|
2471
2314
|
});
|
|
2472
2315
|
}
|
|
2473
|
-
function
|
|
2474
|
-
return /* @__PURE__ */
|
|
2316
|
+
function Qr({ className: e, size: t = "default", children: n, ...r }) {
|
|
2317
|
+
return /* @__PURE__ */ O(H.Trigger, {
|
|
2475
2318
|
"data-slot": "select-trigger",
|
|
2476
|
-
"data-size":
|
|
2477
|
-
className:
|
|
2478
|
-
...
|
|
2479
|
-
children: [
|
|
2319
|
+
"data-size": t,
|
|
2320
|
+
className: u("flex w-fit items-center justify-between gap-1.5 rounded-md border border-input bg-transparent py-2 pr-2 pl-2.5 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
|
|
2321
|
+
...r,
|
|
2322
|
+
children: [n, /* @__PURE__ */ D(H.Icon, {
|
|
2480
2323
|
asChild: !0,
|
|
2481
|
-
children: /* @__PURE__ */
|
|
2324
|
+
children: /* @__PURE__ */ D(b, { className: "pointer-events-none size-4 text-muted-foreground" })
|
|
2482
2325
|
})]
|
|
2483
2326
|
});
|
|
2484
2327
|
}
|
|
2485
|
-
function
|
|
2486
|
-
let
|
|
2487
|
-
return /* @__PURE__ */
|
|
2328
|
+
function $r({ className: e, children: t, position: n = "item-aligned", align: i = "center", style: a, ...o }) {
|
|
2329
|
+
let s = r();
|
|
2330
|
+
return /* @__PURE__ */ D(H.Portal, { children: /* @__PURE__ */ O(H.Content, {
|
|
2488
2331
|
"data-slot": "select-content",
|
|
2489
|
-
"data-align-trigger":
|
|
2332
|
+
"data-align-trigger": n === "item-aligned",
|
|
2490
2333
|
style: {
|
|
2491
|
-
...
|
|
2492
|
-
...
|
|
2334
|
+
...s.style,
|
|
2335
|
+
...a
|
|
2493
2336
|
},
|
|
2494
|
-
className:
|
|
2495
|
-
position:
|
|
2496
|
-
align:
|
|
2497
|
-
...
|
|
2337
|
+
className: u(s.className, "relative z-50 max-h-(--radix-select-content-available-height) min-w-36 origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md bg-popover text-popover-foreground shadow-sm ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", n === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", e),
|
|
2338
|
+
position: n,
|
|
2339
|
+
align: i,
|
|
2340
|
+
...o,
|
|
2498
2341
|
children: [
|
|
2499
|
-
/* @__PURE__ */
|
|
2500
|
-
/* @__PURE__ */
|
|
2501
|
-
"data-position":
|
|
2502
|
-
className:
|
|
2503
|
-
children:
|
|
2342
|
+
/* @__PURE__ */ D(ri, {}),
|
|
2343
|
+
/* @__PURE__ */ D(H.Viewport, {
|
|
2344
|
+
"data-position": n,
|
|
2345
|
+
className: u("data-[position=popper]:h-(--radix-select-trigger-height) data-[position=popper]:w-full data-[position=popper]:min-w-(--radix-select-trigger-width)", n === "popper" && ""),
|
|
2346
|
+
children: t
|
|
2504
2347
|
}),
|
|
2505
|
-
/* @__PURE__ */
|
|
2348
|
+
/* @__PURE__ */ D(ii, {})
|
|
2506
2349
|
]
|
|
2507
2350
|
}) });
|
|
2508
2351
|
}
|
|
2509
|
-
function
|
|
2510
|
-
return /* @__PURE__ */
|
|
2352
|
+
function ei({ className: e, ...t }) {
|
|
2353
|
+
return /* @__PURE__ */ D(H.Label, {
|
|
2511
2354
|
"data-slot": "select-label",
|
|
2512
|
-
className:
|
|
2513
|
-
...
|
|
2355
|
+
className: u("px-2 py-1.5 text-xs text-muted-foreground", e),
|
|
2356
|
+
...t
|
|
2514
2357
|
});
|
|
2515
2358
|
}
|
|
2516
|
-
function
|
|
2517
|
-
return /* @__PURE__ */
|
|
2359
|
+
function ti({ className: e, children: t, ...n }) {
|
|
2360
|
+
return /* @__PURE__ */ O(H.Item, {
|
|
2518
2361
|
"data-slot": "select-item",
|
|
2519
|
-
className:
|
|
2520
|
-
...
|
|
2521
|
-
children: [/* @__PURE__ */
|
|
2362
|
+
className: u("relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2", e),
|
|
2363
|
+
...n,
|
|
2364
|
+
children: [/* @__PURE__ */ D("span", {
|
|
2522
2365
|
className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center",
|
|
2523
|
-
children: /* @__PURE__ */
|
|
2524
|
-
}), /* @__PURE__ */
|
|
2366
|
+
children: /* @__PURE__ */ D(H.ItemIndicator, { children: /* @__PURE__ */ D(y, { className: "pointer-events-none" }) })
|
|
2367
|
+
}), /* @__PURE__ */ D(H.ItemText, { children: t })]
|
|
2525
2368
|
});
|
|
2526
2369
|
}
|
|
2527
|
-
function
|
|
2528
|
-
return /* @__PURE__ */
|
|
2370
|
+
function ni({ className: e, ...t }) {
|
|
2371
|
+
return /* @__PURE__ */ D(H.Separator, {
|
|
2529
2372
|
"data-slot": "select-separator",
|
|
2530
|
-
className:
|
|
2531
|
-
...
|
|
2373
|
+
className: u("pointer-events-none -mx-1 my-1 h-px bg-border", e),
|
|
2374
|
+
...t
|
|
2532
2375
|
});
|
|
2533
2376
|
}
|
|
2534
|
-
function
|
|
2535
|
-
return /* @__PURE__ */
|
|
2377
|
+
function ri({ className: e, ...t }) {
|
|
2378
|
+
return /* @__PURE__ */ D(H.ScrollUpButton, {
|
|
2536
2379
|
"data-slot": "select-scroll-up-button",
|
|
2537
|
-
className:
|
|
2538
|
-
...
|
|
2539
|
-
children: /* @__PURE__ */
|
|
2380
|
+
className: u("z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4", e),
|
|
2381
|
+
...t,
|
|
2382
|
+
children: /* @__PURE__ */ D(ne, {})
|
|
2540
2383
|
});
|
|
2541
2384
|
}
|
|
2542
|
-
function
|
|
2543
|
-
return /* @__PURE__ */
|
|
2385
|
+
function ii({ className: e, ...t }) {
|
|
2386
|
+
return /* @__PURE__ */ D(H.ScrollDownButton, {
|
|
2544
2387
|
"data-slot": "select-scroll-down-button",
|
|
2545
|
-
className:
|
|
2546
|
-
...
|
|
2547
|
-
children: /* @__PURE__ */
|
|
2388
|
+
className: u("z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4", e),
|
|
2389
|
+
...t,
|
|
2390
|
+
children: /* @__PURE__ */ D(b, {})
|
|
2548
2391
|
});
|
|
2549
2392
|
}
|
|
2550
|
-
function
|
|
2551
|
-
return /* @__PURE__ */
|
|
2552
|
-
className:
|
|
2393
|
+
function ai({ label: e, helperText: t, error: n = !1, className: r, children: i }) {
|
|
2394
|
+
return /* @__PURE__ */ O("div", {
|
|
2395
|
+
className: u("w-full flex flex-col gap-2", r),
|
|
2553
2396
|
children: [
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
className: `text-caption ${
|
|
2558
|
-
children:
|
|
2397
|
+
e && /* @__PURE__ */ D(m, { children: e }),
|
|
2398
|
+
i,
|
|
2399
|
+
t && /* @__PURE__ */ D("p", {
|
|
2400
|
+
className: `text-caption ${n ? "text-destructive" : "text-muted-foreground"}`,
|
|
2401
|
+
children: t
|
|
2559
2402
|
})
|
|
2560
2403
|
]
|
|
2561
2404
|
});
|
|
2562
2405
|
}
|
|
2563
2406
|
//#endregion
|
|
2564
2407
|
//#region src/components/ui/select.tsx
|
|
2565
|
-
var
|
|
2566
|
-
label:
|
|
2567
|
-
helperText:
|
|
2568
|
-
error:
|
|
2569
|
-
className:
|
|
2570
|
-
children: /* @__PURE__ */
|
|
2408
|
+
var oi = ({ options: e, placeholder: t = "Select an option", placeholderIcon: n, groupLabel: r, fieldLabel: i, helperText: a, error: o = !1, triggerSize: s = "default", fieldClassName: c, triggerClassName: l, contentClassName: d, ...f }) => /* @__PURE__ */ D(ai, {
|
|
2409
|
+
label: i,
|
|
2410
|
+
helperText: a,
|
|
2411
|
+
error: o,
|
|
2412
|
+
className: u("w-full", c),
|
|
2413
|
+
children: /* @__PURE__ */ O(Yr, {
|
|
2571
2414
|
...f,
|
|
2572
|
-
children: [/* @__PURE__ */
|
|
2573
|
-
className:
|
|
2574
|
-
size:
|
|
2575
|
-
children: [
|
|
2415
|
+
children: [/* @__PURE__ */ O(Qr, {
|
|
2416
|
+
className: u(n && "gap-1", l),
|
|
2417
|
+
size: s,
|
|
2418
|
+
children: [n ? /* @__PURE__ */ D("span", {
|
|
2576
2419
|
"data-icon": "inline-start",
|
|
2577
2420
|
className: "contents",
|
|
2578
|
-
children:
|
|
2579
|
-
}) : null, /* @__PURE__ */
|
|
2580
|
-
}), /* @__PURE__ */
|
|
2581
|
-
className:
|
|
2582
|
-
children: /* @__PURE__ */
|
|
2421
|
+
children: n
|
|
2422
|
+
}) : null, /* @__PURE__ */ D(Zr, { placeholder: t || i })]
|
|
2423
|
+
}), /* @__PURE__ */ D($r, {
|
|
2424
|
+
className: u("max-h-[300px]", d),
|
|
2425
|
+
children: /* @__PURE__ */ O(Xr, { children: [r ? /* @__PURE__ */ D(ei, { children: r }) : null, e.map((e) => {
|
|
2583
2426
|
let t = e.iconPosition ?? "inline-start";
|
|
2584
|
-
return /* @__PURE__ */
|
|
2427
|
+
return /* @__PURE__ */ O(ae.Fragment, { children: [e.separator ? /* @__PURE__ */ D(ni, {}) : null, /* @__PURE__ */ O(ti, {
|
|
2585
2428
|
value: e.value,
|
|
2586
2429
|
disabled: e.disabled,
|
|
2587
2430
|
children: [
|
|
2588
|
-
e.icon && t === "inline-start" ? /* @__PURE__ */
|
|
2431
|
+
e.icon && t === "inline-start" ? /* @__PURE__ */ D("span", {
|
|
2589
2432
|
"data-icon": "inline-start",
|
|
2590
2433
|
className: "contents",
|
|
2591
2434
|
children: e.icon
|
|
2592
2435
|
}) : null,
|
|
2593
2436
|
e.label,
|
|
2594
|
-
e.icon && t === "inline-end" ? /* @__PURE__ */
|
|
2437
|
+
e.icon && t === "inline-end" ? /* @__PURE__ */ D("span", {
|
|
2595
2438
|
"data-icon": "inline-end",
|
|
2596
2439
|
className: "contents",
|
|
2597
2440
|
children: e.icon
|
|
@@ -2604,248 +2447,248 @@ var Ci = ({ options: t, placeholder: n = "Select an option", placeholderIcon: r,
|
|
|
2604
2447
|
});
|
|
2605
2448
|
//#endregion
|
|
2606
2449
|
//#region src/components/ui/skeleton.tsx
|
|
2607
|
-
function
|
|
2608
|
-
return /* @__PURE__ */
|
|
2450
|
+
function si({ className: e, ...t }) {
|
|
2451
|
+
return /* @__PURE__ */ D("div", {
|
|
2609
2452
|
"data-slot": "skeleton",
|
|
2610
|
-
className:
|
|
2611
|
-
...
|
|
2453
|
+
className: u("animate-pulse rounded-md bg-muted", e),
|
|
2454
|
+
...t
|
|
2612
2455
|
});
|
|
2613
2456
|
}
|
|
2614
2457
|
//#endregion
|
|
2615
2458
|
//#region src/components/ui/sidebar.tsx
|
|
2616
|
-
var
|
|
2459
|
+
var ci = "sidebar_state", li = 604800, ui = "260px", di = "18rem", fi = "3rem", pi = "b", mi = w.createContext(null);
|
|
2617
2460
|
function $() {
|
|
2618
|
-
let e =
|
|
2461
|
+
let e = w.useContext(mi);
|
|
2619
2462
|
if (!e) throw Error("useSidebar must be used within a SidebarProvider.");
|
|
2620
2463
|
return e;
|
|
2621
2464
|
}
|
|
2622
|
-
function
|
|
2623
|
-
let
|
|
2465
|
+
function hi({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style: i, children: a, ...o }) {
|
|
2466
|
+
let s = lt(), [c, l] = w.useState(!1), [d, f] = w.useState(e), p = t ?? d, m = w.useCallback((e) => {
|
|
2624
2467
|
let t = typeof e == "function" ? e(p) : e;
|
|
2625
|
-
|
|
2626
|
-
}, [
|
|
2627
|
-
|
|
2468
|
+
n ? n(t) : f(t), document.cookie = `${ci}=${t}; path=/; max-age=${li}`;
|
|
2469
|
+
}, [n, p]), h = w.useCallback(() => s ? l((e) => !e) : m((e) => !e), [
|
|
2470
|
+
s,
|
|
2628
2471
|
m,
|
|
2629
|
-
|
|
2472
|
+
l
|
|
2630
2473
|
]);
|
|
2631
|
-
|
|
2474
|
+
w.useEffect(() => {
|
|
2632
2475
|
let e = (e) => {
|
|
2633
|
-
e.key ===
|
|
2476
|
+
e.key === pi && (e.metaKey || e.ctrlKey) && (e.preventDefault(), h());
|
|
2634
2477
|
};
|
|
2635
2478
|
return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
|
|
2636
2479
|
}, [h]);
|
|
2637
|
-
let g = p ? "expanded" : "collapsed", _ =
|
|
2480
|
+
let g = p ? "expanded" : "collapsed", _ = w.useMemo(() => ({
|
|
2638
2481
|
state: g,
|
|
2639
2482
|
open: p,
|
|
2640
2483
|
setOpen: m,
|
|
2641
|
-
isMobile:
|
|
2642
|
-
openMobile:
|
|
2643
|
-
setOpenMobile:
|
|
2484
|
+
isMobile: s,
|
|
2485
|
+
openMobile: c,
|
|
2486
|
+
setOpenMobile: l,
|
|
2644
2487
|
toggleSidebar: h
|
|
2645
2488
|
}), [
|
|
2646
2489
|
g,
|
|
2647
2490
|
p,
|
|
2648
2491
|
m,
|
|
2492
|
+
s,
|
|
2649
2493
|
c,
|
|
2650
2494
|
l,
|
|
2651
|
-
u,
|
|
2652
2495
|
h
|
|
2653
2496
|
]);
|
|
2654
|
-
return /* @__PURE__ */
|
|
2497
|
+
return /* @__PURE__ */ D(mi.Provider, {
|
|
2655
2498
|
value: _,
|
|
2656
|
-
children: /* @__PURE__ */
|
|
2499
|
+
children: /* @__PURE__ */ D("div", {
|
|
2657
2500
|
"data-slot": "sidebar-wrapper",
|
|
2658
2501
|
style: {
|
|
2659
|
-
"--sidebar-width":
|
|
2660
|
-
"--sidebar-width-icon":
|
|
2661
|
-
...
|
|
2502
|
+
"--sidebar-width": ui,
|
|
2503
|
+
"--sidebar-width-icon": fi,
|
|
2504
|
+
...i
|
|
2662
2505
|
},
|
|
2663
|
-
className:
|
|
2664
|
-
...
|
|
2665
|
-
children:
|
|
2506
|
+
className: u("group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar", r),
|
|
2507
|
+
...o,
|
|
2508
|
+
children: a
|
|
2666
2509
|
})
|
|
2667
2510
|
});
|
|
2668
2511
|
}
|
|
2669
|
-
function
|
|
2670
|
-
let { isMobile:
|
|
2671
|
-
return
|
|
2512
|
+
function gi({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", className: r, children: i, dir: a, ...o }) {
|
|
2513
|
+
let { isMobile: s, state: c, openMobile: l, setOpenMobile: d } = $();
|
|
2514
|
+
return n === "none" ? /* @__PURE__ */ D("div", {
|
|
2672
2515
|
"data-slot": "sidebar",
|
|
2673
|
-
className:
|
|
2674
|
-
...
|
|
2675
|
-
children:
|
|
2676
|
-
}) :
|
|
2677
|
-
open:
|
|
2516
|
+
className: u("flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground", r),
|
|
2517
|
+
...o,
|
|
2518
|
+
children: i
|
|
2519
|
+
}) : s ? /* @__PURE__ */ D(Y, {
|
|
2520
|
+
open: l,
|
|
2678
2521
|
onOpenChange: d,
|
|
2679
|
-
...
|
|
2680
|
-
children: /* @__PURE__ */
|
|
2681
|
-
dir:
|
|
2522
|
+
...o,
|
|
2523
|
+
children: /* @__PURE__ */ O(Pe, {
|
|
2524
|
+
dir: a,
|
|
2682
2525
|
"data-sidebar": "sidebar",
|
|
2683
2526
|
"data-slot": "sidebar",
|
|
2684
2527
|
"data-mobile": "true",
|
|
2685
2528
|
className: "w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",
|
|
2686
|
-
style: { "--sidebar-width":
|
|
2687
|
-
side:
|
|
2688
|
-
children: [/* @__PURE__ */
|
|
2529
|
+
style: { "--sidebar-width": di },
|
|
2530
|
+
side: e,
|
|
2531
|
+
children: [/* @__PURE__ */ O(Fe, {
|
|
2689
2532
|
className: "sr-only",
|
|
2690
|
-
children: [/* @__PURE__ */
|
|
2691
|
-
}), /* @__PURE__ */
|
|
2533
|
+
children: [/* @__PURE__ */ D(Le, { children: "Sidebar" }), /* @__PURE__ */ D(Re, { children: "Displays the mobile sidebar." })]
|
|
2534
|
+
}), /* @__PURE__ */ D("div", {
|
|
2692
2535
|
className: "flex h-full w-full flex-col",
|
|
2693
|
-
children:
|
|
2536
|
+
children: i
|
|
2694
2537
|
})]
|
|
2695
2538
|
})
|
|
2696
|
-
}) : /* @__PURE__ */
|
|
2539
|
+
}) : /* @__PURE__ */ O("div", {
|
|
2697
2540
|
className: "group peer hidden text-sidebar-foreground md:block",
|
|
2698
|
-
"data-state":
|
|
2699
|
-
"data-collapsible":
|
|
2700
|
-
"data-variant":
|
|
2701
|
-
"data-side":
|
|
2541
|
+
"data-state": c,
|
|
2542
|
+
"data-collapsible": c === "collapsed" ? n : "",
|
|
2543
|
+
"data-variant": t,
|
|
2544
|
+
"data-side": e,
|
|
2702
2545
|
"data-slot": "sidebar",
|
|
2703
|
-
children: [/* @__PURE__ */
|
|
2546
|
+
children: [/* @__PURE__ */ D("div", {
|
|
2704
2547
|
"data-slot": "sidebar-gap",
|
|
2705
|
-
className:
|
|
2706
|
-
}), /* @__PURE__ */
|
|
2548
|
+
className: u("relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear", "group-data-[collapsible=offcanvas]:w-0", "group-data-[side=right]:rotate-180", t === "floating" || t === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon)")
|
|
2549
|
+
}), /* @__PURE__ */ D("div", {
|
|
2707
2550
|
"data-slot": "sidebar-container",
|
|
2708
|
-
"data-side":
|
|
2709
|
-
className:
|
|
2710
|
-
...
|
|
2711
|
-
children: /* @__PURE__ */
|
|
2551
|
+
"data-side": e,
|
|
2552
|
+
className: u("fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear data-[side=left]:left-0 data-[side=left]:group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)] data-[side=right]:right-0 data-[side=right]:group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)] md:flex", t === "floating" || t === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l", r),
|
|
2553
|
+
...o,
|
|
2554
|
+
children: /* @__PURE__ */ D("div", {
|
|
2712
2555
|
"data-sidebar": "sidebar",
|
|
2713
2556
|
"data-slot": "sidebar-inner",
|
|
2714
2557
|
className: "flex size-full flex-col gap-1 bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:shadow-sm group-data-[variant=floating]:ring-1 group-data-[variant=floating]:ring-sidebar-border",
|
|
2715
|
-
children:
|
|
2558
|
+
children: i
|
|
2716
2559
|
})
|
|
2717
2560
|
})]
|
|
2718
2561
|
});
|
|
2719
2562
|
}
|
|
2720
|
-
function
|
|
2721
|
-
let { toggleSidebar:
|
|
2722
|
-
return /* @__PURE__ */
|
|
2563
|
+
function _i({ className: e, onClick: t, ...n }) {
|
|
2564
|
+
let { toggleSidebar: r } = $();
|
|
2565
|
+
return /* @__PURE__ */ O(o, {
|
|
2723
2566
|
"data-sidebar": "trigger",
|
|
2724
2567
|
"data-slot": "sidebar-trigger",
|
|
2725
2568
|
variant: "ghost",
|
|
2726
2569
|
size: "icon-sm",
|
|
2727
|
-
className: e
|
|
2570
|
+
className: u(e),
|
|
2728
2571
|
onClick: (e) => {
|
|
2729
|
-
|
|
2572
|
+
t?.(e), r();
|
|
2730
2573
|
},
|
|
2731
|
-
...
|
|
2732
|
-
children: [/* @__PURE__ */
|
|
2574
|
+
...n,
|
|
2575
|
+
children: [/* @__PURE__ */ D(S, {}), /* @__PURE__ */ D("span", {
|
|
2733
2576
|
className: "sr-only",
|
|
2734
2577
|
children: "Toggle Sidebar"
|
|
2735
2578
|
})]
|
|
2736
2579
|
});
|
|
2737
2580
|
}
|
|
2738
|
-
function
|
|
2739
|
-
let { toggleSidebar:
|
|
2740
|
-
return /* @__PURE__ */
|
|
2581
|
+
function vi({ className: e, ...t }) {
|
|
2582
|
+
let { toggleSidebar: n } = $();
|
|
2583
|
+
return /* @__PURE__ */ D("button", {
|
|
2741
2584
|
"data-sidebar": "rail",
|
|
2742
2585
|
"data-slot": "sidebar-rail",
|
|
2743
2586
|
"aria-label": "Toggle Sidebar",
|
|
2744
2587
|
tabIndex: -1,
|
|
2745
|
-
onClick:
|
|
2588
|
+
onClick: n,
|
|
2746
2589
|
title: "Toggle Sidebar",
|
|
2747
|
-
className:
|
|
2748
|
-
...
|
|
2590
|
+
className: u("absolute inset-y-0 z-20 hidden w-4 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:start-1/2 after:w-[2px] hover:after:bg-sidebar-border sm:flex ltr:-translate-x-1/2 rtl:-translate-x-1/2", "in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize", "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize", "group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full hover:group-data-[collapsible=offcanvas]:bg-sidebar", "[[data-side=left][data-collapsible=offcanvas]_&]:-right-2", "[[data-side=right][data-collapsible=offcanvas]_&]:-left-2", e),
|
|
2591
|
+
...t
|
|
2749
2592
|
});
|
|
2750
2593
|
}
|
|
2751
|
-
function
|
|
2752
|
-
return /* @__PURE__ */
|
|
2594
|
+
function yi({ className: e, ...t }) {
|
|
2595
|
+
return /* @__PURE__ */ D("main", {
|
|
2753
2596
|
"data-slot": "sidebar-inset",
|
|
2754
|
-
className:
|
|
2755
|
-
...
|
|
2597
|
+
className: u("relative flex w-full flex-1 flex-col bg-background md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2", e),
|
|
2598
|
+
...t
|
|
2756
2599
|
});
|
|
2757
2600
|
}
|
|
2758
|
-
function
|
|
2759
|
-
return /* @__PURE__ */
|
|
2601
|
+
function bi({ className: e, ...t }) {
|
|
2602
|
+
return /* @__PURE__ */ D(l, {
|
|
2760
2603
|
"data-slot": "sidebar-input",
|
|
2761
2604
|
"data-sidebar": "input",
|
|
2762
|
-
className:
|
|
2763
|
-
...
|
|
2605
|
+
className: u("h-8 w-full bg-background shadow-none", e),
|
|
2606
|
+
...t
|
|
2764
2607
|
});
|
|
2765
2608
|
}
|
|
2766
|
-
function
|
|
2767
|
-
return /* @__PURE__ */
|
|
2609
|
+
function xi({ className: e, ...t }) {
|
|
2610
|
+
return /* @__PURE__ */ D("div", {
|
|
2768
2611
|
"data-slot": "sidebar-header",
|
|
2769
2612
|
"data-sidebar": "header",
|
|
2770
|
-
className:
|
|
2771
|
-
...
|
|
2613
|
+
className: u("flex flex-col gap-4 p-0", e),
|
|
2614
|
+
...t
|
|
2772
2615
|
});
|
|
2773
2616
|
}
|
|
2774
|
-
function
|
|
2775
|
-
return /* @__PURE__ */
|
|
2617
|
+
function Si({ className: e, ...t }) {
|
|
2618
|
+
return /* @__PURE__ */ D("div", {
|
|
2776
2619
|
"data-slot": "sidebar-footer",
|
|
2777
2620
|
"data-sidebar": "footer",
|
|
2778
|
-
className:
|
|
2779
|
-
...
|
|
2621
|
+
className: u("flex flex-col gap-4 p-3", e),
|
|
2622
|
+
...t
|
|
2780
2623
|
});
|
|
2781
2624
|
}
|
|
2782
|
-
function
|
|
2783
|
-
return /* @__PURE__ */
|
|
2625
|
+
function Ci({ className: e, ...t }) {
|
|
2626
|
+
return /* @__PURE__ */ D(Z, {
|
|
2784
2627
|
"data-slot": "sidebar-separator",
|
|
2785
2628
|
"data-sidebar": "separator",
|
|
2786
|
-
className:
|
|
2787
|
-
...
|
|
2629
|
+
className: u("mx-6 w-auto bg-sidebar-border", e),
|
|
2630
|
+
...t
|
|
2788
2631
|
});
|
|
2789
2632
|
}
|
|
2790
|
-
function
|
|
2791
|
-
return /* @__PURE__ */
|
|
2633
|
+
function wi({ className: e, ...t }) {
|
|
2634
|
+
return /* @__PURE__ */ D("div", {
|
|
2792
2635
|
"data-slot": "sidebar-content",
|
|
2793
2636
|
"data-sidebar": "content",
|
|
2794
|
-
className:
|
|
2795
|
-
...
|
|
2637
|
+
className: u("no-scrollbar flex min-h-0 flex-1 flex-col gap-0 overflow-auto px-3 py-0 group-data-[collapsible=icon]:overflow-hidden", e),
|
|
2638
|
+
...t
|
|
2796
2639
|
});
|
|
2797
2640
|
}
|
|
2798
|
-
function
|
|
2799
|
-
return /* @__PURE__ */
|
|
2641
|
+
function Ti({ className: e, ...t }) {
|
|
2642
|
+
return /* @__PURE__ */ D("div", {
|
|
2800
2643
|
"data-slot": "sidebar-group",
|
|
2801
2644
|
"data-sidebar": "group",
|
|
2802
|
-
className:
|
|
2803
|
-
...
|
|
2645
|
+
className: u("relative flex w-full min-w-0 flex-col py-0", e),
|
|
2646
|
+
...t
|
|
2804
2647
|
});
|
|
2805
2648
|
}
|
|
2806
|
-
function
|
|
2807
|
-
let
|
|
2808
|
-
return /* @__PURE__ */
|
|
2649
|
+
function Ei({ className: e, asChild: t = !1, ...n }) {
|
|
2650
|
+
let r = t ? W.Root : "div";
|
|
2651
|
+
return /* @__PURE__ */ D(r, {
|
|
2809
2652
|
"data-slot": "sidebar-group-label",
|
|
2810
2653
|
"data-sidebar": "group-label",
|
|
2811
|
-
className:
|
|
2812
|
-
...
|
|
2654
|
+
className: u("flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 ring-sidebar-ring outline-hidden transition-[margin,opacity] duration-200 ease-linear group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0", e),
|
|
2655
|
+
...n
|
|
2813
2656
|
});
|
|
2814
2657
|
}
|
|
2815
|
-
function
|
|
2816
|
-
let
|
|
2817
|
-
return /* @__PURE__ */
|
|
2658
|
+
function Di({ className: e, asChild: t = !1, ...n }) {
|
|
2659
|
+
let r = t ? W.Root : "button";
|
|
2660
|
+
return /* @__PURE__ */ D(r, {
|
|
2818
2661
|
"data-slot": "sidebar-group-action",
|
|
2819
2662
|
"data-sidebar": "group-action",
|
|
2820
|
-
className:
|
|
2821
|
-
...
|
|
2663
|
+
className: u("absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform group-data-[collapsible=icon]:hidden after:absolute after:-inset-2 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 md:after:hidden [&>svg]:size-4 [&>svg]:shrink-0", e),
|
|
2664
|
+
...n
|
|
2822
2665
|
});
|
|
2823
2666
|
}
|
|
2824
|
-
function
|
|
2825
|
-
return /* @__PURE__ */
|
|
2667
|
+
function Oi({ className: e, ...t }) {
|
|
2668
|
+
return /* @__PURE__ */ D("div", {
|
|
2826
2669
|
"data-slot": "sidebar-group-content",
|
|
2827
2670
|
"data-sidebar": "group-content",
|
|
2828
|
-
className:
|
|
2829
|
-
...
|
|
2671
|
+
className: u("w-full text-sm", e),
|
|
2672
|
+
...t
|
|
2830
2673
|
});
|
|
2831
2674
|
}
|
|
2832
|
-
function
|
|
2833
|
-
return /* @__PURE__ */
|
|
2675
|
+
function ki({ className: e, ...t }) {
|
|
2676
|
+
return /* @__PURE__ */ D("ul", {
|
|
2834
2677
|
"data-slot": "sidebar-menu",
|
|
2835
2678
|
"data-sidebar": "menu",
|
|
2836
|
-
className:
|
|
2837
|
-
...
|
|
2679
|
+
className: u("flex w-full min-w-0 flex-col gap-0", e),
|
|
2680
|
+
...t
|
|
2838
2681
|
});
|
|
2839
2682
|
}
|
|
2840
|
-
function
|
|
2841
|
-
return /* @__PURE__ */
|
|
2683
|
+
function Ai({ className: e, ...t }) {
|
|
2684
|
+
return /* @__PURE__ */ D("li", {
|
|
2842
2685
|
"data-slot": "sidebar-menu-item",
|
|
2843
2686
|
"data-sidebar": "menu-item",
|
|
2844
|
-
className:
|
|
2845
|
-
...
|
|
2687
|
+
className: u("group/menu-item relative", e),
|
|
2688
|
+
...t
|
|
2846
2689
|
});
|
|
2847
2690
|
}
|
|
2848
|
-
var
|
|
2691
|
+
var ji = k("peer/menu-button group/menu-button flex w-full items-center gap-3 overflow-hidden rounded-md p-2 text-left text-sm ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground data-active:bg-sidebar-primary data-active:font-medium data-active:text-sidebar-primary-foreground data-active:hover:bg-sidebar-primary data-active:hover:text-sidebar-primary-foreground [&_svg]:size-[18px] [&_svg]:shrink-0 [&>span:last-child]:truncate", {
|
|
2849
2692
|
variants: {
|
|
2850
2693
|
variant: {
|
|
2851
2694
|
default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
|
|
@@ -2862,243 +2705,243 @@ var Ji = A("peer/menu-button group/menu-button flex w-full items-center gap-3 ov
|
|
|
2862
2705
|
size: "default"
|
|
2863
2706
|
}
|
|
2864
2707
|
});
|
|
2865
|
-
function
|
|
2866
|
-
let
|
|
2708
|
+
function Mi({ asChild: e = !1, isActive: t = !1, variant: n = "default", size: r = "default", tooltip: i, className: a, ...o }) {
|
|
2709
|
+
let s = e ? W.Root : "button", { isMobile: c, state: l } = $(), d = /* @__PURE__ */ D(s, {
|
|
2867
2710
|
"data-slot": "sidebar-menu-button",
|
|
2868
2711
|
"data-sidebar": "menu-button",
|
|
2869
|
-
"data-size":
|
|
2870
|
-
"data-active":
|
|
2871
|
-
className:
|
|
2872
|
-
variant:
|
|
2873
|
-
size:
|
|
2874
|
-
}),
|
|
2875
|
-
...
|
|
2876
|
-
});
|
|
2877
|
-
if (!
|
|
2878
|
-
typeof
|
|
2879
|
-
let { children: f, ...p } =
|
|
2880
|
-
return /* @__PURE__ */
|
|
2712
|
+
"data-size": r,
|
|
2713
|
+
"data-active": t,
|
|
2714
|
+
className: u(ji({
|
|
2715
|
+
variant: n,
|
|
2716
|
+
size: r
|
|
2717
|
+
}), a),
|
|
2718
|
+
...o
|
|
2719
|
+
});
|
|
2720
|
+
if (!i) return d;
|
|
2721
|
+
typeof i == "string" && (i = { children: i });
|
|
2722
|
+
let { children: f, ...p } = i;
|
|
2723
|
+
return /* @__PURE__ */ D(Qe, {
|
|
2881
2724
|
content: f,
|
|
2882
2725
|
side: "right",
|
|
2883
2726
|
align: "center",
|
|
2884
|
-
hidden:
|
|
2727
|
+
hidden: l !== "collapsed" || c,
|
|
2885
2728
|
...p,
|
|
2886
2729
|
children: d
|
|
2887
2730
|
});
|
|
2888
2731
|
}
|
|
2889
|
-
function
|
|
2890
|
-
let
|
|
2891
|
-
return /* @__PURE__ */
|
|
2732
|
+
function Ni({ className: e, asChild: t = !1, showOnHover: n = !1, ...r }) {
|
|
2733
|
+
let i = t ? W.Root : "button";
|
|
2734
|
+
return /* @__PURE__ */ D(i, {
|
|
2892
2735
|
"data-slot": "sidebar-menu-action",
|
|
2893
2736
|
"data-sidebar": "menu-action",
|
|
2894
|
-
className:
|
|
2895
|
-
...
|
|
2737
|
+
className: u("absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform group-data-[collapsible=icon]:hidden peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 after:absolute after:-inset-2 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 md:after:hidden [&>svg]:size-4 [&>svg]:shrink-0", n && "group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 peer-data-active/menu-button:text-sidebar-accent-foreground aria-expanded:opacity-100 md:opacity-0", e),
|
|
2738
|
+
...r
|
|
2896
2739
|
});
|
|
2897
2740
|
}
|
|
2898
|
-
function
|
|
2899
|
-
return /* @__PURE__ */
|
|
2741
|
+
function Pi({ className: e, ...t }) {
|
|
2742
|
+
return /* @__PURE__ */ D("div", {
|
|
2900
2743
|
"data-slot": "sidebar-menu-badge",
|
|
2901
2744
|
"data-sidebar": "menu-badge",
|
|
2902
|
-
className:
|
|
2903
|
-
...
|
|
2745
|
+
className: u("pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium text-sidebar-foreground tabular-nums select-none group-data-[collapsible=icon]:hidden peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 peer-data-active/menu-button:text-sidebar-accent-foreground", e),
|
|
2746
|
+
...t
|
|
2904
2747
|
});
|
|
2905
2748
|
}
|
|
2906
|
-
function
|
|
2907
|
-
let [
|
|
2908
|
-
return /* @__PURE__ */
|
|
2749
|
+
function Fi({ className: e, showIcon: t = !1, ...n }) {
|
|
2750
|
+
let [r] = w.useState(() => `${Math.floor(Math.random() * 40) + 50}%`);
|
|
2751
|
+
return /* @__PURE__ */ O("div", {
|
|
2909
2752
|
"data-slot": "sidebar-menu-skeleton",
|
|
2910
2753
|
"data-sidebar": "menu-skeleton",
|
|
2911
|
-
className:
|
|
2912
|
-
...
|
|
2913
|
-
children: [
|
|
2754
|
+
className: u("flex h-8 items-center gap-2 rounded-md px-2", e),
|
|
2755
|
+
...n,
|
|
2756
|
+
children: [t && /* @__PURE__ */ D(si, {
|
|
2914
2757
|
className: "size-4 rounded-md",
|
|
2915
2758
|
"data-sidebar": "menu-skeleton-icon"
|
|
2916
|
-
}), /* @__PURE__ */
|
|
2759
|
+
}), /* @__PURE__ */ D(si, {
|
|
2917
2760
|
className: "h-4 max-w-(--skeleton-width) flex-1",
|
|
2918
2761
|
"data-sidebar": "menu-skeleton-text",
|
|
2919
|
-
style: { "--skeleton-width":
|
|
2762
|
+
style: { "--skeleton-width": r }
|
|
2920
2763
|
})]
|
|
2921
2764
|
});
|
|
2922
2765
|
}
|
|
2923
|
-
function
|
|
2924
|
-
return /* @__PURE__ */
|
|
2766
|
+
function Ii({ className: e, ...t }) {
|
|
2767
|
+
return /* @__PURE__ */ D("ul", {
|
|
2925
2768
|
"data-slot": "sidebar-menu-sub",
|
|
2926
2769
|
"data-sidebar": "menu-sub",
|
|
2927
|
-
className:
|
|
2928
|
-
...
|
|
2770
|
+
className: u("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5 group-data-[collapsible=icon]:hidden", e),
|
|
2771
|
+
...t
|
|
2929
2772
|
});
|
|
2930
2773
|
}
|
|
2931
|
-
function
|
|
2932
|
-
return /* @__PURE__ */
|
|
2774
|
+
function Li({ className: e, ...t }) {
|
|
2775
|
+
return /* @__PURE__ */ D("li", {
|
|
2933
2776
|
"data-slot": "sidebar-menu-sub-item",
|
|
2934
2777
|
"data-sidebar": "menu-sub-item",
|
|
2935
|
-
className:
|
|
2936
|
-
...
|
|
2778
|
+
className: u("group/menu-sub-item relative", e),
|
|
2779
|
+
...t
|
|
2937
2780
|
});
|
|
2938
2781
|
}
|
|
2939
|
-
function
|
|
2940
|
-
let
|
|
2941
|
-
return
|
|
2782
|
+
function Ri({ asChild: e = !1, size: t = "md", isActive: n = !1, className: r, ...i }) {
|
|
2783
|
+
let a = X(), o = e ? W.Root : a;
|
|
2784
|
+
return w.createElement(o, {
|
|
2942
2785
|
"data-slot": "sidebar-menu-sub-button",
|
|
2943
2786
|
"data-sidebar": "menu-sub-button",
|
|
2944
|
-
"data-size":
|
|
2945
|
-
"data-active":
|
|
2946
|
-
className:
|
|
2947
|
-
...
|
|
2787
|
+
"data-size": t,
|
|
2788
|
+
"data-active": n,
|
|
2789
|
+
className: u("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground ring-sidebar-ring outline-hidden group-data-[collapsible=icon]:hidden hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[size=md]:text-sm data-[size=sm]:text-xs data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground", r),
|
|
2790
|
+
...i
|
|
2948
2791
|
});
|
|
2949
2792
|
}
|
|
2950
2793
|
//#endregion
|
|
2951
2794
|
//#region src/components/ui/switch.tsx
|
|
2952
|
-
function
|
|
2953
|
-
return /* @__PURE__ */
|
|
2795
|
+
function zi({ className: e, size: t = "default", label: n, helperText: r, error: i = !1, id: a, ...o }) {
|
|
2796
|
+
return /* @__PURE__ */ O("div", {
|
|
2954
2797
|
className: "flex flex-col gap-1",
|
|
2955
|
-
children: [/* @__PURE__ */
|
|
2798
|
+
children: [/* @__PURE__ */ O("div", {
|
|
2956
2799
|
className: "flex items-center gap-2",
|
|
2957
|
-
children: [/* @__PURE__ */
|
|
2958
|
-
id:
|
|
2800
|
+
children: [/* @__PURE__ */ D(fe.Root, {
|
|
2801
|
+
id: a,
|
|
2959
2802
|
"data-slot": "switch",
|
|
2960
|
-
"data-size":
|
|
2961
|
-
className:
|
|
2962
|
-
...
|
|
2963
|
-
children: /* @__PURE__ */
|
|
2803
|
+
"data-size": t,
|
|
2804
|
+
className: u("peer group/switch relative inline-flex shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-[size=default]:h-[18.4px] data-[size=default]:w-[32px] data-[size=sm]:h-[14px] data-[size=sm]:w-[24px] dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:bg-primary data-unchecked:bg-input dark:data-unchecked:bg-input/80 data-disabled:cursor-not-allowed data-disabled:opacity-50", e),
|
|
2805
|
+
...o,
|
|
2806
|
+
children: /* @__PURE__ */ D(fe.Thumb, {
|
|
2964
2807
|
"data-slot": "switch-thumb",
|
|
2965
2808
|
className: "pointer-events-none block rounded-full bg-background ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 group-data-[size=default]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=sm]/switch:data-checked:translate-x-[calc(100%-2px)] dark:data-checked:bg-primary-foreground group-data-[size=default]/switch:data-unchecked:translate-x-0 group-data-[size=sm]/switch:data-unchecked:translate-x-0 dark:data-unchecked:bg-foreground"
|
|
2966
2809
|
})
|
|
2967
|
-
}),
|
|
2968
|
-
htmlFor:
|
|
2810
|
+
}), n && /* @__PURE__ */ D(m, {
|
|
2811
|
+
htmlFor: a,
|
|
2969
2812
|
className: "font-normal cursor-pointer",
|
|
2970
|
-
children:
|
|
2813
|
+
children: n
|
|
2971
2814
|
})]
|
|
2972
|
-
}),
|
|
2973
|
-
className: `text-caption pl-10 ${
|
|
2974
|
-
children:
|
|
2815
|
+
}), r && /* @__PURE__ */ D("p", {
|
|
2816
|
+
className: `text-caption pl-10 ${i ? "text-destructive" : "text-muted-foreground"}`,
|
|
2817
|
+
children: r
|
|
2975
2818
|
})]
|
|
2976
2819
|
});
|
|
2977
2820
|
}
|
|
2978
2821
|
//#endregion
|
|
2979
2822
|
//#region src/components/ui/table.tsx
|
|
2980
|
-
function
|
|
2981
|
-
return /* @__PURE__ */
|
|
2823
|
+
function Bi({ className: e, maxHeight: t = "50vh", ...n }) {
|
|
2824
|
+
return /* @__PURE__ */ D("div", {
|
|
2982
2825
|
"data-slot": "table-container",
|
|
2983
|
-
className:
|
|
2984
|
-
style: { maxHeight: typeof
|
|
2985
|
-
children: /* @__PURE__ */
|
|
2826
|
+
className: u("relative w-full overflow-auto"),
|
|
2827
|
+
style: { maxHeight: typeof t == "string" ? t : `${t}px` },
|
|
2828
|
+
children: /* @__PURE__ */ D("table", {
|
|
2986
2829
|
"data-slot": "table",
|
|
2987
|
-
className:
|
|
2988
|
-
...
|
|
2830
|
+
className: u("w-full caption-bottom text-sm", e),
|
|
2831
|
+
...n
|
|
2989
2832
|
})
|
|
2990
2833
|
});
|
|
2991
2834
|
}
|
|
2992
|
-
function
|
|
2993
|
-
return /* @__PURE__ */
|
|
2835
|
+
function Vi({ className: e, sticky: t = !0, ...n }) {
|
|
2836
|
+
return /* @__PURE__ */ D("thead", {
|
|
2994
2837
|
"data-slot": "table-header",
|
|
2995
|
-
className:
|
|
2996
|
-
...
|
|
2838
|
+
className: u(t && "sticky top-0 z-10 bg-secondary", "[&_tr]:border-b", e),
|
|
2839
|
+
...n
|
|
2997
2840
|
});
|
|
2998
2841
|
}
|
|
2999
|
-
function
|
|
3000
|
-
return /* @__PURE__ */
|
|
2842
|
+
function Hi({ className: e, ...t }) {
|
|
2843
|
+
return /* @__PURE__ */ D("tbody", {
|
|
3001
2844
|
"data-slot": "table-body",
|
|
3002
|
-
className:
|
|
3003
|
-
...
|
|
2845
|
+
className: u("[&_tr:last-child]:border-0", e),
|
|
2846
|
+
...t
|
|
3004
2847
|
});
|
|
3005
2848
|
}
|
|
3006
|
-
function
|
|
3007
|
-
return /* @__PURE__ */
|
|
2849
|
+
function Ui({ className: e, ...t }) {
|
|
2850
|
+
return /* @__PURE__ */ D("tfoot", {
|
|
3008
2851
|
"data-slot": "table-footer",
|
|
3009
|
-
className:
|
|
3010
|
-
...
|
|
2852
|
+
className: u("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", e),
|
|
2853
|
+
...t
|
|
3011
2854
|
});
|
|
3012
2855
|
}
|
|
3013
|
-
function
|
|
3014
|
-
return /* @__PURE__ */
|
|
2856
|
+
function Wi({ className: e, ...t }) {
|
|
2857
|
+
return /* @__PURE__ */ D("tr", {
|
|
3015
2858
|
"data-slot": "table-row",
|
|
3016
|
-
className:
|
|
3017
|
-
...
|
|
2859
|
+
className: u("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted", e),
|
|
2860
|
+
...t
|
|
3018
2861
|
});
|
|
3019
2862
|
}
|
|
3020
|
-
function
|
|
3021
|
-
return /* @__PURE__ */
|
|
2863
|
+
function Gi({ className: e, ...t }) {
|
|
2864
|
+
return /* @__PURE__ */ D("th", {
|
|
3022
2865
|
"data-slot": "table-head",
|
|
3023
|
-
className:
|
|
3024
|
-
...
|
|
2866
|
+
className: u("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0", e),
|
|
2867
|
+
...t
|
|
3025
2868
|
});
|
|
3026
2869
|
}
|
|
3027
|
-
function
|
|
3028
|
-
return /* @__PURE__ */
|
|
2870
|
+
function Ki({ className: e, ...t }) {
|
|
2871
|
+
return /* @__PURE__ */ D("td", {
|
|
3029
2872
|
"data-slot": "table-cell",
|
|
3030
|
-
className:
|
|
3031
|
-
...
|
|
2873
|
+
className: u("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0", e),
|
|
2874
|
+
...t
|
|
3032
2875
|
});
|
|
3033
2876
|
}
|
|
3034
|
-
function
|
|
3035
|
-
return /* @__PURE__ */
|
|
2877
|
+
function qi({ className: e, ...t }) {
|
|
2878
|
+
return /* @__PURE__ */ D("caption", {
|
|
3036
2879
|
"data-slot": "table-caption",
|
|
3037
|
-
className:
|
|
3038
|
-
...
|
|
2880
|
+
className: u("mt-4 text-sm text-muted-foreground", e),
|
|
2881
|
+
...t
|
|
3039
2882
|
});
|
|
3040
2883
|
}
|
|
3041
2884
|
//#endregion
|
|
3042
2885
|
//#region src/components/ui/shadcn/shadcn-tabs.tsx
|
|
3043
|
-
function
|
|
3044
|
-
return /* @__PURE__ */
|
|
2886
|
+
function Ji({ className: e, orientation: t = "horizontal", ...n }) {
|
|
2887
|
+
return /* @__PURE__ */ D(G.Root, {
|
|
3045
2888
|
"data-slot": "tabs",
|
|
3046
|
-
"data-orientation":
|
|
3047
|
-
className:
|
|
3048
|
-
...
|
|
2889
|
+
"data-orientation": t,
|
|
2890
|
+
className: u("group/tabs flex gap-2 data-horizontal:flex-col", "w-full justify-start px-3 py-2.5 text-sm font-medium data-[state=active]:bg-primary/10 data-[state=active]:shadow-none", e),
|
|
2891
|
+
...n
|
|
3049
2892
|
});
|
|
3050
2893
|
}
|
|
3051
|
-
var
|
|
2894
|
+
var Yi = k("group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-2 text-muted-foreground group-data-horizontal/tabs:h-10 group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col data-[variant=line]:rounded-none", {
|
|
3052
2895
|
variants: { variant: {
|
|
3053
2896
|
default: "bg-muted",
|
|
3054
2897
|
line: "w-full justify-start gap-1 bg-transparent border-b border-border p-0 group-data-vertical/tabs:border-b-0"
|
|
3055
2898
|
} },
|
|
3056
2899
|
defaultVariants: { variant: "line" }
|
|
3057
2900
|
});
|
|
3058
|
-
function
|
|
3059
|
-
return /* @__PURE__ */
|
|
2901
|
+
function Xi({ className: e, variant: t = "line", ...n }) {
|
|
2902
|
+
return /* @__PURE__ */ D(G.List, {
|
|
3060
2903
|
"data-slot": "tabs-list",
|
|
3061
|
-
"data-variant":
|
|
3062
|
-
className:
|
|
3063
|
-
...
|
|
2904
|
+
"data-variant": t,
|
|
2905
|
+
className: u(Yi({ variant: t }), "p-4", e),
|
|
2906
|
+
...n
|
|
3064
2907
|
});
|
|
3065
2908
|
}
|
|
3066
|
-
function
|
|
3067
|
-
return /* @__PURE__ */
|
|
2909
|
+
function Zi({ className: e, ...t }) {
|
|
2910
|
+
return /* @__PURE__ */ D(G.Trigger, {
|
|
3068
2911
|
"data-slot": "tabs-trigger",
|
|
3069
|
-
className:
|
|
3070
|
-
...
|
|
2912
|
+
className: u("relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1 dark:text-muted-foreground dark:hover:text-foreground group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", "group-data-[variant=line]/tabs-list:h-10 group-data-[variant=line]/tabs-list:rounded-none group-data-[variant=line]/tabs-list:border-0 group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:px-3 group-data-[variant=line]/tabs-list:data-active:bg-transparent group-data-[variant=line]/tabs-list:data-active:text-foreground dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent", "data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground", "after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-1px] group-data-horizontal/tabs:after:h-0.5 group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-right-1 group-data-vertical/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100", e),
|
|
2913
|
+
...t
|
|
3071
2914
|
});
|
|
3072
2915
|
}
|
|
3073
|
-
function
|
|
3074
|
-
return /* @__PURE__ */
|
|
2916
|
+
function Qi({ className: e, ...t }) {
|
|
2917
|
+
return /* @__PURE__ */ D(G.Content, {
|
|
3075
2918
|
"data-slot": "tabs-content",
|
|
3076
|
-
className:
|
|
3077
|
-
...
|
|
2919
|
+
className: u("flex-1 text-sm outline-none", e),
|
|
2920
|
+
...t
|
|
3078
2921
|
});
|
|
3079
2922
|
}
|
|
3080
2923
|
//#endregion
|
|
3081
2924
|
//#region src/components/ui/tabs.tsx
|
|
3082
|
-
var
|
|
2925
|
+
var $i = ({ tabs: e, defaultValue: t, value: n, onValueChange: r, orientation: i = "horizontal", variant: a = "line", className: o, listClassName: s, contentClassName: c }) => /* @__PURE__ */ O(Ji, {
|
|
3083
2926
|
defaultValue: t ?? e[0]?.value,
|
|
3084
2927
|
value: n,
|
|
3085
2928
|
onValueChange: r,
|
|
3086
2929
|
orientation: i,
|
|
3087
2930
|
className: o,
|
|
3088
|
-
children: [/* @__PURE__ */
|
|
2931
|
+
children: [/* @__PURE__ */ D(Xi, {
|
|
3089
2932
|
variant: a,
|
|
3090
2933
|
className: s,
|
|
3091
|
-
children: e.map((e) => /* @__PURE__ */
|
|
2934
|
+
children: e.map((e) => /* @__PURE__ */ O(Zi, {
|
|
3092
2935
|
value: e.value,
|
|
3093
2936
|
disabled: e.disabled,
|
|
3094
2937
|
children: [e.icon, e.label]
|
|
3095
2938
|
}, e.value))
|
|
3096
|
-
}), e.map((e) => /* @__PURE__ */
|
|
2939
|
+
}), e.map((e) => /* @__PURE__ */ D(Qi, {
|
|
3097
2940
|
value: e.value,
|
|
3098
2941
|
className: c,
|
|
3099
2942
|
children: e.content
|
|
3100
2943
|
}, e.value))]
|
|
3101
|
-
}),
|
|
2944
|
+
}), ea = k("group/toggle inline-flex items-center justify-center gap-1 rounded-md text-sm font-medium whitespace-nowrap transition-[color,box-shadow] outline-none hover:bg-muted hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 aria-pressed:bg-muted data-[state=on]:bg-muted dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
|
|
3102
2945
|
variants: {
|
|
3103
2946
|
variant: {
|
|
3104
2947
|
default: "bg-transparent",
|
|
@@ -3115,60 +2958,60 @@ var ga = ({ tabs: e, defaultValue: t, value: n, onValueChange: r, orientation: i
|
|
|
3115
2958
|
size: "default"
|
|
3116
2959
|
}
|
|
3117
2960
|
});
|
|
3118
|
-
function
|
|
3119
|
-
return /* @__PURE__ */
|
|
2961
|
+
function ta({ className: e, variant: t = "default", size: n = "default", ...r }) {
|
|
2962
|
+
return /* @__PURE__ */ D(pe.Root, {
|
|
3120
2963
|
"data-slot": "toggle",
|
|
3121
|
-
className:
|
|
3122
|
-
variant:
|
|
3123
|
-
size:
|
|
3124
|
-
className:
|
|
2964
|
+
className: u(ea({
|
|
2965
|
+
variant: t,
|
|
2966
|
+
size: n,
|
|
2967
|
+
className: e
|
|
3125
2968
|
})),
|
|
3126
|
-
...
|
|
2969
|
+
...r
|
|
3127
2970
|
});
|
|
3128
2971
|
}
|
|
3129
2972
|
//#endregion
|
|
3130
2973
|
//#region src/components/ui/toggle-group.tsx
|
|
3131
|
-
var
|
|
2974
|
+
var na = w.createContext({
|
|
3132
2975
|
size: "default",
|
|
3133
2976
|
variant: "default",
|
|
3134
2977
|
spacing: 0,
|
|
3135
2978
|
orientation: "horizontal"
|
|
3136
2979
|
});
|
|
3137
|
-
function
|
|
3138
|
-
return /* @__PURE__ */
|
|
2980
|
+
function ra({ className: e, variant: t, size: n, spacing: r = 0, orientation: i = "horizontal", children: a, ...o }) {
|
|
2981
|
+
return /* @__PURE__ */ D(me.Root, {
|
|
3139
2982
|
"data-slot": "toggle-group",
|
|
3140
|
-
"data-variant":
|
|
3141
|
-
"data-size":
|
|
3142
|
-
"data-spacing":
|
|
3143
|
-
"data-orientation":
|
|
3144
|
-
style: { "--gap":
|
|
3145
|
-
className:
|
|
3146
|
-
...
|
|
3147
|
-
children: /* @__PURE__ */
|
|
2983
|
+
"data-variant": t,
|
|
2984
|
+
"data-size": n,
|
|
2985
|
+
"data-spacing": r,
|
|
2986
|
+
"data-orientation": i,
|
|
2987
|
+
style: { "--gap": r },
|
|
2988
|
+
className: u("group/toggle-group flex w-fit flex-row items-center gap-[--spacing(var(--gap))] rounded-lg data-[size=sm]:rounded-[min(var(--radius-md),10px)] data-vertical:flex-col data-vertical:items-stretch", e),
|
|
2989
|
+
...o,
|
|
2990
|
+
children: /* @__PURE__ */ D(na.Provider, {
|
|
3148
2991
|
value: {
|
|
3149
|
-
variant:
|
|
3150
|
-
size:
|
|
3151
|
-
spacing:
|
|
3152
|
-
orientation:
|
|
2992
|
+
variant: t,
|
|
2993
|
+
size: n,
|
|
2994
|
+
spacing: r,
|
|
2995
|
+
orientation: i
|
|
3153
2996
|
},
|
|
3154
|
-
children:
|
|
2997
|
+
children: a
|
|
3155
2998
|
})
|
|
3156
2999
|
});
|
|
3157
3000
|
}
|
|
3158
|
-
function
|
|
3159
|
-
let
|
|
3160
|
-
return /* @__PURE__ */
|
|
3001
|
+
function ia({ className: e, children: t, variant: n = "default", size: r = "default", ...i }) {
|
|
3002
|
+
let a = w.useContext(na);
|
|
3003
|
+
return /* @__PURE__ */ D(me.Item, {
|
|
3161
3004
|
"data-slot": "toggle-group-item",
|
|
3162
|
-
"data-variant":
|
|
3163
|
-
"data-size":
|
|
3164
|
-
"data-spacing":
|
|
3165
|
-
className:
|
|
3166
|
-
variant:
|
|
3167
|
-
size:
|
|
3168
|
-
}),
|
|
3169
|
-
...
|
|
3170
|
-
children:
|
|
3005
|
+
"data-variant": a.variant || n,
|
|
3006
|
+
"data-size": a.size || r,
|
|
3007
|
+
"data-spacing": a.spacing,
|
|
3008
|
+
className: u("shrink-0 group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 focus:z-10 focus-visible:z-10 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-end]:pr-1.5 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-start]:pl-1.5 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-l-lg group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-lg group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-r-lg group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-lg group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-l-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-l group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t", ea({
|
|
3009
|
+
variant: a.variant || n,
|
|
3010
|
+
size: a.size || r
|
|
3011
|
+
}), e),
|
|
3012
|
+
...i,
|
|
3013
|
+
children: t
|
|
3171
3014
|
});
|
|
3172
3015
|
}
|
|
3173
3016
|
//#endregion
|
|
3174
|
-
export {
|
|
3017
|
+
export { ni as $, Mt as $n, Yn as $t, Ni as A, Zt as An, Y as Ar, _r as At, Ci as B, Gt as Bn, Se as Br, tr as Bt, Di as C, gn as Cn, $e as Cr, kr as Ct, bi as D, en as Dn, He as Dr, wr as Dt, xi as E, Wt as En, Xe as Er, xr as Et, Ii as F, rn as Fn, Fe as Fr, cr as Ft, Yr as G, Nt as Gn, Oe as Gr, fr as Gt, $ as H, Ut as Hn, we as Hr, ir as Ht, Ri as I, an as In, Ve as Ir, or as It, Xr as J, It as Jn, ye as Jr, mr as Jt, $r as K, Lt as Kn, De as Kr, pr as Kt, Li as L, Jt as Ln, Le as Lr, nr as Lt, Mi as M, qt as Mn, Pe as Mr, Sr as Mt, Ai as N, Yt as Nn, Re as Nr, yr as Nt, yi as O, Xt as On, qe as Or, vr as Ot, Fi as P, tn as Pn, Ie as Pr, er as Pt, ri as Q, At as Qn, Un as Qt, hi as R, $t as Rn, Ae as Rr, sr as Rt, Ti as S, wn as Sn, Qe as Sr, Dr as St, Ei as T, sn as Tn, Je as Tr, gr as Tt, si as U, Ht as Un, ke as Ur, lr as Ut, _i as V, Vt as Vn, Te as Vr, rr as Vt, oi as W, Bt as Wn, Ce as Wr, dr as Wt, ei as X, Pt as Xn, _e as Xr, Qn as Xt, ti as Y, zt as Yn, ve as Yr, ar as Yt, ii as Z, Ft as Zn, ge as Zr, $n as Zt, Wi as _, jn as _n, ft as _r, Mr as _t, $i as a, Gn as an, wt as ar, Gr as at, wi as b, Tn as bn, rt as br, Ar as bt, Xi as c, zn as cn, Et as cr, Ur as ct, Hi as d, Ln as dn, bt as dr, Ir as dt, Kn as en, jt as er, Qr as et, qi as f, kn as fn, yt as fr, Fr as ft, Vi as g, Dn as gn, dt as gr, Pr as gt, Gi as h, Fn as hn, pt as hr, Rr as ht, ea as i, Xn as in, Ot as ir, Kr as it, Pi as j, nn as jn, je as jr, br as jt, ki as k, Kt as kn, Ke as kr, Cr as kt, Zi as l, In as ln, Dt as lr, Vr as lt, Ui as m, Nn as mn, ut as mr, Lr as mt, ia as n, Zn as nn, Z as nr, qr as nt, Ji as o, Vn as on, Tt as or, Wr as ot, Ki as p, An as pn, mt as pr, zr as pt, ai as q, Rt as qn, be as qr, hr as qt, ta as r, Bn as rn, St as rr, Jr as rt, Qi as s, qn as sn, Ct as sr, Hr as st, ra as t, Jn as tn, kt as tr, Zr as tt, Bi as u, Rn as un, xt as ur, Nr as ut, zi as v, En as vn, lt as vr, Tr as vt, Oi as w, on as wn, Ye as wr, Or as wt, Si as x, Mn as xn, X as xr, Q as xt, gi as y, Pn as yn, it as yr, Er as yt, vi as z, Qt as zn, Be as zr, ur as zt };
|