@apolitical/component-library 5.3.4-SW.1 → 5.3.4-SW.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 (3) hide show
  1. package/index.js +1 -1
  2. package/index.mjs +540 -536
  3. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import te, { memo as Jt, useState as ue, useEffect as de, useRef as ke, useMemo as Zt, forwardRef as Ys, Children as vs, createContext as kt, useContext as $e, useCallback as Re, lazy as fr, useReducer as hr, useLayoutEffect as ph, Component as gh, Fragment as Lr, Suspense as Sc } from "react";
1
+ import te, { memo as Jt, useState as ue, useEffect as de, useRef as ke, useMemo as Zt, forwardRef as Ys, Children as vs, createContext as kt, useContext as Ie, useCallback as Re, lazy as fr, useReducer as hr, useLayoutEffect as ph, Component as gh, Fragment as Lr, Suspense as Sc } from "react";
2
2
  import { useIntl as ce, FormattedMessage as ht, IntlProvider as vh, createIntl as bh } from "react-intl";
3
3
  import An from "lodash.clonedeep";
4
4
  import yh from "lodash.set";
@@ -148,8 +148,8 @@ function Sh() {
148
148
  }
149
149
  function E(N, ae, fe) {
150
150
  {
151
- var Ce = v.ReactDebugCurrentFrame, Ie = Ce.getStackAddendum();
152
- Ie !== "" && (ae += "%s", fe = fe.concat([Ie]));
151
+ var Ce = v.ReactDebugCurrentFrame, $e = Ce.getStackAddendum();
152
+ $e !== "" && (ae += "%s", fe = fe.concat([$e]));
153
153
  var Ve = fe.map(function(Me) {
154
154
  return String(Me);
155
155
  });
@@ -165,12 +165,12 @@ function Sh() {
165
165
  // with.
166
166
  N.$$typeof === O || N.getModuleId !== void 0));
167
167
  }
