fansunited-frontend-components 0.0.99 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/Betslip.js +2 -2
  2. package/ChanceGame.js +496 -505
  3. package/ClassicQuizPlay.js +2 -2
  4. package/CollectLead.js +405 -1163
  5. package/CompetitionStatistics.js +2 -2
  6. package/CompetitorCard.js +445 -425
  7. package/Discussion.js +2 -2
  8. package/EitherOrPlay.js +2 -2
  9. package/EventCard.js +648 -593
  10. package/EventGamePlay.js +2 -2
  11. package/Leaderboard.js +142 -132
  12. package/List.js +675 -713
  13. package/MatchQuizPlay.js +2 -2
  14. package/Odds.js +1 -1
  15. package/PersonalityQuizPlay.js +2 -2
  16. package/PickThePair.js +925 -1824
  17. package/PlayerOfTheMatch.js +2106 -2223
  18. package/PollVote.js +2 -2
  19. package/Predictor.js +4209 -18629
  20. package/Standings.js +497 -486
  21. package/TopX.js +3223 -16958
  22. package/chunks/{ChanceGameEmbedVariant-DM9eLG5s.js → ChanceGameEmbedVariant-z8XYzgDW.js} +1 -1
  23. package/chunks/PickOneOfX-IvE4OvyT.js +3146 -0
  24. package/chunks/index-BNl8scz6.js +4 -0
  25. package/chunks/index-CSa2JU4m.js +4 -0
  26. package/chunks/index-CVRI82Gb.js +4 -0
  27. package/chunks/index-Cd1dg0KI.js +4 -0
  28. package/chunks/index-Cei2fzi7.js +4 -0
  29. package/chunks/index-Cxb4wEJU.js +4 -0
  30. package/chunks/index-w1LGN5dz.js +4 -0
  31. package/chunks/main-07vzblS8.js +2091 -0
  32. package/chunks/main-C7X4dM_P.js +4827 -0
  33. package/chunks/main-D_QDfmAw.js +6417 -0
  34. package/chunks/{main-CzfWaEQP.js → main-DdL0UekL.js} +1931 -2025
  35. package/chunks/main-DmBfwyb4.js +2992 -0
  36. package/chunks/main-LEE8n2cG.js +3117 -0
  37. package/chunks/{main-DxvBjXsd.js → main-P2WNvBZE.js} +473 -444
  38. package/chunks/{main-DiBlJBNb.js → main-gV165E-A.js} +629 -657
  39. package/chunks/predictionsHelpers-fwXaMadu.js +10063 -0
  40. package/chunks/{withVersionStamp-BsLyhvNA.js → withVersionStamp-CPDfSE5H.js} +1 -1
  41. package/package.json +2 -6
  42. package/withVersionStamp.d.ts.map +1 -1
  43. package/chunks/CheckCircle-I1FktW5Y.js +0 -13
  44. package/chunks/Person-CXRqyF4E.js +0 -11
  45. package/chunks/PickOneOfX-DET4ZhjV.js +0 -3117
  46. package/chunks/Search-CIXthh0D.js +0 -17
  47. package/chunks/TimerOutlined-D-WA_vpE.js +0 -8
  48. package/chunks/WorkspacePremiumOutlined-DUXVgJlF.js +0 -136
  49. package/chunks/chevrons-right-HWKW2c4I.js +0 -45
  50. package/chunks/createLucideIcon-YBRjY5Kl.js +0 -79
  51. package/chunks/index-BENM3N_w.js +0 -4
  52. package/chunks/index-BRxAV693.js +0 -4
  53. package/chunks/index-BXYTsvIX.js +0 -4
  54. package/chunks/index-C0ilols1.js +0 -4
  55. package/chunks/index-D7VhczXH.js +0 -4
  56. package/chunks/index-DKwvdw9t.js +0 -4
  57. package/chunks/index-DZN-AITW.js +0 -4
  58. package/chunks/main-B2sDRFF4.js +0 -2184
  59. package/chunks/main-DFNl3g_U.js +0 -4910
  60. package/chunks/main-DLwnvntz.js +0 -4020
  61. package/chunks/main-S8_NDSiY.js +0 -3209
  62. package/chunks/main-lBgr8Liq.js +0 -6571
package/CompetitorCard.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { jsx as l, jsxs as p, Fragment as Ee } from "@emotion/react/jsx-runtime";
2
2
  import { NotFound as Vs, Spinner as _i, WidgetPortal as Ys } from "fansunited-frontend-core/ui/emotion";
3
- import L, { useState as Y, useCallback as _n, useEffect as $e, useRef as En, useMemo as Wt } from "react";
3
+ import F, { useState as Y, useCallback as _n, useEffect as $e, useRef as En, useMemo as Wt } from "react";
4
4
  import { css as i, keyframes as Xs } from "@emotion/react";
5
5
  import { useTranslation as Ke } from "react-i18next";
6
- import { fetchSearchEntitiesByIds as qs, useDisableCache as ct, useColors as Ei, useFontFamily as Js, useCornerRadius as Qs, useSpacingScale as Zs, useIsRtl as Fi, hexToRgb as er, useConstantContext as tr, ConstantsContext as nr, toIntlLocale as De, DirectionalIcon as Li, isMobile as Ut, BidiIsolate as _e, bidiIsolate as or, isExtraSmall as ir } from "fansunited-frontend-core";
7
- import { O as sr, u as rr } from "./chunks/OddsSkeleton-DP5Yfqpr.js";
8
- import { ArrowRight as ar, Info as lr, CalendarDays as cr, Users as dr, ChartColumn as ur, ChevronLeft as mr, ChevronDown as hr, Check as fr, X as gr, Minus as pr } from "fansunited-frontend-core/ui/icons/lucide";
9
- import { createPortal as yr } from "react-dom";
6
+ import { fetchSearchEntitiesByIds as qs, useDisableCache as ct, useColors as Ei, useFontFamily as Js, useCornerRadius as Qs, useSpacingScale as Zs, useIsRtl as Fi, hexToRgb as er, useConstantContext as tr, ConstantsContext as nr, toIntlLocale as De, DirectionalIcon as Li, useIsMobile as Ut, BidiIsolate as _e, bidiIsolate as or, useIsExtraSmall as ir, bidiIsolateAuto as sr } from "fansunited-frontend-core";
7
+ import { O as rr, u as ar } from "./chunks/OddsSkeleton-DP5Yfqpr.js";
8
+ import { ArrowRight as lr, Info as cr, CalendarDays as dr, Users as ur, ChartColumn as mr, ChevronLeft as hr, ChevronDown as fr, Check as gr, X as pr, Minus as yr } from "fansunited-frontend-core/ui/icons/lucide";
9
+ import { createPortal as Sr } from "react-dom";
10
10
  import "fansunited-sdk-esm/enums";
