@sorayasm/vietri-ds 0.3.2 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,95 +1,95 @@
1
- import { jsxs as d, jsx as e, Fragment as $ } from "react/jsx-runtime";
2
- import p from "@mui/material/Box";
3
- import b from "@mui/material/Stack";
4
- import h from "@mui/material/Typography";
5
- import { default as vt } from "@mui/material/Typography";
6
- import R from "@mui/material/Button";
7
- import { default as yt } from "@mui/material/Button";
8
- import D from "@mui/material/Card";
9
- import { default as St } from "@mui/material/Card";
10
- import { default as Bt } from "@mui/material/CardActionArea";
11
- import { default as Dt } from "@mui/material/CardActions";
12
- import A from "@mui/material/CardContent";
1
+ import { jsxs as d, jsx as r, Fragment as T } from "react/jsx-runtime";
2
+ import s from "@mui/material/Box";
3
+ import x from "@mui/material/Stack";
4
+ import m from "@mui/material/Typography";
5
+ import { default as Ft } from "@mui/material/Typography";
6
+ import O from "@mui/material/Button";
7
+ import { default as Ct } from "@mui/material/Button";
8
+ import A from "@mui/material/Card";
9
+ import { default as wt } from "@mui/material/Card";
10
+ import { default as kt } from "@mui/material/CardActionArea";
11
+ import { default as At } from "@mui/material/CardActions";
12
+ import E from "@mui/material/CardContent";
13
13
  import { default as It } from "@mui/material/CardContent";
14
- import { default as Wt } from "@mui/material/CardMedia";
15
- import Y from "@mui/material/Chip";
16
- import { default as $t } from "@mui/material/Chip";
17
- import { useState as M, useMemo as ie, useId as I, useRef as E, useEffect as q, Children as ne } from "react";
18
- import k from "@mui/material/IconButton";
19
- import { ArrowRight as ae, Check as J, ChevronDown as le, ChevronLeft as Q, ChevronRight as K, Clock as ce, Copy as Z, Database as de, ExternalLink as H, Globe as se, Info as pe, LayoutGrid as ue, MapPin as he, Menu as me, Music as ee, Network as fe, Play as P, Search as ge, Share2 as be, ShieldCheck as xe, Sparkles as ve, TrendingUp as Fe, Users as ye, X as L } from "lucide-react";
20
- import Ce from "@mui/material/Table";
21
- import Se from "@mui/material/TableBody";
22
- import T from "@mui/material/TableCell";
23
- import we from "@mui/material/TableContainer";
24
- import Be from "@mui/material/TableHead";
25
- import O from "@mui/material/TableRow";
26
- import ke from "@mui/material/TableSortLabel";
27
- import De from "@mui/material/DialogActions";
28
- import Ae from "@mui/material/DialogContent";
14
+ import { default as Mt } from "@mui/material/CardMedia";
15
+ import q from "@mui/material/Chip";
16
+ import { default as Tt } from "@mui/material/Chip";
17
+ import { useState as $, useMemo as ne, useId as I, useRef as W, useEffect as J, Children as ae } from "react";
18
+ import D from "@mui/material/IconButton";
19
+ import { ArrowRight as le, Check as Q, ChevronDown as ce, ChevronLeft as K, ChevronRight as Z, Clock as de, Copy as ee, Database as se, ExternalLink as H, Globe as pe, Info as ue, LayoutGrid as me, MapPin as he, Menu as fe, Music as re, Network as ge, Play as L, Search as be, Share2 as xe, ShieldCheck as ve, Sparkles as Fe, TrendingUp as ye, Users as Ce, X as P } from "lucide-react";
20
+ import Se from "@mui/material/Table";
21
+ import we from "@mui/material/TableBody";
22
+ import R from "@mui/material/TableCell";
23
+ import Be from "@mui/material/TableContainer";
24
+ import ke from "@mui/material/TableHead";
25
+ import z from "@mui/material/TableRow";
26
+ import De from "@mui/material/TableSortLabel";
27
+ import Ae from "@mui/material/DialogActions";
28
+ import Ee from "@mui/material/DialogContent";
29
29
  import Ie from "@mui/material/DialogContentText";
30
- import Ee from "@mui/material/DialogTitle";
31
- import We from "@mui/material/Dialog";
32
- import re from "@mui/material/Drawer";
33
- import S from "@mui/material/Link";
30
+ import We from "@mui/material/DialogTitle";
31
+ import Me from "@mui/material/Dialog";
32
+ import te from "@mui/material/Drawer";
33
+ import w from "@mui/material/Link";
34
34
  import j from "@mui/material/Container";
35
- import Me from "@mui/material/Divider";
36
- import { useTheme as te, alpha as w, createTheme as $e } from "@mui/material/styles";
37
- import Te from "@mui/material/TextField";
38
- import { default as Ot } from "@mui/material/TextField";
39
- import Oe from "@mui/material/ToggleButton";
40
- import ze from "@mui/material/ToggleButtonGroup";
41
- import Re from "@mui/material/AppBar";
42
- import He from "@mui/material/SvgIcon";
35
+ import $e from "@mui/material/Divider";
36
+ import { useTheme as oe, alpha as y, createTheme as Te } from "@mui/material/styles";
37
+ import Re from "@mui/material/TextField";
38
+ import { default as zt } from "@mui/material/TextField";
39
+ import ze from "@mui/material/ToggleButton";
40
+ import Oe from "@mui/material/ToggleButtonGroup";
41
+ import He from "@mui/material/AppBar";
42
+ import Le from "@mui/material/SvgIcon";
43
43
  import Pe from "@mui/material/Toolbar";
44
- import Le from "@mui/material/useMediaQuery";
45
- import je from "@mui/material/MenuItem";
46
- import { default as Rt } from "@mui/material/Tab";
44
+ import je from "@mui/material/useMediaQuery";
45
+ import Ve from "@mui/material/MenuItem";
46
+ import { default as Ht } from "@mui/material/Tab";
47
47
  import { default as Pt } from "@mui/material/Tabs";
48
48
  import Ne from "@mui/material/ButtonBase";
49
49
  function Ge() {
50
- return /* @__PURE__ */ e(He, { children: /* @__PURE__ */ e("path", { d: "M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" }) });
50
+ return /* @__PURE__ */ r(Le, { children: /* @__PURE__ */ r("path", { d: "M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" }) });
51
51
  }
