tcce-design-system-test 0.3.14 → 0.3.16
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.
|
@@ -38,7 +38,7 @@ function na(e) {
|
|
|
38
38
|
function We(e, t) {
|
|
39
39
|
return (e = t.exec(e)) ? e[0] : e;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function L(e, t, n) {
|
|
42
42
|
return e.replace(t, n);
|
|
43
43
|
}
|
|
44
44
|
function En(e, t, n) {
|
|
@@ -85,7 +85,7 @@ function qc() {
|
|
|
85
85
|
function Jc() {
|
|
86
86
|
return oe = $e > 0 ? le(Ft, --$e) : 0, It--, oe === 10 && (It = 1, Yn--), oe;
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function Ne() {
|
|
89
89
|
return oe = $e < ia ? le(Ft, $e++) : 0, It++, oe === 10 && (It = 1, Yn++), oe;
|
|
90
90
|
}
|
|
91
91
|
function ft() {
|
|
@@ -146,16 +146,16 @@ function sr(e) {
|
|
|
146
146
|
}
|
|
147
147
|
function tu(e) {
|
|
148
148
|
for (; (oe = ft()) && oe < 33; )
|
|
149
|
-
|
|
149
|
+
Ne();
|
|
150
150
|
return Pr(e) > 2 || Pr(oe) > 3 ? "" : " ";
|
|
151
151
|
}
|
|
152
152
|
function nu(e, t) {
|
|
153
|
-
for (; --t &&
|
|
153
|
+
for (; --t && Ne() && !(oe < 48 || oe > 102 || oe > 57 && oe < 65 || oe > 70 && oe < 97); )
|
|
154
154
|
;
|
|
155
|
-
return Xn(e, An() + (t < 6 && ft() == 32 &&
|
|
155
|
+
return Xn(e, An() + (t < 6 && ft() == 32 && Ne() == 32));
|
|
156
156
|
}
|
|
157
157
|
function Er(e) {
|
|
158
|
-
for (;
|
|
158
|
+
for (; Ne(); )
|
|
159
159
|
switch (oe) {
|
|
160
160
|
// ] ) " '
|
|
161
161
|
case e:
|
|
@@ -171,20 +171,20 @@ function Er(e) {
|
|
|
171
171
|
break;
|
|
172
172
|
// \
|
|
173
173
|
case 92:
|
|
174
|
-
|
|
174
|
+
Ne();
|
|
175
175
|
break;
|
|
176
176
|
}
|
|
177
177
|
return $e;
|
|
178
178
|
}
|
|
179
179
|
function ru(e, t) {
|
|
180
|
-
for (;
|
|
180
|
+
for (; Ne() && e + oe !== 57; )
|
|
181
181
|
if (e + oe === 84 && ft() === 47)
|
|
182
182
|
break;
|
|
183
|
-
return "/*" + Xn(t, $e - 1) + "*" + ii(e === 47 ? e :
|
|
183
|
+
return "/*" + Xn(t, $e - 1) + "*" + ii(e === 47 ? e : Ne());
|
|
184
184
|
}
|
|
185
185
|
function iu(e) {
|
|
186
186
|
for (; !Pr(ft()); )
|
|
187
|
-
|
|
187
|
+
Ne();
|
|
188
188
|
return Xn(e, $e);
|
|
189
189
|
}
|
|
190
190
|
function ou(e) {
|
|
@@ -192,11 +192,11 @@ function ou(e) {
|
|
|
192
192
|
}
|
|
193
193
|
function Dn(e, t, n, r, i, s, o, a, c) {
|
|
194
194
|
for (var u = 0, d = 0, l = o, h = 0, f = 0, m = 0, y = 1, b = 1, g = 1, w = 0, x = "", E = i, C = s, S = r, k = x; b; )
|
|
195
|
-
switch (m = w, w =
|
|
195
|
+
switch (m = w, w = Ne()) {
|
|
196
196
|
// (
|
|
197
197
|
case 40:
|
|
198
198
|
if (m != 108 && le(k, l - 1) == 58) {
|
|
199
|
-
En(k +=
|
|
199
|
+
En(k += L(sr(w), "&", "&\f"), "&\f", ta(u ? a[u - 1] : 0)) != -1 && (g = -1);
|
|
200
200
|
break;
|
|
201
201
|
}
|
|
202
202
|
// " ' [
|
|
@@ -221,7 +221,7 @@ function Dn(e, t, n, r, i, s, o, a, c) {
|
|
|
221
221
|
switch (ft()) {
|
|
222
222
|
case 42:
|
|
223
223
|
case 47:
|
|
224
|
-
Zt(su(ru(
|
|
224
|
+
Zt(su(ru(Ne(), An()), t, n, c), c);
|
|
225
225
|
break;
|
|
226
226
|
default:
|
|
227
227
|
k += "/";
|
|
@@ -241,7 +241,7 @@ function Dn(e, t, n, r, i, s, o, a, c) {
|
|
|
241
241
|
b = 0;
|
|
242
242
|
// ;
|
|
243
243
|
case 59 + d:
|
|
244
|
-
g == -1 && (k =
|
|
244
|
+
g == -1 && (k = L(k, /\f/g, "")), f > 0 && Oe(k) - l && Zt(f > 32 ? so(k + ";", r, n, l - 1, c) : so(L(k, " ", "") + ";", r, n, l - 2, c), c);
|
|
245
245
|
break;
|
|
246
246
|
// @ ;
|
|
247
247
|
case 59:
|
|
@@ -287,7 +287,7 @@ function Dn(e, t, n, r, i, s, o, a, c) {
|
|
|
287
287
|
break;
|
|
288
288
|
// @
|
|
289
289
|
case 64:
|
|
290
|
-
ft() === 45 && (k += sr(
|
|
290
|
+
ft() === 45 && (k += sr(Ne())), h = ft(), d = l = Oe(x = k += iu(An())), w++;
|
|
291
291
|
break;
|
|
292
292
|
// -
|
|
293
293
|
case 45:
|
|
@@ -299,7 +299,7 @@ function Dn(e, t, n, r, i, s, o, a, c) {
|
|
|
299
299
|
function oo(e, t, n, r, i, s, o, a, c, u, d, l) {
|
|
300
300
|
for (var h = i - 1, f = i === 0 ? s : [""], m = ra(f), y = 0, b = 0, g = 0; y < r; ++y)
|
|
301
301
|
for (var w = 0, x = Rt(e, h + 1, h = ta(b = o[y])), E = e; w < m; ++w)
|
|
302
|
-
(E = na(b > 0 ? f[w] + " " + x :
|
|
302
|
+
(E = na(b > 0 ? f[w] + " " + x : L(x, /&\f/g, f[w]))) && (c[g++] = E);
|
|
303
303
|
return Gn(e, t, n, i === 0 ? Kn : a, c, u, d, l);
|
|
304
304
|
}
|
|
305
305
|
function su(e, t, n, r) {
|
|
@@ -358,13 +358,13 @@ function oa(e, t, n) {
|
|
|
358
358
|
switch (le(e, t + 11)) {
|
|
359
359
|
// vertical-l(r)
|
|
360
360
|
case 114:
|
|
361
|
-
return W + e + Z +
|
|
361
|
+
return W + e + Z + L(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
362
362
|
// vertical-r(l)
|
|
363
363
|
case 108:
|
|
364
|
-
return W + e + Z +
|
|
364
|
+
return W + e + Z + L(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
365
365
|
// horizontal(-)tb
|
|
366
366
|
case 45:
|
|
367
|
-
return W + e + Z +
|
|
367
|
+
return W + e + Z + L(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
368
368
|
}
|
|
369
369
|
// flex, flex-direction, scroll-snap-type, writing-mode
|
|
370
370
|
case 6828:
|
|
@@ -376,35 +376,35 @@ function oa(e, t, n) {
|
|
|
376
376
|
return W + e + Z + "flex-" + e + e;
|
|
377
377
|
// align-items
|
|
378
378
|
case 5187:
|
|
379
|
-
return W + e +
|
|
379
|
+
return W + e + L(e, /(\w+).+(:[^]+)/, W + "box-$1$2" + Z + "flex-$1$2") + e;
|
|
380
380
|
// align-self
|
|
381
381
|
case 5443:
|
|
382
|
-
return W + e + Z + "flex-item-" +
|
|
382
|
+
return W + e + Z + "flex-item-" + L(e, /flex-|-self/g, "") + (We(e, /flex-|baseline/) ? "" : Z + "grid-row-" + L(e, /flex-|-self/g, "")) + e;
|
|
383
383
|
// align-content
|
|
384
384
|
case 4675:
|
|
385
|
-
return W + e + Z + "flex-line-pack" +
|
|
385
|
+
return W + e + Z + "flex-line-pack" + L(e, /align-content|flex-|-self/g, "") + e;
|
|
386
386
|
// flex-shrink
|
|
387
387
|
case 5548:
|
|
388
|
-
return W + e + Z +
|
|
388
|
+
return W + e + Z + L(e, "shrink", "negative") + e;
|
|
389
389
|
// flex-basis
|
|
390
390
|
case 5292:
|
|
391
|
-
return W + e + Z +
|
|
391
|
+
return W + e + Z + L(e, "basis", "preferred-size") + e;
|
|
392
392
|
// flex-grow
|
|
393
393
|
case 6060:
|
|
394
|
-
return W + "box-" +
|
|
394
|
+
return W + "box-" + L(e, "-grow", "") + W + e + Z + L(e, "grow", "positive") + e;
|
|
395
395
|
// transition
|
|
396
396
|
case 4554:
|
|
397
|
-
return W +
|
|
397
|
+
return W + L(e, /([^-])(transform)/g, "$1" + W + "$2") + e;
|
|
398
398
|
// cursor
|
|
399
399
|
case 6187:
|
|
400
|
-
return
|
|
400
|
+
return L(L(L(e, /(zoom-|grab)/, W + "$1"), /(image-set)/, W + "$1"), e, "") + e;
|
|
401
401
|
// background, background-image
|
|
402
402
|
case 5495:
|
|
403
403
|
case 3959:
|
|
404
|
-
return
|
|
404
|
+
return L(e, /(image-set\([^]*)/, W + "$1$`$1");
|
|
405
405
|
// justify-content
|
|
406
406
|
case 4968:
|
|
407
|
-
return
|
|
407
|
+
return L(L(e, /(.+:)(flex-)?(.*)/, W + "box-pack:$3" + Z + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + W + e + e;
|
|
408
408
|
// justify-self
|
|
409
409
|
case 4200:
|
|
410
410
|
if (!We(e, /flex-|baseline/)) return Z + "grid-column-align" + Rt(e, t) + e;
|
|
@@ -412,25 +412,25 @@ function oa(e, t, n) {
|
|
|
412
412
|
// grid-template-(columns|rows)
|
|
413
413
|
case 2592:
|
|
414
414
|
case 3360:
|
|
415
|
-
return Z +
|
|
415
|
+
return Z + L(e, "template-", "") + e;
|
|
416
416
|
// grid-(row|column)-start
|
|
417
417
|
case 4384:
|
|
418
418
|
case 3616:
|
|
419
419
|
return n && n.some(function(r, i) {
|
|
420
420
|
return t = i, We(r.props, /grid-\w+-end/);
|
|
421
|
-
}) ? ~En(e + (n = n[t].value), "span", 0) ? e : Z +
|
|
421
|
+
}) ? ~En(e + (n = n[t].value), "span", 0) ? e : Z + L(e, "-start", "") + e + Z + "grid-row-span:" + (~En(n, "span", 0) ? We(n, /\d+/) : +We(n, /\d+/) - +We(e, /\d+/)) + ";" : Z + L(e, "-start", "") + e;
|
|
422
422
|
// grid-(row|column)-end
|
|
423
423
|
case 4896:
|
|
424
424
|
case 4128:
|
|
425
425
|
return n && n.some(function(r) {
|
|
426
426
|
return We(r.props, /grid-\w+-start/);
|
|
427
|
-
}) ? e : Z +
|
|
427
|
+
}) ? e : Z + L(L(e, "-end", "-span"), "span ", "") + e;
|
|
428
428
|
// (margin|padding)-inline-(start|end)
|
|
429
429
|
case 4095:
|
|
430
430
|
case 3583:
|
|
431
431
|
case 4068:
|
|
432
432
|
case 2532:
|
|
433
|
-
return
|
|
433
|
+
return L(e, /(.+)-inline(.+)/, W + "$1$2") + e;
|
|
434
434
|
// (min|max)?(width|height|inline-size|block-size)
|
|
435
435
|
case 8116:
|
|
436
436
|
case 7059:
|
|
@@ -452,32 +452,32 @@ function oa(e, t, n) {
|
|
|
452
452
|
break;
|
|
453
453
|
// (f)ill-available, (f)it-content
|
|
454
454
|
case 102:
|
|
455
|
-
return
|
|
455
|
+
return L(e, /(.+:)(.+)-([^]+)/, "$1" + W + "$2-$3$1" + Jt + (le(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
456
456
|
// (s)tretch
|
|
457
457
|
case 115:
|
|
458
|
-
return ~En(e, "stretch", 0) ? oa(
|
|
458
|
+
return ~En(e, "stretch", 0) ? oa(L(e, "stretch", "fill-available"), t, n) + e : e;
|
|
459
459
|
}
|
|
460
460
|
break;
|
|
461
461
|
// grid-(column|row)
|
|
462
462
|
case 5152:
|
|
463
463
|
case 5920:
|
|
464
|
-
return
|
|
464
|
+
return L(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(r, i, s, o, a, c, u) {
|
|
465
465
|
return Z + i + ":" + s + u + (o ? Z + i + "-span:" + (a ? c : +c - +s) + u : "") + e;
|
|
466
466
|
});
|
|
467
467
|
// position: sticky
|
|
468
468
|
case 4949:
|
|
469
469
|
if (le(e, t + 6) === 121)
|
|
470
|
-
return
|
|
470
|
+
return L(e, ":", ":" + W) + e;
|
|
471
471
|
break;
|
|
472
472
|
// display: (flex|inline-flex|grid|inline-grid)
|
|
473
473
|
case 6444:
|
|
474
474
|
switch (le(e, le(e, 14) === 45 ? 18 : 11)) {
|
|
475
475
|
// (inline-)?fle(x)
|
|
476
476
|
case 120:
|
|
477
|
-
return
|
|
477
|
+
return L(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + W + (le(e, 14) === 45 ? "inline-" : "") + "box$3$1" + W + "$2$3$1" + Z + "$2box$3") + e;
|
|
478
478
|
// (inline-)?gri(d)
|
|
479
479
|
case 100:
|
|
480
|
-
return
|
|
480
|
+
return L(e, ":", ":" + Z) + e;
|
|
481
481
|
}
|
|
482
482
|
break;
|
|
483
483
|
// scroll-margin, scroll-margin-(top|right|bottom|left)
|
|
@@ -486,11 +486,11 @@ function oa(e, t, n) {
|
|
|
486
486
|
case 2135:
|
|
487
487
|
case 3927:
|
|
488
488
|
case 2391:
|
|
489
|
-
return
|
|
489
|
+
return L(e, "scroll-", "scroll-snap-") + e;
|
|
490
490
|
}
|
|
491
491
|
return e;
|
|
492
492
|
}
|
|
493
|
-
function
|
|
493
|
+
function Ln(e, t) {
|
|
494
494
|
for (var n = "", r = 0; r < e.length; r++)
|
|
495
495
|
n += t(e[r], r, e, t) || "";
|
|
496
496
|
return n;
|
|
@@ -505,11 +505,11 @@ function au(e, t, n, r) {
|
|
|
505
505
|
case Qs:
|
|
506
506
|
return "";
|
|
507
507
|
case ea:
|
|
508
|
-
return e.return = e.value + "{" +
|
|
508
|
+
return e.return = e.value + "{" + Ln(e.children, r) + "}";
|
|
509
509
|
case Kn:
|
|
510
510
|
if (!Oe(e.value = e.props.join(","))) return "";
|
|
511
511
|
}
|
|
512
|
-
return Oe(n =
|
|
512
|
+
return Oe(n = Ln(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
|
|
513
513
|
}
|
|
514
514
|
function lu(e) {
|
|
515
515
|
var t = ra(e);
|
|
@@ -531,7 +531,7 @@ function uu(e, t, n, r) {
|
|
|
531
531
|
e.return = oa(e.value, e.length, n);
|
|
532
532
|
return;
|
|
533
533
|
case ea:
|
|
534
|
-
return
|
|
534
|
+
return Ln([Qe(e, { value: L(e.value, "@", "@" + W) })], r);
|
|
535
535
|
case Kn:
|
|
536
536
|
if (e.length)
|
|
537
537
|
return Zc(n = e.props, function(i) {
|
|
@@ -539,11 +539,11 @@ function uu(e, t, n, r) {
|
|
|
539
539
|
// :read-(only|write)
|
|
540
540
|
case ":read-only":
|
|
541
541
|
case ":read-write":
|
|
542
|
-
Tt(Qe(e, { props: [
|
|
542
|
+
Tt(Qe(e, { props: [L(i, /:(read-\w+)/, ":" + Jt + "$1")] })), Tt(Qe(e, { props: [i] })), kr(e, { props: io(n, r) });
|
|
543
543
|
break;
|
|
544
544
|
// :placeholder
|
|
545
545
|
case "::placeholder":
|
|
546
|
-
Tt(Qe(e, { props: [
|
|
546
|
+
Tt(Qe(e, { props: [L(i, /:(plac\w+)/, ":" + W + "input-$1")] })), Tt(Qe(e, { props: [L(i, /:(plac\w+)/, ":" + Jt + "$1")] })), Tt(Qe(e, { props: [L(i, /:(plac\w+)/, Z + "input-$1")] })), Tt(Qe(e, { props: [i] })), kr(e, { props: io(n, r) });
|
|
547
547
|
break;
|
|
548
548
|
}
|
|
549
549
|
return "";
|
|
@@ -618,9 +618,9 @@ See https://styled-components.com/docs/basics#define-styled-components-outside-o
|
|
|
618
618
|
console.error = i;
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
|
-
}, qn = Object.freeze([]),
|
|
621
|
+
}, qn = Object.freeze([]), Nt = Object.freeze({});
|
|
622
622
|
function mu(e, t, n) {
|
|
623
|
-
return n === void 0 && (n =
|
|
623
|
+
return n === void 0 && (n = Nt), e.theme !== n.theme && e.theme || t || n.theme;
|
|
624
624
|
}
|
|
625
625
|
var Ar = /* @__PURE__ */ new Set(["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "u", "ul", "use", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"]), pu = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, gu = /(^-|-$)/g;
|
|
626
626
|
function lo(e) {
|
|
@@ -676,7 +676,7 @@ function ma(e, t, n) {
|
|
|
676
676
|
}
|
|
677
677
|
return e;
|
|
678
678
|
}
|
|
679
|
-
function
|
|
679
|
+
function Lt(e) {
|
|
680
680
|
return typeof e == "function";
|
|
681
681
|
}
|
|
682
682
|
function si(e) {
|
|
@@ -791,7 +791,7 @@ var Du = (function() {
|
|
|
791
791
|
Mn = t + 1, $n.set(e, t), On.set(t, e);
|
|
792
792
|
}, Vu = "style[".concat(yt, "][").concat(aa, '="').concat(Zn, '"]'), Ru = new RegExp("^".concat(yt, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), Iu = function(e, t, n) {
|
|
793
793
|
for (var r, i = n.split(","), s = 0, o = i.length; s < o; s++) (r = i[s]) && e.registerName(t, r);
|
|
794
|
-
},
|
|
794
|
+
}, Nu = function(e, t) {
|
|
795
795
|
for (var n, r = ((n = t.textContent) !== null && n !== void 0 ? n : "").split(oi), i = [], s = 0, o = r.length; s < o; s++) {
|
|
796
796
|
var a = r[s].trim();
|
|
797
797
|
if (a) {
|
|
@@ -805,10 +805,10 @@ var Du = (function() {
|
|
|
805
805
|
}, po = function(e) {
|
|
806
806
|
for (var t = document.querySelectorAll(Vu), n = 0, r = t.length; n < r; n++) {
|
|
807
807
|
var i = t[n];
|
|
808
|
-
i && i.getAttribute(yt) !== sa && (
|
|
808
|
+
i && i.getAttribute(yt) !== sa && (Nu(e, i), i.parentNode && i.parentNode.removeChild(i));
|
|
809
809
|
}
|
|
810
810
|
};
|
|
811
|
-
function
|
|
811
|
+
function Lu() {
|
|
812
812
|
return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null;
|
|
813
813
|
}
|
|
814
814
|
var pa = function(e) {
|
|
@@ -817,7 +817,7 @@ var pa = function(e) {
|
|
|
817
817
|
return c[c.length - 1];
|
|
818
818
|
})(n), s = i !== void 0 ? i.nextSibling : null;
|
|
819
819
|
r.setAttribute(yt, sa), r.setAttribute(aa, Zn);
|
|
820
|
-
var o =
|
|
820
|
+
var o = Lu();
|
|
821
821
|
return o && r.setAttribute("nonce", o), n.insertBefore(r, s), r;
|
|
822
822
|
}, Bu = (function() {
|
|
823
823
|
function e(t) {
|
|
@@ -870,7 +870,7 @@ var pa = function(e) {
|
|
|
870
870
|
}, e;
|
|
871
871
|
})(), go = Bn, Fu = { isServer: !Bn, useCSSOMInjection: !hu }, ga = (function() {
|
|
872
872
|
function e(t, n, r) {
|
|
873
|
-
t === void 0 && (t =
|
|
873
|
+
t === void 0 && (t = Nt), n === void 0 && (n = {});
|
|
874
874
|
var i = this;
|
|
875
875
|
this.options = be(be({}, Fu), t), this.gs = n, this.names = new Map(r), this.server = !!t.isServer, !this.server && Bn && go && (go = !1, po(this)), ai(this, function() {
|
|
876
876
|
return (function(s) {
|
|
@@ -930,7 +930,7 @@ function ya(e, t) {
|
|
|
930
930
|
});
|
|
931
931
|
}
|
|
932
932
|
function Hu(e) {
|
|
933
|
-
var t, n, r, i =
|
|
933
|
+
var t, n, r, i = Nt, s = i.options, o = s === void 0 ? Nt : s, a = i.plugins, c = a === void 0 ? qn : a, u = function(h, f, m) {
|
|
934
934
|
return m.startsWith(n) && m.endsWith(n) && m.replaceAll(n, "").length > 0 ? ".".concat(t) : h;
|
|
935
935
|
}, d = c.slice();
|
|
936
936
|
d.push(function(h) {
|
|
@@ -941,7 +941,7 @@ function Hu(e) {
|
|
|
941
941
|
var b = h.replace(_u, ""), g = ou(m || f ? "".concat(m, " ").concat(f, " { ").concat(b, " }") : b);
|
|
942
942
|
o.namespace && (g = ya(g, o.namespace));
|
|
943
943
|
var w = [];
|
|
944
|
-
return
|
|
944
|
+
return Ln(g, lu(d.concat(cu(function(x) {
|
|
945
945
|
return w.push(x);
|
|
946
946
|
})))), w;
|
|
947
947
|
};
|
|
@@ -986,15 +986,15 @@ var ba = function(e) {
|
|
|
986
986
|
var t, n, r = [];
|
|
987
987
|
for (var i in e) {
|
|
988
988
|
var s = e[i];
|
|
989
|
-
e.hasOwnProperty(i) && !ba(s) && (Array.isArray(s) && s.isCss ||
|
|
989
|
+
e.hasOwnProperty(i) && !ba(s) && (Array.isArray(s) && s.isCss || Lt(s) ? r.push("".concat(bo(i), ":"), s, ";") : Bt(s) ? r.push.apply(r, Vt(Vt(["".concat(i, " {")], xa(s), !1), ["}"], !1)) : r.push("".concat(bo(i), ": ").concat((t = i, (n = s) == null || typeof n == "boolean" || n === "" ? "" : typeof n != "number" || n === 0 || t in du || t.startsWith("--") ? String(n).trim() : "".concat(n, "px")), ";")));
|
|
990
990
|
}
|
|
991
991
|
return r;
|
|
992
992
|
};
|
|
993
993
|
function mt(e, t, n, r) {
|
|
994
994
|
if (ba(e)) return [];
|
|
995
995
|
if (si(e)) return [".".concat(e.styledComponentId)];
|
|
996
|
-
if (
|
|
997
|
-
if (!
|
|
996
|
+
if (Lt(e)) {
|
|
997
|
+
if (!Lt(s = e) || s.prototype && s.prototype.isReactComponent || !t) return [e];
|
|
998
998
|
var i = e(t);
|
|
999
999
|
return process.env.NODE_ENV === "production" || typeof i != "object" || Array.isArray(i) || i instanceof vo || Bt(i) || i === null || console.error("".concat(ua(e), " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")), mt(i, t, n, r);
|
|
1000
1000
|
}
|
|
@@ -1006,7 +1006,7 @@ function mt(e, t, n, r) {
|
|
|
1006
1006
|
function Ku(e) {
|
|
1007
1007
|
for (var t = 0; t < e.length; t += 1) {
|
|
1008
1008
|
var n = e[t];
|
|
1009
|
-
if (
|
|
1009
|
+
if (Lt(n) && !si(n)) return !1;
|
|
1010
1010
|
}
|
|
1011
1011
|
return !0;
|
|
1012
1012
|
}
|
|
@@ -1067,9 +1067,9 @@ function Xu(e, t, n) {
|
|
|
1067
1067
|
return (function(S, k, A) {
|
|
1068
1068
|
var V = S.attrs, z = S.componentStyle, D = S.defaultProps, K = S.foldedComponentIds, U = S.styledComponentId, Te = S.target, te = v.useContext(wa), O = yo(), R = S.shouldForwardProp || O.shouldForwardProp;
|
|
1069
1069
|
process.env.NODE_ENV !== "production" && ro(U);
|
|
1070
|
-
var F = mu(k, te, D) ||
|
|
1070
|
+
var F = mu(k, te, D) || Nt, I = (function(Y, se, Me) {
|
|
1071
1071
|
for (var H, ye = be(be({}, se), { className: void 0, theme: Me }), qe = 0; qe < Y.length; qe += 1) {
|
|
1072
|
-
var He =
|
|
1072
|
+
var He = Lt(H = Y[qe]) ? H(ye) : H;
|
|
1073
1073
|
for (var pe in He) ye[pe] = pe === "className" ? ct(ye[pe], He[pe]) : pe === "style" ? be(be({}, ye[pe]), He[pe]) : He[pe];
|
|
1074
1074
|
}
|
|
1075
1075
|
return se.className && (ye.className = ct(ye.className, se.className)), ye;
|
|
@@ -1124,12 +1124,12 @@ var So = function(e) {
|
|
|
1124
1124
|
};
|
|
1125
1125
|
function P(e) {
|
|
1126
1126
|
for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
|
|
1127
|
-
if (
|
|
1127
|
+
if (Lt(e) || Bt(e)) return So(mt(wo(qn, Vt([e], t, !0))));
|
|
1128
1128
|
var r = e;
|
|
1129
1129
|
return t.length === 0 && r.length === 1 && typeof r[0] == "string" ? mt(r) : So(mt(wo(r, t)));
|
|
1130
1130
|
}
|
|
1131
1131
|
function Vr(e, t, n) {
|
|
1132
|
-
if (n === void 0 && (n =
|
|
1132
|
+
if (n === void 0 && (n = Nt), !t) throw zt(1, t);
|
|
1133
1133
|
var r = function(i) {
|
|
1134
1134
|
for (var s = [], o = 1; o < arguments.length; o++) s[o - 1] = arguments[o];
|
|
1135
1135
|
return e(t, n, P.apply(void 0, Vt([i], s, !1)));
|
|
@@ -1425,7 +1425,7 @@ class pi {
|
|
|
1425
1425
|
this.subscriptions.length = 0;
|
|
1426
1426
|
}
|
|
1427
1427
|
}
|
|
1428
|
-
const
|
|
1428
|
+
const Le = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, Ae = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3;
|
|
1429
1429
|
function Aa(e, t) {
|
|
1430
1430
|
return t ? e * (1e3 / t) : 0;
|
|
1431
1431
|
}
|
|
@@ -1447,14 +1447,14 @@ function dn(e, t, n, r) {
|
|
|
1447
1447
|
const i = (s) => td(s, 0, 1, e, n);
|
|
1448
1448
|
return (s) => s === 0 || s === 1 ? s : Da(i(s), t, r);
|
|
1449
1449
|
}
|
|
1450
|
-
const $a = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, Ma = (e) => (t) => 1 - e(1 - t), Va = /* @__PURE__ */ dn(0.33, 1.53, 0.69, 0.99), yi = /* @__PURE__ */ Ma(Va), Ra = /* @__PURE__ */ $a(yi), Ia = (e) => (e *= 2) < 1 ? 0.5 * yi(e) : 0.5 * (2 - Math.pow(2, -10 * (e - 1))), vi = (e) => 1 - Math.sin(Math.acos(e)),
|
|
1450
|
+
const $a = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, Ma = (e) => (t) => 1 - e(1 - t), Va = /* @__PURE__ */ dn(0.33, 1.53, 0.69, 0.99), yi = /* @__PURE__ */ Ma(Va), Ra = /* @__PURE__ */ $a(yi), Ia = (e) => (e *= 2) < 1 ? 0.5 * yi(e) : 0.5 * (2 - Math.pow(2, -10 * (e - 1))), vi = (e) => 1 - Math.sin(Math.acos(e)), Na = Ma(vi), La = $a(vi), nd = /* @__PURE__ */ dn(0.42, 0, 1, 1), rd = /* @__PURE__ */ dn(0, 0, 0.58, 1), Ba = /* @__PURE__ */ dn(0.42, 0, 0.58, 1), id = (e) => Array.isArray(e) && typeof e[0] != "number", Oa = (e) => Array.isArray(e) && typeof e[0] == "number", ko = {
|
|
1451
1451
|
linear: De,
|
|
1452
1452
|
easeIn: nd,
|
|
1453
1453
|
easeInOut: Ba,
|
|
1454
1454
|
easeOut: rd,
|
|
1455
1455
|
circIn: vi,
|
|
1456
|
-
circInOut:
|
|
1457
|
-
circOut:
|
|
1456
|
+
circInOut: La,
|
|
1457
|
+
circOut: Na,
|
|
1458
1458
|
backIn: yi,
|
|
1459
1459
|
backInOut: Ra,
|
|
1460
1460
|
backOut: Va,
|
|
@@ -1699,9 +1699,9 @@ const $o = (e, t) => {
|
|
|
1699
1699
|
return jn(e, t);
|
|
1700
1700
|
const i = { ...n };
|
|
1701
1701
|
return (s) => (i.red = fr(n.red, r.red, s), i.green = fr(n.green, r.green, s), i.blue = fr(n.blue, r.blue, s), i.alpha = Q(n.alpha, r.alpha, s), dt.transform(i));
|
|
1702
|
-
},
|
|
1702
|
+
}, Nr = /* @__PURE__ */ new Set(["none", "hidden"]);
|
|
1703
1703
|
function Ed(e, t) {
|
|
1704
|
-
return
|
|
1704
|
+
return Nr.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;
|
|
1705
1705
|
}
|
|
1706
1706
|
function Ad(e, t) {
|
|
1707
1707
|
return (n) => Q(e, t, n);
|
|
@@ -1737,7 +1737,7 @@ function $d(e, t) {
|
|
|
1737
1737
|
}
|
|
1738
1738
|
const Md = (e, t) => {
|
|
1739
1739
|
const n = nt.createTransformer(t), r = sn(e), i = sn(t);
|
|
1740
|
-
return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ?
|
|
1740
|
+
return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? Nr.has(e) && !i.values.length || Nr.has(t) && !r.values.length ? Ed(e, t) : un(Ka($d(r, i), i.values), n) : (_t(!0, `Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`, "complex-values-different"), jn(e, t));
|
|
1741
1741
|
};
|
|
1742
1742
|
function Ya(e, t, n) {
|
|
1743
1743
|
return typeof e == "number" && typeof t == "number" && typeof n == "number" ? Q(e, t, n) : Ti(e)(e, t);
|
|
@@ -1810,15 +1810,15 @@ const J = {
|
|
|
1810
1810
|
minDamping: 0.05,
|
|
1811
1811
|
maxDamping: 1
|
|
1812
1812
|
}, mr = 1e-3;
|
|
1813
|
-
function
|
|
1813
|
+
function Nd({ duration: e = J.duration, bounce: t = J.bounce, velocity: n = J.velocity, mass: r = J.mass }) {
|
|
1814
1814
|
let i, s;
|
|
1815
|
-
_t(e <= /* @__PURE__ */
|
|
1815
|
+
_t(e <= /* @__PURE__ */ Le(J.maxDuration), "Spring duration must be 10 seconds or less", "spring-duration-limit");
|
|
1816
1816
|
let o = 1 - t;
|
|
1817
1817
|
o = Ke(J.minDamping, J.maxDamping, o), e = Ke(J.minDuration, J.maxDuration, /* @__PURE__ */ Ae(e)), o < 1 ? (i = (u) => {
|
|
1818
|
-
const d = u * o, l = d * e, h = d - n, f =
|
|
1818
|
+
const d = u * o, l = d * e, h = d - n, f = Lr(u, o), m = Math.exp(-l);
|
|
1819
1819
|
return mr - h / f * m;
|
|
1820
1820
|
}, s = (u) => {
|
|
1821
|
-
const l = u * o * e, h = l * n + n, f = Math.pow(o, 2) * Math.pow(u, 2) * e, m = Math.exp(-l), y =
|
|
1821
|
+
const l = u * o * e, h = l * n + n, f = Math.pow(o, 2) * Math.pow(u, 2) * e, m = Math.exp(-l), y = Lr(Math.pow(u, 2), o);
|
|
1822
1822
|
return (-i(u) + mr > 0 ? -1 : 1) * ((h - f) * m) / y;
|
|
1823
1823
|
}) : (i = (u) => {
|
|
1824
1824
|
const d = Math.exp(-u * e), l = (u - n) * e + 1;
|
|
@@ -1828,7 +1828,7 @@ function Ld({ duration: e = J.duration, bounce: t = J.bounce, velocity: n = J.ve
|
|
|
1828
1828
|
return d * l;
|
|
1829
1829
|
});
|
|
1830
1830
|
const a = 5 / e, c = Bd(i, s, a);
|
|
1831
|
-
if (e = /* @__PURE__ */
|
|
1831
|
+
if (e = /* @__PURE__ */ Le(e), isNaN(c))
|
|
1832
1832
|
return {
|
|
1833
1833
|
stiffness: J.stiffness,
|
|
1834
1834
|
damping: J.damping,
|
|
@@ -1843,14 +1843,14 @@ function Ld({ duration: e = J.duration, bounce: t = J.bounce, velocity: n = J.ve
|
|
|
1843
1843
|
};
|
|
1844
1844
|
}
|
|
1845
1845
|
}
|
|
1846
|
-
const
|
|
1846
|
+
const Ld = 12;
|
|
1847
1847
|
function Bd(e, t, n) {
|
|
1848
1848
|
let r = n;
|
|
1849
|
-
for (let i = 1; i <
|
|
1849
|
+
for (let i = 1; i < Ld; i++)
|
|
1850
1850
|
r = r - e(r) / t(r);
|
|
1851
1851
|
return r;
|
|
1852
1852
|
}
|
|
1853
|
-
function
|
|
1853
|
+
function Lr(e, t) {
|
|
1854
1854
|
return e * Math.sqrt(1 - t * t);
|
|
1855
1855
|
}
|
|
1856
1856
|
const Od = ["duration", "bounce"], jd = ["stiffness", "damping", "mass"];
|
|
@@ -1876,7 +1876,7 @@ function Fd(e) {
|
|
|
1876
1876
|
damping: s
|
|
1877
1877
|
};
|
|
1878
1878
|
} else {
|
|
1879
|
-
const n =
|
|
1879
|
+
const n = Nd(e);
|
|
1880
1880
|
t = {
|
|
1881
1881
|
...t,
|
|
1882
1882
|
...n,
|
|
@@ -1899,7 +1899,7 @@ function zn(e = J.visualDuration, t = J.bounce) {
|
|
|
1899
1899
|
r || (r = w ? J.restSpeed.granular : J.restSpeed.default), i || (i = w ? J.restDelta.granular : J.restDelta.default);
|
|
1900
1900
|
let x;
|
|
1901
1901
|
if (y < 1) {
|
|
1902
|
-
const C =
|
|
1902
|
+
const C = Lr(g, y);
|
|
1903
1903
|
x = (S) => {
|
|
1904
1904
|
const k = Math.exp(-y * g * S);
|
|
1905
1905
|
return o - k * ((m + y * g * b) / C * Math.sin(C * S) + b * Math.cos(C * S));
|
|
@@ -1921,7 +1921,7 @@ function zn(e = J.visualDuration, t = J.bounce) {
|
|
|
1921
1921
|
a.done = C >= l;
|
|
1922
1922
|
else {
|
|
1923
1923
|
let k = C === 0 ? m : 0;
|
|
1924
|
-
y < 1 && (k = C === 0 ? /* @__PURE__ */
|
|
1924
|
+
y < 1 && (k = C === 0 ? /* @__PURE__ */ Le(m) : Xa(x, C, S));
|
|
1925
1925
|
const A = Math.abs(k) <= r, V = Math.abs(o - S) <= i;
|
|
1926
1926
|
a.done = A && V;
|
|
1927
1927
|
}
|
|
@@ -1938,7 +1938,7 @@ function zn(e = J.visualDuration, t = J.bounce) {
|
|
|
1938
1938
|
}
|
|
1939
1939
|
zn.applyToOptions = (e) => {
|
|
1940
1940
|
const t = Rd(e, 100, zn);
|
|
1941
|
-
return e.ease = t.ease, e.duration = /* @__PURE__ */
|
|
1941
|
+
return e.ease = t.ease, e.duration = /* @__PURE__ */ Le(t.duration), e.type = "keyframes", e;
|
|
1942
1942
|
};
|
|
1943
1943
|
function Br({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: s = 500, modifyTarget: o, min: a, max: c, restDelta: u = 0.5, restSpeed: d }) {
|
|
1944
1944
|
const l = e[0], h = {
|
|
@@ -2145,7 +2145,7 @@ class Ei extends Pi {
|
|
|
2145
2145
|
return /* @__PURE__ */ Ae(this.currentTime);
|
|
2146
2146
|
}
|
|
2147
2147
|
set time(t) {
|
|
2148
|
-
t = /* @__PURE__ */
|
|
2148
|
+
t = /* @__PURE__ */ Le(t), this.currentTime = t, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = t : this.driver && (this.startTime = this.driver.now() - t / this.playbackSpeed), this.driver?.start(!1);
|
|
2149
2149
|
}
|
|
2150
2150
|
get speed() {
|
|
2151
2151
|
return this.playbackSpeed;
|
|
@@ -2270,7 +2270,7 @@ const Ut = [
|
|
|
2270
2270
|
"skew",
|
|
2271
2271
|
"skewX",
|
|
2272
2272
|
"skewY"
|
|
2273
|
-
], Wt = new Set(Ut),
|
|
2273
|
+
], Wt = new Set(Ut), No = (e) => e === Ht || e === $, th = /* @__PURE__ */ new Set(["x", "y", "z"]), nh = Ut.filter((e) => !th.has(e));
|
|
2274
2274
|
function rh(e) {
|
|
2275
2275
|
const t = [];
|
|
2276
2276
|
return nh.forEach((n) => {
|
|
@@ -2375,7 +2375,7 @@ const Qa = /* @__PURE__ */ ch(() => {
|
|
|
2375
2375
|
return !1;
|
|
2376
2376
|
}
|
|
2377
2377
|
return !0;
|
|
2378
|
-
}, "linearEasing"), qt = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`,
|
|
2378
|
+
}, "linearEasing"), qt = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, Lo = {
|
|
2379
2379
|
linear: "linear",
|
|
2380
2380
|
ease: "ease",
|
|
2381
2381
|
easeIn: "ease-in",
|
|
@@ -2388,7 +2388,7 @@ const Qa = /* @__PURE__ */ ch(() => {
|
|
|
2388
2388
|
};
|
|
2389
2389
|
function el(e, t) {
|
|
2390
2390
|
if (e)
|
|
2391
|
-
return typeof e == "function" ? Qa() ? Ga(e, t) : "ease-out" : Oa(e) ? qt(e) : Array.isArray(e) ? e.map((n) => el(n, t) ||
|
|
2391
|
+
return typeof e == "function" ? Qa() ? Ga(e, t) : "ease-out" : Oa(e) ? qt(e) : Array.isArray(e) ? e.map((n) => el(n, t) || Lo.easeOut) : Lo[e];
|
|
2392
2392
|
}
|
|
2393
2393
|
function uh(e, t, n, { delay: r = 0, duration: i = 300, repeat: s = 0, repeatType: o = "loop", ease: a = "easeOut", times: c } = {}, u = void 0) {
|
|
2394
2394
|
const d = {
|
|
@@ -2477,7 +2477,7 @@ class hh extends Pi {
|
|
|
2477
2477
|
return /* @__PURE__ */ Ae(Number(this.animation.currentTime) || 0);
|
|
2478
2478
|
}
|
|
2479
2479
|
set time(t) {
|
|
2480
|
-
this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */
|
|
2480
|
+
this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ Le(t);
|
|
2481
2481
|
}
|
|
2482
2482
|
/**
|
|
2483
2483
|
* The playback speed of the animation.
|
|
@@ -2508,7 +2508,7 @@ class hh extends Pi {
|
|
|
2508
2508
|
const nl = {
|
|
2509
2509
|
anticipate: Ia,
|
|
2510
2510
|
backInOut: Ra,
|
|
2511
|
-
circInOut:
|
|
2511
|
+
circInOut: La
|
|
2512
2512
|
};
|
|
2513
2513
|
function fh(e) {
|
|
2514
2514
|
return e in nl;
|
|
@@ -2540,7 +2540,7 @@ class ph extends hh {
|
|
|
2540
2540
|
const a = new Ei({
|
|
2541
2541
|
...o,
|
|
2542
2542
|
autoplay: !1
|
|
2543
|
-
}), c = /* @__PURE__ */
|
|
2543
|
+
}), c = /* @__PURE__ */ Le(this.finishedTime ?? this.time);
|
|
2544
2544
|
n.setWithVelocity(a.sample(c - Bo).value, a.sample(c).value, Bo), a.stop();
|
|
2545
2545
|
}
|
|
2546
2546
|
}
|
|
@@ -2833,7 +2833,7 @@ function Ih(e, t, n) {
|
|
|
2833
2833
|
for (const s of t)
|
|
2834
2834
|
e[s] = ll(n, i);
|
|
2835
2835
|
}
|
|
2836
|
-
class
|
|
2836
|
+
class Nh extends Ai {
|
|
2837
2837
|
constructor(t, n, r, i, s) {
|
|
2838
2838
|
super(t, n, r, i, s, !0);
|
|
2839
2839
|
}
|
|
@@ -2853,7 +2853,7 @@ class Lh extends Ai {
|
|
|
2853
2853
|
return;
|
|
2854
2854
|
const [i, s] = t, o = jo(i), a = jo(s);
|
|
2855
2855
|
if (o !== a)
|
|
2856
|
-
if (
|
|
2856
|
+
if (No(o) && No(a))
|
|
2857
2857
|
for (let c = 0; c < t.length; c++) {
|
|
2858
2858
|
const u = t[c];
|
|
2859
2859
|
typeof u == "string" && (t[c] = parseFloat(u));
|
|
@@ -2886,7 +2886,7 @@ class Lh extends Ai {
|
|
|
2886
2886
|
}), this.resolveNoneKeyframes();
|
|
2887
2887
|
}
|
|
2888
2888
|
}
|
|
2889
|
-
function
|
|
2889
|
+
function Lh(e, t, n) {
|
|
2890
2890
|
if (e instanceof EventTarget)
|
|
2891
2891
|
return [e];
|
|
2892
2892
|
if (typeof e == "string") {
|
|
@@ -3118,7 +3118,7 @@ function jh(e) {
|
|
|
3118
3118
|
});
|
|
3119
3119
|
}
|
|
3120
3120
|
function hl(e, t) {
|
|
3121
|
-
const n =
|
|
3121
|
+
const n = Lh(e), r = new AbortController(), i = {
|
|
3122
3122
|
passive: !0,
|
|
3123
3123
|
...t,
|
|
3124
3124
|
signal: r.signal
|
|
@@ -3456,9 +3456,9 @@ const Ii = [
|
|
|
3456
3456
|
"whileTap",
|
|
3457
3457
|
"whileDrag",
|
|
3458
3458
|
"exit"
|
|
3459
|
-
],
|
|
3459
|
+
], Ni = ["initial", ...Ii];
|
|
3460
3460
|
function tr(e) {
|
|
3461
|
-
return er(e.animate) ||
|
|
3461
|
+
return er(e.animate) || Ni.some((t) => an(e[t]));
|
|
3462
3462
|
}
|
|
3463
3463
|
function vl(e) {
|
|
3464
3464
|
return !!(tr(e) || e.variants);
|
|
@@ -3513,7 +3513,7 @@ function uf(e, t, n) {
|
|
|
3513
3513
|
}
|
|
3514
3514
|
return r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;
|
|
3515
3515
|
}
|
|
3516
|
-
function
|
|
3516
|
+
function Li(e, t, n) {
|
|
3517
3517
|
const { style: r, vars: i, transformOrigin: s } = e;
|
|
3518
3518
|
let o = !1, a = !1;
|
|
3519
3519
|
for (const c in t) {
|
|
@@ -3547,7 +3547,7 @@ function xl(e, t, n) {
|
|
|
3547
3547
|
function df({ transformTemplate: e }, t) {
|
|
3548
3548
|
return Fe(() => {
|
|
3549
3549
|
const n = Bi();
|
|
3550
|
-
return
|
|
3550
|
+
return Li(n, t, e), Object.assign({}, n.vars, n.style);
|
|
3551
3551
|
}, [t]);
|
|
3552
3552
|
}
|
|
3553
3553
|
function hf(e, t) {
|
|
@@ -3582,7 +3582,7 @@ function wl(e, {
|
|
|
3582
3582
|
// This is object creation, which we try to avoid per-frame.
|
|
3583
3583
|
...a
|
|
3584
3584
|
}, c, u, d) {
|
|
3585
|
-
if (
|
|
3585
|
+
if (Li(e, a, u), c) {
|
|
3586
3586
|
e.style.viewBox && (e.attrs.viewBox = e.style.viewBox);
|
|
3587
3587
|
return;
|
|
3588
3588
|
}
|
|
@@ -3916,7 +3916,7 @@ function Ml(e, { x: t, y: n }) {
|
|
|
3916
3916
|
Gr(e.x, t.translate, t.scale, t.originPoint), Gr(e.y, n.translate, n.scale, n.originPoint);
|
|
3917
3917
|
}
|
|
3918
3918
|
const Jo = 0.999999999999, Qo = 1.0000000000001;
|
|
3919
|
-
function
|
|
3919
|
+
function Nf(e, t, n, r = !1) {
|
|
3920
3920
|
const i = n.length;
|
|
3921
3921
|
if (!i)
|
|
3922
3922
|
return;
|
|
@@ -3945,7 +3945,7 @@ function At(e, t) {
|
|
|
3945
3945
|
function Vl(e, t) {
|
|
3946
3946
|
return Dl(If(e.getBoundingClientRect(), t));
|
|
3947
3947
|
}
|
|
3948
|
-
function
|
|
3948
|
+
function Lf(e, t, n) {
|
|
3949
3949
|
const r = Vl(e, n), { scroll: i } = t;
|
|
3950
3950
|
return i && (Et(r.x, i.offset.x), Et(r.y, i.offset.y)), r;
|
|
3951
3951
|
}
|
|
@@ -4203,7 +4203,7 @@ class Ff {
|
|
|
4203
4203
|
}
|
|
4204
4204
|
class Il extends Ff {
|
|
4205
4205
|
constructor() {
|
|
4206
|
-
super(...arguments), this.KeyframeResolver =
|
|
4206
|
+
super(...arguments), this.KeyframeResolver = Nh;
|
|
4207
4207
|
}
|
|
4208
4208
|
sortInstanceNodePosition(t, n) {
|
|
4209
4209
|
return t.compareDocumentPosition(n) & 2 ? 1 : -1;
|
|
@@ -4222,7 +4222,7 @@ class Il extends Ff {
|
|
|
4222
4222
|
}));
|
|
4223
4223
|
}
|
|
4224
4224
|
}
|
|
4225
|
-
function
|
|
4225
|
+
function Nl(e, { style: t, vars: n }, r, i) {
|
|
4226
4226
|
const s = e.style;
|
|
4227
4227
|
let o;
|
|
4228
4228
|
for (o in t)
|
|
@@ -4236,7 +4236,7 @@ function zf(e) {
|
|
|
4236
4236
|
}
|
|
4237
4237
|
class _f extends Il {
|
|
4238
4238
|
constructor() {
|
|
4239
|
-
super(...arguments), this.type = "html", this.renderInstance =
|
|
4239
|
+
super(...arguments), this.type = "html", this.renderInstance = Nl;
|
|
4240
4240
|
}
|
|
4241
4241
|
readValueFromInstance(t, n) {
|
|
4242
4242
|
if (Wt.has(n))
|
|
@@ -4250,13 +4250,13 @@ class _f extends Il {
|
|
|
4250
4250
|
return Vl(t, n);
|
|
4251
4251
|
}
|
|
4252
4252
|
build(t, n, r) {
|
|
4253
|
-
|
|
4253
|
+
Li(t, n, r.transformTemplate);
|
|
4254
4254
|
}
|
|
4255
4255
|
scrapeMotionValuesFromProps(t, n, r) {
|
|
4256
4256
|
return Fi(t, n, r);
|
|
4257
4257
|
}
|
|
4258
4258
|
}
|
|
4259
|
-
const
|
|
4259
|
+
const Ll = /* @__PURE__ */ new Set([
|
|
4260
4260
|
"baseFrequency",
|
|
4261
4261
|
"diffuseConstant",
|
|
4262
4262
|
"kernelMatrix",
|
|
@@ -4282,9 +4282,9 @@ const Nl = /* @__PURE__ */ new Set([
|
|
|
4282
4282
|
"lengthAdjust"
|
|
4283
4283
|
]);
|
|
4284
4284
|
function Hf(e, t, n, r) {
|
|
4285
|
-
|
|
4285
|
+
Nl(e, t, void 0, r);
|
|
4286
4286
|
for (const i in t.attrs)
|
|
4287
|
-
e.setAttribute(
|
|
4287
|
+
e.setAttribute(Ll.has(i) ? i : zi(i), t.attrs[i]);
|
|
4288
4288
|
}
|
|
4289
4289
|
class Uf extends Il {
|
|
4290
4290
|
constructor() {
|
|
@@ -4298,7 +4298,7 @@ class Uf extends Il {
|
|
|
4298
4298
|
const r = al(n);
|
|
4299
4299
|
return r && r.default || 0;
|
|
4300
4300
|
}
|
|
4301
|
-
return n =
|
|
4301
|
+
return n = Ll.has(n) ? n : zi(n), t.getAttribute(n);
|
|
4302
4302
|
}
|
|
4303
4303
|
scrapeMotionValuesFromProps(t, n, r) {
|
|
4304
4304
|
return kl(t, n, r);
|
|
@@ -4380,7 +4380,7 @@ function rm({ when: e, delay: t, delayChildren: n, staggerChildren: r, staggerDi
|
|
|
4380
4380
|
const _i = (e, t, n, r = {}, i, s) => (o) => {
|
|
4381
4381
|
const a = Di(r, e) || {}, c = a.delay || r.delay || 0;
|
|
4382
4382
|
let { elapsed: u = 0 } = r;
|
|
4383
|
-
u = u - /* @__PURE__ */
|
|
4383
|
+
u = u - /* @__PURE__ */ Le(c);
|
|
4384
4384
|
const d = {
|
|
4385
4385
|
keyframes: Array.isArray(n) ? n : [null, n],
|
|
4386
4386
|
ease: "easeOut",
|
|
@@ -4397,7 +4397,7 @@ const _i = (e, t, n, r = {}, i, s) => (o) => {
|
|
|
4397
4397
|
motionValue: t,
|
|
4398
4398
|
element: s ? void 0 : i
|
|
4399
4399
|
};
|
|
4400
|
-
rm(a) || Object.assign(d, nm(e, d)), d.duration && (d.duration = /* @__PURE__ */
|
|
4400
|
+
rm(a) || Object.assign(d, nm(e, d)), d.duration && (d.duration = /* @__PURE__ */ Le(d.duration)), d.repeatDelay && (d.repeatDelay = /* @__PURE__ */ Le(d.repeatDelay)), d.from !== void 0 && (d.keyframes[0] = d.from);
|
|
4401
4401
|
let l = !1;
|
|
4402
4402
|
if ((d.type === !1 || d.duration === 0 && !d.repeatDelay) && (Wr(d), d.delay === 0 && (l = !0)), (Ge.instantAnimations || Ge.skipAnimations) && (l = !0, Wr(d), d.delay = 0), d.allowFlatten = !a.type && !a.ease, l && !s && t.get() !== void 0) {
|
|
4403
4403
|
const h = qf(d.keyframes, a);
|
|
@@ -4500,7 +4500,7 @@ function Fl(e, t) {
|
|
|
4500
4500
|
return !1;
|
|
4501
4501
|
return !0;
|
|
4502
4502
|
}
|
|
4503
|
-
const am =
|
|
4503
|
+
const am = Ni.length;
|
|
4504
4504
|
function zl(e) {
|
|
4505
4505
|
if (!e)
|
|
4506
4506
|
return;
|
|
@@ -4510,7 +4510,7 @@ function zl(e) {
|
|
|
4510
4510
|
}
|
|
4511
4511
|
const t = {};
|
|
4512
4512
|
for (let n = 0; n < am; n++) {
|
|
4513
|
-
const r =
|
|
4513
|
+
const r = Ni[n], i = e.props[r];
|
|
4514
4514
|
(an(i) || i === !1) && (t[r] = i);
|
|
4515
4515
|
}
|
|
4516
4516
|
return t;
|
|
@@ -4812,7 +4812,7 @@ function Pm(e, t) {
|
|
|
4812
4812
|
return { x: 0, y: 0 };
|
|
4813
4813
|
let n = e.length - 1, r = null;
|
|
4814
4814
|
const i = Kl(e);
|
|
4815
|
-
for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */
|
|
4815
|
+
for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ Le(t))); )
|
|
4816
4816
|
n--;
|
|
4817
4817
|
if (!r)
|
|
4818
4818
|
return { x: 0, y: 0 };
|
|
@@ -4911,7 +4911,7 @@ class Im {
|
|
|
4911
4911
|
return;
|
|
4912
4912
|
const { offset: g } = h;
|
|
4913
4913
|
if (m && this.currentDirection === null) {
|
|
4914
|
-
this.currentDirection =
|
|
4914
|
+
this.currentDirection = Nm(g), this.currentDirection !== null && y && y(this.currentDirection);
|
|
4915
4915
|
return;
|
|
4916
4916
|
}
|
|
4917
4917
|
this.updateAxis("x", h.point, g), this.updateAxis("y", h.point, g), this.visualElement.render(), b && b(l, h);
|
|
@@ -4976,7 +4976,7 @@ class Im {
|
|
|
4976
4976
|
const { projection: i } = this.visualElement;
|
|
4977
4977
|
if (!i || !i.layout)
|
|
4978
4978
|
return !1;
|
|
4979
|
-
const s =
|
|
4979
|
+
const s = Lf(r, i.root, this.visualElement.getTransformPagePoint());
|
|
4980
4980
|
let o = Dm(i.layout.layoutBox, s);
|
|
4981
4981
|
if (n) {
|
|
4982
4982
|
const a = n(Rf(o));
|
|
@@ -5106,11 +5106,11 @@ class Im {
|
|
|
5106
5106
|
function kn(e, t, n) {
|
|
5107
5107
|
return (t === !0 || t === e) && (n === null || n === e);
|
|
5108
5108
|
}
|
|
5109
|
-
function
|
|
5109
|
+
function Nm(e, t = 10) {
|
|
5110
5110
|
let n = null;
|
|
5111
5111
|
return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;
|
|
5112
5112
|
}
|
|
5113
|
-
class
|
|
5113
|
+
class Lm extends rt {
|
|
5114
5114
|
constructor(t) {
|
|
5115
5115
|
super(t), this.removeGroupControls = De, this.removeListeners = De, this.controls = new Im(t);
|
|
5116
5116
|
}
|
|
@@ -5156,7 +5156,7 @@ class Bm extends rt {
|
|
|
5156
5156
|
this.removePointerDownListener(), this.session && this.session.end();
|
|
5157
5157
|
}
|
|
5158
5158
|
}
|
|
5159
|
-
const
|
|
5159
|
+
const Nn = {
|
|
5160
5160
|
/**
|
|
5161
5161
|
* Global flag as to whether the tree has animated since the last time
|
|
5162
5162
|
* we resized the window
|
|
@@ -5208,7 +5208,7 @@ class jm extends Fc {
|
|
|
5208
5208
|
}), s.setOptions({
|
|
5209
5209
|
...s.options,
|
|
5210
5210
|
onExitComplete: () => this.safeToRemove()
|
|
5211
|
-
})),
|
|
5211
|
+
})), Nn.hasEverUpdated = !0;
|
|
5212
5212
|
}
|
|
5213
5213
|
getSnapshotBeforeUpdate(t) {
|
|
5214
5214
|
const { layoutDependency: n, visualElement: r, drag: i, isPresent: s } = this.props, { projection: o } = r;
|
|
@@ -5296,7 +5296,7 @@ function Km(e, t, n, r, i, s) {
|
|
|
5296
5296
|
function vs(e, t) {
|
|
5297
5297
|
return e[t] !== void 0 ? e[t] : e.borderRadius;
|
|
5298
5298
|
}
|
|
5299
|
-
const Ym = /* @__PURE__ */ Xl(0, 0.5,
|
|
5299
|
+
const Ym = /* @__PURE__ */ Xl(0, 0.5, Na), Gm = /* @__PURE__ */ Xl(0.5, 0.95, De);
|
|
5300
5300
|
function Xl(e, t, n) {
|
|
5301
5301
|
return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ rn(e, t, r));
|
|
5302
5302
|
}
|
|
@@ -5470,7 +5470,7 @@ function Ql({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
5470
5470
|
l = window.innerWidth;
|
|
5471
5471
|
}), e(o, () => {
|
|
5472
5472
|
const f = window.innerWidth;
|
|
5473
|
-
f !== l && (l = f, this.root.updateBlockedByResize = !0, d && d(), d = Um(h, 250),
|
|
5473
|
+
f !== l && (l = f, this.root.updateBlockedByResize = !0, d && d(), d = Um(h, 250), Nn.hasAnimatedSinceResize && (Nn.hasAnimatedSinceResize = !1, this.nodes.forEach(Ms)));
|
|
5474
5474
|
});
|
|
5475
5475
|
}
|
|
5476
5476
|
a && this.root.registerSharedNode(a, this), this.options.animate !== !1 && u && (a || c) && this.addEventListener("didUpdate", ({ delta: d, hasLayoutChanged: l, hasRelativeLayoutChanged: h, layout: f }) => {
|
|
@@ -5708,7 +5708,7 @@ function Ql({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
5708
5708
|
return;
|
|
5709
5709
|
ke(this.layoutCorrected, this.layout.layoutBox);
|
|
5710
5710
|
const l = this.treeScale.x, h = this.treeScale.y;
|
|
5711
|
-
|
|
5711
|
+
Nf(this.layoutCorrected, this.treeScale, this.path, a), o.layout && !o.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (o.target = o.layout.layoutBox, o.targetWithTransforms = ee());
|
|
5712
5712
|
const { target: f } = o;
|
|
5713
5713
|
if (!f) {
|
|
5714
5714
|
this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
|
|
@@ -5745,7 +5745,7 @@ function Ql({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
5745
5745
|
}
|
|
5746
5746
|
startAnimation(o) {
|
|
5747
5747
|
this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation && (tt(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = q.update(() => {
|
|
5748
|
-
|
|
5748
|
+
Nn.hasAnimatedSinceResize = !0, this.motionValue || (this.motionValue = Ot(0)), this.currentAnimation = zm(this.motionValue, [0, 1e3], {
|
|
5749
5749
|
...o,
|
|
5750
5750
|
velocity: 0,
|
|
5751
5751
|
isSync: !0,
|
|
@@ -5973,12 +5973,12 @@ function mp(e) {
|
|
|
5973
5973
|
const pp = {
|
|
5974
5974
|
duration: 0.45,
|
|
5975
5975
|
ease: [0.4, 0, 0.1, 1]
|
|
5976
|
-
}, Is = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e),
|
|
5977
|
-
function
|
|
5978
|
-
e.min =
|
|
5976
|
+
}, Is = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Ns = Is("applewebkit/") && !Is("chrome/") ? Math.round : De;
|
|
5977
|
+
function Ls(e) {
|
|
5978
|
+
e.min = Ns(e.min), e.max = Ns(e.max);
|
|
5979
5979
|
}
|
|
5980
5980
|
function gp(e) {
|
|
5981
|
-
|
|
5981
|
+
Ls(e.x), Ls(e.y);
|
|
5982
5982
|
}
|
|
5983
5983
|
function ec(e, t, n) {
|
|
5984
5984
|
return e === "position" || e === "preserve-aspect" && !Sm(Es(t), Es(n), 0.2);
|
|
@@ -6016,7 +6016,7 @@ const vp = Ql({
|
|
|
6016
6016
|
Feature: Bm
|
|
6017
6017
|
},
|
|
6018
6018
|
drag: {
|
|
6019
|
-
Feature:
|
|
6019
|
+
Feature: Lm,
|
|
6020
6020
|
ProjectionNode: tc,
|
|
6021
6021
|
MeasureLayout: Yl
|
|
6022
6022
|
}
|
|
@@ -6189,13 +6189,13 @@ const $p = {
|
|
|
6189
6189
|
${({ $size: e = "md" }) => Rp[e]}
|
|
6190
6190
|
${({ $color: e = "primary" }) => nc[e]}
|
|
6191
6191
|
user-select: none;
|
|
6192
|
-
`,
|
|
6192
|
+
`, Np = T.div`
|
|
6193
6193
|
display: flex;
|
|
6194
6194
|
flex-direction: column;
|
|
6195
6195
|
align-items: center;
|
|
6196
6196
|
gap: 0.5rem;
|
|
6197
6197
|
padding: 2.5px 2.5px 2.5px 0px;
|
|
6198
|
-
`,
|
|
6198
|
+
`, Lp = T.div`
|
|
6199
6199
|
display: flex;
|
|
6200
6200
|
align-items: center;
|
|
6201
6201
|
justify-content: center;
|
|
@@ -6213,7 +6213,7 @@ const $p = {
|
|
|
6213
6213
|
title: i,
|
|
6214
6214
|
variant: s = "rotate"
|
|
6215
6215
|
}) => {
|
|
6216
|
-
const o = /* @__PURE__ */ M(
|
|
6216
|
+
const o = /* @__PURE__ */ M(Np, { children: [
|
|
6217
6217
|
/* @__PURE__ */ M(Ip, { $size: e, $color: t, $variant: s, children: [
|
|
6218
6218
|
/* @__PURE__ */ p(
|
|
6219
6219
|
Ze.svg,
|
|
@@ -6268,7 +6268,7 @@ const $p = {
|
|
|
6268
6268
|
}
|
|
6269
6269
|
)
|
|
6270
6270
|
] });
|
|
6271
|
-
return n ? /* @__PURE__ */ p(
|
|
6271
|
+
return n ? /* @__PURE__ */ p(Lp, { children: o }) : o;
|
|
6272
6272
|
}, Op = T.div`
|
|
6273
6273
|
position: fixed;
|
|
6274
6274
|
inset: 0;
|
|
@@ -6723,19 +6723,19 @@ function gg(e) {
|
|
|
6723
6723
|
}
|
|
6724
6724
|
const yg = (e) => {
|
|
6725
6725
|
var t, n, r, i, s, o, a, c, u;
|
|
6726
|
-
const { invert: d, toast: l, unstyled: h, interacting: f, setHeights: m, visibleToasts: y, heights: b, index: g, toasts: w, expanded: x, removeToast: E, defaultRichColors: C, closeButton: S, style: k, cancelButtonStyle: A, actionButtonStyle: V, className: z = "", descriptionClassName: D = "", duration: K, position: U, gap: Te, expandByDefault: te, classNames: O, icons: R, closeButtonAriaLabel: F = "Close toast" } = e, [I, j] = v.useState(null), [ne, re] = v.useState(null), [B, X] = v.useState(!1), [Y, se] = v.useState(!1), [Me, H] = v.useState(!1), [ye, qe] = v.useState(!1), [He, pe] = v.useState(!1), [kc, rr] = v.useState(0), [Pc, Gi] = v.useState(0), Gt = v.useRef(l.duration || K || Fs), Xi = v.useRef(null), Ue = v.useRef(null), Ec = g === 0, Ac = g + 1 <= y, we = l.type, xt = l.dismissible !== !1, Dc = l.className || "", $c = l.descriptionClassName || "", pn = v.useMemo(() => b.findIndex((
|
|
6726
|
+
const { invert: d, toast: l, unstyled: h, interacting: f, setHeights: m, visibleToasts: y, heights: b, index: g, toasts: w, expanded: x, removeToast: E, defaultRichColors: C, closeButton: S, style: k, cancelButtonStyle: A, actionButtonStyle: V, className: z = "", descriptionClassName: D = "", duration: K, position: U, gap: Te, expandByDefault: te, classNames: O, icons: R, closeButtonAriaLabel: F = "Close toast" } = e, [I, j] = v.useState(null), [ne, re] = v.useState(null), [B, X] = v.useState(!1), [Y, se] = v.useState(!1), [Me, H] = v.useState(!1), [ye, qe] = v.useState(!1), [He, pe] = v.useState(!1), [kc, rr] = v.useState(0), [Pc, Gi] = v.useState(0), Gt = v.useRef(l.duration || K || Fs), Xi = v.useRef(null), Ue = v.useRef(null), Ec = g === 0, Ac = g + 1 <= y, we = l.type, xt = l.dismissible !== !1, Dc = l.className || "", $c = l.descriptionClassName || "", pn = v.useMemo(() => b.findIndex((N) => N.toastId === l.id) || 0, [
|
|
6727
6727
|
b,
|
|
6728
6728
|
l.id
|
|
6729
6729
|
]), Mc = v.useMemo(() => {
|
|
6730
|
-
var
|
|
6731
|
-
return (
|
|
6730
|
+
var N;
|
|
6731
|
+
return (N = l.closeButton) != null ? N : S;
|
|
6732
6732
|
}, [
|
|
6733
6733
|
l.closeButton,
|
|
6734
6734
|
S
|
|
6735
6735
|
]), Zi = v.useMemo(() => l.duration || K || Fs, [
|
|
6736
6736
|
l.duration,
|
|
6737
6737
|
K
|
|
6738
|
-
]), ir = v.useRef(0), wt = v.useRef(0), qi = v.useRef(0), St = v.useRef(null), [Vc, Rc] = U.split("-"), Ji = v.useMemo(() => b.reduce((
|
|
6738
|
+
]), ir = v.useRef(0), wt = v.useRef(0), qi = v.useRef(0), St = v.useRef(null), [Vc, Rc] = U.split("-"), Ji = v.useMemo(() => b.reduce((N, ae, fe) => fe >= pn ? N : N + ae.height, 0), [
|
|
6739
6739
|
b,
|
|
6740
6740
|
pn
|
|
6741
6741
|
]), Qi = ng(), Ic = l.invert || d, or = we === "loading";
|
|
@@ -6749,9 +6749,9 @@ const yg = (e) => {
|
|
|
6749
6749
|
]), v.useEffect(() => {
|
|
6750
6750
|
X(!0);
|
|
6751
6751
|
}, []), v.useEffect(() => {
|
|
6752
|
-
const
|
|
6753
|
-
if (
|
|
6754
|
-
const ae =
|
|
6752
|
+
const N = Ue.current;
|
|
6753
|
+
if (N) {
|
|
6754
|
+
const ae = N.getBoundingClientRect().height;
|
|
6755
6755
|
return Gi(ae), m((fe) => [
|
|
6756
6756
|
{
|
|
6757
6757
|
toastId: l.id,
|
|
@@ -6766,10 +6766,10 @@ const yg = (e) => {
|
|
|
6766
6766
|
l.id
|
|
6767
6767
|
]), v.useLayoutEffect(() => {
|
|
6768
6768
|
if (!B) return;
|
|
6769
|
-
const
|
|
6770
|
-
|
|
6771
|
-
const fe =
|
|
6772
|
-
|
|
6769
|
+
const N = Ue.current, ae = N.style.height;
|
|
6770
|
+
N.style.height = "auto";
|
|
6771
|
+
const fe = N.getBoundingClientRect().height;
|
|
6772
|
+
N.style.height = ae, Gi(fe), m((Se) => Se.find((ue) => ue.toastId === l.id) ? Se.map((ue) => ue.toastId === l.id ? {
|
|
6773
6773
|
...ue,
|
|
6774
6774
|
height: fe
|
|
6775
6775
|
} : ue) : [
|
|
@@ -6791,7 +6791,7 @@ const yg = (e) => {
|
|
|
6791
6791
|
l.cancel
|
|
6792
6792
|
]);
|
|
6793
6793
|
const Je = v.useCallback(() => {
|
|
6794
|
-
se(!0), rr(wt.current), m((
|
|
6794
|
+
se(!0), rr(wt.current), m((N) => N.filter((ae) => ae.toastId !== l.id)), setTimeout(() => {
|
|
6795
6795
|
E(l);
|
|
6796
6796
|
}, pg);
|
|
6797
6797
|
}, [
|
|
@@ -6802,7 +6802,7 @@ const yg = (e) => {
|
|
|
6802
6802
|
]);
|
|
6803
6803
|
v.useEffect(() => {
|
|
6804
6804
|
if (l.promise && we === "loading" || l.duration === 1 / 0 || l.type === "loading") return;
|
|
6805
|
-
let
|
|
6805
|
+
let N;
|
|
6806
6806
|
return x || f || Qi ? (() => {
|
|
6807
6807
|
if (qi.current < ir.current) {
|
|
6808
6808
|
const Se = (/* @__PURE__ */ new Date()).getTime() - ir.current;
|
|
@@ -6810,10 +6810,10 @@ const yg = (e) => {
|
|
|
6810
6810
|
}
|
|
6811
6811
|
qi.current = (/* @__PURE__ */ new Date()).getTime();
|
|
6812
6812
|
})() : (() => {
|
|
6813
|
-
Gt.current !== 1 / 0 && (ir.current = (/* @__PURE__ */ new Date()).getTime(),
|
|
6813
|
+
Gt.current !== 1 / 0 && (ir.current = (/* @__PURE__ */ new Date()).getTime(), N = setTimeout(() => {
|
|
6814
6814
|
l.onAutoClose == null || l.onAutoClose.call(l, l), Je();
|
|
6815
6815
|
}, Gt.current));
|
|
6816
|
-
})(), () => clearTimeout(
|
|
6816
|
+
})(), () => clearTimeout(N);
|
|
6817
6817
|
}, [
|
|
6818
6818
|
x,
|
|
6819
6819
|
f,
|
|
@@ -6827,8 +6827,8 @@ const yg = (e) => {
|
|
|
6827
6827
|
Je,
|
|
6828
6828
|
l.delete
|
|
6829
6829
|
]);
|
|
6830
|
-
function
|
|
6831
|
-
var
|
|
6830
|
+
function Nc() {
|
|
6831
|
+
var N;
|
|
6832
6832
|
if (R?.loading) {
|
|
6833
6833
|
var ae;
|
|
6834
6834
|
return /* @__PURE__ */ v.createElement("div", {
|
|
@@ -6837,11 +6837,11 @@ const yg = (e) => {
|
|
|
6837
6837
|
}, R.loading);
|
|
6838
6838
|
}
|
|
6839
6839
|
return /* @__PURE__ */ v.createElement(Zp, {
|
|
6840
|
-
className: Be(O?.loader, l == null || (
|
|
6840
|
+
className: Be(O?.loader, l == null || (N = l.classNames) == null ? void 0 : N.loader),
|
|
6841
6841
|
visible: we === "loading"
|
|
6842
6842
|
});
|
|
6843
6843
|
}
|
|
6844
|
-
const
|
|
6844
|
+
const Lc = l.icon || R?.[we] || Gp(we);
|
|
6845
6845
|
var eo, to;
|
|
6846
6846
|
return /* @__PURE__ */ v.createElement("li", {
|
|
6847
6847
|
tabIndex: 0,
|
|
@@ -6879,17 +6879,17 @@ const yg = (e) => {
|
|
|
6879
6879
|
onDragEnd: () => {
|
|
6880
6880
|
H(!1), j(null), St.current = null;
|
|
6881
6881
|
},
|
|
6882
|
-
onPointerDown: (
|
|
6883
|
-
|
|
6884
|
-
x:
|
|
6885
|
-
y:
|
|
6882
|
+
onPointerDown: (N) => {
|
|
6883
|
+
N.button !== 2 && (or || !xt || (Xi.current = /* @__PURE__ */ new Date(), rr(wt.current), N.target.setPointerCapture(N.pointerId), N.target.tagName !== "BUTTON" && (H(!0), St.current = {
|
|
6884
|
+
x: N.clientX,
|
|
6885
|
+
y: N.clientY
|
|
6886
6886
|
})));
|
|
6887
6887
|
},
|
|
6888
6888
|
onPointerUp: () => {
|
|
6889
|
-
var
|
|
6889
|
+
var N, ae, fe;
|
|
6890
6890
|
if (ye || !xt) return;
|
|
6891
6891
|
St.current = null;
|
|
6892
|
-
const Se = Number(((
|
|
6892
|
+
const Se = Number(((N = Ue.current) == null ? void 0 : N.style.getPropertyValue("--swipe-amount-x").replace("px", "")) || 0), gn = Number(((ae = Ue.current) == null ? void 0 : ae.style.getPropertyValue("--swipe-amount-y").replace("px", "")) || 0), ue = (/* @__PURE__ */ new Date()).getTime() - ((fe = Xi.current) == null ? void 0 : fe.getTime()), Ce = I === "x" ? Se : gn, yn = Math.abs(Ce) / ue;
|
|
6893
6893
|
if (Math.abs(Ce) >= mg || yn > 0.11) {
|
|
6894
6894
|
rr(wt.current), l.onDismiss == null || l.onDismiss.call(l, l), re(I === "x" ? Se > 0 ? "right" : "left" : gn > 0 ? "down" : "up"), Je(), qe(!0);
|
|
6895
6895
|
return;
|
|
@@ -6899,10 +6899,10 @@ const yg = (e) => {
|
|
|
6899
6899
|
}
|
|
6900
6900
|
pe(!1), H(!1), j(null);
|
|
6901
6901
|
},
|
|
6902
|
-
onPointerMove: (
|
|
6902
|
+
onPointerMove: (N) => {
|
|
6903
6903
|
var ae, fe, Se;
|
|
6904
6904
|
if (!St.current || !xt || ((ae = window.getSelection()) == null ? void 0 : ae.toString().length) > 0) return;
|
|
6905
|
-
const ue =
|
|
6905
|
+
const ue = N.clientY - St.current.y, Ce = N.clientX - St.current.x;
|
|
6906
6906
|
var yn;
|
|
6907
6907
|
const Ve = (yn = e.swipeDirections) != null ? yn : gg(U);
|
|
6908
6908
|
!I && (Math.abs(Ce) > 1 || Math.abs(ue) > 1) && j(Math.abs(Ce) > Math.abs(ue) ? "x" : "y");
|
|
@@ -6940,7 +6940,7 @@ const yg = (e) => {
|
|
|
6940
6940
|
}, (to = R?.close) != null ? to : tg) : null, (we || l.icon || l.promise) && l.icon !== null && (R?.[we] !== null || l.icon) ? /* @__PURE__ */ v.createElement("div", {
|
|
6941
6941
|
"data-icon": "",
|
|
6942
6942
|
className: Be(O?.icon, l == null || (i = l.classNames) == null ? void 0 : i.icon)
|
|
6943
|
-
}, l.promise || l.type === "loading" && !l.icon ? l.icon ||
|
|
6943
|
+
}, l.promise || l.type === "loading" && !l.icon ? l.icon || Nc() : null, l.type !== "loading" ? Lc : null) : null, /* @__PURE__ */ v.createElement("div", {
|
|
6944
6944
|
"data-content": "",
|
|
6945
6945
|
className: Be(O?.content, l == null || (s = l.classNames) == null ? void 0 : s.content)
|
|
6946
6946
|
}, /* @__PURE__ */ v.createElement("div", {
|
|
@@ -6953,16 +6953,16 @@ const yg = (e) => {
|
|
|
6953
6953
|
"data-button": !0,
|
|
6954
6954
|
"data-cancel": !0,
|
|
6955
6955
|
style: l.cancelButtonStyle || A,
|
|
6956
|
-
onClick: (
|
|
6957
|
-
Pn(l.cancel) && xt && (l.cancel.onClick == null || l.cancel.onClick.call(l.cancel,
|
|
6956
|
+
onClick: (N) => {
|
|
6957
|
+
Pn(l.cancel) && xt && (l.cancel.onClick == null || l.cancel.onClick.call(l.cancel, N), Je());
|
|
6958
6958
|
},
|
|
6959
6959
|
className: Be(O?.cancelButton, l == null || (c = l.classNames) == null ? void 0 : c.cancelButton)
|
|
6960
6960
|
}, l.cancel.label) : null, /* @__PURE__ */ v.isValidElement(l.action) ? l.action : l.action && Pn(l.action) ? /* @__PURE__ */ v.createElement("button", {
|
|
6961
6961
|
"data-button": !0,
|
|
6962
6962
|
"data-action": !0,
|
|
6963
6963
|
style: l.actionButtonStyle || V,
|
|
6964
|
-
onClick: (
|
|
6965
|
-
Pn(l.action) && (l.action.onClick == null || l.action.onClick.call(l.action,
|
|
6964
|
+
onClick: (N) => {
|
|
6965
|
+
Pn(l.action) && (l.action.onClick == null || l.action.onClick.call(l.action, N), !N.defaultPrevented && Je());
|
|
6966
6966
|
},
|
|
6967
6967
|
className: Be(O?.actionButton, l == null || (u = l.classNames) == null ? void 0 : u.actionButton)
|
|
6968
6968
|
}, l.action.label) : null);
|
|
@@ -7623,7 +7623,7 @@ const bg = /* @__PURE__ */ v.forwardRef(function(t, n) {
|
|
|
7623
7623
|
border: var(--border-input-disabled) !important;
|
|
7624
7624
|
cursor: not-allowed;
|
|
7625
7625
|
opacity: 0.6;
|
|
7626
|
-
`,
|
|
7626
|
+
`, Ng = P`
|
|
7627
7627
|
border: none;
|
|
7628
7628
|
border-top: 0;
|
|
7629
7629
|
border-right: 0;
|
|
@@ -7671,12 +7671,12 @@ const bg = /* @__PURE__ */ v.forwardRef(function(t, n) {
|
|
|
7671
7671
|
justify-content: center;
|
|
7672
7672
|
flex-shrink: 0;
|
|
7673
7673
|
user-select: none;
|
|
7674
|
-
`,
|
|
7674
|
+
`, Lg = T.div`
|
|
7675
7675
|
${Kt}
|
|
7676
7676
|
${({ $size: e }) => nr[e]}
|
|
7677
7677
|
${({ $hasError: e }) => e && Yt}
|
|
7678
7678
|
${({ $disabled: e }) => e && bt}
|
|
7679
|
-
${({ $isFlushed: e }) => e &&
|
|
7679
|
+
${({ $isFlushed: e }) => e && Ng}
|
|
7680
7680
|
`, Bg = T.input`
|
|
7681
7681
|
${Wi}
|
|
7682
7682
|
`, rc = _e(
|
|
@@ -7693,7 +7693,7 @@ const bg = /* @__PURE__ */ v.forwardRef(function(t, n) {
|
|
|
7693
7693
|
className: u,
|
|
7694
7694
|
...d
|
|
7695
7695
|
}, l) => /* @__PURE__ */ M(
|
|
7696
|
-
|
|
7696
|
+
Lg,
|
|
7697
7697
|
{
|
|
7698
7698
|
$size: e,
|
|
7699
7699
|
$hasError: t,
|
|
@@ -8532,7 +8532,7 @@ const D0 = (e, t, n, r, i, s, o = "text", a, c) => {
|
|
|
8532
8532
|
cc.displayName = "PinInputGroup";
|
|
8533
8533
|
const I0 = T.div`
|
|
8534
8534
|
position: relative;
|
|
8535
|
-
`,
|
|
8535
|
+
`, N0 = T.input`
|
|
8536
8536
|
position: absolute;
|
|
8537
8537
|
height: 1.5rem;
|
|
8538
8538
|
width: 1.5rem;
|
|
@@ -8550,7 +8550,7 @@ const I0 = T.div`
|
|
|
8550
8550
|
outline-color: var(--color-main-orange-primary);
|
|
8551
8551
|
outline-offset: 2px;
|
|
8552
8552
|
}
|
|
8553
|
-
`,
|
|
8553
|
+
`, L0 = P`
|
|
8554
8554
|
border-color: var(--color-main-orange-primary);
|
|
8555
8555
|
`, B0 = T.div`
|
|
8556
8556
|
height: 1.5rem;
|
|
@@ -8573,7 +8573,7 @@ const I0 = T.div`
|
|
|
8573
8573
|
${bt}
|
|
8574
8574
|
border: 2px solid var(--color-dark-200) !important;
|
|
8575
8575
|
`}
|
|
8576
|
-
${({ $checked: e }) => e &&
|
|
8576
|
+
${({ $checked: e }) => e && L0}
|
|
8577
8577
|
`, O0 = T.span`
|
|
8578
8578
|
display: block;
|
|
8579
8579
|
height: 0.625rem;
|
|
@@ -8596,7 +8596,7 @@ const I0 = T.div`
|
|
|
8596
8596
|
const c = Xe(), u = o.id ?? c, d = !!t, { size: l, ...h } = o;
|
|
8597
8597
|
return /* @__PURE__ */ M(I0, { className: i, children: [
|
|
8598
8598
|
/* @__PURE__ */ p(
|
|
8599
|
-
|
|
8599
|
+
N0,
|
|
8600
8600
|
{
|
|
8601
8601
|
ref: a,
|
|
8602
8602
|
type: "radio",
|
|
@@ -9448,7 +9448,7 @@ const Ws = T.div`
|
|
|
9448
9448
|
const l = u.length > 0, h = e.href || e.path || "", f = !!(h && r && r.startsWith(h)), m = () => {
|
|
9449
9449
|
o((w) => !w);
|
|
9450
9450
|
}, y = () => {
|
|
9451
|
-
e.href && i?.(e.href)
|
|
9451
|
+
e.href && i?.(e.href);
|
|
9452
9452
|
}, b = async () => {
|
|
9453
9453
|
if (e.path)
|
|
9454
9454
|
try {
|
|
@@ -9490,6 +9490,7 @@ const Ws = T.div`
|
|
|
9490
9490
|
e.href && !e.path && !l ? /* @__PURE__ */ p(
|
|
9491
9491
|
ty,
|
|
9492
9492
|
{
|
|
9493
|
+
type: "button",
|
|
9493
9494
|
onClick: y,
|
|
9494
9495
|
$level: n,
|
|
9495
9496
|
$collapsed: a,
|
|
@@ -9502,6 +9503,7 @@ const Ws = T.div`
|
|
|
9502
9503
|
/* @__PURE__ */ p(
|
|
9503
9504
|
ny,
|
|
9504
9505
|
{
|
|
9506
|
+
type: "button",
|
|
9505
9507
|
onClick: l ? m : e.path ? b : y,
|
|
9506
9508
|
$level: n,
|
|
9507
9509
|
$collapsed: a,
|
|
@@ -9618,7 +9620,9 @@ const Ws = T.div`
|
|
|
9618
9620
|
onNavigate: s = () => {
|
|
9619
9621
|
}
|
|
9620
9622
|
}) => {
|
|
9621
|
-
const { isCollapsed: o, setIsCollapsed: a, isMobileOpen: c, setIsMobileOpen: u } = pc()
|
|
9623
|
+
const { isCollapsed: o, setIsCollapsed: a, isMobileOpen: c, setIsMobileOpen: u } = pc(), d = (l) => {
|
|
9624
|
+
s(l), typeof window < "u" && window.innerWidth < 768 && u(!1);
|
|
9625
|
+
};
|
|
9622
9626
|
return /* @__PURE__ */ M(ni, { children: [
|
|
9623
9627
|
/* @__PURE__ */ p(fn, { children: c && /* @__PURE__ */ p(cy, { ...fc, onClick: () => u(!1) }) }),
|
|
9624
9628
|
/* @__PURE__ */ M(uy, { $collapsed: c ? !1 : o, $open: c, children: [
|
|
@@ -9640,15 +9644,15 @@ const Ws = T.div`
|
|
|
9640
9644
|
}
|
|
9641
9645
|
)
|
|
9642
9646
|
] }),
|
|
9643
|
-
/* @__PURE__ */ p(fy, { children: e.map((
|
|
9647
|
+
/* @__PURE__ */ p(fy, { children: e.map((l) => /* @__PURE__ */ p(
|
|
9644
9648
|
yc,
|
|
9645
9649
|
{
|
|
9646
|
-
item:
|
|
9650
|
+
item: l,
|
|
9647
9651
|
userRoles: t,
|
|
9648
|
-
onNavigate:
|
|
9652
|
+
onNavigate: d,
|
|
9649
9653
|
activePath: n
|
|
9650
9654
|
},
|
|
9651
|
-
|
|
9655
|
+
l.id
|
|
9652
9656
|
)) })
|
|
9653
9657
|
] }),
|
|
9654
9658
|
/* @__PURE__ */ p(
|
|
@@ -10135,7 +10139,7 @@ const My = {
|
|
|
10135
10139
|
}
|
|
10136
10140
|
);
|
|
10137
10141
|
Sc.displayName = "TableCell";
|
|
10138
|
-
const
|
|
10142
|
+
const Ny = T.table`
|
|
10139
10143
|
width: 100%;
|
|
10140
10144
|
table-layout: auto;
|
|
10141
10145
|
border-collapse: separate;
|
|
@@ -10147,7 +10151,7 @@ const Ly = T.table`
|
|
|
10147
10151
|
${({ $variant: e }) => Sy[e]}
|
|
10148
10152
|
${Cy}
|
|
10149
10153
|
${Ty}
|
|
10150
|
-
`,
|
|
10154
|
+
`, Ly = T.thead`
|
|
10151
10155
|
${({ $sticky: e }) => e && P`
|
|
10152
10156
|
position: sticky;
|
|
10153
10157
|
top: 0;
|
|
@@ -10181,8 +10185,8 @@ const Ly = T.table`
|
|
|
10181
10185
|
const c = (u, d) => (l) => {
|
|
10182
10186
|
u.onSort?.(l), a?.({ columnId: u.id ?? String(d), direction: l });
|
|
10183
10187
|
};
|
|
10184
|
-
return /* @__PURE__ */ p(By, { className: i, children: /* @__PURE__ */ M(
|
|
10185
|
-
/* @__PURE__ */ p(
|
|
10188
|
+
return /* @__PURE__ */ p(By, { className: i, children: /* @__PURE__ */ M(Ny, { $variant: r, className: s, children: [
|
|
10189
|
+
/* @__PURE__ */ p(Ly, { $sticky: o, children: /* @__PURE__ */ p("tr", { children: e.map((u, d) => /* @__PURE__ */ p(
|
|
10186
10190
|
wc,
|
|
10187
10191
|
{
|
|
10188
10192
|
size: n,
|
|
@@ -10672,7 +10676,7 @@ export {
|
|
|
10672
10676
|
C1 as deleteCookie,
|
|
10673
10677
|
bt as disabledStyles,
|
|
10674
10678
|
Yt as errorStyles,
|
|
10675
|
-
|
|
10679
|
+
Ng as flushedStyles,
|
|
10676
10680
|
T1 as getCookie,
|
|
10677
10681
|
g1 as getPropsForInputType,
|
|
10678
10682
|
D0 as handleDigitChange,
|
|
@@ -1160,7 +1160,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const yr={80:E`
|
|
|
1160
1160
|
transform: rotate(${({$open:e})=>e?"90deg":"0deg"});
|
|
1161
1161
|
pointer-events: none;
|
|
1162
1162
|
transition: transform 0.3s ease-out;
|
|
1163
|
-
`,yc=({item:e,userRoles:t,level:n=0,activePath:r,onNavigate:o})=>{const[s,i]=f.useState(!1),{isCollapsed:a,setIsMobileOpen:c}=qo(),d=f.useMemo(()=>(e.children||[]).filter(x=>Zo(t,x.permissions)),[e.children,t]);if(!f.useMemo(()=>Zo(t,e.permissions),[t,e.permissions]))return null;const l=d.length>0,h=e.href||e.path||"",m=!!(h&&r&&r.startsWith(h)),g=()=>{i(x=>!x)},v=()=>{e.href&&o?.(e.href)
|
|
1163
|
+
`,yc=({item:e,userRoles:t,level:n=0,activePath:r,onNavigate:o})=>{const[s,i]=f.useState(!1),{isCollapsed:a,setIsMobileOpen:c}=qo(),d=f.useMemo(()=>(e.children||[]).filter(x=>Zo(t,x.permissions)),[e.children,t]);if(!f.useMemo(()=>Zo(t,e.permissions),[t,e.permissions]))return null;const l=d.length>0,h=e.href||e.path||"",m=!!(h&&r&&r.startsWith(h)),g=()=>{i(x=>!x)},v=()=>{e.href&&o?.(e.href)},b=async()=>{if(e.path)try{typeof window<"u"&&window.open(e.path,"_blank","noopener,noreferrer"),c&&c(!1)}catch(x){console.error("Error al navegar a microservicio:",x)}},y=()=>p.jsxs(p.Fragment,{children:[p.jsxs(ey,{children:[n>0&&!a&&p.jsx(oy,{}),e.icon&&p.jsx(Y,{component:e.icon,size:n===0?"md":"sm",color:"var(--color-main-blue-primary)"}),!a&&p.jsx(ty,{$level:n,size:n===0?16:n===1?14:12,color:"var(--color-dark-700, #374151)",children:e.label})]}),!a&&l&&p.jsx(iy,{$disabled:a,$open:s,children:p.jsx(Y,{component:Yg,size:"sm",color:"var(--color-main-blue-primary)"})})]});return p.jsxs(ry,{$level:n,children:[e.href&&!e.path&&!l?p.jsx(J0,{type:"button",onClick:v,$level:n,$collapsed:a,$active:m,title:a?e.label:"",children:y()}):p.jsx(Q0,{type:"button",onClick:l?g:e.path?b:v,$level:n,$collapsed:a,$active:m,$expanded:s&&l,title:a?e.label:"",children:y()}),p.jsx(qt,{initial:!1,children:!a&&s&&l&&p.jsx(ny,{$level:n+1,...dc,children:d.map(x=>p.jsx(yc,{item:x,userRoles:t,level:n+1,onNavigate:o,activePath:r},x.id))})})]})},vc=T(ze.div)`
|
|
1164
1164
|
position: fixed;
|
|
1165
1165
|
inset: 0;
|
|
1166
1166
|
background: rgba(0, 0, 0, 0.5);
|
|
@@ -1245,7 +1245,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const yr={80:E`
|
|
|
1245
1245
|
@media (min-width: 768px) {
|
|
1246
1246
|
display: none;
|
|
1247
1247
|
}
|
|
1248
|
-
`,Jo=({navigationConfig:e,userRoles:t=[],activePath:n,logoImgExpanded:r,logoImgCollapsed:o,onNavigate:s=()=>{}})=>{const{isCollapsed:i,setIsCollapsed:a,isMobileOpen:c,setIsMobileOpen:d}=qo();return p.jsxs(p.Fragment,{children:[p.jsx(qt,{children:c&&p.jsx(vc,{...Go,onClick:()=>d(!1)})}),p.jsxs(bc,{$collapsed:c?!1:i,$open:c,children:[p.jsxs(wc,{$collapsed:i,children:[p.jsx(xc,{children:i?o:r}),p.jsx(Cc,{onClick:()=>a(!i),"aria-label":"Toggle collapse",children:p.jsx(Y,{component:Jl,size:"md",color:"var(--color-main-blue-primary)"})})]}),p.jsx(Sc,{children:e.map(
|
|
1248
|
+
`,Jo=({navigationConfig:e,userRoles:t=[],activePath:n,logoImgExpanded:r,logoImgCollapsed:o,onNavigate:s=()=>{}})=>{const{isCollapsed:i,setIsCollapsed:a,isMobileOpen:c,setIsMobileOpen:d}=qo(),u=l=>{s(l),typeof window<"u"&&window.innerWidth<768&&d(!1)};return p.jsxs(p.Fragment,{children:[p.jsx(qt,{children:c&&p.jsx(vc,{...Go,onClick:()=>d(!1)})}),p.jsxs(bc,{$collapsed:c?!1:i,$open:c,children:[p.jsxs(wc,{$collapsed:i,children:[p.jsx(xc,{children:i?o:r}),p.jsx(Cc,{onClick:()=>a(!i),"aria-label":"Toggle collapse",children:p.jsx(Y,{component:Jl,size:"md",color:"var(--color-main-blue-primary)"})})]}),p.jsx(Sc,{children:e.map(l=>p.jsx(yc,{item:l,userRoles:t,onNavigate:u,activePath:n},l.id))})]}),p.jsx(Tc,{onClick:()=>{d(!0),a(!1)},$hidden:c,children:p.jsx(Y,{component:Jl,size:30})})]})};Jo.displayName="Sidebar";const kc={underlined:E`
|
|
1249
1249
|
color: var(--color-main-orange-primary);
|
|
1250
1250
|
text-decoration-thickness: 1px;
|
|
1251
1251
|
text-underline-offset: 2px;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.3.
|
|
6
|
+
"version": "0.3.16",
|
|
7
7
|
"description": "This package provides reusable UI components to ensure consistency across all CRM frontend applications",
|
|
8
8
|
"author": "BizAppsTotal <bizapps@tcce.biz>",
|
|
9
9
|
"type": "module",
|