@eleven-labs/design-system 0.37.5 → 0.38.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 +1 -1
- package/dist/constants/tokenVariablesDesktop.d.ts +1 -1
- package/dist/index.es.js +176 -185
- package/dist/index.umd.cjs +11 -11
- package/dist/pages/PostPage/PostPageContent.d.ts +2 -1
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
- 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
|
@@ -227,7 +227,7 @@ var xo = yr.exports;
|
|
|
227
227
|
const re = /* @__PURE__ */ ne(xo), ke = to;
|
|
228
228
|
const yp = ["primary", "secondary", "accent"], Me = ke(
|
|
229
229
|
({ as: e = "button", variant: t = "primary", isChoiceChip: n = !1, className: a, children: o, ...r }, s) => /* @__PURE__ */ $(
|
|
230
|
-
|
|
230
|
+
K,
|
|
231
231
|
{
|
|
232
232
|
...r,
|
|
233
233
|
display: "inline-flex",
|
|
@@ -845,7 +845,7 @@ const ze = {
|
|
|
845
845
|
);
|
|
846
846
|
};
|
|
847
847
|
const _p = ["website", "blog"], Sr = ke(({ name: e, size: t, ...n }, a) => /* @__PURE__ */ $(
|
|
848
|
-
|
|
848
|
+
K,
|
|
849
849
|
{
|
|
850
850
|
...n,
|
|
851
851
|
ref: a,
|
|
@@ -4022,24 +4022,24 @@ function bs(e, t, n, a, o, r, s, i, f) {
|
|
|
4022
4022
|
`)
|
|
4023
4023
|
};
|
|
4024
4024
|
if (z === 0) {
|
|
4025
|
-
var
|
|
4025
|
+
var W = g.slice(y + 1, x).concat(At({
|
|
4026
4026
|
children: [Y],
|
|
4027
4027
|
className: v.properties.className
|
|
4028
|
-
})), oe = b(
|
|
4028
|
+
})), oe = b(W, V);
|
|
4029
4029
|
h.push(oe);
|
|
4030
4030
|
} else if (z === S.length - 1) {
|
|
4031
|
-
var J = g[x + 1] && g[x + 1].children && g[x + 1].children[0],
|
|
4031
|
+
var J = g[x + 1] && g[x + 1].children && g[x + 1].children[0], G = {
|
|
4032
4032
|
type: "text",
|
|
4033
4033
|
value: "".concat(L)
|
|
4034
4034
|
};
|
|
4035
4035
|
if (J) {
|
|
4036
4036
|
var Z = At({
|
|
4037
|
-
children: [
|
|
4037
|
+
children: [G],
|
|
4038
4038
|
className: v.properties.className
|
|
4039
4039
|
});
|
|
4040
4040
|
g.splice(x + 1, 0, Z);
|
|
4041
4041
|
} else {
|
|
4042
|
-
var te = [
|
|
4042
|
+
var te = [G], w = b(te, V, v.properties.className);
|
|
4043
4043
|
h.push(w);
|
|
4044
4044
|
}
|
|
4045
4045
|
} else {
|
|
@@ -4100,7 +4100,7 @@ function ws(e, t) {
|
|
|
4100
4100
|
var o = a.language, r = a.children, s = a.style, i = s === void 0 ? t : s, f = a.customStyle, m = f === void 0 ? {} : f, g = a.codeTagProps, h = g === void 0 ? {
|
|
4101
4101
|
className: o ? "language-".concat(o) : void 0,
|
|
4102
4102
|
style: De(De({}, i['code[class*="language-"]']), i['code[class*="language-'.concat(o, '"]')])
|
|
4103
|
-
} : g, y = a.useInlineStyles, x = y === void 0 ? !0 : y, k = a.showLineNumbers, I = k === void 0 ? !1 : k, b = a.showInlineLineNumbers, R = b === void 0 ? !0 : b, u = a.startingLineNumber, c = u === void 0 ? 1 : u, p = a.lineNumberContainerStyle, d = a.lineNumberStyle, v = d === void 0 ? {} : d, _ = a.wrapLines, E = a.wrapLongLines, S = E === void 0 ? !1 : E, L = a.lineProps, z = L === void 0 ? {} : L, V = a.renderer, Y = a.PreTag,
|
|
4103
|
+
} : g, y = a.useInlineStyles, x = y === void 0 ? !0 : y, k = a.showLineNumbers, I = k === void 0 ? !1 : k, b = a.showInlineLineNumbers, R = b === void 0 ? !0 : b, u = a.startingLineNumber, c = u === void 0 ? 1 : u, p = a.lineNumberContainerStyle, d = a.lineNumberStyle, v = d === void 0 ? {} : d, _ = a.wrapLines, E = a.wrapLongLines, S = E === void 0 ? !1 : E, L = a.lineProps, z = L === void 0 ? {} : L, V = a.renderer, Y = a.PreTag, W = Y === void 0 ? "pre" : Y, oe = a.CodeTag, J = oe === void 0 ? "code" : oe, G = a.code, Z = G === void 0 ? (Array.isArray(r) ? r[0] : r) || "" : G, te = a.astGenerator, w = Qi(a, ps);
|
|
4104
4104
|
te = te || e;
|
|
4105
4105
|
var N = I ? /* @__PURE__ */ me.createElement(hs, {
|
|
4106
4106
|
containerStyle: p,
|
|
@@ -4121,7 +4121,7 @@ function ws(e, t) {
|
|
|
4121
4121
|
}) : h.style = De(De({}, h.style), {}, {
|
|
4122
4122
|
whiteSpace: "pre"
|
|
4123
4123
|
}), !te)
|
|
4124
|
-
return /* @__PURE__ */ me.createElement(
|
|
4124
|
+
return /* @__PURE__ */ me.createElement(W, C, N, /* @__PURE__ */ me.createElement(J, h, Z));
|
|
4125
4125
|
(_ === void 0 && V || S) && (_ = !0), V = V || ys;
|
|
4126
4126
|
var T = [{
|
|
4127
4127
|
type: "text",
|
|
@@ -4134,7 +4134,7 @@ function ws(e, t) {
|
|
|
4134
4134
|
});
|
|
4135
4135
|
O.language === null && (O.value = T);
|
|
4136
4136
|
var M = O.value.length + c, H = bs(O, _, z, I, R, c, M, v, S);
|
|
4137
|
-
return /* @__PURE__ */ me.createElement(
|
|
4137
|
+
return /* @__PURE__ */ me.createElement(W, C, /* @__PURE__ */ me.createElement(J, h, !R && N, V({
|
|
4138
4138
|
rows: H,
|
|
4139
4139
|
stylesheet: i,
|
|
4140
4140
|
useInlineStyles: x
|
|
@@ -4987,16 +4987,16 @@ function g1(e, t) {
|
|
|
4987
4987
|
return (n.position.indent || n.position.start) && (n.indent = n.position.indent || [], n.position = n.position.start), m1(e, n);
|
|
4988
4988
|
}
|
|
4989
4989
|
function m1(e, t) {
|
|
4990
|
-
var n = t.additional, a = t.nonTerminated, o = t.text, r = t.reference, s = t.warning, i = t.textContext, f = t.referenceContext, m = t.warningContext, g = t.position, h = t.indent || [], y = e.length, x = 0, k = -1, I = g.column || 1, b = g.line || 1, R = "", u = [], c, p, d, v, _, E, S, L, z, V, Y,
|
|
4990
|
+
var n = t.additional, a = t.nonTerminated, o = t.text, r = t.reference, s = t.warning, i = t.textContext, f = t.referenceContext, m = t.warningContext, g = t.position, h = t.indent || [], y = e.length, x = 0, k = -1, I = g.column || 1, b = g.line || 1, R = "", u = [], c, p, d, v, _, E, S, L, z, V, Y, W, oe, J, G, Z, te, w, N;
|
|
4991
4991
|
for (typeof n == "string" && (n = n.charCodeAt(0)), Z = F(), L = s ? U : r1, x--, y++; ++x < y; )
|
|
4992
4992
|
if (_ === W0 && (I = h[k] || 1), _ = e.charCodeAt(x), _ === G0) {
|
|
4993
4993
|
if (S = e.charCodeAt(x + 1), S === a1 || S === W0 || S === o1 || S === i1 || S === G0 || S === l1 || S !== S || n && S === n) {
|
|
4994
4994
|
R += Je(_), I++;
|
|
4995
4995
|
continue;
|
|
4996
4996
|
}
|
|
4997
|
-
for (oe = x + 1,
|
|
4997
|
+
for (oe = x + 1, W = oe, N = oe, S === u1 ? (N = ++W, S = e.charCodeAt(N), S === d1 || S === p1 ? (J = Jn, N = ++W) : J = Qn) : J = Qe, c = "", Y = "", v = "", G = Pt[J], N--; ++N < y && (S = e.charCodeAt(N), !!G(S)); )
|
|
4998
4998
|
v += Je(S), J === Qe && n1.call(U0, v) && (c = v, Y = U0[v]);
|
|
4999
|
-
d = e.charCodeAt(N) === s1, d && (N++, p = J === Qe ? e1(v) : !1, p && (c = v, Y = p)), w = 1 + N - oe, !d && !a || (v ? J === Qe ? (d && !Y ? L(Jr, 1) : (c !== v && (N =
|
|
4999
|
+
d = e.charCodeAt(N) === s1, d && (N++, p = J === Qe ? e1(v) : !1, p && (c = v, Y = p)), w = 1 + N - oe, !d && !a || (v ? J === Qe ? (d && !Y ? L(Jr, 1) : (c !== v && (N = W + c.length, w = 1 + N - W, d = !1), d || (z = c ? Gr : Zr, t.attribute ? (S = e.charCodeAt(N), S === c1 ? (L(z, w), Y = null) : Wr(S) ? Y = null : L(z, w)) : L(z, w))), E = Y) : (d || L(Yr, w), E = parseInt(v, e0[J]), h1(E) ? (L(Qr, w), E = Je(f1)) : E in q0 ? (L(rn, w), E = q0[E]) : (V = "", v1(E) && L(rn, w), E > 65535 && (E -= 65536, V += Je(E >>> 10 | 55296), E = 56320 | E & 1023), E = V + Je(E))) : J !== Qe && L(Xr, w)), E ? (C(), Z = F(), x = N - 1, I += N - oe + 1, u.push(E), te = F(), te.offset++, r && r.call(
|
|
5000
5000
|
f,
|
|
5001
5001
|
E,
|
|
5002
5002
|
{ start: Z, end: te },
|
|
@@ -5650,19 +5650,19 @@ var ea = { exports: {} };
|
|
|
5650
5650
|
for (var L = 0; L < S.length; ++L) {
|
|
5651
5651
|
if (_ && _.cause == E + "," + L)
|
|
5652
5652
|
return;
|
|
5653
|
-
var z = S[L], V = z.inside, Y = !!z.lookbehind,
|
|
5654
|
-
if (
|
|
5653
|
+
var z = S[L], V = z.inside, Y = !!z.lookbehind, W = !!z.greedy, oe = z.alias;
|
|
5654
|
+
if (W && !z.pattern.global) {
|
|
5655
5655
|
var J = z.pattern.toString().match(/[imsuy]*$/)[0];
|
|
5656
5656
|
z.pattern = RegExp(z.pattern.source, J + "g");
|
|
5657
5657
|
}
|
|
5658
|
-
for (var
|
|
5658
|
+
for (var G = z.pattern || z, Z = d.next, te = v; Z !== c.tail && !(_ && te >= _.reach); te += Z.value.length, Z = Z.next) {
|
|
5659
5659
|
var w = Z.value;
|
|
5660
5660
|
if (c.length > u.length)
|
|
5661
5661
|
return;
|
|
5662
5662
|
if (!(w instanceof f)) {
|
|
5663
5663
|
var N = 1, F;
|
|
5664
|
-
if (
|
|
5665
|
-
if (F = m(
|
|
5664
|
+
if (W) {
|
|
5665
|
+
if (F = m(G, te, u, Y), !F || F.index >= u.length)
|
|
5666
5666
|
break;
|
|
5667
5667
|
var O = F.index, U = F.index + F[0].length, C = te;
|
|
5668
5668
|
for (C += Z.value.length; O >= C; )
|
|
@@ -5672,7 +5672,7 @@ var ea = { exports: {} };
|
|
|
5672
5672
|
for (var T = Z; T !== c.tail && (C < U || typeof T.value == "string"); T = T.next)
|
|
5673
5673
|
N++, C += T.value.length;
|
|
5674
5674
|
N--, w = u.slice(te, C), F.index -= te;
|
|
5675
|
-
} else if (F = m(
|
|
5675
|
+
} else if (F = m(G, 0, w, Y), !F)
|
|
5676
5676
|
continue;
|
|
5677
5677
|
var O = F.index, M = F[0], H = w.slice(0, O), q = w.slice(O + M.length), B = te + w.length;
|
|
5678
5678
|
_ && B > _.reach && (_.reach = B);
|
|
@@ -6508,13 +6508,13 @@ const je = ke(({ as: e = "div", isLoading: t = !0, children: n, ...a }, o) => /*
|
|
|
6508
6508
|
) : n }));
|
|
6509
6509
|
je.displayName = "Skeleton";
|
|
6510
6510
|
const vt = (e) => /* @__PURE__ */ l(j, { ...e, as: "hr", className: "divider" });
|
|
6511
|
-
const W1 = (e) => /* @__PURE__ */ $(
|
|
6511
|
+
const W1 = (e) => /* @__PURE__ */ $(K, { as: "button", flexDirection: "column", gap: "xxs", className: "burger-button", ...e, children: [
|
|
6512
6512
|
/* @__PURE__ */ l(j, { className: "burger-button__line" }),
|
|
6513
6513
|
/* @__PURE__ */ l(j, { className: "burger-button__line" }),
|
|
6514
6514
|
/* @__PURE__ */ l(j, { className: "burger-button__line" })
|
|
6515
6515
|
] });
|
|
6516
6516
|
const xp = ["primary", "secondary"], ra = ({ variant: e, ...t }) => /* @__PURE__ */ $(
|
|
6517
|
-
|
|
6517
|
+
K,
|
|
6518
6518
|
{
|
|
6519
6519
|
as: "button",
|
|
6520
6520
|
...t,
|
|
@@ -6528,7 +6528,7 @@ const xp = ["primary", "secondary"], ra = ({ variant: e, ...t }) => /* @__PURE__
|
|
|
6528
6528
|
}
|
|
6529
6529
|
);
|
|
6530
6530
|
const aa = ({ items: e, ...t }) => /* @__PURE__ */ l(
|
|
6531
|
-
|
|
6531
|
+
K,
|
|
6532
6532
|
{
|
|
6533
6533
|
...t,
|
|
6534
6534
|
as: "ol",
|
|
@@ -6552,7 +6552,7 @@ const aa = ({ items: e, ...t }) => /* @__PURE__ */ l(
|
|
|
6552
6552
|
] });
|
|
6553
6553
|
const Ke = ke(
|
|
6554
6554
|
({ as: e = "a", icon: t, className: n, children: a, ...o }, r) => t ? /* @__PURE__ */ $(
|
|
6555
|
-
|
|
6555
|
+
K,
|
|
6556
6556
|
{
|
|
6557
6557
|
...o,
|
|
6558
6558
|
ref: r,
|
|
@@ -6589,7 +6589,7 @@ const Sp = [
|
|
|
6589
6589
|
const ia = ke(
|
|
6590
6590
|
({ input: e, buttonClose: t = {}, buttonSearch: n, className: a, ...o }, r) => /* @__PURE__ */ $(j, { ...o, className: re("search-field", a), ref: r, children: [
|
|
6591
6591
|
/* @__PURE__ */ l(j, { as: "input", ...e, className: "search-field__input" }),
|
|
6592
|
-
/* @__PURE__ */ $(
|
|
6592
|
+
/* @__PURE__ */ $(K, { justifyContent: "center", alignItems: "center", className: "search-field__actions-container", children: [
|
|
6593
6593
|
!!e.value && /* @__PURE__ */ l(ra, { ...t, variant: "secondary", className: "search-field__button-action" }),
|
|
6594
6594
|
/* @__PURE__ */ l(j, { as: "button", ...n, className: "search-field__button-action", children: /* @__PURE__ */ l(be, { name: "search", color: "primary", size: "2.5rem", mx: "xs" }) })
|
|
6595
6595
|
] })
|
|
@@ -6687,13 +6687,13 @@ const X1 = /* @__PURE__ */ ne(Z1), ca = ke(({ text: e, textQuery: t = "", ...n }
|
|
|
6687
6687
|
)) });
|
|
6688
6688
|
});
|
|
6689
6689
|
ca.displayName = "TextHighlight";
|
|
6690
|
-
const ua = ({ title: e, description: t, ...n }) => /* @__PURE__ */ $(
|
|
6690
|
+
const ua = ({ title: e, description: t, ...n }) => /* @__PURE__ */ $(K, { ...n, flexDirection: "column", alignItems: "center", className: "not-found-block", children: [
|
|
6691
6691
|
/* @__PURE__ */ l("div", { className: "not-found-block__background" }),
|
|
6692
6692
|
/* @__PURE__ */ l(ge, { size: "xl", mt: "s", children: e }),
|
|
6693
6693
|
/* @__PURE__ */ l(Q, { size: "s", mt: "xxs", children: t })
|
|
6694
6694
|
] });
|
|
6695
6695
|
const J1 = ({ title: e, description: t, breadcrumb: n, ...a }) => /* @__PURE__ */ l(j, { ...a, className: "category-intro-block", color: "white", children: /* @__PURE__ */ l(
|
|
6696
|
-
|
|
6696
|
+
K,
|
|
6697
6697
|
{
|
|
6698
6698
|
justifyContent: "center",
|
|
6699
6699
|
alignItems: "center",
|
|
@@ -6712,9 +6712,9 @@ const Q1 = ({
|
|
|
6712
6712
|
description: n,
|
|
6713
6713
|
elevenLabsLink: { label: a, ...o },
|
|
6714
6714
|
...r
|
|
6715
|
-
}) => /* @__PURE__ */ $(
|
|
6715
|
+
}) => /* @__PURE__ */ $(K, { ...r, className: re("home-intro-block", r.className), children: [
|
|
6716
6716
|
/* @__PURE__ */ $(
|
|
6717
|
-
|
|
6717
|
+
K,
|
|
6718
6718
|
{
|
|
6719
6719
|
alignItems: "baseline",
|
|
6720
6720
|
flexDirection: "column",
|
|
@@ -6759,7 +6759,7 @@ const kp = ["primary", "secondary"], c0 = ({
|
|
|
6759
6759
|
isLoading: o,
|
|
6760
6760
|
display: "inline-block",
|
|
6761
6761
|
style: { minWidth: 60, minHeight: 16 },
|
|
6762
|
-
children: /* @__PURE__ */ $(
|
|
6762
|
+
children: /* @__PURE__ */ $(K, { alignContent: "center", alignItems: "center", gap: "xxs", className: "post-metadata__date", children: [
|
|
6763
6763
|
e === "secondary" && /* @__PURE__ */ l(be, { name: "calendar", size: "24px", color: "light-grey" }),
|
|
6764
6764
|
t && /* @__PURE__ */ l(Q, { as: "span", children: t })
|
|
6765
6765
|
] })
|
|
@@ -6777,7 +6777,7 @@ const kp = ["primary", "secondary"], c0 = ({
|
|
|
6777
6777
|
isLoading: o,
|
|
6778
6778
|
display: "inline-block",
|
|
6779
6779
|
style: { minWidth: 26, minHeight: 16 },
|
|
6780
|
-
children: /* @__PURE__ */ $(
|
|
6780
|
+
children: /* @__PURE__ */ $(K, { alignContent: "center", alignItems: "center", gap: "xxs", children: [
|
|
6781
6781
|
e === "secondary" && /* @__PURE__ */ l(be, { name: "access-time", size: "24px", color: "light-grey" }),
|
|
6782
6782
|
n && /* @__PURE__ */ l(Q, { as: "span", children: `${n}mn` })
|
|
6783
6783
|
] })
|
|
@@ -6802,7 +6802,7 @@ const kp = ["primary", "secondary"], c0 = ({
|
|
|
6802
6802
|
isLoading: o,
|
|
6803
6803
|
display: "inline-block",
|
|
6804
6804
|
style: { minWidth: 50, minHeight: 16 },
|
|
6805
|
-
children: e === "secondary" ? /* @__PURE__ */ l(
|
|
6805
|
+
children: e === "secondary" ? /* @__PURE__ */ l(K, { alignContent: "center", alignItems: "center", gap: "xxs", className: "post-metadata__authors", children: h }) : /* @__PURE__ */ l(Ie, { children: h })
|
|
6806
6806
|
},
|
|
6807
6807
|
m
|
|
6808
6808
|
)
|
|
@@ -6815,7 +6815,7 @@ const kp = ["primary", "secondary"], c0 = ({
|
|
|
6815
6815
|
), f;
|
|
6816
6816
|
}, []);
|
|
6817
6817
|
return /* @__PURE__ */ l(
|
|
6818
|
-
|
|
6818
|
+
K,
|
|
6819
6819
|
{
|
|
6820
6820
|
...s,
|
|
6821
6821
|
alignItems: "center",
|
|
@@ -6841,78 +6841,68 @@ const Np = ["highlight-light", "highlight-dark", "side-image"], zt = ({
|
|
|
6841
6841
|
isLoading: g = !1,
|
|
6842
6842
|
tutorialLabel: h,
|
|
6843
6843
|
...y
|
|
6844
|
-
}) => /* @__PURE__ */ $(
|
|
6845
|
-
j,
|
|
6846
|
-
{
|
|
6847
|
-
|
|
6848
|
-
|
|
6849
|
-
|
|
6850
|
-
|
|
6851
|
-
|
|
6852
|
-
|
|
6853
|
-
|
|
6854
|
-
|
|
6855
|
-
|
|
6856
|
-
|
|
6857
|
-
|
|
6858
|
-
|
|
6859
|
-
|
|
6860
|
-
|
|
6861
|
-
|
|
6862
|
-
|
|
6863
|
-
|
|
6864
|
-
|
|
6865
|
-
|
|
6866
|
-
|
|
6867
|
-
|
|
6868
|
-
|
|
6869
|
-
|
|
6870
|
-
|
|
6871
|
-
|
|
6872
|
-
|
|
6873
|
-
|
|
6874
|
-
|
|
6875
|
-
|
|
6876
|
-
|
|
6877
|
-
|
|
6878
|
-
|
|
6879
|
-
|
|
6880
|
-
|
|
6881
|
-
|
|
6882
|
-
|
|
6883
|
-
|
|
6884
|
-
|
|
6885
|
-
|
|
6886
|
-
|
|
6887
|
-
|
|
6888
|
-
|
|
6889
|
-
|
|
6890
|
-
|
|
6891
|
-
|
|
6892
|
-
|
|
6893
|
-
|
|
6894
|
-
|
|
6895
|
-
|
|
6896
|
-
hiddenBelow: "md",
|
|
6897
|
-
lineClamp: n === "side-image" ? 2 : 4,
|
|
6898
|
-
className: "post-card__excerpt",
|
|
6899
|
-
children: r
|
|
6900
|
-
}
|
|
6901
|
-
) })
|
|
6902
|
-
] })
|
|
6903
|
-
]
|
|
6904
|
-
}
|
|
6905
|
-
);
|
|
6844
|
+
}) => /* @__PURE__ */ $(j, { as: "article", ...y, className: re("post-card", `post-card--${n}`), children: [
|
|
6845
|
+
/* @__PURE__ */ l(j, { className: "post-card__media", children: /* @__PURE__ */ l(je, { isLoading: g, children: /* @__PURE__ */ l(oa, { ...a, img: { ...a == null ? void 0 : a.img, className: "post-card__cover" } }) }) }),
|
|
6846
|
+
/* @__PURE__ */ $(j, { flex: "1", children: [
|
|
6847
|
+
/* @__PURE__ */ $(K, { justifyContent: "between", alignItems: "start", gap: "xs", children: [
|
|
6848
|
+
/* @__PURE__ */ l(je, { isLoading: g, className: "post-card__heading-wrapper", children: /* @__PURE__ */ l(
|
|
6849
|
+
ge,
|
|
6850
|
+
{
|
|
6851
|
+
as: "h2",
|
|
6852
|
+
size: "xs",
|
|
6853
|
+
lineClamp: n === "highlight-dark" ? 2 : { xs: 4, md: n === "side-image" ? 2 : 3 },
|
|
6854
|
+
className: "post-card__heading",
|
|
6855
|
+
children: /* @__PURE__ */ l(Q, { as: "a", ...m, size: "m", "data-internal-link": "post", className: "post-card__link", children: o })
|
|
6856
|
+
}
|
|
6857
|
+
) }),
|
|
6858
|
+
t === "tutorial" && /* @__PURE__ */ l(
|
|
6859
|
+
Q,
|
|
6860
|
+
{
|
|
6861
|
+
size: "xs",
|
|
6862
|
+
py: "xxs-3",
|
|
6863
|
+
px: "xxs-2",
|
|
6864
|
+
color: "primary",
|
|
6865
|
+
textTransform: "uppercase",
|
|
6866
|
+
fontWeight: "bold",
|
|
6867
|
+
className: "post-card__tutoriel-tag",
|
|
6868
|
+
children: h
|
|
6869
|
+
}
|
|
6870
|
+
)
|
|
6871
|
+
] }),
|
|
6872
|
+
/* @__PURE__ */ l(
|
|
6873
|
+
c0,
|
|
6874
|
+
{
|
|
6875
|
+
variant: "primary",
|
|
6876
|
+
mt: "xxs",
|
|
6877
|
+
date: s,
|
|
6878
|
+
readingTime: i,
|
|
6879
|
+
authors: f,
|
|
6880
|
+
isLoading: g
|
|
6881
|
+
}
|
|
6882
|
+
),
|
|
6883
|
+
n !== "highlight-dark" && /* @__PURE__ */ l(je, { isLoading: g, children: /* @__PURE__ */ l(
|
|
6884
|
+
Q,
|
|
6885
|
+
{
|
|
6886
|
+
mt: "xs",
|
|
6887
|
+
size: "s",
|
|
6888
|
+
hiddenBelow: "md",
|
|
6889
|
+
lineClamp: n === "side-image" ? 2 : 4,
|
|
6890
|
+
className: "post-card__excerpt",
|
|
6891
|
+
children: r
|
|
6892
|
+
}
|
|
6893
|
+
) })
|
|
6894
|
+
] })
|
|
6895
|
+
] });
|
|
6906
6896
|
const td = ({
|
|
6907
6897
|
name: e,
|
|
6908
6898
|
avatarImageUrl: t,
|
|
6909
6899
|
description: n,
|
|
6910
6900
|
link: { label: a, ...o },
|
|
6911
6901
|
...r
|
|
6912
|
-
}) => /* @__PURE__ */ $(
|
|
6902
|
+
}) => /* @__PURE__ */ $(K, { ...r, alignItems: "center", gap: "s", px: "s", py: "m", bg: "white", className: "author-card", children: [
|
|
6913
6903
|
t ? /* @__PURE__ */ l("img", { src: t, alt: e, className: "author-card__avatar-img" }) : /* @__PURE__ */ l("div", { className: "author-card__avatar-img author-card__avatar-img--empty" }),
|
|
6914
6904
|
/* @__PURE__ */ $(
|
|
6915
|
-
|
|
6905
|
+
K,
|
|
6916
6906
|
{
|
|
6917
6907
|
flexDirection: { xs: "column", md: "row" },
|
|
6918
6908
|
flex: "1",
|
|
@@ -6944,8 +6934,8 @@ const nd = ({
|
|
|
6944
6934
|
description: t,
|
|
6945
6935
|
link: { label: n, ...a },
|
|
6946
6936
|
...o
|
|
6947
|
-
}) => /* @__PURE__ */ l(
|
|
6948
|
-
|
|
6937
|
+
}) => /* @__PURE__ */ l(K, { ...o, justifyContent: "center", alignItems: "center", py: "l", className: "contact-card", children: /* @__PURE__ */ $(
|
|
6938
|
+
K,
|
|
6949
6939
|
{
|
|
6950
6940
|
flexDirection: "column",
|
|
6951
6941
|
justifyContent: "center",
|
|
@@ -6969,9 +6959,9 @@ const Cp = ["primary", "secondary"], da = ({
|
|
|
6969
6959
|
...o
|
|
6970
6960
|
}) => /* @__PURE__ */ $(j, { bg: "white", p: "m", className: re("summary-card", { [`summary-card--${e}`]: e }), ...o, children: [
|
|
6971
6961
|
/* @__PURE__ */ l(ge, { size: "m", color: "primary", children: t }),
|
|
6972
|
-
/* @__PURE__ */ l(
|
|
6962
|
+
/* @__PURE__ */ l(K, { flexDirection: "column", mt: "m", children: a.map(({ name: r, label: s, ...i }, f) => /* @__PURE__ */ $(me.Fragment, { children: [
|
|
6973
6963
|
/* @__PURE__ */ $(
|
|
6974
|
-
|
|
6964
|
+
K,
|
|
6975
6965
|
{
|
|
6976
6966
|
as: "a",
|
|
6977
6967
|
gap: "s",
|
|
@@ -6996,7 +6986,7 @@ const Op = ["horizontal", "vertical"], u0 = ({
|
|
|
6996
6986
|
variant: a = "vertical",
|
|
6997
6987
|
...o
|
|
6998
6988
|
}) => /* @__PURE__ */ $(
|
|
6999
|
-
|
|
6989
|
+
K,
|
|
7000
6990
|
{
|
|
7001
6991
|
...o,
|
|
7002
6992
|
p: "l",
|
|
@@ -7054,7 +7044,7 @@ const Kt = (e) => ({
|
|
|
7054
7044
|
...o
|
|
7055
7045
|
}) => {
|
|
7056
7046
|
const r = rd({ currentPage: e, totalPages: t, siblingCount: a });
|
|
7057
|
-
return /* @__PURE__ */ $(
|
|
7047
|
+
return /* @__PURE__ */ $(K, { ...o, className: "pagination", children: [
|
|
7058
7048
|
/* @__PURE__ */ l(
|
|
7059
7049
|
j,
|
|
7060
7050
|
{
|
|
@@ -7092,7 +7082,7 @@ const Kt = (e) => ({
|
|
|
7092
7082
|
}
|
|
7093
7083
|
)
|
|
7094
7084
|
] });
|
|
7095
|
-
}, Ap = ({ posts: e, pagination: t, isLoading: n = !1 }) => /* @__PURE__ */ l(Ie, { children: /* @__PURE__ */ $(
|
|
7085
|
+
}, Ap = ({ posts: e, pagination: t, isLoading: n = !1 }) => /* @__PURE__ */ l(Ie, { children: /* @__PURE__ */ $(K, { flexDirection: "column", gap: "m", children: [
|
|
7096
7086
|
e.map((a, o) => /* @__PURE__ */ l(me.Fragment, { children: /* @__PURE__ */ l(zt, { ...a || {}, isLoading: n }) }, (a == null ? void 0 : a.slug) ?? o)),
|
|
7097
7087
|
t && (t == null ? void 0 : t.totalPages) > 1 && /* @__PURE__ */ l(ad, { mx: "auto", ...t })
|
|
7098
7088
|
] }) });
|
|
@@ -7234,7 +7224,7 @@ function sd() {
|
|
|
7234
7224
|
}
|
|
7235
7225
|
}
|
|
7236
7226
|
}
|
|
7237
|
-
var d = f, v = m, _ = i, E = s, S = t, L = g, z = a, V = k, Y = x,
|
|
7227
|
+
var d = f, v = m, _ = i, E = s, S = t, L = g, z = a, V = k, Y = x, W = n, oe = r, J = o, G = h, Z = !1;
|
|
7238
7228
|
function te(D) {
|
|
7239
7229
|
return Z || (Z = !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.")), w(D) || p(D) === f;
|
|
7240
7230
|
}
|
|
@@ -7274,7 +7264,7 @@ function sd() {
|
|
|
7274
7264
|
function ae(D) {
|
|
7275
7265
|
return p(D) === h;
|
|
7276
7266
|
}
|
|
7277
|
-
se.AsyncMode = d, se.ConcurrentMode = v, se.ContextConsumer = _, se.ContextProvider = E, se.Element = S, se.ForwardRef = L, se.Fragment = z, se.Lazy = V, se.Memo = Y, se.Portal =
|
|
7267
|
+
se.AsyncMode = d, se.ConcurrentMode = v, se.ContextConsumer = _, se.ContextProvider = E, se.Element = S, se.ForwardRef = L, se.Fragment = z, se.Lazy = V, se.Memo = Y, se.Portal = W, se.Profiler = oe, se.StrictMode = J, se.Suspense = G, se.isAsyncMode = te, se.isConcurrentMode = w, se.isContextConsumer = N, se.isContextProvider = F, se.isElement = U, se.isForwardRef = C, se.isFragment = T, se.isLazy = O, se.isMemo = M, se.isPortal = H, se.isProfiler = q, se.isStrictMode = B, se.isSuspense = ae, se.isValidElementType = c, se.typeOf = p;
|
|
7278
7268
|
}()), se;
|
|
7279
7269
|
}
|
|
7280
7270
|
var Q0;
|
|
@@ -7475,7 +7465,7 @@ function ud() {
|
|
|
7475
7465
|
function N(F, U, C, T, O, M) {
|
|
7476
7466
|
var H = F[U], q = J(H);
|
|
7477
7467
|
if (q !== w) {
|
|
7478
|
-
var B =
|
|
7468
|
+
var B = G(H);
|
|
7479
7469
|
return new I(
|
|
7480
7470
|
"Invalid " + T + " `" + O + "` of type " + ("`" + B + "` supplied to `" + C + "`, expected ") + ("`" + w + "`."),
|
|
7481
7471
|
{ expectedType: w }
|
|
@@ -7548,7 +7538,7 @@ function ud() {
|
|
|
7548
7538
|
if (k(M, w[H]))
|
|
7549
7539
|
return null;
|
|
7550
7540
|
var q = JSON.stringify(w, function(ae, D) {
|
|
7551
|
-
var ue =
|
|
7541
|
+
var ue = G(D);
|
|
7552
7542
|
return ue === "symbol" ? String(D) : D;
|
|
7553
7543
|
});
|
|
7554
7544
|
return new I("Invalid " + T + " `" + O + "` of value `" + String(M) + "` " + ("supplied to `" + C + "`, expected one of " + q + "."));
|
|
@@ -7596,7 +7586,7 @@ function ud() {
|
|
|
7596
7586
|
}
|
|
7597
7587
|
function L() {
|
|
7598
7588
|
function w(N, F, U, C, T) {
|
|
7599
|
-
return
|
|
7589
|
+
return W(N[F]) ? null : new I("Invalid " + C + " `" + T + "` supplied to " + ("`" + U + "`, expected a ReactNode."));
|
|
7600
7590
|
}
|
|
7601
7591
|
return b(w);
|
|
7602
7592
|
}
|
|
@@ -7613,7 +7603,7 @@ function ud() {
|
|
|
7613
7603
|
for (var q in w) {
|
|
7614
7604
|
var B = w[q];
|
|
7615
7605
|
if (typeof B != "function")
|
|
7616
|
-
return z(C, T, O, q,
|
|
7606
|
+
return z(C, T, O, q, G(B));
|
|
7617
7607
|
var ae = B(M, q, C, T, O + "." + q, n);
|
|
7618
7608
|
if (ae)
|
|
7619
7609
|
return ae;
|
|
@@ -7631,7 +7621,7 @@ function ud() {
|
|
|
7631
7621
|
for (var B in q) {
|
|
7632
7622
|
var ae = w[B];
|
|
7633
7623
|
if (a(w, B) && typeof ae != "function")
|
|
7634
|
-
return z(C, T, O, B,
|
|
7624
|
+
return z(C, T, O, B, G(ae));
|
|
7635
7625
|
if (!ae)
|
|
7636
7626
|
return new I(
|
|
7637
7627
|
"Invalid " + T + " `" + O + "` key `" + B + "` supplied to `" + C + "`.\nBad object: " + JSON.stringify(F[U], null, " ") + `
|
|
@@ -7645,7 +7635,7 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
|
7645
7635
|
}
|
|
7646
7636
|
return b(N);
|
|
7647
7637
|
}
|
|
7648
|
-
function
|
|
7638
|
+
function W(w) {
|
|
7649
7639
|
switch (typeof w) {
|
|
7650
7640
|
case "number":
|
|
7651
7641
|
case "string":
|
|
@@ -7655,7 +7645,7 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
|
7655
7645
|
return !w;
|
|
7656
7646
|
case "object":
|
|
7657
7647
|
if (Array.isArray(w))
|
|
7658
|
-
return w.every(
|
|
7648
|
+
return w.every(W);
|
|
7659
7649
|
if (w === null || i(w))
|
|
7660
7650
|
return !0;
|
|
7661
7651
|
var N = h(w);
|
|
@@ -7663,12 +7653,12 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
|
7663
7653
|
var F = N.call(w), U;
|
|
7664
7654
|
if (N !== w.entries) {
|
|
7665
7655
|
for (; !(U = F.next()).done; )
|
|
7666
|
-
if (!
|
|
7656
|
+
if (!W(U.value))
|
|
7667
7657
|
return !1;
|
|
7668
7658
|
} else
|
|
7669
7659
|
for (; !(U = F.next()).done; ) {
|
|
7670
7660
|
var C = U.value;
|
|
7671
|
-
if (C && !
|
|
7661
|
+
if (C && !W(C[1]))
|
|
7672
7662
|
return !1;
|
|
7673
7663
|
}
|
|
7674
7664
|
} else
|
|
@@ -7685,7 +7675,7 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
|
7685
7675
|
var N = typeof w;
|
|
7686
7676
|
return Array.isArray(w) ? "array" : w instanceof RegExp ? "object" : oe(N, w) ? "symbol" : N;
|
|
7687
7677
|
}
|
|
7688
|
-
function
|
|
7678
|
+
function G(w) {
|
|
7689
7679
|
if (typeof w > "u" || w === null)
|
|
7690
7680
|
return "" + w;
|
|
7691
7681
|
var N = J(w);
|
|
@@ -7698,7 +7688,7 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
|
7698
7688
|
return N;
|
|
7699
7689
|
}
|
|
7700
7690
|
function Z(w) {
|
|
7701
|
-
var N =
|
|
7691
|
+
var N = G(w);
|
|
7702
7692
|
switch (N) {
|
|
7703
7693
|
case "array":
|
|
7704
7694
|
case "object":
|
|
@@ -7906,7 +7896,7 @@ function hd() {
|
|
|
7906
7896
|
}
|
|
7907
7897
|
}
|
|
7908
7898
|
}
|
|
7909
|
-
var v = s, _ = r, E = e, S = f, L = n, z = y, V = h, Y = t,
|
|
7899
|
+
var v = s, _ = r, E = e, S = f, L = n, z = y, V = h, Y = t, W = o, oe = a, J = m, G = g, Z = !1, te = !1;
|
|
7910
7900
|
function w(P) {
|
|
7911
7901
|
return Z || (Z = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
7912
7902
|
}
|
|
@@ -7949,7 +7939,7 @@ function hd() {
|
|
|
7949
7939
|
function ue(P) {
|
|
7950
7940
|
return d(P) === g;
|
|
7951
7941
|
}
|
|
7952
|
-
ce.ContextConsumer = v, ce.ContextProvider = _, ce.Element = E, ce.ForwardRef = S, ce.Fragment = L, ce.Lazy = z, ce.Memo = V, ce.Portal = Y, ce.Profiler =
|
|
7942
|
+
ce.ContextConsumer = v, ce.ContextProvider = _, ce.Element = E, ce.ForwardRef = S, ce.Fragment = L, ce.Lazy = z, ce.Memo = V, ce.Portal = Y, ce.Profiler = W, ce.StrictMode = oe, ce.Suspense = J, ce.SuspenseList = G, ce.isAsyncMode = w, ce.isConcurrentMode = N, ce.isContextConsumer = F, ce.isContextProvider = U, ce.isElement = C, ce.isForwardRef = T, ce.isFragment = O, ce.isLazy = M, ce.isMemo = H, ce.isPortal = q, ce.isProfiler = B, ce.isStrictMode = ae, ce.isSuspense = D, ce.isSuspenseList = ue, ce.isValidElementType = p, ce.typeOf = d;
|
|
7953
7943
|
}()), ce;
|
|
7954
7944
|
}
|
|
7955
7945
|
process.env.NODE_ENV === "production" ? sn.exports = md() : sn.exports = hd();
|
|
@@ -7991,26 +7981,26 @@ const cr = (e) => typeof e == "object" && e != null && e.nodeType === 1, ur = (e
|
|
|
7991
7981
|
k != null && k === document.body && Qt(k) && !Qt(document.documentElement) || k != null && Qt(k, g) && x.push(k);
|
|
7992
7982
|
}
|
|
7993
7983
|
const I = (a = (n = window.visualViewport) == null ? void 0 : n.width) != null ? a : innerWidth, b = (r = (o = window.visualViewport) == null ? void 0 : o.height) != null ? r : innerHeight, { scrollX: R, scrollY: u } = window, { height: c, width: p, top: d, right: v, bottom: _, left: E } = e.getBoundingClientRect(), { top: S, right: L, bottom: z, left: V } = ((J) => {
|
|
7994
|
-
const
|
|
7995
|
-
return { top: parseFloat(
|
|
7984
|
+
const G = window.getComputedStyle(J);
|
|
7985
|
+
return { top: parseFloat(G.scrollMarginTop) || 0, right: parseFloat(G.scrollMarginRight) || 0, bottom: parseFloat(G.scrollMarginBottom) || 0, left: parseFloat(G.scrollMarginLeft) || 0 };
|
|
7996
7986
|
})(e);
|
|
7997
|
-
let Y = i === "start" || i === "nearest" ? d - S : i === "end" ? _ + z : d + c / 2 - S + z,
|
|
7987
|
+
let Y = i === "start" || i === "nearest" ? d - S : i === "end" ? _ + z : d + c / 2 - S + z, W = f === "center" ? E + p / 2 - V + L : f === "end" ? v + L : E - V;
|
|
7998
7988
|
const oe = [];
|
|
7999
7989
|
for (let J = 0; J < x.length; J++) {
|
|
8000
|
-
const
|
|
7990
|
+
const G = x[J], { height: Z, width: te, top: w, right: N, bottom: F, left: U } = G.getBoundingClientRect();
|
|
8001
7991
|
if (s === "if-needed" && d >= 0 && E >= 0 && _ <= b && v <= I && d >= w && _ <= F && E >= U && v <= N)
|
|
8002
7992
|
return oe;
|
|
8003
|
-
const C = getComputedStyle(
|
|
7993
|
+
const C = getComputedStyle(G), T = parseInt(C.borderLeftWidth, 10), O = parseInt(C.borderTopWidth, 10), M = parseInt(C.borderRightWidth, 10), H = parseInt(C.borderBottomWidth, 10);
|
|
8004
7994
|
let q = 0, B = 0;
|
|
8005
|
-
const ae = "offsetWidth" in
|
|
8006
|
-
if (y ===
|
|
8007
|
-
q = i === "start" ? Y : i === "end" ? Y - b : i === "nearest" ? Ct(u, u + b, b, O, H, u + Y, u + Y + c, c) : Y - b / 2, B = f === "start" ?
|
|
7995
|
+
const ae = "offsetWidth" in G ? G.offsetWidth - G.clientWidth - T - M : 0, D = "offsetHeight" in G ? G.offsetHeight - G.clientHeight - O - H : 0, ue = "offsetWidth" in G ? G.offsetWidth === 0 ? 0 : te / G.offsetWidth : 0, P = "offsetHeight" in G ? G.offsetHeight === 0 ? 0 : Z / G.offsetHeight : 0;
|
|
7996
|
+
if (y === G)
|
|
7997
|
+
q = i === "start" ? Y : i === "end" ? Y - b : i === "nearest" ? Ct(u, u + b, b, O, H, u + Y, u + Y + c, c) : Y - b / 2, B = f === "start" ? W : f === "center" ? W - I / 2 : f === "end" ? W - I : Ct(R, R + I, I, T, M, R + W, R + W + p, p), q = Math.max(0, q + u), B = Math.max(0, B + R);
|
|
8008
7998
|
else {
|
|
8009
|
-
q = i === "start" ? Y - w - O : i === "end" ? Y - F + H + D : i === "nearest" ? Ct(w, F, Z, O, H + D, Y, Y + c, c) : Y - (w + Z / 2) + D / 2, B = f === "start" ?
|
|
8010
|
-
const { scrollLeft: we, scrollTop: ye } =
|
|
8011
|
-
q = P === 0 ? 0 : Math.max(0, Math.min(ye + q / P,
|
|
7999
|
+
q = i === "start" ? Y - w - O : i === "end" ? Y - F + H + D : i === "nearest" ? Ct(w, F, Z, O, H + D, Y, Y + c, c) : Y - (w + Z / 2) + D / 2, B = f === "start" ? W - U - T : f === "center" ? W - (U + te / 2) + ae / 2 : f === "end" ? W - N + M + ae : Ct(U, N, te, T, M + ae, W, W + p, p);
|
|
8000
|
+
const { scrollLeft: we, scrollTop: ye } = G;
|
|
8001
|
+
q = P === 0 ? 0 : Math.max(0, Math.min(ye + q / P, G.scrollHeight - Z / P + D)), B = ue === 0 ? 0 : Math.max(0, Math.min(we + B / ue, G.scrollWidth - te / ue + ae)), Y += ye - q, W += we - B;
|
|
8012
8002
|
}
|
|
8013
|
-
oe.push({ el:
|
|
8003
|
+
oe.push({ el: G, top: q, left: B });
|
|
8014
8004
|
}
|
|
8015
8005
|
return oe;
|
|
8016
8006
|
};
|
|
@@ -8269,8 +8259,8 @@ var wa = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
8269
8259
|
}, r.getRootProps = function(u, c) {
|
|
8270
8260
|
var p, d = u === void 0 ? {} : u, v = d.refKey, _ = v === void 0 ? "ref" : v, E = d.ref, S = Re(d, Id), L = c === void 0 ? {} : c, z = L.suppressRefError, V = z === void 0 ? !1 : z;
|
|
8271
8261
|
r.getRootProps.called = !0, r.getRootProps.refKey = _, r.getRootProps.suppressRefError = V;
|
|
8272
|
-
var Y = r.getState(),
|
|
8273
|
-
return X((p = {}, p[_] = nt(E, r.rootRef), p.role = "combobox", p["aria-expanded"] =
|
|
8262
|
+
var Y = r.getState(), W = Y.isOpen;
|
|
8263
|
+
return X((p = {}, p[_] = nt(E, r.rootRef), p.role = "combobox", p["aria-expanded"] = W, p["aria-haspopup"] = "listbox", p["aria-owns"] = W ? r.menuId : void 0, p["aria-labelledby"] = r.labelId, p), S);
|
|
8274
8264
|
}, r.keyDownHandlers = {
|
|
8275
8265
|
ArrowDown: function(c) {
|
|
8276
8266
|
var p = this;
|
|
@@ -8430,14 +8420,14 @@ var wa = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
8430
8420
|
c.onChangeText;
|
|
8431
8421
|
var E = Re(c, Nd), S, L = {};
|
|
8432
8422
|
S = "onChange";
|
|
8433
|
-
var z = r.getState(), V = z.inputValue, Y = z.isOpen,
|
|
8423
|
+
var z = r.getState(), V = z.inputValue, Y = z.isOpen, W = z.highlightedIndex;
|
|
8434
8424
|
if (!E.disabled) {
|
|
8435
8425
|
var oe;
|
|
8436
8426
|
L = (oe = {}, oe[S] = fe(v, _, r.inputHandleChange), oe.onKeyDown = fe(p, r.inputHandleKeyDown), oe.onBlur = fe(d, r.inputHandleBlur), oe);
|
|
8437
8427
|
}
|
|
8438
8428
|
return X({
|
|
8439
8429
|
"aria-autocomplete": "list",
|
|
8440
|
-
"aria-activedescendant": Y && typeof
|
|
8430
|
+
"aria-activedescendant": Y && typeof W == "number" && W >= 0 ? r.getItemId(W) : void 0,
|
|
8441
8431
|
"aria-controls": Y ? r.menuId : void 0,
|
|
8442
8432
|
"aria-labelledby": E && E["aria-label"] ? void 0 : r.labelId,
|
|
8443
8433
|
// https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion
|
|
@@ -8479,7 +8469,7 @@ var wa = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
8479
8469
|
void 0
|
|
8480
8470
|
) : _d("getItemProps", "item") : S, z = Re(p, Od);
|
|
8481
8471
|
E === void 0 ? (r.items.push(L), E = r.items.indexOf(L)) : r.items[E] = L;
|
|
8482
|
-
var V = "onClick", Y = _,
|
|
8472
|
+
var V = "onClick", Y = _, W = (c = {
|
|
8483
8473
|
// onMouseMove is used over onMouseEnter here. onMouseMove
|
|
8484
8474
|
// is only triggered on actual mouse movement while onMouseEnter
|
|
8485
8475
|
// can fire on DOM changes, interrupting keyboard navigation
|
|
@@ -8498,8 +8488,8 @@ var wa = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
8498
8488
|
type: Ca
|
|
8499
8489
|
});
|
|
8500
8490
|
}), c), oe = z.disabled ? {
|
|
8501
|
-
onMouseDown:
|
|
8502
|
-
} :
|
|
8491
|
+
onMouseDown: W.onMouseDown
|
|
8492
|
+
} : W;
|
|
8503
8493
|
return X({
|
|
8504
8494
|
id: r.getItemId(E),
|
|
8505
8495
|
role: "option",
|
|
@@ -8582,7 +8572,7 @@ var wa = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
8582
8572
|
this.setHighlightedIndex(g, s);
|
|
8583
8573
|
}
|
|
8584
8574
|
}, a.getStateAndHelpers = function() {
|
|
8585
|
-
var r = this.getState(), s = r.highlightedIndex, i = r.inputValue, f = r.selectedItem, m = r.isOpen, g = this.props.itemToString, h = this.id, y = this.getRootProps, x = this.getToggleButtonProps, k = this.getLabelProps, I = this.getMenuProps, b = this.getInputProps, R = this.getItemProps, u = this.openMenu, c = this.closeMenu, p = this.toggleMenu, d = this.selectItem, v = this.selectItemAtIndex, _ = this.selectHighlightedItem, E = this.setHighlightedIndex, S = this.clearSelection, L = this.clearItems, z = this.reset, V = this.setItemCount, Y = this.unsetItemCount,
|
|
8575
|
+
var r = this.getState(), s = r.highlightedIndex, i = r.inputValue, f = r.selectedItem, m = r.isOpen, g = this.props.itemToString, h = this.id, y = this.getRootProps, x = this.getToggleButtonProps, k = this.getLabelProps, I = this.getMenuProps, b = this.getInputProps, R = this.getItemProps, u = this.openMenu, c = this.closeMenu, p = this.toggleMenu, d = this.selectItem, v = this.selectItemAtIndex, _ = this.selectHighlightedItem, E = this.setHighlightedIndex, S = this.clearSelection, L = this.clearItems, z = this.reset, V = this.setItemCount, Y = this.unsetItemCount, W = this.internalSetState;
|
|
8586
8576
|
return {
|
|
8587
8577
|
// prop getters
|
|
8588
8578
|
getRootProps: y,
|
|
@@ -8604,7 +8594,7 @@ var wa = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0,
|
|
|
8604
8594
|
clearItems: L,
|
|
8605
8595
|
setItemCount: V,
|
|
8606
8596
|
unsetItemCount: Y,
|
|
8607
|
-
setState:
|
|
8597
|
+
setState: W,
|
|
8608
8598
|
// props
|
|
8609
8599
|
itemToString: g,
|
|
8610
8600
|
// derived
|
|
@@ -9381,7 +9371,7 @@ function C0(e) {
|
|
|
9381
9371
|
type: Ba
|
|
9382
9372
|
});
|
|
9383
9373
|
}), O), D);
|
|
9384
|
-
}, [g, L, p]),
|
|
9374
|
+
}, [g, L, p]), W = _e(function(C) {
|
|
9385
9375
|
var T, O, M = C === void 0 ? {} : C, H = M.item, q = M.index, B = M.refKey, ae = B === void 0 ? "ref" : B, D = M.ref, ue = M.onMouseMove, P = M.onMouseDown, we = M.onClick;
|
|
9386
9376
|
M.onPress;
|
|
9387
9377
|
var ye = M.disabled, Xe = Re(M, tp);
|
|
@@ -9452,7 +9442,7 @@ function C0(e) {
|
|
|
9452
9442
|
return X((O = {}, O[P] = nt(we, function(We) {
|
|
9453
9443
|
R.current = We;
|
|
9454
9444
|
}), O["aria-activedescendant"] = Pe.isOpen && Pe.highlightedIndex > -1 ? p.getItemId(Pe.highlightedIndex) : "", O["aria-autocomplete"] = "list", O["aria-controls"] = p.menuId, O["aria-expanded"] = Pe.isOpen, O["aria-labelledby"] = ye && ye["aria-label"] ? void 0 : p.labelId, O.autoComplete = "off", O.id = p.inputId, O.role = "combobox", O.value = Pe.inputValue, O), Et, ye);
|
|
9455
|
-
}, [L, v, p, z, g, S, o]),
|
|
9445
|
+
}, [L, v, p, z, g, S, o]), G = _e(function() {
|
|
9456
9446
|
g({
|
|
9457
9447
|
type: Ua
|
|
9458
9448
|
});
|
|
@@ -9486,13 +9476,13 @@ function C0(e) {
|
|
|
9486
9476
|
}, [g]);
|
|
9487
9477
|
return {
|
|
9488
9478
|
// prop getters.
|
|
9489
|
-
getItemProps:
|
|
9479
|
+
getItemProps: W,
|
|
9490
9480
|
getLabelProps: V,
|
|
9491
9481
|
getMenuProps: Y,
|
|
9492
9482
|
getInputProps: J,
|
|
9493
9483
|
getToggleButtonProps: oe,
|
|
9494
9484
|
// actions.
|
|
9495
|
-
toggleMenu:
|
|
9485
|
+
toggleMenu: G,
|
|
9496
9486
|
openMenu: te,
|
|
9497
9487
|
closeMenu: Z,
|
|
9498
9488
|
setHighlightedIndex: w,
|
|
@@ -9552,7 +9542,7 @@ const Ja = ke(
|
|
|
9552
9542
|
t.map(({ slug: m, title: g, date: h, authors: y, link: x }, k) => {
|
|
9553
9543
|
const I = s === k;
|
|
9554
9544
|
return /* @__PURE__ */ l(me.Fragment, { children: /* @__PURE__ */ $(
|
|
9555
|
-
|
|
9545
|
+
K,
|
|
9556
9546
|
{
|
|
9557
9547
|
alignItems: "center",
|
|
9558
9548
|
gap: "xxs",
|
|
@@ -9668,7 +9658,7 @@ const Tp = ({
|
|
|
9668
9658
|
autocomplete: i,
|
|
9669
9659
|
onToggleMenu: f,
|
|
9670
9660
|
menuIsOpen: m = !1
|
|
9671
|
-
}) => /* @__PURE__ */ $(
|
|
9661
|
+
}) => /* @__PURE__ */ $(K, { as: "header", justifyContent: "between", alignItems: "center", bg: "white", p: "m", className: "header", children: [
|
|
9672
9662
|
/* @__PURE__ */ l(j, { as: "a", ...e, color: "primary", children: /* @__PURE__ */ l(Sr, { name: "blog", className: "header__logo" }) }),
|
|
9673
9663
|
/* @__PURE__ */ $(j, { className: re("header__menu", { "header__menu--is-open": m }), children: [
|
|
9674
9664
|
t.map(({ label: g, ...h }, y) => /* @__PURE__ */ l(Ke, { as: "a", ...h, "data-internal-link": "category", className: "header__menu-item", children: g }, y)),
|
|
@@ -9676,7 +9666,7 @@ const Tp = ({
|
|
|
9676
9666
|
/* @__PURE__ */ l(j, { className: "header__separator" }),
|
|
9677
9667
|
/* @__PURE__ */ l(j, { as: "a", ...o, "data-internal-link": "category", className: "header__menu-item", children: a })
|
|
9678
9668
|
] }),
|
|
9679
|
-
/* @__PURE__ */ l(
|
|
9669
|
+
/* @__PURE__ */ l(K, { justifyContent: "center", alignItems: "center", mt: "m", hiddenAbove: "md", children: /* @__PURE__ */ l(Me, { as: "a", ...s, children: r }) })
|
|
9680
9670
|
] }),
|
|
9681
9671
|
/* @__PURE__ */ l(Qa, { hiddenBelow: "md", ...i }),
|
|
9682
9672
|
m ? /* @__PURE__ */ l(ra, { hiddenAbove: "md", onClick: f }) : /* @__PURE__ */ l(W1, { hiddenAbove: "md", onClick: f })
|
|
@@ -9699,7 +9689,7 @@ const op = ({
|
|
|
9699
9689
|
className: "footer",
|
|
9700
9690
|
children: [
|
|
9701
9691
|
/* @__PURE__ */ $(
|
|
9702
|
-
|
|
9692
|
+
K,
|
|
9703
9693
|
{
|
|
9704
9694
|
flexDirection: { xs: "column", md: "row" },
|
|
9705
9695
|
justifyContent: "center",
|
|
@@ -9715,7 +9705,7 @@ const op = ({
|
|
|
9715
9705
|
}
|
|
9716
9706
|
),
|
|
9717
9707
|
/* @__PURE__ */ $(
|
|
9718
|
-
|
|
9708
|
+
K,
|
|
9719
9709
|
{
|
|
9720
9710
|
flexDirection: { xs: "column", md: "row" },
|
|
9721
9711
|
justifyContent: "around",
|
|
@@ -9724,13 +9714,13 @@ const op = ({
|
|
|
9724
9714
|
pb: { xs: "l", md: "xl" },
|
|
9725
9715
|
mx: "s",
|
|
9726
9716
|
children: [
|
|
9727
|
-
/* @__PURE__ */ l(j, { mb: "xl", children: /* @__PURE__ */ l(
|
|
9717
|
+
/* @__PURE__ */ l(j, { mb: "xl", children: /* @__PURE__ */ l(K, { justifyContent: { xs: "center", md: "start" }, alignItems: "center", mb: "xxs", children: /* @__PURE__ */ l(Sr, { name: "website", size: "2.5em" }) }) }),
|
|
9728
9718
|
/* @__PURE__ */ $(j, { children: [
|
|
9729
|
-
/* @__PURE__ */ l(
|
|
9719
|
+
/* @__PURE__ */ l(K, { flexDirection: { xs: "column", md: "row" }, gap: { md: "xl" }, children: o.map((i, f) => /* @__PURE__ */ $(j, { mb: "m", children: [
|
|
9730
9720
|
i.title && /* @__PURE__ */ l(Q, { fontWeight: "bold", mb: "xxs-2", children: i.title }),
|
|
9731
9721
|
i.description
|
|
9732
9722
|
] }, f)) }),
|
|
9733
|
-
/* @__PURE__ */ $(
|
|
9723
|
+
/* @__PURE__ */ $(K, { justifyContent: { xs: "center", md: "start" }, alignItems: "center", flexWrap: "wrap", gap: "s", children: [
|
|
9734
9724
|
r.map(({ iconName: i, ...f }, m) => /* @__PURE__ */ l(
|
|
9735
9725
|
"a",
|
|
9736
9726
|
{
|
|
@@ -9759,7 +9749,7 @@ const op = ({
|
|
|
9759
9749
|
]
|
|
9760
9750
|
}
|
|
9761
9751
|
),
|
|
9762
|
-
/* @__PURE__ */ $(
|
|
9752
|
+
/* @__PURE__ */ $(K, { py: "s", justifyContent: "center", alignItems: "center", className: "footer__language-links-container", children: [
|
|
9763
9753
|
/* @__PURE__ */ l(j, { mr: "xxs", children: /* @__PURE__ */ l(be, { size: "28px", name: "language" }) }),
|
|
9764
9754
|
s.map(({ label: i, isActive: f, ...m }, g) => /* @__PURE__ */ $(me.Fragment, { children: [
|
|
9765
9755
|
f ? /* @__PURE__ */ l(Q, { fontWeight: "bold", children: i }) : /* @__PURE__ */ l(Ke, { ...m, "data-internal-link": "home", children: i }),
|
|
@@ -9776,8 +9766,8 @@ const ip = ({
|
|
|
9776
9766
|
...o
|
|
9777
9767
|
}) => /* @__PURE__ */ $(j, { ...o, my: "xl", className: "last-articles-block container-content", children: [
|
|
9778
9768
|
/* @__PURE__ */ l(ge, { size: "m", color: "primary", children: e }),
|
|
9779
|
-
/* @__PURE__ */ l(
|
|
9780
|
-
/* @__PURE__ */ l(
|
|
9769
|
+
/* @__PURE__ */ l(K, { mt: "l", gap: "m", className: "last-articles-block__post-list", children: t.map((r, s) => /* @__PURE__ */ l(me.Fragment, { children: /* @__PURE__ */ l(zt, { variant: "highlight-light", ...r || {} }) }, (r == null ? void 0 : r.slug) ?? s)) }),
|
|
9770
|
+
/* @__PURE__ */ l(K, { justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ l(Me, { mt: "l", as: "a", ...a, children: n }) })
|
|
9781
9771
|
] });
|
|
9782
9772
|
const sp = ({
|
|
9783
9773
|
title: e,
|
|
@@ -9787,7 +9777,7 @@ const sp = ({
|
|
|
9787
9777
|
linkSeeMore: { label: o, ...r },
|
|
9788
9778
|
...s
|
|
9789
9779
|
}) => /* @__PURE__ */ l(j, { bg: "primary", color: "white", children: /* @__PURE__ */ $(
|
|
9790
|
-
|
|
9780
|
+
K,
|
|
9791
9781
|
{
|
|
9792
9782
|
flexDirection: { xs: "column", md: "row" },
|
|
9793
9783
|
justifyContent: "center",
|
|
@@ -9804,7 +9794,7 @@ const sp = ({
|
|
|
9804
9794
|
/* @__PURE__ */ l(Q, { mt: "l", children: t }),
|
|
9805
9795
|
/* @__PURE__ */ l(Me, { mt: "l", as: "a", variant: "accent", ...r, children: o })
|
|
9806
9796
|
] }),
|
|
9807
|
-
/* @__PURE__ */ l(
|
|
9797
|
+
/* @__PURE__ */ l(K, { gap: "l", className: "last-tutorials-block__post-list", children: a.map((i, f) => /* @__PURE__ */ l(me.Fragment, { children: /* @__PURE__ */ l(zt, { variant: "highlight-dark", tutorialLabel: n, ...i || {} }) }, (i == null ? void 0 : i.slug) ?? f)) })
|
|
9808
9798
|
]
|
|
9809
9799
|
}
|
|
9810
9800
|
) }), j = ke(({ as: e = "div", className: t, children: n, ...a }, o) => /* @__PURE__ */ l(
|
|
@@ -9817,7 +9807,7 @@ const sp = ({
|
|
|
9817
9807
|
}
|
|
9818
9808
|
));
|
|
9819
9809
|
j.displayName = "Box";
|
|
9820
|
-
const
|
|
9810
|
+
const K = ke(
|
|
9821
9811
|
({ as: e = "div", display: t = "flex", className: n, children: a, ...o }, r) => /* @__PURE__ */ l(
|
|
9822
9812
|
j,
|
|
9823
9813
|
{
|
|
@@ -9830,7 +9820,7 @@ const G = ke(
|
|
|
9830
9820
|
}
|
|
9831
9821
|
)
|
|
9832
9822
|
);
|
|
9833
|
-
const Rp = ({ header: e, footer: t, children: n }) => /* @__PURE__ */ $(
|
|
9823
|
+
const Rp = ({ header: e, footer: t, children: n }) => /* @__PURE__ */ $(K, { flexDirection: "column", className: "layout-template", children: [
|
|
9834
9824
|
e,
|
|
9835
9825
|
n,
|
|
9836
9826
|
/* @__PURE__ */ l(op, { ...t })
|
|
@@ -9841,7 +9831,7 @@ const jt = ({
|
|
|
9841
9831
|
className: n,
|
|
9842
9832
|
...a
|
|
9843
9833
|
}) => /* @__PURE__ */ $(
|
|
9844
|
-
|
|
9834
|
+
K,
|
|
9845
9835
|
{
|
|
9846
9836
|
...a,
|
|
9847
9837
|
flexDirection: { xs: "column", md: "row" },
|
|
@@ -9850,8 +9840,8 @@ const jt = ({
|
|
|
9850
9840
|
mx: { xs: "s", md: "auto" },
|
|
9851
9841
|
className: re("layout-content-with-sidebar", "container-content", n),
|
|
9852
9842
|
children: [
|
|
9853
|
-
/* @__PURE__ */ l(
|
|
9854
|
-
/* @__PURE__ */ l(
|
|
9843
|
+
/* @__PURE__ */ l(K, { flexDirection: "column", as: "main", flex: "1", gap: "xl", className: "layout-content-with-sidebar__content", children: e }),
|
|
9844
|
+
/* @__PURE__ */ l(K, { as: "aside", flexDirection: "column", gap: "xl", className: "layout-content-with-sidebar__sidebar", children: t })
|
|
9855
9845
|
]
|
|
9856
9846
|
}
|
|
9857
9847
|
), lp = ({
|
|
@@ -9891,12 +9881,12 @@ const jt = ({
|
|
|
9891
9881
|
] });
|
|
9892
9882
|
const cp = ({ title: e, authors: t, ...n }) => /* @__PURE__ */ $(j, { ...n, children: [
|
|
9893
9883
|
/* @__PURE__ */ l(ge, { mb: "xxs", size: "m", color: "primary", children: e }),
|
|
9894
|
-
/* @__PURE__ */ l(
|
|
9884
|
+
/* @__PURE__ */ l(K, { mt: "l", flexDirection: "column", gap: "s", children: t.map((a, o) => /* @__PURE__ */ l(td, { ...a }, o)) })
|
|
9895
9885
|
] });
|
|
9896
9886
|
const en = (e) => {
|
|
9897
9887
|
const t = Object.entries(e).filter(([, n]) => n != null).map(([n, a]) => `${encodeURIComponent(n)}=${encodeURIComponent(String(a))}`);
|
|
9898
9888
|
return t.length > 0 ? `?${t.join("&")}` : "";
|
|
9899
|
-
}, up = ({ urlToShare: e, shares: t, ...n }) => /* @__PURE__ */ $(
|
|
9889
|
+
}, up = ({ urlToShare: e, shares: t, ...n }) => /* @__PURE__ */ $(K, { ...n, alignItems: "center", gap: "xs", className: "share-links", children: [
|
|
9900
9890
|
t.twitter && /* @__PURE__ */ l(
|
|
9901
9891
|
"a",
|
|
9902
9892
|
{
|
|
@@ -9933,7 +9923,7 @@ const en = (e) => {
|
|
|
9933
9923
|
)
|
|
9934
9924
|
] }), dp = ({ title: e, date: t, readingTime: n, authors: a, shareLinks: o, ...r }) => /* @__PURE__ */ $(j, { ...r, textSize: "xs", children: [
|
|
9935
9925
|
/* @__PURE__ */ l(ge, { as: "h1", size: "xl", color: "primary", children: e }),
|
|
9936
|
-
/* @__PURE__ */ $(
|
|
9926
|
+
/* @__PURE__ */ $(K, { flexDirection: { xs: "column", md: "row" }, justifyContent: "between", gap: "xs", mt: "m", children: [
|
|
9937
9927
|
/* @__PURE__ */ l(c0, { variant: "secondary", date: t, readingTime: n, authors: a }),
|
|
9938
9928
|
/* @__PURE__ */ l(up, { ...o })
|
|
9939
9929
|
] })
|
|
@@ -9943,28 +9933,30 @@ const en = (e) => {
|
|
|
9943
9933
|
] }), Mp = ["article", "tutorial"], fp = ({
|
|
9944
9934
|
variant: e = "article",
|
|
9945
9935
|
summary: t,
|
|
9946
|
-
|
|
9947
|
-
|
|
9948
|
-
|
|
9949
|
-
|
|
9950
|
-
|
|
9951
|
-
|
|
9952
|
-
|
|
9936
|
+
cover: n,
|
|
9937
|
+
header: a,
|
|
9938
|
+
children: o,
|
|
9939
|
+
footer: r,
|
|
9940
|
+
relatedPostList: s,
|
|
9941
|
+
contactCard: i,
|
|
9942
|
+
previousLink: { label: f, ...m } = {},
|
|
9943
|
+
nextLink: { label: g, ...h } = {}
|
|
9953
9944
|
}) => /* @__PURE__ */ $(Ie, { children: [
|
|
9954
9945
|
/* @__PURE__ */ $(j, { children: [
|
|
9955
|
-
/* @__PURE__ */ l(dp, { ...
|
|
9946
|
+
/* @__PURE__ */ l(dp, { ...a }),
|
|
9956
9947
|
/* @__PURE__ */ l(vt, { mt: "m" }),
|
|
9948
|
+
n && /* @__PURE__ */ l(oa, { ...n, mt: "l", img: { ...n.img, className: "post-page__cover" } }),
|
|
9957
9949
|
/* @__PURE__ */ l(da, { mt: "l", hiddenAbove: "md", variant: e === "tutorial" ? "secondary" : "primary", ...t }),
|
|
9958
|
-
/* @__PURE__ */ l(j, { mt: { xs: "l", md: "m" }, className: "post-page__content", children:
|
|
9959
|
-
e === "tutorial" && /* @__PURE__ */ l(Ie, { children: /* @__PURE__ */ $(
|
|
9960
|
-
|
|
9961
|
-
|
|
9950
|
+
/* @__PURE__ */ l(j, { mt: { xs: "l", md: "m" }, className: "post-page__content", children: o }),
|
|
9951
|
+
e === "tutorial" && /* @__PURE__ */ l(Ie, { children: /* @__PURE__ */ $(K, { gap: "l", children: [
|
|
9952
|
+
f && m && /* @__PURE__ */ l(Me, { as: "a", mt: "l", variant: "secondary", ...m, children: f }),
|
|
9953
|
+
g && h && /* @__PURE__ */ l(Me, { as: "a", mt: "l", ...h, children: g })
|
|
9962
9954
|
] }) }),
|
|
9963
|
-
/* @__PURE__ */ l(cp, { mt: "l", ...
|
|
9955
|
+
/* @__PURE__ */ l(cp, { mt: "l", ...r })
|
|
9964
9956
|
] }),
|
|
9965
9957
|
/* @__PURE__ */ l(vt, {}),
|
|
9966
|
-
/* @__PURE__ */ l(nd, { ...
|
|
9967
|
-
|
|
9958
|
+
/* @__PURE__ */ l(nd, { ...i }),
|
|
9959
|
+
s.posts.length > 0 && /* @__PURE__ */ l(pp, { ...s })
|
|
9968
9960
|
] }), Lp = ({
|
|
9969
9961
|
variant: e = "article",
|
|
9970
9962
|
breadcrumb: t,
|
|
@@ -9974,11 +9966,10 @@ const en = (e) => {
|
|
|
9974
9966
|
...r
|
|
9975
9967
|
}) => /* @__PURE__ */ $(j, { mx: "auto", className: "post-page", children: [
|
|
9976
9968
|
/* @__PURE__ */ l(aa, { mx: { xs: "xs", md: "0" }, ...t }),
|
|
9977
|
-
/* @__PURE__ */ l(oa, { ...n, mx: { xs: "xs", md: "0" }, img: { className: "post-page__cover", ...n == null ? void 0 : n.img } }),
|
|
9978
9969
|
/* @__PURE__ */ l(
|
|
9979
9970
|
jt,
|
|
9980
9971
|
{
|
|
9981
|
-
content: /* @__PURE__ */ l(fp, { ...r, variant: e, summary: a, children: o }),
|
|
9972
|
+
content: /* @__PURE__ */ l(fp, { ...r, variant: e, summary: a, cover: n, children: o }),
|
|
9982
9973
|
sidebar: /* @__PURE__ */ l(da, { hiddenBelow: "md", variant: e === "tutorial" ? "secondary" : "primary", ...a })
|
|
9983
9974
|
}
|
|
9984
9975
|
)
|
|
@@ -9992,7 +9983,7 @@ const Pp = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ l(
|
|
|
9992
9983
|
}
|
|
9993
9984
|
), gp = ({ author: e, title: t, postCardList: n }) => /* @__PURE__ */ $(Ie, { children: [
|
|
9994
9985
|
/* @__PURE__ */ $(
|
|
9995
|
-
|
|
9986
|
+
K,
|
|
9996
9987
|
{
|
|
9997
9988
|
flexDirection: { xs: "column", md: "row" },
|
|
9998
9989
|
justifyContent: "center",
|
|
@@ -10004,7 +9995,7 @@ const Pp = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ l(
|
|
|
10004
9995
|
/* @__PURE__ */ l(Q, { size: "m", fontWeight: "medium", color: "info", children: e.name }),
|
|
10005
9996
|
/* @__PURE__ */ l(j, { children: e.content }),
|
|
10006
9997
|
e.socialNetworks && /* @__PURE__ */ l(
|
|
10007
|
-
|
|
9998
|
+
K,
|
|
10008
9999
|
{
|
|
10009
10000
|
flexDirection: { xs: "column", sm: "row" },
|
|
10010
10001
|
mt: "s",
|
|
@@ -10031,7 +10022,7 @@ const Pp = ({ newsletterCard: e, ...t }) => /* @__PURE__ */ l(
|
|
|
10031
10022
|
/* @__PURE__ */ l(vt, { className: "author-page__divider" }),
|
|
10032
10023
|
/* @__PURE__ */ l(Q, { size: "m", fontWeight: "medium", children: t }),
|
|
10033
10024
|
n
|
|
10034
|
-
] }), Fp = ({ title: e, description: t }) => /* @__PURE__ */ l(
|
|
10025
|
+
] }), Fp = ({ title: e, description: t }) => /* @__PURE__ */ l(K, { justifyContent: "center", alignItems: "center", flex: "1", children: /* @__PURE__ */ l(ua, { m: "xxl", title: e, description: t }) }), mp = ({
|
|
10035
10026
|
title: e,
|
|
10036
10027
|
description: t,
|
|
10037
10028
|
postCardList: n,
|
|
@@ -10068,7 +10059,7 @@ export {
|
|
|
10068
10059
|
ra as CloseButton,
|
|
10069
10060
|
nd as ContactCard,
|
|
10070
10061
|
vt as Divider,
|
|
10071
|
-
|
|
10062
|
+
K as Flex,
|
|
10072
10063
|
op as Footer,
|
|
10073
10064
|
Tp as Header,
|
|
10074
10065
|
ge as Heading,
|