@apolitical/component-library 2.0.1 → 2.0.2-ac.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.mjs CHANGED
@@ -1,23 +1,23 @@
1
- import * as nr from "react";
2
- import L, { memo as Ie, useState as J, useEffect as ie, useRef as me, useMemo as at, createContext as Sn, useContext as Ce, Children as pn, useCallback as Ar, Fragment as tt, useReducer as Cn, forwardRef as Za, createElement as rr, Component as Ua, Suspense as Ha } from "react";
1
+ import * as rr from "react";
2
+ import L, { memo as Ie, useState as J, useEffect as ie, useRef as me, useMemo as at, createContext as Sn, useContext as Ce, Children as pn, useCallback as Or, Fragment as tt, useReducer as Cn, forwardRef as Za, createElement as ar, Component as Ua, Suspense as Ha } from "react";
3
3
  import xt from "lodash.clonedeep";
4
4
  import Wa from "lodash.set";
5
5
  import { useIntl as H, IntlProvider as Va, createIntl as Ya, FormattedMessage as xe } from "react-intl";
6
6
  import Ue from "truncate";
7
- import { QueryClient as Ga, QueryClientProvider as Ka, useMutation as we, useQueryClient as $n, useInfiniteQuery as Or, useQuery as Qa } from "@tanstack/react-query";
7
+ import { QueryClient as Ga, QueryClientProvider as Ka, useMutation as we, useQueryClient as $n, useInfiniteQuery as Fr, useQuery as Qa } from "@tanstack/react-query";
8
8
  import { ReactQueryDevtools as Ja } from "@tanstack/react-query-devtools";
9
9
  import bt from "posthog-js";
10
- import { CookiesProvider as Xa, useCookies as Fr } from "react-cookie";
10
+ import { CookiesProvider as Xa, useCookies as Lr } from "react-cookie";
11
11
  import Pt from "markdown-to-jsx";
12
12
  import { ReactMultiEmail as es } from "react-multi-email";
13
- import Lr from "lodash.get";
13
+ import Dr from "lodash.get";
14
14
  import { ErrorBoundary as ts } from "react-error-boundary";
15
15
  import ns from "react-textarea-autosize";
16
16
  import rs from "lodash.isequal";
17
17
  function Mn(e) {
18
18
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
19
19
  }
