@apolitical/component-library 5.5.1-bht.0 → 5.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import te, { memo as Xt, useState as le, useEffect as de, useRef as ke, useMemo as Gt, forwardRef as Js, Children as Ds, createContext as At, useContext as Re, useCallback as Me, lazy as mr, useReducer as pr, useLayoutEffect as xh, Component as Dh, Fragment as zr, Suspense as Mc } from "react";
2
- import { useIntl as ce, FormattedMessage as mt, IntlProvider as wh, createIntl as Ch } from "react-intl";
2
+ import { useIntl as ce, FormattedMessage as pt, IntlProvider as wh, createIntl as Ch } from "react-intl";
3
3
  import Sn from "lodash.clonedeep";
4
4
  import Eh from "lodash.set";
5
5
  import Rc from "react-dom";
@@ -350,14 +350,14 @@ function Mh() {
350
350
  } catch (en) {
351
351
  if (en && Ce && typeof en.stack == "string") {
352
352
  for (var Pe = en.stack.split(`
353
- `), vt = Ce.stack.split(`
354
- `), nt = Pe.length - 1, at = vt.length - 1; nt >= 1 && at >= 0 && Pe[nt] !== vt[at]; )
353
+ `), bt = Ce.stack.split(`
354
+ `), nt = Pe.length - 1, at = bt.length - 1; nt >= 1 && at >= 0 && Pe[nt] !== bt[at]; )
355
355
  at--;
356
356
  for (; nt >= 1 && at >= 0; nt--, at--)
357
- if (Pe[nt] !== vt[at]) {
357
+ if (Pe[nt] !== bt[at]) {
358
358
  if (nt !== 1 || at !== 1)
359
359
  do
360
- if (nt--, at--, at < 0 || Pe[nt] !== vt[at]) {
360
+ if (nt--, at--, at < 0 || Pe[nt] !== bt[at]) {
361
361
  var Ot = `
362
362
  ` + Pe[nt].replace(" at new ", " at ");
363
363
  return M.displayName && Ot.includes("<anonymous>") && (Ot = Ot.replace("<anonymous>", M.displayName)), typeof M == "function" && ne.set(M, Ot), Ot;
@@ -424,8 +424,8 @@ function Mh() {
424
424
  var Pe = void 0;
425
425
  try {
426
426
  if (typeof M[Ne] != "function") {
427
- var vt = Error((Ce || "React class") + ": " + fe + " type `" + Ne + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof M[Ne] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
428
- throw vt.name = "Invariant Violation", vt;
427
+ var bt = Error((Ce || "React class") + ": " + fe + " type `" + Ne + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof M[Ne] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
428
+ throw bt.name = "Invariant Violation", bt;
429
429
  }
430
430
  Pe = M[Ne](se, Ne, Ce, fe, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
431
431
  } catch (nt) {
@@ -541,8 +541,8 @@ function Mh() {
541
541
  };
542
542
  function Hn(M, se, fe, Ce, $e) {
543
543
  {
544
- var Ke, Ne = {}, Pe = null, vt = null;
545
- fe !== void 0 && (ie(fe), Pe = "" + fe), De(se) && (ie(se.key), Pe = "" + se.key), dt(se) && (vt = se.ref, Fe(se, $e));
544
+ var Ke, Ne = {}, Pe = null, bt = null;
545
+ fe !== void 0 && (ie(fe), Pe = "" + fe), De(se) && (ie(se.key), Pe = "" + se.key), dt(se) && (bt = se.ref, Fe(se, $e));
546
546
  for (Ke in se)
547
547
  je.call(se, Ke) && !be.hasOwnProperty(Ke) && (Ne[Ke] = se[Ke]);
548
548
  if (M && M.defaultProps) {
@@ -550,11 +550,11 @@ function Mh() {
550
550
  for (Ke in nt)
551
551
  Ne[Ke] === void 0 && (Ne[Ke] = nt[Ke]);
552
552
  }
553
- if (Pe || vt) {
553
+ if (Pe || bt) {
554
554
  var at = typeof M == "function" ? M.displayName || M.name || "Unknown" : M;
555
- Pe && Ve(Ne, at), vt && st(Ne, at);
555
+ Pe && Ve(Ne, at), bt && st(Ne, at);
556
556
  }
557
- return ft(M, Pe, vt, $e, Ce, pe.current, Ne);
557
+ return ft(M, Pe, bt, $e, Ce, pe.current, Ne);
558
558
  }
559
559
  }
560
560
  var mn = b.ReactCurrentOwner, ni = b.ReactDebugCurrentFrame;
@@ -681,8 +681,8 @@ Check the top-level render call using <` + fe + ">.");
681
681
  if (!Ne) {
682
682
  var Pe = "";
683
683
  (M === void 0 || typeof M == "object" && M !== null && Object.keys(M).length === 0) && (Pe += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
684
- var vt = fh($e);
685
- vt ? Pe += vt : Pe += Ho();
684
+ var bt = fh($e);
685
+ bt ? Pe += bt : Pe += Ho();
686
686
  var nt;
687
687
  M === null ? nt = "null" : Se(M) ? nt = "array" : M !== void 0 && M.$$typeof === t ? (nt = "<" + (E(M.type) || "Unknown") + " />", Pe = " Did you accidentally export a JSX literal instead of a component?") : nt = typeof M, C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", nt, Pe);
688
688
  }
@@ -1335,7 +1335,8 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1335
1335
  publishArticleForm_subtitle_label: "Subtitle",
1336
1336
  publishArticleForm_subtitle_placeholder: "Your topic, in a nutshell",
1337
1337
  publishArticleForm_body_label: "Body",
1338
- publishArticleForm_disclaimer: "Clicking the 'publish article' button will publish your article right away. Remember to do a final, final check to make sure you're happy with it before publishing.",
1338
+ publishArticleForm_body_placeholder: "Type or paste your article here",
1339
+ publishArticleForm_disclaimer: "Ready to publish? Before you do, consider the following: Have you thoroughly proofread your writing? Are you confident in your arguments? Have you included hyperlinks to the necessary resources to support your article?",
1339
1340
  publishArticleForm_cta_submit: "Publish article",
1340
1341
  publishArticleForm_cta_submitting: "Publishing...",
1341
1342
  publishArticleForm_cta_submitted: "Published!",
@@ -1993,7 +1994,7 @@ const am = Js(
1993
1994
  }, Symbol.toStringTag, { value: "Module" }));
1994
1995
  const q_ = ({ currentStep: e = 1, steps: t = 1 }) => /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
1995
1996
  /* @__PURE__ */ c.jsx(qe, { children: /* @__PURE__ */ c.jsx(
1996
- mt,
1997
+ pt,
1997
1998
  {
1998
1999
  id: "progressTracker",
1999
2000
  values: { current: e, total: t }
@@ -2636,11 +2637,11 @@ const Am = ({ children: e, locale: t, messages: n }) => {
2636
2637
  es: "Español",
2637
2638
  fr: "Français",
2638
2639
  pt: "Português"
2639
- }, pt = At({ isLoading: !0 });
2640
+ }, gt = At({ isLoading: !0 });
2640
2641
  function ao() {
2641
- return Re(pt);
2642
+ return Re(gt);
2642
2643
  }
2643
- const Bm = ({ children: e, user: t, updateDetails: n }) => /* @__PURE__ */ c.jsx(pt.Provider, { value: { ...t, updateDetails: n }, children: e }), ed = At({
2644
+ const Bm = ({ children: e, user: t, updateDetails: n }) => /* @__PURE__ */ c.jsx(gt.Provider, { value: { ...t, updateDetails: n }, children: e }), ed = At({
2644
2645
  registerOverlay: () => {
2645
2646
  },
2646
2647
  unregisterOverlay: () => {
@@ -2737,7 +2738,11 @@ const Nm = ({
2737
2738
  }
2738
2739
  );
2739
2740
  }, td = Xt(Nm);
2740
- const Ea = "loadingBlock_", Mm = ({ progress: e = 0, steps: t = !1, className: n = "" }) => {
2741
+ const Ea = "loadingBlock_", Mm = ({
2742
+ progress: e = 0,
2743
+ steps: t = !1,
2744
+ className: n = ""
2745
+ }) => {
2741
2746
  const r = ce();
2742
2747
  t || (t = {
2743
2748
  0: { text: r.formatMessage({ id: `${Ea}loading` }) },
@@ -2926,7 +2931,7 @@ const wn = ({
2926
2931
  variant: f = "inline",
2927
2932
  isCondensed: v = !0,
2928
2933
  additionalContentNewLine: b = !1
2929
- } = i, C = Re(pt), _ = m && C && typeof C.id == "string", [B, x] = le(!1), D = oo(t);
2934
+ } = i, C = Re(gt), _ = m && C && typeof C.id == "string", [B, x] = le(!1), D = oo(t);
2930
2935
  D.name || (D.name = h.formatMessage({
2931
2936
  id: `member_${typeof t == "string" ? t : "community"}`
2932
2937
  }));
@@ -4856,7 +4861,7 @@ const _r = "joinCommunityButton", vd = ({
4856
4861
  }, leave: () => {
4857
4862
  } }
4858
4863
  }) => {
4859
- const s = ce(), o = Re(pt), l = o && typeof o.id == "string", u = r || !l, [d, h] = le(e), [m, p] = le(e ? "joined" : "notJoined");
4864
+ const s = ce(), o = Re(gt), l = o && typeof o.id == "string", u = r || !l, [d, h] = le(e), [m, p] = le(e ? "joined" : "notJoined");
4860
4865
  de(() => {
4861
4866
  m === "joining" ? p("joined") : m === "leaving" && p("notJoined");
4862
4867
  }, [d]);
@@ -4907,7 +4912,7 @@ const Sa = "communityDetails_", Z_ = ({
4907
4912
  members: { number: i = 0, data: a = [] } = { number: 0, data: [] },
4908
4913
  functions: { invite: s, ...o }
4909
4914
  }) => {
4910
- const l = ce(), { id: u } = Re(pt), d = u, h = 5, m = i || a.length, p = a.length ? a : Array(h).fill({}), g = `/communities/${r}/members` === window.location.pathname, f = t || n, v = !n && !t;
4915
+ const l = ce(), { id: u } = Re(gt), d = u, h = 5, m = i || a.length, p = a.length ? a : Array(h).fill({}), g = `/communities/${r}/members` === window.location.pathname, f = t || n, v = !n && !t;
4911
4916
  return /* @__PURE__ */ c.jsxs("div", { className: K("community-details", e), children: [
4912
4917
  f ? /* @__PURE__ */ c.jsxs("div", { className: "member-details", children: [
4913
4918
  /* @__PURE__ */ c.jsxs("div", { className: "top", children: [
@@ -5204,7 +5209,7 @@ const yd = ({
5204
5209
  href: "/home/",
5205
5210
  className: K("logo", e, t, n),
5206
5211
  ...r,
5207
- children: /* @__PURE__ */ c.jsx(qe, { children: /* @__PURE__ */ c.jsx(mt, { id: "apolitical" }) })
5212
+ children: /* @__PURE__ */ c.jsx(qe, { children: /* @__PURE__ */ c.jsx(pt, { id: "apolitical" }) })
5208
5213
  }
5209
5214
  ) });
5210
5215
  let di = !1;
@@ -5290,7 +5295,7 @@ const Wp = mr(() => Promise.resolve().then(() => zm)), Hp = [
5290
5295
  href: "/communities/"
5291
5296
  }
5292
5297
  ], Vp = ({ activeLink: e, profile: t }) => {
5293
- const n = ce(), r = Re(pt), i = r && typeof r.id == "string";
5298
+ const n = ce(), r = Re(gt), i = r && typeof r.id == "string";
5294
5299
  return /* @__PURE__ */ c.jsxs("ul", { id: "navigation-menu", className: "text-medium", children: [
5295
5300
  Hp.map(({ key: a, href: s }) => {
5296
5301
  const o = Up(s, e), l = {};
@@ -6816,7 +6821,7 @@ const cg = ({
6816
6821
  const i = r;
6817
6822
  return i != null && i.name && i.name === Ri ? /* @__PURE__ */ c.jsxs("span", { ...e, className: "mention deleted-user", children: [
6818
6823
  "@",
6819
- /* @__PURE__ */ c.jsx(mt, { id: "member_deleted" }),
6824
+ /* @__PURE__ */ c.jsx(pt, { id: "member_deleted" }),
6820
6825
  t
6821
6826
  ] }) : /* @__PURE__ */ c.jsxs("a", { ...e, className: "mention", children: [
6822
6827
  "@",
@@ -13912,13 +13917,13 @@ var I1 = (e) => /* @__PURE__ */ te.createElement(te.Fragment, null, hf(e)), L1 =
13912
13917
  minHeight: B
13913
13918
  } : {})), h),
13914
13919
  onBeforeInput: Me((A) => {
13915
- if (!pn && !s && !bt(A, g.onBeforeInput) && ee.hasSelectableTarget(f, A.target) && (A.preventDefault(), !ee.isComposing(f))) {
13920
+ if (!pn && !s && !yt(A, g.onBeforeInput) && ee.hasSelectableTarget(f, A.target) && (A.preventDefault(), !ee.isComposing(f))) {
13916
13921
  var j = A.data;
13917
13922
  y.insertText(f, j);
13918
13923
  }
13919
13924
  }, [g.onBeforeInput, f, s]),
13920
13925
  onInput: Me((A) => {
13921
- if (!bt(A, g.onInput)) {
13926
+ if (!yt(A, g.onInput)) {
13922
13927
  if (z.current) {
13923
13928
  z.current.handleInput();
13924
13929
  return;
@@ -13929,7 +13934,7 @@ var I1 = (e) => /* @__PURE__ */ te.createElement(te.Fragment, null, hf(e)), L1 =
13929
13934
  }
13930
13935
  }, [g.onInput]),
13931
13936
  onBlur: Me((A) => {
13932
- if (!(s || N.isUpdatingSelection || !ee.hasSelectableTarget(f, A.target) || bt(A, g.onBlur))) {
13937
+ if (!(s || N.isUpdatingSelection || !ee.hasSelectableTarget(f, A.target) || yt(A, g.onBlur))) {
13933
13938
  var j = ee.findDocumentOrShadowRoot(f);
13934
13939
  if (N.latestElement !== j.activeElement) {
13935
13940
  var {
@@ -13951,7 +13956,7 @@ var I1 = (e) => /* @__PURE__ */ te.createElement(te.Fragment, null, hf(e)), L1 =
13951
13956
  }
13952
13957
  }, [s, N.isUpdatingSelection, N.latestElement, f, g.onBlur]),
13953
13958
  onClick: Me((A) => {
13954
- if (ee.hasTarget(f, A.target) && !bt(A, g.onClick) && Cn(A.target)) {
13959
+ if (ee.hasTarget(f, A.target) && !yt(A, g.onClick) && Cn(A.target)) {
13955
13960
  var j = ee.toSlateNode(f, A.target), P = ee.findPath(f, j);
13956
13961
  if (!y.hasPath(f, P) || oe.get(f, P) !== j)
13957
13962
  return;
@@ -13986,7 +13991,7 @@ var I1 = (e) => /* @__PURE__ */ te.createElement(te.Fragment, null, hf(e)), L1 =
13986
13991
  var j;
13987
13992
  if (ee.isComposing(f) && Promise.resolve().then(() => {
13988
13993
  b(!1), Tn.set(f, !1);
13989
- }), (j = z.current) === null || j === void 0 || j.handleCompositionEnd(A), bt(A, g.onCompositionEnd) || Dt)
13994
+ }), (j = z.current) === null || j === void 0 || j.handleCompositionEnd(A), yt(A, g.onCompositionEnd) || Dt)
13990
13995
  return;
13991
13996
  if (!jr && !Oy && !By && !Ny && !Py && A.data) {
13992
13997
  var P = Lt.get(f);
@@ -13997,12 +14002,12 @@ var I1 = (e) => /* @__PURE__ */ te.createElement(te.Fragment, null, hf(e)), L1 =
13997
14002
  }
13998
14003
  }, [g.onCompositionEnd, f]),
13999
14004
  onCompositionUpdate: Me((A) => {
14000
- ee.hasSelectableTarget(f, A.target) && !bt(A, g.onCompositionUpdate) && (ee.isComposing(f) || (b(!0), Tn.set(f, !0)));
14005
+ ee.hasSelectableTarget(f, A.target) && !yt(A, g.onCompositionUpdate) && (ee.isComposing(f) || (b(!0), Tn.set(f, !0)));
14001
14006
  }, [g.onCompositionUpdate, f]),
14002
14007
  onCompositionStart: Me((A) => {
14003
14008
  if (ee.hasSelectableTarget(f, A.target)) {
14004
14009
  var j;
14005
- if ((j = z.current) === null || j === void 0 || j.handleCompositionStart(A), bt(A, g.onCompositionStart) || Dt)
14010
+ if ((j = z.current) === null || j === void 0 || j.handleCompositionStart(A), yt(A, g.onCompositionStart) || Dt)
14006
14011
  return;
14007
14012
  b(!0);
14008
14013
  var {
@@ -14015,10 +14020,10 @@ var I1 = (e) => /* @__PURE__ */ te.createElement(te.Fragment, null, hf(e)), L1 =
14015
14020
  }
14016
14021
  }, [g.onCompositionStart, f]),
14017
14022
  onCopy: Me((A) => {
14018
- ee.hasSelectableTarget(f, A.target) && !bt(A, g.onCopy) && !ql(A) && (A.preventDefault(), ee.setFragmentData(f, A.clipboardData, "copy"));
14023
+ ee.hasSelectableTarget(f, A.target) && !yt(A, g.onCopy) && !ql(A) && (A.preventDefault(), ee.setFragmentData(f, A.clipboardData, "copy"));
14019
14024
  }, [g.onCopy, f]),
14020
14025
  onCut: Me((A) => {
14021
- if (!s && ee.hasSelectableTarget(f, A.target) && !bt(A, g.onCut) && !ql(A)) {
14026
+ if (!s && ee.hasSelectableTarget(f, A.target) && !yt(A, g.onCut) && !ql(A)) {
14022
14027
  A.preventDefault(), ee.setFragmentData(f, A.clipboardData, "cut");
14023
14028
  var {
14024
14029
  selection: j
@@ -14033,13 +14038,13 @@ var I1 = (e) => /* @__PURE__ */ te.createElement(te.Fragment, null, hf(e)), L1 =
14033
14038
  }
14034
14039
  }, [s, f, g.onCut]),
14035
14040
  onDragOver: Me((A) => {
14036
- if (ee.hasTarget(f, A.target) && !bt(A, g.onDragOver)) {
14041
+ if (ee.hasTarget(f, A.target) && !yt(A, g.onDragOver)) {
14037
14042
  var j = ee.toSlateNode(f, A.target);
14038
14043
  he.isElement(j) && y.isVoid(f, j) && A.preventDefault();
14039
14044
  }
14040
14045
  }, [g.onDragOver, f]),
14041
14046
  onDragStart: Me((A) => {
14042
- if (!s && ee.hasTarget(f, A.target) && !bt(A, g.onDragStart)) {
14047
+ if (!s && ee.hasTarget(f, A.target) && !yt(A, g.onDragStart)) {
14043
14048
  var j = ee.toSlateNode(f, A.target), P = ee.findPath(f, j), L = he.isElement(j) && y.isVoid(f, j) || y.void(f, {
14044
14049
  at: P,
14045
14050
  voids: !0
@@ -14052,7 +14057,7 @@ var I1 = (e) => /* @__PURE__ */ te.createElement(te.Fragment, null, hf(e)), L1 =
14052
14057
  }
14053
14058
  }, [s, f, g.onDragStart, N]),
14054
14059
  onDrop: Me((A) => {
14055
- if (!s && ee.hasTarget(f, A.target) && !bt(A, g.onDrop)) {
14060
+ if (!s && ee.hasTarget(f, A.target) && !yt(A, g.onDrop)) {
14056
14061
  A.preventDefault();
14057
14062
  var j = f.selection, P = ee.findEventRange(f, A), L = A.dataTransfer;
14058
14063
  J.select(f, P), N.isDraggingInternally && j && !G.equals(j, P) && !y.void(f, {
@@ -14068,7 +14073,7 @@ var I1 = (e) => /* @__PURE__ */ te.createElement(te.Fragment, null, hf(e)), L1 =
14068
14073
  !s && N.isDraggingInternally && g.onDragEnd && ee.hasTarget(f, A.target) && g.onDragEnd(A), N.isDraggingInternally = !1;
14069
14074
  }, [s, N, g, f]),
14070
14075
  onFocus: Me((A) => {
14071
- if (!s && !N.isUpdatingSelection && ee.hasEditableTarget(f, A.target) && !bt(A, g.onFocus)) {
14076
+ if (!s && !N.isUpdatingSelection && ee.hasEditableTarget(f, A.target) && !yt(A, g.onFocus)) {
14072
14077
  var j = ee.toDOMNode(f, f), P = ee.findDocumentOrShadowRoot(f);
14073
14078
  if (N.latestElement = P.activeElement, tr && A.target !== j) {
14074
14079
  j.focus();
@@ -14084,7 +14089,7 @@ var I1 = (e) => /* @__PURE__ */ te.createElement(te.Fragment, null, hf(e)), L1 =
14084
14089
  var {
14085
14090
  nativeEvent: P
14086
14091
  } = A;
14087
- if (ee.isComposing(f) && P.isComposing === !1 && (Tn.set(f, !1), b(!1)), bt(A, g.onKeyDown) || ee.isComposing(f))
14092
+ if (ee.isComposing(f) && P.isComposing === !1 && (Tn.set(f, !1), b(!1)), yt(A, g.onKeyDown) || ee.isComposing(f))
14088
14093
  return;
14089
14094
  var {
14090
14095
  selection: L
@@ -14234,7 +14239,7 @@ var I1 = (e) => /* @__PURE__ */ te.createElement(te.Fragment, null, hf(e)), L1 =
14234
14239
  }
14235
14240
  }, [s, f, g.onKeyDown]),
14236
14241
  onPaste: Me((A) => {
14237
- !s && ee.hasEditableTarget(f, A.target) && !bt(A, g.onPaste) && (!pn || $y(A.nativeEvent) || jr) && (A.preventDefault(), ee.insertData(f, A.clipboardData));
14242
+ !s && ee.hasEditableTarget(f, A.target) && !yt(A, g.onPaste) && (!pn || $y(A.nativeEvent) || jr) && (A.preventDefault(), ee.insertData(f, A.clipboardData));
14238
14243
  }, [s, f, g.onPaste])
14239
14244
  }), /* @__PURE__ */ te.createElement(I1, {
14240
14245
  decorations: S,
@@ -14261,7 +14266,7 @@ var I1 = (e) => /* @__PURE__ */ te.createElement(te.Fragment, null, hf(e)), L1 =
14261
14266
  scrollMode: "if-needed"
14262
14267
  }), delete n.getBoundingClientRect;
14263
14268
  }
14264
- }, bt = (e, t) => {
14269
+ }, yt = (e, t) => {
14265
14270
  if (!t)
14266
14271
  return !1;
14267
14272
  var n = t(e);
@@ -19820,8 +19825,8 @@ function Vf(e, t) {
19820
19825
  return e.getElementsByTagName(n).length;
19821
19826
  });
19822
19827
  }
19823
- var gt = {};
19824
- gt.paragraph = {
19828
+ var vt = {};
19829
+ vt.paragraph = {
19825
19830
  filter: "p",
19826
19831
  replacement: function(e) {
19827
19832
  return `
@@ -19831,14 +19836,14 @@ gt.paragraph = {
19831
19836
  `;
19832
19837
  }
19833
19838
  };
19834
- gt.lineBreak = {
19839
+ vt.lineBreak = {
19835
19840
  filter: "br",
19836
19841
  replacement: function(e, t, n) {
19837
19842
  return n.br + `
19838
19843
  `;
19839
19844
  }
19840
19845
  };
19841
- gt.heading = {
19846
+ vt.heading = {
19842
19847
  filter: ["h1", "h2", "h3", "h4", "h5", "h6"],
19843
19848
  replacement: function(e, t, n) {
19844
19849
  var r = Number(t.nodeName.charAt(1));
@@ -19858,7 +19863,7 @@ gt.heading = {
19858
19863
  `;
19859
19864
  }
19860
19865
  };
19861
- gt.blockquote = {
19866
+ vt.blockquote = {
19862
19867
  filter: "blockquote",
19863
19868
  replacement: function(e) {
19864
19869
  return e = e.replace(/^\n+|\n+$/g, ""), e = e.replace(/^/gm, "> "), `
@@ -19868,7 +19873,7 @@ gt.blockquote = {
19868
19873
  `;
19869
19874
  }
19870
19875
  };
19871
- gt.list = {
19876
+ vt.list = {
19872
19877
  filter: ["ul", "ol"],
19873
19878
  replacement: function(e, t) {
19874
19879
  var n = t.parentNode;
@@ -19880,7 +19885,7 @@ gt.list = {
19880
19885
  `;
19881
19886
  }
19882
19887
  };
19883
- gt.listItem = {
19888
+ vt.listItem = {
19884
19889
  filter: "li",
19885
19890
  replacement: function(e, t, n) {
19886
19891
  e = e.replace(/^\n+/, "").replace(/\n+$/, `
@@ -19895,7 +19900,7 @@ gt.listItem = {
19895
19900
  ` : "");
19896
19901
  }
19897
19902
  };
19898
- gt.indentedCodeBlock = {
19903
+ vt.indentedCodeBlock = {
19899
19904
  filter: function(e, t) {
19900
19905
  return t.codeBlockStyle === "indented" && e.nodeName === "PRE" && e.firstChild && e.firstChild.nodeName === "CODE";
19901
19906
  },
@@ -19908,7 +19913,7 @@ gt.indentedCodeBlock = {
19908
19913
  `;
19909
19914
  }
19910
19915
  };
19911
- gt.fencedCodeBlock = {
19916
+ vt.fencedCodeBlock = {
19912
19917
  filter: function(e, t) {
19913
19918
  return t.codeBlockStyle === "fenced" && e.nodeName === "PRE" && e.firstChild && e.firstChild.nodeName === "CODE";
19914
19919
  },
@@ -19925,7 +19930,7 @@ gt.fencedCodeBlock = {
19925
19930
  `;
19926
19931
  }
19927
19932
  };
19928
- gt.horizontalRule = {
19933
+ vt.horizontalRule = {
19929
19934
  filter: "hr",
19930
19935
  replacement: function(e, t, n) {
19931
19936
  return `
@@ -19935,7 +19940,7 @@ gt.horizontalRule = {
19935
19940
  `;
19936
19941
  }
19937
19942
  };
19938
- gt.inlineLink = {
19943
+ vt.inlineLink = {
19939
19944
  filter: function(e, t) {
19940
19945
  return t.linkStyle === "inlined" && e.nodeName === "A" && e.getAttribute("href");
19941
19946
  },
@@ -19944,7 +19949,7 @@ gt.inlineLink = {
19944
19949
  return r && (r = ' "' + r + '"'), "[" + e + "](" + n + r + ")";
19945
19950
  }
19946
19951
  };
19947
- gt.referenceLink = {
19952
+ vt.referenceLink = {
19948
19953
  filter: function(e, t) {
19949
19954
  return t.linkStyle === "referenced" && e.nodeName === "A" && e.getAttribute("href");
19950
19955
  },
@@ -19976,19 +19981,19 @@ gt.referenceLink = {
19976
19981
  `, this.references = []), t;
19977
19982
  }
19978
19983
  };
19979
- gt.emphasis = {
19984
+ vt.emphasis = {
19980
19985
  filter: ["em", "i"],
19981
19986
  replacement: function(e, t, n) {
19982
19987
  return e.trim() ? n.emDelimiter + e + n.emDelimiter : "";
19983
19988
  }
19984
19989
  };
19985
- gt.strong = {
19990
+ vt.strong = {
19986
19991
  filter: ["strong", "b"],
19987
19992
  replacement: function(e, t, n) {
19988
19993
  return e.trim() ? n.strongDelimiter + e + n.strongDelimiter : "";
19989
19994
  }
19990
19995
  };
19991
- gt.code = {
19996
+ vt.code = {
19992
19997
  filter: function(e) {
19993
19998
  var t = e.previousSibling || e.nextSibling, n = e.parentNode.nodeName === "PRE" && !t;
19994
19999
  return e.nodeName === "CODE" && !n;
@@ -20002,7 +20007,7 @@ gt.code = {
20002
20007
  return n + t + e + t + n;
20003
20008
  }
20004
20009
  };
20005
- gt.image = {
20010
+ vt.image = {
20006
20011
  filter: "img",
20007
20012
  replacement: function(e, t) {
20008
20013
  var n = Xi(t.getAttribute("alt")), r = t.getAttribute("src") || "", i = Xi(t.getAttribute("title")), a = i ? ' "' + i + '"' : "";
@@ -20209,7 +20214,7 @@ function Qr(e) {
20209
20214
  if (!(this instanceof Qr))
20210
20215
  return new Qr(e);
20211
20216
  var t = {
20212
- rules: gt,
20217
+ rules: vt,
20213
20218
  headingStyle: "setext",
20214
20219
  hr: "* * *",
20215
20220
  bulletListMarker: "*",
@@ -21268,7 +21273,7 @@ const OC = ({ emails: e, setEmails: t, setIsDisabled: n }) => {
21268
21273
  };
21269
21274
  const NC = ({ hooks: e, functions: t, meta: n = {}, gtm: r }) => {
21270
21275
  var B, x;
21271
- const i = ce(), a = "profileForm_", s = Re(pt), [o, l] = le(s.image), [u, d] = le(!1), {
21276
+ const i = ce(), a = "profileForm_", s = Re(gt), [o, l] = le(s.image), [u, d] = le(!1), {
21272
21277
  uploadImage: h,
21273
21278
  onSuccess: m = async (D) => {
21274
21279
  },
@@ -21395,41 +21400,41 @@ const NC = ({ hooks: e, functions: t, meta: n = {}, gtm: r }) => {
21395
21400
  );
21396
21401
  };
21397
21402
  let os = null;
21398
- const yt = "publishArticleForm_", _c = {}, kc = 10, nk = ({
21403
+ const mt = "publishArticleForm_", _c = {}, kc = 10, nk = ({
21399
21404
  id: e = "publish-article-form",
21400
21405
  values: t = _c,
21401
21406
  functions: n,
21402
21407
  meta: r,
21403
21408
  gtm: i
21404
21409
  }) => {
21405
- const a = ce(), s = Re(pt), { create: o, onSuccess: l = () => {
21410
+ const a = ce(), s = Re(gt), { create: o, onSuccess: l = () => {
21406
21411
  }, onFailure: u = () => {
21407
21412
  } } = n || {}, { isInOverlay: d = !1 } = r || {}, [h, m] = le(t.body || ""), [p, g] = le(!1), [f, v] = le("");
21408
21413
  de(() => {
21409
21414
  Mi(t, _c) || Li(t.body) && t.body !== h && t.body !== void 0 && m(t.body);
21410
21415
  }, [t.body]);
21411
21416
  const b = () => {
21412
- !s || !s.id ? g(a.formatMessage({ id: `${yt}error_loggedOut` })) : p && g(!1);
21417
+ !s || !s.id ? g(a.formatMessage({ id: `${mt}error_loggedOut` })) : p && g(!1);
21413
21418
  }, C = (D) => ({
21414
21419
  condition: (T) => {
21415
21420
  const I = T[D];
21416
21421
  return !I || typeof I != "string" ? !0 : I.length < kc;
21417
21422
  },
21418
21423
  error: a.formatMessage(
21419
- { id: `${yt}error_underMinLength` },
21424
+ { id: `${mt}error_underMinLength` },
21420
21425
  { length: kc }
21421
21426
  )
21422
21427
  }), _ = !h || !Li(h), B = () => /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
21423
21428
  /* @__PURE__ */ c.jsx(un, {}),
21424
- /* @__PURE__ */ c.jsx("p", { className: "text-medium", children: a.formatMessage({ id: `${yt}disclaimer` }) })
21429
+ /* @__PURE__ */ c.jsx("p", { className: "text-medium", children: a.formatMessage({ id: `${mt}disclaimer` }) })
21425
21430
  ] }), x = [
21426
21431
  {
21427
21432
  id: "title",
21428
21433
  type: "text",
21429
21434
  value: t.title || "",
21430
21435
  limit: 65,
21431
- label: a.formatMessage({ id: `${yt}title_label` }),
21432
- placeholder: a.formatMessage({ id: `${yt}title_placeholder` }),
21436
+ label: a.formatMessage({ id: `${mt}title_label` }),
21437
+ placeholder: a.formatMessage({ id: `${mt}title_placeholder` }),
21433
21438
  functions: {
21434
21439
  onChange: b
21435
21440
  },
@@ -21440,7 +21445,7 @@ const yt = "publishArticleForm_", _c = {}, kc = 10, nk = ({
21440
21445
  // We do a check for the rich text editor value here as well, to make sure we can't
21441
21446
  // submit an article without a body
21442
21447
  condition: () => _,
21443
- error: a.formatMessage({ id: `${yt}title_error` })
21448
+ error: a.formatMessage({ id: `${mt}title_error` })
21444
21449
  }
21445
21450
  ]
21446
21451
  },
@@ -21449,8 +21454,8 @@ const yt = "publishArticleForm_", _c = {}, kc = 10, nk = ({
21449
21454
  type: "text",
21450
21455
  value: t.subtitle,
21451
21456
  limit: 115,
21452
- label: a.formatMessage({ id: `${yt}subtitle_label` }),
21453
- placeholder: a.formatMessage({ id: `${yt}subtitle_placeholder` }),
21457
+ label: a.formatMessage({ id: `${mt}subtitle_label` }),
21458
+ placeholder: a.formatMessage({ id: `${mt}subtitle_placeholder` }),
21454
21459
  functions: {
21455
21460
  onChange: b
21456
21461
  },
@@ -21461,7 +21466,7 @@ const yt = "publishArticleForm_", _c = {}, kc = 10, nk = ({
21461
21466
  props: {
21462
21467
  formID: e,
21463
21468
  label: {
21464
- visible: a.formatMessage({ id: `${yt}body_label` })
21469
+ visible: a.formatMessage({ id: `${mt}body_label` })
21465
21470
  },
21466
21471
  showLabel: !0
21467
21472
  }
@@ -21471,6 +21476,7 @@ const yt = "publishArticleForm_", _c = {}, kc = 10, nk = ({
21471
21476
  props: {
21472
21477
  id: `${e}-input`,
21473
21478
  value: h,
21479
+ placeholder: a.formatMessage({ id: `${mt}body_placeholder` }),
21474
21480
  meta: { isInOverlay: d },
21475
21481
  autoFocus: !1,
21476
21482
  functions: {
@@ -21502,7 +21508,7 @@ const yt = "publishArticleForm_", _c = {}, kc = 10, nk = ({
21502
21508
  const T = { ...D, body: h };
21503
21509
  try {
21504
21510
  o && await o(T), os = setTimeout(() => {
21505
- m(""), v(a.formatMessage({ id: `${yt}aria_success` })), l(T);
21511
+ m(""), v(a.formatMessage({ id: `${mt}aria_success` })), l(T);
21506
21512
  }, 500);
21507
21513
  } catch {
21508
21514
  g(!0), v(""), u();
@@ -21511,7 +21517,7 @@ const yt = "publishArticleForm_", _c = {}, kc = 10, nk = ({
21511
21517
  onFailure: u
21512
21518
  },
21513
21519
  fields: x,
21514
- intlPath: yt,
21520
+ intlPath: mt,
21515
21521
  button: {
21516
21522
  variant: "primary",
21517
21523
  size: { mobile: "small", 600: "medium" },
@@ -21519,19 +21525,19 @@ const yt = "publishArticleForm_", _c = {}, kc = 10, nk = ({
21519
21525
  "data-gtm-event-type": "publish-article-click",
21520
21526
  disabled: !s || !s.id || _,
21521
21527
  text: {
21522
- default: a.formatMessage({ id: `${yt}cta_submit` }),
21528
+ default: a.formatMessage({ id: `${mt}cta_submit` }),
21523
21529
  submitting: a.formatMessage({
21524
- id: `${yt}cta_submitting`
21530
+ id: `${mt}cta_submitting`
21525
21531
  }),
21526
21532
  submitted: a.formatMessage({
21527
- id: `${yt}cta_submitted`
21533
+ id: `${mt}cta_submitted`
21528
21534
  })
21529
21535
  }
21530
21536
  },
21531
21537
  gtm: i
21532
21538
  }
21533
21539
  ),
21534
- p && /* @__PURE__ */ c.jsx(Ur, { id: "error-message", className: "error", children: typeof p == "string" && p.includes(" ") ? p : a.formatMessage({ id: `${yt}error` }) }),
21540
+ p && /* @__PURE__ */ c.jsx(Ur, { id: "error-message", className: "error", children: typeof p == "string" && p.includes(" ") ? p : a.formatMessage({ id: `${mt}error` }) }),
21535
21541
  f && /* @__PURE__ */ c.jsx(qe, { "aria-live": "polite", showOnFocus: !1, children: f })
21536
21542
  ] });
21537
21543
  };
@@ -21840,9 +21846,9 @@ const LC = ({ className: e = "" }) => /* @__PURE__ */ c.jsxs(
21840
21846
  className: K("success-message", e),
21841
21847
  "data-testid": "success-message",
21842
21848
  children: [
21843
- /* @__PURE__ */ c.jsx("p", { className: "success-title", children: /* @__PURE__ */ c.jsx(mt, { id: "signup_success_title" }) }),
21849
+ /* @__PURE__ */ c.jsx("p", { className: "success-title", children: /* @__PURE__ */ c.jsx(pt, { id: "signup_success_title" }) }),
21844
21850
  /* @__PURE__ */ c.jsx(
21845
- mt,
21851
+ pt,
21846
21852
  {
21847
21853
  id: "signup_success_text",
21848
21854
  values: {
@@ -21940,7 +21946,7 @@ const zC = {
21940
21946
  className: K("signup-form-fieldset", e),
21941
21947
  "data-testid": "signup-form",
21942
21948
  children: [
21943
- g.title && /* @__PURE__ */ c.jsx("p", { className: "signup-title", children: /* @__PURE__ */ c.jsx(mt, { id: "signup_title" }) }),
21949
+ g.title && /* @__PURE__ */ c.jsx("p", { className: "signup-title", children: /* @__PURE__ */ c.jsx(pt, { id: "signup_title" }) }),
21944
21950
  D && /* @__PURE__ */ c.jsx(
21945
21951
  zn,
21946
21952
  {
@@ -22243,7 +22249,7 @@ const ls = "contactFooter_", ok = ({ onSuccess: e = async () => {
22243
22249
  return de(() => (o(), window.addEventListener("resize", l), () => {
22244
22250
  clearTimeout(us), window.removeEventListener("resize", l);
22245
22251
  }), []), /* @__PURE__ */ c.jsx(Wn, { id: "contactForm", className: "contact-footer", children: /* @__PURE__ */ c.jsxs("div", { className: "inner-wrapper", children: [
22246
- /* @__PURE__ */ c.jsx("h2", { children: /* @__PURE__ */ c.jsx(mt, { id: `${ls}title` }) }),
22252
+ /* @__PURE__ */ c.jsx("h2", { children: /* @__PURE__ */ c.jsx(pt, { id: `${ls}title` }) }),
22247
22253
  /* @__PURE__ */ c.jsxs(
22248
22254
  "div",
22249
22255
  {
@@ -22253,8 +22259,8 @@ const ls = "contactFooter_", ok = ({ onSuccess: e = async () => {
22253
22259
  style: a ? {} : { minHeight: r },
22254
22260
  children: [
22255
22261
  /* @__PURE__ */ c.jsxs("aside", { children: [
22256
- /* @__PURE__ */ c.jsx("p", { children: /* @__PURE__ */ c.jsx(mt, { id: `${ls}text` }) }),
22257
- /* @__PURE__ */ c.jsx(Ln, { className: "mailto-link", href: "mailto:hello@apolitical.co", children: /* @__PURE__ */ c.jsx(mt, { id: `${ls}email` }) })
22262
+ /* @__PURE__ */ c.jsx("p", { children: /* @__PURE__ */ c.jsx(pt, { id: `${ls}text` }) }),
22263
+ /* @__PURE__ */ c.jsx(Ln, { className: "mailto-link", href: "mailto:hello@apolitical.co", children: /* @__PURE__ */ c.jsx(pt, { id: `${ls}email` }) })
22258
22264
  ] }),
22259
22265
  /* @__PURE__ */ c.jsx(
22260
22266
  jC,
@@ -22433,7 +22439,7 @@ const ir = "footer_", ea = "SiteFooter", Ac = ({ group: e }) => {
22433
22439
  const t = nn[e].order || [];
22434
22440
  let n = !1;
22435
22441
  return "text" in nn[e] && (n = nn[e].text), /* @__PURE__ */ c.jsxs(zr, { children: [
22436
- /* @__PURE__ */ c.jsx("p", { className: "pre-title", children: /* @__PURE__ */ c.jsx(mt, { id: `${ir}${e}` }) }),
22442
+ /* @__PURE__ */ c.jsx("p", { className: "pre-title", children: /* @__PURE__ */ c.jsx(pt, { id: `${ir}${e}` }) }),
22437
22443
  Array.isArray(t) && t.length > 0 && /* @__PURE__ */ c.jsx("ul", { className: "text-medium", children: t.map((r) => {
22438
22444
  if (["order", "child", "text"].includes(r))
22439
22445
  return null;
@@ -22446,15 +22452,15 @@ const ir = "footer_", ea = "SiteFooter", Ac = ({ group: e }) => {
22446
22452
  "data-gtm-event-context": ea,
22447
22453
  "data-gtm-event-type": a,
22448
22454
  ...s,
22449
- children: /* @__PURE__ */ c.jsx(mt, { id: `${ir}${e}_${r}` })
22455
+ children: /* @__PURE__ */ c.jsx(pt, { id: `${ir}${e}_${r}` })
22450
22456
  }
22451
22457
  ) }, `${e}_${r}`);
22452
22458
  }) }),
22453
22459
  typeof n != "boolean" && "order" in n && Array.isArray(n.order) && /* @__PURE__ */ c.jsx("dl", { className: "text-medium", children: n.order.map((r) => /* @__PURE__ */ c.jsxs(zr, { children: [
22454
- /* @__PURE__ */ c.jsx("dt", { children: /* @__PURE__ */ c.jsx(mt, { id: `${ir}${e}_${r}` }) }),
22460
+ /* @__PURE__ */ c.jsx("dt", { children: /* @__PURE__ */ c.jsx(pt, { id: `${ir}${e}_${r}` }) }),
22455
22461
  /* @__PURE__ */ c.jsxs("dd", { children: [
22456
22462
  typeof n != "boolean" && n[r].address && /* @__PURE__ */ c.jsx("address", { children: /* @__PURE__ */ c.jsx(
22457
- mt,
22463
+ pt,
22458
22464
  {
22459
22465
  id: `${ir}${e}_${r}_address`,
22460
22466
  values: { br: /* @__PURE__ */ c.jsx("br", {}) }
@@ -22502,12 +22508,12 @@ const ir = "footer_", ea = "SiteFooter", Ac = ({ group: e }) => {
22502
22508
  className: "gtm-trackable",
22503
22509
  "data-gtm-event-context": ea,
22504
22510
  "data-gtm-event-type": "social-click",
22505
- children: /* @__PURE__ */ c.jsx("span", { className: "hidden", children: /* @__PURE__ */ c.jsx(mt, { id: `${ir}social_${e}` }) })
22511
+ children: /* @__PURE__ */ c.jsx("span", { className: "hidden", children: /* @__PURE__ */ c.jsx(pt, { id: `${ir}social_${e}` }) })
22506
22512
  }
22507
22513
  ) }, e);
22508
22514
  }) }),
22509
22515
  /* @__PURE__ */ c.jsx("small", { children: /* @__PURE__ */ c.jsx(
22510
- mt,
22516
+ pt,
22511
22517
  {
22512
22518
  id: `${ir}copyright`,
22513
22519
  values: { currentYear: (/* @__PURE__ */ new Date()).getFullYear() }
@@ -22852,7 +22858,7 @@ const ir = "footer_", ea = "SiteFooter", Ac = ({ group: e }) => {
22852
22858
  const WC = { height: 67, height_desktop: 83 };
22853
22859
  var Tt = /* @__PURE__ */ ((e) => (e.NAVIGATION = "navigation", e.SEARCH = "search", e.ACCOUNT = "account-navigation", e.SITE = "site-navigation", e))(Tt || {});
22854
22860
  const Xf = ({ showNavigation: e = !0 }) => {
22855
- const t = ce(), n = Re(pt), r = gr(!0, !0), i = n && typeof n.id == "string", a = Gt(
22861
+ const t = ce(), n = Re(gt), r = gr(!0, !0), i = n && typeof n.id == "string", a = Gt(
22856
22862
  () => Ue.getIsDesktopVersion(i, r),
22857
22863
  [i, r]
22858
22864
  ), [s, o] = pr(ua, {
@@ -23294,7 +23300,7 @@ const ZC = 25, YC = ({
23294
23300
  showPlaceholders: d = !1,
23295
23301
  className: h = ""
23296
23302
  }) => {
23297
- const m = ce(), p = "membersList", g = Re(pt), [f, v] = le(!1);
23303
+ const m = ce(), p = "membersList", g = Re(gt), [f, v] = le(!1);
23298
23304
  return e.length === 0 && !d ? null : /* @__PURE__ */ c.jsxs("div", { className: K("members-list", h), children: [
23299
23305
  u ? /* @__PURE__ */ c.jsxs("h1", { children: [
23300
23306
  m.formatMessage({ id: p }),
@@ -23474,7 +23480,7 @@ const rt = "discussion_form_", va = ({
23474
23480
  gtmContext: m = "DiscussionForm"
23475
23481
  }) => {
23476
23482
  var it, Se, Ye;
23477
- const p = ce(), g = Re(pt), [f, v] = le(""), {
23483
+ const p = ce(), g = Re(gt), [f, v] = le(""), {
23478
23484
  isLoading: b = !1,
23479
23485
  isInWrapper: C = !1,
23480
23486
  isInOverlay: _ = !1,
@@ -26128,7 +26134,7 @@ const ba = ({
26128
26134
  parentId: B
26129
26135
  }) => {
26130
26136
  var Ye, xe, W, ie, pe, be, _e, et, tt, dt;
26131
- const x = ce(), D = Re(pt), T = Re($o), {
26137
+ const x = ce(), D = Re(gt), T = Re($o), {
26132
26138
  createContent: I = async () => {
26133
26139
  },
26134
26140
  deleteContent: N = async () => {
@@ -26543,7 +26549,7 @@ const ba = ({
26543
26549
  ],
26544
26550
  gtmContext: `${t.type.charAt(0).toUpperCase()}${t.type.slice(1)}:${t.slug}`,
26545
26551
  children: /* @__PURE__ */ c.jsx(
26546
- mt,
26552
+ pt,
26547
26553
  {
26548
26554
  id: "discussion_delete_text",
26549
26555
  values: {
@@ -26562,7 +26568,7 @@ const ba = ({
26562
26568
  const VE = mr(
26563
26569
  () => Promise.resolve().then(() => s_)
26564
26570
  ), KE = 65, ZE = ({ forceShow: e, form: t, className: n }) => {
26565
- const r = ce(), i = "discussionFormCard_", a = "DiscardDraftModal", o = Re(pt) || "community", l = oo(o);
26571
+ const r = ce(), i = "discussionFormCard_", a = "DiscardDraftModal", o = Re(gt) || "community", l = oo(o);
26566
26572
  l.name || (l.name = r.formatMessage({
26567
26573
  id: `member_${typeof o == "string" ? o : "community"}`
26568
26574
  }));
@@ -26767,7 +26773,7 @@ const VE = mr(
26767
26773
  };
26768
26774
  return e ? /* @__PURE__ */ c.jsx(ZE, { form: p }) : /* @__PURE__ */ c.jsx(YE, { ...p });
26769
26775
  }, ch = ({ form: e }) => {
26770
- const t = Re(pt), n = ce(), [r, i] = le(!1), a = () => {
26776
+ const t = Re(gt), n = ce(), [r, i] = le(!1), a = () => {
26771
26777
  tm(t) || i(!0);
26772
26778
  };
26773
26779
  de(() => (document.addEventListener(ut.DISCUSSION_POST_ADDED, a), () => {
@@ -27841,7 +27847,7 @@ const Dk = ({
27841
27847
  return null;
27842
27848
  };
27843
27849
  function p_({ buildMemberData: e, communitySlug: t }) {
27844
- const n = ce(), r = Re(pt), [i, a] = le({
27850
+ const n = ce(), r = Re(gt), [i, a] = le({
27845
27851
  count: "...",
27846
27852
  isMember: !1,
27847
27853
  memberType: ""
@@ -27883,7 +27889,7 @@ const dh = ({
27883
27889
  setFocus: l = !1
27884
27890
  }) => {
27885
27891
  var $, k;
27886
- const u = ce(), d = Re(pt), h = !!(d != null && d.id), m = te.useRef(null), [p, g] = le({
27892
+ const u = ce(), d = Re(gt), h = !!(d != null && d.id), m = te.useRef(null), [p, g] = le({
27887
27893
  data: null,
27888
27894
  isLoading: !0
27889
27895
  });
@@ -28767,7 +28773,7 @@ export {
28767
28773
  vr as Tooltip,
28768
28774
  uk as TopLevelPage,
28769
28775
  $i as UUID_V4_REGEX,
28770
- pt as UserContext,
28776
+ gt as UserContext,
28771
28777
  Bm as UserProvider,
28772
28778
  qe as VisuallyHidden,
28773
28779
  Ip as addAriaProps,