168
- function $(N, ae, fe) {
168
+ function I(N, ae, fe) {
169
169
  var Ce = N.displayName;
170
170
  if (Ce)
171
171
  return Ce;
172
- var Ie = ae.displayName || ae.name || "";
173
- return Ie !== "" ? fe + "(" + Ie + ")" : fe;
172
+ var $e = ae.displayName || ae.name || "";
173
+ return $e !== "" ? fe + "(" + $e + ")" : fe;
174
174
  }
175
175
  function A(N) {
176
176
  return N.displayName || "Context";
@@ -205,12 +205,12 @@ function Sh() {
205
205
  var fe = N;
206
206
  return A(fe._context) + ".Provider";
207
207
  case l:
208
- return $(N, N.render, "ForwardRef");
208
+ return I(N, N.render, "ForwardRef");
209
209
  case h:
210
210
  var Ce = N.displayName || null;
211
211
  return Ce !== null ? Ce : _(N.type) || "Memo";
212
212
  case m: {
213
- var Ie = N, Ve = Ie._payload, Me = Ie._init;
213
+ var $e = N, Ve = $e._payload, Me = $e._init;
214
214
  try {
215
215
  return _(Me(Ve));
216
216
  } catch {
@@ -220,14 +220,14 @@ function Sh() {
220
220
  }
221
221
  return null;
222
222
  }
223
- var T = Object.assign, R = 0, W, U, ne, re, x, I, ie;
223
+ var T = Object.assign, R = 0, W, U, ne, re, x, $, ie;
224
224
  function F() {
225
225
  }
226
226
  F.__reactDisabledLog = !0;
227
227
  function k() {
228
228
  {
229
229
  if (R === 0) {
230
- W = console.log, U = console.info, ne = console.warn, re = console.error, x = console.group, I = console.groupCollapsed, ie = console.groupEnd;
230
+ W = console.log, U = console.info, ne = console.warn, re = console.error, x = console.group, $ = console.groupCollapsed, ie = console.groupEnd;
231
231
  var N = {
232
232
  configurable: !0,
233
233
  enumerable: !0,
@@ -272,7 +272,7 @@ function Sh() {
272
272
  value: x
273
273
  }),
274
274
  groupCollapsed: T({}, N, {
275
- value: I
275
+ value: $
276
276
  }),
277
277
  groupEnd: T({}, N, {
278
278
  value: ie
@@ -288,8 +288,8 @@ function Sh() {
288
288
  if (q === void 0)
289
289
  try {
290
290
  throw Error();
291
- } catch (Ie) {
292
- var Ce = Ie.stack.trim().match(/\n( *(at )?)/);
291
+ } catch ($e) {
292
+ var Ce = $e.stack.trim().match(/\n( *(at )?)/);
293
293
  q = Ce && Ce[1] || "";
294
294
  }
295
295
  return `
@@ -311,7 +311,7 @@ function Sh() {
311
311
  }
312
312
  var Ce;
313
313
  H = !0;
314
- var Ie = Error.prepareStackTrace;
314
+ var $e = Error.prepareStackTrace;
315
315
  Error.prepareStackTrace = void 0;
316
316
  var Ve;
317
317
  Ve = j.current, j.current = null, k();
@@ -367,7 +367,7 @@ function Sh() {
367
367
  }
368
368
  }
369
369
  } finally {
370
- H = !1, j.current = Ve, P(), Error.prepareStackTrace = Ie;
370
+ H = !1, j.current = Ve, P(), Error.prepareStackTrace = $e;
371
371
  }
372
372
  var Hn = N ? N.displayName || N.name : "", Vo = Hn ? J(Hn) : "";
373
373
  return typeof N == "function" && ee.set(N, Vo), Vo;
@@ -399,9 +399,9 @@ function Sh() {
399
399
  case h:
400
400
  return Fe(N.type, ae, fe);
401
401
  case m: {
402
- var Ce = N, Ie = Ce._payload, Ve = Ce._init;
402
+ var Ce = N, $e = Ce._payload, Ve = Ce._init;
403
403
  try {
404
- return Fe(Ve(Ie), ae, fe);
404
+ return Fe(Ve($e), ae, fe);
405
405
  } catch {
406
406
  }
407
407
  }
@@ -416,7 +416,7 @@ function Sh() {
416
416
  } else
417
417
  We.setExtraStackFrame(null);
418
418
  }
419
- function Qe(N, ae, fe, Ce, Ie) {
419
+ function Qe(N, ae, fe, Ce, $e) {
420
420
  {
421
421
  var Ve = Function.call.bind(Ne);
422
422
  for (var Me in N)
@@ -431,7 +431,7 @@ function Sh() {
431
431
  } catch (tt) {
432
432
  Pe = tt;
433
433
  }
434
- Pe && !(Pe instanceof Error) && (Ge(Ie), w("%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).", Ce || "React class", fe, Me, typeof Pe), Ge(null)), Pe instanceof Error && !(Pe.message in Te) && (Te[Pe.message] = !0, Ge(Ie), w("Failed %s type: %s", fe, Pe.message), Ge(null));
434
+ Pe && !(Pe instanceof Error) && (Ge($e), w("%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).", Ce || "React class", fe, Me, typeof Pe), Ge(null)), Pe instanceof Error && !(Pe.message in Te) && (Te[Pe.message] = !0, Ge($e), w("Failed %s type: %s", fe, Pe.message), Ge(null));
435
435
  }
436
436
  }
437
437
  }
@@ -510,7 +510,7 @@ function Sh() {
510
510
  });
511
511
  }
512
512
  }
513
- var dt = function(N, ae, fe, Ce, Ie, Ve, Me) {
513
+ var dt = function(N, ae, fe, Ce, $e, Ve, Me) {
514
514
  var Pe = {
515
515
  // This tag allows us to uniquely identify this as a React Element
516
516
  $$typeof: t,
@@ -536,13 +536,13 @@ function Sh() {
536
536
  configurable: !1,
537
537
  enumerable: !1,
538
538
  writable: !1,
539
- value: Ie
539
+ value: $e
540
540
  }), Object.freeze && (Object.freeze(Pe.props), Object.freeze(Pe)), Pe;
541
541
  };
542
- function Wn(N, ae, fe, Ce, Ie) {
542
+ function Wn(N, ae, fe, Ce, $e) {
543
543
  {
544
544
  var Ve, Me = {}, Pe = null, pt = null;
545
- fe !== void 0 && (se(fe), Pe = "" + fe), Oe(ae) && (se(ae.key), Pe = "" + ae.key), xe(ae) && (pt = ae.ref, st(ae, Ie));
545
+ fe !== void 0 && (se(fe), Pe = "" + fe), Oe(ae) && (se(ae.key), Pe = "" + ae.key), xe(ae) && (pt = ae.ref, st(ae, $e));
546
546
  for (Ve in ae)
547
547
  Ne.call(ae, Ve) && !ye.hasOwnProperty(Ve) && (Me[Ve] = ae[Ve]);
548
548
  if (N && N.defaultProps) {
@@ -554,7 +554,7 @@ function Sh() {
554
554
  var at = typeof N == "function" ? N.displayName || N.name || "Unknown" : N;
555
555
  Pe && it(Me, at), pt && At(Me, at);
556
556
  }
557
- return dt(N, Pe, pt, Ie, Ce, pe.current, Me);
557
+ return dt(N, Pe, pt, $e, Ce, pe.current, Me);
558
558
  }
559
559
  }
560
560
  var yr = v.ReactCurrentOwner, ei = v.ReactDebugCurrentFrame;
@@ -631,9 +631,9 @@ Check the top-level render call using <` + fe + ">.");
631
631
  else if (va(N))
632
632
  N._store && (N._store.validated = !0);
633
633
  else if (N) {
634
- var Ie = b(N);
635
- if (typeof Ie == "function" && Ie !== N.entries)
636
- for (var Ve = Ie.call(N), Me; !(Me = Ve.next()).done; )
634
+ var $e = b(N);
635
+ if (typeof $e == "function" && $e !== N.entries)
636
+ for (var Ve = $e.call(N), Me; !(Me = Ve.next()).done; )
637
637
  va(Me.value) && Wo(Me.value, ae);
638
638
  }
639
639
  }
@@ -657,8 +657,8 @@ Check the top-level render call using <` + fe + ">.");
657
657
  Qe(fe, N.props, "prop", Ce, N);
658
658
  } else if (ae.PropTypes !== void 0 && !ga) {
659
659
  ga = !0;
660
- var Ie = _(ae);
661
- w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Ie || "Unknown");
660
+ var $e = _(ae);
661
+ w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", $e || "Unknown");
662
662
  }
663
663
  typeof ae.getDefaultProps == "function" && !ae.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
664
664
  }
@@ -675,18 +675,18 @@ Check the top-level render call using <` + fe + ">.");
675
675
  N.ref !== null && (Un(N), w("Invalid attribute `ref` supplied to `React.Fragment`."), Un(null));
676
676
  }
677
677
  }
678
- function Ho(N, ae, fe, Ce, Ie, Ve) {
678
+ function Ho(N, ae, fe, Ce, $e, Ve) {
679
679
  {
680
680
  var Me = z(N);
681
681
  if (!Me) {
682
682
  var Pe = "";
683
683
  (N === void 0 || typeof N == "object" && N !== null && Object.keys(N).length === 0) && (Pe += " 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
- var pt = oh(Ie);
684
+ var pt = oh($e);
685
685
  pt ? Pe += pt : Pe += zo();
686
686
  var tt;
687
687
  N === null ? tt = "null" : ve(N) ? tt = "array" : N !== void 0 && N.$$typeof === t ? (tt = "<" + (_(N.type) || "Unknown") + " />", Pe = " Did you accidentally export a JSX literal instead of a component?") : tt = typeof N, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", tt, Pe);
688
688
  }
689
- var at = Wn(N, ae, fe, Ie, Ve);
689
+ var at = Wn(N, ae, fe, $e, Ve);
690
690
  if (at == null)
691
691
  return at;
692
692
  if (Me) {
@@ -746,29 +746,29 @@ function Rc(e, t, n) {
746
746
  }, []);
747
747
  var E = Zt(function() {
748
748
  var B = function(z) {
749
- var $ = o.current, A = l.current;
750
- return o.current = l.current = null, a.current = z, u.current = d.current.apply(A, $);
751
- }, D = function(z, $) {
752
- p && cancelAnimationFrame(s.current), s.current = p ? requestAnimationFrame(z) : setTimeout(z, $);
749
+ var I = o.current, A = l.current;
750
+ return o.current = l.current = null, a.current = z, u.current = d.current.apply(A, I);
751
+ }, D = function(z, I) {
752
+ p && cancelAnimationFrame(s.current), s.current = p ? requestAnimationFrame(z) : setTimeout(z, I);
753
753
  }, C = function(z) {
754
754
  if (!h.current)
755
755
  return !1;
756
- var $ = z - i.current;
757
- return !i.current || $ >= t || $ < 0 || b && z - a.current >= w;
756
+ var I = z - i.current;
757
+ return !i.current || I >= t || I < 0 || b && z - a.current >= w;
758
758
  }, S = function(z) {
759
759
  return s.current = null, f && o.current ? B(z) : (o.current = l.current = null, u.current);
760
760
  }, L = function z() {
761
- var $ = Date.now();
762
- if (C($))
763
- return S($);
761
+ var I = Date.now();
762
+ if (C(I))
763
+ return S(I);
764
764
  if (h.current) {
765
- var A = t - ($ - i.current), _ = b ? Math.min(A, w - ($ - a.current)) : A;
765
+ var A = t - (I - i.current), _ = b ? Math.min(A, w - (I - a.current)) : A;
766
766
  D(z, _);
767
767
  }
768
768
  }, O = function() {
769
769
  if (m || v) {
770
- var z = Date.now(), $ = C(z);
771
- if (o.current = [].slice.call(arguments), l.current = r, i.current = z, $) {
770
+ var z = Date.now(), I = C(z);
771
+ if (o.current = [].slice.call(arguments), l.current = r, i.current = z, I) {
772
772
  if (!s.current && h.current)
773
773
  return a.current = i.current, D(L, t), g ? B(i.current) : u.current;
774
774
  if (b)
@@ -787,7 +787,7 @@ function Rc(e, t, n) {
787
787
  }, [g, b, t, w, f, p, m, v]);
788
788
  return E;
789
789
  }
790
- function $c(e, t, n) {
790
+ function Ic(e, t, n) {
791
791
  var r = n === void 0 ? {} : n, i = r.leading, a = r.trailing;
792
792
  return Rc(e, t, { maxWait: t, leading: i === void 0 || i, trailing: a === void 0 || a });
793
793
  }
@@ -808,7 +808,7 @@ const mr = (e = !0, t = !1, n = "window") => {
808
808
  }, l = ({ detail: d }) => {
809
809
  const { id: h } = d;
810
810
  n === "window" || !n.closest(`#${h}`) || s() === r || o();
811
- }, u = $c(
811
+ }, u = Ic(
812
812
  () => {
813
813
  s() !== r && (t && (clearTimeout(ba), document.body.classList.add("is-resizing"), ba = setTimeout(() => {
814
814
  document.body.classList.remove("is-resizing");
@@ -848,11 +848,11 @@ const mr = (e = !0, t = !1, n = "window") => {
848
848
  return;
849
849
  }
850
850
  Math.abs(m) >= t.up && !s.scrollUp && (r(), o({ scrollUp: !0, scrollDown: !1 }));
851
- }, u = $c(() => {
851
+ }, u = Ic(() => {
852
852
  l();
853
853
  }, 250);
854
854
  return i;
855
- }, Ic = (e = [], t = !0) => {
855
+ }, $c = (e = [], t = !0) => {
856
856
  e = Array.isArray(e) ? e : [e];
857
857
  const n = ke(!1);
858
858
  zr(() => {
@@ -925,10 +925,10 @@ const Yo = {}, pr = Ys(
925
925
  ...S
926
926
  };
927
927
  s && s.onBlur && (z.onBlur = s.onBlur);
928
- const $ = {
928
+ const I = {
929
929
  className: "content"
930
930
  };
931
- return C ? $.className = V("content", { hidden: f === "hidden" }) : $.hidden = f === "hidden", /* @__PURE__ */ c.jsx(
931
+ return C ? I.className = V("content", { hidden: f === "hidden" }) : I.hidden = f === "hidden", /* @__PURE__ */ c.jsx(
932
932
  "aside",
933
933
  {
934
934
  ref: g,
@@ -940,7 +940,7 @@ const Yo = {}, pr = Ys(
940
940
  "has-form": E
941
941
  }),
942
942
  ...z,
943
- children: /* @__PURE__ */ c.jsx("div", { ...$, children: r ? /* @__PURE__ */ c.jsx("p", { children: h.formatMessage({ id: "tooltip_loading" }) }) : typeof i == "string" ? /* @__PURE__ */ c.jsx("p", { children: i }) : i })
943
+ children: /* @__PURE__ */ c.jsx("div", { ...I, children: r ? /* @__PURE__ */ c.jsx("p", { children: h.formatMessage({ id: "tooltip_loading" }) }) : typeof i == "string" ? /* @__PURE__ */ c.jsx("p", { children: i }) : i })
944
944
  }
945
945
  );
946
946
  }
@@ -977,7 +977,7 @@ const Yo = {}, pr = Ys(
977
977
  ARTICLE: "microcourseArticle",
978
978
  DISCUSSION: "microcourseDiscussion",
979
979
  QUIZ: "assessmentQuiz"
980
- }, Go = "SU:", Pi = "DELETED", Rh = "Invalid token error: Logging user out...", P_ = "200,000+", N_ = "160+", Ni = /@{{([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})}}/g, $h = new RegExp("(?<=^|\\s)@([A-Za-z]+(?:[- ]?[A-Za-z]*)*)$");
980
+ }, Go = "SU:", Pi = "DELETED", Rh = "Invalid token error: Logging user out...", P_ = "200,000+", N_ = "160+", Ni = /@{{([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})}}/g, Ih = new RegExp("(?<=^|\\s)@([A-Za-z]+(?:[- ]?[A-Za-z]*)*)$");
981
981
  function M_(e) {
982
982
  return e ? {
983
983
  "--icon": `url(${sn}icons/${e}.svg)`
@@ -994,7 +994,7 @@ const kn = {
994
994
  weeks: 52,
995
995
  days: 365
996
996
  }
997
- }, Ih = (e, t = "en") => new Date(e).toLocaleString(t, { day: "numeric", month: "short" }), Wc = (e, t = "en") => new Date(e).toLocaleString(t, {
997
+ }, $h = (e, t = "en") => new Date(e).toLocaleString(t, { day: "numeric", month: "short" }), Wc = (e, t = "en") => new Date(e).toLocaleString(t, {
998
998
  weekday: "long",
999
999
  day: "numeric",
1000
1000
  month: "short",
@@ -1574,7 +1574,7 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1574
1574
  es: Uh,
1575
1575
  fr: Hh,
1576
1576
  pt: Vh
1577
- }, Symbol.toStringTag, { value: "Module" })), Xs = (e, t = gr) => e in t, $t = (e, t, n, r, i = {}) => {
1577
+ }, Symbol.toStringTag, { value: "Module" })), Xs = (e, t = gr) => e in t, It = (e, t, n, r, i = {}) => {
1578
1578
  let a = "";
1579
1579
  return Xs(`${t}_${n}`) ? a = e({ id: `${t}_${n}` }, i) : a = e({ id: t }, { [r]: n, ...i }), a;
1580
1580
  }, Zh = (e, t, n) => {
@@ -1965,7 +1965,7 @@ const em = Ys(
1965
1965
  __proto__: null,
1966
1966
  default: Qr
1967
1967
  }, Symbol.toStringTag, { value: "Module" }));
1968
- const $_ = ({ currentStep: e = 1, steps: t = 1 }) => /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
1968
+ const I_ = ({ currentStep: e = 1, steps: t = 1 }) => /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
1969
1969
  /* @__PURE__ */ c.jsx(He, { children: /* @__PURE__ */ c.jsx(
1970
1970
  ht,
1971
1971
  {
@@ -1997,7 +1997,7 @@ const $_ = ({ currentStep: e = 1, steps: t = 1 }) => /* @__PURE__ */ c.jsxs(c.Fr
1997
1997
  ] }, r);
1998
1998
  }) }) })
1999
1999
  ] });
2000
- const I_ = ({ elementId: e, offset: t = 20 }) => {
2000
+ const $_ = ({ elementId: e, offset: t = 20 }) => {
2001
2001
  const n = ce(), r = () => {
2002
2002
  const i = document.getElementById(e);
2003
2003
  if (!i)
@@ -2156,7 +2156,7 @@ const Gt = ({
2156
2156
  }
2157
2157
  );
2158
2158
  };
2159
- const $n = ({
2159
+ const In = ({
2160
2160
  variant: e = "empty",
2161
2161
  text: t = !1,
2162
2162
  button: n = !1,
@@ -2552,7 +2552,7 @@ const Ri = ({
2552
2552
  isLoading: !0
2553
2553
  });
2554
2554
  function gm() {
2555
- return $e(Zc);
2555
+ return Ie(Zc);
2556
2556
  }
2557
2557
  const vm = ({ children: e, badges: t }) => /* @__PURE__ */ c.jsx(Zc.Provider, { value: t, children: e }), bm = ({ showDevTools: e = !0, children: t }) => {
2558
2558
  const n = new Dh({
@@ -2579,7 +2579,7 @@ function ym(e) {
2579
2579
  return te.createElement(Yc.Provider, { value: { client: a } }, t);
2580
2580
  }
2581
2581
  var Dm = function() {
2582
- var e = $e(Yc).client;
2582
+ var e = Ie(Yc).client;
2583
2583
  return e;
2584
2584
  };
2585
2585
  function xm(e) {
@@ -2624,14 +2624,14 @@ const Cm = ({ children: e, locale: t, messages: n }) => {
2624
2624
  pt: "Português"
2625
2625
  }, Dt = kt({ isLoading: !0 });
2626
2626
  function to() {
2627
- return $e(Dt);
2627
+ return Ie(Dt);
2628
2628
  }
2629
2629
  const Em = ({ children: e, user: t, updateDetails: n }) => /* @__PURE__ */ c.jsx(Dt.Provider, { value: { ...t, updateDetails: n }, children: e }), Jc = kt({
2630
2630
  registerOverlay: () => {
2631
2631
  },
2632
2632
  unregisterOverlay: () => {
2633
2633
  }
2634
- }), _m = () => $e(Jc), km = ({ children: e }) => {
2634
+ }), _m = () => Ie(Jc), km = ({ children: e }) => {
2635
2635
  const [t, n] = ue([]);
2636
2636
  de(() => {
2637
2637
  t.length > 0 ? document.body.classList.add("has-overlay") : document.body.classList.remove("has-overlay");
@@ -2822,7 +2822,7 @@ const ws = {
2822
2822
  if (r <= t * (i + 1))
2823
2823
  return ri[i];
2824
2824
  };
2825
- const su = 256, In = ({
2825
+ const su = 256, $n = ({
2826
2826
  className: e = "",
2827
2827
  src: t = "",
2828
2828
  name: n,
@@ -2912,14 +2912,14 @@ const yn = ({
2912
2912
  variant: f = "inline",
2913
2913
  isCondensed: b = !0,
2914
2914
  additionalContentNewLine: v = !1
2915
- } = i, w = $e(Dt), E = m && w && typeof w.id == "string", [B, D] = ue(!1), C = ro(t);
2915
+ } = i, w = Ie(Dt), E = m && w && typeof w.id == "string", [B, D] = ue(!1), C = ro(t);
2916
2916
  C.name || (C.name = h.formatMessage({
2917
2917
  id: `member_${typeof t == "string" ? t : "community"}`
2918
2918
  }));
2919
2919
  const { name: S, image: L } = C;
2920
2920
  let { url: O } = C;
2921
2921
  typeof t == "object" && t.link !== void 0 && (t.link === !1 ? O = void 0 : O = t.link);
2922
- const z = Om(C), $ = r && r.createdAt ? Ds(r.createdAt) : !1, A = r && r.createdAt ? Wc(r.createdAt) : "";
2922
+ const z = Om(C), I = r && r.createdAt ? Ds(r.createdAt) : !1, A = r && r.createdAt ? Wc(r.createdAt) : "";
2923
2923
  return te.createElement(e, {
2924
2924
  ...d,
2925
2925
  className: V("member text-medium", g, f, l, {
@@ -2945,7 +2945,7 @@ const yn = ({
2945
2945
  document.dispatchEvent(T);
2946
2946
  },
2947
2947
  children: [
2948
- /* @__PURE__ */ c.jsx(In, { name: S, src: L, alt: n }),
2948
+ /* @__PURE__ */ c.jsx($n, { name: S, src: L, alt: n }),
2949
2949
  /* @__PURE__ */ c.jsxs("div", { className: "details", children: [
2950
2950
  /* @__PURE__ */ c.jsxs(
2951
2951
  "div",
@@ -2962,7 +2962,7 @@ const yn = ({
2962
2962
  "new-line": v
2963
2963
  }),
2964
2964
  children: [
2965
- r.createdAt && $ && /* @__PURE__ */ c.jsx(
2965
+ r.createdAt && I && /* @__PURE__ */ c.jsx(
2966
2966
  "span",
2967
2967
  {
2968
2968
  className: "date",
@@ -2970,8 +2970,8 @@ const yn = ({
2970
2970
  "aria-label": A,
2971
2971
  "data-testid": "date",
2972
2972
  children: h.formatMessage(
2973
- { id: `dates_${$.path}` },
2974
- { number: $.number }
2973
+ { id: `dates_${I.path}` },
2974
+ { number: I.number }
2975
2975
  )
2976
2976
  }
2977
2977
  ),
@@ -3064,7 +3064,7 @@ const ou = {
3064
3064
  if (s)
3065
3065
  return /* @__PURE__ */ c.jsx(zt, { element: "li", className: "contributor" }, p);
3066
3066
  g = /* @__PURE__ */ c.jsx(
3067
- In,
3067
+ $n,
3068
3068
  {
3069
3069
  name: b,
3070
3070
  src: v,
@@ -3182,7 +3182,7 @@ var qe = {};
3182
3182
  * LICENSE file in the root directory of this source tree.
3183
3183
  */
3184
3184
  var lu;
3185
- function $m() {
3185
+ function Im() {
3186
3186
  return lu || (lu = 1, process.env.NODE_ENV !== "production" && function() {
3187
3187
  var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, o = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, w = e ? Symbol.for("react.scope") : 60119;
3188
3188
  function E(G) {
@@ -3221,14 +3221,14 @@ function $m() {
3221
3221
  }
3222
3222
  }
3223
3223
  }
3224
- var D = l, C = u, S = o, L = s, O = t, z = d, $ = r, A = g, _ = p, T = n, R = a, W = i, U = h, ne = !1;
3224
+ var D = l, C = u, S = o, L = s, O = t, z = d, I = r, A = g, _ = p, T = n, R = a, W = i, U = h, ne = !1;
3225
3225
  function re(G) {
3226
3226
  return ne || (ne = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), x(G) || B(G) === l;
3227
3227
  }
3228
3228
  function x(G) {
3229
3229
  return B(G) === u;
3230
3230
  }
3231
- function I(G) {
3231
+ function $(G) {
3232
3232
  return B(G) === o;
3233
3233
  }
3234
3234
  function ie(G) {
@@ -3261,12 +3261,12 @@ function $m() {
3261
3261
  function le(G) {
3262
3262
  return B(G) === h;
3263
3263
  }
3264
- qe.AsyncMode = D, qe.ConcurrentMode = C, qe.ContextConsumer = S, qe.ContextProvider = L, qe.Element = O, qe.ForwardRef = z, qe.Fragment = $, qe.Lazy = A, qe.Memo = _, qe.Portal = T, qe.Profiler = R, qe.StrictMode = W, qe.Suspense = U, qe.isAsyncMode = re, qe.isConcurrentMode = x, qe.isContextConsumer = I, qe.isContextProvider = ie, qe.isElement = F, qe.isForwardRef = k, qe.isFragment = P, qe.isLazy = j, qe.isMemo = q, qe.isPortal = J, qe.isProfiler = H, qe.isStrictMode = ee, qe.isSuspense = le, qe.isValidElementType = E, qe.typeOf = B;
3264
+ qe.AsyncMode = D, qe.ConcurrentMode = C, qe.ContextConsumer = S, qe.ContextProvider = L, qe.Element = O, qe.ForwardRef = z, qe.Fragment = I, qe.Lazy = A, qe.Memo = _, qe.Portal = T, qe.Profiler = R, qe.StrictMode = W, qe.Suspense = U, qe.isAsyncMode = re, qe.isConcurrentMode = x, qe.isContextConsumer = $, qe.isContextProvider = ie, qe.isElement = F, qe.isForwardRef = k, qe.isFragment = P, qe.isLazy = j, qe.isMemo = q, qe.isPortal = J, qe.isProfiler = H, qe.isStrictMode = ee, qe.isSuspense = le, qe.isValidElementType = E, qe.typeOf = B;
3265
3265
  }()), qe;
3266
3266
  }
3267
3267
  var cu;
3268
3268
  function id() {
3269
- return cu || (cu = 1, process.env.NODE_ENV === "production" ? ai.exports = Rm() : ai.exports = $m()), ai.exports;
3269
+ return cu || (cu = 1, process.env.NODE_ENV === "production" ? ai.exports = Rm() : ai.exports = Im()), ai.exports;
3270
3270
  }
3271
3271
  /*
3272
3272
  object-assign
@@ -3274,7 +3274,7 @@ object-assign
3274
3274
  @license MIT
3275
3275
  */
3276
3276
  var wa, du;
3277
- function Im() {
3277
+ function $m() {
3278
3278
  if (du)
3279
3279
  return wa;
3280
3280
  du = 1;
@@ -3387,7 +3387,7 @@ function zm() {
3387
3387
  if (pu)
3388
3388
  return ka;
3389
3389
  pu = 1;
3390
- var e = id(), t = Im(), n = io(), r = ad(), i = Lm(), a = function() {
3390
+ var e = id(), t = $m(), n = io(), r = ad(), i = Lm(), a = function() {
3391
3391
  };
3392
3392
  process.env.NODE_ENV !== "production" && (a = function(o) {
3393
3393
  var l = "Warning: " + o;
@@ -3403,9 +3403,9 @@ function zm() {
3403
3403
  return ka = function(o, l) {
3404
3404
  var u = typeof Symbol == "function" && Symbol.iterator, d = "@@iterator";
3405
3405
  function h(x) {
3406
- var I = x && (u && x[u] || x[d]);
3407
- if (typeof I == "function")
3408
- return I;
3406
+ var $ = x && (u && x[u] || x[d]);
3407
+ if (typeof $ == "function")
3408
+ return $;
3409
3409
  }
3410
3410
  var m = "<<anonymous>>", p = {
3411
3411
  array: v("array"),
@@ -3428,16 +3428,16 @@ function zm() {
3428
3428
  shape: A,
3429
3429
  exact: _
3430
3430
  };
3431
- function g(x, I) {
3432
- return x === I ? x !== 0 || 1 / x === 1 / I : x !== x && I !== I;
3431
+ function g(x, $) {
3432
+ return x === $ ? x !== 0 || 1 / x === 1 / $ : x !== x && $ !== $;
3433
3433
  }
3434
- function f(x, I) {
3435
- this.message = x, this.data = I && typeof I == "object" ? I : {}, this.stack = "";
3434
+ function f(x, $) {
3435
+ this.message = x, this.data = $ && typeof $ == "object" ? $ : {}, this.stack = "";
3436
3436
  }
3437
3437
  f.prototype = Error.prototype;
3438
3438
  function b(x) {
3439
3439
  if (process.env.NODE_ENV !== "production")
3440
- var I = {}, ie = 0;
3440
+ var $ = {}, ie = 0;
3441
3441
  function F(P, j, q, J, H, ee, le) {
3442
3442
  if (J = J || m, ee = ee || q, le !== n) {
3443
3443
  if (l) {
@@ -3447,10 +3447,10 @@ function zm() {
3447
3447
  throw G.name = "Invariant Violation", G;
3448
3448
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
3449
3449
  var be = J + ":" + q;
3450
- !I[be] && // Avoid spamming the console because they are often not actionable except for lib authors
3450
+ !$[be] && // Avoid spamming the console because they are often not actionable except for lib authors
3451
3451
  ie < 3 && (a(
3452
3452
  "You are manually calling a React.PropTypes validation function for the `" + ee + "` prop on `" + J + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
3453
- ), I[be] = !0, ie++);
3453
+ ), $[be] = !0, ie++);
3454
3454
  }
3455
3455
  }
3456
3456
  return j[q] == null ? P ? j[q] === null ? new f("The " + H + " `" + ee + "` is marked as required " + ("in `" + J + "`, but its value is `null`.")) : new f("The " + H + " `" + ee + "` is marked as required in " + ("`" + J + "`, but its value is `undefined`.")) : null : x(j, q, J, H, ee);
@@ -3459,7 +3459,7 @@ function zm() {
3459
3459
  return k.isRequired = F.bind(null, !0), k;
3460
3460
  }
3461
3461
  function v(x) {
3462
- function I(ie, F, k, P, j, q) {
3462
+ function $(ie, F, k, P, j, q) {
3463
3463
  var J = ie[F], H = W(J);
3464
3464
  if (H !== x) {
3465
3465
  var ee = U(J);
@@ -3470,13 +3470,13 @@ function zm() {
3470
3470
  }
3471
3471
  return null;
3472
3472
  }
3473
- return b(I);
3473
+ return b($);
3474
3474
  }
3475
3475
  function w() {
3476
3476
  return b(s);
3477
3477
  }
3478
3478
  function E(x) {
3479
- function I(ie, F, k, P, j) {
3479
+ function $(ie, F, k, P, j) {
3480
3480
  if (typeof x != "function")
3481
3481
  return new f("Property `" + j + "` of component `" + k + "` has invalid PropType notation inside arrayOf.");
3482
3482
  var q = ie[F];
@@ -3491,11 +3491,11 @@ function zm() {
3491
3491
  }
3492
3492
  return null;
3493
3493
  }
3494
- return b(I);
3494
+ return b($);
3495
3495
  }
3496
3496
  function B() {
3497
- function x(I, ie, F, k, P) {
3498
- var j = I[ie];
3497
+ function x($, ie, F, k, P) {
3498
+ var j = $[ie];
3499
3499
  if (!o(j)) {
3500
3500
  var q = W(j);
3501
3501
  return new f("Invalid " + k + " `" + P + "` of type " + ("`" + q + "` supplied to `" + F + "`, expected a single ReactElement."));
@@ -3505,8 +3505,8 @@ function zm() {
3505
3505
  return b(x);
3506
3506
  }
3507
3507
  function D() {
3508
- function x(I, ie, F, k, P) {
3509
- var j = I[ie];
3508
+ function x($, ie, F, k, P) {
3509
+ var j = $[ie];
3510
3510
  if (!e.isValidElementType(j)) {
3511
3511
  var q = W(j);
3512
3512
  return new f("Invalid " + k + " `" + P + "` of type " + ("`" + q + "` supplied to `" + F + "`, expected a single ReactElement type."));
@@ -3516,21 +3516,21 @@ function zm() {
3516
3516
  return b(x);
3517
3517
  }
3518
3518
  function C(x) {
3519
- function I(ie, F, k, P, j) {
3519
+ function $(ie, F, k, P, j) {
3520
3520
  if (!(ie[F] instanceof x)) {
3521
3521
  var q = x.name || m, J = re(ie[F]);
3522
3522
  return new f("Invalid " + P + " `" + j + "` of type " + ("`" + J + "` supplied to `" + k + "`, expected ") + ("instance of `" + q + "`."));
3523
3523
  }
3524
3524
  return null;
3525
3525
  }
3526
- return b(I);
3526
+ return b($);
3527
3527
  }
3528
3528
  function S(x) {
3529
3529
  if (!Array.isArray(x))
3530
3530
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
3531
3531
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
3532
3532
  ) : a("Invalid argument supplied to oneOf, expected an array.")), s;
3533
- function I(ie, F, k, P, j) {
3533
+ function $(ie, F, k, P, j) {
3534
3534
  for (var q = ie[F], J = 0; J < x.length; J++)
3535
3535
  if (g(q, x[J]))
3536
3536
  return null;
@@ -3540,10 +3540,10 @@ function zm() {
3540
3540
  });
3541
3541
  return new f("Invalid " + P + " `" + j + "` of value `" + String(q) + "` " + ("supplied to `" + k + "`, expected one of " + H + "."));
3542
3542
  }
3543
- return b(I);
3543
+ return b($);
3544
3544
  }
3545
3545
  function L(x) {
3546
- function I(ie, F, k, P, j) {
3546
+ function $(ie, F, k, P, j) {
3547
3547
  if (typeof x != "function")
3548
3548
  return new f("Property `" + j + "` of component `" + k + "` has invalid PropType notation inside objectOf.");
3549
3549
  var q = ie[F], J = W(q);
@@ -3557,16 +3557,16 @@ function zm() {
3557
3557
  }
3558
3558
  return null;
3559
3559
  }
3560
- return b(I);
3560
+ return b($);
3561
3561
  }
3562
3562
  function O(x) {
3563
3563
  if (!Array.isArray(x))
3564
3564
  return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), s;
3565
- for (var I = 0; I < x.length; I++) {
3566
- var ie = x[I];
3565
+ for (var $ = 0; $ < x.length; $++) {
3566
+ var ie = x[$];
3567
3567
  if (typeof ie != "function")
3568
3568
  return a(
3569
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ne(ie) + " at index " + I + "."
3569
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ne(ie) + " at index " + $ + "."
3570
3570
  ), s;
3571
3571
  }
3572
3572
  function F(k, P, j, q, J) {
@@ -3582,35 +3582,35 @@ function zm() {
3582
3582
  return b(F);
3583
3583
  }
3584
3584
  function z() {
3585
- function x(I, ie, F, k, P) {
3586
- return T(I[ie]) ? null : new f("Invalid " + k + " `" + P + "` supplied to " + ("`" + F + "`, expected a ReactNode."));
3585
+ function x($, ie, F, k, P) {
3586
+ return T($[ie]) ? null : new f("Invalid " + k + " `" + P + "` supplied to " + ("`" + F + "`, expected a ReactNode."));
3587
3587
  }
3588
3588
  return b(x);
3589
3589
  }
3590
- function $(x, I, ie, F, k) {
3590
+ function I(x, $, ie, F, k) {
3591
3591
  return new f(
3592
- (x || "React class") + ": " + I + " type `" + ie + "." + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + k + "`."
3592
+ (x || "React class") + ": " + $ + " type `" + ie + "." + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + k + "`."
3593
3593
  );
3594
3594
  }
3595
3595
  function A(x) {
3596
- function I(ie, F, k, P, j) {
3596
+ function $(ie, F, k, P, j) {
3597
3597
  var q = ie[F], J = W(q);
3598
3598
  if (J !== "object")
3599
3599
  return new f("Invalid " + P + " `" + j + "` of type `" + J + "` " + ("supplied to `" + k + "`, expected `object`."));
3600
3600
  for (var H in x) {
3601
3601
  var ee = x[H];
3602
3602
  if (typeof ee != "function")
3603
- return $(k, P, j, H, U(ee));
3603
+ return I(k, P, j, H, U(ee));
3604
3604
  var le = ee(q, H, k, P, j + "." + H, n);
3605
3605
  if (le)
3606
3606
  return le;
3607
3607
  }
3608
3608
  return null;
3609
3609
  }
3610
- return b(I);
3610
+ return b($);
3611
3611
  }
3612
3612
  function _(x) {
3613
- function I(ie, F, k, P, j) {
3613
+ function $(ie, F, k, P, j) {
3614
3614
  var q = ie[F], J = W(q);
3615
3615
  if (J !== "object")
3616
3616
  return new f("Invalid " + P + " `" + j + "` of type `" + J + "` " + ("supplied to `" + k + "`, expected `object`."));
@@ -3618,7 +3618,7 @@ function zm() {
3618
3618
  for (var ee in H) {
3619
3619
  var le = x[ee];
3620
3620
  if (r(x, ee) && typeof le != "function")
3621
- return $(k, P, j, ee, U(le));
3621
+ return I(k, P, j, ee, U(le));
3622
3622
  if (!le)
3623
3623
  return new f(
3624
3624
  "Invalid " + P + " `" + j + "` key `" + ee + "` supplied to `" + k + "`.\nBad object: " + JSON.stringify(ie[F], null, " ") + `
@@ -3630,7 +3630,7 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
3630
3630
  }
3631
3631
  return null;
3632
3632
  }
3633
- return b(I);
3633
+ return b($);
3634
3634
  }
3635
3635
  function T(x) {
3636
3636
  switch (typeof x) {
@@ -3645,10 +3645,10 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
3645
3645
  return x.every(T);
3646
3646
  if (x === null || o(x))
3647
3647
  return !0;
3648
- var I = h(x);
3649
- if (I) {
3650
- var ie = I.call(x), F;
3651
- if (I !== x.entries) {
3648
+ var $ = h(x);
3649
+ if ($) {
3650
+ var ie = $.call(x), F;
3651
+ if ($ !== x.entries) {
3652
3652
  for (; !(F = ie.next()).done; )
3653
3653
  if (!T(F.value))
3654
3654
  return !1;
@@ -3665,37 +3665,37 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
3665
3665
  return !1;
3666
3666
  }
3667
3667
  }
3668
- function R(x, I) {
3669
- return x === "symbol" ? !0 : I ? I["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && I instanceof Symbol : !1;
3668
+ function R(x, $) {
3669
+ return x === "symbol" ? !0 : $ ? $["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && $ instanceof Symbol : !1;
3670
3670
  }
3671
3671
  function W(x) {
3672
- var I = typeof x;
3673
- return Array.isArray(x) ? "array" : x instanceof RegExp ? "object" : R(I, x) ? "symbol" : I;
3672
+ var $ = typeof x;
3673
+ return Array.isArray(x) ? "array" : x instanceof RegExp ? "object" : R($, x) ? "symbol" : $;
3674
3674
  }
3675
3675
  function U(x) {
3676
3676
  if (typeof x > "u" || x === null)
3677
3677
  return "" + x;
3678
- var I = W(x);
3679
- if (I === "object") {
3678
+ var $ = W(x);
3679
+ if ($ === "object") {
3680
3680
  if (x instanceof Date)
3681
3681
  return "date";
3682
3682
  if (x instanceof RegExp)
3683
3683
  return "regexp";
3684
3684
  }
3685
- return I;
3685
+ return $;
3686
3686
  }
3687
3687
  function ne(x) {
3688
- var I = U(x);
3689
- switch (I) {
3688
+ var $ = U(x);
3689
+ switch ($) {
3690
3690
  case "array":
3691
3691
  case "object":
3692
- return "an " + I;
3692
+ return "an " + $;
3693
3693
  case "boolean":
3694
3694
  case "date":
3695
3695
  case "regexp":
3696
- return "a " + I;
3696
+ return "a " + $;
3697
3697
  default:
3698
- return I;
3698
+ return $;
3699
3699
  }
3700
3700
  }
3701
3701
  function re(x) {
@@ -3763,8 +3763,8 @@ var Hm = Cs.exports;
3763
3763
  * tabbable 6.2.0
3764
3764
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
3765
3765
  */
3766
- var sd = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], $i = /* @__PURE__ */ sd.join(","), od = typeof Element > "u", jn = od ? function() {
3767
- } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, Ii = !od && Element.prototype.getRootNode ? function(e) {
3766
+ var sd = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], Ii = /* @__PURE__ */ sd.join(","), od = typeof Element > "u", jn = od ? function() {
3767
+ } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, $i = !od && Element.prototype.getRootNode ? function(e) {
3768
3768
  var t;
3769
3769
  return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);
3770
3770
  } : function(e) {
@@ -3780,8 +3780,8 @@ var sd = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
3780
3780
  }, ud = function(t, n, r) {
3781
3781
  if (Li(t))
3782
3782
  return [];
3783
- var i = Array.prototype.slice.apply(t.querySelectorAll($i));
3784
- return n && jn.call(t, $i) && i.unshift(t), i = i.filter(r), i;
3783
+ var i = Array.prototype.slice.apply(t.querySelectorAll(Ii));
3784
+ return n && jn.call(t, Ii) && i.unshift(t), i = i.filter(r), i;
3785
3785
  }, ld = function e(t, n, r) {
3786
3786
  for (var i = [], a = Array.from(t); a.length; ) {
3787
3787
  var s = a.shift();
@@ -3793,7 +3793,7 @@ var sd = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
3793
3793
  candidates: u
3794
3794
  });
3795
3795
  } else {
3796
- var d = jn.call(s, $i);
3796
+ var d = jn.call(s, Ii);
3797
3797
  d && r.filter(s) && (n || !t.includes(s)) && i.push(s);
3798
3798
  var h = s.shadowRoot || // check for an undisclosed shadow
3799
3799
  typeof r.getShadowRoot == "function" && r.getShadowRoot(s), m = !Li(h, !1) && (!r.shadowRootFilter || r.shadowRootFilter(s));
@@ -3835,7 +3835,7 @@ var sd = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
3835
3835
  }, Jm = function(t) {
3836
3836
  if (!t.name)
3837
3837
  return !0;
3838
- var n = t.form || Ii(t), r = function(o) {
3838
+ var n = t.form || $i(t), r = function(o) {
3839
3839
  return n.querySelectorAll('input[type="radio"][name="' + o + '"]');
3840
3840
  }, i;
3841
3841
  if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
@@ -3853,12 +3853,12 @@ var sd = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
3853
3853
  }, ep = function(t) {
3854
3854
  return Xm(t) && !Jm(t);
3855
3855
  }, tp = function(t) {
3856
- var n, r = t && Ii(t), i = (n = r) === null || n === void 0 ? void 0 : n.host, a = !1;
3856
+ var n, r = t && $i(t), i = (n = r) === null || n === void 0 ? void 0 : n.host, a = !1;
3857
3857
  if (r && r !== t) {
3858
3858
  var s, o, l;
3859
3859
  for (a = !!((s = i) !== null && s !== void 0 && (o = s.ownerDocument) !== null && o !== void 0 && o.contains(i) || t != null && (l = t.ownerDocument) !== null && l !== void 0 && l.contains(t)); !a && i; ) {
3860
3860
  var u, d, h;
3861
- r = Ii(i), i = (u = r) === null || u === void 0 ? void 0 : u.host, a = !!((d = i) !== null && d !== void 0 && (h = d.ownerDocument) !== null && h !== void 0 && h.contains(i));
3861
+ r = $i(i), i = (u = r) === null || u === void 0 ? void 0 : u.host, a = !!((d = i) !== null && d !== void 0 && (h = d.ownerDocument) !== null && h !== void 0 && h.contains(i));
3862
3862
  }
3863
3863
  }
3864
3864
  return a;
@@ -3875,7 +3875,7 @@ var sd = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
3875
3875
  if (!r || r === "full" || r === "legacy-full") {
3876
3876
  if (typeof i == "function") {
3877
3877
  for (var o = t; t; ) {
3878
- var l = t.parentElement, u = Ii(t);
3878
+ var l = t.parentElement, u = $i(t);
3879
3879
  if (l && !l.shadowRoot && i(l) === !0)
3880
3880
  return vu(t);
3881
3881
  t.assignedSlot ? t = t.assignedSlot : !l && u !== t.ownerDocument ? t = u.host : t = l;
@@ -3948,7 +3948,7 @@ var sd = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
3948
3948
  }, En = function(t, n) {
3949
3949
  if (n = n || {}, !t)
3950
3950
  throw new Error("No node provided");
3951
- return jn.call(t, $i) === !1 ? !1 : Es(n, t);
3951
+ return jn.call(t, Ii) === !1 ? !1 : Es(n, t);
3952
3952
  }, sp = /* @__PURE__ */ sd.concat("iframe").join(","), Fi = function(t, n) {
3953
3953
  if (n = n || {}, !t)
3954
3954
  throw new Error("No node provided");
@@ -4172,11 +4172,11 @@ var Du = {
4172
4172
  * in reverse.
4173
4173
  * @returns {HTMLElement|undefined} The next tabbable node, if any.
4174
4174
  */
4175
- nextTabbableNode: function(I) {
4176
- var ie = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, F = _.indexOf(I);
4177
- return F < 0 ? ie ? T.slice(T.indexOf(I) + 1).find(function(k) {
4175
+ nextTabbableNode: function($) {
4176
+ var ie = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, F = _.indexOf($);
4177
+ return F < 0 ? ie ? T.slice(T.indexOf($) + 1).find(function(k) {
4178
4178
  return En(k);
4179
- }) : T.slice(0, T.indexOf(I)).reverse().find(function(k) {
4179
+ }) : T.slice(0, T.indexOf($)).reverse().find(function(k) {
4180
4180
  return En(k);
4181
4181
  }) : _[F + (ie ? 1 : -1)];
4182
4182
  }
@@ -4189,14 +4189,14 @@ var Du = {
4189
4189
  return A.posTabIndexesFound;
4190
4190
  }) && s.containerGroups.length > 1)
4191
4191
  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.");
4192
- }, p = function $(A) {
4192
+ }, p = function I(A) {
4193
4193
  var _ = A.activeElement;
4194
4194
  if (_)
4195
- return _.shadowRoot && _.shadowRoot.activeElement !== null ? $(_.shadowRoot) : _;
4196
- }, g = function $(A) {
4195
+ return _.shadowRoot && _.shadowRoot.activeElement !== null ? I(_.shadowRoot) : _;
4196
+ }, g = function I(A) {
4197
4197
  if (A !== !1 && A !== p(document)) {
4198
4198
  if (!A || !A.focus) {
4199
- $(h());
4199
+ I(h());
4200
4200
  return;
4201
4201
  }
4202
4202
  A.focus({
@@ -4220,7 +4220,7 @@ var Du = {
4220
4220
  return _ === q;
4221
4221
  });
4222
4222
  if (x < 0 && (re.container === _ || Fi(_, a.tabbableOptions) && !En(_, a.tabbableOptions) && !re.nextTabbableNode(_, !1)) && (x = ne), x >= 0) {
4223
- var I = x === 0 ? s.tabbableGroups.length - 1 : x - 1, ie = s.tabbableGroups[I];
4223
+ var $ = x === 0 ? s.tabbableGroups.length - 1 : x - 1, ie = s.tabbableGroups[$];
4224
4224
  U = gn(_) >= 0 ? ie.lastTabbableNode : ie.lastDomTabbableNode;
4225
4225
  } else
4226
4226
  jr(T) || (U = re.nextTabbableNode(_, !1));
@@ -4273,8 +4273,8 @@ var Du = {
4273
4273
  }
4274
4274
  } else
4275
4275
  s.containerGroups.some(function(x) {
4276
- return x.tabbableNodes.some(function(I) {
4277
- return gn(I) > 0;
4276
+ return x.tabbableNodes.some(function($) {
4277
+ return gn($) > 0;
4278
4278
  });
4279
4279
  }) || (W = !1);
4280
4280
  else
@@ -4842,7 +4842,7 @@ const Er = "joinCommunityButton", pd = ({
4842
4842
  }, leave: () => {
4843
4843
  } }
4844
4844
  }) => {
4845
- const s = ce(), o = $e(Dt), l = o && typeof o.id == "string", u = r || !l, [d, h] = ue(e), [m, p] = ue(e ? "joined" : "notJoined");
4845
+ const s = ce(), o = Ie(Dt), l = o && typeof o.id == "string", u = r || !l, [d, h] = ue(e), [m, p] = ue(e ? "joined" : "notJoined");
4846
4846
  de(() => {
4847
4847
  m === "joining" ? p("joined") : m === "leaving" && p("notJoined");
4848
4848
  }, [d]);
@@ -4893,7 +4893,7 @@ const Aa = "communityDetails_", U_ = ({
4893
4893
  members: { number: i = 0, data: a = [] } = { number: 0, data: [] },
4894
4894
  functions: { invite: s, ...o }
4895
4895
  }) => {
4896
- const l = ce(), { id: u } = $e(Dt), d = u, h = 5, m = i || a.length, p = a.length ? a : Array(h).fill({}), g = `/communities/${r}/members` === window.location.pathname, f = t || n, b = !n && !t;
4896
+ const l = ce(), { id: u } = Ie(Dt), d = u, h = 5, m = i || a.length, p = a.length ? a : Array(h).fill({}), g = `/communities/${r}/members` === window.location.pathname, f = t || n, b = !n && !t;
4897
4897
  return /* @__PURE__ */ c.jsxs("div", { className: V("community-details", e), children: [
4898
4898
  f ? /* @__PURE__ */ c.jsxs("div", { className: "member-details", children: [
4899
4899
  /* @__PURE__ */ c.jsxs("div", { className: "top", children: [
@@ -5079,7 +5079,7 @@ const ui = "languageSwitcher_", V_ = ({
5079
5079
  className: l = ""
5080
5080
  }) => {
5081
5081
  const u = ce(), { updateLanguage: d = () => {
5082
- } } = $e(Qc), [h, m] = ue(e);
5082
+ } } = Ie(Qc), [h, m] = ue(e);
5083
5083
  if (de(() => {
5084
5084
  e !== h && m(e);
5085
5085
  }, [e]), !r || !Object.values(r).some(
@@ -5194,7 +5194,7 @@ const gd = ({
5194
5194
  }
5195
5195
  ) });
5196
5196
  let li = !1;
5197
- const $p = ({
5197
+ const Ip = ({
5198
5198
  element: e = "div",
5199
5199
  id: t = "more-menu",
5200
5200
  options: n,
@@ -5253,7 +5253,7 @@ const $p = ({
5253
5253
  }) })
5254
5254
  ] })
5255
5255
  });
5256
- }, Ip = (e, t = !1) => t ? e.replaceAll("/", "") === t : typeof window < "u" && window.location && window.location.pathname === e;
5256
+ }, $p = (e, t = !1) => t ? e.replaceAll("/", "") === t : typeof window < "u" && window.location && window.location.pathname === e;
5257
5257
  const Lp = fr(() => Promise.resolve().then(() => Mm)), zp = [
5258
5258
  {
5259
5259
  key: "homepage",
@@ -5276,10 +5276,10 @@ const Lp = fr(() => Promise.resolve().then(() => Mm)), zp = [
5276
5276
  href: "/communities/"
5277
5277
  }
5278
5278
  ], qp = ({ activeLink: e, profile: t }) => {
5279
- const n = ce(), r = $e(Dt), i = r && typeof r.id == "string";
5279
+ const n = ce(), r = Ie(Dt), i = r && typeof r.id == "string";
5280
5280
  return /* @__PURE__ */ c.jsxs("ul", { id: "navigation-menu", className: "text-medium", children: [
5281
5281
  zp.map(({ key: a, href: s }) => {
5282
- const o = Ip(s, e), l = {};
5282
+ const o = $p(s, e), l = {};
5283
5283
  return o && (l["aria-current"] = "page"), /* @__PURE__ */ c.jsx("li", { className: V(a, { active: o }), children: /* @__PURE__ */ c.jsx(
5284
5284
  "a",
5285
5285
  {
@@ -6233,7 +6233,7 @@ const Kn = {
6233
6233
  submitOnEnter: d,
6234
6234
  ...h
6235
6235
  }) => {
6236
- const m = ce(), p = l && l.some(({ condition: $ }) => $ === "required"), g = so(u), f = o && Kn[o] && Kn[o].component ? Kn[o].component : Qn, b = o && ["checkboxes", "radio"].includes(o), v = o && ["autocomplete"].includes(o), w = r && `error-${e}`, E = `character-limit-${e}`, B = {};
6236
+ const m = ce(), p = l && l.some(({ condition: I }) => I === "required"), g = so(u), f = o && Kn[o] && Kn[o].component ? Kn[o].component : Qn, b = o && ["checkboxes", "radio"].includes(o), v = o && ["autocomplete"].includes(o), w = r && `error-${e}`, E = `character-limit-${e}`, B = {};
6237
6237
  b ? B.element = "legend" : B.htmlFor = e;
6238
6238
  let D = {
6239
6239
  ...h,
@@ -6246,26 +6246,26 @@ const Kn = {
6246
6246
  functions: An(i),
6247
6247
  value: u
6248
6248
  };
6249
- const C = ($) => {
6250
- D["aria-describedby"] ? D["aria-describedby"] += ` ${$}` : D["aria-describedby"] = $;
6249
+ const C = (I) => {
6250
+ D["aria-describedby"] ? D["aria-describedby"] += ` ${I}` : D["aria-describedby"] = I;
6251
6251
  };
6252
6252
  if (a > 0) {
6253
- const $ = Kp(a, i.onChange);
6253
+ const I = Kp(a, i.onChange);
6254
6254
  C(`${E}-info`), D = {
6255
6255
  ...D,
6256
- ...$
6257
- }, $.functions && typeof $.functions == "object" && (D.functions = {
6256
+ ...I
6257
+ }, I.functions && typeof I.functions == "object" && (D.functions = {
6258
6258
  ...D.functions,
6259
- ...$.functions
6259
+ ...I.functions
6260
6260
  });
6261
6261
  }
6262
6262
  o && Kn[o] && Kn[o].props && (D = { ...D, ...Kn[o].props }), b && (D.intlPath = `${t}_${e}`), r && (D["aria-invalid"] = !0, D["aria-errormessage"] = w, C(w));
6263
- const S = h.label || m.formatMessage({ id: t ? `${t}_${e}` : e }), L = ({ ...$ }) => r ? te.createElement(
6264
- $.as || "p",
6263
+ const S = h.label || m.formatMessage({ id: t ? `${t}_${e}` : e }), L = ({ ...I }) => r ? te.createElement(
6264
+ I.as || "p",
6265
6265
  {
6266
6266
  id: w,
6267
6267
  className: "error text-small",
6268
- ...$
6268
+ ...I
6269
6269
  },
6270
6270
  r
6271
6271
  ) : null;
@@ -6283,8 +6283,8 @@ const Kn = {
6283
6283
  ] });
6284
6284
  const O = {};
6285
6285
  b || (O.className = "field-label");
6286
- const z = ($) => te.createElement($.element || "label", {
6287
- ...$,
6286
+ const z = (I) => te.createElement(I.element || "label", {
6287
+ ...I,
6288
6288
  className: "checkboxes-label text-small",
6289
6289
  "data-testid": `label-${e}`
6290
6290
  });
@@ -6455,16 +6455,16 @@ const Ln = ({
6455
6455
  },
6456
6456
  onFailure: O = () => {
6457
6457
  }
6458
- } = h || {}, z = ce(), $ = {};
6458
+ } = h || {}, z = ce(), I = {};
6459
6459
  t.length && t.forEach((k) => {
6460
6460
  const P = k.id || k.name;
6461
- P && ($[P] = k.value || "");
6461
+ P && (I[P] = k.value || "");
6462
6462
  });
6463
6463
  const [A, _] = hr(tg, {
6464
6464
  isSubmitting: !1,
6465
6465
  formSubmitted: !1,
6466
6466
  errors: {},
6467
- values: $
6467
+ values: I
6468
6468
  }), { errors: T, isSubmitting: R, formSubmitted: W, values: U } = A;
6469
6469
  de(() => {
6470
6470
  w && W && (Ta = setTimeout(() => {
@@ -6501,7 +6501,7 @@ const Ln = ({
6501
6501
  id: `form_${k === "default" ? "submit" : k}`
6502
6502
  }));
6503
6503
  }), delete f.text;
6504
- const I = () => {
6504
+ const $ = () => {
6505
6505
  if (!R) {
6506
6506
  if (_({
6507
6507
  type: "updateValue",
@@ -6557,7 +6557,7 @@ const Ln = ({
6557
6557
  J && (P = J.getBoundingClientRect().top + window.scrollY);
6558
6558
  }
6559
6559
  const j = document.getElementById("header");
6560
- j && (P = P - j.offsetHeight - b), P < 0 && (P = 0), window.scrollTo({ top: P, behavior: "smooth" }), I();
6560
+ j && (P = P - j.offsetHeight - b), P < 0 && (P = 0), window.scrollTo({ top: P, behavior: "smooth" }), $();
6561
6561
  },
6562
6562
  disabled: R || W || s.disabled,
6563
6563
  "data-gtm-event-context": d.context,
@@ -6584,7 +6584,7 @@ const Ln = ({
6584
6584
  },
6585
6585
  /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
6586
6586
  T != null && T.general ? /* @__PURE__ */ c.jsx(
6587
- $n,
6587
+ In,
6588
6588
  {
6589
6589
  variant: "error",
6590
6590
  text: z.formatMessage({ id: "form_error_generalError" })
@@ -6608,7 +6608,7 @@ const Ln = ({
6608
6608
  }
6609
6609
  };
6610
6610
  return H && (le.onKeyDown = (G) => {
6611
- G.key === "Enter" && (G.stopPropagation(), G.preventDefault(), I()), J.onKeyDown && J.onKeyDown(G);
6611
+ G.key === "Enter" && (G.stopPropagation(), G.preventDefault(), $()), J.onKeyDown && J.onKeyDown(G);
6612
6612
  }), /* @__PURE__ */ c.jsx(
6613
6613
  eg,
6614
6614
  {
@@ -7681,7 +7681,7 @@ var fo = {
7681
7681
  return e;
7682
7682
  const n = _n(e);
7683
7683
  if (!Fs(n, t))
7684
- return $g(e, n, t);
7684
+ return Ig(e, n, t);
7685
7685
  const r = n[t];
7686
7686
  return e.finalized_ || !Pn(r) ? r : r === Pa(e.base_, t) ? (Na(e), e.copy_[t] = js(r, e)) : r;
7687
7687
  },
@@ -7746,7 +7746,7 @@ function Pa(e, t) {
7746
7746
  const n = e[Tt];
7747
7747
  return (n ? _n(n) : e)[t];
7748
7748
  }
7749
- function $g(e, t, n) {
7749
+ function Ig(e, t, n) {
7750
7750
  var i;
7751
7751
  const r = Od(t, n);
7752
7752
  return r ? "value" in r ? r.value : (
@@ -7775,7 +7775,7 @@ function Na(e) {
7775
7775
  e.scope_.immer_.useStrictShallowCopy_
7776
7776
  ));
7777
7777
  }
7778
- var Ig = class {
7778
+ var $g = class {
7779
7779
  constructor(e) {
7780
7780
  this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.produce = (t, n, r) => {
7781
7781
  if (typeof t == "function" && typeof n != "function") {
@@ -7880,7 +7880,7 @@ function Pd(e) {
7880
7880
  Sd(n, r, Pd(i));
7881
7881
  }), t && (t.finalized_ = !1), n;
7882
7882
  }
7883
- var St = new Ig(), ho = St.produce;
7883
+ var St = new $g(), ho = St.produce;
7884
7884
  St.produceWithPatches.bind(
7885
7885
  St
7886
7886
  );
@@ -8140,7 +8140,7 @@ function xt(e, t, n) {
8140
8140
  writable: !0
8141
8141
  }) : e[t] = n, e;
8142
8142
  }
8143
- function $u(e, t) {
8143
+ function Iu(e, t) {
8144
8144
  var n = Object.keys(e);
8145
8145
  if (Object.getOwnPropertySymbols) {
8146
8146
  var r = Object.getOwnPropertySymbols(e);
@@ -8153,9 +8153,9 @@ function $u(e, t) {
8153
8153
  function kr(e) {
8154
8154
  for (var t = 1; t < arguments.length; t++) {
8155
8155
  var n = arguments[t] != null ? arguments[t] : {};
8156
- t % 2 ? $u(Object(n), !0).forEach(function(r) {
8156
+ t % 2 ? Iu(Object(n), !0).forEach(function(r) {
8157
8157
  xt(e, r, n[r]);
8158
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $u(Object(n)).forEach(function(r) {
8158
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Iu(Object(n)).forEach(function(r) {
8159
8159
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
8160
8160
  });
8161
8161
  }
@@ -8211,10 +8211,10 @@ var Vg = (e, t, n) => {
8211
8211
  } = n;
8212
8212
  if (M.isAncestor(O, z))
8213
8213
  throw new Error("Cannot move a path [".concat(O, "] to new path [").concat(z, "] because the destination is inside itself."));
8214
- var $ = oe.get(e, O), A = oe.parent(e, O), _ = O[O.length - 1];
8214
+ var I = oe.get(e, O), A = oe.parent(e, O), _ = O[O.length - 1];
8215
8215
  A.children.splice(_, 1);
8216
8216
  var T = M.transform(O, n), R = oe.get(e, M.parent(T)), W = T[T.length - 1];
8217
- if (R.children.splice(W, 0, $), t)
8217
+ if (R.children.splice(W, 0, I), t)
8218
8218
  for (var [U, ne] of Y.points(t))
8219
8219
  t[ne] = Be.transform(U, n);
8220
8220
  break;
@@ -8222,8 +8222,8 @@ var Vg = (e, t, n) => {
8222
8222
  case "remove_node": {
8223
8223
  var {
8224
8224
  path: re
8225
- } = n, x = re[re.length - 1], I = oe.parent(e, re);
8226
- if (I.children.splice(x, 1), t)
8225
+ } = n, x = re[re.length - 1], $ = oe.parent(e, re);
8226
+ if ($.children.splice(x, 1), t)
8227
8227
  for (var [ie, F] of Y.points(t)) {
8228
8228
  var k = Be.transform(ie, n);
8229
8229
  if (t != null && k != null)
@@ -8427,7 +8427,7 @@ function un(e, t) {
8427
8427
  return n;
8428
8428
  }
8429
8429
  var Qg = ["anchor", "focus"];
8430
- function Iu(e, t) {
8430
+ function $u(e, t) {
8431
8431
  var n = Object.keys(e);
8432
8432
  if (Object.getOwnPropertySymbols) {
8433
8433
  var r = Object.getOwnPropertySymbols(e);
@@ -8440,9 +8440,9 @@ function Iu(e, t) {
8440
8440
  function Jg(e) {
8441
8441
  for (var t = 1; t < arguments.length; t++) {
8442
8442
  var n = arguments[t] != null ? arguments[t] : {};
8443
- t % 2 ? Iu(Object(n), !0).forEach(function(r) {
8443
+ t % 2 ? $u(Object(n), !0).forEach(function(r) {
8444
8444
  xt(e, r, n[r]);
8445
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Iu(Object(n)).forEach(function(r) {
8445
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $u(Object(n)).forEach(function(r) {
8446
8446
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
8447
8447
  });
8448
8448
  }
@@ -9510,8 +9510,8 @@ var Sv = (e, t) => {
9510
9510
  node: r,
9511
9511
  path: i
9512
9512
  } = t, a = M.levels(i), s = me.isText(r) ? [] : Array.from(oe.nodes(r), (z) => {
9513
- var [, $] = z;
9514
- return i.concat($);
9513
+ var [, I] = z;
9514
+ return i.concat(I);
9515
9515
  });
9516
9516
  return [...a, ...s];
9517
9517
  }
@@ -9726,7 +9726,7 @@ function Xu(e) {
9726
9726
  }
9727
9727
  return e;
9728
9728
  }
9729
- var $v = function(t, n) {
9729
+ var Iv = function(t, n) {
9730
9730
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = y.point(t, n, {
9731
9731
  edge: "end"
9732
9732
  }), a = y.end(t, []), s = {
@@ -9765,7 +9765,7 @@ function tl(e) {
9765
9765
  }
9766
9766
  return e;
9767
9767
  }
9768
- var Iv = function(t, n) {
9768
+ var $v = function(t, n) {
9769
9769
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = y.start(t, []), a = y.point(t, n, {
9770
9770
  edge: "start"
9771
9771
  }), s = {
@@ -10455,7 +10455,7 @@ var O0 = (e, t) => {
10455
10455
  anchor: a,
10456
10456
  focus: s
10457
10457
  };
10458
- }, $0 = (e, t) => {
10458
+ }, I0 = (e, t) => {
10459
10459
  var n = y.isNormalizing(e);
10460
10460
  y.setNormalizing(e, !1);
10461
10461
  try {
@@ -10464,7 +10464,7 @@ var O0 = (e, t) => {
10464
10464
  y.setNormalizing(e, n);
10465
10465
  }
10466
10466
  y.normalize(e);
10467
- }, I0 = function(t) {
10467
+ }, $0 = function(t) {
10468
10468
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
10469
10469
  y.withoutNormalizing(t, () => {
10470
10470
  var r, i, {
@@ -10537,8 +10537,8 @@ var O0 = (e, t) => {
10537
10537
  z && B && M.isAncestor(B[1], z.path) && (w = z);
10538
10538
  }
10539
10539
  if (O) {
10540
- var $ = y.after(t, E);
10541
- $ && D && M.isAncestor(D[1], $.path) && (E = $);
10540
+ var I = y.after(t, E);
10541
+ I && D && M.isAncestor(D[1], I.path) && (E = I);
10542
10542
  }
10543
10543
  var A = [], _;
10544
10544
  for (var T of y.nodes(t, {
@@ -10553,9 +10553,9 @@ var O0 = (e, t) => {
10553
10553
  return y.pathRef(t, Fe);
10554
10554
  }), ne = y.pointRef(t, w), re = y.pointRef(t, E), x = "";
10555
10555
  if (!S && !L) {
10556
- var I = ne.current, [ie] = y.leaf(t, I), {
10556
+ var $ = ne.current, [ie] = y.leaf(t, $), {
10557
10557
  path: F
10558
- } = I, {
10558
+ } = $, {
10559
10559
  offset: k
10560
10560
  } = w, P = ie.text.slice(k);
10561
10561
  P.length > 0 && (t.apply({
@@ -10655,15 +10655,15 @@ var O0 = (e, t) => {
10655
10655
  pass: L
10656
10656
  }))
10657
10657
  L(O) && S.push(O);
10658
- var z = [], $ = [], A = [], _ = !0, T = !1;
10658
+ var z = [], I = [], A = [], _ = !0, T = !1;
10659
10659
  for (var [R] of S)
10660
- he.isElement(R) && !t.isInline(R) ? (_ = !1, T = !0, $.push(R)) : _ ? z.push(R) : A.push(R);
10660
+ he.isElement(R) && !t.isInline(R) ? (_ = !1, T = !0, I.push(R)) : _ ? z.push(R) : A.push(R);
10661
10661
  var [W] = y.nodes(t, {
10662
10662
  at: s,
10663
10663
  match: (P) => me.isText(P) || y.isInline(t, P),
10664
10664
  mode: "highest",
10665
10665
  voids: a
10666
- }), [, U] = W, ne = y.isStart(t, s, U), re = y.isEnd(t, s, U), x = y.pathRef(t, v && !A.length ? M.next(f) : f), I = y.pathRef(t, re ? M.next(U) : U);
10666
+ }), [, U] = W, ne = y.isStart(t, s, U), re = y.isEnd(t, s, U), x = y.pathRef(t, v && !A.length ? M.next(f) : f), $ = y.pathRef(t, re ? M.next(U) : U);
10667
10667
  Q.splitNodes(t, {
10668
10668
  at: s,
10669
10669
  match: (P) => T ? he.isElement(P) && y.isBlock(t, P) : me.isText(P) || y.isInline(t, P),
@@ -10678,29 +10678,29 @@ var O0 = (e, t) => {
10678
10678
  mode: "highest",
10679
10679
  voids: a,
10680
10680
  batchDirty: o
10681
- }), w && !z.length && $.length && !A.length && Q.delete(t, {
10681
+ }), w && !z.length && I.length && !A.length && Q.delete(t, {
10682
10682
  at: f,
10683
10683
  voids: a
10684
- }), Q.insertNodes(t, $, {
10684
+ }), Q.insertNodes(t, I, {
10685
10685
  at: x.current,
10686
10686
  match: (P) => he.isElement(P) && y.isBlock(t, P),
10687
10687
  mode: "lowest",
10688
10688
  voids: a,
10689
10689
  batchDirty: o
10690
10690
  }), Q.insertNodes(t, A, {
10691
- at: I.current,
10691
+ at: $.current,
10692
10692
  match: (P) => me.isText(P) || y.isInline(t, P),
10693
10693
  mode: "highest",
10694
10694
  voids: a,
10695
10695
  batchDirty: o
10696
10696
  }), !r.at) {
10697
10697
  var F;
10698
- if (A.length > 0 && I.current ? F = M.previous(I.current) : $.length > 0 && x.current ? F = M.previous(x.current) : ie.current && (F = M.previous(ie.current)), F) {
10698
+ if (A.length > 0 && $.current ? F = M.previous($.current) : I.length > 0 && x.current ? F = M.previous(x.current) : ie.current && (F = M.previous(ie.current)), F) {
10699
10699
  var k = y.end(t, F);
10700
10700
  Q.select(t, k);
10701
10701
  }
10702
10702
  }
10703
- ie.unref(), x.unref(), I.unref();
10703
+ ie.unref(), x.unref(), $.unref();
10704
10704
  }
10705
10705
  }
10706
10706
  });
@@ -10889,22 +10889,22 @@ var H0 = function(t, n) {
10889
10889
  var T = {
10890
10890
  type: "insert_node",
10891
10891
  path: _,
10892
- node: $
10892
+ node: I
10893
10893
  };
10894
- t.apply(T), l = M.next(l), D.push(T), me.isText ? C.push(...Array.from(oe.nodes($), (R) => {
10894
+ t.apply(T), l = M.next(l), D.push(T), me.isText ? C.push(...Array.from(oe.nodes(I), (R) => {
10895
10895
  var [, W] = R;
10896
10896
  return _.concat(W);
10897
10897
  })) : C.push(_);
10898
10898
  };
10899
- for (var $ of n)
10899
+ for (var I of n)
10900
10900
  z();
10901
10901
  }, () => {
10902
10902
  Rd(t, C, (z) => {
10903
- var $ = z;
10903
+ var I = z;
10904
10904
  for (var A of D)
10905
- if (M.operationCanTransformPath(A) && ($ = M.transform($, A), !$))
10905
+ if (M.operationCanTransformPath(A) && (I = M.transform(I, A), !I))
10906
10906
  return null;
10907
- return $;
10907
+ return I;
10908
10908
  });
10909
10909
  });
10910
10910
  } else
@@ -10987,10 +10987,10 @@ var H0 = function(t, n) {
10987
10987
  }
10988
10988
  }
10989
10989
  });
10990
- }, Y0 = ["text"], G0 = ["children"], $d = (e, t) => {
10990
+ }, Y0 = ["text"], G0 = ["children"], Id = (e, t) => {
10991
10991
  if (he.isElement(t)) {
10992
10992
  var n = t;
10993
- return y.isVoid(e, t) ? !0 : n.children.length === 1 ? $d(e, n.children[0]) : !1;
10993
+ return y.isVoid(e, t) ? !0 : n.children.length === 1 ? Id(e, n.children[0]) : !1;
10994
10994
  } else
10995
10995
  return !y.isEditor(t);
10996
10996
  }, Q0 = function(t) {
@@ -11039,12 +11039,12 @@ var H0 = function(t, n) {
11039
11039
  var v = M.next(b), w = M.common(g, b), E = M.isSibling(g, b), B = Array.from(y.levels(t, {
11040
11040
  at: g
11041
11041
  }), (z) => {
11042
- var [$] = z;
11043
- return $;
11042
+ var [I] = z;
11043
+ return I;
11044
11044
  }).slice(w.length).slice(0, -1), D = y.above(t, {
11045
11045
  at: g,
11046
11046
  mode: "highest",
11047
- match: (z) => B.includes(z) && $d(t, z)
11047
+ match: (z) => B.includes(z) && Id(t, z)
11048
11048
  }), C = D && y.pathRef(t, D[1]), S, L;
11049
11049
  if (me.isText(p) && me.isText(f)) {
11050
11050
  var O = un(p, Y0);
@@ -11264,18 +11264,18 @@ var H0 = function(t, n) {
11264
11264
  }
11265
11265
  p = y.pointRef(t, s);
11266
11266
  var S = s.path.length - o, [, L] = g, O = s.path.slice(0, S), z = o === 0 ? s.offset : s.path[S] + b;
11267
- for (var [$, A] of y.levels(t, {
11267
+ for (var [I, A] of y.levels(t, {
11268
11268
  at: O,
11269
11269
  reverse: !0,
11270
11270
  voids: i
11271
11271
  })) {
11272
11272
  var _ = !1;
11273
- if (A.length < L.length || A.length === 0 || !i && he.isElement($) && y.isVoid(t, $))
11273
+ if (A.length < L.length || A.length === 0 || !i && he.isElement(I) && y.isVoid(t, I))
11274
11274
  break;
11275
11275
  var T = m.current, R = y.isEnd(t, T, A);
11276
11276
  if (l || !m || !y.isEdge(t, T, A)) {
11277
11277
  _ = !0;
11278
- var W = oe.extractProps($);
11278
+ var W = oe.extractProps(I);
11279
11279
  t.apply({
11280
11280
  type: "split_node",
11281
11281
  path: A,
@@ -11409,7 +11409,7 @@ var ab = function(t, n) {
11409
11409
  var [E] = w, B = w[w.length - 1], [, D] = E, [, C] = B;
11410
11410
  if (D.length === 0 && C.length === 0)
11411
11411
  return 0;
11412
- var S = M.equals(D, C) ? M.parent(D) : M.common(D, C), L = y.range(t, D, C), O = y.node(t, S), [z] = O, $ = S.length + 1, A = M.next(C.slice(0, $)), _ = dl(dl({}, n), {}, {
11412
+ var S = M.equals(D, C) ? M.parent(D) : M.common(D, C), L = y.range(t, D, C), O = y.node(t, S), [z] = O, I = S.length + 1, A = M.next(C.slice(0, I)), _ = dl(dl({}, n), {}, {
11413
11413
  children: []
11414
11414
  });
11415
11415
  Q.insertNodes(t, _, {
@@ -11526,12 +11526,12 @@ var ab = function(t, n) {
11526
11526
  after: function() {
11527
11527
  for (var n = arguments.length, r = new Array(n), i = 0; i < n; i++)
11528
11528
  r[i] = arguments[i];
11529
- return $v(e, ...r);
11529
+ return Iv(e, ...r);
11530
11530
  },
11531
11531
  before: function() {
11532
11532
  for (var n = arguments.length, r = new Array(n), i = 0; i < n; i++)
11533
11533
  r[i] = arguments[i];
11534
- return Iv(e, ...r);
11534
+ return $v(e, ...r);
11535
11535
  },
11536
11536
  collapse: function() {
11537
11537
  for (var n = arguments.length, r = new Array(n), i = 0; i < n; i++)
@@ -11541,7 +11541,7 @@ var ab = function(t, n) {
11541
11541
  delete: function() {
11542
11542
  for (var n = arguments.length, r = new Array(n), i = 0; i < n; i++)
11543
11543
  r[i] = arguments[i];
11544
- return I0(e, ...r);
11544
+ return $0(e, ...r);
11545
11545
  },
11546
11546
  deselect: function() {
11547
11547
  for (var n = arguments.length, r = new Array(n), i = 0; i < n; i++)
@@ -11816,7 +11816,7 @@ var ab = function(t, n) {
11816
11816
  withoutNormalizing: function() {
11817
11817
  for (var n = arguments.length, r = new Array(n), i = 0; i < n; i++)
11818
11818
  r[i] = arguments[i];
11819
- return $0(e, ...r);
11819
+ return I0(e, ...r);
11820
11820
  },
11821
11821
  wrapNodes: function() {
11822
11822
  for (var n = arguments.length, r = new Array(n), i = 0; i < n; i++)
@@ -11943,7 +11943,7 @@ var ab = function(t, n) {
11943
11943
  }, t.writeHistory = (r, i) => {
11944
11944
  t.history[r].push(i);
11945
11945
  }, t;
11946
- }, lb = (e, t) => !!(t && e.type === "insert_text" && t.type === "insert_text" && e.offset === t.offset + t.text.length && M.equals(e.path, t.path) || t && e.type === "remove_text" && t.type === "remove_text" && e.offset + e.text.length === t.offset && M.equals(e.path, t.path)), cb = (e, t) => e.type !== "set_selection", db = mb, Id = "֑-߿יִ-﷽ﹰ-ﻼ", Ld = "A-Za-zÀ-ÖØ-öø-ʸ̀-֐ࠀ-῿‎Ⰰ-﬜︀-﹯﻽-￿", fb = new RegExp("^[^" + Ld + "]*[" + Id + "]"), hb = new RegExp("^[^" + Id + "]*[" + Ld + "]");
11946
+ }, lb = (e, t) => !!(t && e.type === "insert_text" && t.type === "insert_text" && e.offset === t.offset + t.text.length && M.equals(e.path, t.path) || t && e.type === "remove_text" && t.type === "remove_text" && e.offset + e.text.length === t.offset && M.equals(e.path, t.path)), cb = (e, t) => e.type !== "set_selection", db = mb, $d = "֑-߿יִ-﷽ﹰ-ﻼ", Ld = "A-Za-zÀ-ÖØ-öø-ʸ̀-֐ࠀ-῿‎Ⰰ-﬜︀-﹯﻽-￿", fb = new RegExp("^[^" + Ld + "]*[" + $d + "]"), hb = new RegExp("^[^" + $d + "]*[" + Ld + "]");
11947
11947
  function mb(e) {
11948
11948
  return e = String(e || ""), fb.test(e) ? "rtl" : hb.test(e) ? "ltr" : "neutral";
11949
11949
  }
@@ -11975,11 +11975,11 @@ function Nb(e) {
11975
11975
  var i = Pb.call(e);
11976
11976
  return r && (t ? e[Fr] = n : delete e[Fr]), i;
11977
11977
  }
11978
- var Mb = Nb, Rb = Object.prototype, $b = Rb.toString;
11979
- function Ib(e) {
11980
- return $b.call(e);
11978
+ var Mb = Nb, Rb = Object.prototype, Ib = Rb.toString;
11979
+ function $b(e) {
11980
+ return Ib.call(e);
11981
11981
  }
11982
- var Lb = Ib, hl = Wd, zb = Mb, qb = Lb, Wb = "[object Null]", Ub = "[object Undefined]", ml = hl ? hl.toStringTag : void 0;
11982
+ var Lb = $b, hl = Wd, zb = Mb, qb = Lb, Wb = "[object Null]", Ub = "[object Undefined]", ml = hl ? hl.toStringTag : void 0;
11983
11983
  function Hb(e) {
11984
11984
  return e == null ? e === void 0 ? Ub : Wb : ml && ml in Object(e) ? zb(e) : qb(e);
11985
11985
  }
@@ -12007,7 +12007,7 @@ function sy(e) {
12007
12007
  var n = ry.test(e);
12008
12008
  return n || iy.test(e) ? ay(e.slice(2), n ? 2 : 8) : ny.test(e) ? gl : +e;
12009
12009
  }
12010
- var oy = sy, uy = vo, $a = Cb, vl = oy, ly = "Expected a function", cy = Math.max, dy = Math.min;
12010
+ var oy = sy, uy = vo, Ia = Cb, vl = oy, ly = "Expected a function", cy = Math.max, dy = Math.min;
12011
12011
  function fy(e, t, n) {
12012
12012
  var r, i, a, s, o, l, u = 0, d = !1, h = !1, m = !0;
12013
12013
  if (typeof e != "function")
@@ -12029,7 +12029,7 @@ function fy(e, t, n) {
12029
12029
  return l === void 0 || S >= t || S < 0 || h && L >= a;
12030
12030
  }
12031
12031
  function v() {
12032
- var C = $a();
12032
+ var C = Ia();
12033
12033
  if (b(C))
12034
12034
  return w(C);
12035
12035
  o = setTimeout(v, f(C));
@@ -12041,10 +12041,10 @@ function fy(e, t, n) {
12041
12041
  o !== void 0 && clearTimeout(o), u = 0, r = l = i = o = void 0;
12042
12042
  }
12043
12043
  function B() {
12044
- return o === void 0 ? s : w($a());
12044
+ return o === void 0 ? s : w(Ia());
12045
12045
  }
12046
12046
  function D() {
12047
- var C = $a(), S = b(C);
12047
+ var C = Ia(), S = b(C);
12048
12048
  if (r = arguments, i = this, l = C, S) {
12049
12049
  if (o === void 0)
12050
12050
  return g(l);
@@ -12069,7 +12069,7 @@ function vy(e, t, n) {
12069
12069
  });
12070
12070
  }
12071
12071
  var by = vy;
12072
- const yy = /* @__PURE__ */ Mn(by), bl = (e) => typeof e == "object" && e != null && e.nodeType === 1, yl = (e, t) => (!t || e !== "hidden") && e !== "visible" && e !== "clip", Ia = (e, t) => {
12072
+ const yy = /* @__PURE__ */ Mn(by), bl = (e) => typeof e == "object" && e != null && e.nodeType === 1, yl = (e, t) => (!t || e !== "hidden") && e !== "visible" && e !== "clip", $a = (e, t) => {
12073
12073
  if (e.clientHeight < e.scrollHeight || e.clientWidth < e.scrollWidth) {
12074
12074
  const n = getComputedStyle(e, null);
12075
12075
  return yl(n.overflowY, t) || yl(n.overflowX, t) || ((r) => {
@@ -12103,17 +12103,17 @@ const yy = /* @__PURE__ */ Mn(by), bl = (e) => typeof e == "object" && e != null
12103
12103
  p.push(g);
12104
12104
  break;
12105
12105
  }
12106
- g != null && g === document.body && Ia(g) && !Ia(document.documentElement) || g != null && Ia(g, d) && p.push(g);
12106
+ g != null && g === document.body && $a(g) && !$a(document.documentElement) || g != null && $a(g, d) && p.push(g);
12107
12107
  }
12108
- 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: w } = window, { height: E, width: B, top: D, right: C, bottom: S, left: L } = e.getBoundingClientRect(), { top: O, right: z, bottom: $, left: A } = ((W) => {
12108
+ 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: w } = window, { height: E, width: B, top: D, right: C, bottom: S, left: L } = e.getBoundingClientRect(), { top: O, right: z, bottom: I, left: A } = ((W) => {
12109
12109
  const U = window.getComputedStyle(W);
12110
12110
  return { top: parseFloat(U.scrollMarginTop) || 0, right: parseFloat(U.scrollMarginRight) || 0, bottom: parseFloat(U.scrollMarginBottom) || 0, left: parseFloat(U.scrollMarginLeft) || 0 };
12111
12111
  })(e);
12112
- let _ = o === "start" || o === "nearest" ? D - O : o === "end" ? S + $ : D + E / 2 - O + $, T = l === "center" ? L + B / 2 - A + z : l === "end" ? C + z : L - A;
12112
+ let _ = o === "start" || o === "nearest" ? D - O : o === "end" ? S + I : D + E / 2 - O + I, T = l === "center" ? L + B / 2 - A + z : l === "end" ? C + z : L - A;
12113
12113
  const R = [];
12114
12114
  for (let W = 0; W < p.length; W++) {
12115
- const U = p[W], { height: ne, width: re, top: x, right: I, bottom: ie, left: F } = U.getBoundingClientRect();
12116
- if (s === "if-needed" && D >= 0 && L >= 0 && S <= b && C <= f && D >= x && S <= ie && L >= F && C <= I)
12115
+ const U = p[W], { height: ne, width: re, top: x, right: $, bottom: ie, left: F } = U.getBoundingClientRect();
12116
+ if (s === "if-needed" && D >= 0 && L >= 0 && S <= b && C <= f && D >= x && S <= ie && L >= F && C <= $)
12117
12117
  return R;
12118
12118
  const k = getComputedStyle(U), P = parseInt(k.borderLeftWidth, 10), j = parseInt(k.borderTopWidth, 10), q = parseInt(k.borderRightWidth, 10), J = parseInt(k.borderBottomWidth, 10);
12119
12119
  let H = 0, ee = 0;
@@ -12121,7 +12121,7 @@ const yy = /* @__PURE__ */ Mn(by), bl = (e) => typeof e == "object" && e != null
12121
12121
  if (m === U)
12122
12122
  H = o === "start" ? _ : o === "end" ? _ - b : o === "nearest" ? hi(w, w + b, b, j, J, w + _, w + _ + E, E) : _ - b / 2, ee = l === "start" ? T : l === "center" ? T - f / 2 : l === "end" ? T - f : hi(v, v + f, f, P, q, v + T, v + T + B, B), H = Math.max(0, H + w), ee = Math.max(0, ee + v);
12123
12123
  else {
12124
- H = o === "start" ? _ - x - j : o === "end" ? _ - ie + J + G : o === "nearest" ? hi(x, ie, ne, j, J + G, _, _ + E, E) : _ - (x + ne / 2) + G / 2, ee = l === "start" ? T - F - P : l === "center" ? T - (F + re / 2) + le / 2 : l === "end" ? T - I + q + le : hi(F, I, re, P, q + le, T, T + B, B);
12124
+ H = o === "start" ? _ - x - j : o === "end" ? _ - ie + J + G : o === "nearest" ? hi(x, ie, ne, j, J + G, _, _ + E, E) : _ - (x + ne / 2) + G / 2, ee = l === "start" ? T - F - P : l === "center" ? T - (F + re / 2) + le / 2 : l === "end" ? T - $ + q + le : hi(F, $, re, P, q + le, T, T + B, B);
12125
12125
  const { scrollLeft: Fe, scrollTop: Ne } = U;
12126
12126
  H = ge === 0 ? 0 : Math.max(0, Math.min(Ne + H / ge, U.scrollHeight - ne / ge + G)), ee = be === 0 ? 0 : Math.max(0, Math.min(Fe + ee / be, U.scrollWidth - re / be + le)), _ += Ne - H, T += Fe - ee;
12127
12127
  }
@@ -12230,9 +12230,9 @@ var Tn = function(e) {
12230
12230
  return mi.get(e);
12231
12231
  if (Kd(e))
12232
12232
  return mi.set(e, El), El;
12233
- var n = getComputedStyle(e), r = bo(e) && e.ownerSVGElement && e.getBBox(), i = !By && n.boxSizing === "border-box", a = Ay.test(n.writingMode || ""), s = !r && Cl.test(n.overflowY || ""), o = !r && Cl.test(n.overflowX || ""), l = r ? 0 : Wt(n.paddingTop), u = r ? 0 : Wt(n.paddingRight), d = r ? 0 : Wt(n.paddingBottom), h = r ? 0 : Wt(n.paddingLeft), m = r ? 0 : Wt(n.borderTopWidth), p = r ? 0 : Wt(n.borderRightWidth), g = r ? 0 : Wt(n.borderBottomWidth), f = r ? 0 : Wt(n.borderLeftWidth), b = h + u, v = l + d, w = f + p, E = m + g, B = o ? e.offsetHeight - E - e.clientHeight : 0, D = s ? e.offsetWidth - w - e.clientWidth : 0, C = i ? b + w : 0, S = i ? v + E : 0, L = r ? r.width : Wt(n.width) - C - D, O = r ? r.height : Wt(n.height) - S - B, z = L + b + D + w, $ = O + v + B + E, A = Tn({
12233
+ var n = getComputedStyle(e), r = bo(e) && e.ownerSVGElement && e.getBBox(), i = !By && n.boxSizing === "border-box", a = Ay.test(n.writingMode || ""), s = !r && Cl.test(n.overflowY || ""), o = !r && Cl.test(n.overflowX || ""), l = r ? 0 : Wt(n.paddingTop), u = r ? 0 : Wt(n.paddingRight), d = r ? 0 : Wt(n.paddingBottom), h = r ? 0 : Wt(n.paddingLeft), m = r ? 0 : Wt(n.borderTopWidth), p = r ? 0 : Wt(n.borderRightWidth), g = r ? 0 : Wt(n.borderBottomWidth), f = r ? 0 : Wt(n.borderLeftWidth), b = h + u, v = l + d, w = f + p, E = m + g, B = o ? e.offsetHeight - E - e.clientHeight : 0, D = s ? e.offsetWidth - w - e.clientWidth : 0, C = i ? b + w : 0, S = i ? v + E : 0, L = r ? r.width : Wt(n.width) - C - D, O = r ? r.height : Wt(n.height) - S - B, z = L + b + D + w, I = O + v + B + E, A = Tn({
12234
12234
  devicePixelContentBoxSize: rr(Math.round(L * devicePixelRatio), Math.round(O * devicePixelRatio), a),
12235
- borderBoxSize: rr(z, $, a),
12235
+ borderBoxSize: rr(z, I, a),
12236
12236
  contentBoxSize: rr(L, O, a),
12237
12237
  contentRect: new Vd(h, l, L, O)
12238
12238
  });
@@ -12308,7 +12308,7 @@ var Tn = function(e) {
12308
12308
  });
12309
12309
  }, Bi = 0, My = function() {
12310
12310
  return !!Bi;
12311
- }, Ry = 250, $y = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, kl = [
12311
+ }, Ry = 250, Iy = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, kl = [
12312
12312
  "resize",
12313
12313
  "load",
12314
12314
  "transitionend",
@@ -12325,7 +12325,7 @@ var Tn = function(e) {
12325
12325
  "focus"
12326
12326
  ], Fl = function(e) {
12327
12327
  return e === void 0 && (e = 0), Date.now() + e;
12328
- }, za = !1, Iy = function() {
12328
+ }, za = !1, $y = function() {
12329
12329
  function e() {
12330
12330
  var t = this;
12331
12331
  this.stopped = !0, this.listener = function() {
@@ -12352,7 +12352,7 @@ var Tn = function(e) {
12352
12352
  this.stop(), this.run();
12353
12353
  }, e.prototype.observe = function() {
12354
12354
  var t = this, n = function() {
12355
- return t.observer && t.observer.observe(document.body, $y);
12355
+ return t.observer && t.observer.observe(document.body, Iy);
12356
12356
  };
12357
12357
  document.body ? n() : Pr.addEventListener("DOMContentLoaded", n);
12358
12358
  }, e.prototype.start = function() {
@@ -12366,7 +12366,7 @@ var Tn = function(e) {
12366
12366
  return Pr.removeEventListener(n, t.listener, !0);
12367
12367
  }), this.stopped = !0);
12368
12368
  }, e;
12369
- }(), Os = new Iy(), Al = function(e) {
12369
+ }(), Os = new $y(), Al = function(e) {
12370
12370
  !Bi && e > 0 && Os.start(), Bi += e, !Bi && Os.stop();
12371
12371
  }, Ly = function(e) {
12372
12372
  return !bo(e) && !Fy(e) && getComputedStyle(e).display === "inline";
@@ -12623,13 +12623,13 @@ function Mt(e, t, n) {
12623
12623
  }) : e[t] = n, e;
12624
12624
  }
12625
12625
  var xo = /* @__PURE__ */ kt(null), wn = () => {
12626
- var e = $e(xo);
12626
+ var e = Ie(xo);
12627
12627
  if (!e)
12628
12628
  throw new Error("The `useSlateStatic` hook must be used inside the <Slate> component's context.");
12629
12629
  return e;
12630
12630
  }, nf = parseInt(te.version.split(".")[0], 10), Qy = typeof navigator < "u" && typeof window < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream, Tl = typeof navigator < "u" && /Mac OS X/.test(navigator.userAgent), bt = typeof navigator < "u" && /Android/.test(navigator.userAgent), er = typeof navigator < "u" && /^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent), Sr = typeof navigator < "u" && /AppleWebKit(?!.*Chrome)/i.test(navigator.userAgent), Jy = typeof navigator < "u" && /Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent), rf = typeof navigator < "u" && /Chrome/i.test(navigator.userAgent), Xy = typeof navigator < "u" && /Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent), e1 = bt && typeof navigator < "u" && /Chrome?\/(?:[0-5]?\d)(?:\.)/i.test(navigator.userAgent), t1 = typeof navigator < "u" && /^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent), n1 = typeof navigator < "u" && /.*UCBrowser/.test(navigator.userAgent), r1 = typeof navigator < "u" && /.*Wechat/.test(navigator.userAgent) && !/.*MacWechat/.test(navigator.userAgent), Ti = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", fn = (!Xy || !e1) && !Jy && // globalThis is undefined in older browsers
12631
12631
  typeof globalThis < "u" && globalThis.InputEvent && // @ts-ignore The `getTargetRanges` property isn't recognized.
12632
- typeof globalThis.InputEvent.prototype.getTargetRanges == "function", wo = /* @__PURE__ */ new WeakMap(), Co = /* @__PURE__ */ new WeakMap(), af = /* @__PURE__ */ new WeakMap(), Si = /* @__PURE__ */ new WeakMap(), Ps = /* @__PURE__ */ new WeakMap(), Zr = /* @__PURE__ */ new WeakMap(), Sn = /* @__PURE__ */ new WeakMap(), Yi = /* @__PURE__ */ new WeakMap(), fa = /* @__PURE__ */ new WeakMap(), Ns = /* @__PURE__ */ new WeakMap(), bn = /* @__PURE__ */ new WeakMap(), Fn = /* @__PURE__ */ new WeakMap(), Nr = /* @__PURE__ */ new WeakMap(), Ms = /* @__PURE__ */ new WeakMap(), Eo = /* @__PURE__ */ new WeakMap(), It = /* @__PURE__ */ new WeakMap(), nn = /* @__PURE__ */ new WeakMap(), Ct = /* @__PURE__ */ new WeakMap(), mn = /* @__PURE__ */ new WeakMap(), pn = /* @__PURE__ */ new WeakMap(), sf = /* @__PURE__ */ new WeakMap(), cr = Symbol("placeholder"), of = Symbol("mark-placeholder"), i1 = globalThis.Text, _o = (e) => e && e.ownerDocument && e.ownerDocument.defaultView || null, a1 = (e) => Dn(e) && e.nodeType === 8, Nt = (e) => Dn(e) && e.nodeType === 1, Dn = (e) => {
12632
+ typeof globalThis.InputEvent.prototype.getTargetRanges == "function", wo = /* @__PURE__ */ new WeakMap(), Co = /* @__PURE__ */ new WeakMap(), af = /* @__PURE__ */ new WeakMap(), Si = /* @__PURE__ */ new WeakMap(), Ps = /* @__PURE__ */ new WeakMap(), Zr = /* @__PURE__ */ new WeakMap(), Sn = /* @__PURE__ */ new WeakMap(), Yi = /* @__PURE__ */ new WeakMap(), fa = /* @__PURE__ */ new WeakMap(), Ns = /* @__PURE__ */ new WeakMap(), bn = /* @__PURE__ */ new WeakMap(), Fn = /* @__PURE__ */ new WeakMap(), Nr = /* @__PURE__ */ new WeakMap(), Ms = /* @__PURE__ */ new WeakMap(), Eo = /* @__PURE__ */ new WeakMap(), $t = /* @__PURE__ */ new WeakMap(), nn = /* @__PURE__ */ new WeakMap(), Ct = /* @__PURE__ */ new WeakMap(), mn = /* @__PURE__ */ new WeakMap(), pn = /* @__PURE__ */ new WeakMap(), sf = /* @__PURE__ */ new WeakMap(), cr = Symbol("placeholder"), of = Symbol("mark-placeholder"), i1 = globalThis.Text, _o = (e) => e && e.ownerDocument && e.ownerDocument.defaultView || null, a1 = (e) => Dn(e) && e.nodeType === 8, Nt = (e) => Dn(e) && e.nodeType === 1, Dn = (e) => {
12633
12633
  var t = _o(e);
12634
12634
  return !!t && e instanceof t.Node;
12635
12635
  }, Rs = (e) => {
@@ -12980,11 +12980,11 @@ var X = {
12980
12980
  })) {
12981
12981
  var O = X.toSlateNode(e, L), {
12982
12982
  path: z,
12983
- offset: $
12983
+ offset: I
12984
12984
  } = y.start(e, X.findPath(e, O));
12985
- return L.querySelector("[data-slate-leaf]") || ($ = s), {
12985
+ return L.querySelector("[data-slate-leaf]") || (I = s), {
12986
12986
  path: z,
12987
- offset: $
12987
+ offset: I
12988
12988
  };
12989
12989
  }
12990
12990
  }
@@ -13125,7 +13125,7 @@ function b1(e) {
13125
13125
  }
13126
13126
  };
13127
13127
  }
13128
- function $s(e, t) {
13128
+ function Is(e, t) {
13129
13129
  var {
13130
13130
  path: n,
13131
13131
  offset: r
@@ -13156,7 +13156,7 @@ function $s(e, t) {
13156
13156
  };
13157
13157
  }
13158
13158
  function Sl(e, t) {
13159
- var n = $s(e, t.anchor);
13159
+ var n = Is(e, t.anchor);
13160
13160
  if (!n)
13161
13161
  return null;
13162
13162
  if (Y.isCollapsed(t))
@@ -13164,13 +13164,13 @@ function Sl(e, t) {
13164
13164
  anchor: n,
13165
13165
  focus: n
13166
13166
  };
13167
- var r = $s(e, t.focus);
13167
+ var r = Is(e, t.focus);
13168
13168
  return r ? {
13169
13169
  anchor: n,
13170
13170
  focus: r
13171
13171
  } : null;
13172
13172
  }
13173
- function Is(e, t, n) {
13173
+ function $s(e, t, n) {
13174
13174
  var r = Ct.get(e), i = r == null ? void 0 : r.find((d) => {
13175
13175
  var {
13176
13176
  path: h
@@ -13208,7 +13208,7 @@ function Is(e, t, n) {
13208
13208
  } : null;
13209
13209
  }
13210
13210
  function jl(e, t, n) {
13211
- var r = Is(e, t.anchor, n);
13211
+ var r = $s(e, t.anchor, n);
13212
13212
  if (!r)
13213
13213
  return null;
13214
13214
  if (Y.isCollapsed(t))
@@ -13216,7 +13216,7 @@ function jl(e, t, n) {
13216
13216
  anchor: r,
13217
13217
  focus: r
13218
13218
  };
13219
- var i = Is(e, t.focus, n);
13219
+ var i = $s(e, t.focus, n);
13220
13220
  return i ? {
13221
13221
  anchor: r,
13222
13222
  focus: i
@@ -13353,7 +13353,7 @@ function E1(e) {
13353
13353
  var A = mn.get(t);
13354
13354
  if (mn.delete(t), !!A) {
13355
13355
  if (A.at) {
13356
- var _ = Be.isPoint(A.at) ? $s(t, A.at) : Sl(t, A.at);
13356
+ var _ = Be.isPoint(A.at) ? Is(t, A.at) : Sl(t, A.at);
13357
13357
  if (!_)
13358
13358
  return;
13359
13359
  var T = y.range(t, _);
@@ -13372,13 +13372,13 @@ function E1(e) {
13372
13372
  });
13373
13373
  nn.set(t, t.marks), w1("flush", mn.get(t), Ct.get(t));
13374
13374
  for (var _ = B(), T; T = (R = Ct.get(t)) === null || R === void 0 ? void 0 : R[0]; ) {
13375
- var R, W, U = It.get(t);
13376
- U !== void 0 && (It.delete(t), t.marks = U), U && u === !1 && (u = null);
13375
+ var R, W, U = $t.get(t);
13376
+ U !== void 0 && ($t.delete(t), t.marks = U), U && u === !1 && (u = null);
13377
13377
  var ne = b1(T);
13378
- (!t.selection || !Y.equals(t.selection, ne)) && Q.select(t, ne), T.diff.text ? y.insertText(t, T.diff.text) : y.deleteFragment(t), Ct.set(t, (W = Ct.get(t)) === null || W === void 0 ? void 0 : W.filter((I) => {
13378
+ (!t.selection || !Y.equals(t.selection, ne)) && Q.select(t, ne), T.diff.text ? y.insertText(t, T.diff.text) : y.deleteFragment(t), Ct.set(t, (W = Ct.get(t)) === null || W === void 0 ? void 0 : W.filter(($) => {
13379
13379
  var {
13380
13380
  id: ie
13381
- } = I;
13381
+ } = $;
13382
13382
  return ie !== T.id;
13383
13383
  })), m1(t, T) || (_ = !1, mn.delete(t), nn.delete(t), i = "action", pn.delete(t), n.cancel(), r.cancel(), A == null || A.unref());
13384
13384
  }
@@ -13454,10 +13454,10 @@ function E1(e) {
13454
13454
  var x = !0;
13455
13455
  if (T.startsWith("delete")) {
13456
13456
  if (Y.isExpanded(R)) {
13457
- var [I, ie] = Y.edges(R), F = oe.leaf(t, I.path);
13458
- if (F.text.length === I.offset && ie.offset === 0) {
13457
+ var [$, ie] = Y.edges(R), F = oe.leaf(t, $.path);
13458
+ if (F.text.length === $.offset && ie.offset === 0) {
13459
13459
  var k = y.next(t, {
13460
- at: I.path,
13460
+ at: $.path,
13461
13461
  match: me.isText
13462
13462
  });
13463
13463
  k && M.equals(k[1], ie.path) && (R = {
@@ -13594,7 +13594,7 @@ function E1(e) {
13594
13594
  at: R
13595
13595
  });
13596
13596
  var ve = W ?? "";
13597
- if (It.get(t) && (ve = ve.replace("\uFEFF", "")), T === "insertText" && /.*\n.*\n$/.test(ve) && (ve = ve.slice(0, -1)), ve.includes(`
13597
+ if ($t.get(t) && (ve = ve.replace("\uFEFF", "")), T === "insertText" && /.*\n.*\n$/.test(ve) && (ve = ve.slice(0, -1)), ve.includes(`
13598
13598
  `))
13599
13599
  return v(() => {
13600
13600
  var ye = ve.split(`
@@ -13647,7 +13647,7 @@ function E1(e) {
13647
13647
  B() || (f(!0), setTimeout(f));
13648
13648
  }, z = () => {
13649
13649
  E() || (o = setTimeout(m));
13650
- }, $ = (A) => {
13650
+ }, I = (A) => {
13651
13651
  if (!(B() || E()) && A.some((T) => ko(t, T, A))) {
13652
13652
  var _;
13653
13653
  (_ = sf.get(t)) === null || _ === void 0 || _();
@@ -13665,7 +13665,7 @@ function E1(e) {
13665
13665
  handleCompositionStart: g,
13666
13666
  handleDOMBeforeInput: w,
13667
13667
  handleKeyDown: O,
13668
- handleDomMutations: $,
13668
+ handleDomMutations: I,
13669
13669
  handleInput: L
13670
13670
  };
13671
13671
  }
@@ -13795,10 +13795,10 @@ var R1 = (e) => {
13795
13795
  return Yr(() => {
13796
13796
  var s = i();
13797
13797
  r.current && r.current.textContent !== s && (r.current.textContent = s);
13798
- }), /* @__PURE__ */ te.createElement($1, {
13798
+ }), /* @__PURE__ */ te.createElement(I1, {
13799
13799
  ref: r
13800
13800
  }, a);
13801
- }, $1 = /* @__PURE__ */ Jt(/* @__PURE__ */ Ys((e, t) => /* @__PURE__ */ te.createElement("span", {
13801
+ }, I1 = /* @__PURE__ */ Jt(/* @__PURE__ */ Ys((e, t) => /* @__PURE__ */ te.createElement("span", {
13802
13802
  "data-slate-string": !0,
13803
13803
  ref: t
13804
13804
  }, e.children))), Ua = (e) => {
@@ -13833,11 +13833,11 @@ function mf(e) {
13833
13833
  }
13834
13834
  return e;
13835
13835
  }
13836
- var I1 = bt ? 300 : 0;
13836
+ var $1 = bt ? 300 : 0;
13837
13837
  function L1(e, t) {
13838
13838
  e.current && (e.current.disconnect(), t && (e.current = null));
13839
13839
  }
13840
- function $l(e) {
13840
+ function Il(e) {
13841
13841
  e.current && (clearTimeout(e.current), e.current = null);
13842
13842
  }
13843
13843
  var z1 = (e) => {
@@ -13870,7 +13870,7 @@ var z1 = (e) => {
13870
13870
  }), f = !!t[cr];
13871
13871
  if (de(() => (f ? m.current || (m.current = setTimeout(() => {
13872
13872
  h(!0), m.current = null;
13873
- }, I1)) : ($l(m), h(!1)), () => $l(m)), [f, h]), f && d) {
13873
+ }, $1)) : (Il(m), h(!1)), () => Il(m)), [f, h]), f && d) {
13874
13874
  var b = {
13875
13875
  children: t.placeholder,
13876
13876
  attributes: {
@@ -13938,7 +13938,7 @@ var z1 = (e) => {
13938
13938
  ref: g
13939
13939
  }, h);
13940
13940
  }, pf = /* @__PURE__ */ te.memo(U1, (e, t) => t.parent === e.parent && t.isLast === e.isLast && t.renderLeaf === e.renderLeaf && t.renderPlaceholder === e.renderPlaceholder && t.text === e.text && N1(t.decorations, e.decorations));
13941
- function Il(e, t) {
13941
+ function $l(e, t) {
13942
13942
  var n = Object.keys(e);
13943
13943
  if (Object.getOwnPropertySymbols) {
13944
13944
  var r = Object.getOwnPropertySymbols(e);
@@ -13951,9 +13951,9 @@ function Il(e, t) {
13951
13951
  function Ls(e) {
13952
13952
  for (var t = 1; t < arguments.length; t++) {
13953
13953
  var n = arguments[t] != null ? arguments[t] : {};
13954
- t % 2 ? Il(Object(n), !0).forEach(function(r) {
13954
+ t % 2 ? $l(Object(n), !0).forEach(function(r) {
13955
13955
  Mt(e, r, n[r]);
13956
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Il(Object(n)).forEach(function(r) {
13956
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $l(Object(n)).forEach(function(r) {
13957
13957
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
13958
13958
  });
13959
13959
  }
@@ -14020,7 +14020,7 @@ var H1 = (e) => {
14020
14020
  position: "relative"
14021
14021
  }
14022
14022
  }), n);
14023
- }, gf = /* @__PURE__ */ kt(() => []), Z1 = () => $e(gf), Y1 = /* @__PURE__ */ kt(!1), vf = (e) => {
14023
+ }, gf = /* @__PURE__ */ kt(() => []), Z1 = () => Ie(gf), Y1 = /* @__PURE__ */ kt(!1), vf = (e) => {
14024
14024
  for (var {
14025
14025
  decorations: t,
14026
14026
  node: n,
@@ -14056,8 +14056,8 @@ var H1 = (e) => {
14056
14056
  })), wo.set(g, m), Co.set(g, n);
14057
14057
  }
14058
14058
  return d;
14059
- }, bf = /* @__PURE__ */ kt(!1), G1 = () => $e(bf), yf = /* @__PURE__ */ kt(null), zn = () => {
14060
- var e = $e(yf);
14059
+ }, bf = /* @__PURE__ */ kt(!1), G1 = () => Ie(bf), yf = /* @__PURE__ */ kt(null), zn = () => {
14060
+ var e = Ie(yf);
14061
14061
  if (!e)
14062
14062
  throw new Error("The `useSlate` hook must be used inside the <Slate> component's context.");
14063
14063
  var {
@@ -14265,7 +14265,7 @@ var oD = (e) => /* @__PURE__ */ te.createElement(te.Fragment, null, vf(e)), uD =
14265
14265
  de(() => {
14266
14266
  w.current && n && w.current.focus();
14267
14267
  }, [n]);
14268
- var z = ke(), $ = Zt(() => yy(() => {
14268
+ var z = ke(), I = Zt(() => yy(() => {
14269
14269
  var k = z.current;
14270
14270
  if ((bt || !X.isComposing(f)) && (!O.isUpdatingSelection || k != null && k.isFlushing()) && !O.isDraggingInternally) {
14271
14271
  var P = X.findDocumentOrShadowRoot(f), {
@@ -14286,10 +14286,10 @@ var oD = (e) => /* @__PURE__ */ te.createElement(te.Fragment, null, vf(e)), uD =
14286
14286
  }
14287
14287
  s && (!le || !G) && Q.deselect(f);
14288
14288
  }
14289
- }, 100), [f, s, O]), A = Zt(() => hy($, 0), [$]);
14289
+ }, 100), [f, s, O]), A = Zt(() => hy(I, 0), [I]);
14290
14290
  z.current = T1({
14291
14291
  node: w,
14292
- onDOMSelectionChange: $,
14292
+ onDOMSelectionChange: I,
14293
14293
  scheduleOnDOMSelectionChange: A
14294
14294
  }), Yr(() => {
14295
14295
  var k, P, j;
@@ -14365,7 +14365,7 @@ var oD = (e) => /* @__PURE__ */ te.createElement(te.Fragment, null, vf(e)), uD =
14365
14365
  var P;
14366
14366
  if (z.current)
14367
14367
  return z.current.handleDOMBeforeInput(k);
14368
- A.flush(), $.flush();
14368
+ A.flush(), I.flush();
14369
14369
  var {
14370
14370
  selection: j
14371
14371
  } = f, {
@@ -14501,9 +14501,9 @@ var oD = (e) => /* @__PURE__ */ te.createElement(te.Fragment, null, vf(e)), uD =
14501
14501
  var K = (P = Nr.get(f)) === null || P === void 0 ? void 0 : P.unref();
14502
14502
  Nr.delete(f), K && (!f.selection || !Y.equals(f.selection, K)) && Q.select(f, K);
14503
14503
  }
14504
- }, [f, $, C, i, s, A]), T = Re((k) => {
14505
- k == null ? ($.cancel(), A.cancel(), Si.delete(f), Sn.delete(f), w.current && fn && w.current.removeEventListener("beforeinput", _)) : fn && k.addEventListener("beforeinput", _), w.current = k;
14506
- }, [$, A, f, _]);
14504
+ }, [f, I, C, i, s, A]), T = Re((k) => {
14505
+ k == null ? (I.cancel(), A.cancel(), Si.delete(f), Sn.delete(f), w.current && fn && w.current.removeEventListener("beforeinput", _)) : fn && k.addEventListener("beforeinput", _), w.current = k;
14506
+ }, [I, A, f, _]);
14507
14507
  Yr(() => {
14508
14508
  var k = X.getWindow(f);
14509
14509
  return k.document.addEventListener("selectionchange", A), () => {
@@ -14533,8 +14533,8 @@ var oD = (e) => /* @__PURE__ */ te.createElement(te.Fragment, null, vf(e)), uD =
14533
14533
  if (O.hasMarkPlaceholder = !1, f.selection && Y.isCollapsed(f.selection) && re) {
14534
14534
  var {
14535
14535
  anchor: x
14536
- } = f.selection, I = oe.leaf(f, x.path), ie = lr(I, sD);
14537
- if (!me.equals(I, re, {
14536
+ } = f.selection, $ = oe.leaf(f, x.path), ie = lr($, sD);
14537
+ if (!me.equals($, re, {
14538
14538
  loose: !0
14539
14539
  })) {
14540
14540
  O.hasMarkPlaceholder = !0;
@@ -14559,11 +14559,11 @@ var oD = (e) => /* @__PURE__ */ te.createElement(te.Fragment, null, vf(e)), uD =
14559
14559
  if (re && !me.equals(j, re, {
14560
14560
  loose: !0
14561
14561
  })) {
14562
- It.set(f, re);
14562
+ $t.set(f, re);
14563
14563
  return;
14564
14564
  }
14565
14565
  }
14566
- It.delete(f);
14566
+ $t.delete(f);
14567
14567
  });
14568
14568
  }), /* @__PURE__ */ te.createElement(bf.Provider, {
14569
14569
  value: s
@@ -14682,8 +14682,8 @@ var oD = (e) => /* @__PURE__ */ te.createElement(te.Fragment, null, vf(e)), uD =
14682
14682
  }), (P = z.current) === null || P === void 0 || P.handleCompositionEnd(k), gt(k, g.onCompositionEnd) || bt)
14683
14683
  return;
14684
14684
  if (!Sr && !t1 && !Qy && !r1 && !n1 && k.data) {
14685
- var j = It.get(f);
14686
- It.delete(f), j !== void 0 && (nn.set(f, f.marks), f.marks = j), y.insertText(f, k.data);
14685
+ var j = $t.get(f);
14686
+ $t.delete(f), j !== void 0 && (nn.set(f, f.marks), f.marks = j), y.insertText(f, k.data);
14687
14687
  var q = nn.get(f);
14688
14688
  nn.delete(f), q !== void 0 && (f.marks = q);
14689
14689
  }
@@ -15087,10 +15087,10 @@ var yD = function(t) {
15087
15087
  } = r;
15088
15088
  return fa.set(r, /* @__PURE__ */ new WeakMap()), r.addMark = (u, d) => {
15089
15089
  var h, m;
15090
- (h = Eo.get(r)) === null || h === void 0 || h(), !It.get(r) && (m = Ct.get(r)) !== null && m !== void 0 && m.length && It.set(r, null), nn.delete(r), o(u, d);
15090
+ (h = Eo.get(r)) === null || h === void 0 || h(), !$t.get(r) && (m = Ct.get(r)) !== null && m !== void 0 && m.length && $t.set(r, null), nn.delete(r), o(u, d);
15091
15091
  }, r.removeMark = (u) => {
15092
15092
  var d;
15093
- !It.get(r) && (d = Ct.get(r)) !== null && d !== void 0 && d.length && It.set(r, null), nn.delete(r), l(u);
15093
+ !$t.get(r) && (d = Ct.get(r)) !== null && d !== void 0 && d.length && $t.set(r, null), nn.delete(r), l(u);
15094
15094
  }, r.deleteBackward = (u) => {
15095
15095
  if (u !== "line")
15096
15096
  return s(u);
@@ -15116,7 +15116,7 @@ var yD = function(t) {
15116
15116
  g && pn.set(r, jl(r, g, u));
15117
15117
  var f = mn.get(r);
15118
15118
  if (f != null && f.at) {
15119
- var b = Be.isPoint(f == null ? void 0 : f.at) ? Is(r, f.at, u) : jl(r, f.at, u);
15119
+ var b = Be.isPoint(f == null ? void 0 : f.at) ? $s(r, f.at, u) : jl(r, f.at, u);
15120
15120
  mn.set(r, b ? Hl(Hl({}, f), {}, {
15121
15121
  at: b
15122
15122
  }) : null);
@@ -15159,9 +15159,9 @@ var yD = function(t) {
15159
15159
  var [z] = y.node(r, L);
15160
15160
  Yi.set(z, O);
15161
15161
  }
15162
- for (var [$, A] of h)
15163
- if ($.current) {
15164
- var [_] = y.node(r, $.current);
15162
+ for (var [I, A] of h)
15163
+ if (I.current) {
15164
+ var [_] = y.node(r, I.current);
15165
15165
  Yi.set(_, A);
15166
15166
  }
15167
15167
  }, r.setFragmentData = (u) => {
@@ -15183,8 +15183,8 @@ var yD = function(t) {
15183
15183
  E.setEndAfter(B), b = E.cloneContents();
15184
15184
  }
15185
15185
  if (p && (v = b.querySelector("[data-slate-spacer]")), Array.from(b.querySelectorAll("[data-slate-zero-width]")).forEach((z) => {
15186
- var $ = z.getAttribute("data-slate-zero-width") === "n";
15187
- z.textContent = $ ? `
15186
+ var I = z.getAttribute("data-slate-zero-width") === "n";
15187
+ z.textContent = I ? `
15188
15188
  ` : "";
15189
15189
  }), uf(v)) {
15190
15190
  var D = v.ownerDocument.createElement("span");
@@ -15302,7 +15302,7 @@ const xD = ({
15302
15302
  anchor: { offset: 0, path: [0, 0] },
15303
15303
  focus: { offset: 0, path: [0, 0] }
15304
15304
  }, Vl = { "mention-popover": 35, default: -52 }, Ha = 16, wf = (e, t, n) => {
15305
- const r = ke(null), { showLinkEditor: i, mentionPopover: a } = $e(dn), s = t === "link-editor" ? i : a.show, o = [s];
15305
+ const r = ke(null), { showLinkEditor: i, mentionPopover: a } = Ie(dn), s = t === "link-editor" ? i : a.show, o = [s];
15306
15306
  return e && t === "link-editor" && o.push(e.selection), de(() => {
15307
15307
  var p, g;
15308
15308
  if (!(r != null && r.current) || !s)
@@ -15780,7 +15780,7 @@ class RD {
15780
15780
  */
15781
15781
  constructor(t) {
15782
15782
  let n;
15783
- t ? Us(t) ? n = { path: t } : typeof t == "string" || $D(t) ? n = { value: t } : n = t : n = {}, this.cwd = OD.cwd(), this.data = {}, this.history = [], this.messages = [], this.value, this.map, this.result, this.stored;
15783
+ t ? Us(t) ? n = { path: t } : typeof t == "string" || ID(t) ? n = { value: t } : n = t : n = {}, this.cwd = OD.cwd(), this.data = {}, this.history = [], this.messages = [], this.value, this.map, this.result, this.stored;
15784
15784
  let r = -1;
15785
15785
  for (; ++r < Ka.length; ) {
15786
15786
  const a = Ka[r];
@@ -16139,10 +16139,10 @@ function nc(e, t) {
16139
16139
  if (!e)
16140
16140
  throw new Error("Setting `" + t + "` requires `path` to be set too");
16141
16141
  }
16142
- function $D(e) {
16142
+ function ID(e) {
16143
16143
  return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
16144
16144
  }
16145
- const ID = (
16145
+ const $D = (
16146
16146
  /**
16147
16147
  * @type {new <Parameters extends Array<unknown>, Result>(property: string | symbol) => (...parameters: Parameters) => Result}
16148
16148
  */
@@ -16170,7 +16170,7 @@ const ID = (
16170
16170
  return a;
16171
16171
  }
16172
16172
  ), LD = {}.hasOwnProperty;
16173
- class Fo extends ID {
16173
+ class Fo extends $D {
16174
16174
  /**
16175
16175
  * Create a processor.
16176
16176
  */
@@ -17260,9 +17260,9 @@ function vx(e, t, n) {
17260
17260
  let O = 0;
17261
17261
  return z;
17262
17262
  function z(R) {
17263
- return C.enter("lineEnding"), C.consume(R), C.exit("lineEnding"), $;
17263
+ return C.enter("lineEnding"), C.consume(R), C.exit("lineEnding"), I;
17264
17264
  }
17265
- function $(R) {
17265
+ function I(R) {
17266
17266
  return C.enter("codeFencedFence"), Le(R) ? Ke(C, A, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(R) : A(R);
17267
17267
  }
17268
17268
  function A(R) {
@@ -17778,9 +17778,9 @@ function Mx(e, t, n) {
17778
17778
  }
17779
17779
  const Rx = {
17780
17780
  name: "hardBreakEscape",
17781
- tokenize: $x
17781
+ tokenize: Ix
17782
17782
  };
17783
- function $x(e, t, n) {
17783
+ function Ix(e, t, n) {
17784
17784
  return r;
17785
17785
  function r(a) {
17786
17786
  return e.enter("hardBreakEscape"), e.consume(a), i;
@@ -17789,7 +17789,7 @@ function $x(e, t, n) {
17789
17789
  return we(a) ? (e.exit("hardBreakEscape"), t(a)) : n(a);
17790
17790
  }
17791
17791
  }
17792
- const Ix = {
17792
+ const $x = {
17793
17793
  name: "headingAtx",
17794
17794
  tokenize: zx,
17795
17795
  resolve: Lx
@@ -17971,13 +17971,13 @@ function Kx(e, t, n) {
17971
17971
  return F === 47 || F === 62 || Le(F) ? E(F) : n(F);
17972
17972
  }
17973
17973
  function z(F) {
17974
- return F === 62 ? (e.consume(F), $) : n(F);
17974
+ return F === 62 ? (e.consume(F), I) : n(F);
17975
17975
  }
17976
- function $(F) {
17977
- return F === null || we(F) ? A(F) : Le(F) ? (e.consume(F), $) : n(F);
17976
+ function I(F) {
17977
+ return F === null || we(F) ? A(F) : Le(F) ? (e.consume(F), I) : n(F);
17978
17978
  }
17979
17979
  function A(F) {
17980
- return F === 45 && i === 2 ? (e.consume(F), W) : F === 60 && i === 1 ? (e.consume(F), U) : F === 62 && i === 4 ? (e.consume(F), I) : F === 63 && i === 3 ? (e.consume(F), x) : F === 93 && i === 5 ? (e.consume(F), re) : we(F) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(Ux, ie, _)(F)) : F === null || we(F) ? (e.exit("htmlFlowData"), _(F)) : (e.consume(F), A);
17980
+ return F === 45 && i === 2 ? (e.consume(F), W) : F === 60 && i === 1 ? (e.consume(F), U) : F === 62 && i === 4 ? (e.consume(F), $) : F === 63 && i === 3 ? (e.consume(F), x) : F === 93 && i === 5 ? (e.consume(F), re) : we(F) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(Ux, ie, _)(F)) : F === null || we(F) ? (e.exit("htmlFlowData"), _(F)) : (e.consume(F), A);
17981
17981
  }
17982
17982
  function _(F) {
17983
17983
  return e.check(Hx, T, ie)(F);
@@ -17997,7 +17997,7 @@ function Kx(e, t, n) {
17997
17997
  function ne(F) {
17998
17998
  if (F === 62) {
17999
17999
  const k = s.toLowerCase();
18000
- return hc.includes(k) ? (e.consume(F), I) : A(F);
18000
+ return hc.includes(k) ? (e.consume(F), $) : A(F);
18001
18001
  }
18002
18002
  return Kt(F) && s.length < 8 ? (e.consume(F), s += String.fromCharCode(F), ne) : A(F);
18003
18003
  }
@@ -18005,10 +18005,10 @@ function Kx(e, t, n) {
18005
18005
  return F === 93 ? (e.consume(F), x) : A(F);
18006
18006
  }
18007
18007
  function x(F) {
18008
- return F === 62 ? (e.consume(F), I) : F === 45 && i === 2 ? (e.consume(F), x) : A(F);
18008
+ return F === 62 ? (e.consume(F), $) : F === 45 && i === 2 ? (e.consume(F), x) : A(F);
18009
18009
  }
18010
- function I(F) {
18011
- return F === null || we(F) ? (e.exit("htmlFlowData"), ie(F)) : (e.consume(F), I);
18010
+ function $(F) {
18011
+ return F === null || we(F) ? (e.exit("htmlFlowData"), ie(F)) : (e.consume(F), $);
18012
18012
  }
18013
18013
  function ie(F) {
18014
18014
  return e.exit("htmlFlow"), t(F);
@@ -18060,8 +18060,8 @@ function Qx(e, t, n) {
18060
18060
  return x === 62 ? W(x) : x === 45 ? m(x) : h(x);
18061
18061
  }
18062
18062
  function g(x) {
18063
- const I = "CDATA[";
18064
- return x === I.charCodeAt(a++) ? (e.consume(x), a === I.length ? f : g) : n(x);
18063
+ const $ = "CDATA[";
18064
+ return x === $.charCodeAt(a++) ? (e.consume(x), a === $.length ? f : g) : n(x);
18065
18065
  }
18066
18066
  function f(x) {
18067
18067
  return x === null ? n(x) : x === 93 ? (e.consume(x), b) : we(x) ? (s = f, U(x)) : (e.consume(x), f);
@@ -18097,10 +18097,10 @@ function Qx(e, t, n) {
18097
18097
  return x === 47 ? (e.consume(x), W) : x === 58 || x === 95 || Kt(x) ? (e.consume(x), z) : we(x) ? (s = O, U(x)) : Le(x) ? (e.consume(x), O) : W(x);
18098
18098
  }
18099
18099
  function z(x) {
18100
- return x === 45 || x === 46 || x === 58 || x === 95 || Lt(x) ? (e.consume(x), z) : $(x);
18100
+ return x === 45 || x === 46 || x === 58 || x === 95 || Lt(x) ? (e.consume(x), z) : I(x);
18101
18101
  }
18102
- function $(x) {
18103
- return x === 61 ? (e.consume(x), A) : we(x) ? (s = $, U(x)) : Le(x) ? (e.consume(x), $) : O(x);
18102
+ function I(x) {
18103
+ return x === 61 ? (e.consume(x), A) : we(x) ? (s = I, U(x)) : Le(x) ? (e.consume(x), I) : O(x);
18104
18104
  }
18105
18105
  function A(x) {
18106
18106
  return x === null || x === 60 || x === 61 || x === 62 || x === 96 ? n(x) : x === 34 || x === 39 ? (e.consume(x), i = x, _) : we(x) ? (s = A, U(x)) : Le(x) ? (e.consume(x), A) : (e.consume(x), T);
@@ -18615,68 +18615,68 @@ function Aw(e, t, n) {
18615
18615
  };
18616
18616
  let d = t.tokenize.call(u, l);
18617
18617
  return t.resolveAll && a.push(t), u;
18618
- function h($) {
18619
- return s = Pt(s, $), b(), s[s.length - 1] !== null ? [] : (L(t, 0), u.events = Bo(a, u.events, u), u.events);
18618
+ function h(I) {
18619
+ return s = Pt(s, I), b(), s[s.length - 1] !== null ? [] : (L(t, 0), u.events = Bo(a, u.events, u), u.events);
18620
18620
  }
18621
- function m($, A) {
18622
- return Tw(p($), A);
18621
+ function m(I, A) {
18622
+ return Tw(p(I), A);
18623
18623
  }
18624
- function p($) {
18625
- return Bw(s, $);
18624
+ function p(I) {
18625
+ return Bw(s, I);
18626
18626
  }
18627
18627
  function g() {
18628
- const { line: $, column: A, offset: _, _index: T, _bufferIndex: R } = r;
18628
+ const { line: I, column: A, offset: _, _index: T, _bufferIndex: R } = r;
18629
18629
  return {
18630
- line: $,
18630
+ line: I,
18631
18631
  column: A,
18632
18632
  offset: _,
18633
18633
  _index: T,
18634
18634
  _bufferIndex: R
18635
18635
  };
18636
18636
  }
18637
- function f($) {
18638
- i[$.line] = $.column, z();
18637
+ function f(I) {
18638
+ i[I.line] = I.column, z();
18639
18639
  }
18640
18640
  function b() {
18641
- let $;
18641
+ let I;
18642
18642
  for (; r._index < s.length; ) {
18643
18643
  const A = s[r._index];
18644
18644
  if (typeof A == "string")
18645
- for ($ = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === $ && r._bufferIndex < A.length; )
18645
+ for (I = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === I && r._bufferIndex < A.length; )
18646
18646
  v(A.charCodeAt(r._bufferIndex));
18647
18647
  else
18648
18648
  v(A);
18649
18649
  }
18650
18650
  }
18651
- function v($) {
18652
- d = d($);
18651
+ function v(I) {
18652
+ d = d(I);
18653
18653
  }
18654
- function w($) {
18655
- we($) ? (r.line++, r.column = 1, r.offset += $ === -3 ? 2 : 1, z()) : $ !== -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 = $;
18654
+ function w(I) {
18655
+ we(I) ? (r.line++, r.column = 1, r.offset += I === -3 ? 2 : 1, z()) : 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;
18656
18656
  }
18657
- function E($, A) {
18657
+ function E(I, A) {
18658
18658
  const _ = A || {};
18659
- return _.type = $, _.start = g(), u.events.push(["enter", _, u]), o.push(_), _;
18659
+ return _.type = I, _.start = g(), u.events.push(["enter", _, u]), o.push(_), _;
18660
18660
  }
18661
- function B($) {
18661
+ function B(I) {
18662
18662
  const A = o.pop();
18663
18663
  return A.end = g(), u.events.push(["exit", A, u]), A;
18664
18664
  }
18665
- function D($, A) {
18666
- L($, A.from);
18665
+ function D(I, A) {
18666
+ L(I, A.from);
18667
18667
  }
18668
- function C($, A) {
18668
+ function C(I, A) {
18669
18669
  A.restore();
18670
18670
  }
18671
- function S($, A) {
18671
+ function S(I, A) {
18672
18672
  return _;
18673
18673
  function _(T, R, W) {
18674
18674
  let U, ne, re, x;
18675
18675
  return Array.isArray(T) ? ie(T) : "tokenize" in T ? (
18676
18676
  // @ts-expect-error Looks like a construct.
18677
18677
  ie([T])
18678
- ) : I(T);
18679
- function I(j) {
18678
+ ) : $(T);
18679
+ function $(j) {
18680
18680
  return q;
18681
18681
  function q(J) {
18682
18682
  const H = J !== null && j[J], ee = J !== null && j.null, le = [
@@ -18706,29 +18706,29 @@ function Aw(e, t, n) {
18706
18706
  }
18707
18707
  }
18708
18708
  function k(j) {
18709
- return $(re, x), R;
18709
+ return I(re, x), R;
18710
18710
  }
18711
18711
  function P(j) {
18712
18712
  return x.restore(), ++ne < U.length ? F(U[ne]) : W;
18713
18713
  }
18714
18714
  }
18715
18715
  }
18716
- function L($, A) {
18717
- $.resolveAll && !a.includes($) && a.push($), $.resolve && ln(
18716
+ function L(I, A) {
18717
+ I.resolveAll && !a.includes(I) && a.push(I), I.resolve && ln(
18718
18718
  u.events,
18719
18719
  A,
18720
18720
  u.events.length - A,
18721
- $.resolve(u.events.slice(A), u)
18722
- ), $.resolveTo && (u.events = $.resolveTo(u.events, u));
18721
+ I.resolve(u.events.slice(A), u)
18722
+ ), I.resolveTo && (u.events = I.resolveTo(u.events, u));
18723
18723
  }
18724
18724
  function O() {
18725
- const $ = g(), A = u.previous, _ = u.currentConstruct, T = u.events.length, R = Array.from(o);
18725
+ const I = g(), A = u.previous, _ = u.currentConstruct, T = u.events.length, R = Array.from(o);
18726
18726
  return {
18727
18727
  restore: W,
18728
18728
  from: T
18729
18729
  };
18730
18730
  function W() {
18731
- r = $, u.previous = A, u.currentConstruct = _, u.events.length = T, o = R, z();
18731
+ r = I, u.previous = A, u.currentConstruct = _, u.events.length = T, o = R, z();
18732
18732
  }
18733
18733
  }
18734
18734
  function z() {
@@ -18813,7 +18813,7 @@ const Sw = {
18813
18813
  [-1]: Xa,
18814
18814
  32: Xa
18815
18815
  }, Pw = {
18816
- 35: Ix,
18816
+ 35: $x,
18817
18817
  42: Oi,
18818
18818
  45: [mc, Oi],
18819
18819
  60: Wx,
@@ -18839,15 +18839,15 @@ const Sw = {
18839
18839
  96: wx
18840
18840
  }, Rw = {
18841
18841
  null: [Ks, Ew]
18842
- }, $w = {
18843
- null: [42, 95]
18844
18842
  }, Iw = {
18843
+ null: [42, 95]
18844
+ }, $w = {
18845
18845
  null: []
18846
18846
  }, Lw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
18847
18847
  __proto__: null,
18848
- attentionMarkers: $w,
18848
+ attentionMarkers: Iw,
18849
18849
  contentInitial: jw,
18850
- disable: Iw,
18850
+ disable: $w,
18851
18851
  document: Sw,
18852
18852
  flow: Pw,
18853
18853
  flowInitial: Ow,
@@ -19021,7 +19021,7 @@ function Zw(e) {
19021
19021
  image: l(U),
19022
19022
  label: re,
19023
19023
  labelText: ne,
19024
- lineEnding: $,
19024
+ lineEnding: I,
19025
19025
  link: l(W),
19026
19026
  listItem: l(),
19027
19027
  listOrdered: l(),
@@ -19029,7 +19029,7 @@ function Zw(e) {
19029
19029
  paragraph: l(),
19030
19030
  referenceString: k,
19031
19031
  resourceDestinationString: x,
19032
- resourceTitleString: I,
19032
+ resourceTitleString: $,
19033
19033
  resource: ie,
19034
19034
  setextHeading: l(L),
19035
19035
  setextHeadingLineSequence: S,
@@ -19268,7 +19268,7 @@ function Zw(e) {
19268
19268
  const se = this.stack.pop();
19269
19269
  se.value += this.sliceSerialize(K), se.position.end = hn(K.end);
19270
19270
  }
19271
- function $(K) {
19271
+ function I(K) {
19272
19272
  const se = this.stack[this.stack.length - 1];
19273
19273
  if (this.data.atHardBreak) {
19274
19274
  const pe = se.children[se.children.length - 1];
@@ -19326,7 +19326,7 @@ function Zw(e) {
19326
19326
  const K = this.resume(), se = this.stack[this.stack.length - 1];
19327
19327
  se.url = K;
19328
19328
  }
19329
- function I() {
19329
+ function $() {
19330
19330
  const K = this.resume(), se = this.stack[this.stack.length - 1];
19331
19331
  se.title = K;
19332
19332
  }
@@ -19745,7 +19745,7 @@ const Qw = function(t) {
19745
19745
  }
19746
19746
  qf(t, a, r);
19747
19747
  }
19748
- }, $f = (e, t, n, r) => {
19748
+ }, If = (e, t, n, r) => {
19749
19749
  var d;
19750
19750
  const { selectedUser: i, possibleUsers: a } = t, s = a[i];
19751
19751
  if (!s)
@@ -19768,7 +19768,7 @@ const Qw = function(t) {
19768
19768
  }) => {
19769
19769
  const { selection: a } = e;
19770
19770
  if (a && Y.isCollapsed(a)) {
19771
- const [s] = Y.edges(a), o = y.start(e, s.path), l = y.range(e, o, s), d = y.string(e, l).match($h);
19771
+ const [s] = Y.edges(a), o = y.start(e, s.path), l = y.range(e, o, s), d = y.string(e, l).match(Ih);
19772
19772
  if (d) {
19773
19773
  const h = d.index || 0, m = { path: s.path, offset: h }, p = { path: s.path, offset: h + d[0].length }, g = y.range(e, m, p), f = y.after(e, s), b = y.range(e, s, f);
19774
19774
  if (y.string(e, b).match(/^(\s|\.|,|\?|!|:|;|'|"|`|$)/)) {
@@ -19802,7 +19802,7 @@ const Qw = function(t) {
19802
19802
  }
19803
19803
  }
19804
19804
  ]);
19805
- }, If = (e) => {
19805
+ }, $f = (e) => {
19806
19806
  let t = document.body;
19807
19807
  if (e !== !1) {
19808
19808
  const n = document.getElementById(e);
@@ -19927,10 +19927,10 @@ const sC = ({
19927
19927
  onFallbackClick: e = () => {
19928
19928
  }
19929
19929
  }) => {
19930
- const t = ce(), n = zn(), { dispatch: r, isInOverlay: i, mentionPopover: a, id: s, onMention: o } = $e(dn), { show: l, selectedUser: u, possibleUsers: d } = a, h = wf(n, "mention-popover", `toolbar-${s}`);
19930
+ const t = ce(), n = zn(), { dispatch: r, isInOverlay: i, mentionPopover: a, id: s, onMention: o } = Ie(dn), { show: l, selectedUser: u, possibleUsers: d } = a, h = wf(n, "mention-popover", `toolbar-${s}`);
19931
19931
  if (!l)
19932
19932
  return /* @__PURE__ */ c.jsx(c.Fragment, {});
19933
- const m = If(i);
19933
+ const m = $f(i);
19934
19934
  return /* @__PURE__ */ c.jsx(Qr, { parent: m, children: /* @__PURE__ */ c.jsx(
19935
19935
  em,
19936
19936
  {
@@ -19955,7 +19955,7 @@ const sC = ({
19955
19955
  type: "mentionPopover",
19956
19956
  value: v
19957
19957
  }
19958
- ]), $f(n, v, r, s), o && o({ id: p || "", name: g.name || "" });
19958
+ ]), If(n, v, r, s), o && o({ id: p || "", name: g.name || "" });
19959
19959
  }
19960
19960
  }
19961
19961
  },
@@ -20012,7 +20012,7 @@ const sC = ({
20012
20012
  setFocus: m,
20013
20013
  openTooltip: p,
20014
20014
  dispatch: g
20015
- } = $e(dn), f = {};
20015
+ } = Ie(dn), f = {};
20016
20016
  return e !== h && (f.tabIndex = -1), s !== null && (f["aria-pressed"] = typeof s == "boolean" ? s : t), /* @__PURE__ */ c.jsxs(
20017
20017
  "li",
20018
20018
  {
@@ -20163,7 +20163,7 @@ const sC = ({
20163
20163
  n(`Error toggling block: ${i}`);
20164
20164
  }
20165
20165
  }, uC = ({ format: e, hasDivider: t = !1 }) => {
20166
- const { setFocus: n, reportError: r } = $e(dn), i = zn(), a = zf(i, e);
20166
+ const { setFocus: n, reportError: r } = Ie(dn), i = zn(), a = zf(i, e);
20167
20167
  return /* @__PURE__ */ c.jsx(
20168
20168
  jo,
20169
20169
  {
@@ -20175,7 +20175,7 @@ const sC = ({
20175
20175
  }
20176
20176
  }
20177
20177
  );
20178
- }, $r = (e) => {
20178
+ }, Ir = (e) => {
20179
20179
  const [t] = y.nodes(e, {
20180
20180
  match: (n) => {
20181
20181
  const r = n;
@@ -20204,7 +20204,7 @@ const sC = ({
20204
20204
  console.error(i);
20205
20205
  }) => {
20206
20206
  try {
20207
- $r(e) && Wf(e);
20207
+ Ir(e) && Wf(e);
20208
20208
  const { selection: i } = e, a = i && Y.isCollapsed(i), s = {
20209
20209
  type: Z.link,
20210
20210
  link: t,
@@ -20233,13 +20233,13 @@ const dC = () => {
20233
20233
  dispatch: s,
20234
20234
  getLinkPreview: o,
20235
20235
  reportError: l
20236
- } = $e(dn), u = zn(), d = CD(u), h = (d == null ? void 0 : d.text) || eC(u), m = a !== !1, [p, g] = ue($r(u)), f = wf(u, "link-editor", `${n}-link`), b = ke(null);
20236
+ } = Ie(dn), u = zn(), d = CD(u), h = (d == null ? void 0 : d.text) || eC(u), m = a !== !1, [p, g] = ue(Ir(u)), f = wf(u, "link-editor", `${n}-link`), b = ke(null);
20237
20237
  de(() => {
20238
20238
  var D;
20239
20239
  !p && r && ((D = b.current) == null || D.focus());
20240
20240
  }, [p]), de(() => {
20241
20241
  ns && clearTimeout(ns), ns = setTimeout(() => {
20242
- g($r(u));
20242
+ g(Ir(u));
20243
20243
  }, 500);
20244
20244
  }, [u.selection]);
20245
20245
  const v = [], w = ["open", "edit", "remove"].map((D) => {
@@ -20270,7 +20270,7 @@ const dC = () => {
20270
20270
  const S = [
20271
20271
  { type: "showLinkEditor", value: !1 }
20272
20272
  ];
20273
- $r(u) && (Wf(u), S.push({ type: "lastAnchor", value: null }), a && (d == null ? void 0 : d.full) === (a == null ? void 0 : a.url) && S.push({ type: "enrichedUrl", value: !1 })), s(S);
20273
+ Ir(u) && (Wf(u), S.push({ type: "lastAnchor", value: null }), a && (d == null ? void 0 : d.full) === (a == null ? void 0 : a.url) && S.push({ type: "enrichedUrl", value: !1 })), s(S);
20274
20274
  };
20275
20275
  break;
20276
20276
  }
@@ -20314,7 +20314,7 @@ const dC = () => {
20314
20314
  h
20315
20315
  ] })
20316
20316
  });
20317
- const B = If(i);
20317
+ const B = $f(i);
20318
20318
  return /* @__PURE__ */ c.jsx(Qr, { parent: B, children: /* @__PURE__ */ c.jsx(
20319
20319
  pr,
20320
20320
  {
@@ -20372,9 +20372,9 @@ const dC = () => {
20372
20372
  }
20373
20373
  ) });
20374
20374
  }, fC = () => {
20375
- const e = zn(), { setFocus: t, dispatch: n } = $e(dn), [r, i] = ue(!1);
20375
+ const e = zn(), { setFocus: t, dispatch: n } = Ie(dn), [r, i] = ue(!1);
20376
20376
  return de(() => {
20377
- i($r(e));
20377
+ i(Ir(e));
20378
20378
  }, [e.selection]), /* @__PURE__ */ c.jsx(
20379
20379
  jo,
20380
20380
  {
@@ -20400,7 +20400,7 @@ const dC = () => {
20400
20400
  n(`Error toggling mark: ${i}`);
20401
20401
  }
20402
20402
  }, mC = ({ format: e, hasDivider: t = !1 }) => {
20403
- const { setFocus: n, reportError: r } = $e(dn), i = zn(), a = Uf(i, e);
20403
+ const { setFocus: n, reportError: r } = Ie(dn), i = zn(), a = Uf(i, e);
20404
20404
  return /* @__PURE__ */ c.jsx(
20405
20405
  jo,
20406
20406
  {
@@ -20422,7 +20422,7 @@ const dC = () => {
20422
20422
  Z.blockquote
20423
20423
  ];
20424
20424
  const gC = ({ ...e }) => {
20425
- const t = ce(), { id: n } = $e(dn);
20425
+ const t = ce(), { id: n } = Ie(dn);
20426
20426
  return /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
20427
20427
  /* @__PURE__ */ c.jsxs("fieldset", { id: `toolbar-${n}`, className: "toolbar", ...e, children: [
20428
20428
  /* @__PURE__ */ c.jsx(He, { element: "legend", showOnFocus: !1, children: t.formatMessage({ id: "richTextEditor_toolbar" }) }),
@@ -20561,7 +20561,7 @@ const FC = ({
20561
20561
  initialValue: L,
20562
20562
  stringValue: O,
20563
20563
  lastAnchor: z,
20564
- lastKey: $,
20564
+ lastKey: I,
20565
20565
  hasInteracted: A,
20566
20566
  hasLoaded: _,
20567
20567
  enrichedUrl: T,
@@ -20574,7 +20574,7 @@ const FC = ({
20574
20574
  }, ne = `rte-${e}`, re = Re(
20575
20575
  (k) => /* @__PURE__ */ c.jsx(xD, { ...k }),
20576
20576
  []
20577
- ), x = Re((k) => /* @__PURE__ */ c.jsx(wD, { ...k }), []), I = Zt(
20577
+ ), x = Re((k) => /* @__PURE__ */ c.jsx(wD, { ...k }), []), $ = Zt(
20578
20578
  () => vC(
20579
20579
  EC(
20580
20580
  _C(
@@ -20588,10 +20588,10 @@ const FC = ({
20588
20588
  ),
20589
20589
  []
20590
20590
  ), ie = (k) => {
20591
- if (!I || k !== ne)
20591
+ if (!$ || k !== ne)
20592
20592
  return;
20593
- const P = y.end(I, []);
20594
- Q.select(I, P), X.focus(I);
20593
+ const P = y.end($, []);
20594
+ Q.select($, P), X.focus($);
20595
20595
  };
20596
20596
  de(() => {
20597
20597
  const k = (P) => {
@@ -20603,12 +20603,12 @@ const FC = ({
20603
20603
  window.removeEventListener("focusEditor", k);
20604
20604
  };
20605
20605
  }, []), de(() => {
20606
- if (I.children.length > 0 && !_) {
20606
+ if ($.children.length > 0 && !_) {
20607
20607
  if (D([{ type: "hasLoaded", value: !0 }]), !s)
20608
20608
  return;
20609
20609
  ie(ne);
20610
20610
  }
20611
- }, [I.children.length, L]), de(() => {
20611
+ }, [$.children.length, L]), de(() => {
20612
20612
  S && (async () => {
20613
20613
  let P = An(S);
20614
20614
  if (P.includes("<")) {
@@ -20632,13 +20632,13 @@ const FC = ({
20632
20632
  { type: "editorKey", value: S.toString() }
20633
20633
  ];
20634
20634
  o != null && o.link && (q.push({ type: "enrichedUrl", value: o.link }), o.link.url && U(o.link.url)), D(q), setTimeout(() => {
20635
- D([{ type: "stringValue", value: vc(I) }]);
20635
+ D([{ type: "stringValue", value: vc($) }]);
20636
20636
  }, 150);
20637
20637
  });
20638
20638
  })();
20639
20639
  }, [S]), de(() => {
20640
- if (T === void 0 && I) {
20641
- const P = tC(I);
20640
+ if (T === void 0 && $) {
20641
+ const P = tC($);
20642
20642
  P && U(P);
20643
20643
  }
20644
20644
  const k = (P) => {
@@ -20655,13 +20655,13 @@ const FC = ({
20655
20655
  const k = t.match(Ni);
20656
20656
  k && k.length === 1 && k[0].length === t.length && !A && D([{ type: "originalValue", value: t }]);
20657
20657
  }
20658
- t !== "" || !I || bs(S, t) && !A || (y.withoutNormalizing(I, () => {
20659
- Q.delete(I, {
20658
+ t !== "" || !$ || bs(S, t) && !A || (y.withoutNormalizing($, () => {
20659
+ Q.delete($, {
20660
20660
  at: {
20661
- anchor: y.start(I, []),
20662
- focus: y.end(I, [])
20661
+ anchor: y.start($, []),
20662
+ focus: y.end($, [])
20663
20663
  }
20664
- }), Q.deselect(I), I.children.length !== 0 && Q.unwrapNodes(I, { at: [0] }), Q.insertNodes(I, w, { at: [0] });
20664
+ }), Q.deselect($), $.children.length !== 0 && Q.unwrapNodes($, { at: [0] }), Q.insertNodes($, w, { at: [0] });
20665
20665
  }), D([
20666
20666
  { type: "initialValue", value: w },
20667
20667
  { type: "lastAnchor", value: null },
@@ -20672,7 +20672,7 @@ const FC = ({
20672
20672
  }, [O]);
20673
20673
  const F = Rc(() => {
20674
20674
  rC({
20675
- editor: I,
20675
+ editor: $,
20676
20676
  isShowing: R.show,
20677
20677
  numberOfUsers: R.numberOfUsers,
20678
20678
  listMembers: m,
@@ -20696,12 +20696,12 @@ const FC = ({
20696
20696
  /* @__PURE__ */ c.jsxs(
20697
20697
  vD,
20698
20698
  {
20699
- editor: I,
20699
+ editor: $,
20700
20700
  initialValue: L,
20701
20701
  onChange: (k) => {
20702
- if (I.operations.some((j) => j.type !== "set_selection")) {
20702
+ if ($.operations.some((j) => j.type !== "set_selection")) {
20703
20703
  const j = aC(k);
20704
- g(j), D([{ type: "stringValue", value: vc(I) }]), A || D([{ type: "hasInteracted", value: !0 }]), F(), d && console.log({ serialized: j, json: k });
20704
+ g(j), D([{ type: "stringValue", value: vc($) }]), A || D([{ type: "hasInteracted", value: !0 }]), F(), d && console.log({ serialized: j, json: k });
20705
20705
  }
20706
20706
  },
20707
20707
  ...l,
@@ -20717,40 +20717,40 @@ const FC = ({
20717
20717
  tabIndex: 0,
20718
20718
  onKeyDown: (k) => {
20719
20719
  if (k.key === "Enter") {
20720
- R.show && (k.preventDefault(), k.stopPropagation(), $f(I, R, D, ne));
20721
- const { selection: P } = I;
20720
+ R.show && (k.preventDefault(), k.stopPropagation(), If($, R, D, ne));
20721
+ const { selection: P } = $;
20722
20722
  if (P) {
20723
- const j = Y.isCollapsed(P), [q, J] = y.node(I, P, { depth: 1 });
20723
+ const j = Y.isCollapsed(P), [q, J] = y.node($, P, { depth: 1 });
20724
20724
  let H = q, ee = H.type;
20725
20725
  const le = H.children[0];
20726
20726
  if (le && [Z.ol, Z.ul].includes(le.type) && (H = le, ee = le.type), H && he.isElement(H) && ee !== Z.paragraph) {
20727
20727
  if (ee === Z.blockquote && !k.shiftKey) {
20728
- k.stopPropagation(), k.preventDefault(), Q.insertNodes(I, w);
20728
+ k.stopPropagation(), k.preventDefault(), Q.insertNodes($, w);
20729
20729
  return;
20730
20730
  }
20731
20731
  if (j) {
20732
- const [G, be] = y.parent(I, P, {
20732
+ const [G, be] = y.parent($, P, {
20733
20733
  edge: "end"
20734
20734
  }), Fe = G.type;
20735
20735
  if ([Z.ul, Z.ol].includes(ee))
20736
- if (k.stopPropagation(), k.preventDefault(), Fe === Z.li && $ === "Enter") {
20737
- G.children.length === 1 && "text" in G.children[0] && G.children[0].text === "" && Q.removeNodes(I, { at: be }), Q.insertNodes(I, w, {
20736
+ if (k.stopPropagation(), k.preventDefault(), Fe === Z.li && I === "Enter") {
20737
+ G.children.length === 1 && "text" in G.children[0] && G.children[0].text === "" && Q.removeNodes($, { at: be }), Q.insertNodes($, w, {
20738
20738
  at: M.next(J)
20739
20739
  }), Q.select(
20740
- I,
20741
- y.end(I, M.next(J))
20740
+ $,
20741
+ y.end($, M.next(J))
20742
20742
  );
20743
20743
  return;
20744
20744
  } else {
20745
- const [Ne, Te] = Xw(I, Z.li), We = {
20745
+ const [Ne, Te] = Xw($, Z.li), We = {
20746
20746
  type: Z.li,
20747
20747
  children: [{ text: "" }]
20748
20748
  };
20749
- Q.insertNodes(I, We, {
20749
+ Q.insertNodes($, We, {
20750
20750
  at: M.next(Te)
20751
20751
  }), Q.select(
20752
- I,
20753
- y.end(I, M.next(Te))
20752
+ $,
20753
+ y.end($, M.next(Te))
20754
20754
  );
20755
20755
  }
20756
20756
  }
@@ -20774,21 +20774,21 @@ const FC = ({
20774
20774
  }
20775
20775
  ]);
20776
20776
  }
20777
- D([{ type: "lastKey", value: k.key }]), nC(k, I, D, v);
20777
+ D([{ type: "lastKey", value: k.key }]), nC(k, $, D, v);
20778
20778
  },
20779
20779
  onBlur: () => {
20780
- I.selection && D([{ type: "lastAnchor", value: I.selection.anchor }]);
20780
+ $.selection && D([{ type: "lastAnchor", value: $.selection.anchor }]);
20781
20781
  },
20782
20782
  onFocus: () => {
20783
20783
  if (z) {
20784
- if (!M.isPath(z.path) || !oe.has(I, z.path))
20784
+ if (!M.isPath(z.path) || !oe.has($, z.path))
20785
20785
  return;
20786
- const k = oe.get(I, z.path);
20786
+ const k = oe.get($, z.path);
20787
20787
  let P = 0;
20788
20788
  if (me.isText(k) ? P = k.text.length : k.children && (P = k.children.length), z.offset > P)
20789
20789
  return;
20790
20790
  try {
20791
- Q.select(I, {
20791
+ Q.select($, {
20792
20792
  anchor: z,
20793
20793
  focus: z
20794
20794
  });
@@ -20936,7 +20936,7 @@ function AC({
20936
20936
  } = (a == null ? void 0 : a.text) || {};
20937
20937
  return /* @__PURE__ */ c.jsxs("div", { className: V("profile-image-change-figure", e), children: [
20938
20938
  /* @__PURE__ */ c.jsx(
20939
- In,
20939
+ $n,
20940
20940
  {
20941
20941
  className: "profile-image-change-picture",
20942
20942
  name: n,
@@ -21181,12 +21181,12 @@ const TC = ({
21181
21181
  };
21182
21182
  return /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
21183
21183
  /* @__PURE__ */ c.jsx(Ln, { ...m }),
21184
- r && /* @__PURE__ */ c.jsx($n, { variant: "error", text: r })
21184
+ r && /* @__PURE__ */ c.jsx(In, { variant: "error", text: r })
21185
21185
  ] });
21186
21186
  };
21187
21187
  const SC = ({ hooks: e, functions: t, meta: n = {}, gtm: r }) => {
21188
21188
  var B, D;
21189
- const i = ce(), a = "profileForm_", s = $e(Dt), [o, l] = ue(s.image), [u, d] = ue(!1), {
21189
+ const i = ce(), a = "profileForm_", s = Ie(Dt), [o, l] = ue(s.image), [u, d] = ue(!1), {
21190
21190
  uploadImage: h,
21191
21191
  onSuccess: m = async (C) => {
21192
21192
  },
@@ -21710,7 +21710,7 @@ const RC = {
21710
21710
  dispatch: b,
21711
21711
  dataToSubmit: s,
21712
21712
  intl: l
21713
- }), [s, r, l, O, g, f]), $ = B ? !0 : E ? !Object.values(v).every((A) => A === !0) : !v.name || !v.email || ["exists", "pending", "verify"].includes(w.boxType);
21713
+ }), [s, r, l, O, g, f]), I = B ? !0 : E ? !Object.values(v).every((A) => A === !0) : !v.name || !v.email || ["exists", "pending", "verify"].includes(w.boxType);
21714
21714
  return g.successMessage && D ? /* @__PURE__ */ c.jsx(MC, { className: e }) : /* @__PURE__ */ c.jsxs(
21715
21715
  "fieldset",
21716
21716
  {
@@ -21719,7 +21719,7 @@ const RC = {
21719
21719
  children: [
21720
21720
  g.title && /* @__PURE__ */ c.jsx("p", { className: "signup-title", children: /* @__PURE__ */ c.jsx(ht, { id: "signup_title" }) }),
21721
21721
  C && /* @__PURE__ */ c.jsx(
21722
- $n,
21722
+ In,
21723
21723
  {
21724
21724
  variant: "error",
21725
21725
  text: l.formatMessage({ id: "signup_error" })
@@ -21737,7 +21737,7 @@ const RC = {
21737
21737
  variant: "primary",
21738
21738
  size: "medium",
21739
21739
  text: a || l.formatMessage({ id: "signup_button_join" }),
21740
- disabled: $ ? { isClickable: !0 } : !1,
21740
+ disabled: I ? { isClickable: !0 } : !1,
21741
21741
  styling: { fullWidth: !0 },
21742
21742
  "data-testid": "signup-button"
21743
21743
  },
@@ -21829,7 +21829,7 @@ const Zs = "editSection_";
21829
21829
  function Vf({ href: e, setShowModal: t }) {
21830
21830
  typeof e != "string" && t(!0);
21831
21831
  }
21832
- const $C = ({
21832
+ const IC = ({
21833
21833
  icon: e,
21834
21834
  description: t,
21835
21835
  ctaMessage: n,
@@ -21928,7 +21928,7 @@ const $C = ({
21928
21928
  )
21929
21929
  ] }),
21930
21930
  e || /* @__PURE__ */ c.jsx(
21931
- $C,
21931
+ IC,
21932
21932
  {
21933
21933
  ...l,
21934
21934
  href: i,
@@ -22044,7 +22044,7 @@ const ss = "cookieBanner_", os = [
22044
22044
  "apol-cookie-banner",
22045
22045
  "apolitical-performance-cookie-consent",
22046
22046
  "functional-cookie-consent"
22047
- ], us = new Date(Date.now() + 12 * 30 * 24 * 60 * 60 * 1e3), IC = () => {
22047
+ ], us = new Date(Date.now() + 12 * 30 * 24 * 60 * 60 * 1e3), $C = () => {
22048
22048
  const e = ce(), [t, n, r] = Oc(os), [i, a] = ue(
22049
22049
  !t["apol-cookie-banner"]
22050
22050
  ), s = () => {
@@ -22618,7 +22618,7 @@ const nr = "footer_", Qi = "SiteFooter", Cc = ({ group: e }) => {
22618
22618
  const LC = { height: 67, height_desktop: 83 };
22619
22619
  var Bt = /* @__PURE__ */ ((e) => (e.NAVIGATION = "navigation", e.SEARCH = "search", e.ACCOUNT = "account-navigation", e.SITE = "site-navigation", e))(Bt || {});
22620
22620
  const Zf = ({ showNavigation: e = !0 }) => {
22621
- const t = ce(), n = $e(Dt), r = mr(!0, !0), i = n && typeof n.id == "string", a = Zt(
22621
+ const t = ce(), n = Ie(Dt), r = mr(!0, !0), i = n && typeof n.id == "string", a = Zt(
22622
22622
  () => Ue.getIsDesktopVersion(i, r),
22623
22623
  [i, r]
22624
22624
  ), [s, o] = hr(aa, {
@@ -22864,7 +22864,7 @@ const Zf = ({ showNavigation: e = !0 }) => {
22864
22864
  ] ? "hide" : "show"}`
22865
22865
  }) }),
22866
22866
  /* @__PURE__ */ c.jsx(
22867
- In,
22867
+ $n,
22868
22868
  {
22869
22869
  name: n && n.name || "",
22870
22870
  src: n && n.image && n.image.thumbnail || ""
@@ -22899,7 +22899,7 @@ const zC = () => {
22899
22899
  return /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
22900
22900
  /* @__PURE__ */ c.jsx(Zf, {}),
22901
22901
  /* @__PURE__ */ c.jsx("div", { id: "content", children: /* @__PURE__ */ c.jsx(
22902
- $n,
22902
+ In,
22903
22903
  {
22904
22904
  variant: "error",
22905
22905
  text: e.formatMessage({ id: "pageLayout_error" })
@@ -22961,7 +22961,7 @@ const zC = () => {
22961
22961
  ] }),
22962
22962
  B && /* @__PURE__ */ c.jsx("div", { className: "additional-content appended", children: B }),
22963
22963
  u && /* @__PURE__ */ c.jsx(Kf, {}),
22964
- /* @__PURE__ */ c.jsx(IC, {})
22964
+ /* @__PURE__ */ c.jsx($C, {})
22965
22965
  ]
22966
22966
  }
22967
22967
  ),
@@ -23060,7 +23060,7 @@ const UC = 25, HC = ({
23060
23060
  showPlaceholders: d = !1,
23061
23061
  className: h = ""
23062
23062
  }) => {
23063
- const m = ce(), p = "membersList", g = $e(Dt), [f, b] = ue(!1);
23063
+ const m = ce(), p = "membersList", g = Ie(Dt), [f, b] = ue(!1);
23064
23064
  return e.length === 0 && !d ? null : /* @__PURE__ */ c.jsxs("div", { className: V("members-list", h), children: [
23065
23065
  u ? /* @__PURE__ */ c.jsxs("h1", { children: [
23066
23066
  m.formatMessage({ id: p }),
@@ -23137,7 +23137,7 @@ const UC = 25, HC = ({
23137
23137
  }
23138
23138
  ),
23139
23139
  s ? /* @__PURE__ */ c.jsx(
23140
- Io,
23140
+ $o,
23141
23141
  {
23142
23142
  form: s,
23143
23143
  showModal: f,
@@ -23188,7 +23188,7 @@ const ea = ({
23188
23188
  return /* @__PURE__ */ c.jsx(Po.Provider, { value: { ...t, updateConversation: n }, children: e });
23189
23189
  }, ZC = ({ intlPath: e, showGuidelines: t, type: n, gtmContext: r }) => {
23190
23190
  const i = ce();
23191
- return t ? /* @__PURE__ */ c.jsx("small", { children: $t(i.formatMessage, `${e}explainer`, n, "action", {
23191
+ return t ? /* @__PURE__ */ c.jsx("small", { children: It(i.formatMessage, `${e}explainer`, n, "action", {
23192
23192
  a: (a) => /* @__PURE__ */ c.jsx(
23193
23193
  "a",
23194
23194
  {
@@ -23218,7 +23218,7 @@ const ea = ({
23218
23218
  },
23219
23219
  children: i.formatMessage({ id: `${t}label` })
23220
23220
  }
23221
- ) : /* @__PURE__ */ c.jsx(He, { element: "label", showOnFocus: !1, htmlFor: `${e}-input`, children: $t(i.formatMessage, `${t}label_action`, r, "action") });
23221
+ ) : /* @__PURE__ */ c.jsx(He, { element: "label", showOnFocus: !1, htmlFor: `${e}-input`, children: It(i.formatMessage, `${t}label_action`, r, "action") });
23222
23222
  };
23223
23223
  let xi = null;
23224
23224
  const nt = "discussion_form_", ma = ({
@@ -23240,7 +23240,7 @@ const nt = "discussion_form_", ma = ({
23240
23240
  gtmContext: m = "DiscussionForm"
23241
23241
  }) => {
23242
23242
  var Ge, Qe, rt;
23243
- const p = ce(), g = $e(Dt), [f, b] = ue(""), {
23243
+ const p = ce(), g = Ie(Dt), [f, b] = ue(""), {
23244
23244
  isLoading: v = !1,
23245
23245
  isInWrapper: w = !1,
23246
23246
  isInOverlay: E = !1,
@@ -23251,7 +23251,7 @@ const nt = "discussion_form_", ma = ({
23251
23251
  showTitle: L = !1,
23252
23252
  showGuidelines: O = !0,
23253
23253
  showDivider: z = !1,
23254
- showSuccessMessage: $ = !0,
23254
+ showSuccessMessage: I = !0,
23255
23255
  showPostType: A = !1,
23256
23256
  postCategories: _ = []
23257
23257
  } = i || {}, {
@@ -23268,7 +23268,7 @@ const nt = "discussion_form_", ma = ({
23268
23268
  onMention: re = () => {
23269
23269
  },
23270
23270
  listMembers: x = () => Promise.resolve([]),
23271
- clickMentionFallback: I = () => {
23271
+ clickMentionFallback: $ = () => {
23272
23272
  },
23273
23273
  props: ie = {
23274
23274
  create: { projectNames: ["questions-answers"] }
@@ -23291,12 +23291,12 @@ const nt = "discussion_form_", ma = ({
23291
23291
  const H = (ve) => {
23292
23292
  k({ ...F, body: ve }), T({ body: ve });
23293
23293
  let Ae;
23294
- !g || !g.id ? Ae = $t(
23294
+ !g || !g.id ? Ae = It(
23295
23295
  p.formatMessage,
23296
23296
  `${nt}error_loggedOut`,
23297
23297
  n.type,
23298
23298
  "action"
23299
- ) : r ? s > 0 && ve.length >= s && (Ae = `${nt}error_tooLong`) : Ae = $t(
23299
+ ) : r ? s > 0 && ve.length >= s && (Ae = `${nt}error_tooLong`) : Ae = It(
23300
23300
  p.formatMessage,
23301
23301
  `${nt}error_noPermission`,
23302
23302
  n.type,
@@ -23348,7 +23348,7 @@ const nt = "discussion_form_", ma = ({
23348
23348
  }
23349
23349
  await qh(1e3), ne && await ne(Ae), xi = setTimeout(() => {
23350
23350
  k({ title: "", body: "", categories: "" }), J("submitted"), b(
23351
- $t(p.formatMessage, `${nt}success`, n.type, "action")
23351
+ It(p.formatMessage, `${nt}success`, n.type, "action")
23352
23352
  );
23353
23353
  const je = new Event(ut.DISCUSSION_FORM_SUBMITTED);
23354
23354
  document.dispatchEvent(je), G();
@@ -23356,12 +23356,12 @@ const nt = "discussion_form_", ma = ({
23356
23356
  } catch (Ae) {
23357
23357
  const je = Ae;
23358
23358
  let K = `${nt}error`;
23359
- je != null && je.message.includes("entry already exists") && (K = $t(
23359
+ je != null && je.message.includes("entry already exists") && (K = It(
23360
23360
  p.formatMessage,
23361
23361
  `${nt}error_alreadyExists`,
23362
23362
  n.type,
23363
23363
  "action"
23364
- )), je != null && je.message.includes("429") ? K = $t(
23364
+ )), je != null && je.message.includes("429") ? K = It(
23365
23365
  p.formatMessage,
23366
23366
  `${nt}error_tooMany`,
23367
23367
  n.type,
@@ -23390,7 +23390,7 @@ const nt = "discussion_form_", ma = ({
23390
23390
  props: {
23391
23391
  id: `${ee}-input`,
23392
23392
  value: q === "submitting" && !P ? "" : F.body,
23393
- placeholder: a || $t(
23393
+ placeholder: a || It(
23394
23394
  p.formatMessage,
23395
23395
  `${nt}placeholder`,
23396
23396
  n.type,
@@ -23402,7 +23402,7 @@ const nt = "discussion_form_", ma = ({
23402
23402
  onChange: H,
23403
23403
  onMention: re,
23404
23404
  listMembers: x,
23405
- clickMentionFallback: I
23405
+ clickMentionFallback: $
23406
23406
  },
23407
23407
  data: h,
23408
23408
  autoFocus: D !== !1 || B && !C,
@@ -23516,7 +23516,7 @@ const nt = "discussion_form_", ma = ({
23516
23516
  gtm: { context: m, event: `${n.type}-form` },
23517
23517
  "data-testid": `discussion-${n.type}-form`,
23518
23518
  children: [
23519
- L && !D && ["question"].includes(n.type) && /* @__PURE__ */ c.jsx("h2", { children: $t(p.formatMessage, `${nt}title`, n.type, "action") }),
23519
+ L && !D && ["question"].includes(n.type) && /* @__PURE__ */ c.jsx("h2", { children: It(p.formatMessage, `${nt}title`, n.type, "action") }),
23520
23520
  /* @__PURE__ */ c.jsx(
23521
23521
  yn,
23522
23522
  {
@@ -23541,7 +23541,7 @@ const nt = "discussion_form_", ma = ({
23541
23541
  ]
23542
23542
  }
23543
23543
  ),
23544
- q === "submitted" && $ && /* @__PURE__ */ c.jsx(Ri, { className: "success", "data-testid": "success", children: $t(p.formatMessage, `${nt}success`, n.type, "action") }),
23544
+ q === "submitted" && I && /* @__PURE__ */ c.jsx(Ri, { className: "success", "data-testid": "success", children: It(p.formatMessage, `${nt}success`, n.type, "action") }),
23545
23545
  P && /* @__PURE__ */ c.jsx(Ri, { id: "error-message", className: "error", "data-testid": "error", children: l.error ? l.error : typeof P == "string" ? P.includes(" ") ? P : p.formatMessage(
23546
23546
  { id: P },
23547
23547
  {
@@ -23588,9 +23588,9 @@ function XC(e) {
23588
23588
  );
23589
23589
  }
23590
23590
  const eE = fr(() => Promise.resolve().then(() => RE));
23591
- let Ir = !1;
23591
+ let $r = !1;
23592
23592
  const cs = () => {
23593
- Ir !== !1 && (clearTimeout(Ir), Ir = !1);
23593
+ $r !== !1 && (clearTimeout($r), $r = !1);
23594
23594
  }, tE = 5;
23595
23595
  let ds = null;
23596
23596
  const nE = ({
@@ -23635,12 +23635,12 @@ const nE = ({
23635
23635
  () => JC(n, tE),
23636
23636
  [n]
23637
23637
  ), z = (T) => {
23638
- if (T.preventDefault(), T.stopPropagation(), v([{ type: "showLikers", value: !1 }]), Ir)
23638
+ if (T.preventDefault(), T.stopPropagation(), v([{ type: "showLikers", value: !1 }]), $r)
23639
23639
  return cs(), !1;
23640
23640
  if (cs(), B || !s)
23641
23641
  return !1;
23642
- Ir = setTimeout($, 350);
23643
- }, $ = async () => {
23642
+ $r = setTimeout(I, 350);
23643
+ }, I = async () => {
23644
23644
  if (cs(), B || !s)
23645
23645
  return !1;
23646
23646
  let T = E ? w - 1 : w + 1;
@@ -24093,7 +24093,7 @@ const th = () => {
24093
24093
  thumbnail: "https://some-user-thumbnail.com/avatar2.png"
24094
24094
  },
24095
24095
  isLoading: !1
24096
- }), $o = Object.freeze({
24096
+ }), Io = Object.freeze({
24097
24097
  actor: `SU:${dr.id}`,
24098
24098
  content: "some content 1",
24099
24099
  duration: "5.53ms",
@@ -24136,7 +24136,7 @@ const th = () => {
24136
24136
  });
24137
24137
  Object.freeze({
24138
24138
  id: "some-reaction-id-1",
24139
- activity_id: $o.id,
24139
+ activity_id: Io.id,
24140
24140
  kind: "like",
24141
24141
  created_at: "2023-11-24T17:58:36.162000",
24142
24142
  data: {},
@@ -24156,7 +24156,7 @@ Object.freeze({
24156
24156
  });
24157
24157
  Object.freeze({
24158
24158
  id: "some-reaction-id-1",
24159
- activity_id: $o.id,
24159
+ activity_id: Io.id,
24160
24160
  kind: "pin",
24161
24161
  created_at: "2023-11-24T17:58:36.162000",
24162
24162
  data: {},
@@ -24186,7 +24186,7 @@ Object.freeze({
24186
24186
  updated_at: "2023-08-31T07:11:38.677184Z"
24187
24187
  },
24188
24188
  kind: "reply",
24189
- activity_id: $o.id,
24189
+ activity_id: Io.id,
24190
24190
  data: {
24191
24191
  content: "Some content 1..."
24192
24192
  },
@@ -24461,7 +24461,7 @@ const ak = ({
24461
24461
  fetchNextPage: E,
24462
24462
  hasNextPage: B,
24463
24463
  isLoading: D,
24464
- mutations: { create: C, edit: S, remove: L, like: O, unlike: z, pin: $, unpin: A }
24464
+ mutations: { create: C, edit: S, remove: L, like: O, unlike: z, pin: I, unpin: A }
24465
24465
  } = bE({
24466
24466
  queryKey: [e, t, "activities", p],
24467
24467
  queryFns: a,
@@ -24491,7 +24491,7 @@ const ak = ({
24491
24491
  const [_, T] = ue(null), R = () => {
24492
24492
  T(v.length), E();
24493
24493
  };
24494
- return th(), w ? /* @__PURE__ */ c.jsx($n, { variant: "error", text: w.message }) : /* @__PURE__ */ c.jsxs("section", { children: [
24494
+ return th(), w ? /* @__PURE__ */ c.jsx(In, { variant: "error", text: w.message }) : /* @__PURE__ */ c.jsxs("section", { children: [
24495
24495
  /* @__PURE__ */ c.jsx(
24496
24496
  ih,
24497
24497
  {
@@ -24572,7 +24572,7 @@ const ak = ({
24572
24572
  id: ne,
24573
24573
  own_reactions: re,
24574
24574
  latest_reactions: x,
24575
- reaction_counts: I,
24575
+ reaction_counts: $,
24576
24576
  mentioned_users: ie,
24577
24577
  total_replies: F
24578
24578
  } = W, k = (((J = x == null ? void 0 : x.like) == null ? void 0 : J.length) || 0) > 0, P = (((H = re == null ? void 0 : re.like) == null ? void 0 : H.length) || 0) > 0, j = P ? re == null ? void 0 : re.like[0].id : "", q = k ? (ee = x == null ? void 0 : x.like) == null ? void 0 : ee.map((le) => {
@@ -24598,11 +24598,11 @@ const ak = ({
24598
24598
  slug: ne,
24599
24599
  author: Xr(W == null ? void 0 : W.actor),
24600
24600
  userLiked: P,
24601
- likes: (I == null ? void 0 : I.like) || 0,
24601
+ likes: ($ == null ? void 0 : $.like) || 0,
24602
24602
  comments: F || 0,
24603
24603
  peopleWhoLiked: q,
24604
24604
  mentions: ie,
24605
- pinned: (I == null ? void 0 : I.pin) && (I == null ? void 0 : I.pin) > 0 || !1,
24605
+ pinned: ($ == null ? void 0 : $.pin) && ($ == null ? void 0 : $.pin) > 0 || !1,
24606
24606
  categories: (W == null ? void 0 : W.categories) || []
24607
24607
  },
24608
24608
  links: {
@@ -24626,7 +24626,7 @@ const ak = ({
24626
24626
  openComments: () => null
24627
24627
  },
24628
24628
  pins: {
24629
- createPin: () => $({ activityId: ne }),
24629
+ createPin: () => I({ activityId: ne }),
24630
24630
  // there will only ever be one pin so we can just grab the first one
24631
24631
  deletePin: () => A({ activityId: ne, reactionId: x == null ? void 0 : x.pin[0].id })
24632
24632
  },
@@ -25378,7 +25378,7 @@ const SE = ({
25378
25378
  list: (C) => a.list({ ...C, reactionId: r })
25379
25379
  }
25380
25380
  });
25381
- Ic([p]);
25381
+ $c([p]);
25382
25382
  const [B, D] = ue(!0);
25383
25383
  return /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
25384
25384
  (d == null ? void 0 : d.length) >= u && /* @__PURE__ */ c.jsx(
@@ -25428,17 +25428,17 @@ const SE = ({
25428
25428
  }
25429
25429
  },
25430
25430
  children: d && d.length > 0 ? d == null ? void 0 : d.map((C) => {
25431
- var re, x, I, ie, F, k, P;
25431
+ var re, x, $, ie, F, k, P;
25432
25432
  const {
25433
25433
  id: S,
25434
25434
  own_children: L,
25435
25435
  latest_children: O,
25436
25436
  children_counts: z,
25437
- data: { mentioned_users: $ }
25437
+ data: { mentioned_users: I }
25438
25438
  } = C, _ = (((re = L == null ? void 0 : L.like) == null ? void 0 : re.length) || 0) > 0 ? (x = L == null ? void 0 : L.like) == null ? void 0 : x.find((j) => {
25439
25439
  var q;
25440
25440
  return ((q = j == null ? void 0 : j.user) == null ? void 0 : q.id) === (E == null ? void 0 : E.id);
25441
- }) : !1, T = _ ? _ == null ? void 0 : _.id : "", R = !!_, U = (((I = O == null ? void 0 : O.like) == null ? void 0 : I.length) || 0) > 0 ? (ie = O == null ? void 0 : O.like) == null ? void 0 : ie.map((j) => {
25441
+ }) : !1, T = _ ? _ == null ? void 0 : _.id : "", R = !!_, U = ((($ = O == null ? void 0 : O.like) == null ? void 0 : $.length) || 0) > 0 ? (ie = O == null ? void 0 : O.like) == null ? void 0 : ie.map((j) => {
25442
25442
  var q, J, H;
25443
25443
  return {
25444
25444
  id: (q = j == null ? void 0 : j.user) == null ? void 0 : q.id,
@@ -25470,7 +25470,7 @@ const SE = ({
25470
25470
  userLiked: R,
25471
25471
  likes: (z == null ? void 0 : z.like) || 0,
25472
25472
  peopleWhoLiked: U,
25473
- mentions: $
25473
+ mentions: I
25474
25474
  },
25475
25475
  functions: {
25476
25476
  content: {
@@ -25536,7 +25536,7 @@ const jE = ({
25536
25536
  }), C = () => {
25537
25537
  L(m.length), p();
25538
25538
  }, [S, L] = ue(null);
25539
- return Ic([f]), th(), /* @__PURE__ */ c.jsxs("section", { className: "replies-feed", children: [
25539
+ return $c([f]), th(), /* @__PURE__ */ c.jsxs("section", { className: "replies-feed", children: [
25540
25540
  /* @__PURE__ */ c.jsx(VE, { type: "comment", responses: r, isLoading: f }),
25541
25541
  /* @__PURE__ */ c.jsx(
25542
25542
  ih,
@@ -25569,7 +25569,7 @@ const jE = ({
25569
25569
  m == null ? void 0 : m.map((O, z) => {
25570
25570
  var F, k, P, j, q, J, H;
25571
25571
  const {
25572
- id: $,
25572
+ id: I,
25573
25573
  own_children: A,
25574
25574
  latest_children: _,
25575
25575
  children_counts: T,
@@ -25577,7 +25577,7 @@ const jE = ({
25577
25577
  } = O, U = (((F = A == null ? void 0 : A.like) == null ? void 0 : F.length) || 0) > 0 ? (k = A == null ? void 0 : A.like) == null ? void 0 : k.find((ee) => {
25578
25578
  var le;
25579
25579
  return ((le = ee == null ? void 0 : ee.user) == null ? void 0 : le.id) === (D == null ? void 0 : D.id);
25580
- }) : !1, ne = U ? U == null ? void 0 : U.id : "", re = !!U, I = (((P = _ == null ? void 0 : _.like) == null ? void 0 : P.length) || 0) > 0 ? (j = _ == null ? void 0 : _.like) == null ? void 0 : j.map((ee) => {
25580
+ }) : !1, ne = U ? U == null ? void 0 : U.id : "", re = !!U, $ = (((P = _ == null ? void 0 : _.like) == null ? void 0 : P.length) || 0) > 0 ? (j = _ == null ? void 0 : _.like) == null ? void 0 : j.map((ee) => {
25581
25581
  var le, G, be;
25582
25582
  return {
25583
25583
  id: (le = ee == null ? void 0 : ee.user) == null ? void 0 : le.id,
@@ -25592,7 +25592,7 @@ const jE = ({
25592
25592
  {
25593
25593
  isCommunity: !0,
25594
25594
  content: {
25595
- id: $,
25595
+ id: I,
25596
25596
  type: "reply",
25597
25597
  body: ie,
25598
25598
  canLike: i,
@@ -25600,25 +25600,25 @@ const jE = ({
25600
25600
  slugs: {
25601
25601
  question: `${e}/${t}`,
25602
25602
  answer: n,
25603
- reply: $
25603
+ reply: I
25604
25604
  },
25605
- slug: $,
25605
+ slug: I,
25606
25606
  author: Xr(O == null ? void 0 : O.user),
25607
25607
  userLiked: re,
25608
25608
  likes: (T == null ? void 0 : T.like) || 0,
25609
- peopleWhoLiked: I,
25609
+ peopleWhoLiked: $,
25610
25610
  mentions: R
25611
25611
  },
25612
25612
  functions: {
25613
25613
  content: {
25614
25614
  createContent: () => null,
25615
- deleteContent: () => E({ replyId: $ }),
25615
+ deleteContent: () => E({ replyId: I }),
25616
25616
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
25617
- updateContent: (ee, { body: le }) => v({ replyId: $, content: le })
25617
+ updateContent: (ee, { body: le }) => v({ replyId: I, content: le })
25618
25618
  },
25619
25619
  likes: {
25620
- createLike: () => w({ replyId: $ }),
25621
- deleteLike: () => B({ replyId: $, reactionId: ne }),
25620
+ createLike: () => w({ replyId: I }),
25621
+ deleteLike: () => B({ replyId: I, reactionId: ne }),
25622
25622
  listLikes: l.list
25623
25623
  },
25624
25624
  comments: {},
@@ -25643,7 +25643,7 @@ const jE = ({
25643
25643
  basePath: e,
25644
25644
  parentId: t,
25645
25645
  activityId: n,
25646
- replyId: $,
25646
+ replyId: I,
25647
25647
  isMember: i,
25648
25648
  functions: {
25649
25649
  reactions: u,
@@ -25657,8 +25657,8 @@ const jE = ({
25657
25657
  basePath: e,
25658
25658
  parentId: t
25659
25659
  },
25660
- $
25661
- ) }, $);
25660
+ I
25661
+ ) }, I);
25662
25662
  }),
25663
25663
  !f && /* @__PURE__ */ c.jsx(
25664
25664
  sa,
@@ -25779,10 +25779,10 @@ const ME = ({
25779
25779
  class: V("subtle", t)
25780
25780
  };
25781
25781
  return /* @__PURE__ */ c.jsx("blockquote", { ...r, children: e });
25782
- }, $E = 280, rh = async (e, t, n, r = () => Promise.resolve([])) => {
25782
+ }, IE = 280, rh = async (e, t, n, r = () => Promise.resolve([])) => {
25783
25783
  let i = t ? ar(
25784
25784
  e,
25785
- typeof t == "number" ? t : $E
25785
+ typeof t == "number" ? t : IE
25786
25786
  ) : e;
25787
25787
  i = i.trim();
25788
25788
  const a = `<br>
@@ -25795,7 +25795,7 @@ const ME = ({
25795
25795
  listMembers: r
25796
25796
  }) : i;
25797
25797
  };
25798
- const IE = 3e3, LE = ({
25798
+ const $E = 3e3, LE = ({
25799
25799
  url: e,
25800
25800
  gtm: t = { context: "ShareLink", event: "copy-link-click" }
25801
25801
  }) => {
@@ -25823,7 +25823,7 @@ const IE = 3e3, LE = ({
25823
25823
  });
25824
25824
  document.dispatchEvent(s), setTimeout(() => {
25825
25825
  a({ isOpen: !1, isCopied: !1 });
25826
- }, IE);
25826
+ }, $E);
25827
25827
  });
25828
25828
  },
25829
25829
  "data-gtm-event-context": t.context,
@@ -25876,7 +25876,7 @@ const pa = ({
25876
25876
  parentId: B
25877
25877
  }) => {
25878
25878
  var Ae, je, K, se, pe, ye, _e, Xe, et;
25879
- const D = ce(), C = $e(Dt), S = $e(Po), {
25879
+ const D = ce(), C = Ie(Dt), S = Ie(Po), {
25880
25880
  createContent: L = async () => {
25881
25881
  },
25882
25882
  deleteContent: O = async () => {
@@ -25884,7 +25884,7 @@ const pa = ({
25884
25884
  updateContent: z = async () => {
25885
25885
  }
25886
25886
  } = o.content || {}, {
25887
- createLike: $ = () => {
25887
+ createLike: I = () => {
25888
25888
  },
25889
25889
  deleteLike: A = () => {
25890
25890
  },
@@ -25896,7 +25896,7 @@ const pa = ({
25896
25896
  canLike: ne,
25897
25897
  createdAt: re,
25898
25898
  id: x,
25899
- likes: I = 0,
25899
+ likes: $ = 0,
25900
25900
  userLiked: ie,
25901
25901
  comments: F = 0,
25902
25902
  mentions: k
@@ -26172,7 +26172,7 @@ const pa = ({
26172
26172
  nE,
26173
26173
  {
26174
26174
  element: "li",
26175
- likes: I,
26175
+ likes: $,
26176
26176
  isShort: !1,
26177
26177
  userLiked: ie,
26178
26178
  content: {
@@ -26184,7 +26184,7 @@ const pa = ({
26184
26184
  peopleWhoLiked: t.peopleWhoLiked,
26185
26185
  activityId: t.slug,
26186
26186
  functions: {
26187
- createLike: $,
26187
+ createLike: I,
26188
26188
  deleteLike: A,
26189
26189
  listLikes: _
26190
26190
  },
@@ -26229,7 +26229,7 @@ const pa = ({
26229
26229
  }
26230
26230
  ),
26231
26231
  g && /* @__PURE__ */ c.jsx(
26232
- $p,
26232
+ Ip,
26233
26233
  {
26234
26234
  element: "li",
26235
26235
  id: `more-${t.slug}`,
@@ -26298,7 +26298,7 @@ const pa = ({
26298
26298
  const qE = fr(
26299
26299
  () => Promise.resolve().then(() => n_)
26300
26300
  ), WE = 65, UE = ({ forceShow: e, form: t, className: n }) => {
26301
- const r = ce(), i = "discussionFormCard_", a = "DiscardDraftModal", o = $e(Dt) || "community", l = ro(o);
26301
+ const r = ce(), i = "discussionFormCard_", a = "DiscardDraftModal", o = Ie(Dt) || "community", l = ro(o);
26302
26302
  l.name || (l.name = r.formatMessage({
26303
26303
  id: `member_${typeof o == "string" ? o : "community"}`
26304
26304
  }));
@@ -26378,7 +26378,7 @@ const qE = fr(
26378
26378
  },
26379
26379
  "data-testid": "discussion-form-card",
26380
26380
  children: [
26381
- /* @__PURE__ */ c.jsx(In, { name: l.name, src: l.image, alt: "" }),
26381
+ /* @__PURE__ */ c.jsx($n, { name: l.name, src: l.image, alt: "" }),
26382
26382
  /* @__PURE__ */ c.jsx(
26383
26383
  sr,
26384
26384
  {
@@ -26468,7 +26468,7 @@ const qE = fr(
26468
26468
  }) => {
26469
26469
  if (a && !i)
26470
26470
  return /* @__PURE__ */ c.jsx(
26471
- $n,
26471
+ In,
26472
26472
  {
26473
26473
  text: l,
26474
26474
  button: {
@@ -26503,7 +26503,7 @@ const qE = fr(
26503
26503
  };
26504
26504
  return e ? /* @__PURE__ */ c.jsx(UE, { form: p }) : /* @__PURE__ */ c.jsx(HE, { ...p });
26505
26505
  }, ah = ({ form: e }) => {
26506
- const t = $e(Dt), n = ce(), [r, i] = ue(!1), a = () => {
26506
+ const t = Ie(Dt), n = ce(), [r, i] = ue(!1), a = () => {
26507
26507
  Gh(t) || i(!0);
26508
26508
  };
26509
26509
  de(() => (document.addEventListener(ut.DISCUSSION_POST_ADDED, a), () => {
@@ -26513,7 +26513,7 @@ const qE = fr(
26513
26513
  return ["successMessage", "title", "text"].forEach((o) => {
26514
26514
  s[o] = n.formatMessage({ id: `profileModalLauncher_${o}` });
26515
26515
  }), /* @__PURE__ */ c.jsx(
26516
- Io,
26516
+ $o,
26517
26517
  {
26518
26518
  form: e,
26519
26519
  showModal: r,
@@ -26537,7 +26537,7 @@ const ms = "discussion_responses_", VE = ({
26537
26537
  { id: `${ms}title` },
26538
26538
  { action: r.formatMessage({ id: `${ms}${e}` }), count: t }
26539
26539
  ) }),
26540
- !n && t === 0 && /* @__PURE__ */ c.jsx("p", { children: $t(r.formatMessage, `${ms}empty`, e, e) })
26540
+ !n && t === 0 && /* @__PURE__ */ c.jsx("p", { children: It(r.formatMessage, `${ms}empty`, e, e) })
26541
26541
  ] });
26542
26542
  };
26543
26543
  const KE = ({
@@ -26550,7 +26550,7 @@ const KE = ({
26550
26550
  form: r,
26551
26551
  children: i
26552
26552
  }) => {
26553
- const a = ce(), s = $e(Po), o = ki(i, {
26553
+ const a = ce(), s = Ie(Po), o = ki(i, {
26554
26554
  element: "li"
26555
26555
  });
26556
26556
  if (s.prepopulateForm && (r != null && r.meta) && (r.meta.isPrepopulated = { text: s.prepopulateForm }, s.mentionData)) {
@@ -26737,17 +26737,17 @@ const ok = ({
26737
26737
  return /* @__PURE__ */ c.jsx(zt, { style: { height: "400px" } });
26738
26738
  if (b || !f)
26739
26739
  return /* @__PURE__ */ c.jsx(
26740
- $n,
26740
+ In,
26741
26741
  {
26742
26742
  variant: "error",
26743
26743
  text: g.formatMessage({ id: "activitySection_notFoundError" })
26744
26744
  }
26745
26745
  );
26746
- const { own_reactions: S, latest_reactions: L, mentioned_users: O } = f, z = (((R = L == null ? void 0 : L.like) == null ? void 0 : R.length) || 0) > 0, $ = (((W = S == null ? void 0 : S.like) == null ? void 0 : W.length) || 0) > 0, A = $ ? S == null ? void 0 : S.like[0].id : "", _ = z ? (U = L == null ? void 0 : L.like) == null ? void 0 : U.map((I) => {
26746
+ const { own_reactions: S, latest_reactions: L, mentioned_users: O } = f, z = (((R = L == null ? void 0 : L.like) == null ? void 0 : R.length) || 0) > 0, I = (((W = S == null ? void 0 : S.like) == null ? void 0 : W.length) || 0) > 0, A = I ? S == null ? void 0 : S.like[0].id : "", _ = z ? (U = L == null ? void 0 : L.like) == null ? void 0 : U.map(($) => {
26747
26747
  var ie, F, k;
26748
26748
  return {
26749
- id: (ie = I == null ? void 0 : I.user) == null ? void 0 : ie.id,
26750
- name: (k = (F = I == null ? void 0 : I.user) == null ? void 0 : F.data) == null ? void 0 : k.name
26749
+ id: (ie = $ == null ? void 0 : $.user) == null ? void 0 : ie.id,
26750
+ name: (k = (F = $ == null ? void 0 : $.user) == null ? void 0 : F.data) == null ? void 0 : k.name
26751
26751
  };
26752
26752
  }) : !1, T = f == null ? void 0 : f.actor;
26753
26753
  return /* @__PURE__ */ c.jsxs("section", { className: "activity-section", children: [
@@ -26770,7 +26770,7 @@ const ok = ({
26770
26770
  },
26771
26771
  slug: n,
26772
26772
  author: Xr(T),
26773
- userLiked: $,
26773
+ userLiked: I,
26774
26774
  likes: ((ne = f == null ? void 0 : f.reaction_counts) == null ? void 0 : ne.like) || 0,
26775
26775
  comments: (f == null ? void 0 : f.total_replies) || 0,
26776
26776
  peopleWhoLiked: _,
@@ -26784,12 +26784,12 @@ const ok = ({
26784
26784
  createContent: () => null,
26785
26785
  deleteContent: a,
26786
26786
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
26787
- updateContent: (I, { title: ie, body: F }) => w({ title: ie, content: F })
26787
+ updateContent: ($, { title: ie, body: F }) => w({ title: ie, content: F })
26788
26788
  },
26789
26789
  likes: {
26790
26790
  createLike: () => E({ activityId: n }),
26791
26791
  deleteLike: () => B({ activityId: n, reactionId: A }),
26792
- listLikes: (I) => o.list({ activityId: n, ...I })
26792
+ listLikes: ($) => o.list({ activityId: n, ...$ })
26793
26793
  },
26794
26794
  comments: {
26795
26795
  openComments: () => {
@@ -26799,8 +26799,8 @@ const ok = ({
26799
26799
  createPin: () => D({ activityId: n }),
26800
26800
  // there will only ever be one pin so we can just grab the first one
26801
26801
  deletePin: () => {
26802
- var I;
26803
- return C({ activityId: n, reactionId: (I = L == null ? void 0 : L.pin) == null ? void 0 : I[0].id });
26802
+ var $;
26803
+ return C({ activityId: n, reactionId: ($ = L == null ? void 0 : L.pin) == null ? void 0 : $[0].id });
26804
26804
  }
26805
26805
  },
26806
26806
  mentions: u
@@ -26961,7 +26961,7 @@ const uk = ({
26961
26961
  }
26962
26962
  );
26963
26963
  };
26964
- const Io = ({
26964
+ const $o = ({
26965
26965
  showModal: e = !0,
26966
26966
  content: { successMessage: t, title: n, text: r } = {},
26967
26967
  functions: i,
@@ -27017,13 +27017,13 @@ const Io = ({
27017
27017
  );
27018
27018
  }, r_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27019
27019
  __proto__: null,
27020
- default: Io
27020
+ default: $o
27021
27021
  }, Symbol.toStringTag, { value: "Module" }));
27022
27022
  const lk = ({ members: e }) => {
27023
27023
  const [t, n] = ue(!1), r = (i) => {
27024
27024
  const { fullName: a, jobTitle: s, organisation: o, photo: l } = i || {};
27025
27025
  return /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
27026
- /* @__PURE__ */ c.jsx(In, { name: a, src: l }),
27026
+ /* @__PURE__ */ c.jsx($n, { name: a, src: l }),
27027
27027
  /* @__PURE__ */ c.jsx("p", { children: a }),
27028
27028
  /* @__PURE__ */ c.jsx("small", { className: "text-medium", children: o ? `${s}, ${o}` : s })
27029
27029
  ] });
@@ -27572,7 +27572,7 @@ const gk = ({
27572
27572
  return null;
27573
27573
  };
27574
27574
  function d_({ buildMemberData: e, communitySlug: t }) {
27575
- const n = ce(), r = $e(Dt), [i, a] = ue({
27575
+ const n = ce(), r = Ie(Dt), [i, a] = ue({
27576
27576
  count: "...",
27577
27577
  isMember: !1,
27578
27578
  memberType: ""
@@ -27613,8 +27613,8 @@ const sh = ({
27613
27613
  handleCardClick: o,
27614
27614
  setFocus: l = !1
27615
27615
  }) => {
27616
- var $, A;
27617
- const u = ce(), d = $e(Dt), h = !!(d != null && d.id), m = te.useRef(null), [p, g] = ue({
27616
+ var I, A;
27617
+ const u = ce(), d = Ie(Dt), h = !!(d != null && d.id), m = te.useRef(null), [p, g] = ue({
27618
27618
  data: null,
27619
27619
  isLoading: !0
27620
27620
  });
@@ -27666,7 +27666,7 @@ const sh = ({
27666
27666
  }), l && (O = {
27667
27667
  ...O,
27668
27668
  tabIndex: "0"
27669
- }, ($ = m == null ? void 0 : m.current) == null || $.focus(), (A = m == null ? void 0 : m.current) == null || A.scrollIntoView({ behavior: "smooth" })), /* @__PURE__ */ c.jsx(
27669
+ }, (I = m == null ? void 0 : m.current) == null || I.focus(), (A = m == null ? void 0 : m.current) == null || A.scrollIntoView({ behavior: "smooth" })), /* @__PURE__ */ c.jsx(
27670
27670
  "li",
27671
27671
  {
27672
27672
  className: V("card-wrapper text-medium", E, t, {
@@ -27692,14 +27692,14 @@ const sh = ({
27692
27692
  size: "small",
27693
27693
  variant: f.dateHasPassed ? "default" : "information",
27694
27694
  "data-testid": "date",
27695
- children: f.dateHasPassed ? u.formatMessage({ id: "card_ended" }) : Ih(f.startDate)
27695
+ children: f.dateHasPassed ? u.formatMessage({ id: "card_ended" }) : $h(f.startDate)
27696
27696
  }
27697
27697
  ),
27698
27698
  f.banner ? /* @__PURE__ */ c.jsxs("p", { className: "img", children: [
27699
27699
  f.registered && /* @__PURE__ */ c.jsx(an, { size: "small", variant: "registered", children: u.formatMessage({ id: "card_registered" }) }),
27700
27700
  /* @__PURE__ */ c.jsx(vr, { image: { ...f.banner, description: "" } })
27701
27701
  ] }) : E === "people" ? /* @__PURE__ */ c.jsx(
27702
- In,
27702
+ $n,
27703
27703
  {
27704
27704
  name: f.title || "",
27705
27705
  src: f.profile,
@@ -27872,7 +27872,7 @@ const p_ = ({
27872
27872
  return;
27873
27873
  const T = _.touches[0].clientX, R = Ci - T;
27874
27874
  R > 5 ? L("next") : R < -5 && L("previous"), Ci = null;
27875
- }, $ = {
27875
+ }, I = {
27876
27876
  "--width": `${S || 0}px`,
27877
27877
  "--total-cards": B,
27878
27878
  "--cards-per-page": m,
@@ -27899,7 +27899,7 @@ const p_ = ({
27899
27899
  className: "carousel",
27900
27900
  onTouchStart: O,
27901
27901
  onTouchMove: z,
27902
- style: $,
27902
+ style: I,
27903
27903
  "data-testid": "carousel-list",
27904
27904
  children: t.map((_, T) => {
27905
27905
  let R = A(_, T);
@@ -28025,10 +28025,14 @@ const p_ = ({
28025
28025
  }
28026
28026
  );
28027
28027
  const bk = ({ className: e = "", card: t }) => {
28028
- const { banner: n, title: r, text: i, isPrivate: a, slug: s } = t, o = {}, l = (u) => {
28029
- s && (u.preventDefault(), u.stopPropagation(), window.location.href = s);
28030
- };
28031
- return s && (o.onClick = l), /* @__PURE__ */ c.jsxs(
28028
+ const { banner: n, title: r, text: i, isPrivate: a, slug: s } = t;
28029
+ let o = {};
28030
+ return s && (o = {
28031
+ onClick: (u) => {
28032
+ s && (u.preventDefault(), u.stopPropagation(), window.location.href = s);
28033
+ },
28034
+ tabIndex: "0"
28035
+ }), /* @__PURE__ */ c.jsxs(
28032
28036
  "div",
28033
28037
  {
28034
28038
  className: V("narrow-card", e, {
@@ -28378,7 +28382,7 @@ export {
28378
28382
  im as ContentTypeLabel,
28379
28383
  nd as Contributors,
28380
28384
  Po as ConversationContext,
28381
- IC as CookieBanner,
28385
+ $C as CookieBanner,
28382
28386
  yk as CourseProgression,
28383
28387
  Dk as CourseStructure,
28384
28388
  mk as CustomContentBanner,
@@ -28397,7 +28401,7 @@ export {
28397
28401
  Br as EMAILS,
28398
28402
  ek as EditSection,
28399
28403
  Zp as EmailHelperTextBox,
28400
- $n as EmptyStateBox,
28404
+ In as EmptyStateBox,
28401
28405
  Np as EnrichedUrl,
28402
28406
  Gc as FeatureFlags,
28403
28407
  Mp as Filters,
@@ -28436,7 +28440,7 @@ export {
28436
28440
  gd as Logo,
28437
28441
  tk as LogoSection,
28438
28442
  UC as MEMBERS_PER_PAGE,
28439
- $h as MENTION_REGEX,
28443
+ Ih as MENTION_REGEX,
28440
28444
  xk as MarkCompleteButton,
28441
28445
  sr as MarkdownText,
28442
28446
  gk as MarketingBlock,
@@ -28444,7 +28448,7 @@ export {
28444
28448
  yn as Member,
28445
28449
  HC as MembersList,
28446
28450
  rd as Modal,
28447
- $p as MoreMenu,
28451
+ Ip as MoreMenu,
28448
28452
  N_ as NUMBER_OF_COUNTRIES,
28449
28453
  P_ as NUMBER_OF_USERS,
28450
28454
  bk as NarrowCard,
@@ -28462,16 +28466,16 @@ export {
28462
28466
  Qr as Portal,
28463
28467
  SC as ProfileForm,
28464
28468
  AC as ProfileImageChange,
28465
- Io as ProfileModal,
28469
+ $o as ProfileModal,
28466
28470
  ah as ProfileModalLauncher,
28467
- In as ProfilePicture,
28471
+ $n as ProfilePicture,
28468
28472
  Xc as ProgressBar,
28469
- $_ as ProgressTracker,
28473
+ I_ as ProgressTracker,
28470
28474
  Y_ as Rating,
28471
28475
  jE as RepliesFeed,
28472
28476
  VE as ResponsesHeading,
28473
28477
  vr as ResponsiveImage,
28474
- I_ as ReturnToNavButton,
28478
+ $_ as ReturnToNavButton,
28475
28479
  FC as RichTextEditor,
28476
28480
  jC as SearchForm,
28477
28481
  K_ as ShareLinks,
@@ -28501,7 +28505,7 @@ export {
28501
28505
  Wc as getLongDate,
28502
28506
  ro as getMember,
28503
28507
  rh as getPostBody,
28504
- Ih as getShortDate,
28508
+ $h as getShortDate,
28505
28509
  so as getValueLength,
28506
28510
  Ji as headerData,
28507
28511
  wk as mapGetStreamData,
@@ -28519,7 +28523,7 @@ export {
28519
28523
  mr as useElementWidth,
28520
28524
  _m as useOverlay,
28521
28525
  Oh as useScrollListener,
28522
- Ic as useScrollToHash,
28526
+ $c as useScrollToHash,
28523
28527
  Lc as useTooltips,
28524
28528
  to as useUser
28525
28529
  };