melonykit 0.11.1 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +467 -381
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -75,7 +75,7 @@ function ie(e, t) {
|
|
|
75
75
|
//#endregion
|
|
76
76
|
//#region node_modules/stylis/src/Tokenizer.js
|
|
77
77
|
var ae = 1, A = 1, oe = 0, j = 0, M = 0, N = "";
|
|
78
|
-
function
|
|
78
|
+
function se(e, t, n, r, i, a, o) {
|
|
79
79
|
return {
|
|
80
80
|
value: e,
|
|
81
81
|
root: t,
|
|
@@ -89,28 +89,28 @@ function P(e, t, n, r, i, a, o) {
|
|
|
89
89
|
return: ""
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
|
-
function
|
|
93
|
-
return C(
|
|
92
|
+
function P(e, t) {
|
|
93
|
+
return C(se("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function ce() {
|
|
96
96
|
return M;
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function le() {
|
|
99
99
|
return M = j > 0 ? D(N, --j) : 0, A--, M === 10 && (A = 1, ae--), M;
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function F() {
|
|
102
102
|
return M = j < oe ? D(N, j++) : 0, A++, M === 10 && (A = 1, ae++), M;
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function I() {
|
|
105
105
|
return D(N, j);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function ue() {
|
|
108
108
|
return j;
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function L(e, t) {
|
|
111
111
|
return O(N, e, t);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function R(e) {
|
|
114
114
|
switch (e) {
|
|
115
115
|
case 0:
|
|
116
116
|
case 9:
|
|
@@ -137,77 +137,77 @@ function z(e) {
|
|
|
137
137
|
}
|
|
138
138
|
return 0;
|
|
139
139
|
}
|
|
140
|
-
function ue(e) {
|
|
141
|
-
return ae = A = 1, oe = k(N = e), j = 0, [];
|
|
142
|
-
}
|
|
143
140
|
function de(e) {
|
|
144
|
-
return N =
|
|
141
|
+
return ae = A = 1, oe = k(N = e), j = 0, [];
|
|
145
142
|
}
|
|
146
143
|
function fe(e) {
|
|
147
|
-
return
|
|
144
|
+
return N = "", e;
|
|
148
145
|
}
|
|
149
146
|
function pe(e) {
|
|
150
|
-
|
|
151
|
-
return z(e) > 2 || z(M) > 3 ? "" : " ";
|
|
147
|
+
return ee(L(j - 1, ge(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
152
148
|
}
|
|
153
|
-
function me(e
|
|
154
|
-
for (;
|
|
155
|
-
return R(e
|
|
149
|
+
function me(e) {
|
|
150
|
+
for (; (M = I()) && M < 33;) F();
|
|
151
|
+
return R(e) > 2 || R(M) > 3 ? "" : " ";
|
|
156
152
|
}
|
|
157
|
-
function he(e) {
|
|
158
|
-
for (;
|
|
153
|
+
function he(e, t) {
|
|
154
|
+
for (; --t && F() && !(M < 48 || M > 102 || M > 57 && M < 65 || M > 70 && M < 97););
|
|
155
|
+
return L(e, ue() + (t < 6 && I() == 32 && F() == 32));
|
|
156
|
+
}
|
|
157
|
+
function ge(e) {
|
|
158
|
+
for (; F();) switch (M) {
|
|
159
159
|
case e: return j;
|
|
160
160
|
case 34:
|
|
161
161
|
case 39:
|
|
162
|
-
e !== 34 && e !== 39 &&
|
|
162
|
+
e !== 34 && e !== 39 && ge(M);
|
|
163
163
|
break;
|
|
164
164
|
case 40:
|
|
165
|
-
e === 41 &&
|
|
165
|
+
e === 41 && ge(e);
|
|
166
166
|
break;
|
|
167
167
|
case 92:
|
|
168
|
-
|
|
168
|
+
F();
|
|
169
169
|
break;
|
|
170
170
|
}
|
|
171
171
|
return j;
|
|
172
172
|
}
|
|
173
|
-
function
|
|
174
|
-
for (;
|
|
175
|
-
return "/*" +
|
|
173
|
+
function _e(e, t) {
|
|
174
|
+
for (; F() && e + M !== 57 && (e + M !== 84 || I() !== 47););
|
|
175
|
+
return "/*" + L(t, j - 1) + "*" + S(e === 47 ? e : F());
|
|
176
176
|
}
|
|
177
|
-
function
|
|
178
|
-
for (; !
|
|
179
|
-
return
|
|
177
|
+
function ve(e) {
|
|
178
|
+
for (; !R(I());) F();
|
|
179
|
+
return L(e, j);
|
|
180
180
|
}
|
|
181
181
|
//#endregion
|
|
182
182
|
//#region node_modules/stylis/src/Parser.js
|
|
183
|
-
function
|
|
184
|
-
return
|
|
183
|
+
function ye(e) {
|
|
184
|
+
return fe(z("", null, null, null, [""], e = de(e), 0, [0], e));
|
|
185
185
|
}
|
|
186
|
-
function
|
|
187
|
-
for (var l = 0, u = 0, d = o, f = 0, p = 0, m = 0, h = 1, g = 1, _ = 1, v = 0, y = "", b = i, x = a, C = r, w = y; g;) switch (m = v, v =
|
|
186
|
+
function z(e, t, n, r, i, a, o, s, c) {
|
|
187
|
+
for (var l = 0, u = 0, d = o, f = 0, p = 0, m = 0, h = 1, g = 1, _ = 1, v = 0, y = "", b = i, x = a, C = r, w = y; g;) switch (m = v, v = F()) {
|
|
188
188
|
case 40: if (m != 108 && D(w, d - 1) == 58) {
|
|
189
|
-
E(w += T(
|
|
189
|
+
E(w += T(pe(v), "&", "&\f"), "&\f") != -1 && (_ = -1);
|
|
190
190
|
break;
|
|
191
191
|
}
|
|
192
192
|
case 34:
|
|
193
193
|
case 39:
|
|
194
194
|
case 91:
|
|
195
|
-
w +=
|
|
195
|
+
w += pe(v);
|
|
196
196
|
break;
|
|
197
197
|
case 9:
|
|
198
198
|
case 10:
|
|
199
199
|
case 13:
|
|
200
200
|
case 32:
|
|
201
|
-
w +=
|
|
201
|
+
w += me(m);
|
|
202
202
|
break;
|
|
203
203
|
case 92:
|
|
204
|
-
w +=
|
|
204
|
+
w += he(ue() - 1, 7);
|
|
205
205
|
continue;
|
|
206
206
|
case 47:
|
|
207
|
-
switch (
|
|
207
|
+
switch (I()) {
|
|
208
208
|
case 42:
|
|
209
209
|
case 47:
|
|
210
|
-
re(
|
|
210
|
+
re(xe(_e(F(), ue()), t, n), c);
|
|
211
211
|
break;
|
|
212
212
|
default: w += "/";
|
|
213
213
|
}
|
|
@@ -220,19 +220,19 @@ function B(e, t, n, r, i, a, o, s, c) {
|
|
|
220
220
|
case 0:
|
|
221
221
|
case 125: g = 0;
|
|
222
222
|
case 59 + u:
|
|
223
|
-
_ == -1 && (w = T(w, /\f/g, "")), p > 0 && k(w) - d && re(p > 32 ?
|
|
223
|
+
_ == -1 && (w = T(w, /\f/g, "")), p > 0 && k(w) - d && re(p > 32 ? Se(w + ";", r, n, d - 1) : Se(T(w, " ", "") + ";", r, n, d - 2), c);
|
|
224
224
|
break;
|
|
225
225
|
case 59: w += ";";
|
|
226
|
-
default: if (re(C =
|
|
227
|
-
if (u === 0)
|
|
226
|
+
default: if (re(C = be(w, t, n, l, u, i, s, y, b = [], x = [], d), a), v === 123) {
|
|
227
|
+
if (u === 0) z(w, t, C, C, b, a, d, s, x);
|
|
228
228
|
else switch (f === 99 && D(w, 3) === 110 ? 100 : f) {
|
|
229
229
|
case 100:
|
|
230
230
|
case 108:
|
|
231
231
|
case 109:
|
|
232
232
|
case 115:
|
|
233
|
-
|
|
233
|
+
z(e, C, C, r && re(be(e, C, C, 0, 0, i, s, y, i, b = [], d), x), i, x, d, s, r ? b : x);
|
|
234
234
|
break;
|
|
235
|
-
default:
|
|
235
|
+
default: z(w, C, C, C, [""], x, 0, s, x);
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
}
|
|
@@ -242,7 +242,7 @@ function B(e, t, n, r, i, a, o, s, c) {
|
|
|
242
242
|
default:
|
|
243
243
|
if (h < 1) {
|
|
244
244
|
if (v == 123) --h;
|
|
245
|
-
else if (v == 125 && h++ == 0 &&
|
|
245
|
+
else if (v == 125 && h++ == 0 && le() == 125) continue;
|
|
246
246
|
}
|
|
247
247
|
switch (w += S(v), v * h) {
|
|
248
248
|
case 38:
|
|
@@ -252,57 +252,57 @@ function B(e, t, n, r, i, a, o, s, c) {
|
|
|
252
252
|
s[l++] = (k(w) - 1) * _, _ = 1;
|
|
253
253
|
break;
|
|
254
254
|
case 64:
|
|
255
|
-
|
|
255
|
+
I() === 45 && (w += pe(F())), f = I(), u = d = k(y = w += ve(ue())), v++;
|
|
256
256
|
break;
|
|
257
257
|
case 45: m === 45 && k(w) == 2 && (h = 0);
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
260
|
return a;
|
|
261
261
|
}
|
|
262
|
-
function
|
|
262
|
+
function be(e, t, n, r, i, a, o, s, c, l, u) {
|
|
263
263
|
for (var d = i - 1, f = i === 0 ? a : [""], p = ne(f), m = 0, h = 0, _ = 0; m < r; ++m) for (var v = 0, y = O(e, d + 1, d = x(h = o[m])), b = e; v < p; ++v) (b = ee(h > 0 ? f[v] + " " + y : T(y, /&\f/g, f[v]))) && (c[_++] = b);
|
|
264
|
-
return
|
|
264
|
+
return se(e, t, n, i === 0 ? g : s, c, l, u);
|
|
265
265
|
}
|
|
266
|
-
function
|
|
267
|
-
return
|
|
266
|
+
function xe(e, t, n) {
|
|
267
|
+
return se(e, t, n, h, S(ce()), O(e, 2, -2), 0);
|
|
268
268
|
}
|
|
269
|
-
function
|
|
270
|
-
return
|
|
269
|
+
function Se(e, t, n, r) {
|
|
270
|
+
return se(e, t, n, _, O(e, 0, r), O(e, r + 1, -1), r);
|
|
271
271
|
}
|
|
272
272
|
//#endregion
|
|
273
273
|
//#region node_modules/stylis/src/Serializer.js
|
|
274
|
-
function
|
|
274
|
+
function B(e, t) {
|
|
275
275
|
for (var n = "", r = ne(e), i = 0; i < r; i++) n += t(e[i], i, e, t) || "";
|
|
276
276
|
return n;
|
|
277
277
|
}
|
|
278
|
-
function
|
|
278
|
+
function Ce(e, t, n, r) {
|
|
279
279
|
switch (e.type) {
|
|
280
280
|
case b: if (e.children.length) break;
|
|
281
281
|
case v:
|
|
282
282
|
case _: return e.return = e.return || e.value;
|
|
283
283
|
case h: return "";
|
|
284
|
-
case y: return e.return = e.value + "{" +
|
|
284
|
+
case y: return e.return = e.value + "{" + B(e.children, r) + "}";
|
|
285
285
|
case g: e.value = e.props.join(",");
|
|
286
286
|
}
|
|
287
|
-
return k(n =
|
|
287
|
+
return k(n = B(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
|
|
288
288
|
}
|
|
289
289
|
//#endregion
|
|
290
290
|
//#region node_modules/stylis/src/Middleware.js
|
|
291
|
-
function
|
|
291
|
+
function we(e) {
|
|
292
292
|
var t = ne(e);
|
|
293
293
|
return function(n, r, i, a) {
|
|
294
294
|
for (var o = "", s = 0; s < t; s++) o += e[s](n, r, i, a) || "";
|
|
295
295
|
return o;
|
|
296
296
|
};
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function Te(e) {
|
|
299
299
|
return function(t) {
|
|
300
300
|
t.root || (t = t.return) && e(t);
|
|
301
301
|
};
|
|
302
302
|
}
|
|
303
303
|
//#endregion
|
|
304
304
|
//#region node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
|
|
305
|
-
function
|
|
305
|
+
function Ee(e) {
|
|
306
306
|
var t = Object.create(null);
|
|
307
307
|
return function(n) {
|
|
308
308
|
return t[n] === void 0 && (t[n] = e(n)), t[n];
|
|
@@ -310,44 +310,44 @@ function Te(e) {
|
|
|
310
310
|
}
|
|
311
311
|
//#endregion
|
|
312
312
|
//#region node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js
|
|
313
|
-
var
|
|
314
|
-
for (var r = 0, i = 0; r = i, i =
|
|
315
|
-
return
|
|
316
|
-
},
|
|
313
|
+
var De = function(e, t, n) {
|
|
314
|
+
for (var r = 0, i = 0; r = i, i = I(), r === 38 && i === 12 && (t[n] = 1), !R(i);) F();
|
|
315
|
+
return L(e, j);
|
|
316
|
+
}, Oe = function(e, t) {
|
|
317
317
|
var n = -1, r = 44;
|
|
318
318
|
do
|
|
319
|
-
switch (
|
|
319
|
+
switch (R(r)) {
|
|
320
320
|
case 0:
|
|
321
|
-
r === 38 &&
|
|
321
|
+
r === 38 && I() === 12 && (t[n] = 1), e[n] += De(j - 1, t, n);
|
|
322
322
|
break;
|
|
323
323
|
case 2:
|
|
324
|
-
e[n] +=
|
|
324
|
+
e[n] += pe(r);
|
|
325
325
|
break;
|
|
326
326
|
case 4: if (r === 44) {
|
|
327
|
-
e[++n] =
|
|
327
|
+
e[++n] = I() === 58 ? "&\f" : "", t[n] = e[n].length;
|
|
328
328
|
break;
|
|
329
329
|
}
|
|
330
330
|
default: e[n] += S(r);
|
|
331
331
|
}
|
|
332
|
-
while (r =
|
|
332
|
+
while (r = F());
|
|
333
333
|
return e;
|
|
334
|
-
},
|
|
335
|
-
return
|
|
336
|
-
},
|
|
334
|
+
}, ke = function(e, t) {
|
|
335
|
+
return fe(Oe(de(e), t));
|
|
336
|
+
}, Ae = /* #__PURE__ */ new WeakMap(), je = function(e) {
|
|
337
337
|
if (!(e.type !== "rule" || !e.parent || e.length < 1)) {
|
|
338
338
|
for (var t = e.value, n = e.parent, r = e.column === n.column && e.line === n.line; n.type !== "rule";) if (n = n.parent, !n) return;
|
|
339
|
-
if (!(e.props.length === 1 && t.charCodeAt(0) !== 58 && !
|
|
340
|
-
|
|
341
|
-
for (var i = [], a =
|
|
339
|
+
if (!(e.props.length === 1 && t.charCodeAt(0) !== 58 && !Ae.get(n)) && !r) {
|
|
340
|
+
Ae.set(e, !0);
|
|
341
|
+
for (var i = [], a = ke(t, i), o = n.props, s = 0, c = 0; s < a.length; s++) for (var l = 0; l < o.length; l++, c++) e.props[c] = i[s] ? a[s].replace(/&\f/g, o[l]) : o[l] + " " + a[s];
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
},
|
|
344
|
+
}, Me = function(e) {
|
|
345
345
|
if (e.type === "decl") {
|
|
346
346
|
var t = e.value;
|
|
347
347
|
t.charCodeAt(0) === 108 && t.charCodeAt(2) === 98 && (e.return = "", e.value = "");
|
|
348
348
|
}
|
|
349
349
|
};
|
|
350
|
-
function
|
|
350
|
+
function Ne(e, t) {
|
|
351
351
|
switch (w(e, t)) {
|
|
352
352
|
case 5103: return m + "print-" + e + e;
|
|
353
353
|
case 5737:
|
|
@@ -413,7 +413,7 @@ function Me(e, t) {
|
|
|
413
413
|
if (k(e) - 1 - t > 6) switch (D(e, t + 1)) {
|
|
414
414
|
case 109: if (D(e, t + 4) !== 45) break;
|
|
415
415
|
case 102: return T(e, /(.+:)(.+)-([^]+)/, "$1" + m + "$2-$3$1" + p + (D(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
416
|
-
case 115: return ~E(e, "stretch") ?
|
|
416
|
+
case 115: return ~E(e, "stretch") ? Ne(T(e, "stretch", "fill-available"), t) + e : e;
|
|
417
417
|
}
|
|
418
418
|
break;
|
|
419
419
|
case 4949: if (D(e, t + 1) !== 115) break;
|
|
@@ -433,26 +433,26 @@ function Me(e, t) {
|
|
|
433
433
|
}
|
|
434
434
|
return e;
|
|
435
435
|
}
|
|
436
|
-
var
|
|
436
|
+
var Pe = [function(e, t, n, r) {
|
|
437
437
|
if (e.length > -1 && !e.return) switch (e.type) {
|
|
438
438
|
case _:
|
|
439
|
-
e.return =
|
|
439
|
+
e.return = Ne(e.value, e.length);
|
|
440
440
|
break;
|
|
441
|
-
case y: return
|
|
441
|
+
case y: return B([P(e, { value: T(e.value, "@", "@" + m) })], r);
|
|
442
442
|
case g: if (e.length) return ie(e.props, function(t) {
|
|
443
443
|
switch (te(t, /(::plac\w+|:read-\w+)/)) {
|
|
444
444
|
case ":read-only":
|
|
445
|
-
case ":read-write": return
|
|
446
|
-
case "::placeholder": return
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
445
|
+
case ":read-write": return B([P(e, { props: [T(t, /:(read-\w+)/, ":" + p + "$1")] })], r);
|
|
446
|
+
case "::placeholder": return B([
|
|
447
|
+
P(e, { props: [T(t, /:(plac\w+)/, ":" + m + "input-$1")] }),
|
|
448
|
+
P(e, { props: [T(t, /:(plac\w+)/, ":" + p + "$1")] }),
|
|
449
|
+
P(e, { props: [T(t, /:(plac\w+)/, f + "input-$1")] })
|
|
450
450
|
], r);
|
|
451
451
|
}
|
|
452
452
|
return "";
|
|
453
453
|
});
|
|
454
454
|
}
|
|
455
|
-
}],
|
|
455
|
+
}], Fe = function(e) {
|
|
456
456
|
var t = e.key;
|
|
457
457
|
if (t === "css") {
|
|
458
458
|
var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
@@ -460,15 +460,15 @@ var Ne = [function(e, t, n, r) {
|
|
|
460
460
|
e.getAttribute("data-emotion").indexOf(" ") !== -1 && (document.head.appendChild(e), e.setAttribute("data-s", ""));
|
|
461
461
|
});
|
|
462
462
|
}
|
|
463
|
-
var r = e.stylisPlugins ||
|
|
463
|
+
var r = e.stylisPlugins || Pe, i = {}, a, o = [];
|
|
464
464
|
a = e.container || document.head, Array.prototype.forEach.call(document.querySelectorAll("style[data-emotion^=\"" + t + " \"]"), function(e) {
|
|
465
465
|
for (var t = e.getAttribute("data-emotion").split(" "), n = 1; n < t.length; n++) i[t[n]] = !0;
|
|
466
466
|
o.push(e);
|
|
467
467
|
});
|
|
468
|
-
var s, c = [
|
|
468
|
+
var s, c = [je, Me], l, u = [Ce, Te(function(e) {
|
|
469
469
|
l.insert(e);
|
|
470
|
-
})], f =
|
|
471
|
-
return
|
|
470
|
+
})], f = we(c.concat(r, u)), p = function(e) {
|
|
471
|
+
return B(ye(e), f);
|
|
472
472
|
};
|
|
473
473
|
s = function(e, t, n, r) {
|
|
474
474
|
l = n, p(e ? e + "{" + t.styles + "}" : t.styles), r && (m.inserted[t.name] = !0);
|
|
@@ -492,7 +492,7 @@ var Ne = [function(e, t, n, r) {
|
|
|
492
492
|
};
|
|
493
493
|
//#endregion
|
|
494
494
|
//#region node_modules/@emotion/hash/dist/emotion-hash.esm.js
|
|
495
|
-
function
|
|
495
|
+
function Ie(e) {
|
|
496
496
|
for (var t = 0, n, r = 0, i = e.length; i >= 4; ++r, i -= 4) n = e.charCodeAt(r) & 255 | (e.charCodeAt(++r) & 255) << 8 | (e.charCodeAt(++r) & 255) << 16 | (e.charCodeAt(++r) & 255) << 24, n = (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= n >>> 24, t = (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16) ^ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
|
|
497
497
|
switch (i) {
|
|
498
498
|
case 3: t ^= (e.charCodeAt(r + 2) & 255) << 16;
|
|
@@ -503,7 +503,7 @@ function Fe(e) {
|
|
|
503
503
|
}
|
|
504
504
|
//#endregion
|
|
505
505
|
//#region node_modules/@emotion/unitless/dist/emotion-unitless.esm.js
|
|
506
|
-
var
|
|
506
|
+
var Le = {
|
|
507
507
|
animationIterationCount: 1,
|
|
508
508
|
aspectRatio: 1,
|
|
509
509
|
borderImageOutset: 1,
|
|
@@ -551,26 +551,26 @@ var Ie = {
|
|
|
551
551
|
strokeMiterlimit: 1,
|
|
552
552
|
strokeOpacity: 1,
|
|
553
553
|
strokeWidth: 1
|
|
554
|
-
},
|
|
554
|
+
}, Re = /[A-Z]|^ms/g, ze = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Be = function(e) {
|
|
555
555
|
return e.charCodeAt(1) === 45;
|
|
556
|
-
},
|
|
556
|
+
}, Ve = function(e) {
|
|
557
557
|
return e != null && typeof e != "boolean";
|
|
558
|
-
},
|
|
559
|
-
return
|
|
560
|
-
}),
|
|
558
|
+
}, He = /* #__PURE__ */ Ee(function(e) {
|
|
559
|
+
return Be(e) ? e : e.replace(Re, "-$&").toLowerCase();
|
|
560
|
+
}), Ue = function(e, t) {
|
|
561
561
|
switch (e) {
|
|
562
562
|
case "animation":
|
|
563
|
-
case "animationName": if (typeof t == "string") return t.replace(
|
|
564
|
-
return
|
|
563
|
+
case "animationName": if (typeof t == "string") return t.replace(ze, function(e, t, n) {
|
|
564
|
+
return H = {
|
|
565
565
|
name: t,
|
|
566
566
|
styles: n,
|
|
567
|
-
next:
|
|
567
|
+
next: H
|
|
568
568
|
}, t;
|
|
569
569
|
});
|
|
570
570
|
}
|
|
571
|
-
return
|
|
571
|
+
return Le[e] !== 1 && !Be(e) && typeof t == "number" && t !== 0 ? t + "px" : t;
|
|
572
572
|
};
|
|
573
|
-
function
|
|
573
|
+
function V(e, t, n) {
|
|
574
574
|
if (n == null) return "";
|
|
575
575
|
var r = n;
|
|
576
576
|
if (r.__emotion_styles !== void 0) return r;
|
|
@@ -578,25 +578,25 @@ function H(e, t, n) {
|
|
|
578
578
|
case "boolean": return "";
|
|
579
579
|
case "object":
|
|
580
580
|
var i = n;
|
|
581
|
-
if (i.anim === 1) return
|
|
581
|
+
if (i.anim === 1) return H = {
|
|
582
582
|
name: i.name,
|
|
583
583
|
styles: i.styles,
|
|
584
|
-
next:
|
|
584
|
+
next: H
|
|
585
585
|
}, i.name;
|
|
586
586
|
var a = n;
|
|
587
587
|
if (a.styles !== void 0) {
|
|
588
588
|
var o = a.next;
|
|
589
|
-
if (o !== void 0) for (; o !== void 0;)
|
|
589
|
+
if (o !== void 0) for (; o !== void 0;) H = {
|
|
590
590
|
name: o.name,
|
|
591
591
|
styles: o.styles,
|
|
592
|
-
next:
|
|
592
|
+
next: H
|
|
593
593
|
}, o = o.next;
|
|
594
594
|
return a.styles + ";";
|
|
595
595
|
}
|
|
596
|
-
return
|
|
596
|
+
return We(e, t, n);
|
|
597
597
|
case "function": if (e !== void 0) {
|
|
598
|
-
var s =
|
|
599
|
-
return
|
|
598
|
+
var s = H, c = n(e);
|
|
599
|
+
return H = s, V(e, t, c);
|
|
600
600
|
}
|
|
601
601
|
}
|
|
602
602
|
var l = n;
|
|
@@ -604,21 +604,21 @@ function H(e, t, n) {
|
|
|
604
604
|
var u = t[l];
|
|
605
605
|
return u === void 0 ? l : u;
|
|
606
606
|
}
|
|
607
|
-
function
|
|
607
|
+
function We(e, t, n) {
|
|
608
608
|
var r = "";
|
|
609
|
-
if (Array.isArray(n)) for (var i = 0; i < n.length; i++) r +=
|
|
609
|
+
if (Array.isArray(n)) for (var i = 0; i < n.length; i++) r += V(e, t, n[i]) + ";";
|
|
610
610
|
else for (var a in n) {
|
|
611
611
|
var o = n[a];
|
|
612
612
|
if (typeof o != "object") {
|
|
613
613
|
var s = o;
|
|
614
|
-
t != null && t[s] !== void 0 ? r += a + "{" + t[s] + "}" :
|
|
615
|
-
} else if (Array.isArray(o) && typeof o[0] == "string" && (t == null || t[o[0]] === void 0)) for (var c = 0; c < o.length; c++)
|
|
614
|
+
t != null && t[s] !== void 0 ? r += a + "{" + t[s] + "}" : Ve(s) && (r += He(a) + ":" + Ue(a, s) + ";");
|
|
615
|
+
} else if (Array.isArray(o) && typeof o[0] == "string" && (t == null || t[o[0]] === void 0)) for (var c = 0; c < o.length; c++) Ve(o[c]) && (r += He(a) + ":" + Ue(a, o[c]) + ";");
|
|
616
616
|
else {
|
|
617
|
-
var l =
|
|
617
|
+
var l = V(e, t, o);
|
|
618
618
|
switch (a) {
|
|
619
619
|
case "animation":
|
|
620
620
|
case "animationName":
|
|
621
|
-
r +=
|
|
621
|
+
r += He(a) + ":" + l + ";";
|
|
622
622
|
break;
|
|
623
623
|
default: r += a + "{" + l + "}";
|
|
624
624
|
}
|
|
@@ -626,35 +626,35 @@ function Ue(e, t, n) {
|
|
|
626
626
|
}
|
|
627
627
|
return r;
|
|
628
628
|
}
|
|
629
|
-
var
|
|
630
|
-
function
|
|
629
|
+
var Ge = /label:\s*([^\s;{]+)\s*(;|$)/g, H;
|
|
630
|
+
function Ke(e, t, n) {
|
|
631
631
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0) return e[0];
|
|
632
632
|
var r = !0, i = "";
|
|
633
|
-
|
|
633
|
+
H = void 0;
|
|
634
634
|
var a = e[0];
|
|
635
|
-
a == null || a.raw === void 0 ? (r = !1, i +=
|
|
636
|
-
for (var o = 1; o < e.length; o++) i +=
|
|
637
|
-
|
|
638
|
-
for (var s = "", c; (c =
|
|
635
|
+
a == null || a.raw === void 0 ? (r = !1, i += V(n, t, a)) : i += a[0];
|
|
636
|
+
for (var o = 1; o < e.length; o++) i += V(n, t, e[o]), r && (i += a[o]);
|
|
637
|
+
Ge.lastIndex = 0;
|
|
638
|
+
for (var s = "", c; (c = Ge.exec(i)) !== null;) s += "-" + c[1];
|
|
639
639
|
return {
|
|
640
|
-
name:
|
|
640
|
+
name: Ie(i) + s,
|
|
641
641
|
styles: i,
|
|
642
|
-
next:
|
|
642
|
+
next: H
|
|
643
643
|
};
|
|
644
644
|
}
|
|
645
645
|
//#endregion
|
|
646
646
|
//#region node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js
|
|
647
|
-
function
|
|
647
|
+
function qe(e, t, n) {
|
|
648
648
|
var r = "";
|
|
649
649
|
return n.split(" ").forEach(function(n) {
|
|
650
650
|
e[n] === void 0 ? n && (r += n + " ") : t.push(e[n] + ";");
|
|
651
651
|
}), r;
|
|
652
652
|
}
|
|
653
|
-
var
|
|
653
|
+
var Je = function(e, t, n) {
|
|
654
654
|
var r = e.key + "-" + t.name;
|
|
655
655
|
n === !1 && e.registered[r] === void 0 && (e.registered[r] = t.styles);
|
|
656
|
-
},
|
|
657
|
-
|
|
656
|
+
}, Ye = function(e, t, n) {
|
|
657
|
+
Je(e, t, n);
|
|
658
658
|
var r = e.key + "-" + t.name;
|
|
659
659
|
if (e.inserted[t.name] === void 0) {
|
|
660
660
|
var i = t;
|
|
@@ -665,34 +665,34 @@ var qe = function(e, t, n) {
|
|
|
665
665
|
};
|
|
666
666
|
//#endregion
|
|
667
667
|
//#region node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js
|
|
668
|
-
function
|
|
668
|
+
function Xe(e, t) {
|
|
669
669
|
if (e.inserted[t.name] === void 0) return e.insert("", t, e.sheet, !0);
|
|
670
670
|
}
|
|
671
|
-
function
|
|
672
|
-
var r = [], i =
|
|
671
|
+
function Ze(e, t, n) {
|
|
672
|
+
var r = [], i = qe(e, r, n);
|
|
673
673
|
return r.length < 2 ? n : i + t(r);
|
|
674
674
|
}
|
|
675
|
-
var
|
|
676
|
-
var t =
|
|
675
|
+
var Qe = function(e) {
|
|
676
|
+
var t = Fe(e);
|
|
677
677
|
t.sheet.speedy = function(e) {
|
|
678
678
|
this.isSpeedy = e;
|
|
679
679
|
}, t.compat = !0;
|
|
680
680
|
var n = function() {
|
|
681
|
-
var e =
|
|
682
|
-
return
|
|
681
|
+
var e = Ke([...arguments], t.registered, void 0);
|
|
682
|
+
return Ye(t, e, !1), t.key + "-" + e.name;
|
|
683
683
|
};
|
|
684
684
|
return {
|
|
685
685
|
css: n,
|
|
686
686
|
cx: function() {
|
|
687
687
|
var e = [...arguments];
|
|
688
|
-
return
|
|
688
|
+
return Ze(t.registered, n, $e(e));
|
|
689
689
|
},
|
|
690
690
|
injectGlobal: function() {
|
|
691
|
-
|
|
691
|
+
Xe(t, Ke([...arguments], t.registered));
|
|
692
692
|
},
|
|
693
693
|
keyframes: function() {
|
|
694
|
-
var e =
|
|
695
|
-
return
|
|
694
|
+
var e = Ke([...arguments], t.registered), n = "animation-" + e.name;
|
|
695
|
+
return Xe(t, {
|
|
696
696
|
name: e.name,
|
|
697
697
|
styles: "@keyframes " + n + "{" + e.styles + "}"
|
|
698
698
|
}), n;
|
|
@@ -707,10 +707,10 @@ var Ze = function(e) {
|
|
|
707
707
|
},
|
|
708
708
|
sheet: t.sheet,
|
|
709
709
|
cache: t,
|
|
710
|
-
getRegisteredStyles:
|
|
711
|
-
merge:
|
|
710
|
+
getRegisteredStyles: qe.bind(null, t.registered),
|
|
711
|
+
merge: Ze.bind(null, t.registered, n)
|
|
712
712
|
};
|
|
713
|
-
},
|
|
713
|
+
}, $e = function e(t) {
|
|
714
714
|
for (var n = "", r = 0; r < t.length; r++) {
|
|
715
715
|
var i = t[r];
|
|
716
716
|
if (i != null) {
|
|
@@ -727,15 +727,15 @@ var Ze = function(e) {
|
|
|
727
727
|
}
|
|
728
728
|
}
|
|
729
729
|
return n;
|
|
730
|
-
},
|
|
731
|
-
|
|
732
|
-
var
|
|
733
|
-
|
|
734
|
-
var
|
|
735
|
-
|
|
730
|
+
}, U = Qe({ key: "css" });
|
|
731
|
+
U.flush, U.hydrate;
|
|
732
|
+
var W = U.cx;
|
|
733
|
+
U.merge, U.getRegisteredStyles;
|
|
734
|
+
var et = U.injectGlobal, tt = U.keyframes, G = U.css;
|
|
735
|
+
U.sheet, U.cache;
|
|
736
736
|
//#endregion
|
|
737
737
|
//#region \0virtual:svg-sprite
|
|
738
|
-
var tt = "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"position:absolute;width:0;height:0;\" id=\"svg-sprite\"><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-bars-corner\" viewBox=\"0 0 24 24\"><path d=\"M7 15v1a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1\"/><path d=\"M7 8v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1\"/><path d=\"M3 3v10c0 3.771 0 5.657 1.172 6.828S7.229 21 11 21h10\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-check\" viewBox=\"0 0 24 24\"><path d=\"m5 13.26 2.586 2.697C8.252 16.652 8.586 17 9 17s.748-.348 1.414-1.043L19 7\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-down\" viewBox=\"0 0 24 24\"><path d=\"M18 9s-4.419 6-6 6-6-6-6-6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-exclamation-triangle\" viewBox=\"0 0 24 24\"><path d=\"M13.925 21h-3.85c-4.63 0-6.945 0-7.799-1.506-.853-1.506.331-3.503 2.7-7.495L6.9 8.753C9.176 4.918 10.313 3 12 3s2.824 1.918 5.1 5.753L19.023 12c2.369 3.992 3.553 5.989 2.7 7.495C20.87 21 18.555 21 13.924 21\"/><path d=\"M12 9v4\"/><path d=\"M12.125 16.75H12m.25 0a.25.25 0 1 1-.5 0 .25.25 0 0 1 .5 0\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-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-stack\" viewBox=\"0 0 24 24\"><path d=\"M21 14c0 1.4 0 2.1-.273 2.635a2.5 2.5 0 0 1-1.092 1.092C19.1 18 18.4 18 17 18H7c-1.4 0-2.1 0-2.635-.273a2.5 2.5 0 0 1-1.093-1.092C3 16.1 3 15.4 3 14\"/><path d=\"M6 14h12\"/><path d=\"M6 10h12\"/><path d=\"M6 6h12\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-terminal\" viewBox=\"0 0 24 24\"><path d=\"M7.492 7.5 8.72 8.557c.515.445.773.667.773.943s-.258.498-.773.943L7.492 11.5\"/><path d=\"M11.492 12.5h4\"/><path d=\"M11.992 21c3.75 0 5.625 0 6.94-.955a5 5 0 0 0 1.105-1.106c.955-1.314.955-3.19.955-6.939s0-5.625-.955-6.939a5 5 0 0 0-1.106-1.106C17.617 3 15.741 3 11.992 3s-5.624 0-6.939.955A5 5 0 0 0 3.947 5.06c-.955 1.314-.955 3.19-.955 6.939s0 5.625.955 6.939a5 5 0 0 0 1.106 1.106c1.315.955 3.19.955 6.94.955\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-x\" viewBox=\"0 0 24 24\"><path d=\"m18 6-6 6m0 0-6 6m6-6 6 6m-6-6L6 6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-bookmark\" viewBox=\"0 0 24 24\"><path stroke-linejoin=\"round\" d=\"M11 2C7.229 2 5.343 2 4.172 3.129 3 4.257 3 6.074 3 9.708v8.273c0 2.306 0 3.459.773 3.871 1.496.8 4.304-1.867 5.637-2.67.773-.465 1.16-.698 1.59-.698s.817.233 1.59.698c1.333.803 4.14 3.47 5.637 2.67.773-.412.773-1.565.773-3.871V13\"/><path d=\"M17 10V2m-4 4h8\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-bug\" viewBox=\"0 0 24 24\"><path d=\"M3.012 6.597c-.12 1.06.646 3.598 2.865 3.658\"/><path d=\"M18.29 10.195c1.078.06 2.697-1.2 2.697-3.598\"/><path d=\"M20.088 20.988c.06-1.38-.84-3.514-2.579-3.574\"/><path d=\"M3.901 20.988c-.06-1.388.858-3.537 2.636-3.597\"/><path d=\"M3.012 13.793h2.206\"/><path d=\"M21 13.793h-2.172\"/><path d=\"M11.993 13.793v-2.938M16.49 3l-1.799 1.799m-7.195-1.8 1.799 1.8\"/><path d=\"M6.956 8.612c1.619 1.163 5.636 2.842 10.014.072\"/><path d=\"M16.826 7.677c-3.574-4.977-8.13-2.579-9.75.144-1.055 1.774-2.698 6.068.42 10.745 3.358 4.1 7.315 2.242 8.934.083 1.56-1.858 3.094-6.655.396-10.972Z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-trash\" viewBox=\"0 0 24 24\"><path d=\"m19.5 5.5-.62 10.025c-.158 2.561-.237 3.842-.88 4.763a4 4 0 0 1-1.2 1.128c-.957.584-2.24.584-4.806.584-2.57 0-3.855 0-4.814-.585a4 4 0 0 1-1.2-1.13c-.642-.922-.72-2.205-.874-4.77L4.5 5.5\"/><path d=\"M3 5.5h18m-4.944 0-.683-1.408c-.453-.936-.68-1.403-1.071-1.695a2 2 0 0 0-.275-.172C13.594 2 13.074 2 12.035 2c-1.066 0-1.599 0-2.04.234a2 2 0 0 0-.278.18c-.395.303-.616.788-1.058 1.757L8.053 5.5\"/><path d=\"M9.5 16.5v-6\"/><path d=\"M14.5 16.5v-6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-award\" viewBox=\"0 0 24 24\"><path d=\"M9.426 3.063C10.684 2.354 11.312 2 12 2s1.316.354 2.574 1.063l1.75.986c1.305.735 1.958 1.103 2.317 1.718S19 7.132 19 8.632v1.736c0 1.5 0 2.25-.36 2.865-.358.615-1.01.983-2.316 1.718l-1.75.986C13.316 16.646 12.688 17 12 17s-1.316-.354-2.574-1.063l-1.75-.986c-1.305-.735-1.958-1.103-2.317-1.718S5 11.868 5 10.368V8.632c0-1.5 0-2.25.36-2.865.358-.615 1.01-.983 2.316-1.718z\"/><path stroke-linecap=\"round\" d=\"m16.883 15 .67 3.21c.43 2.062.646 3.093.203 3.582-.442.489-1.21.069-2.746-.772l-2.274-1.245c-.363-.198-.544-.298-.736-.298s-.373.1-.736.298L8.99 21.02c-1.536.84-2.304 1.261-2.746.772s-.227-1.52.203-3.582l.67-3.21\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-list-play\" viewBox=\"0 0 24 24\"><path stroke-linecap=\"round\" d=\"M3 5h18\"/><path stroke-linecap=\"round\" d=\"M3 12h6\"/><path d=\"M20.945 15.451c-.176.716-1.012 1.223-2.682 2.235-1.615.979-2.422 1.468-3.073 1.271a1.6 1.6 0 0 1-.712-.448C14 17.994 14 16.996 14 15s0-2.994.478-3.509c.198-.212.443-.367.712-.448.65-.197 1.458.293 3.073 1.271 1.67 1.012 2.506 1.518 2.682 2.235a1.9 1.9 0 0 1 0 .902Z\"/><path stroke-linecap=\"round\" d=\"M3 19h6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-play\" viewBox=\"0 0 24 24\"><path d=\"M18.89 12.846c-.353 1.343-2.023 2.292-5.364 4.19-3.23 1.835-4.845 2.752-6.146 2.384a3.25 3.25 0 0 1-1.424-.841C5 17.614 5 15.743 5 12s0-5.614.956-6.579a3.25 3.25 0 0 1 1.424-.84c1.301-.37 2.916.548 6.146 2.383 3.34 1.898 5.011 2.847 5.365 4.19a3.3 3.3 0 0 1 0 1.692Z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-sparkles\" viewBox=\"0 0 24 24\"><path d=\"m15 2 .539 2.392a5.39 5.39 0 0 0 4.07 4.07L22 9l-2.392.539a5.39 5.39 0 0 0-4.07 4.07L15 16l-.539-2.392a5.39 5.39 0 0 0-4.07-4.07L8 9l2.392-.539a5.39 5.39 0 0 0 4.07-4.07z\"/><path d=\"m7 12 .385 1.708a3.85 3.85 0 0 0 2.907 2.907L12 17l-1.708.385a3.85 3.85 0 0 0-2.907 2.907L7 22l-.385-1.708a3.85 3.85 0 0 0-2.907-2.907L2 17l1.708-.385a3.85 3.85 0 0 0 2.907-2.907z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-eye\" viewBox=\"0 0 24 24\"><path d=\"M21.544 11.045c.304.426.456.64.456.955 0 .316-.152.529-.456.955C20.178 14.871 16.689 19 12 19c-4.69 0-8.178-4.13-9.544-6.045C2.152 12.529 2 12.315 2 12c0-.316.152-.529.456-.955C3.822 9.129 7.311 5 12 5c4.69 0 8.178 4.13 9.544 6.045Z\"/><path d=\"M15 12a3 3 0 1 0-6 0 3 3 0 0 0 6 0Z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-sliders\" viewBox=\"0 0 24 24\"><path stroke-linejoin=\"round\" d=\"M2.5 12c0-4.478 0-6.718 1.391-8.109S7.521 2.5 12 2.5c4.478 0 6.718 0 8.109 1.391S21.5 7.521 21.5 12c0 4.478 0 6.718-1.391 8.109S16.479 21.5 12 21.5c-4.478 0-6.718 0-8.109-1.391S2.5 16.479 2.5 12Z\"/><path d=\"M8.5 10a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Z\"/><path d=\"M15.5 17a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z\"/><path stroke-linecap=\"round\" d=\"M10 8.5h7\"/><path stroke-linecap=\"round\" d=\"M14 15.5H7\"/></symbol></svg>", nt = !1, rt = new URL("./assets/manrope.woff2", import.meta.url).href ?? "/fonts/manrope.woff2", q = {
|
|
738
|
+
var nt = "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"position:absolute;width:0;height:0;\" id=\"svg-sprite\"><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-bars-corner\" viewBox=\"0 0 24 24\"><path d=\"M7 15v1a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1\"/><path d=\"M7 8v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1\"/><path d=\"M3 3v10c0 3.771 0 5.657 1.172 6.828S7.229 21 11 21h10\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-check\" viewBox=\"0 0 24 24\"><path d=\"m5 13.26 2.586 2.697C8.252 16.652 8.586 17 9 17s.748-.348 1.414-1.043L19 7\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-down\" viewBox=\"0 0 24 24\"><path d=\"M18 9s-4.419 6-6 6-6-6-6-6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-exclamation-triangle\" viewBox=\"0 0 24 24\"><path d=\"M13.925 21h-3.85c-4.63 0-6.945 0-7.799-1.506-.853-1.506.331-3.503 2.7-7.495L6.9 8.753C9.176 4.918 10.313 3 12 3s2.824 1.918 5.1 5.753L19.023 12c2.369 3.992 3.553 5.989 2.7 7.495C20.87 21 18.555 21 13.924 21\"/><path d=\"M12 9v4\"/><path d=\"M12.125 16.75H12m.25 0a.25.25 0 1 1-.5 0 .25.25 0 0 1 .5 0\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-filter\" viewBox=\"0 0 24 24\"><path d=\"M8.857 12.506C6.37 10.646 4.596 8.6 3.627 7.45c-.3-.356-.398-.617-.457-1.076-.202-1.572-.303-2.358.158-2.866S4.604 3 6.234 3h11.532c1.63 0 2.445 0 2.906.507.461.508.36 1.294.158 2.866-.06.459-.158.72-.457 1.076-.97 1.152-2.747 3.202-5.24 5.065a1.05 1.05 0 0 0-.402.747c-.247 2.731-.475 4.227-.617 4.983-.229 1.222-1.96 1.957-2.888 2.612-.552.39-1.222-.074-1.293-.678a196 196 0 0 1-.674-6.917 1.05 1.05 0 0 0-.402-.755\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-home\" viewBox=\"0 0 24 24\"><path d=\"M3 11.99v2.51c0 3.3 0 4.95 1.025 5.975S6.7 21.5 10 21.5h4c3.3 0 4.95 0 5.975-1.025S21 17.8 21 14.5v-2.51c0-1.682 0-2.522-.356-3.25s-1.02-1.244-2.346-2.276l-2-1.555C14.233 3.303 13.2 2.5 12 2.5s-2.233.803-4.298 2.409l-2 1.555C4.375 7.496 3.712 8.012 3.356 8.74S3 10.308 3 11.99\"/><path d=\"M15 17c-.8.622-1.85 1-3 1s-2.2-.378-3-1\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-hourglass\" viewBox=\"0 0 24 24\"><path d=\"M4 3h16\"/><path d=\"M5.5 3v2.03A4 4 0 0 0 7.061 8.2L12 12l4.939-3.8A4 4 0 0 0 18.5 5.03V3\"/><path d=\"M5.5 21v-2.03a4 4 0 0 1 1.561-3.17L12 12l4.939 3.8a4 4 0 0 1 1.561 3.17V21\"/><path d=\"M4 21h16\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-info\" viewBox=\"0 0 24 24\"><path d=\"M2.5 12c0-4.478 0-6.718 1.391-8.109S7.521 2.5 12 2.5c4.478 0 6.718 0 8.109 1.391S21.5 7.521 21.5 12c0 4.478 0 6.718-1.391 8.109S16.479 21.5 12 21.5c-4.478 0-6.718 0-8.109-1.391S2.5 16.479 2.5 12\"/><path d=\"M12 16v-4\"/><path d=\"M12.125 8.25H12m.25 0a.25.25 0 1 0-.5 0 .25.25 0 0 0 .5 0\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-menu\" viewBox=\"0 0 24 24\"><path d=\"M4 9h16\"/><path d=\"M4 15h10\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-plus\" viewBox=\"0 0 24 24\"><path d=\"M11.992 4v16m8-8h-16\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-squares-cog\" viewBox=\"0 0 24 24\"><path d=\"M17.25 3v1.34m0 0c.666 0 1.268.27 1.704.706M17.25 4.34c-.666 0-1.268.27-1.704.706M17.25 9.16v1.34m0-1.339c.666 0 1.268-.27 1.705-.706m-1.705.706c-.666 0-1.268-.27-1.705-.706M21 6.75h-1.34m0 0c0 .666-.27 1.269-.705 1.705m.706-1.705a2.4 2.4 0 0 0-.707-1.704M14.84 6.75H13.5m1.34 0c0-.665.27-1.268.706-1.704m-.707 1.704c0 .666.27 1.269.706 1.705m4.357-4.357-.948.948m-4.356 4.356.947-.947m4.357.947-.947-.947m-4.357-4.357.947.948\"/><path d=\"M13.69 19.457c-.19-.46-.19-1.042-.19-2.207s0-1.747.19-2.207a2.5 2.5 0 0 1 1.353-1.353c.46-.19 1.042-.19 2.207-.19s1.747 0 2.207.19a2.5 2.5 0 0 1 1.353 1.353c.19.46.19 1.042.19 2.207s0 1.747-.19 2.207a2.5 2.5 0 0 1-1.353 1.353c-.46.19-1.042.19-2.207.19s-1.747 0-2.207-.19a2.5 2.5 0 0 1-1.353-1.353\"/><path d=\"M3.19 19.457C3 18.997 3 18.415 3 17.25s0-1.747.19-2.207a2.5 2.5 0 0 1 1.353-1.353c.46-.19 1.042-.19 2.207-.19s1.747 0 2.207.19a2.5 2.5 0 0 1 1.353 1.353c.19.46.19 1.042.19 2.207s0 1.747-.19 2.207a2.5 2.5 0 0 1-1.353 1.353c-.46.19-1.042.19-2.207.19s-1.747 0-2.207-.19a2.5 2.5 0 0 1-1.353-1.353\"/><path d=\"M3.19 8.957C3 8.497 3 7.915 3 6.75s0-1.747.19-2.207A2.5 2.5 0 0 1 4.543 3.19C5.003 3 5.585 3 6.75 3s1.747 0 2.207.19a2.5 2.5 0 0 1 1.353 1.353c.19.46.19 1.042.19 2.207s0 1.747-.19 2.207a2.5 2.5 0 0 1-1.353 1.353c-.46.19-1.042.19-2.207.19s-1.747 0-2.207-.19A2.5 2.5 0 0 1 3.19 8.957\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-stack\" viewBox=\"0 0 24 24\"><path d=\"M21 14c0 1.4 0 2.1-.273 2.635a2.5 2.5 0 0 1-1.092 1.092C19.1 18 18.4 18 17 18H7c-1.4 0-2.1 0-2.635-.273a2.5 2.5 0 0 1-1.093-1.092C3 16.1 3 15.4 3 14\"/><path d=\"M6 14h12\"/><path d=\"M6 10h12\"/><path d=\"M6 6h12\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-terminal\" viewBox=\"0 0 24 24\"><path d=\"M7.492 7.5 8.72 8.557c.515.445.773.667.773.943s-.258.498-.773.943L7.492 11.5\"/><path d=\"M11.492 12.5h4\"/><path d=\"M11.992 21c3.75 0 5.625 0 6.94-.955a5 5 0 0 0 1.105-1.106c.955-1.314.955-3.19.955-6.939s0-5.625-.955-6.939a5 5 0 0 0-1.106-1.106C17.617 3 15.741 3 11.992 3s-5.624 0-6.939.955A5 5 0 0 0 3.947 5.06c-.955 1.314-.955 3.19-.955 6.939s0 5.625.955 6.939a5 5 0 0 0 1.106 1.106c1.315.955 3.19.955 6.94.955\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-x\" viewBox=\"0 0 24 24\"><path d=\"m18 6-6 6m0 0-6 6m6-6 6 6m-6-6L6 6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-bookmark\" viewBox=\"0 0 24 24\"><path stroke-linejoin=\"round\" d=\"M11 2C7.229 2 5.343 2 4.172 3.129 3 4.257 3 6.074 3 9.708v8.273c0 2.306 0 3.459.773 3.871 1.496.8 4.304-1.867 5.637-2.67.773-.465 1.16-.698 1.59-.698s.817.233 1.59.698c1.333.803 4.14 3.47 5.637 2.67.773-.412.773-1.565.773-3.871V13\"/><path d=\"M17 10V2m-4 4h8\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-bug\" viewBox=\"0 0 24 24\"><path d=\"M3.012 6.597c-.12 1.06.646 3.598 2.865 3.658\"/><path d=\"M18.29 10.195c1.078.06 2.697-1.2 2.697-3.598\"/><path d=\"M20.088 20.988c.06-1.38-.84-3.514-2.579-3.574\"/><path d=\"M3.901 20.988c-.06-1.388.858-3.537 2.636-3.597\"/><path d=\"M3.012 13.793h2.206\"/><path d=\"M21 13.793h-2.172\"/><path d=\"M11.993 13.793v-2.938M16.49 3l-1.799 1.799m-7.195-1.8 1.799 1.8\"/><path d=\"M6.956 8.612c1.619 1.163 5.636 2.842 10.014.072\"/><path d=\"M16.826 7.677c-3.574-4.977-8.13-2.579-9.75.144-1.055 1.774-2.698 6.068.42 10.745 3.358 4.1 7.315 2.242 8.934.083 1.56-1.858 3.094-6.655.396-10.972Z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-trash\" viewBox=\"0 0 24 24\"><path d=\"m19.5 5.5-.62 10.025c-.158 2.561-.237 3.842-.88 4.763a4 4 0 0 1-1.2 1.128c-.957.584-2.24.584-4.806.584-2.57 0-3.855 0-4.814-.585a4 4 0 0 1-1.2-1.13c-.642-.922-.72-2.205-.874-4.77L4.5 5.5\"/><path d=\"M3 5.5h18m-4.944 0-.683-1.408c-.453-.936-.68-1.403-1.071-1.695a2 2 0 0 0-.275-.172C13.594 2 13.074 2 12.035 2c-1.066 0-1.599 0-2.04.234a2 2 0 0 0-.278.18c-.395.303-.616.788-1.058 1.757L8.053 5.5\"/><path d=\"M9.5 16.5v-6\"/><path d=\"M14.5 16.5v-6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-award\" viewBox=\"0 0 24 24\"><path d=\"M9.426 3.063C10.684 2.354 11.312 2 12 2s1.316.354 2.574 1.063l1.75.986c1.305.735 1.958 1.103 2.317 1.718S19 7.132 19 8.632v1.736c0 1.5 0 2.25-.36 2.865-.358.615-1.01.983-2.316 1.718l-1.75.986C13.316 16.646 12.688 17 12 17s-1.316-.354-2.574-1.063l-1.75-.986c-1.305-.735-1.958-1.103-2.317-1.718S5 11.868 5 10.368V8.632c0-1.5 0-2.25.36-2.865.358-.615 1.01-.983 2.316-1.718z\"/><path stroke-linecap=\"round\" d=\"m16.883 15 .67 3.21c.43 2.062.646 3.093.203 3.582-.442.489-1.21.069-2.746-.772l-2.274-1.245c-.363-.198-.544-.298-.736-.298s-.373.1-.736.298L8.99 21.02c-1.536.84-2.304 1.261-2.746.772s-.227-1.52.203-3.582l.67-3.21\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-list-play\" viewBox=\"0 0 24 24\"><path stroke-linecap=\"round\" d=\"M3 5h18\"/><path stroke-linecap=\"round\" d=\"M3 12h6\"/><path d=\"M20.945 15.451c-.176.716-1.012 1.223-2.682 2.235-1.615.979-2.422 1.468-3.073 1.271a1.6 1.6 0 0 1-.712-.448C14 17.994 14 16.996 14 15s0-2.994.478-3.509c.198-.212.443-.367.712-.448.65-.197 1.458.293 3.073 1.271 1.67 1.012 2.506 1.518 2.682 2.235a1.9 1.9 0 0 1 0 .902Z\"/><path stroke-linecap=\"round\" d=\"M3 19h6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-play\" viewBox=\"0 0 24 24\"><path d=\"M18.89 12.846c-.353 1.343-2.023 2.292-5.364 4.19-3.23 1.835-4.845 2.752-6.146 2.384a3.25 3.25 0 0 1-1.424-.841C5 17.614 5 15.743 5 12s0-5.614.956-6.579a3.25 3.25 0 0 1 1.424-.84c1.301-.37 2.916.548 6.146 2.383 3.34 1.898 5.011 2.847 5.365 4.19a3.3 3.3 0 0 1 0 1.692Z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-sparkles\" viewBox=\"0 0 24 24\"><path d=\"m15 2 .539 2.392a5.39 5.39 0 0 0 4.07 4.07L22 9l-2.392.539a5.39 5.39 0 0 0-4.07 4.07L15 16l-.539-2.392a5.39 5.39 0 0 0-4.07-4.07L8 9l2.392-.539a5.39 5.39 0 0 0 4.07-4.07z\"/><path d=\"m7 12 .385 1.708a3.85 3.85 0 0 0 2.907 2.907L12 17l-1.708.385a3.85 3.85 0 0 0-2.907 2.907L7 22l-.385-1.708a3.85 3.85 0 0 0-2.907-2.907L2 17l1.708-.385a3.85 3.85 0 0 0 2.907-2.907z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-eye\" viewBox=\"0 0 24 24\"><path d=\"M21.544 11.045c.304.426.456.64.456.955 0 .316-.152.529-.456.955C20.178 14.871 16.689 19 12 19c-4.69 0-8.178-4.13-9.544-6.045C2.152 12.529 2 12.315 2 12c0-.316.152-.529.456-.955C3.822 9.129 7.311 5 12 5c4.69 0 8.178 4.13 9.544 6.045Z\"/><path d=\"M15 12a3 3 0 1 0-6 0 3 3 0 0 0 6 0Z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-sliders\" viewBox=\"0 0 24 24\"><path stroke-linejoin=\"round\" d=\"M2.5 12c0-4.478 0-6.718 1.391-8.109S7.521 2.5 12 2.5c4.478 0 6.718 0 8.109 1.391S21.5 7.521 21.5 12c0 4.478 0 6.718-1.391 8.109S16.479 21.5 12 21.5c-4.478 0-6.718 0-8.109-1.391S2.5 16.479 2.5 12Z\"/><path d=\"M8.5 10a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Z\"/><path d=\"M15.5 17a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z\"/><path stroke-linecap=\"round\" d=\"M10 8.5h7\"/><path stroke-linecap=\"round\" d=\"M14 15.5H7\"/></symbol></svg>", rt = !1, it = new URL("./assets/manrope.woff2", import.meta.url).href ?? "/fonts/manrope.woff2", K = {
|
|
739
739
|
fontFamily: "Manrope",
|
|
740
740
|
zIndex: {
|
|
741
741
|
front: 1,
|
|
@@ -772,10 +772,10 @@ var tt = "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"position:absolute;wi
|
|
|
772
772
|
stretch: "\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n "
|
|
773
773
|
},
|
|
774
774
|
load() {
|
|
775
|
-
|
|
775
|
+
rt || typeof document > "u" || (et(`
|
|
776
776
|
@font-face {
|
|
777
777
|
font-family: 'Manrope';
|
|
778
|
-
src: url('${
|
|
778
|
+
src: url('${it}') format('woff2');
|
|
779
779
|
font-weight: 100 900;
|
|
780
780
|
font-style: normal;
|
|
781
781
|
font-display: swap;
|
|
@@ -857,14 +857,14 @@ var tt = "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"position:absolute;wi
|
|
|
857
857
|
|
|
858
858
|
[is-loading] { cursor: default !important; }
|
|
859
859
|
[is-clickable] { cursor: pointer; }
|
|
860
|
-
`), !(document.getElementById("svg-sprite") || !document.body) && (document.body.insertAdjacentHTML("afterbegin",
|
|
860
|
+
`), !(document.getElementById("svg-sprite") || !document.body) && (document.body.insertAdjacentHTML("afterbegin", nt), rt = !0));
|
|
861
861
|
}
|
|
862
862
|
};
|
|
863
863
|
//#endregion
|
|
864
864
|
//#region src/components/_icon.jsx
|
|
865
|
-
function
|
|
865
|
+
function q({ className: e, size: t = "1.25rem", color: n = K.colors.fore.primary, iconName: r, isSpinning: i }) {
|
|
866
866
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("svg", {
|
|
867
|
-
className:
|
|
867
|
+
className: W(at.base, e),
|
|
868
868
|
style: {
|
|
869
869
|
color: n,
|
|
870
870
|
width: t,
|
|
@@ -875,14 +875,14 @@ function J({ className: e, size: t = "1.25rem", color: n = q.colors.fore.primary
|
|
|
875
875
|
children: /* @__PURE__ */ s("use", { href: `#icon-${r}` })
|
|
876
876
|
}) });
|
|
877
877
|
}
|
|
878
|
-
var
|
|
878
|
+
var at = { base: G`
|
|
879
879
|
fill: currentColor;
|
|
880
880
|
display: inline-block;
|
|
881
881
|
flex-shrink: 0;
|
|
882
882
|
will-change: transform;
|
|
883
883
|
transition: transform .1s linear;
|
|
884
884
|
|
|
885
|
-
&[is-spinning] { animation: ${
|
|
885
|
+
&[is-spinning] { animation: ${tt`
|
|
886
886
|
0% {
|
|
887
887
|
transform: rotate(0deg);
|
|
888
888
|
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
@@ -901,26 +901,26 @@ var it = { base: K`
|
|
|
901
901
|
` };
|
|
902
902
|
//#endregion
|
|
903
903
|
//#region src/components/_popup-box.jsx
|
|
904
|
-
function
|
|
904
|
+
function ot({ className: e, trigger: t, children: n, id: r, isOpen: i = !1, origin: a = "center", role: l, width: u }) {
|
|
905
905
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("div", {
|
|
906
|
-
className:
|
|
906
|
+
className: st.base,
|
|
907
907
|
children: [t, i && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
908
908
|
id: r,
|
|
909
|
-
className:
|
|
909
|
+
className: W(st.popup, st[a] ?? st.center, e),
|
|
910
910
|
style: { width: u },
|
|
911
911
|
role: l,
|
|
912
912
|
children: n
|
|
913
913
|
}) })]
|
|
914
914
|
}) });
|
|
915
915
|
}
|
|
916
|
-
var
|
|
917
|
-
base:
|
|
916
|
+
var st = {
|
|
917
|
+
base: G`
|
|
918
918
|
display: inline-block;
|
|
919
919
|
position: relative;
|
|
920
920
|
`,
|
|
921
|
-
popup:
|
|
921
|
+
popup: G`
|
|
922
922
|
position: absolute;
|
|
923
|
-
z-index: ${
|
|
923
|
+
z-index: ${K.zIndex.front + 1};
|
|
924
924
|
top: calc(100% + .5rem);
|
|
925
925
|
min-width: 100%;
|
|
926
926
|
width: max-content;
|
|
@@ -928,33 +928,39 @@ var ot = {
|
|
|
928
928
|
padding: .5rem;
|
|
929
929
|
border: solid 1px #e5e7e9;
|
|
930
930
|
border-radius: 10px;
|
|
931
|
-
color: ${
|
|
932
|
-
background-color: ${
|
|
931
|
+
color: ${K.colors.fore.primary};
|
|
932
|
+
background-color: ${K.colors.back.primary};
|
|
933
933
|
box-shadow: 0 6px 20px rgb(22 24 38 / 10%);
|
|
934
|
-
font-family: ${
|
|
934
|
+
font-family: ${K.fontFamily}, sans-serif;
|
|
935
935
|
`,
|
|
936
|
-
center:
|
|
936
|
+
center: G`
|
|
937
937
|
left: 50%;
|
|
938
938
|
transform: translateX(-50%);
|
|
939
939
|
`,
|
|
940
|
-
left:
|
|
940
|
+
left: G`
|
|
941
941
|
left: 0;
|
|
942
942
|
`,
|
|
943
|
-
right:
|
|
943
|
+
right: G`
|
|
944
944
|
right: 0;
|
|
945
|
+
`,
|
|
946
|
+
leftSide: G`
|
|
947
|
+
top: 0;
|
|
948
|
+
right: calc(100% + 1rem);
|
|
949
|
+
`,
|
|
950
|
+
rightSide: G`
|
|
951
|
+
top: 0;
|
|
952
|
+
left: calc(100% + 1rem);
|
|
945
953
|
`
|
|
946
954
|
};
|
|
947
955
|
//#endregion
|
|
948
956
|
//#region src/components/_actions.jsx
|
|
949
|
-
function
|
|
950
|
-
let n = t ?? e;
|
|
957
|
+
function ct({ items: e = [] }) {
|
|
951
958
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("nav", {
|
|
952
|
-
className:
|
|
953
|
-
|
|
954
|
-
children: n.map((e, t) => /* @__PURE__ */ s(ct, { item: e }, e.label ?? t))
|
|
959
|
+
className: J.base,
|
|
960
|
+
children: e.map((e) => /* @__PURE__ */ s(lt, { item: e }))
|
|
955
961
|
}) });
|
|
956
962
|
}
|
|
957
|
-
function
|
|
963
|
+
function lt({ item: e }) {
|
|
958
964
|
let t = i(), l = a(null), u = a(null), d = a([]), f = n(!1), p = e.subActions ?? e.items ?? [], m = p.length > 0;
|
|
959
965
|
r(() => {
|
|
960
966
|
if (!f.value) return;
|
|
@@ -1011,23 +1017,19 @@ function ct({ item: e }) {
|
|
|
1011
1017
|
}
|
|
1012
1018
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1013
1019
|
ref: l,
|
|
1014
|
-
className:
|
|
1015
|
-
children: /* @__PURE__ */ s(
|
|
1016
|
-
className:
|
|
1020
|
+
className: J.action,
|
|
1021
|
+
children: /* @__PURE__ */ s(ot, {
|
|
1022
|
+
className: J.popup,
|
|
1017
1023
|
trigger: /* @__PURE__ */ c("button", {
|
|
1018
1024
|
ref: u,
|
|
1019
1025
|
type: "button",
|
|
1020
|
-
className:
|
|
1021
|
-
"aria-label": e.label || e.iconName,
|
|
1022
|
-
"aria-controls": m ? t : void 0,
|
|
1023
|
-
"aria-expanded": m ? f.value : void 0,
|
|
1024
|
-
"aria-haspopup": m ? "menu" : void 0,
|
|
1026
|
+
className: W(J.button, !e.label && J.iconOnly),
|
|
1025
1027
|
disabled: e.isDisabled,
|
|
1026
1028
|
"is-clickable": !e.isDisabled || void 0,
|
|
1027
1029
|
"is-disabled": e.isDisabled || void 0,
|
|
1028
1030
|
onClick: h,
|
|
1029
1031
|
onKeyDown: _,
|
|
1030
|
-
children: [e.iconName && /* @__PURE__ */ s(
|
|
1032
|
+
children: [e.iconName && /* @__PURE__ */ s(q, {
|
|
1031
1033
|
iconName: e.iconName,
|
|
1032
1034
|
size: "1rem"
|
|
1033
1035
|
}), e.label && /* @__PURE__ */ s("span", { children: e.label })]
|
|
@@ -1040,11 +1042,11 @@ function ct({ item: e }) {
|
|
|
1040
1042
|
ref: (e) => d.current[t] = e,
|
|
1041
1043
|
type: "button",
|
|
1042
1044
|
role: "menuitem",
|
|
1043
|
-
className:
|
|
1045
|
+
className: J.option,
|
|
1044
1046
|
disabled: e.isDisabled,
|
|
1045
1047
|
onClick: (t) => v(t, e),
|
|
1046
1048
|
onKeyDown: (e) => y(e, t),
|
|
1047
|
-
children: [e.iconName && /* @__PURE__ */ s(
|
|
1049
|
+
children: [e.iconName && /* @__PURE__ */ s(q, {
|
|
1048
1050
|
iconName: e.iconName,
|
|
1049
1051
|
size: "1rem"
|
|
1050
1052
|
}), e.label && /* @__PURE__ */ s("span", { children: e.label })]
|
|
@@ -1052,118 +1054,106 @@ function ct({ item: e }) {
|
|
|
1052
1054
|
})
|
|
1053
1055
|
}) });
|
|
1054
1056
|
}
|
|
1055
|
-
var
|
|
1056
|
-
base:
|
|
1057
|
+
var J = {
|
|
1058
|
+
base: G`
|
|
1057
1059
|
display: flex;
|
|
1058
1060
|
align-items: center;
|
|
1059
|
-
gap: .
|
|
1060
|
-
pointer-events: auto;
|
|
1061
|
-
`,
|
|
1062
|
-
action: K`
|
|
1063
|
-
display: inline-block;
|
|
1061
|
+
gap: .5rem;
|
|
1064
1062
|
`,
|
|
1065
|
-
button:
|
|
1063
|
+
button: G`
|
|
1066
1064
|
display: flex;
|
|
1067
1065
|
align-items: center;
|
|
1068
1066
|
gap: .4rem;
|
|
1069
|
-
min-height: 2.
|
|
1070
|
-
padding: .
|
|
1071
|
-
border: solid 1px ${q.colors.border};
|
|
1067
|
+
min-height: 2.3rem;
|
|
1068
|
+
padding: .6rem .8rem;
|
|
1072
1069
|
border-radius: 8px;
|
|
1073
|
-
color: ${
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1070
|
+
background-color: ${K.colors.back.secondary};
|
|
1071
|
+
color: ${K.colors.fore.primary};
|
|
1072
|
+
letter-spacing: 1px;
|
|
1073
|
+
font-weight: 500;
|
|
1077
1074
|
white-space: nowrap;
|
|
1078
|
-
|
|
1079
|
-
&:hover { background-color: ${q.colors.back.secondary}; }
|
|
1080
|
-
&:focus-visible { box-shadow: 0 0 0 2px ${q.colors.primary}; }
|
|
1081
1075
|
`,
|
|
1082
|
-
iconOnly:
|
|
1083
|
-
width: 2.
|
|
1076
|
+
iconOnly: G`
|
|
1077
|
+
width: 2.3rem;
|
|
1084
1078
|
justify-content: center;
|
|
1085
|
-
padding: .5rem;
|
|
1086
1079
|
`,
|
|
1087
|
-
popup:
|
|
1080
|
+
popup: G`
|
|
1088
1081
|
display: grid;
|
|
1089
1082
|
gap: .125rem;
|
|
1090
1083
|
min-width: 10rem;
|
|
1091
1084
|
`,
|
|
1092
|
-
option:
|
|
1085
|
+
option: G`
|
|
1093
1086
|
display: flex;
|
|
1094
1087
|
align-items: center;
|
|
1095
1088
|
gap: .5rem;
|
|
1096
1089
|
width: 100%;
|
|
1097
1090
|
padding: .6rem .75rem;
|
|
1098
1091
|
border-radius: 7px;
|
|
1099
|
-
color: ${
|
|
1100
|
-
font: 500
|
|
1092
|
+
color: ${K.colors.fore.primary};
|
|
1093
|
+
font-weight: 500;
|
|
1101
1094
|
text-align: left;
|
|
1102
1095
|
white-space: nowrap;
|
|
1103
|
-
|
|
1104
|
-
&:hover,
|
|
1105
|
-
&:focus-visible { background-color: ${q.colors.back.secondary}; }
|
|
1106
1096
|
`
|
|
1107
1097
|
};
|
|
1108
1098
|
//#endregion
|
|
1109
1099
|
//#region src/components/_text.jsx
|
|
1110
|
-
function
|
|
1100
|
+
function ut({ as: e = "span", className: t, size: n = "normal", color: r = K.colors.fore.primary, children: i }) {
|
|
1111
1101
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s(e, {
|
|
1112
|
-
className:
|
|
1102
|
+
className: W(dt.base, dt[n] ?? dt.normal, t),
|
|
1113
1103
|
style: { color: r },
|
|
1114
1104
|
children: i
|
|
1115
1105
|
}) });
|
|
1116
1106
|
}
|
|
1117
|
-
var
|
|
1118
|
-
base:
|
|
1107
|
+
var dt = {
|
|
1108
|
+
base: G`
|
|
1119
1109
|
font-weight: 500;
|
|
1120
1110
|
letter-spacing: 1px;
|
|
1121
1111
|
`,
|
|
1122
|
-
normal:
|
|
1112
|
+
normal: G`
|
|
1123
1113
|
font-size: 1rem;
|
|
1124
1114
|
line-height: 1.125rem;
|
|
1125
1115
|
`,
|
|
1126
|
-
small:
|
|
1116
|
+
small: G`
|
|
1127
1117
|
font-size: .75rem;
|
|
1128
1118
|
line-height: 1rem;
|
|
1129
1119
|
`,
|
|
1130
|
-
tiny:
|
|
1120
|
+
tiny: G`
|
|
1131
1121
|
font-size: .65rem;
|
|
1132
1122
|
line-height: 1rem;
|
|
1133
1123
|
`
|
|
1134
1124
|
};
|
|
1135
1125
|
//#endregion
|
|
1136
1126
|
//#region src/components/_app-wrapper.jsx
|
|
1137
|
-
function
|
|
1127
|
+
function ft({ maxWidth: e = "67.5rem", logo: t, version: n, actions: r = [], children: i }) {
|
|
1138
1128
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("div", {
|
|
1139
|
-
className:
|
|
1129
|
+
className: Y.base,
|
|
1140
1130
|
children: [
|
|
1141
1131
|
/* @__PURE__ */ c("header", {
|
|
1142
|
-
className:
|
|
1132
|
+
className: Y.header,
|
|
1143
1133
|
children: [t && /* @__PURE__ */ s("a", {
|
|
1144
1134
|
href: "/",
|
|
1145
1135
|
children: /* @__PURE__ */ s("img", {
|
|
1146
|
-
className:
|
|
1136
|
+
className: Y.logo,
|
|
1147
1137
|
src: t
|
|
1148
1138
|
})
|
|
1149
|
-
}), r.length > 0 && /* @__PURE__ */ s(
|
|
1139
|
+
}), r.length > 0 && /* @__PURE__ */ s(ct, { items: r })]
|
|
1150
1140
|
}),
|
|
1151
1141
|
/* @__PURE__ */ s("div", {
|
|
1152
|
-
className:
|
|
1142
|
+
className: Y.inner,
|
|
1153
1143
|
style: { maxWidth: e },
|
|
1154
1144
|
children: i
|
|
1155
1145
|
}),
|
|
1156
|
-
n && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c(
|
|
1157
|
-
className:
|
|
1146
|
+
n && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c(ut, {
|
|
1147
|
+
className: Y.version,
|
|
1158
1148
|
size: "small",
|
|
1159
|
-
color:
|
|
1149
|
+
color: K.colors.fore.secondary,
|
|
1160
1150
|
children: ["Version: ", n]
|
|
1161
1151
|
}) })
|
|
1162
1152
|
]
|
|
1163
1153
|
}) });
|
|
1164
1154
|
}
|
|
1165
|
-
var
|
|
1166
|
-
base:
|
|
1155
|
+
var Y = {
|
|
1156
|
+
base: G`
|
|
1167
1157
|
// The template is stretched over the entire viewport, and the vertical
|
|
1168
1158
|
// scrollbar is enabled manually.
|
|
1169
1159
|
// This is necessary so that the modal overlays can cover the scrollbar,
|
|
@@ -1171,50 +1161,146 @@ var X = {
|
|
|
1171
1161
|
// when it's displayed or not.
|
|
1172
1162
|
// Normally, we'd use the body element for this, but the modal overlay
|
|
1173
1163
|
// can't cover the scrollbar of the body element.
|
|
1174
|
-
${
|
|
1164
|
+
${K.extends.stretch}
|
|
1175
1165
|
overflow-y: scroll;
|
|
1176
1166
|
overflow-x: hidden;
|
|
1177
1167
|
scroll-behavior: smooth;
|
|
1178
1168
|
`,
|
|
1179
|
-
header:
|
|
1169
|
+
header: G`
|
|
1180
1170
|
display: flex;
|
|
1181
1171
|
padding: 4rem 5rem;
|
|
1182
1172
|
align-items: center;
|
|
1183
1173
|
justify-content: space-between;
|
|
1184
1174
|
`,
|
|
1185
|
-
logo:
|
|
1175
|
+
logo: G`
|
|
1186
1176
|
display: block;
|
|
1187
1177
|
pointer-events: auto;
|
|
1188
1178
|
display: block;
|
|
1189
1179
|
max-width: 8rem;
|
|
1190
1180
|
max-height: 3rem;
|
|
1191
1181
|
`,
|
|
1192
|
-
inner:
|
|
1182
|
+
inner: G`
|
|
1193
1183
|
position: relative;
|
|
1194
1184
|
padding: 4rem 0;
|
|
1195
1185
|
margin: 0 auto;
|
|
1196
1186
|
`,
|
|
1197
|
-
version:
|
|
1187
|
+
version: G`
|
|
1198
1188
|
position: absolute;
|
|
1199
1189
|
left: 2rem;
|
|
1200
1190
|
bottom: 2rem;
|
|
1201
1191
|
`
|
|
1202
|
-
}
|
|
1203
|
-
|
|
1192
|
+
};
|
|
1193
|
+
//#endregion
|
|
1194
|
+
//#region src/components/_toolbar.jsx
|
|
1195
|
+
function pt({ items: e = [], side: t = "left", width: i }) {
|
|
1196
|
+
let c = a(null), l = n(null), u = t === "right" ? "rightSide" : "leftSide";
|
|
1197
|
+
return r(() => {
|
|
1198
|
+
function e({ target: e }) {
|
|
1199
|
+
c.current?.contains(e) || (l.value = null);
|
|
1200
|
+
}
|
|
1201
|
+
return document.addEventListener("pointerdown", e), () => document.removeEventListener("pointerdown", e);
|
|
1202
|
+
}, []), /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("nav", {
|
|
1203
|
+
ref: c,
|
|
1204
|
+
className: X.base,
|
|
1205
|
+
children: e.map((e, t) => /* @__PURE__ */ s(mt, {
|
|
1206
|
+
item: e,
|
|
1207
|
+
index: t,
|
|
1208
|
+
isOpen: l.value === t,
|
|
1209
|
+
onToggle: () => l.value = l.value === t ? null : t,
|
|
1210
|
+
popupSide: u,
|
|
1211
|
+
width: i
|
|
1212
|
+
}, e.iconName ?? t))
|
|
1213
|
+
}) });
|
|
1214
|
+
}
|
|
1215
|
+
function mt({ item: e, index: t, isOpen: n, onToggle: r, popupSide: i, width: a }) {
|
|
1216
|
+
let c = e.content ?? e.children, l = c != null, u = `toolbar-popup-${e.iconName ?? t}`;
|
|
1217
|
+
function d(t) {
|
|
1218
|
+
if (!l) {
|
|
1219
|
+
e.onClick?.(t);
|
|
1220
|
+
return;
|
|
1221
|
+
}
|
|
1222
|
+
t.preventDefault(), r();
|
|
1223
|
+
}
|
|
1224
|
+
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1225
|
+
className: X.item,
|
|
1226
|
+
children: /* @__PURE__ */ s(ot, {
|
|
1227
|
+
className: W(X.popup, G`top: calc(-1 * ${t} * var(--toolbar-step));`),
|
|
1228
|
+
trigger: /* @__PURE__ */ s("button", {
|
|
1229
|
+
type: "button",
|
|
1230
|
+
className: W(X.button, n && X.active),
|
|
1231
|
+
disabled: e.isDisabled,
|
|
1232
|
+
"is-clickable": !e.isDisabled || void 0,
|
|
1233
|
+
"is-disabled": e.isDisabled || void 0,
|
|
1234
|
+
onClick: d,
|
|
1235
|
+
children: /* @__PURE__ */ s(q, {
|
|
1236
|
+
iconName: e.iconName,
|
|
1237
|
+
size: "1.5rem"
|
|
1238
|
+
})
|
|
1239
|
+
}),
|
|
1240
|
+
id: u,
|
|
1241
|
+
isOpen: n && l,
|
|
1242
|
+
origin: i,
|
|
1243
|
+
role: "dialog",
|
|
1244
|
+
width: a,
|
|
1245
|
+
children: c
|
|
1246
|
+
})
|
|
1247
|
+
}) });
|
|
1248
|
+
}
|
|
1249
|
+
var X = {
|
|
1250
|
+
base: G`
|
|
1251
|
+
--toolbar-step: 3.25rem;
|
|
1252
|
+
position: fixed;
|
|
1253
|
+
z-index: ${K.zIndex.front};
|
|
1254
|
+
top: 40%;
|
|
1255
|
+
right: 0;
|
|
1256
|
+
display: flex;
|
|
1257
|
+
flex-direction: column;
|
|
1258
|
+
gap: .5rem;
|
|
1259
|
+
padding: .5rem;
|
|
1260
|
+
border-right: 0;
|
|
1261
|
+
border-radius: 10px 0 0 10px;
|
|
1262
|
+
box-shadow: 0 6px 20px rgb(22 24 38 / 10%);
|
|
1263
|
+
transform: translateY(-50%);
|
|
1264
|
+
`,
|
|
1265
|
+
item: G`
|
|
1266
|
+
position: relative;
|
|
1267
|
+
`,
|
|
1268
|
+
button: G`
|
|
1269
|
+
display: grid;
|
|
1270
|
+
width: 2.75rem;
|
|
1271
|
+
height: 2.75rem;
|
|
1272
|
+
place-items: center;
|
|
1273
|
+
border-radius: 8px;
|
|
1274
|
+
color: ${K.colors.fore.primary};
|
|
1275
|
+
background-color: ${K.colors.back.secondary};
|
|
1276
|
+
transition: background-color .1s linear, color .1s linear;
|
|
1277
|
+
`,
|
|
1278
|
+
active: G`
|
|
1279
|
+
color: ${K.colors.fore.primary};
|
|
1280
|
+
background-color: ${K.colors.primary};
|
|
1281
|
+
`,
|
|
1282
|
+
popup: G`
|
|
1283
|
+
display: grid;
|
|
1284
|
+
min-width: 12rem;
|
|
1285
|
+
padding: 2rem 1.5rem;
|
|
1286
|
+
margin-right: 1rem;
|
|
1287
|
+
`
|
|
1288
|
+
}, ht = ({ type: e = "normal", width: t = "100%", value: n = 0 }) => /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1289
|
+
className: gt.base,
|
|
1204
1290
|
style: { width: t },
|
|
1205
1291
|
children: /* @__PURE__ */ s("div", {
|
|
1206
|
-
className:
|
|
1292
|
+
className: W(gt.value, gt[e] ?? gt.normal),
|
|
1207
1293
|
style: { width: `${n}%` }
|
|
1208
1294
|
})
|
|
1209
|
-
}) }),
|
|
1210
|
-
base:
|
|
1295
|
+
}) }), gt = {
|
|
1296
|
+
base: G`
|
|
1211
1297
|
position: relative;
|
|
1212
1298
|
border-radius: 16px;
|
|
1213
1299
|
height: .625rem;
|
|
1214
|
-
border: solid 1px ${
|
|
1215
|
-
background-color: ${
|
|
1300
|
+
border: solid 1px ${K.colors.border};
|
|
1301
|
+
background-color: ${K.colors.back.secondary};
|
|
1216
1302
|
`,
|
|
1217
|
-
value:
|
|
1303
|
+
value: G`
|
|
1218
1304
|
position: absolute;
|
|
1219
1305
|
top: -1px;
|
|
1220
1306
|
bottom: -1px;
|
|
@@ -1223,24 +1309,24 @@ var X = {
|
|
|
1223
1309
|
will-change: width;
|
|
1224
1310
|
transition: width .3s ease;
|
|
1225
1311
|
`,
|
|
1226
|
-
normal:
|
|
1227
|
-
border: solid 1px ${e(
|
|
1228
|
-
background-color: ${
|
|
1312
|
+
normal: G`
|
|
1313
|
+
border: solid 1px ${e(K.colors.primary, .3)};
|
|
1314
|
+
background-color: ${K.colors.primary};
|
|
1229
1315
|
`,
|
|
1230
|
-
warn:
|
|
1231
|
-
border: solid 1px ${e(
|
|
1232
|
-
background-color: ${
|
|
1316
|
+
warn: G`
|
|
1317
|
+
border: solid 1px ${e(K.colors.secondary, .2)};
|
|
1318
|
+
background-color: ${K.colors.secondary};
|
|
1233
1319
|
`,
|
|
1234
|
-
danger:
|
|
1235
|
-
border: solid 1px ${e(
|
|
1236
|
-
background-color: ${
|
|
1320
|
+
danger: G`
|
|
1321
|
+
border: solid 1px ${e(K.colors.danger, .3)};
|
|
1322
|
+
background-color: ${K.colors.danger};
|
|
1237
1323
|
`
|
|
1238
1324
|
};
|
|
1239
1325
|
//#endregion
|
|
1240
1326
|
//#region src/components/_box.jsx
|
|
1241
|
-
function
|
|
1327
|
+
function _t({ type: e = "normal", className: t, width: n, height: r, children: i }) {
|
|
1242
1328
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1243
|
-
className:
|
|
1329
|
+
className: W(vt.base, vt[e] ?? vt.normal, t),
|
|
1244
1330
|
style: {
|
|
1245
1331
|
width: n,
|
|
1246
1332
|
height: r
|
|
@@ -1248,24 +1334,24 @@ function mt({ type: e = "normal", className: t, width: n, height: r, children: i
|
|
|
1248
1334
|
children: i
|
|
1249
1335
|
}) });
|
|
1250
1336
|
}
|
|
1251
|
-
var
|
|
1252
|
-
base:
|
|
1337
|
+
var vt = {
|
|
1338
|
+
base: G`
|
|
1253
1339
|
position: relative;
|
|
1254
1340
|
border-radius: 18px;
|
|
1255
1341
|
border: solid 2px #eee;
|
|
1256
1342
|
padding: 1.875rem 1.25rem;
|
|
1257
|
-
box-shadow: ${
|
|
1343
|
+
box-shadow: ${K.colors.shadow.primary};
|
|
1258
1344
|
`,
|
|
1259
|
-
normal:
|
|
1260
|
-
background-color: ${
|
|
1345
|
+
normal: G`
|
|
1346
|
+
background-color: ${K.colors.back.primary};
|
|
1261
1347
|
`,
|
|
1262
|
-
alternative:
|
|
1348
|
+
alternative: G`
|
|
1263
1349
|
background-color: #fafafa;
|
|
1264
1350
|
`
|
|
1265
1351
|
};
|
|
1266
1352
|
//#endregion
|
|
1267
1353
|
//#region src/components/_button.jsx
|
|
1268
|
-
function
|
|
1354
|
+
function yt({ type: e = "primary", label: t, iconName: r, isDisabled: i = !1, isLoading: a = !1, onClick: l }) {
|
|
1269
1355
|
let u = r || a, d = n(null);
|
|
1270
1356
|
function f(e) {
|
|
1271
1357
|
if (i || a) return;
|
|
@@ -1279,7 +1365,7 @@ function gt({ type: e = "primary", label: t, iconName: r, isDisabled: i = !1, is
|
|
|
1279
1365
|
}
|
|
1280
1366
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("button", {
|
|
1281
1367
|
type: "button",
|
|
1282
|
-
className:
|
|
1368
|
+
className: W(Z.base, Z[e] ?? Z.normal),
|
|
1283
1369
|
"has-icon": u,
|
|
1284
1370
|
"is-disabled": i || void 0,
|
|
1285
1371
|
"is-loading": a || void 0,
|
|
@@ -1288,15 +1374,15 @@ function gt({ type: e = "primary", label: t, iconName: r, isDisabled: i = !1, is
|
|
|
1288
1374
|
onClick: f,
|
|
1289
1375
|
children: [
|
|
1290
1376
|
u && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1291
|
-
className:
|
|
1292
|
-
${
|
|
1377
|
+
className: G`
|
|
1378
|
+
${K.extends.verticalCenter}
|
|
1293
1379
|
|
|
1294
1380
|
left: .6rem;
|
|
1295
1381
|
`,
|
|
1296
|
-
children: a ? /* @__PURE__ */ s(
|
|
1382
|
+
children: a ? /* @__PURE__ */ s(q, {
|
|
1297
1383
|
iconName: "loader",
|
|
1298
1384
|
isSpinning: !0
|
|
1299
|
-
}) : /* @__PURE__ */ s(
|
|
1385
|
+
}) : /* @__PURE__ */ s(q, { iconName: r })
|
|
1300
1386
|
}) }),
|
|
1301
1387
|
t,
|
|
1302
1388
|
d.value && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("span", {
|
|
@@ -1312,7 +1398,7 @@ function gt({ type: e = "primary", label: t, iconName: r, isDisabled: i = !1, is
|
|
|
1312
1398
|
]
|
|
1313
1399
|
}) });
|
|
1314
1400
|
}
|
|
1315
|
-
var
|
|
1401
|
+
var bt = tt`
|
|
1316
1402
|
from {
|
|
1317
1403
|
opacity: .4;
|
|
1318
1404
|
transform: translate(-50%, -50%) scale(0);
|
|
@@ -1323,7 +1409,7 @@ var _t = et`
|
|
|
1323
1409
|
transform: translate(-50%, -50%) scale(1);
|
|
1324
1410
|
}
|
|
1325
1411
|
`, Z = {
|
|
1326
|
-
base:
|
|
1412
|
+
base: G`
|
|
1327
1413
|
font-size: .9rem;
|
|
1328
1414
|
display: inline-block;
|
|
1329
1415
|
position: relative;
|
|
@@ -1335,7 +1421,7 @@ var _t = et`
|
|
|
1335
1421
|
border-radius: 12px;
|
|
1336
1422
|
will-change: transform, border;
|
|
1337
1423
|
transition: transform .1s linear, border .1s linear;
|
|
1338
|
-
font-family: ${
|
|
1424
|
+
font-family: ${K.fontFamily}, sans-serif;
|
|
1339
1425
|
|
|
1340
1426
|
&:active {
|
|
1341
1427
|
transform: translateY(2px);
|
|
@@ -1344,30 +1430,30 @@ var _t = et`
|
|
|
1344
1430
|
|
|
1345
1431
|
&[has-icon] { padding-left: 2rem; }
|
|
1346
1432
|
`,
|
|
1347
|
-
primary:
|
|
1348
|
-
color: ${e(
|
|
1349
|
-
border-bottom: solid 3px ${e(
|
|
1350
|
-
background-color: ${
|
|
1433
|
+
primary: G`
|
|
1434
|
+
color: ${e(K.colors.primary, .5)};
|
|
1435
|
+
border-bottom: solid 3px ${e(K.colors.primary, .25)};
|
|
1436
|
+
background-color: ${K.colors.primary};
|
|
1351
1437
|
`,
|
|
1352
|
-
secondary:
|
|
1353
|
-
color: ${e(
|
|
1354
|
-
border-bottom: solid 3px ${e(
|
|
1355
|
-
background-color: ${
|
|
1438
|
+
secondary: G`
|
|
1439
|
+
color: ${e(K.colors.secondary, .5)};
|
|
1440
|
+
border-bottom: solid 3px ${e(K.colors.secondary, .25)};
|
|
1441
|
+
background-color: ${K.colors.secondary};
|
|
1356
1442
|
`,
|
|
1357
|
-
ripple:
|
|
1443
|
+
ripple: G`
|
|
1358
1444
|
position: absolute;
|
|
1359
1445
|
z-index: 1;
|
|
1360
1446
|
border-radius: 50%;
|
|
1361
1447
|
pointer-events: none;
|
|
1362
1448
|
background-color: currentColor;
|
|
1363
|
-
animation: ${
|
|
1449
|
+
animation: ${bt} .5s ease-out forwards;
|
|
1364
1450
|
`
|
|
1365
1451
|
};
|
|
1366
1452
|
//#endregion
|
|
1367
1453
|
//#region src/components/_layout.jsx
|
|
1368
|
-
function
|
|
1454
|
+
function xt({ className: e, height: t, direction: n = "row", justify: r, align: i, gap: a, children: c }) {
|
|
1369
1455
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1370
|
-
className:
|
|
1456
|
+
className: W(St.base, e),
|
|
1371
1457
|
style: {
|
|
1372
1458
|
height: t,
|
|
1373
1459
|
flexDirection: n,
|
|
@@ -1378,33 +1464,33 @@ function vt({ className: e, height: t, direction: n = "row", justify: r, align:
|
|
|
1378
1464
|
children: c
|
|
1379
1465
|
}) });
|
|
1380
1466
|
}
|
|
1381
|
-
var
|
|
1467
|
+
var St = { base: G`
|
|
1382
1468
|
display: flex;
|
|
1383
1469
|
` };
|
|
1384
1470
|
//#endregion
|
|
1385
1471
|
//#region src/components/_headline.jsx
|
|
1386
|
-
function
|
|
1472
|
+
function Ct({ as: e = "h2", className: t, size: n = "normal", color: r = K.colors.fore.primary, children: i }) {
|
|
1387
1473
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s(e, {
|
|
1388
|
-
className:
|
|
1474
|
+
className: W(wt.base, wt[n] ?? wt.normal, t),
|
|
1389
1475
|
style: { color: r },
|
|
1390
1476
|
children: i
|
|
1391
1477
|
}) });
|
|
1392
1478
|
}
|
|
1393
|
-
var
|
|
1394
|
-
base:
|
|
1479
|
+
var wt = {
|
|
1480
|
+
base: G`
|
|
1395
1481
|
letter-spacing: 1px;
|
|
1396
1482
|
`,
|
|
1397
|
-
normal:
|
|
1483
|
+
normal: G`
|
|
1398
1484
|
font-weight: 500;
|
|
1399
1485
|
font-size: 1rem;
|
|
1400
1486
|
line-height: 1.2rem;
|
|
1401
1487
|
`,
|
|
1402
|
-
large:
|
|
1488
|
+
large: G`
|
|
1403
1489
|
font-weight: 600;
|
|
1404
1490
|
font-size: 1.4rem;
|
|
1405
1491
|
line-height: 1.2;
|
|
1406
1492
|
`,
|
|
1407
|
-
small:
|
|
1493
|
+
small: G`
|
|
1408
1494
|
font-weight: 500;
|
|
1409
1495
|
font-size: .9rem;
|
|
1410
1496
|
line-height: 1.2rem;
|
|
@@ -1412,7 +1498,7 @@ var xt = {
|
|
|
1412
1498
|
};
|
|
1413
1499
|
//#endregion
|
|
1414
1500
|
//#region src/components/_space.jsx
|
|
1415
|
-
function
|
|
1501
|
+
function Tt({ size: e = 1 }) {
|
|
1416
1502
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1417
1503
|
"aria-hidden": "true",
|
|
1418
1504
|
style: {
|
|
@@ -1423,23 +1509,23 @@ function St({ size: e = 1 }) {
|
|
|
1423
1509
|
}
|
|
1424
1510
|
//#endregion
|
|
1425
1511
|
//#region src/components/_text-field.jsx
|
|
1426
|
-
function
|
|
1512
|
+
function Et({ placeholder: e, value: t, width: r, isDisabled: a, onChange: l }) {
|
|
1427
1513
|
let u = i(), d = n(t);
|
|
1428
1514
|
function f({ target: e }) {
|
|
1429
1515
|
d.value = e.value, l?.(d.value);
|
|
1430
1516
|
}
|
|
1431
1517
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("div", {
|
|
1432
|
-
className:
|
|
1518
|
+
className: Dt.base,
|
|
1433
1519
|
style: { width: r },
|
|
1434
1520
|
"is-disabled": a,
|
|
1435
1521
|
children: [!d.value && e && /* @__PURE__ */ s("label", {
|
|
1436
|
-
className:
|
|
1522
|
+
className: Dt.label,
|
|
1437
1523
|
htmlFor: u,
|
|
1438
1524
|
children: e
|
|
1439
1525
|
}), /* @__PURE__ */ s("input", {
|
|
1440
1526
|
id: u,
|
|
1441
1527
|
name: u,
|
|
1442
|
-
className:
|
|
1528
|
+
className: Dt.input,
|
|
1443
1529
|
value: d.value,
|
|
1444
1530
|
disabled: a,
|
|
1445
1531
|
autocomplete: "off",
|
|
@@ -1447,11 +1533,11 @@ function Ct({ placeholder: e, value: t, width: r, isDisabled: a, onChange: l })
|
|
|
1447
1533
|
})]
|
|
1448
1534
|
}) });
|
|
1449
1535
|
}
|
|
1450
|
-
var
|
|
1451
|
-
base:
|
|
1536
|
+
var Dt = {
|
|
1537
|
+
base: G`
|
|
1452
1538
|
position: relative;
|
|
1453
1539
|
`,
|
|
1454
|
-
label:
|
|
1540
|
+
label: G`
|
|
1455
1541
|
font-size: .875rem;
|
|
1456
1542
|
font-weight: 500;
|
|
1457
1543
|
opacity: .5;
|
|
@@ -1460,10 +1546,10 @@ var wt = {
|
|
|
1460
1546
|
top: .75rem;
|
|
1461
1547
|
pointer-events: none;
|
|
1462
1548
|
letter-spacing: 1px;
|
|
1463
|
-
font-family: ${
|
|
1464
|
-
color: ${
|
|
1549
|
+
font-family: ${K.fontFamily}, sans-serif;
|
|
1550
|
+
color: ${K.colors.fore.primary};
|
|
1465
1551
|
`,
|
|
1466
|
-
input:
|
|
1552
|
+
input: G`
|
|
1467
1553
|
font-size: .875rem;
|
|
1468
1554
|
font-weight: 500;
|
|
1469
1555
|
color: rgb(58, 58, 58);
|
|
@@ -1474,14 +1560,14 @@ var wt = {
|
|
|
1474
1560
|
width: 100%;
|
|
1475
1561
|
border-radius: 8px;
|
|
1476
1562
|
letter-spacing: 1px;
|
|
1477
|
-
font-family: ${
|
|
1478
|
-
color: ${
|
|
1479
|
-
background-color: ${
|
|
1563
|
+
font-family: ${K.fontFamily}, sans-serif;
|
|
1564
|
+
color: ${K.colors.fore.primary};
|
|
1565
|
+
background-color: ${K.colors.back.secondary};
|
|
1480
1566
|
`
|
|
1481
1567
|
};
|
|
1482
1568
|
//#endregion
|
|
1483
1569
|
//#region src/components/_dropdown.jsx
|
|
1484
|
-
function
|
|
1570
|
+
function Ot({ items: e = [], value: t, width: l, isDisabled: u = !1, onChange: d }) {
|
|
1485
1571
|
let f = i(), p = a(null), m = a(null), h = a([]), g = n(t ?? e[0]?.value ?? ""), _ = n(!1), v = e.findIndex((e) => e.value === g.value), y = e[v] ?? e[0], b = u || e.length === 0;
|
|
1486
1572
|
r(() => {
|
|
1487
1573
|
t !== void 0 && (g.value = t);
|
|
@@ -1561,8 +1647,8 @@ function Tt({ items: e = [], value: t, width: l, isDisabled: u = !1, onChange: d
|
|
|
1561
1647
|
className: Q.label,
|
|
1562
1648
|
children: y?.label
|
|
1563
1649
|
}),
|
|
1564
|
-
/* @__PURE__ */ s(
|
|
1565
|
-
className:
|
|
1650
|
+
/* @__PURE__ */ s(q, {
|
|
1651
|
+
className: W(Q.icon, _.value && Q.iconOpen),
|
|
1566
1652
|
iconName: "down",
|
|
1567
1653
|
size: "1rem"
|
|
1568
1654
|
})
|
|
@@ -1572,7 +1658,7 @@ function Tt({ items: e = [], value: t, width: l, isDisabled: u = !1, onChange: d
|
|
|
1572
1658
|
ref: p,
|
|
1573
1659
|
className: Q.base,
|
|
1574
1660
|
"is-disabled": b || void 0,
|
|
1575
|
-
children: /* @__PURE__ */ s(
|
|
1661
|
+
children: /* @__PURE__ */ s(ot, {
|
|
1576
1662
|
className: Q.popup,
|
|
1577
1663
|
trigger: E,
|
|
1578
1664
|
id: f,
|
|
@@ -1593,10 +1679,10 @@ function Tt({ items: e = [], value: t, width: l, isDisabled: u = !1, onChange: d
|
|
|
1593
1679
|
}) });
|
|
1594
1680
|
}
|
|
1595
1681
|
var Q = {
|
|
1596
|
-
base:
|
|
1682
|
+
base: G`
|
|
1597
1683
|
display: inline-block;
|
|
1598
1684
|
`,
|
|
1599
|
-
trigger:
|
|
1685
|
+
trigger: G`
|
|
1600
1686
|
display: inline-grid;
|
|
1601
1687
|
position: relative;
|
|
1602
1688
|
align-items: center;
|
|
@@ -1609,47 +1695,47 @@ var Q = {
|
|
|
1609
1695
|
font-size: .875rem;
|
|
1610
1696
|
font-weight: 500;
|
|
1611
1697
|
letter-spacing: 1px;
|
|
1612
|
-
color: ${
|
|
1613
|
-
background-color: ${
|
|
1614
|
-
font-family: ${
|
|
1698
|
+
color: ${K.colors.fore.primary};
|
|
1699
|
+
background-color: ${K.colors.back.secondary};
|
|
1700
|
+
font-family: ${K.fontFamily}, sans-serif;
|
|
1615
1701
|
|
|
1616
1702
|
&:focus-visible {
|
|
1617
|
-
box-shadow: 0 0 0 2px ${
|
|
1703
|
+
box-shadow: 0 0 0 2px ${K.colors.primary};
|
|
1618
1704
|
}
|
|
1619
1705
|
|
|
1620
1706
|
&:disabled { cursor: default; }
|
|
1621
1707
|
`,
|
|
1622
|
-
sizer:
|
|
1708
|
+
sizer: G`
|
|
1623
1709
|
display: inline-grid;
|
|
1624
1710
|
visibility: hidden;
|
|
1625
1711
|
grid-area: 1 / 1;
|
|
1626
1712
|
`,
|
|
1627
|
-
sizerValue:
|
|
1713
|
+
sizerValue: G`
|
|
1628
1714
|
grid-area: 1 / 1;
|
|
1629
1715
|
white-space: nowrap;
|
|
1630
1716
|
`,
|
|
1631
|
-
label:
|
|
1717
|
+
label: G`
|
|
1632
1718
|
grid-area: 1 / 1;
|
|
1633
1719
|
overflow: hidden;
|
|
1634
1720
|
white-space: nowrap;
|
|
1635
1721
|
text-overflow: ellipsis;
|
|
1636
1722
|
`,
|
|
1637
|
-
icon:
|
|
1638
|
-
${
|
|
1723
|
+
icon: G`
|
|
1724
|
+
${K.extends.verticalCenter}
|
|
1639
1725
|
|
|
1640
1726
|
right: .75rem;
|
|
1641
1727
|
pointer-events: none;
|
|
1642
1728
|
`,
|
|
1643
|
-
iconOpen:
|
|
1729
|
+
iconOpen: G`
|
|
1644
1730
|
transform: translateY(-50%) rotate(180deg);
|
|
1645
1731
|
`,
|
|
1646
|
-
popup:
|
|
1732
|
+
popup: G`
|
|
1647
1733
|
display: grid;
|
|
1648
1734
|
gap: .125rem;
|
|
1649
1735
|
min-width: 0;
|
|
1650
1736
|
padding: .25rem;
|
|
1651
1737
|
`,
|
|
1652
|
-
option:
|
|
1738
|
+
option: G`
|
|
1653
1739
|
width: 100%;
|
|
1654
1740
|
padding: .6rem .75rem;
|
|
1655
1741
|
border-radius: 7px;
|
|
@@ -1657,17 +1743,17 @@ var Q = {
|
|
|
1657
1743
|
text-align: left;
|
|
1658
1744
|
white-space: nowrap;
|
|
1659
1745
|
font-size: .825rem;
|
|
1660
|
-
color: ${
|
|
1661
|
-
font-family: ${
|
|
1746
|
+
color: ${K.colors.fore.primary};
|
|
1747
|
+
font-family: ${K.fontFamily}, sans-serif;
|
|
1662
1748
|
|
|
1663
1749
|
&:hover,
|
|
1664
1750
|
&:focus-visible,
|
|
1665
1751
|
&[aria-selected="true"] {
|
|
1666
|
-
background-color: ${
|
|
1752
|
+
background-color: ${K.colors.back.secondary};
|
|
1667
1753
|
}
|
|
1668
1754
|
`
|
|
1669
|
-
},
|
|
1670
|
-
function
|
|
1755
|
+
}, kt = 28, At = 3, jt = 11;
|
|
1756
|
+
function Mt({ label: e, isChecked: t, isDisabled: a, onChange: l }) {
|
|
1671
1757
|
let u = i(), d = n(t);
|
|
1672
1758
|
r(() => d.value = t, [t]);
|
|
1673
1759
|
function f() {
|
|
@@ -1675,10 +1761,10 @@ function kt({ label: e, isChecked: t, isDisabled: a, onChange: l }) {
|
|
|
1675
1761
|
d.value = e, l?.(e);
|
|
1676
1762
|
}
|
|
1677
1763
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("div", {
|
|
1678
|
-
className:
|
|
1764
|
+
className: Nt.base,
|
|
1679
1765
|
children: [
|
|
1680
1766
|
/* @__PURE__ */ s("label", {
|
|
1681
|
-
className:
|
|
1767
|
+
className: Nt.label,
|
|
1682
1768
|
htmlFor: u,
|
|
1683
1769
|
"is-disabled": a,
|
|
1684
1770
|
children: e
|
|
@@ -1686,48 +1772,48 @@ function kt({ label: e, isChecked: t, isDisabled: a, onChange: l }) {
|
|
|
1686
1772
|
/* @__PURE__ */ s("input", {
|
|
1687
1773
|
id: u,
|
|
1688
1774
|
type: "checkbox",
|
|
1689
|
-
className:
|
|
1775
|
+
className: Nt.checkbox,
|
|
1690
1776
|
checked: d.value,
|
|
1691
1777
|
disabled: a,
|
|
1692
1778
|
onChange: f
|
|
1693
1779
|
}),
|
|
1694
1780
|
/* @__PURE__ */ s("label", {
|
|
1695
|
-
className:
|
|
1781
|
+
className: Nt.value,
|
|
1696
1782
|
htmlFor: u,
|
|
1697
1783
|
"is-disabled": a
|
|
1698
1784
|
})
|
|
1699
1785
|
]
|
|
1700
1786
|
}) });
|
|
1701
1787
|
}
|
|
1702
|
-
var
|
|
1703
|
-
base:
|
|
1788
|
+
var Nt = {
|
|
1789
|
+
base: G`
|
|
1704
1790
|
position: relative;
|
|
1705
1791
|
display: flex;
|
|
1706
1792
|
gap: .5rem;
|
|
1707
1793
|
`,
|
|
1708
|
-
label:
|
|
1794
|
+
label: G`
|
|
1709
1795
|
display: inline-block;
|
|
1710
1796
|
font-size: .75rem;
|
|
1711
1797
|
line-height: 1.2rem;
|
|
1712
1798
|
cursor: pointer;
|
|
1713
1799
|
user-select: none;
|
|
1714
1800
|
font-weight: 500;
|
|
1715
|
-
font-family: ${
|
|
1716
|
-
color: ${
|
|
1801
|
+
font-family: ${K.fontFamily}, sans-serif;
|
|
1802
|
+
color: ${K.colors.fore.secondary};
|
|
1717
1803
|
`,
|
|
1718
|
-
checkbox:
|
|
1804
|
+
checkbox: G`
|
|
1719
1805
|
display: none;
|
|
1720
1806
|
|
|
1721
1807
|
&:checked ~ label {
|
|
1722
1808
|
background-color: #e1e1e1;
|
|
1723
1809
|
|
|
1724
1810
|
&:before {
|
|
1725
|
-
right: ${
|
|
1811
|
+
right: ${At}px;
|
|
1726
1812
|
background-color: #3a3a3a;
|
|
1727
1813
|
}
|
|
1728
1814
|
}
|
|
1729
1815
|
`,
|
|
1730
|
-
value:
|
|
1816
|
+
value: G`
|
|
1731
1817
|
display: inline-block;
|
|
1732
1818
|
position: relative;
|
|
1733
1819
|
height: 1.1rem;
|
|
@@ -1735,8 +1821,8 @@ var At = {
|
|
|
1735
1821
|
cursor: pointer;
|
|
1736
1822
|
user-select: none;
|
|
1737
1823
|
transition: background .3s ease;
|
|
1738
|
-
width: ${
|
|
1739
|
-
background-color: ${
|
|
1824
|
+
width: ${kt}px;
|
|
1825
|
+
background-color: ${K.colors.back.secondary};
|
|
1740
1826
|
|
|
1741
1827
|
&:before {
|
|
1742
1828
|
background-color: #e1e1e1;
|
|
@@ -1745,22 +1831,22 @@ var At = {
|
|
|
1745
1831
|
position: absolute;
|
|
1746
1832
|
transition: background .3s ease, right .3s ease;
|
|
1747
1833
|
border-radius: 50%;
|
|
1748
|
-
top: ${
|
|
1834
|
+
top: ${At}px;
|
|
1749
1835
|
right: ${14}px;
|
|
1750
|
-
width: ${
|
|
1751
|
-
height: ${
|
|
1836
|
+
width: ${jt}px;
|
|
1837
|
+
height: ${jt}px;
|
|
1752
1838
|
}
|
|
1753
1839
|
`
|
|
1754
1840
|
};
|
|
1755
1841
|
//#endregion
|
|
1756
1842
|
//#region src/components/_tag.jsx
|
|
1757
|
-
function
|
|
1843
|
+
function Pt({ className: e, variant: n = "normal", iconName: r = "", label: i }) {
|
|
1758
1844
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("div", {
|
|
1759
|
-
className:
|
|
1845
|
+
className: W(Ft.base, Ft[n] ?? Ft.normal, e),
|
|
1760
1846
|
"has-icon": !t(r),
|
|
1761
|
-
children: [r && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s(
|
|
1762
|
-
className:
|
|
1763
|
-
${
|
|
1847
|
+
children: [r && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s(q, {
|
|
1848
|
+
className: G`
|
|
1849
|
+
${K.extends.verticalCenter}
|
|
1764
1850
|
left: .3rem;
|
|
1765
1851
|
`,
|
|
1766
1852
|
iconName: r,
|
|
@@ -1768,7 +1854,7 @@ function jt({ className: e, variant: n = "normal", iconName: r = "", label: i })
|
|
|
1768
1854
|
}) }), i]
|
|
1769
1855
|
}) });
|
|
1770
1856
|
}
|
|
1771
|
-
var
|
|
1857
|
+
var Ft = { base: G`
|
|
1772
1858
|
position: relative;
|
|
1773
1859
|
display: inline-block;
|
|
1774
1860
|
padding: .3rem .5rem;
|
|
@@ -1776,50 +1862,50 @@ var Mt = { base: K`
|
|
|
1776
1862
|
white-space: pre-wrap;
|
|
1777
1863
|
font-size: .7rem;
|
|
1778
1864
|
font-weight: 600;
|
|
1779
|
-
border: solid 1px ${
|
|
1780
|
-
background-color: ${
|
|
1781
|
-
color: ${
|
|
1865
|
+
border: solid 1px ${K.colors.border};
|
|
1866
|
+
background-color: ${K.colors.back.secondary};
|
|
1867
|
+
color: ${K.colors.fore.primary};
|
|
1782
1868
|
|
|
1783
1869
|
&[has-icon="true"] { padding-left: 1.5rem; }
|
|
1784
1870
|
` };
|
|
1785
1871
|
//#endregion
|
|
1786
1872
|
//#region src/components/_icon-button.jsx
|
|
1787
|
-
function
|
|
1873
|
+
function It({ iconName: e, color: t, isDisabled: n, onClick: r }) {
|
|
1788
1874
|
function i(e) {
|
|
1789
1875
|
n || (e.stopPropagation(), e.preventDefault(), r?.(e));
|
|
1790
1876
|
}
|
|
1791
1877
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("button", {
|
|
1792
|
-
className:
|
|
1878
|
+
className: Lt.base,
|
|
1793
1879
|
"is-disabled": n || void 0,
|
|
1794
1880
|
"is-clickable": !!r || void 0,
|
|
1795
1881
|
disabled: n,
|
|
1796
1882
|
onClick: i,
|
|
1797
|
-
children: /* @__PURE__ */ s(
|
|
1883
|
+
children: /* @__PURE__ */ s(q, {
|
|
1798
1884
|
color: t,
|
|
1799
|
-
className:
|
|
1885
|
+
className: G`${K.extends.centrate}`,
|
|
1800
1886
|
iconName: e,
|
|
1801
1887
|
isDisabled: n
|
|
1802
1888
|
})
|
|
1803
1889
|
}) });
|
|
1804
1890
|
}
|
|
1805
|
-
var
|
|
1891
|
+
var Lt = { base: G`
|
|
1806
1892
|
position: relative;
|
|
1807
1893
|
width: 2.25rem;
|
|
1808
1894
|
height: 2.25rem;
|
|
1809
1895
|
border-radius: 8px;
|
|
1810
|
-
background-color: ${
|
|
1896
|
+
background-color: ${K.colors.back.secondary};
|
|
1811
1897
|
` };
|
|
1812
1898
|
//#endregion
|
|
1813
1899
|
//#region src/components/_tab-box.jsx
|
|
1814
|
-
function
|
|
1900
|
+
function Rt({ className: e, width: t, height: r, initialIndex: a = 0, items: l = [], onChange: u }) {
|
|
1815
1901
|
let d = i(), f = Math.max(l.length - 1, 0), p = n(Math.min(Math.max(a, 0), f)), m = Math.min(p.value, f);
|
|
1816
1902
|
function h(e) {
|
|
1817
1903
|
e !== m && (p.value = e, u?.(e, l[e]));
|
|
1818
1904
|
}
|
|
1819
1905
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("div", {
|
|
1820
|
-
className:
|
|
1906
|
+
className: W($.base, e),
|
|
1821
1907
|
style: { width: t },
|
|
1822
|
-
children: [/* @__PURE__ */ s(
|
|
1908
|
+
children: [/* @__PURE__ */ s(_t, {
|
|
1823
1909
|
className: $.box,
|
|
1824
1910
|
height: r,
|
|
1825
1911
|
children: /* @__PURE__ */ s("div", {
|
|
@@ -1856,7 +1942,7 @@ function Ft({ className: e, width: t, height: r, initialIndex: a = 0, items: l =
|
|
|
1856
1942
|
"is-active": n || void 0,
|
|
1857
1943
|
onClick: () => h(t),
|
|
1858
1944
|
children: [
|
|
1859
|
-
e.iconName && /* @__PURE__ */ s(
|
|
1945
|
+
e.iconName && /* @__PURE__ */ s(q, {
|
|
1860
1946
|
iconName: e.iconName,
|
|
1861
1947
|
size: "1rem"
|
|
1862
1948
|
}),
|
|
@@ -1873,17 +1959,17 @@ function Ft({ className: e, width: t, height: r, initialIndex: a = 0, items: l =
|
|
|
1873
1959
|
}) });
|
|
1874
1960
|
}
|
|
1875
1961
|
var $ = {
|
|
1876
|
-
base:
|
|
1962
|
+
base: G`
|
|
1877
1963
|
position: relative;
|
|
1878
1964
|
max-width: 100%;
|
|
1879
1965
|
`,
|
|
1880
|
-
box:
|
|
1881
|
-
z-index: ${
|
|
1966
|
+
box: G`
|
|
1967
|
+
z-index: ${K.zIndex.front};
|
|
1882
1968
|
width: 100%;
|
|
1883
1969
|
padding: 0;
|
|
1884
1970
|
overflow: hidden;
|
|
1885
1971
|
`,
|
|
1886
|
-
track:
|
|
1972
|
+
track: G`
|
|
1887
1973
|
display: flex;
|
|
1888
1974
|
width: 100%;
|
|
1889
1975
|
min-height: 100%;
|
|
@@ -1892,12 +1978,12 @@ var $ = {
|
|
|
1892
1978
|
|
|
1893
1979
|
@media (prefers-reduced-motion: reduce) { transition: none; }
|
|
1894
1980
|
`,
|
|
1895
|
-
panel:
|
|
1981
|
+
panel: G`
|
|
1896
1982
|
flex: 0 0 100%;
|
|
1897
1983
|
min-width: 0;
|
|
1898
1984
|
padding: 1.875rem 1.25rem;
|
|
1899
1985
|
`,
|
|
1900
|
-
tabs:
|
|
1986
|
+
tabs: G`
|
|
1901
1987
|
display: flex;
|
|
1902
1988
|
position: relative;
|
|
1903
1989
|
margin-top: -1rem;
|
|
@@ -1905,9 +1991,9 @@ var $ = {
|
|
|
1905
1991
|
border: solid 2px #eee;
|
|
1906
1992
|
border-top: 0;
|
|
1907
1993
|
border-radius: 0 0 18px 18px;
|
|
1908
|
-
background-color: ${
|
|
1994
|
+
background-color: ${K.colors.back.secondary};
|
|
1909
1995
|
`,
|
|
1910
|
-
tab:
|
|
1996
|
+
tab: G`
|
|
1911
1997
|
display: flex;
|
|
1912
1998
|
flex: 1 1 0;
|
|
1913
1999
|
align-items: center;
|
|
@@ -1920,17 +2006,17 @@ var $ = {
|
|
|
1920
2006
|
font-size: .8rem;
|
|
1921
2007
|
font-weight: 600;
|
|
1922
2008
|
transition: color .2s ease, background-color .2s ease;
|
|
1923
|
-
color: ${
|
|
1924
|
-
font-family: ${
|
|
2009
|
+
color: ${K.colors.fore.secondary};
|
|
2010
|
+
font-family: ${K.fontFamily}, sans-serif;
|
|
1925
2011
|
|
|
1926
2012
|
& + & { border-left: solid 1px #e5e7e9; }
|
|
1927
2013
|
|
|
1928
2014
|
&[is-active] {
|
|
1929
|
-
color: ${
|
|
1930
|
-
background-color: ${
|
|
2015
|
+
color: ${K.colors.fore.primary};
|
|
2016
|
+
background-color: ${K.colors.back.primary};
|
|
1931
2017
|
}
|
|
1932
2018
|
`,
|
|
1933
|
-
notification:
|
|
2019
|
+
notification: G`
|
|
1934
2020
|
display: inline-flex;
|
|
1935
2021
|
align-items: center;
|
|
1936
2022
|
justify-content: center;
|
|
@@ -1941,9 +2027,9 @@ var $ = {
|
|
|
1941
2027
|
font-size: .7rem;
|
|
1942
2028
|
font-weight: 700;
|
|
1943
2029
|
line-height: 1;
|
|
1944
|
-
color: ${
|
|
2030
|
+
color: ${K.colors.fore.primary};
|
|
1945
2031
|
background-color: #e1e1e1;
|
|
1946
2032
|
`
|
|
1947
2033
|
};
|
|
1948
2034
|
//#endregion
|
|
1949
|
-
export {
|
|
2035
|
+
export { ct as Actions, ft as AppWrapper, ht as Bar, _t as Box, yt as Button, Ot as Dropdown, Ct as Headline, q as Icon, It as IconButton, xt as Layout, ot as PopupBox, Tt as Space, Mt as Switch, Rt as TabBox, Pt as Tag, ut as Text, Et as TextField, K as Theme, pt as Toolbar };
|