melonykit 0.15.19 → 0.15.20
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/browser-WVsjaJ9n.js +91 -0
- package/dist/browser.js +2 -64
- package/dist/index.js +612 -489
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { n as e, t } from "./browser-WVsjaJ9n.js";
|
|
2
|
+
import { r as n, v as r } from "./functions-CexzzAfY.js";
|
|
3
|
+
import { useSignal as i } from "@preact/signals";
|
|
4
|
+
import { useEffect as a, useId as o, useRef as s, useState as c } from "preact/hooks";
|
|
5
|
+
import { Fragment as l, jsx as u, jsxs as d } from "preact/jsx-runtime";
|
|
5
6
|
//#region node_modules/@emotion/sheet/dist/emotion-sheet.esm.js
|
|
6
|
-
function
|
|
7
|
+
function f(e) {
|
|
7
8
|
if (e.sheet) return e.sheet;
|
|
8
9
|
/* istanbul ignore next */
|
|
9
10
|
for (var t = 0; t < document.styleSheets.length; t++) if (document.styleSheets[t].ownerNode === e) return document.styleSheets[t];
|
|
10
11
|
}
|
|
11
|
-
function
|
|
12
|
+
function p(e) {
|
|
12
13
|
var t = document.createElement("style");
|
|
13
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;
|
|
14
15
|
}
|
|
15
|
-
var
|
|
16
|
+
var m = /*#__PURE__*/ function() {
|
|
16
17
|
function e(e) {
|
|
17
18
|
var t = this;
|
|
18
19
|
this._insertTag = function(e) {
|
|
@@ -24,10 +25,10 @@ var d = /*#__PURE__*/ function() {
|
|
|
24
25
|
return t.hydrate = function(e) {
|
|
25
26
|
e.forEach(this._insertTag);
|
|
26
27
|
}, t.insert = function(e) {
|
|
27
|
-
this.ctr % (this.isSpeedy ? 65e3 : 1) == 0 && this._insertTag(
|
|
28
|
+
this.ctr % (this.isSpeedy ? 65e3 : 1) == 0 && this._insertTag(p(this));
|
|
28
29
|
var t = this.tags[this.tags.length - 1];
|
|
29
30
|
if (this.isSpeedy) {
|
|
30
|
-
var n =
|
|
31
|
+
var n = f(t);
|
|
31
32
|
try {
|
|
32
33
|
n.insertRule(e, n.cssRules.length);
|
|
33
34
|
} catch {}
|
|
@@ -38,20 +39,20 @@ var d = /*#__PURE__*/ function() {
|
|
|
38
39
|
return e.parentNode?.removeChild(e);
|
|
39
40
|
}), this.tags = [], this.ctr = 0;
|
|
40
41
|
}, e;
|
|
41
|
-
}(),
|
|
42
|
-
function
|
|
42
|
+
}(), h = "-ms-", g = "-moz-", _ = "-webkit-", v = "comm", y = "rule", b = "decl", x = "@import", S = "@keyframes", C = "@layer", ee = Math.abs, te = String.fromCharCode, ne = Object.assign;
|
|
43
|
+
function re(e, t) {
|
|
43
44
|
return T(e, 0) ^ 45 ? (((t << 2 ^ T(e, 0)) << 2 ^ T(e, 1)) << 2 ^ T(e, 2)) << 2 ^ T(e, 3) : 0;
|
|
44
45
|
}
|
|
45
|
-
function
|
|
46
|
+
function ie(e) {
|
|
46
47
|
return e.trim();
|
|
47
48
|
}
|
|
48
|
-
function
|
|
49
|
+
function ae(e, t) {
|
|
49
50
|
return (e = t.exec(e)) ? e[0] : e;
|
|
50
51
|
}
|
|
51
52
|
function w(e, t, n) {
|
|
52
53
|
return e.replace(t, n);
|
|
53
54
|
}
|
|
54
|
-
function
|
|
55
|
+
function oe(e, t) {
|
|
55
56
|
return e.indexOf(t);
|
|
56
57
|
}
|
|
57
58
|
function T(e, t) {
|
|
@@ -63,19 +64,19 @@ function E(e, t, n) {
|
|
|
63
64
|
function D(e) {
|
|
64
65
|
return e.length;
|
|
65
66
|
}
|
|
66
|
-
function
|
|
67
|
+
function se(e) {
|
|
67
68
|
return e.length;
|
|
68
69
|
}
|
|
69
|
-
function
|
|
70
|
+
function ce(e, t) {
|
|
70
71
|
return t.push(e), e;
|
|
71
72
|
}
|
|
72
|
-
function
|
|
73
|
+
function le(e, t) {
|
|
73
74
|
return e.map(t).join("");
|
|
74
75
|
}
|
|
75
76
|
//#endregion
|
|
76
77
|
//#region node_modules/stylis/src/Tokenizer.js
|
|
77
|
-
var
|
|
78
|
-
function
|
|
78
|
+
var ue = 1, O = 1, de = 0, k = 0, A = 0, j = "";
|
|
79
|
+
function fe(e, t, n, r, i, a, o) {
|
|
79
80
|
return {
|
|
80
81
|
value: e,
|
|
81
82
|
root: t,
|
|
@@ -83,28 +84,28 @@ function le(e, t, n, r, i, a, o) {
|
|
|
83
84
|
type: r,
|
|
84
85
|
props: i,
|
|
85
86
|
children: a,
|
|
86
|
-
line:
|
|
87
|
+
line: ue,
|
|
87
88
|
column: O,
|
|
88
89
|
length: o,
|
|
89
90
|
return: ""
|
|
90
91
|
};
|
|
91
92
|
}
|
|
92
93
|
function M(e, t) {
|
|
93
|
-
return
|
|
94
|
+
return ne(fe("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
94
95
|
}
|
|
95
|
-
function
|
|
96
|
+
function pe() {
|
|
96
97
|
return A;
|
|
97
98
|
}
|
|
98
|
-
function
|
|
99
|
-
return A = k > 0 ? T(j, --k) : 0, O--, A === 10 && (O = 1,
|
|
99
|
+
function me() {
|
|
100
|
+
return A = k > 0 ? T(j, --k) : 0, O--, A === 10 && (O = 1, ue--), A;
|
|
100
101
|
}
|
|
101
102
|
function N() {
|
|
102
|
-
return A = k <
|
|
103
|
+
return A = k < de ? T(j, k++) : 0, O++, A === 10 && (O = 1, ue++), A;
|
|
103
104
|
}
|
|
104
105
|
function P() {
|
|
105
106
|
return T(j, k);
|
|
106
107
|
}
|
|
107
|
-
function
|
|
108
|
+
function he() {
|
|
108
109
|
return k;
|
|
109
110
|
}
|
|
110
111
|
function F(e, t) {
|
|
@@ -137,75 +138,75 @@ function I(e) {
|
|
|
137
138
|
}
|
|
138
139
|
return 0;
|
|
139
140
|
}
|
|
140
|
-
function
|
|
141
|
-
return
|
|
141
|
+
function ge(e) {
|
|
142
|
+
return ue = O = 1, de = D(j = e), k = 0, [];
|
|
142
143
|
}
|
|
143
|
-
function
|
|
144
|
+
function _e(e) {
|
|
144
145
|
return j = "", e;
|
|
145
146
|
}
|
|
146
|
-
function
|
|
147
|
-
return
|
|
147
|
+
function ve(e) {
|
|
148
|
+
return ie(F(k - 1, xe(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
148
149
|
}
|
|
149
|
-
function
|
|
150
|
+
function ye(e) {
|
|
150
151
|
for (; (A = P()) && A < 33;) N();
|
|
151
152
|
return I(e) > 2 || I(A) > 3 ? "" : " ";
|
|
152
153
|
}
|
|
153
|
-
function
|
|
154
|
+
function be(e, t) {
|
|
154
155
|
for (; --t && N() && !(A < 48 || A > 102 || A > 57 && A < 65 || A > 70 && A < 97););
|
|
155
|
-
return F(e,
|
|
156
|
+
return F(e, he() + (t < 6 && P() == 32 && N() == 32));
|
|
156
157
|
}
|
|
157
|
-
function
|
|
158
|
+
function xe(e) {
|
|
158
159
|
for (; N();) switch (A) {
|
|
159
160
|
case e: return k;
|
|
160
161
|
case 34:
|
|
161
162
|
case 39:
|
|
162
|
-
e !== 34 && e !== 39 &&
|
|
163
|
+
e !== 34 && e !== 39 && xe(A);
|
|
163
164
|
break;
|
|
164
165
|
case 40:
|
|
165
|
-
e === 41 &&
|
|
166
|
+
e === 41 && xe(e);
|
|
166
167
|
break;
|
|
167
168
|
case 92: N();
|
|
168
169
|
}
|
|
169
170
|
return k;
|
|
170
171
|
}
|
|
171
|
-
function
|
|
172
|
+
function Se(e, t) {
|
|
172
173
|
for (; N() && e + A !== 57 && (e + A !== 84 || P() !== 47););
|
|
173
|
-
return "/*" + F(t, k - 1) + "*" +
|
|
174
|
+
return "/*" + F(t, k - 1) + "*" + te(e === 47 ? e : N());
|
|
174
175
|
}
|
|
175
|
-
function
|
|
176
|
+
function Ce(e) {
|
|
176
177
|
for (; !I(P());) N();
|
|
177
178
|
return F(e, k);
|
|
178
179
|
}
|
|
179
180
|
//#endregion
|
|
180
181
|
//#region node_modules/stylis/src/Parser.js
|
|
181
|
-
function
|
|
182
|
-
return
|
|
182
|
+
function we(e) {
|
|
183
|
+
return _e(Te("", null, null, null, [""], e = ge(e), 0, [0], e));
|
|
183
184
|
}
|
|
184
|
-
function
|
|
185
|
+
function Te(e, t, n, r, i, a, o, s, c) {
|
|
185
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 = N()) {
|
|
186
187
|
case 40: if (m != 108 && T(C, d - 1) == 58) {
|
|
187
|
-
|
|
188
|
+
oe(C += w(ve(v), "&", "&\f"), "&\f") != -1 && (_ = -1);
|
|
188
189
|
break;
|
|
189
190
|
}
|
|
190
191
|
case 34:
|
|
191
192
|
case 39:
|
|
192
193
|
case 91:
|
|
193
|
-
C +=
|
|
194
|
+
C += ve(v);
|
|
194
195
|
break;
|
|
195
196
|
case 9:
|
|
196
197
|
case 10:
|
|
197
198
|
case 13:
|
|
198
199
|
case 32:
|
|
199
|
-
C +=
|
|
200
|
+
C += ye(m);
|
|
200
201
|
break;
|
|
201
202
|
case 92:
|
|
202
|
-
C +=
|
|
203
|
+
C += be(he() - 1, 7);
|
|
203
204
|
continue;
|
|
204
205
|
case 47:
|
|
205
206
|
switch (P()) {
|
|
206
207
|
case 42:
|
|
207
208
|
case 47:
|
|
208
|
-
|
|
209
|
+
ce(De(Se(N(), he()), t, n), c);
|
|
209
210
|
break;
|
|
210
211
|
default: C += "/";
|
|
211
212
|
}
|
|
@@ -218,19 +219,19 @@ function Se(e, t, n, r, i, a, o, s, c) {
|
|
|
218
219
|
case 0:
|
|
219
220
|
case 125: g = 0;
|
|
220
221
|
case 59 + u:
|
|
221
|
-
_ == -1 && (C = w(C, /\f/g, "")), p > 0 && D(C) - d &&
|
|
222
|
+
_ == -1 && (C = w(C, /\f/g, "")), p > 0 && D(C) - d && ce(p > 32 ? Oe(C + ";", r, n, d - 1) : Oe(w(C, " ", "") + ";", r, n, d - 2), c);
|
|
222
223
|
break;
|
|
223
224
|
case 59: C += ";";
|
|
224
|
-
default: if (
|
|
225
|
-
if (u === 0)
|
|
225
|
+
default: if (ce(S = Ee(C, t, n, l, u, i, s, y, b = [], x = [], d), a), v === 123) {
|
|
226
|
+
if (u === 0) Te(C, t, S, S, b, a, d, s, x);
|
|
226
227
|
else switch (f === 99 && T(C, 3) === 110 ? 100 : f) {
|
|
227
228
|
case 100:
|
|
228
229
|
case 108:
|
|
229
230
|
case 109:
|
|
230
231
|
case 115:
|
|
231
|
-
|
|
232
|
+
Te(e, S, S, r && ce(Ee(e, S, S, 0, 0, i, s, y, i, b = [], d), x), i, x, d, s, r ? b : x);
|
|
232
233
|
break;
|
|
233
|
-
default:
|
|
234
|
+
default: Te(C, S, S, S, [""], x, 0, s, x);
|
|
234
235
|
}
|
|
235
236
|
}
|
|
236
237
|
}
|
|
@@ -240,9 +241,9 @@ function Se(e, t, n, r, i, a, o, s, c) {
|
|
|
240
241
|
default:
|
|
241
242
|
if (h < 1) {
|
|
242
243
|
if (v == 123) --h;
|
|
243
|
-
else if (v == 125 && h++ == 0 &&
|
|
244
|
+
else if (v == 125 && h++ == 0 && me() == 125) continue;
|
|
244
245
|
}
|
|
245
|
-
switch (C +=
|
|
246
|
+
switch (C += te(v), v * h) {
|
|
246
247
|
case 38:
|
|
247
248
|
_ = u > 0 ? 1 : (C += "\f", -1);
|
|
248
249
|
break;
|
|
@@ -250,57 +251,57 @@ function Se(e, t, n, r, i, a, o, s, c) {
|
|
|
250
251
|
s[l++] = (D(C) - 1) * _, _ = 1;
|
|
251
252
|
break;
|
|
252
253
|
case 64:
|
|
253
|
-
P() === 45 && (C +=
|
|
254
|
+
P() === 45 && (C += ve(N())), f = P(), u = d = D(y = C += Ce(he())), v++;
|
|
254
255
|
break;
|
|
255
256
|
case 45: m === 45 && D(C) == 2 && (h = 0);
|
|
256
257
|
}
|
|
257
258
|
}
|
|
258
259
|
return a;
|
|
259
260
|
}
|
|
260
|
-
function
|
|
261
|
-
for (var d = i - 1, f = i === 0 ? a : [""], p =
|
|
262
|
-
return
|
|
261
|
+
function Ee(e, t, n, r, i, a, o, s, c, l, u) {
|
|
262
|
+
for (var d = i - 1, f = i === 0 ? a : [""], p = se(f), m = 0, h = 0, g = 0; m < r; ++m) for (var _ = 0, v = E(e, d + 1, d = ee(h = o[m])), b = e; _ < p; ++_) (b = ie(h > 0 ? f[_] + " " + v : w(v, /&\f/g, f[_]))) && (c[g++] = b);
|
|
263
|
+
return fe(e, t, n, i === 0 ? y : s, c, l, u);
|
|
263
264
|
}
|
|
264
|
-
function
|
|
265
|
-
return
|
|
265
|
+
function De(e, t, n) {
|
|
266
|
+
return fe(e, t, n, v, te(pe()), E(e, 2, -2), 0);
|
|
266
267
|
}
|
|
267
|
-
function
|
|
268
|
-
return
|
|
268
|
+
function Oe(e, t, n, r) {
|
|
269
|
+
return fe(e, t, n, b, E(e, 0, r), E(e, r + 1, -1), r);
|
|
269
270
|
}
|
|
270
271
|
//#endregion
|
|
271
272
|
//#region node_modules/stylis/src/Serializer.js
|
|
272
273
|
function L(e, t) {
|
|
273
|
-
for (var n = "", r =
|
|
274
|
+
for (var n = "", r = se(e), i = 0; i < r; i++) n += t(e[i], i, e, t) || "";
|
|
274
275
|
return n;
|
|
275
276
|
}
|
|
276
|
-
function
|
|
277
|
+
function ke(e, t, n, r) {
|
|
277
278
|
switch (e.type) {
|
|
278
|
-
case
|
|
279
|
-
case
|
|
280
|
-
case
|
|
281
|
-
case
|
|
282
|
-
case
|
|
283
|
-
case
|
|
279
|
+
case C: if (e.children.length) break;
|
|
280
|
+
case x:
|
|
281
|
+
case b: return e.return = e.return || e.value;
|
|
282
|
+
case v: return "";
|
|
283
|
+
case S: return e.return = e.value + "{" + L(e.children, r) + "}";
|
|
284
|
+
case y: e.value = e.props.join(",");
|
|
284
285
|
}
|
|
285
286
|
return D(n = L(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
|
|
286
287
|
}
|
|
287
288
|
//#endregion
|
|
288
289
|
//#region node_modules/stylis/src/Middleware.js
|
|
289
|
-
function
|
|
290
|
-
var t =
|
|
290
|
+
function Ae(e) {
|
|
291
|
+
var t = se(e);
|
|
291
292
|
return function(n, r, i, a) {
|
|
292
293
|
for (var o = "", s = 0; s < t; s++) o += e[s](n, r, i, a) || "";
|
|
293
294
|
return o;
|
|
294
295
|
};
|
|
295
296
|
}
|
|
296
|
-
function
|
|
297
|
+
function je(e) {
|
|
297
298
|
return function(t) {
|
|
298
299
|
t.root || (t = t.return) && e(t);
|
|
299
300
|
};
|
|
300
301
|
}
|
|
301
302
|
//#endregion
|
|
302
303
|
//#region node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
|
|
303
|
-
function
|
|
304
|
+
function Me(e) {
|
|
304
305
|
var t = Object.create(null);
|
|
305
306
|
return function(n) {
|
|
306
307
|
return t[n] === void 0 && (t[n] = e(n)), t[n];
|
|
@@ -308,46 +309,46 @@ function ke(e) {
|
|
|
308
309
|
}
|
|
309
310
|
//#endregion
|
|
310
311
|
//#region node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js
|
|
311
|
-
var
|
|
312
|
+
var Ne = function(e, t, n) {
|
|
312
313
|
for (var r = 0, i = 0; r = i, i = P(), r === 38 && i === 12 && (t[n] = 1), !I(i);) N();
|
|
313
314
|
return F(e, k);
|
|
314
|
-
},
|
|
315
|
+
}, Pe = function(e, t) {
|
|
315
316
|
var n = -1, r = 44;
|
|
316
317
|
do
|
|
317
318
|
switch (I(r)) {
|
|
318
319
|
case 0:
|
|
319
|
-
r === 38 && P() === 12 && (t[n] = 1), e[n] +=
|
|
320
|
+
r === 38 && P() === 12 && (t[n] = 1), e[n] += Ne(k - 1, t, n);
|
|
320
321
|
break;
|
|
321
322
|
case 2:
|
|
322
|
-
e[n] +=
|
|
323
|
+
e[n] += ve(r);
|
|
323
324
|
break;
|
|
324
325
|
case 4: if (r === 44) {
|
|
325
326
|
e[++n] = P() === 58 ? "&\f" : "", t[n] = e[n].length;
|
|
326
327
|
break;
|
|
327
328
|
}
|
|
328
|
-
default: e[n] +=
|
|
329
|
+
default: e[n] += te(r);
|
|
329
330
|
}
|
|
330
331
|
while (r = N());
|
|
331
332
|
return e;
|
|
332
|
-
},
|
|
333
|
-
return
|
|
334
|
-
},
|
|
333
|
+
}, Fe = function(e, t) {
|
|
334
|
+
return _e(Pe(ge(e), t));
|
|
335
|
+
}, Ie = /* #__PURE__ */ new WeakMap(), Le = function(e) {
|
|
335
336
|
if (!(e.type !== "rule" || !e.parent || e.length < 1)) {
|
|
336
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;
|
|
337
|
-
if ((e.props.length !== 1 || t.charCodeAt(0) === 58 ||
|
|
338
|
-
|
|
339
|
-
for (var i = [], a =
|
|
338
|
+
if ((e.props.length !== 1 || t.charCodeAt(0) === 58 || Ie.get(n)) && !r) {
|
|
339
|
+
Ie.set(e, !0);
|
|
340
|
+
for (var i = [], a = Fe(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];
|
|
340
341
|
}
|
|
341
342
|
}
|
|
342
|
-
},
|
|
343
|
+
}, Re = function(e) {
|
|
343
344
|
if (e.type === "decl") {
|
|
344
345
|
var t = e.value;
|
|
345
346
|
t.charCodeAt(0) === 108 && t.charCodeAt(2) === 98 && (e.return = "", e.value = "");
|
|
346
347
|
}
|
|
347
348
|
};
|
|
348
|
-
function
|
|
349
|
-
switch (
|
|
350
|
-
case 5103: return
|
|
349
|
+
function ze(e, t) {
|
|
350
|
+
switch (re(e, t)) {
|
|
351
|
+
case 5103: return _ + "print-" + e + e;
|
|
351
352
|
case 5737:
|
|
352
353
|
case 4201:
|
|
353
354
|
case 3177:
|
|
@@ -372,30 +373,30 @@ function Ie(e, t) {
|
|
|
372
373
|
case 5109:
|
|
373
374
|
case 5365:
|
|
374
375
|
case 5621:
|
|
375
|
-
case 3829: return
|
|
376
|
+
case 3829: return _ + e + e;
|
|
376
377
|
case 5349:
|
|
377
378
|
case 4246:
|
|
378
379
|
case 4810:
|
|
379
380
|
case 6968:
|
|
380
|
-
case 2756: return
|
|
381
|
+
case 2756: return _ + e + g + e + h + e + e;
|
|
381
382
|
case 6828:
|
|
382
|
-
case 4268: return
|
|
383
|
-
case 6165: return
|
|
384
|
-
case 5187: return
|
|
385
|
-
case 5443: return
|
|
386
|
-
case 4675: return
|
|
387
|
-
case 5548: return
|
|
388
|
-
case 5292: return
|
|
389
|
-
case 6060: return
|
|
390
|
-
case 4554: return
|
|
391
|
-
case 6187: return w(w(w(e, /(zoom-|grab)/,
|
|
383
|
+
case 4268: return _ + e + h + e + e;
|
|
384
|
+
case 6165: return _ + e + h + "flex-" + e + e;
|
|
385
|
+
case 5187: return _ + e + w(e, /(\w+).+(:[^]+)/, _ + "box-$1$2" + h + "flex-$1$2") + e;
|
|
386
|
+
case 5443: return _ + e + h + "flex-item-" + w(e, /flex-|-self/, "") + e;
|
|
387
|
+
case 4675: return _ + e + h + "flex-line-pack" + w(e, /align-content|flex-|-self/, "") + e;
|
|
388
|
+
case 5548: return _ + e + h + w(e, "shrink", "negative") + e;
|
|
389
|
+
case 5292: return _ + e + h + w(e, "basis", "preferred-size") + e;
|
|
390
|
+
case 6060: return _ + "box-" + w(e, "-grow", "") + _ + e + h + w(e, "grow", "positive") + e;
|
|
391
|
+
case 4554: return _ + w(e, /([^-])(transform)/g, "$1" + _ + "$2") + e;
|
|
392
|
+
case 6187: return w(w(w(e, /(zoom-|grab)/, _ + "$1"), /(image-set)/, _ + "$1"), e, "") + e;
|
|
392
393
|
case 5495:
|
|
393
|
-
case 3959: return w(e, /(image-set\([^]*)/,
|
|
394
|
-
case 4968: return w(w(e, /(.+:)(flex-)?(.*)/,
|
|
394
|
+
case 3959: return w(e, /(image-set\([^]*)/, _ + "$1$`$1");
|
|
395
|
+
case 4968: return w(w(e, /(.+:)(flex-)?(.*)/, _ + "box-pack:$3" + h + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + _ + e + e;
|
|
395
396
|
case 4095:
|
|
396
397
|
case 3583:
|
|
397
398
|
case 4068:
|
|
398
|
-
case 2532: return w(e, /(.+)-inline(.+)/,
|
|
399
|
+
case 2532: return w(e, /(.+)-inline(.+)/, _ + "$1$2") + e;
|
|
399
400
|
case 8116:
|
|
400
401
|
case 7059:
|
|
401
402
|
case 5753:
|
|
@@ -410,47 +411,47 @@ function Ie(e, t) {
|
|
|
410
411
|
case 4765:
|
|
411
412
|
if (D(e) - 1 - t > 6) switch (T(e, t + 1)) {
|
|
412
413
|
case 109: if (T(e, t + 4) !== 45) break;
|
|
413
|
-
case 102: return w(e, /(.+:)(.+)-([^]+)/, "$1" +
|
|
414
|
-
case 115: return ~
|
|
414
|
+
case 102: return w(e, /(.+:)(.+)-([^]+)/, "$1" + _ + "$2-$3$1" + g + (T(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
415
|
+
case 115: return ~oe(e, "stretch") ? ze(w(e, "stretch", "fill-available"), t) + e : e;
|
|
415
416
|
}
|
|
416
417
|
break;
|
|
417
418
|
case 4949: if (T(e, t + 1) !== 115) break;
|
|
418
419
|
case 6444:
|
|
419
|
-
switch (T(e, D(e) - 3 - (~
|
|
420
|
-
case 107: return w(e, ":", ":" +
|
|
421
|
-
case 101: return w(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" +
|
|
420
|
+
switch (T(e, D(e) - 3 - (~oe(e, "!important") && 10))) {
|
|
421
|
+
case 107: return w(e, ":", ":" + _) + e;
|
|
422
|
+
case 101: return w(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + _ + (T(e, 14) === 45 ? "inline-" : "") + "box$3$1" + _ + "$2$3$1" + h + "$2box$3") + e;
|
|
422
423
|
}
|
|
423
424
|
break;
|
|
424
425
|
case 5936:
|
|
425
426
|
switch (T(e, t + 11)) {
|
|
426
|
-
case 114: return
|
|
427
|
-
case 108: return
|
|
428
|
-
case 45: return
|
|
427
|
+
case 114: return _ + e + h + w(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
428
|
+
case 108: return _ + e + h + w(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
429
|
+
case 45: return _ + e + h + w(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
429
430
|
}
|
|
430
|
-
return
|
|
431
|
+
return _ + e + h + e + e;
|
|
431
432
|
}
|
|
432
433
|
return e;
|
|
433
434
|
}
|
|
434
|
-
var
|
|
435
|
+
var Be = [function(e, t, n, r) {
|
|
435
436
|
if (e.length > -1 && !e.return) switch (e.type) {
|
|
436
|
-
case
|
|
437
|
-
e.return =
|
|
437
|
+
case b:
|
|
438
|
+
e.return = ze(e.value, e.length);
|
|
438
439
|
break;
|
|
439
|
-
case
|
|
440
|
-
case
|
|
441
|
-
switch (
|
|
440
|
+
case S: return L([M(e, { value: w(e.value, "@", "@" + _) })], r);
|
|
441
|
+
case y: if (e.length) return le(e.props, function(t) {
|
|
442
|
+
switch (ae(t, /(::plac\w+|:read-\w+)/)) {
|
|
442
443
|
case ":read-only":
|
|
443
|
-
case ":read-write": return L([M(e, { props: [w(t, /:(read-\w+)/, ":" +
|
|
444
|
+
case ":read-write": return L([M(e, { props: [w(t, /:(read-\w+)/, ":" + g + "$1")] })], r);
|
|
444
445
|
case "::placeholder": return L([
|
|
445
|
-
M(e, { props: [w(t, /:(plac\w+)/, ":" +
|
|
446
|
-
M(e, { props: [w(t, /:(plac\w+)/, ":" +
|
|
447
|
-
M(e, { props: [w(t, /:(plac\w+)/,
|
|
446
|
+
M(e, { props: [w(t, /:(plac\w+)/, ":" + _ + "input-$1")] }),
|
|
447
|
+
M(e, { props: [w(t, /:(plac\w+)/, ":" + g + "$1")] }),
|
|
448
|
+
M(e, { props: [w(t, /:(plac\w+)/, h + "input-$1")] })
|
|
448
449
|
], r);
|
|
449
450
|
}
|
|
450
451
|
return "";
|
|
451
452
|
});
|
|
452
453
|
}
|
|
453
|
-
}],
|
|
454
|
+
}], Ve = function(e) {
|
|
454
455
|
var t = e.key;
|
|
455
456
|
if (t === "css") {
|
|
456
457
|
var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
@@ -458,22 +459,22 @@ var Le = [function(e, t, n, r) {
|
|
|
458
459
|
e.getAttribute("data-emotion").indexOf(" ") !== -1 && (document.head.appendChild(e), e.setAttribute("data-s", ""));
|
|
459
460
|
});
|
|
460
461
|
}
|
|
461
|
-
var r = e.stylisPlugins ||
|
|
462
|
+
var r = e.stylisPlugins || Be, i = {}, a, o = [];
|
|
462
463
|
a = e.container || document.head, Array.prototype.forEach.call(document.querySelectorAll("style[data-emotion^=\"" + t + " \"]"), function(e) {
|
|
463
464
|
for (var t = e.getAttribute("data-emotion").split(" "), n = 1; n < t.length; n++) i[t[n]] = !0;
|
|
464
465
|
o.push(e);
|
|
465
466
|
});
|
|
466
|
-
var s, c = [
|
|
467
|
+
var s, c = [Le, Re], l, u = [ke, je(function(e) {
|
|
467
468
|
l.insert(e);
|
|
468
|
-
})],
|
|
469
|
-
return L(
|
|
469
|
+
})], d = Ae(c.concat(r, u)), f = function(e) {
|
|
470
|
+
return L(we(e), d);
|
|
470
471
|
};
|
|
471
472
|
s = function(e, t, n, r) {
|
|
472
|
-
l = n,
|
|
473
|
+
l = n, f(e ? e + "{" + t.styles + "}" : t.styles), r && (p.inserted[t.name] = !0);
|
|
473
474
|
};
|
|
474
|
-
var
|
|
475
|
+
var p = {
|
|
475
476
|
key: t,
|
|
476
|
-
sheet: new
|
|
477
|
+
sheet: new m({
|
|
477
478
|
key: t,
|
|
478
479
|
container: a,
|
|
479
480
|
nonce: e.nonce,
|
|
@@ -486,11 +487,11 @@ var Le = [function(e, t, n, r) {
|
|
|
486
487
|
registered: {},
|
|
487
488
|
insert: s
|
|
488
489
|
};
|
|
489
|
-
return
|
|
490
|
+
return p.sheet.hydrate(o), p;
|
|
490
491
|
};
|
|
491
492
|
//#endregion
|
|
492
493
|
//#region node_modules/@emotion/hash/dist/emotion-hash.esm.js
|
|
493
|
-
function
|
|
494
|
+
function He(e) {
|
|
494
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);
|
|
495
496
|
switch (i) {
|
|
496
497
|
case 3: t ^= (e.charCodeAt(r + 2) & 255) << 16;
|
|
@@ -501,7 +502,7 @@ function ze(e) {
|
|
|
501
502
|
}
|
|
502
503
|
//#endregion
|
|
503
504
|
//#region node_modules/@emotion/unitless/dist/emotion-unitless.esm.js
|
|
504
|
-
var
|
|
505
|
+
var Ue = {
|
|
505
506
|
animationIterationCount: 1,
|
|
506
507
|
aspectRatio: 1,
|
|
507
508
|
borderImageOutset: 1,
|
|
@@ -549,16 +550,16 @@ var Be = {
|
|
|
549
550
|
strokeMiterlimit: 1,
|
|
550
551
|
strokeOpacity: 1,
|
|
551
552
|
strokeWidth: 1
|
|
552
|
-
},
|
|
553
|
+
}, We = /[A-Z]|^ms/g, Ge = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Ke = function(e) {
|
|
553
554
|
return e.charCodeAt(1) === 45;
|
|
554
|
-
},
|
|
555
|
+
}, qe = function(e) {
|
|
555
556
|
return e != null && typeof e != "boolean";
|
|
556
|
-
},
|
|
557
|
-
return
|
|
558
|
-
}),
|
|
557
|
+
}, Je = /* #__PURE__ */ Me(function(e) {
|
|
558
|
+
return Ke(e) ? e : e.replace(We, "-$&").toLowerCase();
|
|
559
|
+
}), Ye = function(e, t) {
|
|
559
560
|
switch (e) {
|
|
560
561
|
case "animation":
|
|
561
|
-
case "animationName": if (typeof t == "string") return t.replace(
|
|
562
|
+
case "animationName": if (typeof t == "string") return t.replace(Ge, function(e, t, n) {
|
|
562
563
|
return z = {
|
|
563
564
|
name: t,
|
|
564
565
|
styles: n,
|
|
@@ -566,7 +567,7 @@ var Be = {
|
|
|
566
567
|
}, t;
|
|
567
568
|
});
|
|
568
569
|
}
|
|
569
|
-
return
|
|
570
|
+
return Ue[e] !== 1 && !Ke(e) && typeof t == "number" && t !== 0 ? t + "px" : t;
|
|
570
571
|
};
|
|
571
572
|
function R(e, t, n) {
|
|
572
573
|
if (n == null) return "";
|
|
@@ -591,7 +592,7 @@ function R(e, t, n) {
|
|
|
591
592
|
}, o = o.next;
|
|
592
593
|
return a.styles + ";";
|
|
593
594
|
}
|
|
594
|
-
return
|
|
595
|
+
return Xe(e, t, n);
|
|
595
596
|
case "function": if (e !== void 0) {
|
|
596
597
|
var s = z, c = n(e);
|
|
597
598
|
return z = s, R(e, t, c);
|
|
@@ -602,21 +603,21 @@ function R(e, t, n) {
|
|
|
602
603
|
var u = t[l];
|
|
603
604
|
return u === void 0 ? l : u;
|
|
604
605
|
}
|
|
605
|
-
function
|
|
606
|
+
function Xe(e, t, n) {
|
|
606
607
|
var r = "";
|
|
607
608
|
if (Array.isArray(n)) for (var i = 0; i < n.length; i++) r += R(e, t, n[i]) + ";";
|
|
608
609
|
else for (var a in n) {
|
|
609
610
|
var o = n[a];
|
|
610
611
|
if (typeof o != "object") {
|
|
611
612
|
var s = o;
|
|
612
|
-
t != null && t[s] !== void 0 ? r += a + "{" + t[s] + "}" :
|
|
613
|
-
} 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] + "}" : qe(s) && (r += Je(a) + ":" + Ye(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++) qe(o[c]) && (r += Je(a) + ":" + Ye(a, o[c]) + ";");
|
|
614
615
|
else {
|
|
615
616
|
var l = R(e, t, o);
|
|
616
617
|
switch (a) {
|
|
617
618
|
case "animation":
|
|
618
619
|
case "animationName":
|
|
619
|
-
r +=
|
|
620
|
+
r += Je(a) + ":" + l + ";";
|
|
620
621
|
break;
|
|
621
622
|
default: r += a + "{" + l + "}";
|
|
622
623
|
}
|
|
@@ -624,35 +625,35 @@ function qe(e, t, n) {
|
|
|
624
625
|
}
|
|
625
626
|
return r;
|
|
626
627
|
}
|
|
627
|
-
var
|
|
628
|
-
function
|
|
628
|
+
var Ze = /label:\s*([^\s;{]+)\s*(;|$)/g, z;
|
|
629
|
+
function Qe(e, t, n) {
|
|
629
630
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0) return e[0];
|
|
630
631
|
var r = !0, i = "";
|
|
631
632
|
z = void 0;
|
|
632
633
|
var a = e[0];
|
|
633
634
|
a == null || a.raw === void 0 ? (r = !1, i += R(n, t, a)) : i += a[0];
|
|
634
635
|
for (var o = 1; o < e.length; o++) i += R(n, t, e[o]), r && (i += a[o]);
|
|
635
|
-
|
|
636
|
-
for (var s = "", c; (c =
|
|
636
|
+
Ze.lastIndex = 0;
|
|
637
|
+
for (var s = "", c; (c = Ze.exec(i)) !== null;) s += "-" + c[1];
|
|
637
638
|
return {
|
|
638
|
-
name:
|
|
639
|
+
name: He(i) + s,
|
|
639
640
|
styles: i,
|
|
640
641
|
next: z
|
|
641
642
|
};
|
|
642
643
|
}
|
|
643
644
|
//#endregion
|
|
644
645
|
//#region node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js
|
|
645
|
-
function
|
|
646
|
+
function $e(e, t, n) {
|
|
646
647
|
var r = "";
|
|
647
648
|
return n.split(" ").forEach(function(n) {
|
|
648
649
|
e[n] === void 0 ? n && (r += n + " ") : t.push(e[n] + ";");
|
|
649
650
|
}), r;
|
|
650
651
|
}
|
|
651
|
-
var
|
|
652
|
+
var et = function(e, t, n) {
|
|
652
653
|
var r = e.key + "-" + t.name;
|
|
653
654
|
n === !1 && e.registered[r] === void 0 && (e.registered[r] = t.styles);
|
|
654
|
-
},
|
|
655
|
-
|
|
655
|
+
}, tt = function(e, t, n) {
|
|
656
|
+
et(e, t, n);
|
|
656
657
|
var r = e.key + "-" + t.name;
|
|
657
658
|
if (e.inserted[t.name] === void 0) {
|
|
658
659
|
var i = t;
|
|
@@ -663,34 +664,34 @@ var Ze = function(e, t, n) {
|
|
|
663
664
|
};
|
|
664
665
|
//#endregion
|
|
665
666
|
//#region node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js
|
|
666
|
-
function
|
|
667
|
+
function nt(e, t) {
|
|
667
668
|
if (e.inserted[t.name] === void 0) return e.insert("", t, e.sheet, !0);
|
|
668
669
|
}
|
|
669
|
-
function
|
|
670
|
-
var r = [], i =
|
|
670
|
+
function rt(e, t, n) {
|
|
671
|
+
var r = [], i = $e(e, r, n);
|
|
671
672
|
return r.length < 2 ? n : i + t(r);
|
|
672
673
|
}
|
|
673
|
-
var
|
|
674
|
-
var t =
|
|
674
|
+
var it = function(e) {
|
|
675
|
+
var t = Ve(e);
|
|
675
676
|
t.sheet.speedy = function(e) {
|
|
676
677
|
this.isSpeedy = e;
|
|
677
678
|
}, t.compat = !0;
|
|
678
679
|
var n = function() {
|
|
679
|
-
var e =
|
|
680
|
-
return
|
|
680
|
+
var e = Qe([...arguments], t.registered, void 0);
|
|
681
|
+
return tt(t, e, !1), t.key + "-" + e.name;
|
|
681
682
|
};
|
|
682
683
|
return {
|
|
683
684
|
css: n,
|
|
684
685
|
cx: function() {
|
|
685
686
|
var e = [...arguments];
|
|
686
|
-
return
|
|
687
|
+
return rt(t.registered, n, at(e));
|
|
687
688
|
},
|
|
688
689
|
injectGlobal: function() {
|
|
689
|
-
|
|
690
|
+
nt(t, Qe([...arguments], t.registered));
|
|
690
691
|
},
|
|
691
692
|
keyframes: function() {
|
|
692
|
-
var e =
|
|
693
|
-
return
|
|
693
|
+
var e = Qe([...arguments], t.registered), n = "animation-" + e.name;
|
|
694
|
+
return nt(t, {
|
|
694
695
|
name: e.name,
|
|
695
696
|
styles: "@keyframes " + n + "{" + e.styles + "}"
|
|
696
697
|
}), n;
|
|
@@ -705,10 +706,10 @@ var tt = function(e) {
|
|
|
705
706
|
},
|
|
706
707
|
sheet: t.sheet,
|
|
707
708
|
cache: t,
|
|
708
|
-
getRegisteredStyles:
|
|
709
|
-
merge:
|
|
709
|
+
getRegisteredStyles: $e.bind(null, t.registered),
|
|
710
|
+
merge: rt.bind(null, t.registered, n)
|
|
710
711
|
};
|
|
711
|
-
},
|
|
712
|
+
}, at = function e(t) {
|
|
712
713
|
for (var n = "", r = 0; r < t.length; r++) {
|
|
713
714
|
var i = t[r];
|
|
714
715
|
if (i != null) {
|
|
@@ -725,15 +726,15 @@ var tt = function(e) {
|
|
|
725
726
|
}
|
|
726
727
|
}
|
|
727
728
|
return n;
|
|
728
|
-
}, B =
|
|
729
|
+
}, B = it({ key: "css" });
|
|
729
730
|
B.flush, B.hydrate;
|
|
730
731
|
var V = B.cx;
|
|
731
732
|
B.merge, B.getRegisteredStyles;
|
|
732
|
-
var
|
|
733
|
+
var ot = B.injectGlobal, st = B.keyframes, H = B.css;
|
|
733
734
|
B.sheet, B.cache;
|
|
734
735
|
//#endregion
|
|
735
736
|
//#region \0virtual:svg-sprite
|
|
736
|
-
var at = "<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-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-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-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-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></svg>", ot = !1, st = new URL("./assets/manrope.woff2", import.meta.url).href ?? "/fonts/manrope.woff2", U = {
|
|
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-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-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-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></svg>", lt = !1, ut = new URL("./assets/manrope.woff2", import.meta.url).href ?? "/fonts/manrope.woff2", U = {
|
|
737
738
|
fontFamily: "Manrope",
|
|
738
739
|
zIndex: {
|
|
739
740
|
front: 1,
|
|
@@ -770,10 +771,10 @@ var at = "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"position:absolute;wi
|
|
|
770
771
|
stretch: "\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n "
|
|
771
772
|
},
|
|
772
773
|
load() {
|
|
773
|
-
|
|
774
|
+
lt || typeof document > "u" || (ot(`
|
|
774
775
|
@font-face {
|
|
775
776
|
font-family: 'Manrope';
|
|
776
|
-
src: url('${
|
|
777
|
+
src: url('${ut}') format('woff2');
|
|
777
778
|
font-weight: 100 900;
|
|
778
779
|
font-style: normal;
|
|
779
780
|
font-display: swap;
|
|
@@ -855,48 +856,48 @@ var at = "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"position:absolute;wi
|
|
|
855
856
|
|
|
856
857
|
[is-loading] { cursor: default !important; }
|
|
857
858
|
[is-clickable] { cursor: pointer; }
|
|
858
|
-
`), !document.getElementById("svg-sprite") && document.body && (document.body.insertAdjacentHTML("afterbegin",
|
|
859
|
+
`), !document.getElementById("svg-sprite") && document.body && (document.body.insertAdjacentHTML("afterbegin", ct), lt = !0));
|
|
859
860
|
}
|
|
860
861
|
};
|
|
861
862
|
//#endregion
|
|
862
863
|
//#region src/components/_icon.jsx
|
|
863
864
|
function W({ className: e, size: t = "1.25rem", color: n = U.colors.fore.primary, iconName: r, isSpinning: i }) {
|
|
864
|
-
return /* @__PURE__ */
|
|
865
|
-
className: V(
|
|
865
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("svg", {
|
|
866
|
+
className: V(dt.base, e),
|
|
866
867
|
style: {
|
|
867
868
|
color: n,
|
|
868
869
|
width: t,
|
|
869
870
|
height: t
|
|
870
871
|
},
|
|
871
872
|
"is-spinning": i || void 0,
|
|
872
|
-
children: /* @__PURE__ */
|
|
873
|
+
children: /* @__PURE__ */ u("use", { href: `#icon-${r}` })
|
|
873
874
|
}) });
|
|
874
875
|
}
|
|
875
|
-
var
|
|
876
|
+
var dt = { base: H`
|
|
876
877
|
fill: currentColor;
|
|
877
878
|
display: inline-block;
|
|
878
879
|
flex-shrink: 0;
|
|
879
880
|
will-change: transform;
|
|
880
881
|
transition: transform .1s linear;
|
|
881
882
|
|
|
882
|
-
&[is-spinning] { animation: ${
|
|
883
|
+
&[is-spinning] { animation: ${st`
|
|
883
884
|
from { transform: rotate(0deg); }
|
|
884
885
|
to { transform: rotate(360deg); }
|
|
885
886
|
`} 3s linear infinite; }
|
|
886
887
|
` };
|
|
887
888
|
//#endregion
|
|
888
889
|
//#region src/components/_popup-box.jsx
|
|
889
|
-
function
|
|
890
|
-
return /* @__PURE__ */
|
|
891
|
-
className:
|
|
892
|
-
children: [t, r && /* @__PURE__ */
|
|
893
|
-
className: V(
|
|
890
|
+
function ft({ className: e, trigger: t, children: n, isOpen: r = !1, origin: i = "center", width: a }) {
|
|
891
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ d("div", {
|
|
892
|
+
className: pt.base,
|
|
893
|
+
children: [t, r && /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("div", {
|
|
894
|
+
className: V(pt.popup, pt[i] ?? pt.center, e),
|
|
894
895
|
style: { width: a },
|
|
895
896
|
children: n
|
|
896
897
|
}) })]
|
|
897
898
|
}) });
|
|
898
899
|
}
|
|
899
|
-
var
|
|
900
|
+
var pt = {
|
|
900
901
|
base: H`
|
|
901
902
|
display: inline-block;
|
|
902
903
|
position: relative;
|
|
@@ -937,59 +938,59 @@ var ut = {
|
|
|
937
938
|
};
|
|
938
939
|
//#endregion
|
|
939
940
|
//#region src/components/_actions.jsx
|
|
940
|
-
function
|
|
941
|
-
return /* @__PURE__ */
|
|
941
|
+
function mt({ items: e = [] }) {
|
|
942
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("nav", {
|
|
942
943
|
className: G.base,
|
|
943
|
-
children: e.map((e) => /* @__PURE__ */
|
|
944
|
+
children: e.map((e) => /* @__PURE__ */ u(ht, { item: e }))
|
|
944
945
|
}) });
|
|
945
946
|
}
|
|
946
|
-
function
|
|
947
|
-
let t =
|
|
948
|
-
|
|
949
|
-
if (!
|
|
947
|
+
function ht({ item: e }) {
|
|
948
|
+
let t = s(null), n = i(!1), r = e.subActions ?? e.items ?? [], o = r.length > 0;
|
|
949
|
+
a(() => {
|
|
950
|
+
if (!n.value) return;
|
|
950
951
|
function e({ target: e }) {
|
|
951
|
-
t.current?.contains(e) || (
|
|
952
|
+
t.current?.contains(e) || (n.value = !1);
|
|
952
953
|
}
|
|
953
954
|
return document.addEventListener("pointerdown", e), () => document.removeEventListener("pointerdown", e);
|
|
954
|
-
}, [
|
|
955
|
-
function
|
|
956
|
-
if (
|
|
957
|
-
|
|
955
|
+
}, [n.value]);
|
|
956
|
+
function c(t) {
|
|
957
|
+
if (o) {
|
|
958
|
+
n.value = !n.value;
|
|
958
959
|
return;
|
|
959
960
|
}
|
|
960
961
|
t.stopPropagation(), t.preventDefault(), e.onClick?.(t);
|
|
961
962
|
}
|
|
962
963
|
function f(e, t) {
|
|
963
|
-
e.stopPropagation(), e.preventDefault(),
|
|
964
|
+
e.stopPropagation(), e.preventDefault(), n.value = !1, t.onClick?.(e);
|
|
964
965
|
}
|
|
965
|
-
return /* @__PURE__ */
|
|
966
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("div", {
|
|
966
967
|
ref: t,
|
|
967
968
|
className: G.action,
|
|
968
|
-
children: /* @__PURE__ */
|
|
969
|
+
children: /* @__PURE__ */ u(ft, {
|
|
969
970
|
className: G.popup,
|
|
970
|
-
trigger: /* @__PURE__ */
|
|
971
|
+
trigger: /* @__PURE__ */ d("button", {
|
|
971
972
|
type: "button",
|
|
972
973
|
className: V(G.button, !e.label && G.iconOnly),
|
|
973
974
|
disabled: e.isDisabled,
|
|
974
975
|
"is-clickable": !e.isDisabled || void 0,
|
|
975
976
|
"is-disabled": e.isDisabled || void 0,
|
|
976
|
-
onClick:
|
|
977
|
-
children: [e.iconName && /* @__PURE__ */
|
|
977
|
+
onClick: c,
|
|
978
|
+
children: [e.iconName && /* @__PURE__ */ u(W, {
|
|
978
979
|
iconName: e.iconName,
|
|
979
980
|
size: "1rem"
|
|
980
|
-
}), e.label && /* @__PURE__ */
|
|
981
|
+
}), e.label && /* @__PURE__ */ u("span", { children: e.label })]
|
|
981
982
|
}),
|
|
982
|
-
isOpen:
|
|
983
|
+
isOpen: n.value,
|
|
983
984
|
origin: "right",
|
|
984
|
-
children:
|
|
985
|
+
children: r.map((e, t) => /* @__PURE__ */ d("button", {
|
|
985
986
|
type: "button",
|
|
986
987
|
className: G.option,
|
|
987
988
|
disabled: e.isDisabled,
|
|
988
989
|
onClick: (t) => f(t, e),
|
|
989
|
-
children: [e.iconName && /* @__PURE__ */
|
|
990
|
+
children: [e.iconName && /* @__PURE__ */ u(W, {
|
|
990
991
|
iconName: e.iconName,
|
|
991
992
|
size: "1rem"
|
|
992
|
-
}), e.label && /* @__PURE__ */
|
|
993
|
+
}), e.label && /* @__PURE__ */ u("span", { children: e.label })]
|
|
993
994
|
}, e.label ?? t))
|
|
994
995
|
})
|
|
995
996
|
}) });
|
|
@@ -1037,14 +1038,14 @@ var G = {
|
|
|
1037
1038
|
};
|
|
1038
1039
|
//#endregion
|
|
1039
1040
|
//#region src/components/_text.jsx
|
|
1040
|
-
function
|
|
1041
|
-
return /* @__PURE__ */
|
|
1042
|
-
className: V(
|
|
1041
|
+
function gt({ as: e = "span", className: t, size: n = "normal", color: r = U.colors.fore.primary, children: i }) {
|
|
1042
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u(e, {
|
|
1043
|
+
className: V(_t.base, _t[n] ?? _t.normal, t),
|
|
1043
1044
|
style: { color: r },
|
|
1044
1045
|
children: i
|
|
1045
1046
|
}) });
|
|
1046
1047
|
}
|
|
1047
|
-
var
|
|
1048
|
+
var _t = {
|
|
1048
1049
|
base: H`
|
|
1049
1050
|
font-weight: 500;
|
|
1050
1051
|
letter-spacing: 1px;
|
|
@@ -1064,26 +1065,26 @@ var mt = {
|
|
|
1064
1065
|
};
|
|
1065
1066
|
//#endregion
|
|
1066
1067
|
//#region src/components/_app-wrapper.jsx
|
|
1067
|
-
function
|
|
1068
|
-
return /* @__PURE__ */
|
|
1068
|
+
function vt({ className: e, maxWidth: t = "67.5rem", logo: n, version: r, actions: i = [], children: a }) {
|
|
1069
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ d("div", {
|
|
1069
1070
|
className: V(K.base, e),
|
|
1070
1071
|
children: [
|
|
1071
|
-
/* @__PURE__ */
|
|
1072
|
+
/* @__PURE__ */ d("header", {
|
|
1072
1073
|
className: K.header,
|
|
1073
|
-
children: [n && /* @__PURE__ */
|
|
1074
|
+
children: [n && /* @__PURE__ */ u("a", {
|
|
1074
1075
|
href: "/",
|
|
1075
|
-
children: /* @__PURE__ */
|
|
1076
|
+
children: /* @__PURE__ */ u("img", {
|
|
1076
1077
|
className: K.logo,
|
|
1077
1078
|
src: n
|
|
1078
1079
|
})
|
|
1079
|
-
}), i.length > 0 && /* @__PURE__ */
|
|
1080
|
+
}), i.length > 0 && /* @__PURE__ */ u(mt, { items: i })]
|
|
1080
1081
|
}),
|
|
1081
|
-
/* @__PURE__ */
|
|
1082
|
+
/* @__PURE__ */ u("div", {
|
|
1082
1083
|
className: K.inner,
|
|
1083
1084
|
style: { maxWidth: t },
|
|
1084
1085
|
children: a
|
|
1085
1086
|
}),
|
|
1086
|
-
r && /* @__PURE__ */
|
|
1087
|
+
r && /* @__PURE__ */ u(l, { children: /* @__PURE__ */ d(gt, {
|
|
1087
1088
|
className: K.version,
|
|
1088
1089
|
size: "small",
|
|
1089
1090
|
color: U.colors.fore.secondary,
|
|
@@ -1165,26 +1166,26 @@ var K = {
|
|
|
1165
1166
|
};
|
|
1166
1167
|
//#endregion
|
|
1167
1168
|
//#region src/components/_toolbar.jsx
|
|
1168
|
-
function
|
|
1169
|
-
let a =
|
|
1170
|
-
return /* @__PURE__ */
|
|
1169
|
+
function yt({ items: e = [], side: t = "left", width: n, maxHeight: r }) {
|
|
1170
|
+
let a = i(null), o = t === "right" ? "rightSide" : "leftSide";
|
|
1171
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ d("nav", {
|
|
1171
1172
|
className: q.base,
|
|
1172
|
-
style: { maxHeight:
|
|
1173
|
-
children: [/* @__PURE__ */
|
|
1173
|
+
style: { maxHeight: r },
|
|
1174
|
+
children: [/* @__PURE__ */ u("div", {
|
|
1174
1175
|
className: q.buttons,
|
|
1175
|
-
children: e.map((e, t) => /* @__PURE__ */
|
|
1176
|
+
children: e.map((e, t) => /* @__PURE__ */ u(bt, {
|
|
1176
1177
|
item: e,
|
|
1177
1178
|
isOpen: a.value === t,
|
|
1178
1179
|
onToggle: () => a.value = a.value === t ? null : t
|
|
1179
1180
|
}, e.iconName ?? t))
|
|
1180
|
-
}), a.value != null && /* @__PURE__ */
|
|
1181
|
+
}), a.value != null && /* @__PURE__ */ u(xt, {
|
|
1181
1182
|
content: e[a.value]?.content ?? e[a.value]?.children,
|
|
1182
|
-
side:
|
|
1183
|
-
width:
|
|
1183
|
+
side: o,
|
|
1184
|
+
width: n
|
|
1184
1185
|
})]
|
|
1185
1186
|
}) });
|
|
1186
1187
|
}
|
|
1187
|
-
function
|
|
1188
|
+
function bt({ item: e, isOpen: t, onToggle: n }) {
|
|
1188
1189
|
let r = (e.content ?? e.children) != null;
|
|
1189
1190
|
function i(t) {
|
|
1190
1191
|
if (!r) {
|
|
@@ -1193,24 +1194,24 @@ function _t({ item: e, isOpen: t, onToggle: n }) {
|
|
|
1193
1194
|
}
|
|
1194
1195
|
t.preventDefault(), n();
|
|
1195
1196
|
}
|
|
1196
|
-
return /* @__PURE__ */
|
|
1197
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("div", {
|
|
1197
1198
|
className: q.item,
|
|
1198
|
-
children: /* @__PURE__ */
|
|
1199
|
+
children: /* @__PURE__ */ u("button", {
|
|
1199
1200
|
type: "button",
|
|
1200
1201
|
className: V(q.button, t && q.active),
|
|
1201
1202
|
disabled: e.isDisabled,
|
|
1202
1203
|
"is-clickable": !e.isDisabled || void 0,
|
|
1203
1204
|
"is-disabled": e.isDisabled || void 0,
|
|
1204
1205
|
onClick: i,
|
|
1205
|
-
children: /* @__PURE__ */
|
|
1206
|
+
children: /* @__PURE__ */ u(W, {
|
|
1206
1207
|
iconName: e.iconName,
|
|
1207
1208
|
size: "1.5rem"
|
|
1208
1209
|
})
|
|
1209
1210
|
})
|
|
1210
1211
|
}) });
|
|
1211
1212
|
}
|
|
1212
|
-
function
|
|
1213
|
-
return /* @__PURE__ */
|
|
1213
|
+
function xt({ content: e, side: t, width: n }) {
|
|
1214
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("div", {
|
|
1214
1215
|
className: V(q.popup, t === "rightSide" ? q.right : q.left),
|
|
1215
1216
|
style: { width: n },
|
|
1216
1217
|
children: e
|
|
@@ -1276,14 +1277,14 @@ var q = {
|
|
|
1276
1277
|
right: H`
|
|
1277
1278
|
left: calc(100% + .5rem);
|
|
1278
1279
|
`
|
|
1279
|
-
},
|
|
1280
|
-
className:
|
|
1280
|
+
}, St = ({ type: e = "normal", width: t = "100%", value: n = 0 }) => /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("div", {
|
|
1281
|
+
className: Ct.base,
|
|
1281
1282
|
style: { width: t },
|
|
1282
|
-
children: /* @__PURE__ */
|
|
1283
|
-
className: V(
|
|
1283
|
+
children: /* @__PURE__ */ u("div", {
|
|
1284
|
+
className: V(Ct.value, Ct[e] ?? Ct.normal),
|
|
1284
1285
|
style: { width: `${n}%` }
|
|
1285
1286
|
})
|
|
1286
|
-
}) }),
|
|
1287
|
+
}) }), Ct = {
|
|
1287
1288
|
base: H`
|
|
1288
1289
|
position: relative;
|
|
1289
1290
|
border-radius: 16px;
|
|
@@ -1301,23 +1302,23 @@ var q = {
|
|
|
1301
1302
|
transition: width .3s ease;
|
|
1302
1303
|
`,
|
|
1303
1304
|
normal: H`
|
|
1304
|
-
border: solid 1px ${
|
|
1305
|
+
border: solid 1px ${r(U.colors.primary, .3)};
|
|
1305
1306
|
background-color: ${U.colors.primary};
|
|
1306
1307
|
`,
|
|
1307
1308
|
warn: H`
|
|
1308
|
-
border: solid 1px ${
|
|
1309
|
+
border: solid 1px ${r(U.colors.secondary, .2)};
|
|
1309
1310
|
background-color: ${U.colors.secondary};
|
|
1310
1311
|
`,
|
|
1311
1312
|
danger: H`
|
|
1312
|
-
border: solid 1px ${
|
|
1313
|
+
border: solid 1px ${r(U.colors.danger, .3)};
|
|
1313
1314
|
background-color: ${U.colors.danger};
|
|
1314
1315
|
`
|
|
1315
1316
|
};
|
|
1316
1317
|
//#endregion
|
|
1317
1318
|
//#region src/components/_box.jsx
|
|
1318
|
-
function
|
|
1319
|
-
return /* @__PURE__ */
|
|
1320
|
-
className: V(
|
|
1319
|
+
function wt({ className: e, type: t = "primary", width: n, height: r, children: i }) {
|
|
1320
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("div", {
|
|
1321
|
+
className: V(Tt.base, Tt[t] ?? Tt.primary, e),
|
|
1321
1322
|
style: {
|
|
1322
1323
|
width: n,
|
|
1323
1324
|
height: r
|
|
@@ -1325,7 +1326,7 @@ function bt({ className: e, type: t = "primary", width: n, height: r, children:
|
|
|
1325
1326
|
children: i
|
|
1326
1327
|
}) });
|
|
1327
1328
|
}
|
|
1328
|
-
var
|
|
1329
|
+
var Tt = {
|
|
1329
1330
|
base: H`
|
|
1330
1331
|
position: relative;
|
|
1331
1332
|
border: solid 1px #dce0e4;
|
|
@@ -1343,54 +1344,54 @@ var xt = {
|
|
|
1343
1344
|
};
|
|
1344
1345
|
//#endregion
|
|
1345
1346
|
//#region src/components/_button.jsx
|
|
1346
|
-
function
|
|
1347
|
-
let
|
|
1347
|
+
function Et({ type: e = "primary", label: t, iconName: n, isDisabled: r = !1, isLoading: a = !1, onClick: o }) {
|
|
1348
|
+
let s = n || a, c = i(null);
|
|
1348
1349
|
function f(e) {
|
|
1349
|
-
if (
|
|
1350
|
+
if (r || a) return;
|
|
1350
1351
|
e.stopPropagation(), e.preventDefault();
|
|
1351
1352
|
let t = e.currentTarget.getBoundingClientRect();
|
|
1352
|
-
|
|
1353
|
+
c.value = {
|
|
1353
1354
|
x: e.clientX - t.left,
|
|
1354
1355
|
y: e.clientY - t.top,
|
|
1355
1356
|
size: Math.max(t.width, t.height) * 2
|
|
1356
|
-
},
|
|
1357
|
+
}, o?.(e);
|
|
1357
1358
|
}
|
|
1358
|
-
return /* @__PURE__ */
|
|
1359
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ d("button", {
|
|
1359
1360
|
type: "button",
|
|
1360
|
-
className: V(
|
|
1361
|
-
"has-icon":
|
|
1362
|
-
"is-disabled":
|
|
1361
|
+
className: V(Ot.base, Ot[e] ?? Ot.normal),
|
|
1362
|
+
"has-icon": s,
|
|
1363
|
+
"is-disabled": r || void 0,
|
|
1363
1364
|
"is-loading": a || void 0,
|
|
1364
|
-
"is-clickable": !!
|
|
1365
|
-
disabled:
|
|
1365
|
+
"is-clickable": !!o || void 0,
|
|
1366
|
+
disabled: r || a,
|
|
1366
1367
|
onClick: f,
|
|
1367
1368
|
children: [
|
|
1368
|
-
|
|
1369
|
+
s && /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("div", {
|
|
1369
1370
|
className: H`
|
|
1370
1371
|
${U.extends.verticalCenter}
|
|
1371
1372
|
|
|
1372
1373
|
left: .6rem;
|
|
1373
1374
|
`,
|
|
1374
|
-
children: a ? /* @__PURE__ */
|
|
1375
|
+
children: a ? /* @__PURE__ */ u(W, {
|
|
1375
1376
|
iconName: "loader",
|
|
1376
1377
|
isSpinning: !0
|
|
1377
|
-
}) : /* @__PURE__ */
|
|
1378
|
+
}) : /* @__PURE__ */ u(W, { iconName: n })
|
|
1378
1379
|
}) }),
|
|
1379
1380
|
t,
|
|
1380
|
-
|
|
1381
|
-
className:
|
|
1381
|
+
c.value && /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("span", {
|
|
1382
|
+
className: Ot.ripple,
|
|
1382
1383
|
style: {
|
|
1383
|
-
left:
|
|
1384
|
-
top:
|
|
1385
|
-
width:
|
|
1386
|
-
height:
|
|
1384
|
+
left: c.value.x,
|
|
1385
|
+
top: c.value.y,
|
|
1386
|
+
width: c.value.size,
|
|
1387
|
+
height: c.value.size
|
|
1387
1388
|
},
|
|
1388
|
-
onAnimationEnd: () =>
|
|
1389
|
+
onAnimationEnd: () => c.value = null
|
|
1389
1390
|
}) })
|
|
1390
1391
|
]
|
|
1391
1392
|
}) });
|
|
1392
1393
|
}
|
|
1393
|
-
var
|
|
1394
|
+
var Dt = st`
|
|
1394
1395
|
from {
|
|
1395
1396
|
opacity: .4;
|
|
1396
1397
|
transform: translate(-50%, -50%) scale(0);
|
|
@@ -1400,7 +1401,7 @@ var Ct = it`
|
|
|
1400
1401
|
opacity: 0;
|
|
1401
1402
|
transform: translate(-50%, -50%) scale(1);
|
|
1402
1403
|
}
|
|
1403
|
-
`,
|
|
1404
|
+
`, Ot = {
|
|
1404
1405
|
base: H`
|
|
1405
1406
|
font-size: .9rem;
|
|
1406
1407
|
display: inline-block;
|
|
@@ -1423,13 +1424,13 @@ var Ct = it`
|
|
|
1423
1424
|
&[has-icon] { padding-left: 2rem; }
|
|
1424
1425
|
`,
|
|
1425
1426
|
primary: H`
|
|
1426
|
-
color: ${
|
|
1427
|
-
border-bottom: solid 3px ${
|
|
1427
|
+
color: ${r(U.colors.primary, .5)};
|
|
1428
|
+
border-bottom: solid 3px ${r(U.colors.primary, .25)};
|
|
1428
1429
|
background-color: ${U.colors.primary};
|
|
1429
1430
|
`,
|
|
1430
1431
|
secondary: H`
|
|
1431
|
-
color: ${
|
|
1432
|
-
border-bottom: solid 3px ${
|
|
1432
|
+
color: ${r(U.colors.secondary, .5)};
|
|
1433
|
+
border-bottom: solid 3px ${r(U.colors.secondary, .25)};
|
|
1433
1434
|
background-color: ${U.colors.secondary};
|
|
1434
1435
|
`,
|
|
1435
1436
|
ripple: H`
|
|
@@ -1438,14 +1439,14 @@ var Ct = it`
|
|
|
1438
1439
|
border-radius: 50%;
|
|
1439
1440
|
pointer-events: none;
|
|
1440
1441
|
background-color: currentColor;
|
|
1441
|
-
animation: ${
|
|
1442
|
+
animation: ${Dt} .5s ease-out forwards;
|
|
1442
1443
|
`
|
|
1443
1444
|
};
|
|
1444
1445
|
//#endregion
|
|
1445
1446
|
//#region src/components/_layout.jsx
|
|
1446
|
-
function
|
|
1447
|
-
return /* @__PURE__ */
|
|
1448
|
-
className: V(
|
|
1447
|
+
function kt({ className: e, height: t, direction: n = "row", justify: r, align: i, gap: a, children: o }) {
|
|
1448
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("div", {
|
|
1449
|
+
className: V(At.base, e),
|
|
1449
1450
|
style: {
|
|
1450
1451
|
height: t,
|
|
1451
1452
|
flexDirection: n,
|
|
@@ -1453,22 +1454,22 @@ function Tt({ className: e, height: t, direction: n = "row", justify: r, align:
|
|
|
1453
1454
|
alignItems: i,
|
|
1454
1455
|
gap: a == null ? void 0 : `${a / 2}rem`
|
|
1455
1456
|
},
|
|
1456
|
-
children:
|
|
1457
|
+
children: o
|
|
1457
1458
|
}) });
|
|
1458
1459
|
}
|
|
1459
|
-
var
|
|
1460
|
+
var At = { base: H`
|
|
1460
1461
|
display: flex;
|
|
1461
1462
|
` };
|
|
1462
1463
|
//#endregion
|
|
1463
1464
|
//#region src/components/_headline.jsx
|
|
1464
|
-
function
|
|
1465
|
-
return /* @__PURE__ */
|
|
1466
|
-
className: V(
|
|
1465
|
+
function jt({ as: e = "h2", className: t, size: n = "normal", color: r = U.colors.fore.primary, children: i }) {
|
|
1466
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u(e, {
|
|
1467
|
+
className: V(Mt.base, Mt[n] ?? Mt.normal, t),
|
|
1467
1468
|
style: { color: r },
|
|
1468
1469
|
children: i
|
|
1469
1470
|
}) });
|
|
1470
1471
|
}
|
|
1471
|
-
var
|
|
1472
|
+
var Mt = {
|
|
1472
1473
|
base: H`
|
|
1473
1474
|
letter-spacing: 1px;
|
|
1474
1475
|
`,
|
|
@@ -1490,42 +1491,42 @@ var Ot = {
|
|
|
1490
1491
|
};
|
|
1491
1492
|
//#endregion
|
|
1492
1493
|
//#region src/components/_space.jsx
|
|
1493
|
-
function
|
|
1494
|
-
return /* @__PURE__ */
|
|
1494
|
+
function Nt({ size: e = 1 }) {
|
|
1495
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("div", { style: {
|
|
1495
1496
|
height: e > 0 ? `${e}rem` : 0,
|
|
1496
1497
|
marginTop: e < 0 ? `${e}rem` : 0
|
|
1497
1498
|
} }) });
|
|
1498
1499
|
}
|
|
1499
1500
|
//#endregion
|
|
1500
1501
|
//#region src/components/_text-field.jsx
|
|
1501
|
-
function
|
|
1502
|
-
let
|
|
1503
|
-
|
|
1502
|
+
function Pt({ placeholder: e, value: t, width: n, isDisabled: r, onChange: s }) {
|
|
1503
|
+
let c = o(), f = i(t);
|
|
1504
|
+
a(() => {
|
|
1504
1505
|
f.value = t ?? "";
|
|
1505
1506
|
}, [t]);
|
|
1506
1507
|
function p({ target: e }) {
|
|
1507
|
-
f.value = e.value,
|
|
1508
|
+
f.value = e.value, s?.(f.value);
|
|
1508
1509
|
}
|
|
1509
|
-
return /* @__PURE__ */
|
|
1510
|
-
className:
|
|
1511
|
-
style: { width:
|
|
1512
|
-
"is-disabled":
|
|
1513
|
-
children: [!f.value && e && /* @__PURE__ */
|
|
1514
|
-
className:
|
|
1515
|
-
htmlFor:
|
|
1510
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ d("div", {
|
|
1511
|
+
className: Ft.base,
|
|
1512
|
+
style: { width: n },
|
|
1513
|
+
"is-disabled": r,
|
|
1514
|
+
children: [!f.value && e && /* @__PURE__ */ u("label", {
|
|
1515
|
+
className: Ft.label,
|
|
1516
|
+
htmlFor: c,
|
|
1516
1517
|
children: e
|
|
1517
|
-
}), /* @__PURE__ */
|
|
1518
|
-
id:
|
|
1519
|
-
name:
|
|
1520
|
-
className:
|
|
1518
|
+
}), /* @__PURE__ */ u("input", {
|
|
1519
|
+
id: c,
|
|
1520
|
+
name: c,
|
|
1521
|
+
className: Ft.input,
|
|
1521
1522
|
value: f.value,
|
|
1522
|
-
disabled:
|
|
1523
|
+
disabled: r,
|
|
1523
1524
|
autocomplete: "off",
|
|
1524
1525
|
onInput: p
|
|
1525
1526
|
})]
|
|
1526
1527
|
}) });
|
|
1527
1528
|
}
|
|
1528
|
-
var
|
|
1529
|
+
var Ft = {
|
|
1529
1530
|
base: H`
|
|
1530
1531
|
position: relative;
|
|
1531
1532
|
`,
|
|
@@ -1559,14 +1560,14 @@ var jt = {
|
|
|
1559
1560
|
};
|
|
1560
1561
|
//#endregion
|
|
1561
1562
|
//#region src/components/_dropdown.jsx
|
|
1562
|
-
function
|
|
1563
|
-
let
|
|
1564
|
-
|
|
1563
|
+
function It({ items: e = [], value: t, width: n, isDisabled: r = !1, onChange: o }) {
|
|
1564
|
+
let c = 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;
|
|
1565
|
+
a(() => {
|
|
1565
1566
|
t !== void 0 && (p.value = t);
|
|
1566
|
-
}, [t]),
|
|
1567
|
+
}, [t]), a(() => {
|
|
1567
1568
|
if (!m.value) return;
|
|
1568
1569
|
function e({ target: e }) {
|
|
1569
|
-
|
|
1570
|
+
c.current?.contains(e) || (m.value = !1);
|
|
1570
1571
|
}
|
|
1571
1572
|
return document.addEventListener("pointerdown", e), () => {
|
|
1572
1573
|
document.removeEventListener("pointerdown", e);
|
|
@@ -1583,46 +1584,46 @@ function Mt({ items: e = [], value: t, width: i, isDisabled: l = !1, onChange: u
|
|
|
1583
1584
|
_();
|
|
1584
1585
|
}
|
|
1585
1586
|
function y(e) {
|
|
1586
|
-
p.value = e.value, m.value = !1, f.current?.focus(),
|
|
1587
|
+
p.value = e.value, m.value = !1, f.current?.focus(), o?.(e.value, e);
|
|
1587
1588
|
}
|
|
1588
|
-
let b = /* @__PURE__ */
|
|
1589
|
+
let b = /* @__PURE__ */ d("button", {
|
|
1589
1590
|
ref: f,
|
|
1590
1591
|
type: "button",
|
|
1591
|
-
className:
|
|
1592
|
-
style: { width:
|
|
1592
|
+
className: J.trigger,
|
|
1593
|
+
style: { width: n },
|
|
1593
1594
|
disabled: g,
|
|
1594
1595
|
onClick: v,
|
|
1595
1596
|
children: [
|
|
1596
|
-
/* @__PURE__ */
|
|
1597
|
-
className:
|
|
1598
|
-
children: e.map((e) => /* @__PURE__ */
|
|
1599
|
-
className:
|
|
1597
|
+
/* @__PURE__ */ u("span", {
|
|
1598
|
+
className: J.sizer,
|
|
1599
|
+
children: e.map((e) => /* @__PURE__ */ u("span", {
|
|
1600
|
+
className: J.sizerValue,
|
|
1600
1601
|
children: e.label
|
|
1601
1602
|
}, e.value))
|
|
1602
1603
|
}),
|
|
1603
|
-
/* @__PURE__ */
|
|
1604
|
-
className:
|
|
1604
|
+
/* @__PURE__ */ u("span", {
|
|
1605
|
+
className: J.label,
|
|
1605
1606
|
children: h?.label
|
|
1606
1607
|
}),
|
|
1607
|
-
/* @__PURE__ */
|
|
1608
|
-
className: V(
|
|
1608
|
+
/* @__PURE__ */ u(W, {
|
|
1609
|
+
className: V(J.icon, m.value && J.iconOpen),
|
|
1609
1610
|
iconName: "down",
|
|
1610
1611
|
size: "1rem"
|
|
1611
1612
|
})
|
|
1612
1613
|
]
|
|
1613
1614
|
});
|
|
1614
|
-
return /* @__PURE__ */
|
|
1615
|
-
ref:
|
|
1616
|
-
className:
|
|
1615
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("div", {
|
|
1616
|
+
ref: c,
|
|
1617
|
+
className: J.base,
|
|
1617
1618
|
"is-disabled": g || void 0,
|
|
1618
|
-
children: /* @__PURE__ */
|
|
1619
|
-
className:
|
|
1619
|
+
children: /* @__PURE__ */ u(ft, {
|
|
1620
|
+
className: J.popup,
|
|
1620
1621
|
trigger: b,
|
|
1621
1622
|
isOpen: m.value,
|
|
1622
1623
|
origin: "left",
|
|
1623
|
-
children: e.map((e) => /* @__PURE__ */
|
|
1624
|
+
children: e.map((e) => /* @__PURE__ */ u("button", {
|
|
1624
1625
|
type: "button",
|
|
1625
|
-
className:
|
|
1626
|
+
className: J.option,
|
|
1626
1627
|
"is-selected": e.value === p.value || void 0,
|
|
1627
1628
|
onClick: () => y(e),
|
|
1628
1629
|
children: e.label
|
|
@@ -1630,7 +1631,7 @@ function Mt({ items: e = [], value: t, width: i, isDisabled: l = !1, onChange: u
|
|
|
1630
1631
|
})
|
|
1631
1632
|
}) });
|
|
1632
1633
|
}
|
|
1633
|
-
var
|
|
1634
|
+
var J = {
|
|
1634
1635
|
base: H`
|
|
1635
1636
|
display: inline-block;
|
|
1636
1637
|
`,
|
|
@@ -1707,36 +1708,36 @@ var Y = {
|
|
|
1707
1708
|
};
|
|
1708
1709
|
//#endregion
|
|
1709
1710
|
//#region src/components/_slider.jsx
|
|
1710
|
-
function
|
|
1711
|
-
let f =
|
|
1711
|
+
function Lt({ label: e, items: t = [], value: n, isDisabled: r = !1, onSlide: s, onChange: c }) {
|
|
1712
|
+
let f = o(), p = i(n ?? t[0]?.value), m = Math.max(t.findIndex((e) => e.value === p.value), 0);
|
|
1712
1713
|
t[m];
|
|
1713
|
-
let h =
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
}, [
|
|
1714
|
+
let h = r || t.length < 2;
|
|
1715
|
+
a(() => {
|
|
1716
|
+
n !== void 0 && (p.value = n);
|
|
1717
|
+
}, [n]);
|
|
1717
1718
|
function g(e) {
|
|
1718
1719
|
return t[Number(e.currentTarget.value)];
|
|
1719
1720
|
}
|
|
1720
1721
|
function _(e) {
|
|
1721
1722
|
let t = g(e);
|
|
1722
|
-
t && (p.value = t.value,
|
|
1723
|
+
t && (p.value = t.value, s?.(t.value, t));
|
|
1723
1724
|
}
|
|
1724
1725
|
function v(e) {
|
|
1725
1726
|
let t = g(e);
|
|
1726
|
-
t &&
|
|
1727
|
+
t && c?.(t.value, t);
|
|
1727
1728
|
}
|
|
1728
|
-
return /* @__PURE__ */
|
|
1729
|
-
className:
|
|
1729
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ d("div", {
|
|
1730
|
+
className: Y.base,
|
|
1730
1731
|
children: [
|
|
1731
|
-
e && /* @__PURE__ */
|
|
1732
|
-
className:
|
|
1732
|
+
e && /* @__PURE__ */ u("label", {
|
|
1733
|
+
className: Y.label,
|
|
1733
1734
|
htmlFor: f,
|
|
1734
1735
|
children: e
|
|
1735
1736
|
}),
|
|
1736
|
-
/* @__PURE__ */
|
|
1737
|
+
/* @__PURE__ */ u("input", {
|
|
1737
1738
|
id: f,
|
|
1738
1739
|
type: "range",
|
|
1739
|
-
className:
|
|
1740
|
+
className: Y.input,
|
|
1740
1741
|
min: "0",
|
|
1741
1742
|
max: Math.max(t.length - 1, 0),
|
|
1742
1743
|
step: "1",
|
|
@@ -1745,14 +1746,14 @@ function Nt({ label: e, items: t = [], value: a, isDisabled: l = !1, onSlide: u,
|
|
|
1745
1746
|
onInput: _,
|
|
1746
1747
|
onChange: v
|
|
1747
1748
|
}),
|
|
1748
|
-
/* @__PURE__ */
|
|
1749
|
-
className:
|
|
1750
|
-
children: t.map((e) => /* @__PURE__ */
|
|
1749
|
+
/* @__PURE__ */ u("div", {
|
|
1750
|
+
className: Y.items,
|
|
1751
|
+
children: t.map((e) => /* @__PURE__ */ u("span", { children: e.label }, e.value))
|
|
1751
1752
|
})
|
|
1752
1753
|
]
|
|
1753
1754
|
}) });
|
|
1754
1755
|
}
|
|
1755
|
-
var
|
|
1756
|
+
var Y = {
|
|
1756
1757
|
base: H`
|
|
1757
1758
|
display: grid;
|
|
1758
1759
|
gap: .5rem;
|
|
@@ -1786,7 +1787,7 @@ var Pt = {
|
|
|
1786
1787
|
margin-top: -.375rem;
|
|
1787
1788
|
border: solid 2px ${U.colors.back.primary};
|
|
1788
1789
|
border-radius: 50%;
|
|
1789
|
-
border: solid 1px ${
|
|
1790
|
+
border: solid 1px ${r(U.colors.primary, .3)};
|
|
1790
1791
|
background-color: ${U.colors.primary};
|
|
1791
1792
|
}
|
|
1792
1793
|
|
|
@@ -1833,35 +1834,35 @@ var Pt = {
|
|
|
1833
1834
|
};
|
|
1834
1835
|
//#endregion
|
|
1835
1836
|
//#region src/components/_checkbox.jsx
|
|
1836
|
-
function
|
|
1837
|
-
let
|
|
1838
|
-
|
|
1839
|
-
|
|
1837
|
+
function Rt({ label: e, isChecked: t = !1, isDisabled: n = !1, onChange: r }) {
|
|
1838
|
+
let s = o(), c = i(t);
|
|
1839
|
+
a(() => {
|
|
1840
|
+
c.value = t;
|
|
1840
1841
|
}, [t]);
|
|
1841
1842
|
function f() {
|
|
1842
|
-
let e = !
|
|
1843
|
-
|
|
1843
|
+
let e = !c.value;
|
|
1844
|
+
c.value = e, r?.(e);
|
|
1844
1845
|
}
|
|
1845
|
-
return /* @__PURE__ */
|
|
1846
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ d("div", {
|
|
1846
1847
|
className: X.base,
|
|
1847
|
-
children: [/* @__PURE__ */
|
|
1848
|
-
id:
|
|
1848
|
+
children: [/* @__PURE__ */ u("input", {
|
|
1849
|
+
id: s,
|
|
1849
1850
|
type: "checkbox",
|
|
1850
1851
|
className: X.input,
|
|
1851
|
-
checked:
|
|
1852
|
-
disabled:
|
|
1852
|
+
checked: c.value,
|
|
1853
|
+
disabled: n,
|
|
1853
1854
|
onChange: f
|
|
1854
|
-
}), /* @__PURE__ */
|
|
1855
|
+
}), /* @__PURE__ */ d("label", {
|
|
1855
1856
|
className: X.label,
|
|
1856
|
-
htmlFor:
|
|
1857
|
-
children: [/* @__PURE__ */
|
|
1857
|
+
htmlFor: s,
|
|
1858
|
+
children: [/* @__PURE__ */ u("span", {
|
|
1858
1859
|
className: X.indicator,
|
|
1859
|
-
children: /* @__PURE__ */
|
|
1860
|
+
children: /* @__PURE__ */ u(W, {
|
|
1860
1861
|
className: X.icon,
|
|
1861
1862
|
iconName: "check",
|
|
1862
1863
|
size: ".75rem"
|
|
1863
1864
|
})
|
|
1864
|
-
}), e && /* @__PURE__ */
|
|
1865
|
+
}), e && /* @__PURE__ */ u("span", { children: e })]
|
|
1865
1866
|
})]
|
|
1866
1867
|
}) });
|
|
1867
1868
|
}
|
|
@@ -1923,40 +1924,40 @@ var X = {
|
|
|
1923
1924
|
color: ${U.colors.fore.primary};
|
|
1924
1925
|
transition: opacity .15s ease;
|
|
1925
1926
|
`
|
|
1926
|
-
},
|
|
1927
|
-
function
|
|
1928
|
-
let
|
|
1929
|
-
|
|
1927
|
+
}, zt = 28, Bt = 3, Vt = 11;
|
|
1928
|
+
function Ht({ label: e, isChecked: t, isDisabled: n, onChange: r }) {
|
|
1929
|
+
let s = o(), c = i(t);
|
|
1930
|
+
a(() => c.value = t, [t]);
|
|
1930
1931
|
function f() {
|
|
1931
|
-
let e = !
|
|
1932
|
-
|
|
1932
|
+
let e = !c.value;
|
|
1933
|
+
c.value = e, r?.(e);
|
|
1933
1934
|
}
|
|
1934
|
-
return /* @__PURE__ */
|
|
1935
|
-
className:
|
|
1935
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ d("div", {
|
|
1936
|
+
className: Ut.base,
|
|
1936
1937
|
children: [
|
|
1937
|
-
/* @__PURE__ */
|
|
1938
|
-
className:
|
|
1939
|
-
htmlFor:
|
|
1940
|
-
"is-disabled":
|
|
1938
|
+
/* @__PURE__ */ u("label", {
|
|
1939
|
+
className: Ut.label,
|
|
1940
|
+
htmlFor: s,
|
|
1941
|
+
"is-disabled": n,
|
|
1941
1942
|
children: e
|
|
1942
1943
|
}),
|
|
1943
|
-
/* @__PURE__ */
|
|
1944
|
-
id:
|
|
1944
|
+
/* @__PURE__ */ u("input", {
|
|
1945
|
+
id: s,
|
|
1945
1946
|
type: "checkbox",
|
|
1946
|
-
className:
|
|
1947
|
-
checked:
|
|
1948
|
-
disabled:
|
|
1947
|
+
className: Ut.checkbox,
|
|
1948
|
+
checked: c.value,
|
|
1949
|
+
disabled: n,
|
|
1949
1950
|
onChange: f
|
|
1950
1951
|
}),
|
|
1951
|
-
/* @__PURE__ */
|
|
1952
|
-
className:
|
|
1953
|
-
htmlFor:
|
|
1954
|
-
"is-disabled":
|
|
1952
|
+
/* @__PURE__ */ u("label", {
|
|
1953
|
+
className: Ut.value,
|
|
1954
|
+
htmlFor: s,
|
|
1955
|
+
"is-disabled": n
|
|
1955
1956
|
})
|
|
1956
1957
|
]
|
|
1957
1958
|
}) });
|
|
1958
1959
|
}
|
|
1959
|
-
var
|
|
1960
|
+
var Ut = {
|
|
1960
1961
|
base: H`
|
|
1961
1962
|
position: relative;
|
|
1962
1963
|
display: flex;
|
|
@@ -1979,7 +1980,7 @@ var Bt = {
|
|
|
1979
1980
|
background-color: #e1e1e1;
|
|
1980
1981
|
|
|
1981
1982
|
&:before {
|
|
1982
|
-
right: ${
|
|
1983
|
+
right: ${Bt}px;
|
|
1983
1984
|
background-color: #3a3a3a;
|
|
1984
1985
|
}
|
|
1985
1986
|
}
|
|
@@ -1992,7 +1993,7 @@ var Bt = {
|
|
|
1992
1993
|
cursor: pointer;
|
|
1993
1994
|
user-select: none;
|
|
1994
1995
|
transition: background .3s ease;
|
|
1995
|
-
width: ${
|
|
1996
|
+
width: ${zt}px;
|
|
1996
1997
|
background-color: ${U.colors.back.secondary};
|
|
1997
1998
|
|
|
1998
1999
|
&:before {
|
|
@@ -2002,20 +2003,20 @@ var Bt = {
|
|
|
2002
2003
|
position: absolute;
|
|
2003
2004
|
transition: background .3s ease, right .3s ease;
|
|
2004
2005
|
border-radius: 50%;
|
|
2005
|
-
top: ${
|
|
2006
|
+
top: ${Bt}px;
|
|
2006
2007
|
right: ${14}px;
|
|
2007
|
-
width: ${
|
|
2008
|
-
height: ${
|
|
2008
|
+
width: ${Vt}px;
|
|
2009
|
+
height: ${Vt}px;
|
|
2009
2010
|
}
|
|
2010
2011
|
`
|
|
2011
2012
|
};
|
|
2012
2013
|
//#endregion
|
|
2013
2014
|
//#region src/components/_tag.jsx
|
|
2014
|
-
function
|
|
2015
|
-
return /* @__PURE__ */
|
|
2016
|
-
className: V(
|
|
2017
|
-
"has-icon": !
|
|
2018
|
-
children: [r && /* @__PURE__ */
|
|
2015
|
+
function Wt({ className: e, variant: t = "normal", iconName: r = "", label: i }) {
|
|
2016
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ d("div", {
|
|
2017
|
+
className: V(Gt.base, Gt[t] ?? Gt.normal, e),
|
|
2018
|
+
"has-icon": !n(r),
|
|
2019
|
+
children: [r && /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u(W, {
|
|
2019
2020
|
className: H`
|
|
2020
2021
|
${U.extends.verticalCenter}
|
|
2021
2022
|
left: .3rem;
|
|
@@ -2025,7 +2026,7 @@ function Vt({ className: t, variant: n = "normal", iconName: r = "", label: i })
|
|
|
2025
2026
|
}) }), i]
|
|
2026
2027
|
}) });
|
|
2027
2028
|
}
|
|
2028
|
-
var
|
|
2029
|
+
var Gt = { base: H`
|
|
2029
2030
|
position: relative;
|
|
2030
2031
|
display: inline-block;
|
|
2031
2032
|
padding: .3rem .5rem;
|
|
@@ -2041,25 +2042,26 @@ var Ht = { base: H`
|
|
|
2041
2042
|
` };
|
|
2042
2043
|
//#endregion
|
|
2043
2044
|
//#region src/components/_icon-button.jsx
|
|
2044
|
-
function
|
|
2045
|
-
function
|
|
2046
|
-
|
|
2045
|
+
function Kt({ iconName: e, color: t, ariaLabel: n, isDisabled: r, onClick: i }) {
|
|
2046
|
+
function a(e) {
|
|
2047
|
+
r || (e.stopPropagation(), e.preventDefault(), i?.(e));
|
|
2047
2048
|
}
|
|
2048
|
-
return /* @__PURE__ */
|
|
2049
|
-
className:
|
|
2050
|
-
"is-disabled":
|
|
2051
|
-
"is-clickable": !!
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2049
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("button", {
|
|
2050
|
+
className: qt.base,
|
|
2051
|
+
"is-disabled": r || void 0,
|
|
2052
|
+
"is-clickable": !!i || void 0,
|
|
2053
|
+
"aria-label": n,
|
|
2054
|
+
disabled: r,
|
|
2055
|
+
onClick: a,
|
|
2056
|
+
children: /* @__PURE__ */ u(W, {
|
|
2055
2057
|
color: t,
|
|
2056
2058
|
className: H`${U.extends.centrate}`,
|
|
2057
2059
|
iconName: e,
|
|
2058
|
-
isDisabled:
|
|
2060
|
+
isDisabled: r
|
|
2059
2061
|
})
|
|
2060
2062
|
}) });
|
|
2061
2063
|
}
|
|
2062
|
-
var
|
|
2064
|
+
var qt = { base: H`
|
|
2063
2065
|
position: relative;
|
|
2064
2066
|
width: 2.25rem;
|
|
2065
2067
|
height: 2.25rem;
|
|
@@ -2068,13 +2070,13 @@ var Wt = { base: H`
|
|
|
2068
2070
|
` };
|
|
2069
2071
|
//#endregion
|
|
2070
2072
|
//#region src/components/_counter.jsx
|
|
2071
|
-
function
|
|
2072
|
-
return e == null ? /* @__PURE__ */
|
|
2073
|
-
className:
|
|
2073
|
+
function Jt({ value: e }) {
|
|
2074
|
+
return e == null ? /* @__PURE__ */ u(l, {}) : /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("span", {
|
|
2075
|
+
className: Yt.base,
|
|
2074
2076
|
children: e
|
|
2075
2077
|
}) });
|
|
2076
2078
|
}
|
|
2077
|
-
var
|
|
2079
|
+
var Yt = { base: H`
|
|
2078
2080
|
display: inline-flex;
|
|
2079
2081
|
align-items: center;
|
|
2080
2082
|
justify-content: center;
|
|
@@ -2090,31 +2092,31 @@ var Kt = { base: H`
|
|
|
2090
2092
|
` };
|
|
2091
2093
|
//#endregion
|
|
2092
2094
|
//#region src/components/_tab-box.jsx
|
|
2093
|
-
function
|
|
2094
|
-
let
|
|
2095
|
+
function Xt({ className: e, width: t, height: n, initialIndex: r = 0, items: a = [], onChange: o }) {
|
|
2096
|
+
let s = Math.max(a.length - 1, 0), c = i(Math.min(Math.max(r, 0), s)), f = Math.min(c.value, s);
|
|
2095
2097
|
function p(e) {
|
|
2096
|
-
e !== f && (
|
|
2098
|
+
e !== f && (c.value = e, o?.(e, a[e]));
|
|
2097
2099
|
}
|
|
2098
|
-
return /* @__PURE__ */
|
|
2100
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ d("div", {
|
|
2099
2101
|
className: V(Z.base, e),
|
|
2100
2102
|
style: { width: t },
|
|
2101
|
-
children: [/* @__PURE__ */
|
|
2103
|
+
children: [/* @__PURE__ */ u(wt, {
|
|
2102
2104
|
className: Z.box,
|
|
2103
|
-
height:
|
|
2104
|
-
children: /* @__PURE__ */
|
|
2105
|
+
height: n,
|
|
2106
|
+
children: /* @__PURE__ */ u("div", {
|
|
2105
2107
|
className: Z.track,
|
|
2106
2108
|
style: { transform: `translateX(-${f * 100}%)` },
|
|
2107
|
-
children: a.map((e, t) => /* @__PURE__ */
|
|
2109
|
+
children: a.map((e, t) => /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("div", {
|
|
2108
2110
|
className: Z.panel,
|
|
2109
2111
|
inert: t !== f || void 0,
|
|
2110
2112
|
children: e.content
|
|
2111
2113
|
}, e.id ?? t) }))
|
|
2112
2114
|
})
|
|
2113
|
-
}), a.length > 0 && /* @__PURE__ */
|
|
2115
|
+
}), a.length > 0 && /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("div", {
|
|
2114
2116
|
className: Z.tabs,
|
|
2115
2117
|
children: a.map((e, t) => {
|
|
2116
2118
|
let n = t === f, r = e.counter ?? e.notification;
|
|
2117
|
-
return /* @__PURE__ */
|
|
2119
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ d("button", {
|
|
2118
2120
|
className: Z.tab,
|
|
2119
2121
|
style: e.width == null ? void 0 : {
|
|
2120
2122
|
flex: `0 0 ${e.width}`,
|
|
@@ -2124,12 +2126,12 @@ function qt({ className: e, width: t, height: r, initialIndex: i = 0, items: a =
|
|
|
2124
2126
|
"is-active": n || void 0,
|
|
2125
2127
|
onClick: () => p(t),
|
|
2126
2128
|
children: [
|
|
2127
|
-
e.iconName && /* @__PURE__ */
|
|
2129
|
+
e.iconName && /* @__PURE__ */ u(W, {
|
|
2128
2130
|
iconName: e.iconName,
|
|
2129
2131
|
size: "1rem"
|
|
2130
2132
|
}),
|
|
2131
|
-
e.label && /* @__PURE__ */
|
|
2132
|
-
/* @__PURE__ */
|
|
2133
|
+
e.label && /* @__PURE__ */ u("span", { children: e.label }),
|
|
2134
|
+
/* @__PURE__ */ u(Jt, { value: r })
|
|
2133
2135
|
]
|
|
2134
2136
|
}, e.id ?? t) });
|
|
2135
2137
|
})
|
|
@@ -2197,27 +2199,27 @@ var Z = {
|
|
|
2197
2199
|
};
|
|
2198
2200
|
//#endregion
|
|
2199
2201
|
//#region src/components/_tab-container.jsx
|
|
2200
|
-
function
|
|
2201
|
-
let
|
|
2202
|
+
function Zt({ className: e, initialIndex: t = 0, isTabsFullWidth: n = !0, items: r = [], onChange: a, width: o }) {
|
|
2203
|
+
let s = Math.max(r.length - 1, 0), c = i(Math.min(Math.max(t, 0), s)), f = Math.min(c.value, s), p = r[f];
|
|
2202
2204
|
function m(e) {
|
|
2203
|
-
e !== f && (
|
|
2205
|
+
e !== f && (c.value = e, a?.(e, r[e]));
|
|
2204
2206
|
}
|
|
2205
|
-
return /* @__PURE__ */
|
|
2207
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("div", {
|
|
2206
2208
|
className: V(Q.base, e),
|
|
2207
|
-
style: { width:
|
|
2208
|
-
children:
|
|
2209
|
-
className: V(Q.tabs, !
|
|
2210
|
-
children:
|
|
2211
|
-
let
|
|
2212
|
-
return /* @__PURE__ */
|
|
2213
|
-
className: V(Q.tab, !
|
|
2209
|
+
style: { width: o },
|
|
2210
|
+
children: r.length > 0 && /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u("div", {
|
|
2211
|
+
className: V(Q.tabs, !n && Q.tabsCompact),
|
|
2212
|
+
children: r.map((e, t) => {
|
|
2213
|
+
let r = t === f, i = e.counter ?? e.notification;
|
|
2214
|
+
return /* @__PURE__ */ d("button", {
|
|
2215
|
+
className: V(Q.tab, !n && Q.tabCompact),
|
|
2214
2216
|
type: "button",
|
|
2215
|
-
"is-active":
|
|
2217
|
+
"is-active": r || void 0,
|
|
2216
2218
|
onClick: () => m(t),
|
|
2217
|
-
children: [e.label, /* @__PURE__ */
|
|
2219
|
+
children: [e.label, /* @__PURE__ */ u(Jt, { value: i })]
|
|
2218
2220
|
}, e.id ?? t);
|
|
2219
2221
|
})
|
|
2220
|
-
}), /* @__PURE__ */
|
|
2222
|
+
}), /* @__PURE__ */ u("div", {
|
|
2221
2223
|
className: Q.panel,
|
|
2222
2224
|
children: p?.content
|
|
2223
2225
|
})] })
|
|
@@ -2274,104 +2276,203 @@ var Q = {
|
|
|
2274
2276
|
};
|
|
2275
2277
|
//#endregion
|
|
2276
2278
|
//#region src/components/_table.jsx
|
|
2277
|
-
function
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2279
|
+
function Qt({ id: e, tableId: t, sortColumns: n, settings: r, title: i, columns: a = [], rows: o = [], width: s, height: c, showLineNumbers: f = !0, sortBy: p, sortDirection: m = "asc", isColumnVisibilityConfigurable: h = !1, onRowClick: g, className: _ }) {
|
|
2280
|
+
if (e && h) return /* @__PURE__ */ u($t, {
|
|
2281
|
+
id: e,
|
|
2282
|
+
title: i,
|
|
2283
|
+
columns: a,
|
|
2284
|
+
rows: o,
|
|
2285
|
+
width: s,
|
|
2286
|
+
height: c,
|
|
2287
|
+
showLineNumbers: f,
|
|
2288
|
+
sortBy: p,
|
|
2289
|
+
sortDirection: m,
|
|
2290
|
+
onRowClick: g,
|
|
2291
|
+
className: _
|
|
2292
|
+
});
|
|
2293
|
+
let v = ln(o, n ?? a, p, m);
|
|
2294
|
+
function y(e, t, n) {
|
|
2295
|
+
dn(e) || g?.(e, t, n);
|
|
2281
2296
|
}
|
|
2282
|
-
function
|
|
2283
|
-
["Enter", " "].includes(e.key) && (
|
|
2297
|
+
function b(e, t, n) {
|
|
2298
|
+
["Enter", " "].includes(e.key) && (dn(e) || (e.preventDefault(), y(e, t, n)));
|
|
2284
2299
|
}
|
|
2285
|
-
return /* @__PURE__ */
|
|
2286
|
-
className: V($.base,
|
|
2300
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ d("div", {
|
|
2301
|
+
className: V($.base, _),
|
|
2287
2302
|
style: {
|
|
2288
|
-
width:
|
|
2289
|
-
height:
|
|
2303
|
+
width: s,
|
|
2304
|
+
height: c
|
|
2290
2305
|
},
|
|
2291
|
-
children: /* @__PURE__ */
|
|
2306
|
+
children: [(i || r) && /* @__PURE__ */ d("header", {
|
|
2307
|
+
className: $.header,
|
|
2308
|
+
children: [i && /* @__PURE__ */ d("div", {
|
|
2309
|
+
className: $.heading,
|
|
2310
|
+
children: [/* @__PURE__ */ u(jt, {
|
|
2311
|
+
size: "large",
|
|
2312
|
+
children: i
|
|
2313
|
+
}), /* @__PURE__ */ u(gt, {
|
|
2314
|
+
size: "small",
|
|
2315
|
+
color: U.colors.fore.secondary,
|
|
2316
|
+
children: o.length
|
|
2317
|
+
})]
|
|
2318
|
+
}), r]
|
|
2319
|
+
}), /* @__PURE__ */ d("table", {
|
|
2320
|
+
id: t ?? e,
|
|
2292
2321
|
className: $.table,
|
|
2293
2322
|
children: [
|
|
2294
|
-
/* @__PURE__ */
|
|
2295
|
-
/* @__PURE__ */
|
|
2323
|
+
/* @__PURE__ */ d("colgroup", { children: [f && /* @__PURE__ */ u("col", { className: $.line }), a.map((e) => /* @__PURE__ */ u("col", { style: nn(e) }, e.key))] }),
|
|
2324
|
+
/* @__PURE__ */ u("thead", { children: /* @__PURE__ */ d("tr", { children: [f && /* @__PURE__ */ u("th", {
|
|
2296
2325
|
className: $.number,
|
|
2297
2326
|
children: "#"
|
|
2298
|
-
}),
|
|
2299
|
-
style:
|
|
2327
|
+
}), a.map((e) => /* @__PURE__ */ u("th", {
|
|
2328
|
+
style: rn(e),
|
|
2300
2329
|
"is-clickable": !!e.onClick || void 0,
|
|
2301
2330
|
onClick: (t) => e.onClick?.(t, e),
|
|
2302
2331
|
children: e.label
|
|
2303
2332
|
}, e.key))] }) }),
|
|
2304
|
-
/* @__PURE__ */
|
|
2333
|
+
/* @__PURE__ */ u("tbody", { children: v.length === 0 ? /* @__PURE__ */ u("tr", {
|
|
2305
2334
|
"is-empty": !0,
|
|
2306
|
-
children: /* @__PURE__ */
|
|
2335
|
+
children: /* @__PURE__ */ u("td", {
|
|
2307
2336
|
className: $.empty,
|
|
2308
2337
|
"is-empty": !0,
|
|
2309
|
-
colSpan: Math.max(
|
|
2310
|
-
children: /* @__PURE__ */
|
|
2338
|
+
colSpan: Math.max(a.length + Number(f), 1),
|
|
2339
|
+
children: /* @__PURE__ */ u("span", {
|
|
2311
2340
|
className: $.emptyContent,
|
|
2312
2341
|
children: "Keine Einträge ..."
|
|
2313
2342
|
})
|
|
2314
2343
|
})
|
|
2315
|
-
}) :
|
|
2316
|
-
"is-clickable":
|
|
2317
|
-
tabIndex:
|
|
2318
|
-
onClick:
|
|
2319
|
-
onKeyDown:
|
|
2320
|
-
children: [
|
|
2344
|
+
}) : v.map((e, t) => /* @__PURE__ */ d("tr", {
|
|
2345
|
+
"is-clickable": g ? !0 : void 0,
|
|
2346
|
+
tabIndex: g ? 0 : void 0,
|
|
2347
|
+
onClick: g ? (n) => y(n, e, t) : void 0,
|
|
2348
|
+
onKeyDown: g ? (n) => b(n, e, t) : void 0,
|
|
2349
|
+
children: [f && /* @__PURE__ */ u("td", {
|
|
2321
2350
|
className: $.number,
|
|
2322
|
-
children:
|
|
2323
|
-
}),
|
|
2324
|
-
style:
|
|
2325
|
-
children:
|
|
2326
|
-
},
|
|
2327
|
-
},
|
|
2351
|
+
children: t + 1
|
|
2352
|
+
}), a.map((n) => /* @__PURE__ */ u("td", {
|
|
2353
|
+
style: an(n, e, t),
|
|
2354
|
+
children: cn(n, e, t)
|
|
2355
|
+
}, n.key))]
|
|
2356
|
+
}, e.key ?? t)) })
|
|
2328
2357
|
]
|
|
2329
|
-
})
|
|
2358
|
+
})]
|
|
2330
2359
|
}) });
|
|
2331
2360
|
}
|
|
2332
|
-
function
|
|
2361
|
+
function $t({ id: e, title: n, columns: r, rows: i, width: o, height: d, showLineNumbers: f, sortBy: p, sortDirection: m, onRowClick: h, className: g }) {
|
|
2362
|
+
let _ = s(null), [v, y] = c(!1), [b, x] = c(() => en(e)), S = r.filter((e) => b[e.key] !== !1);
|
|
2363
|
+
a(() => {
|
|
2364
|
+
x(en(e));
|
|
2365
|
+
}, [e]), a(() => {
|
|
2366
|
+
if (!v) return;
|
|
2367
|
+
function e({ target: e }) {
|
|
2368
|
+
_.current?.contains(e) || y(!1);
|
|
2369
|
+
}
|
|
2370
|
+
function t(e) {
|
|
2371
|
+
e.key === "Escape" && y(!1);
|
|
2372
|
+
}
|
|
2373
|
+
return document.addEventListener("pointerdown", e), document.addEventListener("keydown", t), () => {
|
|
2374
|
+
document.removeEventListener("pointerdown", e), document.removeEventListener("keydown", t);
|
|
2375
|
+
};
|
|
2376
|
+
}, [v]);
|
|
2377
|
+
function C(n, r) {
|
|
2378
|
+
let i = {
|
|
2379
|
+
...b,
|
|
2380
|
+
[n]: r
|
|
2381
|
+
};
|
|
2382
|
+
x(i), t(tn(e), i);
|
|
2383
|
+
}
|
|
2384
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u(Qt, {
|
|
2385
|
+
tableId: e,
|
|
2386
|
+
sortColumns: r,
|
|
2387
|
+
settings: /* @__PURE__ */ u("div", {
|
|
2388
|
+
ref: _,
|
|
2389
|
+
className: $.settings,
|
|
2390
|
+
children: /* @__PURE__ */ u(ft, {
|
|
2391
|
+
className: $.popup,
|
|
2392
|
+
trigger: /* @__PURE__ */ u(Kt, {
|
|
2393
|
+
ariaLabel: "Spalten auswählen",
|
|
2394
|
+
iconName: "vertical-ellipsis",
|
|
2395
|
+
onClick: () => y(!v)
|
|
2396
|
+
}),
|
|
2397
|
+
isOpen: v,
|
|
2398
|
+
origin: "right",
|
|
2399
|
+
children: r.map((e) => /* @__PURE__ */ u(Rt, {
|
|
2400
|
+
label: e.label ?? e.key,
|
|
2401
|
+
isChecked: b[e.key] !== !1,
|
|
2402
|
+
onChange: (t) => C(e.key, t)
|
|
2403
|
+
}, e.key))
|
|
2404
|
+
})
|
|
2405
|
+
}),
|
|
2406
|
+
title: n,
|
|
2407
|
+
columns: S,
|
|
2408
|
+
rows: i,
|
|
2409
|
+
width: o,
|
|
2410
|
+
height: d,
|
|
2411
|
+
showLineNumbers: f,
|
|
2412
|
+
sortBy: p,
|
|
2413
|
+
sortDirection: m,
|
|
2414
|
+
onRowClick: h,
|
|
2415
|
+
className: g
|
|
2416
|
+
}) });
|
|
2417
|
+
}
|
|
2418
|
+
function en(t) {
|
|
2419
|
+
return t ? e(tn(t), {}) : {};
|
|
2420
|
+
}
|
|
2421
|
+
function tn(e) {
|
|
2422
|
+
return `tables:${e}:column-visibility`;
|
|
2423
|
+
}
|
|
2424
|
+
function nn(e) {
|
|
2333
2425
|
if (e.width !== void 0) return {
|
|
2334
2426
|
width: e.width,
|
|
2335
2427
|
minWidth: e.width,
|
|
2336
2428
|
maxWidth: e.width
|
|
2337
2429
|
};
|
|
2338
2430
|
}
|
|
2339
|
-
function
|
|
2340
|
-
let t =
|
|
2341
|
-
return t ? {
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
function
|
|
2431
|
+
function rn(e) {
|
|
2432
|
+
let t = sn(e.align), n = on(e.backgroundColor);
|
|
2433
|
+
return t || n ? {
|
|
2434
|
+
textAlign: t,
|
|
2435
|
+
backgroundColor: n
|
|
2436
|
+
} : void 0;
|
|
2437
|
+
}
|
|
2438
|
+
function an(e, t, n) {
|
|
2439
|
+
let r = t[e.key], i = sn(typeof e.align == "function" ? e.align(r, t, n) : e.align), a = on(typeof e.backgroundColor == "function" ? e.backgroundColor(r, t, n) : e.backgroundColor);
|
|
2440
|
+
return i || a ? {
|
|
2441
|
+
textAlign: i,
|
|
2442
|
+
backgroundColor: a
|
|
2443
|
+
} : void 0;
|
|
2444
|
+
}
|
|
2445
|
+
function on(e) {
|
|
2446
|
+
return typeof e == "string" ? e : void 0;
|
|
2447
|
+
}
|
|
2448
|
+
function sn(e) {
|
|
2348
2449
|
return [
|
|
2349
2450
|
"left",
|
|
2350
2451
|
"center",
|
|
2351
2452
|
"right"
|
|
2352
2453
|
].includes(e) ? e : void 0;
|
|
2353
2454
|
}
|
|
2354
|
-
function
|
|
2455
|
+
function cn(e, t, n) {
|
|
2355
2456
|
let r = t[e.key];
|
|
2356
2457
|
return e.render?.(r, t, n) ?? r;
|
|
2357
2458
|
}
|
|
2358
|
-
function
|
|
2459
|
+
function ln(e, t, n, r) {
|
|
2359
2460
|
let i = t.find((e) => e.key === n);
|
|
2360
2461
|
if (!i) return e;
|
|
2361
2462
|
let a = r === "desc" ? -1 : 1;
|
|
2362
2463
|
return [...e].sort((e, t) => {
|
|
2363
|
-
let n =
|
|
2464
|
+
let n = un(i, e), r = un(i, t);
|
|
2364
2465
|
return a * String(n).localeCompare(String(r), void 0, {
|
|
2365
2466
|
numeric: !0,
|
|
2366
2467
|
sensitivity: "base"
|
|
2367
2468
|
});
|
|
2368
2469
|
});
|
|
2369
2470
|
}
|
|
2370
|
-
function
|
|
2471
|
+
function un(e, t) {
|
|
2371
2472
|
let n = t[e.key];
|
|
2372
2473
|
return e.sortValue?.(n, t) ?? n ?? "";
|
|
2373
2474
|
}
|
|
2374
|
-
function
|
|
2475
|
+
function dn(e) {
|
|
2375
2476
|
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\"]");
|
|
2376
2477
|
}
|
|
2377
2478
|
var $ = {
|
|
@@ -2449,7 +2550,29 @@ var $ = {
|
|
|
2449
2550
|
position: absolute;
|
|
2450
2551
|
inset: 0;
|
|
2451
2552
|
place-items: center;
|
|
2553
|
+
`,
|
|
2554
|
+
settings: H`
|
|
2555
|
+
flex: none;
|
|
2556
|
+
`,
|
|
2557
|
+
header: H`
|
|
2558
|
+
display: flex;
|
|
2559
|
+
align-items: center;
|
|
2560
|
+
justify-content: space-between;
|
|
2561
|
+
gap: 1rem;
|
|
2562
|
+
box-sizing: border-box;
|
|
2563
|
+
width: 100%;
|
|
2564
|
+
min-height: 3.25rem;
|
|
2565
|
+
padding: .5rem 0;
|
|
2566
|
+
`,
|
|
2567
|
+
heading: H`
|
|
2568
|
+
display: flex;
|
|
2569
|
+
gap: .5rem;
|
|
2570
|
+
`,
|
|
2571
|
+
popup: H`
|
|
2572
|
+
display: grid;
|
|
2573
|
+
gap: .5rem;
|
|
2574
|
+
min-width: 11rem;
|
|
2452
2575
|
`
|
|
2453
2576
|
};
|
|
2454
2577
|
//#endregion
|
|
2455
|
-
export {
|
|
2578
|
+
export { mt as Actions, vt as AppWrapper, St as Bar, wt as Box, Et as Button, Rt as Checkbox, Jt as Counter, It as Dropdown, jt as Headline, W as Icon, Kt as IconButton, kt as Layout, ft as PopupBox, Lt as Slider, Nt as Space, Ht as Switch, Xt as TabBox, Zt as TabContainer, Qt as Table, Wt as Tag, gt as Text, Pt as TextField, U as Theme, yt as Toolbar };
|