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