20
- var Dr = { exports: {} };
20
+ var Ir = { exports: {} };
21
21
  /*!
22
22
  Copyright (c) 2018 Jed Watson.
23
23
  Licensed under the MIT License (MIT), see
@@ -52,8 +52,8 @@ var Dr = { exports: {} };
52
52
  }
53
53
  e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
54
54
  })();
55
- })(Dr);
56
- var as = Dr.exports;
55
+ })(Ir);
56
+ var as = Ir.exports;
57
57
  const S = /* @__PURE__ */ Mn(as), ss = ({
58
58
  element: e = "span",
59
59
  showOnFocus: t = !0,
@@ -78,11 +78,11 @@ var hn = { exports: {} }, Ye = {};
78
78
  * This source code is licensed under the MIT license found in the
79
79
  * LICENSE file in the root directory of this source tree.
80
80
  */
81
- var ar;
81
+ var sr;
82
82
  function os() {
83
- if (ar)
83
+ if (sr)
84
84
  return Ye;
85
- ar = 1;
85
+ sr = 1;
86
86
  var e = L, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, s = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
87
87
  function c(o, f, d) {
88
88
  var u, l = {}, m = null, h = null;
@@ -106,9 +106,9 @@ var Ge = {};
106
106
  * This source code is licensed under the MIT license found in the
107
107
  * LICENSE file in the root directory of this source tree.
108
108
  */
109
- var sr;
109
+ var ir;
110
110
  function cs() {
111
- return sr || (sr = 1, process.env.NODE_ENV !== "production" && function() {
111
+ return ir || (ir = 1, process.env.NODE_ENV !== "production" && function() {
112
112
  var e = L, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), o = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), l = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), g = Symbol.iterator, v = "@@iterator";
113
113
  function _(p) {
114
114
  if (p === null || typeof p != "object")
@@ -347,8 +347,8 @@ function cs() {
347
347
  } finally {
348
348
  Z = !1, O.current = ue, K(), Error.prepareStackTrace = ae;
349
349
  }
350
- var qe = p ? p.displayName || p.name : "", tr = qe ? Y(qe) : "";
351
- return typeof p == "function" && R.set(p, tr), tr;
350
+ var qe = p ? p.displayName || p.name : "", nr = qe ? Y(qe) : "";
351
+ return typeof p == "function" && R.set(p, nr), nr;
352
352
  }
353
353
  function _e(p, T, M) {
354
354
  return $(p, !1);
@@ -386,13 +386,13 @@ function cs() {
386
386
  }
387
387
  return "";
388
388
  }
389
- var Le = Object.prototype.hasOwnProperty, Zn = {}, Un = b.ReactDebugCurrentFrame;
389
+ var Le = Object.prototype.hasOwnProperty, Un = {}, Hn = b.ReactDebugCurrentFrame;
390
390
  function lt(p) {
391
391
  if (p) {
392
392
  var T = p._owner, M = Ee(p.type, p._source, T ? T.type : null);
393
- Un.setExtraStackFrame(M);
393
+ Hn.setExtraStackFrame(M);
394
394
  } else
395
- Un.setExtraStackFrame(null);
395
+ Hn.setExtraStackFrame(null);
396
396
  }
397
397
  function ja(p, T, M, V, ae) {
398
398
  {
@@ -409,7 +409,7 @@ function cs() {
409
409
  } catch (pe) {
410
410
  te = pe;
411
411
  }
412
- te && !(te instanceof Error) && (lt(ae), y("%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).", V || "React class", M, re, typeof te), lt(null)), te instanceof Error && !(te.message in Zn) && (Zn[te.message] = !0, lt(ae), y("Failed %s type: %s", M, te.message), lt(null));
412
+ te && !(te instanceof Error) && (lt(ae), y("%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).", V || "React class", M, re, typeof te), lt(null)), te instanceof Error && !(te.message in Un) && (Un[te.message] = !0, lt(ae), y("Failed %s type: %s", M, te.message), lt(null));
413
413
  }
414
414
  }
415
415
  }
@@ -425,24 +425,24 @@ function cs() {
425
425
  }
426
426
  function Ea(p) {
427
427
  try {
428
- return Hn(p), !1;
428
+ return Wn(p), !1;
429
429
  } catch {
430
430
  return !0;
431
431
  }
432
432
  }
433
- function Hn(p) {
433
+ function Wn(p) {
434
434
  return "" + p;
435
435
  }
436
- function Wn(p) {
436
+ function Vn(p) {
437
437
  if (Ea(p))
438
- return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ta(p)), Hn(p);
438
+ return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ta(p)), Wn(p);
439
439
  }
440
440
  var Ve = b.ReactCurrentOwner, Sa = {
441
441
  key: !0,
442
442
  ref: !0,
443
443
  __self: !0,
444
444
  __source: !0
445
- }, Vn, Yn, Dt;
445
+ }, Yn, Gn, Dt;
446
446
  Dt = {};
447
447
  function Ca(p) {
448
448
  if (Le.call(p, "ref")) {
@@ -469,7 +469,7 @@ function cs() {
469
469
  function Pa(p, T) {
470
470
  {
471
471
  var M = function() {
472
- Vn || (Vn = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", T));
472
+ Yn || (Yn = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", T));
473
473
  };
474
474
  M.isReactWarning = !0, Object.defineProperty(p, "key", {
475
475
  get: M,
@@ -480,7 +480,7 @@ function cs() {
480
480
  function Ra(p, T) {
481
481
  {
482
482
  var M = function() {
483
- Yn || (Yn = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", T));
483
+ Gn || (Gn = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", T));
484
484
  };
485
485
  M.isReactWarning = !0, Object.defineProperty(p, "ref", {
486
486
  get: M,
@@ -520,7 +520,7 @@ function cs() {
520
520
  function Aa(p, T, M, V, ae) {
521
521
  {
522
522
  var ue, re = {}, te = null, ve = null;
523
- M !== void 0 && (Wn(M), te = "" + M), $a(T) && (Wn(T.key), te = "" + T.key), Ca(T) && (ve = T.ref, Ma(T, ae));
523
+ M !== void 0 && (Vn(M), te = "" + M), $a(T) && (Vn(T.key), te = "" + T.key), Ca(T) && (ve = T.ref, Ma(T, ae));
524
524
  for (ue in T)
525
525
  Le.call(T, ue) && !Sa.hasOwnProperty(ue) && (re[ue] = T[ue]);
526
526
  if (p && p.defaultProps) {
@@ -535,20 +535,20 @@ function cs() {
535
535
  return Na(p, te, ve, ae, V, Ve.current, re);
536
536
  }
537
537
  }
538
- var It = b.ReactCurrentOwner, Gn = b.ReactDebugCurrentFrame;
538
+ var It = b.ReactCurrentOwner, Kn = b.ReactDebugCurrentFrame;
539
539
  function Be(p) {
540
540
  if (p) {
541
541
  var T = p._owner, M = Ee(p.type, p._source, T ? T.type : null);
542
- Gn.setExtraStackFrame(M);
542
+ Kn.setExtraStackFrame(M);
543
543
  } else
544
- Gn.setExtraStackFrame(null);
544
+ Kn.setExtraStackFrame(null);
545
545
  }
546
546
  var Bt;
547
547
  Bt = !1;
548
548
  function qt(p) {
549
549
  return typeof p == "object" && p !== null && p.$$typeof === t;
550
550
  }
551
- function Kn() {
551
+ function Qn() {
552
552
  {
553
553
  if (It.current) {
554
554
  var p = W(It.current.type);
@@ -571,10 +571,10 @@ Check your code at ` + T + ":" + M + ".";
571
571
  return "";
572
572
  }
573
573
  }
574
- var Qn = {};
574
+ var Jn = {};
575
575
  function Fa(p) {
576
576
  {
577
- var T = Kn();
577
+ var T = Qn();
578
578
  if (!T) {
579
579
  var M = typeof p == "string" ? p : p.displayName || p.name;
580
580
  M && (T = `
@@ -584,27 +584,27 @@ Check the top-level render call using <` + M + ">.");
584
584
  return T;
585
585
  }
586
586
  }
587
- function Jn(p, T) {
587
+ function Xn(p, T) {
588
588
  {
589
589
  if (!p._store || p._store.validated || p.key != null)
590
590
  return;
591
591
  p._store.validated = !0;
592
592
  var M = Fa(T);
593
- if (Qn[M])
593
+ if (Jn[M])
594
594
  return;
595
- Qn[M] = !0;
595
+ Jn[M] = !0;
596
596
  var V = "";
597
597
  p && p._owner && p._owner !== It.current && (V = " It was passed a child from " + W(p._owner.type) + "."), Be(p), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', M, V), Be(null);
598
598
  }
599
599
  }
600
- function Xn(p, T) {
600
+ function er(p, T) {
601
601
  {
602
602
  if (typeof p != "object")
603
603
  return;
604
604
  if (Lt(p))
605
605
  for (var M = 0; M < p.length; M++) {
606
606
  var V = p[M];
607
- qt(V) && Jn(V, T);
607
+ qt(V) && Xn(V, T);
608
608
  }
609
609
  else if (qt(p))
610
610
  p._store && (p._store.validated = !0);
@@ -612,7 +612,7 @@ Check the top-level render call using <` + M + ">.");
612
612
  var ae = _(p);
613
613
  if (typeof ae == "function" && ae !== p.entries)
614
614
  for (var ue = ae.call(p), re; !(re = ue.next()).done; )
615
- qt(re.value) && Jn(re.value, T);
615
+ qt(re.value) && Xn(re.value, T);
616
616
  }
617
617
  }
618
618
  }
@@ -653,14 +653,14 @@ Check the top-level render call using <` + M + ">.");
653
653
  p.ref !== null && (Be(p), y("Invalid attribute `ref` supplied to `React.Fragment`."), Be(null));
654
654
  }
655
655
  }
656
- function er(p, T, M, V, ae, ue) {
656
+ function tr(p, T, M, V, ae, ue) {
657
657
  {
658
658
  var re = A(p);
659
659
  if (!re) {
660
660
  var te = "";
661
661
  (p === void 0 || typeof p == "object" && p !== null && Object.keys(p).length === 0) && (te += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
662
662
  var ve = Oa(ae);
663
- ve ? te += ve : te += Kn();
663
+ ve ? te += ve : te += Qn();
664
664
  var pe;
665
665
  p === null ? pe = "null" : Lt(p) ? pe = "array" : p !== void 0 && p.$$typeof === t ? (pe = "<" + (W(p.type) || "Unknown") + " />", te = " Did you accidentally export a JSX literal instead of a component?") : pe = typeof p, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", pe, te);
666
666
  }
@@ -673,21 +673,21 @@ Check the top-level render call using <` + M + ">.");
673
673
  if (V)
674
674
  if (Lt(je)) {
675
675
  for (var qe = 0; qe < je.length; qe++)
676
- Xn(je[qe], p);
676
+ er(je[qe], p);
677
677
  Object.freeze && Object.freeze(je);
678
678
  } else
679
679
  y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
680
680
  else
681
- Xn(je, p);
681
+ er(je, p);
682
682
  }
683
683
  return p === r ? Da(he) : La(he), he;
684
684
  }
685
685
  }
686
686
  function Ia(p, T, M) {
687
- return er(p, T, M, !0);
687
+ return tr(p, T, M, !0);
688
688
  }
689
689
  function Ba(p, T, M) {
690
- return er(p, T, M, !1);
690
+ return tr(p, T, M, !1);
691
691
  }
692
692
  var qa = Ba, za = Ia;
693
693
  Ge.Fragment = r, Ge.jsx = qa, Ge.jsxs = za;
@@ -765,7 +765,7 @@ function ds(e, t, n) {
765
765
  }, [g, _, t, y, v, h, m, b]);
766
766
  return j;
767
767
  }
768
- function Ir(e, t, n) {
768
+ function Br(e, t, n) {
769
769
  var r = n === void 0 ? {} : n, s = r.leading, i = r.trailing;
770
770
  return ds(e, t, { maxWait: t, leading: s === void 0 || s, trailing: i === void 0 || i });
771
771
  }
@@ -783,7 +783,7 @@ const st = (e = !0, t = !1, n = "window") => {
783
783
  return n === "window" ? window.innerWidth : n.offsetWidth;
784
784
  }, o = () => {
785
785
  s(c());
786
- }, f = Ir(
786
+ }, f = Br(
787
787
  () => {
788
788
  c() !== r && (t && (clearTimeout(zt), document.body.classList.add("is-resizing"), zt = setTimeout(() => {
789
789
  document.body.classList.remove("is-resizing");
@@ -823,7 +823,7 @@ const st = (e = !0, t = !1, n = "window") => {
823
823
  return;
824
824
  }
825
825
  Math.abs(m) >= t.up && !c.scrollUp && (r(), o({ scrollUp: !0, scrollDown: !1 }));
826
- }, d = Ir(() => {
826
+ }, d = Br(() => {
827
827
  f();
828
828
  }, 250);
829
829
  return s;
@@ -838,19 +838,19 @@ const st = (e = !0, t = !1, n = "window") => {
838
838
  r && (r.scrollIntoView(t ? { behavior: "smooth" } : null), n.current = !0);
839
839
  }
840
840
  }, e);
841
- }, Br = (e, t) => {
841
+ }, qr = (e, t) => {
842
842
  Array.isArray(t) || (t = [t]);
843
843
  const n = xt(e);
844
844
  return t.forEach(({ type: r, value: s }) => {
845
845
  Wa(n, r, s);
846
846
  }), n;
847
- }, qr = (e) => {
847
+ }, zr = (e) => {
848
848
  const t = [];
849
849
  return e.forEach((n) => {
850
850
  const r = parseInt(n);
851
851
  isNaN(r) || t.push(r);
852
852
  }), t.sort((n, r) => n - r);
853
- }, zr = (e, t, n) => {
853
+ }, Zr = (e, t, n) => {
854
854
  let r = n.mobile;
855
855
  for (const s in t) {
856
856
  const i = parseInt(String(t[s]));
@@ -871,7 +871,7 @@ const st = (e = !0, t = !1, n = "window") => {
871
871
  weeks: 52,
872
872
  days: 365
873
873
  }
874
- }, ps = (e, t = "en") => new Date(e).toLocaleString(t, { day: "numeric", month: "short" }), Zr = (e, t = "en") => new Date(e).toLocaleString(t, {
874
+ }, ps = (e, t = "en") => new Date(e).toLocaleString(t, { day: "numeric", month: "short" }), Ur = (e, t = "en") => new Date(e).toLocaleString(t, {
875
875
  weekday: "long",
876
876
  day: "numeric",
877
877
  month: "short",
@@ -1275,9 +1275,9 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1275
1275
  es: _s,
1276
1276
  fr: vs,
1277
1277
  pt: bs
1278
- }, Symbol.toStringTag, { value: "Module" })), Ur = (e) => e in Rn, Se = (e, t, n, r, s = {}) => {
1278
+ }, Symbol.toStringTag, { value: "Module" })), Hr = (e) => e in Rn, Se = (e, t, n, r, s = {}) => {
1279
1279
  let i = "";
1280
- return Ur(`${t}_${n}`) ? i = e({ id: `${t}_${n}` }, s) : i = e({ id: t }, { [r]: n, ...s }), i;
1280
+ return Hr(`${t}_${n}`) ? i = e({ id: `${t}_${n}` }, s) : i = e({ id: t }, { [r]: n, ...s }), i;
1281
1281
  }, xs = (e, t, n) => {
1282
1282
  if (!e || e === 0)
1283
1283
  return "0";
@@ -1315,8 +1315,8 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1315
1315
  }) => {
1316
1316
  const h = st(typeof t == "object");
1317
1317
  if (typeof t == "object" && typeof h == "number") {
1318
- const _ = Object.assign({}, t), b = qr(Object.keys(_));
1319
- t = zr(h, b, _);
1318
+ const _ = Object.assign({}, t), b = zr(Object.keys(_));
1319
+ t = Zr(h, b, _);
1320
1320
  }
1321
1321
  const g = [];
1322
1322
  typeof t == "string" && g.push(t), r && (g.push("icon"), typeof r == "object" ? (g.push(r.icon), r.position ? g.push(r.position) : g.push("left"), r.hover && g.push(`hover_${r.hover}`), r.animate && (g.push("animate"), typeof r.animate == "string" && g.push(r.animate))) : (g.push(r), !r.includes("right") && !r.includes("left") && g.push("left"))), n.muted && g.push("muted"), n.fullWidth && g.push("full-width");
@@ -1348,22 +1348,7 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1348
1348
  const Oe = ({ className: e = "", maxWidth: t = !1 }) => {
1349
1349
  const n = t ? { "--max-width": `${t / 16}rem` } : {};
1350
1350
  return /* @__PURE__ */ a.jsx("hr", { className: S(e, { "has-max-width": t }), style: n });
1351
- }, it = ({
1352
- href: e,
1353
- children: t,
1354
- fallbackElement: n,
1355
- className: r = "",
1356
- onClick: s,
1357
- gtmContext: i,
1358
- gtmType: c,
1359
- ...o
1360
- }) => {
1361
- if (e) {
1362
- const f = { ...o };
1363
- return s && (f.onClick = s), i && (f["data-gtm-event-context"] = i), c && (f["data-gtm-event-type"] = c), /* @__PURE__ */ a.jsx("a", { href: e, className: S("gtm-trackable", r), ...f, children: t });
1364
- }
1365
- return n ? L.createElement(n, { children: t, className: r, ...o }) : t;
1366
- }, ir = {
1351
+ }, or = {
1367
1352
  card: {
1368
1353
  range: [
1369
1354
  {
@@ -1471,7 +1456,7 @@ const Oe = ({ className: e = "", maxWidth: t = !1 }) => {
1471
1456
  range: t,
1472
1457
  sizes: n
1473
1458
  }) => {
1474
- const { range: r, sizes: s } = e ? ir[e] : ir.fallback;
1459
+ const { range: r, sizes: s } = e ? or[e] : or.fallback;
1475
1460
  return { range: t && t.length > 0 ? t : r, sizes: n || s };
1476
1461
  }, Ts = ({ format: e, height: t, query: n, width: r }) => {
1477
1462
  let s = `w=${r}&h=${t}`;
@@ -1482,7 +1467,7 @@ const Oe = ({ className: e = "", maxWidth: t = !1 }) => {
1482
1467
  query: r,
1483
1468
  width: i
1484
1469
  })} ${i}w`).join(", ");
1485
- const Hr = ({ image: e, className: t, testId: n }) => {
1470
+ const Nn = ({ image: e, className: t, testId: n }) => {
1486
1471
  const {
1487
1472
  description: r,
1488
1473
  height: s,
@@ -1522,6 +1507,29 @@ const Hr = ({ image: e, className: t, testId: n }) => {
1522
1507
  )
1523
1508
  ] });
1524
1509
  };
1510
+ const hc = ({ image: e, className: t, testId: n }) => /* @__PURE__ */ a.jsx(
1511
+ "div",
1512
+ {
1513
+ className: `image-container ${t}`,
1514
+ "data-testid": n || "image-container",
1515
+ children: e && /* @__PURE__ */ a.jsx(Nn, { image: { ...e }, className: "image" })
1516
+ }
1517
+ ), it = ({
1518
+ href: e,
1519
+ children: t,
1520
+ fallbackElement: n,
1521
+ className: r = "",
1522
+ onClick: s,
1523
+ gtmContext: i,
1524
+ gtmType: c,
1525
+ ...o
1526
+ }) => {
1527
+ if (e) {
1528
+ const f = { ...o };
1529
+ return s && (f.onClick = s), i && (f["data-gtm-event-context"] = i), c && (f["data-gtm-event-type"] = c), /* @__PURE__ */ a.jsx("a", { href: e, className: S("gtm-trackable", r), ...f, children: t });
1530
+ }
1531
+ return n ? L.createElement(n, { children: t, className: r, ...o }) : t;
1532
+ };
1525
1533
  let Ke = !1;
1526
1534
  const Es = ({ isOpen: e = !1, isLoading: t = !1, children: n }) => {
1527
1535
  const r = H(), s = me(null), [i, c] = J("hidden");
@@ -1552,7 +1560,7 @@ const Es = ({ isOpen: e = !1, isLoading: t = !1, children: n }) => {
1552
1560
  );
1553
1561
  };
1554
1562
  const ot = ({ children: e, className: t = "", ...n }) => /* @__PURE__ */ a.jsx("section", { className: S("full-width-section", t), ...n, children: e });
1555
- const hc = ({ text: e, buttons: t, className: n = "" }) => {
1563
+ const gc = ({ text: e, buttons: t, className: n = "" }) => {
1556
1564
  const r = [];
1557
1565
  return t.forEach((s) => {
1558
1566
  r.push({
@@ -1574,7 +1582,7 @@ const hc = ({ text: e, buttons: t, className: n = "" }) => {
1574
1582
  /* @__PURE__ */ a.jsx(Rt, { buttons: r })
1575
1583
  ] }) });
1576
1584
  };
1577
- const gc = ({
1585
+ const _c = ({
1578
1586
  title: e = !1,
1579
1587
  logos: t = [],
1580
1588
  className: n = ""
@@ -1703,12 +1711,12 @@ const Ss = [
1703
1711
  }
1704
1712
  )
1705
1713
  ] }),
1706
- n && /* @__PURE__ */ a.jsx(Hr, { image: { ...n, aspect: "banner" } })
1714
+ n && /* @__PURE__ */ a.jsx(Nn, { image: { ...n, aspect: "banner" } })
1707
1715
  ] })
1708
1716
  }
1709
1717
  );
1710
- }, _c = Ie(Cs);
1711
- const vc = ({
1718
+ }, vc = Ie(Cs);
1719
+ const bc = ({
1712
1720
  variant: e = "primary",
1713
1721
  button: t = null,
1714
1722
  title: n,
@@ -1779,10 +1787,10 @@ const Rs = ({ children: e, user: t }) => t.isLoading ? null : process.env.REACT_
1779
1787
  };
1780
1788
  return /* @__PURE__ */ a.jsx(Va, { locale: r, messages: s, children: e });
1781
1789
  }, Ne = Sn({ isLoading: !0 });
1782
- function Nn() {
1790
+ function An() {
1783
1791
  return Ce(Ne);
1784
1792
  }
1785
- const As = ({ children: e, user: t }) => /* @__PURE__ */ a.jsx(Ne.Provider, { value: t, children: e }), bc = ({ bootstrap: e, children: t, intl: n }) => {
1793
+ const As = ({ children: e, user: t }) => /* @__PURE__ */ a.jsx(Ne.Provider, { value: t, children: e }), yc = ({ bootstrap: e, children: t, intl: n }) => {
1786
1794
  const [r, s] = J({ isLoading: !0 });
1787
1795
  return ie(() => {
1788
1796
  e().then((i) => {
@@ -1796,7 +1804,7 @@ const As = ({ children: e, user: t }) => /* @__PURE__ */ a.jsx(Ne.Provider, { va
1796
1804
  default: "dpo@apolitical.co",
1797
1805
  eu: "dpo.agl@apolitical.foundation"
1798
1806
  }
1799
- }, yc = "200,000+";
1807
+ }, xc = "200,000+";
1800
1808
  const Wr = ({ label: e = !1, className: t = "", children: n }) => {
1801
1809
  const r = H();
1802
1810
  return /* @__PURE__ */ a.jsxs("details", { className: S("collapsible-section", t), children: [
@@ -1833,8 +1841,8 @@ const We = ({
1833
1841
  let s = n && !!Object.keys(n).length;
1834
1842
  const i = typeof n == "object" && "breakpoints" in n, c = st(i);
1835
1843
  if (i && typeof n == "object" && typeof c == "number") {
1836
- const l = Object.assign({}, n.breakpoints), m = qr(Object.keys(l));
1837
- s = zr(c, m, l);
1844
+ const l = Object.assign({}, n.breakpoints), m = zr(Object.keys(l));
1845
+ s = Zr(c, m, l);
1838
1846
  }
1839
1847
  const {
1840
1848
  breakpoints: o,
@@ -1883,7 +1891,7 @@ const Os = ({
1883
1891
  }
1884
1892
  ) : /* @__PURE__ */ a.jsx("p", { children: r })
1885
1893
  ] });
1886
- const xc = ({
1894
+ const wc = ({
1887
1895
  className: e = "",
1888
1896
  show: t = !1,
1889
1897
  hide: n = !1,
@@ -2010,7 +2018,7 @@ const xc = ({
2010
2018
  ),
2011
2019
  /* @__PURE__ */ a.jsx("span", { id: `content-after-iframe-${n}`, tabIndex: -1 })
2012
2020
  ] });
2013
- }, or = (e) => {
2021
+ }, cr = (e) => {
2014
2022
  let t = "";
2015
2023
  return e && typeof e != "string" && typeof e != "number" && typeof e != "boolean" && "type" in e && (t = e.type), t;
2016
2024
  }, zs = ({
@@ -2024,15 +2032,15 @@ const xc = ({
2024
2032
  if (!(!i || typeof i == "string" || typeof i == "number") && L.isValidElement(i)) {
2025
2033
  const c = i.type;
2026
2034
  if (["button", "center", "span", "strong"].includes(c) && i.props && i.props.children && i.props.children[0])
2027
- for ((c === "button" || or(i.props.children[0]) === "button") && (s = !0), r = i.props.children[0]; r && typeof r != "string" && !(typeof r == "boolean" || typeof r == "number" || !L.isValidElement(r)); )
2035
+ for ((c === "button" || cr(i.props.children[0]) === "button") && (s = !0), r = i.props.children[0]; r && typeof r != "string" && !(typeof r == "boolean" || typeof r == "number" || !L.isValidElement(r)); )
2028
2036
  if (r.props && r.props.children && r.props.children[0])
2029
- r = r.props.children[0], r && or(r) === "button" && (s = !0);
2037
+ r = r.props.children[0], r && cr(r) === "button" && (s = !0);
2030
2038
  else
2031
2039
  break;
2032
2040
  }
2033
2041
  return s ? (n = { ...n, className: "button primary medium" }, /* @__PURE__ */ a.jsx("p", { className: "center", children: /* @__PURE__ */ a.jsx(se, { variant: "primary", size: "medium", ...n, children: r }) })) : /* @__PURE__ */ a.jsx("a", { ...n, children: r });
2034
2042
  }, Zs = ({ children: e }) => /* @__PURE__ */ a.jsx("span", { children: e });
2035
- const cr = ({ className: e = "", options: t = {}, children: n }) => {
2043
+ const lr = ({ className: e = "", options: t = {}, children: n }) => {
2036
2044
  n = n.replace(/^<br\/?>/, "");
2037
2045
  const r = {
2038
2046
  wrapper: L.Fragment,
@@ -2134,7 +2142,7 @@ const Ut = "loadingBlock_", Vs = ({ progress: e = 0, steps: t = !1, className: n
2134
2142
  ]
2135
2143
  }
2136
2144
  );
2137
- }, wc = Ie(Vs);
2145
+ }, jc = Ie(Vs);
2138
2146
  const Te = ({ element: e = "div", className: t = "", ...n }) => /* @__PURE__ */ a.jsx(
2139
2147
  Pn,
2140
2148
  {
@@ -2172,13 +2180,13 @@ const bn = {
2172
2180
  if (r <= t * (s + 1))
2173
2181
  return dt[s];
2174
2182
  };
2175
- const lr = 256, ct = ({
2183
+ const dr = 256, ct = ({
2176
2184
  className: e = "",
2177
2185
  src: t = "",
2178
2186
  name: n,
2179
2187
  alt: r,
2180
- width: s = lr,
2181
- height: i = lr,
2188
+ width: s = dr,
2189
+ height: i = dr,
2182
2190
  ...c
2183
2191
  }) => {
2184
2192
  const [o, f] = J(!1), d = me(null);
@@ -2236,7 +2244,7 @@ const lr = 256, ct = ({
2236
2244
  let f = `${o}${(s || i) && c ? `, ${n}` : n}`;
2237
2245
  return f.length > r && (f = o), f.length > r && (f = Ue(f, r)), f;
2238
2246
  };
2239
- const An = ({
2247
+ const On = ({
2240
2248
  element: e = "div",
2241
2249
  member: t = "community",
2242
2250
  additionalContent: n = !1,
@@ -2248,7 +2256,7 @@ const An = ({
2248
2256
  o.name || (o.name = c.formatMessage({
2249
2257
  id: `member_${typeof t == "string" ? t : "community"}`
2250
2258
  }));
2251
- const { name: f, url: d, image: u } = o, l = Gs(o), m = n && n.createdAt ? gn(n.createdAt) : !1, h = n && n.createdAt ? Zr(n.createdAt) : "";
2259
+ const { name: f, url: d, image: u } = o, l = Gs(o), m = n && n.createdAt ? gn(n.createdAt) : !1, h = n && n.createdAt ? Ur(n.createdAt) : "";
2252
2260
  return L.createElement(e, {
2253
2261
  className: S("member text-medium", i),
2254
2262
  children: /* @__PURE__ */ a.jsxs(
@@ -2278,7 +2286,7 @@ const An = ({
2278
2286
  )
2279
2287
  });
2280
2288
  };
2281
- const dr = {
2289
+ const ur = {
2282
2290
  small: 24,
2283
2291
  medium: 48
2284
2292
  }, Jr = ({
@@ -2310,8 +2318,8 @@ const dr = {
2310
2318
  {
2311
2319
  name: v,
2312
2320
  src: _,
2313
- width: dr[s || "medium"],
2314
- height: dr[s || "medium"]
2321
+ width: ur[s || "medium"],
2322
+ height: ur[s || "medium"]
2315
2323
  }
2316
2324
  );
2317
2325
  } else if (m === o) {
@@ -2364,7 +2372,7 @@ const dr = {
2364
2372
  ] });
2365
2373
  }
2366
2374
  if (u && !i || c)
2367
- return /* @__PURE__ */ a.jsx("p", { className: "details", children: c ? n.formatMessage({ id: "card_bootcamp" }) : Zr(u) });
2375
+ return /* @__PURE__ */ a.jsx("p", { className: "details", children: c ? n.formatMessage({ id: "card_bootcamp" }) : Ur(u) });
2368
2376
  if (o)
2369
2377
  return /* @__PURE__ */ a.jsx(
2370
2378
  jt,
@@ -2514,7 +2522,7 @@ const dr = {
2514
2522
  );
2515
2523
  }
2516
2524
  return null;
2517
- }, ur = {
2525
+ }, fr = {
2518
2526
  cube: "box",
2519
2527
  graduationCap: "graduation-cap",
2520
2528
  person: "user",
@@ -2522,7 +2530,7 @@ const dr = {
2522
2530
  star: "star_empty_thin"
2523
2531
  }, Js = (e) => {
2524
2532
  let t = e;
2525
- return Object.keys(ur).includes(e) && (t = ur[e]), `url(${rt}icons/${t}.svg)`;
2533
+ return Object.keys(fr).includes(e) && (t = fr[e]), `url(${rt}icons/${t}.svg)`;
2526
2534
  };
2527
2535
  const Xs = {
2528
2536
  title: 66,
@@ -2540,7 +2548,7 @@ const Xs = {
2540
2548
  const c = H(), o = Ce(Ne), f = o && typeof o.id == "string", [d, u] = J({
2541
2549
  data: null,
2542
2550
  isLoading: !0
2543
- }), { data: l, isLoading: m } = d, h = Ar(() => {
2551
+ }), { data: l, isLoading: m } = d, h = Or(() => {
2544
2552
  n(t, f).then((G) => {
2545
2553
  u(() => ({ data: G, isLoading: !1 }));
2546
2554
  }).catch(() => u((G) => ({ ...G, isLoading: !1 })));
@@ -2564,7 +2572,7 @@ const Xs = {
2564
2572
  className: _,
2565
2573
  length: b,
2566
2574
  gtmEvent: y
2567
- } = kt[g], j = Ur(`card_label_${g}`) ? c.formatMessage({ id: `card_label_${g}` }) : !1, w = l.slug ? `${v}${l.slug}` : !1, x = { ...Xs, ...b };
2575
+ } = kt[g], j = Hr(`card_label_${g}`) ? c.formatMessage({ id: `card_label_${g}` }) : !1, w = l.slug ? `${v}${l.slug}` : !1, x = { ...Xs, ...b };
2568
2576
  let P = { className: "card" };
2569
2577
  w && (P = {
2570
2578
  href: w,
@@ -2601,7 +2609,7 @@ const Xs = {
2601
2609
  ),
2602
2610
  l.banner ? /* @__PURE__ */ a.jsxs("p", { className: "img", children: [
2603
2611
  l.registered && /* @__PURE__ */ a.jsx(jt, { size: "small", variant: "registered", children: c.formatMessage({ id: "card_registered" }) }),
2604
- /* @__PURE__ */ a.jsx(Hr, { image: l.banner })
2612
+ /* @__PURE__ */ a.jsx(Nn, { image: l.banner })
2605
2613
  ] }) : _ === "people" ? /* @__PURE__ */ a.jsx(
2606
2614
  ct,
2607
2615
  {
@@ -2826,7 +2834,7 @@ const ri = ({
2826
2834
  ]
2827
2835
  }
2828
2836
  );
2829
- }, jc = ({
2837
+ }, kc = ({
2830
2838
  carousels: e = [],
2831
2839
  isLoading: t,
2832
2840
  title: n,
@@ -2891,7 +2899,7 @@ const Wt = "joinCommunityButton", ea = ({
2891
2899
  }
2892
2900
  );
2893
2901
  };
2894
- const Vt = "communityDetails_", kc = ({
2902
+ const Vt = "communityDetails_", Tc = ({
2895
2903
  className: e = "",
2896
2904
  isMember: t = !1,
2897
2905
  slug: n,
@@ -2938,7 +2946,7 @@ const Vt = "communityDetails_", kc = ({
2938
2946
  )
2939
2947
  ] });
2940
2948
  };
2941
- const Tc = ({ breadcrumbs: e, cutoff: t = 20, className: n = "" }) => {
2949
+ const Ec = ({ breadcrumbs: e, cutoff: t = 20, className: n = "" }) => {
2942
2950
  const r = H();
2943
2951
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2944
2952
  /* @__PURE__ */ a.jsx(
@@ -2962,7 +2970,7 @@ const Tc = ({ breadcrumbs: e, cutoff: t = 20, className: n = "" }) => {
2962
2970
  ) })
2963
2971
  ] });
2964
2972
  };
2965
- const Ec = ({
2973
+ const Sc = ({
2966
2974
  options: e,
2967
2975
  allOption: t = !1,
2968
2976
  allowMultiple: n = !0,
@@ -3012,7 +3020,7 @@ const Yt = {
3012
3020
  es: "Español",
3013
3021
  fr: "Français",
3014
3022
  pt: "Português"
3015
- }, ft = "languageSwitcher_", Sc = ({
3023
+ }, ft = "languageSwitcher_", Cc = ({
3016
3024
  currentLanguage: e,
3017
3025
  isOriginalLanguage: t = !1,
3018
3026
  isHumanTranslation: n = !1,
@@ -3284,7 +3292,7 @@ ${Qe(t, "mailto", n)}&src=email`
3284
3292
  onClick: (r, s) => (r.preventDefault(), r.stopPropagation(), navigator.clipboard.writeText(s))
3285
3293
  }
3286
3294
  ];
3287
- const di = "shareLinks_", Cc = ({
3295
+ const di = "shareLinks_", $c = ({
3288
3296
  title: e,
3289
3297
  link: t,
3290
3298
  referrer: n,
@@ -3320,7 +3328,7 @@ const di = "shareLinks_", Cc = ({
3320
3328
  }) })
3321
3329
  ] });
3322
3330
  };
3323
- const $c = ({ tabs: e, className: t = "" }) => {
3331
+ const Mc = ({ tabs: e, className: t = "" }) => {
3324
3332
  var f;
3325
3333
  const n = (d, u, l) => (d || (d = `panel-${window.btoa(u)}-${l}`), d);
3326
3334
  let r = e.findIndex((d) => d.current === !0);
@@ -3399,7 +3407,7 @@ const pt = "emailHelperTextBox_", mi = ({
3399
3407
  link: {},
3400
3408
  mail: {},
3401
3409
  error: ""
3402
- }), [o, f] = J(!1), d = Ar(
3410
+ }), [o, f] = J(!1), d = Or(
3403
3411
  (h) => {
3404
3412
  h.preventDefault(), h.stopPropagation();
3405
3413
  const g = (v) => {
@@ -4182,8 +4190,8 @@ const ht = "passwordRules_", aa = "isMoreThanEightCharacters", sa = "includesNum
4182
4190
  )
4183
4191
  ) })
4184
4192
  ] });
4185
- }, Mc = Ie(xi);
4186
- const Pc = ({
4193
+ }, Pc = Ie(xi);
4194
+ const Rc = ({
4187
4195
  text: e = {},
4188
4196
  topRating: t = 5,
4189
4197
  functions: {
@@ -4475,7 +4483,7 @@ const ki = ({
4475
4483
  )
4476
4484
  }
4477
4485
  );
4478
- }, fr = async ({ ref: e, validateEmail: t, dispatch: n }) => {
4486
+ }, mr = async ({ ref: e, validateEmail: t, dispatch: n }) => {
4479
4487
  const r = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
4480
4488
  if (!e.current.validity.valid || !r.test(e.current.value))
4481
4489
  return n([{ type: "validFields.email", value: !1 }]);
@@ -4566,11 +4574,11 @@ var yn = { exports: {} }, xn = { exports: {} }, oe = {};
4566
4574
  * This source code is licensed under the MIT license found in the
4567
4575
  * LICENSE file in the root directory of this source tree.
4568
4576
  */
4569
- var mr;
4577
+ var pr;
4570
4578
  function Ei() {
4571
- if (mr)
4579
+ if (pr)
4572
4580
  return oe;
4573
- mr = 1;
4581
+ pr = 1;
4574
4582
  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, s = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, o = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, l = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, b = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
4575
4583
  function j(x) {
4576
4584
  if (typeof x == "object" && x !== null) {
@@ -4642,9 +4650,9 @@ var ce = {};
4642
4650
  * This source code is licensed under the MIT license found in the
4643
4651
  * LICENSE file in the root directory of this source tree.
4644
4652
  */
4645
- var pr;
4653
+ var hr;
4646
4654
  function Si() {
4647
- return pr || (pr = 1, process.env.NODE_ENV !== "production" && function() {
4655
+ return hr || (hr = 1, process.env.NODE_ENV !== "production" && function() {
4648
4656
  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, s = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, o = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, l = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, b = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
4649
4657
  function j($) {
4650
4658
  return typeof $ == "string" || typeof $ == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
@@ -4726,17 +4734,17 @@ function Si() {
4726
4734
  }()), ce;
4727
4735
  }
4728
4736
  process.env.NODE_ENV === "production" ? xn.exports = Ei() : xn.exports = Si();
4729
- var On = xn.exports;
4737
+ var Fn = xn.exports;
4730
4738
  /*
4731
4739
  object-assign
4732
4740
  (c) Sindre Sorhus
4733
4741
  @license MIT
4734
4742
  */
4735
- var Qt, hr;
4743
+ var Qt, gr;
4736
4744
  function Ci() {
4737
- if (hr)
4745
+ if (gr)
4738
4746
  return Qt;
4739
- hr = 1;
4747
+ gr = 1;
4740
4748
  var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
4741
4749
  function r(i) {
4742
4750
  if (i == null)
@@ -4779,27 +4787,27 @@ function Ci() {
4779
4787
  return f;
4780
4788
  }, Qt;
4781
4789
  }
4782
- var Jt, gr;
4783
- function Fn() {
4784
- if (gr)
4790
+ var Jt, _r;
4791
+ function Ln() {
4792
+ if (_r)
4785
4793
  return Jt;
4786
- gr = 1;
4794
+ _r = 1;
4787
4795
  var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
4788
4796
  return Jt = e, Jt;
4789
4797
  }
4790
- var Xt, _r;
4798
+ var Xt, vr;
4791
4799
  function ca() {
4792
- return _r || (_r = 1, Xt = Function.call.bind(Object.prototype.hasOwnProperty)), Xt;
4800
+ return vr || (vr = 1, Xt = Function.call.bind(Object.prototype.hasOwnProperty)), Xt;
4793
4801
  }
4794
- var en, vr;
4802
+ var en, br;
4795
4803
  function $i() {
4796
- if (vr)
4804
+ if (br)
4797
4805
  return en;
4798
- vr = 1;
4806
+ br = 1;
4799
4807
  var e = function() {
4800
4808
  };
4801
4809
  if (process.env.NODE_ENV !== "production") {
4802
- var t = Fn(), n = {}, r = ca();
4810
+ var t = Ln(), n = {}, r = ca();
4803
4811
  e = function(i) {
4804
4812
  var c = "Warning: " + i;
4805
4813
  typeof console < "u" && console.error(c);
@@ -4841,12 +4849,12 @@ function $i() {
4841
4849
  process.env.NODE_ENV !== "production" && (n = {});
4842
4850
  }, en = s, en;
4843
4851
  }
4844
- var tn, br;
4852
+ var tn, yr;
4845
4853
  function Mi() {
4846
- if (br)
4854
+ if (yr)
4847
4855
  return tn;
4848
- br = 1;
4849
- var e = On, t = Ci(), n = Fn(), r = ca(), s = $i(), i = function() {
4856
+ yr = 1;
4857
+ var e = Fn, t = Ci(), n = Ln(), r = ca(), s = $i(), i = function() {
4850
4858
  };
4851
4859
  process.env.NODE_ENV !== "production" && (i = function(o) {
4852
4860
  var f = "Warning: " + o;
@@ -5163,12 +5171,12 @@ Valid keys: ` + JSON.stringify(Object.keys(k), null, " ")
5163
5171
  return h.checkPropTypes = s, h.resetWarningCache = s.resetWarningCache, h.PropTypes = h, h;
5164
5172
  }, tn;
5165
5173
  }
5166
- var nn, yr;
5174
+ var nn, xr;
5167
5175
  function Pi() {
5168
- if (yr)
5176
+ if (xr)
5169
5177
  return nn;
5170
- yr = 1;
5171
- var e = Fn();
5178
+ xr = 1;
5179
+ var e = Ln();
5172
5180
  function t() {
5173
5181
  }
5174
5182
  function n() {
@@ -5213,7 +5221,7 @@ function Pi() {
5213
5221
  }, nn;
5214
5222
  }
5215
5223
  if (process.env.NODE_ENV !== "production") {
5216
- var Ri = On, Ni = !0;
5224
+ var Ri = Fn, Ni = !0;
5217
5225
  yn.exports = Mi()(Ri.isElement, Ni);
5218
5226
  } else
5219
5227
  yn.exports = Pi()();
@@ -5317,11 +5325,11 @@ var At = /* @__PURE__ */ function(e) {
5317
5325
  var s = this.props;
5318
5326
  s.sitekey, s.onChange, s.theme, s.type, s.tabindex, s.onExpired, s.onErrored, s.size, s.stoken, s.grecaptcha, s.badge, s.hl, s.isolated;
5319
5327
  var i = Fi(s, Oi);
5320
- return /* @__PURE__ */ nr.createElement("div", wn({}, i, {
5328
+ return /* @__PURE__ */ rr.createElement("div", wn({}, i, {
5321
5329
  ref: this.handleRecaptchaRef
5322
5330
  }));
5323
5331
  }, t;
5324
- }(nr.Component);
5332
+ }(rr.Component);
5325
5333
  At.displayName = "ReCAPTCHA";
5326
5334
  At.propTypes = {
5327
5335
  sitekey: ye.string.isRequired,
@@ -5347,7 +5355,7 @@ At.defaultProps = {
5347
5355
  size: "normal",
5348
5356
  badge: "bottomright"
5349
5357
  };
5350
- var Ln = On, Di = {
5358
+ var Dn = Fn, Di = {
5351
5359
  childContextTypes: !0,
5352
5360
  contextType: !0,
5353
5361
  contextTypes: !0,
@@ -5380,22 +5388,22 @@ var Ln = On, Di = {
5380
5388
  displayName: !0,
5381
5389
  propTypes: !0,
5382
5390
  type: !0
5383
- }, Dn = {};
5384
- Dn[Ln.ForwardRef] = Bi;
5385
- Dn[Ln.Memo] = la;
5386
- function xr(e) {
5387
- return Ln.isMemo(e) ? la : Dn[e.$$typeof] || Di;
5391
+ }, In = {};
5392
+ In[Dn.ForwardRef] = Bi;
5393
+ In[Dn.Memo] = la;
5394
+ function wr(e) {
5395
+ return Dn.isMemo(e) ? la : In[e.$$typeof] || Di;
5388
5396
  }
5389
- var qi = Object.defineProperty, zi = Object.getOwnPropertyNames, wr = Object.getOwnPropertySymbols, Zi = Object.getOwnPropertyDescriptor, Ui = Object.getPrototypeOf, jr = Object.prototype;
5397
+ var qi = Object.defineProperty, zi = Object.getOwnPropertyNames, jr = Object.getOwnPropertySymbols, Zi = Object.getOwnPropertyDescriptor, Ui = Object.getPrototypeOf, kr = Object.prototype;
5390
5398
  function da(e, t, n) {
5391
5399
  if (typeof t != "string") {
5392
- if (jr) {
5400
+ if (kr) {
5393
5401
  var r = Ui(t);
5394
- r && r !== jr && da(e, r, n);
5402
+ r && r !== kr && da(e, r, n);
5395
5403
  }
5396
5404
  var s = zi(t);
5397
- wr && (s = s.concat(wr(t)));
5398
- for (var i = xr(e), c = xr(t), o = 0; o < s.length; ++o) {
5405
+ jr && (s = s.concat(jr(t)));
5406
+ for (var i = wr(e), c = wr(t), o = 0; o < s.length; ++o) {
5399
5407
  var f = s[o];
5400
5408
  if (!Ii[f] && !(n && n[f]) && !(c && c[f]) && !(i && i[f])) {
5401
5409
  var d = Zi(t, f);
@@ -5516,10 +5524,10 @@ function Ki(e, t) {
5516
5524
  var l = t.globalName, m = this.props;
5517
5525
  m.asyncScriptOnLoad;
5518
5526
  var h = m.forwardedRef, g = Vi(m, ["asyncScriptOnLoad", "forwardedRef"]);
5519
- return l && typeof window < "u" && (g[l] = typeof window[l] < "u" ? window[l] : void 0), g.ref = h, rr(r, g);
5527
+ return l && typeof window < "u" && (g[l] = typeof window[l] < "u" ? window[l] : void 0), g.ref = h, ar(r, g);
5520
5528
  }, f;
5521
5529
  }(Ua), c = Za(function(o, f) {
5522
- return rr(i, kn({}, o, {
5530
+ return ar(i, kn({}, o, {
5523
5531
  forwardedRef: f
5524
5532
  }));
5525
5533
  });
@@ -5583,7 +5591,7 @@ const Xi = Ki(Ji, {
5583
5591
  }),
5584
5592
  functions: {
5585
5593
  onBlur: () => {
5586
- fr({ ref: c.email, validateEmail: t, dispatch: f });
5594
+ mr({ ref: c.email, validateEmail: t, dispatch: f });
5587
5595
  },
5588
5596
  onChange: (v, _) => {
5589
5597
  _ && _({
@@ -5697,7 +5705,7 @@ const Xi = Ki(Ji, {
5697
5705
  o.validFields[b] !== c[b].current.validity.valid && (_.push({
5698
5706
  type: `validFields.${b}`,
5699
5707
  value: c[b].current.validity.valid
5700
- }), b === "email" && fr({ ref: c.email, validateEmail: t, dispatch: f }));
5708
+ }), b === "email" && mr({ ref: c.email, validateEmail: t, dispatch: f }));
5701
5709
  }), _.length && f(_);
5702
5710
  }
5703
5711
  },
@@ -5756,7 +5764,7 @@ const no = {
5756
5764
  loadRecaptcha: !1,
5757
5765
  showSuccessMessage: !1,
5758
5766
  showError: !1
5759
- }, Rc = ({
5767
+ }, Nc = ({
5760
5768
  className: e = "",
5761
5769
  functions: t = {
5762
5770
  validateEmail: () => Promise.resolve(),
@@ -5777,13 +5785,13 @@ const no = {
5777
5785
  dataToSubmit: s = { ref: "sign-up-form" },
5778
5786
  ...i
5779
5787
  }) => {
5780
- const c = H(), [o, f] = Cn(Br, no), {
5788
+ const c = H(), [o, f] = Cn(qr, no), {
5781
5789
  validFields: d,
5782
5790
  emailDetails: u,
5783
5791
  shouldManuallyApprove: l,
5784
5792
  showSuccessMessage: m,
5785
5793
  showError: h
5786
- } = o, [g, v] = Fr([
5794
+ } = o, [g, v] = Lr([
5787
5795
  "signup-this-session",
5788
5796
  "functional-cookie-consent"
5789
5797
  ]), _ = {
@@ -5895,7 +5903,7 @@ const no = {
5895
5903
  );
5896
5904
  };
5897
5905
  let rn;
5898
- const an = "contactFooter_", Nc = ({ onSuccess: e = () => {
5906
+ const an = "contactFooter_", Ac = ({ onSuccess: e = () => {
5899
5907
  }, onFailure: t = () => {
5900
5908
  } }) => {
5901
5909
  const n = me(null), [r, s] = L.useState(0), [i, c] = L.useState(!1), o = () => {
@@ -5932,7 +5940,7 @@ const an = "contactFooter_", Nc = ({ onSuccess: e = () => {
5932
5940
  }
5933
5941
  )
5934
5942
  ] }) });
5935
- }, Ac = ({ activeLink: e, ...t }) => /* @__PURE__ */ a.jsx(ot, { children: /* @__PURE__ */ a.jsx(fi, { layout: "1-3", children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
5943
+ }, Oc = ({ activeLink: e, ...t }) => /* @__PURE__ */ a.jsx(ot, { children: /* @__PURE__ */ a.jsx(fi, { layout: "1-3", children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
5936
5944
  /* @__PURE__ */ a.jsx(ci, { activeLink: e }),
5937
5945
  /* @__PURE__ */ a.jsx(Us, { ...t })
5938
5946
  ] }) }) });
@@ -5941,7 +5949,7 @@ const sn = "cookieBanner_", on = [
5941
5949
  "apolitical-performance-cookie-consent",
5942
5950
  "functional-cookie-consent"
5943
5951
  ], cn = new Date(Date.now() + 12 * 30 * 24 * 60 * 60 * 1e3), ro = () => {
5944
- const e = H(), [t, n, r] = Fr(on), [s, i] = J(
5952
+ const e = H(), [t, n, r] = Lr(on), [s, i] = J(
5945
5953
  !t["apol-cookie-banner"]
5946
5954
  ), c = () => {
5947
5955
  on.forEach((u) => {
@@ -6081,7 +6089,7 @@ const sn = "cookieBanner_", on = [
6081
6089
  facebook: { href: "https://www.facebook.com/apoliticalco" }
6082
6090
  }
6083
6091
  };
6084
- const Ze = "footer_", Tt = "SiteFooter", kr = ({ group: e }) => {
6092
+ const Ze = "footer_", Tt = "SiteFooter", Tr = ({ group: e }) => {
6085
6093
  const t = Re[e].order || [];
6086
6094
  let n = !1;
6087
6095
  return "text" in Re[e] && (n = Re[e].text), /* @__PURE__ */ a.jsxs(tt, { children: [
@@ -6138,8 +6146,8 @@ const Ze = "footer_", Tt = "SiteFooter", kr = ({ group: e }) => {
6138
6146
  }
6139
6147
  ),
6140
6148
  /* @__PURE__ */ a.jsx("footer", { children: ["platform", "community", "company", "contact"].map((e) => /* @__PURE__ */ a.jsxs("div", { className: "group", children: [
6141
- /* @__PURE__ */ a.jsx(kr, { group: e }),
6142
- Object.keys(Re[e]).includes("child") && /* @__PURE__ */ a.jsx(kr, { group: Re[e].child })
6149
+ /* @__PURE__ */ a.jsx(Tr, { group: e }),
6150
+ Object.keys(Re[e]).includes("child") && /* @__PURE__ */ a.jsx(Tr, { group: Re[e].child })
6143
6151
  ] }, e)) }),
6144
6152
  /* @__PURE__ */ a.jsx("hr", {}),
6145
6153
  /* @__PURE__ */ a.jsxs("div", { className: "sub-footer", children: [
@@ -6212,7 +6220,7 @@ const Ze = "footer_", Tt = "SiteFooter", kr = ({ group: e }) => {
6212
6220
  return e[r];
6213
6221
  if (!t.includes("."))
6214
6222
  continue;
6215
- const s = Lr(e[r], t);
6223
+ const s = Dr(e[r], t);
6216
6224
  if (!(typeof s > "u") && (!n || s[t] && s[t].includes(n) || s.value && s.value.includes(n) || s.toString().includes(n)))
6217
6225
  return e[r];
6218
6226
  }
@@ -6354,7 +6362,7 @@ const Ze = "footer_", Tt = "SiteFooter", kr = ({ group: e }) => {
6354
6362
  },
6355
6363
  doTrack: i = null
6356
6364
  }) => {
6357
- const c = H(), o = Lr(Et, e);
6365
+ const c = H(), o = Dr(Et, e);
6358
6366
  if (!o || o.onlyShow && (o.onlyShow === "logged-in" && !t || o.onlyShow === "logged-out" && t))
6359
6367
  return null;
6360
6368
  const f = "doTrack" in o, d = i === null ? f ? o.doTrack : !0 : i, u = e.includes("buttons.");
@@ -6471,7 +6479,7 @@ const ao = { height: 67, height_desktop: 83 }, fa = ({ showNavigation: e = !0 })
6471
6479
  const t = H(), n = Ce(Ne), r = st(!0, !0), s = n && typeof n.id == "string", i = at(
6472
6480
  () => de.getIsDesktopVersion(s, r),
6473
6481
  [s, r]
6474
- ), [c, o] = Cn(Br, {
6482
+ ), [c, o] = Cn(qr, {
6475
6483
  headerIsVisible: !0,
6476
6484
  menus: { navigation: !1, search: !1, account: !1 },
6477
6485
  focusElements: {
@@ -6709,7 +6717,7 @@ const pa = ({
6709
6717
  "aria-expanded": t,
6710
6718
  "aria-controls": e
6711
6719
  });
6712
- const Oc = ({
6720
+ const Fc = ({
6713
6721
  className: e,
6714
6722
  showModal: t = !0,
6715
6723
  title: n,
@@ -6794,7 +6802,7 @@ const io = () => {
6794
6802
  ]
6795
6803
  }
6796
6804
  ) }) });
6797
- }, Tr = {
6805
+ }, Er = {
6798
6806
  default: "tags_",
6799
6807
  headerTopics: "header_topics_topics_"
6800
6808
  }, ln = {
@@ -6818,14 +6826,14 @@ const io = () => {
6818
6826
  if (e.includes("topic_")) {
6819
6827
  if (e = ln.topic[e.replace("topic_", "")], e) {
6820
6828
  const t = Et.topics.topics[e].href;
6821
- return t ? { id: e, href: t, text: `${Tr.headerTopics}${e}` } : null;
6829
+ return t ? { id: e, href: t, text: `${Er.headerTopics}${e}` } : null;
6822
6830
  }
6823
6831
  return null;
6824
6832
  }
6825
- return ln[e] ? (e = ln[e], { id: e, text: `${Tr.default}${e}` }) : null;
6833
+ return ln[e] ? (e = ln[e], { id: e, text: `${Er.default}${e}` }) : null;
6826
6834
  }
6827
6835
  };
6828
- const Fc = ({
6836
+ const Lc = ({
6829
6837
  tags: e = [],
6830
6838
  color: t = "default",
6831
6839
  forceOneLine: n = !1,
@@ -6865,7 +6873,7 @@ const Fc = ({
6865
6873
  }
6866
6874
  );
6867
6875
  };
6868
- const Lc = ({
6876
+ const Dc = ({
6869
6877
  members: { data: e = [], total: t = e.length },
6870
6878
  hasNextPage: n = !1,
6871
6879
  loadNextPage: r = () => {
@@ -6881,7 +6889,7 @@ const Lc = ({
6881
6889
  /* @__PURE__ */ a.jsx("span", { className: "count", children: t })
6882
6890
  ] }),
6883
6891
  /* @__PURE__ */ a.jsx("ul", { children: e.map((f, d) => /* @__PURE__ */ a.jsxs("li", { children: [
6884
- /* @__PURE__ */ a.jsx(An, { member: f, gtmContext: s, gtmType: i }),
6892
+ /* @__PURE__ */ a.jsx(On, { member: f, gtmContext: s, gtmType: i }),
6885
6893
  f.isAdmin && /* @__PURE__ */ a.jsx(jt, { children: o.formatMessage({ id: "membersList_admin" }) })
6886
6894
  ] }, d)) }),
6887
6895
  n && /* @__PURE__ */ a.jsx(
@@ -6896,7 +6904,7 @@ const Lc = ({
6896
6904
  ] });
6897
6905
  };
6898
6906
  let _t = null;
6899
- const be = "discussion_form_", In = ({
6907
+ const be = "discussion_form_", Bn = ({
6900
6908
  content: e = { type: "response", slugs: {} },
6901
6909
  userHasPermissions: t = !0,
6902
6910
  meta: n = {
@@ -7061,7 +7069,7 @@ const be = "discussion_form_", In = ({
7061
7069
  children: [
7062
7070
  (n == null ? void 0 : n.showTitle) && !n.isEditing && ["question"].includes(e.type) && /* @__PURE__ */ a.jsx("h2", { children: Se(u.formatMessage, `${be}title`, e.type, "action") }),
7063
7071
  /* @__PURE__ */ a.jsx(
7064
- An,
7072
+ On,
7065
7073
  {
7066
7074
  member: l || "community",
7067
7075
  gtmContext: d,
@@ -7135,7 +7143,7 @@ const be = "discussion_form_", In = ({
7135
7143
  );
7136
7144
  const { content: c, functions: o, meta: f, ...d } = e;
7137
7145
  return /* @__PURE__ */ a.jsx(
7138
- In,
7146
+ Bn,
7139
7147
  {
7140
7148
  content: { type: (c == null ? void 0 : c.type) || "reply", slugs: (c == null ? void 0 : c.slugs) || {} },
7141
7149
  functions: { ...o, create: (o == null ? void 0 : o.create) || (() => {
@@ -7146,11 +7154,11 @@ const be = "discussion_form_", In = ({
7146
7154
  );
7147
7155
  }, lo = {
7148
7156
  showForm: !1
7149
- }, Bn = Sn(lo), uo = ({ children: e }) => {
7157
+ }, qn = Sn(lo), uo = ({ children: e }) => {
7150
7158
  const [t, n] = J({
7151
7159
  showForm: !1
7152
7160
  });
7153
- return /* @__PURE__ */ a.jsx(Bn.Provider, { value: { ...t, updateConversation: n }, children: e });
7161
+ return /* @__PURE__ */ a.jsx(qn.Provider, { value: { ...t, updateConversation: n }, children: e });
7154
7162
  }, fo = ({
7155
7163
  question: e,
7156
7164
  answer: t,
@@ -7278,7 +7286,7 @@ const dn = () => {
7278
7286
  ] }) })
7279
7287
  ] })
7280
7288
  });
7281
- }, Er = (e) => {
7289
+ }, Sr = (e) => {
7282
7290
  const t = {};
7283
7291
  return Object.keys(e).forEach((n) => n.includes("Id") ? t[n] = e[n] : t[`${n}Slug`] = e[n]), t;
7284
7292
  }, Ot = (e, t) => e && !t;
@@ -7312,7 +7320,7 @@ const Pe = "discussion_", ho = 280, Ft = ({
7312
7320
  children: v,
7313
7321
  isTruncated: _ = !1
7314
7322
  }) => {
7315
- const b = H(), y = Ce(Ne), j = Ce(Bn), { author: w, canLike: x, createdAt: P, id: D, likes: G = 0, userLiked: N, comments: A = 0 } = t, E = y && y.id && typeof w != "string" && w.id && w.id === y.id || !1, ee = typeof x == "boolean" ? x : n ? !E : !1, W = E && (!t.createdAt || hs(t.createdAt, 10, "seconds")), U = me(null), [F, Q] = J({
7323
+ const b = H(), y = Ce(Ne), j = Ce(qn), { author: w, canLike: x, createdAt: P, id: D, likes: G = 0, userLiked: N, comments: A = 0 } = t, E = y && y.id && typeof w != "string" && w.id && w.id === y.id || !1, ee = typeof x == "boolean" ? x : n ? !E : !1, W = E && (!t.createdAt || hs(t.createdAt, 10, "seconds")), U = me(null), [F, Q] = J({
7316
7324
  body: t && t.body || "",
7317
7325
  isEditing: !1,
7318
7326
  didEdit: t && t.isEdited || !1
@@ -7350,7 +7358,7 @@ const Pe = "discussion_", ho = 280, Ft = ({
7350
7358
  try {
7351
7359
  if (!rs(R, F.body)) {
7352
7360
  const le = t.type === "question" ? { title: R } : { body: R };
7353
- await f(Er(t.slugs), le);
7361
+ await f(Sr(t.slugs), le);
7354
7362
  }
7355
7363
  Q({ body: R, isEditing: !1, didEdit: !0 });
7356
7364
  } catch {
@@ -7365,7 +7373,7 @@ const Pe = "discussion_", ho = 280, Ft = ({
7365
7373
  }, Y = () => {
7366
7374
  ne(!1);
7367
7375
  try {
7368
- o(Er(t.slugs));
7376
+ o(Sr(t.slugs));
7369
7377
  } catch {
7370
7378
  B("delete-error");
7371
7379
  }
@@ -7427,7 +7435,7 @@ const Pe = "discussion_", ho = 280, Ft = ({
7427
7435
  },
7428
7436
  children: [
7429
7437
  !F.isEditing && /* @__PURE__ */ a.jsx(
7430
- An,
7438
+ On,
7431
7439
  {
7432
7440
  member: w,
7433
7441
  additionalContent: { createdAt: P, didEdit: F.didEdit },
@@ -7437,7 +7445,7 @@ const Pe = "discussion_", ho = 280, Ft = ({
7437
7445
  }
7438
7446
  ),
7439
7447
  F.isEditing ? /* @__PURE__ */ a.jsx(
7440
- In,
7448
+ Bn,
7441
7449
  {
7442
7450
  content: { type: t.type, slugs: t.slugs },
7443
7451
  userHasPermissions: n,
@@ -7473,10 +7481,10 @@ const Pe = "discussion_", ho = 280, Ft = ({
7473
7481
  className: "gtm-trackable",
7474
7482
  "data-gtm-event-context": g,
7475
7483
  "data-gtm-event-type": "title-click",
7476
- children: /* @__PURE__ */ a.jsx(cr, { options: { overrides: { a: Zs } }, children: K })
7484
+ children: /* @__PURE__ */ a.jsx(lr, { options: { overrides: { a: Zs } }, children: K })
7477
7485
  }
7478
7486
  ) : /* @__PURE__ */ a.jsx(
7479
- cr,
7487
+ lr,
7480
7488
  {
7481
7489
  options: {
7482
7490
  wrapper: t.type === "question" ? "h1" : L.Fragment,
@@ -7619,7 +7627,7 @@ const Pe = "discussion_", ho = 280, Ft = ({
7619
7627
  ] })
7620
7628
  });
7621
7629
  };
7622
- const fn = "discussion_responses_", Dc = ({ type: e = "answer", responses: t = 0 }) => {
7630
+ const fn = "discussion_responses_", Ic = ({ type: e = "answer", responses: t = 0 }) => {
7623
7631
  const n = H();
7624
7632
  return /* @__PURE__ */ a.jsxs("div", { className: "responses-heading", children: [
7625
7633
  /* @__PURE__ */ a.jsx("h3", { children: n.formatMessage(
@@ -7639,7 +7647,7 @@ const go = ({
7639
7647
  form: r,
7640
7648
  children: s
7641
7649
  }) => {
7642
- const i = H(), c = Ce(Bn), o = yt(s, {
7650
+ const i = H(), c = Ce(qn), o = yt(s, {
7643
7651
  element: "li"
7644
7652
  });
7645
7653
  return /* @__PURE__ */ a.jsxs("div", { className: "thread-wrapper", children: [
@@ -7658,16 +7666,16 @@ const go = ({
7658
7666
  }
7659
7667
  }
7660
7668
  ),
7661
- r && c.showForm && /* @__PURE__ */ a.jsx(In, { ...r })
7669
+ r && c.showForm && /* @__PURE__ */ a.jsx(Bn, { ...r })
7662
7670
  ] });
7663
7671
  }, _o = "post", vo = "reply", ga = "00000000-0000-0000-0000-000000000000";
7664
- function qn({ queryClient: e, queryKey: t }) {
7672
+ function zn({ queryClient: e, queryKey: t }) {
7665
7673
  function n(r, s, i) {
7666
7674
  e.setQueryData(t, i);
7667
7675
  }
7668
7676
  return n;
7669
7677
  }
7670
- function zn({ queryClient: e, queryKey: t }) {
7678
+ function Zn({ queryClient: e, queryKey: t }) {
7671
7679
  async function n(r) {
7672
7680
  await e.cancelQueries({ queryKey: t });
7673
7681
  const s = e.getQueryData(t);
@@ -7727,7 +7735,7 @@ function xo({ content: e }) {
7727
7735
  verb: _o
7728
7736
  };
7729
7737
  }
7730
- function Sr({ activity: e, user: t }) {
7738
+ function Cr({ activity: e, user: t }) {
7731
7739
  return {
7732
7740
  ...e,
7733
7741
  actor: _a(t),
@@ -7771,7 +7779,7 @@ function wo({ activityId: e, replyId: t, content: n }) {
7771
7779
  parent: t || ""
7772
7780
  };
7773
7781
  }
7774
- function Cr({ reply: e, user: t }) {
7782
+ function $r({ reply: e, user: t }) {
7775
7783
  const n = _a(t);
7776
7784
  return {
7777
7785
  ...e,
@@ -7780,7 +7788,7 @@ function Cr({ reply: e, user: t }) {
7780
7788
  ...yo()
7781
7789
  };
7782
7790
  }
7783
- function $r({ reply: e, reaction: t }) {
7791
+ function Mr({ reply: e, reaction: t }) {
7784
7792
  var n, r, s;
7785
7793
  t ? (e.latest_children = {
7786
7794
  ...e.latest_children || {},
@@ -7812,7 +7820,7 @@ const ba = (e) => {
7812
7820
  });
7813
7821
  document.dispatchEvent(t);
7814
7822
  };
7815
- let Mr, mn = 0;
7823
+ let Pr, mn = 0;
7816
7824
  const ya = () => {
7817
7825
  ie(() => (document.addEventListener("discussionPostAdded", e), () => {
7818
7826
  document.removeEventListener(
@@ -7824,13 +7832,13 @@ const ya = () => {
7824
7832
  const n = t.detail;
7825
7833
  if (!n)
7826
7834
  return;
7827
- clearTimeout(Mr);
7835
+ clearTimeout(Pr);
7828
7836
  const r = document.getElementById(n);
7829
7837
  if (r) {
7830
7838
  r.scrollIntoView({ behavior: "smooth", block: "start" }), mn = 0;
7831
7839
  return;
7832
7840
  }
7833
- mn++, !(mn > 10) && (Mr = setTimeout(() => {
7841
+ mn++, !(mn > 10) && (Pr = setTimeout(() => {
7834
7842
  e(t);
7835
7843
  }, 50));
7836
7844
  };
@@ -8003,13 +8011,13 @@ function So({
8003
8011
  const { mutate: c } = we({
8004
8012
  mutationFn: e,
8005
8013
  onMutate: (o) => t((f) => {
8006
- const d = Sr({ activity: xo(o), user: i });
8007
- return Pr(d, f);
8014
+ const d = Cr({ activity: xo(o), user: i });
8015
+ return Rr(d, f);
8008
8016
  }),
8009
8017
  onError: n,
8010
8018
  onSuccess: (o, f, d) => {
8011
- const u = Sr({ activity: o, user: i });
8012
- r.setQueryData(s, Pr(u, d, !0)), setTimeout(() => {
8019
+ const u = Cr({ activity: o, user: i });
8020
+ r.setQueryData(s, Rr(u, d, !0)), setTimeout(() => {
8013
8021
  ba(u.id);
8014
8022
  }, 0);
8015
8023
  }
@@ -8044,10 +8052,10 @@ function $o({
8044
8052
  },
8045
8053
  queryKey: c
8046
8054
  }) {
8047
- const o = $n(), f = Nn(), d = { queryClient: o, queryKey: c }, u = {
8055
+ const o = $n(), f = An(), d = { queryClient: o, queryKey: c }, u = {
8048
8056
  mutationHandlers: {
8049
- error: qn(d),
8050
- mutate: zn(d)
8057
+ error: zn(d),
8058
+ mutate: Zn(d)
8051
8059
  },
8052
8060
  user: f,
8053
8061
  ...d
@@ -8095,7 +8103,7 @@ function Po({ queryFn: e, queryKey: t }) {
8095
8103
  isLoading: s,
8096
8104
  hasNextPage: i,
8097
8105
  fetchNextPage: c
8098
- } = Or({
8106
+ } = Fr({
8099
8107
  queryKey: t,
8100
8108
  queryFn: e,
8101
8109
  initialPageParam: { next: null },
@@ -8141,7 +8149,7 @@ function No({
8141
8149
  });
8142
8150
  return s;
8143
8151
  }
8144
- function Pr(e, t, n = !1) {
8152
+ function Rr(e, t, n = !1) {
8145
8153
  return t ? (n ? t.pages[0].results[0] = e : t.pages[0].results = [e, ...t.pages[0].results], t) : {
8146
8154
  pages: [{
8147
8155
  next: "",
@@ -8172,7 +8180,7 @@ function Oo(e) {
8172
8180
  var t;
8173
8181
  return ((t = e == null ? void 0 : e.pages) == null ? void 0 : t.reduce((n, { results: r }) => [...n, ...r], [])) || [];
8174
8182
  }
8175
- const Ic = ({
8183
+ const Bc = ({
8176
8184
  basePath: e,
8177
8185
  parentId: t,
8178
8186
  isMember: n,
@@ -8288,7 +8296,7 @@ const Ic = ({
8288
8296
  }
8289
8297
  )
8290
8298
  ] });
8291
- }, Bc = {
8299
+ }, qc = {
8292
8300
  next: "id_lt=67ef0342-6f6e-4807-beea-5a9184ec140c&limit=5",
8293
8301
  results: [
8294
8302
  {
@@ -8850,18 +8858,18 @@ function Fo({
8850
8858
  const { mutate: c } = we({
8851
8859
  mutationFn: e,
8852
8860
  onMutate: (o) => t((f) => {
8853
- const d = Cr({ reply: wo(o), user: i });
8854
- return Rr(d, f, {
8861
+ const d = $r({ reply: wo(o), user: i });
8862
+ return Nr(d, f, {
8855
8863
  replace: !1,
8856
8864
  append: (o == null ? void 0 : o.replyId) !== void 0
8857
8865
  });
8858
8866
  }),
8859
8867
  onError: n,
8860
8868
  onSuccess: (o, f, d) => {
8861
- const u = Cr({ reply: o, user: i });
8869
+ const u = $r({ reply: o, user: i });
8862
8870
  r.setQueryData(
8863
8871
  s,
8864
- Rr(u, d, { replace: !0, append: (f == null ? void 0 : f.replyId) !== void 0 })
8872
+ Nr(u, d, { replace: !0, append: (f == null ? void 0 : f.replyId) !== void 0 })
8865
8873
  ), setTimeout(() => {
8866
8874
  ba(u.id);
8867
8875
  }, 0);
@@ -8897,10 +8905,10 @@ function wa({
8897
8905
  },
8898
8906
  queryKey: c
8899
8907
  }) {
8900
- const o = $n(), f = Nn(), d = { queryClient: o, queryKey: c }, u = {
8908
+ const o = $n(), f = An(), d = { queryClient: o, queryKey: c }, u = {
8901
8909
  mutationHandlers: {
8902
- error: qn(d),
8903
- mutate: zn(d)
8910
+ error: zn(d),
8911
+ mutate: Zn(d)
8904
8912
  },
8905
8913
  user: f,
8906
8914
  ...d
@@ -8931,12 +8939,12 @@ function Do({
8931
8939
  mutationFn: e,
8932
8940
  onMutate: ({ replyId: c }) => t((o) => {
8933
8941
  const f = Mt(c, o);
8934
- return f && $r({ reply: f }), o;
8942
+ return f && Mr({ reply: f }), o;
8935
8943
  }),
8936
8944
  onError: n,
8937
8945
  onSuccess: (c, { replyId: o }, f) => {
8938
8946
  const d = Mt(o, f);
8939
- d && $r({ reply: d, reaction: c }), r.setQueryData(s, f);
8947
+ d && Mr({ reply: d, reaction: c }), r.setQueryData(s, f);
8940
8948
  }
8941
8949
  });
8942
8950
  return i;
@@ -8948,7 +8956,7 @@ function Io({ queryFn: e, queryKey: t }) {
8948
8956
  isLoading: s,
8949
8957
  hasNextPage: i,
8950
8958
  fetchNextPage: c
8951
- } = Or({
8959
+ } = Fr({
8952
8960
  queryKey: t,
8953
8961
  queryFn: e,
8954
8962
  initialPageParam: { next: "" },
@@ -9011,7 +9019,7 @@ function Zo(e, t, n) {
9011
9019
  function Uo(e, t, n) {
9012
9020
  return n != null && n.replace ? t.pages[0].results[0] = e : t.pages[0].results = [e, ...t.pages[0].results], t;
9013
9021
  }
9014
- function Rr(e, t, n) {
9022
+ function Nr(e, t, n) {
9015
9023
  return t ? n != null && n.append ? Zo(e, t, n) : Uo(e, t, n) : zo(e);
9016
9024
  }
9017
9025
  function Mt(e, t) {
@@ -9321,10 +9329,10 @@ function Qo({
9321
9329
  },
9322
9330
  queryKey: s
9323
9331
  }) {
9324
- const i = $n(), c = Nn(), o = { queryClient: i, queryKey: s }, f = {
9332
+ const i = $n(), c = An(), o = { queryClient: i, queryKey: s }, f = {
9325
9333
  mutationHandlers: {
9326
- error: qn(o),
9327
- mutate: zn(o)
9334
+ error: zn(o),
9335
+ mutate: Zn(o)
9328
9336
  },
9329
9337
  user: c,
9330
9338
  ...o
@@ -9374,7 +9382,7 @@ function Xo({
9374
9382
  });
9375
9383
  return s;
9376
9384
  }
9377
- const qc = ({
9385
+ const zc = ({
9378
9386
  basePath: e,
9379
9387
  parentId: t,
9380
9388
  activityId: n,
@@ -9479,7 +9487,7 @@ const qc = ({
9479
9487
  }
9480
9488
  )
9481
9489
  ] });
9482
- }, zc = ({
9490
+ }, Zc = ({
9483
9491
  id: e,
9484
9492
  data: { jobTitle: t, name: n, organization: r, thumbnail: s }
9485
9493
  }) => ({
@@ -9488,7 +9496,7 @@ const qc = ({
9488
9496
  jobTitle: t,
9489
9497
  organization: r,
9490
9498
  image: { thumbnail: s }
9491
- }), Nr = [
9499
+ }), Ar = [
9492
9500
  {
9493
9501
  contentType: "solutionArticle",
9494
9502
  banner: {
@@ -9532,9 +9540,9 @@ const qc = ({
9532
9540
  contributors: ["community"]
9533
9541
  }
9534
9542
  ];
9535
- const vt = "notFoundError_", Zc = () => {
9543
+ const vt = "notFoundError_", Uc = () => {
9536
9544
  const e = H(), t = [];
9537
- return Nr.forEach((n, r) => {
9545
+ return Ar.forEach((n, r) => {
9538
9546
  n.title = e.formatMessage({ id: `${vt}post_${r + 1}` }), t.push("solutionArticle");
9539
9547
  }), /* @__PURE__ */ a.jsxs(
9540
9548
  oo,
@@ -9545,7 +9553,7 @@ const vt = "notFoundError_", Zc = () => {
9545
9553
  /* @__PURE__ */ a.jsx(
9546
9554
  ei,
9547
9555
  {
9548
- cards: Nr,
9556
+ cards: Ar,
9549
9557
  cardTypes: t,
9550
9558
  buildCardData: (n) => new Promise((r, s) => {
9551
9559
  r(n);
@@ -9567,100 +9575,101 @@ const vt = "notFoundError_", Zc = () => {
9567
9575
  };
9568
9576
  export {
9569
9577
  rt as ASSETS_BUCKET,
9570
- Ic as ActivitiesFeed,
9571
- qc as ActivitySection,
9578
+ Bc as ActivitiesFeed,
9579
+ zc as ActivitySection,
9572
9580
  ha as AddPost,
9573
- _c as BannerSection,
9574
- Tc as Breadcrumbs,
9581
+ vc as BannerSection,
9582
+ Ec as Breadcrumbs,
9575
9583
  se as Button,
9576
9584
  Rt as ButtonWrapper,
9577
9585
  $s as CacheProvider,
9578
9586
  Xr as Card,
9579
9587
  ei as CardBlock,
9580
- jc as Carousel,
9588
+ kc as Carousel,
9581
9589
  Wr as CollapsibleSection,
9582
9590
  fi as Columns,
9583
- kc as CommunityDetails,
9584
- Nc as ContactFooter,
9591
+ Tc as CommunityDetails,
9592
+ Ac as ContactFooter,
9585
9593
  wi as ContactForm,
9586
9594
  Jr as Contributors,
9587
- Bn as ConversationContext,
9595
+ qn as ConversationContext,
9588
9596
  ro as CookieBanner,
9589
9597
  uo as DiscussionConversation,
9590
- In as DiscussionForm,
9598
+ Bn as DiscussionForm,
9591
9599
  po as DiscussionLikes,
9592
9600
  Ft as DiscussionPost,
9593
9601
  go as DiscussionThread,
9594
9602
  Oe as Divider,
9595
- hc as DownloadSection,
9603
+ gc as DownloadSection,
9596
9604
  Je as EMAILS,
9597
9605
  mi as EmailHelperTextBox,
9598
9606
  We as EmptyStateBox,
9599
- Ec as Filters,
9607
+ Sc as Filters,
9600
9608
  Rs as FlagsProvider,
9601
9609
  ua as Footer,
9602
9610
  ra as Form,
9603
9611
  ot as FullWidthSection,
9604
- bc as GlobalProviders,
9612
+ yc as GlobalProviders,
9605
9613
  fa as Header,
9606
9614
  Os as HelperTextBox,
9607
9615
  Pn as HiddenFromScreenReaders,
9608
- xc as HideShowTextBox,
9616
+ wc as HideShowTextBox,
9609
9617
  Ae as HighlightedTextBox,
9618
+ hc as ImageContainer,
9610
9619
  Ns as IntlProvider,
9611
9620
  ji as InviteForm,
9612
- Oc as InviteModal,
9621
+ Fc as InviteModal,
9613
9622
  ea as JoinButton,
9614
- Sc as LanguageSwitcher,
9623
+ Cc as LanguageSwitcher,
9615
9624
  it as Link,
9616
9625
  Nt as LoadMore,
9617
- wc as LoadingBlock,
9626
+ jc as LoadingBlock,
9618
9627
  Te as LoadingPlaceholder,
9619
9628
  Gr as LoadingState,
9620
9629
  ta as Logo,
9621
- gc as LogoSection,
9622
- cr as MarkdownText,
9623
- vc as MarketingBox,
9624
- An as Member,
9625
- Lc as MembersList,
9630
+ _c as LogoSection,
9631
+ lr as MarkdownText,
9632
+ bc as MarketingBox,
9633
+ On as Member,
9634
+ Dc as MembersList,
9626
9635
  ma as Modal,
9627
9636
  si as MoreMenu,
9628
- yc as NUMBER_OF_USERS,
9637
+ xc as NUMBER_OF_USERS,
9629
9638
  ci as NavigationMenu,
9630
- Zc as NotFoundError,
9639
+ Uc as NotFoundError,
9631
9640
  pa as Overlay,
9632
9641
  Us as PageHeading,
9633
9642
  oo as PageLayout,
9634
- Mc as PasswordRules,
9643
+ Pc as PasswordRules,
9635
9644
  jt as Pill,
9636
9645
  ct as ProfilePicture,
9637
9646
  Ws as ProgressBar,
9638
- Pc as Rating,
9647
+ Rc as Rating,
9639
9648
  Yo as RepliesFeed,
9640
- Dc as ResponsesHeading,
9641
- Hr as ResponsiveImage,
9649
+ Ic as ResponsesHeading,
9650
+ Nn as ResponsiveImage,
9642
9651
  ki as SearchForm,
9643
- Cc as ShareLinks,
9644
- Rc as SignupForm,
9652
+ $c as ShareLinks,
9653
+ Nc as SignupForm,
9645
9654
  Zs as Span,
9646
9655
  vn as StatusBanner,
9647
- $c as Tabs,
9648
- Fc as Tags,
9656
+ Mc as Tabs,
9657
+ Lc as Tags,
9649
9658
  Es as Tooltip,
9650
- Ac as TopLevelPage,
9659
+ Oc as TopLevelPage,
9651
9660
  Ne as UserContext,
9652
9661
  As as UserProvider,
9653
9662
  ge as VisuallyHidden,
9654
9663
  so as addAriaProps,
9655
9664
  Qr as getMember,
9656
9665
  Et as headerData,
9657
- zc as mapGetStreamData,
9666
+ Zc as mapGetStreamData,
9658
9667
  ws as pageReady,
9659
- Bc as repliesFeedMock,
9668
+ qc as repliesFeedMock,
9660
9669
  ls as useCurrentPath,
9661
9670
  nt as useEffectAfterMount,
9662
9671
  st as useElementWidth,
9663
9672
  us as useScrollListener,
9664
9673
  fs as useScrollToHash,
9665
- Nn as useUser
9674
+ An as useUser
9666
9675
  };