@apolitical/component-library 4.7.15-beta.0 → 4.7.15-beta.2

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.
Files changed (4) hide show
  1. package/index.js +16 -16
  2. package/index.mjs +417 -406
  3. package/package.json +1 -1
  4. package/style.css +1 -1
package/index.mjs CHANGED
@@ -158,14 +158,14 @@ function kh() {
158
158
  }
159
159
  var x = !1, w = !1, B = !1, T = !1, L = !1, N;
160
160
  N = Symbol.for("react.module.reference");
161
- function R(j) {
161
+ function I(j) {
162
162
  return !!(typeof j == "string" || typeof j == "function" || j === r || j === a || L || j === i || j === u || j === c || T || j === h || x || w || B || typeof j == "object" && j !== null && (j.$$typeof === p || j.$$typeof === m || j.$$typeof === s || j.$$typeof === o || j.$$typeof === l || // This needs to include all possible module reference object
163
163
  // types supported by any Flight configuration anywhere since
164
164
  // we don't know which Flight build this will end up being used
165
165
  // with.
166
166
  j.$$typeof === N || j.getModuleId !== void 0));
167
167
  }
168
- function I(j, se, fe) {
168
+ function R(j, se, fe) {
169
169
  var we = j.displayName;
170
170
  if (we)
171
171
  return we;
@@ -205,7 +205,7 @@ function kh() {
205
205
  var fe = j;
206
206
  return _(fe._context) + ".Provider";
207
207
  case l:
208
- return I(j, j.render, "ForwardRef");
208
+ return R(j, j.render, "ForwardRef");
209
209
  case m:
210
210
  var we = j.displayName || null;
211
211
  return we !== null ? we : F(j.type) || "Memo";
@@ -349,17 +349,17 @@ function kh() {
349
349
  }
350
350
  } catch (Qt) {
351
351
  if (Qt && we && typeof Qt.stack == "string") {
352
- for (var Te = Qt.stack.split(`
352
+ for (var Se = Qt.stack.split(`
353
353
  `), ct = we.stack.split(`
354
- `), et = Te.length - 1, tt = ct.length - 1; et >= 1 && tt >= 0 && Te[et] !== ct[tt]; )
354
+ `), et = Se.length - 1, tt = ct.length - 1; et >= 1 && tt >= 0 && Se[et] !== ct[tt]; )
355
355
  tt--;
356
356
  for (; et >= 1 && tt >= 0; et--, tt--)
357
- if (Te[et] !== ct[tt]) {
357
+ if (Se[et] !== ct[tt]) {
358
358
  if (et !== 1 || tt !== 1)
359
359
  do
360
- if (et--, tt--, tt < 0 || Te[et] !== ct[tt]) {
360
+ if (et--, tt--, tt < 0 || Se[et] !== ct[tt]) {
361
361
  var Ft = `
362
- ` + Te[et].replace(" at new ", " at ");
362
+ ` + Se[et].replace(" at new ", " at ");
363
363
  return j.displayName && Ft.includes("<anonymous>") && (Ft = Ft.replace("<anonymous>", j.displayName)), typeof j == "function" && ie.set(j, Ft), Ft;
364
364
  }
365
365
  while (et >= 1 && tt >= 0);
@@ -421,17 +421,17 @@ function kh() {
421
421
  var Ue = Function.call.bind(Ee);
422
422
  for (var Pe in j)
423
423
  if (Ue(j, Pe)) {
424
- var Te = void 0;
424
+ var Se = void 0;
425
425
  try {
426
426
  if (typeof j[Pe] != "function") {
427
427
  var ct = Error((we || "React class") + ": " + fe + " type `" + Pe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof j[Pe] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
428
428
  throw ct.name = "Invariant Violation", ct;
429
429
  }
430
- Te = j[Pe](se, Pe, we, fe, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
430
+ Se = j[Pe](se, Pe, we, fe, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
431
431
  } catch (et) {
432
- Te = et;
432
+ Se = et;
433
433
  }
434
- Te && !(Te instanceof Error) && (Oe(Ne), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", we || "React class", fe, Pe, typeof Te), Oe(null)), Te instanceof Error && !(Te.message in Fe) && (Fe[Te.message] = !0, Oe(Ne), E("Failed %s type: %s", fe, Te.message), Oe(null));
434
+ Se && !(Se instanceof Error) && (Oe(Ne), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", we || "React class", fe, Pe, typeof Se), Oe(null)), Se instanceof Error && !(Se.message in Fe) && (Fe[Se.message] = !0, Oe(Ne), E("Failed %s type: %s", fe, Se.message), Oe(null));
435
435
  }
436
436
  }
437
437
  }
@@ -511,7 +511,7 @@ function kh() {
511
511
  }
512
512
  }
513
513
  var wt = function(j, se, fe, we, Ne, Ue, Pe) {
514
- var Te = {
514
+ var Se = {
515
515
  // This tag allows us to uniquely identify this as a React Element
516
516
  $$typeof: t,
517
517
  // Built-in properties that belong on the element
@@ -522,27 +522,27 @@ function kh() {
522
522
  // Record the component responsible for creating this element.
523
523
  _owner: Ue
524
524
  };
525
- return Te._store = {}, Object.defineProperty(Te._store, "validated", {
525
+ return Se._store = {}, Object.defineProperty(Se._store, "validated", {
526
526
  configurable: !1,
527
527
  enumerable: !1,
528
528
  writable: !0,
529
529
  value: !1
530
- }), Object.defineProperty(Te, "_self", {
530
+ }), Object.defineProperty(Se, "_self", {
531
531
  configurable: !1,
532
532
  enumerable: !1,
533
533
  writable: !1,
534
534
  value: we
535
- }), Object.defineProperty(Te, "_source", {
535
+ }), Object.defineProperty(Se, "_source", {
536
536
  configurable: !1,
537
537
  enumerable: !1,
538
538
  writable: !1,
539
539
  value: Ne
540
- }), Object.freeze && (Object.freeze(Te.props), Object.freeze(Te)), Te;
540
+ }), Object.freeze && (Object.freeze(Se.props), Object.freeze(Se)), Se;
541
541
  };
542
542
  function fa(j, se, fe, we, Ne) {
543
543
  {
544
- var Ue, Pe = {}, Te = null, ct = null;
545
- fe !== void 0 && (ne(fe), Te = "" + fe), Gt(se) && (ne(se.key), Te = "" + se.key), xt(se) && (ct = se.ref, Ot(se, Ne));
544
+ var Ue, Pe = {}, Se = null, ct = null;
545
+ fe !== void 0 && (ne(fe), Se = "" + fe), Gt(se) && (ne(se.key), Se = "" + se.key), xt(se) && (ct = se.ref, Ot(se, Ne));
546
546
  for (Ue in se)
547
547
  Ee.call(se, Ue) && !ye.hasOwnProperty(Ue) && (Pe[Ue] = se[Ue]);
548
548
  if (j && j.defaultProps) {
@@ -550,11 +550,11 @@ function kh() {
550
550
  for (Ue in et)
551
551
  Pe[Ue] === void 0 && (Pe[Ue] = et[Ue]);
552
552
  }
553
- if (Te || ct) {
553
+ if (Se || ct) {
554
554
  var tt = typeof j == "function" ? j.displayName || j.name || "Unknown" : j;
555
- Te && at(Pe, tt), ct && $t(Pe, tt);
555
+ Se && at(Pe, tt), ct && $t(Pe, tt);
556
556
  }
557
- return wt(j, Te, ct, Ne, we, ge.current, Pe);
557
+ return wt(j, Se, ct, Ne, we, ge.current, Pe);
558
558
  }
559
559
  }
560
560
  var pr = v.ReactCurrentOwner, Gr = v.ReactDebugCurrentFrame;
@@ -677,14 +677,14 @@ Check the top-level render call using <` + fe + ">.");
677
677
  }
678
678
  function $o(j, se, fe, we, Ne, Ue) {
679
679
  {
680
- var Pe = R(j);
680
+ var Pe = I(j);
681
681
  if (!Pe) {
682
- var Te = "";
683
- (j === void 0 || typeof j == "object" && j !== null && Object.keys(j).length === 0) && (Te += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
682
+ var Se = "";
683
+ (j === void 0 || typeof j == "object" && j !== null && Object.keys(j).length === 0) && (Se += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
684
684
  var ct = th(Ne);
685
- ct ? Te += ct : Te += No();
685
+ ct ? Se += ct : Se += No();
686
686
  var et;
687
- j === null ? et = "null" : Ae(j) ? et = "array" : j !== void 0 && j.$$typeof === t ? (et = "<" + (F(j.type) || "Unknown") + " />", Te = " Did you accidentally export a JSX literal instead of a component?") : et = typeof j, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", et, Te);
687
+ j === null ? et = "null" : Ae(j) ? et = "array" : j !== void 0 && j.$$typeof === t ? (et = "<" + (F(j.type) || "Unknown") + " />", Se = " Did you accidentally export a JSX literal instead of a component?") : et = typeof j, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", et, Se);
688
688
  }
689
689
  var tt = fa(j, se, fe, Ne, Ue);
690
690
  if (tt == null)
@@ -745,30 +745,30 @@ function jc(e, t, n) {
745
745
  };
746
746
  }, []);
747
747
  var k = Ht(function() {
748
- var x = function(R) {
749
- var I = o.current, _ = l.current;
750
- return o.current = l.current = null, a.current = R, u.current = c.current.apply(_, I);
751
- }, w = function(R, I) {
752
- h && cancelAnimationFrame(s.current), s.current = h ? requestAnimationFrame(R) : setTimeout(R, I);
753
- }, B = function(R) {
748
+ var x = function(I) {
749
+ var R = o.current, _ = l.current;
750
+ return o.current = l.current = null, a.current = I, u.current = c.current.apply(_, R);
751
+ }, w = function(I, R) {
752
+ h && cancelAnimationFrame(s.current), s.current = h ? requestAnimationFrame(I) : setTimeout(I, R);
753
+ }, B = function(I) {
754
754
  if (!m.current)
755
755
  return !1;
756
- var I = R - i.current;
757
- return !i.current || I >= t || I < 0 || b && R - a.current >= E;
758
- }, T = function(R) {
759
- return s.current = null, f && o.current ? x(R) : (o.current = l.current = null, u.current);
760
- }, L = function R() {
761
- var I = Date.now();
762
- if (B(I))
763
- return T(I);
756
+ var R = I - i.current;
757
+ return !i.current || R >= t || R < 0 || b && I - a.current >= E;
758
+ }, T = function(I) {
759
+ return s.current = null, f && o.current ? x(I) : (o.current = l.current = null, u.current);
760
+ }, L = function I() {
761
+ var R = Date.now();
762
+ if (B(R))
763
+ return T(R);
764
764
  if (m.current) {
765
- var _ = t - (I - i.current), F = b ? Math.min(_, E - (I - a.current)) : _;
766
- w(R, F);
765
+ var _ = t - (R - i.current), F = b ? Math.min(_, E - (R - a.current)) : _;
766
+ w(I, F);
767
767
  }
768
768
  }, N = function() {
769
769
  if (p || v) {
770
- var R = Date.now(), I = B(R);
771
- if (o.current = [].slice.call(arguments), l.current = r, i.current = R, I) {
770
+ var I = Date.now(), R = B(I);
771
+ if (o.current = [].slice.call(arguments), l.current = r, i.current = I, R) {
772
772
  if (!s.current && m.current)
773
773
  return a.current = i.current, w(L, t), g ? x(i.current) : u.current;
774
774
  if (b)
@@ -1641,7 +1641,7 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1641
1641
  }
1642
1642
  };
1643
1643
  };
1644
- const Se = ({
1644
+ const Te = ({
1645
1645
  variant: e = "primary",
1646
1646
  size: t = "medium",
1647
1647
  styling: n = { muted: !1, fullWidth: !1 },
@@ -1689,7 +1689,7 @@ const Se = ({
1689
1689
  }, Kr = ({ buttons: e, wrappers: t = [], className: n = "", ...r }) => {
1690
1690
  const i = e.length > 1 ? "ul" : "p", a = e.map((s, o) => {
1691
1691
  var l;
1692
- return i === "p" ? /* @__PURE__ */ d.jsx(Se, { ...s }, o) : /* @__PURE__ */ d.jsx("li", { className: ((l = t[o]) == null ? void 0 : l.className) || "", children: /* @__PURE__ */ d.jsx(Se, { ...s }) }, o);
1692
+ return i === "p" ? /* @__PURE__ */ d.jsx(Te, { ...s }, o) : /* @__PURE__ */ d.jsx("li", { className: ((l = t[o]) == null ? void 0 : l.className) || "", children: /* @__PURE__ */ d.jsx(Te, { ...s }) }, o);
1693
1693
  });
1694
1694
  return ae.createElement(i, {
1695
1695
  className: Y("button-wrapper", n),
@@ -1957,7 +1957,7 @@ const D_ = ({ elementId: e, offset: t = 20 }) => {
1957
1957
  });
1958
1958
  };
1959
1959
  return /* @__PURE__ */ d.jsx(
1960
- Se,
1960
+ Te,
1961
1961
  {
1962
1962
  variant: "secondary",
1963
1963
  className: "return-to-nav",
@@ -2131,7 +2131,7 @@ const Rn = ({
2131
2131
  children: /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
2132
2132
  t && typeof t == "string" ? /* @__PURE__ */ d.jsx(Vt, { options: { forceBlock: !0 }, children: t }) : t,
2133
2133
  i && typeof n == "object" && (u || /* @__PURE__ */ d.jsx(
2134
- Se,
2134
+ Te,
2135
2135
  {
2136
2136
  ...c,
2137
2137
  variant: n.variant ? n.variant : "secondary",
@@ -2212,7 +2212,7 @@ const tm = ({
2212
2212
  m !== "closed" && s
2213
2213
  ] }),
2214
2214
  /* @__PURE__ */ d.jsx("p", { className: "cta", children: /* @__PURE__ */ d.jsx(
2215
- Se,
2215
+ Te,
2216
2216
  {
2217
2217
  variant: "tertiary",
2218
2218
  icon: { icon: "navigation_arrow", position: "left", animate: !0 },
@@ -2357,7 +2357,7 @@ const w_ = ({
2357
2357
  else
2358
2358
  break;
2359
2359
  }
2360
- return i ? (n = { ...n, className: "button primary medium" }, /* @__PURE__ */ d.jsx("p", { className: "center", children: /* @__PURE__ */ d.jsx(Se, { variant: "primary", size: "medium", ...n, children: r }) })) : /* @__PURE__ */ d.jsx("a", { ...n, children: r });
2360
+ return i ? (n = { ...n, className: "button primary medium" }, /* @__PURE__ */ d.jsx("p", { className: "center", children: /* @__PURE__ */ d.jsx(Te, { variant: "primary", size: "medium", ...n, children: r }) })) : /* @__PURE__ */ d.jsx("a", { ...n, children: r });
2361
2361
  }, Xo = ({ children: e, ...t }) => /* @__PURE__ */ d.jsx("span", { className: Y({ url: t == null ? void 0 : t.href }), children: e });
2362
2362
  const lm = {
2363
2363
  default: {
@@ -2799,86 +2799,97 @@ const gn = ({
2799
2799
  const { name: w, image: B } = x;
2800
2800
  let { url: T } = x;
2801
2801
  t.link !== void 0 && (t.link === !1 ? T = void 0 : T = t.link);
2802
- const L = Cm(x), N = r && r.createdAt ? vs(r.createdAt) : !1, R = r && r.createdAt ? Ic(r.createdAt) : "";
2802
+ const L = Cm(x), N = r && r.createdAt ? vs(r.createdAt) : !1, I = r && r.createdAt ? Ic(r.createdAt) : "";
2803
2803
  return ae.createElement(e, {
2804
2804
  ...u,
2805
- className: Y("member text-medium", h, g, l),
2805
+ className: Y("member text-medium", h, g, l, {
2806
+ "has-profile-link": v
2807
+ }),
2806
2808
  ...p,
2807
- children: /* @__PURE__ */ d.jsx(
2808
- Mn,
2809
- {
2810
- href: T,
2811
- gtmType: o,
2812
- gtmContext: s,
2813
- onClick: (I) => {
2814
- if (I == null || I.preventDefault(), I == null || I.stopPropagation(), v) {
2815
- k(!0);
2816
- return;
2817
- }
2818
- ei && clearTimeout(ei), ei = setTimeout(() => {
2819
- window.location.href = T;
2820
- }, 150);
2821
- const _ = new CustomEvent(it.MEMBER_CLICKED, {
2822
- detail: { link: T, timeout: ei }
2823
- });
2824
- document.dispatchEvent(_);
2825
- },
2826
- children: /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
2827
- /* @__PURE__ */ d.jsx(In, { name: w, src: B, alt: n }),
2828
- /* @__PURE__ */ d.jsxs("p", { className: "details", children: [
2829
- /* @__PURE__ */ d.jsxs("strong", { "data-testid": "member-name", children: [
2830
- w,
2831
- r && /* @__PURE__ */ d.jsxs("span", { className: "additional-content", children: [
2832
- r.createdAt && N && /* @__PURE__ */ d.jsx(
2833
- "span",
2834
- {
2835
- className: "date",
2836
- title: R,
2837
- "aria-label": R,
2838
- "data-testid": "date",
2839
- children: c.formatMessage(
2840
- { id: `dates_${N.path}` },
2841
- { number: N.number }
2842
- )
2843
- }
2844
- ),
2845
- r.didEdit && /* @__PURE__ */ d.jsx("em", { children: c.formatMessage({ id: "discussion_edited" }) })
2846
- ] })
2847
- ] }),
2848
- L && /* @__PURE__ */ d.jsx(
2849
- "small",
2850
- {
2851
- className: Y({ "text-medium": h === "large" }),
2852
- "data-testid": "member-details",
2853
- children: f ? L : /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
2854
- x.role,
2855
- /* @__PURE__ */ d.jsx("span", { className: "location", children: x.country })
2809
+ children: /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
2810
+ /* @__PURE__ */ d.jsxs(
2811
+ Mn,
2812
+ {
2813
+ href: T,
2814
+ gtmType: o,
2815
+ gtmContext: s,
2816
+ onClick: (R) => {
2817
+ R == null || R.preventDefault(), R == null || R.stopPropagation(), ei && clearTimeout(ei), ei = setTimeout(() => {
2818
+ window.location.href = T;
2819
+ }, 150);
2820
+ const _ = new CustomEvent(it.MEMBER_CLICKED, {
2821
+ detail: { link: T, timeout: ei }
2822
+ });
2823
+ document.dispatchEvent(_);
2824
+ },
2825
+ children: [
2826
+ /* @__PURE__ */ d.jsx(In, { name: w, src: B, alt: n }),
2827
+ /* @__PURE__ */ d.jsxs("p", { className: "details", children: [
2828
+ /* @__PURE__ */ d.jsxs("strong", { "data-testid": "member-name", children: [
2829
+ w,
2830
+ r && /* @__PURE__ */ d.jsxs("span", { className: "additional-content", children: [
2831
+ r.createdAt && N && /* @__PURE__ */ d.jsx(
2832
+ "span",
2833
+ {
2834
+ className: "date",
2835
+ title: I,
2836
+ "aria-label": I,
2837
+ "data-testid": "date",
2838
+ children: c.formatMessage(
2839
+ { id: `dates_${N.path}` },
2840
+ { number: N.number }
2841
+ )
2842
+ }
2843
+ ),
2844
+ r.didEdit && /* @__PURE__ */ d.jsx("em", { children: c.formatMessage({ id: "discussion_edited" }) })
2856
2845
  ] })
2846
+ ] }),
2847
+ L && /* @__PURE__ */ d.jsx(
2848
+ "small",
2849
+ {
2850
+ className: Y({ "text-medium": h === "large" }),
2851
+ "data-testid": "member-details",
2852
+ children: f ? L : /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
2853
+ x.role,
2854
+ /* @__PURE__ */ d.jsx("span", { className: "location", children: x.country })
2855
+ ] })
2856
+ }
2857
+ )
2858
+ ] })
2859
+ ]
2860
+ }
2861
+ ),
2862
+ L && m && v ? /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
2863
+ /* @__PURE__ */ d.jsx(
2864
+ Te,
2865
+ {
2866
+ variant: "tertiary",
2867
+ size: "small",
2868
+ onClick: (R) => {
2869
+ R.preventDefault(), R.stopPropagation(), k(!0);
2870
+ },
2871
+ "data-testid": "profile-button",
2872
+ children: c.formatMessage({ id: "member_profile" })
2873
+ }
2874
+ ),
2875
+ /* @__PURE__ */ d.jsx(Em, { children: /* @__PURE__ */ d.jsx(
2876
+ _m,
2877
+ {
2878
+ form: m,
2879
+ showModal: E,
2880
+ content: {
2881
+ title: c.formatMessage({ id: "member_profile" })
2882
+ },
2883
+ functions: {
2884
+ onClose: () => {
2885
+ k(!1);
2857
2886
  }
2858
- )
2859
- ] }),
2860
- L && m && v ? /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
2861
- /* @__PURE__ */ d.jsx("span", { className: "button tertiary small", "data-testid": "profile-button", children: c.formatMessage({ id: "member_profile" }) }),
2862
- /* @__PURE__ */ d.jsx(Em, { children: /* @__PURE__ */ d.jsx(
2863
- _m,
2864
- {
2865
- form: m,
2866
- showModal: E,
2867
- content: {
2868
- title: c.formatMessage({ id: "member_profile" })
2869
- },
2870
- functions: {
2871
- onClose: () => {
2872
- k(!1);
2873
- }
2874
- },
2875
- className: "in-portal"
2876
- }
2877
- ) })
2878
- ] }) : /* @__PURE__ */ d.jsx(d.Fragment, {})
2879
- ] })
2880
- }
2881
- )
2887
+ },
2888
+ className: "in-portal"
2889
+ }
2890
+ ) })
2891
+ ] }) : /* @__PURE__ */ d.jsx(d.Fragment, {})
2892
+ ] })
2882
2893
  });
2883
2894
  }, km = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2884
2895
  __proto__: null,
@@ -3070,7 +3081,7 @@ function Fm() {
3070
3081
  }
3071
3082
  }
3072
3083
  }
3073
- var w = l, B = u, T = o, L = s, N = t, R = c, I = r, _ = g, F = h, S = n, $ = a, U = i, K = m, G = !1;
3084
+ var w = l, B = u, T = o, L = s, N = t, I = c, R = r, _ = g, F = h, S = n, $ = a, U = i, K = m, G = !1;
3074
3085
  function re(Q) {
3075
3086
  return G || (G = !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.")), D(Q) || x(Q) === l;
3076
3087
  }
@@ -3110,7 +3121,7 @@ function Fm() {
3110
3121
  function ce(Q) {
3111
3122
  return x(Q) === m;
3112
3123
  }
3113
- Le.AsyncMode = w, Le.ConcurrentMode = B, Le.ContextConsumer = T, Le.ContextProvider = L, Le.Element = N, Le.ForwardRef = R, Le.Fragment = I, Le.Lazy = _, Le.Memo = F, Le.Portal = S, Le.Profiler = $, Le.StrictMode = U, Le.Suspense = K, Le.isAsyncMode = re, Le.isConcurrentMode = D, Le.isContextConsumer = z, Le.isContextProvider = Z, Le.isElement = C, Le.isForwardRef = A, Le.isFragment = P, Le.isLazy = M, Le.isMemo = W, Le.isPortal = te, Le.isProfiler = ee, Le.isStrictMode = ie, Le.isSuspense = ce, Le.isValidElementType = k, Le.typeOf = x;
3124
+ Le.AsyncMode = w, Le.ConcurrentMode = B, Le.ContextConsumer = T, Le.ContextProvider = L, Le.Element = N, Le.ForwardRef = I, Le.Fragment = R, Le.Lazy = _, Le.Memo = F, Le.Portal = S, Le.Profiler = $, Le.StrictMode = U, Le.Suspense = K, Le.isAsyncMode = re, Le.isConcurrentMode = D, Le.isContextConsumer = z, Le.isContextProvider = Z, Le.isElement = C, Le.isForwardRef = A, Le.isFragment = P, Le.isLazy = M, Le.isMemo = W, Le.isPortal = te, Le.isProfiler = ee, Le.isStrictMode = ie, Le.isSuspense = ce, Le.isValidElementType = k, Le.typeOf = x;
3114
3125
  }()), Le;
3115
3126
  }
3116
3127
  var iu;
@@ -3270,7 +3281,7 @@ function Sm() {
3270
3281
  element: x(),
3271
3282
  elementType: w(),
3272
3283
  instanceOf: B,
3273
- node: R(),
3284
+ node: I(),
3274
3285
  objectOf: L,
3275
3286
  oneOf: T,
3276
3287
  oneOfType: N,
@@ -3430,13 +3441,13 @@ function Sm() {
3430
3441
  }
3431
3442
  return b(C);
3432
3443
  }
3433
- function R() {
3444
+ function I() {
3434
3445
  function D(z, Z, C, A, P) {
3435
3446
  return S(z[Z]) ? null : new f("Invalid " + A + " `" + P + "` supplied to " + ("`" + C + "`, expected a ReactNode."));
3436
3447
  }
3437
3448
  return b(D);
3438
3449
  }
3439
- function I(D, z, Z, C, A) {
3450
+ function R(D, z, Z, C, A) {
3440
3451
  return new f(
3441
3452
  (D || "React class") + ": " + z + " type `" + Z + "." + C + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + A + "`."
3442
3453
  );
@@ -3449,7 +3460,7 @@ function Sm() {
3449
3460
  for (var ee in D) {
3450
3461
  var ie = D[ee];
3451
3462
  if (typeof ie != "function")
3452
- return I(A, P, M, ee, K(ie));
3463
+ return R(A, P, M, ee, K(ie));
3453
3464
  var ce = ie(W, ee, A, P, M + "." + ee, n);
3454
3465
  if (ce)
3455
3466
  return ce;
@@ -3467,7 +3478,7 @@ function Sm() {
3467
3478
  for (var ie in ee) {
3468
3479
  var ce = D[ie];
3469
3480
  if (r(D, ie) && typeof ce != "function")
3470
- return I(A, P, M, ie, K(ce));
3481
+ return R(A, P, M, ie, K(ce));
3471
3482
  if (!ce)
3472
3483
  return new f(
3473
3484
  "Invalid " + P + " `" + M + "` key `" + ie + "` supplied to `" + A + "`.\nBad object: " + JSON.stringify(Z[C], null, " ") + `
@@ -4038,14 +4049,14 @@ var mu = {
4038
4049
  return _.posTabIndexesFound;
4039
4050
  }) && s.containerGroups.length > 1)
4040
4051
  throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
4041
- }, h = function I(_) {
4052
+ }, h = function R(_) {
4042
4053
  var F = _.activeElement;
4043
4054
  if (F)
4044
- return F.shadowRoot && F.shadowRoot.activeElement !== null ? I(F.shadowRoot) : F;
4045
- }, g = function I(_) {
4055
+ return F.shadowRoot && F.shadowRoot.activeElement !== null ? R(F.shadowRoot) : F;
4056
+ }, g = function R(_) {
4046
4057
  if (_ !== !1 && _ !== h(document)) {
4047
4058
  if (!_ || !_.focus) {
4048
- I(m());
4059
+ R(m());
4049
4060
  return;
4050
4061
  }
4051
4062
  _.focus({
@@ -4181,7 +4192,7 @@ var mu = {
4181
4192
  });
4182
4193
  });
4183
4194
  F && g(m());
4184
- }, N = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(L) : void 0, R = function() {
4195
+ }, N = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(L) : void 0, I = function() {
4185
4196
  N && (N.disconnect(), s.active && !s.paused && s.containers.map(function(_) {
4186
4197
  N.observe(_, {
4187
4198
  subtree: !0,
@@ -4202,7 +4213,7 @@ var mu = {
4202
4213
  var F = l(_, "onActivate"), S = l(_, "onPostActivate"), $ = l(_, "checkCanFocusTrap");
4203
4214
  $ || p(), s.active = !0, s.paused = !1, s.nodeFocusedBeforeActivation = r.activeElement, F == null || F();
4204
4215
  var U = function() {
4205
- $ && p(), B(), R(), S == null || S();
4216
+ $ && p(), B(), I(), S == null || S();
4206
4217
  };
4207
4218
  return $ ? ($(s.containers.concat()).then(U, U), this) : (U(), this);
4208
4219
  },
@@ -4214,7 +4225,7 @@ var mu = {
4214
4225
  onPostDeactivate: a.onPostDeactivate,
4215
4226
  checkCanReturnFocus: a.checkCanReturnFocus
4216
4227
  }, _);
4217
- clearTimeout(s.delayInitialFocusTimer), s.delayInitialFocusTimer = void 0, T(), s.active = !1, s.paused = !1, R(), mu.deactivateTrap(i, o);
4228
+ clearTimeout(s.delayInitialFocusTimer), s.delayInitialFocusTimer = void 0, T(), s.active = !1, s.paused = !1, I(), mu.deactivateTrap(i, o);
4218
4229
  var S = l(F, "onDeactivate"), $ = l(F, "onPostDeactivate"), U = l(F, "checkCanReturnFocus"), K = l(F, "returnFocus", "returnFocusOnDeactivate");
4219
4230
  S == null || S();
4220
4231
  var G = function() {
@@ -4228,19 +4239,19 @@ var mu = {
4228
4239
  if (s.paused || !s.active)
4229
4240
  return this;
4230
4241
  var F = l(_, "onPause"), S = l(_, "onPostPause");
4231
- return s.paused = !0, F == null || F(), T(), R(), S == null || S(), this;
4242
+ return s.paused = !0, F == null || F(), T(), I(), S == null || S(), this;
4232
4243
  },
4233
4244
  unpause: function(_) {
4234
4245
  if (!s.paused || !s.active)
4235
4246
  return this;
4236
4247
  var F = l(_, "onUnpause"), S = l(_, "onPostUnpause");
4237
- return s.paused = !1, F == null || F(), p(), B(), R(), S == null || S(), this;
4248
+ return s.paused = !1, F == null || F(), p(), B(), I(), S == null || S(), this;
4238
4249
  },
4239
4250
  updateContainerElements: function(_) {
4240
4251
  var F = [].concat(_).filter(Boolean);
4241
4252
  return s.containers = F.map(function(S) {
4242
4253
  return typeof S == "string" ? r.querySelector(S) : S;
4243
- }), s.active && p(), R(), this;
4254
+ }), s.active && p(), I(), this;
4244
4255
  }
4245
4256
  }, o.updateContainerElements(t), o;
4246
4257
  };
@@ -4649,7 +4660,7 @@ const $n = ({
4649
4660
  /* @__PURE__ */ d.jsxs("div", { className: "top", children: [
4650
4661
  o && /* @__PURE__ */ d.jsx("h2", { className: "modal-title", children: o }),
4651
4662
  /* @__PURE__ */ d.jsx(
4652
- Se,
4663
+ Te,
4653
4664
  {
4654
4665
  variant: "tertiary",
4655
4666
  size: "medium",
@@ -4694,7 +4705,7 @@ const Dr = "joinCommunityButton", cd = ({
4694
4705
  }, [c]);
4695
4706
  const g = {}, f = {};
4696
4707
  return c && p !== "leaving" && (g["data-hover-text"] = s.formatMessage({ id: `${Dr}_leave` }), g["aria-label"] = s.formatMessage({ id: `${Dr}_member_aria` }), f["aria-hidden"] = "true"), /* @__PURE__ */ d.jsx(
4697
- Se,
4708
+ Te,
4698
4709
  {
4699
4710
  variant: c ? "secondary" : "primary",
4700
4711
  size: "medium",
@@ -4775,7 +4786,7 @@ const _a = "communityDetails_", __ = ({
4775
4786
  }
4776
4787
  ),
4777
4788
  t && /* @__PURE__ */ d.jsx(
4778
- Se,
4789
+ Te,
4779
4790
  {
4780
4791
  variant: "primary",
4781
4792
  onClick: s,
@@ -4957,7 +4968,7 @@ const ka = hh({ locale: "en", messages: hr }), na = ({
4957
4968
  }
4958
4969
  };
4959
4970
  return !c && !e && !o.endOfFeed ? null : /* @__PURE__ */ d.jsx("footer", { className: Y("load-more", l), children: !c && e ? /* @__PURE__ */ d.jsx(
4960
- Se,
4971
+ Te,
4961
4972
  {
4962
4973
  variant: r,
4963
4974
  size: i,
@@ -5006,7 +5017,7 @@ const kp = ({
5006
5017
  className: Y("more-menu text-medium", r),
5007
5018
  children: /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
5008
5019
  /* @__PURE__ */ d.jsx(
5009
- Se,
5020
+ Te,
5010
5021
  {
5011
5022
  variant: "tertiary",
5012
5023
  size: "medium",
@@ -5035,7 +5046,7 @@ const kp = ({
5035
5046
  }
5036
5047
  };
5037
5048
  return u && (f.href = u), /* @__PURE__ */ d.jsx("li", { className: "more-menu-list-item", children: /* @__PURE__ */ d.jsx(
5038
- Se,
5049
+ Te,
5039
5050
  {
5040
5051
  variant: "tertiary",
5041
5052
  size: "medium",
@@ -5161,7 +5172,7 @@ const jp = "shareLinks_", A_ = ({
5161
5172
  return null;
5162
5173
  const g = {};
5163
5174
  return h && (g.onClick = (f) => h(f, m)), /* @__PURE__ */ d.jsx("li", { children: /* @__PURE__ */ d.jsx(
5164
- Se,
5175
+ Te,
5165
5176
  {
5166
5177
  size: i,
5167
5178
  variant: "tertiary",
@@ -5787,7 +5798,7 @@ const Lp = ({
5787
5798
  /* @__PURE__ */ d.jsx("p", { children: `${f == null ? void 0 : f.length} selected` }),
5788
5799
  /* @__PURE__ */ d.jsxs("ul", { children: [
5789
5800
  /* @__PURE__ */ d.jsx("li", { children: /* @__PURE__ */ d.jsx(
5790
- Se,
5801
+ Te,
5791
5802
  {
5792
5803
  variant: "tertiary",
5793
5804
  size: "small",
@@ -5799,7 +5810,7 @@ const Lp = ({
5799
5810
  }
5800
5811
  ) }),
5801
5812
  /* @__PURE__ */ d.jsx("li", { children: /* @__PURE__ */ d.jsx(
5802
- Se,
5813
+ Te,
5803
5814
  {
5804
5815
  variant: "tertiary",
5805
5816
  size: "small",
@@ -5838,7 +5849,7 @@ const Lp = ({
5838
5849
  }) })
5839
5850
  ] }),
5840
5851
  (l == null ? void 0 : l.submitSection) && /* @__PURE__ */ d.jsx("p", { className: "submit", children: /* @__PURE__ */ d.jsx(
5841
- Se,
5852
+ Te,
5842
5853
  {
5843
5854
  variant: "secondary",
5844
5855
  onClick: () => {
@@ -5990,7 +6001,7 @@ const Hn = {
5990
6001
  submitOnEnter: c,
5991
6002
  ...m
5992
6003
  }) => {
5993
- const p = le(), h = l && l.some(({ condition: R }) => R === "required"), g = to(u), f = o && Hn[o] && Hn[o].component ? Hn[o].component : Yn, b = o && ["checkboxes"].includes(o), v = o && ["autocomplete"].includes(o), E = r && `error-${e}`, k = `character-limit-${e}`, x = {};
6004
+ const p = le(), h = l && l.some(({ condition: I }) => I === "required"), g = to(u), f = o && Hn[o] && Hn[o].component ? Hn[o].component : Yn, b = o && ["checkboxes"].includes(o), v = o && ["autocomplete"].includes(o), E = r && `error-${e}`, k = `character-limit-${e}`, x = {};
5994
6005
  b ? x.element = "legend" : x.htmlFor = e;
5995
6006
  let w = {
5996
6007
  ...m,
@@ -6003,26 +6014,26 @@ const Hn = {
6003
6014
  functions: _n(i),
6004
6015
  value: u
6005
6016
  };
6006
- const B = (R) => {
6007
- w["aria-describedby"] ? w["aria-describedby"] += ` ${R}` : w["aria-describedby"] = R;
6017
+ const B = (I) => {
6018
+ w["aria-describedby"] ? w["aria-describedby"] += ` ${I}` : w["aria-describedby"] = I;
6008
6019
  };
6009
6020
  if (a > 0) {
6010
- const R = Np(a, i.onChange);
6021
+ const I = Np(a, i.onChange);
6011
6022
  B(`${k}-info`), w = {
6012
6023
  ...w,
6013
- ...R
6014
- }, R.functions && typeof R.functions == "object" && (w.functions = {
6024
+ ...I
6025
+ }, I.functions && typeof I.functions == "object" && (w.functions = {
6015
6026
  ...w.functions,
6016
- ...R.functions
6027
+ ...I.functions
6017
6028
  });
6018
6029
  }
6019
6030
  o && Hn[o] && Hn[o].props && (w = { ...w, ...Hn[o].props }), b && (w.intlPath = `${t}_${e}`), r && (w["aria-invalid"] = !0, w["aria-errormessage"] = E, B(E));
6020
- const T = m.label || p.formatMessage({ id: t ? `${t}_${e}` : e }), L = ({ ...R }) => r ? ae.createElement(
6021
- R.as || "p",
6031
+ const T = m.label || p.formatMessage({ id: t ? `${t}_${e}` : e }), L = ({ ...I }) => r ? ae.createElement(
6032
+ I.as || "p",
6022
6033
  {
6023
6034
  id: E,
6024
6035
  className: "error text-small",
6025
- ...R
6036
+ ...I
6026
6037
  },
6027
6038
  r
6028
6039
  ) : null;
@@ -6038,8 +6049,8 @@ const Hn = {
6038
6049
  ),
6039
6050
  /* @__PURE__ */ d.jsx(L, { as: "p" })
6040
6051
  ] });
6041
- const N = (R) => ae.createElement(R.element || "label", {
6042
- ...R,
6052
+ const N = (I) => ae.createElement(I.element || "label", {
6053
+ ...I,
6043
6054
  className: "checkboxes-label text-small",
6044
6055
  "data-testid": `label-${e}`
6045
6056
  });
@@ -6210,16 +6221,16 @@ const bn = ({
6210
6221
  },
6211
6222
  onFailure: N = () => {
6212
6223
  }
6213
- } = m || {}, R = le(), I = {};
6224
+ } = m || {}, I = le(), R = {};
6214
6225
  t.length && t.forEach((A) => {
6215
6226
  const P = A.id || A.name;
6216
- P && (I[P] = A.value || "");
6227
+ P && (R[P] = A.value || "");
6217
6228
  });
6218
6229
  const [_, F] = cr(Up, {
6219
6230
  isSubmitting: !1,
6220
6231
  formSubmitted: !1,
6221
6232
  errors: {},
6222
- values: I
6233
+ values: R
6223
6234
  }), { errors: S, isSubmitting: $, formSubmitted: U, values: K } = _;
6224
6235
  de(() => {
6225
6236
  E && U && (Ba = setTimeout(() => {
@@ -6252,7 +6263,7 @@ const bn = ({
6252
6263
  return null;
6253
6264
  const D = {};
6254
6265
  s.children && (D.default = s.children), f.text && typeof f.text == "string" && (D.default = f.text), ["default", "submitting", "submitted"].forEach((A) => {
6255
- f.text && typeof f.text != "string" && A in f.text ? D[A] = f.text[A] : D[A] || (D[A] = R.formatMessage({
6266
+ f.text && typeof f.text != "string" && A in f.text ? D[A] = f.text[A] : D[A] || (D[A] = I.formatMessage({
6256
6267
  id: `form_${A === "default" ? "submit" : A}`
6257
6268
  }));
6258
6269
  }), delete f.text;
@@ -6267,7 +6278,7 @@ const bn = ({
6267
6278
  payload: {
6268
6279
  fields: t,
6269
6280
  dispatch: F,
6270
- intl: R
6281
+ intl: I
6271
6282
  }
6272
6283
  });
6273
6284
  return;
@@ -6293,7 +6304,7 @@ const bn = ({
6293
6304
  payload: { key: "isSubmitting", value: !1 }
6294
6305
  });
6295
6306
  },
6296
- intl: R
6307
+ intl: I
6297
6308
  }
6298
6309
  });
6299
6310
  }
@@ -6327,7 +6338,7 @@ const bn = ({
6327
6338
  "data-gtm-event-type": c.event,
6328
6339
  disabled: $ || U,
6329
6340
  onClick: T,
6330
- children: o.text || R.formatMessage({ id: "form_cancel" })
6341
+ children: o.text || I.formatMessage({ id: "form_cancel" })
6331
6342
  }), /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
6332
6343
  ae.createElement(
6333
6344
  e,
@@ -6342,7 +6353,7 @@ const bn = ({
6342
6353
  Rn,
6343
6354
  {
6344
6355
  variant: "error",
6345
- text: R.formatMessage({ id: "form_error_generalError" })
6356
+ text: I.formatMessage({ id: "form_error_generalError" })
6346
6357
  }
6347
6358
  ) : null,
6348
6359
  u,
@@ -6389,7 +6400,7 @@ const bn = ({
6389
6400
  )
6390
6401
  ] })
6391
6402
  ),
6392
- w && U && /* @__PURE__ */ d.jsx(ji, { className: "success", children: typeof w == "string" ? w : R.formatMessage({ id: "form_success" }) })
6403
+ w && U && /* @__PURE__ */ d.jsx(ji, { className: "success", children: typeof w == "string" ? w : I.formatMessage({ id: "form_success" }) })
6393
6404
  ] });
6394
6405
  };
6395
6406
  const oi = "passwordRules_", md = "isMoreThanEightCharacters", pd = "includesNumberAndSymbol", gd = "includesLowerAndUppercase", Hp = {
@@ -6489,7 +6500,7 @@ const S_ = ({
6489
6500
  {
6490
6501
  className: Y({ selected: p && E <= p }),
6491
6502
  children: /* @__PURE__ */ d.jsx(
6492
- Se,
6503
+ Te,
6493
6504
  {
6494
6505
  variant: "tertiary",
6495
6506
  size: "small",
@@ -7962,14 +7973,14 @@ var Ng = (e, t, n) => {
7962
7973
  case "move_node": {
7963
7974
  var {
7964
7975
  path: N,
7965
- newPath: R
7976
+ newPath: I
7966
7977
  } = n;
7967
- if (O.isAncestor(N, R))
7968
- throw new Error("Cannot move a path [".concat(N, "] to new path [").concat(R, "] because the destination is inside itself."));
7969
- var I = oe.get(e, N), _ = oe.parent(e, N), F = N[N.length - 1];
7978
+ if (O.isAncestor(N, I))
7979
+ throw new Error("Cannot move a path [".concat(N, "] to new path [").concat(I, "] because the destination is inside itself."));
7980
+ var R = oe.get(e, N), _ = oe.parent(e, N), F = N[N.length - 1];
7970
7981
  _.children.splice(F, 1);
7971
7982
  var S = O.transform(N, n), $ = oe.get(e, O.parent(S)), U = S[S.length - 1];
7972
- if ($.children.splice(U, 0, I), t)
7983
+ if ($.children.splice(U, 0, R), t)
7973
7984
  for (var [K, G] of H.points(t))
7974
7985
  t[G] = Be.transform(K, n);
7975
7986
  break;
@@ -9264,9 +9275,9 @@ var Dv = (e, t) => {
9264
9275
  var {
9265
9276
  node: r,
9266
9277
  path: i
9267
- } = t, a = O.levels(i), s = me.isText(r) ? [] : Array.from(oe.nodes(r), (R) => {
9268
- var [, I] = R;
9269
- return i.concat(I);
9278
+ } = t, a = O.levels(i), s = me.isText(r) ? [] : Array.from(oe.nodes(r), (I) => {
9279
+ var [, R] = I;
9280
+ return i.concat(R);
9270
9281
  });
9271
9282
  return [...a, ...s];
9272
9283
  }
@@ -10288,12 +10299,12 @@ var w0 = (e, t) => {
10288
10299
  mode: "highest"
10289
10300
  });
10290
10301
  if (L) {
10291
- var R = y.before(t, E);
10292
- R && x && O.isAncestor(x[1], R.path) && (E = R);
10302
+ var I = y.before(t, E);
10303
+ I && x && O.isAncestor(x[1], I.path) && (E = I);
10293
10304
  }
10294
10305
  if (N) {
10295
- var I = y.after(t, k);
10296
- I && w && O.isAncestor(w[1], I.path) && (k = I);
10306
+ var R = y.after(t, k);
10307
+ R && w && O.isAncestor(w[1], R.path) && (k = R);
10297
10308
  }
10298
10309
  var _ = [], F;
10299
10310
  for (var S of y.nodes(t, {
@@ -10410,9 +10421,9 @@ var w0 = (e, t) => {
10410
10421
  pass: L
10411
10422
  }))
10412
10423
  L(N) && T.push(N);
10413
- var R = [], I = [], _ = [], F = !0, S = !1;
10424
+ var I = [], R = [], _ = [], F = !0, S = !1;
10414
10425
  for (var [$] of T)
10415
- he.isElement($) && !t.isInline($) ? (F = !1, S = !0, I.push($)) : F ? R.push($) : _.push($);
10426
+ he.isElement($) && !t.isInline($) ? (F = !1, S = !0, R.push($)) : F ? I.push($) : _.push($);
10416
10427
  var [U] = y.nodes(t, {
10417
10428
  at: s,
10418
10429
  match: (P) => me.isText(P) || y.isInline(t, P),
@@ -10423,20 +10434,20 @@ var w0 = (e, t) => {
10423
10434
  at: s,
10424
10435
  match: (P) => S ? he.isElement(P) && y.isBlock(t, P) : me.isText(P) || y.isInline(t, P),
10425
10436
  mode: S ? "lowest" : "highest",
10426
- always: S && (!b || R.length > 0) && (!v || _.length > 0),
10437
+ always: S && (!b || I.length > 0) && (!v || _.length > 0),
10427
10438
  voids: a
10428
10439
  });
10429
10440
  var Z = y.pathRef(t, !G || G && re ? O.next(K) : K);
10430
- if (J.insertNodes(t, R, {
10441
+ if (J.insertNodes(t, I, {
10431
10442
  at: Z.current,
10432
10443
  match: (P) => me.isText(P) || y.isInline(t, P),
10433
10444
  mode: "highest",
10434
10445
  voids: a,
10435
10446
  batchDirty: o
10436
- }), E && !R.length && I.length && !_.length && J.delete(t, {
10447
+ }), E && !I.length && R.length && !_.length && J.delete(t, {
10437
10448
  at: f,
10438
10449
  voids: a
10439
- }), J.insertNodes(t, I, {
10450
+ }), J.insertNodes(t, R, {
10440
10451
  at: D.current,
10441
10452
  match: (P) => he.isElement(P) && y.isBlock(t, P),
10442
10453
  mode: "lowest",
@@ -10450,7 +10461,7 @@ var w0 = (e, t) => {
10450
10461
  batchDirty: o
10451
10462
  }), !r.at) {
10452
10463
  var C;
10453
- if (_.length > 0 && z.current ? C = O.previous(z.current) : I.length > 0 && D.current ? C = O.previous(D.current) : Z.current && (C = O.previous(Z.current)), C) {
10464
+ if (_.length > 0 && z.current ? C = O.previous(z.current) : R.length > 0 && D.current ? C = O.previous(D.current) : Z.current && (C = O.previous(Z.current)), C) {
10454
10465
  var A = y.end(t, C);
10455
10466
  J.select(t, A);
10456
10467
  }
@@ -10611,7 +10622,7 @@ var P0 = function(t, n) {
10611
10622
  }), l = h.unref();
10612
10623
  }
10613
10624
  if (Be.isPoint(l)) {
10614
- u == null && (me.isText(m) ? u = (R) => me.isText(R) : t.isInline(m) ? u = (R) => me.isText(R) || y.isInline(t, R) : u = (R) => he.isElement(R) && y.isBlock(t, R));
10625
+ u == null && (me.isText(m) ? u = (I) => me.isText(I) : t.isInline(m) ? u = (I) => me.isText(I) || y.isInline(t, I) : u = (I) => he.isElement(I) && y.isBlock(t, I));
10615
10626
  var [g] = y.nodes(t, {
10616
10627
  at: l.path,
10617
10628
  match: u,
@@ -10638,28 +10649,28 @@ var P0 = function(t, n) {
10638
10649
  if (o) {
10639
10650
  var w = [], B = O.levels(k);
10640
10651
  yv(t, () => {
10641
- var R = function() {
10652
+ var I = function() {
10642
10653
  var F = k.concat(x);
10643
10654
  x++;
10644
10655
  var S = {
10645
10656
  type: "insert_node",
10646
10657
  path: F,
10647
- node: I
10658
+ node: R
10648
10659
  };
10649
- t.apply(S), l = O.next(l), w.push(S), me.isText ? B.push(...Array.from(oe.nodes(I), ($) => {
10660
+ t.apply(S), l = O.next(l), w.push(S), me.isText ? B.push(...Array.from(oe.nodes(R), ($) => {
10650
10661
  var [, U] = $;
10651
10662
  return F.concat(U);
10652
10663
  })) : B.push(F);
10653
10664
  };
10654
- for (var I of n)
10655
- R();
10665
+ for (var R of n)
10666
+ I();
10656
10667
  }, () => {
10657
- jd(t, B, (R) => {
10658
- var I = R;
10668
+ jd(t, B, (I) => {
10669
+ var R = I;
10659
10670
  for (var _ of w)
10660
- if (O.operationCanTransformPath(_) && (I = O.transform(I, _), !I))
10671
+ if (O.operationCanTransformPath(_) && (R = O.transform(R, _), !R))
10661
10672
  return null;
10662
- return I;
10673
+ return R;
10663
10674
  });
10664
10675
  });
10665
10676
  } else
@@ -10763,9 +10774,9 @@ var P0 = function(t, n) {
10763
10774
  if (r == null)
10764
10775
  if (O.isPath(i)) {
10765
10776
  var [l] = y.parent(t, i);
10766
- r = (R) => l.children.includes(R);
10777
+ r = (I) => l.children.includes(I);
10767
10778
  } else
10768
- r = (R) => he.isElement(R) && y.isBlock(t, R);
10779
+ r = (I) => he.isElement(I) && y.isBlock(t, I);
10769
10780
  if (!a && H.isRange(i) && (i = y.unhangRange(t, i, {
10770
10781
  voids: s
10771
10782
  })), H.isRange(i))
@@ -10793,13 +10804,13 @@ var P0 = function(t, n) {
10793
10804
  if (!(g.length === 0 || b.length === 0)) {
10794
10805
  var v = O.next(b), E = O.common(g, b), k = O.isSibling(g, b), x = Array.from(y.levels(t, {
10795
10806
  at: g
10796
- }), (R) => {
10797
- var [I] = R;
10798
- return I;
10807
+ }), (I) => {
10808
+ var [R] = I;
10809
+ return R;
10799
10810
  }).slice(E.length).slice(0, -1), w = y.above(t, {
10800
10811
  at: g,
10801
10812
  mode: "highest",
10802
- match: (R) => x.includes(R) && Od(t, R)
10813
+ match: (I) => x.includes(I) && Od(t, I)
10803
10814
  }), B = w && y.pathRef(t, w[1]), T, L;
10804
10815
  if (me.isText(h) && me.isText(f)) {
10805
10816
  var N = an(h, I0);
@@ -11018,27 +11029,27 @@ var P0 = function(t, n) {
11018
11029
  o = B + 1, l = !0;
11019
11030
  }
11020
11031
  h = y.pointRef(t, s);
11021
- var T = s.path.length - o, [, L] = g, N = s.path.slice(0, T), R = o === 0 ? s.offset : s.path[T] + b;
11022
- for (var [I, _] of y.levels(t, {
11032
+ var T = s.path.length - o, [, L] = g, N = s.path.slice(0, T), I = o === 0 ? s.offset : s.path[T] + b;
11033
+ for (var [R, _] of y.levels(t, {
11023
11034
  at: N,
11024
11035
  reverse: !0,
11025
11036
  voids: i
11026
11037
  })) {
11027
11038
  var F = !1;
11028
- if (_.length < L.length || _.length === 0 || !i && he.isElement(I) && y.isVoid(t, I))
11039
+ if (_.length < L.length || _.length === 0 || !i && he.isElement(R) && y.isVoid(t, R))
11029
11040
  break;
11030
11041
  var S = p.current, $ = y.isEnd(t, S, _);
11031
11042
  if (l || !p || !y.isEdge(t, S, _)) {
11032
11043
  F = !0;
11033
- var U = oe.extractProps(I);
11044
+ var U = oe.extractProps(R);
11034
11045
  t.apply({
11035
11046
  type: "split_node",
11036
11047
  path: _,
11037
- position: R,
11048
+ position: I,
11038
11049
  properties: U
11039
11050
  });
11040
11051
  }
11041
- R = _[_.length - 1] + (F || $ ? 1 : 0);
11052
+ I = _[_.length - 1] + (F || $ ? 1 : 0);
11042
11053
  }
11043
11054
  if (n.at == null) {
11044
11055
  var K = h.current || y.end(t, []);
@@ -11164,7 +11175,7 @@ var Z0 = function(t, n) {
11164
11175
  var [k] = E, x = E[E.length - 1], [, w] = k, [, B] = x;
11165
11176
  if (w.length === 0 && B.length === 0)
11166
11177
  return 0;
11167
- var T = O.equals(w, B) ? O.parent(w) : O.common(w, B), L = y.range(t, w, B), N = y.node(t, T), [R] = N, I = T.length + 1, _ = O.next(B.slice(0, I)), F = il(il({}, n), {}, {
11178
+ var T = O.equals(w, B) ? O.parent(w) : O.common(w, B), L = y.range(t, w, B), N = y.node(t, T), [I] = N, R = T.length + 1, _ = O.next(B.slice(0, R)), F = il(il({}, n), {}, {
11168
11179
  children: []
11169
11180
  });
11170
11181
  J.insertNodes(t, F, {
@@ -11172,7 +11183,7 @@ var Z0 = function(t, n) {
11172
11183
  voids: s
11173
11184
  }), J.moveNodes(t, {
11174
11185
  at: L,
11175
- match: (S) => he.isAncestor(R) && R.children.includes(S),
11186
+ match: (S) => he.isAncestor(I) && I.children.includes(S),
11176
11187
  to: _.concat(0),
11177
11188
  voids: s
11178
11189
  });
@@ -11860,11 +11871,11 @@ const uy = /* @__PURE__ */ Nn(oy), dl = (e) => typeof e == "object" && e != null
11860
11871
  }
11861
11872
  g != null && g === document.body && Ma(g) && !Ma(document.documentElement) || g != null && Ma(g, c) && h.push(g);
11862
11873
  }
11863
- const f = (r = (n = window.visualViewport) == null ? void 0 : n.width) != null ? r : innerWidth, b = (a = (i = window.visualViewport) == null ? void 0 : i.height) != null ? a : innerHeight, { scrollX: v, scrollY: E } = window, { height: k, width: x, top: w, right: B, bottom: T, left: L } = e.getBoundingClientRect(), { top: N, right: R, bottom: I, left: _ } = ((U) => {
11874
+ const f = (r = (n = window.visualViewport) == null ? void 0 : n.width) != null ? r : innerWidth, b = (a = (i = window.visualViewport) == null ? void 0 : i.height) != null ? a : innerHeight, { scrollX: v, scrollY: E } = window, { height: k, width: x, top: w, right: B, bottom: T, left: L } = e.getBoundingClientRect(), { top: N, right: I, bottom: R, left: _ } = ((U) => {
11864
11875
  const K = window.getComputedStyle(U);
11865
11876
  return { top: parseFloat(K.scrollMarginTop) || 0, right: parseFloat(K.scrollMarginRight) || 0, bottom: parseFloat(K.scrollMarginBottom) || 0, left: parseFloat(K.scrollMarginLeft) || 0 };
11866
11877
  })(e);
11867
- let F = o === "start" || o === "nearest" ? w - N : o === "end" ? T + I : w + k / 2 - N + I, S = l === "center" ? L + x / 2 - _ + R : l === "end" ? B + R : L - _;
11878
+ let F = o === "start" || o === "nearest" ? w - N : o === "end" ? T + R : w + k / 2 - N + R, S = l === "center" ? L + x / 2 - _ + I : l === "end" ? B + I : L - _;
11868
11879
  const $ = [];
11869
11880
  for (let U = 0; U < h.length; U++) {
11870
11881
  const K = h[U], { height: G, width: re, top: D, right: z, bottom: Z, left: C } = K.getBoundingClientRect();
@@ -11985,9 +11996,9 @@ var Fn = function(e) {
11985
11996
  return ci.get(e);
11986
11997
  if (qd(e))
11987
11998
  return ci.set(e, vl), vl;
11988
- var n = getComputedStyle(e), r = ho(e) && e.ownerSVGElement && e.getBBox(), i = !by && n.boxSizing === "border-box", a = vy.test(n.writingMode || ""), s = !r && gl.test(n.overflowY || ""), o = !r && gl.test(n.overflowX || ""), l = r ? 0 : Lt(n.paddingTop), u = r ? 0 : Lt(n.paddingRight), c = r ? 0 : Lt(n.paddingBottom), m = r ? 0 : Lt(n.paddingLeft), p = r ? 0 : Lt(n.borderTopWidth), h = r ? 0 : Lt(n.borderRightWidth), g = r ? 0 : Lt(n.borderBottomWidth), f = r ? 0 : Lt(n.borderLeftWidth), b = m + u, v = l + c, E = f + h, k = p + g, x = o ? e.offsetHeight - k - e.clientHeight : 0, w = s ? e.offsetWidth - E - e.clientWidth : 0, B = i ? b + E : 0, T = i ? v + k : 0, L = r ? r.width : Lt(n.width) - B - w, N = r ? r.height : Lt(n.height) - T - x, R = L + b + w + E, I = N + v + x + k, _ = Fn({
11999
+ var n = getComputedStyle(e), r = ho(e) && e.ownerSVGElement && e.getBBox(), i = !by && n.boxSizing === "border-box", a = vy.test(n.writingMode || ""), s = !r && gl.test(n.overflowY || ""), o = !r && gl.test(n.overflowX || ""), l = r ? 0 : Lt(n.paddingTop), u = r ? 0 : Lt(n.paddingRight), c = r ? 0 : Lt(n.paddingBottom), m = r ? 0 : Lt(n.paddingLeft), p = r ? 0 : Lt(n.borderTopWidth), h = r ? 0 : Lt(n.borderRightWidth), g = r ? 0 : Lt(n.borderBottomWidth), f = r ? 0 : Lt(n.borderLeftWidth), b = m + u, v = l + c, E = f + h, k = p + g, x = o ? e.offsetHeight - k - e.clientHeight : 0, w = s ? e.offsetWidth - E - e.clientWidth : 0, B = i ? b + E : 0, T = i ? v + k : 0, L = r ? r.width : Lt(n.width) - B - w, N = r ? r.height : Lt(n.height) - T - x, I = L + b + w + E, R = N + v + x + k, _ = Fn({
11989
12000
  devicePixelContentBoxSize: tr(Math.round(L * devicePixelRatio), Math.round(N * devicePixelRatio), a),
11990
- borderBoxSize: tr(R, I, a),
12001
+ borderBoxSize: tr(I, R, a),
11991
12002
  contentBoxSize: tr(L, N, a),
11992
12003
  contentRect: new zd(m, l, L, N)
11993
12004
  });
@@ -12734,12 +12745,12 @@ var X = {
12734
12745
  editable: !0
12735
12746
  })) {
12736
12747
  var N = X.toSlateNode(e, L), {
12737
- path: R,
12738
- offset: I
12748
+ path: I,
12749
+ offset: R
12739
12750
  } = y.start(e, X.findPath(e, N));
12740
- return L.querySelector("[data-slate-leaf]") || (I = s), {
12741
- path: R,
12742
- offset: I
12751
+ return L.querySelector("[data-slate-leaf]") || (R = s), {
12752
+ path: I,
12753
+ offset: R
12743
12754
  };
12744
12755
  }
12745
12756
  }
@@ -13368,7 +13379,7 @@ function h1(e) {
13368
13379
  };
13369
13380
  if (Ae && u && S === "insertCompositionText") {
13370
13381
  var ne = u.start + u.text.search(/\S|$/), ge = q.start + q.text.search(/\S|$/);
13371
- ge === ne + 1 && q.end === u.start + u.text.length ? (q.start -= 1, u = null, R()) : u = !1;
13382
+ ge === ne + 1 && q.end === u.start + u.text.length ? (q.start -= 1, u = null, I()) : u = !1;
13372
13383
  } else
13373
13384
  S === "insertText" ? u === null ? u = q : u && H.isCollapsed($) && u.end + u.text.length === Ge.offset ? u = mi(mi({}, u), {}, {
13374
13385
  text: u.text + Ae
@@ -13400,9 +13411,9 @@ function h1(e) {
13400
13411
  (k() || !x()) && p();
13401
13412
  }, N = (_) => {
13402
13413
  x() || (f(!0), setTimeout(f));
13403
- }, R = () => {
13414
+ }, I = () => {
13404
13415
  k() || (o = setTimeout(p));
13405
- }, I = (_) => {
13416
+ }, R = (_) => {
13406
13417
  if (!(x() || k()) && _.some((S) => xo(t, S, _))) {
13407
13418
  var F;
13408
13419
  (F = ef.get(t)) === null || F === void 0 || F();
@@ -13410,7 +13421,7 @@ function h1(e) {
13410
13421
  };
13411
13422
  return {
13412
13423
  flush: p,
13413
- scheduleFlush: R,
13424
+ scheduleFlush: I,
13414
13425
  hasPendingDiffs: x,
13415
13426
  hasPendingAction: k,
13416
13427
  hasPendingChanges: w,
@@ -13420,7 +13431,7 @@ function h1(e) {
13420
13431
  handleCompositionStart: g,
13421
13432
  handleDOMBeforeInput: E,
13422
13433
  handleKeyDown: N,
13423
- handleDomMutations: I,
13434
+ handleDomMutations: R,
13424
13435
  handleInput: L
13425
13436
  };
13426
13437
  }
@@ -14020,8 +14031,8 @@ var G1 = (e) => /* @__PURE__ */ ae.createElement(ae.Fragment, null, ff(e)), Q1 =
14020
14031
  de(() => {
14021
14032
  E.current && n && E.current.focus();
14022
14033
  }, [n]);
14023
- var R = ke(), I = Ht(() => uy(() => {
14024
- var A = R.current;
14034
+ var I = ke(), R = Ht(() => uy(() => {
14035
+ var A = I.current;
14025
14036
  if ((ht || !X.isComposing(f)) && (!N.isUpdatingSelection || A != null && A.isFlushing()) && !N.isDraggingInternally) {
14026
14037
  var P = X.findDocumentOrShadowRoot(f), {
14027
14038
  activeElement: M
@@ -14041,10 +14052,10 @@ var G1 = (e) => /* @__PURE__ */ ae.createElement(ae.Fragment, null, ff(e)), Q1 =
14041
14052
  }
14042
14053
  s && (!ce || !Q) && J.deselect(f);
14043
14054
  }
14044
- }, 100), [f, s, N]), _ = Ht(() => ny(I, 0), [I]);
14045
- R.current = y1({
14055
+ }, 100), [f, s, N]), _ = Ht(() => ny(R, 0), [R]);
14056
+ I.current = y1({
14046
14057
  node: E,
14047
- onDOMSelectionChange: I,
14058
+ onDOMSelectionChange: R,
14048
14059
  scheduleOnDOMSelectionChange: _
14049
14060
  }), Hr(() => {
14050
14061
  var A, P, M;
@@ -14052,7 +14063,7 @@ var G1 = (e) => /* @__PURE__ */ ae.createElement(ae.Fragment, null, ff(e)), Q1 =
14052
14063
  var {
14053
14064
  selection: W
14054
14065
  } = f, te = X.findDocumentOrShadowRoot(f), ee = te.getSelection();
14055
- if (!(!ee || !X.isFocused(f) || (A = R.current) !== null && A !== void 0 && A.hasPendingAction())) {
14066
+ if (!(!ee || !X.isFocused(f) || (A = I.current) !== null && A !== void 0 && A.hasPendingAction())) {
14056
14067
  var ie = (pe) => {
14057
14068
  var ve = ee.type !== "None";
14058
14069
  if (!(!W && !ve)) {
@@ -14089,7 +14100,7 @@ var G1 = (e) => /* @__PURE__ */ ae.createElement(ae.Fragment, null, ff(e)), Q1 =
14089
14100
  }
14090
14101
  };
14091
14102
  ee.rangeCount <= 1 && ie();
14092
- var ce = ((P = R.current) === null || P === void 0 ? void 0 : P.isFlushing()) === "action";
14103
+ var ce = ((P = I.current) === null || P === void 0 ? void 0 : P.isFlushing()) === "action";
14093
14104
  if (!ht || !ce) {
14094
14105
  setTimeout(() => {
14095
14106
  N.isUpdatingSelection = !1;
@@ -14118,9 +14129,9 @@ var G1 = (e) => /* @__PURE__ */ ae.createElement(ae.Fragment, null, ff(e)), Q1 =
14118
14129
  var F = Me((A) => {
14119
14130
  if (B(), !s && X.hasEditableTarget(f, A.target) && !tD(A, i)) {
14120
14131
  var P;
14121
- if (R.current)
14122
- return R.current.handleDOMBeforeInput(A);
14123
- _.flush(), I.flush();
14132
+ if (I.current)
14133
+ return I.current.handleDOMBeforeInput(A);
14134
+ _.flush(), R.flush();
14124
14135
  var {
14125
14136
  selection: M
14126
14137
  } = f, {
@@ -14256,9 +14267,9 @@ var G1 = (e) => /* @__PURE__ */ ae.createElement(ae.Fragment, null, ff(e)), Q1 =
14256
14267
  var q = (P = Sr.get(f)) === null || P === void 0 ? void 0 : P.unref();
14257
14268
  Sr.delete(f), q && (!f.selection || !H.equals(f.selection, q)) && J.select(f, q);
14258
14269
  }
14259
- }, [f, I, B, i, s, _]), S = Me((A) => {
14260
- A == null ? (I.cancel(), _.cancel(), Bi.delete(f), An.delete(f), E.current && ln && E.current.removeEventListener("beforeinput", F)) : ln && A.addEventListener("beforeinput", F), E.current = A;
14261
- }, [I, _, f, F]);
14270
+ }, [f, R, B, i, s, _]), S = Me((A) => {
14271
+ A == null ? (R.cancel(), _.cancel(), Bi.delete(f), An.delete(f), E.current && ln && E.current.removeEventListener("beforeinput", F)) : ln && A.addEventListener("beforeinput", F), E.current = A;
14272
+ }, [R, _, f, F]);
14262
14273
  Hr(() => {
14263
14274
  var A = X.getWindow(f);
14264
14275
  return A.document.addEventListener("selectionchange", _), () => {
@@ -14367,8 +14378,8 @@ var G1 = (e) => /* @__PURE__ */ ae.createElement(ae.Fragment, null, ff(e)), Q1 =
14367
14378
  }, [g.onBeforeInput, f, s]),
14368
14379
  onInput: Me((A) => {
14369
14380
  if (!dt(A, g.onInput)) {
14370
- if (R.current) {
14371
- R.current.handleInput();
14381
+ if (I.current) {
14382
+ I.current.handleInput();
14372
14383
  return;
14373
14384
  }
14374
14385
  for (var P of k.current)
@@ -14434,7 +14445,7 @@ var G1 = (e) => /* @__PURE__ */ ae.createElement(ae.Fragment, null, ff(e)), Q1 =
14434
14445
  var P;
14435
14446
  if (X.isComposing(f) && Promise.resolve().then(() => {
14436
14447
  v(!1), En.set(f, !1);
14437
- }), (P = R.current) === null || P === void 0 || P.handleCompositionEnd(A), dt(A, g.onCompositionEnd) || ht)
14448
+ }), (P = I.current) === null || P === void 0 || P.handleCompositionEnd(A), dt(A, g.onCompositionEnd) || ht)
14438
14449
  return;
14439
14450
  if (!Br && !Uy && !Ly && !Vy && !Hy && A.data) {
14440
14451
  var M = Mt.get(f);
@@ -14450,7 +14461,7 @@ var G1 = (e) => /* @__PURE__ */ ae.createElement(ae.Fragment, null, ff(e)), Q1 =
14450
14461
  onCompositionStart: Me((A) => {
14451
14462
  if (X.hasSelectableTarget(f, A.target)) {
14452
14463
  var P;
14453
- if ((P = R.current) === null || P === void 0 || P.handleCompositionStart(A), dt(A, g.onCompositionStart) || ht)
14464
+ if ((P = I.current) === null || P === void 0 || P.handleCompositionStart(A), dt(A, g.onCompositionStart) || ht)
14454
14465
  return;
14455
14466
  v(!0);
14456
14467
  var {
@@ -14528,7 +14539,7 @@ var G1 = (e) => /* @__PURE__ */ ae.createElement(ae.Fragment, null, ff(e)), Q1 =
14528
14539
  onKeyDown: Me((A) => {
14529
14540
  if (!s && X.hasEditableTarget(f, A.target)) {
14530
14541
  var P;
14531
- (P = R.current) === null || P === void 0 || P.handleKeyDown(A);
14542
+ (P = I.current) === null || P === void 0 || P.handleKeyDown(A);
14532
14543
  var {
14533
14544
  nativeEvent: M
14534
14545
  } = A;
@@ -14911,12 +14922,12 @@ var uD = function(t) {
14911
14922
  }
14912
14923
  i(u);
14913
14924
  for (var [L, N] of c) {
14914
- var [R] = y.node(r, L);
14915
- Ui.set(R, N);
14925
+ var [I] = y.node(r, L);
14926
+ Ui.set(I, N);
14916
14927
  }
14917
- for (var [I, _] of m)
14918
- if (I.current) {
14919
- var [F] = y.node(r, I.current);
14928
+ for (var [R, _] of m)
14929
+ if (R.current) {
14930
+ var [F] = y.node(r, R.current);
14920
14931
  Ui.set(F, _);
14921
14932
  }
14922
14933
  }, r.setFragmentData = (u) => {
@@ -14931,15 +14942,15 @@ var uD = function(t) {
14931
14942
  });
14932
14943
  if (!(H.isCollapsed(c) && !h)) {
14933
14944
  var f = X.toDOMRange(r, c), b = f.cloneContents(), v = b.childNodes[0];
14934
- if (b.childNodes.forEach((R) => {
14935
- R.textContent && R.textContent.trim() !== "" && (v = R);
14945
+ if (b.childNodes.forEach((I) => {
14946
+ I.textContent && I.textContent.trim() !== "" && (v = I);
14936
14947
  }), g) {
14937
14948
  var [E] = g, k = f.cloneRange(), x = X.toDOMNode(r, E);
14938
14949
  k.setEndAfter(x), b = k.cloneContents();
14939
14950
  }
14940
- if (h && (v = b.querySelector("[data-slate-spacer]")), Array.from(b.querySelectorAll("[data-slate-zero-width]")).forEach((R) => {
14941
- var I = R.getAttribute("data-slate-zero-width") === "n";
14942
- R.textContent = I ? `
14951
+ if (h && (v = b.querySelector("[data-slate-spacer]")), Array.from(b.querySelectorAll("[data-slate-zero-width]")).forEach((I) => {
14952
+ var R = I.getAttribute("data-slate-zero-width") === "n";
14953
+ I.textContent = R ? `
14943
14954
  ` : "";
14944
14955
  }), nf(v)) {
14945
14956
  var w = v.ownerDocument.createElement("span");
@@ -16708,17 +16719,17 @@ function ZD(e) {
16708
16719
  )
16709
16720
  return;
16710
16721
  const T = t.events.length;
16711
- let L = T, N, R;
16722
+ let L = T, N, I;
16712
16723
  for (; L--; )
16713
16724
  if (t.events[L][0] === "exit" && t.events[L][1].type === "chunkFlow") {
16714
16725
  if (N) {
16715
- R = t.events[L][1].end;
16726
+ I = t.events[L][1].end;
16716
16727
  break;
16717
16728
  }
16718
16729
  N = !0;
16719
16730
  }
16720
16731
  for (v(r), B = T; B < t.events.length; )
16721
- t.events[B][1].end = Object.assign({}, R), B++;
16732
+ t.events[B][1].end = Object.assign({}, I), B++;
16722
16733
  sn(
16723
16734
  t.events,
16724
16735
  L + 1,
@@ -17007,11 +17018,11 @@ function sx(e, t, n) {
17007
17018
  }
17008
17019
  function w(B, T, L) {
17009
17020
  let N = 0;
17010
- return R;
17011
- function R($) {
17012
- return B.enter("lineEnding"), B.consume($), B.exit("lineEnding"), I;
17013
- }
17021
+ return I;
17014
17022
  function I($) {
17023
+ return B.enter("lineEnding"), B.consume($), B.exit("lineEnding"), R;
17024
+ }
17025
+ function R($) {
17015
17026
  return B.enter("codeFencedFence"), Re($) ? Ve(B, _, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)($) : _($);
17016
17027
  }
17017
17028
  function _($) {
@@ -17696,10 +17707,10 @@ function Mx(e, t, n) {
17696
17707
  return C === 62 ? (e.consume(C), r.interrupt ? t : _) : n(C);
17697
17708
  }
17698
17709
  function E(C) {
17699
- return Re(C) ? (e.consume(C), E) : R(C);
17710
+ return Re(C) ? (e.consume(C), E) : I(C);
17700
17711
  }
17701
17712
  function k(C) {
17702
- return C === 47 ? (e.consume(C), R) : C === 58 || C === 95 || Ut(C) ? (e.consume(C), x) : Re(C) ? (e.consume(C), k) : R(C);
17713
+ return C === 47 ? (e.consume(C), I) : C === 58 || C === 95 || Ut(C) ? (e.consume(C), x) : Re(C) ? (e.consume(C), k) : I(C);
17703
17714
  }
17704
17715
  function x(C) {
17705
17716
  return C === 45 || C === 46 || C === 58 || C === 95 || Rt(C) ? (e.consume(C), x) : w(C);
@@ -17719,11 +17730,11 @@ function Mx(e, t, n) {
17719
17730
  function N(C) {
17720
17731
  return C === 47 || C === 62 || Re(C) ? k(C) : n(C);
17721
17732
  }
17722
- function R(C) {
17723
- return C === 62 ? (e.consume(C), I) : n(C);
17724
- }
17725
17733
  function I(C) {
17726
- return C === null || xe(C) ? _(C) : Re(C) ? (e.consume(C), I) : n(C);
17734
+ return C === 62 ? (e.consume(C), R) : n(C);
17735
+ }
17736
+ function R(C) {
17737
+ return C === null || xe(C) ? _(C) : Re(C) ? (e.consume(C), R) : n(C);
17727
17738
  }
17728
17739
  function _(C) {
17729
17740
  return C === 45 && i === 2 ? (e.consume(C), U) : C === 60 && i === 1 ? (e.consume(C), K) : C === 62 && i === 4 ? (e.consume(C), z) : C === 63 && i === 3 ? (e.consume(C), D) : C === 93 && i === 5 ? (e.consume(C), re) : xe(C) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(Ox, Z, F)(C)) : C === null || xe(C) ? (e.exit("htmlFlowData"), F(C)) : (e.consume(C), _);
@@ -17843,13 +17854,13 @@ function Lx(e, t, n) {
17843
17854
  return D === 45 || Rt(D) ? (e.consume(D), L) : D === 47 || D === 62 || yt(D) ? N(D) : n(D);
17844
17855
  }
17845
17856
  function N(D) {
17846
- return D === 47 ? (e.consume(D), U) : D === 58 || D === 95 || Ut(D) ? (e.consume(D), R) : xe(D) ? (s = N, K(D)) : Re(D) ? (e.consume(D), N) : U(D);
17847
- }
17848
- function R(D) {
17849
- return D === 45 || D === 46 || D === 58 || D === 95 || Rt(D) ? (e.consume(D), R) : I(D);
17857
+ return D === 47 ? (e.consume(D), U) : D === 58 || D === 95 || Ut(D) ? (e.consume(D), I) : xe(D) ? (s = N, K(D)) : Re(D) ? (e.consume(D), N) : U(D);
17850
17858
  }
17851
17859
  function I(D) {
17852
- return D === 61 ? (e.consume(D), _) : xe(D) ? (s = I, K(D)) : Re(D) ? (e.consume(D), I) : N(D);
17860
+ return D === 45 || D === 46 || D === 58 || D === 95 || Rt(D) ? (e.consume(D), I) : R(D);
17861
+ }
17862
+ function R(D) {
17863
+ return D === 61 ? (e.consume(D), _) : xe(D) ? (s = R, K(D)) : Re(D) ? (e.consume(D), R) : N(D);
17853
17864
  }
17854
17865
  function _(D) {
17855
17866
  return D === null || D === 60 || D === 61 || D === 62 || D === 96 ? n(D) : D === 34 || D === 39 ? (e.consume(D), i = D, F) : xe(D) ? (s = _, K(D)) : Re(D) ? (e.consume(D), _) : (e.consume(D), S);
@@ -18364,60 +18375,60 @@ function vw(e, t, n) {
18364
18375
  };
18365
18376
  let c = t.tokenize.call(u, l);
18366
18377
  return t.resolveAll && a.push(t), u;
18367
- function m(I) {
18368
- return s = Tt(s, I), b(), s[s.length - 1] !== null ? [] : (L(t, 0), u.events = Eo(a, u.events, u), u.events);
18378
+ function m(R) {
18379
+ return s = Tt(s, R), b(), s[s.length - 1] !== null ? [] : (L(t, 0), u.events = Eo(a, u.events, u), u.events);
18369
18380
  }
18370
- function p(I, _) {
18371
- return yw(h(I), _);
18381
+ function p(R, _) {
18382
+ return yw(h(R), _);
18372
18383
  }
18373
- function h(I) {
18374
- return bw(s, I);
18384
+ function h(R) {
18385
+ return bw(s, R);
18375
18386
  }
18376
18387
  function g() {
18377
- const { line: I, column: _, offset: F, _index: S, _bufferIndex: $ } = r;
18388
+ const { line: R, column: _, offset: F, _index: S, _bufferIndex: $ } = r;
18378
18389
  return {
18379
- line: I,
18390
+ line: R,
18380
18391
  column: _,
18381
18392
  offset: F,
18382
18393
  _index: S,
18383
18394
  _bufferIndex: $
18384
18395
  };
18385
18396
  }
18386
- function f(I) {
18387
- i[I.line] = I.column, R();
18397
+ function f(R) {
18398
+ i[R.line] = R.column, I();
18388
18399
  }
18389
18400
  function b() {
18390
- let I;
18401
+ let R;
18391
18402
  for (; r._index < s.length; ) {
18392
18403
  const _ = s[r._index];
18393
18404
  if (typeof _ == "string")
18394
- for (I = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === I && r._bufferIndex < _.length; )
18405
+ for (R = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === R && r._bufferIndex < _.length; )
18395
18406
  v(_.charCodeAt(r._bufferIndex));
18396
18407
  else
18397
18408
  v(_);
18398
18409
  }
18399
18410
  }
18400
- function v(I) {
18401
- c = c(I);
18411
+ function v(R) {
18412
+ c = c(R);
18402
18413
  }
18403
- function E(I) {
18404
- xe(I) ? (r.line++, r.column = 1, r.offset += I === -3 ? 2 : 1, R()) : I !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === s[r._index].length && (r._bufferIndex = -1, r._index++)), u.previous = I;
18414
+ function E(R) {
18415
+ xe(R) ? (r.line++, r.column = 1, r.offset += R === -3 ? 2 : 1, I()) : R !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === s[r._index].length && (r._bufferIndex = -1, r._index++)), u.previous = R;
18405
18416
  }
18406
- function k(I, _) {
18417
+ function k(R, _) {
18407
18418
  const F = _ || {};
18408
- return F.type = I, F.start = g(), u.events.push(["enter", F, u]), o.push(F), F;
18419
+ return F.type = R, F.start = g(), u.events.push(["enter", F, u]), o.push(F), F;
18409
18420
  }
18410
- function x(I) {
18421
+ function x(R) {
18411
18422
  const _ = o.pop();
18412
18423
  return _.end = g(), u.events.push(["exit", _, u]), _;
18413
18424
  }
18414
- function w(I, _) {
18415
- L(I, _.from);
18425
+ function w(R, _) {
18426
+ L(R, _.from);
18416
18427
  }
18417
- function B(I, _) {
18428
+ function B(R, _) {
18418
18429
  _.restore();
18419
18430
  }
18420
- function T(I, _) {
18431
+ function T(R, _) {
18421
18432
  return F;
18422
18433
  function F(S, $, U) {
18423
18434
  let K, G, re, D;
@@ -18455,32 +18466,32 @@ function vw(e, t, n) {
18455
18466
  }
18456
18467
  }
18457
18468
  function A(M) {
18458
- return I(re, D), $;
18469
+ return R(re, D), $;
18459
18470
  }
18460
18471
  function P(M) {
18461
18472
  return D.restore(), ++G < K.length ? C(K[G]) : U;
18462
18473
  }
18463
18474
  }
18464
18475
  }
18465
- function L(I, _) {
18466
- I.resolveAll && !a.includes(I) && a.push(I), I.resolve && sn(
18476
+ function L(R, _) {
18477
+ R.resolveAll && !a.includes(R) && a.push(R), R.resolve && sn(
18467
18478
  u.events,
18468
18479
  _,
18469
18480
  u.events.length - _,
18470
- I.resolve(u.events.slice(_), u)
18471
- ), I.resolveTo && (u.events = I.resolveTo(u.events, u));
18481
+ R.resolve(u.events.slice(_), u)
18482
+ ), R.resolveTo && (u.events = R.resolveTo(u.events, u));
18472
18483
  }
18473
18484
  function N() {
18474
- const I = g(), _ = u.previous, F = u.currentConstruct, S = u.events.length, $ = Array.from(o);
18485
+ const R = g(), _ = u.previous, F = u.currentConstruct, S = u.events.length, $ = Array.from(o);
18475
18486
  return {
18476
18487
  restore: U,
18477
18488
  from: S
18478
18489
  };
18479
18490
  function U() {
18480
- r = I, u.previous = _, u.currentConstruct = F, u.events.length = S, o = $, R();
18491
+ r = R, u.previous = _, u.currentConstruct = F, u.events.length = S, o = $, I();
18481
18492
  }
18482
18493
  }
18483
- function R() {
18494
+ function I() {
18484
18495
  r.line in i && r.column < 2 && (r.column = i[r.line], r.offset += i[r.line] - 1);
18485
18496
  }
18486
18497
  }
@@ -18743,7 +18754,7 @@ function Rw(e) {
18743
18754
  autolinkEmail: te,
18744
18755
  autolinkProtocol: W,
18745
18756
  blockQuote: l(),
18746
- characterEscapeValue: R,
18757
+ characterEscapeValue: I,
18747
18758
  characterReferenceMarkerHexadecimal: P,
18748
18759
  characterReferenceMarkerNumeric: P,
18749
18760
  characterReferenceValue: M,
@@ -18751,11 +18762,11 @@ function Rw(e) {
18751
18762
  codeFencedFence: f,
18752
18763
  codeFencedFenceInfo: h,
18753
18764
  codeFencedFenceMeta: g,
18754
- codeFlowValue: R,
18765
+ codeFlowValue: I,
18755
18766
  codeIndented: l(v),
18756
18767
  codeText: l($),
18757
- codeTextData: R,
18758
- data: R,
18768
+ codeTextData: I,
18769
+ data: I,
18759
18770
  definition: l(),
18760
18771
  definitionDestinationString: x,
18761
18772
  definitionLabelString: E,
@@ -18764,13 +18775,13 @@ function Rw(e) {
18764
18775
  hardBreakEscape: l(_),
18765
18776
  hardBreakTrailing: l(_),
18766
18777
  htmlFlow: l(F),
18767
- htmlFlowData: R,
18778
+ htmlFlowData: I,
18768
18779
  htmlText: l(S),
18769
- htmlTextData: R,
18780
+ htmlTextData: I,
18770
18781
  image: l(K),
18771
18782
  label: re,
18772
18783
  labelText: G,
18773
- lineEnding: I,
18784
+ lineEnding: R,
18774
18785
  link: l(U),
18775
18786
  listItem: l(),
18776
18787
  listOrdered: l(),
@@ -19013,18 +19024,18 @@ function Rw(e) {
19013
19024
  end: void 0
19014
19025
  }, ge.push(ye)), this.stack.push(ye);
19015
19026
  }
19016
- function R(q) {
19027
+ function I(q) {
19017
19028
  const ne = this.stack.pop();
19018
19029
  ne.value += this.sliceSerialize(q), ne.position.end = cn(q.end);
19019
19030
  }
19020
- function I(q) {
19031
+ function R(q) {
19021
19032
  const ne = this.stack[this.stack.length - 1];
19022
19033
  if (this.data.atHardBreak) {
19023
19034
  const ge = ne.children[ne.children.length - 1];
19024
19035
  ge.position.end = cn(q.end), this.data.atHardBreak = void 0;
19025
19036
  return;
19026
19037
  }
19027
- !this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(ne.type) && (N.call(this, q), R.call(this, q));
19038
+ !this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(ne.type) && (N.call(this, q), I.call(this, q));
19028
19039
  }
19029
19040
  function _() {
19030
19041
  this.data.atHardBreak = !0;
@@ -19105,12 +19116,12 @@ function Rw(e) {
19105
19116
  _e.value += ye, _e.position.end = cn(q.end);
19106
19117
  }
19107
19118
  function W(q) {
19108
- R.call(this, q);
19119
+ I.call(this, q);
19109
19120
  const ne = this.stack[this.stack.length - 1];
19110
19121
  ne.url = this.sliceSerialize(q);
19111
19122
  }
19112
19123
  function te(q) {
19113
- R.call(this, q);
19124
+ I.call(this, q);
19114
19125
  const ne = this.stack[this.stack.length - 1];
19115
19126
  ne.url = "mailto:" + this.sliceSerialize(q);
19116
19127
  }
@@ -20254,8 +20265,8 @@ const mC = ({
20254
20265
  initialValue: T,
20255
20266
  stringValue: L,
20256
20267
  lastAnchor: N,
20257
- lastKey: R,
20258
- hasInteracted: I,
20268
+ lastKey: I,
20269
+ hasInteracted: R,
20259
20270
  hasLoaded: _,
20260
20271
  mentionPopover: F
20261
20272
  } = k, S = (z) => {
@@ -20280,7 +20291,7 @@ const mC = ({
20280
20291
  return;
20281
20292
  Ti.lastIndex = 0;
20282
20293
  const z = t.match(Ti);
20283
- !z || z.length > 1 || z[0].length !== t.length || I || x([{ type: "originalValue", value: t }]);
20294
+ !z || z.length > 1 || z[0].length !== t.length || R || x([{ type: "originalValue", value: t }]);
20284
20295
  }, [t]);
20285
20296
  const re = (z) => {
20286
20297
  if (!G || z !== $)
@@ -20331,7 +20342,7 @@ const mC = ({
20331
20342
  });
20332
20343
  })();
20333
20344
  }, [B]), de(() => {
20334
- t !== "" || !G || ps(B, t) && !I || (y.withoutNormalizing(G, () => {
20345
+ t !== "" || !G || ps(B, t) && !R || (y.withoutNormalizing(G, () => {
20335
20346
  J.delete(G, {
20336
20347
  at: {
20337
20348
  anchor: y.start(G, []),
@@ -20373,7 +20384,7 @@ const mC = ({
20373
20384
  onChange: (z) => {
20374
20385
  if (G.operations.some((C) => C.type !== "set_selection")) {
20375
20386
  const C = Kw(z);
20376
- g(C), x([{ type: "stringValue", value: cc(G) }]), I || x([{ type: "hasInteracted", value: !0 }]), D(), c && console.log({ serialized: C, json: z });
20387
+ g(C), x([{ type: "stringValue", value: cc(G) }]), R || x([{ type: "hasInteracted", value: !0 }]), D(), c && console.log({ serialized: C, json: z });
20377
20388
  }
20378
20389
  },
20379
20390
  ...l,
@@ -20405,7 +20416,7 @@ const mC = ({
20405
20416
  edge: "end"
20406
20417
  }), Q = ee.type;
20407
20418
  if ([V.ul, V.ol].includes(W))
20408
- if (z.stopPropagation(), z.preventDefault(), Q === V.li && R === "Enter") {
20419
+ if (z.stopPropagation(), z.preventDefault(), Q === V.li && I === "Enter") {
20409
20420
  ee.children.length === 1 && "text" in ee.children[0] && ee.children[0].text === "" && J.removeNodes(G, { at: ie }), J.insertNodes(G, v, {
20410
20421
  at: O.next(P)
20411
20422
  }), J.select(
@@ -20606,7 +20617,7 @@ function pC({
20606
20617
  }
20607
20618
  ),
20608
20619
  /* @__PURE__ */ d.jsx(
20609
- Se,
20620
+ Te,
20610
20621
  {
20611
20622
  onClick: () => f.current && f.current.click(),
20612
20623
  variant: "secondary",
@@ -20712,9 +20723,9 @@ const vC = ({
20712
20723
  ] }) }),
20713
20724
  /* @__PURE__ */ d.jsx(rn, {}),
20714
20725
  /* @__PURE__ */ d.jsx("div", { className: "footer", children: g === "SUCCESS" ? /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
20715
- /* @__PURE__ */ d.jsx(Se, { variant: "secondary", onClick: E, children: b({ id: "inviteForm_ctaSendMoreInvites" }) }),
20716
- /* @__PURE__ */ d.jsx(Se, { onClick: k, children: b({ id: "inviteForm_ctaDone" }) })
20717
- ] }) : /* @__PURE__ */ d.jsx(Se, { onClick: E, children: b({ id: "inviteForm_ctaTryAgain" }) }) })
20726
+ /* @__PURE__ */ d.jsx(Te, { variant: "secondary", onClick: E, children: b({ id: "inviteForm_ctaSendMoreInvites" }) }),
20727
+ /* @__PURE__ */ d.jsx(Te, { onClick: k, children: b({ id: "inviteForm_ctaDone" }) })
20728
+ ] }) : /* @__PURE__ */ d.jsx(Te, { onClick: E, children: b({ id: "inviteForm_ctaTryAgain" }) }) })
20718
20729
  ] }) : /* @__PURE__ */ d.jsx("div", { className: "invite-form-wrapper", children: /* @__PURE__ */ d.jsxs(
20719
20730
  "form",
20720
20731
  {
@@ -20739,7 +20750,7 @@ const vC = ({
20739
20750
  getLabel: (x, w, B) => /* @__PURE__ */ d.jsxs("div", { className: "email text-medium", children: [
20740
20751
  /* @__PURE__ */ d.jsx("div", { "data-tag-item": !0, children: x }),
20741
20752
  /* @__PURE__ */ d.jsx(
20742
- Se,
20753
+ Te,
20743
20754
  {
20744
20755
  variant: "tertiary",
20745
20756
  size: "small",
@@ -20756,7 +20767,7 @@ const vC = ({
20756
20767
  )
20757
20768
  ] }),
20758
20769
  /* @__PURE__ */ d.jsx(rn, {}),
20759
- /* @__PURE__ */ d.jsx("fieldset", { className: "footer", children: /* @__PURE__ */ d.jsx(Se, { className: "sendEmailsButton", disabled: p, children: n }) })
20770
+ /* @__PURE__ */ d.jsx("fieldset", { className: "footer", children: /* @__PURE__ */ d.jsx(Te, { className: "sendEmailsButton", disabled: p, children: n }) })
20760
20771
  ]
20761
20772
  }
20762
20773
  ) });
@@ -21346,7 +21357,7 @@ const EC = {
21346
21357
  maxAge: 3600
21347
21358
  });
21348
21359
  }, [w]);
21349
- const R = Ht(() => wC({
21360
+ const I = Ht(() => wC({
21350
21361
  placeholders: n,
21351
21362
  labels: t,
21352
21363
  shouldShow: g,
@@ -21356,7 +21367,7 @@ const EC = {
21356
21367
  dispatch: b,
21357
21368
  dataToSubmit: s,
21358
21369
  intl: l
21359
- }), [s, r, l, N, g, f]), I = x ? !0 : k ? !Object.values(v).every((_) => _ === !0) : !v.name || !v.email || ["exists", "pending", "verify"].includes(E.boxType);
21370
+ }), [s, r, l, N, g, f]), R = x ? !0 : k ? !Object.values(v).every((_) => _ === !0) : !v.name || !v.email || ["exists", "pending", "verify"].includes(E.boxType);
21360
21371
  return g.successMessage && w ? /* @__PURE__ */ d.jsx(CC, { className: e }) : /* @__PURE__ */ d.jsxs(
21361
21372
  "fieldset",
21362
21373
  {
@@ -21377,13 +21388,13 @@ const EC = {
21377
21388
  className: "signup-form",
21378
21389
  formRef: N.form,
21379
21390
  id: "sign-up-form",
21380
- fields: R,
21391
+ fields: I,
21381
21392
  intlPath: "signup",
21382
21393
  button: {
21383
21394
  variant: "primary",
21384
21395
  size: "medium",
21385
21396
  text: a || l.formatMessage({ id: "signup_button_join" }),
21386
- disabled: I ? { isClickable: !0 } : !1,
21397
+ disabled: R ? { isClickable: !0 } : !1,
21387
21398
  styling: { fullWidth: !0 },
21388
21399
  "data-testid": "signup-button"
21389
21400
  },
@@ -21487,7 +21498,7 @@ const _C = ({
21487
21498
  return /* @__PURE__ */ d.jsxs(Kt, { variant: "muted", icon: e, children: [
21488
21499
  /* @__PURE__ */ d.jsx("p", { children: t || s({ id: `${Hs}placeholder_description` }) }),
21489
21500
  i && /* @__PURE__ */ d.jsx("p", { children: /* @__PURE__ */ d.jsx(
21490
- Se,
21501
+ Te,
21491
21502
  {
21492
21503
  href: r,
21493
21504
  variant: "secondary",
@@ -21562,7 +21573,7 @@ const _C = ({
21562
21573
  /* @__PURE__ */ d.jsxs("div", { className: Y("edit-section-header", { "no-title": !s }), children: [
21563
21574
  s && /* @__PURE__ */ d.jsx("h2", { className: "edit-section-header-title", children: a }),
21564
21575
  f && /* @__PURE__ */ d.jsx(
21565
- Se,
21576
+ Te,
21566
21577
  {
21567
21578
  href: i,
21568
21579
  variant: "tertiary",
@@ -22209,7 +22220,7 @@ const er = "footer_", Vi = "SiteFooter", gc = ({ group: e }) => {
22209
22220
  ...b,
22210
22221
  children: [
22211
22222
  p ? ae.createElement(
22212
- c ? Se : "a",
22223
+ c ? Te : "a",
22213
22224
  p,
22214
22225
  s.formatMessage({ id: m })
22215
22226
  ) : n && o.order && g ? /* @__PURE__ */ d.jsxs("button", { ...E, children: [
@@ -22826,9 +22837,9 @@ const nt = "discussion_form_", ca = ({
22826
22837
  showTitle: T = !1,
22827
22838
  showGuidelines: L = !0,
22828
22839
  showDivider: N = !1,
22829
- showSuccessMessage: R = !0
22840
+ showSuccessMessage: I = !0
22830
22841
  } = r || {}, {
22831
- onChange: I = () => {
22842
+ onChange: R = () => {
22832
22843
  },
22833
22844
  create: _ = () => {
22834
22845
  },
@@ -22861,7 +22872,7 @@ const nt = "discussion_form_", ca = ({
22861
22872
  }
22862
22873
  );
22863
22874
  const M = (Oe) => {
22864
- z({ ...D, body: Oe }), I({ body: Oe });
22875
+ z({ ...D, body: Oe }), R({ body: Oe });
22865
22876
  let je;
22866
22877
  !h || !h.id ? je = Nt(
22867
22878
  p.formatMessage,
@@ -22993,7 +23004,7 @@ const nt = "discussion_form_", ca = ({
22993
23004
  placeholder: p.formatMessage({ id: `${nt}titleField_placeholder` }),
22994
23005
  functions: {
22995
23006
  onChange: (Oe) => {
22996
- z({ ...D, title: Oe }), I({ title: Oe });
23007
+ z({ ...D, title: Oe }), R({ title: Oe });
22997
23008
  }
22998
23009
  },
22999
23010
  validation: [
@@ -23071,7 +23082,7 @@ const nt = "discussion_form_", ca = ({
23071
23082
  ]
23072
23083
  }
23073
23084
  ),
23074
- A === "submitted" && R && /* @__PURE__ */ d.jsx(ji, { className: "success", "data-testid": "success", children: Nt(p.formatMessage, `${nt}success`, t.type, "action") }),
23085
+ A === "submitted" && I && /* @__PURE__ */ d.jsx(ji, { className: "success", "data-testid": "success", children: Nt(p.formatMessage, `${nt}success`, t.type, "action") }),
23075
23086
  Z && /* @__PURE__ */ d.jsx(ji, { id: "error-message", className: "error", "data-testid": "error", children: o.error ? o.error : typeof Z == "string" ? Z.includes(" ") ? Z : p.formatMessage(
23076
23087
  { id: Z },
23077
23088
  {
@@ -23100,7 +23111,7 @@ const Yi = ({
23100
23111
  className: t = "",
23101
23112
  ...n
23102
23113
  }) => /* @__PURE__ */ d.jsx(
23103
- Se,
23114
+ Te,
23104
23115
  {
23105
23116
  className: Y("discussion-button", t),
23106
23117
  variant: "tertiary",
@@ -23247,11 +23258,11 @@ const IC = ({
23247
23258
  T.preventDefault(), T.stopPropagation(), B(), p([{ type: "showLikers", value: !0 }]);
23248
23259
  const L = (N = T.currentTarget.nextSibling) == null ? void 0 : N.childNodes[0];
23249
23260
  if (L) {
23250
- const R = L.querySelector(
23261
+ const I = L.querySelector(
23251
23262
  "li:first-child a"
23252
23263
  );
23253
- R && (p([{ type: "tabbableLink", value: 0 }]), setTimeout(() => {
23254
- R.focus();
23264
+ I && (p([{ type: "tabbableLink", value: 0 }]), setTimeout(() => {
23265
+ I.focus();
23255
23266
  }, 100));
23256
23267
  }
23257
23268
  },
@@ -23283,16 +23294,16 @@ const IC = ({
23283
23294
  href: T.id ? `/profiles/${T.id}` : void 0,
23284
23295
  gtmContext: "Likes",
23285
23296
  gtmType: "liked-name-click",
23286
- onClick: (R) => R == null ? void 0 : R.stopPropagation(),
23297
+ onClick: (I) => I == null ? void 0 : I.stopPropagation(),
23287
23298
  onFocus: () => B(),
23288
- onKeyDown: (R) => {
23299
+ onKeyDown: (I) => {
23289
23300
  var $, U, K, G;
23290
- if (!R || !["ArrowUp", "ArrowDown"].includes(R.key || ""))
23301
+ if (!I || !["ArrowUp", "ArrowDown"].includes(I.key || ""))
23291
23302
  return;
23292
- R.stopPropagation(), R.preventDefault();
23293
- const I = R.key === "ArrowUp" ? "up" : "down", _ = ($ = R.currentTarget) == null ? void 0 : $.parentElement;
23303
+ I.stopPropagation(), I.preventDefault();
23304
+ const R = I.key === "ArrowUp" ? "up" : "down", _ = ($ = I.currentTarget) == null ? void 0 : $.parentElement;
23294
23305
  let F = _ == null ? void 0 : _.nextElementSibling;
23295
- if (I === "up") {
23306
+ if (R === "up") {
23296
23307
  const re = _ == null ? void 0 : _.previousElementSibling;
23297
23308
  re ? F = re : (F = (U = _ == null ? void 0 : _.parentElement) == null ? void 0 : U.lastElementChild, (F == null ? void 0 : F.getAttribute("data-index")) === "-1" && (F = F == null ? void 0 : F.previousElementSibling));
23298
23309
  } else
@@ -23424,9 +23435,9 @@ const da = ({
23424
23435
  } = o.content || {}, { createLike: B = () => {
23425
23436
  }, deleteLike: T = () => {
23426
23437
  } } = o.likes || {}, { openComments: L = () => {
23427
- } } = o.comments || {}, { listMembers: N = () => Promise.resolve([]), clickMentionFallback: R = () => {
23438
+ } } = o.comments || {}, { listMembers: N = () => Promise.resolve([]), clickMentionFallback: I = () => {
23428
23439
  } } = o.mentions || {}, {
23429
- author: I,
23440
+ author: R,
23430
23441
  canLike: _,
23431
23442
  createdAt: F,
23432
23443
  id: S,
@@ -23434,7 +23445,7 @@ const da = ({
23434
23445
  userLiked: U,
23435
23446
  comments: K = 0,
23436
23447
  mentions: G
23437
- } = t, re = v && v.id && typeof I != "string" && I.id && I.id === v.id || !1, D = typeof _ == "boolean" ? _ : !0, z = re && (!t.createdAt || Nh(t.createdAt, 10, "seconds")), Z = ke(null), [C, A] = ue({
23448
+ } = t, re = v && v.id && typeof R != "string" && R.id && R.id === v.id || !1, D = typeof _ == "boolean" ? _ : !0, z = re && (!t.createdAt || Nh(t.createdAt, 10, "seconds")), Z = ke(null), [C, A] = ue({
23438
23449
  title: t && t.body !== t.title && t.title || "",
23439
23450
  body: t && t.body || "",
23440
23451
  isEditing: !1,
@@ -23602,9 +23613,9 @@ const da = ({
23602
23613
  /* @__PURE__ */ d.jsx(
23603
23614
  gn,
23604
23615
  {
23605
- member: I,
23616
+ member: R,
23606
23617
  additionalContent: { createdAt: F, didEdit: C.didEdit },
23607
- className: typeof I != "string" && I.id === a ? "highlighted" : "",
23618
+ className: typeof R != "string" && R.id === a ? "highlighted" : "",
23608
23619
  gtmContext: c,
23609
23620
  gtmType: "profile-click"
23610
23621
  }
@@ -23643,7 +23654,7 @@ const da = ({
23643
23654
  ie(""), A({ ...C, isEditing: !1 });
23644
23655
  },
23645
23656
  listMembers: N,
23646
- clickMentionFallback: R
23657
+ clickMentionFallback: I
23647
23658
  },
23648
23659
  gtmContext: `${c}Form`,
23649
23660
  data: { mentions: t.mentions }
@@ -24727,7 +24738,7 @@ const q_ = ({
24727
24738
  fetchNextPage: v,
24728
24739
  hasNextPage: E,
24729
24740
  isLoading: k,
24730
- mutations: { create: x, edit: w, remove: B, like: T, unlike: L, pin: N, unpin: R }
24741
+ mutations: { create: x, edit: w, remove: B, like: T, unlike: L, pin: N, unpin: I }
24731
24742
  } = oE({
24732
24743
  queryKey: [e, t, "activities", m],
24733
24744
  queryFns: i,
@@ -24738,7 +24749,7 @@ const q_ = ({
24738
24749
  h.concat(u)
24739
24750
  );
24740
24751
  }, [u]);
24741
- const [I, _] = ue(null), F = () => {
24752
+ const [R, _] = ue(null), F = () => {
24742
24753
  _(f.length), v();
24743
24754
  };
24744
24755
  return Jf(), b ? /* @__PURE__ */ d.jsx(Rn, { variant: "error", text: b.message }) : /* @__PURE__ */ d.jsxs("section", { children: [
@@ -24875,13 +24886,13 @@ const q_ = ({
24875
24886
  pins: {
24876
24887
  createPin: () => N({ activityId: U }),
24877
24888
  // there will only ever be one pin so we can just grab the first one
24878
- deletePin: () => R({ activityId: U, reactionId: G == null ? void 0 : G.pin[0].id })
24889
+ deletePin: () => I({ activityId: U, reactionId: G == null ? void 0 : G.pin[0].id })
24879
24890
  },
24880
24891
  mentions: a
24881
24892
  },
24882
24893
  isTruncated: !0,
24883
24894
  styling: { showShareLinkButton: !0 },
24884
- setFocus: $ === I,
24895
+ setFocus: $ === R,
24885
24896
  userHasOwnerPermissions: r
24886
24897
  }
24887
24898
  ) }, U);
@@ -25668,7 +25679,7 @@ const BE = ({
25668
25679
  const [E, k] = ue(!0);
25669
25680
  return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
25670
25681
  (l == null ? void 0 : l.length) >= o && /* @__PURE__ */ d.jsx(
25671
- Se,
25682
+ Te,
25672
25683
  {
25673
25684
  className: "nested-replies-show-toggle",
25674
25685
  variant: "secondary",
@@ -25720,10 +25731,10 @@ const BE = ({
25720
25731
  latest_children: T,
25721
25732
  children_counts: L,
25722
25733
  data: { mentioned_users: N }
25723
- } = x, I = (((G = B == null ? void 0 : B.like) == null ? void 0 : G.length) || 0) > 0 ? (re = B == null ? void 0 : B.like) == null ? void 0 : re.find((ie) => {
25734
+ } = x, R = (((G = B == null ? void 0 : B.like) == null ? void 0 : G.length) || 0) > 0 ? (re = B == null ? void 0 : B.like) == null ? void 0 : re.find((ie) => {
25724
25735
  var ce;
25725
25736
  return ((ce = ie == null ? void 0 : ie.user) == null ? void 0 : ce.id) === (v == null ? void 0 : v.id);
25726
- }) : !1, _ = I ? I == null ? void 0 : I.id : "", F = !!I, $ = (((D = T == null ? void 0 : T.like) == null ? void 0 : D.length) || 0) > 0 ? (z = T == null ? void 0 : T.like) == null ? void 0 : z.map((ie) => {
25737
+ }) : !1, _ = R ? R == null ? void 0 : R.id : "", F = !!R, $ = (((D = T == null ? void 0 : T.like) == null ? void 0 : D.length) || 0) > 0 ? (z = T == null ? void 0 : T.like) == null ? void 0 : z.map((ie) => {
25727
25738
  var ce, Q, be;
25728
25739
  return {
25729
25740
  id: (ce = ie == null ? void 0 : ie.user) == null ? void 0 : ce.id,
@@ -25846,12 +25857,12 @@ const FE = ({
25846
25857
  c == null ? void 0 : c.map((L, N) => {
25847
25858
  var C, A, P, M, W, te, ee, ie, ce, Q, be, pe;
25848
25859
  const {
25849
- id: R,
25850
- own_children: I,
25860
+ id: I,
25861
+ own_children: R,
25851
25862
  latest_children: _,
25852
25863
  children_counts: F,
25853
25864
  data: { mentioned_users: S }
25854
- } = L, U = (((C = I == null ? void 0 : I.like) == null ? void 0 : C.length) || 0) > 0 ? (A = I == null ? void 0 : I.like) == null ? void 0 : A.find((ve) => {
25865
+ } = L, U = (((C = R == null ? void 0 : R.like) == null ? void 0 : C.length) || 0) > 0 ? (A = R == null ? void 0 : R.like) == null ? void 0 : A.find((ve) => {
25855
25866
  var Ee;
25856
25867
  return ((Ee = ve == null ? void 0 : ve.user) == null ? void 0 : Ee.id) === (x == null ? void 0 : x.id);
25857
25868
  }) : !1, K = U ? U == null ? void 0 : U.id : "", G = !!U, D = (((P = _ == null ? void 0 : _.like) == null ? void 0 : P.length) || 0) > 0 ? (M = _ == null ? void 0 : _.like) == null ? void 0 : M.map((ve) => {
@@ -25869,7 +25880,7 @@ const FE = ({
25869
25880
  {
25870
25881
  isCommunity: !0,
25871
25882
  content: {
25872
- id: R,
25883
+ id: I,
25873
25884
  type: "reply",
25874
25885
  body: Z,
25875
25886
  canLike: r,
@@ -25877,9 +25888,9 @@ const FE = ({
25877
25888
  slugs: {
25878
25889
  question: `${e}/${t}`,
25879
25890
  answer: n,
25880
- reply: R
25891
+ reply: I
25881
25892
  },
25882
- slug: R,
25893
+ slug: I,
25883
25894
  author: {
25884
25895
  id: z == null ? void 0 : z.id,
25885
25896
  name: (ie = z.data) == null ? void 0 : ie.name,
@@ -25898,13 +25909,13 @@ const FE = ({
25898
25909
  functions: {
25899
25910
  content: {
25900
25911
  createContent: () => null,
25901
- deleteContent: () => E({ replyId: R }),
25912
+ deleteContent: () => E({ replyId: I }),
25902
25913
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
25903
- updateContent: (ve, { body: Ee }) => b({ replyId: R, content: Ee })
25914
+ updateContent: (ve, { body: Ee }) => b({ replyId: I, content: Ee })
25904
25915
  },
25905
25916
  likes: {
25906
- createLike: () => v({ replyId: R }),
25907
- deleteLike: () => k({ replyId: R, reactionId: K })
25917
+ createLike: () => v({ replyId: I }),
25918
+ deleteLike: () => k({ replyId: I, reactionId: K })
25908
25919
  },
25909
25920
  comments: {},
25910
25921
  mentions: a
@@ -25915,7 +25926,7 @@ const FE = ({
25915
25926
  basePath: e,
25916
25927
  parentId: t,
25917
25928
  activityId: n,
25918
- replyId: R,
25929
+ replyId: I,
25919
25930
  isMember: r,
25920
25931
  functions: {
25921
25932
  ...i,
@@ -25926,8 +25937,8 @@ const FE = ({
25926
25937
  styling: { showShareLinkButton: !0 },
25927
25938
  setFocus: N === B
25928
25939
  },
25929
- R
25930
- ) }, R);
25940
+ I
25941
+ ) }, I);
25931
25942
  }),
25932
25943
  !g && /* @__PURE__ */ d.jsx(
25933
25944
  na,
@@ -26094,7 +26105,7 @@ const U_ = ({
26094
26105
  text: p.formatMessage({ id: "activitySection_notFoundError" })
26095
26106
  }
26096
26107
  );
26097
- const { own_reactions: w, latest_reactions: B, mentioned_users: T } = h, L = (((F = B == null ? void 0 : B.like) == null ? void 0 : F.length) || 0) > 0, N = (((S = w == null ? void 0 : w.like) == null ? void 0 : S.length) || 0) > 0, R = N ? w == null ? void 0 : w.like[0].id : "", I = L ? ($ = B == null ? void 0 : B.like) == null ? void 0 : $.map((P) => {
26108
+ const { own_reactions: w, latest_reactions: B, mentioned_users: T } = h, L = (((F = B == null ? void 0 : B.like) == null ? void 0 : F.length) || 0) > 0, N = (((S = w == null ? void 0 : w.like) == null ? void 0 : S.length) || 0) > 0, I = N ? w == null ? void 0 : w.like[0].id : "", R = L ? ($ = B == null ? void 0 : B.like) == null ? void 0 : $.map((P) => {
26098
26109
  var M, W, te;
26099
26110
  return {
26100
26111
  id: (M = P == null ? void 0 : P.user) == null ? void 0 : M.id,
@@ -26132,7 +26143,7 @@ const U_ = ({
26132
26143
  userLiked: N,
26133
26144
  likes: ((z = h == null ? void 0 : h.reaction_counts) == null ? void 0 : z.like) || 0,
26134
26145
  comments: ((Z = h == null ? void 0 : h.reaction_counts) == null ? void 0 : Z.reply) || 0,
26135
- peopleWhoLiked: I,
26146
+ peopleWhoLiked: R,
26136
26147
  mentions: T,
26137
26148
  pinned: ((C = h == null ? void 0 : h.reaction_counts) == null ? void 0 : C.pin) && ((A = h == null ? void 0 : h.reaction_counts) == null ? void 0 : A.pin) > 0 || !1
26138
26149
  },
@@ -26147,7 +26158,7 @@ const U_ = ({
26147
26158
  },
26148
26159
  likes: {
26149
26160
  createLike: () => v({ activityId: n }),
26150
- deleteLike: () => E({ activityId: n, reactionId: R })
26161
+ deleteLike: () => E({ activityId: n, reactionId: I })
26151
26162
  },
26152
26163
  comments: {
26153
26164
  openComments: () => {
@@ -26597,7 +26608,7 @@ const LE = [
26597
26608
  }),
26598
26609
  l,
26599
26610
  h && /* @__PURE__ */ d.jsx(
26600
- Se,
26611
+ Te,
26601
26612
  {
26602
26613
  variant: n || ["light", "subtle"].includes(r) ? "primary" : "secondary",
26603
26614
  size: { mobile: "medium", 768: "large" },
@@ -26696,7 +26707,7 @@ const X_ = ({
26696
26707
  n && /* @__PURE__ */ d.jsx("p", { className: "title", children: n }),
26697
26708
  r && /* @__PURE__ */ d.jsx("p", { children: r }),
26698
26709
  t && /* @__PURE__ */ d.jsx(
26699
- Se,
26710
+ Te,
26700
26711
  {
26701
26712
  variant: "secondary",
26702
26713
  size: "medium",
@@ -26857,7 +26868,7 @@ const X_ = ({
26857
26868
  ) : null;
26858
26869
  if (p === "people")
26859
26870
  return n ? /* @__PURE__ */ d.jsx(
26860
- Se,
26871
+ Te,
26861
26872
  {
26862
26873
  variant: "tertiary",
26863
26874
  size: "small",
@@ -26888,7 +26899,7 @@ const X_ = ({
26888
26899
  "has-member-section": e == null ? void 0 : e.members
26889
26900
  }),
26890
26901
  children: /* @__PURE__ */ d.jsx(
26891
- Se,
26902
+ Te,
26892
26903
  {
26893
26904
  onClick: E,
26894
26905
  className: "gtm-trackable",
@@ -26949,7 +26960,7 @@ const eh = ({
26949
26960
  handleCardClick: o,
26950
26961
  setFocus: l = !1
26951
26962
  }) => {
26952
- var I, _;
26963
+ var R, _;
26953
26964
  const u = le(), c = qe(Bt), m = !!(c != null && c.id), p = ae.useRef(null), [h, g] = ue({
26954
26965
  data: null,
26955
26966
  isLoading: !0
@@ -26987,14 +26998,14 @@ const eh = ({
26987
26998
  const T = (F) => {
26988
26999
  B && (F.preventDefault(), F.stopPropagation(), window.location.href = B);
26989
27000
  }, L = { ...UE, ...x };
26990
- let N = { className: "card" }, R = {};
26991
- return B && (R = {
27001
+ let N = { className: "card" }, I = {};
27002
+ return B && (I = {
26992
27003
  href: B,
26993
27004
  className: "gtm-trackable",
26994
27005
  "data-gtm-event-context": `${s}-CarouselCard`,
26995
27006
  "data-gtm-event-type": `${w}-click`,
26996
27007
  "data-testid": "link"
26997
- }, f.openInNewTab && (R.target = "_blank"), N = {
27008
+ }, f.openInNewTab && (I.target = "_blank"), N = {
26998
27009
  onClick: T,
26999
27010
  className: "card gtm-trackable",
27000
27011
  "data-gtm-event-context": `${s}-CarouselCard`,
@@ -27002,7 +27013,7 @@ const eh = ({
27002
27013
  }), l && (N = {
27003
27014
  ...N,
27004
27015
  tabIndex: "0"
27005
- }, (I = p == null ? void 0 : p.current) == null || I.focus(), (_ = p == null ? void 0 : p.current) == null || _.scrollIntoView({ behavior: "smooth" })), /* @__PURE__ */ d.jsx(
27016
+ }, (R = p == null ? void 0 : p.current) == null || R.focus(), (_ = p == null ? void 0 : p.current) == null || _.scrollIntoView({ behavior: "smooth" })), /* @__PURE__ */ d.jsx(
27006
27017
  "li",
27007
27018
  {
27008
27019
  className: Y("card-wrapper text-medium", k, t, {
@@ -27076,7 +27087,7 @@ const eh = ({
27076
27087
  S,
27077
27088
  L[F]
27078
27089
  );
27079
- return ["title", "text"].includes(F) && B ? (K.wrapper = "a", /* @__PURE__ */ d.jsx("p", { ...U, children: /* @__PURE__ */ d.jsx(Vt, { options: K, ...R, children: G }) })) : /* @__PURE__ */ d.jsx(Vt, { options: K, ...U, children: G });
27090
+ return ["title", "text"].includes(F) && B ? (K.wrapper = "a", /* @__PURE__ */ d.jsx("p", { ...U, children: /* @__PURE__ */ d.jsx(Vt, { options: K, ...I, children: G }) })) : /* @__PURE__ */ d.jsx(Vt, { options: K, ...U, children: G });
27080
27091
  }),
27081
27092
  i.contentType === "communityPage" && (i.slug || f.slug) && r && /* @__PURE__ */ d.jsx(
27082
27093
  VE,
@@ -27202,7 +27213,7 @@ const GE = ({
27202
27213
  return;
27203
27214
  const F = _.touches[0].clientX, S = yi - F;
27204
27215
  S > 5 ? T("next") : S < -5 && T("previous"), yi = null;
27205
- }, R = {
27216
+ }, I = {
27206
27217
  "--width": `${B || 0}px`,
27207
27218
  "--total-cards": k,
27208
27219
  "--cards-per-page": m,
@@ -27210,7 +27221,7 @@ const GE = ({
27210
27221
  };
27211
27222
  if (p)
27212
27223
  return /* @__PURE__ */ d.jsx(Hc, { layout: `carousel${i ? "-with-title" : ""}` });
27213
- const I = (_, F) => {
27224
+ const R = (_, F) => {
27214
27225
  var $;
27215
27226
  let S = null;
27216
27227
  return ($ = _ == null ? void 0 : _.sys) != null && $.id ? S = `card-${_.sys.id}` : _ != null && _.slug ? S = `card-${_.slug}` : [n[F], _.contentType].includes("customCard") && (S = `card-${window.btoa(`${_.title} ${_.createdAt}`)}-${F}`), S;
@@ -27229,10 +27240,10 @@ const GE = ({
27229
27240
  className: "carousel",
27230
27241
  onTouchStart: L,
27231
27242
  onTouchMove: N,
27232
- style: R,
27243
+ style: I,
27233
27244
  "data-testid": "carousel-list",
27234
27245
  children: t.map((_, F) => {
27235
- let S = I(_, F);
27246
+ let S = R(_, F);
27236
27247
  return S && ZE(F, m, f, b) ? /* @__PURE__ */ d.jsx(
27237
27248
  eh,
27238
27249
  {
@@ -27258,7 +27269,7 @@ const GE = ({
27258
27269
  x <= 1 ? null : /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
27259
27270
  /* @__PURE__ */ d.jsxs("ul", { className: "controls", "data-testid": "carousel-controls", children: [
27260
27271
  /* @__PURE__ */ d.jsx("li", { className: "arrow previous", children: /* @__PURE__ */ d.jsx(
27261
- Se,
27272
+ Te,
27262
27273
  {
27263
27274
  variant: "secondary",
27264
27275
  size: "large",
@@ -27295,7 +27306,7 @@ const GE = ({
27295
27306
  `page-indicator-${F}`
27296
27307
  )),
27297
27308
  /* @__PURE__ */ d.jsx("li", { className: "arrow next", children: /* @__PURE__ */ d.jsx(
27298
- Se,
27309
+ Te,
27299
27310
  {
27300
27311
  variant: "secondary",
27301
27312
  size: "large",
@@ -27475,8 +27486,8 @@ const nk = ({
27475
27486
  title: T,
27476
27487
  type: L
27477
27488
  }) => {
27478
- const N = i && t || k, R = {};
27479
- return E && (R.style = { "--image": `url(${E})` }), /* @__PURE__ */ d.jsx(
27489
+ const N = i && t || k, I = {};
27490
+ return E && (I.style = { "--image": `url(${E})` }), /* @__PURE__ */ d.jsx(
27480
27491
  "li",
27481
27492
  {
27482
27493
  className: Y({
@@ -27486,7 +27497,7 @@ const nk = ({
27486
27497
  completed: g && b === Jr.ARTICLE,
27487
27498
  locked: !N
27488
27499
  }),
27489
- ...R,
27500
+ ...I,
27490
27501
  children: /* @__PURE__ */ d.jsx(
27491
27502
  Mn,
27492
27503
  {
@@ -27535,7 +27546,7 @@ const rk = ({
27535
27546
  }) => {
27536
27547
  const r = le();
27537
27548
  return n["data-gtm-event-context"] || (n["data-gtm-event-context"] = "LessonIntroduction"), /* @__PURE__ */ d.jsx(
27538
- Se,
27549
+ Te,
27539
27550
  {
27540
27551
  ...n,
27541
27552
  variant: "tertiary",
@@ -27625,7 +27636,7 @@ const Di = "notFoundError_", ak = () => {
27625
27636
  })
27626
27637
  }
27627
27638
  ),
27628
- /* @__PURE__ */ d.jsx(Se, { href: "/solution-articles/", children: e.formatMessage({ id: `${Di}cta` }) })
27639
+ /* @__PURE__ */ d.jsx(Te, { href: "/solution-articles/", children: e.formatMessage({ id: `${Di}cta` }) })
27629
27640
  ] })
27630
27641
  },
27631
27642
  reportError: () => {
@@ -27647,7 +27658,7 @@ export {
27647
27658
  G_ as BannerSection,
27648
27659
  k_ as Breadcrumbs,
27649
27660
  x_ as Buckets,
27650
- Se as Button,
27661
+ Te as Button,
27651
27662
  Kr as ButtonWrapper,
27652
27663
  Jr as COURSE_CONTENT_TYPES,
27653
27664
  mm as CacheProvider,