melonykit 0.16.3 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { n as e, t } from "./browser-
|
|
2
|
-
import {
|
|
1
|
+
import { n as e, t } from "./browser-BBrs7hJl.js";
|
|
2
|
+
import { _ as n, n as r } from "./functions-CSuMpnOY.js";
|
|
3
3
|
import { useSignal as i } from "@preact/signals";
|
|
4
|
-
import { useEffect as a, useId as o, useRef as s
|
|
5
|
-
import { Fragment as
|
|
4
|
+
import { useEffect as a, useId as o, useRef as s } from "preact/hooks";
|
|
5
|
+
import { Fragment as c, jsx as l, jsxs as u } from "preact/jsx-runtime";
|
|
6
6
|
//#region node_modules/@emotion/sheet/dist/emotion-sheet.esm.js
|
|
7
|
-
function
|
|
7
|
+
function d(e) {
|
|
8
8
|
if (e.sheet) return e.sheet;
|
|
9
9
|
/* istanbul ignore next */
|
|
10
10
|
for (var t = 0; t < document.styleSheets.length; t++) if (document.styleSheets[t].ownerNode === e) return document.styleSheets[t];
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function f(e) {
|
|
13
13
|
var t = document.createElement("style");
|
|
14
14
|
return t.setAttribute("data-emotion", e.key), e.nonce !== void 0 && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t;
|
|
15
15
|
}
|
|
16
|
-
var
|
|
16
|
+
var p = /*#__PURE__*/ function() {
|
|
17
17
|
function e(e) {
|
|
18
18
|
var t = this;
|
|
19
19
|
this._insertTag = function(e) {
|
|
@@ -25,10 +25,10 @@ var m = /*#__PURE__*/ function() {
|
|
|
25
25
|
return t.hydrate = function(e) {
|
|
26
26
|
e.forEach(this._insertTag);
|
|
27
27
|
}, t.insert = function(e) {
|
|
28
|
-
this.ctr % (this.isSpeedy ? 65e3 : 1) == 0 && this._insertTag(
|
|
28
|
+
this.ctr % (this.isSpeedy ? 65e3 : 1) == 0 && this._insertTag(f(this));
|
|
29
29
|
var t = this.tags[this.tags.length - 1];
|
|
30
30
|
if (this.isSpeedy) {
|
|
31
|
-
var n =
|
|
31
|
+
var n = d(t);
|
|
32
32
|
try {
|
|
33
33
|
n.insertRule(e, n.cssRules.length);
|
|
34
34
|
} catch {}
|
|
@@ -39,44 +39,44 @@ var m = /*#__PURE__*/ function() {
|
|
|
39
39
|
return e.parentNode?.removeChild(e);
|
|
40
40
|
}), this.tags = [], this.ctr = 0;
|
|
41
41
|
}, e;
|
|
42
|
-
}(),
|
|
43
|
-
function
|
|
44
|
-
return
|
|
42
|
+
}(), m = "-ms-", h = "-moz-", g = "-webkit-", _ = "comm", v = "rule", y = "decl", b = "@import", x = "@keyframes", S = "@layer", C = Math.abs, w = String.fromCharCode, T = Object.assign;
|
|
43
|
+
function ee(e, t) {
|
|
44
|
+
return D(e, 0) ^ 45 ? (((t << 2 ^ D(e, 0)) << 2 ^ D(e, 1)) << 2 ^ D(e, 2)) << 2 ^ D(e, 3) : 0;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function te(e) {
|
|
47
47
|
return e.trim();
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function ne(e, t) {
|
|
50
50
|
return (e = t.exec(e)) ? e[0] : e;
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function E(e, t, n) {
|
|
53
53
|
return e.replace(t, n);
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function re(e, t) {
|
|
56
56
|
return e.indexOf(t);
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function D(e, t) {
|
|
59
59
|
return e.charCodeAt(t) | 0;
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function O(e, t, n) {
|
|
62
62
|
return e.slice(t, n);
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function k(e) {
|
|
65
65
|
return e.length;
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function ie(e) {
|
|
68
68
|
return e.length;
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function ae(e, t) {
|
|
71
71
|
return t.push(e), e;
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function oe(e, t) {
|
|
74
74
|
return e.map(t).join("");
|
|
75
75
|
}
|
|
76
76
|
//#endregion
|
|
77
77
|
//#region node_modules/stylis/src/Tokenizer.js
|
|
78
|
-
var
|
|
79
|
-
function
|
|
78
|
+
var se = 1, A = 1, ce = 0, j = 0, M = 0, N = "";
|
|
79
|
+
function le(e, t, n, r, i, a, o) {
|
|
80
80
|
return {
|
|
81
81
|
value: e,
|
|
82
82
|
root: t,
|
|
@@ -84,34 +84,34 @@ function fe(e, t, n, r, i, a, o) {
|
|
|
84
84
|
type: r,
|
|
85
85
|
props: i,
|
|
86
86
|
children: a,
|
|
87
|
-
line:
|
|
88
|
-
column:
|
|
87
|
+
line: se,
|
|
88
|
+
column: A,
|
|
89
89
|
length: o,
|
|
90
90
|
return: ""
|
|
91
91
|
};
|
|
92
92
|
}
|
|
93
|
-
function
|
|
94
|
-
return
|
|
93
|
+
function P(e, t) {
|
|
94
|
+
return T(le("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
95
95
|
}
|
|
96
|
-
function
|
|
97
|
-
return
|
|
96
|
+
function ue() {
|
|
97
|
+
return M;
|
|
98
98
|
}
|
|
99
|
-
function
|
|
100
|
-
return
|
|
99
|
+
function de() {
|
|
100
|
+
return M = j > 0 ? D(N, --j) : 0, A--, M === 10 && (A = 1, se--), M;
|
|
101
101
|
}
|
|
102
|
-
function
|
|
103
|
-
return
|
|
102
|
+
function F() {
|
|
103
|
+
return M = j < ce ? D(N, j++) : 0, A++, M === 10 && (A = 1, se++), M;
|
|
104
104
|
}
|
|
105
|
-
function
|
|
106
|
-
return
|
|
105
|
+
function I() {
|
|
106
|
+
return D(N, j);
|
|
107
107
|
}
|
|
108
|
-
function
|
|
109
|
-
return
|
|
108
|
+
function fe() {
|
|
109
|
+
return j;
|
|
110
110
|
}
|
|
111
|
-
function
|
|
112
|
-
return
|
|
111
|
+
function pe(e, t) {
|
|
112
|
+
return O(N, e, t);
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function L(e) {
|
|
115
115
|
switch (e) {
|
|
116
116
|
case 0:
|
|
117
117
|
case 9:
|
|
@@ -138,80 +138,80 @@ function I(e) {
|
|
|
138
138
|
}
|
|
139
139
|
return 0;
|
|
140
140
|
}
|
|
141
|
+
function me(e) {
|
|
142
|
+
return se = A = 1, ce = k(N = e), j = 0, [];
|
|
143
|
+
}
|
|
144
|
+
function he(e) {
|
|
145
|
+
return N = "", e;
|
|
146
|
+
}
|
|
141
147
|
function ge(e) {
|
|
142
|
-
return
|
|
148
|
+
return te(pe(j - 1, ye(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
143
149
|
}
|
|
144
150
|
function _e(e) {
|
|
145
|
-
|
|
151
|
+
for (; (M = I()) && M < 33;) F();
|
|
152
|
+
return L(e) > 2 || L(M) > 3 ? "" : " ";
|
|
146
153
|
}
|
|
147
|
-
function ve(e) {
|
|
148
|
-
|
|
154
|
+
function ve(e, t) {
|
|
155
|
+
for (; --t && F() && !(M < 48 || M > 102 || M > 57 && M < 65 || M > 70 && M < 97););
|
|
156
|
+
return pe(e, fe() + (t < 6 && I() == 32 && F() == 32));
|
|
149
157
|
}
|
|
150
158
|
function ye(e) {
|
|
151
|
-
for (; (
|
|
152
|
-
|
|
153
|
-
}
|
|
154
|
-
function be(e, t) {
|
|
155
|
-
for (; --t && N() && !(A < 48 || A > 102 || A > 57 && A < 65 || A > 70 && A < 97););
|
|
156
|
-
return F(e, he() + (t < 6 && P() == 32 && N() == 32));
|
|
157
|
-
}
|
|
158
|
-
function xe(e) {
|
|
159
|
-
for (; N();) switch (A) {
|
|
160
|
-
case e: return k;
|
|
159
|
+
for (; F();) switch (M) {
|
|
160
|
+
case e: return j;
|
|
161
161
|
case 34:
|
|
162
162
|
case 39:
|
|
163
|
-
e !== 34 && e !== 39 &&
|
|
163
|
+
e !== 34 && e !== 39 && ye(M);
|
|
164
164
|
break;
|
|
165
165
|
case 40:
|
|
166
|
-
e === 41 &&
|
|
166
|
+
e === 41 && ye(e);
|
|
167
167
|
break;
|
|
168
|
-
case 92:
|
|
168
|
+
case 92: F();
|
|
169
169
|
}
|
|
170
|
-
return
|
|
170
|
+
return j;
|
|
171
171
|
}
|
|
172
|
-
function
|
|
173
|
-
for (;
|
|
174
|
-
return "/*" +
|
|
172
|
+
function be(e, t) {
|
|
173
|
+
for (; F() && e + M !== 57 && (e + M !== 84 || I() !== 47););
|
|
174
|
+
return "/*" + pe(t, j - 1) + "*" + w(e === 47 ? e : F());
|
|
175
175
|
}
|
|
176
|
-
function
|
|
177
|
-
for (; !I(
|
|
178
|
-
return
|
|
176
|
+
function xe(e) {
|
|
177
|
+
for (; !L(I());) F();
|
|
178
|
+
return pe(e, j);
|
|
179
179
|
}
|
|
180
180
|
//#endregion
|
|
181
181
|
//#region node_modules/stylis/src/Parser.js
|
|
182
|
-
function
|
|
183
|
-
return
|
|
182
|
+
function Se(e) {
|
|
183
|
+
return he(Ce("", null, null, null, [""], e = me(e), 0, [0], e));
|
|
184
184
|
}
|
|
185
|
-
function
|
|
186
|
-
for (var l = 0, u = 0, d = o, f = 0, p = 0, m = 0, h = 1, g = 1, _ = 1, v = 0, y = "", b = i, x = a, S = r, C = y; g;) switch (m = v, v =
|
|
187
|
-
case 40: if (m != 108 &&
|
|
188
|
-
|
|
185
|
+
function Ce(e, t, n, r, i, a, o, s, c) {
|
|
186
|
+
for (var l = 0, u = 0, d = o, f = 0, p = 0, m = 0, h = 1, g = 1, _ = 1, v = 0, y = "", b = i, x = a, S = r, C = y; g;) switch (m = v, v = F()) {
|
|
187
|
+
case 40: if (m != 108 && D(C, d - 1) == 58) {
|
|
188
|
+
re(C += E(ge(v), "&", "&\f"), "&\f") != -1 && (_ = -1);
|
|
189
189
|
break;
|
|
190
190
|
}
|
|
191
191
|
case 34:
|
|
192
192
|
case 39:
|
|
193
193
|
case 91:
|
|
194
|
-
C +=
|
|
194
|
+
C += ge(v);
|
|
195
195
|
break;
|
|
196
196
|
case 9:
|
|
197
197
|
case 10:
|
|
198
198
|
case 13:
|
|
199
199
|
case 32:
|
|
200
|
-
C +=
|
|
200
|
+
C += _e(m);
|
|
201
201
|
break;
|
|
202
202
|
case 92:
|
|
203
|
-
C +=
|
|
203
|
+
C += ve(fe() - 1, 7);
|
|
204
204
|
continue;
|
|
205
205
|
case 47:
|
|
206
|
-
switch (
|
|
206
|
+
switch (I()) {
|
|
207
207
|
case 42:
|
|
208
208
|
case 47:
|
|
209
|
-
|
|
209
|
+
ae(Te(be(F(), fe()), t, n), c);
|
|
210
210
|
break;
|
|
211
211
|
default: C += "/";
|
|
212
212
|
}
|
|
213
213
|
break;
|
|
214
|
-
case 123 * h: s[l++] =
|
|
214
|
+
case 123 * h: s[l++] = k(C) * _;
|
|
215
215
|
case 125 * h:
|
|
216
216
|
case 59:
|
|
217
217
|
case 0:
|
|
@@ -219,89 +219,89 @@ function Te(e, t, n, r, i, a, o, s, c) {
|
|
|
219
219
|
case 0:
|
|
220
220
|
case 125: g = 0;
|
|
221
221
|
case 59 + u:
|
|
222
|
-
_ == -1 && (C =
|
|
222
|
+
_ == -1 && (C = E(C, /\f/g, "")), p > 0 && k(C) - d && ae(p > 32 ? Ee(C + ";", r, n, d - 1) : Ee(E(C, " ", "") + ";", r, n, d - 2), c);
|
|
223
223
|
break;
|
|
224
224
|
case 59: C += ";";
|
|
225
|
-
default: if (
|
|
226
|
-
if (u === 0)
|
|
227
|
-
else switch (f === 99 &&
|
|
225
|
+
default: if (ae(S = we(C, t, n, l, u, i, s, y, b = [], x = [], d), a), v === 123) {
|
|
226
|
+
if (u === 0) Ce(C, t, S, S, b, a, d, s, x);
|
|
227
|
+
else switch (f === 99 && D(C, 3) === 110 ? 100 : f) {
|
|
228
228
|
case 100:
|
|
229
229
|
case 108:
|
|
230
230
|
case 109:
|
|
231
231
|
case 115:
|
|
232
|
-
|
|
232
|
+
Ce(e, S, S, r && ae(we(e, S, S, 0, 0, i, s, y, i, b = [], d), x), i, x, d, s, r ? b : x);
|
|
233
233
|
break;
|
|
234
|
-
default:
|
|
234
|
+
default: Ce(C, S, S, S, [""], x, 0, s, x);
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
l = u = p = 0, h = _ = 1, y = C = "", d = o;
|
|
239
239
|
break;
|
|
240
|
-
case 58: d = 1 +
|
|
240
|
+
case 58: d = 1 + k(C), p = m;
|
|
241
241
|
default:
|
|
242
242
|
if (h < 1) {
|
|
243
243
|
if (v == 123) --h;
|
|
244
|
-
else if (v == 125 && h++ == 0 &&
|
|
244
|
+
else if (v == 125 && h++ == 0 && de() == 125) continue;
|
|
245
245
|
}
|
|
246
246
|
switch (C += w(v), v * h) {
|
|
247
247
|
case 38:
|
|
248
248
|
_ = u > 0 ? 1 : (C += "\f", -1);
|
|
249
249
|
break;
|
|
250
250
|
case 44:
|
|
251
|
-
s[l++] = (
|
|
251
|
+
s[l++] = (k(C) - 1) * _, _ = 1;
|
|
252
252
|
break;
|
|
253
253
|
case 64:
|
|
254
|
-
|
|
254
|
+
I() === 45 && (C += ge(F())), f = I(), u = d = k(y = C += xe(fe())), v++;
|
|
255
255
|
break;
|
|
256
|
-
case 45: m === 45 &&
|
|
256
|
+
case 45: m === 45 && k(C) == 2 && (h = 0);
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
259
|
return a;
|
|
260
260
|
}
|
|
261
|
-
function
|
|
262
|
-
for (var d = i - 1, f = i === 0 ? a : [""], p =
|
|
263
|
-
return
|
|
261
|
+
function we(e, t, n, r, i, a, o, s, c, l, u) {
|
|
262
|
+
for (var d = i - 1, f = i === 0 ? a : [""], p = ie(f), m = 0, h = 0, g = 0; m < r; ++m) for (var _ = 0, y = O(e, d + 1, d = C(h = o[m])), b = e; _ < p; ++_) (b = te(h > 0 ? f[_] + " " + y : E(y, /&\f/g, f[_]))) && (c[g++] = b);
|
|
263
|
+
return le(e, t, n, i === 0 ? v : s, c, l, u);
|
|
264
264
|
}
|
|
265
|
-
function
|
|
266
|
-
return
|
|
265
|
+
function Te(e, t, n) {
|
|
266
|
+
return le(e, t, n, _, w(ue()), O(e, 2, -2), 0);
|
|
267
267
|
}
|
|
268
|
-
function
|
|
269
|
-
return
|
|
268
|
+
function Ee(e, t, n, r) {
|
|
269
|
+
return le(e, t, n, y, O(e, 0, r), O(e, r + 1, -1), r);
|
|
270
270
|
}
|
|
271
271
|
//#endregion
|
|
272
272
|
//#region node_modules/stylis/src/Serializer.js
|
|
273
|
-
function
|
|
274
|
-
for (var n = "", r =
|
|
273
|
+
function R(e, t) {
|
|
274
|
+
for (var n = "", r = ie(e), i = 0; i < r; i++) n += t(e[i], i, e, t) || "";
|
|
275
275
|
return n;
|
|
276
276
|
}
|
|
277
|
-
function
|
|
277
|
+
function De(e, t, n, r) {
|
|
278
278
|
switch (e.type) {
|
|
279
|
-
case
|
|
280
|
-
case
|
|
281
|
-
case
|
|
282
|
-
case
|
|
283
|
-
case
|
|
284
|
-
case
|
|
279
|
+
case S: if (e.children.length) break;
|
|
280
|
+
case b:
|
|
281
|
+
case y: return e.return = e.return || e.value;
|
|
282
|
+
case _: return "";
|
|
283
|
+
case x: return e.return = e.value + "{" + R(e.children, r) + "}";
|
|
284
|
+
case v: e.value = e.props.join(",");
|
|
285
285
|
}
|
|
286
|
-
return
|
|
286
|
+
return k(n = R(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
|
|
287
287
|
}
|
|
288
288
|
//#endregion
|
|
289
289
|
//#region node_modules/stylis/src/Middleware.js
|
|
290
|
-
function
|
|
291
|
-
var t =
|
|
290
|
+
function Oe(e) {
|
|
291
|
+
var t = ie(e);
|
|
292
292
|
return function(n, r, i, a) {
|
|
293
293
|
for (var o = "", s = 0; s < t; s++) o += e[s](n, r, i, a) || "";
|
|
294
294
|
return o;
|
|
295
295
|
};
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function ke(e) {
|
|
298
298
|
return function(t) {
|
|
299
299
|
t.root || (t = t.return) && e(t);
|
|
300
300
|
};
|
|
301
301
|
}
|
|
302
302
|
//#endregion
|
|
303
303
|
//#region node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
|
|
304
|
-
function
|
|
304
|
+
function Ae(e) {
|
|
305
305
|
var t = Object.create(null);
|
|
306
306
|
return function(n) {
|
|
307
307
|
return t[n] === void 0 && (t[n] = e(n)), t[n];
|
|
@@ -309,46 +309,46 @@ function Me(e) {
|
|
|
309
309
|
}
|
|
310
310
|
//#endregion
|
|
311
311
|
//#region node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js
|
|
312
|
-
var
|
|
313
|
-
for (var r = 0, i = 0; r = i, i =
|
|
314
|
-
return
|
|
315
|
-
},
|
|
312
|
+
var je = function(e, t, n) {
|
|
313
|
+
for (var r = 0, i = 0; r = i, i = I(), r === 38 && i === 12 && (t[n] = 1), !L(i);) F();
|
|
314
|
+
return pe(e, j);
|
|
315
|
+
}, Me = function(e, t) {
|
|
316
316
|
var n = -1, r = 44;
|
|
317
317
|
do
|
|
318
|
-
switch (
|
|
318
|
+
switch (L(r)) {
|
|
319
319
|
case 0:
|
|
320
|
-
r === 38 &&
|
|
320
|
+
r === 38 && I() === 12 && (t[n] = 1), e[n] += je(j - 1, t, n);
|
|
321
321
|
break;
|
|
322
322
|
case 2:
|
|
323
|
-
e[n] +=
|
|
323
|
+
e[n] += ge(r);
|
|
324
324
|
break;
|
|
325
325
|
case 4: if (r === 44) {
|
|
326
|
-
e[++n] =
|
|
326
|
+
e[++n] = I() === 58 ? "&\f" : "", t[n] = e[n].length;
|
|
327
327
|
break;
|
|
328
328
|
}
|
|
329
329
|
default: e[n] += w(r);
|
|
330
330
|
}
|
|
331
|
-
while (r =
|
|
331
|
+
while (r = F());
|
|
332
332
|
return e;
|
|
333
|
-
},
|
|
334
|
-
return
|
|
335
|
-
},
|
|
333
|
+
}, Ne = function(e, t) {
|
|
334
|
+
return he(Me(me(e), t));
|
|
335
|
+
}, Pe = /* #__PURE__ */ new WeakMap(), Fe = function(e) {
|
|
336
336
|
if (!(e.type !== "rule" || !e.parent || e.length < 1)) {
|
|
337
337
|
for (var t = e.value, n = e.parent, r = e.column === n.column && e.line === n.line; n.type !== "rule";) if (n = n.parent, !n) return;
|
|
338
|
-
if ((e.props.length !== 1 || t.charCodeAt(0) === 58 ||
|
|
339
|
-
|
|
340
|
-
for (var i = [], a =
|
|
338
|
+
if ((e.props.length !== 1 || t.charCodeAt(0) === 58 || Pe.get(n)) && !r) {
|
|
339
|
+
Pe.set(e, !0);
|
|
340
|
+
for (var i = [], a = Ne(t, i), o = n.props, s = 0, c = 0; s < a.length; s++) for (var l = 0; l < o.length; l++, c++) e.props[c] = i[s] ? a[s].replace(/&\f/g, o[l]) : o[l] + " " + a[s];
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
},
|
|
343
|
+
}, Ie = function(e) {
|
|
344
344
|
if (e.type === "decl") {
|
|
345
345
|
var t = e.value;
|
|
346
346
|
t.charCodeAt(0) === 108 && t.charCodeAt(2) === 98 && (e.return = "", e.value = "");
|
|
347
347
|
}
|
|
348
348
|
};
|
|
349
|
-
function
|
|
350
|
-
switch (
|
|
351
|
-
case 5103: return
|
|
349
|
+
function Le(e, t) {
|
|
350
|
+
switch (ee(e, t)) {
|
|
351
|
+
case 5103: return g + "print-" + e + e;
|
|
352
352
|
case 5737:
|
|
353
353
|
case 4201:
|
|
354
354
|
case 3177:
|
|
@@ -373,30 +373,30 @@ function ze(e, t) {
|
|
|
373
373
|
case 5109:
|
|
374
374
|
case 5365:
|
|
375
375
|
case 5621:
|
|
376
|
-
case 3829: return
|
|
376
|
+
case 3829: return g + e + e;
|
|
377
377
|
case 5349:
|
|
378
378
|
case 4246:
|
|
379
379
|
case 4810:
|
|
380
380
|
case 6968:
|
|
381
|
-
case 2756: return
|
|
381
|
+
case 2756: return g + e + h + e + m + e + e;
|
|
382
382
|
case 6828:
|
|
383
|
-
case 4268: return
|
|
384
|
-
case 6165: return
|
|
385
|
-
case 5187: return
|
|
386
|
-
case 5443: return
|
|
387
|
-
case 4675: return
|
|
388
|
-
case 5548: return
|
|
389
|
-
case 5292: return
|
|
390
|
-
case 6060: return
|
|
391
|
-
case 4554: return
|
|
392
|
-
case 6187: return
|
|
383
|
+
case 4268: return g + e + m + e + e;
|
|
384
|
+
case 6165: return g + e + m + "flex-" + e + e;
|
|
385
|
+
case 5187: return g + e + E(e, /(\w+).+(:[^]+)/, g + "box-$1$2" + m + "flex-$1$2") + e;
|
|
386
|
+
case 5443: return g + e + m + "flex-item-" + E(e, /flex-|-self/, "") + e;
|
|
387
|
+
case 4675: return g + e + m + "flex-line-pack" + E(e, /align-content|flex-|-self/, "") + e;
|
|
388
|
+
case 5548: return g + e + m + E(e, "shrink", "negative") + e;
|
|
389
|
+
case 5292: return g + e + m + E(e, "basis", "preferred-size") + e;
|
|
390
|
+
case 6060: return g + "box-" + E(e, "-grow", "") + g + e + m + E(e, "grow", "positive") + e;
|
|
391
|
+
case 4554: return g + E(e, /([^-])(transform)/g, "$1" + g + "$2") + e;
|
|
392
|
+
case 6187: return E(E(E(e, /(zoom-|grab)/, g + "$1"), /(image-set)/, g + "$1"), e, "") + e;
|
|
393
393
|
case 5495:
|
|
394
|
-
case 3959: return
|
|
395
|
-
case 4968: return
|
|
394
|
+
case 3959: return E(e, /(image-set\([^]*)/, g + "$1$`$1");
|
|
395
|
+
case 4968: return E(E(e, /(.+:)(flex-)?(.*)/, g + "box-pack:$3" + m + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + g + e + e;
|
|
396
396
|
case 4095:
|
|
397
397
|
case 3583:
|
|
398
398
|
case 4068:
|
|
399
|
-
case 2532: return
|
|
399
|
+
case 2532: return E(e, /(.+)-inline(.+)/, g + "$1$2") + e;
|
|
400
400
|
case 8116:
|
|
401
401
|
case 7059:
|
|
402
402
|
case 5753:
|
|
@@ -409,49 +409,49 @@ function ze(e, t) {
|
|
|
409
409
|
case 5789:
|
|
410
410
|
case 5021:
|
|
411
411
|
case 4765:
|
|
412
|
-
if (
|
|
413
|
-
case 109: if (
|
|
414
|
-
case 102: return
|
|
415
|
-
case 115: return ~
|
|
412
|
+
if (k(e) - 1 - t > 6) switch (D(e, t + 1)) {
|
|
413
|
+
case 109: if (D(e, t + 4) !== 45) break;
|
|
414
|
+
case 102: return E(e, /(.+:)(.+)-([^]+)/, "$1" + g + "$2-$3$1" + h + (D(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
415
|
+
case 115: return ~re(e, "stretch") ? Le(E(e, "stretch", "fill-available"), t) + e : e;
|
|
416
416
|
}
|
|
417
417
|
break;
|
|
418
|
-
case 4949: if (
|
|
418
|
+
case 4949: if (D(e, t + 1) !== 115) break;
|
|
419
419
|
case 6444:
|
|
420
|
-
switch (
|
|
421
|
-
case 107: return
|
|
422
|
-
case 101: return
|
|
420
|
+
switch (D(e, k(e) - 3 - (~re(e, "!important") && 10))) {
|
|
421
|
+
case 107: return E(e, ":", ":" + g) + e;
|
|
422
|
+
case 101: return E(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + g + (D(e, 14) === 45 ? "inline-" : "") + "box$3$1" + g + "$2$3$1" + m + "$2box$3") + e;
|
|
423
423
|
}
|
|
424
424
|
break;
|
|
425
425
|
case 5936:
|
|
426
|
-
switch (
|
|
427
|
-
case 114: return
|
|
428
|
-
case 108: return
|
|
429
|
-
case 45: return
|
|
426
|
+
switch (D(e, t + 11)) {
|
|
427
|
+
case 114: return g + e + m + E(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
428
|
+
case 108: return g + e + m + E(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
429
|
+
case 45: return g + e + m + E(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
430
430
|
}
|
|
431
|
-
return
|
|
431
|
+
return g + e + m + e + e;
|
|
432
432
|
}
|
|
433
433
|
return e;
|
|
434
434
|
}
|
|
435
|
-
var
|
|
435
|
+
var Re = [function(e, t, n, r) {
|
|
436
436
|
if (e.length > -1 && !e.return) switch (e.type) {
|
|
437
|
-
case
|
|
438
|
-
e.return =
|
|
437
|
+
case y:
|
|
438
|
+
e.return = Le(e.value, e.length);
|
|
439
439
|
break;
|
|
440
|
-
case
|
|
441
|
-
case
|
|
442
|
-
switch (
|
|
440
|
+
case x: return R([P(e, { value: E(e.value, "@", "@" + g) })], r);
|
|
441
|
+
case v: if (e.length) return oe(e.props, function(t) {
|
|
442
|
+
switch (ne(t, /(::plac\w+|:read-\w+)/)) {
|
|
443
443
|
case ":read-only":
|
|
444
|
-
case ":read-write": return
|
|
445
|
-
case "::placeholder": return
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
444
|
+
case ":read-write": return R([P(e, { props: [E(t, /:(read-\w+)/, ":" + h + "$1")] })], r);
|
|
445
|
+
case "::placeholder": return R([
|
|
446
|
+
P(e, { props: [E(t, /:(plac\w+)/, ":" + g + "input-$1")] }),
|
|
447
|
+
P(e, { props: [E(t, /:(plac\w+)/, ":" + h + "$1")] }),
|
|
448
|
+
P(e, { props: [E(t, /:(plac\w+)/, m + "input-$1")] })
|
|
449
449
|
], r);
|
|
450
450
|
}
|
|
451
451
|
return "";
|
|
452
452
|
});
|
|
453
453
|
}
|
|
454
|
-
}],
|
|
454
|
+
}], ze = function(e) {
|
|
455
455
|
var t = e.key;
|
|
456
456
|
if (t === "css") {
|
|
457
457
|
var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
@@ -459,22 +459,22 @@ var Be = [function(e, t, n, r) {
|
|
|
459
459
|
e.getAttribute("data-emotion").indexOf(" ") !== -1 && (document.head.appendChild(e), e.setAttribute("data-s", ""));
|
|
460
460
|
});
|
|
461
461
|
}
|
|
462
|
-
var r = e.stylisPlugins ||
|
|
462
|
+
var r = e.stylisPlugins || Re, i = {}, a, o = [];
|
|
463
463
|
a = e.container || document.head, Array.prototype.forEach.call(document.querySelectorAll("style[data-emotion^=\"" + t + " \"]"), function(e) {
|
|
464
464
|
for (var t = e.getAttribute("data-emotion").split(" "), n = 1; n < t.length; n++) i[t[n]] = !0;
|
|
465
465
|
o.push(e);
|
|
466
466
|
});
|
|
467
|
-
var s, c = [
|
|
467
|
+
var s, c = [Fe, Ie], l, u = [De, ke(function(e) {
|
|
468
468
|
l.insert(e);
|
|
469
|
-
})], d =
|
|
470
|
-
return
|
|
469
|
+
})], d = Oe(c.concat(r, u)), f = function(e) {
|
|
470
|
+
return R(Se(e), d);
|
|
471
471
|
};
|
|
472
472
|
s = function(e, t, n, r) {
|
|
473
|
-
l = n, f(e ? e + "{" + t.styles + "}" : t.styles), r && (
|
|
473
|
+
l = n, f(e ? e + "{" + t.styles + "}" : t.styles), r && (m.inserted[t.name] = !0);
|
|
474
474
|
};
|
|
475
|
-
var
|
|
475
|
+
var m = {
|
|
476
476
|
key: t,
|
|
477
|
-
sheet: new
|
|
477
|
+
sheet: new p({
|
|
478
478
|
key: t,
|
|
479
479
|
container: a,
|
|
480
480
|
nonce: e.nonce,
|
|
@@ -487,11 +487,11 @@ var Be = [function(e, t, n, r) {
|
|
|
487
487
|
registered: {},
|
|
488
488
|
insert: s
|
|
489
489
|
};
|
|
490
|
-
return
|
|
490
|
+
return m.sheet.hydrate(o), m;
|
|
491
491
|
};
|
|
492
492
|
//#endregion
|
|
493
493
|
//#region node_modules/@emotion/hash/dist/emotion-hash.esm.js
|
|
494
|
-
function
|
|
494
|
+
function Be(e) {
|
|
495
495
|
for (var t = 0, n, r = 0, i = e.length; i >= 4; ++r, i -= 4) n = e.charCodeAt(r) & 255 | (e.charCodeAt(++r) & 255) << 8 | (e.charCodeAt(++r) & 255) << 16 | (e.charCodeAt(++r) & 255) << 24, n = (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= n >>> 24, t = (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16) ^ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
|
|
496
496
|
switch (i) {
|
|
497
497
|
case 3: t ^= (e.charCodeAt(r + 2) & 255) << 16;
|
|
@@ -502,7 +502,7 @@ function He(e) {
|
|
|
502
502
|
}
|
|
503
503
|
//#endregion
|
|
504
504
|
//#region node_modules/@emotion/unitless/dist/emotion-unitless.esm.js
|
|
505
|
-
var
|
|
505
|
+
var Ve = {
|
|
506
506
|
animationIterationCount: 1,
|
|
507
507
|
aspectRatio: 1,
|
|
508
508
|
borderImageOutset: 1,
|
|
@@ -550,26 +550,26 @@ var Ue = {
|
|
|
550
550
|
strokeMiterlimit: 1,
|
|
551
551
|
strokeOpacity: 1,
|
|
552
552
|
strokeWidth: 1
|
|
553
|
-
},
|
|
553
|
+
}, He = /[A-Z]|^ms/g, Ue = /_EMO_([^_]+?)_([^]*?)_EMO_/g, We = function(e) {
|
|
554
554
|
return e.charCodeAt(1) === 45;
|
|
555
|
-
},
|
|
555
|
+
}, Ge = function(e) {
|
|
556
556
|
return e != null && typeof e != "boolean";
|
|
557
|
-
},
|
|
558
|
-
return
|
|
559
|
-
}),
|
|
557
|
+
}, Ke = /* #__PURE__ */ Ae(function(e) {
|
|
558
|
+
return We(e) ? e : e.replace(He, "-$&").toLowerCase();
|
|
559
|
+
}), qe = function(e, t) {
|
|
560
560
|
switch (e) {
|
|
561
561
|
case "animation":
|
|
562
|
-
case "animationName": if (typeof t == "string") return t.replace(
|
|
563
|
-
return
|
|
562
|
+
case "animationName": if (typeof t == "string") return t.replace(Ue, function(e, t, n) {
|
|
563
|
+
return B = {
|
|
564
564
|
name: t,
|
|
565
565
|
styles: n,
|
|
566
|
-
next:
|
|
566
|
+
next: B
|
|
567
567
|
}, t;
|
|
568
568
|
});
|
|
569
569
|
}
|
|
570
|
-
return
|
|
570
|
+
return Ve[e] !== 1 && !We(e) && typeof t == "number" && t !== 0 ? t + "px" : t;
|
|
571
571
|
};
|
|
572
|
-
function
|
|
572
|
+
function z(e, t, n) {
|
|
573
573
|
if (n == null) return "";
|
|
574
574
|
var r = n;
|
|
575
575
|
if (r.__emotion_styles !== void 0) return r;
|
|
@@ -577,25 +577,25 @@ function R(e, t, n) {
|
|
|
577
577
|
case "boolean": return "";
|
|
578
578
|
case "object":
|
|
579
579
|
var i = n;
|
|
580
|
-
if (i.anim === 1) return
|
|
580
|
+
if (i.anim === 1) return B = {
|
|
581
581
|
name: i.name,
|
|
582
582
|
styles: i.styles,
|
|
583
|
-
next:
|
|
583
|
+
next: B
|
|
584
584
|
}, i.name;
|
|
585
585
|
var a = n;
|
|
586
586
|
if (a.styles !== void 0) {
|
|
587
587
|
var o = a.next;
|
|
588
|
-
if (o !== void 0) for (; o !== void 0;)
|
|
588
|
+
if (o !== void 0) for (; o !== void 0;) B = {
|
|
589
589
|
name: o.name,
|
|
590
590
|
styles: o.styles,
|
|
591
|
-
next:
|
|
591
|
+
next: B
|
|
592
592
|
}, o = o.next;
|
|
593
593
|
return a.styles + ";";
|
|
594
594
|
}
|
|
595
|
-
return
|
|
595
|
+
return Je(e, t, n);
|
|
596
596
|
case "function": if (e !== void 0) {
|
|
597
|
-
var s =
|
|
598
|
-
return
|
|
597
|
+
var s = B, c = n(e);
|
|
598
|
+
return B = s, z(e, t, c);
|
|
599
599
|
}
|
|
600
600
|
}
|
|
601
601
|
var l = n;
|
|
@@ -603,21 +603,21 @@ function R(e, t, n) {
|
|
|
603
603
|
var u = t[l];
|
|
604
604
|
return u === void 0 ? l : u;
|
|
605
605
|
}
|
|
606
|
-
function
|
|
606
|
+
function Je(e, t, n) {
|
|
607
607
|
var r = "";
|
|
608
|
-
if (Array.isArray(n)) for (var i = 0; i < n.length; i++) r +=
|
|
608
|
+
if (Array.isArray(n)) for (var i = 0; i < n.length; i++) r += z(e, t, n[i]) + ";";
|
|
609
609
|
else for (var a in n) {
|
|
610
610
|
var o = n[a];
|
|
611
611
|
if (typeof o != "object") {
|
|
612
612
|
var s = o;
|
|
613
|
-
t != null && t[s] !== void 0 ? r += a + "{" + t[s] + "}" :
|
|
614
|
-
} else if (Array.isArray(o) && typeof o[0] == "string" && (t == null || t[o[0]] === void 0)) for (var c = 0; c < o.length; c++)
|
|
613
|
+
t != null && t[s] !== void 0 ? r += a + "{" + t[s] + "}" : Ge(s) && (r += Ke(a) + ":" + qe(a, s) + ";");
|
|
614
|
+
} else if (Array.isArray(o) && typeof o[0] == "string" && (t == null || t[o[0]] === void 0)) for (var c = 0; c < o.length; c++) Ge(o[c]) && (r += Ke(a) + ":" + qe(a, o[c]) + ";");
|
|
615
615
|
else {
|
|
616
|
-
var l =
|
|
616
|
+
var l = z(e, t, o);
|
|
617
617
|
switch (a) {
|
|
618
618
|
case "animation":
|
|
619
619
|
case "animationName":
|
|
620
|
-
r +=
|
|
620
|
+
r += Ke(a) + ":" + l + ";";
|
|
621
621
|
break;
|
|
622
622
|
default: r += a + "{" + l + "}";
|
|
623
623
|
}
|
|
@@ -625,35 +625,35 @@ function Xe(e, t, n) {
|
|
|
625
625
|
}
|
|
626
626
|
return r;
|
|
627
627
|
}
|
|
628
|
-
var
|
|
629
|
-
function
|
|
628
|
+
var Ye = /label:\s*([^\s;{]+)\s*(;|$)/g, B;
|
|
629
|
+
function Xe(e, t, n) {
|
|
630
630
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0) return e[0];
|
|
631
631
|
var r = !0, i = "";
|
|
632
|
-
|
|
632
|
+
B = void 0;
|
|
633
633
|
var a = e[0];
|
|
634
|
-
a == null || a.raw === void 0 ? (r = !1, i +=
|
|
635
|
-
for (var o = 1; o < e.length; o++) i +=
|
|
636
|
-
|
|
637
|
-
for (var s = "", c; (c =
|
|
634
|
+
a == null || a.raw === void 0 ? (r = !1, i += z(n, t, a)) : i += a[0];
|
|
635
|
+
for (var o = 1; o < e.length; o++) i += z(n, t, e[o]), r && (i += a[o]);
|
|
636
|
+
Ye.lastIndex = 0;
|
|
637
|
+
for (var s = "", c; (c = Ye.exec(i)) !== null;) s += "-" + c[1];
|
|
638
638
|
return {
|
|
639
|
-
name:
|
|
639
|
+
name: Be(i) + s,
|
|
640
640
|
styles: i,
|
|
641
|
-
next:
|
|
641
|
+
next: B
|
|
642
642
|
};
|
|
643
643
|
}
|
|
644
644
|
//#endregion
|
|
645
645
|
//#region node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js
|
|
646
|
-
function
|
|
646
|
+
function Ze(e, t, n) {
|
|
647
647
|
var r = "";
|
|
648
648
|
return n.split(" ").forEach(function(n) {
|
|
649
649
|
e[n] === void 0 ? n && (r += n + " ") : t.push(e[n] + ";");
|
|
650
650
|
}), r;
|
|
651
651
|
}
|
|
652
|
-
var
|
|
652
|
+
var Qe = function(e, t, n) {
|
|
653
653
|
var r = e.key + "-" + t.name;
|
|
654
654
|
n === !1 && e.registered[r] === void 0 && (e.registered[r] = t.styles);
|
|
655
|
-
},
|
|
656
|
-
|
|
655
|
+
}, $e = function(e, t, n) {
|
|
656
|
+
Qe(e, t, n);
|
|
657
657
|
var r = e.key + "-" + t.name;
|
|
658
658
|
if (e.inserted[t.name] === void 0) {
|
|
659
659
|
var i = t;
|
|
@@ -664,34 +664,34 @@ var et = function(e, t, n) {
|
|
|
664
664
|
};
|
|
665
665
|
//#endregion
|
|
666
666
|
//#region node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js
|
|
667
|
-
function
|
|
667
|
+
function et(e, t) {
|
|
668
668
|
if (e.inserted[t.name] === void 0) return e.insert("", t, e.sheet, !0);
|
|
669
669
|
}
|
|
670
|
-
function
|
|
671
|
-
var r = [], i =
|
|
670
|
+
function tt(e, t, n) {
|
|
671
|
+
var r = [], i = Ze(e, r, n);
|
|
672
672
|
return r.length < 2 ? n : i + t(r);
|
|
673
673
|
}
|
|
674
|
-
var
|
|
675
|
-
var t =
|
|
674
|
+
var nt = function(e) {
|
|
675
|
+
var t = ze(e);
|
|
676
676
|
t.sheet.speedy = function(e) {
|
|
677
677
|
this.isSpeedy = e;
|
|
678
678
|
}, t.compat = !0;
|
|
679
679
|
var n = function() {
|
|
680
|
-
var e =
|
|
681
|
-
return
|
|
680
|
+
var e = Xe([...arguments], t.registered, void 0);
|
|
681
|
+
return $e(t, e, !1), t.key + "-" + e.name;
|
|
682
682
|
};
|
|
683
683
|
return {
|
|
684
684
|
css: n,
|
|
685
685
|
cx: function() {
|
|
686
686
|
var e = [...arguments];
|
|
687
|
-
return
|
|
687
|
+
return tt(t.registered, n, rt(e));
|
|
688
688
|
},
|
|
689
689
|
injectGlobal: function() {
|
|
690
|
-
|
|
690
|
+
et(t, Xe([...arguments], t.registered));
|
|
691
691
|
},
|
|
692
692
|
keyframes: function() {
|
|
693
|
-
var e =
|
|
694
|
-
return
|
|
693
|
+
var e = Xe([...arguments], t.registered), n = "animation-" + e.name;
|
|
694
|
+
return et(t, {
|
|
695
695
|
name: e.name,
|
|
696
696
|
styles: "@keyframes " + n + "{" + e.styles + "}"
|
|
697
697
|
}), n;
|
|
@@ -706,10 +706,10 @@ var it = function(e) {
|
|
|
706
706
|
},
|
|
707
707
|
sheet: t.sheet,
|
|
708
708
|
cache: t,
|
|
709
|
-
getRegisteredStyles:
|
|
710
|
-
merge:
|
|
709
|
+
getRegisteredStyles: Ze.bind(null, t.registered),
|
|
710
|
+
merge: tt.bind(null, t.registered, n)
|
|
711
711
|
};
|
|
712
|
-
},
|
|
712
|
+
}, rt = function e(t) {
|
|
713
713
|
for (var n = "", r = 0; r < t.length; r++) {
|
|
714
714
|
var i = t[r];
|
|
715
715
|
if (i != null) {
|
|
@@ -726,15 +726,15 @@ var it = function(e) {
|
|
|
726
726
|
}
|
|
727
727
|
}
|
|
728
728
|
return n;
|
|
729
|
-
},
|
|
730
|
-
|
|
731
|
-
var
|
|
732
|
-
|
|
733
|
-
var
|
|
734
|
-
|
|
729
|
+
}, V = nt({ key: "css" });
|
|
730
|
+
V.flush, V.hydrate;
|
|
731
|
+
var H = V.cx;
|
|
732
|
+
V.merge, V.getRegisteredStyles;
|
|
733
|
+
var it = V.injectGlobal, at = V.keyframes, U = V.css;
|
|
734
|
+
V.sheet, V.cache;
|
|
735
735
|
//#endregion
|
|
736
736
|
//#region \0virtual:svg-sprite
|
|
737
|
-
var ct = "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"position:absolute;width:0;height:0;\" id=\"svg-sprite\"><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-badge-check\" viewBox=\"0 0 24 24\"><path d=\"m9 12 2 2 4-4\"/><path d=\"m14.394 3-.246-.209a3.31 3.31 0 0 0-4.296 0l-.246.21a4 4 0 0 1-2.276.943l-.323.025A3.31 3.31 0 0 0 3.97 7.007l-.025.323A4 4 0 0 1 3 9.606l-.21.246a3.31 3.31 0 0 0 0 4.296l.21.246a4 4 0 0 1 .943 2.276l.025.323a3.31 3.31 0 0 0 3.038 3.038l.323.025A4 4 0 0 1 9.606 21l.246.21a3.31 3.31 0 0 0 4.296 0l.246-.21a4 4 0 0 1 2.276-.943l.323-.025a3.31 3.31 0 0 0 3.038-3.038l.025-.323A4 4 0 0 1 21 14.394l.21-.246a3.31 3.31 0 0 0 0-4.296L21 9.606a4 4 0 0 1-.943-2.276l-.025-.323a3.31 3.31 0 0 0-3.038-3.038l-.323-.025A4 4 0 0 1 14.394 3\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-bars-corner\" viewBox=\"0 0 24 24\"><path d=\"M7 15v1a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1\"/><path d=\"M7 8v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1\"/><path d=\"M3 3v10c0 3.771 0 5.657 1.172 6.828S7.229 21 11 21h10\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-check\" viewBox=\"0 0 24 24\"><path d=\"m5 13.26 2.586 2.697C8.252 16.652 8.586 17 9 17s.748-.348 1.414-1.043L19 7\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-chevron-left\" viewBox=\"0 0 24 24\"><path d=\"M15 18s-6-4.419-6-6 6-6 6-6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-chevron-right\" viewBox=\"0 0 24 24\"><path d=\"M9 18s6-4.419 6-6-6-6-6-6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-down\" viewBox=\"0 0 24 24\"><path d=\"M18 9s-4.419 6-6 6-6-6-6-6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-exclamation-triangle\" viewBox=\"0 0 24 24\"><path d=\"M13.925 21h-3.85c-4.63 0-6.945 0-7.799-1.506-.853-1.506.331-3.503 2.7-7.495L6.9 8.753C9.176 4.918 10.313 3 12 3s2.824 1.918 5.1 5.753L19.023 12c2.369 3.992 3.553 5.989 2.7 7.495C20.87 21 18.555 21 13.924 21\"/><path d=\"M12 9v4\"/><path d=\"M12.125 16.75H12m.25 0a.25.25 0 1 1-.5 0 .25.25 0 0 1 .5 0\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-external\" viewBox=\"0 0 24 24\"><path d=\"M11.1 3.002c-3.648.007-5.56.096-6.78 1.317C3.002 5.637 3.002 7.758 3.002 12s0 6.363 1.318 7.681c1.317 1.318 3.438 1.318 7.68 1.318s6.363 0 7.68-1.318c1.222-1.22 1.312-3.132 1.318-6.78\"/><path d=\"m20.48 3.518-5.549 5.534m5.55-5.534c-.495-.495-3.822-.449-4.526-.439m4.525.439c.494.494.448 3.825.438 4.53\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-filter\" viewBox=\"0 0 24 24\"><path d=\"M8.857 12.506C6.37 10.646 4.596 8.6 3.627 7.45c-.3-.356-.398-.617-.457-1.076-.202-1.572-.303-2.358.158-2.866S4.604 3 6.234 3h11.532c1.63 0 2.445 0 2.906.507.461.508.36 1.294.158 2.866-.06.459-.158.72-.457 1.076-.97 1.152-2.747 3.202-5.24 5.065a1.05 1.05 0 0 0-.402.747c-.247 2.731-.475 4.227-.617 4.983-.229 1.222-1.96 1.957-2.888 2.612-.552.39-1.222-.074-1.293-.678a196 196 0 0 1-.674-6.917 1.05 1.05 0 0 0-.402-.755\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-home\" viewBox=\"0 0 24 24\"><path d=\"M3 11.99v2.51c0 3.3 0 4.95 1.025 5.975S6.7 21.5 10 21.5h4c3.3 0 4.95 0 5.975-1.025S21 17.8 21 14.5v-2.51c0-1.682 0-2.522-.356-3.25s-1.02-1.244-2.346-2.276l-2-1.555C14.233 3.303 13.2 2.5 12 2.5s-2.233.803-4.298 2.409l-2 1.555C4.375 7.496 3.712 8.012 3.356 8.74S3 10.308 3 11.99\"/><path d=\"M15 17c-.8.622-1.85 1-3 1s-2.2-.378-3-1\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-info\" viewBox=\"0 0 24 24\"><path d=\"M2.5 12c0-4.478 0-6.718 1.391-8.109S7.521 2.5 12 2.5c4.478 0 6.718 0 8.109 1.391S21.5 7.521 21.5 12c0 4.478 0 6.718-1.391 8.109S16.479 21.5 12 21.5c-4.478 0-6.718 0-8.109-1.391S2.5 16.479 2.5 12\"/><path d=\"M12 16v-4\"/><path d=\"M12.125 8.25H12m.25 0a.25.25 0 1 0-.5 0 .25.25 0 0 0 .5 0\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-menu\" viewBox=\"0 0 24 24\"><path d=\"M4 9h16\"/><path d=\"M4 15h10\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-plus\" viewBox=\"0 0 24 24\"><path d=\"M11.992 4v16m8-8h-16\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-skull\" viewBox=\"0 0 24 24\"><path d=\"M12 3c-4.97 0-9 3.582-9 8 0 2.37 1.16 4.5 3.002 5.964l.29.232c.5.423.687.811.707 1.467l.001.203c0 .124 0 .187.003.239a2 2 0 0 0 1.892 1.892c.052.003.115.003.239.003h5.732c.124 0 .187 0 .239-.003a2 2 0 0 0 1.892-1.892c.003-.052.003-.115.003-.239v-.203c.02-.656.208-1.044.709-1.467.023-.02.111-.09.29-.232C19.84 15.5 21 13.37 21 11c0-4.418-4.03-8-9-8\"/><path d=\"M10 21v-2\"/><path d=\"M14 21v-2\"/><path d=\"M8 11v-.5m1 .5a1 1 0 1 1-2 0 1 1 0 0 1 2 0\"/><path d=\"M16 11v-.5m1 .5a1 1 0 1 1-2 0 1 1 0 0 1 2 0\"/><path d=\"m12.5 15-.5-1-.5 1z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-squares-cog\" viewBox=\"0 0 24 24\"><path d=\"M17.25 3v1.34m0 0c.666 0 1.268.27 1.704.706M17.25 4.34c-.666 0-1.268.27-1.704.706M17.25 9.16v1.34m0-1.339c.666 0 1.268-.27 1.705-.706m-1.705.706c-.666 0-1.268-.27-1.705-.706M21 6.75h-1.34m0 0c0 .666-.27 1.269-.705 1.705m.706-1.705a2.4 2.4 0 0 0-.707-1.704M14.84 6.75H13.5m1.34 0c0-.665.27-1.268.706-1.704m-.707 1.704c0 .666.27 1.269.706 1.705m4.357-4.357-.948.948m-4.356 4.356.947-.947m4.357.947-.947-.947m-4.357-4.357.947.948\"/><path d=\"M13.69 19.457c-.19-.46-.19-1.042-.19-2.207s0-1.747.19-2.207a2.5 2.5 0 0 1 1.353-1.353c.46-.19 1.042-.19 2.207-.19s1.747 0 2.207.19a2.5 2.5 0 0 1 1.353 1.353c.19.46.19 1.042.19 2.207s0 1.747-.19 2.207a2.5 2.5 0 0 1-1.353 1.353c-.46.19-1.042.19-2.207.19s-1.747 0-2.207-.19a2.5 2.5 0 0 1-1.353-1.353\"/><path d=\"M3.19 19.457C3 18.997 3 18.415 3 17.25s0-1.747.19-2.207a2.5 2.5 0 0 1 1.353-1.353c.46-.19 1.042-.19 2.207-.19s1.747 0 2.207.19a2.5 2.5 0 0 1 1.353 1.353c.19.46.19 1.042.19 2.207s0 1.747-.19 2.207a2.5 2.5 0 0 1-1.353 1.353c-.46.19-1.042.19-2.207.19s-1.747 0-2.207-.19a2.5 2.5 0 0 1-1.353-1.353\"/><path d=\"M3.19 8.957C3 8.497 3 7.915 3 6.75s0-1.747.19-2.207A2.5 2.5 0 0 1 4.543 3.19C5.003 3 5.585 3 6.75 3s1.747 0 2.207.19a2.5 2.5 0 0 1 1.353 1.353c.19.46.19 1.042.19 2.207s0 1.747-.19 2.207a2.5 2.5 0 0 1-1.353 1.353c-.46.19-1.042.19-2.207.19s-1.747 0-2.207-.19A2.5 2.5 0 0 1 3.19 8.957\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-stack\" viewBox=\"0 0 24 24\"><path d=\"M21 14c0 1.4 0 2.1-.273 2.635a2.5 2.5 0 0 1-1.092 1.092C19.1 18 18.4 18 17 18H7c-1.4 0-2.1 0-2.635-.273a2.5 2.5 0 0 1-1.093-1.092C3 16.1 3 15.4 3 14\"/><path d=\"M6 14h12\"/><path d=\"M6 10h12\"/><path d=\"M6 6h12\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-terminal\" viewBox=\"0 0 24 24\"><path d=\"M7.492 7.5 8.72 8.557c.515.445.773.667.773.943s-.258.498-.773.943L7.492 11.5\"/><path d=\"M11.492 12.5h4\"/><path d=\"M11.992 21c3.75 0 5.625 0 6.94-.955a5 5 0 0 0 1.105-1.106c.955-1.314.955-3.19.955-6.939s0-5.625-.955-6.939a5 5 0 0 0-1.106-1.106C17.617 3 15.741 3 11.992 3s-5.624 0-6.939.955A5 5 0 0 0 3.947 5.06c-.955 1.314-.955 3.19-.955 6.939s0 5.625.955 6.939a5 5 0 0 0 1.106 1.106c1.315.955 3.19.955 6.94.955\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-vertical-ellipsis\" viewBox=\"0 0 24 24\"><path d=\"M12 12v-.5M12 5v-.5M12 19v-.5m1-6.5a1 1 0 1 0-2 0 1 1 0 0 0 2 0m0-7a1 1 0 1 0-2 0 1 1 0 0 0 2 0m0 14a1 1 0 1 0-2 0 1 1 0 0 0 2 0\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-x\" viewBox=\"0 0 24 24\"><path d=\"m18 6-6 6m0 0-6 6m6-6 6 6m-6-6L6 6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-bookmark\" viewBox=\"0 0 24 24\"><path stroke-linejoin=\"round\" d=\"M11 2C7.229 2 5.343 2 4.172 3.129 3 4.257 3 6.074 3 9.708v8.273c0 2.306 0 3.459.773 3.871 1.496.8 4.304-1.867 5.637-2.67.773-.465 1.16-.698 1.59-.698s.817.233 1.59.698c1.333.803 4.14 3.47 5.637 2.67.773-.412.773-1.565.773-3.871V13\"/><path d=\"M17 10V2m-4 4h8\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-bug\" viewBox=\"0 0 24 24\"><path d=\"M3.012 6.597c-.12 1.06.646 3.598 2.865 3.658\"/><path d=\"M18.29 10.195c1.078.06 2.697-1.2 2.697-3.598\"/><path d=\"M20.088 20.988c.06-1.38-.84-3.514-2.579-3.574\"/><path d=\"M3.901 20.988c-.06-1.388.858-3.537 2.636-3.597\"/><path d=\"M3.012 13.793h2.206\"/><path d=\"M21 13.793h-2.172\"/><path d=\"M11.993 13.793v-2.938M16.49 3l-1.799 1.799m-7.195-1.8 1.799 1.8\"/><path d=\"M6.956 8.612c1.619 1.163 5.636 2.842 10.014.072\"/><path d=\"M16.826 7.677c-3.574-4.977-8.13-2.579-9.75.144-1.055 1.774-2.698 6.068.42 10.745 3.358 4.1 7.315 2.242 8.934.083 1.56-1.858 3.094-6.655.396-10.972Z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-eye-off\" viewBox=\"0 0 24 24\"><path stroke-linejoin=\"round\" d=\"M6.434 6.52C4.22 7.89 2.933 9.865 2.319 11.034c-.213.404-.319.606-.319.974s.106.57.318.973c1.01 1.926 3.849 6.039 9.649 6.039 2.278 0 4.1-.635 5.533-1.523\"/><path d=\"M9.879 9.879a3 3 0 1 0 4.243 4.243\"/><path stroke-linejoin=\"round\" d=\"m2 2 20 20\"/><path stroke-linejoin=\"round\" d=\"M10 5.148A12 12 0 0 1 11.894 5c5.88 0 8.759 4.054 9.784 5.952.215.397.322.596.322.959 0 .362-.108.562-.323.96A12.4 12.4 0 0 1 20.217 15\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-loader\" viewBox=\"0 0 24 24\"><path d=\"M11.996 3v3\"/><path d=\"M11.996 18v3\"/><path d=\"M20.996 12h-3\"/><path d=\"M5.996 12h-3\"/><path d=\"m18.36 5.637-2.122 2.121\"/><path d=\"m7.754 16.242-2.121 2.121\"/><path d=\"m18.36 18.364-2.122-2.122\"/><path d=\"M7.754 7.758 5.633 5.637\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-trash\" viewBox=\"0 0 24 24\"><path d=\"m19.5 5.5-.62 10.025c-.158 2.561-.237 3.842-.88 4.763a4 4 0 0 1-1.2 1.128c-.957.584-2.24.584-4.806.584-2.57 0-3.855 0-4.814-.585a4 4 0 0 1-1.2-1.13c-.642-.922-.72-2.205-.874-4.77L4.5 5.5\"/><path d=\"M3 5.5h18m-4.944 0-.683-1.408c-.453-.936-.68-1.403-1.071-1.695a2 2 0 0 0-.275-.172C13.594 2 13.074 2 12.035 2c-1.066 0-1.599 0-2.04.234a2 2 0 0 0-.278.18c-.395.303-.616.788-1.058 1.757L8.053 5.5\"/><path d=\"M9.5 16.5v-6\"/><path d=\"M14.5 16.5v-6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-award\" viewBox=\"0 0 24 24\"><path d=\"M9.426 3.063C10.684 2.354 11.312 2 12 2s1.316.354 2.574 1.063l1.75.986c1.305.735 1.958 1.103 2.317 1.718S19 7.132 19 8.632v1.736c0 1.5 0 2.25-.36 2.865-.358.615-1.01.983-2.316 1.718l-1.75.986C13.316 16.646 12.688 17 12 17s-1.316-.354-2.574-1.063l-1.75-.986c-1.305-.735-1.958-1.103-2.317-1.718S5 11.868 5 10.368V8.632c0-1.5 0-2.25.36-2.865.358-.615 1.01-.983 2.316-1.718z\"/><path stroke-linecap=\"round\" d=\"m16.883 15 .67 3.21c.43 2.062.646 3.093.203 3.582-.442.489-1.21.069-2.746-.772l-2.274-1.245c-.363-.198-.544-.298-.736-.298s-.373.1-.736.298L8.99 21.02c-1.536.84-2.304 1.261-2.746.772s-.227-1.52.203-3.582l.67-3.21\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-list-play\" viewBox=\"0 0 24 24\"><path stroke-linecap=\"round\" d=\"M3 5h18\"/><path stroke-linecap=\"round\" d=\"M3 12h6\"/><path d=\"M20.945 15.451c-.176.716-1.012 1.223-2.682 2.235-1.615.979-2.422 1.468-3.073 1.271a1.6 1.6 0 0 1-.712-.448C14 17.994 14 16.996 14 15s0-2.994.478-3.509c.198-.212.443-.367.712-.448.65-.197 1.458.293 3.073 1.271 1.67 1.012 2.506 1.518 2.682 2.235a1.9 1.9 0 0 1 0 .902Z\"/><path stroke-linecap=\"round\" d=\"M3 19h6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-play\" viewBox=\"0 0 24 24\"><path d=\"M18.89 12.846c-.353 1.343-2.023 2.292-5.364 4.19-3.23 1.835-4.845 2.752-6.146 2.384a3.25 3.25 0 0 1-1.424-.841C5 17.614 5 15.743 5 12s0-5.614.956-6.579a3.25 3.25 0 0 1 1.424-.84c1.301-.37 2.916.548 6.146 2.383 3.34 1.898 5.011 2.847 5.365 4.19a3.3 3.3 0 0 1 0 1.692Z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-sparkles\" viewBox=\"0 0 24 24\"><path d=\"m15 2 .539 2.392a5.39 5.39 0 0 0 4.07 4.07L22 9l-2.392.539a5.39 5.39 0 0 0-4.07 4.07L15 16l-.539-2.392a5.39 5.39 0 0 0-4.07-4.07L8 9l2.392-.539a5.39 5.39 0 0 0 4.07-4.07z\"/><path d=\"m7 12 .385 1.708a3.85 3.85 0 0 0 2.907 2.907L12 17l-1.708.385a3.85 3.85 0 0 0-2.907 2.907L7 22l-.385-1.708a3.85 3.85 0 0 0-2.907-2.907L2 17l1.708-.385a3.85 3.85 0 0 0 2.907-2.907z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-clock\" viewBox=\"0 0 24 24\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M12 8v4l2 2\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-eye\" viewBox=\"0 0 24 24\"><path d=\"M21.544 11.045c.304.426.456.64.456.955 0 .316-.152.529-.456.955C20.178 14.871 16.689 19 12 19c-4.69 0-8.178-4.13-9.544-6.045C2.152 12.529 2 12.315 2 12c0-.316.152-.529.456-.955C3.822 9.129 7.311 5 12 5c4.69 0 8.178 4.13 9.544 6.045Z\"/><path d=\"M15 12a3 3 0 1 0-6 0 3 3 0 0 0 6 0Z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-sliders\" viewBox=\"0 0 24 24\"><path stroke-linejoin=\"round\" d=\"M2.5 12c0-4.478 0-6.718 1.391-8.109S7.521 2.5 12 2.5c4.478 0 6.718 0 8.109 1.391S21.5 7.521 21.5 12c0 4.478 0 6.718-1.391 8.109S16.479 21.5 12 21.5c-4.478 0-6.718 0-8.109-1.391S2.5 16.479 2.5 12Z\"/><path d=\"M8.5 10a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Z\"/><path d=\"M15.5 17a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z\"/><path stroke-linecap=\"round\" d=\"M10 8.5h7\"/><path stroke-linecap=\"round\" d=\"M14 15.5H7\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-stop\" viewBox=\"0 0 24 24\"><path d=\"M4 12c0-3.28 0-4.919.814-6.081a4.5 4.5 0 0 1 1.105-1.105C7.08 4 8.72 4 12 4s4.919 0 6.081.814a4.5 4.5 0 0 1 1.105 1.105C20 7.08 20 8.72 20 12s0 4.919-.814 6.081a4.5 4.5 0 0 1-1.105 1.105C16.92 20 15.28 20 12 20s-4.919 0-6.081-.814a4.5 4.5 0 0 1-1.105-1.105C4 16.92 4 15.28 4 12Z\"/></symbol></svg>", lt = !1, ut = new URL("./assets/manrope.woff2", import.meta.url).href ?? "/fonts/manrope.woff2", U = {
|
|
737
|
+
var ot = "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"position:absolute;width:0;height:0;\" id=\"svg-sprite\"><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-badge-check\" viewBox=\"0 0 24 24\"><path d=\"m9 12 2 2 4-4\"/><path d=\"m14.394 3-.246-.209a3.31 3.31 0 0 0-4.296 0l-.246.21a4 4 0 0 1-2.276.943l-.323.025A3.31 3.31 0 0 0 3.97 7.007l-.025.323A4 4 0 0 1 3 9.606l-.21.246a3.31 3.31 0 0 0 0 4.296l.21.246a4 4 0 0 1 .943 2.276l.025.323a3.31 3.31 0 0 0 3.038 3.038l.323.025A4 4 0 0 1 9.606 21l.246.21a3.31 3.31 0 0 0 4.296 0l.246-.21a4 4 0 0 1 2.276-.943l.323-.025a3.31 3.31 0 0 0 3.038-3.038l.025-.323A4 4 0 0 1 21 14.394l.21-.246a3.31 3.31 0 0 0 0-4.296L21 9.606a4 4 0 0 1-.943-2.276l-.025-.323a3.31 3.31 0 0 0-3.038-3.038l-.323-.025A4 4 0 0 1 14.394 3\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-bars-corner\" viewBox=\"0 0 24 24\"><path d=\"M7 15v1a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1\"/><path d=\"M7 8v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1\"/><path d=\"M3 3v10c0 3.771 0 5.657 1.172 6.828S7.229 21 11 21h10\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-check\" viewBox=\"0 0 24 24\"><path d=\"m5 13.26 2.586 2.697C8.252 16.652 8.586 17 9 17s.748-.348 1.414-1.043L19 7\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-chevron-left\" viewBox=\"0 0 24 24\"><path d=\"M15 18s-6-4.419-6-6 6-6 6-6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-chevron-right\" viewBox=\"0 0 24 24\"><path d=\"M9 18s6-4.419 6-6-6-6-6-6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-collapse\" viewBox=\"0 0 24 24\"><path stroke-miterlimit=\"16\" d=\"M13 4v3c0 1.886 0 2.828.586 3.414S15.114 11 17 11h3\"/><path stroke-miterlimit=\"16\" d=\"M11 20v-3c0-1.886 0-2.828-.586-3.414S8.886 13 7 13H4\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-down\" viewBox=\"0 0 24 24\"><path d=\"M18 9s-4.419 6-6 6-6-6-6-6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-exclamation-triangle\" viewBox=\"0 0 24 24\"><path d=\"M13.925 21h-3.85c-4.63 0-6.945 0-7.799-1.506-.853-1.506.331-3.503 2.7-7.495L6.9 8.753C9.176 4.918 10.313 3 12 3s2.824 1.918 5.1 5.753L19.023 12c2.369 3.992 3.553 5.989 2.7 7.495C20.87 21 18.555 21 13.924 21\"/><path d=\"M12 9v4\"/><path d=\"M12.125 16.75H12m.25 0a.25.25 0 1 1-.5 0 .25.25 0 0 1 .5 0\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-expand\" viewBox=\"0 0 24 24\"><path stroke-miterlimit=\"16\" d=\"M19 12V9c0-1.886 0-2.828-.586-3.414S16.886 5 15 5h-3\"/><path stroke-miterlimit=\"16\" d=\"M5 12v3c0 1.886 0 2.828.586 3.414S7.114 19 9 19h3\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-external\" viewBox=\"0 0 24 24\"><path d=\"M11.1 3.002c-3.648.007-5.56.096-6.78 1.317C3.002 5.637 3.002 7.758 3.002 12s0 6.363 1.318 7.681c1.317 1.318 3.438 1.318 7.68 1.318s6.363 0 7.68-1.318c1.222-1.22 1.312-3.132 1.318-6.78\"/><path d=\"m20.48 3.518-5.549 5.534m5.55-5.534c-.495-.495-3.822-.449-4.526-.439m4.525.439c.494.494.448 3.825.438 4.53\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-filter\" viewBox=\"0 0 24 24\"><path d=\"M8.857 12.506C6.37 10.646 4.596 8.6 3.627 7.45c-.3-.356-.398-.617-.457-1.076-.202-1.572-.303-2.358.158-2.866S4.604 3 6.234 3h11.532c1.63 0 2.445 0 2.906.507.461.508.36 1.294.158 2.866-.06.459-.158.72-.457 1.076-.97 1.152-2.747 3.202-5.24 5.065a1.05 1.05 0 0 0-.402.747c-.247 2.731-.475 4.227-.617 4.983-.229 1.222-1.96 1.957-2.888 2.612-.552.39-1.222-.074-1.293-.678a196 196 0 0 1-.674-6.917 1.05 1.05 0 0 0-.402-.755\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-home\" viewBox=\"0 0 24 24\"><path d=\"M3 11.99v2.51c0 3.3 0 4.95 1.025 5.975S6.7 21.5 10 21.5h4c3.3 0 4.95 0 5.975-1.025S21 17.8 21 14.5v-2.51c0-1.682 0-2.522-.356-3.25s-1.02-1.244-2.346-2.276l-2-1.555C14.233 3.303 13.2 2.5 12 2.5s-2.233.803-4.298 2.409l-2 1.555C4.375 7.496 3.712 8.012 3.356 8.74S3 10.308 3 11.99\"/><path d=\"M15 17c-.8.622-1.85 1-3 1s-2.2-.378-3-1\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-info\" viewBox=\"0 0 24 24\"><path d=\"M2.5 12c0-4.478 0-6.718 1.391-8.109S7.521 2.5 12 2.5c4.478 0 6.718 0 8.109 1.391S21.5 7.521 21.5 12c0 4.478 0 6.718-1.391 8.109S16.479 21.5 12 21.5c-4.478 0-6.718 0-8.109-1.391S2.5 16.479 2.5 12\"/><path d=\"M12 16v-4\"/><path d=\"M12.125 8.25H12m.25 0a.25.25 0 1 0-.5 0 .25.25 0 0 0 .5 0\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-menu\" viewBox=\"0 0 24 24\"><path d=\"M4 9h16\"/><path d=\"M4 15h10\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-plus\" viewBox=\"0 0 24 24\"><path d=\"M11.992 4v16m8-8h-16\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-skull\" viewBox=\"0 0 24 24\"><path d=\"M12 3c-4.97 0-9 3.582-9 8 0 2.37 1.16 4.5 3.002 5.964l.29.232c.5.423.687.811.707 1.467l.001.203c0 .124 0 .187.003.239a2 2 0 0 0 1.892 1.892c.052.003.115.003.239.003h5.732c.124 0 .187 0 .239-.003a2 2 0 0 0 1.892-1.892c.003-.052.003-.115.003-.239v-.203c.02-.656.208-1.044.709-1.467.023-.02.111-.09.29-.232C19.84 15.5 21 13.37 21 11c0-4.418-4.03-8-9-8\"/><path d=\"M10 21v-2\"/><path d=\"M14 21v-2\"/><path d=\"M8 11v-.5m1 .5a1 1 0 1 1-2 0 1 1 0 0 1 2 0\"/><path d=\"M16 11v-.5m1 .5a1 1 0 1 1-2 0 1 1 0 0 1 2 0\"/><path d=\"m12.5 15-.5-1-.5 1z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-squares-cog\" viewBox=\"0 0 24 24\"><path d=\"M17.25 3v1.34m0 0c.666 0 1.268.27 1.704.706M17.25 4.34c-.666 0-1.268.27-1.704.706M17.25 9.16v1.34m0-1.339c.666 0 1.268-.27 1.705-.706m-1.705.706c-.666 0-1.268-.27-1.705-.706M21 6.75h-1.34m0 0c0 .666-.27 1.269-.705 1.705m.706-1.705a2.4 2.4 0 0 0-.707-1.704M14.84 6.75H13.5m1.34 0c0-.665.27-1.268.706-1.704m-.707 1.704c0 .666.27 1.269.706 1.705m4.357-4.357-.948.948m-4.356 4.356.947-.947m4.357.947-.947-.947m-4.357-4.357.947.948\"/><path d=\"M13.69 19.457c-.19-.46-.19-1.042-.19-2.207s0-1.747.19-2.207a2.5 2.5 0 0 1 1.353-1.353c.46-.19 1.042-.19 2.207-.19s1.747 0 2.207.19a2.5 2.5 0 0 1 1.353 1.353c.19.46.19 1.042.19 2.207s0 1.747-.19 2.207a2.5 2.5 0 0 1-1.353 1.353c-.46.19-1.042.19-2.207.19s-1.747 0-2.207-.19a2.5 2.5 0 0 1-1.353-1.353\"/><path d=\"M3.19 19.457C3 18.997 3 18.415 3 17.25s0-1.747.19-2.207a2.5 2.5 0 0 1 1.353-1.353c.46-.19 1.042-.19 2.207-.19s1.747 0 2.207.19a2.5 2.5 0 0 1 1.353 1.353c.19.46.19 1.042.19 2.207s0 1.747-.19 2.207a2.5 2.5 0 0 1-1.353 1.353c-.46.19-1.042.19-2.207.19s-1.747 0-2.207-.19a2.5 2.5 0 0 1-1.353-1.353\"/><path d=\"M3.19 8.957C3 8.497 3 7.915 3 6.75s0-1.747.19-2.207A2.5 2.5 0 0 1 4.543 3.19C5.003 3 5.585 3 6.75 3s1.747 0 2.207.19a2.5 2.5 0 0 1 1.353 1.353c.19.46.19 1.042.19 2.207s0 1.747-.19 2.207a2.5 2.5 0 0 1-1.353 1.353c-.46.19-1.042.19-2.207.19s-1.747 0-2.207-.19A2.5 2.5 0 0 1 3.19 8.957\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-stack\" viewBox=\"0 0 24 24\"><path d=\"M21 14c0 1.4 0 2.1-.273 2.635a2.5 2.5 0 0 1-1.092 1.092C19.1 18 18.4 18 17 18H7c-1.4 0-2.1 0-2.635-.273a2.5 2.5 0 0 1-1.093-1.092C3 16.1 3 15.4 3 14\"/><path d=\"M6 14h12\"/><path d=\"M6 10h12\"/><path d=\"M6 6h12\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-terminal\" viewBox=\"0 0 24 24\"><path d=\"M7.492 7.5 8.72 8.557c.515.445.773.667.773.943s-.258.498-.773.943L7.492 11.5\"/><path d=\"M11.492 12.5h4\"/><path d=\"M11.992 21c3.75 0 5.625 0 6.94-.955a5 5 0 0 0 1.105-1.106c.955-1.314.955-3.19.955-6.939s0-5.625-.955-6.939a5 5 0 0 0-1.106-1.106C17.617 3 15.741 3 11.992 3s-5.624 0-6.939.955A5 5 0 0 0 3.947 5.06c-.955 1.314-.955 3.19-.955 6.939s0 5.625.955 6.939a5 5 0 0 0 1.106 1.106c1.315.955 3.19.955 6.94.955\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-vertical-ellipsis\" viewBox=\"0 0 24 24\"><path d=\"M12 12v-.5M12 5v-.5M12 19v-.5m1-6.5a1 1 0 1 0-2 0 1 1 0 0 0 2 0m0-7a1 1 0 1 0-2 0 1 1 0 0 0 2 0m0 14a1 1 0 1 0-2 0 1 1 0 0 0 2 0\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-x\" viewBox=\"0 0 24 24\"><path d=\"m18 6-6 6m0 0-6 6m6-6 6 6m-6-6L6 6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-bookmark\" viewBox=\"0 0 24 24\"><path stroke-linejoin=\"round\" d=\"M11 2C7.229 2 5.343 2 4.172 3.129 3 4.257 3 6.074 3 9.708v8.273c0 2.306 0 3.459.773 3.871 1.496.8 4.304-1.867 5.637-2.67.773-.465 1.16-.698 1.59-.698s.817.233 1.59.698c1.333.803 4.14 3.47 5.637 2.67.773-.412.773-1.565.773-3.871V13\"/><path d=\"M17 10V2m-4 4h8\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-bug\" viewBox=\"0 0 24 24\"><path d=\"M3.012 6.597c-.12 1.06.646 3.598 2.865 3.658\"/><path d=\"M18.29 10.195c1.078.06 2.697-1.2 2.697-3.598\"/><path d=\"M20.088 20.988c.06-1.38-.84-3.514-2.579-3.574\"/><path d=\"M3.901 20.988c-.06-1.388.858-3.537 2.636-3.597\"/><path d=\"M3.012 13.793h2.206\"/><path d=\"M21 13.793h-2.172\"/><path d=\"M11.993 13.793v-2.938M16.49 3l-1.799 1.799m-7.195-1.8 1.799 1.8\"/><path d=\"M6.956 8.612c1.619 1.163 5.636 2.842 10.014.072\"/><path d=\"M16.826 7.677c-3.574-4.977-8.13-2.579-9.75.144-1.055 1.774-2.698 6.068.42 10.745 3.358 4.1 7.315 2.242 8.934.083 1.56-1.858 3.094-6.655.396-10.972Z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-eye-off\" viewBox=\"0 0 24 24\"><path stroke-linejoin=\"round\" d=\"M6.434 6.52C4.22 7.89 2.933 9.865 2.319 11.034c-.213.404-.319.606-.319.974s.106.57.318.973c1.01 1.926 3.849 6.039 9.649 6.039 2.278 0 4.1-.635 5.533-1.523\"/><path d=\"M9.879 9.879a3 3 0 1 0 4.243 4.243\"/><path stroke-linejoin=\"round\" d=\"m2 2 20 20\"/><path stroke-linejoin=\"round\" d=\"M10 5.148A12 12 0 0 1 11.894 5c5.88 0 8.759 4.054 9.784 5.952.215.397.322.596.322.959 0 .362-.108.562-.323.96A12.4 12.4 0 0 1 20.217 15\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-loader\" viewBox=\"0 0 24 24\"><path d=\"M11.996 3v3\"/><path d=\"M11.996 18v3\"/><path d=\"M20.996 12h-3\"/><path d=\"M5.996 12h-3\"/><path d=\"m18.36 5.637-2.122 2.121\"/><path d=\"m7.754 16.242-2.121 2.121\"/><path d=\"m18.36 18.364-2.122-2.122\"/><path d=\"M7.754 7.758 5.633 5.637\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-trash\" viewBox=\"0 0 24 24\"><path d=\"m19.5 5.5-.62 10.025c-.158 2.561-.237 3.842-.88 4.763a4 4 0 0 1-1.2 1.128c-.957.584-2.24.584-4.806.584-2.57 0-3.855 0-4.814-.585a4 4 0 0 1-1.2-1.13c-.642-.922-.72-2.205-.874-4.77L4.5 5.5\"/><path d=\"M3 5.5h18m-4.944 0-.683-1.408c-.453-.936-.68-1.403-1.071-1.695a2 2 0 0 0-.275-.172C13.594 2 13.074 2 12.035 2c-1.066 0-1.599 0-2.04.234a2 2 0 0 0-.278.18c-.395.303-.616.788-1.058 1.757L8.053 5.5\"/><path d=\"M9.5 16.5v-6\"/><path d=\"M14.5 16.5v-6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-award\" viewBox=\"0 0 24 24\"><path d=\"M9.426 3.063C10.684 2.354 11.312 2 12 2s1.316.354 2.574 1.063l1.75.986c1.305.735 1.958 1.103 2.317 1.718S19 7.132 19 8.632v1.736c0 1.5 0 2.25-.36 2.865-.358.615-1.01.983-2.316 1.718l-1.75.986C13.316 16.646 12.688 17 12 17s-1.316-.354-2.574-1.063l-1.75-.986c-1.305-.735-1.958-1.103-2.317-1.718S5 11.868 5 10.368V8.632c0-1.5 0-2.25.36-2.865.358-.615 1.01-.983 2.316-1.718z\"/><path stroke-linecap=\"round\" d=\"m16.883 15 .67 3.21c.43 2.062.646 3.093.203 3.582-.442.489-1.21.069-2.746-.772l-2.274-1.245c-.363-.198-.544-.298-.736-.298s-.373.1-.736.298L8.99 21.02c-1.536.84-2.304 1.261-2.746.772s-.227-1.52.203-3.582l.67-3.21\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-list-play\" viewBox=\"0 0 24 24\"><path stroke-linecap=\"round\" d=\"M3 5h18\"/><path stroke-linecap=\"round\" d=\"M3 12h6\"/><path d=\"M20.945 15.451c-.176.716-1.012 1.223-2.682 2.235-1.615.979-2.422 1.468-3.073 1.271a1.6 1.6 0 0 1-.712-.448C14 17.994 14 16.996 14 15s0-2.994.478-3.509c.198-.212.443-.367.712-.448.65-.197 1.458.293 3.073 1.271 1.67 1.012 2.506 1.518 2.682 2.235a1.9 1.9 0 0 1 0 .902Z\"/><path stroke-linecap=\"round\" d=\"M3 19h6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-play\" viewBox=\"0 0 24 24\"><path d=\"M18.89 12.846c-.353 1.343-2.023 2.292-5.364 4.19-3.23 1.835-4.845 2.752-6.146 2.384a3.25 3.25 0 0 1-1.424-.841C5 17.614 5 15.743 5 12s0-5.614.956-6.579a3.25 3.25 0 0 1 1.424-.84c1.301-.37 2.916.548 6.146 2.383 3.34 1.898 5.011 2.847 5.365 4.19a3.3 3.3 0 0 1 0 1.692Z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-sparkles\" viewBox=\"0 0 24 24\"><path d=\"m15 2 .539 2.392a5.39 5.39 0 0 0 4.07 4.07L22 9l-2.392.539a5.39 5.39 0 0 0-4.07 4.07L15 16l-.539-2.392a5.39 5.39 0 0 0-4.07-4.07L8 9l2.392-.539a5.39 5.39 0 0 0 4.07-4.07z\"/><path d=\"m7 12 .385 1.708a3.85 3.85 0 0 0 2.907 2.907L12 17l-1.708.385a3.85 3.85 0 0 0-2.907 2.907L7 22l-.385-1.708a3.85 3.85 0 0 0-2.907-2.907L2 17l1.708-.385a3.85 3.85 0 0 0 2.907-2.907z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-clock\" viewBox=\"0 0 24 24\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M12 8v4l2 2\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-eye\" viewBox=\"0 0 24 24\"><path d=\"M21.544 11.045c.304.426.456.64.456.955 0 .316-.152.529-.456.955C20.178 14.871 16.689 19 12 19c-4.69 0-8.178-4.13-9.544-6.045C2.152 12.529 2 12.315 2 12c0-.316.152-.529.456-.955C3.822 9.129 7.311 5 12 5c4.69 0 8.178 4.13 9.544 6.045Z\"/><path d=\"M15 12a3 3 0 1 0-6 0 3 3 0 0 0 6 0Z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-sliders\" viewBox=\"0 0 24 24\"><path stroke-linejoin=\"round\" d=\"M2.5 12c0-4.478 0-6.718 1.391-8.109S7.521 2.5 12 2.5c4.478 0 6.718 0 8.109 1.391S21.5 7.521 21.5 12c0 4.478 0 6.718-1.391 8.109S16.479 21.5 12 21.5c-4.478 0-6.718 0-8.109-1.391S2.5 16.479 2.5 12Z\"/><path d=\"M8.5 10a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Z\"/><path d=\"M15.5 17a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z\"/><path stroke-linecap=\"round\" d=\"M10 8.5h7\"/><path stroke-linecap=\"round\" d=\"M14 15.5H7\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-stop\" viewBox=\"0 0 24 24\"><path d=\"M4 12c0-3.28 0-4.919.814-6.081a4.5 4.5 0 0 1 1.105-1.105C7.08 4 8.72 4 12 4s4.919 0 6.081.814a4.5 4.5 0 0 1 1.105 1.105C20 7.08 20 8.72 20 12s0 4.919-.814 6.081a4.5 4.5 0 0 1-1.105 1.105C16.92 20 15.28 20 12 20s-4.919 0-6.081-.814a4.5 4.5 0 0 1-1.105-1.105C4 16.92 4 15.28 4 12Z\"/></symbol></svg>", st = !1, ct = new URL("./assets/manrope.woff2", import.meta.url).href ?? "/fonts/manrope.woff2", W = {
|
|
738
738
|
fontFamily: "Manrope",
|
|
739
739
|
zIndex: {
|
|
740
740
|
front: 1,
|
|
@@ -771,10 +771,10 @@ var ct = "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"position:absolute;wi
|
|
|
771
771
|
stretch: "\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n "
|
|
772
772
|
},
|
|
773
773
|
load() {
|
|
774
|
-
|
|
774
|
+
st || typeof document > "u" || (it(`
|
|
775
775
|
@font-face {
|
|
776
776
|
font-family: 'Manrope';
|
|
777
|
-
src: url('${
|
|
777
|
+
src: url('${ct}') format('woff2');
|
|
778
778
|
font-weight: 100 900;
|
|
779
779
|
font-style: normal;
|
|
780
780
|
font-display: swap;
|
|
@@ -856,55 +856,55 @@ var ct = "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"position:absolute;wi
|
|
|
856
856
|
|
|
857
857
|
[is-loading] { cursor: default !important; }
|
|
858
858
|
[is-clickable] { cursor: pointer; }
|
|
859
|
-
`), !document.getElementById("svg-sprite") && document.body && (document.body.insertAdjacentHTML("afterbegin",
|
|
859
|
+
`), !document.getElementById("svg-sprite") && document.body && (document.body.insertAdjacentHTML("afterbegin", ot), st = !0));
|
|
860
860
|
}
|
|
861
861
|
};
|
|
862
862
|
//#endregion
|
|
863
863
|
//#region src/components/_icon.jsx
|
|
864
|
-
function
|
|
865
|
-
return /* @__PURE__ */
|
|
866
|
-
className:
|
|
864
|
+
function G({ className: e, size: t = "1.25rem", color: n = W.colors.fore.primary, iconName: r, isSpinning: i }) {
|
|
865
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ l("svg", {
|
|
866
|
+
className: H(lt.base, e),
|
|
867
867
|
style: {
|
|
868
868
|
color: n,
|
|
869
869
|
width: t,
|
|
870
870
|
height: t
|
|
871
871
|
},
|
|
872
872
|
"is-spinning": i || void 0,
|
|
873
|
-
children: /* @__PURE__ */
|
|
873
|
+
children: /* @__PURE__ */ l("use", { href: `#icon-${r}` })
|
|
874
874
|
}) });
|
|
875
875
|
}
|
|
876
|
-
var
|
|
876
|
+
var lt = { base: U`
|
|
877
877
|
fill: currentColor;
|
|
878
878
|
display: inline-block;
|
|
879
879
|
flex-shrink: 0;
|
|
880
880
|
will-change: transform;
|
|
881
881
|
transition: transform .1s linear;
|
|
882
882
|
|
|
883
|
-
&[is-spinning] { animation: ${
|
|
883
|
+
&[is-spinning] { animation: ${at`
|
|
884
884
|
from { transform: rotate(0deg); }
|
|
885
885
|
to { transform: rotate(360deg); }
|
|
886
886
|
`} 3s linear infinite; }
|
|
887
887
|
` };
|
|
888
888
|
//#endregion
|
|
889
889
|
//#region src/components/_popup-box.jsx
|
|
890
|
-
function
|
|
891
|
-
return /* @__PURE__ */
|
|
892
|
-
className:
|
|
893
|
-
children: [t, r && /* @__PURE__ */
|
|
894
|
-
className:
|
|
890
|
+
function ut({ className: e, trigger: t, children: n, isOpen: r = !1, origin: i = "center", width: a }) {
|
|
891
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ u("div", {
|
|
892
|
+
className: dt.base,
|
|
893
|
+
children: [t, r && /* @__PURE__ */ l(c, { children: /* @__PURE__ */ l("div", {
|
|
894
|
+
className: H(dt.popup, dt[i] ?? dt.center, e),
|
|
895
895
|
style: { width: a },
|
|
896
896
|
children: n
|
|
897
897
|
}) })]
|
|
898
898
|
}) });
|
|
899
899
|
}
|
|
900
|
-
var
|
|
901
|
-
base:
|
|
900
|
+
var dt = {
|
|
901
|
+
base: U`
|
|
902
902
|
display: inline-block;
|
|
903
903
|
position: relative;
|
|
904
904
|
`,
|
|
905
|
-
popup:
|
|
905
|
+
popup: U`
|
|
906
906
|
position: absolute;
|
|
907
|
-
z-index: ${
|
|
907
|
+
z-index: ${W.zIndex.front + 1};
|
|
908
908
|
top: calc(100% + .5rem);
|
|
909
909
|
min-width: 100%;
|
|
910
910
|
width: max-content;
|
|
@@ -912,39 +912,39 @@ var pt = {
|
|
|
912
912
|
padding: .5rem;
|
|
913
913
|
border: solid 1px #e5e7e9;
|
|
914
914
|
border-radius: 10px;
|
|
915
|
-
color: ${
|
|
916
|
-
background-color: ${
|
|
915
|
+
color: ${W.colors.fore.primary};
|
|
916
|
+
background-color: ${W.colors.back.primary};
|
|
917
917
|
box-shadow: 0 6px 20px rgb(22 24 38 / 10%);
|
|
918
|
-
font-family: ${
|
|
918
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
919
919
|
`,
|
|
920
|
-
center:
|
|
920
|
+
center: U`
|
|
921
921
|
left: 50%;
|
|
922
922
|
transform: translateX(-50%);
|
|
923
923
|
`,
|
|
924
|
-
left:
|
|
924
|
+
left: U`
|
|
925
925
|
left: 0;
|
|
926
926
|
`,
|
|
927
|
-
right:
|
|
927
|
+
right: U`
|
|
928
928
|
right: 0;
|
|
929
929
|
`,
|
|
930
|
-
leftSide:
|
|
930
|
+
leftSide: U`
|
|
931
931
|
top: 0;
|
|
932
932
|
right: calc(100% + 1rem);
|
|
933
933
|
`,
|
|
934
|
-
rightSide:
|
|
934
|
+
rightSide: U`
|
|
935
935
|
top: 0;
|
|
936
936
|
left: calc(100% + 1rem);
|
|
937
937
|
`
|
|
938
938
|
};
|
|
939
939
|
//#endregion
|
|
940
940
|
//#region src/components/_actions.jsx
|
|
941
|
-
function
|
|
942
|
-
return /* @__PURE__ */
|
|
943
|
-
className:
|
|
944
|
-
children: e.map((e) => /* @__PURE__ */
|
|
941
|
+
function ft({ items: e = [] }) {
|
|
942
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ l("nav", {
|
|
943
|
+
className: K.base,
|
|
944
|
+
children: e.map((e) => /* @__PURE__ */ l(pt, { item: e }))
|
|
945
945
|
}) });
|
|
946
946
|
}
|
|
947
|
-
function
|
|
947
|
+
function pt({ item: e }) {
|
|
948
948
|
let t = s(null), n = i(!1), r = e.subActions ?? e.items ?? [], o = r.length > 0;
|
|
949
949
|
a(() => {
|
|
950
950
|
if (!n.value) return;
|
|
@@ -953,7 +953,7 @@ function ht({ item: e }) {
|
|
|
953
953
|
}
|
|
954
954
|
return document.addEventListener("pointerdown", e), () => document.removeEventListener("pointerdown", e);
|
|
955
955
|
}, [n.value]);
|
|
956
|
-
function
|
|
956
|
+
function d(t) {
|
|
957
957
|
if (o) {
|
|
958
958
|
n.value = !n.value;
|
|
959
959
|
return;
|
|
@@ -963,74 +963,74 @@ function ht({ item: e }) {
|
|
|
963
963
|
function f(e, t) {
|
|
964
964
|
e.stopPropagation(), e.preventDefault(), n.value = !1, t.onClick?.(e);
|
|
965
965
|
}
|
|
966
|
-
return /* @__PURE__ */
|
|
966
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ l("div", {
|
|
967
967
|
ref: t,
|
|
968
|
-
className:
|
|
969
|
-
children: /* @__PURE__ */
|
|
970
|
-
className:
|
|
971
|
-
trigger: /* @__PURE__ */
|
|
968
|
+
className: K.action,
|
|
969
|
+
children: /* @__PURE__ */ l(ut, {
|
|
970
|
+
className: K.popup,
|
|
971
|
+
trigger: /* @__PURE__ */ u("button", {
|
|
972
972
|
type: "button",
|
|
973
|
-
className:
|
|
973
|
+
className: H(K.button, !e.label && K.iconOnly),
|
|
974
974
|
disabled: e.isDisabled,
|
|
975
975
|
"is-clickable": !e.isDisabled || void 0,
|
|
976
976
|
"is-disabled": e.isDisabled || void 0,
|
|
977
|
-
onClick:
|
|
978
|
-
children: [e.iconName && /* @__PURE__ */
|
|
977
|
+
onClick: d,
|
|
978
|
+
children: [e.iconName && /* @__PURE__ */ l(G, {
|
|
979
979
|
iconName: e.iconName,
|
|
980
980
|
size: "1rem"
|
|
981
|
-
}), e.label && /* @__PURE__ */
|
|
981
|
+
}), e.label && /* @__PURE__ */ l("span", { children: e.label })]
|
|
982
982
|
}),
|
|
983
983
|
isOpen: n.value,
|
|
984
984
|
origin: "right",
|
|
985
|
-
children: r.map((e, t) => /* @__PURE__ */
|
|
985
|
+
children: r.map((e, t) => /* @__PURE__ */ u("button", {
|
|
986
986
|
type: "button",
|
|
987
|
-
className:
|
|
987
|
+
className: K.option,
|
|
988
988
|
disabled: e.isDisabled,
|
|
989
989
|
onClick: (t) => f(t, e),
|
|
990
|
-
children: [e.iconName && /* @__PURE__ */
|
|
990
|
+
children: [e.iconName && /* @__PURE__ */ l(G, {
|
|
991
991
|
iconName: e.iconName,
|
|
992
992
|
size: "1rem"
|
|
993
|
-
}), e.label && /* @__PURE__ */
|
|
993
|
+
}), e.label && /* @__PURE__ */ l("span", { children: e.label })]
|
|
994
994
|
}, e.label ?? t))
|
|
995
995
|
})
|
|
996
996
|
}) });
|
|
997
997
|
}
|
|
998
|
-
var
|
|
999
|
-
base:
|
|
998
|
+
var K = {
|
|
999
|
+
base: U`
|
|
1000
1000
|
display: flex;
|
|
1001
1001
|
align-items: center;
|
|
1002
1002
|
gap: .5rem;
|
|
1003
1003
|
`,
|
|
1004
|
-
button:
|
|
1004
|
+
button: U`
|
|
1005
1005
|
display: flex;
|
|
1006
1006
|
align-items: center;
|
|
1007
1007
|
gap: .4rem;
|
|
1008
1008
|
min-height: 2.3rem;
|
|
1009
1009
|
padding: .6rem .8rem;
|
|
1010
1010
|
border-radius: 8px;
|
|
1011
|
-
background-color: ${
|
|
1012
|
-
color: ${
|
|
1011
|
+
background-color: ${W.colors.back.secondary};
|
|
1012
|
+
color: ${W.colors.fore.primary};
|
|
1013
1013
|
letter-spacing: 1px;
|
|
1014
1014
|
font-weight: 500;
|
|
1015
1015
|
white-space: nowrap;
|
|
1016
1016
|
`,
|
|
1017
|
-
iconOnly:
|
|
1017
|
+
iconOnly: U`
|
|
1018
1018
|
width: 2.3rem;
|
|
1019
1019
|
justify-content: center;
|
|
1020
1020
|
`,
|
|
1021
|
-
popup:
|
|
1021
|
+
popup: U`
|
|
1022
1022
|
display: grid;
|
|
1023
1023
|
gap: .125rem;
|
|
1024
1024
|
min-width: 10rem;
|
|
1025
1025
|
`,
|
|
1026
|
-
option:
|
|
1026
|
+
option: U`
|
|
1027
1027
|
display: flex;
|
|
1028
1028
|
align-items: center;
|
|
1029
1029
|
gap: .5rem;
|
|
1030
1030
|
width: 100%;
|
|
1031
1031
|
padding: .6rem .75rem;
|
|
1032
1032
|
border-radius: 7px;
|
|
1033
|
-
color: ${
|
|
1033
|
+
color: ${W.colors.fore.primary};
|
|
1034
1034
|
font-weight: 500;
|
|
1035
1035
|
text-align: left;
|
|
1036
1036
|
white-space: nowrap;
|
|
@@ -1038,63 +1038,63 @@ var G = {
|
|
|
1038
1038
|
};
|
|
1039
1039
|
//#endregion
|
|
1040
1040
|
//#region src/components/_text.jsx
|
|
1041
|
-
function
|
|
1042
|
-
return /* @__PURE__ */
|
|
1043
|
-
className:
|
|
1041
|
+
function mt({ as: e = "span", className: t, size: n = "normal", color: r = W.colors.fore.primary, children: i }) {
|
|
1042
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ l(e, {
|
|
1043
|
+
className: H(ht.base, ht[n] ?? ht.normal, t),
|
|
1044
1044
|
style: { color: r },
|
|
1045
1045
|
children: i
|
|
1046
1046
|
}) });
|
|
1047
1047
|
}
|
|
1048
|
-
var
|
|
1049
|
-
base:
|
|
1048
|
+
var ht = {
|
|
1049
|
+
base: U`
|
|
1050
1050
|
font-weight: 500;
|
|
1051
1051
|
letter-spacing: 1px;
|
|
1052
1052
|
`,
|
|
1053
|
-
normal:
|
|
1053
|
+
normal: U`
|
|
1054
1054
|
font-size: 1rem;
|
|
1055
1055
|
line-height: 1.125rem;
|
|
1056
1056
|
`,
|
|
1057
|
-
small:
|
|
1057
|
+
small: U`
|
|
1058
1058
|
font-size: .75rem;
|
|
1059
1059
|
line-height: 1rem;
|
|
1060
1060
|
`,
|
|
1061
|
-
tiny:
|
|
1061
|
+
tiny: U`
|
|
1062
1062
|
font-size: .65rem;
|
|
1063
1063
|
line-height: 1rem;
|
|
1064
1064
|
`
|
|
1065
1065
|
};
|
|
1066
1066
|
//#endregion
|
|
1067
1067
|
//#region src/components/_app-wrapper.jsx
|
|
1068
|
-
function
|
|
1069
|
-
return /* @__PURE__ */
|
|
1070
|
-
className:
|
|
1068
|
+
function gt({ className: e, maxWidth: t = "67.5rem", logo: n, version: r, actions: i = [], children: a }) {
|
|
1069
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ u("div", {
|
|
1070
|
+
className: H(_t.base, e),
|
|
1071
1071
|
children: [
|
|
1072
|
-
/* @__PURE__ */
|
|
1073
|
-
className:
|
|
1074
|
-
children: [n && /* @__PURE__ */
|
|
1072
|
+
/* @__PURE__ */ u("header", {
|
|
1073
|
+
className: _t.header,
|
|
1074
|
+
children: [n && /* @__PURE__ */ l("a", {
|
|
1075
1075
|
href: "/",
|
|
1076
|
-
children: /* @__PURE__ */
|
|
1077
|
-
className:
|
|
1076
|
+
children: /* @__PURE__ */ l("img", {
|
|
1077
|
+
className: _t.logo,
|
|
1078
1078
|
src: n
|
|
1079
1079
|
})
|
|
1080
|
-
}), i.length > 0 && /* @__PURE__ */
|
|
1080
|
+
}), i.length > 0 && /* @__PURE__ */ l(ft, { items: i })]
|
|
1081
1081
|
}),
|
|
1082
|
-
/* @__PURE__ */
|
|
1083
|
-
className:
|
|
1082
|
+
/* @__PURE__ */ l("div", {
|
|
1083
|
+
className: _t.inner,
|
|
1084
1084
|
style: { maxWidth: t },
|
|
1085
1085
|
children: a
|
|
1086
1086
|
}),
|
|
1087
|
-
r && /* @__PURE__ */
|
|
1088
|
-
className:
|
|
1087
|
+
r && /* @__PURE__ */ l(c, { children: /* @__PURE__ */ u(mt, {
|
|
1088
|
+
className: _t.version,
|
|
1089
1089
|
size: "small",
|
|
1090
|
-
color:
|
|
1090
|
+
color: W.colors.fore.secondary,
|
|
1091
1091
|
children: ["v", r]
|
|
1092
1092
|
}) })
|
|
1093
1093
|
]
|
|
1094
1094
|
}) });
|
|
1095
1095
|
}
|
|
1096
|
-
var
|
|
1097
|
-
base:
|
|
1096
|
+
var _t = {
|
|
1097
|
+
base: U`
|
|
1098
1098
|
// The template is stretched over the entire viewport, and the vertical
|
|
1099
1099
|
// scrollbar is enabled manually.
|
|
1100
1100
|
// This is necessary so that the modal overlays can cover the scrollbar,
|
|
@@ -1102,7 +1102,7 @@ var K = {
|
|
|
1102
1102
|
// when it's displayed or not.
|
|
1103
1103
|
// Normally, we'd use the body element for this, but the modal overlay
|
|
1104
1104
|
// can't cover the scrollbar of the body element.
|
|
1105
|
-
${
|
|
1105
|
+
${W.extends.stretch}
|
|
1106
1106
|
overflow-y: scroll;
|
|
1107
1107
|
overflow-x: hidden;
|
|
1108
1108
|
scroll-behavior: smooth;
|
|
@@ -1141,24 +1141,24 @@ var K = {
|
|
|
1141
1141
|
auto,
|
|
1142
1142
|
auto;
|
|
1143
1143
|
`,
|
|
1144
|
-
header:
|
|
1144
|
+
header: U`
|
|
1145
1145
|
display: flex;
|
|
1146
1146
|
align-items: center;
|
|
1147
1147
|
justify-content: space-between;
|
|
1148
1148
|
`,
|
|
1149
|
-
logo:
|
|
1149
|
+
logo: U`
|
|
1150
1150
|
display: block;
|
|
1151
1151
|
pointer-events: auto;
|
|
1152
1152
|
display: block;
|
|
1153
1153
|
max-width: 8rem;
|
|
1154
1154
|
max-height: 3rem;
|
|
1155
1155
|
`,
|
|
1156
|
-
inner:
|
|
1156
|
+
inner: U`
|
|
1157
1157
|
position: relative;
|
|
1158
1158
|
padding: 4rem 0;
|
|
1159
1159
|
margin: 0 auto;
|
|
1160
1160
|
`,
|
|
1161
|
-
version:
|
|
1161
|
+
version: U`
|
|
1162
1162
|
position: fixed;
|
|
1163
1163
|
left: 2rem;
|
|
1164
1164
|
bottom: 2rem;
|
|
@@ -1166,26 +1166,26 @@ var K = {
|
|
|
1166
1166
|
};
|
|
1167
1167
|
//#endregion
|
|
1168
1168
|
//#region src/components/_toolbar.jsx
|
|
1169
|
-
function
|
|
1169
|
+
function vt({ items: e = [], side: t = "left", width: n, maxHeight: r }) {
|
|
1170
1170
|
let a = i(null), o = t === "right" ? "rightSide" : "leftSide";
|
|
1171
|
-
return /* @__PURE__ */
|
|
1171
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ u("nav", {
|
|
1172
1172
|
className: q.base,
|
|
1173
1173
|
style: { maxHeight: r },
|
|
1174
|
-
children: [/* @__PURE__ */
|
|
1174
|
+
children: [/* @__PURE__ */ l("div", {
|
|
1175
1175
|
className: q.buttons,
|
|
1176
|
-
children: e.map((e, t) => /* @__PURE__ */
|
|
1176
|
+
children: e.map((e, t) => /* @__PURE__ */ l(yt, {
|
|
1177
1177
|
item: e,
|
|
1178
1178
|
isOpen: a.value === t,
|
|
1179
1179
|
onToggle: () => a.value = a.value === t ? null : t
|
|
1180
1180
|
}, e.iconName ?? t))
|
|
1181
|
-
}), a.value != null && /* @__PURE__ */
|
|
1181
|
+
}), a.value != null && /* @__PURE__ */ l(bt, {
|
|
1182
1182
|
content: e[a.value]?.content ?? e[a.value]?.children,
|
|
1183
1183
|
side: o,
|
|
1184
1184
|
width: n
|
|
1185
1185
|
})]
|
|
1186
1186
|
}) });
|
|
1187
1187
|
}
|
|
1188
|
-
function
|
|
1188
|
+
function yt({ item: e, isOpen: t, onToggle: n }) {
|
|
1189
1189
|
let r = (e.content ?? e.children) != null;
|
|
1190
1190
|
function i(t) {
|
|
1191
1191
|
if (!r) {
|
|
@@ -1194,33 +1194,33 @@ function bt({ item: e, isOpen: t, onToggle: n }) {
|
|
|
1194
1194
|
}
|
|
1195
1195
|
t.preventDefault(), n();
|
|
1196
1196
|
}
|
|
1197
|
-
return /* @__PURE__ */
|
|
1197
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ l("div", {
|
|
1198
1198
|
className: q.item,
|
|
1199
|
-
children: /* @__PURE__ */
|
|
1199
|
+
children: /* @__PURE__ */ l("button", {
|
|
1200
1200
|
type: "button",
|
|
1201
|
-
className:
|
|
1201
|
+
className: H(q.button, t && q.active),
|
|
1202
1202
|
disabled: e.isDisabled,
|
|
1203
1203
|
"is-clickable": !e.isDisabled || void 0,
|
|
1204
1204
|
"is-disabled": e.isDisabled || void 0,
|
|
1205
1205
|
onClick: i,
|
|
1206
|
-
children: /* @__PURE__ */
|
|
1206
|
+
children: /* @__PURE__ */ l(G, {
|
|
1207
1207
|
iconName: e.iconName,
|
|
1208
1208
|
size: "1.5rem"
|
|
1209
1209
|
})
|
|
1210
1210
|
})
|
|
1211
1211
|
}) });
|
|
1212
1212
|
}
|
|
1213
|
-
function
|
|
1214
|
-
return /* @__PURE__ */
|
|
1215
|
-
className:
|
|
1213
|
+
function bt({ content: e, side: t, width: n }) {
|
|
1214
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ l("div", {
|
|
1215
|
+
className: H(q.popup, t === "rightSide" ? q.right : q.left),
|
|
1216
1216
|
style: { width: n },
|
|
1217
1217
|
children: e
|
|
1218
1218
|
}) });
|
|
1219
1219
|
}
|
|
1220
1220
|
var q = {
|
|
1221
|
-
base:
|
|
1221
|
+
base: U`
|
|
1222
1222
|
position: fixed;
|
|
1223
|
-
z-index: ${
|
|
1223
|
+
z-index: ${W.zIndex.front};
|
|
1224
1224
|
top: 40%;
|
|
1225
1225
|
right: 0;
|
|
1226
1226
|
display: flex;
|
|
@@ -1229,70 +1229,70 @@ var q = {
|
|
|
1229
1229
|
padding: .5rem;
|
|
1230
1230
|
border-right: 0;
|
|
1231
1231
|
border-radius: 10px 0 0 10px;
|
|
1232
|
-
background-color: ${
|
|
1232
|
+
background-color: ${W.colors.back.primary};
|
|
1233
1233
|
box-shadow: 0 6px 20px rgb(22 24 38 / 10%);
|
|
1234
1234
|
transform: translateY(-50%);
|
|
1235
1235
|
`,
|
|
1236
|
-
buttons:
|
|
1236
|
+
buttons: U`
|
|
1237
1237
|
display: flex;
|
|
1238
1238
|
flex-direction: column;
|
|
1239
1239
|
gap: .5rem;
|
|
1240
1240
|
max-height: inherit;
|
|
1241
1241
|
overflow-y: auto;
|
|
1242
1242
|
`,
|
|
1243
|
-
item:
|
|
1243
|
+
item: U`
|
|
1244
1244
|
position: relative;
|
|
1245
1245
|
`,
|
|
1246
|
-
button:
|
|
1246
|
+
button: U`
|
|
1247
1247
|
display: grid;
|
|
1248
1248
|
width: 2.75rem;
|
|
1249
1249
|
height: 2.75rem;
|
|
1250
1250
|
place-items: center;
|
|
1251
1251
|
border-radius: 8px;
|
|
1252
|
-
color: ${
|
|
1253
|
-
background-color: ${
|
|
1252
|
+
color: ${W.colors.fore.primary};
|
|
1253
|
+
background-color: ${W.colors.back.secondary};
|
|
1254
1254
|
transition: background-color .1s linear, color .1s linear;
|
|
1255
1255
|
`,
|
|
1256
|
-
active:
|
|
1257
|
-
color: ${
|
|
1258
|
-
background-color: ${
|
|
1256
|
+
active: U`
|
|
1257
|
+
color: ${W.colors.fore.primary};
|
|
1258
|
+
background-color: ${W.colors.primary};
|
|
1259
1259
|
`,
|
|
1260
|
-
popup:
|
|
1260
|
+
popup: U`
|
|
1261
1261
|
position: absolute;
|
|
1262
|
-
z-index: ${
|
|
1262
|
+
z-index: ${W.zIndex.front + 1};
|
|
1263
1263
|
top: .5rem;
|
|
1264
1264
|
min-width: 12rem;
|
|
1265
1265
|
max-width: calc(100vw - 2rem);
|
|
1266
1266
|
padding: 2rem 1.5rem;
|
|
1267
1267
|
border: solid 1px #e5e7e9;
|
|
1268
1268
|
border-radius: 10px;
|
|
1269
|
-
color: ${
|
|
1270
|
-
background-color: ${
|
|
1269
|
+
color: ${W.colors.fore.primary};
|
|
1270
|
+
background-color: ${W.colors.back.primary};
|
|
1271
1271
|
box-shadow: 0 6px 20px rgb(22 24 38 / 10%);
|
|
1272
|
-
font-family: ${
|
|
1272
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
1273
1273
|
`,
|
|
1274
|
-
left:
|
|
1274
|
+
left: U`
|
|
1275
1275
|
right: calc(100% + .5rem);
|
|
1276
1276
|
`,
|
|
1277
|
-
right:
|
|
1277
|
+
right: U`
|
|
1278
1278
|
left: calc(100% + .5rem);
|
|
1279
1279
|
`
|
|
1280
|
-
},
|
|
1281
|
-
className:
|
|
1280
|
+
}, xt = ({ type: e = "normal", width: t = "100%", value: n = 0 }) => /* @__PURE__ */ l(c, { children: /* @__PURE__ */ l("div", {
|
|
1281
|
+
className: St.base,
|
|
1282
1282
|
style: { width: t },
|
|
1283
|
-
children: /* @__PURE__ */
|
|
1284
|
-
className:
|
|
1283
|
+
children: /* @__PURE__ */ l("div", {
|
|
1284
|
+
className: H(St.value, St[e] ?? St.normal),
|
|
1285
1285
|
style: { width: `${n}%` }
|
|
1286
1286
|
})
|
|
1287
|
-
}) }),
|
|
1288
|
-
base:
|
|
1287
|
+
}) }), St = {
|
|
1288
|
+
base: U`
|
|
1289
1289
|
position: relative;
|
|
1290
1290
|
border-radius: 16px;
|
|
1291
1291
|
height: .625rem;
|
|
1292
|
-
border: solid 1px ${
|
|
1293
|
-
background-color: ${
|
|
1292
|
+
border: solid 1px ${W.colors.border};
|
|
1293
|
+
background-color: ${W.colors.back.secondary};
|
|
1294
1294
|
`,
|
|
1295
|
-
value:
|
|
1295
|
+
value: U`
|
|
1296
1296
|
position: absolute;
|
|
1297
1297
|
top: -1px;
|
|
1298
1298
|
bottom: -1px;
|
|
@@ -1301,24 +1301,24 @@ var q = {
|
|
|
1301
1301
|
will-change: width;
|
|
1302
1302
|
transition: width .3s ease;
|
|
1303
1303
|
`,
|
|
1304
|
-
normal:
|
|
1305
|
-
border: solid 1px ${
|
|
1306
|
-
background-color: ${
|
|
1304
|
+
normal: U`
|
|
1305
|
+
border: solid 1px ${n(W.colors.primary, .3)};
|
|
1306
|
+
background-color: ${W.colors.primary};
|
|
1307
1307
|
`,
|
|
1308
|
-
warn:
|
|
1309
|
-
border: solid 1px ${
|
|
1310
|
-
background-color: ${
|
|
1308
|
+
warn: U`
|
|
1309
|
+
border: solid 1px ${n(W.colors.secondary, .2)};
|
|
1310
|
+
background-color: ${W.colors.secondary};
|
|
1311
1311
|
`,
|
|
1312
|
-
danger:
|
|
1313
|
-
border: solid 1px ${
|
|
1314
|
-
background-color: ${
|
|
1312
|
+
danger: U`
|
|
1313
|
+
border: solid 1px ${n(W.colors.danger, .3)};
|
|
1314
|
+
background-color: ${W.colors.danger};
|
|
1315
1315
|
`
|
|
1316
1316
|
};
|
|
1317
1317
|
//#endregion
|
|
1318
1318
|
//#region src/components/_box.jsx
|
|
1319
|
-
function
|
|
1320
|
-
return /* @__PURE__ */
|
|
1321
|
-
className:
|
|
1319
|
+
function Ct({ className: e, type: t = "primary", width: n, height: r, children: i }) {
|
|
1320
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ l("div", {
|
|
1321
|
+
className: H(wt.base, wt[t] ?? wt.primary, e),
|
|
1322
1322
|
style: {
|
|
1323
1323
|
width: n,
|
|
1324
1324
|
height: r
|
|
@@ -1326,8 +1326,8 @@ function wt({ className: e, type: t = "primary", width: n, height: r, children:
|
|
|
1326
1326
|
children: i
|
|
1327
1327
|
}) });
|
|
1328
1328
|
}
|
|
1329
|
-
var
|
|
1330
|
-
base:
|
|
1329
|
+
var wt = {
|
|
1330
|
+
base: U`
|
|
1331
1331
|
position: relative;
|
|
1332
1332
|
border: solid 1px #dce0e4;
|
|
1333
1333
|
border-radius: 12px;
|
|
@@ -1335,30 +1335,30 @@ var Tt = {
|
|
|
1335
1335
|
box-shadow: 0 1px 0 rgb(22 24 38 / .08),
|
|
1336
1336
|
0 4px 10px rgb(22 24 38 / .045);
|
|
1337
1337
|
`,
|
|
1338
|
-
primary:
|
|
1339
|
-
background-color: ${
|
|
1338
|
+
primary: U`
|
|
1339
|
+
background-color: ${W.colors.back.primary};
|
|
1340
1340
|
`,
|
|
1341
|
-
secondary:
|
|
1341
|
+
secondary: U`
|
|
1342
1342
|
background-color: #fafafa;
|
|
1343
1343
|
`
|
|
1344
1344
|
};
|
|
1345
1345
|
//#endregion
|
|
1346
1346
|
//#region src/components/_button.jsx
|
|
1347
|
-
function
|
|
1348
|
-
let s = n || a,
|
|
1347
|
+
function Tt({ type: e = "primary", label: t, iconName: n, isDisabled: r = !1, isLoading: a = !1, onClick: o }) {
|
|
1348
|
+
let s = n || a, d = i(null);
|
|
1349
1349
|
function f(e) {
|
|
1350
1350
|
if (r || a) return;
|
|
1351
1351
|
e.stopPropagation(), e.preventDefault();
|
|
1352
1352
|
let t = e.currentTarget.getBoundingClientRect();
|
|
1353
|
-
|
|
1353
|
+
d.value = {
|
|
1354
1354
|
x: e.clientX - t.left,
|
|
1355
1355
|
y: e.clientY - t.top,
|
|
1356
1356
|
size: Math.max(t.width, t.height) * 2
|
|
1357
1357
|
}, o?.(e);
|
|
1358
1358
|
}
|
|
1359
|
-
return /* @__PURE__ */
|
|
1359
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ u("button", {
|
|
1360
1360
|
type: "button",
|
|
1361
|
-
className:
|
|
1361
|
+
className: H(Dt.base, Dt[e] ?? Dt.normal),
|
|
1362
1362
|
"has-icon": s,
|
|
1363
1363
|
"is-disabled": r || void 0,
|
|
1364
1364
|
"is-loading": a || void 0,
|
|
@@ -1366,32 +1366,32 @@ function Et({ type: e = "primary", label: t, iconName: n, isDisabled: r = !1, is
|
|
|
1366
1366
|
disabled: r || a,
|
|
1367
1367
|
onClick: f,
|
|
1368
1368
|
children: [
|
|
1369
|
-
s && /* @__PURE__ */
|
|
1370
|
-
className:
|
|
1371
|
-
${
|
|
1369
|
+
s && /* @__PURE__ */ l(c, { children: /* @__PURE__ */ l("div", {
|
|
1370
|
+
className: U`
|
|
1371
|
+
${W.extends.verticalCenter}
|
|
1372
1372
|
|
|
1373
1373
|
left: .6rem;
|
|
1374
1374
|
`,
|
|
1375
|
-
children: a ? /* @__PURE__ */
|
|
1375
|
+
children: a ? /* @__PURE__ */ l(G, {
|
|
1376
1376
|
iconName: "loader",
|
|
1377
1377
|
isSpinning: !0
|
|
1378
|
-
}) : /* @__PURE__ */
|
|
1378
|
+
}) : /* @__PURE__ */ l(G, { iconName: n })
|
|
1379
1379
|
}) }),
|
|
1380
1380
|
t,
|
|
1381
|
-
|
|
1382
|
-
className:
|
|
1381
|
+
d.value && /* @__PURE__ */ l(c, { children: /* @__PURE__ */ l("span", {
|
|
1382
|
+
className: Dt.ripple,
|
|
1383
1383
|
style: {
|
|
1384
|
-
left:
|
|
1385
|
-
top:
|
|
1386
|
-
width:
|
|
1387
|
-
height:
|
|
1384
|
+
left: d.value.x,
|
|
1385
|
+
top: d.value.y,
|
|
1386
|
+
width: d.value.size,
|
|
1387
|
+
height: d.value.size
|
|
1388
1388
|
},
|
|
1389
|
-
onAnimationEnd: () =>
|
|
1389
|
+
onAnimationEnd: () => d.value = null
|
|
1390
1390
|
}) })
|
|
1391
1391
|
]
|
|
1392
1392
|
}) });
|
|
1393
1393
|
}
|
|
1394
|
-
var
|
|
1394
|
+
var Et = at`
|
|
1395
1395
|
from {
|
|
1396
1396
|
opacity: .4;
|
|
1397
1397
|
transform: translate(-50%, -50%) scale(0);
|
|
@@ -1401,8 +1401,8 @@ var Dt = st`
|
|
|
1401
1401
|
opacity: 0;
|
|
1402
1402
|
transform: translate(-50%, -50%) scale(1);
|
|
1403
1403
|
}
|
|
1404
|
-
`,
|
|
1405
|
-
base:
|
|
1404
|
+
`, Dt = {
|
|
1405
|
+
base: U`
|
|
1406
1406
|
font-size: .9rem;
|
|
1407
1407
|
display: inline-block;
|
|
1408
1408
|
position: relative;
|
|
@@ -1414,7 +1414,7 @@ var Dt = st`
|
|
|
1414
1414
|
border-radius: 12px;
|
|
1415
1415
|
will-change: transform, border;
|
|
1416
1416
|
transition: transform .1s linear, border .1s linear;
|
|
1417
|
-
font-family: ${
|
|
1417
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
1418
1418
|
|
|
1419
1419
|
&:active {
|
|
1420
1420
|
transform: translateY(2px);
|
|
@@ -1423,30 +1423,30 @@ var Dt = st`
|
|
|
1423
1423
|
|
|
1424
1424
|
&[has-icon] { padding-left: 2rem; }
|
|
1425
1425
|
`,
|
|
1426
|
-
primary:
|
|
1427
|
-
color: ${
|
|
1428
|
-
border-bottom: solid 3px ${
|
|
1429
|
-
background-color: ${
|
|
1426
|
+
primary: U`
|
|
1427
|
+
color: ${n(W.colors.primary, .5)};
|
|
1428
|
+
border-bottom: solid 3px ${n(W.colors.primary, .25)};
|
|
1429
|
+
background-color: ${W.colors.primary};
|
|
1430
1430
|
`,
|
|
1431
|
-
secondary:
|
|
1432
|
-
color: ${
|
|
1433
|
-
border-bottom: solid 3px ${
|
|
1434
|
-
background-color: ${
|
|
1431
|
+
secondary: U`
|
|
1432
|
+
color: ${n(W.colors.secondary, .5)};
|
|
1433
|
+
border-bottom: solid 3px ${n(W.colors.secondary, .25)};
|
|
1434
|
+
background-color: ${W.colors.secondary};
|
|
1435
1435
|
`,
|
|
1436
|
-
ripple:
|
|
1436
|
+
ripple: U`
|
|
1437
1437
|
position: absolute;
|
|
1438
1438
|
z-index: 1;
|
|
1439
1439
|
border-radius: 50%;
|
|
1440
1440
|
pointer-events: none;
|
|
1441
1441
|
background-color: currentColor;
|
|
1442
|
-
animation: ${
|
|
1442
|
+
animation: ${Et} .5s ease-out forwards;
|
|
1443
1443
|
`
|
|
1444
1444
|
};
|
|
1445
1445
|
//#endregion
|
|
1446
1446
|
//#region src/components/_layout.jsx
|
|
1447
|
-
function
|
|
1448
|
-
return /* @__PURE__ */
|
|
1449
|
-
className:
|
|
1447
|
+
function Ot({ className: e, height: t, direction: n = "row", justify: r, align: i, gap: a, children: o }) {
|
|
1448
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ l("div", {
|
|
1449
|
+
className: H(kt.base, e),
|
|
1450
1450
|
style: {
|
|
1451
1451
|
height: t,
|
|
1452
1452
|
flexDirection: n,
|
|
@@ -1457,33 +1457,33 @@ function kt({ className: e, height: t, direction: n = "row", justify: r, align:
|
|
|
1457
1457
|
children: o
|
|
1458
1458
|
}) });
|
|
1459
1459
|
}
|
|
1460
|
-
var
|
|
1460
|
+
var kt = { base: U`
|
|
1461
1461
|
display: flex;
|
|
1462
1462
|
` };
|
|
1463
1463
|
//#endregion
|
|
1464
1464
|
//#region src/components/_headline.jsx
|
|
1465
|
-
function
|
|
1466
|
-
return /* @__PURE__ */
|
|
1467
|
-
className:
|
|
1465
|
+
function At({ as: e = "h2", className: t, size: n = "normal", color: r = W.colors.fore.primary, children: i }) {
|
|
1466
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ l(e, {
|
|
1467
|
+
className: H(jt.base, jt[n] ?? jt.normal, t),
|
|
1468
1468
|
style: { color: r },
|
|
1469
1469
|
children: i
|
|
1470
1470
|
}) });
|
|
1471
1471
|
}
|
|
1472
|
-
var
|
|
1473
|
-
base:
|
|
1472
|
+
var jt = {
|
|
1473
|
+
base: U`
|
|
1474
1474
|
letter-spacing: 1px;
|
|
1475
1475
|
`,
|
|
1476
|
-
normal:
|
|
1476
|
+
normal: U`
|
|
1477
1477
|
font-weight: 500;
|
|
1478
1478
|
font-size: 1rem;
|
|
1479
1479
|
line-height: 1.2rem;
|
|
1480
1480
|
`,
|
|
1481
|
-
large:
|
|
1481
|
+
large: U`
|
|
1482
1482
|
font-weight: 600;
|
|
1483
1483
|
font-size: 1.4rem;
|
|
1484
1484
|
line-height: 1.2;
|
|
1485
1485
|
`,
|
|
1486
|
-
small:
|
|
1486
|
+
small: U`
|
|
1487
1487
|
font-weight: 500;
|
|
1488
1488
|
font-size: .9rem;
|
|
1489
1489
|
line-height: 1.2rem;
|
|
@@ -1491,68 +1491,68 @@ var Mt = {
|
|
|
1491
1491
|
};
|
|
1492
1492
|
//#endregion
|
|
1493
1493
|
//#region src/components/_space.jsx
|
|
1494
|
-
function
|
|
1495
|
-
return /* @__PURE__ */
|
|
1494
|
+
function Mt({ size: e = 1 }) {
|
|
1495
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ l("div", { style: {
|
|
1496
1496
|
height: e > 0 ? `${e}rem` : 0,
|
|
1497
1497
|
marginTop: e < 0 ? `${e}rem` : 0
|
|
1498
1498
|
} }) });
|
|
1499
1499
|
}
|
|
1500
1500
|
//#endregion
|
|
1501
1501
|
//#region src/components/_text-field.jsx
|
|
1502
|
-
function
|
|
1503
|
-
let f = o(),
|
|
1502
|
+
function Nt({ label: e, placeholder: t, value: n, width: r, isDisabled: s, onChange: d }) {
|
|
1503
|
+
let f = o(), p = i(n ?? "");
|
|
1504
1504
|
a(() => {
|
|
1505
|
-
|
|
1505
|
+
p.value = n ?? "";
|
|
1506
1506
|
}, [n]);
|
|
1507
|
-
function
|
|
1507
|
+
function m({ target: e }) {
|
|
1508
1508
|
let t = e.value;
|
|
1509
|
-
|
|
1509
|
+
p.value = t, d?.(t);
|
|
1510
1510
|
}
|
|
1511
|
-
return /* @__PURE__ */
|
|
1511
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ u("div", {
|
|
1512
1512
|
className: J.base,
|
|
1513
1513
|
style: { width: r },
|
|
1514
|
-
"is-disabled":
|
|
1515
|
-
children: [e && /* @__PURE__ */
|
|
1514
|
+
"is-disabled": s,
|
|
1515
|
+
children: [e && /* @__PURE__ */ l("label", {
|
|
1516
1516
|
className: J.topLabel,
|
|
1517
1517
|
htmlFor: f,
|
|
1518
1518
|
children: e
|
|
1519
|
-
}), /* @__PURE__ */
|
|
1519
|
+
}), /* @__PURE__ */ u("div", {
|
|
1520
1520
|
className: J.field,
|
|
1521
|
-
children: [!p && t && (e ? /* @__PURE__ */
|
|
1521
|
+
children: [!p.value && t && (e ? /* @__PURE__ */ l("span", {
|
|
1522
1522
|
className: J.placeholder,
|
|
1523
1523
|
children: t
|
|
1524
|
-
}) : /* @__PURE__ */
|
|
1524
|
+
}) : /* @__PURE__ */ l("label", {
|
|
1525
1525
|
className: J.placeholder,
|
|
1526
1526
|
htmlFor: f,
|
|
1527
1527
|
children: t
|
|
1528
|
-
})), /* @__PURE__ */
|
|
1528
|
+
})), /* @__PURE__ */ l("input", {
|
|
1529
1529
|
id: f,
|
|
1530
1530
|
name: f,
|
|
1531
1531
|
className: J.input,
|
|
1532
|
-
value: p,
|
|
1533
|
-
disabled:
|
|
1532
|
+
value: p.value,
|
|
1533
|
+
disabled: s,
|
|
1534
1534
|
autocomplete: "off",
|
|
1535
|
-
onInput:
|
|
1535
|
+
onInput: m
|
|
1536
1536
|
})]
|
|
1537
1537
|
})]
|
|
1538
1538
|
}) });
|
|
1539
1539
|
}
|
|
1540
1540
|
var J = {
|
|
1541
|
-
base:
|
|
1541
|
+
base: U`
|
|
1542
1542
|
display: grid;
|
|
1543
1543
|
gap: .5rem;
|
|
1544
1544
|
`,
|
|
1545
|
-
topLabel:
|
|
1546
|
-
color: ${
|
|
1545
|
+
topLabel: U`
|
|
1546
|
+
color: ${W.colors.fore.secondary};
|
|
1547
1547
|
font-size: .75rem;
|
|
1548
1548
|
font-weight: 500;
|
|
1549
1549
|
letter-spacing: 1px;
|
|
1550
|
-
font-family: ${
|
|
1550
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
1551
1551
|
`,
|
|
1552
|
-
field:
|
|
1552
|
+
field: U`
|
|
1553
1553
|
position: relative;
|
|
1554
1554
|
`,
|
|
1555
|
-
placeholder:
|
|
1555
|
+
placeholder: U`
|
|
1556
1556
|
font-size: .875rem;
|
|
1557
1557
|
font-weight: 500;
|
|
1558
1558
|
opacity: .5;
|
|
@@ -1561,10 +1561,10 @@ var J = {
|
|
|
1561
1561
|
top: .75rem;
|
|
1562
1562
|
pointer-events: none;
|
|
1563
1563
|
letter-spacing: 1px;
|
|
1564
|
-
font-family: ${
|
|
1565
|
-
color: ${
|
|
1564
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
1565
|
+
color: ${W.colors.fore.primary};
|
|
1566
1566
|
`,
|
|
1567
|
-
input:
|
|
1567
|
+
input: U`
|
|
1568
1568
|
font-size: .875rem;
|
|
1569
1569
|
font-weight: 500;
|
|
1570
1570
|
color: rgb(58, 58, 58);
|
|
@@ -1575,21 +1575,21 @@ var J = {
|
|
|
1575
1575
|
width: 100%;
|
|
1576
1576
|
border-radius: 8px;
|
|
1577
1577
|
letter-spacing: 1px;
|
|
1578
|
-
font-family: ${
|
|
1579
|
-
color: ${
|
|
1580
|
-
background-color: ${
|
|
1578
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
1579
|
+
color: ${W.colors.fore.primary};
|
|
1580
|
+
background-color: ${W.colors.back.secondary};
|
|
1581
1581
|
`
|
|
1582
1582
|
};
|
|
1583
1583
|
//#endregion
|
|
1584
1584
|
//#region src/components/_dropdown.jsx
|
|
1585
|
-
function
|
|
1586
|
-
let
|
|
1585
|
+
function Pt({ items: e = [], value: t, width: n, isDisabled: r = !1, onChange: o }) {
|
|
1586
|
+
let d = s(null), f = s(null), p = i(t ?? e[0]?.value ?? ""), m = i(!1), h = e[e.findIndex((e) => e.value === p.value)] ?? e[0], g = r || e.length === 0;
|
|
1587
1587
|
a(() => {
|
|
1588
1588
|
t !== void 0 && (p.value = t);
|
|
1589
1589
|
}, [t]), a(() => {
|
|
1590
1590
|
if (!m.value) return;
|
|
1591
1591
|
function e({ target: e }) {
|
|
1592
|
-
|
|
1592
|
+
d.current?.contains(e) || (m.value = !1);
|
|
1593
1593
|
}
|
|
1594
1594
|
return document.addEventListener("pointerdown", e), () => {
|
|
1595
1595
|
document.removeEventListener("pointerdown", e);
|
|
@@ -1608,7 +1608,7 @@ function Ft({ items: e = [], value: t, width: n, isDisabled: r = !1, onChange: o
|
|
|
1608
1608
|
function y(e) {
|
|
1609
1609
|
p.value = e.value, m.value = !1, f.current?.focus(), o?.(e.value, e);
|
|
1610
1610
|
}
|
|
1611
|
-
let b = /* @__PURE__ */
|
|
1611
|
+
let b = /* @__PURE__ */ u("button", {
|
|
1612
1612
|
ref: f,
|
|
1613
1613
|
type: "button",
|
|
1614
1614
|
className: Y.trigger,
|
|
@@ -1616,34 +1616,34 @@ function Ft({ items: e = [], value: t, width: n, isDisabled: r = !1, onChange: o
|
|
|
1616
1616
|
disabled: g,
|
|
1617
1617
|
onClick: v,
|
|
1618
1618
|
children: [
|
|
1619
|
-
/* @__PURE__ */
|
|
1619
|
+
/* @__PURE__ */ l("span", {
|
|
1620
1620
|
className: Y.sizer,
|
|
1621
|
-
children: e.map((e) => /* @__PURE__ */
|
|
1621
|
+
children: e.map((e) => /* @__PURE__ */ l("span", {
|
|
1622
1622
|
className: Y.sizerValue,
|
|
1623
1623
|
children: e.label
|
|
1624
1624
|
}, e.value))
|
|
1625
1625
|
}),
|
|
1626
|
-
/* @__PURE__ */
|
|
1626
|
+
/* @__PURE__ */ l("span", {
|
|
1627
1627
|
className: Y.label,
|
|
1628
1628
|
children: h?.label
|
|
1629
1629
|
}),
|
|
1630
|
-
/* @__PURE__ */
|
|
1631
|
-
className:
|
|
1630
|
+
/* @__PURE__ */ l(G, {
|
|
1631
|
+
className: H(Y.icon, m.value && Y.iconOpen),
|
|
1632
1632
|
iconName: "down",
|
|
1633
1633
|
size: "1rem"
|
|
1634
1634
|
})
|
|
1635
1635
|
]
|
|
1636
1636
|
});
|
|
1637
|
-
return /* @__PURE__ */
|
|
1638
|
-
ref:
|
|
1637
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ l("div", {
|
|
1638
|
+
ref: d,
|
|
1639
1639
|
className: Y.base,
|
|
1640
1640
|
"is-disabled": g || void 0,
|
|
1641
|
-
children: /* @__PURE__ */
|
|
1641
|
+
children: /* @__PURE__ */ l(ut, {
|
|
1642
1642
|
className: Y.popup,
|
|
1643
1643
|
trigger: b,
|
|
1644
1644
|
isOpen: m.value,
|
|
1645
1645
|
origin: "left",
|
|
1646
|
-
children: e.map((e) => /* @__PURE__ */
|
|
1646
|
+
children: e.map((e) => /* @__PURE__ */ l("button", {
|
|
1647
1647
|
type: "button",
|
|
1648
1648
|
className: Y.option,
|
|
1649
1649
|
"is-selected": e.value === p.value || void 0,
|
|
@@ -1654,10 +1654,10 @@ function Ft({ items: e = [], value: t, width: n, isDisabled: r = !1, onChange: o
|
|
|
1654
1654
|
}) });
|
|
1655
1655
|
}
|
|
1656
1656
|
var Y = {
|
|
1657
|
-
base:
|
|
1657
|
+
base: U`
|
|
1658
1658
|
display: inline-block;
|
|
1659
1659
|
`,
|
|
1660
|
-
trigger:
|
|
1660
|
+
trigger: U`
|
|
1661
1661
|
display: inline-grid;
|
|
1662
1662
|
position: relative;
|
|
1663
1663
|
align-items: center;
|
|
@@ -1670,47 +1670,47 @@ var Y = {
|
|
|
1670
1670
|
font-size: .875rem;
|
|
1671
1671
|
font-weight: 500;
|
|
1672
1672
|
letter-spacing: 1px;
|
|
1673
|
-
color: ${
|
|
1674
|
-
background-color: ${
|
|
1675
|
-
font-family: ${
|
|
1673
|
+
color: ${W.colors.fore.primary};
|
|
1674
|
+
background-color: ${W.colors.back.secondary};
|
|
1675
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
1676
1676
|
|
|
1677
1677
|
&:focus-visible {
|
|
1678
|
-
box-shadow: 0 0 0 2px ${
|
|
1678
|
+
box-shadow: 0 0 0 2px ${W.colors.primary};
|
|
1679
1679
|
}
|
|
1680
1680
|
|
|
1681
1681
|
&:disabled { cursor: default; }
|
|
1682
1682
|
`,
|
|
1683
|
-
sizer:
|
|
1683
|
+
sizer: U`
|
|
1684
1684
|
display: inline-grid;
|
|
1685
1685
|
visibility: hidden;
|
|
1686
1686
|
grid-area: 1 / 1;
|
|
1687
1687
|
`,
|
|
1688
|
-
sizerValue:
|
|
1688
|
+
sizerValue: U`
|
|
1689
1689
|
grid-area: 1 / 1;
|
|
1690
1690
|
white-space: nowrap;
|
|
1691
1691
|
`,
|
|
1692
|
-
label:
|
|
1692
|
+
label: U`
|
|
1693
1693
|
grid-area: 1 / 1;
|
|
1694
1694
|
overflow: hidden;
|
|
1695
1695
|
white-space: nowrap;
|
|
1696
1696
|
text-overflow: ellipsis;
|
|
1697
1697
|
`,
|
|
1698
|
-
icon:
|
|
1699
|
-
${
|
|
1698
|
+
icon: U`
|
|
1699
|
+
${W.extends.verticalCenter}
|
|
1700
1700
|
|
|
1701
1701
|
right: .75rem;
|
|
1702
1702
|
pointer-events: none;
|
|
1703
1703
|
`,
|
|
1704
|
-
iconOpen:
|
|
1704
|
+
iconOpen: U`
|
|
1705
1705
|
transform: translateY(-50%) rotate(180deg);
|
|
1706
1706
|
`,
|
|
1707
|
-
popup:
|
|
1707
|
+
popup: U`
|
|
1708
1708
|
display: grid;
|
|
1709
1709
|
gap: .125rem;
|
|
1710
1710
|
min-width: 0;
|
|
1711
1711
|
padding: .25rem;
|
|
1712
1712
|
`,
|
|
1713
|
-
option:
|
|
1713
|
+
option: U`
|
|
1714
1714
|
width: 100%;
|
|
1715
1715
|
padding: .6rem .75rem;
|
|
1716
1716
|
border-radius: 7px;
|
|
@@ -1718,19 +1718,19 @@ var Y = {
|
|
|
1718
1718
|
text-align: left;
|
|
1719
1719
|
white-space: nowrap;
|
|
1720
1720
|
font-size: .825rem;
|
|
1721
|
-
color: ${
|
|
1722
|
-
font-family: ${
|
|
1721
|
+
color: ${W.colors.fore.primary};
|
|
1722
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
1723
1723
|
|
|
1724
1724
|
&:hover,
|
|
1725
1725
|
&:focus-visible,
|
|
1726
1726
|
&[is-selected] {
|
|
1727
|
-
background-color: ${
|
|
1727
|
+
background-color: ${W.colors.back.secondary};
|
|
1728
1728
|
}
|
|
1729
1729
|
`
|
|
1730
1730
|
};
|
|
1731
1731
|
//#endregion
|
|
1732
1732
|
//#region src/components/_slider.jsx
|
|
1733
|
-
function
|
|
1733
|
+
function Ft({ label: e, items: t = [], value: n, isDisabled: r = !1, onSlide: s, onChange: d }) {
|
|
1734
1734
|
let f = o(), p = i(n ?? t[0]?.value), m = Math.max(t.findIndex((e) => e.value === p.value), 0);
|
|
1735
1735
|
t[m];
|
|
1736
1736
|
let h = r || t.length < 2;
|
|
@@ -1746,20 +1746,20 @@ function It({ label: e, items: t = [], value: n, isDisabled: r = !1, onSlide: s,
|
|
|
1746
1746
|
}
|
|
1747
1747
|
function v(e) {
|
|
1748
1748
|
let t = g(e);
|
|
1749
|
-
t &&
|
|
1749
|
+
t && d?.(t.value, t);
|
|
1750
1750
|
}
|
|
1751
|
-
return /* @__PURE__ */
|
|
1752
|
-
className:
|
|
1751
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ u("div", {
|
|
1752
|
+
className: It.base,
|
|
1753
1753
|
children: [
|
|
1754
|
-
e && /* @__PURE__ */
|
|
1755
|
-
className:
|
|
1754
|
+
e && /* @__PURE__ */ l("label", {
|
|
1755
|
+
className: It.label,
|
|
1756
1756
|
htmlFor: f,
|
|
1757
1757
|
children: e
|
|
1758
1758
|
}),
|
|
1759
|
-
/* @__PURE__ */
|
|
1759
|
+
/* @__PURE__ */ l("input", {
|
|
1760
1760
|
id: f,
|
|
1761
1761
|
type: "range",
|
|
1762
|
-
className:
|
|
1762
|
+
className: It.input,
|
|
1763
1763
|
min: "0",
|
|
1764
1764
|
max: Math.max(t.length - 1, 0),
|
|
1765
1765
|
step: "1",
|
|
@@ -1768,27 +1768,27 @@ function It({ label: e, items: t = [], value: n, isDisabled: r = !1, onSlide: s,
|
|
|
1768
1768
|
onInput: _,
|
|
1769
1769
|
onChange: v
|
|
1770
1770
|
}),
|
|
1771
|
-
/* @__PURE__ */
|
|
1772
|
-
className:
|
|
1773
|
-
children: t.map((e) => /* @__PURE__ */
|
|
1771
|
+
/* @__PURE__ */ l("div", {
|
|
1772
|
+
className: It.items,
|
|
1773
|
+
children: t.map((e) => /* @__PURE__ */ l("span", { children: e.label }, e.value))
|
|
1774
1774
|
})
|
|
1775
1775
|
]
|
|
1776
1776
|
}) });
|
|
1777
1777
|
}
|
|
1778
|
-
var
|
|
1779
|
-
base:
|
|
1778
|
+
var It = {
|
|
1779
|
+
base: U`
|
|
1780
1780
|
display: grid;
|
|
1781
1781
|
gap: .5rem;
|
|
1782
1782
|
width: 100%;
|
|
1783
|
-
font-family: ${
|
|
1783
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
1784
1784
|
`,
|
|
1785
|
-
label:
|
|
1786
|
-
color: ${
|
|
1785
|
+
label: U`
|
|
1786
|
+
color: ${W.colors.fore.secondary};
|
|
1787
1787
|
font-size: .75rem;
|
|
1788
1788
|
font-weight: 500;
|
|
1789
1789
|
letter-spacing: 1px;
|
|
1790
1790
|
`,
|
|
1791
|
-
input:
|
|
1791
|
+
input: U`
|
|
1792
1792
|
appearance: none;
|
|
1793
1793
|
width: 100%;
|
|
1794
1794
|
height: 1.25rem;
|
|
@@ -1799,7 +1799,7 @@ var Lt = {
|
|
|
1799
1799
|
&::-webkit-slider-runnable-track {
|
|
1800
1800
|
height: .25rem;
|
|
1801
1801
|
border-radius: 1rem;
|
|
1802
|
-
background-color: ${
|
|
1802
|
+
background-color: ${W.colors.back.secondary};
|
|
1803
1803
|
}
|
|
1804
1804
|
|
|
1805
1805
|
&::-webkit-slider-thumb {
|
|
@@ -1807,48 +1807,48 @@ var Lt = {
|
|
|
1807
1807
|
width: 1rem;
|
|
1808
1808
|
height: 1rem;
|
|
1809
1809
|
margin-top: -.375rem;
|
|
1810
|
-
border: solid 2px ${
|
|
1810
|
+
border: solid 2px ${W.colors.back.primary};
|
|
1811
1811
|
border-radius: 50%;
|
|
1812
|
-
border: solid 1px ${
|
|
1813
|
-
background-color: ${
|
|
1812
|
+
border: solid 1px ${n(W.colors.primary, .3)};
|
|
1813
|
+
background-color: ${W.colors.primary};
|
|
1814
1814
|
}
|
|
1815
1815
|
|
|
1816
1816
|
&:disabled::-webkit-slider-thumb {
|
|
1817
|
-
border-color: ${
|
|
1818
|
-
background-color: ${
|
|
1817
|
+
border-color: ${W.colors.border};
|
|
1818
|
+
background-color: ${W.colors.border};
|
|
1819
1819
|
}
|
|
1820
1820
|
|
|
1821
1821
|
&::-moz-range-track {
|
|
1822
1822
|
height: .25rem;
|
|
1823
1823
|
border-radius: 1rem;
|
|
1824
|
-
background-color: ${
|
|
1824
|
+
background-color: ${W.colors.back.secondary};
|
|
1825
1825
|
}
|
|
1826
1826
|
|
|
1827
1827
|
&::-moz-range-thumb {
|
|
1828
1828
|
width: .75rem;
|
|
1829
1829
|
height: .75rem;
|
|
1830
|
-
border: solid 2px ${
|
|
1830
|
+
border: solid 2px ${W.colors.back.primary};
|
|
1831
1831
|
border-radius: 50%;
|
|
1832
|
-
background-color: ${
|
|
1832
|
+
background-color: ${W.colors.primary};
|
|
1833
1833
|
}
|
|
1834
1834
|
|
|
1835
1835
|
&:disabled::-moz-range-thumb {
|
|
1836
|
-
border-color: ${
|
|
1837
|
-
background-color: ${
|
|
1836
|
+
border-color: ${W.colors.border};
|
|
1837
|
+
background-color: ${W.colors.border};
|
|
1838
1838
|
}
|
|
1839
1839
|
|
|
1840
1840
|
&:focus-visible {
|
|
1841
|
-
outline: solid 2px ${
|
|
1841
|
+
outline: solid 2px ${W.colors.primary};
|
|
1842
1842
|
outline-offset: .25rem;
|
|
1843
1843
|
border-radius: 1rem;
|
|
1844
1844
|
}
|
|
1845
1845
|
|
|
1846
1846
|
&:disabled { cursor: default; }
|
|
1847
1847
|
`,
|
|
1848
|
-
items:
|
|
1848
|
+
items: U`
|
|
1849
1849
|
display: flex;
|
|
1850
1850
|
justify-content: space-between;
|
|
1851
|
-
color: ${
|
|
1851
|
+
color: ${W.colors.fore.secondary};
|
|
1852
1852
|
font-size: .65rem;
|
|
1853
1853
|
font-weight: 500;
|
|
1854
1854
|
letter-spacing: .6px;
|
|
@@ -1856,49 +1856,49 @@ var Lt = {
|
|
|
1856
1856
|
};
|
|
1857
1857
|
//#endregion
|
|
1858
1858
|
//#region src/components/_option-group.jsx
|
|
1859
|
-
function
|
|
1860
|
-
let f = o(), p = `${f}-label`,
|
|
1859
|
+
function Lt({ label: e, items: t = [], value: n, width: r, isDisabled: s = !1, onChange: d }) {
|
|
1860
|
+
let f = o(), p = `${f}-label`, m = i(n);
|
|
1861
1861
|
a(() => {
|
|
1862
|
-
n !== void 0 &&
|
|
1862
|
+
n !== void 0 && (m.value = n);
|
|
1863
1863
|
}, [n]);
|
|
1864
|
-
function
|
|
1865
|
-
let t = m === e.value ? void 0 : e.value;
|
|
1866
|
-
|
|
1864
|
+
function h(e) {
|
|
1865
|
+
let t = m.value === e.value ? void 0 : e.value;
|
|
1866
|
+
m.value = t, d?.(t, t === void 0 ? void 0 : e);
|
|
1867
1867
|
}
|
|
1868
|
-
function
|
|
1869
|
-
e.preventDefault(),
|
|
1868
|
+
function g(e, t) {
|
|
1869
|
+
e.preventDefault(), h(t);
|
|
1870
1870
|
}
|
|
1871
|
-
function
|
|
1872
|
-
e.key === " " && m === t.value && (e.preventDefault(),
|
|
1871
|
+
function _(e, t) {
|
|
1872
|
+
e.key === " " && m.value === t.value && (e.preventDefault(), h(t));
|
|
1873
1873
|
}
|
|
1874
|
-
return /* @__PURE__ */
|
|
1874
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ u("div", {
|
|
1875
1875
|
className: X.base,
|
|
1876
1876
|
style: { width: r },
|
|
1877
|
-
children: [e && /* @__PURE__ */
|
|
1877
|
+
children: [e && /* @__PURE__ */ l("span", {
|
|
1878
1878
|
id: p,
|
|
1879
1879
|
className: X.groupLabel,
|
|
1880
1880
|
children: e
|
|
1881
|
-
}), /* @__PURE__ */
|
|
1881
|
+
}), /* @__PURE__ */ l("div", {
|
|
1882
1882
|
className: X.options,
|
|
1883
1883
|
role: "radiogroup",
|
|
1884
1884
|
"aria-labelledby": e ? p : void 0,
|
|
1885
1885
|
children: t.map((e, t) => {
|
|
1886
|
-
let n = `${f}-${t}`, r =
|
|
1887
|
-
return /* @__PURE__ */
|
|
1886
|
+
let n = `${f}-${t}`, r = s || e.isDisabled;
|
|
1887
|
+
return /* @__PURE__ */ u("div", {
|
|
1888
1888
|
className: X.option,
|
|
1889
|
-
children: [/* @__PURE__ */
|
|
1889
|
+
children: [/* @__PURE__ */ l("input", {
|
|
1890
1890
|
id: n,
|
|
1891
1891
|
type: "radio",
|
|
1892
1892
|
name: f,
|
|
1893
1893
|
className: X.input,
|
|
1894
|
-
checked: e.value === m,
|
|
1894
|
+
checked: e.value === m.value,
|
|
1895
1895
|
disabled: r,
|
|
1896
|
-
onChange: () =>
|
|
1897
|
-
onKeyDown: (t) =>
|
|
1898
|
-
}), /* @__PURE__ */
|
|
1896
|
+
onChange: () => h(e),
|
|
1897
|
+
onKeyDown: (t) => _(t, e)
|
|
1898
|
+
}), /* @__PURE__ */ l("label", {
|
|
1899
1899
|
className: X.optionLabel,
|
|
1900
1900
|
htmlFor: n,
|
|
1901
|
-
onClick: (t) =>
|
|
1901
|
+
onClick: (t) => g(t, e),
|
|
1902
1902
|
children: e.label
|
|
1903
1903
|
})]
|
|
1904
1904
|
}, e.value);
|
|
@@ -1907,25 +1907,25 @@ function Rt({ label: e, items: t = [], value: n, width: r, isDisabled: i = !1, o
|
|
|
1907
1907
|
}) });
|
|
1908
1908
|
}
|
|
1909
1909
|
var X = {
|
|
1910
|
-
base:
|
|
1910
|
+
base: U`
|
|
1911
1911
|
display: grid;
|
|
1912
1912
|
gap: .5rem;
|
|
1913
1913
|
width: 100%;
|
|
1914
|
-
font-family: ${
|
|
1914
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
1915
1915
|
`,
|
|
1916
|
-
groupLabel:
|
|
1917
|
-
color: ${
|
|
1916
|
+
groupLabel: U`
|
|
1917
|
+
color: ${W.colors.fore.secondary};
|
|
1918
1918
|
font-size: .75rem;
|
|
1919
1919
|
font-weight: 500;
|
|
1920
1920
|
letter-spacing: 1px;
|
|
1921
1921
|
`,
|
|
1922
|
-
options:
|
|
1922
|
+
options: U`
|
|
1923
1923
|
display: flex;
|
|
1924
1924
|
overflow: hidden;
|
|
1925
1925
|
border-radius: 8px;
|
|
1926
|
-
background-color: ${
|
|
1926
|
+
background-color: ${W.colors.back.secondary};
|
|
1927
1927
|
`,
|
|
1928
|
-
input:
|
|
1928
|
+
input: U`
|
|
1929
1929
|
position: absolute;
|
|
1930
1930
|
width: 1px;
|
|
1931
1931
|
height: 1px;
|
|
@@ -1935,12 +1935,12 @@ var X = {
|
|
|
1935
1935
|
white-space: nowrap;
|
|
1936
1936
|
|
|
1937
1937
|
&:checked + label {
|
|
1938
|
-
color: ${
|
|
1939
|
-
background-color: ${
|
|
1938
|
+
color: ${W.colors.fore.primary};
|
|
1939
|
+
background-color: ${W.colors.primary};
|
|
1940
1940
|
}
|
|
1941
1941
|
|
|
1942
1942
|
&:focus-visible + label {
|
|
1943
|
-
box-shadow: inset 0 0 0 2px ${
|
|
1943
|
+
box-shadow: inset 0 0 0 2px ${W.colors.fore.primary};
|
|
1944
1944
|
}
|
|
1945
1945
|
|
|
1946
1946
|
&:disabled + label {
|
|
@@ -1948,18 +1948,18 @@ var X = {
|
|
|
1948
1948
|
opacity: .5;
|
|
1949
1949
|
}
|
|
1950
1950
|
`,
|
|
1951
|
-
option:
|
|
1951
|
+
option: U`
|
|
1952
1952
|
display: grid;
|
|
1953
1953
|
flex: 1;
|
|
1954
1954
|
min-width: 0;
|
|
1955
1955
|
`,
|
|
1956
|
-
optionLabel:
|
|
1956
|
+
optionLabel: U`
|
|
1957
1957
|
display: grid;
|
|
1958
1958
|
min-height: 2.5rem;
|
|
1959
1959
|
padding: .5rem .75rem;
|
|
1960
1960
|
place-items: center;
|
|
1961
1961
|
cursor: pointer;
|
|
1962
|
-
color: ${
|
|
1962
|
+
color: ${W.colors.fore.secondary};
|
|
1963
1963
|
font-size: .75rem;
|
|
1964
1964
|
font-weight: 500;
|
|
1965
1965
|
letter-spacing: 1px;
|
|
@@ -1969,45 +1969,45 @@ var X = {
|
|
|
1969
1969
|
};
|
|
1970
1970
|
//#endregion
|
|
1971
1971
|
//#region src/components/_checkbox.jsx
|
|
1972
|
-
function
|
|
1973
|
-
let s = o(),
|
|
1972
|
+
function Rt({ label: e, isChecked: t = !1, isDisabled: n = !1, onChange: r }) {
|
|
1973
|
+
let s = o(), d = i(t);
|
|
1974
1974
|
a(() => {
|
|
1975
|
-
|
|
1975
|
+
d.value = t;
|
|
1976
1976
|
}, [t]);
|
|
1977
1977
|
function f() {
|
|
1978
|
-
let e = !
|
|
1979
|
-
|
|
1978
|
+
let e = !d.value;
|
|
1979
|
+
d.value = e, r?.(e);
|
|
1980
1980
|
}
|
|
1981
|
-
return /* @__PURE__ */
|
|
1982
|
-
className:
|
|
1983
|
-
children: [/* @__PURE__ */
|
|
1981
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ u("div", {
|
|
1982
|
+
className: zt.base,
|
|
1983
|
+
children: [/* @__PURE__ */ l("input", {
|
|
1984
1984
|
id: s,
|
|
1985
1985
|
type: "checkbox",
|
|
1986
|
-
className:
|
|
1987
|
-
checked:
|
|
1986
|
+
className: zt.input,
|
|
1987
|
+
checked: d.value,
|
|
1988
1988
|
disabled: n,
|
|
1989
1989
|
onChange: f
|
|
1990
|
-
}), /* @__PURE__ */
|
|
1991
|
-
className:
|
|
1990
|
+
}), /* @__PURE__ */ u("label", {
|
|
1991
|
+
className: zt.label,
|
|
1992
1992
|
htmlFor: s,
|
|
1993
|
-
children: [/* @__PURE__ */
|
|
1994
|
-
className:
|
|
1995
|
-
children: /* @__PURE__ */
|
|
1996
|
-
className:
|
|
1993
|
+
children: [/* @__PURE__ */ l("span", {
|
|
1994
|
+
className: zt.indicator,
|
|
1995
|
+
children: /* @__PURE__ */ l(G, {
|
|
1996
|
+
className: zt.icon,
|
|
1997
1997
|
iconName: "check",
|
|
1998
1998
|
size: ".75rem"
|
|
1999
1999
|
})
|
|
2000
|
-
}), e && /* @__PURE__ */
|
|
2000
|
+
}), e && /* @__PURE__ */ l("span", { children: e })]
|
|
2001
2001
|
})]
|
|
2002
2002
|
}) });
|
|
2003
2003
|
}
|
|
2004
|
-
var
|
|
2005
|
-
base:
|
|
2004
|
+
var zt = {
|
|
2005
|
+
base: U`
|
|
2006
2006
|
position: relative;
|
|
2007
2007
|
display: inline-block;
|
|
2008
|
-
font-family: ${
|
|
2008
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
2009
2009
|
`,
|
|
2010
|
-
input:
|
|
2010
|
+
input: U`
|
|
2011
2011
|
position: absolute;
|
|
2012
2012
|
width: 1px;
|
|
2013
2013
|
height: 1px;
|
|
@@ -2017,14 +2017,14 @@ var Bt = {
|
|
|
2017
2017
|
white-space: nowrap;
|
|
2018
2018
|
|
|
2019
2019
|
&:checked + label > span:first-child {
|
|
2020
|
-
border-color: ${
|
|
2021
|
-
background-color: ${
|
|
2020
|
+
border-color: ${W.colors.primary};
|
|
2021
|
+
background-color: ${W.colors.primary};
|
|
2022
2022
|
}
|
|
2023
2023
|
|
|
2024
2024
|
&:checked + label svg { opacity: 1; }
|
|
2025
2025
|
|
|
2026
2026
|
&:focus-visible + label > span:first-child {
|
|
2027
|
-
box-shadow: 0 0 0 2px ${
|
|
2027
|
+
box-shadow: 0 0 0 2px ${W.colors.primary};
|
|
2028
2028
|
}
|
|
2029
2029
|
|
|
2030
2030
|
&:disabled + label {
|
|
@@ -2032,95 +2032,95 @@ var Bt = {
|
|
|
2032
2032
|
opacity: .5;
|
|
2033
2033
|
}
|
|
2034
2034
|
`,
|
|
2035
|
-
label:
|
|
2035
|
+
label: U`
|
|
2036
2036
|
display: inline-flex;
|
|
2037
2037
|
gap: .5rem;
|
|
2038
2038
|
align-items: center;
|
|
2039
2039
|
cursor: pointer;
|
|
2040
2040
|
user-select: none;
|
|
2041
|
-
color: ${
|
|
2041
|
+
color: ${W.colors.fore.secondary};
|
|
2042
2042
|
font-size: .75rem;
|
|
2043
2043
|
font-weight: 500;
|
|
2044
2044
|
letter-spacing: 1px;
|
|
2045
2045
|
`,
|
|
2046
|
-
indicator:
|
|
2046
|
+
indicator: U`
|
|
2047
2047
|
display: grid;
|
|
2048
2048
|
place-items: center;
|
|
2049
2049
|
box-sizing: border-box;
|
|
2050
2050
|
width: 1rem;
|
|
2051
2051
|
height: 1rem;
|
|
2052
|
-
border: solid 1px ${
|
|
2052
|
+
border: solid 1px ${W.colors.border};
|
|
2053
2053
|
border-radius: 4px;
|
|
2054
|
-
background-color: ${
|
|
2054
|
+
background-color: ${W.colors.back.primary};
|
|
2055
2055
|
transition: background-color .15s ease, border-color .15s ease;
|
|
2056
2056
|
`,
|
|
2057
|
-
icon:
|
|
2057
|
+
icon: U`
|
|
2058
2058
|
opacity: 0;
|
|
2059
|
-
color: ${
|
|
2059
|
+
color: ${W.colors.fore.primary};
|
|
2060
2060
|
transition: opacity .15s ease;
|
|
2061
2061
|
`
|
|
2062
|
-
},
|
|
2063
|
-
function
|
|
2064
|
-
let s = o(),
|
|
2065
|
-
a(() =>
|
|
2062
|
+
}, Bt = 28, Vt = 3, Ht = 11;
|
|
2063
|
+
function Ut({ label: e, isChecked: t, isDisabled: n, onChange: r }) {
|
|
2064
|
+
let s = o(), d = i(t);
|
|
2065
|
+
a(() => d.value = t, [t]);
|
|
2066
2066
|
function f() {
|
|
2067
|
-
let e = !
|
|
2068
|
-
|
|
2067
|
+
let e = !d.value;
|
|
2068
|
+
d.value = e, r?.(e);
|
|
2069
2069
|
}
|
|
2070
|
-
return /* @__PURE__ */
|
|
2071
|
-
className:
|
|
2070
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ u("div", {
|
|
2071
|
+
className: Wt.base,
|
|
2072
2072
|
children: [
|
|
2073
|
-
/* @__PURE__ */
|
|
2074
|
-
className:
|
|
2073
|
+
/* @__PURE__ */ l("label", {
|
|
2074
|
+
className: Wt.label,
|
|
2075
2075
|
htmlFor: s,
|
|
2076
2076
|
"is-disabled": n,
|
|
2077
2077
|
children: e
|
|
2078
2078
|
}),
|
|
2079
|
-
/* @__PURE__ */
|
|
2079
|
+
/* @__PURE__ */ l("input", {
|
|
2080
2080
|
id: s,
|
|
2081
2081
|
type: "checkbox",
|
|
2082
|
-
className:
|
|
2083
|
-
checked:
|
|
2082
|
+
className: Wt.checkbox,
|
|
2083
|
+
checked: d.value,
|
|
2084
2084
|
disabled: n,
|
|
2085
2085
|
onChange: f
|
|
2086
2086
|
}),
|
|
2087
|
-
/* @__PURE__ */
|
|
2088
|
-
className:
|
|
2087
|
+
/* @__PURE__ */ l("label", {
|
|
2088
|
+
className: Wt.value,
|
|
2089
2089
|
htmlFor: s,
|
|
2090
2090
|
"is-disabled": n
|
|
2091
2091
|
})
|
|
2092
2092
|
]
|
|
2093
2093
|
}) });
|
|
2094
2094
|
}
|
|
2095
|
-
var
|
|
2096
|
-
base:
|
|
2095
|
+
var Wt = {
|
|
2096
|
+
base: U`
|
|
2097
2097
|
position: relative;
|
|
2098
2098
|
display: flex;
|
|
2099
2099
|
gap: .5rem;
|
|
2100
2100
|
`,
|
|
2101
|
-
label:
|
|
2101
|
+
label: U`
|
|
2102
2102
|
display: inline-block;
|
|
2103
2103
|
font-size: .75rem;
|
|
2104
2104
|
line-height: 1.2rem;
|
|
2105
2105
|
cursor: pointer;
|
|
2106
2106
|
user-select: none;
|
|
2107
2107
|
font-weight: 500;
|
|
2108
|
-
font-family: ${
|
|
2109
|
-
color: ${
|
|
2108
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
2109
|
+
color: ${W.colors.fore.secondary};
|
|
2110
2110
|
`,
|
|
2111
|
-
checkbox:
|
|
2111
|
+
checkbox: U`
|
|
2112
2112
|
display: none;
|
|
2113
2113
|
|
|
2114
2114
|
&:checked ~ label {
|
|
2115
2115
|
background-color: #e1e1e1;
|
|
2116
2116
|
|
|
2117
2117
|
&:before {
|
|
2118
|
-
right: ${
|
|
2118
|
+
right: ${Vt}px;
|
|
2119
2119
|
background-color: #3a3a3a;
|
|
2120
2120
|
}
|
|
2121
2121
|
}
|
|
2122
2122
|
`,
|
|
2123
|
-
value:
|
|
2123
|
+
value: U`
|
|
2124
2124
|
display: inline-block;
|
|
2125
2125
|
position: relative;
|
|
2126
2126
|
height: 1.1rem;
|
|
@@ -2128,8 +2128,8 @@ var Gt = {
|
|
|
2128
2128
|
cursor: pointer;
|
|
2129
2129
|
user-select: none;
|
|
2130
2130
|
transition: background .3s ease;
|
|
2131
|
-
width: ${
|
|
2132
|
-
background-color: ${
|
|
2131
|
+
width: ${Bt}px;
|
|
2132
|
+
background-color: ${W.colors.back.secondary};
|
|
2133
2133
|
|
|
2134
2134
|
&:before {
|
|
2135
2135
|
background-color: #e1e1e1;
|
|
@@ -2138,30 +2138,30 @@ var Gt = {
|
|
|
2138
2138
|
position: absolute;
|
|
2139
2139
|
transition: background .3s ease, right .3s ease;
|
|
2140
2140
|
border-radius: 50%;
|
|
2141
|
-
top: ${
|
|
2141
|
+
top: ${Vt}px;
|
|
2142
2142
|
right: ${14}px;
|
|
2143
|
-
width: ${
|
|
2144
|
-
height: ${
|
|
2143
|
+
width: ${Ht}px;
|
|
2144
|
+
height: ${Ht}px;
|
|
2145
2145
|
}
|
|
2146
2146
|
`
|
|
2147
2147
|
};
|
|
2148
2148
|
//#endregion
|
|
2149
2149
|
//#region src/components/_tag.jsx
|
|
2150
|
-
function
|
|
2151
|
-
return /* @__PURE__ */
|
|
2152
|
-
className:
|
|
2153
|
-
"has-icon": !n
|
|
2154
|
-
children: [
|
|
2155
|
-
className:
|
|
2156
|
-
${
|
|
2150
|
+
function Gt({ className: e, variant: t = "normal", iconName: n = "", label: i }) {
|
|
2151
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ u("div", {
|
|
2152
|
+
className: H(Kt.base, Kt[t] ?? Kt.normal, e),
|
|
2153
|
+
"has-icon": !r(n),
|
|
2154
|
+
children: [n && /* @__PURE__ */ l(c, { children: /* @__PURE__ */ l(G, {
|
|
2155
|
+
className: U`
|
|
2156
|
+
${W.extends.verticalCenter}
|
|
2157
2157
|
left: .3rem;
|
|
2158
2158
|
`,
|
|
2159
|
-
iconName:
|
|
2159
|
+
iconName: n,
|
|
2160
2160
|
size: ".9rem"
|
|
2161
2161
|
}) }), i]
|
|
2162
2162
|
}) });
|
|
2163
2163
|
}
|
|
2164
|
-
var
|
|
2164
|
+
var Kt = { base: U`
|
|
2165
2165
|
position: relative;
|
|
2166
2166
|
display: inline-block;
|
|
2167
2167
|
padding: .3rem .5rem;
|
|
@@ -2169,49 +2169,49 @@ var qt = { base: H`
|
|
|
2169
2169
|
white-space: pre-wrap;
|
|
2170
2170
|
font-size: .7rem;
|
|
2171
2171
|
font-weight: 600;
|
|
2172
|
-
border: solid 1px ${
|
|
2173
|
-
background-color: ${
|
|
2174
|
-
color: ${
|
|
2172
|
+
border: solid 1px ${W.colors.border};
|
|
2173
|
+
background-color: ${W.colors.back.secondary};
|
|
2174
|
+
color: ${W.colors.fore.primary};
|
|
2175
2175
|
|
|
2176
2176
|
&[has-icon="true"] { padding-left: 1.5rem; }
|
|
2177
2177
|
` };
|
|
2178
2178
|
//#endregion
|
|
2179
2179
|
//#region src/components/_icon-button.jsx
|
|
2180
|
-
function
|
|
2180
|
+
function qt({ iconName: e, color: t, ariaLabel: n, isDisabled: r, onClick: i }) {
|
|
2181
2181
|
function a(e) {
|
|
2182
2182
|
r || (e.stopPropagation(), e.preventDefault(), i?.(e));
|
|
2183
2183
|
}
|
|
2184
|
-
return /* @__PURE__ */
|
|
2185
|
-
className:
|
|
2184
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ l("button", {
|
|
2185
|
+
className: Jt.base,
|
|
2186
2186
|
"is-disabled": r || void 0,
|
|
2187
2187
|
"is-clickable": !!i || void 0,
|
|
2188
2188
|
"aria-label": n,
|
|
2189
2189
|
disabled: r,
|
|
2190
2190
|
onClick: a,
|
|
2191
|
-
children: /* @__PURE__ */
|
|
2191
|
+
children: /* @__PURE__ */ l(G, {
|
|
2192
2192
|
color: t,
|
|
2193
|
-
className:
|
|
2193
|
+
className: U`${W.extends.centrate}`,
|
|
2194
2194
|
iconName: e,
|
|
2195
2195
|
isDisabled: r
|
|
2196
2196
|
})
|
|
2197
2197
|
}) });
|
|
2198
2198
|
}
|
|
2199
|
-
var
|
|
2199
|
+
var Jt = { base: U`
|
|
2200
2200
|
position: relative;
|
|
2201
2201
|
width: 2.25rem;
|
|
2202
2202
|
height: 2.25rem;
|
|
2203
2203
|
border-radius: 8px;
|
|
2204
|
-
background-color: ${
|
|
2204
|
+
background-color: ${W.colors.back.secondary};
|
|
2205
2205
|
` };
|
|
2206
2206
|
//#endregion
|
|
2207
2207
|
//#region src/components/_counter.jsx
|
|
2208
|
-
function
|
|
2209
|
-
return e == null ? /* @__PURE__ */
|
|
2210
|
-
className:
|
|
2208
|
+
function Yt({ value: e }) {
|
|
2209
|
+
return e == null ? /* @__PURE__ */ l(c, {}) : /* @__PURE__ */ l(c, { children: /* @__PURE__ */ l("span", {
|
|
2210
|
+
className: Xt.base,
|
|
2211
2211
|
children: e
|
|
2212
2212
|
}) });
|
|
2213
2213
|
}
|
|
2214
|
-
var
|
|
2214
|
+
var Xt = { base: U`
|
|
2215
2215
|
display: inline-flex;
|
|
2216
2216
|
align-items: center;
|
|
2217
2217
|
justify-content: center;
|
|
@@ -2219,7 +2219,7 @@ var Zt = { base: H`
|
|
|
2219
2219
|
height: 1.2rem;
|
|
2220
2220
|
padding: 0 .2rem;
|
|
2221
2221
|
border-radius: 50%;
|
|
2222
|
-
color: ${
|
|
2222
|
+
color: ${W.colors.fore.primary};
|
|
2223
2223
|
background-color: #e1e1e1;
|
|
2224
2224
|
font-size: .7rem;
|
|
2225
2225
|
font-weight: 700;
|
|
@@ -2227,31 +2227,31 @@ var Zt = { base: H`
|
|
|
2227
2227
|
` };
|
|
2228
2228
|
//#endregion
|
|
2229
2229
|
//#region src/components/_tab-box.jsx
|
|
2230
|
-
function
|
|
2231
|
-
let s = Math.max(a.length - 1, 0),
|
|
2230
|
+
function Zt({ className: e, width: t, height: n, initialIndex: r = 0, items: a = [], onChange: o }) {
|
|
2231
|
+
let s = Math.max(a.length - 1, 0), d = i(Math.min(Math.max(r, 0), s)), f = Math.min(d.value, s);
|
|
2232
2232
|
function p(e) {
|
|
2233
|
-
e !== f && (
|
|
2233
|
+
e !== f && (d.value = e, o?.(e, a[e]));
|
|
2234
2234
|
}
|
|
2235
|
-
return /* @__PURE__ */
|
|
2236
|
-
className:
|
|
2235
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ u("div", {
|
|
2236
|
+
className: H(Z.base, e),
|
|
2237
2237
|
style: { width: t },
|
|
2238
|
-
children: [/* @__PURE__ */
|
|
2238
|
+
children: [/* @__PURE__ */ l(Ct, {
|
|
2239
2239
|
className: Z.box,
|
|
2240
2240
|
height: n,
|
|
2241
|
-
children: /* @__PURE__ */
|
|
2241
|
+
children: /* @__PURE__ */ l("div", {
|
|
2242
2242
|
className: Z.track,
|
|
2243
2243
|
style: { transform: `translateX(-${f * 100}%)` },
|
|
2244
|
-
children: a.map((e, t) => /* @__PURE__ */
|
|
2244
|
+
children: a.map((e, t) => /* @__PURE__ */ l(c, { children: /* @__PURE__ */ l("div", {
|
|
2245
2245
|
className: Z.panel,
|
|
2246
2246
|
inert: t !== f || void 0,
|
|
2247
2247
|
children: e.content
|
|
2248
2248
|
}, e.id ?? t) }))
|
|
2249
2249
|
})
|
|
2250
|
-
}), a.length > 0 && /* @__PURE__ */
|
|
2250
|
+
}), a.length > 0 && /* @__PURE__ */ l(c, { children: /* @__PURE__ */ l("div", {
|
|
2251
2251
|
className: Z.tabs,
|
|
2252
2252
|
children: a.map((e, t) => {
|
|
2253
2253
|
let n = t === f, r = e.counter ?? e.notification;
|
|
2254
|
-
return /* @__PURE__ */
|
|
2254
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ u("button", {
|
|
2255
2255
|
className: Z.tab,
|
|
2256
2256
|
style: e.width == null ? void 0 : {
|
|
2257
2257
|
flex: `0 0 ${e.width}`,
|
|
@@ -2261,12 +2261,12 @@ function Qt({ className: e, width: t, height: n, initialIndex: r = 0, items: a =
|
|
|
2261
2261
|
"is-active": n || void 0,
|
|
2262
2262
|
onClick: () => p(t),
|
|
2263
2263
|
children: [
|
|
2264
|
-
e.iconName && /* @__PURE__ */
|
|
2264
|
+
e.iconName && /* @__PURE__ */ l(G, {
|
|
2265
2265
|
iconName: e.iconName,
|
|
2266
2266
|
size: "1rem"
|
|
2267
2267
|
}),
|
|
2268
|
-
e.label && /* @__PURE__ */
|
|
2269
|
-
/* @__PURE__ */
|
|
2268
|
+
e.label && /* @__PURE__ */ l("span", { children: e.label }),
|
|
2269
|
+
/* @__PURE__ */ l(Yt, { value: r })
|
|
2270
2270
|
]
|
|
2271
2271
|
}, e.id ?? t) });
|
|
2272
2272
|
})
|
|
@@ -2274,17 +2274,17 @@ function Qt({ className: e, width: t, height: n, initialIndex: r = 0, items: a =
|
|
|
2274
2274
|
}) });
|
|
2275
2275
|
}
|
|
2276
2276
|
var Z = {
|
|
2277
|
-
base:
|
|
2277
|
+
base: U`
|
|
2278
2278
|
position: relative;
|
|
2279
2279
|
max-width: 100%;
|
|
2280
2280
|
`,
|
|
2281
|
-
box:
|
|
2282
|
-
z-index: ${
|
|
2281
|
+
box: U`
|
|
2282
|
+
z-index: ${W.zIndex.front};
|
|
2283
2283
|
width: 100%;
|
|
2284
2284
|
padding: 0;
|
|
2285
2285
|
overflow: hidden;
|
|
2286
2286
|
`,
|
|
2287
|
-
track:
|
|
2287
|
+
track: U`
|
|
2288
2288
|
display: flex;
|
|
2289
2289
|
width: 100%;
|
|
2290
2290
|
min-height: 100%;
|
|
@@ -2293,12 +2293,12 @@ var Z = {
|
|
|
2293
2293
|
|
|
2294
2294
|
@media (prefers-reduced-motion: reduce) { transition: none; }
|
|
2295
2295
|
`,
|
|
2296
|
-
panel:
|
|
2296
|
+
panel: U`
|
|
2297
2297
|
flex: 0 0 100%;
|
|
2298
2298
|
min-width: 0;
|
|
2299
2299
|
padding: 1.875rem 1.25rem;
|
|
2300
2300
|
`,
|
|
2301
|
-
tabs:
|
|
2301
|
+
tabs: U`
|
|
2302
2302
|
display: flex;
|
|
2303
2303
|
position: relative;
|
|
2304
2304
|
margin-top: -1rem;
|
|
@@ -2306,9 +2306,9 @@ var Z = {
|
|
|
2306
2306
|
border: solid 2px #eee;
|
|
2307
2307
|
border-top: 0;
|
|
2308
2308
|
border-radius: 0 0 18px 18px;
|
|
2309
|
-
background-color: ${
|
|
2309
|
+
background-color: ${W.colors.back.secondary};
|
|
2310
2310
|
`,
|
|
2311
|
-
tab:
|
|
2311
|
+
tab: U`
|
|
2312
2312
|
display: flex;
|
|
2313
2313
|
flex: 1 1 0;
|
|
2314
2314
|
align-items: center;
|
|
@@ -2321,63 +2321,63 @@ var Z = {
|
|
|
2321
2321
|
font-size: .8rem;
|
|
2322
2322
|
font-weight: 600;
|
|
2323
2323
|
transition: color .2s ease, background-color .2s ease;
|
|
2324
|
-
color: ${
|
|
2325
|
-
font-family: ${
|
|
2324
|
+
color: ${W.colors.fore.secondary};
|
|
2325
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
2326
2326
|
|
|
2327
2327
|
& + & { border-left: solid 1px #e5e7e9; }
|
|
2328
2328
|
|
|
2329
2329
|
&[is-active] {
|
|
2330
|
-
color: ${
|
|
2331
|
-
background-color: ${
|
|
2330
|
+
color: ${W.colors.fore.primary};
|
|
2331
|
+
background-color: ${W.colors.back.primary};
|
|
2332
2332
|
}
|
|
2333
2333
|
`
|
|
2334
2334
|
};
|
|
2335
2335
|
//#endregion
|
|
2336
2336
|
//#region src/components/_tab-container.jsx
|
|
2337
|
-
function
|
|
2338
|
-
let s = Math.max(r.length - 1, 0),
|
|
2337
|
+
function Qt({ className: e, initialIndex: t = 0, isTabsFullWidth: n = !0, items: r = [], onChange: a, width: o }) {
|
|
2338
|
+
let s = Math.max(r.length - 1, 0), d = i(Math.min(Math.max(t, 0), s)), f = Math.min(d.value, s), p = r[f];
|
|
2339
2339
|
function m(e) {
|
|
2340
|
-
e !== f && (
|
|
2340
|
+
e !== f && (d.value = e, a?.(e, r[e]));
|
|
2341
2341
|
}
|
|
2342
|
-
return /* @__PURE__ */
|
|
2343
|
-
className:
|
|
2342
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ l("div", {
|
|
2343
|
+
className: H(Q.base, e),
|
|
2344
2344
|
style: { width: o },
|
|
2345
|
-
children: r.length > 0 && /* @__PURE__ */
|
|
2346
|
-
className:
|
|
2345
|
+
children: r.length > 0 && /* @__PURE__ */ u(c, { children: [/* @__PURE__ */ l("div", {
|
|
2346
|
+
className: H(Q.tabs, !n && Q.tabsCompact),
|
|
2347
2347
|
children: r.map((e, t) => {
|
|
2348
2348
|
let r = t === f, i = e.counter ?? e.notification;
|
|
2349
|
-
return /* @__PURE__ */
|
|
2350
|
-
className:
|
|
2349
|
+
return /* @__PURE__ */ u("button", {
|
|
2350
|
+
className: H(Q.tab, !n && Q.tabCompact),
|
|
2351
2351
|
type: "button",
|
|
2352
2352
|
"is-active": r || void 0,
|
|
2353
2353
|
onClick: () => m(t),
|
|
2354
|
-
children: [e.label, /* @__PURE__ */
|
|
2354
|
+
children: [e.label, /* @__PURE__ */ l(Yt, { value: i })]
|
|
2355
2355
|
}, e.id ?? t);
|
|
2356
2356
|
})
|
|
2357
|
-
}), /* @__PURE__ */
|
|
2357
|
+
}), /* @__PURE__ */ l("div", {
|
|
2358
2358
|
className: Q.panel,
|
|
2359
2359
|
children: p?.content
|
|
2360
2360
|
})] })
|
|
2361
2361
|
}) });
|
|
2362
2362
|
}
|
|
2363
2363
|
var Q = {
|
|
2364
|
-
base:
|
|
2364
|
+
base: U`
|
|
2365
2365
|
position: relative;
|
|
2366
2366
|
width: 100%;
|
|
2367
2367
|
max-width: 100%;
|
|
2368
2368
|
`,
|
|
2369
|
-
tabs:
|
|
2369
|
+
tabs: U`
|
|
2370
2370
|
display: flex;
|
|
2371
2371
|
gap: .25rem;
|
|
2372
2372
|
padding: .25rem;
|
|
2373
2373
|
border-radius: 12px;
|
|
2374
|
-
background-color: ${
|
|
2374
|
+
background-color: ${W.colors.back.secondary};
|
|
2375
2375
|
`,
|
|
2376
|
-
tabsCompact:
|
|
2376
|
+
tabsCompact: U`
|
|
2377
2377
|
display: inline-flex;
|
|
2378
2378
|
max-width: 100%;
|
|
2379
2379
|
`,
|
|
2380
|
-
tab:
|
|
2380
|
+
tab: U`
|
|
2381
2381
|
display: flex;
|
|
2382
2382
|
flex: 1 1 0;
|
|
2383
2383
|
align-items: center;
|
|
@@ -2387,108 +2387,123 @@ var Q = {
|
|
|
2387
2387
|
min-height: 2.5rem;
|
|
2388
2388
|
padding: .5rem .75rem;
|
|
2389
2389
|
border-radius: 9px;
|
|
2390
|
-
color: ${
|
|
2390
|
+
color: ${W.colors.fore.secondary};
|
|
2391
2391
|
cursor: pointer;
|
|
2392
|
-
font-family: ${
|
|
2392
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
2393
2393
|
font-size: .8rem;
|
|
2394
2394
|
font-weight: 600;
|
|
2395
2395
|
transition: color .2s ease, background-color .2s ease;
|
|
2396
2396
|
|
|
2397
2397
|
&[is-active] {
|
|
2398
|
-
color: ${
|
|
2399
|
-
background-color: ${
|
|
2398
|
+
color: ${W.colors.fore.primary};
|
|
2399
|
+
background-color: ${W.colors.back.primary};
|
|
2400
2400
|
box-shadow: 0 2px 8px rgb(22 24 38 / 7%);
|
|
2401
2401
|
}
|
|
2402
2402
|
`,
|
|
2403
|
-
tabCompact:
|
|
2403
|
+
tabCompact: U`
|
|
2404
2404
|
flex: 0 0 auto;
|
|
2405
2405
|
`,
|
|
2406
|
-
panel:
|
|
2406
|
+
panel: U`
|
|
2407
2407
|
width: 100%;
|
|
2408
2408
|
min-width: 0;
|
|
2409
2409
|
padding: 2rem 0;
|
|
2410
2410
|
`
|
|
2411
|
-
}
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2411
|
+
}, $t = {
|
|
2412
|
+
showRowNumbers: !0,
|
|
2413
|
+
showFilter: !1,
|
|
2414
|
+
showCollapse: !1
|
|
2415
|
+
}, en = /* @__PURE__ */ new WeakSet();
|
|
2416
|
+
function tn({ id: e, tableId: t, sortColumns: n, settings: r, headerContent: i, title: a, description: o, columns: s = [], rows: d = [], width: f, height: p, sortBy: m, sortDirection: h = "asc", onRowClick: g, onScrollEnd: _, className: v }) {
|
|
2417
|
+
let y = {
|
|
2418
|
+
...$t,
|
|
2419
|
+
...r
|
|
2420
|
+
};
|
|
2421
|
+
if (e) return /* @__PURE__ */ l(nn, {
|
|
2416
2422
|
id: e,
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2423
|
+
settings: y,
|
|
2424
|
+
headerContent: i,
|
|
2425
|
+
title: a,
|
|
2426
|
+
description: o,
|
|
2427
|
+
columns: s,
|
|
2428
|
+
rows: d,
|
|
2429
|
+
width: f,
|
|
2430
|
+
height: p,
|
|
2431
|
+
sortBy: m,
|
|
2432
|
+
sortDirection: h,
|
|
2433
|
+
onRowClick: g,
|
|
2434
|
+
onScrollEnd: _,
|
|
2435
|
+
className: v
|
|
2426
2436
|
});
|
|
2427
|
-
let
|
|
2428
|
-
function
|
|
2429
|
-
|
|
2437
|
+
let b = mn(d, n ?? s, m, h);
|
|
2438
|
+
function x(e, t, n) {
|
|
2439
|
+
gn(e) || g?.(e, t, n);
|
|
2430
2440
|
}
|
|
2431
|
-
function
|
|
2432
|
-
["Enter", " "].includes(e.key) && (
|
|
2441
|
+
function S(e, t, n) {
|
|
2442
|
+
["Enter", " "].includes(e.key) && (gn(e) || (e.preventDefault(), x(e, t, n)));
|
|
2433
2443
|
}
|
|
2434
|
-
return /* @__PURE__ */
|
|
2435
|
-
className:
|
|
2444
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ u("div", {
|
|
2445
|
+
className: H($.base, v),
|
|
2436
2446
|
style: {
|
|
2437
|
-
width:
|
|
2438
|
-
height:
|
|
2447
|
+
width: f,
|
|
2448
|
+
height: y.isCollapsed ? void 0 : p
|
|
2439
2449
|
},
|
|
2440
|
-
|
|
2450
|
+
onScroll: (e) => on(e, _),
|
|
2451
|
+
children: [(a || o || i) && /* @__PURE__ */ u("header", {
|
|
2441
2452
|
className: $.header,
|
|
2442
|
-
children: [
|
|
2453
|
+
children: [(a || o) && /* @__PURE__ */ u("div", {
|
|
2443
2454
|
className: $.heading,
|
|
2444
|
-
children: [/* @__PURE__ */
|
|
2455
|
+
children: [a && /* @__PURE__ */ l(At, {
|
|
2445
2456
|
size: "large",
|
|
2446
|
-
children:
|
|
2447
|
-
}), /* @__PURE__ */
|
|
2457
|
+
children: a
|
|
2458
|
+
}), o && /* @__PURE__ */ l(mt, {
|
|
2448
2459
|
size: "small",
|
|
2449
|
-
color:
|
|
2450
|
-
children: o
|
|
2460
|
+
color: W.colors.fore.secondary,
|
|
2461
|
+
children: o
|
|
2451
2462
|
})]
|
|
2452
|
-
}),
|
|
2453
|
-
|
|
2463
|
+
}), i && /* @__PURE__ */ l("div", {
|
|
2464
|
+
className: $.headerContent,
|
|
2465
|
+
children: i
|
|
2466
|
+
})]
|
|
2467
|
+
}), /* @__PURE__ */ u("table", {
|
|
2454
2468
|
id: t ?? e,
|
|
2455
2469
|
className: $.table,
|
|
2470
|
+
"is-collapsed": y.isCollapsed || void 0,
|
|
2456
2471
|
children: [
|
|
2457
|
-
/* @__PURE__ */
|
|
2458
|
-
/* @__PURE__ */
|
|
2472
|
+
/* @__PURE__ */ u("colgroup", { children: [y.showRowNumbers && /* @__PURE__ */ l("col", { className: $.line }), s.map((e) => /* @__PURE__ */ l("col", { style: sn(e) }, e.key))] }),
|
|
2473
|
+
/* @__PURE__ */ l("thead", { children: /* @__PURE__ */ u("tr", { children: [y.showRowNumbers && /* @__PURE__ */ l("th", {
|
|
2459
2474
|
className: $.number,
|
|
2460
2475
|
children: "#"
|
|
2461
|
-
}),
|
|
2462
|
-
style:
|
|
2476
|
+
}), s.map((e) => /* @__PURE__ */ l("th", {
|
|
2477
|
+
style: cn(e),
|
|
2463
2478
|
"is-clickable": !!e.onClick || void 0,
|
|
2464
2479
|
onClick: (t) => e.onClick?.(t, e),
|
|
2465
2480
|
children: e.label
|
|
2466
2481
|
}, e.key))] }) }),
|
|
2467
|
-
/* @__PURE__ */
|
|
2482
|
+
/* @__PURE__ */ l("tbody", { children: b.length === 0 ? /* @__PURE__ */ l("tr", {
|
|
2468
2483
|
"is-empty": !0,
|
|
2469
|
-
children: /* @__PURE__ */
|
|
2484
|
+
children: /* @__PURE__ */ l("td", {
|
|
2470
2485
|
className: $.empty,
|
|
2471
2486
|
"is-empty": !0,
|
|
2472
|
-
colSpan: Math.max(
|
|
2473
|
-
children: /* @__PURE__ */
|
|
2487
|
+
colSpan: Math.max(s.length + Number(y.showRowNumbers), 1),
|
|
2488
|
+
children: /* @__PURE__ */ l("span", {
|
|
2474
2489
|
className: $.emptyContent,
|
|
2475
2490
|
children: "Keine Einträge ..."
|
|
2476
2491
|
})
|
|
2477
2492
|
})
|
|
2478
|
-
}) :
|
|
2479
|
-
"is-clickable":
|
|
2480
|
-
tabIndex:
|
|
2481
|
-
onClick:
|
|
2482
|
-
onKeyDown:
|
|
2483
|
-
children: [
|
|
2493
|
+
}) : b.map((e, t) => /* @__PURE__ */ u("tr", {
|
|
2494
|
+
"is-clickable": g ? !0 : void 0,
|
|
2495
|
+
tabIndex: g ? 0 : void 0,
|
|
2496
|
+
onClick: g ? (n) => x(n, e, t) : void 0,
|
|
2497
|
+
onKeyDown: g ? (n) => S(n, e, t) : void 0,
|
|
2498
|
+
children: [y.showRowNumbers && /* @__PURE__ */ l("td", {
|
|
2484
2499
|
className: $.number,
|
|
2485
2500
|
children: t + 1
|
|
2486
|
-
}),
|
|
2487
|
-
style:
|
|
2488
|
-
children: /* @__PURE__ */
|
|
2501
|
+
}), s.map((n) => /* @__PURE__ */ l("td", {
|
|
2502
|
+
style: ln(n, e, t),
|
|
2503
|
+
children: /* @__PURE__ */ l("span", {
|
|
2489
2504
|
className: $.cellContent,
|
|
2490
|
-
style:
|
|
2491
|
-
children:
|
|
2505
|
+
style: pn(n),
|
|
2506
|
+
children: fn(n, e, t)
|
|
2492
2507
|
})
|
|
2493
2508
|
}, n.key))]
|
|
2494
2509
|
}, e.key ?? t)) })
|
|
@@ -2496,92 +2511,105 @@ function en({ id: e, tableId: t, sortColumns: n, settings: r, title: i, columns:
|
|
|
2496
2511
|
})]
|
|
2497
2512
|
}) });
|
|
2498
2513
|
}
|
|
2499
|
-
function
|
|
2500
|
-
let
|
|
2514
|
+
function nn({ id: e, settings: n, headerContent: r, title: o, description: d, columns: f, rows: p, width: m, height: h, sortBy: g, sortDirection: _, onRowClick: v, onScrollEnd: y, className: b }) {
|
|
2515
|
+
let x = s(null), S = i(!1), C = i(rn(e)), w = f.filter((e) => C.value[e.key] !== !1), T = C.value.isCollapsed ?? !1, ee = r || n.showFilter || n.showCollapse;
|
|
2501
2516
|
a(() => {
|
|
2502
|
-
|
|
2517
|
+
C.value = rn(e);
|
|
2503
2518
|
}, [e]), a(() => {
|
|
2504
|
-
if (!
|
|
2519
|
+
if (!S.value) return;
|
|
2505
2520
|
function e({ target: e }) {
|
|
2506
|
-
|
|
2521
|
+
x.current?.contains(e) || (S.value = !1);
|
|
2507
2522
|
}
|
|
2508
2523
|
function t(e) {
|
|
2509
|
-
e.key === "Escape" &&
|
|
2524
|
+
e.key === "Escape" && (S.value = !1);
|
|
2510
2525
|
}
|
|
2511
2526
|
return document.addEventListener("pointerdown", e), document.addEventListener("keydown", t), () => {
|
|
2512
2527
|
document.removeEventListener("pointerdown", e), document.removeEventListener("keydown", t);
|
|
2513
2528
|
};
|
|
2514
|
-
}, [
|
|
2515
|
-
function
|
|
2529
|
+
}, [S.value]);
|
|
2530
|
+
function te(n, r) {
|
|
2516
2531
|
let i = {
|
|
2517
|
-
...
|
|
2532
|
+
...C.value,
|
|
2518
2533
|
[n]: r
|
|
2519
2534
|
};
|
|
2520
|
-
|
|
2535
|
+
C.value = i, t(an(e), i);
|
|
2521
2536
|
}
|
|
2522
|
-
|
|
2523
|
-
ee("lineNumbers", e);
|
|
2524
|
-
}
|
|
2525
|
-
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u(en, {
|
|
2537
|
+
return /* @__PURE__ */ l(c, { children: /* @__PURE__ */ l(tn, {
|
|
2526
2538
|
tableId: e,
|
|
2527
|
-
sortColumns:
|
|
2528
|
-
settings:
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2539
|
+
sortColumns: f,
|
|
2540
|
+
settings: {
|
|
2541
|
+
...n,
|
|
2542
|
+
isCollapsed: T
|
|
2543
|
+
},
|
|
2544
|
+
headerContent: ee && /* @__PURE__ */ u(c, { children: [
|
|
2545
|
+
r,
|
|
2546
|
+
n.showFilter && /* @__PURE__ */ l("div", {
|
|
2547
|
+
ref: x,
|
|
2548
|
+
className: $.settings,
|
|
2549
|
+
children: /* @__PURE__ */ l(ut, {
|
|
2550
|
+
className: $.popup,
|
|
2551
|
+
trigger: /* @__PURE__ */ l(qt, {
|
|
2552
|
+
ariaLabel: "Spalten auswählen",
|
|
2553
|
+
iconName: "vertical-ellipsis",
|
|
2554
|
+
onClick: () => {
|
|
2555
|
+
S.value = !S.value;
|
|
2556
|
+
}
|
|
2557
|
+
}),
|
|
2558
|
+
isOpen: S.value,
|
|
2559
|
+
origin: "right",
|
|
2560
|
+
children: f.map((e) => /* @__PURE__ */ l(Rt, {
|
|
2561
|
+
label: e.label ?? e.key,
|
|
2562
|
+
isChecked: C.value[e.key] !== !1,
|
|
2563
|
+
onChange: (t) => te(e.key, t)
|
|
2564
|
+
}, e.key))
|
|
2565
|
+
})
|
|
2566
|
+
}),
|
|
2567
|
+
n.showCollapse && /* @__PURE__ */ l(qt, {
|
|
2568
|
+
ariaLabel: T ? "Tabelle ausklappen" : "Tabelle einklappen",
|
|
2569
|
+
iconName: T ? "expand" : "collapse",
|
|
2570
|
+
onClick: () => te("isCollapsed", !T)
|
|
2549
2571
|
})
|
|
2550
|
-
}),
|
|
2551
|
-
title:
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
sortBy:
|
|
2558
|
-
sortDirection:
|
|
2559
|
-
onRowClick:
|
|
2560
|
-
className:
|
|
2572
|
+
] }),
|
|
2573
|
+
title: o,
|
|
2574
|
+
description: d,
|
|
2575
|
+
columns: w,
|
|
2576
|
+
rows: p,
|
|
2577
|
+
width: m,
|
|
2578
|
+
height: h,
|
|
2579
|
+
sortBy: g,
|
|
2580
|
+
sortDirection: _,
|
|
2581
|
+
onRowClick: v,
|
|
2582
|
+
className: b,
|
|
2583
|
+
onScrollEnd: y
|
|
2561
2584
|
}) });
|
|
2562
2585
|
}
|
|
2563
|
-
function
|
|
2564
|
-
return t ? e(
|
|
2565
|
-
}
|
|
2566
|
-
function rn(e) {
|
|
2567
|
-
return `tables:${e}:column-visibility`;
|
|
2586
|
+
function rn(t) {
|
|
2587
|
+
return t ? e(an(t), {}) : {};
|
|
2568
2588
|
}
|
|
2569
2589
|
function an(e) {
|
|
2590
|
+
return `tables:${e}:settings`;
|
|
2591
|
+
}
|
|
2592
|
+
function on(e, t) {
|
|
2593
|
+
if (!t) return;
|
|
2594
|
+
let { clientHeight: n, scrollHeight: r, scrollTop: i } = e.currentTarget, a = r > n && i + n >= r - 1;
|
|
2595
|
+
a && !en.has(e.currentTarget) && (en.add(e.currentTarget), t()), a || en.delete(e.currentTarget);
|
|
2596
|
+
}
|
|
2597
|
+
function sn(e) {
|
|
2570
2598
|
if (e.width !== void 0) return {
|
|
2571
2599
|
width: e.width,
|
|
2572
2600
|
minWidth: e.width,
|
|
2573
2601
|
maxWidth: e.width
|
|
2574
2602
|
};
|
|
2575
2603
|
}
|
|
2576
|
-
function
|
|
2577
|
-
let t =
|
|
2604
|
+
function cn(e) {
|
|
2605
|
+
let t = dn(e.align), n = un(e.backgroundColor);
|
|
2578
2606
|
return t || n ? {
|
|
2579
2607
|
textAlign: t,
|
|
2580
2608
|
backgroundColor: n
|
|
2581
2609
|
} : void 0;
|
|
2582
2610
|
}
|
|
2583
|
-
function
|
|
2584
|
-
let r = t[e.key], i =
|
|
2611
|
+
function ln(e, t, n) {
|
|
2612
|
+
let r = t[e.key], i = dn(typeof e.align == "function" ? e.align(r, t, n) : e.align), a = un(typeof e.backgroundColor == "function" ? e.backgroundColor(r, t, n) : e.backgroundColor), o = e.width;
|
|
2585
2613
|
return i || a || o !== void 0 ? {
|
|
2586
2614
|
width: o,
|
|
2587
2615
|
minWidth: o,
|
|
@@ -2590,56 +2618,56 @@ function sn(e, t, n) {
|
|
|
2590
2618
|
backgroundColor: a
|
|
2591
2619
|
} : void 0;
|
|
2592
2620
|
}
|
|
2593
|
-
function
|
|
2621
|
+
function un(e) {
|
|
2594
2622
|
return typeof e == "string" ? e : void 0;
|
|
2595
2623
|
}
|
|
2596
|
-
function
|
|
2624
|
+
function dn(e) {
|
|
2597
2625
|
return [
|
|
2598
2626
|
"left",
|
|
2599
2627
|
"center",
|
|
2600
2628
|
"right"
|
|
2601
2629
|
].includes(e) ? e : void 0;
|
|
2602
2630
|
}
|
|
2603
|
-
function
|
|
2631
|
+
function fn(e, t, n) {
|
|
2604
2632
|
let r = t[e.key];
|
|
2605
2633
|
return e.render?.(r, t, n) ?? r;
|
|
2606
2634
|
}
|
|
2607
|
-
function
|
|
2635
|
+
function pn(e) {
|
|
2608
2636
|
return e.width === void 0 ? void 0 : { maxWidth: e.width };
|
|
2609
2637
|
}
|
|
2610
|
-
function
|
|
2638
|
+
function mn(e, t, n, r) {
|
|
2611
2639
|
let i = t.find((e) => e.key === n);
|
|
2612
2640
|
if (!i) return e;
|
|
2613
2641
|
let a = r === "desc" ? -1 : 1;
|
|
2614
2642
|
return [...e].sort((e, t) => {
|
|
2615
|
-
let n =
|
|
2643
|
+
let n = hn(i, e), r = hn(i, t);
|
|
2616
2644
|
return a * String(n).localeCompare(String(r), void 0, {
|
|
2617
2645
|
numeric: !0,
|
|
2618
2646
|
sensitivity: "base"
|
|
2619
2647
|
});
|
|
2620
2648
|
});
|
|
2621
2649
|
}
|
|
2622
|
-
function
|
|
2650
|
+
function hn(e, t) {
|
|
2623
2651
|
let n = t[e.key];
|
|
2624
2652
|
return e.sortValue?.(n, t) ?? n ?? "";
|
|
2625
2653
|
}
|
|
2626
|
-
function
|
|
2654
|
+
function gn(e) {
|
|
2627
2655
|
return e.target instanceof Element && e.target.closest("a, button, input, select, textarea, label, summary, [contenteditable=\"true\"], [role=\"button\"], [role=\"link\"], [role=\"checkbox\"], [role=\"switch\"]");
|
|
2628
2656
|
}
|
|
2629
2657
|
var $ = {
|
|
2630
|
-
base:
|
|
2658
|
+
base: U`
|
|
2631
2659
|
display: block;
|
|
2632
2660
|
position: relative;
|
|
2633
2661
|
max-width: 100%;
|
|
2634
2662
|
overflow: auto;
|
|
2635
2663
|
`,
|
|
2636
|
-
table:
|
|
2664
|
+
table: U`
|
|
2637
2665
|
width: max-content;
|
|
2638
2666
|
min-width: 100%;
|
|
2639
2667
|
border-spacing: 0;
|
|
2640
2668
|
table-layout: fixed;
|
|
2641
|
-
color: ${
|
|
2642
|
-
font-family: ${
|
|
2669
|
+
color: ${W.colors.fore.primary};
|
|
2670
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
2643
2671
|
font-size: .75rem;
|
|
2644
2672
|
font-weight: 500;
|
|
2645
2673
|
letter-spacing: .4px;
|
|
@@ -2656,10 +2684,10 @@ var $ = {
|
|
|
2656
2684
|
|
|
2657
2685
|
th {
|
|
2658
2686
|
position: sticky;
|
|
2659
|
-
z-index: ${
|
|
2687
|
+
z-index: ${W.zIndex.front};
|
|
2660
2688
|
top: 0;
|
|
2661
|
-
color: ${
|
|
2662
|
-
background-color: ${
|
|
2689
|
+
color: ${W.colors.fore.secondary};
|
|
2690
|
+
background-color: ${W.colors.back.primary};
|
|
2663
2691
|
font-size: .65rem;
|
|
2664
2692
|
font-weight: 700;
|
|
2665
2693
|
letter-spacing: .8px;
|
|
@@ -2670,49 +2698,51 @@ var $ = {
|
|
|
2670
2698
|
tbody tr { transition: background-color .15s ease; }
|
|
2671
2699
|
|
|
2672
2700
|
tbody tr[is-clickable]:hover {
|
|
2673
|
-
background-color: ${
|
|
2701
|
+
background-color: ${W.colors.back.secondary};
|
|
2674
2702
|
}
|
|
2675
2703
|
|
|
2676
2704
|
tbody tr[is-clickable] { cursor: pointer; }
|
|
2677
2705
|
|
|
2678
2706
|
tbody tr[is-clickable]:focus-visible {
|
|
2679
|
-
outline: solid 2px ${
|
|
2707
|
+
outline: solid 2px ${W.colors.primary};
|
|
2680
2708
|
outline-offset: -2px;
|
|
2681
2709
|
}
|
|
2682
2710
|
|
|
2683
2711
|
tbody tr:last-child td { border-bottom: 0; }
|
|
2712
|
+
|
|
2713
|
+
&[is-collapsed] { display: none; }
|
|
2684
2714
|
`,
|
|
2685
|
-
line:
|
|
2715
|
+
line: U`
|
|
2686
2716
|
width: 3rem;
|
|
2687
2717
|
`,
|
|
2688
|
-
number:
|
|
2718
|
+
number: U`
|
|
2689
2719
|
width: 3rem;
|
|
2690
|
-
color: ${
|
|
2720
|
+
color: ${W.colors.fore.secondary};
|
|
2691
2721
|
text-align: right;
|
|
2692
2722
|
`,
|
|
2693
|
-
empty:
|
|
2723
|
+
empty: U`
|
|
2694
2724
|
position: relative;
|
|
2695
2725
|
height: 3.25rem;
|
|
2696
2726
|
padding: 0;
|
|
2697
|
-
color: ${
|
|
2727
|
+
color: ${W.colors.fore.secondary};
|
|
2698
2728
|
text-align: center;
|
|
2699
2729
|
`,
|
|
2700
|
-
emptyContent:
|
|
2730
|
+
emptyContent: U`
|
|
2701
2731
|
display: grid;
|
|
2702
2732
|
position: absolute;
|
|
2703
2733
|
inset: 0;
|
|
2704
2734
|
place-items: center;
|
|
2705
2735
|
`,
|
|
2706
|
-
cellContent:
|
|
2736
|
+
cellContent: U`
|
|
2707
2737
|
display: block;
|
|
2708
2738
|
overflow: hidden;
|
|
2709
2739
|
text-overflow: ellipsis;
|
|
2710
2740
|
white-space: nowrap;
|
|
2711
2741
|
`,
|
|
2712
|
-
settings:
|
|
2742
|
+
settings: U`
|
|
2713
2743
|
flex: none;
|
|
2714
2744
|
`,
|
|
2715
|
-
header:
|
|
2745
|
+
header: U`
|
|
2716
2746
|
display: flex;
|
|
2717
2747
|
align-items: center;
|
|
2718
2748
|
justify-content: space-between;
|
|
@@ -2722,15 +2752,22 @@ var $ = {
|
|
|
2722
2752
|
min-height: 3.25rem;
|
|
2723
2753
|
padding: .5rem 0;
|
|
2724
2754
|
`,
|
|
2725
|
-
heading:
|
|
2755
|
+
heading: U`
|
|
2756
|
+
display: flex;
|
|
2757
|
+
flex-direction: column;
|
|
2758
|
+
gap: .25rem;
|
|
2759
|
+
`,
|
|
2760
|
+
headerContent: U`
|
|
2726
2761
|
display: flex;
|
|
2727
2762
|
gap: .5rem;
|
|
2763
|
+
align-items: center;
|
|
2764
|
+
margin-left: auto;
|
|
2728
2765
|
`,
|
|
2729
|
-
popup:
|
|
2766
|
+
popup: U`
|
|
2730
2767
|
display: grid;
|
|
2731
2768
|
gap: .5rem;
|
|
2732
2769
|
min-width: 11rem;
|
|
2733
2770
|
`
|
|
2734
2771
|
};
|
|
2735
2772
|
//#endregion
|
|
2736
|
-
export {
|
|
2773
|
+
export { ft as Actions, gt as AppWrapper, xt as Bar, Ct as Box, Tt as Button, Rt as Checkbox, Yt as Counter, Pt as Dropdown, At as Headline, G as Icon, qt as IconButton, Ot as Layout, Lt as OptionGroup, ut as PopupBox, Ft as Slider, Mt as Space, Ut as Switch, Zt as TabBox, Qt as TabContainer, tn as Table, Gt as Tag, mt as Text, Nt as TextField, W as Theme, vt as Toolbar };
|