melonykit 0.7.0 → 0.7.1
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 +461 -484
- package/package.json +5 -3
- package/dist/browser.js +0 -63
- package/dist/signals.module-CHeHx-c5.js +0 -763
package/dist/index.js
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { i as e, o as t } from "./functions-C8th2V6m.js";
|
|
2
|
+
import { Fragment as n, jsx as r, jsxs as i } from "preact/jsx-runtime";
|
|
3
|
+
import { useSignal as a } from "@preact/signals";
|
|
4
|
+
import { useEffect as o, useId as s } from "preact/hooks";
|
|
3
5
|
//#region node_modules/@emotion/sheet/dist/emotion-sheet.esm.js
|
|
4
|
-
function
|
|
6
|
+
function c(e) {
|
|
5
7
|
if (e.sheet) return e.sheet;
|
|
6
8
|
/* istanbul ignore next */
|
|
7
9
|
for (var t = 0; t < document.styleSheets.length; t++) if (document.styleSheets[t].ownerNode === e) return document.styleSheets[t];
|
|
8
10
|
}
|
|
9
|
-
function
|
|
11
|
+
function l(e) {
|
|
10
12
|
var t = document.createElement("style");
|
|
11
13
|
return t.setAttribute("data-emotion", e.key), e.nonce !== void 0 && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t;
|
|
12
14
|
}
|
|
13
|
-
var
|
|
15
|
+
var u = /*#__PURE__*/ function() {
|
|
14
16
|
function e(e) {
|
|
15
17
|
var t = this;
|
|
16
18
|
this._insertTag = function(e) {
|
|
@@ -22,10 +24,10 @@ var l = /*#__PURE__*/ function() {
|
|
|
22
24
|
return t.hydrate = function(e) {
|
|
23
25
|
e.forEach(this._insertTag);
|
|
24
26
|
}, t.insert = function(e) {
|
|
25
|
-
this.ctr % (this.isSpeedy ? 65e3 : 1) == 0 && this._insertTag(
|
|
27
|
+
this.ctr % (this.isSpeedy ? 65e3 : 1) == 0 && this._insertTag(l(this));
|
|
26
28
|
var t = this.tags[this.tags.length - 1];
|
|
27
29
|
if (this.isSpeedy) {
|
|
28
|
-
var n =
|
|
30
|
+
var n = c(t);
|
|
29
31
|
try {
|
|
30
32
|
n.insertRule(e, n.cssRules.length);
|
|
31
33
|
} catch {}
|
|
@@ -36,20 +38,20 @@ var l = /*#__PURE__*/ function() {
|
|
|
36
38
|
return e.parentNode?.removeChild(e);
|
|
37
39
|
}), this.tags = [], this.ctr = 0;
|
|
38
40
|
}, e;
|
|
39
|
-
}(),
|
|
40
|
-
function
|
|
41
|
+
}(), d = "-ms-", f = "-moz-", p = "-webkit-", m = "comm", h = "rule", g = "decl", _ = "@import", v = "@keyframes", y = "@layer", b = Math.abs, x = String.fromCharCode, S = Object.assign;
|
|
42
|
+
function C(e, t) {
|
|
41
43
|
return E(e, 0) ^ 45 ? (((t << 2 ^ E(e, 0)) << 2 ^ E(e, 1)) << 2 ^ E(e, 2)) << 2 ^ E(e, 3) : 0;
|
|
42
44
|
}
|
|
43
|
-
function
|
|
45
|
+
function w(e) {
|
|
44
46
|
return e.trim();
|
|
45
47
|
}
|
|
46
|
-
function
|
|
48
|
+
function ee(e, t) {
|
|
47
49
|
return (e = t.exec(e)) ? e[0] : e;
|
|
48
50
|
}
|
|
49
51
|
function T(e, t, n) {
|
|
50
52
|
return e.replace(t, n);
|
|
51
53
|
}
|
|
52
|
-
function
|
|
54
|
+
function te(e, t) {
|
|
53
55
|
return e.indexOf(t);
|
|
54
56
|
}
|
|
55
57
|
function E(e, t) {
|
|
@@ -61,19 +63,19 @@ function D(e, t, n) {
|
|
|
61
63
|
function O(e) {
|
|
62
64
|
return e.length;
|
|
63
65
|
}
|
|
64
|
-
function
|
|
66
|
+
function ne(e) {
|
|
65
67
|
return e.length;
|
|
66
68
|
}
|
|
67
69
|
function k(e, t) {
|
|
68
70
|
return t.push(e), e;
|
|
69
71
|
}
|
|
70
|
-
function
|
|
72
|
+
function re(e, t) {
|
|
71
73
|
return e.map(t).join("");
|
|
72
74
|
}
|
|
73
75
|
//#endregion
|
|
74
76
|
//#region node_modules/stylis/src/Tokenizer.js
|
|
75
|
-
var A = 1, j = 1,
|
|
76
|
-
function
|
|
77
|
+
var A = 1, j = 1, ie = 0, M = 0, N = 0, P = "";
|
|
78
|
+
function ae(e, t, n, r, i, a, o) {
|
|
77
79
|
return {
|
|
78
80
|
value: e,
|
|
79
81
|
root: t,
|
|
@@ -87,28 +89,28 @@ function F(e, t, n, r, i, a, o) {
|
|
|
87
89
|
return: ""
|
|
88
90
|
};
|
|
89
91
|
}
|
|
90
|
-
function
|
|
91
|
-
return
|
|
92
|
+
function F(e, t) {
|
|
93
|
+
return S(ae("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
92
94
|
}
|
|
93
|
-
function
|
|
95
|
+
function oe() {
|
|
94
96
|
return N;
|
|
95
97
|
}
|
|
96
|
-
function
|
|
98
|
+
function se() {
|
|
97
99
|
return N = M > 0 ? E(P, --M) : 0, j--, N === 10 && (j = 1, A--), N;
|
|
98
100
|
}
|
|
99
|
-
function
|
|
100
|
-
return N = M <
|
|
101
|
+
function I() {
|
|
102
|
+
return N = M < ie ? E(P, M++) : 0, j++, N === 10 && (j = 1, A++), N;
|
|
101
103
|
}
|
|
102
|
-
function
|
|
104
|
+
function L() {
|
|
103
105
|
return E(P, M);
|
|
104
106
|
}
|
|
105
|
-
function
|
|
107
|
+
function R() {
|
|
106
108
|
return M;
|
|
107
109
|
}
|
|
108
|
-
function
|
|
110
|
+
function z(e, t) {
|
|
109
111
|
return D(P, e, t);
|
|
110
112
|
}
|
|
111
|
-
function
|
|
113
|
+
function B(e) {
|
|
112
114
|
switch (e) {
|
|
113
115
|
case 0:
|
|
114
116
|
case 9:
|
|
@@ -135,77 +137,77 @@ function V(e) {
|
|
|
135
137
|
}
|
|
136
138
|
return 0;
|
|
137
139
|
}
|
|
138
|
-
function
|
|
139
|
-
return A = j = 1,
|
|
140
|
+
function ce(e) {
|
|
141
|
+
return A = j = 1, ie = O(P = e), M = 0, [];
|
|
140
142
|
}
|
|
141
|
-
function
|
|
143
|
+
function le(e) {
|
|
142
144
|
return P = "", e;
|
|
143
145
|
}
|
|
144
|
-
function
|
|
145
|
-
return
|
|
146
|
+
function V(e) {
|
|
147
|
+
return w(z(M - 1, fe(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
146
148
|
}
|
|
147
|
-
function
|
|
148
|
-
for (; (N =
|
|
149
|
-
return
|
|
149
|
+
function ue(e) {
|
|
150
|
+
for (; (N = L()) && N < 33;) I();
|
|
151
|
+
return B(e) > 2 || B(N) > 3 ? "" : " ";
|
|
150
152
|
}
|
|
151
|
-
function
|
|
152
|
-
for (; --t &&
|
|
153
|
-
return
|
|
153
|
+
function de(e, t) {
|
|
154
|
+
for (; --t && I() && !(N < 48 || N > 102 || N > 57 && N < 65 || N > 70 && N < 97););
|
|
155
|
+
return z(e, R() + (t < 6 && L() == 32 && I() == 32));
|
|
154
156
|
}
|
|
155
|
-
function
|
|
156
|
-
for (;
|
|
157
|
+
function fe(e) {
|
|
158
|
+
for (; I();) switch (N) {
|
|
157
159
|
case e: return M;
|
|
158
160
|
case 34:
|
|
159
161
|
case 39:
|
|
160
|
-
e !== 34 && e !== 39 &&
|
|
162
|
+
e !== 34 && e !== 39 && fe(N);
|
|
161
163
|
break;
|
|
162
164
|
case 40:
|
|
163
|
-
e === 41 &&
|
|
165
|
+
e === 41 && fe(e);
|
|
164
166
|
break;
|
|
165
167
|
case 92:
|
|
166
|
-
|
|
168
|
+
I();
|
|
167
169
|
break;
|
|
168
170
|
}
|
|
169
171
|
return M;
|
|
170
172
|
}
|
|
171
|
-
function
|
|
172
|
-
for (;
|
|
173
|
-
return "/*" +
|
|
173
|
+
function pe(e, t) {
|
|
174
|
+
for (; I() && e + N !== 57 && (e + N !== 84 || L() !== 47););
|
|
175
|
+
return "/*" + z(t, M - 1) + "*" + x(e === 47 ? e : I());
|
|
174
176
|
}
|
|
175
|
-
function
|
|
176
|
-
for (; !
|
|
177
|
-
return
|
|
177
|
+
function me(e) {
|
|
178
|
+
for (; !B(L());) I();
|
|
179
|
+
return z(e, M);
|
|
178
180
|
}
|
|
179
181
|
//#endregion
|
|
180
182
|
//#region node_modules/stylis/src/Parser.js
|
|
181
|
-
function
|
|
182
|
-
return
|
|
183
|
+
function he(e) {
|
|
184
|
+
return le(H("", null, null, null, [""], e = ce(e), 0, [0], e));
|
|
183
185
|
}
|
|
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 = "",
|
|
186
|
+
function H(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, S = a, C = r, w = y; g;) switch (m = v, v = I()) {
|
|
186
188
|
case 40: if (m != 108 && E(w, d - 1) == 58) {
|
|
187
|
-
|
|
189
|
+
te(w += T(V(v), "&", "&\f"), "&\f") != -1 && (_ = -1);
|
|
188
190
|
break;
|
|
189
191
|
}
|
|
190
192
|
case 34:
|
|
191
193
|
case 39:
|
|
192
194
|
case 91:
|
|
193
|
-
w +=
|
|
195
|
+
w += V(v);
|
|
194
196
|
break;
|
|
195
197
|
case 9:
|
|
196
198
|
case 10:
|
|
197
199
|
case 13:
|
|
198
200
|
case 32:
|
|
199
|
-
w +=
|
|
201
|
+
w += ue(m);
|
|
200
202
|
break;
|
|
201
203
|
case 92:
|
|
202
|
-
w +=
|
|
204
|
+
w += de(R() - 1, 7);
|
|
203
205
|
continue;
|
|
204
206
|
case 47:
|
|
205
|
-
switch (
|
|
207
|
+
switch (L()) {
|
|
206
208
|
case 42:
|
|
207
209
|
case 47:
|
|
208
|
-
k(
|
|
210
|
+
k(_e(pe(I(), R()), t, n), c);
|
|
209
211
|
break;
|
|
210
212
|
default: w += "/";
|
|
211
213
|
}
|
|
@@ -218,18 +220,18 @@ function U(e, t, n, r, i, a, o, s, c) {
|
|
|
218
220
|
case 0:
|
|
219
221
|
case 125: g = 0;
|
|
220
222
|
case 59 + u:
|
|
221
|
-
_ == -1 && (w = T(w, /\f/g, "")), p > 0 && O(w) - d && k(p > 32 ?
|
|
223
|
+
_ == -1 && (w = T(w, /\f/g, "")), p > 0 && O(w) - d && k(p > 32 ? ve(w + ";", r, n, d - 1) : ve(T(w, " ", "") + ";", r, n, d - 2), c);
|
|
222
224
|
break;
|
|
223
225
|
case 59: w += ";";
|
|
224
|
-
default: if (k(C =
|
|
226
|
+
default: if (k(C = ge(w, t, n, l, u, i, s, y, b = [], S = [], d), a), v === 123) if (u === 0) H(w, t, C, C, b, a, d, s, S);
|
|
225
227
|
else switch (f === 99 && E(w, 3) === 110 ? 100 : f) {
|
|
226
228
|
case 100:
|
|
227
229
|
case 108:
|
|
228
230
|
case 109:
|
|
229
231
|
case 115:
|
|
230
|
-
|
|
232
|
+
H(e, C, C, r && k(ge(e, C, C, 0, 0, i, s, y, i, b = [], d), S), i, S, d, s, r ? b : S);
|
|
231
233
|
break;
|
|
232
|
-
default:
|
|
234
|
+
default: H(w, C, C, C, [""], S, 0, s, S);
|
|
233
235
|
}
|
|
234
236
|
}
|
|
235
237
|
l = u = p = 0, h = _ = 1, y = w = "", d = o;
|
|
@@ -238,9 +240,9 @@ function U(e, t, n, r, i, a, o, s, c) {
|
|
|
238
240
|
default:
|
|
239
241
|
if (h < 1) {
|
|
240
242
|
if (v == 123) --h;
|
|
241
|
-
else if (v == 125 && h++ == 0 &&
|
|
243
|
+
else if (v == 125 && h++ == 0 && se() == 125) continue;
|
|
242
244
|
}
|
|
243
|
-
switch (w +=
|
|
245
|
+
switch (w += x(v), v * h) {
|
|
244
246
|
case 38:
|
|
245
247
|
_ = u > 0 ? 1 : (w += "\f", -1);
|
|
246
248
|
break;
|
|
@@ -248,57 +250,57 @@ function U(e, t, n, r, i, a, o, s, c) {
|
|
|
248
250
|
s[l++] = (O(w) - 1) * _, _ = 1;
|
|
249
251
|
break;
|
|
250
252
|
case 64:
|
|
251
|
-
|
|
253
|
+
L() === 45 && (w += V(I())), f = L(), u = d = O(y = w += me(R())), v++;
|
|
252
254
|
break;
|
|
253
255
|
case 45: m === 45 && O(w) == 2 && (h = 0);
|
|
254
256
|
}
|
|
255
257
|
}
|
|
256
258
|
return a;
|
|
257
259
|
}
|
|
258
|
-
function
|
|
259
|
-
for (var d = i - 1, f = i === 0 ? a : [""], p =
|
|
260
|
-
return
|
|
260
|
+
function ge(e, t, n, r, i, a, o, s, c, l, u) {
|
|
261
|
+
for (var d = i - 1, f = i === 0 ? a : [""], p = ne(f), m = 0, g = 0, _ = 0; m < r; ++m) for (var v = 0, y = D(e, d + 1, d = b(g = o[m])), x = e; v < p; ++v) (x = w(g > 0 ? f[v] + " " + y : T(y, /&\f/g, f[v]))) && (c[_++] = x);
|
|
262
|
+
return ae(e, t, n, i === 0 ? h : s, c, l, u);
|
|
261
263
|
}
|
|
262
|
-
function
|
|
263
|
-
return
|
|
264
|
+
function _e(e, t, n) {
|
|
265
|
+
return ae(e, t, n, m, x(oe()), D(e, 2, -2), 0);
|
|
264
266
|
}
|
|
265
|
-
function
|
|
266
|
-
return
|
|
267
|
+
function ve(e, t, n, r) {
|
|
268
|
+
return ae(e, t, n, g, D(e, 0, r), D(e, r + 1, -1), r);
|
|
267
269
|
}
|
|
268
270
|
//#endregion
|
|
269
271
|
//#region node_modules/stylis/src/Serializer.js
|
|
270
|
-
function
|
|
271
|
-
for (var n = "", r =
|
|
272
|
+
function U(e, t) {
|
|
273
|
+
for (var n = "", r = ne(e), i = 0; i < r; i++) n += t(e[i], i, e, t) || "";
|
|
272
274
|
return n;
|
|
273
275
|
}
|
|
274
|
-
function
|
|
276
|
+
function ye(e, t, n, r) {
|
|
275
277
|
switch (e.type) {
|
|
276
|
-
case
|
|
277
|
-
case
|
|
278
|
-
case
|
|
279
|
-
case
|
|
280
|
-
case
|
|
281
|
-
case
|
|
278
|
+
case y: if (e.children.length) break;
|
|
279
|
+
case _:
|
|
280
|
+
case g: return e.return = e.return || e.value;
|
|
281
|
+
case m: return "";
|
|
282
|
+
case v: return e.return = e.value + "{" + U(e.children, r) + "}";
|
|
283
|
+
case h: e.value = e.props.join(",");
|
|
282
284
|
}
|
|
283
|
-
return O(n =
|
|
285
|
+
return O(n = U(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
|
|
284
286
|
}
|
|
285
287
|
//#endregion
|
|
286
288
|
//#region node_modules/stylis/src/Middleware.js
|
|
287
|
-
function
|
|
288
|
-
var t =
|
|
289
|
+
function be(e) {
|
|
290
|
+
var t = ne(e);
|
|
289
291
|
return function(n, r, i, a) {
|
|
290
292
|
for (var o = "", s = 0; s < t; s++) o += e[s](n, r, i, a) || "";
|
|
291
293
|
return o;
|
|
292
294
|
};
|
|
293
295
|
}
|
|
294
|
-
function
|
|
296
|
+
function xe(e) {
|
|
295
297
|
return function(t) {
|
|
296
298
|
t.root || (t = t.return) && e(t);
|
|
297
299
|
};
|
|
298
300
|
}
|
|
299
301
|
//#endregion
|
|
300
302
|
//#region node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
|
|
301
|
-
function
|
|
303
|
+
function Se(e) {
|
|
302
304
|
var t = Object.create(null);
|
|
303
305
|
return function(n) {
|
|
304
306
|
return t[n] === void 0 && (t[n] = e(n)), t[n];
|
|
@@ -306,46 +308,46 @@ function be(e) {
|
|
|
306
308
|
}
|
|
307
309
|
//#endregion
|
|
308
310
|
//#region node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js
|
|
309
|
-
var
|
|
310
|
-
for (var r = 0, i = 0; r = i, i =
|
|
311
|
-
return
|
|
312
|
-
},
|
|
311
|
+
var Ce = function(e, t, n) {
|
|
312
|
+
for (var r = 0, i = 0; r = i, i = L(), r === 38 && i === 12 && (t[n] = 1), !B(i);) I();
|
|
313
|
+
return z(e, M);
|
|
314
|
+
}, we = function(e, t) {
|
|
313
315
|
var n = -1, r = 44;
|
|
314
316
|
do
|
|
315
|
-
switch (
|
|
317
|
+
switch (B(r)) {
|
|
316
318
|
case 0:
|
|
317
|
-
r === 38 &&
|
|
319
|
+
r === 38 && L() === 12 && (t[n] = 1), e[n] += Ce(M - 1, t, n);
|
|
318
320
|
break;
|
|
319
321
|
case 2:
|
|
320
|
-
e[n] +=
|
|
322
|
+
e[n] += V(r);
|
|
321
323
|
break;
|
|
322
324
|
case 4: if (r === 44) {
|
|
323
|
-
e[++n] =
|
|
325
|
+
e[++n] = L() === 58 ? "&\f" : "", t[n] = e[n].length;
|
|
324
326
|
break;
|
|
325
327
|
}
|
|
326
|
-
default: e[n] +=
|
|
328
|
+
default: e[n] += x(r);
|
|
327
329
|
}
|
|
328
|
-
while (r =
|
|
330
|
+
while (r = I());
|
|
329
331
|
return e;
|
|
330
|
-
},
|
|
331
|
-
return
|
|
332
|
-
},
|
|
332
|
+
}, Te = function(e, t) {
|
|
333
|
+
return le(we(ce(e), t));
|
|
334
|
+
}, Ee = /* #__PURE__ */ new WeakMap(), De = function(e) {
|
|
333
335
|
if (!(e.type !== "rule" || !e.parent || e.length < 1)) {
|
|
334
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;
|
|
335
|
-
if (!(e.props.length === 1 && t.charCodeAt(0) !== 58 && !
|
|
336
|
-
|
|
337
|
-
for (var i = [], a =
|
|
337
|
+
if (!(e.props.length === 1 && t.charCodeAt(0) !== 58 && !Ee.get(n)) && !r) {
|
|
338
|
+
Ee.set(e, !0);
|
|
339
|
+
for (var i = [], a = Te(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];
|
|
338
340
|
}
|
|
339
341
|
}
|
|
340
|
-
},
|
|
342
|
+
}, Oe = function(e) {
|
|
341
343
|
if (e.type === "decl") {
|
|
342
344
|
var t = e.value;
|
|
343
345
|
t.charCodeAt(0) === 108 && t.charCodeAt(2) === 98 && (e.return = "", e.value = "");
|
|
344
346
|
}
|
|
345
347
|
};
|
|
346
|
-
function
|
|
347
|
-
switch (
|
|
348
|
-
case 5103: return
|
|
348
|
+
function ke(e, t) {
|
|
349
|
+
switch (C(e, t)) {
|
|
350
|
+
case 5103: return p + "print-" + e + e;
|
|
349
351
|
case 5737:
|
|
350
352
|
case 4201:
|
|
351
353
|
case 3177:
|
|
@@ -370,30 +372,30 @@ function De(e, t) {
|
|
|
370
372
|
case 5109:
|
|
371
373
|
case 5365:
|
|
372
374
|
case 5621:
|
|
373
|
-
case 3829: return
|
|
375
|
+
case 3829: return p + e + e;
|
|
374
376
|
case 5349:
|
|
375
377
|
case 4246:
|
|
376
378
|
case 4810:
|
|
377
379
|
case 6968:
|
|
378
|
-
case 2756: return
|
|
380
|
+
case 2756: return p + e + f + e + d + e + e;
|
|
379
381
|
case 6828:
|
|
380
|
-
case 4268: return
|
|
381
|
-
case 6165: return
|
|
382
|
-
case 5187: return
|
|
383
|
-
case 5443: return
|
|
384
|
-
case 4675: return
|
|
385
|
-
case 5548: return
|
|
386
|
-
case 5292: return
|
|
387
|
-
case 6060: return
|
|
388
|
-
case 4554: return
|
|
389
|
-
case 6187: return T(T(T(e, /(zoom-|grab)/,
|
|
382
|
+
case 4268: return p + e + d + e + e;
|
|
383
|
+
case 6165: return p + e + d + "flex-" + e + e;
|
|
384
|
+
case 5187: return p + e + T(e, /(\w+).+(:[^]+)/, p + "box-$1$2" + d + "flex-$1$2") + e;
|
|
385
|
+
case 5443: return p + e + d + "flex-item-" + T(e, /flex-|-self/, "") + e;
|
|
386
|
+
case 4675: return p + e + d + "flex-line-pack" + T(e, /align-content|flex-|-self/, "") + e;
|
|
387
|
+
case 5548: return p + e + d + T(e, "shrink", "negative") + e;
|
|
388
|
+
case 5292: return p + e + d + T(e, "basis", "preferred-size") + e;
|
|
389
|
+
case 6060: return p + "box-" + T(e, "-grow", "") + p + e + d + T(e, "grow", "positive") + e;
|
|
390
|
+
case 4554: return p + T(e, /([^-])(transform)/g, "$1" + p + "$2") + e;
|
|
391
|
+
case 6187: return T(T(T(e, /(zoom-|grab)/, p + "$1"), /(image-set)/, p + "$1"), e, "") + e;
|
|
390
392
|
case 5495:
|
|
391
|
-
case 3959: return T(e, /(image-set\([^]*)/,
|
|
392
|
-
case 4968: return T(T(e, /(.+:)(flex-)?(.*)/,
|
|
393
|
+
case 3959: return T(e, /(image-set\([^]*)/, p + "$1$`$1");
|
|
394
|
+
case 4968: return T(T(e, /(.+:)(flex-)?(.*)/, p + "box-pack:$3" + d + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + p + e + e;
|
|
393
395
|
case 4095:
|
|
394
396
|
case 3583:
|
|
395
397
|
case 4068:
|
|
396
|
-
case 2532: return T(e, /(.+)-inline(.+)/,
|
|
398
|
+
case 2532: return T(e, /(.+)-inline(.+)/, p + "$1$2") + e;
|
|
397
399
|
case 8116:
|
|
398
400
|
case 7059:
|
|
399
401
|
case 5753:
|
|
@@ -408,47 +410,47 @@ function De(e, t) {
|
|
|
408
410
|
case 4765:
|
|
409
411
|
if (O(e) - 1 - t > 6) switch (E(e, t + 1)) {
|
|
410
412
|
case 109: if (E(e, t + 4) !== 45) break;
|
|
411
|
-
case 102: return T(e, /(.+:)(.+)-([^]+)/, "$1" +
|
|
412
|
-
case 115: return ~
|
|
413
|
+
case 102: return T(e, /(.+:)(.+)-([^]+)/, "$1" + p + "$2-$3$1" + f + (E(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
414
|
+
case 115: return ~te(e, "stretch") ? ke(T(e, "stretch", "fill-available"), t) + e : e;
|
|
413
415
|
}
|
|
414
416
|
break;
|
|
415
417
|
case 4949: if (E(e, t + 1) !== 115) break;
|
|
416
418
|
case 6444:
|
|
417
|
-
switch (E(e, O(e) - 3 - (~
|
|
418
|
-
case 107: return T(e, ":", ":" +
|
|
419
|
-
case 101: return T(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" +
|
|
419
|
+
switch (E(e, O(e) - 3 - (~te(e, "!important") && 10))) {
|
|
420
|
+
case 107: return T(e, ":", ":" + p) + e;
|
|
421
|
+
case 101: return T(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + p + (E(e, 14) === 45 ? "inline-" : "") + "box$3$1" + p + "$2$3$1" + d + "$2box$3") + e;
|
|
420
422
|
}
|
|
421
423
|
break;
|
|
422
424
|
case 5936:
|
|
423
425
|
switch (E(e, t + 11)) {
|
|
424
|
-
case 114: return
|
|
425
|
-
case 108: return
|
|
426
|
-
case 45: return
|
|
426
|
+
case 114: return p + e + d + T(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
427
|
+
case 108: return p + e + d + T(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
428
|
+
case 45: return p + e + d + T(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
427
429
|
}
|
|
428
|
-
return
|
|
430
|
+
return p + e + d + e + e;
|
|
429
431
|
}
|
|
430
432
|
return e;
|
|
431
433
|
}
|
|
432
|
-
var
|
|
434
|
+
var Ae = [function(e, t, n, r) {
|
|
433
435
|
if (e.length > -1 && !e.return) switch (e.type) {
|
|
434
|
-
case
|
|
435
|
-
e.return =
|
|
436
|
+
case g:
|
|
437
|
+
e.return = ke(e.value, e.length);
|
|
436
438
|
break;
|
|
437
|
-
case
|
|
438
|
-
case
|
|
439
|
-
switch (
|
|
439
|
+
case v: return U([F(e, { value: T(e.value, "@", "@" + p) })], r);
|
|
440
|
+
case h: if (e.length) return re(e.props, function(t) {
|
|
441
|
+
switch (ee(t, /(::plac\w+|:read-\w+)/)) {
|
|
440
442
|
case ":read-only":
|
|
441
|
-
case ":read-write": return
|
|
442
|
-
case "::placeholder": return
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
443
|
+
case ":read-write": return U([F(e, { props: [T(t, /:(read-\w+)/, ":" + f + "$1")] })], r);
|
|
444
|
+
case "::placeholder": return U([
|
|
445
|
+
F(e, { props: [T(t, /:(plac\w+)/, ":" + p + "input-$1")] }),
|
|
446
|
+
F(e, { props: [T(t, /:(plac\w+)/, ":" + f + "$1")] }),
|
|
447
|
+
F(e, { props: [T(t, /:(plac\w+)/, d + "input-$1")] })
|
|
446
448
|
], r);
|
|
447
449
|
}
|
|
448
450
|
return "";
|
|
449
451
|
});
|
|
450
452
|
}
|
|
451
|
-
}],
|
|
453
|
+
}], je = function(e) {
|
|
452
454
|
var t = e.key;
|
|
453
455
|
if (t === "css") {
|
|
454
456
|
var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
@@ -456,22 +458,22 @@ var Oe = [function(e, t, n, r) {
|
|
|
456
458
|
e.getAttribute("data-emotion").indexOf(" ") !== -1 && (document.head.appendChild(e), e.setAttribute("data-s", ""));
|
|
457
459
|
});
|
|
458
460
|
}
|
|
459
|
-
var r = e.stylisPlugins ||
|
|
461
|
+
var r = e.stylisPlugins || Ae, i = {}, a, o = [];
|
|
460
462
|
a = e.container || document.head, Array.prototype.forEach.call(document.querySelectorAll("style[data-emotion^=\"" + t + " \"]"), function(e) {
|
|
461
463
|
for (var t = e.getAttribute("data-emotion").split(" "), n = 1; n < t.length; n++) i[t[n]] = !0;
|
|
462
464
|
o.push(e);
|
|
463
465
|
});
|
|
464
|
-
var s, c = [
|
|
465
|
-
|
|
466
|
-
})], f =
|
|
467
|
-
return
|
|
466
|
+
var s, c = [De, Oe], l, d = [ye, xe(function(e) {
|
|
467
|
+
l.insert(e);
|
|
468
|
+
})], f = be(c.concat(r, d)), p = function(e) {
|
|
469
|
+
return U(he(e), f);
|
|
468
470
|
};
|
|
469
471
|
s = function(e, t, n, r) {
|
|
470
|
-
|
|
472
|
+
l = n, p(e ? e + "{" + t.styles + "}" : t.styles), r && (m.inserted[t.name] = !0);
|
|
471
473
|
};
|
|
472
474
|
var m = {
|
|
473
475
|
key: t,
|
|
474
|
-
sheet: new
|
|
476
|
+
sheet: new u({
|
|
475
477
|
key: t,
|
|
476
478
|
container: a,
|
|
477
479
|
nonce: e.nonce,
|
|
@@ -488,7 +490,7 @@ var Oe = [function(e, t, n, r) {
|
|
|
488
490
|
};
|
|
489
491
|
//#endregion
|
|
490
492
|
//#region node_modules/@emotion/hash/dist/emotion-hash.esm.js
|
|
491
|
-
function
|
|
493
|
+
function Me(e) {
|
|
492
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);
|
|
493
495
|
switch (i) {
|
|
494
496
|
case 3: t ^= (e.charCodeAt(r + 2) & 255) << 16;
|
|
@@ -499,7 +501,7 @@ function Ae(e) {
|
|
|
499
501
|
}
|
|
500
502
|
//#endregion
|
|
501
503
|
//#region node_modules/@emotion/unitless/dist/emotion-unitless.esm.js
|
|
502
|
-
var
|
|
504
|
+
var Ne = {
|
|
503
505
|
animationIterationCount: 1,
|
|
504
506
|
aspectRatio: 1,
|
|
505
507
|
borderImageOutset: 1,
|
|
@@ -547,26 +549,26 @@ var je = {
|
|
|
547
549
|
strokeMiterlimit: 1,
|
|
548
550
|
strokeOpacity: 1,
|
|
549
551
|
strokeWidth: 1
|
|
550
|
-
},
|
|
552
|
+
}, Pe = /[A-Z]|^ms/g, Fe = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Ie = function(e) {
|
|
551
553
|
return e.charCodeAt(1) === 45;
|
|
552
|
-
},
|
|
554
|
+
}, Le = function(e) {
|
|
553
555
|
return e != null && typeof e != "boolean";
|
|
554
|
-
},
|
|
555
|
-
return
|
|
556
|
-
}),
|
|
556
|
+
}, Re = /* #__PURE__ */ Se(function(e) {
|
|
557
|
+
return Ie(e) ? e : e.replace(Pe, "-$&").toLowerCase();
|
|
558
|
+
}), ze = function(e, t) {
|
|
557
559
|
switch (e) {
|
|
558
560
|
case "animation":
|
|
559
|
-
case "animationName": if (typeof t == "string") return t.replace(
|
|
560
|
-
return
|
|
561
|
+
case "animationName": if (typeof t == "string") return t.replace(Fe, function(e, t, n) {
|
|
562
|
+
return G = {
|
|
561
563
|
name: t,
|
|
562
564
|
styles: n,
|
|
563
|
-
next:
|
|
565
|
+
next: G
|
|
564
566
|
}, t;
|
|
565
567
|
});
|
|
566
568
|
}
|
|
567
|
-
return
|
|
569
|
+
return Ne[e] !== 1 && !Ie(e) && typeof t == "number" && t !== 0 ? t + "px" : t;
|
|
568
570
|
};
|
|
569
|
-
function
|
|
571
|
+
function W(e, t, n) {
|
|
570
572
|
if (n == null) return "";
|
|
571
573
|
var r = n;
|
|
572
574
|
if (r.__emotion_styles !== void 0) return r;
|
|
@@ -574,25 +576,25 @@ function G(e, t, n) {
|
|
|
574
576
|
case "boolean": return "";
|
|
575
577
|
case "object":
|
|
576
578
|
var i = n;
|
|
577
|
-
if (i.anim === 1) return
|
|
579
|
+
if (i.anim === 1) return G = {
|
|
578
580
|
name: i.name,
|
|
579
581
|
styles: i.styles,
|
|
580
|
-
next:
|
|
582
|
+
next: G
|
|
581
583
|
}, i.name;
|
|
582
584
|
var a = n;
|
|
583
585
|
if (a.styles !== void 0) {
|
|
584
586
|
var o = a.next;
|
|
585
|
-
if (o !== void 0) for (; o !== void 0;)
|
|
587
|
+
if (o !== void 0) for (; o !== void 0;) G = {
|
|
586
588
|
name: o.name,
|
|
587
589
|
styles: o.styles,
|
|
588
|
-
next:
|
|
590
|
+
next: G
|
|
589
591
|
}, o = o.next;
|
|
590
592
|
return a.styles + ";";
|
|
591
593
|
}
|
|
592
|
-
return
|
|
594
|
+
return Be(e, t, n);
|
|
593
595
|
case "function": if (e !== void 0) {
|
|
594
|
-
var s =
|
|
595
|
-
return
|
|
596
|
+
var s = G, c = n(e);
|
|
597
|
+
return G = s, W(e, t, c);
|
|
596
598
|
}
|
|
597
599
|
}
|
|
598
600
|
var l = n;
|
|
@@ -600,21 +602,21 @@ function G(e, t, n) {
|
|
|
600
602
|
var u = t[l];
|
|
601
603
|
return u === void 0 ? l : u;
|
|
602
604
|
}
|
|
603
|
-
function
|
|
605
|
+
function Be(e, t, n) {
|
|
604
606
|
var r = "";
|
|
605
|
-
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 += W(e, t, n[i]) + ";";
|
|
606
608
|
else for (var a in n) {
|
|
607
609
|
var o = n[a];
|
|
608
610
|
if (typeof o != "object") {
|
|
609
611
|
var s = o;
|
|
610
|
-
t != null && t[s] !== void 0 ? r += a + "{" + t[s] + "}" :
|
|
611
|
-
} 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] + "}" : Le(s) && (r += Re(a) + ":" + ze(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++) Le(o[c]) && (r += Re(a) + ":" + ze(a, o[c]) + ";");
|
|
612
614
|
else {
|
|
613
|
-
var l =
|
|
615
|
+
var l = W(e, t, o);
|
|
614
616
|
switch (a) {
|
|
615
617
|
case "animation":
|
|
616
618
|
case "animationName":
|
|
617
|
-
r +=
|
|
619
|
+
r += Re(a) + ":" + l + ";";
|
|
618
620
|
break;
|
|
619
621
|
default: r += a + "{" + l + "}";
|
|
620
622
|
}
|
|
@@ -622,35 +624,35 @@ function Re(e, t, n) {
|
|
|
622
624
|
}
|
|
623
625
|
return r;
|
|
624
626
|
}
|
|
625
|
-
var
|
|
626
|
-
function
|
|
627
|
+
var Ve = /label:\s*([^\s;{]+)\s*(;|$)/g, G;
|
|
628
|
+
function He(e, t, n) {
|
|
627
629
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0) return e[0];
|
|
628
630
|
var r = !0, i = "";
|
|
629
|
-
|
|
631
|
+
G = void 0;
|
|
630
632
|
var a = e[0];
|
|
631
|
-
a == null || a.raw === void 0 ? (r = !1, i +=
|
|
632
|
-
for (var o = 1; o < e.length; o++) i +=
|
|
633
|
-
|
|
634
|
-
for (var s = "", c; (c =
|
|
633
|
+
a == null || a.raw === void 0 ? (r = !1, i += W(n, t, a)) : i += a[0];
|
|
634
|
+
for (var o = 1; o < e.length; o++) i += W(n, t, e[o]), r && (i += a[o]);
|
|
635
|
+
Ve.lastIndex = 0;
|
|
636
|
+
for (var s = "", c; (c = Ve.exec(i)) !== null;) s += "-" + c[1];
|
|
635
637
|
return {
|
|
636
|
-
name:
|
|
638
|
+
name: Me(i) + s,
|
|
637
639
|
styles: i,
|
|
638
|
-
next:
|
|
640
|
+
next: G
|
|
639
641
|
};
|
|
640
642
|
}
|
|
641
643
|
//#endregion
|
|
642
644
|
//#region node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js
|
|
643
|
-
function
|
|
645
|
+
function Ue(e, t, n) {
|
|
644
646
|
var r = "";
|
|
645
647
|
return n.split(" ").forEach(function(n) {
|
|
646
648
|
e[n] === void 0 ? n && (r += n + " ") : t.push(e[n] + ";");
|
|
647
649
|
}), r;
|
|
648
650
|
}
|
|
649
|
-
var
|
|
651
|
+
var We = function(e, t, n) {
|
|
650
652
|
var r = e.key + "-" + t.name;
|
|
651
653
|
n === !1 && e.registered[r] === void 0 && (e.registered[r] = t.styles);
|
|
652
|
-
},
|
|
653
|
-
|
|
654
|
+
}, Ge = function(e, t, n) {
|
|
655
|
+
We(e, t, n);
|
|
654
656
|
var r = e.key + "-" + t.name;
|
|
655
657
|
if (e.inserted[t.name] === void 0) {
|
|
656
658
|
var i = t;
|
|
@@ -661,34 +663,34 @@ var He = function(e, t, n) {
|
|
|
661
663
|
};
|
|
662
664
|
//#endregion
|
|
663
665
|
//#region node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js
|
|
664
|
-
function
|
|
666
|
+
function Ke(e, t) {
|
|
665
667
|
if (e.inserted[t.name] === void 0) return e.insert("", t, e.sheet, !0);
|
|
666
668
|
}
|
|
667
|
-
function
|
|
668
|
-
var r = [], i =
|
|
669
|
+
function qe(e, t, n) {
|
|
670
|
+
var r = [], i = Ue(e, r, n);
|
|
669
671
|
return r.length < 2 ? n : i + t(r);
|
|
670
672
|
}
|
|
671
|
-
var
|
|
672
|
-
var t =
|
|
673
|
+
var Je = function(e) {
|
|
674
|
+
var t = je(e);
|
|
673
675
|
t.sheet.speedy = function(e) {
|
|
674
676
|
this.isSpeedy = e;
|
|
675
677
|
}, t.compat = !0;
|
|
676
678
|
var n = function() {
|
|
677
|
-
var e =
|
|
678
|
-
return
|
|
679
|
+
var e = He([...arguments], t.registered, void 0);
|
|
680
|
+
return Ge(t, e, !1), t.key + "-" + e.name;
|
|
679
681
|
};
|
|
680
682
|
return {
|
|
681
683
|
css: n,
|
|
682
684
|
cx: function() {
|
|
683
685
|
var e = [...arguments];
|
|
684
|
-
return
|
|
686
|
+
return qe(t.registered, n, Ye(e));
|
|
685
687
|
},
|
|
686
688
|
injectGlobal: function() {
|
|
687
|
-
|
|
689
|
+
Ke(t, He([...arguments], t.registered));
|
|
688
690
|
},
|
|
689
691
|
keyframes: function() {
|
|
690
|
-
var e =
|
|
691
|
-
return
|
|
692
|
+
var e = He([...arguments], t.registered), n = "animation-" + e.name;
|
|
693
|
+
return Ke(t, {
|
|
692
694
|
name: e.name,
|
|
693
695
|
styles: "@keyframes " + n + "{" + e.styles + "}"
|
|
694
696
|
}), n;
|
|
@@ -703,10 +705,10 @@ var Ke = function(e) {
|
|
|
703
705
|
},
|
|
704
706
|
sheet: t.sheet,
|
|
705
707
|
cache: t,
|
|
706
|
-
getRegisteredStyles:
|
|
707
|
-
merge:
|
|
708
|
+
getRegisteredStyles: Ue.bind(null, t.registered),
|
|
709
|
+
merge: qe.bind(null, t.registered, n)
|
|
708
710
|
};
|
|
709
|
-
},
|
|
711
|
+
}, Ye = function e(t) {
|
|
710
712
|
for (var n = "", r = 0; r < t.length; r++) {
|
|
711
713
|
var i = t[r];
|
|
712
714
|
if (i != null) {
|
|
@@ -723,15 +725,15 @@ var Ke = function(e) {
|
|
|
723
725
|
}
|
|
724
726
|
}
|
|
725
727
|
return n;
|
|
726
|
-
},
|
|
727
|
-
|
|
728
|
-
var
|
|
729
|
-
|
|
730
|
-
var
|
|
731
|
-
|
|
728
|
+
}, K = Je({ key: "css" });
|
|
729
|
+
K.flush, K.hydrate;
|
|
730
|
+
var q = K.cx;
|
|
731
|
+
K.merge, K.getRegisteredStyles;
|
|
732
|
+
var Xe = K.injectGlobal, Ze = K.keyframes, J = K.css;
|
|
733
|
+
K.sheet, K.cache;
|
|
732
734
|
//#endregion
|
|
733
735
|
//#region \0virtual:svg-sprite
|
|
734
|
-
var
|
|
736
|
+
var Qe = "<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-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-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-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-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-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-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>", $e = !1, et = new URL("./assets/manrope.woff2", import.meta.url).href ?? "/fonts/manrope.woff2", Y = {
|
|
735
737
|
fontFamily: "Manrope",
|
|
736
738
|
zIndex: {
|
|
737
739
|
front: 1,
|
|
@@ -768,10 +770,10 @@ var Xe = "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"position:absolute;wi
|
|
|
768
770
|
stretch: "\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n "
|
|
769
771
|
},
|
|
770
772
|
load() {
|
|
771
|
-
|
|
773
|
+
$e || typeof document > "u" || (Xe(`
|
|
772
774
|
@font-face {
|
|
773
775
|
font-family: 'Manrope';
|
|
774
|
-
src: url('${
|
|
776
|
+
src: url('${et}') format('woff2');
|
|
775
777
|
font-weight: 100 900;
|
|
776
778
|
font-style: normal;
|
|
777
779
|
font-display: swap;
|
|
@@ -853,48 +855,23 @@ var Xe = "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"position:absolute;wi
|
|
|
853
855
|
|
|
854
856
|
[is-loading] { cursor: default !important; }
|
|
855
857
|
[is-clickable] { cursor: pointer; }
|
|
856
|
-
`), !(document.getElementById("svg-sprite") || !document.body) && (document.body.insertAdjacentHTML("afterbegin",
|
|
858
|
+
`), !(document.getElementById("svg-sprite") || !document.body) && (document.body.insertAdjacentHTML("afterbegin", Qe), $e = !0));
|
|
857
859
|
}
|
|
858
|
-
}
|
|
859
|
-
Array.isArray;
|
|
860
|
-
function Z(e, t, n, i, a, o) {
|
|
861
|
-
t ||= {};
|
|
862
|
-
var s, c, l = t;
|
|
863
|
-
if ("ref" in l) for (c in l = {}, t) c == "ref" ? s = t[c] : l[c] = t[c];
|
|
864
|
-
var u = {
|
|
865
|
-
type: e,
|
|
866
|
-
props: l,
|
|
867
|
-
key: n,
|
|
868
|
-
ref: s,
|
|
869
|
-
__k: null,
|
|
870
|
-
__: null,
|
|
871
|
-
__b: 0,
|
|
872
|
-
__e: null,
|
|
873
|
-
__c: null,
|
|
874
|
-
constructor: void 0,
|
|
875
|
-
__v: --$e,
|
|
876
|
-
__i: -1,
|
|
877
|
-
__u: 0,
|
|
878
|
-
__source: a,
|
|
879
|
-
__self: o
|
|
880
|
-
};
|
|
881
|
-
if (typeof e == "function" && (s = e.defaultProps)) for (c in s) l[c] === void 0 && (l[c] = s[c]);
|
|
882
|
-
return r.vnode && r.vnode(u), u;
|
|
883
|
-
}
|
|
860
|
+
};
|
|
884
861
|
//#endregion
|
|
885
862
|
//#region src/components/_app-wrapper.jsx
|
|
886
|
-
function
|
|
887
|
-
return /* @__PURE__ */
|
|
888
|
-
className:
|
|
889
|
-
children: /* @__PURE__ */
|
|
890
|
-
className:
|
|
863
|
+
function tt({ maxWidth: e = "67.5rem", children: t }) {
|
|
864
|
+
return /* @__PURE__ */ r(n, { children: /* @__PURE__ */ r("div", {
|
|
865
|
+
className: nt.base,
|
|
866
|
+
children: /* @__PURE__ */ r("div", {
|
|
867
|
+
className: nt.inner,
|
|
891
868
|
style: { maxWidth: e },
|
|
892
869
|
children: t
|
|
893
870
|
})
|
|
894
871
|
}) });
|
|
895
872
|
}
|
|
896
|
-
var
|
|
897
|
-
base:
|
|
873
|
+
var nt = {
|
|
874
|
+
base: J`
|
|
898
875
|
// The template is stretched over the entire viewport, and the vertical
|
|
899
876
|
// scrollbar is enabled manually.
|
|
900
877
|
// This is necessary so that the modal overlays can cover the scrollbar,
|
|
@@ -902,32 +879,32 @@ var tt = {
|
|
|
902
879
|
// when it's displayed or not.
|
|
903
880
|
// Normally, we'd use the body element for this, but the modal overlay
|
|
904
881
|
// can't cover the scrollbar of the body element.
|
|
905
|
-
${
|
|
882
|
+
${Y.extends.stretch}
|
|
906
883
|
overflow-y: scroll;
|
|
907
884
|
overflow-x: hidden;
|
|
908
885
|
scroll-behavior: smooth;
|
|
909
886
|
`,
|
|
910
|
-
inner:
|
|
887
|
+
inner: J`
|
|
911
888
|
position: relative;
|
|
912
889
|
padding: 8rem 0;
|
|
913
890
|
margin: 0 auto;
|
|
914
891
|
`
|
|
915
|
-
},
|
|
916
|
-
className:
|
|
892
|
+
}, rt = ({ type: e = "normal", width: t = "100%", value: i = 0 }) => /* @__PURE__ */ r(n, { children: /* @__PURE__ */ r("div", {
|
|
893
|
+
className: X.base,
|
|
917
894
|
style: { width: t },
|
|
918
|
-
children: /* @__PURE__ */
|
|
919
|
-
className:
|
|
920
|
-
style: { width: `${
|
|
895
|
+
children: /* @__PURE__ */ r("div", {
|
|
896
|
+
className: q(X.value, X[e] ?? X.normal),
|
|
897
|
+
style: { width: `${i}%` }
|
|
921
898
|
})
|
|
922
|
-
}) }),
|
|
923
|
-
base:
|
|
899
|
+
}) }), X = {
|
|
900
|
+
base: J`
|
|
924
901
|
position: relative;
|
|
925
902
|
border-radius: 16px;
|
|
926
903
|
height: .625rem;
|
|
927
|
-
border: solid 1px ${
|
|
928
|
-
background-color: ${
|
|
904
|
+
border: solid 1px ${Y.colors.border};
|
|
905
|
+
background-color: ${Y.colors.back.secondary};
|
|
929
906
|
`,
|
|
930
|
-
value:
|
|
907
|
+
value: J`
|
|
931
908
|
position: absolute;
|
|
932
909
|
top: -1px;
|
|
933
910
|
bottom: -1px;
|
|
@@ -936,58 +913,58 @@ var tt = {
|
|
|
936
913
|
will-change: width;
|
|
937
914
|
transition: width .3s ease;
|
|
938
915
|
`,
|
|
939
|
-
normal:
|
|
940
|
-
border: solid 1px ${
|
|
941
|
-
background-color: ${
|
|
916
|
+
normal: J`
|
|
917
|
+
border: solid 1px ${t(Y.colors.primary, .3)};
|
|
918
|
+
background-color: ${Y.colors.primary};
|
|
942
919
|
`,
|
|
943
|
-
danger:
|
|
944
|
-
border: solid 1px ${
|
|
945
|
-
background-color: ${
|
|
920
|
+
danger: J`
|
|
921
|
+
border: solid 1px ${t(Y.colors.danger, .3)};
|
|
922
|
+
background-color: ${Y.colors.danger};
|
|
946
923
|
`
|
|
947
924
|
};
|
|
948
925
|
//#endregion
|
|
949
926
|
//#region src/components/_box.jsx
|
|
950
|
-
function it({ className: e, width: t, height:
|
|
951
|
-
return /* @__PURE__ */
|
|
952
|
-
className:
|
|
927
|
+
function it({ className: e, width: t, height: i, children: a }) {
|
|
928
|
+
return /* @__PURE__ */ r(n, { children: /* @__PURE__ */ r("div", {
|
|
929
|
+
className: q(at.base, e),
|
|
953
930
|
style: {
|
|
954
931
|
width: t,
|
|
955
|
-
height:
|
|
932
|
+
height: i
|
|
956
933
|
},
|
|
957
|
-
children:
|
|
934
|
+
children: a
|
|
958
935
|
}) });
|
|
959
936
|
}
|
|
960
|
-
var at = { base:
|
|
937
|
+
var at = { base: J`
|
|
961
938
|
position: relative;
|
|
962
939
|
border-radius: 18px;
|
|
963
940
|
border: solid 2px #eee;
|
|
964
941
|
padding: 1.875rem 1.25rem;
|
|
965
|
-
background-color: ${
|
|
966
|
-
box-shadow: ${
|
|
942
|
+
background-color: ${Y.colors.back.primary};
|
|
943
|
+
box-shadow: ${Y.colors.shadow.primary};
|
|
967
944
|
` };
|
|
968
945
|
//#endregion
|
|
969
946
|
//#region src/components/_icon.jsx
|
|
970
|
-
function
|
|
971
|
-
return /* @__PURE__ */
|
|
972
|
-
className:
|
|
947
|
+
function Z({ className: e, size: t = "1.25rem", color: i = Y.colors.fore.primary, iconName: a, isSpinning: o }) {
|
|
948
|
+
return /* @__PURE__ */ r(n, { children: /* @__PURE__ */ r("svg", {
|
|
949
|
+
className: q(ot.base, e),
|
|
973
950
|
style: {
|
|
974
|
-
color:
|
|
951
|
+
color: i,
|
|
975
952
|
width: t,
|
|
976
953
|
height: t
|
|
977
954
|
},
|
|
978
955
|
"aria-hidden": "true",
|
|
979
|
-
"is-spinning":
|
|
980
|
-
children: /* @__PURE__ */
|
|
956
|
+
"is-spinning": o || void 0,
|
|
957
|
+
children: /* @__PURE__ */ r("use", { href: `#icon-${a}` })
|
|
981
958
|
}) });
|
|
982
959
|
}
|
|
983
|
-
var ot = { base:
|
|
960
|
+
var ot = { base: J`
|
|
984
961
|
fill: currentColor;
|
|
985
962
|
display: inline-block;
|
|
986
963
|
flex-shrink: 0;
|
|
987
964
|
will-change: transform;
|
|
988
965
|
transition: transform .1s linear;
|
|
989
966
|
|
|
990
|
-
&[is-spinning] { animation: ${
|
|
967
|
+
&[is-spinning] { animation: ${Ze`
|
|
991
968
|
0% {
|
|
992
969
|
transform: rotate(0deg);
|
|
993
970
|
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
@@ -1006,54 +983,54 @@ var ot = { base: Y`
|
|
|
1006
983
|
` };
|
|
1007
984
|
//#endregion
|
|
1008
985
|
//#region src/components/_button.jsx
|
|
1009
|
-
function st({ type: e = "primary", label: t, iconName:
|
|
1010
|
-
let
|
|
1011
|
-
function
|
|
1012
|
-
if (
|
|
986
|
+
function st({ type: e = "primary", label: t, iconName: o, isDisabled: s = !1, isLoading: c = !1, onClick: l }) {
|
|
987
|
+
let u = o || c, d = a(null);
|
|
988
|
+
function f(e) {
|
|
989
|
+
if (s || c) return;
|
|
1013
990
|
e.stopPropagation(), e.preventDefault();
|
|
1014
991
|
let t = e.currentTarget.getBoundingClientRect();
|
|
1015
|
-
|
|
992
|
+
d.value = {
|
|
1016
993
|
x: e.clientX - t.left,
|
|
1017
994
|
y: e.clientY - t.top,
|
|
1018
995
|
size: Math.max(t.width, t.height) * 2
|
|
1019
|
-
},
|
|
996
|
+
}, l?.(e);
|
|
1020
997
|
}
|
|
1021
|
-
return /* @__PURE__ */
|
|
998
|
+
return /* @__PURE__ */ r(n, { children: /* @__PURE__ */ i("button", {
|
|
1022
999
|
type: "button",
|
|
1023
|
-
className:
|
|
1024
|
-
"has-icon":
|
|
1025
|
-
"is-disabled":
|
|
1026
|
-
"is-loading":
|
|
1027
|
-
"is-clickable": !!
|
|
1028
|
-
disabled:
|
|
1029
|
-
onClick:
|
|
1000
|
+
className: q(Q.base, Q[e] ?? Q.normal),
|
|
1001
|
+
"has-icon": u,
|
|
1002
|
+
"is-disabled": s || void 0,
|
|
1003
|
+
"is-loading": c || void 0,
|
|
1004
|
+
"is-clickable": !!l || void 0,
|
|
1005
|
+
disabled: s || c,
|
|
1006
|
+
onClick: f,
|
|
1030
1007
|
children: [
|
|
1031
|
-
|
|
1032
|
-
className:
|
|
1033
|
-
${
|
|
1008
|
+
u && /* @__PURE__ */ r(n, { children: /* @__PURE__ */ r("div", {
|
|
1009
|
+
className: J`
|
|
1010
|
+
${Y.extends.verticalCenter}
|
|
1034
1011
|
|
|
1035
1012
|
left: .5rem;
|
|
1036
1013
|
`,
|
|
1037
|
-
children:
|
|
1014
|
+
children: c ? /* @__PURE__ */ r(Z, {
|
|
1038
1015
|
name: "loader",
|
|
1039
1016
|
isSpinning: !0
|
|
1040
|
-
}) : /* @__PURE__ */ Z
|
|
1017
|
+
}) : /* @__PURE__ */ r(Z, { name: o })
|
|
1041
1018
|
}) }),
|
|
1042
1019
|
t,
|
|
1043
|
-
|
|
1044
|
-
className:
|
|
1020
|
+
d.value && /* @__PURE__ */ r(n, { children: /* @__PURE__ */ r("span", {
|
|
1021
|
+
className: Q.ripple,
|
|
1045
1022
|
style: {
|
|
1046
|
-
left:
|
|
1047
|
-
top:
|
|
1048
|
-
width:
|
|
1049
|
-
height:
|
|
1023
|
+
left: d.value.x,
|
|
1024
|
+
top: d.value.y,
|
|
1025
|
+
width: d.value.size,
|
|
1026
|
+
height: d.value.size
|
|
1050
1027
|
},
|
|
1051
|
-
onAnimationEnd: () =>
|
|
1028
|
+
onAnimationEnd: () => d.value = null
|
|
1052
1029
|
}) })
|
|
1053
1030
|
]
|
|
1054
1031
|
}) });
|
|
1055
1032
|
}
|
|
1056
|
-
var ct =
|
|
1033
|
+
var ct = Ze`
|
|
1057
1034
|
from {
|
|
1058
1035
|
opacity: .4;
|
|
1059
1036
|
transform: translate(-50%, -50%) scale(0);
|
|
@@ -1063,8 +1040,8 @@ var ct = Ye`
|
|
|
1063
1040
|
opacity: 0;
|
|
1064
1041
|
transform: translate(-50%, -50%) scale(1);
|
|
1065
1042
|
}
|
|
1066
|
-
`,
|
|
1067
|
-
base:
|
|
1043
|
+
`, Q = {
|
|
1044
|
+
base: J`
|
|
1068
1045
|
font-size: .9rem;
|
|
1069
1046
|
display: inline-block;
|
|
1070
1047
|
position: relative;
|
|
@@ -1076,7 +1053,7 @@ var ct = Ye`
|
|
|
1076
1053
|
border-radius: 12px;
|
|
1077
1054
|
will-change: transform, border;
|
|
1078
1055
|
transition: transform .2s ease, border .2s ease;
|
|
1079
|
-
font-family: ${
|
|
1056
|
+
font-family: ${Y.fontFamily}, sans-serif;
|
|
1080
1057
|
|
|
1081
1058
|
&:active {
|
|
1082
1059
|
transform: translateY(2px);
|
|
@@ -1085,17 +1062,17 @@ var ct = Ye`
|
|
|
1085
1062
|
|
|
1086
1063
|
&[has-icon] { padding-left: 1.8rem; }
|
|
1087
1064
|
`,
|
|
1088
|
-
primary:
|
|
1089
|
-
color: ${
|
|
1090
|
-
border-bottom: solid 3px ${
|
|
1091
|
-
background-color: ${
|
|
1065
|
+
primary: J`
|
|
1066
|
+
color: ${t(Y.colors.primary, .6)};
|
|
1067
|
+
border-bottom: solid 3px ${t(Y.colors.primary, .25)};
|
|
1068
|
+
background-color: ${Y.colors.primary};
|
|
1092
1069
|
`,
|
|
1093
|
-
secondary:
|
|
1094
|
-
color: ${
|
|
1095
|
-
border-bottom: solid 3px ${
|
|
1096
|
-
background-color: ${
|
|
1070
|
+
secondary: J`
|
|
1071
|
+
color: ${Y.colors.fore.secondary};
|
|
1072
|
+
border-bottom: solid 3px ${t(Y.colors.secondary, .25)};
|
|
1073
|
+
background-color: ${Y.colors.secondary};
|
|
1097
1074
|
`,
|
|
1098
|
-
ripple:
|
|
1075
|
+
ripple: J`
|
|
1099
1076
|
position: absolute;
|
|
1100
1077
|
z-index: 1;
|
|
1101
1078
|
border-radius: 50%;
|
|
@@ -1106,73 +1083,73 @@ var ct = Ye`
|
|
|
1106
1083
|
};
|
|
1107
1084
|
//#endregion
|
|
1108
1085
|
//#region src/components/_layout.jsx
|
|
1109
|
-
function
|
|
1110
|
-
return /* @__PURE__ */
|
|
1111
|
-
className:
|
|
1086
|
+
function lt({ className: e, height: t, direction: i = "row", justify: a, align: o, gap: s, children: c }) {
|
|
1087
|
+
return /* @__PURE__ */ r(n, { children: /* @__PURE__ */ r("div", {
|
|
1088
|
+
className: q(ut.base, e),
|
|
1112
1089
|
style: {
|
|
1113
1090
|
height: t,
|
|
1114
|
-
flexDirection:
|
|
1115
|
-
justifyContent:
|
|
1116
|
-
alignItems:
|
|
1117
|
-
gap:
|
|
1091
|
+
flexDirection: i,
|
|
1092
|
+
justifyContent: a,
|
|
1093
|
+
alignItems: o,
|
|
1094
|
+
gap: s == null ? void 0 : `${s / 2}rem`
|
|
1118
1095
|
},
|
|
1119
|
-
children:
|
|
1096
|
+
children: c
|
|
1120
1097
|
}) });
|
|
1121
1098
|
}
|
|
1122
|
-
var
|
|
1099
|
+
var ut = { base: J`
|
|
1123
1100
|
display: flex;
|
|
1124
1101
|
` };
|
|
1125
1102
|
//#endregion
|
|
1126
1103
|
//#region src/components/_text.jsx
|
|
1127
|
-
function
|
|
1128
|
-
return /* @__PURE__ */
|
|
1129
|
-
className:
|
|
1130
|
-
style: { color:
|
|
1131
|
-
children:
|
|
1104
|
+
function dt({ as: e = "span", className: t, size: i = "normal", color: a = Y.colors.fore.primary, children: o }) {
|
|
1105
|
+
return /* @__PURE__ */ r(n, { children: /* @__PURE__ */ r(e, {
|
|
1106
|
+
className: q(ft.base, ft[i] ?? ft.normal, t),
|
|
1107
|
+
style: { color: a },
|
|
1108
|
+
children: o
|
|
1132
1109
|
}) });
|
|
1133
1110
|
}
|
|
1134
|
-
var
|
|
1135
|
-
base:
|
|
1111
|
+
var ft = {
|
|
1112
|
+
base: J`
|
|
1136
1113
|
font-weight: 500;
|
|
1137
1114
|
letter-spacing: 1px;
|
|
1138
1115
|
`,
|
|
1139
|
-
normal:
|
|
1116
|
+
normal: J`
|
|
1140
1117
|
font-size: 1rem;
|
|
1141
1118
|
line-height: 1.125rem;
|
|
1142
1119
|
`,
|
|
1143
|
-
small:
|
|
1120
|
+
small: J`
|
|
1144
1121
|
font-size: 0.75rem;
|
|
1145
1122
|
line-height: 1rem;
|
|
1146
1123
|
`,
|
|
1147
|
-
tiny:
|
|
1124
|
+
tiny: J`
|
|
1148
1125
|
font-size: 0.65rem;
|
|
1149
1126
|
line-height: 1rem;
|
|
1150
1127
|
`
|
|
1151
1128
|
};
|
|
1152
1129
|
//#endregion
|
|
1153
1130
|
//#region src/components/_headline.jsx
|
|
1154
|
-
function
|
|
1155
|
-
return /* @__PURE__ */
|
|
1156
|
-
className:
|
|
1157
|
-
style: { color:
|
|
1158
|
-
children:
|
|
1131
|
+
function pt({ as: e = "h2", className: t, size: i = "normal", color: a = Y.colors.fore.primary, children: o }) {
|
|
1132
|
+
return /* @__PURE__ */ r(n, { children: /* @__PURE__ */ r(e, {
|
|
1133
|
+
className: q(mt.base, mt[i] ?? mt.normal, t),
|
|
1134
|
+
style: { color: a },
|
|
1135
|
+
children: o
|
|
1159
1136
|
}) });
|
|
1160
1137
|
}
|
|
1161
|
-
var
|
|
1162
|
-
base:
|
|
1138
|
+
var mt = {
|
|
1139
|
+
base: J`
|
|
1163
1140
|
letter-spacing: 1px;
|
|
1164
1141
|
`,
|
|
1165
|
-
normal:
|
|
1142
|
+
normal: J`
|
|
1166
1143
|
font-weight: 500;
|
|
1167
1144
|
font-size: 1rem;
|
|
1168
1145
|
line-height: 1.2rem;
|
|
1169
1146
|
`,
|
|
1170
|
-
large:
|
|
1147
|
+
large: J`
|
|
1171
1148
|
font-weight: 600;
|
|
1172
1149
|
font-size: 1.4rem;
|
|
1173
1150
|
line-height: 1.2;
|
|
1174
1151
|
`,
|
|
1175
|
-
small:
|
|
1152
|
+
small: J`
|
|
1176
1153
|
font-weight: 500;
|
|
1177
1154
|
font-size: .9rem;
|
|
1178
1155
|
line-height: 1.2rem;
|
|
@@ -1180,8 +1157,8 @@ var ht = {
|
|
|
1180
1157
|
};
|
|
1181
1158
|
//#endregion
|
|
1182
1159
|
//#region src/components/_space.jsx
|
|
1183
|
-
function
|
|
1184
|
-
return /* @__PURE__ */
|
|
1160
|
+
function ht({ size: e = 1 }) {
|
|
1161
|
+
return /* @__PURE__ */ r(n, { children: /* @__PURE__ */ r("div", {
|
|
1185
1162
|
"aria-hidden": "true",
|
|
1186
1163
|
style: {
|
|
1187
1164
|
height: e > 0 ? `${e}rem` : 0,
|
|
@@ -1191,35 +1168,35 @@ function gt({ size: e = 1 }) {
|
|
|
1191
1168
|
}
|
|
1192
1169
|
//#endregion
|
|
1193
1170
|
//#region src/components/_text-field.jsx
|
|
1194
|
-
function
|
|
1195
|
-
let
|
|
1196
|
-
function
|
|
1197
|
-
|
|
1171
|
+
function gt({ placeholder: e, value: t, width: o, isDisabled: c, onChange: l }) {
|
|
1172
|
+
let u = s(), d = a(t);
|
|
1173
|
+
function f({ target: e }) {
|
|
1174
|
+
d.value = e.value, l?.(d.value);
|
|
1198
1175
|
}
|
|
1199
|
-
return /* @__PURE__ */
|
|
1200
|
-
className:
|
|
1201
|
-
style: { width:
|
|
1202
|
-
"is-disabled":
|
|
1203
|
-
children: [!
|
|
1204
|
-
className:
|
|
1205
|
-
htmlFor:
|
|
1176
|
+
return /* @__PURE__ */ r(n, { children: /* @__PURE__ */ i("div", {
|
|
1177
|
+
className: _t.base,
|
|
1178
|
+
style: { width: o },
|
|
1179
|
+
"is-disabled": c,
|
|
1180
|
+
children: [!d.value && e && /* @__PURE__ */ r("label", {
|
|
1181
|
+
className: _t.label,
|
|
1182
|
+
htmlFor: u,
|
|
1206
1183
|
children: e
|
|
1207
|
-
}), /* @__PURE__ */
|
|
1208
|
-
id:
|
|
1209
|
-
name:
|
|
1210
|
-
className:
|
|
1211
|
-
value:
|
|
1212
|
-
disabled:
|
|
1184
|
+
}), /* @__PURE__ */ r("input", {
|
|
1185
|
+
id: u,
|
|
1186
|
+
name: u,
|
|
1187
|
+
className: _t.input,
|
|
1188
|
+
value: d.value,
|
|
1189
|
+
disabled: c,
|
|
1213
1190
|
autocomplete: "off",
|
|
1214
|
-
onInput:
|
|
1191
|
+
onInput: f
|
|
1215
1192
|
})]
|
|
1216
1193
|
}) });
|
|
1217
1194
|
}
|
|
1218
|
-
var
|
|
1219
|
-
base:
|
|
1195
|
+
var _t = {
|
|
1196
|
+
base: J`
|
|
1220
1197
|
position: relative;
|
|
1221
1198
|
`,
|
|
1222
|
-
label:
|
|
1199
|
+
label: J`
|
|
1223
1200
|
font-size: .875rem;
|
|
1224
1201
|
font-weight: 500;
|
|
1225
1202
|
opacity: .5;
|
|
@@ -1228,10 +1205,10 @@ var vt = {
|
|
|
1228
1205
|
top: .75rem;
|
|
1229
1206
|
pointer-events: none;
|
|
1230
1207
|
letter-spacing: 1px;
|
|
1231
|
-
font-family: ${
|
|
1232
|
-
color: ${
|
|
1208
|
+
font-family: ${Y.fontFamily}, sans-serif;
|
|
1209
|
+
color: ${Y.colors.fore.primary};
|
|
1233
1210
|
`,
|
|
1234
|
-
input:
|
|
1211
|
+
input: J`
|
|
1235
1212
|
font-size: .875rem;
|
|
1236
1213
|
font-weight: 500;
|
|
1237
1214
|
color: rgb(58, 58, 58);
|
|
@@ -1242,73 +1219,73 @@ var vt = {
|
|
|
1242
1219
|
width: 100%;
|
|
1243
1220
|
border-radius: 8px;
|
|
1244
1221
|
letter-spacing: 1px;
|
|
1245
|
-
font-family: ${
|
|
1246
|
-
color: ${
|
|
1247
|
-
background-color: ${
|
|
1222
|
+
font-family: ${Y.fontFamily}, sans-serif;
|
|
1223
|
+
color: ${Y.colors.fore.primary};
|
|
1224
|
+
background-color: ${Y.colors.back.secondary};
|
|
1248
1225
|
`
|
|
1249
|
-
},
|
|
1250
|
-
function
|
|
1251
|
-
let
|
|
1252
|
-
|
|
1253
|
-
function
|
|
1254
|
-
let e = !
|
|
1255
|
-
|
|
1226
|
+
}, vt = 28, yt = 3, bt = 11;
|
|
1227
|
+
function xt({ label: e, isChecked: t, isDisabled: c, onChange: l }) {
|
|
1228
|
+
let u = s(), d = a(t);
|
|
1229
|
+
o(() => d.value = t, [t]);
|
|
1230
|
+
function f() {
|
|
1231
|
+
let e = !d.value;
|
|
1232
|
+
d.value = e, l?.(e);
|
|
1256
1233
|
}
|
|
1257
|
-
return /* @__PURE__ */
|
|
1258
|
-
className:
|
|
1234
|
+
return /* @__PURE__ */ r(n, { children: /* @__PURE__ */ i("div", {
|
|
1235
|
+
className: St.base,
|
|
1259
1236
|
children: [
|
|
1260
|
-
/* @__PURE__ */
|
|
1261
|
-
className:
|
|
1262
|
-
htmlFor:
|
|
1263
|
-
"is-disabled":
|
|
1264
|
-
children:
|
|
1237
|
+
/* @__PURE__ */ r("label", {
|
|
1238
|
+
className: St.label,
|
|
1239
|
+
htmlFor: u,
|
|
1240
|
+
"is-disabled": c,
|
|
1241
|
+
children: e
|
|
1265
1242
|
}),
|
|
1266
|
-
/* @__PURE__ */
|
|
1267
|
-
id:
|
|
1243
|
+
/* @__PURE__ */ r("input", {
|
|
1244
|
+
id: u,
|
|
1268
1245
|
type: "checkbox",
|
|
1269
|
-
className:
|
|
1270
|
-
checked:
|
|
1271
|
-
disabled:
|
|
1272
|
-
onChange:
|
|
1246
|
+
className: St.checkbox,
|
|
1247
|
+
checked: d.value,
|
|
1248
|
+
disabled: c,
|
|
1249
|
+
onChange: f
|
|
1273
1250
|
}),
|
|
1274
|
-
/* @__PURE__ */
|
|
1275
|
-
className:
|
|
1276
|
-
htmlFor:
|
|
1277
|
-
"is-disabled":
|
|
1251
|
+
/* @__PURE__ */ r("label", {
|
|
1252
|
+
className: St.value,
|
|
1253
|
+
htmlFor: u,
|
|
1254
|
+
"is-disabled": c
|
|
1278
1255
|
})
|
|
1279
1256
|
]
|
|
1280
1257
|
}) });
|
|
1281
1258
|
}
|
|
1282
|
-
var
|
|
1283
|
-
base:
|
|
1259
|
+
var St = {
|
|
1260
|
+
base: J`
|
|
1284
1261
|
position: relative;
|
|
1285
1262
|
display: flex;
|
|
1286
1263
|
padding: .2rem 0 0 2rem;
|
|
1287
1264
|
gap: .5rem;
|
|
1288
1265
|
`,
|
|
1289
|
-
label:
|
|
1266
|
+
label: J`
|
|
1290
1267
|
display: inline-block;
|
|
1291
1268
|
font-size: .75rem;
|
|
1292
1269
|
line-height: 1.2rem;
|
|
1293
1270
|
cursor: pointer;
|
|
1294
1271
|
user-select: none;
|
|
1295
1272
|
font-weight: 500;
|
|
1296
|
-
font-family: ${
|
|
1297
|
-
color: ${
|
|
1273
|
+
font-family: ${Y.fontFamily}, sans-serif;
|
|
1274
|
+
color: ${Y.colors.fore.secondary};
|
|
1298
1275
|
`,
|
|
1299
|
-
checkbox:
|
|
1276
|
+
checkbox: J`
|
|
1300
1277
|
display: none;
|
|
1301
1278
|
|
|
1302
1279
|
&:checked ~ label {
|
|
1303
1280
|
background-color: #e1e1e1;
|
|
1304
1281
|
|
|
1305
1282
|
&:before {
|
|
1306
|
-
right: ${
|
|
1283
|
+
right: ${yt}px;
|
|
1307
1284
|
background-color: #3a3a3a;
|
|
1308
1285
|
}
|
|
1309
1286
|
}
|
|
1310
1287
|
`,
|
|
1311
|
-
value:
|
|
1288
|
+
value: J`
|
|
1312
1289
|
display: inline-block;
|
|
1313
1290
|
position: relative;
|
|
1314
1291
|
height: 1.1rem;
|
|
@@ -1317,7 +1294,7 @@ var Ct = {
|
|
|
1317
1294
|
cursor: pointer;
|
|
1318
1295
|
user-select: none;
|
|
1319
1296
|
transition: background .3s ease;
|
|
1320
|
-
width: ${
|
|
1297
|
+
width: ${vt}px;
|
|
1321
1298
|
|
|
1322
1299
|
&:before {
|
|
1323
1300
|
background-color: #e1e1e1;
|
|
@@ -1326,30 +1303,30 @@ var Ct = {
|
|
|
1326
1303
|
position: absolute;
|
|
1327
1304
|
transition: background .3s ease, right .3s ease;
|
|
1328
1305
|
border-radius: 50%;
|
|
1329
|
-
top: ${
|
|
1306
|
+
top: ${yt}px;
|
|
1330
1307
|
right: ${14}px;
|
|
1331
|
-
width: ${
|
|
1332
|
-
height: ${
|
|
1308
|
+
width: ${bt}px;
|
|
1309
|
+
height: ${bt}px;
|
|
1333
1310
|
}
|
|
1334
1311
|
`
|
|
1335
1312
|
};
|
|
1336
1313
|
//#endregion
|
|
1337
1314
|
//#region src/components/_tag.jsx
|
|
1338
|
-
function
|
|
1339
|
-
return /* @__PURE__ */
|
|
1340
|
-
className:
|
|
1341
|
-
"has-icon": !
|
|
1342
|
-
children: [
|
|
1343
|
-
className:
|
|
1344
|
-
${
|
|
1315
|
+
function Ct({ className: t, variant: a = "normal", iconName: o, label: s }) {
|
|
1316
|
+
return /* @__PURE__ */ r(n, { children: /* @__PURE__ */ i("div", {
|
|
1317
|
+
className: q(wt.base, wt[a] ?? wt.normal, t),
|
|
1318
|
+
"has-icon": !e(o),
|
|
1319
|
+
children: [o && /* @__PURE__ */ r(n, { children: /* @__PURE__ */ r(Z, {
|
|
1320
|
+
className: J`
|
|
1321
|
+
${Y.extends.verticalCenter}
|
|
1345
1322
|
left: .3rem;
|
|
1346
1323
|
`,
|
|
1347
|
-
name:
|
|
1324
|
+
name: o,
|
|
1348
1325
|
size: ".9rem"
|
|
1349
|
-
}) }),
|
|
1326
|
+
}) }), s]
|
|
1350
1327
|
}) });
|
|
1351
1328
|
}
|
|
1352
|
-
var
|
|
1329
|
+
var wt = { base: J`
|
|
1353
1330
|
position: relative;
|
|
1354
1331
|
display: inline-block;
|
|
1355
1332
|
padding: .3rem .5rem;
|
|
@@ -1357,41 +1334,41 @@ var Tt = { base: Y`
|
|
|
1357
1334
|
white-space: pre-wrap;
|
|
1358
1335
|
font-size: .7rem;
|
|
1359
1336
|
font-weight: 600;
|
|
1360
|
-
border: solid 1px ${
|
|
1361
|
-
background-color: ${
|
|
1362
|
-
color: ${
|
|
1337
|
+
border: solid 1px ${Y.colors.border};
|
|
1338
|
+
background-color: ${Y.colors.back.secondary};
|
|
1339
|
+
color: ${Y.colors.fore.primary};
|
|
1363
1340
|
|
|
1364
1341
|
&[has-icon="true"] { padding-left: 1.5rem; }
|
|
1365
1342
|
` };
|
|
1366
1343
|
//#endregion
|
|
1367
1344
|
//#region src/components/_icon-button.jsx
|
|
1368
|
-
function
|
|
1369
|
-
function
|
|
1370
|
-
|
|
1345
|
+
function Tt({ iconName: e, color: t, isDisabled: i, onClick: a }) {
|
|
1346
|
+
function o(e) {
|
|
1347
|
+
i || (e.stopPropagation(), e.preventDefault(), a?.(e));
|
|
1371
1348
|
}
|
|
1372
|
-
return /* @__PURE__ */
|
|
1373
|
-
className:
|
|
1374
|
-
"is-disabled":
|
|
1375
|
-
"is-clickable": !!
|
|
1376
|
-
disabled:
|
|
1377
|
-
onClick:
|
|
1378
|
-
children: /* @__PURE__ */ Z
|
|
1349
|
+
return /* @__PURE__ */ r(n, { children: /* @__PURE__ */ r("button", {
|
|
1350
|
+
className: Et.base,
|
|
1351
|
+
"is-disabled": i || void 0,
|
|
1352
|
+
"is-clickable": !!a || void 0,
|
|
1353
|
+
disabled: i,
|
|
1354
|
+
onClick: o,
|
|
1355
|
+
children: /* @__PURE__ */ r(Z, {
|
|
1379
1356
|
color: t,
|
|
1380
|
-
className:
|
|
1357
|
+
className: J`${Y.extends.centrate}`,
|
|
1381
1358
|
iconName: e,
|
|
1382
|
-
isDisabled:
|
|
1359
|
+
isDisabled: i
|
|
1383
1360
|
})
|
|
1384
1361
|
}) });
|
|
1385
1362
|
}
|
|
1386
|
-
var
|
|
1363
|
+
var Et = { base: J`
|
|
1387
1364
|
position: relative;
|
|
1388
1365
|
width: 2.25rem;
|
|
1389
1366
|
height: 2.25rem;
|
|
1390
1367
|
border-radius: 8px;
|
|
1391
1368
|
will-change: transform, border;
|
|
1392
1369
|
transition: transform .1s ease, border .1s ease;
|
|
1393
|
-
border-bottom: solid 2px ${
|
|
1394
|
-
background-color: ${
|
|
1370
|
+
border-bottom: solid 2px ${Y.colors.border};
|
|
1371
|
+
background-color: ${Y.colors.back.secondary};
|
|
1395
1372
|
|
|
1396
1373
|
&:active {
|
|
1397
1374
|
transform: translateY(1px);
|
|
@@ -1400,53 +1377,53 @@ var Dt = { base: Y`
|
|
|
1400
1377
|
` };
|
|
1401
1378
|
//#endregion
|
|
1402
1379
|
//#region src/components/_tab-box.jsx
|
|
1403
|
-
function
|
|
1404
|
-
let
|
|
1405
|
-
function
|
|
1406
|
-
e !==
|
|
1380
|
+
function Dt({ className: e, width: t, height: o, initialIndex: c = 0, items: l = [], onChange: u }) {
|
|
1381
|
+
let d = s(), f = Math.max(l.length - 1, 0), p = a(Math.min(Math.max(c, 0), f)), m = Math.min(p.value, f);
|
|
1382
|
+
function h(e) {
|
|
1383
|
+
e !== m && (p.value = e, u?.(e, l[e]));
|
|
1407
1384
|
}
|
|
1408
|
-
return /* @__PURE__ */
|
|
1409
|
-
className:
|
|
1410
|
-
style: { width:
|
|
1411
|
-
children: [/* @__PURE__ */
|
|
1385
|
+
return /* @__PURE__ */ r(n, { children: /* @__PURE__ */ i("div", {
|
|
1386
|
+
className: q($.base, e),
|
|
1387
|
+
style: { width: t },
|
|
1388
|
+
children: [/* @__PURE__ */ r(it, {
|
|
1412
1389
|
className: $.box,
|
|
1413
|
-
height:
|
|
1414
|
-
children: /* @__PURE__ */
|
|
1390
|
+
height: o,
|
|
1391
|
+
children: /* @__PURE__ */ r("div", {
|
|
1415
1392
|
className: $.track,
|
|
1416
|
-
style: { transform: `translateX(-${
|
|
1417
|
-
children:
|
|
1418
|
-
id: `${
|
|
1393
|
+
style: { transform: `translateX(-${m * 100}%)` },
|
|
1394
|
+
children: l.map((e, t) => /* @__PURE__ */ r(n, { children: /* @__PURE__ */ r("div", {
|
|
1395
|
+
id: `${d}-panel-${t}`,
|
|
1419
1396
|
className: $.panel,
|
|
1420
1397
|
role: "tabpanel",
|
|
1421
|
-
"aria-labelledby": `${
|
|
1422
|
-
"aria-hidden": t !==
|
|
1423
|
-
inert: t !==
|
|
1398
|
+
"aria-labelledby": `${d}-tab-${t}`,
|
|
1399
|
+
"aria-hidden": t !== m,
|
|
1400
|
+
inert: t !== m || void 0,
|
|
1424
1401
|
children: e.content
|
|
1425
1402
|
}, e.id ?? t) }))
|
|
1426
1403
|
})
|
|
1427
|
-
}),
|
|
1404
|
+
}), l.length > 0 && /* @__PURE__ */ r(n, { children: /* @__PURE__ */ r("div", {
|
|
1428
1405
|
className: $.tabs,
|
|
1429
1406
|
role: "tablist",
|
|
1430
|
-
children:
|
|
1431
|
-
let
|
|
1432
|
-
return /* @__PURE__ */
|
|
1433
|
-
id: `${
|
|
1407
|
+
children: l.map((e, t) => {
|
|
1408
|
+
let a = t === m, o = e.notification != null;
|
|
1409
|
+
return /* @__PURE__ */ r(n, { children: /* @__PURE__ */ i("button", {
|
|
1410
|
+
id: `${d}-tab-${t}`,
|
|
1434
1411
|
className: $.tab,
|
|
1435
1412
|
type: "button",
|
|
1436
1413
|
role: "tab",
|
|
1437
|
-
"aria-controls": `${
|
|
1414
|
+
"aria-controls": `${d}-panel-${t}`,
|
|
1438
1415
|
"aria-label": e.label ?? `Tab ${t + 1}`,
|
|
1439
|
-
"aria-selected":
|
|
1440
|
-
tabIndex:
|
|
1441
|
-
"is-active":
|
|
1442
|
-
onClick: () =>
|
|
1416
|
+
"aria-selected": a,
|
|
1417
|
+
tabIndex: a ? 0 : -1,
|
|
1418
|
+
"is-active": a || void 0,
|
|
1419
|
+
onClick: () => h(t),
|
|
1443
1420
|
children: [
|
|
1444
|
-
e.iconName && /* @__PURE__ */ Z
|
|
1421
|
+
e.iconName && /* @__PURE__ */ r(Z, {
|
|
1445
1422
|
iconName: e.iconName,
|
|
1446
1423
|
size: "1rem"
|
|
1447
1424
|
}),
|
|
1448
|
-
e.label && /* @__PURE__ */
|
|
1449
|
-
|
|
1425
|
+
e.label && /* @__PURE__ */ r("span", { children: e.label }),
|
|
1426
|
+
o && /* @__PURE__ */ r("span", {
|
|
1450
1427
|
className: $.notification,
|
|
1451
1428
|
"aria-label": `${e.notification} notifications`,
|
|
1452
1429
|
children: e.notification
|
|
@@ -1458,17 +1435,17 @@ function Ot({ className: e, width: r, height: a, initialIndex: o = 0, items: s =
|
|
|
1458
1435
|
}) });
|
|
1459
1436
|
}
|
|
1460
1437
|
var $ = {
|
|
1461
|
-
base:
|
|
1438
|
+
base: J`
|
|
1462
1439
|
position: relative;
|
|
1463
1440
|
max-width: 100%;
|
|
1464
1441
|
`,
|
|
1465
|
-
box:
|
|
1466
|
-
z-index: ${
|
|
1442
|
+
box: J`
|
|
1443
|
+
z-index: ${Y.zIndex.front};
|
|
1467
1444
|
width: 100%;
|
|
1468
1445
|
padding: 0;
|
|
1469
1446
|
overflow: hidden;
|
|
1470
1447
|
`,
|
|
1471
|
-
track:
|
|
1448
|
+
track: J`
|
|
1472
1449
|
display: flex;
|
|
1473
1450
|
width: 100%;
|
|
1474
1451
|
min-height: 100%;
|
|
@@ -1477,12 +1454,12 @@ var $ = {
|
|
|
1477
1454
|
|
|
1478
1455
|
@media (prefers-reduced-motion: reduce) { transition: none; }
|
|
1479
1456
|
`,
|
|
1480
|
-
panel:
|
|
1457
|
+
panel: J`
|
|
1481
1458
|
flex: 0 0 100%;
|
|
1482
1459
|
min-width: 0;
|
|
1483
1460
|
padding: 1.875rem 1.25rem;
|
|
1484
1461
|
`,
|
|
1485
|
-
tabs:
|
|
1462
|
+
tabs: J`
|
|
1486
1463
|
display: flex;
|
|
1487
1464
|
position: relative;
|
|
1488
1465
|
margin-top: -1rem;
|
|
@@ -1490,9 +1467,9 @@ var $ = {
|
|
|
1490
1467
|
border: solid 2px #eee;
|
|
1491
1468
|
border-top: 0;
|
|
1492
1469
|
border-radius: 0 0 18px 18px;
|
|
1493
|
-
background-color: ${
|
|
1470
|
+
background-color: ${Y.colors.back.secondary};
|
|
1494
1471
|
`,
|
|
1495
|
-
tab:
|
|
1472
|
+
tab: J`
|
|
1496
1473
|
display: flex;
|
|
1497
1474
|
flex: 1 1 0;
|
|
1498
1475
|
align-items: center;
|
|
@@ -1505,17 +1482,17 @@ var $ = {
|
|
|
1505
1482
|
font-size: .8rem;
|
|
1506
1483
|
font-weight: 600;
|
|
1507
1484
|
transition: color .2s ease, background-color .2s ease;
|
|
1508
|
-
color: ${
|
|
1509
|
-
font-family: ${
|
|
1485
|
+
color: ${Y.colors.fore.secondary};
|
|
1486
|
+
font-family: ${Y.fontFamily}, sans-serif;
|
|
1510
1487
|
|
|
1511
1488
|
& + & { border-left: solid 1px #e5e7e9; }
|
|
1512
1489
|
|
|
1513
1490
|
&[is-active] {
|
|
1514
|
-
color: ${
|
|
1515
|
-
background-color: ${
|
|
1491
|
+
color: ${Y.colors.fore.primary};
|
|
1492
|
+
background-color: ${Y.colors.back.primary};
|
|
1516
1493
|
}
|
|
1517
1494
|
`,
|
|
1518
|
-
notification:
|
|
1495
|
+
notification: J`
|
|
1519
1496
|
display: inline-flex;
|
|
1520
1497
|
align-items: center;
|
|
1521
1498
|
justify-content: center;
|
|
@@ -1526,9 +1503,9 @@ var $ = {
|
|
|
1526
1503
|
font-size: .7rem;
|
|
1527
1504
|
font-weight: 700;
|
|
1528
1505
|
line-height: 1;
|
|
1529
|
-
color: ${
|
|
1530
|
-
background-color: ${
|
|
1506
|
+
color: ${Y.colors.fore.primary};
|
|
1507
|
+
background-color: ${Y.colors.back.primary};
|
|
1531
1508
|
`
|
|
1532
1509
|
};
|
|
1533
1510
|
//#endregion
|
|
1534
|
-
export {
|
|
1511
|
+
export { tt as AppWrapper, rt as Bar, it as Box, st as Button, pt as Headline, Z as Icon, Tt as IconButton, lt as Layout, ht as Space, xt as Switch, Dt as TabBox, Ct as Tag, dt as Text, gt as TextField, Y as Theme };
|