@monospaced/set-core 0.8.0 → 0.10.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,4 +1,4 @@
1
- const ft = /* @__PURE__ */ new Set([
1
+ const wt = /* @__PURE__ */ new Set([
2
2
  "area",
3
3
  "base",
4
4
  "br",
@@ -13,17 +13,17 @@ const ft = /* @__PURE__ */ new Set([
13
13
  "track",
14
14
  "wbr"
15
15
  ]);
16
- function ot(t) {
16
+ function dt(t) {
17
17
  return t.replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;").replaceAll('"', "&quot;").replaceAll("'", "&#39;");
18
18
  }
19
- function yt(t) {
20
- return Object.entries(t).flatMap(([n, e]) => e === !1 || e == null ? [] : e === !0 ? [n] : [`${n}="${ot(String(e))}"`]).join(" ");
19
+ function St(t) {
20
+ return Object.entries(t).flatMap(([n, e]) => e === !1 || e == null ? [] : e === !0 ? [n] : [`${n}="${dt(String(e))}"`]).join(" ");
21
21
  }
22
22
  function h(t) {
23
- if (t.kind === "text") return ot(t.value);
23
+ if (t.kind === "text") return dt(t.value);
24
24
  if (t.kind === "raw") return t.html;
25
- const n = yt(t.attrs), e = n ? `<${t.tag} ${n}>` : `<${t.tag}>`;
26
- if (ft.has(t.tag)) return e;
25
+ const n = St(t.attrs), e = n ? `<${t.tag} ${n}>` : `<${t.tag}>`;
26
+ if (wt.has(t.tag)) return e;
27
27
  const i = t.children.map(h).join("");
28
28
  return `${e}${i}</${t.tag}>`;
29
29
  }
@@ -41,10 +41,10 @@ function g(t) {
41
41
  return n;
42
42
  }
43
43
  }
44
- function D(t) {
44
+ function N(t) {
45
45
  return t == null ? void 0 : t.trim().replace(/\s+/g, " ") || void 0;
46
46
  }
47
- const dt = {
47
+ const st = {
48
48
  adjustment: [
49
49
  {
50
50
  tag: "g",
@@ -775,16 +775,16 @@ const dt = {
775
775
  ]
776
776
  }
777
777
  ]
778
- }, We = Object.keys(dt);
779
- function st(t) {
778
+ }, $e = Object.keys(st);
779
+ function lt(t) {
780
780
  return t.map((n) => ({
781
781
  kind: "element",
782
782
  tag: n.tag,
783
783
  attrs: n.attrs,
784
- children: n.children ? st(n.children) : []
784
+ children: n.children ? lt(n.children) : []
785
785
  }));
786
786
  }
787
- function H({
787
+ function O({
788
788
  ariaHidden: t = !0,
789
789
  id: n,
790
790
  mirrored: e,
@@ -792,7 +792,7 @@ function H({
792
792
  size: r = "md",
793
793
  title: a
794
794
  }) {
795
- const d = dt[i];
795
+ const d = st[i];
796
796
  if (!d)
797
797
  throw new Error(`Unknown icon name: ${i}`);
798
798
  const o = g(n), s = a?.trim();
@@ -806,7 +806,7 @@ function H({
806
806
  tag: "title",
807
807
  attrs: { id: l },
808
808
  children: [{ kind: "text", value: s }]
809
- }), p.push(...st(d)), {
809
+ }), p.push(...lt(d)), {
810
810
  kind: "element",
811
811
  tag: "svg",
812
812
  attrs: {
@@ -827,10 +827,10 @@ function H({
827
827
  children: p
828
828
  };
829
829
  }
830
- function wt(t) {
831
- return h(H(t));
830
+ function xt(t) {
831
+ return h(O(t));
832
832
  }
833
- const Ue = {
833
+ const Ge = {
834
834
  name: "icon",
835
835
  description: "Use `icon` to render a Set icon.",
836
836
  output: { element: "svg", class: "set-icon" },
@@ -944,7 +944,7 @@ const Ue = {
944
944
  ]
945
945
  }
946
946
  };
947
- function tt(t) {
947
+ function it(t) {
948
948
  const {
949
949
  appearance: n = "outline",
950
950
  controls: e,
@@ -958,22 +958,22 @@ function tt(t) {
958
958
  iconPlacement: p = "start",
959
959
  label: c,
960
960
  labelVisibility: u = "visible",
961
- name: k,
962
- size: b = "md",
963
- tone: m = "default",
964
- type: f,
965
- value: E
966
- } = t, S = s || void 0, v = !!S;
967
- if (u !== "visible" && !v)
961
+ name: m,
962
+ size: y = "md",
963
+ tone: k = "default",
964
+ type: v,
965
+ value: C
966
+ } = t, S = s || void 0, b = !!S;
967
+ if (u !== "visible" && !b)
968
968
  throw new Error("labelVisibility requires icon when label is not visible.");
969
- const y = v && S ? {
969
+ const x = b && S ? {
970
970
  kind: "element",
971
971
  tag: "span",
972
972
  attrs: { class: "icon-wrapper" },
973
973
  children: [
974
974
  {
975
975
  kind: "raw",
976
- html: wt({
976
+ html: xt({
977
977
  ariaHidden: !0,
978
978
  mirrored: l,
979
979
  name: S,
@@ -997,22 +997,22 @@ function tt(t) {
997
997
  class: "set-button",
998
998
  "data-appearance": n,
999
999
  "data-label-visibility": u === "visible" ? void 0 : u,
1000
- "data-size": b,
1001
- "data-tone": m === "neutral" ? "neutral" : void 0,
1000
+ "data-size": y,
1001
+ "data-tone": k === "neutral" ? "neutral" : void 0,
1002
1002
  disabled: !!i,
1003
1003
  form: a || void 0,
1004
1004
  id: o || void 0,
1005
- name: k || void 0,
1006
- type: f || "button",
1007
- value: E || void 0
1005
+ name: m || void 0,
1006
+ type: v || "button",
1007
+ value: C || void 0
1008
1008
  },
1009
- children: y ? p === "end" ? [w, y] : [y, w] : [w]
1009
+ children: x ? p === "end" ? [w, x] : [x, w] : [w]
1010
1010
  };
1011
1011
  }
1012
- function et(t) {
1013
- return h(tt(t));
1012
+ function nt(t) {
1013
+ return h(it(t));
1014
1014
  }
1015
- const $e = {
1015
+ const Ze = {
1016
1016
  name: "button",
1017
1017
  description: "Use `button` to let users trigger actions.",
1018
1018
  output: { element: "button", class: "set-button" },
@@ -1195,10 +1195,10 @@ const $e = {
1195
1195
  }
1196
1196
  ]
1197
1197
  }
1198
- }, P = "set-alert", lt = "set-alert-before-dismiss", pt = "set-alert-dismiss", V = "Dismiss alert";
1199
- function St(t, n) {
1198
+ }, R = "set-alert", pt = "set-alert-before-dismiss", ct = "set-alert-dismiss", P = "Dismiss alert";
1199
+ function Et(t, n) {
1200
1200
  const e = n.createElement("div");
1201
- return e.setAttribute("data-part", "close"), e.innerHTML = et({
1201
+ return e.setAttribute("data-part", "close"), e.innerHTML = nt({
1202
1202
  appearance: "text",
1203
1203
  icon: "close",
1204
1204
  label: t,
@@ -1207,7 +1207,7 @@ function St(t, n) {
1207
1207
  tone: "neutral"
1208
1208
  }), e;
1209
1209
  }
1210
- function xt(t) {
1210
+ function zt(t) {
1211
1211
  switch (t) {
1212
1212
  case "success":
1213
1213
  return "check-circle";
@@ -1221,12 +1221,12 @@ function xt(t) {
1221
1221
  return "sticky-note";
1222
1222
  }
1223
1223
  }
1224
- function Et(t) {
1224
+ function Ct(t) {
1225
1225
  return t === "warning" || t === "error" ? "alert" : "status";
1226
1226
  }
1227
- function zt({
1227
+ function Lt({
1228
1228
  dismissible: t,
1229
- dismissibleLabel: n = V,
1229
+ dismissibleLabel: n = P,
1230
1230
  id: e,
1231
1231
  inlineSize: i = "full",
1232
1232
  message: r,
@@ -1234,7 +1234,7 @@ function zt({
1234
1234
  tone: d,
1235
1235
  title: o
1236
1236
  }) {
1237
- const s = g(e), l = n.trim() === "" ? V : n, p = [];
1237
+ const s = g(e), l = n.trim() === "" ? P : n, p = [];
1238
1238
  return o && p.push({
1239
1239
  kind: "element",
1240
1240
  tag: "p",
@@ -1247,7 +1247,7 @@ function zt({
1247
1247
  children: [{ kind: "text", value: r }]
1248
1248
  }), {
1249
1249
  kind: "element",
1250
- tag: P,
1250
+ tag: R,
1251
1251
  attrs: {
1252
1252
  class: "set-alert",
1253
1253
  "data-dismissible": t,
@@ -1256,7 +1256,7 @@ function zt({
1256
1256
  "data-size": a,
1257
1257
  "data-tone": d || void 0,
1258
1258
  id: s,
1259
- role: Et(d)
1259
+ role: Ct(d)
1260
1260
  },
1261
1261
  children: [
1262
1262
  {
@@ -1264,9 +1264,9 @@ function zt({
1264
1264
  tag: "div",
1265
1265
  attrs: { class: "icon-wrapper" },
1266
1266
  children: [
1267
- H({
1267
+ O({
1268
1268
  ariaHidden: !0,
1269
- name: xt(d),
1269
+ name: zt(d),
1270
1270
  size: a
1271
1271
  })
1272
1272
  ]
@@ -1280,24 +1280,24 @@ function zt({
1280
1280
  ]
1281
1281
  };
1282
1282
  }
1283
- function Ge(t) {
1284
- return h(zt(t));
1283
+ function Fe(t) {
1284
+ return h(Lt(t));
1285
1285
  }
1286
- function Ct() {
1287
- if (customElements.get(P)) return;
1286
+ function Mt() {
1287
+ if (customElements.get(R)) return;
1288
1288
  class t extends HTMLElement {
1289
1289
  #t = (e) => {
1290
1290
  const i = e.target;
1291
1291
  if (!(i instanceof Element) || !i.closest('[data-part="close"]')) return;
1292
1292
  const r = new CustomEvent(
1293
- lt,
1293
+ pt,
1294
1294
  {
1295
1295
  bubbles: !0,
1296
1296
  cancelable: !0
1297
1297
  }
1298
1298
  );
1299
1299
  this.dispatchEvent(r) && (this.dispatchEvent(
1300
- new CustomEvent(pt, {
1300
+ new CustomEvent(ct, {
1301
1301
  bubbles: !0
1302
1302
  })
1303
1303
  ), this.remove());
@@ -1310,20 +1310,20 @@ function Ct() {
1310
1310
  }
1311
1311
  #e() {
1312
1312
  this.querySelector('[data-part="close"]') || this.append(
1313
- St(
1314
- this.getAttribute("data-dismissible-label") ?? V,
1313
+ Et(
1314
+ this.getAttribute("data-dismissible-label") ?? P,
1315
1315
  this.ownerDocument
1316
1316
  )
1317
1317
  );
1318
1318
  }
1319
1319
  }
1320
- customElements.define(P, t);
1320
+ customElements.define(R, t);
1321
1321
  }
1322
- const Ze = {
1322
+ const je = {
1323
1323
  name: "alert",
1324
1324
  description: "Use `alert` to surface short, important messages.",
1325
1325
  output: {
1326
- element: P,
1326
+ element: R,
1327
1327
  class: "set-alert"
1328
1328
  },
1329
1329
  content: {
@@ -1340,7 +1340,7 @@ const Ze = {
1340
1340
  type: { kind: "boolean" }
1341
1341
  },
1342
1342
  dismissibleLabel: {
1343
- default: V,
1343
+ default: P,
1344
1344
  description: "Accessible label for the dismiss control.",
1345
1345
  ignoredWhen: "`dismissible` is false",
1346
1346
  type: { kind: "string" }
@@ -1374,12 +1374,12 @@ const Ze = {
1374
1374
  }
1375
1375
  },
1376
1376
  events: {
1377
- [lt]: {
1377
+ [pt]: {
1378
1378
  bubbles: !0,
1379
1379
  cancelable: !0,
1380
1380
  description: "Fired before the alert is removed by a dismiss action. Call `preventDefault()` to keep the alert mounted."
1381
1381
  },
1382
- [pt]: {
1382
+ [ct]: {
1383
1383
  bubbles: !0,
1384
1384
  description: "Fired after the alert has been removed by an allowed dismiss action."
1385
1385
  }
@@ -1445,7 +1445,7 @@ const Ze = {
1445
1445
  }
1446
1446
  ]
1447
1447
  },
1448
- value: { kind: "literal", text: V }
1448
+ value: { kind: "literal", text: P }
1449
1449
  },
1450
1450
  {
1451
1451
  target: { on: "host" },
@@ -1468,11 +1468,11 @@ const Ze = {
1468
1468
  ]
1469
1469
  }
1470
1470
  };
1471
- function Lt(t) {
1471
+ function qt(t) {
1472
1472
  if (t)
1473
1473
  return t === !0 ? !0 : t;
1474
1474
  }
1475
- function ct(t) {
1475
+ function ut(t) {
1476
1476
  const {
1477
1477
  appearance: n = "text",
1478
1478
  current: e,
@@ -1486,17 +1486,17 @@ function ct(t) {
1486
1486
  rel: p,
1487
1487
  size: c = "md",
1488
1488
  target: u,
1489
- tone: k = "default",
1490
- underline: b
1491
- } = t, m = g(a), f = d?.trim() || void 0;
1492
- if (l !== "visible" && !!!f)
1489
+ tone: m = "default",
1490
+ underline: y
1491
+ } = t, k = g(a), v = d?.trim() || void 0;
1492
+ if (l !== "visible" && !!!v)
1493
1493
  throw new Error("labelVisibility requires icon when label is not visible.");
1494
- const S = Lt(i), v = f ? {
1494
+ const S = qt(i), b = v ? {
1495
1495
  kind: "element",
1496
1496
  tag: "span",
1497
1497
  attrs: { class: "icon-wrapper" },
1498
- children: [{ kind: "raw", html: f }]
1499
- } : null, y = {
1498
+ children: [{ kind: "raw", html: v }]
1499
+ } : null, x = {
1500
1500
  kind: "element",
1501
1501
  tag: "span",
1502
1502
  attrs: { class: "label" },
@@ -1511,21 +1511,21 @@ function ct(t) {
1511
1511
  "data-appearance": n === "text" ? void 0 : n,
1512
1512
  "data-label-visibility": l === "visible" ? void 0 : l,
1513
1513
  "data-size": c,
1514
- "data-tone": k === "neutral" ? "neutral" : void 0,
1515
- "data-underline": b && n === "text" ? !0 : void 0,
1514
+ "data-tone": m === "neutral" ? "neutral" : void 0,
1515
+ "data-underline": y && n === "text" ? !0 : void 0,
1516
1516
  download: S,
1517
1517
  href: r,
1518
- id: m,
1518
+ id: k,
1519
1519
  rel: S ? void 0 : p || void 0,
1520
1520
  target: S ? void 0 : u || void 0
1521
1521
  },
1522
- children: v ? o === "end" ? [y, v] : [v, y] : [y]
1522
+ children: b ? o === "end" ? [x, b] : [b, x] : [x]
1523
1523
  };
1524
1524
  }
1525
- function Fe(t) {
1526
- return h(ct(t));
1525
+ function Ke(t) {
1526
+ return h(ut(t));
1527
1527
  }
1528
- const je = {
1528
+ const Xe = {
1529
1529
  name: "link",
1530
1530
  description: "Use `link` to navigate to another page or resource.",
1531
1531
  output: { element: "a", class: "set-link" },
@@ -1712,10 +1712,10 @@ const je = {
1712
1712
  }
1713
1713
  ]
1714
1714
  }
1715
- }, B = "set-banner", ut = "set-banner-before-dismiss", ht = "set-banner-dismiss", R = "Dismiss banner";
1716
- function Mt(t, n) {
1715
+ }, W = "set-banner", ht = "set-banner-before-dismiss", mt = "set-banner-dismiss", U = "Dismiss banner";
1716
+ function It(t, n) {
1717
1717
  const e = n.createElement("div");
1718
- return e.setAttribute("data-part", "close"), e.innerHTML = et({
1718
+ return e.setAttribute("data-part", "close"), e.innerHTML = nt({
1719
1719
  appearance: "text",
1720
1720
  icon: "close",
1721
1721
  label: t,
@@ -1724,27 +1724,27 @@ function Mt(t, n) {
1724
1724
  tone: "neutral"
1725
1725
  }), e;
1726
1726
  }
1727
- function qt({
1727
+ function Tt({
1728
1728
  actionHref: t,
1729
1729
  actionLabel: n,
1730
1730
  dismissible: e = !0,
1731
- dismissibleLabel: i = R,
1731
+ dismissibleLabel: i = U,
1732
1732
  id: r,
1733
1733
  message: a,
1734
1734
  tone: d
1735
1735
  }) {
1736
1736
  if (!!t != !!n)
1737
1737
  throw new Error("actionHref and actionLabel must be provided together.");
1738
- const o = g(r), s = i.trim() === "" ? R : i, l = [{ kind: "text", value: a }];
1738
+ const o = g(r), s = i.trim() === "" ? U : i, l = [{ kind: "text", value: a }];
1739
1739
  return t && n && (l.push({ kind: "text", value: " " }), l.push(
1740
- ct({
1740
+ ut({
1741
1741
  href: t,
1742
1742
  label: n,
1743
1743
  underline: !0
1744
1744
  })
1745
1745
  )), {
1746
1746
  kind: "element",
1747
- tag: B,
1747
+ tag: W,
1748
1748
  attrs: {
1749
1749
  class: "set-banner",
1750
1750
  "data-set-content-theme": "dark",
@@ -1764,24 +1764,24 @@ function qt({
1764
1764
  ]
1765
1765
  };
1766
1766
  }
1767
- function Ke(t) {
1768
- return h(qt(t));
1767
+ function Qe(t) {
1768
+ return h(Tt(t));
1769
1769
  }
1770
- function It() {
1771
- if (customElements.get(B)) return;
1770
+ function At() {
1771
+ if (customElements.get(W)) return;
1772
1772
  class t extends HTMLElement {
1773
1773
  #t = (e) => {
1774
1774
  const i = e.target;
1775
1775
  if (!(i instanceof Element) || !i.closest('[data-part="close"]')) return;
1776
1776
  const r = new CustomEvent(
1777
- ut,
1777
+ ht,
1778
1778
  {
1779
1779
  bubbles: !0,
1780
1780
  cancelable: !0
1781
1781
  }
1782
1782
  );
1783
1783
  this.dispatchEvent(r) && (this.dispatchEvent(
1784
- new CustomEvent(ht, {
1784
+ new CustomEvent(mt, {
1785
1785
  bubbles: !0
1786
1786
  })
1787
1787
  ), this.remove());
@@ -1794,19 +1794,19 @@ function It() {
1794
1794
  }
1795
1795
  #e() {
1796
1796
  this.querySelector('[data-part="close"]') || this.append(
1797
- Mt(
1798
- this.getAttribute("data-dismissible-label") ?? R,
1797
+ It(
1798
+ this.getAttribute("data-dismissible-label") ?? U,
1799
1799
  this.ownerDocument
1800
1800
  )
1801
1801
  );
1802
1802
  }
1803
1803
  }
1804
- customElements.define(B, t);
1804
+ customElements.define(W, t);
1805
1805
  }
1806
- const Xe = {
1806
+ const Ye = {
1807
1807
  name: "banner",
1808
1808
  description: "Use `banner` to display a prominent site-wide message.",
1809
- output: { element: B, class: "set-banner" },
1809
+ output: { element: W, class: "set-banner" },
1810
1810
  content: { kind: "text", prop: "message" },
1811
1811
  props: {
1812
1812
  actionHref: {
@@ -1825,7 +1825,7 @@ const Xe = {
1825
1825
  type: { kind: "boolean" }
1826
1826
  },
1827
1827
  dismissibleLabel: {
1828
- default: R,
1828
+ default: U,
1829
1829
  description: "Accessible label for the dismiss control.",
1830
1830
  ignoredWhen: "`dismissible` is false",
1831
1831
  type: { kind: "string" }
@@ -1848,12 +1848,12 @@ const Xe = {
1848
1848
  }
1849
1849
  },
1850
1850
  events: {
1851
- [ut]: {
1851
+ [ht]: {
1852
1852
  bubbles: !0,
1853
1853
  cancelable: !0,
1854
1854
  description: "Fired before the banner is removed by a dismiss action. Call `preventDefault()` to keep the banner mounted."
1855
1855
  },
1856
- [ht]: {
1856
+ [mt]: {
1857
1857
  bubbles: !0,
1858
1858
  description: "Fired after the banner has been removed by an allowed dismiss action."
1859
1859
  }
@@ -1891,14 +1891,14 @@ const Xe = {
1891
1891
  }
1892
1892
  ]
1893
1893
  }
1894
- }, W = "set-lightswitch", mt = "set-lightswitch-change", K = "set-theme", X = "Switch to dark theme", Q = "Switch to light theme";
1895
- function Tt(t) {
1894
+ }, $ = "set-lightswitch", kt = "set-lightswitch-change", Q = "set-theme", Y = "Switch to dark theme", J = "Switch to light theme";
1895
+ function _t(t) {
1896
1896
  return t === "dark" ? "light" : "dark";
1897
1897
  }
1898
- function At(t) {
1898
+ function Dt(t) {
1899
1899
  return t === "dark" ? "moon" : "sunny";
1900
1900
  }
1901
- function nt(t, n) {
1901
+ function rt(t, n) {
1902
1902
  return {
1903
1903
  kind: "element",
1904
1904
  tag: "span",
@@ -1909,9 +1909,9 @@ function nt(t, n) {
1909
1909
  tag: "span",
1910
1910
  attrs: { class: "icon-wrapper" },
1911
1911
  children: [
1912
- H({
1912
+ O({
1913
1913
  ariaHidden: !0,
1914
- name: At(t),
1914
+ name: Dt(t),
1915
1915
  size: "fill"
1916
1916
  })
1917
1917
  ]
@@ -1925,17 +1925,17 @@ function nt(t, n) {
1925
1925
  ]
1926
1926
  };
1927
1927
  }
1928
- function _t({
1928
+ function Ht({
1929
1929
  appearance: t = "text",
1930
1930
  id: n,
1931
- labelDark: e = X,
1932
- labelLight: i = Q,
1931
+ labelDark: e = Y,
1932
+ labelLight: i = J,
1933
1933
  size: r = "md"
1934
1934
  }) {
1935
- const a = g(n), d = e.trim() === "" ? X : e, o = i.trim() === "" ? Q : i;
1935
+ const a = g(n), d = e.trim() === "" ? Y : e, o = i.trim() === "" ? J : i;
1936
1936
  return {
1937
1937
  kind: "element",
1938
- tag: W,
1938
+ tag: $,
1939
1939
  attrs: {
1940
1940
  class: "set-lightswitch",
1941
1941
  id: a
@@ -1951,25 +1951,25 @@ function _t({
1951
1951
  type: "button"
1952
1952
  },
1953
1953
  children: [
1954
- nt("dark", d),
1955
- nt("light", o)
1954
+ rt("dark", d),
1955
+ rt("light", o)
1956
1956
  ]
1957
1957
  }
1958
1958
  ]
1959
1959
  };
1960
1960
  }
1961
- function Qe(t) {
1962
- return h(_t(t));
1961
+ function Je(t) {
1962
+ return h(Ht(t));
1963
1963
  }
1964
- function Dt() {
1965
- if (customElements.get(W)) return;
1964
+ function Vt() {
1965
+ if (customElements.get($)) return;
1966
1966
  class t extends HTMLElement {
1967
1967
  #t = (e) => {
1968
1968
  const i = e.target;
1969
1969
  if (!(i instanceof Element) || !i.closest("button")) return;
1970
- const r = Tt(this.#u());
1970
+ const r = _t(this.#u());
1971
1971
  r === this.#r() ? this.#d() : this.#n(r), this.#a(), this.dispatchEvent(
1972
- new CustomEvent(mt, {
1972
+ new CustomEvent(kt, {
1973
1973
  bubbles: !0,
1974
1974
  detail: { stored: !!this.#i(), theme: r }
1975
1975
  })
@@ -1990,7 +1990,7 @@ function Dt() {
1990
1990
  }
1991
1991
  #i() {
1992
1992
  try {
1993
- const e = this.#e()?.getItem(K);
1993
+ const e = this.#e()?.getItem(Q);
1994
1994
  return e === "light" || e === "dark" ? e : void 0;
1995
1995
  } catch {
1996
1996
  return;
@@ -1998,13 +1998,13 @@ function Dt() {
1998
1998
  }
1999
1999
  #n(e) {
2000
2000
  try {
2001
- this.#e()?.setItem(K, e);
2001
+ this.#e()?.setItem(Q, e);
2002
2002
  } catch {
2003
2003
  }
2004
2004
  }
2005
2005
  #d() {
2006
2006
  try {
2007
- this.#e()?.removeItem(K);
2007
+ this.#e()?.removeItem(Q);
2008
2008
  } catch {
2009
2009
  }
2010
2010
  }
@@ -2029,12 +2029,12 @@ function Dt() {
2029
2029
  i ? e.setAttribute("data-set-theme", i) : e.removeAttribute("data-set-theme");
2030
2030
  }
2031
2031
  }
2032
- customElements.define(W, t);
2032
+ customElements.define($, t);
2033
2033
  }
2034
- const Ye = {
2034
+ const ti = {
2035
2035
  name: "lightswitch",
2036
2036
  description: "Use `lightswitch` to let users toggle between light and dark themes.",
2037
- output: { element: W, class: "set-lightswitch" },
2037
+ output: { element: $, class: "set-lightswitch" },
2038
2038
  content: { kind: "none" },
2039
2039
  props: {
2040
2040
  appearance: {
@@ -2047,12 +2047,12 @@ const Ye = {
2047
2047
  type: { kind: "string" }
2048
2048
  },
2049
2049
  labelDark: {
2050
- default: X,
2050
+ default: Y,
2051
2051
  description: "Accessible label of the switch-to-dark action.",
2052
2052
  type: { kind: "string" }
2053
2053
  },
2054
2054
  labelLight: {
2055
- default: Q,
2055
+ default: J,
2056
2056
  description: "Accessible label of the switch-to-light action.",
2057
2057
  type: { kind: "string" }
2058
2058
  },
@@ -2063,7 +2063,7 @@ const Ye = {
2063
2063
  }
2064
2064
  },
2065
2065
  events: {
2066
- [mt]: {
2066
+ [kt]: {
2067
2067
  bubbles: !0,
2068
2068
  description: "Fired after activation applies a theme. `detail.theme` is the theme switched to; `detail.stored` is false when the change cleared the override to follow the system preference again."
2069
2069
  }
@@ -2102,8 +2102,8 @@ const Ye = {
2102
2102
  }
2103
2103
  ]
2104
2104
  }
2105
- }, U = "set-menu", kt = "set-menu-choose";
2106
- function Ht({
2105
+ }, G = "set-menu", gt = "set-menu-choose";
2106
+ function Nt({
2107
2107
  align: t = "start",
2108
2108
  id: n,
2109
2109
  items: e,
@@ -2123,21 +2123,21 @@ function Ht({
2123
2123
  );
2124
2124
  if (!Array.isArray(e))
2125
2125
  throw new Error("items must be an array.");
2126
- const p = `${l}-button`, c = `${l}-popup`, u = e.map((k) => ({
2126
+ const p = `${l}-button`, c = `${l}-popup`, u = e.map((m) => ({
2127
2127
  kind: "element",
2128
2128
  tag: "button",
2129
2129
  attrs: {
2130
- "aria-disabled": k.disabled ? "true" : void 0,
2131
- "data-item-id": k.id || void 0,
2130
+ "aria-disabled": m.disabled ? "true" : void 0,
2131
+ "data-item-id": m.id || void 0,
2132
2132
  role: "menuitem",
2133
2133
  tabindex: "-1",
2134
2134
  type: "button"
2135
2135
  },
2136
- children: [{ kind: "text", value: k.label }]
2136
+ children: [{ kind: "text", value: m.label }]
2137
2137
  }));
2138
2138
  return {
2139
2139
  kind: "element",
2140
- tag: U,
2140
+ tag: G,
2141
2141
  attrs: {
2142
2142
  class: "set-menu",
2143
2143
  "data-align": t === "start" ? void 0 : t,
@@ -2150,7 +2150,7 @@ function Ht({
2150
2150
  tag: "div",
2151
2151
  attrs: { "data-part": "trigger" },
2152
2152
  children: [
2153
- tt({
2153
+ it({
2154
2154
  appearance: "outline",
2155
2155
  controls: c,
2156
2156
  disclosure: !0,
@@ -2182,11 +2182,11 @@ function Ht({
2182
2182
  ]
2183
2183
  };
2184
2184
  }
2185
- function Je(t) {
2186
- return h(Ht(t));
2185
+ function ei(t) {
2186
+ return h(Nt(t));
2187
2187
  }
2188
- function Vt() {
2189
- if (customElements.get(U)) return;
2188
+ function Ot() {
2189
+ if (customElements.get(G)) return;
2190
2190
  class t extends HTMLElement {
2191
2191
  #t;
2192
2192
  #e;
@@ -2236,7 +2236,7 @@ function Vt() {
2236
2236
  this.querySelectorAll('[role="menuitem"]')
2237
2237
  ).indexOf(e);
2238
2238
  this.dispatchEvent(
2239
- new CustomEvent(kt, {
2239
+ new CustomEvent(gt, {
2240
2240
  bubbles: !0,
2241
2241
  detail: {
2242
2242
  id: e.getAttribute("data-item-id") || void 0,
@@ -2298,13 +2298,13 @@ function Vt() {
2298
2298
  this.#t && this.removeEventListener("click", this.#t), this.#e && this.ownerDocument.removeEventListener("click", this.#e), this.#n && this.removeEventListener("keydown", this.#n), this.#i && this.removeEventListener("focusout", this.#i), this.#t = void 0, this.#e = void 0, this.#i = void 0, this.#n = void 0;
2299
2299
  }
2300
2300
  }
2301
- customElements.define(U, t);
2301
+ customElements.define(G, t);
2302
2302
  }
2303
- const ti = {
2303
+ const ii = {
2304
2304
  name: "menu",
2305
2305
  description: "Use `menu` to show a list of actions from a trigger button.",
2306
2306
  output: {
2307
- element: U,
2307
+ element: G,
2308
2308
  class: "set-menu"
2309
2309
  },
2310
2310
  content: {
@@ -2378,7 +2378,7 @@ const ti = {
2378
2378
  }
2379
2379
  },
2380
2380
  events: {
2381
- [kt]: {
2381
+ [gt]: {
2382
2382
  bubbles: !0,
2383
2383
  description: "Fired when a menu item is activated.",
2384
2384
  detail: "{ id?: string; index: number; label: string }"
@@ -2438,15 +2438,15 @@ const ti = {
2438
2438
  }
2439
2439
  ]
2440
2440
  }
2441
- }, Y = "Menu";
2442
- function Nt({
2441
+ }, tt = "Menu";
2442
+ function Pt({
2443
2443
  controlsId: t,
2444
2444
  expanded: n,
2445
2445
  id: e,
2446
- label: i = Y,
2446
+ label: i = tt,
2447
2447
  size: r = "md"
2448
2448
  } = {}) {
2449
- const a = g(e), d = i.trim() === "" ? Y : i;
2449
+ const a = g(e), d = i.trim() === "" ? tt : i;
2450
2450
  return {
2451
2451
  kind: "element",
2452
2452
  tag: "button",
@@ -2481,10 +2481,10 @@ function Nt({
2481
2481
  ]
2482
2482
  };
2483
2483
  }
2484
- function Ot(t = {}) {
2485
- return h(Nt(t));
2484
+ function Bt(t = {}) {
2485
+ return h(Pt(t));
2486
2486
  }
2487
- const ei = {
2487
+ const ni = {
2488
2488
  name: "expander",
2489
2489
  description: "Use `expander` as a toggle for disclosure regions such as menus.",
2490
2490
  output: { element: "button", class: "set-expander" },
@@ -2504,7 +2504,7 @@ const ei = {
2504
2504
  type: { kind: "string" }
2505
2505
  },
2506
2506
  label: {
2507
- default: Y,
2507
+ default: tt,
2508
2508
  description: "Accessible label.",
2509
2509
  type: { kind: "text" }
2510
2510
  },
@@ -2549,8 +2549,8 @@ const ei = {
2549
2549
  }
2550
2550
  ]
2551
2551
  }
2552
- }, $ = "set-nav", rt = "data-set-scroll-locked";
2553
- function Pt({
2552
+ }, Z = "set-nav", at = "data-set-scroll-locked";
2553
+ function Rt({
2554
2554
  collapsible: t,
2555
2555
  contentId: n,
2556
2556
  expanderLabel: e,
@@ -2588,7 +2588,7 @@ function Pt({
2588
2588
  }));
2589
2589
  return {
2590
2590
  kind: "element",
2591
- tag: $,
2591
+ tag: Z,
2592
2592
  attrs: {
2593
2593
  class: "set-nav",
2594
2594
  "data-collapsible": t,
@@ -2627,11 +2627,11 @@ function Pt({
2627
2627
  ]
2628
2628
  };
2629
2629
  }
2630
- function ii(t) {
2631
- return h(Pt(t));
2630
+ function ri(t) {
2631
+ return h(Rt(t));
2632
2632
  }
2633
- function Bt() {
2634
- if (customElements.get($)) return;
2633
+ function Wt() {
2634
+ if (customElements.get(Z)) return;
2635
2635
  class t extends HTMLElement {
2636
2636
  #t;
2637
2637
  #e;
@@ -2657,7 +2657,7 @@ function Bt() {
2657
2657
  const i = e.querySelector(".content");
2658
2658
  i && e.insertAdjacentHTML(
2659
2659
  "afterbegin",
2660
- `<div data-part="expander">${Ot({
2660
+ `<div data-part="expander">${Bt({
2661
2661
  controlsId: i.id || void 0,
2662
2662
  label: this.getAttribute("data-expander-label") || void 0,
2663
2663
  size: this.getAttribute("data-size") === "sm" ? "md" : "lg"
@@ -2690,10 +2690,10 @@ function Bt() {
2690
2690
  const i = this.ownerDocument.documentElement;
2691
2691
  if (i) {
2692
2692
  if (e) {
2693
- i.setAttribute(rt, "");
2693
+ i.setAttribute(at, "");
2694
2694
  return;
2695
2695
  }
2696
- i.removeAttribute(rt);
2696
+ i.removeAttribute(at);
2697
2697
  }
2698
2698
  }
2699
2699
  #o() {
@@ -2707,12 +2707,12 @@ function Bt() {
2707
2707
  ), this.#i = void 0, this.#n = void 0, this.#e = void 0;
2708
2708
  }
2709
2709
  }
2710
- customElements.define($, t);
2710
+ customElements.define(Z, t);
2711
2711
  }
2712
- const ni = {
2712
+ const ai = {
2713
2713
  name: "nav",
2714
2714
  description: "Use `nav` to render a primary navigation list.",
2715
- output: { element: $, class: "set-nav" },
2715
+ output: { element: Z, class: "set-nav" },
2716
2716
  content: { kind: "structured", prop: "items" },
2717
2717
  props: {
2718
2718
  items: {
@@ -2824,8 +2824,8 @@ const ni = {
2824
2824
  }
2825
2825
  ]
2826
2826
  }
2827
- }, G = "set-range";
2828
- function Rt({
2827
+ }, F = "set-range";
2828
+ function Ut({
2829
2829
  description: t,
2830
2830
  disabled: n,
2831
2831
  id: e,
@@ -2838,14 +2838,14 @@ function Rt({
2838
2838
  step: l,
2839
2839
  value: p
2840
2840
  }) {
2841
- const c = e.trim(), u = t?.trim(), k = o?.trim();
2841
+ const c = e.trim(), u = t?.trim(), m = o?.trim();
2842
2842
  if (!c)
2843
2843
  throw new Error("id must be a non-empty string.");
2844
2844
  if (!I(c))
2845
2845
  throw new Error(
2846
2846
  "id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
2847
2847
  );
2848
- const b = u ? `${c}-description` : void 0, m = [
2848
+ const y = u ? `${c}-description` : void 0, k = [
2849
2849
  {
2850
2850
  kind: "element",
2851
2851
  tag: "div",
@@ -2869,13 +2869,13 @@ function Rt({
2869
2869
  kind: "element",
2870
2870
  tag: "input",
2871
2871
  attrs: {
2872
- "aria-describedby": b,
2872
+ "aria-describedby": y,
2873
2873
  class: "range",
2874
2874
  disabled: !!n,
2875
2875
  id: c,
2876
2876
  max: a != null ? String(a) : void 0,
2877
2877
  min: d != null ? String(d) : void 0,
2878
- name: k || void 0,
2878
+ name: m || void 0,
2879
2879
  step: l != null ? String(l) : void 0,
2880
2880
  type: "range",
2881
2881
  value: p != null ? String(p) : void 0
@@ -2883,27 +2883,27 @@ function Rt({
2883
2883
  children: []
2884
2884
  }
2885
2885
  ];
2886
- return u && m.push({
2886
+ return u && k.push({
2887
2887
  kind: "element",
2888
2888
  tag: "p",
2889
- attrs: { class: "description", id: b },
2889
+ attrs: { class: "description", id: y },
2890
2890
  children: [{ kind: "text", value: u }]
2891
2891
  }), {
2892
2892
  kind: "element",
2893
- tag: G,
2893
+ tag: F,
2894
2894
  attrs: {
2895
2895
  class: "set-range",
2896
2896
  "data-inline-size": i === "fit" ? "fit" : void 0,
2897
2897
  "data-size": s
2898
2898
  },
2899
- children: m
2899
+ children: k
2900
2900
  };
2901
2901
  }
2902
- function ri(t) {
2903
- return h(Rt(t));
2902
+ function oi(t) {
2903
+ return h(Ut(t));
2904
2904
  }
2905
- function Wt() {
2906
- if (customElements.get(G)) return;
2905
+ function $t() {
2906
+ if (customElements.get(F)) return;
2907
2907
  class t extends HTMLElement {
2908
2908
  #t;
2909
2909
  #e = (e) => {
@@ -2957,12 +2957,12 @@ function Wt() {
2957
2957
  this.#t && (delete this.#t.value, this.#t = void 0);
2958
2958
  }
2959
2959
  }
2960
- customElements.define(G, t);
2960
+ customElements.define(F, t);
2961
2961
  }
2962
- const ai = {
2962
+ const di = {
2963
2963
  name: "range",
2964
2964
  description: "Use `range` to let users pick a numeric value along a scale.",
2965
- output: { element: G, class: "set-range" },
2965
+ output: { element: F, class: "set-range" },
2966
2966
  content: { kind: "text", prop: "label" },
2967
2967
  props: {
2968
2968
  description: {
@@ -3091,9 +3091,9 @@ const ai = {
3091
3091
  }
3092
3092
  ]
3093
3093
  }
3094
- }, Z = "set-sidebar", Ut = "(min-width: 68em)", _ = "Collapse sidebar", J = "Open sidebar";
3095
- function $t(t, n) {
3096
- return `<div data-part="close">${et({
3094
+ }, j = "set-sidebar", Gt = "(min-width: 68em)", V = "Collapse sidebar", et = "Open sidebar";
3095
+ function Zt(t, n) {
3096
+ return `<div data-part="close">${nt({
3097
3097
  appearance: "text",
3098
3098
  icon: "panel-left",
3099
3099
  iconMirrored: "rtl",
@@ -3104,18 +3104,18 @@ function $t(t, n) {
3104
3104
  type: "button"
3105
3105
  })}</div>`;
3106
3106
  }
3107
- function Gt({
3107
+ function Ft({
3108
3108
  aboveNotebook: t = "persistent",
3109
3109
  buttonSize: n = "md",
3110
3110
  children: e,
3111
- collapseLabel: i = _,
3111
+ collapseLabel: i = V,
3112
3112
  footer: r,
3113
3113
  header: a,
3114
3114
  id: d,
3115
3115
  surface: o,
3116
- triggerLabel: s = J
3116
+ triggerLabel: s = et
3117
3117
  }) {
3118
- const l = d.trim(), p = i.trim() || _, c = s.trim() || J;
3118
+ const l = d.trim(), p = i.trim() || V, c = s.trim() || et;
3119
3119
  if (!l)
3120
3120
  throw new Error("id must be a non-empty string.");
3121
3121
  if (!I(l))
@@ -3142,14 +3142,14 @@ function Gt({
3142
3142
  attrs: { class: "footer" },
3143
3143
  children: [{ kind: "raw", html: r }]
3144
3144
  });
3145
- const k = `${l}-panel`;
3145
+ const m = `${l}-panel`;
3146
3146
  return {
3147
3147
  kind: "element",
3148
- tag: Z,
3148
+ tag: j,
3149
3149
  attrs: {
3150
3150
  class: "set-sidebar",
3151
3151
  "data-above-notebook": t,
3152
- "data-collapse-label": p !== _ ? p : void 0,
3152
+ "data-collapse-label": p !== V ? p : void 0,
3153
3153
  "data-button-size": n,
3154
3154
  id: l
3155
3155
  },
@@ -3159,9 +3159,9 @@ function Gt({
3159
3159
  tag: "div",
3160
3160
  attrs: { "data-part": "trigger" },
3161
3161
  children: [
3162
- tt({
3162
+ it({
3163
3163
  appearance: "text",
3164
- controls: k,
3164
+ controls: m,
3165
3165
  disclosure: !0,
3166
3166
  icon: "panel-left",
3167
3167
  iconMirrored: "rtl",
@@ -3179,7 +3179,7 @@ function Gt({
3179
3179
  attrs: {
3180
3180
  class: "sidebar",
3181
3181
  "data-set-surface": o,
3182
- id: k,
3182
+ id: m,
3183
3183
  tabindex: "-1"
3184
3184
  },
3185
3185
  children: u
@@ -3193,11 +3193,11 @@ function Gt({
3193
3193
  ]
3194
3194
  };
3195
3195
  }
3196
- function oi(t) {
3197
- return h(Gt(t));
3196
+ function si(t) {
3197
+ return h(Ft(t));
3198
3198
  }
3199
- function Zt() {
3200
- if (customElements.get(Z)) return;
3199
+ function jt() {
3200
+ if (customElements.get(j)) return;
3201
3201
  class t extends HTMLElement {
3202
3202
  #t;
3203
3203
  #e;
@@ -3241,10 +3241,10 @@ function Zt() {
3241
3241
  #l() {
3242
3242
  const e = this.#d();
3243
3243
  if (!e || e.querySelector('[data-part="close"]')) return;
3244
- const i = e.querySelector(".header"), r = this.getAttribute("data-collapse-label") || _, a = this.getAttribute("data-button-size") ?? "md";
3244
+ const i = e.querySelector(".header"), r = this.getAttribute("data-collapse-label") || V, a = this.getAttribute("data-button-size") ?? "md";
3245
3245
  i?.insertAdjacentHTML(
3246
3246
  "beforeend",
3247
- $t(r, a)
3247
+ Zt(r, a)
3248
3248
  );
3249
3249
  }
3250
3250
  #o() {
@@ -3319,7 +3319,7 @@ function Zt() {
3319
3319
  }
3320
3320
  #f() {
3321
3321
  const e = this.ownerDocument.defaultView;
3322
- e && (typeof e.matchMedia == "function" && (this.#t = e.matchMedia(Ut), this.#n = () => {
3322
+ e && (typeof e.matchMedia == "function" && (this.#t = e.matchMedia(Gt), this.#n = () => {
3323
3323
  this.#g();
3324
3324
  }, this.#t.addEventListener("change", this.#n), this.#g()), this.#e = (i) => {
3325
3325
  const r = i.target;
@@ -3346,13 +3346,13 @@ function Zt() {
3346
3346
  this.#e && this.removeEventListener("click", this.#e), this.#i && this.removeEventListener("keydown", this.#i), this.#t && this.#n && this.#t.removeEventListener("change", this.#n), this.#e = void 0, this.#i = void 0, this.#t = void 0, this.#n = void 0;
3347
3347
  }
3348
3348
  }
3349
- customElements.define(Z, t);
3349
+ customElements.define(j, t);
3350
3350
  }
3351
- const di = {
3351
+ const li = {
3352
3352
  name: "sidebar",
3353
3353
  description: "Use `sidebar` for a side panel alongside main content.",
3354
3354
  output: {
3355
- element: Z,
3355
+ element: j,
3356
3356
  class: "set-sidebar"
3357
3357
  },
3358
3358
  content: {
@@ -3382,7 +3382,7 @@ const di = {
3382
3382
  type: { kind: "html" }
3383
3383
  },
3384
3384
  collapseLabel: {
3385
- default: _,
3385
+ default: V,
3386
3386
  description: "Accessible label for the collapse button.",
3387
3387
  type: { kind: "string" }
3388
3388
  },
@@ -3407,7 +3407,7 @@ const di = {
3407
3407
  }
3408
3408
  },
3409
3409
  triggerLabel: {
3410
- default: J,
3410
+ default: et,
3411
3411
  description: "Accessible label for the open button.",
3412
3412
  type: { kind: "string" }
3413
3413
  }
@@ -3439,7 +3439,7 @@ const di = {
3439
3439
  of: {
3440
3440
  kind: "when-equals",
3441
3441
  prop: "collapseLabel",
3442
- to: _
3442
+ to: V
3443
3443
  }
3444
3444
  }
3445
3445
  ]
@@ -3472,8 +3472,8 @@ const di = {
3472
3472
  }
3473
3473
  ]
3474
3474
  }
3475
- }, F = "set-video";
3476
- function Ft({
3475
+ }, K = "set-video";
3476
+ function Kt({
3477
3477
  autoPlay: t,
3478
3478
  controls: n,
3479
3479
  fit: e = "intrinsic",
@@ -3487,10 +3487,10 @@ function Ft({
3487
3487
  src: p,
3488
3488
  width: c
3489
3489
  }) {
3490
- const u = g(r), k = p.trim(), b = s?.trim();
3491
- if (!k)
3490
+ const u = g(r), m = p.trim(), y = s?.trim();
3491
+ if (!m)
3492
3492
  throw new Error("src must be a non-empty string.");
3493
- const m = {
3493
+ const k = {
3494
3494
  kind: "element",
3495
3495
  tag: "video",
3496
3496
  attrs: {
@@ -3501,30 +3501,30 @@ function Ft({
3501
3501
  loop: !!a,
3502
3502
  muted: !!d,
3503
3503
  playsinline: !!o,
3504
- poster: b || void 0,
3504
+ poster: y || void 0,
3505
3505
  preload: l,
3506
- src: k,
3506
+ src: m,
3507
3507
  width: c ? String(c) : void 0
3508
3508
  },
3509
3509
  children: []
3510
3510
  };
3511
3511
  return {
3512
3512
  kind: "element",
3513
- tag: F,
3513
+ tag: K,
3514
3514
  attrs: {
3515
3515
  class: "set-video",
3516
3516
  "data-fluid": e === "fluid",
3517
3517
  id: u
3518
3518
  },
3519
- children: [m]
3519
+ children: [k]
3520
3520
  };
3521
3521
  }
3522
- function si(t) {
3523
- return h(Ft(t));
3522
+ function pi(t) {
3523
+ return h(Kt(t));
3524
3524
  }
3525
- const jt = "(prefers-reduced-motion: reduce)";
3526
- function Kt() {
3527
- if (customElements.get(F)) return;
3525
+ const Xt = "(prefers-reduced-motion: reduce)";
3526
+ function Qt() {
3527
+ if (customElements.get(K)) return;
3528
3528
  class t extends HTMLElement {
3529
3529
  #t = !1;
3530
3530
  #e;
@@ -3533,7 +3533,7 @@ function Kt() {
3533
3533
  const e = this.querySelector("video");
3534
3534
  if (!e || (this.#t ||= e.hasAttribute("autoplay"), !this.#t)) return;
3535
3535
  const i = this.ownerDocument.defaultView;
3536
- !i || typeof i.matchMedia != "function" || (this.#e = i.matchMedia(jt), this.#i = () => {
3536
+ !i || typeof i.matchMedia != "function" || (this.#e = i.matchMedia(Xt), this.#i = () => {
3537
3537
  this.#n();
3538
3538
  }, this.#e.addEventListener("change", this.#i), this.#n());
3539
3539
  }
@@ -3546,12 +3546,12 @@ function Kt() {
3546
3546
  })));
3547
3547
  }
3548
3548
  }
3549
- customElements.define(F, t);
3549
+ customElements.define(K, t);
3550
3550
  }
3551
- const li = {
3551
+ const ci = {
3552
3552
  name: "video",
3553
3553
  description: "Use `video` to render a video with intrinsic or fluid fit and native playback behavior.",
3554
- output: { element: F, class: "set-video" },
3554
+ output: { element: K, class: "set-video" },
3555
3555
  content: { kind: "none" },
3556
3556
  props: {
3557
3557
  autoPlay: {
@@ -3676,54 +3676,54 @@ const li = {
3676
3676
  ]
3677
3677
  }
3678
3678
  };
3679
- function Xt(t) {
3679
+ function Yt(t) {
3680
3680
  return t ? /[A-Za-z]/.test(t) : !1;
3681
3681
  }
3682
- function Qt(t) {
3682
+ function Jt(t) {
3683
3683
  return /^[a-z]/.test(t);
3684
3684
  }
3685
- function T(t) {
3685
+ function D(t) {
3686
3686
  const n = t.charAt(0);
3687
- return Xt(n) ? n : void 0;
3687
+ return Yt(n) ? n : void 0;
3688
3688
  }
3689
- function Yt(t) {
3690
- const n = D(t);
3689
+ function te(t) {
3690
+ const n = N(t);
3691
3691
  if (!n) return;
3692
- const e = n.split(" "), i = T(e[0]);
3692
+ const e = n.split(" "), i = D(e[0]);
3693
3693
  if (!i) return;
3694
3694
  const r = [i.toUpperCase()];
3695
3695
  if (e.length === 1)
3696
3696
  return r[0];
3697
- const a = e.slice(1).find(Qt);
3697
+ const a = e.slice(1).find(Jt);
3698
3698
  if (a) {
3699
- const o = T(a);
3699
+ const o = D(a);
3700
3700
  return o ? `${r[0]}${o}` : void 0;
3701
3701
  }
3702
3702
  if (e.length === 2) {
3703
- const o = T(e[1]);
3703
+ const o = D(e[1]);
3704
3704
  if (!o) return;
3705
3705
  r.push(o);
3706
3706
  const s = e[1].split("-").filter(Boolean);
3707
3707
  if (s.length === 2) {
3708
- const l = T(s[1]);
3708
+ const l = D(s[1]);
3709
3709
  l && r.push(l);
3710
3710
  }
3711
3711
  return r.slice(0, 3).join("");
3712
3712
  }
3713
3713
  if (e.length === 3) {
3714
- const o = T(e[1]), s = T(e[2]);
3714
+ const o = D(e[1]), s = D(e[2]);
3715
3715
  return !o || !s ? void 0 : (r.push(o, s), r.slice(0, 3).join(""));
3716
3716
  }
3717
- const d = T(e.at(-1) || "");
3717
+ const d = D(e.at(-1) || "");
3718
3718
  if (d)
3719
3719
  return r.push(d), r.slice(0, 3).join("");
3720
3720
  }
3721
- const Jt = {
3721
+ const ee = {
3722
3722
  bot: "robot-1",
3723
3723
  organization: "city-6",
3724
3724
  person: "user-1",
3725
3725
  team: "member"
3726
- }, at = [
3726
+ }, ot = [
3727
3727
  "01",
3728
3728
  "02",
3729
3729
  "03",
@@ -3734,15 +3734,15 @@ const Jt = {
3734
3734
  "08",
3735
3735
  "09"
3736
3736
  ];
3737
- function te(t) {
3737
+ function ie(t) {
3738
3738
  let n = 5381;
3739
3739
  for (const e of t)
3740
3740
  n = n * 33 ^ e.charCodeAt(0);
3741
3741
  return n >>> 0;
3742
3742
  }
3743
- function ee(t) {
3743
+ function ne(t) {
3744
3744
  if (t == null) return;
3745
- const n = D(t);
3745
+ const n = N(t);
3746
3746
  if (n) {
3747
3747
  if (n.length > 3)
3748
3748
  throw new Error("initials must normalize to 3 characters or fewer.");
@@ -3751,26 +3751,26 @@ function ee(t) {
3751
3751
  return n;
3752
3752
  }
3753
3753
  }
3754
- function ie({
3754
+ function re({
3755
3755
  alt: t,
3756
3756
  ariaHidden: n,
3757
3757
  name: e
3758
3758
  }) {
3759
3759
  if (!n)
3760
- return D(t) || D(e) || "Avatar";
3760
+ return N(t) || N(e) || "Avatar";
3761
3761
  }
3762
- function ne({
3762
+ function ae({
3763
3763
  color: t,
3764
3764
  name: n
3765
3765
  }) {
3766
3766
  if (t) return t;
3767
3767
  if (n) {
3768
- const e = te(n) % at.length;
3769
- return at[e];
3768
+ const e = ie(n) % ot.length;
3769
+ return ot[e];
3770
3770
  }
3771
3771
  return "neutral";
3772
3772
  }
3773
- function re({
3773
+ function oe({
3774
3774
  alt: t,
3775
3775
  ariaHidden: n,
3776
3776
  color: e,
@@ -3781,60 +3781,60 @@ function re({
3781
3781
  size: o = "md",
3782
3782
  src: s
3783
3783
  }) {
3784
- const l = g(r), p = ee(a), c = D(d), u = D(s), k = ie({
3784
+ const l = g(r), p = ne(a), c = N(d), u = N(s), m = re({
3785
3785
  alt: t,
3786
3786
  ariaHidden: n,
3787
3787
  name: c
3788
- }), b = p || Yt(c), m = !!u, f = ne({
3788
+ }), y = p || te(c), k = !!u, v = ae({
3789
3789
  color: e,
3790
3790
  name: c
3791
- }), E = {
3791
+ }), C = {
3792
3792
  "aria-hidden": n ? "true" : void 0,
3793
- "aria-label": !n && !m ? k : void 0,
3793
+ "aria-label": !n && !k ? m : void 0,
3794
3794
  class: "set-avatar",
3795
- "data-color": f === "neutral" ? void 0 : f,
3795
+ "data-color": v === "neutral" ? void 0 : v,
3796
3796
  "data-entity": i === "person" ? void 0 : i,
3797
3797
  "data-size": o,
3798
3798
  id: l,
3799
- role: !n && !m ? "img" : void 0
3799
+ role: !n && !k ? "img" : void 0
3800
3800
  };
3801
3801
  let S;
3802
- return m ? S = {
3802
+ return k ? S = {
3803
3803
  kind: "element",
3804
3804
  tag: "img",
3805
3805
  attrs: {
3806
- alt: n ? "" : k || "",
3806
+ alt: n ? "" : m || "",
3807
3807
  class: "img",
3808
3808
  src: u
3809
3809
  },
3810
3810
  children: []
3811
- } : b ? S = {
3811
+ } : y ? S = {
3812
3812
  kind: "element",
3813
3813
  tag: "span",
3814
3814
  attrs: { class: "initials" },
3815
- children: [{ kind: "text", value: b }]
3815
+ children: [{ kind: "text", value: y }]
3816
3816
  } : S = {
3817
3817
  kind: "element",
3818
3818
  tag: "span",
3819
3819
  attrs: { class: "icon-wrapper" },
3820
3820
  children: [
3821
- H({
3821
+ O({
3822
3822
  ariaHidden: !0,
3823
- name: Jt[i],
3823
+ name: ee[i],
3824
3824
  size: "fill"
3825
3825
  })
3826
3826
  ]
3827
3827
  }, {
3828
3828
  kind: "element",
3829
3829
  tag: "span",
3830
- attrs: E,
3830
+ attrs: C,
3831
3831
  children: [S]
3832
3832
  };
3833
3833
  }
3834
- function pi(t) {
3835
- return h(re(t));
3834
+ function ui(t) {
3835
+ return h(oe(t));
3836
3836
  }
3837
- const ci = {
3837
+ const hi = {
3838
3838
  name: "avatar",
3839
3839
  description: "Use `avatar` to visually represent a person, team, or entity.",
3840
3840
  output: { element: "span", class: "set-avatar" },
@@ -3941,7 +3941,7 @@ const ci = {
3941
3941
  ]
3942
3942
  }
3943
3943
  };
3944
- function ae({
3944
+ function de({
3945
3945
  floating: t,
3946
3946
  id: n,
3947
3947
  label: e,
@@ -3962,10 +3962,10 @@ function ae({
3962
3962
  children: [{ kind: "text", value: e }]
3963
3963
  };
3964
3964
  }
3965
- function ui(t) {
3966
- return h(ae(t));
3965
+ function mi(t) {
3966
+ return h(de(t));
3967
3967
  }
3968
- const hi = {
3968
+ const ki = {
3969
3969
  name: "badge",
3970
3970
  description: "Use `badge` to annotate content with a short label.",
3971
3971
  output: { element: "span", class: "set-badge" },
@@ -4034,7 +4034,7 @@ const hi = {
4034
4034
  ]
4035
4035
  }
4036
4036
  };
4037
- function j({
4037
+ function X({
4038
4038
  align: t,
4039
4039
  as: n,
4040
4040
  children: e,
@@ -4046,13 +4046,13 @@ function j({
4046
4046
  size: s = "md",
4047
4047
  tone: l = "default"
4048
4048
  }) {
4049
- const p = g(i), c = n === "p" ? "p" : "span", u = c === "p", k = u ? t ?? "start" : void 0;
4049
+ const p = g(i), c = n === "p" ? "p" : "span", u = c === "p", m = u ? t ?? "start" : void 0;
4050
4050
  return {
4051
4051
  kind: "element",
4052
4052
  tag: c,
4053
4053
  attrs: {
4054
4054
  class: "set-text",
4055
- "data-align": k && k !== "start" ? k : void 0,
4055
+ "data-align": m && m !== "start" ? m : void 0,
4056
4056
  "data-link-visited": r ? void 0 : "off",
4057
4057
  "data-measured": u ? a ?? !0 : void 0,
4058
4058
  "data-monospaced": d,
@@ -4064,10 +4064,10 @@ function j({
4064
4064
  children: [{ kind: "raw", html: e }]
4065
4065
  };
4066
4066
  }
4067
- function mi(t) {
4068
- return h(j(t));
4067
+ function gi(t) {
4068
+ return h(X(t));
4069
4069
  }
4070
- const ki = {
4070
+ const bi = {
4071
4071
  name: "text",
4072
4072
  description: "Use `text` for inline or paragraph body copy.",
4073
4073
  output: {
@@ -4191,7 +4191,7 @@ const ki = {
4191
4191
  ]
4192
4192
  }
4193
4193
  };
4194
- function oe({
4194
+ function se({
4195
4195
  align: t = "start",
4196
4196
  attribution: n,
4197
4197
  id: e,
@@ -4215,7 +4215,7 @@ function oe({
4215
4215
  tag: "blockquote",
4216
4216
  attrs: { class: "quote" },
4217
4217
  children: [
4218
- j({
4218
+ X({
4219
4219
  align: t,
4220
4220
  as: "p",
4221
4221
  children: r,
@@ -4230,7 +4230,7 @@ function oe({
4230
4230
  tag: "figcaption",
4231
4231
  attrs: { class: "attribution" },
4232
4232
  children: [
4233
- j({
4233
+ X({
4234
4234
  as: "span",
4235
4235
  children: n,
4236
4236
  responsive: a,
@@ -4241,10 +4241,10 @@ function oe({
4241
4241
  ]
4242
4242
  };
4243
4243
  }
4244
- function gi(t) {
4245
- return h(oe(t));
4244
+ function vi(t) {
4245
+ return h(se(t));
4246
4246
  }
4247
- const bi = {
4247
+ const fi = {
4248
4248
  name: "blockquote",
4249
4249
  description: "Use `blockquote` to display a quote with attribution.",
4250
4250
  output: { element: "figure", class: "set-blockquote" },
@@ -4313,7 +4313,7 @@ const bi = {
4313
4313
  ]
4314
4314
  }
4315
4315
  };
4316
- function de({
4316
+ function le({
4317
4317
  background: t = "default",
4318
4318
  border: n,
4319
4319
  children: e,
@@ -4342,10 +4342,10 @@ function de({
4342
4342
  children: e ? [{ kind: "raw", html: e }] : []
4343
4343
  };
4344
4344
  }
4345
- function vi(t) {
4346
- return h(de(t));
4345
+ function yi(t) {
4346
+ return h(le(t));
4347
4347
  }
4348
- const fi = {
4348
+ const wi = {
4349
4349
  name: "box",
4350
4350
  description: "Use `box` to inset content.",
4351
4351
  output: { element: "div", class: "set-box" },
@@ -4458,7 +4458,7 @@ const fi = {
4458
4458
  ]
4459
4459
  }
4460
4460
  };
4461
- function se({
4461
+ function pe({
4462
4462
  description: t,
4463
4463
  headingLevel: n,
4464
4464
  href: e,
@@ -4480,7 +4480,7 @@ function se({
4480
4480
  tag: "span",
4481
4481
  attrs: { class: "icon-wrapper" },
4482
4482
  children: [
4483
- H({
4483
+ O({
4484
4484
  ariaHidden: !0,
4485
4485
  mirrored: "rtl",
4486
4486
  name: "arrow-right",
@@ -4524,10 +4524,10 @@ function se({
4524
4524
  children: c
4525
4525
  };
4526
4526
  }
4527
- function yi(t) {
4528
- return h(se(t));
4527
+ function Si(t) {
4528
+ return h(pe(t));
4529
4529
  }
4530
- const wi = {
4530
+ const xi = {
4531
4531
  name: "card",
4532
4532
  description: "Use `card` to display a summary for a single topic.",
4533
4533
  output: {
@@ -4595,7 +4595,7 @@ const wi = {
4595
4595
  ]
4596
4596
  }
4597
4597
  };
4598
- function le({
4598
+ function ce({
4599
4599
  checked: t,
4600
4600
  description: n,
4601
4601
  disabled: e,
@@ -4610,7 +4610,7 @@ function le({
4610
4610
  const p = g(i), c = n?.trim();
4611
4611
  if (c && !p)
4612
4612
  throw new Error("id must be provided when description is provided.");
4613
- const u = c ? `${p}-description` : void 0, k = !!e, m = [
4613
+ const u = c ? `${p}-description` : void 0, m = !!e, k = [
4614
4614
  {
4615
4615
  kind: "element",
4616
4616
  tag: "label",
@@ -4621,10 +4621,10 @@ function le({
4621
4621
  tag: "input",
4622
4622
  attrs: {
4623
4623
  "aria-describedby": u,
4624
- "aria-invalid": !k && !!r ? "true" : void 0,
4624
+ "aria-invalid": !m && !!r ? "true" : void 0,
4625
4625
  checked: !!t,
4626
4626
  class: "checkbox",
4627
- disabled: k,
4627
+ disabled: m,
4628
4628
  id: p,
4629
4629
  name: d || void 0,
4630
4630
  required: !!o,
@@ -4642,7 +4642,7 @@ function le({
4642
4642
  ]
4643
4643
  }
4644
4644
  ];
4645
- return c && m.push({
4645
+ return c && k.push({
4646
4646
  kind: "element",
4647
4647
  tag: "p",
4648
4648
  attrs: { class: "description", id: u },
@@ -4651,13 +4651,13 @@ function le({
4651
4651
  kind: "element",
4652
4652
  tag: "div",
4653
4653
  attrs: { class: "set-checkbox", "data-size": s },
4654
- children: m
4654
+ children: k
4655
4655
  };
4656
4656
  }
4657
- function Si(t) {
4658
- return h(le(t));
4657
+ function Ei(t) {
4658
+ return h(ce(t));
4659
4659
  }
4660
- const xi = {
4660
+ const zi = {
4661
4661
  name: "checkbox",
4662
4662
  description: "Use `checkbox` to let users toggle a single option on or off.",
4663
4663
  output: { element: "div", class: "set-checkbox" },
@@ -4787,7 +4787,7 @@ const xi = {
4787
4787
  ]
4788
4788
  }
4789
4789
  };
4790
- function pe({
4790
+ function ue({
4791
4791
  children: t,
4792
4792
  gutter: n = "default",
4793
4793
  id: e,
@@ -4806,10 +4806,10 @@ function pe({
4806
4806
  children: t ? [{ kind: "raw", html: t }] : []
4807
4807
  };
4808
4808
  }
4809
- function Ei(t) {
4810
- return h(pe(t));
4809
+ function Ci(t) {
4810
+ return h(ue(t));
4811
4811
  }
4812
- const zi = {
4812
+ const Li = {
4813
4813
  name: "container",
4814
4814
  description: "Use `container` to wrap page-level content.",
4815
4815
  output: { element: "div", class: "set-container" },
@@ -4866,7 +4866,7 @@ const zi = {
4866
4866
  ]
4867
4867
  }
4868
4868
  };
4869
- function ce({
4869
+ function he({
4870
4870
  children: t,
4871
4871
  id: n,
4872
4872
  open: e,
@@ -4894,7 +4894,7 @@ function ce({
4894
4894
  tag: "span",
4895
4895
  attrs: { class: "marker" },
4896
4896
  children: [
4897
- H({
4897
+ O({
4898
4898
  ariaHidden: !0,
4899
4899
  name: "chevron-right",
4900
4900
  size: "sm"
@@ -4918,10 +4918,10 @@ function ce({
4918
4918
  ]
4919
4919
  };
4920
4920
  }
4921
- function Ci(t) {
4922
- return h(ce(t));
4921
+ function Mi(t) {
4922
+ return h(he(t));
4923
4923
  }
4924
- const Li = {
4924
+ const qi = {
4925
4925
  name: "details",
4926
4926
  description: "Use `details` to let users expand and collapse a section of content.",
4927
4927
  output: { element: "details", class: "set-details" },
@@ -4980,7 +4980,7 @@ const Li = {
4980
4980
  ]
4981
4981
  }
4982
4982
  };
4983
- function ue({
4983
+ function me({
4984
4984
  id: t,
4985
4985
  orientation: n = "horizontal",
4986
4986
  tone: e = "default"
@@ -4999,10 +4999,10 @@ function ue({
4999
4999
  children: []
5000
5000
  };
5001
5001
  }
5002
- function Mi(t = {}) {
5003
- return h(ue(t));
5002
+ function Ii(t = {}) {
5003
+ return h(me(t));
5004
5004
  }
5005
- const qi = {
5005
+ const Ti = {
5006
5006
  name: "divider",
5007
5007
  description: "Use `divider` to separate sections with a rule.",
5008
5008
  output: {
@@ -5064,7 +5064,7 @@ const qi = {
5064
5064
  ]
5065
5065
  }
5066
5066
  };
5067
- function gt({
5067
+ function bt({
5068
5068
  children: t,
5069
5069
  description: n,
5070
5070
  disabled: e,
@@ -5107,10 +5107,10 @@ function gt({
5107
5107
  children: u
5108
5108
  };
5109
5109
  }
5110
- function Ii(t) {
5111
- return h(gt(t));
5110
+ function Ai(t) {
5111
+ return h(bt(t));
5112
5112
  }
5113
- const Ti = {
5113
+ const _i = {
5114
5114
  name: "fieldset",
5115
5115
  description: "Use `fieldset` to group related form controls under a legend.",
5116
5116
  output: { element: "fieldset", class: "set-fieldset" },
@@ -5198,7 +5198,7 @@ const Ti = {
5198
5198
  ]
5199
5199
  }
5200
5200
  };
5201
- function he({
5201
+ function ke({
5202
5202
  align: t = "start",
5203
5203
  caption: n,
5204
5204
  children: e,
@@ -5221,7 +5221,7 @@ function he({
5221
5221
  tag: "figcaption",
5222
5222
  attrs: { class: "figcaption" },
5223
5223
  children: [
5224
- j({
5224
+ X({
5225
5225
  as: "span",
5226
5226
  children: n,
5227
5227
  responsive: r,
@@ -5232,10 +5232,10 @@ function he({
5232
5232
  ]
5233
5233
  };
5234
5234
  }
5235
- function Ai(t) {
5236
- return h(he(t));
5235
+ function Di(t) {
5236
+ return h(ke(t));
5237
5237
  }
5238
- const _i = {
5238
+ const Hi = {
5239
5239
  name: "figure",
5240
5240
  description: "Use `figure` to present media with a caption.",
5241
5241
  output: { element: "figure", class: "set-figure" },
@@ -5297,7 +5297,7 @@ const _i = {
5297
5297
  if (t !== void 0)
5298
5298
  return String(t);
5299
5299
  };
5300
- function me({
5300
+ function ge({
5301
5301
  children: t,
5302
5302
  gap: n = "default",
5303
5303
  id: e
@@ -5321,10 +5321,10 @@ function me({
5321
5321
  ]
5322
5322
  };
5323
5323
  }
5324
- function Di(t) {
5325
- return h(me(t));
5324
+ function Vi(t) {
5325
+ return h(ge(t));
5326
5326
  }
5327
- function ke({
5327
+ function be({
5328
5328
  align: t,
5329
5329
  children: n,
5330
5330
  colSpan: e,
@@ -5338,11 +5338,11 @@ function ke({
5338
5338
  rowSpan: p,
5339
5339
  rowSpanNarrow: c,
5340
5340
  rowSpanWide: u,
5341
- rowStart: k,
5342
- rowStartNarrow: b,
5343
- rowStartWide: m
5341
+ rowStart: m,
5342
+ rowStartNarrow: y,
5343
+ rowStartWide: k
5344
5344
  }) {
5345
- const f = g(s);
5345
+ const v = g(s);
5346
5346
  return {
5347
5347
  kind: "element",
5348
5348
  tag: "div",
@@ -5357,20 +5357,20 @@ function ke({
5357
5357
  "data-col-span-wide": L(r),
5358
5358
  "data-col-start-wide": L(o),
5359
5359
  "data-row-span-narrow": L(c),
5360
- "data-row-start-narrow": L(b),
5360
+ "data-row-start-narrow": L(y),
5361
5361
  "data-row-span": L(p),
5362
- "data-row-start": L(k),
5362
+ "data-row-start": L(m),
5363
5363
  "data-row-span-wide": L(u),
5364
- "data-row-start-wide": L(m),
5365
- id: f
5364
+ "data-row-start-wide": L(k),
5365
+ id: v
5366
5366
  },
5367
5367
  children: n ? [{ kind: "raw", html: n }] : []
5368
5368
  };
5369
5369
  }
5370
- function Hi(t) {
5371
- return h(ke(t));
5370
+ function Ni(t) {
5371
+ return h(be(t));
5372
5372
  }
5373
- const Vi = {
5373
+ const Oi = {
5374
5374
  name: "grid",
5375
5375
  description: "Use `grid` to lay out content in a 12-column responsive grid.",
5376
5376
  output: { element: "div", class: "set-grid" },
@@ -5416,7 +5416,7 @@ const Vi = {
5416
5416
  min: 1,
5417
5417
  max: 12,
5418
5418
  integer: !0
5419
- }, Ni = {
5419
+ }, Pi = {
5420
5420
  name: "grid-item",
5421
5421
  description: "Use `grid-item` to place content within a `grid` layout.",
5422
5422
  output: { element: "div", class: "set-grid-item" },
@@ -5583,7 +5583,7 @@ const Vi = {
5583
5583
  ]
5584
5584
  }
5585
5585
  };
5586
- function ge({
5586
+ function ve({
5587
5587
  align: t = "start",
5588
5588
  id: n,
5589
5589
  level: e,
@@ -5607,10 +5607,10 @@ function ge({
5607
5607
  children: [{ kind: "text", value: d }]
5608
5608
  };
5609
5609
  }
5610
- function Oi(t) {
5611
- return h(ge(t));
5610
+ function Bi(t) {
5611
+ return h(ve(t));
5612
5612
  }
5613
- const Pi = {
5613
+ const Ri = {
5614
5614
  name: "heading",
5615
5615
  description: "Use `heading` to render heading text with consistent type.",
5616
5616
  output: {
@@ -5705,104 +5705,124 @@ const Pi = {
5705
5705
  ]
5706
5706
  }
5707
5707
  };
5708
- function be({
5709
- alt: t = "",
5710
- aspectRatio: n,
5711
- fit: e = "intrinsic",
5712
- gravity: i = "C",
5713
- height: r,
5714
- id: a,
5715
- lazy: d,
5716
- priority: o,
5717
- radius: s,
5718
- shadow: l,
5719
- sizes: p,
5720
- sources: c,
5721
- src: u,
5722
- srcSet: k,
5723
- width: b
5708
+ function fe({
5709
+ adaptive: t,
5710
+ alt: n = "",
5711
+ aspectRatio: e,
5712
+ fit: i = "intrinsic",
5713
+ gravity: r = "C",
5714
+ height: a,
5715
+ id: d,
5716
+ lazy: o,
5717
+ priority: s,
5718
+ radius: l,
5719
+ shadow: p,
5720
+ sizes: c,
5721
+ sources: u,
5722
+ src: m,
5723
+ srcSet: y,
5724
+ width: k
5724
5725
  }) {
5725
- const m = e === "cover", f = g(a), E = u.trim(), S = k?.trim(), v = p?.trim(), y = c?.map((z, C) => {
5726
- const A = z.srcSet.trim(), N = z.media?.trim(), it = z.type?.trim(), O = z.sizes?.trim();
5727
- if (!A)
5728
- throw new Error(`sources[${C}].srcSet must be non-empty.`);
5726
+ const v = i === "cover", C = g(d), S = m.trim(), b = y?.trim(), x = c?.trim(), w = u?.map((f, q) => {
5727
+ const _ = f.srcSet.trim(), z = f.media?.trim(), B = f.type?.trim(), yt = f.sizes?.trim();
5728
+ if (!_)
5729
+ throw new Error(`sources[${q}].srcSet must be non-empty.`);
5729
5730
  return {
5730
- height: z.height,
5731
- media: N || void 0,
5732
- sizes: O || void 0,
5733
- srcSet: A,
5734
- type: it || void 0,
5735
- width: z.width
5731
+ height: f.height,
5732
+ media: z || void 0,
5733
+ sizes: yt || void 0,
5734
+ srcSet: _,
5735
+ type: B || void 0,
5736
+ width: f.width
5736
5737
  };
5737
5738
  }) || [];
5738
- if (!E)
5739
+ if (!S)
5739
5740
  throw new Error("src must be a non-empty string.");
5740
- const w = {
5741
- kind: "element",
5742
- tag: "img",
5743
- attrs: {
5744
- alt: t,
5745
- class: "img",
5746
- fetchpriority: o ? "high" : void 0,
5747
- height: m ? void 0 : r ? String(r) : void 0,
5748
- loading: d && !o ? "lazy" : void 0,
5749
- sizes: y.length > 0 ? void 0 : v || void 0,
5750
- src: E,
5751
- srcset: S || void 0,
5752
- width: m ? void 0 : b ? String(b) : void 0
5753
- },
5754
- children: []
5755
- };
5756
- let x;
5757
- if (y.length > 0) {
5758
- const z = y.map((C) => ({
5741
+ if (t && [
5742
+ S,
5743
+ b,
5744
+ ...w.map((f) => f.srcSet)
5745
+ ].some((f) => f?.includes("#")))
5746
+ throw new Error("adaptive sources must not contain URL fragments.");
5747
+ const E = (f, q) => f.split(/,\s+/).map((_) => {
5748
+ const [z, ...B] = _.trim().split(/\s+/);
5749
+ if (!z || B.length > 1)
5750
+ throw new Error(
5751
+ "adaptive srcSet candidates must be a URL plus at most one descriptor, separated by a comma and whitespace."
5752
+ );
5753
+ return [`${z}#${q}`, ...B].join(" ");
5754
+ }).join(", "), T = (f) => {
5755
+ const q = {
5756
+ kind: "element",
5757
+ tag: "img",
5758
+ attrs: {
5759
+ alt: n,
5760
+ class: "img",
5761
+ "data-scheme": f && w.length === 0 ? f : void 0,
5762
+ fetchpriority: s ? "high" : void 0,
5763
+ height: v ? void 0 : a ? String(a) : void 0,
5764
+ loading: o && !s ? "lazy" : void 0,
5765
+ sizes: w.length > 0 ? void 0 : x || void 0,
5766
+ src: f ? `${S}#${f}` : S,
5767
+ srcset: b && f ? E(b, f) : b || void 0,
5768
+ width: v ? void 0 : k ? String(k) : void 0
5769
+ },
5770
+ children: []
5771
+ };
5772
+ if (w.length === 0)
5773
+ return q;
5774
+ const _ = w.map((z) => ({
5759
5775
  kind: "element",
5760
5776
  tag: "source",
5761
5777
  attrs: {
5762
- height: C.height ? String(C.height) : void 0,
5763
- media: C.media,
5764
- sizes: C.sizes,
5765
- srcset: C.srcSet,
5766
- type: C.type,
5767
- width: C.width ? String(C.width) : void 0
5778
+ height: z.height ? String(z.height) : void 0,
5779
+ media: z.media,
5780
+ sizes: z.sizes,
5781
+ srcset: f ? E(z.srcSet, f) : z.srcSet,
5782
+ type: z.type,
5783
+ width: z.width ? String(z.width) : void 0
5768
5784
  },
5769
5785
  children: []
5770
5786
  }));
5771
- x = {
5787
+ return {
5772
5788
  kind: "element",
5773
5789
  tag: "picture",
5774
- attrs: {},
5775
- children: [...z, w]
5790
+ attrs: { "data-scheme": f },
5791
+ children: [..._, q]
5776
5792
  };
5777
- } else
5778
- x = w;
5779
- const q = [];
5780
- return r && q.push(`--set-image-block-size: ${r / 16}rem`), b && q.push(`--set-image-inline-size: ${b / 16}rem`), {
5793
+ }, H = t ? [T("light"), T("dark")] : [T()], A = [];
5794
+ return a && A.push(`--set-image-block-size: ${a / 16}rem`), k && A.push(`--set-image-inline-size: ${k / 16}rem`), {
5781
5795
  kind: "element",
5782
5796
  tag: "div",
5783
5797
  attrs: {
5784
5798
  class: "set-image",
5785
- "data-aspect-ratio": m && !r ? n : void 0,
5786
- "data-fluid": e === "fluid",
5787
- "data-gravity": m && i !== "C" ? i : void 0,
5788
- "data-shadow": !!l,
5789
- "data-object-fit": m ? "cover" : void 0,
5790
- "data-radius": !!s,
5791
- id: f,
5792
- style: q.length > 0 ? q.join("; ") : void 0
5793
- },
5794
- children: [x]
5799
+ "data-adaptive": !!t,
5800
+ "data-aspect-ratio": v && !a ? e : void 0,
5801
+ "data-fluid": i === "fluid",
5802
+ "data-gravity": v && r !== "C" ? r : void 0,
5803
+ "data-shadow": !!p,
5804
+ "data-object-fit": v ? "cover" : void 0,
5805
+ "data-radius": !!l,
5806
+ id: C,
5807
+ style: A.length > 0 ? A.join("; ") : void 0
5808
+ },
5809
+ children: H
5795
5810
  };
5796
5811
  }
5797
- function ve(t) {
5798
- return h(be(t));
5812
+ function ye(t) {
5813
+ return h(fe(t));
5799
5814
  }
5800
- const Bi = {
5815
+ const Wi = {
5801
5816
  name: "image",
5802
5817
  description: "Use `image` to render a responsive image with intrinsic, fluid, or cover fit, and optional art-directed `sources`.",
5803
5818
  output: { element: "div", class: "set-image" },
5804
5819
  content: { kind: "none" },
5805
5820
  props: {
5821
+ adaptive: {
5822
+ default: !1,
5823
+ description: "Shows the image's light or dark variant to match the surrounding color scheme. Use with adaptive assets exported from Screen, which carry both variants in one file; the component selects one by adding `#light`/`#dark` to the URL.",
5824
+ type: { kind: "boolean" }
5825
+ },
5806
5826
  alt: {
5807
5827
  default: "",
5808
5828
  description: "Alternative text. Leave empty for decorative images.",
@@ -5913,6 +5933,11 @@ const Bi = {
5913
5933
  events: {},
5914
5934
  rules: {
5915
5935
  attributes: [
5936
+ {
5937
+ target: { on: "host" },
5938
+ attribute: "data-adaptive",
5939
+ condition: { kind: "when-truthy", prop: "adaptive" }
5940
+ },
5916
5941
  {
5917
5942
  target: { on: "host" },
5918
5943
  attribute: "data-object-fit",
@@ -5985,7 +6010,7 @@ const Bi = {
5985
6010
  ]
5986
6011
  }
5987
6012
  };
5988
- function fe({
6013
+ function we({
5989
6014
  align: t = "center",
5990
6015
  as: n = "div",
5991
6016
  children: e,
@@ -6009,10 +6034,10 @@ function fe({
6009
6034
  children: e ? [{ kind: "raw", html: e }] : []
6010
6035
  };
6011
6036
  }
6012
- function Ri(t) {
6013
- return h(fe(t));
6037
+ function Ui(t) {
6038
+ return h(we(t));
6014
6039
  }
6015
- const Wi = {
6040
+ const $i = {
6016
6041
  name: "inline",
6017
6042
  description: "Use `inline` to lay out content in a horizontal row.",
6018
6043
  output: {
@@ -6097,7 +6122,7 @@ const Wi = {
6097
6122
  ]
6098
6123
  }
6099
6124
  };
6100
- function ye({
6125
+ function Se({
6101
6126
  autocomplete: t,
6102
6127
  description: n,
6103
6128
  disabled: e,
@@ -6111,21 +6136,21 @@ function ye({
6111
6136
  size: p = "md",
6112
6137
  spellcheck: c,
6113
6138
  type: u = "text",
6114
- value: k,
6115
- inlineSize: b = "full"
6139
+ value: m,
6140
+ inlineSize: y = "full"
6116
6141
  }) {
6117
- const m = i.trim(), f = n?.trim(), E = t === !1 ? !1 : t?.trim(), S = d?.trim(), v = o?.trim(), y = k;
6118
- if (!m)
6142
+ const k = i.trim(), v = n?.trim(), C = t === !1 ? !1 : t?.trim(), S = d?.trim(), b = o?.trim(), x = m;
6143
+ if (!k)
6119
6144
  throw new Error("id must be a non-empty string.");
6120
- if (!I(m))
6145
+ if (!I(k))
6121
6146
  throw new Error(
6122
6147
  "id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
6123
6148
  );
6124
- const w = f ? `${m}-description` : void 0, x = u === "numeric", q = x ? "text" : u, z = v || (x ? "^[0-9]*$" : void 0), C = c === void 0 && x ? !1 : c, A = !!e, N = !A && !!s, O = [
6149
+ const w = v ? `${k}-description` : void 0, E = u === "numeric", T = E ? "text" : u, H = b || (E ? "^[0-9]*$" : void 0), A = c === void 0 && E ? !1 : c, f = !!e, q = !f && !!s, z = [
6125
6150
  {
6126
6151
  kind: "element",
6127
6152
  tag: "label",
6128
- attrs: { class: "label", for: m },
6153
+ attrs: { class: "label", for: k },
6129
6154
  children: [{ kind: "text", value: a }]
6130
6155
  },
6131
6156
  {
@@ -6133,43 +6158,43 @@ function ye({
6133
6158
  tag: "input",
6134
6159
  attrs: {
6135
6160
  "aria-describedby": w,
6136
- "aria-invalid": !A && !N && !!r ? "true" : void 0,
6137
- autocomplete: E === !1 ? "off" : E || void 0,
6161
+ "aria-invalid": !f && !q && !!r ? "true" : void 0,
6162
+ autocomplete: C === !1 ? "off" : C || void 0,
6138
6163
  class: "input",
6139
- disabled: A,
6140
- id: m,
6141
- inputmode: x ? "numeric" : void 0,
6164
+ disabled: f,
6165
+ id: k,
6166
+ inputmode: E ? "numeric" : void 0,
6142
6167
  name: S || void 0,
6143
- pattern: z,
6144
- readonly: N,
6168
+ pattern: H,
6169
+ readonly: q,
6145
6170
  required: !!l,
6146
- spellcheck: C === void 0 ? void 0 : String(C),
6147
- type: q,
6148
- value: y
6171
+ spellcheck: A === void 0 ? void 0 : String(A),
6172
+ type: T,
6173
+ value: x
6149
6174
  },
6150
6175
  children: []
6151
6176
  }
6152
6177
  ];
6153
- return f && O.push({
6178
+ return v && z.push({
6154
6179
  kind: "element",
6155
6180
  tag: "p",
6156
6181
  attrs: { class: "description", id: w },
6157
- children: [{ kind: "text", value: f }]
6182
+ children: [{ kind: "text", value: v }]
6158
6183
  }), {
6159
6184
  kind: "element",
6160
6185
  tag: "div",
6161
6186
  attrs: {
6162
6187
  class: "set-input",
6163
6188
  "data-size": p,
6164
- "data-inline-size": b === "fit" ? "fit" : void 0
6189
+ "data-inline-size": y === "fit" ? "fit" : void 0
6165
6190
  },
6166
- children: O
6191
+ children: z
6167
6192
  };
6168
6193
  }
6169
- function Ui(t) {
6170
- return h(ye(t));
6194
+ function Gi(t) {
6195
+ return h(Se(t));
6171
6196
  }
6172
- const $i = {
6197
+ const Zi = {
6173
6198
  name: "input",
6174
6199
  description: "Use `input` to collect a single line of text from users.",
6175
6200
  output: { element: "div", class: "set-input" },
@@ -6364,7 +6389,7 @@ const $i = {
6364
6389
  }
6365
6390
  ]
6366
6391
  }
6367
- }, we = "0 0 6714.6 1200", Se = "0 0 600 1200", xe = [
6392
+ }, xe = "0 0 6714.6 1200", Ee = "0 0 600 1200", ze = [
6368
6393
  { x: 0, y: 0 },
6369
6394
  { x: 300, y: 0 },
6370
6395
  { x: 150, y: 300 },
@@ -6373,11 +6398,11 @@ const $i = {
6373
6398
  { x: 300, y: 600 },
6374
6399
  { x: 150, y: 900 },
6375
6400
  { x: 450, y: 900 }
6376
- ], Ee = "M0 956h98V571L87 391h2l124 320h89l123-320h3l-11 180v385h98V276H384L260 608h-5L131 276H0zm879.94 10c184 0 223-46 223-272 0-225-39-271-223-271-186 0-224 46-224 271 0 226 38 272 224 272m0-93c-102 0-123-30-123-179 0-147 21-177 123-177 100 0 121 30 121 177 0 149-21 179-121 179m361.44 83h103V686c0-141 20-169 112-169 73 0 88 18 88 107v332h103V624c0-167-28-202-163-202-95 0-120 16-147 92h-5v-82h-91zm769.16 10c184 0 223-46 223-272 0-225-39-271-223-271-186 0-224 46-224 271 0 226 38 272 224 272m0-93c-102 0-123-30-123-179 0-147 21-177 123-177 100 0 121 30 121 177 0 149-21 179-121 179m363.25-65c-4 132 30 158 202 158 173 0 208-25 208-150 0-118-33-146-191-170-94-14-114-26-114-74 0-50 18-60 103-60 76 0 92 9 96 52h97c-3-118-36-142-194-142-166 0-201 25-201 146 0 114 31 141 182 162 101 13 122 28 122 82 0 53-18 64-103 64-88 0-107-11-110-68zm558.97 363h102V902h5c20 54 41 64 123 64 160 0 193-45 193-270 0-227-34-274-198-274-83 0-105 11-123 65h-4v-55h-98zm209-298c-93 0-112-30-112-179 0-148 19-178 112-178s113 30 113 179c0 148-20 178-113 178m656.46 83h88V610c0-156-34-187-197-187-150 0-181 27-179 157h97c1-61 15-74 85-74 82 0 99 18 99 105v24h-72c-187 0-226 30-226 179 0 126 28 152 162 152 92 0 116-13 138-74h5zm-8-243c-1 135-22 163-119 163-65 0-79-13-79-75 0-74 18-88 107-88zm551.75 95c-10 56-26 67-89 67-100 0-121-31-121-181s20-181 117-181c65 0 81 14 91 79h101c-4-141-37-170-188-170-185 0-224 46-224 272s39 272 226 272c147 0 179-26 186-158zm547.03 9c-15 48-31 58-96 58-96 0-117-23-123-136h324c5-263-32-317-214-317-172 0-207 46-207 271 0 227 38 273 223 273 139 0 172-25 190-149zm-218-160c4-122 24-146 114-146 88 0 108 24 112 146zm787.56 299h93l-1-734h-102l1 266h-5c-19-54-40-65-120-65-162 0-196 46-196 272s35 271 200 271c84 0 105-11 125-65h5zm-115-82c-94 0-114-30-114-180s20-180 114-180c93 0 112 30 112 180s-19 180-112 180", ze = 1163, bt = () => ({
6401
+ ], Ce = "M0 956h98V571L87 391h2l124 320h89l123-320h3l-11 180v385h98V276H384L260 608h-5L131 276H0zm879.94 10c184 0 223-46 223-272 0-225-39-271-223-271-186 0-224 46-224 271 0 226 38 272 224 272m0-93c-102 0-123-30-123-179 0-147 21-177 123-177 100 0 121 30 121 177 0 149-21 179-121 179m361.44 83h103V686c0-141 20-169 112-169 73 0 88 18 88 107v332h103V624c0-167-28-202-163-202-95 0-120 16-147 92h-5v-82h-91zm769.16 10c184 0 223-46 223-272 0-225-39-271-223-271-186 0-224 46-224 271 0 226 38 272 224 272m0-93c-102 0-123-30-123-179 0-147 21-177 123-177 100 0 121 30 121 177 0 149-21 179-121 179m363.25-65c-4 132 30 158 202 158 173 0 208-25 208-150 0-118-33-146-191-170-94-14-114-26-114-74 0-50 18-60 103-60 76 0 92 9 96 52h97c-3-118-36-142-194-142-166 0-201 25-201 146 0 114 31 141 182 162 101 13 122 28 122 82 0 53-18 64-103 64-88 0-107-11-110-68zm558.97 363h102V902h5c20 54 41 64 123 64 160 0 193-45 193-270 0-227-34-274-198-274-83 0-105 11-123 65h-4v-55h-98zm209-298c-93 0-112-30-112-179 0-148 19-178 112-178s113 30 113 179c0 148-20 178-113 178m656.46 83h88V610c0-156-34-187-197-187-150 0-181 27-179 157h97c1-61 15-74 85-74 82 0 99 18 99 105v24h-72c-187 0-226 30-226 179 0 126 28 152 162 152 92 0 116-13 138-74h5zm-8-243c-1 135-22 163-119 163-65 0-79-13-79-75 0-74 18-88 107-88zm551.75 95c-10 56-26 67-89 67-100 0-121-31-121-181s20-181 117-181c65 0 81 14 91 79h101c-4-141-37-170-188-170-185 0-224 46-224 272s39 272 226 272c147 0 179-26 186-158zm547.03 9c-15 48-31 58-96 58-96 0-117-23-123-136h324c5-263-32-317-214-317-172 0-207 46-207 271 0 227 38 273 223 273 139 0 172-25 190-149zm-218-160c4-122 24-146 114-146 88 0 108 24 112 146zm787.56 299h93l-1-734h-102l1 266h-5c-19-54-40-65-120-65-162 0-196 46-196 272s35 271 200 271c84 0 105-11 125-65h5zm-115-82c-94 0-114-30-114-180s20-180 114-180c93 0 112 30 112 180s-19 180-112 180", Le = 1163, vt = () => ({
6377
6402
  kind: "element",
6378
6403
  tag: "g",
6379
6404
  attrs: { class: "mark" },
6380
- children: xe.map(({ x: t, y: n }) => ({
6405
+ children: ze.map(({ x: t, y: n }) => ({
6381
6406
  kind: "element",
6382
6407
  tag: "rect",
6383
6408
  attrs: {
@@ -6388,19 +6413,19 @@ const $i = {
6388
6413
  },
6389
6414
  children: []
6390
6415
  }))
6391
- }), Ce = () => ({
6416
+ }), Me = () => ({
6392
6417
  kind: "element",
6393
6418
  tag: "g",
6394
- attrs: { class: "word", transform: `translate(${ze} 0)` },
6419
+ attrs: { class: "word", transform: `translate(${Le} 0)` },
6395
6420
  children: [
6396
6421
  {
6397
6422
  kind: "element",
6398
6423
  tag: "path",
6399
- attrs: { d: Ee },
6424
+ attrs: { d: Ce },
6400
6425
  children: []
6401
6426
  }
6402
6427
  ]
6403
- }), vt = (t, n) => ({
6428
+ }), ft = (t, n) => ({
6404
6429
  kind: "element",
6405
6430
  tag: "svg",
6406
6431
  attrs: {
@@ -6410,13 +6435,13 @@ const $i = {
6410
6435
  },
6411
6436
  children: n
6412
6437
  });
6413
- function Le() {
6414
- return vt(we, [bt(), Ce()]);
6438
+ function qe() {
6439
+ return ft(xe, [vt(), Me()]);
6415
6440
  }
6416
- function Me() {
6417
- return vt(Se, [bt()]);
6441
+ function Ie() {
6442
+ return ft(Ee, [vt()]);
6418
6443
  }
6419
- function qe({
6444
+ function Te({
6420
6445
  animated: t,
6421
6446
  id: n,
6422
6447
  label: e,
@@ -6433,7 +6458,7 @@ function qe({
6433
6458
  }
6434
6459
  ];
6435
6460
  return o && s.push(
6436
- a === "graphic" ? Me() : Le()
6461
+ a === "graphic" ? Ie() : qe()
6437
6462
  ), {
6438
6463
  kind: "element",
6439
6464
  tag: "div",
@@ -6448,10 +6473,10 @@ function qe({
6448
6473
  children: s
6449
6474
  };
6450
6475
  }
6451
- function Gi(t) {
6452
- return h(qe(t));
6476
+ function Fi(t) {
6477
+ return h(Te(t));
6453
6478
  }
6454
- const Zi = {
6479
+ const ji = {
6455
6480
  name: "logo",
6456
6481
  description: "Use `logo` to display the brand mark.",
6457
6482
  output: { element: "div", class: "set-logo" },
@@ -6539,7 +6564,7 @@ const Zi = {
6539
6564
  ]
6540
6565
  }
6541
6566
  };
6542
- function Ie({
6567
+ function Ae({
6543
6568
  banner: t,
6544
6569
  centerMain: n,
6545
6570
  children: e,
@@ -6580,10 +6605,10 @@ function Ie({
6580
6605
  children: p
6581
6606
  };
6582
6607
  }
6583
- function Fi(t) {
6584
- return h(Ie(t));
6608
+ function Ki(t) {
6609
+ return h(Ae(t));
6585
6610
  }
6586
- const ji = {
6611
+ const Xi = {
6587
6612
  name: "page",
6588
6613
  description: "Use `page` as the primary layout for header, main, and footer regions.",
6589
6614
  output: { element: "div", class: "set-page" },
@@ -6673,7 +6698,7 @@ const ji = {
6673
6698
  ]
6674
6699
  }
6675
6700
  };
6676
- function Te({
6701
+ function _e({
6677
6702
  children: t,
6678
6703
  id: n,
6679
6704
  padding: e = "md",
@@ -6692,10 +6717,10 @@ function Te({
6692
6717
  children: t ? [{ kind: "raw", html: t }] : []
6693
6718
  };
6694
6719
  }
6695
- function Ki(t) {
6696
- return h(Te(t));
6720
+ function Qi(t) {
6721
+ return h(_e(t));
6697
6722
  }
6698
- const Xi = {
6723
+ const Yi = {
6699
6724
  name: "panel",
6700
6725
  description: "Use `panel` to group related content in a contained region.",
6701
6726
  output: { element: "div", class: "set-panel" },
@@ -6746,7 +6771,7 @@ const Xi = {
6746
6771
  ]
6747
6772
  }
6748
6773
  };
6749
- function Ae({
6774
+ function De({
6750
6775
  children: t,
6751
6776
  id: n,
6752
6777
  size: e = "md",
@@ -6767,10 +6792,10 @@ function Ae({
6767
6792
  children: t ? [{ kind: "raw", html: t }] : []
6768
6793
  };
6769
6794
  }
6770
- function Qi(t = {}) {
6771
- return h(Ae(t));
6795
+ function Ji(t = {}) {
6796
+ return h(De(t));
6772
6797
  }
6773
- const Yi = {
6798
+ const tn = {
6774
6799
  name: "pattern",
6775
6800
  description: "Use `pattern` to render repeated visual language components behind content.",
6776
6801
  output: { element: "div", class: "set-pattern" },
@@ -6837,15 +6862,15 @@ const Yi = {
6837
6862
  ]
6838
6863
  }
6839
6864
  };
6840
- function Ji(t) {
6841
- return ve({
6865
+ function en(t) {
6866
+ return ye({
6842
6867
  ...t,
6843
6868
  alt: "",
6844
6869
  fit: "cover",
6845
6870
  priority: !0
6846
6871
  });
6847
6872
  }
6848
- function _e({
6873
+ function He({
6849
6874
  children: t,
6850
6875
  contentTheme: n,
6851
6876
  id: e,
@@ -6877,10 +6902,10 @@ function _e({
6877
6902
  children: o
6878
6903
  };
6879
6904
  }
6880
- function tn(t) {
6881
- return h(_e(t));
6905
+ function nn(t) {
6906
+ return h(He(t));
6882
6907
  }
6883
- const en = {
6908
+ const rn = {
6884
6909
  name: "poster",
6885
6910
  description: "Use `poster` to layer content over background media.",
6886
6911
  output: { element: "div", class: "set-poster" },
@@ -6898,6 +6923,7 @@ const en = {
6898
6923
  },
6899
6924
  contentTheme: {
6900
6925
  description: "Absolute theme lock for foreground content over non-themeable media.",
6926
+ ignoredWhen: "`media` is adaptive (it matches the surrounding scheme by itself)",
6901
6927
  type: { kind: "enum", values: ["light", "dark"] }
6902
6928
  },
6903
6929
  id: {
@@ -6950,7 +6976,7 @@ const en = {
6950
6976
  ]
6951
6977
  }
6952
6978
  };
6953
- function De({
6979
+ function Ve({
6954
6980
  align: t = "start",
6955
6981
  children: n,
6956
6982
  hangingPunctuation: e,
@@ -6977,10 +7003,10 @@ function De({
6977
7003
  children: [{ kind: "raw", html: n }]
6978
7004
  };
6979
7005
  }
6980
- function nn(t) {
6981
- return h(De(t));
7006
+ function an(t) {
7007
+ return h(Ve(t));
6982
7008
  }
6983
- const rn = {
7009
+ const on = {
6984
7010
  name: "prose",
6985
7011
  description: "Use `prose` to style rich-text markup.",
6986
7012
  output: { element: "div", class: "set-prose" },
@@ -7074,7 +7100,7 @@ const rn = {
7074
7100
  ]
7075
7101
  }
7076
7102
  };
7077
- function He({
7103
+ function Ne({
7078
7104
  description: t,
7079
7105
  disabled: n,
7080
7106
  id: e,
@@ -7087,7 +7113,7 @@ function He({
7087
7113
  size: l = "md",
7088
7114
  value: p
7089
7115
  }) {
7090
- const c = e.trim(), u = d.trim(), k = p?.trim();
7116
+ const c = e.trim(), u = d.trim(), m = p?.trim();
7091
7117
  if (!c)
7092
7118
  throw new Error("id must be a non-empty string.");
7093
7119
  if (!I(c))
@@ -7098,23 +7124,23 @@ function He({
7098
7124
  throw new Error("name must be a non-empty string.");
7099
7125
  if (r.length < 2)
7100
7126
  throw new Error("radios must include at least 2 options.");
7101
- const b = r.map((v, y) => {
7102
- const w = v.value.trim(), x = v.label.trim(), q = v.description?.trim();
7127
+ const y = r.map((b, x) => {
7128
+ const w = b.value.trim(), E = b.label.trim(), T = b.description?.trim();
7103
7129
  if (!w)
7104
- throw new Error(`radios[${y}].value must be non-empty.`);
7105
- if (!x)
7106
- throw new Error(`radios[${y}].label must be non-empty.`);
7130
+ throw new Error(`radios[${x}].value must be non-empty.`);
7131
+ if (!E)
7132
+ throw new Error(`radios[${x}].label must be non-empty.`);
7107
7133
  return {
7108
- description: q,
7109
- disabled: !!v.disabled,
7110
- label: x,
7134
+ description: T,
7135
+ disabled: !!b.disabled,
7136
+ label: E,
7111
7137
  value: w
7112
7138
  };
7113
7139
  });
7114
- if (new Set(b.map((v) => v.value)).size !== b.length)
7140
+ if (new Set(y.map((b) => b.value)).size !== y.length)
7115
7141
  throw new Error("radios values must be unique.");
7116
- const f = !!n, E = b.map((v) => {
7117
- const y = !!v.disabled, w = v.description ? `${c}-${v.value}-description` : void 0, x = [
7142
+ const v = !!n, C = y.map((b) => {
7143
+ const x = !!b.disabled, w = b.description ? `${c}-${b.value}-description` : void 0, E = [
7118
7144
  {
7119
7145
  kind: "element",
7120
7146
  tag: "label",
@@ -7125,13 +7151,13 @@ function He({
7125
7151
  tag: "input",
7126
7152
  attrs: {
7127
7153
  "aria-describedby": w,
7128
- checked: k === v.value,
7154
+ checked: m === b.value,
7129
7155
  class: "radio",
7130
- disabled: y,
7156
+ disabled: x,
7131
7157
  name: u,
7132
- required: !!s && !f && !y,
7158
+ required: !!s && !v && !x,
7133
7159
  type: "radio",
7134
- value: v.value
7160
+ value: b.value
7135
7161
  },
7136
7162
  children: []
7137
7163
  },
@@ -7139,24 +7165,24 @@ function He({
7139
7165
  kind: "element",
7140
7166
  tag: "span",
7141
7167
  attrs: {},
7142
- children: [{ kind: "text", value: v.label }]
7168
+ children: [{ kind: "text", value: b.label }]
7143
7169
  }
7144
7170
  ]
7145
7171
  }
7146
7172
  ];
7147
- return v.description && x.push({
7173
+ return b.description && E.push({
7148
7174
  kind: "element",
7149
7175
  tag: "p",
7150
7176
  attrs: { class: "radio-description", id: w },
7151
- children: [{ kind: "text", value: v.description }]
7177
+ children: [{ kind: "text", value: b.description }]
7152
7178
  }), {
7153
7179
  kind: "element",
7154
7180
  tag: "div",
7155
7181
  attrs: { class: "radio-field" },
7156
- children: x
7182
+ children: E
7157
7183
  };
7158
7184
  });
7159
- return gt({
7185
+ return bt({
7160
7186
  children: h({
7161
7187
  kind: "element",
7162
7188
  tag: "div",
@@ -7165,19 +7191,19 @@ function He({
7165
7191
  "data-orientation": o,
7166
7192
  "data-size": l
7167
7193
  },
7168
- children: E
7194
+ children: C
7169
7195
  }),
7170
7196
  description: t,
7171
- disabled: f,
7197
+ disabled: v,
7172
7198
  id: c,
7173
7199
  invalid: i,
7174
7200
  legend: a
7175
7201
  });
7176
7202
  }
7177
- function an(t) {
7178
- return h(He(t));
7203
+ function dn(t) {
7204
+ return h(Ne(t));
7179
7205
  }
7180
- const on = {
7206
+ const sn = {
7181
7207
  name: "radios",
7182
7208
  description: "Use `radios` to let users select one option from a short list.",
7183
7209
  output: { element: "fieldset", class: "set-fieldset" },
@@ -7326,7 +7352,7 @@ const on = {
7326
7352
  ]
7327
7353
  }
7328
7354
  };
7329
- function Ve({
7355
+ function Oe({
7330
7356
  appOverscrollBehavior: t,
7331
7357
  appRoot: n,
7332
7358
  brand: e = "mnsp",
@@ -7353,10 +7379,10 @@ function Ve({
7353
7379
  children: i ? [{ kind: "raw", html: i }] : []
7354
7380
  };
7355
7381
  }
7356
- function dn(t) {
7357
- return h(Ve(t));
7382
+ function ln(t) {
7383
+ return h(Oe(t));
7358
7384
  }
7359
- const sn = {
7385
+ const pn = {
7360
7386
  name: "root",
7361
7387
  description: "Mandatory top-level `root` wrapper for the Set system.",
7362
7388
  output: { element: "div", class: "set" },
@@ -7449,7 +7475,7 @@ const sn = {
7449
7475
  ]
7450
7476
  }
7451
7477
  };
7452
- function Ne({
7478
+ function Pe({
7453
7479
  id: t,
7454
7480
  label: n,
7455
7481
  size: e = "md",
@@ -7506,10 +7532,10 @@ function Ne({
7506
7532
  children: d
7507
7533
  };
7508
7534
  }
7509
- function ln(t = {}) {
7510
- return h(Ne(t));
7535
+ function cn(t = {}) {
7536
+ return h(Pe(t));
7511
7537
  }
7512
- const pn = {
7538
+ const un = {
7513
7539
  name: "spinner",
7514
7540
  description: "Use `spinner` to indicate loading or in-progress state.",
7515
7541
  output: { element: "span", class: "set-spinner" },
@@ -7567,7 +7593,7 @@ const pn = {
7567
7593
  ]
7568
7594
  }
7569
7595
  };
7570
- function Oe({
7596
+ function Be({
7571
7597
  align: t = "stretch",
7572
7598
  as: n = "div",
7573
7599
  children: e,
@@ -7589,10 +7615,10 @@ function Oe({
7589
7615
  children: e ? [{ kind: "raw", html: e }] : []
7590
7616
  };
7591
7617
  }
7592
- function cn(t) {
7593
- return h(Oe(t));
7618
+ function hn(t) {
7619
+ return h(Be(t));
7594
7620
  }
7595
- const un = {
7621
+ const mn = {
7596
7622
  name: "stack",
7597
7623
  description: "Use `stack` to lay out content in a vertical column.",
7598
7624
  output: {
@@ -7618,7 +7644,7 @@ const un = {
7618
7644
  gap: {
7619
7645
  default: "md",
7620
7646
  description: "Space between children.",
7621
- type: { kind: "enum", values: ["none", "xs", "sm", "md", "lg"] }
7647
+ type: { kind: "enum", values: ["none", "xs", "sm", "md", "lg", "xl"] }
7622
7648
  },
7623
7649
  id: {
7624
7650
  description: "DOM id.",
@@ -7663,7 +7689,7 @@ const un = {
7663
7689
  ]
7664
7690
  }
7665
7691
  };
7666
- function Pe({
7692
+ function Re({
7667
7693
  children: t,
7668
7694
  contentTheme: n,
7669
7695
  id: e,
@@ -7682,10 +7708,10 @@ function Pe({
7682
7708
  children: [{ kind: "raw", html: t }]
7683
7709
  };
7684
7710
  }
7685
- function hn(t) {
7686
- return h(Pe(t));
7711
+ function kn(t) {
7712
+ return h(Re(t));
7687
7713
  }
7688
- const mn = {
7714
+ const gn = {
7689
7715
  name: "surface",
7690
7716
  description: "Use `surface` to set a colour context for nested content.",
7691
7717
  output: { element: "div", class: "set-surface" },
@@ -7737,7 +7763,7 @@ const mn = {
7737
7763
  ]
7738
7764
  }
7739
7765
  };
7740
- function Be({
7766
+ function We({
7741
7767
  checked: t,
7742
7768
  description: n,
7743
7769
  disabled: e,
@@ -7793,10 +7819,10 @@ function Be({
7793
7819
  children: c
7794
7820
  };
7795
7821
  }
7796
- function kn(t) {
7797
- return h(Be(t));
7822
+ function bn(t) {
7823
+ return h(We(t));
7798
7824
  }
7799
- const gn = {
7825
+ const vn = {
7800
7826
  name: "switch",
7801
7827
  description: "Use `switch` to let users instantly toggle a setting on or off.",
7802
7828
  output: { element: "div", class: "set-switch" },
@@ -7904,7 +7930,7 @@ const gn = {
7904
7930
  ]
7905
7931
  }
7906
7932
  };
7907
- function Re({
7933
+ function Ue({
7908
7934
  autocomplete: t,
7909
7935
  description: n,
7910
7936
  disabled: e,
@@ -7918,49 +7944,49 @@ function Re({
7918
7944
  rows: p = 2,
7919
7945
  size: c = "md",
7920
7946
  spellcheck: u,
7921
- value: k,
7922
- inlineSize: b = "full"
7947
+ value: m,
7948
+ inlineSize: y = "full"
7923
7949
  }) {
7924
- const m = i.trim(), f = n?.trim(), E = t === !1 ? !1 : t?.trim(), S = d?.trim(), v = k;
7925
- if (!m)
7950
+ const k = i.trim(), v = n?.trim(), C = t === !1 ? !1 : t?.trim(), S = d?.trim(), b = m;
7951
+ if (!k)
7926
7952
  throw new Error("id must be a non-empty string.");
7927
- if (!I(m))
7953
+ if (!I(k))
7928
7954
  throw new Error(
7929
7955
  "id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
7930
7956
  );
7931
7957
  if (!Number.isInteger(p) || p < 2)
7932
7958
  throw new Error("rows must be an integer greater than or equal to 2.");
7933
- const y = f ? `${m}-description` : void 0, w = !!e, x = !w && !!o, z = [
7959
+ const x = v ? `${k}-description` : void 0, w = !!e, E = !w && !!o, H = [
7934
7960
  {
7935
7961
  kind: "element",
7936
7962
  tag: "label",
7937
- attrs: { class: "label", for: m },
7963
+ attrs: { class: "label", for: k },
7938
7964
  children: [{ kind: "text", value: a }]
7939
7965
  },
7940
7966
  {
7941
7967
  kind: "element",
7942
7968
  tag: "textarea",
7943
7969
  attrs: {
7944
- "aria-describedby": y,
7945
- "aria-invalid": !w && !x && !!r ? "true" : void 0,
7946
- autocomplete: E === !1 ? "off" : E || void 0,
7970
+ "aria-describedby": x,
7971
+ "aria-invalid": !w && !E && !!r ? "true" : void 0,
7972
+ autocomplete: C === !1 ? "off" : C || void 0,
7947
7973
  class: "textarea",
7948
7974
  disabled: w,
7949
- id: m,
7975
+ id: k,
7950
7976
  name: S || void 0,
7951
- readonly: x,
7977
+ readonly: E,
7952
7978
  required: !!s,
7953
7979
  rows: String(p),
7954
7980
  spellcheck: u === void 0 ? void 0 : String(u)
7955
7981
  },
7956
- children: [{ kind: "text", value: v || "" }]
7982
+ children: [{ kind: "text", value: b || "" }]
7957
7983
  }
7958
7984
  ];
7959
- return f && z.push({
7985
+ return v && H.push({
7960
7986
  kind: "element",
7961
7987
  tag: "p",
7962
- attrs: { class: "description", id: y },
7963
- children: [{ kind: "text", value: f }]
7988
+ attrs: { class: "description", id: x },
7989
+ children: [{ kind: "text", value: v }]
7964
7990
  }), {
7965
7991
  kind: "element",
7966
7992
  tag: "div",
@@ -7968,15 +7994,15 @@ function Re({
7968
7994
  class: "set-textarea",
7969
7995
  "data-resize": l === "none" ? "none" : void 0,
7970
7996
  "data-size": c,
7971
- "data-inline-size": b === "fit" ? "fit" : void 0
7997
+ "data-inline-size": y === "fit" ? "fit" : void 0
7972
7998
  },
7973
- children: z
7999
+ children: H
7974
8000
  };
7975
8001
  }
7976
- function bn(t) {
7977
- return h(Re(t));
8002
+ function fn(t) {
8003
+ return h(Ue(t));
7978
8004
  }
7979
- const vn = {
8005
+ const yn = {
7980
8006
  name: "textarea",
7981
8007
  description: "Use `textarea` to collect multiple lines of text from users.",
7982
8008
  output: { element: "div", class: "set-textarea" },
@@ -8165,166 +8191,166 @@ const vn = {
8165
8191
  ]
8166
8192
  }
8167
8193
  };
8168
- function fn() {
8169
- Ct(), It(), Dt(), Vt(), Bt(), Wt(), Zt(), Kt();
8194
+ function wn() {
8195
+ Mt(), At(), Vt(), Ot(), Wt(), $t(), jt(), Qt();
8170
8196
  }
8171
8197
  export {
8172
- lt as SET_ALERT_EVENT_BEFORE_DISMISS,
8173
- pt as SET_ALERT_EVENT_DISMISS,
8174
- Ze as SET_ALERT_SPEC,
8175
- P as SET_ALERT_TAG_NAME,
8176
- ci as SET_AVATAR_SPEC,
8177
- hi as SET_BADGE_SPEC,
8178
- ut as SET_BANNER_EVENT_BEFORE_DISMISS,
8179
- ht as SET_BANNER_EVENT_DISMISS,
8180
- Xe as SET_BANNER_SPEC,
8181
- B as SET_BANNER_TAG_NAME,
8182
- bi as SET_BLOCKQUOTE_SPEC,
8183
- fi as SET_BOX_SPEC,
8184
- $e as SET_BUTTON_SPEC,
8185
- wi as SET_CARD_SPEC,
8186
- xi as SET_CHECKBOX_SPEC,
8187
- zi as SET_CONTAINER_SPEC,
8188
- Li as SET_DETAILS_SPEC,
8189
- qi as SET_DIVIDER_SPEC,
8190
- ei as SET_EXPANDER_SPEC,
8191
- Ti as SET_FIELDSET_SPEC,
8192
- _i as SET_FIGURE_SPEC,
8193
- Ni as SET_GRID_ITEM_SPEC,
8194
- Vi as SET_GRID_SPEC,
8195
- Pi as SET_HEADING_SPEC,
8196
- We as SET_ICON_NAMES,
8197
- Ue as SET_ICON_SPEC,
8198
- Bi as SET_IMAGE_SPEC,
8199
- Wi as SET_INLINE_SPEC,
8200
- $i as SET_INPUT_SPEC,
8201
- mt as SET_LIGHTSWITCH_EVENT_CHANGE,
8202
- Ye as SET_LIGHTSWITCH_SPEC,
8203
- K as SET_LIGHTSWITCH_STORAGE_KEY,
8204
- W as SET_LIGHTSWITCH_TAG_NAME,
8205
- je as SET_LINK_SPEC,
8206
- Zi as SET_LOGO_SPEC,
8207
- kt as SET_MENU_EVENT_CHOOSE,
8208
- ti as SET_MENU_SPEC,
8209
- U as SET_MENU_TAG_NAME,
8210
- ni as SET_NAV_SPEC,
8211
- $ as SET_NAV_TAG_NAME,
8212
- ji as SET_PAGE_SPEC,
8213
- Xi as SET_PANEL_SPEC,
8214
- Yi as SET_PATTERN_SPEC,
8215
- en as SET_POSTER_SPEC,
8216
- rn as SET_PROSE_SPEC,
8217
- on as SET_RADIOS_SPEC,
8218
- ai as SET_RANGE_SPEC,
8219
- G as SET_RANGE_TAG_NAME,
8220
- sn as SET_ROOT_SPEC,
8221
- di as SET_SIDEBAR_SPEC,
8222
- Z as SET_SIDEBAR_TAG_NAME,
8223
- pn as SET_SPINNER_SPEC,
8224
- un as SET_STACK_SPEC,
8225
- mn as SET_SURFACE_SPEC,
8226
- gn as SET_SWITCH_SPEC,
8227
- vn as SET_TEXTAREA_SPEC,
8228
- ki as SET_TEXT_SPEC,
8229
- li as SET_VIDEO_SPEC,
8230
- F as SET_VIDEO_TAG_NAME,
8231
- zt as buildSetAlert,
8232
- re as buildSetAvatar,
8233
- ae as buildSetBadge,
8234
- qt as buildSetBanner,
8235
- oe as buildSetBlockquote,
8236
- de as buildSetBox,
8237
- tt as buildSetButton,
8238
- se as buildSetCard,
8239
- le as buildSetCheckbox,
8240
- pe as buildSetContainer,
8241
- ce as buildSetDetails,
8242
- ue as buildSetDivider,
8243
- Nt as buildSetExpander,
8244
- gt as buildSetFieldset,
8245
- he as buildSetFigure,
8246
- me as buildSetGrid,
8247
- ke as buildSetGridItem,
8248
- ge as buildSetHeading,
8249
- H as buildSetIcon,
8250
- be as buildSetImage,
8251
- fe as buildSetInline,
8252
- ye as buildSetInput,
8253
- _t as buildSetLightswitch,
8254
- ct as buildSetLink,
8255
- qe as buildSetLogo,
8256
- Ht as buildSetMenu,
8257
- Pt as buildSetNav,
8258
- Ie as buildSetPage,
8259
- Te as buildSetPanel,
8260
- Ae as buildSetPattern,
8261
- _e as buildSetPoster,
8262
- De as buildSetProse,
8263
- He as buildSetRadios,
8264
- Rt as buildSetRange,
8265
- Ve as buildSetRoot,
8266
- Gt as buildSetSidebar,
8267
- Ne as buildSetSpinner,
8268
- Oe as buildSetStack,
8269
- Pe as buildSetSurface,
8270
- Be as buildSetSwitch,
8271
- j as buildSetText,
8272
- Re as buildSetTextarea,
8273
- Ft as buildSetVideo,
8274
- Ct as defineSetAlert,
8275
- It as defineSetBanner,
8276
- fn as defineSetComponents,
8277
- Dt as defineSetLightswitch,
8278
- Vt as defineSetMenu,
8279
- Bt as defineSetNav,
8280
- Wt as defineSetRange,
8281
- Zt as defineSetSidebar,
8282
- Kt as defineSetVideo,
8283
- Yt as getSetInitials,
8284
- Ge as renderSetAlert,
8285
- pi as renderSetAvatar,
8286
- ui as renderSetBadge,
8287
- Ke as renderSetBanner,
8288
- gi as renderSetBlockquote,
8289
- vi as renderSetBox,
8290
- et as renderSetButton,
8291
- yi as renderSetCard,
8292
- Si as renderSetCheckbox,
8293
- Ei as renderSetContainer,
8294
- Ci as renderSetDetails,
8295
- Mi as renderSetDivider,
8296
- Ot as renderSetExpander,
8297
- Ii as renderSetFieldset,
8298
- Ai as renderSetFigure,
8299
- Di as renderSetGrid,
8300
- Hi as renderSetGridItem,
8301
- Oi as renderSetHeading,
8302
- wt as renderSetIcon,
8303
- ve as renderSetImage,
8304
- Ri as renderSetInline,
8305
- Ui as renderSetInput,
8306
- Qe as renderSetLightswitch,
8307
- Fe as renderSetLink,
8308
- Gi as renderSetLogo,
8309
- Je as renderSetMenu,
8310
- ii as renderSetNav,
8311
- Fi as renderSetPage,
8312
- Ki as renderSetPanel,
8313
- Qi as renderSetPattern,
8314
- tn as renderSetPoster,
8315
- Ji as renderSetPosterImage,
8316
- nn as renderSetProse,
8317
- an as renderSetRadios,
8318
- ri as renderSetRange,
8319
- dn as renderSetRoot,
8320
- oi as renderSetSidebar,
8321
- ln as renderSetSpinner,
8322
- cn as renderSetStack,
8323
- hn as renderSetSurface,
8324
- kn as renderSetSwitch,
8325
- mi as renderSetText,
8326
- bn as renderSetTextarea,
8327
- si as renderSetVideo,
8198
+ pt as SET_ALERT_EVENT_BEFORE_DISMISS,
8199
+ ct as SET_ALERT_EVENT_DISMISS,
8200
+ je as SET_ALERT_SPEC,
8201
+ R as SET_ALERT_TAG_NAME,
8202
+ hi as SET_AVATAR_SPEC,
8203
+ ki as SET_BADGE_SPEC,
8204
+ ht as SET_BANNER_EVENT_BEFORE_DISMISS,
8205
+ mt as SET_BANNER_EVENT_DISMISS,
8206
+ Ye as SET_BANNER_SPEC,
8207
+ W as SET_BANNER_TAG_NAME,
8208
+ fi as SET_BLOCKQUOTE_SPEC,
8209
+ wi as SET_BOX_SPEC,
8210
+ Ze as SET_BUTTON_SPEC,
8211
+ xi as SET_CARD_SPEC,
8212
+ zi as SET_CHECKBOX_SPEC,
8213
+ Li as SET_CONTAINER_SPEC,
8214
+ qi as SET_DETAILS_SPEC,
8215
+ Ti as SET_DIVIDER_SPEC,
8216
+ ni as SET_EXPANDER_SPEC,
8217
+ _i as SET_FIELDSET_SPEC,
8218
+ Hi as SET_FIGURE_SPEC,
8219
+ Pi as SET_GRID_ITEM_SPEC,
8220
+ Oi as SET_GRID_SPEC,
8221
+ Ri as SET_HEADING_SPEC,
8222
+ $e as SET_ICON_NAMES,
8223
+ Ge as SET_ICON_SPEC,
8224
+ Wi as SET_IMAGE_SPEC,
8225
+ $i as SET_INLINE_SPEC,
8226
+ Zi as SET_INPUT_SPEC,
8227
+ kt as SET_LIGHTSWITCH_EVENT_CHANGE,
8228
+ ti as SET_LIGHTSWITCH_SPEC,
8229
+ Q as SET_LIGHTSWITCH_STORAGE_KEY,
8230
+ $ as SET_LIGHTSWITCH_TAG_NAME,
8231
+ Xe as SET_LINK_SPEC,
8232
+ ji as SET_LOGO_SPEC,
8233
+ gt as SET_MENU_EVENT_CHOOSE,
8234
+ ii as SET_MENU_SPEC,
8235
+ G as SET_MENU_TAG_NAME,
8236
+ ai as SET_NAV_SPEC,
8237
+ Z as SET_NAV_TAG_NAME,
8238
+ Xi as SET_PAGE_SPEC,
8239
+ Yi as SET_PANEL_SPEC,
8240
+ tn as SET_PATTERN_SPEC,
8241
+ rn as SET_POSTER_SPEC,
8242
+ on as SET_PROSE_SPEC,
8243
+ sn as SET_RADIOS_SPEC,
8244
+ di as SET_RANGE_SPEC,
8245
+ F as SET_RANGE_TAG_NAME,
8246
+ pn as SET_ROOT_SPEC,
8247
+ li as SET_SIDEBAR_SPEC,
8248
+ j as SET_SIDEBAR_TAG_NAME,
8249
+ un as SET_SPINNER_SPEC,
8250
+ mn as SET_STACK_SPEC,
8251
+ gn as SET_SURFACE_SPEC,
8252
+ vn as SET_SWITCH_SPEC,
8253
+ yn as SET_TEXTAREA_SPEC,
8254
+ bi as SET_TEXT_SPEC,
8255
+ ci as SET_VIDEO_SPEC,
8256
+ K as SET_VIDEO_TAG_NAME,
8257
+ Lt as buildSetAlert,
8258
+ oe as buildSetAvatar,
8259
+ de as buildSetBadge,
8260
+ Tt as buildSetBanner,
8261
+ se as buildSetBlockquote,
8262
+ le as buildSetBox,
8263
+ it as buildSetButton,
8264
+ pe as buildSetCard,
8265
+ ce as buildSetCheckbox,
8266
+ ue as buildSetContainer,
8267
+ he as buildSetDetails,
8268
+ me as buildSetDivider,
8269
+ Pt as buildSetExpander,
8270
+ bt as buildSetFieldset,
8271
+ ke as buildSetFigure,
8272
+ ge as buildSetGrid,
8273
+ be as buildSetGridItem,
8274
+ ve as buildSetHeading,
8275
+ O as buildSetIcon,
8276
+ fe as buildSetImage,
8277
+ we as buildSetInline,
8278
+ Se as buildSetInput,
8279
+ Ht as buildSetLightswitch,
8280
+ ut as buildSetLink,
8281
+ Te as buildSetLogo,
8282
+ Nt as buildSetMenu,
8283
+ Rt as buildSetNav,
8284
+ Ae as buildSetPage,
8285
+ _e as buildSetPanel,
8286
+ De as buildSetPattern,
8287
+ He as buildSetPoster,
8288
+ Ve as buildSetProse,
8289
+ Ne as buildSetRadios,
8290
+ Ut as buildSetRange,
8291
+ Oe as buildSetRoot,
8292
+ Ft as buildSetSidebar,
8293
+ Pe as buildSetSpinner,
8294
+ Be as buildSetStack,
8295
+ Re as buildSetSurface,
8296
+ We as buildSetSwitch,
8297
+ X as buildSetText,
8298
+ Ue as buildSetTextarea,
8299
+ Kt as buildSetVideo,
8300
+ Mt as defineSetAlert,
8301
+ At as defineSetBanner,
8302
+ wn as defineSetComponents,
8303
+ Vt as defineSetLightswitch,
8304
+ Ot as defineSetMenu,
8305
+ Wt as defineSetNav,
8306
+ $t as defineSetRange,
8307
+ jt as defineSetSidebar,
8308
+ Qt as defineSetVideo,
8309
+ te as getSetInitials,
8310
+ Fe as renderSetAlert,
8311
+ ui as renderSetAvatar,
8312
+ mi as renderSetBadge,
8313
+ Qe as renderSetBanner,
8314
+ vi as renderSetBlockquote,
8315
+ yi as renderSetBox,
8316
+ nt as renderSetButton,
8317
+ Si as renderSetCard,
8318
+ Ei as renderSetCheckbox,
8319
+ Ci as renderSetContainer,
8320
+ Mi as renderSetDetails,
8321
+ Ii as renderSetDivider,
8322
+ Bt as renderSetExpander,
8323
+ Ai as renderSetFieldset,
8324
+ Di as renderSetFigure,
8325
+ Vi as renderSetGrid,
8326
+ Ni as renderSetGridItem,
8327
+ Bi as renderSetHeading,
8328
+ xt as renderSetIcon,
8329
+ ye as renderSetImage,
8330
+ Ui as renderSetInline,
8331
+ Gi as renderSetInput,
8332
+ Je as renderSetLightswitch,
8333
+ Ke as renderSetLink,
8334
+ Fi as renderSetLogo,
8335
+ ei as renderSetMenu,
8336
+ ri as renderSetNav,
8337
+ Ki as renderSetPage,
8338
+ Qi as renderSetPanel,
8339
+ Ji as renderSetPattern,
8340
+ nn as renderSetPoster,
8341
+ en as renderSetPosterImage,
8342
+ an as renderSetProse,
8343
+ dn as renderSetRadios,
8344
+ oi as renderSetRange,
8345
+ ln as renderSetRoot,
8346
+ si as renderSetSidebar,
8347
+ cn as renderSetSpinner,
8348
+ hn as renderSetStack,
8349
+ kn as renderSetSurface,
8350
+ bn as renderSetSwitch,
8351
+ gi as renderSetText,
8352
+ fn as renderSetTextarea,
8353
+ pi as renderSetVideo,
8328
8354
  h as serializeSetNode
8329
8355
  };
8330
8356
  //# sourceMappingURL=index.js.map