@apolitical/component-library 3.5.10-ac.9 → 3.5.11

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/index.mjs CHANGED
@@ -74,7 +74,7 @@ var da = { exports: {} };
74
74
  })();
75
75
  })(da);
76
76
  var Fs = da.exports;
77
- const S = /* @__PURE__ */ la(Fs), Os = ({
77
+ const E = /* @__PURE__ */ la(Fs), Os = ({
78
78
  element: t = "span",
79
79
  showOnFocus: e = !0,
80
80
  children: n,
@@ -82,7 +82,7 @@ const S = /* @__PURE__ */ la(Fs), Os = ({
82
82
  ...s
83
83
  }) => Y.createElement(t, {
84
84
  ...s,
85
- className: S("hidden", r, { "show-on-focus": e }),
85
+ className: E("hidden", r, { "show-on-focus": e }),
86
86
  children: n
87
87
  }), be = Ae(Os), As = ({
88
88
  element: t = "span",
@@ -142,10 +142,10 @@ function Is() {
142
142
  {
143
143
  for (var M = arguments.length, I = new Array(M > 1 ? M - 1 : 0), ne = 1; ne < M; ne++)
144
144
  I[ne - 1] = arguments[ne];
145
- E("error", h, I);
145
+ S("error", h, I);
146
146
  }
147
147
  }
148
- function E(h, M, I) {
148
+ function S(h, M, I) {
149
149
  {
150
150
  var ne = y.ReactDebugCurrentFrame, le = ne.getStackAddendum();
151
151
  le !== "" && (M += "%s", I = I.concat([le]));
@@ -743,7 +743,7 @@ function Bs(t, e, n) {
743
743
  f.current = !1;
744
744
  };
745
745
  }, []);
746
- var E = wt(function() {
746
+ var S = wt(function() {
747
747
  var w = function($) {
748
748
  var C = c.current, k = d.current;
749
749
  return c.current = d.current = null, i.current = $, l.current = u.current.apply(k, C);
@@ -784,7 +784,7 @@ function Bs(t, e, n) {
784
784
  return o.current ? R(Date.now()) : l.current;
785
785
  }, B;
786
786
  }, [g, _, e, x, v, p, m, y]);
787
- return E;
787
+ return S;
788
788
  }
789
789
  function fa(t, e, n) {
790
790
  var r = n === void 0 ? {} : n, s = r.leading, i = r.trailing;
@@ -1461,7 +1461,7 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1461
1461
  typeof e == "string" && g.push(e), r && (g.push("icon"), typeof r == "object" ? (g.push(r.icon), r.position ? g.push(r.position) : g.push("left"), r.hover && g.push(`hover_${r.hover}`), r.animate && (g.push("animate"), typeof r.animate == "string" && g.push(r.animate))) : (g.push(r), !r.includes("right") && !r.includes("left") && g.push("left"))), n.muted && g.push("muted"), n.fullWidth && g.push("full-width");
1462
1462
  const v = {
1463
1463
  ...f,
1464
- className: S(t, c, g, {
1464
+ className: E(t, c, g, {
1465
1465
  "no-text": !u,
1466
1466
  disabled: d,
1467
1467
  button: s
@@ -1479,14 +1479,14 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1479
1479
  }, kt = ({ buttons: t, className: e = "", ...n }) => {
1480
1480
  const r = t.length > 1 ? "ul" : "p", s = t.map((i, o) => r === "p" ? /* @__PURE__ */ a.jsx(se, { ...i }, o) : /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(se, { ...i }) }, o));
1481
1481
  return Y.createElement(r, {
1482
- className: S("button-wrapper", e),
1482
+ className: E("button-wrapper", e),
1483
1483
  ...n,
1484
1484
  children: s
1485
1485
  });
1486
1486
  };
1487
1487
  const Oe = ({ className: t = "", maxWidth: e = !1 }) => {
1488
1488
  const n = e ? { "--max-width": `${e / 16}rem` } : {};
1489
- return /* @__PURE__ */ a.jsx("hr", { className: S(t, { "has-max-width": e }), style: n });
1489
+ return /* @__PURE__ */ a.jsx("hr", { className: E(t, { "has-max-width": e }), style: n });
1490
1490
  }, kr = {
1491
1491
  card: {
1492
1492
  range: [
@@ -1665,7 +1665,7 @@ const Nl = ({ image: t, className: e, testId: n }) => /* @__PURE__ */ a.jsx(
1665
1665
  }) => {
1666
1666
  if (t) {
1667
1667
  const d = { ...c };
1668
- return s && (d.onClick = s), i && (d["data-gtm-event-context"] = i), o && (d["data-gtm-event-type"] = o), /* @__PURE__ */ a.jsx("a", { href: t, className: S("gtm-trackable", r), ...d, children: e });
1668
+ return s && (d.onClick = s), i && (d["data-gtm-event-context"] = i), o && (d["data-gtm-event-type"] = o), /* @__PURE__ */ a.jsx("a", { href: t, className: E("gtm-trackable", r), ...d, children: e });
1669
1669
  }
1670
1670
  return n ? Y.createElement(n, { children: e, className: r, ...c }) : /* @__PURE__ */ a.jsx(a.Fragment, { children: e });
1671
1671
  };
@@ -1683,7 +1683,7 @@ const Pl = ({ currentStep: t = 1, steps: e = 1 }) => /* @__PURE__ */ a.jsxs(a.Fr
1683
1683
  /* @__PURE__ */ a.jsx(
1684
1684
  "div",
1685
1685
  {
1686
- className: S("dot", {
1686
+ className: E("dot", {
1687
1687
  active: s === t,
1688
1688
  completed: s < t
1689
1689
  }),
@@ -1693,7 +1693,7 @@ const Pl = ({ currentStep: t = 1, steps: e = 1 }) => /* @__PURE__ */ a.jsxs(a.Fr
1693
1693
  /* @__PURE__ */ a.jsx(
1694
1694
  "div",
1695
1695
  {
1696
- className: S("line", {
1696
+ className: E("line", {
1697
1697
  active: s < t
1698
1698
  })
1699
1699
  }
@@ -1782,7 +1782,7 @@ const Jn = ({
1782
1782
  "details",
1783
1783
  {
1784
1784
  ref: i,
1785
- className: S("collapsible-section", e, {
1785
+ className: E("collapsible-section", e, {
1786
1786
  "should-animate": r
1787
1787
  }),
1788
1788
  children: [
@@ -1819,7 +1819,7 @@ const Cr = {
1819
1819
  return !n && !o ? null : /* @__PURE__ */ a.jsx(
1820
1820
  "small",
1821
1821
  {
1822
- className: S(
1822
+ className: E(
1823
1823
  "content-type-label text-small",
1824
1824
  t in Cr ? Cr[t] : t,
1825
1825
  r,
@@ -1845,7 +1845,7 @@ const Fe = ({
1845
1845
  return /* @__PURE__ */ a.jsx(
1846
1846
  "div",
1847
1847
  {
1848
- className: S("highlighted-text-box", t, r, {
1848
+ className: E("highlighted-text-box", t, r, {
1849
1849
  "has-icon": e,
1850
1850
  "show-highlight": o,
1851
1851
  [c]: c !== "default"
@@ -1878,7 +1878,7 @@ const He = ({
1878
1878
  Fe,
1879
1879
  {
1880
1880
  variant: "subtle",
1881
- className: S("empty-state-box", t, r),
1881
+ className: E("empty-state-box", t, r),
1882
1882
  children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1883
1883
  e && typeof e == "string" ? /* @__PURE__ */ a.jsx(Le, { options: { forceBlock: !0 }, children: e }) : e,
1884
1884
  s && typeof n == "object" && (l || /* @__PURE__ */ a.jsx(
@@ -1901,7 +1901,7 @@ const ci = ({
1901
1901
  className: e = "",
1902
1902
  heading: n = !1,
1903
1903
  children: r
1904
- }) => /* @__PURE__ */ a.jsxs("div", { className: S("helper-text-box text-small", t, e), children: [
1904
+ }) => /* @__PURE__ */ a.jsxs("div", { className: E("helper-text-box text-small", t, e), children: [
1905
1905
  n && /* @__PURE__ */ a.jsx("p", { className: "title", children: n }),
1906
1906
  typeof r == "string" ? /* @__PURE__ */ a.jsx(
1907
1907
  Le,
@@ -1951,9 +1951,9 @@ const Rl = ({
1951
1951
  Fe,
1952
1952
  {
1953
1953
  variant: "subtle",
1954
- className: S("hide-show-text-box", t),
1954
+ className: E("hide-show-text-box", t),
1955
1955
  children: [
1956
- /* @__PURE__ */ a.jsxs("div", { ref: o, className: S("content", l), children: [
1956
+ /* @__PURE__ */ a.jsxs("div", { ref: o, className: E("content", l), children: [
1957
1957
  /* @__PURE__ */ a.jsx(Le, { options: { forceBlock: !0 }, children: l === "closed" ? c : r }),
1958
1958
  l !== "closed" && s
1959
1959
  ] }),
@@ -1963,7 +1963,7 @@ const Rl = ({
1963
1963
  variant: "tertiary",
1964
1964
  icon: { icon: "navigation_arrow", position: "left", animate: !0 },
1965
1965
  styling: { muted: !0 },
1966
- className: S({ "rotate-180": m }),
1966
+ className: E({ "rotate-180": m }),
1967
1967
  onClick: () => {
1968
1968
  u(m ? "ready-to-close" : "opening");
1969
1969
  },
@@ -1984,7 +1984,7 @@ const Fl = ({
1984
1984
  }) => {
1985
1985
  const { hasBorder: o = !1, zebraStriping: c = !1 } = s;
1986
1986
  return Y.createElement(t, {
1987
- className: S("icon-bulleted-list text-medium", n, i, {
1987
+ className: E("icon-bulleted-list text-medium", n, i, {
1988
1988
  "has-border": o,
1989
1989
  "has-zebra-stripes": c,
1990
1990
  [e]: t !== "dl"
@@ -2142,7 +2142,7 @@ const vi = {
2142
2142
  return /* @__PURE__ */ a.jsx(
2143
2143
  "div",
2144
2144
  {
2145
- className: S("markdown-text", t, {
2145
+ className: E("markdown-text", t, {
2146
2146
  "highlight-titles": i
2147
2147
  }),
2148
2148
  children: /* @__PURE__ */ a.jsx(Le, { options: { ...o, ...e }, children: n })
@@ -2157,8 +2157,8 @@ const bi = ({
2157
2157
  className: s = ""
2158
2158
  }) => {
2159
2159
  const i = t ? { "--max-width": `${t / 16}rem` } : {};
2160
- return /* @__PURE__ */ a.jsxs("section", { className: S("page-heading", s), children: [
2161
- /* @__PURE__ */ a.jsxs("div", { className: S("content", { "has-max-width": t }), style: i, children: [
2160
+ return /* @__PURE__ */ a.jsxs("section", { className: E("page-heading", s), children: [
2161
+ /* @__PURE__ */ a.jsxs("div", { className: E("content", { "has-max-width": t }), style: i, children: [
2162
2162
  e && e.text && Y.createElement(e.element || "h1", { className: "title" }, e.text),
2163
2163
  n && n.text && Y.createElement(
2164
2164
  n.element || "h2",
@@ -2183,7 +2183,7 @@ const ht = ({
2183
2183
  return /* @__PURE__ */ a.jsx(
2184
2184
  "span",
2185
2185
  {
2186
- className: S("pill", t, e, n, {
2186
+ className: E("pill", t, e, n, {
2187
2187
  "has-icon": r
2188
2188
  }),
2189
2189
  style: o,
@@ -2201,7 +2201,7 @@ const Wt = ({
2201
2201
  t,
2202
2202
  {
2203
2203
  ...r,
2204
- className: S("status-banner text-small", n),
2204
+ className: E("status-banner text-small", n),
2205
2205
  "aria-live": "assertive"
2206
2206
  },
2207
2207
  e
@@ -2235,7 +2235,7 @@ const Al = ({
2235
2235
  Fe,
2236
2236
  {
2237
2237
  variant: "subtle",
2238
- className: S("table-of-contents", n),
2238
+ className: E("table-of-contents", n),
2239
2239
  children: [
2240
2240
  /* @__PURE__ */ a.jsx("h2", { children: r.formatMessage({ id: "tableOfContents" }) }),
2241
2241
  /* @__PURE__ */ a.jsx("nav", { children: /* @__PURE__ */ a.jsx("ul", { children: s.map(({ id: o, text: c }) => /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx("a", { href: `#${o}`, children: c }) }, o)) }) })
@@ -2277,7 +2277,7 @@ const Xn = ({
2277
2277
  { early: l, late: f }
2278
2278
  );
2279
2279
  }
2280
- return n && (l = `${n} ${l}`, d = `${n} ${d}`), r && (l = `${l} ${r}`, d = `${d} ${r}`), /* @__PURE__ */ a.jsx("span", { className: S("time-to-complete", s), "aria-label": l, children: d });
2280
+ return n && (l = `${n} ${l}`, d = `${n} ${d}`), r && (l = `${l} ${r}`, d = `${d} ${r}`), /* @__PURE__ */ a.jsx("span", { className: E("time-to-complete", s), "aria-label": l, children: d });
2281
2281
  };
2282
2282
  let ct = !1;
2283
2283
  const _i = ({ isOpen: t = !1, isLoading: e = !1, children: n }) => {
@@ -2302,7 +2302,7 @@ const _i = ({ isOpen: t = !1, isLoading: e = !1, children: n }) => {
2302
2302
  "aside",
2303
2303
  {
2304
2304
  ref: s,
2305
- className: S("tooltip text-medium", i, { loading: e }),
2305
+ className: E("tooltip text-medium", i, { loading: e }),
2306
2306
  hidden: i === "hidden",
2307
2307
  children: e ? /* @__PURE__ */ a.jsx("p", { children: r.formatMessage({ id: "tooltip_loading" }) }) : typeof n == "string" ? /* @__PURE__ */ a.jsx("p", { children: n }) : n
2308
2308
  }
@@ -2321,7 +2321,7 @@ const Dl = ({ className: t = "", image: e, ...n }) => e ? (typeof e == "string"
2321
2321
  Tt,
2322
2322
  {
2323
2323
  ...n,
2324
- className: S("banner", t),
2324
+ className: E("banner", t),
2325
2325
  image: { ...e, aspect: "banner" }
2326
2326
  }
2327
2327
  )) : null;
@@ -2335,7 +2335,7 @@ const Ve = ({
2335
2335
  return /* @__PURE__ */ a.jsx(
2336
2336
  "section",
2337
2337
  {
2338
- className: S("full-width-section", e, {
2338
+ className: E("full-width-section", e, {
2339
2339
  [s]: s !== "default"
2340
2340
  }),
2341
2341
  ...r,
@@ -2356,7 +2356,7 @@ const Il = ({ text: t, buttons: e, className: n = "" }) => {
2356
2356
  target: "_blank",
2357
2357
  children: s.text
2358
2358
  });
2359
- }), /* @__PURE__ */ a.jsx(Ve, { className: S("download-section", n), children: /* @__PURE__ */ a.jsxs("div", { className: "content-default", children: [
2359
+ }), /* @__PURE__ */ a.jsx(Ve, { className: E("download-section", n), children: /* @__PURE__ */ a.jsxs("div", { className: "content-default", children: [
2360
2360
  Y.createElement(
2361
2361
  typeof t == "string" ? "h2" : t.element,
2362
2362
  { className: "text" },
@@ -2370,7 +2370,7 @@ function ba({ href: t, setShowModal: e }) {
2370
2370
  }
2371
2371
  const xi = ({ icon: t, description: e, ctaMessage: n, href: r, showEditButton: s, setShowModal: i }) => {
2372
2372
  const { formatMessage: o } = H();
2373
- return /* @__PURE__ */ a.jsxs("div", { className: S("edit-section-placeholder", { "has-icon": !!t }), style: Hs(t), children: [
2373
+ return /* @__PURE__ */ a.jsxs("div", { className: E("edit-section-placeholder", { "has-icon": !!t }), style: Hs(t), children: [
2374
2374
  /* @__PURE__ */ a.jsx("p", { children: e || o({ id: "edit_section_placeholder_description" }) }),
2375
2375
  s && /* @__PURE__ */ a.jsx(se, { href: r, variant: "secondary", size: "small", onClick: () => ba({ href: r, setShowModal: i }), children: n || o({ id: "edit_section_placeholder_cta" }) })
2376
2376
  ] });
@@ -2385,7 +2385,7 @@ const xi = ({ icon: t, description: e, ctaMessage: n, href: r, showEditButton: s
2385
2385
  showDivider: c = !0
2386
2386
  }) => {
2387
2387
  const [d, l] = Y.useState(!1), u = typeof r == "string" || !!n, f = () => l(!1);
2388
- return /* @__PURE__ */ a.jsxs("section", { className: S("edit-section", e), children: [
2388
+ return /* @__PURE__ */ a.jsxs("section", { className: E("edit-section", e), children: [
2389
2389
  n && /* @__PURE__ */ a.jsx(
2390
2390
  an,
2391
2391
  {
@@ -2394,7 +2394,7 @@ const xi = ({ icon: t, description: e, ctaMessage: n, href: r, showEditButton: s
2394
2394
  showDivider: !1,
2395
2395
  showIcon: !1,
2396
2396
  functions: { onClose: f },
2397
- className: S("edit-section-modal"),
2397
+ className: E("edit-section-modal"),
2398
2398
  children: /* @__PURE__ */ a.jsx(rn, { ...n, fields: n.fields, meta: {
2399
2399
  ...n == null ? void 0 : n.meta,
2400
2400
  shouldShowCancelButton: !0,
@@ -2435,20 +2435,20 @@ const Bl = ({
2435
2435
  return /* @__PURE__ */ a.jsxs(
2436
2436
  "div",
2437
2437
  {
2438
- className: S("logos", r, `align-${c}`, {
2438
+ className: E("logos", r, `align-${c}`, {
2439
2439
  [d]: d !== "block",
2440
2440
  "wrap-logos": o
2441
2441
  }),
2442
2442
  children: [
2443
2443
  t && Y.createElement(
2444
2444
  i.element,
2445
- { className: S("title", i.className) },
2445
+ { className: E("title", i.className) },
2446
2446
  i.text
2447
2447
  ),
2448
2448
  /* @__PURE__ */ a.jsx(
2449
2449
  "ul",
2450
2450
  {
2451
- className: S({
2451
+ className: E({
2452
2452
  "two-col": s === 2 || s === 4,
2453
2453
  "three-col": s === 5 || s <= 10 && s % 3 === 0
2454
2454
  }),
@@ -2533,7 +2533,7 @@ const wi = [
2533
2533
  }), /* @__PURE__ */ a.jsx(
2534
2534
  Ve,
2535
2535
  {
2536
- className: S("banner-section", r, s, t, {
2536
+ className: E("banner-section", r, s, t, {
2537
2537
  "has-image": n,
2538
2538
  "has-extra-spacing": s === "normal" && u.eyebrow && u.title
2539
2539
  }),
@@ -2573,7 +2573,7 @@ const Ul = ({
2573
2573
  return t && (s["--image"] = `url(${t})`), /* @__PURE__ */ a.jsx(
2574
2574
  Ve,
2575
2575
  {
2576
- className: S("custom-content-banner", e, r, {
2576
+ className: E("custom-content-banner", e, r, {
2577
2577
  "has-image": t
2578
2578
  }),
2579
2579
  style: s,
@@ -2588,11 +2588,11 @@ const ki = ({
2588
2588
  image: r
2589
2589
  }) => {
2590
2590
  const s = typeof n == "string" ? /* @__PURE__ */ a.jsx(xt, { children: n }) : n;
2591
- return /* @__PURE__ */ a.jsxs(Ve, { className: S("highlight-section", e), children: [
2591
+ return /* @__PURE__ */ a.jsxs(Ve, { className: E("highlight-section", e), children: [
2592
2592
  r && /* @__PURE__ */ a.jsx(
2593
2593
  "div",
2594
2594
  {
2595
- className: S("highlight-container highlight-image", {
2595
+ className: E("highlight-container highlight-image", {
2596
2596
  [`highlight-image-${t}`]: t === "right"
2597
2597
  }),
2598
2598
  children: /* @__PURE__ */ a.jsx(Tt, { image: r })
@@ -2601,13 +2601,13 @@ const ki = ({
2601
2601
  /* @__PURE__ */ a.jsx(
2602
2602
  "div",
2603
2603
  {
2604
- className: S("highlight-container highlight-content-wrapper", {
2604
+ className: E("highlight-container highlight-content-wrapper", {
2605
2605
  "no-image": !r
2606
2606
  }),
2607
2607
  children: /* @__PURE__ */ a.jsx(
2608
2608
  "div",
2609
2609
  {
2610
- className: S("highlight-content", {
2610
+ className: E("highlight-content", {
2611
2611
  "highlight-content-right": t === "left"
2612
2612
  }),
2613
2613
  children: r ? s : /* @__PURE__ */ a.jsx("div", { className: "content-default", children: s })
@@ -2623,7 +2623,7 @@ const zl = ({
2623
2623
  title: n,
2624
2624
  text: r,
2625
2625
  gtmContext: s
2626
- }) => !n && !r ? null : /* @__PURE__ */ a.jsxs("aside", { className: S("marketing-block", t), children: [
2626
+ }) => !n && !r ? null : /* @__PURE__ */ a.jsxs("aside", { className: E("marketing-block", t), children: [
2627
2627
  n && /* @__PURE__ */ a.jsx("p", { className: "title", children: n }),
2628
2628
  r && /* @__PURE__ */ a.jsx("p", { children: r }),
2629
2629
  e && /* @__PURE__ */ a.jsx(
@@ -2728,7 +2728,7 @@ const Pi = ({
2728
2728
  return /* @__PURE__ */ a.jsx(
2729
2729
  "span",
2730
2730
  {
2731
- className: S(`progress-bar section-${l}`, o, r, {
2731
+ className: E(`progress-bar section-${l}`, o, r, {
2732
2732
  [c]: c !== "default",
2733
2733
  [d !== "default" ? d : ""]: d !== "default"
2734
2734
  }),
@@ -2757,7 +2757,7 @@ const vn = "loadingBlock_", Mi = ({ progress: t = 0, steps: e = !1, className: n
2757
2757
  return /* @__PURE__ */ a.jsxs(
2758
2758
  Fe,
2759
2759
  {
2760
- className: S("loading-block", n, {
2760
+ className: E("loading-block", n, {
2761
2761
  "has-icon": s && e[s].icon
2762
2762
  }),
2763
2763
  variant: "subtle",
@@ -2773,7 +2773,7 @@ const Se = ({ element: t = "div", className: e = "", ...n }) => /* @__PURE__ */
2773
2773
  Gn,
2774
2774
  {
2775
2775
  element: t,
2776
- className: S("loading-placeholder", e),
2776
+ className: E("loading-placeholder", e),
2777
2777
  ...n
2778
2778
  }
2779
2779
  );
@@ -2826,7 +2826,7 @@ const zn = {
2826
2826
  "course-navigation": ["button", "button"],
2827
2827
  "course-lesson-page": ["breadcrumb", "course-navigation", "text-page"],
2828
2828
  "course-lesson-quiz": ["text-page", "quiz-box"]
2829
- }, xa = (t, e) => t in zn ? /* @__PURE__ */ a.jsx("div", { className: t, children: zn[t].map((n, r) => xa(n, r)) }, e) : /* @__PURE__ */ a.jsx(Se, { className: t }, e), wa = ({ layout: t = "overview-page", ...e }) => /* @__PURE__ */ a.jsx("div", { className: S("loading-state", t), ...e, children: zn[t].map((n, r) => xa(n, r)) }), ja = (t) => {
2829
+ }, xa = (t, e) => t in zn ? /* @__PURE__ */ a.jsx("div", { className: t, children: zn[t].map((n, r) => xa(n, r)) }, e) : /* @__PURE__ */ a.jsx(Se, { className: t }, e), wa = ({ layout: t = "overview-page", ...e }) => /* @__PURE__ */ a.jsx("div", { className: E("loading-state", t), ...e, children: zn[t].map((n, r) => xa(n, r)) }), ja = (t) => {
2830
2830
  const e = t && t.toUpperCase().trim().split(" ");
2831
2831
  return Array.isArray(e) && e.length > 1 && e[0] !== "" ? e[1] === "" ? e[0][0] : e[0][0] + e[e.length - 1][0] : t ? t.substr(0, 1) : "";
2832
2832
  }, Ct = ["#5AB6A3", "#A2D7AF", "#806056", "#3962B3"], Ri = (t) => {
@@ -2862,7 +2862,7 @@ const Nr = 256, Ye = ({
2862
2862
  return e && e !== "" && !c && (e.includes("http") || e.includes("//")) && (u = !0), /* @__PURE__ */ a.jsx(
2863
2863
  "figure",
2864
2864
  {
2865
- className: S("profile-picture", t, { error: c }),
2865
+ className: E("profile-picture", t, { error: c }),
2866
2866
  ...o,
2867
2867
  children: u ? /* @__PURE__ */ a.jsx(
2868
2868
  "img",
@@ -2916,7 +2916,7 @@ const tr = ({
2916
2916
  }));
2917
2917
  const { name: d, url: l, image: u } = c, f = Fi(c), m = n && n.createdAt ? Un(n.createdAt) : !1, p = n && n.createdAt ? ga(n.createdAt) : "";
2918
2918
  return Y.createElement(t, {
2919
- className: S("member text-medium", i),
2919
+ className: E("member text-medium", i),
2920
2920
  children: /* @__PURE__ */ a.jsxs(
2921
2921
  at,
2922
2922
  {
@@ -2964,7 +2964,7 @@ const Pr = {
2964
2964
  const f = H();
2965
2965
  return !n || n.length === 0 ? null : Y.createElement(t, {
2966
2966
  ...u,
2967
- className: S("contributors", l, s, { "has-gap": i }),
2967
+ className: E("contributors", l, s, { "has-gap": i }),
2968
2968
  children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2969
2969
  /* @__PURE__ */ a.jsx("ul", { children: n.map((m, p) => {
2970
2970
  let g, v = "";
@@ -2986,7 +2986,7 @@ const Pr = {
2986
2986
  g = /* @__PURE__ */ a.jsxs(
2987
2987
  "small",
2988
2988
  {
2989
- className: S({ "large-number": _ > 99 }),
2989
+ className: E({ "large-number": _ > 99 }),
2990
2990
  children: [
2991
2991
  "+",
2992
2992
  ei(_, 0)
@@ -2994,7 +2994,7 @@ const Pr = {
2994
2994
  }
2995
2995
  ), v = "number-left";
2996
2996
  }
2997
- return g ? /* @__PURE__ */ a.jsx("li", { className: S("contributor", v), children: g }, p) : null;
2997
+ return g ? /* @__PURE__ */ a.jsx("li", { className: E("contributor", v), children: g }, p) : null;
2998
2998
  }) }),
2999
2999
  r && /* @__PURE__ */ a.jsx("span", { className: "label", children: typeof r == "string" ? r : n.length === 1 ? typeof n[0] == "string" ? f.formatMessage({ id: `member_${n[0]}` }) : et(n[0].name || "", 20) : d || null })
3000
3000
  ] })
@@ -3159,7 +3159,7 @@ const $t = "emailHelperTextBox_", Oi = ({
3159
3159
  type: c,
3160
3160
  id: n,
3161
3161
  name: i,
3162
- className: S(t, e, {
3162
+ className: E(t, e, {
3163
3163
  "has-scrollbar": c === "textarea" && f.current && f.current.clientHeight < f.current.scrollHeight
3164
3164
  }),
3165
3165
  value: d,
@@ -3252,7 +3252,7 @@ const Qe = {
3252
3252
  activePredictionIndex: -1,
3253
3253
  isPredictionSelected: !1
3254
3254
  }));
3255
- }, E = (w) => {
3255
+ }, S = (w) => {
3256
3256
  o(w.description), f((b) => ({
3257
3257
  ...b,
3258
3258
  input: w.description,
@@ -3280,12 +3280,12 @@ const Qe = {
3280
3280
  /* @__PURE__ */ a.jsx("ul", { className: "predictions-list", children: m.map((w, b) => /* @__PURE__ */ a.jsx(
3281
3281
  "li",
3282
3282
  {
3283
- onClick: () => E(w),
3283
+ onClick: () => S(w),
3284
3284
  onMouseEnter: () => v((F) => ({
3285
3285
  ...F,
3286
3286
  activePredictionIndex: b
3287
3287
  })),
3288
- className: S("predictions-list-item", {
3288
+ className: E("predictions-list-item", {
3289
3289
  active: b === p
3290
3290
  }),
3291
3291
  children: w.description
@@ -3340,7 +3340,7 @@ const Ea = ({
3340
3340
  const x = y.target;
3341
3341
  x.nodeName.toLowerCase() === "a" || x.parentNode && x.parentNode.nodeName.toLowerCase() === "a" || (y.preventDefault(), y.stopPropagation(), v());
3342
3342
  },
3343
- className: S("checkbox-wrapper", t),
3343
+ className: E("checkbox-wrapper", t),
3344
3344
  ...f,
3345
3345
  ...g
3346
3346
  },
@@ -3353,7 +3353,7 @@ const Ii = Ae(function({
3353
3353
  return /* @__PURE__ */ a.jsx(
3354
3354
  Gn,
3355
3355
  {
3356
- className: S("rotating-chevron", `direction-${e}`)
3356
+ className: E("rotating-chevron", `direction-${e}`)
3357
3357
  }
3358
3358
  );
3359
3359
  });
@@ -3376,7 +3376,7 @@ const Li = ({
3376
3376
  Array.isArray(v) && v.length === 1 && typeof v[0] == "string" ? y = e && v ? e.find((R) => R.id === v[0]) : e ? e[0] : { id: "", label: "" } : Array.isArray(v) && v.length === 1 && typeof v[0] != "string" ? y = v[0] : y = { id: "", label: "" }, ae(() => {
3377
3377
  _(g);
3378
3378
  }, [r, n]);
3379
- const { onChange: x, onMultiSelectSubmit: E, ...w } = s, b = (R) => {
3379
+ const { onChange: x, onMultiSelectSubmit: S, ...w } = s, b = (R) => {
3380
3380
  if (c) {
3381
3381
  let Q = [];
3382
3382
  v != null && v.includes(R.id) ? Q = v.filter((B) => B !== R.id) : Q = [...v, R.id], _([...Q]), x && x([...Q]);
@@ -3389,7 +3389,7 @@ const Li = ({
3389
3389
  } else
3390
3390
  _([]), x && x([]);
3391
3391
  };
3392
- return /* @__PURE__ */ a.jsxs("div", { className: S("dropdown-wrapper", t), children: [
3392
+ return /* @__PURE__ */ a.jsxs("div", { className: E("dropdown-wrapper", t), children: [
3393
3393
  /* @__PURE__ */ a.jsxs(
3394
3394
  "button",
3395
3395
  {
@@ -3460,7 +3460,7 @@ const Li = ({
3460
3460
  return /* @__PURE__ */ a.jsx("li", { "data-testid": "dropdown-options", children: /* @__PURE__ */ a.jsxs(
3461
3461
  "button",
3462
3462
  {
3463
- className: S("gtm-trackable", {
3463
+ className: E("gtm-trackable", {
3464
3464
  selected: Q,
3465
3465
  "selected-single": Q && !c
3466
3466
  }),
@@ -3474,7 +3474,7 @@ const Li = ({
3474
3474
  "data-testid": Q ? "current-selection" : "",
3475
3475
  children: [
3476
3476
  c && /* @__PURE__ */ a.jsx("span", { className: "pretty-checkbox", "data-testid": "pretty-checkbox" }),
3477
- /* @__PURE__ */ a.jsx("span", { className: S({ "menu-option-label": c }), children: R.label })
3477
+ /* @__PURE__ */ a.jsx("span", { className: E({ "menu-option-label": c }), children: R.label })
3478
3478
  ]
3479
3479
  }
3480
3480
  ) }, R.id);
@@ -3485,7 +3485,7 @@ const Li = ({
3485
3485
  {
3486
3486
  variant: "secondary",
3487
3487
  onClick: () => {
3488
- E && E(v), document.dispatchEvent(
3488
+ S && S(v), document.dispatchEvent(
3489
3489
  new CustomEvent("dropdownMultiSelectSubmit", {
3490
3490
  detail: {
3491
3491
  id: l || "dropdown-multi-select",
@@ -3522,7 +3522,7 @@ const Bi = ({
3522
3522
  "ul",
3523
3523
  {
3524
3524
  ...f,
3525
- className: S("options-wrapper", t),
3525
+ className: E("options-wrapper", t),
3526
3526
  "data-testid": `ul-${r}`,
3527
3527
  children: c == null ? void 0 : c.map(
3528
3528
  ({
@@ -3531,7 +3531,7 @@ const Bi = ({
3531
3531
  value: y = v,
3532
3532
  disabled: x = !1
3533
3533
  }) => {
3534
- const E = `${r}_${v}`, w = () => {
3534
+ const S = `${r}_${v}`, w = () => {
3535
3535
  if (x)
3536
3536
  return;
3537
3537
  let b;
@@ -3546,7 +3546,7 @@ const Bi = ({
3546
3546
  Ea,
3547
3547
  {
3548
3548
  element: "li",
3549
- id: E,
3549
+ id: S,
3550
3550
  type: l === "checkboxes" ? "checkbox" : "radio",
3551
3551
  shownValue: y,
3552
3552
  value: i ? p == null ? void 0 : p.includes(y) : g === y,
@@ -3560,7 +3560,7 @@ const Bi = ({
3560
3560
  }),
3561
3561
  disabled: x
3562
3562
  },
3563
- E
3563
+ S
3564
3564
  );
3565
3565
  }
3566
3566
  )
@@ -3582,7 +3582,7 @@ const qi = ({
3582
3582
  "button",
3583
3583
  {
3584
3584
  type: "button",
3585
- className: S("show-password gtm-trackable", {
3585
+ className: E("show-password gtm-trackable", {
3586
3586
  "password-visible": c
3587
3587
  }),
3588
3588
  "data-gtm-event-context": n,
@@ -3656,18 +3656,18 @@ const Je = {
3656
3656
  {
3657
3657
  ..._,
3658
3658
  label: y,
3659
- className: S("field-wrapper", n)
3659
+ className: E("field-wrapper", n)
3660
3660
  }
3661
3661
  ),
3662
3662
  /* @__PURE__ */ a.jsx(x, { as: "p" })
3663
3663
  ] });
3664
- const E = (w) => Y.createElement(w.element || "label", {
3664
+ const S = (w) => Y.createElement(w.element || "label", {
3665
3665
  ...w,
3666
3666
  className: "checkboxes-label text-small",
3667
3667
  "data-testid": `label-${t}`
3668
3668
  });
3669
- return /* @__PURE__ */ a.jsxs("dl", { className: S("field-wrapper text-medium", n), children: [
3670
- /* @__PURE__ */ a.jsx("dt", { children: /* @__PURE__ */ a.jsxs(E, { ...v, children: [
3669
+ return /* @__PURE__ */ a.jsxs("dl", { className: E("field-wrapper text-medium", n), children: [
3670
+ /* @__PURE__ */ a.jsx("dt", { children: /* @__PURE__ */ a.jsxs(S, { ...v, children: [
3671
3671
  y,
3672
3672
  m && o && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
3673
3673
  " ",
@@ -3683,7 +3683,7 @@ const Je = {
3683
3683
  i > 0 ? /* @__PURE__ */ a.jsxs(
3684
3684
  "small",
3685
3685
  {
3686
- className: S("character-limit", {
3686
+ className: E("character-limit", {
3687
3687
  "near-limit": p >= 0.99 * i,
3688
3688
  "approaching-limit": p >= 0.9 * i && p < 0.99 * i
3689
3689
  }),
@@ -3837,7 +3837,7 @@ const rn = ({
3837
3837
  }) => {
3838
3838
  const { customOnSubmit: g, hideButton: v, ..._ } = i, y = 40, {
3839
3839
  shouldShowCancelButton: x = !1,
3840
- shouldReset: E = !0,
3840
+ shouldReset: S = !0,
3841
3841
  showRequiredLabels: w = !0,
3842
3842
  showSuccessMessage: b = !1
3843
3843
  } = c || {}, F = H(), R = {};
@@ -3852,7 +3852,7 @@ const rn = ({
3852
3852
  values: R
3853
3853
  }), { errors: $, isSubmitting: C, formSubmitted: k, values: j } = Q;
3854
3854
  ae(() => {
3855
- E && k && (bn = setTimeout(() => {
3855
+ S && k && (bn = setTimeout(() => {
3856
3856
  B({
3857
3857
  type: "updateValue",
3858
3858
  payload: { key: "formSubmitted", value: !1 }
@@ -3914,7 +3914,7 @@ const rn = ({
3914
3914
  dispatch: B,
3915
3915
  onSuccess: async (q) => {
3916
3916
  try {
3917
- await l(q), B({ type: E ? "formSubmittedAndReset" : "formSubmitted" });
3917
+ await l(q), B({ type: S ? "formSubmittedAndReset" : "formSubmitted" });
3918
3918
  } catch (L) {
3919
3919
  f(L), B({
3920
3920
  type: "updateValue",
@@ -3954,7 +3954,7 @@ const rn = ({
3954
3954
  {
3955
3955
  ...p,
3956
3956
  id: n,
3957
- className: S("form", e),
3957
+ className: E("form", e),
3958
3958
  ref: A,
3959
3959
  children: [
3960
3960
  $ != null && $.general ? /* @__PURE__ */ a.jsx(
@@ -3964,7 +3964,7 @@ const rn = ({
3964
3964
  text: F.formatMessage({ id: "form_error_generalError" })
3965
3965
  }
3966
3966
  ) : null,
3967
- (!E || !C && !k || g) && t.map((z, K) => {
3967
+ (!S || !C && !k || g) && t.map((z, K) => {
3968
3968
  const {
3969
3969
  id: T = z.name || K,
3970
3970
  component: P,
@@ -3995,7 +3995,7 @@ const rn = ({
3995
3995
  v ? null : (C || k) && g ? g : /* @__PURE__ */ a.jsx(
3996
3996
  kt,
3997
3997
  {
3998
- className: S("cta", {
3998
+ className: E("cta", {
3999
3999
  center: C || k,
4000
4000
  submitted: k
4001
4001
  }),
@@ -4021,13 +4021,13 @@ const Nt = "passwordRules_", Sa = "isMoreThanEightCharacters", Ca = "includesNum
4021
4021
  className: e = ""
4022
4022
  }) => {
4023
4023
  const n = H();
4024
- return /* @__PURE__ */ a.jsxs("aside", { className: S("password-rules", e), children: [
4024
+ return /* @__PURE__ */ a.jsxs("aside", { className: E("password-rules", e), children: [
4025
4025
  /* @__PURE__ */ a.jsx("small", { children: n.formatMessage({ id: `${Nt}intro` }) }),
4026
4026
  /* @__PURE__ */ a.jsx("ul", { children: [Sa, Ca, $a].map(
4027
4027
  (r) => /* @__PURE__ */ a.jsxs(
4028
4028
  "li",
4029
4029
  {
4030
- className: S({ matches: t[r] }),
4030
+ className: E({ matches: t[r] }),
4031
4031
  children: [
4032
4032
  /* @__PURE__ */ a.jsxs(be, { children: [
4033
4033
  n.formatMessage({ id: `${Nt}rule_label` }),
@@ -4091,19 +4091,19 @@ const Vl = ({
4091
4091
  try {
4092
4092
  l((x) => ({ ...x, rating: y, disabled: !0 })), await r({ id: f, value: y });
4093
4093
  } catch (x) {
4094
- l((E) => ({ ...E, rating: null })), s(x);
4094
+ l((S) => ({ ...S, rating: null })), s(x);
4095
4095
  } finally {
4096
4096
  l((x) => ({ ...x, disabled: !1 }));
4097
4097
  }
4098
4098
  };
4099
- return /* @__PURE__ */ a.jsxs("div", { className: S("rating", i), children: [
4099
+ return /* @__PURE__ */ a.jsxs("div", { className: E("rating", i), children: [
4100
4100
  /* @__PURE__ */ a.jsx("span", { className: "label", children: v[m ? "success" : "text"] }),
4101
4101
  /* @__PURE__ */ a.jsx("ol", { children: Array.from(new Array(e).keys()).map((y) => {
4102
4102
  const x = y + 1;
4103
4103
  return /* @__PURE__ */ a.jsx(
4104
4104
  "li",
4105
4105
  {
4106
- className: S({ selected: m && x <= m }),
4106
+ className: E({ selected: m && x <= m }),
4107
4107
  children: /* @__PURE__ */ a.jsx(
4108
4108
  se,
4109
4109
  {
@@ -4118,8 +4118,8 @@ const Vl = ({
4118
4118
  { id: `${g}stars` },
4119
4119
  { number: x, total: e }
4120
4120
  )}${x === 1 || x === e ? ` - ${v[x === 1 ? "low" : "high"]}` : ""}`,
4121
- onClick: (E) => {
4122
- E.preventDefault(), E.stopPropagation(), _(x);
4121
+ onClick: (S) => {
4122
+ S.preventDefault(), S.stopPropagation(), _(x);
4123
4123
  },
4124
4124
  disabled: p
4125
4125
  }
@@ -4152,7 +4152,7 @@ const Yl = ({
4152
4152
  return /* @__PURE__ */ a.jsxs(
4153
4153
  "div",
4154
4154
  {
4155
- className: S("toggle", o),
4155
+ className: E("toggle", o),
4156
4156
  onClick: (u) => {
4157
4157
  u.preventDefault(), u.stopPropagation(), l(c === n[0].value ? n[1].value : n[0].value);
4158
4158
  },
@@ -4161,7 +4161,7 @@ const Yl = ({
4161
4161
  /* @__PURE__ */ a.jsx(
4162
4162
  "ul",
4163
4163
  {
4164
- className: S("toggle-options", {
4164
+ className: E("toggle-options", {
4165
4165
  disabled: i,
4166
4166
  on: c === n[1].value
4167
4167
  }),
@@ -4211,7 +4211,7 @@ function Kl({ className: t = "", userId: e, userName: n, src: r, setUserImage: s
4211
4211
  }
4212
4212
  c(!1);
4213
4213
  };
4214
- return /* @__PURE__ */ a.jsxs("div", { className: S("profile-image-change-figure", t), children: [
4214
+ return /* @__PURE__ */ a.jsxs("div", { className: E("profile-image-change-figure", t), children: [
4215
4215
  /* @__PURE__ */ a.jsx(Ye, { className: "profile-image-change-picture", name: n, src: r, "data-testid": "profile-picture" }),
4216
4216
  d && /* @__PURE__ */ a.jsx("p", { className: "error text-small", children: /* @__PURE__ */ a.jsx(ye, { id: "profile_image_change_error" }) }),
4217
4217
  /* @__PURE__ */ a.jsx(
@@ -4319,7 +4319,7 @@ const Yi = ({
4319
4319
  "NOT_SUBMITTED"
4320
4320
  /* NOT_SUBMITTED */
4321
4321
  ), p(!0), f([]);
4322
- }, E = (w) => {
4322
+ }, S = (w) => {
4323
4323
  w.preventDefault(), o(), v(
4324
4324
  "CLOSED"
4325
4325
  /* CLOSED */
@@ -4333,14 +4333,14 @@ const Yi = ({
4333
4333
  /* @__PURE__ */ a.jsx(Oe, {}),
4334
4334
  /* @__PURE__ */ a.jsx("div", { className: "footer", children: g === "SUCCESS" ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
4335
4335
  /* @__PURE__ */ a.jsx(se, { variant: "secondary", onClick: x, children: _({ id: "inviteForm_ctaSendMoreInvites" }) }),
4336
- /* @__PURE__ */ a.jsx(se, { onClick: E, children: _({ id: "inviteForm_ctaDone" }) })
4336
+ /* @__PURE__ */ a.jsx(se, { onClick: S, children: _({ id: "inviteForm_ctaDone" }) })
4337
4337
  ] }) : /* @__PURE__ */ a.jsx(se, { onClick: x, children: _({ id: "inviteForm_ctaTryAgain" }) }) })
4338
4338
  ] }) : /* @__PURE__ */ a.jsx("div", { className: "invite-form-wrapper", children: /* @__PURE__ */ a.jsxs(
4339
4339
  "form",
4340
4340
  {
4341
4341
  style: { backgroundColor: i },
4342
4342
  onSubmit: y,
4343
- className: S("invite-form gtm-trackable"),
4343
+ className: E("invite-form gtm-trackable"),
4344
4344
  children: [
4345
4345
  /* @__PURE__ */ a.jsxs("fieldset", { className: "content", children: [
4346
4346
  /* @__PURE__ */ a.jsx("h2", { className: "title", style: { color: r }, children: t }),
@@ -4468,7 +4468,7 @@ const Ki = ({
4468
4468
  "form",
4469
4469
  {
4470
4470
  onSubmit: u,
4471
- className: S("search-form gtm-trackable", e),
4471
+ className: E("search-form gtm-trackable", e),
4472
4472
  "data-gtm-event-context": s,
4473
4473
  "data-gtm-event-type": i,
4474
4474
  children: /* @__PURE__ */ a.jsx(
@@ -4756,7 +4756,7 @@ const Ki = ({
4756
4756
  const Xi = ({ className: t = "" }) => /* @__PURE__ */ a.jsxs(
4757
4757
  "div",
4758
4758
  {
4759
- className: S("success-message", t),
4759
+ className: E("success-message", t),
4760
4760
  "data-testid": "success-message",
4761
4761
  children: [
4762
4762
  /* @__PURE__ */ a.jsx("p", { className: "success-title", children: /* @__PURE__ */ a.jsx(ye, { id: "signup_success_title" }) }),
@@ -4817,7 +4817,7 @@ const eo = {
4817
4817
  }, [v, _] = Yn(ma, eo), {
4818
4818
  validFields: y,
4819
4819
  emailDetails: x,
4820
- shouldManuallyApprove: E,
4820
+ shouldManuallyApprove: S,
4821
4821
  shouldDisableButton: w,
4822
4822
  showSuccessMessage: b,
4823
4823
  showError: F
@@ -4834,8 +4834,8 @@ const eo = {
4834
4834
  hiddenValidation: Y.createRef()
4835
4835
  };
4836
4836
  ae(() => {
4837
- E === !0 && B.jobTitle.current && B.jobTitle.current.focus();
4838
- }, [E]), ae(() => {
4837
+ S === !0 && B.jobTitle.current && B.jobTitle.current.focus();
4838
+ }, [S]), ae(() => {
4839
4839
  R["signup-this-session"] && _([{ type: "showSuccessMessage", value: !0 }]);
4840
4840
  }, [R]), ae(() => {
4841
4841
  b && R["functional-cookie-consent"] && Q("signup-this-session", "true", {
@@ -4853,11 +4853,11 @@ const eo = {
4853
4853
  dispatch: _,
4854
4854
  dataToSubmit: o,
4855
4855
  intl: d
4856
- }), [o, r, d, B, g, v]), C = w ? !0 : E ? !Object.values(y).every((k) => k === !0) : !y.name || !y.email || ["exists", "pending", "verify"].includes(x.boxType);
4856
+ }), [o, r, d, B, g, v]), C = w ? !0 : S ? !Object.values(y).every((k) => k === !0) : !y.name || !y.email || ["exists", "pending", "verify"].includes(x.boxType);
4857
4857
  return g.successMessage && b ? /* @__PURE__ */ a.jsx(Xi, { className: t }) : /* @__PURE__ */ a.jsxs(
4858
4858
  "fieldset",
4859
4859
  {
4860
- className: S("signup-form-fieldset", t),
4860
+ className: E("signup-form-fieldset", t),
4861
4861
  "data-testid": "signup-form",
4862
4862
  children: [
4863
4863
  g.title && /* @__PURE__ */ a.jsx("p", { className: "signup-title", children: /* @__PURE__ */ a.jsx(ye, { id: "signup_title" }) }),
@@ -4943,7 +4943,7 @@ function to() {
4943
4943
  return ue;
4944
4944
  Rr = 1;
4945
4945
  var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, s = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, d = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, u = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, m = t ? Symbol.for("react.suspense_list") : 60120, p = t ? Symbol.for("react.memo") : 60115, g = t ? Symbol.for("react.lazy") : 60116, v = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, y = t ? Symbol.for("react.responder") : 60118, x = t ? Symbol.for("react.scope") : 60119;
4946
- function E(b) {
4946
+ function S(b) {
4947
4947
  if (typeof b == "object" && b !== null) {
4948
4948
  var F = b.$$typeof;
4949
4949
  switch (F) {
@@ -4974,35 +4974,35 @@ function to() {
4974
4974
  }
4975
4975
  }
4976
4976
  function w(b) {
4977
- return E(b) === l;
4977
+ return S(b) === l;
4978
4978
  }
4979
4979
  return ue.AsyncMode = d, ue.ConcurrentMode = l, ue.ContextConsumer = c, ue.ContextProvider = o, ue.Element = e, ue.ForwardRef = u, ue.Fragment = r, ue.Lazy = g, ue.Memo = p, ue.Portal = n, ue.Profiler = i, ue.StrictMode = s, ue.Suspense = f, ue.isAsyncMode = function(b) {
4980
- return w(b) || E(b) === d;
4980
+ return w(b) || S(b) === d;
4981
4981
  }, ue.isConcurrentMode = w, ue.isContextConsumer = function(b) {
4982
- return E(b) === c;
4982
+ return S(b) === c;
4983
4983
  }, ue.isContextProvider = function(b) {
4984
- return E(b) === o;
4984
+ return S(b) === o;
4985
4985
  }, ue.isElement = function(b) {
4986
4986
  return typeof b == "object" && b !== null && b.$$typeof === e;
4987
4987
  }, ue.isForwardRef = function(b) {
4988
- return E(b) === u;
4988
+ return S(b) === u;
4989
4989
  }, ue.isFragment = function(b) {
4990
- return E(b) === r;
4990
+ return S(b) === r;
4991
4991
  }, ue.isLazy = function(b) {
4992
- return E(b) === g;
4992
+ return S(b) === g;
4993
4993
  }, ue.isMemo = function(b) {
4994
- return E(b) === p;
4994
+ return S(b) === p;
4995
4995
  }, ue.isPortal = function(b) {
4996
- return E(b) === n;
4996
+ return S(b) === n;
4997
4997
  }, ue.isProfiler = function(b) {
4998
- return E(b) === i;
4998
+ return S(b) === i;
4999
4999
  }, ue.isStrictMode = function(b) {
5000
- return E(b) === s;
5000
+ return S(b) === s;
5001
5001
  }, ue.isSuspense = function(b) {
5002
- return E(b) === f;
5002
+ return S(b) === f;
5003
5003
  }, ue.isValidElementType = function(b) {
5004
5004
  return typeof b == "string" || typeof b == "function" || b === r || b === l || b === i || b === s || b === f || b === m || typeof b == "object" && b !== null && (b.$$typeof === g || b.$$typeof === p || b.$$typeof === o || b.$$typeof === c || b.$$typeof === u || b.$$typeof === _ || b.$$typeof === y || b.$$typeof === x || b.$$typeof === v);
5005
- }, ue.typeOf = E, ue;
5005
+ }, ue.typeOf = S, ue;
5006
5006
  }
5007
5007
  var de = {};
5008
5008
  /** @license React v16.13.1
@@ -5017,7 +5017,7 @@ var Fr;
5017
5017
  function no() {
5018
5018
  return Fr || (Fr = 1, process.env.NODE_ENV !== "production" && function() {
5019
5019
  var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, s = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, d = t ? Symbol.for("react.async_mode") : 60111, l = t ? Symbol.for("react.concurrent_mode") : 60111, u = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, m = t ? Symbol.for("react.suspense_list") : 60120, p = t ? Symbol.for("react.memo") : 60115, g = t ? Symbol.for("react.lazy") : 60116, v = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, y = t ? Symbol.for("react.responder") : 60118, x = t ? Symbol.for("react.scope") : 60119;
5020
- function E(D) {
5020
+ function S(D) {
5021
5021
  return typeof D == "string" || typeof D == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
5022
5022
  D === r || D === l || D === i || D === s || D === f || D === m || typeof D == "object" && D !== null && (D.$$typeof === g || D.$$typeof === p || D.$$typeof === o || D.$$typeof === c || D.$$typeof === u || D.$$typeof === _ || D.$$typeof === y || D.$$typeof === x || D.$$typeof === v);
5023
5023
  }
@@ -5093,7 +5093,7 @@ function no() {
5093
5093
  function oe(D) {
5094
5094
  return w(D) === f;
5095
5095
  }
5096
- de.AsyncMode = b, de.ConcurrentMode = F, de.ContextConsumer = R, de.ContextProvider = Q, de.Element = B, de.ForwardRef = $, de.Fragment = C, de.Lazy = k, de.Memo = j, de.Portal = N, de.Profiler = A, de.StrictMode = W, de.Suspense = Z, de.isAsyncMode = K, de.isConcurrentMode = T, de.isContextConsumer = P, de.isContextProvider = q, de.isElement = L, de.isForwardRef = U, de.isFragment = te, de.isLazy = G, de.isMemo = V, de.isPortal = ee, de.isProfiler = re, de.isStrictMode = O, de.isSuspense = oe, de.isValidElementType = E, de.typeOf = w;
5096
+ de.AsyncMode = b, de.ConcurrentMode = F, de.ContextConsumer = R, de.ContextProvider = Q, de.Element = B, de.ForwardRef = $, de.Fragment = C, de.Lazy = k, de.Memo = j, de.Portal = N, de.Profiler = A, de.StrictMode = W, de.Suspense = Z, de.isAsyncMode = K, de.isConcurrentMode = T, de.isContextConsumer = P, de.isContextProvider = q, de.isElement = L, de.isForwardRef = U, de.isFragment = te, de.isLazy = G, de.isMemo = V, de.isPortal = ee, de.isProfiler = re, de.isStrictMode = O, de.isSuspense = oe, de.isValidElementType = S, de.typeOf = w;
5097
5097
  }()), de;
5098
5098
  }
5099
5099
  var Or;
@@ -5249,7 +5249,7 @@ function so() {
5249
5249
  string: y("string"),
5250
5250
  symbol: y("symbol"),
5251
5251
  any: x(),
5252
- arrayOf: E,
5252
+ arrayOf: S,
5253
5253
  element: w(),
5254
5254
  elementType: b(),
5255
5255
  instanceOf: F,
@@ -5307,7 +5307,7 @@ function so() {
5307
5307
  function x() {
5308
5308
  return _(o);
5309
5309
  }
5310
- function E(T) {
5310
+ function S(T) {
5311
5311
  function P(q, L, U, te, G) {
5312
5312
  if (typeof T != "function")
5313
5313
  return new v("Property `" + G + "` of component `" + U + "` has invalid PropType notation inside arrayOf.");
@@ -6119,7 +6119,7 @@ var Zr = {
6119
6119
  })), g(A || o.mostRecentlyFocusedNode || f());
6120
6120
  }
6121
6121
  o.recentNavEvent = void 0;
6122
- }, E = function(k) {
6122
+ }, S = function(k) {
6123
6123
  var j = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
6124
6124
  o.recentNavEvent = k;
6125
6125
  var N = _({
@@ -6132,7 +6132,7 @@ var Zr = {
6132
6132
  k.preventDefault(), c.deactivate();
6133
6133
  return;
6134
6134
  }
6135
- (i.isKeyForward(k) || i.isKeyBackward(k)) && E(k, i.isKeyBackward(k));
6135
+ (i.isKeyForward(k) || i.isKeyBackward(k)) && S(k, i.isKeyBackward(k));
6136
6136
  }, b = function(k) {
6137
6137
  var j = Mt(k);
6138
6138
  l(j, k) >= 0 || lt(i.clickOutsideDeactivates, k) || lt(i.allowOutsideClick, k) || (k.preventDefault(), k.stopImmediatePropagation());
@@ -6567,7 +6567,7 @@ rr.defaultProps = {
6567
6567
  var Qo = rr;
6568
6568
  const Jo = /* @__PURE__ */ la(Qo);
6569
6569
  const qa = ({ element: t = "section", children: e, className: n, ...r }) => Y.createElement(t, {
6570
- className: S("modal", n),
6570
+ className: E("modal", n),
6571
6571
  children: typeof e == "string" ? /* @__PURE__ */ a.jsx("p", { children: e }) : e,
6572
6572
  ...r
6573
6573
  });
@@ -6599,11 +6599,11 @@ const an = ({
6599
6599
  _(e);
6600
6600
  }, [e]);
6601
6601
  const y = r ? { "--max-width": `${r / 16}rem` } : {};
6602
- return /* @__PURE__ */ a.jsx("div", { className: S("overlay", { open: p }), role: "dialog", children: /* @__PURE__ */ a.jsx(
6602
+ return /* @__PURE__ */ a.jsx("div", { className: E("overlay", { open: p }), role: "dialog", children: /* @__PURE__ */ a.jsx(
6603
6603
  qa,
6604
6604
  {
6605
6605
  id: t,
6606
- className: S("overlay-modal", u, {
6606
+ className: E("overlay-modal", u, {
6607
6607
  "has-max-width": r
6608
6608
  }),
6609
6609
  hidden: !p,
@@ -6662,7 +6662,7 @@ const Jl = ({
6662
6662
  showDivider: !1,
6663
6663
  showIcon: o,
6664
6664
  functions: { onClose: c },
6665
- className: S("invite-modal", t, { success: !!n }),
6665
+ className: E("invite-modal", t, { success: !!n }),
6666
6666
  children: /* @__PURE__ */ a.jsx(
6667
6667
  Yi,
6668
6668
  {
@@ -6874,8 +6874,8 @@ const Xl = ({ members: t }) => {
6874
6874
  ) : null;
6875
6875
  const g = ["communityPage", "microcourse", "event"];
6876
6876
  if (e && e.onClick && g.includes(m) && u !== "premium") {
6877
- const y = i.loading || i.registered || ((_ = t == null ? void 0 : t.members) == null ? void 0 : _.isMember), x = async (E) => {
6878
- if (E.preventDefault(), E.stopPropagation(), !(y || !e || !e.onClick)) {
6877
+ const y = i.loading || i.registered || ((_ = t == null ? void 0 : t.members) == null ? void 0 : _.isMember), x = async (S) => {
6878
+ if (S.preventDefault(), S.stopPropagation(), !(y || !e || !e.onClick)) {
6879
6879
  o((w) => ({ ...w, loading: !0 }));
6880
6880
  try {
6881
6881
  const w = await e.onClick(t);
@@ -6885,22 +6885,30 @@ const Xl = ({ members: t }) => {
6885
6885
  }
6886
6886
  }
6887
6887
  };
6888
- return /* @__PURE__ */ a.jsx("p", { className: "cta-wrapper", children: /* @__PURE__ */ a.jsx(
6889
- se,
6888
+ return /* @__PURE__ */ a.jsx(
6889
+ "p",
6890
6890
  {
6891
- onClick: x,
6892
- className: "gtm-trackable",
6893
- size: "small",
6894
- styling: { fullWidth: !0 },
6895
- disabled: y,
6896
- "data-gtm-event-context": `${r}Page-${m}: ${f}`,
6897
- "data-gtm-event-type": `${r}-${m}-register-click`,
6898
- "data-testid": "in-card-button",
6899
- children: c || s.formatMessage({
6900
- id: `card_cta_${m}${y ? `_${i.loading ? "loading" : "done"}` : ""}`
6901
- })
6891
+ className: E("cta-wrapper", {
6892
+ "has-member-section": t == null ? void 0 : t.members
6893
+ }),
6894
+ children: /* @__PURE__ */ a.jsx(
6895
+ se,
6896
+ {
6897
+ onClick: x,
6898
+ className: "gtm-trackable",
6899
+ size: "small",
6900
+ styling: { fullWidth: !0 },
6901
+ disabled: y,
6902
+ "data-gtm-event-context": `${r}Page-${m}: ${f}`,
6903
+ "data-gtm-event-type": `${r}-${m}-register-click`,
6904
+ "data-testid": "in-card-button",
6905
+ children: c || s.formatMessage({
6906
+ id: `card_cta_${m}${y ? `_${i.loading ? "loading" : "done"}` : ""}`
6907
+ })
6908
+ }
6909
+ )
6902
6910
  }
6903
- ) });
6911
+ );
6904
6912
  }
6905
6913
  return null;
6906
6914
  };
@@ -6949,7 +6957,7 @@ const nc = {
6949
6957
  basePath: _ = "",
6950
6958
  className: y,
6951
6959
  length: x,
6952
- gtmEvent: E
6960
+ gtmEvent: S
6953
6961
  } = Kt[v];
6954
6962
  let w = m.slug ? `${_}${m.slug}` : !1;
6955
6963
  m.slug && (m.slug.slice(0, 4) === "http" || m.slug.slice(0, 2) === "//" || m.slug.slice(0, 6) === "mailto" || m.slug.slice(0, 3) === "tel") && (w = m.slug);
@@ -6959,12 +6967,12 @@ const nc = {
6959
6967
  href: w,
6960
6968
  className: "card gtm-trackable",
6961
6969
  "data-gtm-event-context": `${s}-CarouselCard`,
6962
- "data-gtm-event-type": `${E}-click`,
6970
+ "data-gtm-event-type": `${S}-click`,
6963
6971
  "data-testid": "link"
6964
6972
  }, m.openInNewTab && (F.target = "_blank")), /* @__PURE__ */ a.jsx(
6965
6973
  "li",
6966
6974
  {
6967
- className: S("card-wrapper text-medium", y, i, {
6975
+ className: E("card-wrapper text-medium", y, i, {
6968
6976
  "has-link": w,
6969
6977
  "no-link": !w,
6970
6978
  "has-image": m.banner
@@ -7053,7 +7061,7 @@ const nc = {
7053
7061
  }
7054
7062
  );
7055
7063
  };
7056
- const rc = ({ cards: t, cardTypes: e, className: n = "", ...r }) => /* @__PURE__ */ a.jsx("ul", { className: S("card-block", n), children: t.map((s, i) => {
7064
+ const rc = ({ cards: t, cardTypes: e, className: n = "", ...r }) => /* @__PURE__ */ a.jsx("ul", { className: E("card-block", n), children: t.map((s, i) => {
7057
7065
  const o = s.slug ? `${s.slug}-${e[i]}` : `${e[i]}-${i}`;
7058
7066
  return /* @__PURE__ */ a.jsx(
7059
7067
  Ua,
@@ -7073,7 +7081,7 @@ const rc = ({ cards: t, cardTypes: e, className: n = "", ...r }) => /* @__PURE__
7073
7081
  return null;
7074
7082
  const { text: r, element: s = "h2", variant: i = "default", size: o = "medium", link: c } = e;
7075
7083
  return Y.createElement(s, {
7076
- className: S("title", i, o, {
7084
+ className: E("title", i, o, {
7077
7085
  "highlighted-title": i === "highlighted"
7078
7086
  }),
7079
7087
  children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
@@ -7113,7 +7121,7 @@ const ic = ({
7113
7121
  }), { cardsPerPage: f, isLoading: m } = l, [p, g] = X({
7114
7122
  currentPage: 0,
7115
7123
  loadedPages: [0]
7116
- }), { currentPage: v, loadedPages: _ } = p, y = e.length, x = Math.ceil(y / f), E = pe(null), w = jt(!0, !0, E == null ? void 0 : E.current);
7124
+ }), { currentPage: v, loadedPages: _ } = p, y = e.length, x = Math.ceil(y / f), S = pe(null), w = jt(!0, !0, S == null ? void 0 : S.current);
7117
7125
  ae(() => {
7118
7126
  let $ = 1;
7119
7127
  w && (w >= En.fourCards ? $ = 4 : w >= En.threeCards ? $ = 3 : w >= En.twoCards && ($ = 2), $ > y && ($ = y)), u((C) => ({
@@ -7164,8 +7172,8 @@ const ic = ({
7164
7172
  return /* @__PURE__ */ a.jsxs(
7165
7173
  "section",
7166
7174
  {
7167
- ref: E,
7168
- className: S("carousel-wrapper", i),
7175
+ ref: S,
7176
+ className: E("carousel-wrapper", i),
7169
7177
  "data-testid": "carousel",
7170
7178
  children: [
7171
7179
  /* @__PURE__ */ a.jsx(sc, { id: t, title: s }),
@@ -7220,7 +7228,7 @@ const ic = ({
7220
7228
  [...Array(x)].map(($, C) => /* @__PURE__ */ a.jsx("li", { "data-testid": "carousel-controls-button", children: /* @__PURE__ */ a.jsx(
7221
7229
  "button",
7222
7230
  {
7223
- className: S("page-indicator", {
7231
+ className: E("page-indicator", {
7224
7232
  selected: C === v
7225
7233
  }),
7226
7234
  onClick: (k) => {
@@ -7303,7 +7311,7 @@ const Sn = "joinCommunityButton", Wa = ({
7303
7311
  onClick: async (p) => {
7304
7312
  o && (p.currentTarget.blur(), c ? (u("leaving"), typeof r == "function" && await r()) : (u("joining"), typeof n == "function" && await n()), d(!c));
7305
7313
  },
7306
- className: S("join-community-button", l, {
7314
+ className: E("join-community-button", l, {
7307
7315
  active: l === "joining"
7308
7316
  }),
7309
7317
  disabled: !o,
@@ -7322,7 +7330,7 @@ const Cn = "communityDetails_", tu = ({
7322
7330
  functions: { invite: i, ...o }
7323
7331
  }) => {
7324
7332
  const c = H(), d = 5, l = r || s.length, u = s.length ? s : Array(d).fill({}), f = `/communities/${n}/members` === window.location.pathname;
7325
- return /* @__PURE__ */ a.jsxs("div", { className: S("community-details", t), children: [
7333
+ return /* @__PURE__ */ a.jsxs("div", { className: E("community-details", t), children: [
7326
7334
  /* @__PURE__ */ a.jsx(Oe, {}),
7327
7335
  /* @__PURE__ */ a.jsxs("div", { className: "member-details", children: [
7328
7336
  /* @__PURE__ */ a.jsxs("div", { className: "top", children: [
@@ -7371,7 +7379,7 @@ const nu = ({ breadcrumbs: t, cutoff: e = 20, className: n = "" }) => {
7371
7379
  children: r.formatMessage({ id: "breadcrumbs_label" })
7372
7380
  }
7373
7381
  ),
7374
- /* @__PURE__ */ a.jsx("ul", { className: S("breadcrumbs text-small", n), children: t.map(
7382
+ /* @__PURE__ */ a.jsx("ul", { className: E("breadcrumbs text-small", n), children: t.map(
7375
7383
  ({ text: s, href: i, current: o = !1 }, c) => /* @__PURE__ */ a.jsxs("li", { children: [
7376
7384
  o && /* @__PURE__ */ a.jsx(
7377
7385
  be,
@@ -7403,7 +7411,7 @@ const ru = ({
7403
7411
  let m = [];
7404
7412
  c.includes(u) ? m = c.filter((p) => p !== u) : u === "all" ? m = ["all"] : n ? m = [...c.filter((p) => p !== "all"), u] : m = [u], d((p) => (r && typeof r == "function" && r({ current: m, previous: p }), m)), f && typeof f == "function" && f();
7405
7413
  };
7406
- return /* @__PURE__ */ a.jsx("ul", { className: S("filters", s), children: o.map(({ id: u, text: f, disabled: m = !1, callback: p = () => {
7414
+ return /* @__PURE__ */ a.jsx("ul", { className: E("filters", s), children: o.map(({ id: u, text: f, disabled: m = !1, callback: p = () => {
7407
7415
  } }) => {
7408
7416
  let g = {};
7409
7417
  return m && (g = {
@@ -7412,7 +7420,7 @@ const ru = ({
7412
7420
  }), /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(
7413
7421
  "button",
7414
7422
  {
7415
- className: S(u, { selected: c.includes(u) }),
7423
+ className: E(u, { selected: c.includes(u) }),
7416
7424
  onClick: (v) => {
7417
7425
  v.preventDefault(), v.stopPropagation(), l(u, p);
7418
7426
  },
@@ -7453,14 +7461,14 @@ const Ot = "languageSwitcher_", au = ({
7453
7461
  ))
7454
7462
  return null;
7455
7463
  const g = Object.keys(r), v = f !== t;
7456
- return /* @__PURE__ */ a.jsxs("div", { className: S("language-switcher text-small", o, d), children: [
7464
+ return /* @__PURE__ */ a.jsxs("div", { className: E("language-switcher text-small", o, d), children: [
7457
7465
  /* @__PURE__ */ a.jsxs("nav", { children: [
7458
7466
  o !== "short" && /* @__PURE__ */ a.jsx("p", { children: c || l.formatMessage({ id: `${Ot}label` }) }),
7459
7467
  /* @__PURE__ */ a.jsx("ul", { children: g.map((_) => {
7460
- var E;
7468
+ var S;
7461
7469
  if (!gn[_])
7462
7470
  return null;
7463
- const y = (E = r[_]) == null ? void 0 : E.post_name;
7471
+ const y = (S = r[_]) == null ? void 0 : S.post_name;
7464
7472
  let x = { className: _ };
7465
7473
  if (f === _)
7466
7474
  x["aria-label"] = l.formatMessage(
@@ -7528,7 +7536,7 @@ const $n = ks({ locale: "en", messages: rt }), sn = ({
7528
7536
  g instanceof Error ? f(g.message) : f("Unknown error");
7529
7537
  }
7530
7538
  };
7531
- return !u && !t && !c.endOfFeed ? null : /* @__PURE__ */ a.jsx("footer", { className: S("load-more", d), children: !u && t ? /* @__PURE__ */ a.jsx(
7539
+ return !u && !t && !c.endOfFeed ? null : /* @__PURE__ */ a.jsx("footer", { className: E("load-more", d), children: !u && t ? /* @__PURE__ */ a.jsx(
7532
7540
  se,
7533
7541
  {
7534
7542
  variant: r,
@@ -7554,7 +7562,7 @@ const za = ({
7554
7562
  "a",
7555
7563
  {
7556
7564
  href: "/home/",
7557
- className: S("logo", t, e, n),
7565
+ className: E("logo", t, e, n),
7558
7566
  ...r,
7559
7567
  children: /* @__PURE__ */ a.jsx(be, { children: /* @__PURE__ */ a.jsx(ye, { id: "apolitical" }) })
7560
7568
  }
@@ -7575,7 +7583,7 @@ const cc = ({
7575
7583
  document.removeEventListener("click", d, !0);
7576
7584
  })), Y.createElement(t, {
7577
7585
  ref: i,
7578
- className: S("more-menu text-medium", r),
7586
+ className: E("more-menu text-medium", r),
7579
7587
  children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
7580
7588
  /* @__PURE__ */ a.jsx(
7581
7589
  se,
@@ -7646,7 +7654,7 @@ const uc = [
7646
7654
  uc.map(({ key: s, href: i }) => /* @__PURE__ */ a.jsx(
7647
7655
  "li",
7648
7656
  {
7649
- className: S(s, { active: lc(i, t) }),
7657
+ className: E(s, { active: lc(i, t) }),
7650
7658
  children: /* @__PURE__ */ a.jsx(
7651
7659
  "a",
7652
7660
  {
@@ -7733,7 +7741,7 @@ const mc = "shareLinks_", su = ({
7733
7741
  className: o = ""
7734
7742
  }) => {
7735
7743
  const c = H(), d = fc({ title: t, link: e, referrer: n });
7736
- return /* @__PURE__ */ a.jsxs("aside", { className: S("share-links", s, i, o), children: [
7744
+ return /* @__PURE__ */ a.jsxs("aside", { className: E("share-links", s, i, o), children: [
7737
7745
  /* @__PURE__ */ a.jsx("p", { className: "text-small", children: c.formatMessage({ id: "shareLinks_label" }) }),
7738
7746
  /* @__PURE__ */ a.jsx("ul", { children: d.map(({ key: l, icon: u, url: f, shouldRender: m = !0, onClick: p }) => {
7739
7747
  if (typeof m == "function" && !m())
@@ -7809,7 +7817,7 @@ const iu = ({ tabs: t, className: e = "", preventLocationChange: n }) => {
7809
7817
  {
7810
7818
  href: p || `#${u}`,
7811
7819
  id: `tab-${u}`,
7812
- className: S({ selected: _ }),
7820
+ className: E({ selected: _ }),
7813
7821
  role: "tab",
7814
7822
  "aria-selected": _,
7815
7823
  ...y,
@@ -7817,7 +7825,7 @@ const iu = ({ tabs: t, className: e = "", preventLocationChange: n }) => {
7817
7825
  }
7818
7826
  ) }, `tab-${u}`)
7819
7827
  );
7820
- }), /* @__PURE__ */ a.jsxs("div", { className: S("tabs-wrapper", e), children: [
7828
+ }), /* @__PURE__ */ a.jsxs("div", { className: E("tabs-wrapper", e), children: [
7821
7829
  /* @__PURE__ */ a.jsx("ul", { className: "tabs", role: "tablist", children: c }),
7822
7830
  /* @__PURE__ */ a.jsx("div", { className: "tab-content", children: d })
7823
7831
  ] });
@@ -7829,12 +7837,21 @@ const pc = {
7829
7837
  }, hc = ({
7830
7838
  layout: t = "2-1",
7831
7839
  hideOnMobile: e = !1,
7832
- className: n = "",
7833
- children: r
7840
+ hasCSSContainers: n = !1,
7841
+ className: r = "",
7842
+ children: s
7834
7843
  }) => {
7835
- const s = jt(!0);
7836
- let i = r;
7837
- return Y.Children.count(r) === 1 && (i = Y.Children.toArray(r)[0], i.props && (i = i.props.children)), /* @__PURE__ */ a.jsx("section", { className: S("columns", `layout-${t}`, n), children: Y.Children.map(i, (o, c) => e !== !1 && c === e && s && s < pc[t] ? null : o) });
7844
+ const i = jt(!0);
7845
+ let o = s;
7846
+ return Y.Children.count(s) === 1 && (o = Y.Children.toArray(s)[0], o.props && (o = o.props.children)), /* @__PURE__ */ a.jsx(
7847
+ "section",
7848
+ {
7849
+ className: E("columns", `layout-${t}`, r, {
7850
+ "has-containers": n
7851
+ }),
7852
+ children: Y.Children.map(o, (c, d) => e !== !1 && d === e && i && i < pc[t] ? null : c)
7853
+ }
7854
+ );
7838
7855
  };
7839
7856
  let Nn;
7840
7857
  const Pn = "contactFooter_", ou = ({ onSuccess: t = async () => {
@@ -8312,8 +8329,8 @@ const Xe = "footer_", Gt = "SiteFooter", Kr = ({ group: t }) => {
8312
8329
  if (c.href) {
8313
8330
  let x = c.gtmType || `${t}-click`;
8314
8331
  if (x.includes(".")) {
8315
- const E = x.split("."), w = E[E.length - 2];
8316
- x = `${w === "topics" ? `${w}-` : ""}${E[E.length - 1]}`;
8332
+ const S = x.split("."), w = S[S.length - 2];
8333
+ x = `${w === "topics" ? `${w}-` : ""}${S[S.length - 1]}`;
8317
8334
  }
8318
8335
  m = {
8319
8336
  href: c.href,
@@ -8333,7 +8350,7 @@ const Xe = "footer_", Gt = "SiteFooter", Kr = ({ group: t }) => {
8333
8350
  const p = c.order && c.order[0] && c[c.order[0]], g = p && c[c.order[0]].order, v = m && window.location.pathname === c.href;
8334
8351
  let _ = {}, y = {};
8335
8352
  if (p) {
8336
- const x = c.menuId || t, E = {
8353
+ const x = c.menuId || t, S = {
8337
8354
  onClick: (w) => fe.events.onClick(w, { id: x, callback: s, isOpen: r[x] }),
8338
8355
  onFocus: () => fe.events.onFocus({ id: x }),
8339
8356
  onBlur: () => fe.events.onBlur({ id: x, callback: s }),
@@ -8341,7 +8358,7 @@ const Xe = "footer_", Gt = "SiteFooter", Kr = ({ group: t }) => {
8341
8358
  onMouseEnter: () => fe.events.onMouseEnter({ id: x, callback: s })
8342
8359
  };
8343
8360
  n && (g && (_ = {
8344
- ...E,
8361
+ ...S,
8345
8362
  onKeyPress: (w) => {
8346
8363
  w.key === "Enter" && fe.events.onClick(w, { id: x, callback: s, isOpen: r[x] });
8347
8364
  },
@@ -8352,13 +8369,13 @@ const Xe = "footer_", Gt = "SiteFooter", Kr = ({ group: t }) => {
8352
8369
  "aria-controls": x
8353
8370
  }), y = { hidden: x in r ? !r[x] : !0 }), g || (y = {
8354
8371
  ...y,
8355
- ...E
8372
+ ...S
8356
8373
  });
8357
8374
  }
8358
8375
  return /* @__PURE__ */ a.jsxs(
8359
8376
  "li",
8360
8377
  {
8361
- className: S({
8378
+ className: E({
8362
8379
  [c.className]: c.className,
8363
8380
  "has-submenu": p,
8364
8381
  parent: g,
@@ -8375,7 +8392,7 @@ const Xe = "footer_", Gt = "SiteFooter", Kr = ({ group: t }) => {
8375
8392
  c.order && /* @__PURE__ */ a.jsx("ul", { ...y, children: c.order.map((x) => {
8376
8393
  if (!c[x])
8377
8394
  return null;
8378
- const E = {
8395
+ const S = {
8379
8396
  isLoggedIn: e,
8380
8397
  isDesktopVersion: n,
8381
8398
  menus: r,
@@ -8385,7 +8402,7 @@ const Xe = "footer_", Gt = "SiteFooter", Kr = ({ group: t }) => {
8385
8402
  return c[x].order ? /* @__PURE__ */ a.jsxs(
8386
8403
  "li",
8387
8404
  {
8388
- className: S({
8405
+ className: E({
8389
8406
  [c[x].className]: c[x].className
8390
8407
  }),
8391
8408
  children: [
@@ -8394,7 +8411,7 @@ const Xe = "footer_", Gt = "SiteFooter", Kr = ({ group: t }) => {
8394
8411
  Jt,
8395
8412
  {
8396
8413
  id: `${t}.${x}.${w}`,
8397
- ...E
8414
+ ...S
8398
8415
  },
8399
8416
  w
8400
8417
  )) })
@@ -8405,7 +8422,7 @@ const Xe = "footer_", Gt = "SiteFooter", Kr = ({ group: t }) => {
8405
8422
  Jt,
8406
8423
  {
8407
8424
  id: `${t}.${x}`,
8408
- ...E
8425
+ ...S
8409
8426
  },
8410
8427
  x
8411
8428
  );
@@ -8462,7 +8479,7 @@ const vc = { height: 67, height_desktop: 83 }, Ha = ({ showNavigation: t = !0 })
8462
8479
  "nav",
8463
8480
  {
8464
8481
  id: "header",
8465
- className: S({
8482
+ className: E({
8466
8483
  "logged-in": s,
8467
8484
  "logged-out": !s,
8468
8485
  visible: d
@@ -8584,7 +8601,7 @@ const vc = { height: 67, height_desktop: 83 }, Ha = ({ showNavigation: t = !0 })
8584
8601
  /* @__PURE__ */ a.jsx(
8585
8602
  "div",
8586
8603
  {
8587
- className: S("overlay", {
8604
+ className: E("overlay", {
8588
8605
  open: l.navigation || l.account || !i.search && l.search
8589
8606
  })
8590
8607
  }
@@ -8631,14 +8648,14 @@ const bc = () => {
8631
8648
  "div",
8632
8649
  {
8633
8650
  id: "wrapper",
8634
- className: S(o, x, { "has-footer": l }),
8651
+ className: E(o, x, { "has-footer": l }),
8635
8652
  children: [
8636
8653
  /* @__PURE__ */ a.jsx(Ha, { showNavigation: d }),
8637
8654
  /* @__PURE__ */ a.jsxs("section", { id: "content-wrapper", children: [
8638
8655
  _ && /* @__PURE__ */ a.jsx(
8639
8656
  "div",
8640
8657
  {
8641
- className: S("additional-content prepended", {
8658
+ className: E("additional-content prepended", {
8642
8659
  "large-modal": p === "large"
8643
8660
  }),
8644
8661
  children: _
@@ -8647,7 +8664,7 @@ const bc = () => {
8647
8664
  Y.createElement(u === "bold" ? qa : "div", {
8648
8665
  id: "content",
8649
8666
  children: v,
8650
- className: S({ "large-modal": p === "large" })
8667
+ className: E({ "large-modal": p === "large" })
8651
8668
  })
8652
8669
  ] }),
8653
8670
  y && /* @__PURE__ */ a.jsx("div", { className: "additional-content appended", children: y }),
@@ -8708,7 +8725,7 @@ const lu = ({
8708
8725
  }), d.length < 1 ? null : /* @__PURE__ */ a.jsx(
8709
8726
  "ul",
8710
8727
  {
8711
- className: S("tags text-small", e, s, {
8728
+ className: E("tags text-small", e, s, {
8712
8729
  "one-line": n
8713
8730
  }),
8714
8731
  children: d.map((l) => {
@@ -8737,7 +8754,7 @@ const uu = ({
8737
8754
  className: o = ""
8738
8755
  }) => {
8739
8756
  const c = H();
8740
- return t.length === 0 ? null : /* @__PURE__ */ a.jsxs("div", { className: S("members-list", o), children: [
8757
+ return t.length === 0 ? null : /* @__PURE__ */ a.jsxs("div", { className: E("members-list", o), children: [
8741
8758
  /* @__PURE__ */ a.jsxs("h1", { children: [
8742
8759
  c.formatMessage({ id: "membersList" }),
8743
8760
  /* @__PURE__ */ a.jsx("span", { className: "count", children: e })
@@ -8773,7 +8790,7 @@ const du = ({
8773
8790
  l > 99 ? l = 100 : l < 1 && (l = 0);
8774
8791
  const { highlightPercentage: u = !1 } = o;
8775
8792
  return Y.createElement(t, {
8776
- className: S("course-progression", c, {
8793
+ className: E("course-progression", c, {
8777
8794
  "highlight-percentage": u,
8778
8795
  "has-circle-graph": i === "circle"
8779
8796
  }),
@@ -8812,7 +8829,7 @@ const xc = ({
8812
8829
  title: r,
8813
8830
  className: s = ""
8814
8831
  }) => Y.createElement(t, {
8815
- className: S("lesson-name", s),
8832
+ className: E("lesson-name", s),
8816
8833
  "data-number": `${e}.${n}`,
8817
8834
  children: r
8818
8835
  });
@@ -8825,8 +8842,8 @@ const wc = ({
8825
8842
  children: i
8826
8843
  }) => {
8827
8844
  const o = H(), c = Qn(`lessonType_${s}`) ? o.formatMessage({ id: `lessonType_${s}` }) : Zs(s || "");
8828
- return /* @__PURE__ */ a.jsxs("small", { className: S("content-type", { [t]: t !== "default" }), children: [
8829
- /* @__PURE__ */ a.jsx("span", { className: S("type", n), children: c }),
8845
+ return /* @__PURE__ */ a.jsxs("small", { className: E("content-type", { [t]: t !== "default" }), children: [
8846
+ /* @__PURE__ */ a.jsx("span", { className: E("type", n), children: c }),
8830
8847
  " ",
8831
8848
  e > 0 && !r && /* @__PURE__ */ a.jsx(Xn, { time: e }),
8832
8849
  " ",
@@ -8880,18 +8897,18 @@ const fu = ({
8880
8897
  contentType: _,
8881
8898
  icon: y,
8882
8899
  image: x,
8883
- isIntroduction: E,
8900
+ isIntroduction: S,
8884
8901
  optional: w,
8885
8902
  slug: b,
8886
8903
  subsectionId: F,
8887
8904
  title: R,
8888
8905
  type: Q
8889
8906
  }) => {
8890
- const B = s && e || E, $ = {};
8907
+ const B = s && e || S, $ = {};
8891
8908
  return x && ($.style = { "--image": `url(${x})` }), /* @__PURE__ */ a.jsx(
8892
8909
  "li",
8893
8910
  {
8894
- className: S({
8911
+ className: E({
8895
8912
  article: _ === St.ARTICLE,
8896
8913
  discussion: _ === St.DISCUSSION,
8897
8914
  quiz: _ === St.QUIZ,
@@ -8956,7 +8973,7 @@ const mu = ({
8956
8973
  hover: "check-inside-circle_no-overlap_inverted"
8957
8974
  },
8958
8975
  onClick: e,
8959
- className: S("mark-complete-button center gtm-trackable", {
8976
+ className: E("mark-complete-button center gtm-trackable", {
8960
8977
  completed: t
8961
8978
  }),
8962
8979
  "data-gtm-event-type": "mark-as-complete",
@@ -9011,7 +9028,7 @@ const we = "discussion_form_", ar = ({
9011
9028
  "data-testid": "loading-placeholder"
9012
9029
  }
9013
9030
  );
9014
- const E = (j) => {
9031
+ const S = (j) => {
9015
9032
  const N = j.target.value;
9016
9033
  p(N);
9017
9034
  let A;
@@ -9124,7 +9141,7 @@ const we = "discussion_form_", ar = ({
9124
9141
  "form",
9125
9142
  {
9126
9143
  id: w,
9127
- className: S("discussion-card discussion-form", {
9144
+ className: E("discussion-card discussion-form", {
9128
9145
  "no-styling": n.isInWrapper && n.isEditing
9129
9146
  }),
9130
9147
  "data-testid": `discussion-${t.type}-form`,
@@ -9151,7 +9168,7 @@ const we = "discussion_form_", ar = ({
9151
9168
  t.type,
9152
9169
  "action"
9153
9170
  ),
9154
- onChange: E,
9171
+ onChange: S,
9155
9172
  value: _ === "submitting" && !g ? "" : m,
9156
9173
  maxLength: i,
9157
9174
  "aria-invalid": !!g,
@@ -9252,7 +9269,7 @@ const An = () => {
9252
9269
  const [u, f] = X(e), [m, p] = X(s), [g, v] = X(!1), [_, y] = X(!1), x = wt(
9253
9270
  () => Ec(n, Dn),
9254
9271
  [n]
9255
- ), E = (b) => {
9272
+ ), S = (b) => {
9256
9273
  if (b.preventDefault(), b.stopPropagation(), y(!1), bt)
9257
9274
  return An(), !1;
9258
9275
  if (An(), g || !o)
@@ -9278,12 +9295,12 @@ const An = () => {
9278
9295
  }
9279
9296
  };
9280
9297
  return Y.createElement(t, {
9281
- className: S("likes-wrapper text-medium action-button", {
9298
+ className: E("likes-wrapper text-medium action-button", {
9282
9299
  "show-spinner": g,
9283
9300
  "is-liked": m,
9284
9301
  disabled: !o
9285
9302
  }),
9286
- onClick: E,
9303
+ onClick: S,
9287
9304
  onMouseEnter: () => {
9288
9305
  y(!0);
9289
9306
  },
@@ -9303,7 +9320,7 @@ const An = () => {
9303
9320
  variant: "tertiary",
9304
9321
  size: "medium",
9305
9322
  icon: { icon: m ? "heart" : "heart_empty", animate: "bounce" },
9306
- className: S({ "do-animation": m && !s }),
9323
+ className: E({ "do-animation": m && !s }),
9307
9324
  screenreaderText: o ? l.formatMessage(
9308
9325
  {
9309
9326
  id: `discussion_likes_${m ? "unlike" : "like"}`
@@ -9314,7 +9331,7 @@ const An = () => {
9314
9331
  })
9315
9332
  }
9316
9333
  ) : !1,
9317
- onClick: E,
9334
+ onClick: S,
9318
9335
  disabled: !o,
9319
9336
  "aria-hidden": !o,
9320
9337
  "data-testid": "like-button",
@@ -9325,7 +9342,7 @@ const An = () => {
9325
9342
  /* @__PURE__ */ a.jsx(
9326
9343
  "span",
9327
9344
  {
9328
- className: S("number-of-likes", { "no-likes": u === 0 }),
9345
+ className: E("number-of-likes", { "no-likes": u === 0 }),
9329
9346
  "data-testid": "number-of-likes",
9330
9347
  children: l.formatMessage(
9331
9348
  { id: `discussion_likes${r ? "_short" : ""}` },
@@ -9387,7 +9404,7 @@ const Me = "discussion_", Cc = 280, cn = ({
9387
9404
  children: v,
9388
9405
  isTruncated: _ = !1
9389
9406
  }) => {
9390
- const y = H(), x = Ee(De), E = Ee(sr), { author: w, canLike: b, createdAt: F, id: R, likes: Q = 0, userLiked: B, comments: $ = 0 } = e, C = x && x.id && typeof w != "string" && w.id && w.id === x.id || !1, k = typeof b == "boolean" ? b : n ? !C : !1, j = C && (!e.createdAt || Ys(e.createdAt, 10, "seconds")), N = pe(null), [A, W] = X({
9407
+ const y = H(), x = Ee(De), S = Ee(sr), { author: w, canLike: b, createdAt: F, id: R, likes: Q = 0, userLiked: B, comments: $ = 0 } = e, C = x && x.id && typeof w != "string" && w.id && w.id === x.id || !1, k = typeof b == "boolean" ? b : n ? !C : !1, j = C && (!e.createdAt || Ys(e.createdAt, 10, "seconds")), N = pe(null), [A, W] = X({
9391
9408
  body: e && e.body || "",
9392
9409
  isEditing: !1,
9393
9410
  didEdit: e && e.isEdited || !1
@@ -9432,7 +9449,7 @@ const Me = "discussion_", Cc = 280, cn = ({
9432
9449
  q(`${Me}form_error`);
9433
9450
  }
9434
9451
  }, V = () => {
9435
- E && E.updateConversation && E.updateConversation({ showForm: !0 }), setTimeout(() => {
9452
+ S && S.updateConversation && S.updateConversation({ showForm: !0 }), setTimeout(() => {
9436
9453
  var Ne, Ce, Ue;
9437
9454
  const oe = `reply-form-${(e.type === "answer" ? e.slug : ((Ne = e.slugs) == null ? void 0 : Ne.reply) || ((Ce = e.slugs) == null ? void 0 : Ce.answer) || ((Ue = e.slugs) == null ? void 0 : Ue.question) || "").toLowerCase().slice(-15)}`, D = document.getElementById(oe), ve = document.getElementById(`${oe}-input`);
9438
9455
  ve && ve.focus(), D && D.scrollIntoView({ behavior: "smooth" });
@@ -9486,7 +9503,7 @@ const Me = "discussion_", Cc = 280, cn = ({
9486
9503
  ...Xo(`delete-${e.slug}-modal`, Z)
9487
9504
  }
9488
9505
  ), Y.createElement(t, {
9489
- className: S("discussion-post", p, {
9506
+ className: E("discussion-post", p, {
9490
9507
  [K]: !p || !p.includes("highlighted-text-box")
9491
9508
  }),
9492
9509
  ref: N,
@@ -9496,7 +9513,7 @@ const Me = "discussion_", Cc = 280, cn = ({
9496
9513
  "div",
9497
9514
  {
9498
9515
  id: R || e.slug,
9499
- className: S("discussion-card", e.type, {
9516
+ className: E("discussion-card", e.type, {
9500
9517
  editing: A.isEditing,
9501
9518
  "has-link": m.post && !A.isEditing
9502
9519
  }),
@@ -9568,7 +9585,7 @@ const Me = "discussion_", Cc = 280, cn = ({
9568
9585
  !A.isEditing && !(i != null && i.actionBar) && /* @__PURE__ */ a.jsxs(
9569
9586
  "ul",
9570
9587
  {
9571
- className: S("actions text-medium", e.type),
9588
+ className: E("actions text-medium", e.type),
9572
9589
  "data-testid": `${e.type}-actions`,
9573
9590
  children: [
9574
9591
  !i.likes && /* @__PURE__ */ a.jsx(
@@ -10289,29 +10306,29 @@ const pu = ({
10289
10306
  }
10290
10307
  }
10291
10308
  ),
10292
- c == null ? void 0 : c.map((E, w) => {
10309
+ c == null ? void 0 : c.map((S, w) => {
10293
10310
  var A, W, Z, z, K, T, P, q;
10294
10311
  const {
10295
10312
  id: b,
10296
10313
  own_reactions: F,
10297
10314
  latest_reactions: R,
10298
10315
  reaction_counts: Q
10299
- } = E, B = (((A = R == null ? void 0 : R.like) == null ? void 0 : A.length) || 0) > 0, $ = (((W = F == null ? void 0 : F.like) == null ? void 0 : W.length) || 0) > 0, C = $ ? F == null ? void 0 : F.like[0].id : "", k = B ? (Z = R == null ? void 0 : R.like) == null ? void 0 : Z.map((L) => {
10316
+ } = S, B = (((A = R == null ? void 0 : R.like) == null ? void 0 : A.length) || 0) > 0, $ = (((W = F == null ? void 0 : F.like) == null ? void 0 : W.length) || 0) > 0, C = $ ? F == null ? void 0 : F.like[0].id : "", k = B ? (Z = R == null ? void 0 : R.like) == null ? void 0 : Z.map((L) => {
10300
10317
  var U, te, G;
10301
10318
  return {
10302
10319
  id: (U = L == null ? void 0 : L.user) == null ? void 0 : U.id,
10303
10320
  name: (G = (te = L == null ? void 0 : L.user) == null ? void 0 : te.data) == null ? void 0 : G.name
10304
10321
  };
10305
- }) : !1, j = E == null ? void 0 : E.actor, N = (j == null ? void 0 : j.id) === (y == null ? void 0 : y.id);
10322
+ }) : !1, j = S == null ? void 0 : S.actor, N = (j == null ? void 0 : j.id) === (y == null ? void 0 : y.id);
10306
10323
  return /* @__PURE__ */ a.jsxs(yt, { children: [
10307
10324
  /* @__PURE__ */ a.jsx(
10308
10325
  cn,
10309
10326
  {
10310
10327
  content: {
10311
10328
  type: "post",
10312
- body: E == null ? void 0 : E.content,
10329
+ body: S == null ? void 0 : S.content,
10313
10330
  canLike: on(n, N),
10314
- createdAt: (E == null ? void 0 : E.time) || "",
10331
+ createdAt: (S == null ? void 0 : S.time) || "",
10315
10332
  slugs: {
10316
10333
  question: `${t}/${e}`,
10317
10334
  answer: b
@@ -11165,12 +11182,12 @@ const ol = ({
11165
11182
  const {
11166
11183
  id: y,
11167
11184
  own_children: x,
11168
- latest_children: E,
11185
+ latest_children: S,
11169
11186
  children_counts: w
11170
11187
  } = _, F = (((A = x == null ? void 0 : x.like) == null ? void 0 : A.length) || 0) > 0 ? (W = x == null ? void 0 : x.like) == null ? void 0 : W.find((V) => {
11171
11188
  var ee;
11172
11189
  return ((ee = V == null ? void 0 : V.user) == null ? void 0 : ee.id) === (v == null ? void 0 : v.id);
11173
- }) : !1, R = F ? F == null ? void 0 : F.id : "", Q = !!F, $ = (((Z = E == null ? void 0 : E.like) == null ? void 0 : Z.length) || 0) > 0 ? (z = E == null ? void 0 : E.like) == null ? void 0 : z.map((V) => {
11190
+ }) : !1, R = F ? F == null ? void 0 : F.id : "", Q = !!F, $ = (((Z = S == null ? void 0 : S.like) == null ? void 0 : Z.length) || 0) > 0 ? (z = S == null ? void 0 : S.like) == null ? void 0 : z.map((V) => {
11174
11191
  var ee, re, O;
11175
11192
  return {
11176
11193
  id: (ee = V == null ? void 0 : V.user) == null ? void 0 : ee.id,
@@ -11258,7 +11275,7 @@ const ol = ({
11258
11275
  content: { type: "reply", slugs: {} },
11259
11276
  functions: {
11260
11277
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
11261
- create: (E, { body: w }) => p({ activityId: n, content: w })
11278
+ create: (S, { body: w }) => p({ activityId: n, content: w })
11262
11279
  },
11263
11280
  meta: { isEditing: !1, showSuccessMessage: !1 },
11264
11281
  placeholder: c.formatMessage({ id: "discussion_responses_placeholder" })
@@ -11272,9 +11289,9 @@ const ol = ({
11272
11289
  }
11273
11290
  }
11274
11291
  ),
11275
- d == null ? void 0 : d.map((E) => {
11292
+ d == null ? void 0 : d.map((S) => {
11276
11293
  var z, K, T, P, q, L, U, te, G, V, ee, re;
11277
- const { id: w, own_children: b, latest_children: F, children_counts: R } = E, B = (((z = b == null ? void 0 : b.like) == null ? void 0 : z.length) || 0) > 0 ? (K = b == null ? void 0 : b.like) == null ? void 0 : K.find((O) => {
11294
+ const { id: w, own_children: b, latest_children: F, children_counts: R } = S, B = (((z = b == null ? void 0 : b.like) == null ? void 0 : z.length) || 0) > 0 ? (K = b == null ? void 0 : b.like) == null ? void 0 : K.find((O) => {
11278
11295
  var oe;
11279
11296
  return ((oe = O == null ? void 0 : O.user) == null ? void 0 : oe.id) === (x == null ? void 0 : x.id);
11280
11297
  }) : !1, $ = B ? B == null ? void 0 : B.id : "", C = !!B, j = (((T = F == null ? void 0 : F.like) == null ? void 0 : T.length) || 0) > 0 ? (P = F == null ? void 0 : F.like) == null ? void 0 : P.map((O) => {
@@ -11283,9 +11300,9 @@ const ol = ({
11283
11300
  id: (oe = O == null ? void 0 : O.user) == null ? void 0 : oe.id,
11284
11301
  name: (ve = (D = O == null ? void 0 : O.user) == null ? void 0 : D.data) == null ? void 0 : ve.name
11285
11302
  };
11286
- }) : !1, N = E == null ? void 0 : E.user, A = (N == null ? void 0 : N.id) === (x == null ? void 0 : x.id), W = on(r, A), Z = typeof E.data.content == "string" ? (q = E == null ? void 0 : E.data) == null ? void 0 : q.content : (
11303
+ }) : !1, N = S == null ? void 0 : S.user, A = (N == null ? void 0 : N.id) === (x == null ? void 0 : x.id), W = on(r, A), Z = typeof S.data.content == "string" ? (q = S == null ? void 0 : S.data) == null ? void 0 : q.content : (
11287
11304
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
11288
- ((U = (L = E == null ? void 0 : E.data) == null ? void 0 : L.content) == null ? void 0 : U.text) || ""
11305
+ ((U = (L = S == null ? void 0 : S.data) == null ? void 0 : L.content) == null ? void 0 : U.text) || ""
11289
11306
  );
11290
11307
  return /* @__PURE__ */ a.jsx(kc, { children: /* @__PURE__ */ a.jsx(
11291
11308
  cn,
@@ -11295,7 +11312,7 @@ const ol = ({
11295
11312
  type: "reply",
11296
11313
  body: Z,
11297
11314
  canLike: W,
11298
- createdAt: E == null ? void 0 : E.created_at,
11315
+ createdAt: S == null ? void 0 : S.created_at,
11299
11316
  slugs: {
11300
11317
  question: `${t}/${e}`,
11301
11318
  answer: n,
@@ -11485,7 +11502,7 @@ const gu = ({
11485
11502
  text: l.formatMessage({ id: "activitySection_notFoundError" })
11486
11503
  }
11487
11504
  );
11488
- const { own_reactions: y, latest_reactions: x } = f, E = (((B = x == null ? void 0 : x.like) == null ? void 0 : B.length) || 0) > 0, w = ((($ = y == null ? void 0 : y.like) == null ? void 0 : $.length) || 0) > 0, b = w ? y == null ? void 0 : y.like[0].id : "", F = E ? (C = x == null ? void 0 : x.like) == null ? void 0 : C.map((K) => {
11505
+ const { own_reactions: y, latest_reactions: x } = f, S = (((B = x == null ? void 0 : x.like) == null ? void 0 : B.length) || 0) > 0, w = ((($ = y == null ? void 0 : y.like) == null ? void 0 : $.length) || 0) > 0, b = w ? y == null ? void 0 : y.like[0].id : "", F = S ? (C = x == null ? void 0 : x.like) == null ? void 0 : C.map((K) => {
11489
11506
  var T, P, q;
11490
11507
  return {
11491
11508
  id: (T = K == null ? void 0 : K.user) == null ? void 0 : T.id,