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