melonykit 0.15.0 → 0.15.2
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 +538 -654
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -38,35 +38,35 @@ var d = /*#__PURE__*/ function() {
|
|
|
38
38
|
return e.parentNode?.removeChild(e);
|
|
39
39
|
}), this.tags = [], this.ctr = 0;
|
|
40
40
|
}, e;
|
|
41
|
-
}(), f = "-ms-", p = "-moz-", m = "-webkit-", h = "comm", g = "rule", _ = "decl", v = "@import", y = "@keyframes", b = "@layer", x = Math.abs,
|
|
42
|
-
function
|
|
43
|
-
return
|
|
41
|
+
}(), f = "-ms-", p = "-moz-", m = "-webkit-", h = "comm", g = "rule", _ = "decl", v = "@import", y = "@keyframes", b = "@layer", x = Math.abs, ee = String.fromCharCode, S = Object.assign;
|
|
42
|
+
function C(e, t) {
|
|
43
|
+
return T(e, 0) ^ 45 ? (((t << 2 ^ T(e, 0)) << 2 ^ T(e, 1)) << 2 ^ T(e, 2)) << 2 ^ T(e, 3) : 0;
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function te(e) {
|
|
46
46
|
return e.trim();
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function ne(e, t) {
|
|
49
49
|
return (e = t.exec(e)) ? e[0] : e;
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function w(e, t, n) {
|
|
52
52
|
return e.replace(t, n);
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function re(e, t) {
|
|
55
55
|
return e.indexOf(t);
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function T(e, t) {
|
|
58
58
|
return e.charCodeAt(t) | 0;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function E(e, t, n) {
|
|
61
61
|
return e.slice(t, n);
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function D(e) {
|
|
64
64
|
return e.length;
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function ie(e) {
|
|
67
67
|
return e.length;
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function O(e, t) {
|
|
70
70
|
return t.push(e), e;
|
|
71
71
|
}
|
|
72
72
|
function ae(e, t) {
|
|
@@ -90,27 +90,27 @@ function ce(e, t, n, r, i, a, o) {
|
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
92
|
function N(e, t) {
|
|
93
|
-
return
|
|
93
|
+
return S(ce("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
94
94
|
}
|
|
95
95
|
function le() {
|
|
96
96
|
return j;
|
|
97
97
|
}
|
|
98
98
|
function ue() {
|
|
99
|
-
return j = A > 0 ?
|
|
99
|
+
return j = A > 0 ? T(M, --A) : 0, k--, j === 10 && (k = 1, oe--), j;
|
|
100
100
|
}
|
|
101
101
|
function P() {
|
|
102
|
-
return j = A < se ?
|
|
102
|
+
return j = A < se ? T(M, A++) : 0, k++, j === 10 && (k = 1, oe++), j;
|
|
103
103
|
}
|
|
104
104
|
function F() {
|
|
105
|
-
return
|
|
105
|
+
return T(M, A);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function de() {
|
|
108
108
|
return A;
|
|
109
109
|
}
|
|
110
|
-
function
|
|
111
|
-
return
|
|
110
|
+
function I(e, t) {
|
|
111
|
+
return E(M, e, t);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function L(e) {
|
|
114
114
|
switch (e) {
|
|
115
115
|
case 0:
|
|
116
116
|
case 9:
|
|
@@ -137,80 +137,80 @@ function R(e) {
|
|
|
137
137
|
}
|
|
138
138
|
return 0;
|
|
139
139
|
}
|
|
140
|
-
function de(e) {
|
|
141
|
-
return oe = k = 1, se = O(M = e), A = 0, [];
|
|
142
|
-
}
|
|
143
140
|
function fe(e) {
|
|
144
|
-
return M =
|
|
141
|
+
return oe = k = 1, se = D(M = e), A = 0, [];
|
|
145
142
|
}
|
|
146
143
|
function pe(e) {
|
|
147
|
-
return
|
|
144
|
+
return M = "", e;
|
|
148
145
|
}
|
|
149
146
|
function me(e) {
|
|
147
|
+
return te(I(A - 1, _e(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
148
|
+
}
|
|
149
|
+
function he(e) {
|
|
150
150
|
for (; (j = F()) && j < 33;) P();
|
|
151
|
-
return
|
|
151
|
+
return L(e) > 2 || L(j) > 3 ? "" : " ";
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function ge(e, t) {
|
|
154
154
|
for (; --t && P() && !(j < 48 || j > 102 || j > 57 && j < 65 || j > 70 && j < 97););
|
|
155
|
-
return
|
|
155
|
+
return I(e, de() + (t < 6 && F() == 32 && P() == 32));
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function _e(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 && _e(j);
|
|
163
163
|
break;
|
|
164
164
|
case 40:
|
|
165
|
-
e === 41 &&
|
|
165
|
+
e === 41 && _e(e);
|
|
166
166
|
break;
|
|
167
167
|
case 92: P();
|
|
168
168
|
}
|
|
169
169
|
return A;
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function ve(e, t) {
|
|
172
172
|
for (; P() && e + j !== 57 && (e + j !== 84 || F() !== 47););
|
|
173
|
-
return "/*" +
|
|
173
|
+
return "/*" + I(t, A - 1) + "*" + ee(e === 47 ? e : P());
|
|
174
174
|
}
|
|
175
|
-
function
|
|
176
|
-
for (; !
|
|
177
|
-
return
|
|
175
|
+
function ye(e) {
|
|
176
|
+
for (; !L(F());) P();
|
|
177
|
+
return I(e, A);
|
|
178
178
|
}
|
|
179
179
|
//#endregion
|
|
180
180
|
//#region node_modules/stylis/src/Parser.js
|
|
181
|
-
function
|
|
182
|
-
return
|
|
181
|
+
function be(e) {
|
|
182
|
+
return pe(xe("", null, null, null, [""], e = fe(e), 0, [0], e));
|
|
183
183
|
}
|
|
184
|
-
function
|
|
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,
|
|
186
|
-
case 40: if (m != 108 &&
|
|
187
|
-
|
|
184
|
+
function xe(e, t, n, r, i, a, o, s, c) {
|
|
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, S = r, C = y; g;) switch (m = v, v = P()) {
|
|
186
|
+
case 40: if (m != 108 && T(C, d - 1) == 58) {
|
|
187
|
+
re(C += w(me(v), "&", "&\f"), "&\f") != -1 && (_ = -1);
|
|
188
188
|
break;
|
|
189
189
|
}
|
|
190
190
|
case 34:
|
|
191
191
|
case 39:
|
|
192
192
|
case 91:
|
|
193
|
-
|
|
193
|
+
C += me(v);
|
|
194
194
|
break;
|
|
195
195
|
case 9:
|
|
196
196
|
case 10:
|
|
197
197
|
case 13:
|
|
198
198
|
case 32:
|
|
199
|
-
|
|
199
|
+
C += he(m);
|
|
200
200
|
break;
|
|
201
201
|
case 92:
|
|
202
|
-
|
|
202
|
+
C += ge(de() - 1, 7);
|
|
203
203
|
continue;
|
|
204
204
|
case 47:
|
|
205
205
|
switch (F()) {
|
|
206
206
|
case 42:
|
|
207
207
|
case 47:
|
|
208
|
-
|
|
208
|
+
O(Ce(ve(P(), de()), t, n), c);
|
|
209
209
|
break;
|
|
210
|
-
default:
|
|
210
|
+
default: C += "/";
|
|
211
211
|
}
|
|
212
212
|
break;
|
|
213
|
-
case 123 * h: s[l++] =
|
|
213
|
+
case 123 * h: s[l++] = D(C) * _;
|
|
214
214
|
case 125 * h:
|
|
215
215
|
case 59:
|
|
216
216
|
case 0:
|
|
@@ -218,89 +218,89 @@ function be(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 && (
|
|
221
|
+
_ == -1 && (C = w(C, /\f/g, "")), p > 0 && D(C) - d && O(p > 32 ? we(C + ";", r, n, d - 1) : we(w(C, " ", "") + ";", r, n, d - 2), c);
|
|
222
222
|
break;
|
|
223
|
-
case 59:
|
|
224
|
-
default: if (
|
|
225
|
-
if (u === 0)
|
|
226
|
-
else switch (f === 99 &&
|
|
223
|
+
case 59: C += ";";
|
|
224
|
+
default: if (O(S = Se(C, t, n, l, u, i, s, y, b = [], x = [], d), a), v === 123) {
|
|
225
|
+
if (u === 0) xe(C, t, S, S, b, a, d, s, x);
|
|
226
|
+
else switch (f === 99 && T(C, 3) === 110 ? 100 : f) {
|
|
227
227
|
case 100:
|
|
228
228
|
case 108:
|
|
229
229
|
case 109:
|
|
230
230
|
case 115:
|
|
231
|
-
|
|
231
|
+
xe(e, S, S, r && O(Se(e, S, S, 0, 0, i, s, y, i, b = [], d), x), i, x, d, s, r ? b : x);
|
|
232
232
|
break;
|
|
233
|
-
default:
|
|
233
|
+
default: xe(C, S, S, S, [""], x, 0, s, x);
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
|
-
l = u = p = 0, h = _ = 1, y =
|
|
237
|
+
l = u = p = 0, h = _ = 1, y = C = "", d = o;
|
|
238
238
|
break;
|
|
239
|
-
case 58: d = 1 +
|
|
239
|
+
case 58: d = 1 + D(C), p = m;
|
|
240
240
|
default:
|
|
241
241
|
if (h < 1) {
|
|
242
242
|
if (v == 123) --h;
|
|
243
243
|
else if (v == 125 && h++ == 0 && ue() == 125) continue;
|
|
244
244
|
}
|
|
245
|
-
switch (
|
|
245
|
+
switch (C += ee(v), v * h) {
|
|
246
246
|
case 38:
|
|
247
|
-
_ = u > 0 ? 1 : (
|
|
247
|
+
_ = u > 0 ? 1 : (C += "\f", -1);
|
|
248
248
|
break;
|
|
249
249
|
case 44:
|
|
250
|
-
s[l++] = (
|
|
250
|
+
s[l++] = (D(C) - 1) * _, _ = 1;
|
|
251
251
|
break;
|
|
252
252
|
case 64:
|
|
253
|
-
F() === 45 && (
|
|
253
|
+
F() === 45 && (C += me(P())), f = F(), u = d = D(y = C += ye(de())), v++;
|
|
254
254
|
break;
|
|
255
|
-
case 45: m === 45 &&
|
|
255
|
+
case 45: m === 45 && D(C) == 2 && (h = 0);
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
return a;
|
|
259
259
|
}
|
|
260
|
-
function
|
|
261
|
-
for (var d = i - 1, f = i === 0 ? a : [""], p =
|
|
260
|
+
function Se(e, t, n, r, i, a, o, s, c, l, u) {
|
|
261
|
+
for (var d = i - 1, f = i === 0 ? a : [""], p = ie(f), m = 0, h = 0, _ = 0; m < r; ++m) for (var v = 0, y = E(e, d + 1, d = x(h = o[m])), b = e; v < p; ++v) (b = te(h > 0 ? f[v] + " " + y : w(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
|
|
265
|
-
return ce(e, t, n, h,
|
|
264
|
+
function Ce(e, t, n) {
|
|
265
|
+
return ce(e, t, n, h, ee(le()), E(e, 2, -2), 0);
|
|
266
266
|
}
|
|
267
|
-
function
|
|
268
|
-
return ce(e, t, n, _,
|
|
267
|
+
function we(e, t, n, r) {
|
|
268
|
+
return ce(e, t, n, _, E(e, 0, r), E(e, r + 1, -1), r);
|
|
269
269
|
}
|
|
270
270
|
//#endregion
|
|
271
271
|
//#region node_modules/stylis/src/Serializer.js
|
|
272
|
-
function
|
|
273
|
-
for (var n = "", r =
|
|
272
|
+
function R(e, t) {
|
|
273
|
+
for (var n = "", r = ie(e), i = 0; i < r; i++) n += t(e[i], i, e, t) || "";
|
|
274
274
|
return n;
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function Te(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 + "{" + R(e.children, r) + "}";
|
|
283
283
|
case g: e.value = e.props.join(",");
|
|
284
284
|
}
|
|
285
|
-
return
|
|
285
|
+
return D(n = R(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
|
|
286
286
|
}
|
|
287
287
|
//#endregion
|
|
288
288
|
//#region node_modules/stylis/src/Middleware.js
|
|
289
|
-
function
|
|
290
|
-
var t =
|
|
289
|
+
function Ee(e) {
|
|
290
|
+
var t = ie(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 De(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 Oe(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,45 +308,45 @@ function De(e) {
|
|
|
308
308
|
}
|
|
309
309
|
//#endregion
|
|
310
310
|
//#region node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js
|
|
311
|
-
var
|
|
312
|
-
for (var r = 0, i = 0; r = i, i = F(), r === 38 && i === 12 && (t[n] = 1), !
|
|
313
|
-
return
|
|
314
|
-
},
|
|
311
|
+
var ke = function(e, t, n) {
|
|
312
|
+
for (var r = 0, i = 0; r = i, i = F(), r === 38 && i === 12 && (t[n] = 1), !L(i);) P();
|
|
313
|
+
return I(e, A);
|
|
314
|
+
}, Ae = function(e, t) {
|
|
315
315
|
var n = -1, r = 44;
|
|
316
316
|
do
|
|
317
|
-
switch (
|
|
317
|
+
switch (L(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] += ke(A - 1, t, n);
|
|
320
320
|
break;
|
|
321
321
|
case 2:
|
|
322
|
-
e[n] +=
|
|
322
|
+
e[n] += me(r);
|
|
323
323
|
break;
|
|
324
324
|
case 4: if (r === 44) {
|
|
325
325
|
e[++n] = F() === 58 ? "&\f" : "", t[n] = e[n].length;
|
|
326
326
|
break;
|
|
327
327
|
}
|
|
328
|
-
default: e[n] +=
|
|
328
|
+
default: e[n] += ee(r);
|
|
329
329
|
}
|
|
330
330
|
while (r = P());
|
|
331
331
|
return e;
|
|
332
|
-
},
|
|
333
|
-
return
|
|
334
|
-
},
|
|
332
|
+
}, je = function(e, t) {
|
|
333
|
+
return pe(Ae(fe(e), t));
|
|
334
|
+
}, Me = /* #__PURE__ */ new WeakMap(), Ne = 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 || Me.get(n)) && !r) {
|
|
338
|
+
Me.set(e, !0);
|
|
339
|
+
for (var i = [], a = je(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
|
+
}, Pe = 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
|
|
349
|
-
switch (
|
|
348
|
+
function Fe(e, t) {
|
|
349
|
+
switch (C(e, t)) {
|
|
350
350
|
case 5103: return m + "print-" + e + e;
|
|
351
351
|
case 5737:
|
|
352
352
|
case 4201:
|
|
@@ -381,21 +381,21 @@ function Pe(e, t) {
|
|
|
381
381
|
case 6828:
|
|
382
382
|
case 4268: return m + e + f + e + e;
|
|
383
383
|
case 6165: return m + e + f + "flex-" + e + e;
|
|
384
|
-
case 5187: return m + e +
|
|
385
|
-
case 5443: return m + e + f + "flex-item-" +
|
|
386
|
-
case 4675: return m + e + f + "flex-line-pack" +
|
|
387
|
-
case 5548: return m + e + f +
|
|
388
|
-
case 5292: return m + e + f +
|
|
389
|
-
case 6060: return m + "box-" +
|
|
390
|
-
case 4554: return m +
|
|
391
|
-
case 6187: return
|
|
384
|
+
case 5187: return m + e + w(e, /(\w+).+(:[^]+)/, m + "box-$1$2" + f + "flex-$1$2") + e;
|
|
385
|
+
case 5443: return m + e + f + "flex-item-" + w(e, /flex-|-self/, "") + e;
|
|
386
|
+
case 4675: return m + e + f + "flex-line-pack" + w(e, /align-content|flex-|-self/, "") + e;
|
|
387
|
+
case 5548: return m + e + f + w(e, "shrink", "negative") + e;
|
|
388
|
+
case 5292: return m + e + f + w(e, "basis", "preferred-size") + e;
|
|
389
|
+
case 6060: return m + "box-" + w(e, "-grow", "") + m + e + f + w(e, "grow", "positive") + e;
|
|
390
|
+
case 4554: return m + w(e, /([^-])(transform)/g, "$1" + m + "$2") + e;
|
|
391
|
+
case 6187: return w(w(w(e, /(zoom-|grab)/, m + "$1"), /(image-set)/, m + "$1"), e, "") + e;
|
|
392
392
|
case 5495:
|
|
393
|
-
case 3959: return
|
|
394
|
-
case 4968: return
|
|
393
|
+
case 3959: return w(e, /(image-set\([^]*)/, m + "$1$`$1");
|
|
394
|
+
case 4968: return w(w(e, /(.+:)(flex-)?(.*)/, m + "box-pack:$3" + f + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + m + e + e;
|
|
395
395
|
case 4095:
|
|
396
396
|
case 3583:
|
|
397
397
|
case 4068:
|
|
398
|
-
case 2532: return
|
|
398
|
+
case 2532: return w(e, /(.+)-inline(.+)/, m + "$1$2") + e;
|
|
399
399
|
case 8116:
|
|
400
400
|
case 7059:
|
|
401
401
|
case 5753:
|
|
@@ -408,49 +408,49 @@ function Pe(e, t) {
|
|
|
408
408
|
case 5789:
|
|
409
409
|
case 5021:
|
|
410
410
|
case 4765:
|
|
411
|
-
if (
|
|
412
|
-
case 109: if (
|
|
413
|
-
case 102: return
|
|
414
|
-
case 115: return ~
|
|
411
|
+
if (D(e) - 1 - t > 6) switch (T(e, t + 1)) {
|
|
412
|
+
case 109: if (T(e, t + 4) !== 45) break;
|
|
413
|
+
case 102: return w(e, /(.+:)(.+)-([^]+)/, "$1" + m + "$2-$3$1" + p + (T(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
414
|
+
case 115: return ~re(e, "stretch") ? Fe(w(e, "stretch", "fill-available"), t) + e : e;
|
|
415
415
|
}
|
|
416
416
|
break;
|
|
417
|
-
case 4949: if (
|
|
417
|
+
case 4949: if (T(e, t + 1) !== 115) break;
|
|
418
418
|
case 6444:
|
|
419
|
-
switch (
|
|
420
|
-
case 107: return
|
|
421
|
-
case 101: return
|
|
419
|
+
switch (T(e, D(e) - 3 - (~re(e, "!important") && 10))) {
|
|
420
|
+
case 107: return w(e, ":", ":" + m) + e;
|
|
421
|
+
case 101: return w(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + m + (T(e, 14) === 45 ? "inline-" : "") + "box$3$1" + m + "$2$3$1" + f + "$2box$3") + e;
|
|
422
422
|
}
|
|
423
423
|
break;
|
|
424
424
|
case 5936:
|
|
425
|
-
switch (
|
|
426
|
-
case 114: return m + e + f +
|
|
427
|
-
case 108: return m + e + f +
|
|
428
|
-
case 45: return m + e + f +
|
|
425
|
+
switch (T(e, t + 11)) {
|
|
426
|
+
case 114: return m + e + f + w(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
427
|
+
case 108: return m + e + f + w(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
428
|
+
case 45: return m + e + f + w(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
429
429
|
}
|
|
430
430
|
return m + e + f + e + e;
|
|
431
431
|
}
|
|
432
432
|
return e;
|
|
433
433
|
}
|
|
434
|
-
var
|
|
434
|
+
var Ie = [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 = Fe(e.value, e.length);
|
|
438
438
|
break;
|
|
439
|
-
case y: return
|
|
439
|
+
case y: return R([N(e, { value: w(e.value, "@", "@" + m) })], r);
|
|
440
440
|
case g: if (e.length) return ae(e.props, function(t) {
|
|
441
|
-
switch (
|
|
441
|
+
switch (ne(t, /(::plac\w+|:read-\w+)/)) {
|
|
442
442
|
case ":read-only":
|
|
443
|
-
case ":read-write": return
|
|
444
|
-
case "::placeholder": return
|
|
445
|
-
N(e, { props: [
|
|
446
|
-
N(e, { props: [
|
|
447
|
-
N(e, { props: [
|
|
443
|
+
case ":read-write": return R([N(e, { props: [w(t, /:(read-\w+)/, ":" + p + "$1")] })], r);
|
|
444
|
+
case "::placeholder": return R([
|
|
445
|
+
N(e, { props: [w(t, /:(plac\w+)/, ":" + m + "input-$1")] }),
|
|
446
|
+
N(e, { props: [w(t, /:(plac\w+)/, ":" + p + "$1")] }),
|
|
447
|
+
N(e, { props: [w(t, /:(plac\w+)/, f + "input-$1")] })
|
|
448
448
|
], r);
|
|
449
449
|
}
|
|
450
450
|
return "";
|
|
451
451
|
});
|
|
452
452
|
}
|
|
453
|
-
}],
|
|
453
|
+
}], Le = 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 Fe = [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 || Ie, 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 = [Ne, Pe], l, u = [Te, De(function(e) {
|
|
467
467
|
l.insert(e);
|
|
468
|
-
})], f =
|
|
469
|
-
return
|
|
468
|
+
})], f = Ee(c.concat(r, u)), p = function(e) {
|
|
469
|
+
return R(be(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 Fe = [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 Re(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 Le(e) {
|
|
|
501
501
|
}
|
|
502
502
|
//#endregion
|
|
503
503
|
//#region node_modules/@emotion/unitless/dist/emotion-unitless.esm.js
|
|
504
|
-
var
|
|
504
|
+
var ze = {
|
|
505
505
|
animationIterationCount: 1,
|
|
506
506
|
aspectRatio: 1,
|
|
507
507
|
borderImageOutset: 1,
|
|
@@ -549,26 +549,26 @@ var Re = {
|
|
|
549
549
|
strokeMiterlimit: 1,
|
|
550
550
|
strokeOpacity: 1,
|
|
551
551
|
strokeWidth: 1
|
|
552
|
-
},
|
|
552
|
+
}, Be = /[A-Z]|^ms/g, Ve = /_EMO_([^_]+?)_([^]*?)_EMO_/g, He = function(e) {
|
|
553
553
|
return e.charCodeAt(1) === 45;
|
|
554
|
-
},
|
|
554
|
+
}, Ue = function(e) {
|
|
555
555
|
return e != null && typeof e != "boolean";
|
|
556
|
-
},
|
|
557
|
-
return
|
|
558
|
-
}),
|
|
556
|
+
}, We = /* #__PURE__ */ Oe(function(e) {
|
|
557
|
+
return He(e) ? e : e.replace(Be, "-$&").toLowerCase();
|
|
558
|
+
}), Ge = 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(Ve, function(e, t, n) {
|
|
562
|
+
return B = {
|
|
563
563
|
name: t,
|
|
564
564
|
styles: n,
|
|
565
|
-
next:
|
|
565
|
+
next: B
|
|
566
566
|
}, t;
|
|
567
567
|
});
|
|
568
568
|
}
|
|
569
|
-
return
|
|
569
|
+
return ze[e] !== 1 && !He(e) && typeof t == "number" && t !== 0 ? t + "px" : t;
|
|
570
570
|
};
|
|
571
|
-
function
|
|
571
|
+
function z(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 B(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 B = {
|
|
580
580
|
name: i.name,
|
|
581
581
|
styles: i.styles,
|
|
582
|
-
next:
|
|
582
|
+
next: B
|
|
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;) B = {
|
|
588
588
|
name: o.name,
|
|
589
589
|
styles: o.styles,
|
|
590
|
-
next:
|
|
590
|
+
next: B
|
|
591
591
|
}, o = o.next;
|
|
592
592
|
return a.styles + ";";
|
|
593
593
|
}
|
|
594
|
-
return
|
|
594
|
+
return Ke(e, t, n);
|
|
595
595
|
case "function": if (e !== void 0) {
|
|
596
|
-
var s =
|
|
597
|
-
return
|
|
596
|
+
var s = B, c = n(e);
|
|
597
|
+
return B = s, z(e, t, c);
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
600
|
var l = n;
|
|
@@ -602,21 +602,21 @@ function B(e, t, n) {
|
|
|
602
602
|
var u = t[l];
|
|
603
603
|
return u === void 0 ? l : u;
|
|
604
604
|
}
|
|
605
|
-
function
|
|
605
|
+
function Ke(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 += z(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] + "}" : Ue(s) && (r += We(a) + ":" + Ge(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++) Ue(o[c]) && (r += We(a) + ":" + Ge(a, o[c]) + ";");
|
|
614
614
|
else {
|
|
615
|
-
var l =
|
|
615
|
+
var l = z(e, t, o);
|
|
616
616
|
switch (a) {
|
|
617
617
|
case "animation":
|
|
618
618
|
case "animationName":
|
|
619
|
-
r +=
|
|
619
|
+
r += We(a) + ":" + l + ";";
|
|
620
620
|
break;
|
|
621
621
|
default: r += a + "{" + l + "}";
|
|
622
622
|
}
|
|
@@ -624,35 +624,35 @@ function Ge(e, t, n) {
|
|
|
624
624
|
}
|
|
625
625
|
return r;
|
|
626
626
|
}
|
|
627
|
-
var
|
|
628
|
-
function
|
|
627
|
+
var qe = /label:\s*([^\s;{]+)\s*(;|$)/g, B;
|
|
628
|
+
function Je(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
|
+
B = 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 += z(n, t, a)) : i += a[0];
|
|
634
|
+
for (var o = 1; o < e.length; o++) i += z(n, t, e[o]), r && (i += a[o]);
|
|
635
|
+
qe.lastIndex = 0;
|
|
636
|
+
for (var s = "", c; (c = qe.exec(i)) !== null;) s += "-" + c[1];
|
|
637
637
|
return {
|
|
638
|
-
name:
|
|
638
|
+
name: Re(i) + s,
|
|
639
639
|
styles: i,
|
|
640
|
-
next:
|
|
640
|
+
next: B
|
|
641
641
|
};
|
|
642
642
|
}
|
|
643
643
|
//#endregion
|
|
644
644
|
//#region node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js
|
|
645
|
-
function
|
|
645
|
+
function Ye(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 Xe = 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
|
+
}, Ze = function(e, t, n) {
|
|
655
|
+
Xe(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 Ye = 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 Qe(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 $e(e, t, n) {
|
|
670
|
+
var r = [], i = Ye(e, r, n);
|
|
671
671
|
return r.length < 2 ? n : i + t(r);
|
|
672
672
|
}
|
|
673
|
-
var
|
|
674
|
-
var t =
|
|
673
|
+
var et = function(e) {
|
|
674
|
+
var t = Le(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 = Je([...arguments], t.registered, void 0);
|
|
680
|
+
return Ze(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 $e(t.registered, n, tt(e));
|
|
687
687
|
},
|
|
688
688
|
injectGlobal: function() {
|
|
689
|
-
|
|
689
|
+
Qe(t, Je([...arguments], t.registered));
|
|
690
690
|
},
|
|
691
691
|
keyframes: function() {
|
|
692
|
-
var e =
|
|
693
|
-
return
|
|
692
|
+
var e = Je([...arguments], t.registered), n = "animation-" + e.name;
|
|
693
|
+
return Qe(t, {
|
|
694
694
|
name: e.name,
|
|
695
695
|
styles: "@keyframes " + n + "{" + e.styles + "}"
|
|
696
696
|
}), n;
|
|
@@ -705,10 +705,10 @@ var $e = function(e) {
|
|
|
705
705
|
},
|
|
706
706
|
sheet: t.sheet,
|
|
707
707
|
cache: t,
|
|
708
|
-
getRegisteredStyles:
|
|
709
|
-
merge:
|
|
708
|
+
getRegisteredStyles: Ye.bind(null, t.registered),
|
|
709
|
+
merge: $e.bind(null, t.registered, n)
|
|
710
710
|
};
|
|
711
|
-
},
|
|
711
|
+
}, tt = 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 $e = function(e) {
|
|
|
725
725
|
}
|
|
726
726
|
}
|
|
727
727
|
return n;
|
|
728
|
-
},
|
|
729
|
-
|
|
730
|
-
var
|
|
731
|
-
|
|
732
|
-
var
|
|
733
|
-
|
|
728
|
+
}, V = et({ key: "css" });
|
|
729
|
+
V.flush, V.hydrate;
|
|
730
|
+
var H = V.cx;
|
|
731
|
+
V.merge, V.getRegisteredStyles;
|
|
732
|
+
var nt = V.injectGlobal, rt = V.keyframes, U = V.css;
|
|
733
|
+
V.sheet, V.cache;
|
|
734
734
|
//#endregion
|
|
735
735
|
//#region \0virtual:svg-sprite
|
|
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 = {
|
|
736
|
+
var it = "<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-info\" viewBox=\"0 0 24 24\"><path d=\"M2.5 12c0-4.478 0-6.718 1.391-8.109S7.521 2.5 12 2.5c4.478 0 6.718 0 8.109 1.391S21.5 7.521 21.5 12c0 4.478 0 6.718-1.391 8.109S16.479 21.5 12 21.5c-4.478 0-6.718 0-8.109-1.391S2.5 16.479 2.5 12\"/><path d=\"M12 16v-4\"/><path d=\"M12.125 8.25H12m.25 0a.25.25 0 1 0-.5 0 .25.25 0 0 0 .5 0\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-menu\" viewBox=\"0 0 24 24\"><path d=\"M4 9h16\"/><path d=\"M4 15h10\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-plus\" viewBox=\"0 0 24 24\"><path d=\"M11.992 4v16m8-8h-16\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-skull\" viewBox=\"0 0 24 24\"><path d=\"M12 3c-4.97 0-9 3.582-9 8 0 2.37 1.16 4.5 3.002 5.964l.29.232c.5.423.687.811.707 1.467l.001.203c0 .124 0 .187.003.239a2 2 0 0 0 1.892 1.892c.052.003.115.003.239.003h5.732c.124 0 .187 0 .239-.003a2 2 0 0 0 1.892-1.892c.003-.052.003-.115.003-.239v-.203c.02-.656.208-1.044.709-1.467.023-.02.111-.09.29-.232C19.84 15.5 21 13.37 21 11c0-4.418-4.03-8-9-8\"/><path d=\"M10 21v-2\"/><path d=\"M14 21v-2\"/><path d=\"M8 11v-.5m1 .5a1 1 0 1 1-2 0 1 1 0 0 1 2 0\"/><path d=\"M16 11v-.5m1 .5a1 1 0 1 1-2 0 1 1 0 0 1 2 0\"/><path d=\"m12.5 15-.5-1-.5 1z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-squares-cog\" viewBox=\"0 0 24 24\"><path d=\"M17.25 3v1.34m0 0c.666 0 1.268.27 1.704.706M17.25 4.34c-.666 0-1.268.27-1.704.706M17.25 9.16v1.34m0-1.339c.666 0 1.268-.27 1.705-.706m-1.705.706c-.666 0-1.268-.27-1.705-.706M21 6.75h-1.34m0 0c0 .666-.27 1.269-.705 1.705m.706-1.705a2.4 2.4 0 0 0-.707-1.704M14.84 6.75H13.5m1.34 0c0-.665.27-1.268.706-1.704m-.707 1.704c0 .666.27 1.269.706 1.705m4.357-4.357-.948.948m-4.356 4.356.947-.947m4.357.947-.947-.947m-4.357-4.357.947.948\"/><path d=\"M13.69 19.457c-.19-.46-.19-1.042-.19-2.207s0-1.747.19-2.207a2.5 2.5 0 0 1 1.353-1.353c.46-.19 1.042-.19 2.207-.19s1.747 0 2.207.19a2.5 2.5 0 0 1 1.353 1.353c.19.46.19 1.042.19 2.207s0 1.747-.19 2.207a2.5 2.5 0 0 1-1.353 1.353c-.46.19-1.042.19-2.207.19s-1.747 0-2.207-.19a2.5 2.5 0 0 1-1.353-1.353\"/><path d=\"M3.19 19.457C3 18.997 3 18.415 3 17.25s0-1.747.19-2.207a2.5 2.5 0 0 1 1.353-1.353c.46-.19 1.042-.19 2.207-.19s1.747 0 2.207.19a2.5 2.5 0 0 1 1.353 1.353c.19.46.19 1.042.19 2.207s0 1.747-.19 2.207a2.5 2.5 0 0 1-1.353 1.353c-.46.19-1.042.19-2.207.19s-1.747 0-2.207-.19a2.5 2.5 0 0 1-1.353-1.353\"/><path d=\"M3.19 8.957C3 8.497 3 7.915 3 6.75s0-1.747.19-2.207A2.5 2.5 0 0 1 4.543 3.19C5.003 3 5.585 3 6.75 3s1.747 0 2.207.19a2.5 2.5 0 0 1 1.353 1.353c.19.46.19 1.042.19 2.207s0 1.747-.19 2.207a2.5 2.5 0 0 1-1.353 1.353c-.46.19-1.042.19-2.207.19s-1.747 0-2.207-.19A2.5 2.5 0 0 1 3.19 8.957\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-stack\" viewBox=\"0 0 24 24\"><path d=\"M21 14c0 1.4 0 2.1-.273 2.635a2.5 2.5 0 0 1-1.092 1.092C19.1 18 18.4 18 17 18H7c-1.4 0-2.1 0-2.635-.273a2.5 2.5 0 0 1-1.093-1.092C3 16.1 3 15.4 3 14\"/><path d=\"M6 14h12\"/><path d=\"M6 10h12\"/><path d=\"M6 6h12\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-terminal\" viewBox=\"0 0 24 24\"><path d=\"M7.492 7.5 8.72 8.557c.515.445.773.667.773.943s-.258.498-.773.943L7.492 11.5\"/><path d=\"M11.492 12.5h4\"/><path d=\"M11.992 21c3.75 0 5.625 0 6.94-.955a5 5 0 0 0 1.105-1.106c.955-1.314.955-3.19.955-6.939s0-5.625-.955-6.939a5 5 0 0 0-1.106-1.106C17.617 3 15.741 3 11.992 3s-5.624 0-6.939.955A5 5 0 0 0 3.947 5.06c-.955 1.314-.955 3.19-.955 6.939s0 5.625.955 6.939a5 5 0 0 0 1.106 1.106c1.315.955 3.19.955 6.94.955\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-x\" viewBox=\"0 0 24 24\"><path d=\"m18 6-6 6m0 0-6 6m6-6 6 6m-6-6L6 6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-bookmark\" viewBox=\"0 0 24 24\"><path stroke-linejoin=\"round\" d=\"M11 2C7.229 2 5.343 2 4.172 3.129 3 4.257 3 6.074 3 9.708v8.273c0 2.306 0 3.459.773 3.871 1.496.8 4.304-1.867 5.637-2.67.773-.465 1.16-.698 1.59-.698s.817.233 1.59.698c1.333.803 4.14 3.47 5.637 2.67.773-.412.773-1.565.773-3.871V13\"/><path d=\"M17 10V2m-4 4h8\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-bug\" viewBox=\"0 0 24 24\"><path d=\"M3.012 6.597c-.12 1.06.646 3.598 2.865 3.658\"/><path d=\"M18.29 10.195c1.078.06 2.697-1.2 2.697-3.598\"/><path d=\"M20.088 20.988c.06-1.38-.84-3.514-2.579-3.574\"/><path d=\"M3.901 20.988c-.06-1.388.858-3.537 2.636-3.597\"/><path d=\"M3.012 13.793h2.206\"/><path d=\"M21 13.793h-2.172\"/><path d=\"M11.993 13.793v-2.938M16.49 3l-1.799 1.799m-7.195-1.8 1.799 1.8\"/><path d=\"M6.956 8.612c1.619 1.163 5.636 2.842 10.014.072\"/><path d=\"M16.826 7.677c-3.574-4.977-8.13-2.579-9.75.144-1.055 1.774-2.698 6.068.42 10.745 3.358 4.1 7.315 2.242 8.934.083 1.56-1.858 3.094-6.655.396-10.972Z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-loader\" viewBox=\"0 0 24 24\"><path d=\"M11.996 3v3\"/><path d=\"M11.996 18v3\"/><path d=\"M20.996 12h-3\"/><path d=\"M5.996 12h-3\"/><path d=\"m18.36 5.637-2.122 2.121\"/><path d=\"m7.754 16.242-2.121 2.121\"/><path d=\"m18.36 18.364-2.122-2.122\"/><path d=\"M7.754 7.758 5.633 5.637\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-trash\" viewBox=\"0 0 24 24\"><path d=\"m19.5 5.5-.62 10.025c-.158 2.561-.237 3.842-.88 4.763a4 4 0 0 1-1.2 1.128c-.957.584-2.24.584-4.806.584-2.57 0-3.855 0-4.814-.585a4 4 0 0 1-1.2-1.13c-.642-.922-.72-2.205-.874-4.77L4.5 5.5\"/><path d=\"M3 5.5h18m-4.944 0-.683-1.408c-.453-.936-.68-1.403-1.071-1.695a2 2 0 0 0-.275-.172C13.594 2 13.074 2 12.035 2c-1.066 0-1.599 0-2.04.234a2 2 0 0 0-.278.18c-.395.303-.616.788-1.058 1.757L8.053 5.5\"/><path d=\"M9.5 16.5v-6\"/><path d=\"M14.5 16.5v-6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-award\" viewBox=\"0 0 24 24\"><path d=\"M9.426 3.063C10.684 2.354 11.312 2 12 2s1.316.354 2.574 1.063l1.75.986c1.305.735 1.958 1.103 2.317 1.718S19 7.132 19 8.632v1.736c0 1.5 0 2.25-.36 2.865-.358.615-1.01.983-2.316 1.718l-1.75.986C13.316 16.646 12.688 17 12 17s-1.316-.354-2.574-1.063l-1.75-.986c-1.305-.735-1.958-1.103-2.317-1.718S5 11.868 5 10.368V8.632c0-1.5 0-2.25.36-2.865.358-.615 1.01-.983 2.316-1.718z\"/><path stroke-linecap=\"round\" d=\"m16.883 15 .67 3.21c.43 2.062.646 3.093.203 3.582-.442.489-1.21.069-2.746-.772l-2.274-1.245c-.363-.198-.544-.298-.736-.298s-.373.1-.736.298L8.99 21.02c-1.536.84-2.304 1.261-2.746.772s-.227-1.52.203-3.582l.67-3.21\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-list-play\" viewBox=\"0 0 24 24\"><path stroke-linecap=\"round\" d=\"M3 5h18\"/><path stroke-linecap=\"round\" d=\"M3 12h6\"/><path d=\"M20.945 15.451c-.176.716-1.012 1.223-2.682 2.235-1.615.979-2.422 1.468-3.073 1.271a1.6 1.6 0 0 1-.712-.448C14 17.994 14 16.996 14 15s0-2.994.478-3.509c.198-.212.443-.367.712-.448.65-.197 1.458.293 3.073 1.271 1.67 1.012 2.506 1.518 2.682 2.235a1.9 1.9 0 0 1 0 .902Z\"/><path stroke-linecap=\"round\" d=\"M3 19h6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-play\" viewBox=\"0 0 24 24\"><path d=\"M18.89 12.846c-.353 1.343-2.023 2.292-5.364 4.19-3.23 1.835-4.845 2.752-6.146 2.384a3.25 3.25 0 0 1-1.424-.841C5 17.614 5 15.743 5 12s0-5.614.956-6.579a3.25 3.25 0 0 1 1.424-.84c1.301-.37 2.916.548 6.146 2.383 3.34 1.898 5.011 2.847 5.365 4.19a3.3 3.3 0 0 1 0 1.692Z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-sparkles\" viewBox=\"0 0 24 24\"><path d=\"m15 2 .539 2.392a5.39 5.39 0 0 0 4.07 4.07L22 9l-2.392.539a5.39 5.39 0 0 0-4.07 4.07L15 16l-.539-2.392a5.39 5.39 0 0 0-4.07-4.07L8 9l2.392-.539a5.39 5.39 0 0 0 4.07-4.07z\"/><path d=\"m7 12 .385 1.708a3.85 3.85 0 0 0 2.907 2.907L12 17l-1.708.385a3.85 3.85 0 0 0-2.907 2.907L7 22l-.385-1.708a3.85 3.85 0 0 0-2.907-2.907L2 17l1.708-.385a3.85 3.85 0 0 0 2.907-2.907z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-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>", at = !1, ot = new URL("./assets/manrope.woff2", import.meta.url).href ?? "/fonts/manrope.woff2", W = {
|
|
737
737
|
fontFamily: "Manrope",
|
|
738
738
|
zIndex: {
|
|
739
739
|
front: 1,
|
|
@@ -770,10 +770,10 @@ var rt = "<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
|
+
at || typeof document > "u" || (nt(`
|
|
774
774
|
@font-face {
|
|
775
775
|
font-family: 'Manrope';
|
|
776
|
-
src: url('${
|
|
776
|
+
src: url('${ot}') format('woff2');
|
|
777
777
|
font-weight: 100 900;
|
|
778
778
|
font-style: normal;
|
|
779
779
|
font-display: swap;
|
|
@@ -855,70 +855,55 @@ var rt = "<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", it), at = !0));
|
|
859
859
|
}
|
|
860
860
|
};
|
|
861
861
|
//#endregion
|
|
862
862
|
//#region src/components/_icon.jsx
|
|
863
|
-
function
|
|
863
|
+
function G({ className: e, size: t = "1.25rem", color: n = W.colors.fore.primary, iconName: r, isSpinning: i }) {
|
|
864
864
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("svg", {
|
|
865
|
-
className:
|
|
865
|
+
className: H(st.base, e),
|
|
866
866
|
style: {
|
|
867
867
|
color: n,
|
|
868
868
|
width: t,
|
|
869
869
|
height: t
|
|
870
870
|
},
|
|
871
|
-
"aria-hidden": "true",
|
|
872
871
|
"is-spinning": i || void 0,
|
|
873
872
|
children: /* @__PURE__ */ s("use", { href: `#icon-${r}` })
|
|
874
873
|
}) });
|
|
875
874
|
}
|
|
876
|
-
var
|
|
875
|
+
var st = { base: U`
|
|
877
876
|
fill: currentColor;
|
|
878
877
|
display: inline-block;
|
|
879
878
|
flex-shrink: 0;
|
|
880
879
|
will-change: transform;
|
|
881
880
|
transition: transform .1s linear;
|
|
882
881
|
|
|
883
|
-
&[is-spinning] { animation: ${
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
887
|
-
}
|
|
888
|
-
|
|
889
|
-
35% { transform: rotate(180deg); }
|
|
890
|
-
|
|
891
|
-
55% {
|
|
892
|
-
transform: rotate(180deg);
|
|
893
|
-
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
894
|
-
}
|
|
895
|
-
|
|
896
|
-
80% { transform: rotate(360deg); }
|
|
897
|
-
100% { transform: rotate(360deg); }
|
|
882
|
+
&[is-spinning] { animation: ${rt`
|
|
883
|
+
from { transform: rotate(0deg); }
|
|
884
|
+
to { transform: rotate(360deg); }
|
|
898
885
|
`} 3s linear infinite; }
|
|
899
886
|
` };
|
|
900
887
|
//#endregion
|
|
901
888
|
//#region src/components/_popup-box.jsx
|
|
902
|
-
function
|
|
889
|
+
function ct({ className: e, trigger: t, children: n, isOpen: r = !1, origin: i = "center", width: a }) {
|
|
903
890
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("div", {
|
|
904
|
-
className:
|
|
905
|
-
children: [t,
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
style: { width: u },
|
|
909
|
-
role: l,
|
|
891
|
+
className: lt.base,
|
|
892
|
+
children: [t, r && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
893
|
+
className: H(lt.popup, lt[i] ?? lt.center, e),
|
|
894
|
+
style: { width: a },
|
|
910
895
|
children: n
|
|
911
896
|
}) })]
|
|
912
897
|
}) });
|
|
913
898
|
}
|
|
914
|
-
var
|
|
915
|
-
base:
|
|
899
|
+
var lt = {
|
|
900
|
+
base: U`
|
|
916
901
|
display: inline-block;
|
|
917
902
|
position: relative;
|
|
918
903
|
`,
|
|
919
|
-
popup:
|
|
904
|
+
popup: U`
|
|
920
905
|
position: absolute;
|
|
921
|
-
z-index: ${
|
|
906
|
+
z-index: ${W.zIndex.front + 1};
|
|
922
907
|
top: calc(100% + .5rem);
|
|
923
908
|
min-width: 100%;
|
|
924
909
|
width: max-content;
|
|
@@ -926,125 +911,82 @@ var ct = {
|
|
|
926
911
|
padding: .5rem;
|
|
927
912
|
border: solid 1px #e5e7e9;
|
|
928
913
|
border-radius: 10px;
|
|
929
|
-
color: ${
|
|
930
|
-
background-color: ${
|
|
914
|
+
color: ${W.colors.fore.primary};
|
|
915
|
+
background-color: ${W.colors.back.primary};
|
|
931
916
|
box-shadow: 0 6px 20px rgb(22 24 38 / 10%);
|
|
932
|
-
font-family: ${
|
|
917
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
933
918
|
`,
|
|
934
|
-
center:
|
|
919
|
+
center: U`
|
|
935
920
|
left: 50%;
|
|
936
921
|
transform: translateX(-50%);
|
|
937
922
|
`,
|
|
938
|
-
left:
|
|
923
|
+
left: U`
|
|
939
924
|
left: 0;
|
|
940
925
|
`,
|
|
941
|
-
right:
|
|
926
|
+
right: U`
|
|
942
927
|
right: 0;
|
|
943
928
|
`,
|
|
944
|
-
leftSide:
|
|
929
|
+
leftSide: U`
|
|
945
930
|
top: 0;
|
|
946
931
|
right: calc(100% + 1rem);
|
|
947
932
|
`,
|
|
948
|
-
rightSide:
|
|
933
|
+
rightSide: U`
|
|
949
934
|
top: 0;
|
|
950
935
|
left: calc(100% + 1rem);
|
|
951
936
|
`
|
|
952
937
|
};
|
|
953
938
|
//#endregion
|
|
954
939
|
//#region src/components/_actions.jsx
|
|
955
|
-
function
|
|
940
|
+
function ut({ items: e = [] }) {
|
|
956
941
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("nav", {
|
|
957
|
-
className:
|
|
958
|
-
children: e.map((e) => /* @__PURE__ */ s(
|
|
942
|
+
className: K.base,
|
|
943
|
+
children: e.map((e) => /* @__PURE__ */ s(dt, { item: e }))
|
|
959
944
|
}) });
|
|
960
945
|
}
|
|
961
|
-
function
|
|
962
|
-
let t =
|
|
946
|
+
function dt({ item: e }) {
|
|
947
|
+
let t = a(null), i = n(!1), l = e.subActions ?? e.items ?? [], u = l.length > 0;
|
|
963
948
|
r(() => {
|
|
964
|
-
if (!
|
|
949
|
+
if (!i.value) return;
|
|
965
950
|
function e({ target: e }) {
|
|
966
|
-
|
|
951
|
+
t.current?.contains(e) || (i.value = !1);
|
|
967
952
|
}
|
|
968
953
|
return document.addEventListener("pointerdown", e), () => document.removeEventListener("pointerdown", e);
|
|
969
|
-
}, [
|
|
970
|
-
function
|
|
971
|
-
if (
|
|
972
|
-
|
|
954
|
+
}, [i.value]);
|
|
955
|
+
function d(t) {
|
|
956
|
+
if (u) {
|
|
957
|
+
i.value = !i.value;
|
|
973
958
|
return;
|
|
974
959
|
}
|
|
975
960
|
t.stopPropagation(), t.preventDefault(), e.onClick?.(t);
|
|
976
961
|
}
|
|
977
|
-
function
|
|
978
|
-
|
|
979
|
-
}
|
|
980
|
-
function _(e) {
|
|
981
|
-
if (e.key === "Escape" && f.value) {
|
|
982
|
-
e.preventDefault(), g();
|
|
983
|
-
return;
|
|
984
|
-
}
|
|
985
|
-
e.key === "ArrowDown" && m && (e.preventDefault(), f.value = !0, requestAnimationFrame(() => d.current[0]?.focus()));
|
|
986
|
-
}
|
|
987
|
-
function v(e, t) {
|
|
988
|
-
e.stopPropagation(), e.preventDefault(), f.value = !1, t.onClick?.(e);
|
|
989
|
-
}
|
|
990
|
-
function y(e, t) {
|
|
991
|
-
if (e.key === "Escape") {
|
|
992
|
-
e.preventDefault(), g();
|
|
993
|
-
return;
|
|
994
|
-
}
|
|
995
|
-
if (e.key === "Tab") {
|
|
996
|
-
f.value = !1;
|
|
997
|
-
return;
|
|
998
|
-
}
|
|
999
|
-
if (![
|
|
1000
|
-
"ArrowDown",
|
|
1001
|
-
"ArrowUp",
|
|
1002
|
-
"Home",
|
|
1003
|
-
"End"
|
|
1004
|
-
].includes(e.key)) return;
|
|
1005
|
-
if (e.preventDefault(), e.key === "Home") {
|
|
1006
|
-
d.current[0]?.focus();
|
|
1007
|
-
return;
|
|
1008
|
-
}
|
|
1009
|
-
if (e.key === "End") {
|
|
1010
|
-
d.current[p.length - 1]?.focus();
|
|
1011
|
-
return;
|
|
1012
|
-
}
|
|
1013
|
-
let n = (t + (e.key === "ArrowDown" ? 1 : -1) + p.length) % p.length;
|
|
1014
|
-
d.current[n]?.focus();
|
|
962
|
+
function f(e, t) {
|
|
963
|
+
e.stopPropagation(), e.preventDefault(), i.value = !1, t.onClick?.(e);
|
|
1015
964
|
}
|
|
1016
965
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1017
|
-
ref:
|
|
1018
|
-
className:
|
|
1019
|
-
children: /* @__PURE__ */ s(
|
|
1020
|
-
className:
|
|
966
|
+
ref: t,
|
|
967
|
+
className: K.action,
|
|
968
|
+
children: /* @__PURE__ */ s(ct, {
|
|
969
|
+
className: K.popup,
|
|
1021
970
|
trigger: /* @__PURE__ */ c("button", {
|
|
1022
|
-
ref: u,
|
|
1023
971
|
type: "button",
|
|
1024
|
-
className:
|
|
972
|
+
className: H(K.button, !e.label && K.iconOnly),
|
|
1025
973
|
disabled: e.isDisabled,
|
|
1026
974
|
"is-clickable": !e.isDisabled || void 0,
|
|
1027
975
|
"is-disabled": e.isDisabled || void 0,
|
|
1028
|
-
onClick:
|
|
1029
|
-
|
|
1030
|
-
children: [e.iconName && /* @__PURE__ */ s(K, {
|
|
976
|
+
onClick: d,
|
|
977
|
+
children: [e.iconName && /* @__PURE__ */ s(G, {
|
|
1031
978
|
iconName: e.iconName,
|
|
1032
979
|
size: "1rem"
|
|
1033
980
|
}), e.label && /* @__PURE__ */ s("span", { children: e.label })]
|
|
1034
981
|
}),
|
|
1035
|
-
|
|
1036
|
-
isOpen: f.value,
|
|
982
|
+
isOpen: i.value,
|
|
1037
983
|
origin: "right",
|
|
1038
|
-
|
|
1039
|
-
children: p.map((e, t) => /* @__PURE__ */ c("button", {
|
|
1040
|
-
ref: (e) => d.current[t] = e,
|
|
984
|
+
children: l.map((e, t) => /* @__PURE__ */ c("button", {
|
|
1041
985
|
type: "button",
|
|
1042
|
-
|
|
1043
|
-
className: q.option,
|
|
986
|
+
className: K.option,
|
|
1044
987
|
disabled: e.isDisabled,
|
|
1045
|
-
onClick: (t) =>
|
|
1046
|
-
|
|
1047
|
-
children: [e.iconName && /* @__PURE__ */ s(K, {
|
|
988
|
+
onClick: (t) => f(t, e),
|
|
989
|
+
children: [e.iconName && /* @__PURE__ */ s(G, {
|
|
1048
990
|
iconName: e.iconName,
|
|
1049
991
|
size: "1rem"
|
|
1050
992
|
}), e.label && /* @__PURE__ */ s("span", { children: e.label })]
|
|
@@ -1052,42 +994,42 @@ function ut({ item: e }) {
|
|
|
1052
994
|
})
|
|
1053
995
|
}) });
|
|
1054
996
|
}
|
|
1055
|
-
var
|
|
1056
|
-
base:
|
|
997
|
+
var K = {
|
|
998
|
+
base: U`
|
|
1057
999
|
display: flex;
|
|
1058
1000
|
align-items: center;
|
|
1059
1001
|
gap: .5rem;
|
|
1060
1002
|
`,
|
|
1061
|
-
button:
|
|
1003
|
+
button: U`
|
|
1062
1004
|
display: flex;
|
|
1063
1005
|
align-items: center;
|
|
1064
1006
|
gap: .4rem;
|
|
1065
1007
|
min-height: 2.3rem;
|
|
1066
1008
|
padding: .6rem .8rem;
|
|
1067
1009
|
border-radius: 8px;
|
|
1068
|
-
background-color: ${
|
|
1069
|
-
color: ${
|
|
1010
|
+
background-color: ${W.colors.back.secondary};
|
|
1011
|
+
color: ${W.colors.fore.primary};
|
|
1070
1012
|
letter-spacing: 1px;
|
|
1071
1013
|
font-weight: 500;
|
|
1072
1014
|
white-space: nowrap;
|
|
1073
1015
|
`,
|
|
1074
|
-
iconOnly:
|
|
1016
|
+
iconOnly: U`
|
|
1075
1017
|
width: 2.3rem;
|
|
1076
1018
|
justify-content: center;
|
|
1077
1019
|
`,
|
|
1078
|
-
popup:
|
|
1020
|
+
popup: U`
|
|
1079
1021
|
display: grid;
|
|
1080
1022
|
gap: .125rem;
|
|
1081
1023
|
min-width: 10rem;
|
|
1082
1024
|
`,
|
|
1083
|
-
option:
|
|
1025
|
+
option: U`
|
|
1084
1026
|
display: flex;
|
|
1085
1027
|
align-items: center;
|
|
1086
1028
|
gap: .5rem;
|
|
1087
1029
|
width: 100%;
|
|
1088
1030
|
padding: .6rem .75rem;
|
|
1089
1031
|
border-radius: 7px;
|
|
1090
|
-
color: ${
|
|
1032
|
+
color: ${W.colors.fore.primary};
|
|
1091
1033
|
font-weight: 500;
|
|
1092
1034
|
text-align: left;
|
|
1093
1035
|
white-space: nowrap;
|
|
@@ -1095,63 +1037,63 @@ var q = {
|
|
|
1095
1037
|
};
|
|
1096
1038
|
//#endregion
|
|
1097
1039
|
//#region src/components/_text.jsx
|
|
1098
|
-
function
|
|
1040
|
+
function ft({ as: e = "span", className: t, size: n = "normal", color: r = W.colors.fore.primary, children: i }) {
|
|
1099
1041
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s(e, {
|
|
1100
|
-
className:
|
|
1042
|
+
className: H(pt.base, pt[n] ?? pt.normal, t),
|
|
1101
1043
|
style: { color: r },
|
|
1102
1044
|
children: i
|
|
1103
1045
|
}) });
|
|
1104
1046
|
}
|
|
1105
|
-
var
|
|
1106
|
-
base:
|
|
1047
|
+
var pt = {
|
|
1048
|
+
base: U`
|
|
1107
1049
|
font-weight: 500;
|
|
1108
1050
|
letter-spacing: 1px;
|
|
1109
1051
|
`,
|
|
1110
|
-
normal:
|
|
1052
|
+
normal: U`
|
|
1111
1053
|
font-size: 1rem;
|
|
1112
1054
|
line-height: 1.125rem;
|
|
1113
1055
|
`,
|
|
1114
|
-
small:
|
|
1056
|
+
small: U`
|
|
1115
1057
|
font-size: .75rem;
|
|
1116
1058
|
line-height: 1rem;
|
|
1117
1059
|
`,
|
|
1118
|
-
tiny:
|
|
1060
|
+
tiny: U`
|
|
1119
1061
|
font-size: .65rem;
|
|
1120
1062
|
line-height: 1rem;
|
|
1121
1063
|
`
|
|
1122
1064
|
};
|
|
1123
1065
|
//#endregion
|
|
1124
1066
|
//#region src/components/_app-wrapper.jsx
|
|
1125
|
-
function
|
|
1067
|
+
function mt({ maxWidth: e = "67.5rem", logo: t, version: n, actions: r = [], children: i }) {
|
|
1126
1068
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("div", {
|
|
1127
|
-
className:
|
|
1069
|
+
className: q.base,
|
|
1128
1070
|
children: [
|
|
1129
1071
|
/* @__PURE__ */ c("header", {
|
|
1130
|
-
className:
|
|
1072
|
+
className: q.header,
|
|
1131
1073
|
children: [t && /* @__PURE__ */ s("a", {
|
|
1132
1074
|
href: "/",
|
|
1133
1075
|
children: /* @__PURE__ */ s("img", {
|
|
1134
|
-
className:
|
|
1076
|
+
className: q.logo,
|
|
1135
1077
|
src: t
|
|
1136
1078
|
})
|
|
1137
|
-
}), r.length > 0 && /* @__PURE__ */ s(
|
|
1079
|
+
}), r.length > 0 && /* @__PURE__ */ s(ut, { items: r })]
|
|
1138
1080
|
}),
|
|
1139
1081
|
/* @__PURE__ */ s("div", {
|
|
1140
|
-
className:
|
|
1082
|
+
className: q.inner,
|
|
1141
1083
|
style: { maxWidth: e },
|
|
1142
1084
|
children: i
|
|
1143
1085
|
}),
|
|
1144
|
-
n && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c(
|
|
1145
|
-
className:
|
|
1086
|
+
n && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c(ft, {
|
|
1087
|
+
className: q.version,
|
|
1146
1088
|
size: "small",
|
|
1147
|
-
color:
|
|
1089
|
+
color: W.colors.fore.secondary,
|
|
1148
1090
|
children: ["v", n]
|
|
1149
1091
|
}) })
|
|
1150
1092
|
]
|
|
1151
1093
|
}) });
|
|
1152
1094
|
}
|
|
1153
|
-
var
|
|
1154
|
-
base:
|
|
1095
|
+
var q = {
|
|
1096
|
+
base: U`
|
|
1155
1097
|
// The template is stretched over the entire viewport, and the vertical
|
|
1156
1098
|
// scrollbar is enabled manually.
|
|
1157
1099
|
// This is necessary so that the modal overlays can cover the scrollbar,
|
|
@@ -1159,30 +1101,30 @@ var J = {
|
|
|
1159
1101
|
// when it's displayed or not.
|
|
1160
1102
|
// Normally, we'd use the body element for this, but the modal overlay
|
|
1161
1103
|
// can't cover the scrollbar of the body element.
|
|
1162
|
-
${
|
|
1104
|
+
${W.extends.stretch}
|
|
1163
1105
|
overflow-y: scroll;
|
|
1164
1106
|
overflow-x: hidden;
|
|
1165
1107
|
scroll-behavior: smooth;
|
|
1166
1108
|
`,
|
|
1167
|
-
header:
|
|
1109
|
+
header: U`
|
|
1168
1110
|
display: flex;
|
|
1169
1111
|
padding: 4rem 5rem;
|
|
1170
1112
|
align-items: center;
|
|
1171
1113
|
justify-content: space-between;
|
|
1172
1114
|
`,
|
|
1173
|
-
logo:
|
|
1115
|
+
logo: U`
|
|
1174
1116
|
display: block;
|
|
1175
1117
|
pointer-events: auto;
|
|
1176
1118
|
display: block;
|
|
1177
1119
|
max-width: 8rem;
|
|
1178
1120
|
max-height: 3rem;
|
|
1179
1121
|
`,
|
|
1180
|
-
inner:
|
|
1122
|
+
inner: U`
|
|
1181
1123
|
position: relative;
|
|
1182
1124
|
padding: 4rem 0;
|
|
1183
1125
|
margin: 0 auto;
|
|
1184
1126
|
`,
|
|
1185
|
-
version:
|
|
1127
|
+
version: U`
|
|
1186
1128
|
position: fixed;
|
|
1187
1129
|
left: 2rem;
|
|
1188
1130
|
bottom: 2rem;
|
|
@@ -1190,26 +1132,26 @@ var J = {
|
|
|
1190
1132
|
};
|
|
1191
1133
|
//#endregion
|
|
1192
1134
|
//#region src/components/_toolbar.jsx
|
|
1193
|
-
function
|
|
1135
|
+
function ht({ items: e = [], side: t = "left", width: r, maxHeight: i }) {
|
|
1194
1136
|
let a = n(null), l = t === "right" ? "rightSide" : "leftSide";
|
|
1195
1137
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("nav", {
|
|
1196
|
-
className:
|
|
1138
|
+
className: J.base,
|
|
1197
1139
|
style: { maxHeight: i },
|
|
1198
1140
|
children: [/* @__PURE__ */ s("div", {
|
|
1199
|
-
className:
|
|
1200
|
-
children: e.map((e, t) => /* @__PURE__ */ s(
|
|
1141
|
+
className: J.buttons,
|
|
1142
|
+
children: e.map((e, t) => /* @__PURE__ */ s(gt, {
|
|
1201
1143
|
item: e,
|
|
1202
1144
|
isOpen: a.value === t,
|
|
1203
1145
|
onToggle: () => a.value = a.value === t ? null : t
|
|
1204
1146
|
}, e.iconName ?? t))
|
|
1205
|
-
}), a.value != null && /* @__PURE__ */ s(
|
|
1147
|
+
}), a.value != null && /* @__PURE__ */ s(_t, {
|
|
1206
1148
|
content: e[a.value]?.content ?? e[a.value]?.children,
|
|
1207
1149
|
side: l,
|
|
1208
1150
|
width: r
|
|
1209
1151
|
})]
|
|
1210
1152
|
}) });
|
|
1211
1153
|
}
|
|
1212
|
-
function
|
|
1154
|
+
function gt({ item: e, isOpen: t, onToggle: n }) {
|
|
1213
1155
|
let r = (e.content ?? e.children) != null;
|
|
1214
1156
|
function i(t) {
|
|
1215
1157
|
if (!r) {
|
|
@@ -1219,33 +1161,32 @@ function ht({ item: e, isOpen: t, onToggle: n }) {
|
|
|
1219
1161
|
t.preventDefault(), n();
|
|
1220
1162
|
}
|
|
1221
1163
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1222
|
-
className:
|
|
1164
|
+
className: J.item,
|
|
1223
1165
|
children: /* @__PURE__ */ s("button", {
|
|
1224
1166
|
type: "button",
|
|
1225
|
-
className:
|
|
1167
|
+
className: H(J.button, t && J.active),
|
|
1226
1168
|
disabled: e.isDisabled,
|
|
1227
1169
|
"is-clickable": !e.isDisabled || void 0,
|
|
1228
1170
|
"is-disabled": e.isDisabled || void 0,
|
|
1229
1171
|
onClick: i,
|
|
1230
|
-
children: /* @__PURE__ */ s(
|
|
1172
|
+
children: /* @__PURE__ */ s(G, {
|
|
1231
1173
|
iconName: e.iconName,
|
|
1232
1174
|
size: "1.5rem"
|
|
1233
1175
|
})
|
|
1234
1176
|
})
|
|
1235
1177
|
}) });
|
|
1236
1178
|
}
|
|
1237
|
-
function
|
|
1179
|
+
function _t({ content: e, side: t, width: n }) {
|
|
1238
1180
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1239
|
-
className:
|
|
1181
|
+
className: H(J.popup, t === "rightSide" ? J.right : J.left),
|
|
1240
1182
|
style: { width: n },
|
|
1241
|
-
role: "dialog",
|
|
1242
1183
|
children: e
|
|
1243
1184
|
}) });
|
|
1244
1185
|
}
|
|
1245
|
-
var
|
|
1246
|
-
base:
|
|
1186
|
+
var J = {
|
|
1187
|
+
base: U`
|
|
1247
1188
|
position: fixed;
|
|
1248
|
-
z-index: ${
|
|
1189
|
+
z-index: ${W.zIndex.front};
|
|
1249
1190
|
top: 40%;
|
|
1250
1191
|
right: 0;
|
|
1251
1192
|
display: flex;
|
|
@@ -1254,70 +1195,70 @@ var Y = {
|
|
|
1254
1195
|
padding: .5rem;
|
|
1255
1196
|
border-right: 0;
|
|
1256
1197
|
border-radius: 10px 0 0 10px;
|
|
1257
|
-
background-color: ${
|
|
1198
|
+
background-color: ${W.colors.back.primary};
|
|
1258
1199
|
box-shadow: 0 6px 20px rgb(22 24 38 / 10%);
|
|
1259
1200
|
transform: translateY(-50%);
|
|
1260
1201
|
`,
|
|
1261
|
-
buttons:
|
|
1202
|
+
buttons: U`
|
|
1262
1203
|
display: flex;
|
|
1263
1204
|
flex-direction: column;
|
|
1264
1205
|
gap: .5rem;
|
|
1265
1206
|
max-height: inherit;
|
|
1266
1207
|
overflow-y: auto;
|
|
1267
1208
|
`,
|
|
1268
|
-
item:
|
|
1209
|
+
item: U`
|
|
1269
1210
|
position: relative;
|
|
1270
1211
|
`,
|
|
1271
|
-
button:
|
|
1212
|
+
button: U`
|
|
1272
1213
|
display: grid;
|
|
1273
1214
|
width: 2.75rem;
|
|
1274
1215
|
height: 2.75rem;
|
|
1275
1216
|
place-items: center;
|
|
1276
1217
|
border-radius: 8px;
|
|
1277
|
-
color: ${
|
|
1278
|
-
background-color: ${
|
|
1218
|
+
color: ${W.colors.fore.primary};
|
|
1219
|
+
background-color: ${W.colors.back.secondary};
|
|
1279
1220
|
transition: background-color .1s linear, color .1s linear;
|
|
1280
1221
|
`,
|
|
1281
|
-
active:
|
|
1282
|
-
color: ${
|
|
1283
|
-
background-color: ${
|
|
1222
|
+
active: U`
|
|
1223
|
+
color: ${W.colors.fore.primary};
|
|
1224
|
+
background-color: ${W.colors.primary};
|
|
1284
1225
|
`,
|
|
1285
|
-
popup:
|
|
1226
|
+
popup: U`
|
|
1286
1227
|
position: absolute;
|
|
1287
|
-
z-index: ${
|
|
1228
|
+
z-index: ${W.zIndex.front + 1};
|
|
1288
1229
|
top: .5rem;
|
|
1289
1230
|
min-width: 12rem;
|
|
1290
1231
|
max-width: calc(100vw - 2rem);
|
|
1291
1232
|
padding: 2rem 1.5rem;
|
|
1292
1233
|
border: solid 1px #e5e7e9;
|
|
1293
1234
|
border-radius: 10px;
|
|
1294
|
-
color: ${
|
|
1295
|
-
background-color: ${
|
|
1235
|
+
color: ${W.colors.fore.primary};
|
|
1236
|
+
background-color: ${W.colors.back.primary};
|
|
1296
1237
|
box-shadow: 0 6px 20px rgb(22 24 38 / 10%);
|
|
1297
|
-
font-family: ${
|
|
1238
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
1298
1239
|
`,
|
|
1299
|
-
left:
|
|
1240
|
+
left: U`
|
|
1300
1241
|
right: calc(100% + 1rem);
|
|
1301
1242
|
`,
|
|
1302
|
-
right:
|
|
1243
|
+
right: U`
|
|
1303
1244
|
left: calc(100% + 1rem);
|
|
1304
1245
|
`
|
|
1305
|
-
},
|
|
1306
|
-
className:
|
|
1246
|
+
}, vt = ({ type: e = "normal", width: t = "100%", value: n = 0 }) => /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1247
|
+
className: Y.base,
|
|
1307
1248
|
style: { width: t },
|
|
1308
1249
|
children: /* @__PURE__ */ s("div", {
|
|
1309
|
-
className:
|
|
1250
|
+
className: H(Y.value, Y[e] ?? Y.normal),
|
|
1310
1251
|
style: { width: `${n}%` }
|
|
1311
1252
|
})
|
|
1312
|
-
}) }),
|
|
1313
|
-
base:
|
|
1253
|
+
}) }), Y = {
|
|
1254
|
+
base: U`
|
|
1314
1255
|
position: relative;
|
|
1315
1256
|
border-radius: 16px;
|
|
1316
1257
|
height: .625rem;
|
|
1317
|
-
border: solid 1px ${
|
|
1318
|
-
background-color: ${
|
|
1258
|
+
border: solid 1px ${W.colors.border};
|
|
1259
|
+
background-color: ${W.colors.back.secondary};
|
|
1319
1260
|
`,
|
|
1320
|
-
value:
|
|
1261
|
+
value: U`
|
|
1321
1262
|
position: absolute;
|
|
1322
1263
|
top: -1px;
|
|
1323
1264
|
bottom: -1px;
|
|
@@ -1326,24 +1267,24 @@ var Y = {
|
|
|
1326
1267
|
will-change: width;
|
|
1327
1268
|
transition: width .3s ease;
|
|
1328
1269
|
`,
|
|
1329
|
-
normal:
|
|
1330
|
-
border: solid 1px ${e(
|
|
1331
|
-
background-color: ${
|
|
1270
|
+
normal: U`
|
|
1271
|
+
border: solid 1px ${e(W.colors.primary, .3)};
|
|
1272
|
+
background-color: ${W.colors.primary};
|
|
1332
1273
|
`,
|
|
1333
|
-
warn:
|
|
1334
|
-
border: solid 1px ${e(
|
|
1335
|
-
background-color: ${
|
|
1274
|
+
warn: U`
|
|
1275
|
+
border: solid 1px ${e(W.colors.secondary, .2)};
|
|
1276
|
+
background-color: ${W.colors.secondary};
|
|
1336
1277
|
`,
|
|
1337
|
-
danger:
|
|
1338
|
-
border: solid 1px ${e(
|
|
1339
|
-
background-color: ${
|
|
1278
|
+
danger: U`
|
|
1279
|
+
border: solid 1px ${e(W.colors.danger, .3)};
|
|
1280
|
+
background-color: ${W.colors.danger};
|
|
1340
1281
|
`
|
|
1341
1282
|
};
|
|
1342
1283
|
//#endregion
|
|
1343
1284
|
//#region src/components/_box.jsx
|
|
1344
1285
|
function yt({ type: e = "normal", className: t, width: n, height: r, children: i }) {
|
|
1345
1286
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1346
|
-
className:
|
|
1287
|
+
className: H(bt.base, bt[e] ?? bt.normal, t),
|
|
1347
1288
|
style: {
|
|
1348
1289
|
width: n,
|
|
1349
1290
|
height: r
|
|
@@ -1352,17 +1293,17 @@ function yt({ type: e = "normal", className: t, width: n, height: r, children: i
|
|
|
1352
1293
|
}) });
|
|
1353
1294
|
}
|
|
1354
1295
|
var bt = {
|
|
1355
|
-
base:
|
|
1296
|
+
base: U`
|
|
1356
1297
|
position: relative;
|
|
1357
1298
|
border-radius: 18px;
|
|
1358
1299
|
border: solid 2px #eee;
|
|
1359
1300
|
padding: 1.875rem 1.25rem;
|
|
1360
|
-
box-shadow: ${
|
|
1301
|
+
box-shadow: ${W.colors.shadow.primary};
|
|
1361
1302
|
`,
|
|
1362
|
-
normal:
|
|
1363
|
-
background-color: ${
|
|
1303
|
+
normal: U`
|
|
1304
|
+
background-color: ${W.colors.back.primary};
|
|
1364
1305
|
`,
|
|
1365
|
-
alternative:
|
|
1306
|
+
alternative: U`
|
|
1366
1307
|
background-color: #fafafa;
|
|
1367
1308
|
`
|
|
1368
1309
|
};
|
|
@@ -1382,7 +1323,7 @@ function xt({ type: e = "primary", label: t, iconName: r, isDisabled: i = !1, is
|
|
|
1382
1323
|
}
|
|
1383
1324
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("button", {
|
|
1384
1325
|
type: "button",
|
|
1385
|
-
className:
|
|
1326
|
+
className: H(Ct.base, Ct[e] ?? Ct.normal),
|
|
1386
1327
|
"has-icon": u,
|
|
1387
1328
|
"is-disabled": i || void 0,
|
|
1388
1329
|
"is-loading": a || void 0,
|
|
@@ -1391,15 +1332,15 @@ function xt({ type: e = "primary", label: t, iconName: r, isDisabled: i = !1, is
|
|
|
1391
1332
|
onClick: f,
|
|
1392
1333
|
children: [
|
|
1393
1334
|
u && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1394
|
-
className:
|
|
1395
|
-
${
|
|
1335
|
+
className: U`
|
|
1336
|
+
${W.extends.verticalCenter}
|
|
1396
1337
|
|
|
1397
1338
|
left: .6rem;
|
|
1398
1339
|
`,
|
|
1399
|
-
children: a ? /* @__PURE__ */ s(
|
|
1340
|
+
children: a ? /* @__PURE__ */ s(G, {
|
|
1400
1341
|
iconName: "loader",
|
|
1401
1342
|
isSpinning: !0
|
|
1402
|
-
}) : /* @__PURE__ */ s(
|
|
1343
|
+
}) : /* @__PURE__ */ s(G, { iconName: r })
|
|
1403
1344
|
}) }),
|
|
1404
1345
|
t,
|
|
1405
1346
|
d.value && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("span", {
|
|
@@ -1415,7 +1356,7 @@ function xt({ type: e = "primary", label: t, iconName: r, isDisabled: i = !1, is
|
|
|
1415
1356
|
]
|
|
1416
1357
|
}) });
|
|
1417
1358
|
}
|
|
1418
|
-
var St =
|
|
1359
|
+
var St = rt`
|
|
1419
1360
|
from {
|
|
1420
1361
|
opacity: .4;
|
|
1421
1362
|
transform: translate(-50%, -50%) scale(0);
|
|
@@ -1426,7 +1367,7 @@ var St = nt`
|
|
|
1426
1367
|
transform: translate(-50%, -50%) scale(1);
|
|
1427
1368
|
}
|
|
1428
1369
|
`, Ct = {
|
|
1429
|
-
base:
|
|
1370
|
+
base: U`
|
|
1430
1371
|
font-size: .9rem;
|
|
1431
1372
|
display: inline-block;
|
|
1432
1373
|
position: relative;
|
|
@@ -1438,7 +1379,7 @@ var St = nt`
|
|
|
1438
1379
|
border-radius: 12px;
|
|
1439
1380
|
will-change: transform, border;
|
|
1440
1381
|
transition: transform .1s linear, border .1s linear;
|
|
1441
|
-
font-family: ${
|
|
1382
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
1442
1383
|
|
|
1443
1384
|
&:active {
|
|
1444
1385
|
transform: translateY(2px);
|
|
@@ -1447,17 +1388,17 @@ var St = nt`
|
|
|
1447
1388
|
|
|
1448
1389
|
&[has-icon] { padding-left: 2rem; }
|
|
1449
1390
|
`,
|
|
1450
|
-
primary:
|
|
1451
|
-
color: ${e(
|
|
1452
|
-
border-bottom: solid 3px ${e(
|
|
1453
|
-
background-color: ${
|
|
1391
|
+
primary: U`
|
|
1392
|
+
color: ${e(W.colors.primary, .5)};
|
|
1393
|
+
border-bottom: solid 3px ${e(W.colors.primary, .25)};
|
|
1394
|
+
background-color: ${W.colors.primary};
|
|
1454
1395
|
`,
|
|
1455
|
-
secondary:
|
|
1456
|
-
color: ${e(
|
|
1457
|
-
border-bottom: solid 3px ${e(
|
|
1458
|
-
background-color: ${
|
|
1396
|
+
secondary: U`
|
|
1397
|
+
color: ${e(W.colors.secondary, .5)};
|
|
1398
|
+
border-bottom: solid 3px ${e(W.colors.secondary, .25)};
|
|
1399
|
+
background-color: ${W.colors.secondary};
|
|
1459
1400
|
`,
|
|
1460
|
-
ripple:
|
|
1401
|
+
ripple: U`
|
|
1461
1402
|
position: absolute;
|
|
1462
1403
|
z-index: 1;
|
|
1463
1404
|
border-radius: 50%;
|
|
@@ -1470,7 +1411,7 @@ var St = nt`
|
|
|
1470
1411
|
//#region src/components/_layout.jsx
|
|
1471
1412
|
function wt({ className: e, height: t, direction: n = "row", justify: r, align: i, gap: a, children: c }) {
|
|
1472
1413
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1473
|
-
className:
|
|
1414
|
+
className: H(Tt.base, e),
|
|
1474
1415
|
style: {
|
|
1475
1416
|
height: t,
|
|
1476
1417
|
flexDirection: n,
|
|
@@ -1481,33 +1422,33 @@ function wt({ className: e, height: t, direction: n = "row", justify: r, align:
|
|
|
1481
1422
|
children: c
|
|
1482
1423
|
}) });
|
|
1483
1424
|
}
|
|
1484
|
-
var Tt = { base:
|
|
1425
|
+
var Tt = { base: U`
|
|
1485
1426
|
display: flex;
|
|
1486
1427
|
` };
|
|
1487
1428
|
//#endregion
|
|
1488
1429
|
//#region src/components/_headline.jsx
|
|
1489
|
-
function Et({ as: e = "h2", className: t, size: n = "normal", color: r =
|
|
1430
|
+
function Et({ as: e = "h2", className: t, size: n = "normal", color: r = W.colors.fore.primary, children: i }) {
|
|
1490
1431
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s(e, {
|
|
1491
|
-
className:
|
|
1432
|
+
className: H(Dt.base, Dt[n] ?? Dt.normal, t),
|
|
1492
1433
|
style: { color: r },
|
|
1493
1434
|
children: i
|
|
1494
1435
|
}) });
|
|
1495
1436
|
}
|
|
1496
1437
|
var Dt = {
|
|
1497
|
-
base:
|
|
1438
|
+
base: U`
|
|
1498
1439
|
letter-spacing: 1px;
|
|
1499
1440
|
`,
|
|
1500
|
-
normal:
|
|
1441
|
+
normal: U`
|
|
1501
1442
|
font-weight: 500;
|
|
1502
1443
|
font-size: 1rem;
|
|
1503
1444
|
line-height: 1.2rem;
|
|
1504
1445
|
`,
|
|
1505
|
-
large:
|
|
1446
|
+
large: U`
|
|
1506
1447
|
font-weight: 600;
|
|
1507
1448
|
font-size: 1.4rem;
|
|
1508
1449
|
line-height: 1.2;
|
|
1509
1450
|
`,
|
|
1510
|
-
small:
|
|
1451
|
+
small: U`
|
|
1511
1452
|
font-weight: 500;
|
|
1512
1453
|
font-size: .9rem;
|
|
1513
1454
|
line-height: 1.2rem;
|
|
@@ -1516,13 +1457,10 @@ var Dt = {
|
|
|
1516
1457
|
//#endregion
|
|
1517
1458
|
//#region src/components/_space.jsx
|
|
1518
1459
|
function Ot({ size: e = 1 }) {
|
|
1519
|
-
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
marginTop: e < 0 ? `${e}rem` : 0
|
|
1524
|
-
}
|
|
1525
|
-
}) });
|
|
1460
|
+
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", { style: {
|
|
1461
|
+
height: e > 0 ? `${e}rem` : 0,
|
|
1462
|
+
marginTop: e < 0 ? `${e}rem` : 0
|
|
1463
|
+
} }) });
|
|
1526
1464
|
}
|
|
1527
1465
|
//#endregion
|
|
1528
1466
|
//#region src/components/_text-field.jsx
|
|
@@ -1551,10 +1489,10 @@ function kt({ placeholder: e, value: t, width: r, isDisabled: a, onChange: l })
|
|
|
1551
1489
|
}) });
|
|
1552
1490
|
}
|
|
1553
1491
|
var At = {
|
|
1554
|
-
base:
|
|
1492
|
+
base: U`
|
|
1555
1493
|
position: relative;
|
|
1556
1494
|
`,
|
|
1557
|
-
label:
|
|
1495
|
+
label: U`
|
|
1558
1496
|
font-size: .875rem;
|
|
1559
1497
|
font-weight: 500;
|
|
1560
1498
|
opacity: .5;
|
|
@@ -1563,10 +1501,10 @@ var At = {
|
|
|
1563
1501
|
top: .75rem;
|
|
1564
1502
|
pointer-events: none;
|
|
1565
1503
|
letter-spacing: 1px;
|
|
1566
|
-
font-family: ${
|
|
1567
|
-
color: ${
|
|
1504
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
1505
|
+
color: ${W.colors.fore.primary};
|
|
1568
1506
|
`,
|
|
1569
|
-
input:
|
|
1507
|
+
input: U`
|
|
1570
1508
|
font-size: .875rem;
|
|
1571
1509
|
font-weight: 500;
|
|
1572
1510
|
color: rgb(58, 58, 58);
|
|
@@ -1577,84 +1515,49 @@ var At = {
|
|
|
1577
1515
|
width: 100%;
|
|
1578
1516
|
border-radius: 8px;
|
|
1579
1517
|
letter-spacing: 1px;
|
|
1580
|
-
font-family: ${
|
|
1581
|
-
color: ${
|
|
1582
|
-
background-color: ${
|
|
1518
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
1519
|
+
color: ${W.colors.fore.primary};
|
|
1520
|
+
background-color: ${W.colors.back.secondary};
|
|
1583
1521
|
`
|
|
1584
1522
|
};
|
|
1585
1523
|
//#endregion
|
|
1586
1524
|
//#region src/components/_dropdown.jsx
|
|
1587
|
-
function jt({ items: e = [], value: t, width:
|
|
1588
|
-
let
|
|
1525
|
+
function jt({ items: e = [], value: t, width: i, isDisabled: l = !1, onChange: u }) {
|
|
1526
|
+
let d = a(null), f = a(null), p = n(t ?? e[0]?.value ?? ""), m = n(!1), h = e[e.findIndex((e) => e.value === p.value)] ?? e[0], g = l || e.length === 0;
|
|
1589
1527
|
r(() => {
|
|
1590
|
-
t !== void 0 && (
|
|
1528
|
+
t !== void 0 && (p.value = t);
|
|
1591
1529
|
}, [t]), r(() => {
|
|
1592
|
-
if (!
|
|
1530
|
+
if (!m.value) return;
|
|
1593
1531
|
function e({ target: e }) {
|
|
1594
|
-
|
|
1532
|
+
d.current?.contains(e) || (m.value = !1);
|
|
1595
1533
|
}
|
|
1596
1534
|
return document.addEventListener("pointerdown", e), () => {
|
|
1597
1535
|
document.removeEventListener("pointerdown", e);
|
|
1598
1536
|
};
|
|
1599
|
-
}, [
|
|
1600
|
-
function
|
|
1601
|
-
|
|
1602
|
-
}
|
|
1603
|
-
function S(e = Math.max(v, 0)) {
|
|
1604
|
-
b || (_.value = !0, x(e));
|
|
1537
|
+
}, [m.value]);
|
|
1538
|
+
function _() {
|
|
1539
|
+
g || (m.value = !0);
|
|
1605
1540
|
}
|
|
1606
|
-
function
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
function w() {
|
|
1610
|
-
if (_.value) {
|
|
1611
|
-
_.value = !1;
|
|
1541
|
+
function v() {
|
|
1542
|
+
if (m.value) {
|
|
1543
|
+
m.value = !1;
|
|
1612
1544
|
return;
|
|
1613
1545
|
}
|
|
1614
|
-
|
|
1546
|
+
_();
|
|
1615
1547
|
}
|
|
1616
|
-
function
|
|
1617
|
-
|
|
1548
|
+
function y(e) {
|
|
1549
|
+
p.value = e.value, m.value = !1, f.current?.focus(), u?.(e.value, e);
|
|
1618
1550
|
}
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
t.preventDefault(), C();
|
|
1622
|
-
return;
|
|
1623
|
-
}
|
|
1624
|
-
if (t.key === "Tab") {
|
|
1625
|
-
_.value = !1;
|
|
1626
|
-
return;
|
|
1627
|
-
}
|
|
1628
|
-
if ([
|
|
1629
|
-
"ArrowDown",
|
|
1630
|
-
"ArrowUp",
|
|
1631
|
-
"Home",
|
|
1632
|
-
"End"
|
|
1633
|
-
].includes(t.key)) {
|
|
1634
|
-
if (t.preventDefault(), t.key === "Home") return x(0);
|
|
1635
|
-
if (t.key === "End") return x(e.length - 1);
|
|
1636
|
-
x((n + (t.key === "ArrowDown" ? 1 : -1) + e.length) % e.length);
|
|
1637
|
-
}
|
|
1638
|
-
}
|
|
1639
|
-
function T(e) {
|
|
1640
|
-
g.value = e.value, _.value = !1, m.current?.focus(), d?.(e.value, e);
|
|
1641
|
-
}
|
|
1642
|
-
let ne = /* @__PURE__ */ c("button", {
|
|
1643
|
-
ref: m,
|
|
1551
|
+
let b = /* @__PURE__ */ c("button", {
|
|
1552
|
+
ref: f,
|
|
1644
1553
|
type: "button",
|
|
1645
1554
|
className: X.trigger,
|
|
1646
|
-
style: { width:
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
"aria-expanded": _.value,
|
|
1650
|
-
"aria-haspopup": "listbox",
|
|
1651
|
-
disabled: b,
|
|
1652
|
-
onClick: w,
|
|
1653
|
-
onKeyDown: ee,
|
|
1555
|
+
style: { width: i },
|
|
1556
|
+
disabled: g,
|
|
1557
|
+
onClick: v,
|
|
1654
1558
|
children: [
|
|
1655
1559
|
/* @__PURE__ */ s("span", {
|
|
1656
1560
|
className: X.sizer,
|
|
1657
|
-
"aria-hidden": "true",
|
|
1658
1561
|
children: e.map((e) => /* @__PURE__ */ s("span", {
|
|
1659
1562
|
className: X.sizerValue,
|
|
1660
1563
|
children: e.label
|
|
@@ -1662,44 +1565,39 @@ function jt({ items: e = [], value: t, width: l, isDisabled: u = !1, onChange: d
|
|
|
1662
1565
|
}),
|
|
1663
1566
|
/* @__PURE__ */ s("span", {
|
|
1664
1567
|
className: X.label,
|
|
1665
|
-
children:
|
|
1568
|
+
children: h?.label
|
|
1666
1569
|
}),
|
|
1667
|
-
/* @__PURE__ */ s(
|
|
1668
|
-
className:
|
|
1570
|
+
/* @__PURE__ */ s(G, {
|
|
1571
|
+
className: H(X.icon, m.value && X.iconOpen),
|
|
1669
1572
|
iconName: "down",
|
|
1670
1573
|
size: "1rem"
|
|
1671
1574
|
})
|
|
1672
1575
|
]
|
|
1673
1576
|
});
|
|
1674
1577
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1675
|
-
ref:
|
|
1578
|
+
ref: d,
|
|
1676
1579
|
className: X.base,
|
|
1677
|
-
"is-disabled":
|
|
1678
|
-
children: /* @__PURE__ */ s(
|
|
1580
|
+
"is-disabled": g || void 0,
|
|
1581
|
+
children: /* @__PURE__ */ s(ct, {
|
|
1679
1582
|
className: X.popup,
|
|
1680
|
-
trigger:
|
|
1681
|
-
|
|
1682
|
-
isOpen: _.value,
|
|
1583
|
+
trigger: b,
|
|
1584
|
+
isOpen: m.value,
|
|
1683
1585
|
origin: "left",
|
|
1684
|
-
|
|
1685
|
-
children: e.map((e, t) => /* @__PURE__ */ s("button", {
|
|
1686
|
-
ref: (e) => h.current[t] = e,
|
|
1586
|
+
children: e.map((e) => /* @__PURE__ */ s("button", {
|
|
1687
1587
|
type: "button",
|
|
1688
1588
|
className: X.option,
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
onClick: () => T(e),
|
|
1692
|
-
onKeyDown: (e) => te(e, t),
|
|
1589
|
+
"is-selected": e.value === p.value || void 0,
|
|
1590
|
+
onClick: () => y(e),
|
|
1693
1591
|
children: e.label
|
|
1694
1592
|
}, e.value))
|
|
1695
1593
|
})
|
|
1696
1594
|
}) });
|
|
1697
1595
|
}
|
|
1698
1596
|
var X = {
|
|
1699
|
-
base:
|
|
1597
|
+
base: U`
|
|
1700
1598
|
display: inline-block;
|
|
1701
1599
|
`,
|
|
1702
|
-
trigger:
|
|
1600
|
+
trigger: U`
|
|
1703
1601
|
display: inline-grid;
|
|
1704
1602
|
position: relative;
|
|
1705
1603
|
align-items: center;
|
|
@@ -1712,47 +1610,47 @@ var X = {
|
|
|
1712
1610
|
font-size: .875rem;
|
|
1713
1611
|
font-weight: 500;
|
|
1714
1612
|
letter-spacing: 1px;
|
|
1715
|
-
color: ${
|
|
1716
|
-
background-color: ${
|
|
1717
|
-
font-family: ${
|
|
1613
|
+
color: ${W.colors.fore.primary};
|
|
1614
|
+
background-color: ${W.colors.back.secondary};
|
|
1615
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
1718
1616
|
|
|
1719
1617
|
&:focus-visible {
|
|
1720
|
-
box-shadow: 0 0 0 2px ${
|
|
1618
|
+
box-shadow: 0 0 0 2px ${W.colors.primary};
|
|
1721
1619
|
}
|
|
1722
1620
|
|
|
1723
1621
|
&:disabled { cursor: default; }
|
|
1724
1622
|
`,
|
|
1725
|
-
sizer:
|
|
1623
|
+
sizer: U`
|
|
1726
1624
|
display: inline-grid;
|
|
1727
1625
|
visibility: hidden;
|
|
1728
1626
|
grid-area: 1 / 1;
|
|
1729
1627
|
`,
|
|
1730
|
-
sizerValue:
|
|
1628
|
+
sizerValue: U`
|
|
1731
1629
|
grid-area: 1 / 1;
|
|
1732
1630
|
white-space: nowrap;
|
|
1733
1631
|
`,
|
|
1734
|
-
label:
|
|
1632
|
+
label: U`
|
|
1735
1633
|
grid-area: 1 / 1;
|
|
1736
1634
|
overflow: hidden;
|
|
1737
1635
|
white-space: nowrap;
|
|
1738
1636
|
text-overflow: ellipsis;
|
|
1739
1637
|
`,
|
|
1740
|
-
icon:
|
|
1741
|
-
${
|
|
1638
|
+
icon: U`
|
|
1639
|
+
${W.extends.verticalCenter}
|
|
1742
1640
|
|
|
1743
1641
|
right: .75rem;
|
|
1744
1642
|
pointer-events: none;
|
|
1745
1643
|
`,
|
|
1746
|
-
iconOpen:
|
|
1644
|
+
iconOpen: U`
|
|
1747
1645
|
transform: translateY(-50%) rotate(180deg);
|
|
1748
1646
|
`,
|
|
1749
|
-
popup:
|
|
1647
|
+
popup: U`
|
|
1750
1648
|
display: grid;
|
|
1751
1649
|
gap: .125rem;
|
|
1752
1650
|
min-width: 0;
|
|
1753
1651
|
padding: .25rem;
|
|
1754
1652
|
`,
|
|
1755
|
-
option:
|
|
1653
|
+
option: U`
|
|
1756
1654
|
width: 100%;
|
|
1757
1655
|
padding: .6rem .75rem;
|
|
1758
1656
|
border-radius: 7px;
|
|
@@ -1760,69 +1658,75 @@ var X = {
|
|
|
1760
1658
|
text-align: left;
|
|
1761
1659
|
white-space: nowrap;
|
|
1762
1660
|
font-size: .825rem;
|
|
1763
|
-
color: ${
|
|
1764
|
-
font-family: ${
|
|
1661
|
+
color: ${W.colors.fore.primary};
|
|
1662
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
1765
1663
|
|
|
1766
1664
|
&:hover,
|
|
1767
1665
|
&:focus-visible,
|
|
1768
|
-
&[
|
|
1769
|
-
background-color: ${
|
|
1666
|
+
&[is-selected] {
|
|
1667
|
+
background-color: ${W.colors.back.secondary};
|
|
1770
1668
|
}
|
|
1771
1669
|
`
|
|
1772
1670
|
};
|
|
1773
1671
|
//#endregion
|
|
1774
1672
|
//#region src/components/_slider.jsx
|
|
1775
|
-
function Mt({ label: e, items: t = [], value:
|
|
1776
|
-
let
|
|
1673
|
+
function Mt({ label: e, items: t = [], value: l, isDisabled: u = !1, onSlide: d, onChange: f }) {
|
|
1674
|
+
let p = i(), m = n(l ?? t[0]?.value), h = Math.max(t.findIndex((e) => e.value === m.value), 0), g = t[h], _ = a(g?.value), v = u || t.length < 2;
|
|
1777
1675
|
r(() => {
|
|
1778
|
-
|
|
1779
|
-
}, [
|
|
1780
|
-
function
|
|
1781
|
-
|
|
1782
|
-
|
|
1676
|
+
l !== void 0 && (m.value = l, _.current = l);
|
|
1677
|
+
}, [l]);
|
|
1678
|
+
function y(e) {
|
|
1679
|
+
return t[Number(e.currentTarget.value)];
|
|
1680
|
+
}
|
|
1681
|
+
function b(e) {
|
|
1682
|
+
let t = y(e);
|
|
1683
|
+
t && (m.value = t.value, d?.(t.value, t));
|
|
1684
|
+
}
|
|
1685
|
+
function x(e) {
|
|
1686
|
+
let t = y(e);
|
|
1687
|
+
t && _.current !== t.value && (_.current = t.value, f?.(t.value, t));
|
|
1783
1688
|
}
|
|
1784
1689
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("div", {
|
|
1785
1690
|
className: Nt.base,
|
|
1786
1691
|
children: [
|
|
1787
1692
|
e && /* @__PURE__ */ s("label", {
|
|
1788
1693
|
className: Nt.label,
|
|
1789
|
-
htmlFor:
|
|
1694
|
+
htmlFor: p,
|
|
1790
1695
|
children: e
|
|
1791
1696
|
}),
|
|
1792
1697
|
/* @__PURE__ */ s("input", {
|
|
1793
|
-
id:
|
|
1698
|
+
id: p,
|
|
1794
1699
|
type: "range",
|
|
1795
1700
|
className: Nt.input,
|
|
1796
1701
|
min: "0",
|
|
1797
1702
|
max: Math.max(t.length - 1, 0),
|
|
1798
1703
|
step: "1",
|
|
1799
|
-
value:
|
|
1800
|
-
disabled:
|
|
1801
|
-
|
|
1802
|
-
|
|
1704
|
+
value: h,
|
|
1705
|
+
disabled: v,
|
|
1706
|
+
onInput: b,
|
|
1707
|
+
onChange: x
|
|
1803
1708
|
}),
|
|
1804
1709
|
/* @__PURE__ */ s("div", {
|
|
1805
1710
|
className: Nt.items,
|
|
1806
|
-
"aria-hidden": "true",
|
|
1807
1711
|
children: t.map((e) => /* @__PURE__ */ s("span", { children: e.label }, e.value))
|
|
1808
1712
|
})
|
|
1809
1713
|
]
|
|
1810
1714
|
}) });
|
|
1811
1715
|
}
|
|
1812
1716
|
var Nt = {
|
|
1813
|
-
base:
|
|
1717
|
+
base: U`
|
|
1814
1718
|
display: grid;
|
|
1815
1719
|
gap: .5rem;
|
|
1816
1720
|
width: 100%;
|
|
1817
|
-
font-family: ${
|
|
1721
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
1818
1722
|
`,
|
|
1819
|
-
label:
|
|
1820
|
-
color: ${
|
|
1723
|
+
label: U`
|
|
1724
|
+
color: ${W.colors.fore.secondary};
|
|
1821
1725
|
font-size: .75rem;
|
|
1822
1726
|
font-weight: 500;
|
|
1823
1727
|
letter-spacing: 1px;
|
|
1824
1728
|
`,
|
|
1825
|
-
input:
|
|
1729
|
+
input: U`
|
|
1826
1730
|
appearance: none;
|
|
1827
1731
|
width: 100%;
|
|
1828
1732
|
height: 1.25rem;
|
|
@@ -1833,7 +1737,7 @@ var Nt = {
|
|
|
1833
1737
|
&::-webkit-slider-runnable-track {
|
|
1834
1738
|
height: .25rem;
|
|
1835
1739
|
border-radius: 1rem;
|
|
1836
|
-
background-color: ${
|
|
1740
|
+
background-color: ${W.colors.back.secondary};
|
|
1837
1741
|
}
|
|
1838
1742
|
|
|
1839
1743
|
&::-webkit-slider-thumb {
|
|
@@ -1841,38 +1745,38 @@ var Nt = {
|
|
|
1841
1745
|
width: 1rem;
|
|
1842
1746
|
height: 1rem;
|
|
1843
1747
|
margin-top: -.375rem;
|
|
1844
|
-
border: solid 2px ${
|
|
1748
|
+
border: solid 2px ${W.colors.back.primary};
|
|
1845
1749
|
border-radius: 50%;
|
|
1846
|
-
border: solid 1px ${e(
|
|
1847
|
-
background-color: ${
|
|
1750
|
+
border: solid 1px ${e(W.colors.primary, .3)};
|
|
1751
|
+
background-color: ${W.colors.primary};
|
|
1848
1752
|
}
|
|
1849
1753
|
|
|
1850
1754
|
&::-moz-range-track {
|
|
1851
1755
|
height: .25rem;
|
|
1852
1756
|
border-radius: 1rem;
|
|
1853
|
-
background-color: ${
|
|
1757
|
+
background-color: ${W.colors.back.secondary};
|
|
1854
1758
|
}
|
|
1855
1759
|
|
|
1856
1760
|
&::-moz-range-thumb {
|
|
1857
1761
|
width: .75rem;
|
|
1858
1762
|
height: .75rem;
|
|
1859
|
-
border: solid 2px ${
|
|
1763
|
+
border: solid 2px ${W.colors.back.primary};
|
|
1860
1764
|
border-radius: 50%;
|
|
1861
|
-
background-color: ${
|
|
1765
|
+
background-color: ${W.colors.primary};
|
|
1862
1766
|
}
|
|
1863
1767
|
|
|
1864
1768
|
&:focus-visible {
|
|
1865
|
-
outline: solid 2px ${
|
|
1769
|
+
outline: solid 2px ${W.colors.primary};
|
|
1866
1770
|
outline-offset: .25rem;
|
|
1867
1771
|
border-radius: 1rem;
|
|
1868
1772
|
}
|
|
1869
1773
|
|
|
1870
1774
|
&:disabled { cursor: default; }
|
|
1871
1775
|
`,
|
|
1872
|
-
items:
|
|
1776
|
+
items: U`
|
|
1873
1777
|
display: flex;
|
|
1874
1778
|
justify-content: space-between;
|
|
1875
|
-
color: ${
|
|
1779
|
+
color: ${W.colors.fore.secondary};
|
|
1876
1780
|
font-size: .65rem;
|
|
1877
1781
|
font-weight: 500;
|
|
1878
1782
|
letter-spacing: .6px;
|
|
@@ -1903,7 +1807,7 @@ function Pt({ label: e, isChecked: t = !1, isDisabled: a = !1, onChange: l }) {
|
|
|
1903
1807
|
htmlFor: u,
|
|
1904
1808
|
children: [/* @__PURE__ */ s("span", {
|
|
1905
1809
|
className: Z.indicator,
|
|
1906
|
-
children: /* @__PURE__ */ s(
|
|
1810
|
+
children: /* @__PURE__ */ s(G, {
|
|
1907
1811
|
className: Z.icon,
|
|
1908
1812
|
iconName: "check",
|
|
1909
1813
|
size: ".75rem"
|
|
@@ -1913,12 +1817,12 @@ function Pt({ label: e, isChecked: t = !1, isDisabled: a = !1, onChange: l }) {
|
|
|
1913
1817
|
}) });
|
|
1914
1818
|
}
|
|
1915
1819
|
var Z = {
|
|
1916
|
-
base:
|
|
1820
|
+
base: U`
|
|
1917
1821
|
position: relative;
|
|
1918
1822
|
display: inline-block;
|
|
1919
|
-
font-family: ${
|
|
1823
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
1920
1824
|
`,
|
|
1921
|
-
input:
|
|
1825
|
+
input: U`
|
|
1922
1826
|
position: absolute;
|
|
1923
1827
|
width: 1px;
|
|
1924
1828
|
height: 1px;
|
|
@@ -1928,14 +1832,14 @@ var Z = {
|
|
|
1928
1832
|
white-space: nowrap;
|
|
1929
1833
|
|
|
1930
1834
|
&:checked + label > span:first-child {
|
|
1931
|
-
border-color: ${
|
|
1932
|
-
background-color: ${
|
|
1835
|
+
border-color: ${W.colors.primary};
|
|
1836
|
+
background-color: ${W.colors.primary};
|
|
1933
1837
|
}
|
|
1934
1838
|
|
|
1935
1839
|
&:checked + label svg { opacity: 1; }
|
|
1936
1840
|
|
|
1937
1841
|
&:focus-visible + label > span:first-child {
|
|
1938
|
-
box-shadow: 0 0 0 2px ${
|
|
1842
|
+
box-shadow: 0 0 0 2px ${W.colors.primary};
|
|
1939
1843
|
}
|
|
1940
1844
|
|
|
1941
1845
|
&:disabled + label {
|
|
@@ -1943,31 +1847,31 @@ var Z = {
|
|
|
1943
1847
|
opacity: .5;
|
|
1944
1848
|
}
|
|
1945
1849
|
`,
|
|
1946
|
-
label:
|
|
1850
|
+
label: U`
|
|
1947
1851
|
display: inline-flex;
|
|
1948
1852
|
gap: .5rem;
|
|
1949
1853
|
align-items: center;
|
|
1950
1854
|
cursor: pointer;
|
|
1951
1855
|
user-select: none;
|
|
1952
|
-
color: ${
|
|
1856
|
+
color: ${W.colors.fore.secondary};
|
|
1953
1857
|
font-size: .75rem;
|
|
1954
1858
|
font-weight: 500;
|
|
1955
1859
|
letter-spacing: 1px;
|
|
1956
1860
|
`,
|
|
1957
|
-
indicator:
|
|
1861
|
+
indicator: U`
|
|
1958
1862
|
display: grid;
|
|
1959
1863
|
place-items: center;
|
|
1960
1864
|
box-sizing: border-box;
|
|
1961
1865
|
width: 1rem;
|
|
1962
1866
|
height: 1rem;
|
|
1963
|
-
border: solid 1px ${
|
|
1867
|
+
border: solid 1px ${W.colors.border};
|
|
1964
1868
|
border-radius: 4px;
|
|
1965
|
-
background-color: ${
|
|
1869
|
+
background-color: ${W.colors.back.primary};
|
|
1966
1870
|
transition: background-color .15s ease, border-color .15s ease;
|
|
1967
1871
|
`,
|
|
1968
|
-
icon:
|
|
1872
|
+
icon: U`
|
|
1969
1873
|
opacity: 0;
|
|
1970
|
-
color: ${
|
|
1874
|
+
color: ${W.colors.fore.primary};
|
|
1971
1875
|
transition: opacity .15s ease;
|
|
1972
1876
|
`
|
|
1973
1877
|
}, Ft = 28, It = 3, Lt = 11;
|
|
@@ -2004,22 +1908,22 @@ function Rt({ label: e, isChecked: t, isDisabled: a, onChange: l }) {
|
|
|
2004
1908
|
}) });
|
|
2005
1909
|
}
|
|
2006
1910
|
var zt = {
|
|
2007
|
-
base:
|
|
1911
|
+
base: U`
|
|
2008
1912
|
position: relative;
|
|
2009
1913
|
display: flex;
|
|
2010
1914
|
gap: .5rem;
|
|
2011
1915
|
`,
|
|
2012
|
-
label:
|
|
1916
|
+
label: U`
|
|
2013
1917
|
display: inline-block;
|
|
2014
1918
|
font-size: .75rem;
|
|
2015
1919
|
line-height: 1.2rem;
|
|
2016
1920
|
cursor: pointer;
|
|
2017
1921
|
user-select: none;
|
|
2018
1922
|
font-weight: 500;
|
|
2019
|
-
font-family: ${
|
|
2020
|
-
color: ${
|
|
1923
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
1924
|
+
color: ${W.colors.fore.secondary};
|
|
2021
1925
|
`,
|
|
2022
|
-
checkbox:
|
|
1926
|
+
checkbox: U`
|
|
2023
1927
|
display: none;
|
|
2024
1928
|
|
|
2025
1929
|
&:checked ~ label {
|
|
@@ -2031,7 +1935,7 @@ var zt = {
|
|
|
2031
1935
|
}
|
|
2032
1936
|
}
|
|
2033
1937
|
`,
|
|
2034
|
-
value:
|
|
1938
|
+
value: U`
|
|
2035
1939
|
display: inline-block;
|
|
2036
1940
|
position: relative;
|
|
2037
1941
|
height: 1.1rem;
|
|
@@ -2040,7 +1944,7 @@ var zt = {
|
|
|
2040
1944
|
user-select: none;
|
|
2041
1945
|
transition: background .3s ease;
|
|
2042
1946
|
width: ${Ft}px;
|
|
2043
|
-
background-color: ${
|
|
1947
|
+
background-color: ${W.colors.back.secondary};
|
|
2044
1948
|
|
|
2045
1949
|
&:before {
|
|
2046
1950
|
background-color: #e1e1e1;
|
|
@@ -2060,11 +1964,11 @@ var zt = {
|
|
|
2060
1964
|
//#region src/components/_tag.jsx
|
|
2061
1965
|
function Bt({ className: e, variant: n = "normal", iconName: r = "", label: i }) {
|
|
2062
1966
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("div", {
|
|
2063
|
-
className:
|
|
1967
|
+
className: H(Vt.base, Vt[n] ?? Vt.normal, e),
|
|
2064
1968
|
"has-icon": !t(r),
|
|
2065
|
-
children: [r && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s(
|
|
2066
|
-
className:
|
|
2067
|
-
${
|
|
1969
|
+
children: [r && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s(G, {
|
|
1970
|
+
className: U`
|
|
1971
|
+
${W.extends.verticalCenter}
|
|
2068
1972
|
left: .3rem;
|
|
2069
1973
|
`,
|
|
2070
1974
|
iconName: r,
|
|
@@ -2072,7 +1976,7 @@ function Bt({ className: e, variant: n = "normal", iconName: r = "", label: i })
|
|
|
2072
1976
|
}) }), i]
|
|
2073
1977
|
}) });
|
|
2074
1978
|
}
|
|
2075
|
-
var Vt = { base:
|
|
1979
|
+
var Vt = { base: U`
|
|
2076
1980
|
position: relative;
|
|
2077
1981
|
display: inline-block;
|
|
2078
1982
|
padding: .3rem .5rem;
|
|
@@ -2080,9 +1984,9 @@ var Vt = { base: W`
|
|
|
2080
1984
|
white-space: pre-wrap;
|
|
2081
1985
|
font-size: .7rem;
|
|
2082
1986
|
font-weight: 600;
|
|
2083
|
-
border: solid 1px ${
|
|
2084
|
-
background-color: ${
|
|
2085
|
-
color: ${
|
|
1987
|
+
border: solid 1px ${W.colors.border};
|
|
1988
|
+
background-color: ${W.colors.back.secondary};
|
|
1989
|
+
color: ${W.colors.fore.primary};
|
|
2086
1990
|
|
|
2087
1991
|
&[has-icon="true"] { padding-left: 1.5rem; }
|
|
2088
1992
|
` };
|
|
@@ -2098,20 +2002,20 @@ function Ht({ iconName: e, color: t, isDisabled: n, onClick: r }) {
|
|
|
2098
2002
|
"is-clickable": !!r || void 0,
|
|
2099
2003
|
disabled: n,
|
|
2100
2004
|
onClick: i,
|
|
2101
|
-
children: /* @__PURE__ */ s(
|
|
2005
|
+
children: /* @__PURE__ */ s(G, {
|
|
2102
2006
|
color: t,
|
|
2103
|
-
className:
|
|
2007
|
+
className: U`${W.extends.centrate}`,
|
|
2104
2008
|
iconName: e,
|
|
2105
2009
|
isDisabled: n
|
|
2106
2010
|
})
|
|
2107
2011
|
}) });
|
|
2108
2012
|
}
|
|
2109
|
-
var Ut = { base:
|
|
2013
|
+
var Ut = { base: U`
|
|
2110
2014
|
position: relative;
|
|
2111
2015
|
width: 2.25rem;
|
|
2112
2016
|
height: 2.25rem;
|
|
2113
2017
|
border-radius: 8px;
|
|
2114
|
-
background-color: ${
|
|
2018
|
+
background-color: ${W.colors.back.secondary};
|
|
2115
2019
|
` };
|
|
2116
2020
|
//#endregion
|
|
2117
2021
|
//#region src/components/_counter.jsx
|
|
@@ -2121,7 +2025,7 @@ function Wt({ value: e }) {
|
|
|
2121
2025
|
children: e
|
|
2122
2026
|
}) });
|
|
2123
2027
|
}
|
|
2124
|
-
var Gt = { base:
|
|
2028
|
+
var Gt = { base: U`
|
|
2125
2029
|
display: inline-flex;
|
|
2126
2030
|
align-items: center;
|
|
2127
2031
|
justify-content: center;
|
|
@@ -2129,7 +2033,7 @@ var Gt = { base: W`
|
|
|
2129
2033
|
height: 1.2rem;
|
|
2130
2034
|
padding: 0 .2rem;
|
|
2131
2035
|
border-radius: 50%;
|
|
2132
|
-
color: ${
|
|
2036
|
+
color: ${W.colors.fore.primary};
|
|
2133
2037
|
background-color: #e1e1e1;
|
|
2134
2038
|
font-size: .7rem;
|
|
2135
2039
|
font-weight: 700;
|
|
@@ -2137,52 +2041,41 @@ var Gt = { base: W`
|
|
|
2137
2041
|
` };
|
|
2138
2042
|
//#endregion
|
|
2139
2043
|
//#region src/components/_tab-box.jsx
|
|
2140
|
-
function Kt({ className: e, width: t, height: r, initialIndex:
|
|
2141
|
-
let
|
|
2142
|
-
function
|
|
2143
|
-
e !==
|
|
2044
|
+
function Kt({ className: e, width: t, height: r, initialIndex: i = 0, items: a = [], onChange: l }) {
|
|
2045
|
+
let u = Math.max(a.length - 1, 0), d = n(Math.min(Math.max(i, 0), u)), f = Math.min(d.value, u);
|
|
2046
|
+
function p(e) {
|
|
2047
|
+
e !== f && (d.value = e, l?.(e, a[e]));
|
|
2144
2048
|
}
|
|
2145
2049
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("div", {
|
|
2146
|
-
className:
|
|
2050
|
+
className: H(Q.base, e),
|
|
2147
2051
|
style: { width: t },
|
|
2148
2052
|
children: [/* @__PURE__ */ s(yt, {
|
|
2149
2053
|
className: Q.box,
|
|
2150
2054
|
height: r,
|
|
2151
2055
|
children: /* @__PURE__ */ s("div", {
|
|
2152
2056
|
className: Q.track,
|
|
2153
|
-
style: { transform: `translateX(-${
|
|
2154
|
-
children:
|
|
2155
|
-
id: `${d}-panel-${t}`,
|
|
2057
|
+
style: { transform: `translateX(-${f * 100}%)` },
|
|
2058
|
+
children: a.map((e, t) => /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
2156
2059
|
className: Q.panel,
|
|
2157
|
-
|
|
2158
|
-
"aria-labelledby": `${d}-tab-${t}`,
|
|
2159
|
-
"aria-hidden": t !== m,
|
|
2160
|
-
inert: t !== m || void 0,
|
|
2060
|
+
inert: t !== f || void 0,
|
|
2161
2061
|
children: e.content
|
|
2162
2062
|
}, e.id ?? t) }))
|
|
2163
2063
|
})
|
|
2164
|
-
}),
|
|
2064
|
+
}), a.length > 0 && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
2165
2065
|
className: Q.tabs,
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
let n = t === m, r = e.counter ?? e.notification;
|
|
2066
|
+
children: a.map((e, t) => {
|
|
2067
|
+
let n = t === f, r = e.counter ?? e.notification;
|
|
2169
2068
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("button", {
|
|
2170
|
-
id: `${d}-tab-${t}`,
|
|
2171
2069
|
className: Q.tab,
|
|
2172
2070
|
style: e.width == null ? void 0 : {
|
|
2173
2071
|
flex: `0 0 ${e.width}`,
|
|
2174
2072
|
width: e.width
|
|
2175
2073
|
},
|
|
2176
2074
|
type: "button",
|
|
2177
|
-
role: "tab",
|
|
2178
|
-
"aria-controls": `${d}-panel-${t}`,
|
|
2179
|
-
"aria-label": e.label ?? `Tab ${t + 1}`,
|
|
2180
|
-
"aria-selected": n,
|
|
2181
|
-
tabIndex: n ? 0 : -1,
|
|
2182
2075
|
"is-active": n || void 0,
|
|
2183
|
-
onClick: () =>
|
|
2076
|
+
onClick: () => p(t),
|
|
2184
2077
|
children: [
|
|
2185
|
-
e.iconName && /* @__PURE__ */ s(
|
|
2078
|
+
e.iconName && /* @__PURE__ */ s(G, {
|
|
2186
2079
|
iconName: e.iconName,
|
|
2187
2080
|
size: "1rem"
|
|
2188
2081
|
}),
|
|
@@ -2195,17 +2088,17 @@ function Kt({ className: e, width: t, height: r, initialIndex: a = 0, items: l =
|
|
|
2195
2088
|
}) });
|
|
2196
2089
|
}
|
|
2197
2090
|
var Q = {
|
|
2198
|
-
base:
|
|
2091
|
+
base: U`
|
|
2199
2092
|
position: relative;
|
|
2200
2093
|
max-width: 100%;
|
|
2201
2094
|
`,
|
|
2202
|
-
box:
|
|
2203
|
-
z-index: ${
|
|
2095
|
+
box: U`
|
|
2096
|
+
z-index: ${W.zIndex.front};
|
|
2204
2097
|
width: 100%;
|
|
2205
2098
|
padding: 0;
|
|
2206
2099
|
overflow: hidden;
|
|
2207
2100
|
`,
|
|
2208
|
-
track:
|
|
2101
|
+
track: U`
|
|
2209
2102
|
display: flex;
|
|
2210
2103
|
width: 100%;
|
|
2211
2104
|
min-height: 100%;
|
|
@@ -2214,12 +2107,12 @@ var Q = {
|
|
|
2214
2107
|
|
|
2215
2108
|
@media (prefers-reduced-motion: reduce) { transition: none; }
|
|
2216
2109
|
`,
|
|
2217
|
-
panel:
|
|
2110
|
+
panel: U`
|
|
2218
2111
|
flex: 0 0 100%;
|
|
2219
2112
|
min-width: 0;
|
|
2220
2113
|
padding: 1.875rem 1.25rem;
|
|
2221
2114
|
`,
|
|
2222
|
-
tabs:
|
|
2115
|
+
tabs: U`
|
|
2223
2116
|
display: flex;
|
|
2224
2117
|
position: relative;
|
|
2225
2118
|
margin-top: -1rem;
|
|
@@ -2227,9 +2120,9 @@ var Q = {
|
|
|
2227
2120
|
border: solid 2px #eee;
|
|
2228
2121
|
border-top: 0;
|
|
2229
2122
|
border-radius: 0 0 18px 18px;
|
|
2230
|
-
background-color: ${
|
|
2123
|
+
background-color: ${W.colors.back.secondary};
|
|
2231
2124
|
`,
|
|
2232
|
-
tab:
|
|
2125
|
+
tab: U`
|
|
2233
2126
|
display: flex;
|
|
2234
2127
|
flex: 1 1 0;
|
|
2235
2128
|
align-items: center;
|
|
@@ -2242,68 +2135,59 @@ var Q = {
|
|
|
2242
2135
|
font-size: .8rem;
|
|
2243
2136
|
font-weight: 600;
|
|
2244
2137
|
transition: color .2s ease, background-color .2s ease;
|
|
2245
|
-
color: ${
|
|
2246
|
-
font-family: ${
|
|
2138
|
+
color: ${W.colors.fore.secondary};
|
|
2139
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
2247
2140
|
|
|
2248
2141
|
& + & { border-left: solid 1px #e5e7e9; }
|
|
2249
2142
|
|
|
2250
2143
|
&[is-active] {
|
|
2251
|
-
color: ${
|
|
2252
|
-
background-color: ${
|
|
2144
|
+
color: ${W.colors.fore.primary};
|
|
2145
|
+
background-color: ${W.colors.back.primary};
|
|
2253
2146
|
}
|
|
2254
2147
|
`
|
|
2255
2148
|
};
|
|
2256
2149
|
//#endregion
|
|
2257
2150
|
//#region src/components/_tab-container.jsx
|
|
2258
|
-
function qt({ className: e, initialIndex: t = 0, items: r = [], onChange:
|
|
2259
|
-
let
|
|
2260
|
-
function
|
|
2261
|
-
e !==
|
|
2151
|
+
function qt({ className: e, initialIndex: t = 0, items: r = [], onChange: i, width: a }) {
|
|
2152
|
+
let l = Math.max(r.length - 1, 0), u = n(Math.min(Math.max(t, 0), l)), d = Math.min(u.value, l), f = r[d];
|
|
2153
|
+
function p(e) {
|
|
2154
|
+
e !== d && (u.value = e, i?.(e, r[e]));
|
|
2262
2155
|
}
|
|
2263
2156
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
2264
|
-
className:
|
|
2265
|
-
style: { width:
|
|
2157
|
+
className: H(Jt.base, e),
|
|
2158
|
+
style: { width: a },
|
|
2266
2159
|
children: r.length > 0 && /* @__PURE__ */ c(o, { children: [/* @__PURE__ */ s("div", {
|
|
2267
2160
|
className: Jt.tabs,
|
|
2268
|
-
role: "tablist",
|
|
2269
2161
|
children: r.map((e, t) => {
|
|
2270
|
-
let n = t ===
|
|
2162
|
+
let n = t === d, r = e.counter ?? e.notification;
|
|
2271
2163
|
return /* @__PURE__ */ c("button", {
|
|
2272
|
-
id: `${u}-tab-${t}`,
|
|
2273
2164
|
className: Jt.tab,
|
|
2274
2165
|
type: "button",
|
|
2275
|
-
role: "tab",
|
|
2276
|
-
"aria-controls": `${u}-panel`,
|
|
2277
|
-
"aria-selected": n,
|
|
2278
|
-
tabIndex: n ? 0 : -1,
|
|
2279
2166
|
"is-active": n || void 0,
|
|
2280
|
-
onClick: () =>
|
|
2167
|
+
onClick: () => p(t),
|
|
2281
2168
|
children: [e.label, /* @__PURE__ */ s(Wt, { value: r })]
|
|
2282
2169
|
}, e.id ?? t);
|
|
2283
2170
|
})
|
|
2284
2171
|
}), /* @__PURE__ */ s("div", {
|
|
2285
|
-
id: `${u}-panel`,
|
|
2286
2172
|
className: Jt.panel,
|
|
2287
|
-
|
|
2288
|
-
"aria-labelledby": `${u}-tab-${p}`,
|
|
2289
|
-
children: m?.content
|
|
2173
|
+
children: f?.content
|
|
2290
2174
|
})] })
|
|
2291
2175
|
}) });
|
|
2292
2176
|
}
|
|
2293
2177
|
var Jt = {
|
|
2294
|
-
base:
|
|
2178
|
+
base: U`
|
|
2295
2179
|
position: relative;
|
|
2296
2180
|
width: 100%;
|
|
2297
2181
|
max-width: 100%;
|
|
2298
2182
|
`,
|
|
2299
|
-
tabs:
|
|
2183
|
+
tabs: U`
|
|
2300
2184
|
display: flex;
|
|
2301
2185
|
gap: .25rem;
|
|
2302
2186
|
padding: .25rem;
|
|
2303
2187
|
border-radius: 12px;
|
|
2304
|
-
background-color: ${
|
|
2188
|
+
background-color: ${W.colors.back.secondary};
|
|
2305
2189
|
`,
|
|
2306
|
-
tab:
|
|
2190
|
+
tab: U`
|
|
2307
2191
|
display: flex;
|
|
2308
2192
|
flex: 1 1 0;
|
|
2309
2193
|
align-items: center;
|
|
@@ -2313,20 +2197,20 @@ var Jt = {
|
|
|
2313
2197
|
min-height: 2.5rem;
|
|
2314
2198
|
padding: .5rem .75rem;
|
|
2315
2199
|
border-radius: 9px;
|
|
2316
|
-
color: ${
|
|
2200
|
+
color: ${W.colors.fore.secondary};
|
|
2317
2201
|
cursor: pointer;
|
|
2318
|
-
font-family: ${
|
|
2202
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
2319
2203
|
font-size: .8rem;
|
|
2320
2204
|
font-weight: 600;
|
|
2321
2205
|
transition: color .2s ease, background-color .2s ease;
|
|
2322
2206
|
|
|
2323
2207
|
&[is-active] {
|
|
2324
|
-
color: ${
|
|
2325
|
-
background-color: ${
|
|
2208
|
+
color: ${W.colors.fore.primary};
|
|
2209
|
+
background-color: ${W.colors.back.primary};
|
|
2326
2210
|
box-shadow: 0 2px 8px rgb(22 24 38 / 7%);
|
|
2327
2211
|
}
|
|
2328
2212
|
`,
|
|
2329
|
-
panel:
|
|
2213
|
+
panel: U`
|
|
2330
2214
|
width: 100%;
|
|
2331
2215
|
min-width: 0;
|
|
2332
2216
|
padding: 1.5rem 1.25rem;
|
|
@@ -2337,7 +2221,7 @@ var Jt = {
|
|
|
2337
2221
|
function Yt({ columns: e = [], rows: t = [], width: n, height: r, showLineNumbers: i = !0, sortBy: a, orderBy: l, sortDirection: u = "asc", className: d }) {
|
|
2338
2222
|
let f = tn(t, e, a ?? l ?? e[0]?.key, u);
|
|
2339
2223
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
2340
|
-
className:
|
|
2224
|
+
className: H($.base, d),
|
|
2341
2225
|
style: {
|
|
2342
2226
|
width: n,
|
|
2343
2227
|
height: r
|
|
@@ -2407,20 +2291,20 @@ function nn(e, t) {
|
|
|
2407
2291
|
return e.sortValue?.(n, t) ?? n ?? "";
|
|
2408
2292
|
}
|
|
2409
2293
|
var $ = {
|
|
2410
|
-
base:
|
|
2294
|
+
base: U`
|
|
2411
2295
|
display: inline-block;
|
|
2412
2296
|
position: relative;
|
|
2413
2297
|
max-width: 100%;
|
|
2414
2298
|
overflow: auto;
|
|
2415
|
-
border: solid 1px ${
|
|
2299
|
+
border: solid 1px ${W.colors.border};
|
|
2416
2300
|
border-radius: 10px;
|
|
2417
|
-
background-color: ${
|
|
2301
|
+
background-color: ${W.colors.back.primary};
|
|
2418
2302
|
`,
|
|
2419
|
-
table:
|
|
2303
|
+
table: U`
|
|
2420
2304
|
width: max-content;
|
|
2421
2305
|
border-spacing: 0;
|
|
2422
|
-
color: ${
|
|
2423
|
-
font-family: ${
|
|
2306
|
+
color: ${W.colors.fore.primary};
|
|
2307
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
2424
2308
|
font-size: .75rem;
|
|
2425
2309
|
font-weight: 500;
|
|
2426
2310
|
letter-spacing: .4px;
|
|
@@ -2437,10 +2321,10 @@ var $ = {
|
|
|
2437
2321
|
|
|
2438
2322
|
th {
|
|
2439
2323
|
position: sticky;
|
|
2440
|
-
z-index: ${
|
|
2324
|
+
z-index: ${W.zIndex.front};
|
|
2441
2325
|
top: 0;
|
|
2442
|
-
color: ${
|
|
2443
|
-
background-color: ${
|
|
2326
|
+
color: ${W.colors.fore.secondary};
|
|
2327
|
+
background-color: ${W.colors.back.secondary};
|
|
2444
2328
|
font-size: .65rem;
|
|
2445
2329
|
font-weight: 700;
|
|
2446
2330
|
letter-spacing: .8px;
|
|
@@ -2448,14 +2332,14 @@ var $ = {
|
|
|
2448
2332
|
|
|
2449
2333
|
tbody tr:last-child td { border-bottom: 0; }
|
|
2450
2334
|
`,
|
|
2451
|
-
line:
|
|
2335
|
+
line: U`
|
|
2452
2336
|
width: 3rem;
|
|
2453
2337
|
`,
|
|
2454
|
-
number:
|
|
2338
|
+
number: U`
|
|
2455
2339
|
width: 3rem;
|
|
2456
|
-
color: ${
|
|
2340
|
+
color: ${W.colors.fore.secondary};
|
|
2457
2341
|
text-align: right !important;
|
|
2458
2342
|
`
|
|
2459
2343
|
};
|
|
2460
2344
|
//#endregion
|
|
2461
|
-
export {
|
|
2345
|
+
export { ut as Actions, mt as AppWrapper, vt as Bar, yt as Box, xt as Button, Pt as Checkbox, Wt as Counter, jt as Dropdown, Et as Headline, G as Icon, Ht as IconButton, wt as Layout, ct as PopupBox, Mt as Slider, Ot as Space, Rt as Switch, Kt as TabBox, qt as TabContainer, Yt as Table, Bt as Tag, ft as Text, kt as TextField, W as Theme, ht as Toolbar };
|