@apolitical/component-library 2.1.1 → 2.1.2-ac.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.mjs CHANGED
@@ -54,14 +54,14 @@ var zr = { exports: {} };
54
54
  })();
55
55
  })(zr);
56
56
  var is = zr.exports;
57
- const E = /* @__PURE__ */ Pn(is), os = ({
57
+ const T = /* @__PURE__ */ Pn(is), os = ({
58
58
  element: e = "span",
59
59
  showOnFocus: t = !0,
60
60
  children: n,
61
61
  ...r
62
62
  }) => z.createElement(e, {
63
63
  ...r,
64
- className: E("hidden", { "show-on-focus": t }),
64
+ className: T("hidden", { "show-on-focus": t }),
65
65
  children: n
66
66
  }), _e = Oe(os), cs = ({
67
67
  element: e = "span",
@@ -85,14 +85,14 @@ function ls() {
85
85
  lr = 1;
86
86
  var e = z, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, s = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
87
87
  function c(o, u, d) {
88
- var f, l = {}, m = null, h = null;
89
- d !== void 0 && (m = "" + d), u.key !== void 0 && (m = "" + u.key), u.ref !== void 0 && (h = u.ref);
88
+ var f, l = {}, m = null, p = null;
89
+ d !== void 0 && (m = "" + d), u.key !== void 0 && (m = "" + u.key), u.ref !== void 0 && (p = u.ref);
90
90
  for (f in u)
91
91
  r.call(u, f) && !i.hasOwnProperty(f) && (l[f] = u[f]);
92
92
  if (o && o.defaultProps)
93
93
  for (f in u = o.defaultProps, u)
94
94
  l[f] === void 0 && (l[f] = u[f]);
95
- return { $$typeof: t, type: o, key: m, ref: h, props: l, _owner: s.current };
95
+ return { $$typeof: t, type: o, key: m, ref: p, props: l, _owner: s.current };
96
96
  }
97
97
  return Je.Fragment = n, Je.jsx = c, Je.jsxs = c, Je;
98
98
  }
@@ -109,58 +109,58 @@ var Xe = {};
109
109
  var dr;
110
110
  function ds() {
111
111
  return dr || (dr = 1, process.env.NODE_ENV !== "production" && function() {
112
- var e = z, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), o = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), l = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), _ = Symbol.iterator, g = "@@iterator";
113
- function v(p) {
114
- if (p === null || typeof p != "object")
112
+ var e = z, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), o = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), l = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), g = Symbol.iterator, _ = "@@iterator";
113
+ function v(h) {
114
+ if (h === null || typeof h != "object")
115
115
  return null;
116
- var S = _ && p[_] || p[g];
116
+ var S = g && h[g] || h[_];
117
117
  return typeof S == "function" ? S : null;
118
118
  }
119
119
  var b = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
120
- function y(p) {
120
+ function y(h) {
121
121
  {
122
122
  for (var S = arguments.length, R = new Array(S > 1 ? S - 1 : 0), Q = 1; Q < S; Q++)
123
123
  R[Q - 1] = arguments[Q];
124
- j("error", p, R);
124
+ j("error", h, R);
125
125
  }
126
126
  }
127
- function j(p, S, R) {
127
+ function j(h, S, R) {
128
128
  {
129
129
  var Q = b.ReactDebugCurrentFrame, oe = Q.getStackAddendum();
130
130
  oe !== "" && (S += "%s", R = R.concat([oe]));
131
131
  var fe = R.map(function(ae) {
132
132
  return String(ae);
133
133
  });
134
- fe.unshift("Warning: " + S), Function.prototype.apply.call(console[p], console, fe);
134
+ fe.unshift("Warning: " + S), Function.prototype.apply.call(console[h], console, fe);
135
135
  }
136
136
  }
137
- var w = !1, x = !1, O = !1, $ = !1, T = !1, P;
137
+ var w = !1, x = !1, O = !1, $ = !1, E = !1, P;
138
138
  P = Symbol.for("react.module.reference");
139
- function A(p) {
140
- return !!(typeof p == "string" || typeof p == "function" || p === r || p === i || T || p === s || p === d || p === f || $ || p === h || w || x || O || typeof p == "object" && p !== null && (p.$$typeof === m || p.$$typeof === l || p.$$typeof === c || p.$$typeof === o || p.$$typeof === u || // This needs to include all possible module reference object
139
+ function A(h) {
140
+ return !!(typeof h == "string" || typeof h == "function" || h === r || h === i || E || h === s || h === d || h === f || $ || h === p || w || x || O || typeof h == "object" && h !== null && (h.$$typeof === m || h.$$typeof === l || h.$$typeof === c || h.$$typeof === o || h.$$typeof === u || // This needs to include all possible module reference object
141
141
  // types supported by any Flight configuration anywhere since
142
142
  // we don't know which Flight build this will end up being used
143
143
  // with.
144
- p.$$typeof === P || p.getModuleId !== void 0));
144
+ h.$$typeof === P || h.getModuleId !== void 0));
145
145
  }
146
- function F(p, S, R) {
147
- var Q = p.displayName;
146
+ function F(h, S, R) {
147
+ var Q = h.displayName;
148
148
  if (Q)
149
149
  return Q;
150
150
  var oe = S.displayName || S.name || "";
151
151
  return oe !== "" ? R + "(" + oe + ")" : R;
152
152
  }
153
- function ue(p) {
154
- return p.displayName || "Context";
153
+ function ue(h) {
154
+ return h.displayName || "Context";
155
155
  }
156
- function L(p) {
157
- if (p == null)
156
+ function L(h) {
157
+ if (h == null)
158
158
  return null;
159
- if (typeof p.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof p == "function")
160
- return p.displayName || p.name || null;
161
- if (typeof p == "string")
162
- return p;
163
- switch (p) {
159
+ if (typeof h.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof h == "function")
160
+ return h.displayName || h.name || null;
161
+ if (typeof h == "string")
162
+ return h;
163
+ switch (h) {
164
164
  case r:
165
165
  return "Fragment";
166
166
  case n:
@@ -174,21 +174,21 @@ function ds() {
174
174
  case f:
175
175
  return "SuspenseList";
176
176
  }
177
- if (typeof p == "object")
178
- switch (p.$$typeof) {
177
+ if (typeof h == "object")
178
+ switch (h.$$typeof) {
179
179
  case o:
180
- var S = p;
180
+ var S = h;
181
181
  return ue(S) + ".Consumer";
182
182
  case c:
183
- var R = p;
183
+ var R = h;
184
184
  return ue(R._context) + ".Provider";
185
185
  case u:
186
- return F(p, p.render, "ForwardRef");
186
+ return F(h, h.render, "ForwardRef");
187
187
  case l:
188
- var Q = p.displayName || null;
189
- return Q !== null ? Q : L(p.type) || "Memo";
188
+ var Q = h.displayName || null;
189
+ return Q !== null ? Q : L(h.type) || "Memo";
190
190
  case m: {
191
- var oe = p, fe = oe._payload, ae = oe._init;
191
+ var oe = h, fe = oe._payload, ae = oe._init;
192
192
  try {
193
193
  return L(ae(fe));
194
194
  } catch {
@@ -206,20 +206,20 @@ function ds() {
206
206
  {
207
207
  if (G === 0) {
208
208
  Z = console.log, U = console.info, te = console.warn, ie = console.error, k = console.group, C = console.groupCollapsed, D = console.groupEnd;
209
- var p = {
209
+ var h = {
210
210
  configurable: !0,
211
211
  enumerable: !0,
212
212
  value: I,
213
213
  writable: !0
214
214
  };
215
215
  Object.defineProperties(console, {
216
- info: p,
217
- log: p,
218
- warn: p,
219
- error: p,
220
- group: p,
221
- groupCollapsed: p,
222
- groupEnd: p
216
+ info: h,
217
+ log: h,
218
+ warn: h,
219
+ error: h,
220
+ group: h,
221
+ groupCollapsed: h,
222
+ groupEnd: h
223
223
  });
224
224
  }
225
225
  G++;
@@ -228,31 +228,31 @@ function ds() {
228
228
  function K() {
229
229
  {
230
230
  if (G--, G === 0) {
231
- var p = {
231
+ var h = {
232
232
  configurable: !0,
233
233
  enumerable: !0,
234
234
  writable: !0
235
235
  };
236
236
  Object.defineProperties(console, {
237
- log: V({}, p, {
237
+ log: V({}, h, {
238
238
  value: Z
239
239
  }),
240
- info: V({}, p, {
240
+ info: V({}, h, {
241
241
  value: U
242
242
  }),
243
- warn: V({}, p, {
243
+ warn: V({}, h, {
244
244
  value: te
245
245
  }),
246
- error: V({}, p, {
246
+ error: V({}, h, {
247
247
  value: ie
248
248
  }),
249
- group: V({}, p, {
249
+ group: V({}, h, {
250
250
  value: k
251
251
  }),
252
- groupCollapsed: V({}, p, {
252
+ groupCollapsed: V({}, h, {
253
253
  value: C
254
254
  }),
255
- groupEnd: V({}, p, {
255
+ groupEnd: V({}, h, {
256
256
  value: D
257
257
  })
258
258
  });
@@ -261,7 +261,7 @@ function ds() {
261
261
  }
262
262
  }
263
263
  var H = b.ReactCurrentDispatcher, q;
264
- function Y(p, S, R) {
264
+ function Y(h, S, R) {
265
265
  {
266
266
  if (q === void 0)
267
267
  try {
@@ -271,7 +271,7 @@ function ds() {
271
271
  q = Q && Q[1] || "";
272
272
  }
273
273
  return `
274
- ` + q + p;
274
+ ` + q + h;
275
275
  }
276
276
  }
277
277
  var J = !1, M;
@@ -279,11 +279,11 @@ function ds() {
279
279
  var re = typeof WeakMap == "function" ? WeakMap : Map;
280
280
  M = new re();
281
281
  }
282
- function N(p, S) {
283
- if (!p || J)
282
+ function N(h, S) {
283
+ if (!h || J)
284
284
  return "";
285
285
  {
286
- var R = M.get(p);
286
+ var R = M.get(h);
287
287
  if (R !== void 0)
288
288
  return R;
289
289
  }
@@ -308,14 +308,14 @@ function ds() {
308
308
  } catch (Ne) {
309
309
  Q = Ne;
310
310
  }
311
- Reflect.construct(p, [], ae);
311
+ Reflect.construct(h, [], ae);
312
312
  } else {
313
313
  try {
314
314
  ae.call();
315
315
  } catch (Ne) {
316
316
  Q = Ne;
317
317
  }
318
- p.call(ae.prototype);
318
+ h.call(ae.prototype);
319
319
  }
320
320
  } else {
321
321
  try {
@@ -323,7 +323,7 @@ function ds() {
323
323
  } catch (Ne) {
324
324
  Q = Ne;
325
325
  }
326
- p();
326
+ h();
327
327
  }
328
328
  } catch (Ne) {
329
329
  if (Ne && Q && typeof Ne.stack == "string") {
@@ -338,7 +338,7 @@ function ds() {
338
338
  if (pe--, he--, he < 0 || ne[pe] !== be[he]) {
339
339
  var ke = `
340
340
  ` + ne[pe].replace(" at new ", " at ");
341
- return p.displayName && ke.includes("<anonymous>") && (ke = ke.replace("<anonymous>", p.displayName)), typeof p == "function" && M.set(p, ke), ke;
341
+ return h.displayName && ke.includes("<anonymous>") && (ke = ke.replace("<anonymous>", h.displayName)), typeof h == "function" && M.set(h, ke), ke;
342
342
  }
343
343
  while (pe >= 1 && he >= 0);
344
344
  break;
@@ -347,37 +347,37 @@ function ds() {
347
347
  } finally {
348
348
  J = !1, H.current = fe, K(), Error.prepareStackTrace = oe;
349
349
  }
350
- var ze = p ? p.displayName || p.name : "", ir = ze ? Y(ze) : "";
351
- return typeof p == "function" && M.set(p, ir), ir;
350
+ var ze = h ? h.displayName || h.name : "", ir = ze ? Y(ze) : "";
351
+ return typeof h == "function" && M.set(h, ir), ir;
352
352
  }
353
- function ge(p, S, R) {
354
- return N(p, !1);
353
+ function ge(h, S, R) {
354
+ return N(h, !1);
355
355
  }
356
- function Me(p) {
357
- var S = p.prototype;
356
+ function Me(h) {
357
+ var S = h.prototype;
358
358
  return !!(S && S.isReactComponent);
359
359
  }
360
- function Se(p, S, R) {
361
- if (p == null)
360
+ function Se(h, S, R) {
361
+ if (h == null)
362
362
  return "";
363
- if (typeof p == "function")
364
- return N(p, Me(p));
365
- if (typeof p == "string")
366
- return Y(p);
367
- switch (p) {
363
+ if (typeof h == "function")
364
+ return N(h, Me(h));
365
+ if (typeof h == "string")
366
+ return Y(h);
367
+ switch (h) {
368
368
  case d:
369
369
  return Y("Suspense");
370
370
  case f:
371
371
  return Y("SuspenseList");
372
372
  }
373
- if (typeof p == "object")
374
- switch (p.$$typeof) {
373
+ if (typeof h == "object")
374
+ switch (h.$$typeof) {
375
375
  case u:
376
- return ge(p.render);
376
+ return ge(h.render);
377
377
  case l:
378
- return Se(p.type, S, R);
378
+ return Se(h.type, S, R);
379
379
  case m: {
380
- var Q = p, oe = Q._payload, fe = Q._init;
380
+ var Q = h, oe = Q._payload, fe = Q._init;
381
381
  try {
382
382
  return Se(fe(oe), S, R);
383
383
  } catch {
@@ -387,25 +387,25 @@ function ds() {
387
387
  return "";
388
388
  }
389
389
  var Ie = Object.prototype.hasOwnProperty, Yn = {}, Gn = b.ReactDebugCurrentFrame;
390
- function ft(p) {
391
- if (p) {
392
- var S = p._owner, R = Se(p.type, p._source, S ? S.type : null);
390
+ function ft(h) {
391
+ if (h) {
392
+ var S = h._owner, R = Se(h.type, h._source, S ? S.type : null);
393
393
  Gn.setExtraStackFrame(R);
394
394
  } else
395
395
  Gn.setExtraStackFrame(null);
396
396
  }
397
- function Ta(p, S, R, Q, oe) {
397
+ function Ta(h, S, R, Q, oe) {
398
398
  {
399
399
  var fe = Function.call.bind(Ie);
400
- for (var ae in p)
401
- if (fe(p, ae)) {
400
+ for (var ae in h)
401
+ if (fe(h, ae)) {
402
402
  var ne = void 0;
403
403
  try {
404
- if (typeof p[ae] != "function") {
405
- var be = Error((Q || "React class") + ": " + R + " type `" + ae + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof p[ae] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
404
+ if (typeof h[ae] != "function") {
405
+ var be = Error((Q || "React class") + ": " + R + " type `" + ae + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof h[ae] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
406
406
  throw be.name = "Invariant Violation", be;
407
407
  }
408
- ne = p[ae](S, ae, Q, R, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
408
+ ne = h[ae](S, ae, Q, R, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
409
409
  } catch (pe) {
410
410
  ne = pe;
411
411
  }
@@ -414,28 +414,28 @@ function ds() {
414
414
  }
415
415
  }
416
416
  var Ea = Array.isArray;
417
- function Bt(p) {
418
- return Ea(p);
417
+ function Bt(h) {
418
+ return Ea(h);
419
419
  }
420
- function Sa(p) {
420
+ function Sa(h) {
421
421
  {
422
- var S = typeof Symbol == "function" && Symbol.toStringTag, R = S && p[Symbol.toStringTag] || p.constructor.name || "Object";
422
+ var S = typeof Symbol == "function" && Symbol.toStringTag, R = S && h[Symbol.toStringTag] || h.constructor.name || "Object";
423
423
  return R;
424
424
  }
425
425
  }
426
- function Ca(p) {
426
+ function Ca(h) {
427
427
  try {
428
- return Kn(p), !1;
428
+ return Kn(h), !1;
429
429
  } catch {
430
430
  return !0;
431
431
  }
432
432
  }
433
- function Kn(p) {
434
- return "" + p;
433
+ function Kn(h) {
434
+ return "" + h;
435
435
  }
436
- function Qn(p) {
437
- if (Ca(p))
438
- return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Sa(p)), Kn(p);
436
+ function Qn(h) {
437
+ if (Ca(h))
438
+ return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Sa(h)), Kn(h);
439
439
  }
440
440
  var Qe = b.ReactCurrentOwner, $a = {
441
441
  key: !0,
@@ -444,56 +444,56 @@ function ds() {
444
444
  __source: !0
445
445
  }, Jn, Xn, qt;
446
446
  qt = {};
447
- function Ma(p) {
448
- if (Ie.call(p, "ref")) {
449
- var S = Object.getOwnPropertyDescriptor(p, "ref").get;
447
+ function Ma(h) {
448
+ if (Ie.call(h, "ref")) {
449
+ var S = Object.getOwnPropertyDescriptor(h, "ref").get;
450
450
  if (S && S.isReactWarning)
451
451
  return !1;
452
452
  }
453
- return p.ref !== void 0;
453
+ return h.ref !== void 0;
454
454
  }
455
- function Na(p) {
456
- if (Ie.call(p, "key")) {
457
- var S = Object.getOwnPropertyDescriptor(p, "key").get;
455
+ function Na(h) {
456
+ if (Ie.call(h, "key")) {
457
+ var S = Object.getOwnPropertyDescriptor(h, "key").get;
458
458
  if (S && S.isReactWarning)
459
459
  return !1;
460
460
  }
461
- return p.key !== void 0;
461
+ return h.key !== void 0;
462
462
  }
463
- function Ra(p, S) {
464
- if (typeof p.ref == "string" && Qe.current && S && Qe.current.stateNode !== S) {
463
+ function Ra(h, S) {
464
+ if (typeof h.ref == "string" && Qe.current && S && Qe.current.stateNode !== S) {
465
465
  var R = L(Qe.current.type);
466
- qt[R] || (y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', L(Qe.current.type), p.ref), qt[R] = !0);
466
+ qt[R] || (y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', L(Qe.current.type), h.ref), qt[R] = !0);
467
467
  }
468
468
  }
469
- function Pa(p, S) {
469
+ function Pa(h, S) {
470
470
  {
471
471
  var R = function() {
472
472
  Jn || (Jn = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", S));
473
473
  };
474
- R.isReactWarning = !0, Object.defineProperty(p, "key", {
474
+ R.isReactWarning = !0, Object.defineProperty(h, "key", {
475
475
  get: R,
476
476
  configurable: !0
477
477
  });
478
478
  }
479
479
  }
480
- function Aa(p, S) {
480
+ function Aa(h, S) {
481
481
  {
482
482
  var R = function() {
483
483
  Xn || (Xn = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", S));
484
484
  };
485
- R.isReactWarning = !0, Object.defineProperty(p, "ref", {
485
+ R.isReactWarning = !0, Object.defineProperty(h, "ref", {
486
486
  get: R,
487
487
  configurable: !0
488
488
  });
489
489
  }
490
490
  }
491
- var Oa = function(p, S, R, Q, oe, fe, ae) {
491
+ var Oa = function(h, S, R, Q, oe, fe, ae) {
492
492
  var ne = {
493
493
  // This tag allows us to uniquely identify this as a React Element
494
494
  $$typeof: t,
495
495
  // Built-in properties that belong on the element
496
- type: p,
496
+ type: h,
497
497
  key: S,
498
498
  ref: R,
499
499
  props: ae,
@@ -517,53 +517,53 @@ function ds() {
517
517
  value: oe
518
518
  }), Object.freeze && (Object.freeze(ne.props), Object.freeze(ne)), ne;
519
519
  };
520
- function Fa(p, S, R, Q, oe) {
520
+ function Fa(h, S, R, Q, oe) {
521
521
  {
522
522
  var fe, ae = {}, ne = null, be = null;
523
523
  R !== void 0 && (Qn(R), ne = "" + R), Na(S) && (Qn(S.key), ne = "" + S.key), Ma(S) && (be = S.ref, Ra(S, oe));
524
524
  for (fe in S)
525
525
  Ie.call(S, fe) && !$a.hasOwnProperty(fe) && (ae[fe] = S[fe]);
526
- if (p && p.defaultProps) {
527
- var pe = p.defaultProps;
526
+ if (h && h.defaultProps) {
527
+ var pe = h.defaultProps;
528
528
  for (fe in pe)
529
529
  ae[fe] === void 0 && (ae[fe] = pe[fe]);
530
530
  }
531
531
  if (ne || be) {
532
- var he = typeof p == "function" ? p.displayName || p.name || "Unknown" : p;
532
+ var he = typeof h == "function" ? h.displayName || h.name || "Unknown" : h;
533
533
  ne && Pa(ae, he), be && Aa(ae, he);
534
534
  }
535
- return Oa(p, ne, be, oe, Q, Qe.current, ae);
535
+ return Oa(h, ne, be, oe, Q, Qe.current, ae);
536
536
  }
537
537
  }
538
538
  var zt = b.ReactCurrentOwner, er = b.ReactDebugCurrentFrame;
539
- function qe(p) {
540
- if (p) {
541
- var S = p._owner, R = Se(p.type, p._source, S ? S.type : null);
539
+ function qe(h) {
540
+ if (h) {
541
+ var S = h._owner, R = Se(h.type, h._source, S ? S.type : null);
542
542
  er.setExtraStackFrame(R);
543
543
  } else
544
544
  er.setExtraStackFrame(null);
545
545
  }
546
546
  var Zt;
547
547
  Zt = !1;
548
- function Ut(p) {
549
- return typeof p == "object" && p !== null && p.$$typeof === t;
548
+ function Ut(h) {
549
+ return typeof h == "object" && h !== null && h.$$typeof === t;
550
550
  }
551
551
  function tr() {
552
552
  {
553
553
  if (zt.current) {
554
- var p = L(zt.current.type);
555
- if (p)
554
+ var h = L(zt.current.type);
555
+ if (h)
556
556
  return `
557
557
 
558
- Check the render method of \`` + p + "`.";
558
+ Check the render method of \`` + h + "`.";
559
559
  }
560
560
  return "";
561
561
  }
562
562
  }
563
- function La(p) {
563
+ function La(h) {
564
564
  {
565
- if (p !== void 0) {
566
- var S = p.fileName.replace(/^.*[\\\/]/, ""), R = p.lineNumber;
565
+ if (h !== void 0) {
566
+ var S = h.fileName.replace(/^.*[\\\/]/, ""), R = h.lineNumber;
567
567
  return `
568
568
 
569
569
  Check your code at ` + S + ":" + R + ".";
@@ -572,11 +572,11 @@ Check your code at ` + S + ":" + R + ".";
572
572
  }
573
573
  }
574
574
  var nr = {};
575
- function Da(p) {
575
+ function Da(h) {
576
576
  {
577
577
  var S = tr();
578
578
  if (!S) {
579
- var R = typeof p == "string" ? p : p.displayName || p.name;
579
+ var R = typeof h == "string" ? h : h.displayName || h.name;
580
580
  R && (S = `
581
581
 
582
582
  Check the top-level render call using <` + R + ">.");
@@ -584,41 +584,41 @@ Check the top-level render call using <` + R + ">.");
584
584
  return S;
585
585
  }
586
586
  }
587
- function rr(p, S) {
587
+ function rr(h, S) {
588
588
  {
589
- if (!p._store || p._store.validated || p.key != null)
589
+ if (!h._store || h._store.validated || h.key != null)
590
590
  return;
591
- p._store.validated = !0;
591
+ h._store.validated = !0;
592
592
  var R = Da(S);
593
593
  if (nr[R])
594
594
  return;
595
595
  nr[R] = !0;
596
596
  var Q = "";
597
- p && p._owner && p._owner !== zt.current && (Q = " It was passed a child from " + L(p._owner.type) + "."), qe(p), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', R, Q), qe(null);
597
+ h && h._owner && h._owner !== zt.current && (Q = " It was passed a child from " + L(h._owner.type) + "."), qe(h), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', R, Q), qe(null);
598
598
  }
599
599
  }
600
- function ar(p, S) {
600
+ function ar(h, S) {
601
601
  {
602
- if (typeof p != "object")
602
+ if (typeof h != "object")
603
603
  return;
604
- if (Bt(p))
605
- for (var R = 0; R < p.length; R++) {
606
- var Q = p[R];
604
+ if (Bt(h))
605
+ for (var R = 0; R < h.length; R++) {
606
+ var Q = h[R];
607
607
  Ut(Q) && rr(Q, S);
608
608
  }
609
- else if (Ut(p))
610
- p._store && (p._store.validated = !0);
611
- else if (p) {
612
- var oe = v(p);
613
- if (typeof oe == "function" && oe !== p.entries)
614
- for (var fe = oe.call(p), ae; !(ae = fe.next()).done; )
609
+ else if (Ut(h))
610
+ h._store && (h._store.validated = !0);
611
+ else if (h) {
612
+ var oe = v(h);
613
+ if (typeof oe == "function" && oe !== h.entries)
614
+ for (var fe = oe.call(h), ae; !(ae = fe.next()).done; )
615
615
  Ut(ae.value) && rr(ae.value, S);
616
616
  }
617
617
  }
618
618
  }
619
- function Ia(p) {
619
+ function Ia(h) {
620
620
  {
621
- var S = p.type;
621
+ var S = h.type;
622
622
  if (S == null || typeof S == "string")
623
623
  return;
624
624
  var R;
@@ -632,7 +632,7 @@ Check the top-level render call using <` + R + ">.");
632
632
  return;
633
633
  if (R) {
634
634
  var Q = L(S);
635
- Ta(R, p.props, "prop", Q, p);
635
+ Ta(R, h.props, "prop", Q, h);
636
636
  } else if (S.PropTypes !== void 0 && !Zt) {
637
637
  Zt = !0;
638
638
  var oe = L(S);
@@ -641,30 +641,30 @@ Check the top-level render call using <` + R + ">.");
641
641
  typeof S.getDefaultProps == "function" && !S.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
642
642
  }
643
643
  }
644
- function Ba(p) {
644
+ function Ba(h) {
645
645
  {
646
- for (var S = Object.keys(p.props), R = 0; R < S.length; R++) {
646
+ for (var S = Object.keys(h.props), R = 0; R < S.length; R++) {
647
647
  var Q = S[R];
648
648
  if (Q !== "children" && Q !== "key") {
649
- qe(p), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Q), qe(null);
649
+ qe(h), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Q), qe(null);
650
650
  break;
651
651
  }
652
652
  }
653
- p.ref !== null && (qe(p), y("Invalid attribute `ref` supplied to `React.Fragment`."), qe(null));
653
+ h.ref !== null && (qe(h), y("Invalid attribute `ref` supplied to `React.Fragment`."), qe(null));
654
654
  }
655
655
  }
656
- function sr(p, S, R, Q, oe, fe) {
656
+ function sr(h, S, R, Q, oe, fe) {
657
657
  {
658
- var ae = A(p);
658
+ var ae = A(h);
659
659
  if (!ae) {
660
660
  var ne = "";
661
- (p === void 0 || typeof p == "object" && p !== null && Object.keys(p).length === 0) && (ne += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
661
+ (h === void 0 || typeof h == "object" && h !== null && Object.keys(h).length === 0) && (ne += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
662
662
  var be = La(oe);
663
663
  be ? ne += be : ne += tr();
664
664
  var pe;
665
- p === null ? pe = "null" : Bt(p) ? pe = "array" : p !== void 0 && p.$$typeof === t ? (pe = "<" + (L(p.type) || "Unknown") + " />", ne = " Did you accidentally export a JSX literal instead of a component?") : pe = typeof p, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", pe, ne);
665
+ h === null ? pe = "null" : Bt(h) ? pe = "array" : h !== void 0 && h.$$typeof === t ? (pe = "<" + (L(h.type) || "Unknown") + " />", ne = " Did you accidentally export a JSX literal instead of a component?") : pe = typeof h, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", pe, ne);
666
666
  }
667
- var he = Fa(p, S, R, oe, fe);
667
+ var he = Fa(h, S, R, oe, fe);
668
668
  if (he == null)
669
669
  return he;
670
670
  if (ae) {
@@ -673,21 +673,21 @@ Check the top-level render call using <` + R + ">.");
673
673
  if (Q)
674
674
  if (Bt(ke)) {
675
675
  for (var ze = 0; ze < ke.length; ze++)
676
- ar(ke[ze], p);
676
+ ar(ke[ze], h);
677
677
  Object.freeze && Object.freeze(ke);
678
678
  } else
679
679
  y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
680
680
  else
681
- ar(ke, p);
681
+ ar(ke, h);
682
682
  }
683
- return p === r ? Ba(he) : Ia(he), he;
683
+ return h === r ? Ba(he) : Ia(he), he;
684
684
  }
685
685
  }
686
- function qa(p, S, R) {
687
- return sr(p, S, R, !0);
686
+ function qa(h, S, R) {
687
+ return sr(h, S, R, !0);
688
688
  }
689
- function za(p, S, R) {
690
- return sr(p, S, R, !1);
689
+ function za(h, S, R) {
690
+ return sr(h, S, R, !1);
691
691
  }
692
692
  var Za = za, Ua = qa;
693
693
  Xe.Fragment = r, Xe.jsx = Za, Xe.jsxs = Ua;
@@ -712,11 +712,11 @@ const us = () => {
712
712
  function fs(e, t, n) {
713
713
  var r = this, s = me(null), i = me(0), c = me(null), o = me([]), u = me(), d = me(), f = me(e), l = me(!0);
714
714
  f.current = e;
715
- var m = typeof window < "u", h = !t && t !== 0 && m;
715
+ var m = typeof window < "u", p = !t && t !== 0 && m;
716
716
  if (typeof e != "function")
717
717
  throw new TypeError("Expected a function");
718
718
  t = +t || 0;
719
- var _ = !!(n = n || {}).leading, g = !("trailing" in n) || !!n.trailing, v = "maxWait" in n, b = "debounceOnServer" in n && !!n.debounceOnServer, y = v ? Math.max(+n.maxWait || 0, t) : null;
719
+ var g = !!(n = n || {}).leading, _ = !("trailing" in n) || !!n.trailing, v = "maxWait" in n, b = "debounceOnServer" in n && !!n.debounceOnServer, y = v ? Math.max(+n.maxWait || 0, t) : null;
720
720
  se(function() {
721
721
  return l.current = !0, function() {
722
722
  l.current = !1;
@@ -727,15 +727,15 @@ function fs(e, t, n) {
727
727
  var F = o.current, ue = u.current;
728
728
  return o.current = u.current = null, i.current = A, d.current = f.current.apply(ue, F);
729
729
  }, x = function(A, F) {
730
- h && cancelAnimationFrame(c.current), c.current = h ? requestAnimationFrame(A) : setTimeout(A, F);
730
+ p && cancelAnimationFrame(c.current), c.current = p ? requestAnimationFrame(A) : setTimeout(A, F);
731
731
  }, O = function(A) {
732
732
  if (!l.current)
733
733
  return !1;
734
734
  var F = A - s.current;
735
735
  return !s.current || F >= t || F < 0 || v && A - i.current >= y;
736
736
  }, $ = function(A) {
737
- return c.current = null, g && o.current ? w(A) : (o.current = u.current = null, d.current);
738
- }, T = function A() {
737
+ return c.current = null, _ && o.current ? w(A) : (o.current = u.current = null, d.current);
738
+ }, E = function A() {
739
739
  var F = Date.now();
740
740
  if (O(F))
741
741
  return $(F);
@@ -748,21 +748,21 @@ function fs(e, t, n) {
748
748
  var A = Date.now(), F = O(A);
749
749
  if (o.current = [].slice.call(arguments), u.current = r, s.current = A, F) {
750
750
  if (!c.current && l.current)
751
- return i.current = s.current, x(T, t), _ ? w(s.current) : d.current;
751
+ return i.current = s.current, x(E, t), g ? w(s.current) : d.current;
752
752
  if (v)
753
- return x(T, t), w(s.current);
753
+ return x(E, t), w(s.current);
754
754
  }
755
- return c.current || x(T, t), d.current;
755
+ return c.current || x(E, t), d.current;
756
756
  }
757
757
  };
758
758
  return P.cancel = function() {
759
- c.current && (h ? cancelAnimationFrame(c.current) : clearTimeout(c.current)), i.current = 0, o.current = s.current = u.current = c.current = null;
759
+ c.current && (p ? cancelAnimationFrame(c.current) : clearTimeout(c.current)), i.current = 0, o.current = s.current = u.current = c.current = null;
760
760
  }, P.isPending = function() {
761
761
  return !!c.current;
762
762
  }, P.flush = function() {
763
763
  return c.current ? $(Date.now()) : d.current;
764
764
  }, P;
765
- }, [_, v, t, y, g, h, m, b]);
765
+ }, [g, v, t, y, _, p, m, b]);
766
766
  return j;
767
767
  }
768
768
  function Zr(e, t, n) {
@@ -817,8 +817,8 @@ const lt = (e = !0, t = !1, n = "window") => {
817
817
  d.flush(), window.removeEventListener("scroll", d);
818
818
  }), []);
819
819
  const u = () => {
820
- const f = window.scrollY, l = s.current, m = f - l, h = m > 0 ? "down" : "up";
821
- if (i({ current: f, past: l }), h === "down") {
820
+ const f = window.scrollY, l = s.current, m = f - l, p = m > 0 ? "down" : "up";
821
+ if (i({ current: f, past: l }), p === "down") {
822
822
  f >= e + t.down && !c.scrollDown && (!c.scrollUp || m > t.up) && (n(), o({ scrollUp: !1, scrollDown: !0 }));
823
823
  return;
824
824
  }
@@ -1344,16 +1344,16 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1344
1344
  children: f = !1,
1345
1345
  ...l
1346
1346
  }) => {
1347
- const h = lt(typeof t == "object");
1348
- if (typeof t == "object" && typeof h == "number") {
1347
+ const p = lt(typeof t == "object");
1348
+ if (typeof t == "object" && typeof p == "number") {
1349
1349
  const v = Object.assign({}, t), b = Hr(Object.keys(v));
1350
- t = Wr(h, b, v);
1350
+ t = Wr(p, b, v);
1351
1351
  }
1352
- const _ = [];
1353
- typeof t == "string" && _.push(t), r && (_.push("icon"), typeof r == "object" ? (_.push(r.icon), r.position ? _.push(r.position) : _.push("left"), r.hover && _.push(`hover_${r.hover}`), r.animate && (_.push("animate"), typeof r.animate == "string" && _.push(r.animate))) : (_.push(r), !r.includes("right") && !r.includes("left") && _.push("left"))), n.muted && _.push("muted"), n.fullWidth && _.push("full-width");
1354
- const g = {
1352
+ const g = [];
1353
+ typeof t == "string" && g.push(t), r && (g.push("icon"), typeof r == "object" ? (g.push(r.icon), r.position ? g.push(r.position) : g.push("left"), r.hover && g.push(`hover_${r.hover}`), r.animate && (g.push("animate"), typeof r.animate == "string" && g.push(r.animate))) : (g.push(r), !r.includes("right") && !r.includes("left") && g.push("left"))), n.muted && g.push("muted"), n.fullWidth && g.push("full-width");
1354
+ const _ = {
1355
1355
  ...l,
1356
- className: E(e, o, _, {
1356
+ className: T(e, o, g, {
1357
1357
  "no-text": !f,
1358
1358
  disabled: u,
1359
1359
  button: s
@@ -1363,22 +1363,22 @@ Thank you for helping to protect the Apolitical community from abusive content.`
1363
1363
  },
1364
1364
  disabled: typeof u == "object" && "isClickable" in u ? !u.isClickable : u
1365
1365
  };
1366
- return s && (i = "a", g.href = s), z.createElement(
1366
+ return s && (i = "a", _.href = s), z.createElement(
1367
1367
  i,
1368
- g,
1368
+ _,
1369
1369
  f || (d ? /* @__PURE__ */ a.jsx(_e, { showOnFocus: !1, children: d }) : null)
1370
1370
  );
1371
1371
  }, At = ({ buttons: e, className: t = "", ...n }) => {
1372
1372
  const r = e.length > 1 ? "ul" : "p", s = e.map((i, c) => r === "p" ? /* @__PURE__ */ a.jsx(ee, { ...i }, c) : /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(ee, { ...i }) }, c));
1373
1373
  return z.createElement(r, {
1374
- className: E("button-wrapper", t),
1374
+ className: T("button-wrapper", t),
1375
1375
  ...n,
1376
1376
  children: s
1377
1377
  });
1378
1378
  };
1379
1379
  const Ae = ({ className: e = "", maxWidth: t = !1 }) => {
1380
1380
  const n = t ? { "--max-width": `${t / 16}rem` } : {};
1381
- return /* @__PURE__ */ a.jsx("hr", { className: E(e, { "has-max-width": t }), style: n });
1381
+ return /* @__PURE__ */ a.jsx("hr", { className: T(e, { "has-max-width": t }), style: n });
1382
1382
  }, ur = {
1383
1383
  card: {
1384
1384
  range: [
@@ -1509,23 +1509,23 @@ const Ot = ({ image: e, className: t, testId: n }) => {
1509
1509
  loading: d,
1510
1510
  decoding: f,
1511
1511
  fetchPriority: l
1512
- } = e, { range: m, sizes: h } = Ss(e), _ = Wt({ format: "avif", query: c, range: m, url: o }), g = Wt({ format: "webp", query: c, range: m, url: o }), v = Wt({ format: "", query: c, range: m, url: o });
1512
+ } = e, { range: m, sizes: p } = Ss(e), g = Wt({ format: "avif", query: c, range: m, url: o }), _ = Wt({ format: "webp", query: c, range: m, url: o }), v = Wt({ format: "", query: c, range: m, url: o });
1513
1513
  return /* @__PURE__ */ a.jsxs("picture", { className: t, children: [
1514
1514
  i !== "image/gif" && /* @__PURE__ */ a.jsx(
1515
1515
  "source",
1516
1516
  {
1517
1517
  type: "image/avif",
1518
- srcSet: _,
1519
- sizes: h,
1518
+ srcSet: g,
1519
+ sizes: p,
1520
1520
  "data-testid": "source"
1521
1521
  }
1522
1522
  ),
1523
- /* @__PURE__ */ a.jsx("source", { type: "image/webp", srcSet: g, sizes: h, "data-testid": "source" }),
1523
+ /* @__PURE__ */ a.jsx("source", { type: "image/webp", srcSet: _, sizes: p, "data-testid": "source" }),
1524
1524
  /* @__PURE__ */ a.jsx(
1525
1525
  "img",
1526
1526
  {
1527
1527
  srcSet: v,
1528
- sizes: h,
1528
+ sizes: p,
1529
1529
  src: o,
1530
1530
  alt: r,
1531
1531
  loading: d || "lazy",
@@ -1557,11 +1557,39 @@ const kc = ({ image: e, className: t, testId: n }) => /* @__PURE__ */ a.jsx(
1557
1557
  }) => {
1558
1558
  if (e) {
1559
1559
  const u = { ...o };
1560
- return s && (u.onClick = s), i && (u["data-gtm-event-context"] = i), c && (u["data-gtm-event-type"] = c), /* @__PURE__ */ a.jsx("a", { href: e, className: E("gtm-trackable", r), ...u, children: t });
1560
+ return s && (u.onClick = s), i && (u["data-gtm-event-context"] = i), c && (u["data-gtm-event-type"] = c), /* @__PURE__ */ a.jsx("a", { href: e, className: T("gtm-trackable", r), ...u, children: t });
1561
1561
  }
1562
1562
  return n ? z.createElement(n, { children: t, className: r, ...o }) : t;
1563
1563
  };
1564
- const Tc = ({ elementId: e, offset: t = 20 }) => {
1564
+ const Tc = ({ currentStep: e = 1, steps: t = 1 }) => {
1565
+ const [n, r] = X([]);
1566
+ return se(() => {
1567
+ const s = [];
1568
+ for (let i = 1; i < t + 1; i++)
1569
+ s.push(i);
1570
+ r(s);
1571
+ }, [t]), /* @__PURE__ */ a.jsx("div", { className: "navigation-dots-wrapper", children: /* @__PURE__ */ a.jsx("div", { className: "dots-wrapper", children: n.map((s) => /* @__PURE__ */ a.jsxs("div", { className: "dot-wrapper", children: [
1572
+ /* @__PURE__ */ a.jsx(
1573
+ "div",
1574
+ {
1575
+ className: T("dot", {
1576
+ active: s === e,
1577
+ completed: s < e
1578
+ }),
1579
+ "data-testid": "navigation-dot"
1580
+ }
1581
+ ),
1582
+ /* @__PURE__ */ a.jsx(
1583
+ "div",
1584
+ {
1585
+ className: T("line", {
1586
+ active: s < e
1587
+ })
1588
+ }
1589
+ )
1590
+ ] }, s)) }) });
1591
+ };
1592
+ const Ec = ({ elementId: e, offset: t = 20 }) => {
1565
1593
  const n = W(), r = () => {
1566
1594
  const s = document.getElementById(e);
1567
1595
  if (!s)
@@ -1606,14 +1634,14 @@ const $s = ({ isOpen: e = !1, isLoading: t = !1, children: n }) => {
1606
1634
  "aside",
1607
1635
  {
1608
1636
  ref: s,
1609
- className: E("tooltip text-medium", i, { loading: t }),
1637
+ className: T("tooltip text-medium", i, { loading: t }),
1610
1638
  hidden: i === "hidden",
1611
1639
  children: t ? /* @__PURE__ */ a.jsx("p", { children: r.formatMessage({ id: "tooltip_loading" }) }) : typeof n == "string" ? /* @__PURE__ */ a.jsx("p", { children: n }) : n
1612
1640
  }
1613
1641
  );
1614
1642
  };
1615
- const Ge = ({ children: e, className: t = "", ...n }) => /* @__PURE__ */ a.jsx("section", { className: E("full-width-section", t), ...n, children: e });
1616
- const Ec = ({ text: e, buttons: t, className: n = "" }) => {
1643
+ const Ge = ({ children: e, className: t = "", ...n }) => /* @__PURE__ */ a.jsx("section", { className: T("full-width-section", t), ...n, children: e });
1644
+ const Sc = ({ text: e, buttons: t, className: n = "" }) => {
1617
1645
  const r = [];
1618
1646
  return t.forEach((s) => {
1619
1647
  r.push({
@@ -1626,7 +1654,7 @@ const Ec = ({ text: e, buttons: t, className: n = "" }) => {
1626
1654
  target: "_blank",
1627
1655
  children: s.text
1628
1656
  });
1629
- }), /* @__PURE__ */ a.jsx(Ge, { className: E("download-section", n), children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1657
+ }), /* @__PURE__ */ a.jsx(Ge, { className: T("download-section", n), children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1630
1658
  z.createElement(
1631
1659
  typeof e == "string" ? "h2" : e.element,
1632
1660
  { className: "text" },
@@ -1640,11 +1668,11 @@ function Gr({ href: e, setShowModal: t }) {
1640
1668
  }
1641
1669
  const Ms = ({ icon: e, description: t, ctaMessage: n, href: r, showEditButton: s, setShowModal: i }) => {
1642
1670
  const { formatMessage: c } = W();
1643
- return /* @__PURE__ */ a.jsxs("div", { className: E("edit-section-placeholder", { "has-icon": !!e }), style: gs(e), children: [
1671
+ return /* @__PURE__ */ a.jsxs("div", { className: T("edit-section-placeholder", { "has-icon": !!e }), style: gs(e), children: [
1644
1672
  /* @__PURE__ */ a.jsx("p", { children: t || c({ id: "edit_section_placeholder_description" }) }),
1645
1673
  s && /* @__PURE__ */ a.jsx(ee, { href: r, variant: "secondary", size: "small", onClick: () => Gr({ href: r, setShowModal: i }), children: n || c({ id: "edit_section_placeholder_cta" }) })
1646
1674
  ] });
1647
- }, Sc = ({
1675
+ }, Cc = ({
1648
1676
  children: e,
1649
1677
  className: t = "",
1650
1678
  formProps: n,
@@ -1655,7 +1683,7 @@ const Ms = ({ icon: e, description: t, ctaMessage: n, href: r, showEditButton: s
1655
1683
  showDivider: o = !0
1656
1684
  }) => {
1657
1685
  const [u, d] = z.useState(!1), f = typeof r == "string" || !!n, l = () => d(!1);
1658
- return /* @__PURE__ */ a.jsxs("section", { className: E("edit-section", t), children: [
1686
+ return /* @__PURE__ */ a.jsxs("section", { className: T("edit-section", t), children: [
1659
1687
  n && /* @__PURE__ */ a.jsx(
1660
1688
  Zn,
1661
1689
  {
@@ -1664,7 +1692,7 @@ const Ms = ({ icon: e, description: t, ctaMessage: n, href: r, showEditButton: s
1664
1692
  showDivider: !1,
1665
1693
  showIcon: !1,
1666
1694
  functions: { onClose: l },
1667
- className: E("edit-section-modal"),
1695
+ className: T("edit-section-modal"),
1668
1696
  children: /* @__PURE__ */ a.jsx(Dn, { ...n, fields: n.fields, meta: {
1669
1697
  ...n == null ? void 0 : n.meta,
1670
1698
  shouldShowCancelButton: !0
@@ -1682,7 +1710,7 @@ const Ms = ({ icon: e, description: t, ctaMessage: n, href: r, showEditButton: s
1682
1710
  o && /* @__PURE__ */ a.jsx(Ae, {})
1683
1711
  ] });
1684
1712
  };
1685
- const Cc = ({
1713
+ const $c = ({
1686
1714
  title: e = !1,
1687
1715
  logos: t = [],
1688
1716
  className: n = ""
@@ -1694,12 +1722,12 @@ const Cc = ({
1694
1722
  element: typeof e == "object" ? e.element : "h2",
1695
1723
  text: typeof e == "string" ? e : typeof e == "object" ? e.text : ""
1696
1724
  };
1697
- return /* @__PURE__ */ a.jsxs("div", { className: E("logos", n), children: [
1725
+ return /* @__PURE__ */ a.jsxs("div", { className: T("logos", n), children: [
1698
1726
  e && z.createElement(s.element, { className: "title" }, s.text),
1699
1727
  /* @__PURE__ */ a.jsx(
1700
1728
  "ul",
1701
1729
  {
1702
- className: E({
1730
+ className: T({
1703
1731
  "two-col": r === 2 || r === 4,
1704
1732
  "three-col": r === 5 || r <= 10 && r % 3 === 0
1705
1733
  }),
@@ -1761,8 +1789,8 @@ const Ns = [
1761
1789
  if (!i[l]) {
1762
1790
  if (typeof t[l] == "object") {
1763
1791
  f[l] = t[l];
1764
- const { text: m, element: h } = t[l];
1765
- if (h && Ns.includes(h.toLowerCase()))
1792
+ const { text: m, element: p } = t[l];
1793
+ if (p && Ns.includes(p.toLowerCase()))
1766
1794
  return;
1767
1795
  f[l] = {
1768
1796
  text: m,
@@ -1782,7 +1810,7 @@ const Ns = [
1782
1810
  }), /* @__PURE__ */ a.jsx(
1783
1811
  Ge,
1784
1812
  {
1785
- className: E("banner-section", r, s, e, {
1813
+ className: T("banner-section", r, s, e, {
1786
1814
  "has-image": n,
1787
1815
  "has-extra-spacing": s === "normal" && f.eyebrow && f.title
1788
1816
  }),
@@ -1790,8 +1818,8 @@ const Ns = [
1790
1818
  /* @__PURE__ */ a.jsxs("div", { className: "content-wrapper", children: [
1791
1819
  u.map((l) => {
1792
1820
  if (f[l] && typeof f[l] == "object") {
1793
- const { text: m, element: h = "" } = f[l];
1794
- return l === "text" ? /* @__PURE__ */ a.jsx(xn, { overrideType: "text-only", className: "text", children: m }, l) : z.createElement(h, { key: l, className: l }, m);
1821
+ const { text: m, element: p = "" } = f[l];
1822
+ return l === "text" ? /* @__PURE__ */ a.jsx(xn, { overrideType: "text-only", className: "text", children: m }, l) : z.createElement(p, { key: l, className: l }, m);
1795
1823
  }
1796
1824
  return null;
1797
1825
  }),
@@ -1811,7 +1839,7 @@ const Ns = [
1811
1839
  ] })
1812
1840
  }
1813
1841
  );
1814
- }, $c = Oe(Rs);
1842
+ }, Mc = Oe(Rs);
1815
1843
  const Ps = ({
1816
1844
  alignImage: e = "left",
1817
1845
  className: t,
@@ -1819,11 +1847,11 @@ const Ps = ({
1819
1847
  image: r
1820
1848
  }) => {
1821
1849
  const s = () => typeof n == "string" ? /* @__PURE__ */ a.jsx(Ye, { children: n }) : n;
1822
- return /* @__PURE__ */ a.jsxs(Ge, { className: E("highlight-section", t), children: [
1850
+ return /* @__PURE__ */ a.jsxs(Ge, { className: T("highlight-section", t), children: [
1823
1851
  r && /* @__PURE__ */ a.jsx(
1824
1852
  "div",
1825
1853
  {
1826
- className: E("highlight-container highlight-image", {
1854
+ className: T("highlight-container highlight-image", {
1827
1855
  [`highlight-image-${e}`]: e === "right"
1828
1856
  }),
1829
1857
  children: /* @__PURE__ */ a.jsx(Ot, { image: r })
@@ -1832,13 +1860,13 @@ const Ps = ({
1832
1860
  /* @__PURE__ */ a.jsx(
1833
1861
  "div",
1834
1862
  {
1835
- className: E("highlight-container highlight-content-wrapper", {
1863
+ className: T("highlight-container highlight-content-wrapper", {
1836
1864
  "no-image": !r
1837
1865
  }),
1838
1866
  children: /* @__PURE__ */ a.jsx(
1839
1867
  "div",
1840
1868
  {
1841
- className: E("highlight-content", {
1869
+ className: T("highlight-content", {
1842
1870
  "highlight-content-right": e === "left"
1843
1871
  }),
1844
1872
  children: s()
@@ -1847,14 +1875,14 @@ const Ps = ({
1847
1875
  }
1848
1876
  )
1849
1877
  ] });
1850
- }, Mc = Oe(Ps);
1851
- const Nc = ({
1878
+ }, Nc = Oe(Ps);
1879
+ const Rc = ({
1852
1880
  variant: e = "primary",
1853
1881
  button: t = null,
1854
1882
  title: n,
1855
1883
  text: r,
1856
1884
  gtmContext: s
1857
- }) => !n && !r ? null : /* @__PURE__ */ a.jsxs("aside", { className: E("marketing-block", e), children: [
1885
+ }) => !n && !r ? null : /* @__PURE__ */ a.jsxs("aside", { className: T("marketing-block", e), children: [
1858
1886
  n && /* @__PURE__ */ a.jsx("p", { className: "title", children: n }),
1859
1887
  r && /* @__PURE__ */ a.jsx("p", { children: r }),
1860
1888
  t && /* @__PURE__ */ a.jsx(
@@ -1922,7 +1950,7 @@ const Ls = ({ children: e, user: t }) => t.isLoading ? null : process.env.REACT_
1922
1950
  function Fn() {
1923
1951
  return $e(Fe);
1924
1952
  }
1925
- const Is = ({ children: e, user: t }) => /* @__PURE__ */ a.jsx(Fe.Provider, { value: t, children: e }), Rc = ({ bootstrap: e, children: t, intl: n, showDevTools: r }) => {
1953
+ const Is = ({ children: e, user: t }) => /* @__PURE__ */ a.jsx(Fe.Provider, { value: t, children: e }), Pc = ({ bootstrap: e, children: t, intl: n, showDevTools: r }) => {
1926
1954
  const [s, i] = X({ isLoading: !0 });
1927
1955
  return se(() => {
1928
1956
  e().then((c) => {
@@ -1932,7 +1960,7 @@ const Is = ({ children: e, user: t }) => /* @__PURE__ */ a.jsx(Fe.Provider, { va
1932
1960
  };
1933
1961
  const Kr = ({ label: e = !1, className: t = "", children: n }) => {
1934
1962
  const r = W();
1935
- return /* @__PURE__ */ a.jsxs("details", { className: E("collapsible-section", t), children: [
1963
+ return /* @__PURE__ */ a.jsxs("details", { className: T("collapsible-section", t), children: [
1936
1964
  /* @__PURE__ */ a.jsx("summary", { children: e || r.formatMessage({ id: "collapsibleSection_summary" }) }),
1937
1965
  /* @__PURE__ */ a.jsx("div", { className: "content", children: n })
1938
1966
  ] });
@@ -1948,7 +1976,7 @@ const Le = ({
1948
1976
  return /* @__PURE__ */ a.jsx(
1949
1977
  "div",
1950
1978
  {
1951
- className: E("highlighted-text-box", e, n, {
1979
+ className: T("highlighted-text-box", e, n, {
1952
1980
  "has-icon": t
1953
1981
  }),
1954
1982
  style: i,
@@ -1979,7 +2007,7 @@ const Ke = ({
1979
2007
  Le,
1980
2008
  {
1981
2009
  variant: "subtle",
1982
- className: E("empty-state-box", e, r),
2010
+ className: T("empty-state-box", e, r),
1983
2011
  children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1984
2012
  t && /* @__PURE__ */ a.jsx(Ye, { options: { forceBlock: !0 }, children: t }),
1985
2013
  s && typeof n == "object" && (d || /* @__PURE__ */ a.jsx(
@@ -2002,7 +2030,7 @@ const Bs = ({
2002
2030
  className: t = "",
2003
2031
  heading: n = !1,
2004
2032
  children: r
2005
- }) => /* @__PURE__ */ a.jsxs("div", { className: E("helper-text-box text-small", e, t), children: [
2033
+ }) => /* @__PURE__ */ a.jsxs("div", { className: T("helper-text-box text-small", e, t), children: [
2006
2034
  n && /* @__PURE__ */ a.jsx("p", { className: "title", children: n }),
2007
2035
  typeof r == "string" ? /* @__PURE__ */ a.jsx(
2008
2036
  Ye,
@@ -2016,7 +2044,7 @@ const Bs = ({
2016
2044
  }
2017
2045
  ) : /* @__PURE__ */ a.jsx("p", { children: r })
2018
2046
  ] });
2019
- const Pc = ({
2047
+ const Ac = ({
2020
2048
  className: e = "",
2021
2049
  show: t = !1,
2022
2050
  hide: n = !1,
@@ -2025,25 +2053,25 @@ const Pc = ({
2025
2053
  }) => {
2026
2054
  const i = W(), c = me(null), [o, u] = X(""), [d, f] = X("closed");
2027
2055
  se(() => {
2028
- const h = c.current;
2029
- if (h)
2030
- return h.addEventListener("transitionend", l), () => {
2031
- h.removeEventListener("transitionend", l);
2056
+ const p = c.current;
2057
+ if (p)
2058
+ return p.addEventListener("transitionend", l), () => {
2059
+ p.removeEventListener("transitionend", l);
2032
2060
  };
2033
2061
  }, []), se(() => {
2034
2062
  if (!r || typeof r != "string")
2035
2063
  return;
2036
- const h = r.split(`
2064
+ const p = r.split(`
2037
2065
  `);
2038
2066
  u(
2039
- h.length < 3 ? `${r.substring(0, 400)}...` : h.slice(0, 3).join(`
2067
+ p.length < 3 ? `${r.substring(0, 400)}...` : p.slice(0, 3).join(`
2040
2068
  `)
2041
2069
  );
2042
2070
  }, [r]), se(() => {
2043
2071
  d === "ready-to-close" && f("closing");
2044
2072
  }, [d]);
2045
- const l = ({ propertyName: h }) => {
2046
- h === "max-height" && f((_) => _ === "opening" ? "open" : _ === "closing" ? "closed" : _);
2073
+ const l = ({ propertyName: p }) => {
2074
+ p === "max-height" && f((g) => g === "opening" ? "open" : g === "closing" ? "closed" : g);
2047
2075
  };
2048
2076
  if (!r)
2049
2077
  return null;
@@ -2052,9 +2080,9 @@ const Pc = ({
2052
2080
  Le,
2053
2081
  {
2054
2082
  variant: "subtle",
2055
- className: E("hide-show-text-box", e),
2083
+ className: T("hide-show-text-box", e),
2056
2084
  children: [
2057
- /* @__PURE__ */ a.jsxs("div", { ref: c, className: E("content", d), children: [
2085
+ /* @__PURE__ */ a.jsxs("div", { ref: c, className: T("content", d), children: [
2058
2086
  /* @__PURE__ */ a.jsx(Ye, { options: { forceBlock: !0 }, children: d === "closed" ? o : r }),
2059
2087
  d !== "closed" && s
2060
2088
  ] }),
@@ -2064,7 +2092,7 @@ const Pc = ({
2064
2092
  variant: "tertiary",
2065
2093
  icon: { icon: "navigation_arrow", position: "left", animate: !0 },
2066
2094
  styling: { muted: !0 },
2067
- className: E({ "rotate-180": m }),
2095
+ className: T({ "rotate-180": m }),
2068
2096
  onClick: () => {
2069
2097
  f(m ? "ready-to-close" : "opening");
2070
2098
  },
@@ -2209,7 +2237,7 @@ const Ys = {
2209
2237
  forceBlock: !0,
2210
2238
  overrides: Ys[r]
2211
2239
  };
2212
- return /* @__PURE__ */ a.jsx("div", { className: E("markdown-text", e), children: /* @__PURE__ */ a.jsx(Ye, { options: { ...s, ...t }, children: n }) });
2240
+ return /* @__PURE__ */ a.jsx("div", { className: T("markdown-text", e), children: /* @__PURE__ */ a.jsx(Ye, { options: { ...s, ...t }, children: n }) });
2213
2241
  };
2214
2242
  const Gs = ({
2215
2243
  maxWidth: e = !1,
@@ -2219,8 +2247,8 @@ const Gs = ({
2219
2247
  className: s = ""
2220
2248
  }) => {
2221
2249
  const i = e ? { "--max-width": `${e / 16}rem` } : {};
2222
- return /* @__PURE__ */ a.jsxs("section", { className: E("page-heading", s), children: [
2223
- /* @__PURE__ */ a.jsxs("div", { className: E("content", { "has-max-width": e }), style: i, children: [
2250
+ return /* @__PURE__ */ a.jsxs("section", { className: T("page-heading", s), children: [
2251
+ /* @__PURE__ */ a.jsxs("div", { className: T("content", { "has-max-width": e }), style: i, children: [
2224
2252
  t && t.text && z.createElement(t.element || "h1", { className: "title" }, t.text),
2225
2253
  n && n.text && z.createElement(
2226
2254
  n.element || "h2",
@@ -2237,7 +2265,7 @@ const Tt = ({
2237
2265
  className: n = "",
2238
2266
  children: r,
2239
2267
  ...s
2240
- }) => /* @__PURE__ */ a.jsx("span", { className: E("pill", e, t, n), ...s, children: r });
2268
+ }) => /* @__PURE__ */ a.jsx("span", { className: T("pill", e, t, n), ...s, children: r });
2241
2269
  const Et = ({
2242
2270
  element: e = "p",
2243
2271
  children: t = null,
@@ -2247,7 +2275,7 @@ const Et = ({
2247
2275
  e,
2248
2276
  {
2249
2277
  ...r,
2250
- className: E("status-banner text-small", n),
2278
+ className: T("status-banner text-small", n),
2251
2279
  "aria-live": "assertive"
2252
2280
  },
2253
2281
  t
@@ -2256,13 +2284,13 @@ const Ks = ({ author: e, authorCite: t, content: n }) => /* @__PURE__ */ a.jsxs(
2256
2284
  /* @__PURE__ */ a.jsx(Ye, { className: "testimonial", children: n }),
2257
2285
  e && /* @__PURE__ */ a.jsx("p", { className: "author text-small", children: e }),
2258
2286
  t && /* @__PURE__ */ a.jsx("p", { className: "author-cite text-small", children: /* @__PURE__ */ a.jsx("cite", { children: t }) })
2259
- ] }), Ac = Oe(Ks);
2287
+ ] }), Oc = Oe(Ks);
2260
2288
  const Qs = ({ progress: e = 0, text: t = !1, className: n = "" }) => {
2261
2289
  const r = W(), s = e > 75 ? 100 : e > 50 ? 75 : e > 25 ? 50 : e > 5 ? 25 : 0, i = { "--progress": `${e}%` };
2262
2290
  return /* @__PURE__ */ a.jsx(
2263
2291
  "span",
2264
2292
  {
2265
- className: E(`progress-bar section-${s}`, n),
2293
+ className: T(`progress-bar section-${s}`, n),
2266
2294
  style: i,
2267
2295
  children: /* @__PURE__ */ a.jsx(_e, { children: t ? `${e} ${t}` : r.formatMessage({ id: "progressBar" }, { number: e }) })
2268
2296
  }
@@ -2285,7 +2313,7 @@ const Vt = "loadingBlock_", Xs = ({ progress: e = 0, steps: t = !1, className: n
2285
2313
  return /* @__PURE__ */ a.jsxs(
2286
2314
  Le,
2287
2315
  {
2288
- className: E("loading-block", n, {
2316
+ className: T("loading-block", n, {
2289
2317
  "has-icon": s && t[s].icon
2290
2318
  }),
2291
2319
  variant: "subtle",
@@ -2296,12 +2324,12 @@ const Vt = "loadingBlock_", Xs = ({ progress: e = 0, steps: t = !1, className: n
2296
2324
  ]
2297
2325
  }
2298
2326
  );
2299
- }, Oc = Oe(Xs);
2327
+ }, Fc = Oe(Xs);
2300
2328
  const Ee = ({ element: e = "div", className: t = "", ...n }) => /* @__PURE__ */ a.jsx(
2301
2329
  An,
2302
2330
  {
2303
2331
  element: e,
2304
- className: E("loading-placeholder", t),
2332
+ className: T("loading-placeholder", t),
2305
2333
  ...n
2306
2334
  }
2307
2335
  );
@@ -2322,7 +2350,7 @@ const wn = {
2322
2350
  "cards-section",
2323
2351
  "footer"
2324
2352
  ]
2325
- }, Jr = (e, t) => e in wn ? /* @__PURE__ */ a.jsx("div", { className: e, children: wn[e].map((n, r) => Jr(n, r)) }, t) : /* @__PURE__ */ a.jsx(Ee, { className: e }, t), Xr = ({ layout: e = "overview-page", ...t }) => /* @__PURE__ */ a.jsx("div", { className: E("loading-state", e), ...t, children: wn[e].map((n, r) => Jr(n, r)) }), ea = (e) => {
2353
+ }, Jr = (e, t) => e in wn ? /* @__PURE__ */ a.jsx("div", { className: e, children: wn[e].map((n, r) => Jr(n, r)) }, t) : /* @__PURE__ */ a.jsx(Ee, { className: e }, t), Xr = ({ layout: e = "overview-page", ...t }) => /* @__PURE__ */ a.jsx("div", { className: T("loading-state", e), ...t, children: wn[e].map((n, r) => Jr(n, r)) }), ea = (e) => {
2326
2354
  const t = e && e.toUpperCase().split(" ");
2327
2355
  return Array.isArray(t) && t.length > 1 && t[0] !== "" ? t[1] === "" ? t[0][0] : t[0][0] + t[t.length - 1][0] : e ? e.substr(0, 1) : "";
2328
2356
  }, mt = ["#5AB6A3", "#A2D7AF", "#806056", "#3962B3"], ei = (e) => {
@@ -2351,14 +2379,14 @@ const mr = 256, ut = ({
2351
2379
  const m = l.getContext("2d");
2352
2380
  if (!m)
2353
2381
  return;
2354
- const h = s, _ = i;
2355
- typeof window < "u" && window.devicePixelRatio && (l.width = h * window.devicePixelRatio, l.height = _ * window.devicePixelRatio, m.scale(window.devicePixelRatio, window.devicePixelRatio)), m.fillStyle = ei(n), m.fillRect(0, 0, h, _), m.font = `${h / 3}px Arial`, m.textAlign = "center", m.fillStyle = "white", m.fillText(ea(n), h / 2, _ / 1.6);
2382
+ const p = s, g = i;
2383
+ typeof window < "u" && window.devicePixelRatio && (l.width = p * window.devicePixelRatio, l.height = g * window.devicePixelRatio, m.scale(window.devicePixelRatio, window.devicePixelRatio)), m.fillStyle = ei(n), m.fillRect(0, 0, p, g), m.font = `${p / 3}px Arial`, m.textAlign = "center", m.fillStyle = "white", m.fillText(ea(n), p / 2, g / 1.6);
2356
2384
  }, [n]);
2357
2385
  let f = !1;
2358
2386
  return t && t !== "" && !o && (t.includes("http") || t.includes("//")) && (f = !0), /* @__PURE__ */ a.jsx(
2359
2387
  "figure",
2360
2388
  {
2361
- className: E("profile-picture", e, { error: o }),
2389
+ className: T("profile-picture", e, { error: o }),
2362
2390
  ...c,
2363
2391
  children: f ? /* @__PURE__ */ a.jsx(
2364
2392
  "img",
@@ -2410,24 +2438,24 @@ const Ln = ({
2410
2438
  o.name || (o.name = c.formatMessage({
2411
2439
  id: `member_${typeof t == "string" ? t : "community"}`
2412
2440
  }));
2413
- const { name: u, url: d, image: f } = o, l = ti(o), m = n && n.createdAt ? bn(n.createdAt) : !1, h = n && n.createdAt ? Vr(n.createdAt) : "";
2441
+ const { name: u, url: d, image: f } = o, l = ti(o), m = n && n.createdAt ? bn(n.createdAt) : !1, p = n && n.createdAt ? Vr(n.createdAt) : "";
2414
2442
  return z.createElement(e, {
2415
- className: E("member text-medium", i),
2443
+ className: T("member text-medium", i),
2416
2444
  children: /* @__PURE__ */ a.jsxs(
2417
2445
  dt,
2418
2446
  {
2419
2447
  href: d,
2420
2448
  gtmType: s,
2421
2449
  gtmContext: r,
2422
- onClick: (_) => {
2423
- _ == null || _.stopPropagation();
2450
+ onClick: (g) => {
2451
+ g == null || g.stopPropagation();
2424
2452
  },
2425
2453
  children: [
2426
2454
  /* @__PURE__ */ a.jsx(ut, { name: u, src: f }),
2427
2455
  /* @__PURE__ */ a.jsxs("p", { className: "details", children: [
2428
2456
  /* @__PURE__ */ a.jsx("strong", { children: u }),
2429
2457
  n && /* @__PURE__ */ a.jsxs("span", { className: "additional-content", children: [
2430
- n.createdAt && m && /* @__PURE__ */ a.jsx("span", { className: "date", title: h, "aria-label": h, children: c.formatMessage(
2458
+ n.createdAt && m && /* @__PURE__ */ a.jsx("span", { className: "date", title: p, "aria-label": p, children: c.formatMessage(
2431
2459
  { id: `dates_${m.path}` },
2432
2460
  { number: m.number }
2433
2461
  ) }),
@@ -2459,37 +2487,37 @@ const pr = {
2459
2487
  const f = W();
2460
2488
  return !n || n.length === 0 ? null : z.createElement(e, {
2461
2489
  ...d,
2462
- className: E("contributors", u, s, { "has-gap": i }),
2490
+ className: T("contributors", u, s, { "has-gap": i }),
2463
2491
  children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2464
2492
  /* @__PURE__ */ a.jsx("ul", { children: n.map((l, m) => {
2465
- let h, _ = "";
2493
+ let p, g = "";
2466
2494
  if (m < o) {
2467
- const { name: g = "", image: v = "" } = ta(l);
2495
+ const { name: _ = "", image: v = "" } = ta(l);
2468
2496
  if (c)
2469
2497
  return /* @__PURE__ */ a.jsx(Ee, { element: "li", className: "contributor" }, m);
2470
- h = /* @__PURE__ */ a.jsx(
2498
+ p = /* @__PURE__ */ a.jsx(
2471
2499
  ut,
2472
2500
  {
2473
- name: g,
2501
+ name: _,
2474
2502
  src: v,
2475
2503
  width: pr[s || "medium"],
2476
2504
  height: pr[s || "medium"]
2477
2505
  }
2478
2506
  );
2479
2507
  } else if (m === o) {
2480
- const g = (t || n.length) - o;
2481
- h = /* @__PURE__ */ a.jsxs(
2508
+ const _ = (t || n.length) - o;
2509
+ p = /* @__PURE__ */ a.jsxs(
2482
2510
  "small",
2483
2511
  {
2484
- className: E({ "large-number": g > 99 }),
2512
+ className: T({ "large-number": _ > 99 }),
2485
2513
  children: [
2486
2514
  "+",
2487
- ks(g, 0)
2515
+ ks(_, 0)
2488
2516
  ]
2489
2517
  }
2490
- ), _ = "number-left";
2518
+ ), g = "number-left";
2491
2519
  }
2492
- return h ? /* @__PURE__ */ a.jsx("li", { className: E("contributor", _), children: h }, m) : null;
2520
+ return p ? /* @__PURE__ */ a.jsx("li", { className: T("contributor", g), children: p }, m) : null;
2493
2521
  }) }),
2494
2522
  r && /* @__PURE__ */ a.jsx("span", { className: "label", children: typeof r == "string" ? r : n.length === 1 ? typeof n[0] == "string" ? f.formatMessage({ id: `member_${n[0]}` }) : He(n[0].name || "", 20) : null })
2495
2523
  ] })
@@ -2611,17 +2639,17 @@ const pr = {
2611
2639
  gtmEvent: "learning-hub"
2612
2640
  }
2613
2641
  }, ri = ({ data: e, cta: t, link: n, gtmContext: r }) => {
2614
- var _;
2642
+ var g;
2615
2643
  const s = W(), [i, c] = X({
2616
2644
  loading: !1,
2617
2645
  registered: e.registered || !1
2618
2646
  });
2619
2647
  se(() => {
2620
- e.registered && c((g) => ({ ...g, registered: !0 }));
2648
+ e.registered && c((_) => ({ ..._, registered: !0 }));
2621
2649
  }, [e.registered]);
2622
2650
  const { startDate: o, dateHasPassed: u, pill: d, slug: f } = e, l = e.contentType;
2623
2651
  let m = "";
2624
- if ((_ = St[l]) != null && _.gtmEvent && (m = St[l].gtmEvent), o && u)
2652
+ if ((g = St[l]) != null && g.gtmEvent && (m = St[l].gtmEvent), o && u)
2625
2653
  return /* @__PURE__ */ a.jsx(
2626
2654
  "a",
2627
2655
  {
@@ -2645,10 +2673,10 @@ const pr = {
2645
2673
  children: s.formatMessage({ id: "card_cta_people" })
2646
2674
  }
2647
2675
  );
2648
- const h = ["microcourse", "event"];
2649
- if (t && t.onClick && h.includes(l) && d !== "premium") {
2650
- const g = i.loading || i.registered, v = async (b) => {
2651
- if (b.preventDefault(), b.stopPropagation(), !(g || !t || !t.onClick)) {
2676
+ const p = ["microcourse", "event"];
2677
+ if (t && t.onClick && p.includes(l) && d !== "premium") {
2678
+ const _ = i.loading || i.registered, v = async (b) => {
2679
+ if (b.preventDefault(), b.stopPropagation(), !(_ || !t || !t.onClick)) {
2652
2680
  c((y) => ({ ...y, loading: !0 }));
2653
2681
  try {
2654
2682
  const y = await t.onClick(e);
@@ -2665,12 +2693,12 @@ const pr = {
2665
2693
  className: "gtm-trackable",
2666
2694
  size: "small",
2667
2695
  styling: { fullWidth: !0 },
2668
- disabled: g,
2696
+ disabled: _,
2669
2697
  "data-gtm-event-context": `${r}Page-${l}: ${f}`,
2670
2698
  "data-gtm-event-type": `${r}-${l}-register-click`,
2671
2699
  "data-testid": "in-card-button",
2672
2700
  children: s.formatMessage({
2673
- id: `card_cta_${l}${g ? `_${i.loading ? "loading" : "done"}` : ""}`
2701
+ id: `card_cta_${l}${_ ? `_${i.loading ? "loading" : "done"}` : ""}`
2674
2702
  })
2675
2703
  }
2676
2704
  );
@@ -2702,13 +2730,13 @@ const si = {
2702
2730
  const c = W(), o = $e(Fe), u = o && typeof o.id == "string", [d, f] = X({
2703
2731
  data: null,
2704
2732
  isLoading: !0
2705
- }), { data: l, isLoading: m } = d, h = Dr(() => {
2706
- n(t, u).then((T) => {
2707
- f(() => ({ data: T, isLoading: !1 }));
2708
- }).catch(() => f((T) => ({ ...T, isLoading: !1 })));
2733
+ }), { data: l, isLoading: m } = d, p = Dr(() => {
2734
+ n(t, u).then((E) => {
2735
+ f(() => ({ data: E, isLoading: !1 }));
2736
+ }).catch(() => f((E) => ({ ...E, isLoading: !1 })));
2709
2737
  }, [e]);
2710
2738
  if (se(() => {
2711
- h();
2739
+ p();
2712
2740
  }, []), m || !l)
2713
2741
  return /* @__PURE__ */ a.jsx(
2714
2742
  Ee,
@@ -2718,15 +2746,15 @@ const si = {
2718
2746
  "data-testid": "card-placeholder"
2719
2747
  }
2720
2748
  );
2721
- const { contentType: _ } = l;
2722
- if (!_ || !St[_])
2749
+ const { contentType: g } = l;
2750
+ if (!g || !St[g])
2723
2751
  return /* @__PURE__ */ a.jsx(Ee, { element: "li", className: "card-wrapper" });
2724
2752
  const {
2725
- basePath: g = "",
2753
+ basePath: _ = "",
2726
2754
  className: v,
2727
2755
  length: b,
2728
2756
  gtmEvent: y
2729
- } = St[_], j = Yr(`card_label_${_}`) ? c.formatMessage({ id: `card_label_${_}` }) : !1, w = l.slug ? `${g}${l.slug}` : !1, x = { ...si, ...b };
2757
+ } = St[g], j = Yr(`card_label_${g}`) ? c.formatMessage({ id: `card_label_${g}` }) : !1, w = l.slug ? `${_}${l.slug}` : !1, x = { ...si, ...b };
2730
2758
  let O = { className: "card" };
2731
2759
  w && (O = {
2732
2760
  href: w,
@@ -2739,19 +2767,19 @@ const si = {
2739
2767
  return /* @__PURE__ */ a.jsx(
2740
2768
  "li",
2741
2769
  {
2742
- className: E("card-wrapper text-medium", v, i, {
2770
+ className: T("card-wrapper text-medium", v, i, {
2743
2771
  "has-link": w,
2744
2772
  "no-link": !w,
2745
2773
  "has-custom-icon": l.customIcon,
2746
2774
  "has-image": l.banner
2747
2775
  }),
2748
2776
  style: $,
2749
- "data-testid": `${_}-card`,
2777
+ "data-testid": `${g}-card`,
2750
2778
  children: z.createElement(
2751
2779
  w ? "a" : "div",
2752
2780
  O,
2753
2781
  /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2754
- (l.customLabel || j) && /* @__PURE__ */ a.jsx("small", { className: E("card-label text-small", v), children: l.customLabel || j }),
2782
+ (l.customLabel || j) && /* @__PURE__ */ a.jsx("small", { className: T("card-label text-small", v), children: l.customLabel || j }),
2755
2783
  l.startDate && !l.isOngoingEvent && /* @__PURE__ */ a.jsx(
2756
2784
  Tt,
2757
2785
  {
@@ -2786,12 +2814,12 @@ const si = {
2786
2814
  ),
2787
2815
  l.partner && /* @__PURE__ */ a.jsx("p", { className: "partners", "data-testid": "partners", children: He(l.partner.title, x.partner) }),
2788
2816
  /* Text */
2789
- ["title", "text", "secondaryText"].map((T) => {
2790
- const P = l[T];
2817
+ ["title", "text", "secondaryText"].map((E) => {
2818
+ const P = l[E];
2791
2819
  if (!P)
2792
2820
  return null;
2793
- const A = hs(T);
2794
- return /* @__PURE__ */ a.jsx("p", { className: A, "data-testid": A, children: He(P, x[T]) }, T);
2821
+ const A = hs(E);
2822
+ return /* @__PURE__ */ a.jsx("p", { className: A, "data-testid": A, children: He(P, x[E]) }, E);
2795
2823
  }),
2796
2824
  /* @__PURE__ */ a.jsx(ni, { type: v || "", data: l }),
2797
2825
  /* @__PURE__ */ a.jsx(ri, { data: l, cta: r, link: w || "", gtmContext: s })
@@ -2800,7 +2828,7 @@ const si = {
2800
2828
  }
2801
2829
  );
2802
2830
  };
2803
- const ii = ({ cards: e, cardTypes: t, className: n = "", ...r }) => /* @__PURE__ */ a.jsx("ul", { className: E("card-block", n), children: e.map((s, i) => {
2831
+ const ii = ({ cards: e, cardTypes: t, className: n = "", ...r }) => /* @__PURE__ */ a.jsx("ul", { className: T("card-block", n), children: e.map((s, i) => {
2804
2832
  const c = s.slug ? `${s.slug}-${t[i]}` : `${t[i]}-${i}`;
2805
2833
  return /* @__PURE__ */ a.jsx(
2806
2834
  ra,
@@ -2820,7 +2848,7 @@ const ii = ({ cards: e, cardTypes: t, className: n = "", ...r }) => /* @__PURE__
2820
2848
  return null;
2821
2849
  const { text: r, element: s = "h2", variant: i = "default", size: c = "medium", link: o } = t;
2822
2850
  return z.createElement(s, {
2823
- className: E("title", i, c, {
2851
+ className: T("title", i, c, {
2824
2852
  "highlighted-title": i === "highlighted"
2825
2853
  }),
2826
2854
  children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
@@ -2856,55 +2884,55 @@ const li = ({
2856
2884
  const o = W(), [u, d] = X({
2857
2885
  cardsPerPage: 4,
2858
2886
  isLoading: !0
2859
- }), { cardsPerPage: f, isLoading: l } = u, [m, h] = X({
2887
+ }), { cardsPerPage: f, isLoading: l } = u, [m, p] = X({
2860
2888
  currentPage: 0,
2861
2889
  loadedPages: [0]
2862
- }), { currentPage: _, loadedPages: g } = m, v = t.length, b = Math.ceil(v / f), y = me(null), j = lt(!0, !0, y == null ? void 0 : y.current);
2890
+ }), { currentPage: g, loadedPages: _ } = m, v = t.length, b = Math.ceil(v / f), y = me(null), j = lt(!0, !0, y == null ? void 0 : y.current);
2863
2891
  se(() => {
2864
- let T = 1;
2865
- j && (j >= Yt.fourCards ? T = 4 : j >= Yt.threeCards ? T = 3 : j >= Yt.twoCards && (T = 2), T > v && (T = v)), d((P) => ({
2892
+ let E = 1;
2893
+ j && (j >= Yt.fourCards ? E = 4 : j >= Yt.threeCards ? E = 3 : j >= Yt.twoCards && (E = 2), E > v && (E = v)), d((P) => ({
2866
2894
  ...P,
2867
- cardsPerPage: T,
2895
+ cardsPerPage: E,
2868
2896
  isLoading: !1
2869
2897
  }));
2870
2898
  }, [j, v]);
2871
- const w = (T = "next") => {
2872
- let P = _;
2873
- if (typeof T == "string")
2874
- if (T === "next")
2875
- if (_ < b - 1)
2876
- P = _ + 1;
2899
+ const w = (E = "next") => {
2900
+ let P = g;
2901
+ if (typeof E == "string")
2902
+ if (E === "next")
2903
+ if (g < b - 1)
2904
+ P = g + 1;
2877
2905
  else
2878
2906
  return;
2879
- else if (_ > 0)
2880
- P = _ - 1;
2907
+ else if (g > 0)
2908
+ P = g - 1;
2881
2909
  else
2882
2910
  return;
2883
2911
  else
2884
- P = T;
2885
- h((A) => ({
2912
+ P = E;
2913
+ p((A) => ({
2886
2914
  ...A,
2887
2915
  currentPage: P,
2888
- loadedPages: [.../* @__PURE__ */ new Set([...g, P])]
2916
+ loadedPages: [.../* @__PURE__ */ new Set([..._, P])]
2889
2917
  }));
2890
- }, x = (T) => {
2891
- pt = T.touches[0].clientX;
2892
- }, O = (T) => {
2918
+ }, x = (E) => {
2919
+ pt = E.touches[0].clientX;
2920
+ }, O = (E) => {
2893
2921
  if (pt === null)
2894
2922
  return;
2895
- const P = T.touches[0].clientX, A = pt - P;
2923
+ const P = E.touches[0].clientX, A = pt - P;
2896
2924
  A > 5 ? w("next") : A < -5 && w("previous"), pt = null;
2897
2925
  }, $ = {
2898
2926
  "--width": `${j || 0}px`,
2899
2927
  "--total-cards": v,
2900
2928
  "--cards-per-page": f,
2901
- "--page": _
2929
+ "--page": g
2902
2930
  };
2903
2931
  return l ? /* @__PURE__ */ a.jsx(Xr, { layout: `carousel${s ? "-with-title" : ""}` }) : /* @__PURE__ */ a.jsxs(
2904
2932
  "section",
2905
2933
  {
2906
2934
  ref: y,
2907
- className: E("carousel-wrapper", i),
2935
+ className: T("carousel-wrapper", i),
2908
2936
  "data-testid": "carousel",
2909
2937
  children: [
2910
2938
  /* @__PURE__ */ a.jsx(ci, { id: e, title: s }),
@@ -2916,13 +2944,13 @@ const li = ({
2916
2944
  onTouchMove: O,
2917
2945
  style: $,
2918
2946
  "data-testid": "carousel-list",
2919
- children: t.map((T, P) => {
2920
- let A = T && T.sys && T.sys.id ? `${e}-card-${T.sys.id}` : null;
2921
- return A && oi(P, f, _, g) ? /* @__PURE__ */ a.jsx(
2947
+ children: t.map((E, P) => {
2948
+ let A = E && E.sys && E.sys.id ? `${e}-card-${E.sys.id}` : null;
2949
+ return A && oi(P, f, g, _) ? /* @__PURE__ */ a.jsx(
2922
2950
  ra,
2923
2951
  {
2924
2952
  id: A,
2925
- card: { ...T, contentType: n[P] },
2953
+ card: { ...E, contentType: n[P] },
2926
2954
  buildCardData: r,
2927
2955
  gtmContext: c
2928
2956
  },
@@ -2946,20 +2974,20 @@ const li = ({
2946
2974
  variant: "secondary",
2947
2975
  size: "large",
2948
2976
  icon: { icon: "chevron_left" },
2949
- onClick: (T) => {
2950
- T.preventDefault(), T.stopPropagation(), w("previous");
2977
+ onClick: (E) => {
2978
+ E.preventDefault(), E.stopPropagation(), w("previous");
2951
2979
  },
2952
2980
  screenreaderText: o.formatMessage({
2953
2981
  id: "carousel_pagination_previous"
2954
2982
  }),
2955
- disabled: _ <= 0
2983
+ disabled: g <= 0
2956
2984
  }
2957
2985
  ) }),
2958
- [...Array(b)].map((T, P) => /* @__PURE__ */ a.jsx("li", { "data-testid": "carousel-controls-button", children: /* @__PURE__ */ a.jsx(
2986
+ [...Array(b)].map((E, P) => /* @__PURE__ */ a.jsx("li", { "data-testid": "carousel-controls-button", children: /* @__PURE__ */ a.jsx(
2959
2987
  "button",
2960
2988
  {
2961
- className: E("page-indicator", {
2962
- selected: P === _
2989
+ className: T("page-indicator", {
2990
+ selected: P === g
2963
2991
  }),
2964
2992
  onClick: (A) => {
2965
2993
  A.preventDefault(), A.stopPropagation(), w(P);
@@ -2976,18 +3004,18 @@ const li = ({
2976
3004
  variant: "secondary",
2977
3005
  size: "large",
2978
3006
  icon: { icon: "chevron_right" },
2979
- onClick: (T) => {
2980
- T.preventDefault(), T.stopPropagation(), w("next");
3007
+ onClick: (E) => {
3008
+ E.preventDefault(), E.stopPropagation(), w("next");
2981
3009
  },
2982
3010
  screenreaderText: o.formatMessage({ id: "carousel_pagination_next" }),
2983
- disabled: _ >= b - 1
3011
+ disabled: g >= b - 1
2984
3012
  }
2985
3013
  ) })
2986
3014
  ] })
2987
3015
  ]
2988
3016
  }
2989
3017
  );
2990
- }, Fc = ({
3018
+ }, Lc = ({
2991
3019
  carousels: e = [],
2992
3020
  isLoading: t,
2993
3021
  title: n,
@@ -3038,10 +3066,10 @@ const Gt = "joinCommunityButton", aa = ({
3038
3066
  size: "medium",
3039
3067
  styling: { fullWidth: !0 },
3040
3068
  icon: o && d !== "leaving" ? { icon: "tick", position: "left" } : !1,
3041
- onClick: async (h) => {
3042
- c && (h.currentTarget.blur(), o ? (f("leaving"), typeof r == "function" && await r()) : (f("joining"), typeof n == "function" && await n()), u(!o));
3069
+ onClick: async (p) => {
3070
+ c && (p.currentTarget.blur(), o ? (f("leaving"), typeof r == "function" && await r()) : (f("joining"), typeof n == "function" && await n()), u(!o));
3043
3071
  },
3044
- className: E("join-community-button", d, {
3072
+ className: T("join-community-button", d, {
3045
3073
  active: d === "joining"
3046
3074
  }),
3047
3075
  disabled: !c,
@@ -3052,7 +3080,7 @@ const Gt = "joinCommunityButton", aa = ({
3052
3080
  }
3053
3081
  );
3054
3082
  };
3055
- const Kt = "communityDetails_", Lc = ({
3083
+ const Kt = "communityDetails_", Dc = ({
3056
3084
  className: e = "",
3057
3085
  isMember: t = !1,
3058
3086
  slug: n,
@@ -3060,7 +3088,7 @@ const Kt = "communityDetails_", Lc = ({
3060
3088
  functions: { invite: i, ...c }
3061
3089
  }) => {
3062
3090
  const o = W(), u = 5, d = r || s.length, f = s.length ? s : Array(u).fill({}), l = `/communities/${n}/members` === window.location.pathname;
3063
- return /* @__PURE__ */ a.jsxs("div", { className: E("community-details", e), children: [
3091
+ return /* @__PURE__ */ a.jsxs("div", { className: T("community-details", e), children: [
3064
3092
  /* @__PURE__ */ a.jsx(Ae, {}),
3065
3093
  /* @__PURE__ */ a.jsxs("div", { className: "member-details", children: [
3066
3094
  /* @__PURE__ */ a.jsxs("div", { className: "top", children: [
@@ -3099,7 +3127,7 @@ const Kt = "communityDetails_", Lc = ({
3099
3127
  )
3100
3128
  ] });
3101
3129
  };
3102
- const Dc = ({ breadcrumbs: e, cutoff: t = 20, className: n = "" }) => {
3130
+ const Ic = ({ breadcrumbs: e, cutoff: t = 20, className: n = "" }) => {
3103
3131
  const r = W();
3104
3132
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
3105
3133
  /* @__PURE__ */ a.jsx(
@@ -3109,7 +3137,7 @@ const Dc = ({ breadcrumbs: e, cutoff: t = 20, className: n = "" }) => {
3109
3137
  children: r.formatMessage({ id: "breadcrumbs_label" })
3110
3138
  }
3111
3139
  ),
3112
- /* @__PURE__ */ a.jsx("ul", { className: E("breadcrumbs text-small", n), children: e.map(
3140
+ /* @__PURE__ */ a.jsx("ul", { className: T("breadcrumbs text-small", n), children: e.map(
3113
3141
  ({ text: s, href: i, current: c = !1 }, o) => /* @__PURE__ */ a.jsxs("li", { children: [
3114
3142
  c && /* @__PURE__ */ a.jsx(
3115
3143
  _e,
@@ -3123,7 +3151,7 @@ const Dc = ({ breadcrumbs: e, cutoff: t = 20, className: n = "" }) => {
3123
3151
  ) })
3124
3152
  ] });
3125
3153
  };
3126
- const Ic = ({
3154
+ const Bc = ({
3127
3155
  options: e,
3128
3156
  allOption: t = !1,
3129
3157
  allowMultiple: n = !0,
@@ -3139,22 +3167,22 @@ const Ic = ({
3139
3167
  ...e
3140
3168
  ] : e, [o, u] = X(t ? ["all"] : []), d = (f, l) => {
3141
3169
  let m = [];
3142
- o.includes(f) ? m = o.filter((h) => h !== f) : f === "all" ? m = ["all"] : n ? m = [...o.filter((h) => h !== "all"), f] : m = [f], u((h) => (r && typeof r == "function" && r({ current: m, previous: h }), m)), l && typeof l == "function" && l();
3170
+ o.includes(f) ? m = o.filter((p) => p !== f) : f === "all" ? m = ["all"] : n ? m = [...o.filter((p) => p !== "all"), f] : m = [f], u((p) => (r && typeof r == "function" && r({ current: m, previous: p }), m)), l && typeof l == "function" && l();
3143
3171
  };
3144
- return /* @__PURE__ */ a.jsx("ul", { className: E("filters", s), children: c.map(({ id: f, text: l, disabled: m = !1, callback: h = () => {
3172
+ return /* @__PURE__ */ a.jsx("ul", { className: T("filters", s), children: c.map(({ id: f, text: l, disabled: m = !1, callback: p = () => {
3145
3173
  } }) => {
3146
- let _ = {};
3147
- return m && (_ = {
3174
+ let g = {};
3175
+ return m && (g = {
3148
3176
  disabled: !0,
3149
3177
  "aria-label": i.formatMessage({ id: "filters_disabled" }, { name: l })
3150
3178
  }), /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(
3151
3179
  "button",
3152
3180
  {
3153
- className: E(f, { selected: o.includes(f) }),
3154
- onClick: (g) => {
3155
- g.preventDefault(), g.stopPropagation(), d(f, h);
3181
+ className: T(f, { selected: o.includes(f) }),
3182
+ onClick: (_) => {
3183
+ _.preventDefault(), _.stopPropagation(), d(f, p);
3156
3184
  },
3157
- ..._,
3185
+ ...g,
3158
3186
  children: l
3159
3187
  }
3160
3188
  ) }, f);
@@ -3173,7 +3201,7 @@ const Qt = {
3173
3201
  es: "Español",
3174
3202
  fr: "Français",
3175
3203
  pt: "Português"
3176
- }, ht = "languageSwitcher_", Bc = ({
3204
+ }, ht = "languageSwitcher_", qc = ({
3177
3205
  currentLanguage: e,
3178
3206
  isOriginalLanguage: t = !1,
3179
3207
  isHumanTranslation: n = !1,
@@ -3189,33 +3217,33 @@ const Qt = {
3189
3217
  if (se(() => {
3190
3218
  e !== f && l(e);
3191
3219
  }, [e]), !r || !Object.values(r).some(
3192
- (g) => g && g.post_name
3220
+ (_) => _ && _.post_name
3193
3221
  ))
3194
3222
  return null;
3195
- const h = Object.keys(r), _ = f !== e;
3196
- return /* @__PURE__ */ a.jsxs("div", { className: E("language-switcher text-small", c, u), children: [
3223
+ const p = Object.keys(r), g = f !== e;
3224
+ return /* @__PURE__ */ a.jsxs("div", { className: T("language-switcher text-small", c, u), children: [
3197
3225
  /* @__PURE__ */ a.jsxs("nav", { children: [
3198
3226
  c !== "short" && /* @__PURE__ */ a.jsx("p", { children: o || d.formatMessage({ id: `${ht}label` }) }),
3199
- /* @__PURE__ */ a.jsx("ul", { children: h.map((g) => {
3200
- if (!Qt[g])
3227
+ /* @__PURE__ */ a.jsx("ul", { children: p.map((_) => {
3228
+ if (!Qt[_])
3201
3229
  return null;
3202
- let v = { className: g };
3203
- return f === g ? v["aria-label"] = d.formatMessage(
3230
+ let v = { className: _ };
3231
+ return f === _ ? v["aria-label"] = d.formatMessage(
3204
3232
  { id: `${ht}selected` },
3205
- { language: Qt[g] }
3233
+ { language: Qt[_] }
3206
3234
  ) : v = {
3207
3235
  ...v,
3208
- href: di(g, i),
3236
+ href: di(_, i),
3209
3237
  onClick: (b) => {
3210
- b.preventDefault(), b.stopPropagation(), l(g), s(g);
3238
+ b.preventDefault(), b.stopPropagation(), l(_), s(_);
3211
3239
  }
3212
- }, /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(dt, { ...v, fallbackElement: "span", children: Qt[g] }) }, g);
3240
+ }, /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(dt, { ...v, fallbackElement: "span", children: Qt[_] }) }, _);
3213
3241
  }) }),
3214
- c !== "short" && !_ && /* @__PURE__ */ a.jsx("p", { children: d.formatMessage({
3242
+ c !== "short" && !g && /* @__PURE__ */ a.jsx("p", { children: d.formatMessage({
3215
3243
  id: `${ht}translation_${t ? "original" : n ? "human" : "machine"}`
3216
3244
  }) })
3217
3245
  ] }),
3218
- c !== "short" && !_ && !t && !n && /* @__PURE__ */ a.jsx("small", {
3246
+ c !== "short" && !g && !t && !n && /* @__PURE__ */ a.jsx("small", {
3219
3247
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
3220
3248
  // @ts-ignore
3221
3249
  // `values` are throwing a type error: https://github.com/formatjs/formatjs/issues/3633
@@ -3223,9 +3251,9 @@ const Qt = {
3223
3251
  { id: `${ht}disclaimer` },
3224
3252
  {
3225
3253
  email: nt.support,
3226
- link: (g) => {
3227
- const v = `mailto:${g}`;
3228
- return /* @__PURE__ */ a.jsx("a", { href: v, children: g });
3254
+ link: (_) => {
3255
+ const v = `mailto:${_}`;
3256
+ return /* @__PURE__ */ a.jsx("a", { href: v, children: _ });
3229
3257
  }
3230
3258
  }
3231
3259
  )
@@ -3251,11 +3279,11 @@ const Jt = Ka({ locale: "en", messages: On }), Ft = ({
3251
3279
  const [d, f] = X(""), l = async (m) => {
3252
3280
  try {
3253
3281
  await t(m);
3254
- } catch (h) {
3255
- h instanceof Error ? f(h.message) : f("Unknown error");
3282
+ } catch (p) {
3283
+ p instanceof Error ? f(p.message) : f("Unknown error");
3256
3284
  }
3257
3285
  };
3258
- return !d && !e && !c.endOfFeed ? null : /* @__PURE__ */ a.jsx("footer", { className: E("load-more", o), children: !d && e ? /* @__PURE__ */ a.jsx(
3286
+ return !d && !e && !c.endOfFeed ? null : /* @__PURE__ */ a.jsx("footer", { className: T("load-more", o), children: !d && e ? /* @__PURE__ */ a.jsx(
3259
3287
  ee,
3260
3288
  {
3261
3289
  variant: n,
@@ -3280,7 +3308,7 @@ const sa = ({
3280
3308
  "a",
3281
3309
  {
3282
3310
  href: "/home/",
3283
- className: E("logo", e, t, n),
3311
+ className: T("logo", e, t, n),
3284
3312
  ...r,
3285
3313
  children: /* @__PURE__ */ a.jsx(_e, { children: /* @__PURE__ */ a.jsx(we, { id: "apolitical" }) })
3286
3314
  }
@@ -3301,7 +3329,7 @@ const ui = ({
3301
3329
  document.removeEventListener("click", u, !0);
3302
3330
  })), z.createElement(e, {
3303
3331
  ref: i,
3304
- className: E("more-menu text-medium", r),
3332
+ className: T("more-menu text-medium", r),
3305
3333
  children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
3306
3334
  /* @__PURE__ */ a.jsx(
3307
3335
  ee,
@@ -3316,9 +3344,9 @@ const ui = ({
3316
3344
  screenreaderText: s.formatMessage({ id: "moreMenu" })
3317
3345
  }
3318
3346
  ),
3319
- /* @__PURE__ */ a.jsx("ul", { id: t, hidden: !c, children: n.map(({ href: d, onClick: f, text: l, icon: m, ...h }, _) => {
3320
- const g = {
3321
- ...h,
3347
+ /* @__PURE__ */ a.jsx("ul", { id: t, hidden: !c, children: n.map(({ href: d, onClick: f, text: l, icon: m, ...p }, g) => {
3348
+ const _ = {
3349
+ ...p,
3322
3350
  onClick: (v) => {
3323
3351
  o(!1), typeof f == "function" && f(v);
3324
3352
  },
@@ -3331,16 +3359,16 @@ const ui = ({
3331
3359
  }, 100);
3332
3360
  }
3333
3361
  };
3334
- return d && (g.href = d), /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(
3362
+ return d && (_.href = d), /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(
3335
3363
  ee,
3336
3364
  {
3337
3365
  variant: "tertiary",
3338
3366
  size: "medium",
3339
3367
  icon: m ? { icon: m, position: "left" } : !1,
3340
- ...g,
3368
+ ..._,
3341
3369
  children: l
3342
3370
  }
3343
- ) }, `${window.btoa(l)}_${_}`);
3371
+ ) }, `${window.btoa(l)}_${g}`);
3344
3372
  }) })
3345
3373
  ] })
3346
3374
  });
@@ -3368,7 +3396,7 @@ const mi = [
3368
3396
  mi.map(({ key: s, href: i }) => /* @__PURE__ */ a.jsx(
3369
3397
  "li",
3370
3398
  {
3371
- className: E(s, { active: fi(i, e) }),
3399
+ className: T(s, { active: fi(i, e) }),
3372
3400
  children: /* @__PURE__ */ a.jsx(
3373
3401
  "a",
3374
3402
  {
@@ -3445,7 +3473,7 @@ ${tt(t, "mailto", n)}&src=email`
3445
3473
  onClick: (r, s) => (r.preventDefault(), r.stopPropagation(), navigator.clipboard.writeText(s))
3446
3474
  }
3447
3475
  ];
3448
- const gi = "shareLinks_", qc = ({
3476
+ const gi = "shareLinks_", zc = ({
3449
3477
  title: e,
3450
3478
  link: t,
3451
3479
  referrer: n,
@@ -3455,13 +3483,13 @@ const gi = "shareLinks_", qc = ({
3455
3483
  className: c = ""
3456
3484
  }) => {
3457
3485
  const o = W(), u = hi({ title: e, link: t, referrer: n });
3458
- return /* @__PURE__ */ a.jsxs("aside", { className: E("share-links", s, i, c), children: [
3486
+ return /* @__PURE__ */ a.jsxs("aside", { className: T("share-links", s, i, c), children: [
3459
3487
  /* @__PURE__ */ a.jsx("p", { className: "text-small", children: o.formatMessage({ id: "shareLinks_label" }) }),
3460
- /* @__PURE__ */ a.jsx("ul", { children: u.map(({ key: d, icon: f, url: l, shouldRender: m = !0, onClick: h }) => {
3488
+ /* @__PURE__ */ a.jsx("ul", { children: u.map(({ key: d, icon: f, url: l, shouldRender: m = !0, onClick: p }) => {
3461
3489
  if (typeof m == "function" && !m())
3462
3490
  return null;
3463
- const _ = {};
3464
- return h && (_.onClick = (g) => h(g, l)), /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(
3491
+ const g = {};
3492
+ return p && (g.onClick = (_) => p(_, l)), /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(
3465
3493
  ee,
3466
3494
  {
3467
3495
  size: s,
@@ -3475,13 +3503,13 @@ const gi = "shareLinks_", qc = ({
3475
3503
  "data-gtm-event-type": `${d}-click`,
3476
3504
  "data-testid": "link",
3477
3505
  screenreaderText: o.formatMessage({ id: `${gi}link_${d}` }),
3478
- ..._
3506
+ ...g
3479
3507
  }
3480
3508
  ) }, d);
3481
3509
  }) })
3482
3510
  ] });
3483
3511
  };
3484
- const zc = ({ tabs: e, className: t = "" }) => {
3512
+ const Zc = ({ tabs: e, className: t = "" }) => {
3485
3513
  var u;
3486
3514
  const n = (d, f, l) => (d || (d = `panel-${window.btoa(f)}-${l}`), d);
3487
3515
  let r = e.findIndex((d) => d.current === !0);
@@ -3498,20 +3526,20 @@ const zc = ({ tabs: e, className: t = "" }) => {
3498
3526
  const [s, i] = X(
3499
3527
  (u = e[r]) != null && u.id ? e[r].id : n(e[r].id, e[r].text, r)
3500
3528
  ), c = [], o = [];
3501
- return e.forEach(({ id: d, text: f, content: l, href: m }, h) => {
3502
- d = n(d, f, h);
3503
- const _ = s === d, g = {};
3504
- m || (g["aria-controls"] = d, g.onClick = (v) => {
3529
+ return e.forEach(({ id: d, text: f, content: l, href: m }, p) => {
3530
+ d = n(d, f, p);
3531
+ const g = s === d, _ = {};
3532
+ m || (_["aria-controls"] = d, _.onClick = (v) => {
3505
3533
  v.preventDefault(), v.stopPropagation(), i(d), window.location.hash = `#${d}`;
3506
3534
  }, o.push(
3507
3535
  /* @__PURE__ */ a.jsx(
3508
3536
  "section",
3509
3537
  {
3510
3538
  id: d,
3511
- hidden: !_,
3539
+ hidden: !g,
3512
3540
  role: "tabpanel",
3513
3541
  "aria-labelledby": `tab-${d}`,
3514
- "aria-live": _ ? "assertive" : "off",
3542
+ "aria-live": g ? "assertive" : "off",
3515
3543
  children: typeof l == "string" ? /* @__PURE__ */ a.jsx("p", { children: l }) : l
3516
3544
  },
3517
3545
  `section-${d}`
@@ -3522,15 +3550,15 @@ const zc = ({ tabs: e, className: t = "" }) => {
3522
3550
  {
3523
3551
  href: m || `#${d}`,
3524
3552
  id: `tab-${d}`,
3525
- className: E({ selected: _ }),
3553
+ className: T({ selected: g }),
3526
3554
  role: "tab",
3527
- "aria-selected": _,
3528
- ...g,
3555
+ "aria-selected": g,
3556
+ ..._,
3529
3557
  children: f
3530
3558
  }
3531
3559
  ) }, `tab-${d}`)
3532
3560
  );
3533
- }), /* @__PURE__ */ a.jsxs("div", { className: E("tabs-wrapper", t), children: [
3561
+ }), /* @__PURE__ */ a.jsxs("div", { className: T("tabs-wrapper", t), children: [
3534
3562
  /* @__PURE__ */ a.jsx("ul", { className: "tabs", role: "tablist", children: c }),
3535
3563
  /* @__PURE__ */ a.jsx("div", { className: "tab-content", children: o })
3536
3564
  ] });
@@ -3546,7 +3574,7 @@ const _i = {
3546
3574
  }) => {
3547
3575
  const s = lt(!0);
3548
3576
  let i = r;
3549
- return z.Children.count(r) === 1 && (i = z.Children.toArray(r)[0], i.props && (i = i.props.children)), /* @__PURE__ */ a.jsx("section", { className: E("columns", `layout-${e}`, n), children: z.Children.map(i, (c, o) => t !== !1 && o === t && s && s < _i[e] ? null : c) });
3577
+ return z.Children.count(r) === 1 && (i = z.Children.toArray(r)[0], i.props && (i = i.props.children)), /* @__PURE__ */ a.jsx("section", { className: T("columns", `layout-${e}`, n), children: z.Children.map(i, (c, o) => t !== !1 && o === t && s && s < _i[e] ? null : c) });
3550
3578
  };
3551
3579
  const _t = "emailHelperTextBox_", bi = ({
3552
3580
  type: e,
@@ -3561,9 +3589,9 @@ const _t = "emailHelperTextBox_", bi = ({
3561
3589
  mail: {},
3562
3590
  error: ""
3563
3591
  }), [o, u] = X(!1), d = Dr(
3564
- (h) => {
3565
- h.preventDefault(), h.stopPropagation();
3566
- const _ = (g) => {
3592
+ (p) => {
3593
+ p.preventDefault(), p.stopPropagation();
3594
+ const g = (_) => {
3567
3595
  c({
3568
3596
  path: `${_t}error_verificationFailedToSend`,
3569
3597
  type: "error",
@@ -3581,17 +3609,17 @@ const _t = "emailHelperTextBox_", bi = ({
3581
3609
  "data-gtm-event-context": "ErrorVerifyingBox",
3582
3610
  "data-gtm-event-type": "email-concierge-click"
3583
3611
  },
3584
- error: g
3612
+ error: _
3585
3613
  });
3586
3614
  };
3587
3615
  if (typeof r != "function") {
3588
- _(s.formatMessage({ id: `${_t}error_noFunction` }));
3616
+ g(s.formatMessage({ id: `${_t}error_noFunction` }));
3589
3617
  return;
3590
3618
  }
3591
3619
  u(!0), r(t).then(() => {
3592
3620
  localStorage.setItem("email", t), window.location.href = n || "/signup/verify-email";
3593
- }).catch((g) => {
3594
- _(g.message);
3621
+ }).catch((_) => {
3622
+ g(_.message);
3595
3623
  }).finally(() => {
3596
3624
  u(!1);
3597
3625
  });
@@ -3601,20 +3629,20 @@ const _t = "emailHelperTextBox_", bi = ({
3601
3629
  );
3602
3630
  se(
3603
3631
  () => {
3604
- let h = _t, _ = "default", g = {}, v = {};
3632
+ let p = _t, g = "default", _ = {}, v = {};
3605
3633
  switch (e) {
3606
3634
  case "gov":
3607
- h += "autoApproved", _ = "success";
3635
+ p += "autoApproved", g = "success";
3608
3636
  break;
3609
3637
  case "nonGov":
3610
- h += "unrecognisedEmail", _ = "error", g = {
3638
+ p += "unrecognisedEmail", g = "error", _ = {
3611
3639
  href: "https://about.apolitical.co/who-can-join-the-community",
3612
3640
  "data-gtm-event-context": "NonGovEmailHelperTextBox",
3613
3641
  "data-gtm-event-type": "LearnMoreClick"
3614
3642
  };
3615
3643
  break;
3616
3644
  case "pending":
3617
- h += "pendingApproval", _ = "error", v = {
3645
+ p += "pendingApproval", g = "error", v = {
3618
3646
  href: "mailto:concierge@apolitical.co",
3619
3647
  className: "gtm-trackable",
3620
3648
  "data-gtm-event-context": "EmailExistsBox",
@@ -3622,7 +3650,7 @@ const _t = "emailHelperTextBox_", bi = ({
3622
3650
  };
3623
3651
  break;
3624
3652
  case "verify":
3625
- h += "emailUnverified", _ = "error", g = {
3653
+ p += "emailUnverified", g = "error", _ = {
3626
3654
  href: "#",
3627
3655
  "data-gtm-event-context": "VerifyEmailBox",
3628
3656
  "data-gtm-event-type": "SendEmailClick",
@@ -3632,7 +3660,7 @@ const _t = "emailHelperTextBox_", bi = ({
3632
3660
  };
3633
3661
  break;
3634
3662
  case "exists":
3635
- h += "emailAlreadyExists", _ = "error", g = {
3663
+ p += "emailAlreadyExists", g = "error", _ = {
3636
3664
  href: "/user-onboarding/login",
3637
3665
  "data-gtm-event-context": "EmailExistsBox",
3638
3666
  "data-gtm-event-type": "login-click"
@@ -3644,21 +3672,21 @@ const _t = "emailHelperTextBox_", bi = ({
3644
3672
  };
3645
3673
  break;
3646
3674
  default:
3647
- h += "default", g = {
3675
+ p += "default", _ = {
3648
3676
  href: "https://about.apolitical.co/who-can-join-the-community",
3649
3677
  "data-gtm-event-context": "DefaultEmailHelperTextBox",
3650
3678
  "data-gtm-event-type": "LearnMoreClick"
3651
3679
  };
3652
3680
  break;
3653
3681
  }
3654
- c({ ...i, path: h, type: _, link: g, mail: v });
3682
+ c({ ...i, path: p, type: g, link: _, mail: v });
3655
3683
  },
3656
3684
  /* eslint-disable react-hooks/exhaustive-deps */
3657
3685
  [e]
3658
3686
  );
3659
3687
  const f = {};
3660
- return ["link", "mail"].forEach((h) => {
3661
- f[h] = Object.keys(i[h]).length ? (_) => /* @__PURE__ */ a.jsx("a", { ...i[h], children: _ }) : (_) => _;
3688
+ return ["link", "mail"].forEach((p) => {
3689
+ f[p] = Object.keys(i[p]).length ? (g) => /* @__PURE__ */ a.jsx("a", { ...i[p], children: g }) : (g) => g;
3662
3690
  }), /* @__PURE__ */ a.jsx(
3663
3691
  Bs,
3664
3692
  {
@@ -3675,8 +3703,8 @@ const _t = "emailHelperTextBox_", bi = ({
3675
3703
  { id: `${i.path}_text` },
3676
3704
  {
3677
3705
  ...f,
3678
- strong: (h) => /* @__PURE__ */ a.jsx("strong", { children: h }),
3679
- em: (h) => /* @__PURE__ */ a.jsx("em", { children: h }),
3706
+ strong: (p) => /* @__PURE__ */ a.jsx("strong", { children: p }),
3707
+ em: (p) => /* @__PURE__ */ a.jsx("em", { children: p }),
3680
3708
  br: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
3681
3709
  /* @__PURE__ */ a.jsx("br", {}),
3682
3710
  /* @__PURE__ */ a.jsx("br", {})
@@ -3707,15 +3735,15 @@ const _t = "emailHelperTextBox_", bi = ({
3707
3735
  type: o,
3708
3736
  id: n,
3709
3737
  name: i,
3710
- className: E(e, t, {
3738
+ className: T(e, t, {
3711
3739
  "has-scrollbar": o === "textarea" && l.current && l.current.clientHeight < l.current.scrollHeight
3712
3740
  }),
3713
3741
  value: u,
3714
3742
  placeholder: c,
3715
3743
  ...s,
3716
3744
  onChange: (m) => {
3717
- const h = m.target;
3718
- s.onChange(h.value);
3745
+ const p = m.target;
3746
+ s.onChange(p.value);
3719
3747
  }
3720
3748
  });
3721
3749
  };
@@ -3734,8 +3762,8 @@ const ia = ({
3734
3762
  value: f,
3735
3763
  ...l
3736
3764
  }) => {
3737
- const m = W(), { onChange: h, ..._ } = r, g = () => {
3738
- t || h(f ? null : u);
3765
+ const m = W(), { onChange: p, ...g } = r, _ = () => {
3766
+ t || p(f ? null : u);
3739
3767
  }, v = /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
3740
3768
  /* @__PURE__ */ a.jsx(
3741
3769
  "input",
@@ -3747,7 +3775,7 @@ const ia = ({
3747
3775
  value: u,
3748
3776
  checked: f,
3749
3777
  onKeyDown: (b) => {
3750
- (b.key === "Enter" || b.code === "Space") && (b.preventDefault(), b.stopPropagation(), g());
3778
+ (b.key === "Enter" || b.code === "Space") && (b.preventDefault(), b.stopPropagation(), _());
3751
3779
  },
3752
3780
  readOnly: !0,
3753
3781
  disabled: t
@@ -3763,11 +3791,11 @@ const ia = ({
3763
3791
  {
3764
3792
  onClick: (b) => {
3765
3793
  const y = b.target;
3766
- y.nodeName.toLowerCase() === "a" || y.parentNode && y.parentNode.nodeName.toLowerCase() === "a" || (b.preventDefault(), b.stopPropagation(), g());
3794
+ y.nodeName.toLowerCase() === "a" || y.parentNode && y.parentNode.nodeName.toLowerCase() === "a" || (b.preventDefault(), b.stopPropagation(), _());
3767
3795
  },
3768
- className: E("checkbox-wrapper", e),
3796
+ className: T("checkbox-wrapper", e),
3769
3797
  ...l,
3770
- ..._
3798
+ ...g
3771
3799
  },
3772
3800
  v
3773
3801
  );
@@ -3778,7 +3806,7 @@ const yi = Oe(function({
3778
3806
  return /* @__PURE__ */ a.jsx(
3779
3807
  An,
3780
3808
  {
3781
- className: E("rotating-chevron", `direction-${t}`)
3809
+ className: T("rotating-chevron", `direction-${t}`)
3782
3810
  }
3783
3811
  );
3784
3812
  });
@@ -3796,25 +3824,25 @@ const xi = ({
3796
3824
  multiSelectOptions: u,
3797
3825
  id: d
3798
3826
  }) => {
3799
- const f = W(), [l, m] = X(!1), h = r || n, _ = Array.isArray(h) ? [...h] : h ? [h] : [], [g, v] = X(_);
3827
+ const f = W(), [l, m] = X(!1), p = r || n, g = Array.isArray(p) ? [...p] : p ? [p] : [], [_, v] = X(g);
3800
3828
  let b;
3801
- Array.isArray(g) && g.length === 1 && typeof g[0] == "string" ? b = t && g ? t.find(($) => $.id === g[0]) : t ? t[0] : { id: "", label: "" } : Array.isArray(g) && g.length === 1 && typeof g[0] != "string" ? b = g[0] : b = { id: "", label: "" }, se(() => {
3802
- v(_);
3829
+ Array.isArray(_) && _.length === 1 && typeof _[0] == "string" ? b = t && _ ? t.find(($) => $.id === _[0]) : t ? t[0] : { id: "", label: "" } : Array.isArray(_) && _.length === 1 && typeof _[0] != "string" ? b = _[0] : b = { id: "", label: "" }, se(() => {
3830
+ v(g);
3803
3831
  }, [r, n]);
3804
3832
  const { onChange: y, onMultiSelectSubmit: j, ...w } = s, x = ($) => {
3805
3833
  if (o) {
3806
- let T = [];
3807
- g != null && g.includes($.id) ? T = g.filter((P) => P !== $.id) : T = [...g, $.id], v([...T]), y && y([...T]);
3834
+ let E = [];
3835
+ _ != null && _.includes($.id) ? E = _.filter((P) => P !== $.id) : E = [..._, $.id], v([...E]), y && y([...E]);
3808
3836
  } else
3809
3837
  v([$]), y && y($.id), m(!1);
3810
3838
  }, O = ($) => {
3811
3839
  if ($ === "all") {
3812
- const T = (t == null ? void 0 : t.map((P) => P.id)) || [];
3813
- v(T), y && y(T);
3840
+ const E = (t == null ? void 0 : t.map((P) => P.id)) || [];
3841
+ v(E), y && y(E);
3814
3842
  } else
3815
3843
  v([]), y && y([]);
3816
3844
  };
3817
- return /* @__PURE__ */ a.jsxs("div", { className: E("dropdown-wrapper", e), children: [
3845
+ return /* @__PURE__ */ a.jsxs("div", { className: T("dropdown-wrapper", e), children: [
3818
3846
  /* @__PURE__ */ a.jsxs(
3819
3847
  "button",
3820
3848
  {
@@ -3828,7 +3856,7 @@ const xi = ({
3828
3856
  "data-testid": "dropdown-selector",
3829
3857
  ...w,
3830
3858
  children: [
3831
- o ? `${c} · ${g.length}` : b.label,
3859
+ o ? `${c} · ${_.length}` : b.label,
3832
3860
  /* @__PURE__ */ a.jsx(yi, { direction: l ? "up" : "down" })
3833
3861
  ]
3834
3862
  }
@@ -3839,8 +3867,8 @@ const xi = ({
3839
3867
  defaultValue: b.id,
3840
3868
  onChange: ($) => {
3841
3869
  $.preventDefault(), $.stopPropagation();
3842
- const T = t && t.find((P) => P.id === $.target.value);
3843
- x(T);
3870
+ const E = t && t.find((P) => P.id === $.target.value);
3871
+ x(E);
3844
3872
  },
3845
3873
  hidden: !l,
3846
3874
  ...w,
@@ -3856,7 +3884,7 @@ const xi = ({
3856
3884
  children: [
3857
3885
  /* @__PURE__ */ a.jsxs("div", { className: "dropdown-menu-list", children: [
3858
3886
  (u == null ? void 0 : u.topbar) && /* @__PURE__ */ a.jsxs("div", { className: "action-bar", children: [
3859
- /* @__PURE__ */ a.jsx("p", { children: `${g == null ? void 0 : g.length} selected` }),
3887
+ /* @__PURE__ */ a.jsx("p", { children: `${_ == null ? void 0 : _.length} selected` }),
3860
3888
  /* @__PURE__ */ a.jsxs("ul", { children: [
3861
3889
  /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(
3862
3890
  ee,
@@ -3881,13 +3909,13 @@ const xi = ({
3881
3909
  ] })
3882
3910
  ] }),
3883
3911
  /* @__PURE__ */ a.jsx("ul", { children: t == null ? void 0 : t.map(($) => {
3884
- const T = $.id === b.id || (g == null ? void 0 : g.includes($)) || (g == null ? void 0 : g.includes($.id));
3912
+ const E = $.id === b.id || (_ == null ? void 0 : _.includes($)) || (_ == null ? void 0 : _.includes($.id));
3885
3913
  return /* @__PURE__ */ a.jsx("li", { "data-testid": "dropdown-options", children: /* @__PURE__ */ a.jsxs(
3886
3914
  "button",
3887
3915
  {
3888
- className: E("gtm-trackable", {
3889
- selected: T,
3890
- "selected-single": T && !o
3916
+ className: T("gtm-trackable", {
3917
+ selected: E,
3918
+ "selected-single": E && !o
3891
3919
  }),
3892
3920
  "data-gtm-event-type": `${$}-click`,
3893
3921
  "data-gtm-event-context": i,
@@ -3895,11 +3923,11 @@ const xi = ({
3895
3923
  P.preventDefault(), P.stopPropagation(), x($);
3896
3924
  },
3897
3925
  role: "menuitem",
3898
- "aria-current": T,
3899
- "data-testid": T ? "current-selection" : "",
3926
+ "aria-current": E,
3927
+ "data-testid": E ? "current-selection" : "",
3900
3928
  children: [
3901
3929
  o && /* @__PURE__ */ a.jsx("span", { className: "pretty-checkbox", "data-testid": "pretty-checkbox" }),
3902
- /* @__PURE__ */ a.jsx("span", { className: E({ "menu-option-label": o }), children: $.label })
3930
+ /* @__PURE__ */ a.jsx("span", { className: T({ "menu-option-label": o }), children: $.label })
3903
3931
  ]
3904
3932
  }
3905
3933
  ) }, $.id);
@@ -3910,11 +3938,11 @@ const xi = ({
3910
3938
  {
3911
3939
  variant: "secondary",
3912
3940
  onClick: () => {
3913
- j && j(g), document.dispatchEvent(
3941
+ j && j(_), document.dispatchEvent(
3914
3942
  new CustomEvent("dropdownMultiSelectSubmit", {
3915
3943
  detail: {
3916
3944
  id: d || "dropdown-multi-select",
3917
- value: g
3945
+ value: _
3918
3946
  }
3919
3947
  })
3920
3948
  ), m(!1);
@@ -3942,29 +3970,29 @@ const wi = ({
3942
3970
  value: f,
3943
3971
  ...l
3944
3972
  }) => {
3945
- const m = W(), h = i ? f : [], _ = f;
3973
+ const m = W(), p = i ? f : [], g = f;
3946
3974
  return /* @__PURE__ */ a.jsx(
3947
3975
  "ul",
3948
3976
  {
3949
3977
  ...l,
3950
- className: E("options-wrapper", e),
3978
+ className: T("options-wrapper", e),
3951
3979
  "data-testid": `ul-${r}`,
3952
3980
  children: o == null ? void 0 : o.map(
3953
3981
  ({
3954
- id: g,
3982
+ id: _,
3955
3983
  label: v = !1,
3956
- value: b = g,
3984
+ value: b = _,
3957
3985
  disabled: y = !1
3958
3986
  }) => {
3959
- const j = `${r}_${g}`, w = () => {
3987
+ const j = `${r}_${_}`, w = () => {
3960
3988
  if (y)
3961
3989
  return;
3962
3990
  let x;
3963
3991
  if (i) {
3964
- const O = h == null ? void 0 : h.indexOf(b);
3965
- Array.isArray(h) && O >= 0 ? (x = h, x.splice(O, 1)) : (!h || h.length === 0 ? x = [] : x = h, x.push(b));
3992
+ const O = p == null ? void 0 : p.indexOf(b);
3993
+ Array.isArray(p) && O >= 0 ? (x = p, x.splice(O, 1)) : (!p || p.length === 0 ? x = [] : x = p, x.push(b));
3966
3994
  } else
3967
- x = _ === b ? void 0 : b;
3995
+ x = g === b ? void 0 : b;
3968
3996
  t.onChange(x);
3969
3997
  };
3970
3998
  return /* @__PURE__ */ a.jsx(
@@ -3974,14 +4002,14 @@ const wi = ({
3974
4002
  id: j,
3975
4003
  type: d === "checkboxes" ? "checkbox" : "radio",
3976
4004
  shownValue: b,
3977
- value: i ? h == null ? void 0 : h.includes(b) : _ === b,
4005
+ value: i ? p == null ? void 0 : p.includes(b) : g === b,
3978
4006
  functions: {
3979
4007
  ...t,
3980
4008
  onChange: w
3981
4009
  },
3982
4010
  intlPath: n,
3983
4011
  label: v || m.formatMessage({
3984
- id: n ? `${n}_${g}` : g
4012
+ id: n ? `${n}_${_}` : _
3985
4013
  }),
3986
4014
  disabled: y
3987
4015
  },
@@ -4007,7 +4035,7 @@ const ji = ({
4007
4035
  "button",
4008
4036
  {
4009
4037
  type: "button",
4010
- className: E("show-password gtm-trackable", {
4038
+ className: T("show-password gtm-trackable", {
4011
4039
  "password-visible": o
4012
4040
  }),
4013
4041
  "data-gtm-event-context": n,
@@ -4046,8 +4074,8 @@ const Ze = {
4046
4074
  value: d,
4047
4075
  ...f
4048
4076
  }) => {
4049
- const l = W(), m = u && u.some(({ condition: w }) => w === "required"), h = (d == null ? void 0 : d.toString().length) || 0, _ = o && Ze[o] && Ze[o].component ? Ze[o].component : at, g = {};
4050
- o && ["checkboxes"].includes(o) ? g.element = "span" : g.htmlFor = e;
4077
+ const l = W(), m = u && u.some(({ condition: w }) => w === "required"), p = (d == null ? void 0 : d.toString().length) || 0, g = o && Ze[o] && Ze[o].component ? Ze[o].component : at, _ = {};
4078
+ o && ["checkboxes"].includes(o) ? _.element = "span" : _.htmlFor = e;
4051
4079
  let v = {
4052
4080
  ...f,
4053
4081
  id: e,
@@ -4076,11 +4104,11 @@ const Ze = {
4076
4104
  if (o && ["checkbox"].includes(o))
4077
4105
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
4078
4106
  /* @__PURE__ */ a.jsx(
4079
- _,
4107
+ g,
4080
4108
  {
4081
4109
  ...v,
4082
4110
  label: b,
4083
- className: E("field-wrapper", n)
4111
+ className: T("field-wrapper", n)
4084
4112
  }
4085
4113
  ),
4086
4114
  /* @__PURE__ */ a.jsx(y, { as: "p" })
@@ -4090,8 +4118,8 @@ const Ze = {
4090
4118
  className: "checkboxes-label text-small",
4091
4119
  "data-testid": `label-${e}`
4092
4120
  });
4093
- return /* @__PURE__ */ a.jsxs("dl", { className: E("field-wrapper text-medium", n), children: [
4094
- /* @__PURE__ */ a.jsx("dt", { children: /* @__PURE__ */ a.jsxs(j, { ...g, children: [
4121
+ return /* @__PURE__ */ a.jsxs("dl", { className: T("field-wrapper text-medium", n), children: [
4122
+ /* @__PURE__ */ a.jsx("dt", { children: /* @__PURE__ */ a.jsxs(j, { ..._, children: [
4095
4123
  b,
4096
4124
  m && c && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
4097
4125
  " ",
@@ -4103,17 +4131,17 @@ const Ze = {
4103
4131
  ] })
4104
4132
  ] }) }),
4105
4133
  /* @__PURE__ */ a.jsxs("dd", { children: [
4106
- /* @__PURE__ */ a.jsx(_, { ...v }),
4134
+ /* @__PURE__ */ a.jsx(g, { ...v }),
4107
4135
  i > 0 ? /* @__PURE__ */ a.jsxs(
4108
4136
  "small",
4109
4137
  {
4110
- className: E("character-limit", {
4111
- "near-limit": h >= 0.99 * i,
4112
- "approaching-limit": h >= 0.9 * i && h < 0.99 * i
4138
+ className: T("character-limit", {
4139
+ "near-limit": p >= 0.99 * i,
4140
+ "approaching-limit": p >= 0.9 * i && p < 0.99 * i
4113
4141
  }),
4114
4142
  children: [
4115
4143
  /* @__PURE__ */ a.jsx("span", { className: "hidden", children: l.formatMessage({ id: "form_fieldWrapper_characterLimit" }) }),
4116
- h,
4144
+ p,
4117
4145
  " / ",
4118
4146
  i
4119
4147
  ]
@@ -4162,28 +4190,28 @@ const Ze = {
4162
4190
  } = r, l = rt(Object.keys(s));
4163
4191
  for (const m of c)
4164
4192
  if (m.validation)
4165
- for (let h = 0; h < m.validation.length; h++) {
4166
- const { condition: _ = "required", error: g = !1 } = m.validation[h];
4193
+ for (let p = 0; p < m.validation.length; p++) {
4194
+ const { condition: g = "required", error: _ = !1 } = m.validation[p];
4167
4195
  let v = !1;
4168
- if (typeof _ == "function") {
4169
- const b = _(i);
4170
- b && (v = g || b);
4196
+ if (typeof g == "function") {
4197
+ const b = g(i);
4198
+ b && (v = _ || b);
4171
4199
  } else {
4172
4200
  const b = i[m.id];
4173
- switch (_) {
4201
+ switch (g) {
4174
4202
  case "required":
4175
- (!b || typeof b == "string" && b.trim().length === 0) && (v = g || (f == null ? void 0 : f.formatMessage({ id: "form_error_required" })));
4203
+ (!b || typeof b == "string" && b.trim().length === 0) && (v = _ || (f == null ? void 0 : f.formatMessage({ id: "form_error_required" })));
4176
4204
  break;
4177
4205
  case "no-numbers": {
4178
- b && !/^([^0-9]*)$/.test(b) && (v = g || (f == null ? void 0 : f.formatMessage({ id: "form_error_numbers" })));
4206
+ b && !/^([^0-9]*)$/.test(b) && (v = _ || (f == null ? void 0 : f.formatMessage({ id: "form_error_numbers" })));
4179
4207
  break;
4180
4208
  }
4181
4209
  case "valid-email": {
4182
- b && !/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(b) && (v = g || (f == null ? void 0 : f.formatMessage({ id: "form_error_email" })));
4210
+ b && !/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(b) && (v = _ || (f == null ? void 0 : f.formatMessage({ id: "form_error_email" })));
4183
4211
  break;
4184
4212
  }
4185
4213
  case "valid-url": {
4186
- b && !/^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#[\]@!\$&'\(\)\*\+,;=.]+$/.test(b) && (v = g || (f == null ? void 0 : f.formatMessage({ id: "form_error_url" })));
4214
+ b && !/^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#[\]@!\$&'\(\)\*\+,;=.]+$/.test(b) && (v = _ || (f == null ? void 0 : f.formatMessage({ id: "form_error_url" })));
4187
4215
  break;
4188
4216
  }
4189
4217
  default:
@@ -4244,9 +4272,9 @@ const Dn = ({
4244
4272
  },
4245
4273
  gtm: l = { context: "Form", event: "form-submit-click" },
4246
4274
  functions: { onSuccess: m = async () => {
4247
- }, onCancel: h = () => {
4248
- }, onCatch: _ = () => {
4249
- }, onFailure: g = () => {
4275
+ }, onCancel: p = () => {
4276
+ }, onCatch: g = () => {
4277
+ }, onFailure: _ = () => {
4250
4278
  } } = {
4251
4279
  onSuccess: async () => {
4252
4280
  },
@@ -4264,7 +4292,7 @@ const Dn = ({
4264
4292
  const U = Z.id || Z.name;
4265
4293
  U && (O[U] = Z.value || "");
4266
4294
  });
4267
- const [$, T] = Nn(Ti, {
4295
+ const [$, E] = Nn(Ti, {
4268
4296
  isSubmitting: !1,
4269
4297
  formSubmitted: !1,
4270
4298
  errors: {},
@@ -4272,7 +4300,7 @@ const Dn = ({
4272
4300
  }), { errors: P, isSubmitting: A, formSubmitted: F, values: ue } = $;
4273
4301
  se(() => {
4274
4302
  u && F && (Xt = setTimeout(() => {
4275
- T({
4303
+ E({
4276
4304
  type: "updateValue",
4277
4305
  payload: { key: "formSubmitted", value: !1 }
4278
4306
  });
@@ -4281,7 +4309,7 @@ const Dn = ({
4281
4309
  Xt && clearTimeout(Xt);
4282
4310
  }, []), se(() => {
4283
4311
  const Z = (U) => {
4284
- T({
4312
+ E({
4285
4313
  type: "updateValue",
4286
4314
  payload: { key: U.detail.id, value: U.detail.value }
4287
4315
  });
@@ -4310,31 +4338,31 @@ const Dn = ({
4310
4338
  k && (U = k.getBoundingClientRect().top + window.scrollY);
4311
4339
  }
4312
4340
  const te = document.getElementById("header");
4313
- if (te && (U = U - te.offsetHeight - w), U < 0 && (U = 0), window.scrollTo({ top: U, behavior: "smooth" }), T({ type: "toggleSubmitting" }), i.disabled) {
4314
- typeof i.disabled == "object" && i.disabled.isClickable && T({
4341
+ if (te && (U = U - te.offsetHeight - w), U < 0 && (U = 0), window.scrollTo({ top: U, behavior: "smooth" }), E({ type: "toggleSubmitting" }), i.disabled) {
4342
+ typeof i.disabled == "object" && i.disabled.isClickable && E({
4315
4343
  type: "submitForm",
4316
4344
  payload: {
4317
4345
  fields: e,
4318
- dispatch: T,
4346
+ dispatch: E,
4319
4347
  intl: x
4320
4348
  }
4321
4349
  });
4322
4350
  return;
4323
4351
  }
4324
- T({
4352
+ E({
4325
4353
  type: "submitForm",
4326
4354
  payload: {
4327
4355
  fields: e,
4328
- dispatch: T,
4356
+ dispatch: E,
4329
4357
  onSuccess: async (k) => {
4330
4358
  try {
4331
- await m(k), T({ type: u ? "formSubmittedAndReset" : "formSubmitted" });
4359
+ await m(k), E({ type: u ? "formSubmittedAndReset" : "formSubmitted" });
4332
4360
  } catch (C) {
4333
- _(C), T({ type: "updateValue", payload: { key: "isSubmitting", value: !1 } });
4361
+ g(C), E({ type: "updateValue", payload: { key: "isSubmitting", value: !1 } });
4334
4362
  }
4335
4363
  },
4336
4364
  onFailure: (k, C) => {
4337
- g(k, C), T({ type: "updateValue", payload: { key: "isSubmitting", value: !1 } });
4365
+ _(k, C), E({ type: "updateValue", payload: { key: "isSubmitting", value: !1 } });
4338
4366
  },
4339
4367
  intl: x
4340
4368
  }
@@ -4346,7 +4374,7 @@ const Dn = ({
4346
4374
  {
4347
4375
  ...v,
4348
4376
  id: n,
4349
- className: E("form", t),
4377
+ className: T("form", t),
4350
4378
  ref: V,
4351
4379
  children: [
4352
4380
  P != null && P.general ? /* @__PURE__ */ a.jsx(
@@ -4377,7 +4405,7 @@ const Dn = ({
4377
4405
  functions: {
4378
4406
  ...k,
4379
4407
  onChange: (D) => {
4380
- T({ type: "updateValue", payload: { key: te, value: D } }), k.onChange(D && D.toString(), T);
4408
+ E({ type: "updateValue", payload: { key: te, value: D } }), k.onChange(D && D.toString(), E);
4381
4409
  }
4382
4410
  }
4383
4411
  },
@@ -4393,7 +4421,7 @@ const Dn = ({
4393
4421
  "data-gtm-event-context": l.context,
4394
4422
  "data-gtm-event-type": l.event,
4395
4423
  disabled: A || F,
4396
- onClick: h,
4424
+ onClick: p,
4397
4425
  children: c.text || x.formatMessage({ id: "form_cancel" })
4398
4426
  }
4399
4427
  ),
@@ -4411,7 +4439,7 @@ const Dn = ({
4411
4439
  "data-gtm-event-context": l.context,
4412
4440
  "data-gtm-event-type": l.event,
4413
4441
  disabled: A || F,
4414
- onClick: h,
4442
+ onClick: p,
4415
4443
  children: c.text || x.formatMessage({ id: "form_cancel" })
4416
4444
  }
4417
4445
  ),
@@ -4452,13 +4480,13 @@ const vt = "passwordRules_", oa = "isMoreThanEightCharacters", ca = "includesNum
4452
4480
  className: t = ""
4453
4481
  }) => {
4454
4482
  const n = W();
4455
- return /* @__PURE__ */ a.jsxs("aside", { className: E("password-rules", t), children: [
4483
+ return /* @__PURE__ */ a.jsxs("aside", { className: T("password-rules", t), children: [
4456
4484
  /* @__PURE__ */ a.jsx("small", { children: n.formatMessage({ id: `${vt}intro` }) }),
4457
4485
  /* @__PURE__ */ a.jsx("ul", { children: [oa, ca, la].map(
4458
4486
  (r) => /* @__PURE__ */ a.jsxs(
4459
4487
  "li",
4460
4488
  {
4461
- className: E({ matches: e[r] }),
4489
+ className: T({ matches: e[r] }),
4462
4490
  children: [
4463
4491
  /* @__PURE__ */ a.jsxs(_e, { children: [
4464
4492
  n.formatMessage({ id: `${vt}rule_label` }),
@@ -4475,8 +4503,8 @@ const vt = "passwordRules_", oa = "isMoreThanEightCharacters", ca = "includesNum
4475
4503
  )
4476
4504
  ) })
4477
4505
  ] });
4478
- }, Zc = Oe(Si);
4479
- const Uc = ({
4506
+ }, Uc = Oe(Si);
4507
+ const Hc = ({
4480
4508
  text: e = {},
4481
4509
  topRating: t = 5,
4482
4510
  functions: {
@@ -4511,14 +4539,14 @@ const Uc = ({
4511
4539
  c && !u.setUp && f();
4512
4540
  }, [c]), !c)
4513
4541
  return /* @__PURE__ */ a.jsx(Ee, { className: "rating-placeholder" });
4514
- const { id: l, rating: m, disabled: h } = u, _ = "ratings_", g = {
4515
- text: o.formatMessage({ id: `${_}text` }),
4516
- low: o.formatMessage({ id: `${_}low` }),
4517
- high: o.formatMessage({ id: `${_}high` }),
4518
- success: o.formatMessage({ id: `${_}success` }),
4542
+ const { id: l, rating: m, disabled: p } = u, g = "ratings_", _ = {
4543
+ text: o.formatMessage({ id: `${g}text` }),
4544
+ low: o.formatMessage({ id: `${g}low` }),
4545
+ high: o.formatMessage({ id: `${g}high` }),
4546
+ success: o.formatMessage({ id: `${g}success` }),
4519
4547
  ...e
4520
4548
  }, v = async (b) => {
4521
- if (!(!l || h))
4549
+ if (!(!l || p))
4522
4550
  try {
4523
4551
  d((y) => ({ ...y, rating: b, disabled: !0 })), await r({ id: l, value: b });
4524
4552
  } catch (y) {
@@ -4527,14 +4555,14 @@ const Uc = ({
4527
4555
  d((y) => ({ ...y, disabled: !1 }));
4528
4556
  }
4529
4557
  };
4530
- return /* @__PURE__ */ a.jsxs("div", { className: E("rating", i), children: [
4531
- /* @__PURE__ */ a.jsx("span", { className: "label", children: g[m ? "success" : "text"] }),
4558
+ return /* @__PURE__ */ a.jsxs("div", { className: T("rating", i), children: [
4559
+ /* @__PURE__ */ a.jsx("span", { className: "label", children: _[m ? "success" : "text"] }),
4532
4560
  /* @__PURE__ */ a.jsx("ol", { children: Array.from(new Array(t).keys()).map((b) => {
4533
4561
  const y = b + 1;
4534
4562
  return /* @__PURE__ */ a.jsx(
4535
4563
  "li",
4536
4564
  {
4537
- className: E({ selected: m && y <= m }),
4565
+ className: T({ selected: m && y <= m }),
4538
4566
  children: /* @__PURE__ */ a.jsx(
4539
4567
  ee,
4540
4568
  {
@@ -4546,13 +4574,13 @@ const Uc = ({
4546
4574
  hover: "star"
4547
4575
  },
4548
4576
  screenreaderText: `${o.formatMessage(
4549
- { id: `${_}stars` },
4577
+ { id: `${g}stars` },
4550
4578
  { number: y, total: t }
4551
- )}${y === 1 || y === t ? ` - ${g[y === 1 ? "low" : "high"]}` : ""}`,
4579
+ )}${y === 1 || y === t ? ` - ${_[y === 1 ? "low" : "high"]}` : ""}`,
4552
4580
  onClick: (j) => {
4553
4581
  j.preventDefault(), j.stopPropagation(), v(y);
4554
4582
  },
4555
- disabled: h
4583
+ disabled: p
4556
4584
  }
4557
4585
  )
4558
4586
  },
@@ -4621,37 +4649,37 @@ const $i = ({
4621
4649
  initialFormStatus: d = "NOT_SUBMITTED"
4622
4650
  /* NOT_SUBMITTED */
4623
4651
  }) => {
4624
- const [f, l] = X([]), [m, h] = X(!0), [_, g] = X(d), { formatMessage: v } = W(), b = async (w) => {
4652
+ const [f, l] = X([]), [m, p] = X(!0), [g, _] = X(d), { formatMessage: v } = W(), b = async (w) => {
4625
4653
  w.preventDefault();
4626
4654
  try {
4627
- await u(f), l([]), g(
4655
+ await u(f), l([]), _(
4628
4656
  "SUCCESS"
4629
4657
  /* SUCCESS */
4630
4658
  );
4631
4659
  } catch (x) {
4632
- g(
4660
+ _(
4633
4661
  "ERROR"
4634
4662
  /* ERROR */
4635
4663
  ), o(x);
4636
4664
  }
4637
4665
  }, y = (w) => {
4638
- w.preventDefault(), g(
4666
+ w.preventDefault(), _(
4639
4667
  "NOT_SUBMITTED"
4640
4668
  /* NOT_SUBMITTED */
4641
- ), h(!0), l([]);
4669
+ ), p(!0), l([]);
4642
4670
  }, j = (w) => {
4643
- w.preventDefault(), c(), g(
4671
+ w.preventDefault(), c(), _(
4644
4672
  "CLOSED"
4645
4673
  /* CLOSED */
4646
4674
  );
4647
4675
  };
4648
- return _ === "CLOSED" ? null : _ === "ERROR" || _ === "SUCCESS" ? /* @__PURE__ */ a.jsxs("div", { className: "invite-form-wrapper", children: [
4649
- /* @__PURE__ */ a.jsx("div", { className: "content centred", children: _ === "SUCCESS" ? /* @__PURE__ */ a.jsx("h2", { className: "success-title", children: v({ id: "inviteForm_success" }) }) : /* @__PURE__ */ a.jsxs("h2", { className: "error-title", children: [
4676
+ return g === "CLOSED" ? null : g === "ERROR" || g === "SUCCESS" ? /* @__PURE__ */ a.jsxs("div", { className: "invite-form-wrapper", children: [
4677
+ /* @__PURE__ */ a.jsx("div", { className: "content centred", children: g === "SUCCESS" ? /* @__PURE__ */ a.jsx("h2", { className: "success-title", children: v({ id: "inviteForm_success" }) }) : /* @__PURE__ */ a.jsxs("h2", { className: "error-title", children: [
4650
4678
  " ",
4651
4679
  v({ id: "inviteForm_error" })
4652
4680
  ] }) }),
4653
4681
  /* @__PURE__ */ a.jsx(Ae, {}),
4654
- /* @__PURE__ */ a.jsx("div", { className: "footer", children: _ === "SUCCESS" ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
4682
+ /* @__PURE__ */ a.jsx("div", { className: "footer", children: g === "SUCCESS" ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
4655
4683
  /* @__PURE__ */ a.jsx(ee, { variant: "secondary", onClick: y, children: v({ id: "inviteForm_ctaSendMoreInvites" }) }),
4656
4684
  /* @__PURE__ */ a.jsx(ee, { onClick: j, children: v({ id: "inviteForm_ctaDone" }) })
4657
4685
  ] }) : /* @__PURE__ */ a.jsx(ee, { onClick: y, children: v({ id: "inviteForm_ctaTryAgain" }) }) })
@@ -4660,7 +4688,7 @@ const $i = ({
4660
4688
  {
4661
4689
  style: { backgroundColor: i },
4662
4690
  onSubmit: b,
4663
- className: E("invite-form gtm-trackable"),
4691
+ className: T("invite-form gtm-trackable"),
4664
4692
  children: [
4665
4693
  /* @__PURE__ */ a.jsxs("fieldset", { className: "content", children: [
4666
4694
  /* @__PURE__ */ a.jsx("h2", { className: "title", style: { color: r }, children: e }),
@@ -4673,7 +4701,7 @@ const $i = ({
4673
4701
  placeholder: v({ id: "inviteForm_email_placeholder" }),
4674
4702
  emails: f,
4675
4703
  onChange: (w) => {
4676
- l(w), h(!w.length);
4704
+ l(w), p(!w.length);
4677
4705
  },
4678
4706
  autoFocus: !1,
4679
4707
  getLabel: (w, x, O) => /* @__PURE__ */ a.jsxs("div", { className: "email text-medium", children: [
@@ -4685,7 +4713,7 @@ const $i = ({
4685
4713
  size: "small",
4686
4714
  icon: { icon: "close" },
4687
4715
  onClick: () => {
4688
- O(x), h(!f.length);
4716
+ O(x), p(!f.length);
4689
4717
  },
4690
4718
  className: "remove-email-button",
4691
4719
  screenreaderText: v({ id: "overlay_close" })
@@ -4720,7 +4748,7 @@ const Mi = ({
4720
4748
  "form",
4721
4749
  {
4722
4750
  onSubmit: f,
4723
- className: E("search-form gtm-trackable", t),
4751
+ className: T("search-form gtm-trackable", t),
4724
4752
  "data-gtm-event-context": s,
4725
4753
  "data-gtm-event-type": i,
4726
4754
  children: /* @__PURE__ */ a.jsx(
@@ -4864,7 +4892,7 @@ function Ri() {
4864
4892
  if (_r)
4865
4893
  return ce;
4866
4894
  _r = 1;
4867
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, s = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, o = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, l = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, _ = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, b = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
4895
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, s = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, o = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, l = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, _ = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, b = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
4868
4896
  function j(x) {
4869
4897
  if (typeof x == "object" && x !== null) {
4870
4898
  var O = x.$$typeof;
@@ -4882,8 +4910,8 @@ function Ri() {
4882
4910
  switch (x = x && x.$$typeof, x) {
4883
4911
  case o:
4884
4912
  case f:
4885
- case _:
4886
- case h:
4913
+ case g:
4914
+ case p:
4887
4915
  case c:
4888
4916
  return x;
4889
4917
  default:
@@ -4898,7 +4926,7 @@ function Ri() {
4898
4926
  function w(x) {
4899
4927
  return j(x) === d;
4900
4928
  }
4901
- return ce.AsyncMode = u, ce.ConcurrentMode = d, ce.ContextConsumer = o, ce.ContextProvider = c, ce.Element = t, ce.ForwardRef = f, ce.Fragment = r, ce.Lazy = _, ce.Memo = h, ce.Portal = n, ce.Profiler = i, ce.StrictMode = s, ce.Suspense = l, ce.isAsyncMode = function(x) {
4929
+ return ce.AsyncMode = u, ce.ConcurrentMode = d, ce.ContextConsumer = o, ce.ContextProvider = c, ce.Element = t, ce.ForwardRef = f, ce.Fragment = r, ce.Lazy = g, ce.Memo = p, ce.Portal = n, ce.Profiler = i, ce.StrictMode = s, ce.Suspense = l, ce.isAsyncMode = function(x) {
4902
4930
  return w(x) || j(x) === u;
4903
4931
  }, ce.isConcurrentMode = w, ce.isContextConsumer = function(x) {
4904
4932
  return j(x) === o;
@@ -4911,9 +4939,9 @@ function Ri() {
4911
4939
  }, ce.isFragment = function(x) {
4912
4940
  return j(x) === r;
4913
4941
  }, ce.isLazy = function(x) {
4914
- return j(x) === _;
4942
+ return j(x) === g;
4915
4943
  }, ce.isMemo = function(x) {
4916
- return j(x) === h;
4944
+ return j(x) === p;
4917
4945
  }, ce.isPortal = function(x) {
4918
4946
  return j(x) === n;
4919
4947
  }, ce.isProfiler = function(x) {
@@ -4923,7 +4951,7 @@ function Ri() {
4923
4951
  }, ce.isSuspense = function(x) {
4924
4952
  return j(x) === l;
4925
4953
  }, ce.isValidElementType = function(x) {
4926
- return typeof x == "string" || typeof x == "function" || x === r || x === d || x === i || x === s || x === l || x === m || typeof x == "object" && x !== null && (x.$$typeof === _ || x.$$typeof === h || x.$$typeof === c || x.$$typeof === o || x.$$typeof === f || x.$$typeof === v || x.$$typeof === b || x.$$typeof === y || x.$$typeof === g);
4954
+ return typeof x == "string" || typeof x == "function" || x === r || x === d || x === i || x === s || x === l || x === m || typeof x == "object" && x !== null && (x.$$typeof === g || x.$$typeof === p || x.$$typeof === c || x.$$typeof === o || x.$$typeof === f || x.$$typeof === v || x.$$typeof === b || x.$$typeof === y || x.$$typeof === _);
4927
4955
  }, ce.typeOf = j, ce;
4928
4956
  }
4929
4957
  var le = {};
@@ -4938,10 +4966,10 @@ var le = {};
4938
4966
  var vr;
4939
4967
  function Pi() {
4940
4968
  return vr || (vr = 1, process.env.NODE_ENV !== "production" && function() {
4941
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, s = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, o = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, l = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, _ = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, b = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
4969
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, s = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, o = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, l = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, _ = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, b = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
4942
4970
  function j(N) {
4943
4971
  return typeof N == "string" || typeof N == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
4944
- N === r || N === d || N === i || N === s || N === l || N === m || typeof N == "object" && N !== null && (N.$$typeof === _ || N.$$typeof === h || N.$$typeof === c || N.$$typeof === o || N.$$typeof === f || N.$$typeof === v || N.$$typeof === b || N.$$typeof === y || N.$$typeof === g);
4972
+ N === r || N === d || N === i || N === s || N === l || N === m || typeof N == "object" && N !== null && (N.$$typeof === g || N.$$typeof === p || N.$$typeof === c || N.$$typeof === o || N.$$typeof === f || N.$$typeof === v || N.$$typeof === b || N.$$typeof === y || N.$$typeof === _);
4945
4973
  }
4946
4974
  function w(N) {
4947
4975
  if (typeof N == "object" && N !== null) {
@@ -4962,8 +4990,8 @@ function Pi() {
4962
4990
  switch (Se) {
4963
4991
  case o:
4964
4992
  case f:
4965
- case _:
4966
- case h:
4993
+ case g:
4994
+ case p:
4967
4995
  case c:
4968
4996
  return Se;
4969
4997
  default:
@@ -4975,7 +5003,7 @@ function Pi() {
4975
5003
  }
4976
5004
  }
4977
5005
  }
4978
- var x = u, O = d, $ = o, T = c, P = t, A = f, F = r, ue = _, L = h, V = n, G = i, Z = s, U = l, te = !1;
5006
+ var x = u, O = d, $ = o, E = c, P = t, A = f, F = r, ue = g, L = p, V = n, G = i, Z = s, U = l, te = !1;
4979
5007
  function ie(N) {
4980
5008
  return te || (te = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), k(N) || w(N) === u;
4981
5009
  }
@@ -4998,10 +5026,10 @@ function Pi() {
4998
5026
  return w(N) === r;
4999
5027
  }
5000
5028
  function H(N) {
5001
- return w(N) === _;
5029
+ return w(N) === g;
5002
5030
  }
5003
5031
  function q(N) {
5004
- return w(N) === h;
5032
+ return w(N) === p;
5005
5033
  }
5006
5034
  function Y(N) {
5007
5035
  return w(N) === n;
@@ -5015,7 +5043,7 @@ function Pi() {
5015
5043
  function re(N) {
5016
5044
  return w(N) === l;
5017
5045
  }
5018
- le.AsyncMode = x, le.ConcurrentMode = O, le.ContextConsumer = $, le.ContextProvider = T, le.Element = P, le.ForwardRef = A, le.Fragment = F, le.Lazy = ue, le.Memo = L, le.Portal = V, le.Profiler = G, le.StrictMode = Z, le.Suspense = U, le.isAsyncMode = ie, le.isConcurrentMode = k, le.isContextConsumer = C, le.isContextProvider = D, le.isElement = I, le.isForwardRef = B, le.isFragment = K, le.isLazy = H, le.isMemo = q, le.isPortal = Y, le.isProfiler = J, le.isStrictMode = M, le.isSuspense = re, le.isValidElementType = j, le.typeOf = w;
5046
+ le.AsyncMode = x, le.ConcurrentMode = O, le.ContextConsumer = $, le.ContextProvider = E, le.Element = P, le.ForwardRef = A, le.Fragment = F, le.Lazy = ue, le.Memo = L, le.Portal = V, le.Profiler = G, le.StrictMode = Z, le.Suspense = U, le.isAsyncMode = ie, le.isConcurrentMode = k, le.isContextConsumer = C, le.isContextProvider = D, le.isElement = I, le.isForwardRef = B, le.isFragment = K, le.isLazy = H, le.isMemo = q, le.isPortal = Y, le.isProfiler = J, le.isStrictMode = M, le.isSuspense = re, le.isValidElementType = j, le.typeOf = w;
5019
5047
  }()), le;
5020
5048
  }
5021
5049
  process.env.NODE_ENV === "production" ? kn.exports = Ri() : kn.exports = Pi();
@@ -5115,16 +5143,16 @@ function Oi() {
5115
5143
  throw m.name = "Invariant Violation", m;
5116
5144
  }
5117
5145
  l = i[f](c, f, u, o, null, t);
5118
- } catch (_) {
5119
- l = _;
5146
+ } catch (g) {
5147
+ l = g;
5120
5148
  }
5121
5149
  if (l && !(l instanceof Error) && e(
5122
5150
  (u || "React class") + ": type specification of " + o + " `" + f + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof l + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
5123
5151
  ), l instanceof Error && !(l.message in n)) {
5124
5152
  n[l.message] = !0;
5125
- var h = d ? d() : "";
5153
+ var p = d ? d() : "";
5126
5154
  e(
5127
- "Failed " + o + " type: " + l.message + (h ?? "")
5155
+ "Failed " + o + " type: " + l.message + (p ?? "")
5128
5156
  );
5129
5157
  }
5130
5158
  }
@@ -5159,7 +5187,7 @@ function Fi() {
5159
5187
  if (typeof C == "function")
5160
5188
  return C;
5161
5189
  }
5162
- var m = "<<anonymous>>", h = {
5190
+ var m = "<<anonymous>>", p = {
5163
5191
  array: b("array"),
5164
5192
  bigint: b("bigint"),
5165
5193
  bool: b("boolean"),
@@ -5174,19 +5202,19 @@ function Fi() {
5174
5202
  elementType: x(),
5175
5203
  instanceOf: O,
5176
5204
  node: A(),
5177
- objectOf: T,
5205
+ objectOf: E,
5178
5206
  oneOf: $,
5179
5207
  oneOfType: P,
5180
5208
  shape: ue,
5181
5209
  exact: L
5182
5210
  };
5183
- function _(k, C) {
5211
+ function g(k, C) {
5184
5212
  return k === C ? k !== 0 || 1 / k === 1 / C : k !== k && C !== C;
5185
5213
  }
5186
- function g(k, C) {
5214
+ function _(k, C) {
5187
5215
  this.message = k, this.data = C && typeof C == "object" ? C : {}, this.stack = "";
5188
5216
  }
5189
- g.prototype = Error.prototype;
5217
+ _.prototype = Error.prototype;
5190
5218
  function v(k) {
5191
5219
  if (process.env.NODE_ENV !== "production")
5192
5220
  var C = {}, D = 0;
@@ -5205,7 +5233,7 @@ function Fi() {
5205
5233
  ), C[ge] = !0, D++);
5206
5234
  }
5207
5235
  }
5208
- return H[q] == null ? K ? H[q] === null ? new g("The " + J + " `" + M + "` is marked as required " + ("in `" + Y + "`, but its value is `null`.")) : new g("The " + J + " `" + M + "` is marked as required in " + ("`" + Y + "`, but its value is `undefined`.")) : null : k(H, q, Y, J, M);
5236
+ return H[q] == null ? K ? H[q] === null ? new _("The " + J + " `" + M + "` is marked as required " + ("in `" + Y + "`, but its value is `null`.")) : new _("The " + J + " `" + M + "` is marked as required in " + ("`" + Y + "`, but its value is `undefined`.")) : null : k(H, q, Y, J, M);
5209
5237
  }
5210
5238
  var B = I.bind(null, !1);
5211
5239
  return B.isRequired = I.bind(null, !0), B;
@@ -5215,7 +5243,7 @@ function Fi() {
5215
5243
  var Y = D[I], J = Z(Y);
5216
5244
  if (J !== k) {
5217
5245
  var M = U(Y);
5218
- return new g(
5246
+ return new _(
5219
5247
  "Invalid " + K + " `" + H + "` of type " + ("`" + M + "` supplied to `" + B + "`, expected ") + ("`" + k + "`."),
5220
5248
  { expectedType: k }
5221
5249
  );
@@ -5230,11 +5258,11 @@ function Fi() {
5230
5258
  function j(k) {
5231
5259
  function C(D, I, B, K, H) {
5232
5260
  if (typeof k != "function")
5233
- return new g("Property `" + H + "` of component `" + B + "` has invalid PropType notation inside arrayOf.");
5261
+ return new _("Property `" + H + "` of component `" + B + "` has invalid PropType notation inside arrayOf.");
5234
5262
  var q = D[I];
5235
5263
  if (!Array.isArray(q)) {
5236
5264
  var Y = Z(q);
5237
- return new g("Invalid " + K + " `" + H + "` of type " + ("`" + Y + "` supplied to `" + B + "`, expected an array."));
5265
+ return new _("Invalid " + K + " `" + H + "` of type " + ("`" + Y + "` supplied to `" + B + "`, expected an array."));
5238
5266
  }
5239
5267
  for (var J = 0; J < q.length; J++) {
5240
5268
  var M = k(q, J, B, K, H + "[" + J + "]", n);
@@ -5250,7 +5278,7 @@ function Fi() {
5250
5278
  var H = C[D];
5251
5279
  if (!o(H)) {
5252
5280
  var q = Z(H);
5253
- return new g("Invalid " + B + " `" + K + "` of type " + ("`" + q + "` supplied to `" + I + "`, expected a single ReactElement."));
5281
+ return new _("Invalid " + B + " `" + K + "` of type " + ("`" + q + "` supplied to `" + I + "`, expected a single ReactElement."));
5254
5282
  }
5255
5283
  return null;
5256
5284
  }
@@ -5261,7 +5289,7 @@ function Fi() {
5261
5289
  var H = C[D];
5262
5290
  if (!e.isValidElementType(H)) {
5263
5291
  var q = Z(H);
5264
- return new g("Invalid " + B + " `" + K + "` of type " + ("`" + q + "` supplied to `" + I + "`, expected a single ReactElement type."));
5292
+ return new _("Invalid " + B + " `" + K + "` of type " + ("`" + q + "` supplied to `" + I + "`, expected a single ReactElement type."));
5265
5293
  }
5266
5294
  return null;
5267
5295
  }
@@ -5271,7 +5299,7 @@ function Fi() {
5271
5299
  function C(D, I, B, K, H) {
5272
5300
  if (!(D[I] instanceof k)) {
5273
5301
  var q = k.name || m, Y = ie(D[I]);
5274
- return new g("Invalid " + K + " `" + H + "` of type " + ("`" + Y + "` supplied to `" + B + "`, expected ") + ("instance of `" + q + "`."));
5302
+ return new _("Invalid " + K + " `" + H + "` of type " + ("`" + Y + "` supplied to `" + B + "`, expected ") + ("instance of `" + q + "`."));
5275
5303
  }
5276
5304
  return null;
5277
5305
  }
@@ -5284,23 +5312,23 @@ function Fi() {
5284
5312
  ) : i("Invalid argument supplied to oneOf, expected an array.")), c;
5285
5313
  function C(D, I, B, K, H) {
5286
5314
  for (var q = D[I], Y = 0; Y < k.length; Y++)
5287
- if (_(q, k[Y]))
5315
+ if (g(q, k[Y]))
5288
5316
  return null;
5289
5317
  var J = JSON.stringify(k, function(re, N) {
5290
5318
  var ge = U(N);
5291
5319
  return ge === "symbol" ? String(N) : N;
5292
5320
  });
5293
- return new g("Invalid " + K + " `" + H + "` of value `" + String(q) + "` " + ("supplied to `" + B + "`, expected one of " + J + "."));
5321
+ return new _("Invalid " + K + " `" + H + "` of value `" + String(q) + "` " + ("supplied to `" + B + "`, expected one of " + J + "."));
5294
5322
  }
5295
5323
  return v(C);
5296
5324
  }
5297
- function T(k) {
5325
+ function E(k) {
5298
5326
  function C(D, I, B, K, H) {
5299
5327
  if (typeof k != "function")
5300
- return new g("Property `" + H + "` of component `" + B + "` has invalid PropType notation inside objectOf.");
5328
+ return new _("Property `" + H + "` of component `" + B + "` has invalid PropType notation inside objectOf.");
5301
5329
  var q = D[I], Y = Z(q);
5302
5330
  if (Y !== "object")
5303
- return new g("Invalid " + K + " `" + H + "` of type " + ("`" + Y + "` supplied to `" + B + "`, expected an object."));
5331
+ return new _("Invalid " + K + " `" + H + "` of type " + ("`" + Y + "` supplied to `" + B + "`, expected an object."));
5304
5332
  for (var J in q)
5305
5333
  if (r(q, J)) {
5306
5334
  var M = k(q, J, B, K, H + "." + J, n);
@@ -5329,18 +5357,18 @@ function Fi() {
5329
5357
  N.data && r(N.data, "expectedType") && J.push(N.data.expectedType);
5330
5358
  }
5331
5359
  var ge = J.length > 0 ? ", expected one of type [" + J.join(", ") + "]" : "";
5332
- return new g("Invalid " + q + " `" + Y + "` supplied to " + ("`" + H + "`" + ge + "."));
5360
+ return new _("Invalid " + q + " `" + Y + "` supplied to " + ("`" + H + "`" + ge + "."));
5333
5361
  }
5334
5362
  return v(I);
5335
5363
  }
5336
5364
  function A() {
5337
5365
  function k(C, D, I, B, K) {
5338
- return V(C[D]) ? null : new g("Invalid " + B + " `" + K + "` supplied to " + ("`" + I + "`, expected a ReactNode."));
5366
+ return V(C[D]) ? null : new _("Invalid " + B + " `" + K + "` supplied to " + ("`" + I + "`, expected a ReactNode."));
5339
5367
  }
5340
5368
  return v(k);
5341
5369
  }
5342
5370
  function F(k, C, D, I, B) {
5343
- return new g(
5371
+ return new _(
5344
5372
  (k || "React class") + ": " + C + " type `" + D + "." + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + B + "`."
5345
5373
  );
5346
5374
  }
@@ -5348,7 +5376,7 @@ function Fi() {
5348
5376
  function C(D, I, B, K, H) {
5349
5377
  var q = D[I], Y = Z(q);
5350
5378
  if (Y !== "object")
5351
- return new g("Invalid " + K + " `" + H + "` of type `" + Y + "` " + ("supplied to `" + B + "`, expected `object`."));
5379
+ return new _("Invalid " + K + " `" + H + "` of type `" + Y + "` " + ("supplied to `" + B + "`, expected `object`."));
5352
5380
  for (var J in k) {
5353
5381
  var M = k[J];
5354
5382
  if (typeof M != "function")
@@ -5365,14 +5393,14 @@ function Fi() {
5365
5393
  function C(D, I, B, K, H) {
5366
5394
  var q = D[I], Y = Z(q);
5367
5395
  if (Y !== "object")
5368
- return new g("Invalid " + K + " `" + H + "` of type `" + Y + "` " + ("supplied to `" + B + "`, expected `object`."));
5396
+ return new _("Invalid " + K + " `" + H + "` of type `" + Y + "` " + ("supplied to `" + B + "`, expected `object`."));
5369
5397
  var J = t({}, D[I], k);
5370
5398
  for (var M in J) {
5371
5399
  var re = k[M];
5372
5400
  if (r(k, M) && typeof re != "function")
5373
5401
  return F(B, K, H, M, U(re));
5374
5402
  if (!re)
5375
- return new g(
5403
+ return new _(
5376
5404
  "Invalid " + K + " `" + H + "` key `" + M + "` supplied to `" + B + "`.\nBad object: " + JSON.stringify(D[I], null, " ") + `
5377
5405
  Valid keys: ` + JSON.stringify(Object.keys(k), null, " ")
5378
5406
  );
@@ -5453,7 +5481,7 @@ Valid keys: ` + JSON.stringify(Object.keys(k), null, " ")
5453
5481
  function ie(k) {
5454
5482
  return !k.constructor || !k.constructor.name ? m : k.constructor.name;
5455
5483
  }
5456
- return h.checkPropTypes = s, h.resetWarningCache = s.resetWarningCache, h.PropTypes = h, h;
5484
+ return p.checkPropTypes = s, p.resetWarningCache = s.resetWarningCache, p.PropTypes = p, p;
5457
5485
  }, an;
5458
5486
  }
5459
5487
  var sn, kr;
@@ -5751,8 +5779,8 @@ function no(e, t) {
5751
5779
  l.observers[m](l);
5752
5780
  delete window[t.callbackName];
5753
5781
  }, d.componentDidMount = function() {
5754
- var l = this, m = this.setupScriptURL(), h = this.asyncScriptLoaderGetScriptLoaderID(), _ = t, g = _.globalName, v = _.callbackName, b = _.scriptId;
5755
- if (g && typeof window[g] < "u" && (Te[m] = {
5782
+ var l = this, m = this.setupScriptURL(), p = this.asyncScriptLoaderGetScriptLoaderID(), g = t, _ = g.globalName, v = g.callbackName, b = g.scriptId;
5783
+ if (_ && typeof window[_] < "u" && (Te[m] = {
5756
5784
  loaded: !0,
5757
5785
  observers: {}
5758
5786
  }), Te[m]) {
@@ -5761,13 +5789,13 @@ function no(e, t) {
5761
5789
  this.asyncScriptLoaderHandleLoad(y);
5762
5790
  return;
5763
5791
  }
5764
- y.observers[h] = function($) {
5792
+ y.observers[p] = function($) {
5765
5793
  return l.asyncScriptLoaderHandleLoad($);
5766
5794
  };
5767
5795
  return;
5768
5796
  }
5769
5797
  var j = {};
5770
- j[h] = function($) {
5798
+ j[p] = function($) {
5771
5799
  return l.asyncScriptLoaderHandleLoad($);
5772
5800
  }, Te[m] = {
5773
5801
  loaded: !1,
@@ -5778,38 +5806,38 @@ function no(e, t) {
5778
5806
  for (var x in t.attributes)
5779
5807
  w.setAttribute(x, t.attributes[x]);
5780
5808
  b && (w.id = b);
5781
- var O = function(T) {
5809
+ var O = function(E) {
5782
5810
  if (Te[m]) {
5783
5811
  var P = Te[m], A = P.observers;
5784
5812
  for (var F in A)
5785
- T(A[F]) && delete A[F];
5813
+ E(A[F]) && delete A[F];
5786
5814
  }
5787
5815
  };
5788
5816
  v && typeof window < "u" && (window[v] = function() {
5789
5817
  return l.asyncScriptLoaderTriggerOnScriptLoaded();
5790
5818
  }), w.onload = function() {
5791
5819
  var $ = Te[m];
5792
- $ && ($.loaded = !0, O(function(T) {
5793
- return v ? !1 : (T($), !0);
5820
+ $ && ($.loaded = !0, O(function(E) {
5821
+ return v ? !1 : (E($), !0);
5794
5822
  }));
5795
5823
  }, w.onerror = function() {
5796
5824
  var $ = Te[m];
5797
- $ && ($.errored = !0, O(function(T) {
5798
- return T($), !0;
5825
+ $ && ($.errored = !0, O(function(E) {
5826
+ return E($), !0;
5799
5827
  }));
5800
5828
  }, document.body.appendChild(w);
5801
5829
  }, d.componentWillUnmount = function() {
5802
5830
  var l = this.__scriptURL;
5803
5831
  if (t.removeOnUnmount === !0)
5804
- for (var m = document.getElementsByTagName("script"), h = 0; h < m.length; h += 1)
5805
- m[h].src.indexOf(l) > -1 && m[h].parentNode && m[h].parentNode.removeChild(m[h]);
5806
- var _ = Te[l];
5807
- _ && (delete _.observers[this.asyncScriptLoaderGetScriptLoaderID()], t.removeOnUnmount === !0 && delete Te[l]);
5832
+ for (var m = document.getElementsByTagName("script"), p = 0; p < m.length; p += 1)
5833
+ m[p].src.indexOf(l) > -1 && m[p].parentNode && m[p].parentNode.removeChild(m[p]);
5834
+ var g = Te[l];
5835
+ g && (delete g.observers[this.asyncScriptLoaderGetScriptLoaderID()], t.removeOnUnmount === !0 && delete Te[l]);
5808
5836
  }, d.render = function() {
5809
5837
  var l = t.globalName, m = this.props;
5810
5838
  m.asyncScriptOnLoad;
5811
- var h = m.forwardedRef, _ = Xi(m, ["asyncScriptOnLoad", "forwardedRef"]);
5812
- return l && typeof window < "u" && (_[l] = typeof window[l] < "u" ? window[l] : void 0), _.ref = h, cr(r, _);
5839
+ var p = m.forwardedRef, g = Xi(m, ["asyncScriptOnLoad", "forwardedRef"]);
5840
+ return l && typeof window < "u" && (g[l] = typeof window[l] < "u" ? window[l] : void 0), g.ref = p, cr(r, g);
5813
5841
  }, u;
5814
5842
  }(Wa), c = Ha(function(o, u) {
5815
5843
  return cr(i, Sn({}, o, {
@@ -5851,16 +5879,16 @@ const so = no(ao, {
5851
5879
  intl: f
5852
5880
  // We need to pass `intl` in as it's being used in a hook
5853
5881
  }) => {
5854
- const { emailDetails: l, loadRecaptcha: m } = o, h = (g, v) => {
5855
- g.current && o.validFields[v] !== g.current.validity.valid && u([{ type: `validFields.${v}`, value: g.current.validity.valid }]);
5856
- }, _ = [
5882
+ const { emailDetails: l, loadRecaptcha: m } = o, p = (_, v) => {
5883
+ _.current && o.validFields[v] !== _.current.validity.valid && u([{ type: `validFields.${v}`, value: _.current.validity.valid }]);
5884
+ }, g = [
5857
5885
  {
5858
5886
  id: "full_name",
5859
5887
  type: "text",
5860
5888
  inputRef: c.name,
5861
5889
  placeholder: f.formatMessage({ id: "signup_full_name_placeholder" }),
5862
5890
  functions: {
5863
- onChange: () => h(c.name, "name"),
5891
+ onChange: () => p(c.name, "name"),
5864
5892
  onFocus: () => u([{ type: "loadRecaptcha", value: !0 }])
5865
5893
  },
5866
5894
  autoComplete: "name",
@@ -5878,7 +5906,7 @@ const so = no(ao, {
5878
5906
  onBlur: () => {
5879
5907
  gr({ ref: c.email, validateEmail: t, dispatch: u });
5880
5908
  },
5881
- onChange: (g, v) => {
5909
+ onChange: (_, v) => {
5882
5910
  v && v({
5883
5911
  type: "updateValue",
5884
5912
  payload: { key: "terms", value: !1 }
@@ -5899,14 +5927,14 @@ const so = no(ao, {
5899
5927
  }
5900
5928
  }
5901
5929
  ];
5902
- return o.shouldManuallyApprove && (_.push(
5930
+ return o.shouldManuallyApprove && (g.push(
5903
5931
  {
5904
5932
  id: "job_title",
5905
5933
  type: "text",
5906
5934
  inputRef: c.jobTitle,
5907
5935
  placeholder: f.formatMessage({ id: "signup_job_title_placeholder" }),
5908
5936
  functions: {
5909
- onChange: () => h(c.jobTitle, "jobTitle")
5937
+ onChange: () => p(c.jobTitle, "jobTitle")
5910
5938
  },
5911
5939
  validation: [{ condition: "required" }],
5912
5940
  "data-testid": "signup-job-input"
@@ -5920,37 +5948,37 @@ const so = no(ao, {
5920
5948
  }),
5921
5949
  functions: {
5922
5950
  onChange: () => {
5923
- h(c.organisation, "organisation");
5951
+ p(c.organisation, "organisation");
5924
5952
  }
5925
5953
  },
5926
5954
  validation: [{ condition: "required" }],
5927
5955
  "data-testid": "signup-org-input"
5928
5956
  }
5929
- ), e.url && _.push({
5957
+ ), e.url && g.push({
5930
5958
  id: "url",
5931
5959
  type: "text",
5932
5960
  label: f.formatMessage(
5933
5961
  { id: "signup_url" },
5934
5962
  {
5935
- small: (g) => /* @__PURE__ */ a.jsx("small", { children: g })
5963
+ small: (_) => /* @__PURE__ */ a.jsx("small", { children: _ })
5936
5964
  }
5937
5965
  ),
5938
5966
  placeholder: f.formatMessage({ id: "signup_url_placeholder" }),
5939
5967
  validation: [{ condition: "valid-url" }],
5940
5968
  "data-testid": "signup-url-input"
5941
- })), e.expectation && _.push({
5969
+ })), e.expectation && g.push({
5942
5970
  id: "expectation",
5943
5971
  className: "expectation",
5944
5972
  type: "text",
5945
5973
  label: f.formatMessage(
5946
5974
  { id: "signup_expectation" },
5947
5975
  {
5948
- small: (g) => /* @__PURE__ */ a.jsx("small", { className: "notes text-small", children: g })
5976
+ small: (_) => /* @__PURE__ */ a.jsx("small", { className: "notes text-small", children: _ })
5949
5977
  }
5950
5978
  ),
5951
5979
  placeholder: f.formatMessage({ id: "signup_expectation_placeholder" }),
5952
5980
  "data-testid": "signup-events-question"
5953
- }), _.push({
5981
+ }), g.push({
5954
5982
  id: "terms",
5955
5983
  className: "text-small",
5956
5984
  type: "checkbox",
@@ -5958,32 +5986,32 @@ const so = no(ao, {
5958
5986
  label: f.formatMessage(
5959
5987
  { id: "signup_terms" },
5960
5988
  {
5961
- terms: (g) => /* @__PURE__ */ a.jsx(
5989
+ terms: (_) => /* @__PURE__ */ a.jsx(
5962
5990
  "a",
5963
5991
  {
5964
5992
  href: "https://about.apolitical.co/terms-and-conditions",
5965
5993
  "data-gtm-event-context": "SignupForm",
5966
5994
  "data-gtm-event-type": "terms-of-service-click",
5967
5995
  className: "gtm-trackable",
5968
- children: g
5996
+ children: _
5969
5997
  }
5970
5998
  ),
5971
- privacy: (g) => /* @__PURE__ */ a.jsx(
5999
+ privacy: (_) => /* @__PURE__ */ a.jsx(
5972
6000
  "a",
5973
6001
  {
5974
6002
  href: "https://about.apolitical.co/privacy-policy",
5975
6003
  "data-gtm-event-context": "SignupForm",
5976
6004
  "data-gtm-event-type": "privacy-policy-click",
5977
6005
  className: "gtm-trackable",
5978
- children: g
6006
+ children: _
5979
6007
  }
5980
6008
  )
5981
6009
  }
5982
6010
  ),
5983
6011
  shownValue: "accepted",
5984
6012
  functions: {
5985
- onChange: (g) => {
5986
- if (!g)
6013
+ onChange: (_) => {
6014
+ if (!_)
5987
6015
  return;
5988
6016
  const v = [];
5989
6017
  ["name", "email"].forEach((b) => {
@@ -5996,7 +6024,7 @@ const so = no(ao, {
5996
6024
  },
5997
6025
  validation: [{ condition: "required" }],
5998
6026
  "data-testid": "signup-terms-checkbox"
5999
- }), !l.isEnd2End && m && _.push({
6027
+ }), !l.isEnd2End && m && g.push({
6000
6028
  component: so,
6001
6029
  functions: { onChange: () => {
6002
6030
  } },
@@ -6016,12 +6044,12 @@ const so = no(ao, {
6016
6044
  size: "invisible",
6017
6045
  badge: "bottomright"
6018
6046
  }
6019
- }), _;
6047
+ }), g;
6020
6048
  };
6021
6049
  const oo = ({ className: e = "" }) => /* @__PURE__ */ a.jsxs(
6022
6050
  "div",
6023
6051
  {
6024
- className: E("success-message", e),
6052
+ className: T("success-message", e),
6025
6053
  "data-testid": "success-message",
6026
6054
  children: [
6027
6055
  /* @__PURE__ */ a.jsx("p", { className: "success-title", children: /* @__PURE__ */ a.jsx(we, { id: "signup_success_title" }) }),
@@ -6049,7 +6077,7 @@ const co = {
6049
6077
  loadRecaptcha: !1,
6050
6078
  showSuccessMessage: !1,
6051
6079
  showError: !1
6052
- }, Hc = ({
6080
+ }, Wc = ({
6053
6081
  className: e = "",
6054
6082
  functions: t = {
6055
6083
  validateEmail: () => Promise.resolve(),
@@ -6075,8 +6103,8 @@ const co = {
6075
6103
  emailDetails: f,
6076
6104
  shouldManuallyApprove: l,
6077
6105
  showSuccessMessage: m,
6078
- showError: h
6079
- } = o, [_, g] = Br([
6106
+ showError: p
6107
+ } = o, [g, _] = Br([
6080
6108
  "signup-this-session",
6081
6109
  "functional-cookie-consent"
6082
6110
  ]), v = {
@@ -6092,14 +6120,14 @@ const co = {
6092
6120
  se(() => {
6093
6121
  l === !0 && v.jobTitle.current && v.jobTitle.current.focus();
6094
6122
  }, [l]), se(() => {
6095
- (i.showSuccessMessage || _["signup-this-session"]) && u([{ type: "showSuccessMessage", value: !0 }]);
6096
- }, [_]), se(() => {
6097
- if (m && _["functional-cookie-consent"]) {
6123
+ (i.showSuccessMessage || g["signup-this-session"]) && u([{ type: "showSuccessMessage", value: !0 }]);
6124
+ }, [g]), se(() => {
6125
+ if (m && g["functional-cookie-consent"]) {
6098
6126
  const j = {
6099
6127
  path: "/",
6100
6128
  maxAge: 3600
6101
6129
  };
6102
- i.showSuccessMessage || g("signup-this-session", "true", j);
6130
+ i.showSuccessMessage || _("signup-this-session", "true", j);
6103
6131
  }
6104
6132
  }, [m]);
6105
6133
  const b = ct(() => io({
@@ -6114,11 +6142,11 @@ const co = {
6114
6142
  return n.successMessage && m ? /* @__PURE__ */ a.jsx(oo, { className: e }) : /* @__PURE__ */ a.jsxs(
6115
6143
  "fieldset",
6116
6144
  {
6117
- className: E("signup-form-fieldset", e),
6145
+ className: T("signup-form-fieldset", e),
6118
6146
  "data-testid": "signup-form",
6119
6147
  children: [
6120
6148
  n.title && /* @__PURE__ */ a.jsx("p", { className: "signup-title", children: /* @__PURE__ */ a.jsx(we, { id: "signup_title" }) }),
6121
- h && /* @__PURE__ */ a.jsx(
6149
+ p && /* @__PURE__ */ a.jsx(
6122
6150
  Ke,
6123
6151
  {
6124
6152
  variant: "error",
@@ -6188,7 +6216,7 @@ const co = {
6188
6216
  );
6189
6217
  };
6190
6218
  let on;
6191
- const cn = "contactFooter_", Wc = ({ onSuccess: e = async () => {
6219
+ const cn = "contactFooter_", Vc = ({ onSuccess: e = async () => {
6192
6220
  }, onFailure: t = () => {
6193
6221
  } }) => {
6194
6222
  const n = me(null), [r, s] = z.useState(0), [i, c] = z.useState(!1), o = () => {
@@ -6225,7 +6253,7 @@ const cn = "contactFooter_", Wc = ({ onSuccess: e = async () => {
6225
6253
  }
6226
6254
  )
6227
6255
  ] }) });
6228
- }, Vc = ({ activeLink: e, ...t }) => /* @__PURE__ */ a.jsx(Ge, { children: /* @__PURE__ */ a.jsx(vi, { layout: "1-3", children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
6256
+ }, Yc = ({ activeLink: e, ...t }) => /* @__PURE__ */ a.jsx(Ge, { children: /* @__PURE__ */ a.jsx(vi, { layout: "1-3", children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
6229
6257
  /* @__PURE__ */ a.jsx(pi, { activeLink: e }),
6230
6258
  /* @__PURE__ */ a.jsx(Gs, { ...t })
6231
6259
  ] }) }) });
@@ -6675,9 +6703,9 @@ const Ue = "footer_", Ct = "SiteFooter", Cr = ({ group: e }) => {
6675
6703
  ...o.props || {}
6676
6704
  });
6677
6705
  }
6678
- const h = o.order && o.order[0] && o[o.order[0]], _ = h && o[o.order[0]].order, g = m && window.location.pathname === o.href;
6706
+ const p = o.order && o.order[0] && o[o.order[0]], g = p && o[o.order[0]].order, _ = m && window.location.pathname === o.href;
6679
6707
  let v = {}, b = {};
6680
- if (h) {
6708
+ if (p) {
6681
6709
  const y = o.menuId || e, j = {
6682
6710
  onClick: (w) => de.events.onClick(w, { id: y, callback: s, isOpen: r[y] }),
6683
6711
  onFocus: () => de.events.onFocus({ id: y }),
@@ -6685,7 +6713,7 @@ const Ue = "footer_", Ct = "SiteFooter", Cr = ({ group: e }) => {
6685
6713
  onMouseLeave: () => de.events.onBlur({ id: y, callback: s }),
6686
6714
  onMouseEnter: () => de.events.onMouseEnter({ id: y, callback: s })
6687
6715
  };
6688
- n && (_ && (v = {
6716
+ n && (g && (v = {
6689
6717
  ...j,
6690
6718
  onKeyPress: (w) => {
6691
6719
  w.key === "Enter" && de.events.onClick(w, { id: y, callback: s, isOpen: r[y] });
@@ -6695,7 +6723,7 @@ const Ue = "footer_", Ct = "SiteFooter", Cr = ({ group: e }) => {
6695
6723
  "aria-haspopup": !0,
6696
6724
  "aria-expanded": r[y],
6697
6725
  "aria-controls": y
6698
- }), b = { hidden: y in r ? !r[y] : !0 }), _ || (b = {
6726
+ }), b = { hidden: y in r ? !r[y] : !0 }), g || (b = {
6699
6727
  ...b,
6700
6728
  ...j
6701
6729
  });
@@ -6703,11 +6731,11 @@ const Ue = "footer_", Ct = "SiteFooter", Cr = ({ group: e }) => {
6703
6731
  return /* @__PURE__ */ a.jsxs(
6704
6732
  "li",
6705
6733
  {
6706
- className: E({
6734
+ className: T({
6707
6735
  [o.className]: o.className,
6708
- "has-submenu": h,
6709
- parent: _,
6710
- active: g
6736
+ "has-submenu": p,
6737
+ parent: g,
6738
+ active: _
6711
6739
  }),
6712
6740
  role: "none",
6713
6741
  ...v,
@@ -6730,7 +6758,7 @@ const Ue = "footer_", Ct = "SiteFooter", Cr = ({ group: e }) => {
6730
6758
  return o[y].order ? /* @__PURE__ */ a.jsxs(
6731
6759
  "li",
6732
6760
  {
6733
- className: E({
6761
+ className: T({
6734
6762
  [o[y].className]: o[y].className
6735
6763
  }),
6736
6764
  children: [
@@ -6783,8 +6811,8 @@ const uo = { height: 67, height_desktop: 83 }, ha = ({ showNavigation: e = !0 })
6783
6811
  }
6784
6812
  }
6785
6813
  });
6786
- const l = (h, _) => {
6787
- de.handleMenus({ id: h, value: _, menus: d, dispatch: o });
6814
+ const l = (p, g) => {
6815
+ de.handleMenus({ id: p, value: g, menus: d, dispatch: o });
6788
6816
  }, m = me(null);
6789
6817
  return ot(() => {
6790
6818
  d.navigation && de.autoFocus({
@@ -6807,7 +6835,7 @@ const uo = { height: 67, height_desktop: 83 }, ha = ({ showNavigation: e = !0 })
6807
6835
  "nav",
6808
6836
  {
6809
6837
  id: "header",
6810
- className: E({
6838
+ className: T({
6811
6839
  "logged-in": s,
6812
6840
  "logged-out": !s,
6813
6841
  visible: u
@@ -6827,8 +6855,8 @@ const uo = { height: 67, height_desktop: 83 }, ha = ({ showNavigation: e = !0 })
6827
6855
  "button",
6828
6856
  {
6829
6857
  className: "menu-button gtm-trackable",
6830
- onClick: (h) => {
6831
- h.preventDefault(), h.stopPropagation(), l("navigation", !d.navigation);
6858
+ onClick: (p) => {
6859
+ p.preventDefault(), p.stopPropagation(), l("navigation", !d.navigation);
6832
6860
  },
6833
6861
  "data-gtm-event-type": "open-tab-menu-click",
6834
6862
  "data-gtm-event-context": "HeaderLeft-Chevron",
@@ -6848,16 +6876,16 @@ const uo = { height: 67, height_desktop: 83 }, ha = ({ showNavigation: e = !0 })
6848
6876
  hidden: i.navigation || d.account ? !1 : !d.navigation,
6849
6877
  role: "menu",
6850
6878
  "data-showing": !i.navigation && d.account ? "account" : "default",
6851
- children: $t.order.map((h) => /* @__PURE__ */ a.jsx(
6879
+ children: $t.order.map((p) => /* @__PURE__ */ a.jsx(
6852
6880
  Mt,
6853
6881
  {
6854
- id: h,
6882
+ id: p,
6855
6883
  isLoggedIn: s,
6856
6884
  isDesktopVersion: i.navigation,
6857
6885
  menus: { navigation: d.navigation, account: d.account },
6858
6886
  callback: l
6859
6887
  },
6860
- h
6888
+ p
6861
6889
  ))
6862
6890
  }
6863
6891
  ),
@@ -6865,8 +6893,8 @@ const uo = { height: 67, height_desktop: 83 }, ha = ({ showNavigation: e = !0 })
6865
6893
  "button",
6866
6894
  {
6867
6895
  className: "search toggle-search-button",
6868
- onClick: (h) => {
6869
- h.preventDefault(), h.stopPropagation(), l("search", !d.search);
6896
+ onClick: (p) => {
6897
+ p.preventDefault(), p.stopPropagation(), l("search", !d.search);
6870
6898
  },
6871
6899
  "aria-haspopup": "true",
6872
6900
  "aria-expanded": d.search,
@@ -6897,7 +6925,7 @@ const uo = { height: 67, height_desktop: 83 }, ha = ({ showNavigation: e = !0 })
6897
6925
  "button",
6898
6926
  {
6899
6927
  className: "account-button",
6900
- onClick: (h) => de.events.onClick(h, {
6928
+ onClick: (p) => de.events.onClick(p, {
6901
6929
  id: "account",
6902
6930
  callback: l,
6903
6931
  isOpen: d.account
@@ -6920,7 +6948,7 @@ const uo = { height: 67, height_desktop: 83 }, ha = ({ showNavigation: e = !0 })
6920
6948
  )
6921
6949
  ]
6922
6950
  }
6923
- ) : /* @__PURE__ */ a.jsx("ul", { className: "sign-in-buttons", children: $t.buttons.order.map((h) => /* @__PURE__ */ a.jsx(Mt, { id: `buttons.${h}` }, h)) })
6951
+ ) : /* @__PURE__ */ a.jsx("ul", { className: "sign-in-buttons", children: $t.buttons.order.map((p) => /* @__PURE__ */ a.jsx(Mt, { id: `buttons.${p}` }, p)) })
6924
6952
  ] })
6925
6953
  ]
6926
6954
  }
@@ -6929,7 +6957,7 @@ const uo = { height: 67, height_desktop: 83 }, ha = ({ showNavigation: e = !0 })
6929
6957
  /* @__PURE__ */ a.jsx(
6930
6958
  "div",
6931
6959
  {
6932
- className: E("overlay", {
6960
+ className: T("overlay", {
6933
6961
  open: d.navigation || d.account || !i.search && d.search
6934
6962
  })
6935
6963
  }
@@ -6937,7 +6965,7 @@ const uo = { height: 67, height_desktop: 83 }, ha = ({ showNavigation: e = !0 })
6937
6965
  ] });
6938
6966
  };
6939
6967
  const ga = ({ element: e = "section", children: t, className: n, ...r }) => z.createElement(e, {
6940
- className: E("modal", n),
6968
+ className: T("modal", n),
6941
6969
  children: typeof t == "string" ? /* @__PURE__ */ a.jsx("p", { children: t }) : t,
6942
6970
  ...r
6943
6971
  });
@@ -6956,19 +6984,19 @@ const Zn = ({
6956
6984
  className: f = "",
6957
6985
  gtmContext: l = "Modal"
6958
6986
  }) => {
6959
- const m = W(), [h, _] = X(t), g = (b) => {
6960
- _(b), b ? (s(), document.body.classList.add("has-overlay")) : (i(), document.body.classList.remove("has-overlay"));
6987
+ const m = W(), [p, g] = X(t), _ = (b) => {
6988
+ g(b), b ? (s(), document.body.classList.add("has-overlay")) : (i(), document.body.classList.remove("has-overlay"));
6961
6989
  };
6962
6990
  se(() => {
6963
- g(t);
6991
+ _(t);
6964
6992
  }, [t]);
6965
6993
  const v = r ? { "--max-width": `${r / 16}rem` } : {};
6966
- return /* @__PURE__ */ a.jsx("div", { className: E("overlay", { open: h }), children: /* @__PURE__ */ a.jsx(
6994
+ return /* @__PURE__ */ a.jsx("div", { className: T("overlay", { open: p }), children: /* @__PURE__ */ a.jsx(
6967
6995
  ga,
6968
6996
  {
6969
6997
  id: e,
6970
- className: E("overlay-modal", f, { "has-max-width": r }),
6971
- hidden: !h,
6998
+ className: T("overlay-modal", f, { "has-max-width": r }),
6999
+ hidden: !p,
6972
7000
  style: v,
6973
7001
  children: t && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
6974
7002
  /* @__PURE__ */ a.jsxs("div", { className: "top", children: [
@@ -6979,7 +7007,7 @@ const Zn = ({
6979
7007
  variant: "tertiary",
6980
7008
  size: "medium",
6981
7009
  icon: { icon: "close" },
6982
- onClick: () => g(!1),
7010
+ onClick: () => _(!1),
6983
7011
  className: "gtm-trackable",
6984
7012
  "data-gtm-event-type": "close-modal-click",
6985
7013
  "data-gtm-event-context": l,
@@ -7002,7 +7030,7 @@ const Zn = ({
7002
7030
  "aria-expanded": t,
7003
7031
  "aria-controls": e
7004
7032
  });
7005
- const Yc = ({
7033
+ const Gc = ({
7006
7034
  className: e,
7007
7035
  showModal: t = !0,
7008
7036
  title: n,
@@ -7022,7 +7050,7 @@ const Yc = ({
7022
7050
  showDivider: !1,
7023
7051
  showIcon: c,
7024
7052
  functions: { onClose: o },
7025
- className: E("invite-modal", e, { success: !!n }),
7053
+ className: T("invite-modal", e, { success: !!n }),
7026
7054
  children: /* @__PURE__ */ a.jsx(
7027
7055
  $i,
7028
7056
  {
@@ -7058,30 +7086,44 @@ const mo = () => {
7058
7086
  className: c = "",
7059
7087
  locale: o = "en"
7060
7088
  }) => {
7061
- const { navigation: u = !0, footer: d = !0 } = s, { background: f = "default", variant: l = "default", circle: m = "default" } = i, h = us();
7089
+ const { navigation: u = !0, footer: d = !0 } = s, {
7090
+ background: f = "default",
7091
+ variant: l = "default",
7092
+ circle: m = "default",
7093
+ modal: p = "default"
7094
+ } = i, g = us();
7062
7095
  se(() => {
7063
7096
  window.scrollTo(0, 0);
7064
- }, [h]);
7065
- const _ = jt(e, { locale: o }), g = jt(t, {
7097
+ }, [g]);
7098
+ const _ = jt(e, { locale: o }), v = jt(t, {
7066
7099
  locale: o
7067
- }), v = jt(n, {
7100
+ }), b = jt(n, {
7068
7101
  locale: o
7069
- }), b = {};
7070
- return f !== "default" && (b[f] = !0), l !== "default" && (b[l] = !0), m !== "default" && (b[m] = !0), /* @__PURE__ */ a.jsx(rs, { onError: r, fallback: /* @__PURE__ */ a.jsx(mo, {}), children: /* @__PURE__ */ a.jsx(Va, { fallback: null, children: /* @__PURE__ */ a.jsxs(
7102
+ }), y = {};
7103
+ return f !== "default" && (y[f] = !0), l !== "default" && (y[l] = !0), m !== "default" && (y[m] = !0), /* @__PURE__ */ a.jsx(rs, { onError: r, fallback: /* @__PURE__ */ a.jsx(mo, {}), children: /* @__PURE__ */ a.jsx(Va, { fallback: null, children: /* @__PURE__ */ a.jsxs(
7071
7104
  "div",
7072
7105
  {
7073
7106
  id: "wrapper",
7074
- className: E(c, b, { "has-footer": d }),
7107
+ className: T(c, y, { "has-footer": d }),
7075
7108
  children: [
7076
7109
  /* @__PURE__ */ a.jsx(ha, { showNavigation: u }),
7077
7110
  /* @__PURE__ */ a.jsxs("section", { id: "content-wrapper", children: [
7078
- g && /* @__PURE__ */ a.jsx("div", { className: "additional-content prepended", children: g }),
7111
+ v && /* @__PURE__ */ a.jsx(
7112
+ "div",
7113
+ {
7114
+ className: T("additional-content prepended", {
7115
+ "large-modal": p === "large"
7116
+ }),
7117
+ children: v
7118
+ }
7119
+ ),
7079
7120
  z.createElement(f === "bold" ? ga : "div", {
7080
7121
  id: "content",
7081
- children: _
7122
+ children: _,
7123
+ className: T({ "large-modal": p === "large" })
7082
7124
  })
7083
7125
  ] }),
7084
- v && /* @__PURE__ */ a.jsx("div", { className: "additional-content appended", children: v }),
7126
+ b && /* @__PURE__ */ a.jsx("div", { className: "additional-content appended", children: b }),
7085
7127
  d && /* @__PURE__ */ a.jsx(pa, {}),
7086
7128
  /* @__PURE__ */ a.jsx(lo, {})
7087
7129
  ]
@@ -7118,7 +7160,7 @@ const mo = () => {
7118
7160
  return fn[e] ? (e = fn[e], { id: e, text: `${$r.default}${e}` }) : null;
7119
7161
  }
7120
7162
  };
7121
- const Gc = ({
7163
+ const Kc = ({
7122
7164
  tags: e = [],
7123
7165
  color: t = "default",
7124
7166
  forceOneLine: n = !1,
@@ -7139,7 +7181,7 @@ const Gc = ({
7139
7181
  }), u.length < 1 ? null : /* @__PURE__ */ a.jsx(
7140
7182
  "ul",
7141
7183
  {
7142
- className: E("tags text-small", t, s, {
7184
+ className: T("tags text-small", t, s, {
7143
7185
  "one-line": n
7144
7186
  }),
7145
7187
  children: u.map((d) => {
@@ -7158,7 +7200,7 @@ const Gc = ({
7158
7200
  }
7159
7201
  );
7160
7202
  };
7161
- const Kc = ({
7203
+ const Qc = ({
7162
7204
  members: { data: e = [], total: t = e.length },
7163
7205
  hasNextPage: n = !1,
7164
7206
  loadNextPage: r = () => {
@@ -7168,7 +7210,7 @@ const Kc = ({
7168
7210
  className: c = ""
7169
7211
  }) => {
7170
7212
  const o = W();
7171
- return e.length === 0 ? null : /* @__PURE__ */ a.jsxs("div", { className: E("members-list", c), children: [
7213
+ return e.length === 0 ? null : /* @__PURE__ */ a.jsxs("div", { className: T("members-list", c), children: [
7172
7214
  /* @__PURE__ */ a.jsxs("h1", { children: [
7173
7215
  o.formatMessage({ id: "membersList" }),
7174
7216
  /* @__PURE__ */ a.jsx("span", { className: "count", children: t })
@@ -7223,9 +7265,9 @@ const ye = "discussion_form_", Un = ({
7223
7265
  gtmContext: d = "DiscussionForm"
7224
7266
  }) => {
7225
7267
  var A, F, ue;
7226
- const f = W(), l = $e(Fe), [m, h] = X(
7268
+ const f = W(), l = $e(Fe), [m, p] = X(
7227
7269
  n.isEditing && n.isEditing.text || ""
7228
- ), [_, g] = X(o.error || !1), [v, b] = X(!1), y = me(null);
7270
+ ), [g, _] = X(o.error || !1), [v, b] = X(!1), y = me(null);
7229
7271
  if (r || (r = y), n.isLoading)
7230
7272
  return /* @__PURE__ */ a.jsx(
7231
7273
  Ee,
@@ -7236,7 +7278,7 @@ const ye = "discussion_form_", Un = ({
7236
7278
  );
7237
7279
  const j = (L) => {
7238
7280
  const V = L.target.value;
7239
- h(V);
7281
+ p(V);
7240
7282
  let G;
7241
7283
  !l || !l.id ? G = Ce(
7242
7284
  f.formatMessage,
@@ -7248,7 +7290,7 @@ const ye = "discussion_form_", Un = ({
7248
7290
  `${ye}error_noPermission`,
7249
7291
  e.type,
7250
7292
  "action"
7251
- ), G ? g(G) : _ && g(!1);
7293
+ ), G ? _(G) : g && _(!1);
7252
7294
  };
7253
7295
  let w = `${e.type}-form`;
7254
7296
  if (e.type === "response" || e.type === "reply") {
@@ -7290,7 +7332,7 @@ const ye = "discussion_form_", Un = ({
7290
7332
  break;
7291
7333
  }
7292
7334
  await bs(1e3), u.callback && await u.callback(Z), yt = setTimeout(() => {
7293
- h(""), b("submitted");
7335
+ p(""), b("submitted");
7294
7336
  const U = new Event("discussionFormSubmitted");
7295
7337
  document.dispatchEvent(U), O();
7296
7338
  }, 500);
@@ -7307,14 +7349,14 @@ const ye = "discussion_form_", Un = ({
7307
7349
  `${ye}error_tooMany`,
7308
7350
  e.type,
7309
7351
  "action"
7310
- ) : U != null && U.message.includes("400") && (te = `${ye}error`), g(te), O();
7352
+ ) : U != null && U.message.includes("400") && (te = `${ye}error`), _(te), O();
7311
7353
  }
7312
7354
  }, O = () => {
7313
7355
  yt = setTimeout(() => {
7314
- g(!1), b(!1);
7356
+ _(!1), b(!1);
7315
7357
  }, 5e3);
7316
- }, $ = !m || !Es(m), T = v === "submitting", P = [];
7317
- return (n.isEditing && !T || o.cancel) && P.push({
7358
+ }, $ = !m || !Es(m), E = v === "submitting", P = [];
7359
+ return (n.isEditing && !E || o.cancel) && P.push({
7318
7360
  variant: "secondary",
7319
7361
  size: { mobile: "small", 600: "medium" },
7320
7362
  onClick: u.handleCancel,
@@ -7339,15 +7381,15 @@ const ye = "discussion_form_", Un = ({
7339
7381
  "data-gtm-event-context": d,
7340
7382
  "data-gtm-event-type": `${n.isEditing ? "save" : "submit"}-${e.type}-click`,
7341
7383
  "data-testid": "save-button",
7342
- disabled: !l || !l.id || !t || $ || T || n.isEditing && m === n.isEditing.text,
7384
+ disabled: !l || !l.id || !t || $ || E || n.isEditing && m === n.isEditing.text,
7343
7385
  children: f.formatMessage({
7344
- id: `${ye}${T ? n.isEditing ? "saving" : "posting" : n.isEditing ? "save" : "post"}`
7386
+ id: `${ye}${E ? n.isEditing ? "saving" : "posting" : n.isEditing ? "save" : "post"}`
7345
7387
  })
7346
7388
  }), /* @__PURE__ */ a.jsxs(
7347
7389
  "form",
7348
7390
  {
7349
7391
  id: w,
7350
- className: E("discussion-card discussion-form", {
7392
+ className: T("discussion-card discussion-form", {
7351
7393
  "no-styling": n.isInWrapper && n.isEditing
7352
7394
  }),
7353
7395
  "data-testid": `discussion-${e.type}-form`,
@@ -7375,9 +7417,9 @@ const ye = "discussion_form_", Un = ({
7375
7417
  "action"
7376
7418
  ),
7377
7419
  onChange: j,
7378
- value: v === "submitting" && !_ ? "" : m,
7420
+ value: v === "submitting" && !g ? "" : m,
7379
7421
  maxLength: i,
7380
- "aria-invalid": !!_,
7422
+ "aria-invalid": !!g,
7381
7423
  "aria-errormessage": "error-message",
7382
7424
  minRows: c,
7383
7425
  autoFocus: !!n.isEditing
@@ -7399,15 +7441,15 @@ const ye = "discussion_form_", Un = ({
7399
7441
  }) }),
7400
7442
  /* @__PURE__ */ a.jsx(At, { buttons: P }),
7401
7443
  v === "submitted" && n.showSuccessMessage && /* @__PURE__ */ a.jsx(Et, { className: "success", "data-testid": "success", children: Ce(f.formatMessage, `${ye}success`, e.type, "action") }),
7402
- _ && /* @__PURE__ */ a.jsx(Et, { id: "error-message", className: "error", "data-testid": "error", children: o.error ? o.error : typeof _ == "string" ? _.includes(" ") ? _ : f.formatMessage(
7403
- { id: _ },
7444
+ g && /* @__PURE__ */ a.jsx(Et, { id: "error-message", className: "error", "data-testid": "error", children: o.error ? o.error : typeof g == "string" ? g.includes(" ") ? g : f.formatMessage(
7445
+ { id: g },
7404
7446
  {
7405
7447
  action: f.formatMessage({
7406
7448
  id: `discussion_action_${e.type}`
7407
7449
  }),
7408
7450
  maxLength: i
7409
7451
  }
7410
- ) : _ })
7452
+ ) : g })
7411
7453
  ]
7412
7454
  }
7413
7455
  );
@@ -7470,36 +7512,36 @@ const mn = () => {
7470
7512
  }) => {
7471
7513
  const d = W();
7472
7514
  se(() => {
7473
- h(s);
7515
+ p(s);
7474
7516
  }, [s]);
7475
- const [f, l] = X(t), [m, h] = X(s), [_, g] = X(!1), [v, b] = X(!1), y = ct(
7517
+ const [f, l] = X(t), [m, p] = X(s), [g, _] = X(!1), [v, b] = X(!1), y = ct(
7476
7518
  () => bo(n, pn),
7477
7519
  [n]
7478
7520
  ), j = (x) => {
7479
7521
  if (x.preventDefault(), x.stopPropagation(), b(!1), st)
7480
7522
  return mn(), !1;
7481
- if (mn(), _ || !c)
7523
+ if (mn(), g || !c)
7482
7524
  return !1;
7483
7525
  st = setTimeout(w, 350);
7484
7526
  }, w = async () => {
7485
- if (mn(), _ || !c)
7527
+ if (mn(), g || !c)
7486
7528
  return !1;
7487
7529
  let x = m ? f - 1 : f + 1;
7488
- x < 0 && (x = 0), g(!0), l(x), h(!m);
7530
+ x < 0 && (x = 0), _(!0), l(x), p(!m);
7489
7531
  try {
7490
7532
  if (i && i.slugs) {
7491
7533
  const O = vo(i.slugs);
7492
7534
  m ? await u(O) : await o(O, { contentPath: window.location.pathname });
7493
7535
  }
7494
7536
  } catch {
7495
- l(t), h(s);
7537
+ l(t), p(s);
7496
7538
  } finally {
7497
- g(!1);
7539
+ _(!1);
7498
7540
  }
7499
7541
  };
7500
7542
  return z.createElement(e, {
7501
- className: E("likes-wrapper text-medium action-button", {
7502
- "show-spinner": _,
7543
+ className: T("likes-wrapper text-medium action-button", {
7544
+ "show-spinner": g,
7503
7545
  "is-liked": m,
7504
7546
  disabled: !c
7505
7547
  }),
@@ -7523,7 +7565,7 @@ const mn = () => {
7523
7565
  variant: "tertiary",
7524
7566
  size: "medium",
7525
7567
  icon: { icon: m ? "heart" : "heart_empty", animate: "bounce" },
7526
- className: E({ "do-animation": m && !s }),
7568
+ className: T({ "do-animation": m && !s }),
7527
7569
  screenreaderText: c ? d.formatMessage(
7528
7570
  {
7529
7571
  id: `discussion_likes_${m ? "unlike" : "like"}`
@@ -7545,7 +7587,7 @@ const mn = () => {
7545
7587
  /* @__PURE__ */ a.jsx(
7546
7588
  "span",
7547
7589
  {
7548
- className: E("number-of-likes", { "no-likes": f === 0 }),
7590
+ className: T("number-of-likes", { "no-likes": f === 0 }),
7549
7591
  "data-testid": "number-of-likes",
7550
7592
  children: d.formatMessage(
7551
7593
  { id: `discussion_likes${r ? "_short" : ""}` },
@@ -7600,12 +7642,12 @@ const Re = "discussion_", xo = 280, It = ({
7600
7642
  } }
7601
7643
  },
7602
7644
  links: m = {},
7603
- className: h,
7604
- gtmContext: _ = "DiscussionAnswer",
7605
- children: g,
7645
+ className: p,
7646
+ gtmContext: g = "DiscussionAnswer",
7647
+ children: _,
7606
7648
  isTruncated: v = !1
7607
7649
  }) => {
7608
- const b = W(), y = $e(Fe), j = $e(Hn), { author: w, canLike: x, createdAt: O, id: $, likes: T = 0, userLiked: P, comments: A = 0 } = t, F = y && y.id && typeof w != "string" && w.id && w.id === y.id || !1, ue = typeof x == "boolean" ? x : n ? !F : !1, L = F && (!t.createdAt || vs(t.createdAt, 10, "seconds")), V = me(null), [G, Z] = X({
7650
+ const b = W(), y = $e(Fe), j = $e(Hn), { author: w, canLike: x, createdAt: O, id: $, likes: E = 0, userLiked: P, comments: A = 0 } = t, F = y && y.id && typeof w != "string" && w.id && w.id === y.id || !1, ue = typeof x == "boolean" ? x : n ? !F : !1, L = F && (!t.createdAt || vs(t.createdAt, 10, "seconds")), V = me(null), [G, Z] = X({
7609
7651
  body: t && t.body || "",
7610
7652
  isEditing: !1,
7611
7653
  didEdit: t && t.isEdited || !1
@@ -7689,7 +7731,7 @@ const Re = "discussion_", xo = 280, It = ({
7689
7731
  onClick: () => Z({ ...G, isEditing: !0 }),
7690
7732
  icon: "pencil-paper",
7691
7733
  className: "gtm-trackable",
7692
- "data-gtm-event-context": _,
7734
+ "data-gtm-event-context": g,
7693
7735
  "data-gtm-event-type": `edit-${t.type}-click`
7694
7736
  },
7695
7737
  {
@@ -7699,13 +7741,13 @@ const Re = "discussion_", xo = 280, It = ({
7699
7741
  },
7700
7742
  icon: "trash",
7701
7743
  className: "gtm-trackable",
7702
- "data-gtm-event-context": _,
7744
+ "data-gtm-event-context": g,
7703
7745
  "data-gtm-event-type": `delete-${t.type}-click`,
7704
7746
  ...fo(`delete-${t.slug}-modal`, U)
7705
7747
  }
7706
7748
  ), z.createElement(e, {
7707
- className: E("discussion-post", h, {
7708
- [ie]: !h || !h.includes("highlighted-text-box")
7749
+ className: T("discussion-post", p, {
7750
+ [ie]: !p || !p.includes("highlighted-text-box")
7709
7751
  }),
7710
7752
  ref: V,
7711
7753
  "data-testid": `discussion-${t.type}-thread`,
@@ -7714,7 +7756,7 @@ const Re = "discussion_", xo = 280, It = ({
7714
7756
  "div",
7715
7757
  {
7716
7758
  id: $ || t.slug,
7717
- className: E("discussion-card", t.type, {
7759
+ className: T("discussion-card", t.type, {
7718
7760
  editing: G.isEditing,
7719
7761
  "has-link": m.post && !G.isEditing
7720
7762
  }),
@@ -7728,7 +7770,7 @@ const Re = "discussion_", xo = 280, It = ({
7728
7770
  member: w,
7729
7771
  additionalContent: { createdAt: O, didEdit: G.didEdit },
7730
7772
  className: typeof w != "string" && w.id === s ? "highlighted" : "",
7731
- gtmContext: _,
7773
+ gtmContext: g,
7732
7774
  gtmType: "profile-click"
7733
7775
  }
7734
7776
  ),
@@ -7760,14 +7802,14 @@ const Re = "discussion_", xo = 280, It = ({
7760
7802
  D(""), Z({ ...G, isEditing: !1 });
7761
7803
  }
7762
7804
  },
7763
- gtmContext: `${_}Form`
7805
+ gtmContext: `${g}Form`
7764
7806
  }
7765
7807
  ) : m.post ? /* @__PURE__ */ a.jsx(
7766
7808
  "a",
7767
7809
  {
7768
7810
  href: m.post,
7769
7811
  className: "gtm-trackable",
7770
- "data-gtm-event-context": _,
7812
+ "data-gtm-event-context": g,
7771
7813
  "data-gtm-event-type": "title-click",
7772
7814
  children: /* @__PURE__ */ a.jsx(xn, { options: { overrides: { a: Vs } }, children: K })
7773
7815
  }
@@ -7786,14 +7828,14 @@ const Re = "discussion_", xo = 280, It = ({
7786
7828
  !G.isEditing && /* @__PURE__ */ a.jsxs(
7787
7829
  "ul",
7788
7830
  {
7789
- className: E("actions text-medium", t.type),
7831
+ className: T("actions text-medium", t.type),
7790
7832
  "data-testid": `${t.type}-actions`,
7791
7833
  children: [
7792
7834
  /* @__PURE__ */ a.jsx(
7793
7835
  yo,
7794
7836
  {
7795
7837
  element: "li",
7796
- likes: T,
7838
+ likes: E,
7797
7839
  isShort: !1,
7798
7840
  userLiked: P,
7799
7841
  content: { type: t.type, slugs: t.slugs },
@@ -7823,7 +7865,7 @@ const Re = "discussion_", xo = 280, It = ({
7823
7865
  href: m.comments ? m.comments : !1,
7824
7866
  onClick: m.comments || typeof l != "function" ? !1 : l,
7825
7867
  className: "gtm-trackable",
7826
- "data-gtm-event-context": _,
7868
+ "data-gtm-event-context": g,
7827
7869
  "data-gtm-event-type": `answer-${t.type}-click`,
7828
7870
  screenreaderText: b.formatMessage(
7829
7871
  { id: `${Re}comments_screenReader` },
@@ -7862,7 +7904,7 @@ const Re = "discussion_", xo = 280, It = ({
7862
7904
  ]
7863
7905
  }
7864
7906
  ),
7865
- g,
7907
+ _,
7866
7908
  /* @__PURE__ */ a.jsx(
7867
7909
  Zn,
7868
7910
  {
@@ -8347,15 +8389,15 @@ function Fo({
8347
8389
  },
8348
8390
  user: u,
8349
8391
  ...d
8350
- }, l = Ao({ ...f, mutationFn: e }), m = Oo({ ...f, mutationFn: t }), h = Lo({ ...f, mutationFn: n }), _ = Io({ ...f, mutationFn: s }), g = Bo({ ...f, mutationFn: i }), { activities: v, ...b } = Do({ queryKey: c, queryFn: r });
8392
+ }, l = Ao({ ...f, mutationFn: e }), m = Oo({ ...f, mutationFn: t }), p = Lo({ ...f, mutationFn: n }), g = Io({ ...f, mutationFn: s }), _ = Bo({ ...f, mutationFn: i }), { activities: v, ...b } = Do({ queryKey: c, queryFn: r });
8351
8393
  return {
8352
8394
  activities: v,
8353
8395
  mutations: {
8354
8396
  create: l,
8355
8397
  edit: m,
8356
- remove: _,
8357
- like: h,
8358
- unlike: g
8398
+ remove: g,
8399
+ like: p,
8400
+ unlike: _
8359
8401
  },
8360
8402
  user: u,
8361
8403
  ...b
@@ -8468,7 +8510,7 @@ function zo(e) {
8468
8510
  var t;
8469
8511
  return ((t = e == null ? void 0 : e.pages) == null ? void 0 : t.reduce((n, { results: r }) => [...n, ...r], [])) || [];
8470
8512
  }
8471
- const Qc = ({
8513
+ const Jc = ({
8472
8514
  basePath: e,
8473
8515
  parentId: t,
8474
8516
  isMember: n,
@@ -8480,7 +8522,7 @@ const Qc = ({
8480
8522
  fetchNextPage: d,
8481
8523
  hasNextPage: f,
8482
8524
  isLoading: l,
8483
- mutations: { create: m, edit: h, remove: _, like: g, unlike: v },
8525
+ mutations: { create: m, edit: p, remove: g, like: _, unlike: v },
8484
8526
  user: b
8485
8527
  } = Fo({
8486
8528
  queryKey: [e, t, "activities"],
@@ -8513,7 +8555,7 @@ const Qc = ({
8513
8555
  id: x,
8514
8556
  own_reactions: O,
8515
8557
  latest_reactions: $,
8516
- reaction_counts: T
8558
+ reaction_counts: E
8517
8559
  } = j, P = (((G = $ == null ? void 0 : $.like) == null ? void 0 : G.length) || 0) > 0, A = (((Z = O == null ? void 0 : O.like) == null ? void 0 : Z.length) || 0) > 0, F = A ? O == null ? void 0 : O.like[0].id : "", ue = P ? (U = $ == null ? void 0 : $.like) == null ? void 0 : U.map((I) => {
8518
8560
  var B, K, H;
8519
8561
  return {
@@ -8546,8 +8588,8 @@ const Qc = ({
8546
8588
  }
8547
8589
  },
8548
8590
  userLiked: A,
8549
- likes: (T == null ? void 0 : T.like) || 0,
8550
- comments: (T == null ? void 0 : T.reply) || 0,
8591
+ likes: (E == null ? void 0 : E.like) || 0,
8592
+ comments: (E == null ? void 0 : E.reply) || 0,
8551
8593
  peopleWhoLiked: ue
8552
8594
  },
8553
8595
  links: {
@@ -8557,12 +8599,12 @@ const Qc = ({
8557
8599
  functions: {
8558
8600
  content: {
8559
8601
  createContent: () => null,
8560
- deleteContent: () => _({ activityId: x }),
8602
+ deleteContent: () => g({ activityId: x }),
8561
8603
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
8562
- updateContent: (I, { body: B }) => h({ activityId: x, content: B })
8604
+ updateContent: (I, { body: B }) => p({ activityId: x, content: B })
8563
8605
  },
8564
8606
  likes: {
8565
- createLike: () => g({ activityId: x }),
8607
+ createLike: () => _({ activityId: x }),
8566
8608
  deleteLike: () => v({ activityId: x, reactionId: F })
8567
8609
  },
8568
8610
  comments: {
@@ -8588,7 +8630,7 @@ const Qc = ({
8588
8630
  }
8589
8631
  )
8590
8632
  ] });
8591
- }, Jc = {
8633
+ }, Xc = {
8592
8634
  next: "id_lt=67ef0342-6f6e-4807-beea-5a9184ec140c&limit=5",
8593
8635
  results: [
8594
8636
  {
@@ -9204,15 +9246,15 @@ function ka({
9204
9246
  },
9205
9247
  user: u,
9206
9248
  ...d
9207
- }, l = Zo({ ...f, mutationFn: e }), m = Uo({ ...f, mutationFn: t }), h = Ho({ ...f, mutationFn: n }), _ = Vo({ ...f, mutationFn: s }), g = Yo({ ...f, mutationFn: i }), { replies: v, ...b } = Wo({ queryKey: c, queryFn: r });
9249
+ }, l = Zo({ ...f, mutationFn: e }), m = Uo({ ...f, mutationFn: t }), p = Ho({ ...f, mutationFn: n }), g = Vo({ ...f, mutationFn: s }), _ = Yo({ ...f, mutationFn: i }), { replies: v, ...b } = Wo({ queryKey: c, queryFn: r });
9208
9250
  return {
9209
9251
  replies: v,
9210
9252
  mutations: {
9211
9253
  create: l,
9212
9254
  edit: m,
9213
- remove: _,
9214
- like: h,
9215
- unlike: g
9255
+ remove: g,
9256
+ like: p,
9257
+ unlike: _
9216
9258
  },
9217
9259
  user: u,
9218
9260
  ...b
@@ -9349,8 +9391,8 @@ const ec = ({
9349
9391
  fetchNextPage: o,
9350
9392
  hasNextPage: u,
9351
9393
  isLoading: d,
9352
- mutations: { create: f, edit: l, like: m, remove: h, unlike: _ },
9353
- user: g
9394
+ mutations: { create: f, edit: l, like: m, remove: p, unlike: g },
9395
+ user: _
9354
9396
  } = ka({
9355
9397
  queryKey: [e, t, n, r, "replies"],
9356
9398
  queryFns: {
@@ -9387,14 +9429,14 @@ const ec = ({
9387
9429
  children_counts: w
9388
9430
  } = v, O = (((G = y == null ? void 0 : y.like) == null ? void 0 : G.length) || 0) > 0 ? (Z = y == null ? void 0 : y.like) == null ? void 0 : Z.find((q) => {
9389
9431
  var Y;
9390
- return ((Y = q == null ? void 0 : q.user) == null ? void 0 : Y.id) === (g == null ? void 0 : g.id);
9391
- }) : !1, $ = O ? O == null ? void 0 : O.id : "", T = !!O, A = (((U = j == null ? void 0 : j.like) == null ? void 0 : U.length) || 0) > 0 ? (te = j == null ? void 0 : j.like) == null ? void 0 : te.map((q) => {
9432
+ return ((Y = q == null ? void 0 : q.user) == null ? void 0 : Y.id) === (_ == null ? void 0 : _.id);
9433
+ }) : !1, $ = O ? O == null ? void 0 : O.id : "", E = !!O, A = (((U = j == null ? void 0 : j.like) == null ? void 0 : U.length) || 0) > 0 ? (te = j == null ? void 0 : j.like) == null ? void 0 : te.map((q) => {
9392
9434
  var Y, J, M;
9393
9435
  return {
9394
9436
  id: (Y = q == null ? void 0 : q.user) == null ? void 0 : Y.id,
9395
9437
  name: (M = (J = q == null ? void 0 : q.user) == null ? void 0 : J.data) == null ? void 0 : M.name
9396
9438
  };
9397
- }) : !1, F = v == null ? void 0 : v.user, ue = (F == null ? void 0 : F.id) === (g == null ? void 0 : g.id), L = Dt(s, ue), V = typeof v.data.content == "string" ? (ie = v == null ? void 0 : v.data) == null ? void 0 : ie.content : (
9439
+ }) : !1, F = v == null ? void 0 : v.user, ue = (F == null ? void 0 : F.id) === (_ == null ? void 0 : _.id), L = Dt(s, ue), V = typeof v.data.content == "string" ? (ie = v == null ? void 0 : v.data) == null ? void 0 : ie.content : (
9398
9440
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
9399
9441
  ((C = (k = v == null ? void 0 : v.data) == null ? void 0 : k.content) == null ? void 0 : C.text) || ""
9400
9442
  );
@@ -9425,20 +9467,20 @@ const ec = ({
9425
9467
  thumbnail: ((H = F.data) == null ? void 0 : H.thumbnail) || void 0
9426
9468
  }
9427
9469
  },
9428
- userLiked: T,
9470
+ userLiked: E,
9429
9471
  likes: (w == null ? void 0 : w.like) || 0,
9430
9472
  peopleWhoLiked: A
9431
9473
  },
9432
9474
  functions: {
9433
9475
  content: {
9434
9476
  createContent: () => null,
9435
- deleteContent: () => h({ replyId: b }),
9477
+ deleteContent: () => p({ replyId: b }),
9436
9478
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
9437
9479
  updateContent: (q, { body: Y }) => l({ replyId: b, content: Y })
9438
9480
  },
9439
9481
  likes: {
9440
9482
  createLike: () => m({ replyId: b }),
9441
- deleteLike: () => _({ replyId: b, reactionId: $ })
9483
+ deleteLike: () => g({ replyId: b, reactionId: $ })
9442
9484
  },
9443
9485
  comments: {}
9444
9486
  }
@@ -9461,7 +9503,7 @@ const ec = ({
9461
9503
  fetchNextPage: f,
9462
9504
  hasNextPage: l,
9463
9505
  isLoading: m,
9464
- mutations: { create: h, edit: _, like: g, remove: v, unlike: b },
9506
+ mutations: { create: p, edit: g, like: _, remove: v, unlike: b },
9465
9507
  user: y
9466
9508
  } = ka({
9467
9509
  queryKey: [e, t, n, "replies"],
@@ -9476,7 +9518,7 @@ const ec = ({
9476
9518
  content: { type: "reply", slugs: {} },
9477
9519
  functions: {
9478
9520
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
9479
- create: (j, { body: w }) => h({ activityId: n, content: w })
9521
+ create: (j, { body: w }) => p({ activityId: n, content: w })
9480
9522
  },
9481
9523
  meta: { isEditing: !1, showSuccessMessage: !1 },
9482
9524
  placeholder: o.formatMessage({ id: "discussion_responses_placeholder" })
@@ -9539,10 +9581,10 @@ const ec = ({
9539
9581
  createContent: () => null,
9540
9582
  deleteContent: () => v({ replyId: w }),
9541
9583
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
9542
- updateContent: (M, { body: re }) => _({ replyId: w, content: re })
9584
+ updateContent: (M, { body: re }) => g({ replyId: w, content: re })
9543
9585
  },
9544
9586
  likes: {
9545
- createLike: () => g({ replyId: w }),
9587
+ createLike: () => _({ replyId: w }),
9546
9588
  deleteLike: () => b({ replyId: w, reactionId: A })
9547
9589
  },
9548
9590
  comments: {}
@@ -9625,7 +9667,7 @@ function ac({
9625
9667
  },
9626
9668
  user: c,
9627
9669
  ...o
9628
- }, d = nc({ ...u, mutationFn: t }), f = sc({ ...u, mutationFn: n }), l = ic({ ...u, mutationFn: r }), { activity: m, ...h } = rc({ queryKey: s, queryFn: e });
9670
+ }, d = nc({ ...u, mutationFn: t }), f = sc({ ...u, mutationFn: n }), l = ic({ ...u, mutationFn: r }), { activity: m, ...p } = rc({ queryKey: s, queryFn: e });
9629
9671
  return {
9630
9672
  activity: m,
9631
9673
  mutations: {
@@ -9634,7 +9676,7 @@ function ac({
9634
9676
  unlike: l
9635
9677
  },
9636
9678
  user: c,
9637
- ...h
9679
+ ...p
9638
9680
  };
9639
9681
  }
9640
9682
  function sc({
@@ -9671,7 +9713,7 @@ function ic({
9671
9713
  });
9672
9714
  return s;
9673
9715
  }
9674
- const Xc = ({
9716
+ const el = ({
9675
9717
  basePath: e,
9676
9718
  parentId: t,
9677
9719
  activityId: n,
@@ -9687,13 +9729,13 @@ const Xc = ({
9687
9729
  const d = W(), f = $e(Fe), {
9688
9730
  activity: l,
9689
9731
  error: m,
9690
- isLoading: h,
9691
- mutations: { edit: _, like: g, unlike: v }
9732
+ isLoading: p,
9733
+ mutations: { edit: g, like: _, unlike: v }
9692
9734
  } = ac({
9693
9735
  queryFns: i,
9694
9736
  queryKey: [e, t, n]
9695
9737
  });
9696
- if (h)
9738
+ if (p)
9697
9739
  return /* @__PURE__ */ a.jsx(Ee, { style: { height: "400px" } });
9698
9740
  if (m || !l)
9699
9741
  return /* @__PURE__ */ a.jsx(
@@ -9709,7 +9751,7 @@ const Xc = ({
9709
9751
  id: (k = ie == null ? void 0 : ie.user) == null ? void 0 : k.id,
9710
9752
  name: (D = (C = ie == null ? void 0 : ie.user) == null ? void 0 : C.data) == null ? void 0 : D.name
9711
9753
  };
9712
- }) : !1, $ = l == null ? void 0 : l.actor, T = ($ == null ? void 0 : $.id) === (f == null ? void 0 : f.id);
9754
+ }) : !1, $ = l == null ? void 0 : l.actor, E = ($ == null ? void 0 : $.id) === (f == null ? void 0 : f.id);
9713
9755
  return /* @__PURE__ */ a.jsxs("section", { className: "activity-section", children: [
9714
9756
  /* @__PURE__ */ a.jsx(
9715
9757
  It,
@@ -9719,7 +9761,7 @@ const Xc = ({
9719
9761
  id: n,
9720
9762
  type: "post",
9721
9763
  body: l == null ? void 0 : l.content,
9722
- canLike: Dt(r, T),
9764
+ canLike: Dt(r, E),
9723
9765
  createdAt: (l == null ? void 0 : l.time) || "",
9724
9766
  slugs: {
9725
9767
  question: `${e}/${t}`,
@@ -9748,10 +9790,10 @@ const Xc = ({
9748
9790
  createContent: () => null,
9749
9791
  deleteContent: s,
9750
9792
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
9751
- updateContent: (ie, { body: k }) => _({ content: k })
9793
+ updateContent: (ie, { body: k }) => g({ content: k })
9752
9794
  },
9753
9795
  likes: {
9754
- createLike: () => g({ activityId: n }),
9796
+ createLike: () => _({ activityId: n }),
9755
9797
  deleteLike: () => v({ activityId: n, reactionId: x })
9756
9798
  },
9757
9799
  comments: {
@@ -9777,7 +9819,7 @@ const Xc = ({
9777
9819
  }
9778
9820
  )
9779
9821
  ] });
9780
- }, el = ({
9822
+ }, tl = ({
9781
9823
  id: e,
9782
9824
  data: { jobTitle: t, name: n, organization: r, thumbnail: s }
9783
9825
  }) => ({
@@ -9830,7 +9872,7 @@ const Xc = ({
9830
9872
  contributors: ["community"]
9831
9873
  }
9832
9874
  ];
9833
- const xt = "notFoundError_", tl = () => {
9875
+ const xt = "notFoundError_", nl = () => {
9834
9876
  const e = W(), t = [];
9835
9877
  return Lr.forEach((n, r) => {
9836
9878
  n.title = e.formatMessage({ id: `${xt}post_${r + 1}` }), t.push("solutionArticle");
@@ -9865,21 +9907,21 @@ const xt = "notFoundError_", tl = () => {
9865
9907
  };
9866
9908
  export {
9867
9909
  We as ASSETS_BUCKET,
9868
- Qc as ActivitiesFeed,
9869
- Xc as ActivitySection,
9910
+ Jc as ActivitiesFeed,
9911
+ el as ActivitySection,
9870
9912
  _a as AddPost,
9871
- $c as BannerSection,
9872
- Dc as Breadcrumbs,
9913
+ Mc as BannerSection,
9914
+ Ic as Breadcrumbs,
9873
9915
  ee as Button,
9874
9916
  At as ButtonWrapper,
9875
9917
  As as CacheProvider,
9876
9918
  ra as Card,
9877
9919
  ii as CardBlock,
9878
- Fc as Carousel,
9920
+ Lc as Carousel,
9879
9921
  Kr as CollapsibleSection,
9880
9922
  vi as Columns,
9881
- Lc as CommunityDetails,
9882
- Wc as ContactFooter,
9923
+ Dc as CommunityDetails,
9924
+ Vc as ContactFooter,
9883
9925
  Ci as ContactForm,
9884
9926
  na as Contributors,
9885
9927
  Hn as ConversationContext,
@@ -9890,77 +9932,78 @@ export {
9890
9932
  It as DiscussionPost,
9891
9933
  jo as DiscussionThread,
9892
9934
  Ae as Divider,
9893
- Ec as DownloadSection,
9935
+ Sc as DownloadSection,
9894
9936
  nt as EMAILS,
9895
- Sc as EditSection,
9937
+ Cc as EditSection,
9896
9938
  bi as EmailHelperTextBox,
9897
9939
  Ke as EmptyStateBox,
9898
- Ic as Filters,
9940
+ Bc as Filters,
9899
9941
  Ls as FlagsProvider,
9900
9942
  pa as Footer,
9901
9943
  Dn as Form,
9902
9944
  Ge as FullWidthSection,
9903
- Rc as GlobalProviders,
9945
+ Pc as GlobalProviders,
9904
9946
  ha as Header,
9905
9947
  Bs as HelperTextBox,
9906
9948
  An as HiddenFromScreenReaders,
9907
- Pc as HideShowTextBox,
9908
- Mc as HighlightSection,
9949
+ Ac as HideShowTextBox,
9950
+ Nc as HighlightSection,
9909
9951
  Le as HighlightedTextBox,
9910
9952
  kc as ImageContainer,
9911
9953
  Ds as IntlProvider,
9912
9954
  $i as InviteForm,
9913
- Yc as InviteModal,
9955
+ Gc as InviteModal,
9914
9956
  aa as JoinButton,
9915
- Bc as LanguageSwitcher,
9957
+ qc as LanguageSwitcher,
9916
9958
  dt as Link,
9917
9959
  Ft as LoadMore,
9918
- Oc as LoadingBlock,
9960
+ Fc as LoadingBlock,
9919
9961
  Ee as LoadingPlaceholder,
9920
9962
  Xr as LoadingState,
9921
9963
  sa as Logo,
9922
- Cc as LogoSection,
9964
+ $c as LogoSection,
9923
9965
  xn as MarkdownText,
9924
- Nc as MarketingBox,
9966
+ Rc as MarketingBox,
9925
9967
  Ln as Member,
9926
- Kc as MembersList,
9968
+ Qc as MembersList,
9927
9969
  ga as Modal,
9928
9970
  ui as MoreMenu,
9929
9971
  wc as NUMBER_OF_USERS,
9972
+ Tc as NavigationDots,
9930
9973
  pi as NavigationMenu,
9931
- tl as NotFoundError,
9974
+ nl as NotFoundError,
9932
9975
  Zn as Overlay,
9933
9976
  Gs as PageHeading,
9934
9977
  po as PageLayout,
9935
- Zc as PasswordRules,
9978
+ Uc as PasswordRules,
9936
9979
  Tt as Pill,
9937
9980
  ut as ProfilePicture,
9938
9981
  Js as ProgressBar,
9939
- Uc as Rating,
9982
+ Hc as Rating,
9940
9983
  tc as RepliesFeed,
9941
9984
  wo as ResponsesHeading,
9942
9985
  Ot as ResponsiveImage,
9943
- Tc as ReturnToNavButton,
9986
+ Ec as ReturnToNavButton,
9944
9987
  Mi as SearchForm,
9945
- qc as ShareLinks,
9946
- Hc as SignupForm,
9988
+ zc as ShareLinks,
9989
+ Wc as SignupForm,
9947
9990
  Vs as Span,
9948
9991
  Et as StatusBanner,
9949
- zc as Tabs,
9950
- Gc as Tags,
9951
- Ac as TestimonialBlock,
9992
+ Zc as Tabs,
9993
+ Kc as Tags,
9994
+ Oc as TestimonialBlock,
9952
9995
  $s as Tooltip,
9953
- Vc as TopLevelPage,
9996
+ Yc as TopLevelPage,
9954
9997
  Fe as UserContext,
9955
9998
  Is as UserProvider,
9956
9999
  _e as VisuallyHidden,
9957
10000
  fo as addAriaProps,
9958
10001
  ta as getMember,
9959
10002
  $t as headerData,
9960
- el as mapGetStreamData,
10003
+ tl as mapGetStreamData,
9961
10004
  Ts as pageReady,
9962
10005
  jc as passwordValidator,
9963
- Jc as repliesFeedMock,
10006
+ Xc as repliesFeedMock,
9964
10007
  us as useCurrentPath,
9965
10008
  ot as useEffectAfterMount,
9966
10009
  lt as useElementWidth,