melonykit 0.13.3 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +479 -374
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -164,9 +164,7 @@ function he(e) {
|
|
|
164
164
|
case 40:
|
|
165
165
|
e === 41 && he(e);
|
|
166
166
|
break;
|
|
167
|
-
case 92:
|
|
168
|
-
P();
|
|
169
|
-
break;
|
|
167
|
+
case 92: P();
|
|
170
168
|
}
|
|
171
169
|
return A;
|
|
172
170
|
}
|
|
@@ -181,9 +179,9 @@ function _e(e) {
|
|
|
181
179
|
//#endregion
|
|
182
180
|
//#region node_modules/stylis/src/Parser.js
|
|
183
181
|
function ve(e) {
|
|
184
|
-
return fe(
|
|
182
|
+
return fe(ye("", null, null, null, [""], e = de(e), 0, [0], e));
|
|
185
183
|
}
|
|
186
|
-
function
|
|
184
|
+
function ye(e, t, n, r, i, a, o, s, c) {
|
|
187
185
|
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, C = r, w = y; g;) switch (m = v, v = P()) {
|
|
188
186
|
case 40: if (m != 108 && E(w, d - 1) == 58) {
|
|
189
187
|
ne(w += T(z(v), "&", "&\f"), "&\f") != -1 && (_ = -1);
|
|
@@ -207,7 +205,7 @@ function B(e, t, n, r, i, a, o, s, c) {
|
|
|
207
205
|
switch (F()) {
|
|
208
206
|
case 42:
|
|
209
207
|
case 47:
|
|
210
|
-
ie(
|
|
208
|
+
ie(xe(ge(P(), I()), t, n), c);
|
|
211
209
|
break;
|
|
212
210
|
default: w += "/";
|
|
213
211
|
}
|
|
@@ -220,19 +218,19 @@ function B(e, t, n, r, i, a, o, s, c) {
|
|
|
220
218
|
case 0:
|
|
221
219
|
case 125: g = 0;
|
|
222
220
|
case 59 + u:
|
|
223
|
-
_ == -1 && (w = T(w, /\f/g, "")), p > 0 && O(w) - d && ie(p > 32 ?
|
|
221
|
+
_ == -1 && (w = T(w, /\f/g, "")), p > 0 && O(w) - d && ie(p > 32 ? Se(w + ";", r, n, d - 1) : Se(T(w, " ", "") + ";", r, n, d - 2), c);
|
|
224
222
|
break;
|
|
225
223
|
case 59: w += ";";
|
|
226
|
-
default: if (ie(C =
|
|
227
|
-
if (u === 0)
|
|
224
|
+
default: if (ie(C = be(w, t, n, l, u, i, s, y, b = [], x = [], d), a), v === 123) {
|
|
225
|
+
if (u === 0) ye(w, t, C, C, b, a, d, s, x);
|
|
228
226
|
else switch (f === 99 && E(w, 3) === 110 ? 100 : f) {
|
|
229
227
|
case 100:
|
|
230
228
|
case 108:
|
|
231
229
|
case 109:
|
|
232
230
|
case 115:
|
|
233
|
-
|
|
231
|
+
ye(e, C, C, r && ie(be(e, C, C, 0, 0, i, s, y, i, b = [], d), x), i, x, d, s, r ? b : x);
|
|
234
232
|
break;
|
|
235
|
-
default:
|
|
233
|
+
default: ye(w, C, C, C, [""], x, 0, s, x);
|
|
236
234
|
}
|
|
237
235
|
}
|
|
238
236
|
}
|
|
@@ -259,50 +257,50 @@ function B(e, t, n, r, i, a, o, s, c) {
|
|
|
259
257
|
}
|
|
260
258
|
return a;
|
|
261
259
|
}
|
|
262
|
-
function
|
|
260
|
+
function be(e, t, n, r, i, a, o, s, c, l, u) {
|
|
263
261
|
for (var d = i - 1, f = i === 0 ? a : [""], p = re(f), m = 0, h = 0, _ = 0; m < r; ++m) for (var v = 0, y = D(e, d + 1, d = x(h = o[m])), b = e; v < p; ++v) (b = ee(h > 0 ? f[v] + " " + y : T(y, /&\f/g, f[v]))) && (c[_++] = b);
|
|
264
262
|
return ce(e, t, n, i === 0 ? g : s, c, l, u);
|
|
265
263
|
}
|
|
266
|
-
function
|
|
264
|
+
function xe(e, t, n) {
|
|
267
265
|
return ce(e, t, n, h, S(le()), D(e, 2, -2), 0);
|
|
268
266
|
}
|
|
269
|
-
function
|
|
267
|
+
function Se(e, t, n, r) {
|
|
270
268
|
return ce(e, t, n, _, D(e, 0, r), D(e, r + 1, -1), r);
|
|
271
269
|
}
|
|
272
270
|
//#endregion
|
|
273
271
|
//#region node_modules/stylis/src/Serializer.js
|
|
274
|
-
function
|
|
272
|
+
function B(e, t) {
|
|
275
273
|
for (var n = "", r = re(e), i = 0; i < r; i++) n += t(e[i], i, e, t) || "";
|
|
276
274
|
return n;
|
|
277
275
|
}
|
|
278
|
-
function
|
|
276
|
+
function Ce(e, t, n, r) {
|
|
279
277
|
switch (e.type) {
|
|
280
278
|
case b: if (e.children.length) break;
|
|
281
279
|
case v:
|
|
282
280
|
case _: return e.return = e.return || e.value;
|
|
283
281
|
case h: return "";
|
|
284
|
-
case y: return e.return = e.value + "{" +
|
|
282
|
+
case y: return e.return = e.value + "{" + B(e.children, r) + "}";
|
|
285
283
|
case g: e.value = e.props.join(",");
|
|
286
284
|
}
|
|
287
|
-
return O(n =
|
|
285
|
+
return O(n = B(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
|
|
288
286
|
}
|
|
289
287
|
//#endregion
|
|
290
288
|
//#region node_modules/stylis/src/Middleware.js
|
|
291
|
-
function
|
|
289
|
+
function we(e) {
|
|
292
290
|
var t = re(e);
|
|
293
291
|
return function(n, r, i, a) {
|
|
294
292
|
for (var o = "", s = 0; s < t; s++) o += e[s](n, r, i, a) || "";
|
|
295
293
|
return o;
|
|
296
294
|
};
|
|
297
295
|
}
|
|
298
|
-
function
|
|
296
|
+
function Te(e) {
|
|
299
297
|
return function(t) {
|
|
300
298
|
t.root || (t = t.return) && e(t);
|
|
301
299
|
};
|
|
302
300
|
}
|
|
303
301
|
//#endregion
|
|
304
302
|
//#region node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
|
|
305
|
-
function
|
|
303
|
+
function Ee(e) {
|
|
306
304
|
var t = Object.create(null);
|
|
307
305
|
return function(n) {
|
|
308
306
|
return t[n] === void 0 && (t[n] = e(n)), t[n];
|
|
@@ -310,15 +308,15 @@ function Te(e) {
|
|
|
310
308
|
}
|
|
311
309
|
//#endregion
|
|
312
310
|
//#region node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js
|
|
313
|
-
var
|
|
311
|
+
var De = function(e, t, n) {
|
|
314
312
|
for (var r = 0, i = 0; r = i, i = F(), r === 38 && i === 12 && (t[n] = 1), !R(i);) P();
|
|
315
313
|
return L(e, A);
|
|
316
|
-
},
|
|
314
|
+
}, Oe = function(e, t) {
|
|
317
315
|
var n = -1, r = 44;
|
|
318
316
|
do
|
|
319
317
|
switch (R(r)) {
|
|
320
318
|
case 0:
|
|
321
|
-
r === 38 && F() === 12 && (t[n] = 1), e[n] +=
|
|
319
|
+
r === 38 && F() === 12 && (t[n] = 1), e[n] += De(A - 1, t, n);
|
|
322
320
|
break;
|
|
323
321
|
case 2:
|
|
324
322
|
e[n] += z(r);
|
|
@@ -331,23 +329,23 @@ var Ee = function(e, t, n) {
|
|
|
331
329
|
}
|
|
332
330
|
while (r = P());
|
|
333
331
|
return e;
|
|
334
|
-
},
|
|
335
|
-
return fe(
|
|
336
|
-
},
|
|
332
|
+
}, ke = function(e, t) {
|
|
333
|
+
return fe(Oe(de(e), t));
|
|
334
|
+
}, Ae = /* #__PURE__ */ new WeakMap(), je = function(e) {
|
|
337
335
|
if (!(e.type !== "rule" || !e.parent || e.length < 1)) {
|
|
338
336
|
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;
|
|
339
|
-
if (
|
|
340
|
-
|
|
341
|
-
for (var i = [], a =
|
|
337
|
+
if ((e.props.length !== 1 || t.charCodeAt(0) === 58 || Ae.get(n)) && !r) {
|
|
338
|
+
Ae.set(e, !0);
|
|
339
|
+
for (var i = [], a = ke(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];
|
|
342
340
|
}
|
|
343
341
|
}
|
|
344
|
-
},
|
|
342
|
+
}, Me = function(e) {
|
|
345
343
|
if (e.type === "decl") {
|
|
346
344
|
var t = e.value;
|
|
347
345
|
t.charCodeAt(0) === 108 && t.charCodeAt(2) === 98 && (e.return = "", e.value = "");
|
|
348
346
|
}
|
|
349
347
|
};
|
|
350
|
-
function
|
|
348
|
+
function Ne(e, t) {
|
|
351
349
|
switch (w(e, t)) {
|
|
352
350
|
case 5103: return m + "print-" + e + e;
|
|
353
351
|
case 5737:
|
|
@@ -413,7 +411,7 @@ function Me(e, t) {
|
|
|
413
411
|
if (O(e) - 1 - t > 6) switch (E(e, t + 1)) {
|
|
414
412
|
case 109: if (E(e, t + 4) !== 45) break;
|
|
415
413
|
case 102: return T(e, /(.+:)(.+)-([^]+)/, "$1" + m + "$2-$3$1" + p + (E(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
416
|
-
case 115: return ~ne(e, "stretch") ?
|
|
414
|
+
case 115: return ~ne(e, "stretch") ? Ne(T(e, "stretch", "fill-available"), t) + e : e;
|
|
417
415
|
}
|
|
418
416
|
break;
|
|
419
417
|
case 4949: if (E(e, t + 1) !== 115) break;
|
|
@@ -433,17 +431,17 @@ function Me(e, t) {
|
|
|
433
431
|
}
|
|
434
432
|
return e;
|
|
435
433
|
}
|
|
436
|
-
var
|
|
434
|
+
var Pe = [function(e, t, n, r) {
|
|
437
435
|
if (e.length > -1 && !e.return) switch (e.type) {
|
|
438
436
|
case _:
|
|
439
|
-
e.return =
|
|
437
|
+
e.return = Ne(e.value, e.length);
|
|
440
438
|
break;
|
|
441
|
-
case y: return
|
|
439
|
+
case y: return B([N(e, { value: T(e.value, "@", "@" + m) })], r);
|
|
442
440
|
case g: if (e.length) return ae(e.props, function(t) {
|
|
443
441
|
switch (te(t, /(::plac\w+|:read-\w+)/)) {
|
|
444
442
|
case ":read-only":
|
|
445
|
-
case ":read-write": return
|
|
446
|
-
case "::placeholder": return
|
|
443
|
+
case ":read-write": return B([N(e, { props: [T(t, /:(read-\w+)/, ":" + p + "$1")] })], r);
|
|
444
|
+
case "::placeholder": return B([
|
|
447
445
|
N(e, { props: [T(t, /:(plac\w+)/, ":" + m + "input-$1")] }),
|
|
448
446
|
N(e, { props: [T(t, /:(plac\w+)/, ":" + p + "$1")] }),
|
|
449
447
|
N(e, { props: [T(t, /:(plac\w+)/, f + "input-$1")] })
|
|
@@ -452,7 +450,7 @@ var Ne = [function(e, t, n, r) {
|
|
|
452
450
|
return "";
|
|
453
451
|
});
|
|
454
452
|
}
|
|
455
|
-
}],
|
|
453
|
+
}], Fe = function(e) {
|
|
456
454
|
var t = e.key;
|
|
457
455
|
if (t === "css") {
|
|
458
456
|
var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
@@ -460,15 +458,15 @@ var Ne = [function(e, t, n, r) {
|
|
|
460
458
|
e.getAttribute("data-emotion").indexOf(" ") !== -1 && (document.head.appendChild(e), e.setAttribute("data-s", ""));
|
|
461
459
|
});
|
|
462
460
|
}
|
|
463
|
-
var r = e.stylisPlugins ||
|
|
461
|
+
var r = e.stylisPlugins || Pe, i = {}, a, o = [];
|
|
464
462
|
a = e.container || document.head, Array.prototype.forEach.call(document.querySelectorAll("style[data-emotion^=\"" + t + " \"]"), function(e) {
|
|
465
463
|
for (var t = e.getAttribute("data-emotion").split(" "), n = 1; n < t.length; n++) i[t[n]] = !0;
|
|
466
464
|
o.push(e);
|
|
467
465
|
});
|
|
468
|
-
var s, c = [
|
|
466
|
+
var s, c = [je, Me], l, u = [Ce, Te(function(e) {
|
|
469
467
|
l.insert(e);
|
|
470
|
-
})], f =
|
|
471
|
-
return
|
|
468
|
+
})], f = we(c.concat(r, u)), p = function(e) {
|
|
469
|
+
return B(ve(e), f);
|
|
472
470
|
};
|
|
473
471
|
s = function(e, t, n, r) {
|
|
474
472
|
l = n, p(e ? e + "{" + t.styles + "}" : t.styles), r && (m.inserted[t.name] = !0);
|
|
@@ -492,7 +490,7 @@ var Ne = [function(e, t, n, r) {
|
|
|
492
490
|
};
|
|
493
491
|
//#endregion
|
|
494
492
|
//#region node_modules/@emotion/hash/dist/emotion-hash.esm.js
|
|
495
|
-
function
|
|
493
|
+
function Ie(e) {
|
|
496
494
|
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);
|
|
497
495
|
switch (i) {
|
|
498
496
|
case 3: t ^= (e.charCodeAt(r + 2) & 255) << 16;
|
|
@@ -503,7 +501,7 @@ function Fe(e) {
|
|
|
503
501
|
}
|
|
504
502
|
//#endregion
|
|
505
503
|
//#region node_modules/@emotion/unitless/dist/emotion-unitless.esm.js
|
|
506
|
-
var
|
|
504
|
+
var Le = {
|
|
507
505
|
animationIterationCount: 1,
|
|
508
506
|
aspectRatio: 1,
|
|
509
507
|
borderImageOutset: 1,
|
|
@@ -551,26 +549,26 @@ var Ie = {
|
|
|
551
549
|
strokeMiterlimit: 1,
|
|
552
550
|
strokeOpacity: 1,
|
|
553
551
|
strokeWidth: 1
|
|
554
|
-
},
|
|
552
|
+
}, Re = /[A-Z]|^ms/g, ze = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Be = function(e) {
|
|
555
553
|
return e.charCodeAt(1) === 45;
|
|
556
|
-
},
|
|
554
|
+
}, Ve = function(e) {
|
|
557
555
|
return e != null && typeof e != "boolean";
|
|
558
|
-
},
|
|
559
|
-
return
|
|
560
|
-
}),
|
|
556
|
+
}, He = /* #__PURE__ */ Ee(function(e) {
|
|
557
|
+
return Be(e) ? e : e.replace(Re, "-$&").toLowerCase();
|
|
558
|
+
}), Ue = function(e, t) {
|
|
561
559
|
switch (e) {
|
|
562
560
|
case "animation":
|
|
563
|
-
case "animationName": if (typeof t == "string") return t.replace(
|
|
564
|
-
return
|
|
561
|
+
case "animationName": if (typeof t == "string") return t.replace(ze, function(e, t, n) {
|
|
562
|
+
return H = {
|
|
565
563
|
name: t,
|
|
566
564
|
styles: n,
|
|
567
|
-
next:
|
|
565
|
+
next: H
|
|
568
566
|
}, t;
|
|
569
567
|
});
|
|
570
568
|
}
|
|
571
|
-
return
|
|
569
|
+
return Le[e] !== 1 && !Be(e) && typeof t == "number" && t !== 0 ? t + "px" : t;
|
|
572
570
|
};
|
|
573
|
-
function
|
|
571
|
+
function V(e, t, n) {
|
|
574
572
|
if (n == null) return "";
|
|
575
573
|
var r = n;
|
|
576
574
|
if (r.__emotion_styles !== void 0) return r;
|
|
@@ -578,25 +576,25 @@ function H(e, t, n) {
|
|
|
578
576
|
case "boolean": return "";
|
|
579
577
|
case "object":
|
|
580
578
|
var i = n;
|
|
581
|
-
if (i.anim === 1) return
|
|
579
|
+
if (i.anim === 1) return H = {
|
|
582
580
|
name: i.name,
|
|
583
581
|
styles: i.styles,
|
|
584
|
-
next:
|
|
582
|
+
next: H
|
|
585
583
|
}, i.name;
|
|
586
584
|
var a = n;
|
|
587
585
|
if (a.styles !== void 0) {
|
|
588
586
|
var o = a.next;
|
|
589
|
-
if (o !== void 0) for (; o !== void 0;)
|
|
587
|
+
if (o !== void 0) for (; o !== void 0;) H = {
|
|
590
588
|
name: o.name,
|
|
591
589
|
styles: o.styles,
|
|
592
|
-
next:
|
|
590
|
+
next: H
|
|
593
591
|
}, o = o.next;
|
|
594
592
|
return a.styles + ";";
|
|
595
593
|
}
|
|
596
|
-
return
|
|
594
|
+
return We(e, t, n);
|
|
597
595
|
case "function": if (e !== void 0) {
|
|
598
|
-
var s =
|
|
599
|
-
return
|
|
596
|
+
var s = H, c = n(e);
|
|
597
|
+
return H = s, V(e, t, c);
|
|
600
598
|
}
|
|
601
599
|
}
|
|
602
600
|
var l = n;
|
|
@@ -604,21 +602,21 @@ function H(e, t, n) {
|
|
|
604
602
|
var u = t[l];
|
|
605
603
|
return u === void 0 ? l : u;
|
|
606
604
|
}
|
|
607
|
-
function
|
|
605
|
+
function We(e, t, n) {
|
|
608
606
|
var r = "";
|
|
609
|
-
if (Array.isArray(n)) for (var i = 0; i < n.length; i++) r +=
|
|
607
|
+
if (Array.isArray(n)) for (var i = 0; i < n.length; i++) r += V(e, t, n[i]) + ";";
|
|
610
608
|
else for (var a in n) {
|
|
611
609
|
var o = n[a];
|
|
612
610
|
if (typeof o != "object") {
|
|
613
611
|
var s = o;
|
|
614
|
-
t != null && t[s] !== void 0 ? r += a + "{" + t[s] + "}" :
|
|
615
|
-
} else if (Array.isArray(o) && typeof o[0] == "string" && (t == null || t[o[0]] === void 0)) for (var c = 0; c < o.length; c++)
|
|
612
|
+
t != null && t[s] !== void 0 ? r += a + "{" + t[s] + "}" : Ve(s) && (r += He(a) + ":" + Ue(a, s) + ";");
|
|
613
|
+
} else if (Array.isArray(o) && typeof o[0] == "string" && (t == null || t[o[0]] === void 0)) for (var c = 0; c < o.length; c++) Ve(o[c]) && (r += He(a) + ":" + Ue(a, o[c]) + ";");
|
|
616
614
|
else {
|
|
617
|
-
var l =
|
|
615
|
+
var l = V(e, t, o);
|
|
618
616
|
switch (a) {
|
|
619
617
|
case "animation":
|
|
620
618
|
case "animationName":
|
|
621
|
-
r +=
|
|
619
|
+
r += He(a) + ":" + l + ";";
|
|
622
620
|
break;
|
|
623
621
|
default: r += a + "{" + l + "}";
|
|
624
622
|
}
|
|
@@ -626,35 +624,35 @@ function Ue(e, t, n) {
|
|
|
626
624
|
}
|
|
627
625
|
return r;
|
|
628
626
|
}
|
|
629
|
-
var
|
|
630
|
-
function
|
|
627
|
+
var Ge = /label:\s*([^\s;{]+)\s*(;|$)/g, H;
|
|
628
|
+
function Ke(e, t, n) {
|
|
631
629
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0) return e[0];
|
|
632
630
|
var r = !0, i = "";
|
|
633
|
-
|
|
631
|
+
H = void 0;
|
|
634
632
|
var a = e[0];
|
|
635
|
-
a == null || a.raw === void 0 ? (r = !1, i +=
|
|
636
|
-
for (var o = 1; o < e.length; o++) i +=
|
|
637
|
-
|
|
638
|
-
for (var s = "", c; (c =
|
|
633
|
+
a == null || a.raw === void 0 ? (r = !1, i += V(n, t, a)) : i += a[0];
|
|
634
|
+
for (var o = 1; o < e.length; o++) i += V(n, t, e[o]), r && (i += a[o]);
|
|
635
|
+
Ge.lastIndex = 0;
|
|
636
|
+
for (var s = "", c; (c = Ge.exec(i)) !== null;) s += "-" + c[1];
|
|
639
637
|
return {
|
|
640
|
-
name:
|
|
638
|
+
name: Ie(i) + s,
|
|
641
639
|
styles: i,
|
|
642
|
-
next:
|
|
640
|
+
next: H
|
|
643
641
|
};
|
|
644
642
|
}
|
|
645
643
|
//#endregion
|
|
646
644
|
//#region node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js
|
|
647
|
-
function
|
|
645
|
+
function qe(e, t, n) {
|
|
648
646
|
var r = "";
|
|
649
647
|
return n.split(" ").forEach(function(n) {
|
|
650
648
|
e[n] === void 0 ? n && (r += n + " ") : t.push(e[n] + ";");
|
|
651
649
|
}), r;
|
|
652
650
|
}
|
|
653
|
-
var
|
|
651
|
+
var Je = function(e, t, n) {
|
|
654
652
|
var r = e.key + "-" + t.name;
|
|
655
653
|
n === !1 && e.registered[r] === void 0 && (e.registered[r] = t.styles);
|
|
656
|
-
},
|
|
657
|
-
|
|
654
|
+
}, Ye = function(e, t, n) {
|
|
655
|
+
Je(e, t, n);
|
|
658
656
|
var r = e.key + "-" + t.name;
|
|
659
657
|
if (e.inserted[t.name] === void 0) {
|
|
660
658
|
var i = t;
|
|
@@ -665,34 +663,34 @@ var qe = function(e, t, n) {
|
|
|
665
663
|
};
|
|
666
664
|
//#endregion
|
|
667
665
|
//#region node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js
|
|
668
|
-
function
|
|
666
|
+
function Xe(e, t) {
|
|
669
667
|
if (e.inserted[t.name] === void 0) return e.insert("", t, e.sheet, !0);
|
|
670
668
|
}
|
|
671
|
-
function
|
|
672
|
-
var r = [], i =
|
|
669
|
+
function Ze(e, t, n) {
|
|
670
|
+
var r = [], i = qe(e, r, n);
|
|
673
671
|
return r.length < 2 ? n : i + t(r);
|
|
674
672
|
}
|
|
675
|
-
var
|
|
676
|
-
var t =
|
|
673
|
+
var Qe = function(e) {
|
|
674
|
+
var t = Fe(e);
|
|
677
675
|
t.sheet.speedy = function(e) {
|
|
678
676
|
this.isSpeedy = e;
|
|
679
677
|
}, t.compat = !0;
|
|
680
678
|
var n = function() {
|
|
681
|
-
var e =
|
|
682
|
-
return
|
|
679
|
+
var e = Ke([...arguments], t.registered, void 0);
|
|
680
|
+
return Ye(t, e, !1), t.key + "-" + e.name;
|
|
683
681
|
};
|
|
684
682
|
return {
|
|
685
683
|
css: n,
|
|
686
684
|
cx: function() {
|
|
687
685
|
var e = [...arguments];
|
|
688
|
-
return
|
|
686
|
+
return Ze(t.registered, n, $e(e));
|
|
689
687
|
},
|
|
690
688
|
injectGlobal: function() {
|
|
691
|
-
|
|
689
|
+
Xe(t, Ke([...arguments], t.registered));
|
|
692
690
|
},
|
|
693
691
|
keyframes: function() {
|
|
694
|
-
var e =
|
|
695
|
-
return
|
|
692
|
+
var e = Ke([...arguments], t.registered), n = "animation-" + e.name;
|
|
693
|
+
return Xe(t, {
|
|
696
694
|
name: e.name,
|
|
697
695
|
styles: "@keyframes " + n + "{" + e.styles + "}"
|
|
698
696
|
}), n;
|
|
@@ -707,10 +705,10 @@ var Ze = function(e) {
|
|
|
707
705
|
},
|
|
708
706
|
sheet: t.sheet,
|
|
709
707
|
cache: t,
|
|
710
|
-
getRegisteredStyles:
|
|
711
|
-
merge:
|
|
708
|
+
getRegisteredStyles: qe.bind(null, t.registered),
|
|
709
|
+
merge: Ze.bind(null, t.registered, n)
|
|
712
710
|
};
|
|
713
|
-
},
|
|
711
|
+
}, $e = function e(t) {
|
|
714
712
|
for (var n = "", r = 0; r < t.length; r++) {
|
|
715
713
|
var i = t[r];
|
|
716
714
|
if (i != null) {
|
|
@@ -727,15 +725,15 @@ var Ze = function(e) {
|
|
|
727
725
|
}
|
|
728
726
|
}
|
|
729
727
|
return n;
|
|
730
|
-
},
|
|
731
|
-
|
|
732
|
-
var
|
|
733
|
-
|
|
734
|
-
var
|
|
735
|
-
|
|
728
|
+
}, U = Qe({ key: "css" });
|
|
729
|
+
U.flush, U.hydrate;
|
|
730
|
+
var W = U.cx;
|
|
731
|
+
U.merge, U.getRegisteredStyles;
|
|
732
|
+
var et = U.injectGlobal, tt = U.keyframes, G = U.css;
|
|
733
|
+
U.sheet, U.cache;
|
|
736
734
|
//#endregion
|
|
737
735
|
//#region \0virtual:svg-sprite
|
|
738
|
-
var tt = "<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-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-hourglass\" viewBox=\"0 0 24 24\"><path d=\"M4 3h16\"/><path d=\"M5.5 3v2.03A4 4 0 0 0 7.061 8.2L12 12l4.939-3.8A4 4 0 0 0 18.5 5.03V3\"/><path d=\"M5.5 21v-2.03a4 4 0 0 1 1.561-3.17L12 12l4.939 3.8a4 4 0 0 1 1.561 3.17V21\"/><path d=\"M4 21h16\"/></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-squares-cog\" viewBox=\"0 0 24 24\"><path d=\"M17.25 3v1.34m0 0c.666 0 1.268.27 1.704.706M17.25 4.34c-.666 0-1.268.27-1.704.706M17.25 9.16v1.34m0-1.339c.666 0 1.268-.27 1.705-.706m-1.705.706c-.666 0-1.268-.27-1.705-.706M21 6.75h-1.34m0 0c0 .666-.27 1.269-.705 1.705m.706-1.705a2.4 2.4 0 0 0-.707-1.704M14.84 6.75H13.5m1.34 0c0-.665.27-1.268.706-1.704m-.707 1.704c0 .666.27 1.269.706 1.705m4.357-4.357-.948.948m-4.356 4.356.947-.947m4.357.947-.947-.947m-4.357-4.357.947.948\"/><path d=\"M13.69 19.457c-.19-.46-.19-1.042-.19-2.207s0-1.747.19-2.207a2.5 2.5 0 0 1 1.353-1.353c.46-.19 1.042-.19 2.207-.19s1.747 0 2.207.19a2.5 2.5 0 0 1 1.353 1.353c.19.46.19 1.042.19 2.207s0 1.747-.19 2.207a2.5 2.5 0 0 1-1.353 1.353c-.46.19-1.042.19-2.207.19s-1.747 0-2.207-.19a2.5 2.5 0 0 1-1.353-1.353\"/><path d=\"M3.19 19.457C3 18.997 3 18.415 3 17.25s0-1.747.19-2.207a2.5 2.5 0 0 1 1.353-1.353c.46-.19 1.042-.19 2.207-.19s1.747 0 2.207.19a2.5 2.5 0 0 1 1.353 1.353c.19.46.19 1.042.19 2.207s0 1.747-.19 2.207a2.5 2.5 0 0 1-1.353 1.353c-.46.19-1.042.19-2.207.19s-1.747 0-2.207-.19a2.5 2.5 0 0 1-1.353-1.353\"/><path d=\"M3.19 8.957C3 8.497 3 7.915 3 6.75s0-1.747.19-2.207A2.5 2.5 0 0 1 4.543 3.19C5.003 3 5.585 3 6.75 3s1.747 0 2.207.19a2.5 2.5 0 0 1 1.353 1.353c.19.46.19 1.042.19 2.207s0 1.747-.19 2.207a2.5 2.5 0 0 1-1.353 1.353c-.46.19-1.042.19-2.207.19s-1.747 0-2.207-.19A2.5 2.5 0 0 1 3.19 8.957\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-stack\" viewBox=\"0 0 24 24\"><path d=\"M21 14c0 1.4 0 2.1-.273 2.635a2.5 2.5 0 0 1-1.092 1.092C19.1 18 18.4 18 17 18H7c-1.4 0-2.1 0-2.635-.273a2.5 2.5 0 0 1-1.093-1.092C3 16.1 3 15.4 3 14\"/><path d=\"M6 14h12\"/><path d=\"M6 10h12\"/><path d=\"M6 6h12\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-terminal\" viewBox=\"0 0 24 24\"><path d=\"M7.492 7.5 8.72 8.557c.515.445.773.667.773.943s-.258.498-.773.943L7.492 11.5\"/><path d=\"M11.492 12.5h4\"/><path d=\"M11.992 21c3.75 0 5.625 0 6.94-.955a5 5 0 0 0 1.105-1.106c.955-1.314.955-3.19.955-6.939s0-5.625-.955-6.939a5 5 0 0 0-1.106-1.106C17.617 3 15.741 3 11.992 3s-5.624 0-6.939.955A5 5 0 0 0 3.947 5.06c-.955 1.314-.955 3.19-.955 6.939s0 5.625.955 6.939a5 5 0 0 0 1.106 1.106c1.315.955 3.19.955 6.94.955\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-x\" viewBox=\"0 0 24 24\"><path d=\"m18 6-6 6m0 0-6 6m6-6 6 6m-6-6L6 6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-bookmark\" viewBox=\"0 0 24 24\"><path stroke-linejoin=\"round\" d=\"M11 2C7.229 2 5.343 2 4.172 3.129 3 4.257 3 6.074 3 9.708v8.273c0 2.306 0 3.459.773 3.871 1.496.8 4.304-1.867 5.637-2.67.773-.465 1.16-.698 1.59-.698s.817.233 1.59.698c1.333.803 4.14 3.47 5.637 2.67.773-.412.773-1.565.773-3.871V13\"/><path d=\"M17 10V2m-4 4h8\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-bug\" viewBox=\"0 0 24 24\"><path d=\"M3.012 6.597c-.12 1.06.646 3.598 2.865 3.658\"/><path d=\"M18.29 10.195c1.078.06 2.697-1.2 2.697-3.598\"/><path d=\"M20.088 20.988c.06-1.38-.84-3.514-2.579-3.574\"/><path d=\"M3.901 20.988c-.06-1.388.858-3.537 2.636-3.597\"/><path d=\"M3.012 13.793h2.206\"/><path d=\"M21 13.793h-2.172\"/><path d=\"M11.993 13.793v-2.938M16.49 3l-1.799 1.799m-7.195-1.8 1.799 1.8\"/><path d=\"M6.956 8.612c1.619 1.163 5.636 2.842 10.014.072\"/><path d=\"M16.826 7.677c-3.574-4.977-8.13-2.579-9.75.144-1.055 1.774-2.698 6.068.42 10.745 3.358 4.1 7.315 2.242 8.934.083 1.56-1.858 3.094-6.655.396-10.972Z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-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-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>", nt = !1, rt = new URL("./assets/manrope.woff2", import.meta.url).href ?? "/fonts/manrope.woff2", q = {
|
|
736
|
+
var nt = "<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-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-hourglass\" viewBox=\"0 0 24 24\"><path d=\"M4 3h16\"/><path d=\"M5.5 3v2.03A4 4 0 0 0 7.061 8.2L12 12l4.939-3.8A4 4 0 0 0 18.5 5.03V3\"/><path d=\"M5.5 21v-2.03a4 4 0 0 1 1.561-3.17L12 12l4.939 3.8a4 4 0 0 1 1.561 3.17V21\"/><path d=\"M4 21h16\"/></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-squares-cog\" viewBox=\"0 0 24 24\"><path d=\"M17.25 3v1.34m0 0c.666 0 1.268.27 1.704.706M17.25 4.34c-.666 0-1.268.27-1.704.706M17.25 9.16v1.34m0-1.339c.666 0 1.268-.27 1.705-.706m-1.705.706c-.666 0-1.268-.27-1.705-.706M21 6.75h-1.34m0 0c0 .666-.27 1.269-.705 1.705m.706-1.705a2.4 2.4 0 0 0-.707-1.704M14.84 6.75H13.5m1.34 0c0-.665.27-1.268.706-1.704m-.707 1.704c0 .666.27 1.269.706 1.705m4.357-4.357-.948.948m-4.356 4.356.947-.947m4.357.947-.947-.947m-4.357-4.357.947.948\"/><path d=\"M13.69 19.457c-.19-.46-.19-1.042-.19-2.207s0-1.747.19-2.207a2.5 2.5 0 0 1 1.353-1.353c.46-.19 1.042-.19 2.207-.19s1.747 0 2.207.19a2.5 2.5 0 0 1 1.353 1.353c.19.46.19 1.042.19 2.207s0 1.747-.19 2.207a2.5 2.5 0 0 1-1.353 1.353c-.46.19-1.042.19-2.207.19s-1.747 0-2.207-.19a2.5 2.5 0 0 1-1.353-1.353\"/><path d=\"M3.19 19.457C3 18.997 3 18.415 3 17.25s0-1.747.19-2.207a2.5 2.5 0 0 1 1.353-1.353c.46-.19 1.042-.19 2.207-.19s1.747 0 2.207.19a2.5 2.5 0 0 1 1.353 1.353c.19.46.19 1.042.19 2.207s0 1.747-.19 2.207a2.5 2.5 0 0 1-1.353 1.353c-.46.19-1.042.19-2.207.19s-1.747 0-2.207-.19a2.5 2.5 0 0 1-1.353-1.353\"/><path d=\"M3.19 8.957C3 8.497 3 7.915 3 6.75s0-1.747.19-2.207A2.5 2.5 0 0 1 4.543 3.19C5.003 3 5.585 3 6.75 3s1.747 0 2.207.19a2.5 2.5 0 0 1 1.353 1.353c.19.46.19 1.042.19 2.207s0 1.747-.19 2.207a2.5 2.5 0 0 1-1.353 1.353c-.46.19-1.042.19-2.207.19s-1.747 0-2.207-.19A2.5 2.5 0 0 1 3.19 8.957\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-stack\" viewBox=\"0 0 24 24\"><path d=\"M21 14c0 1.4 0 2.1-.273 2.635a2.5 2.5 0 0 1-1.092 1.092C19.1 18 18.4 18 17 18H7c-1.4 0-2.1 0-2.635-.273a2.5 2.5 0 0 1-1.093-1.092C3 16.1 3 15.4 3 14\"/><path d=\"M6 14h12\"/><path d=\"M6 10h12\"/><path d=\"M6 6h12\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-terminal\" viewBox=\"0 0 24 24\"><path d=\"M7.492 7.5 8.72 8.557c.515.445.773.667.773.943s-.258.498-.773.943L7.492 11.5\"/><path d=\"M11.492 12.5h4\"/><path d=\"M11.992 21c3.75 0 5.625 0 6.94-.955a5 5 0 0 0 1.105-1.106c.955-1.314.955-3.19.955-6.939s0-5.625-.955-6.939a5 5 0 0 0-1.106-1.106C17.617 3 15.741 3 11.992 3s-5.624 0-6.939.955A5 5 0 0 0 3.947 5.06c-.955 1.314-.955 3.19-.955 6.939s0 5.625.955 6.939a5 5 0 0 0 1.106 1.106c1.315.955 3.19.955 6.94.955\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-x\" viewBox=\"0 0 24 24\"><path d=\"m18 6-6 6m0 0-6 6m6-6 6 6m-6-6L6 6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-bookmark\" viewBox=\"0 0 24 24\"><path stroke-linejoin=\"round\" d=\"M11 2C7.229 2 5.343 2 4.172 3.129 3 4.257 3 6.074 3 9.708v8.273c0 2.306 0 3.459.773 3.871 1.496.8 4.304-1.867 5.637-2.67.773-.465 1.16-.698 1.59-.698s.817.233 1.59.698c1.333.803 4.14 3.47 5.637 2.67.773-.412.773-1.565.773-3.871V13\"/><path d=\"M17 10V2m-4 4h8\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-bug\" viewBox=\"0 0 24 24\"><path d=\"M3.012 6.597c-.12 1.06.646 3.598 2.865 3.658\"/><path d=\"M18.29 10.195c1.078.06 2.697-1.2 2.697-3.598\"/><path d=\"M20.088 20.988c.06-1.38-.84-3.514-2.579-3.574\"/><path d=\"M3.901 20.988c-.06-1.388.858-3.537 2.636-3.597\"/><path d=\"M3.012 13.793h2.206\"/><path d=\"M21 13.793h-2.172\"/><path d=\"M11.993 13.793v-2.938M16.49 3l-1.799 1.799m-7.195-1.8 1.799 1.8\"/><path d=\"M6.956 8.612c1.619 1.163 5.636 2.842 10.014.072\"/><path d=\"M16.826 7.677c-3.574-4.977-8.13-2.579-9.75.144-1.055 1.774-2.698 6.068.42 10.745 3.358 4.1 7.315 2.242 8.934.083 1.56-1.858 3.094-6.655.396-10.972Z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-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-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>", rt = !1, it = new URL("./assets/manrope.woff2", import.meta.url).href ?? "/fonts/manrope.woff2", K = {
|
|
739
737
|
fontFamily: "Manrope",
|
|
740
738
|
zIndex: {
|
|
741
739
|
front: 1,
|
|
@@ -772,10 +770,10 @@ var tt = "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"position:absolute;wi
|
|
|
772
770
|
stretch: "\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n "
|
|
773
771
|
},
|
|
774
772
|
load() {
|
|
775
|
-
|
|
773
|
+
rt || typeof document > "u" || (et(`
|
|
776
774
|
@font-face {
|
|
777
775
|
font-family: 'Manrope';
|
|
778
|
-
src: url('${
|
|
776
|
+
src: url('${it}') format('woff2');
|
|
779
777
|
font-weight: 100 900;
|
|
780
778
|
font-style: normal;
|
|
781
779
|
font-display: swap;
|
|
@@ -857,14 +855,14 @@ var tt = "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"position:absolute;wi
|
|
|
857
855
|
|
|
858
856
|
[is-loading] { cursor: default !important; }
|
|
859
857
|
[is-clickable] { cursor: pointer; }
|
|
860
|
-
`), !
|
|
858
|
+
`), !document.getElementById("svg-sprite") && document.body && (document.body.insertAdjacentHTML("afterbegin", nt), rt = !0));
|
|
861
859
|
}
|
|
862
860
|
};
|
|
863
861
|
//#endregion
|
|
864
862
|
//#region src/components/_icon.jsx
|
|
865
|
-
function
|
|
863
|
+
function q({ className: e, size: t = "1.25rem", color: n = K.colors.fore.primary, iconName: r, isSpinning: i }) {
|
|
866
864
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("svg", {
|
|
867
|
-
className:
|
|
865
|
+
className: W(at.base, e),
|
|
868
866
|
style: {
|
|
869
867
|
color: n,
|
|
870
868
|
width: t,
|
|
@@ -875,14 +873,14 @@ function J({ className: e, size: t = "1.25rem", color: n = q.colors.fore.primary
|
|
|
875
873
|
children: /* @__PURE__ */ s("use", { href: `#icon-${r}` })
|
|
876
874
|
}) });
|
|
877
875
|
}
|
|
878
|
-
var
|
|
876
|
+
var at = { base: G`
|
|
879
877
|
fill: currentColor;
|
|
880
878
|
display: inline-block;
|
|
881
879
|
flex-shrink: 0;
|
|
882
880
|
will-change: transform;
|
|
883
881
|
transition: transform .1s linear;
|
|
884
882
|
|
|
885
|
-
&[is-spinning] { animation: ${
|
|
883
|
+
&[is-spinning] { animation: ${tt`
|
|
886
884
|
0% {
|
|
887
885
|
transform: rotate(0deg);
|
|
888
886
|
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
@@ -901,26 +899,26 @@ var it = { base: K`
|
|
|
901
899
|
` };
|
|
902
900
|
//#endregion
|
|
903
901
|
//#region src/components/_popup-box.jsx
|
|
904
|
-
function
|
|
902
|
+
function ot({ className: e, trigger: t, children: n, id: r, isOpen: i = !1, origin: a = "center", role: l, width: u }) {
|
|
905
903
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("div", {
|
|
906
|
-
className:
|
|
904
|
+
className: st.base,
|
|
907
905
|
children: [t, i && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
908
906
|
id: r,
|
|
909
|
-
className:
|
|
907
|
+
className: W(st.popup, st[a] ?? st.center, e),
|
|
910
908
|
style: { width: u },
|
|
911
909
|
role: l,
|
|
912
910
|
children: n
|
|
913
911
|
}) })]
|
|
914
912
|
}) });
|
|
915
913
|
}
|
|
916
|
-
var
|
|
917
|
-
base:
|
|
914
|
+
var st = {
|
|
915
|
+
base: G`
|
|
918
916
|
display: inline-block;
|
|
919
917
|
position: relative;
|
|
920
918
|
`,
|
|
921
|
-
popup:
|
|
919
|
+
popup: G`
|
|
922
920
|
position: absolute;
|
|
923
|
-
z-index: ${
|
|
921
|
+
z-index: ${K.zIndex.front + 1};
|
|
924
922
|
top: calc(100% + .5rem);
|
|
925
923
|
min-width: 100%;
|
|
926
924
|
width: max-content;
|
|
@@ -928,39 +926,39 @@ var ot = {
|
|
|
928
926
|
padding: .5rem;
|
|
929
927
|
border: solid 1px #e5e7e9;
|
|
930
928
|
border-radius: 10px;
|
|
931
|
-
color: ${
|
|
932
|
-
background-color: ${
|
|
929
|
+
color: ${K.colors.fore.primary};
|
|
930
|
+
background-color: ${K.colors.back.primary};
|
|
933
931
|
box-shadow: 0 6px 20px rgb(22 24 38 / 10%);
|
|
934
|
-
font-family: ${
|
|
932
|
+
font-family: ${K.fontFamily}, sans-serif;
|
|
935
933
|
`,
|
|
936
|
-
center:
|
|
934
|
+
center: G`
|
|
937
935
|
left: 50%;
|
|
938
936
|
transform: translateX(-50%);
|
|
939
937
|
`,
|
|
940
|
-
left:
|
|
938
|
+
left: G`
|
|
941
939
|
left: 0;
|
|
942
940
|
`,
|
|
943
|
-
right:
|
|
941
|
+
right: G`
|
|
944
942
|
right: 0;
|
|
945
943
|
`,
|
|
946
|
-
leftSide:
|
|
944
|
+
leftSide: G`
|
|
947
945
|
top: 0;
|
|
948
946
|
right: calc(100% + 1rem);
|
|
949
947
|
`,
|
|
950
|
-
rightSide:
|
|
948
|
+
rightSide: G`
|
|
951
949
|
top: 0;
|
|
952
950
|
left: calc(100% + 1rem);
|
|
953
951
|
`
|
|
954
952
|
};
|
|
955
953
|
//#endregion
|
|
956
954
|
//#region src/components/_actions.jsx
|
|
957
|
-
function
|
|
955
|
+
function ct({ items: e = [] }) {
|
|
958
956
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("nav", {
|
|
959
|
-
className:
|
|
960
|
-
children: e.map((e) => /* @__PURE__ */ s(
|
|
957
|
+
className: J.base,
|
|
958
|
+
children: e.map((e) => /* @__PURE__ */ s(lt, { item: e }))
|
|
961
959
|
}) });
|
|
962
960
|
}
|
|
963
|
-
function
|
|
961
|
+
function lt({ item: e }) {
|
|
964
962
|
let t = i(), l = a(null), u = a(null), d = a([]), f = n(!1), p = e.subActions ?? e.items ?? [], m = p.length > 0;
|
|
965
963
|
r(() => {
|
|
966
964
|
if (!f.value) return;
|
|
@@ -1017,19 +1015,19 @@ function ct({ item: e }) {
|
|
|
1017
1015
|
}
|
|
1018
1016
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1019
1017
|
ref: l,
|
|
1020
|
-
className:
|
|
1021
|
-
children: /* @__PURE__ */ s(
|
|
1022
|
-
className:
|
|
1018
|
+
className: J.action,
|
|
1019
|
+
children: /* @__PURE__ */ s(ot, {
|
|
1020
|
+
className: J.popup,
|
|
1023
1021
|
trigger: /* @__PURE__ */ c("button", {
|
|
1024
1022
|
ref: u,
|
|
1025
1023
|
type: "button",
|
|
1026
|
-
className:
|
|
1024
|
+
className: W(J.button, !e.label && J.iconOnly),
|
|
1027
1025
|
disabled: e.isDisabled,
|
|
1028
1026
|
"is-clickable": !e.isDisabled || void 0,
|
|
1029
1027
|
"is-disabled": e.isDisabled || void 0,
|
|
1030
1028
|
onClick: h,
|
|
1031
1029
|
onKeyDown: _,
|
|
1032
|
-
children: [e.iconName && /* @__PURE__ */ s(
|
|
1030
|
+
children: [e.iconName && /* @__PURE__ */ s(q, {
|
|
1033
1031
|
iconName: e.iconName,
|
|
1034
1032
|
size: "1rem"
|
|
1035
1033
|
}), e.label && /* @__PURE__ */ s("span", { children: e.label })]
|
|
@@ -1042,11 +1040,11 @@ function ct({ item: e }) {
|
|
|
1042
1040
|
ref: (e) => d.current[t] = e,
|
|
1043
1041
|
type: "button",
|
|
1044
1042
|
role: "menuitem",
|
|
1045
|
-
className:
|
|
1043
|
+
className: J.option,
|
|
1046
1044
|
disabled: e.isDisabled,
|
|
1047
1045
|
onClick: (t) => v(t, e),
|
|
1048
1046
|
onKeyDown: (e) => y(e, t),
|
|
1049
|
-
children: [e.iconName && /* @__PURE__ */ s(
|
|
1047
|
+
children: [e.iconName && /* @__PURE__ */ s(q, {
|
|
1050
1048
|
iconName: e.iconName,
|
|
1051
1049
|
size: "1rem"
|
|
1052
1050
|
}), e.label && /* @__PURE__ */ s("span", { children: e.label })]
|
|
@@ -1054,42 +1052,42 @@ function ct({ item: e }) {
|
|
|
1054
1052
|
})
|
|
1055
1053
|
}) });
|
|
1056
1054
|
}
|
|
1057
|
-
var
|
|
1058
|
-
base:
|
|
1055
|
+
var J = {
|
|
1056
|
+
base: G`
|
|
1059
1057
|
display: flex;
|
|
1060
1058
|
align-items: center;
|
|
1061
1059
|
gap: .5rem;
|
|
1062
1060
|
`,
|
|
1063
|
-
button:
|
|
1061
|
+
button: G`
|
|
1064
1062
|
display: flex;
|
|
1065
1063
|
align-items: center;
|
|
1066
1064
|
gap: .4rem;
|
|
1067
1065
|
min-height: 2.3rem;
|
|
1068
1066
|
padding: .6rem .8rem;
|
|
1069
1067
|
border-radius: 8px;
|
|
1070
|
-
background-color: ${
|
|
1071
|
-
color: ${
|
|
1068
|
+
background-color: ${K.colors.back.secondary};
|
|
1069
|
+
color: ${K.colors.fore.primary};
|
|
1072
1070
|
letter-spacing: 1px;
|
|
1073
1071
|
font-weight: 500;
|
|
1074
1072
|
white-space: nowrap;
|
|
1075
1073
|
`,
|
|
1076
|
-
iconOnly:
|
|
1074
|
+
iconOnly: G`
|
|
1077
1075
|
width: 2.3rem;
|
|
1078
1076
|
justify-content: center;
|
|
1079
1077
|
`,
|
|
1080
|
-
popup:
|
|
1078
|
+
popup: G`
|
|
1081
1079
|
display: grid;
|
|
1082
1080
|
gap: .125rem;
|
|
1083
1081
|
min-width: 10rem;
|
|
1084
1082
|
`,
|
|
1085
|
-
option:
|
|
1083
|
+
option: G`
|
|
1086
1084
|
display: flex;
|
|
1087
1085
|
align-items: center;
|
|
1088
1086
|
gap: .5rem;
|
|
1089
1087
|
width: 100%;
|
|
1090
1088
|
padding: .6rem .75rem;
|
|
1091
1089
|
border-radius: 7px;
|
|
1092
|
-
color: ${
|
|
1090
|
+
color: ${K.colors.fore.primary};
|
|
1093
1091
|
font-weight: 500;
|
|
1094
1092
|
text-align: left;
|
|
1095
1093
|
white-space: nowrap;
|
|
@@ -1097,63 +1095,63 @@ var Y = {
|
|
|
1097
1095
|
};
|
|
1098
1096
|
//#endregion
|
|
1099
1097
|
//#region src/components/_text.jsx
|
|
1100
|
-
function
|
|
1098
|
+
function ut({ as: e = "span", className: t, size: n = "normal", color: r = K.colors.fore.primary, children: i }) {
|
|
1101
1099
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s(e, {
|
|
1102
|
-
className:
|
|
1100
|
+
className: W(dt.base, dt[n] ?? dt.normal, t),
|
|
1103
1101
|
style: { color: r },
|
|
1104
1102
|
children: i
|
|
1105
1103
|
}) });
|
|
1106
1104
|
}
|
|
1107
|
-
var
|
|
1108
|
-
base:
|
|
1105
|
+
var dt = {
|
|
1106
|
+
base: G`
|
|
1109
1107
|
font-weight: 500;
|
|
1110
1108
|
letter-spacing: 1px;
|
|
1111
1109
|
`,
|
|
1112
|
-
normal:
|
|
1110
|
+
normal: G`
|
|
1113
1111
|
font-size: 1rem;
|
|
1114
1112
|
line-height: 1.125rem;
|
|
1115
1113
|
`,
|
|
1116
|
-
small:
|
|
1114
|
+
small: G`
|
|
1117
1115
|
font-size: .75rem;
|
|
1118
1116
|
line-height: 1rem;
|
|
1119
1117
|
`,
|
|
1120
|
-
tiny:
|
|
1118
|
+
tiny: G`
|
|
1121
1119
|
font-size: .65rem;
|
|
1122
1120
|
line-height: 1rem;
|
|
1123
1121
|
`
|
|
1124
1122
|
};
|
|
1125
1123
|
//#endregion
|
|
1126
1124
|
//#region src/components/_app-wrapper.jsx
|
|
1127
|
-
function
|
|
1125
|
+
function ft({ maxWidth: e = "67.5rem", logo: t, version: n, actions: r = [], children: i }) {
|
|
1128
1126
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("div", {
|
|
1129
|
-
className:
|
|
1127
|
+
className: Y.base,
|
|
1130
1128
|
children: [
|
|
1131
1129
|
/* @__PURE__ */ c("header", {
|
|
1132
|
-
className:
|
|
1130
|
+
className: Y.header,
|
|
1133
1131
|
children: [t && /* @__PURE__ */ s("a", {
|
|
1134
1132
|
href: "/",
|
|
1135
1133
|
children: /* @__PURE__ */ s("img", {
|
|
1136
|
-
className:
|
|
1134
|
+
className: Y.logo,
|
|
1137
1135
|
src: t
|
|
1138
1136
|
})
|
|
1139
|
-
}), r.length > 0 && /* @__PURE__ */ s(
|
|
1137
|
+
}), r.length > 0 && /* @__PURE__ */ s(ct, { items: r })]
|
|
1140
1138
|
}),
|
|
1141
1139
|
/* @__PURE__ */ s("div", {
|
|
1142
|
-
className:
|
|
1140
|
+
className: Y.inner,
|
|
1143
1141
|
style: { maxWidth: e },
|
|
1144
1142
|
children: i
|
|
1145
1143
|
}),
|
|
1146
|
-
n && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c(
|
|
1147
|
-
className:
|
|
1144
|
+
n && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c(ut, {
|
|
1145
|
+
className: Y.version,
|
|
1148
1146
|
size: "small",
|
|
1149
|
-
color:
|
|
1147
|
+
color: K.colors.fore.secondary,
|
|
1150
1148
|
children: ["Version: ", n]
|
|
1151
1149
|
}) })
|
|
1152
1150
|
]
|
|
1153
1151
|
}) });
|
|
1154
1152
|
}
|
|
1155
|
-
var
|
|
1156
|
-
base:
|
|
1153
|
+
var Y = {
|
|
1154
|
+
base: G`
|
|
1157
1155
|
// The template is stretched over the entire viewport, and the vertical
|
|
1158
1156
|
// scrollbar is enabled manually.
|
|
1159
1157
|
// This is necessary so that the modal overlays can cover the scrollbar,
|
|
@@ -1161,30 +1159,30 @@ var X = {
|
|
|
1161
1159
|
// when it's displayed or not.
|
|
1162
1160
|
// Normally, we'd use the body element for this, but the modal overlay
|
|
1163
1161
|
// can't cover the scrollbar of the body element.
|
|
1164
|
-
${
|
|
1162
|
+
${K.extends.stretch}
|
|
1165
1163
|
overflow-y: scroll;
|
|
1166
1164
|
overflow-x: hidden;
|
|
1167
1165
|
scroll-behavior: smooth;
|
|
1168
1166
|
`,
|
|
1169
|
-
header:
|
|
1167
|
+
header: G`
|
|
1170
1168
|
display: flex;
|
|
1171
1169
|
padding: 4rem 5rem;
|
|
1172
1170
|
align-items: center;
|
|
1173
1171
|
justify-content: space-between;
|
|
1174
1172
|
`,
|
|
1175
|
-
logo:
|
|
1173
|
+
logo: G`
|
|
1176
1174
|
display: block;
|
|
1177
1175
|
pointer-events: auto;
|
|
1178
1176
|
display: block;
|
|
1179
1177
|
max-width: 8rem;
|
|
1180
1178
|
max-height: 3rem;
|
|
1181
1179
|
`,
|
|
1182
|
-
inner:
|
|
1180
|
+
inner: G`
|
|
1183
1181
|
position: relative;
|
|
1184
1182
|
padding: 4rem 0;
|
|
1185
1183
|
margin: 0 auto;
|
|
1186
1184
|
`,
|
|
1187
|
-
version:
|
|
1185
|
+
version: G`
|
|
1188
1186
|
position: absolute;
|
|
1189
1187
|
left: 2rem;
|
|
1190
1188
|
bottom: 2rem;
|
|
@@ -1192,26 +1190,26 @@ var X = {
|
|
|
1192
1190
|
};
|
|
1193
1191
|
//#endregion
|
|
1194
1192
|
//#region src/components/_toolbar.jsx
|
|
1195
|
-
function
|
|
1193
|
+
function pt({ items: e = [], side: t = "left", width: r, maxHeight: i }) {
|
|
1196
1194
|
let a = n(null), l = t === "right" ? "rightSide" : "leftSide";
|
|
1197
1195
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("nav", {
|
|
1198
|
-
className:
|
|
1196
|
+
className: X.base,
|
|
1199
1197
|
style: { maxHeight: i },
|
|
1200
1198
|
children: [/* @__PURE__ */ s("div", {
|
|
1201
|
-
className:
|
|
1202
|
-
children: e.map((e, t) => /* @__PURE__ */ s(
|
|
1199
|
+
className: X.buttons,
|
|
1200
|
+
children: e.map((e, t) => /* @__PURE__ */ s(mt, {
|
|
1203
1201
|
item: e,
|
|
1204
1202
|
isOpen: a.value === t,
|
|
1205
1203
|
onToggle: () => a.value = a.value === t ? null : t
|
|
1206
1204
|
}, e.iconName ?? t))
|
|
1207
|
-
}), a.value != null && /* @__PURE__ */ s(
|
|
1205
|
+
}), a.value != null && /* @__PURE__ */ s(ht, {
|
|
1208
1206
|
content: e[a.value]?.content ?? e[a.value]?.children,
|
|
1209
1207
|
side: l,
|
|
1210
1208
|
width: r
|
|
1211
1209
|
})]
|
|
1212
1210
|
}) });
|
|
1213
1211
|
}
|
|
1214
|
-
function
|
|
1212
|
+
function mt({ item: e, isOpen: t, onToggle: n }) {
|
|
1215
1213
|
let r = (e.content ?? e.children) != null;
|
|
1216
1214
|
function i(t) {
|
|
1217
1215
|
if (!r) {
|
|
@@ -1221,33 +1219,33 @@ function pt({ item: e, isOpen: t, onToggle: n }) {
|
|
|
1221
1219
|
t.preventDefault(), n();
|
|
1222
1220
|
}
|
|
1223
1221
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1224
|
-
className:
|
|
1222
|
+
className: X.item,
|
|
1225
1223
|
children: /* @__PURE__ */ s("button", {
|
|
1226
1224
|
type: "button",
|
|
1227
|
-
className:
|
|
1225
|
+
className: W(X.button, t && X.active),
|
|
1228
1226
|
disabled: e.isDisabled,
|
|
1229
1227
|
"is-clickable": !e.isDisabled || void 0,
|
|
1230
1228
|
"is-disabled": e.isDisabled || void 0,
|
|
1231
1229
|
onClick: i,
|
|
1232
|
-
children: /* @__PURE__ */ s(
|
|
1230
|
+
children: /* @__PURE__ */ s(q, {
|
|
1233
1231
|
iconName: e.iconName,
|
|
1234
1232
|
size: "1.5rem"
|
|
1235
1233
|
})
|
|
1236
1234
|
})
|
|
1237
1235
|
}) });
|
|
1238
1236
|
}
|
|
1239
|
-
function
|
|
1237
|
+
function ht({ content: e, side: t, width: n }) {
|
|
1240
1238
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1241
|
-
className:
|
|
1239
|
+
className: W(X.popup, t === "rightSide" ? X.right : X.left),
|
|
1242
1240
|
style: { width: n },
|
|
1243
1241
|
role: "dialog",
|
|
1244
1242
|
children: e
|
|
1245
1243
|
}) });
|
|
1246
1244
|
}
|
|
1247
|
-
var
|
|
1248
|
-
base:
|
|
1245
|
+
var X = {
|
|
1246
|
+
base: G`
|
|
1249
1247
|
position: fixed;
|
|
1250
|
-
z-index: ${
|
|
1248
|
+
z-index: ${K.zIndex.front};
|
|
1251
1249
|
top: 40%;
|
|
1252
1250
|
right: 0;
|
|
1253
1251
|
display: flex;
|
|
@@ -1256,70 +1254,70 @@ var Z = {
|
|
|
1256
1254
|
padding: .5rem;
|
|
1257
1255
|
border-right: 0;
|
|
1258
1256
|
border-radius: 10px 0 0 10px;
|
|
1259
|
-
background-color: ${
|
|
1257
|
+
background-color: ${K.colors.back.primary};
|
|
1260
1258
|
box-shadow: 0 6px 20px rgb(22 24 38 / 10%);
|
|
1261
1259
|
transform: translateY(-50%);
|
|
1262
1260
|
`,
|
|
1263
|
-
buttons:
|
|
1261
|
+
buttons: G`
|
|
1264
1262
|
display: flex;
|
|
1265
1263
|
flex-direction: column;
|
|
1266
1264
|
gap: .5rem;
|
|
1267
1265
|
max-height: inherit;
|
|
1268
1266
|
overflow-y: auto;
|
|
1269
1267
|
`,
|
|
1270
|
-
item:
|
|
1268
|
+
item: G`
|
|
1271
1269
|
position: relative;
|
|
1272
1270
|
`,
|
|
1273
|
-
button:
|
|
1271
|
+
button: G`
|
|
1274
1272
|
display: grid;
|
|
1275
1273
|
width: 2.75rem;
|
|
1276
1274
|
height: 2.75rem;
|
|
1277
1275
|
place-items: center;
|
|
1278
1276
|
border-radius: 8px;
|
|
1279
|
-
color: ${
|
|
1280
|
-
background-color: ${
|
|
1277
|
+
color: ${K.colors.fore.primary};
|
|
1278
|
+
background-color: ${K.colors.back.secondary};
|
|
1281
1279
|
transition: background-color .1s linear, color .1s linear;
|
|
1282
1280
|
`,
|
|
1283
|
-
active:
|
|
1284
|
-
color: ${
|
|
1285
|
-
background-color: ${
|
|
1281
|
+
active: G`
|
|
1282
|
+
color: ${K.colors.fore.primary};
|
|
1283
|
+
background-color: ${K.colors.primary};
|
|
1286
1284
|
`,
|
|
1287
|
-
popup:
|
|
1285
|
+
popup: G`
|
|
1288
1286
|
position: absolute;
|
|
1289
|
-
z-index: ${
|
|
1287
|
+
z-index: ${K.zIndex.front + 1};
|
|
1290
1288
|
top: .5rem;
|
|
1291
1289
|
min-width: 12rem;
|
|
1292
1290
|
max-width: calc(100vw - 2rem);
|
|
1293
1291
|
padding: 2rem 1.5rem;
|
|
1294
1292
|
border: solid 1px #e5e7e9;
|
|
1295
1293
|
border-radius: 10px;
|
|
1296
|
-
color: ${
|
|
1297
|
-
background-color: ${
|
|
1294
|
+
color: ${K.colors.fore.primary};
|
|
1295
|
+
background-color: ${K.colors.back.primary};
|
|
1298
1296
|
box-shadow: 0 6px 20px rgb(22 24 38 / 10%);
|
|
1299
|
-
font-family: ${
|
|
1297
|
+
font-family: ${K.fontFamily}, sans-serif;
|
|
1300
1298
|
`,
|
|
1301
|
-
left:
|
|
1299
|
+
left: G`
|
|
1302
1300
|
right: calc(100% + 1rem);
|
|
1303
1301
|
`,
|
|
1304
|
-
right:
|
|
1302
|
+
right: G`
|
|
1305
1303
|
left: calc(100% + 1rem);
|
|
1306
1304
|
`
|
|
1307
|
-
},
|
|
1308
|
-
className:
|
|
1305
|
+
}, gt = ({ type: e = "normal", width: t = "100%", value: n = 0 }) => /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1306
|
+
className: _t.base,
|
|
1309
1307
|
style: { width: t },
|
|
1310
1308
|
children: /* @__PURE__ */ s("div", {
|
|
1311
|
-
className:
|
|
1309
|
+
className: W(_t.value, _t[e] ?? _t.normal),
|
|
1312
1310
|
style: { width: `${n}%` }
|
|
1313
1311
|
})
|
|
1314
|
-
}) }),
|
|
1315
|
-
base:
|
|
1312
|
+
}) }), _t = {
|
|
1313
|
+
base: G`
|
|
1316
1314
|
position: relative;
|
|
1317
1315
|
border-radius: 16px;
|
|
1318
1316
|
height: .625rem;
|
|
1319
|
-
border: solid 1px ${
|
|
1320
|
-
background-color: ${
|
|
1317
|
+
border: solid 1px ${K.colors.border};
|
|
1318
|
+
background-color: ${K.colors.back.secondary};
|
|
1321
1319
|
`,
|
|
1322
|
-
value:
|
|
1320
|
+
value: G`
|
|
1323
1321
|
position: absolute;
|
|
1324
1322
|
top: -1px;
|
|
1325
1323
|
bottom: -1px;
|
|
@@ -1328,24 +1326,24 @@ var Z = {
|
|
|
1328
1326
|
will-change: width;
|
|
1329
1327
|
transition: width .3s ease;
|
|
1330
1328
|
`,
|
|
1331
|
-
normal:
|
|
1332
|
-
border: solid 1px ${e(
|
|
1333
|
-
background-color: ${
|
|
1329
|
+
normal: G`
|
|
1330
|
+
border: solid 1px ${e(K.colors.primary, .3)};
|
|
1331
|
+
background-color: ${K.colors.primary};
|
|
1334
1332
|
`,
|
|
1335
|
-
warn:
|
|
1336
|
-
border: solid 1px ${e(
|
|
1337
|
-
background-color: ${
|
|
1333
|
+
warn: G`
|
|
1334
|
+
border: solid 1px ${e(K.colors.secondary, .2)};
|
|
1335
|
+
background-color: ${K.colors.secondary};
|
|
1338
1336
|
`,
|
|
1339
|
-
danger:
|
|
1340
|
-
border: solid 1px ${e(
|
|
1341
|
-
background-color: ${
|
|
1337
|
+
danger: G`
|
|
1338
|
+
border: solid 1px ${e(K.colors.danger, .3)};
|
|
1339
|
+
background-color: ${K.colors.danger};
|
|
1342
1340
|
`
|
|
1343
1341
|
};
|
|
1344
1342
|
//#endregion
|
|
1345
1343
|
//#region src/components/_box.jsx
|
|
1346
|
-
function
|
|
1344
|
+
function vt({ type: e = "normal", className: t, width: n, height: r, children: i }) {
|
|
1347
1345
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1348
|
-
className:
|
|
1346
|
+
className: W(yt.base, yt[e] ?? yt.normal, t),
|
|
1349
1347
|
style: {
|
|
1350
1348
|
width: n,
|
|
1351
1349
|
height: r
|
|
@@ -1353,24 +1351,24 @@ function _t({ type: e = "normal", className: t, width: n, height: r, children: i
|
|
|
1353
1351
|
children: i
|
|
1354
1352
|
}) });
|
|
1355
1353
|
}
|
|
1356
|
-
var
|
|
1357
|
-
base:
|
|
1354
|
+
var yt = {
|
|
1355
|
+
base: G`
|
|
1358
1356
|
position: relative;
|
|
1359
1357
|
border-radius: 18px;
|
|
1360
1358
|
border: solid 2px #eee;
|
|
1361
1359
|
padding: 1.875rem 1.25rem;
|
|
1362
|
-
box-shadow: ${
|
|
1360
|
+
box-shadow: ${K.colors.shadow.primary};
|
|
1363
1361
|
`,
|
|
1364
|
-
normal:
|
|
1365
|
-
background-color: ${
|
|
1362
|
+
normal: G`
|
|
1363
|
+
background-color: ${K.colors.back.primary};
|
|
1366
1364
|
`,
|
|
1367
|
-
alternative:
|
|
1365
|
+
alternative: G`
|
|
1368
1366
|
background-color: #fafafa;
|
|
1369
1367
|
`
|
|
1370
1368
|
};
|
|
1371
1369
|
//#endregion
|
|
1372
1370
|
//#region src/components/_button.jsx
|
|
1373
|
-
function
|
|
1371
|
+
function bt({ type: e = "primary", label: t, iconName: r, isDisabled: i = !1, isLoading: a = !1, onClick: l }) {
|
|
1374
1372
|
let u = r || a, d = n(null);
|
|
1375
1373
|
function f(e) {
|
|
1376
1374
|
if (i || a) return;
|
|
@@ -1384,7 +1382,7 @@ function yt({ type: e = "primary", label: t, iconName: r, isDisabled: i = !1, is
|
|
|
1384
1382
|
}
|
|
1385
1383
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("button", {
|
|
1386
1384
|
type: "button",
|
|
1387
|
-
className:
|
|
1385
|
+
className: W(St.base, St[e] ?? St.normal),
|
|
1388
1386
|
"has-icon": u,
|
|
1389
1387
|
"is-disabled": i || void 0,
|
|
1390
1388
|
"is-loading": a || void 0,
|
|
@@ -1393,19 +1391,19 @@ function yt({ type: e = "primary", label: t, iconName: r, isDisabled: i = !1, is
|
|
|
1393
1391
|
onClick: f,
|
|
1394
1392
|
children: [
|
|
1395
1393
|
u && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1396
|
-
className:
|
|
1397
|
-
${
|
|
1394
|
+
className: G`
|
|
1395
|
+
${K.extends.verticalCenter}
|
|
1398
1396
|
|
|
1399
1397
|
left: .6rem;
|
|
1400
1398
|
`,
|
|
1401
|
-
children: a ? /* @__PURE__ */ s(
|
|
1399
|
+
children: a ? /* @__PURE__ */ s(q, {
|
|
1402
1400
|
iconName: "loader",
|
|
1403
1401
|
isSpinning: !0
|
|
1404
|
-
}) : /* @__PURE__ */ s(
|
|
1402
|
+
}) : /* @__PURE__ */ s(q, { iconName: r })
|
|
1405
1403
|
}) }),
|
|
1406
1404
|
t,
|
|
1407
1405
|
d.value && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("span", {
|
|
1408
|
-
className:
|
|
1406
|
+
className: St.ripple,
|
|
1409
1407
|
style: {
|
|
1410
1408
|
left: d.value.x,
|
|
1411
1409
|
top: d.value.y,
|
|
@@ -1417,7 +1415,7 @@ function yt({ type: e = "primary", label: t, iconName: r, isDisabled: i = !1, is
|
|
|
1417
1415
|
]
|
|
1418
1416
|
}) });
|
|
1419
1417
|
}
|
|
1420
|
-
var
|
|
1418
|
+
var xt = tt`
|
|
1421
1419
|
from {
|
|
1422
1420
|
opacity: .4;
|
|
1423
1421
|
transform: translate(-50%, -50%) scale(0);
|
|
@@ -1427,8 +1425,8 @@ var bt = et`
|
|
|
1427
1425
|
opacity: 0;
|
|
1428
1426
|
transform: translate(-50%, -50%) scale(1);
|
|
1429
1427
|
}
|
|
1430
|
-
`,
|
|
1431
|
-
base:
|
|
1428
|
+
`, St = {
|
|
1429
|
+
base: G`
|
|
1432
1430
|
font-size: .9rem;
|
|
1433
1431
|
display: inline-block;
|
|
1434
1432
|
position: relative;
|
|
@@ -1440,7 +1438,7 @@ var bt = et`
|
|
|
1440
1438
|
border-radius: 12px;
|
|
1441
1439
|
will-change: transform, border;
|
|
1442
1440
|
transition: transform .1s linear, border .1s linear;
|
|
1443
|
-
font-family: ${
|
|
1441
|
+
font-family: ${K.fontFamily}, sans-serif;
|
|
1444
1442
|
|
|
1445
1443
|
&:active {
|
|
1446
1444
|
transform: translateY(2px);
|
|
@@ -1449,30 +1447,30 @@ var bt = et`
|
|
|
1449
1447
|
|
|
1450
1448
|
&[has-icon] { padding-left: 2rem; }
|
|
1451
1449
|
`,
|
|
1452
|
-
primary:
|
|
1453
|
-
color: ${e(
|
|
1454
|
-
border-bottom: solid 3px ${e(
|
|
1455
|
-
background-color: ${
|
|
1450
|
+
primary: G`
|
|
1451
|
+
color: ${e(K.colors.primary, .5)};
|
|
1452
|
+
border-bottom: solid 3px ${e(K.colors.primary, .25)};
|
|
1453
|
+
background-color: ${K.colors.primary};
|
|
1456
1454
|
`,
|
|
1457
|
-
secondary:
|
|
1458
|
-
color: ${e(
|
|
1459
|
-
border-bottom: solid 3px ${e(
|
|
1460
|
-
background-color: ${
|
|
1455
|
+
secondary: G`
|
|
1456
|
+
color: ${e(K.colors.secondary, .5)};
|
|
1457
|
+
border-bottom: solid 3px ${e(K.colors.secondary, .25)};
|
|
1458
|
+
background-color: ${K.colors.secondary};
|
|
1461
1459
|
`,
|
|
1462
|
-
ripple:
|
|
1460
|
+
ripple: G`
|
|
1463
1461
|
position: absolute;
|
|
1464
1462
|
z-index: 1;
|
|
1465
1463
|
border-radius: 50%;
|
|
1466
1464
|
pointer-events: none;
|
|
1467
1465
|
background-color: currentColor;
|
|
1468
|
-
animation: ${
|
|
1466
|
+
animation: ${xt} .5s ease-out forwards;
|
|
1469
1467
|
`
|
|
1470
1468
|
};
|
|
1471
1469
|
//#endregion
|
|
1472
1470
|
//#region src/components/_layout.jsx
|
|
1473
|
-
function
|
|
1471
|
+
function Ct({ className: e, height: t, direction: n = "row", justify: r, align: i, gap: a, children: c }) {
|
|
1474
1472
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1475
|
-
className:
|
|
1473
|
+
className: W(wt.base, e),
|
|
1476
1474
|
style: {
|
|
1477
1475
|
height: t,
|
|
1478
1476
|
flexDirection: n,
|
|
@@ -1483,33 +1481,33 @@ function St({ className: e, height: t, direction: n = "row", justify: r, align:
|
|
|
1483
1481
|
children: c
|
|
1484
1482
|
}) });
|
|
1485
1483
|
}
|
|
1486
|
-
var
|
|
1484
|
+
var wt = { base: G`
|
|
1487
1485
|
display: flex;
|
|
1488
1486
|
` };
|
|
1489
1487
|
//#endregion
|
|
1490
1488
|
//#region src/components/_headline.jsx
|
|
1491
|
-
function
|
|
1489
|
+
function Tt({ as: e = "h2", className: t, size: n = "normal", color: r = K.colors.fore.primary, children: i }) {
|
|
1492
1490
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s(e, {
|
|
1493
|
-
className:
|
|
1491
|
+
className: W(Et.base, Et[n] ?? Et.normal, t),
|
|
1494
1492
|
style: { color: r },
|
|
1495
1493
|
children: i
|
|
1496
1494
|
}) });
|
|
1497
1495
|
}
|
|
1498
|
-
var
|
|
1499
|
-
base:
|
|
1496
|
+
var Et = {
|
|
1497
|
+
base: G`
|
|
1500
1498
|
letter-spacing: 1px;
|
|
1501
1499
|
`,
|
|
1502
|
-
normal:
|
|
1500
|
+
normal: G`
|
|
1503
1501
|
font-weight: 500;
|
|
1504
1502
|
font-size: 1rem;
|
|
1505
1503
|
line-height: 1.2rem;
|
|
1506
1504
|
`,
|
|
1507
|
-
large:
|
|
1505
|
+
large: G`
|
|
1508
1506
|
font-weight: 600;
|
|
1509
1507
|
font-size: 1.4rem;
|
|
1510
1508
|
line-height: 1.2;
|
|
1511
1509
|
`,
|
|
1512
|
-
small:
|
|
1510
|
+
small: G`
|
|
1513
1511
|
font-weight: 500;
|
|
1514
1512
|
font-size: .9rem;
|
|
1515
1513
|
line-height: 1.2rem;
|
|
@@ -1517,7 +1515,7 @@ var Tt = {
|
|
|
1517
1515
|
};
|
|
1518
1516
|
//#endregion
|
|
1519
1517
|
//#region src/components/_space.jsx
|
|
1520
|
-
function
|
|
1518
|
+
function Dt({ size: e = 1 }) {
|
|
1521
1519
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1522
1520
|
"aria-hidden": "true",
|
|
1523
1521
|
style: {
|
|
@@ -1528,23 +1526,23 @@ function Et({ size: e = 1 }) {
|
|
|
1528
1526
|
}
|
|
1529
1527
|
//#endregion
|
|
1530
1528
|
//#region src/components/_text-field.jsx
|
|
1531
|
-
function
|
|
1529
|
+
function Ot({ placeholder: e, value: t, width: r, isDisabled: a, onChange: l }) {
|
|
1532
1530
|
let u = i(), d = n(t);
|
|
1533
1531
|
function f({ target: e }) {
|
|
1534
1532
|
d.value = e.value, l?.(d.value);
|
|
1535
1533
|
}
|
|
1536
1534
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("div", {
|
|
1537
|
-
className:
|
|
1535
|
+
className: kt.base,
|
|
1538
1536
|
style: { width: r },
|
|
1539
1537
|
"is-disabled": a,
|
|
1540
1538
|
children: [!d.value && e && /* @__PURE__ */ s("label", {
|
|
1541
|
-
className:
|
|
1539
|
+
className: kt.label,
|
|
1542
1540
|
htmlFor: u,
|
|
1543
1541
|
children: e
|
|
1544
1542
|
}), /* @__PURE__ */ s("input", {
|
|
1545
1543
|
id: u,
|
|
1546
1544
|
name: u,
|
|
1547
|
-
className:
|
|
1545
|
+
className: kt.input,
|
|
1548
1546
|
value: d.value,
|
|
1549
1547
|
disabled: a,
|
|
1550
1548
|
autocomplete: "off",
|
|
@@ -1552,11 +1550,11 @@ function Dt({ placeholder: e, value: t, width: r, isDisabled: a, onChange: l })
|
|
|
1552
1550
|
})]
|
|
1553
1551
|
}) });
|
|
1554
1552
|
}
|
|
1555
|
-
var
|
|
1556
|
-
base:
|
|
1553
|
+
var kt = {
|
|
1554
|
+
base: G`
|
|
1557
1555
|
position: relative;
|
|
1558
1556
|
`,
|
|
1559
|
-
label:
|
|
1557
|
+
label: G`
|
|
1560
1558
|
font-size: .875rem;
|
|
1561
1559
|
font-weight: 500;
|
|
1562
1560
|
opacity: .5;
|
|
@@ -1565,10 +1563,10 @@ var Ot = {
|
|
|
1565
1563
|
top: .75rem;
|
|
1566
1564
|
pointer-events: none;
|
|
1567
1565
|
letter-spacing: 1px;
|
|
1568
|
-
font-family: ${
|
|
1569
|
-
color: ${
|
|
1566
|
+
font-family: ${K.fontFamily}, sans-serif;
|
|
1567
|
+
color: ${K.colors.fore.primary};
|
|
1570
1568
|
`,
|
|
1571
|
-
input:
|
|
1569
|
+
input: G`
|
|
1572
1570
|
font-size: .875rem;
|
|
1573
1571
|
font-weight: 500;
|
|
1574
1572
|
color: rgb(58, 58, 58);
|
|
@@ -1579,14 +1577,14 @@ var Ot = {
|
|
|
1579
1577
|
width: 100%;
|
|
1580
1578
|
border-radius: 8px;
|
|
1581
1579
|
letter-spacing: 1px;
|
|
1582
|
-
font-family: ${
|
|
1583
|
-
color: ${
|
|
1584
|
-
background-color: ${
|
|
1580
|
+
font-family: ${K.fontFamily}, sans-serif;
|
|
1581
|
+
color: ${K.colors.fore.primary};
|
|
1582
|
+
background-color: ${K.colors.back.secondary};
|
|
1585
1583
|
`
|
|
1586
1584
|
};
|
|
1587
1585
|
//#endregion
|
|
1588
1586
|
//#region src/components/_dropdown.jsx
|
|
1589
|
-
function
|
|
1587
|
+
function At({ items: e = [], value: t, width: l, isDisabled: u = !1, onChange: d }) {
|
|
1590
1588
|
let f = i(), p = a(null), m = a(null), h = a([]), g = n(t ?? e[0]?.value ?? ""), _ = n(!1), v = e.findIndex((e) => e.value === g.value), y = e[v] ?? e[0], b = u || e.length === 0;
|
|
1591
1589
|
r(() => {
|
|
1592
1590
|
t !== void 0 && (g.value = t);
|
|
@@ -1644,7 +1642,7 @@ function kt({ items: e = [], value: t, width: l, isDisabled: u = !1, onChange: d
|
|
|
1644
1642
|
let ne = /* @__PURE__ */ c("button", {
|
|
1645
1643
|
ref: m,
|
|
1646
1644
|
type: "button",
|
|
1647
|
-
className:
|
|
1645
|
+
className: Z.trigger,
|
|
1648
1646
|
style: { width: l },
|
|
1649
1647
|
role: "combobox",
|
|
1650
1648
|
"aria-controls": f,
|
|
@@ -1655,19 +1653,19 @@ function kt({ items: e = [], value: t, width: l, isDisabled: u = !1, onChange: d
|
|
|
1655
1653
|
onKeyDown: ee,
|
|
1656
1654
|
children: [
|
|
1657
1655
|
/* @__PURE__ */ s("span", {
|
|
1658
|
-
className:
|
|
1656
|
+
className: Z.sizer,
|
|
1659
1657
|
"aria-hidden": "true",
|
|
1660
1658
|
children: e.map((e) => /* @__PURE__ */ s("span", {
|
|
1661
|
-
className:
|
|
1659
|
+
className: Z.sizerValue,
|
|
1662
1660
|
children: e.label
|
|
1663
1661
|
}, e.value))
|
|
1664
1662
|
}),
|
|
1665
1663
|
/* @__PURE__ */ s("span", {
|
|
1666
|
-
className:
|
|
1664
|
+
className: Z.label,
|
|
1667
1665
|
children: y?.label
|
|
1668
1666
|
}),
|
|
1669
|
-
/* @__PURE__ */ s(
|
|
1670
|
-
className:
|
|
1667
|
+
/* @__PURE__ */ s(q, {
|
|
1668
|
+
className: W(Z.icon, _.value && Z.iconOpen),
|
|
1671
1669
|
iconName: "down",
|
|
1672
1670
|
size: "1rem"
|
|
1673
1671
|
})
|
|
@@ -1675,10 +1673,10 @@ function kt({ items: e = [], value: t, width: l, isDisabled: u = !1, onChange: d
|
|
|
1675
1673
|
});
|
|
1676
1674
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1677
1675
|
ref: p,
|
|
1678
|
-
className:
|
|
1676
|
+
className: Z.base,
|
|
1679
1677
|
"is-disabled": b || void 0,
|
|
1680
|
-
children: /* @__PURE__ */ s(
|
|
1681
|
-
className:
|
|
1678
|
+
children: /* @__PURE__ */ s(ot, {
|
|
1679
|
+
className: Z.popup,
|
|
1682
1680
|
trigger: ne,
|
|
1683
1681
|
id: f,
|
|
1684
1682
|
isOpen: _.value,
|
|
@@ -1687,7 +1685,7 @@ function kt({ items: e = [], value: t, width: l, isDisabled: u = !1, onChange: d
|
|
|
1687
1685
|
children: e.map((e, t) => /* @__PURE__ */ s("button", {
|
|
1688
1686
|
ref: (e) => h.current[t] = e,
|
|
1689
1687
|
type: "button",
|
|
1690
|
-
className:
|
|
1688
|
+
className: Z.option,
|
|
1691
1689
|
role: "option",
|
|
1692
1690
|
"aria-selected": e.value === g.value,
|
|
1693
1691
|
onClick: () => T(e),
|
|
@@ -1697,11 +1695,11 @@ function kt({ items: e = [], value: t, width: l, isDisabled: u = !1, onChange: d
|
|
|
1697
1695
|
})
|
|
1698
1696
|
}) });
|
|
1699
1697
|
}
|
|
1700
|
-
var
|
|
1701
|
-
base:
|
|
1698
|
+
var Z = {
|
|
1699
|
+
base: G`
|
|
1702
1700
|
display: inline-block;
|
|
1703
1701
|
`,
|
|
1704
|
-
trigger:
|
|
1702
|
+
trigger: G`
|
|
1705
1703
|
display: inline-grid;
|
|
1706
1704
|
position: relative;
|
|
1707
1705
|
align-items: center;
|
|
@@ -1714,47 +1712,47 @@ var Q = {
|
|
|
1714
1712
|
font-size: .875rem;
|
|
1715
1713
|
font-weight: 500;
|
|
1716
1714
|
letter-spacing: 1px;
|
|
1717
|
-
color: ${
|
|
1718
|
-
background-color: ${
|
|
1719
|
-
font-family: ${
|
|
1715
|
+
color: ${K.colors.fore.primary};
|
|
1716
|
+
background-color: ${K.colors.back.secondary};
|
|
1717
|
+
font-family: ${K.fontFamily}, sans-serif;
|
|
1720
1718
|
|
|
1721
1719
|
&:focus-visible {
|
|
1722
|
-
box-shadow: 0 0 0 2px ${
|
|
1720
|
+
box-shadow: 0 0 0 2px ${K.colors.primary};
|
|
1723
1721
|
}
|
|
1724
1722
|
|
|
1725
1723
|
&:disabled { cursor: default; }
|
|
1726
1724
|
`,
|
|
1727
|
-
sizer:
|
|
1725
|
+
sizer: G`
|
|
1728
1726
|
display: inline-grid;
|
|
1729
1727
|
visibility: hidden;
|
|
1730
1728
|
grid-area: 1 / 1;
|
|
1731
1729
|
`,
|
|
1732
|
-
sizerValue:
|
|
1730
|
+
sizerValue: G`
|
|
1733
1731
|
grid-area: 1 / 1;
|
|
1734
1732
|
white-space: nowrap;
|
|
1735
1733
|
`,
|
|
1736
|
-
label:
|
|
1734
|
+
label: G`
|
|
1737
1735
|
grid-area: 1 / 1;
|
|
1738
1736
|
overflow: hidden;
|
|
1739
1737
|
white-space: nowrap;
|
|
1740
1738
|
text-overflow: ellipsis;
|
|
1741
1739
|
`,
|
|
1742
|
-
icon:
|
|
1743
|
-
${
|
|
1740
|
+
icon: G`
|
|
1741
|
+
${K.extends.verticalCenter}
|
|
1744
1742
|
|
|
1745
1743
|
right: .75rem;
|
|
1746
1744
|
pointer-events: none;
|
|
1747
1745
|
`,
|
|
1748
|
-
iconOpen:
|
|
1746
|
+
iconOpen: G`
|
|
1749
1747
|
transform: translateY(-50%) rotate(180deg);
|
|
1750
1748
|
`,
|
|
1751
|
-
popup:
|
|
1749
|
+
popup: G`
|
|
1752
1750
|
display: grid;
|
|
1753
1751
|
gap: .125rem;
|
|
1754
1752
|
min-width: 0;
|
|
1755
1753
|
padding: .25rem;
|
|
1756
1754
|
`,
|
|
1757
|
-
option:
|
|
1755
|
+
option: G`
|
|
1758
1756
|
width: 100%;
|
|
1759
1757
|
padding: .6rem .75rem;
|
|
1760
1758
|
border-radius: 7px;
|
|
@@ -1762,17 +1760,17 @@ var Q = {
|
|
|
1762
1760
|
text-align: left;
|
|
1763
1761
|
white-space: nowrap;
|
|
1764
1762
|
font-size: .825rem;
|
|
1765
|
-
color: ${
|
|
1766
|
-
font-family: ${
|
|
1763
|
+
color: ${K.colors.fore.primary};
|
|
1764
|
+
font-family: ${K.fontFamily}, sans-serif;
|
|
1767
1765
|
|
|
1768
1766
|
&:hover,
|
|
1769
1767
|
&:focus-visible,
|
|
1770
1768
|
&[aria-selected="true"] {
|
|
1771
|
-
background-color: ${
|
|
1769
|
+
background-color: ${K.colors.back.secondary};
|
|
1772
1770
|
}
|
|
1773
1771
|
`
|
|
1774
|
-
},
|
|
1775
|
-
function
|
|
1772
|
+
}, jt = 28, Mt = 3, Nt = 11;
|
|
1773
|
+
function Pt({ label: e, isChecked: t, isDisabled: a, onChange: l }) {
|
|
1776
1774
|
let u = i(), d = n(t);
|
|
1777
1775
|
r(() => d.value = t, [t]);
|
|
1778
1776
|
function f() {
|
|
@@ -1780,10 +1778,10 @@ function Nt({ label: e, isChecked: t, isDisabled: a, onChange: l }) {
|
|
|
1780
1778
|
d.value = e, l?.(e);
|
|
1781
1779
|
}
|
|
1782
1780
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("div", {
|
|
1783
|
-
className:
|
|
1781
|
+
className: Ft.base,
|
|
1784
1782
|
children: [
|
|
1785
1783
|
/* @__PURE__ */ s("label", {
|
|
1786
|
-
className:
|
|
1784
|
+
className: Ft.label,
|
|
1787
1785
|
htmlFor: u,
|
|
1788
1786
|
"is-disabled": a,
|
|
1789
1787
|
children: e
|
|
@@ -1791,48 +1789,48 @@ function Nt({ label: e, isChecked: t, isDisabled: a, onChange: l }) {
|
|
|
1791
1789
|
/* @__PURE__ */ s("input", {
|
|
1792
1790
|
id: u,
|
|
1793
1791
|
type: "checkbox",
|
|
1794
|
-
className:
|
|
1792
|
+
className: Ft.checkbox,
|
|
1795
1793
|
checked: d.value,
|
|
1796
1794
|
disabled: a,
|
|
1797
1795
|
onChange: f
|
|
1798
1796
|
}),
|
|
1799
1797
|
/* @__PURE__ */ s("label", {
|
|
1800
|
-
className:
|
|
1798
|
+
className: Ft.value,
|
|
1801
1799
|
htmlFor: u,
|
|
1802
1800
|
"is-disabled": a
|
|
1803
1801
|
})
|
|
1804
1802
|
]
|
|
1805
1803
|
}) });
|
|
1806
1804
|
}
|
|
1807
|
-
var
|
|
1808
|
-
base:
|
|
1805
|
+
var Ft = {
|
|
1806
|
+
base: G`
|
|
1809
1807
|
position: relative;
|
|
1810
1808
|
display: flex;
|
|
1811
1809
|
gap: .5rem;
|
|
1812
1810
|
`,
|
|
1813
|
-
label:
|
|
1811
|
+
label: G`
|
|
1814
1812
|
display: inline-block;
|
|
1815
1813
|
font-size: .75rem;
|
|
1816
1814
|
line-height: 1.2rem;
|
|
1817
1815
|
cursor: pointer;
|
|
1818
1816
|
user-select: none;
|
|
1819
1817
|
font-weight: 500;
|
|
1820
|
-
font-family: ${
|
|
1821
|
-
color: ${
|
|
1818
|
+
font-family: ${K.fontFamily}, sans-serif;
|
|
1819
|
+
color: ${K.colors.fore.secondary};
|
|
1822
1820
|
`,
|
|
1823
|
-
checkbox:
|
|
1821
|
+
checkbox: G`
|
|
1824
1822
|
display: none;
|
|
1825
1823
|
|
|
1826
1824
|
&:checked ~ label {
|
|
1827
1825
|
background-color: #e1e1e1;
|
|
1828
1826
|
|
|
1829
1827
|
&:before {
|
|
1830
|
-
right: ${
|
|
1828
|
+
right: ${Mt}px;
|
|
1831
1829
|
background-color: #3a3a3a;
|
|
1832
1830
|
}
|
|
1833
1831
|
}
|
|
1834
1832
|
`,
|
|
1835
|
-
value:
|
|
1833
|
+
value: G`
|
|
1836
1834
|
display: inline-block;
|
|
1837
1835
|
position: relative;
|
|
1838
1836
|
height: 1.1rem;
|
|
@@ -1840,8 +1838,8 @@ var Pt = {
|
|
|
1840
1838
|
cursor: pointer;
|
|
1841
1839
|
user-select: none;
|
|
1842
1840
|
transition: background .3s ease;
|
|
1843
|
-
width: ${
|
|
1844
|
-
background-color: ${
|
|
1841
|
+
width: ${jt}px;
|
|
1842
|
+
background-color: ${K.colors.back.secondary};
|
|
1845
1843
|
|
|
1846
1844
|
&:before {
|
|
1847
1845
|
background-color: #e1e1e1;
|
|
@@ -1850,22 +1848,22 @@ var Pt = {
|
|
|
1850
1848
|
position: absolute;
|
|
1851
1849
|
transition: background .3s ease, right .3s ease;
|
|
1852
1850
|
border-radius: 50%;
|
|
1853
|
-
top: ${
|
|
1851
|
+
top: ${Mt}px;
|
|
1854
1852
|
right: ${14}px;
|
|
1855
|
-
width: ${
|
|
1856
|
-
height: ${
|
|
1853
|
+
width: ${Nt}px;
|
|
1854
|
+
height: ${Nt}px;
|
|
1857
1855
|
}
|
|
1858
1856
|
`
|
|
1859
1857
|
};
|
|
1860
1858
|
//#endregion
|
|
1861
1859
|
//#region src/components/_tag.jsx
|
|
1862
|
-
function
|
|
1860
|
+
function It({ className: e, variant: n = "normal", iconName: r = "", label: i }) {
|
|
1863
1861
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("div", {
|
|
1864
|
-
className:
|
|
1862
|
+
className: W(Lt.base, Lt[n] ?? Lt.normal, e),
|
|
1865
1863
|
"has-icon": !t(r),
|
|
1866
|
-
children: [r && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s(
|
|
1867
|
-
className:
|
|
1868
|
-
${
|
|
1864
|
+
children: [r && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s(q, {
|
|
1865
|
+
className: G`
|
|
1866
|
+
${K.extends.verticalCenter}
|
|
1869
1867
|
left: .3rem;
|
|
1870
1868
|
`,
|
|
1871
1869
|
iconName: r,
|
|
@@ -1873,7 +1871,7 @@ function Ft({ className: e, variant: n = "normal", iconName: r = "", label: i })
|
|
|
1873
1871
|
}) }), i]
|
|
1874
1872
|
}) });
|
|
1875
1873
|
}
|
|
1876
|
-
var
|
|
1874
|
+
var Lt = { base: G`
|
|
1877
1875
|
position: relative;
|
|
1878
1876
|
display: inline-block;
|
|
1879
1877
|
padding: .3rem .5rem;
|
|
@@ -1881,48 +1879,48 @@ var It = { base: K`
|
|
|
1881
1879
|
white-space: pre-wrap;
|
|
1882
1880
|
font-size: .7rem;
|
|
1883
1881
|
font-weight: 600;
|
|
1884
|
-
border: solid 1px ${
|
|
1885
|
-
background-color: ${
|
|
1886
|
-
color: ${
|
|
1882
|
+
border: solid 1px ${K.colors.border};
|
|
1883
|
+
background-color: ${K.colors.back.secondary};
|
|
1884
|
+
color: ${K.colors.fore.primary};
|
|
1887
1885
|
|
|
1888
1886
|
&[has-icon="true"] { padding-left: 1.5rem; }
|
|
1889
1887
|
` };
|
|
1890
1888
|
//#endregion
|
|
1891
1889
|
//#region src/components/_icon-button.jsx
|
|
1892
|
-
function
|
|
1890
|
+
function Rt({ iconName: e, color: t, isDisabled: n, onClick: r }) {
|
|
1893
1891
|
function i(e) {
|
|
1894
1892
|
n || (e.stopPropagation(), e.preventDefault(), r?.(e));
|
|
1895
1893
|
}
|
|
1896
1894
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("button", {
|
|
1897
|
-
className:
|
|
1895
|
+
className: zt.base,
|
|
1898
1896
|
"is-disabled": n || void 0,
|
|
1899
1897
|
"is-clickable": !!r || void 0,
|
|
1900
1898
|
disabled: n,
|
|
1901
1899
|
onClick: i,
|
|
1902
|
-
children: /* @__PURE__ */ s(
|
|
1900
|
+
children: /* @__PURE__ */ s(q, {
|
|
1903
1901
|
color: t,
|
|
1904
|
-
className:
|
|
1902
|
+
className: G`${K.extends.centrate}`,
|
|
1905
1903
|
iconName: e,
|
|
1906
1904
|
isDisabled: n
|
|
1907
1905
|
})
|
|
1908
1906
|
}) });
|
|
1909
1907
|
}
|
|
1910
|
-
var
|
|
1908
|
+
var zt = { base: G`
|
|
1911
1909
|
position: relative;
|
|
1912
1910
|
width: 2.25rem;
|
|
1913
1911
|
height: 2.25rem;
|
|
1914
1912
|
border-radius: 8px;
|
|
1915
|
-
background-color: ${
|
|
1913
|
+
background-color: ${K.colors.back.secondary};
|
|
1916
1914
|
` };
|
|
1917
1915
|
//#endregion
|
|
1918
1916
|
//#region src/components/_counter.jsx
|
|
1919
|
-
function
|
|
1917
|
+
function Bt({ value: e }) {
|
|
1920
1918
|
return e == null ? /* @__PURE__ */ s(o, {}) : /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("span", {
|
|
1921
|
-
className:
|
|
1919
|
+
className: Vt.base,
|
|
1922
1920
|
children: e
|
|
1923
1921
|
}) });
|
|
1924
1922
|
}
|
|
1925
|
-
var
|
|
1923
|
+
var Vt = { base: G`
|
|
1926
1924
|
display: inline-flex;
|
|
1927
1925
|
align-items: center;
|
|
1928
1926
|
justify-content: center;
|
|
@@ -1930,7 +1928,7 @@ var Bt = { base: K`
|
|
|
1930
1928
|
height: 1.2rem;
|
|
1931
1929
|
padding: 0 .2rem;
|
|
1932
1930
|
border-radius: 50%;
|
|
1933
|
-
color: ${
|
|
1931
|
+
color: ${K.colors.fore.primary};
|
|
1934
1932
|
background-color: #e1e1e1;
|
|
1935
1933
|
font-size: .7rem;
|
|
1936
1934
|
font-weight: 700;
|
|
@@ -1938,23 +1936,23 @@ var Bt = { base: K`
|
|
|
1938
1936
|
` };
|
|
1939
1937
|
//#endregion
|
|
1940
1938
|
//#region src/components/_tab-box.jsx
|
|
1941
|
-
function
|
|
1939
|
+
function Ht({ className: e, width: t, height: r, initialIndex: a = 0, items: l = [], onChange: u }) {
|
|
1942
1940
|
let d = i(), f = Math.max(l.length - 1, 0), p = n(Math.min(Math.max(a, 0), f)), m = Math.min(p.value, f);
|
|
1943
1941
|
function h(e) {
|
|
1944
1942
|
e !== m && (p.value = e, u?.(e, l[e]));
|
|
1945
1943
|
}
|
|
1946
1944
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("div", {
|
|
1947
|
-
className:
|
|
1945
|
+
className: W(Q.base, e),
|
|
1948
1946
|
style: { width: t },
|
|
1949
|
-
children: [/* @__PURE__ */ s(
|
|
1950
|
-
className:
|
|
1947
|
+
children: [/* @__PURE__ */ s(vt, {
|
|
1948
|
+
className: Q.box,
|
|
1951
1949
|
height: r,
|
|
1952
1950
|
children: /* @__PURE__ */ s("div", {
|
|
1953
|
-
className:
|
|
1951
|
+
className: Q.track,
|
|
1954
1952
|
style: { transform: `translateX(-${m * 100}%)` },
|
|
1955
1953
|
children: l.map((e, t) => /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1956
1954
|
id: `${d}-panel-${t}`,
|
|
1957
|
-
className:
|
|
1955
|
+
className: Q.panel,
|
|
1958
1956
|
role: "tabpanel",
|
|
1959
1957
|
"aria-labelledby": `${d}-tab-${t}`,
|
|
1960
1958
|
"aria-hidden": t !== m,
|
|
@@ -1963,13 +1961,13 @@ function Vt({ className: e, width: t, height: r, initialIndex: a = 0, items: l =
|
|
|
1963
1961
|
}, e.id ?? t) }))
|
|
1964
1962
|
})
|
|
1965
1963
|
}), l.length > 0 && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1966
|
-
className:
|
|
1964
|
+
className: Q.tabs,
|
|
1967
1965
|
role: "tablist",
|
|
1968
1966
|
children: l.map((e, t) => {
|
|
1969
1967
|
let n = t === m, r = e.counter ?? e.notification;
|
|
1970
1968
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("button", {
|
|
1971
1969
|
id: `${d}-tab-${t}`,
|
|
1972
|
-
className:
|
|
1970
|
+
className: Q.tab,
|
|
1973
1971
|
style: e.width == null ? void 0 : {
|
|
1974
1972
|
flex: `0 0 ${e.width}`,
|
|
1975
1973
|
width: e.width
|
|
@@ -1983,30 +1981,30 @@ function Vt({ className: e, width: t, height: r, initialIndex: a = 0, items: l =
|
|
|
1983
1981
|
"is-active": n || void 0,
|
|
1984
1982
|
onClick: () => h(t),
|
|
1985
1983
|
children: [
|
|
1986
|
-
e.iconName && /* @__PURE__ */ s(
|
|
1984
|
+
e.iconName && /* @__PURE__ */ s(q, {
|
|
1987
1985
|
iconName: e.iconName,
|
|
1988
1986
|
size: "1rem"
|
|
1989
1987
|
}),
|
|
1990
1988
|
e.label && /* @__PURE__ */ s("span", { children: e.label }),
|
|
1991
|
-
/* @__PURE__ */ s(
|
|
1989
|
+
/* @__PURE__ */ s(Bt, { value: r })
|
|
1992
1990
|
]
|
|
1993
1991
|
}, e.id ?? t) });
|
|
1994
1992
|
})
|
|
1995
1993
|
}) })]
|
|
1996
1994
|
}) });
|
|
1997
1995
|
}
|
|
1998
|
-
var
|
|
1999
|
-
base:
|
|
1996
|
+
var Q = {
|
|
1997
|
+
base: G`
|
|
2000
1998
|
position: relative;
|
|
2001
1999
|
max-width: 100%;
|
|
2002
2000
|
`,
|
|
2003
|
-
box:
|
|
2004
|
-
z-index: ${
|
|
2001
|
+
box: G`
|
|
2002
|
+
z-index: ${K.zIndex.front};
|
|
2005
2003
|
width: 100%;
|
|
2006
2004
|
padding: 0;
|
|
2007
2005
|
overflow: hidden;
|
|
2008
2006
|
`,
|
|
2009
|
-
track:
|
|
2007
|
+
track: G`
|
|
2010
2008
|
display: flex;
|
|
2011
2009
|
width: 100%;
|
|
2012
2010
|
min-height: 100%;
|
|
@@ -2015,12 +2013,12 @@ var $ = {
|
|
|
2015
2013
|
|
|
2016
2014
|
@media (prefers-reduced-motion: reduce) { transition: none; }
|
|
2017
2015
|
`,
|
|
2018
|
-
panel:
|
|
2016
|
+
panel: G`
|
|
2019
2017
|
flex: 0 0 100%;
|
|
2020
2018
|
min-width: 0;
|
|
2021
2019
|
padding: 1.875rem 1.25rem;
|
|
2022
2020
|
`,
|
|
2023
|
-
tabs:
|
|
2021
|
+
tabs: G`
|
|
2024
2022
|
display: flex;
|
|
2025
2023
|
position: relative;
|
|
2026
2024
|
margin-top: -1rem;
|
|
@@ -2028,9 +2026,9 @@ var $ = {
|
|
|
2028
2026
|
border: solid 2px #eee;
|
|
2029
2027
|
border-top: 0;
|
|
2030
2028
|
border-radius: 0 0 18px 18px;
|
|
2031
|
-
background-color: ${
|
|
2029
|
+
background-color: ${K.colors.back.secondary};
|
|
2032
2030
|
`,
|
|
2033
|
-
tab:
|
|
2031
|
+
tab: G`
|
|
2034
2032
|
display: flex;
|
|
2035
2033
|
flex: 1 1 0;
|
|
2036
2034
|
align-items: center;
|
|
@@ -2043,35 +2041,35 @@ var $ = {
|
|
|
2043
2041
|
font-size: .8rem;
|
|
2044
2042
|
font-weight: 600;
|
|
2045
2043
|
transition: color .2s ease, background-color .2s ease;
|
|
2046
|
-
color: ${
|
|
2047
|
-
font-family: ${
|
|
2044
|
+
color: ${K.colors.fore.secondary};
|
|
2045
|
+
font-family: ${K.fontFamily}, sans-serif;
|
|
2048
2046
|
|
|
2049
2047
|
& + & { border-left: solid 1px #e5e7e9; }
|
|
2050
2048
|
|
|
2051
2049
|
&[is-active] {
|
|
2052
|
-
color: ${
|
|
2053
|
-
background-color: ${
|
|
2050
|
+
color: ${K.colors.fore.primary};
|
|
2051
|
+
background-color: ${K.colors.back.primary};
|
|
2054
2052
|
}
|
|
2055
2053
|
`
|
|
2056
2054
|
};
|
|
2057
2055
|
//#endregion
|
|
2058
2056
|
//#region src/components/_tab-container.jsx
|
|
2059
|
-
function
|
|
2057
|
+
function Ut({ className: e, initialIndex: t = 0, items: r = [], onChange: a, width: l }) {
|
|
2060
2058
|
let u = i(), d = Math.max(r.length - 1, 0), f = n(Math.min(Math.max(t, 0), d)), p = Math.min(f.value, d), m = r[p];
|
|
2061
2059
|
function h(e) {
|
|
2062
2060
|
e !== p && (f.value = e, a?.(e, r[e]));
|
|
2063
2061
|
}
|
|
2064
2062
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
2065
|
-
className:
|
|
2063
|
+
className: W(Wt.base, e),
|
|
2066
2064
|
style: { width: l },
|
|
2067
2065
|
children: r.length > 0 && /* @__PURE__ */ c(o, { children: [/* @__PURE__ */ s("div", {
|
|
2068
|
-
className:
|
|
2066
|
+
className: Wt.tabs,
|
|
2069
2067
|
role: "tablist",
|
|
2070
2068
|
children: r.map((e, t) => {
|
|
2071
2069
|
let n = t === p, r = e.counter ?? e.notification;
|
|
2072
2070
|
return /* @__PURE__ */ c("button", {
|
|
2073
2071
|
id: `${u}-tab-${t}`,
|
|
2074
|
-
className:
|
|
2072
|
+
className: Wt.tab,
|
|
2075
2073
|
type: "button",
|
|
2076
2074
|
role: "tab",
|
|
2077
2075
|
"aria-controls": `${u}-panel`,
|
|
@@ -2079,32 +2077,32 @@ function Ht({ className: e, initialIndex: t = 0, items: r = [], onChange: a, wid
|
|
|
2079
2077
|
tabIndex: n ? 0 : -1,
|
|
2080
2078
|
"is-active": n || void 0,
|
|
2081
2079
|
onClick: () => h(t),
|
|
2082
|
-
children: [e.label, /* @__PURE__ */ s(
|
|
2080
|
+
children: [e.label, /* @__PURE__ */ s(Bt, { value: r })]
|
|
2083
2081
|
}, e.id ?? t);
|
|
2084
2082
|
})
|
|
2085
2083
|
}), /* @__PURE__ */ s("div", {
|
|
2086
2084
|
id: `${u}-panel`,
|
|
2087
|
-
className:
|
|
2085
|
+
className: Wt.panel,
|
|
2088
2086
|
role: "tabpanel",
|
|
2089
2087
|
"aria-labelledby": `${u}-tab-${p}`,
|
|
2090
2088
|
children: m?.content
|
|
2091
2089
|
})] })
|
|
2092
2090
|
}) });
|
|
2093
2091
|
}
|
|
2094
|
-
var
|
|
2095
|
-
base:
|
|
2092
|
+
var Wt = {
|
|
2093
|
+
base: G`
|
|
2096
2094
|
position: relative;
|
|
2097
2095
|
width: 100%;
|
|
2098
2096
|
max-width: 100%;
|
|
2099
2097
|
`,
|
|
2100
|
-
tabs:
|
|
2098
|
+
tabs: G`
|
|
2101
2099
|
display: flex;
|
|
2102
2100
|
gap: .25rem;
|
|
2103
2101
|
padding: .25rem;
|
|
2104
2102
|
border-radius: 12px;
|
|
2105
|
-
background-color: ${
|
|
2103
|
+
background-color: ${K.colors.back.secondary};
|
|
2106
2104
|
`,
|
|
2107
|
-
tab:
|
|
2105
|
+
tab: G`
|
|
2108
2106
|
display: flex;
|
|
2109
2107
|
flex: 1 1 0;
|
|
2110
2108
|
align-items: center;
|
|
@@ -2114,24 +2112,131 @@ var Ut = {
|
|
|
2114
2112
|
min-height: 2.5rem;
|
|
2115
2113
|
padding: .5rem .75rem;
|
|
2116
2114
|
border-radius: 9px;
|
|
2117
|
-
color: ${
|
|
2115
|
+
color: ${K.colors.fore.secondary};
|
|
2118
2116
|
cursor: pointer;
|
|
2119
|
-
font-family: ${
|
|
2117
|
+
font-family: ${K.fontFamily}, sans-serif;
|
|
2120
2118
|
font-size: .8rem;
|
|
2121
2119
|
font-weight: 600;
|
|
2122
2120
|
transition: color .2s ease, background-color .2s ease;
|
|
2123
2121
|
|
|
2124
2122
|
&[is-active] {
|
|
2125
|
-
color: ${
|
|
2126
|
-
background-color: ${
|
|
2123
|
+
color: ${K.colors.fore.primary};
|
|
2124
|
+
background-color: ${K.colors.back.primary};
|
|
2127
2125
|
box-shadow: 0 2px 8px rgb(22 24 38 / 7%);
|
|
2128
2126
|
}
|
|
2129
2127
|
`,
|
|
2130
|
-
panel:
|
|
2128
|
+
panel: G`
|
|
2131
2129
|
width: 100%;
|
|
2132
2130
|
min-width: 0;
|
|
2133
2131
|
padding: 1.5rem 1.25rem;
|
|
2134
2132
|
`
|
|
2135
2133
|
};
|
|
2136
2134
|
//#endregion
|
|
2137
|
-
|
|
2135
|
+
//#region src/components/_table.jsx
|
|
2136
|
+
function Gt({ columns: e = [], rows: t = [], width: n, height: r, showLineNumbers: i = !0, sortBy: a, orderBy: l, sortDirection: u = "asc", className: d }) {
|
|
2137
|
+
let f = Jt(t, e, a ?? l ?? e[0]?.key, u);
|
|
2138
|
+
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
2139
|
+
className: W($.base, d),
|
|
2140
|
+
style: {
|
|
2141
|
+
width: n,
|
|
2142
|
+
height: r
|
|
2143
|
+
},
|
|
2144
|
+
children: /* @__PURE__ */ c("table", {
|
|
2145
|
+
className: $.table,
|
|
2146
|
+
children: [
|
|
2147
|
+
/* @__PURE__ */ c("colgroup", { children: [i && /* @__PURE__ */ s("col", { className: $.line }), e.map((e) => /* @__PURE__ */ s("col", { style: Kt(e) }, e.key))] }),
|
|
2148
|
+
/* @__PURE__ */ s("thead", { children: /* @__PURE__ */ c("tr", { children: [i && /* @__PURE__ */ s("th", {
|
|
2149
|
+
className: $.number,
|
|
2150
|
+
children: "#"
|
|
2151
|
+
}), e.map((e) => /* @__PURE__ */ s("th", { children: e.label }, e.key))] }) }),
|
|
2152
|
+
/* @__PURE__ */ s("tbody", { children: f.map((t, n) => /* @__PURE__ */ c("tr", { children: [i && /* @__PURE__ */ s("td", {
|
|
2153
|
+
className: $.number,
|
|
2154
|
+
children: n + 1
|
|
2155
|
+
}), e.map((e) => /* @__PURE__ */ s("td", {
|
|
2156
|
+
inert: !0,
|
|
2157
|
+
children: qt(e, t, n)
|
|
2158
|
+
}, e.key))] }, t.key ?? n)) })
|
|
2159
|
+
]
|
|
2160
|
+
})
|
|
2161
|
+
}) });
|
|
2162
|
+
}
|
|
2163
|
+
function Kt(e) {
|
|
2164
|
+
if (e.width !== void 0) return {
|
|
2165
|
+
width: e.width,
|
|
2166
|
+
minWidth: e.width,
|
|
2167
|
+
maxWidth: e.width
|
|
2168
|
+
};
|
|
2169
|
+
}
|
|
2170
|
+
function qt(e, t, n) {
|
|
2171
|
+
let r = t[e.key];
|
|
2172
|
+
return e.render?.(r, t, n) ?? r;
|
|
2173
|
+
}
|
|
2174
|
+
function Jt(e, t, n, r) {
|
|
2175
|
+
let i = t.find((e) => e.key === n);
|
|
2176
|
+
if (!i) return e;
|
|
2177
|
+
let a = r === "desc" ? -1 : 1;
|
|
2178
|
+
return [...e].sort((e, t) => {
|
|
2179
|
+
let n = Yt(i, e), r = Yt(i, t);
|
|
2180
|
+
return a * String(n).localeCompare(String(r), void 0, {
|
|
2181
|
+
numeric: !0,
|
|
2182
|
+
sensitivity: "base"
|
|
2183
|
+
});
|
|
2184
|
+
});
|
|
2185
|
+
}
|
|
2186
|
+
function Yt(e, t) {
|
|
2187
|
+
let n = t[e.key];
|
|
2188
|
+
return e.sortValue?.(n, t) ?? n ?? "";
|
|
2189
|
+
}
|
|
2190
|
+
var $ = {
|
|
2191
|
+
base: G`
|
|
2192
|
+
display: inline-block;
|
|
2193
|
+
position: relative;
|
|
2194
|
+
max-width: 100%;
|
|
2195
|
+
overflow: auto;
|
|
2196
|
+
border: solid 1px ${K.colors.border};
|
|
2197
|
+
border-radius: 10px;
|
|
2198
|
+
background-color: ${K.colors.back.primary};
|
|
2199
|
+
`,
|
|
2200
|
+
table: G`
|
|
2201
|
+
width: max-content;
|
|
2202
|
+
border-spacing: 0;
|
|
2203
|
+
color: ${K.colors.fore.primary};
|
|
2204
|
+
font-family: ${K.fontFamily}, sans-serif;
|
|
2205
|
+
font-size: .75rem;
|
|
2206
|
+
font-weight: 500;
|
|
2207
|
+
letter-spacing: .4px;
|
|
2208
|
+
|
|
2209
|
+
th,
|
|
2210
|
+
td {
|
|
2211
|
+
height: 2.75rem;
|
|
2212
|
+
padding: .75rem 1rem;
|
|
2213
|
+
border-bottom: solid 1px #e9ebed;
|
|
2214
|
+
text-align: left;
|
|
2215
|
+
vertical-align: middle;
|
|
2216
|
+
white-space: nowrap;
|
|
2217
|
+
}
|
|
2218
|
+
|
|
2219
|
+
th {
|
|
2220
|
+
position: sticky;
|
|
2221
|
+
z-index: ${K.zIndex.front};
|
|
2222
|
+
top: 0;
|
|
2223
|
+
color: ${K.colors.fore.secondary};
|
|
2224
|
+
background-color: ${K.colors.back.secondary};
|
|
2225
|
+
font-size: .65rem;
|
|
2226
|
+
font-weight: 700;
|
|
2227
|
+
letter-spacing: .8px;
|
|
2228
|
+
}
|
|
2229
|
+
|
|
2230
|
+
tbody tr:last-child td { border-bottom: 0; }
|
|
2231
|
+
`,
|
|
2232
|
+
line: G`
|
|
2233
|
+
width: 3rem;
|
|
2234
|
+
`,
|
|
2235
|
+
number: G`
|
|
2236
|
+
width: 3rem;
|
|
2237
|
+
color: ${K.colors.fore.secondary};
|
|
2238
|
+
text-align: right !important;
|
|
2239
|
+
`
|
|
2240
|
+
};
|
|
2241
|
+
//#endregion
|
|
2242
|
+
export { ct as Actions, ft as AppWrapper, gt as Bar, vt as Box, bt as Button, Bt as Counter, At as Dropdown, Tt as Headline, q as Icon, Rt as IconButton, Ct as Layout, ot as PopupBox, Dt as Space, Pt as Switch, Ht as TabBox, Ut as TabContainer, Gt as Table, It as Tag, ut as Text, Ot as TextField, K as Theme, pt as Toolbar };
|