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

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,47 @@ 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(
1572
+ "div",
1573
+ {
1574
+ className: "dot-wrapper",
1575
+ "aria-label": `Step ${e} of ${s}`,
1576
+ children: [
1577
+ /* @__PURE__ */ a.jsx(
1578
+ "div",
1579
+ {
1580
+ className: T("dot", {
1581
+ active: s === e,
1582
+ completed: s < e
1583
+ }),
1584
+ "data-testid": "navigation-dot"
1585
+ }
1586
+ ),
1587
+ /* @__PURE__ */ a.jsx(
1588
+ "div",
1589
+ {
1590
+ className: T("line", {
1591
+ active: s < e
1592
+ })
1593
+ }
1594
+ )
1595
+ ]
1596
+ },
1597
+ s
1598
+ )) }) });
1599
+ };
1600
+ const Ec = ({ elementId: e, offset: t = 20 }) => {
1565
1601
  const n = W(), r = () => {
1566
1602
  const s = document.getElementById(e);
1567
1603
  if (!s)
@@ -1606,14 +1642,14 @@ const $s = ({ isOpen: e = !1, isLoading: t = !1, children: n }) => {
1606
1642
  "aside",
1607
1643
  {
1608
1644
  ref: s,
1609
- className: E("tooltip text-medium", i, { loading: t }),
1645
+ className: T("tooltip text-medium", i, { loading: t }),
1610
1646
  hidden: i === "hidden",
1611
1647
  children: t ? /* @__PURE__ */ a.jsx("p", { children: r.formatMessage({ id: "tooltip_loading" }) }) : typeof n == "string" ? /* @__PURE__ */ a.jsx("p", { children: n }) : n
1612
1648
  }
1613
1649
  );
1614
1650
  };
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 = "" }) => {
1651
+ const Ge = ({ children: e, className: t = "", ...n }) => /* @__PURE__ */ a.jsx("section", { className: T("full-width-section", t), ...n, children: e });
1652
+ const Sc = ({ text: e, buttons: t, className: n = "" }) => {
1617
1653
  const r = [];
1618
1654
  return t.forEach((s) => {
1619
1655
  r.push({
@@ -1626,7 +1662,7 @@ const Ec = ({ text: e, buttons: t, className: n = "" }) => {
1626
1662
  target: "_blank",
1627
1663
  children: s.text
1628
1664
  });
1629
- }), /* @__PURE__ */ a.jsx(Ge, { className: E("download-section", n), children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1665
+ }), /* @__PURE__ */ a.jsx(Ge, { className: T("download-section", n), children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1630
1666
  z.createElement(
1631
1667
  typeof e == "string" ? "h2" : e.element,
1632
1668
  { className: "text" },
@@ -1640,11 +1676,11 @@ function Gr({ href: e, setShowModal: t }) {
1640
1676
  }
1641
1677
  const Ms = ({ icon: e, description: t, ctaMessage: n, href: r, showEditButton: s, setShowModal: i }) => {
1642
1678
  const { formatMessage: c } = W();
1643
- return /* @__PURE__ */ a.jsxs("div", { className: E("edit-section-placeholder", { "has-icon": !!e }), style: gs(e), children: [
1679
+ return /* @__PURE__ */ a.jsxs("div", { className: T("edit-section-placeholder", { "has-icon": !!e }), style: gs(e), children: [
1644
1680
  /* @__PURE__ */ a.jsx("p", { children: t || c({ id: "edit_section_placeholder_description" }) }),
1645
1681
  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
1682
  ] });
1647
- }, Sc = ({
1683
+ }, Cc = ({
1648
1684
  children: e,
1649
1685
  className: t = "",
1650
1686
  formProps: n,
@@ -1655,7 +1691,7 @@ const Ms = ({ icon: e, description: t, ctaMessage: n, href: r, showEditButton: s
1655
1691
  showDivider: o = !0
1656
1692
  }) => {
1657
1693
  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: [
1694
+ return /* @__PURE__ */ a.jsxs("section", { className: T("edit-section", t), children: [
1659
1695
  n && /* @__PURE__ */ a.jsx(
1660
1696
  Zn,
1661
1697
  {
@@ -1664,7 +1700,7 @@ const Ms = ({ icon: e, description: t, ctaMessage: n, href: r, showEditButton: s
1664
1700
  showDivider: !1,
1665
1701
  showIcon: !1,
1666
1702
  functions: { onClose: l },
1667
- className: E("edit-section-modal"),
1703
+ className: T("edit-section-modal"),
1668
1704
  children: /* @__PURE__ */ a.jsx(Dn, { ...n, fields: n.fields, meta: {
1669
1705
  ...n == null ? void 0 : n.meta,
1670
1706
  shouldShowCancelButton: !0
@@ -1682,7 +1718,7 @@ const Ms = ({ icon: e, description: t, ctaMessage: n, href: r, showEditButton: s
1682
1718
  o && /* @__PURE__ */ a.jsx(Ae, {})
1683
1719
  ] });
1684
1720
  };
1685
- const Cc = ({
1721
+ const $c = ({
1686
1722
  title: e = !1,
1687
1723
  logos: t = [],
1688
1724
  className: n = ""
@@ -1694,12 +1730,12 @@ const Cc = ({
1694
1730
  element: typeof e == "object" ? e.element : "h2",
1695
1731
  text: typeof e == "string" ? e : typeof e == "object" ? e.text : ""
1696
1732
  };
1697
- return /* @__PURE__ */ a.jsxs("div", { className: E("logos", n), children: [
1733
+ return /* @__PURE__ */ a.jsxs("div", { className: T("logos", n), children: [
1698
1734
  e && z.createElement(s.element, { className: "title" }, s.text),
1699
1735
  /* @__PURE__ */ a.jsx(
1700
1736
  "ul",
1701
1737
  {
1702
- className: E({
1738
+ className: T({
1703
1739
  "two-col": r === 2 || r === 4,
1704
1740
  "three-col": r === 5 || r <= 10 && r % 3 === 0
1705
1741
  }),
@@ -1761,8 +1797,8 @@ const Ns = [
1761
1797
  if (!i[l]) {
1762
1798
  if (typeof t[l] == "object") {
1763
1799
  f[l] = t[l];
1764
- const { text: m, element: h } = t[l];
1765
- if (h && Ns.includes(h.toLowerCase()))
1800
+ const { text: m, element: p } = t[l];
1801
+ if (p && Ns.includes(p.toLowerCase()))
1766
1802
  return;
1767
1803
  f[l] = {
1768
1804
  text: m,
@@ -1782,7 +1818,7 @@ const Ns = [
1782
1818
  }), /* @__PURE__ */ a.jsx(
1783
1819
  Ge,
1784
1820
  {
1785
- className: E("banner-section", r, s, e, {
1821
+ className: T("banner-section", r, s, e, {
1786
1822
  "has-image": n,
1787
1823
  "has-extra-spacing": s === "normal" && f.eyebrow && f.title
1788
1824
  }),
@@ -1790,8 +1826,8 @@ const Ns = [
1790
1826
  /* @__PURE__ */ a.jsxs("div", { className: "content-wrapper", children: [
1791
1827
  u.map((l) => {
1792
1828
  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);
1829
+ const { text: m, element: p = "" } = f[l];
1830
+ return l === "text" ? /* @__PURE__ */ a.jsx(xn, { overrideType: "text-only", className: "text", children: m }, l) : z.createElement(p, { key: l, className: l }, m);
1795
1831
  }
1796
1832
  return null;
1797
1833
  }),
@@ -1811,7 +1847,7 @@ const Ns = [
1811
1847
  ] })
1812
1848
  }
1813
1849
  );
1814
- }, $c = Oe(Rs);
1850
+ }, Mc = Oe(Rs);
1815
1851
  const Ps = ({
1816
1852
  alignImage: e = "left",
1817
1853
  className: t,
@@ -1819,11 +1855,11 @@ const Ps = ({
1819
1855
  image: r
1820
1856
  }) => {
1821
1857
  const s = () => typeof n == "string" ? /* @__PURE__ */ a.jsx(Ye, { children: n }) : n;
1822
- return /* @__PURE__ */ a.jsxs(Ge, { className: E("highlight-section", t), children: [
1858
+ return /* @__PURE__ */ a.jsxs(Ge, { className: T("highlight-section", t), children: [
1823
1859
  r && /* @__PURE__ */ a.jsx(
1824
1860
  "div",
1825
1861
  {
1826
- className: E("highlight-container highlight-image", {
1862
+ className: T("highlight-container highlight-image", {
1827
1863
  [`highlight-image-${e}`]: e === "right"
1828
1864
  }),
1829
1865
  children: /* @__PURE__ */ a.jsx(Ot, { image: r })
@@ -1832,13 +1868,13 @@ const Ps = ({
1832
1868
  /* @__PURE__ */ a.jsx(
1833
1869
  "div",
1834
1870
  {
1835
- className: E("highlight-container highlight-content-wrapper", {
1871
+ className: T("highlight-container highlight-content-wrapper", {
1836
1872
  "no-image": !r
1837
1873
  }),
1838
1874
  children: /* @__PURE__ */ a.jsx(
1839
1875
  "div",
1840
1876
  {
1841
- className: E("highlight-content", {
1877
+ className: T("highlight-content", {
1842
1878
  "highlight-content-right": e === "left"
1843
1879
  }),
1844
1880
  children: s()
@@ -1847,14 +1883,14 @@ const Ps = ({
1847
1883
  }
1848
1884
  )
1849
1885
  ] });
1850
- }, Mc = Oe(Ps);
1851
- const Nc = ({
1886
+ }, Nc = Oe(Ps);
1887
+ const Rc = ({
1852
1888
  variant: e = "primary",
1853
1889
  button: t = null,
1854
1890
  title: n,
1855
1891
  text: r,
1856
1892
  gtmContext: s
1857
- }) => !n && !r ? null : /* @__PURE__ */ a.jsxs("aside", { className: E("marketing-block", e), children: [
1893
+ }) => !n && !r ? null : /* @__PURE__ */ a.jsxs("aside", { className: T("marketing-block", e), children: [
1858
1894
  n && /* @__PURE__ */ a.jsx("p", { className: "title", children: n }),
1859
1895
  r && /* @__PURE__ */ a.jsx("p", { children: r }),
1860
1896
  t && /* @__PURE__ */ a.jsx(
@@ -1922,7 +1958,7 @@ const Ls = ({ children: e, user: t }) => t.isLoading ? null : process.env.REACT_
1922
1958
  function Fn() {
1923
1959
  return $e(Fe);
1924
1960
  }
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 }) => {
1961
+ 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
1962
  const [s, i] = X({ isLoading: !0 });
1927
1963
  return se(() => {
1928
1964
  e().then((c) => {
@@ -1932,7 +1968,7 @@ const Is = ({ children: e, user: t }) => /* @__PURE__ */ a.jsx(Fe.Provider, { va
1932
1968
  };
1933
1969
  const Kr = ({ label: e = !1, className: t = "", children: n }) => {
1934
1970
  const r = W();
1935
- return /* @__PURE__ */ a.jsxs("details", { className: E("collapsible-section", t), children: [
1971
+ return /* @__PURE__ */ a.jsxs("details", { className: T("collapsible-section", t), children: [
1936
1972
  /* @__PURE__ */ a.jsx("summary", { children: e || r.formatMessage({ id: "collapsibleSection_summary" }) }),
1937
1973
  /* @__PURE__ */ a.jsx("div", { className: "content", children: n })
1938
1974
  ] });
@@ -1948,7 +1984,7 @@ const Le = ({
1948
1984
  return /* @__PURE__ */ a.jsx(
1949
1985
  "div",
1950
1986
  {
1951
- className: E("highlighted-text-box", e, n, {
1987
+ className: T("highlighted-text-box", e, n, {
1952
1988
  "has-icon": t
1953
1989
  }),
1954
1990
  style: i,
@@ -1979,7 +2015,7 @@ const Ke = ({
1979
2015
  Le,
1980
2016
  {
1981
2017
  variant: "subtle",
1982
- className: E("empty-state-box", e, r),
2018
+ className: T("empty-state-box", e, r),
1983
2019
  children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1984
2020
  t && /* @__PURE__ */ a.jsx(Ye, { options: { forceBlock: !0 }, children: t }),
1985
2021
  s && typeof n == "object" && (d || /* @__PURE__ */ a.jsx(
@@ -2002,7 +2038,7 @@ const Bs = ({
2002
2038
  className: t = "",
2003
2039
  heading: n = !1,
2004
2040
  children: r
2005
- }) => /* @__PURE__ */ a.jsxs("div", { className: E("helper-text-box text-small", e, t), children: [
2041
+ }) => /* @__PURE__ */ a.jsxs("div", { className: T("helper-text-box text-small", e, t), children: [
2006
2042
  n && /* @__PURE__ */ a.jsx("p", { className: "title", children: n }),
2007
2043
  typeof r == "string" ? /* @__PURE__ */ a.jsx(
2008
2044
  Ye,
@@ -2016,7 +2052,7 @@ const Bs = ({
2016
2052
  }
2017
2053
  ) : /* @__PURE__ */ a.jsx("p", { children: r })
2018
2054
  ] });
2019
- const Pc = ({
2055
+ const Ac = ({
2020
2056
  className: e = "",
2021
2057
  show: t = !1,
2022
2058
  hide: n = !1,
@@ -2025,25 +2061,25 @@ const Pc = ({
2025
2061
  }) => {
2026
2062
  const i = W(), c = me(null), [o, u] = X(""), [d, f] = X("closed");
2027
2063
  se(() => {
2028
- const h = c.current;
2029
- if (h)
2030
- return h.addEventListener("transitionend", l), () => {
2031
- h.removeEventListener("transitionend", l);
2064
+ const p = c.current;
2065
+ if (p)
2066
+ return p.addEventListener("transitionend", l), () => {
2067
+ p.removeEventListener("transitionend", l);
2032
2068
  };
2033
2069
  }, []), se(() => {
2034
2070
  if (!r || typeof r != "string")
2035
2071
  return;
2036
- const h = r.split(`
2072
+ const p = r.split(`
2037
2073
  `);
2038
2074
  u(
2039
- h.length < 3 ? `${r.substring(0, 400)}...` : h.slice(0, 3).join(`
2075
+ p.length < 3 ? `${r.substring(0, 400)}...` : p.slice(0, 3).join(`
2040
2076
  `)
2041
2077
  );
2042
2078
  }, [r]), se(() => {
2043
2079
  d === "ready-to-close" && f("closing");
2044
2080
  }, [d]);
2045
- const l = ({ propertyName: h }) => {
2046
- h === "max-height" && f((_) => _ === "opening" ? "open" : _ === "closing" ? "closed" : _);
2081
+ const l = ({ propertyName: p }) => {
2082
+ p === "max-height" && f((g) => g === "opening" ? "open" : g === "closing" ? "closed" : g);
2047
2083
  };
2048
2084
  if (!r)
2049
2085
  return null;
@@ -2052,9 +2088,9 @@ const Pc = ({
2052
2088
  Le,
2053
2089
  {
2054
2090
  variant: "subtle",
2055
- className: E("hide-show-text-box", e),
2091
+ className: T("hide-show-text-box", e),
2056
2092
  children: [
2057
- /* @__PURE__ */ a.jsxs("div", { ref: c, className: E("content", d), children: [
2093
+ /* @__PURE__ */ a.jsxs("div", { ref: c, className: T("content", d), children: [
2058
2094
  /* @__PURE__ */ a.jsx(Ye, { options: { forceBlock: !0 }, children: d === "closed" ? o : r }),
2059
2095
  d !== "closed" && s
2060
2096
  ] }),
@@ -2064,7 +2100,7 @@ const Pc = ({
2064
2100
  variant: "tertiary",
2065
2101
  icon: { icon: "navigation_arrow", position: "left", animate: !0 },
2066
2102
  styling: { muted: !0 },
2067
- className: E({ "rotate-180": m }),
2103
+ className: T({ "rotate-180": m }),
2068
2104
  onClick: () => {
2069
2105
  f(m ? "ready-to-close" : "opening");
2070
2106
  },
@@ -2209,7 +2245,7 @@ const Ys = {
2209
2245
  forceBlock: !0,
2210
2246
  overrides: Ys[r]
2211
2247
  };
2212
- return /* @__PURE__ */ a.jsx("div", { className: E("markdown-text", e), children: /* @__PURE__ */ a.jsx(Ye, { options: { ...s, ...t }, children: n }) });
2248
+ return /* @__PURE__ */ a.jsx("div", { className: T("markdown-text", e), children: /* @__PURE__ */ a.jsx(Ye, { options: { ...s, ...t }, children: n }) });
2213
2249
  };
2214
2250
  const Gs = ({
2215
2251
  maxWidth: e = !1,
@@ -2219,8 +2255,8 @@ const Gs = ({
2219
2255
  className: s = ""
2220
2256
  }) => {
2221
2257
  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: [
2258
+ return /* @__PURE__ */ a.jsxs("section", { className: T("page-heading", s), children: [
2259
+ /* @__PURE__ */ a.jsxs("div", { className: T("content", { "has-max-width": e }), style: i, children: [
2224
2260
  t && t.text && z.createElement(t.element || "h1", { className: "title" }, t.text),
2225
2261
  n && n.text && z.createElement(
2226
2262
  n.element || "h2",
@@ -2237,7 +2273,7 @@ const Tt = ({
2237
2273
  className: n = "",
2238
2274
  children: r,
2239
2275
  ...s
2240
- }) => /* @__PURE__ */ a.jsx("span", { className: E("pill", e, t, n), ...s, children: r });
2276
+ }) => /* @__PURE__ */ a.jsx("span", { className: T("pill", e, t, n), ...s, children: r });
2241
2277
  const Et = ({
2242
2278
  element: e = "p",
2243
2279
  children: t = null,
@@ -2247,7 +2283,7 @@ const Et = ({
2247
2283
  e,
2248
2284
  {
2249
2285
  ...r,
2250
- className: E("status-banner text-small", n),
2286
+ className: T("status-banner text-small", n),
2251
2287
  "aria-live": "assertive"
2252
2288
  },
2253
2289
  t
@@ -2256,13 +2292,13 @@ const Ks = ({ author: e, authorCite: t, content: n }) => /* @__PURE__ */ a.jsxs(
2256
2292
  /* @__PURE__ */ a.jsx(Ye, { className: "testimonial", children: n }),
2257
2293
  e && /* @__PURE__ */ a.jsx("p", { className: "author text-small", children: e }),
2258
2294
  t && /* @__PURE__ */ a.jsx("p", { className: "author-cite text-small", children: /* @__PURE__ */ a.jsx("cite", { children: t }) })
2259
- ] }), Ac = Oe(Ks);
2295
+ ] }), Oc = Oe(Ks);
2260
2296
  const Qs = ({ progress: e = 0, text: t = !1, className: n = "" }) => {
2261
2297
  const r = W(), s = e > 75 ? 100 : e > 50 ? 75 : e > 25 ? 50 : e > 5 ? 25 : 0, i = { "--progress": `${e}%` };
2262
2298
  return /* @__PURE__ */ a.jsx(
2263
2299
  "span",
2264
2300
  {
2265
- className: E(`progress-bar section-${s}`, n),
2301
+ className: T(`progress-bar section-${s}`, n),
2266
2302
  style: i,
2267
2303
  children: /* @__PURE__ */ a.jsx(_e, { children: t ? `${e} ${t}` : r.formatMessage({ id: "progressBar" }, { number: e }) })
2268
2304
  }
@@ -2285,7 +2321,7 @@ const Vt = "loadingBlock_", Xs = ({ progress: e = 0, steps: t = !1, className: n
2285
2321
  return /* @__PURE__ */ a.jsxs(
2286
2322
  Le,
2287
2323
  {
2288
- className: E("loading-block", n, {
2324
+ className: T("loading-block", n, {
2289
2325
  "has-icon": s && t[s].icon
2290
2326
  }),
2291
2327
  variant: "subtle",
@@ -2296,12 +2332,12 @@ const Vt = "loadingBlock_", Xs = ({ progress: e = 0, steps: t = !1, className: n
2296
2332
  ]
2297
2333
  }
2298
2334
  );
2299
- }, Oc = Oe(Xs);
2335
+ }, Fc = Oe(Xs);
2300
2336
  const Ee = ({ element: e = "div", className: t = "", ...n }) => /* @__PURE__ */ a.jsx(
2301
2337
  An,
2302
2338
  {
2303
2339
  element: e,
2304
- className: E("loading-placeholder", t),
2340
+ className: T("loading-placeholder", t),
2305
2341
  ...n
2306
2342
  }
2307
2343
  );
@@ -2322,7 +2358,7 @@ const wn = {
2322
2358
  "cards-section",
2323
2359
  "footer"
2324
2360
  ]
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) => {
2361
+ }, 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
2362
  const t = e && e.toUpperCase().split(" ");
2327
2363
  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
2364
  }, mt = ["#5AB6A3", "#A2D7AF", "#806056", "#3962B3"], ei = (e) => {
@@ -2351,14 +2387,14 @@ const mr = 256, ut = ({
2351
2387
  const m = l.getContext("2d");
2352
2388
  if (!m)
2353
2389
  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);
2390
+ const p = s, g = i;
2391
+ 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
2392
  }, [n]);
2357
2393
  let f = !1;
2358
2394
  return t && t !== "" && !o && (t.includes("http") || t.includes("//")) && (f = !0), /* @__PURE__ */ a.jsx(
2359
2395
  "figure",
2360
2396
  {
2361
- className: E("profile-picture", e, { error: o }),
2397
+ className: T("profile-picture", e, { error: o }),
2362
2398
  ...c,
2363
2399
  children: f ? /* @__PURE__ */ a.jsx(
2364
2400
  "img",
@@ -2410,24 +2446,24 @@ const Ln = ({
2410
2446
  o.name || (o.name = c.formatMessage({
2411
2447
  id: `member_${typeof t == "string" ? t : "community"}`
2412
2448
  }));
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) : "";
2449
+ 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
2450
  return z.createElement(e, {
2415
- className: E("member text-medium", i),
2451
+ className: T("member text-medium", i),
2416
2452
  children: /* @__PURE__ */ a.jsxs(
2417
2453
  dt,
2418
2454
  {
2419
2455
  href: d,
2420
2456
  gtmType: s,
2421
2457
  gtmContext: r,
2422
- onClick: (_) => {
2423
- _ == null || _.stopPropagation();
2458
+ onClick: (g) => {
2459
+ g == null || g.stopPropagation();
2424
2460
  },
2425
2461
  children: [
2426
2462
  /* @__PURE__ */ a.jsx(ut, { name: u, src: f }),
2427
2463
  /* @__PURE__ */ a.jsxs("p", { className: "details", children: [
2428
2464
  /* @__PURE__ */ a.jsx("strong", { children: u }),
2429
2465
  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(
2466
+ n.createdAt && m && /* @__PURE__ */ a.jsx("span", { className: "date", title: p, "aria-label": p, children: c.formatMessage(
2431
2467
  { id: `dates_${m.path}` },
2432
2468
  { number: m.number }
2433
2469
  ) }),
@@ -2459,37 +2495,37 @@ const pr = {
2459
2495
  const f = W();
2460
2496
  return !n || n.length === 0 ? null : z.createElement(e, {
2461
2497
  ...d,
2462
- className: E("contributors", u, s, { "has-gap": i }),
2498
+ className: T("contributors", u, s, { "has-gap": i }),
2463
2499
  children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2464
2500
  /* @__PURE__ */ a.jsx("ul", { children: n.map((l, m) => {
2465
- let h, _ = "";
2501
+ let p, g = "";
2466
2502
  if (m < o) {
2467
- const { name: g = "", image: v = "" } = ta(l);
2503
+ const { name: _ = "", image: v = "" } = ta(l);
2468
2504
  if (c)
2469
2505
  return /* @__PURE__ */ a.jsx(Ee, { element: "li", className: "contributor" }, m);
2470
- h = /* @__PURE__ */ a.jsx(
2506
+ p = /* @__PURE__ */ a.jsx(
2471
2507
  ut,
2472
2508
  {
2473
- name: g,
2509
+ name: _,
2474
2510
  src: v,
2475
2511
  width: pr[s || "medium"],
2476
2512
  height: pr[s || "medium"]
2477
2513
  }
2478
2514
  );
2479
2515
  } else if (m === o) {
2480
- const g = (t || n.length) - o;
2481
- h = /* @__PURE__ */ a.jsxs(
2516
+ const _ = (t || n.length) - o;
2517
+ p = /* @__PURE__ */ a.jsxs(
2482
2518
  "small",
2483
2519
  {
2484
- className: E({ "large-number": g > 99 }),
2520
+ className: T({ "large-number": _ > 99 }),
2485
2521
  children: [
2486
2522
  "+",
2487
- ks(g, 0)
2523
+ ks(_, 0)
2488
2524
  ]
2489
2525
  }
2490
- ), _ = "number-left";
2526
+ ), g = "number-left";
2491
2527
  }
2492
- return h ? /* @__PURE__ */ a.jsx("li", { className: E("contributor", _), children: h }, m) : null;
2528
+ return p ? /* @__PURE__ */ a.jsx("li", { className: T("contributor", g), children: p }, m) : null;
2493
2529
  }) }),
2494
2530
  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
2531
  ] })
@@ -2611,17 +2647,17 @@ const pr = {
2611
2647
  gtmEvent: "learning-hub"
2612
2648
  }
2613
2649
  }, ri = ({ data: e, cta: t, link: n, gtmContext: r }) => {
2614
- var _;
2650
+ var g;
2615
2651
  const s = W(), [i, c] = X({
2616
2652
  loading: !1,
2617
2653
  registered: e.registered || !1
2618
2654
  });
2619
2655
  se(() => {
2620
- e.registered && c((g) => ({ ...g, registered: !0 }));
2656
+ e.registered && c((_) => ({ ..._, registered: !0 }));
2621
2657
  }, [e.registered]);
2622
2658
  const { startDate: o, dateHasPassed: u, pill: d, slug: f } = e, l = e.contentType;
2623
2659
  let m = "";
2624
- if ((_ = St[l]) != null && _.gtmEvent && (m = St[l].gtmEvent), o && u)
2660
+ if ((g = St[l]) != null && g.gtmEvent && (m = St[l].gtmEvent), o && u)
2625
2661
  return /* @__PURE__ */ a.jsx(
2626
2662
  "a",
2627
2663
  {
@@ -2645,10 +2681,10 @@ const pr = {
2645
2681
  children: s.formatMessage({ id: "card_cta_people" })
2646
2682
  }
2647
2683
  );
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)) {
2684
+ const p = ["microcourse", "event"];
2685
+ if (t && t.onClick && p.includes(l) && d !== "premium") {
2686
+ const _ = i.loading || i.registered, v = async (b) => {
2687
+ if (b.preventDefault(), b.stopPropagation(), !(_ || !t || !t.onClick)) {
2652
2688
  c((y) => ({ ...y, loading: !0 }));
2653
2689
  try {
2654
2690
  const y = await t.onClick(e);
@@ -2665,12 +2701,12 @@ const pr = {
2665
2701
  className: "gtm-trackable",
2666
2702
  size: "small",
2667
2703
  styling: { fullWidth: !0 },
2668
- disabled: g,
2704
+ disabled: _,
2669
2705
  "data-gtm-event-context": `${r}Page-${l}: ${f}`,
2670
2706
  "data-gtm-event-type": `${r}-${l}-register-click`,
2671
2707
  "data-testid": "in-card-button",
2672
2708
  children: s.formatMessage({
2673
- id: `card_cta_${l}${g ? `_${i.loading ? "loading" : "done"}` : ""}`
2709
+ id: `card_cta_${l}${_ ? `_${i.loading ? "loading" : "done"}` : ""}`
2674
2710
  })
2675
2711
  }
2676
2712
  );
@@ -2702,13 +2738,13 @@ const si = {
2702
2738
  const c = W(), o = $e(Fe), u = o && typeof o.id == "string", [d, f] = X({
2703
2739
  data: null,
2704
2740
  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 })));
2741
+ }), { data: l, isLoading: m } = d, p = Dr(() => {
2742
+ n(t, u).then((E) => {
2743
+ f(() => ({ data: E, isLoading: !1 }));
2744
+ }).catch(() => f((E) => ({ ...E, isLoading: !1 })));
2709
2745
  }, [e]);
2710
2746
  if (se(() => {
2711
- h();
2747
+ p();
2712
2748
  }, []), m || !l)
2713
2749
  return /* @__PURE__ */ a.jsx(
2714
2750
  Ee,
@@ -2718,15 +2754,15 @@ const si = {
2718
2754
  "data-testid": "card-placeholder"
2719
2755
  }
2720
2756
  );
2721
- const { contentType: _ } = l;
2722
- if (!_ || !St[_])
2757
+ const { contentType: g } = l;
2758
+ if (!g || !St[g])
2723
2759
  return /* @__PURE__ */ a.jsx(Ee, { element: "li", className: "card-wrapper" });
2724
2760
  const {
2725
- basePath: g = "",
2761
+ basePath: _ = "",
2726
2762
  className: v,
2727
2763
  length: b,
2728
2764
  gtmEvent: y
2729
- } = St[_], j = Yr(`card_label_${_}`) ? c.formatMessage({ id: `card_label_${_}` }) : !1, w = l.slug ? `${g}${l.slug}` : !1, x = { ...si, ...b };
2765
+ } = St[g], j = Yr(`card_label_${g}`) ? c.formatMessage({ id: `card_label_${g}` }) : !1, w = l.slug ? `${_}${l.slug}` : !1, x = { ...si, ...b };
2730
2766
  let O = { className: "card" };
2731
2767
  w && (O = {
2732
2768
  href: w,
@@ -2739,19 +2775,19 @@ const si = {
2739
2775
  return /* @__PURE__ */ a.jsx(
2740
2776
  "li",
2741
2777
  {
2742
- className: E("card-wrapper text-medium", v, i, {
2778
+ className: T("card-wrapper text-medium", v, i, {
2743
2779
  "has-link": w,
2744
2780
  "no-link": !w,
2745
2781
  "has-custom-icon": l.customIcon,
2746
2782
  "has-image": l.banner
2747
2783
  }),
2748
2784
  style: $,
2749
- "data-testid": `${_}-card`,
2785
+ "data-testid": `${g}-card`,
2750
2786
  children: z.createElement(
2751
2787
  w ? "a" : "div",
2752
2788
  O,
2753
2789
  /* @__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 }),
2790
+ (l.customLabel || j) && /* @__PURE__ */ a.jsx("small", { className: T("card-label text-small", v), children: l.customLabel || j }),
2755
2791
  l.startDate && !l.isOngoingEvent && /* @__PURE__ */ a.jsx(
2756
2792
  Tt,
2757
2793
  {
@@ -2786,12 +2822,12 @@ const si = {
2786
2822
  ),
2787
2823
  l.partner && /* @__PURE__ */ a.jsx("p", { className: "partners", "data-testid": "partners", children: He(l.partner.title, x.partner) }),
2788
2824
  /* Text */
2789
- ["title", "text", "secondaryText"].map((T) => {
2790
- const P = l[T];
2825
+ ["title", "text", "secondaryText"].map((E) => {
2826
+ const P = l[E];
2791
2827
  if (!P)
2792
2828
  return null;
2793
- const A = hs(T);
2794
- return /* @__PURE__ */ a.jsx("p", { className: A, "data-testid": A, children: He(P, x[T]) }, T);
2829
+ const A = hs(E);
2830
+ return /* @__PURE__ */ a.jsx("p", { className: A, "data-testid": A, children: He(P, x[E]) }, E);
2795
2831
  }),
2796
2832
  /* @__PURE__ */ a.jsx(ni, { type: v || "", data: l }),
2797
2833
  /* @__PURE__ */ a.jsx(ri, { data: l, cta: r, link: w || "", gtmContext: s })
@@ -2800,7 +2836,7 @@ const si = {
2800
2836
  }
2801
2837
  );
2802
2838
  };
2803
- const ii = ({ cards: e, cardTypes: t, className: n = "", ...r }) => /* @__PURE__ */ a.jsx("ul", { className: E("card-block", n), children: e.map((s, i) => {
2839
+ const ii = ({ cards: e, cardTypes: t, className: n = "", ...r }) => /* @__PURE__ */ a.jsx("ul", { className: T("card-block", n), children: e.map((s, i) => {
2804
2840
  const c = s.slug ? `${s.slug}-${t[i]}` : `${t[i]}-${i}`;
2805
2841
  return /* @__PURE__ */ a.jsx(
2806
2842
  ra,
@@ -2820,7 +2856,7 @@ const ii = ({ cards: e, cardTypes: t, className: n = "", ...r }) => /* @__PURE__
2820
2856
  return null;
2821
2857
  const { text: r, element: s = "h2", variant: i = "default", size: c = "medium", link: o } = t;
2822
2858
  return z.createElement(s, {
2823
- className: E("title", i, c, {
2859
+ className: T("title", i, c, {
2824
2860
  "highlighted-title": i === "highlighted"
2825
2861
  }),
2826
2862
  children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
@@ -2856,55 +2892,55 @@ const li = ({
2856
2892
  const o = W(), [u, d] = X({
2857
2893
  cardsPerPage: 4,
2858
2894
  isLoading: !0
2859
- }), { cardsPerPage: f, isLoading: l } = u, [m, h] = X({
2895
+ }), { cardsPerPage: f, isLoading: l } = u, [m, p] = X({
2860
2896
  currentPage: 0,
2861
2897
  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);
2898
+ }), { 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
2899
  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) => ({
2900
+ let E = 1;
2901
+ j && (j >= Yt.fourCards ? E = 4 : j >= Yt.threeCards ? E = 3 : j >= Yt.twoCards && (E = 2), E > v && (E = v)), d((P) => ({
2866
2902
  ...P,
2867
- cardsPerPage: T,
2903
+ cardsPerPage: E,
2868
2904
  isLoading: !1
2869
2905
  }));
2870
2906
  }, [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;
2907
+ const w = (E = "next") => {
2908
+ let P = g;
2909
+ if (typeof E == "string")
2910
+ if (E === "next")
2911
+ if (g < b - 1)
2912
+ P = g + 1;
2877
2913
  else
2878
2914
  return;
2879
- else if (_ > 0)
2880
- P = _ - 1;
2915
+ else if (g > 0)
2916
+ P = g - 1;
2881
2917
  else
2882
2918
  return;
2883
2919
  else
2884
- P = T;
2885
- h((A) => ({
2920
+ P = E;
2921
+ p((A) => ({
2886
2922
  ...A,
2887
2923
  currentPage: P,
2888
- loadedPages: [.../* @__PURE__ */ new Set([...g, P])]
2924
+ loadedPages: [.../* @__PURE__ */ new Set([..._, P])]
2889
2925
  }));
2890
- }, x = (T) => {
2891
- pt = T.touches[0].clientX;
2892
- }, O = (T) => {
2926
+ }, x = (E) => {
2927
+ pt = E.touches[0].clientX;
2928
+ }, O = (E) => {
2893
2929
  if (pt === null)
2894
2930
  return;
2895
- const P = T.touches[0].clientX, A = pt - P;
2931
+ const P = E.touches[0].clientX, A = pt - P;
2896
2932
  A > 5 ? w("next") : A < -5 && w("previous"), pt = null;
2897
2933
  }, $ = {
2898
2934
  "--width": `${j || 0}px`,
2899
2935
  "--total-cards": v,
2900
2936
  "--cards-per-page": f,
2901
- "--page": _
2937
+ "--page": g
2902
2938
  };
2903
2939
  return l ? /* @__PURE__ */ a.jsx(Xr, { layout: `carousel${s ? "-with-title" : ""}` }) : /* @__PURE__ */ a.jsxs(
2904
2940
  "section",
2905
2941
  {
2906
2942
  ref: y,
2907
- className: E("carousel-wrapper", i),
2943
+ className: T("carousel-wrapper", i),
2908
2944
  "data-testid": "carousel",
2909
2945
  children: [
2910
2946
  /* @__PURE__ */ a.jsx(ci, { id: e, title: s }),
@@ -2916,13 +2952,13 @@ const li = ({
2916
2952
  onTouchMove: O,
2917
2953
  style: $,
2918
2954
  "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(
2955
+ children: t.map((E, P) => {
2956
+ let A = E && E.sys && E.sys.id ? `${e}-card-${E.sys.id}` : null;
2957
+ return A && oi(P, f, g, _) ? /* @__PURE__ */ a.jsx(
2922
2958
  ra,
2923
2959
  {
2924
2960
  id: A,
2925
- card: { ...T, contentType: n[P] },
2961
+ card: { ...E, contentType: n[P] },
2926
2962
  buildCardData: r,
2927
2963
  gtmContext: c
2928
2964
  },
@@ -2946,20 +2982,20 @@ const li = ({
2946
2982
  variant: "secondary",
2947
2983
  size: "large",
2948
2984
  icon: { icon: "chevron_left" },
2949
- onClick: (T) => {
2950
- T.preventDefault(), T.stopPropagation(), w("previous");
2985
+ onClick: (E) => {
2986
+ E.preventDefault(), E.stopPropagation(), w("previous");
2951
2987
  },
2952
2988
  screenreaderText: o.formatMessage({
2953
2989
  id: "carousel_pagination_previous"
2954
2990
  }),
2955
- disabled: _ <= 0
2991
+ disabled: g <= 0
2956
2992
  }
2957
2993
  ) }),
2958
- [...Array(b)].map((T, P) => /* @__PURE__ */ a.jsx("li", { "data-testid": "carousel-controls-button", children: /* @__PURE__ */ a.jsx(
2994
+ [...Array(b)].map((E, P) => /* @__PURE__ */ a.jsx("li", { "data-testid": "carousel-controls-button", children: /* @__PURE__ */ a.jsx(
2959
2995
  "button",
2960
2996
  {
2961
- className: E("page-indicator", {
2962
- selected: P === _
2997
+ className: T("page-indicator", {
2998
+ selected: P === g
2963
2999
  }),
2964
3000
  onClick: (A) => {
2965
3001
  A.preventDefault(), A.stopPropagation(), w(P);
@@ -2976,18 +3012,18 @@ const li = ({
2976
3012
  variant: "secondary",
2977
3013
  size: "large",
2978
3014
  icon: { icon: "chevron_right" },
2979
- onClick: (T) => {
2980
- T.preventDefault(), T.stopPropagation(), w("next");
3015
+ onClick: (E) => {
3016
+ E.preventDefault(), E.stopPropagation(), w("next");
2981
3017
  },
2982
3018
  screenreaderText: o.formatMessage({ id: "carousel_pagination_next" }),
2983
- disabled: _ >= b - 1
3019
+ disabled: g >= b - 1
2984
3020
  }
2985
3021
  ) })
2986
3022
  ] })
2987
3023
  ]
2988
3024
  }
2989
3025
  );
2990
- }, Fc = ({
3026
+ }, Lc = ({
2991
3027
  carousels: e = [],
2992
3028
  isLoading: t,
2993
3029
  title: n,
@@ -3011,7 +3047,7 @@ const li = ({
3011
3047
  {
3012
3048
  cards: o,
3013
3049
  cardTypes: u,
3014
- title: { ...n, text: i, link: c },
3050
+ title: n != null && n.hidden ? {} : { ...n, text: i, link: c },
3015
3051
  ...s
3016
3052
  }
3017
3053
  ),
@@ -3038,10 +3074,10 @@ const Gt = "joinCommunityButton", aa = ({
3038
3074
  size: "medium",
3039
3075
  styling: { fullWidth: !0 },
3040
3076
  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));
3077
+ onClick: async (p) => {
3078
+ c && (p.currentTarget.blur(), o ? (f("leaving"), typeof r == "function" && await r()) : (f("joining"), typeof n == "function" && await n()), u(!o));
3043
3079
  },
3044
- className: E("join-community-button", d, {
3080
+ className: T("join-community-button", d, {
3045
3081
  active: d === "joining"
3046
3082
  }),
3047
3083
  disabled: !c,
@@ -3052,7 +3088,7 @@ const Gt = "joinCommunityButton", aa = ({
3052
3088
  }
3053
3089
  );
3054
3090
  };
3055
- const Kt = "communityDetails_", Lc = ({
3091
+ const Kt = "communityDetails_", Dc = ({
3056
3092
  className: e = "",
3057
3093
  isMember: t = !1,
3058
3094
  slug: n,
@@ -3060,7 +3096,7 @@ const Kt = "communityDetails_", Lc = ({
3060
3096
  functions: { invite: i, ...c }
3061
3097
  }) => {
3062
3098
  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: [
3099
+ return /* @__PURE__ */ a.jsxs("div", { className: T("community-details", e), children: [
3064
3100
  /* @__PURE__ */ a.jsx(Ae, {}),
3065
3101
  /* @__PURE__ */ a.jsxs("div", { className: "member-details", children: [
3066
3102
  /* @__PURE__ */ a.jsxs("div", { className: "top", children: [
@@ -3099,7 +3135,7 @@ const Kt = "communityDetails_", Lc = ({
3099
3135
  )
3100
3136
  ] });
3101
3137
  };
3102
- const Dc = ({ breadcrumbs: e, cutoff: t = 20, className: n = "" }) => {
3138
+ const Ic = ({ breadcrumbs: e, cutoff: t = 20, className: n = "" }) => {
3103
3139
  const r = W();
3104
3140
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
3105
3141
  /* @__PURE__ */ a.jsx(
@@ -3109,7 +3145,7 @@ const Dc = ({ breadcrumbs: e, cutoff: t = 20, className: n = "" }) => {
3109
3145
  children: r.formatMessage({ id: "breadcrumbs_label" })
3110
3146
  }
3111
3147
  ),
3112
- /* @__PURE__ */ a.jsx("ul", { className: E("breadcrumbs text-small", n), children: e.map(
3148
+ /* @__PURE__ */ a.jsx("ul", { className: T("breadcrumbs text-small", n), children: e.map(
3113
3149
  ({ text: s, href: i, current: c = !1 }, o) => /* @__PURE__ */ a.jsxs("li", { children: [
3114
3150
  c && /* @__PURE__ */ a.jsx(
3115
3151
  _e,
@@ -3123,7 +3159,7 @@ const Dc = ({ breadcrumbs: e, cutoff: t = 20, className: n = "" }) => {
3123
3159
  ) })
3124
3160
  ] });
3125
3161
  };
3126
- const Ic = ({
3162
+ const Bc = ({
3127
3163
  options: e,
3128
3164
  allOption: t = !1,
3129
3165
  allowMultiple: n = !0,
@@ -3139,22 +3175,22 @@ const Ic = ({
3139
3175
  ...e
3140
3176
  ] : e, [o, u] = X(t ? ["all"] : []), d = (f, l) => {
3141
3177
  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();
3178
+ 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
3179
  };
3144
- return /* @__PURE__ */ a.jsx("ul", { className: E("filters", s), children: c.map(({ id: f, text: l, disabled: m = !1, callback: h = () => {
3180
+ return /* @__PURE__ */ a.jsx("ul", { className: T("filters", s), children: c.map(({ id: f, text: l, disabled: m = !1, callback: p = () => {
3145
3181
  } }) => {
3146
- let _ = {};
3147
- return m && (_ = {
3182
+ let g = {};
3183
+ return m && (g = {
3148
3184
  disabled: !0,
3149
3185
  "aria-label": i.formatMessage({ id: "filters_disabled" }, { name: l })
3150
3186
  }), /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(
3151
3187
  "button",
3152
3188
  {
3153
- className: E(f, { selected: o.includes(f) }),
3154
- onClick: (g) => {
3155
- g.preventDefault(), g.stopPropagation(), d(f, h);
3189
+ className: T(f, { selected: o.includes(f) }),
3190
+ onClick: (_) => {
3191
+ _.preventDefault(), _.stopPropagation(), d(f, p);
3156
3192
  },
3157
- ..._,
3193
+ ...g,
3158
3194
  children: l
3159
3195
  }
3160
3196
  ) }, f);
@@ -3173,7 +3209,7 @@ const Qt = {
3173
3209
  es: "Español",
3174
3210
  fr: "Français",
3175
3211
  pt: "Português"
3176
- }, ht = "languageSwitcher_", Bc = ({
3212
+ }, ht = "languageSwitcher_", qc = ({
3177
3213
  currentLanguage: e,
3178
3214
  isOriginalLanguage: t = !1,
3179
3215
  isHumanTranslation: n = !1,
@@ -3189,33 +3225,33 @@ const Qt = {
3189
3225
  if (se(() => {
3190
3226
  e !== f && l(e);
3191
3227
  }, [e]), !r || !Object.values(r).some(
3192
- (g) => g && g.post_name
3228
+ (_) => _ && _.post_name
3193
3229
  ))
3194
3230
  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: [
3231
+ const p = Object.keys(r), g = f !== e;
3232
+ return /* @__PURE__ */ a.jsxs("div", { className: T("language-switcher text-small", c, u), children: [
3197
3233
  /* @__PURE__ */ a.jsxs("nav", { children: [
3198
3234
  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])
3235
+ /* @__PURE__ */ a.jsx("ul", { children: p.map((_) => {
3236
+ if (!Qt[_])
3201
3237
  return null;
3202
- let v = { className: g };
3203
- return f === g ? v["aria-label"] = d.formatMessage(
3238
+ let v = { className: _ };
3239
+ return f === _ ? v["aria-label"] = d.formatMessage(
3204
3240
  { id: `${ht}selected` },
3205
- { language: Qt[g] }
3241
+ { language: Qt[_] }
3206
3242
  ) : v = {
3207
3243
  ...v,
3208
- href: di(g, i),
3244
+ href: di(_, i),
3209
3245
  onClick: (b) => {
3210
- b.preventDefault(), b.stopPropagation(), l(g), s(g);
3246
+ b.preventDefault(), b.stopPropagation(), l(_), s(_);
3211
3247
  }
3212
- }, /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(dt, { ...v, fallbackElement: "span", children: Qt[g] }) }, g);
3248
+ }, /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(dt, { ...v, fallbackElement: "span", children: Qt[_] }) }, _);
3213
3249
  }) }),
3214
- c !== "short" && !_ && /* @__PURE__ */ a.jsx("p", { children: d.formatMessage({
3250
+ c !== "short" && !g && /* @__PURE__ */ a.jsx("p", { children: d.formatMessage({
3215
3251
  id: `${ht}translation_${t ? "original" : n ? "human" : "machine"}`
3216
3252
  }) })
3217
3253
  ] }),
3218
- c !== "short" && !_ && !t && !n && /* @__PURE__ */ a.jsx("small", {
3254
+ c !== "short" && !g && !t && !n && /* @__PURE__ */ a.jsx("small", {
3219
3255
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
3220
3256
  // @ts-ignore
3221
3257
  // `values` are throwing a type error: https://github.com/formatjs/formatjs/issues/3633
@@ -3223,9 +3259,9 @@ const Qt = {
3223
3259
  { id: `${ht}disclaimer` },
3224
3260
  {
3225
3261
  email: nt.support,
3226
- link: (g) => {
3227
- const v = `mailto:${g}`;
3228
- return /* @__PURE__ */ a.jsx("a", { href: v, children: g });
3262
+ link: (_) => {
3263
+ const v = `mailto:${_}`;
3264
+ return /* @__PURE__ */ a.jsx("a", { href: v, children: _ });
3229
3265
  }
3230
3266
  }
3231
3267
  )
@@ -3251,11 +3287,11 @@ const Jt = Ka({ locale: "en", messages: On }), Ft = ({
3251
3287
  const [d, f] = X(""), l = async (m) => {
3252
3288
  try {
3253
3289
  await t(m);
3254
- } catch (h) {
3255
- h instanceof Error ? f(h.message) : f("Unknown error");
3290
+ } catch (p) {
3291
+ p instanceof Error ? f(p.message) : f("Unknown error");
3256
3292
  }
3257
3293
  };
3258
- return !d && !e && !c.endOfFeed ? null : /* @__PURE__ */ a.jsx("footer", { className: E("load-more", o), children: !d && e ? /* @__PURE__ */ a.jsx(
3294
+ return !d && !e && !c.endOfFeed ? null : /* @__PURE__ */ a.jsx("footer", { className: T("load-more", o), children: !d && e ? /* @__PURE__ */ a.jsx(
3259
3295
  ee,
3260
3296
  {
3261
3297
  variant: n,
@@ -3280,7 +3316,7 @@ const sa = ({
3280
3316
  "a",
3281
3317
  {
3282
3318
  href: "/home/",
3283
- className: E("logo", e, t, n),
3319
+ className: T("logo", e, t, n),
3284
3320
  ...r,
3285
3321
  children: /* @__PURE__ */ a.jsx(_e, { children: /* @__PURE__ */ a.jsx(we, { id: "apolitical" }) })
3286
3322
  }
@@ -3301,7 +3337,7 @@ const ui = ({
3301
3337
  document.removeEventListener("click", u, !0);
3302
3338
  })), z.createElement(e, {
3303
3339
  ref: i,
3304
- className: E("more-menu text-medium", r),
3340
+ className: T("more-menu text-medium", r),
3305
3341
  children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
3306
3342
  /* @__PURE__ */ a.jsx(
3307
3343
  ee,
@@ -3316,9 +3352,9 @@ const ui = ({
3316
3352
  screenreaderText: s.formatMessage({ id: "moreMenu" })
3317
3353
  }
3318
3354
  ),
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,
3355
+ /* @__PURE__ */ a.jsx("ul", { id: t, hidden: !c, children: n.map(({ href: d, onClick: f, text: l, icon: m, ...p }, g) => {
3356
+ const _ = {
3357
+ ...p,
3322
3358
  onClick: (v) => {
3323
3359
  o(!1), typeof f == "function" && f(v);
3324
3360
  },
@@ -3331,16 +3367,16 @@ const ui = ({
3331
3367
  }, 100);
3332
3368
  }
3333
3369
  };
3334
- return d && (g.href = d), /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(
3370
+ return d && (_.href = d), /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(
3335
3371
  ee,
3336
3372
  {
3337
3373
  variant: "tertiary",
3338
3374
  size: "medium",
3339
3375
  icon: m ? { icon: m, position: "left" } : !1,
3340
- ...g,
3376
+ ..._,
3341
3377
  children: l
3342
3378
  }
3343
- ) }, `${window.btoa(l)}_${_}`);
3379
+ ) }, `${window.btoa(l)}_${g}`);
3344
3380
  }) })
3345
3381
  ] })
3346
3382
  });
@@ -3368,7 +3404,7 @@ const mi = [
3368
3404
  mi.map(({ key: s, href: i }) => /* @__PURE__ */ a.jsx(
3369
3405
  "li",
3370
3406
  {
3371
- className: E(s, { active: fi(i, e) }),
3407
+ className: T(s, { active: fi(i, e) }),
3372
3408
  children: /* @__PURE__ */ a.jsx(
3373
3409
  "a",
3374
3410
  {
@@ -3445,7 +3481,7 @@ ${tt(t, "mailto", n)}&src=email`
3445
3481
  onClick: (r, s) => (r.preventDefault(), r.stopPropagation(), navigator.clipboard.writeText(s))
3446
3482
  }
3447
3483
  ];
3448
- const gi = "shareLinks_", qc = ({
3484
+ const gi = "shareLinks_", zc = ({
3449
3485
  title: e,
3450
3486
  link: t,
3451
3487
  referrer: n,
@@ -3455,13 +3491,13 @@ const gi = "shareLinks_", qc = ({
3455
3491
  className: c = ""
3456
3492
  }) => {
3457
3493
  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: [
3494
+ return /* @__PURE__ */ a.jsxs("aside", { className: T("share-links", s, i, c), children: [
3459
3495
  /* @__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 }) => {
3496
+ /* @__PURE__ */ a.jsx("ul", { children: u.map(({ key: d, icon: f, url: l, shouldRender: m = !0, onClick: p }) => {
3461
3497
  if (typeof m == "function" && !m())
3462
3498
  return null;
3463
- const _ = {};
3464
- return h && (_.onClick = (g) => h(g, l)), /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(
3499
+ const g = {};
3500
+ return p && (g.onClick = (_) => p(_, l)), /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(
3465
3501
  ee,
3466
3502
  {
3467
3503
  size: s,
@@ -3475,13 +3511,13 @@ const gi = "shareLinks_", qc = ({
3475
3511
  "data-gtm-event-type": `${d}-click`,
3476
3512
  "data-testid": "link",
3477
3513
  screenreaderText: o.formatMessage({ id: `${gi}link_${d}` }),
3478
- ..._
3514
+ ...g
3479
3515
  }
3480
3516
  ) }, d);
3481
3517
  }) })
3482
3518
  ] });
3483
3519
  };
3484
- const zc = ({ tabs: e, className: t = "" }) => {
3520
+ const Zc = ({ tabs: e, className: t = "" }) => {
3485
3521
  var u;
3486
3522
  const n = (d, f, l) => (d || (d = `panel-${window.btoa(f)}-${l}`), d);
3487
3523
  let r = e.findIndex((d) => d.current === !0);
@@ -3498,20 +3534,20 @@ const zc = ({ tabs: e, className: t = "" }) => {
3498
3534
  const [s, i] = X(
3499
3535
  (u = e[r]) != null && u.id ? e[r].id : n(e[r].id, e[r].text, r)
3500
3536
  ), 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) => {
3537
+ return e.forEach(({ id: d, text: f, content: l, href: m }, p) => {
3538
+ d = n(d, f, p);
3539
+ const g = s === d, _ = {};
3540
+ m || (_["aria-controls"] = d, _.onClick = (v) => {
3505
3541
  v.preventDefault(), v.stopPropagation(), i(d), window.location.hash = `#${d}`;
3506
3542
  }, o.push(
3507
3543
  /* @__PURE__ */ a.jsx(
3508
3544
  "section",
3509
3545
  {
3510
3546
  id: d,
3511
- hidden: !_,
3547
+ hidden: !g,
3512
3548
  role: "tabpanel",
3513
3549
  "aria-labelledby": `tab-${d}`,
3514
- "aria-live": _ ? "assertive" : "off",
3550
+ "aria-live": g ? "assertive" : "off",
3515
3551
  children: typeof l == "string" ? /* @__PURE__ */ a.jsx("p", { children: l }) : l
3516
3552
  },
3517
3553
  `section-${d}`
@@ -3522,15 +3558,15 @@ const zc = ({ tabs: e, className: t = "" }) => {
3522
3558
  {
3523
3559
  href: m || `#${d}`,
3524
3560
  id: `tab-${d}`,
3525
- className: E({ selected: _ }),
3561
+ className: T({ selected: g }),
3526
3562
  role: "tab",
3527
- "aria-selected": _,
3528
- ...g,
3563
+ "aria-selected": g,
3564
+ ..._,
3529
3565
  children: f
3530
3566
  }
3531
3567
  ) }, `tab-${d}`)
3532
3568
  );
3533
- }), /* @__PURE__ */ a.jsxs("div", { className: E("tabs-wrapper", t), children: [
3569
+ }), /* @__PURE__ */ a.jsxs("div", { className: T("tabs-wrapper", t), children: [
3534
3570
  /* @__PURE__ */ a.jsx("ul", { className: "tabs", role: "tablist", children: c }),
3535
3571
  /* @__PURE__ */ a.jsx("div", { className: "tab-content", children: o })
3536
3572
  ] });
@@ -3546,7 +3582,7 @@ const _i = {
3546
3582
  }) => {
3547
3583
  const s = lt(!0);
3548
3584
  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) });
3585
+ 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
3586
  };
3551
3587
  const _t = "emailHelperTextBox_", bi = ({
3552
3588
  type: e,
@@ -3561,9 +3597,9 @@ const _t = "emailHelperTextBox_", bi = ({
3561
3597
  mail: {},
3562
3598
  error: ""
3563
3599
  }), [o, u] = X(!1), d = Dr(
3564
- (h) => {
3565
- h.preventDefault(), h.stopPropagation();
3566
- const _ = (g) => {
3600
+ (p) => {
3601
+ p.preventDefault(), p.stopPropagation();
3602
+ const g = (_) => {
3567
3603
  c({
3568
3604
  path: `${_t}error_verificationFailedToSend`,
3569
3605
  type: "error",
@@ -3581,17 +3617,17 @@ const _t = "emailHelperTextBox_", bi = ({
3581
3617
  "data-gtm-event-context": "ErrorVerifyingBox",
3582
3618
  "data-gtm-event-type": "email-concierge-click"
3583
3619
  },
3584
- error: g
3620
+ error: _
3585
3621
  });
3586
3622
  };
3587
3623
  if (typeof r != "function") {
3588
- _(s.formatMessage({ id: `${_t}error_noFunction` }));
3624
+ g(s.formatMessage({ id: `${_t}error_noFunction` }));
3589
3625
  return;
3590
3626
  }
3591
3627
  u(!0), r(t).then(() => {
3592
3628
  localStorage.setItem("email", t), window.location.href = n || "/signup/verify-email";
3593
- }).catch((g) => {
3594
- _(g.message);
3629
+ }).catch((_) => {
3630
+ g(_.message);
3595
3631
  }).finally(() => {
3596
3632
  u(!1);
3597
3633
  });
@@ -3601,20 +3637,20 @@ const _t = "emailHelperTextBox_", bi = ({
3601
3637
  );
3602
3638
  se(
3603
3639
  () => {
3604
- let h = _t, _ = "default", g = {}, v = {};
3640
+ let p = _t, g = "default", _ = {}, v = {};
3605
3641
  switch (e) {
3606
3642
  case "gov":
3607
- h += "autoApproved", _ = "success";
3643
+ p += "autoApproved", g = "success";
3608
3644
  break;
3609
3645
  case "nonGov":
3610
- h += "unrecognisedEmail", _ = "error", g = {
3646
+ p += "unrecognisedEmail", g = "error", _ = {
3611
3647
  href: "https://about.apolitical.co/who-can-join-the-community",
3612
3648
  "data-gtm-event-context": "NonGovEmailHelperTextBox",
3613
3649
  "data-gtm-event-type": "LearnMoreClick"
3614
3650
  };
3615
3651
  break;
3616
3652
  case "pending":
3617
- h += "pendingApproval", _ = "error", v = {
3653
+ p += "pendingApproval", g = "error", v = {
3618
3654
  href: "mailto:concierge@apolitical.co",
3619
3655
  className: "gtm-trackable",
3620
3656
  "data-gtm-event-context": "EmailExistsBox",
@@ -3622,7 +3658,7 @@ const _t = "emailHelperTextBox_", bi = ({
3622
3658
  };
3623
3659
  break;
3624
3660
  case "verify":
3625
- h += "emailUnverified", _ = "error", g = {
3661
+ p += "emailUnverified", g = "error", _ = {
3626
3662
  href: "#",
3627
3663
  "data-gtm-event-context": "VerifyEmailBox",
3628
3664
  "data-gtm-event-type": "SendEmailClick",
@@ -3632,7 +3668,7 @@ const _t = "emailHelperTextBox_", bi = ({
3632
3668
  };
3633
3669
  break;
3634
3670
  case "exists":
3635
- h += "emailAlreadyExists", _ = "error", g = {
3671
+ p += "emailAlreadyExists", g = "error", _ = {
3636
3672
  href: "/user-onboarding/login",
3637
3673
  "data-gtm-event-context": "EmailExistsBox",
3638
3674
  "data-gtm-event-type": "login-click"
@@ -3644,21 +3680,21 @@ const _t = "emailHelperTextBox_", bi = ({
3644
3680
  };
3645
3681
  break;
3646
3682
  default:
3647
- h += "default", g = {
3683
+ p += "default", _ = {
3648
3684
  href: "https://about.apolitical.co/who-can-join-the-community",
3649
3685
  "data-gtm-event-context": "DefaultEmailHelperTextBox",
3650
3686
  "data-gtm-event-type": "LearnMoreClick"
3651
3687
  };
3652
3688
  break;
3653
3689
  }
3654
- c({ ...i, path: h, type: _, link: g, mail: v });
3690
+ c({ ...i, path: p, type: g, link: _, mail: v });
3655
3691
  },
3656
3692
  /* eslint-disable react-hooks/exhaustive-deps */
3657
3693
  [e]
3658
3694
  );
3659
3695
  const f = {};
3660
- return ["link", "mail"].forEach((h) => {
3661
- f[h] = Object.keys(i[h]).length ? (_) => /* @__PURE__ */ a.jsx("a", { ...i[h], children: _ }) : (_) => _;
3696
+ return ["link", "mail"].forEach((p) => {
3697
+ f[p] = Object.keys(i[p]).length ? (g) => /* @__PURE__ */ a.jsx("a", { ...i[p], children: g }) : (g) => g;
3662
3698
  }), /* @__PURE__ */ a.jsx(
3663
3699
  Bs,
3664
3700
  {
@@ -3675,8 +3711,8 @@ const _t = "emailHelperTextBox_", bi = ({
3675
3711
  { id: `${i.path}_text` },
3676
3712
  {
3677
3713
  ...f,
3678
- strong: (h) => /* @__PURE__ */ a.jsx("strong", { children: h }),
3679
- em: (h) => /* @__PURE__ */ a.jsx("em", { children: h }),
3714
+ strong: (p) => /* @__PURE__ */ a.jsx("strong", { children: p }),
3715
+ em: (p) => /* @__PURE__ */ a.jsx("em", { children: p }),
3680
3716
  br: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
3681
3717
  /* @__PURE__ */ a.jsx("br", {}),
3682
3718
  /* @__PURE__ */ a.jsx("br", {})
@@ -3707,15 +3743,15 @@ const _t = "emailHelperTextBox_", bi = ({
3707
3743
  type: o,
3708
3744
  id: n,
3709
3745
  name: i,
3710
- className: E(e, t, {
3746
+ className: T(e, t, {
3711
3747
  "has-scrollbar": o === "textarea" && l.current && l.current.clientHeight < l.current.scrollHeight
3712
3748
  }),
3713
3749
  value: u,
3714
3750
  placeholder: c,
3715
3751
  ...s,
3716
3752
  onChange: (m) => {
3717
- const h = m.target;
3718
- s.onChange(h.value);
3753
+ const p = m.target;
3754
+ s.onChange(p.value);
3719
3755
  }
3720
3756
  });
3721
3757
  };
@@ -3734,8 +3770,8 @@ const ia = ({
3734
3770
  value: f,
3735
3771
  ...l
3736
3772
  }) => {
3737
- const m = W(), { onChange: h, ..._ } = r, g = () => {
3738
- t || h(f ? null : u);
3773
+ const m = W(), { onChange: p, ...g } = r, _ = () => {
3774
+ t || p(f ? null : u);
3739
3775
  }, v = /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
3740
3776
  /* @__PURE__ */ a.jsx(
3741
3777
  "input",
@@ -3747,7 +3783,7 @@ const ia = ({
3747
3783
  value: u,
3748
3784
  checked: f,
3749
3785
  onKeyDown: (b) => {
3750
- (b.key === "Enter" || b.code === "Space") && (b.preventDefault(), b.stopPropagation(), g());
3786
+ (b.key === "Enter" || b.code === "Space") && (b.preventDefault(), b.stopPropagation(), _());
3751
3787
  },
3752
3788
  readOnly: !0,
3753
3789
  disabled: t
@@ -3763,11 +3799,11 @@ const ia = ({
3763
3799
  {
3764
3800
  onClick: (b) => {
3765
3801
  const y = b.target;
3766
- y.nodeName.toLowerCase() === "a" || y.parentNode && y.parentNode.nodeName.toLowerCase() === "a" || (b.preventDefault(), b.stopPropagation(), g());
3802
+ y.nodeName.toLowerCase() === "a" || y.parentNode && y.parentNode.nodeName.toLowerCase() === "a" || (b.preventDefault(), b.stopPropagation(), _());
3767
3803
  },
3768
- className: E("checkbox-wrapper", e),
3804
+ className: T("checkbox-wrapper", e),
3769
3805
  ...l,
3770
- ..._
3806
+ ...g
3771
3807
  },
3772
3808
  v
3773
3809
  );
@@ -3778,7 +3814,7 @@ const yi = Oe(function({
3778
3814
  return /* @__PURE__ */ a.jsx(
3779
3815
  An,
3780
3816
  {
3781
- className: E("rotating-chevron", `direction-${t}`)
3817
+ className: T("rotating-chevron", `direction-${t}`)
3782
3818
  }
3783
3819
  );
3784
3820
  });
@@ -3796,25 +3832,25 @@ const xi = ({
3796
3832
  multiSelectOptions: u,
3797
3833
  id: d
3798
3834
  }) => {
3799
- const f = W(), [l, m] = X(!1), h = r || n, _ = Array.isArray(h) ? [...h] : h ? [h] : [], [g, v] = X(_);
3835
+ const f = W(), [l, m] = X(!1), p = r || n, g = Array.isArray(p) ? [...p] : p ? [p] : [], [_, v] = X(g);
3800
3836
  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(_);
3837
+ 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(() => {
3838
+ v(g);
3803
3839
  }, [r, n]);
3804
3840
  const { onChange: y, onMultiSelectSubmit: j, ...w } = s, x = ($) => {
3805
3841
  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]);
3842
+ let E = [];
3843
+ _ != null && _.includes($.id) ? E = _.filter((P) => P !== $.id) : E = [..._, $.id], v([...E]), y && y([...E]);
3808
3844
  } else
3809
3845
  v([$]), y && y($.id), m(!1);
3810
3846
  }, O = ($) => {
3811
3847
  if ($ === "all") {
3812
- const T = (t == null ? void 0 : t.map((P) => P.id)) || [];
3813
- v(T), y && y(T);
3848
+ const E = (t == null ? void 0 : t.map((P) => P.id)) || [];
3849
+ v(E), y && y(E);
3814
3850
  } else
3815
3851
  v([]), y && y([]);
3816
3852
  };
3817
- return /* @__PURE__ */ a.jsxs("div", { className: E("dropdown-wrapper", e), children: [
3853
+ return /* @__PURE__ */ a.jsxs("div", { className: T("dropdown-wrapper", e), children: [
3818
3854
  /* @__PURE__ */ a.jsxs(
3819
3855
  "button",
3820
3856
  {
@@ -3828,7 +3864,7 @@ const xi = ({
3828
3864
  "data-testid": "dropdown-selector",
3829
3865
  ...w,
3830
3866
  children: [
3831
- o ? `${c} · ${g.length}` : b.label,
3867
+ o ? `${c} · ${_.length}` : b.label,
3832
3868
  /* @__PURE__ */ a.jsx(yi, { direction: l ? "up" : "down" })
3833
3869
  ]
3834
3870
  }
@@ -3839,8 +3875,8 @@ const xi = ({
3839
3875
  defaultValue: b.id,
3840
3876
  onChange: ($) => {
3841
3877
  $.preventDefault(), $.stopPropagation();
3842
- const T = t && t.find((P) => P.id === $.target.value);
3843
- x(T);
3878
+ const E = t && t.find((P) => P.id === $.target.value);
3879
+ x(E);
3844
3880
  },
3845
3881
  hidden: !l,
3846
3882
  ...w,
@@ -3856,7 +3892,7 @@ const xi = ({
3856
3892
  children: [
3857
3893
  /* @__PURE__ */ a.jsxs("div", { className: "dropdown-menu-list", children: [
3858
3894
  (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` }),
3895
+ /* @__PURE__ */ a.jsx("p", { children: `${_ == null ? void 0 : _.length} selected` }),
3860
3896
  /* @__PURE__ */ a.jsxs("ul", { children: [
3861
3897
  /* @__PURE__ */ a.jsx("li", { children: /* @__PURE__ */ a.jsx(
3862
3898
  ee,
@@ -3881,13 +3917,13 @@ const xi = ({
3881
3917
  ] })
3882
3918
  ] }),
3883
3919
  /* @__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));
3920
+ const E = $.id === b.id || (_ == null ? void 0 : _.includes($)) || (_ == null ? void 0 : _.includes($.id));
3885
3921
  return /* @__PURE__ */ a.jsx("li", { "data-testid": "dropdown-options", children: /* @__PURE__ */ a.jsxs(
3886
3922
  "button",
3887
3923
  {
3888
- className: E("gtm-trackable", {
3889
- selected: T,
3890
- "selected-single": T && !o
3924
+ className: T("gtm-trackable", {
3925
+ selected: E,
3926
+ "selected-single": E && !o
3891
3927
  }),
3892
3928
  "data-gtm-event-type": `${$}-click`,
3893
3929
  "data-gtm-event-context": i,
@@ -3895,11 +3931,11 @@ const xi = ({
3895
3931
  P.preventDefault(), P.stopPropagation(), x($);
3896
3932
  },
3897
3933
  role: "menuitem",
3898
- "aria-current": T,
3899
- "data-testid": T ? "current-selection" : "",
3934
+ "aria-current": E,
3935
+ "data-testid": E ? "current-selection" : "",
3900
3936
  children: [
3901
3937
  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 })
3938
+ /* @__PURE__ */ a.jsx("span", { className: T({ "menu-option-label": o }), children: $.label })
3903
3939
  ]
3904
3940
  }
3905
3941
  ) }, $.id);
@@ -3910,11 +3946,11 @@ const xi = ({
3910
3946
  {
3911
3947
  variant: "secondary",
3912
3948
  onClick: () => {
3913
- j && j(g), document.dispatchEvent(
3949
+ j && j(_), document.dispatchEvent(
3914
3950
  new CustomEvent("dropdownMultiSelectSubmit", {
3915
3951
  detail: {
3916
3952
  id: d || "dropdown-multi-select",
3917
- value: g
3953
+ value: _
3918
3954
  }
3919
3955
  })
3920
3956
  ), m(!1);
@@ -3942,29 +3978,29 @@ const wi = ({
3942
3978
  value: f,
3943
3979
  ...l
3944
3980
  }) => {
3945
- const m = W(), h = i ? f : [], _ = f;
3981
+ const m = W(), p = i ? f : [], g = f;
3946
3982
  return /* @__PURE__ */ a.jsx(
3947
3983
  "ul",
3948
3984
  {
3949
3985
  ...l,
3950
- className: E("options-wrapper", e),
3986
+ className: T("options-wrapper", e),
3951
3987
  "data-testid": `ul-${r}`,
3952
3988
  children: o == null ? void 0 : o.map(
3953
3989
  ({
3954
- id: g,
3990
+ id: _,
3955
3991
  label: v = !1,
3956
- value: b = g,
3992
+ value: b = _,
3957
3993
  disabled: y = !1
3958
3994
  }) => {
3959
- const j = `${r}_${g}`, w = () => {
3995
+ const j = `${r}_${_}`, w = () => {
3960
3996
  if (y)
3961
3997
  return;
3962
3998
  let x;
3963
3999
  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));
4000
+ const O = p == null ? void 0 : p.indexOf(b);
4001
+ Array.isArray(p) && O >= 0 ? (x = p, x.splice(O, 1)) : (!p || p.length === 0 ? x = [] : x = p, x.push(b));
3966
4002
  } else
3967
- x = _ === b ? void 0 : b;
4003
+ x = g === b ? void 0 : b;
3968
4004
  t.onChange(x);
3969
4005
  };
3970
4006
  return /* @__PURE__ */ a.jsx(
@@ -3974,14 +4010,14 @@ const wi = ({
3974
4010
  id: j,
3975
4011
  type: d === "checkboxes" ? "checkbox" : "radio",
3976
4012
  shownValue: b,
3977
- value: i ? h == null ? void 0 : h.includes(b) : _ === b,
4013
+ value: i ? p == null ? void 0 : p.includes(b) : g === b,
3978
4014
  functions: {
3979
4015
  ...t,
3980
4016
  onChange: w
3981
4017
  },
3982
4018
  intlPath: n,
3983
4019
  label: v || m.formatMessage({
3984
- id: n ? `${n}_${g}` : g
4020
+ id: n ? `${n}_${_}` : _
3985
4021
  }),
3986
4022
  disabled: y
3987
4023
  },
@@ -4007,7 +4043,7 @@ const ji = ({
4007
4043
  "button",
4008
4044
  {
4009
4045
  type: "button",
4010
- className: E("show-password gtm-trackable", {
4046
+ className: T("show-password gtm-trackable", {
4011
4047
  "password-visible": o
4012
4048
  }),
4013
4049
  "data-gtm-event-context": n,
@@ -4046,8 +4082,8 @@ const Ze = {
4046
4082
  value: d,
4047
4083
  ...f
4048
4084
  }) => {
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;
4085
+ 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, _ = {};
4086
+ o && ["checkboxes"].includes(o) ? _.element = "span" : _.htmlFor = e;
4051
4087
  let v = {
4052
4088
  ...f,
4053
4089
  id: e,
@@ -4076,11 +4112,11 @@ const Ze = {
4076
4112
  if (o && ["checkbox"].includes(o))
4077
4113
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
4078
4114
  /* @__PURE__ */ a.jsx(
4079
- _,
4115
+ g,
4080
4116
  {
4081
4117
  ...v,
4082
4118
  label: b,
4083
- className: E("field-wrapper", n)
4119
+ className: T("field-wrapper", n)
4084
4120
  }
4085
4121
  ),
4086
4122
  /* @__PURE__ */ a.jsx(y, { as: "p" })
@@ -4090,8 +4126,8 @@ const Ze = {
4090
4126
  className: "checkboxes-label text-small",
4091
4127
  "data-testid": `label-${e}`
4092
4128
  });
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: [
4129
+ return /* @__PURE__ */ a.jsxs("dl", { className: T("field-wrapper text-medium", n), children: [
4130
+ /* @__PURE__ */ a.jsx("dt", { children: /* @__PURE__ */ a.jsxs(j, { ..._, children: [
4095
4131
  b,
4096
4132
  m && c && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
4097
4133
  " ",
@@ -4103,17 +4139,17 @@ const Ze = {
4103
4139
  ] })
4104
4140
  ] }) }),
4105
4141
  /* @__PURE__ */ a.jsxs("dd", { children: [
4106
- /* @__PURE__ */ a.jsx(_, { ...v }),
4142
+ /* @__PURE__ */ a.jsx(g, { ...v }),
4107
4143
  i > 0 ? /* @__PURE__ */ a.jsxs(
4108
4144
  "small",
4109
4145
  {
4110
- className: E("character-limit", {
4111
- "near-limit": h >= 0.99 * i,
4112
- "approaching-limit": h >= 0.9 * i && h < 0.99 * i
4146
+ className: T("character-limit", {
4147
+ "near-limit": p >= 0.99 * i,
4148
+ "approaching-limit": p >= 0.9 * i && p < 0.99 * i
4113
4149
  }),
4114
4150
  children: [
4115
4151
  /* @__PURE__ */ a.jsx("span", { className: "hidden", children: l.formatMessage({ id: "form_fieldWrapper_characterLimit" }) }),
4116
- h,
4152
+ p,
4117
4153
  " / ",
4118
4154
  i
4119
4155
  ]
@@ -4162,28 +4198,28 @@ const Ze = {
4162
4198
  } = r, l = rt(Object.keys(s));
4163
4199
  for (const m of c)
4164
4200
  if (m.validation)
4165
- for (let h = 0; h < m.validation.length; h++) {
4166
- const { condition: _ = "required", error: g = !1 } = m.validation[h];
4201
+ for (let p = 0; p < m.validation.length; p++) {
4202
+ const { condition: g = "required", error: _ = !1 } = m.validation[p];
4167
4203
  let v = !1;
4168
- if (typeof _ == "function") {
4169
- const b = _(i);
4170
- b && (v = g || b);
4204
+ if (typeof g == "function") {
4205
+ const b = g(i);
4206
+ b && (v = _ || b);
4171
4207
  } else {
4172
4208
  const b = i[m.id];
4173
- switch (_) {
4209
+ switch (g) {
4174
4210
  case "required":
4175
- (!b || typeof b == "string" && b.trim().length === 0) && (v = g || (f == null ? void 0 : f.formatMessage({ id: "form_error_required" })));
4211
+ (!b || typeof b == "string" && b.trim().length === 0) && (v = _ || (f == null ? void 0 : f.formatMessage({ id: "form_error_required" })));
4176
4212
  break;
4177
4213
  case "no-numbers": {
4178
- b && !/^([^0-9]*)$/.test(b) && (v = g || (f == null ? void 0 : f.formatMessage({ id: "form_error_numbers" })));
4214
+ b && !/^([^0-9]*)$/.test(b) && (v = _ || (f == null ? void 0 : f.formatMessage({ id: "form_error_numbers" })));
4179
4215
  break;
4180
4216
  }
4181
4217
  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" })));
4218
+ 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
4219
  break;
4184
4220
  }
4185
4221
  case "valid-url": {
4186
- b && !/^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#[\]@!\$&'\(\)\*\+,;=.]+$/.test(b) && (v = g || (f == null ? void 0 : f.formatMessage({ id: "form_error_url" })));
4222
+ b && !/^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#[\]@!\$&'\(\)\*\+,;=.]+$/.test(b) && (v = _ || (f == null ? void 0 : f.formatMessage({ id: "form_error_url" })));
4187
4223
  break;
4188
4224
  }
4189
4225
  default:
@@ -4244,9 +4280,9 @@ const Dn = ({
4244
4280
  },
4245
4281
  gtm: l = { context: "Form", event: "form-submit-click" },
4246
4282
  functions: { onSuccess: m = async () => {
4247
- }, onCancel: h = () => {
4248
- }, onCatch: _ = () => {
4249
- }, onFailure: g = () => {
4283
+ }, onCancel: p = () => {
4284
+ }, onCatch: g = () => {
4285
+ }, onFailure: _ = () => {
4250
4286
  } } = {
4251
4287
  onSuccess: async () => {
4252
4288
  },
@@ -4264,7 +4300,7 @@ const Dn = ({
4264
4300
  const U = Z.id || Z.name;
4265
4301
  U && (O[U] = Z.value || "");
4266
4302
  });
4267
- const [$, T] = Nn(Ti, {
4303
+ const [$, E] = Nn(Ti, {
4268
4304
  isSubmitting: !1,
4269
4305
  formSubmitted: !1,
4270
4306
  errors: {},
@@ -4272,7 +4308,7 @@ const Dn = ({
4272
4308
  }), { errors: P, isSubmitting: A, formSubmitted: F, values: ue } = $;
4273
4309
  se(() => {
4274
4310
  u && F && (Xt = setTimeout(() => {
4275
- T({
4311
+ E({
4276
4312
  type: "updateValue",
4277
4313
  payload: { key: "formSubmitted", value: !1 }
4278
4314
  });
@@ -4281,7 +4317,7 @@ const Dn = ({
4281
4317
  Xt && clearTimeout(Xt);
4282
4318
  }, []), se(() => {
4283
4319
  const Z = (U) => {
4284
- T({
4320
+ E({
4285
4321
  type: "updateValue",
4286
4322
  payload: { key: U.detail.id, value: U.detail.value }
4287
4323
  });
@@ -4310,31 +4346,31 @@ const Dn = ({
4310
4346
  k && (U = k.getBoundingClientRect().top + window.scrollY);
4311
4347
  }
4312
4348
  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({
4349
+ if (te && (U = U - te.offsetHeight - w), U < 0 && (U = 0), window.scrollTo({ top: U, behavior: "smooth" }), E({ type: "toggleSubmitting" }), i.disabled) {
4350
+ typeof i.disabled == "object" && i.disabled.isClickable && E({
4315
4351
  type: "submitForm",
4316
4352
  payload: {
4317
4353
  fields: e,
4318
- dispatch: T,
4354
+ dispatch: E,
4319
4355
  intl: x
4320
4356
  }
4321
4357
  });
4322
4358
  return;
4323
4359
  }
4324
- T({
4360
+ E({
4325
4361
  type: "submitForm",
4326
4362
  payload: {
4327
4363
  fields: e,
4328
- dispatch: T,
4364
+ dispatch: E,
4329
4365
  onSuccess: async (k) => {
4330
4366
  try {
4331
- await m(k), T({ type: u ? "formSubmittedAndReset" : "formSubmitted" });
4367
+ await m(k), E({ type: u ? "formSubmittedAndReset" : "formSubmitted" });
4332
4368
  } catch (C) {
4333
- _(C), T({ type: "updateValue", payload: { key: "isSubmitting", value: !1 } });
4369
+ g(C), E({ type: "updateValue", payload: { key: "isSubmitting", value: !1 } });
4334
4370
  }
4335
4371
  },
4336
4372
  onFailure: (k, C) => {
4337
- g(k, C), T({ type: "updateValue", payload: { key: "isSubmitting", value: !1 } });
4373
+ _(k, C), E({ type: "updateValue", payload: { key: "isSubmitting", value: !1 } });
4338
4374
  },
4339
4375
  intl: x
4340
4376
  }
@@ -4346,7 +4382,7 @@ const Dn = ({
4346
4382
  {
4347
4383
  ...v,
4348
4384
  id: n,
4349
- className: E("form", t),
4385
+ className: T("form", t),
4350
4386
  ref: V,
4351
4387
  children: [
4352
4388
  P != null && P.general ? /* @__PURE__ */ a.jsx(
@@ -4377,7 +4413,7 @@ const Dn = ({
4377
4413
  functions: {
4378
4414
  ...k,
4379
4415
  onChange: (D) => {
4380
- T({ type: "updateValue", payload: { key: te, value: D } }), k.onChange(D && D.toString(), T);
4416
+ E({ type: "updateValue", payload: { key: te, value: D } }), k.onChange(D && D.toString(), E);
4381
4417
  }
4382
4418
  }
4383
4419
  },
@@ -4393,7 +4429,7 @@ const Dn = ({
4393
4429
  "data-gtm-event-context": l.context,
4394
4430
  "data-gtm-event-type": l.event,
4395
4431
  disabled: A || F,
4396
- onClick: h,
4432
+ onClick: p,
4397
4433
  children: c.text || x.formatMessage({ id: "form_cancel" })
4398
4434
  }
4399
4435
  ),
@@ -4411,7 +4447,7 @@ const Dn = ({
4411
4447
  "data-gtm-event-context": l.context,
4412
4448
  "data-gtm-event-type": l.event,
4413
4449
  disabled: A || F,
4414
- onClick: h,
4450
+ onClick: p,
4415
4451
  children: c.text || x.formatMessage({ id: "form_cancel" })
4416
4452
  }
4417
4453
  ),
@@ -4452,13 +4488,13 @@ const vt = "passwordRules_", oa = "isMoreThanEightCharacters", ca = "includesNum
4452
4488
  className: t = ""
4453
4489
  }) => {
4454
4490
  const n = W();
4455
- return /* @__PURE__ */ a.jsxs("aside", { className: E("password-rules", t), children: [
4491
+ return /* @__PURE__ */ a.jsxs("aside", { className: T("password-rules", t), children: [
4456
4492
  /* @__PURE__ */ a.jsx("small", { children: n.formatMessage({ id: `${vt}intro` }) }),
4457
4493
  /* @__PURE__ */ a.jsx("ul", { children: [oa, ca, la].map(
4458
4494
  (r) => /* @__PURE__ */ a.jsxs(
4459
4495
  "li",
4460
4496
  {
4461
- className: E({ matches: e[r] }),
4497
+ className: T({ matches: e[r] }),
4462
4498
  children: [
4463
4499
  /* @__PURE__ */ a.jsxs(_e, { children: [
4464
4500
  n.formatMessage({ id: `${vt}rule_label` }),
@@ -4475,8 +4511,8 @@ const vt = "passwordRules_", oa = "isMoreThanEightCharacters", ca = "includesNum
4475
4511
  )
4476
4512
  ) })
4477
4513
  ] });
4478
- }, Zc = Oe(Si);
4479
- const Uc = ({
4514
+ }, Uc = Oe(Si);
4515
+ const Hc = ({
4480
4516
  text: e = {},
4481
4517
  topRating: t = 5,
4482
4518
  functions: {
@@ -4511,14 +4547,14 @@ const Uc = ({
4511
4547
  c && !u.setUp && f();
4512
4548
  }, [c]), !c)
4513
4549
  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` }),
4550
+ const { id: l, rating: m, disabled: p } = u, g = "ratings_", _ = {
4551
+ text: o.formatMessage({ id: `${g}text` }),
4552
+ low: o.formatMessage({ id: `${g}low` }),
4553
+ high: o.formatMessage({ id: `${g}high` }),
4554
+ success: o.formatMessage({ id: `${g}success` }),
4519
4555
  ...e
4520
4556
  }, v = async (b) => {
4521
- if (!(!l || h))
4557
+ if (!(!l || p))
4522
4558
  try {
4523
4559
  d((y) => ({ ...y, rating: b, disabled: !0 })), await r({ id: l, value: b });
4524
4560
  } catch (y) {
@@ -4527,14 +4563,14 @@ const Uc = ({
4527
4563
  d((y) => ({ ...y, disabled: !1 }));
4528
4564
  }
4529
4565
  };
4530
- return /* @__PURE__ */ a.jsxs("div", { className: E("rating", i), children: [
4531
- /* @__PURE__ */ a.jsx("span", { className: "label", children: g[m ? "success" : "text"] }),
4566
+ return /* @__PURE__ */ a.jsxs("div", { className: T("rating", i), children: [
4567
+ /* @__PURE__ */ a.jsx("span", { className: "label", children: _[m ? "success" : "text"] }),
4532
4568
  /* @__PURE__ */ a.jsx("ol", { children: Array.from(new Array(t).keys()).map((b) => {
4533
4569
  const y = b + 1;
4534
4570
  return /* @__PURE__ */ a.jsx(
4535
4571
  "li",
4536
4572
  {
4537
- className: E({ selected: m && y <= m }),
4573
+ className: T({ selected: m && y <= m }),
4538
4574
  children: /* @__PURE__ */ a.jsx(
4539
4575
  ee,
4540
4576
  {
@@ -4546,13 +4582,13 @@ const Uc = ({
4546
4582
  hover: "star"
4547
4583
  },
4548
4584
  screenreaderText: `${o.formatMessage(
4549
- { id: `${_}stars` },
4585
+ { id: `${g}stars` },
4550
4586
  { number: y, total: t }
4551
- )}${y === 1 || y === t ? ` - ${g[y === 1 ? "low" : "high"]}` : ""}`,
4587
+ )}${y === 1 || y === t ? ` - ${_[y === 1 ? "low" : "high"]}` : ""}`,
4552
4588
  onClick: (j) => {
4553
4589
  j.preventDefault(), j.stopPropagation(), v(y);
4554
4590
  },
4555
- disabled: h
4591
+ disabled: p
4556
4592
  }
4557
4593
  )
4558
4594
  },
@@ -4621,37 +4657,37 @@ const $i = ({
4621
4657
  initialFormStatus: d = "NOT_SUBMITTED"
4622
4658
  /* NOT_SUBMITTED */
4623
4659
  }) => {
4624
- const [f, l] = X([]), [m, h] = X(!0), [_, g] = X(d), { formatMessage: v } = W(), b = async (w) => {
4660
+ const [f, l] = X([]), [m, p] = X(!0), [g, _] = X(d), { formatMessage: v } = W(), b = async (w) => {
4625
4661
  w.preventDefault();
4626
4662
  try {
4627
- await u(f), l([]), g(
4663
+ await u(f), l([]), _(
4628
4664
  "SUCCESS"
4629
4665
  /* SUCCESS */
4630
4666
  );
4631
4667
  } catch (x) {
4632
- g(
4668
+ _(
4633
4669
  "ERROR"
4634
4670
  /* ERROR */
4635
4671
  ), o(x);
4636
4672
  }
4637
4673
  }, y = (w) => {
4638
- w.preventDefault(), g(
4674
+ w.preventDefault(), _(
4639
4675
  "NOT_SUBMITTED"
4640
4676
  /* NOT_SUBMITTED */
4641
- ), h(!0), l([]);
4677
+ ), p(!0), l([]);
4642
4678
  }, j = (w) => {
4643
- w.preventDefault(), c(), g(
4679
+ w.preventDefault(), c(), _(
4644
4680
  "CLOSED"
4645
4681
  /* CLOSED */
4646
4682
  );
4647
4683
  };
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: [
4684
+ return g === "CLOSED" ? null : g === "ERROR" || g === "SUCCESS" ? /* @__PURE__ */ a.jsxs("div", { className: "invite-form-wrapper", children: [
4685
+ /* @__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
4686
  " ",
4651
4687
  v({ id: "inviteForm_error" })
4652
4688
  ] }) }),
4653
4689
  /* @__PURE__ */ a.jsx(Ae, {}),
4654
- /* @__PURE__ */ a.jsx("div", { className: "footer", children: _ === "SUCCESS" ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
4690
+ /* @__PURE__ */ a.jsx("div", { className: "footer", children: g === "SUCCESS" ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
4655
4691
  /* @__PURE__ */ a.jsx(ee, { variant: "secondary", onClick: y, children: v({ id: "inviteForm_ctaSendMoreInvites" }) }),
4656
4692
  /* @__PURE__ */ a.jsx(ee, { onClick: j, children: v({ id: "inviteForm_ctaDone" }) })
4657
4693
  ] }) : /* @__PURE__ */ a.jsx(ee, { onClick: y, children: v({ id: "inviteForm_ctaTryAgain" }) }) })
@@ -4660,7 +4696,7 @@ const $i = ({
4660
4696
  {
4661
4697
  style: { backgroundColor: i },
4662
4698
  onSubmit: b,
4663
- className: E("invite-form gtm-trackable"),
4699
+ className: T("invite-form gtm-trackable"),
4664
4700
  children: [
4665
4701
  /* @__PURE__ */ a.jsxs("fieldset", { className: "content", children: [
4666
4702
  /* @__PURE__ */ a.jsx("h2", { className: "title", style: { color: r }, children: e }),
@@ -4673,7 +4709,7 @@ const $i = ({
4673
4709
  placeholder: v({ id: "inviteForm_email_placeholder" }),
4674
4710
  emails: f,
4675
4711
  onChange: (w) => {
4676
- l(w), h(!w.length);
4712
+ l(w), p(!w.length);
4677
4713
  },
4678
4714
  autoFocus: !1,
4679
4715
  getLabel: (w, x, O) => /* @__PURE__ */ a.jsxs("div", { className: "email text-medium", children: [
@@ -4685,7 +4721,7 @@ const $i = ({
4685
4721
  size: "small",
4686
4722
  icon: { icon: "close" },
4687
4723
  onClick: () => {
4688
- O(x), h(!f.length);
4724
+ O(x), p(!f.length);
4689
4725
  },
4690
4726
  className: "remove-email-button",
4691
4727
  screenreaderText: v({ id: "overlay_close" })
@@ -4720,7 +4756,7 @@ const Mi = ({
4720
4756
  "form",
4721
4757
  {
4722
4758
  onSubmit: f,
4723
- className: E("search-form gtm-trackable", t),
4759
+ className: T("search-form gtm-trackable", t),
4724
4760
  "data-gtm-event-context": s,
4725
4761
  "data-gtm-event-type": i,
4726
4762
  children: /* @__PURE__ */ a.jsx(
@@ -4864,7 +4900,7 @@ function Ri() {
4864
4900
  if (_r)
4865
4901
  return ce;
4866
4902
  _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;
4903
+ 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
4904
  function j(x) {
4869
4905
  if (typeof x == "object" && x !== null) {
4870
4906
  var O = x.$$typeof;
@@ -4882,8 +4918,8 @@ function Ri() {
4882
4918
  switch (x = x && x.$$typeof, x) {
4883
4919
  case o:
4884
4920
  case f:
4885
- case _:
4886
- case h:
4921
+ case g:
4922
+ case p:
4887
4923
  case c:
4888
4924
  return x;
4889
4925
  default:
@@ -4898,7 +4934,7 @@ function Ri() {
4898
4934
  function w(x) {
4899
4935
  return j(x) === d;
4900
4936
  }
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) {
4937
+ 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
4938
  return w(x) || j(x) === u;
4903
4939
  }, ce.isConcurrentMode = w, ce.isContextConsumer = function(x) {
4904
4940
  return j(x) === o;
@@ -4911,9 +4947,9 @@ function Ri() {
4911
4947
  }, ce.isFragment = function(x) {
4912
4948
  return j(x) === r;
4913
4949
  }, ce.isLazy = function(x) {
4914
- return j(x) === _;
4950
+ return j(x) === g;
4915
4951
  }, ce.isMemo = function(x) {
4916
- return j(x) === h;
4952
+ return j(x) === p;
4917
4953
  }, ce.isPortal = function(x) {
4918
4954
  return j(x) === n;
4919
4955
  }, ce.isProfiler = function(x) {
@@ -4923,7 +4959,7 @@ function Ri() {
4923
4959
  }, ce.isSuspense = function(x) {
4924
4960
  return j(x) === l;
4925
4961
  }, 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);
4962
+ 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
4963
  }, ce.typeOf = j, ce;
4928
4964
  }
4929
4965
  var le = {};
@@ -4938,10 +4974,10 @@ var le = {};
4938
4974
  var vr;
4939
4975
  function Pi() {
4940
4976
  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;
4977
+ 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
4978
  function j(N) {
4943
4979
  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);
4980
+ 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
4981
  }
4946
4982
  function w(N) {
4947
4983
  if (typeof N == "object" && N !== null) {
@@ -4962,8 +4998,8 @@ function Pi() {
4962
4998
  switch (Se) {
4963
4999
  case o:
4964
5000
  case f:
4965
- case _:
4966
- case h:
5001
+ case g:
5002
+ case p:
4967
5003
  case c:
4968
5004
  return Se;
4969
5005
  default:
@@ -4975,7 +5011,7 @@ function Pi() {
4975
5011
  }
4976
5012
  }
4977
5013
  }
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;
5014
+ 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
5015
  function ie(N) {
4980
5016
  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
5017
  }
@@ -4998,10 +5034,10 @@ function Pi() {
4998
5034
  return w(N) === r;
4999
5035
  }
5000
5036
  function H(N) {
5001
- return w(N) === _;
5037
+ return w(N) === g;
5002
5038
  }
5003
5039
  function q(N) {
5004
- return w(N) === h;
5040
+ return w(N) === p;
5005
5041
  }
5006
5042
  function Y(N) {
5007
5043
  return w(N) === n;
@@ -5015,7 +5051,7 @@ function Pi() {
5015
5051
  function re(N) {
5016
5052
  return w(N) === l;
5017
5053
  }
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;
5054
+ 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
5055
  }()), le;
5020
5056
  }
5021
5057
  process.env.NODE_ENV === "production" ? kn.exports = Ri() : kn.exports = Pi();
@@ -5115,16 +5151,16 @@ function Oi() {
5115
5151
  throw m.name = "Invariant Violation", m;
5116
5152
  }
5117
5153
  l = i[f](c, f, u, o, null, t);
5118
- } catch (_) {
5119
- l = _;
5154
+ } catch (g) {
5155
+ l = g;
5120
5156
  }
5121
5157
  if (l && !(l instanceof Error) && e(
5122
5158
  (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
5159
  ), l instanceof Error && !(l.message in n)) {
5124
5160
  n[l.message] = !0;
5125
- var h = d ? d() : "";
5161
+ var p = d ? d() : "";
5126
5162
  e(
5127
- "Failed " + o + " type: " + l.message + (h ?? "")
5163
+ "Failed " + o + " type: " + l.message + (p ?? "")
5128
5164
  );
5129
5165
  }
5130
5166
  }
@@ -5159,7 +5195,7 @@ function Fi() {
5159
5195
  if (typeof C == "function")
5160
5196
  return C;
5161
5197
  }
5162
- var m = "<<anonymous>>", h = {
5198
+ var m = "<<anonymous>>", p = {
5163
5199
  array: b("array"),
5164
5200
  bigint: b("bigint"),
5165
5201
  bool: b("boolean"),
@@ -5174,19 +5210,19 @@ function Fi() {
5174
5210
  elementType: x(),
5175
5211
  instanceOf: O,
5176
5212
  node: A(),
5177
- objectOf: T,
5213
+ objectOf: E,
5178
5214
  oneOf: $,
5179
5215
  oneOfType: P,
5180
5216
  shape: ue,
5181
5217
  exact: L
5182
5218
  };
5183
- function _(k, C) {
5219
+ function g(k, C) {
5184
5220
  return k === C ? k !== 0 || 1 / k === 1 / C : k !== k && C !== C;
5185
5221
  }
5186
- function g(k, C) {
5222
+ function _(k, C) {
5187
5223
  this.message = k, this.data = C && typeof C == "object" ? C : {}, this.stack = "";
5188
5224
  }
5189
- g.prototype = Error.prototype;
5225
+ _.prototype = Error.prototype;
5190
5226
  function v(k) {
5191
5227
  if (process.env.NODE_ENV !== "production")
5192
5228
  var C = {}, D = 0;
@@ -5205,7 +5241,7 @@ function Fi() {
5205
5241
  ), C[ge] = !0, D++);
5206
5242
  }
5207
5243
  }
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);
5244
+ 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
5245
  }
5210
5246
  var B = I.bind(null, !1);
5211
5247
  return B.isRequired = I.bind(null, !0), B;
@@ -5215,7 +5251,7 @@ function Fi() {
5215
5251
  var Y = D[I], J = Z(Y);
5216
5252
  if (J !== k) {
5217
5253
  var M = U(Y);
5218
- return new g(
5254
+ return new _(
5219
5255
  "Invalid " + K + " `" + H + "` of type " + ("`" + M + "` supplied to `" + B + "`, expected ") + ("`" + k + "`."),
5220
5256
  { expectedType: k }
5221
5257
  );
@@ -5230,11 +5266,11 @@ function Fi() {
5230
5266
  function j(k) {
5231
5267
  function C(D, I, B, K, H) {
5232
5268
  if (typeof k != "function")
5233
- return new g("Property `" + H + "` of component `" + B + "` has invalid PropType notation inside arrayOf.");
5269
+ return new _("Property `" + H + "` of component `" + B + "` has invalid PropType notation inside arrayOf.");
5234
5270
  var q = D[I];
5235
5271
  if (!Array.isArray(q)) {
5236
5272
  var Y = Z(q);
5237
- return new g("Invalid " + K + " `" + H + "` of type " + ("`" + Y + "` supplied to `" + B + "`, expected an array."));
5273
+ return new _("Invalid " + K + " `" + H + "` of type " + ("`" + Y + "` supplied to `" + B + "`, expected an array."));
5238
5274
  }
5239
5275
  for (var J = 0; J < q.length; J++) {
5240
5276
  var M = k(q, J, B, K, H + "[" + J + "]", n);
@@ -5250,7 +5286,7 @@ function Fi() {
5250
5286
  var H = C[D];
5251
5287
  if (!o(H)) {
5252
5288
  var q = Z(H);
5253
- return new g("Invalid " + B + " `" + K + "` of type " + ("`" + q + "` supplied to `" + I + "`, expected a single ReactElement."));
5289
+ return new _("Invalid " + B + " `" + K + "` of type " + ("`" + q + "` supplied to `" + I + "`, expected a single ReactElement."));
5254
5290
  }
5255
5291
  return null;
5256
5292
  }
@@ -5261,7 +5297,7 @@ function Fi() {
5261
5297
  var H = C[D];
5262
5298
  if (!e.isValidElementType(H)) {
5263
5299
  var q = Z(H);
5264
- return new g("Invalid " + B + " `" + K + "` of type " + ("`" + q + "` supplied to `" + I + "`, expected a single ReactElement type."));
5300
+ return new _("Invalid " + B + " `" + K + "` of type " + ("`" + q + "` supplied to `" + I + "`, expected a single ReactElement type."));
5265
5301
  }
5266
5302
  return null;
5267
5303
  }
@@ -5271,7 +5307,7 @@ function Fi() {
5271
5307
  function C(D, I, B, K, H) {
5272
5308
  if (!(D[I] instanceof k)) {
5273
5309
  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 + "`."));
5310
+ return new _("Invalid " + K + " `" + H + "` of type " + ("`" + Y + "` supplied to `" + B + "`, expected ") + ("instance of `" + q + "`."));
5275
5311
  }
5276
5312
  return null;
5277
5313
  }
@@ -5284,23 +5320,23 @@ function Fi() {
5284
5320
  ) : i("Invalid argument supplied to oneOf, expected an array.")), c;
5285
5321
  function C(D, I, B, K, H) {
5286
5322
  for (var q = D[I], Y = 0; Y < k.length; Y++)
5287
- if (_(q, k[Y]))
5323
+ if (g(q, k[Y]))
5288
5324
  return null;
5289
5325
  var J = JSON.stringify(k, function(re, N) {
5290
5326
  var ge = U(N);
5291
5327
  return ge === "symbol" ? String(N) : N;
5292
5328
  });
5293
- return new g("Invalid " + K + " `" + H + "` of value `" + String(q) + "` " + ("supplied to `" + B + "`, expected one of " + J + "."));
5329
+ return new _("Invalid " + K + " `" + H + "` of value `" + String(q) + "` " + ("supplied to `" + B + "`, expected one of " + J + "."));
5294
5330
  }
5295
5331
  return v(C);
5296
5332
  }
5297
- function T(k) {
5333
+ function E(k) {
5298
5334
  function C(D, I, B, K, H) {
5299
5335
  if (typeof k != "function")
5300
- return new g("Property `" + H + "` of component `" + B + "` has invalid PropType notation inside objectOf.");
5336
+ return new _("Property `" + H + "` of component `" + B + "` has invalid PropType notation inside objectOf.");
5301
5337
  var q = D[I], Y = Z(q);
5302
5338
  if (Y !== "object")
5303
- return new g("Invalid " + K + " `" + H + "` of type " + ("`" + Y + "` supplied to `" + B + "`, expected an object."));
5339
+ return new _("Invalid " + K + " `" + H + "` of type " + ("`" + Y + "` supplied to `" + B + "`, expected an object."));
5304
5340
  for (var J in q)
5305
5341
  if (r(q, J)) {
5306
5342
  var M = k(q, J, B, K, H + "." + J, n);
@@ -5329,18 +5365,18 @@ function Fi() {
5329
5365
  N.data && r(N.data, "expectedType") && J.push(N.data.expectedType);
5330
5366
  }
5331
5367
  var ge = J.length > 0 ? ", expected one of type [" + J.join(", ") + "]" : "";
5332
- return new g("Invalid " + q + " `" + Y + "` supplied to " + ("`" + H + "`" + ge + "."));
5368
+ return new _("Invalid " + q + " `" + Y + "` supplied to " + ("`" + H + "`" + ge + "."));
5333
5369
  }
5334
5370
  return v(I);
5335
5371
  }
5336
5372
  function A() {
5337
5373
  function k(C, D, I, B, K) {
5338
- return V(C[D]) ? null : new g("Invalid " + B + " `" + K + "` supplied to " + ("`" + I + "`, expected a ReactNode."));
5374
+ return V(C[D]) ? null : new _("Invalid " + B + " `" + K + "` supplied to " + ("`" + I + "`, expected a ReactNode."));
5339
5375
  }
5340
5376
  return v(k);
5341
5377
  }
5342
5378
  function F(k, C, D, I, B) {
5343
- return new g(
5379
+ return new _(
5344
5380
  (k || "React class") + ": " + C + " type `" + D + "." + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + B + "`."
5345
5381
  );
5346
5382
  }
@@ -5348,7 +5384,7 @@ function Fi() {
5348
5384
  function C(D, I, B, K, H) {
5349
5385
  var q = D[I], Y = Z(q);
5350
5386
  if (Y !== "object")
5351
- return new g("Invalid " + K + " `" + H + "` of type `" + Y + "` " + ("supplied to `" + B + "`, expected `object`."));
5387
+ return new _("Invalid " + K + " `" + H + "` of type `" + Y + "` " + ("supplied to `" + B + "`, expected `object`."));
5352
5388
  for (var J in k) {
5353
5389
  var M = k[J];
5354
5390
  if (typeof M != "function")
@@ -5365,14 +5401,14 @@ function Fi() {
5365
5401
  function C(D, I, B, K, H) {
5366
5402
  var q = D[I], Y = Z(q);
5367
5403
  if (Y !== "object")
5368
- return new g("Invalid " + K + " `" + H + "` of type `" + Y + "` " + ("supplied to `" + B + "`, expected `object`."));
5404
+ return new _("Invalid " + K + " `" + H + "` of type `" + Y + "` " + ("supplied to `" + B + "`, expected `object`."));
5369
5405
  var J = t({}, D[I], k);
5370
5406
  for (var M in J) {
5371
5407
  var re = k[M];
5372
5408
  if (r(k, M) && typeof re != "function")
5373
5409
  return F(B, K, H, M, U(re));
5374
5410
  if (!re)
5375
- return new g(
5411
+ return new _(
5376
5412
  "Invalid " + K + " `" + H + "` key `" + M + "` supplied to `" + B + "`.\nBad object: " + JSON.stringify(D[I], null, " ") + `
5377
5413
  Valid keys: ` + JSON.stringify(Object.keys(k), null, " ")
5378
5414
  );
@@ -5453,7 +5489,7 @@ Valid keys: ` + JSON.stringify(Object.keys(k), null, " ")
5453
5489
  function ie(k) {
5454
5490
  return !k.constructor || !k.constructor.name ? m : k.constructor.name;
5455
5491
  }
5456
- return h.checkPropTypes = s, h.resetWarningCache = s.resetWarningCache, h.PropTypes = h, h;
5492
+ return p.checkPropTypes = s, p.resetWarningCache = s.resetWarningCache, p.PropTypes = p, p;
5457
5493
  }, an;
5458
5494
  }
5459
5495
  var sn, kr;
@@ -5751,8 +5787,8 @@ function no(e, t) {
5751
5787
  l.observers[m](l);
5752
5788
  delete window[t.callbackName];
5753
5789
  }, 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] = {
5790
+ var l = this, m = this.setupScriptURL(), p = this.asyncScriptLoaderGetScriptLoaderID(), g = t, _ = g.globalName, v = g.callbackName, b = g.scriptId;
5791
+ if (_ && typeof window[_] < "u" && (Te[m] = {
5756
5792
  loaded: !0,
5757
5793
  observers: {}
5758
5794
  }), Te[m]) {
@@ -5761,13 +5797,13 @@ function no(e, t) {
5761
5797
  this.asyncScriptLoaderHandleLoad(y);
5762
5798
  return;
5763
5799
  }
5764
- y.observers[h] = function($) {
5800
+ y.observers[p] = function($) {
5765
5801
  return l.asyncScriptLoaderHandleLoad($);
5766
5802
  };
5767
5803
  return;
5768
5804
  }
5769
5805
  var j = {};
5770
- j[h] = function($) {
5806
+ j[p] = function($) {
5771
5807
  return l.asyncScriptLoaderHandleLoad($);
5772
5808
  }, Te[m] = {
5773
5809
  loaded: !1,
@@ -5778,38 +5814,38 @@ function no(e, t) {
5778
5814
  for (var x in t.attributes)
5779
5815
  w.setAttribute(x, t.attributes[x]);
5780
5816
  b && (w.id = b);
5781
- var O = function(T) {
5817
+ var O = function(E) {
5782
5818
  if (Te[m]) {
5783
5819
  var P = Te[m], A = P.observers;
5784
5820
  for (var F in A)
5785
- T(A[F]) && delete A[F];
5821
+ E(A[F]) && delete A[F];
5786
5822
  }
5787
5823
  };
5788
5824
  v && typeof window < "u" && (window[v] = function() {
5789
5825
  return l.asyncScriptLoaderTriggerOnScriptLoaded();
5790
5826
  }), w.onload = function() {
5791
5827
  var $ = Te[m];
5792
- $ && ($.loaded = !0, O(function(T) {
5793
- return v ? !1 : (T($), !0);
5828
+ $ && ($.loaded = !0, O(function(E) {
5829
+ return v ? !1 : (E($), !0);
5794
5830
  }));
5795
5831
  }, w.onerror = function() {
5796
5832
  var $ = Te[m];
5797
- $ && ($.errored = !0, O(function(T) {
5798
- return T($), !0;
5833
+ $ && ($.errored = !0, O(function(E) {
5834
+ return E($), !0;
5799
5835
  }));
5800
5836
  }, document.body.appendChild(w);
5801
5837
  }, d.componentWillUnmount = function() {
5802
5838
  var l = this.__scriptURL;
5803
5839
  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]);
5840
+ for (var m = document.getElementsByTagName("script"), p = 0; p < m.length; p += 1)
5841
+ m[p].src.indexOf(l) > -1 && m[p].parentNode && m[p].parentNode.removeChild(m[p]);
5842
+ var g = Te[l];
5843
+ g && (delete g.observers[this.asyncScriptLoaderGetScriptLoaderID()], t.removeOnUnmount === !0 && delete Te[l]);
5808
5844
  }, d.render = function() {
5809
5845
  var l = t.globalName, m = this.props;
5810
5846
  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, _);
5847
+ var p = m.forwardedRef, g = Xi(m, ["asyncScriptOnLoad", "forwardedRef"]);
5848
+ return l && typeof window < "u" && (g[l] = typeof window[l] < "u" ? window[l] : void 0), g.ref = p, cr(r, g);
5813
5849
  }, u;
5814
5850
  }(Wa), c = Ha(function(o, u) {
5815
5851
  return cr(i, Sn({}, o, {
@@ -5851,16 +5887,16 @@ const so = no(ao, {
5851
5887
  intl: f
5852
5888
  // We need to pass `intl` in as it's being used in a hook
5853
5889
  }) => {
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
- }, _ = [
5890
+ const { emailDetails: l, loadRecaptcha: m } = o, p = (_, v) => {
5891
+ _.current && o.validFields[v] !== _.current.validity.valid && u([{ type: `validFields.${v}`, value: _.current.validity.valid }]);
5892
+ }, g = [
5857
5893
  {
5858
5894
  id: "full_name",
5859
5895
  type: "text",
5860
5896
  inputRef: c.name,
5861
5897
  placeholder: f.formatMessage({ id: "signup_full_name_placeholder" }),
5862
5898
  functions: {
5863
- onChange: () => h(c.name, "name"),
5899
+ onChange: () => p(c.name, "name"),
5864
5900
  onFocus: () => u([{ type: "loadRecaptcha", value: !0 }])
5865
5901
  },
5866
5902
  autoComplete: "name",
@@ -5878,7 +5914,7 @@ const so = no(ao, {
5878
5914
  onBlur: () => {
5879
5915
  gr({ ref: c.email, validateEmail: t, dispatch: u });
5880
5916
  },
5881
- onChange: (g, v) => {
5917
+ onChange: (_, v) => {
5882
5918
  v && v({
5883
5919
  type: "updateValue",
5884
5920
  payload: { key: "terms", value: !1 }
@@ -5899,14 +5935,14 @@ const so = no(ao, {
5899
5935
  }
5900
5936
  }
5901
5937
  ];
5902
- return o.shouldManuallyApprove && (_.push(
5938
+ return o.shouldManuallyApprove && (g.push(
5903
5939
  {
5904
5940
  id: "job_title",
5905
5941
  type: "text",
5906
5942
  inputRef: c.jobTitle,
5907
5943
  placeholder: f.formatMessage({ id: "signup_job_title_placeholder" }),
5908
5944
  functions: {
5909
- onChange: () => h(c.jobTitle, "jobTitle")
5945
+ onChange: () => p(c.jobTitle, "jobTitle")
5910
5946
  },
5911
5947
  validation: [{ condition: "required" }],
5912
5948
  "data-testid": "signup-job-input"
@@ -5920,37 +5956,37 @@ const so = no(ao, {
5920
5956
  }),
5921
5957
  functions: {
5922
5958
  onChange: () => {
5923
- h(c.organisation, "organisation");
5959
+ p(c.organisation, "organisation");
5924
5960
  }
5925
5961
  },
5926
5962
  validation: [{ condition: "required" }],
5927
5963
  "data-testid": "signup-org-input"
5928
5964
  }
5929
- ), e.url && _.push({
5965
+ ), e.url && g.push({
5930
5966
  id: "url",
5931
5967
  type: "text",
5932
5968
  label: f.formatMessage(
5933
5969
  { id: "signup_url" },
5934
5970
  {
5935
- small: (g) => /* @__PURE__ */ a.jsx("small", { children: g })
5971
+ small: (_) => /* @__PURE__ */ a.jsx("small", { children: _ })
5936
5972
  }
5937
5973
  ),
5938
5974
  placeholder: f.formatMessage({ id: "signup_url_placeholder" }),
5939
5975
  validation: [{ condition: "valid-url" }],
5940
5976
  "data-testid": "signup-url-input"
5941
- })), e.expectation && _.push({
5977
+ })), e.expectation && g.push({
5942
5978
  id: "expectation",
5943
5979
  className: "expectation",
5944
5980
  type: "text",
5945
5981
  label: f.formatMessage(
5946
5982
  { id: "signup_expectation" },
5947
5983
  {
5948
- small: (g) => /* @__PURE__ */ a.jsx("small", { className: "notes text-small", children: g })
5984
+ small: (_) => /* @__PURE__ */ a.jsx("small", { className: "notes text-small", children: _ })
5949
5985
  }
5950
5986
  ),
5951
5987
  placeholder: f.formatMessage({ id: "signup_expectation_placeholder" }),
5952
5988
  "data-testid": "signup-events-question"
5953
- }), _.push({
5989
+ }), g.push({
5954
5990
  id: "terms",
5955
5991
  className: "text-small",
5956
5992
  type: "checkbox",
@@ -5958,32 +5994,32 @@ const so = no(ao, {
5958
5994
  label: f.formatMessage(
5959
5995
  { id: "signup_terms" },
5960
5996
  {
5961
- terms: (g) => /* @__PURE__ */ a.jsx(
5997
+ terms: (_) => /* @__PURE__ */ a.jsx(
5962
5998
  "a",
5963
5999
  {
5964
6000
  href: "https://about.apolitical.co/terms-and-conditions",
5965
6001
  "data-gtm-event-context": "SignupForm",
5966
6002
  "data-gtm-event-type": "terms-of-service-click",
5967
6003
  className: "gtm-trackable",
5968
- children: g
6004
+ children: _
5969
6005
  }
5970
6006
  ),
5971
- privacy: (g) => /* @__PURE__ */ a.jsx(
6007
+ privacy: (_) => /* @__PURE__ */ a.jsx(
5972
6008
  "a",
5973
6009
  {
5974
6010
  href: "https://about.apolitical.co/privacy-policy",
5975
6011
  "data-gtm-event-context": "SignupForm",
5976
6012
  "data-gtm-event-type": "privacy-policy-click",
5977
6013
  className: "gtm-trackable",
5978
- children: g
6014
+ children: _
5979
6015
  }
5980
6016
  )
5981
6017
  }
5982
6018
  ),
5983
6019
  shownValue: "accepted",
5984
6020
  functions: {
5985
- onChange: (g) => {
5986
- if (!g)
6021
+ onChange: (_) => {
6022
+ if (!_)
5987
6023
  return;
5988
6024
  const v = [];
5989
6025
  ["name", "email"].forEach((b) => {
@@ -5996,7 +6032,7 @@ const so = no(ao, {
5996
6032
  },
5997
6033
  validation: [{ condition: "required" }],
5998
6034
  "data-testid": "signup-terms-checkbox"
5999
- }), !l.isEnd2End && m && _.push({
6035
+ }), !l.isEnd2End && m && g.push({
6000
6036
  component: so,
6001
6037
  functions: { onChange: () => {
6002
6038
  } },
@@ -6016,12 +6052,12 @@ const so = no(ao, {
6016
6052
  size: "invisible",
6017
6053
  badge: "bottomright"
6018
6054
  }
6019
- }), _;
6055
+ }), g;
6020
6056
  };
6021
6057
  const oo = ({ className: e = "" }) => /* @__PURE__ */ a.jsxs(
6022
6058
  "div",
6023
6059
  {
6024
- className: E("success-message", e),
6060
+ className: T("success-message", e),
6025
6061
  "data-testid": "success-message",
6026
6062
  children: [
6027
6063
  /* @__PURE__ */ a.jsx("p", { className: "success-title", children: /* @__PURE__ */ a.jsx(we, { id: "signup_success_title" }) }),
@@ -6049,7 +6085,7 @@ const co = {
6049
6085
  loadRecaptcha: !1,
6050
6086
  showSuccessMessage: !1,
6051
6087
  showError: !1
6052
- }, Hc = ({
6088
+ }, Wc = ({
6053
6089
  className: e = "",
6054
6090
  functions: t = {
6055
6091
  validateEmail: () => Promise.resolve(),
@@ -6075,8 +6111,8 @@ const co = {
6075
6111
  emailDetails: f,
6076
6112
  shouldManuallyApprove: l,
6077
6113
  showSuccessMessage: m,
6078
- showError: h
6079
- } = o, [_, g] = Br([
6114
+ showError: p
6115
+ } = o, [g, _] = Br([
6080
6116
  "signup-this-session",
6081
6117
  "functional-cookie-consent"
6082
6118
  ]), v = {
@@ -6092,14 +6128,14 @@ const co = {
6092
6128
  se(() => {
6093
6129
  l === !0 && v.jobTitle.current && v.jobTitle.current.focus();
6094
6130
  }, [l]), se(() => {
6095
- (i.showSuccessMessage || _["signup-this-session"]) && u([{ type: "showSuccessMessage", value: !0 }]);
6096
- }, [_]), se(() => {
6097
- if (m && _["functional-cookie-consent"]) {
6131
+ (i.showSuccessMessage || g["signup-this-session"]) && u([{ type: "showSuccessMessage", value: !0 }]);
6132
+ }, [g]), se(() => {
6133
+ if (m && g["functional-cookie-consent"]) {
6098
6134
  const j = {
6099
6135
  path: "/",
6100
6136
  maxAge: 3600
6101
6137
  };
6102
- i.showSuccessMessage || g("signup-this-session", "true", j);
6138
+ i.showSuccessMessage || _("signup-this-session", "true", j);
6103
6139
  }
6104
6140
  }, [m]);
6105
6141
  const b = ct(() => io({
@@ -6114,11 +6150,11 @@ const co = {
6114
6150
  return n.successMessage && m ? /* @__PURE__ */ a.jsx(oo, { className: e }) : /* @__PURE__ */ a.jsxs(
6115
6151
  "fieldset",
6116
6152
  {
6117
- className: E("signup-form-fieldset", e),
6153
+ className: T("signup-form-fieldset", e),
6118
6154
  "data-testid": "signup-form",
6119
6155
  children: [
6120
6156
  n.title && /* @__PURE__ */ a.jsx("p", { className: "signup-title", children: /* @__PURE__ */ a.jsx(we, { id: "signup_title" }) }),
6121
- h && /* @__PURE__ */ a.jsx(
6157
+ p && /* @__PURE__ */ a.jsx(
6122
6158
  Ke,
6123
6159
  {
6124
6160
  variant: "error",
@@ -6188,7 +6224,7 @@ const co = {
6188
6224
  );
6189
6225
  };
6190
6226
  let on;
6191
- const cn = "contactFooter_", Wc = ({ onSuccess: e = async () => {
6227
+ const cn = "contactFooter_", Vc = ({ onSuccess: e = async () => {
6192
6228
  }, onFailure: t = () => {
6193
6229
  } }) => {
6194
6230
  const n = me(null), [r, s] = z.useState(0), [i, c] = z.useState(!1), o = () => {
@@ -6225,7 +6261,7 @@ const cn = "contactFooter_", Wc = ({ onSuccess: e = async () => {
6225
6261
  }
6226
6262
  )
6227
6263
  ] }) });
6228
- }, Vc = ({ activeLink: e, ...t }) => /* @__PURE__ */ a.jsx(Ge, { children: /* @__PURE__ */ a.jsx(vi, { layout: "1-3", children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
6264
+ }, Yc = ({ activeLink: e, ...t }) => /* @__PURE__ */ a.jsx(Ge, { children: /* @__PURE__ */ a.jsx(vi, { layout: "1-3", children: /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
6229
6265
  /* @__PURE__ */ a.jsx(pi, { activeLink: e }),
6230
6266
  /* @__PURE__ */ a.jsx(Gs, { ...t })
6231
6267
  ] }) }) });
@@ -6675,9 +6711,9 @@ const Ue = "footer_", Ct = "SiteFooter", Cr = ({ group: e }) => {
6675
6711
  ...o.props || {}
6676
6712
  });
6677
6713
  }
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;
6714
+ 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
6715
  let v = {}, b = {};
6680
- if (h) {
6716
+ if (p) {
6681
6717
  const y = o.menuId || e, j = {
6682
6718
  onClick: (w) => de.events.onClick(w, { id: y, callback: s, isOpen: r[y] }),
6683
6719
  onFocus: () => de.events.onFocus({ id: y }),
@@ -6685,7 +6721,7 @@ const Ue = "footer_", Ct = "SiteFooter", Cr = ({ group: e }) => {
6685
6721
  onMouseLeave: () => de.events.onBlur({ id: y, callback: s }),
6686
6722
  onMouseEnter: () => de.events.onMouseEnter({ id: y, callback: s })
6687
6723
  };
6688
- n && (_ && (v = {
6724
+ n && (g && (v = {
6689
6725
  ...j,
6690
6726
  onKeyPress: (w) => {
6691
6727
  w.key === "Enter" && de.events.onClick(w, { id: y, callback: s, isOpen: r[y] });
@@ -6695,7 +6731,7 @@ const Ue = "footer_", Ct = "SiteFooter", Cr = ({ group: e }) => {
6695
6731
  "aria-haspopup": !0,
6696
6732
  "aria-expanded": r[y],
6697
6733
  "aria-controls": y
6698
- }), b = { hidden: y in r ? !r[y] : !0 }), _ || (b = {
6734
+ }), b = { hidden: y in r ? !r[y] : !0 }), g || (b = {
6699
6735
  ...b,
6700
6736
  ...j
6701
6737
  });
@@ -6703,11 +6739,11 @@ const Ue = "footer_", Ct = "SiteFooter", Cr = ({ group: e }) => {
6703
6739
  return /* @__PURE__ */ a.jsxs(
6704
6740
  "li",
6705
6741
  {
6706
- className: E({
6742
+ className: T({
6707
6743
  [o.className]: o.className,
6708
- "has-submenu": h,
6709
- parent: _,
6710
- active: g
6744
+ "has-submenu": p,
6745
+ parent: g,
6746
+ active: _
6711
6747
  }),
6712
6748
  role: "none",
6713
6749
  ...v,
@@ -6730,7 +6766,7 @@ const Ue = "footer_", Ct = "SiteFooter", Cr = ({ group: e }) => {
6730
6766
  return o[y].order ? /* @__PURE__ */ a.jsxs(
6731
6767
  "li",
6732
6768
  {
6733
- className: E({
6769
+ className: T({
6734
6770
  [o[y].className]: o[y].className
6735
6771
  }),
6736
6772
  children: [
@@ -6783,8 +6819,8 @@ const uo = { height: 67, height_desktop: 83 }, ha = ({ showNavigation: e = !0 })
6783
6819
  }
6784
6820
  }
6785
6821
  });
6786
- const l = (h, _) => {
6787
- de.handleMenus({ id: h, value: _, menus: d, dispatch: o });
6822
+ const l = (p, g) => {
6823
+ de.handleMenus({ id: p, value: g, menus: d, dispatch: o });
6788
6824
  }, m = me(null);
6789
6825
  return ot(() => {
6790
6826
  d.navigation && de.autoFocus({
@@ -6807,7 +6843,7 @@ const uo = { height: 67, height_desktop: 83 }, ha = ({ showNavigation: e = !0 })
6807
6843
  "nav",
6808
6844
  {
6809
6845
  id: "header",
6810
- className: E({
6846
+ className: T({
6811
6847
  "logged-in": s,
6812
6848
  "logged-out": !s,
6813
6849
  visible: u
@@ -6827,8 +6863,8 @@ const uo = { height: 67, height_desktop: 83 }, ha = ({ showNavigation: e = !0 })
6827
6863
  "button",
6828
6864
  {
6829
6865
  className: "menu-button gtm-trackable",
6830
- onClick: (h) => {
6831
- h.preventDefault(), h.stopPropagation(), l("navigation", !d.navigation);
6866
+ onClick: (p) => {
6867
+ p.preventDefault(), p.stopPropagation(), l("navigation", !d.navigation);
6832
6868
  },
6833
6869
  "data-gtm-event-type": "open-tab-menu-click",
6834
6870
  "data-gtm-event-context": "HeaderLeft-Chevron",
@@ -6848,16 +6884,16 @@ const uo = { height: 67, height_desktop: 83 }, ha = ({ showNavigation: e = !0 })
6848
6884
  hidden: i.navigation || d.account ? !1 : !d.navigation,
6849
6885
  role: "menu",
6850
6886
  "data-showing": !i.navigation && d.account ? "account" : "default",
6851
- children: $t.order.map((h) => /* @__PURE__ */ a.jsx(
6887
+ children: $t.order.map((p) => /* @__PURE__ */ a.jsx(
6852
6888
  Mt,
6853
6889
  {
6854
- id: h,
6890
+ id: p,
6855
6891
  isLoggedIn: s,
6856
6892
  isDesktopVersion: i.navigation,
6857
6893
  menus: { navigation: d.navigation, account: d.account },
6858
6894
  callback: l
6859
6895
  },
6860
- h
6896
+ p
6861
6897
  ))
6862
6898
  }
6863
6899
  ),
@@ -6865,8 +6901,8 @@ const uo = { height: 67, height_desktop: 83 }, ha = ({ showNavigation: e = !0 })
6865
6901
  "button",
6866
6902
  {
6867
6903
  className: "search toggle-search-button",
6868
- onClick: (h) => {
6869
- h.preventDefault(), h.stopPropagation(), l("search", !d.search);
6904
+ onClick: (p) => {
6905
+ p.preventDefault(), p.stopPropagation(), l("search", !d.search);
6870
6906
  },
6871
6907
  "aria-haspopup": "true",
6872
6908
  "aria-expanded": d.search,
@@ -6897,7 +6933,7 @@ const uo = { height: 67, height_desktop: 83 }, ha = ({ showNavigation: e = !0 })
6897
6933
  "button",
6898
6934
  {
6899
6935
  className: "account-button",
6900
- onClick: (h) => de.events.onClick(h, {
6936
+ onClick: (p) => de.events.onClick(p, {
6901
6937
  id: "account",
6902
6938
  callback: l,
6903
6939
  isOpen: d.account
@@ -6920,7 +6956,7 @@ const uo = { height: 67, height_desktop: 83 }, ha = ({ showNavigation: e = !0 })
6920
6956
  )
6921
6957
  ]
6922
6958
  }
6923
- ) : /* @__PURE__ */ a.jsx("ul", { className: "sign-in-buttons", children: $t.buttons.order.map((h) => /* @__PURE__ */ a.jsx(Mt, { id: `buttons.${h}` }, h)) })
6959
+ ) : /* @__PURE__ */ a.jsx("ul", { className: "sign-in-buttons", children: $t.buttons.order.map((p) => /* @__PURE__ */ a.jsx(Mt, { id: `buttons.${p}` }, p)) })
6924
6960
  ] })
6925
6961
  ]
6926
6962
  }
@@ -6929,7 +6965,7 @@ const uo = { height: 67, height_desktop: 83 }, ha = ({ showNavigation: e = !0 })
6929
6965
  /* @__PURE__ */ a.jsx(
6930
6966
  "div",
6931
6967
  {
6932
- className: E("overlay", {
6968
+ className: T("overlay", {
6933
6969
  open: d.navigation || d.account || !i.search && d.search
6934
6970
  })
6935
6971
  }
@@ -6937,7 +6973,7 @@ const uo = { height: 67, height_desktop: 83 }, ha = ({ showNavigation: e = !0 })
6937
6973
  ] });
6938
6974
  };
6939
6975
  const ga = ({ element: e = "section", children: t, className: n, ...r }) => z.createElement(e, {
6940
- className: E("modal", n),
6976
+ className: T("modal", n),
6941
6977
  children: typeof t == "string" ? /* @__PURE__ */ a.jsx("p", { children: t }) : t,
6942
6978
  ...r
6943
6979
  });
@@ -6956,19 +6992,19 @@ const Zn = ({
6956
6992
  className: f = "",
6957
6993
  gtmContext: l = "Modal"
6958
6994
  }) => {
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"));
6995
+ const m = W(), [p, g] = X(t), _ = (b) => {
6996
+ g(b), b ? (s(), document.body.classList.add("has-overlay")) : (i(), document.body.classList.remove("has-overlay"));
6961
6997
  };
6962
6998
  se(() => {
6963
- g(t);
6999
+ _(t);
6964
7000
  }, [t]);
6965
7001
  const v = r ? { "--max-width": `${r / 16}rem` } : {};
6966
- return /* @__PURE__ */ a.jsx("div", { className: E("overlay", { open: h }), children: /* @__PURE__ */ a.jsx(
7002
+ return /* @__PURE__ */ a.jsx("div", { className: T("overlay", { open: p }), children: /* @__PURE__ */ a.jsx(
6967
7003
  ga,
6968
7004
  {
6969
7005
  id: e,
6970
- className: E("overlay-modal", f, { "has-max-width": r }),
6971
- hidden: !h,
7006
+ className: T("overlay-modal", f, { "has-max-width": r }),
7007
+ hidden: !p,
6972
7008
  style: v,
6973
7009
  children: t && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
6974
7010
  /* @__PURE__ */ a.jsxs("div", { className: "top", children: [
@@ -6979,7 +7015,7 @@ const Zn = ({
6979
7015
  variant: "tertiary",
6980
7016
  size: "medium",
6981
7017
  icon: { icon: "close" },
6982
- onClick: () => g(!1),
7018
+ onClick: () => _(!1),
6983
7019
  className: "gtm-trackable",
6984
7020
  "data-gtm-event-type": "close-modal-click",
6985
7021
  "data-gtm-event-context": l,
@@ -7002,7 +7038,7 @@ const Zn = ({
7002
7038
  "aria-expanded": t,
7003
7039
  "aria-controls": e
7004
7040
  });
7005
- const Yc = ({
7041
+ const Gc = ({
7006
7042
  className: e,
7007
7043
  showModal: t = !0,
7008
7044
  title: n,
@@ -7022,7 +7058,7 @@ const Yc = ({
7022
7058
  showDivider: !1,
7023
7059
  showIcon: c,
7024
7060
  functions: { onClose: o },
7025
- className: E("invite-modal", e, { success: !!n }),
7061
+ className: T("invite-modal", e, { success: !!n }),
7026
7062
  children: /* @__PURE__ */ a.jsx(
7027
7063
  $i,
7028
7064
  {
@@ -7058,30 +7094,44 @@ const mo = () => {
7058
7094
  className: c = "",
7059
7095
  locale: o = "en"
7060
7096
  }) => {
7061
- const { navigation: u = !0, footer: d = !0 } = s, { background: f = "default", variant: l = "default", circle: m = "default" } = i, h = us();
7097
+ const { navigation: u = !0, footer: d = !0 } = s, {
7098
+ background: f = "default",
7099
+ variant: l = "default",
7100
+ circle: m = "default",
7101
+ modal: p = "default"
7102
+ } = i, g = us();
7062
7103
  se(() => {
7063
7104
  window.scrollTo(0, 0);
7064
- }, [h]);
7065
- const _ = jt(e, { locale: o }), g = jt(t, {
7105
+ }, [g]);
7106
+ const _ = jt(e, { locale: o }), v = jt(t, {
7066
7107
  locale: o
7067
- }), v = jt(n, {
7108
+ }), b = jt(n, {
7068
7109
  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(
7110
+ }), y = {};
7111
+ 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
7112
  "div",
7072
7113
  {
7073
7114
  id: "wrapper",
7074
- className: E(c, b, { "has-footer": d }),
7115
+ className: T(c, y, { "has-footer": d }),
7075
7116
  children: [
7076
7117
  /* @__PURE__ */ a.jsx(ha, { showNavigation: u }),
7077
7118
  /* @__PURE__ */ a.jsxs("section", { id: "content-wrapper", children: [
7078
- g && /* @__PURE__ */ a.jsx("div", { className: "additional-content prepended", children: g }),
7119
+ v && /* @__PURE__ */ a.jsx(
7120
+ "div",
7121
+ {
7122
+ className: T("additional-content prepended", {
7123
+ "large-modal": p === "large"
7124
+ }),
7125
+ children: v
7126
+ }
7127
+ ),
7079
7128
  z.createElement(f === "bold" ? ga : "div", {
7080
7129
  id: "content",
7081
- children: _
7130
+ children: _,
7131
+ className: T({ "large-modal": p === "large" })
7082
7132
  })
7083
7133
  ] }),
7084
- v && /* @__PURE__ */ a.jsx("div", { className: "additional-content appended", children: v }),
7134
+ b && /* @__PURE__ */ a.jsx("div", { className: "additional-content appended", children: b }),
7085
7135
  d && /* @__PURE__ */ a.jsx(pa, {}),
7086
7136
  /* @__PURE__ */ a.jsx(lo, {})
7087
7137
  ]
@@ -7118,7 +7168,7 @@ const mo = () => {
7118
7168
  return fn[e] ? (e = fn[e], { id: e, text: `${$r.default}${e}` }) : null;
7119
7169
  }
7120
7170
  };
7121
- const Gc = ({
7171
+ const Kc = ({
7122
7172
  tags: e = [],
7123
7173
  color: t = "default",
7124
7174
  forceOneLine: n = !1,
@@ -7139,7 +7189,7 @@ const Gc = ({
7139
7189
  }), u.length < 1 ? null : /* @__PURE__ */ a.jsx(
7140
7190
  "ul",
7141
7191
  {
7142
- className: E("tags text-small", t, s, {
7192
+ className: T("tags text-small", t, s, {
7143
7193
  "one-line": n
7144
7194
  }),
7145
7195
  children: u.map((d) => {
@@ -7158,7 +7208,7 @@ const Gc = ({
7158
7208
  }
7159
7209
  );
7160
7210
  };
7161
- const Kc = ({
7211
+ const Qc = ({
7162
7212
  members: { data: e = [], total: t = e.length },
7163
7213
  hasNextPage: n = !1,
7164
7214
  loadNextPage: r = () => {
@@ -7168,7 +7218,7 @@ const Kc = ({
7168
7218
  className: c = ""
7169
7219
  }) => {
7170
7220
  const o = W();
7171
- return e.length === 0 ? null : /* @__PURE__ */ a.jsxs("div", { className: E("members-list", c), children: [
7221
+ return e.length === 0 ? null : /* @__PURE__ */ a.jsxs("div", { className: T("members-list", c), children: [
7172
7222
  /* @__PURE__ */ a.jsxs("h1", { children: [
7173
7223
  o.formatMessage({ id: "membersList" }),
7174
7224
  /* @__PURE__ */ a.jsx("span", { className: "count", children: t })
@@ -7223,9 +7273,9 @@ const ye = "discussion_form_", Un = ({
7223
7273
  gtmContext: d = "DiscussionForm"
7224
7274
  }) => {
7225
7275
  var A, F, ue;
7226
- const f = W(), l = $e(Fe), [m, h] = X(
7276
+ const f = W(), l = $e(Fe), [m, p] = X(
7227
7277
  n.isEditing && n.isEditing.text || ""
7228
- ), [_, g] = X(o.error || !1), [v, b] = X(!1), y = me(null);
7278
+ ), [g, _] = X(o.error || !1), [v, b] = X(!1), y = me(null);
7229
7279
  if (r || (r = y), n.isLoading)
7230
7280
  return /* @__PURE__ */ a.jsx(
7231
7281
  Ee,
@@ -7236,7 +7286,7 @@ const ye = "discussion_form_", Un = ({
7236
7286
  );
7237
7287
  const j = (L) => {
7238
7288
  const V = L.target.value;
7239
- h(V);
7289
+ p(V);
7240
7290
  let G;
7241
7291
  !l || !l.id ? G = Ce(
7242
7292
  f.formatMessage,
@@ -7248,7 +7298,7 @@ const ye = "discussion_form_", Un = ({
7248
7298
  `${ye}error_noPermission`,
7249
7299
  e.type,
7250
7300
  "action"
7251
- ), G ? g(G) : _ && g(!1);
7301
+ ), G ? _(G) : g && _(!1);
7252
7302
  };
7253
7303
  let w = `${e.type}-form`;
7254
7304
  if (e.type === "response" || e.type === "reply") {
@@ -7290,7 +7340,7 @@ const ye = "discussion_form_", Un = ({
7290
7340
  break;
7291
7341
  }
7292
7342
  await bs(1e3), u.callback && await u.callback(Z), yt = setTimeout(() => {
7293
- h(""), b("submitted");
7343
+ p(""), b("submitted");
7294
7344
  const U = new Event("discussionFormSubmitted");
7295
7345
  document.dispatchEvent(U), O();
7296
7346
  }, 500);
@@ -7307,14 +7357,14 @@ const ye = "discussion_form_", Un = ({
7307
7357
  `${ye}error_tooMany`,
7308
7358
  e.type,
7309
7359
  "action"
7310
- ) : U != null && U.message.includes("400") && (te = `${ye}error`), g(te), O();
7360
+ ) : U != null && U.message.includes("400") && (te = `${ye}error`), _(te), O();
7311
7361
  }
7312
7362
  }, O = () => {
7313
7363
  yt = setTimeout(() => {
7314
- g(!1), b(!1);
7364
+ _(!1), b(!1);
7315
7365
  }, 5e3);
7316
- }, $ = !m || !Es(m), T = v === "submitting", P = [];
7317
- return (n.isEditing && !T || o.cancel) && P.push({
7366
+ }, $ = !m || !Es(m), E = v === "submitting", P = [];
7367
+ return (n.isEditing && !E || o.cancel) && P.push({
7318
7368
  variant: "secondary",
7319
7369
  size: { mobile: "small", 600: "medium" },
7320
7370
  onClick: u.handleCancel,
@@ -7339,15 +7389,15 @@ const ye = "discussion_form_", Un = ({
7339
7389
  "data-gtm-event-context": d,
7340
7390
  "data-gtm-event-type": `${n.isEditing ? "save" : "submit"}-${e.type}-click`,
7341
7391
  "data-testid": "save-button",
7342
- disabled: !l || !l.id || !t || $ || T || n.isEditing && m === n.isEditing.text,
7392
+ disabled: !l || !l.id || !t || $ || E || n.isEditing && m === n.isEditing.text,
7343
7393
  children: f.formatMessage({
7344
- id: `${ye}${T ? n.isEditing ? "saving" : "posting" : n.isEditing ? "save" : "post"}`
7394
+ id: `${ye}${E ? n.isEditing ? "saving" : "posting" : n.isEditing ? "save" : "post"}`
7345
7395
  })
7346
7396
  }), /* @__PURE__ */ a.jsxs(
7347
7397
  "form",
7348
7398
  {
7349
7399
  id: w,
7350
- className: E("discussion-card discussion-form", {
7400
+ className: T("discussion-card discussion-form", {
7351
7401
  "no-styling": n.isInWrapper && n.isEditing
7352
7402
  }),
7353
7403
  "data-testid": `discussion-${e.type}-form`,
@@ -7375,9 +7425,9 @@ const ye = "discussion_form_", Un = ({
7375
7425
  "action"
7376
7426
  ),
7377
7427
  onChange: j,
7378
- value: v === "submitting" && !_ ? "" : m,
7428
+ value: v === "submitting" && !g ? "" : m,
7379
7429
  maxLength: i,
7380
- "aria-invalid": !!_,
7430
+ "aria-invalid": !!g,
7381
7431
  "aria-errormessage": "error-message",
7382
7432
  minRows: c,
7383
7433
  autoFocus: !!n.isEditing
@@ -7399,15 +7449,15 @@ const ye = "discussion_form_", Un = ({
7399
7449
  }) }),
7400
7450
  /* @__PURE__ */ a.jsx(At, { buttons: P }),
7401
7451
  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: _ },
7452
+ 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(
7453
+ { id: g },
7404
7454
  {
7405
7455
  action: f.formatMessage({
7406
7456
  id: `discussion_action_${e.type}`
7407
7457
  }),
7408
7458
  maxLength: i
7409
7459
  }
7410
- ) : _ })
7460
+ ) : g })
7411
7461
  ]
7412
7462
  }
7413
7463
  );
@@ -7470,36 +7520,36 @@ const mn = () => {
7470
7520
  }) => {
7471
7521
  const d = W();
7472
7522
  se(() => {
7473
- h(s);
7523
+ p(s);
7474
7524
  }, [s]);
7475
- const [f, l] = X(t), [m, h] = X(s), [_, g] = X(!1), [v, b] = X(!1), y = ct(
7525
+ const [f, l] = X(t), [m, p] = X(s), [g, _] = X(!1), [v, b] = X(!1), y = ct(
7476
7526
  () => bo(n, pn),
7477
7527
  [n]
7478
7528
  ), j = (x) => {
7479
7529
  if (x.preventDefault(), x.stopPropagation(), b(!1), st)
7480
7530
  return mn(), !1;
7481
- if (mn(), _ || !c)
7531
+ if (mn(), g || !c)
7482
7532
  return !1;
7483
7533
  st = setTimeout(w, 350);
7484
7534
  }, w = async () => {
7485
- if (mn(), _ || !c)
7535
+ if (mn(), g || !c)
7486
7536
  return !1;
7487
7537
  let x = m ? f - 1 : f + 1;
7488
- x < 0 && (x = 0), g(!0), l(x), h(!m);
7538
+ x < 0 && (x = 0), _(!0), l(x), p(!m);
7489
7539
  try {
7490
7540
  if (i && i.slugs) {
7491
7541
  const O = vo(i.slugs);
7492
7542
  m ? await u(O) : await o(O, { contentPath: window.location.pathname });
7493
7543
  }
7494
7544
  } catch {
7495
- l(t), h(s);
7545
+ l(t), p(s);
7496
7546
  } finally {
7497
- g(!1);
7547
+ _(!1);
7498
7548
  }
7499
7549
  };
7500
7550
  return z.createElement(e, {
7501
- className: E("likes-wrapper text-medium action-button", {
7502
- "show-spinner": _,
7551
+ className: T("likes-wrapper text-medium action-button", {
7552
+ "show-spinner": g,
7503
7553
  "is-liked": m,
7504
7554
  disabled: !c
7505
7555
  }),
@@ -7523,7 +7573,7 @@ const mn = () => {
7523
7573
  variant: "tertiary",
7524
7574
  size: "medium",
7525
7575
  icon: { icon: m ? "heart" : "heart_empty", animate: "bounce" },
7526
- className: E({ "do-animation": m && !s }),
7576
+ className: T({ "do-animation": m && !s }),
7527
7577
  screenreaderText: c ? d.formatMessage(
7528
7578
  {
7529
7579
  id: `discussion_likes_${m ? "unlike" : "like"}`
@@ -7545,7 +7595,7 @@ const mn = () => {
7545
7595
  /* @__PURE__ */ a.jsx(
7546
7596
  "span",
7547
7597
  {
7548
- className: E("number-of-likes", { "no-likes": f === 0 }),
7598
+ className: T("number-of-likes", { "no-likes": f === 0 }),
7549
7599
  "data-testid": "number-of-likes",
7550
7600
  children: d.formatMessage(
7551
7601
  { id: `discussion_likes${r ? "_short" : ""}` },
@@ -7600,12 +7650,12 @@ const Re = "discussion_", xo = 280, It = ({
7600
7650
  } }
7601
7651
  },
7602
7652
  links: m = {},
7603
- className: h,
7604
- gtmContext: _ = "DiscussionAnswer",
7605
- children: g,
7653
+ className: p,
7654
+ gtmContext: g = "DiscussionAnswer",
7655
+ children: _,
7606
7656
  isTruncated: v = !1
7607
7657
  }) => {
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({
7658
+ 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
7659
  body: t && t.body || "",
7610
7660
  isEditing: !1,
7611
7661
  didEdit: t && t.isEdited || !1
@@ -7689,7 +7739,7 @@ const Re = "discussion_", xo = 280, It = ({
7689
7739
  onClick: () => Z({ ...G, isEditing: !0 }),
7690
7740
  icon: "pencil-paper",
7691
7741
  className: "gtm-trackable",
7692
- "data-gtm-event-context": _,
7742
+ "data-gtm-event-context": g,
7693
7743
  "data-gtm-event-type": `edit-${t.type}-click`
7694
7744
  },
7695
7745
  {
@@ -7699,13 +7749,13 @@ const Re = "discussion_", xo = 280, It = ({
7699
7749
  },
7700
7750
  icon: "trash",
7701
7751
  className: "gtm-trackable",
7702
- "data-gtm-event-context": _,
7752
+ "data-gtm-event-context": g,
7703
7753
  "data-gtm-event-type": `delete-${t.type}-click`,
7704
7754
  ...fo(`delete-${t.slug}-modal`, U)
7705
7755
  }
7706
7756
  ), z.createElement(e, {
7707
- className: E("discussion-post", h, {
7708
- [ie]: !h || !h.includes("highlighted-text-box")
7757
+ className: T("discussion-post", p, {
7758
+ [ie]: !p || !p.includes("highlighted-text-box")
7709
7759
  }),
7710
7760
  ref: V,
7711
7761
  "data-testid": `discussion-${t.type}-thread`,
@@ -7714,7 +7764,7 @@ const Re = "discussion_", xo = 280, It = ({
7714
7764
  "div",
7715
7765
  {
7716
7766
  id: $ || t.slug,
7717
- className: E("discussion-card", t.type, {
7767
+ className: T("discussion-card", t.type, {
7718
7768
  editing: G.isEditing,
7719
7769
  "has-link": m.post && !G.isEditing
7720
7770
  }),
@@ -7728,7 +7778,7 @@ const Re = "discussion_", xo = 280, It = ({
7728
7778
  member: w,
7729
7779
  additionalContent: { createdAt: O, didEdit: G.didEdit },
7730
7780
  className: typeof w != "string" && w.id === s ? "highlighted" : "",
7731
- gtmContext: _,
7781
+ gtmContext: g,
7732
7782
  gtmType: "profile-click"
7733
7783
  }
7734
7784
  ),
@@ -7760,14 +7810,14 @@ const Re = "discussion_", xo = 280, It = ({
7760
7810
  D(""), Z({ ...G, isEditing: !1 });
7761
7811
  }
7762
7812
  },
7763
- gtmContext: `${_}Form`
7813
+ gtmContext: `${g}Form`
7764
7814
  }
7765
7815
  ) : m.post ? /* @__PURE__ */ a.jsx(
7766
7816
  "a",
7767
7817
  {
7768
7818
  href: m.post,
7769
7819
  className: "gtm-trackable",
7770
- "data-gtm-event-context": _,
7820
+ "data-gtm-event-context": g,
7771
7821
  "data-gtm-event-type": "title-click",
7772
7822
  children: /* @__PURE__ */ a.jsx(xn, { options: { overrides: { a: Vs } }, children: K })
7773
7823
  }
@@ -7786,14 +7836,14 @@ const Re = "discussion_", xo = 280, It = ({
7786
7836
  !G.isEditing && /* @__PURE__ */ a.jsxs(
7787
7837
  "ul",
7788
7838
  {
7789
- className: E("actions text-medium", t.type),
7839
+ className: T("actions text-medium", t.type),
7790
7840
  "data-testid": `${t.type}-actions`,
7791
7841
  children: [
7792
7842
  /* @__PURE__ */ a.jsx(
7793
7843
  yo,
7794
7844
  {
7795
7845
  element: "li",
7796
- likes: T,
7846
+ likes: E,
7797
7847
  isShort: !1,
7798
7848
  userLiked: P,
7799
7849
  content: { type: t.type, slugs: t.slugs },
@@ -7823,7 +7873,7 @@ const Re = "discussion_", xo = 280, It = ({
7823
7873
  href: m.comments ? m.comments : !1,
7824
7874
  onClick: m.comments || typeof l != "function" ? !1 : l,
7825
7875
  className: "gtm-trackable",
7826
- "data-gtm-event-context": _,
7876
+ "data-gtm-event-context": g,
7827
7877
  "data-gtm-event-type": `answer-${t.type}-click`,
7828
7878
  screenreaderText: b.formatMessage(
7829
7879
  { id: `${Re}comments_screenReader` },
@@ -7862,7 +7912,7 @@ const Re = "discussion_", xo = 280, It = ({
7862
7912
  ]
7863
7913
  }
7864
7914
  ),
7865
- g,
7915
+ _,
7866
7916
  /* @__PURE__ */ a.jsx(
7867
7917
  Zn,
7868
7918
  {
@@ -8347,15 +8397,15 @@ function Fo({
8347
8397
  },
8348
8398
  user: u,
8349
8399
  ...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 });
8400
+ }, 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
8401
  return {
8352
8402
  activities: v,
8353
8403
  mutations: {
8354
8404
  create: l,
8355
8405
  edit: m,
8356
- remove: _,
8357
- like: h,
8358
- unlike: g
8406
+ remove: g,
8407
+ like: p,
8408
+ unlike: _
8359
8409
  },
8360
8410
  user: u,
8361
8411
  ...b
@@ -8468,7 +8518,7 @@ function zo(e) {
8468
8518
  var t;
8469
8519
  return ((t = e == null ? void 0 : e.pages) == null ? void 0 : t.reduce((n, { results: r }) => [...n, ...r], [])) || [];
8470
8520
  }
8471
- const Qc = ({
8521
+ const Jc = ({
8472
8522
  basePath: e,
8473
8523
  parentId: t,
8474
8524
  isMember: n,
@@ -8480,7 +8530,7 @@ const Qc = ({
8480
8530
  fetchNextPage: d,
8481
8531
  hasNextPage: f,
8482
8532
  isLoading: l,
8483
- mutations: { create: m, edit: h, remove: _, like: g, unlike: v },
8533
+ mutations: { create: m, edit: p, remove: g, like: _, unlike: v },
8484
8534
  user: b
8485
8535
  } = Fo({
8486
8536
  queryKey: [e, t, "activities"],
@@ -8513,7 +8563,7 @@ const Qc = ({
8513
8563
  id: x,
8514
8564
  own_reactions: O,
8515
8565
  latest_reactions: $,
8516
- reaction_counts: T
8566
+ reaction_counts: E
8517
8567
  } = 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
8568
  var B, K, H;
8519
8569
  return {
@@ -8546,8 +8596,8 @@ const Qc = ({
8546
8596
  }
8547
8597
  },
8548
8598
  userLiked: A,
8549
- likes: (T == null ? void 0 : T.like) || 0,
8550
- comments: (T == null ? void 0 : T.reply) || 0,
8599
+ likes: (E == null ? void 0 : E.like) || 0,
8600
+ comments: (E == null ? void 0 : E.reply) || 0,
8551
8601
  peopleWhoLiked: ue
8552
8602
  },
8553
8603
  links: {
@@ -8557,12 +8607,12 @@ const Qc = ({
8557
8607
  functions: {
8558
8608
  content: {
8559
8609
  createContent: () => null,
8560
- deleteContent: () => _({ activityId: x }),
8610
+ deleteContent: () => g({ activityId: x }),
8561
8611
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
8562
- updateContent: (I, { body: B }) => h({ activityId: x, content: B })
8612
+ updateContent: (I, { body: B }) => p({ activityId: x, content: B })
8563
8613
  },
8564
8614
  likes: {
8565
- createLike: () => g({ activityId: x }),
8615
+ createLike: () => _({ activityId: x }),
8566
8616
  deleteLike: () => v({ activityId: x, reactionId: F })
8567
8617
  },
8568
8618
  comments: {
@@ -8588,7 +8638,7 @@ const Qc = ({
8588
8638
  }
8589
8639
  )
8590
8640
  ] });
8591
- }, Jc = {
8641
+ }, Xc = {
8592
8642
  next: "id_lt=67ef0342-6f6e-4807-beea-5a9184ec140c&limit=5",
8593
8643
  results: [
8594
8644
  {
@@ -9204,15 +9254,15 @@ function ka({
9204
9254
  },
9205
9255
  user: u,
9206
9256
  ...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 });
9257
+ }, 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
9258
  return {
9209
9259
  replies: v,
9210
9260
  mutations: {
9211
9261
  create: l,
9212
9262
  edit: m,
9213
- remove: _,
9214
- like: h,
9215
- unlike: g
9263
+ remove: g,
9264
+ like: p,
9265
+ unlike: _
9216
9266
  },
9217
9267
  user: u,
9218
9268
  ...b
@@ -9349,8 +9399,8 @@ const ec = ({
9349
9399
  fetchNextPage: o,
9350
9400
  hasNextPage: u,
9351
9401
  isLoading: d,
9352
- mutations: { create: f, edit: l, like: m, remove: h, unlike: _ },
9353
- user: g
9402
+ mutations: { create: f, edit: l, like: m, remove: p, unlike: g },
9403
+ user: _
9354
9404
  } = ka({
9355
9405
  queryKey: [e, t, n, r, "replies"],
9356
9406
  queryFns: {
@@ -9387,14 +9437,14 @@ const ec = ({
9387
9437
  children_counts: w
9388
9438
  } = 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
9439
  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) => {
9440
+ return ((Y = q == null ? void 0 : q.user) == null ? void 0 : Y.id) === (_ == null ? void 0 : _.id);
9441
+ }) : !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
9442
  var Y, J, M;
9393
9443
  return {
9394
9444
  id: (Y = q == null ? void 0 : q.user) == null ? void 0 : Y.id,
9395
9445
  name: (M = (J = q == null ? void 0 : q.user) == null ? void 0 : J.data) == null ? void 0 : M.name
9396
9446
  };
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 : (
9447
+ }) : !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
9448
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
9399
9449
  ((C = (k = v == null ? void 0 : v.data) == null ? void 0 : k.content) == null ? void 0 : C.text) || ""
9400
9450
  );
@@ -9425,20 +9475,20 @@ const ec = ({
9425
9475
  thumbnail: ((H = F.data) == null ? void 0 : H.thumbnail) || void 0
9426
9476
  }
9427
9477
  },
9428
- userLiked: T,
9478
+ userLiked: E,
9429
9479
  likes: (w == null ? void 0 : w.like) || 0,
9430
9480
  peopleWhoLiked: A
9431
9481
  },
9432
9482
  functions: {
9433
9483
  content: {
9434
9484
  createContent: () => null,
9435
- deleteContent: () => h({ replyId: b }),
9485
+ deleteContent: () => p({ replyId: b }),
9436
9486
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
9437
9487
  updateContent: (q, { body: Y }) => l({ replyId: b, content: Y })
9438
9488
  },
9439
9489
  likes: {
9440
9490
  createLike: () => m({ replyId: b }),
9441
- deleteLike: () => _({ replyId: b, reactionId: $ })
9491
+ deleteLike: () => g({ replyId: b, reactionId: $ })
9442
9492
  },
9443
9493
  comments: {}
9444
9494
  }
@@ -9461,7 +9511,7 @@ const ec = ({
9461
9511
  fetchNextPage: f,
9462
9512
  hasNextPage: l,
9463
9513
  isLoading: m,
9464
- mutations: { create: h, edit: _, like: g, remove: v, unlike: b },
9514
+ mutations: { create: p, edit: g, like: _, remove: v, unlike: b },
9465
9515
  user: y
9466
9516
  } = ka({
9467
9517
  queryKey: [e, t, n, "replies"],
@@ -9476,7 +9526,7 @@ const ec = ({
9476
9526
  content: { type: "reply", slugs: {} },
9477
9527
  functions: {
9478
9528
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
9479
- create: (j, { body: w }) => h({ activityId: n, content: w })
9529
+ create: (j, { body: w }) => p({ activityId: n, content: w })
9480
9530
  },
9481
9531
  meta: { isEditing: !1, showSuccessMessage: !1 },
9482
9532
  placeholder: o.formatMessage({ id: "discussion_responses_placeholder" })
@@ -9539,10 +9589,10 @@ const ec = ({
9539
9589
  createContent: () => null,
9540
9590
  deleteContent: () => v({ replyId: w }),
9541
9591
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
9542
- updateContent: (M, { body: re }) => _({ replyId: w, content: re })
9592
+ updateContent: (M, { body: re }) => g({ replyId: w, content: re })
9543
9593
  },
9544
9594
  likes: {
9545
- createLike: () => g({ replyId: w }),
9595
+ createLike: () => _({ replyId: w }),
9546
9596
  deleteLike: () => b({ replyId: w, reactionId: A })
9547
9597
  },
9548
9598
  comments: {}
@@ -9625,7 +9675,7 @@ function ac({
9625
9675
  },
9626
9676
  user: c,
9627
9677
  ...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 });
9678
+ }, d = nc({ ...u, mutationFn: t }), f = sc({ ...u, mutationFn: n }), l = ic({ ...u, mutationFn: r }), { activity: m, ...p } = rc({ queryKey: s, queryFn: e });
9629
9679
  return {
9630
9680
  activity: m,
9631
9681
  mutations: {
@@ -9634,7 +9684,7 @@ function ac({
9634
9684
  unlike: l
9635
9685
  },
9636
9686
  user: c,
9637
- ...h
9687
+ ...p
9638
9688
  };
9639
9689
  }
9640
9690
  function sc({
@@ -9671,7 +9721,7 @@ function ic({
9671
9721
  });
9672
9722
  return s;
9673
9723
  }
9674
- const Xc = ({
9724
+ const el = ({
9675
9725
  basePath: e,
9676
9726
  parentId: t,
9677
9727
  activityId: n,
@@ -9687,13 +9737,13 @@ const Xc = ({
9687
9737
  const d = W(), f = $e(Fe), {
9688
9738
  activity: l,
9689
9739
  error: m,
9690
- isLoading: h,
9691
- mutations: { edit: _, like: g, unlike: v }
9740
+ isLoading: p,
9741
+ mutations: { edit: g, like: _, unlike: v }
9692
9742
  } = ac({
9693
9743
  queryFns: i,
9694
9744
  queryKey: [e, t, n]
9695
9745
  });
9696
- if (h)
9746
+ if (p)
9697
9747
  return /* @__PURE__ */ a.jsx(Ee, { style: { height: "400px" } });
9698
9748
  if (m || !l)
9699
9749
  return /* @__PURE__ */ a.jsx(
@@ -9709,7 +9759,7 @@ const Xc = ({
9709
9759
  id: (k = ie == null ? void 0 : ie.user) == null ? void 0 : k.id,
9710
9760
  name: (D = (C = ie == null ? void 0 : ie.user) == null ? void 0 : C.data) == null ? void 0 : D.name
9711
9761
  };
9712
- }) : !1, $ = l == null ? void 0 : l.actor, T = ($ == null ? void 0 : $.id) === (f == null ? void 0 : f.id);
9762
+ }) : !1, $ = l == null ? void 0 : l.actor, E = ($ == null ? void 0 : $.id) === (f == null ? void 0 : f.id);
9713
9763
  return /* @__PURE__ */ a.jsxs("section", { className: "activity-section", children: [
9714
9764
  /* @__PURE__ */ a.jsx(
9715
9765
  It,
@@ -9719,7 +9769,7 @@ const Xc = ({
9719
9769
  id: n,
9720
9770
  type: "post",
9721
9771
  body: l == null ? void 0 : l.content,
9722
- canLike: Dt(r, T),
9772
+ canLike: Dt(r, E),
9723
9773
  createdAt: (l == null ? void 0 : l.time) || "",
9724
9774
  slugs: {
9725
9775
  question: `${e}/${t}`,
@@ -9748,10 +9798,10 @@ const Xc = ({
9748
9798
  createContent: () => null,
9749
9799
  deleteContent: s,
9750
9800
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
9751
- updateContent: (ie, { body: k }) => _({ content: k })
9801
+ updateContent: (ie, { body: k }) => g({ content: k })
9752
9802
  },
9753
9803
  likes: {
9754
- createLike: () => g({ activityId: n }),
9804
+ createLike: () => _({ activityId: n }),
9755
9805
  deleteLike: () => v({ activityId: n, reactionId: x })
9756
9806
  },
9757
9807
  comments: {
@@ -9777,7 +9827,7 @@ const Xc = ({
9777
9827
  }
9778
9828
  )
9779
9829
  ] });
9780
- }, el = ({
9830
+ }, tl = ({
9781
9831
  id: e,
9782
9832
  data: { jobTitle: t, name: n, organization: r, thumbnail: s }
9783
9833
  }) => ({
@@ -9830,7 +9880,7 @@ const Xc = ({
9830
9880
  contributors: ["community"]
9831
9881
  }
9832
9882
  ];
9833
- const xt = "notFoundError_", tl = () => {
9883
+ const xt = "notFoundError_", nl = () => {
9834
9884
  const e = W(), t = [];
9835
9885
  return Lr.forEach((n, r) => {
9836
9886
  n.title = e.formatMessage({ id: `${xt}post_${r + 1}` }), t.push("solutionArticle");
@@ -9865,21 +9915,21 @@ const xt = "notFoundError_", tl = () => {
9865
9915
  };
9866
9916
  export {
9867
9917
  We as ASSETS_BUCKET,
9868
- Qc as ActivitiesFeed,
9869
- Xc as ActivitySection,
9918
+ Jc as ActivitiesFeed,
9919
+ el as ActivitySection,
9870
9920
  _a as AddPost,
9871
- $c as BannerSection,
9872
- Dc as Breadcrumbs,
9921
+ Mc as BannerSection,
9922
+ Ic as Breadcrumbs,
9873
9923
  ee as Button,
9874
9924
  At as ButtonWrapper,
9875
9925
  As as CacheProvider,
9876
9926
  ra as Card,
9877
9927
  ii as CardBlock,
9878
- Fc as Carousel,
9928
+ Lc as Carousel,
9879
9929
  Kr as CollapsibleSection,
9880
9930
  vi as Columns,
9881
- Lc as CommunityDetails,
9882
- Wc as ContactFooter,
9931
+ Dc as CommunityDetails,
9932
+ Vc as ContactFooter,
9883
9933
  Ci as ContactForm,
9884
9934
  na as Contributors,
9885
9935
  Hn as ConversationContext,
@@ -9890,77 +9940,78 @@ export {
9890
9940
  It as DiscussionPost,
9891
9941
  jo as DiscussionThread,
9892
9942
  Ae as Divider,
9893
- Ec as DownloadSection,
9943
+ Sc as DownloadSection,
9894
9944
  nt as EMAILS,
9895
- Sc as EditSection,
9945
+ Cc as EditSection,
9896
9946
  bi as EmailHelperTextBox,
9897
9947
  Ke as EmptyStateBox,
9898
- Ic as Filters,
9948
+ Bc as Filters,
9899
9949
  Ls as FlagsProvider,
9900
9950
  pa as Footer,
9901
9951
  Dn as Form,
9902
9952
  Ge as FullWidthSection,
9903
- Rc as GlobalProviders,
9953
+ Pc as GlobalProviders,
9904
9954
  ha as Header,
9905
9955
  Bs as HelperTextBox,
9906
9956
  An as HiddenFromScreenReaders,
9907
- Pc as HideShowTextBox,
9908
- Mc as HighlightSection,
9957
+ Ac as HideShowTextBox,
9958
+ Nc as HighlightSection,
9909
9959
  Le as HighlightedTextBox,
9910
9960
  kc as ImageContainer,
9911
9961
  Ds as IntlProvider,
9912
9962
  $i as InviteForm,
9913
- Yc as InviteModal,
9963
+ Gc as InviteModal,
9914
9964
  aa as JoinButton,
9915
- Bc as LanguageSwitcher,
9965
+ qc as LanguageSwitcher,
9916
9966
  dt as Link,
9917
9967
  Ft as LoadMore,
9918
- Oc as LoadingBlock,
9968
+ Fc as LoadingBlock,
9919
9969
  Ee as LoadingPlaceholder,
9920
9970
  Xr as LoadingState,
9921
9971
  sa as Logo,
9922
- Cc as LogoSection,
9972
+ $c as LogoSection,
9923
9973
  xn as MarkdownText,
9924
- Nc as MarketingBox,
9974
+ Rc as MarketingBox,
9925
9975
  Ln as Member,
9926
- Kc as MembersList,
9976
+ Qc as MembersList,
9927
9977
  ga as Modal,
9928
9978
  ui as MoreMenu,
9929
9979
  wc as NUMBER_OF_USERS,
9980
+ Tc as NavigationDots,
9930
9981
  pi as NavigationMenu,
9931
- tl as NotFoundError,
9982
+ nl as NotFoundError,
9932
9983
  Zn as Overlay,
9933
9984
  Gs as PageHeading,
9934
9985
  po as PageLayout,
9935
- Zc as PasswordRules,
9986
+ Uc as PasswordRules,
9936
9987
  Tt as Pill,
9937
9988
  ut as ProfilePicture,
9938
9989
  Js as ProgressBar,
9939
- Uc as Rating,
9990
+ Hc as Rating,
9940
9991
  tc as RepliesFeed,
9941
9992
  wo as ResponsesHeading,
9942
9993
  Ot as ResponsiveImage,
9943
- Tc as ReturnToNavButton,
9994
+ Ec as ReturnToNavButton,
9944
9995
  Mi as SearchForm,
9945
- qc as ShareLinks,
9946
- Hc as SignupForm,
9996
+ zc as ShareLinks,
9997
+ Wc as SignupForm,
9947
9998
  Vs as Span,
9948
9999
  Et as StatusBanner,
9949
- zc as Tabs,
9950
- Gc as Tags,
9951
- Ac as TestimonialBlock,
10000
+ Zc as Tabs,
10001
+ Kc as Tags,
10002
+ Oc as TestimonialBlock,
9952
10003
  $s as Tooltip,
9953
- Vc as TopLevelPage,
10004
+ Yc as TopLevelPage,
9954
10005
  Fe as UserContext,
9955
10006
  Is as UserProvider,
9956
10007
  _e as VisuallyHidden,
9957
10008
  fo as addAriaProps,
9958
10009
  ta as getMember,
9959
10010
  $t as headerData,
9960
- el as mapGetStreamData,
10011
+ tl as mapGetStreamData,
9961
10012
  Ts as pageReady,
9962
10013
  jc as passwordValidator,
9963
- Jc as repliesFeedMock,
10014
+ Xc as repliesFeedMock,
9964
10015
  us as useCurrentPath,
9965
10016
  ot as useEffectAfterMount,
9966
10017
  lt as useElementWidth,