11
- import { w as Sr } from "./chunks/withVersionStamp-BsLyhvNA.js";
12
- const wr = (e) => {
11
+ import { w as wr } from "./chunks/withVersionStamp-CPDfSE5H.js";
12
+ const vr = (e) => {
13
13
  try {
14
14
  const t = e.helpers.getSDKConfiguration();
15
15
  return !(t != null && t.apiKey) || !(t != null && t.clientId) ? null : { apiKey: t.apiKey, clientId: t.clientId };
@@ -19,7 +19,7 @@ const wr = (e) => {
19
19
  }, jt = async (e, t, n, o = !1) => {
20
20
  const s = /* @__PURE__ */ new Map();
21
21
  if (t.filter(Boolean).length === 0) return s;
22
- const a = wr(e);
22
+ const a = vr(e);
23
23
  return a && (await qs(a, t, {
24
24
  signal: n,
25
25
  disableCache: o
@@ -48,12 +48,12 @@ const wr = (e) => {
48
48
  var n, o;
49
49
  const t = e == null ? void 0 : e.assets;
50
50
  return t ? ((n = t.find((s) => s.key === "LOGO")) == null ? void 0 : n.value) ?? ((o = t.find((s) => s.key === "HEADSHOT")) == null ? void 0 : o.value) ?? null : null;
51
- }, vr = (e, t) => ((e == null ? void 0 : e.related) ?? []).filter((n) => {
51
+ }, xr = (e, t) => ((e == null ? void 0 : e.related) ?? []).filter((n) => {
52
52
  var o;
53
53
  return ((o = n.relationship) == null ? void 0 : o.toUpperCase()) === t.toUpperCase();
54
- }).map((n) => n.related_id).filter((n) => !!n), xr = "COMPETITOR", kr = (e) => {
54
+ }).map((n) => n.related_id).filter((n) => !!n), kr = "COMPETITOR", br = (e) => {
55
55
  var t;
56
- return ((t = e == null ? void 0 : e.content_type) == null ? void 0 : t.toUpperCase()) === xr;
56
+ return ((t = e == null ? void 0 : e.content_type) == null ? void 0 : t.toUpperCase()) === kr;
57
57
  }, Cr = (e) => {
58
58
  var t;
59
59
  return /(^|_)TEAM(_|$)/.test(((t = e.type) == null ? void 0 : t.toUpperCase()) ?? "") ? "TEAM" : "ATHLETE";
@@ -65,7 +65,7 @@ const wr = (e) => {
65
65
  if (!t) return null;
66
66
  const n = t.startsWith("#") ? t : `#${t}`;
67
67
  return /^#([0-9a-f]{3}|[0-9a-f]{6})$/i.test(n) ? n.length === 4 ? `#${n[1]}${n[1]}${n[2]}${n[2]}${n[3]}${n[3]}` : n : null;
68
- }, br = (e) => {
68
+ }, Ir = (e) => {
69
69
  var a;
70
70
  const n = ((e == null ? void 0 : e.additional_information) ?? []).find(
71
71
  (c) => /^(FOUNDED|FOUNDATION|FOUNDED_YEAR|ESTABLISHED)$/i.test((c == null ? void 0 : c.key) ?? "")
@@ -73,7 +73,7 @@ const wr = (e) => {
73
73
  if (!o) return null;
74
74
  const s = Number(o);
75
75
  return s >= 1700 && s <= (/* @__PURE__ */ new Date()).getFullYear() ? o : null;
76
- }, Ir = (e, t, n, o) => {
76
+ }, Tr = (e, t, n, o) => {
77
77
  var y, h, w;
78
78
  const s = Cr(e), a = de(ve(e, n)) ?? o.unknownCompetitor, c = de(e.country_id), d = c ? {
79
79
  id: c,
@@ -90,12 +90,12 @@ const wr = (e) => {
90
90
  gender: ((w = de(e.gender)) == null ? void 0 : w.toUpperCase()) ?? null,
91
91
  position: s === "ATHLETE" ? de(e.position) : null,
92
92
  dateOfBirth: s === "ATHLETE" ? de(e.date_of_birth) : null,
93
- founded: br(e),
93
+ founded: Ir(e),
94
94
  countryId: c,
95
95
  country: d,
96
96
  branding: g || S || f ? { primary: g, secondary: S, tertiary: f } : null
97
97
  };
98
- }, Tr = (e, t, n) => {
98
+ }, Ar = (e, t, n) => {
99
99
  const { t: o } = Ke("common"), [s, a] = Y(null), [c, d] = Y(!0), [u, g] = Y(!1), [S, f] = Y(!1), y = ct(), h = _n(
100
100
  async (w) => {
101
101
  d(!0), g(!1), f(!1);
@@ -103,12 +103,12 @@ const wr = (e) => {
103
103
  const x = await jt(e, [t], w, y);
104
104
  if (w.aborted) return;
105
105
  const v = x.get(t);
106
- if (!v || !kr(v)) {
106
+ if (!v || !br(v)) {
107
107
  a(null), f(!0);
108
108
  return;
109
109
  }
110
110
  a(
111
- Ir(v, void 0, n, {
111
+ Tr(v, void 0, n, {
112
112
  unknownCompetitor: o("eventCard.unknownCompetitor")
113
113
  })
114
114
  );
@@ -136,7 +136,7 @@ const wr = (e) => {
136
136
  } catch {
137
137
  return null;
138
138
  }
139
- }, Ar = async (e, t, n, o = !1) => {
139
+ }, $r = async (e, t, n, o = !1) => {
140
140
  const s = Wi(e);
141
141
  if (!s || !t) return null;
142
142
  const a = new URLSearchParams({
@@ -151,7 +151,7 @@ const wr = (e) => {
151
151
  if (!c.ok) throw new Error(`Sports API responded ${c.status}`);
152
152
  const d = await c.json(), u = (d == null ? void 0 : d.data) ?? d;
153
153
  return u != null && u.team_id ? u : null;
154
- }, $r = async (e, t, n, o = !1) => {
154
+ }, _r = async (e, t, n, o = !1) => {
155
155
  var c;
156
156
  const s = Wi(e);
157
157
  if (!s || !t) return null;
@@ -171,14 +171,14 @@ const wr = (e) => {
171
171
  } catch {
172
172
  return null;
173
173
  }
174
- }, N = "all", _r = "fb:c:224", xe = (e) => !!e && e !== _r, Fn = (e, t) => /^(HOCKEY|ICE_HOCKEY)$/.test((e ?? "").toUpperCase()) ? t.won * 2 + t.lostInOvertime : t.won * 3 + t.drawn, Ln = (e, t) => e - t, Ue = (e) => e > 0 ? `+${e}` : String(e), Mi = (e, t) => t > 0 ? (e / t).toFixed(2) : "0.00", Bn = (e, t) => t > 0 ? Math.round(e / t * 100) : 0, Se = (e, t) => `${t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0}%`, Er = (e) => {
174
+ }, N = "all", Er = "fb:c:224", xe = (e) => !!e && e !== Er, Fn = (e, t) => /^(HOCKEY|ICE_HOCKEY)$/.test((e ?? "").toUpperCase()) ? t.won * 2 + t.lostInOvertime : t.won * 3 + t.drawn, Ln = (e, t) => e - t, Ue = (e) => e > 0 ? `+${e}` : String(e), Mi = (e, t) => t > 0 ? (e / t).toFixed(2) : "0.00", Bn = (e, t) => t > 0 ? Math.round(e / t * 100) : 0, Se = (e, t) => `${t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0}%`, Fr = (e) => {
175
175
  let t = 0;
176
176
  for (const n of e) {
177
177
  if (n !== "W") break;
178
178
  t += 1;
179
179
  }
180
180
  return t;
181
- }, Fr = 3, Lr = 10, Br = 5, Pr = (e) => typeof e != "number" || !Number.isFinite(e) ? Br : Math.min(Lr, Math.max(Fr, Math.round(e))), ho = (e, t) => ({
181
+ }, Lr = 3, Br = 10, Pr = 5, Rr = (e) => typeof e != "number" || !Number.isFinite(e) ? Pr : Math.min(Br, Math.max(Lr, Math.round(e))), ho = (e, t) => ({
182
182
  won: e.won + t.won,
183
183
  drawn: e.drawn + t.drawn,
184
184
  lost: e.lost + t.lost,
@@ -202,7 +202,7 @@ const wr = (e) => {
202
202
  points: e.points + t.points,
203
203
  home: ho(e.home, t.home),
204
204
  away: ho(e.away, t.away)
205
- }), Rr = {
205
+ }), Wr = {
206
206
  played: 0,
207
207
  won: 0,
208
208
  drawn: 0,
@@ -212,7 +212,7 @@ const wr = (e) => {
212
212
  points: 0,
213
213
  home: In,
214
214
  away: In
215
- }, Wr = (e, t) => {
215
+ }, Mr = (e, t) => {
216
216
  const n = () => ({ ...In }), o = n(), s = n(), a = { home: 0, away: 0 };
217
217
  let c = 0, d = 0, u = 0, g = 0, S = 0, f = 0;
218
218
  for (const h of e) {
@@ -241,7 +241,7 @@ const wr = (e) => {
241
241
  }, Rn = (e) => e.split(/\s+/).filter(Boolean).slice(0, 2).map((t) => {
242
242
  var n;
243
243
  return ((n = t[0]) == null ? void 0 : n.toUpperCase()) ?? "";
244
- }).join(""), Mr = ({
244
+ }).join(""), Dr = ({
245
245
  live: e,
246
246
  last: t,
247
247
  next: n,
@@ -288,9 +288,9 @@ const wr = (e) => {
288
288
  if (!Number.isNaN(o)) return o > Date.now() ? "upcoming" : "finished";
289
289
  }
290
290
  return "upcoming";
291
- }, Dr = (e) => /(overtime|extra_time|penalt|shootout|_ot|_so)/.test(
291
+ }, zr = (e) => /(overtime|extra_time|penalt|shootout|_ot|_so)/.test(
292
292
  (e ?? "").toLowerCase()
293
- ), po = (e, t) => e === null || t === null ? null : e > t ? "W" : e < t ? "L" : "D", zr = (e) => {
293
+ ), po = (e, t) => e === null || t === null ? null : e > t ? "W" : e < t ? "L" : "D", Hr = (e) => {
294
294
  const t = e.trim().split(/\s+/).filter(Boolean);
295
295
  return t.length >= 2 ? t.slice(0, 3).map((n) => n[0]).join("").toUpperCase() : e.slice(0, 3).toUpperCase();
296
296
  }, Kt = (e, t) => {
@@ -325,39 +325,39 @@ const wr = (e) => {
325
325
  }, Tn = (e) => [
326
326
  yo(e == null ? void 0 : e.competitor_one),
327
327
  yo(e == null ? void 0 : e.competitor_two)
328
- ], Hr = ([e, t]) => e !== null && t !== null, Or = (e) => {
328
+ ], Or = ([e, t]) => e !== null && t !== null, Nr = (e) => {
329
329
  const t = Tn(e == null ? void 0 : e.result);
330
- return Hr(t) ? t : Tn(e == null ? void 0 : e.full_time);
330
+ return Or(t) ? t : Tn(e == null ? void 0 : e.full_time);
331
331
  }, Ni = (e, t, { language: n, teamId: o, unknownOpponent: s }) => (e ?? []).map((a) => {
332
- var W, b, T, F, B;
332
+ var M, C, T, L, B;
333
333
  if (!a.id || !xe(a.competition_id)) return null;
334
- const c = ((W = a.competitor_one) == null ? void 0 : W.id) ?? null, d = ((b = a.competitor_two) == null ? void 0 : b.id) ?? null, u = c === o;
334
+ const c = ((M = a.competitor_one) == null ? void 0 : M.id) ?? null, d = ((C = a.competitor_two) == null ? void 0 : C.id) ?? null, u = c === o;
335
335
  if (!u && d !== o) return null;
336
- const g = u ? d : c, S = g ? t.get(g) : void 0, f = ve(S, n) ?? s, y = a.date ?? null, h = Hi((T = a.status) == null ? void 0 : T.type, y), [w, x] = Or(a.score), v = u ? w : x, m = u ? x : w, [k, C] = Tn((F = a.score) == null ? void 0 : F.penalties);
336
+ const g = u ? d : c, S = g ? t.get(g) : void 0, f = ve(S, n) ?? s, y = a.date ?? null, h = Hi((T = a.status) == null ? void 0 : T.type, y), [w, x] = Nr(a.score), v = u ? w : x, m = u ? x : w, [k, b] = Tn((L = a.score) == null ? void 0 : L.penalties);
337
337
  let E = h === "finished" ? po(v, m) : null;
338
- E === "D" && (E = po(u ? k : C, u ? C : k) ?? E);
339
- const $ = a.competition_id ?? null, R = $ ? t.get($) : void 0;
338
+ E === "D" && (E = po(u ? k : b, u ? b : k) ?? E);
339
+ const _ = a.competition_id ?? null, R = _ ? t.get(_) : void 0;
340
340
  return {
341
341
  id: a.id,
342
342
  date: y,
343
343
  status: h,
344
- competitionId: $,
344
+ competitionId: _,
345
345
  competitionName: ve(R, n),
346
346
  seasonId: a.season_id ?? null,
347
347
  isHome: u,
348
348
  opponentId: g,
349
349
  opponentName: f,
350
- opponentShortName: (S == null ? void 0 : S.three_letter_code) ?? Pi(S, n) ?? zr(f),
350
+ opponentShortName: (S == null ? void 0 : S.three_letter_code) ?? Pi(S, n) ?? Hr(f),
351
351
  opponentLogo: dt(S),
352
352
  ownScore: v,
353
353
  opponentScore: m,
354
354
  // Only a finished fixture has an outcome: a live 1-1 is not a draw yet.
355
355
  outcome: E,
356
- afterOvertime: h === "finished" && Dr((B = a.status) == null ? void 0 : B.sub_type)
356
+ afterOvertime: h === "finished" && zr((B = a.status) == null ? void 0 : B.sub_type)
357
357
  };
358
- }).filter((a) => a !== null), Nr = (e, t) => new Date(t.date ?? 0).getTime() - new Date(e.date ?? 0).getTime(), Ur = (e, t) => new Date(e.date ?? 0).getTime() - new Date(t.date ?? 0).getTime(), Ui = (e) => ({
359
- results: e.filter((t) => t.status === "finished").sort(Nr),
360
- upcoming: e.filter((t) => t.status === "upcoming").sort(Ur),
358
+ }).filter((a) => a !== null), Ur = (e, t) => new Date(t.date ?? 0).getTime() - new Date(e.date ?? 0).getTime(), jr = (e, t) => new Date(e.date ?? 0).getTime() - new Date(t.date ?? 0).getTime(), Ui = (e) => ({
359
+ results: e.filter((t) => t.status === "finished").sort(Ur),
360
+ upcoming: e.filter((t) => t.status === "upcoming").sort(jr),
361
361
  live: e.find((t) => t.status === "live") ?? null
362
362
  }), ji = (e) => {
363
363
  const t = /* @__PURE__ */ new Map();
@@ -377,7 +377,7 @@ const wr = (e) => {
377
377
  // A competition whose COUNTRY relation matches the competitor's own country. Cup and
378
378
  // continental competitions relate to a different country entity, so this cleanly separates
379
379
  // "LaLiga" from "Champions League" without hardcoding either.
380
- domestic: !!o && vr(d, "COUNTRY").includes(o),
380
+ domestic: !!o && xr(d, "COUNTRY").includes(o),
381
381
  cup: ((g = d == null ? void 0 : d.format) == null ? void 0 : g.toUpperCase()) === "CUP"
382
382
  };
383
383
  }).sort((c, d) => {
@@ -417,7 +417,7 @@ const wr = (e) => {
417
417
  athlete_stats: at(e.athlete_stats, n, o === 0),
418
418
  events: o === 0 ? e.events : at(e.events, n, !1)
419
419
  }));
420
- }, jr = (e) => {
420
+ }, Gr = (e) => {
421
421
  if (!e) return [];
422
422
  const t = /* @__PURE__ */ new Set();
423
423
  return Xi(e).forEach((n) => {
@@ -470,7 +470,7 @@ const wr = (e) => {
470
470
  home: So(e, "home"),
471
471
  away: So(e, "away")
472
472
  };
473
- }, Gr = (e) => e.won + e.drawn + e.lost === e.played, Kr = (e, t = [], n) => {
473
+ }, Kr = (e) => e.won + e.drawn + e.lost === e.played, Vr = (e, t = [], n) => {
474
474
  const o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map();
475
475
  if (((e == null ? void 0 : e.team_stats) ?? []).forEach((c) => {
476
476
  const d = Ve(c.season_id);
@@ -490,23 +490,23 @@ const wr = (e) => {
490
490
  ...o.keys(),
491
491
  ...t.map((c) => c.competitionId).filter((c) => !!c && xe(c))
492
492
  ])).forEach((c) => {
493
- const d = o.get(c), u = Wr(
493
+ const d = o.get(c), u = Mr(
494
494
  t.filter((g) => g.competitionId === c),
495
495
  n
496
496
  );
497
- (!d || u.played > d.played || !Gr(d) && u.played >= d.played) && (u.played > 0 ? o.set(c, u) : d || o.delete(c));
497
+ (!d || u.played > d.played || !Kr(d) && u.played >= d.played) && (u.played > 0 ? o.set(c, u) : d || o.delete(c));
498
498
  }), o.size > 0) {
499
499
  const c = Array.from(o.values()).reduce(
500
500
  fo,
501
- Rr
501
+ Wr
502
502
  );
503
503
  o.set(N, c);
504
504
  }
505
505
  return o;
506
- }, Vr = (e) => {
506
+ }, Yr = (e) => {
507
507
  const t = (e ?? "").toLowerCase();
508
508
  return t.includes("keep") || t.includes("goal") ? "keeper" : t.includes("defend") || t.includes("back") ? "defender" : t.includes("forward") || t.includes("attack") || t.includes("strik") ? "forward" : "midfielder";
509
- }, Ji = Vr, Yr = {
509
+ }, Ji = Yr, Xr = {
510
510
  apps: 0,
511
511
  starts: 0,
512
512
  minutes: 0,
@@ -516,7 +516,7 @@ const wr = (e) => {
516
516
  redCards: 0,
517
517
  cleanSheets: 0,
518
518
  goalsConceded: 0
519
- }, Xr = (e) => ({
519
+ }, qr = (e) => ({
520
520
  apps: V(e.statistics, "appearances"),
521
521
  starts: V(e.statistics, "first_lineup_appearances"),
522
522
  minutes: V(e.statistics, "minutes"),
@@ -526,7 +526,7 @@ const wr = (e) => {
526
526
  redCards: V(e.statistics, "red_cards"),
527
527
  cleanSheets: V(e.statistics, "clean_sheets"),
528
528
  goalsConceded: V(e.statistics, "goals_conceded")
529
- }), qr = (e, t) => ({
529
+ }), Jr = (e, t) => ({
530
530
  apps: e.apps + t.apps,
531
531
  starts: e.starts + t.starts,
532
532
  minutes: e.minutes + t.minutes,
@@ -536,20 +536,20 @@ const wr = (e) => {
536
536
  redCards: e.redCards + t.redCards,
537
537
  cleanSheets: e.cleanSheets + t.cleanSheets,
538
538
  goalsConceded: e.goalsConceded + t.goalsConceded
539
- }), Jr = () => ({ ...Yr }), Qr = (e) => ((e == null ? void 0 : e.athlete_stats) ?? []).map((t) => {
539
+ }), Qr = () => ({ ...Xr }), Zr = (e) => ((e == null ? void 0 : e.athlete_stats) ?? []).map((t) => {
540
540
  const n = Ve(t.season_id);
541
541
  return !t.athlete_id || !n || !xe(n) ? null : {
542
542
  athleteId: t.athlete_id,
543
543
  competitionId: n,
544
- stats: Xr(t)
544
+ stats: qr(t)
545
545
  };
546
- }).filter((t) => t !== null), Zr = (e, t, n) => {
546
+ }).filter((t) => t !== null), ea = (e, t, n) => {
547
547
  if (!(e != null && e.team_id)) return null;
548
548
  const { language: o, teamId: s, countryId: a, sport: c, labels: d } = n, u = Kt(e.events, Vi(e)), g = Ni(u, t, {
549
549
  language: o,
550
550
  teamId: s,
551
551
  unknownOpponent: d.unknownOpponent
552
- }), S = Kr(e, g, c), f = /* @__PURE__ */ new Set();
552
+ }), S = Vr(e, g, c), f = /* @__PURE__ */ new Set();
553
553
  S.forEach((m, k) => {
554
554
  k !== N && f.add(k);
555
555
  }), u.forEach((m) => {
@@ -577,20 +577,20 @@ const wr = (e) => {
577
577
  results: h,
578
578
  upcoming: w,
579
579
  live: x,
580
- athleteStats: Qr(e)
580
+ athleteStats: Zr(e)
581
581
  };
582
- }, ea = (e, t, n) => Xi(e).map((o) => Zr(o, t, n)).filter((o) => o !== null), ta = (e, t, n, o, s, a) => {
583
- var b;
584
- const { t: c } = Ke("common"), { enabled: d, withCountry: u, liveRefresh: g, refreshInterval: S, sport: f } = a, [y, h] = Y([]), [w, x] = Y(null), [v, m] = Y(d), [k, C] = Y(!1), E = ct(), $ = En(s);
585
- $.current = s;
582
+ }, ta = (e, t, n) => Xi(e).map((o) => ea(o, t, n)).filter((o) => o !== null), na = (e, t, n, o, s, a) => {
583
+ var C;
584
+ const { t: c } = Ke("common"), { enabled: d, withCountry: u, liveRefresh: g, refreshInterval: S, sport: f } = a, [y, h] = Y([]), [w, x] = Y(null), [v, m] = Y(d), [k, b] = Y(!1), E = ct(), _ = En(s);
585
+ _.current = s;
586
586
  const R = _n(
587
- async (T, F) => {
587
+ async (T, L) => {
588
588
  if (t) {
589
- F || (m(!0), C(!1));
589
+ L || (m(!0), b(!1));
590
590
  try {
591
- const B = await Ar(e, t, T, E);
591
+ const B = await $r(e, t, T, E);
592
592
  if (T.aborted) return;
593
- const j = jr(B);
593
+ const j = Gr(B);
594
594
  u && n && j.push(n);
595
595
  let K = /* @__PURE__ */ new Map();
596
596
  try {
@@ -610,22 +610,22 @@ const wr = (e) => {
610
610
  flag: G.flag ?? null
611
611
  } : null
612
612
  ), h(
613
- ea(B, K, {
613
+ ta(B, K, {
614
614
  language: o,
615
615
  teamId: t,
616
616
  countryId: n,
617
617
  sport: f,
618
618
  labels: {
619
619
  unknownOpponent: c("eventCard.unknownCompetitor"),
620
- allCompetitions: $.current("allCompetitions")
620
+ allCompetitions: _.current("allCompetitions")
621
621
  }
622
622
  })
623
- ), C(!1);
623
+ ), b(!1);
624
624
  } catch (B) {
625
625
  if (T.aborted || (B == null ? void 0 : B.name) === "AbortError") return;
626
- F || C(!0);
626
+ L || b(!0);
627
627
  } finally {
628
- !T.aborted && !F && m(!1);
628
+ !T.aborted && !L && m(!1);
629
629
  }
630
630
  }
631
631
  },
@@ -639,23 +639,23 @@ const wr = (e) => {
639
639
  const T = new AbortController();
640
640
  return R(T.signal, !1), () => T.abort();
641
641
  }, [d, e, t, R]);
642
- const W = !!((b = y[0]) != null && b.live);
642
+ const M = !!((C = y[0]) != null && C.live);
643
643
  return $e(() => {
644
- if (!d || !W || !g || S <= 0) return;
645
- const T = new AbortController(), F = setInterval(() => R(T.signal, !0), S);
644
+ if (!d || !M || !g || S <= 0) return;
645
+ const T = new AbortController(), L = setInterval(() => R(T.signal, !0), S);
646
646
  return () => {
647
- T.abort(), clearInterval(F);
647
+ T.abort(), clearInterval(L);
648
648
  };
649
- }, [d, W, g, S, R]), { profiles: y, country: w, loading: v, error: k };
650
- }, na = "https://sports.fansunitedapi.com/v1", oa = (e) => {
649
+ }, [d, M, g, S, R]), { profiles: y, country: w, loading: v, error: k };
650
+ }, oa = "https://sports.fansunitedapi.com/v1", ia = (e) => {
651
651
  try {
652
652
  const t = e.helpers.getSDKConfiguration();
653
653
  return !(t != null && t.apiKey) || !(t != null && t.clientId) ? null : { apiKey: t.apiKey, clientId: t.clientId };
654
654
  } catch {
655
655
  return null;
656
656
  }
657
- }, ia = async (e, t, n, o = !1) => {
658
- const s = oa(e);
657
+ }, sa = async (e, t, n, o = !1) => {
658
+ const s = ia(e);
659
659
  if (!s || !t) return null;
660
660
  const a = new URLSearchParams({
661
661
  key: s.apiKey,
@@ -663,13 +663,13 @@ const wr = (e) => {
663
663
  });
664
664
  o && a.set("disable_cache", String(Date.now()));
665
665
  const c = await fetch(
666
- `${na}/athletes/${encodeURIComponent(t)}?${a.toString()}`,
666
+ `${oa}/athletes/${encodeURIComponent(t)}?${a.toString()}`,
667
667
  { signal: n }
668
668
  );
669
669
  if (!c.ok) throw new Error(`Sports API responded ${c.status}`);
670
670
  const d = await c.json(), u = (d == null ? void 0 : d.data) ?? d;
671
671
  return u != null && u.athlete_id ? u : null;
672
- }, sa = {
672
+ }, ra = {
673
673
  apps: 0,
674
674
  starts: 0,
675
675
  benchApps: 0,
@@ -688,7 +688,7 @@ const wr = (e) => {
688
688
  unreported: [],
689
689
  partial: []
690
690
  }, Qi = () => ({
691
- ...sa,
691
+ ...ra,
692
692
  unreported: [],
693
693
  partial: []
694
694
  }), Zi = {
@@ -707,7 +707,7 @@ const wr = (e) => {
707
707
  captain: "captain",
708
708
  cleanSheets: "clean_sheets",
709
709
  goalsConceded: "goals_conceded"
710
- }, es = Object.keys(Zi), ra = (e) => {
710
+ }, es = Object.keys(Zi), aa = (e) => {
711
711
  const t = Qi();
712
712
  return es.forEach((n) => {
713
713
  var s;
@@ -743,7 +743,7 @@ const wr = (e) => {
743
743
  athlete_stats: at(e.athlete_stats, n, o === 0),
744
744
  events: o === 0 ? e.events : at(e.events, n, !1)
745
745
  }));
746
- }, aa = (e) => {
746
+ }, la = (e) => {
747
747
  const t = /* @__PURE__ */ new Map();
748
748
  Ye(e).forEach(({ entry: s }) => {
749
749
  if (!s.team_id) return;
@@ -757,7 +757,7 @@ const wr = (e) => {
757
757
  return t.forEach((s, a) => {
758
758
  s > o && (n = a, o = s);
759
759
  }), n;
760
- }, la = (e) => {
760
+ }, ca = (e) => {
761
761
  const t = /* @__PURE__ */ new Set();
762
762
  return ns(e).forEach((n) => {
763
763
  Oi(
@@ -766,10 +766,10 @@ const wr = (e) => {
766
766
  }), Ye(e).forEach(({ competitionId: n, entry: o }) => {
767
767
  t.add(n), o.team_id && t.add(o.team_id);
768
768
  }), Array.from(t);
769
- }, ca = (e) => {
769
+ }, da = (e) => {
770
770
  const t = /* @__PURE__ */ new Map();
771
771
  Ye(e).forEach(({ competitionId: o, entry: s }) => {
772
- const a = ra(s);
772
+ const a = aa(s);
773
773
  a.unreported.includes("apps") || t.set(o, [...t.get(o) ?? [], a]);
774
774
  });
775
775
  const n = /* @__PURE__ */ new Map();
@@ -779,7 +779,7 @@ const wr = (e) => {
779
779
  N,
780
780
  wo(Array.from(n.values()))
781
781
  ), n;
782
- }, da = (e) => {
782
+ }, ua = (e) => {
783
783
  const t = /* @__PURE__ */ new Map();
784
784
  return e.forEach((n) => {
785
785
  n.competitionId && t.set(
@@ -787,7 +787,7 @@ const wr = (e) => {
787
787
  (t.get(n.competitionId) ?? 0) + 1
788
788
  );
789
789
  }), t.set(N, e.length), t;
790
- }, ua = (e, t, n, o) => {
790
+ }, ma = (e, t, n, o) => {
791
791
  var g, S, f;
792
792
  if (!e) return null;
793
793
  const s = t.get(e), a = ((g = s == null ? void 0 : s.metadata) == null ? void 0 : g.branding) ?? null, c = Ne(a == null ? void 0 : a.primary_color), d = Ne(a == null ? void 0 : a.secondary_color), u = Ne(a == null ? void 0 : a.tertiary_color);
@@ -806,15 +806,15 @@ const wr = (e) => {
806
806
  country: null,
807
807
  branding: c || d || u ? { primary: c, secondary: d, tertiary: u } : null
808
808
  };
809
- }, ma = (e, t, n) => {
809
+ }, ha = (e, t, n) => {
810
810
  if (!(e != null && e.athlete_id)) return null;
811
- const { language: o, labels: s } = n, a = aa(e), c = ua(a, t, o, s.unknownCompetitor), d = ca(e), u = Kt(e.events, ts(e)), { results: g, upcoming: S, live: f } = a ? Ui(
811
+ const { language: o, labels: s } = n, a = la(e), c = ma(a, t, o, s.unknownCompetitor), d = da(e), u = Kt(e.events, ts(e)), { results: g, upcoming: S, live: f } = a ? Ui(
812
812
  Ni(u, t, {
813
813
  language: o,
814
814
  teamId: a,
815
815
  unknownOpponent: s.unknownOpponent
816
816
  })
817
- ) : { results: [], upcoming: [], live: null }, y = da(g), h = /* @__PURE__ */ new Set();
817
+ ) : { results: [], upcoming: [], live: null }, y = ua(g), h = /* @__PURE__ */ new Set();
818
818
  d.forEach((v, m) => {
819
819
  m !== N && h.add(m);
820
820
  }), u.forEach((v) => {
@@ -841,26 +841,26 @@ const wr = (e) => {
841
841
  upcoming: S,
842
842
  live: f
843
843
  };
844
- }, ha = (e, t, n) => ns(e).map((o) => ma(o, t, n)).filter((o) => o !== null), fa = (e, t, n, o, s, a) => {
845
- var W;
846
- const { t: c } = Ke("common"), { enabled: d, withCountry: u, liveRefresh: g, refreshInterval: S } = a, [f, y] = Y([]), [h, w] = Y(null), [x, v] = Y(d), [m, k] = Y(!1), C = ct(), E = En(s);
844
+ }, fa = (e, t, n) => ns(e).map((o) => ha(o, t, n)).filter((o) => o !== null), ga = (e, t, n, o, s, a) => {
845
+ var M;
846
+ const { t: c } = Ke("common"), { enabled: d, withCountry: u, liveRefresh: g, refreshInterval: S } = a, [f, y] = Y([]), [h, w] = Y(null), [x, v] = Y(d), [m, k] = Y(!1), b = ct(), E = En(s);
847
847
  E.current = s;
848
- const $ = _n(
849
- async (b, T) => {
848
+ const _ = _n(
849
+ async (C, T) => {
850
850
  if (t) {
851
851
  T || (v(!0), k(!1));
852
852
  try {
853
- const F = await ia(e, t, b, C);
854
- if (b.aborted) return;
855
- const B = la(F);
853
+ const L = await sa(e, t, C, b);
854
+ if (C.aborted) return;
855
+ const B = ca(L);
856
856
  u && n && B.push(n);
857
857
  let j = /* @__PURE__ */ new Map();
858
858
  try {
859
- j = await jt(e, B, b, C);
859
+ j = await jt(e, B, C, b);
860
860
  } catch {
861
861
  j = /* @__PURE__ */ new Map();
862
862
  }
863
- if (b.aborted) return;
863
+ if (C.aborted) return;
864
864
  const K = u && n ? j.get(n) : void 0;
865
865
  w(
866
866
  n && K ? {
@@ -872,7 +872,7 @@ const wr = (e) => {
872
872
  flag: K.flag ?? null
873
873
  } : null
874
874
  ), y(
875
- ha(F, j, {
875
+ fa(L, j, {
876
876
  language: o,
877
877
  labels: {
878
878
  unknownOpponent: c("eventCard.unknownCompetitor"),
@@ -881,33 +881,33 @@ const wr = (e) => {
881
881
  }
882
882
  })
883
883
  ), k(!1);
884
- } catch (F) {
885
- if (b.aborted || (F == null ? void 0 : F.name) === "AbortError") return;
884
+ } catch (L) {
885
+ if (C.aborted || (L == null ? void 0 : L.name) === "AbortError") return;
886
886
  T || k(!0);
887
887
  } finally {
888
- !b.aborted && !T && v(!1);
888
+ !C.aborted && !T && v(!1);
889
889
  }
890
890
  }
891
891
  },
892
- [e, t, n, u, o, c, C]
892
+ [e, t, n, u, o, c, b]
893
893
  );
894
894
  $e(() => {
895
895
  if (!d || !e || !t) {
896
896
  y([]), w(null), v(!1);
897
897
  return;
898
898
  }
899
- const b = new AbortController();
900
- return $(b.signal, !1), () => b.abort();
901
- }, [d, e, t, $]);
902
- const R = !!((W = f[0]) != null && W.live);
899
+ const C = new AbortController();
900
+ return _(C.signal, !1), () => C.abort();
901
+ }, [d, e, t, _]);
902
+ const R = !!((M = f[0]) != null && M.live);
903
903
  return $e(() => {
904
904
  if (!d || !R || !g || S <= 0) return;
905
- const b = new AbortController(), T = setInterval(() => $(b.signal, !0), S);
905
+ const C = new AbortController(), T = setInterval(() => _(C.signal, !0), S);
906
906
  return () => {
907
- b.abort(), clearInterval(T);
907
+ C.abort(), clearInterval(T);
908
908
  };
909
- }, [d, R, g, S, $]), { profiles: f, country: h, loading: x, error: m };
910
- }, ga = (e, t, n, o, s) => {
909
+ }, [d, R, g, S, _]), { profiles: f, country: h, loading: x, error: m };
910
+ }, pa = (e, t, n, o, s) => {
911
911
  const [a, c] = Y(
912
912
  /* @__PURE__ */ new Map()
913
913
  ), [d, u] = Y(!1), g = ct(), [S, f] = Y(null), y = En(null), h = Wt(
@@ -917,8 +917,8 @@ const wr = (e) => {
917
917
  $e(() => {
918
918
  if (!s || !e || h.length === 0 || y.current === x) return;
919
919
  const k = new AbortController();
920
- return u(!0), jt(e, h, k.signal, g).then((C) => {
921
- k.signal.aborted || (y.current = x, c(C));
920
+ return u(!0), jt(e, h, k.signal, g).then((b) => {
921
+ k.signal.aborted || (y.current = x, c(b));
922
922
  }).catch(() => {
923
923
  }).finally(() => {
924
924
  k.signal.aborted || (f(x), u(!1));
@@ -928,39 +928,39 @@ const wr = (e) => {
928
928
  return { players: Wt(() => {
929
929
  if (a.size === 0) return [];
930
930
  const k = /* @__PURE__ */ new Map();
931
- return t.forEach((C) => {
932
- if (n !== N && C.competitionId !== n)
931
+ return t.forEach((b) => {
932
+ if (n !== N && b.competitionId !== n)
933
933
  return;
934
- const E = k.get(C.athleteId) ?? Jr();
935
- k.set(C.athleteId, qr(E, C.stats));
936
- }), Array.from(k.entries()).map(([C, E]) => {
937
- const $ = a.get(C), R = ve($, o);
938
- return !$ || !R ? null : {
939
- id: C,
934
+ const E = k.get(b.athleteId) ?? Qr();
935
+ k.set(b.athleteId, Jr(E, b.stats));
936
+ }), Array.from(k.entries()).map(([b, E]) => {
937
+ const _ = a.get(b), R = ve(_, o);
938
+ return !_ || !R ? null : {
939
+ id: b,
940
940
  name: R,
941
- position: Ji($.position),
942
- dateOfBirth: $.date_of_birth ?? null,
943
- headshot: dt($),
941
+ position: Ji(_.position),
942
+ dateOfBirth: _.date_of_birth ?? null,
943
+ headshot: dt(_),
944
944
  stats: E
945
945
  };
946
- }).filter((C) => C !== null);
946
+ }).filter((b) => b !== null);
947
947
  }, [a, t, n, o]), loading: d || v };
948
- }, pa = 45, fn = 90, ya = 15, Sa = (e, t) => {
948
+ }, ya = 45, fn = 90, Sa = 15, wa = (e, t) => {
949
949
  if ((e ?? "").toLowerCase() !== "football") return null;
950
950
  const n = (t ?? "").toLowerCase();
951
951
  if (!n) return null;
952
952
  const o = n.match(/^(\d+)(?:st|nd|rd|th)_(half|overtime)$/);
953
953
  if (o && o[2] === "half") {
954
954
  const a = Number(o[1]);
955
- return a === 1 ? 0 : a === 2 ? pa : null;
955
+ return a === 1 ? 0 : a === 2 ? ya : null;
956
956
  }
957
957
  const s = n.match(/^extra_time_(\d+)$/);
958
958
  if (s) {
959
959
  const a = Number(s[1]);
960
- return a === 1 ? fn : a === 2 ? fn + ya : null;
960
+ return a === 1 ? fn : a === 2 ? fn + Sa : null;
961
961
  }
962
962
  return n.startsWith("extra_time") ? fn : null;
963
- }, wa = /^(running|started|in_progress|active|live)$/, va = (e) => wa.test((e ?? "").toLowerCase()), xa = 180, ka = (e, t, n, o) => {
963
+ }, va = /^(running|started|in_progress|active|live)$/, xa = (e) => va.test((e ?? "").toLowerCase()), ka = 180, ba = (e, t, n, o) => {
964
964
  const { enabled: s, refreshInterval: a } = o, [c, d] = Y(null), [u, g] = Y(0), S = ct();
965
965
  if ($e(() => {
966
966
  if (!s || !e || !t) {
@@ -969,22 +969,22 @@ const wr = (e) => {
969
969
  }
970
970
  const h = new AbortController(), w = async () => {
971
971
  var E;
972
- const v = await $r(
972
+ const v = await _r(
973
973
  e,
974
974
  t,
975
975
  h.signal,
976
976
  S
977
977
  );
978
978
  if (h.signal.aborted) return;
979
- const m = v == null ? void 0 : v.timing, k = Number((m == null ? void 0 : m.current_minute) ?? 0), C = Number((m == null ? void 0 : m.played_seconds) ?? 0);
980
- if (!m || k <= 0 && C <= 0) {
979
+ const m = v == null ? void 0 : v.timing, k = Number((m == null ? void 0 : m.current_minute) ?? 0), b = Number((m == null ? void 0 : m.played_seconds) ?? 0);
980
+ if (!m || k <= 0 && b <= 0) {
981
981
  d(null);
982
982
  return;
983
983
  }
984
984
  d({
985
985
  minute: k,
986
- playedSeconds: C,
987
- running: va(m.clock_status),
986
+ playedSeconds: b,
987
+ running: xa(m.clock_status),
988
988
  subType: ((E = v == null ? void 0 : v.status) == null ? void 0 : E.sub_type) ?? null
989
989
  });
990
990
  };
@@ -997,11 +997,11 @@ const wr = (e) => {
997
997
  if (g(0), !(c != null && c.running)) return;
998
998
  let h = 0;
999
999
  const w = setInterval(() => {
1000
- h += 1, g(h), h >= xa && clearInterval(w);
1000
+ h += 1, g(h), h >= ka && clearInterval(w);
1001
1001
  }, 1e3);
1002
1002
  return () => clearInterval(w);
1003
1003
  }, [c == null ? void 0 : c.minute, c == null ? void 0 : c.playedSeconds, c == null ? void 0 : c.running]), !c) return null;
1004
- const f = Sa(n, c.subType);
1004
+ const f = wa(n, c.subType);
1005
1005
  if (f === null) return null;
1006
1006
  const y = Math.max(0, c.playedSeconds) % 60;
1007
1007
  return f + c.minute + Math.floor((y + u) / 60);
@@ -1040,7 +1040,7 @@ const wr = (e) => {
1040
1040
  spaceXl: "var(--fu-ucrc-space-xl)"
1041
1041
  }, te = (e, t) => `rgba(${er(e)}, ${t})`, os = () => {
1042
1042
  const e = Ei(), t = e.textPrimary, n = e.textSecondary, o = e.palette.success.plainColor, s = e.palette.danger.plainColor;
1043
- return L.useMemo(
1043
+ return F.useMemo(
1044
1044
  () => ({
1045
1045
  // The theme's `textSecondary` isn't actually dimmed, so the muted tone is derived.
1046
1046
  "--fu-ucrc-cc-dim": te(n, 0.62),
@@ -1095,7 +1095,7 @@ const wr = (e) => {
1095
1095
  };
1096
1096
  return n.optional = (o) => vo(e, o), n;
1097
1097
  }, [e, t]);
1098
- }, ba = (e, t) => {
1098
+ }, Ia = (e, t) => {
1099
1099
  switch (e) {
1100
1100
  case "keeper":
1101
1101
  return t("goalkeepers");
@@ -1135,10 +1135,10 @@ const wr = (e) => {
1135
1135
  }, Re = ({ children: e, elevated: t = !1 }) => {
1136
1136
  const n = os();
1137
1137
  return /* @__PURE__ */ l("div", { css: t ? ko.elevated : ko.flat, style: n, children: e });
1138
- }, Ia = ({ labels: e }) => {
1138
+ }, Ta = ({ labels: e }) => {
1139
1139
  const t = is(e);
1140
1140
  return /* @__PURE__ */ l(Re, { children: /* @__PURE__ */ l(Vs, { title: t("notFound"), message: t("notFoundDescription") }) });
1141
- }, Ct = 10, Co = 6, Ta = 100, bo = i({
1141
+ }, bt = 10, bo = 6, Aa = 100, Co = i({
1142
1142
  position: "absolute",
1143
1143
  width: "0.625em",
1144
1144
  height: "0.625em",
@@ -1173,8 +1173,8 @@ const wr = (e) => {
1173
1173
  }),
1174
1174
  // Points down under a bubble above the anchor, up over one below it.
1175
1175
  arrow: {
1176
- top: i(bo, { bottom: "calc(0.5px - 0.3125em)", "&::before": { transform: "rotate(135deg)" } }),
1177
- bottom: i(bo, { top: "calc(0.5px - 0.3125em)", "&::before": { transform: "rotate(-45deg)" } })
1176
+ top: i(Co, { bottom: "calc(0.5px - 0.3125em)", "&::before": { transform: "rotate(135deg)" } }),
1177
+ bottom: i(Co, { top: "calc(0.5px - 0.3125em)", "&::before": { transform: "rotate(-45deg)" } })
1178
1178
  }
1179
1179
  }, ee = ({
1180
1180
  title: e,
@@ -1183,22 +1183,22 @@ const wr = (e) => {
1183
1183
  maxWidthEm: o = 16,
1184
1184
  fontSize: s = "0.75em"
1185
1185
  }) => {
1186
- const { shadowRootElement: a } = tr(nr), c = Fi(), d = os(), u = L.useRef(null), g = L.useRef(null), S = L.useRef(null), f = L.useId(), y = L.useRef(void 0), [h, w] = L.useState(!1), [x, v] = L.useState(null), [m, k] = L.useReducer((T) => T + 1, 0);
1187
- if (L.useEffect(() => () => window.clearTimeout(y.current), []), L.useEffect(() => {
1186
+ const { shadowRootElement: a } = tr(nr), c = Fi(), d = os(), u = F.useRef(null), g = F.useRef(null), S = F.useRef(null), f = F.useId(), y = F.useRef(void 0), [h, w] = F.useState(!1), [x, v] = F.useState(null), [m, k] = F.useReducer((T) => T + 1, 0);
1187
+ if (F.useEffect(() => () => window.clearTimeout(y.current), []), F.useEffect(() => {
1188
1188
  if (h)
1189
1189
  return window.addEventListener("resize", k), window.addEventListener("scroll", k, !0), () => {
1190
1190
  window.removeEventListener("resize", k), window.removeEventListener("scroll", k, !0);
1191
1191
  };
1192
- }, [h]), L.useLayoutEffect(() => {
1192
+ }, [h]), F.useLayoutEffect(() => {
1193
1193
  var Je;
1194
- const T = u.current, F = g.current;
1195
- if (!h || !T || !F) return;
1196
- const B = T.getBoundingClientRect(), { width: j, height: K } = F.getBoundingClientRect(), G = document.documentElement.clientWidth, Fe = n.startsWith("bottom") ? "bottom" : "top", I = B.top - Ct - K >= 0, ue = B.bottom + Ct + K <= window.innerHeight, re = Fe === "top" ? I || !ue ? "top" : "bottom" : ue || !I ? "bottom" : "top", ke = n.endsWith("-start") ? "start" : n.endsWith("-end") ? "end" : "center";
1194
+ const T = u.current, L = g.current;
1195
+ if (!h || !T || !L) return;
1196
+ const B = T.getBoundingClientRect(), { width: j, height: K } = L.getBoundingClientRect(), G = document.documentElement.clientWidth, Fe = n.startsWith("bottom") ? "bottom" : "top", I = B.top - bt - K >= 0, ue = B.bottom + bt + K <= window.innerHeight, re = Fe === "top" ? I || !ue ? "top" : "bottom" : ue || !I ? "bottom" : "top", ke = n.endsWith("-start") ? "start" : n.endsWith("-end") ? "end" : "center";
1197
1197
  let O = ke === "center" ? B.left + B.width / 2 - j / 2 : ke === "start" !== c ? B.left : B.right - j;
1198
1198
  O = Math.max(0, Math.min(O, G - j));
1199
- const qe = re === "top" ? B.top - Ct - K : B.bottom + Ct, me = ((Je = S.current) == null ? void 0 : Je.offsetWidth) ?? 0, he = Math.max(
1200
- Co,
1201
- Math.min(B.left + B.width / 2 - O - me / 2, j - me - Co)
1199
+ const qe = re === "top" ? B.top - bt - K : B.bottom + bt, me = ((Je = S.current) == null ? void 0 : Je.offsetWidth) ?? 0, he = Math.max(
1200
+ bo,
1201
+ Math.min(B.left + B.width / 2 - O - me / 2, j - me - bo)
1202
1202
  ), nn = document.documentElement.clientHeight;
1203
1203
  v({
1204
1204
  x: Math.round(O),
@@ -1207,27 +1207,27 @@ const wr = (e) => {
1207
1207
  arrow: Math.round(he)
1208
1208
  });
1209
1209
  }, [h, n, c, e, m]), !e) return t;
1210
- const C = () => {
1211
- window.clearTimeout(y.current), y.current = window.setTimeout(() => w(!0), Ta);
1210
+ const b = () => {
1211
+ window.clearTimeout(y.current), y.current = window.setTimeout(() => w(!0), Aa);
1212
1212
  }, E = () => {
1213
1213
  window.clearTimeout(y.current), w(!1), v(null);
1214
- }, $ = t.props, R = (T, F) => (B) => {
1214
+ }, _ = t.props, R = (T, L) => (B) => {
1215
1215
  var j;
1216
- (j = $[T]) == null || j.call($, B), F();
1217
- }, W = L.cloneElement(t, {
1216
+ (j = _[T]) == null || j.call(_, B), L();
1217
+ }, M = F.cloneElement(t, {
1218
1218
  ref: (T) => {
1219
1219
  u.current = T;
1220
- const F = $.ref;
1221
- typeof F == "function" ? F(T) : F && (F.current = T);
1220
+ const L = _.ref;
1221
+ typeof L == "function" ? L(T) : L && (L.current = T);
1222
1222
  },
1223
1223
  // As Joy did: a text title names the anchor; a rich one labels it while open.
1224
- "aria-label": typeof e == "string" ? e : $["aria-label"],
1224
+ "aria-label": typeof e == "string" ? e : _["aria-label"],
1225
1225
  "aria-labelledby": h && typeof e != "string" ? f : void 0,
1226
- onMouseEnter: R("onMouseEnter", C),
1226
+ onMouseEnter: R("onMouseEnter", b),
1227
1227
  onMouseLeave: R("onMouseLeave", E),
1228
- onFocus: R("onFocus", C),
1228
+ onFocus: R("onFocus", b),
1229
1229
  onBlur: R("onBlur", E)
1230
- }), b = h ? /* @__PURE__ */ p(
1230
+ }), C = h ? /* @__PURE__ */ p(
1231
1231
  "div",
1232
1232
  {
1233
1233
  ref: g,
@@ -1236,6 +1236,7 @@ const wr = (e) => {
1236
1236
  css: Io.bubble,
1237
1237
  style: {
1238
1238
  ...d,
1239
+ // eslint-disable-next-line no-restricted-syntax -- measured in px: physical by design
1239
1240
  left: 0,
1240
1241
  ...(x == null ? void 0 : x.side) === "bottom" ? { top: 0 } : { bottom: 0 },
1241
1242
  fontSize: s,
@@ -1257,13 +1258,13 @@ const wr = (e) => {
1257
1258
  }
1258
1259
  ) : null;
1259
1260
  return /* @__PURE__ */ p(Ee, { children: [
1260
- W,
1261
- b && a ? yr(b, a) : b
1261
+ M,
1262
+ C && a ? Sr(C, a) : C
1262
1263
  ] });
1263
- }, rs = 90, Aa = (e) => Math.max(0, e) * rs, as = (e, t) => {
1264
- const n = Aa(e);
1264
+ }, rs = 90, $a = (e) => Math.max(0, e) * rs, as = (e, t) => {
1265
+ const n = $a(e);
1265
1266
  return n > 0 && t < n ? n : null;
1266
- }, $a = (e, t) => e > 0 && t <= e ? e : null, ls = (e) => Math.max(0, e.apps - e.starts), cs = (e) => e.goals + e.assists, Mn = (e, t, n = 2) => (t > 0 ? e / t * rs : 0).toFixed(n), lt = (e, t) => t > 0 ? (e / t).toFixed(2) : null, Ot = (e, t) => t > 0 ? Math.round(e / t) : null, ds = (e, t) => e.unreported.includes(t) ? "unreported" : e.partial.includes(t) ? "partial" : "exact", ne = (e, ...t) => t.every((n) => ds(e, n) !== "unreported"), ut = (e) => {
1267
+ }, _a = (e, t) => e > 0 && t <= e ? e : null, ls = (e) => Math.max(0, e.apps - e.starts), cs = (e) => e.goals + e.assists, Mn = (e, t, n = 2) => (t > 0 ? e / t * rs : 0).toFixed(n), lt = (e, t) => t > 0 ? (e / t).toFixed(2) : null, Ot = (e, t) => t > 0 ? Math.round(e / t) : null, ds = (e, t) => e.unreported.includes(t) ? "unreported" : e.partial.includes(t) ? "partial" : "exact", ne = (e, ...t) => t.every((n) => ds(e, n) !== "unreported"), ut = (e) => {
1267
1268
  if (!e) return null;
1268
1269
  const t = new Date(e);
1269
1270
  return Number.isNaN(t.getTime()) ? null : t;
@@ -1274,27 +1275,27 @@ const wr = (e) => {
1274
1275
  minute: "2-digit",
1275
1276
  hour12: !1
1276
1277
  }) : null;
1277
- }, _a = (e, t) => {
1278
+ }, Ea = (e, t) => {
1278
1279
  const n = ut(e);
1279
1280
  return n ? n.toLocaleDateString(De(t), { day: "numeric" }) : null;
1280
- }, Ea = (e, t) => {
1281
+ }, Fa = (e, t) => {
1281
1282
  const n = ut(e);
1282
1283
  return n ? n.toLocaleDateString(De(t), { month: "short" }) : null;
1283
- }, Fa = (e, t) => {
1284
+ }, La = (e, t) => {
1284
1285
  const n = ut(e);
1285
1286
  return n ? n.toLocaleDateString(De(t), {
1286
1287
  weekday: "short",
1287
1288
  day: "numeric",
1288
1289
  month: "short"
1289
1290
  }) : null;
1290
- }, La = (e, t) => {
1291
+ }, Ba = (e, t) => {
1291
1292
  const n = ut(e);
1292
1293
  return n ? n.toLocaleDateString(De(t), {
1293
1294
  day: "numeric",
1294
1295
  month: "short",
1295
1296
  year: "numeric"
1296
1297
  }) : null;
1297
- }, A = (e, t) => e.toLocaleString(De(t)), oe = "–", z = (e, t, n) => ds(e, t) === "unreported" ? oe : A(e[t], n), Dn = (e, t) => `${e.toLocaleString(De(t))}%`, zn = (e) => e ? e.slice(0, 10) : null, gn = i({
1298
+ }, $ = (e, t) => e.toLocaleString(De(t)), oe = "–", z = (e, t, n) => ds(e, t) === "unreported" ? oe : $(e[t], n), Dn = (e, t) => `${e.toLocaleString(De(t))}%`, zn = (e) => e ? e.slice(0, 10) : null, gn = i({
1298
1299
  display: "inline-flex",
1299
1300
  alignItems: "center",
1300
1301
  gap: "0.375em",
@@ -1351,7 +1352,7 @@ const wr = (e) => {
1351
1352
  ] });
1352
1353
  return n ? /* @__PURE__ */ l(ee, { title: t(e.title ?? e.text, e.detail), fontSize: "1em", children: o }) : o;
1353
1354
  }, fs = ({ yellowCards: e, redCards: t, label: n, language: o }) => {
1354
- const s = ms(), a = (c, d) => `${c}: ${A(d, o)}`;
1355
+ const s = ms(), a = (c, d) => `${c}: ${$(d, o)}`;
1355
1356
  return /* @__PURE__ */ l(
1356
1357
  ee,
1357
1358
  {
@@ -1365,9 +1366,9 @@ const wr = (e) => {
1365
1366
  fontSize: "1em",
1366
1367
  children: /* @__PURE__ */ p("div", { css: se.cardsChip, children: [
1367
1368
  /* @__PURE__ */ l("div", { "aria-hidden": !0, css: se.yellow }),
1368
- /* @__PURE__ */ l("span", { css: se.count, children: A(e, o) }),
1369
+ /* @__PURE__ */ l("span", { css: se.count, children: $(e, o) }),
1369
1370
  /* @__PURE__ */ l("div", { "aria-hidden": !0, css: se.red }),
1370
- /* @__PURE__ */ l("span", { css: se.count, children: A(t, o) })
1371
+ /* @__PURE__ */ l("span", { css: se.count, children: $(t, o) })
1371
1372
  ] })
1372
1373
  }
1373
1374
  );
@@ -1381,7 +1382,7 @@ const wr = (e) => {
1381
1382
  padding: 0,
1382
1383
  font: "inherit",
1383
1384
  "&[data-cta]": { cursor: "pointer" }
1384
- }), We = L.forwardRef(
1385
+ }), We = F.forwardRef(
1385
1386
  ({ cta: e, children: t, className: n, ...o }, s) => {
1386
1387
  const a = (d) => {
1387
1388
  var u;
@@ -1415,11 +1416,11 @@ const wr = (e) => {
1415
1416
  }
1416
1417
  );
1417
1418
  We.displayName = "LinkSurface";
1418
- const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
1419
+ const Pa = /\{(\w+)\}/g, Ra = (e, t) => e.replace(Pa, (n, o) => {
1419
1420
  const s = t[o];
1420
1421
  return encodeURIComponent(s ?? "");
1421
1422
  }), Vt = (e, t) => {
1422
- const n = ((e == null ? void 0 : e.url) ?? "").trim(), o = n ? Pa(n, t) : null, s = (e == null ? void 0 : e.onClick) ?? null;
1423
+ const n = ((e == null ? void 0 : e.url) ?? "").trim(), o = n ? Ra(n, t) : null, s = (e == null ? void 0 : e.onClick) ?? null;
1423
1424
  return {
1424
1425
  href: o,
1425
1426
  target: (e == null ? void 0 : e.target) ?? null,
@@ -1446,18 +1447,18 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
1446
1447
  if (n === null || o === null) return null;
1447
1448
  const [s, a] = n >= o ? [n, o] : [o, n];
1448
1449
  return (s + 0.05) / (a + 0.05);
1449
- }, Ra = 1.35, Wa = 60, Ma = (e, t) => {
1450
+ }, Wa = 1.35, Ma = 60, Da = (e, t) => {
1450
1451
  const n = $n(e), o = $n(t);
1451
1452
  return !n || !o ? null : Math.hypot(
1452
1453
  n[0] - o[0],
1453
1454
  n[1] - o[1],
1454
1455
  n[2] - o[2]
1455
1456
  );
1456
- }, gs = (e, t, n = Ra) => {
1457
+ }, gs = (e, t, n = Wa) => {
1457
1458
  const o = Hn(e, t);
1458
1459
  if (o === null || o >= n) return !0;
1459
- const s = Ma(e, t);
1460
- return s !== null && s >= Wa;
1460
+ const s = Da(e, t);
1461
+ return s !== null && s >= Ma;
1461
1462
  }, On = (e, t) => {
1462
1463
  let n = t[0], o = -1;
1463
1464
  for (const s of t) {
@@ -1477,26 +1478,26 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
1477
1478
  }, Me = (e) => {
1478
1479
  const { branding: t, hasBranding: n, styles: o } = e;
1479
1480
  return !n || !(t != null && t.primary) ? o.colors.primary : gs(t.primary, o.colors.surface) ? t.primary : o.colors.primary;
1480
- }, Da = 4.5, za = (e) => [
1481
+ }, za = 4.5, Ha = (e) => [
1481
1482
  e.colors.onPrimary,
1482
1483
  e.colors.text,
1483
1484
  e.colors.surface
1484
1485
  ], $o = (e, t) => {
1485
1486
  const n = t.map((o) => Hn(e, o)).filter((o) => o !== null);
1486
1487
  return n.length === 0 ? null : Math.min(...n);
1487
- }, Ha = (e, t) => {
1488
+ }, Oa = (e, t) => {
1488
1489
  const n = t.colors.onPrimary, o = $o(n, e);
1489
- if (o === null || o >= Oa)
1490
+ if (o === null || o >= Na)
1490
1491
  return { ink: n, readable: !0 };
1491
- const s = On(e, za(t)), a = $o(s, e);
1492
- return { ink: s, readable: a === null || a >= Da };
1492
+ const s = On(e, Ha(t)), a = $o(s, e);
1493
+ return { ink: s, readable: a === null || a >= za };
1493
1494
  }, ps = (e, t) => {
1494
1495
  if (t != null && t.trim()) return !1;
1495
1496
  const { styles: n } = e;
1496
1497
  return !gs(mt(e), n.colors.surface);
1497
- }, Oa = 2.2, Yt = (e, t) => {
1498
+ }, Na = 2.2, Yt = (e, t) => {
1498
1499
  const { styles: n } = e;
1499
- return t != null && t.trim() ? n.colors.onPrimary : Ha([mt(e), Nn(e)], n).ink;
1500
+ return t != null && t.trim() ? n.colors.onPrimary : Oa([mt(e), Nn(e)], n).ink;
1500
1501
  }, ys = (e, t) => t != null && t.trim() ? t : `linear-gradient(${e.styles.diagonal}, ${Nn(e)}, ${mt(e)})`, Ss = (e, t) => t != null && t.trim() ? t : `linear-gradient(${e.styles.diagonal}, ${mt(e)}, ${Nn(e)})`, ws = (e) => `0 0.5em 1.25em -0.625em ${e.styles.tint(Me(e), 0.6)}`, vs = (e, t) => {
1501
1502
  if (t != null && t.trim()) return t;
1502
1503
  const { styles: n } = e, o = n.tint(Me(e), 0.08), s = n.tint(Me(e), 0.08);
@@ -1631,7 +1632,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
1631
1632
  lineHeight: 1.55,
1632
1633
  "&[data-cta]:hover": { opacity: 0.9 }
1633
1634
  })
1634
- }, Na = ({
1635
+ }, Ua = ({
1635
1636
  player: e,
1636
1637
  competitorId: t,
1637
1638
  teamPlayed: n,
@@ -1644,10 +1645,10 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
1644
1645
  const { colors: u } = ie(), g = ss(), S = Me(a), f = On(
1645
1646
  [S],
1646
1647
  [u.onPrimary, u.text, u.surface]
1647
- ), y = e.position === "keeper", { stats: h } = e, w = Pn(e.dateOfBirth), x = as(n, h.minutes), v = Math.max(0, h.apps - h.starts), m = y ? { value: h.cleanSheets, caption: s("cleanSheets") } : h.goals > 0 ? { value: h.goals, caption: s("goals") } : h.assists > 0 ? { value: h.assists, caption: s("assists") } : { value: h.minutes, caption: s("minutes") }, k = (b, T) => `${b}: ${A(T, o)}`, C = y ? [
1648
+ ), y = e.position === "keeper", { stats: h } = e, w = Pn(e.dateOfBirth), x = as(n, h.minutes), v = Math.max(0, h.apps - h.starts), m = y ? { value: h.cleanSheets, caption: s("cleanSheets") } : h.goals > 0 ? { value: h.goals, caption: s("goals") } : h.assists > 0 ? { value: h.assists, caption: s("assists") } : { value: h.minutes, caption: s("minutes") }, k = (C, T) => `${C}: ${$(T, o)}`, b = y ? [
1648
1649
  {
1649
1650
  key: "conceded",
1650
- value: A(h.goalsConceded, o),
1651
+ value: $(h.goalsConceded, o),
1651
1652
  text: s("goalsConcededShort"),
1652
1653
  title: s("goalsConceded")
1653
1654
  },
@@ -1663,7 +1664,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
1663
1664
  },
1664
1665
  {
1665
1666
  key: "minPerApp",
1666
- value: h.apps > 0 ? A(Math.round(h.minutes / h.apps), o) : "0",
1667
+ value: h.apps > 0 ? $(Math.round(h.minutes / h.apps), o) : "0",
1667
1668
  text: s("minutesPerAppearanceShort"),
1668
1669
  title: s("minutesPerAppearance"),
1669
1670
  detail: [
@@ -1674,19 +1675,19 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
1674
1675
  ] : [
1675
1676
  {
1676
1677
  key: "goals",
1677
- value: A(h.goals, o),
1678
+ value: $(h.goals, o),
1678
1679
  text: s("goalsShort"),
1679
1680
  title: s("goals")
1680
1681
  },
1681
1682
  {
1682
1683
  key: "assists",
1683
- value: A(h.assists, o),
1684
+ value: $(h.assists, o),
1684
1685
  text: s("assistsShort"),
1685
1686
  title: s("assists")
1686
1687
  },
1687
1688
  {
1688
1689
  key: "minPerGoal",
1689
- value: h.goals > 0 ? A(Math.round(h.minutes / h.goals), o) : "–",
1690
+ value: h.goals > 0 ? $(Math.round(h.minutes / h.goals), o) : "–",
1690
1691
  text: s("minutesPerGoalShort"),
1691
1692
  title: s("minutesPerGoal"),
1692
1693
  detail: [
@@ -1696,7 +1697,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
1696
1697
  },
1697
1698
  {
1698
1699
  key: "minPerApp",
1699
- value: h.apps > 0 ? A(Math.round(h.minutes / h.apps), o) : "0",
1700
+ value: h.apps > 0 ? $(Math.round(h.minutes / h.apps), o) : "0",
1700
1701
  text: s("minutesPerAppearanceShort"),
1701
1702
  title: s("minutesPerAppearance"),
1702
1703
  detail: [
@@ -1707,17 +1708,17 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
1707
1708
  ], E = Vt(d, {
1708
1709
  athleteId: e.id,
1709
1710
  competitorId: t
1710
- }), $ = {
1711
+ }), _ = {
1711
1712
  "--fu-ucrc-cc-accent": S,
1712
1713
  "--fu-ucrc-cc-on-accent": f
1713
- }, R = (b, T) => /* @__PURE__ */ p("div", { css: D.bar, children: [
1714
- b,
1714
+ }, R = (C, T) => /* @__PURE__ */ p("div", { css: D.bar, children: [
1715
+ C,
1715
1716
  T
1716
- ] }), W = (b, T, F) => /* @__PURE__ */ p("div", { css: D.barCaption, children: [
1717
- /* @__PURE__ */ l("span", { children: b }),
1718
- /* @__PURE__ */ l("span", { css: D.strong, children: F === null ? T : s("ofTotal", { value: T, total: F }) })
1717
+ ] }), M = (C, T, L) => /* @__PURE__ */ p("div", { css: D.barCaption, children: [
1718
+ /* @__PURE__ */ l("span", { children: C }),
1719
+ /* @__PURE__ */ l("span", { css: D.strong, children: L === null ? T : s("ofTotal", { value: T, total: L }) })
1719
1720
  ] });
1720
- return /* @__PURE__ */ p("div", { css: D.card, style: { ...$, background: vs(a, c) }, children: [
1721
+ return /* @__PURE__ */ p("div", { css: D.card, style: { ..._, background: vs(a, c) }, children: [
1721
1722
  /* @__PURE__ */ p("div", { css: D.top, children: [
1722
1723
  /* @__PURE__ */ l(
1723
1724
  "div",
@@ -1735,15 +1736,15 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
1735
1736
  ].filter(Boolean).join(" · ") })
1736
1737
  ] }),
1737
1738
  /* @__PURE__ */ p("div", { css: D.hero, children: [
1738
- /* @__PURE__ */ l("p", { css: D.heroValue, children: A(m.value, o) }),
1739
+ /* @__PURE__ */ l("p", { css: D.heroValue, children: $(m.value, o) }),
1739
1740
  /* @__PURE__ */ l("p", { css: D.heroCaption, children: m.caption })
1740
1741
  ] })
1741
1742
  ] }),
1742
1743
  R(
1743
- W(
1744
+ M(
1744
1745
  s("minutesPlayed"),
1745
- A(h.minutes, o),
1746
- x === null ? null : A(x, o)
1746
+ $(h.minutes, o),
1747
+ x === null ? null : $(x, o)
1747
1748
  ),
1748
1749
  /* @__PURE__ */ l("div", { css: D.track, children: /* @__PURE__ */ l(
1749
1750
  "div",
@@ -1756,10 +1757,10 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
1756
1757
  ) })
1757
1758
  ),
1758
1759
  R(
1759
- W(
1760
+ M(
1760
1761
  s("appearances"),
1761
- A(h.apps, o),
1762
- A(n, o)
1762
+ $(h.apps, o),
1763
+ $(n, o)
1763
1764
  ),
1764
1765
  /* @__PURE__ */ p("div", { css: D.bar, children: [
1765
1766
  /* @__PURE__ */ p("div", { css: D.splitTrack, children: [
@@ -1781,15 +1782,15 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
1781
1782
  /* @__PURE__ */ l("div", { css: D.legend, children: [
1782
1783
  { key: "starts", value: h.starts, text: s("starts") },
1783
1784
  { key: "subs", value: v, text: s("subs") }
1784
- ].map((b) => /* @__PURE__ */ p("div", { css: D.legendEntry, children: [
1785
- /* @__PURE__ */ l("div", { "aria-hidden": !0, css: D.swatch[b.key] }),
1786
- /* @__PURE__ */ l("span", { css: D.count, children: A(b.value, o) }),
1787
- b.text
1788
- ] }, b.key)) })
1785
+ ].map((C) => /* @__PURE__ */ p("div", { css: D.legendEntry, children: [
1786
+ /* @__PURE__ */ l("div", { "aria-hidden": !0, css: D.swatch[C.key] }),
1787
+ /* @__PURE__ */ l("span", { css: D.count, children: $(C.value, o) }),
1788
+ C.text
1789
+ ] }, C.key)) })
1789
1790
  ] })
1790
1791
  ),
1791
1792
  /* @__PURE__ */ p("div", { css: D.chips, children: [
1792
- C.map((b) => /* @__PURE__ */ l(hs, { chip: b }, b.key)),
1793
+ b.map((C) => /* @__PURE__ */ l(hs, { chip: C }, C.key)),
1793
1794
  /* @__PURE__ */ l(
1794
1795
  fs,
1795
1796
  {
@@ -1802,10 +1803,10 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
1802
1803
  ] }),
1803
1804
  E.interactive ? /* @__PURE__ */ p(We, { cta: E, title: E.href ?? void 0, css: D.cta, children: [
1804
1805
  s("fullProfile"),
1805
- /* @__PURE__ */ l(Li, { children: /* @__PURE__ */ l(ar, { size: 14, "aria-hidden": !0 }) })
1806
+ /* @__PURE__ */ l(Li, { children: /* @__PURE__ */ l(lr, { size: 14, "aria-hidden": !0 }) })
1806
1807
  ] }) : null
1807
1808
  ] });
1808
- }, Ua = i({
1809
+ }, ja = i({
1809
1810
  margin: 0,
1810
1811
  fontFamily: r.fontSecondary,
1811
1812
  fontSize: "0.875em",
@@ -1813,7 +1814,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
1813
1814
  color: r.dim,
1814
1815
  textAlign: "center",
1815
1816
  paddingBlock: "1.5em"
1816
- }), Xe = ({ children: e }) => /* @__PURE__ */ l("p", { css: Ua, children: e }), ja = [
1817
+ }), Xe = ({ children: e }) => /* @__PURE__ */ l("p", { css: ja, children: e }), Ga = [
1817
1818
  "keeper",
1818
1819
  "defender",
1819
1820
  "midfielder",
@@ -1827,7 +1828,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
1827
1828
  gap: e ? "0.375em" : "0.5em",
1828
1829
  paddingInline: e ? "0.5em" : "0.625em",
1829
1830
  paddingBlockEnd: "0.25em"
1830
- }), bt = (e, t) => i(je, {
1831
+ }), Ct = (e, t) => i(je, {
1831
1832
  display: "grid",
1832
1833
  gridTemplateColumns: e ? Nt.dense : Nt.regular,
1833
1834
  alignItems: "center",
@@ -1878,8 +1879,8 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
1878
1879
  cursor: "help"
1879
1880
  }),
1880
1881
  row: {
1881
- regular: { open: bt(!1, !0), closed: bt(!1, !1) },
1882
- dense: { open: bt(!0, !0), closed: bt(!0, !1) }
1882
+ regular: { open: Ct(!1, !0), closed: Ct(!1, !1) },
1883
+ dense: { open: Ct(!0, !0), closed: Ct(!0, !1) }
1883
1884
  },
1884
1885
  identity: i({ display: "flex", alignItems: "center", gap: "0.625em", minWidth: 0 }),
1885
1886
  headshot: { regular: Lo(!1), dense: Lo(!0) },
@@ -1913,7 +1914,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
1913
1914
  textAlign: "end",
1914
1915
  fontVariantNumeric: "tabular-nums"
1915
1916
  })
1916
- }, Ga = ({
1917
+ }, Ka = ({
1917
1918
  players: e,
1918
1919
  loading: t,
1919
1920
  competitorId: n,
@@ -1924,12 +1925,12 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
1924
1925
  config: d,
1925
1926
  dense: u = !1
1926
1927
  }) => {
1927
- const [g, S] = L.useState(null);
1928
+ const [g, S] = F.useState(null);
1928
1929
  if (t && e.length === 0)
1929
1930
  return /* @__PURE__ */ l(_i, { marginBlock: "1.5em" });
1930
1931
  if (e.length === 0)
1931
1932
  return /* @__PURE__ */ l(Xe, { children: a("noData") });
1932
- const f = u ? "dense" : "regular", y = ja.map((h) => ({
1933
+ const f = u ? "dense" : "regular", y = Ga.map((h) => ({
1933
1934
  position: h,
1934
1935
  players: e.filter((w) => w.position === h).sort((w, x) => x.stats.minutes - w.stats.minutes)
1935
1936
  })).filter((h) => h.players.length > 0);
@@ -1941,16 +1942,16 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
1941
1942
  ];
1942
1943
  return /* @__PURE__ */ p("div", { css: Z.group, children: [
1943
1944
  /* @__PURE__ */ p("div", { css: Z.header[f], children: [
1944
- /* @__PURE__ */ l("p", { css: Z.groupLabel, children: ba(h.position, a) }),
1945
+ /* @__PURE__ */ l("p", { css: Z.groupLabel, children: Ia(h.position, a) }),
1945
1946
  x.map((v) => /* @__PURE__ */ l(ee, { title: v.long, children: /* @__PURE__ */ l("p", { css: Z.columnLabel, children: v.short }) }, v.short))
1946
1947
  ] }),
1947
1948
  h.players.map((v) => {
1948
- const m = g === v.id, k = Pn(v.dateOfBirth), C = [
1949
+ const m = g === v.id, k = Pn(v.dateOfBirth), b = [
1949
1950
  v.stats.apps,
1950
1951
  w ? v.stats.cleanSheets : v.stats.goals,
1951
1952
  w ? v.stats.goalsConceded : v.stats.assists
1952
1953
  ];
1953
- return /* @__PURE__ */ p(L.Fragment, { children: [
1954
+ return /* @__PURE__ */ p(F.Fragment, { children: [
1954
1955
  /* @__PURE__ */ p(
1955
1956
  We,
1956
1957
  {
@@ -1979,12 +1980,12 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
1979
1980
  k !== null ? /* @__PURE__ */ l("p", { css: Z.age, children: a("years", { count: k }) }) : null
1980
1981
  ] })
1981
1982
  ] }),
1982
- C.map((E, $) => /* @__PURE__ */ l("p", { css: Z.value, children: A(E, s) }, $))
1983
+ b.map((E, _) => /* @__PURE__ */ l("p", { css: Z.value, children: $(E, s) }, _))
1983
1984
  ]
1984
1985
  }
1985
1986
  ),
1986
1987
  m ? /* @__PURE__ */ l(
1987
- Na,
1988
+ Ua,
1988
1989
  {
1989
1990
  player: v,
1990
1991
  competitorId: n,
@@ -2014,9 +2015,9 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
2014
2015
  icon: i({ display: "flex", flexShrink: 0 }),
2015
2016
  text: i({ margin: 0, fontSize: "1em" })
2016
2017
  }, xs = ({ label: e }) => /* @__PURE__ */ p("div", { css: pn.note, children: [
2017
- /* @__PURE__ */ l("span", { "aria-hidden": !0, css: pn.icon, children: /* @__PURE__ */ l(lr, { size: "1.15em" }) }),
2018
+ /* @__PURE__ */ l("span", { "aria-hidden": !0, css: pn.icon, children: /* @__PURE__ */ l(cr, { size: "1.15em" }) }),
2018
2019
  /* @__PURE__ */ l("p", { css: pn.text, children: e("incompleteTotals") })
2019
- ] }), Ka = 8, Bo = 4, ks = { display: "grid", alignItems: "center", gap: "0.5em" }, Po = i(ks, {
2020
+ ] }), Va = 8, Bo = 4, ks = { display: "grid", alignItems: "center", gap: "0.5em" }, Po = i(ks, {
2020
2021
  alignItems: "end",
2021
2022
  paddingBlock: "0.375em",
2022
2023
  borderBlockEnd: `1px solid ${r.border}`
@@ -2097,7 +2098,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
2097
2098
  regular: i(Ro, { fontWeight: 500 }),
2098
2099
  total: i(Ro, { fontWeight: 700 })
2099
2100
  }
2100
- }, Va = ({
2101
+ }, Ya = ({
2101
2102
  competitions: e,
2102
2103
  statsByCompetition: t,
2103
2104
  position: n,
@@ -2128,7 +2129,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
2128
2129
  stats: S,
2129
2130
  total: !0
2130
2131
  });
2131
- const f = (m, k) => z(m, k, s), y = (m, k, C) => C === null || !ne(m, ...k) ? oe : typeof C == "number" ? A(C, s) : C, h = [
2132
+ const f = (m, k) => z(m, k, s), y = (m, k, b) => b === null || !ne(m, ...k) ? oe : typeof b == "number" ? $(b, s) : b, h = [
2132
2133
  { key: "apps", label: o("appearances"), value: (m) => f(m, "apps") },
2133
2134
  { key: "starts", label: o("startingAppearances"), value: (m) => f(m, "starts") },
2134
2135
  {
@@ -2194,7 +2195,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
2194
2195
  { key: "yellowCards", label: o("yellowCards"), value: (m) => f(m, "yellowCards") },
2195
2196
  { key: "redCards", label: o("redCards"), value: (m) => f(m, "redCards") },
2196
2197
  { key: "captain", label: o("captain"), value: (m) => f(m, "captain") }
2197
- ], w = `minmax(0, 1fr) repeat(${g.length}, ${Bo}em)`, x = `${Ka + g.length * Bo}em`, v = g.some(
2198
+ ], w = `minmax(0, 1fr) repeat(${g.length}, ${Bo}em)`, x = `${Va + g.length * Bo}em`, v = g.some(
2198
2199
  (m) => m.total && m.stats.partial.length > 0
2199
2200
  );
2200
2201
  return /* @__PURE__ */ p(Ee, { children: [
@@ -2223,9 +2224,9 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
2223
2224
  style: { gridTemplateColumns: w },
2224
2225
  children: [
2225
2226
  /* @__PURE__ */ l("p", { css: q.rowLabel, children: m.label }),
2226
- g.map((C) => (
2227
+ g.map((b) => (
2227
2228
  // The total is the column the eye lands on, so it carries the weight.
2228
- /* @__PURE__ */ l("p", { css: C.total ? q.value.total : q.value.regular, children: m.value(C.stats) }, C.key)
2229
+ /* @__PURE__ */ l("p", { css: b.total ? q.value.total : q.value.regular, children: m.value(b.stats) }, b.key)
2229
2230
  ))
2230
2231
  ]
2231
2232
  },
@@ -2238,7 +2239,11 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
2238
2239
  image: {
2239
2240
  crest: i(Wo, { objectFit: "contain" }),
2240
2241
  // A headshot cropped from the centre loses the top of the head; the design anchors it.
2241
- headshot: i(Wo, { objectFit: "cover", borderRadius: "50%", objectPosition: "top" })
2242
+ headshot: i(Wo, {
2243
+ objectFit: "cover",
2244
+ borderRadius: "50%",
2245
+ objectPosition: "top"
2246
+ })
2242
2247
  },
2243
2248
  initials: i({
2244
2249
  flexShrink: 0,
@@ -2262,14 +2267,14 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
2262
2267
  borderRadius: "50%",
2263
2268
  boxShadow: "0 0.0625em 0.1875em rgba(0, 0, 0, 0.3)"
2264
2269
  })
2265
- }, Ya = 0.38, Xa = ({
2270
+ }, Xa = 0.38, qa = ({
2266
2271
  competitor: e,
2267
2272
  size: t,
2268
2273
  fallbackUrl: n,
2269
2274
  shadow: o = !1,
2270
2275
  badgeUrl: s
2271
2276
  }) => {
2272
- const [a, c] = L.useState(!1), d = e.kind === "ATHLETE", u = a ? n : e.image ?? n, g = { width: `${t}em`, height: `${t}em` }, S = u ? /* @__PURE__ */ l(
2277
+ const [a, c] = F.useState(!1), d = e.kind === "ATHLETE", u = a ? n : e.image ?? n, g = { width: `${t}em`, height: `${t}em` }, S = u ? /* @__PURE__ */ l(
2273
2278
  "img",
2274
2279
  {
2275
2280
  src: u,
@@ -2277,14 +2282,17 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
2277
2282
  loading: "lazy",
2278
2283
  onError: () => c(!0),
2279
2284
  css: d ? ot.image.headshot : ot.image.crest,
2280
- style: o ? { ...g, filter: "drop-shadow(0 0.25em 0.5em rgba(0, 0, 0, 0.25))" } : g
2285
+ style: o ? {
2286
+ ...g,
2287
+ filter: "drop-shadow(0 0.25em 0.5em rgba(0, 0, 0, 0.25))"
2288
+ } : g
2281
2289
  }
2282
2290
  ) : (
2283
2291
  // Scaled off the box rather than fixed, so the initials read the same at every size.
2284
2292
  /* @__PURE__ */ l("div", { css: ot.initials, style: { ...g, fontSize: `${t * 0.36}em` }, children: Rn(e.name) })
2285
2293
  );
2286
2294
  if (!s) return S;
2287
- const f = t * Ya;
2295
+ const f = t * Xa;
2288
2296
  return /* @__PURE__ */ p("div", { css: ot.wrapper, children: [
2289
2297
  S,
2290
2298
  /* @__PURE__ */ l(
@@ -2297,9 +2305,12 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
2297
2305
  style: {
2298
2306
  insetInlineEnd: `${-f * 0.18}em`,
2299
2307
  insetBlockEnd: `${-f * 0.15}em`,
2300
- width: `${f}em`,
2301
- height: `${f}em`,
2302
- padding: `${f * 0.1}em`
2308
+ // Same disc as before (badge + 2 × 10% padding); the crest is inset to 70% of it so a
2309
+ // square crest's corners stay inside the circle instead of being cropped.
2310
+ boxSizing: "border-box",
2311
+ width: `${f * 1.2}em`,
2312
+ height: `${f * 1.2}em`,
2313
+ padding: `${f * 0.18}em`
2303
2314
  }
2304
2315
  }
2305
2316
  )
@@ -2384,8 +2395,8 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
2384
2395
  edgeColor: h,
2385
2396
  children: w
2386
2397
  }) => {
2387
- const { tint: x } = ie(), v = Ut(), m = n === "stacked", k = g ? x(g, 0.75) : void 0, C = /* @__PURE__ */ l(
2388
- Xa,
2398
+ const { tint: x } = ie(), v = Ut(), m = n === "stacked", k = g ? x(g, 0.75) : void 0, b = /* @__PURE__ */ l(
2399
+ qa,
2389
2400
  {
2390
2401
  competitor: e,
2391
2402
  size: a,
@@ -2410,33 +2421,33 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
2410
2421
  children: t
2411
2422
  }
2412
2423
  ) : null
2413
- ] }), $ = {
2424
+ ] }), _ = {
2414
2425
  padding: c,
2415
2426
  background: d,
2416
2427
  color: g,
2417
2428
  borderBlockEnd: h ? `1px solid ${h}` : void 0
2418
2429
  };
2419
2430
  if (m)
2420
- return /* @__PURE__ */ p("div", { css: J.stacked, style: $, children: [
2431
+ return /* @__PURE__ */ p("div", { css: J.stacked, style: _, children: [
2421
2432
  /* @__PURE__ */ p("div", { css: J.stackedIdentity, children: [
2422
- C,
2433
+ b,
2423
2434
  E
2424
2435
  ] }),
2425
2436
  w,
2426
2437
  s
2427
2438
  ] });
2428
2439
  const R = !Un(o, v);
2429
- return /* @__PURE__ */ p("div", { css: J.horizontal, style: { ...$, gap: w ? "1.25em" : 0 }, children: [
2440
+ return /* @__PURE__ */ p("div", { css: J.horizontal, style: { ..._, gap: w ? "1.25em" : 0 }, children: [
2430
2441
  /* @__PURE__ */ p("div", { css: R ? J.row.inline : J.row.stacked, children: [
2431
2442
  /* @__PURE__ */ p("div", { css: d ? J.identity.branded : J.identity.plain, children: [
2432
- C,
2443
+ b,
2433
2444
  E
2434
2445
  ] }),
2435
2446
  s
2436
2447
  ] }),
2437
2448
  w
2438
2449
  ] });
2439
- }, Cs = i({
2450
+ }, bs = i({
2440
2451
  display: "flex",
2441
2452
  alignItems: "center",
2442
2453
  justifyContent: "center",
@@ -2448,7 +2459,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
2448
2459
  borderWidth: "1px",
2449
2460
  transition: "background-color 150ms ease, opacity 150ms ease",
2450
2461
  "&:hover": { opacity: 0.85 }
2451
- }), Ho = i(Cs, { width: "1.75em", height: "1.75em", padding: 0, borderRadius: r.radiusSm }), rt = i(Cs, {
2462
+ }), Ho = i(bs, { width: "1.75em", height: "1.75em", padding: 0, borderRadius: r.radiusSm }), rt = i(bs, {
2452
2463
  fontSize: "0.875em",
2453
2464
  fontWeight: 500,
2454
2465
  lineHeight: 1.45,
@@ -2498,14 +2509,14 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
2498
2509
  "--fu-ucrc-cc-ink-15": S(f, 0.15),
2499
2510
  "--fu-ucrc-cc-ink-20": S(f, 0.2)
2500
2511
  }, w = (v, m, k) => {
2501
- const C = e === v, E = /* @__PURE__ */ l(
2512
+ const b = e === v, E = /* @__PURE__ */ l(
2502
2513
  "button",
2503
2514
  {
2504
2515
  type: "button",
2505
- "aria-pressed": C,
2516
+ "aria-pressed": b,
2506
2517
  "aria-label": y ? m : void 0,
2507
2518
  onClick: () => t(v),
2508
- css: C ? Le.button[n].on : Le.button[n].off,
2519
+ css: b ? Le.button[n].on : Le.button[n].off,
2509
2520
  children: y ? k : m
2510
2521
  }
2511
2522
  );
@@ -2517,11 +2528,11 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
2517
2528
  css: n === "block" ? Le.row.block : n === "block" || u ? y ? Le.row.columnIcon : Le.row.column : y ? Le.row.rowIcon : Le.row.row,
2518
2529
  style: h,
2519
2530
  children: [
2520
- o ? w("fixtures", c.fixtures, /* @__PURE__ */ l(cr, { size: 14, "aria-hidden": !0 })) : null,
2531
+ o ? w("fixtures", c.fixtures, /* @__PURE__ */ l(dr, { size: 14, "aria-hidden": !0 })) : null,
2521
2532
  s ? w(
2522
2533
  a,
2523
2534
  c.secondary,
2524
- a === "squad" ? /* @__PURE__ */ l(dr, { size: 14, "aria-hidden": !0 }) : /* @__PURE__ */ l(ur, { size: 14, "aria-hidden": !0 })
2535
+ a === "squad" ? /* @__PURE__ */ l(ur, { size: 14, "aria-hidden": !0 }) : /* @__PURE__ */ l(mr, { size: 14, "aria-hidden": !0 })
2525
2536
  ) : null
2526
2537
  ]
2527
2538
  }
@@ -2573,11 +2584,11 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
2573
2584
  sticky: o = !1
2574
2585
  }) => /* @__PURE__ */ p("div", { css: o ? $t.sticky : $t.row, children: [
2575
2586
  /* @__PURE__ */ p("button", { type: "button", onClick: t, css: $t.back, children: [
2576
- /* @__PURE__ */ l(Li, { children: /* @__PURE__ */ l(mr, { size: 14, "aria-hidden": !0 }) }),
2587
+ /* @__PURE__ */ l(Li, { children: /* @__PURE__ */ l(hr, { size: 14, "aria-hidden": !0 }) }),
2577
2588
  e
2578
2589
  ] }),
2579
2590
  n ? /* @__PURE__ */ l("div", { css: $t.trailing, children: n }) : null
2580
- ] }), Go = "var(--fu-ucrc-cc-ink)", bs = i({
2591
+ ] }), Go = "var(--fu-ucrc-cc-ink)", Cs = i({
2581
2592
  display: "flex",
2582
2593
  alignItems: "center",
2583
2594
  gap: "0.5em",
@@ -2589,7 +2600,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
2589
2600
  textAlign: "start",
2590
2601
  // Entity text: a competition name comes from the API in whatever language it has.
2591
2602
  unicodeBidi: "plaintext"
2592
- }), _t = (e, t) => i(bs, {
2603
+ }), _t = (e, t) => i(Cs, {
2593
2604
  fontWeight: e ? 600 : 500,
2594
2605
  paddingBlock: "0.125em",
2595
2606
  paddingInline: e ? "0.65em" : "0.5em",
@@ -2599,7 +2610,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
2599
2610
  backgroundColor: t ? r.primary : "transparent",
2600
2611
  color: t ? r.onPrimary : r.dim,
2601
2612
  "&:hover": { backgroundColor: t ? r.primary : r.text06 }
2602
- }), Ko = (e) => i(bs, {
2613
+ }), Ko = (e) => i(Cs, {
2603
2614
  fontWeight: 500,
2604
2615
  paddingBlock: "0.5em",
2605
2616
  paddingInline: "0.75em",
@@ -2706,7 +2717,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
2706
2717
  borderRadius: r.radiusSm,
2707
2718
  backgroundColor: r.surface,
2708
2719
  "&[data-cta]:hover": { backgroundColor: r.text05 }
2709
- }), qa = i({ display: "flex", flexDirection: "column", minWidth: 0 }), Xo = i({ objectFit: "contain", display: "block" }), qo = {
2720
+ }), Ja = i({ display: "flex", flexDirection: "column", minWidth: 0 }), Xo = i({ objectFit: "contain", display: "block" }), qo = {
2710
2721
  whiteSpace: "nowrap",
2711
2722
  overflow: "hidden",
2712
2723
  textOverflow: "ellipsis",
@@ -2750,7 +2761,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
2750
2761
  regular: i({ width: "1.75em" }),
2751
2762
  dense: i({ width: "1.5em" })
2752
2763
  },
2753
- teams: qa,
2764
+ teams: Ja,
2754
2765
  name: i(qo, {
2755
2766
  margin: 0,
2756
2767
  fontFamily: r.fontPrimary,
@@ -2775,7 +2786,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
2775
2786
  whiteSpace: "nowrap",
2776
2787
  fontVariantNumeric: "tabular-nums"
2777
2788
  })
2778
- }, Ja = ({
2789
+ }, Qa = ({
2779
2790
  fixture: e,
2780
2791
  competitor: t,
2781
2792
  language: n,
@@ -2803,8 +2814,8 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
2803
2814
  }, x = d ? "dense" : "regular";
2804
2815
  return /* @__PURE__ */ p(We, { cta: u, title: u.href ?? void 0, css: le.row[x], children: [
2805
2816
  /* @__PURE__ */ p("div", { css: le.date, children: [
2806
- /* @__PURE__ */ l("p", { css: le.day, children: _a(e.date, n) ?? "" }),
2807
- /* @__PURE__ */ l("p", { css: le.month, children: Ea(e.date, n) ?? "" })
2817
+ /* @__PURE__ */ l("p", { css: le.day, children: Ea(e.date, n) ?? "" }),
2818
+ /* @__PURE__ */ l("p", { css: le.month, children: Fa(e.date, n) ?? "" })
2808
2819
  ] }),
2809
2820
  e.opponentLogo ? /* @__PURE__ */ l(
2810
2821
  "img",
@@ -2876,15 +2887,15 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
2876
2887
  athleteId: u,
2877
2888
  dense: g = !1
2878
2889
  }) => {
2879
- const [S, f] = L.useState(!1), [y, h] = L.useState(!1), w = (m, k, C, E) => {
2890
+ const [S, f] = F.useState(!1), [y, h] = F.useState(!1), w = (m, k, b, E) => {
2880
2891
  if (k.length === 0) return null;
2881
- const $ = k.length > Jo, R = C || !$ ? k : k.slice(0, Jo), W = C && $;
2892
+ const _ = k.length > Jo, R = b || !_ ? k : k.slice(0, Jo), M = b && _;
2882
2893
  return /* @__PURE__ */ p("div", { css: He.section, children: [
2883
2894
  /* @__PURE__ */ l("p", { css: He.title[d], children: m }),
2884
- /* @__PURE__ */ l("div", { css: W ? He.scrolling : He.list, children: R.map((b) => /* @__PURE__ */ l(
2885
- Ja,
2895
+ /* @__PURE__ */ l("div", { css: M ? He.scrolling : He.list, children: R.map((C) => /* @__PURE__ */ l(
2896
+ Qa,
2886
2897
  {
2887
- fixture: b,
2898
+ fixture: C,
2888
2899
  competitor: n,
2889
2900
  language: o,
2890
2901
  label: s,
@@ -2893,9 +2904,9 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
2893
2904
  athleteId: u,
2894
2905
  dense: g
2895
2906
  },
2896
- b.id
2907
+ C.id
2897
2908
  )) }),
2898
- $ ? /* @__PURE__ */ l("button", { type: "button", onClick: () => E(!C), css: He.more, children: C ? s("showFewer") : s("showAll", { count: k.length }) }) : null
2909
+ _ ? /* @__PURE__ */ l("button", { type: "button", onClick: () => E(!b), css: He.more, children: b ? s("showFewer") : s("showAll", { count: k.length }) }) : null
2899
2910
  ] });
2900
2911
  }, x = w(
2901
2912
  s("upcoming"),
@@ -2912,14 +2923,14 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
2912
2923
  x,
2913
2924
  v
2914
2925
  ] });
2915
- }, Qa = i({
2926
+ }, Za = i({
2916
2927
  margin: 0,
2917
2928
  fontFamily: r.fontSecondary,
2918
2929
  fontSize: "0.75em",
2919
2930
  lineHeight: 1.35,
2920
2931
  color: r.dim,
2921
2932
  whiteSpace: "nowrap"
2922
- }), Zt = ({ children: e }) => e ? /* @__PURE__ */ l("p", { css: Qa, children: e }) : null, Qo = i({
2933
+ }), Zt = ({ children: e }) => e ? /* @__PURE__ */ l("p", { css: Za, children: e }) : null, Qo = i({
2923
2934
  position: "relative",
2924
2935
  display: "inline-flex",
2925
2936
  verticalAlign: "bottom"
@@ -2972,7 +2983,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
2972
2983
  ),
2973
2984
  /* @__PURE__ */ p("span", { "aria-hidden": !0, css: wn.text, children: [
2974
2985
  a,
2975
- /* @__PURE__ */ l(hr, { size: "1.1em", strokeWidth: 2.5 })
2986
+ /* @__PURE__ */ l(fr, { size: "1.1em", strokeWidth: 2.5 })
2976
2987
  ] })
2977
2988
  ] });
2978
2989
  }, Et = { marginBlockEnd: "0.375em", minWidth: 0 }, Ft = i({
@@ -3024,7 +3035,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
3024
3035
  center: i(it, { justifyContent: "center" }),
3025
3036
  right: i(it, { justifyContent: "flex-end" })
3026
3037
  }
3027
- }, Za = ({
3038
+ }, el = ({
3028
3039
  title: e,
3029
3040
  align: t,
3030
3041
  trailing: n,
@@ -3070,7 +3081,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
3070
3081
  // Inline is safe here: one-value padding and logical sides don't need the RTL plugin.
3071
3082
  /* @__PURE__ */ p("div", { style: { padding: a, paddingInline: c, paddingBlockStart: d, paddingBlockEnd: u }, children: [
3072
3083
  e ? /* @__PURE__ */ l(
3073
- Za,
3084
+ el,
3074
3085
  {
3075
3086
  title: e,
3076
3087
  align: t,
@@ -3081,7 +3092,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
3081
3092
  ) : null,
3082
3093
  n
3083
3094
  ] })
3084
- ), el = /^(AMERICAN_FOOTBALL|BASKETBALL|RUGBY(_|$)|AUSTRALIAN_FOOTBALL)/, tl = (e) => el.test((e ?? "").toUpperCase()), Gn = (e, t) => tl(e) ? {
3095
+ ), tl = /^(AMERICAN_FOOTBALL|BASKETBALL|RUGBY(_|$)|AUSTRALIAN_FOOTBALL)/, nl = (e) => tl.test((e ?? "").toUpperCase()), Gn = (e, t) => nl(e) ? {
3085
3096
  scored: t("pointsFor"),
3086
3097
  conceded: t("pointsAgainst"),
3087
3098
  forLong: t("pointsFor"),
@@ -3222,14 +3233,14 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
3222
3233
  {
3223
3234
  key: "scored",
3224
3235
  text: d.forShort,
3225
- title: `${d.scored}: ${A(e.goalsFor, n)}`,
3236
+ title: `${d.scored}: ${$(e.goalsFor, n)}`,
3226
3237
  value: e.goalsFor,
3227
3238
  color: Me(o)
3228
3239
  },
3229
3240
  {
3230
3241
  key: "conceded",
3231
3242
  text: d.againstShort,
3232
- title: `${d.conceded}: ${A(e.goalsAgainst, n)}`,
3243
+ title: `${d.conceded}: ${$(e.goalsAgainst, n)}`,
3233
3244
  value: e.goalsAgainst,
3234
3245
  color: r.dim
3235
3246
  }
@@ -3237,13 +3248,13 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
3237
3248
  return /* @__PURE__ */ p("div", { css: U.root, children: [
3238
3249
  /* @__PURE__ */ p("div", { css: U.results, children: [
3239
3250
  /* @__PURE__ */ p("div", { css: U.head, children: [
3240
- /* @__PURE__ */ l("p", { css: U.played, children: `${A(e.played, n)} ${t("played").toLowerCase()}` }),
3251
+ /* @__PURE__ */ l("p", { css: U.played, children: `${$(e.played, n)} ${t("played").toLowerCase()}` }),
3241
3252
  s ? /* @__PURE__ */ l("p", { css: U.winRate, children: `${Dn(Bn(e.won, e.played), n)} ${t("winRate")}` }) : null
3242
3253
  ] }),
3243
3254
  /* @__PURE__ */ l("div", { css: U.bar, children: S.map((y) => /* @__PURE__ */ l(
3244
3255
  ee,
3245
3256
  {
3246
- title: `${y.text} ${A(y.count, n)}`,
3257
+ title: `${y.text} ${$(y.count, n)}`,
3247
3258
  children: /* @__PURE__ */ l(
3248
3259
  "div",
3249
3260
  {
@@ -3259,7 +3270,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
3259
3270
  )) }),
3260
3271
  /* @__PURE__ */ l("div", { css: U.legend, children: S.map((y) => /* @__PURE__ */ p("div", { css: U.legendItem, children: [
3261
3272
  /* @__PURE__ */ l("div", { "aria-hidden": !0, css: U.dot, style: { backgroundColor: y.color } }),
3262
- /* @__PURE__ */ l("span", { css: U.count, children: A(y.count, n) }),
3273
+ /* @__PURE__ */ l("span", { css: U.count, children: $(y.count, n) }),
3263
3274
  y.text
3264
3275
  ] }, y.key)) })
3265
3276
  ] }),
@@ -3273,7 +3284,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
3273
3284
  style: { width: Se(y.value, g), backgroundColor: y.color }
3274
3285
  }
3275
3286
  ) }),
3276
- /* @__PURE__ */ l("p", { css: U.goalValue, children: A(y.value, n) })
3287
+ /* @__PURE__ */ l("p", { css: U.goalValue, children: $(y.value, n) })
3277
3288
  ] }, y.key)),
3278
3289
  a ? /* @__PURE__ */ l("div", { css: U.gdRow, children: /* @__PURE__ */ l(ee, { title: `${d.difference}: ${or(Ue(u))}`, children: /* @__PURE__ */ p("div", { css: u > 0 ? U.gd.up : u < 0 ? U.gd.down : U.gd.level, children: [
3279
3290
  /* @__PURE__ */ l(_e, { children: Ue(u) }),
@@ -3336,7 +3347,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
3336
3347
  lg: i(ni, { marginBlockStart: "0.375em", fontSize: "0.6875em" }),
3337
3348
  md: i(ni, { marginBlockStart: "0.25em", fontSize: "0.625em" })
3338
3349
  }
3339
- }, nl = ({
3350
+ }, ol = ({
3340
3351
  stats: e,
3341
3352
  label: t,
3342
3353
  language: n,
@@ -3353,7 +3364,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
3353
3364
  boxShadow: ws(o)
3354
3365
  },
3355
3366
  children: [
3356
- /* @__PURE__ */ l("p", { css: Lt.points[a], children: A(e.points, n) }),
3367
+ /* @__PURE__ */ l("p", { css: Lt.points[a], children: $(e.points, n) }),
3357
3368
  /* @__PURE__ */ l("p", { css: Lt.label, children: t("points") }),
3358
3369
  /* @__PURE__ */ l("p", { css: Lt.perGame[a], children: `${Mi(e.points, e.played)} ${t("perGame")}` })
3359
3370
  ]
@@ -3420,7 +3431,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
3420
3431
  whiteSpace: "nowrap",
3421
3432
  fontVariantNumeric: "tabular-nums"
3422
3433
  })
3423
- }, ol = ({
3434
+ }, il = ({
3424
3435
  stats: e,
3425
3436
  label: t,
3426
3437
  language: n,
@@ -3428,8 +3439,8 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
3428
3439
  sport: s
3429
3440
  }) => {
3430
3441
  const a = Gn(s, t), c = (f) => go(
3431
- A(f(e.home), n),
3432
- A(f(e.away), n),
3442
+ $(f(e.home), n),
3443
+ $(f(e.away), n),
3433
3444
  { homeShort: t("homeShort"), awayShort: t("awayShort") }
3434
3445
  ), d = Ln(e.goalsFor, e.goalsAgainst), u = (f) => go(Ue(f(e.home)), Ue(f(e.away)), {
3435
3446
  homeShort: t("homeShort"),
@@ -3437,7 +3448,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
3437
3448
  }), g = [
3438
3449
  {
3439
3450
  key: "played",
3440
- value: A(e.played, n),
3451
+ value: $(e.played, n),
3441
3452
  short: t("playedShort"),
3442
3453
  long: t("played"),
3443
3454
  split: c((f) => f.won + f.drawn + f.lost),
@@ -3445,7 +3456,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
3445
3456
  },
3446
3457
  {
3447
3458
  key: "won",
3448
- value: A(e.won, n),
3459
+ value: $(e.won, n),
3449
3460
  short: t("wonShort"),
3450
3461
  long: t("won"),
3451
3462
  split: c((f) => f.won),
@@ -3453,7 +3464,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
3453
3464
  },
3454
3465
  {
3455
3466
  key: "drawn",
3456
- value: A(e.drawn, n),
3467
+ value: $(e.drawn, n),
3457
3468
  short: t("drawnShort"),
3458
3469
  long: t("drawn"),
3459
3470
  split: c((f) => f.drawn),
@@ -3461,7 +3472,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
3461
3472
  },
3462
3473
  {
3463
3474
  key: "lost",
3464
- value: A(e.lost, n),
3475
+ value: $(e.lost, n),
3465
3476
  short: t("lostShort"),
3466
3477
  long: t("lost"),
3467
3478
  split: c((f) => f.lost),
@@ -3469,7 +3480,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
3469
3480
  },
3470
3481
  {
3471
3482
  key: "gf",
3472
- value: A(e.goalsFor, n),
3483
+ value: $(e.goalsFor, n),
3473
3484
  short: a.forShort,
3474
3485
  long: a.forLong,
3475
3486
  split: c((f) => f.goalsFor),
@@ -3477,7 +3488,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
3477
3488
  },
3478
3489
  {
3479
3490
  key: "ga",
3480
- value: A(e.goalsAgainst, n),
3491
+ value: $(e.goalsAgainst, n),
3481
3492
  short: a.againstShort,
3482
3493
  long: a.againstLong,
3483
3494
  split: c((f) => f.goalsAgainst),
@@ -3496,7 +3507,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
3496
3507
  ...o ? [
3497
3508
  {
3498
3509
  key: "pts",
3499
- value: A(e.points, n),
3510
+ value: $(e.points, n),
3500
3511
  short: t("pointsShort"),
3501
3512
  long: t("points"),
3502
3513
  split: u((f) => f.points),
@@ -3524,7 +3535,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
3524
3535
  /* @__PURE__ */ l("div", { css: ce.bar, children: S.map((f) => /* @__PURE__ */ l(
3525
3536
  ee,
3526
3537
  {
3527
- title: `${f.text} ${A(f.count, n)}`,
3538
+ title: `${f.text} ${$(f.count, n)}`,
3528
3539
  children: /* @__PURE__ */ l(
3529
3540
  "div",
3530
3541
  {
@@ -3569,14 +3580,14 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
3569
3580
  entry: ri,
3570
3581
  swatch: i({ width: "0.5em", height: "0.5em", borderRadius: "50%" }),
3571
3582
  captain: i(ri, { marginInlineStart: "auto" })
3572
- }, il = ({
3583
+ }, sl = ({
3573
3584
  stats: e,
3574
3585
  teamPlayed: t,
3575
3586
  label: n,
3576
3587
  language: o,
3577
3588
  branding: s
3578
3589
  }) => {
3579
- const a = Me(s), c = ne(e, "minutes"), d = c ? as(t, e.minutes) : null, u = $a(t, e.apps), g = ls(e), S = ne(e, "starts"), f = c ? d === null ? "100%" : Se(e.minutes, d) : "0%", y = (w, x, v) => /* @__PURE__ */ p("div", { css: X.caption, children: [
3590
+ const a = Me(s), c = ne(e, "minutes"), d = c ? as(t, e.minutes) : null, u = _a(t, e.apps), g = ls(e), S = ne(e, "starts"), f = c ? d === null ? "100%" : Se(e.minutes, d) : "0%", y = (w, x, v) => /* @__PURE__ */ p("div", { css: X.caption, children: [
3580
3591
  /* @__PURE__ */ l("span", { children: w }),
3581
3592
  /* @__PURE__ */ l("span", { css: X.strong600, children: v === null ? x : n("ofTotal", { value: x, total: v }) })
3582
3593
  ] }), h = [
@@ -3588,7 +3599,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
3588
3599
  },
3589
3600
  {
3590
3601
  key: "subs",
3591
- value: S ? A(g, o) : oe,
3602
+ value: S ? $(g, o) : oe,
3592
3603
  text: n("subs"),
3593
3604
  opacity: 0.35
3594
3605
  }
@@ -3598,7 +3609,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
3598
3609
  y(
3599
3610
  n("minutesPlayed"),
3600
3611
  z(e, "minutes", o),
3601
- d === null ? null : A(d, o)
3612
+ d === null ? null : $(d, o)
3602
3613
  ),
3603
3614
  /* @__PURE__ */ l("div", { css: X.track, children: /* @__PURE__ */ l("div", { css: X.minutesFill, style: { width: f, backgroundColor: a } }) })
3604
3615
  ] }),
@@ -3606,7 +3617,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
3606
3617
  y(
3607
3618
  n("appearances"),
3608
3619
  z(e, "apps", o),
3609
- u === null ? null : A(u, o)
3620
+ u === null ? null : $(u, o)
3610
3621
  ),
3611
3622
  /* @__PURE__ */ p("div", { css: X.splitTrack, children: [
3612
3623
  /* @__PURE__ */ l(
@@ -3648,19 +3659,19 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
3648
3659
  w.text
3649
3660
  ] }, w.key)),
3650
3661
  e.captain > 0 ? /* @__PURE__ */ p("div", { css: X.captain, children: [
3651
- /* @__PURE__ */ l("span", { css: X.strong700, children: A(e.captain, o) }),
3662
+ /* @__PURE__ */ l("span", { css: X.strong700, children: $(e.captain, o) }),
3652
3663
  n("asCaptain")
3653
3664
  ] }) : null
3654
3665
  ] })
3655
3666
  ] })
3656
3667
  ] });
3657
- }, sl = i({ display: "flex", flexWrap: "wrap", gap: "0.375em", alignItems: "center" }), rl = ({
3668
+ }, rl = i({ display: "flex", flexWrap: "wrap", gap: "0.375em", alignItems: "center" }), al = ({
3658
3669
  stats: e,
3659
3670
  position: t,
3660
3671
  label: n,
3661
3672
  language: o
3662
3673
  }) => {
3663
- const s = t === "keeper", a = (u, g) => `${u}: ${z(e, g, o)}`, c = (u, g) => g === null || !ne(e, ...u) ? oe : A(g, o), d = s ? [
3674
+ const s = t === "keeper", a = (u, g) => `${u}: ${z(e, g, o)}`, c = (u, g) => g === null || !ne(e, ...u) ? oe : $(g, o), d = s ? [
3664
3675
  {
3665
3676
  key: "conceded",
3666
3677
  value: z(e, "goalsConceded", o),
@@ -3730,7 +3741,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
3730
3741
  a(n("penaltiesScored"), "penaltiesScored"),
3731
3742
  a(n("penaltiesTaken"), "penaltiesTaken")
3732
3743
  ].join(" · ")
3733
- }), /* @__PURE__ */ p("div", { css: sl, children: [
3744
+ }), /* @__PURE__ */ p("div", { css: rl, children: [
3734
3745
  d.map((u) => /* @__PURE__ */ l(hs, { chip: u }, u.key)),
3735
3746
  ne(e, "yellowCards") || ne(e, "redCards") ? /* @__PURE__ */ l(
3736
3747
  fs,
@@ -3801,7 +3812,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
3801
3812
  lg: i(ci, { marginBlockStart: "0.375em", fontSize: "0.6875em" }),
3802
3813
  md: i(ci, { marginBlockStart: "0.25em", fontSize: "0.625em" })
3803
3814
  }
3804
- }, al = ({
3815
+ }, ll = ({
3805
3816
  stats: e,
3806
3817
  position: t,
3807
3818
  label: n,
@@ -3881,7 +3892,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
3881
3892
  textOverflow: "ellipsis",
3882
3893
  maxWidth: "100%"
3883
3894
  })
3884
- }, ll = ({
3895
+ }, cl = ({
3885
3896
  stats: e,
3886
3897
  position: t,
3887
3898
  label: n,
@@ -4023,14 +4034,14 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4023
4034
  label: s,
4024
4035
  children: a
4025
4036
  }) => {
4026
- const c = e.isHome ? t.name : e.opponentName, d = e.isHome ? e.opponentName : t.name, u = e.isHome ? t.image : e.opponentLogo, g = e.isHome ? e.opponentLogo : t.image, S = e.isHome ? e.ownScore : e.opponentScore, f = e.isHome ? e.opponentScore : e.ownScore, y = La(e.date, n), h = [
4037
+ const c = e.isHome ? t.name : e.opponentName, d = e.isHome ? e.opponentName : t.name, u = e.isHome ? t.image : e.opponentLogo, g = e.isHome ? e.opponentLogo : t.image, S = e.isHome ? e.ownScore : e.opponentScore, f = e.isHome ? e.opponentScore : e.ownScore, y = Ba(e.date, n), h = [
4027
4038
  o ? e.competitionName : null,
4028
4039
  y,
4029
4040
  // Where the hover has room to say it in full, it does — the strip only had space for "OT".
4030
4041
  e.afterOvertime ? s("afterOvertime") : null
4031
- ].filter(Boolean).join(" • "), w = (m, k) => m ? /* @__PURE__ */ l("img", { src: m, alt: k, loading: "lazy", css: Pe.crest }) : null, x = (m, k, C) => /* @__PURE__ */ p("div", { css: Pe.side[C], children: [
4042
+ ].filter(Boolean).join(" • "), w = (m, k) => m ? /* @__PURE__ */ l("img", { src: m, alt: k, loading: "lazy", css: Pe.crest }) : null, x = (m, k, b) => /* @__PURE__ */ p("div", { css: Pe.side[b], children: [
4032
4043
  w(k, m),
4033
- /* @__PURE__ */ l("p", { css: Pe.name[C], children: m })
4044
+ /* @__PURE__ */ l("p", { css: Pe.name[b], children: m })
4034
4045
  ] }), v = /* @__PURE__ */ p("div", { css: Pe.content, children: [
4035
4046
  h ? /* @__PURE__ */ l("p", { css: Pe.meta, children: h }) : null,
4036
4047
  /* @__PURE__ */ p("div", { css: Pe.row, children: [
@@ -4117,7 +4128,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4117
4128
  style: { color: r.onPrimary },
4118
4129
  "aria-hidden": !0
4119
4130
  };
4120
- return m === "W" ? /* @__PURE__ */ l(fr, { ...k }) : m === "L" ? /* @__PURE__ */ l(gr, { ...k }) : /* @__PURE__ */ l(pr, { ...k });
4131
+ return m === "W" ? /* @__PURE__ */ l(gr, { ...k }) : m === "L" ? /* @__PURE__ */ l(pr, { ...k }) : /* @__PURE__ */ l(yr, { ...k });
4121
4132
  }, v = (m) => {
4122
4133
  const k = Vt(a, {
4123
4134
  matchId: m.id,
@@ -4127,7 +4138,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4127
4138
  seasonId: m.seasonId,
4128
4139
  date: zn(m.date),
4129
4140
  athleteId: S
4130
- }), C = `${m.ownScore ?? "?"}-${m.opponentScore ?? "?"}`;
4141
+ }), b = `${m.ownScore ?? "?"}-${m.opponentScore ?? "?"}`;
4131
4142
  return s === "dots" ? /* @__PURE__ */ l(
4132
4143
  hi,
4133
4144
  {
@@ -4175,7 +4186,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4175
4186
  showCompetition: c,
4176
4187
  label: o,
4177
4188
  children: /* @__PURE__ */ p(We, { cta: k, css: ye.tile, children: [
4178
- /* @__PURE__ */ l("p", { css: ye.score, style: { color: w(m.outcome) }, children: /* @__PURE__ */ l(_e, { children: C }) }),
4189
+ /* @__PURE__ */ l("p", { css: ye.score, style: { color: w(m.outcome) }, children: /* @__PURE__ */ l(_e, { children: b }) }),
4179
4190
  /* @__PURE__ */ p("p", { css: ye.opponent, children: [
4180
4191
  m.opponentShortName,
4181
4192
  m.afterOvertime ? /* @__PURE__ */ l("span", { css: ye.overtime, children: o("afterOvertimeShort") }) : null
@@ -4186,12 +4197,12 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4186
4197
  );
4187
4198
  };
4188
4199
  return /* @__PURE__ */ l("div", { css: s === "dots" ? ye.dots : ye.tiles, children: e.map(v) });
4189
- }, cl = Xs({ "0%, 100%": { opacity: 1 }, "50%": { opacity: 0.25 } }), Ts = {
4200
+ }, dl = Xs({ "0%, 100%": { opacity: 1 }, "50%": { opacity: 0.25 } }), Ts = {
4190
4201
  dot: i({
4191
4202
  flexShrink: 0,
4192
4203
  borderRadius: "50%",
4193
4204
  backgroundColor: r.danger,
4194
- animation: `${cl} 1s ease-in-out infinite`
4205
+ animation: `${dl} 1s ease-in-out infinite`
4195
4206
  }),
4196
4207
  // White on the danger fill rather than `onPrimary`: the fill is a fixed red, so its ink is too.
4197
4208
  badge: i({
@@ -4210,7 +4221,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4210
4221
  borderRadius: "0.35em",
4211
4222
  whiteSpace: "nowrap"
4212
4223
  })
4213
- }, dl = ({
4224
+ }, ul = ({
4214
4225
  sizeEm: e = 0.375,
4215
4226
  color: t
4216
4227
  }) => /* @__PURE__ */ l(
@@ -4221,7 +4232,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4221
4232
  style: { width: `${e}em`, height: `${e}em`, backgroundColor: t }
4222
4233
  }
4223
4234
  ), fi = ({ label: e }) => /* @__PURE__ */ p("div", { css: Ts.badge, children: [
4224
- /* @__PURE__ */ l(dl, { sizeEm: 0.42, color: "#fff" }),
4235
+ /* @__PURE__ */ l(ul, { sizeEm: 0.42, color: "#fff" }),
4225
4236
  e
4226
4237
  ] }), Bt = i({
4227
4238
  width: "100%",
@@ -4248,7 +4259,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4248
4259
  textOverflow: "ellipsis",
4249
4260
  whiteSpace: "nowrap",
4250
4261
  unicodeBidi: "plaintext"
4251
- }), Pt = i({ display: "flex", flexDirection: "column", alignItems: "center" }), yi = i({ display: "flex", alignItems: "center", gap: "0.5em", minWidth: 0 }), ul = i({
4262
+ }), Pt = i({ display: "flex", flexDirection: "column", alignItems: "center" }), yi = i({ display: "flex", alignItems: "center", gap: "0.5em", minWidth: 0 }), ml = i({
4252
4263
  display: "flex",
4253
4264
  flexDirection: "column",
4254
4265
  alignItems: "center",
@@ -4363,7 +4374,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4363
4374
  gap: "0.75em",
4364
4375
  width: "100%"
4365
4376
  }),
4366
- side: ul,
4377
+ side: ml,
4367
4378
  centre: {
4368
4379
  // The badge is taller than the caption it replaces, so the reserve below keeps the score off
4369
4380
  // the team names' line without the panel growing when a match kicks off.
@@ -4393,7 +4404,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4393
4404
  color: r.dim,
4394
4405
  whiteSpace: "nowrap"
4395
4406
  })
4396
- }, ml = ({
4407
+ }, hl = ({
4397
4408
  fixture: e,
4398
4409
  competitor: t,
4399
4410
  language: n,
@@ -4410,7 +4421,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4410
4421
  compact: h = !1,
4411
4422
  dense: w = !1
4412
4423
  }) => {
4413
- const { t: x } = Ke("common"), v = e.isHome ? t.name : e.opponentName, m = e.isHome ? e.opponentName : t.name, k = e.isHome ? t.image : e.opponentLogo, C = e.isHome ? e.opponentLogo : t.image, E = e.isHome ? e.ownScore : e.opponentScore, $ = e.isHome ? e.opponentScore : e.ownScore, R = e.status === "upcoming", W = e.status === "live", b = us(e.date, n), F = [Fa(e.date, n), f ? e.competitionName : null].filter(Boolean).join(" • "), B = R ? b ?? "" : `${E ?? 0} – ${$ ?? 0}`, j = S !== null ? x("eventCard.minute", { n: S }) : o("live"), K = R ? o("kickOff") : e.afterOvertime ? (
4424
+ const { t: x } = Ke("common"), v = e.isHome ? t.name : e.opponentName, m = e.isHome ? e.opponentName : t.name, k = e.isHome ? t.image : e.opponentLogo, b = e.isHome ? e.opponentLogo : t.image, E = e.isHome ? e.ownScore : e.opponentScore, _ = e.isHome ? e.opponentScore : e.ownScore, R = e.status === "upcoming", M = e.status === "live", C = us(e.date, n), L = [La(e.date, n), f ? e.competitionName : null].filter(Boolean).join(" • "), B = R ? C ?? "" : `${E ?? 0} – ${_ ?? 0}`, j = S !== null ? x("eventCard.minute", { n: S }) : o("live"), K = R ? o("kickOff") : e.afterOvertime ? (
4414
4425
  // The scoreline above is the regulation one; "Full time" would be claiming it was the end.
4415
4426
  o("afterOvertime")
4416
4427
  ) : o("fullTime"), G = e.outcome === "W" ? o("win") : e.outcome === "L" ? o("loss") : e.outcome === "D" ? o("draw") : null, Fe = Vt(c, {
@@ -4433,18 +4444,18 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4433
4444
  I(k, v, "small"),
4434
4445
  ue(v, "start")
4435
4446
  ] }),
4436
- /* @__PURE__ */ p("div", { css: W ? H.compactCentre.live : H.compactCentre.idle, children: [
4437
- W ? /* @__PURE__ */ l(fi, { label: j }) : null,
4447
+ /* @__PURE__ */ p("div", { css: M ? H.compactCentre.live : H.compactCentre.idle, children: [
4448
+ M ? /* @__PURE__ */ l(fi, { label: j }) : null,
4438
4449
  /* @__PURE__ */ l("p", { css: H.compactScore, children: /* @__PURE__ */ l(_e, { children: B }) }),
4439
- W ? null : /* @__PURE__ */ l("p", { css: H.compactMeta, children: F || K })
4450
+ M ? null : /* @__PURE__ */ l("p", { css: H.compactMeta, children: L || K })
4440
4451
  ] }),
4441
4452
  /* @__PURE__ */ p("div", { css: H.compactAway, children: [
4442
- I(C, m, "small"),
4453
+ I(b, m, "small"),
4443
4454
  ue(m, "end")
4444
4455
  ] })
4445
4456
  ] }) : /* @__PURE__ */ p("div", { css: H.stacked, children: [
4446
4457
  /* @__PURE__ */ p("div", { css: H.metaRow, children: [
4447
- /* @__PURE__ */ l("p", { css: H.meta, children: F }),
4458
+ /* @__PURE__ */ l("p", { css: H.meta, children: L }),
4448
4459
  G && e.outcome ? /* @__PURE__ */ l("div", { css: H.pill[e.outcome], children: G }) : null
4449
4460
  ] }),
4450
4461
  /* @__PURE__ */ p("div", { css: H.teams, children: [
@@ -4452,19 +4463,19 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4452
4463
  I(k, v, "large"),
4453
4464
  ue(v, "center")
4454
4465
  ] }),
4455
- /* @__PURE__ */ p("div", { css: W ? H.centre.live : H.centre.idle, children: [
4456
- W ? /* @__PURE__ */ l(fi, { label: j }) : null,
4466
+ /* @__PURE__ */ p("div", { css: M ? H.centre.live : H.centre.idle, children: [
4467
+ M ? /* @__PURE__ */ l(fi, { label: j }) : null,
4457
4468
  /* @__PURE__ */ l("p", { css: H.score, children: /* @__PURE__ */ l(_e, { children: B }) }),
4458
- W ? null : /* @__PURE__ */ l("p", { css: H.caption, children: K })
4469
+ M ? null : /* @__PURE__ */ l("p", { css: H.caption, children: K })
4459
4470
  ] }),
4460
4471
  /* @__PURE__ */ p("div", { css: H.side, children: [
4461
- I(C, m, "large"),
4472
+ I(b, m, "large"),
4462
4473
  ue(m, "center")
4463
4474
  ] })
4464
4475
  ] })
4465
4476
  ] }) }),
4466
- d && (R || W) ? /* @__PURE__ */ l(
4467
- sr,
4477
+ d && (R || M) ? /* @__PURE__ */ l(
4478
+ rr,
4468
4479
  {
4469
4480
  odds: d,
4470
4481
  market: (u == null ? void 0 : u.market) ?? "FT_1X2",
@@ -4490,14 +4501,14 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4490
4501
  lineHeight: 1.35,
4491
4502
  whiteSpace: "nowrap",
4492
4503
  "&:hover": { color: r.text }
4493
- }), Cn = {
4504
+ }), bn = {
4494
4505
  // Never squashed: two words that have to stay readable.
4495
4506
  root: i({ display: "flex", gap: "0.25em", flexShrink: 0 }),
4496
4507
  button: {
4497
4508
  on: i(Si, { backgroundColor: r.inner, color: r.text }),
4498
4509
  off: i(Si, { backgroundColor: "transparent", color: r.dim })
4499
4510
  }
4500
- }, hl = ({ side: e, onSelect: t, labels: n }) => {
4511
+ }, fl = ({ side: e, onSelect: t, labels: n }) => {
4501
4512
  const o = (s, a) => {
4502
4513
  const c = e === s;
4503
4514
  return /* @__PURE__ */ l(
@@ -4506,16 +4517,16 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4506
4517
  type: "button",
4507
4518
  "aria-pressed": c,
4508
4519
  onClick: () => t(s),
4509
- css: c ? Cn.button.on : Cn.button.off,
4520
+ css: c ? bn.button.on : bn.button.off,
4510
4521
  children: a
4511
4522
  }
4512
4523
  );
4513
4524
  };
4514
- return /* @__PURE__ */ p("div", { css: Cn.root, children: [
4525
+ return /* @__PURE__ */ p("div", { css: bn.root, children: [
4515
4526
  o("last", n.last),
4516
4527
  o("next", n.next)
4517
4528
  ] });
4518
- }, bn = i({
4529
+ }, Cn = i({
4519
4530
  margin: 0,
4520
4531
  fontFamily: r.fontSecondary,
4521
4532
  fontSize: "0.75em",
@@ -4531,22 +4542,22 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4531
4542
  athleteStats: i({ marginBlockStart: "0.5em", display: "flex", flexDirection: "column", gap: "0.75em" }),
4532
4543
  tileGrid: i(wi),
4533
4544
  caption: {
4534
- plain: bn,
4545
+ plain: Cn,
4535
4546
  // An athlete's caption names the club, which is entity text.
4536
- club: i(bn, { unicodeBidi: "plaintext" }),
4537
- streak: i(bn, { cursor: "help" })
4547
+ club: i(Cn, { unicodeBidi: "plaintext" }),
4548
+ streak: i(Cn, { cursor: "help" })
4538
4549
  }
4539
- }, fl = (e, t) => t === "stats" ? e.showStats : t === "form" ? e.showForm : e.showFeaturedMatch && !!e.featured, Kn = (e, t, n) => {
4550
+ }, gl = (e, t) => t === "stats" ? e.showStats : t === "form" ? e.showForm : e.showFeaturedMatch && !!e.featured, Kn = (e, t, n) => {
4540
4551
  const { spacing: o } = ie();
4541
- if (t.sections.find((a) => fl(e, a)) === n)
4552
+ if (t.sections.find((a) => gl(e, a)) === n)
4542
4553
  return t.compact ? o.sm : o.md;
4543
- }, gl = ({ props: e, options: t }) => {
4554
+ }, pl = ({ props: e, options: t }) => {
4544
4555
  var u;
4545
4556
  const { athleteStats: n, label: o, language: s, teamPlayed: a, position: c } = e;
4546
4557
  if (!n) return /* @__PURE__ */ l(Xe, { children: o("noData") });
4547
4558
  if (t.athleteStatsLayout === "row")
4548
4559
  return /* @__PURE__ */ l("div", { css: we.stats, children: /* @__PURE__ */ l(
4549
- ll,
4560
+ cl,
4550
4561
  {
4551
4562
  stats: n,
4552
4563
  position: c,
@@ -4556,7 +4567,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4556
4567
  }
4557
4568
  ) });
4558
4569
  const d = /* @__PURE__ */ l(
4559
- il,
4570
+ sl,
4560
4571
  {
4561
4572
  stats: n,
4562
4573
  teamPlayed: a,
@@ -4568,7 +4579,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4568
4579
  return /* @__PURE__ */ p("div", { css: we.athleteStats, children: [
4569
4580
  t.athleteStatsLayout === "tile" ? /* @__PURE__ */ p("div", { css: we.tileGrid, children: [
4570
4581
  /* @__PURE__ */ l(
4571
- al,
4582
+ ll,
4572
4583
  {
4573
4584
  stats: n,
4574
4585
  position: c,
@@ -4582,7 +4593,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4582
4593
  d
4583
4594
  ] }) : d,
4584
4595
  /* @__PURE__ */ l(
4585
- rl,
4596
+ al,
4586
4597
  {
4587
4598
  stats: n,
4588
4599
  position: c,
@@ -4591,11 +4602,11 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4591
4602
  }
4592
4603
  )
4593
4604
  ] });
4594
- }, pl = ({ props: e, options: t }) => {
4605
+ }, yl = ({ props: e, options: t }) => {
4595
4606
  var a;
4596
4607
  const { stats: n, label: o, language: s } = e;
4597
4608
  return n ? t.statsLayout === "row" ? /* @__PURE__ */ l(
4598
- ol,
4609
+ il,
4599
4610
  {
4600
4611
  stats: n,
4601
4612
  label: o,
@@ -4605,7 +4616,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4605
4616
  }
4606
4617
  ) : t.statsLayout === "tile" ? /* @__PURE__ */ p("div", { css: e.showPoints ? we.statsWithTile : we.stats, children: [
4607
4618
  e.showPoints ? /* @__PURE__ */ l(
4608
- nl,
4619
+ ol,
4609
4620
  {
4610
4621
  stats: n,
4611
4622
  label: o,
@@ -4663,9 +4674,9 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4663
4674
  paddingBlockEnd: t.paddingBlockEnd,
4664
4675
  paddingBlockStart: n,
4665
4676
  children: e.kind === "ATHLETE" ? /* @__PURE__ */ p(Ee, { children: [
4666
- /* @__PURE__ */ l(gl, { props: e, options: t }),
4677
+ /* @__PURE__ */ l(pl, { props: e, options: t }),
4667
4678
  (d = e.athleteStats) != null && d.partial.length ? /* @__PURE__ */ l(xs, { label: s }) : null
4668
- ] }) : /* @__PURE__ */ l(pl, { props: e, options: t })
4679
+ ] }) : /* @__PURE__ */ l(yl, { props: e, options: t })
4669
4680
  }
4670
4681
  );
4671
4682
  }, Vn = ({ props: e, options: t }) => {
@@ -4673,7 +4684,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4673
4684
  const n = Kn(e, t, "form"), { form: o, label: s, language: a, titleAlign: c } = e;
4674
4685
  if (!e.showForm) return null;
4675
4686
  const d = t.formAppearance === "tiles", u = e.kind === "ATHLETE", g = e.streak > 1 && !(u && d), S = o.length === 0 ? "" : [
4676
- u && d ? s("teamResults", { team: e.fixtureCompetitor.name }) : null,
4687
+ u && d ? s("teamResults", { team: sr(e.fixtureCompetitor.name) }) : null,
4677
4688
  g ? `${s("wonShort")}${e.streak}` : null,
4678
4689
  d ? s("formOrder") : null
4679
4690
  ].filter(Boolean).join(" · ");
@@ -4720,7 +4731,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4720
4731
  title: d,
4721
4732
  align: c,
4722
4733
  trailing: e.showFeaturedToggle ? /* @__PURE__ */ l(
4723
- hl,
4734
+ fl,
4724
4735
  {
4725
4736
  side: e.featuredSide,
4726
4737
  onSelect: e.onSelectFeaturedSide,
@@ -4731,7 +4742,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4731
4742
  paddingBlockEnd: t.paddingBlockEnd,
4732
4743
  paddingBlockStart: n,
4733
4744
  children: /* @__PURE__ */ l(
4734
- ml,
4745
+ hl,
4735
4746
  {
4736
4747
  fixture: o,
4737
4748
  competitor: e.fixtureCompetitor,
@@ -4756,7 +4767,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4756
4767
  paddingInline: r.spaceMd,
4757
4768
  paddingBlockStart: r.spaceSm,
4758
4769
  paddingBlockEnd: r.spaceMd
4759
- }), yl = (e) => {
4770
+ }), Sl = (e) => {
4760
4771
  var f;
4761
4772
  const t = ie(), { colors: n, spacing: o, tint: s } = t, { label: a, competitor: c } = e, d = {
4762
4773
  sections: ["stats", "form", "featured"],
@@ -4857,7 +4868,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4857
4868
  alignItems: "center",
4858
4869
  flex: 1,
4859
4870
  minWidth: 0
4860
- }), Ci = i({
4871
+ }), bi = i({
4861
4872
  margin: 0,
4862
4873
  fontFamily: r.fontPrimary,
4863
4874
  fontWeight: 800,
@@ -4865,7 +4876,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4865
4876
  letterSpacing: "-0.02em",
4866
4877
  fontVariantNumeric: "tabular-nums",
4867
4878
  whiteSpace: "nowrap"
4868
- }), bi = i({
4879
+ }), Ci = i({
4869
4880
  margin: 0,
4870
4881
  fontFamily: r.fontSecondary,
4871
4882
  fontWeight: 600,
@@ -4883,8 +4894,8 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4883
4894
  lg: i(ki, { paddingBlock: "0.625em", paddingInline: "0.75em", borderRadius: r.radiusMd }),
4884
4895
  md: i(ki, { paddingBlock: "0.5em", paddingInline: "0.375em", borderRadius: r.radiusSm })
4885
4896
  },
4886
- value: { lg: i(Ci, { fontSize: "1.375em" }), md: i(Ci, { fontSize: "1.125em" }) },
4887
- caption: { lg: i(bi, { fontSize: "0.625em" }), md: i(bi, { fontSize: "0.5625em" }) }
4897
+ value: { lg: i(bi, { fontSize: "1.375em" }), md: i(bi, { fontSize: "1.125em" }) },
4898
+ caption: { lg: i(Ci, { fontSize: "0.625em" }), md: i(Ci, { fontSize: "0.5625em" }) }
4888
4899
  }, As = ({ tiles: e, color: t, size: n = "lg" }) => {
4889
4900
  const { tint: o } = ie();
4890
4901
  if (e.length === 0) return null;
@@ -4893,7 +4904,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4893
4904
  /* @__PURE__ */ l("p", { css: Rt.value[n], style: { color: t }, children: a.isolate ? /* @__PURE__ */ l(_e, { children: a.value }) : a.value }),
4894
4905
  /* @__PURE__ */ l("p", { css: Rt.caption[n], style: { color: t }, children: a.caption })
4895
4906
  ] }, a.key)) });
4896
- }, Sl = ({
4907
+ }, wl = ({
4897
4908
  stats: e,
4898
4909
  label: t,
4899
4910
  language: n,
@@ -4906,7 +4917,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4906
4917
  ...s ? [
4907
4918
  {
4908
4919
  key: "points",
4909
- value: A(e.points, n),
4920
+ value: $(e.points, n),
4910
4921
  caption: t("points")
4911
4922
  }
4912
4923
  ] : [],
@@ -4997,7 +5008,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
4997
5008
  paddingBlockStart: r.spaceSm,
4998
5009
  paddingBlockEnd: r.spaceMd
4999
5010
  })
5000
- }, wl = (e) => {
5011
+ }, vl = (e) => {
5001
5012
  var y, h;
5002
5013
  const t = ie(), { spacing: n } = t, { label: o, competitor: s } = e, a = {
5003
5014
  branding: e.brandingColors,
@@ -5031,7 +5042,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
5031
5042
  color: d
5032
5043
  }
5033
5044
  ) : e.stats && /* @__PURE__ */ l(
5034
- Sl,
5045
+ wl,
5035
5046
  {
5036
5047
  stats: e.stats,
5037
5048
  label: o,
@@ -5152,7 +5163,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
5152
5163
  }),
5153
5164
  // The hairline the design draws under the compact header.
5154
5165
  divider: i({ borderBlockStart: `1px solid ${r.border}` })
5155
- }, vl = (e) => {
5166
+ }, xl = (e) => {
5156
5167
  var u;
5157
5168
  const t = ie(), { spacing: n } = t, { label: o, competitor: s } = e, a = {
5158
5169
  sections: ["stats", "form", "featured"],
@@ -5266,7 +5277,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
5266
5277
  flexDirection: "column",
5267
5278
  backgroundColor: r.surface
5268
5279
  })
5269
- }, xl = (e) => {
5280
+ }, kl = (e) => {
5270
5281
  var f;
5271
5282
  const t = ie(), { spacing: n } = t, { label: o, competitor: s } = e, a = Ut(), c = {
5272
5283
  branding: e.brandingColors,
@@ -5397,7 +5408,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
5397
5408
  ) : null
5398
5409
  ] })
5399
5410
  ] }) });
5400
- }, kl = i({
5411
+ }, bl = i({
5401
5412
  margin: 0,
5402
5413
  fontFamily: r.fontSecondary,
5403
5414
  fontSize: "1em",
@@ -5424,14 +5435,14 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
5424
5435
  showOdds: v = !1,
5425
5436
  odds: m,
5426
5437
  showFixtures: k = !0,
5427
- fixtures: C,
5438
+ fixtures: b,
5428
5439
  showSquad: E = !0,
5429
- squad: $,
5440
+ squad: _,
5430
5441
  showSeasonStats: R = !0,
5431
- hasBranding: W = !0,
5432
- headerBackgroundGradient: b,
5442
+ hasBranding: M = !0,
5443
+ headerBackgroundGradient: C,
5433
5444
  liveRefresh: T = !0,
5434
- refreshInterval: F = 3e4,
5445
+ refreshInterval: L = 3e4,
5435
5446
  labels: B,
5436
5447
  onAddToBetslip: j
5437
5448
  }) => {
@@ -5441,73 +5452,82 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
5441
5452
  loading: ue,
5442
5453
  error: re,
5443
5454
  notFound: ke
5444
- } = Tr(t, e, n), Q = (I == null ? void 0 : I.kind) === "TEAM", O = (I == null ? void 0 : I.kind) === "ATHLETE", qe = {
5455
+ } = Ar(t, e, n), Q = (I == null ? void 0 : I.kind) === "TEAM", O = (I == null ? void 0 : I.kind) === "ATHLETE", qe = {
5445
5456
  withCountry: s,
5446
5457
  liveRefresh: T,
5447
- refreshInterval: F,
5458
+ refreshInterval: L,
5448
5459
  sport: (I == null ? void 0 : I.sport) ?? null
5449
- }, me = ta(
5460
+ }, me = na(
5450
5461
  t,
5451
5462
  Q ? (I == null ? void 0 : I.id) ?? null : null,
5452
5463
  (I == null ? void 0 : I.countryId) ?? null,
5453
5464
  n,
5454
5465
  G,
5455
5466
  { enabled: !!Q, ...qe }
5456
- ), he = fa(
5467
+ ), he = ga(
5457
5468
  t,
5458
5469
  O ? (I == null ? void 0 : I.id) ?? null : null,
5459
5470
  (I == null ? void 0 : I.countryId) ?? null,
5460
5471
  n,
5461
5472
  G,
5462
5473
  { enabled: !!O, ...qe }
5463
- ), [nn, Je] = L.useState(null), on = Q ? me.profiles : he.profiles, ft = Math.max(
5474
+ ), [nn, Je] = F.useState(null), on = Q ? me.profiles : he.profiles, ft = Math.max(
5464
5475
  0,
5465
5476
  on.findIndex((P) => P.seasonKey === nn)
5466
- ), _s = ft === 0, M = me.profiles[ft] ?? null, _ = he.profiles[ft] ?? null, fe = ((io = he.profiles[0]) == null ? void 0 : io.team) ?? null, Es = Q ? me.loading : O ? he.loading : !1, Fs = Q ? me.error : O ? he.error : !1, sn = Q ? !!M : !!_, Yn = Q ? me.country : he.country, [Xn, rn] = L.useState("overview"), [ge, qn] = L.useState(N), [Ls, Bs] = L.useState(
5477
+ ), _s = ft === 0, W = me.profiles[ft] ?? null, A = he.profiles[ft] ?? null, fe = ((io = he.profiles[0]) == null ? void 0 : io.team) ?? null, Es = Q ? me.loading : O ? he.loading : !1, Fs = Q ? me.error : O ? he.error : !1, sn = Q ? !!W : !!A, Yn = Q ? me.country : he.country, [Xn, rn] = F.useState("overview"), [ge, qn] = F.useState(N), [Ls, Bs] = F.useState(
5467
5478
  (x == null ? void 0 : x.type) === "last" ? "last" : "next"
5468
5479
  );
5469
- L.useEffect(() => {
5480
+ F.useEffect(() => {
5470
5481
  rn("overview"), Je(null);
5471
5482
  }, [e]);
5472
- const ze = (M == null ? void 0 : M.competitions) ?? (_ == null ? void 0 : _.competitions) ?? [], gt = (M == null ? void 0 : M.results) ?? (_ == null ? void 0 : _.results) ?? [], pt = (M == null ? void 0 : M.upcoming) ?? (_ == null ? void 0 : _.upcoming) ?? [], Qe = (M == null ? void 0 : M.live) ?? (_ == null ? void 0 : _.live) ?? null, Jn = ((so = Qe ?? pt[0] ?? gt[0]) == null ? void 0 : so.competitionId) ?? null, yt = Jn && ((ro = ze.find((P) => P.id === Jn)) == null ? void 0 : ro.id) || ((ao = ze[1]) == null ? void 0 : ao.id) || N, an = L.useMemo(() => {
5483
+ const ze = F.useMemo(
5484
+ () => (W == null ? void 0 : W.competitions) ?? (A == null ? void 0 : A.competitions) ?? [],
5485
+ [W, A]
5486
+ ), gt = F.useMemo(
5487
+ () => (W == null ? void 0 : W.results) ?? (A == null ? void 0 : A.results) ?? [],
5488
+ [W, A]
5489
+ ), pt = F.useMemo(
5490
+ () => (W == null ? void 0 : W.upcoming) ?? (A == null ? void 0 : A.upcoming) ?? [],
5491
+ [W, A]
5492
+ ), Qe = (W == null ? void 0 : W.live) ?? (A == null ? void 0 : A.live) ?? null, Jn = ((so = Qe ?? pt[0] ?? gt[0]) == null ? void 0 : so.competitionId) ?? null, yt = Jn && ((ro = ze.find((P) => P.id === Jn)) == null ? void 0 : ro.id) || ((ao = ze[1]) == null ? void 0 : ao.id) || N, an = F.useMemo(() => {
5473
5493
  const P = ze.findIndex(
5474
5494
  (kt) => kt.id === yt && kt.id !== N
5475
5495
  );
5476
5496
  if (P < 1) return ze;
5477
- const be = [...ze];
5478
- return be.splice(1, 0, ...be.splice(P, 1)), be;
5479
- }, [ze, yt]), Qn = (M == null ? void 0 : M.teamId) ?? (_ == null ? void 0 : _.athleteId) ?? null, St = Qn ? `${Qn}:${(M == null ? void 0 : M.seasonKey) ?? (_ == null ? void 0 : _.seasonKey)}` : null, Zn = L.useRef(null);
5480
- L.useEffect(() => {
5497
+ const Ce = [...ze];
5498
+ return Ce.splice(1, 0, ...Ce.splice(P, 1)), Ce;
5499
+ }, [ze, yt]), Qn = (W == null ? void 0 : W.teamId) ?? (A == null ? void 0 : A.athleteId) ?? null, St = Qn ? `${Qn}:${(W == null ? void 0 : W.seasonKey) ?? (A == null ? void 0 : A.seasonKey)}` : null, Zn = F.useRef(null);
5500
+ F.useEffect(() => {
5481
5501
  !St || Zn.current === St || (Zn.current = St, qn(yt));
5482
5502
  }, [St, yt]);
5483
- const Ze = L.useCallback(
5503
+ const Ze = F.useCallback(
5484
5504
  (P) => ge === N || P.competitionId === ge,
5485
5505
  [ge]
5486
- ), et = L.useMemo(
5506
+ ), et = F.useMemo(
5487
5507
  () => gt.filter(Ze),
5488
5508
  [gt, Ze]
5489
- ), ln = L.useMemo(
5509
+ ), ln = F.useMemo(
5490
5510
  () => pt.filter(Ze),
5491
5511
  [pt, Ze]
5492
- ), tt = Qe && Ze(Qe) ? Qe : null, cn = L.useMemo(
5493
- () => et.slice(0, Pr(h == null ? void 0 : h.maxItems)),
5512
+ ), tt = Qe && Ze(Qe) ? Qe : null, cn = F.useMemo(
5513
+ () => et.slice(0, Rr(h == null ? void 0 : h.maxItems)),
5494
5514
  [et, h == null ? void 0 : h.maxItems]
5495
- ), Ps = L.useMemo(
5496
- () => Er(
5515
+ ), Ps = F.useMemo(
5516
+ () => Fr(
5497
5517
  cn.map((P) => P.outcome).filter((P) => P !== null)
5498
5518
  ),
5499
5519
  [cn]
5500
- ), { fixture: Ce, side: Rs } = Mr({
5520
+ ), { fixture: be, side: Rs } = Dr({
5501
5521
  live: tt,
5502
5522
  last: et[0],
5503
5523
  next: ln[0],
5504
5524
  preferred: Ls
5505
- }), Ws = ka(
5525
+ }), Ws = ba(
5506
5526
  t,
5507
5527
  (tt == null ? void 0 : tt.id) ?? null,
5508
5528
  ((lo = I == null ? void 0 : I.sport) == null ? void 0 : lo.toLowerCase()) ?? null,
5509
- { enabled: !!tt, refreshInterval: F }
5510
- ), Ms = (m == null ? void 0 : m.market) ?? "FT_1X2", nt = (Ce == null ? void 0 : Ce.status) === "upcoming" || (Ce == null ? void 0 : Ce.status) === "live" ? Ce.id : null, { odds: Ds } = rr(t, nt ? [nt] : [], {
5529
+ { enabled: !!tt, refreshInterval: L }
5530
+ ), Ms = (m == null ? void 0 : m.market) ?? "FT_1X2", nt = (be == null ? void 0 : be.status) === "upcoming" || (be == null ? void 0 : be.status) === "live" ? be.id : null, { odds: Ds } = ar(t, nt ? [nt] : [], {
5511
5531
  enabled: v && !!nt,
5512
5532
  markets: [Ms],
5513
5533
  // Decides whether the fixture is priced three ways or two.
@@ -5516,11 +5536,11 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
5516
5536
  operators: m == null ? void 0 : m.operators,
5517
5537
  affiliateId: m == null ? void 0 : m.affiliateId,
5518
5538
  affiliateIds: m == null ? void 0 : m.affiliateIds
5519
- }), zs = nt && Ds.get(nt) || null, dn = (M == null ? void 0 : M.statsByCompetition.get(ge)) ?? null, wt = dn && dn.played > 0 ? dn : null, Hs = (_ == null ? void 0 : _.statsByCompetition.get(ge)) ?? null, un = an.find(
5539
+ }), zs = nt && Ds.get(nt) || null, dn = (W == null ? void 0 : W.statsByCompetition.get(ge)) ?? null, wt = dn && dn.played > 0 ? dn : null, Hs = (A == null ? void 0 : A.statsByCompetition.get(ge)) ?? null, un = an.find(
5520
5540
  (P) => P.id === ge
5521
- ), eo = O ? (_ == null ? void 0 : _.teamPlayedByCompetition.get(ge)) ?? 0 : (wt == null ? void 0 : wt.played) ?? 0, { players: Os, loading: Ns } = ga(
5541
+ ), eo = O ? (A == null ? void 0 : A.teamPlayedByCompetition.get(ge)) ?? 0 : (wt == null ? void 0 : wt.played) ?? 0, { players: Os, loading: Ns } = pa(
5522
5542
  t,
5523
- (M == null ? void 0 : M.athleteStats) ?? [],
5543
+ (W == null ? void 0 : W.athleteStats) ?? [],
5524
5544
  ge,
5525
5545
  n,
5526
5546
  // The lookup only fires once the visitor actually opens the panel.
@@ -5529,8 +5549,8 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
5529
5549
  if (ue || Es)
5530
5550
  return /* @__PURE__ */ l(Re, { children: /* @__PURE__ */ l(_i, { marginBlock: "3em" }) });
5531
5551
  if (re || Fs && !sn)
5532
- return /* @__PURE__ */ l(Re, { children: /* @__PURE__ */ l("p", { css: kl, children: G("loadFailed") }) });
5533
- if (ke || !I) return /* @__PURE__ */ l(Ia, { labels: B });
5552
+ return /* @__PURE__ */ l(Re, { children: /* @__PURE__ */ l("p", { css: bl, children: G("loadFailed") }) });
5553
+ if (ke || !I) return /* @__PURE__ */ l(Ta, { labels: B });
5534
5554
  const ae = Yn ? { ...I, country: Yn } : I, mn = Ji(I.position), to = Pn(I.dateOfBirth), no = (O ? [
5535
5555
  I.position ? Fe(mn) : null,
5536
5556
  (fe == null ? void 0 : fe.name) ?? null,
@@ -5540,13 +5560,13 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
5540
5560
  // A national side IS its country, so naming it again reads as "Spain — Spain".
5541
5561
  s && ((uo = ae.country) == null ? void 0 : uo.name) !== ae.name ? ((mo = ae.country) == null ? void 0 : mo.name) ?? null : null,
5542
5562
  ae.founded ? G("established", { year: ae.founded }) : null
5543
- ]).filter((P) => !!P), vt = (_s || gt.length > 0 || pt.length > 0 || !!Qe) && (O ? !!(_ != null && _.teamId) : !!Q), Us = (O ? _ == null ? void 0 : _.team : null) ?? ae, oo = O ? (fe == null ? void 0 : fe.branding) ?? null : ae.branding, js = on.length > 1 ? {
5563
+ ]).filter((P) => !!P), vt = (_s || gt.length > 0 || pt.length > 0 || !!Qe) && (O ? !!(A != null && A.teamId) : !!Q), Us = (O ? A == null ? void 0 : A.team : null) ?? ae, oo = O ? (fe == null ? void 0 : fe.branding) ?? null : ae.branding, js = on.length > 1 ? {
5544
5564
  options: O ? he.profiles.map((P) => {
5545
- var be;
5565
+ var Ce;
5546
5566
  return {
5547
5567
  key: P.seasonKey,
5548
5568
  season: P.season ?? P.seasonKey,
5549
- label: [P.season, (be = P.team) == null ? void 0 : be.name].filter((kt) => !!kt).join(" · ")
5569
+ label: [P.season, (Ce = P.team) == null ? void 0 : Ce.name].filter((kt) => !!kt).join(" · ")
5550
5570
  };
5551
5571
  }) : me.profiles.map((P) => ({
5552
5572
  key: P.seasonKey,
@@ -5555,7 +5575,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
5555
5575
  })),
5556
5576
  selectedKey: on[ft].seasonKey,
5557
5577
  onSelect: Je
5558
- } : null, Gs = O ? "seasonStats" : "squad", Ks = { branding: oo, hasBranding: W, styles: K }, xt = {
5578
+ } : null, Gs = O ? "seasonStats" : "squad", Ks = { branding: oo, hasBranding: M, styles: K }, xt = {
5559
5579
  competitor: ae,
5560
5580
  kind: I.kind,
5561
5581
  fixtureCompetitor: Us,
@@ -5567,7 +5587,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
5567
5587
  label: G,
5568
5588
  titleAlign: u,
5569
5589
  view: Xn,
5570
- onToggleView: (P) => rn((be) => be === P ? "overview" : P),
5590
+ onToggleView: (P) => rn((Ce) => Ce === P ? "overview" : P),
5571
5591
  onBackToOverview: () => rn("overview"),
5572
5592
  seasonPicker: js,
5573
5593
  competitions: an,
@@ -5577,10 +5597,10 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
5577
5597
  athleteStats: Hs,
5578
5598
  teamPlayed: eo,
5579
5599
  position: mn,
5580
- seasonCaption: _ != null && _.season ? G("season", { season: _.season }) : null,
5600
+ seasonCaption: A != null && A.season ? G("season", { season: A.season }) : null,
5581
5601
  form: cn,
5582
5602
  streak: Ps,
5583
- featured: Ce,
5603
+ featured: be,
5584
5604
  featuredSide: Rs,
5585
5605
  onSelectFeaturedSide: Bs,
5586
5606
  // Only with something on both sides. A toggle whose other side is empty would land back on the
@@ -5593,17 +5613,17 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
5593
5613
  secondaryView: Gs,
5594
5614
  secondaryLabel: G(O ? "seasonStats" : "squad"),
5595
5615
  secondaryPanel: O ? /* @__PURE__ */ l(
5596
- Va,
5616
+ Ya,
5597
5617
  {
5598
5618
  competitions: an,
5599
- statsByCompetition: (_ == null ? void 0 : _.statsByCompetition) ?? /* @__PURE__ */ new Map(),
5619
+ statsByCompetition: (A == null ? void 0 : A.statsByCompetition) ?? /* @__PURE__ */ new Map(),
5600
5620
  position: mn,
5601
5621
  label: G,
5602
5622
  language: n,
5603
5623
  dense: o === "compact" || o === "horizontal"
5604
5624
  }
5605
5625
  ) : /* @__PURE__ */ l(
5606
- Ga,
5626
+ Ka,
5607
5627
  {
5608
5628
  players: Os,
5609
5629
  loading: Ns,
@@ -5612,7 +5632,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
5612
5632
  language: n,
5613
5633
  label: G,
5614
5634
  branding: Ks,
5615
- config: $,
5635
+ config: _,
5616
5636
  dense: o === "compact" || o === "horizontal"
5617
5637
  }
5618
5638
  ),
@@ -5623,22 +5643,22 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
5623
5643
  showFeaturedMatch: w && vt,
5624
5644
  showOdds: v && vt,
5625
5645
  showFixtures: k && vt,
5626
- showSecondary: O ? R && !!_ : E && !!Q,
5646
+ showSecondary: O ? R && !!A : E && !!Q,
5627
5647
  statsConfig: f,
5628
5648
  formConfig: h,
5629
5649
  matchConfig: x,
5630
- fixturesConfig: C,
5631
- squadConfig: $,
5650
+ fixturesConfig: b,
5651
+ squadConfig: _,
5632
5652
  oddsConfig: m,
5633
5653
  onAddToBetslip: j,
5634
- hasBranding: W,
5635
- headerBackgroundGradient: b,
5654
+ hasBranding: M,
5655
+ headerBackgroundGradient: C,
5636
5656
  defaultImagePlaceholderUrl: a,
5637
5657
  headerLayout: c,
5638
5658
  ctaLayout: d
5639
5659
  };
5640
- return o === "hero" ? /* @__PURE__ */ l(wl, { ...xt }) : o === "compact" ? /* @__PURE__ */ l(vl, { ...xt }) : o === "horizontal" ? /* @__PURE__ */ l(xl, { ...xt }) : /* @__PURE__ */ l(yl, { ...xt });
5641
- }, bl = (e) => /* @__PURE__ */ l(
5660
+ return o === "hero" ? /* @__PURE__ */ l(vl, { ...xt }) : o === "compact" ? /* @__PURE__ */ l(xl, { ...xt }) : o === "horizontal" ? /* @__PURE__ */ l(kl, { ...xt }) : /* @__PURE__ */ l(Sl, { ...xt });
5661
+ }, Il = (e) => /* @__PURE__ */ l(
5642
5662
  Ys,
5643
5663
  {
5644
5664
  packageName: "competitor-card",
@@ -5648,7 +5668,7 @@ const Ba = /\{(\w+)\}/g, Pa = (e, t) => e.replace(Ba, (n, o) => {
5648
5668
  fillHeight: !0,
5649
5669
  children: /* @__PURE__ */ l(Cl, { ...e })
5650
5670
  }
5651
- ), Dl = Sr(bl);
5671
+ ), zl = wr(Il);
5652
5672
  export {
5653
- Dl as CompetitorCard
5673
+ zl as CompetitorCard
5654
5674
  };