52
- function U({
53
- link: r,
52
+ function _({
53
+ link: e,
54
54
  onClick: t,
55
55
  accent: o = !1
56
56
  }) {
57
- const a = !!r.current;
58
- return /* @__PURE__ */ e(
59
- S,
57
+ const i = !!e.current;
58
+ return /* @__PURE__ */ r(
59
+ w,
60
60
  {
61
- href: r.href,
62
- underline: o ? a ? "always" : "hover" : "none",
63
- "aria-current": a ? "page" : void 0,
61
+ href: e.href,
62
+ underline: o ? i ? "always" : "hover" : "none",
63
+ "aria-current": i ? "page" : void 0,
64
64
  onClick: t,
65
65
  sx: (n) => ({
66
- color: o ? a ? n.palette.text.primary : n.palette.primary.main : a ? n.palette.text.primary : n.palette.text.secondary,
67
- fontWeight: a ? 600 : 500,
68
- ...o && a && {
66
+ color: o ? i ? n.palette.text.primary : n.palette.primary.main : i ? n.palette.text.primary : n.palette.text.secondary,
67
+ fontWeight: i ? 600 : 500,
68
+ ...o && i && {
69
69
  textDecorationColor: n.palette.primary.main,
70
70
  textDecorationThickness: 2,
71
71
  textUnderlineOffset: 8
72
72
  },
73
73
  ...!o && { "&:hover": { color: n.palette.text.primary } }
74
74
  }),
75
- children: r.label
75
+ children: e.label
76
76
  }
77
77
  );
78
78
  }
79
79
  function Gr({
80
- brand: r,
80
+ brand: e,
81
81
  brandHref: t = "/",
82
82
  links: o,
83
- actions: a,
83
+ actions: i,
84
84
  ariaLabel: n = "Main",
85
85
  menuLabel: l = "Menu",
86
86
  closeLabel: u = "Close menu",
87
- maxWidth: f = "lg",
87
+ maxWidth: h = "lg",
88
88
  accentLinks: c = !1
89
89
  }) {
90
- const i = te(), s = Le(i.breakpoints.up("md"), { noSsr: !0 }), [m, g] = M(!1), v = () => g(!1);
90
+ const a = oe(), p = je(a.breakpoints.up("md"), { noSsr: !0 }), [f, g] = $(!1), v = () => g(!1);
91
91
  return /* @__PURE__ */ d(
92
- Re,
92
+ He,
93
93
  {
94
94
  component: "header",
95
95
  position: "sticky",
@@ -102,7 +102,7 @@ function Gr({
102
102
  borderColor: "divider"
103
103
  },
104
104
  children: [
105
- /* @__PURE__ */ e(j, { maxWidth: f, children: /* @__PURE__ */ d(
105
+ /* @__PURE__ */ r(j, { maxWidth: h, children: /* @__PURE__ */ d(
106
106
  Pe,
107
107
  {
108
108
  disableGutters: !0,
@@ -112,54 +112,54 @@ function Gr({
112
112
  minHeight: { xs: 64, md: 72 }
113
113
  },
114
114
  children: [
115
- /* @__PURE__ */ e(
116
- S,
115
+ /* @__PURE__ */ r(
116
+ w,
117
117
  {
118
118
  href: t,
119
119
  underline: "none",
120
120
  color: "text.primary",
121
121
  sx: { fontWeight: 600, letterSpacing: "-0.03em", fontSize: "1.125rem" },
122
- children: r
122
+ children: e
123
123
  }
124
124
  ),
125
- s ? /* @__PURE__ */ d(b, { direction: "row", alignItems: "center", spacing: 4, children: [
126
- /* @__PURE__ */ e(p, { component: "nav", "aria-label": n, children: /* @__PURE__ */ e(
127
- b,
125
+ p ? /* @__PURE__ */ d(x, { direction: "row", alignItems: "center", spacing: 4, children: [
126
+ /* @__PURE__ */ r(s, { component: "nav", "aria-label": n, children: /* @__PURE__ */ r(
127
+ x,
128
128
  {
129
129
  component: "ul",
130
130
  direction: "row",
131
131
  spacing: 4,
132
132
  sx: { listStyle: "none", m: 0, p: 0 },
133
- children: o.map((x) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(U, { link: x, accent: c }) }, x.href))
133
+ children: o.map((b) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ r(_, { link: b, accent: c }) }, b.href))
134
134
  }
135
135
  ) }),
136
- a
137
- ] }) : /* @__PURE__ */ d(b, { direction: "row", alignItems: "center", spacing: 1, children: [
138
- a,
139
- /* @__PURE__ */ e(
140
- k,
136
+ i
137
+ ] }) : /* @__PURE__ */ d(x, { direction: "row", alignItems: "center", spacing: 1, children: [
138
+ i,
139
+ /* @__PURE__ */ r(
140
+ D,
141
141
  {
142
142
  edge: "end",
143
143
  color: c ? "primary" : "inherit",
144
144
  "aria-label": l,
145
- "aria-expanded": m,
145
+ "aria-expanded": f,
146
146
  onClick: () => g(!0),
147
- children: /* @__PURE__ */ e(Ge, {})
147
+ children: /* @__PURE__ */ r(Ge, {})
148
148
  }
149
149
  )
150
150
  ] })
151
151
  ]
152
152
  }
153
153
  ) }),
154
- !s && /* @__PURE__ */ e(re, { anchor: "right", open: m, onClose: v, children: /* @__PURE__ */ d(p, { sx: { width: 280, p: 3 }, children: [
155
- /* @__PURE__ */ e(b, { alignItems: "flex-end", sx: { mb: 3 }, children: /* @__PURE__ */ e(R, { variant: "text", color: c ? "primary" : "secondary", onClick: v, children: u }) }),
156
- /* @__PURE__ */ e(p, { component: "nav", "aria-label": n, children: /* @__PURE__ */ e(
157
- b,
154
+ !p && /* @__PURE__ */ r(te, { anchor: "right", open: f, onClose: v, children: /* @__PURE__ */ d(s, { sx: { width: 280, p: 3 }, children: [
155
+ /* @__PURE__ */ r(x, { alignItems: "flex-end", sx: { mb: 3 }, children: /* @__PURE__ */ r(O, { variant: "text", color: c ? "primary" : "secondary", onClick: v, children: u }) }),
156
+ /* @__PURE__ */ r(s, { component: "nav", "aria-label": n, children: /* @__PURE__ */ r(
157
+ x,
158
158
  {
159
159
  component: "ul",
160
160
  spacing: 3,
161
161
  sx: { listStyle: "none", m: 0, p: 0, fontSize: "1.25rem" },
162
- children: o.map((x) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(U, { link: x, onClick: v, accent: c }) }, x.href))
162
+ children: o.map((b) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ r(_, { link: b, onClick: v, accent: c }) }, b.href))
163
163
  }
164
164
  ) })
165
165
  ] }) })
@@ -167,123 +167,123 @@ function Gr({
167
167
  }
168
168
  );
169
169
  }
170
- const Ve = [
170
+ const Ue = [
171
171
  { value: "en", label: "EN" },
172
172
  { value: "es", label: "ES" }
173
173
  ];
174
- function Vr({
175
- value: r,
174
+ function Ur({
175
+ value: e,
176
176
  onChange: t,
177
- options: o = Ve,
178
- ariaLabel: a = "Language"
177
+ options: o = Ue,
178
+ ariaLabel: i = "Language"
179
179
  }) {
180
- return /* @__PURE__ */ e(
181
- ze,
180
+ return /* @__PURE__ */ r(
181
+ Oe,
182
182
  {
183
183
  exclusive: !0,
184
184
  size: "small",
185
- value: r,
186
- "aria-label": a,
185
+ value: e,
186
+ "aria-label": i,
187
187
  onChange: (n, l) => {
188
188
  l !== null && t(l);
189
189
  },
190
- children: o.map((n) => /* @__PURE__ */ e(Oe, { value: n.value, children: n.label }, n.value))
190
+ children: o.map((n) => /* @__PURE__ */ r(ze, { value: n.value, children: n.label }, n.value))
191
191
  }
192
192
  );
193
193
  }
194
- function Ur({ value: r, label: t, description: o }) {
195
- return /* @__PURE__ */ e(D, { children: /* @__PURE__ */ d(A, { children: [
196
- /* @__PURE__ */ e(h, { variant: "h3", component: "p", children: r }),
197
- /* @__PURE__ */ e(h, { variant: "body1", sx: { mt: 1 }, children: t }),
198
- o && /* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", sx: { mt: 1 }, children: o })
194
+ function _r({ value: e, label: t, description: o }) {
195
+ return /* @__PURE__ */ r(A, { children: /* @__PURE__ */ d(E, { children: [
196
+ /* @__PURE__ */ r(m, { variant: "h3", component: "p", children: e }),
197
+ /* @__PURE__ */ r(m, { variant: "body1", sx: { mt: 1 }, children: t }),
198
+ o && /* @__PURE__ */ r(m, { variant: "body2", color: "text.secondary", sx: { mt: 1 }, children: o })
199
199
  ] }) });
200
200
  }
201
- function oe(r, t) {
202
- return r[t.key];
201
+ function ie(e, t) {
202
+ return e[t.key];
203
203
  }
204
- function _(r, t) {
205
- if (t.sortValue) return t.sortValue(r);
206
- const o = oe(r, t);
204
+ function X(e, t) {
205
+ if (t.sortValue) return t.sortValue(e);
206
+ const o = ie(e, t);
207
207
  return typeof o == "number" ? o : String(o ?? "");
208
208
  }
209
- function Ue(r, t) {
210
- return typeof r == "number" && typeof t == "number" ? r - t : String(r).localeCompare(String(t), void 0, { numeric: !0 });
209
+ function _e(e, t) {
210
+ return typeof e == "number" && typeof t == "number" ? e - t : String(e).localeCompare(String(t), void 0, { numeric: !0 });
211
211
  }
212
- function _r({
213
- columns: r,
212
+ function Xr({
213
+ columns: e,
214
214
  rows: t,
215
215
  getRowKey: o,
216
- caption: a,
216
+ caption: i,
217
217
  emptyMessage: n = "No data"
218
218
  }) {
219
- const [l, u] = M(
219
+ const [l, u] = $(
220
220
  null
221
- ), f = ie(() => {
221
+ ), h = ne(() => {
222
222
  if (!l) return t;
223
- const i = r.find((m) => m.key === l.key);
224
- if (!i) return t;
225
- const s = l.direction === "asc" ? 1 : -1;
223
+ const a = e.find((f) => f.key === l.key);
224
+ if (!a) return t;
225
+ const p = l.direction === "asc" ? 1 : -1;
226
226
  return [...t].sort(
227
- (m, g) => s * Ue(_(m, i), _(g, i))
227
+ (f, g) => p * _e(X(f, a), X(g, a))
228
228
  );
229
- }, [t, r, l]), c = (i) => {
229
+ }, [t, e, l]), c = (a) => {
230
230
  u(
231
- (s) => s?.key === i && s.direction === "asc" ? { key: i, direction: "desc" } : { key: i, direction: "asc" }
231
+ (p) => p?.key === a && p.direction === "asc" ? { key: a, direction: "desc" } : { key: a, direction: "asc" }
232
232
  );
233
233
  };
234
- return /* @__PURE__ */ e(we, { tabIndex: 0, sx: { overflowX: "auto" }, children: /* @__PURE__ */ d(Ce, { children: [
235
- a && /* @__PURE__ */ e(
236
- h,
234
+ return /* @__PURE__ */ r(Be, { tabIndex: 0, sx: { overflowX: "auto" }, children: /* @__PURE__ */ d(Se, { children: [
235
+ i && /* @__PURE__ */ r(
236
+ m,
237
237
  {
238
238
  component: "caption",
239
239
  variant: "body2",
240
240
  color: "text.secondary",
241
241
  sx: { captionSide: "top", textAlign: "left", pb: 2 },
242
- children: a
242
+ children: i
243
243
  }
244
244
  ),
245
- /* @__PURE__ */ e(Be, { children: /* @__PURE__ */ e(O, { children: r.map((i) => {
246
- const s = l?.key === i.key ? l.direction : void 0;
247
- return /* @__PURE__ */ e(
248
- T,
245
+ /* @__PURE__ */ r(ke, { children: /* @__PURE__ */ r(z, { children: e.map((a) => {
246
+ const p = l?.key === a.key ? l.direction : void 0;
247
+ return /* @__PURE__ */ r(
248
+ R,
249
249
  {
250
- align: i.align,
251
- sortDirection: s ?? !1,
252
- children: i.sortable ? /* @__PURE__ */ e(
253
- ke,
250
+ align: a.align,
251
+ sortDirection: p ?? !1,
252
+ children: a.sortable ? /* @__PURE__ */ r(
253
+ De,
254
254
  {
255
- active: s !== void 0,
256
- direction: s ?? "asc",
257
- onClick: () => c(i.key),
258
- children: i.header
255
+ active: p !== void 0,
256
+ direction: p ?? "asc",
257
+ onClick: () => c(a.key),
258
+ children: a.header
259
259
  }
260
- ) : i.header
260
+ ) : a.header
261
261
  },
262
- i.key
262
+ a.key
263
263
  );
264
264
  }) }) }),
265
- /* @__PURE__ */ e(Se, { children: f.length === 0 ? /* @__PURE__ */ e(O, { children: /* @__PURE__ */ e(T, { colSpan: r.length, align: "center", children: n }) }) : f.map((i) => /* @__PURE__ */ e(O, { children: r.map((s, m) => /* @__PURE__ */ e(
266
- T,
265
+ /* @__PURE__ */ r(we, { children: h.length === 0 ? /* @__PURE__ */ r(z, { children: /* @__PURE__ */ r(R, { colSpan: e.length, align: "center", children: n }) }) : h.map((a) => /* @__PURE__ */ r(z, { children: e.map((p, f) => /* @__PURE__ */ r(
266
+ R,
267
267
  {
268
- align: s.align,
269
- component: m === 0 ? "th" : "td",
270
- scope: m === 0 ? "row" : void 0,
271
- children: s.render ? s.render(i) : String(oe(i, s) ?? "")
268
+ align: p.align,
269
+ component: f === 0 ? "th" : "td",
270
+ scope: f === 0 ? "row" : void 0,
271
+ children: p.render ? p.render(a) : String(ie(a, p) ?? "")
272
272
  },
273
- s.key
274
- )) }, o(i))) })
273
+ p.key
274
+ )) }, o(a))) })
275
275
  ] }) });
276
276
  }
277
- function Xr({
278
- data: r,
277
+ function Yr({
278
+ data: e,
279
279
  title: t,
280
280
  max: o,
281
- formatValue: a = String
281
+ formatValue: i = String
282
282
  }) {
283
- const n = o ?? Math.max(0, ...r.map((l) => l.value));
284
- return /* @__PURE__ */ d(p, { component: "figure", sx: { m: 0 }, children: [
285
- t && /* @__PURE__ */ e(
286
- h,
283
+ const n = o ?? Math.max(0, ...e.map((l) => l.value));
284
+ return /* @__PURE__ */ d(s, { component: "figure", sx: { m: 0 }, children: [
285
+ t && /* @__PURE__ */ r(
286
+ m,
287
287
  {
288
288
  component: "figcaption",
289
289
  variant: "overline",
@@ -292,10 +292,10 @@ function Xr({
292
292
  children: t
293
293
  }
294
294
  ),
295
- /* @__PURE__ */ e(b, { component: "ul", spacing: 1.5, sx: { listStyle: "none", m: 0, p: 0 }, children: r.map((l) => {
296
- const u = n > 0 ? Math.min(100, Math.max(0, l.value / n * 100)) : 0, f = a(l.value);
295
+ /* @__PURE__ */ r(x, { component: "ul", spacing: 1.5, sx: { listStyle: "none", m: 0, p: 0 }, children: e.map((l) => {
296
+ const u = n > 0 ? Math.min(100, Math.max(0, l.value / n * 100)) : 0, h = i(l.value);
297
297
  return /* @__PURE__ */ d(
298
- p,
298
+ s,
299
299
  {
300
300
  component: "li",
301
301
  sx: {
@@ -305,24 +305,24 @@ function Xr({
305
305
  columnGap: 2
306
306
  },
307
307
  children: [
308
- /* @__PURE__ */ e(h, { variant: "body2", "aria-hidden": "true", children: l.label }),
309
- /* @__PURE__ */ e(
310
- p,
308
+ /* @__PURE__ */ r(m, { variant: "body2", "aria-hidden": "true", children: l.label }),
309
+ /* @__PURE__ */ r(
310
+ s,
311
311
  {
312
312
  role: "meter",
313
313
  "aria-label": l.label,
314
314
  "aria-valuemin": 0,
315
315
  "aria-valuemax": n,
316
316
  "aria-valuenow": l.value,
317
- "aria-valuetext": f,
317
+ "aria-valuetext": h,
318
318
  sx: {
319
319
  height: 12,
320
320
  borderRadius: 1,
321
321
  bgcolor: "divider",
322
322
  overflow: "hidden"
323
323
  },
324
- children: /* @__PURE__ */ e(
325
- p,
324
+ children: /* @__PURE__ */ r(
325
+ s,
326
326
  {
327
327
  style: { width: `${u}%` },
328
328
  sx: { height: "100%", bgcolor: "primary.main" }
@@ -330,13 +330,13 @@ function Xr({
330
330
  )
331
331
  }
332
332
  ),
333
- /* @__PURE__ */ e(
334
- h,
333
+ /* @__PURE__ */ r(
334
+ m,
335
335
  {
336
336
  variant: "body2",
337
337
  "aria-hidden": "true",
338
338
  sx: { minWidth: 40, textAlign: "right", fontWeight: 600 },
339
- children: f
339
+ children: h
340
340
  }
341
341
  )
342
342
  ]
@@ -346,62 +346,62 @@ function Xr({
346
346
  }) })
347
347
  ] });
348
348
  }
349
- function C({ icon: r, label: t, size: o = 18, ...a }) {
350
- return t ? /* @__PURE__ */ e(r, { size: o, role: "img", "aria-label": t, ...a }) : /* @__PURE__ */ e(r, { size: o, "aria-hidden": "true", focusable: "false", ...a });
349
+ function S({ icon: e, label: t, size: o = 18, ...i }) {
350
+ return t ? /* @__PURE__ */ r(e, { size: o, role: "img", "aria-label": t, ...i }) : /* @__PURE__ */ r(e, { size: o, "aria-hidden": "true", focusable: "false", ...i });
351
351
  }
352
- const Yr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
352
+ const qr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
353
353
  __proto__: null,
354
- ArrowRight: ae,
355
- Check: J,
356
- ChevronDown: le,
357
- ChevronLeft: Q,
358
- ChevronRight: K,
359
- Clock: ce,
360
- Copy: Z,
361
- Database: de,
354
+ ArrowRight: le,
355
+ Check: Q,
356
+ ChevronDown: ce,
357
+ ChevronLeft: K,
358
+ ChevronRight: Z,
359
+ Clock: de,
360
+ Copy: ee,
361
+ Database: se,
362
362
  ExternalLink: H,
363
- Globe: se,
364
- Info: pe,
365
- LayoutGrid: ue,
363
+ Globe: pe,
364
+ Info: ue,
365
+ LayoutGrid: me,
366
366
  MapPin: he,
367
- Menu: me,
368
- Music: ee,
369
- Network: fe,
370
- Play: P,
371
- Search: ge,
372
- Share2: be,
373
- ShieldCheck: xe,
374
- Sparkles: ve,
375
- TrendingUp: Fe,
376
- Users: ye,
377
- X: L
367
+ Menu: fe,
368
+ Music: re,
369
+ Network: ge,
370
+ Play: L,
371
+ Search: be,
372
+ Share2: xe,
373
+ ShieldCheck: ve,
374
+ Sparkles: Fe,
375
+ TrendingUp: ye,
376
+ Users: Ce,
377
+ X: P
378
378
  }, Symbol.toStringTag, { value: "Module" }));
379
- function _e({ color: r, dot: t = !1, ...o }) {
380
- return /* @__PURE__ */ e(
381
- Y,
379
+ function Xe({ color: e, dot: t = !1, ...o }) {
380
+ return /* @__PURE__ */ r(
381
+ q,
382
382
  {
383
383
  size: "small",
384
384
  ...o,
385
- icon: t ? /* @__PURE__ */ e(
386
- p,
385
+ icon: t ? /* @__PURE__ */ r(
386
+ s,
387
387
  {
388
388
  component: "span",
389
389
  "aria-hidden": "true",
390
- sx: { width: 8, height: 8, borderRadius: "50%", bgcolor: r.fg }
390
+ sx: { width: 8, height: 8, borderRadius: "50%", bgcolor: e.fg }
391
391
  }
392
392
  ) : void 0,
393
393
  sx: {
394
- bgcolor: r.bg,
395
- color: r.fg,
396
- "&.MuiChip-clickable:hover": { bgcolor: r.bg, filter: "brightness(0.95)" },
397
- "& .MuiChip-icon": { color: r.fg, ml: 1, mr: -0.25 }
394
+ bgcolor: e.bg,
395
+ color: e.fg,
396
+ "&.MuiChip-clickable:hover": { bgcolor: e.bg, filter: "brightness(0.95)" },
397
+ "& .MuiChip-icon": { color: e.fg, ml: 1, mr: -0.25 }
398
398
  }
399
399
  }
400
400
  );
401
401
  }
402
- function N(r) {
403
- return /* @__PURE__ */ e(
404
- p,
402
+ function V(e) {
403
+ return /* @__PURE__ */ r(
404
+ s,
405
405
  {
406
406
  component: "span",
407
407
  sx: {
@@ -415,42 +415,46 @@ function N(r) {
415
415
  whiteSpace: "nowrap",
416
416
  width: "1px"
417
417
  },
418
- ...r
418
+ ...e
419
419
  }
420
420
  );
421
421
  }
422
- function qr({
423
- title: r,
422
+ function Jr({
423
+ title: e,
424
424
  description: t,
425
425
  lines: o = [],
426
- links: a = [],
426
+ links: i = [],
427
427
  linksLabel: n = "Footer links",
428
428
  action: l,
429
429
  legal: u,
430
- externalLabel: f = "(opens in a new tab)"
430
+ externalLabel: h = "(opens in a new tab)"
431
431
  }) {
432
- const { glow: c } = te().vietri.color;
432
+ const { glow: c } = oe().vietri.color;
433
433
  return /* @__PURE__ */ d(
434
- p,
434
+ s,
435
435
  {
436
436
  component: "footer",
437
- sx: (i) => ({
437
+ sx: (a) => ({
438
438
  position: "relative",
439
439
  overflow: "hidden",
440
440
  py: 6,
441
- color: i.vietri.color.onSurface,
442
- background: i.vietri.gradient.surface,
441
+ color: a.vietri.color.onSurface,
442
+ background: a.vietri.gradient.surface,
443
+ // A thin rule along the top, when the theme defines one.
444
+ ...a.vietri.color.surfaceRule && {
445
+ borderTop: `4px solid ${a.vietri.color.surfaceRule}`
446
+ },
443
447
  // The default focus ring is not visible on dark backgrounds.
444
448
  "& a:focus-visible, & button:focus-visible": {
445
449
  outline: "2px solid",
446
- outlineColor: i.vietri.color.onSurface,
450
+ outlineColor: a.vietri.color.onSurface,
447
451
  outlineOffset: 3
448
452
  }
449
453
  }),
450
454
  children: [
451
- c && /* @__PURE__ */ d($, { children: [
452
- /* @__PURE__ */ e(
453
- p,
455
+ c && /* @__PURE__ */ d(T, { children: [
456
+ /* @__PURE__ */ r(
457
+ s,
454
458
  {
455
459
  "aria-hidden": "true",
456
460
  sx: {
@@ -460,14 +464,14 @@ function qr({
460
464
  width: 384,
461
465
  height: 384,
462
466
  borderRadius: "50%",
463
- bgcolor: w(c[0], 0.22),
467
+ bgcolor: y(c[0], 0.22),
464
468
  filter: "blur(64px)",
465
469
  pointerEvents: "none"
466
470
  }
467
471
  }
468
472
  ),
469
- /* @__PURE__ */ e(
470
- p,
473
+ /* @__PURE__ */ r(
474
+ s,
471
475
  {
472
476
  "aria-hidden": "true",
473
477
  sx: {
@@ -477,7 +481,7 @@ function qr({
477
481
  width: 384,
478
482
  height: 384,
479
483
  borderRadius: "50%",
480
- bgcolor: w(c[1], 0.22),
484
+ bgcolor: y(c[1], 0.22),
481
485
  filter: "blur(64px)",
482
486
  pointerEvents: "none"
483
487
  }
@@ -486,39 +490,39 @@ function qr({
486
490
  ] }),
487
491
  /* @__PURE__ */ d(j, { maxWidth: "lg", sx: { position: "relative", zIndex: 1 }, children: [
488
492
  /* @__PURE__ */ d(
489
- b,
493
+ x,
490
494
  {
491
495
  direction: { xs: "column", sm: "row" },
492
496
  justifyContent: "space-between",
493
497
  alignItems: { xs: "flex-start", sm: "center" },
494
498
  spacing: 4,
495
499
  children: [
496
- /* @__PURE__ */ d(b, { spacing: 1, children: [
497
- /* @__PURE__ */ e(h, { component: "p", variant: "h6", children: r }),
498
- t && /* @__PURE__ */ e(
499
- h,
500
+ /* @__PURE__ */ d(x, { spacing: 1, children: [
501
+ /* @__PURE__ */ r(m, { component: "p", variant: "h6", children: e }),
502
+ t && /* @__PURE__ */ r(
503
+ m,
500
504
  {
501
505
  variant: "body2",
502
- sx: (i) => ({
506
+ sx: (a) => ({
503
507
  maxWidth: 560,
504
- color: i.vietri.color.onSurfaceSoft
508
+ color: a.vietri.color.onSurfaceSoft
505
509
  }),
506
510
  children: t
507
511
  }
508
512
  ),
509
- o.map((i) => /* @__PURE__ */ e(
510
- h,
513
+ o.map((a) => /* @__PURE__ */ r(
514
+ m,
511
515
  {
512
516
  variant: "body2",
513
- sx: (s) => ({ color: s.vietri.color.onSurfaceSoft }),
514
- children: i
517
+ sx: (p) => ({ color: p.vietri.color.onSurfaceSoft }),
518
+ children: a
515
519
  },
516
- i
520
+ a
517
521
  ))
518
522
  ] }),
519
- /* @__PURE__ */ d(b, { spacing: 2, alignItems: { xs: "flex-start", sm: "flex-end" }, children: [
520
- a.length > 0 && /* @__PURE__ */ e(p, { component: "nav", "aria-label": n, children: /* @__PURE__ */ e(
521
- b,
523
+ /* @__PURE__ */ d(x, { spacing: 2, alignItems: { xs: "flex-start", sm: "flex-end" }, children: [
524
+ i.length > 0 && /* @__PURE__ */ r(s, { component: "nav", "aria-label": n, children: /* @__PURE__ */ r(
525
+ x,
522
526
  {
523
527
  component: "ul",
524
528
  direction: "row",
@@ -526,24 +530,24 @@ function qr({
526
530
  useFlexGap: !0,
527
531
  flexWrap: "wrap",
528
532
  sx: { listStyle: "none", m: 0, p: 0 },
529
- children: a.map((i) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ d(
530
- S,
533
+ children: i.map((a) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ d(
534
+ w,
531
535
  {
532
- href: i.href,
536
+ href: a.href,
533
537
  color: "inherit",
534
538
  underline: "always",
535
- target: i.external ? "_blank" : void 0,
536
- rel: i.external ? "noopener noreferrer" : void 0,
539
+ target: a.external ? "_blank" : void 0,
540
+ rel: a.external ? "noopener noreferrer" : void 0,
537
541
  sx: { display: "inline-flex", alignItems: "center", gap: 0.5 },
538
542
  children: [
539
- i.label,
540
- i.external && /* @__PURE__ */ d($, { children: [
541
- /* @__PURE__ */ e(C, { icon: H, size: 14 }),
542
- /* @__PURE__ */ e(N, { children: f })
543
+ a.label,
544
+ a.external && /* @__PURE__ */ d(T, { children: [
545
+ /* @__PURE__ */ r(S, { icon: H, size: 14 }),
546
+ /* @__PURE__ */ r(V, { children: h })
543
547
  ] })
544
548
  ]
545
549
  }
546
- ) }, i.href))
550
+ ) }, a.href))
547
551
  }
548
552
  ) }),
549
553
  l
@@ -551,21 +555,21 @@ function qr({
551
555
  ]
552
556
  }
553
557
  ),
554
- u && /* @__PURE__ */ d($, { children: [
555
- /* @__PURE__ */ e(
556
- Me,
558
+ u && /* @__PURE__ */ d(T, { children: [
559
+ /* @__PURE__ */ r(
560
+ $e,
557
561
  {
558
- sx: (i) => ({
562
+ sx: (a) => ({
559
563
  my: 3,
560
- borderColor: w(i.vietri.color.onSurface, 0.25)
564
+ borderColor: y(a.vietri.color.onSurface, 0.25)
561
565
  })
562
566
  }
563
567
  ),
564
- /* @__PURE__ */ e(
565
- h,
568
+ /* @__PURE__ */ r(
569
+ m,
566
570
  {
567
571
  variant: "body2",
568
- sx: (i) => ({ color: i.vietri.color.onSurfaceSoft }),
572
+ sx: (a) => ({ color: a.vietri.color.onSurfaceSoft }),
569
573
  children: u
570
574
  }
571
575
  )
@@ -575,17 +579,17 @@ function qr({
575
579
  }
576
580
  );
577
581
  }
578
- function Jr({
579
- title: r,
582
+ function Qr({
583
+ title: e,
580
584
  eyebrow: t,
581
585
  description: o,
582
- level: a = 2,
586
+ level: i = 2,
583
587
  align: n = "left"
584
588
  }) {
585
- const l = `h${a}`;
586
- return /* @__PURE__ */ d(b, { spacing: 1, sx: { textAlign: n, alignItems: n === "center" ? "center" : "flex-start" }, children: [
587
- t && /* @__PURE__ */ e(
588
- h,
589
+ const l = `h${i}`;
590
+ return /* @__PURE__ */ d(x, { spacing: 1, sx: { textAlign: n, alignItems: n === "center" ? "center" : "flex-start" }, children: [
591
+ t && /* @__PURE__ */ r(
592
+ m,
589
593
  {
590
594
  component: "p",
591
595
  variant: "overline",
@@ -594,113 +598,113 @@ function Jr({
594
598
  children: t
595
599
  }
596
600
  ),
597
- /* @__PURE__ */ e(h, { component: l, variant: "h3", children: r }),
598
- o && /* @__PURE__ */ e(h, { variant: "body1", color: "text.secondary", sx: { maxWidth: 680 }, children: o })
601
+ /* @__PURE__ */ r(m, { component: l, variant: "h3", children: e }),
602
+ o && /* @__PURE__ */ r(m, { variant: "body1", color: "text.secondary", sx: { maxWidth: 680 }, children: o })
599
603
  ] });
600
604
  }
601
- function Qr({
602
- label: r,
605
+ function Kr({
606
+ label: e,
603
607
  value: t,
604
608
  onChange: o,
605
- options: a,
609
+ options: i,
606
610
  helperText: n,
607
611
  disabled: l,
608
612
  fullWidth: u,
609
- size: f,
613
+ size: h,
610
614
  id: c
611
615
  }) {
612
- const i = new Map(a.map((s) => [s.value, s]));
613
- return /* @__PURE__ */ e(
614
- Te,
616
+ const a = new Map(i.map((p) => [p.value, p]));
617
+ return /* @__PURE__ */ r(
618
+ Re,
615
619
  {
616
620
  select: !0,
617
621
  id: c,
618
- label: r,
622
+ label: e,
619
623
  value: t,
620
- onChange: (s) => o(s.target.value),
624
+ onChange: (p) => o(p.target.value),
621
625
  helperText: n,
622
626
  disabled: l,
623
627
  fullWidth: u,
624
- size: f,
628
+ size: h,
625
629
  slotProps: {
626
630
  select: {
627
- renderValue: (s) => {
628
- const m = i.get(String(s));
629
- return m ? /* @__PURE__ */ d(p, { component: "span", sx: { display: "inline-flex", alignItems: "center", gap: 1 }, children: [
630
- m.adornment,
631
- m.label
631
+ renderValue: (p) => {
632
+ const f = a.get(String(p));
633
+ return f ? /* @__PURE__ */ d(s, { component: "span", sx: { display: "inline-flex", alignItems: "center", gap: 1 }, children: [
634
+ f.adornment,
635
+ f.label
632
636
  ] }) : "";
633
637
  }
634
638
  }
635
639
  },
636
- children: a.map((s) => /* @__PURE__ */ d(je, { value: s.value, sx: { gap: 1 }, children: [
637
- s.adornment,
638
- s.label,
639
- s.count !== void 0 && /* @__PURE__ */ e(h, { component: "span", variant: "caption", color: "text.secondary", sx: { ml: "auto", pl: 2 }, children: s.count })
640
- ] }, s.value))
640
+ children: i.map((p) => /* @__PURE__ */ d(Ve, { value: p.value, sx: { gap: 1 }, children: [
641
+ p.adornment,
642
+ p.label,
643
+ p.count !== void 0 && /* @__PURE__ */ r(m, { component: "span", variant: "caption", color: "text.secondary", sx: { ml: "auto", pl: 2 }, children: p.count })
644
+ ] }, p.value))
641
645
  }
642
646
  );
643
647
  }
644
- function Kr({
645
- open: r,
648
+ function Zr({
649
+ open: e,
646
650
  onClose: t,
647
651
  title: o,
648
- description: a,
652
+ description: i,
649
653
  children: n,
650
654
  actions: l,
651
655
  closeLabel: u = "Close",
652
- maxWidth: f = "sm"
656
+ maxWidth: h = "sm"
653
657
  }) {
654
- const c = I(), i = I();
658
+ const c = I(), a = I();
655
659
  return /* @__PURE__ */ d(
656
- We,
660
+ Me,
657
661
  {
658
- open: r,
662
+ open: e,
659
663
  onClose: t,
660
664
  fullWidth: !0,
661
- maxWidth: f,
665
+ maxWidth: h,
662
666
  "aria-labelledby": c,
663
- "aria-describedby": a ? i : void 0,
667
+ "aria-describedby": i ? a : void 0,
664
668
  children: [
665
- /* @__PURE__ */ e(Ee, { id: c, sx: { pr: 7 }, children: o }),
666
- /* @__PURE__ */ e(
667
- k,
669
+ /* @__PURE__ */ r(We, { id: c, sx: { pr: 7 }, children: o }),
670
+ /* @__PURE__ */ r(
671
+ D,
668
672
  {
669
673
  "aria-label": u,
670
674
  onClick: t,
671
675
  sx: { position: "absolute", top: 8, right: 8 },
672
- children: /* @__PURE__ */ e(C, { icon: L })
676
+ children: /* @__PURE__ */ r(S, { icon: P })
673
677
  }
674
678
  ),
675
- /* @__PURE__ */ d(Ae, { children: [
676
- a && /* @__PURE__ */ e(Ie, { id: i, sx: { mb: n ? 2 : 0 }, children: a }),
679
+ /* @__PURE__ */ d(Ee, { children: [
680
+ i && /* @__PURE__ */ r(Ie, { id: a, sx: { mb: n ? 2 : 0 }, children: i }),
677
681
  n
678
682
  ] }),
679
- l && /* @__PURE__ */ e(De, { sx: { px: 3, pb: 2 }, children: l })
683
+ l && /* @__PURE__ */ r(Ae, { sx: { px: 3, pb: 2 }, children: l })
680
684
  ]
681
685
  }
682
686
  );
683
687
  }
684
- function Zr({
685
- open: r,
688
+ function et({
689
+ open: e,
686
690
  onClose: t,
687
691
  title: o,
688
- eyebrow: a,
692
+ eyebrow: i,
689
693
  children: n,
690
694
  footer: l,
691
695
  anchor: u = "right",
692
- width: f = 420,
696
+ width: h = 420,
693
697
  closeLabel: c = "Close"
694
698
  }) {
695
- const i = I();
696
- return /* @__PURE__ */ e(re, { anchor: u, open: r, onClose: t, children: /* @__PURE__ */ d(
697
- p,
699
+ const a = I();
700
+ return /* @__PURE__ */ r(te, { anchor: u, open: e, onClose: t, children: /* @__PURE__ */ d(
701
+ s,
698
702
  {
699
703
  role: "dialog",
700
704
  "aria-modal": "true",
701
- "aria-labelledby": i,
705
+ "aria-labelledby": a,
702
706
  sx: {
703
- width: { xs: "100vw", sm: f },
707
+ width: { xs: "100vw", sm: h },
704
708
  maxWidth: "100vw",
705
709
  height: "100%",
706
710
  display: "flex",
@@ -708,52 +712,52 @@ function Zr({
708
712
  },
709
713
  children: [
710
714
  /* @__PURE__ */ d(
711
- b,
715
+ x,
712
716
  {
713
717
  direction: "row",
714
718
  justifyContent: "space-between",
715
719
  alignItems: "center",
716
720
  sx: { p: 3, pb: 1 },
717
721
  children: [
718
- /* @__PURE__ */ e(h, { component: "p", variant: "overline", color: "primary.main", children: a }),
719
- /* @__PURE__ */ e(k, { "aria-label": c, onClick: t, edge: "end", children: /* @__PURE__ */ e(C, { icon: L }) })
722
+ /* @__PURE__ */ r(m, { component: "p", variant: "overline", color: "primary.main", children: i }),
723
+ /* @__PURE__ */ r(D, { "aria-label": c, onClick: t, edge: "end", children: /* @__PURE__ */ r(S, { icon: P }) })
720
724
  ]
721
725
  }
722
726
  ),
723
- /* @__PURE__ */ d(p, { sx: { px: 3, pb: 2, flex: 1, overflowY: "auto" }, tabIndex: 0, children: [
724
- /* @__PURE__ */ e(h, { id: i, component: "h2", variant: "h4", sx: { mb: 2 }, children: o }),
727
+ /* @__PURE__ */ d(s, { sx: { px: 3, pb: 2, flex: 1, overflowY: "auto" }, tabIndex: 0, children: [
728
+ /* @__PURE__ */ r(m, { id: a, component: "h2", variant: "h4", sx: { mb: 2 }, children: o }),
725
729
  n
726
730
  ] }),
727
- l && /* @__PURE__ */ e(p, { sx: { p: 3, borderTop: 1, borderColor: "divider" }, children: l })
731
+ l && /* @__PURE__ */ r(s, { sx: { p: 3, borderTop: 1, borderColor: "divider" }, children: l })
728
732
  ]
729
733
  }
730
734
  ) });
731
735
  }
732
- function et({
733
- label: r,
736
+ function rt({
737
+ label: e,
734
738
  value: t,
735
739
  copyLabel: o = "Copy",
736
- copiedLabel: a = "Copied!",
740
+ copiedLabel: i = "Copied!",
737
741
  errorLabel: n = "Could not copy",
738
742
  copiedDuration: l = 2e3
739
743
  }) {
740
- const [u, f] = M("idle"), c = E(void 0);
741
- q(() => () => clearTimeout(c.current), []);
742
- async function i() {
744
+ const [u, h] = $("idle"), c = W(void 0);
745
+ J(() => () => clearTimeout(c.current), []);
746
+ async function a() {
743
747
  try {
744
- await navigator.clipboard.writeText(t), f("copied");
748
+ await navigator.clipboard.writeText(t), h("copied");
745
749
  } catch {
746
- f("error");
750
+ h("error");
747
751
  }
748
- clearTimeout(c.current), c.current = setTimeout(() => f("idle"), l);
752
+ clearTimeout(c.current), c.current = setTimeout(() => h("idle"), l);
749
753
  }
750
- return /* @__PURE__ */ d(b, { spacing: 1.5, children: [
751
- /* @__PURE__ */ e(h, { component: "p", variant: "overline", color: "text.secondary", children: r }),
752
- /* @__PURE__ */ e(
753
- p,
754
+ return /* @__PURE__ */ d(x, { spacing: 1.5, children: [
755
+ /* @__PURE__ */ r(m, { component: "p", variant: "overline", color: "text.secondary", children: e }),
756
+ /* @__PURE__ */ r(
757
+ s,
754
758
  {
755
759
  role: "region",
756
- "aria-label": r,
760
+ "aria-label": e,
757
761
  tabIndex: 0,
758
762
  sx: {
759
763
  overflowX: "auto",
@@ -766,26 +770,26 @@ function et({
766
770
  fontSize: "0.8125rem",
767
771
  whiteSpace: "pre"
768
772
  },
769
- children: /* @__PURE__ */ e("code", { children: t })
773
+ children: /* @__PURE__ */ r("code", { children: t })
770
774
  }
771
775
  ),
772
- /* @__PURE__ */ e(
773
- R,
776
+ /* @__PURE__ */ r(
777
+ O,
774
778
  {
775
- onClick: i,
776
- startIcon: /* @__PURE__ */ e(C, { icon: u === "copied" ? J : Z }),
779
+ onClick: a,
780
+ startIcon: /* @__PURE__ */ r(S, { icon: u === "copied" ? Q : ee }),
777
781
  fullWidth: !0,
778
- children: u === "copied" ? a : o
782
+ children: u === "copied" ? i : o
779
783
  }
780
784
  ),
781
- /* @__PURE__ */ e(N, { role: "status", "aria-live": "polite", children: u === "copied" ? a : u === "error" ? n : "" })
785
+ /* @__PURE__ */ r(V, { role: "status", "aria-live": "polite", children: u === "copied" ? i : u === "error" ? n : "" })
782
786
  ] });
783
787
  }
784
- function rt({ href: r, children: t = "Skip to content" }) {
785
- return /* @__PURE__ */ e(
786
- S,
788
+ function tt({ href: e, children: t = "Skip to content" }) {
789
+ return /* @__PURE__ */ r(
790
+ w,
787
791
  {
788
- href: r,
792
+ href: e,
789
793
  sx: (o) => ({
790
794
  position: "fixed",
791
795
  top: o.spacing(1),
@@ -806,92 +810,118 @@ function rt({ href: r, children: t = "Skip to content" }) {
806
810
  }
807
811
  );
808
812
  }
809
- function tt({
810
- title: r,
813
+ function ot({
814
+ title: e,
811
815
  eyebrow: t,
812
816
  description: o,
813
- actions: a,
817
+ actions: i,
814
818
  level: n = 1,
815
819
  align: l = "left",
816
- image: u,
817
- imagePosition: f = "center"
820
+ accentRule: u = !1,
821
+ image: h,
822
+ imagePosition: c = "center"
818
823
  }) {
819
- const c = `h${n}`, i = l === "center", s = !!u;
820
- return /* @__PURE__ */ e(
821
- p,
824
+ const a = `h${n}`, p = l === "center", f = !!h;
825
+ return /* @__PURE__ */ r(
826
+ s,
822
827
  {
823
828
  component: "section",
824
- sx: (m) => {
825
- const g = m.vietri.color.scrim, v = m.vietri.gradient.surface, x = `linear-gradient(0deg, ${g} 0%, ${w(g, 0)} 18%)`, V = `url(${JSON.stringify(u ?? "")})`;
829
+ sx: (g) => {
830
+ const v = g.vietri.color.scrim, b = g.vietri.gradient.surface, G = `linear-gradient(0deg, ${v} 0%, ${y(v, 0)} 18%)`, U = `url(${JSON.stringify(h ?? "")})`;
826
831
  return {
827
832
  display: "flex",
828
833
  alignItems: "center",
829
834
  py: { xs: 6, md: 10 },
830
- ...s && { minHeight: { xs: 440, md: 600 } },
831
- color: m.vietri.color.onSurface,
832
- ...s ? {
835
+ ...f && { minHeight: { xs: 440, md: 600 } },
836
+ color: g.vietri.color.onSurface,
837
+ ...f ? {
833
838
  // Layers, from top to bottom: dark layer, bottom fade, photo, surface.
834
839
  backgroundImage: {
835
- xs: `linear-gradient(${w(g, 0.8)}, ${w(g, 0.8)}), ${x}, ${V}, ${v}`,
836
- md: `linear-gradient(90deg, ${w(g, 0.84)} 0%, ${w(g, 0.74)} 62%, ${w(g, 0.1)} 100%), ${x}, ${V}, ${v}`
840
+ xs: `linear-gradient(${y(v, 0.8)}, ${y(v, 0.8)}), ${G}, ${U}, ${b}`,
841
+ md: `linear-gradient(90deg, ${y(v, 0.84)} 0%, ${y(v, 0.74)} 62%, ${y(v, 0.1)} 100%), ${G}, ${U}, ${b}`
837
842
  },
838
843
  backgroundSize: "cover",
839
- backgroundPosition: f,
844
+ backgroundPosition: c,
840
845
  backgroundRepeat: "no-repeat"
841
- } : { background: v },
846
+ } : { background: b },
842
847
  // Focus ring and secondary buttons that stay visible on a dark surface.
843
848
  "& a:focus-visible, & button:focus-visible": {
844
849
  outline: "2px solid",
845
- outlineColor: m.vietri.color.onSurface,
850
+ outlineColor: g.vietri.color.onSurface,
846
851
  outlineOffset: 3
847
852
  },
848
853
  "& .MuiButton-outlined, & .MuiButton-text": {
849
854
  color: "inherit",
850
855
  borderColor: "currentColor"
856
+ },
857
+ // Over the photo the hover is a white veil, not the orange of the page.
858
+ "& .MuiButton-outlined:hover, & .MuiButton-text:hover": {
859
+ borderColor: "currentColor",
860
+ backgroundColor: y(g.vietri.color.onSurface, 0.14)
851
861
  }
852
862
  };
853
863
  },
854
- children: /* @__PURE__ */ e(j, { maxWidth: "lg", sx: { width: "100%" }, children: /* @__PURE__ */ d(
855
- b,
864
+ children: /* @__PURE__ */ r(j, { maxWidth: "lg", sx: { width: "100%" }, children: /* @__PURE__ */ d(
865
+ x,
856
866
  {
857
867
  spacing: 2,
858
868
  sx: {
859
- alignItems: i ? "center" : "flex-start",
869
+ alignItems: p ? "center" : "flex-start",
860
870
  textAlign: l,
861
871
  // With an image the text stays in the left 60%, where the dark layer is at its strongest.
862
- ...s && { maxWidth: { md: "60%" }, ...i && { mx: "auto" } }
872
+ ...f && { maxWidth: { md: "60%" }, ...p && { mx: "auto" } }
863
873
  },
864
874
  children: [
865
- t && /* @__PURE__ */ e(
866
- h,
875
+ t && /* @__PURE__ */ r(
876
+ m,
867
877
  {
868
878
  component: "p",
869
879
  variant: "overline",
870
- sx: (m) => ({ color: m.vietri.color.onSurfaceSoft }),
880
+ sx: (g) => ({ color: g.vietri.color.onSurfaceSoft }),
871
881
  children: t
872
882
  }
873
883
  ),
874
- /* @__PURE__ */ e(h, { component: c, variant: "h2", sx: { maxWidth: 900 }, children: r }),
875
- o && /* @__PURE__ */ e(
876
- h,
884
+ /* @__PURE__ */ r(
885
+ m,
886
+ {
887
+ component: a,
888
+ variant: "h2",
889
+ sx: { maxWidth: 900 },
890
+ children: e
891
+ }
892
+ ),
893
+ u && /* @__PURE__ */ r(
894
+ s,
895
+ {
896
+ "aria-hidden": "true",
897
+ sx: (g) => ({
898
+ width: 72,
899
+ height: 6,
900
+ borderRadius: 3,
901
+ bgcolor: g.vietri.color.accentLarge ?? g.palette.primary.main
902
+ })
903
+ }
904
+ ),
905
+ o && /* @__PURE__ */ r(
906
+ m,
877
907
  {
878
908
  variant: "body1",
879
- sx: (m) => ({
909
+ sx: (g) => ({
880
910
  maxWidth: 680,
881
- color: m.vietri.color.onSurfaceSoft
911
+ color: g.vietri.color.onSurfaceSoft
882
912
  }),
883
913
  children: o
884
914
  }
885
915
  ),
886
- a && /* @__PURE__ */ e(
887
- b,
916
+ i && /* @__PURE__ */ r(
917
+ x,
888
918
  {
889
919
  direction: "row",
890
920
  spacing: 2,
891
921
  useFlexGap: !0,
892
922
  flexWrap: "wrap",
893
- sx: { pt: 2, justifyContent: i ? "center" : "flex-start" },
894
- children: a
923
+ sx: { pt: 2, justifyContent: p ? "center" : "flex-start" },
924
+ children: i
895
925
  }
896
926
  )
897
927
  ]
@@ -900,17 +930,17 @@ function tt({
900
930
  }
901
931
  );
902
932
  }
903
- function ot({
904
- icon: r,
933
+ function it({
934
+ icon: e,
905
935
  title: t,
906
936
  description: o,
907
- level: a = 3,
937
+ level: i = 3,
908
938
  children: n
909
939
  }) {
910
- const l = `h${a}`;
911
- return /* @__PURE__ */ e(D, { sx: { height: "100%" }, children: /* @__PURE__ */ d(A, { children: [
912
- /* @__PURE__ */ e(
913
- p,
940
+ const l = `h${i}`;
941
+ return /* @__PURE__ */ r(A, { sx: { height: "100%" }, children: /* @__PURE__ */ d(E, { children: [
942
+ /* @__PURE__ */ r(
943
+ s,
914
944
  {
915
945
  sx: (u) => ({
916
946
  display: "grid",
@@ -922,18 +952,18 @@ function ot({
922
952
  bgcolor: u.vietri.color.chip,
923
953
  color: u.palette.primary.main
924
954
  }),
925
- children: /* @__PURE__ */ e(C, { icon: r, size: 22 })
955
+ children: /* @__PURE__ */ r(S, { icon: e, size: 22 })
926
956
  }
927
957
  ),
928
- /* @__PURE__ */ e(h, { component: l, variant: "h6", gutterBottom: !0, children: t }),
929
- o && /* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", children: o }),
930
- n && /* @__PURE__ */ e(p, { sx: { mt: 2 }, children: n })
958
+ /* @__PURE__ */ r(m, { component: l, variant: "h6", gutterBottom: !0, children: t }),
959
+ o && /* @__PURE__ */ r(m, { variant: "body2", color: "text.secondary", children: o }),
960
+ n && /* @__PURE__ */ r(s, { sx: { mt: 2 }, children: n })
931
961
  ] }) });
932
962
  }
933
- function it({ steps: r, level: t = 3, ariaLabel: o }) {
934
- const a = `h${t}`;
935
- return /* @__PURE__ */ e(
936
- p,
963
+ function nt({ steps: e, level: t = 3, ariaLabel: o }) {
964
+ const i = `h${t}`;
965
+ return /* @__PURE__ */ r(
966
+ s,
937
967
  {
938
968
  component: "ol",
939
969
  role: "list",
@@ -946,12 +976,12 @@ function it({ steps: r, level: t = 3, ariaLabel: o }) {
946
976
  gap: 3,
947
977
  gridTemplateColumns: {
948
978
  xs: "1fr",
949
- md: `repeat(${Math.max(r.length, 1)}, minmax(0, 1fr))`
979
+ md: `repeat(${Math.max(e.length, 1)}, minmax(0, 1fr))`
950
980
  }
951
981
  },
952
- children: r.map((n, l) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ d(b, { spacing: 1, children: [
953
- /* @__PURE__ */ e(
954
- p,
982
+ children: e.map((n, l) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ d(x, { spacing: 1, children: [
983
+ /* @__PURE__ */ r(
984
+ s,
955
985
  {
956
986
  "aria-hidden": "true",
957
987
  sx: (u) => ({
@@ -967,23 +997,23 @@ function it({ steps: r, level: t = 3, ariaLabel: o }) {
967
997
  children: l + 1
968
998
  }
969
999
  ),
970
- /* @__PURE__ */ e(h, { component: a, variant: "h6", children: n.title }),
971
- n.description && /* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", children: n.description })
1000
+ /* @__PURE__ */ r(m, { component: i, variant: "h6", children: n.title }),
1001
+ n.description && /* @__PURE__ */ r(m, { variant: "body2", color: "text.secondary", children: n.description })
972
1002
  ] }) }, n.title))
973
1003
  }
974
1004
  );
975
1005
  }
976
- function nt({ entries: r, level: t = 3, ariaLabel: o }) {
977
- const a = `h${t}`;
978
- return /* @__PURE__ */ e(
979
- p,
1006
+ function at({ entries: e, level: t = 3, ariaLabel: o }) {
1007
+ const i = `h${t}`;
1008
+ return /* @__PURE__ */ r(
1009
+ s,
980
1010
  {
981
1011
  component: "ol",
982
1012
  role: "list",
983
1013
  "aria-label": o,
984
1014
  sx: { listStyle: "none", m: 0, p: 0 },
985
- children: r.map((n) => /* @__PURE__ */ d(
986
- p,
1015
+ children: e.map((n) => /* @__PURE__ */ d(
1016
+ s,
987
1017
  {
988
1018
  component: "li",
989
1019
  id: n.id,
@@ -1006,8 +1036,8 @@ function nt({ entries: r, level: t = 3, ariaLabel: o }) {
1006
1036
  "&:last-of-type::before": { display: "none" }
1007
1037
  }),
1008
1038
  children: [
1009
- /* @__PURE__ */ e(
1010
- p,
1039
+ /* @__PURE__ */ r(
1040
+ s,
1011
1041
  {
1012
1042
  "aria-hidden": "true",
1013
1043
  sx: (l) => ({
@@ -1023,9 +1053,9 @@ function nt({ entries: r, level: t = 3, ariaLabel: o }) {
1023
1053
  })
1024
1054
  }
1025
1055
  ),
1026
- /* @__PURE__ */ e(h, { component: a, variant: "h5", children: n.label }),
1027
- n.description && /* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", sx: { mt: 0.5 }, children: n.description }),
1028
- n.content && /* @__PURE__ */ e(p, { sx: { mt: 2 }, children: n.content })
1056
+ /* @__PURE__ */ r(m, { component: i, variant: "h5", children: n.label }),
1057
+ n.description && /* @__PURE__ */ r(m, { variant: "body2", color: "text.secondary", sx: { mt: 0.5 }, children: n.description }),
1058
+ n.content && /* @__PURE__ */ r(s, { sx: { mt: 2 }, children: n.content })
1029
1059
  ]
1030
1060
  },
1031
1061
  n.id
@@ -1033,7 +1063,7 @@ function nt({ entries: r, level: t = 3, ariaLabel: o }) {
1033
1063
  }
1034
1064
  );
1035
1065
  }
1036
- const X = {
1066
+ const Y = {
1037
1067
  position: "static",
1038
1068
  color: "inherit",
1039
1069
  font: "inherit",
@@ -1045,56 +1075,56 @@ const X = {
1045
1075
  inset: 0
1046
1076
  }
1047
1077
  };
1048
- function at({
1049
- name: r,
1078
+ function lt({
1079
+ name: e,
1050
1080
  subtitle: t,
1051
1081
  bio: o,
1052
- tags: a = [],
1082
+ tags: i = [],
1053
1083
  href: n,
1054
1084
  onClick: l,
1055
1085
  level: u = 3,
1056
- bioLines: f = 3
1086
+ bioLines: h = 3
1057
1087
  }) {
1058
- const c = `h${u}`, i = !!(n || l);
1059
- return /* @__PURE__ */ e(
1060
- D,
1088
+ const c = `h${u}`, a = !!(n || l);
1089
+ return /* @__PURE__ */ r(
1090
+ A,
1061
1091
  {
1062
- sx: (m) => ({
1092
+ sx: (f) => ({
1063
1093
  position: "relative",
1064
1094
  height: "100%",
1065
- ...i && { "&:hover": { borderColor: m.palette.primary.main } },
1095
+ ...a && { "&:hover": { borderColor: f.palette.primary.main } },
1066
1096
  // One focus ring for the whole card, instead of one around the name.
1067
1097
  "&:has(:focus-visible)": {
1068
- outline: `2px solid ${m.palette.primary.main}`,
1098
+ outline: `2px solid ${f.palette.primary.main}`,
1069
1099
  outlineOffset: 2
1070
1100
  },
1071
1101
  "& a:focus-visible, & button:focus-visible": { outline: "none" }
1072
1102
  }),
1073
- children: /* @__PURE__ */ d(A, { children: [
1074
- /* @__PURE__ */ e(h, { component: c, variant: "h6", children: n ? /* @__PURE__ */ e(S, { href: n, underline: "none", sx: X, children: r }) : l ? /* @__PURE__ */ e(S, { component: "button", type: "button", onClick: l, underline: "none", sx: X, children: r }) : r }),
1075
- t && /* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", children: t }),
1076
- o && /* @__PURE__ */ e(
1077
- h,
1103
+ children: /* @__PURE__ */ d(E, { children: [
1104
+ /* @__PURE__ */ r(m, { component: c, variant: "h6", children: n ? /* @__PURE__ */ r(w, { href: n, underline: "none", sx: Y, children: e }) : l ? /* @__PURE__ */ r(w, { component: "button", type: "button", onClick: l, underline: "none", sx: Y, children: e }) : e }),
1105
+ t && /* @__PURE__ */ r(m, { variant: "body2", color: "text.secondary", children: t }),
1106
+ o && /* @__PURE__ */ r(
1107
+ m,
1078
1108
  {
1079
1109
  variant: "body2",
1080
1110
  sx: {
1081
1111
  mt: 1,
1082
1112
  display: "-webkit-box",
1083
- WebkitLineClamp: f,
1113
+ WebkitLineClamp: h,
1084
1114
  WebkitBoxOrient: "vertical",
1085
1115
  overflow: "hidden"
1086
1116
  },
1087
1117
  children: o
1088
1118
  }
1089
1119
  ),
1090
- a.length > 0 && /* @__PURE__ */ e(b, { direction: "row", spacing: 1, useFlexGap: !0, flexWrap: "wrap", sx: { mt: 2 }, children: a.map(
1091
- (m) => m.color ? /* @__PURE__ */ e(_e, { label: m.label, color: m.color }, m.label) : /* @__PURE__ */ e(Y, { label: m.label, size: "small" }, m.label)
1120
+ i.length > 0 && /* @__PURE__ */ r(x, { direction: "row", spacing: 1, useFlexGap: !0, flexWrap: "wrap", sx: { mt: 2 }, children: i.map(
1121
+ (f) => f.color ? /* @__PURE__ */ r(Xe, { label: f.label, color: f.color }, f.label) : /* @__PURE__ */ r(q, { label: f.label, size: "small" }, f.label)
1092
1122
  ) })
1093
1123
  ] })
1094
1124
  }
1095
1125
  );
1096
1126
  }
1097
- const W = {
1127
+ const M = {
1098
1128
  position: "static",
1099
1129
  color: "inherit",
1100
1130
  font: "inherit",
@@ -1105,31 +1135,31 @@ const W = {
1105
1135
  position: "absolute",
1106
1136
  inset: 0
1107
1137
  }
1108
- }, Xe = (r) => ({
1138
+ }, Ye = (e) => ({
1109
1139
  "&:has(:focus-visible)": {
1110
- outline: `2px solid ${r.palette.primary.main}`,
1140
+ outline: `2px solid ${e.palette.primary.main}`,
1111
1141
  outlineOffset: 2
1112
1142
  },
1113
1143
  "& a:focus-visible, & button:focus-visible": { outline: "none" }
1114
1144
  });
1115
- function lt({
1116
- title: r,
1145
+ function ct({
1146
+ title: e,
1117
1147
  subtitle: t,
1118
1148
  meta: o,
1119
- imageUrl: a,
1149
+ imageUrl: i,
1120
1150
  duration: n,
1121
1151
  badge: l,
1122
1152
  href: u,
1123
- onClick: f,
1153
+ onClick: h,
1124
1154
  level: c = 3,
1125
- playIcon: i = !0,
1126
- aspectRatio: s = "16 / 9"
1155
+ playIcon: a = !0,
1156
+ aspectRatio: p = "16 / 9"
1127
1157
  }) {
1128
- const m = `h${c}`, g = !!(u || f);
1158
+ const f = `h${c}`, g = !!(u || h);
1129
1159
  return /* @__PURE__ */ d(
1130
- D,
1160
+ A,
1131
1161
  {
1132
- sx: (x) => ({
1162
+ sx: (b) => ({
1133
1163
  position: "relative",
1134
1164
  height: "100%",
1135
1165
  overflow: "hidden",
@@ -1137,30 +1167,30 @@ function lt({
1137
1167
  ...g && {
1138
1168
  "&:hover": {
1139
1169
  transform: "scale(1.03)",
1140
- boxShadow: x.vietri.shadow.lg,
1141
- borderColor: x.palette.primary.main
1170
+ boxShadow: b.vietri.shadow.lg,
1171
+ borderColor: b.palette.primary.main
1142
1172
  },
1143
1173
  "&:hover .media-card-image": { transform: "scale(1.06)" }
1144
1174
  },
1145
- ...Xe(x)
1175
+ ...Ye(b)
1146
1176
  }),
1147
1177
  children: [
1148
1178
  /* @__PURE__ */ d(
1149
- p,
1179
+ s,
1150
1180
  {
1151
- sx: (x) => ({
1181
+ sx: (b) => ({
1152
1182
  position: "relative",
1153
- aspectRatio: s,
1183
+ aspectRatio: p,
1154
1184
  overflow: "hidden",
1155
- bgcolor: x.vietri.color.chip
1185
+ bgcolor: b.vietri.color.chip
1156
1186
  }),
1157
1187
  children: [
1158
- a && /* @__PURE__ */ e(
1159
- p,
1188
+ i && /* @__PURE__ */ r(
1189
+ s,
1160
1190
  {
1161
1191
  component: "img",
1162
1192
  className: "media-card-image",
1163
- src: a,
1193
+ src: i,
1164
1194
  alt: "",
1165
1195
  loading: "lazy",
1166
1196
  sx: {
@@ -1172,8 +1202,8 @@ function lt({
1172
1202
  }
1173
1203
  }
1174
1204
  ),
1175
- i && /* @__PURE__ */ e(
1176
- p,
1205
+ a && /* @__PURE__ */ r(
1206
+ s,
1177
1207
  {
1178
1208
  "aria-hidden": "true",
1179
1209
  sx: {
@@ -1189,13 +1219,13 @@ function lt({
1189
1219
  bgcolor: "rgba(0, 0, 0, 0.8)",
1190
1220
  color: "#FFFFFF"
1191
1221
  },
1192
- children: /* @__PURE__ */ e(C, { icon: P, size: 22 })
1222
+ children: /* @__PURE__ */ r(S, { icon: L, size: 22 })
1193
1223
  }
1194
1224
  ),
1195
- l && /* @__PURE__ */ e(
1196
- p,
1225
+ l && /* @__PURE__ */ r(
1226
+ s,
1197
1227
  {
1198
- sx: (x) => ({
1228
+ sx: (b) => ({
1199
1229
  position: "absolute",
1200
1230
  top: 8,
1201
1231
  left: 8,
@@ -1204,14 +1234,14 @@ function lt({
1204
1234
  borderRadius: 1,
1205
1235
  fontSize: "0.75rem",
1206
1236
  fontWeight: 600,
1207
- bgcolor: x.vietri.color.action[0],
1208
- color: x.vietri.color.onAction
1237
+ bgcolor: b.vietri.color.action[0],
1238
+ color: b.vietri.color.onAction
1209
1239
  }),
1210
1240
  children: l
1211
1241
  }
1212
1242
  ),
1213
- n && /* @__PURE__ */ e(
1214
- p,
1243
+ n && /* @__PURE__ */ r(
1244
+ s,
1215
1245
  {
1216
1246
  sx: {
1217
1247
  position: "absolute",
@@ -1231,56 +1261,56 @@ function lt({
1231
1261
  ]
1232
1262
  }
1233
1263
  ),
1234
- /* @__PURE__ */ d(A, { children: [
1235
- o && /* @__PURE__ */ e(h, { component: "p", variant: "overline", color: "text.secondary", children: o }),
1236
- /* @__PURE__ */ e(h, { component: m, variant: "h6", children: u ? /* @__PURE__ */ e(S, { href: u, underline: "none", sx: W, children: r }) : f ? /* @__PURE__ */ e(S, { component: "button", type: "button", onClick: f, underline: "none", sx: W, children: r }) : r }),
1237
- t && /* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", children: t })
1264
+ /* @__PURE__ */ d(E, { children: [
1265
+ o && /* @__PURE__ */ r(m, { component: "p", variant: "overline", color: "text.secondary", children: o }),
1266
+ /* @__PURE__ */ r(m, { component: f, variant: "h6", children: u ? /* @__PURE__ */ r(w, { href: u, underline: "none", sx: M, children: e }) : h ? /* @__PURE__ */ r(w, { component: "button", type: "button", onClick: h, underline: "none", sx: M, children: e }) : e }),
1267
+ t && /* @__PURE__ */ r(m, { variant: "body2", color: "text.secondary", children: t })
1238
1268
  ] })
1239
1269
  ]
1240
1270
  }
1241
1271
  );
1242
1272
  }
1243
- function ct({
1244
- title: r,
1273
+ function dt({
1274
+ title: e,
1245
1275
  children: t,
1246
1276
  level: o = 2,
1247
- itemWidth: a = 280,
1277
+ itemWidth: i = 280,
1248
1278
  previousLabel: n = "Scroll left",
1249
1279
  nextLabel: l = "Scroll right",
1250
1280
  action: u
1251
1281
  }) {
1252
- const f = `h${o}`, c = I(), i = E(null), s = ne.toArray(t);
1253
- function m(g) {
1254
- const v = i.current;
1282
+ const h = `h${o}`, c = I(), a = W(null), p = ae.toArray(t);
1283
+ function f(g) {
1284
+ const v = a.current;
1255
1285
  if (!v) return;
1256
- const x = typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
1286
+ const b = typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
1257
1287
  v.scrollBy?.({
1258
1288
  left: g * v.clientWidth * 0.8,
1259
- behavior: x ? "auto" : "smooth"
1289
+ behavior: b ? "auto" : "smooth"
1260
1290
  });
1261
1291
  }
1262
- return /* @__PURE__ */ d(p, { component: "section", "aria-labelledby": c, sx: { mb: 4 }, children: [
1292
+ return /* @__PURE__ */ d(s, { component: "section", "aria-labelledby": c, sx: { mb: 4 }, children: [
1263
1293
  /* @__PURE__ */ d(
1264
- b,
1294
+ x,
1265
1295
  {
1266
1296
  direction: "row",
1267
1297
  justifyContent: "space-between",
1268
1298
  alignItems: "center",
1269
1299
  sx: { mb: 2 },
1270
1300
  children: [
1271
- /* @__PURE__ */ e(h, { id: c, component: f, variant: "h5", children: r }),
1272
- /* @__PURE__ */ d(b, { direction: "row", spacing: 1, alignItems: "center", children: [
1301
+ /* @__PURE__ */ r(m, { id: c, component: h, variant: "h5", children: e }),
1302
+ /* @__PURE__ */ d(x, { direction: "row", spacing: 1, alignItems: "center", children: [
1273
1303
  u,
1274
- /* @__PURE__ */ e(k, { color: "primary", "aria-label": n, onClick: () => m(-1), children: /* @__PURE__ */ e(C, { icon: Q }) }),
1275
- /* @__PURE__ */ e(k, { color: "primary", "aria-label": l, onClick: () => m(1), children: /* @__PURE__ */ e(C, { icon: K }) })
1304
+ /* @__PURE__ */ r(D, { color: "primary", "aria-label": n, onClick: () => f(-1), children: /* @__PURE__ */ r(S, { icon: K }) }),
1305
+ /* @__PURE__ */ r(D, { color: "primary", "aria-label": l, onClick: () => f(1), children: /* @__PURE__ */ r(S, { icon: Z }) })
1276
1306
  ] })
1277
1307
  ]
1278
1308
  }
1279
1309
  ),
1280
- /* @__PURE__ */ e(
1281
- p,
1310
+ /* @__PURE__ */ r(
1311
+ s,
1282
1312
  {
1283
- ref: i,
1313
+ ref: a,
1284
1314
  tabIndex: 0,
1285
1315
  sx: (g) => ({
1286
1316
  overflowX: "auto",
@@ -1288,15 +1318,15 @@ function ct({
1288
1318
  pt: 1.5,
1289
1319
  pb: 2,
1290
1320
  scrollSnapType: "x proximity",
1291
- // A thin scrollbar in the theme's text color, instead of the heavy one of
1292
- // the system. Still visible (it uses the secondary text color), so people
1321
+ // A thin scrollbar in the theme's primary color, instead of the heavy one of
1322
+ // the system. Still visible (it reads against the page), so people
1293
1323
  // who scroll with a mouse can see there is more to the right.
1294
1324
  scrollbarWidth: "thin",
1295
- scrollbarColor: `${g.palette.text.secondary} transparent`,
1325
+ scrollbarColor: `${g.palette.primary.main} transparent`,
1296
1326
  "&::-webkit-scrollbar": { height: 8 },
1297
1327
  "&::-webkit-scrollbar-track": { backgroundColor: "transparent" },
1298
1328
  "&::-webkit-scrollbar-thumb": {
1299
- backgroundColor: g.palette.text.secondary,
1329
+ backgroundColor: g.palette.primary.main,
1300
1330
  borderRadius: 4
1301
1331
  },
1302
1332
  "&:focus-visible": {
@@ -1304,17 +1334,17 @@ function ct({
1304
1334
  outlineOffset: 2
1305
1335
  }
1306
1336
  }),
1307
- children: /* @__PURE__ */ e(
1308
- p,
1337
+ children: /* @__PURE__ */ r(
1338
+ s,
1309
1339
  {
1310
1340
  component: "ul",
1311
1341
  role: "list",
1312
1342
  sx: { listStyle: "none", m: 0, p: 0, display: "flex", gap: 2 },
1313
- children: s.map((g, v) => /* @__PURE__ */ e(
1314
- p,
1343
+ children: p.map((g, v) => /* @__PURE__ */ r(
1344
+ s,
1315
1345
  {
1316
1346
  component: "li",
1317
- sx: { flex: `0 0 ${a}px`, scrollSnapAlign: "start" },
1347
+ sx: { flex: `0 0 ${i}px`, scrollSnapAlign: "start" },
1318
1348
  children: g
1319
1349
  },
1320
1350
  v
@@ -1325,23 +1355,23 @@ function ct({
1325
1355
  )
1326
1356
  ] });
1327
1357
  }
1328
- function Ye(r, t, o) {
1329
- const a = new URLSearchParams({ rel: "0", modestbranding: "1" });
1330
- return t && a.set("start", String(Math.floor(t))), o && a.set("autoplay", "1"), `https://www.youtube-nocookie.com/embed/${encodeURIComponent(r)}?${a.toString()}`;
1358
+ function qe(e, t, o) {
1359
+ const i = new URLSearchParams({ rel: "0", modestbranding: "1" });
1360
+ return t && i.set("start", String(Math.floor(t))), o && i.set("autoplay", "1"), `https://www.youtube-nocookie.com/embed/${encodeURIComponent(e)}?${i.toString()}`;
1331
1361
  }
1332
- function dt({
1333
- videoId: r,
1362
+ function st({
1363
+ videoId: e,
1334
1364
  title: t,
1335
1365
  poster: o,
1336
- start: a,
1366
+ start: i,
1337
1367
  lazy: n = !0,
1338
1368
  playLabel: l
1339
1369
  }) {
1340
- const [u, f] = M(!n), c = E(!1), i = E(null);
1341
- return q(() => {
1342
- u && c.current && i.current?.focus();
1343
- }, [u]), /* @__PURE__ */ e(
1344
- p,
1370
+ const [u, h] = $(!n), c = W(!1), a = W(null);
1371
+ return J(() => {
1372
+ u && c.current && a.current?.focus();
1373
+ }, [u]), /* @__PURE__ */ r(
1374
+ s,
1345
1375
  {
1346
1376
  sx: {
1347
1377
  position: "relative",
@@ -1351,11 +1381,11 @@ function dt({
1351
1381
  borderRadius: 2,
1352
1382
  bgcolor: "#000000"
1353
1383
  },
1354
- children: u ? /* @__PURE__ */ e(
1384
+ children: u ? /* @__PURE__ */ r(
1355
1385
  "iframe",
1356
1386
  {
1357
- ref: i,
1358
- src: Ye(r, a, c.current),
1387
+ ref: a,
1388
+ src: qe(e, i, c.current),
1359
1389
  title: t,
1360
1390
  allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",
1361
1391
  allowFullScreen: !0,
@@ -1368,7 +1398,7 @@ function dt({
1368
1398
  {
1369
1399
  "aria-label": l ?? `Play video: ${t}`,
1370
1400
  onClick: () => {
1371
- c.current = !0, f(!0);
1401
+ c.current = !0, h(!0);
1372
1402
  },
1373
1403
  sx: {
1374
1404
  position: "absolute",
@@ -1381,8 +1411,8 @@ function dt({
1381
1411
  }
1382
1412
  },
1383
1413
  children: [
1384
- o && /* @__PURE__ */ e(
1385
- p,
1414
+ o && /* @__PURE__ */ r(
1415
+ s,
1386
1416
  {
1387
1417
  component: "img",
1388
1418
  src: o,
@@ -1391,8 +1421,8 @@ function dt({
1391
1421
  sx: { position: "absolute", inset: 0, width: "100%", height: "100%", objectFit: "cover" }
1392
1422
  }
1393
1423
  ),
1394
- /* @__PURE__ */ e(
1395
- p,
1424
+ /* @__PURE__ */ r(
1425
+ s,
1396
1426
  {
1397
1427
  "aria-hidden": "true",
1398
1428
  sx: {
@@ -1405,7 +1435,7 @@ function dt({
1405
1435
  bgcolor: "rgba(0, 0, 0, 0.8)",
1406
1436
  color: "#FFFFFF"
1407
1437
  },
1408
- children: /* @__PURE__ */ e(C, { icon: P, size: 32 })
1438
+ children: /* @__PURE__ */ r(S, { icon: L, size: 32 })
1409
1439
  }
1410
1440
  )
1411
1441
  ]
@@ -1414,54 +1444,54 @@ function dt({
1414
1444
  }
1415
1445
  );
1416
1446
  }
1417
- const qe = (r) => ({
1447
+ const Je = (e) => ({
1418
1448
  "&:has(:focus-visible)": {
1419
- outline: `2px solid ${r.palette.primary.main}`,
1449
+ outline: `2px solid ${e.palette.primary.main}`,
1420
1450
  outlineOffset: -2
1421
1451
  },
1422
1452
  "& a:focus-visible, & button:focus-visible": { outline: "none" }
1423
1453
  });
1424
- function st({
1425
- episodes: r,
1454
+ function pt({
1455
+ episodes: e,
1426
1456
  currentId: t,
1427
1457
  onSelect: o,
1428
- level: a = 3,
1458
+ level: i = 3,
1429
1459
  ariaLabel: n,
1430
- episodeLabel: l = (f) => `Episode ${f}`,
1460
+ episodeLabel: l = (h) => `Episode ${h}`,
1431
1461
  currentLabel: u = "Now playing"
1432
1462
  }) {
1433
- const f = `h${a}`;
1434
- return /* @__PURE__ */ e(
1435
- p,
1463
+ const h = `h${i}`;
1464
+ return /* @__PURE__ */ r(
1465
+ s,
1436
1466
  {
1437
1467
  component: "ol",
1438
1468
  role: "list",
1439
1469
  "aria-label": n,
1440
1470
  sx: { listStyle: "none", m: 0, p: 0 },
1441
- children: r.map((c) => {
1442
- const i = c.id === t, s = !!(o || c.href), m = o ? /* @__PURE__ */ e(
1443
- S,
1471
+ children: e.map((c) => {
1472
+ const a = c.id === t, p = !!(o || c.href), f = o ? /* @__PURE__ */ r(
1473
+ w,
1444
1474
  {
1445
1475
  component: "button",
1446
1476
  type: "button",
1447
1477
  onClick: () => o(c.id),
1448
- "aria-current": i ? "true" : void 0,
1478
+ "aria-current": a ? "true" : void 0,
1449
1479
  underline: "none",
1450
- sx: W,
1480
+ sx: M,
1451
1481
  children: c.title
1452
1482
  }
1453
- ) : c.href ? /* @__PURE__ */ e(
1454
- S,
1483
+ ) : c.href ? /* @__PURE__ */ r(
1484
+ w,
1455
1485
  {
1456
1486
  href: c.href,
1457
- "aria-current": i ? "true" : void 0,
1487
+ "aria-current": a ? "true" : void 0,
1458
1488
  underline: "none",
1459
- sx: W,
1489
+ sx: M,
1460
1490
  children: c.title
1461
1491
  }
1462
1492
  ) : c.title;
1463
1493
  return /* @__PURE__ */ d(
1464
- p,
1494
+ s,
1465
1495
  {
1466
1496
  component: "li",
1467
1497
  sx: (g) => ({
@@ -1472,13 +1502,13 @@ function st({
1472
1502
  borderBottom: 1,
1473
1503
  borderColor: "divider",
1474
1504
  borderLeft: 4,
1475
- borderLeftColor: i ? g.palette.primary.main : "transparent",
1476
- ...s && { "&:hover": { bgcolor: g.palette.action.hover } },
1477
- ...qe(g)
1505
+ borderLeftColor: a ? g.palette.primary.main : "transparent",
1506
+ ...p && { "&:hover": { bgcolor: g.palette.action.hover } },
1507
+ ...Je(g)
1478
1508
  }),
1479
1509
  children: [
1480
- c.imageUrl && /* @__PURE__ */ e(
1481
- p,
1510
+ c.imageUrl && /* @__PURE__ */ r(
1511
+ s,
1482
1512
  {
1483
1513
  component: "img",
1484
1514
  src: c.imageUrl,
@@ -1493,15 +1523,15 @@ function st({
1493
1523
  }
1494
1524
  }
1495
1525
  ),
1496
- /* @__PURE__ */ d(p, { sx: { minWidth: 0 }, children: [
1497
- /* @__PURE__ */ d(h, { component: "p", variant: "overline", color: "text.secondary", children: [
1526
+ /* @__PURE__ */ d(s, { sx: { minWidth: 0 }, children: [
1527
+ /* @__PURE__ */ d(m, { component: "p", variant: "overline", color: "text.secondary", children: [
1498
1528
  l(c.number),
1499
- i && ` · ${u}`
1529
+ a && ` · ${u}`
1500
1530
  ] }),
1501
- /* @__PURE__ */ e(h, { component: f, variant: "h6", children: m }),
1502
- c.meta && /* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", children: c.meta }),
1503
- c.description && /* @__PURE__ */ e(
1504
- h,
1531
+ /* @__PURE__ */ r(m, { component: h, variant: "h6", children: f }),
1532
+ c.meta && /* @__PURE__ */ r(m, { variant: "body2", color: "text.secondary", children: c.meta }),
1533
+ c.description && /* @__PURE__ */ r(
1534
+ m,
1505
1535
  {
1506
1536
  variant: "body2",
1507
1537
  sx: {
@@ -1523,19 +1553,19 @@ function st({
1523
1553
  }
1524
1554
  );
1525
1555
  }
1526
- function pt({
1527
- title: r,
1556
+ function ut({
1557
+ title: e,
1528
1558
  description: t,
1529
1559
  imageUrl: o,
1530
- platforms: a,
1560
+ platforms: i,
1531
1561
  level: n = 3,
1532
1562
  platformsLabel: l = "Listen on",
1533
1563
  externalLabel: u = "(opens in a new tab)"
1534
1564
  }) {
1535
- const f = `h${n}`;
1536
- return /* @__PURE__ */ d(D, { sx: { height: "100%" }, children: [
1537
- /* @__PURE__ */ e(
1538
- p,
1565
+ const h = `h${n}`;
1566
+ return /* @__PURE__ */ d(A, { sx: { height: "100%" }, children: [
1567
+ /* @__PURE__ */ r(
1568
+ s,
1539
1569
  {
1540
1570
  sx: (c) => ({
1541
1571
  aspectRatio: "1 / 1",
@@ -1544,8 +1574,8 @@ function pt({
1544
1574
  bgcolor: c.vietri.color.chip,
1545
1575
  color: c.palette.text.secondary
1546
1576
  }),
1547
- children: o ? /* @__PURE__ */ e(
1548
- p,
1577
+ children: o ? /* @__PURE__ */ r(
1578
+ s,
1549
1579
  {
1550
1580
  component: "img",
1551
1581
  src: o,
@@ -1553,14 +1583,14 @@ function pt({
1553
1583
  loading: "lazy",
1554
1584
  sx: { display: "block", width: "100%", height: "100%", objectFit: "cover" }
1555
1585
  }
1556
- ) : /* @__PURE__ */ e(C, { icon: ee, size: 48 })
1586
+ ) : /* @__PURE__ */ r(S, { icon: re, size: 48 })
1557
1587
  }
1558
1588
  ),
1559
- /* @__PURE__ */ d(A, { children: [
1560
- /* @__PURE__ */ e(h, { component: f, variant: "h6", gutterBottom: !0, children: r }),
1561
- t && /* @__PURE__ */ e(h, { variant: "body2", color: "text.secondary", children: t }),
1562
- a.length > 0 && /* @__PURE__ */ e(
1563
- b,
1589
+ /* @__PURE__ */ d(E, { children: [
1590
+ /* @__PURE__ */ r(m, { component: h, variant: "h6", gutterBottom: !0, children: e }),
1591
+ t && /* @__PURE__ */ r(m, { variant: "body2", color: "text.secondary", children: t }),
1592
+ i.length > 0 && /* @__PURE__ */ r(
1593
+ x,
1564
1594
  {
1565
1595
  component: "ul",
1566
1596
  role: "list",
@@ -1570,21 +1600,21 @@ function pt({
1570
1600
  useFlexGap: !0,
1571
1601
  flexWrap: "wrap",
1572
1602
  sx: { listStyle: "none", m: 0, mt: 2, p: 0 },
1573
- children: a.map((c) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ d(
1574
- R,
1603
+ children: i.map((c) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ d(
1604
+ O,
1575
1605
  {
1576
1606
  variant: "outlined",
1577
1607
  size: "small",
1578
1608
  href: c.href,
1579
1609
  target: "_blank",
1580
1610
  rel: "noopener noreferrer",
1581
- endIcon: /* @__PURE__ */ e(C, { icon: H, size: 14 }),
1611
+ endIcon: /* @__PURE__ */ r(S, { icon: H, size: 14 }),
1582
1612
  children: [
1583
1613
  c.name,
1584
- /* @__PURE__ */ d(N, { children: [
1614
+ /* @__PURE__ */ d(V, { children: [
1585
1615
  " ",
1586
1616
  "– ",
1587
- r,
1617
+ e,
1588
1618
  " ",
1589
1619
  u
1590
1620
  ] })
@@ -1596,17 +1626,23 @@ function pt({
1596
1626
  ] })
1597
1627
  ] });
1598
1628
  }
1599
- function z(r, t, o = 135) {
1600
- return `linear-gradient(${o}deg, ${r} 0%, ${t} 100%)`;
1629
+ function k(e, t, o = 135, i) {
1630
+ const n = i ? `, ${i} 60%` : "";
1631
+ return `linear-gradient(${o}deg, ${e} 0%${n}, ${t} 100%)`;
1601
1632
  }
1602
- function Je(r) {
1633
+ function Qe(e) {
1603
1634
  return {
1604
- surface: z(...r.surface),
1605
- action: z(...r.action),
1606
- actionHover: z(...r.actionHover)
1635
+ surface: k(
1636
+ e.surface[0],
1637
+ e.surface[1],
1638
+ e.surfaceAngle ?? 135,
1639
+ e.surfaceMid
1640
+ ),
1641
+ action: k(...e.action),
1642
+ actionHover: k(...e.actionHover)
1607
1643
  };
1608
1644
  }
1609
- const y = {
1645
+ const C = {
1610
1646
  spacing: 8,
1611
1647
  radius: {
1612
1648
  sm: 4,
@@ -1633,7 +1669,7 @@ const y = {
1633
1669
  lg: 1200,
1634
1670
  xl: 1536
1635
1671
  }
1636
- }, Qe = {
1672
+ }, Ke = {
1637
1673
  // Respects the system "reduce motion" preference (WCAG 2.3.3).
1638
1674
  MuiCssBaseline: {
1639
1675
  styleOverrides: `
@@ -1650,52 +1686,71 @@ const y = {
1650
1686
  MuiButton: {
1651
1687
  defaultProps: { disableElevation: !0 },
1652
1688
  styleOverrides: {
1653
- root: ({ theme: r, ownerState: t }) => {
1654
- const o = t.variant === "outlined" ? 1 : 0;
1689
+ root: ({ theme: e, ownerState: t }) => {
1690
+ const o = t.variant === "outlined" ? 1 : 0, i = !!e.vietri.color.accentLarge;
1655
1691
  return {
1656
- borderRadius: y.radius.md,
1692
+ borderRadius: C.radius.md,
1657
1693
  // A generous "large" button, for the main action of a banner.
1658
1694
  ...t.size === "large" && {
1659
1695
  minHeight: 52,
1660
1696
  padding: `${12 - o}px ${32 - o}px`,
1661
- fontSize: "1rem"
1697
+ fontSize: i ? "1.2rem" : "1rem",
1698
+ ...i && { fontWeight: 700 }
1662
1699
  },
1663
1700
  "&:focus-visible": {
1664
- outline: `2px solid ${r.palette.primary.main}`,
1701
+ outline: `2px solid ${e.palette.primary.main}`,
1665
1702
  outlineOffset: 2
1666
1703
  }
1667
1704
  };
1668
1705
  },
1706
+ // Outlined buttons: a neutral line (lilac in the Streaming theme) with the text color,
1707
+ // so they do not compete with the orange action. Hover and focus bring the primary color.
1708
+ outlinedPrimary: ({ theme: e }) => {
1709
+ const t = e.vietri.color.outline;
1710
+ return t ? {
1711
+ borderColor: t,
1712
+ color: e.palette.text.primary,
1713
+ "&:hover": {
1714
+ borderColor: e.palette.primary.main,
1715
+ backgroundColor: y(e.palette.primary.main, 0.14)
1716
+ }
1717
+ } : {};
1718
+ },
1669
1719
  // Primary action fill. Flat in most themes, a soft gradient in the
1670
1720
  // Observatory. The text color meets AA at both ends of the fill.
1671
- containedPrimary: ({ theme: r }) => ({
1672
- color: r.vietri.color.onAction,
1673
- backgroundImage: r.vietri.gradient.action,
1674
- "&:hover": { backgroundImage: r.vietri.gradient.actionHover },
1675
- "&.Mui-disabled": {
1676
- backgroundImage: "none",
1677
- color: r.palette.action.disabled
1678
- }
1679
- })
1721
+ containedPrimary: ({ theme: e, ownerState: t }) => {
1722
+ const { accentLarge: o, accentLargeHover: i } = e.vietri.color, n = t.size === "large" && o;
1723
+ return {
1724
+ color: e.vietri.color.onAction,
1725
+ backgroundImage: n ? k(o, o) : e.vietri.gradient.action,
1726
+ "&:hover": {
1727
+ backgroundImage: n ? k(i ?? o, i ?? o) : e.vietri.gradient.actionHover
1728
+ },
1729
+ "&.Mui-disabled": {
1730
+ backgroundImage: "none",
1731
+ color: e.palette.action.disabled
1732
+ }
1733
+ };
1734
+ }
1680
1735
  }
1681
1736
  },
1682
1737
  MuiLink: {
1683
1738
  styleOverrides: {
1684
- root: ({ theme: r }) => ({
1739
+ root: ({ theme: e }) => ({
1685
1740
  "&:focus-visible": {
1686
- outline: `2px solid ${r.palette.primary.main}`,
1741
+ outline: `2px solid ${e.palette.primary.main}`,
1687
1742
  outlineOffset: 3,
1688
- borderRadius: y.radius.sm
1743
+ borderRadius: C.radius.sm
1689
1744
  }
1690
1745
  })
1691
1746
  }
1692
1747
  },
1693
1748
  MuiChip: {
1694
1749
  styleOverrides: {
1695
- root: ({ ownerState: r, theme: t }) => {
1696
- const o = r.variant === "filled" && r.color === "default";
1750
+ root: ({ ownerState: e, theme: t }) => {
1751
+ const o = e.variant === "filled" && e.color === "default";
1697
1752
  return {
1698
- fontWeight: y.typography.fontWeight.semibold,
1753
+ fontWeight: C.typography.fontWeight.semibold,
1699
1754
  fontSize: "0.75rem",
1700
1755
  // MUI's default chip is translucent, so its text is only readable on
1701
1756
  // the surface it was designed for. Opaque colors keep it legible on
@@ -1715,16 +1770,16 @@ const y = {
1715
1770
  defaultProps: { variant: "outlined" },
1716
1771
  styleOverrides: {
1717
1772
  root: {
1718
- borderRadius: y.radius.lg,
1773
+ borderRadius: C.radius.lg,
1719
1774
  backgroundImage: "none"
1720
1775
  }
1721
1776
  }
1722
1777
  },
1723
1778
  MuiCardActionArea: {
1724
1779
  styleOverrides: {
1725
- root: ({ theme: r }) => ({
1780
+ root: ({ theme: e }) => ({
1726
1781
  "&:focus-visible": {
1727
- outline: `2px solid ${r.palette.primary.main}`,
1782
+ outline: `2px solid ${e.palette.primary.main}`,
1728
1783
  outlineOffset: -2
1729
1784
  }
1730
1785
  })
@@ -1732,7 +1787,7 @@ const y = {
1732
1787
  },
1733
1788
  MuiDialog: {
1734
1789
  styleOverrides: {
1735
- paper: { borderRadius: y.radius.lg, backgroundImage: "none" }
1790
+ paper: { borderRadius: C.radius.lg, backgroundImage: "none" }
1736
1791
  }
1737
1792
  },
1738
1793
  MuiDrawer: {
@@ -1744,50 +1799,50 @@ const y = {
1744
1799
  // contrast for interface components (WCAG 1.4.11).
1745
1800
  MuiOutlinedInput: {
1746
1801
  styleOverrides: {
1747
- root: ({ theme: r }) => ({
1748
- borderRadius: y.radius.md,
1802
+ root: ({ theme: e }) => ({
1803
+ borderRadius: C.radius.md,
1749
1804
  "& .MuiOutlinedInput-notchedOutline": {
1750
- borderColor: r.palette.text.secondary
1805
+ borderColor: e.palette.text.secondary
1751
1806
  },
1752
1807
  "&:hover .MuiOutlinedInput-notchedOutline": {
1753
- borderColor: r.palette.text.primary
1808
+ borderColor: e.palette.text.primary
1754
1809
  },
1755
1810
  "&.Mui-focused .MuiOutlinedInput-notchedOutline": {
1756
- borderColor: r.palette.primary.main
1811
+ borderColor: e.palette.primary.main
1757
1812
  },
1758
1813
  "&.Mui-error .MuiOutlinedInput-notchedOutline": {
1759
- borderColor: r.palette.error.main
1814
+ borderColor: e.palette.error.main
1760
1815
  },
1761
1816
  "&.Mui-disabled .MuiOutlinedInput-notchedOutline": {
1762
- borderColor: r.palette.divider
1817
+ borderColor: e.palette.divider
1763
1818
  }
1764
1819
  })
1765
1820
  }
1766
1821
  },
1767
1822
  MuiTableCell: {
1768
1823
  styleOverrides: {
1769
- root: ({ theme: r }) => ({
1770
- borderBottomColor: r.palette.divider
1824
+ root: ({ theme: e }) => ({
1825
+ borderBottomColor: e.palette.divider
1771
1826
  }),
1772
- head: ({ theme: r }) => ({
1773
- fontWeight: y.typography.fontWeight.semibold,
1774
- color: r.palette.text.primary,
1775
- borderBottom: `2px solid ${r.palette.text.primary}`
1827
+ head: ({ theme: e }) => ({
1828
+ fontWeight: C.typography.fontWeight.semibold,
1829
+ color: e.palette.text.primary,
1830
+ borderBottom: `2px solid ${e.palette.text.primary}`
1776
1831
  })
1777
1832
  }
1778
1833
  }
1779
- }, { typography: F, breakpoints: Ke } = y;
1780
- function Ze(r) {
1834
+ }, { typography: F, breakpoints: Ze } = C;
1835
+ function er(e) {
1781
1836
  return {
1782
- color: r,
1783
- shadow: y.shadow,
1784
- gradient: Je(r)
1837
+ color: e,
1838
+ shadow: C.shadow,
1839
+ gradient: Qe(e)
1785
1840
  };
1786
1841
  }
1787
- const er = {
1788
- spacing: y.spacing,
1789
- shape: { borderRadius: y.radius.md },
1790
- breakpoints: { values: { ...Ke } },
1842
+ const rr = {
1843
+ spacing: C.spacing,
1844
+ shape: { borderRadius: C.radius.md },
1845
+ breakpoints: { values: { ...Ze } },
1791
1846
  typography: {
1792
1847
  fontFamily: F.fontFamily,
1793
1848
  fontWeightRegular: F.fontWeight.regular,
@@ -1831,32 +1886,32 @@ const er = {
1831
1886
  letterSpacing: "0.12em"
1832
1887
  }
1833
1888
  },
1834
- components: Qe
1889
+ components: Ke
1835
1890
  };
1836
- function G(r) {
1837
- return $e({
1838
- ...er,
1839
- vietri: Ze(r),
1891
+ function N(e) {
1892
+ return Te({
1893
+ ...rr,
1894
+ vietri: er(e),
1840
1895
  palette: {
1841
- mode: r.mode,
1842
- primary: { main: r.primary, contrastText: r.onPrimary },
1843
- secondary: { main: r.secondary, contrastText: r.onSecondary },
1844
- error: { main: r.status.error, contrastText: r.onStatus },
1845
- warning: { main: r.status.warning, contrastText: r.onStatus },
1846
- info: { main: r.status.info, contrastText: r.onStatus },
1847
- success: { main: r.status.success, contrastText: r.onStatus },
1848
- background: { default: r.bg, paper: r.paper },
1849
- text: { primary: r.ink, secondary: r.inkSoft },
1850
- divider: r.line
1896
+ mode: e.mode,
1897
+ primary: { main: e.primary, contrastText: e.onPrimary },
1898
+ secondary: { main: e.secondary, contrastText: e.onSecondary },
1899
+ error: { main: e.status.error, contrastText: e.onStatus },
1900
+ warning: { main: e.status.warning, contrastText: e.onStatus },
1901
+ info: { main: e.status.info, contrastText: e.onStatus },
1902
+ success: { main: e.status.success, contrastText: e.onStatus },
1903
+ background: { default: e.bg, paper: e.paper },
1904
+ text: { primary: e.ink, secondary: e.inkSoft },
1905
+ divider: e.line
1851
1906
  }
1852
1907
  });
1853
1908
  }
1854
- const B = (r) => [r, r], rr = {
1909
+ const B = (e) => [e, e], tr = {
1855
1910
  error: "#B91C1C",
1856
1911
  warning: "#92400E",
1857
1912
  info: "#0369A1",
1858
1913
  success: "#166534"
1859
- }, tr = {
1914
+ }, or = {
1860
1915
  mode: "light",
1861
1916
  bg: "#FFFFFF",
1862
1917
  paper: "#FFFFFF",
@@ -1878,7 +1933,7 @@ const B = (r) => [r, r], rr = {
1878
1933
  chipHover: "#E8DDC4",
1879
1934
  onChip: "#111111",
1880
1935
  glow: null,
1881
- status: rr,
1936
+ status: tr,
1882
1937
  onStatus: "#FFFFFF",
1883
1938
  brand: {
1884
1939
  black: "#000000",
@@ -1892,7 +1947,7 @@ const B = (r) => [r, r], rr = {
1892
1947
  ink: "#111111",
1893
1948
  inkSoft: "#555555"
1894
1949
  }
1895
- }, or = {
1950
+ }, ir = {
1896
1951
  mode: "dark",
1897
1952
  bg: "#20123A",
1898
1953
  paper: "#2D1B50",
@@ -1908,12 +1963,18 @@ const B = (r) => [r, r], rr = {
1908
1963
  action: B("#C8460B"),
1909
1964
  actionHover: B("#B63F0A"),
1910
1965
  onAction: "#FFFFFF",
1911
- // Deep teal to the purple of the cards: dark and calm, with 7:1 or more for white text.
1912
- // (The earlier violet-to-lavender gradient was bright and had the lowest contrast.)
1913
- surface: ["#0F5C66", "#2D1B50"],
1914
- // The layer over a hero photo: a deep lilac, the lightest one that still gives
1915
- // AA contrast to white text over a pure white photo (a deep purple was too dark).
1916
- scrim: "#3B2562",
1966
+ // The line of outlined buttons: lilac (7.6:1 on the page, 6.6:1 on the cards).
1967
+ outline: "#B99BFF",
1968
+ // The brand orange, for large buttons (their bold label is large text) and for the
1969
+ // short rule under a hero title.
1970
+ accentLarge: "#F35F1C",
1971
+ accentLargeHover: "#DE520F",
1972
+ // A flat violet: white text at 12.9:1. A thin orange rule marks the top of the footer.
1973
+ surface: ["#3B2562", "#3B2562"],
1974
+ surfaceRule: "#F35F1C",
1975
+ // The layer over a hero photo: the brightest violet that keeps white text at 4.5:1
1976
+ // over a pure white photo with the layer at 74%.
1977
+ scrim: "#4E2B8B",
1917
1978
  onSurface: "#FFFFFF",
1918
1979
  onSurfaceSoft: "#F7F3FF",
1919
1980
  chip: "#3C2866",
@@ -1931,10 +1992,8 @@ const B = (r) => [r, r], rr = {
1931
1992
  night: "#20123A",
1932
1993
  violet: "#693BCC",
1933
1994
  lavender: "#816CB2",
1934
- /** The deep teal of the footer and banners. */
1935
- teal: "#0F5C66",
1936
1995
  magenta: "#CB1F9C",
1937
- /** The brand orange. Too light for white text: use it as a decoration, not under a label. */
1996
+ /** The brand orange. */
1938
1997
  orange: "#F35F1C"
1939
1998
  },
1940
1999
  derived: {
@@ -1946,10 +2005,14 @@ const B = (r) => [r, r], rr = {
1946
2005
  orangeText: "#F4793F",
1947
2006
  /** Burnt orange of the button fill (white text at 4.8:1). */
1948
2007
  orangeDeep: "#C8460B",
1949
- /** Hovered button fill, darker (white text at 5.8:1). */
1950
- orangeHover: "#B63F0A"
2008
+ /** Hovered button fill, darker (white text at 5.7:1). */
2009
+ orangeHover: "#B63F0A",
2010
+ /** Violet of the hero layer. */
2011
+ layerViolet: "#4E2B8B",
2012
+ /** The flat violet of the footer. */
2013
+ footerViolet: "#3B2562"
1951
2014
  }
1952
- }, ir = {
2015
+ }, nr = {
1953
2016
  mode: "light",
1954
2017
  bg: "#F7F4FA",
1955
2018
  paper: "#FFFFFF",
@@ -2000,7 +2063,7 @@ const B = (r) => [r, r], rr = {
2000
2063
  /** Teal for the hovered primary action (7.7:1 with white). */
2001
2064
  tealDark: "#015C68"
2002
2065
  }
2003
- }, ut = G(tr), ht = G(or), mt = G(ir), nr = [
2066
+ }, mt = N(or), ht = N(ir), ft = N(nr), ar = [
2004
2067
  { bg: "#E0F2FE", fg: "#0C4A6E", dot: "#0284C7" },
2005
2068
  // sky
2006
2069
  { bg: "#EDE9FE", fg: "#4C1D95", dot: "#7C3AED" },
@@ -2022,13 +2085,13 @@ const B = (r) => [r, r], rr = {
2022
2085
  { bg: "#ECFCCB", fg: "#365314", dot: "#65A30D" }
2023
2086
  // lime
2024
2087
  ];
2025
- function ft(r, t = nr) {
2026
- const o = Array.from(new Set(r));
2088
+ function gt(e, t = ar) {
2089
+ const o = Array.from(new Set(e));
2027
2090
  return Object.fromEntries(
2028
- o.map((a, n) => [a, t[n % t.length]])
2091
+ o.map((i, n) => [i, t[n % t.length]])
2029
2092
  );
2030
2093
  }
2031
- const gt = [
2094
+ const bt = [
2032
2095
  { bg: "#027381", fg: "#FFFFFF", dot: "#027381" },
2033
2096
  // teal
2034
2097
  { bg: "#FF7751", fg: "#2B1B3D", dot: "#C2410C" },
@@ -2045,55 +2108,55 @@ const gt = [
2045
2108
  // vermilion
2046
2109
  ];
2047
2110
  export {
2048
- Xr as BarChart,
2049
- yt as Button,
2050
- St as Card,
2051
- Bt as CardActionArea,
2052
- Dt as CardActions,
2111
+ Yr as BarChart,
2112
+ Ct as Button,
2113
+ wt as Card,
2114
+ kt as CardActionArea,
2115
+ At as CardActions,
2053
2116
  It as CardContent,
2054
- Wt as CardMedia,
2055
- _e as CategoryChip,
2056
- $t as Chip,
2057
- ct as ContentRail,
2058
- et as CopyField,
2059
- _r as DataTable,
2060
- Kr as Dialog,
2061
- Zr as Drawer,
2062
- st as EpisodeList,
2063
- ot as FeatureCard,
2064
- qr as Footer,
2065
- tt as Hero,
2066
- C as Icon,
2067
- Ot as Input,
2068
- Vr as LanguageSwitch,
2069
- lt as MediaCard,
2117
+ Mt as CardMedia,
2118
+ Xe as CategoryChip,
2119
+ Tt as Chip,
2120
+ dt as ContentRail,
2121
+ rt as CopyField,
2122
+ Xr as DataTable,
2123
+ Zr as Dialog,
2124
+ et as Drawer,
2125
+ pt as EpisodeList,
2126
+ it as FeatureCard,
2127
+ Jr as Footer,
2128
+ ot as Hero,
2129
+ S as Icon,
2130
+ zt as Input,
2131
+ Ur as LanguageSwitch,
2132
+ ct as MediaCard,
2070
2133
  Gr as NavBar,
2071
- pt as PlaylistCard,
2072
- at as ProfileCard,
2073
- Jr as SectionHeader,
2074
- Qr as Select,
2075
- rt as SkipLink,
2076
- Ur as StatCard,
2077
- it as Steps,
2078
- Rt as Tab,
2134
+ ut as PlaylistCard,
2135
+ lt as ProfileCard,
2136
+ Qr as SectionHeader,
2137
+ Kr as Select,
2138
+ tt as SkipLink,
2139
+ _r as StatCard,
2140
+ nt as Steps,
2141
+ Ht as Tab,
2079
2142
  Pt as Tabs,
2080
- nt as Timeline,
2081
- vt as Typography,
2082
- dt as VideoEmbed,
2083
- N as VisuallyHidden,
2084
- nr as categoryPalette,
2085
- ft as createCategoryColors,
2086
- Je as createGradients,
2087
- G as createVietriTheme,
2088
- tr as editorialColors,
2089
- ut as editorialTheme,
2090
- Yr as icons,
2091
- z as linearGradient,
2092
- gt as observatoryCategoryPalette,
2093
- ir as observatoryColors,
2094
- mt as observatoryTheme,
2095
- or as streamingColors,
2143
+ at as Timeline,
2144
+ Ft as Typography,
2145
+ st as VideoEmbed,
2146
+ V as VisuallyHidden,
2147
+ ar as categoryPalette,
2148
+ gt as createCategoryColors,
2149
+ Qe as createGradients,
2150
+ N as createVietriTheme,
2151
+ or as editorialColors,
2152
+ mt as editorialTheme,
2153
+ qr as icons,
2154
+ k as linearGradient,
2155
+ bt as observatoryCategoryPalette,
2156
+ nr as observatoryColors,
2157
+ ft as observatoryTheme,
2158
+ ir as streamingColors,
2096
2159
  ht as streamingTheme,
2097
- y as tokens
2160
+ C as tokens
2098
2161
  };
2099
2162
  //# sourceMappingURL=index.js.map