@versini/ui-panel 1.2.2 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +445 -301
- package/dist/style.css +1 -1
- package/package.json +5 -5
- package/dist/chunks/index.DaIz2ggm.js +0 -99
package/dist/index.js
CHANGED
|
@@ -1,362 +1,423 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { jsx as d, jsxs as x, Fragment as L } from "react/jsx-runtime";
|
|
2
|
+
import i from "clsx";
|
|
3
|
+
import * as m from "react";
|
|
4
|
+
import B, { useId as V, useRef as F, useEffect as G } from "react";
|
|
5
|
+
import { useFloating as D, useClick as W, useDismiss as X, useRole as Y, useInteractions as q, useMergeRefs as H, FloatingPortal as J, FloatingOverlay as K, FloatingFocusManager as Q } from "@floating-ui/react";
|
|
4
6
|
/*!
|
|
5
|
-
@versini/ui-panel v1.2.
|
|
7
|
+
@versini/ui-panel v1.2.4
|
|
6
8
|
© 2024 gizmette.com
|
|
7
9
|
*/
|
|
8
10
|
try {
|
|
9
11
|
window.__VERSINI_UI_PANEL__ || (window.__VERSINI_UI_PANEL__ = {
|
|
10
|
-
version: "1.2.
|
|
11
|
-
buildTime: "12/
|
|
12
|
+
version: "1.2.4",
|
|
13
|
+
buildTime: "12/28/2024 05:53 PM EST",
|
|
12
14
|
homepage: "https://github.com/aversini/ui-components",
|
|
13
15
|
license: "MIT"
|
|
14
16
|
});
|
|
15
17
|
} catch {
|
|
16
18
|
}
|
|
17
|
-
const
|
|
19
|
+
const C = "av-messagebox", P = "av-panel", $ = "av-button";
|
|
18
20
|
/*!
|
|
19
|
-
@versini/ui-spacing v1.1.
|
|
21
|
+
@versini/ui-spacing v1.1.1
|
|
20
22
|
© 2024 gizmette.com
|
|
21
23
|
*/
|
|
22
24
|
try {
|
|
23
25
|
window.__VERSINI_UI_SPACING__ || (window.__VERSINI_UI_SPACING__ = {
|
|
24
|
-
version: "1.1.
|
|
25
|
-
buildTime: "12/
|
|
26
|
+
version: "1.1.1",
|
|
27
|
+
buildTime: "12/28/2024 05:53 PM EST",
|
|
26
28
|
homepage: "https://github.com/aversini/ui-components",
|
|
27
29
|
license: "MIT"
|
|
28
30
|
});
|
|
29
31
|
} catch {
|
|
30
32
|
}
|
|
31
|
-
const
|
|
32
|
-
let
|
|
33
|
+
const Z = (e) => {
|
|
34
|
+
let t = "";
|
|
33
35
|
if (typeof e == "number" || typeof e == "string")
|
|
34
|
-
|
|
36
|
+
t = "m-" + e;
|
|
35
37
|
else {
|
|
36
|
-
const
|
|
37
|
-
(e == null ? void 0 : e.t) !== void 0 &&
|
|
38
|
+
const r = [];
|
|
39
|
+
(e == null ? void 0 : e.t) !== void 0 && r.push(`mt-${e.t}`), (e == null ? void 0 : e.r) !== void 0 && r.push(`mr-${e.r}`), (e == null ? void 0 : e.b) !== void 0 && r.push(`mb-${e.b}`), (e == null ? void 0 : e.l) !== void 0 && r.push(`ml-${e.l}`), t = r.join(" ");
|
|
38
40
|
}
|
|
39
|
-
return
|
|
40
|
-
},
|
|
41
|
+
return t;
|
|
42
|
+
}, M = "icon", ee = "button", re = "link", te = ({
|
|
41
43
|
type: e,
|
|
42
|
-
size:
|
|
43
|
-
labelRight:
|
|
44
|
+
size: t,
|
|
45
|
+
labelRight: r,
|
|
44
46
|
labelLeft: a,
|
|
45
|
-
align:
|
|
47
|
+
align: o
|
|
46
48
|
}) => {
|
|
47
|
-
const
|
|
49
|
+
const n = "text-sm font-medium max-h-8 py-0", c = "text-base font-medium max-h-9 py-1", l = "text-lg font-medium max-h-12 py-2";
|
|
48
50
|
switch (e) {
|
|
49
|
-
case
|
|
50
|
-
return
|
|
51
|
-
[
|
|
52
|
-
[
|
|
53
|
-
[
|
|
51
|
+
case ee:
|
|
52
|
+
return i("px-4", {
|
|
53
|
+
[n]: t === "small",
|
|
54
|
+
[c]: t === "medium",
|
|
55
|
+
[l]: t === "large"
|
|
54
56
|
});
|
|
55
|
-
case
|
|
56
|
-
return
|
|
57
|
-
[
|
|
58
|
-
[
|
|
59
|
-
[
|
|
57
|
+
case re:
|
|
58
|
+
return i("px-4 text-center", {
|
|
59
|
+
[n]: t === "small",
|
|
60
|
+
[c]: t === "medium",
|
|
61
|
+
[l]: t === "large"
|
|
60
62
|
});
|
|
61
|
-
case
|
|
62
|
-
return
|
|
63
|
-
"justify-center":
|
|
64
|
-
"justify-start":
|
|
65
|
-
"justify-end":
|
|
66
|
-
"h-6 w-6 p-0":
|
|
67
|
-
"h-6 px-4 text-sm font-medium":
|
|
68
|
-
"h-8 w-8 p-1":
|
|
69
|
-
"h-8 px-4 text-base font-medium":
|
|
70
|
-
"h-12 w-12 p-2":
|
|
71
|
-
"h-12 px-4 text-lg font-medium":
|
|
63
|
+
case M:
|
|
64
|
+
return i("inline-flex items-center", {
|
|
65
|
+
"justify-center": o === "center",
|
|
66
|
+
"justify-start": o === "left",
|
|
67
|
+
"justify-end": o === "right",
|
|
68
|
+
"h-6 w-6 p-0": t === "small" && !(r || a),
|
|
69
|
+
"h-6 px-4 text-sm font-medium": t === "small" && (r || a),
|
|
70
|
+
"h-8 w-8 p-1": t === "medium" && !(r || a),
|
|
71
|
+
"h-8 px-4 text-base font-medium": t === "medium" && (r || a),
|
|
72
|
+
"h-12 w-12 p-2": t === "large" && !(r || a),
|
|
73
|
+
"h-12 px-4 text-lg font-medium": t === "large" && (r || a)
|
|
72
74
|
});
|
|
73
75
|
}
|
|
74
|
-
},
|
|
76
|
+
}, ae = ({
|
|
75
77
|
mode: e,
|
|
76
|
-
noBackground:
|
|
77
|
-
noTruncate:
|
|
78
|
-
variant: a
|
|
78
|
+
noBackground: t,
|
|
79
|
+
noTruncate: r,
|
|
80
|
+
variant: a,
|
|
81
|
+
radius: o
|
|
79
82
|
}) => {
|
|
80
|
-
if (
|
|
81
|
-
return "not-prose
|
|
83
|
+
if (t)
|
|
84
|
+
return i("not-prose", {
|
|
85
|
+
"rounded-full": o === "large",
|
|
86
|
+
"rounded-md": o === "medium",
|
|
87
|
+
"rounded-sm": o === "small"
|
|
88
|
+
});
|
|
82
89
|
if (a === "primary")
|
|
83
|
-
return
|
|
84
|
-
|
|
90
|
+
return i("not-prose", {
|
|
91
|
+
"rounded-full": o === "large",
|
|
92
|
+
"rounded-md": o === "medium",
|
|
93
|
+
"rounded-sm": o === "small",
|
|
94
|
+
truncate: !r,
|
|
85
95
|
"bg-action-dark text-copy-light": e === "dark",
|
|
86
96
|
"bg-action-light text-copy-lighter": e === "light",
|
|
87
97
|
"bg-action-dark text-copy-light dark:bg-action-light dark:text-copy-lighter": e === "system",
|
|
88
98
|
"bg-action-light text-copy-lighter dark:bg-action-dark dark:text-copy-light": e === "alt-system"
|
|
89
99
|
});
|
|
90
100
|
if (a === "secondary")
|
|
91
|
-
return
|
|
92
|
-
|
|
101
|
+
return i("not-prose", {
|
|
102
|
+
"rounded-full": o === "large",
|
|
103
|
+
"rounded-md": o === "medium",
|
|
104
|
+
"rounded-sm": o === "small",
|
|
105
|
+
truncate: !r,
|
|
93
106
|
"bg-action-dark text-copy-light": e === "light",
|
|
94
107
|
"bg-action-light text-copy-lighter": e === "dark",
|
|
95
108
|
"bg-action-dark text-copy-light dark:bg-action-light dark:text-copy-lighter": e === "alt-system",
|
|
96
109
|
"bg-action-light text-copy-lighter dark:bg-action-dark dark:text-copy-light": e === "system"
|
|
97
110
|
});
|
|
98
111
|
if (a === "danger")
|
|
99
|
-
return
|
|
100
|
-
|
|
112
|
+
return i("not-prose", {
|
|
113
|
+
"rounded-full": o === "large",
|
|
114
|
+
"rounded-md": o === "medium",
|
|
115
|
+
"rounded-sm": o === "small",
|
|
116
|
+
truncate: !r,
|
|
101
117
|
"bg-action-danger-dark text-copy-light": e === "dark",
|
|
102
118
|
"bg-action-danger-light text-copy-lighter": e === "light",
|
|
103
119
|
"bg-action-danger-dark text-copy-light dark:bg-action-danger-light dark:text-copy-lighter": e === "system",
|
|
104
120
|
"bg-action-danger-light text-copy-lighter dark:bg-action-danger-dark dark:text-copy-light": e === "alt-system"
|
|
105
121
|
});
|
|
106
|
-
|
|
122
|
+
if (a === "selected")
|
|
123
|
+
return i("not-prose", {
|
|
124
|
+
"rounded-full": o === "large",
|
|
125
|
+
"rounded-md": o === "medium",
|
|
126
|
+
"rounded-sm": o === "small",
|
|
127
|
+
truncate: !r,
|
|
128
|
+
"bg-action-selected-dark text-copy-light": e === "dark",
|
|
129
|
+
"bg-action-selected-light text-copy-lighter": e === "light",
|
|
130
|
+
"bg-action-selected-dark text-copy-light dark:bg-action-selected-light dark:text-copy-lighter": e === "system",
|
|
131
|
+
"bg-action-selected-light text-copy-lighter dark:bg-action-selected-dark dark:text-copy-light": e === "alt-system"
|
|
132
|
+
});
|
|
133
|
+
}, oe = ({
|
|
107
134
|
mode: e,
|
|
108
|
-
disabled:
|
|
109
|
-
variant:
|
|
135
|
+
disabled: t,
|
|
136
|
+
variant: r
|
|
110
137
|
}) => {
|
|
111
|
-
if (
|
|
138
|
+
if (t)
|
|
112
139
|
return "";
|
|
113
|
-
if (
|
|
114
|
-
return
|
|
140
|
+
if (r === "primary")
|
|
141
|
+
return i("hover:text-copy-light-hover", {
|
|
115
142
|
"hover:bg-action-dark-hover": e === "dark",
|
|
116
143
|
"hover:bg-action-light-hover": e === "light",
|
|
117
144
|
"hover:bg-action-dark-hover dark:hover:bg-action-light-hover": e === "system",
|
|
118
145
|
"hover:bg-action-light-hover dark:hover:bg-action-dark-hover": e === "alt-system"
|
|
119
146
|
});
|
|
120
|
-
if (
|
|
121
|
-
return
|
|
147
|
+
if (r === "secondary")
|
|
148
|
+
return i("hover:text-copy-light-hover", {
|
|
122
149
|
"hover:bg-action-dark-hover": e === "light",
|
|
123
150
|
"hover:bg-action-light-hover": e === "dark",
|
|
124
151
|
"hover:bg-action-dark-hover dark:hover:bg-action-light-hover": e === "alt-system",
|
|
125
152
|
"hover:bg-action-light-hover dark:hover:bg-action-dark-hover": e === "system"
|
|
126
153
|
});
|
|
127
|
-
if (
|
|
128
|
-
return
|
|
154
|
+
if (r === "danger")
|
|
155
|
+
return i("hover:text-copy-light-hover", {
|
|
129
156
|
"hover:bg-action-danger-dark-hover": e === "dark",
|
|
130
157
|
"hover:bg-action-danger-light-hover": e === "light",
|
|
131
158
|
"hover:bg-action-danger-dark-hover dark:hover:bg-action-danger-light-hover": e === "system",
|
|
132
159
|
"hover:bg-action-danger-light-hover dark:hover:bg-action-danger-dark-hover": e === "alt-system"
|
|
133
160
|
});
|
|
134
|
-
|
|
161
|
+
if (r === "selected")
|
|
162
|
+
return i("hover:text-copy-light-hover", {
|
|
163
|
+
"hover:bg-action-selected-dark-hover": e === "dark",
|
|
164
|
+
"hover:bg-action-selected-light-hover": e === "light",
|
|
165
|
+
"hover:bg-action-selected-dark-hover dark:hover:bg-action-selected-light-hover": e === "system",
|
|
166
|
+
"hover:bg-action-selected-light-hover dark:hover:bg-action-selected-dark-hover": e === "alt-system"
|
|
167
|
+
});
|
|
168
|
+
}, ie = ({
|
|
135
169
|
mode: e,
|
|
136
|
-
disabled:
|
|
137
|
-
variant:
|
|
170
|
+
disabled: t,
|
|
171
|
+
variant: r
|
|
138
172
|
}) => {
|
|
139
|
-
if (
|
|
173
|
+
if (t)
|
|
140
174
|
return "";
|
|
141
|
-
if (
|
|
142
|
-
return
|
|
175
|
+
if (r === "primary")
|
|
176
|
+
return i("active:text-copy-light-active", {
|
|
143
177
|
"active:bg-action-dark-active": e === "dark",
|
|
144
178
|
"active:bg-action-light-active": e === "light",
|
|
145
179
|
"active:bg-action-dark-active dark:active:bg-action-light-active": e === "system",
|
|
146
180
|
"active:bg-action-light-active dark:active:bg-action-dark-active": e === "alt-system"
|
|
147
181
|
});
|
|
148
|
-
if (
|
|
149
|
-
return
|
|
182
|
+
if (r === "secondary")
|
|
183
|
+
return i("active:text-copy-light-active", {
|
|
150
184
|
"active:bg-action-dark-active": e === "light",
|
|
151
185
|
"active:bg-action-light-active": e === "dark",
|
|
152
186
|
"active:bg-action-dark-active dark:active:bg-action-light-active": e === "alt-system",
|
|
153
187
|
"active:bg-action-light-active dark:active:bg-action-dark-active": e === "system"
|
|
154
188
|
});
|
|
155
|
-
if (
|
|
156
|
-
return
|
|
189
|
+
if (r === "danger")
|
|
190
|
+
return i("active:text-copy-lighter-active", {
|
|
157
191
|
"active:bg-action-danger-dark-active": e === "dark",
|
|
158
192
|
"active:bg-action-danger-light-active": e === "light",
|
|
159
193
|
"active:bg-action-danger-dark-active dark:active:bg-action-danger-light-active": e === "system",
|
|
160
194
|
"active:bg-action-danger-light-active dark:active:bg-action-danger-dark-active": e === "alt-system"
|
|
161
195
|
});
|
|
162
|
-
|
|
196
|
+
if (r === "selected")
|
|
197
|
+
return i("active:text-copy-lighter-active", {
|
|
198
|
+
"active:bg-action-selected-dark-active": e === "dark",
|
|
199
|
+
"active:bg-action-selected-light-active": e === "light",
|
|
200
|
+
"active:bg-action-selected-dark-active dark:active:bg-action-selected-light-active": e === "system",
|
|
201
|
+
"active:bg-action-selected-light-active dark:active:bg-action-selected-dark-active": e === "alt-system"
|
|
202
|
+
});
|
|
203
|
+
}, de = ({
|
|
163
204
|
mode: e,
|
|
164
|
-
noBorder:
|
|
165
|
-
variant:
|
|
205
|
+
noBorder: t,
|
|
206
|
+
variant: r
|
|
166
207
|
}) => {
|
|
167
|
-
if (
|
|
208
|
+
if (t)
|
|
168
209
|
return "border border-transparent";
|
|
169
|
-
if (
|
|
170
|
-
return
|
|
210
|
+
if (r === "primary")
|
|
211
|
+
return i("border", {
|
|
171
212
|
"border-border-dark": e === "dark",
|
|
172
213
|
"border-border-accent": e === "light",
|
|
173
214
|
"border-border-dark dark:border-border-accent": e === "system",
|
|
174
215
|
"border-border-accent dark:border-border-dark": e === "alt-system"
|
|
175
216
|
});
|
|
176
|
-
if (
|
|
177
|
-
return
|
|
217
|
+
if (r === "secondary")
|
|
218
|
+
return i("border", {
|
|
178
219
|
"border-border-dark": e === "light",
|
|
179
220
|
"border-border-accent": e === "dark",
|
|
180
221
|
"border-border-dark dark:border-border-accent": e === "alt-system",
|
|
181
222
|
"border-border-accent dark:border-border-dark": e === "system"
|
|
182
223
|
});
|
|
183
|
-
if (
|
|
184
|
-
return
|
|
224
|
+
if (r === "danger")
|
|
225
|
+
return i("border", {
|
|
185
226
|
"border-border-danger-dark": e === "dark",
|
|
186
227
|
"border-border-danger-medium": e === "light",
|
|
187
228
|
"border-border-danger-dark dark:border-border-danger-medium": e === "system",
|
|
188
229
|
"border-border-danger-medium dark:border-border-danger-dark": e === "alt-system"
|
|
189
230
|
});
|
|
190
|
-
|
|
231
|
+
if (r === "selected")
|
|
232
|
+
return i("border", {
|
|
233
|
+
"border-border-selected-dark": e === "dark",
|
|
234
|
+
"border-border-selected-medium": e === "light",
|
|
235
|
+
"border-border-selected-dark dark:border-border-selected-medium": e === "system",
|
|
236
|
+
"border-border-selected-medium dark:border-border-selected-dark": e === "alt-system"
|
|
237
|
+
});
|
|
238
|
+
}, ne = ({
|
|
239
|
+
focusMode: e
|
|
240
|
+
}) => i("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
|
|
191
241
|
"focus:outline-focus-dark": e === "dark",
|
|
192
242
|
"focus:outline-focus-light": e === "light",
|
|
193
243
|
"focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
|
|
194
244
|
"focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
|
|
195
|
-
}),
|
|
245
|
+
}), O = ({
|
|
196
246
|
type: e,
|
|
197
|
-
className:
|
|
198
|
-
raw:
|
|
247
|
+
className: t,
|
|
248
|
+
raw: r,
|
|
199
249
|
mode: a,
|
|
200
|
-
focusMode:
|
|
201
|
-
disabled:
|
|
202
|
-
fullWidth:
|
|
203
|
-
size:
|
|
250
|
+
focusMode: o,
|
|
251
|
+
disabled: n,
|
|
252
|
+
fullWidth: c,
|
|
253
|
+
size: l,
|
|
204
254
|
noBorder: h,
|
|
205
255
|
labelRight: s,
|
|
206
|
-
labelLeft:
|
|
207
|
-
spacing:
|
|
208
|
-
noBackground:
|
|
209
|
-
variant:
|
|
210
|
-
noTruncate:
|
|
211
|
-
align:
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
256
|
+
labelLeft: b,
|
|
257
|
+
spacing: v,
|
|
258
|
+
noBackground: u,
|
|
259
|
+
variant: g,
|
|
260
|
+
noTruncate: p,
|
|
261
|
+
align: k,
|
|
262
|
+
radius: f
|
|
263
|
+
}) => (g || (g = "primary"), r ? i($, t) : i(
|
|
264
|
+
$,
|
|
265
|
+
t,
|
|
266
|
+
Z(v),
|
|
267
|
+
ae({
|
|
268
|
+
mode: a,
|
|
269
|
+
variant: g,
|
|
270
|
+
noBackground: u,
|
|
271
|
+
noTruncate: p,
|
|
272
|
+
radius: f
|
|
273
|
+
}),
|
|
274
|
+
te({ type: e, size: l, labelRight: s, labelLeft: b, align: k }),
|
|
275
|
+
de({ mode: a, variant: g, noBorder: h }),
|
|
276
|
+
ne({ focusMode: o }),
|
|
277
|
+
oe({ mode: a, variant: g, disabled: n }),
|
|
278
|
+
ie({ mode: a, variant: g, disabled: n }),
|
|
222
279
|
{
|
|
223
|
-
"w-full":
|
|
224
|
-
"disabled:cursor-not-allowed disabled:opacity-50":
|
|
280
|
+
"w-full": c,
|
|
281
|
+
"disabled:cursor-not-allowed disabled:opacity-50": n
|
|
225
282
|
}
|
|
226
|
-
)),
|
|
283
|
+
)), le = (e, t, r) => {
|
|
227
284
|
var a;
|
|
228
|
-
!
|
|
229
|
-
},
|
|
230
|
-
const { onClick:
|
|
231
|
-
return /* @__PURE__ */
|
|
285
|
+
!t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof ((a = e == null ? void 0 : e.currentTarget) == null ? void 0 : a.focus) == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
|
|
286
|
+
}, R = B.forwardRef((e, t) => {
|
|
287
|
+
const { onClick: r, noInternalClick: a = !1, ...o } = e;
|
|
288
|
+
return /* @__PURE__ */ d(
|
|
232
289
|
"button",
|
|
233
290
|
{
|
|
234
|
-
ref:
|
|
235
|
-
onClick: (
|
|
236
|
-
|
|
291
|
+
ref: t,
|
|
292
|
+
onClick: (n) => {
|
|
293
|
+
le(n, a, r);
|
|
237
294
|
},
|
|
238
|
-
...
|
|
295
|
+
...o
|
|
239
296
|
}
|
|
240
297
|
);
|
|
241
298
|
});
|
|
242
|
-
|
|
243
|
-
const
|
|
299
|
+
R.displayName = "BaseButton";
|
|
300
|
+
const A = B.forwardRef(
|
|
244
301
|
({
|
|
245
302
|
children: e,
|
|
246
|
-
disabled:
|
|
247
|
-
mode:
|
|
303
|
+
disabled: t = !1,
|
|
304
|
+
mode: r = "system",
|
|
248
305
|
focusMode: a = "system",
|
|
249
|
-
fullWidth:
|
|
250
|
-
className:
|
|
251
|
-
type:
|
|
252
|
-
raw:
|
|
306
|
+
fullWidth: o = !1,
|
|
307
|
+
className: n,
|
|
308
|
+
type: c = "button",
|
|
309
|
+
raw: l = !1,
|
|
253
310
|
noBorder: h = !1,
|
|
254
311
|
"aria-label": s,
|
|
255
|
-
label:
|
|
256
|
-
size:
|
|
257
|
-
labelRight:
|
|
258
|
-
labelLeft:
|
|
259
|
-
spacing:
|
|
260
|
-
noBackground:
|
|
261
|
-
align:
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
312
|
+
label: b,
|
|
313
|
+
size: v = "medium",
|
|
314
|
+
labelRight: u,
|
|
315
|
+
labelLeft: g,
|
|
316
|
+
spacing: p,
|
|
317
|
+
noBackground: k = !1,
|
|
318
|
+
align: f = "center",
|
|
319
|
+
radius: I = "large",
|
|
320
|
+
...N
|
|
321
|
+
}, E) => {
|
|
322
|
+
const S = O({
|
|
323
|
+
type: M,
|
|
324
|
+
mode: r,
|
|
267
325
|
focusMode: a,
|
|
268
|
-
fullWidth:
|
|
269
|
-
disabled:
|
|
270
|
-
raw:
|
|
271
|
-
className:
|
|
326
|
+
fullWidth: o,
|
|
327
|
+
disabled: t,
|
|
328
|
+
raw: l,
|
|
329
|
+
className: n,
|
|
272
330
|
noBorder: h,
|
|
273
|
-
size:
|
|
274
|
-
labelRight:
|
|
275
|
-
labelLeft:
|
|
276
|
-
spacing:
|
|
277
|
-
noBackground:
|
|
278
|
-
align:
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
"text-copy-
|
|
282
|
-
"text-copy-
|
|
283
|
-
"text-copy-
|
|
331
|
+
size: v,
|
|
332
|
+
labelRight: u,
|
|
333
|
+
labelLeft: g,
|
|
334
|
+
spacing: p,
|
|
335
|
+
noBackground: k,
|
|
336
|
+
align: f,
|
|
337
|
+
radius: I
|
|
338
|
+
}), T = i({
|
|
339
|
+
"text-copy-accent-dark": r === "light" && !l,
|
|
340
|
+
"text-copy-light": r === "dark" && !l,
|
|
341
|
+
"text-copy-accent-dark dark:text-copy-light": r === "alt-system" && !l,
|
|
342
|
+
"text-copy-light dark:text-copy-accent-dark": r === "system" && !l
|
|
284
343
|
});
|
|
285
|
-
return /* @__PURE__ */
|
|
286
|
-
|
|
344
|
+
return /* @__PURE__ */ x(
|
|
345
|
+
R,
|
|
287
346
|
{
|
|
288
|
-
ref:
|
|
289
|
-
className:
|
|
290
|
-
disabled:
|
|
291
|
-
type:
|
|
292
|
-
"aria-label": s ||
|
|
293
|
-
...
|
|
347
|
+
ref: E,
|
|
348
|
+
className: S,
|
|
349
|
+
disabled: t,
|
|
350
|
+
type: c,
|
|
351
|
+
"aria-label": s || b,
|
|
352
|
+
...N,
|
|
294
353
|
children: [
|
|
295
|
-
|
|
296
|
-
/* @__PURE__ */
|
|
297
|
-
|
|
354
|
+
g && /* @__PURE__ */ d("span", { className: "pr-2", children: g }),
|
|
355
|
+
/* @__PURE__ */ d("div", { className: T, children: e }),
|
|
356
|
+
u && /* @__PURE__ */ d("span", { className: "pl-2", children: u })
|
|
298
357
|
]
|
|
299
358
|
}
|
|
300
359
|
);
|
|
301
360
|
}
|
|
302
361
|
);
|
|
303
|
-
|
|
362
|
+
A.displayName = "ButtonIcon";
|
|
304
363
|
/*!
|
|
305
|
-
@versini/ui-button v1.
|
|
364
|
+
@versini/ui-button v1.7.0
|
|
306
365
|
© 2024 gizmette.com
|
|
307
366
|
*/
|
|
308
367
|
try {
|
|
309
368
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
310
|
-
version: "1.
|
|
311
|
-
buildTime: "12/
|
|
369
|
+
version: "1.7.0",
|
|
370
|
+
buildTime: "12/28/2024 05:53 PM EST",
|
|
312
371
|
homepage: "https://github.com/aversini/ui-components",
|
|
313
372
|
license: "MIT"
|
|
314
373
|
});
|
|
315
374
|
} catch {
|
|
316
375
|
}
|
|
317
|
-
const
|
|
376
|
+
const ce = B.forwardRef(
|
|
318
377
|
({
|
|
319
378
|
children: e,
|
|
320
|
-
disabled:
|
|
321
|
-
mode:
|
|
379
|
+
disabled: t = !1,
|
|
380
|
+
mode: r = "system",
|
|
322
381
|
focusMode: a = "system",
|
|
323
|
-
fullWidth:
|
|
324
|
-
className:
|
|
325
|
-
type:
|
|
326
|
-
raw:
|
|
382
|
+
fullWidth: o = !1,
|
|
383
|
+
className: n,
|
|
384
|
+
type: c = "button",
|
|
385
|
+
raw: l = !1,
|
|
327
386
|
noBorder: h = !1,
|
|
328
387
|
"aria-label": s,
|
|
329
|
-
label:
|
|
330
|
-
size:
|
|
331
|
-
labelRight:
|
|
332
|
-
labelLeft:
|
|
333
|
-
spacing:
|
|
334
|
-
noBackground:
|
|
335
|
-
align:
|
|
336
|
-
active:
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
388
|
+
label: b,
|
|
389
|
+
size: v = "medium",
|
|
390
|
+
labelRight: u,
|
|
391
|
+
labelLeft: g,
|
|
392
|
+
spacing: p,
|
|
393
|
+
noBackground: k = !1,
|
|
394
|
+
align: f = "center",
|
|
395
|
+
active: I = !1,
|
|
396
|
+
radius: N = "large",
|
|
397
|
+
...E
|
|
398
|
+
}, S) => {
|
|
399
|
+
const T = O({
|
|
400
|
+
type: M,
|
|
401
|
+
mode: r,
|
|
342
402
|
focusMode: a,
|
|
343
|
-
fullWidth:
|
|
344
|
-
disabled:
|
|
345
|
-
raw:
|
|
346
|
-
className:
|
|
403
|
+
fullWidth: o,
|
|
404
|
+
disabled: t,
|
|
405
|
+
raw: l,
|
|
406
|
+
className: n,
|
|
347
407
|
noBorder: h,
|
|
348
|
-
size:
|
|
349
|
-
labelRight:
|
|
350
|
-
labelLeft:
|
|
351
|
-
spacing:
|
|
352
|
-
noBackground:
|
|
353
|
-
align:
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
"text-copy-
|
|
357
|
-
"text-copy-
|
|
358
|
-
"text-copy-
|
|
359
|
-
|
|
408
|
+
size: v,
|
|
409
|
+
labelRight: u,
|
|
410
|
+
labelLeft: g,
|
|
411
|
+
spacing: p,
|
|
412
|
+
noBackground: k,
|
|
413
|
+
align: f,
|
|
414
|
+
radius: N
|
|
415
|
+
}), z = i({
|
|
416
|
+
"text-copy-accent-dark": r === "light" && !l,
|
|
417
|
+
"text-copy-light": r === "dark" && !l,
|
|
418
|
+
"text-copy-accent-dark dark:text-copy-light": r === "alt-system" && !l,
|
|
419
|
+
"text-copy-light dark:text-copy-accent-dark": r === "system" && !l
|
|
420
|
+
}), j = I ? i(
|
|
360
421
|
"relative",
|
|
361
422
|
"focus-within:static",
|
|
362
423
|
"focus-within:after:border-transparent",
|
|
@@ -367,77 +428,77 @@ const Q = E.forwardRef(
|
|
|
367
428
|
"after:left-0",
|
|
368
429
|
"after:right-0",
|
|
369
430
|
{
|
|
370
|
-
"after:border-table-dark":
|
|
371
|
-
"after:border-table-light":
|
|
372
|
-
"after:border-table-dark dark:after:border-table-light":
|
|
373
|
-
"after:border-table-light dark:after:border-table-dark":
|
|
431
|
+
"after:border-table-dark": r === "dark",
|
|
432
|
+
"after:border-table-light": r === "light",
|
|
433
|
+
"after:border-table-dark dark:after:border-table-light": r === "system",
|
|
434
|
+
"after:border-table-light dark:after:border-table-dark": r === "alt-system"
|
|
374
435
|
}
|
|
375
436
|
) : "";
|
|
376
|
-
return /* @__PURE__ */
|
|
377
|
-
|
|
437
|
+
return /* @__PURE__ */ d("div", { className: j, children: /* @__PURE__ */ x(
|
|
438
|
+
R,
|
|
378
439
|
{
|
|
379
|
-
ref:
|
|
380
|
-
className:
|
|
381
|
-
disabled:
|
|
382
|
-
type:
|
|
383
|
-
"aria-label": s ||
|
|
384
|
-
...
|
|
440
|
+
ref: S,
|
|
441
|
+
className: T,
|
|
442
|
+
disabled: t,
|
|
443
|
+
type: c,
|
|
444
|
+
"aria-label": s || b,
|
|
445
|
+
...E,
|
|
385
446
|
children: [
|
|
386
|
-
|
|
387
|
-
/* @__PURE__ */
|
|
388
|
-
|
|
447
|
+
g && /* @__PURE__ */ d("span", { className: "pr-2", children: g }),
|
|
448
|
+
/* @__PURE__ */ d("div", { className: z, children: e }),
|
|
449
|
+
u && /* @__PURE__ */ d("span", { className: "pl-2", children: u })
|
|
389
450
|
]
|
|
390
451
|
}
|
|
391
452
|
) });
|
|
392
453
|
}
|
|
393
454
|
);
|
|
394
|
-
|
|
455
|
+
ce.displayName = "ButtonSort";
|
|
395
456
|
/*!
|
|
396
|
-
@versini/ui-spacing v1.1.
|
|
457
|
+
@versini/ui-spacing v1.1.1
|
|
397
458
|
© 2024 gizmette.com
|
|
398
459
|
*/
|
|
399
460
|
try {
|
|
400
461
|
window.__VERSINI_UI_SPACING__ || (window.__VERSINI_UI_SPACING__ = {
|
|
401
|
-
version: "1.1.
|
|
402
|
-
buildTime: "12/
|
|
462
|
+
version: "1.1.1",
|
|
463
|
+
buildTime: "12/28/2024 05:53 PM EST",
|
|
403
464
|
homepage: "https://github.com/aversini/ui-components",
|
|
404
465
|
license: "MIT"
|
|
405
466
|
});
|
|
406
467
|
} catch {
|
|
407
468
|
}
|
|
408
|
-
const
|
|
409
|
-
let
|
|
469
|
+
const se = (e) => {
|
|
470
|
+
let t = "";
|
|
410
471
|
if (typeof e == "number" || typeof e == "string")
|
|
411
|
-
|
|
472
|
+
t = "m-" + e;
|
|
412
473
|
else {
|
|
413
|
-
const
|
|
414
|
-
(e == null ? void 0 : e.t) !== void 0 &&
|
|
474
|
+
const r = [];
|
|
475
|
+
(e == null ? void 0 : e.t) !== void 0 && r.push(`mt-${e.t}`), (e == null ? void 0 : e.r) !== void 0 && r.push(`mr-${e.r}`), (e == null ? void 0 : e.b) !== void 0 && r.push(`mb-${e.b}`), (e == null ? void 0 : e.l) !== void 0 && r.push(`ml-${e.l}`), t = r.join(" ");
|
|
415
476
|
}
|
|
416
|
-
return
|
|
417
|
-
},
|
|
477
|
+
return t;
|
|
478
|
+
}, ge = ({
|
|
418
479
|
children: e,
|
|
419
|
-
fill:
|
|
420
|
-
viewBox:
|
|
480
|
+
fill: t,
|
|
481
|
+
viewBox: r,
|
|
421
482
|
className: a,
|
|
422
|
-
defaultViewBox:
|
|
423
|
-
defaultClassName:
|
|
424
|
-
spacing:
|
|
425
|
-
title:
|
|
483
|
+
defaultViewBox: o,
|
|
484
|
+
defaultClassName: n,
|
|
485
|
+
spacing: c,
|
|
486
|
+
title: l,
|
|
426
487
|
semantic: h = !1,
|
|
427
488
|
...s
|
|
428
489
|
}) => {
|
|
429
|
-
const
|
|
430
|
-
|
|
431
|
-
a ||
|
|
490
|
+
const b = se(c), v = i(
|
|
491
|
+
b,
|
|
492
|
+
a || n
|
|
432
493
|
);
|
|
433
|
-
return /* @__PURE__ */
|
|
434
|
-
/* @__PURE__ */
|
|
494
|
+
return /* @__PURE__ */ x(L, { children: [
|
|
495
|
+
/* @__PURE__ */ d(
|
|
435
496
|
"svg",
|
|
436
497
|
{
|
|
437
498
|
xmlns: "http://www.w3.org/2000/svg",
|
|
438
|
-
className:
|
|
439
|
-
viewBox:
|
|
440
|
-
fill:
|
|
499
|
+
className: v,
|
|
500
|
+
viewBox: r || o,
|
|
501
|
+
fill: t || "currentColor",
|
|
441
502
|
role: "img",
|
|
442
503
|
"aria-hidden": !h,
|
|
443
504
|
focusable: !1,
|
|
@@ -445,118 +506,201 @@ const Z = (e) => {
|
|
|
445
506
|
children: e
|
|
446
507
|
}
|
|
447
508
|
),
|
|
448
|
-
|
|
509
|
+
l && h && /* @__PURE__ */ d("span", { className: "sr-only", children: l })
|
|
449
510
|
] });
|
|
450
511
|
};
|
|
451
512
|
/*!
|
|
452
|
-
@versini/ui-svgicon v1.1.
|
|
513
|
+
@versini/ui-svgicon v1.1.1
|
|
453
514
|
© 2024 gizmette.com
|
|
454
515
|
*/
|
|
455
516
|
try {
|
|
456
517
|
window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
|
|
457
|
-
version: "1.1.
|
|
458
|
-
buildTime: "12/
|
|
518
|
+
version: "1.1.1",
|
|
519
|
+
buildTime: "12/28/2024 05:53 PM EST",
|
|
459
520
|
homepage: "https://github.com/aversini/ui-components",
|
|
460
521
|
license: "MIT"
|
|
461
522
|
});
|
|
462
523
|
} catch {
|
|
463
524
|
}
|
|
464
|
-
const
|
|
525
|
+
const he = ({
|
|
465
526
|
className: e,
|
|
466
|
-
viewBox:
|
|
467
|
-
spacing:
|
|
527
|
+
viewBox: t,
|
|
528
|
+
spacing: r,
|
|
468
529
|
title: a,
|
|
469
|
-
monotone:
|
|
470
|
-
...
|
|
471
|
-
}) => /* @__PURE__ */
|
|
472
|
-
|
|
530
|
+
monotone: o,
|
|
531
|
+
...n
|
|
532
|
+
}) => /* @__PURE__ */ d(
|
|
533
|
+
ge,
|
|
473
534
|
{
|
|
474
535
|
defaultViewBox: "0 0 384 512",
|
|
475
536
|
defaultClassName: "size-5",
|
|
476
|
-
viewBox:
|
|
537
|
+
viewBox: t,
|
|
477
538
|
className: e,
|
|
478
|
-
spacing:
|
|
539
|
+
spacing: r,
|
|
479
540
|
title: a || "Close",
|
|
480
|
-
...
|
|
481
|
-
children: /* @__PURE__ */
|
|
541
|
+
...n,
|
|
542
|
+
children: /* @__PURE__ */ d("path", { d: "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3l105.4 105.3c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256l105.3-105.4z" })
|
|
482
543
|
}
|
|
483
544
|
);
|
|
484
545
|
/*!
|
|
485
|
-
@versini/ui-icons v1.19.
|
|
546
|
+
@versini/ui-icons v1.19.1
|
|
486
547
|
© 2024 gizmette.com
|
|
487
548
|
*/
|
|
488
549
|
try {
|
|
489
550
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
490
|
-
version: "1.19.
|
|
491
|
-
buildTime: "12/
|
|
551
|
+
version: "1.19.1",
|
|
552
|
+
buildTime: "12/28/2024 05:53 PM EST",
|
|
553
|
+
homepage: "https://github.com/aversini/ui-components",
|
|
554
|
+
license: "MIT"
|
|
555
|
+
});
|
|
556
|
+
} catch {
|
|
557
|
+
}
|
|
558
|
+
const U = m.createContext(null);
|
|
559
|
+
function me({
|
|
560
|
+
initialOpen: e = !1,
|
|
561
|
+
open: t,
|
|
562
|
+
onOpenChange: r
|
|
563
|
+
} = {}) {
|
|
564
|
+
const [a, o] = m.useState(e), [n, c] = m.useState(), [l, h] = m.useState(), s = t ?? a, b = r ?? o, v = D({
|
|
565
|
+
open: s,
|
|
566
|
+
onOpenChange: b
|
|
567
|
+
}), u = v.context, g = W(u, {
|
|
568
|
+
enabled: t == null
|
|
569
|
+
}), p = X(u, {
|
|
570
|
+
outsidePress: !1,
|
|
571
|
+
outsidePressEvent: "mousedown"
|
|
572
|
+
}), k = Y(u), f = q([g, p, k]);
|
|
573
|
+
return m.useMemo(
|
|
574
|
+
() => ({
|
|
575
|
+
open: s,
|
|
576
|
+
setOpen: b,
|
|
577
|
+
...f,
|
|
578
|
+
...v,
|
|
579
|
+
labelId: n,
|
|
580
|
+
descriptionId: l,
|
|
581
|
+
setLabelId: c,
|
|
582
|
+
setDescriptionId: h
|
|
583
|
+
}),
|
|
584
|
+
[s, b, f, v, n, l]
|
|
585
|
+
);
|
|
586
|
+
}
|
|
587
|
+
const w = () => {
|
|
588
|
+
const e = m.useContext(U);
|
|
589
|
+
if (e == null)
|
|
590
|
+
throw new Error("Modal components must be wrapped in <Modal />");
|
|
591
|
+
return e;
|
|
592
|
+
};
|
|
593
|
+
function ue({
|
|
594
|
+
children: e,
|
|
595
|
+
...t
|
|
596
|
+
}) {
|
|
597
|
+
const r = me(t);
|
|
598
|
+
return /* @__PURE__ */ d(U.Provider, { value: r, children: e });
|
|
599
|
+
}
|
|
600
|
+
const be = m.forwardRef(function(e, t) {
|
|
601
|
+
const { context: r, ...a } = w(), o = H([a.refs.setFloating, t]);
|
|
602
|
+
if (!r.open)
|
|
603
|
+
return null;
|
|
604
|
+
const { overlayBackground: n, ...c } = e, l = i("grid place-items-center", {
|
|
605
|
+
[`${n}`]: n,
|
|
606
|
+
"bg-black sm:bg-black/[.8]": !n
|
|
607
|
+
});
|
|
608
|
+
return /* @__PURE__ */ d(J, { children: /* @__PURE__ */ d(K, { className: l, lockScroll: !0, children: /* @__PURE__ */ d(Q, { context: r, children: /* @__PURE__ */ d(
|
|
609
|
+
"div",
|
|
610
|
+
{
|
|
611
|
+
ref: o,
|
|
612
|
+
"aria-labelledby": a.labelId,
|
|
613
|
+
"aria-describedby": a.descriptionId,
|
|
614
|
+
...a.getFloatingProps(c),
|
|
615
|
+
children: c.children
|
|
616
|
+
}
|
|
617
|
+
) }) }) });
|
|
618
|
+
}), ve = m.forwardRef(function({ children: e, ...t }, r) {
|
|
619
|
+
const { setLabelId: a } = w(), o = V();
|
|
620
|
+
return m.useLayoutEffect(() => (a(o), () => a(void 0)), [o, a]), /* @__PURE__ */ d("h1", { ...t, ref: r, id: o, children: e });
|
|
621
|
+
}), fe = m.forwardRef(function({ children: e, ...t }, r) {
|
|
622
|
+
const { setDescriptionId: a } = w(), o = V();
|
|
623
|
+
return m.useLayoutEffect(() => (a(o), () => a(void 0)), [o, a]), /* @__PURE__ */ d("div", { ...t, ref: r, id: o, children: e });
|
|
624
|
+
}), pe = m.forwardRef(function(e, t) {
|
|
625
|
+
const { setOpen: r } = w(), { trigger: a, className: o, ...n } = e, c = m.useCallback(() => r(!1), [r]);
|
|
626
|
+
return /* @__PURE__ */ d("div", { className: o, children: m.cloneElement(a, {
|
|
627
|
+
ref: t,
|
|
628
|
+
onClick: c,
|
|
629
|
+
...n
|
|
630
|
+
}) });
|
|
631
|
+
});
|
|
632
|
+
/*!
|
|
633
|
+
@versini/ui-modal v1.1.1
|
|
634
|
+
© 2024 gizmette.com
|
|
635
|
+
*/
|
|
636
|
+
try {
|
|
637
|
+
window.__VERSINI_UI_MODAL__ || (window.__VERSINI_UI_MODAL__ = {
|
|
638
|
+
version: "1.1.1",
|
|
639
|
+
buildTime: "12/28/2024 05:53 PM EST",
|
|
492
640
|
homepage: "https://github.com/aversini/ui-components",
|
|
493
641
|
license: "MIT"
|
|
494
642
|
});
|
|
495
643
|
} catch {
|
|
496
644
|
}
|
|
497
|
-
const
|
|
645
|
+
const y = "panel", _ = "messagebox", ke = ({
|
|
498
646
|
className: e,
|
|
499
|
-
kind:
|
|
500
|
-
borderMode:
|
|
647
|
+
kind: t,
|
|
648
|
+
borderMode: r
|
|
501
649
|
}) => ({
|
|
502
|
-
main:
|
|
503
|
-
[`${
|
|
504
|
-
[`${
|
|
505
|
-
[`${
|
|
506
|
-
[`${
|
|
650
|
+
main: i("prose prose-lighter flex flex-col bg-surface-medium", {
|
|
651
|
+
[`${P} max-h-full sm:max-h-[95%] min-h-full sm:min-h-[10rem] sm:rounded-lg sm:border-2`]: t === y,
|
|
652
|
+
[`${P} w-full sm:w-[95%] md:max-w-2xl`]: t === y && !e,
|
|
653
|
+
[`${C} rounded-lg border-2`]: t === _,
|
|
654
|
+
[`${C} w-[95%] sm:w-[50%] md:max-w-2xl`]: t === _ && !e,
|
|
507
655
|
[`${e}`]: !!e,
|
|
508
|
-
"sm:border-border-dark":
|
|
509
|
-
"sm:border-border-accent":
|
|
510
|
-
"border-border-dark":
|
|
511
|
-
"border-border-accent":
|
|
656
|
+
"sm:border-border-dark": r === "dark" && t === y,
|
|
657
|
+
"sm:border-border-accent": r === "light" && t === y,
|
|
658
|
+
"border-border-dark": r === "dark" && t === _,
|
|
659
|
+
"border-border-accent": r === "light" && t === _
|
|
512
660
|
}),
|
|
513
661
|
content: "flex flex-col py-2 sm:py-4 sm:px-4 px-2 overflow-y-auto",
|
|
514
662
|
footer: "flex flex-grow flex-col sm:p-4 p-2",
|
|
515
663
|
header: "sm:p-4 mb-0 p-2",
|
|
516
664
|
close: "sm:p-4 p-2"
|
|
517
|
-
}),
|
|
518
|
-
() => import("./chunks/index.DaIz2ggm.js").then((r) => ({
|
|
519
|
-
default: r[e]
|
|
520
|
-
}))
|
|
521
|
-
), ae = k("Modal"), oe = k("ModalClose"), ie = k("ModalContent"), ne = k("ModalDescription"), le = k("ModalHeading"), ge = ({
|
|
665
|
+
}), Ie = ({
|
|
522
666
|
open: e,
|
|
523
|
-
onOpenChange:
|
|
524
|
-
title:
|
|
667
|
+
onOpenChange: t,
|
|
668
|
+
title: r,
|
|
525
669
|
children: a,
|
|
526
|
-
footer:
|
|
527
|
-
borderMode:
|
|
528
|
-
kind:
|
|
529
|
-
className:
|
|
670
|
+
footer: o,
|
|
671
|
+
borderMode: n = "light",
|
|
672
|
+
kind: c = y,
|
|
673
|
+
className: l
|
|
530
674
|
}) => {
|
|
531
|
-
const h =
|
|
532
|
-
return
|
|
675
|
+
const h = F(""), s = ke({ className: l, kind: c, borderMode: n });
|
|
676
|
+
return G(() => (e && (h.current = document.title, document.title = `${r} | ${h.current}`), () => {
|
|
533
677
|
e && (document.title = h.current);
|
|
534
|
-
}), [
|
|
535
|
-
/* @__PURE__ */
|
|
536
|
-
/* @__PURE__ */
|
|
537
|
-
|
|
678
|
+
}), [r, e]), /* @__PURE__ */ d(L, { children: e && /* @__PURE__ */ d(ue, { open: e, onOpenChange: t, children: /* @__PURE__ */ x(be, { className: s.main, children: [
|
|
679
|
+
/* @__PURE__ */ x("div", { className: "flex flex-row-reverse items-center justify-between", children: [
|
|
680
|
+
/* @__PURE__ */ d(
|
|
681
|
+
pe,
|
|
538
682
|
{
|
|
539
683
|
className: s.close,
|
|
540
|
-
trigger: /* @__PURE__ */
|
|
541
|
-
|
|
684
|
+
trigger: /* @__PURE__ */ d(
|
|
685
|
+
A,
|
|
542
686
|
{
|
|
543
687
|
mode: "dark",
|
|
544
688
|
focusMode: "light",
|
|
545
689
|
noBorder: !0,
|
|
546
690
|
label: "Close",
|
|
547
|
-
children: /* @__PURE__ */
|
|
691
|
+
children: /* @__PURE__ */ d(he, {})
|
|
548
692
|
}
|
|
549
693
|
)
|
|
550
694
|
}
|
|
551
695
|
),
|
|
552
|
-
/* @__PURE__ */
|
|
696
|
+
/* @__PURE__ */ d(ve, { className: s.header, children: r })
|
|
553
697
|
] }),
|
|
554
|
-
/* @__PURE__ */
|
|
555
|
-
|
|
698
|
+
/* @__PURE__ */ d(fe, { className: s.content, children: a }),
|
|
699
|
+
o && /* @__PURE__ */ d("div", { className: s.footer, children: o })
|
|
556
700
|
] }) }) });
|
|
557
701
|
};
|
|
558
702
|
export {
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
703
|
+
C as MESSAGEBOX_CLASSNAME,
|
|
704
|
+
P as PANEL_CLASSNAME,
|
|
705
|
+
Ie as Panel
|
|
562
706
|
};
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::-ms-backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-ms-input-placeholder,textarea::-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.prose{color:var(--tw-prose-body);max-width:inherit}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;-webkit-padding-start:1.625em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;-webkit-padding-start:1.625em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;-webkit-padding-start:1em;padding-inline-start:1em;border-left-width:6px}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;-webkit-padding-end:.375em;padding-inline-end:.375em;padding-bottom:.1875em;-webkit-padding-start:.375em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875rem;line-height:1.25rem;margin-top:2rem;margin-bottom:2rem;border-radius:.375rem;padding-top:.8571429em;-webkit-padding-end:1.1428571em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;-webkit-padding-start:1.1428571em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;-webkit-padding-end:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;-webkit-padding-start:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em;font-size:1rem}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){-webkit-padding-start:.375em;padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){-webkit-padding-start:.375em;padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;-webkit-padding-start:1.625em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){-webkit-padding-start:0;padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){-webkit-padding-end:0;padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;-webkit-padding-end:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;-webkit-padding-start:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){-webkit-padding-start:0;padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){-webkit-padding-end:0;padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose :where(h1,h2,h3,h4,h5,h6):not(:where([class~=not-prose],[class~=not-prose] *)){font-family:Open Sans,ui-sans-serif,system-ui,sans-serif;font-weight:400}.prose :where(.av-header h1,.av-header h2,.av-header h3,.av-header h4,.av-header h5,.av-header h6):not(:where([class~=not-prose],[class~=not-prose] *)){margin:0}.prose :where(.av-header p):not(:where([class~=not-prose],[class~=not-prose] *)){margin:0}.prose :where(blockquote p):not(:where([class~=not-prose],[class~=not-prose] *)){font-family:Georgia,Cambria,Times New Roman,Times,serif}.prose-lighter{--tw-prose-body: #ffffff;--tw-prose-headings: #e2e8f0;--tw-prose-lead: #ffffff;--tw-prose-links: #ffffff;--tw-prose-bold: #ffffff;--tw-prose-counters: #e2e8f0;--tw-prose-bullets: #e2e8f0;--tw-prose-hr: #e2e8f0;--tw-prose-quotes: #ffffff;--tw-prose-quote-borders: #ffffff;--tw-prose-captions: #ffffff;--tw-prose-code: #ffffff;--tw-prose-pre-code: #ffffff;--tw-prose-pre-bg: #0f172a;--tw-prose-kbd: #ffffff}.prose-lighter :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){color:#fff}@keyframes blink{50%{fill:transparent}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.relative{position:relative}.m-0{margin:0}.m-1{margin:.25rem}.m-10{margin:2.5rem}.m-11{margin:2.75rem}.m-12{margin:3rem}.m-14{margin:3.5rem}.m-16{margin:4rem}.m-2{margin:.5rem}.m-20{margin:5rem}.m-24{margin:6rem}.m-28{margin:7rem}.m-3{margin:.75rem}.m-32{margin:8rem}.m-36{margin:9rem}.m-4{margin:1rem}.m-44{margin:11rem}.m-48{margin:12rem}.m-5{margin:1.25rem}.m-52{margin:13rem}.m-56{margin:14rem}.m-6{margin:1.5rem}.m-60{margin:15rem}.m-64{margin:16rem}.m-7{margin:1.75rem}.m-72{margin:18rem}.m-8{margin:2rem}.m-80{margin:20rem}.m-9{margin:2.25rem}.m-96{margin:24rem}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-11{margin-bottom:2.75rem}.mb-12{margin-bottom:3rem}.mb-14{margin-bottom:3.5rem}.mb-16{margin-bottom:4rem}.mb-2{margin-bottom:.5rem}.mb-20{margin-bottom:5rem}.mb-24{margin-bottom:6rem}.mb-28{margin-bottom:7rem}.mb-3{margin-bottom:.75rem}.mb-32{margin-bottom:8rem}.mb-36{margin-bottom:9rem}.mb-4{margin-bottom:1rem}.mb-44{margin-bottom:11rem}.mb-48{margin-bottom:12rem}.mb-5{margin-bottom:1.25rem}.mb-52{margin-bottom:13rem}.mb-56{margin-bottom:14rem}.mb-6{margin-bottom:1.5rem}.mb-60{margin-bottom:15rem}.mb-64{margin-bottom:16rem}.mb-7{margin-bottom:1.75rem}.mb-72{margin-bottom:18rem}.mb-8{margin-bottom:2rem}.mb-80{margin-bottom:20rem}.mb-9{margin-bottom:2.25rem}.mb-96{margin-bottom:24rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-10{margin-left:2.5rem}.ml-11{margin-left:2.75rem}.ml-12{margin-left:3rem}.ml-14{margin-left:3.5rem}.ml-16{margin-left:4rem}.ml-2{margin-left:.5rem}.ml-20{margin-left:5rem}.ml-24{margin-left:6rem}.ml-28{margin-left:7rem}.ml-3{margin-left:.75rem}.ml-32{margin-left:8rem}.ml-36{margin-left:9rem}.ml-4{margin-left:1rem}.ml-44{margin-left:11rem}.ml-48{margin-left:12rem}.ml-5{margin-left:1.25rem}.ml-52{margin-left:13rem}.ml-56{margin-left:14rem}.ml-6{margin-left:1.5rem}.ml-60{margin-left:15rem}.ml-64{margin-left:16rem}.ml-7{margin-left:1.75rem}.ml-72{margin-left:18rem}.ml-8{margin-left:2rem}.ml-80{margin-left:20rem}.ml-9{margin-left:2.25rem}.ml-96{margin-left:24rem}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-10{margin-right:2.5rem}.mr-11{margin-right:2.75rem}.mr-12{margin-right:3rem}.mr-14{margin-right:3.5rem}.mr-16{margin-right:4rem}.mr-2{margin-right:.5rem}.mr-20{margin-right:5rem}.mr-24{margin-right:6rem}.mr-28{margin-right:7rem}.mr-3{margin-right:.75rem}.mr-32{margin-right:8rem}.mr-36{margin-right:9rem}.mr-4{margin-right:1rem}.mr-44{margin-right:11rem}.mr-48{margin-right:12rem}.mr-5{margin-right:1.25rem}.mr-52{margin-right:13rem}.mr-56{margin-right:14rem}.mr-6{margin-right:1.5rem}.mr-60{margin-right:15rem}.mr-64{margin-right:16rem}.mr-7{margin-right:1.75rem}.mr-72{margin-right:18rem}.mr-8{margin-right:2rem}.mr-80{margin-right:20rem}.mr-9{margin-right:2.25rem}.mr-96{margin-right:24rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-11{margin-top:2.75rem}.mt-12{margin-top:3rem}.mt-14{margin-top:3.5rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-24{margin-top:6rem}.mt-28{margin-top:7rem}.mt-3{margin-top:.75rem}.mt-32{margin-top:8rem}.mt-36{margin-top:9rem}.mt-4{margin-top:1rem}.mt-44{margin-top:11rem}.mt-48{margin-top:12rem}.mt-5{margin-top:1.25rem}.mt-52{margin-top:13rem}.mt-56{margin-top:14rem}.mt-6{margin-top:1.5rem}.mt-60{margin-top:15rem}.mt-64{margin-top:16rem}.mt-7{margin-top:1.75rem}.mt-72{margin-top:18rem}.mt-8{margin-top:2rem}.mt-80{margin-top:20rem}.mt-9{margin-top:2.25rem}.mt-96{margin-top:24rem}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.h-12{height:3rem}.h-6{height:1.5rem}.h-8{height:2rem}.max-h-12{max-height:3rem}.max-h-8{max-height:2rem}.max-h-9{max-height:2.25rem}.max-h-full{max-height:100%}.min-h-full{min-height:100%}.w-12{width:3rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-\[95\%\]{width:95%}.w-full{width:100%}.flex-grow{flex-grow:1}.basis-11\/12{flex-basis:91.666667%}.basis-4{flex-basis:1rem}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.place-items-center{place-items:center}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-border-accent{--tw-border-opacity: 1;border-color:var(--av-border-accent, rgb(169 185 173 / var(--tw-border-opacity, 1)))}.border-border-danger-dark{--tw-border-opacity: 1;border-color:var(--av-border-danger-dark, rgb(127 29 29 / var(--tw-border-opacity, 1)))}.border-border-danger-medium{--tw-border-opacity: 1;border-color:var(--av-border-danger-medium, rgb(248 113 113 / var(--tw-border-opacity, 1)))}.border-border-dark{--tw-border-opacity: 1;border-color:var(--av-border-dark, rgb(15 23 42 / var(--tw-border-opacity, 1)))}.border-table-dark{--tw-border-opacity: 1;border-color:var(--av-table-dark, rgb(55 65 81 / var(--tw-border-opacity, 1)))}.border-table-light{--tw-border-opacity: 1;border-color:var(--av-table-light, rgb(243 244 246 / var(--tw-border-opacity, 1)))}.border-transparent{border-color:transparent}.bg-action-danger-dark{--tw-bg-opacity: 1;background-color:var(--av-action-danger-dark, rgb(127 29 29 / var(--tw-bg-opacity, 1)))}.bg-action-danger-dark-active{--tw-bg-opacity: 1;background-color:var(--av-action-danger-dark-active, rgb(220 38 38 / var(--tw-bg-opacity, 1)))}.bg-action-danger-dark-hover{--tw-bg-opacity: 1;background-color:var(--av-action-danger-dark-hover, rgb(185 28 28 / var(--tw-bg-opacity, 1)))}.bg-action-danger-light{--tw-bg-opacity: 1;background-color:var(--av-action-danger-light, rgb(220 38 38 / var(--tw-bg-opacity, 1)))}.bg-action-danger-light-active{--tw-bg-opacity: 1;background-color:var(--av-action-danger-light-active, rgb(153 27 27 / var(--tw-bg-opacity, 1)))}.bg-action-danger-light-hover{--tw-bg-opacity: 1;background-color:var(--av-action-danger-light-hover, rgb(185 28 28 / var(--tw-bg-opacity, 1)))}.bg-action-dark{--tw-bg-opacity: 1;background-color:var(--av-action-dark, rgb(15 23 42 / var(--tw-bg-opacity, 1)))}.bg-action-dark-active{--tw-bg-opacity: 1;background-color:var(--av-action-dark-active, rgb(71 85 105 / var(--tw-bg-opacity, 1)))}.bg-action-dark-hover{--tw-bg-opacity: 1;background-color:var(--av-action-dark-hover, rgb(51 65 85 / var(--tw-bg-opacity, 1)))}.bg-action-light{--tw-bg-opacity: 1;background-color:var(--av-action-light, rgb(100 116 139 / var(--tw-bg-opacity, 1)))}.bg-action-light-active{--tw-bg-opacity: 1;background-color:var(--av-action-light-active, rgb(51 65 85 / var(--tw-bg-opacity, 1)))}.bg-action-light-hover{--tw-bg-opacity: 1;background-color:var(--av-action-light-hover, rgb(71 85 105 / var(--tw-bg-opacity, 1)))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-surface-medium{--tw-bg-opacity: 1;background-color:var(--av-surface-medium, rgb(100 116 139 / var(--tw-bg-opacity, 1)))}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0{padding-top:0;padding-bottom:0}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pl-2{padding-left:.5rem}.pr-2{padding-right:.5rem}.text-center{text-align:center}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.text-copy-accent-dark{--tw-text-opacity: 1;color:var(--av-copy-accent-dark, rgb(205 232 212 / var(--tw-text-opacity, 1)))}.text-copy-light{--tw-text-opacity: 1;color:var(--av-copy-light, rgb(226 232 240 / var(--tw-text-opacity, 1)))}.text-copy-lighter{--tw-text-opacity: 1;color:var(--av-copy-lighter, rgb(255 255 255 / var(--tw-text-opacity, 1)))}.opacity-50{opacity:.5}.outline-focus-dark{outline-color:var(--av-focus-dark, rgb(21 128 61 / 1))}.outline-focus-light{outline-color:var(--av-focus-light, rgb(134 239 172 / 1))}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:bottom-\[-4px\]:after{content:var(--tw-content);bottom:-4px}.after\:left-0:after{content:var(--tw-content);left:0}.after\:right-0:after{content:var(--tw-content);right:0}.after\:border-b-2:after{content:var(--tw-content);border-bottom-width:2px}.after\:border-table-dark:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:var(--av-table-dark, rgb(55 65 81 / var(--tw-border-opacity, 1)))}.after\:border-table-light:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:var(--av-table-light, rgb(243 244 246 / var(--tw-border-opacity, 1)))}.after\:content-\[\'\'\]:after{--tw-content: "";content:var(--tw-content)}.focus-within\:static:focus-within{position:static}.focus-within\:after\:border-transparent:focus-within:after{content:var(--tw-content);border-color:transparent}.hover\:bg-action-danger-dark-hover:hover{--tw-bg-opacity: 1;background-color:var(--av-action-danger-dark-hover, rgb(185 28 28 / var(--tw-bg-opacity, 1)))}.hover\:bg-action-danger-light-hover:hover{--tw-bg-opacity: 1;background-color:var(--av-action-danger-light-hover, rgb(185 28 28 / var(--tw-bg-opacity, 1)))}.hover\:bg-action-dark-hover:hover{--tw-bg-opacity: 1;background-color:var(--av-action-dark-hover, rgb(51 65 85 / var(--tw-bg-opacity, 1)))}.hover\:bg-action-light-hover:hover{--tw-bg-opacity: 1;background-color:var(--av-action-light-hover, rgb(71 85 105 / var(--tw-bg-opacity, 1)))}.hover\:text-copy-light-hover:hover{--tw-text-opacity: 1;color:var(--av-copy-light-hover, rgb(226 232 240 / var(--tw-text-opacity, 1)))}.focus\:outline:focus{outline-style:solid}.focus\:outline-2:focus{outline-width:2px}.focus\:outline-offset-2:focus{outline-offset:2px}.focus\:outline-focus-dark:focus{outline-color:var(--av-focus-dark, rgb(21 128 61 / 1))}.focus\:outline-focus-light:focus{outline-color:var(--av-focus-light, rgb(134 239 172 / 1))}.active\:bg-action-danger-dark-active:active{--tw-bg-opacity: 1;background-color:var(--av-action-danger-dark-active, rgb(220 38 38 / var(--tw-bg-opacity, 1)))}.active\:bg-action-danger-light-active:active{--tw-bg-opacity: 1;background-color:var(--av-action-danger-light-active, rgb(153 27 27 / var(--tw-bg-opacity, 1)))}.active\:bg-action-dark-active:active{--tw-bg-opacity: 1;background-color:var(--av-action-dark-active, rgb(71 85 105 / var(--tw-bg-opacity, 1)))}.active\:bg-action-light-active:active{--tw-bg-opacity: 1;background-color:var(--av-action-light-active, rgb(51 65 85 / var(--tw-bg-opacity, 1)))}.active\:text-copy-light-active:active{--tw-text-opacity: 1;color:var(--av-copy-light-active, rgb(148 163 184 / var(--tw-text-opacity, 1)))}.active\:text-copy-lighter-active:active{--tw-text-opacity: 1;color:var(--av-copy-lighter-active, rgb(255 255 255 / var(--tw-text-opacity, 1)))}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}@media (min-width: 640px){.sm\:max-h-\[95\%\]{max-height:95%}.sm\:min-h-\[10rem\]{min-height:10rem}.sm\:w-\[50\%\]{width:50%}.sm\:w-\[95\%\]{width:95%}.sm\:rounded-lg{border-radius:.5rem}.sm\:border-2{border-width:2px}.sm\:border-border-accent{--tw-border-opacity: 1;border-color:var(--av-border-accent, rgb(169 185 173 / var(--tw-border-opacity, 1)))}.sm\:border-border-dark{--tw-border-opacity: 1;border-color:var(--av-border-dark, rgb(15 23 42 / var(--tw-border-opacity, 1)))}.sm\:bg-black\/\[\.8\]{background-color:#000c}.sm\:p-4{padding:1rem}.sm\:px-4{padding-left:1rem;padding-right:1rem}.sm\:py-4{padding-top:1rem;padding-bottom:1rem}}@media (min-width: 768px){.md\:max-w-2xl{max-width:42rem}}@media (prefers-color-scheme: dark){.dark\:border-border-accent{--tw-border-opacity: 1;border-color:var(--av-border-accent, rgb(169 185 173 / var(--tw-border-opacity, 1)))}.dark\:border-border-danger-dark{--tw-border-opacity: 1;border-color:var(--av-border-danger-dark, rgb(127 29 29 / var(--tw-border-opacity, 1)))}.dark\:border-border-danger-medium{--tw-border-opacity: 1;border-color:var(--av-border-danger-medium, rgb(248 113 113 / var(--tw-border-opacity, 1)))}.dark\:border-border-dark{--tw-border-opacity: 1;border-color:var(--av-border-dark, rgb(15 23 42 / var(--tw-border-opacity, 1)))}.dark\:bg-action-danger-dark{--tw-bg-opacity: 1;background-color:var(--av-action-danger-dark, rgb(127 29 29 / var(--tw-bg-opacity, 1)))}.dark\:bg-action-danger-light{--tw-bg-opacity: 1;background-color:var(--av-action-danger-light, rgb(220 38 38 / var(--tw-bg-opacity, 1)))}.dark\:bg-action-dark{--tw-bg-opacity: 1;background-color:var(--av-action-dark, rgb(15 23 42 / var(--tw-bg-opacity, 1)))}.dark\:bg-action-light{--tw-bg-opacity: 1;background-color:var(--av-action-light, rgb(100 116 139 / var(--tw-bg-opacity, 1)))}.dark\:text-copy-accent-dark{--tw-text-opacity: 1;color:var(--av-copy-accent-dark, rgb(205 232 212 / var(--tw-text-opacity, 1)))}.dark\:text-copy-light{--tw-text-opacity: 1;color:var(--av-copy-light, rgb(226 232 240 / var(--tw-text-opacity, 1)))}.dark\:text-copy-lighter{--tw-text-opacity: 1;color:var(--av-copy-lighter, rgb(255 255 255 / var(--tw-text-opacity, 1)))}.dark\:after\:border-table-dark:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:var(--av-table-dark, rgb(55 65 81 / var(--tw-border-opacity, 1)))}.dark\:after\:border-table-light:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:var(--av-table-light, rgb(243 244 246 / var(--tw-border-opacity, 1)))}.dark\:hover\:bg-action-danger-dark-hover:hover{--tw-bg-opacity: 1;background-color:var(--av-action-danger-dark-hover, rgb(185 28 28 / var(--tw-bg-opacity, 1)))}.dark\:hover\:bg-action-danger-light-hover:hover{--tw-bg-opacity: 1;background-color:var(--av-action-danger-light-hover, rgb(185 28 28 / var(--tw-bg-opacity, 1)))}.dark\:hover\:bg-action-dark-hover:hover{--tw-bg-opacity: 1;background-color:var(--av-action-dark-hover, rgb(51 65 85 / var(--tw-bg-opacity, 1)))}.dark\:hover\:bg-action-light-hover:hover{--tw-bg-opacity: 1;background-color:var(--av-action-light-hover, rgb(71 85 105 / var(--tw-bg-opacity, 1)))}.dark\:focus\:outline-focus-dark:focus{outline-color:var(--av-focus-dark, rgb(21 128 61 / 1))}.dark\:focus\:outline-focus-light:focus{outline-color:var(--av-focus-light, rgb(134 239 172 / 1))}.dark\:active\:bg-action-danger-dark-active:active{--tw-bg-opacity: 1;background-color:var(--av-action-danger-dark-active, rgb(220 38 38 / var(--tw-bg-opacity, 1)))}.dark\:active\:bg-action-danger-light-active:active{--tw-bg-opacity: 1;background-color:var(--av-action-danger-light-active, rgb(153 27 27 / var(--tw-bg-opacity, 1)))}.dark\:active\:bg-action-dark-active:active{--tw-bg-opacity: 1;background-color:var(--av-action-dark-active, rgb(71 85 105 / var(--tw-bg-opacity, 1)))}.dark\:active\:bg-action-light-active:active{--tw-bg-opacity: 1;background-color:var(--av-action-light-active, rgb(51 65 85 / var(--tw-bg-opacity, 1)))}}
|
|
1
|
+
*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::-ms-backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-ms-input-placeholder,textarea::-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.prose{color:var(--tw-prose-body);max-width:inherit}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;-webkit-padding-start:1.625em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;-webkit-padding-start:1.625em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;-webkit-padding-start:1em;padding-inline-start:1em;border-left-width:6px}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;-webkit-padding-end:.375em;padding-inline-end:.375em;padding-bottom:.1875em;-webkit-padding-start:.375em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875rem;line-height:1.25rem;margin-top:2rem;margin-bottom:2rem;border-radius:.375rem;padding-top:.8571429em;-webkit-padding-end:1.1428571em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;-webkit-padding-start:1.1428571em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;-webkit-padding-end:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;-webkit-padding-start:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em;font-size:1rem}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){-webkit-padding-start:.375em;padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){-webkit-padding-start:.375em;padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;-webkit-padding-start:1.625em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){-webkit-padding-start:0;padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){-webkit-padding-end:0;padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;-webkit-padding-end:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;-webkit-padding-start:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){-webkit-padding-start:0;padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){-webkit-padding-end:0;padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose :where(h1,h2,h3,h4,h5,h6):not(:where([class~=not-prose],[class~=not-prose] *)){font-family:Open Sans,ui-sans-serif,system-ui,sans-serif;font-weight:400}.prose :where(.av-header h1,.av-header h2,.av-header h3,.av-header h4,.av-header h5,.av-header h6):not(:where([class~=not-prose],[class~=not-prose] *)){margin:0}.prose :where(.av-header p):not(:where([class~=not-prose],[class~=not-prose] *)){margin:0}.prose :where(blockquote p):not(:where([class~=not-prose],[class~=not-prose] *)){font-family:Georgia,Cambria,Times New Roman,Times,serif}.prose-lighter{--tw-prose-body: #ffffff;--tw-prose-headings: #e2e8f0;--tw-prose-lead: #ffffff;--tw-prose-links: #ffffff;--tw-prose-bold: #ffffff;--tw-prose-counters: #e2e8f0;--tw-prose-bullets: #e2e8f0;--tw-prose-hr: #e2e8f0;--tw-prose-quotes: #ffffff;--tw-prose-quote-borders: #ffffff;--tw-prose-captions: #ffffff;--tw-prose-code: #ffffff;--tw-prose-pre-code: #ffffff;--tw-prose-pre-bg: #0f172a;--tw-prose-kbd: #ffffff}.prose-lighter :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){color:#fff}@keyframes blink{50%{fill:transparent}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.relative{position:relative}.m-0{margin:0}.m-1{margin:.25rem}.m-10{margin:2.5rem}.m-11{margin:2.75rem}.m-12{margin:3rem}.m-14{margin:3.5rem}.m-16{margin:4rem}.m-2{margin:.5rem}.m-20{margin:5rem}.m-24{margin:6rem}.m-28{margin:7rem}.m-3{margin:.75rem}.m-32{margin:8rem}.m-36{margin:9rem}.m-4{margin:1rem}.m-44{margin:11rem}.m-48{margin:12rem}.m-5{margin:1.25rem}.m-52{margin:13rem}.m-56{margin:14rem}.m-6{margin:1.5rem}.m-60{margin:15rem}.m-64{margin:16rem}.m-7{margin:1.75rem}.m-72{margin:18rem}.m-8{margin:2rem}.m-80{margin:20rem}.m-9{margin:2.25rem}.m-96{margin:24rem}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-11{margin-bottom:2.75rem}.mb-12{margin-bottom:3rem}.mb-14{margin-bottom:3.5rem}.mb-16{margin-bottom:4rem}.mb-2{margin-bottom:.5rem}.mb-20{margin-bottom:5rem}.mb-24{margin-bottom:6rem}.mb-28{margin-bottom:7rem}.mb-3{margin-bottom:.75rem}.mb-32{margin-bottom:8rem}.mb-36{margin-bottom:9rem}.mb-4{margin-bottom:1rem}.mb-44{margin-bottom:11rem}.mb-48{margin-bottom:12rem}.mb-5{margin-bottom:1.25rem}.mb-52{margin-bottom:13rem}.mb-56{margin-bottom:14rem}.mb-6{margin-bottom:1.5rem}.mb-60{margin-bottom:15rem}.mb-64{margin-bottom:16rem}.mb-7{margin-bottom:1.75rem}.mb-72{margin-bottom:18rem}.mb-8{margin-bottom:2rem}.mb-80{margin-bottom:20rem}.mb-9{margin-bottom:2.25rem}.mb-96{margin-bottom:24rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-10{margin-left:2.5rem}.ml-11{margin-left:2.75rem}.ml-12{margin-left:3rem}.ml-14{margin-left:3.5rem}.ml-16{margin-left:4rem}.ml-2{margin-left:.5rem}.ml-20{margin-left:5rem}.ml-24{margin-left:6rem}.ml-28{margin-left:7rem}.ml-3{margin-left:.75rem}.ml-32{margin-left:8rem}.ml-36{margin-left:9rem}.ml-4{margin-left:1rem}.ml-44{margin-left:11rem}.ml-48{margin-left:12rem}.ml-5{margin-left:1.25rem}.ml-52{margin-left:13rem}.ml-56{margin-left:14rem}.ml-6{margin-left:1.5rem}.ml-60{margin-left:15rem}.ml-64{margin-left:16rem}.ml-7{margin-left:1.75rem}.ml-72{margin-left:18rem}.ml-8{margin-left:2rem}.ml-80{margin-left:20rem}.ml-9{margin-left:2.25rem}.ml-96{margin-left:24rem}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-10{margin-right:2.5rem}.mr-11{margin-right:2.75rem}.mr-12{margin-right:3rem}.mr-14{margin-right:3.5rem}.mr-16{margin-right:4rem}.mr-2{margin-right:.5rem}.mr-20{margin-right:5rem}.mr-24{margin-right:6rem}.mr-28{margin-right:7rem}.mr-3{margin-right:.75rem}.mr-32{margin-right:8rem}.mr-36{margin-right:9rem}.mr-4{margin-right:1rem}.mr-44{margin-right:11rem}.mr-48{margin-right:12rem}.mr-5{margin-right:1.25rem}.mr-52{margin-right:13rem}.mr-56{margin-right:14rem}.mr-6{margin-right:1.5rem}.mr-60{margin-right:15rem}.mr-64{margin-right:16rem}.mr-7{margin-right:1.75rem}.mr-72{margin-right:18rem}.mr-8{margin-right:2rem}.mr-80{margin-right:20rem}.mr-9{margin-right:2.25rem}.mr-96{margin-right:24rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-11{margin-top:2.75rem}.mt-12{margin-top:3rem}.mt-14{margin-top:3.5rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-24{margin-top:6rem}.mt-28{margin-top:7rem}.mt-3{margin-top:.75rem}.mt-32{margin-top:8rem}.mt-36{margin-top:9rem}.mt-4{margin-top:1rem}.mt-44{margin-top:11rem}.mt-48{margin-top:12rem}.mt-5{margin-top:1.25rem}.mt-52{margin-top:13rem}.mt-56{margin-top:14rem}.mt-6{margin-top:1.5rem}.mt-60{margin-top:15rem}.mt-64{margin-top:16rem}.mt-7{margin-top:1.75rem}.mt-72{margin-top:18rem}.mt-8{margin-top:2rem}.mt-80{margin-top:20rem}.mt-9{margin-top:2.25rem}.mt-96{margin-top:24rem}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.h-12{height:3rem}.h-6{height:1.5rem}.h-8{height:2rem}.max-h-12{max-height:3rem}.max-h-8{max-height:2rem}.max-h-9{max-height:2.25rem}.max-h-full{max-height:100%}.min-h-full{min-height:100%}.w-12{width:3rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-\[95\%\]{width:95%}.w-full{width:100%}.flex-grow{flex-grow:1}.basis-11\/12{flex-basis:91.666667%}.basis-4{flex-basis:1rem}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.place-items-center{place-items:center}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.border{border-width:1px}.border-2{border-width:2px}.border-border-accent{--tw-border-opacity: 1;border-color:var(--av-border-accent, rgb(169 185 173 / var(--tw-border-opacity, 1)))}.border-border-danger-dark{--tw-border-opacity: 1;border-color:var(--av-border-danger-dark, rgb(127 29 29 / var(--tw-border-opacity, 1)))}.border-border-danger-medium{--tw-border-opacity: 1;border-color:var(--av-border-danger-medium, rgb(248 113 113 / var(--tw-border-opacity, 1)))}.border-border-dark{--tw-border-opacity: 1;border-color:var(--av-border-dark, rgb(15 23 42 / var(--tw-border-opacity, 1)))}.border-border-selected-dark{--tw-border-opacity: 1;border-color:var(--av-border-selected-dark, rgb(20 83 45 / var(--tw-border-opacity, 1)))}.border-border-selected-medium{--tw-border-opacity: 1;border-color:var(--av-border-selected-medium, rgb(74 222 128 / var(--tw-border-opacity, 1)))}.border-table-dark{--tw-border-opacity: 1;border-color:var(--av-table-dark, rgb(55 65 81 / var(--tw-border-opacity, 1)))}.border-table-light{--tw-border-opacity: 1;border-color:var(--av-table-light, rgb(243 244 246 / var(--tw-border-opacity, 1)))}.border-transparent{border-color:transparent}.bg-action-danger-dark{--tw-bg-opacity: 1;background-color:var(--av-action-danger-dark, rgb(127 29 29 / var(--tw-bg-opacity, 1)))}.bg-action-danger-dark-active{--tw-bg-opacity: 1;background-color:var(--av-action-danger-dark-active, rgb(220 38 38 / var(--tw-bg-opacity, 1)))}.bg-action-danger-dark-hover{--tw-bg-opacity: 1;background-color:var(--av-action-danger-dark-hover, rgb(185 28 28 / var(--tw-bg-opacity, 1)))}.bg-action-danger-light{--tw-bg-opacity: 1;background-color:var(--av-action-danger-light, rgb(220 38 38 / var(--tw-bg-opacity, 1)))}.bg-action-danger-light-active{--tw-bg-opacity: 1;background-color:var(--av-action-danger-light-active, rgb(153 27 27 / var(--tw-bg-opacity, 1)))}.bg-action-danger-light-hover{--tw-bg-opacity: 1;background-color:var(--av-action-danger-light-hover, rgb(185 28 28 / var(--tw-bg-opacity, 1)))}.bg-action-dark{--tw-bg-opacity: 1;background-color:var(--av-action-dark, rgb(15 23 42 / var(--tw-bg-opacity, 1)))}.bg-action-dark-active{--tw-bg-opacity: 1;background-color:var(--av-action-dark-active, rgb(71 85 105 / var(--tw-bg-opacity, 1)))}.bg-action-dark-hover{--tw-bg-opacity: 1;background-color:var(--av-action-dark-hover, rgb(51 65 85 / var(--tw-bg-opacity, 1)))}.bg-action-light{--tw-bg-opacity: 1;background-color:var(--av-action-light, rgb(100 116 139 / var(--tw-bg-opacity, 1)))}.bg-action-light-active{--tw-bg-opacity: 1;background-color:var(--av-action-light-active, rgb(51 65 85 / var(--tw-bg-opacity, 1)))}.bg-action-light-hover{--tw-bg-opacity: 1;background-color:var(--av-action-light-hover, rgb(71 85 105 / var(--tw-bg-opacity, 1)))}.bg-action-selected-dark{--tw-bg-opacity: 1;background-color:var(--av-action-selected-dark, rgb(20 83 45 / var(--tw-bg-opacity, 1)))}.bg-action-selected-dark-active{--tw-bg-opacity: 1;background-color:var(--av-action-selected-dark-active, rgb(22 163 74 / var(--tw-bg-opacity, 1)))}.bg-action-selected-dark-hover{--tw-bg-opacity: 1;background-color:var(--av-action-selected-dark-hover, rgb(21 128 61 / var(--tw-bg-opacity, 1)))}.bg-action-selected-light{--tw-bg-opacity: 1;background-color:var(--av-action-selected-light, rgb(22 163 74 / var(--tw-bg-opacity, 1)))}.bg-action-selected-light-active{--tw-bg-opacity: 1;background-color:var(--av-action-selected-light-active, rgb(22 101 52 / var(--tw-bg-opacity, 1)))}.bg-action-selected-light-hover{--tw-bg-opacity: 1;background-color:var(--av-action-selected-light-hover, rgb(21 128 61 / var(--tw-bg-opacity, 1)))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-surface-medium{--tw-bg-opacity: 1;background-color:var(--av-surface-medium, rgb(100 116 139 / var(--tw-bg-opacity, 1)))}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0{padding-top:0;padding-bottom:0}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pl-2{padding-left:.5rem}.pr-2{padding-right:.5rem}.text-center{text-align:center}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.text-copy-accent-dark{--tw-text-opacity: 1;color:var(--av-copy-accent-dark, rgb(205 232 212 / var(--tw-text-opacity, 1)))}.text-copy-light{--tw-text-opacity: 1;color:var(--av-copy-light, rgb(226 232 240 / var(--tw-text-opacity, 1)))}.text-copy-lighter{--tw-text-opacity: 1;color:var(--av-copy-lighter, rgb(255 255 255 / var(--tw-text-opacity, 1)))}.opacity-50{opacity:.5}.outline-focus-dark{outline-color:var(--av-focus-dark, rgb(21 128 61 / 1))}.outline-focus-light{outline-color:var(--av-focus-light, rgb(134 239 172 / 1))}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:bottom-\[-4px\]:after{content:var(--tw-content);bottom:-4px}.after\:left-0:after{content:var(--tw-content);left:0}.after\:right-0:after{content:var(--tw-content);right:0}.after\:border-b-2:after{content:var(--tw-content);border-bottom-width:2px}.after\:border-table-dark:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:var(--av-table-dark, rgb(55 65 81 / var(--tw-border-opacity, 1)))}.after\:border-table-light:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:var(--av-table-light, rgb(243 244 246 / var(--tw-border-opacity, 1)))}.after\:content-\[\'\'\]:after{--tw-content: "";content:var(--tw-content)}.focus-within\:static:focus-within{position:static}.focus-within\:after\:border-transparent:focus-within:after{content:var(--tw-content);border-color:transparent}.hover\:bg-action-danger-dark-hover:hover{--tw-bg-opacity: 1;background-color:var(--av-action-danger-dark-hover, rgb(185 28 28 / var(--tw-bg-opacity, 1)))}.hover\:bg-action-danger-light-hover:hover{--tw-bg-opacity: 1;background-color:var(--av-action-danger-light-hover, rgb(185 28 28 / var(--tw-bg-opacity, 1)))}.hover\:bg-action-dark-hover:hover{--tw-bg-opacity: 1;background-color:var(--av-action-dark-hover, rgb(51 65 85 / var(--tw-bg-opacity, 1)))}.hover\:bg-action-light-hover:hover{--tw-bg-opacity: 1;background-color:var(--av-action-light-hover, rgb(71 85 105 / var(--tw-bg-opacity, 1)))}.hover\:bg-action-selected-dark-hover:hover{--tw-bg-opacity: 1;background-color:var(--av-action-selected-dark-hover, rgb(21 128 61 / var(--tw-bg-opacity, 1)))}.hover\:bg-action-selected-light-hover:hover{--tw-bg-opacity: 1;background-color:var(--av-action-selected-light-hover, rgb(21 128 61 / var(--tw-bg-opacity, 1)))}.hover\:text-copy-light-hover:hover{--tw-text-opacity: 1;color:var(--av-copy-light-hover, rgb(226 232 240 / var(--tw-text-opacity, 1)))}.focus\:outline:focus{outline-style:solid}.focus\:outline-2:focus{outline-width:2px}.focus\:outline-offset-2:focus{outline-offset:2px}.focus\:outline-focus-dark:focus{outline-color:var(--av-focus-dark, rgb(21 128 61 / 1))}.focus\:outline-focus-light:focus{outline-color:var(--av-focus-light, rgb(134 239 172 / 1))}.active\:bg-action-danger-dark-active:active{--tw-bg-opacity: 1;background-color:var(--av-action-danger-dark-active, rgb(220 38 38 / var(--tw-bg-opacity, 1)))}.active\:bg-action-danger-light-active:active{--tw-bg-opacity: 1;background-color:var(--av-action-danger-light-active, rgb(153 27 27 / var(--tw-bg-opacity, 1)))}.active\:bg-action-dark-active:active{--tw-bg-opacity: 1;background-color:var(--av-action-dark-active, rgb(71 85 105 / var(--tw-bg-opacity, 1)))}.active\:bg-action-light-active:active{--tw-bg-opacity: 1;background-color:var(--av-action-light-active, rgb(51 65 85 / var(--tw-bg-opacity, 1)))}.active\:bg-action-selected-dark-active:active{--tw-bg-opacity: 1;background-color:var(--av-action-selected-dark-active, rgb(22 163 74 / var(--tw-bg-opacity, 1)))}.active\:bg-action-selected-light-active:active{--tw-bg-opacity: 1;background-color:var(--av-action-selected-light-active, rgb(22 101 52 / var(--tw-bg-opacity, 1)))}.active\:text-copy-light-active:active{--tw-text-opacity: 1;color:var(--av-copy-light-active, rgb(148 163 184 / var(--tw-text-opacity, 1)))}.active\:text-copy-lighter-active:active{--tw-text-opacity: 1;color:var(--av-copy-lighter-active, rgb(255 255 255 / var(--tw-text-opacity, 1)))}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}@media (min-width: 640px){.sm\:max-h-\[95\%\]{max-height:95%}.sm\:min-h-\[10rem\]{min-height:10rem}.sm\:w-\[50\%\]{width:50%}.sm\:w-\[95\%\]{width:95%}.sm\:rounded-lg{border-radius:.5rem}.sm\:border-2{border-width:2px}.sm\:border-border-accent{--tw-border-opacity: 1;border-color:var(--av-border-accent, rgb(169 185 173 / var(--tw-border-opacity, 1)))}.sm\:border-border-dark{--tw-border-opacity: 1;border-color:var(--av-border-dark, rgb(15 23 42 / var(--tw-border-opacity, 1)))}.sm\:bg-black\/\[\.8\]{background-color:#000c}.sm\:p-4{padding:1rem}.sm\:px-4{padding-left:1rem;padding-right:1rem}.sm\:py-4{padding-top:1rem;padding-bottom:1rem}}@media (min-width: 768px){.md\:max-w-2xl{max-width:42rem}}@media (prefers-color-scheme: dark){.dark\:border-border-accent{--tw-border-opacity: 1;border-color:var(--av-border-accent, rgb(169 185 173 / var(--tw-border-opacity, 1)))}.dark\:border-border-danger-dark{--tw-border-opacity: 1;border-color:var(--av-border-danger-dark, rgb(127 29 29 / var(--tw-border-opacity, 1)))}.dark\:border-border-danger-medium{--tw-border-opacity: 1;border-color:var(--av-border-danger-medium, rgb(248 113 113 / var(--tw-border-opacity, 1)))}.dark\:border-border-dark{--tw-border-opacity: 1;border-color:var(--av-border-dark, rgb(15 23 42 / var(--tw-border-opacity, 1)))}.dark\:border-border-selected-dark{--tw-border-opacity: 1;border-color:var(--av-border-selected-dark, rgb(20 83 45 / var(--tw-border-opacity, 1)))}.dark\:border-border-selected-medium{--tw-border-opacity: 1;border-color:var(--av-border-selected-medium, rgb(74 222 128 / var(--tw-border-opacity, 1)))}.dark\:bg-action-danger-dark{--tw-bg-opacity: 1;background-color:var(--av-action-danger-dark, rgb(127 29 29 / var(--tw-bg-opacity, 1)))}.dark\:bg-action-danger-light{--tw-bg-opacity: 1;background-color:var(--av-action-danger-light, rgb(220 38 38 / var(--tw-bg-opacity, 1)))}.dark\:bg-action-dark{--tw-bg-opacity: 1;background-color:var(--av-action-dark, rgb(15 23 42 / var(--tw-bg-opacity, 1)))}.dark\:bg-action-light{--tw-bg-opacity: 1;background-color:var(--av-action-light, rgb(100 116 139 / var(--tw-bg-opacity, 1)))}.dark\:bg-action-selected-dark{--tw-bg-opacity: 1;background-color:var(--av-action-selected-dark, rgb(20 83 45 / var(--tw-bg-opacity, 1)))}.dark\:bg-action-selected-light{--tw-bg-opacity: 1;background-color:var(--av-action-selected-light, rgb(22 163 74 / var(--tw-bg-opacity, 1)))}.dark\:text-copy-accent-dark{--tw-text-opacity: 1;color:var(--av-copy-accent-dark, rgb(205 232 212 / var(--tw-text-opacity, 1)))}.dark\:text-copy-light{--tw-text-opacity: 1;color:var(--av-copy-light, rgb(226 232 240 / var(--tw-text-opacity, 1)))}.dark\:text-copy-lighter{--tw-text-opacity: 1;color:var(--av-copy-lighter, rgb(255 255 255 / var(--tw-text-opacity, 1)))}.dark\:after\:border-table-dark:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:var(--av-table-dark, rgb(55 65 81 / var(--tw-border-opacity, 1)))}.dark\:after\:border-table-light:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:var(--av-table-light, rgb(243 244 246 / var(--tw-border-opacity, 1)))}.dark\:hover\:bg-action-danger-dark-hover:hover{--tw-bg-opacity: 1;background-color:var(--av-action-danger-dark-hover, rgb(185 28 28 / var(--tw-bg-opacity, 1)))}.dark\:hover\:bg-action-danger-light-hover:hover{--tw-bg-opacity: 1;background-color:var(--av-action-danger-light-hover, rgb(185 28 28 / var(--tw-bg-opacity, 1)))}.dark\:hover\:bg-action-dark-hover:hover{--tw-bg-opacity: 1;background-color:var(--av-action-dark-hover, rgb(51 65 85 / var(--tw-bg-opacity, 1)))}.dark\:hover\:bg-action-light-hover:hover{--tw-bg-opacity: 1;background-color:var(--av-action-light-hover, rgb(71 85 105 / var(--tw-bg-opacity, 1)))}.dark\:hover\:bg-action-selected-dark-hover:hover{--tw-bg-opacity: 1;background-color:var(--av-action-selected-dark-hover, rgb(21 128 61 / var(--tw-bg-opacity, 1)))}.dark\:hover\:bg-action-selected-light-hover:hover{--tw-bg-opacity: 1;background-color:var(--av-action-selected-light-hover, rgb(21 128 61 / var(--tw-bg-opacity, 1)))}.dark\:focus\:outline-focus-dark:focus{outline-color:var(--av-focus-dark, rgb(21 128 61 / 1))}.dark\:focus\:outline-focus-light:focus{outline-color:var(--av-focus-light, rgb(134 239 172 / 1))}.dark\:active\:bg-action-danger-dark-active:active{--tw-bg-opacity: 1;background-color:var(--av-action-danger-dark-active, rgb(220 38 38 / var(--tw-bg-opacity, 1)))}.dark\:active\:bg-action-danger-light-active:active{--tw-bg-opacity: 1;background-color:var(--av-action-danger-light-active, rgb(153 27 27 / var(--tw-bg-opacity, 1)))}.dark\:active\:bg-action-dark-active:active{--tw-bg-opacity: 1;background-color:var(--av-action-dark-active, rgb(71 85 105 / var(--tw-bg-opacity, 1)))}.dark\:active\:bg-action-light-active:active{--tw-bg-opacity: 1;background-color:var(--av-action-light-active, rgb(51 65 85 / var(--tw-bg-opacity, 1)))}.dark\:active\:bg-action-selected-dark-active:active{--tw-bg-opacity: 1;background-color:var(--av-action-selected-dark-active, rgb(22 163 74 / var(--tw-bg-opacity, 1)))}.dark\:active\:bg-action-selected-light-active:active{--tw-bg-opacity: 1;background-color:var(--av-action-selected-light-active, rgb(22 101 52 / var(--tw-bg-opacity, 1)))}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-panel",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@tailwindcss/typography": "0.5.15",
|
|
42
|
-
"@versini/ui-button": "1.
|
|
43
|
-
"@versini/ui-icons": "1.19.
|
|
44
|
-
"@versini/ui-modal": "1.1.
|
|
42
|
+
"@versini/ui-button": "1.7.0",
|
|
43
|
+
"@versini/ui-icons": "1.19.1",
|
|
44
|
+
"@versini/ui-modal": "1.1.1",
|
|
45
45
|
"clsx": "2.1.1",
|
|
46
46
|
"tailwindcss": "3.4.17"
|
|
47
47
|
},
|
|
48
48
|
"sideEffects": [
|
|
49
49
|
"**/*.css"
|
|
50
50
|
],
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "900bc75dfbd7b5635476cfd59ba97711ce7be2fc"
|
|
52
52
|
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { useFloating as _, useClick as C, useDismiss as E, useRole as x, useInteractions as D, useMergeRefs as O, FloatingPortal as R, FloatingOverlay as k, FloatingFocusManager as y } from "@floating-ui/react";
|
|
3
|
-
import F from "clsx";
|
|
4
|
-
import * as o from "react";
|
|
5
|
-
import { useId as h } from "react";
|
|
6
|
-
const I = o.createContext(null);
|
|
7
|
-
function L({
|
|
8
|
-
initialOpen: n = !1,
|
|
9
|
-
open: i,
|
|
10
|
-
onOpenChange: t
|
|
11
|
-
} = {}) {
|
|
12
|
-
const [e, r] = o.useState(n), [s, l] = o.useState(), [c, b] = o.useState(), u = i ?? e, f = t ?? r, p = _({
|
|
13
|
-
open: u,
|
|
14
|
-
onOpenChange: f
|
|
15
|
-
}), m = p.context, M = C(m, {
|
|
16
|
-
enabled: i == null
|
|
17
|
-
}), w = E(m, {
|
|
18
|
-
outsidePress: !1,
|
|
19
|
-
outsidePressEvent: "mousedown"
|
|
20
|
-
}), v = x(m), g = D([M, w, v]);
|
|
21
|
-
return o.useMemo(
|
|
22
|
-
() => ({
|
|
23
|
-
open: u,
|
|
24
|
-
setOpen: f,
|
|
25
|
-
...g,
|
|
26
|
-
...p,
|
|
27
|
-
labelId: s,
|
|
28
|
-
descriptionId: c,
|
|
29
|
-
setLabelId: l,
|
|
30
|
-
setDescriptionId: b
|
|
31
|
-
}),
|
|
32
|
-
[u, f, g, p, s, c]
|
|
33
|
-
);
|
|
34
|
-
}
|
|
35
|
-
const d = () => {
|
|
36
|
-
const n = o.useContext(I);
|
|
37
|
-
if (n == null)
|
|
38
|
-
throw new Error("Modal components must be wrapped in <Modal />");
|
|
39
|
-
return n;
|
|
40
|
-
};
|
|
41
|
-
function T({
|
|
42
|
-
children: n,
|
|
43
|
-
...i
|
|
44
|
-
}) {
|
|
45
|
-
const t = L(i);
|
|
46
|
-
return /* @__PURE__ */ a(I.Provider, { value: t, children: n });
|
|
47
|
-
}
|
|
48
|
-
const A = o.forwardRef(function(n, i) {
|
|
49
|
-
const { context: t, ...e } = d(), r = O([e.refs.setFloating, i]);
|
|
50
|
-
if (!t.open)
|
|
51
|
-
return null;
|
|
52
|
-
const { overlayBackground: s, ...l } = n, c = F("grid place-items-center", {
|
|
53
|
-
[`${s}`]: s,
|
|
54
|
-
"bg-black sm:bg-black/[.8]": !s
|
|
55
|
-
});
|
|
56
|
-
return /* @__PURE__ */ a(R, { children: /* @__PURE__ */ a(k, { className: c, lockScroll: !0, children: /* @__PURE__ */ a(y, { context: t, children: /* @__PURE__ */ a(
|
|
57
|
-
"div",
|
|
58
|
-
{
|
|
59
|
-
ref: r,
|
|
60
|
-
"aria-labelledby": e.labelId,
|
|
61
|
-
"aria-describedby": e.descriptionId,
|
|
62
|
-
...e.getFloatingProps(l),
|
|
63
|
-
children: l.children
|
|
64
|
-
}
|
|
65
|
-
) }) }) });
|
|
66
|
-
}), U = o.forwardRef(function({ children: n, ...i }, t) {
|
|
67
|
-
const { setLabelId: e } = d(), r = h();
|
|
68
|
-
return o.useLayoutEffect(() => (e(r), () => e(void 0)), [r, e]), /* @__PURE__ */ a("h1", { ...i, ref: t, id: r, children: n });
|
|
69
|
-
}), V = o.forwardRef(function({ children: n, ...i }, t) {
|
|
70
|
-
const { setDescriptionId: e } = d(), r = h();
|
|
71
|
-
return o.useLayoutEffect(() => (e(r), () => e(void 0)), [r, e]), /* @__PURE__ */ a("div", { ...i, ref: t, id: r, children: n });
|
|
72
|
-
}), j = o.forwardRef(function(n, i) {
|
|
73
|
-
const { setOpen: t } = d(), { trigger: e, className: r, ...s } = n, l = o.useCallback(() => t(!1), [t]);
|
|
74
|
-
return /* @__PURE__ */ a("div", { className: r, children: o.cloneElement(e, {
|
|
75
|
-
ref: i,
|
|
76
|
-
onClick: l,
|
|
77
|
-
...s
|
|
78
|
-
}) });
|
|
79
|
-
});
|
|
80
|
-
/*!
|
|
81
|
-
@versini/ui-modal v1.1.0
|
|
82
|
-
© 2024 gizmette.com
|
|
83
|
-
*/
|
|
84
|
-
try {
|
|
85
|
-
window.__VERSINI_UI_MODAL__ || (window.__VERSINI_UI_MODAL__ = {
|
|
86
|
-
version: "1.1.0",
|
|
87
|
-
buildTime: "12/26/2024 06:05 PM EST",
|
|
88
|
-
homepage: "https://github.com/aversini/ui-components",
|
|
89
|
-
license: "MIT"
|
|
90
|
-
});
|
|
91
|
-
} catch {
|
|
92
|
-
}
|
|
93
|
-
export {
|
|
94
|
-
T as Modal,
|
|
95
|
-
j as ModalClose,
|
|
96
|
-
A as ModalContent,
|
|
97
|
-
V as ModalDescription,
|
|
98
|
-
U as ModalHeading
|
|
99
|
-
};
|