@apolitical/component-library 1.6.3-beta.1 → 1.6.3-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,7 +17,7 @@ var us = (e, t, r, n) => ({
17
17
  }), ye = (e, t, r) => (Pu(e, t, "access private method"), r);
18
18
  import * as pe from "react";
19
19
  import Re, { memo as mo, useRef as Ke, useEffect as $e, useContext as qr, useState as Ae, useLayoutEffect as Ym, useMemo as Fi, Children as wl, createContext as wf, Fragment as ih, useCallback as yn, useReducer as c_, Component as l_, isValidElement as f_, createElement as oh, Suspense as h_ } from "react";
20
- import { jsx as C, jsxs as ie, Fragment as ct } from "react/jsx-runtime";
20
+ import { jsx as C, jsxs as ie, Fragment as pt } from "react/jsx-runtime";
21
21
  var de = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
22
22
  function wr(e) {
23
23
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
@@ -275,7 +275,7 @@ class Zm {
275
275
  r >= 0 && this.changeListeners.splice(r, 1), this.changeListeners.length === 0 && (typeof window == "object" && "cookieStore" in window ? window.cookieStore.removeEventListener("change", this.update) : this._stopPolling());
276
276
  }
277
277
  }
278
- const eg = pe.createContext(new Zm()), { Provider: A_, Consumer: tN } = eg, x_ = eg;
278
+ const eg = pe.createContext(new Zm()), { Provider: A_, Consumer: eN } = eg, x_ = eg;
279
279
  class C_ extends pe.Component {
280
280
  constructor(t) {
281
281
  super(t), t.cookies ? this.cookies = t.cookies : this.cookies = new Zm(void 0, t.defaultSetOptions);
@@ -379,8 +379,8 @@ function P_() {
379
379
  }
380
380
  function A(oe) {
381
381
  if (typeof oe == "object" && oe !== null) {
382
- var ft = oe.$$typeof;
383
- switch (ft) {
382
+ var lt = oe.$$typeof;
383
+ switch (lt) {
384
384
  case t:
385
385
  var tt = oe.type;
386
386
  switch (tt) {
@@ -401,11 +401,11 @@ function P_() {
401
401
  case s:
402
402
  return Kt;
403
403
  default:
404
- return ft;
404
+ return lt;
405
405
  }
406
406
  }
407
407
  case r:
408
- return ft;
408
+ return lt;
409
409
  }
410
410
  }
411
411
  }
@@ -10029,14 +10029,14 @@ function xT() {
10029
10029
  return g = g >>> 0, _ || K(g, 4, this.length), (this[g] | this[g + 1] << 8 | this[g + 2] << 16) + this[g + 3] * 16777216;
10030
10030
  }, a.prototype.readUint32BE = a.prototype.readUInt32BE = function(g, _) {
10031
10031
  return g = g >>> 0, _ || K(g, 4, this.length), this[g] * 16777216 + (this[g + 1] << 16 | this[g + 2] << 8 | this[g + 3]);
10032
- }, a.prototype.readBigUInt64LE = ht(function(g) {
10033
- g = g >>> 0, ft(g, "offset");
10032
+ }, a.prototype.readBigUInt64LE = ft(function(g) {
10033
+ g = g >>> 0, lt(g, "offset");
10034
10034
  const _ = this[g], x = this[g + 7];
10035
10035
  (_ === void 0 || x === void 0) && tt(g, this.length - 8);
10036
10036
  const M = _ + this[++g] * 2 ** 8 + this[++g] * 2 ** 16 + this[++g] * 2 ** 24, $ = this[++g] + this[++g] * 2 ** 8 + this[++g] * 2 ** 16 + x * 2 ** 24;
10037
10037
  return BigInt(M) + (BigInt($) << BigInt(32));
10038
- }), a.prototype.readBigUInt64BE = ht(function(g) {
10039
- g = g >>> 0, ft(g, "offset");
10038
+ }), a.prototype.readBigUInt64BE = ft(function(g) {
10039
+ g = g >>> 0, lt(g, "offset");
10040
10040
  const _ = this[g], x = this[g + 7];
10041
10041
  (_ === void 0 || x === void 0) && tt(g, this.length - 8);
10042
10042
  const M = _ * 2 ** 24 + this[++g] * 2 ** 16 + this[++g] * 2 ** 8 + this[++g], $ = this[++g] * 2 ** 24 + this[++g] * 2 ** 16 + this[++g] * 2 ** 8 + x;
@@ -10067,14 +10067,14 @@ function xT() {
10067
10067
  return g = g >>> 0, _ || K(g, 4, this.length), this[g] | this[g + 1] << 8 | this[g + 2] << 16 | this[g + 3] << 24;
10068
10068
  }, a.prototype.readInt32BE = function(g, _) {
10069
10069
  return g = g >>> 0, _ || K(g, 4, this.length), this[g] << 24 | this[g + 1] << 16 | this[g + 2] << 8 | this[g + 3];
10070
- }, a.prototype.readBigInt64LE = ht(function(g) {
10071
- g = g >>> 0, ft(g, "offset");
10070
+ }, a.prototype.readBigInt64LE = ft(function(g) {
10071
+ g = g >>> 0, lt(g, "offset");
10072
10072
  const _ = this[g], x = this[g + 7];
10073
10073
  (_ === void 0 || x === void 0) && tt(g, this.length - 8);
10074
10074
  const M = this[g + 4] + this[g + 5] * 2 ** 8 + this[g + 6] * 2 ** 16 + (x << 24);
10075
10075
  return (BigInt(M) << BigInt(32)) + BigInt(_ + this[++g] * 2 ** 8 + this[++g] * 2 ** 16 + this[++g] * 2 ** 24);
10076
- }), a.prototype.readBigInt64BE = ht(function(g) {
10077
- g = g >>> 0, ft(g, "offset");
10076
+ }), a.prototype.readBigInt64BE = ft(function(g) {
10077
+ g = g >>> 0, lt(g, "offset");
10078
10078
  const _ = this[g], x = this[g + 7];
10079
10079
  (_ === void 0 || x === void 0) && tt(g, this.length - 8);
10080
10080
  const M = (_ << 24) + // Overflow
@@ -10140,9 +10140,9 @@ function xT() {
10140
10140
  let W = Number(g >> BigInt(32) & BigInt(4294967295));
10141
10141
  return T[_ + 3] = W, W = W >> 8, T[_ + 2] = W, W = W >> 8, T[_ + 1] = W, W = W >> 8, T[_] = W, _ + 8;
10142
10142
  }
10143
- a.prototype.writeBigUInt64LE = ht(function(g, _ = 0) {
10143
+ a.prototype.writeBigUInt64LE = ft(function(g, _ = 0) {
10144
10144
  return fe(this, g, _, BigInt(0), BigInt("0xffffffffffffffff"));
10145
- }), a.prototype.writeBigUInt64BE = ht(function(g, _ = 0) {
10145
+ }), a.prototype.writeBigUInt64BE = ft(function(g, _ = 0) {
10146
10146
  return Ve(this, g, _, BigInt(0), BigInt("0xffffffffffffffff"));
10147
10147
  }), a.prototype.writeIntLE = function(g, _, x, M) {
10148
10148
  if (g = +g, _ = _ >>> 0, !M) {
@@ -10172,9 +10172,9 @@ function xT() {
10172
10172
  return g = +g, _ = _ >>> 0, x || ae(this, g, _, 4, 2147483647, -2147483648), this[_] = g & 255, this[_ + 1] = g >>> 8, this[_ + 2] = g >>> 16, this[_ + 3] = g >>> 24, _ + 4;
10173
10173
  }, a.prototype.writeInt32BE = function(g, _, x) {
10174
10174
  return g = +g, _ = _ >>> 0, x || ae(this, g, _, 4, 2147483647, -2147483648), g < 0 && (g = 4294967295 + g + 1), this[_] = g >>> 24, this[_ + 1] = g >>> 16, this[_ + 2] = g >>> 8, this[_ + 3] = g & 255, _ + 4;
10175
- }, a.prototype.writeBigInt64LE = ht(function(g, _ = 0) {
10175
+ }, a.prototype.writeBigInt64LE = ft(function(g, _ = 0) {
10176
10176
  return fe(this, g, _, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
10177
- }), a.prototype.writeBigInt64BE = ht(function(g, _ = 0) {
10177
+ }), a.prototype.writeBigInt64BE = ft(function(g, _ = 0) {
10178
10178
  return Ve(this, g, _, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
10179
10179
  });
10180
10180
  function ee(T, g, _, x, M, $) {
@@ -10300,7 +10300,7 @@ function xT() {
10300
10300
  return `${T.slice(0, _)}${g}`;
10301
10301
  }
10302
10302
  function Yt(T, g, _) {
10303
- ft(g, "offset"), (T[g] === void 0 || T[g + _] === void 0) && tt(g, T.length - (_ + 1));
10303
+ lt(g, "offset"), (T[g] === void 0 || T[g + _] === void 0) && tt(g, T.length - (_ + 1));
10304
10304
  }
10305
10305
  function oe(T, g, _, x, M, $) {
10306
10306
  if (T > _ || T < g) {
@@ -10310,12 +10310,12 @@ function xT() {
10310
10310
  }
10311
10311
  Yt(x, M, $);
10312
10312
  }
10313
- function ft(T, g) {
10313
+ function lt(T, g) {
10314
10314
  if (typeof T != "number")
10315
10315
  throw new ke.ERR_INVALID_ARG_TYPE(g, "number", T);
10316
10316
  }
10317
10317
  function tt(T, g, _) {
10318
- throw Math.floor(T) !== T ? (ft(T, _), new ke.ERR_OUT_OF_RANGE(_ || "offset", "an integer", T)) : g < 0 ? new ke.ERR_BUFFER_OUT_OF_BOUNDS() : new ke.ERR_OUT_OF_RANGE(
10318
+ throw Math.floor(T) !== T ? (lt(T, _), new ke.ERR_OUT_OF_RANGE(_ || "offset", "an integer", T)) : g < 0 ? new ke.ERR_BUFFER_OUT_OF_BOUNDS() : new ke.ERR_OUT_OF_RANGE(
10319
10319
  _ || "offset",
10320
10320
  `>= ${_ ? 1 : 0} and <= ${g}`,
10321
10321
  T
@@ -10425,7 +10425,7 @@ function xT() {
10425
10425
  }
10426
10426
  return g;
10427
10427
  }();
10428
- function ht(T) {
10428
+ function ft(T) {
10429
10429
  return typeof BigInt > "u" ? Sn : T;
10430
10430
  }
10431
10431
  function Sn() {
@@ -10490,7 +10490,7 @@ function xT() {
10490
10490
  }, carouselCards: function() {
10491
10491
  return Ci;
10492
10492
  }, contentInteraction: function() {
10493
- return ht;
10493
+ return ft;
10494
10494
  }, decodeBase64: function() {
10495
10495
  return a_;
10496
10496
  }, default: function() {
@@ -10512,7 +10512,7 @@ function xT() {
10512
10512
  }, peopleEngagement: function() {
10513
10513
  return Xr;
10514
10514
  }, qaQuestions: function() {
10515
- return pt;
10515
+ return dt;
10516
10516
  }, reportError: function() {
10517
10517
  return p.reportError;
10518
10518
  }, search: function() {
@@ -10611,8 +10611,8 @@ function xT() {
10611
10611
  throw new Error(G);
10612
10612
  }
10613
10613
  } };
10614
- const { APIS: { CONTENT_INTERACTION_API: { BASE_URL: oe, ENDPOINTS: { REPLIES: ft, ANSWERS: tt, QUESTIONS: Kt, LIKES: Or } } } } = E, or = `${oe}${Kt}`, Ut = ({ questionSlug: F, answerSlug: U, replySlug: D }, G = !1) => {
10615
- let te = `${or}/${encodeURIComponent(F)}${tt}/${encodeURIComponent(U)}${ft}`;
10614
+ const { APIS: { CONTENT_INTERACTION_API: { BASE_URL: oe, ENDPOINTS: { REPLIES: lt, ANSWERS: tt, QUESTIONS: Kt, LIKES: Or } } } } = E, or = `${oe}${Kt}`, Ut = ({ questionSlug: F, answerSlug: U, replySlug: D }, G = !1) => {
10615
+ let te = `${or}/${encodeURIComponent(F)}${tt}/${encodeURIComponent(U)}${lt}`;
10616
10616
  return D && (te = `${te}/${encodeURIComponent(D)}`, G && (te = `${te}${Or}`)), te;
10617
10617
  };
10618
10618
  var wn = { create: async ({ questionSlug: F, answerSlug: U }, D) => {
@@ -10652,7 +10652,7 @@ function xT() {
10652
10652
  }
10653
10653
  }, getReplyUrl: Ut };
10654
10654
  const { APIS: { CONTENT_INTERACTION_API: { BASE_URL: Xt, ENDPOINTS: { QUESTIONS: $t, ANSWERS: rt, LIKES: Jt } } } } = E, wt = `${Xt}${$t}`;
10655
- var ht = { answers: Ue, questions: Yt, replies: wn, likes: { create: async (F, U) => {
10655
+ var ft = { answers: Ue, questions: Yt, replies: wn, likes: { create: async (F, U) => {
10656
10656
  try {
10657
10657
  return await q().post(`${wt}/${encodeURIComponent(F)}${rt}/${encodeURIComponent(U)}${Jt}`);
10658
10658
  } catch (D) {
@@ -10952,10 +10952,10 @@ function xT() {
10952
10952
  }
10953
10953
  return U;
10954
10954
  } } };
10955
- const { APIS: { PEOPLE_ENGAGEMENT_API: { BASE_URL: dt, ENDPOINTS: { USERS: Si, USER_PROPERTIES: Ti } } }, USERS: { MYSELF: Kr } } = E;
10955
+ const { APIS: { PEOPLE_ENGAGEMENT_API: { BASE_URL: ht, ENDPOINTS: { USERS: Si, USER_PROPERTIES: Ti } } }, USERS: { MYSELF: Kr } } = E;
10956
10956
  var Xr = { emails: Ko, handlers: wi, userProperties: { update: async (F, U) => {
10957
10957
  try {
10958
- await q().put(`${dt}${Si}/${Kr}${Ti}/${F}`, U);
10958
+ await q().put(`${ht}${Si}/${Kr}${Ti}/${F}`, U);
10959
10959
  } catch (D) {
10960
10960
  await H(D);
10961
10961
  }
@@ -11005,7 +11005,7 @@ function xT() {
11005
11005
  }
11006
11006
  } };
11007
11007
  const { CONTENTFUL: ge } = E, { TYPE: le, ORDER: Ee, SELECT: be, SKIP: We, LIMIT: Ce, INCLUDE: it } = ge.QUESTIONS;
11008
- var pt = { read: async (F) => {
11008
+ var dt = { read: async (F) => {
11009
11009
  try {
11010
11010
  return await (0, f.getEntry)({ content_type: le, "fields.slug": F, include: 2, select: be });
11011
11011
  } catch (U) {
@@ -11020,7 +11020,7 @@ function xT() {
11020
11020
  } }, Qe = async (F, U, D = { ignoreAnswersAuthors: !1 }) => {
11021
11021
  try {
11022
11022
  let G = {};
11023
- return G = await pt.read(F), G = await sr.handlers.authors.readQuestionAuthors(G, U, D), G;
11023
+ return G = await dt.read(F), G = await sr.handlers.authors.readQuestionAuthors(G, U, D), G;
11024
11024
  } catch (G) {
11025
11025
  throw await H(G), new Error(`Cannot build question: ${G.message}`);
11026
11026
  }
@@ -11136,7 +11136,7 @@ const Sa = {
11136
11136
  Off: "off",
11137
11137
  On: "on",
11138
11138
  Cookie: "cookie"
11139
- }, nN = (e) => {
11139
+ }, rN = (e) => {
11140
11140
  const [t] = ng(), [r, n] = Ae(null), [o, i] = Ae(!1), [s, a] = Ae(Sa.Off);
11141
11141
  return $e(() => {
11142
11142
  e && CT.features.flags.read(e).then((c) => {
@@ -11269,7 +11269,7 @@ const mu = (e = !0, t = !1) => {
11269
11269
  c();
11270
11270
  }, 250);
11271
11271
  return o;
11272
- }, iN = (e = [], t = !0) => {
11272
+ }, nN = (e = [], t = !0) => {
11273
11273
  e = Array.isArray(e) ? e : [e];
11274
11274
  const r = Ke(!1);
11275
11275
  ao(() => {
@@ -11314,7 +11314,7 @@ Ys.exports;
11314
11314
  V[I] = O(I);
11315
11315
  return V;
11316
11316
  }
11317
- function ft(y, O) {
11317
+ function lt(y, O) {
11318
11318
  return y == null ? void 0 : y[O];
11319
11319
  }
11320
11320
  function tt(y) {
@@ -11346,9 +11346,9 @@ Ys.exports;
11346
11346
  var Ut = Array.prototype, wn = Function.prototype, Xt = Object.prototype, $t = fe["__core-js_shared__"], rt = function() {
11347
11347
  var y = /[^.]+$/.exec($t && $t.keys && $t.keys.IE_PROTO || "");
11348
11348
  return y ? "Symbol(src)_1." + y : "";
11349
- }(), Jt = wn.toString, wt = Xt.hasOwnProperty, ht = Xt.toString, Sn = RegExp(
11349
+ }(), Jt = wn.toString, wt = Xt.hasOwnProperty, ft = Xt.toString, Sn = RegExp(
11350
11350
  "^" + Jt.call(wt).replace(B, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
11351
- ), T = se ? fe.Buffer : void 0, g = fe.Symbol, _ = fe.Uint8Array, x = Or(Object.getPrototypeOf, Object), M = Object.create, $ = Xt.propertyIsEnumerable, W = Ut.splice, me = Object.getOwnPropertySymbols, Pe = T ? T.isBuffer : void 0, Ne = Or(Object.keys, Object), Ie = kt(fe, "DataView"), _e = kt(fe, "Map"), Lt = kt(fe, "Promise"), Wr = kt(fe, "Set"), Tn = kt(fe, "WeakMap"), Ar = kt(Object, "create"), On = dt(Ie), xr = dt(_e), An = dt(Lt), xn = dt(Wr), Cn = dt(Tn), ar = g ? g.prototype : void 0, mi = ar ? ar.valueOf : void 0;
11351
+ ), T = se ? fe.Buffer : void 0, g = fe.Symbol, _ = fe.Uint8Array, x = Or(Object.getPrototypeOf, Object), M = Object.create, $ = Xt.propertyIsEnumerable, W = Ut.splice, me = Object.getOwnPropertySymbols, Pe = T ? T.isBuffer : void 0, Ne = Or(Object.keys, Object), Ie = kt(fe, "DataView"), _e = kt(fe, "Map"), Lt = kt(fe, "Promise"), Wr = kt(fe, "Set"), Tn = kt(fe, "WeakMap"), Ar = kt(Object, "create"), On = ht(Ie), xr = ht(_e), An = ht(Lt), xn = ht(Wr), Cn = ht(Tn), ar = g ? g.prototype : void 0, mi = ar ? ar.valueOf : void 0;
11352
11352
  function Zt(y) {
11353
11353
  var O = -1, I = y ? y.length : 0;
11354
11354
  for (this.clear(); ++O < I; ) {
@@ -11506,9 +11506,9 @@ Ys.exports;
11506
11506
  }
11507
11507
  }
11508
11508
  Ee || (Ee = new gt());
11509
- var pt = Ee.get(y);
11510
- if (pt)
11511
- return pt;
11509
+ var dt = Ee.get(y);
11510
+ if (dt)
11511
+ return dt;
11512
11512
  if (Ee.set(y, be), !We)
11513
11513
  var Qe = I ? Fn(y) : xi(y);
11514
11514
  return xt(Qe || y, function(ot, Xe) {
@@ -11523,13 +11523,13 @@ Ys.exports;
11523
11523
  return Xr(y) ? V : It(V, I(y));
11524
11524
  }
11525
11525
  function $o(y) {
11526
- return ht.call(y);
11526
+ return ft.call(y);
11527
11527
  }
11528
11528
  function Ho(y) {
11529
11529
  if (!Ht(y) || Ko(y))
11530
11530
  return !1;
11531
11531
  var O = Dn(y) || tt(y) ? Sn : Z;
11532
- return O.test(dt(y));
11532
+ return O.test(ht(y));
11533
11533
  }
11534
11534
  function jo(y) {
11535
11535
  if (!wi(y))
@@ -11597,12 +11597,12 @@ Ys.exports;
11597
11597
  return Yo(O) ? I[typeof O == "string" ? "string" : "hash"] : I.map;
11598
11598
  }
11599
11599
  function kt(y, O) {
11600
- var I = ft(y, O);
11600
+ var I = lt(y, O);
11601
11601
  return Ho(I) ? I : void 0;
11602
11602
  }
11603
11603
  var er = me ? Or(me, Object) : Ci, tr = $o;
11604
11604
  (Ie && tr(new Ie(new ArrayBuffer(1))) != P || _e && tr(new _e()) != h || Lt && tr(Lt.resolve()) != m || Wr && tr(new Wr()) != w || Tn && tr(new Tn()) != A) && (tr = function(y) {
11605
- var O = ht.call(y), I = O == p ? y.constructor : void 0, V = I ? dt(I) : void 0;
11605
+ var O = ft.call(y), I = O == p ? y.constructor : void 0, V = I ? ht(I) : void 0;
11606
11606
  if (V)
11607
11607
  switch (V) {
11608
11608
  case On:
@@ -11672,7 +11672,7 @@ Ys.exports;
11672
11672
  var O = y && y.constructor, I = typeof O == "function" && O.prototype || Xt;
11673
11673
  return y === I;
11674
11674
  }
11675
- function dt(y) {
11675
+ function ht(y) {
11676
11676
  if (y != null) {
11677
11677
  try {
11678
11678
  return Jt.call(y);
@@ -11692,7 +11692,7 @@ Ys.exports;
11692
11692
  return y === O || y !== y && O !== O;
11693
11693
  }
11694
11694
  function Kr(y) {
11695
- return Xo(y) && wt.call(y, "callee") && (!$.call(y, "callee") || ht.call(y) == i);
11695
+ return Xo(y) && wt.call(y, "callee") && (!$.call(y, "callee") || ft.call(y) == i);
11696
11696
  }
11697
11697
  var Xr = Array.isArray;
11698
11698
  function Jr(y) {
@@ -11703,7 +11703,7 @@ Ys.exports;
11703
11703
  }
11704
11704
  var Oi = Pe || Jo;
11705
11705
  function Dn(y) {
11706
- var O = Ht(y) ? ht.call(y) : "";
11706
+ var O = Ht(y) ? ft.call(y) : "";
11707
11707
  return O == u || O == d;
11708
11708
  }
11709
11709
  function Ai(y) {
@@ -15933,7 +15933,7 @@ const hx = ({ isOpen: e = !1, isLoading: t = !1, children: r }) => {
15933
15933
  }, [e]), /* @__PURE__ */ C("aside", { ref: o, className: ue("tooltip text-medium", i, { loading: t }), hidden: i === "hidden", children: t ? /* @__PURE__ */ C("p", { children: n.formatMessage({ id: "tooltip_loading" }) }) : typeof r == "string" ? /* @__PURE__ */ C("p", { children: r }) : r });
15934
15934
  };
15935
15935
  const $v = ({ children: e, className: t = "", ...r }) => /* @__PURE__ */ C("section", { className: ue("full-width-section", t), ...r, children: e });
15936
- const oN = ({ text: e, buttons: t, className: r = "" }) => {
15936
+ const iN = ({ text: e, buttons: t, className: r = "" }) => {
15937
15937
  const n = [];
15938
15938
  return t.forEach((o) => {
15939
15939
  n.push({
@@ -15946,12 +15946,12 @@ const oN = ({ text: e, buttons: t, className: r = "" }) => {
15946
15946
  target: "_blank",
15947
15947
  children: o.text
15948
15948
  });
15949
- }), /* @__PURE__ */ C($v, { className: ue("download-section", r), children: /* @__PURE__ */ ie(ct, { children: [
15949
+ }), /* @__PURE__ */ C($v, { className: ue("download-section", r), children: /* @__PURE__ */ ie(pt, { children: [
15950
15950
  Re.createElement(typeof e == "string" ? "h2" : e.element, { className: "text" }, typeof e == "string" ? e : e.text),
15951
15951
  /* @__PURE__ */ C(_u, { buttons: n })
15952
15952
  ] }) });
15953
15953
  };
15954
- const aN = ({ title: e = !1, logos: t = [], className: r = "" }) => {
15954
+ const oN = ({ title: e = !1, logos: t = [], className: r = "" }) => {
15955
15955
  const n = t.length;
15956
15956
  if (n === 0)
15957
15957
  return null;
@@ -16033,7 +16033,7 @@ const dx = [
16033
16033
  l.preventDefault(), l.stopPropagation();
16034
16034
  const u = document.getElementById(o.link.substring(1));
16035
16035
  u && u.scrollIntoView({ behavior: "smooth" });
16036
- }), /* @__PURE__ */ C($v, { className: ue("banner-section", r, n, { "has-image": t, "has-extra-spacing": n === "normal" && c.eyebrow && c.title }), children: /* @__PURE__ */ ie(ct, { children: [
16036
+ }), /* @__PURE__ */ C($v, { className: ue("banner-section", r, n, { "has-image": t, "has-extra-spacing": n === "normal" && c.eyebrow && c.title }), children: /* @__PURE__ */ ie(pt, { children: [
16037
16037
  /* @__PURE__ */ ie("div", { className: "content-wrapper", children: [
16038
16038
  s.map((l) => {
16039
16039
  if (c[l] && typeof c[l] == "object") {
@@ -16060,8 +16060,8 @@ const dx = [
16060
16060
  ] }),
16061
16061
  t && /* @__PURE__ */ C(GO, { image: { ...t, aspect: "banner" } })
16062
16062
  ] }) });
16063
- }, sN = mo(px);
16064
- const uN = ({
16063
+ }, aN = mo(px);
16064
+ const sN = ({
16065
16065
  variant: e = "primary",
16066
16066
  button: t = null,
16067
16067
  title: r,
@@ -16095,7 +16095,7 @@ var Hv = { exports: {} };
16095
16095
  })(String);
16096
16096
  })(Hv);
16097
16097
  var mx = Hv.exports;
16098
- const jv = /* @__PURE__ */ wr(mx), Yl = "https://storage.googleapis.com/apolitical-assets/", cN = "200,000+";
16098
+ const jv = /* @__PURE__ */ wr(mx), Yl = "https://storage.googleapis.com/apolitical-assets/", uN = "200,000+";
16099
16099
  const qv = ({ label: e = !1, className: t = "", children: r }) => {
16100
16100
  const n = xe();
16101
16101
  return /* @__PURE__ */ ie("details", { className: ue("collapsible-section", t), children: [
@@ -16416,7 +16416,7 @@ const wu = ({ variant: e = "empty", text: t = !1, button: r = !1, className: n =
16416
16416
  o = sv(s, h, d);
16417
16417
  }
16418
16418
  const { breakpoints: a, text: c = "", component: l, ...u } = r;
16419
- return /* @__PURE__ */ C(mn, { variant: "subtle", className: ue("empty-state-box", e, n), children: /* @__PURE__ */ ie(ct, { children: [
16419
+ return /* @__PURE__ */ C(mn, { variant: "subtle", className: ue("empty-state-box", e, n), children: /* @__PURE__ */ ie(pt, { children: [
16420
16420
  t && /* @__PURE__ */ C(bu, { options: { forceBlock: !0 }, children: t }),
16421
16421
  o && typeof r == "object" && (l || /* @__PURE__ */ C(
16422
16422
  et,
@@ -16445,7 +16445,7 @@ const _C = ({ type: e = "default", className: t = "", heading: r = !1, children:
16445
16445
  }
16446
16446
  ) : /* @__PURE__ */ C("p", { children: n })
16447
16447
  ] });
16448
- const lN = ({ className: e = "", show: t = !1, hide: r = !1, text: n, children: o }) => {
16448
+ const cN = ({ className: e = "", show: t = !1, hide: r = !1, text: n, children: o }) => {
16449
16449
  const i = xe(), s = Ke(null), [a, c] = Ae(""), [l, u] = Ae("closed");
16450
16450
  $e(() => {
16451
16451
  const f = s.current;
@@ -16537,7 +16537,7 @@ const lN = ({ className: e = "", show: t = !1, hide: r = !1, text: n, children:
16537
16537
  const t = xe(), r = Date.now().toString();
16538
16538
  let n = "default";
16539
16539
  const o = e.src;
16540
- return o.includes("youtube") || o.includes("vimeo") ? n = "video" : o.includes("riddle") || o.includes("sli.do") ? n = "poll" : o.includes("padlet") && (n = "padlet"), /* @__PURE__ */ ie(ct, { children: [
16540
+ return o.includes("youtube") || o.includes("vimeo") ? n = "video" : o.includes("riddle") || o.includes("sli.do") ? n = "poll" : o.includes("padlet") && (n = "padlet"), /* @__PURE__ */ ie(pt, { children: [
16541
16541
  /* @__PURE__ */ C(_t, { children: /* @__PURE__ */ C("a", { href: `#content-after-iframe-${r}`, children: t.formatMessage({ id: `markdown_skip${n === "default" ? "" : `_${n}`}` }) }) }),
16542
16542
  /* @__PURE__ */ C("iframe", { ...e, title: t.formatMessage({ id: `markdown_iframe${n === "default" ? "" : `_${n}`}` }) }),
16543
16543
  /* @__PURE__ */ C("span", { id: `content-after-iframe-${r}`, tabIndex: -1 })
@@ -16613,7 +16613,7 @@ const al = "loadingBlock_", PC = ({ progress: e = 0, steps: t = !1, className: r
16613
16613
  ]
16614
16614
  }
16615
16615
  );
16616
- }, fN = mo(PC);
16616
+ }, lN = mo(PC);
16617
16617
  const Gr = ({ element: e = "div", className: t = "", ...r }) => /* @__PURE__ */ C(Xm, { element: e, className: ue("loading-placeholder", t), ...r });
16618
16618
  const ef = {
16619
16619
  header: ["logo", "link", "link", "search"],
@@ -16727,7 +16727,7 @@ const fm = {
16727
16727
  const l = xe();
16728
16728
  return !r || r.length === 0 ? null : Re.createElement(
16729
16729
  e,
16730
- { className: ue("contributors", c, o, { "has-gap": i }), children: /* @__PURE__ */ ie(ct, { children: [
16730
+ { className: ue("contributors", c, o, { "has-gap": i }), children: /* @__PURE__ */ ie(pt, { children: [
16731
16731
  /* @__PURE__ */ C("ul", { children: r.map((u, d) => {
16732
16732
  let h, f = "";
16733
16733
  if (d < a) {
@@ -16747,13 +16747,13 @@ const fm = {
16747
16747
  n && /* @__PURE__ */ C("span", { className: "label", children: typeof n == "string" ? n : r.length === 1 ? typeof r[0] == "string" ? l.formatMessage({ id: `member_${r[0]}` }) : jv(r[0].name || "", 20) : null })
16748
16748
  ] }) }
16749
16749
  );
16750
- }, hN = ({ children: e, locale: t, messages: r }) => {
16750
+ }, fN = ({ children: e, locale: t, messages: r }) => {
16751
16751
  const n = t || "en", o = {
16752
16752
  ...UO[n],
16753
16753
  ...r || {}
16754
16754
  };
16755
16755
  return /* @__PURE__ */ C(lx, { locale: n, messages: o, children: e });
16756
- }, bn = wf(null), dN = ({ children: e, user: t }) => /* @__PURE__ */ C(bn.Provider, { value: t, children: e });
16756
+ }, bn = wf(null), hN = ({ children: e, user: t }) => /* @__PURE__ */ C(bn.Provider, { value: t, children: e });
16757
16757
  var bo = class {
16758
16758
  constructor() {
16759
16759
  this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
@@ -18458,14 +18458,14 @@ var p1 = (e, t) => e === t, Zs = Symbol("solid-proxy"), O0 = Symbol("solid-track
18458
18458
  cleanups: null,
18459
18459
  context: null,
18460
18460
  owner: null
18461
- }, ul = {}, je = null, cl = null, De = null, Et = null, jr = null, Tu = 0, [g1, pN] = /* @__PURE__ */ Pt(!1);
18461
+ }, ul = {}, je = null, cl = null, De = null, Et = null, jr = null, Tu = 0, [g1, dN] = /* @__PURE__ */ Pt(!1);
18462
18462
  function si(e, t) {
18463
18463
  const r = De, n = je, o = e.length === 0, i = o ? x0 : {
18464
18464
  owned: null,
18465
18465
  cleanups: null,
18466
18466
  context: null,
18467
18467
  owner: t === void 0 ? n : t
18468
- }, s = o ? e : () => e(() => lt(() => Au(i)));
18468
+ }, s = o ? e : () => e(() => ct(() => Au(i)));
18469
18469
  je = i, De = null;
18470
18470
  try {
18471
18471
  return br(s, !0);
@@ -18540,10 +18540,10 @@ function y1(e, t, r) {
18540
18540
  l = !1;
18541
18541
  const j = d ? d() : n;
18542
18542
  if (j == null || j === !1) {
18543
- S(s, lt(f));
18543
+ S(s, ct(f));
18544
18544
  return;
18545
18545
  }
18546
- const q = a !== ul ? a : lt(() => o(j, {
18546
+ const q = a !== ul ? a : ct(() => o(j, {
18547
18547
  value: f(),
18548
18548
  refetching: k
18549
18549
  }));
@@ -18579,10 +18579,10 @@ function y1(e, t, r) {
18579
18579
  mutate: p
18580
18580
  }];
18581
18581
  }
18582
- function mN(e) {
18582
+ function pN(e) {
18583
18583
  return br(e, !1);
18584
18584
  }
18585
- function lt(e) {
18585
+ function ct(e) {
18586
18586
  if (De === null)
18587
18587
  return e();
18588
18588
  const t = De;
@@ -18593,7 +18593,7 @@ function lt(e) {
18593
18593
  De = t;
18594
18594
  }
18595
18595
  }
18596
- function gN(e, t, r) {
18596
+ function mN(e, t, r) {
18597
18597
  const n = Array.isArray(e);
18598
18598
  let o, i = r && r.defer;
18599
18599
  return (s) => {
@@ -18608,17 +18608,17 @@ function gN(e, t, r) {
18608
18608
  i = !1;
18609
18609
  return;
18610
18610
  }
18611
- const c = lt(() => t(a, o, s));
18611
+ const c = ct(() => t(a, o, s));
18612
18612
  return o = a, c;
18613
18613
  };
18614
18614
  }
18615
- function yN(e) {
18616
- C0(() => lt(e));
18615
+ function gN(e) {
18616
+ C0(() => ct(e));
18617
18617
  }
18618
18618
  function ru(e) {
18619
18619
  return je === null || (je.cleanups === null ? je.cleanups = [e] : je.cleanups.push(e)), e;
18620
18620
  }
18621
- function vN() {
18621
+ function yN() {
18622
18622
  return De;
18623
18623
  }
18624
18624
  function bm() {
@@ -18643,10 +18643,10 @@ function _1(e) {
18643
18643
  return br(e, !1), De = je = null, n ? n.done : void 0;
18644
18644
  });
18645
18645
  }
18646
- function _N() {
18646
+ function vN() {
18647
18647
  return [g1, _1];
18648
18648
  }
18649
- function EN(e, t) {
18649
+ function _N(e, t) {
18650
18650
  const r = Symbol("context");
18651
18651
  return {
18652
18652
  id: r,
@@ -18654,7 +18654,7 @@ function EN(e, t) {
18654
18654
  defaultValue: e
18655
18655
  };
18656
18656
  }
18657
- function bN(e) {
18657
+ function EN(e) {
18658
18658
  let t;
18659
18659
  return (t = M0(je, e.id)) !== void 0 ? t : e.defaultValue;
18660
18660
  }
@@ -18728,7 +18728,7 @@ function nu(e) {
18728
18728
  return;
18729
18729
  if (e.state === tu)
18730
18730
  return iu(e);
18731
- if (e.suspense && lt(e.suspense.inFallback))
18731
+ if (e.suspense && ct(e.suspense.inFallback))
18732
18732
  return e.suspense.effects.push(e);
18733
18733
  const t = [e];
18734
18734
  for (; (e = e.owner) && (!e.updatedAt || e.updatedAt < Tu); )
@@ -18845,7 +18845,7 @@ function pf(e) {
18845
18845
  function T1(e, t) {
18846
18846
  return function(n) {
18847
18847
  let o;
18848
- return ui(() => o = lt(() => (je.context = {
18848
+ return ui(() => o = ct(() => (je.context = {
18849
18849
  [e]: n.value
18850
18850
  }, R0(() => n.children))), void 0), o;
18851
18851
  };
@@ -18859,7 +18859,7 @@ function O1(e, t, r = {}) {
18859
18859
  let n = [], o = [], i = [], s = 0, a = t.length > 1 ? [] : null;
18860
18860
  return ru(() => ou(i)), () => {
18861
18861
  let c = e() || [], l, u;
18862
- return c[O0], lt(() => {
18862
+ return c[O0], ct(() => {
18863
18863
  let h = c.length, f, p, m, E, w, v, b, A, S;
18864
18864
  if (h === 0)
18865
18865
  s !== 0 && (ou(i), i = [], n = [], o = [], s = 0, a && (a = [])), r.fallback && (n = [mf], o[0] = si((P) => (i[0] = P, r.fallback())), s = 1);
@@ -18895,7 +18895,7 @@ function A1(e, t, r = {}) {
18895
18895
  let n = [], o = [], i = [], s = [], a = 0, c;
18896
18896
  return ru(() => ou(i)), () => {
18897
18897
  const l = e() || [];
18898
- return l[O0], lt(() => {
18898
+ return l[O0], ct(() => {
18899
18899
  if (l.length === 0)
18900
18900
  return a !== 0 && (ou(i), i = [], n = [], o = [], a = 0, s = []), r.fallback && (n = [mf], o[0] = si((d) => (i[0] = d, r.fallback())), a = 1), o;
18901
18901
  for (n[0] === mf && (i[0](), i = [], n = [], o = [], a = 0), c = 0; c < l.length; c++)
@@ -18912,7 +18912,7 @@ function A1(e, t, r = {}) {
18912
18912
  };
18913
18913
  }
18914
18914
  function x1(e, t) {
18915
- return lt(() => e(t || {}));
18915
+ return ct(() => e(t || {}));
18916
18916
  }
18917
18917
  function Ls() {
18918
18918
  return !0;
@@ -19053,7 +19053,7 @@ function N1(e) {
19053
19053
  t = a;
19054
19054
  }
19055
19055
  let s;
19056
- return Nt(() => (s = t()) && lt(() => {
19056
+ return Nt(() => (s = t()) && ct(() => {
19057
19057
  if (!i)
19058
19058
  return s(o);
19059
19059
  const a = ve.context;
@@ -19065,24 +19065,24 @@ function N1(e) {
19065
19065
  return n.preload = () => r || ((r = e()).then((o) => t = () => o.default), r), n;
19066
19066
  }
19067
19067
  var I1 = 0;
19068
- function wN() {
19068
+ function bN() {
19069
19069
  const e = ve.context;
19070
19070
  return e ? `${e.id}${e.count++}` : `cl-${I1++}`;
19071
19071
  }
19072
19072
  var F0 = (e) => `Stale read from <${e}>.`;
19073
- function SN(e) {
19073
+ function wN(e) {
19074
19074
  const t = "fallback" in e && {
19075
19075
  fallback: () => e.fallback
19076
19076
  };
19077
19077
  return Nt(O1(() => e.each, e.children, t || void 0));
19078
19078
  }
19079
- function TN(e) {
19079
+ function SN(e) {
19080
19080
  const t = "fallback" in e && {
19081
19081
  fallback: () => e.fallback
19082
19082
  };
19083
19083
  return Nt(A1(() => e.each, e.children, t || void 0));
19084
19084
  }
19085
- function ON(e) {
19085
+ function TN(e) {
19086
19086
  const t = e.keyed, r = Nt(() => e.when, void 0, {
19087
19087
  equals: (n, o) => t ? n === o : !n == !o
19088
19088
  });
@@ -19090,8 +19090,8 @@ function ON(e) {
19090
19090
  const n = r();
19091
19091
  if (n) {
19092
19092
  const o = e.children;
19093
- return typeof o == "function" && o.length > 0 ? lt(() => o(t ? n : () => {
19094
- if (!lt(r))
19093
+ return typeof o == "function" && o.length > 0 ? ct(() => o(t ? n : () => {
19094
+ if (!ct(r))
19095
19095
  throw F0("Show");
19096
19096
  return e.when;
19097
19097
  })) : o;
@@ -19099,7 +19099,7 @@ function ON(e) {
19099
19099
  return e.fallback;
19100
19100
  }, void 0, void 0);
19101
19101
  }
19102
- function AN(e) {
19102
+ function ON(e) {
19103
19103
  let t = !1;
19104
19104
  const r = (i, s) => i[0] === s[0] && (t ? i[1] === s[1] : !i[1] == !s[1]) && i[2] === s[2], n = R0(() => e.children), o = Nt(() => {
19105
19105
  let i = n();
@@ -19118,14 +19118,14 @@ function AN(e) {
19118
19118
  if (i < 0)
19119
19119
  return e.fallback;
19120
19120
  const c = a.children;
19121
- return typeof c == "function" && c.length > 0 ? lt(() => c(t ? s : () => {
19122
- if (lt(o)[0] !== i)
19121
+ return typeof c == "function" && c.length > 0 ? ct(() => c(t ? s : () => {
19122
+ if (ct(o)[0] !== i)
19123
19123
  throw F0("Match");
19124
19124
  return a.when;
19125
19125
  })) : c;
19126
19126
  }, void 0, void 0);
19127
19127
  }
19128
- function xN(e) {
19128
+ function AN(e) {
19129
19129
  return e;
19130
19130
  }
19131
19131
  var L1 = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"], k1 = /* @__PURE__ */ new Set(["className", "value", "readOnly", "formNoValidate", "isMap", "noModule", "playsInline", ...L1]), M1 = /* @__PURE__ */ new Set(["innerHTML", "textContent", "innerText", "children"]), F1 = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
@@ -19295,12 +19295,12 @@ function q1(e, t, r, n = {}) {
19295
19295
  o(), t.textContent = "";
19296
19296
  };
19297
19297
  }
19298
- function CN(e, t, r) {
19298
+ function xN(e, t, r) {
19299
19299
  let n;
19300
19300
  const o = () => {
19301
19301
  const s = document.createElement("template");
19302
19302
  return s.innerHTML = e, r ? s.content.firstChild.firstChild : s.content.firstChild;
19303
- }, i = t ? () => lt(() => document.importNode(n || (n = o()), !0)) : () => (n || (n = o())).cloneNode(!0);
19303
+ }, i = t ? () => ct(() => document.importNode(n || (n = o()), !0)) : () => (n || (n = o())).cloneNode(!0);
19304
19304
  return i.cloneNode = i, i;
19305
19305
  }
19306
19306
  function G1(e, t = window.document) {
@@ -19359,8 +19359,8 @@ function K1(e, t = {}, r, n) {
19359
19359
  const o = {};
19360
19360
  return n || ui(() => o.children = po(e, t.children, o.children)), ui(() => t.ref && t.ref(e)), ui(() => X1(e, t, r, !0, o, !0)), o;
19361
19361
  }
19362
- function RN(e, t, r) {
19363
- return lt(() => e(t, r));
19362
+ function CN(e, t, r) {
19363
+ return ct(() => e(t, r));
19364
19364
  }
19365
19365
  function vf(e, t, r, n) {
19366
19366
  if (r !== void 0 && !n && (n = []), typeof t != "function")
@@ -19574,7 +19574,7 @@ var rR = "http://www.w3.org/2000/svg";
19574
19574
  function D0(e, t = !1) {
19575
19575
  return t ? document.createElementNS(rR, e) : document.createElement(e);
19576
19576
  }
19577
- function PN(e) {
19577
+ function RN(e) {
19578
19578
  const {
19579
19579
  useShadow: t
19580
19580
  } = e, r = document.createTextNode(""), n = () => e.mount || document.body, o = bm();
@@ -19600,7 +19600,7 @@ function PN(e) {
19600
19600
  render: !s
19601
19601
  }), r;
19602
19602
  }
19603
- function NN(e) {
19603
+ function PN(e) {
19604
19604
  const [t, r] = P1(e, ["component"]), n = Nt(() => t.component);
19605
19605
  return Nt(() => {
19606
19606
  const o = n();
@@ -19608,7 +19608,7 @@ function NN(e) {
19608
19608
  case "function":
19609
19609
  return Object.assign(o, {
19610
19610
  [m1]: !0
19611
- }), lt(() => o(r));
19611
+ }), ct(() => o(r));
19612
19612
  case "string":
19613
19613
  const i = $1.has(o), s = ve.context ? J1() : D0(o, i);
19614
19614
  return K1(s, r, i), s;
@@ -19661,7 +19661,7 @@ var eo, Ka, Xa, Ja, ii, to, ro, no, io, oo, Za, Qm, nR = (Qm = class {
19661
19661
  const t = q1(() => {
19662
19662
  const [r] = N(this, to), [n] = N(this, ro), [o] = N(this, no), [i] = N(this, io), [s] = N(this, eo);
19663
19663
  let a;
19664
- N(this, oo) ? a = N(this, oo) : (a = N1(() => import("./4TNE5QTO-10618179.mjs")), J(this, oo, a));
19664
+ N(this, oo) ? a = N(this, oo) : (a = N1(() => import("./4TNE5QTO-29f4faa2.mjs")), J(this, oo, a));
19665
19665
  const c = this;
19666
19666
  return x1(a, R1({
19667
19667
  get queryFlavor() {
@@ -19730,20 +19730,23 @@ function iR(e) {
19730
19730
  var oR = process.env.NODE_ENV !== "development" ? function() {
19731
19731
  return null;
19732
19732
  } : iR;
19733
- const aR = new YC({
19734
- // default options we would like on all queries can be overridden individually
19735
- defaultOptions: {
19736
- queries: {
19737
- // data should not refetch if the window is refocussed
19738
- refetchOnWindowFocus: !1,
19739
- // data should go stale after 1 minute
19740
- staleTime: 1e3 * 60
19741
- }
19742
- }
19743
- }), IN = ({ showDevTools: e, children: t }) => /* @__PURE__ */ ie(e1, { client: aR, children: [
19744
- t,
19745
- e && /* @__PURE__ */ C(oR, { initialIsOpen: !1 })
19746
- ] });
19733
+ const NN = ({ showDevTools: e, children: t }) => {
19734
+ const r = new YC({
19735
+ // default options we would like on all queries can be overridden individually
19736
+ defaultOptions: {
19737
+ queries: {
19738
+ // data should not refetch if the window is refocussed
19739
+ refetchOnWindowFocus: !1,
19740
+ // data should go stale after 1 minute
19741
+ staleTime: 6e4
19742
+ }
19743
+ }
19744
+ });
19745
+ return /* @__PURE__ */ ie(e1, { client: r, children: [
19746
+ t,
19747
+ e && /* @__PURE__ */ C(oR, { initialIsOpen: !1 })
19748
+ ] });
19749
+ };
19747
19750
  const fl = "joinCommunityButton", B0 = ({ isMember: e = !1, isShort: t = !1, functions: { join: r, leave: n } = { join: () => {
19748
19751
  }, leave: () => {
19749
19752
  } } }) => {
@@ -19769,7 +19772,7 @@ const fl = "joinCommunityButton", B0 = ({ isMember: e = !1, isShort: t = !1, fun
19769
19772
  }
19770
19773
  );
19771
19774
  };
19772
- const hl = "communityDetails_", LN = ({ isMember: e = !1, slug: t, members: { number: r, data: n } = { number: void 0, data: [] }, className: o = "", ...i }) => {
19775
+ const hl = "communityDetails_", IN = ({ isMember: e = !1, slug: t, members: { number: r, data: n } = { number: void 0, data: [] }, className: o = "", ...i }) => {
19773
19776
  const s = xe(), a = r || (n == null ? void 0 : n.length) || 0;
19774
19777
  return /* @__PURE__ */ ie("div", { className: ue("community-details", o), children: [
19775
19778
  /* @__PURE__ */ C(Fl, {}),
@@ -19787,12 +19790,12 @@ const hl = "communityDetails_", LN = ({ isMember: e = !1, slug: t, members: { nu
19787
19790
  e && /* @__PURE__ */ C(et, { variant: "primary", icon: { icon: "plus" }, styling: { fullWidth: !0 }, children: s.formatMessage({ id: `${hl}invite` }) })
19788
19791
  ] });
19789
19792
  };
19790
- const kN = ({
19793
+ const LN = ({
19791
19794
  breadcrumbs: e,
19792
19795
  className: t = ""
19793
19796
  }) => {
19794
19797
  const r = xe();
19795
- return /* @__PURE__ */ ie(ct, { children: [
19798
+ return /* @__PURE__ */ ie(pt, { children: [
19796
19799
  /* @__PURE__ */ C(_t, { element: "p", children: r.formatMessage({ id: "breadcrumbs_label" }) }),
19797
19800
  /* @__PURE__ */ C("ul", { className: ue("breadcrumbs text-small", t), children: e.map(({ text: n, href: o, current: i = !1 }, s) => /* @__PURE__ */ ie("li", { children: [
19798
19801
  i && /* @__PURE__ */ C(_t, { element: "span", children: r.formatMessage({ id: "breadcrumbs_currentPage" }) }),
@@ -19800,7 +19803,7 @@ const kN = ({
19800
19803
  ] }, `${window.btoa(n)}_${s}`)) })
19801
19804
  ] });
19802
19805
  };
19803
- const MN = ({
19806
+ const kN = ({
19804
19807
  options: e,
19805
19808
  allOption: t = !1,
19806
19809
  allowMultiple: r = !0,
@@ -19828,7 +19831,7 @@ const MN = ({
19828
19831
  ) }, u);
19829
19832
  }) });
19830
19833
  };
19831
- const dl = Ql({ locale: "en", messages: $f }), sR = ({
19834
+ const dl = Ql({ locale: "en", messages: $f }), aR = ({
19832
19835
  page: e = 1,
19833
19836
  length: t = 0,
19834
19837
  limit: r = 10,
@@ -19871,7 +19874,7 @@ const dl = Ql({ locale: "en", messages: $f }), sR = ({
19871
19874
  ] });
19872
19875
  };
19873
19876
  let ks = !1;
19874
- const uR = ({ element: e = "div", id: t = "more-menu", options: r, className: n = "" }) => {
19877
+ const sR = ({ element: e = "div", id: t = "more-menu", options: r, className: n = "" }) => {
19875
19878
  const o = xe(), i = Ke(null), [s, a] = Ae(!1), c = (l) => {
19876
19879
  i.current && l.target instanceof HTMLElement && !i.current.contains(l.target) && a(!1);
19877
19880
  };
@@ -19880,7 +19883,7 @@ const uR = ({ element: e = "div", id: t = "more-menu", options: r, className: n
19880
19883
  })), Re.createElement(e, {
19881
19884
  ref: i,
19882
19885
  className: ue("more-menu text-medium", n),
19883
- children: /* @__PURE__ */ ie(ct, { children: [
19886
+ children: /* @__PURE__ */ ie(pt, { children: [
19884
19887
  /* @__PURE__ */ C(
19885
19888
  et,
19886
19889
  {
@@ -19924,14 +19927,14 @@ const uR = ({ element: e = "div", id: t = "more-menu", options: r, className: n
19924
19927
  });
19925
19928
  };
19926
19929
  const U0 = ({ variant: e = "default", version: t = "default", className: r = "", ...n }) => /* @__PURE__ */ C("p", { className: "logo-wrapper", children: /* @__PURE__ */ C("a", { className: ue("logo", e, t, r), href: "/home/", ...n, children: /* @__PURE__ */ C(_t, { children: /* @__PURE__ */ C(pn, { id: "apolitical" }) }) }) });
19927
- const cR = {
19930
+ const uR = {
19928
19931
  "2-1": 901
19929
- }, FN = ({ layout: e = "2-1", hideOnMobile: t = !1, className: r = "", children: n }) => {
19932
+ }, MN = ({ layout: e = "2-1", hideOnMobile: t = !1, className: r = "", children: n }) => {
19930
19933
  const o = mu(!0);
19931
19934
  let i = n;
19932
- return Re.Children.count(n) === 1 && (i = Re.Children.toArray(n)[0], i.props && (i = i.props.children)), /* @__PURE__ */ C("section", { className: ue("columns", `layout-${e}`, r), children: Re.Children.map(i, (s, a) => t !== !1 && a === t && o && o < cR[e] ? null : s) });
19935
+ return Re.Children.count(n) === 1 && (i = Re.Children.toArray(n)[0], i.props && (i = i.props.children)), /* @__PURE__ */ C("section", { className: ue("columns", `layout-${e}`, r), children: Re.Children.map(i, (s, a) => t !== !1 && a === t && o && o < uR[e] ? null : s) });
19933
19936
  };
19934
- const pl = "cookieBanner_", ml = ["apol-cookie-banner", "apolitical-performance-cookie-consent", "functional-cookie-consent"], gl = new Date(Date.now() + 12 * 30 * 24 * 60 * 60 * 1e3), lR = () => {
19937
+ const pl = "cookieBanner_", ml = ["apol-cookie-banner", "apolitical-performance-cookie-consent", "functional-cookie-consent"], gl = new Date(Date.now() + 12 * 30 * 24 * 60 * 60 * 1e3), cR = () => {
19935
19938
  const e = xe(), [t, r, n] = ng(ml), [o, i] = Ae(!t["apol-cookie-banner"]), s = () => {
19936
19939
  ml.forEach((u) => {
19937
19940
  r(u, !0, {
@@ -20142,7 +20145,7 @@ const Mi = "footer_", au = "SiteFooter", Am = ({ group: e }) => {
20142
20145
  /* @__PURE__ */ C("small", { children: /* @__PURE__ */ C(pn, { id: `${Mi}copyright`, values: { currentYear: (/* @__PURE__ */ new Date()).getFullYear() } }) })
20143
20146
  ] })
20144
20147
  ] }) });
20145
- const Ms = "emailHelperTextBox_", DN = ({ type: e, email: t, redirectPath: r, resendVerificationCode: n }) => {
20148
+ const Ms = "emailHelperTextBox_", FN = ({ type: e, email: t, redirectPath: r, resendVerificationCode: n }) => {
20146
20149
  const o = xe(), [i, s] = Ae({ path: `${Ms}default`, type: "default", link: {}, mail: {}, error: "" }), [a, c] = Ae(!1), l = yn(
20147
20150
  (f) => {
20148
20151
  f.preventDefault(), f.stopPropagation();
@@ -20242,7 +20245,7 @@ const Ms = "emailHelperTextBox_", DN = ({ type: e, email: t, redirectPath: r, re
20242
20245
  const u = {};
20243
20246
  return ["link", "mail"].forEach((f) => {
20244
20247
  u[f] = Object.keys(i[f]).length ? (p) => /* @__PURE__ */ C("a", { ...i[f], children: p }) : (p) => p;
20245
- }), /* @__PURE__ */ C(_C, { type: i.type, heading: a ? !1 : o.formatMessage({ id: `${i.path}_title` }), children: a ? /* @__PURE__ */ ie(ct, { children: [
20248
+ }), /* @__PURE__ */ C(_C, { type: i.type, heading: a ? !1 : o.formatMessage({ id: `${i.path}_title` }), children: a ? /* @__PURE__ */ ie(pt, { children: [
20246
20249
  /* @__PURE__ */ C(Gr, { element: "span" }),
20247
20250
  /* @__PURE__ */ C(Gr, { element: "span" })
20248
20251
  ] }) : (
@@ -20255,7 +20258,7 @@ const Ms = "emailHelperTextBox_", DN = ({ type: e, email: t, redirectPath: r, re
20255
20258
  ...u,
20256
20259
  strong: (f) => /* @__PURE__ */ C("strong", { children: f }),
20257
20260
  em: (f) => /* @__PURE__ */ C("em", { children: f }),
20258
- br: /* @__PURE__ */ ie(ct, { children: [
20261
+ br: /* @__PURE__ */ ie(pt, { children: [
20259
20262
  /* @__PURE__ */ C("br", {}),
20260
20263
  /* @__PURE__ */ C("br", {})
20261
20264
  ] }),
@@ -20264,11 +20267,11 @@ const Ms = "emailHelperTextBox_", DN = ({ type: e, email: t, redirectPath: r, re
20264
20267
  )
20265
20268
  ) });
20266
20269
  };
20267
- const Fs = "passwordRules_", H0 = "isMoreThanEightCharacters", j0 = "includesNumberAndSymbol", q0 = "includesLowerAndUppercase", fR = {
20270
+ const Fs = "passwordRules_", H0 = "isMoreThanEightCharacters", j0 = "includesNumberAndSymbol", q0 = "includesLowerAndUppercase", lR = {
20268
20271
  [H0]: "8Characters",
20269
20272
  [j0]: "numberSymbol",
20270
20273
  [q0]: "lowercaseUppercase"
20271
- }, hR = ({ matchingRules: e = { isMoreThanEightCharacters: !1, includesNumberAndSymbol: !1, includesLowerAndUppercase: !1 }, className: t = "" }) => {
20274
+ }, fR = ({ matchingRules: e = { isMoreThanEightCharacters: !1, includesNumberAndSymbol: !1, includesLowerAndUppercase: !1 }, className: t = "" }) => {
20272
20275
  const r = xe();
20273
20276
  return /* @__PURE__ */ ie("aside", { className: ue("password-rules", t), children: [
20274
20277
  /* @__PURE__ */ C("small", { children: r.formatMessage({ id: `${Fs}intro` }) }),
@@ -20277,7 +20280,7 @@ const Fs = "passwordRules_", H0 = "isMoreThanEightCharacters", j0 = "includesNum
20277
20280
  r.formatMessage({ id: `${Fs}rule_label` }),
20278
20281
  " "
20279
20282
  ] }),
20280
- /* @__PURE__ */ C("span", { children: r.formatMessage({ id: `${Fs}rule_${fR[n]}` }) }),
20283
+ /* @__PURE__ */ C("span", { children: r.formatMessage({ id: `${Fs}rule_${lR[n]}` }) }),
20281
20284
  !e[n] && /* @__PURE__ */ ie(_t, { element: "strong", children: [
20282
20285
  " ",
20283
20286
  " ",
@@ -20285,8 +20288,8 @@ const Fs = "passwordRules_", H0 = "isMoreThanEightCharacters", j0 = "includesNum
20285
20288
  ] })
20286
20289
  ] }, `rule-${n}`)) })
20287
20290
  ] });
20288
- }, BN = mo(hR);
20289
- const UN = ({
20291
+ }, DN = mo(fR);
20292
+ const BN = ({
20290
20293
  text: e = {},
20291
20294
  topRating: t = 5,
20292
20295
  functions: { createRating: r = () => null, updateRating: n = () => {
@@ -20346,7 +20349,7 @@ const UN = ({
20346
20349
  }) })
20347
20350
  ] });
20348
20351
  };
20349
- const dR = ({
20352
+ const hR = ({
20350
20353
  id: e = "search",
20351
20354
  className: t = "",
20352
20355
  handleToggle: r = !1,
@@ -20400,11 +20403,11 @@ const dR = ({
20400
20403
  }
20401
20404
  );
20402
20405
  };
20403
- var pR = "Expected a function", G0 = "__lodash_hash_undefined__", V0 = 1 / 0, mR = "[object Function]", gR = "[object GeneratorFunction]", yR = "[object Symbol]", vR = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, _R = /^\w*$/, ER = /^\./, bR = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, wR = /[\\^$.*+?()[\]{}|]/g, SR = /\\(\\)?/g, TR = /^\[object .+?Constructor\]$/, OR = typeof de == "object" && de && de.Object === Object && de, AR = typeof self == "object" && self && self.Object === Object && self, Jf = OR || AR || Function("return this")();
20404
- function xR(e, t) {
20406
+ var dR = "Expected a function", G0 = "__lodash_hash_undefined__", V0 = 1 / 0, pR = "[object Function]", mR = "[object GeneratorFunction]", gR = "[object Symbol]", yR = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, vR = /^\w*$/, _R = /^\./, ER = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, bR = /[\\^$.*+?()[\]{}|]/g, wR = /\\(\\)?/g, SR = /^\[object .+?Constructor\]$/, TR = typeof de == "object" && de && de.Object === Object && de, OR = typeof self == "object" && self && self.Object === Object && self, Jf = TR || OR || Function("return this")();
20407
+ function AR(e, t) {
20405
20408
  return e == null ? void 0 : e[t];
20406
20409
  }
20407
- function CR(e) {
20410
+ function xR(e) {
20408
20411
  var t = !1;
20409
20412
  if (e != null && typeof e.toString != "function")
20410
20413
  try {
@@ -20413,12 +20416,12 @@ function CR(e) {
20413
20416
  }
20414
20417
  return t;
20415
20418
  }
20416
- var RR = Array.prototype, PR = Function.prototype, W0 = Object.prototype, yl = Jf["__core-js_shared__"], xm = function() {
20419
+ var CR = Array.prototype, RR = Function.prototype, W0 = Object.prototype, yl = Jf["__core-js_shared__"], xm = function() {
20417
20420
  var e = /[^.]+$/.exec(yl && yl.keys && yl.keys.IE_PROTO || "");
20418
20421
  return e ? "Symbol(src)_1." + e : "";
20419
- }(), z0 = PR.toString, Zf = W0.hasOwnProperty, Q0 = W0.toString, NR = RegExp(
20420
- "^" + z0.call(Zf).replace(wR, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
20421
- ), Cm = Jf.Symbol, IR = RR.splice, LR = Y0(Jf, "Map"), Da = Y0(Object, "create"), Rm = Cm ? Cm.prototype : void 0, Pm = Rm ? Rm.toString : void 0;
20422
+ }(), z0 = RR.toString, Zf = W0.hasOwnProperty, Q0 = W0.toString, PR = RegExp(
20423
+ "^" + z0.call(Zf).replace(bR, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
20424
+ ), Cm = Jf.Symbol, NR = CR.splice, IR = Y0(Jf, "Map"), Da = Y0(Object, "create"), Rm = Cm ? Cm.prototype : void 0, Pm = Rm ? Rm.toString : void 0;
20422
20425
  function fi(e) {
20423
20426
  var t = -1, r = e ? e.length : 0;
20424
20427
  for (this.clear(); ++t < r; ) {
@@ -20426,13 +20429,13 @@ function fi(e) {
20426
20429
  this.set(n[0], n[1]);
20427
20430
  }
20428
20431
  }
20429
- function kR() {
20432
+ function LR() {
20430
20433
  this.__data__ = Da ? Da(null) : {};
20431
20434
  }
20432
- function MR(e) {
20435
+ function kR(e) {
20433
20436
  return this.has(e) && delete this.__data__[e];
20434
20437
  }
20435
- function FR(e) {
20438
+ function MR(e) {
20436
20439
  var t = this.__data__;
20437
20440
  if (Da) {
20438
20441
  var r = t[e];
@@ -20440,19 +20443,19 @@ function FR(e) {
20440
20443
  }
20441
20444
  return Zf.call(t, e) ? t[e] : void 0;
20442
20445
  }
20443
- function DR(e) {
20446
+ function FR(e) {
20444
20447
  var t = this.__data__;
20445
20448
  return Da ? t[e] !== void 0 : Zf.call(t, e);
20446
20449
  }
20447
- function BR(e, t) {
20450
+ function DR(e, t) {
20448
20451
  var r = this.__data__;
20449
20452
  return r[e] = Da && t === void 0 ? G0 : t, this;
20450
20453
  }
20451
- fi.prototype.clear = kR;
20452
- fi.prototype.delete = MR;
20453
- fi.prototype.get = FR;
20454
- fi.prototype.has = DR;
20455
- fi.prototype.set = BR;
20454
+ fi.prototype.clear = LR;
20455
+ fi.prototype.delete = kR;
20456
+ fi.prototype.get = MR;
20457
+ fi.prototype.has = FR;
20458
+ fi.prototype.set = DR;
20456
20459
  function To(e) {
20457
20460
  var t = -1, r = e ? e.length : 0;
20458
20461
  for (this.clear(); ++t < r; ) {
@@ -20460,32 +20463,32 @@ function To(e) {
20460
20463
  this.set(n[0], n[1]);
20461
20464
  }
20462
20465
  }
20463
- function UR() {
20466
+ function BR() {
20464
20467
  this.__data__ = [];
20465
20468
  }
20466
- function $R(e) {
20469
+ function UR(e) {
20467
20470
  var t = this.__data__, r = xu(t, e);
20468
20471
  if (r < 0)
20469
20472
  return !1;
20470
20473
  var n = t.length - 1;
20471
- return r == n ? t.pop() : IR.call(t, r, 1), !0;
20474
+ return r == n ? t.pop() : NR.call(t, r, 1), !0;
20472
20475
  }
20473
- function HR(e) {
20476
+ function $R(e) {
20474
20477
  var t = this.__data__, r = xu(t, e);
20475
20478
  return r < 0 ? void 0 : t[r][1];
20476
20479
  }
20477
- function jR(e) {
20480
+ function HR(e) {
20478
20481
  return xu(this.__data__, e) > -1;
20479
20482
  }
20480
- function qR(e, t) {
20483
+ function jR(e, t) {
20481
20484
  var r = this.__data__, n = xu(r, e);
20482
20485
  return n < 0 ? r.push([e, t]) : r[n][1] = t, this;
20483
20486
  }
20484
- To.prototype.clear = UR;
20485
- To.prototype.delete = $R;
20486
- To.prototype.get = HR;
20487
- To.prototype.has = jR;
20488
- To.prototype.set = qR;
20487
+ To.prototype.clear = BR;
20488
+ To.prototype.delete = UR;
20489
+ To.prototype.get = $R;
20490
+ To.prototype.has = HR;
20491
+ To.prototype.set = jR;
20489
20492
  function pi(e) {
20490
20493
  var t = -1, r = e ? e.length : 0;
20491
20494
  for (this.clear(); ++t < r; ) {
@@ -20493,49 +20496,49 @@ function pi(e) {
20493
20496
  this.set(n[0], n[1]);
20494
20497
  }
20495
20498
  }
20496
- function GR() {
20499
+ function qR() {
20497
20500
  this.__data__ = {
20498
20501
  hash: new fi(),
20499
- map: new (LR || To)(),
20502
+ map: new (IR || To)(),
20500
20503
  string: new fi()
20501
20504
  };
20502
20505
  }
20503
- function VR(e) {
20506
+ function GR(e) {
20504
20507
  return Cu(this, e).delete(e);
20505
20508
  }
20506
- function WR(e) {
20509
+ function VR(e) {
20507
20510
  return Cu(this, e).get(e);
20508
20511
  }
20509
- function zR(e) {
20512
+ function WR(e) {
20510
20513
  return Cu(this, e).has(e);
20511
20514
  }
20512
- function QR(e, t) {
20515
+ function zR(e, t) {
20513
20516
  return Cu(this, e).set(e, t), this;
20514
20517
  }
20515
- pi.prototype.clear = GR;
20516
- pi.prototype.delete = VR;
20517
- pi.prototype.get = WR;
20518
- pi.prototype.has = zR;
20519
- pi.prototype.set = QR;
20518
+ pi.prototype.clear = qR;
20519
+ pi.prototype.delete = GR;
20520
+ pi.prototype.get = VR;
20521
+ pi.prototype.has = WR;
20522
+ pi.prototype.set = zR;
20520
20523
  function xu(e, t) {
20521
20524
  for (var r = e.length; r--; )
20522
- if (oP(e[r][0], t))
20525
+ if (iP(e[r][0], t))
20523
20526
  return r;
20524
20527
  return -1;
20525
20528
  }
20526
- function YR(e, t) {
20527
- t = ZR(t, e) ? [t] : JR(t);
20529
+ function QR(e, t) {
20530
+ t = JR(t, e) ? [t] : XR(t);
20528
20531
  for (var r = 0, n = t.length; e != null && r < n; )
20529
- e = e[nP(t[r++])];
20532
+ e = e[rP(t[r++])];
20530
20533
  return r && r == n ? e : void 0;
20531
20534
  }
20532
- function KR(e) {
20533
- if (!X0(e) || tP(e))
20535
+ function YR(e) {
20536
+ if (!X0(e) || eP(e))
20534
20537
  return !1;
20535
- var t = aP(e) || CR(e) ? NR : TR;
20536
- return t.test(iP(e));
20538
+ var t = oP(e) || xR(e) ? PR : SR;
20539
+ return t.test(nP(e));
20537
20540
  }
20538
- function XR(e) {
20541
+ function KR(e) {
20539
20542
  if (typeof e == "string")
20540
20543
  return e;
20541
20544
  if (th(e))
@@ -20543,44 +20546,44 @@ function XR(e) {
20543
20546
  var t = e + "";
20544
20547
  return t == "0" && 1 / e == -V0 ? "-0" : t;
20545
20548
  }
20546
- function JR(e) {
20547
- return K0(e) ? e : rP(e);
20549
+ function XR(e) {
20550
+ return K0(e) ? e : tP(e);
20548
20551
  }
20549
20552
  function Cu(e, t) {
20550
20553
  var r = e.__data__;
20551
- return eP(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
20554
+ return ZR(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
20552
20555
  }
20553
20556
  function Y0(e, t) {
20554
- var r = xR(e, t);
20555
- return KR(r) ? r : void 0;
20557
+ var r = AR(e, t);
20558
+ return YR(r) ? r : void 0;
20556
20559
  }
20557
- function ZR(e, t) {
20560
+ function JR(e, t) {
20558
20561
  if (K0(e))
20559
20562
  return !1;
20560
20563
  var r = typeof e;
20561
- return r == "number" || r == "symbol" || r == "boolean" || e == null || th(e) ? !0 : _R.test(e) || !vR.test(e) || t != null && e in Object(t);
20564
+ return r == "number" || r == "symbol" || r == "boolean" || e == null || th(e) ? !0 : vR.test(e) || !yR.test(e) || t != null && e in Object(t);
20562
20565
  }
20563
- function eP(e) {
20566
+ function ZR(e) {
20564
20567
  var t = typeof e;
20565
20568
  return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
20566
20569
  }
20567
- function tP(e) {
20570
+ function eP(e) {
20568
20571
  return !!xm && xm in e;
20569
20572
  }
20570
- var rP = eh(function(e) {
20571
- e = uP(e);
20573
+ var tP = eh(function(e) {
20574
+ e = sP(e);
20572
20575
  var t = [];
20573
- return ER.test(e) && t.push(""), e.replace(bR, function(r, n, o, i) {
20574
- t.push(o ? i.replace(SR, "$1") : n || r);
20576
+ return _R.test(e) && t.push(""), e.replace(ER, function(r, n, o, i) {
20577
+ t.push(o ? i.replace(wR, "$1") : n || r);
20575
20578
  }), t;
20576
20579
  });
20577
- function nP(e) {
20580
+ function rP(e) {
20578
20581
  if (typeof e == "string" || th(e))
20579
20582
  return e;
20580
20583
  var t = e + "";
20581
20584
  return t == "0" && 1 / e == -V0 ? "-0" : t;
20582
20585
  }
20583
- function iP(e) {
20586
+ function nP(e) {
20584
20587
  if (e != null) {
20585
20588
  try {
20586
20589
  return z0.call(e);
@@ -20595,7 +20598,7 @@ function iP(e) {
20595
20598
  }
20596
20599
  function eh(e, t) {
20597
20600
  if (typeof e != "function" || t && typeof t != "function")
20598
- throw new TypeError(pR);
20601
+ throw new TypeError(dR);
20599
20602
  var r = function() {
20600
20603
  var n = arguments, o = t ? t.apply(this, n) : n[0], i = r.cache;
20601
20604
  if (i.has(o))
@@ -20606,33 +20609,33 @@ function eh(e, t) {
20606
20609
  return r.cache = new (eh.Cache || pi)(), r;
20607
20610
  }
20608
20611
  eh.Cache = pi;
20609
- function oP(e, t) {
20612
+ function iP(e, t) {
20610
20613
  return e === t || e !== e && t !== t;
20611
20614
  }
20612
20615
  var K0 = Array.isArray;
20613
- function aP(e) {
20616
+ function oP(e) {
20614
20617
  var t = X0(e) ? Q0.call(e) : "";
20615
- return t == mR || t == gR;
20618
+ return t == pR || t == mR;
20616
20619
  }
20617
20620
  function X0(e) {
20618
20621
  var t = typeof e;
20619
20622
  return !!e && (t == "object" || t == "function");
20620
20623
  }
20621
- function sP(e) {
20624
+ function aP(e) {
20622
20625
  return !!e && typeof e == "object";
20623
20626
  }
20624
20627
  function th(e) {
20625
- return typeof e == "symbol" || sP(e) && Q0.call(e) == yR;
20628
+ return typeof e == "symbol" || aP(e) && Q0.call(e) == gR;
20626
20629
  }
20627
- function uP(e) {
20628
- return e == null ? "" : XR(e);
20630
+ function sP(e) {
20631
+ return e == null ? "" : KR(e);
20629
20632
  }
20630
- function cP(e, t, r) {
20631
- var n = e == null ? void 0 : YR(e, t);
20633
+ function uP(e, t, r) {
20634
+ var n = e == null ? void 0 : QR(e, t);
20632
20635
  return n === void 0 ? r : n;
20633
20636
  }
20634
- var lP = cP;
20635
- const J0 = /* @__PURE__ */ wr(lP), Be = {
20637
+ var cP = uP;
20638
+ const J0 = /* @__PURE__ */ wr(cP), Be = {
20636
20639
  timeouts: {},
20637
20640
  handlerCalled: {},
20638
20641
  getIsDesktopVersion: (e, t) => {
@@ -20889,7 +20892,7 @@ const J0 = /* @__PURE__ */ wr(lP), Be = {
20889
20892
  }) })
20890
20893
  ] }, e);
20891
20894
  };
20892
- const fP = { height: 67, height_desktop: 83 }, Z0 = () => {
20895
+ const lP = { height: 67, height_desktop: 83 }, Z0 = () => {
20893
20896
  const e = xe(), t = qr(bn), r = mu(!0, !0), n = t && typeof t.id == "string", o = Fi(
20894
20897
  () => Be.getIsDesktopVersion(n, r),
20895
20898
  [n, r]
@@ -20902,7 +20905,7 @@ const fP = { height: 67, height_desktop: 83 }, Z0 = () => {
20902
20905
  }
20903
20906
  }), { headerIsVisible: a, menus: c, focusElements: l } = i;
20904
20907
  PT({
20905
- scrollPosition: fP[`height${o.navigation ? "_desktop" : ""}`],
20908
+ scrollPosition: lP[`height${o.navigation ? "_desktop" : ""}`],
20906
20909
  callbacks: {
20907
20910
  scrollUp: () => {
20908
20911
  !o && c.navigation || Be.shouldChangeHeaderIsVisible(!0, c, s);
@@ -20931,7 +20934,7 @@ const fP = { height: 67, height_desktop: 83 }, Z0 = () => {
20931
20934
  focusElements: l,
20932
20935
  dispatch: s
20933
20936
  });
20934
- }, [c.account]), t && t.isLoading ? null : /* @__PURE__ */ ie(ct, { children: [
20937
+ }, [c.account]), t && t.isLoading ? null : /* @__PURE__ */ ie(pt, { children: [
20935
20938
  /* @__PURE__ */ ie("nav", { id: "header", className: ue({ "logged-in": n, "logged-out": !n, visible: a }), children: [
20936
20939
  /* @__PURE__ */ C(_t, { element: "a", href: "#content-of-page", children: e.formatMessage({ id: "header_skip" }) }),
20937
20940
  /* @__PURE__ */ C(U0, {}),
@@ -20985,7 +20988,7 @@ const fP = { height: 67, height_desktop: 83 }, Z0 = () => {
20985
20988
  }
20986
20989
  ),
20987
20990
  /* @__PURE__ */ C(
20988
- dR,
20991
+ hR,
20989
20992
  {
20990
20993
  id: "global-search",
20991
20994
  handleToggle: { searchIsOpen: c.search, isDesktopVersion: o.search },
@@ -21018,11 +21021,11 @@ const fP = { height: 67, height_desktop: 83 }, Z0 = () => {
21018
21021
  }
21019
21022
  )
21020
21023
  ] });
21021
- }, hP = wf(null), vl = {
21024
+ }, fP = wf(null), vl = {
21022
21025
  didCatch: !1,
21023
21026
  error: null
21024
21027
  };
21025
- class dP extends l_ {
21028
+ class hP extends l_ {
21026
21029
  constructor(t) {
21027
21030
  super(t), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = vl;
21028
21031
  }
@@ -21055,7 +21058,7 @@ class dP extends l_ {
21055
21058
  } = this.state, {
21056
21059
  resetKeys: o
21057
21060
  } = this.props;
21058
- if (n && r.error !== null && pP(t.resetKeys, o)) {
21061
+ if (n && r.error !== null && dP(t.resetKeys, o)) {
21059
21062
  var i, s;
21060
21063
  (i = (s = this.props).onReset) === null || i === void 0 || i.call(s, {
21061
21064
  next: o,
@@ -21089,7 +21092,7 @@ class dP extends l_ {
21089
21092
  else
21090
21093
  throw s;
21091
21094
  }
21092
- return oh(hP.Provider, {
21095
+ return oh(fP.Provider, {
21093
21096
  value: {
21094
21097
  didCatch: i,
21095
21098
  error: s,
@@ -21098,24 +21101,24 @@ class dP extends l_ {
21098
21101
  }, a);
21099
21102
  }
21100
21103
  }
21101
- function pP() {
21104
+ function dP() {
21102
21105
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
21103
21106
  return e.length !== t.length || e.some((r, n) => !Object.is(r, t[n]));
21104
21107
  }
21105
- const mP = () => {
21108
+ const pP = () => {
21106
21109
  const e = xe();
21107
- return /* @__PURE__ */ ie(ct, { children: [
21110
+ return /* @__PURE__ */ ie(pt, { children: [
21108
21111
  /* @__PURE__ */ C(Z0, {}),
21109
21112
  /* @__PURE__ */ C("div", { className: "content", children: /* @__PURE__ */ C(wu, { variant: "error", text: e.formatMessage({ id: "pageLayout_error" }) }) }),
21110
21113
  /* @__PURE__ */ C($0, {})
21111
21114
  ] });
21112
- }, $N = ({ children: e, reportError: t, showFooter: r = !0, background: n = "default", className: o = "", locale: i = "en" }) => {
21115
+ }, UN = ({ children: e, reportError: t, showFooter: r = !0, background: n = "default", className: o = "", locale: i = "en" }) => {
21113
21116
  const s = uv(e, { locale: i });
21114
- return /* @__PURE__ */ C(dP, { onError: t, fallback: /* @__PURE__ */ C(mP, {}), children: /* @__PURE__ */ C(h_, { fallback: /* @__PURE__ */ C(NC, { layout: "overview-page" }), children: /* @__PURE__ */ C("div", { id: "wrapper", className: ue(o, { [n]: n !== "default" }), children: /* @__PURE__ */ ie(C_, { children: [
21117
+ return /* @__PURE__ */ C(hP, { onError: t, fallback: /* @__PURE__ */ C(pP, {}), children: /* @__PURE__ */ C(h_, { fallback: /* @__PURE__ */ C(NC, { layout: "overview-page" }), children: /* @__PURE__ */ C("div", { id: "wrapper", className: ue(o, { [n]: n !== "default" }), children: /* @__PURE__ */ ie(C_, { children: [
21115
21118
  /* @__PURE__ */ C(Z0, {}),
21116
21119
  /* @__PURE__ */ C("div", { className: "content", children: s }),
21117
21120
  r && /* @__PURE__ */ C($0, {}),
21118
- /* @__PURE__ */ C(lR, {})
21121
+ /* @__PURE__ */ C(cR, {})
21119
21122
  ] }) }) }) });
21120
21123
  }, Nm = {
21121
21124
  default: "tags_",
@@ -21136,7 +21139,7 @@ const mP = () => {
21136
21139
  WorkAndTheEconomy: "work-and-the-economy"
21137
21140
  },
21138
21141
  "from the community": "community"
21139
- }, gP = {
21142
+ }, mP = {
21140
21143
  getTagDetails: (e) => {
21141
21144
  if (e.includes("topic_")) {
21142
21145
  if (e = _l.topic[e.replace("topic_", "")], e) {
@@ -21148,7 +21151,7 @@ const mP = () => {
21148
21151
  return _l[e] ? (e = _l[e], { id: e, text: `${Nm.default}${e}` }) : null;
21149
21152
  }
21150
21153
  };
21151
- const HN = ({
21154
+ const $N = ({
21152
21155
  tags: e = [],
21153
21156
  color: t = "default",
21154
21157
  forceOneLine: r = !1,
@@ -21164,7 +21167,7 @@ const HN = ({
21164
21167
  return e.forEach((l) => {
21165
21168
  if (!l)
21166
21169
  return;
21167
- const u = gP.getTagDetails(l);
21170
+ const u = mP.getTagDetails(l);
21168
21171
  u && c.push(u);
21169
21172
  }), c.length < 1 ? null : /* @__PURE__ */ C("ul", { className: ue("tags text-small", t, o, { "one-line": r }), children: c.map((l) => {
21170
21173
  const u = a.formatMessage({ id: l.text });
@@ -21180,7 +21183,7 @@ const HN = ({
21180
21183
  ) : u }, l.id);
21181
21184
  }) });
21182
21185
  };
21183
- const jN = ({
21186
+ const HN = ({
21184
21187
  members: { total: e, data: t = [] },
21185
21188
  pagination: r,
21186
21189
  gtmContext: n = "member",
@@ -21198,7 +21201,7 @@ const jN = ({
21198
21201
  a.isAdmin && /* @__PURE__ */ C(xC, { children: s.formatMessage({ id: "membersList_admin" }) })
21199
21202
  ] }, c)) }),
21200
21203
  r && /* @__PURE__ */ C(
21201
- sR,
21204
+ aR,
21202
21205
  {
21203
21206
  ...r,
21204
21207
  icon: { icon: "arrow-down", position: "right" },
@@ -21217,7 +21220,7 @@ function Ef() {
21217
21220
  return e;
21218
21221
  }, Ef.apply(this, arguments);
21219
21222
  }
21220
- function yP(e, t) {
21223
+ function gP(e, t) {
21221
21224
  if (e == null)
21222
21225
  return {};
21223
21226
  var r = {}, n = Object.keys(e), o, i;
@@ -21225,9 +21228,9 @@ function yP(e, t) {
21225
21228
  o = n[i], !(t.indexOf(o) >= 0) && (r[o] = e[o]);
21226
21229
  return r;
21227
21230
  }
21228
- var vP = Ym, _P = function(t) {
21231
+ var yP = Ym, vP = function(t) {
21229
21232
  var r = pe.useRef(t);
21230
- return vP(function() {
21233
+ return yP(function() {
21231
21234
  r.current = t;
21232
21235
  }), r;
21233
21236
  }, Im = function(t, r) {
@@ -21236,7 +21239,7 @@ var vP = Ym, _P = function(t) {
21236
21239
  return;
21237
21240
  }
21238
21241
  t.current = r;
21239
- }, EP = function(t, r) {
21242
+ }, _P = function(t, r) {
21240
21243
  var n = Ke();
21241
21244
  return yn(function(o) {
21242
21245
  t.current = o, n.current && Im(n.current, null), n.current = r, r && Im(r, o);
@@ -21251,15 +21254,15 @@ var vP = Ym, _P = function(t) {
21251
21254
  "z-index": "-1000",
21252
21255
  top: "0",
21253
21256
  right: "0"
21254
- }, bP = function(t) {
21257
+ }, EP = function(t) {
21255
21258
  Object.keys(Lm).forEach(function(r) {
21256
21259
  t.style.setProperty(r, Lm[r], "important");
21257
21260
  });
21258
- }, km = bP, St = null, Mm = function(t, r) {
21261
+ }, km = EP, St = null, Mm = function(t, r) {
21259
21262
  var n = t.scrollHeight;
21260
21263
  return r.sizingStyle.boxSizing === "border-box" ? n + r.borderSize : n - r.paddingSize;
21261
21264
  };
21262
- function wP(e, t, r, n) {
21265
+ function bP(e, t, r, n) {
21263
21266
  r === void 0 && (r = 1), n === void 0 && (n = 1 / 0), St || (St = document.createElement("textarea"), St.setAttribute("tabindex", "-1"), St.setAttribute("aria-hidden", "true"), km(St)), St.parentNode === null && document.body.appendChild(St);
21264
21267
  var o = e.paddingSize, i = e.borderSize, s = e.sizingStyle, a = s.boxSizing;
21265
21268
  Object.keys(s).forEach(function(h) {
@@ -21274,11 +21277,11 @@ function wP(e, t, r, n) {
21274
21277
  return a === "border-box" && (d = d + o + i), c = Math.min(d, c), [c, l];
21275
21278
  }
21276
21279
  var Fm = function() {
21277
- }, SP = function(t, r) {
21280
+ }, wP = function(t, r) {
21278
21281
  return t.reduce(function(n, o) {
21279
21282
  return n[o] = r[o], n;
21280
21283
  }, {});
21281
- }, TP = [
21284
+ }, SP = [
21282
21285
  "borderBottomWidth",
21283
21286
  "borderLeftWidth",
21284
21287
  "borderRightWidth",
@@ -21302,23 +21305,23 @@ var Fm = function() {
21302
21305
  "textTransform",
21303
21306
  "width",
21304
21307
  "wordBreak"
21305
- ], OP = !!document.documentElement.currentStyle, AP = function(t) {
21308
+ ], TP = !!document.documentElement.currentStyle, OP = function(t) {
21306
21309
  var r = window.getComputedStyle(t);
21307
21310
  if (r === null)
21308
21311
  return null;
21309
- var n = SP(TP, r), o = n.boxSizing;
21312
+ var n = wP(SP, r), o = n.boxSizing;
21310
21313
  if (o === "")
21311
21314
  return null;
21312
- OP && o === "border-box" && (n.width = parseFloat(n.width) + parseFloat(n.borderRightWidth) + parseFloat(n.borderLeftWidth) + parseFloat(n.paddingRight) + parseFloat(n.paddingLeft) + "px");
21315
+ TP && o === "border-box" && (n.width = parseFloat(n.width) + parseFloat(n.borderRightWidth) + parseFloat(n.borderLeftWidth) + parseFloat(n.paddingRight) + parseFloat(n.paddingLeft) + "px");
21313
21316
  var i = parseFloat(n.paddingBottom) + parseFloat(n.paddingTop), s = parseFloat(n.borderBottomWidth) + parseFloat(n.borderTopWidth);
21314
21317
  return {
21315
21318
  sizingStyle: n,
21316
21319
  paddingSize: i,
21317
21320
  borderSize: s
21318
21321
  };
21319
- }, xP = AP;
21322
+ }, AP = OP;
21320
21323
  function e_(e, t, r) {
21321
- var n = _P(r);
21324
+ var n = vP(r);
21322
21325
  pe.useLayoutEffect(function() {
21323
21326
  var o = function(s) {
21324
21327
  return n.current(s);
@@ -21329,16 +21332,16 @@ function e_(e, t, r) {
21329
21332
  };
21330
21333
  }, []);
21331
21334
  }
21332
- var CP = function(t) {
21335
+ var xP = function(t) {
21333
21336
  e_(window, "resize", t);
21334
- }, RP = function(t) {
21337
+ }, CP = function(t) {
21335
21338
  e_(document.fonts, "loadingdone", t);
21336
- }, PP = ["cacheMeasurements", "maxRows", "minRows", "onChange", "onHeightChange"], NP = function(t, r) {
21337
- var n = t.cacheMeasurements, o = t.maxRows, i = t.minRows, s = t.onChange, a = s === void 0 ? Fm : s, c = t.onHeightChange, l = c === void 0 ? Fm : c, u = yP(t, PP), d = u.value !== void 0, h = pe.useRef(null), f = EP(h, r), p = pe.useRef(0), m = pe.useRef(), E = function() {
21338
- var b = h.current, A = n && m.current ? m.current : xP(b);
21339
+ }, RP = ["cacheMeasurements", "maxRows", "minRows", "onChange", "onHeightChange"], PP = function(t, r) {
21340
+ var n = t.cacheMeasurements, o = t.maxRows, i = t.minRows, s = t.onChange, a = s === void 0 ? Fm : s, c = t.onHeightChange, l = c === void 0 ? Fm : c, u = gP(t, RP), d = u.value !== void 0, h = pe.useRef(null), f = _P(h, r), p = pe.useRef(0), m = pe.useRef(), E = function() {
21341
+ var b = h.current, A = n && m.current ? m.current : AP(b);
21339
21342
  if (A) {
21340
21343
  m.current = A;
21341
- var S = wP(A, b.value || b.placeholder || "x", i, o), P = S[0], R = S[1];
21344
+ var S = bP(A, b.value || b.placeholder || "x", i, o), P = S[0], R = S[1];
21342
21345
  p.current !== P && (p.current = P, b.style.setProperty("height", P + "px", "important"), l(P, {
21343
21346
  rowHeight: R
21344
21347
  }));
@@ -21346,11 +21349,11 @@ var CP = function(t) {
21346
21349
  }, w = function(b) {
21347
21350
  d || E(), a(b);
21348
21351
  };
21349
- return pe.useLayoutEffect(E), CP(E), RP(E), /* @__PURE__ */ pe.createElement("textarea", Ef({}, u, {
21352
+ return pe.useLayoutEffect(E), xP(E), CP(E), /* @__PURE__ */ pe.createElement("textarea", Ef({}, u, {
21350
21353
  onChange: w,
21351
21354
  ref: f
21352
21355
  }));
21353
- }, IP = /* @__PURE__ */ pe.forwardRef(NP);
21356
+ }, NP = /* @__PURE__ */ pe.forwardRef(PP);
21354
21357
  let Ds = null;
21355
21358
  const Dt = "discussion_form_", bf = ({
21356
21359
  content: e = { type: "response", slugs: {} },
@@ -21516,7 +21519,7 @@ const Dt = "discussion_form_", bf = ({
21516
21519
  ),
21517
21520
  /* @__PURE__ */ C(_t, { element: "label", showOnFocus: !1, htmlFor: `${v}-input`, children: Dr(c.formatMessage, `${Dt}label`, e.type, "action") }),
21518
21521
  /* @__PURE__ */ C(
21519
- IP,
21522
+ NP,
21520
21523
  {
21521
21524
  ref: r,
21522
21525
  id: `${v}-input`,
@@ -21590,16 +21593,16 @@ const Dt = "discussion_form_", bf = ({
21590
21593
  create: t
21591
21594
  }
21592
21595
  }
21593
- ), LP = {
21596
+ ), IP = {
21594
21597
  showThread: !1,
21595
21598
  showForm: !1
21596
- }, r_ = wf(LP), qN = ({ children: e }) => {
21599
+ }, r_ = wf(IP), jN = ({ children: e }) => {
21597
21600
  const [t, r] = Ae({
21598
21601
  showThread: !1,
21599
21602
  showForm: !1
21600
21603
  });
21601
21604
  return /* @__PURE__ */ C(r_.Provider, { value: { ...t, updateConversation: r }, children: e });
21602
- }, kP = ({
21605
+ }, LP = ({
21603
21606
  question: e,
21604
21607
  answer: t,
21605
21608
  reply: r
@@ -21607,11 +21610,11 @@ const Dt = "discussion_form_", bf = ({
21607
21610
  ...e && { questionSlug: e },
21608
21611
  ...t && { answerSlug: t },
21609
21612
  ...r && { replySlug: r }
21610
- }), MP = (e, t = 10) => !e || e.length === 0 ? [] : e.reverse().slice(0, t);
21613
+ }), kP = (e, t = 10) => !e || e.length === 0 ? [] : e.reverse().slice(0, t);
21611
21614
  let Na = !1;
21612
21615
  const El = () => {
21613
21616
  Na !== !1 && (clearTimeout(Na), Na = !1);
21614
- }, FP = ({
21617
+ }, MP = ({
21615
21618
  element: e = "div",
21616
21619
  likes: t = 0,
21617
21620
  peopleWhoLiked: r = !1,
@@ -21628,7 +21631,7 @@ const El = () => {
21628
21631
  f(o);
21629
21632
  }, [o]);
21630
21633
  const [u, d] = Ae(t), [h, f] = Ae(o), [p, m] = Ae(!1), [E, w] = Ae(!1), v = Fi(
21631
- () => MP(r),
21634
+ () => kP(r),
21632
21635
  [r]
21633
21636
  ), b = window.location.pathname, A = (P) => {
21634
21637
  if (P.preventDefault(), P.stopPropagation(), w(!1), Na)
@@ -21643,7 +21646,7 @@ const El = () => {
21643
21646
  P < 0 && (P = 0), m(!0), d(P), f(!h);
21644
21647
  try {
21645
21648
  if (i && i.slugs) {
21646
- const R = kP(i.slugs);
21649
+ const R = LP(i.slugs);
21647
21650
  h ? await c(R) : await a(R, { contentPath: b });
21648
21651
  }
21649
21652
  } catch {
@@ -21671,7 +21674,7 @@ const El = () => {
21671
21674
  onBlur: () => {
21672
21675
  w(!1);
21673
21676
  },
21674
- children: /* @__PURE__ */ ie(ct, { children: [
21677
+ children: /* @__PURE__ */ ie(pt, { children: [
21675
21678
  /* @__PURE__ */ C(
21676
21679
  et,
21677
21680
  {
@@ -21703,12 +21706,12 @@ cu.exports;
21703
21706
  (function(e, t) {
21704
21707
  var r = 200, n = "__lodash_hash_undefined__", o = 1, i = 2, s = 9007199254740991, a = "[object Arguments]", c = "[object Array]", l = "[object AsyncFunction]", u = "[object Boolean]", d = "[object Date]", h = "[object Error]", f = "[object Function]", p = "[object GeneratorFunction]", m = "[object Map]", E = "[object Number]", w = "[object Null]", v = "[object Object]", b = "[object Promise]", A = "[object Proxy]", S = "[object RegExp]", P = "[object Set]", R = "[object String]", L = "[object Symbol]", k = "[object Undefined]", j = "[object WeakMap]", q = "[object ArrayBuffer]", H = "[object DataView]", Q = "[object Float32Array]", ne = "[object Float64Array]", Y = "[object Int8Array]", B = "[object Int16Array]", z = "[object Int32Array]", Z = "[object Uint8Array]", he = "[object Uint8ClampedArray]", X = "[object Uint16Array]", K = "[object Uint32Array]", ae = /[\\^$.*+?()[\]{}|]/g, fe = /^\[object .+?Constructor\]$/, Ve = /^(?:0|[1-9]\d*)$/, ee = {};
21705
21708
  ee[Q] = ee[ne] = ee[Y] = ee[B] = ee[z] = ee[Z] = ee[he] = ee[X] = ee[K] = !0, ee[a] = ee[c] = ee[q] = ee[u] = ee[H] = ee[d] = ee[h] = ee[f] = ee[m] = ee[E] = ee[v] = ee[S] = ee[P] = ee[R] = ee[j] = !1;
21706
- var se = typeof de == "object" && de && de.Object === Object && de, Ue = typeof self == "object" && self && self.Object === Object && self, ke = se || Ue || Function("return this")(), xt = t && !t.nodeType && t, It = xt && !0 && e && !e.nodeType && e, Yt = It && It.exports === xt, oe = Yt && se.process, ft = function() {
21709
+ var se = typeof de == "object" && de && de.Object === Object && de, Ue = typeof self == "object" && self && self.Object === Object && self, ke = se || Ue || Function("return this")(), xt = t && !t.nodeType && t, It = xt && !0 && e && !e.nodeType && e, Yt = It && It.exports === xt, oe = Yt && se.process, lt = function() {
21707
21710
  try {
21708
21711
  return oe && oe.binding && oe.binding("util");
21709
21712
  } catch {
21710
21713
  }
21711
- }(), tt = ft && ft.isTypedArray;
21714
+ }(), tt = lt && lt.isTypedArray;
21712
21715
  function Kt(y, O) {
21713
21716
  for (var I = -1, V = y == null ? 0 : y.length, ge = 0, le = []; ++I < V; ) {
21714
21717
  var Ee = y[I];
@@ -21760,12 +21763,12 @@ cu.exports;
21760
21763
  I[++O] = V;
21761
21764
  }), I;
21762
21765
  }
21763
- var ht = Array.prototype, Sn = Function.prototype, T = Object.prototype, g = ke["__core-js_shared__"], _ = Sn.toString, x = T.hasOwnProperty, M = function() {
21766
+ var ft = Array.prototype, Sn = Function.prototype, T = Object.prototype, g = ke["__core-js_shared__"], _ = Sn.toString, x = T.hasOwnProperty, M = function() {
21764
21767
  var y = /[^.]+$/.exec(g && g.keys && g.keys.IE_PROTO || "");
21765
21768
  return y ? "Symbol(src)_1." + y : "";
21766
21769
  }(), $ = T.toString, W = RegExp(
21767
21770
  "^" + _.call(x).replace(ae, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
21768
- ), me = Yt ? ke.Buffer : void 0, Pe = ke.Symbol, Ne = ke.Uint8Array, Ie = T.propertyIsEnumerable, _e = ht.splice, Lt = Pe ? Pe.toStringTag : void 0, Wr = Object.getOwnPropertySymbols, Tn = me ? me.isBuffer : void 0, Ar = Jt(Object.keys, Object), On = er(ke, "DataView"), xr = er(ke, "Map"), An = er(ke, "Promise"), xn = er(ke, "Set"), Cn = er(ke, "WeakMap"), ar = er(Object, "create"), mi = dt(On), Zt = dt(xr), Oo = dt(An), Ao = dt(xn), xo = dt(Cn), gi = Pe ? Pe.prototype : void 0, Rn = gi ? gi.valueOf : void 0;
21771
+ ), me = Yt ? ke.Buffer : void 0, Pe = ke.Symbol, Ne = ke.Uint8Array, Ie = T.propertyIsEnumerable, _e = ft.splice, Lt = Pe ? Pe.toStringTag : void 0, Wr = Object.getOwnPropertySymbols, Tn = me ? me.isBuffer : void 0, Ar = Jt(Object.keys, Object), On = er(ke, "DataView"), xr = er(ke, "Map"), An = er(ke, "Promise"), xn = er(ke, "Set"), Cn = er(ke, "WeakMap"), ar = er(Object, "create"), mi = ht(On), Zt = ht(xr), Oo = ht(An), Ao = ht(xn), xo = ht(Cn), gi = Pe ? Pe.prototype : void 0, Rn = gi ? gi.valueOf : void 0;
21769
21772
  function Ye(y) {
21770
21773
  var O = -1, I = y == null ? 0 : y.length;
21771
21774
  for (this.clear(); ++O < I; ) {
@@ -21927,7 +21930,7 @@ cu.exports;
21927
21930
  function bi(y, O, I, V, ge, le) {
21928
21931
  var Ee = Kr(y), be = Kr(O), We = Ee ? c : Mt(y), Ce = be ? c : Mt(O);
21929
21932
  We = We == a ? v : We, Ce = Ce == a ? v : Ce;
21930
- var it = We == v, pt = Ce == v, Qe = We == Ce;
21933
+ var it = We == v, dt = Ce == v, Qe = We == Ce;
21931
21934
  if (Qe && Jr(y)) {
21932
21935
  if (!Jr(O))
21933
21936
  return !1;
@@ -21936,7 +21939,7 @@ cu.exports;
21936
21939
  if (Qe && !it)
21937
21940
  return le || (le = new Ct()), Ee || Bn(y) ? Mn(y, O, I, V, ge, le) : Wo(y, O, We, I, V, ge, le);
21938
21941
  if (!(I & o)) {
21939
- var ot = it && x.call(y, "__wrapped__"), Xe = pt && x.call(O, "__wrapped__");
21942
+ var ot = it && x.call(y, "__wrapped__"), Xe = dt && x.call(O, "__wrapped__");
21940
21943
  if (ot || Xe) {
21941
21944
  var ur = ot ? y.value() : y, rr = Xe ? O.value() : O;
21942
21945
  return le || (le = new Ct()), ge(ur, rr, I, V, le);
@@ -21948,7 +21951,7 @@ cu.exports;
21948
21951
  if (!Ai(y) || Yo(y))
21949
21952
  return !1;
21950
21953
  var O = Oi(y) ? W : fe;
21951
- return O.test(dt(y));
21954
+ return O.test(ht(y));
21952
21955
  }
21953
21956
  function Go(y) {
21954
21957
  return Ht(y) && Dn(y.length) && !!ee[Rr(y)];
@@ -21968,7 +21971,7 @@ cu.exports;
21968
21971
  var Ce = le.get(y);
21969
21972
  if (Ce && le.get(O))
21970
21973
  return Ce == O;
21971
- var it = -1, pt = !0, Qe = I & i ? new zr() : void 0;
21974
+ var it = -1, dt = !0, Qe = I & i ? new zr() : void 0;
21972
21975
  for (le.set(y, O), le.set(O, y); ++it < be; ) {
21973
21976
  var ot = y[it], Xe = O[it];
21974
21977
  if (V)
@@ -21976,7 +21979,7 @@ cu.exports;
21976
21979
  if (ur !== void 0) {
21977
21980
  if (ur)
21978
21981
  continue;
21979
- pt = !1;
21982
+ dt = !1;
21980
21983
  break;
21981
21984
  }
21982
21985
  if (Qe) {
@@ -21984,15 +21987,15 @@ cu.exports;
21984
21987
  if (!Xt(Qe, Nr) && (ot === rr || ge(ot, rr, I, V, le)))
21985
21988
  return Qe.push(Nr);
21986
21989
  })) {
21987
- pt = !1;
21990
+ dt = !1;
21988
21991
  break;
21989
21992
  }
21990
21993
  } else if (!(ot === Xe || ge(ot, Xe, I, V, le))) {
21991
- pt = !1;
21994
+ dt = !1;
21992
21995
  break;
21993
21996
  }
21994
21997
  }
21995
- return le.delete(y), le.delete(O), pt;
21998
+ return le.delete(y), le.delete(O), dt;
21996
21999
  }
21997
22000
  function Wo(y, O, I, V, ge, le, Ee) {
21998
22001
  switch (I) {
@@ -22033,8 +22036,8 @@ cu.exports;
22033
22036
  var Ee = I & o, be = Pr(y), We = be.length, Ce = Pr(O), it = Ce.length;
22034
22037
  if (We != it && !Ee)
22035
22038
  return !1;
22036
- for (var pt = We; pt--; ) {
22037
- var Qe = be[pt];
22039
+ for (var dt = We; dt--; ) {
22040
+ var Qe = be[dt];
22038
22041
  if (!(Ee ? Qe in O : x.call(O, Qe)))
22039
22042
  return !1;
22040
22043
  }
@@ -22043,8 +22046,8 @@ cu.exports;
22043
22046
  return ot == O;
22044
22047
  var Xe = !0;
22045
22048
  le.set(y, O), le.set(O, y);
22046
- for (var ur = Ee; ++pt < We; ) {
22047
- Qe = be[pt];
22049
+ for (var ur = Ee; ++dt < We; ) {
22050
+ Qe = be[dt];
22048
22051
  var rr = y[Qe], Nr = O[Qe];
22049
22052
  if (V)
22050
22053
  var as = Ee ? V(Nr, rr, Qe, O, y, le) : V(rr, Nr, Qe, y, O, le);
@@ -22087,7 +22090,7 @@ cu.exports;
22087
22090
  }));
22088
22091
  } : Ci, Mt = Rr;
22089
22092
  (On && Mt(new On(new ArrayBuffer(1))) != H || xr && Mt(new xr()) != m || An && Mt(An.resolve()) != b || xn && Mt(new xn()) != P || Cn && Mt(new Cn()) != j) && (Mt = function(y) {
22090
- var O = Rr(y), I = O == v ? y.constructor : void 0, V = I ? dt(I) : "";
22093
+ var O = Rr(y), I = O == v ? y.constructor : void 0, V = I ? ht(I) : "";
22091
22094
  if (V)
22092
22095
  switch (V) {
22093
22096
  case mi:
@@ -22120,7 +22123,7 @@ cu.exports;
22120
22123
  function wi(y) {
22121
22124
  return $.call(y);
22122
22125
  }
22123
- function dt(y) {
22126
+ function ht(y) {
22124
22127
  if (y != null) {
22125
22128
  try {
22126
22129
  return _.call(y);
@@ -22176,9 +22179,9 @@ cu.exports;
22176
22179
  }
22177
22180
  e.exports = Xo;
22178
22181
  })(cu, cu.exports);
22179
- var DP = cu.exports;
22180
- const BP = /* @__PURE__ */ wr(DP);
22181
- const UP = ({ element: e = "section", children: t, className: r, ...n }) => Re.createElement(
22182
+ var FP = cu.exports;
22183
+ const DP = /* @__PURE__ */ wr(FP);
22184
+ const BP = ({ element: e = "section", children: t, className: r, ...n }) => Re.createElement(
22182
22185
  e,
22183
22186
  {
22184
22187
  className: ue("modal", r),
@@ -22186,7 +22189,7 @@ const UP = ({ element: e = "section", children: t, className: r, ...n }) => Re.c
22186
22189
  ...n
22187
22190
  }
22188
22191
  );
22189
- const $P = ({
22192
+ const UP = ({
22190
22193
  id: e = "content-overlay",
22191
22194
  isOpen: t = !1,
22192
22195
  maxWidth: r,
@@ -22208,13 +22211,13 @@ const $P = ({
22208
22211
  }, [t]);
22209
22212
  const m = r ? { "--max-width": `${r / 16}rem` } : {};
22210
22213
  return /* @__PURE__ */ C("div", { className: ue("overlay", { open: h }), children: /* @__PURE__ */ C(
22211
- UP,
22214
+ BP,
22212
22215
  {
22213
22216
  id: e,
22214
22217
  className: ue("overlay-modal", l, { "has-max-width": r }),
22215
22218
  hidden: !h,
22216
22219
  style: m,
22217
- children: t && /* @__PURE__ */ ie(ct, { children: [
22220
+ children: t && /* @__PURE__ */ ie(pt, { children: [
22218
22221
  /* @__PURE__ */ ie("div", { className: "top", children: [
22219
22222
  /* @__PURE__ */ C("h2", { children: s }),
22220
22223
  /* @__PURE__ */ C(
@@ -22241,7 +22244,7 @@ const $P = ({
22241
22244
  ] })
22242
22245
  }
22243
22246
  ) });
22244
- }, HP = (e, t) => ({
22247
+ }, $P = (e, t) => ({
22245
22248
  "aria-haspopup": !0,
22246
22249
  "aria-expanded": t,
22247
22250
  "aria-controls": e
@@ -22293,7 +22296,7 @@ const Fr = "discussion_", rh = ({
22293
22296
  const { author: L, canLike: k, createdAt: j, id: q, likes: H = 0, userLiked: Q, comments: ne = 0 } = t, Y = E && E.id && typeof L != "string" && L.id && L.id === E.id || !1, B = typeof k == "boolean" ? k : !Y, z = async (K) => {
22294
22297
  K || (K = ""), R("");
22295
22298
  try {
22296
- if (!BP(K, v.body)) {
22299
+ if (!DP(K, v.body)) {
22297
22300
  const ae = t.type === "question" ? { title: K } : { body: K };
22298
22301
  await s(Dm(t.slugs), ae);
22299
22302
  }
@@ -22348,12 +22351,12 @@ const Fr = "discussion_", rh = ({
22348
22351
  className: "gtm-trackable",
22349
22352
  "data-gtm-event-context": h,
22350
22353
  "data-gtm-event-type": `delete-${t.type}-click`,
22351
- ...HP(`delete-${t.slug}-modal`, A)
22354
+ ...$P(`delete-${t.slug}-modal`, A)
22352
22355
  }
22353
22356
  ), Re.createElement(e, {
22354
22357
  className: ue("discussion-post", d),
22355
22358
  "data-testid": `discussion-${t.type}-thread`,
22356
- children: /* @__PURE__ */ ie(ct, { children: [
22359
+ children: /* @__PURE__ */ ie(pt, { children: [
22357
22360
  /* @__PURE__ */ ie(
22358
22361
  "div",
22359
22362
  {
@@ -22433,7 +22436,7 @@ const Fr = "discussion_", rh = ({
22433
22436
  "data-testid": `${t.type}-actions`,
22434
22437
  children: [
22435
22438
  /* @__PURE__ */ C(
22436
- FP,
22439
+ MP,
22437
22440
  {
22438
22441
  element: "li",
22439
22442
  likes: H,
@@ -22491,7 +22494,7 @@ const Fr = "discussion_", rh = ({
22491
22494
  }
22492
22495
  ) }),
22493
22496
  /* @__PURE__ */ C(
22494
- uR,
22497
+ sR,
22495
22498
  {
22496
22499
  element: "li",
22497
22500
  id: `more-${t.slug}`,
@@ -22506,7 +22509,7 @@ const Fr = "discussion_", rh = ({
22506
22509
  ),
22507
22510
  p,
22508
22511
  /* @__PURE__ */ C(
22509
- $P,
22512
+ UP,
22510
22513
  {
22511
22514
  id: `delete-${t.slug}-modal`,
22512
22515
  isOpen: A,
@@ -22557,14 +22560,14 @@ const Fr = "discussion_", rh = ({
22557
22560
  ] })
22558
22561
  });
22559
22562
  };
22560
- const bl = "discussion_responses_", GN = ({ type: e = "answer", responses: t = 0 }) => {
22563
+ const bl = "discussion_responses_", qN = ({ type: e = "answer", responses: t = 0 }) => {
22561
22564
  const r = xe();
22562
22565
  return /* @__PURE__ */ ie("div", { className: "responses-heading", children: [
22563
22566
  /* @__PURE__ */ C("h3", { children: r.formatMessage({ id: `${bl}title` }, { action: r.formatMessage({ id: `${bl}${e}` }), count: t }) }),
22564
22567
  t === 0 && /* @__PURE__ */ C("p", { children: Dr(r.formatMessage, `${bl}empty`, e, e) })
22565
22568
  ] });
22566
22569
  };
22567
- const VN = ({ isOpen: e = !1, count: t = 0, children: r }) => {
22570
+ const GN = ({ isOpen: e = !1, count: t = 0, children: r }) => {
22568
22571
  const n = xe(), o = Ke(null), [i, s] = Ae(e), [a, c] = Ae("closed");
22569
22572
  $e(() => {
22570
22573
  const h = o.current;
@@ -22596,7 +22599,7 @@ const VN = ({ isOpen: e = !1, count: t = 0, children: r }) => {
22596
22599
  ),
22597
22600
  /* @__PURE__ */ C("ul", { ref: o, className: ue("thread", a), hidden: !i, children: d })
22598
22601
  ] });
22599
- }, jP = ({
22602
+ }, HP = ({
22600
22603
  user: e,
22601
22604
  content: t,
22602
22605
  verb: r = "post"
@@ -22617,7 +22620,7 @@ const VN = ({ isOpen: e = !1, count: t = 0, children: r }) => {
22617
22620
  like: 0
22618
22621
  },
22619
22622
  verb: r
22620
- }), qP = ({
22623
+ }), jP = ({
22621
22624
  queryClient: e,
22622
22625
  queryKey: t,
22623
22626
  user: r,
@@ -22625,7 +22628,7 @@ const VN = ({ isOpen: e = !1, count: t = 0, children: r }) => {
22625
22628
  }) => ({ mutationFn: n, onMutate: async ({ content: a }) => {
22626
22629
  if (!r)
22627
22630
  return;
22628
- const c = jP({ user: r, content: a, verb: "post" });
22631
+ const c = HP({ user: r, content: a, verb: "post" });
22629
22632
  await e.cancelQueries({ queryKey: [t] });
22630
22633
  const l = e.getQueryData([t]);
22631
22634
  return e.setQueryData([t], (u) => [...u, c]), { previousActivities: l };
@@ -22633,7 +22636,7 @@ const VN = ({ isOpen: e = !1, count: t = 0, children: r }) => {
22633
22636
  e.setQueryData([t], l.previousActivities);
22634
22637
  }, onSettled: () => {
22635
22638
  e.invalidateQueries({ queryKey: [t] });
22636
- } }), GP = ({
22639
+ } }), qP = ({
22637
22640
  queryClient: e,
22638
22641
  queryKey: t,
22639
22642
  mutationFn: r,
@@ -22658,7 +22661,7 @@ const VN = ({ isOpen: e = !1, count: t = 0, children: r }) => {
22658
22661
  e.invalidateQueries({
22659
22662
  queryKey: [`${n}/${u.activityId}`]
22660
22663
  });
22661
- } }), VP = ({
22664
+ } }), GP = ({
22662
22665
  queryClient: e,
22663
22666
  queryKey: t,
22664
22667
  user: r,
@@ -22695,9 +22698,9 @@ const VN = ({ isOpen: e = !1, count: t = 0, children: r }) => {
22695
22698
  e.invalidateQueries({
22696
22699
  queryKey: [`${o}/${d.activityId}`]
22697
22700
  });
22698
- } }), WN = ({
22701
+ } }), VN = ({
22699
22702
  parentId: e,
22700
- uiSlug: t,
22703
+ basePath: t,
22701
22704
  membershipRequiredToPost: { isMember: r, join: n, leave: o },
22702
22705
  functions: { list: i, create: s, like: a, unlike: c },
22703
22706
  cache: { activitiesListQueryKey: l, singleActivityQueryKeyWithoutVariable: u }
@@ -22710,19 +22713,19 @@ const VN = ({ isOpen: e = !1, count: t = 0, children: r }) => {
22710
22713
  } = T0({
22711
22714
  queryKey: [l],
22712
22715
  queryFn: i
22713
- }), w = qP({
22716
+ }), w = jP({
22714
22717
  queryClient: d,
22715
22718
  queryKey: l,
22716
22719
  user: h,
22717
22720
  mutationFn: s
22718
- }), { mutate: v } = gn(w), b = GP({
22721
+ }), { mutate: v } = gn(w), b = qP({
22719
22722
  queryClient: d,
22720
22723
  queryKey: l,
22721
22724
  mutationFn: a,
22722
22725
  affectedQueryKey: u
22723
22726
  }), {
22724
22727
  mutate: A
22725
- } = gn(b), S = VP({
22728
+ } = gn(b), S = GP({
22726
22729
  queryClient: d,
22727
22730
  queryKey: l,
22728
22731
  user: h,
@@ -22745,81 +22748,76 @@ const VN = ({ isOpen: e = !1, count: t = 0, children: r }) => {
22745
22748
  ({ activityId: k }) => P({ activityId: k }),
22746
22749
  [P]
22747
22750
  );
22748
- if (p)
22749
- return /* @__PURE__ */ C(wu, { variant: "error", text: p.message });
22750
- if (m)
22751
- return /* @__PURE__ */ C(Gr, { style: { height: "400px" } });
22752
- if (!(Array.isArray(f) && f.length === 0))
22753
- return /* @__PURE__ */ ie(ct, { children: [
22754
- /* @__PURE__ */ C(
22755
- t_,
22756
- {
22757
- contentType: "post",
22758
- createPost: v,
22759
- membershipRequiredToPost: {
22760
- isMember: r,
22761
- required: !0,
22762
- join: n,
22763
- leave: o,
22764
- notMemberStateText: "Join community to create a post."
22765
- }
22751
+ return p ? /* @__PURE__ */ C(wu, { variant: "error", text: p.message }) : m ? /* @__PURE__ */ C(Gr, { style: { height: "400px" } }) : /* @__PURE__ */ ie(pt, { children: [
22752
+ /* @__PURE__ */ C(
22753
+ t_,
22754
+ {
22755
+ contentType: "post",
22756
+ createPost: v,
22757
+ membershipRequiredToPost: {
22758
+ isMember: r,
22759
+ required: !0,
22760
+ join: n,
22761
+ leave: o,
22762
+ notMemberStateText: "Join community to create a post."
22766
22763
  }
22767
- ),
22768
- !E && Array.isArray(f) && (f == null ? void 0 : f.map((k) => {
22769
- var q, H, Q, ne, Y, B, z, Z, he, X, K;
22770
- const j = (H = (q = k == null ? void 0 : k.latest_reactions) == null ? void 0 : q.like) == null ? void 0 : H.filter(
22771
- (ae) => ae.user_id === (h == null ? void 0 : h.id)
22772
- );
22773
- return /* @__PURE__ */ C(
22774
- rh,
22775
- {
22776
- content: {
22777
- type: "post",
22778
- body: k == null ? void 0 : k.content,
22779
- createdAt: (k == null ? void 0 : k.time) || "",
22780
- slugs: { question: e },
22781
- slug: k == null ? void 0 : k.id,
22782
- author: {
22783
- id: (Q = k == null ? void 0 : k.actor) == null ? void 0 : Q.id,
22784
- name: (Y = (ne = k == null ? void 0 : k.actor) == null ? void 0 : ne.data) == null ? void 0 : Y.name,
22785
- organization: (z = (B = k == null ? void 0 : k.actor) == null ? void 0 : B.data) == null ? void 0 : z.organization,
22786
- jobTitle: (he = (Z = k == null ? void 0 : k.actor) == null ? void 0 : Z.data) == null ? void 0 : he.jobTitle,
22787
- image: {
22788
- thumbnail: ((K = (X = k == null ? void 0 : k.actor) == null ? void 0 : X.data) == null ? void 0 : K.thumbnail) || void 0
22789
- }
22790
- },
22791
- userLiked: !!(j != null && j.length),
22792
- likes: (k == null ? void 0 : k.reaction_counts.like) || 0,
22793
- comments: (k == null ? void 0 : k.reaction_counts.reply) || 0
22764
+ }
22765
+ ),
22766
+ !E && Array.isArray(f) && (f == null ? void 0 : f.map((k) => {
22767
+ var q, H, Q, ne, Y, B, z, Z, he, X, K;
22768
+ const j = (H = (q = k == null ? void 0 : k.latest_reactions) == null ? void 0 : q.like) == null ? void 0 : H.filter(
22769
+ (ae) => ae.user_id === (h == null ? void 0 : h.id)
22770
+ );
22771
+ return /* @__PURE__ */ C(
22772
+ rh,
22773
+ {
22774
+ content: {
22775
+ type: "post",
22776
+ body: k == null ? void 0 : k.content,
22777
+ createdAt: (k == null ? void 0 : k.time) || "",
22778
+ slugs: { question: e },
22779
+ slug: k == null ? void 0 : k.id,
22780
+ author: {
22781
+ id: (Q = k == null ? void 0 : k.actor) == null ? void 0 : Q.id,
22782
+ name: (Y = (ne = k == null ? void 0 : k.actor) == null ? void 0 : ne.data) == null ? void 0 : Y.name,
22783
+ organization: (z = (B = k == null ? void 0 : k.actor) == null ? void 0 : B.data) == null ? void 0 : z.organization,
22784
+ jobTitle: (he = (Z = k == null ? void 0 : k.actor) == null ? void 0 : Z.data) == null ? void 0 : he.jobTitle,
22785
+ image: {
22786
+ thumbnail: ((K = (X = k == null ? void 0 : k.actor) == null ? void 0 : X.data) == null ? void 0 : K.thumbnail) || void 0
22787
+ }
22794
22788
  },
22795
- links: {
22796
- post: `${t}/${e}/${k == null ? void 0 : k.id}`,
22797
- comments: `${t}/${e}/${k == null ? void 0 : k.id}`
22789
+ userLiked: !!(j != null && j.length),
22790
+ likes: (k == null ? void 0 : k.reaction_counts.like) || 0,
22791
+ comments: (k == null ? void 0 : k.reaction_counts.reply) || 0
22792
+ },
22793
+ links: {
22794
+ post: `${t}/${e}/${k == null ? void 0 : k.id}`,
22795
+ comments: `${t}/${e}/${k == null ? void 0 : k.id}`
22796
+ },
22797
+ functions: {
22798
+ content: {
22799
+ createContent: () => null,
22800
+ deleteContent: () => null,
22801
+ updateContent: () => null
22798
22802
  },
22799
- functions: {
22800
- content: {
22801
- createContent: () => null,
22802
- deleteContent: () => null,
22803
- updateContent: () => null
22804
- },
22805
- likes: {
22806
- createLike: () => {
22807
- R({ activityId: k == null ? void 0 : k.id });
22808
- },
22809
- deleteLike: () => {
22810
- L({ activityId: k == null ? void 0 : k.id });
22811
- }
22803
+ likes: {
22804
+ createLike: () => {
22805
+ R({ activityId: k == null ? void 0 : k.id });
22812
22806
  },
22813
- comments: {
22814
- openComments: () => null
22807
+ deleteLike: () => {
22808
+ L({ activityId: k == null ? void 0 : k.id });
22815
22809
  }
22810
+ },
22811
+ comments: {
22812
+ openComments: () => null
22816
22813
  }
22817
- },
22818
- k == null ? void 0 : k.id
22819
- );
22820
- }))
22821
- ] });
22822
- }, WP = ({
22814
+ }
22815
+ },
22816
+ k == null ? void 0 : k.id
22817
+ );
22818
+ }))
22819
+ ] });
22820
+ }, VP = ({
22823
22821
  queryClient: e,
22824
22822
  queryKey: t,
22825
22823
  mutationFn: r,
@@ -22839,7 +22837,7 @@ const VN = ({ isOpen: e = !1, count: t = 0, children: r }) => {
22839
22837
  })), { previousActivity: l };
22840
22838
  }, onSettled: () => {
22841
22839
  e.invalidateQueries({ queryKey: [n] });
22842
- } }), zP = ({
22840
+ } }), WP = ({
22843
22841
  queryClient: e,
22844
22842
  queryKey: t,
22845
22843
  mutationFn: r
@@ -22863,7 +22861,7 @@ const VN = ({ isOpen: e = !1, count: t = 0, children: r }) => {
22863
22861
  ...a,
22864
22862
  latest_reactions: { reply: c }
22865
22863
  })), { previousActivity: a };
22866
- } }), QP = ({
22864
+ } }), zP = ({
22867
22865
  queryClient: e,
22868
22866
  queryKey: t,
22869
22867
  user: r,
@@ -22896,8 +22894,8 @@ const VN = ({ isOpen: e = !1, count: t = 0, children: r }) => {
22896
22894
  ...l,
22897
22895
  latest_reactions: { reply: u }
22898
22896
  })), { previousActivity: l };
22899
- } }), YP = ({
22900
- uiSlug: e,
22897
+ } }), QP = ({
22898
+ basePath: e,
22901
22899
  parentId: t,
22902
22900
  activityId: r,
22903
22901
  repliesList: n,
@@ -22905,18 +22903,18 @@ const VN = ({ isOpen: e = !1, count: t = 0, children: r }) => {
22905
22903
  membershipRequiredToPost: { isMember: s, join: a, leave: c },
22906
22904
  functions: { createReply: l, like: u, unlike: d }
22907
22905
  }) => {
22908
- const h = wo(), f = qr(bn), p = `${i}/${r}`, m = WP({
22906
+ const h = wo(), f = qr(bn), p = `${i}/${r}`, m = VP({
22909
22907
  queryClient: h,
22910
22908
  queryKey: p,
22911
22909
  mutationFn: l,
22912
22910
  affectedQueryKey: o
22913
- }), { mutate: E } = gn(m), w = zP({
22911
+ }), { mutate: E } = gn(m), w = WP({
22914
22912
  queryClient: h,
22915
22913
  queryKey: p,
22916
22914
  mutationFn: u
22917
22915
  }), {
22918
22916
  mutate: v
22919
- } = gn(w), b = QP({
22917
+ } = gn(w), b = zP({
22920
22918
  queryClient: h,
22921
22919
  queryKey: p,
22922
22920
  user: f,
@@ -22930,7 +22928,7 @@ const VN = ({ isOpen: e = !1, count: t = 0, children: r }) => {
22930
22928
  ({ replyId: R }) => A({ replyId: R }),
22931
22929
  [A]
22932
22930
  );
22933
- return /* @__PURE__ */ ie(ct, { children: [
22931
+ return /* @__PURE__ */ ie(pt, { children: [
22934
22932
  /* @__PURE__ */ C(
22935
22933
  t_,
22936
22934
  {
@@ -22945,7 +22943,7 @@ const VN = ({ isOpen: e = !1, count: t = 0, children: r }) => {
22945
22943
  }
22946
22944
  }
22947
22945
  ),
22948
- (n == null ? void 0 : n.length) === 0 ? /* @__PURE__ */ C(ct, {}) : n == null ? void 0 : n.map((R) => {
22946
+ (n == null ? void 0 : n.length) === 0 || (n == null ? void 0 : n.map((R) => {
22949
22947
  var k, j, q, H, Q, ne, Y, B, z, Z, he, X, K, ae, fe;
22950
22948
  const L = ((k = R == null ? void 0 : R.latest_children) == null ? void 0 : k.like) && ((j = R == null ? void 0 : R.latest_children) == null ? void 0 : j.like.filter(
22951
22949
  (Ve) => Ve.user_id === (f == null ? void 0 : f.id)
@@ -22990,9 +22988,9 @@ const VN = ({ isOpen: e = !1, count: t = 0, children: r }) => {
22990
22988
  },
22991
22989
  R == null ? void 0 : R.id
22992
22990
  );
22993
- })
22991
+ }))
22994
22992
  ] });
22995
- }, KP = ({
22993
+ }, YP = ({
22996
22994
  queryClient: e,
22997
22995
  queryKey: t,
22998
22996
  mutationFn: r,
@@ -23013,7 +23011,7 @@ const VN = ({ isOpen: e = !1, count: t = 0, children: r }) => {
23013
23011
  })), { previousActivity: l };
23014
23012
  }, onSettled: () => {
23015
23013
  e.invalidateQueries({ queryKey: [n] });
23016
- } }), XP = ({
23014
+ } }), KP = ({
23017
23015
  queryClient: e,
23018
23016
  queryKey: t,
23019
23017
  user: r,
@@ -23044,8 +23042,8 @@ const VN = ({ isOpen: e = !1, count: t = 0, children: r }) => {
23044
23042
  })), { previousActivity: d };
23045
23043
  }, onSettled: () => {
23046
23044
  e.invalidateQueries({ queryKey: [i] });
23047
- } }), zN = ({
23048
- uiSlug: e,
23045
+ } }), WN = ({
23046
+ basePath: e,
23049
23047
  parentId: t,
23050
23048
  activityId: r,
23051
23049
  cache: { activitiesListQueryKey: n, singleActivityQueryKeyWithoutVariable: o },
@@ -23061,14 +23059,14 @@ const VN = ({ isOpen: e = !1, count: t = 0, children: r }) => {
23061
23059
  } = T0({
23062
23060
  queryKey: [p],
23063
23061
  queryFn: s
23064
- }), b = KP({
23062
+ }), b = YP({
23065
23063
  queryClient: f,
23066
23064
  queryKey: p,
23067
23065
  mutationFn: a,
23068
23066
  affectedQueryKey: n
23069
23067
  }), {
23070
23068
  mutate: A
23071
- } = gn(b), S = XP({
23069
+ } = gn(b), S = KP({
23072
23070
  queryClient: f,
23073
23071
  queryKey: p,
23074
23072
  user: h,
@@ -23085,10 +23083,10 @@ const VN = ({ isOpen: e = !1, count: t = 0, children: r }) => {
23085
23083
  mutate: P
23086
23084
  } = gn(S), R = yn(
23087
23085
  ({ activityId: X }) => A({ activityId: X }),
23088
- [m, t, h, f, a, A]
23086
+ [A]
23089
23087
  ), L = yn(
23090
23088
  async ({ activityId: X }) => P({ activityId: X }),
23091
- [m, t, h, f, c, P]
23089
+ [P]
23092
23090
  );
23093
23091
  return E ? /* @__PURE__ */ C(wu, { variant: "error", text: E.message }) : w || v ? /* @__PURE__ */ C(Gr, { style: { height: "400px" } }) : /* @__PURE__ */ C(
23094
23092
  rh,
@@ -23130,16 +23128,16 @@ const VN = ({ isOpen: e = !1, count: t = 0, children: r }) => {
23130
23128
  }
23131
23129
  }
23132
23130
  },
23133
- children: /* @__PURE__ */ ie(ct, { children: [
23131
+ children: /* @__PURE__ */ ie(pt, { children: [
23134
23132
  /* @__PURE__ */ ie("h3", { children: [
23135
23133
  "Comments (",
23136
23134
  ((Z = m == null ? void 0 : m.reaction_counts) == null ? void 0 : Z.reply) || 0,
23137
23135
  ")"
23138
23136
  ] }),
23139
23137
  /* @__PURE__ */ C(
23140
- YP,
23138
+ QP,
23141
23139
  {
23142
- uiSlug: e,
23140
+ basePath: e,
23143
23141
  parentId: t,
23144
23142
  activityId: r,
23145
23143
  repliesList: (he = m == null ? void 0 : m.latest_reactions) == null ? void 0 : he.reply,
@@ -23159,7 +23157,7 @@ const VN = ({ isOpen: e = !1, count: t = 0, children: r }) => {
23159
23157
  },
23160
23158
  r
23161
23159
  );
23162
- }, QN = ({ id: e, data: { jobTitle: t, name: r, organization: n, thumbnail: o } }) => ({
23160
+ }, zN = ({ id: e, data: { jobTitle: t, name: r, organization: n, thumbnail: o } }) => ({
23163
23161
  id: e,
23164
23162
  name: r,
23165
23163
  jobTitle: t,
@@ -23169,56 +23167,56 @@ const VN = ({ isOpen: e = !1, count: t = 0, children: r }) => {
23169
23167
  export {
23170
23168
  Zs as $,
23171
23169
  z1 as A,
23172
- AN as B,
23173
- _N as C,
23174
- NN as D,
23170
+ ON as B,
23171
+ vN as C,
23172
+ PN as D,
23175
23173
  Em as E,
23176
- SN as F,
23177
- sN as G,
23174
+ wN as F,
23175
+ aN as G,
23178
23176
  Xm as H,
23179
- TN as I,
23180
- uN as J,
23181
- LN as K,
23177
+ SN as I,
23178
+ sN as J,
23179
+ IN as K,
23182
23180
  B0 as L,
23183
- xN as M,
23184
- jN as N,
23181
+ AN as M,
23182
+ HN as N,
23185
23183
  Yl as O,
23186
- PN as P,
23187
- cN as Q,
23188
- hN as R,
23189
- ON as S,
23190
- dN as T,
23184
+ RN as P,
23185
+ uN as Q,
23186
+ fN as R,
23187
+ TN as S,
23188
+ hN as T,
23191
23189
  bn as U,
23192
23190
  _t as V,
23193
- IN as W,
23191
+ NN as W,
23194
23192
  t_ as X,
23195
- qN as Y,
23193
+ jN as Y,
23196
23194
  r_ as Z,
23197
23195
  bf as _,
23198
23196
  Nt as a,
23199
- FP as a0,
23197
+ MP as a0,
23200
23198
  rh as a1,
23201
- GN as a2,
23202
- VN as a3,
23203
- WN as a4,
23204
- YP as a5,
23205
- zN as a6,
23206
- DN as a7,
23207
- BN as a8,
23208
- UN as a9,
23209
- kN as aA,
23210
- MN as aB,
23211
- sR as aC,
23212
- uR as aD,
23199
+ qN as a2,
23200
+ GN as a3,
23201
+ VN as a4,
23202
+ QP as a5,
23203
+ WN as a6,
23204
+ FN as a7,
23205
+ DN as a8,
23206
+ BN as a9,
23207
+ LN as aA,
23208
+ kN as aB,
23209
+ aR as aC,
23210
+ sR as aD,
23213
23211
  U0 as aE,
23214
- HN as aF,
23215
- oN as aG,
23212
+ $N as aF,
23213
+ iN as aG,
23216
23214
  $v as aH,
23217
- aN as aI,
23215
+ oN as aI,
23218
23216
  qv as aJ,
23219
23217
  wu as aK,
23220
23218
  _C as aL,
23221
- lN as aM,
23219
+ cN as aM,
23222
23220
  mn as aN,
23223
23221
  cm as aO,
23224
23222
  xC as aP,
@@ -23227,7 +23225,7 @@ export {
23227
23225
  Qf as aS,
23228
23226
  h0 as aT,
23229
23227
  zf as aU,
23230
- dR as aa,
23228
+ hR as aa,
23231
23229
  et as ab,
23232
23230
  _u as ac,
23233
23231
  Fl as ad,
@@ -23235,47 +23233,47 @@ export {
23235
23233
  GO as af,
23236
23234
  hx as ag,
23237
23235
  ao as ah,
23238
- nN as ai,
23236
+ rN as ai,
23239
23237
  mu as aj,
23240
23238
  PT as ak,
23241
- iN as al,
23242
- FN as am,
23243
- $N as an,
23244
- lR as ao,
23239
+ nN as al,
23240
+ MN as am,
23241
+ UN as an,
23242
+ cR as ao,
23245
23243
  $0 as ap,
23246
23244
  Z0 as aq,
23247
23245
  su as ar,
23248
- fN as as,
23246
+ lN as as,
23249
23247
  Gr as at,
23250
23248
  NC as au,
23251
23249
  RC as av,
23252
- QN as aw,
23253
- UP as ax,
23254
- $P as ay,
23255
- HP as az,
23250
+ zN as aw,
23251
+ BP as ax,
23252
+ UP as ay,
23253
+ $P as az,
23256
23254
  x1 as b,
23257
23255
  Pt as c,
23258
23256
  G1 as d,
23259
23257
  C0 as e,
23260
23258
  ui as f,
23261
- yN as g,
23259
+ gN as g,
23262
23260
  ru as h,
23263
23261
  vf as i,
23264
23262
  W1 as j,
23265
- RN as k,
23263
+ CN as k,
23266
23264
  yf as l,
23267
23265
  R1 as m,
23268
23266
  O0 as n,
23269
- gN as o,
23270
- vN as p,
23271
- mN as q,
23267
+ mN as o,
23268
+ yN as p,
23269
+ pN as q,
23272
23270
  P1 as r,
23273
23271
  K1 as s,
23274
- CN as t,
23275
- bN as u,
23276
- wN as v,
23277
- EN as w,
23278
- lt as x,
23272
+ xN as t,
23273
+ EN as u,
23274
+ bN as v,
23275
+ _N as w,
23276
+ ct as x,
23279
23277
  si as y,
23280
23278
  R0 as z
23281
23279
  };