@apolitical/component-library 2.0.3-ac.5 → 2.0.3-ac.6

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 ar from "react";
2
- import z, { memo as Be, useState as J, useEffect as ie, useRef as me, useMemo as st, createContext as $n, useContext as $e, Children as hn, useCallback as Or, Fragment as nt, useReducer as Pn, forwardRef as Ua, createElement as sr, Component as Ha, Suspense as Wa } from "react";
3
- import wt from "lodash.clonedeep";
1
+ import * as sr from "react";
2
+ import z, { memo as Ae, useState as J, useEffect as ie, useRef as me, useMemo as ot, createContext as $n, useContext as $e, Children as hn, useCallback as Fr, Fragment as at, useReducer as Pn, forwardRef as Ua, createElement as ir, Component as Ha, Suspense as Wa } from "react";
3
+ import jt from "lodash.clonedeep";
4
4
  import Va from "lodash.set";
5
- import { useIntl as W, IntlProvider as Ya, createIntl as Ga, FormattedMessage as xe } from "react-intl";
5
+ import { useIntl as W, IntlProvider as Ya, createIntl as Ga, FormattedMessage as we } from "react-intl";
6
+ import Ve from "markdown-to-jsx";
6
7
  import He from "truncate";
7
- import { QueryClient as Ka, QueryClientProvider as Qa, useMutation as we, useQueryClient as Mn, useInfiniteQuery as Fr, useQuery as Ja } from "@tanstack/react-query";
8
+ import { QueryClient as Ka, QueryClientProvider as Qa, useMutation as je, useQueryClient as Mn, useInfiniteQuery as Lr, useQuery as Ja } from "@tanstack/react-query";
8
9
  import { ReactQueryDevtools as Xa } from "@tanstack/react-query-devtools";
9
- import yt from "posthog-js";
10
- import { CookiesProvider as es, useCookies as Lr } from "react-cookie";
11
- import Rt from "markdown-to-jsx";
10
+ import xt from "posthog-js";
11
+ import { CookiesProvider as es, useCookies as Dr } from "react-cookie";
12
12
  import { ReactMultiEmail as ts } from "react-multi-email";
13
- import Dr from "lodash.get";
13
+ import Ir from "lodash.get";
14
14
  import { ErrorBoundary as ns } from "react-error-boundary";
15
15
  import rs from "react-textarea-autosize";
16
16
  import as from "lodash.isequal";
17
17
  function Rn(e) {
18
18
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
19
19
  }
20
- var Ir = { exports: {} };
20
+ var Br = { exports: {} };
21
21
  /*!
22
22
  Copyright (c) 2018 Jed Watson.
23
23
  Licensed under the MIT License (MIT), see
@@ -52,8 +52,8 @@ var Ir = { exports: {} };
52
52
  }
53
53
  e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
54
54
  })();
55
- })(Ir);
56
- var ss = Ir.exports;
55
+ })(Br);
56
+ var ss = Br.exports;
57
57
  const E = /* @__PURE__ */ Rn(ss), is = ({
58
58
  element: e = "span",
59
59
  showOnFocus: t = !0,
@@ -63,12 +63,12 @@ const E = /* @__PURE__ */ Rn(ss), is = ({
63
63
  ...r,
64
64
  className: E("hidden", { "show-on-focus": t }),
65
65
  children: n
66
- }), _e = Be(is), os = ({
66
+ }), _e = Ae(is), os = ({
67
67
  element: e = "span",
68
68
  children: t = null,
69
69
  ...n
70
- }) => z.createElement(e, { ...n, "aria-hidden": !0 }, t), Nn = Be(os);
71
- var gn = { exports: {} }, Ge = {};
70
+ }) => z.createElement(e, { ...n, "aria-hidden": !0 }, t), Nn = Ae(os);
71
+ var gn = { exports: {} }, Qe = {};
72
72
  /**
73
73
  * @license React
74
74
  * react-jsx-runtime.production.min.js
@@ -78,11 +78,11 @@ var gn = { exports: {} }, Ge = {};
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 ir;
81
+ var or;
82
82
  function cs() {
83
- if (ir)
84
- return Ge;
85
- ir = 1;
83
+ if (or)
84
+ return Qe;
85
+ or = 1;
86
86
  var e = z, 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;
@@ -94,9 +94,9 @@ function cs() {
94
94
  l[u] === void 0 && (l[u] = f[u]);
95
95
  return { $$typeof: t, type: o, key: m, ref: h, props: l, _owner: s.current };
96
96
  }
97
- return Ge.Fragment = n, Ge.jsx = c, Ge.jsxs = c, Ge;
97
+ return Qe.Fragment = n, Qe.jsx = c, Qe.jsxs = c, Qe;
98
98
  }
99
- var Ke = {};
99
+ var Je = {};
100
100
  /**
101
101
  * @license React
102
102
  * react-jsx-runtime.development.js
@@ -106,9 +106,9 @@ var Ke = {};
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 or;
109
+ var cr;
110
110
  function ls() {
111
- return or || (or = 1, process.env.NODE_ENV !== "production" && function() {
111
+ return cr || (cr = 1, process.env.NODE_ENV !== "production" && function() {
112
112
  var e = z, 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")
@@ -328,17 +328,17 @@ function ls() {
328
328
  } catch (Me) {
329
329
  if (Me && G && typeof Me.stack == "string") {
330
330
  for (var te = Me.stack.split(`
331
- `), ve = G.stack.split(`
332
- `), pe = te.length - 1, he = ve.length - 1; pe >= 1 && he >= 0 && te[pe] !== ve[he]; )
331
+ `), be = G.stack.split(`
332
+ `), pe = te.length - 1, he = be.length - 1; pe >= 1 && he >= 0 && te[pe] !== be[he]; )
333
333
  he--;
334
334
  for (; pe >= 1 && he >= 0; pe--, he--)
335
- if (te[pe] !== ve[he]) {
335
+ if (te[pe] !== be[he]) {
336
336
  if (pe !== 1 || he !== 1)
337
337
  do
338
- if (pe--, he--, he < 0 || te[pe] !== ve[he]) {
339
- var je = `
338
+ if (pe--, he--, he < 0 || te[pe] !== be[he]) {
339
+ var ke = `
340
340
  ` + te[pe].replace(" at new ", " at ");
341
- return p.displayName && je.includes("<anonymous>") && (je = je.replace("<anonymous>", p.displayName)), typeof p == "function" && C.set(p, je), je;
341
+ return p.displayName && ke.includes("<anonymous>") && (ke = ke.replace("<anonymous>", p.displayName)), typeof p == "function" && C.set(p, ke), ke;
342
342
  }
343
343
  while (pe >= 1 && he >= 0);
344
344
  break;
@@ -347,8 +347,8 @@ function ls() {
347
347
  } finally {
348
348
  K = !1, Z.current = ue, Y(), Error.prepareStackTrace = ae;
349
349
  }
350
- var ze = p ? p.displayName || p.name : "", rr = ze ? H(ze) : "";
351
- return typeof p == "function" && C.set(p, rr), rr;
350
+ var ze = p ? p.displayName || p.name : "", ar = ze ? H(ze) : "";
351
+ return typeof p == "function" && C.set(p, ar), ar;
352
352
  }
353
353
  function ge(p, T, M) {
354
354
  return $(p, !1);
@@ -357,7 +357,7 @@ function ls() {
357
357
  var T = p.prototype;
358
358
  return !!(T && T.isReactComponent);
359
359
  }
360
- function Ee(p, T, M) {
360
+ function Se(p, T, M) {
361
361
  if (p == null)
362
362
  return "";
363
363
  if (typeof p == "function")
@@ -375,41 +375,41 @@ function ls() {
375
375
  case f:
376
376
  return ge(p.render);
377
377
  case l:
378
- return Ee(p.type, T, M);
378
+ return Se(p.type, T, M);
379
379
  case m: {
380
380
  var G = p, ae = G._payload, ue = G._init;
381
381
  try {
382
- return Ee(ue(ae), T, M);
382
+ return Se(ue(ae), T, M);
383
383
  } catch {
384
384
  }
385
385
  }
386
386
  }
387
387
  return "";
388
388
  }
389
- var De = Object.prototype.hasOwnProperty, Hn = {}, Wn = b.ReactDebugCurrentFrame;
390
- function dt(p) {
389
+ var Ie = Object.prototype.hasOwnProperty, Wn = {}, Vn = b.ReactDebugCurrentFrame;
390
+ function ut(p) {
391
391
  if (p) {
392
- var T = p._owner, M = Ee(p.type, p._source, T ? T.type : null);
393
- Wn.setExtraStackFrame(M);
392
+ var T = p._owner, M = Se(p.type, p._source, T ? T.type : null);
393
+ Vn.setExtraStackFrame(M);
394
394
  } else
395
- Wn.setExtraStackFrame(null);
395
+ Vn.setExtraStackFrame(null);
396
396
  }
397
397
  function ka(p, T, M, G, ae) {
398
398
  {
399
- var ue = Function.call.bind(De);
399
+ var ue = Function.call.bind(Ie);
400
400
  for (var re in p)
401
401
  if (ue(p, re)) {
402
402
  var te = void 0;
403
403
  try {
404
404
  if (typeof p[re] != "function") {
405
- var ve = Error((G || "React class") + ": " + M + " type `" + re + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof p[re] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
406
- throw ve.name = "Invariant Violation", ve;
405
+ var be = Error((G || "React class") + ": " + M + " type `" + re + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof p[re] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
406
+ throw be.name = "Invariant Violation", be;
407
407
  }
408
408
  te = p[re](T, re, G, M, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
409
409
  } catch (pe) {
410
410
  te = pe;
411
411
  }
412
- te && !(te instanceof Error) && (dt(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).", G || "React class", M, re, typeof te), dt(null)), te instanceof Error && !(te.message in Hn) && (Hn[te.message] = !0, dt(ae), y("Failed %s type: %s", M, te.message), dt(null));
412
+ te && !(te instanceof Error) && (ut(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).", G || "React class", M, re, typeof te), ut(null)), te instanceof Error && !(te.message in Wn) && (Wn[te.message] = !0, ut(ae), y("Failed %s type: %s", M, te.message), ut(null));
413
413
  }
414
414
  }
415
415
  }
@@ -425,27 +425,27 @@ function ls() {
425
425
  }
426
426
  function Sa(p) {
427
427
  try {
428
- return Vn(p), !1;
428
+ return Yn(p), !1;
429
429
  } catch {
430
430
  return !0;
431
431
  }
432
432
  }
433
- function Vn(p) {
433
+ function Yn(p) {
434
434
  return "" + p;
435
435
  }
436
- function Yn(p) {
436
+ function Gn(p) {
437
437
  if (Sa(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.", Ea(p)), Vn(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.", Ea(p)), Yn(p);
439
439
  }
440
- var Ye = b.ReactCurrentOwner, Ca = {
440
+ var Ke = b.ReactCurrentOwner, Ca = {
441
441
  key: !0,
442
442
  ref: !0,
443
443
  __self: !0,
444
444
  __source: !0
445
- }, Gn, Kn, It;
445
+ }, Kn, Qn, It;
446
446
  It = {};
447
447
  function $a(p) {
448
- if (De.call(p, "ref")) {
448
+ if (Ie.call(p, "ref")) {
449
449
  var T = Object.getOwnPropertyDescriptor(p, "ref").get;
450
450
  if (T && T.isReactWarning)
451
451
  return !1;
@@ -453,7 +453,7 @@ function ls() {
453
453
  return p.ref !== void 0;
454
454
  }
455
455
  function Pa(p) {
456
- if (De.call(p, "key")) {
456
+ if (Ie.call(p, "key")) {
457
457
  var T = Object.getOwnPropertyDescriptor(p, "key").get;
458
458
  if (T && T.isReactWarning)
459
459
  return !1;
@@ -461,15 +461,15 @@ function ls() {
461
461
  return p.key !== void 0;
462
462
  }
463
463
  function Ma(p, T) {
464
- if (typeof p.ref == "string" && Ye.current && T && Ye.current.stateNode !== T) {
465
- var M = A(Ye.current.type);
466
- It[M] || (y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', A(Ye.current.type), p.ref), It[M] = !0);
464
+ if (typeof p.ref == "string" && Ke.current && T && Ke.current.stateNode !== T) {
465
+ var M = A(Ke.current.type);
466
+ It[M] || (y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', A(Ke.current.type), p.ref), It[M] = !0);
467
467
  }
468
468
  }
469
469
  function Ra(p, T) {
470
470
  {
471
471
  var M = function() {
472
- Gn || (Gn = !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
+ Kn || (Kn = !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 ls() {
480
480
  function Na(p, T) {
481
481
  {
482
482
  var M = function() {
483
- Kn || (Kn = !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
+ Qn || (Qn = !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,
@@ -519,36 +519,36 @@ function ls() {
519
519
  };
520
520
  function Oa(p, T, M, G, ae) {
521
521
  {
522
- var ue, re = {}, te = null, ve = null;
523
- M !== void 0 && (Yn(M), te = "" + M), Pa(T) && (Yn(T.key), te = "" + T.key), $a(T) && (ve = T.ref, Ma(T, ae));
522
+ var ue, re = {}, te = null, be = null;
523
+ M !== void 0 && (Gn(M), te = "" + M), Pa(T) && (Gn(T.key), te = "" + T.key), $a(T) && (be = T.ref, Ma(T, ae));
524
524
  for (ue in T)
525
- De.call(T, ue) && !Ca.hasOwnProperty(ue) && (re[ue] = T[ue]);
525
+ Ie.call(T, ue) && !Ca.hasOwnProperty(ue) && (re[ue] = T[ue]);
526
526
  if (p && p.defaultProps) {
527
527
  var pe = p.defaultProps;
528
528
  for (ue in pe)
529
529
  re[ue] === void 0 && (re[ue] = pe[ue]);
530
530
  }
531
- if (te || ve) {
531
+ if (te || be) {
532
532
  var he = typeof p == "function" ? p.displayName || p.name || "Unknown" : p;
533
- te && Ra(re, he), ve && Na(re, he);
533
+ te && Ra(re, he), be && Na(re, he);
534
534
  }
535
- return Aa(p, te, ve, ae, G, Ye.current, re);
535
+ return Aa(p, te, be, ae, G, Ke.current, re);
536
536
  }
537
537
  }
538
- var Bt = b.ReactCurrentOwner, Qn = b.ReactDebugCurrentFrame;
538
+ var Bt = b.ReactCurrentOwner, Jn = b.ReactDebugCurrentFrame;
539
539
  function qe(p) {
540
540
  if (p) {
541
- var T = p._owner, M = Ee(p.type, p._source, T ? T.type : null);
542
- Qn.setExtraStackFrame(M);
541
+ var T = p._owner, M = Se(p.type, p._source, T ? T.type : null);
542
+ Jn.setExtraStackFrame(M);
543
543
  } else
544
- Qn.setExtraStackFrame(null);
544
+ Jn.setExtraStackFrame(null);
545
545
  }
546
546
  var qt;
547
547
  qt = !1;
548
548
  function zt(p) {
549
549
  return typeof p == "object" && p !== null && p.$$typeof === t;
550
550
  }
551
- function Jn() {
551
+ function Xn() {
552
552
  {
553
553
  if (Bt.current) {
554
554
  var p = A(Bt.current.type);
@@ -571,10 +571,10 @@ Check your code at ` + T + ":" + M + ".";
571
571
  return "";
572
572
  }
573
573
  }
574
- var Xn = {};
574
+ var er = {};
575
575
  function La(p) {
576
576
  {
577
- var T = Jn();
577
+ var T = Xn();
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 er(p, T) {
587
+ function tr(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 = La(T);
593
- if (Xn[M])
593
+ if (er[M])
594
594
  return;
595
- Xn[M] = !0;
595
+ er[M] = !0;
596
596
  var G = "";
597
597
  p && p._owner && p._owner !== Bt.current && (G = " It was passed a child from " + A(p._owner.type) + "."), qe(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, G), qe(null);
598
598
  }
599
599
  }
600
- function tr(p, T) {
600
+ function nr(p, T) {
601
601
  {
602
602
  if (typeof p != "object")
603
603
  return;
604
604
  if (Dt(p))
605
605
  for (var M = 0; M < p.length; M++) {
606
606
  var G = p[M];
607
- zt(G) && er(G, T);
607
+ zt(G) && tr(G, T);
608
608
  }
609
609
  else if (zt(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
- zt(re.value) && er(re.value, T);
615
+ zt(re.value) && tr(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 && (qe(p), y("Invalid attribute `ref` supplied to `React.Fragment`."), qe(null));
654
654
  }
655
655
  }
656
- function nr(p, T, M, G, ae, ue) {
656
+ function rr(p, T, M, G, ae, ue) {
657
657
  {
658
658
  var re = O(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
- var ve = Fa(ae);
663
- ve ? te += ve : te += Jn();
662
+ var be = Fa(ae);
663
+ be ? te += be : te += Xn();
664
664
  var pe;
665
665
  p === null ? pe = "null" : Dt(p) ? pe = "array" : p !== void 0 && p.$$typeof === t ? (pe = "<" + (A(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
  }
@@ -668,30 +668,30 @@ Check the top-level render call using <` + M + ">.");
668
668
  if (he == null)
669
669
  return he;
670
670
  if (re) {
671
- var je = T.children;
672
- if (je !== void 0)
671
+ var ke = T.children;
672
+ if (ke !== void 0)
673
673
  if (G)
674
- if (Dt(je)) {
675
- for (var ze = 0; ze < je.length; ze++)
676
- tr(je[ze], p);
677
- Object.freeze && Object.freeze(je);
674
+ if (Dt(ke)) {
675
+ for (var ze = 0; ze < ke.length; ze++)
676
+ nr(ke[ze], p);
677
+ Object.freeze && Object.freeze(ke);
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
- tr(je, p);
681
+ nr(ke, p);
682
682
  }
683
683
  return p === r ? Ia(he) : Da(he), he;
684
684
  }
685
685
  }
686
686
  function Ba(p, T, M) {
687
- return nr(p, T, M, !0);
687
+ return rr(p, T, M, !0);
688
688
  }
689
689
  function qa(p, T, M) {
690
- return nr(p, T, M, !1);
690
+ return rr(p, T, M, !1);
691
691
  }
692
692
  var za = qa, Za = Ba;
693
- Ke.Fragment = r, Ke.jsx = za, Ke.jsxs = Za;
694
- }()), Ke;
693
+ Je.Fragment = r, Je.jsx = za, Je.jsxs = Za;
694
+ }()), Je;
695
695
  }
696
696
  process.env.NODE_ENV === "production" ? gn.exports = cs() : gn.exports = ls();
697
697
  var a = gn.exports;
@@ -703,7 +703,7 @@ const ds = () => {
703
703
  return ie(() => (window.addEventListener("popstate", n), () => {
704
704
  window.removeEventListener("popstate", n);
705
705
  }), []), e;
706
- }, rt = (e, t) => {
706
+ }, st = (e, t) => {
707
707
  const n = me(!1);
708
708
  ie(() => {
709
709
  n.current ? e() : n.current = !0;
@@ -722,7 +722,7 @@ function us(e, t, n) {
722
722
  l.current = !1;
723
723
  };
724
724
  }, []);
725
- var j = st(function() {
725
+ var j = ot(function() {
726
726
  var w = function(O) {
727
727
  var P = o.current, ee = f.current;
728
728
  return o.current = f.current = null, i.current = O, d.current = u.current.apply(ee, P);
@@ -765,12 +765,12 @@ function us(e, t, n) {
765
765
  }, [g, _, t, y, v, h, m, b]);
766
766
  return j;
767
767
  }
768
- function Br(e, t, n) {
768
+ function qr(e, t, n) {
769
769
  var r = n === void 0 ? {} : n, s = r.leading, i = r.trailing;
770
770
  return us(e, t, { maxWait: t, leading: s === void 0 || s, trailing: i === void 0 || i });
771
771
  }
772
772
  let Zt;
773
- const it = (e = !0, t = !1, n = "window") => {
773
+ const ct = (e = !0, t = !1, n = "window") => {
774
774
  if (!e)
775
775
  return;
776
776
  const [r, s] = z.useState(0) || [!1, () => {
@@ -783,7 +783,7 @@ const it = (e = !0, t = !1, n = "window") => {
783
783
  return n === "window" ? window.innerWidth : n.offsetWidth;
784
784
  }, o = () => {
785
785
  s(c());
786
- }, f = Br(
786
+ }, f = qr(
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,14 +823,14 @@ const it = (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 = Br(() => {
826
+ }, d = qr(() => {
827
827
  f();
828
828
  }, 250);
829
829
  return s;
830
830
  }, ms = (e = [], t = !0) => {
831
831
  e = Array.isArray(e) ? e : [e];
832
832
  const n = me(!1);
833
- rt(() => {
833
+ st(() => {
834
834
  if (window && window.location && window.location.hash) {
835
835
  if (n.current)
836
836
  return;
@@ -838,19 +838,19 @@ const it = (e = !0, t = !1, n = "window") => {
838
838
  r && (r.scrollIntoView(t ? { behavior: "smooth" } : null), n.current = !0);
839
839
  }
840
840
  }, e);
841
- }, qr = (e, t) => {
841
+ }, zr = (e, t) => {
842
842
  Array.isArray(t) || (t = [t]);
843
- const n = wt(e);
843
+ const n = jt(e);
844
844
  return t.forEach(({ type: r, value: s }) => {
845
845
  Va(n, r, s);
846
846
  }), n;
847
- }, zr = (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
+ }, Ur = (e, t, n) => {
854
854
  let r = n.mobile;
855
855
  for (const s in t) {
856
856
  const i = parseInt(String(t[s]));
@@ -860,7 +860,7 @@ const it = (e = !0, t = !1, n = "window") => {
860
860
  break;
861
861
  }
862
862
  return r;
863
- }, ps = (e) => e.replace(/[A-Z]/g, (t) => `-${t.toLowerCase()}`), Ie = {
863
+ }, ps = (e) => e.replace(/[A-Z]/g, (t) => `-${t.toLowerCase()}`), Be = {
864
864
  milliseconds: {
865
865
  inSecond: 1e3,
866
866
  inMinute: 6e4,
@@ -871,32 +871,32 @@ const it = (e = !0, t = !1, n = "window") => {
871
871
  weeks: 52,
872
872
  days: 365
873
873
  }
874
- }, hs = (e, t = "en") => new Date(e).toLocaleString(t, { day: "numeric", month: "short" }), Ur = (e, t = "en") => new Date(e).toLocaleString(t, {
874
+ }, hs = (e, t = "en") => new Date(e).toLocaleString(t, { day: "numeric", month: "short" }), Hr = (e, t = "en") => new Date(e).toLocaleString(t, {
875
875
  weekday: "long",
876
876
  day: "numeric",
877
877
  month: "short",
878
878
  year: "numeric"
879
879
  }), _n = (e) => {
880
880
  let t;
881
- const n = jt(), r = jt(new Date(e));
881
+ const n = kt(), r = kt(new Date(e));
882
882
  try {
883
883
  t = n.getTime() - r.getTime();
884
884
  } catch {
885
885
  return "";
886
886
  }
887
- const s = t / Ie.milliseconds.inHour, i = Math.floor(t / Ie.milliseconds.inDay);
887
+ const s = t / Be.milliseconds.inHour, i = Math.floor(t / Be.milliseconds.inDay);
888
888
  if (i < 1)
889
889
  return s < 1 ? { path: "now" } : { path: "hours", number: Math.floor(s) };
890
890
  if (i < 7)
891
891
  return { path: "days", number: i };
892
892
  const c = Math.floor(i / 7);
893
- return c <= Ie.year.weeks ? { path: "weeks", number: c } : { path: "years", number: Math.floor(i / Ie.year.days) };
894
- }, jt = (e) => {
893
+ return c <= Be.year.weeks ? { path: "weeks", number: c } : { path: "years", number: Math.floor(i / Be.year.days) };
894
+ }, kt = (e) => {
895
895
  const n = (e || /* @__PURE__ */ new Date()).toUTCString();
896
896
  return new Date(n);
897
897
  }, gs = (e, t, n) => {
898
898
  let r;
899
- const s = jt(), i = jt(new Date(e));
899
+ const s = kt(), i = kt(new Date(e));
900
900
  try {
901
901
  r = s.getTime() - i.getTime();
902
902
  } catch {
@@ -904,11 +904,11 @@ const it = (e = !0, t = !1, n = "window") => {
904
904
  }
905
905
  switch (n) {
906
906
  case "seconds":
907
- return r / Ie.milliseconds.inSecond <= t;
907
+ return r / Be.milliseconds.inSecond <= t;
908
908
  case "minutes":
909
- return r / Ie.milliseconds.inMinute <= t;
909
+ return r / Be.milliseconds.inMinute <= t;
910
910
  case "hours":
911
- return r / Ie.milliseconds.inHour <= t;
911
+ return r / Be.milliseconds.inHour <= t;
912
912
  }
913
913
  return !1;
914
914
  }, _s = (e) => new Promise((t) => setTimeout(t, e)), An = {
@@ -1275,9 +1275,9 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1275
1275
  es: vs,
1276
1276
  fr: bs,
1277
1277
  pt: ys
1278
- }, Symbol.toStringTag, { value: "Module" })), Hr = (e) => e in An, Ce = (e, t, n, r, s = {}) => {
1278
+ }, Symbol.toStringTag, { value: "Module" })), Wr = (e) => e in An, Ce = (e, t, n, r, s = {}) => {
1279
1279
  let i = "";
1280
- return Hr(`${t}_${n}`) ? i = e({ id: `${t}_${n}` }, s) : i = e({ id: t }, { [r]: n, ...s }), i;
1280
+ return Wr(`${t}_${n}`) ? i = e({ id: `${t}_${n}` }, s) : i = e({ id: t }, { [r]: n, ...s }), i;
1281
1281
  }, ws = (e, t, n) => {
1282
1282
  if (!e || e === 0)
1283
1283
  return "0";
@@ -1292,7 +1292,7 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1292
1292
  }
1293
1293
  }
1294
1294
  return r;
