@eleven-labs/design-system 0.27.0 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/constants/tokenVariables.d.ts +79 -6
- package/dist/index.es.js +312 -239
- package/dist/index.umd.cjs +12 -12
- package/dist/scss/abstracts/mixins/_component.scss +7 -1
- package/dist/scss/abstracts/variables/_token-variables.scss +43 -4
- package/dist/scss/abstracts/variables/_variables.scss +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as M, jsx as s, Fragment as Pe } from "react/jsx-runtime";
|
|
2
2
|
import * as nt from "react";
|
|
3
|
-
import be, { forwardRef as Fr, Fragment as rt, useMemo as fn, useRef as
|
|
3
|
+
import be, { forwardRef as Fr, Fragment as rt, useMemo as fn, useRef as Ee, useCallback as xe, useEffect as ke, cloneElement as qr, Component as Wr, useLayoutEffect as Gr, useReducer as Yr } from "react";
|
|
4
4
|
const Xr = (e) => /* @__PURE__ */ M("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", ...e, children: [
|
|
5
5
|
/* @__PURE__ */ s(
|
|
6
6
|
"path",
|
|
@@ -254,9 +254,9 @@ const Ic = ["primary", "secondary", "accent"], Ke = Ce(
|
|
|
254
254
|
i
|
|
255
255
|
),
|
|
256
256
|
children: [
|
|
257
|
-
t === "secondary" && /* @__PURE__ */ s(
|
|
258
|
-
/* @__PURE__ */ s(
|
|
259
|
-
t !== "secondary" && /* @__PURE__ */ s(
|
|
257
|
+
t === "secondary" && /* @__PURE__ */ s(Ie, { name: "arrow", style: { transform: "scaleX(-1)" } }),
|
|
258
|
+
/* @__PURE__ */ s(ee, { as: "span", children: o }),
|
|
259
|
+
t !== "secondary" && /* @__PURE__ */ s(Ie, { name: "arrow" })
|
|
260
260
|
]
|
|
261
261
|
}
|
|
262
262
|
)
|
|
@@ -344,6 +344,57 @@ const qe = {
|
|
|
344
344
|
}
|
|
345
345
|
},
|
|
346
346
|
typography: {
|
|
347
|
+
"heading-markup": {
|
|
348
|
+
base: {
|
|
349
|
+
"line-height": {
|
|
350
|
+
value: "1.2"
|
|
351
|
+
},
|
|
352
|
+
"font-weight": {
|
|
353
|
+
value: "400"
|
|
354
|
+
},
|
|
355
|
+
"margin-top": {
|
|
356
|
+
value: "32px"
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
s: {
|
|
360
|
+
"font-size": {
|
|
361
|
+
value: "16px"
|
|
362
|
+
},
|
|
363
|
+
"margin-bottom": {
|
|
364
|
+
value: "8px"
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
m: {
|
|
368
|
+
"font-size": {
|
|
369
|
+
value: "18px"
|
|
370
|
+
},
|
|
371
|
+
"margin-bottom": {
|
|
372
|
+
value: "12px"
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
l: {
|
|
376
|
+
"font-size": {
|
|
377
|
+
value: "20px"
|
|
378
|
+
},
|
|
379
|
+
"font-weight": {
|
|
380
|
+
value: "500"
|
|
381
|
+
},
|
|
382
|
+
"margin-bottom": {
|
|
383
|
+
value: "16px"
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
xl: {
|
|
387
|
+
"font-size": {
|
|
388
|
+
value: "22px"
|
|
389
|
+
},
|
|
390
|
+
"font-weight": {
|
|
391
|
+
value: "600"
|
|
392
|
+
},
|
|
393
|
+
"margin-bottom": {
|
|
394
|
+
value: "24px"
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
},
|
|
347
398
|
heading: {
|
|
348
399
|
base: {
|
|
349
400
|
"font-family": {
|
|
@@ -382,7 +433,7 @@ const qe = {
|
|
|
382
433
|
},
|
|
383
434
|
xl: {
|
|
384
435
|
"font-size": {
|
|
385
|
-
value: "
|
|
436
|
+
value: "40px"
|
|
386
437
|
},
|
|
387
438
|
"font-weight": {
|
|
388
439
|
value: "400"
|
|
@@ -428,12 +479,29 @@ const qe = {
|
|
|
428
479
|
}
|
|
429
480
|
},
|
|
430
481
|
desktop: {
|
|
431
|
-
base: {
|
|
432
|
-
"letter-spacing": {
|
|
433
|
-
value: "2px"
|
|
434
|
-
}
|
|
435
|
-
},
|
|
436
482
|
typography: {
|
|
483
|
+
"heading-markup": {
|
|
484
|
+
s: {
|
|
485
|
+
"font-size": {
|
|
486
|
+
value: "24px"
|
|
487
|
+
}
|
|
488
|
+
},
|
|
489
|
+
m: {
|
|
490
|
+
"font-size": {
|
|
491
|
+
value: "26px"
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
l: {
|
|
495
|
+
"font-size": {
|
|
496
|
+
value: "28px"
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
xl: {
|
|
500
|
+
"font-size": {
|
|
501
|
+
value: "28px"
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
},
|
|
437
505
|
heading: {
|
|
438
506
|
s: {
|
|
439
507
|
"font-size": {
|
|
@@ -485,6 +553,11 @@ const qe = {
|
|
|
485
553
|
}
|
|
486
554
|
}
|
|
487
555
|
}
|
|
556
|
+
},
|
|
557
|
+
base: {
|
|
558
|
+
"letter-spacing": {
|
|
559
|
+
value: "2px"
|
|
560
|
+
}
|
|
488
561
|
}
|
|
489
562
|
},
|
|
490
563
|
"line-height": {
|
|
@@ -708,7 +781,7 @@ const qe = {
|
|
|
708
781
|
}
|
|
709
782
|
return `${e.className}@${e.defaultModifier}`;
|
|
710
783
|
}
|
|
711
|
-
},
|
|
784
|
+
}, we = (e) => {
|
|
712
785
|
if (e.propValue && ["string", "number"].includes(typeof e.propValue) || !e.propValue) {
|
|
713
786
|
const t = Ct({
|
|
714
787
|
className: e.className,
|
|
@@ -732,15 +805,15 @@ const qe = {
|
|
|
732
805
|
[`bg-${e.bg}`]: e.bg,
|
|
733
806
|
[`color-${e.color}`]: e.color
|
|
734
807
|
}), Ni = (e) => ie(
|
|
735
|
-
|
|
808
|
+
we({
|
|
736
809
|
propValue: e.display,
|
|
737
810
|
className: "display"
|
|
738
811
|
}),
|
|
739
|
-
|
|
812
|
+
we({
|
|
740
813
|
propValue: e.width,
|
|
741
814
|
className: "width"
|
|
742
815
|
}),
|
|
743
|
-
|
|
816
|
+
we({
|
|
744
817
|
propValue: e.height,
|
|
745
818
|
className: "height"
|
|
746
819
|
}),
|
|
@@ -749,54 +822,54 @@ const qe = {
|
|
|
749
822
|
[`hidden-below@${e.hiddenBelow}`]: !!e.hiddenBelow
|
|
750
823
|
}
|
|
751
824
|
), Si = (e) => ie(
|
|
752
|
-
...
|
|
825
|
+
...we({
|
|
753
826
|
propValue: e.alignItems,
|
|
754
827
|
className: "items"
|
|
755
828
|
}),
|
|
756
|
-
...
|
|
829
|
+
...we({
|
|
757
830
|
propValue: e.alignContent,
|
|
758
831
|
className: "content"
|
|
759
832
|
}),
|
|
760
|
-
...
|
|
833
|
+
...we({
|
|
761
834
|
propValue: e.justifyContent,
|
|
762
835
|
className: "justify"
|
|
763
836
|
}),
|
|
764
|
-
...
|
|
837
|
+
...we({
|
|
765
838
|
propValue: e.gap,
|
|
766
839
|
className: "gap"
|
|
767
840
|
}),
|
|
768
|
-
...
|
|
841
|
+
...we({
|
|
769
842
|
propValue: e.gapX,
|
|
770
843
|
className: "gap-x"
|
|
771
844
|
}),
|
|
772
|
-
...
|
|
845
|
+
...we({
|
|
773
846
|
propValue: e.gapY,
|
|
774
847
|
className: "gap-y"
|
|
775
848
|
})
|
|
776
849
|
), Oi = (e) => ie(
|
|
777
|
-
|
|
850
|
+
we({
|
|
778
851
|
propValue: e.flexDirection,
|
|
779
852
|
className: "flex"
|
|
780
853
|
}),
|
|
781
|
-
|
|
854
|
+
we({
|
|
782
855
|
propValue: e.flexWrap,
|
|
783
856
|
className: "flex"
|
|
784
857
|
})
|
|
785
|
-
), Ri = (e) =>
|
|
858
|
+
), Ri = (e) => we({
|
|
786
859
|
propValue: e.alignSelf,
|
|
787
860
|
className: "self"
|
|
788
861
|
}).join(" "), Ci = (e) => ie(
|
|
789
|
-
|
|
862
|
+
we({
|
|
790
863
|
propValue: e.flexBasis,
|
|
791
864
|
className: "basis"
|
|
792
865
|
}),
|
|
793
|
-
|
|
866
|
+
we({
|
|
794
867
|
propValue: e.flex,
|
|
795
868
|
className: "flex"
|
|
796
869
|
})
|
|
797
870
|
), yn = (e) => ie(
|
|
798
871
|
Object.entries(e).filter(([t]) => Object.keys(vn).includes(t)).reduce((t, [n, i]) => (t.push(
|
|
799
|
-
...
|
|
872
|
+
...we({
|
|
800
873
|
className: n,
|
|
801
874
|
propValue: i
|
|
802
875
|
})
|
|
@@ -806,7 +879,7 @@ const qe = {
|
|
|
806
879
|
textSize: t,
|
|
807
880
|
...n
|
|
808
881
|
}) => ie(
|
|
809
|
-
...
|
|
882
|
+
...we({
|
|
810
883
|
propValue: e,
|
|
811
884
|
className: "text"
|
|
812
885
|
}),
|
|
@@ -827,7 +900,7 @@ const qe = {
|
|
|
827
900
|
Ri(e),
|
|
828
901
|
Ci(e),
|
|
829
902
|
Mi(e)
|
|
830
|
-
),
|
|
903
|
+
), Ie = ({ name: e, size: t, width: n, height: i, ...o }) => {
|
|
831
904
|
const r = di[wi(e)];
|
|
832
905
|
return /* @__PURE__ */ s(
|
|
833
906
|
r,
|
|
@@ -857,9 +930,9 @@ const xc = ["website", "blog"], _n = Ce(({ name: e, size: t, ...n }, i) => /* @_
|
|
|
857
930
|
children: [
|
|
858
931
|
/* @__PURE__ */ s(pn, { height: "1em" }),
|
|
859
932
|
e === "blog" ? /* @__PURE__ */ M(V, { className: "logo__blog", children: [
|
|
860
|
-
/* @__PURE__ */ s(
|
|
861
|
-
/* @__PURE__ */ s(
|
|
862
|
-
] }) : /* @__PURE__ */ s(
|
|
933
|
+
/* @__PURE__ */ s(ee, { fontWeight: "medium", children: "Eleven Labs" }),
|
|
934
|
+
/* @__PURE__ */ s(ee, { fontWeight: "bold", children: "Le blog" })
|
|
935
|
+
] }) : /* @__PURE__ */ s(ee, { fontWeight: "medium", className: "logo__website", children: "Eleven Labs" })
|
|
863
936
|
]
|
|
864
937
|
}
|
|
865
938
|
));
|
|
@@ -1203,10 +1276,10 @@ function Zi(e, t, n, i, o, r, c, a, l) {
|
|
|
1203
1276
|
`)
|
|
1204
1277
|
};
|
|
1205
1278
|
if (G === 0) {
|
|
1206
|
-
var
|
|
1279
|
+
var Z = u.slice(E + 1, N).concat(x0({
|
|
1207
1280
|
children: [ne],
|
|
1208
1281
|
className: w.properties.className
|
|
1209
|
-
})), re = y(
|
|
1282
|
+
})), re = y(Z, X);
|
|
1210
1283
|
f.push(re);
|
|
1211
1284
|
} else if (G === q.length - 1) {
|
|
1212
1285
|
var oe = u[N + 1] && u[N + 1].children && u[N + 1].children[0], W = {
|
|
@@ -1281,7 +1354,7 @@ function eo(e, t) {
|
|
|
1281
1354
|
var o = i.language, r = i.children, c = i.style, a = c === void 0 ? t : c, l = i.customStyle, d = l === void 0 ? {} : l, u = i.codeTagProps, f = u === void 0 ? {
|
|
1282
1355
|
className: o ? "language-".concat(o) : void 0,
|
|
1283
1356
|
style: ze(ze({}, a['code[class*="language-"]']), a['code[class*="language-'.concat(o, '"]')])
|
|
1284
|
-
} : u, E = i.useInlineStyles, N = E === void 0 ? !0 : E, T = i.showLineNumbers, R = T === void 0 ? !1 : T, y = i.showInlineLineNumbers, A = y === void 0 ? !0 : y, h = i.startingLineNumber, m = h === void 0 ? 1 : h, g = i.lineNumberContainerStyle, p = i.lineNumberStyle, w = p === void 0 ? {} : p, D = i.wrapLines, P = i.wrapLongLines, q = P === void 0 ? !1 : P, U = i.lineProps, G = U === void 0 ? {} : U, X = i.renderer, ne = i.PreTag,
|
|
1357
|
+
} : u, E = i.useInlineStyles, N = E === void 0 ? !0 : E, T = i.showLineNumbers, R = T === void 0 ? !1 : T, y = i.showInlineLineNumbers, A = y === void 0 ? !0 : y, h = i.startingLineNumber, m = h === void 0 ? 1 : h, g = i.lineNumberContainerStyle, p = i.lineNumberStyle, w = p === void 0 ? {} : p, D = i.wrapLines, P = i.wrapLongLines, q = P === void 0 ? !1 : P, U = i.lineProps, G = U === void 0 ? {} : U, X = i.renderer, ne = i.PreTag, Z = ne === void 0 ? "pre" : ne, re = i.CodeTag, oe = re === void 0 ? "code" : re, W = i.code, pe = W === void 0 ? (Array.isArray(r) ? r[0] : r) || "" : W, ge = i.astGenerator, x = Ai(i, Fi);
|
|
1285
1358
|
ge = ge || e;
|
|
1286
1359
|
var k = R ? /* @__PURE__ */ be.createElement(Yi, {
|
|
1287
1360
|
containerStyle: g,
|
|
@@ -1302,7 +1375,7 @@ function eo(e, t) {
|
|
|
1302
1375
|
}) : f.style = ze(ze({}, f.style), {}, {
|
|
1303
1376
|
whiteSpace: "pre"
|
|
1304
1377
|
}), !ge)
|
|
1305
|
-
return /* @__PURE__ */ be.createElement(
|
|
1378
|
+
return /* @__PURE__ */ be.createElement(Z, v, k, /* @__PURE__ */ be.createElement(oe, f, pe));
|
|
1306
1379
|
(D === void 0 && X || q) && (D = !0), X = X || Qi;
|
|
1307
1380
|
var _ = [{
|
|
1308
1381
|
type: "text",
|
|
@@ -1315,7 +1388,7 @@ function eo(e, t) {
|
|
|
1315
1388
|
});
|
|
1316
1389
|
I.language === null && (I.value = _);
|
|
1317
1390
|
var C = I.value.length + m, z = Zi(I, D, G, R, A, m, C, w, q);
|
|
1318
|
-
return /* @__PURE__ */ be.createElement(
|
|
1391
|
+
return /* @__PURE__ */ be.createElement(Z, v, /* @__PURE__ */ be.createElement(oe, f, !A && k, X({
|
|
1319
1392
|
rows: z,
|
|
1320
1393
|
stylesheet: a,
|
|
1321
1394
|
useInlineStyles: N
|
|
@@ -2009,16 +2082,16 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2009
2082
|
return Object.prototype.hasOwnProperty.call($.keywords, te) && $.keywords[te];
|
|
2010
2083
|
}
|
|
2011
2084
|
function z() {
|
|
2012
|
-
if (!
|
|
2085
|
+
if (!J.keywords) {
|
|
2013
2086
|
me.addText(fe);
|
|
2014
2087
|
return;
|
|
2015
2088
|
}
|
|
2016
2089
|
let $ = 0;
|
|
2017
|
-
|
|
2018
|
-
let j =
|
|
2090
|
+
J.keywordPatternRe.lastIndex = 0;
|
|
2091
|
+
let j = J.keywordPatternRe.exec(fe), te = "";
|
|
2019
2092
|
for (; j; ) {
|
|
2020
2093
|
te += fe.substring($, j.index);
|
|
2021
|
-
const ue = C(
|
|
2094
|
+
const ue = C(J, j);
|
|
2022
2095
|
if (ue) {
|
|
2023
2096
|
const [Oe, v0] = ue;
|
|
2024
2097
|
if (me.addText(te), te = "", Fe += v0, Oe.startsWith("_"))
|
|
@@ -2029,7 +2102,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2029
2102
|
}
|
|
2030
2103
|
} else
|
|
2031
2104
|
te += j[0];
|
|
2032
|
-
$ =
|
|
2105
|
+
$ = J.keywordPatternRe.lastIndex, j = J.keywordPatternRe.exec(fe);
|
|
2033
2106
|
}
|
|
2034
2107
|
te += fe.substr($), me.addText(te);
|
|
2035
2108
|
}
|
|
@@ -2037,22 +2110,22 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2037
2110
|
if (fe === "")
|
|
2038
2111
|
return;
|
|
2039
2112
|
let $ = null;
|
|
2040
|
-
if (typeof
|
|
2041
|
-
if (!t[
|
|
2113
|
+
if (typeof J.subLanguage == "string") {
|
|
2114
|
+
if (!t[J.subLanguage]) {
|
|
2042
2115
|
me.addText(fe);
|
|
2043
2116
|
return;
|
|
2044
2117
|
}
|
|
2045
|
-
$ = E(
|
|
2118
|
+
$ = E(J.subLanguage, fe, !0, Me[J.subLanguage]), Me[J.subLanguage] = /** @type {CompiledMode} */
|
|
2046
2119
|
$.top;
|
|
2047
2120
|
} else
|
|
2048
|
-
$ = T(fe,
|
|
2049
|
-
|
|
2121
|
+
$ = T(fe, J.subLanguage.length ? J.subLanguage : null);
|
|
2122
|
+
J.relevance > 0 && (Fe += $.relevance), me.addSublanguage($.emitter, $.language);
|
|
2050
2123
|
}
|
|
2051
2124
|
function B() {
|
|
2052
|
-
|
|
2125
|
+
J.subLanguage != null ? H() : z(), fe = "";
|
|
2053
2126
|
}
|
|
2054
|
-
function
|
|
2055
|
-
return $.className && me.openNode($e.classNameAliases[$.className] || $.className),
|
|
2127
|
+
function Q($) {
|
|
2128
|
+
return $.className && me.openNode($e.classNameAliases[$.className] || $.className), J = Object.create($, { parent: { value: J } }), J;
|
|
2056
2129
|
}
|
|
2057
2130
|
function S($, j, te) {
|
|
2058
2131
|
let ue = lo($.endRe, te);
|
|
@@ -2071,29 +2144,29 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2071
2144
|
return S($.parent, j, te);
|
|
2072
2145
|
}
|
|
2073
2146
|
function de($) {
|
|
2074
|
-
return
|
|
2147
|
+
return J.matcher.regexIndex === 0 ? (fe += $[0], 1) : (Te = !0, 0);
|
|
2075
2148
|
}
|
|
2076
2149
|
function L($) {
|
|
2077
2150
|
const j = $[0], te = $.rule, ue = new Dt(te), Oe = [te.__beforeBegin, te["on:begin"]];
|
|
2078
2151
|
for (const v0 of Oe)
|
|
2079
2152
|
if (v0 && (v0($, ue), ue.isMatchIgnored))
|
|
2080
2153
|
return de(j);
|
|
2081
|
-
return te && te.endSameAsBegin && (te.endRe = oo(j)), te.skip ? fe += j : (te.excludeBegin && (fe += j), B(), !te.returnBegin && !te.excludeBegin && (fe = j)),
|
|
2154
|
+
return te && te.endSameAsBegin && (te.endRe = oo(j)), te.skip ? fe += j : (te.excludeBegin && (fe += j), B(), !te.returnBegin && !te.excludeBegin && (fe = j)), Q(te), te.returnBegin ? 0 : j.length;
|
|
2082
2155
|
}
|
|
2083
|
-
function
|
|
2084
|
-
const j = $[0], te = v.substr($.index), ue = S(
|
|
2156
|
+
function _e($) {
|
|
2157
|
+
const j = $[0], te = v.substr($.index), ue = S(J, $, te);
|
|
2085
2158
|
if (!ue)
|
|
2086
2159
|
return Vt;
|
|
2087
|
-
const Oe =
|
|
2160
|
+
const Oe = J;
|
|
2088
2161
|
Oe.skip ? fe += j : (Oe.returnEnd || Oe.excludeEnd || (fe += j), B(), Oe.excludeEnd && (fe = j));
|
|
2089
2162
|
do
|
|
2090
|
-
|
|
2091
|
-
while (
|
|
2092
|
-
return ue.starts && (ue.endSameAsBegin && (ue.starts.endRe = ue.endRe),
|
|
2163
|
+
J.className && me.closeNode(), !J.skip && !J.subLanguage && (Fe += J.relevance), J = J.parent;
|
|
2164
|
+
while (J !== ue.parent);
|
|
2165
|
+
return ue.starts && (ue.endSameAsBegin && (ue.starts.endRe = ue.endRe), Q(ue.starts)), Oe.returnEnd ? 0 : j.length;
|
|
2093
2166
|
}
|
|
2094
2167
|
function ve() {
|
|
2095
2168
|
const $ = [];
|
|
2096
|
-
for (let j =
|
|
2169
|
+
for (let j = J; j !== $e; j = j.parent)
|
|
2097
2170
|
j.className && $.unshift(j.className);
|
|
2098
2171
|
$.forEach((j) => me.openNode(j));
|
|
2099
2172
|
}
|
|
@@ -2112,10 +2185,10 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2112
2185
|
if (Le = j, j.type === "begin")
|
|
2113
2186
|
return L(j);
|
|
2114
2187
|
if (j.type === "illegal" && !_) {
|
|
2115
|
-
const ue = new Error('Illegal lexeme "' + te + '" for mode "' + (
|
|
2116
|
-
throw ue.mode =
|
|
2188
|
+
const ue = new Error('Illegal lexeme "' + te + '" for mode "' + (J.className || "<unnamed>") + '"');
|
|
2189
|
+
throw ue.mode = J, ue;
|
|
2117
2190
|
} else if (j.type === "end") {
|
|
2118
|
-
const ue =
|
|
2191
|
+
const ue = _e(j);
|
|
2119
2192
|
if (ue !== Vt)
|
|
2120
2193
|
return ue;
|
|
2121
2194
|
}
|
|
@@ -2129,14 +2202,14 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2129
2202
|
if (!$e)
|
|
2130
2203
|
throw L0(c.replace("{}", b)), new Error('Unknown language: "' + b + '"');
|
|
2131
2204
|
const Be = Vo($e, { plugins: i });
|
|
2132
|
-
let Xe = "",
|
|
2205
|
+
let Xe = "", J = I || Be;
|
|
2133
2206
|
const Me = {}, me = new l.__emitter(l);
|
|
2134
2207
|
ve();
|
|
2135
2208
|
let fe = "", Fe = 0, Ne = 0, Ve = 0, Te = !1;
|
|
2136
2209
|
try {
|
|
2137
|
-
for (
|
|
2138
|
-
Ve++, Te ? Te = !1 :
|
|
2139
|
-
const $ =
|
|
2210
|
+
for (J.matcher.considerAll(); ; ) {
|
|
2211
|
+
Ve++, Te ? Te = !1 : J.matcher.considerAll(), J.matcher.lastIndex = Ne;
|
|
2212
|
+
const $ = J.matcher.exec(v);
|
|
2140
2213
|
if (!$)
|
|
2141
2214
|
break;
|
|
2142
2215
|
const j = v.substring(Ne, $.index), te = Ye(j, $);
|
|
@@ -2150,7 +2223,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2150
2223
|
language: b,
|
|
2151
2224
|
illegal: !1,
|
|
2152
2225
|
emitter: me,
|
|
2153
|
-
top:
|
|
2226
|
+
top: J
|
|
2154
2227
|
};
|
|
2155
2228
|
} catch ($) {
|
|
2156
2229
|
if ($.message && $.message.includes("Illegal"))
|
|
@@ -2173,7 +2246,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2173
2246
|
value: $0(v),
|
|
2174
2247
|
emitter: me,
|
|
2175
2248
|
language: b,
|
|
2176
|
-
top:
|
|
2249
|
+
top: J,
|
|
2177
2250
|
errorRaised: $
|
|
2178
2251
|
};
|
|
2179
2252
|
throw $;
|
|
@@ -2192,16 +2265,16 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2192
2265
|
function T(b, v) {
|
|
2193
2266
|
v = v || l.languages || Object.keys(t);
|
|
2194
2267
|
const _ = N(b), I = v.filter(re).filter(W).map(
|
|
2195
|
-
(
|
|
2268
|
+
(Q) => E(Q, b, !1)
|
|
2196
2269
|
);
|
|
2197
2270
|
I.unshift(_);
|
|
2198
|
-
const C = I.sort((
|
|
2199
|
-
if (
|
|
2200
|
-
return S.relevance -
|
|
2201
|
-
if (
|
|
2202
|
-
if (re(
|
|
2271
|
+
const C = I.sort((Q, S) => {
|
|
2272
|
+
if (Q.relevance !== S.relevance)
|
|
2273
|
+
return S.relevance - Q.relevance;
|
|
2274
|
+
if (Q.language && S.language) {
|
|
2275
|
+
if (re(Q.language).supersetOf === S.language)
|
|
2203
2276
|
return 1;
|
|
2204
|
-
if (re(S.language).supersetOf ===
|
|
2277
|
+
if (re(S.language).supersetOf === Q.language)
|
|
2205
2278
|
return -1;
|
|
2206
2279
|
}
|
|
2207
2280
|
return 0;
|
|
@@ -2298,7 +2371,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2298
2371
|
function ne() {
|
|
2299
2372
|
return Object.keys(t);
|
|
2300
2373
|
}
|
|
2301
|
-
function
|
|
2374
|
+
function Z(b) {
|
|
2302
2375
|
Ae("10.4.0", "requireLanguage will be removed entirely in v11."), Ae("10.4.0", "Please see https://github.com/highlightjs/highlight.js/pull/2844");
|
|
2303
2376
|
const v = re(b);
|
|
2304
2377
|
if (v)
|
|
@@ -2359,7 +2432,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), z = b, C = v);
|
|
|
2359
2432
|
listLanguages: ne,
|
|
2360
2433
|
getLanguage: re,
|
|
2361
2434
|
registerAliases: oe,
|
|
2362
|
-
requireLanguage:
|
|
2435
|
+
requireLanguage: Z,
|
|
2363
2436
|
autoDetection: W,
|
|
2364
2437
|
inherit: Bt,
|
|
2365
2438
|
addPlugin: ge,
|
|
@@ -4561,11 +4634,11 @@ const wc = ({ language: e, children: t, ...n }) => /* @__PURE__ */ s(
|
|
|
4561
4634
|
PreTag: "div",
|
|
4562
4635
|
children: t
|
|
4563
4636
|
}
|
|
4564
|
-
),
|
|
4565
|
-
|
|
4566
|
-
const
|
|
4567
|
-
|
|
4568
|
-
const Nc = ({ children: e, className: t, ...n }) => /* @__PURE__ */ s(
|
|
4637
|
+
), ye = Ce(({ as: e = "p", size: t, children: n, className: i, ...o }, r) => /* @__PURE__ */ s(V, { ...o, as: e, ref: r, className: ie({ [`heading-${t}`]: !!t }, i), children: n }));
|
|
4638
|
+
ye.displayName = "Heading";
|
|
4639
|
+
const ee = Ce(({ as: e = "p", size: t, className: n, children: i, ...o }, r) => /* @__PURE__ */ s(V, { ...o, as: e, ref: r, className: ie({ [`text-${t}`]: !!t }, n), children: i }));
|
|
4640
|
+
ee.displayName = "Text";
|
|
4641
|
+
const Nc = ({ children: e, className: t, ...n }) => /* @__PURE__ */ s(ee, { as: "blockquote", ...n, pl: "m", size: "m", italic: !0, className: ie("blockquote", t), children: e });
|
|
4569
4642
|
const We = Ce(({ as: e = "div", isLoading: t = !0, children: n, ...i }, o) => /* @__PURE__ */ s(Pe, { children: t ? /* @__PURE__ */ s(
|
|
4570
4643
|
V,
|
|
4571
4644
|
{
|
|
@@ -4610,10 +4683,10 @@ const Yn = ({ items: e, ...t }) => /* @__PURE__ */ s(
|
|
|
4610
4683
|
className: "breadcrumb",
|
|
4611
4684
|
children: e.map(({ label: n, ...i }, o) => /* @__PURE__ */ M(rt, { children: [
|
|
4612
4685
|
/* @__PURE__ */ M("li", { itemProp: "itemListElement", itemScope: !0, itemType: "https://schema.org/ListItem", children: [
|
|
4613
|
-
i.href ? /* @__PURE__ */ s(e0, { itemProp: "item", ...i, children: /* @__PURE__ */ s(
|
|
4686
|
+
i.href ? /* @__PURE__ */ s(e0, { itemProp: "item", ...i, children: /* @__PURE__ */ s(ee, { as: "span", itemProp: "name", children: n }) }) : /* @__PURE__ */ s(ee, { as: "span", itemProp: "name", fontWeight: "regular", children: n }),
|
|
4614
4687
|
/* @__PURE__ */ s("meta", { itemProp: "position", content: (o + 1).toString() })
|
|
4615
4688
|
] }),
|
|
4616
|
-
o < e.length - 1 && /* @__PURE__ */ s(
|
|
4689
|
+
o < e.length - 1 && /* @__PURE__ */ s(ee, { as: "span", children: ">" })
|
|
4617
4690
|
] }, o))
|
|
4618
4691
|
}
|
|
4619
4692
|
);
|
|
@@ -4629,8 +4702,8 @@ const e0 = Ce(
|
|
|
4629
4702
|
color: "info",
|
|
4630
4703
|
className: ie("link", n),
|
|
4631
4704
|
children: [
|
|
4632
|
-
t && /* @__PURE__ */ s(
|
|
4633
|
-
/* @__PURE__ */ s(
|
|
4705
|
+
t && /* @__PURE__ */ s(Ie, { name: t }),
|
|
4706
|
+
/* @__PURE__ */ s(ee, { as: "span", children: i })
|
|
4634
4707
|
]
|
|
4635
4708
|
}
|
|
4636
4709
|
) : /* @__PURE__ */ s(V, { ...o, ref: r, as: e, color: "info", className: ie("link", n), children: i })
|
|
@@ -4650,7 +4723,7 @@ const Oc = [
|
|
|
4650
4723
|
"example",
|
|
4651
4724
|
"quote"
|
|
4652
4725
|
], Rc = Ce(({ as: e = "div", variant: t, title: n, children: i, ...o }, r) => /* @__PURE__ */ M(V, { ...o, as: e, ref: r, bg: "white", className: ie("reminder", `reminder--${t}`), children: [
|
|
4653
|
-
/* @__PURE__ */ s(
|
|
4726
|
+
/* @__PURE__ */ s(ee, { className: "reminder__title", children: n }),
|
|
4654
4727
|
/* @__PURE__ */ s(V, { p: "xxs", children: i })
|
|
4655
4728
|
] }));
|
|
4656
4729
|
const Xn = Ce(
|
|
@@ -4665,7 +4738,7 @@ const Xn = Ce(
|
|
|
4665
4738
|
/* @__PURE__ */ M(F, { justifyContent: "center", alignItems: "center", className: "search-field__actions-container", children: [
|
|
4666
4739
|
!!e.value && /* @__PURE__ */ s(Gn, { ...t, variant: "secondary", className: "search-field__button-action" }),
|
|
4667
4740
|
/* @__PURE__ */ s(V, { className: "search-field__separator-button", ml: "xs" }),
|
|
4668
|
-
/* @__PURE__ */ s(V, { as: "button", ...n, className: "search-field__button-action", children: /* @__PURE__ */ s(
|
|
4741
|
+
/* @__PURE__ */ s(V, { as: "button", ...n, className: "search-field__button-action", children: /* @__PURE__ */ s(Ie, { name: "search", color: "primary", size: "2.5rem", mx: "xs" }) })
|
|
4669
4742
|
] })
|
|
4670
4743
|
]
|
|
4671
4744
|
}
|
|
@@ -4751,8 +4824,8 @@ const es = /* @__PURE__ */ Re(Ja), Jn = Ce(({ text: e, textQuery: t = "", ...n }
|
|
|
4751
4824
|
const r = Qa(e, t, { findAllOccurrences: !0 });
|
|
4752
4825
|
return es(e, r);
|
|
4753
4826
|
}, [e, t]);
|
|
4754
|
-
return /* @__PURE__ */ s(
|
|
4755
|
-
|
|
4827
|
+
return /* @__PURE__ */ s(ee, { ...n, ref: i, children: o.map((r, c) => /* @__PURE__ */ s(
|
|
4828
|
+
ee,
|
|
4756
4829
|
{
|
|
4757
4830
|
as: "span",
|
|
4758
4831
|
fontWeight: r.highlight ? "medium" : "regular",
|
|
@@ -4765,8 +4838,8 @@ const es = /* @__PURE__ */ Re(Ja), Jn = Ce(({ text: e, textQuery: t = "", ...n }
|
|
|
4765
4838
|
Jn.displayName = "TextHighlight";
|
|
4766
4839
|
const er = ({ title: e, description: t, ...n }) => /* @__PURE__ */ M(F, { ...n, flexDirection: "column", alignItems: "center", className: "not-found-block", children: [
|
|
4767
4840
|
/* @__PURE__ */ s("div", { className: "not-found-block__background" }),
|
|
4768
|
-
/* @__PURE__ */ s(
|
|
4769
|
-
/* @__PURE__ */ s(
|
|
4841
|
+
/* @__PURE__ */ s(ye, { size: "xl", mt: "s", children: e }),
|
|
4842
|
+
/* @__PURE__ */ s(ee, { size: "s", mt: "xxs", children: t })
|
|
4770
4843
|
] });
|
|
4771
4844
|
const ts = ({ title: e, description: t, breadcrumb: n, ...i }) => /* @__PURE__ */ s(V, { ...i, className: "category-intro-block", color: "white", children: /* @__PURE__ */ s(
|
|
4772
4845
|
F,
|
|
@@ -4777,8 +4850,8 @@ const ts = ({ title: e, description: t, breadcrumb: n, ...i }) => /* @__PURE__ *
|
|
|
4777
4850
|
className: "category-intro-block__container",
|
|
4778
4851
|
children: /* @__PURE__ */ M(V, { width: "content-container", pt: "m", pb: "xxl", children: [
|
|
4779
4852
|
/* @__PURE__ */ s(Yn, { ...n }),
|
|
4780
|
-
/* @__PURE__ */ s(
|
|
4781
|
-
/* @__PURE__ */ s(
|
|
4853
|
+
/* @__PURE__ */ s(ye, { mt: "xl", size: "xl", children: e }),
|
|
4854
|
+
/* @__PURE__ */ s(ee, { mt: "l", children: t })
|
|
4782
4855
|
] })
|
|
4783
4856
|
}
|
|
4784
4857
|
) });
|
|
@@ -4798,9 +4871,9 @@ const ns = ({
|
|
|
4798
4871
|
ml: { xs: "0", md: "xxl" },
|
|
4799
4872
|
className: "home-intro-block__container",
|
|
4800
4873
|
children: [
|
|
4801
|
-
/* @__PURE__ */ s(
|
|
4802
|
-
/* @__PURE__ */ s(
|
|
4803
|
-
/* @__PURE__ */ s(
|
|
4874
|
+
/* @__PURE__ */ s(ye, { size: "s", color: "info", children: e }),
|
|
4875
|
+
/* @__PURE__ */ s(ye, { size: "xl", color: "primary", children: t }),
|
|
4876
|
+
/* @__PURE__ */ s(ee, { children: n }),
|
|
4804
4877
|
/* @__PURE__ */ s(Ke, { as: "a", ...o, children: i })
|
|
4805
4878
|
]
|
|
4806
4879
|
}
|
|
@@ -4810,8 +4883,8 @@ const ns = ({
|
|
|
4810
4883
|
expertiseLink: { label: n, ...i } = {},
|
|
4811
4884
|
...o
|
|
4812
4885
|
}) => /* @__PURE__ */ M(V, { ...o, children: [
|
|
4813
|
-
/* @__PURE__ */ s(
|
|
4814
|
-
/* @__PURE__ */ s(
|
|
4886
|
+
/* @__PURE__ */ s(ee, { size: "m", fontWeight: "bold", children: e }),
|
|
4887
|
+
/* @__PURE__ */ s(ee, { mt: "m", children: t }),
|
|
4815
4888
|
n && /* @__PURE__ */ s(Ke, { as: "a", mt: "l", ...i, children: n })
|
|
4816
4889
|
] });
|
|
4817
4890
|
const Cc = ["primary", "secondary"], lt = ({
|
|
@@ -4834,8 +4907,8 @@ const Cc = ["primary", "secondary"], lt = ({
|
|
|
4834
4907
|
display: "inline-block",
|
|
4835
4908
|
style: { minWidth: 60, minHeight: 16 },
|
|
4836
4909
|
children: /* @__PURE__ */ M(F, { alignContent: "center", alignItems: "center", gap: "xxs", children: [
|
|
4837
|
-
e === "secondary" && /* @__PURE__ */ s(
|
|
4838
|
-
t && /* @__PURE__ */ s(
|
|
4910
|
+
e === "secondary" && /* @__PURE__ */ s(Ie, { name: "calendar", size: "24px", color: "light-grey" }),
|
|
4911
|
+
t && /* @__PURE__ */ s(ee, { as: "span", children: t })
|
|
4839
4912
|
] })
|
|
4840
4913
|
},
|
|
4841
4914
|
d
|
|
@@ -4852,8 +4925,8 @@ const Cc = ["primary", "secondary"], lt = ({
|
|
|
4852
4925
|
display: "inline-block",
|
|
4853
4926
|
style: { minWidth: 26, minHeight: 16 },
|
|
4854
4927
|
children: /* @__PURE__ */ M(F, { alignContent: "center", alignItems: "center", gap: "xxs", children: [
|
|
4855
|
-
e === "secondary" && /* @__PURE__ */ s(
|
|
4856
|
-
n && /* @__PURE__ */ s(
|
|
4928
|
+
e === "secondary" && /* @__PURE__ */ s(Ie, { name: "access-time", size: "24px", color: "light-grey" }),
|
|
4929
|
+
n && /* @__PURE__ */ s(ee, { as: "span", children: `${n}mn` })
|
|
4857
4930
|
] })
|
|
4858
4931
|
},
|
|
4859
4932
|
d
|
|
@@ -4870,10 +4943,10 @@ const Cc = ["primary", "secondary"], lt = ({
|
|
|
4870
4943
|
display: "inline-block",
|
|
4871
4944
|
style: { minWidth: 50, minHeight: 16 },
|
|
4872
4945
|
children: i && /* @__PURE__ */ M(F, { alignContent: "center", alignItems: "center", gap: "xxs", children: [
|
|
4873
|
-
e === "secondary" && /* @__PURE__ */ s(
|
|
4946
|
+
e === "secondary" && /* @__PURE__ */ s(Ie, { name: "person", size: "24px", color: "light-grey" }),
|
|
4874
4947
|
i.map(({ username: f, name: E, link: N }, T) => /* @__PURE__ */ M(rt, { children: [
|
|
4875
|
-
N ? /* @__PURE__ */ s(e0, { ...N, children: E }) : /* @__PURE__ */ s(
|
|
4876
|
-
T !== i.length - 1 && /* @__PURE__ */ s(
|
|
4948
|
+
N ? /* @__PURE__ */ s(e0, { ...N, children: E }) : /* @__PURE__ */ s(ee, { as: "span", children: E }),
|
|
4949
|
+
T !== i.length - 1 && /* @__PURE__ */ s(ee, { as: "span", children: "&" })
|
|
4877
4950
|
] }, f))
|
|
4878
4951
|
] })
|
|
4879
4952
|
},
|
|
@@ -4884,7 +4957,7 @@ const Cc = ["primary", "secondary"], lt = ({
|
|
|
4884
4957
|
}
|
|
4885
4958
|
}
|
|
4886
4959
|
return e !== "secondary" && u !== r.length - 1 && l.push(
|
|
4887
|
-
/* @__PURE__ */ s(
|
|
4960
|
+
/* @__PURE__ */ s(ee, { as: "span", children: "•" }, `circle-${d}`)
|
|
4888
4961
|
), l;
|
|
4889
4962
|
}, []);
|
|
4890
4963
|
return /* @__PURE__ */ s(
|
|
@@ -4925,9 +4998,9 @@ const Mc = ["highlight-light", "highlight-dark", "side-image"], D0 = ({
|
|
|
4925
4998
|
style: { display: "grid" },
|
|
4926
4999
|
children: [
|
|
4927
5000
|
/* @__PURE__ */ s(We, { isLoading: d, children: /* @__PURE__ */ M(V, { as: "h2", className: "post-card__heading", children: [
|
|
4928
|
-
/* @__PURE__ */ s(
|
|
5001
|
+
/* @__PURE__ */ s(ee, { as: "a", ...l, size: "m", "data-internal-link": "post", className: "post-card__link", children: i }),
|
|
4929
5002
|
e === "tutorial" && /* @__PURE__ */ s(
|
|
4930
|
-
|
|
5003
|
+
ee,
|
|
4931
5004
|
{
|
|
4932
5005
|
size: "xs",
|
|
4933
5006
|
py: "xxs-3",
|
|
@@ -4951,7 +5024,7 @@ const Mc = ["highlight-light", "highlight-dark", "side-image"], D0 = ({
|
|
|
4951
5024
|
isLoading: d
|
|
4952
5025
|
}
|
|
4953
5026
|
),
|
|
4954
|
-
t !== "highlight-dark" && /* @__PURE__ */ s(We, { isLoading: d, children: /* @__PURE__ */ s(
|
|
5027
|
+
t !== "highlight-dark" && /* @__PURE__ */ s(We, { isLoading: d, children: /* @__PURE__ */ s(ee, { mt: "xs", size: "s", hiddenBelow: "md", children: o }) })
|
|
4955
5028
|
]
|
|
4956
5029
|
}
|
|
4957
5030
|
)
|
|
@@ -4974,8 +5047,8 @@ const is = ({
|
|
|
4974
5047
|
gap: "s",
|
|
4975
5048
|
children: [
|
|
4976
5049
|
/* @__PURE__ */ M(V, { children: [
|
|
4977
|
-
/* @__PURE__ */ s(
|
|
4978
|
-
/* @__PURE__ */ s(
|
|
5050
|
+
/* @__PURE__ */ s(ee, { color: "primary", size: "m", fontWeight: "semi-bold", children: e }),
|
|
5051
|
+
/* @__PURE__ */ s(ee, { as: "div", size: "xs", mt: "xxs-3", italic: !0, children: n })
|
|
4979
5052
|
] }),
|
|
4980
5053
|
/* @__PURE__ */ s(
|
|
4981
5054
|
e0,
|
|
@@ -5008,8 +5081,8 @@ const os = ({
|
|
|
5008
5081
|
className: "contact-card__container",
|
|
5009
5082
|
px: "m",
|
|
5010
5083
|
children: [
|
|
5011
|
-
/* @__PURE__ */ s(
|
|
5012
|
-
/* @__PURE__ */ s(
|
|
5084
|
+
/* @__PURE__ */ s(ye, { size: "l", color: "primary", children: e }),
|
|
5085
|
+
/* @__PURE__ */ s(ee, { size: "s", children: t }),
|
|
5013
5086
|
/* @__PURE__ */ s(Ke, { as: "a", ...i, children: n })
|
|
5014
5087
|
]
|
|
5015
5088
|
}
|
|
@@ -5021,7 +5094,7 @@ const Tc = ["primary", "secondary"], tr = ({
|
|
|
5021
5094
|
sections: i,
|
|
5022
5095
|
...o
|
|
5023
5096
|
}) => /* @__PURE__ */ M(V, { bg: "white", p: "m", className: ie("summary-card", { [`summary-card--${e}`]: e }), ...o, children: [
|
|
5024
|
-
/* @__PURE__ */ s(
|
|
5097
|
+
/* @__PURE__ */ s(ye, { size: "m", color: "primary", children: t }),
|
|
5025
5098
|
/* @__PURE__ */ s(F, { flexDirection: "column", mt: "m", children: i.map(({ name: r, label: c, ...a }, l) => /* @__PURE__ */ M(be.Fragment, { children: [
|
|
5026
5099
|
/* @__PURE__ */ M(
|
|
5027
5100
|
F,
|
|
@@ -5034,8 +5107,8 @@ const Tc = ["primary", "secondary"], tr = ({
|
|
|
5034
5107
|
}),
|
|
5035
5108
|
...a,
|
|
5036
5109
|
children: [
|
|
5037
|
-
/* @__PURE__ */ s(
|
|
5038
|
-
/* @__PURE__ */ s(
|
|
5110
|
+
/* @__PURE__ */ s(ee, { color: e === "primary" ? "info" : void 0, children: e === "secondary" ? l + 1 : "•" }),
|
|
5111
|
+
/* @__PURE__ */ s(ee, { children: c })
|
|
5039
5112
|
]
|
|
5040
5113
|
}
|
|
5041
5114
|
),
|
|
@@ -5058,9 +5131,9 @@ const Ac = ["horizontal", "vertical"], ut = ({
|
|
|
5058
5131
|
className: ie("newsletter-card", `newsletter-card--${i}`),
|
|
5059
5132
|
children: [
|
|
5060
5133
|
/* @__PURE__ */ M(V, { className: "newsletter-card__intro", children: [
|
|
5061
|
-
/* @__PURE__ */ s(
|
|
5062
|
-
/* @__PURE__ */ s(
|
|
5063
|
-
/* @__PURE__ */ s(
|
|
5134
|
+
/* @__PURE__ */ s(ye, { size: "m", color: "accent", children: e }),
|
|
5135
|
+
/* @__PURE__ */ s(Ie, { name: "underline", color: "accent", width: "56px" }),
|
|
5136
|
+
/* @__PURE__ */ s(ee, { mt: "m", children: t })
|
|
5064
5137
|
] }),
|
|
5065
5138
|
/* @__PURE__ */ s(V, { className: "newsletter-card__form", children: n })
|
|
5066
5139
|
]
|
|
@@ -5116,7 +5189,7 @@ const B0 = (e) => ({
|
|
|
5116
5189
|
disabled: e === 1,
|
|
5117
5190
|
getLink: n
|
|
5118
5191
|
}),
|
|
5119
|
-
children: /* @__PURE__ */ s(
|
|
5192
|
+
children: /* @__PURE__ */ s(Ie, { name: "arrow" })
|
|
5120
5193
|
}
|
|
5121
5194
|
),
|
|
5122
5195
|
r.map((c, a) => /* @__PURE__ */ M(rt, { children: [
|
|
@@ -5141,7 +5214,7 @@ const B0 = (e) => ({
|
|
|
5141
5214
|
disabled: e === t,
|
|
5142
5215
|
getLink: n
|
|
5143
5216
|
}),
|
|
5144
|
-
children: /* @__PURE__ */ s(
|
|
5217
|
+
children: /* @__PURE__ */ s(Ie, { name: "arrow" })
|
|
5145
5218
|
}
|
|
5146
5219
|
)
|
|
5147
5220
|
] });
|
|
@@ -5260,14 +5333,14 @@ function us() {
|
|
|
5260
5333
|
case f:
|
|
5261
5334
|
return L;
|
|
5262
5335
|
default:
|
|
5263
|
-
var
|
|
5264
|
-
switch (
|
|
5336
|
+
var _e = L && L.$$typeof;
|
|
5337
|
+
switch (_e) {
|
|
5265
5338
|
case a:
|
|
5266
5339
|
case u:
|
|
5267
5340
|
case T:
|
|
5268
5341
|
case N:
|
|
5269
5342
|
case c:
|
|
5270
|
-
return
|
|
5343
|
+
return _e;
|
|
5271
5344
|
default:
|
|
5272
5345
|
return de;
|
|
5273
5346
|
}
|
|
@@ -5277,7 +5350,7 @@ function us() {
|
|
|
5277
5350
|
}
|
|
5278
5351
|
}
|
|
5279
5352
|
}
|
|
5280
|
-
var p = l, w = d, D = a, P = c, q = t, U = u, G = i, X = T, ne = N,
|
|
5353
|
+
var p = l, w = d, D = a, P = c, q = t, U = u, G = i, X = T, ne = N, Z = n, re = r, oe = o, W = f, pe = !1;
|
|
5281
5354
|
function ge(S) {
|
|
5282
5355
|
return pe || (pe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), x(S) || g(S) === l;
|
|
5283
5356
|
}
|
|
@@ -5314,10 +5387,10 @@ function us() {
|
|
|
5314
5387
|
function B(S) {
|
|
5315
5388
|
return g(S) === o;
|
|
5316
5389
|
}
|
|
5317
|
-
function
|
|
5390
|
+
function Q(S) {
|
|
5318
5391
|
return g(S) === f;
|
|
5319
5392
|
}
|
|
5320
|
-
se.AsyncMode = p, se.ConcurrentMode = w, se.ContextConsumer = D, se.ContextProvider = P, se.Element = q, se.ForwardRef = U, se.Fragment = G, se.Lazy = X, se.Memo = ne, se.Portal =
|
|
5393
|
+
se.AsyncMode = p, se.ConcurrentMode = w, se.ContextConsumer = D, se.ContextProvider = P, se.Element = q, se.ForwardRef = U, se.Fragment = G, se.Lazy = X, se.Memo = ne, se.Portal = Z, se.Profiler = re, se.StrictMode = oe, se.Suspense = W, se.isAsyncMode = ge, se.isConcurrentMode = x, se.isContextConsumer = k, se.isContextProvider = K, se.isElement = b, se.isForwardRef = v, se.isFragment = _, se.isLazy = I, se.isMemo = C, se.isPortal = z, se.isProfiler = H, se.isStrictMode = B, se.isSuspense = Q, se.isValidElementType = m, se.typeOf = g;
|
|
5321
5394
|
}()), se;
|
|
5322
5395
|
}
|
|
5323
5396
|
var Wt;
|
|
@@ -5494,8 +5567,8 @@ function ps() {
|
|
|
5494
5567
|
function y(x) {
|
|
5495
5568
|
if (process.env.NODE_ENV !== "production")
|
|
5496
5569
|
var k = {}, K = 0;
|
|
5497
|
-
function b(_, I, C, z, H, B,
|
|
5498
|
-
if (z = z || E, B = B || C,
|
|
5570
|
+
function b(_, I, C, z, H, B, Q) {
|
|
5571
|
+
if (z = z || E, B = B || C, Q !== n) {
|
|
5499
5572
|
if (l) {
|
|
5500
5573
|
var S = new Error(
|
|
5501
5574
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -5590,7 +5663,7 @@ function ps() {
|
|
|
5590
5663
|
for (var C = K[b], z = 0; z < x.length; z++)
|
|
5591
5664
|
if (T(C, x[z]))
|
|
5592
5665
|
return null;
|
|
5593
|
-
var H = JSON.stringify(x, function(
|
|
5666
|
+
var H = JSON.stringify(x, function(Q, S) {
|
|
5594
5667
|
var de = W(S);
|
|
5595
5668
|
return de === "symbol" ? String(S) : S;
|
|
5596
5669
|
});
|
|
@@ -5627,7 +5700,7 @@ function ps() {
|
|
|
5627
5700
|
}
|
|
5628
5701
|
function b(v, _, I, C, z) {
|
|
5629
5702
|
for (var H = [], B = 0; B < x.length; B++) {
|
|
5630
|
-
var
|
|
5703
|
+
var Q = x[B], S = Q(v, _, I, C, z, n);
|
|
5631
5704
|
if (S == null)
|
|
5632
5705
|
return null;
|
|
5633
5706
|
S.data && i(S.data, "expectedType") && H.push(S.data.expectedType);
|
|
@@ -5639,7 +5712,7 @@ function ps() {
|
|
|
5639
5712
|
}
|
|
5640
5713
|
function U() {
|
|
5641
5714
|
function x(k, K, b, v, _) {
|
|
5642
|
-
return
|
|
5715
|
+
return Z(k[K]) ? null : new R("Invalid " + v + " `" + _ + "` supplied to " + ("`" + b + "`, expected a ReactNode."));
|
|
5643
5716
|
}
|
|
5644
5717
|
return y(x);
|
|
5645
5718
|
}
|
|
@@ -5657,9 +5730,9 @@ function ps() {
|
|
|
5657
5730
|
var B = x[H];
|
|
5658
5731
|
if (typeof B != "function")
|
|
5659
5732
|
return G(v, _, I, H, W(B));
|
|
5660
|
-
var
|
|
5661
|
-
if (
|
|
5662
|
-
return
|
|
5733
|
+
var Q = B(C, H, v, _, I + "." + H, n);
|
|
5734
|
+
if (Q)
|
|
5735
|
+
return Q;
|
|
5663
5736
|
}
|
|
5664
5737
|
return null;
|
|
5665
5738
|
}
|
|
@@ -5672,15 +5745,15 @@ function ps() {
|
|
|
5672
5745
|
return new R("Invalid " + _ + " `" + I + "` of type `" + z + "` " + ("supplied to `" + v + "`, expected `object`."));
|
|
5673
5746
|
var H = t({}, K[b], x);
|
|
5674
5747
|
for (var B in H) {
|
|
5675
|
-
var
|
|
5676
|
-
if (i(x, B) && typeof
|
|
5677
|
-
return G(v, _, I, B, W(
|
|
5678
|
-
if (!
|
|
5748
|
+
var Q = x[B];
|
|
5749
|
+
if (i(x, B) && typeof Q != "function")
|
|
5750
|
+
return G(v, _, I, B, W(Q));
|
|
5751
|
+
if (!Q)
|
|
5679
5752
|
return new R(
|
|
5680
5753
|
"Invalid " + _ + " `" + I + "` key `" + B + "` supplied to `" + v + "`.\nBad object: " + JSON.stringify(K[b], null, " ") + `
|
|
5681
5754
|
Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
|
|
5682
5755
|
);
|
|
5683
|
-
var S =
|
|
5756
|
+
var S = Q(C, B, v, _, I + "." + B, n);
|
|
5684
5757
|
if (S)
|
|
5685
5758
|
return S;
|
|
5686
5759
|
}
|
|
@@ -5688,7 +5761,7 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
|
|
|
5688
5761
|
}
|
|
5689
5762
|
return y(k);
|
|
5690
5763
|
}
|
|
5691
|
-
function
|
|
5764
|
+
function Z(x) {
|
|
5692
5765
|
switch (typeof x) {
|
|
5693
5766
|
case "number":
|
|
5694
5767
|
case "string":
|
|
@@ -5698,7 +5771,7 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
|
|
|
5698
5771
|
return !x;
|
|
5699
5772
|
case "object":
|
|
5700
5773
|
if (Array.isArray(x))
|
|
5701
|
-
return x.every(
|
|
5774
|
+
return x.every(Z);
|
|
5702
5775
|
if (x === null || a(x))
|
|
5703
5776
|
return !0;
|
|
5704
5777
|
var k = f(x);
|
|
@@ -5706,12 +5779,12 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
|
|
|
5706
5779
|
var K = k.call(x), b;
|
|
5707
5780
|
if (k !== x.entries) {
|
|
5708
5781
|
for (; !(b = K.next()).done; )
|
|
5709
|
-
if (!
|
|
5782
|
+
if (!Z(b.value))
|
|
5710
5783
|
return !1;
|
|
5711
5784
|
} else
|
|
5712
5785
|
for (; !(b = K.next()).done; ) {
|
|
5713
5786
|
var v = b.value;
|
|
5714
|
-
if (v && !
|
|
5787
|
+
if (v && !Z(v[1]))
|
|
5715
5788
|
return !1;
|
|
5716
5789
|
}
|
|
5717
5790
|
} else
|
|
@@ -5919,8 +5992,8 @@ function ys() {
|
|
|
5919
5992
|
}
|
|
5920
5993
|
function p(L) {
|
|
5921
5994
|
if (typeof L == "object" && L !== null) {
|
|
5922
|
-
var
|
|
5923
|
-
switch (
|
|
5995
|
+
var _e = L.$$typeof;
|
|
5996
|
+
switch (_e) {
|
|
5924
5997
|
case e:
|
|
5925
5998
|
var ve = L.type;
|
|
5926
5999
|
switch (ve) {
|
|
@@ -5941,15 +6014,15 @@ function ys() {
|
|
|
5941
6014
|
case r:
|
|
5942
6015
|
return Le;
|
|
5943
6016
|
default:
|
|
5944
|
-
return
|
|
6017
|
+
return _e;
|
|
5945
6018
|
}
|
|
5946
6019
|
}
|
|
5947
6020
|
case t:
|
|
5948
|
-
return
|
|
6021
|
+
return _e;
|
|
5949
6022
|
}
|
|
5950
6023
|
}
|
|
5951
6024
|
}
|
|
5952
|
-
var w = c, D = r, P = e, q = l, U = n, G = E, X = f, ne = t,
|
|
6025
|
+
var w = c, D = r, P = e, q = l, U = n, G = E, X = f, ne = t, Z = o, re = i, oe = d, W = u, pe = !1, ge = !1;
|
|
5953
6026
|
function x(L) {
|
|
5954
6027
|
return pe || (pe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
5955
6028
|
}
|
|
@@ -5983,7 +6056,7 @@ function ys() {
|
|
|
5983
6056
|
function B(L) {
|
|
5984
6057
|
return p(L) === o;
|
|
5985
6058
|
}
|
|
5986
|
-
function
|
|
6059
|
+
function Q(L) {
|
|
5987
6060
|
return p(L) === i;
|
|
5988
6061
|
}
|
|
5989
6062
|
function S(L) {
|
|
@@ -5992,7 +6065,7 @@ function ys() {
|
|
|
5992
6065
|
function de(L) {
|
|
5993
6066
|
return p(L) === u;
|
|
5994
6067
|
}
|
|
5995
|
-
le.ContextConsumer = w, le.ContextProvider = D, le.Element = P, le.ForwardRef = q, le.Fragment = U, le.Lazy = G, le.Memo = X, le.Portal = ne, le.Profiler =
|
|
6068
|
+
le.ContextConsumer = w, le.ContextProvider = D, le.Element = P, le.ForwardRef = q, le.Fragment = U, le.Lazy = G, le.Memo = X, le.Portal = ne, le.Profiler = Z, le.StrictMode = re, le.Suspense = oe, le.SuspenseList = W, le.isAsyncMode = x, le.isConcurrentMode = k, le.isContextConsumer = K, le.isContextProvider = b, le.isElement = v, le.isForwardRef = _, le.isFragment = I, le.isLazy = C, le.isMemo = z, le.isPortal = H, le.isProfiler = B, le.isStrictMode = Q, le.isSuspense = S, le.isSuspenseList = de, le.isValidElementType = g, le.typeOf = p;
|
|
5996
6069
|
}()), le;
|
|
5997
6070
|
}
|
|
5998
6071
|
process.env.NODE_ENV === "production" ? J0.exports = bs() : J0.exports = ys();
|
|
@@ -6037,7 +6110,7 @@ const rn = (e) => typeof e == "object" && e != null && e.nodeType === 1, on = (e
|
|
|
6037
6110
|
const W = window.getComputedStyle(oe);
|
|
6038
6111
|
return { top: parseFloat(W.scrollMarginTop) || 0, right: parseFloat(W.scrollMarginRight) || 0, bottom: parseFloat(W.scrollMarginBottom) || 0, left: parseFloat(W.scrollMarginLeft) || 0 };
|
|
6039
6112
|
})(e);
|
|
6040
|
-
let ne = a === "start" || a === "nearest" ? p - q : a === "end" ? D + G : p + m / 2 - q + G,
|
|
6113
|
+
let ne = a === "start" || a === "nearest" ? p - q : a === "end" ? D + G : p + m / 2 - q + G, Z = l === "center" ? P + g / 2 - X + U : l === "end" ? w + U : P - X;
|
|
6041
6114
|
const re = [];
|
|
6042
6115
|
for (let oe = 0; oe < N.length; oe++) {
|
|
6043
6116
|
const W = N[oe], { height: pe, width: ge, top: x, right: k, bottom: K, left: b } = W.getBoundingClientRect();
|
|
@@ -6045,13 +6118,13 @@ const rn = (e) => typeof e == "object" && e != null && e.nodeType === 1, on = (e
|
|
|
6045
6118
|
return re;
|
|
6046
6119
|
const v = getComputedStyle(W), _ = parseInt(v.borderLeftWidth, 10), I = parseInt(v.borderTopWidth, 10), C = parseInt(v.borderRightWidth, 10), z = parseInt(v.borderBottomWidth, 10);
|
|
6047
6120
|
let H = 0, B = 0;
|
|
6048
|
-
const
|
|
6121
|
+
const Q = "offsetWidth" in W ? W.offsetWidth - W.clientWidth - _ - C : 0, S = "offsetHeight" in W ? W.offsetHeight - W.clientHeight - I - z : 0, de = "offsetWidth" in W ? W.offsetWidth === 0 ? 0 : ge / W.offsetWidth : 0, L = "offsetHeight" in W ? W.offsetHeight === 0 ? 0 : pe / W.offsetHeight : 0;
|
|
6049
6122
|
if (E === W)
|
|
6050
|
-
H = a === "start" ? ne : a === "end" ? ne - y : a === "nearest" ? E0(h, h + y, y, I, z, h + ne, h + ne + m, m) : ne - y / 2, B = l === "start" ?
|
|
6123
|
+
H = a === "start" ? ne : a === "end" ? ne - y : a === "nearest" ? E0(h, h + y, y, I, z, h + ne, h + ne + m, m) : ne - y / 2, B = l === "start" ? Z : l === "center" ? Z - R / 2 : l === "end" ? Z - R : E0(A, A + R, R, _, C, A + Z, A + Z + g, g), H = Math.max(0, H + h), B = Math.max(0, B + A);
|
|
6051
6124
|
else {
|
|
6052
|
-
H = a === "start" ? ne - x - I : a === "end" ? ne - K + z + S : a === "nearest" ? E0(x, K, pe, I, z + S, ne, ne + m, m) : ne - (x + pe / 2) + S / 2, B = l === "start" ?
|
|
6053
|
-
const { scrollLeft:
|
|
6054
|
-
H = L === 0 ? 0 : Math.max(0, Math.min(ve + H / L, W.scrollHeight - pe / L + S)), B = de === 0 ? 0 : Math.max(0, Math.min(
|
|
6125
|
+
H = a === "start" ? ne - x - I : a === "end" ? ne - K + z + S : a === "nearest" ? E0(x, K, pe, I, z + S, ne, ne + m, m) : ne - (x + pe / 2) + S / 2, B = l === "start" ? Z - b - _ : l === "center" ? Z - (b + ge / 2) + Q / 2 : l === "end" ? Z - k + C + Q : E0(b, k, ge, _, C + Q, Z, Z + g, g);
|
|
6126
|
+
const { scrollLeft: _e, scrollTop: ve } = W;
|
|
6127
|
+
H = L === 0 ? 0 : Math.max(0, Math.min(ve + H / L, W.scrollHeight - pe / L + S)), B = de === 0 ? 0 : Math.max(0, Math.min(_e + B / de, W.scrollWidth - ge / de + Q)), ne += ve - H, Z += _e - B;
|
|
6055
6128
|
}
|
|
6056
6129
|
re.push({ el: W, top: H, left: B });
|
|
6057
6130
|
}
|
|
@@ -6312,8 +6385,8 @@ var dr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
6312
6385
|
}, r.getRootProps = function(h, m) {
|
|
6313
6386
|
var g, p = h === void 0 ? {} : h, w = p.refKey, D = w === void 0 ? "ref" : w, P = p.ref, q = He(p, Rs), U = m === void 0 ? {} : m, G = U.suppressRefError, X = G === void 0 ? !1 : G;
|
|
6314
6387
|
r.getRootProps.called = !0, r.getRootProps.refKey = D, r.getRootProps.suppressRefError = X;
|
|
6315
|
-
var ne = r.getState(),
|
|
6316
|
-
return Y((g = {}, g[D] = a0(P, r.rootRef), g.role = "combobox", g["aria-expanded"] =
|
|
6388
|
+
var ne = r.getState(), Z = ne.isOpen;
|
|
6389
|
+
return Y((g = {}, g[D] = a0(P, r.rootRef), g.role = "combobox", g["aria-expanded"] = Z, g["aria-haspopup"] = "listbox", g["aria-owns"] = Z ? r.menuId : void 0, g["aria-labelledby"] = r.labelId, g), q);
|
|
6317
6390
|
}, r.keyDownHandlers = {
|
|
6318
6391
|
ArrowDown: function(m) {
|
|
6319
6392
|
var g = this;
|
|
@@ -6473,14 +6546,14 @@ var dr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
6473
6546
|
m.onChangeText;
|
|
6474
6547
|
var P = He(m, Ms), q, U = {};
|
|
6475
6548
|
q = "onChange";
|
|
6476
|
-
var G = r.getState(), X = G.inputValue, ne = G.isOpen,
|
|
6549
|
+
var G = r.getState(), X = G.inputValue, ne = G.isOpen, Z = G.highlightedIndex;
|
|
6477
6550
|
if (!P.disabled) {
|
|
6478
6551
|
var re;
|
|
6479
6552
|
U = (re = {}, re[q] = he(w, D, r.inputHandleChange), re.onKeyDown = he(g, r.inputHandleKeyDown), re.onBlur = he(p, r.inputHandleBlur), re);
|
|
6480
6553
|
}
|
|
6481
6554
|
return Y({
|
|
6482
6555
|
"aria-autocomplete": "list",
|
|
6483
|
-
"aria-activedescendant": ne && typeof
|
|
6556
|
+
"aria-activedescendant": ne && typeof Z == "number" && Z >= 0 ? r.getItemId(Z) : void 0,
|
|
6484
6557
|
"aria-controls": ne ? r.menuId : void 0,
|
|
6485
6558
|
"aria-labelledby": P && P["aria-label"] ? void 0 : r.labelId,
|
|
6486
6559
|
// https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion
|
|
@@ -6522,7 +6595,7 @@ var dr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
6522
6595
|
void 0
|
|
6523
6596
|
) : xs("getItemProps", "item") : q, G = He(g, As);
|
|
6524
6597
|
P === void 0 ? (r.items.push(U), P = r.items.indexOf(U)) : r.items[P] = U;
|
|
6525
|
-
var X = "onClick", ne = D,
|
|
6598
|
+
var X = "onClick", ne = D, Z = (m = {
|
|
6526
6599
|
// onMouseMove is used over onMouseEnter here. onMouseMove
|
|
6527
6600
|
// is only triggered on actual mouse movement while onMouseEnter
|
|
6528
6601
|
// can fire on DOM changes, interrupting keyboard navigation
|
|
@@ -6541,8 +6614,8 @@ var dr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
6541
6614
|
type: br
|
|
6542
6615
|
});
|
|
6543
6616
|
}), m), re = G.disabled ? {
|
|
6544
|
-
onMouseDown:
|
|
6545
|
-
} :
|
|
6617
|
+
onMouseDown: Z.onMouseDown
|
|
6618
|
+
} : Z;
|
|
6546
6619
|
return Y({
|
|
6547
6620
|
id: r.getItemId(P),
|
|
6548
6621
|
role: "option",
|
|
@@ -6625,7 +6698,7 @@ var dr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
6625
6698
|
this.setHighlightedIndex(u, c);
|
|
6626
6699
|
}
|
|
6627
6700
|
}, i.getStateAndHelpers = function() {
|
|
6628
|
-
var r = this.getState(), c = r.highlightedIndex, a = r.inputValue, l = r.selectedItem, d = r.isOpen, u = this.props.itemToString, f = this.id, E = this.getRootProps, N = this.getToggleButtonProps, T = this.getLabelProps, R = this.getMenuProps, y = this.getInputProps, A = this.getItemProps, h = this.openMenu, m = this.closeMenu, g = this.toggleMenu, p = this.selectItem, w = this.selectItemAtIndex, D = this.selectHighlightedItem, P = this.setHighlightedIndex, q = this.clearSelection, U = this.clearItems, G = this.reset, X = this.setItemCount, ne = this.unsetItemCount,
|
|
6701
|
+
var r = this.getState(), c = r.highlightedIndex, a = r.inputValue, l = r.selectedItem, d = r.isOpen, u = this.props.itemToString, f = this.id, E = this.getRootProps, N = this.getToggleButtonProps, T = this.getLabelProps, R = this.getMenuProps, y = this.getInputProps, A = this.getItemProps, h = this.openMenu, m = this.closeMenu, g = this.toggleMenu, p = this.selectItem, w = this.selectItemAtIndex, D = this.selectHighlightedItem, P = this.setHighlightedIndex, q = this.clearSelection, U = this.clearItems, G = this.reset, X = this.setItemCount, ne = this.unsetItemCount, Z = this.internalSetState;
|
|
6629
6702
|
return {
|
|
6630
6703
|
// prop getters
|
|
6631
6704
|
getRootProps: E,
|
|
@@ -6647,7 +6720,7 @@ var dr = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
6647
6720
|
clearItems: U,
|
|
6648
6721
|
setItemCount: X,
|
|
6649
6722
|
unsetItemCount: ne,
|
|
6650
|
-
setState:
|
|
6723
|
+
setState: Z,
|
|
6651
6724
|
// props
|
|
6652
6725
|
itemToString: u,
|
|
6653
6726
|
// derived
|
|
@@ -6828,7 +6901,7 @@ var Hs = ft(function(e, t) {
|
|
|
6828
6901
|
}, 200), zs = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Gr : ke, Us = "useId" in be ? function(t) {
|
|
6829
6902
|
var n = t.id, i = t.labelId, o = t.menuId, r = t.getItemId, c = t.toggleButtonId, a = t.inputId, l = "downshift-" + be.useId();
|
|
6830
6903
|
n || (n = l);
|
|
6831
|
-
var d =
|
|
6904
|
+
var d = Ee({
|
|
6832
6905
|
labelId: i || n + "-label",
|
|
6833
6906
|
menuId: o || n + "-menu",
|
|
6834
6907
|
getItemId: r || function(u) {
|
|
@@ -6839,7 +6912,7 @@ var Hs = ft(function(e, t) {
|
|
|
6839
6912
|
});
|
|
6840
6913
|
return d.current;
|
|
6841
6914
|
} : function(t) {
|
|
6842
|
-
var n = t.id, i = n === void 0 ? "downshift-" + or() : n, o = t.labelId, r = t.menuId, c = t.getItemId, a = t.toggleButtonId, l = t.inputId, d =
|
|
6915
|
+
var n = t.id, i = n === void 0 ? "downshift-" + or() : n, o = t.labelId, r = t.menuId, c = t.getItemId, a = t.toggleButtonId, l = t.inputId, d = Ee({
|
|
6843
6916
|
labelId: o || i + "-label",
|
|
6844
6917
|
menuId: r || i + "-menu",
|
|
6845
6918
|
getItemId: c || function(u) {
|
|
@@ -6867,17 +6940,17 @@ function gt(e) {
|
|
|
6867
6940
|
return "" + e.slice(0, 1).toUpperCase() + e.slice(1);
|
|
6868
6941
|
}
|
|
6869
6942
|
function Sr(e) {
|
|
6870
|
-
var t =
|
|
6943
|
+
var t = Ee(e);
|
|
6871
6944
|
return t.current = e, t;
|
|
6872
6945
|
}
|
|
6873
6946
|
function Fs(e, t, n, i) {
|
|
6874
|
-
var o =
|
|
6947
|
+
var o = Ee(), r = Ee(), c = xe(function(N, T) {
|
|
6875
6948
|
r.current = T, N = R0(N, T.props);
|
|
6876
6949
|
var R = e(N, T), y = T.props.stateReducer(N, Y({}, T, {
|
|
6877
6950
|
changes: R
|
|
6878
6951
|
}));
|
|
6879
6952
|
return y;
|
|
6880
|
-
}, [e]), a = Yr(c, t, n), l = a[0], d = a[1], u = Sr(t), f =
|
|
6953
|
+
}, [e]), a = Yr(c, t, n), l = a[0], d = a[1], u = Sr(t), f = xe(function(N) {
|
|
6881
6954
|
return d(Y({
|
|
6882
6955
|
props: u.current
|
|
6883
6956
|
}, N));
|
|
@@ -6924,7 +6997,7 @@ function f0(e, t, n) {
|
|
|
6924
6997
|
return i.length === 0 ? -1 : o !== void 0 && a === o ? o : r !== void 0 ? r : c ? i.indexOf(c) : n === 0 ? -1 : n < 0 ? i.length - 1 : 0;
|
|
6925
6998
|
}
|
|
6926
6999
|
function Ws(e, t, n, i) {
|
|
6927
|
-
var o =
|
|
7000
|
+
var o = Ee({
|
|
6928
7001
|
isMouseDown: !1,
|
|
6929
7002
|
isTouchMove: !1
|
|
6930
7003
|
});
|
|
@@ -6955,9 +7028,9 @@ var Or = function() {
|
|
|
6955
7028
|
return De;
|
|
6956
7029
|
};
|
|
6957
7030
|
process.env.NODE_ENV !== "production" && (Or = function() {
|
|
6958
|
-
for (var t =
|
|
7031
|
+
for (var t = Ee(!0), n = arguments.length, i = new Array(n), o = 0; o < n; o++)
|
|
6959
7032
|
i[o] = arguments[o];
|
|
6960
|
-
var r =
|
|
7033
|
+
var r = Ee(i.reduce(function(a, l) {
|
|
6961
7034
|
return a[l] = {}, a;
|
|
6962
7035
|
}, {}));
|
|
6963
7036
|
ke(function() {
|
|
@@ -6971,7 +7044,7 @@ process.env.NODE_ENV !== "production" && (Or = function() {
|
|
|
6971
7044
|
(!f || !f.current) && !d && console.error('downshift: The ref prop "' + u + '" from ' + a + " was not applied correctly on your element.");
|
|
6972
7045
|
}), t.current = !1;
|
|
6973
7046
|
});
|
|
6974
|
-
var c =
|
|
7047
|
+
var c = xe(function(a, l, d, u) {
|
|
6975
7048
|
r.current[a] = {
|
|
6976
7049
|
suppressRefError: l,
|
|
6977
7050
|
refKey: d,
|
|
@@ -6993,14 +7066,14 @@ function un(e, t, n) {
|
|
|
6993
7066
|
}, t);
|
|
6994
7067
|
}
|
|
6995
7068
|
function Gs(e) {
|
|
6996
|
-
var t = e.highlightedIndex, n = e.isOpen, i = e.itemRefs, o = e.getItemNodeFromIndex, r = e.menuElement, c = e.scrollIntoView, a =
|
|
7069
|
+
var t = e.highlightedIndex, n = e.isOpen, i = e.itemRefs, o = e.getItemNodeFromIndex, r = e.menuElement, c = e.scrollIntoView, a = Ee(!0);
|
|
6997
7070
|
return zs(function() {
|
|
6998
7071
|
t < 0 || !n || !Object.keys(i.current).length || (a.current === !1 ? a.current = !0 : c(o(t), r));
|
|
6999
7072
|
}, [t]), a;
|
|
7000
7073
|
}
|
|
7001
7074
|
var Rr = De;
|
|
7002
7075
|
process.env.NODE_ENV !== "production" && (Rr = function(t) {
|
|
7003
|
-
var n = t.isInitialMount, i = t.props, o = t.state, r =
|
|
7076
|
+
var n = t.isInitialMount, i = t.props, o = t.state, r = Ee(i);
|
|
7004
7077
|
ke(function() {
|
|
7005
7078
|
n || (pt(o, r.current, i), r.current = i);
|
|
7006
7079
|
}, [o, i, n]);
|
|
@@ -7188,7 +7261,7 @@ var Js = Y({}, Mr, {
|
|
|
7188
7261
|
onInputValueChange: O.func
|
|
7189
7262
|
});
|
|
7190
7263
|
function ec(e, t, n, i) {
|
|
7191
|
-
var o =
|
|
7264
|
+
var o = Ee(), r = Fs(e, t, n, i), c = r[0], a = r[1];
|
|
7192
7265
|
return ke(function() {
|
|
7193
7266
|
C0(t, "selectedItem") && (t.selectedItemChanged(o.current, t.selectedItem) && a({
|
|
7194
7267
|
type: Ot,
|
|
@@ -7310,10 +7383,10 @@ var rc = ["onMouseLeave", "refKey", "ref"], ic = ["item", "index", "refKey", "re
|
|
|
7310
7383
|
Rt.stateChangeTypes = Hr;
|
|
7311
7384
|
function Rt(e) {
|
|
7312
7385
|
e === void 0 && (e = {}), zr(e, Rt);
|
|
7313
|
-
var t = Y({}, tc, e), n = t.items, i = t.scrollIntoView, o = t.environment, r = t.getA11yStatusMessage, c = t.getA11ySelectionMessage, a = t.itemToString, l = ec(nc, t, Qs, Ys), d = l[0], u = l[1], f = d.isOpen, E = d.highlightedIndex, N = d.selectedItem, T = d.inputValue, R =
|
|
7386
|
+
var t = Y({}, tc, e), n = t.items, i = t.scrollIntoView, o = t.environment, r = t.getA11yStatusMessage, c = t.getA11ySelectionMessage, a = t.itemToString, l = ec(nc, t, Qs, Ys), d = l[0], u = l[1], f = d.isOpen, E = d.highlightedIndex, N = d.selectedItem, T = d.inputValue, R = Ee(null), y = Ee({}), A = Ee(null), h = Ee(null), m = Ee(!0), g = Us(t), p = Ee(), w = Sr({
|
|
7314
7387
|
state: d,
|
|
7315
7388
|
props: t
|
|
7316
|
-
}), D =
|
|
7389
|
+
}), D = xe(function(v) {
|
|
7317
7390
|
return y.current[g.getItemId(v)];
|
|
7318
7391
|
}, [g]);
|
|
7319
7392
|
un(r, [f, E, T, n], Y({
|
|
@@ -7410,26 +7483,26 @@ function Rt(e) {
|
|
|
7410
7483
|
}));
|
|
7411
7484
|
}
|
|
7412
7485
|
};
|
|
7413
|
-
}, [u, w]), X =
|
|
7486
|
+
}, [u, w]), X = xe(function(v) {
|
|
7414
7487
|
return Y({
|
|
7415
7488
|
id: g.labelId,
|
|
7416
7489
|
htmlFor: g.inputId
|
|
7417
7490
|
}, v);
|
|
7418
|
-
}, [g]), ne =
|
|
7419
|
-
var I, C = v === void 0 ? {} : v, z = C.onMouseLeave, H = C.refKey, B = H === void 0 ? "ref" : H,
|
|
7420
|
-
return U("getMenuProps",
|
|
7491
|
+
}, [g]), ne = xe(function(v, _) {
|
|
7492
|
+
var I, C = v === void 0 ? {} : v, z = C.onMouseLeave, H = C.refKey, B = H === void 0 ? "ref" : H, Q = C.ref, S = He(C, rc), de = _ === void 0 ? {} : _, L = de.suppressRefError, _e = L === void 0 ? !1 : L;
|
|
7493
|
+
return U("getMenuProps", _e, B, R), Y((I = {}, I[B] = a0(Q, function(ve) {
|
|
7421
7494
|
R.current = ve;
|
|
7422
7495
|
}), I.id = g.menuId, I.role = "listbox", I["aria-labelledby"] = S && S["aria-label"] ? void 0 : "" + g.labelId, I.onMouseLeave = he(z, function() {
|
|
7423
7496
|
u({
|
|
7424
7497
|
type: Tr
|
|
7425
7498
|
});
|
|
7426
7499
|
}), I), S);
|
|
7427
|
-
}, [u, U, g]),
|
|
7428
|
-
var _, I, C = v === void 0 ? {} : v, z = C.item, H = C.index, B = C.refKey,
|
|
7500
|
+
}, [u, U, g]), Z = xe(function(v) {
|
|
7501
|
+
var _, I, C = v === void 0 ? {} : v, z = C.item, H = C.index, B = C.refKey, Q = B === void 0 ? "ref" : B, S = C.ref, de = C.onMouseMove, L = C.onMouseDown, _e = C.onClick;
|
|
7429
7502
|
C.onPress;
|
|
7430
7503
|
var ve = C.disabled, Le = He(C, ic);
|
|
7431
7504
|
ve !== void 0 && console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.');
|
|
7432
|
-
var Ye = w.current, $e = Ye.props, Be = Ye.state, Xe = js(z, H, $e.items, "Pass either item or index to getItemProps!"),
|
|
7505
|
+
var Ye = w.current, $e = Ye.props, Be = Ye.state, Xe = js(z, H, $e.items, "Pass either item or index to getItemProps!"), J = Xe[0], Me = Xe[1], me = $e.isItemDisabled(J, Me), fe = "onClick", Fe = _e, Ne = function() {
|
|
7433
7506
|
Me !== Be.highlightedIndex && (P.current = !1, u({
|
|
7434
7507
|
type: Ar,
|
|
7435
7508
|
index: Me,
|
|
@@ -7443,34 +7516,34 @@ function Rt(e) {
|
|
|
7443
7516
|
}, Te = function(j) {
|
|
7444
7517
|
return j.preventDefault();
|
|
7445
7518
|
};
|
|
7446
|
-
return Y((_ = {}, _[
|
|
7519
|
+
return Y((_ = {}, _[Q] = a0(S, function($) {
|
|
7447
7520
|
$ && (y.current[g.getItemId(Me)] = $);
|
|
7448
7521
|
}), _["aria-disabled"] = me, _["aria-selected"] = "" + (Me === Be.highlightedIndex), _.id = g.getItemId(Me), _.role = "option", _), !me && (I = {}, I[fe] = he(Fe, Ve), I), {
|
|
7449
7522
|
onMouseMove: he(de, Ne),
|
|
7450
7523
|
onMouseDown: he(L, Te)
|
|
7451
7524
|
}, Le);
|
|
7452
|
-
}, [u, w, P, g]), re =
|
|
7525
|
+
}, [u, w, P, g]), re = xe(function(v) {
|
|
7453
7526
|
var _, I = v === void 0 ? {} : v, C = I.onClick;
|
|
7454
7527
|
I.onPress;
|
|
7455
|
-
var z = I.refKey, H = z === void 0 ? "ref" : z, B = I.ref,
|
|
7528
|
+
var z = I.refKey, H = z === void 0 ? "ref" : z, B = I.ref, Q = He(I, oc), S = w.current.state, de = function() {
|
|
7456
7529
|
u({
|
|
7457
7530
|
type: Dr
|
|
7458
7531
|
});
|
|
7459
7532
|
};
|
|
7460
7533
|
return Y((_ = {}, _[H] = a0(B, function(L) {
|
|
7461
7534
|
h.current = L;
|
|
7462
|
-
}), _["aria-controls"] = g.menuId, _["aria-expanded"] = S.isOpen, _.id = g.toggleButtonId, _.tabIndex = -1, _), !
|
|
7535
|
+
}), _["aria-controls"] = g.menuId, _["aria-expanded"] = S.isOpen, _.id = g.toggleButtonId, _.tabIndex = -1, _), !Q.disabled && Y({}, {
|
|
7463
7536
|
onClick: he(C, de)
|
|
7464
|
-
}),
|
|
7465
|
-
}, [u, w, g]), oe =
|
|
7466
|
-
var I, C = v === void 0 ? {} : v, z = C.onKeyDown, H = C.onChange, B = C.onInput,
|
|
7537
|
+
}), Q);
|
|
7538
|
+
}, [u, w, g]), oe = xe(function(v, _) {
|
|
7539
|
+
var I, C = v === void 0 ? {} : v, z = C.onKeyDown, H = C.onChange, B = C.onInput, Q = C.onBlur;
|
|
7467
7540
|
C.onChangeText;
|
|
7468
|
-
var S = C.onClick, de = C.refKey, L = de === void 0 ? "ref" : de,
|
|
7541
|
+
var S = C.onClick, de = C.refKey, L = de === void 0 ? "ref" : de, _e = C.ref, ve = He(C, ac), Le = _ === void 0 ? {} : _, Ye = Le.suppressRefError, $e = Ye === void 0 ? !1 : Ye;
|
|
7469
7542
|
U("getInputProps", $e, L, A);
|
|
7470
7543
|
var Be = w.current.state, Xe = function(Te) {
|
|
7471
7544
|
var $ = et(Te);
|
|
7472
7545
|
$ && G[$] && G[$](Te);
|
|
7473
|
-
},
|
|
7546
|
+
}, J = function(Te) {
|
|
7474
7547
|
u({
|
|
7475
7548
|
type: xt,
|
|
7476
7549
|
inputValue: Te.target.value
|
|
@@ -7490,46 +7563,46 @@ function Rt(e) {
|
|
|
7490
7563
|
}, fe = "onChange", Fe = {};
|
|
7491
7564
|
if (!ve.disabled) {
|
|
7492
7565
|
var Ne;
|
|
7493
|
-
Fe = (Ne = {}, Ne[fe] = he(H, B,
|
|
7566
|
+
Fe = (Ne = {}, Ne[fe] = he(H, B, J), Ne.onKeyDown = he(z, Xe), Ne.onBlur = he(Q, Me), Ne.onClick = he(S, me), Ne);
|
|
7494
7567
|
}
|
|
7495
|
-
return Y((I = {}, I[L] = a0(
|
|
7568
|
+
return Y((I = {}, I[L] = a0(_e, function(Ve) {
|
|
7496
7569
|
A.current = Ve;
|
|
7497
7570
|
}), I["aria-activedescendant"] = Be.isOpen && Be.highlightedIndex > -1 ? g.getItemId(Be.highlightedIndex) : "", I["aria-autocomplete"] = "list", I["aria-controls"] = g.menuId, I["aria-expanded"] = Be.isOpen, I["aria-labelledby"] = ve && ve["aria-label"] ? void 0 : g.labelId, I.autoComplete = "off", I.id = g.inputId, I.role = "combobox", I.value = Be.inputValue, I), Fe, ve);
|
|
7498
|
-
}, [U, w, g, G, u, q, o]), W =
|
|
7571
|
+
}, [U, w, g, G, u, q, o]), W = xe(function() {
|
|
7499
7572
|
u({
|
|
7500
7573
|
type: kr
|
|
7501
7574
|
});
|
|
7502
|
-
}, [u]), pe =
|
|
7575
|
+
}, [u]), pe = xe(function() {
|
|
7503
7576
|
u({
|
|
7504
7577
|
type: Lr
|
|
7505
7578
|
});
|
|
7506
|
-
}, [u]), ge =
|
|
7579
|
+
}, [u]), ge = xe(function() {
|
|
7507
7580
|
u({
|
|
7508
7581
|
type: Pr
|
|
7509
7582
|
});
|
|
7510
|
-
}, [u]), x =
|
|
7583
|
+
}, [u]), x = xe(function(v) {
|
|
7511
7584
|
u({
|
|
7512
7585
|
type: $r,
|
|
7513
7586
|
highlightedIndex: v
|
|
7514
7587
|
});
|
|
7515
|
-
}, [u]), k =
|
|
7588
|
+
}, [u]), k = xe(function(v) {
|
|
7516
7589
|
u({
|
|
7517
7590
|
type: St,
|
|
7518
7591
|
selectedItem: v
|
|
7519
7592
|
});
|
|
7520
|
-
}, [u]), K =
|
|
7593
|
+
}, [u]), K = xe(function(v) {
|
|
7521
7594
|
u({
|
|
7522
7595
|
type: Br,
|
|
7523
7596
|
inputValue: v
|
|
7524
7597
|
});
|
|
7525
|
-
}, [u]), b =
|
|
7598
|
+
}, [u]), b = xe(function() {
|
|
7526
7599
|
u({
|
|
7527
7600
|
type: Vr
|
|
7528
7601
|
});
|
|
7529
7602
|
}, [u]);
|
|
7530
7603
|
return {
|
|
7531
7604
|
// prop getters.
|
|
7532
|
-
getItemProps:
|
|
7605
|
+
getItemProps: Z,
|
|
7533
7606
|
getLabelProps: X,
|
|
7534
7607
|
getMenuProps: ne,
|
|
7535
7608
|
getInputProps: oe,
|
|
@@ -7636,8 +7709,8 @@ const Ur = Ce(
|
|
|
7636
7709
|
] }),
|
|
7637
7710
|
t.length === 0 && r && /* @__PURE__ */ M(V, { textAlign: "center", px: "xl", py: "m", children: [
|
|
7638
7711
|
/* @__PURE__ */ s("div", { className: "autocomplete-result__background-not-found" }),
|
|
7639
|
-
/* @__PURE__ */ s(
|
|
7640
|
-
/* @__PURE__ */ s(
|
|
7712
|
+
/* @__PURE__ */ s(ye, { size: "m", mt: "s", children: r.title }),
|
|
7713
|
+
/* @__PURE__ */ s(ee, { size: "xs", mt: "xxs", children: r.description })
|
|
7641
7714
|
] })
|
|
7642
7715
|
] })
|
|
7643
7716
|
);
|
|
@@ -7751,7 +7824,7 @@ const cc = ({
|
|
|
7751
7824
|
className: "footer__intro",
|
|
7752
7825
|
gap: "s",
|
|
7753
7826
|
children: [
|
|
7754
|
-
/* @__PURE__ */ s(
|
|
7827
|
+
/* @__PURE__ */ s(ye, { size: "s", children: e.title }),
|
|
7755
7828
|
/* @__PURE__ */ s(V, { as: "a", ...t, className: "footer__intro-link", children: e.description })
|
|
7756
7829
|
]
|
|
7757
7830
|
}
|
|
@@ -7769,7 +7842,7 @@ const cc = ({
|
|
|
7769
7842
|
/* @__PURE__ */ s(V, { mb: "xl", children: /* @__PURE__ */ s(F, { justifyContent: { xs: "center", md: "start" }, alignItems: "center", mb: "xxs", children: /* @__PURE__ */ s(_n, { name: "website", size: "2.5em" }) }) }),
|
|
7770
7843
|
/* @__PURE__ */ M(V, { children: [
|
|
7771
7844
|
/* @__PURE__ */ s(F, { flexDirection: { xs: "column", md: "row" }, gap: { md: "xl" }, children: o.map((a, l) => /* @__PURE__ */ M(V, { mb: "m", children: [
|
|
7772
|
-
a.title && /* @__PURE__ */ s(
|
|
7845
|
+
a.title && /* @__PURE__ */ s(ee, { fontWeight: "bold", mb: "xxs-2", children: a.title }),
|
|
7773
7846
|
a.description
|
|
7774
7847
|
] }, l)) }),
|
|
7775
7848
|
/* @__PURE__ */ M(F, { justifyContent: { xs: "center", md: "start" }, alignItems: "center", flexWrap: "wrap", gap: "s", children: [
|
|
@@ -7784,7 +7857,7 @@ const cc = ({
|
|
|
7784
7857
|
"data-social-link": a
|
|
7785
7858
|
},
|
|
7786
7859
|
children: /* @__PURE__ */ s(
|
|
7787
|
-
|
|
7860
|
+
Ie,
|
|
7788
7861
|
{
|
|
7789
7862
|
name: a,
|
|
7790
7863
|
size: "36",
|
|
@@ -7802,9 +7875,9 @@ const cc = ({
|
|
|
7802
7875
|
}
|
|
7803
7876
|
),
|
|
7804
7877
|
/* @__PURE__ */ M(F, { py: "s", justifyContent: "center", alignItems: "center", className: "footer__language-links-container", children: [
|
|
7805
|
-
/* @__PURE__ */ s(V, { mr: "xxs", children: /* @__PURE__ */ s(
|
|
7878
|
+
/* @__PURE__ */ s(V, { mr: "xxs", children: /* @__PURE__ */ s(Ie, { size: "28px", name: "language" }) }),
|
|
7806
7879
|
c.map(({ label: a, isActive: l, ...d }, u) => /* @__PURE__ */ M(be.Fragment, { children: [
|
|
7807
|
-
l ? /* @__PURE__ */ s(
|
|
7880
|
+
l ? /* @__PURE__ */ s(ee, { fontWeight: "bold", children: a }) : /* @__PURE__ */ s(e0, { ...d, "data-internal-link": "home", children: a }),
|
|
7808
7881
|
c.length - 1 !== u && /* @__PURE__ */ s(V, { mx: "s" })
|
|
7809
7882
|
] }, u))
|
|
7810
7883
|
] })
|
|
@@ -7863,7 +7936,7 @@ const k0 = ({
|
|
|
7863
7936
|
postCardList: t,
|
|
7864
7937
|
categoryEndingBlock: n
|
|
7865
7938
|
}) => /* @__PURE__ */ M(V, { children: [
|
|
7866
|
-
/* @__PURE__ */ s(
|
|
7939
|
+
/* @__PURE__ */ s(ye, { size: "m", mb: "l", color: "primary", children: e }),
|
|
7867
7940
|
t,
|
|
7868
7941
|
n && /* @__PURE__ */ M(Pe, { children: [
|
|
7869
7942
|
/* @__PURE__ */ s(h0, { mt: "m" }),
|
|
@@ -7897,7 +7970,7 @@ const uc = ({
|
|
|
7897
7970
|
width: { md: "content-container" },
|
|
7898
7971
|
className: "last-articles-block",
|
|
7899
7972
|
children: [
|
|
7900
|
-
/* @__PURE__ */ s(
|
|
7973
|
+
/* @__PURE__ */ s(ye, { size: "m", color: "primary", children: e }),
|
|
7901
7974
|
/* @__PURE__ */ s(F, { mt: "l", gap: "m", className: "last-articles-block__post-list", children: t.map((r, c) => /* @__PURE__ */ s(be.Fragment, { children: /* @__PURE__ */ s(D0, { variant: "highlight-light", ...r || {} }) }, (r == null ? void 0 : r.slug) ?? c)) }),
|
|
7902
7975
|
/* @__PURE__ */ s(F, { justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ s(Ke, { mt: "l", as: "a", ...i, children: n }) })
|
|
7903
7976
|
]
|
|
@@ -7924,9 +7997,9 @@ const dc = ({
|
|
|
7924
7997
|
className: "last-tutorials-block",
|
|
7925
7998
|
children: [
|
|
7926
7999
|
/* @__PURE__ */ M(V, { className: "last-tutorials-block__content", children: [
|
|
7927
|
-
/* @__PURE__ */ s(
|
|
7928
|
-
/* @__PURE__ */ s(
|
|
7929
|
-
/* @__PURE__ */ s(
|
|
8000
|
+
/* @__PURE__ */ s(ye, { size: "m", children: e }),
|
|
8001
|
+
/* @__PURE__ */ s(Ie, { name: "underline", color: "white", width: "56px" }),
|
|
8002
|
+
/* @__PURE__ */ s(ee, { mt: "l", children: t }),
|
|
7930
8003
|
/* @__PURE__ */ s(Ke, { mt: "l", as: "a", variant: "accent", ...r, children: o })
|
|
7931
8004
|
] }),
|
|
7932
8005
|
/* @__PURE__ */ s(F, { gap: "l", className: "last-tutorials-block__post-list", children: i.map((a, l) => /* @__PURE__ */ s(be.Fragment, { children: /* @__PURE__ */ s(D0, { variant: "highlight-dark", tutorialLabel: n, ...a || {} }) }, (a == null ? void 0 : a.slug) ?? l)) })
|
|
@@ -7942,9 +8015,8 @@ const dc = ({
|
|
|
7942
8015
|
/* @__PURE__ */ s(uc, { ...t }),
|
|
7943
8016
|
n && /* @__PURE__ */ s(dc, { ...n }),
|
|
7944
8017
|
/* @__PURE__ */ s(V, { my: "xl", mx: { xs: "s", md: "auto" }, width: { md: "content-container" }, children: /* @__PURE__ */ s(ut, { variant: "horizontal", ...i }) })
|
|
7945
|
-
] })
|
|
7946
|
-
|
|
7947
|
-
/* @__PURE__ */ s(we, { mb: "xxs", size: "m", color: "primary", children: e }),
|
|
8018
|
+
] }), fc = ({ title: e, authors: t, ...n }) => /* @__PURE__ */ M(V, { ...n, children: [
|
|
8019
|
+
/* @__PURE__ */ s(ye, { mb: "xxs", size: "m", color: "primary", children: e }),
|
|
7948
8020
|
/* @__PURE__ */ s(F, { mt: "l", flexDirection: "column", gap: "s", children: t.map((i, o) => /* @__PURE__ */ s(is, { ...i }, o)) })
|
|
7949
8021
|
] });
|
|
7950
8022
|
const q0 = (e) => {
|
|
@@ -7958,7 +8030,7 @@ const q0 = (e) => {
|
|
|
7958
8030
|
target: "_blank",
|
|
7959
8031
|
rel: "noreferrer",
|
|
7960
8032
|
children: /* @__PURE__ */ s(
|
|
7961
|
-
|
|
8033
|
+
Ie,
|
|
7962
8034
|
{
|
|
7963
8035
|
name: "twitter",
|
|
7964
8036
|
className: "share-links__social-media-icon share-links__social-media-icon--twitter",
|
|
@@ -7973,7 +8045,7 @@ const q0 = (e) => {
|
|
|
7973
8045
|
href: `https://www.facebook.com/sharer/sharer.php${q0({ u: e })}`,
|
|
7974
8046
|
target: "_blank",
|
|
7975
8047
|
rel: "noreferrer",
|
|
7976
|
-
children: /* @__PURE__ */ s(
|
|
8048
|
+
children: /* @__PURE__ */ s(Ie, { name: "facebook", className: "share-links__social-media-icon", size: "36" })
|
|
7977
8049
|
}
|
|
7978
8050
|
),
|
|
7979
8051
|
t.linkedIn && /* @__PURE__ */ s(
|
|
@@ -7982,17 +8054,18 @@ const q0 = (e) => {
|
|
|
7982
8054
|
href: `https://linkedin.com/shareArticle${q0({ url: e, mini: "true" })}`,
|
|
7983
8055
|
target: "_blank",
|
|
7984
8056
|
rel: "noreferrer",
|
|
7985
|
-
children: /* @__PURE__ */ s(
|
|
8057
|
+
children: /* @__PURE__ */ s(Ie, { name: "linkedin", className: "share-links__social-media-icon", size: "36" })
|
|
7986
8058
|
}
|
|
7987
8059
|
)
|
|
7988
8060
|
] }), gc = ({ title: e, date: t, readingTime: n, authors: i, shareLinks: o, ...r }) => /* @__PURE__ */ M(V, { ...r, textSize: "xs", children: [
|
|
7989
|
-
/* @__PURE__ */ s(
|
|
8061
|
+
/* @__PURE__ */ s(ye, { as: "h1", size: "xl", color: "primary", children: e }),
|
|
7990
8062
|
/* @__PURE__ */ M(F, { flexDirection: { xs: "column", md: "row" }, justifyContent: "between", gap: "xs", mt: "m", children: [
|
|
7991
8063
|
/* @__PURE__ */ s(lt, { variant: "secondary", date: t, readingTime: n, authors: i }),
|
|
7992
8064
|
/* @__PURE__ */ s(pc, { ...o })
|
|
7993
8065
|
] })
|
|
7994
|
-
] })
|
|
7995
|
-
|
|
8066
|
+
] });
|
|
8067
|
+
const mc = ({ relatedPostListTitle: e, posts: t, ...n }) => /* @__PURE__ */ M(V, { ...n, children: [
|
|
8068
|
+
/* @__PURE__ */ s(ye, { mb: "m", size: "m", color: "primary", children: e }),
|
|
7996
8069
|
t.map((i, o) => /* @__PURE__ */ s(D0, { ...i, mt: "s" }, (i == null ? void 0 : i.slug) ?? o))
|
|
7997
8070
|
] }), Bc = ["article", "tutorial"], hc = ({
|
|
7998
8071
|
variant: e = "article",
|
|
@@ -8007,9 +8080,9 @@ const q0 = (e) => {
|
|
|
8007
8080
|
previousLink: { label: d, ...u } = {},
|
|
8008
8081
|
nextLink: { label: f, ...E } = {}
|
|
8009
8082
|
}) => /* @__PURE__ */ M(Pe, { children: [
|
|
8010
|
-
/* @__PURE__ */ M(V, { children: [
|
|
8083
|
+
/* @__PURE__ */ M(V, { className: "post-page-content", children: [
|
|
8011
8084
|
/* @__PURE__ */ s(Yn, { ...t }),
|
|
8012
|
-
/* @__PURE__ */ s("img", { className: "post-
|
|
8085
|
+
/* @__PURE__ */ s("img", { className: "post-page-content__cover", ...n, alt: n.alt }),
|
|
8013
8086
|
/* @__PURE__ */ s(gc, { mt: "m", ...o }),
|
|
8014
8087
|
/* @__PURE__ */ s(h0, { mt: "m" }),
|
|
8015
8088
|
/* @__PURE__ */ s(tr, { mt: "l", hiddenAbove: "md", variant: e === "tutorial" ? "secondary" : "primary", ...i }),
|
|
@@ -8048,7 +8121,7 @@ const Hc = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ s(
|
|
|
8048
8121
|
children: [
|
|
8049
8122
|
e.avatarImageUrl ? /* @__PURE__ */ s("img", { src: e.avatarImageUrl, alt: e.name, className: "author-page__avatar-img" }) : /* @__PURE__ */ s("div", { className: "author-page__avatar-img author-page__avatar-img--empty" }),
|
|
8050
8123
|
/* @__PURE__ */ M(V, { mt: "s", ml: "s", children: [
|
|
8051
|
-
/* @__PURE__ */ s(
|
|
8124
|
+
/* @__PURE__ */ s(ee, { size: "m", fontWeight: "medium", color: "info", children: e.name }),
|
|
8052
8125
|
/* @__PURE__ */ s(V, { children: e.content }),
|
|
8053
8126
|
e.socialNetworks && /* @__PURE__ */ s(
|
|
8054
8127
|
F,
|
|
@@ -8061,12 +8134,12 @@ const Hc = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ s(
|
|
|
8061
8134
|
children: e.socialNetworks.map((i, o) => {
|
|
8062
8135
|
var r;
|
|
8063
8136
|
return /* @__PURE__ */ M(be.Fragment, { children: [
|
|
8064
|
-
/* @__PURE__ */ M(
|
|
8065
|
-
/* @__PURE__ */ s(
|
|
8137
|
+
/* @__PURE__ */ M(ee, { children: [
|
|
8138
|
+
/* @__PURE__ */ s(Ie, { name: i.name, size: "24px" }),
|
|
8066
8139
|
" ",
|
|
8067
8140
|
/* @__PURE__ */ s(e0, { href: i.url, target: "_blank", children: i.username })
|
|
8068
8141
|
] }),
|
|
8069
|
-
o !== (((r = e.socialNetworks) == null ? void 0 : r.length) ?? 0) - 1 && /* @__PURE__ */ s(
|
|
8142
|
+
o !== (((r = e.socialNetworks) == null ? void 0 : r.length) ?? 0) - 1 && /* @__PURE__ */ s(ee, { as: "span", mx: "xxs", children: "•" })
|
|
8070
8143
|
] }, i.name);
|
|
8071
8144
|
})
|
|
8072
8145
|
}
|
|
@@ -8076,7 +8149,7 @@ const Hc = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ s(
|
|
|
8076
8149
|
}
|
|
8077
8150
|
),
|
|
8078
8151
|
/* @__PURE__ */ s(h0, { className: "author-page__divider" }),
|
|
8079
|
-
/* @__PURE__ */ s(
|
|
8152
|
+
/* @__PURE__ */ s(ee, { size: "m", fontWeight: "medium", children: t }),
|
|
8080
8153
|
n
|
|
8081
8154
|
] }), zc = ({ title: e, description: t }) => /* @__PURE__ */ s(F, { justifyContent: "center", alignItems: "center", flex: "1", children: /* @__PURE__ */ s(er, { m: "xxl", title: e, description: t }) }), bc = ({
|
|
8082
8155
|
title: e,
|
|
@@ -8085,8 +8158,8 @@ const Hc = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ s(
|
|
|
8085
8158
|
searchNotFound: i,
|
|
8086
8159
|
isLoading: o = !1
|
|
8087
8160
|
}) => !o && i ? /* @__PURE__ */ s(er, { ...i }) : /* @__PURE__ */ M(V, { children: [
|
|
8088
|
-
/* @__PURE__ */ s(We, { isLoading: o, children: /* @__PURE__ */ s(
|
|
8089
|
-
/* @__PURE__ */ s(We, { isLoading: o, children: /* @__PURE__ */ s(
|
|
8161
|
+
/* @__PURE__ */ s(We, { isLoading: o, children: /* @__PURE__ */ s(ye, { size: "m", fontWeight: "medium", color: "primary", children: e }) }),
|
|
8162
|
+
/* @__PURE__ */ s(We, { isLoading: o, children: /* @__PURE__ */ s(ye, { size: "s", mb: "l", children: t }) }),
|
|
8090
8163
|
n
|
|
8091
8164
|
] }), Uc = ({ sidebar: e, ...t }) => /* @__PURE__ */ s(Pe, { children: /* @__PURE__ */ s(k0, { content: /* @__PURE__ */ s(bc, { ...t }), sidebar: e }) }), yc = typeof window > "u" ? () => {
|
|
8092
8165
|
} : nt.useLayoutEffect, jc = (e) => {
|
|
@@ -8118,10 +8191,10 @@ export {
|
|
|
8118
8191
|
F as Flex,
|
|
8119
8192
|
cc as Footer,
|
|
8120
8193
|
kc as Header,
|
|
8121
|
-
|
|
8194
|
+
ye as Heading,
|
|
8122
8195
|
ns as HomeIntroBlock,
|
|
8123
8196
|
$c as HomePage,
|
|
8124
|
-
|
|
8197
|
+
Ie as Icon,
|
|
8125
8198
|
k0 as LayoutContentWithSidebar,
|
|
8126
8199
|
Pc as LayoutTemplate,
|
|
8127
8200
|
e0 as Link,
|
|
@@ -8144,7 +8217,7 @@ export {
|
|
|
8144
8217
|
Tc as SummaryCardVariant,
|
|
8145
8218
|
di as Svgs,
|
|
8146
8219
|
wc as SyntaxHighlighter,
|
|
8147
|
-
|
|
8220
|
+
ee as Text,
|
|
8148
8221
|
Jn as TextHighlight,
|
|
8149
8222
|
Ic as buttonVariant,
|
|
8150
8223
|
Sc as closeButtonVariant,
|