1295
- }, xt = (e, t) => z.Children.map(e, (n) => Object.is(n, null) ? n : z.cloneElement(n, {
1295
+ }, wt = (e, t) => z.Children.map(e, (n) => Object.is(n, null) ? n : z.cloneElement(n, {
1296
1296
  ...t
1297
1297
  })), js = (e = 0) => {
1298
1298
  setTimeout(() => {
@@ -1313,10 +1313,10 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1313
1313
  children: u = !1,
1314
1314
  ...l
1315
1315
  }) => {
1316
- const h = it(typeof t == "object");
1316
+ const h = ct(typeof t == "object");
1317
1317
  if (typeof t == "object" && typeof h == "number") {
1318
- const _ = Object.assign({}, t), b = zr(Object.keys(_));
1319
- t = Zr(h, b, _);
1318
+ const _ = Object.assign({}, t), b = Zr(Object.keys(_));
1319
+ t = Ur(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");
@@ -1345,10 +1345,10 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1345
1345
  children: s
1346
1346
  });
1347
1347
  };
1348
- const Fe = ({ className: e = "", maxWidth: t = !1 }) => {
1348
+ const Le = ({ className: e = "", maxWidth: t = !1 }) => {
1349
1349
  const n = t ? { "--max-width": `${t / 16}rem` } : {};
1350
1350
  return /* @__PURE__ */ a.jsx("hr", { className: E(e, { "has-max-width": t }), style: n });
1351
- }, ot = ({
1351
+ }, lt = ({
1352
1352
  href: e,
1353
1353
  children: t,
1354
1354
  fallbackElement: n,
@@ -1363,7 +1363,7 @@ const Fe = ({ className: e = "", maxWidth: t = !1 }) => {
1363
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: E("gtm-trackable", r), ...f, children: t });
1364
1364
  }
1365
1365
  return n ? z.createElement(n, { children: t, className: r, ...o }) : t;
1366
- }, cr = {
1366
+ }, lr = {
1367
1367
  card: {
1368
1368
  range: [
1369
1369
  {
@@ -1471,7 +1471,7 @@ const Fe = ({ className: e = "", maxWidth: t = !1 }) => {
1471
1471
  range: t,
1472
1472
  sizes: n
1473
1473
  }) => {
1474
- const { range: r, sizes: s } = e ? cr[e] : cr.fallback;
1474
+ const { range: r, sizes: s } = e ? lr[e] : lr.fallback;
1475
1475
  return { range: t && t.length > 0 ? t : r, sizes: n || s };
1476
1476
  }, Es = ({ format: e, height: t, query: n, width: r }) => {
1477
1477
  let s = `w=${r}&h=${t}`;
@@ -1482,7 +1482,7 @@ const Fe = ({ className: e = "", maxWidth: t = !1 }) => {
1482
1482
  query: r,
1483
1483
  width: i
1484
1484
  })} ${i}w`).join(", ");
1485
- const Wr = ({ image: e, className: t, testId: n }) => {
1485
+ const On = ({ image: e, className: t, testId: n }) => {
1486
1486
  const {
1487
1487
  description: r,
1488
1488
  height: s,
@@ -1522,7 +1522,7 @@ const Wr = ({ image: e, className: t, testId: n }) => {
1522
1522
  )
1523
1523
  ] });
1524
1524
  };
1525
- let Qe = !1;
1525
+ let Xe = !1;
1526
1526
  const Ss = ({ isOpen: e = !1, isLoading: t = !1, children: n }) => {
1527
1527
  const r = W(), s = me(null), [i, c] = J("hidden");
1528
1528
  ie(() => {
@@ -1533,12 +1533,12 @@ const Ss = ({ isOpen: e = !1, isLoading: t = !1, children: n }) => {
1533
1533
  };
1534
1534
  }, []);
1535
1535
  const o = ({ propertyName: f }) => {
1536
- f === "opacity" && (Qe !== !1 && clearTimeout(Qe), c((d) => d === "opening" ? "open" : d === "closing" ? "closed" : d === "closed" ? "hidden" : d));
1536
+ f === "opacity" && (Xe !== !1 && clearTimeout(Xe), c((d) => d === "opening" ? "open" : d === "closing" ? "closed" : d === "closed" ? "hidden" : d));
1537
1537
  };
1538
- return rt(() => {
1539
- Qe !== !1 && clearTimeout(Qe);
1538
+ return st(() => {
1539
+ Xe !== !1 && clearTimeout(Xe);
1540
1540
  let f = "open";
1541
- e ? c("opening") : (c("closing"), f = "hidden"), Qe = setTimeout(() => {
1541
+ e ? c("opening") : (c("closing"), f = "hidden"), Xe = setTimeout(() => {
1542
1542
  c(f);
1543
1543
  }, 300);
1544
1544
  }, [e]), /* @__PURE__ */ a.jsx(
@@ -1551,8 +1551,8 @@ const Ss = ({ isOpen: e = !1, isLoading: t = !1, children: n }) => {
1551
1551
  }
1552
1552
  );
1553
1553
  };
1554
- const ct = ({ children: e, className: t = "", ...n }) => /* @__PURE__ */ a.jsx("section", { className: E("full-width-section", t), ...n, children: e });
1555
- const _c = ({ text: e, buttons: t, className: n = "" }) => {
1554
+ const Ye = ({ children: e, className: t = "", ...n }) => /* @__PURE__ */ a.jsx("section", { className: E("full-width-section", t), ...n, children: e });
1555
+ const bc = ({ text: e, buttons: t, className: n = "" }) => {
1556
1556
  const r = [];
1557
1557
  return t.forEach((s) => {
1558
1558
  r.push({
@@ -1565,7 +1565,7 @@ const _c = ({ text: e, buttons: t, className: n = "" }) => {
1565
1565
  target: "_blank",
1566
1566
  children: s.text
1567
1567
  });
1568
- }), /* @__PURE__ */ a.jsx(ct, { className: E("download-section", n), children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1568
+ }), /* @__PURE__ */ a.jsx(Ye, { className: E("download-section", n), children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1569
1569
  z.createElement(
1570
1570
  typeof e == "string" ? "h2" : e.element,
1571
1571
  { className: "text" },
@@ -1574,7 +1574,7 @@ const _c = ({ text: e, buttons: t, className: n = "" }) => {
1574
1574
  /* @__PURE__ */ a.jsx(Nt, { buttons: r })
1575
1575
  ] }) });
1576
1576
  };
1577
- const vc = ({
1577
+ const yc = ({
1578
1578
  title: e = !1,
1579
1579
  logos: t = [],
1580
1580
  className: n = ""
@@ -1672,7 +1672,7 @@ const Cs = [
1672
1672
  const m = document.getElementById(c.link.substring(1));
1673
1673
  m && m.scrollIntoView({ behavior: "smooth" });
1674
1674
  }), /* @__PURE__ */ a.jsx(
1675
- ct,
1675
+ Ye,
1676
1676
  {
1677
1677
  className: E("banner-section", r, s, e, {
1678
1678
  "has-image": n,
@@ -1699,12 +1699,48 @@ const Cs = [
1699
1699
  }
1700
1700
  )
1701
1701
  ] }),
1702
- n && /* @__PURE__ */ a.jsx(Wr, { image: { ...n, aspect: "banner" } })
1702
+ n && /* @__PURE__ */ a.jsx(On, { image: { ...n, aspect: "banner" } })
1703
1703
  ] })
1704
1704
  }
1705
1705
  );
1706
- }, bc = Be($s);
1707
- const yc = ({
1706
+ }, xc = Ae($s);
1707
+ const Ps = ({
1708
+ alignImage: e = "left",
1709
+ className: t,
1710
+ content: n,
1711
+ image: r
1712
+ }) => {
1713
+ const s = () => typeof n == "string" ? /* @__PURE__ */ a.jsx(Ve, { children: n }) : n;
1714
+ return /* @__PURE__ */ a.jsxs(Ye, { className: E("highlight-section", t), children: [
1715
+ r && /* @__PURE__ */ a.jsx(
1716
+ "div",
1717
+ {
1718
+ className: E("highlight-container highlight-image", {
1719
+ [`highlight-image-${e}`]: e === "right"
1720
+ }),
1721
+ children: /* @__PURE__ */ a.jsx(On, { image: r })
1722
+ }
1723
+ ),
1724
+ /* @__PURE__ */ a.jsx(
1725
+ "div",
1726
+ {
1727
+ className: E("highlight-container highlight-content-wrapper", {
1728
+ "no-image": !r
1729
+ }),
1730
+ children: /* @__PURE__ */ a.jsx(
1731
+ "div",
1732
+ {
1733
+ className: E("highlight-content", {
1734
+ "highlight-content-right": e === "left"
1735
+ }),
1736
+ children: s()
1737
+ }
1738
+ )
1739
+ }
1740
+ )
1741
+ ] });
1742
+ }, wc = Ae(Ps);
1743
+ const jc = ({
1708
1744
  variant: e = "primary",
1709
1745
  button: t = null,
1710
1746
  title: n,
@@ -1725,7 +1761,7 @@ const yc = ({
1725
1761
  children: t.text
1726
1762
  }
1727
1763
  )
1728
- ] }), Ps = ({ showDevTools: e = !0, children: t }) => {
1764
+ ] }), Ms = ({ showDevTools: e = !0, children: t }) => {
1729
1765
  const n = new Ka({
1730
1766
  // default options we would like on all queries can be overridden individually
1731
1767
  defaultOptions: {
@@ -1742,15 +1778,15 @@ const yc = ({
1742
1778
  e && /* @__PURE__ */ a.jsx(Xa, { initialIsOpen: !1 })
1743
1779
  ] });
1744
1780
  };
1745
- var Ms = $n({ client: yt });
1746
- function Rs(e) {
1747
- var t = e.children, n = e.client, r = e.apiKey, s = e.options, i = st(function() {
1748
- return n && r && console.warn("[PostHog.js] You have provided both a client and an apiKey to PostHogProvider. The apiKey will be ignored in favour of the client."), n && s && console.warn("[PostHog.js] You have provided both a client and options to PostHogProvider. The options will be ignored in favour of the client."), n || (r && (yt.__loaded && console.warn("[PostHog.js] was already loaded elsewhere. This may cause issues."), yt.init(r, s)), yt);
1781
+ var Rs = $n({ client: xt });
1782
+ function Ns(e) {
1783
+ var t = e.children, n = e.client, r = e.apiKey, s = e.options, i = ot(function() {
1784
+ return n && r && console.warn("[PostHog.js] You have provided both a client and an apiKey to PostHogProvider. The apiKey will be ignored in favour of the client."), n && s && console.warn("[PostHog.js] You have provided both a client and options to PostHogProvider. The options will be ignored in favour of the client."), n || (r && (xt.__loaded && console.warn("[PostHog.js] was already loaded elsewhere. This may cause issues."), xt.init(r, s)), xt);
1749
1785
  }, [n, r]);
1750
- return z.createElement(Ms.Provider, { value: { client: i } }, t);
1786
+ return z.createElement(Rs.Provider, { value: { client: i } }, t);
1751
1787
  }
1752
- const Ns = ({ children: e, user: t }) => t.isLoading ? null : process.env.REACT_APP_PUBLIC_POSTHOG_KEY ? /* @__PURE__ */ a.jsx(
1753
- Rs,
1788
+ const As = ({ children: e, user: t }) => t.isLoading ? null : process.env.REACT_APP_PUBLIC_POSTHOG_KEY ? /* @__PURE__ */ a.jsx(
1789
+ Ns,
1754
1790
  {
1755
1791
  apiKey: atob(process.env.REACT_APP_PUBLIC_POSTHOG_KEY),
1756
1792
  options: {
@@ -1768,31 +1804,31 @@ const Ns = ({ children: e, user: t }) => t.isLoading ? null : process.env.REACT_
1768
1804
  },
1769
1805
  children: e
1770
1806
  }
1771
- ) : e, As = ({ children: e, locale: t, messages: n }) => {
1807
+ ) : e, Os = ({ children: e, locale: t, messages: n }) => {
1772
1808
  const r = t || "en", s = {
1773
1809
  ...xs[r],
1774
1810
  ...n || {}
1775
1811
  };
1776
1812
  return /* @__PURE__ */ a.jsx(Ya, { locale: r, messages: s, children: e });
1777
- }, Ae = $n({ isLoading: !0 });
1778
- function On() {
1779
- return $e(Ae);
1813
+ }, Oe = $n({ isLoading: !0 });
1814
+ function Fn() {
1815
+ return $e(Oe);
1780
1816
  }
1781
- const Os = ({ children: e, user: t }) => /* @__PURE__ */ a.jsx(Ae.Provider, { value: t, children: e }), xc = ({ bootstrap: e, children: t, intl: n }) => {
1817
+ const Fs = ({ children: e, user: t }) => /* @__PURE__ */ a.jsx(Oe.Provider, { value: t, children: e }), kc = ({ bootstrap: e, children: t, intl: n }) => {
1782
1818
  const [r, s] = J({ isLoading: !0 });
1783
1819
  return ie(() => {
1784
1820
  e().then((i) => {
1785
1821
  s({ ...i, isLoading: !1 }), js(5e3);
1786
1822
  }).catch(() => s({ isLoading: !1 }));
1787
- }, []), /* @__PURE__ */ a.jsx(As, { locale: n == null ? void 0 : n.locale, messages: n == null ? void 0 : n.messages, children: /* @__PURE__ */ a.jsx(es, { children: /* @__PURE__ */ a.jsx(Os, { user: r, children: /* @__PURE__ */ a.jsx(Ps, { children: /* @__PURE__ */ a.jsx(Ns, { user: r, children: t }) }) }) }) });
1788
- }, at = "https://storage.googleapis.com/apolitical-assets/", Xe = {
1823
+ }, []), /* @__PURE__ */ a.jsx(Os, { locale: n == null ? void 0 : n.locale, messages: n == null ? void 0 : n.messages, children: /* @__PURE__ */ a.jsx(es, { children: /* @__PURE__ */ a.jsx(Fs, { user: r, children: /* @__PURE__ */ a.jsx(Ms, { children: /* @__PURE__ */ a.jsx(As, { user: r, children: t }) }) }) }) });
1824
+ }, it = "https://storage.googleapis.com/apolitical-assets/", tt = {
1789
1825
  general: "hello@apolitical.co",
1790
1826
  support: "concierge@apolitical.co",
1791
1827
  "data-protection": {
1792
1828
  default: "dpo@apolitical.co",
1793
1829
  eu: "dpo.agl@apolitical.foundation"
1794
1830
  }
1795
- }, wc = "200,000+";
1831
+ }, Tc = "200,000+";
1796
1832
  const Vr = ({ label: e = !1, className: t = "", children: n }) => {
1797
1833
  const r = W();
1798
1834
  return /* @__PURE__ */ a.jsxs("details", { className: E("collapsible-section", t), children: [
@@ -1800,14 +1836,14 @@ const Vr = ({ label: e = !1, className: t = "", children: n }) => {
1800
1836
  /* @__PURE__ */ a.jsx("div", { className: "content", children: n })
1801
1837
  ] });
1802
1838
  };
1803
- const Oe = ({
1839
+ const Fe = ({
1804
1840
  variant: e = "primary",
1805
1841
  icon: t,
1806
1842
  className: n = "",
1807
1843
  children: r,
1808
1844
  ...s
1809
1845
  }) => {
1810
- const i = t ? { "--icon": `url(${at}icons/${t}.svg)` } : {};
1846
+ const i = t ? { "--icon": `url(${it}icons/${t}.svg)` } : {};
1811
1847
  return /* @__PURE__ */ a.jsx(
1812
1848
  "div",
1813
1849
  {
@@ -1820,17 +1856,17 @@ const Oe = ({
1820
1856
  }
1821
1857
  );
1822
1858
  };
1823
- const Ve = ({
1859
+ const Ge = ({
1824
1860
  variant: e = "empty",
1825
1861
  text: t = !1,
1826
1862
  button: n = !1,
1827
1863
  className: r = ""
1828
1864
  }) => {
1829
1865
  let s = n && !!Object.keys(n).length;
1830
- const i = typeof n == "object" && "breakpoints" in n, c = it(i);
1866
+ const i = typeof n == "object" && "breakpoints" in n, c = ct(i);
1831
1867
  if (i && typeof n == "object" && typeof c == "number") {
1832
- const l = Object.assign({}, n.breakpoints), m = zr(Object.keys(l));
1833
- s = Zr(c, m, l);
1868
+ const l = Object.assign({}, n.breakpoints), m = Zr(Object.keys(l));
1869
+ s = Ur(c, m, l);
1834
1870
  }
1835
1871
  const {
1836
1872
  breakpoints: o,
@@ -1839,12 +1875,12 @@ const Ve = ({
1839
1875
  ...u
1840
1876
  } = n;
1841
1877
  return /* @__PURE__ */ a.jsx(
1842
- Oe,
1878
+ Fe,
1843
1879
  {
1844
1880
  variant: "subtle",
1845
1881
  className: E("empty-state-box", e, r),
1846
1882
  children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1847
- t && /* @__PURE__ */ a.jsx(Rt, { options: { forceBlock: !0 }, children: t }),
1883
+ t && /* @__PURE__ */ a.jsx(Ve, { options: { forceBlock: !0 }, children: t }),
1848
1884
  s && typeof n == "object" && (d || /* @__PURE__ */ a.jsx(
1849
1885
  se,
1850
1886
  {
@@ -1860,7 +1896,7 @@ const Ve = ({
1860
1896
  const vn = ({ children: e, ...t }) => /* @__PURE__ */ a.jsx("p", { ...t, children: e }), Yr = { q: vn, blockquote: vn };
1861
1897
  for (let e = 1; e <= 6; e++)
1862
1898
  Yr[`h${e}`] = { component: vn, props: { className: "title" } };
1863
- const Fs = ({
1899
+ const Ls = ({
1864
1900
  type: e = "default",
1865
1901
  className: t = "",
1866
1902
  heading: n = !1,
@@ -1868,7 +1904,7 @@ const Fs = ({
1868
1904
  }) => /* @__PURE__ */ a.jsxs("div", { className: E("helper-text-box text-small", e, t), children: [
1869
1905
  n && /* @__PURE__ */ a.jsx("p", { className: "title", children: n }),
1870
1906
  typeof r == "string" ? /* @__PURE__ */ a.jsx(
1871
- Rt,
1907
+ Ve,
1872
1908
  {
1873
1909
  options: {
1874
1910
  wrapper: z.Fragment,
@@ -1879,7 +1915,7 @@ const Fs = ({
1879
1915
  }
1880
1916
  ) : /* @__PURE__ */ a.jsx("p", { children: r })
1881
1917
  ] });
1882
- const jc = ({
1918
+ const Ec = ({
1883
1919
  className: e = "",
1884
1920
  show: t = !1,
1885
1921
  hide: n = !1,
@@ -1912,13 +1948,13 @@ const jc = ({
1912
1948
  return null;
1913
1949
  const m = ["opening", "open"].includes(d);
1914
1950
  return /* @__PURE__ */ a.jsxs(
1915
- Oe,
1951
+ Fe,
1916
1952
  {
1917
1953
  variant: "subtle",
1918
1954
  className: E("hide-show-text-box", e),
1919
1955
  children: [
1920
1956
  /* @__PURE__ */ a.jsxs("div", { ref: c, className: E("content", d), children: [
1921
- /* @__PURE__ */ a.jsx(Rt, { options: { forceBlock: !0 }, children: d === "closed" ? o : r }),
1957
+ /* @__PURE__ */ a.jsx(Ve, { options: { forceBlock: !0 }, children: d === "closed" ? o : r }),
1922
1958
  d !== "closed" && s
1923
1959
  ] }),
1924
1960
  /* @__PURE__ */ a.jsx("p", { className: "cta", children: /* @__PURE__ */ a.jsx(
@@ -1937,7 +1973,7 @@ const jc = ({
1937
1973
  ]
1938
1974
  }
1939
1975
  );
1940
- }, Se = () => z.Fragment, Ls = ({ children: e }) => /* @__PURE__ */ a.jsx(Oe, { variant: "secondary", children: e }), Ds = ["span", "strong", "h1", "h2", "h3", "h4", "h5", "h6", "p"], Is = ({ children: e }) => {
1976
+ }, ve = () => z.Fragment, Ds = ({ children: e }) => /* @__PURE__ */ a.jsx(Fe, { variant: "secondary", children: e }), Is = ["span", "strong", "h1", "h2", "h3", "h4", "h5", "h6", "p"], Bs = ({ children: e }) => {
1941
1977
  const t = W();
1942
1978
  if (!e)
1943
1979
  return null;
@@ -1952,7 +1988,7 @@ const jc = ({
1952
1988
  for (const c of hn.toArray(i.props.children))
1953
1989
  if (!(!c || typeof c == "string" || typeof c == "number") && z.isValidElement(c)) {
1954
1990
  const o = c.type;
1955
- if (Ds.includes(o)) {
1991
+ if (Is.includes(o)) {
1956
1992
  for (n = c.props.children; typeof n != "string" && (Array.isArray(n) && n[0].props && n[0].props.children && n[0].props.children[0]); )
1957
1993
  n = n[0].props.children[0];
1958
1994
  break;
@@ -1970,24 +2006,24 @@ const jc = ({
1970
2006
  children: r.map((i) => i)
1971
2007
  }
1972
2008
  );
1973
- }, Bs = ({
2009
+ }, qs = ({
1974
2010
  children: e,
1975
2011
  ...t
1976
2012
  }) => {
1977
2013
  if (t.class)
1978
2014
  switch (t.class) {
1979
2015
  case "casestudy":
1980
- return /* @__PURE__ */ a.jsx(Oe, { variant: "secondary", children: e });
2016
+ return /* @__PURE__ */ a.jsx(Fe, { variant: "secondary", children: e });
1981
2017
  case "general-textbox":
1982
2018
  case "highlight-box":
1983
- return /* @__PURE__ */ a.jsx(Oe, { variant: "primary", children: e });
2019
+ return /* @__PURE__ */ a.jsx(Fe, { variant: "primary", children: e });
1984
2020
  case "pink-textbox":
1985
- return /* @__PURE__ */ a.jsx(Oe, { variant: "tertiary", children: e });
2021
+ return /* @__PURE__ */ a.jsx(Fe, { variant: "tertiary", children: e });
1986
2022
  default:
1987
2023
  return /* @__PURE__ */ a.jsx("div", { ...t, children: e });
1988
2024
  }
1989
2025
  return /* @__PURE__ */ a.jsx("div", { ...t, children: e });
1990
- }, qs = (e) => {
2026
+ }, zs = (e) => {
1991
2027
  const t = W(), n = Date.now().toString();
1992
2028
  let r = "default";
1993
2029
  const s = e.src;
@@ -2006,10 +2042,10 @@ const jc = ({
2006
2042
  ),
2007
2043
  /* @__PURE__ */ a.jsx("span", { id: `content-after-iframe-${n}`, tabIndex: -1 })
2008
2044
  ] });
2009
- }, lr = (e) => {
2045
+ }, dr = (e) => {
2010
2046
  let t = "";
2011
2047
  return e && typeof e != "string" && typeof e != "number" && typeof e != "boolean" && "type" in e && (t = e.type), t;
2012
- }, zs = ({
2048
+ }, Zs = ({
2013
2049
  children: e,
2014
2050
  ...t
2015
2051
  }) => {
@@ -2020,40 +2056,45 @@ const jc = ({
2020
2056
  if (!(!i || typeof i == "string" || typeof i == "number") && z.isValidElement(i)) {
2021
2057
  const c = i.type;
2022
2058
  if (["button", "center", "span", "strong"].includes(c) && i.props && i.props.children && i.props.children[0])
2023
- for ((c === "button" || lr(i.props.children[0]) === "button") && (s = !0), r = i.props.children[0]; r && typeof r != "string" && !(typeof r == "boolean" || typeof r == "number" || !z.isValidElement(r)); )
2059
+ for ((c === "button" || dr(i.props.children[0]) === "button") && (s = !0), r = i.props.children[0]; r && typeof r != "string" && !(typeof r == "boolean" || typeof r == "number" || !z.isValidElement(r)); )
2024
2060
  if (r.props && r.props.children && r.props.children[0])
2025
- r = r.props.children[0], r && lr(r) === "button" && (s = !0);
2061
+ r = r.props.children[0], r && dr(r) === "button" && (s = !0);
2026
2062
  else
2027
2063
  break;
2028
2064
  }
2029
2065
  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 });
2030
- }, Zs = ({ children: e }) => /* @__PURE__ */ a.jsx("span", { children: e });
2031
- const Us = {
2066
+ }, Us = ({ children: e }) => /* @__PURE__ */ a.jsx("span", { children: e });
2067
+ const Hs = {
2032
2068
  default: {
2033
- a: zs,
2069
+ a: Zs,
2034
2070
  // Override psuedo-code
2035
2071
  // We give the content team psuedo-code short cuts to use in Contentful
2036
2072
  CollapsibleSection: Vr,
2037
- TextBox: Oe,
2038
- CaseStudy: Ls,
2073
+ TextBox: Fe,
2074
+ CaseStudy: Ds,
2039
2075
  // Override embedded HTML
2040
2076
  // Our content team previously used real HTML, which we need to tear out and replace with React components
2041
- style: Se,
2042
- details: Is,
2043
- div: Bs,
2044
- iframe: qs
2077
+ style: ve,
2078
+ details: Bs,
2079
+ div: qs,
2080
+ iframe: zs
2045
2081
  },
2046
2082
  "text-only": {
2047
- /** What is being changed or removed in the final mark-up. `default` handles large blocks of HTML for courses. `text-only` only expects text and will remove `iframe`s. */
2048
- style: Se,
2049
- details: Se,
2050
- div: Se,
2051
- TextBox: Se,
2052
- CollapsibleSection: Se,
2053
- CaseStudy: Se,
2054
- blockquote: Se,
2055
- iframe: Se,
2056
- button: Se
2083
+ h1: ve,
2084
+ h2: ve,
2085
+ h3: ve,
2086
+ h4: ve,
2087
+ h5: ve,
2088
+ h6: ve,
2089
+ style: ve,
2090
+ details: ve,
2091
+ div: ve,
2092
+ TextBox: ve,
2093
+ CollapsibleSection: ve,
2094
+ CaseStudy: ve,
2095
+ blockquote: ve,
2096
+ iframe: ve,
2097
+ button: ve
2057
2098
  }
2058
2099
  }, bn = ({
2059
2100
  className: e = "",
@@ -2065,11 +2106,11 @@ const Us = {
2065
2106
  const s = {
2066
2107
  wrapper: z.Fragment,
2067
2108
  forceBlock: !0,
2068
- overrides: Us[r]
2109
+ overrides: Hs[r]
2069
2110
  };
2070
- return /* @__PURE__ */ a.jsx("div", { className: E("markdown-text", e), children: /* @__PURE__ */ a.jsx(Rt, { options: { ...s, ...t }, children: n }) });
2111
+ return /* @__PURE__ */ a.jsx("div", { className: E("markdown-text", e), children: /* @__PURE__ */ a.jsx(Ve, { options: { ...s, ...t }, children: n }) });
2071
2112
  };
2072
- const Hs = ({
2113
+ const Ws = ({
2073
2114
  maxWidth: e = !1,
2074
2115
  title: t,
2075
2116
  subtitle: n,
@@ -2089,7 +2130,7 @@ const Hs = ({
2089
2130
  r
2090
2131
  ] });
2091
2132
  };
2092
- const kt = ({
2133
+ const Tt = ({
2093
2134
  size: e = "medium",
2094
2135
  variant: t = "default",
2095
2136
  className: n = "",
@@ -2110,7 +2151,12 @@ const yn = ({
2110
2151
  },
2111
2152
  t
2112
2153
  );
2113
- const Ws = ({ progress: e = 0, text: t = !1, className: n = "" }) => {
2154
+ const Vs = ({ author: e, authorCite: t, content: n }) => /* @__PURE__ */ a.jsxs("blockquote", { className: "testimonial-block", children: [
2155
+ /* @__PURE__ */ a.jsx(Ve, { className: "testimonial", children: n }),
2156
+ e && /* @__PURE__ */ a.jsx("p", { className: "author text-small", children: e }),
2157
+ t && /* @__PURE__ */ a.jsx("p", { className: "author-cite text-small", children: /* @__PURE__ */ a.jsx("cite", { children: t }) })
2158
+ ] }), Sc = Ae(Vs);
2159
+ const Ys = ({ progress: e = 0, text: t = !1, className: n = "" }) => {
2114
2160
  const r = W(), s = e > 75 ? 100 : e > 50 ? 75 : e > 25 ? 50 : e > 5 ? 25 : 0, i = { "--progress": `${e}%` };
2115
2161
  return /* @__PURE__ */ a.jsx(
2116
2162
  "span",
@@ -2120,8 +2166,8 @@ const Ws = ({ progress: e = 0, text: t = !1, className: n = "" }) => {
2120
2166
  children: /* @__PURE__ */ a.jsx(_e, { children: t ? `${e} ${t}` : r.formatMessage({ id: "progressBar" }, { number: e }) })
2121
2167
  }
2122
2168
  );
2123
- }, Vs = Be(Ws);
2124
- const Ht = "loadingBlock_", Ys = ({ progress: e = 0, steps: t = !1, className: n = "" }) => {
2169
+ }, Gs = Ae(Ys);
2170
+ const Ht = "loadingBlock_", Ks = ({ progress: e = 0, steps: t = !1, className: n = "" }) => {
2125
2171
  const r = W();
2126
2172
  t || (t = {
2127
2173
  0: { text: r.formatMessage({ id: `${Ht}loading` }) },
@@ -2133,10 +2179,10 @@ const Ht = "loadingBlock_", Ys = ({ progress: e = 0, steps: t = !1, className: n
2133
2179
  for (let o = 0; o < i.length && !(e < parseInt(i[o])); o++)
2134
2180
  s = i[o];
2135
2181
  const c = s && t[s].icon ? {
2136
- "--icon": `url(${at}icons/${t[s].icon}.svg)`
2182
+ "--icon": `url(${it}icons/${t[s].icon}.svg)`
2137
2183
  } : {};
2138
2184
  return /* @__PURE__ */ a.jsxs(
2139
- Oe,
2185
+ Fe,
2140
2186
  {
2141
2187
  className: E("loading-block", n, {
2142
2188
  "has-icon": s && t[s].icon
@@ -2145,12 +2191,12 @@ const Ht = "loadingBlock_", Ys = ({ progress: e = 0, steps: t = !1, className: n
2145
2191
  style: c,
2146
2192
  children: [
2147
2193
  s && /* @__PURE__ */ a.jsx("span", { className: "step", children: t[s].text }),
2148
- /* @__PURE__ */ a.jsx(Vs, { progress: e })
2194
+ /* @__PURE__ */ a.jsx(Gs, { progress: e })
2149
2195
  ]
2150
2196
  }
2151
2197
  );
2152
- }, kc = Be(Ys);
2153
- const Te = ({ element: e = "div", className: t = "", ...n }) => /* @__PURE__ */ a.jsx(
2198
+ }, Cc = Ae(Ks);
2199
+ const Ee = ({ element: e = "div", className: t = "", ...n }) => /* @__PURE__ */ a.jsx(
2154
2200
  Nn,
2155
2201
  {
2156
2202
  element: e,
@@ -2175,25 +2221,25 @@ const xn = {
2175
2221
  "cards-section",
2176
2222
  "footer"
2177
2223
  ]
2178
- }, Gr = (e, t) => e in xn ? /* @__PURE__ */ a.jsx("div", { className: e, children: xn[e].map((n, r) => Gr(n, r)) }, t) : /* @__PURE__ */ a.jsx(Te, { className: e }, t), Kr = ({ layout: e = "overview-page", ...t }) => /* @__PURE__ */ a.jsx("div", { className: E("loading-state", e), ...t, children: xn[e].map((n, r) => Gr(n, r)) }), Qr = (e) => {
2224
+ }, Gr = (e, t) => e in xn ? /* @__PURE__ */ a.jsx("div", { className: e, children: xn[e].map((n, r) => Gr(n, r)) }, t) : /* @__PURE__ */ a.jsx(Ee, { className: e }, t), Kr = ({ layout: e = "overview-page", ...t }) => /* @__PURE__ */ a.jsx("div", { className: E("loading-state", e), ...t, children: xn[e].map((n, r) => Gr(n, r)) }), Qr = (e) => {
2179
2225
  const t = e && e.toUpperCase().split(" ");
2180
2226
  return Array.isArray(t) && t.length > 1 && t[0] !== "" ? t[1] === "" ? t[0][0] : t[0][0] + t[t.length - 1][0] : e ? e.substr(0, 1) : "";
2181
- }, ut = ["#5AB6A3", "#A2D7AF", "#806056", "#3962B3"], Gs = (e) => {
2182
- const t = Math.ceil(26 / ut.length), n = Qr(e).toLowerCase();
2227
+ }, ft = ["#5AB6A3", "#A2D7AF", "#806056", "#3962B3"], Qs = (e) => {
2228
+ const t = Math.ceil(26 / ft.length), n = Qr(e).toLowerCase();
2183
2229
  if (n === "")
2184
- return ut[0];
2230
+ return ft[0];
2185
2231
  const r = n.charCodeAt(0) - 96;
2186
- for (let s = 0; s < ut.length; s++)
2232
+ for (let s = 0; s < ft.length; s++)
2187
2233
  if (r <= t * (s + 1))
2188
- return ut[s];
2234
+ return ft[s];
2189
2235
  };
2190
- const dr = 256, lt = ({
2236
+ const ur = 256, dt = ({
2191
2237
  className: e = "",
2192
2238
  src: t = "",
2193
2239
  name: n,
2194
2240
  alt: r,
2195
- width: s = dr,
2196
- height: i = dr,
2241
+ width: s = ur,
2242
+ height: i = ur,
2197
2243
  ...c
2198
2244
  }) => {
2199
2245
  const [o, f] = J(!1), d = me(null);
@@ -2205,7 +2251,7 @@ const dr = 256, lt = ({
2205
2251
  if (!m)
2206
2252
  return;
2207
2253
  const h = s, g = i;
2208
- typeof window < "u" && window.devicePixelRatio && (l.width = h * window.devicePixelRatio, l.height = g * window.devicePixelRatio, m.scale(window.devicePixelRatio, window.devicePixelRatio)), m.fillStyle = Gs(n), m.fillRect(0, 0, h, g), m.font = `${h / 3}px Arial`, m.textAlign = "center", m.fillStyle = "white", m.fillText(Qr(n), h / 2, g / 1.6);
2254
+ typeof window < "u" && window.devicePixelRatio && (l.width = h * window.devicePixelRatio, l.height = g * window.devicePixelRatio, m.scale(window.devicePixelRatio, window.devicePixelRatio)), m.fillStyle = Qs(n), m.fillRect(0, 0, h, g), m.font = `${h / 3}px Arial`, m.textAlign = "center", m.fillStyle = "white", m.fillText(Qr(n), h / 2, g / 1.6);
2209
2255
  }, [n]);
2210
2256
  let u = !1;
2211
2257
  return t && t !== "" && !o && (t.includes("http") || t.includes("//")) && (u = !0), /* @__PURE__ */ a.jsx(
@@ -2228,9 +2274,9 @@ const dr = 256, lt = ({
2228
2274
  }
2229
2275
  );
2230
2276
  }, Jr = (e) => e === "apolitical" ? {
2231
- image: `${at}logos/member_apolitical.svg`
2277
+ image: `${it}logos/member_apolitical.svg`
2232
2278
  } : e === "community" || typeof e == "object" && !e.name ? {
2233
- image: `${at}logos/member_community.svg`
2279
+ image: `${it}logos/member_community.svg`
2234
2280
  } : {
2235
2281
  name: e.name,
2236
2282
  role: e.jobTitle || "",
@@ -2238,7 +2284,7 @@ const dr = 256, lt = ({
2238
2284
  country: e.location && e.location.country || "",
2239
2285
  url: `/profiles/${e.id}`,
2240
2286
  image: e.image && e.image.thumbnail
2241
- }, Ks = ({
2287
+ }, Js = ({
2242
2288
  role: e = "",
2243
2289
  organisation: t = "",
2244
2290
  country: n = "",
@@ -2251,7 +2297,7 @@ const dr = 256, lt = ({
2251
2297
  let f = `${o}${(s || i) && c ? `, ${n}` : n}`;
2252
2298
  return f.length > r && (f = o), f.length > r && (f = He(f, r)), f;
2253
2299
  };
2254
- const Fn = ({
2300
+ const Ln = ({
2255
2301
  element: e = "div",
2256
2302
  member: t = "community",
2257
2303
  additionalContent: n = !1,
@@ -2263,11 +2309,11 @@ const Fn = ({
2263
2309
  o.name || (o.name = c.formatMessage({
2264
2310
  id: `member_${typeof t == "string" ? t : "community"}`
2265
2311
  }));
2266
- const { name: f, url: d, image: u } = o, l = Ks(o), m = n && n.createdAt ? _n(n.createdAt) : !1, h = n && n.createdAt ? Ur(n.createdAt) : "";
2312
+ const { name: f, url: d, image: u } = o, l = Js(o), m = n && n.createdAt ? _n(n.createdAt) : !1, h = n && n.createdAt ? Hr(n.createdAt) : "";
2267
2313
  return z.createElement(e, {
2268
2314
  className: E("member text-medium", i),
2269
2315
  children: /* @__PURE__ */ a.jsxs(
2270
- ot,
2316
+ lt,
2271
2317
  {
2272
2318
  href: d,
2273
2319
  gtmType: s,
@@ -2276,7 +2322,7 @@ const Fn = ({
2276
2322
  g == null || g.stopPropagation();
2277
2323
  },
2278
2324
  children: [
2279
- /* @__PURE__ */ a.jsx(lt, { name: f, src: u }),
2325
+ /* @__PURE__ */ a.jsx(dt, { name: f, src: u }),
2280
2326
  /* @__PURE__ */ a.jsxs("p", { className: "details", children: [
2281
2327
  /* @__PURE__ */ a.jsx("strong", { children: f }),
2282
2328
  n && /* @__PURE__ */ a.jsxs("span", { className: "additional-content", children: [
@@ -2293,7 +2339,7 @@ const Fn = ({
2293
2339
  )
2294
2340
  });
2295
2341
  };
2296
- const ur = {
2342
+ const fr = {
2297
2343
  small: 24,
2298
2344
  medium: 48
2299
2345
  }, Xr = ({
@@ -2319,14 +2365,14 @@ const ur = {
2319
2365
  if (m < o) {
2320
2366
  const { name: v = "", image: _ = "" } = Jr(l);
2321
2367
  if (c)
2322
- return /* @__PURE__ */ a.jsx(Te, { element: "li", className: "contributor" }, m);
2368
+ return /* @__PURE__ */ a.jsx(Ee, { element: "li", className: "contributor" }, m);
2323
2369
  h = /* @__PURE__ */ a.jsx(
2324
- lt,
2370
+ dt,
2325
2371
  {
2326
2372
  name: v,
2327
2373
  src: _,
2328
- width: ur[s || "medium"],
2329
- height: ur[s || "medium"]
2374
+ width: fr[s || "medium"],
2375
+ height: fr[s || "medium"]
2330
2376
  }
2331
2377
  );
2332
2378
  } else if (m === o) {
@@ -2347,7 +2393,7 @@ const ur = {
2347
2393
  r && /* @__PURE__ */ a.jsx("span", { className: "label", children: typeof r == "string" ? r : n.length === 1 ? typeof n[0] == "string" ? u.formatMessage({ id: `member_${n[0]}` }) : He(n[0].name || "", 20) : null })
2348
2394
  ] })
2349
2395
  });
2350
- }, Qs = ({ type: e, data: t }) => {
2396
+ }, Xs = ({ type: e, data: t }) => {
2351
2397
  const n = W(), {
2352
2398
  answers: r,
2353
2399
  createdAt: s,
@@ -2379,10 +2425,10 @@ const ur = {
2379
2425
  ] });
2380
2426
  }
2381
2427
  if (u && !i || c)
2382
- return /* @__PURE__ */ a.jsx("p", { className: "details", children: c ? n.formatMessage({ id: "card_bootcamp" }) : Ur(u) });
2428
+ return /* @__PURE__ */ a.jsx("p", { className: "details", children: c ? n.formatMessage({ id: "card_bootcamp" }) : Hr(u) });
2383
2429
  if (o)
2384
2430
  return /* @__PURE__ */ a.jsx(
2385
- kt,
2431
+ Tt,
2386
2432
  {
2387
2433
  variant: o === "free" ? "subtle" : "highlighted",
2388
2434
  className: o,
@@ -2406,7 +2452,7 @@ const ur = {
2406
2452
  ] });
2407
2453
  }
2408
2454
  return null;
2409
- }, Tt = {
2455
+ }, Et = {
2410
2456
  customCard: {
2411
2457
  className: "custom",
2412
2458
  gtmEvent: "custom",
@@ -2463,7 +2509,7 @@ const ur = {
2463
2509
  },
2464
2510
  gtmEvent: "learning-hub"
2465
2511
  }
2466
- }, Js = ({ data: e, cta: t, link: n, gtmContext: r }) => {
2512
+ }, ei = ({ data: e, cta: t, link: n, gtmContext: r }) => {
2467
2513
  var g;
2468
2514
  const s = W(), [i, c] = J({
2469
2515
  loading: !1,
@@ -2474,7 +2520,7 @@ const ur = {
2474
2520
  }, [e.registered]);
2475
2521
  const { startDate: o, dateHasPassed: f, pill: d, slug: u } = e, l = e.contentType;
2476
2522
  let m = "";
2477
- if ((g = Tt[l]) != null && g.gtmEvent && (m = Tt[l].gtmEvent), o && f)
2523
+ if ((g = Et[l]) != null && g.gtmEvent && (m = Et[l].gtmEvent), o && f)
2478
2524
  return /* @__PURE__ */ a.jsx(
2479
2525
  "a",
2480
2526
  {
@@ -2529,17 +2575,17 @@ const ur = {
2529
2575
  );
2530
2576
  }
2531
2577
  return null;
2532
- }, fr = {
2578
+ }, mr = {
2533
2579
  cube: "box",
2534
2580
  graduationCap: "graduation-cap",
2535
2581
  person: "user",
2536
2582
  speech: "speech-bubble_round",
2537
2583
  star: "star_empty_thin"
2538
- }, Xs = (e) => {
2584
+ }, ti = (e) => {
2539
2585
  let t = e;
2540
- return Object.keys(fr).includes(e) && (t = fr[e]), `url(${at}icons/${t}.svg)`;
2586
+ return Object.keys(mr).includes(e) && (t = mr[e]), `url(${it}icons/${t}.svg)`;
2541
2587
  };
2542
- const ei = {
2588
+ const ni = {
2543
2589
  title: 66,
2544
2590
  text: 3e3,
2545
2591
  secondaryText: 1e3,
@@ -2552,10 +2598,10 @@ const ei = {
2552
2598
  gtmContext: s = "Carousel",
2553
2599
  className: i = ""
2554
2600
  }) => {
2555
- const c = W(), o = $e(Ae), f = o && typeof o.id == "string", [d, u] = J({
2601
+ const c = W(), o = $e(Oe), f = o && typeof o.id == "string", [d, u] = J({
2556
2602
  data: null,
2557
2603
  isLoading: !0
2558
- }), { data: l, isLoading: m } = d, h = Or(() => {
2604
+ }), { data: l, isLoading: m } = d, h = Fr(() => {
2559
2605
  n(t, f).then((V) => {
2560
2606
  u(() => ({ data: V, isLoading: !1 }));
2561
2607
  }).catch(() => u((V) => ({ ...V, isLoading: !1 })));
@@ -2564,7 +2610,7 @@ const ei = {
2564
2610
  h();
2565
2611
  }, []), m || !l)
2566
2612
  return /* @__PURE__ */ a.jsx(
2567
- Te,
2613
+ Ee,
2568
2614
  {
2569
2615
  element: "li",
2570
2616
  className: "card-wrapper",
@@ -2572,14 +2618,14 @@ const ei = {
2572
2618
  }
2573
2619
  );
2574
2620
  const { contentType: g } = l;
2575
- if (!g || !Tt[g])
2576
- return /* @__PURE__ */ a.jsx(Te, { element: "li", className: "card-wrapper" });
2621
+ if (!g || !Et[g])
2622
+ return /* @__PURE__ */ a.jsx(Ee, { element: "li", className: "card-wrapper" });
2577
2623
  const {
2578
2624
  basePath: v = "",
2579
2625
  className: _,
2580
2626
  length: b,
2581
2627
  gtmEvent: y
2582
- } = Tt[g], j = Hr(`card_label_${g}`) ? c.formatMessage({ id: `card_label_${g}` }) : !1, w = l.slug ? `${v}${l.slug}` : !1, x = { ...ei, ...b };
2628
+ } = Et[g], j = Wr(`card_label_${g}`) ? c.formatMessage({ id: `card_label_${g}` }) : !1, w = l.slug ? `${v}${l.slug}` : !1, x = { ...ni, ...b };
2583
2629
  let R = { className: "card" };
2584
2630
  w && (R = {
2585
2631
  href: w,
@@ -2588,7 +2634,7 @@ const ei = {
2588
2634
  "data-gtm-event-type": `${y}-click`,
2589
2635
  "data-testid": "link"
2590
2636
  }, l.openInNewTab && (R.target = "_blank"));
2591
- const F = l.customIcon ? { "--custom-icon": Xs(l.customIcon) } : {};
2637
+ const F = l.customIcon ? { "--custom-icon": ti(l.customIcon) } : {};
2592
2638
  return /* @__PURE__ */ a.jsx(
2593
2639
  "li",
2594
2640
  {
@@ -2606,7 +2652,7 @@ const ei = {
2606
2652
  /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2607
2653
  (l.customLabel || j) && /* @__PURE__ */ a.jsx("small", { className: E("card-label text-small", _), children: l.customLabel || j }),
2608
2654
  l.startDate && !l.isOngoingEvent && /* @__PURE__ */ a.jsx(
2609
- kt,
2655
+ Tt,
2610
2656
  {
2611
2657
  size: "small",
2612
2658
  variant: l.dateHasPassed ? "default" : "information",
@@ -2615,10 +2661,10 @@ const ei = {
2615
2661
  }
2616
2662
  ),
2617
2663
  l.banner ? /* @__PURE__ */ a.jsxs("p", { className: "img", children: [
2618
- l.registered && /* @__PURE__ */ a.jsx(kt, { size: "small", variant: "registered", children: c.formatMessage({ id: "card_registered" }) }),
2619
- /* @__PURE__ */ a.jsx(Wr, { image: l.banner })
2664
+ l.registered && /* @__PURE__ */ a.jsx(Tt, { size: "small", variant: "registered", children: c.formatMessage({ id: "card_registered" }) }),
2665
+ /* @__PURE__ */ a.jsx(On, { image: l.banner })
2620
2666
  ] }) : _ === "people" ? /* @__PURE__ */ a.jsx(
2621
- lt,
2667
+ dt,
2622
2668
  {
2623
2669
  name: l.title || "",
2624
2670
  src: l.profile,
@@ -2646,14 +2692,14 @@ const ei = {
2646
2692
  const O = ps(V);
2647
2693
  return /* @__PURE__ */ a.jsx("p", { className: O, "data-testid": O, children: He(N, x[V]) }, V);
2648
2694
  }),
2649
- /* @__PURE__ */ a.jsx(Qs, { type: _ || "", data: l }),
2650
- /* @__PURE__ */ a.jsx(Js, { data: l, cta: r, link: w || "", gtmContext: s })
2695
+ /* @__PURE__ */ a.jsx(Xs, { type: _ || "", data: l }),
2696
+ /* @__PURE__ */ a.jsx(ei, { data: l, cta: r, link: w || "", gtmContext: s })
2651
2697
  ] })
2652
2698
  )
2653
2699
  }
2654
2700
  );
2655
2701
  };
2656
- const ti = ({ cards: e, cardTypes: t, className: n = "", ...r }) => /* @__PURE__ */ a.jsx("ul", { className: E("card-block", n), children: e.map((s, i) => {
2702
+ const ri = ({ cards: e, cardTypes: t, className: n = "", ...r }) => /* @__PURE__ */ a.jsx("ul", { className: E("card-block", n), children: e.map((s, i) => {
2657
2703
  const c = s.slug ? `${s.slug}-${t[i]}` : `${t[i]}-${i}`;
2658
2704
  return /* @__PURE__ */ a.jsx(
2659
2705
  ea,
@@ -2664,10 +2710,10 @@ const ti = ({ cards: e, cardTypes: t, className: n = "", ...r }) => /* @__PURE__
2664
2710
  },
2665
2711
  c
2666
2712
  );
2667
- }) }), ni = (e, t, n, r) => {
2713
+ }) }), ai = (e, t, n, r) => {
2668
2714
  const s = t * n <= e, i = e < t * (n + 1), c = r.includes(Math.floor(e / t));
2669
2715
  return s && i || c;
2670
- }, ri = ({ id: e, title: t }) => {
2716
+ }, si = ({ id: e, title: t }) => {
2671
2717
  const n = W();
2672
2718
  if (!t || !t.text)
2673
2719
  return null;
@@ -2696,8 +2742,8 @@ const Wt = {
2696
2742
  threeCards: 769,
2697
2743
  twoCards: 480
2698
2744
  };
2699
- let ft = null;
2700
- const ai = ({
2745
+ let mt = null;
2746
+ const ii = ({
2701
2747
  id: e,
2702
2748
  cards: t,
2703
2749
  cardTypes: n,
@@ -2713,7 +2759,7 @@ const ai = ({
2713
2759
  }), { cardsPerPage: u, isLoading: l } = f, [m, h] = J({
2714
2760
  currentPage: 0,
2715
2761
  loadedPages: [0]
2716
- }), { currentPage: g, loadedPages: v } = m, _ = t.length, b = Math.ceil(_ / u), y = me(null), j = it(!0, !0, y == null ? void 0 : y.current);
2762
+ }), { currentPage: g, loadedPages: v } = m, _ = t.length, b = Math.ceil(_ / u), y = me(null), j = ct(!0, !0, y == null ? void 0 : y.current);
2717
2763
  ie(() => {
2718
2764
  let N = 1;
2719
2765
  j && (j >= Wt.fourCards ? N = 4 : j >= Wt.threeCards ? N = 3 : j >= Wt.twoCards && (N = 2), N > _ && (N = _)), d((O) => ({
@@ -2742,12 +2788,12 @@ const ai = ({
2742
2788
  loadedPages: [.../* @__PURE__ */ new Set([...v, O])]
2743
2789
  }));
2744
2790
  }, x = (N) => {
2745
- ft = N.touches[0].clientX;
2791
+ mt = N.touches[0].clientX;
2746
2792
  }, R = (N) => {
2747
- if (ft === null)
2793
+ if (mt === null)
2748
2794
  return;
2749
- const O = N.touches[0].clientX, P = ft - O;
2750
- P > 5 ? w("next") : P < -5 && w("previous"), ft = null;
2795
+ const O = N.touches[0].clientX, P = mt - O;
2796
+ P > 5 ? w("next") : P < -5 && w("previous"), mt = null;
2751
2797
  }, F = {
2752
2798
  "--width": `${((V = y == null ? void 0 : y.current) == null ? void 0 : V.offsetWidth) || 0}px`,
2753
2799
  "--total-cards": _,
@@ -2761,7 +2807,7 @@ const ai = ({
2761
2807
  className: E("carousel-wrapper", i),
2762
2808
  "data-testid": "carousel",
2763
2809
  children: [
2764
- /* @__PURE__ */ a.jsx(ri, { id: e, title: s }),
2810
+ /* @__PURE__ */ a.jsx(si, { id: e, title: s }),
2765
2811
  /* @__PURE__ */ a.jsx(
2766
2812
  "ul",
2767
2813
  {
@@ -2772,7 +2818,7 @@ const ai = ({
2772
2818
  "data-testid": "carousel-list",
2773
2819
  children: t.map((N, O) => {
2774
2820
  let P = N && N.sys && N.sys.id ? `${e}-card-${N.sys.id}` : null;
2775
- return P && ni(O, u, g, v) ? /* @__PURE__ */ a.jsx(
2821
+ return P && ai(O, u, g, v) ? /* @__PURE__ */ a.jsx(
2776
2822
  ea,
2777
2823
  {
2778
2824
  id: P,
@@ -2782,7 +2828,7 @@ const ai = ({
2782
2828
  },
2783
2829
  P
2784
2830
  ) : (P = P || `${e}-card-${O}`, /* @__PURE__ */ a.jsx(
2785
- Te,
2831
+ Ee,
2786
2832
  {
2787
2833
  element: "li",
2788
2834
  className: "card-wrapper",
@@ -2841,7 +2887,7 @@ const ai = ({
2841
2887
  ]
2842
2888
  }
2843
2889
  );
2844
- }, Tc = ({
2890
+ }, $c = ({
2845
2891
  carousels: e = [],
2846
2892
  isLoading: t,
2847
2893
  title: n,
@@ -2850,7 +2896,7 @@ const ai = ({
2850
2896
  }) => !e || !e.length ? null : e.map(
2851
2897
  ({ title: i, viewAllUrl: c, cards: o, cardsTypes: f }, d) => {
2852
2898
  const u = i ? window.btoa(i) : `carousel-${d}`, l = d === e.length - 1;
2853
- return t ? /* @__PURE__ */ a.jsxs(nt, { children: [
2899
+ return t ? /* @__PURE__ */ a.jsxs(at, { children: [
2854
2900
  /* @__PURE__ */ a.jsx(
2855
2901
  Kr,
2856
2902
  {
@@ -2858,10 +2904,10 @@ const ai = ({
2858
2904
  "data-testid": "carousel-placeholder"
2859
2905
  }
2860
2906
  ),
2861
- l ? null : /* @__PURE__ */ a.jsx(Fe, {})
2862
- ] }, `placeholder-${u}`) : /* @__PURE__ */ a.jsxs(nt, { children: [
2907
+ l ? null : /* @__PURE__ */ a.jsx(Le, {})
2908
+ ] }, `placeholder-${u}`) : /* @__PURE__ */ a.jsxs(at, { children: [
2863
2909
  /* @__PURE__ */ a.jsx(
2864
- ai,
2910
+ ii,
2865
2911
  {
2866
2912
  cards: o,
2867
2913
  cardTypes: f,
@@ -2869,7 +2915,7 @@ const ai = ({
2869
2915
  ...s
2870
2916
  }
2871
2917
  ),
2872
- l ? null : /* @__PURE__ */ a.jsx(Fe, {})
2918
+ l ? null : /* @__PURE__ */ a.jsx(Le, {})
2873
2919
  ] }, `carousel-${u}`);
2874
2920
  }
2875
2921
  );
@@ -2880,7 +2926,7 @@ const Vt = "joinCommunityButton", ta = ({
2880
2926
  }, leave: () => {
2881
2927
  } }
2882
2928
  }) => {
2883
- const s = W(), i = $e(Ae), c = i && typeof i.id == "string", [o, f] = J(e), [d, u] = J(e ? "joined" : "notJoined");
2929
+ const s = W(), i = $e(Oe), c = i && typeof i.id == "string", [o, f] = J(e), [d, u] = J(e ? "joined" : "notJoined");
2884
2930
  ie(() => {
2885
2931
  d === "joining" ? u("joined") : d === "leaving" && u("notJoined");
2886
2932
  }, [o]);
@@ -2906,7 +2952,7 @@ const Vt = "joinCommunityButton", ta = ({
2906
2952
  }
2907
2953
  );
2908
2954
  };
2909
- const Yt = "communityDetails_", Ec = ({
2955
+ const Yt = "communityDetails_", Pc = ({
2910
2956
  className: e = "",
2911
2957
  isMember: t = !1,
2912
2958
  slug: n,
@@ -2915,7 +2961,7 @@ const Yt = "communityDetails_", Ec = ({
2915
2961
  }) => {
2916
2962
  const o = W(), f = 5, d = r || s.length, u = s.length ? s : Array(f).fill({}), l = `/communities/${n}/members` === window.location.pathname;
2917
2963
  return /* @__PURE__ */ a.jsxs("div", { className: E("community-details", e), children: [
2918
- /* @__PURE__ */ a.jsx(Fe, {}),
2964
+ /* @__PURE__ */ a.jsx(Le, {}),
2919
2965
  /* @__PURE__ */ a.jsxs("div", { className: "member-details", children: [
2920
2966
  /* @__PURE__ */ a.jsxs("div", { className: "top", children: [
2921
2967
  /* @__PURE__ */ a.jsxs("h4", { children: [
@@ -2953,7 +2999,7 @@ const Yt = "communityDetails_", Ec = ({
2953
2999
  )
2954
3000
  ] });
2955
3001
  };
2956
- const Sc = ({ breadcrumbs: e, cutoff: t = 20, className: n = "" }) => {
3002
+ const Mc = ({ breadcrumbs: e, cutoff: t = 20, className: n = "" }) => {
2957
3003
  const r = W();
2958
3004
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2959
3005
  /* @__PURE__ */ a.jsx(
@@ -2972,12 +3018,12 @@ const Sc = ({ breadcrumbs: e, cutoff: t = 20, className: n = "" }) => {
2972
3018
  children: r.formatMessage({ id: "breadcrumbs_currentPage" })
2973
3019
  }
2974
3020
  ),
2975
- /* @__PURE__ */ a.jsx(ot, { href: c ? void 0 : i, children: He(s, t) })
3021
+ /* @__PURE__ */ a.jsx(lt, { href: c ? void 0 : i, children: He(s, t) })
2976
3022
  ] }, `${window.btoa(s)}_${o}`)
2977
3023
  ) })
2978
3024
  ] });
2979
3025
  };
2980
- const Cc = ({
3026
+ const Rc = ({
2981
3027
  options: e,
2982
3028
  allOption: t = !1,
2983
3029
  allowMultiple: n = !0,
@@ -3013,7 +3059,7 @@ const Cc = ({
3013
3059
  }
3014
3060
  ) }, u);
3015
3061
  }) });
3016
- }, si = (e, t) => {
3062
+ }, oi = (e, t) => {
3017
3063
  const n = String(e);
3018
3064
  if (!t || !t.length)
3019
3065
  return `/${n}`;
@@ -3027,7 +3073,7 @@ const Gt = {
3027
3073
  es: "Español",
3028
3074
  fr: "Français",
3029
3075
  pt: "Português"
3030
- }, mt = "languageSwitcher_", $c = ({
3076
+ }, pt = "languageSwitcher_", Nc = ({
3031
3077
  currentLanguage: e,
3032
3078
  isOriginalLanguage: t = !1,
3033
3079
  isHumanTranslation: n = !1,
@@ -3049,24 +3095,24 @@ const Gt = {
3049
3095
  const h = Object.keys(r), g = u !== e;
3050
3096
  return /* @__PURE__ */ a.jsxs("div", { className: E("language-switcher text-small", c, f), children: [
3051
3097
  /* @__PURE__ */ a.jsxs("nav", { children: [
3052
- c !== "short" && /* @__PURE__ */ a.jsx("p", { children: o || d.formatMessage({ id: `${mt}label` }) }),
3098
+ c !== "short" && /* @__PURE__ */ a.jsx("p", { children: o || d.formatMessage({ id: `${pt}label` }) }),
3053
3099
  /* @__PURE__ */ a.jsx("ul", { children: h.map((v) => {
3054
3100
  if (!Gt[v])
3055
3101
  return null;
3056
3102
  let _ = { className: v };
3057
3103
  return u === v ? _["aria-label"] = d.formatMessage(
3058
- { id: `${mt}selected` },
3104
+ { id: `${pt}selected` },
3059
3105
  { language: Gt[v] }
3060
3106
  ) : _ = {
3061
3107
  ..._,
3062
- href: si(v, i),
3108
+ href: oi(v, i),
3063
3109
  onClick: (b) => {
3064
3110
  b.preventDefault(), b.stopPropagation(), l(v), s(v);
3065
3111
  }
3066
- }, /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(ot, { ..._, fallbackElement: "span", children: Gt[v] }) }, v);
3112
+ }, /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(lt, { ..._, fallbackElement: "span", children: Gt[v] }) }, v);
3067
3113
  }) }),
3068
3114
  c !== "short" && !g && /* @__PURE__ */ a.jsx("p", { children: d.formatMessage({
3069
- id: `${mt}translation_${t ? "original" : n ? "human" : "machine"}`
3115
+ id: `${pt}translation_${t ? "original" : n ? "human" : "machine"}`
3070
3116
  }) })
3071
3117
  ] }),
3072
3118
  c !== "short" && !g && !t && !n && /* @__PURE__ */ a.jsx("small", {
@@ -3074,9 +3120,9 @@ const Gt = {
3074
3120
  // @ts-ignore
3075
3121
  // `values` are throwing a type error: https://github.com/formatjs/formatjs/issues/3633
3076
3122
  children: d.formatMessage(
3077
- { id: `${mt}disclaimer` },
3123
+ { id: `${pt}disclaimer` },
3078
3124
  {
3079
- email: Xe.support,
3125
+ email: tt.support,
3080
3126
  link: (v) => {
3081
3127
  const _ = `mailto:${v}`;
3082
3128
  return /* @__PURE__ */ a.jsx("a", { href: _, children: v });
@@ -3136,11 +3182,11 @@ const na = ({
3136
3182
  href: "/home/",
3137
3183
  className: E("logo", e, t, n),
3138
3184
  ...r,
3139
- children: /* @__PURE__ */ a.jsx(_e, { children: /* @__PURE__ */ a.jsx(xe, { id: "apolitical" }) })
3185
+ children: /* @__PURE__ */ a.jsx(_e, { children: /* @__PURE__ */ a.jsx(we, { id: "apolitical" }) })
3140
3186
  }
3141
3187
  ) });
3142
- let pt = !1;
3143
- const ii = ({
3188
+ let ht = !1;
3189
+ const ci = ({
3144
3190
  element: e = "div",
3145
3191
  id: t = "more-menu",
3146
3192
  options: n,
@@ -3177,10 +3223,10 @@ const ii = ({
3177
3223
  o(!1), typeof u == "function" && u(_);
3178
3224
  },
3179
3225
  onFocus: () => {
3180
- pt && (clearTimeout(pt), pt = !1);
3226
+ ht && (clearTimeout(ht), ht = !1);
3181
3227
  },
3182
3228
  onBlur: () => {
3183
- pt = setTimeout(() => {
3229
+ ht = setTimeout(() => {
3184
3230
  o(!1);
3185
3231
  }, 100);
3186
3232
  }
@@ -3198,8 +3244,8 @@ const ii = ({
3198
3244
  }) })
3199
3245
  ] })
3200
3246
  });
3201
- }, oi = (e, t = !1) => t ? e.replaceAll("/", "") === t : typeof window < "u" && window.location && window.location.pathname === e;
3202
- const ci = [
3247
+ }, li = (e, t = !1) => t ? e.replaceAll("/", "") === t : typeof window < "u" && window.location && window.location.pathname === e;
3248
+ const di = [
3203
3249
  {
3204
3250
  key: "homepage",
3205
3251
  href: "/home/"
@@ -3216,13 +3262,13 @@ const ci = [
3216
3262
  key: "articles",
3217
3263
  href: "/solution-articles/"
3218
3264
  }
3219
- ], li = ({ activeLink: e }) => {
3220
- const t = W(), n = $e(Ae), r = n && typeof n.id == "string";
3265
+ ], ui = ({ activeLink: e }) => {
3266
+ const t = W(), n = $e(Oe), r = n && typeof n.id == "string";
3221
3267
  return /* @__PURE__ */ a.jsxs("ul", { id: "navigation-menu", className: "text-medium", children: [
3222
- ci.map(({ key: s, href: i }) => /* @__PURE__ */ a.jsx(
3268
+ di.map(({ key: s, href: i }) => /* @__PURE__ */ a.jsx(
3223
3269
  "li",
3224
3270
  {
3225
- className: E(s, { active: oi(i, e) }),
3271
+ className: E(s, { active: li(i, e) }),
3226
3272
  children: /* @__PURE__ */ a.jsx(
3227
3273
  "a",
3228
3274
  {
@@ -3245,7 +3291,7 @@ const ci = [
3245
3291
  className: "gtm-trackable",
3246
3292
  children: [
3247
3293
  /* @__PURE__ */ a.jsx(
3248
- lt,
3294
+ dt,
3249
3295
  {
3250
3296
  name: (n == null ? void 0 : n.name) || "",
3251
3297
  src: n != null && n.image ? n.image.thumbnail : ""
@@ -3256,7 +3302,7 @@ const ci = [
3256
3302
  }
3257
3303
  ) })
3258
3304
  ] });
3259
- }, Je = (e, t, n) => `${e}?share=${t}${n ? `&uuid=${n}` : ""}`, di = ({
3305
+ }, et = (e, t, n) => `${e}?share=${t}${n ? `&uuid=${n}` : ""}`, fi = ({
3260
3306
  title: e,
3261
3307
  link: t,
3262
3308
  referrer: n
@@ -3265,21 +3311,21 @@ const ci = [
3265
3311
  key: "linkedin",
3266
3312
  icon: "social_linkedin",
3267
3313
  url: `https://www.linkedin.com/shareArticle?mini=true&url=${encodeURIComponent(
3268
- `${Je(t, "linkedin", n)}&src=linkedin`
3314
+ `${et(t, "linkedin", n)}&src=linkedin`
3269
3315
  )}&title=${encodeURIComponent(e)}&source=Apolitical`
3270
3316
  },
3271
3317
  {
3272
3318
  key: "twitter",
3273
3319
  icon: "social_twitter",
3274
3320
  url: `https://twitter.com/share?ref_src=twsrc%5Etfw&url=${encodeURIComponent(
3275
- `${Je(t, "twitter", n)}&src=twitter`
3321
+ `${et(t, "twitter", n)}&src=twitter`
3276
3322
  )}&text=${encodeURIComponent(e)}&via=${encodeURIComponent("apoliticalco")}`
3277
3323
  },
3278
3324
  {
3279
3325
  key: "facebook",
3280
3326
  icon: "social_facebook",
3281
3327
  url: `https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(
3282
- `${Je(t, "facebook", n)}`
3328
+ `${et(t, "facebook", n)}`
3283
3329
  )}&t=${e}`
3284
3330
  },
3285
3331
  {
@@ -3288,18 +3334,18 @@ const ci = [
3288
3334
  url: `mailto:?subject=${encodeURIComponent(e)}&body=${encodeURIComponent(
3289
3335
  `${e}
3290
3336
 
3291
- ${Je(t, "mailto", n)}&src=email`
3337
+ ${et(t, "mailto", n)}&src=email`
3292
3338
  )}`
3293
3339
  },
3294
3340
  {
3295
3341
  key: "clipboard-copy",
3296
3342
  icon: "share_copy-link",
3297
- url: Je(t, "copy", n),
3343
+ url: et(t, "copy", n),
3298
3344
  shouldRender: () => navigator && navigator.clipboard && navigator.clipboard.writeText,
3299
3345
  onClick: (r, s) => (r.preventDefault(), r.stopPropagation(), navigator.clipboard.writeText(s))
3300
3346
  }
3301
3347
  ];
3302
- const ui = "shareLinks_", Pc = ({
3348
+ const mi = "shareLinks_", Ac = ({
3303
3349
  title: e,
3304
3350
  link: t,
3305
3351
  referrer: n,
@@ -3308,7 +3354,7 @@ const ui = "shareLinks_", Pc = ({
3308
3354
  variant: i = "default",
3309
3355
  className: c = ""
3310
3356
  }) => {
3311
- const o = W(), f = di({ title: e, link: t, referrer: n });
3357
+ const o = W(), f = fi({ title: e, link: t, referrer: n });
3312
3358
  return /* @__PURE__ */ a.jsxs("aside", { className: E("share-links", s, i, c), children: [
3313
3359
  /* @__PURE__ */ a.jsx("p", { className: "text-small", children: o.formatMessage({ id: "shareLinks_label" }) }),
3314
3360
  /* @__PURE__ */ a.jsx("ul", { children: f.map(({ key: d, icon: u, url: l, shouldRender: m = !0, onClick: h }) => {
@@ -3328,14 +3374,14 @@ const ui = "shareLinks_", Pc = ({
3328
3374
  "data-gtm-event-context": `${r}-SocialButtons`,
3329
3375
  "data-gtm-event-type": `${d}-click`,
3330
3376
  "data-testid": "link",
3331
- screenreaderText: o.formatMessage({ id: `${ui}link_${d}` }),
3377
+ screenreaderText: o.formatMessage({ id: `${mi}link_${d}` }),
3332
3378
  ...g
3333
3379
  }
3334
3380
  ) }, d);
3335
3381
  }) })
3336
3382
  ] });
3337
3383
  };
3338
- const Mc = ({ tabs: e, className: t = "" }) => {
3384
+ const Oc = ({ tabs: e, className: t = "" }) => {
3339
3385
  var f;
3340
3386
  const n = (d, u, l) => (d || (d = `panel-${window.btoa(u)}-${l}`), d);
3341
3387
  let r = e.findIndex((d) => d.current === !0);
@@ -3389,37 +3435,37 @@ const Mc = ({ tabs: e, className: t = "" }) => {
3389
3435
  /* @__PURE__ */ a.jsx("div", { className: "tab-content", children: o })
3390
3436
  ] });
3391
3437
  };
3392
- const fi = {
3438
+ const pi = {
3393
3439
  "2-1": 901,
3394
3440
  "1-3": 769
3395
- }, mi = ({
3441
+ }, hi = ({
3396
3442
  layout: e = "2-1",
3397
3443
  hideOnMobile: t = !1,
3398
3444
  className: n = "",
3399
3445
  children: r
3400
3446
  }) => {
3401
- const s = it(!0);
3447
+ const s = ct(!0);
3402
3448
  let i = r;
3403
- return z.Children.count(r) === 1 && (i = z.Children.toArray(r)[0], i.props && (i = i.props.children)), /* @__PURE__ */ a.jsx("section", { className: E("columns", `layout-${e}`, n), children: z.Children.map(i, (c, o) => t !== !1 && o === t && s && s < fi[e] ? null : c) });
3449
+ return z.Children.count(r) === 1 && (i = z.Children.toArray(r)[0], i.props && (i = i.props.children)), /* @__PURE__ */ a.jsx("section", { className: E("columns", `layout-${e}`, n), children: z.Children.map(i, (c, o) => t !== !1 && o === t && s && s < pi[e] ? null : c) });
3404
3450
  };
3405
- const ht = "emailHelperTextBox_", pi = ({
3451
+ const gt = "emailHelperTextBox_", gi = ({
3406
3452
  type: e,
3407
3453
  email: t,
3408
3454
  redirectPath: n,
3409
3455
  resendVerificationCode: r
3410
3456
  }) => {
3411
3457
  const s = W(), [i, c] = J({
3412
- path: `${ht}default`,
3458
+ path: `${gt}default`,
3413
3459
  type: "default",
3414
3460
  link: {},
3415
3461
  mail: {},
3416
3462
  error: ""
3417
- }), [o, f] = J(!1), d = Or(
3463
+ }), [o, f] = J(!1), d = Fr(
3418
3464
  (h) => {
3419
3465
  h.preventDefault(), h.stopPropagation();
3420
3466
  const g = (v) => {
3421
3467
  c({
3422
- path: `${ht}error_verificationFailedToSend`,
3468
+ path: `${gt}error_verificationFailedToSend`,
3423
3469
  type: "error",
3424
3470
  link: {
3425
3471
  "data-gtm-event-context": "VerifyEmailBox",
@@ -3439,7 +3485,7 @@ const ht = "emailHelperTextBox_", pi = ({
3439
3485
  });
3440
3486
  };
3441
3487
  if (typeof r != "function") {
3442
- g(s.formatMessage({ id: `${ht}error_noFunction` }));
3488
+ g(s.formatMessage({ id: `${gt}error_noFunction` }));
3443
3489
  return;
3444
3490
  }
3445
3491
  f(!0), r(t).then(() => {
@@ -3455,7 +3501,7 @@ const ht = "emailHelperTextBox_", pi = ({
3455
3501
  );
3456
3502
  ie(
3457
3503
  () => {
3458
- let h = ht, g = "default", v = {}, _ = {};
3504
+ let h = gt, g = "default", v = {}, _ = {};
3459
3505
  switch (e) {
3460
3506
  case "gov":
3461
3507
  h += "autoApproved", g = "success";
@@ -3514,13 +3560,13 @@ const ht = "emailHelperTextBox_", pi = ({
3514
3560
  return ["link", "mail"].forEach((h) => {
3515
3561
  u[h] = Object.keys(i[h]).length ? (g) => /* @__PURE__ */ a.jsx("a", { ...i[h], children: g }) : (g) => g;
3516
3562
  }), /* @__PURE__ */ a.jsx(
3517
- Fs,
3563
+ Ls,
3518
3564
  {
3519
3565
  type: i.type,
3520
3566
  heading: o ? !1 : s.formatMessage({ id: `${i.path}_title` }),
3521
3567
  children: o ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
3522
- /* @__PURE__ */ a.jsx(Te, { element: "span" }),
3523
- /* @__PURE__ */ a.jsx(Te, { element: "span" })
3568
+ /* @__PURE__ */ a.jsx(Ee, { element: "span" }),
3569
+ /* @__PURE__ */ a.jsx(Ee, { element: "span" })
3524
3570
  ] }) : (
3525
3571
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
3526
3572
  // @ts-ignore
@@ -3541,7 +3587,7 @@ const ht = "emailHelperTextBox_", pi = ({
3541
3587
  )
3542
3588
  }
3543
3589
  );
3544
- }, et = ({
3590
+ }, nt = ({
3545
3591
  className: e = "",
3546
3592
  element: t = "input",
3547
3593
  id: n,
@@ -3626,7 +3672,7 @@ const ra = ({
3626
3672
  _
3627
3673
  );
3628
3674
  };
3629
- const hi = Be(function({
3675
+ const _i = Ae(function({
3630
3676
  direction: t = "down"
3631
3677
  }) {
3632
3678
  return /* @__PURE__ */ a.jsx(
@@ -3636,7 +3682,7 @@ const hi = Be(function({
3636
3682
  }
3637
3683
  );
3638
3684
  });
3639
- const gi = ({
3685
+ const vi = ({
3640
3686
  className: e,
3641
3687
  options: t,
3642
3688
  initialValue: n,
@@ -3668,7 +3714,7 @@ const gi = ({
3668
3714
  ...m,
3669
3715
  children: [
3670
3716
  u.label,
3671
- /* @__PURE__ */ a.jsx(hi, { direction: c ? "up" : "down" })
3717
+ /* @__PURE__ */ a.jsx(_i, { direction: c ? "up" : "down" })
3672
3718
  ]
3673
3719
  }
3674
3720
  ),
@@ -3708,7 +3754,7 @@ const gi = ({
3708
3754
  }) })
3709
3755
  ] });
3710
3756
  };
3711
- const _i = ({
3757
+ const bi = ({
3712
3758
  className: e = "",
3713
3759
  functions: t = { onChange: () => {
3714
3760
  } },
@@ -3773,7 +3819,7 @@ const _i = ({
3773
3819
  }
3774
3820
  );
3775
3821
  };
3776
- const vi = ({
3822
+ const yi = ({
3777
3823
  inputRef: e,
3778
3824
  type: t = "password",
3779
3825
  gtm: { context: n } = { context: void 0 },
@@ -3802,18 +3848,18 @@ const vi = ({
3802
3848
  })
3803
3849
  }
3804
3850
  ),
3805
- /* @__PURE__ */ a.jsx(et, { inputRef: c, type: d, ...r })
3851
+ /* @__PURE__ */ a.jsx(nt, { inputRef: c, type: d, ...r })
3806
3852
  ] });
3807
3853
  };
3808
3854
  const Ze = {
3809
- text: { component: et },
3810
- email: { component: et },
3811
- textarea: { component: et, props: { element: "textarea", rows: 4, cols: 10 } },
3855
+ text: { component: nt },
3856
+ email: { component: nt },
3857
+ textarea: { component: nt, props: { element: "textarea", rows: 4, cols: 10 } },
3812
3858
  checkbox: { component: ra },
3813
- checkboxes: { component: _i, props: { multiSelect: !0 } },
3814
- select: { component: gi },
3815
- password: { component: vi }
3816
- }, bi = ({
3859
+ checkboxes: { component: bi, props: { multiSelect: !0 } },
3860
+ select: { component: vi },
3861
+ password: { component: yi }
3862
+ }, xi = ({
3817
3863
  id: e,
3818
3864
  intlPath: t = !1,
3819
3865
  className: n = "",
@@ -3827,7 +3873,7 @@ const Ze = {
3827
3873
  value: d,
3828
3874
  ...u
3829
3875
  }) => {
3830
- const l = W(), m = f && f.some(({ condition: w }) => w === "required"), h = (d == null ? void 0 : d.toString().length) || 0, g = o && Ze[o] && Ze[o].component ? Ze[o].component : et, v = {};
3876
+ const l = W(), m = f && f.some(({ condition: w }) => w === "required"), h = (d == null ? void 0 : d.toString().length) || 0, g = o && Ze[o] && Ze[o].component ? Ze[o].component : nt, v = {};
3831
3877
  o && ["checkboxes"].includes(o) ? v.element = "span" : v.htmlFor = e;
3832
3878
  let _ = {
3833
3879
  ...u,
@@ -3837,7 +3883,7 @@ const Ze = {
3837
3883
  type: o,
3838
3884
  required: m,
3839
3885
  "aria-required": m,
3840
- functions: wt(s),
3886
+ functions: jt(s),
3841
3887
  value: d
3842
3888
  };
3843
3889
  i > 0 && (_["data-character-limit"] = i, _.functions && (_.functions.onChange = (w) => {
@@ -3903,8 +3949,8 @@ const Ze = {
3903
3949
  ] }),
3904
3950
  /* @__PURE__ */ a.jsx(y, {})
3905
3951
  ] });
3906
- }, yi = (e, t) => {
3907
- const { type: n, payload: r } = t, s = e.errors ? wt(e.errors) : {}, i = e.values ? wt(e.values) : {};
3952
+ }, wi = (e, t) => {
3953
+ const { type: n, payload: r } = t, s = e.errors ? jt(e.errors) : {}, i = e.values ? jt(e.values) : {};
3908
3954
  switch (n) {
3909
3955
  case "toggleSubmitting":
3910
3956
  return {
@@ -4034,7 +4080,7 @@ const aa = ({
4034
4080
  const ee = P.id || P.name;
4035
4081
  ee && (b[ee] = P.value || "");
4036
4082
  });
4037
- const [y, j] = Pn(yi, {
4083
+ const [y, j] = Pn(wi, {
4038
4084
  isSubmitting: !1,
4039
4085
  formSubmitted: !1,
4040
4086
  errors: {},
@@ -4104,7 +4150,7 @@ const aa = ({
4104
4150
  };
4105
4151
  return /* @__PURE__ */ a.jsxs("form", { ...m, id: n, className: E("form", t), ref: N, children: [
4106
4152
  w != null && w.general ? /* @__PURE__ */ a.jsx(
4107
- Ve,
4153
+ Ge,
4108
4154
  {
4109
4155
  variant: "error",
4110
4156
  text: _.formatMessage({ id: "form_error_generalError" })
@@ -4121,7 +4167,7 @@ const aa = ({
4121
4167
  return /* @__PURE__ */ a.jsx(U, { ...P.props || {} }, `component-${A}-${ee}`);
4122
4168
  const Q = F ? F[A] : "";
4123
4169
  return /* @__PURE__ */ a.jsx(
4124
- bi,
4170
+ xi,
4125
4171
  {
4126
4172
  intlPath: s,
4127
4173
  ...P,
@@ -4161,11 +4207,11 @@ const aa = ({
4161
4207
  )
4162
4208
  ] });
4163
4209
  };
4164
- const gt = "passwordRules_", sa = "isMoreThanEightCharacters", ia = "includesNumberAndSymbol", oa = "includesLowerAndUppercase", xi = {
4210
+ const _t = "passwordRules_", sa = "isMoreThanEightCharacters", ia = "includesNumberAndSymbol", oa = "includesLowerAndUppercase", ji = {
4165
4211
  [sa]: "8Characters",
4166
4212
  [ia]: "numberSymbol",
4167
4213
  [oa]: "lowercaseUppercase"
4168
- }, wi = ({
4214
+ }, ki = ({
4169
4215
  matchingRules: e = {
4170
4216
  isMoreThanEightCharacters: !1,
4171
4217
  includesNumberAndSymbol: !1,
@@ -4175,7 +4221,7 @@ const gt = "passwordRules_", sa = "isMoreThanEightCharacters", ia = "includesNum
4175
4221
  }) => {
4176
4222
  const n = W();
4177
4223
  return /* @__PURE__ */ a.jsxs("aside", { className: E("password-rules", t), children: [
4178
- /* @__PURE__ */ a.jsx("small", { children: n.formatMessage({ id: `${gt}intro` }) }),
4224
+ /* @__PURE__ */ a.jsx("small", { children: n.formatMessage({ id: `${_t}intro` }) }),
4179
4225
  /* @__PURE__ */ a.jsx("ul", { children: [sa, ia, oa].map(
4180
4226
  (r) => /* @__PURE__ */ a.jsxs(
4181
4227
  "li",
@@ -4183,13 +4229,13 @@ const gt = "passwordRules_", sa = "isMoreThanEightCharacters", ia = "includesNum
4183
4229
  className: E({ matches: e[r] }),
4184
4230
  children: [
4185
4231
  /* @__PURE__ */ a.jsxs(_e, { children: [
4186
- n.formatMessage({ id: `${gt}rule_label` }),
4232
+ n.formatMessage({ id: `${_t}rule_label` }),
4187
4233
  " "
4188
4234
  ] }),
4189
- /* @__PURE__ */ a.jsx("span", { children: n.formatMessage({ id: `${gt}rule_${xi[r]}` }) }),
4235
+ /* @__PURE__ */ a.jsx("span", { children: n.formatMessage({ id: `${_t}rule_${ji[r]}` }) }),
4190
4236
  !e[r] && /* @__PURE__ */ a.jsxs(_e, { element: "strong", children: [
4191
4237
  " ",
4192
- n.formatMessage({ id: `${gt}notMet` })
4238
+ n.formatMessage({ id: `${_t}notMet` })
4193
4239
  ] })
4194
4240
  ]
4195
4241
  },
@@ -4197,8 +4243,8 @@ const gt = "passwordRules_", sa = "isMoreThanEightCharacters", ia = "includesNum
4197
4243
  )
4198
4244
  ) })
4199
4245
  ] });
4200
- }, Rc = Be(wi);
4201
- const Nc = ({
4246
+ }, Fc = Ae(ki);
4247
+ const Lc = ({
4202
4248
  text: e = {},
4203
4249
  topRating: t = 5,
4204
4250
  functions: {
@@ -4232,7 +4278,7 @@ const Nc = ({
4232
4278
  if (ie(() => {
4233
4279
  c && !f.setUp && u();
4234
4280
  }, [c]), !c)
4235
- return /* @__PURE__ */ a.jsx(Te, { className: "rating-placeholder" });
4281
+ return /* @__PURE__ */ a.jsx(Ee, { className: "rating-placeholder" });
4236
4282
  const { id: l, rating: m, disabled: h } = f, g = "ratings_", v = {
4237
4283
  text: o.formatMessage({ id: `${g}text` }),
4238
4284
  low: o.formatMessage({ id: `${g}low` }),
@@ -4282,7 +4328,7 @@ const Nc = ({
4282
4328
  );
4283
4329
  }) })
4284
4330
  ] });
4285
- }, ji = ({
4331
+ }, Ti = ({
4286
4332
  gtm: e,
4287
4333
  functions: { onSuccess: t = () => {
4288
4334
  }, onFailure: n = () => {
@@ -4330,7 +4376,7 @@ const Nc = ({
4330
4376
  }
4331
4377
  );
4332
4378
  };
4333
- const ki = ({
4379
+ const Ei = ({
4334
4380
  title: e,
4335
4381
  label: t,
4336
4382
  ctaMessage: n,
@@ -4372,7 +4418,7 @@ const ki = ({
4372
4418
  " ",
4373
4419
  _({ id: "inviteForm_error" })
4374
4420
  ] }) }),
4375
- /* @__PURE__ */ a.jsx(Fe, {}),
4421
+ /* @__PURE__ */ a.jsx(Le, {}),
4376
4422
  /* @__PURE__ */ a.jsx("div", { className: "footer", children: g === "SUCCESS" ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
4377
4423
  /* @__PURE__ */ a.jsx(se, { variant: "secondary", onClick: y, children: _({ id: "inviteForm_ctaSendMoreInvites" }) }),
4378
4424
  /* @__PURE__ */ a.jsx(se, { onClick: j, children: _({ id: "inviteForm_ctaDone" }) })
@@ -4417,13 +4463,13 @@ const ki = ({
4417
4463
  }
4418
4464
  )
4419
4465
  ] }),
4420
- /* @__PURE__ */ a.jsx(Fe, {}),
4466
+ /* @__PURE__ */ a.jsx(Le, {}),
4421
4467
  /* @__PURE__ */ a.jsx("fieldset", { className: "footer", children: /* @__PURE__ */ a.jsx(se, { className: "sendEmailsButton", disabled: m, children: n }) })
4422
4468
  ]
4423
4469
  }
4424
4470
  ) });
4425
4471
  };
4426
- const Ti = ({
4472
+ const Si = ({
4427
4473
  id: e = "search",
4428
4474
  className: t = "",
4429
4475
  handleToggle: n = !1,
@@ -4432,7 +4478,7 @@ const Ti = ({
4432
4478
  gtmEvent: i = "form-submission"
4433
4479
  }) => {
4434
4480
  const { searchIsOpen: c = !0, isDesktopVersion: o = !1 } = n || {}, f = W(), d = me(null);
4435
- rt(() => {
4481
+ st(() => {
4436
4482
  !n || o || !c || d.current && d.current.focus();
4437
4483
  }, [c]);
4438
4484
  const u = (l) => {
@@ -4490,7 +4536,7 @@ const Ti = ({
4490
4536
  )
4491
4537
  }
4492
4538
  );
4493
- }, mr = async ({ ref: e, validateEmail: t, dispatch: n }) => {
4539
+ }, pr = async ({ ref: e, validateEmail: t, dispatch: n }) => {
4494
4540
  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,}))$/;
4495
4541
  if (!e.current.validity.valid || !r.test(e.current.value))
4496
4542
  return n([{ type: "validFields.email", value: !1 }]);
@@ -4535,7 +4581,7 @@ const Ti = ({
4535
4581
  },
4536
4582
  { type: "validFields.email", value: !0 }
4537
4583
  ]);
4538
- }, Ei = (e) => {
4584
+ }, Ci = (e) => {
4539
4585
  const t = {};
4540
4586
  for (const n of e.entries())
4541
4587
  t[n[0]] = n[1];
@@ -4569,7 +4615,7 @@ const Ti = ({
4569
4615
  e.recaptcha.current.execute();
4570
4616
  return;
4571
4617
  }
4572
- const c = Ei(new FormData(e.form.current)), o = Object.assign(c, t);
4618
+ const c = Ci(new FormData(e.form.current)), o = Object.assign(c, t);
4573
4619
  await n(o), localStorage.setItem("email", c.email), r && r({ ...c, ...i.values }), s([{ type: "showSuccessMessage", value: !0 }]);
4574
4620
  };
4575
4621
  var wn = { exports: {} }, jn = { exports: {} }, oe = {};
@@ -4581,11 +4627,11 @@ var wn = { exports: {} }, jn = { exports: {} }, oe = {};
4581
4627
  * This source code is licensed under the MIT license found in the
4582
4628
  * LICENSE file in the root directory of this source tree.
4583
4629
  */
4584
- var pr;
4585
- function Si() {
4586
- if (pr)
4630
+ var hr;
4631
+ function $i() {
4632
+ if (hr)
4587
4633
  return oe;
4588
- pr = 1;
4634
+ hr = 1;
4589
4635
  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;
4590
4636
  function j(x) {
4591
4637
  if (typeof x == "object" && x !== null) {
@@ -4657,9 +4703,9 @@ var ce = {};
4657
4703
  * This source code is licensed under the MIT license found in the
4658
4704
  * LICENSE file in the root directory of this source tree.
4659
4705
  */
4660
- var hr;
4661
- function Ci() {
4662
- return hr || (hr = 1, process.env.NODE_ENV !== "production" && function() {
4706
+ var gr;
4707
+ function Pi() {
4708
+ return gr || (gr = 1, process.env.NODE_ENV !== "production" && function() {
4663
4709
  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;
4664
4710
  function j($) {
4665
4711
  return typeof $ == "string" || typeof $ == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
@@ -4680,14 +4726,14 @@ function Ci() {
4680
4726
  case l:
4681
4727
  return Pe;
4682
4728
  default:
4683
- var Ee = Pe && Pe.$$typeof;
4684
- switch (Ee) {
4729
+ var Se = Pe && Pe.$$typeof;
4730
+ switch (Se) {
4685
4731
  case o:
4686
4732
  case u:
4687
4733
  case g:
4688
4734
  case h:
4689
4735
  case c:
4690
- return Ee;
4736
+ return Se;
4691
4737
  default:
4692
4738
  return ge;
4693
4739
  }
@@ -4740,18 +4786,18 @@ function Ci() {
4740
4786
  ce.AsyncMode = x, ce.ConcurrentMode = R, ce.ContextConsumer = F, ce.ContextProvider = V, ce.Element = N, ce.ForwardRef = O, ce.Fragment = P, ce.Lazy = ee, ce.Memo = A, ce.Portal = U, ce.Profiler = q, ce.StrictMode = Q, ce.Suspense = X, ce.isAsyncMode = fe, ce.isConcurrentMode = k, ce.isContextConsumer = S, ce.isContextProvider = B, ce.isElement = L, ce.isForwardRef = D, ce.isFragment = Y, ce.isLazy = Z, ce.isMemo = I, ce.isPortal = H, ce.isProfiler = K, ce.isStrictMode = C, ce.isSuspense = ne, ce.isValidElementType = j, ce.typeOf = w;
4741
4787
  }()), ce;
4742
4788
  }
4743
- process.env.NODE_ENV === "production" ? jn.exports = Si() : jn.exports = Ci();
4744
- var Ln = jn.exports;
4789
+ process.env.NODE_ENV === "production" ? jn.exports = $i() : jn.exports = Pi();
4790
+ var Dn = jn.exports;
4745
4791
  /*
4746
4792
  object-assign
4747
4793
  (c) Sindre Sorhus
4748
4794
  @license MIT
4749
4795
  */
4750
- var Jt, gr;
4751
- function $i() {
4752
- if (gr)
4796
+ var Jt, _r;
4797
+ function Mi() {
4798
+ if (_r)
4753
4799
  return Jt;
4754
- gr = 1;
4800
+ _r = 1;
4755
4801
  var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
4756
4802
  function r(i) {
4757
4803
  if (i == null)
@@ -4794,27 +4840,27 @@ function $i() {
4794
4840
  return f;
4795
4841
  }, Jt;
4796
4842
  }
4797
- var Xt, _r;
4798
- function Dn() {
4799
- if (_r)
4843
+ var Xt, vr;
4844
+ function In() {
4845
+ if (vr)
4800
4846
  return Xt;
4801
- _r = 1;
4847
+ vr = 1;
4802
4848
  var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
4803
4849
  return Xt = e, Xt;
4804
4850
  }
4805
- var en, vr;
4851
+ var en, br;
4806
4852
  function la() {
4807
- return vr || (vr = 1, en = Function.call.bind(Object.prototype.hasOwnProperty)), en;
4853
+ return br || (br = 1, en = Function.call.bind(Object.prototype.hasOwnProperty)), en;
4808
4854
  }
4809
- var tn, br;
4810
- function Pi() {
4811
- if (br)
4855
+ var tn, yr;
4856
+ function Ri() {
4857
+ if (yr)
4812
4858
  return tn;
4813
- br = 1;
4859
+ yr = 1;
4814
4860
  var e = function() {
4815
4861
  };
4816
4862
  if (process.env.NODE_ENV !== "production") {
4817
- var t = Dn(), n = {}, r = la();
4863
+ var t = In(), n = {}, r = la();
4818
4864
  e = function(i) {
4819
4865
  var c = "Warning: " + i;
4820
4866
  typeof console < "u" && console.error(c);
@@ -4856,12 +4902,12 @@ function Pi() {
4856
4902
  process.env.NODE_ENV !== "production" && (n = {});
4857
4903
  }, tn = s, tn;
4858
4904
  }
4859
- var nn, yr;
4860
- function Mi() {
4861
- if (yr)
4905
+ var nn, xr;
4906
+ function Ni() {
4907
+ if (xr)
4862
4908
  return nn;
4863
- yr = 1;
4864
- var e = Ln, t = $i(), n = Dn(), r = la(), s = Pi(), i = function() {
4909
+ xr = 1;
4910
+ var e = Dn, t = Mi(), n = In(), r = la(), s = Ri(), i = function() {
4865
4911
  };
4866
4912
  process.env.NODE_ENV !== "production" && (i = function(o) {
4867
4913
  var f = "Warning: " + o;
@@ -5178,12 +5224,12 @@ Valid keys: ` + JSON.stringify(Object.keys(k), null, " ")
5178
5224
  return h.checkPropTypes = s, h.resetWarningCache = s.resetWarningCache, h.PropTypes = h, h;
5179
5225
  }, nn;
5180
5226
  }
5181
- var rn, xr;
5182
- function Ri() {
5183
- if (xr)
5227
+ var rn, wr;
5228
+ function Ai() {
5229
+ if (wr)
5184
5230
  return rn;
5185
- xr = 1;
5186
- var e = Dn();
5231
+ wr = 1;
5232
+ var e = In();
5187
5233
  function t() {
5188
5234
  }
5189
5235
  function n() {
@@ -5228,13 +5274,13 @@ function Ri() {
5228
5274
  }, rn;
5229
5275
  }
5230
5276
  if (process.env.NODE_ENV !== "production") {
5231
- var Ni = Ln, Ai = !0;
5232
- wn.exports = Mi()(Ni.isElement, Ai);
5277
+ var Oi = Dn, Fi = !0;
5278
+ wn.exports = Ni()(Oi.isElement, Fi);
5233
5279
  } else
5234
- wn.exports = Ri()();
5235
- var Oi = wn.exports;
5236
- const ye = /* @__PURE__ */ Rn(Oi);
5237
- var Fi = ["sitekey", "onChange", "theme", "type", "tabindex", "onExpired", "onErrored", "size", "stoken", "grecaptcha", "badge", "hl", "isolated"];
5280
+ wn.exports = Ai()();
5281
+ var Li = wn.exports;
5282
+ const xe = /* @__PURE__ */ Rn(Li);
5283
+ var Di = ["sitekey", "onChange", "theme", "type", "tabindex", "onExpired", "onErrored", "size", "stoken", "grecaptcha", "badge", "hl", "isolated"];
5238
5284
  function kn() {
5239
5285
  return kn = Object.assign ? Object.assign.bind() : function(e) {
5240
5286
  for (var t = 1; t < arguments.length; t++) {
@@ -5245,7 +5291,7 @@ function kn() {
5245
5291
  return e;
5246
5292
  }, kn.apply(this, arguments);
5247
5293
  }
5248
- function Li(e, t) {
5294
+ function Ii(e, t) {
5249
5295
  if (e == null)
5250
5296
  return {};
5251
5297
  var n = {}, r = Object.keys(e), s, i;
@@ -5253,12 +5299,12 @@ function Li(e, t) {
5253
5299
  s = r[i], !(t.indexOf(s) >= 0) && (n[s] = e[s]);
5254
5300
  return n;
5255
5301
  }
5256
- function _t(e) {
5302
+ function vt(e) {
5257
5303
  if (e === void 0)
5258
5304
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
5259
5305
  return e;
5260
5306
  }
5261
- function Di(e, t) {
5307
+ function Bi(e, t) {
5262
5308
  e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Tn(e, t);
5263
5309
  }
5264
5310
  function Tn(e, t) {
@@ -5267,10 +5313,10 @@ function Tn(e, t) {
5267
5313
  }, Tn(e, t);
5268
5314
  }
5269
5315
  var Ot = /* @__PURE__ */ function(e) {
5270
- Di(t, e);
5316
+ Bi(t, e);
5271
5317
  function t() {
5272
5318
  var r;
5273
- return r = e.call(this) || this, r.handleExpired = r.handleExpired.bind(_t(r)), r.handleErrored = r.handleErrored.bind(_t(r)), r.handleChange = r.handleChange.bind(_t(r)), r.handleRecaptchaRef = r.handleRecaptchaRef.bind(_t(r)), r;
5319
+ return r = e.call(this) || this, r.handleExpired = r.handleExpired.bind(vt(r)), r.handleErrored = r.handleErrored.bind(vt(r)), r.handleChange = r.handleChange.bind(vt(r)), r.handleRecaptchaRef = r.handleRecaptchaRef.bind(vt(r)), r;
5274
5320
  }
5275
5321
  var n = t.prototype;
5276
5322
  return n.getCaptchaFunction = function(s) {
@@ -5331,27 +5377,27 @@ var Ot = /* @__PURE__ */ function(e) {
5331
5377
  }, n.render = function() {
5332
5378
  var s = this.props;
5333
5379
  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;
5334
- var i = Li(s, Fi);
5335
- return /* @__PURE__ */ ar.createElement("div", kn({}, i, {
5380
+ var i = Ii(s, Di);
5381
+ return /* @__PURE__ */ sr.createElement("div", kn({}, i, {
5336
5382
  ref: this.handleRecaptchaRef
5337
5383
  }));
5338
5384
  }, t;
5339
- }(ar.Component);
5385
+ }(sr.Component);
5340
5386
  Ot.displayName = "ReCAPTCHA";
5341
5387
  Ot.propTypes = {
5342
- sitekey: ye.string.isRequired,
5343
- onChange: ye.func,
5344
- grecaptcha: ye.object,
5345
- theme: ye.oneOf(["dark", "light"]),
5346
- type: ye.oneOf(["image", "audio"]),
5347
- tabindex: ye.number,
5348
- onExpired: ye.func,
5349
- onErrored: ye.func,
5350
- size: ye.oneOf(["compact", "normal", "invisible"]),
5351
- stoken: ye.string,
5352
- hl: ye.string,
5353
- badge: ye.oneOf(["bottomright", "bottomleft", "inline"]),
5354
- isolated: ye.bool
5388
+ sitekey: xe.string.isRequired,
5389
+ onChange: xe.func,
5390
+ grecaptcha: xe.object,
5391
+ theme: xe.oneOf(["dark", "light"]),
5392
+ type: xe.oneOf(["image", "audio"]),
5393
+ tabindex: xe.number,
5394
+ onExpired: xe.func,
5395
+ onErrored: xe.func,
5396
+ size: xe.oneOf(["compact", "normal", "invisible"]),
5397
+ stoken: xe.string,
5398
+ hl: xe.string,
5399
+ badge: xe.oneOf(["bottomright", "bottomleft", "inline"]),
5400
+ isolated: xe.bool
5355
5401
  };
5356
5402
  Ot.defaultProps = {
5357
5403
  onChange: function() {
@@ -5362,7 +5408,7 @@ Ot.defaultProps = {
5362
5408
  size: "normal",
5363
5409
  badge: "bottomright"
5364
5410
  };
5365
- var In = Ln, Ii = {
5411
+ var Bn = Dn, qi = {
5366
5412
  childContextTypes: !0,
5367
5413
  contextType: !0,
5368
5414
  contextTypes: !0,
@@ -5374,7 +5420,7 @@ var In = Ln, Ii = {
5374
5420
  mixins: !0,
5375
5421
  propTypes: !0,
5376
5422
  type: !0
5377
- }, Bi = {
5423
+ }, zi = {
5378
5424
  name: !0,
5379
5425
  length: !0,
5380
5426
  prototype: !0,
@@ -5382,7 +5428,7 @@ var In = Ln, Ii = {
5382
5428
  callee: !0,
5383
5429
  arguments: !0,
5384
5430
  arity: !0
5385
- }, qi = {
5431
+ }, Zi = {
5386
5432
  $$typeof: !0,
5387
5433
  render: !0,
5388
5434
  defaultProps: !0,
@@ -5395,27 +5441,27 @@ var In = Ln, Ii = {
5395
5441
  displayName: !0,
5396
5442
  propTypes: !0,
5397
5443
  type: !0
5398
- }, Bn = {};
5399
- Bn[In.ForwardRef] = qi;
5400
- Bn[In.Memo] = da;
5401
- function wr(e) {
5402
- return In.isMemo(e) ? da : Bn[e.$$typeof] || Ii;
5444
+ }, qn = {};
5445
+ qn[Bn.ForwardRef] = Zi;
5446
+ qn[Bn.Memo] = da;
5447
+ function jr(e) {
5448
+ return Bn.isMemo(e) ? da : qn[e.$$typeof] || qi;
5403
5449
  }
5404
- var zi = Object.defineProperty, Zi = Object.getOwnPropertyNames, jr = Object.getOwnPropertySymbols, Ui = Object.getOwnPropertyDescriptor, Hi = Object.getPrototypeOf, kr = Object.prototype;
5450
+ var Ui = Object.defineProperty, Hi = Object.getOwnPropertyNames, kr = Object.getOwnPropertySymbols, Wi = Object.getOwnPropertyDescriptor, Vi = Object.getPrototypeOf, Tr = Object.prototype;
5405
5451
  function ua(e, t, n) {
5406
5452
  if (typeof t != "string") {
5407
- if (kr) {
5408
- var r = Hi(t);
5409
- r && r !== kr && ua(e, r, n);
5453
+ if (Tr) {
5454
+ var r = Vi(t);
5455
+ r && r !== Tr && ua(e, r, n);
5410
5456
  }
5411
- var s = Zi(t);
5412
- jr && (s = s.concat(jr(t)));
5413
- for (var i = wr(e), c = wr(t), o = 0; o < s.length; ++o) {
5457
+ var s = Hi(t);
5458
+ kr && (s = s.concat(kr(t)));
5459
+ for (var i = jr(e), c = jr(t), o = 0; o < s.length; ++o) {
5414
5460
  var f = s[o];
5415
- if (!Bi[f] && !(n && n[f]) && !(c && c[f]) && !(i && i[f])) {
5416
- var d = Ui(t, f);
5461
+ if (!zi[f] && !(n && n[f]) && !(c && c[f]) && !(i && i[f])) {
5462
+ var d = Wi(t, f);
5417
5463
  try {
5418
- zi(e, f, d);
5464
+ Ui(e, f, d);
5419
5465
  } catch {
5420
5466
  }
5421
5467
  }
@@ -5423,8 +5469,8 @@ function ua(e, t, n) {
5423
5469
  }
5424
5470
  return e;
5425
5471
  }
5426
- var Wi = ua;
5427
- const Vi = /* @__PURE__ */ Rn(Wi);
5472
+ var Yi = ua;
5473
+ const Gi = /* @__PURE__ */ Rn(Yi);
5428
5474
  function En() {
5429
5475
  return En = Object.assign || function(e) {
5430
5476
  for (var t = 1; t < arguments.length; t++) {
@@ -5435,7 +5481,7 @@ function En() {
5435
5481
  return e;
5436
5482
  }, En.apply(this, arguments);
5437
5483
  }
5438
- function Yi(e, t) {
5484
+ function Ki(e, t) {
5439
5485
  if (e == null)
5440
5486
  return {};
5441
5487
  var n = {}, r = Object.keys(e), s, i;
@@ -5443,21 +5489,21 @@ function Yi(e, t) {
5443
5489
  s = r[i], !(t.indexOf(s) >= 0) && (n[s] = e[s]);
5444
5490
  return n;
5445
5491
  }
5446
- function Gi(e, t) {
5492
+ function Qi(e, t) {
5447
5493
  e.prototype = Object.create(t.prototype), e.prototype.constructor = e, e.__proto__ = t;
5448
5494
  }
5449
- var ke = {}, Ki = 0;
5450
- function Qi(e, t) {
5495
+ var Te = {}, Ji = 0;
5496
+ function Xi(e, t) {
5451
5497
  return t = t || {}, function(r) {
5452
5498
  var s = r.displayName || r.name || "Component", i = /* @__PURE__ */ function(o) {
5453
- Gi(f, o);
5499
+ Qi(f, o);
5454
5500
  function f(u, l) {
5455
5501
  var m;
5456
5502
  return m = o.call(this, u, l) || this, m.state = {}, m.__scriptURL = "", m;
5457
5503
  }
5458
5504
  var d = f.prototype;
5459
5505
  return d.asyncScriptLoaderGetScriptLoaderID = function() {
5460
- return this.__scriptLoaderID || (this.__scriptLoaderID = "async-script-loader-" + Ki++), this.__scriptLoaderID;
5506
+ return this.__scriptLoaderID || (this.__scriptLoaderID = "async-script-loader-" + Ji++), this.__scriptLoaderID;
5461
5507
  }, d.setupScriptURL = function() {
5462
5508
  return this.__scriptURL = typeof e == "function" ? e() : e, this.__scriptURL;
5463
5509
  }, d.asyncScriptLoaderHandleLoad = function(l) {
@@ -5466,7 +5512,7 @@ function Qi(e, t) {
5466
5512
  return m.props.asyncScriptOnLoad && m.props.asyncScriptOnLoad(m.state);
5467
5513
  });
5468
5514
  }, d.asyncScriptLoaderTriggerOnScriptLoaded = function() {
5469
- var l = ke[this.__scriptURL];
5515
+ var l = Te[this.__scriptURL];
5470
5516
  if (!l || !l.loaded)
5471
5517
  throw new Error("Script is not loaded.");
5472
5518
  for (var m in l.observers)
@@ -5474,11 +5520,11 @@ function Qi(e, t) {
5474
5520
  delete window[t.callbackName];
5475
5521
  }, d.componentDidMount = function() {
5476
5522
  var l = this, m = this.setupScriptURL(), h = this.asyncScriptLoaderGetScriptLoaderID(), g = t, v = g.globalName, _ = g.callbackName, b = g.scriptId;
5477
- if (v && typeof window[v] < "u" && (ke[m] = {
5523
+ if (v && typeof window[v] < "u" && (Te[m] = {
5478
5524
  loaded: !0,
5479
5525
  observers: {}
5480
- }), ke[m]) {
5481
- var y = ke[m];
5526
+ }), Te[m]) {
5527
+ var y = Te[m];
5482
5528
  if (y && (y.loaded || y.errored)) {
5483
5529
  this.asyncScriptLoaderHandleLoad(y);
5484
5530
  return;
@@ -5491,7 +5537,7 @@ function Qi(e, t) {
5491
5537
  var j = {};
5492
5538
  j[h] = function(F) {
5493
5539
  return l.asyncScriptLoaderHandleLoad(F);
5494
- }, ke[m] = {
5540
+ }, Te[m] = {
5495
5541
  loaded: !1,
5496
5542
  observers: j
5497
5543
  };
@@ -5501,8 +5547,8 @@ function Qi(e, t) {
5501
5547
  w.setAttribute(x, t.attributes[x]);
5502
5548
  b && (w.id = b);
5503
5549
  var R = function(V) {
5504
- if (ke[m]) {
5505
- var N = ke[m], O = N.observers;
5550
+ if (Te[m]) {
5551
+ var N = Te[m], O = N.observers;
5506
5552
  for (var P in O)
5507
5553
  V(O[P]) && delete O[P];
5508
5554
  }
@@ -5510,12 +5556,12 @@ function Qi(e, t) {
5510
5556
  _ && typeof window < "u" && (window[_] = function() {
5511
5557
  return l.asyncScriptLoaderTriggerOnScriptLoaded();
5512
5558
  }), w.onload = function() {
5513
- var F = ke[m];
5559
+ var F = Te[m];
5514
5560
  F && (F.loaded = !0, R(function(V) {
5515
5561
  return _ ? !1 : (V(F), !0);
5516
5562
  }));
5517
5563
  }, w.onerror = function() {
5518
- var F = ke[m];
5564
+ var F = Te[m];
5519
5565
  F && (F.errored = !0, R(function(V) {
5520
5566
  return V(F), !0;
5521
5567
  }));
@@ -5525,39 +5571,39 @@ function Qi(e, t) {
5525
5571
  if (t.removeOnUnmount === !0)
5526
5572
  for (var m = document.getElementsByTagName("script"), h = 0; h < m.length; h += 1)
5527
5573
  m[h].src.indexOf(l) > -1 && m[h].parentNode && m[h].parentNode.removeChild(m[h]);
5528
- var g = ke[l];
5529
- g && (delete g.observers[this.asyncScriptLoaderGetScriptLoaderID()], t.removeOnUnmount === !0 && delete ke[l]);
5574
+ var g = Te[l];
5575
+ g && (delete g.observers[this.asyncScriptLoaderGetScriptLoaderID()], t.removeOnUnmount === !0 && delete Te[l]);
5530
5576
  }, d.render = function() {
5531
5577
  var l = t.globalName, m = this.props;
5532
5578
  m.asyncScriptOnLoad;
5533
- var h = m.forwardedRef, g = Yi(m, ["asyncScriptOnLoad", "forwardedRef"]);
5534
- return l && typeof window < "u" && (g[l] = typeof window[l] < "u" ? window[l] : void 0), g.ref = h, sr(r, g);
5579
+ var h = m.forwardedRef, g = Ki(m, ["asyncScriptOnLoad", "forwardedRef"]);
5580
+ return l && typeof window < "u" && (g[l] = typeof window[l] < "u" ? window[l] : void 0), g.ref = h, ir(r, g);
5535
5581
  }, f;
5536
5582
  }(Ha), c = Ua(function(o, f) {
5537
- return sr(i, En({}, o, {
5583
+ return ir(i, En({}, o, {
5538
5584
  forwardedRef: f
5539
5585
  }));
5540
5586
  });
5541
5587
  return c.displayName = "AsyncScriptLoader(" + s + ")", c.propTypes = {
5542
- asyncScriptOnLoad: ye.func
5543
- }, Vi(c, r);
5588
+ asyncScriptOnLoad: xe.func
5589
+ }, Gi(c, r);
5544
5590
  };
5545
5591
  }
5546
- var Sn = "onloadcallback", Ji = "grecaptcha";
5592
+ var Sn = "onloadcallback", eo = "grecaptcha";
5547
5593
  function Cn() {
5548
5594
  return typeof window < "u" && window.recaptchaOptions || {};
5549
5595
  }
5550
- function Xi() {
5596
+ function to() {
5551
5597
  var e = Cn(), t = e.useRecaptchaNet ? "recaptcha.net" : "www.google.com";
5552
5598
  return e.enterprise ? "https://" + t + "/recaptcha/enterprise.js?onload=" + Sn + "&render=explicit" : "https://" + t + "/recaptcha/api.js?onload=" + Sn + "&render=explicit";
5553
5599
  }
5554
- const eo = Qi(Xi, {
5600
+ const no = Xi(to, {
5555
5601
  callbackName: Sn,
5556
- globalName: Ji,
5602
+ globalName: eo,
5557
5603
  attributes: Cn().nonce ? {
5558
5604
  nonce: Cn().nonce
5559
5605
  } : {}
5560
- })(Ot), to = ({
5606
+ })(Ot), ro = ({
5561
5607
  shouldShow: e,
5562
5608
  functions: {
5563
5609
  validateEmail: t,
@@ -5598,7 +5644,7 @@ const eo = Qi(Xi, {
5598
5644
  }),
5599
5645
  functions: {
5600
5646
  onBlur: () => {
5601
- mr({ ref: c.email, validateEmail: t, dispatch: f });
5647
+ pr({ ref: c.email, validateEmail: t, dispatch: f });
5602
5648
  },
5603
5649
  onChange: (v, _) => {
5604
5650
  _ && _({
@@ -5613,7 +5659,7 @@ const eo = Qi(Xi, {
5613
5659
  "data-testid": "signup-email-input"
5614
5660
  },
5615
5661
  {
5616
- component: pi,
5662
+ component: gi,
5617
5663
  props: {
5618
5664
  email: l.email,
5619
5665
  type: l.boxType,
@@ -5712,14 +5758,14 @@ const eo = Qi(Xi, {
5712
5758
  o.validFields[b] !== c[b].current.validity.valid && (_.push({
5713
5759
  type: `validFields.${b}`,
5714
5760
  value: c[b].current.validity.valid
5715
- }), b === "email" && mr({ ref: c.email, validateEmail: t, dispatch: f }));
5761
+ }), b === "email" && pr({ ref: c.email, validateEmail: t, dispatch: f }));
5716
5762
  }), _.length && f(_);
5717
5763
  }
5718
5764
  },
5719
5765
  validation: [{ condition: "required" }],
5720
5766
  "data-testid": "signup-terms-checkbox"
5721
5767
  }), !l.isEnd2End && m && g.push({
5722
- component: eo,
5768
+ component: no,
5723
5769
  functions: { onChange: () => {
5724
5770
  } },
5725
5771
  props: {
@@ -5740,15 +5786,15 @@ const eo = Qi(Xi, {
5740
5786
  }
5741
5787
  }), g;
5742
5788
  };
5743
- const no = ({ className: e = "" }) => /* @__PURE__ */ a.jsxs(
5789
+ const ao = ({ className: e = "" }) => /* @__PURE__ */ a.jsxs(
5744
5790
  "div",
5745
5791
  {
5746
5792
  className: E("success-message", e),
5747
5793
  "data-testid": "success-message",
5748
5794
  children: [
5749
- /* @__PURE__ */ a.jsx("p", { className: "success-title", children: /* @__PURE__ */ a.jsx(xe, { id: "signup_success_title" }) }),
5795
+ /* @__PURE__ */ a.jsx("p", { className: "success-title", children: /* @__PURE__ */ a.jsx(we, { id: "signup_success_title" }) }),
5750
5796
  /* @__PURE__ */ a.jsx(
5751
- xe,
5797
+ we,
5752
5798
  {
5753
5799
  id: "signup_success_text",
5754
5800
  values: {
@@ -5759,7 +5805,7 @@ const no = ({ className: e = "" }) => /* @__PURE__ */ a.jsxs(
5759
5805
  ]
5760
5806
  }
5761
5807
  );
5762
- const ro = {
5808
+ const so = {
5763
5809
  validFields: {
5764
5810
  name: !1,
5765
5811
  email: !1,
@@ -5771,7 +5817,7 @@ const ro = {
5771
5817
  loadRecaptcha: !1,
5772
5818
  showSuccessMessage: !1,
5773
5819
  showError: !1
5774
- }, Ac = ({
5820
+ }, Dc = ({
5775
5821
  className: e = "",
5776
5822
  functions: t = {
5777
5823
  validateEmail: () => Promise.resolve(),
@@ -5792,13 +5838,13 @@ const ro = {
5792
5838
  dataToSubmit: s = { ref: "sign-up-form" },
5793
5839
  ...i
5794
5840
  }) => {
5795
- const c = W(), [o, f] = Pn(qr, ro), {
5841
+ const c = W(), [o, f] = Pn(zr, so), {
5796
5842
  validFields: d,
5797
5843
  emailDetails: u,
5798
5844
  shouldManuallyApprove: l,
5799
5845
  showSuccessMessage: m,
5800
5846
  showError: h
5801
- } = o, [g, v] = Lr([
5847
+ } = o, [g, v] = Dr([
5802
5848
  "signup-this-session",
5803
5849
  "functional-cookie-consent"
5804
5850
  ]), _ = {
@@ -5824,7 +5870,7 @@ const ro = {
5824
5870
  i.showSuccessMessage || v("signup-this-session", "true", j);
5825
5871
  }
5826
5872
  }, [m]);
5827
- const b = st(() => to({
5873
+ const b = ot(() => ro({
5828
5874
  shouldShow: n,
5829
5875
  functions: t,
5830
5876
  refs: _,
@@ -5833,15 +5879,15 @@ const ro = {
5833
5879
  dataToSubmit: s,
5834
5880
  intl: c
5835
5881
  }), [s, t, c, _, n, o]), y = l ? !Object.values(d).every((j) => j === !0) : !d.name || !d.email || ["exists", "pending", "verify"].includes(u.boxType);
5836
- return n.successMessage && m ? /* @__PURE__ */ a.jsx(no, { className: e }) : /* @__PURE__ */ a.jsxs(
5882
+ return n.successMessage && m ? /* @__PURE__ */ a.jsx(ao, { className: e }) : /* @__PURE__ */ a.jsxs(
5837
5883
  "fieldset",
5838
5884
  {
5839
5885
  className: E("signup-form-fieldset", e),
5840
5886
  "data-testid": "signup-form",
5841
5887
  children: [
5842
- n.title && /* @__PURE__ */ a.jsx("p", { className: "signup-title", children: /* @__PURE__ */ a.jsx(xe, { id: "signup_title" }) }),
5888
+ n.title && /* @__PURE__ */ a.jsx("p", { className: "signup-title", children: /* @__PURE__ */ a.jsx(we, { id: "signup_title" }) }),
5843
5889
  h && /* @__PURE__ */ a.jsx(
5844
- Ve,
5890
+ Ge,
5845
5891
  {
5846
5892
  variant: "error",
5847
5893
  text: c.formatMessage({ id: "signup_error" })
@@ -5910,7 +5956,7 @@ const ro = {
5910
5956
  );
5911
5957
  };
5912
5958
  let an;
5913
- const sn = "contactFooter_", Oc = ({ onSuccess: e = () => {
5959
+ const sn = "contactFooter_", Ic = ({ onSuccess: e = () => {
5914
5960
  }, onFailure: t = () => {
5915
5961
  } }) => {
5916
5962
  const n = me(null), [r, s] = z.useState(0), [i, c] = z.useState(!1), o = () => {
@@ -5922,8 +5968,8 @@ const sn = "contactFooter_", Oc = ({ onSuccess: e = () => {
5922
5968
  };
5923
5969
  return ie(() => (o(), window.addEventListener("resize", f), () => {
5924
5970
  clearTimeout(an), window.removeEventListener("resize", f);
5925
- }), []), /* @__PURE__ */ a.jsx(ct, { id: "contactForm", className: "contact-footer", children: /* @__PURE__ */ a.jsxs("div", { className: "inner-wrapper", children: [
5926
- /* @__PURE__ */ a.jsx("h2", { children: /* @__PURE__ */ a.jsx(xe, { id: `${sn}title` }) }),
5971
+ }), []), /* @__PURE__ */ a.jsx(Ye, { id: "contactForm", className: "contact-footer", children: /* @__PURE__ */ a.jsxs("div", { className: "inner-wrapper", children: [
5972
+ /* @__PURE__ */ a.jsx("h2", { children: /* @__PURE__ */ a.jsx(we, { id: `${sn}title` }) }),
5927
5973
  /* @__PURE__ */ a.jsxs(
5928
5974
  "div",
5929
5975
  {
@@ -5933,11 +5979,11 @@ const sn = "contactFooter_", Oc = ({ onSuccess: e = () => {
5933
5979
  style: i ? {} : { minHeight: r },
5934
5980
  children: [
5935
5981
  /* @__PURE__ */ a.jsxs("aside", { children: [
5936
- /* @__PURE__ */ a.jsx("p", { children: /* @__PURE__ */ a.jsx(xe, { id: `${sn}text` }) }),
5937
- /* @__PURE__ */ a.jsx(ot, { className: "mailto-link", href: "mailto:hello@apolitical.co", children: /* @__PURE__ */ a.jsx(xe, { id: `${sn}email` }) })
5982
+ /* @__PURE__ */ a.jsx("p", { children: /* @__PURE__ */ a.jsx(we, { id: `${sn}text` }) }),
5983
+ /* @__PURE__ */ a.jsx(lt, { className: "mailto-link", href: "mailto:hello@apolitical.co", children: /* @__PURE__ */ a.jsx(we, { id: `${sn}email` }) })
5938
5984
  ] }),
5939
5985
  /* @__PURE__ */ a.jsx(
5940
- ji,
5986
+ Ti,
5941
5987
  {
5942
5988
  functions: { onSuccess: e, onFailure: t },
5943
5989
  gtm: { context: "FooterContactUsForm", event: "contact-form-submit-click" }
@@ -5947,16 +5993,16 @@ const sn = "contactFooter_", Oc = ({ onSuccess: e = () => {
5947
5993
  }
5948
5994
  )
5949
5995
  ] }) });
5950
- }, Fc = ({ activeLink: e, ...t }) => /* @__PURE__ */ a.jsx(ct, { children: /* @__PURE__ */ a.jsx(mi, { layout: "1-3", children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
5951
- /* @__PURE__ */ a.jsx(li, { activeLink: e }),
5952
- /* @__PURE__ */ a.jsx(Hs, { ...t })
5996
+ }, Bc = ({ activeLink: e, ...t }) => /* @__PURE__ */ a.jsx(Ye, { children: /* @__PURE__ */ a.jsx(hi, { layout: "1-3", children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
5997
+ /* @__PURE__ */ a.jsx(ui, { activeLink: e }),
5998
+ /* @__PURE__ */ a.jsx(Ws, { ...t })
5953
5999
  ] }) }) });
5954
6000
  const on = "cookieBanner_", cn = [
5955
6001
  "apol-cookie-banner",
5956
6002
  "apolitical-performance-cookie-consent",
5957
6003
  "functional-cookie-consent"
5958
- ], ln = new Date(Date.now() + 12 * 30 * 24 * 60 * 60 * 1e3), ao = () => {
5959
- const e = W(), [t, n, r] = Lr(cn), [s, i] = J(
6004
+ ], ln = new Date(Date.now() + 12 * 30 * 24 * 60 * 60 * 1e3), io = () => {
6005
+ const e = W(), [t, n, r] = Dr(cn), [s, i] = J(
5960
6006
  !t["apol-cookie-banner"]
5961
6007
  ), c = () => {
5962
6008
  cn.forEach((u) => {
@@ -6067,11 +6113,11 @@ const on = "cookieBanner_", cn = [
6067
6113
  text: {
6068
6114
  order: ["dataProtection", "euDataProtection"],
6069
6115
  dataProtection: {
6070
- email: Xe["data-protection"].default,
6116
+ email: tt["data-protection"].default,
6071
6117
  gtmType: "email-dpo-link"
6072
6118
  },
6073
6119
  euDataProtection: {
6074
- email: Xe["data-protection"].eu,
6120
+ email: tt["data-protection"].eu,
6075
6121
  gtmType: "email-eu-dpo-link"
6076
6122
  }
6077
6123
  }
@@ -6083,10 +6129,10 @@ const on = "cookieBanner_", cn = [
6083
6129
  registered: { address: !0 },
6084
6130
  berlin: { address: !0 },
6085
6131
  support: {
6086
- email: Xe.support,
6132
+ email: tt.support,
6087
6133
  gtmType: "concierge-email-click"
6088
6134
  },
6089
- business: { email: Xe.general, gtmType: "hello-email-click" }
6135
+ business: { email: tt.general, gtmType: "hello-email-click" }
6090
6136
  }
6091
6137
  },
6092
6138
  social: {
@@ -6096,11 +6142,11 @@ const on = "cookieBanner_", cn = [
6096
6142
  facebook: { href: "https://www.facebook.com/apoliticalco" }
6097
6143
  }
6098
6144
  };
6099
- const Ue = "footer_", Et = "SiteFooter", Tr = ({ group: e }) => {
6145
+ const Ue = "footer_", St = "SiteFooter", Er = ({ group: e }) => {
6100
6146
  const t = Ne[e].order || [];
6101
6147
  let n = !1;
6102
- return "text" in Ne[e] && (n = Ne[e].text), /* @__PURE__ */ a.jsxs(nt, { children: [
6103
- /* @__PURE__ */ a.jsx("p", { className: "pre-title", children: /* @__PURE__ */ a.jsx(xe, { id: `${Ue}${e}` }) }),
6148
+ return "text" in Ne[e] && (n = Ne[e].text), /* @__PURE__ */ a.jsxs(at, { children: [
6149
+ /* @__PURE__ */ a.jsx("p", { className: "pre-title", children: /* @__PURE__ */ a.jsx(we, { id: `${Ue}${e}` }) }),
6104
6150
  Array.isArray(t) && t.length > 0 && /* @__PURE__ */ a.jsx("ul", { className: "text-medium", children: t.map((r) => {
6105
6151
  if (["order", "child", "text"].includes(r))
6106
6152
  return null;
@@ -6110,18 +6156,18 @@ const Ue = "footer_", Et = "SiteFooter", Tr = ({ group: e }) => {
6110
6156
  {
6111
6157
  href: s,
6112
6158
  className: "gtm-trackable",
6113
- "data-gtm-event-context": Et,
6159
+ "data-gtm-event-context": St,
6114
6160
  "data-gtm-event-type": i,
6115
6161
  ...c,
6116
- children: /* @__PURE__ */ a.jsx(xe, { id: `${Ue}${e}_${r}` })
6162
+ children: /* @__PURE__ */ a.jsx(we, { id: `${Ue}${e}_${r}` })
6117
6163
  }
6118
6164
  ) }, `${e}_${r}`);
6119
6165
  }) }),
6120
- typeof n != "boolean" && "order" in n && Array.isArray(n.order) && /* @__PURE__ */ a.jsx("dl", { className: "text-medium", children: n.order.map((r) => /* @__PURE__ */ a.jsxs(nt, { children: [
6121
- /* @__PURE__ */ a.jsx("dt", { children: /* @__PURE__ */ a.jsx(xe, { id: `${Ue}${e}_${r}` }) }),
6166
+ typeof n != "boolean" && "order" in n && Array.isArray(n.order) && /* @__PURE__ */ a.jsx("dl", { className: "text-medium", children: n.order.map((r) => /* @__PURE__ */ a.jsxs(at, { children: [
6167
+ /* @__PURE__ */ a.jsx("dt", { children: /* @__PURE__ */ a.jsx(we, { id: `${Ue}${e}_${r}` }) }),
6122
6168
  /* @__PURE__ */ a.jsxs("dd", { children: [
6123
6169
  typeof n != "boolean" && n[r].address && /* @__PURE__ */ a.jsx("address", { children: /* @__PURE__ */ a.jsx(
6124
- xe,
6170
+ we,
6125
6171
  {
6126
6172
  id: `${Ue}${e}_${r}_address`,
6127
6173
  values: { br: /* @__PURE__ */ a.jsx("br", {}) }
@@ -6132,7 +6178,7 @@ const Ue = "footer_", Et = "SiteFooter", Tr = ({ group: e }) => {
6132
6178
  {
6133
6179
  href: `mailto:${n[r].email}`,
6134
6180
  className: "gtm-trackable",
6135
- "data-gtm-event-context": Et,
6181
+ "data-gtm-event-context": St,
6136
6182
  "data-gtm-event-type": n[r].gtmType,
6137
6183
  children: n[r].email
6138
6184
  }
@@ -6148,13 +6194,13 @@ const Ue = "footer_", Et = "SiteFooter", Tr = ({ group: e }) => {
6148
6194
  variant: "inverted",
6149
6195
  version: "full",
6150
6196
  className: "gtm-trackable",
6151
- "data-gtm-event-context": Et,
6197
+ "data-gtm-event-context": St,
6152
6198
  "data-gtm-event-type": "logo-homepage-link"
6153
6199
  }
6154
6200
  ),
6155
6201
  /* @__PURE__ */ a.jsx("footer", { children: ["platform", "community", "company", "contact"].map((e) => /* @__PURE__ */ a.jsxs("div", { className: "group", children: [
6156
- /* @__PURE__ */ a.jsx(Tr, { group: e }),
6157
- Object.keys(Ne[e]).includes("child") && /* @__PURE__ */ a.jsx(Tr, { group: Ne[e].child })
6202
+ /* @__PURE__ */ a.jsx(Er, { group: e }),
6203
+ Object.keys(Ne[e]).includes("child") && /* @__PURE__ */ a.jsx(Er, { group: Ne[e].child })
6158
6204
  ] }, e)) }),
6159
6205
  /* @__PURE__ */ a.jsx("hr", {}),
6160
6206
  /* @__PURE__ */ a.jsxs("div", { className: "sub-footer", children: [
@@ -6167,14 +6213,14 @@ const Ue = "footer_", Et = "SiteFooter", Tr = ({ group: e }) => {
6167
6213
  target: "_blank",
6168
6214
  rel: "noopener noreferrer",
6169
6215
  className: "gtm-trackable",
6170
- "data-gtm-event-context": Et,
6216
+ "data-gtm-event-context": St,
6171
6217
  "data-gtm-event-type": "social-click",
6172
- children: /* @__PURE__ */ a.jsx("span", { className: "hidden", children: /* @__PURE__ */ a.jsx(xe, { id: `${Ue}social_${e}` }) })
6218
+ children: /* @__PURE__ */ a.jsx("span", { className: "hidden", children: /* @__PURE__ */ a.jsx(we, { id: `${Ue}social_${e}` }) })
6173
6219
  }
6174
6220
  ) }, e);
6175
6221
  }) }),
6176
6222
  /* @__PURE__ */ a.jsx("small", { children: /* @__PURE__ */ a.jsx(
6177
- xe,
6223
+ we,
6178
6224
  {
6179
6225
  id: `${Ue}copyright`,
6180
6226
  values: { currentYear: (/* @__PURE__ */ new Date()).getFullYear() }
@@ -6227,7 +6273,7 @@ const Ue = "footer_", Et = "SiteFooter", Tr = ({ group: e }) => {
6227
6273
  return e[r];
6228
6274
  if (!t.includes("."))
6229
6275
  continue;
6230
- const s = Dr(e[r], t);
6276
+ const s = Ir(e[r], t);
6231
6277
  if (!(typeof s > "u") && (!n || s[t] && s[t].includes(n) || s.value && s.value.includes(n) || s.toString().includes(n)))
6232
6278
  return e[r];
6233
6279
  }
@@ -6285,7 +6331,7 @@ const Ue = "footer_", Et = "SiteFooter", Tr = ({ group: e }) => {
6285
6331
  }, 250);
6286
6332
  }
6287
6333
  }
6288
- }, St = {
6334
+ }, Ct = {
6289
6335
  order: ["home", "topics", "partners", "account"],
6290
6336
  home: {
6291
6337
  href: "/home/",
@@ -6360,7 +6406,7 @@ const Ue = "footer_", Et = "SiteFooter", Tr = ({ group: e }) => {
6360
6406
  props: { variant: "primary" }
6361
6407
  }
6362
6408
  }
6363
- }, Ct = ({
6409
+ }, $t = ({
6364
6410
  id: e,
6365
6411
  isLoggedIn: t = !1,
6366
6412
  isDesktopVersion: n = !1,
@@ -6369,7 +6415,7 @@ const Ue = "footer_", Et = "SiteFooter", Tr = ({ group: e }) => {
6369
6415
  },
6370
6416
  doTrack: i = null
6371
6417
  }) => {
6372
- const c = W(), o = Dr(St, e);
6418
+ const c = W(), o = Ir(Ct, e);
6373
6419
  if (!o || o.onlyShow && (o.onlyShow === "logged-in" && !t || o.onlyShow === "logged-out" && t))
6374
6420
  return null;
6375
6421
  const f = "doTrack" in o, d = i === null ? f ? o.doTrack : !0 : i, u = e.includes("buttons.");
@@ -6458,7 +6504,7 @@ const Ue = "footer_", Et = "SiteFooter", Tr = ({ group: e }) => {
6458
6504
  children: [
6459
6505
  c.formatMessage({ id: `${l}_${y}` }),
6460
6506
  /* @__PURE__ */ a.jsx("ul", { children: o[y].order.map((w) => /* @__PURE__ */ a.jsx(
6461
- Ct,
6507
+ $t,
6462
6508
  {
6463
6509
  id: `${e}.${y}.${w}`,
6464
6510
  ...j
@@ -6469,7 +6515,7 @@ const Ue = "footer_", Et = "SiteFooter", Tr = ({ group: e }) => {
6469
6515
  },
6470
6516
  y
6471
6517
  ) : /* @__PURE__ */ a.jsx(
6472
- Ct,
6518
+ $t,
6473
6519
  {
6474
6520
  id: `${e}.${y}`,
6475
6521
  ...j
@@ -6482,11 +6528,11 @@ const Ue = "footer_", Et = "SiteFooter", Tr = ({ group: e }) => {
6482
6528
  e
6483
6529
  );
6484
6530
  };
6485
- const so = { height: 67, height_desktop: 83 }, ma = ({ showNavigation: e = !0 }) => {
6486
- const t = W(), n = $e(Ae), r = it(!0, !0), s = n && typeof n.id == "string", i = st(
6531
+ const oo = { height: 67, height_desktop: 83 }, ma = ({ showNavigation: e = !0 }) => {
6532
+ const t = W(), n = $e(Oe), r = ct(!0, !0), s = n && typeof n.id == "string", i = ot(
6487
6533
  () => de.getIsDesktopVersion(s, r),
6488
6534
  [s, r]
6489
- ), [c, o] = Pn(qr, {
6535
+ ), [c, o] = Pn(zr, {
6490
6536
  headerIsVisible: !0,
6491
6537
  menus: { navigation: !1, search: !1, account: !1 },
6492
6538
  focusElements: {
@@ -6495,7 +6541,7 @@ const so = { height: 67, height_desktop: 83 }, ma = ({ showNavigation: e = !0 })
6495
6541
  }
6496
6542
  }), { headerIsVisible: f, menus: d, focusElements: u } = c;
6497
6543
  fs({
6498
- scrollPosition: so[`height${i.navigation ? "_desktop" : ""}`],
6544
+ scrollPosition: oo[`height${i.navigation ? "_desktop" : ""}`],
6499
6545
  callbacks: {
6500
6546
  scrollUp: () => {
6501
6547
  !i && d.navigation || de.shouldChangeHeaderIsVisible(!0, d, o);
@@ -6508,7 +6554,7 @@ const so = { height: 67, height_desktop: 83 }, ma = ({ showNavigation: e = !0 })
6508
6554
  const l = (h, g) => {
6509
6555
  de.handleMenus({ id: h, value: g, menus: d, dispatch: o });
6510
6556
  }, m = me(null);
6511
- return rt(() => {
6557
+ return st(() => {
6512
6558
  d.navigation && de.autoFocus({
6513
6559
  menu: "navigation",
6514
6560
  navigationRef: m,
@@ -6516,7 +6562,7 @@ const so = { height: 67, height_desktop: 83 }, ma = ({ showNavigation: e = !0 })
6516
6562
  focusElements: u,
6517
6563
  dispatch: o
6518
6564
  });
6519
- }, [d.navigation]), rt(() => {
6565
+ }, [d.navigation]), st(() => {
6520
6566
  d.account && de.autoFocus({
6521
6567
  menu: "account",
6522
6568
  navigationRef: m,
@@ -6570,8 +6616,8 @@ const so = { height: 67, height_desktop: 83 }, ma = ({ showNavigation: e = !0 })
6570
6616
  hidden: i.navigation || d.account ? !1 : !d.navigation,
6571
6617
  role: "menu",
6572
6618
  "data-showing": !i.navigation && d.account ? "account" : "default",
6573
- children: St.order.map((h) => /* @__PURE__ */ a.jsx(
6574
- Ct,
6619
+ children: Ct.order.map((h) => /* @__PURE__ */ a.jsx(
6620
+ $t,
6575
6621
  {
6576
6622
  id: h,
6577
6623
  isLoggedIn: s,
@@ -6604,7 +6650,7 @@ const so = { height: 67, height_desktop: 83 }, ma = ({ showNavigation: e = !0 })
6604
6650
  }
6605
6651
  ),
6606
6652
  /* @__PURE__ */ a.jsx(
6607
- Ti,
6653
+ Si,
6608
6654
  {
6609
6655
  id: "global-search",
6610
6656
  handleToggle: {
@@ -6634,7 +6680,7 @@ const so = { height: 67, height_desktop: 83 }, ma = ({ showNavigation: e = !0 })
6634
6680
  id: `header_account_${d.account ? "hide" : "show"}`
6635
6681
  }) }),
6636
6682
  /* @__PURE__ */ a.jsx(
6637
- lt,
6683
+ dt,
6638
6684
  {
6639
6685
  name: n && n.name || "",
6640
6686
  src: n && n.image && n.image.thumbnail || ""
@@ -6642,7 +6688,7 @@ const so = { height: 67, height_desktop: 83 }, ma = ({ showNavigation: e = !0 })
6642
6688
  )
6643
6689
  ]
6644
6690
  }
6645
- ) : /* @__PURE__ */ a.jsx("ul", { className: "sign-in-buttons", children: St.buttons.order.map((h) => /* @__PURE__ */ a.jsx(Ct, { id: `buttons.${h}` }, h)) })
6691
+ ) : /* @__PURE__ */ a.jsx("ul", { className: "sign-in-buttons", children: Ct.buttons.order.map((h) => /* @__PURE__ */ a.jsx($t, { id: `buttons.${h}` }, h)) })
6646
6692
  ] })
6647
6693
  ]
6648
6694
  }
@@ -6709,22 +6755,22 @@ const ha = ({
6709
6755
  }
6710
6756
  )
6711
6757
  ] }),
6712
- n && /* @__PURE__ */ a.jsx(Fe, {}),
6758
+ n && /* @__PURE__ */ a.jsx(Le, {}),
6713
6759
  f,
6714
6760
  d && /* @__PURE__ */ a.jsxs("div", { className: "bottom", children: [
6715
- /* @__PURE__ */ a.jsx(Fe, {}),
6761
+ /* @__PURE__ */ a.jsx(Le, {}),
6716
6762
  /* @__PURE__ */ a.jsx(Nt, { buttons: d })
6717
6763
  ] }),
6718
6764
  c && /* @__PURE__ */ a.jsx(yn, { className: "error", children: c })
6719
6765
  ] })
6720
6766
  }
6721
6767
  ) });
6722
- }, io = (e, t) => ({
6768
+ }, co = (e, t) => ({
6723
6769
  "aria-haspopup": !0,
6724
6770
  "aria-expanded": t,
6725
6771
  "aria-controls": e
6726
6772
  });
6727
- const Lc = ({
6773
+ const qc = ({
6728
6774
  className: e,
6729
6775
  showModal: t = !0,
6730
6776
  title: n,
@@ -6746,7 +6792,7 @@ const Lc = ({
6746
6792
  functions: { onClose: o },
6747
6793
  className: E("invite-modal", e, { success: !!n }),
6748
6794
  children: /* @__PURE__ */ a.jsx(
6749
- ki,
6795
+ Ei,
6750
6796
  {
6751
6797
  title: r,
6752
6798
  label: s,
@@ -6758,12 +6804,12 @@ const Lc = ({
6758
6804
  )
6759
6805
  }
6760
6806
  );
6761
- const oo = () => {
6807
+ const lo = () => {
6762
6808
  const e = W();
6763
6809
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
6764
6810
  /* @__PURE__ */ a.jsx(ma, {}),
6765
6811
  /* @__PURE__ */ a.jsx("div", { id: "content", children: /* @__PURE__ */ a.jsx(
6766
- Ve,
6812
+ Ge,
6767
6813
  {
6768
6814
  variant: "error",
6769
6815
  text: e.formatMessage({ id: "pageLayout_error" })
@@ -6771,7 +6817,7 @@ const oo = () => {
6771
6817
  ) }),
6772
6818
  /* @__PURE__ */ a.jsx(fa, {})
6773
6819
  ] });
6774
- }, co = ({
6820
+ }, uo = ({
6775
6821
  children: e,
6776
6822
  additionalContent: { prepended: t, appended: n } = {},
6777
6823
  reportError: r,
@@ -6784,12 +6830,12 @@ const oo = () => {
6784
6830
  ie(() => {
6785
6831
  window.scrollTo(0, 0);
6786
6832
  }, [h]);
6787
- const g = xt(e, { locale: o }), v = xt(t, {
6833
+ const g = wt(e, { locale: o }), v = wt(t, {
6788
6834
  locale: o
6789
- }), _ = xt(n, {
6835
+ }), _ = wt(n, {
6790
6836
  locale: o
6791
6837
  }), b = {};
6792
- return u !== "default" && (b[u] = !0), l !== "default" && (b[l] = !0), m !== "default" && (b[m] = !0), /* @__PURE__ */ a.jsx(ns, { onError: r, fallback: /* @__PURE__ */ a.jsx(oo, {}), children: /* @__PURE__ */ a.jsx(Wa, { fallback: null, children: /* @__PURE__ */ a.jsxs(
6838
+ return u !== "default" && (b[u] = !0), l !== "default" && (b[l] = !0), m !== "default" && (b[m] = !0), /* @__PURE__ */ a.jsx(ns, { onError: r, fallback: /* @__PURE__ */ a.jsx(lo, {}), children: /* @__PURE__ */ a.jsx(Wa, { fallback: null, children: /* @__PURE__ */ a.jsxs(
6793
6839
  "div",
6794
6840
  {
6795
6841
  id: "wrapper",
@@ -6805,11 +6851,11 @@ const oo = () => {
6805
6851
  ] }),
6806
6852
  _ && /* @__PURE__ */ a.jsx("div", { className: "additional-content appended", children: _ }),
6807
6853
  d && /* @__PURE__ */ a.jsx(fa, {}),
6808
- /* @__PURE__ */ a.jsx(ao, {})
6854
+ /* @__PURE__ */ a.jsx(io, {})
6809
6855
  ]
6810
6856
  }
6811
6857
  ) }) });
6812
- }, Er = {
6858
+ }, Sr = {
6813
6859
  default: "tags_",
6814
6860
  headerTopics: "header_topics_topics_"
6815
6861
  }, dn = {
@@ -6828,19 +6874,19 @@ const oo = () => {
6828
6874
  WorkAndTheEconomy: "work-and-the-economy"
6829
6875
  },
6830
6876
  "from the community": "community"
6831
- }, lo = {
6877
+ }, fo = {
6832
6878
  getTagDetails: (e) => {
6833
6879
  if (e.includes("topic_")) {
6834
6880
  if (e = dn.topic[e.replace("topic_", "")], e) {
6835
- const t = St.topics.topics[e].href;
6836
- return t ? { id: e, href: t, text: `${Er.headerTopics}${e}` } : null;
6881
+ const t = Ct.topics.topics[e].href;
6882
+ return t ? { id: e, href: t, text: `${Sr.headerTopics}${e}` } : null;
6837
6883
  }
6838
6884
  return null;
6839
6885
  }
6840
- return dn[e] ? (e = dn[e], { id: e, text: `${Er.default}${e}` }) : null;
6886
+ return dn[e] ? (e = dn[e], { id: e, text: `${Sr.default}${e}` }) : null;
6841
6887
  }
6842
6888
  };
6843
- const Dc = ({
6889
+ const zc = ({
6844
6890
  tags: e = [],
6845
6891
  color: t = "default",
6846
6892
  forceOneLine: n = !1,
@@ -6856,7 +6902,7 @@ const Dc = ({
6856
6902
  return e.forEach((d) => {
6857
6903
  if (!d)
6858
6904
  return;
6859
- const u = lo.getTagDetails(d);
6905
+ const u = fo.getTagDetails(d);
6860
6906
  u && f.push(u);
6861
6907
  }), f.length < 1 ? null : /* @__PURE__ */ a.jsx(
6862
6908
  "ul",
@@ -6880,7 +6926,7 @@ const Dc = ({
6880
6926
  }
6881
6927
  );
6882
6928
  };
6883
- const Ic = ({
6929
+ const Zc = ({
6884
6930
  members: { data: e = [], total: t = e.length },
6885
6931
  hasNextPage: n = !1,
6886
6932
  loadNextPage: r = () => {
@@ -6896,8 +6942,8 @@ const Ic = ({
6896
6942
  /* @__PURE__ */ a.jsx("span", { className: "count", children: t })
6897
6943
  ] }),
6898
6944
  /* @__PURE__ */ a.jsx("ul", { children: e.map((f, d) => /* @__PURE__ */ a.jsxs("li", { children: [
6899
- /* @__PURE__ */ a.jsx(Fn, { member: f, gtmContext: s, gtmType: i }),
6900
- f.isAdmin && /* @__PURE__ */ a.jsx(kt, { children: o.formatMessage({ id: "membersList_admin" }) })
6945
+ /* @__PURE__ */ a.jsx(Ln, { member: f, gtmContext: s, gtmType: i }),
6946
+ f.isAdmin && /* @__PURE__ */ a.jsx(Tt, { children: o.formatMessage({ id: "membersList_admin" }) })
6901
6947
  ] }, d)) }),
6902
6948
  n && /* @__PURE__ */ a.jsx(
6903
6949
  At,
@@ -6910,8 +6956,8 @@ const Ic = ({
6910
6956
  )
6911
6957
  ] });
6912
6958
  };
6913
- let vt = null;
6914
- const be = "discussion_form_", qn = ({
6959
+ let bt = null;
6960
+ const ye = "discussion_form_", zn = ({
6915
6961
  content: e = { type: "response", slugs: {} },
6916
6962
  userHasPermissions: t = !0,
6917
6963
  meta: n = {
@@ -6945,12 +6991,12 @@ const be = "discussion_form_", qn = ({
6945
6991
  gtmContext: d = "DiscussionForm"
6946
6992
  }) => {
6947
6993
  var O, P, ee;
6948
- const u = W(), l = $e(Ae), [m, h] = J(
6994
+ const u = W(), l = $e(Oe), [m, h] = J(
6949
6995
  n.isEditing && n.isEditing.text || ""
6950
6996
  ), [g, v] = J(o.error || !1), [_, b] = J(!1), y = me(null);
6951
6997
  if (r || (r = y), n.isLoading)
6952
6998
  return /* @__PURE__ */ a.jsx(
6953
- Te,
6999
+ Ee,
6954
7000
  {
6955
7001
  className: "discussion-card discussion-form",
6956
7002
  "data-testid": "loading-placeholder"
@@ -6962,12 +7008,12 @@ const be = "discussion_form_", qn = ({
6962
7008
  let q;
6963
7009
  !l || !l.id ? q = Ce(
6964
7010
  u.formatMessage,
6965
- `${be}error_loggedOut`,
7011
+ `${ye}error_loggedOut`,
6966
7012
  e.type,
6967
7013
  "action"
6968
- ) : t ? U.length >= i && (q = `${be}error_tooLong`) : q = Ce(
7014
+ ) : t ? U.length >= i && (q = `${ye}error_tooLong`) : q = Ce(
6969
7015
  u.formatMessage,
6970
- `${be}error_noPermission`,
7016
+ `${ye}error_noPermission`,
6971
7017
  e.type,
6972
7018
  "action"
6973
7019
  ), q ? v(q) : g && v(!1);
@@ -6981,7 +7027,7 @@ const be = "discussion_form_", qn = ({
6981
7027
  var q;
6982
7028
  if (A.preventDefault(), A.stopPropagation(), !l || !l.id || !t || F)
6983
7029
  return;
6984
- vt && clearTimeout(vt), b("submitting");
7030
+ bt && clearTimeout(bt), b("submitting");
6985
7031
  const U = window.location.pathname;
6986
7032
  try {
6987
7033
  let Q;
@@ -7011,28 +7057,28 @@ const be = "discussion_form_", qn = ({
7011
7057
  default:
7012
7058
  break;
7013
7059
  }
7014
- await _s(1e3), f.callback && await f.callback(Q), vt = setTimeout(() => {
7060
+ await _s(1e3), f.callback && await f.callback(Q), bt = setTimeout(() => {
7015
7061
  h(""), b("submitted");
7016
7062
  const X = new Event("discussionFormSubmitted");
7017
7063
  document.dispatchEvent(X), R();
7018
7064
  }, 500);
7019
7065
  } catch (Q) {
7020
7066
  const X = Q;
7021
- let le = `${be}error`;
7067
+ let le = `${ye}error`;
7022
7068
  X != null && X.message.includes("entry already exists") && (le = Ce(
7023
7069
  u.formatMessage,
7024
- `${be}error_alreadyExists`,
7070
+ `${ye}error_alreadyExists`,
7025
7071
  e.type,
7026
7072
  "action"
7027
7073
  )), X != null && X.message.includes("429") ? le = Ce(
7028
7074
  u.formatMessage,
7029
- `${be}error_tooMany`,
7075
+ `${ye}error_tooMany`,
7030
7076
  e.type,
7031
7077
  "action"
7032
- ) : X != null && X.message.includes("400") && (le = `${be}error`), v(le), R();
7078
+ ) : X != null && X.message.includes("400") && (le = `${ye}error`), v(le), R();
7033
7079
  }
7034
7080
  }, R = () => {
7035
- vt = setTimeout(() => {
7081
+ bt = setTimeout(() => {
7036
7082
  v(!1), b(!1);
7037
7083
  }, 5e3);
7038
7084
  }, F = !m || !ks(m), V = _ === "submitting", N = [];
@@ -7044,7 +7090,7 @@ const be = "discussion_form_", qn = ({
7044
7090
  "data-gtm-event-context": d,
7045
7091
  "data-gtm-event-type": `cancel-${e.type}-click`,
7046
7092
  disabled: !o.cancel && (!l || !l.id || !m),
7047
- children: u.formatMessage({ id: `${be}cancel` })
7093
+ children: u.formatMessage({ id: `${ye}cancel` })
7048
7094
  }), N.push({
7049
7095
  variant: "primary",
7050
7096
  size: { mobile: "small", 600: "medium" },
@@ -7063,7 +7109,7 @@ const be = "discussion_form_", qn = ({
7063
7109
  "data-testid": "save-button",
7064
7110
  disabled: !l || !l.id || !t || F || V || n.isEditing && m === n.isEditing.text,
7065
7111
  children: u.formatMessage({
7066
- id: `${be}${V ? n.isEditing ? "saving" : "posting" : n.isEditing ? "save" : "post"}`
7112
+ id: `${ye}${V ? n.isEditing ? "saving" : "posting" : n.isEditing ? "save" : "post"}`
7067
7113
  })
7068
7114
  }), /* @__PURE__ */ a.jsxs(
7069
7115
  "form",
@@ -7074,16 +7120,16 @@ const be = "discussion_form_", qn = ({
7074
7120
  }),
7075
7121
  "data-testid": `discussion-${e.type}-form`,
7076
7122
  children: [
7077
- (n == null ? void 0 : n.showTitle) && !n.isEditing && ["question"].includes(e.type) && /* @__PURE__ */ a.jsx("h2", { children: Ce(u.formatMessage, `${be}title`, e.type, "action") }),
7123
+ (n == null ? void 0 : n.showTitle) && !n.isEditing && ["question"].includes(e.type) && /* @__PURE__ */ a.jsx("h2", { children: Ce(u.formatMessage, `${ye}title`, e.type, "action") }),
7078
7124
  /* @__PURE__ */ a.jsx(
7079
- Fn,
7125
+ Ln,
7080
7126
  {
7081
7127
  member: l || "community",
7082
7128
  gtmContext: d,
7083
7129
  gtmType: "profile-click"
7084
7130
  }
7085
7131
  ),
7086
- /* @__PURE__ */ a.jsx(_e, { element: "label", showOnFocus: !1, htmlFor: `${w}-input`, children: Ce(u.formatMessage, `${be}label`, e.type, "action") }),
7132
+ /* @__PURE__ */ a.jsx(_e, { element: "label", showOnFocus: !1, htmlFor: `${w}-input`, children: Ce(u.formatMessage, `${ye}label`, e.type, "action") }),
7087
7133
  /* @__PURE__ */ a.jsx(
7088
7134
  rs,
7089
7135
  {
@@ -7092,7 +7138,7 @@ const be = "discussion_form_", qn = ({
7092
7138
  name: e.type,
7093
7139
  placeholder: s || Ce(
7094
7140
  u.formatMessage,
7095
- `${be}placeholder`,
7141
+ `${ye}placeholder`,
7096
7142
  e.type,
7097
7143
  "action"
7098
7144
  ),
@@ -7105,7 +7151,7 @@ const be = "discussion_form_", qn = ({
7105
7151
  autoFocus: !!n.isEditing
7106
7152
  }
7107
7153
  ),
7108
- /* @__PURE__ */ a.jsx("small", { children: Ce(u.formatMessage, `${be}explainer`, e.type, "action", {
7154
+ /* @__PURE__ */ a.jsx("small", { children: Ce(u.formatMessage, `${ye}explainer`, e.type, "action", {
7109
7155
  a: (A) => /* @__PURE__ */ a.jsx(
7110
7156
  "a",
7111
7157
  {
@@ -7120,7 +7166,7 @@ const be = "discussion_form_", qn = ({
7120
7166
  )
7121
7167
  }) }),
7122
7168
  /* @__PURE__ */ a.jsx(Nt, { buttons: N }),
7123
- _ === "submitted" && n.showSuccessMessage && /* @__PURE__ */ a.jsx(yn, { className: "success", "data-testid": "success", children: Ce(u.formatMessage, `${be}success`, e.type, "action") }),
7169
+ _ === "submitted" && n.showSuccessMessage && /* @__PURE__ */ a.jsx(yn, { className: "success", "data-testid": "success", children: Ce(u.formatMessage, `${ye}success`, e.type, "action") }),
7124
7170
  g && /* @__PURE__ */ a.jsx(yn, { id: "error-message", className: "error", "data-testid": "error", children: o.error ? o.error : typeof g == "string" ? g.includes(" ") ? g : u.formatMessage(
7125
7171
  { id: g },
7126
7172
  {
@@ -7139,7 +7185,7 @@ const be = "discussion_form_", qn = ({
7139
7185
  }) => {
7140
7186
  if (n && !t)
7141
7187
  return /* @__PURE__ */ a.jsx(
7142
- Ve,
7188
+ Ge,
7143
7189
  {
7144
7190
  text: i,
7145
7191
  button: {
@@ -7150,7 +7196,7 @@ const be = "discussion_form_", qn = ({
7150
7196
  );
7151
7197
  const { content: c, functions: o, meta: f, ...d } = e;
7152
7198
  return /* @__PURE__ */ a.jsx(
7153
- qn,
7199
+ zn,
7154
7200
  {
7155
7201
  content: { type: (c == null ? void 0 : c.type) || "reply", slugs: (c == null ? void 0 : c.slugs) || {} },
7156
7202
  functions: { ...o, create: (o == null ? void 0 : o.create) || (() => {
@@ -7159,14 +7205,14 @@ const be = "discussion_form_", qn = ({
7159
7205
  ...d
7160
7206
  }
7161
7207
  );
7162
- }, uo = {
7208
+ }, mo = {
7163
7209
  showForm: !1
7164
- }, zn = $n(uo), fo = ({ children: e }) => {
7210
+ }, Zn = $n(mo), po = ({ children: e }) => {
7165
7211
  const [t, n] = J({
7166
7212
  showForm: !1
7167
7213
  });
7168
- return /* @__PURE__ */ a.jsx(zn.Provider, { value: { ...t, updateConversation: n }, children: e });
7169
- }, mo = ({
7214
+ return /* @__PURE__ */ a.jsx(Zn.Provider, { value: { ...t, updateConversation: n }, children: e });
7215
+ }, ho = ({
7170
7216
  question: e,
7171
7217
  answer: t,
7172
7218
  reply: n
@@ -7174,11 +7220,11 @@ const be = "discussion_form_", qn = ({
7174
7220
  ...e && { questionSlug: e },
7175
7221
  ...t && { answerSlug: t },
7176
7222
  ...n && { replySlug: n }
7177
- }), po = (e, t = 10) => !e || e.length === 0 ? [] : e.slice(0, t);
7178
- let tt = !1;
7223
+ }), go = (e, t = 10) => !e || e.length === 0 ? [] : e.slice(0, t);
7224
+ let rt = !1;
7179
7225
  const un = () => {
7180
- tt !== !1 && (clearTimeout(tt), tt = !1);
7181
- }, fn = 5, ho = ({
7226
+ rt !== !1 && (clearTimeout(rt), rt = !1);
7227
+ }, fn = 5, _o = ({
7182
7228
  element: e = "div",
7183
7229
  likes: t = 0,
7184
7230
  peopleWhoLiked: n = !1,
@@ -7194,15 +7240,15 @@ const un = () => {
7194
7240
  ie(() => {
7195
7241
  h(s);
7196
7242
  }, [s]);
7197
- const [u, l] = J(t), [m, h] = J(s), [g, v] = J(!1), [_, b] = J(!1), y = st(
7198
- () => po(n, fn),
7243
+ const [u, l] = J(t), [m, h] = J(s), [g, v] = J(!1), [_, b] = J(!1), y = ot(
7244
+ () => go(n, fn),
7199
7245
  [n]
7200
7246
  ), j = (x) => {
7201
- if (x.preventDefault(), x.stopPropagation(), b(!1), tt)
7247
+ if (x.preventDefault(), x.stopPropagation(), b(!1), rt)
7202
7248
  return un(), !1;
7203
7249
  if (un(), g || !c)
7204
7250
  return !1;
7205
- tt = setTimeout(w, 350);
7251
+ rt = setTimeout(w, 350);
7206
7252
  }, w = async () => {
7207
7253
  if (un(), g || !c)
7208
7254
  return !1;
@@ -7210,7 +7256,7 @@ const un = () => {
7210
7256
  x < 0 && (x = 0), v(!0), l(x), h(!m);
7211
7257
  try {
7212
7258
  if (i && i.slugs) {
7213
- const R = mo(i.slugs);
7259
+ const R = ho(i.slugs);
7214
7260
  m ? await f(R) : await o(R, { contentPath: window.location.pathname });
7215
7261
  }
7216
7262
  } catch {
@@ -7277,7 +7323,7 @@ const un = () => {
7277
7323
  ),
7278
7324
  n && /* @__PURE__ */ a.jsx(Ss, { isOpen: _, isLoading: n.length === 0, children: n.length && /* @__PURE__ */ a.jsxs("ul", { children: [
7279
7325
  y.map((x) => typeof x == "string" || !x.name ? null : /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(
7280
- ot,
7326
+ lt,
7281
7327
  {
7282
7328
  href: x.id ? `/profiles/${x.id}` : void 0,
7283
7329
  gtmContext: "Likes",
@@ -7293,11 +7339,11 @@ const un = () => {
7293
7339
  ] }) })
7294
7340
  ] })
7295
7341
  });
7296
- }, Sr = (e) => {
7342
+ }, Cr = (e) => {
7297
7343
  const t = {};
7298
7344
  return Object.keys(e).forEach((n) => n.includes("Id") ? t[n] = e[n] : t[`${n}Slug`] = e[n]), t;
7299
7345
  }, Ft = (e, t) => e && !t;
7300
- const Re = "discussion_", go = 280, Lt = ({
7346
+ const Re = "discussion_", vo = 280, Lt = ({
7301
7347
  element: e = "div",
7302
7348
  content: t,
7303
7349
  userHasPermissions: n = !0,
@@ -7327,7 +7373,7 @@ const Re = "discussion_", go = 280, Lt = ({
7327
7373
  children: v,
7328
7374
  isTruncated: _ = !1
7329
7375
  }) => {
7330
- const b = W(), y = $e(Ae), j = $e(zn), { author: w, canLike: x, createdAt: R, id: F, likes: V = 0, userLiked: N, comments: O = 0 } = t, P = y && y.id && typeof w != "string" && w.id && w.id === y.id || !1, ee = typeof x == "boolean" ? x : n ? !P : !1, A = P && (!t.createdAt || gs(t.createdAt, 10, "seconds")), U = me(null), [q, Q] = J({
7376
+ const b = W(), y = $e(Oe), j = $e(Zn), { author: w, canLike: x, createdAt: R, id: F, likes: V = 0, userLiked: N, comments: O = 0 } = t, P = y && y.id && typeof w != "string" && w.id && w.id === y.id || !1, ee = typeof x == "boolean" ? x : n ? !P : !1, A = P && (!t.createdAt || gs(t.createdAt, 10, "seconds")), U = me(null), [q, Q] = J({
7331
7377
  body: t && t.body || "",
7332
7378
  isEditing: !1,
7333
7379
  didEdit: t && t.isEdited || !1
@@ -7359,13 +7405,13 @@ const Re = "discussion_", go = 280, Lt = ({
7359
7405
  C === "background-color" && k((ne) => (ne === "default" && (document.removeEventListener("discussionFormSubmitted", L), U.current && U.current.removeEventListener("transitionend", D)), ne === "fading" ? "default" : ne));
7360
7406
  };
7361
7407
  if (r || !t || t.type === "answer" && (!t.slugs || !t.slugs.question))
7362
- return /* @__PURE__ */ a.jsx(Te, { className: "discussion-card discussion-post" });
7363
- const Y = _ ? He(q.body, go) : q.body, Z = async (C) => {
7408
+ return /* @__PURE__ */ a.jsx(Ee, { className: "discussion-card discussion-post" });
7409
+ const Y = _ ? He(q.body, vo) : q.body, Z = async (C) => {
7364
7410
  C || (C = ""), B("");
7365
7411
  try {
7366
7412
  if (!as(C, q.body)) {
7367
7413
  const ne = t.type === "question" ? { title: C } : { body: C };
7368
- await f(Sr(t.slugs), ne);
7414
+ await f(Cr(t.slugs), ne);
7369
7415
  }
7370
7416
  Q({ body: C, isEditing: !1, didEdit: !0 });
7371
7417
  } catch {
@@ -7373,14 +7419,14 @@ const Re = "discussion_", go = 280, Lt = ({
7373
7419
  }
7374
7420
  }, I = () => {
7375
7421
  j && j.updateConversation && j.updateConversation({ showForm: !0 }), setTimeout(() => {
7376
- var Pe, Ee, De;
7377
- const ne = `reply-form-${(t.type === "answer" ? t.slug : ((Pe = t.slugs) == null ? void 0 : Pe.reply) || ((Ee = t.slugs) == null ? void 0 : Ee.answer) || ((De = t.slugs) == null ? void 0 : De.question) || "").toLowerCase().slice(-15)}`, $ = document.getElementById(ne), ge = document.getElementById(`${ne}-input`);
7422
+ var Pe, Se, Ie;
7423
+ const ne = `reply-form-${(t.type === "answer" ? t.slug : ((Pe = t.slugs) == null ? void 0 : Pe.reply) || ((Se = t.slugs) == null ? void 0 : Se.answer) || ((Ie = t.slugs) == null ? void 0 : Ie.question) || "").toLowerCase().slice(-15)}`, $ = document.getElementById(ne), ge = document.getElementById(`${ne}-input`);
7378
7424
  ge && ge.focus(), $ && $.scrollIntoView({ behavior: "smooth" });
7379
7425
  }, 0);
7380
7426
  }, H = () => {
7381
7427
  le(!1);
7382
7428
  try {
7383
- o(Sr(t.slugs));
7429
+ o(Cr(t.slugs));
7384
7430
  } catch {
7385
7431
  B("delete-error");
7386
7432
  }
@@ -7423,7 +7469,7 @@ const Re = "discussion_", go = 280, Lt = ({
7423
7469
  className: "gtm-trackable",
7424
7470
  "data-gtm-event-context": g,
7425
7471
  "data-gtm-event-type": `delete-${t.type}-click`,
7426
- ...io(`delete-${t.slug}-modal`, X)
7472
+ ...co(`delete-${t.slug}-modal`, X)
7427
7473
  }
7428
7474
  ), z.createElement(e, {
7429
7475
  className: E("discussion-post", h, {
@@ -7445,7 +7491,7 @@ const Re = "discussion_", go = 280, Lt = ({
7445
7491
  },
7446
7492
  children: [
7447
7493
  !q.isEditing && /* @__PURE__ */ a.jsx(
7448
- Fn,
7494
+ Ln,
7449
7495
  {
7450
7496
  member: w,
7451
7497
  additionalContent: { createdAt: R, didEdit: q.didEdit },
@@ -7455,7 +7501,7 @@ const Re = "discussion_", go = 280, Lt = ({
7455
7501
  }
7456
7502
  ),
7457
7503
  q.isEditing ? /* @__PURE__ */ a.jsx(
7458
- qn,
7504
+ zn,
7459
7505
  {
7460
7506
  content: { type: t.type, slugs: t.slugs },
7461
7507
  userHasPermissions: n,
@@ -7491,7 +7537,7 @@ const Re = "discussion_", go = 280, Lt = ({
7491
7537
  className: "gtm-trackable",
7492
7538
  "data-gtm-event-context": g,
7493
7539
  "data-gtm-event-type": "title-click",
7494
- children: /* @__PURE__ */ a.jsx(bn, { options: { overrides: { a: Zs } }, children: Y })
7540
+ children: /* @__PURE__ */ a.jsx(bn, { options: { overrides: { a: Us } }, children: Y })
7495
7541
  }
7496
7542
  ) : /* @__PURE__ */ a.jsx(
7497
7543
  bn,
@@ -7512,7 +7558,7 @@ const Re = "discussion_", go = 280, Lt = ({
7512
7558
  "data-testid": `${t.type}-actions`,
7513
7559
  children: [
7514
7560
  /* @__PURE__ */ a.jsx(
7515
- ho,
7561
+ _o,
7516
7562
  {
7517
7563
  element: "li",
7518
7564
  likes: V,
@@ -7571,7 +7617,7 @@ const Re = "discussion_", go = 280, Lt = ({
7571
7617
  }
7572
7618
  ) }),
7573
7619
  /* @__PURE__ */ a.jsx(
7574
- ii,
7620
+ ci,
7575
7621
  {
7576
7622
  element: "li",
7577
7623
  id: `more-${t.slug}`,
@@ -7621,7 +7667,7 @@ const Re = "discussion_", go = 280, Lt = ({
7621
7667
  ],
7622
7668
  gtmContext: `${t.type.charAt(0).toUpperCase()}${t.type.slice(1)}:${t.slug}`,
7623
7669
  children: /* @__PURE__ */ a.jsx(
7624
- xe,
7670
+ we,
7625
7671
  {
7626
7672
  id: "discussion_delete_text",
7627
7673
  values: {
@@ -7637,7 +7683,7 @@ const Re = "discussion_", go = 280, Lt = ({
7637
7683
  ] })
7638
7684
  });
7639
7685
  };
7640
- const mn = "discussion_responses_", _o = ({ type: e = "answer", responses: t = 0 }) => {
7686
+ const mn = "discussion_responses_", bo = ({ type: e = "answer", responses: t = 0 }) => {
7641
7687
  const n = W();
7642
7688
  return t = parseInt(t), /* @__PURE__ */ a.jsxs("div", { className: "responses-heading", children: [
7643
7689
  /* @__PURE__ */ a.jsx("h4", { children: n.formatMessage(
@@ -7647,7 +7693,7 @@ const mn = "discussion_responses_", _o = ({ type: e = "answer", responses: t = 0
7647
7693
  t === 0 && /* @__PURE__ */ a.jsx("p", { children: Ce(n.formatMessage, `${mn}empty`, e, e) })
7648
7694
  ] });
7649
7695
  };
7650
- const vo = ({
7696
+ const yo = ({
7651
7697
  loadMore: { isLoading: e, hasNextPage: t, loadNextPage: n } = {
7652
7698
  isLoading: !1,
7653
7699
  hasNextPage: !1,
@@ -7657,7 +7703,7 @@ const vo = ({
7657
7703
  form: r,
7658
7704
  children: s
7659
7705
  }) => {
7660
- const i = W(), c = $e(zn), o = xt(s, {
7706
+ const i = W(), c = $e(Zn), o = wt(s, {
7661
7707
  element: "li"
7662
7708
  });
7663
7709
  return /* @__PURE__ */ a.jsxs("div", { className: "thread-wrapper", children: [
@@ -7676,16 +7722,16 @@ const vo = ({
7676
7722
  }
7677
7723
  }
7678
7724
  ),
7679
- r && c.showForm && /* @__PURE__ */ a.jsx(qn, { ...r })
7725
+ r && c.showForm && /* @__PURE__ */ a.jsx(zn, { ...r })
7680
7726
  ] });
7681
- }, bo = "post", yo = "reply", _a = "00000000-0000-0000-0000-000000000000";
7682
- function Zn({ queryClient: e, queryKey: t }) {
7727
+ }, xo = "post", wo = "reply", _a = "00000000-0000-0000-0000-000000000000";
7728
+ function Un({ queryClient: e, queryKey: t }) {
7683
7729
  function n(r, s, i) {
7684
7730
  e.setQueryData(t, i);
7685
7731
  }
7686
7732
  return n;
7687
7733
  }
7688
- function Un({ queryClient: e, queryKey: t }) {
7734
+ function Hn({ queryClient: e, queryKey: t }) {
7689
7735
  async function n(r) {
7690
7736
  await e.cancelQueries({ queryKey: t });
7691
7737
  const s = e.getQueryData(t);
@@ -7693,7 +7739,7 @@ function Un({ queryClient: e, queryKey: t }) {
7693
7739
  }
7694
7740
  return n;
7695
7741
  }
7696
- function xo() {
7742
+ function jo() {
7697
7743
  return {
7698
7744
  latest_reactions: {
7699
7745
  like: [],
@@ -7709,7 +7755,7 @@ function xo() {
7709
7755
  }
7710
7756
  };
7711
7757
  }
7712
- function wo() {
7758
+ function ko() {
7713
7759
  return {
7714
7760
  latest_children: {
7715
7761
  like: [],
@@ -7737,22 +7783,22 @@ function va(e) {
7737
7783
  }
7738
7784
  };
7739
7785
  }
7740
- function jo({ content: e }) {
7786
+ function To({ content: e }) {
7741
7787
  return {
7742
7788
  content: e,
7743
7789
  id: _a,
7744
7790
  time: (/* @__PURE__ */ new Date()).toISOString(),
7745
- verb: bo
7791
+ verb: xo
7746
7792
  };
7747
7793
  }
7748
- function Cr({ activity: e, user: t }) {
7794
+ function $r({ activity: e, user: t }) {
7749
7795
  return {
7750
7796
  ...e,
7751
7797
  actor: va(t),
7752
- ...xo()
7798
+ ...jo()
7753
7799
  };
7754
7800
  }
7755
- function $t({ activity: e, reaction: t }) {
7801
+ function Pt({ activity: e, reaction: t }) {
7756
7802
  var n, r, s;
7757
7803
  t ? (e.latest_reactions = {
7758
7804
  ...e.latest_reactions || {},
@@ -7778,27 +7824,27 @@ function ba({ activity: e, user: t }) {
7778
7824
  like: (((s = e.own_reactions) == null ? void 0 : s.like) || []).filter(({ user_id: i }) => i !== t.id)
7779
7825
  });
7780
7826
  }
7781
- function ko({ activityId: e, replyId: t, content: n }) {
7827
+ function Eo({ activityId: e, replyId: t, content: n }) {
7782
7828
  return {
7783
7829
  activity_id: e,
7784
7830
  data: {
7785
7831
  content: n
7786
7832
  },
7787
7833
  id: _a,
7788
- kind: yo,
7834
+ kind: wo,
7789
7835
  parent: t || ""
7790
7836
  };
7791
7837
  }
7792
- function $r({ reply: e, user: t }) {
7838
+ function Pr({ reply: e, user: t }) {
7793
7839
  const n = va(t);
7794
7840
  return {
7795
7841
  ...e,
7796
7842
  user_id: n.id,
7797
7843
  user: n,
7798
- ...wo()
7844
+ ...ko()
7799
7845
  };
7800
7846
  }
7801
- function Pr({ reply: e, reaction: t }) {
7847
+ function Mr({ reply: e, reaction: t }) {
7802
7848
  var n, r, s;
7803
7849
  t ? (e.latest_children = {
7804
7850
  ...e.latest_children || {},
@@ -7811,7 +7857,7 @@ function Pr({ reply: e, reaction: t }) {
7811
7857
  like: (n = e.children_counts) != null && n.like ? e.children_counts.like + 1 : 1
7812
7858
  };
7813
7859
  }
7814
- function To({ reply: e, user: t }) {
7860
+ function So({ reply: e, user: t }) {
7815
7861
  var n, r, s;
7816
7862
  e.children_counts = {
7817
7863
  ...e.children_counts || {},
@@ -7830,7 +7876,7 @@ const ya = (e) => {
7830
7876
  });
7831
7877
  document.dispatchEvent(t);
7832
7878
  };
7833
- let Mr, pn = 0;
7879
+ let Rr, pn = 0;
7834
7880
  const xa = () => {
7835
7881
  ie(() => (document.addEventListener("discussionPostAdded", e), () => {
7836
7882
  document.removeEventListener(
@@ -7842,13 +7888,13 @@ const xa = () => {
7842
7888
  const n = t.detail;
7843
7889
  if (!n)
7844
7890
  return;
7845
- clearTimeout(Mr);
7891
+ clearTimeout(Rr);
7846
7892
  const r = document.getElementById(n);
7847
7893
  if (r) {
7848
7894
  r.scrollIntoView({ behavior: "smooth", block: "start" }), pn = 0;
7849
7895
  return;
7850
7896
  }
7851
- pn++, !(pn > 10) && (Mr = setTimeout(() => {
7897
+ pn++, !(pn > 10) && (Rr = setTimeout(() => {
7852
7898
  e(t);
7853
7899
  }, 50));
7854
7900
  };
@@ -7861,7 +7907,7 @@ const xa = () => {
7861
7907
  thumbnail: "https://some-user-thumbnail.com/avatar1.png"
7862
7908
  },
7863
7909
  isLoading: !1
7864
- }), Le = Object.freeze({
7910
+ }), De = Object.freeze({
7865
7911
  id: "some-user-id-2",
7866
7912
  name: "some user name 2",
7867
7913
  organization: "some user organization 2",
@@ -7880,8 +7926,8 @@ const xa = () => {
7880
7926
  object: "comment",
7881
7927
  time: "2023-11-24T17:52:36.162000",
7882
7928
  verb: "post"
7883
- }), Eo = Object.freeze({
7884
- actor: `SU:${Le.id}`,
7929
+ }), Co = Object.freeze({
7930
+ actor: `SU:${De.id}`,
7885
7931
  content: "some content 2",
7886
7932
  duration: "5.53ms",
7887
7933
  feed_id: "some-feed-id-2",
@@ -7890,7 +7936,7 @@ const xa = () => {
7890
7936
  object: "comment",
7891
7937
  time: "2023-11-24T17:54:36.162000",
7892
7938
  verb: "post"
7893
- }), So = Object.freeze({
7939
+ }), $o = Object.freeze({
7894
7940
  actor: `SU:${We.id}`,
7895
7941
  content: "some content 3",
7896
7942
  duration: "5.53ms",
@@ -7900,8 +7946,8 @@ const xa = () => {
7900
7946
  object: "comment",
7901
7947
  time: "2023-11-24T17:56:36.162000",
7902
7948
  verb: "post"
7903
- }), Co = Object.freeze({
7904
- actor: `SU:${Le.id}`,
7949
+ }), Po = Object.freeze({
7950
+ actor: `SU:${De.id}`,
7905
7951
  content: "some content 4",
7906
7952
  duration: "5.53ms",
7907
7953
  feed_id: "some-feed-id-4",
@@ -7919,13 +7965,13 @@ Object.freeze({
7919
7965
  data: {},
7920
7966
  parent: "",
7921
7967
  updated_at: "2023-11-24T17:58:36.162000",
7922
- user_id: Le.id,
7968
+ user_id: De.id,
7923
7969
  children_counts: {},
7924
7970
  latest_children: {},
7925
7971
  latest_children_extra: {},
7926
7972
  own_children: {},
7927
7973
  user: {
7928
- id: Le.id,
7974
+ id: De.id,
7929
7975
  data: {},
7930
7976
  created_at: "2023-11-24T17:58:36.162000",
7931
7977
  updated_at: "2023-11-24T17:58:36.162000"
@@ -7935,9 +7981,9 @@ Object.freeze({
7935
7981
  created_at: "2023-12-03T21:53:45.999851Z",
7936
7982
  updated_at: "2023-12-03T21:53:45.999851Z",
7937
7983
  id: "some-reply-id-1",
7938
- user_id: Le.id,
7984
+ user_id: De.id,
7939
7985
  user: {
7940
- id: Le.id,
7986
+ id: De.id,
7941
7987
  data: {},
7942
7988
  created_at: "2023-08-31T07:11:38.677184Z",
7943
7989
  updated_at: "2023-08-31T07:11:38.677184Z"
@@ -7963,7 +8009,7 @@ Object.freeze({
7963
8009
  updated_at: "2023-08-31T07:11:38.677184Z"
7964
8010
  },
7965
8011
  kind: "reply",
7966
- activity_id: Eo.id,
8012
+ activity_id: Co.id,
7967
8013
  data: {
7968
8014
  content: "Some content 2..."
7969
8015
  },
@@ -7975,15 +8021,15 @@ Object.freeze({
7975
8021
  created_at: "2023-12-03T21:53:45.999851Z",
7976
8022
  updated_at: "2023-12-03T21:53:45.999851Z",
7977
8023
  id: "some-reply-id-3",
7978
- user_id: Le.id,
8024
+ user_id: De.id,
7979
8025
  user: {
7980
- id: Le.id,
8026
+ id: De.id,
7981
8027
  data: {},
7982
8028
  created_at: "2023-08-31T07:11:38.677184Z",
7983
8029
  updated_at: "2023-08-31T07:11:38.677184Z"
7984
8030
  },
7985
8031
  kind: "reply",
7986
- activity_id: So.id,
8032
+ activity_id: $o.id,
7987
8033
  data: {
7988
8034
  content: "Some content 3..."
7989
8035
  },
@@ -8003,7 +8049,7 @@ Object.freeze({
8003
8049
  updated_at: "2023-08-31T07:11:38.677184Z"
8004
8050
  },
8005
8051
  kind: "reply",
8006
- activity_id: Co.id,
8052
+ activity_id: Po.id,
8007
8053
  data: {
8008
8054
  content: "Some content 4..."
8009
8055
  },
@@ -8011,47 +8057,47 @@ Object.freeze({
8011
8057
  latest_children: {},
8012
8058
  children_counts: {}
8013
8059
  });
8014
- function $o({
8060
+ function Mo({
8015
8061
  mutationFn: e,
8016
8062
  mutationHandlers: { mutate: t, error: n },
8017
8063
  queryClient: r,
8018
8064
  queryKey: s,
8019
8065
  user: i
8020
8066
  }) {
8021
- const { mutate: c } = we({
8067
+ const { mutate: c } = je({
8022
8068
  mutationFn: e,
8023
8069
  onMutate: (o) => t((f) => {
8024
- const d = Cr({ activity: jo(o), user: i });
8025
- return Rr(d, f);
8070
+ const d = $r({ activity: To(o), user: i });
8071
+ return Nr(d, f);
8026
8072
  }),
8027
8073
  onError: n,
8028
8074
  onSuccess: (o, f, d) => {
8029
- const u = Cr({ activity: o, user: i });
8030
- r.setQueryData(s, Rr(u, d, !0)), setTimeout(() => {
8075
+ const u = $r({ activity: o, user: i });
8076
+ r.setQueryData(s, Nr(u, d, !0)), setTimeout(() => {
8031
8077
  ya(u.id);
8032
8078
  }, 0);
8033
8079
  }
8034
8080
  });
8035
8081
  return c;
8036
8082
  }
8037
- function Po({
8083
+ function Ro({
8038
8084
  mutationFn: e,
8039
8085
  mutationHandlers: {
8040
8086
  mutate: t,
8041
8087
  error: n
8042
8088
  }
8043
8089
  }) {
8044
- const { mutate: r } = we({
8090
+ const { mutate: r } = je({
8045
8091
  mutationFn: e,
8046
8092
  onMutate: ({ activityId: s, content: i }) => t((c) => {
8047
- const o = Pt(s, c);
8093
+ const o = Mt(s, c);
8048
8094
  return o && (o.content = i), c;
8049
8095
  }),
8050
8096
  onError: n
8051
8097
  });
8052
8098
  return r;
8053
8099
  }
8054
- function Mo({
8100
+ function No({
8055
8101
  queryFns: {
8056
8102
  create: e,
8057
8103
  edit: t,
@@ -8062,14 +8108,14 @@ function Mo({
8062
8108
  },
8063
8109
  queryKey: c
8064
8110
  }) {
8065
- const o = Mn(), f = On(), d = { queryClient: o, queryKey: c }, u = {
8111
+ const o = Mn(), f = Fn(), d = { queryClient: o, queryKey: c }, u = {
8066
8112
  mutationHandlers: {
8067
- error: Zn(d),
8068
- mutate: Un(d)
8113
+ error: Un(d),
8114
+ mutate: Hn(d)
8069
8115
  },
8070
8116
  user: f,
8071
8117
  ...d
8072
- }, l = $o({ ...u, mutationFn: e }), m = Po({ ...u, mutationFn: t }), h = Ro({ ...u, mutationFn: n }), g = Ao({ ...u, mutationFn: s }), v = Oo({ ...u, mutationFn: i }), { activities: _, ...b } = No({ queryKey: c, queryFn: r });
8118
+ }, l = Mo({ ...u, mutationFn: e }), m = Ro({ ...u, mutationFn: t }), h = Ao({ ...u, mutationFn: n }), g = Fo({ ...u, mutationFn: s }), v = Lo({ ...u, mutationFn: i }), { activities: _, ...b } = Oo({ queryKey: c, queryFn: r });
8073
8119
  return {
8074
8120
  activities: _,
8075
8121
  mutations: {
@@ -8083,7 +8129,7 @@ function Mo({
8083
8129
  ...b
8084
8130
  };
8085
8131
  }
8086
- function Ro({
8132
+ function Ao({
8087
8133
  mutationFn: e,
8088
8134
  mutationHandlers: {
8089
8135
  mutate: t,
@@ -8092,56 +8138,56 @@ function Ro({
8092
8138
  queryClient: r,
8093
8139
  queryKey: s
8094
8140
  }) {
8095
- const { mutate: i } = we({
8141
+ const { mutate: i } = je({
8096
8142
  mutationFn: e,
8097
8143
  onMutate: ({ activityId: c }) => t((o) => {
8098
- const f = Pt(c, o);
8099
- return f && $t({ activity: f }), o;
8144
+ const f = Mt(c, o);
8145
+ return f && Pt({ activity: f }), o;
8100
8146
  }),
8101
8147
  onError: n,
8102
8148
  onSuccess: (c, { activityId: o }, f) => {
8103
- const d = Pt(o, f);
8104
- d && $t({ activity: d, reaction: c }), r.setQueryData(s, f);
8149
+ const d = Mt(o, f);
8150
+ d && Pt({ activity: d, reaction: c }), r.setQueryData(s, f);
8105
8151
  }
8106
8152
  });
8107
8153
  return i;
8108
8154
  }
8109
- function No({ queryFn: e, queryKey: t }) {
8155
+ function Oo({ queryFn: e, queryKey: t }) {
8110
8156
  const {
8111
8157
  data: n,
8112
8158
  error: r,
8113
8159
  isLoading: s,
8114
8160
  hasNextPage: i,
8115
8161
  fetchNextPage: c
8116
- } = Fr({
8162
+ } = Lr({
8117
8163
  queryKey: t,
8118
8164
  queryFn: e,
8119
8165
  initialPageParam: { next: null },
8120
8166
  getNextPageParam: (o) => (o == null ? void 0 : o.next) || null
8121
8167
  });
8122
8168
  return {
8123
- activities: Lo(n),
8169
+ activities: Io(n),
8124
8170
  error: r,
8125
8171
  isLoading: s,
8126
8172
  hasNextPage: i,
8127
8173
  fetchNextPage: c
8128
8174
  };
8129
8175
  }
8130
- function Ao({
8176
+ function Fo({
8131
8177
  mutationFn: e,
8132
8178
  mutationHandlers: {
8133
8179
  mutate: t,
8134
8180
  error: n
8135
8181
  }
8136
8182
  }) {
8137
- const { mutate: r } = we({
8183
+ const { mutate: r } = je({
8138
8184
  mutationFn: e,
8139
- onMutate: ({ activityId: s }) => t((i) => Fo(s, i)),
8185
+ onMutate: ({ activityId: s }) => t((i) => Do(s, i)),
8140
8186
  onError: n
8141
8187
  });
8142
8188
  return r;
8143
8189
  }
8144
- function Oo({
8190
+ function Lo({
8145
8191
  mutationFn: e,
8146
8192
  mutationHandlers: {
8147
8193
  mutate: t,
@@ -8149,17 +8195,17 @@ function Oo({
8149
8195
  },
8150
8196
  user: r
8151
8197
  }) {
8152
- const { mutate: s } = we({
8198
+ const { mutate: s } = je({
8153
8199
  mutationFn: e,
8154
8200
  onMutate: ({ activityId: i }) => t((c) => {
8155
- const o = Pt(i, c);
8201
+ const o = Mt(i, c);
8156
8202
  return o && ba({ activity: o, user: r }), c;
8157
8203
  }),
8158
8204
  onError: n
8159
8205
  });
8160
8206
  return s;
8161
8207
  }
8162
- function Rr(e, t, n = !1) {
8208
+ function Nr(e, t, n = !1) {
8163
8209
  return t ? (n ? t.pages[0].results[0] = e : t.pages[0].results = [e, ...t.pages[0].results], t) : {
8164
8210
  pages: [{
8165
8211
  next: "",
@@ -8168,7 +8214,7 @@ function Rr(e, t, n = !1) {
8168
8214
  pageParams: [""]
8169
8215
  };
8170
8216
  }
8171
- function Pt(e, t) {
8217
+ function Mt(e, t) {
8172
8218
  if (t)
8173
8219
  for (const { results: n } of t.pages) {
8174
8220
  const r = n.find(({ id: s }) => s === e);
@@ -8176,7 +8222,7 @@ function Pt(e, t) {
8176
8222
  return r;
8177
8223
  }
8178
8224
  }
8179
- function Fo(e, t) {
8225
+ function Do(e, t) {
8180
8226
  for (const { results: n } of t.pages) {
8181
8227
  const r = n.findIndex(({ id: s }) => s === e);
8182
8228
  if (r !== -1) {
@@ -8186,11 +8232,11 @@ function Fo(e, t) {
8186
8232
  }
8187
8233
  return t;
8188
8234
  }
8189
- function Lo(e) {
8235
+ function Io(e) {
8190
8236
  var t;
8191
8237
  return ((t = e == null ? void 0 : e.pages) == null ? void 0 : t.reduce((n, { results: r }) => [...n, ...r], [])) || [];
8192
8238
  }
8193
- const Bc = ({
8239
+ const Uc = ({
8194
8240
  basePath: e,
8195
8241
  parentId: t,
8196
8242
  isMember: n,
@@ -8204,12 +8250,12 @@ const Bc = ({
8204
8250
  isLoading: l,
8205
8251
  mutations: { create: m, edit: h, remove: g, like: v, unlike: _ },
8206
8252
  user: b
8207
- } = Mo({
8253
+ } = No({
8208
8254
  queryKey: [e, t, "activities"],
8209
8255
  queryFns: r
8210
8256
  });
8211
8257
  if (xa(), f)
8212
- return /* @__PURE__ */ a.jsx(Ve, { variant: "error", text: f.message });
8258
+ return /* @__PURE__ */ a.jsx(Ge, { variant: "error", text: f.message });
8213
8259
  const y = (o == null ? void 0 : o.length) || 0;
8214
8260
  return /* @__PURE__ */ a.jsxs("section", { children: [
8215
8261
  /* @__PURE__ */ a.jsx(
@@ -8243,7 +8289,7 @@ const Bc = ({
8243
8289
  name: (Z = (Y = L == null ? void 0 : L.user) == null ? void 0 : Y.data) == null ? void 0 : Z.name
8244
8290
  };
8245
8291
  }) : !1, A = j == null ? void 0 : j.actor, U = (A == null ? void 0 : A.id) === (b == null ? void 0 : b.id);
8246
- return /* @__PURE__ */ a.jsxs(nt, { children: [
8292
+ return /* @__PURE__ */ a.jsxs(at, { children: [
8247
8293
  /* @__PURE__ */ a.jsx(
8248
8294
  Lt,
8249
8295
  {
@@ -8294,7 +8340,7 @@ const Bc = ({
8294
8340
  isTruncated: !0
8295
8341
  }
8296
8342
  ),
8297
- y > w + 1 && /* @__PURE__ */ a.jsx(Fe, {})
8343
+ y > w + 1 && /* @__PURE__ */ a.jsx(Le, {})
8298
8344
  ] }, x);
8299
8345
  }),
8300
8346
  !l && /* @__PURE__ */ a.jsx(
@@ -8310,7 +8356,7 @@ const Bc = ({
8310
8356
  }
8311
8357
  )
8312
8358
  ] });
8313
- }, qc = {
8359
+ }, Hc = {
8314
8360
  next: "id_lt=67ef0342-6f6e-4807-beea-5a9184ec140c&limit=5",
8315
8361
  results: [
8316
8362
  {
@@ -8862,28 +8908,28 @@ const Bc = ({
8862
8908
  ],
8863
8909
  duration: "6.48ms"
8864
8910
  };
8865
- function Do({
8911
+ function Bo({
8866
8912
  mutationFn: e,
8867
8913
  mutationHandlers: { mutate: t, error: n },
8868
8914
  queryClient: r,
8869
8915
  queryKey: s,
8870
8916
  user: i
8871
8917
  }) {
8872
- const { mutate: c } = we({
8918
+ const { mutate: c } = je({
8873
8919
  mutationFn: e,
8874
8920
  onMutate: (o) => t((f) => {
8875
- const d = $r({ reply: ko(o), user: i });
8876
- return Nr(d, f, {
8921
+ const d = Pr({ reply: Eo(o), user: i });
8922
+ return Ar(d, f, {
8877
8923
  replace: !1,
8878
8924
  append: (o == null ? void 0 : o.replyId) !== void 0
8879
8925
  });
8880
8926
  }),
8881
8927
  onError: n,
8882
8928
  onSuccess: (o, f, d) => {
8883
- const u = $r({ reply: o, user: i });
8929
+ const u = Pr({ reply: o, user: i });
8884
8930
  r.setQueryData(
8885
8931
  s,
8886
- Nr(u, d, { replace: !0, append: (f == null ? void 0 : f.replyId) !== void 0 })
8932
+ Ar(u, d, { replace: !0, append: (f == null ? void 0 : f.replyId) !== void 0 })
8887
8933
  ), setTimeout(() => {
8888
8934
  ya(u.id);
8889
8935
  }, 0);
@@ -8891,17 +8937,17 @@ function Do({
8891
8937
  });
8892
8938
  return c;
8893
8939
  }
8894
- function Io({
8940
+ function qo({
8895
8941
  mutationFn: e,
8896
8942
  mutationHandlers: {
8897
8943
  mutate: t,
8898
8944
  error: n
8899
8945
  }
8900
8946
  }) {
8901
- const { mutate: r } = we({
8947
+ const { mutate: r } = je({
8902
8948
  mutationFn: e,
8903
8949
  onMutate: ({ replyId: s, content: i }) => t((c) => {
8904
- const o = Mt(s, c);
8950
+ const o = Rt(s, c);
8905
8951
  return o && (o.data.content = i), c;
8906
8952
  }),
8907
8953
  onError: n
@@ -8919,14 +8965,14 @@ function ja({
8919
8965
  },
8920
8966
  queryKey: c
8921
8967
  }) {
8922
- const o = Mn(), f = On(), d = { queryClient: o, queryKey: c }, u = {
8968
+ const o = Mn(), f = Fn(), d = { queryClient: o, queryKey: c }, u = {
8923
8969
  mutationHandlers: {
8924
- error: Zn(d),
8925
- mutate: Un(d)
8970
+ error: Un(d),
8971
+ mutate: Hn(d)
8926
8972
  },
8927
8973
  user: f,
8928
8974
  ...d
8929
- }, l = Do({ ...u, mutationFn: e }), m = Io({ ...u, mutationFn: t }), h = Bo({ ...u, mutationFn: n }), g = zo({ ...u, mutationFn: s }), v = Zo({ ...u, mutationFn: i }), { replies: _, ...b } = qo({ queryKey: c, queryFn: r });
8975
+ }, l = Bo({ ...u, mutationFn: e }), m = qo({ ...u, mutationFn: t }), h = zo({ ...u, mutationFn: n }), g = Uo({ ...u, mutationFn: s }), v = Ho({ ...u, mutationFn: i }), { replies: _, ...b } = Zo({ queryKey: c, queryFn: r });
8930
8976
  return {
8931
8977
  replies: _,
8932
8978
  mutations: {
@@ -8940,7 +8986,7 @@ function ja({
8940
8986
  ...b
8941
8987
  };
8942
8988
  }
8943
- function Bo({
8989
+ function zo({
8944
8990
  mutationFn: e,
8945
8991
  mutationHandlers: {
8946
8992
  mutate: t,
@@ -8949,33 +8995,33 @@ function Bo({
8949
8995
  queryClient: r,
8950
8996
  queryKey: s
8951
8997
  }) {
8952
- const { mutate: i } = we({
8998
+ const { mutate: i } = je({
8953
8999
  mutationFn: e,
8954
9000
  onMutate: ({ replyId: c }) => t((o) => {
8955
- const f = Mt(c, o);
8956
- return f && Pr({ reply: f }), o;
9001
+ const f = Rt(c, o);
9002
+ return f && Mr({ reply: f }), o;
8957
9003
  }),
8958
9004
  onError: n,
8959
9005
  onSuccess: (c, { replyId: o }, f) => {
8960
- const d = Mt(o, f);
8961
- d && Pr({ reply: d, reaction: c }), r.setQueryData(s, f);
9006
+ const d = Rt(o, f);
9007
+ d && Mr({ reply: d, reaction: c }), r.setQueryData(s, f);
8962
9008
  }
8963
9009
  });
8964
9010
  return i;
8965
9011
  }
8966
- function qo({ queryFn: e, queryKey: t }) {
9012
+ function Zo({ queryFn: e, queryKey: t }) {
8967
9013
  const {
8968
9014
  data: n,
8969
9015
  error: r,
8970
9016
  isLoading: s,
8971
9017
  hasNextPage: i,
8972
9018
  fetchNextPage: c
8973
- } = Fr({
9019
+ } = Lr({
8974
9020
  queryKey: t,
8975
9021
  queryFn: e,
8976
9022
  initialPageParam: { next: "" },
8977
9023
  getNextPageParam: (d) => (d == null ? void 0 : d.next) || null
8978
- }), o = Yo(n), f = `${o.length || 0}${i ? "+" : ""}`;
9024
+ }), o = Ko(n), f = `${o.length || 0}${i ? "+" : ""}`;
8979
9025
  return {
8980
9026
  replies: o,
8981
9027
  repliesCount: f,
@@ -8985,21 +9031,21 @@ function qo({ queryFn: e, queryKey: t }) {
8985
9031
  fetchNextPage: c
8986
9032
  };
8987
9033
  }
8988
- function zo({
9034
+ function Uo({
8989
9035
  mutationFn: e,
8990
9036
  mutationHandlers: {
8991
9037
  mutate: t,
8992
9038
  error: n
8993
9039
  }
8994
9040
  }) {
8995
- const { mutate: r } = we({
9041
+ const { mutate: r } = je({
8996
9042
  mutationFn: e,
8997
- onMutate: ({ replyId: s }) => t((i) => Vo(s, i)),
9043
+ onMutate: ({ replyId: s }) => t((i) => Go(s, i)),
8998
9044
  onError: n
8999
9045
  });
9000
9046
  return r;
9001
9047
  }
9002
- function Zo({
9048
+ function Ho({
9003
9049
  mutationFn: e,
9004
9050
  mutationHandlers: {
9005
9051
  mutate: t,
@@ -9007,17 +9053,17 @@ function Zo({
9007
9053
  },
9008
9054
  user: r
9009
9055
  }) {
9010
- const { mutate: s } = we({
9056
+ const { mutate: s } = je({
9011
9057
  mutationFn: e,
9012
9058
  onMutate: ({ replyId: i }) => t((c) => {
9013
- const o = Mt(i, c);
9014
- return o && To({ reply: o, user: r }), c;
9059
+ const o = Rt(i, c);
9060
+ return o && So({ reply: o, user: r }), c;
9015
9061
  }),
9016
9062
  onError: n
9017
9063
  });
9018
9064
  return s;
9019
9065
  }
9020
- function Uo(e) {
9066
+ function Wo(e) {
9021
9067
  return {
9022
9068
  pages: [{
9023
9069
  next: "",
@@ -9026,17 +9072,17 @@ function Uo(e) {
9026
9072
  pageParams: [""]
9027
9073
  };
9028
9074
  }
9029
- function Ho(e, t, n) {
9075
+ function Vo(e, t, n) {
9030
9076
  const r = t.pages.length - 1, s = t.pages[r].results.length - 1;
9031
9077
  return n != null && n.replace ? t.pages[r].results[s] = e : t.pages[r].results.push(e), t;
9032
9078
  }
9033
- function Wo(e, t, n) {
9079
+ function Yo(e, t, n) {
9034
9080
  return n != null && n.replace ? t.pages[0].results[0] = e : t.pages[0].results = [e, ...t.pages[0].results], t;
9035
9081
  }
9036
- function Nr(e, t, n) {
9037
- return t ? n != null && n.append ? Ho(e, t, n) : Wo(e, t, n) : Uo(e);
9082
+ function Ar(e, t, n) {
9083
+ return t ? n != null && n.append ? Vo(e, t, n) : Yo(e, t, n) : Wo(e);
9038
9084
  }
9039
- function Mt(e, t) {
9085
+ function Rt(e, t) {
9040
9086
  if (t)
9041
9087
  for (const { results: n } of t.pages) {
9042
9088
  const r = n.find(({ id: s }) => s === e);
@@ -9044,7 +9090,7 @@ function Mt(e, t) {
9044
9090
  return r;
9045
9091
  }
9046
9092
  }
9047
- function Vo(e, t) {
9093
+ function Go(e, t) {
9048
9094
  for (const { results: n } of t.pages) {
9049
9095
  const r = n.findIndex(({ id: s }) => s === e);
9050
9096
  if (r !== -1) {
@@ -9054,11 +9100,11 @@ function Vo(e, t) {
9054
9100
  }
9055
9101
  return t;
9056
9102
  }
9057
- function Yo(e) {
9103
+ function Ko(e) {
9058
9104
  var t;
9059
9105
  return ((t = e == null ? void 0 : e.pages) == null ? void 0 : t.reduce((n, r) => [...n, ...r == null ? void 0 : r.results], [])) || [];
9060
9106
  }
9061
- const Go = ({
9107
+ const Qo = ({
9062
9108
  basePath: e,
9063
9109
  parentId: t,
9064
9110
  activityId: n,
@@ -9082,7 +9128,7 @@ const Go = ({
9082
9128
  }
9083
9129
  });
9084
9130
  return /* @__PURE__ */ a.jsx(
9085
- vo,
9131
+ yo,
9086
9132
  {
9087
9133
  loadMore: { isLoading: d, hasNextPage: f, loadNextPage: () => o() },
9088
9134
  form: {
@@ -9170,7 +9216,7 @@ const Go = ({
9170
9216
  }) : null
9171
9217
  }
9172
9218
  );
9173
- }, Ko = ({
9219
+ }, Jo = ({
9174
9220
  basePath: e,
9175
9221
  parentId: t,
9176
9222
  activityId: n,
@@ -9190,7 +9236,7 @@ const Go = ({
9190
9236
  queryFns: s
9191
9237
  });
9192
9238
  return ms(), xa(), /* @__PURE__ */ a.jsxs("section", { children: [
9193
- /* @__PURE__ */ a.jsx(_o, { type: "comment", responses: d }),
9239
+ /* @__PURE__ */ a.jsx(bo, { type: "comment", responses: d }),
9194
9240
  /* @__PURE__ */ a.jsx(
9195
9241
  ga,
9196
9242
  {
@@ -9227,7 +9273,7 @@ const Go = ({
9227
9273
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
9228
9274
  ((D = (L = j == null ? void 0 : j.data) == null ? void 0 : L.content) == null ? void 0 : D.text) || ""
9229
9275
  );
9230
- return /* @__PURE__ */ a.jsx(fo, { children: /* @__PURE__ */ a.jsx(
9276
+ return /* @__PURE__ */ a.jsx(po, { children: /* @__PURE__ */ a.jsx(
9231
9277
  Lt,
9232
9278
  {
9233
9279
  content: {
@@ -9270,7 +9316,7 @@ const Go = ({
9270
9316
  comments: {}
9271
9317
  },
9272
9318
  children: /* @__PURE__ */ a.jsx(
9273
- Go,
9319
+ Qo,
9274
9320
  {
9275
9321
  basePath: e,
9276
9322
  parentId: t,
@@ -9300,21 +9346,21 @@ const Go = ({
9300
9346
  )
9301
9347
  ] });
9302
9348
  };
9303
- function Qo({
9349
+ function Xo({
9304
9350
  mutationFn: e,
9305
9351
  mutationHandlers: {
9306
9352
  mutate: t,
9307
9353
  error: n
9308
9354
  }
9309
9355
  }) {
9310
- const { mutate: r } = we({
9356
+ const { mutate: r } = je({
9311
9357
  mutationFn: e,
9312
9358
  onMutate: ({ content: s }) => t((i) => (i && (i.content = s), i)),
9313
9359
  onError: n
9314
9360
  });
9315
9361
  return r;
9316
9362
  }
9317
- function Jo({ queryFn: e, queryKey: t }) {
9363
+ function ec({ queryFn: e, queryKey: t }) {
9318
9364
  const {
9319
9365
  data: n,
9320
9366
  error: r,
@@ -9331,7 +9377,7 @@ function Jo({ queryFn: e, queryKey: t }) {
9331
9377
  isFetching: i
9332
9378
  };
9333
9379
  }
9334
- function Xo({
9380
+ function tc({
9335
9381
  queryFns: {
9336
9382
  read: e,
9337
9383
  edit: t,
@@ -9340,14 +9386,14 @@ function Xo({
9340
9386
  },
9341
9387
  queryKey: s
9342
9388
  }) {
9343
- const i = Mn(), c = On(), o = { queryClient: i, queryKey: s }, f = {
9389
+ const i = Mn(), c = Fn(), o = { queryClient: i, queryKey: s }, f = {
9344
9390
  mutationHandlers: {
9345
- error: Zn(o),
9346
- mutate: Un(o)
9391
+ error: Un(o),
9392
+ mutate: Hn(o)
9347
9393
  },
9348
9394
  user: c,
9349
9395
  ...o
9350
- }, d = Qo({ ...f, mutationFn: t }), u = ec({ ...f, mutationFn: n }), l = tc({ ...f, mutationFn: r }), { activity: m, ...h } = Jo({ queryKey: s, queryFn: e });
9396
+ }, d = Xo({ ...f, mutationFn: t }), u = nc({ ...f, mutationFn: n }), l = rc({ ...f, mutationFn: r }), { activity: m, ...h } = ec({ queryKey: s, queryFn: e });
9351
9397
  return {
9352
9398
  activity: m,
9353
9399
  mutations: {
@@ -9359,7 +9405,7 @@ function Xo({
9359
9405
  ...h
9360
9406
  };
9361
9407
  }
9362
- function ec({
9408
+ function nc({
9363
9409
  mutationFn: e,
9364
9410
  mutationHandlers: {
9365
9411
  mutate: t,
@@ -9368,17 +9414,17 @@ function ec({
9368
9414
  queryClient: r,
9369
9415
  queryKey: s
9370
9416
  }) {
9371
- const { mutate: i } = we({
9417
+ const { mutate: i } = je({
9372
9418
  mutationFn: e,
9373
- onMutate: (c) => t((o) => (o && $t({ activity: o }), o)),
9419
+ onMutate: (c) => t((o) => (o && Pt({ activity: o }), o)),
9374
9420
  onError: n,
9375
9421
  onSuccess: (c, o, f) => {
9376
- f && $t({ activity: f, reaction: c }), r.setQueryData(s, f);
9422
+ f && Pt({ activity: f, reaction: c }), r.setQueryData(s, f);
9377
9423
  }
9378
9424
  });
9379
9425
  return i;
9380
9426
  }
9381
- function tc({
9427
+ function rc({
9382
9428
  mutationFn: e,
9383
9429
  mutationHandlers: {
9384
9430
  mutate: t,
@@ -9386,14 +9432,14 @@ function tc({
9386
9432
  },
9387
9433
  user: r
9388
9434
  }) {
9389
- const { mutate: s } = we({
9435
+ const { mutate: s } = je({
9390
9436
  mutationFn: e,
9391
9437
  onMutate: (i) => t((c) => (c && ba({ activity: c, user: r }), c)),
9392
9438
  onError: n
9393
9439
  });
9394
9440
  return s;
9395
9441
  }
9396
- const zc = ({
9442
+ const Wc = ({
9397
9443
  basePath: e,
9398
9444
  parentId: t,
9399
9445
  activityId: n,
@@ -9406,20 +9452,20 @@ const zc = ({
9406
9452
  }
9407
9453
  }) => {
9408
9454
  var N, O, P, ee, A, U, q, Q, X, le;
9409
- const d = W(), u = $e(Ae), {
9455
+ const d = W(), u = $e(Oe), {
9410
9456
  activity: l,
9411
9457
  error: m,
9412
9458
  isLoading: h,
9413
9459
  mutations: { edit: g, like: v, unlike: _ }
9414
- } = Xo({
9460
+ } = tc({
9415
9461
  queryFns: i,
9416
9462
  queryKey: [e, t, n]
9417
9463
  });
9418
9464
  if (h)
9419
- return /* @__PURE__ */ a.jsx(Te, { style: { height: "400px" } });
9465
+ return /* @__PURE__ */ a.jsx(Ee, { style: { height: "400px" } });
9420
9466
  if (m || !l)
9421
9467
  return /* @__PURE__ */ a.jsx(
9422
- Ve,
9468
+ Ge,
9423
9469
  {
9424
9470
  variant: "error",
9425
9471
  text: d.formatMessage({ id: "activitySection_notFoundError" })
@@ -9485,7 +9531,7 @@ const zc = ({
9485
9531
  n
9486
9532
  ),
9487
9533
  /* @__PURE__ */ a.jsx(
9488
- Ko,
9534
+ Jo,
9489
9535
  {
9490
9536
  basePath: e,
9491
9537
  parentId: t,
@@ -9499,7 +9545,7 @@ const zc = ({
9499
9545
  }
9500
9546
  )
9501
9547
  ] });
9502
- }, Zc = ({
9548
+ }, Vc = ({
9503
9549
  id: e,
9504
9550
  data: { jobTitle: t, name: n, organization: r, thumbnail: s }
9505
9551
  }) => ({
@@ -9508,7 +9554,7 @@ const zc = ({
9508
9554
  jobTitle: t,
9509
9555
  organization: r,
9510
9556
  image: { thumbnail: s }
9511
- }), Ar = [
9557
+ }), Or = [
9512
9558
  {
9513
9559
  contentType: "solutionArticle",
9514
9560
  banner: {
@@ -9552,135 +9598,137 @@ const zc = ({
9552
9598
  contributors: ["community"]
9553
9599
  }
9554
9600
  ];
9555
- const bt = "notFoundError_", Uc = () => {
9601
+ const yt = "notFoundError_", Yc = () => {
9556
9602
  const e = W(), t = [];
9557
- return Ar.forEach((n, r) => {
9558
- n.title = e.formatMessage({ id: `${bt}post_${r + 1}` }), t.push("solutionArticle");
9603
+ return Or.forEach((n, r) => {
9604
+ n.title = e.formatMessage({ id: `${yt}post_${r + 1}` }), t.push("solutionArticle");
9559
9605
  }), /* @__PURE__ */ a.jsxs(
9560
- co,
9606
+ uo,
9561
9607
  {
9562
9608
  styling: { background: "bold", circle: "small", variant: "alt-2" },
9563
9609
  additionalContent: {
9564
- appended: /* @__PURE__ */ a.jsxs(ct, { children: [
9610
+ appended: /* @__PURE__ */ a.jsxs(Ye, { children: [
9565
9611
  /* @__PURE__ */ a.jsx(
9566
- ti,
9612
+ ri,
9567
9613
  {
9568
- cards: Ar,
9614
+ cards: Or,
9569
9615
  cardTypes: t,
9570
9616
  buildCardData: (n) => new Promise((r, s) => {
9571
9617
  r(n);
9572
9618
  })
9573
9619
  }
9574
9620
  ),
9575
- /* @__PURE__ */ a.jsx(se, { href: "/solution-articles/", children: e.formatMessage({ id: `${bt}cta` }) })
9621
+ /* @__PURE__ */ a.jsx(se, { href: "/solution-articles/", children: e.formatMessage({ id: `${yt}cta` }) })
9576
9622
  ] })
9577
9623
  },
9578
9624
  reportError: () => {
9579
9625
  },
9580
9626
  className: "not-found-error",
9581
9627
  children: [
9582
- /* @__PURE__ */ a.jsx("h1", { children: e.formatMessage({ id: `${bt}title` }) }),
9583
- /* @__PURE__ */ a.jsx("p", { children: e.formatMessage({ id: `${bt}text` }) })
9628
+ /* @__PURE__ */ a.jsx("h1", { children: e.formatMessage({ id: `${yt}title` }) }),
9629
+ /* @__PURE__ */ a.jsx("p", { children: e.formatMessage({ id: `${yt}text` }) })
9584
9630
  ]
9585
9631
  }
9586
9632
  );
9587
9633
  };
9588
9634
  export {
9589
- at as ASSETS_BUCKET,
9590
- Bc as ActivitiesFeed,
9591
- zc as ActivitySection,
9635
+ it as ASSETS_BUCKET,
9636
+ Uc as ActivitiesFeed,
9637
+ Wc as ActivitySection,
9592
9638
  ga as AddPost,
9593
- bc as BannerSection,
9594
- Sc as Breadcrumbs,
9639
+ xc as BannerSection,
9640
+ Mc as Breadcrumbs,
9595
9641
  se as Button,
9596
9642
  Nt as ButtonWrapper,
9597
- Ps as CacheProvider,
9643
+ Ms as CacheProvider,
9598
9644
  ea as Card,
9599
- ti as CardBlock,
9600
- Tc as Carousel,
9645
+ ri as CardBlock,
9646
+ $c as Carousel,
9601
9647
  Vr as CollapsibleSection,
9602
- mi as Columns,
9603
- Ec as CommunityDetails,
9604
- Oc as ContactFooter,
9605
- ji as ContactForm,
9648
+ hi as Columns,
9649
+ Pc as CommunityDetails,
9650
+ Ic as ContactFooter,
9651
+ Ti as ContactForm,
9606
9652
  Xr as Contributors,
9607
- zn as ConversationContext,
9608
- ao as CookieBanner,
9609
- fo as DiscussionConversation,
9610
- qn as DiscussionForm,
9611
- ho as DiscussionLikes,
9653
+ Zn as ConversationContext,
9654
+ io as CookieBanner,
9655
+ po as DiscussionConversation,
9656
+ zn as DiscussionForm,
9657
+ _o as DiscussionLikes,
9612
9658
  Lt as DiscussionPost,
9613
- vo as DiscussionThread,
9614
- Fe as Divider,
9615
- _c as DownloadSection,
9616
- Xe as EMAILS,
9617
- pi as EmailHelperTextBox,
9618
- Ve as EmptyStateBox,
9619
- Cc as Filters,
9620
- Ns as FlagsProvider,
9659
+ yo as DiscussionThread,
9660
+ Le as Divider,
9661
+ bc as DownloadSection,
9662
+ tt as EMAILS,
9663
+ gi as EmailHelperTextBox,
9664
+ Ge as EmptyStateBox,
9665
+ Rc as Filters,
9666
+ As as FlagsProvider,
9621
9667
  fa as Footer,
9622
9668
  aa as Form,
9623
- ct as FullWidthSection,
9624
- xc as GlobalProviders,
9669
+ Ye as FullWidthSection,
9670
+ kc as GlobalProviders,
9625
9671
  ma as Header,
9626
- Fs as HelperTextBox,
9672
+ Ls as HelperTextBox,
9627
9673
  Nn as HiddenFromScreenReaders,
9628
- jc as HideShowTextBox,
9629
- Oe as HighlightedTextBox,
9630
- As as IntlProvider,
9631
- ki as InviteForm,
9632
- Lc as InviteModal,
9674
+ Ec as HideShowTextBox,
9675
+ wc as HighlightSection,
9676
+ Fe as HighlightedTextBox,
9677
+ Os as IntlProvider,
9678
+ Ei as InviteForm,
9679
+ qc as InviteModal,
9633
9680
  ta as JoinButton,
9634
- $c as LanguageSwitcher,
9635
- ot as Link,
9681
+ Nc as LanguageSwitcher,
9682
+ lt as Link,
9636
9683
  At as LoadMore,
9637
- kc as LoadingBlock,
9638
- Te as LoadingPlaceholder,
9684
+ Cc as LoadingBlock,
9685
+ Ee as LoadingPlaceholder,
9639
9686
  Kr as LoadingState,
9640
9687
  na as Logo,
9641
- vc as LogoSection,
9688
+ yc as LogoSection,
9642
9689
  bn as MarkdownText,
9643
- yc as MarketingBox,
9644
- Fn as Member,
9645
- Ic as MembersList,
9690
+ jc as MarketingBox,
9691
+ Ln as Member,
9692
+ Zc as MembersList,
9646
9693
  pa as Modal,
9647
- ii as MoreMenu,
9648
- wc as NUMBER_OF_USERS,
9649
- li as NavigationMenu,
9650
- Uc as NotFoundError,
9694
+ ci as MoreMenu,
9695
+ Tc as NUMBER_OF_USERS,
9696
+ ui as NavigationMenu,
9697
+ Yc as NotFoundError,
9651
9698
  ha as Overlay,
9652
- Hs as PageHeading,
9653
- co as PageLayout,
9654
- Rc as PasswordRules,
9655
- kt as Pill,
9656
- lt as ProfilePicture,
9657
- Vs as ProgressBar,
9658
- Nc as Rating,
9659
- Ko as RepliesFeed,
9660
- _o as ResponsesHeading,
9661
- Wr as ResponsiveImage,
9662
- Ti as SearchForm,
9663
- Pc as ShareLinks,
9664
- Ac as SignupForm,
9665
- Zs as Span,
9699
+ Ws as PageHeading,
9700
+ uo as PageLayout,
9701
+ Fc as PasswordRules,
9702
+ Tt as Pill,
9703
+ dt as ProfilePicture,
9704
+ Gs as ProgressBar,
9705
+ Lc as Rating,
9706
+ Jo as RepliesFeed,
9707
+ bo as ResponsesHeading,
9708
+ On as ResponsiveImage,
9709
+ Si as SearchForm,
9710
+ Ac as ShareLinks,
9711
+ Dc as SignupForm,
9712
+ Us as Span,
9666
9713
  yn as StatusBanner,
9667
- Mc as Tabs,
9668
- Dc as Tags,
9714
+ Oc as Tabs,
9715
+ zc as Tags,
9716
+ Sc as TestimonialBlock,
9669
9717
  Ss as Tooltip,
9670
- Fc as TopLevelPage,
9671
- Ae as UserContext,
9672
- Os as UserProvider,
9718
+ Bc as TopLevelPage,
9719
+ Oe as UserContext,
9720
+ Fs as UserProvider,
9673
9721
  _e as VisuallyHidden,
9674
- io as addAriaProps,
9722
+ co as addAriaProps,
9675
9723
  Jr as getMember,
9676
- St as headerData,
9677
- Zc as mapGetStreamData,
9724
+ Ct as headerData,
9725
+ Vc as mapGetStreamData,
9678
9726
  js as pageReady,
9679
- qc as repliesFeedMock,
9727
+ Hc as repliesFeedMock,
9680
9728
  ds as useCurrentPath,
9681
- rt as useEffectAfterMount,
9682
- it as useElementWidth,
9729
+ st as useEffectAfterMount,
9730
+ ct as useElementWidth,
9683
9731
  fs as useScrollListener,
9684
9732
  ms as useScrollToHash,
9685
- On as useUser
9733
+ Fn as useUser
9686
9734
  };