@monospaced/set-core 0.12.0 → 0.14.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 wt = /* @__PURE__ */ new Set([
1
+ const Bt = /* @__PURE__ */ new Set([
2
2
  "area",
3
3
  "base",
4
4
  "br",
@@ -13,38 +13,38 @@ const wt = /* @__PURE__ */ new Set([
13
13
  "track",
14
14
  "wbr"
15
15
  ]);
16
- function dt(t) {
16
+ function yt(t) {
17
17
  return t.replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;").replaceAll('"', "&quot;").replaceAll("'", "&#39;");
18
18
  }
19
- function St(t) {
20
- return Object.entries(t).flatMap(([n, e]) => e === !1 || e == null ? [] : e === !0 ? [n] : [`${n}="${dt(String(e))}"`]).join(" ");
19
+ function Ot(t) {
20
+ return Object.entries(t).flatMap(([n, e]) => e === !1 || e == null ? [] : e === !0 ? [n] : [`${n}="${yt(String(e))}"`]).join(" ");
21
21
  }
22
- function h(t) {
23
- if (t.kind === "text") return dt(t.value);
22
+ function m(t) {
23
+ if (t.kind === "text") return yt(t.value);
24
24
  if (t.kind === "raw") return t.html;
25
- const n = St(t.attrs), e = n ? `<${t.tag} ${n}>` : `<${t.tag}>`;
26
- if (wt.has(t.tag)) return e;
27
- const i = t.children.map(h).join("");
25
+ const n = Ot(t.attrs), e = n ? `<${t.tag} ${n}>` : `<${t.tag}>`;
26
+ if (Bt.has(t.tag)) return e;
27
+ const i = t.children.map(m).join("");
28
28
  return `${e}${i}</${t.tag}>`;
29
29
  }
30
- function I(t) {
30
+ function V(t) {
31
31
  return /^[A-Za-z][\w:-]*$/.test(t);
32
32
  }
33
- function g(t) {
33
+ function v(t) {
34
34
  if (t === void 0) return;
35
35
  const n = t.trim();
36
36
  if (n) {
37
- if (!I(n))
37
+ if (!V(n))
38
38
  throw new Error(
39
39
  "id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
40
40
  );
41
41
  return n;
42
42
  }
43
43
  }
44
- function N(t) {
44
+ function O(t) {
45
45
  return t == null ? void 0 : t.trim().replace(/\s+/g, " ") || void 0;
46
46
  }
47
- const st = {
47
+ const wt = {
48
48
  adjustment: [
49
49
  {
50
50
  tag: "g",
@@ -775,16 +775,16 @@ const st = {
775
775
  ]
776
776
  }
777
777
  ]
778
- }, $e = Object.keys(st);
779
- function lt(t) {
778
+ }, si = Object.keys(wt);
779
+ function St(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 ? lt(n.children) : []
784
+ children: n.children ? St(n.children) : []
785
785
  }));
786
786
  }
787
- function O({
787
+ function P({
788
788
  ariaHidden: t = !0,
789
789
  id: n,
790
790
  mirrored: e,
@@ -792,26 +792,26 @@ function O({
792
792
  size: r = "md",
793
793
  title: a
794
794
  }) {
795
- const o = st[i];
795
+ const o = wt[i];
796
796
  if (!o)
797
797
  throw new Error(`Unknown icon name: ${i}`);
798
- const d = g(n), s = a?.trim();
798
+ const d = v(n), s = a?.trim();
799
799
  if (!t && !s)
800
800
  throw new Error("title must be non-empty when ariaHidden is false.");
801
801
  if (!t && !d)
802
802
  throw new Error("id must be provided when ariaHidden is false.");
803
- const l = t ? void 0 : `${d}-title`, p = [];
804
- return t || p.push({
803
+ const p = t ? void 0 : `${d}-title`, l = [];
804
+ return t || l.push({
805
805
  kind: "element",
806
806
  tag: "title",
807
- attrs: { id: l },
807
+ attrs: { id: p },
808
808
  children: [{ kind: "text", value: s }]
809
- }), p.push(...lt(o)), {
809
+ }), l.push(...St(o)), {
810
810
  kind: "element",
811
811
  tag: "svg",
812
812
  attrs: {
813
813
  "aria-hidden": t ? "true" : void 0,
814
- "aria-labelledby": l,
814
+ "aria-labelledby": p,
815
815
  class: "set-icon",
816
816
  "data-mirrored": e,
817
817
  "data-size": r,
@@ -824,13 +824,13 @@ function O({
824
824
  viewBox: "0 0 24 24",
825
825
  xmlns: "http://www.w3.org/2000/svg"
826
826
  },
827
- children: p
827
+ children: l
828
828
  };
829
829
  }
830
- function xt(t) {
831
- return h(O(t));
830
+ function Pt(t) {
831
+ return m(P(t));
832
832
  }
833
- const Ge = {
833
+ const li = {
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 Ge = {
944
944
  ]
945
945
  }
946
946
  };
947
- function it(t) {
947
+ function ht(t) {
948
948
  const {
949
949
  appearance: n = "outline",
950
950
  controls: e,
@@ -954,34 +954,34 @@ function it(t) {
954
954
  haspopup: o,
955
955
  id: d,
956
956
  icon: s,
957
- iconMirrored: l,
958
- iconPlacement: p = "start",
957
+ iconMirrored: p,
958
+ iconPlacement: l = "start",
959
959
  label: c,
960
- labelVisibility: u = "visible",
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)
960
+ labelVisibility: h = "visible",
961
+ name: b,
962
+ size: S = "md",
963
+ tone: f = "default",
964
+ type: E,
965
+ value: q
966
+ } = t, w = s || void 0, k = !!w;
967
+ if (h !== "visible" && !k)
968
968
  throw new Error("labelVisibility requires icon when label is not visible.");
969
- const x = b && S ? {
969
+ const C = k && w ? {
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: xt({
976
+ html: Pt({
977
977
  ariaHidden: !0,
978
- mirrored: l,
979
- name: S,
978
+ mirrored: p,
979
+ name: w,
980
980
  size: "fill"
981
981
  })
982
982
  }
983
983
  ]
984
- } : null, w = {
984
+ } : null, x = {
985
985
  kind: "element",
986
986
  tag: "span",
987
987
  attrs: { class: "label" },
@@ -996,23 +996,23 @@ function it(t) {
996
996
  "aria-haspopup": o || void 0,
997
997
  class: "set-button",
998
998
  "data-appearance": n,
999
- "data-label-visibility": u === "visible" ? void 0 : u,
1000
- "data-size": y,
1001
- "data-tone": k === "neutral" ? "neutral" : void 0,
999
+ "data-label-visibility": h === "visible" ? void 0 : h,
1000
+ "data-size": S,
1001
+ "data-tone": f === "neutral" ? "neutral" : void 0,
1002
1002
  disabled: !!i,
1003
1003
  form: a || void 0,
1004
1004
  id: d || void 0,
1005
- name: m || void 0,
1006
- type: v || "button",
1007
- value: C || void 0
1005
+ name: b || void 0,
1006
+ type: E || "button",
1007
+ value: q || void 0
1008
1008
  },
1009
- children: x ? p === "end" ? [w, x] : [x, w] : [w]
1009
+ children: C ? l === "end" ? [x, C] : [C, x] : [x]
1010
1010
  };
1011
1011
  }
1012
- function nt(t) {
1013
- return h(it(t));
1012
+ function mt(t) {
1013
+ return m(ht(t));
1014
1014
  }
1015
- const Ze = {
1015
+ const pi = {
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 Ze = {
1195
1195
  }
1196
1196
  ]
1197
1197
  }
1198
- }, R = "set-alert", pt = "set-alert-before-dismiss", ct = "set-alert-dismiss", P = "Dismiss alert";
1199
- function Et(t, n) {
1198
+ }, Z = "set-alert", xt = "set-alert-before-dismiss", Et = "set-alert-dismiss", W = "Dismiss alert";
1199
+ function Rt(t, n) {
1200
1200
  const e = n.createElement("div");
1201
- return e.setAttribute("data-part", "close"), e.innerHTML = nt({
1201
+ return e.setAttribute("data-part", "close"), e.innerHTML = mt({
1202
1202
  appearance: "text",
1203
1203
  icon: "close",
1204
1204
  label: t,
@@ -1207,7 +1207,7 @@ function Et(t, n) {
1207
1207
  tone: "neutral"
1208
1208
  }), e;
1209
1209
  }
1210
- function zt(t) {
1210
+ function Wt(t) {
1211
1211
  switch (t) {
1212
1212
  case "success":
1213
1213
  return "check-circle";
@@ -1221,12 +1221,12 @@ function zt(t) {
1221
1221
  return "sticky-note";
1222
1222
  }
1223
1223
  }
1224
- function Ct(t) {
1224
+ function Ut(t) {
1225
1225
  return t === "warning" || t === "error" ? "alert" : "status";
1226
1226
  }
1227
- function Lt({
1227
+ function $t({
1228
1228
  dismissible: t,
1229
- dismissibleLabel: n = P,
1229
+ dismissibleLabel: n = W,
1230
1230
  id: e,
1231
1231
  inlineSize: i = "full",
1232
1232
  message: r,
@@ -1234,29 +1234,29 @@ function Lt({
1234
1234
  tone: o,
1235
1235
  title: d
1236
1236
  }) {
1237
- const s = g(e), l = n.trim() === "" ? P : n, p = [];
1238
- return d && p.push({
1237
+ const s = v(e), p = n.trim() === "" ? W : n, l = [];
1238
+ return d && l.push({
1239
1239
  kind: "element",
1240
1240
  tag: "p",
1241
1241
  attrs: { class: "title" },
1242
1242
  children: [{ kind: "text", value: d }]
1243
- }), p.push({
1243
+ }), l.push({
1244
1244
  kind: "element",
1245
1245
  tag: "p",
1246
1246
  attrs: { class: "message" },
1247
1247
  children: [{ kind: "text", value: r }]
1248
1248
  }), {
1249
1249
  kind: "element",
1250
- tag: R,
1250
+ tag: Z,
1251
1251
  attrs: {
1252
1252
  class: "set-alert",
1253
1253
  "data-dismissible": t,
1254
- "data-dismissible-label": t ? l : void 0,
1254
+ "data-dismissible-label": t ? p : void 0,
1255
1255
  "data-inline-size": i === "fit" ? "fit" : void 0,
1256
1256
  "data-size": a,
1257
1257
  "data-tone": o || void 0,
1258
1258
  id: s,
1259
- role: Ct(o)
1259
+ role: Ut(o)
1260
1260
  },
1261
1261
  children: [
1262
1262
  {
@@ -1264,9 +1264,9 @@ function Lt({
1264
1264
  tag: "div",
1265
1265
  attrs: { class: "icon-wrapper" },
1266
1266
  children: [
1267
- O({
1267
+ P({
1268
1268
  ariaHidden: !0,
1269
- name: zt(o),
1269
+ name: Wt(o),
1270
1270
  size: a
1271
1271
  })
1272
1272
  ]
@@ -1275,29 +1275,29 @@ function Lt({
1275
1275
  kind: "element",
1276
1276
  tag: "div",
1277
1277
  attrs: { class: "content" },
1278
- children: p
1278
+ children: l
1279
1279
  }
1280
1280
  ]
1281
1281
  };
1282
1282
  }
1283
- function Fe(t) {
1284
- return h(Lt(t));
1283
+ function ci(t) {
1284
+ return m($t(t));
1285
1285
  }
1286
- function Mt() {
1287
- if (customElements.get(R)) return;
1286
+ function Gt() {
1287
+ if (customElements.get(Z)) 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
- pt,
1293
+ xt,
1294
1294
  {
1295
1295
  bubbles: !0,
1296
1296
  cancelable: !0
1297
1297
  }
1298
1298
  );
1299
1299
  this.dispatchEvent(r) && (this.dispatchEvent(
1300
- new CustomEvent(ct, {
1300
+ new CustomEvent(Et, {
1301
1301
  bubbles: !0
1302
1302
  })
1303
1303
  ), this.remove());
@@ -1310,20 +1310,20 @@ function Mt() {
1310
1310
  }
1311
1311
  #e() {
1312
1312
  this.querySelector('[data-part="close"]') || this.append(
1313
- Et(
1314
- this.getAttribute("data-dismissible-label") ?? P,
1313
+ Rt(
1314
+ this.getAttribute("data-dismissible-label") ?? W,
1315
1315
  this.ownerDocument
1316
1316
  )
1317
1317
  );
1318
1318
  }
1319
1319
  }
1320
- customElements.define(R, t);
1320
+ customElements.define(Z, t);
1321
1321
  }
1322
- const je = {
1322
+ const ui = {
1323
1323
  name: "alert",
1324
1324
  description: "Use `alert` to surface short, important messages.",
1325
1325
  output: {
1326
- element: R,
1326
+ element: Z,
1327
1327
  class: "set-alert"
1328
1328
  },
1329
1329
  content: {
@@ -1340,7 +1340,7 @@ const je = {
1340
1340
  type: { kind: "boolean" }
1341
1341
  },
1342
1342
  dismissibleLabel: {
1343
- default: P,
1343
+ default: W,
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 je = {
1374
1374
  }
1375
1375
  },
1376
1376
  events: {
1377
- [pt]: {
1377
+ [xt]: {
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
- [ct]: {
1382
+ [Et]: {
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 je = {
1445
1445
  }
1446
1446
  ]
1447
1447
  },
1448
- value: { kind: "literal", text: P }
1448
+ value: { kind: "literal", text: W }
1449
1449
  },
1450
1450
  {
1451
1451
  target: { on: "host" },
@@ -1468,11 +1468,11 @@ const je = {
1468
1468
  ]
1469
1469
  }
1470
1470
  };
1471
- function qt(t) {
1471
+ function Zt(t) {
1472
1472
  if (t)
1473
1473
  return t === !0 ? !0 : t;
1474
1474
  }
1475
- function ut(t) {
1475
+ function zt(t) {
1476
1476
  const {
1477
1477
  appearance: n = "text",
1478
1478
  current: e,
@@ -1482,21 +1482,21 @@ function ut(t) {
1482
1482
  icon: o,
1483
1483
  iconPlacement: d = "start",
1484
1484
  label: s,
1485
- labelVisibility: l = "visible",
1486
- rel: p,
1485
+ labelVisibility: p = "visible",
1486
+ rel: l,
1487
1487
  size: c = "md",
1488
- target: u,
1489
- tone: m = "default",
1490
- underline: y
1491
- } = t, k = g(a), v = o?.trim() || void 0;
1492
- if (l !== "visible" && !!!v)
1488
+ target: h,
1489
+ tone: b = "default",
1490
+ underline: S
1491
+ } = t, f = v(a), E = o?.trim() || void 0;
1492
+ if (p !== "visible" && !!!E)
1493
1493
  throw new Error("labelVisibility requires icon when label is not visible.");
1494
- const S = qt(i), b = v ? {
1494
+ const w = Zt(i), k = E ? {
1495
1495
  kind: "element",
1496
1496
  tag: "span",
1497
1497
  attrs: { class: "icon-wrapper" },
1498
- children: [{ kind: "raw", html: v }]
1499
- } : null, x = {
1498
+ children: [{ kind: "raw", html: E }]
1499
+ } : null, C = {
1500
1500
  kind: "element",
1501
1501
  tag: "span",
1502
1502
  attrs: { class: "label" },
@@ -1509,23 +1509,23 @@ function ut(t) {
1509
1509
  "aria-current": e,
1510
1510
  class: "set-link",
1511
1511
  "data-appearance": n === "text" ? void 0 : n,
1512
- "data-label-visibility": l === "visible" ? void 0 : l,
1512
+ "data-label-visibility": p === "visible" ? void 0 : p,
1513
1513
  "data-size": c,
1514
- "data-tone": m === "neutral" ? "neutral" : void 0,
1515
- "data-underline": y && n === "text" ? !0 : void 0,
1516
- download: S,
1514
+ "data-tone": b === "neutral" ? "neutral" : void 0,
1515
+ "data-underline": S && n === "text" ? !0 : void 0,
1516
+ download: w,
1517
1517
  href: r,
1518
- id: k,
1519
- rel: S ? void 0 : p || void 0,
1520
- target: S ? void 0 : u || void 0
1518
+ id: f,
1519
+ rel: w ? void 0 : l || void 0,
1520
+ target: w ? void 0 : h || void 0
1521
1521
  },
1522
- children: b ? d === "end" ? [x, b] : [b, x] : [x]
1522
+ children: k ? d === "end" ? [C, k] : [k, C] : [C]
1523
1523
  };
1524
1524
  }
1525
- function Ke(t) {
1526
- return h(ut(t));
1525
+ function hi(t) {
1526
+ return m(zt(t));
1527
1527
  }
1528
- const Xe = {
1528
+ const mi = {
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 Xe = {
1712
1712
  }
1713
1713
  ]
1714
1714
  }
1715
- }, W = "set-banner", ht = "set-banner-before-dismiss", mt = "set-banner-dismiss", U = "Dismiss banner";
1716
- function It(t, n) {
1715
+ }, F = "set-banner", Lt = "set-banner-before-dismiss", Ct = "set-banner-dismiss", j = "Dismiss banner";
1716
+ function Ft(t, n) {
1717
1717
  const e = n.createElement("div");
1718
- return e.setAttribute("data-part", "close"), e.innerHTML = nt({
1718
+ return e.setAttribute("data-part", "close"), e.innerHTML = mt({
1719
1719
  appearance: "text",
1720
1720
  icon: "close",
1721
1721
  label: t,
@@ -1724,27 +1724,27 @@ function It(t, n) {
1724
1724
  tone: "neutral"
1725
1725
  }), e;
1726
1726
  }
1727
- function Tt({
1727
+ function jt({
1728
1728
  actionHref: t,
1729
1729
  actionLabel: n,
1730
1730
  dismissible: e = !0,
1731
- dismissibleLabel: i = U,
1731
+ dismissibleLabel: i = j,
1732
1732
  id: r,
1733
1733
  message: a,
1734
1734
  tone: o
1735
1735
  }) {
1736
1736
  if (!!t != !!n)
1737
1737
  throw new Error("actionHref and actionLabel must be provided together.");
1738
- const d = g(r), s = i.trim() === "" ? U : i, l = [{ kind: "text", value: a }];
1739
- return t && n && (l.push({ kind: "text", value: " " }), l.push(
1740
- ut({
1738
+ const d = v(r), s = i.trim() === "" ? j : i, p = [{ kind: "text", value: a }];
1739
+ return t && n && (p.push({ kind: "text", value: " " }), p.push(
1740
+ zt({
1741
1741
  href: t,
1742
1742
  label: n,
1743
1743
  underline: !0
1744
1744
  })
1745
1745
  )), {
1746
1746
  kind: "element",
1747
- tag: W,
1747
+ tag: F,
1748
1748
  attrs: {
1749
1749
  class: "set-banner",
1750
1750
  "data-set-content-theme": "dark",
@@ -1759,29 +1759,29 @@ function Tt({
1759
1759
  kind: "element",
1760
1760
  tag: "p",
1761
1761
  attrs: { class: "message" },
1762
- children: l
1762
+ children: p
1763
1763
  }
1764
1764
  ]
1765
1765
  };
1766
1766
  }
1767
- function Qe(t) {
1768
- return h(Tt(t));
1767
+ function ki(t) {
1768
+ return m(jt(t));
1769
1769
  }
1770
- function At() {
1771
- if (customElements.get(W)) return;
1770
+ function Kt() {
1771
+ if (customElements.get(F)) 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
- ht,
1777
+ Lt,
1778
1778
  {
1779
1779
  bubbles: !0,
1780
1780
  cancelable: !0
1781
1781
  }
1782
1782
  );
1783
1783
  this.dispatchEvent(r) && (this.dispatchEvent(
1784
- new CustomEvent(mt, {
1784
+ new CustomEvent(Ct, {
1785
1785
  bubbles: !0
1786
1786
  })
1787
1787
  ), this.remove());
@@ -1794,19 +1794,19 @@ function At() {
1794
1794
  }
1795
1795
  #e() {
1796
1796
  this.querySelector('[data-part="close"]') || this.append(
1797
- It(
1798
- this.getAttribute("data-dismissible-label") ?? U,
1797
+ Ft(
1798
+ this.getAttribute("data-dismissible-label") ?? j,
1799
1799
  this.ownerDocument
1800
1800
  )
1801
1801
  );
1802
1802
  }
1803
1803
  }
1804
- customElements.define(W, t);
1804
+ customElements.define(F, t);
1805
1805
  }
1806
- const Ye = {
1806
+ const gi = {
1807
1807
  name: "banner",
1808
1808
  description: "Use `banner` to display a prominent site-wide message.",
1809
- output: { element: W, class: "set-banner" },
1809
+ output: { element: F, class: "set-banner" },
1810
1810
  content: { kind: "text", prop: "message" },
1811
1811
  props: {
1812
1812
  actionHref: {
@@ -1825,7 +1825,7 @@ const Ye = {
1825
1825
  type: { kind: "boolean" }
1826
1826
  },
1827
1827
  dismissibleLabel: {
1828
- default: U,
1828
+ default: j,
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 Ye = {
1848
1848
  }
1849
1849
  },
1850
1850
  events: {
1851
- [ht]: {
1851
+ [Lt]: {
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
- [mt]: {
1856
+ [Ct]: {
1857
1857
  bubbles: !0,
1858
1858
  description: "Fired after the banner has been removed by an allowed dismiss action."
1859
1859
  }
@@ -1867,21 +1867,514 @@ const Ye = {
1867
1867
  value: { kind: "literal", text: "dark" }
1868
1868
  },
1869
1869
  {
1870
- target: { on: "host" },
1871
- attribute: "data-set-surface",
1870
+ target: { on: "host" },
1871
+ attribute: "data-set-surface",
1872
+ condition: { kind: "always" },
1873
+ value: { kind: "literal", text: "default" }
1874
+ },
1875
+ {
1876
+ target: { on: "host" },
1877
+ attribute: "data-tone",
1878
+ condition: { kind: "when-provided", prop: "tone" },
1879
+ value: { kind: "prop", prop: "tone" }
1880
+ },
1881
+ {
1882
+ target: { on: "host" },
1883
+ attribute: "data-dismissible",
1884
+ condition: { kind: "when-truthy", prop: "dismissible" }
1885
+ },
1886
+ {
1887
+ target: { on: "host" },
1888
+ attribute: "id",
1889
+ condition: { kind: "when-non-empty", prop: "id" },
1890
+ value: { kind: "prop", prop: "id" }
1891
+ }
1892
+ ]
1893
+ }
1894
+ }, K = "set-image";
1895
+ function Xt({
1896
+ adaptive: t,
1897
+ animated: n,
1898
+ alt: e = "",
1899
+ aspectRatio: i,
1900
+ fit: r = "intrinsic",
1901
+ gravity: a = "C",
1902
+ height: o,
1903
+ id: d,
1904
+ lazy: s,
1905
+ leadSrc: p,
1906
+ priority: l,
1907
+ radius: c,
1908
+ shadow: h,
1909
+ sizes: b,
1910
+ sources: S,
1911
+ src: f,
1912
+ srcSet: E,
1913
+ still: q,
1914
+ width: w
1915
+ }) {
1916
+ const k = r === "cover", C = v(d), x = f.trim(), z = E?.trim(), _ = p?.trim(), D = q?.trim(), N = b?.trim(), M = S?.map((u, L) => {
1917
+ const I = u.srcSet.trim(), y = u.media?.trim(), g = u.type?.trim(), Vt = u.sizes?.trim(), Ht = u.leadSrc?.trim(), Nt = u.still?.trim();
1918
+ if (!I)
1919
+ throw new Error(`sources[${L}].srcSet must be non-empty.`);
1920
+ return {
1921
+ height: u.height,
1922
+ leadSrc: Ht || void 0,
1923
+ media: y || void 0,
1924
+ sizes: Vt || void 0,
1925
+ srcSet: I,
1926
+ still: Nt || void 0,
1927
+ type: g || void 0,
1928
+ width: u.width
1929
+ };
1930
+ }) || [];
1931
+ if (!x)
1932
+ throw new Error("src must be a non-empty string.");
1933
+ if (t && [
1934
+ x,
1935
+ z,
1936
+ ...M.map((u) => u.srcSet)
1937
+ ].some((u) => u?.includes("#")))
1938
+ throw new Error("adaptive sources must not contain URL fragments.");
1939
+ const U = !!(n && t), nt = !!(n && _), $ = !!_ || M.some((u) => u.leadSrc);
1940
+ if (!n && $)
1941
+ throw new Error("leadSrc requires animated.");
1942
+ if (n) {
1943
+ const u = [
1944
+ x,
1945
+ z,
1946
+ _,
1947
+ ...M.flatMap((y) => [y.srcSet, y.leadSrc])
1948
+ ].filter((y) => !!y), L = u.filter((y) => y.includes("{scheme}"));
1949
+ if (t && L.length !== u.length)
1950
+ throw new Error(
1951
+ "adaptive animated sources must contain a {scheme} placeholder."
1952
+ );
1953
+ if (!t && L.length > 0)
1954
+ throw new Error(
1955
+ "the {scheme} placeholder requires adaptive to enable light/dark."
1956
+ );
1957
+ if (!D)
1958
+ throw new Error("animated requires a still.");
1959
+ if ([
1960
+ D,
1961
+ ...M.map((y) => y.still)
1962
+ ].filter((y) => !!y).some((y) => y.includes("#")))
1963
+ throw new Error("animated still must not contain URL fragments.");
1964
+ }
1965
+ const kt = (u, L) => u.split(/,\s+/).map((I) => {
1966
+ const [y, ...g] = I.trim().split(/\s+/);
1967
+ if (!y || g.length > 1)
1968
+ throw new Error(
1969
+ "adaptive srcSet candidates must be a URL plus at most one descriptor, separated by a comma and whitespace."
1970
+ );
1971
+ return [`${y}#${L}`, ...g].join(" ");
1972
+ }).join(", "), rt = (u) => {
1973
+ const L = {
1974
+ kind: "element",
1975
+ tag: "img",
1976
+ attrs: {
1977
+ alt: e,
1978
+ class: "img",
1979
+ "data-scheme": u && M.length === 0 ? u : void 0,
1980
+ fetchpriority: l ? "high" : void 0,
1981
+ height: k ? void 0 : o ? String(o) : void 0,
1982
+ loading: s && !l ? "lazy" : void 0,
1983
+ sizes: M.length > 0 ? void 0 : N || void 0,
1984
+ src: u ? `${x}#${u}` : x,
1985
+ srcset: z && u ? kt(z, u) : z || void 0,
1986
+ width: k ? void 0 : w ? String(w) : void 0
1987
+ },
1988
+ children: []
1989
+ };
1990
+ if (M.length === 0)
1991
+ return L;
1992
+ const I = M.map((y) => ({
1993
+ kind: "element",
1994
+ tag: "source",
1995
+ attrs: {
1996
+ height: y.height ? String(y.height) : void 0,
1997
+ media: y.media,
1998
+ sizes: y.sizes,
1999
+ srcset: u ? kt(y.srcSet, u) : y.srcSet,
2000
+ type: y.type,
2001
+ width: y.width ? String(y.width) : void 0
2002
+ },
2003
+ children: []
2004
+ }));
2005
+ return {
2006
+ kind: "element",
2007
+ tag: "picture",
2008
+ attrs: { "data-scheme": u },
2009
+ children: [...I, L]
2010
+ };
2011
+ }, at = "(prefers-reduced-motion: reduce)", R = (u, L) => L ? u.replaceAll("{scheme}", L) : u, ot = (u, L) => L ? `${u}#${L}` : u, gt = (u) => {
2012
+ const L = M.filter((g) => g.still).map((g) => ({
2013
+ kind: "element",
2014
+ tag: "source",
2015
+ attrs: {
2016
+ height: g.height ? String(g.height) : void 0,
2017
+ media: g.media ? `${at} and ${g.media}` : at,
2018
+ srcset: ot(g.still, u),
2019
+ width: g.width ? String(g.width) : void 0
2020
+ },
2021
+ children: []
2022
+ }));
2023
+ L.push({
2024
+ kind: "element",
2025
+ tag: "source",
2026
+ attrs: {
2027
+ media: at,
2028
+ srcset: ot(D, u)
2029
+ },
2030
+ children: []
2031
+ });
2032
+ const I = M.map((g) => ({
2033
+ kind: "element",
2034
+ tag: "source",
2035
+ attrs: {
2036
+ height: g.height ? String(g.height) : void 0,
2037
+ media: g.media,
2038
+ sizes: g.sizes,
2039
+ srcset: R(g.srcSet, u),
2040
+ type: g.type,
2041
+ width: g.width ? String(g.width) : void 0
2042
+ },
2043
+ children: []
2044
+ })), y = {
2045
+ kind: "element",
2046
+ tag: "img",
2047
+ attrs: {
2048
+ alt: e,
2049
+ class: "img",
2050
+ fetchpriority: l ? "high" : void 0,
2051
+ height: k ? void 0 : o ? String(o) : void 0,
2052
+ loading: s && !l ? "lazy" : void 0,
2053
+ sizes: M.length > 0 ? void 0 : N || void 0,
2054
+ src: R(x, u),
2055
+ srcset: z ? R(z, u) : void 0,
2056
+ width: k ? void 0 : w ? String(w) : void 0
2057
+ },
2058
+ children: []
2059
+ };
2060
+ return {
2061
+ kind: "element",
2062
+ tag: "picture",
2063
+ attrs: { "data-scheme": u },
2064
+ children: [...L, ...I, y]
2065
+ };
2066
+ }, _t = (u) => {
2067
+ const L = "(prefers-reduced-motion: no-preference)", I = M.map((g) => {
2068
+ if (g.leadSrc)
2069
+ return {
2070
+ kind: "element",
2071
+ tag: "source",
2072
+ attrs: {
2073
+ height: g.height ? String(g.height) : void 0,
2074
+ media: g.media ? `${L} and ${g.media}` : L,
2075
+ sizes: g.sizes,
2076
+ srcset: R(g.leadSrc, u),
2077
+ type: g.type,
2078
+ width: g.width ? String(g.width) : void 0
2079
+ },
2080
+ children: []
2081
+ };
2082
+ }).filter((g) => !!g);
2083
+ I.push({
2084
+ kind: "element",
2085
+ tag: "source",
2086
+ attrs: {
2087
+ media: L,
2088
+ sizes: M.length > 0 ? void 0 : N || void 0,
2089
+ srcset: R(_, u)
2090
+ },
2091
+ children: []
2092
+ });
2093
+ const y = {
2094
+ kind: "element",
2095
+ tag: "img",
2096
+ attrs: {
2097
+ alt: "",
2098
+ class: "img",
2099
+ height: k ? void 0 : o ? String(o) : void 0,
2100
+ src: ot(D, u),
2101
+ width: k ? void 0 : w ? String(w) : void 0
2102
+ },
2103
+ children: []
2104
+ };
2105
+ return {
2106
+ kind: "element",
2107
+ tag: "picture",
2108
+ attrs: { "data-scheme": u, "data-layer": "lead" },
2109
+ children: [...I, y]
2110
+ };
2111
+ }, dt = (u) => nt ? [gt(u), _t(u)] : [gt(u)], Dt = n ? U ? [...dt("light"), ...dt("dark")] : dt() : t ? [rt("light"), rt("dark")] : [rt()], G = [];
2112
+ return o && G.push(`--set-image-block-size: ${o / 16}rem`), w && G.push(`--set-image-inline-size: ${w / 16}rem`), {
2113
+ kind: "element",
2114
+ tag: K,
2115
+ attrs: {
2116
+ class: "set-image",
2117
+ "data-adaptive": !!t,
2118
+ "data-animated": !!n,
2119
+ "data-sequenced": nt,
2120
+ "data-aspect-ratio": k && !o ? i : void 0,
2121
+ "data-fluid": r === "fluid",
2122
+ "data-gravity": k && a !== "C" ? a : void 0,
2123
+ "data-shadow": !!h,
2124
+ "data-object-fit": k ? "cover" : void 0,
2125
+ "data-radius": !!c,
2126
+ id: C,
2127
+ style: G.length > 0 ? G.join("; ") : void 0
2128
+ },
2129
+ children: Dt
2130
+ };
2131
+ }
2132
+ function Qt(t) {
2133
+ return m(Xt(t));
2134
+ }
2135
+ function Yt() {
2136
+ if (customElements.get(K)) return;
2137
+ const t = "(prefers-reduced-motion: reduce)";
2138
+ class n extends HTMLElement {
2139
+ connectedCallback() {
2140
+ const i = this.querySelectorAll('[data-layer="lead"]');
2141
+ if (!(i.length === 0 || this.ownerDocument.defaultView?.matchMedia?.(t).matches))
2142
+ for (const a of i) this.#t(a);
2143
+ }
2144
+ // Drive the overlay's hide from playback readiness rather than render, so a
2145
+ // slow connection can't clip the hand-off before the frames have loaded.
2146
+ #t(i) {
2147
+ const r = i.querySelector("img");
2148
+ if (!r) return;
2149
+ i.style.animation = "none";
2150
+ const a = () => {
2151
+ i.offsetWidth, i.style.animation = "";
2152
+ };
2153
+ r.complete ? a() : r.addEventListener("load", a, { once: !0 });
2154
+ }
2155
+ }
2156
+ customElements.define(K, n);
2157
+ }
2158
+ const bi = {
2159
+ name: "image",
2160
+ description: "Use `image` to render a responsive image with intrinsic, fluid, or cover fit, and optional art-directed `sources`.",
2161
+ output: { element: K, class: "set-image" },
2162
+ content: { kind: "none" },
2163
+ props: {
2164
+ adaptive: {
2165
+ default: !1,
2166
+ 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. With `animated`, it pairs light/dark webp instead, via a `{scheme}` placeholder in the URLs.",
2167
+ type: { kind: "boolean" }
2168
+ },
2169
+ animated: {
2170
+ default: !1,
2171
+ description: "Renders an animated image (e.g. `webp`) with a required `still` shown when the user prefers reduced motion. Combine with `adaptive` for light/dark theming: the `src`/`srcSet`/`sources` URLs then carry no Cloudinary version and a `{scheme}` placeholder — matching Screen's animated exports — which the component substitutes across a light/dark pair. The `still` gets `#light`/`#dark` appended. Without `adaptive`, renders a single, unthemed animated asset. Add a `leadSrc` to sequence: it plays once as an overlay, then reveals `src` after a fixed hold.",
2172
+ type: { kind: "boolean" }
2173
+ },
2174
+ alt: {
2175
+ default: "",
2176
+ description: "Alternative text. Leave empty for decorative images.",
2177
+ type: { kind: "string" }
2178
+ },
2179
+ gravity: {
2180
+ default: "C",
2181
+ description: "Focal point used when cropping.",
2182
+ ignoredWhen: '`fit` is not `"cover"`',
2183
+ type: {
2184
+ kind: "enum",
2185
+ values: ["N", "NE", "E", "SE", "S", "SW", "W", "NW", "C"]
2186
+ }
2187
+ },
2188
+ radius: {
2189
+ default: !1,
2190
+ description: "Applies the default corner radius.",
2191
+ type: { kind: "boolean" }
2192
+ },
2193
+ aspectRatio: {
2194
+ description: "Aspect ratio applied to the wrapper.",
2195
+ ignoredWhen: '`fit` is not `"cover"`, or `height` is set',
2196
+ type: {
2197
+ kind: "enum",
2198
+ values: ["1:1", "4:5", "3:2", "16:9", "21:9"]
2199
+ }
2200
+ },
2201
+ fit: {
2202
+ default: "intrinsic",
2203
+ description: "Layout mode. `intrinsic` renders at the image's own dimensions, `fluid` scales to the container's full inline size at the active source's aspect ratio, `cover` renders a cropped fill (`object-fit: cover`) sized by the wrapper. For `fluid`, provide candidates sized for large viewports via `srcSet`/`sources` so upscaled rendering stays sharp.",
2204
+ type: { kind: "enum", values: ["intrinsic", "fluid", "cover"] }
2205
+ },
2206
+ shadow: {
2207
+ default: !1,
2208
+ description: "Applies a drop shadow to the image.",
2209
+ type: { kind: "boolean" }
2210
+ },
2211
+ height: {
2212
+ description: "Height in pixels. Under `intrinsic` and `fluid`, an aspect-ratio hint — with `width`, reserves the correctly shaped box before load; rendered height follows the aspect ratio. Under `cover`, the wrapper's block size, overriding `aspectRatio`.",
2213
+ type: { kind: "number" }
2214
+ },
2215
+ id: {
2216
+ description: "DOM id.",
2217
+ type: { kind: "string" }
2218
+ },
2219
+ lazy: {
2220
+ default: !1,
2221
+ description: "Defers loading until the image is near the viewport.",
2222
+ type: { kind: "boolean" }
2223
+ },
2224
+ priority: {
2225
+ default: !1,
2226
+ description: "Marks the image as high priority for fetch.",
2227
+ type: { kind: "boolean" }
2228
+ },
2229
+ sizes: {
2230
+ description: "`sizes` attribute used with `srcSet`.",
2231
+ ignoredWhen: "`sources` are provided",
2232
+ type: { kind: "string" }
2233
+ },
2234
+ sources: {
2235
+ description: "Responsive sources rendered inside a `<picture>`.",
2236
+ type: {
2237
+ kind: "array",
2238
+ itemShape: {
2239
+ height: {
2240
+ description: "Intrinsic height in pixels.",
2241
+ type: { kind: "number" }
2242
+ },
2243
+ media: {
2244
+ description: "`media` condition evaluated for the source.",
2245
+ type: { kind: "string" }
2246
+ },
2247
+ sizes: {
2248
+ description: "`sizes` attribute for the source.",
2249
+ type: { kind: "string" }
2250
+ },
2251
+ srcSet: {
2252
+ description: "Candidate sources for this media entry.",
2253
+ required: !0,
2254
+ type: { kind: "string" }
2255
+ },
2256
+ leadSrc: {
2257
+ description: "Intro overlay for this source in an `animated` sequence.",
2258
+ type: { kind: "string" }
2259
+ },
2260
+ still: {
2261
+ description: "Reduced-motion still for this source, used when `animated`. For a light/dark still, use an adaptive SVG.",
2262
+ type: { kind: "string" }
2263
+ },
2264
+ type: {
2265
+ description: "MIME type for the source resources.",
2266
+ type: { kind: "string" }
2267
+ },
2268
+ width: {
2269
+ description: "Intrinsic width in pixels.",
2270
+ type: { kind: "number" }
2271
+ }
2272
+ }
2273
+ }
2274
+ },
2275
+ srcSet: {
2276
+ description: "Candidate sources for the fallback image.",
2277
+ type: { kind: "string" }
2278
+ },
2279
+ leadSrc: {
2280
+ description: "An intro overlay that sequences an `animated` image: `leadSrc` plays once, then the component reveals `src` after a fixed hold. Follows the same `{scheme}` rules as `animated` sources.",
2281
+ type: { kind: "string" }
2282
+ },
2283
+ still: {
2284
+ description: "Reduced-motion still shown when `animated` and the user prefers reduced motion. Any image works; for a light/dark still use an adaptive SVG exported from Screen, which the component selects with `#light`/`#dark` when combined with `adaptive`.",
2285
+ requiredWhen: "`animated` is set",
2286
+ type: { kind: "string" }
2287
+ },
2288
+ src: {
2289
+ description: "Image source URL.",
2290
+ required: !0,
2291
+ type: { kind: "string" }
2292
+ },
2293
+ width: {
2294
+ description: "Width in pixels. Under `intrinsic`, the rendered width, capped at the container; under `fluid`, an aspect-ratio hint; under `cover`, the wrapper's inline size (`aspectRatio` still derives the block size while `height` is unset).",
2295
+ type: { kind: "number" }
2296
+ }
2297
+ },
2298
+ events: {},
2299
+ rules: {
2300
+ attributes: [
2301
+ {
2302
+ target: { on: "host" },
2303
+ attribute: "data-adaptive",
2304
+ condition: { kind: "when-truthy", prop: "adaptive" }
2305
+ },
2306
+ {
2307
+ target: { on: "host" },
2308
+ attribute: "data-animated",
2309
+ condition: { kind: "when-truthy", prop: "animated" }
2310
+ },
2311
+ {
2312
+ target: { on: "host" },
2313
+ attribute: "data-sequenced",
2314
+ condition: { kind: "when-non-empty", prop: "leadSrc" }
2315
+ },
2316
+ {
2317
+ target: { on: "host" },
2318
+ attribute: "data-object-fit",
2319
+ condition: { kind: "when-equals", prop: "fit", to: "cover" },
2320
+ value: { kind: "literal", text: "cover" }
2321
+ },
2322
+ {
2323
+ target: { on: "host" },
2324
+ attribute: "data-shadow",
2325
+ condition: { kind: "when-truthy", prop: "shadow" }
2326
+ },
2327
+ {
2328
+ target: { on: "host" },
2329
+ attribute: "data-radius",
2330
+ condition: { kind: "when-truthy", prop: "radius" }
2331
+ },
2332
+ {
2333
+ target: { on: "host" },
2334
+ attribute: "data-fluid",
2335
+ condition: { kind: "when-equals", prop: "fit", to: "fluid" }
2336
+ },
2337
+ {
2338
+ target: { on: "descendant", selector: "img" },
2339
+ attribute: "class",
2340
+ condition: { kind: "always" },
2341
+ value: { kind: "literal", text: "img" }
2342
+ },
2343
+ {
2344
+ target: { on: "descendant", selector: "img" },
2345
+ attribute: "alt",
2346
+ condition: { kind: "always" },
2347
+ value: { kind: "prop", prop: "alt" }
2348
+ },
2349
+ {
2350
+ target: { on: "descendant", selector: "img" },
2351
+ attribute: "src",
1872
2352
  condition: { kind: "always" },
1873
- value: { kind: "literal", text: "default" }
2353
+ value: { kind: "template", pattern: "{src}" }
1874
2354
  },
1875
2355
  {
1876
- target: { on: "host" },
1877
- attribute: "data-tone",
1878
- condition: { kind: "when-provided", prop: "tone" },
1879
- value: { kind: "prop", prop: "tone" }
2356
+ target: { on: "descendant", selector: "img" },
2357
+ attribute: "srcset",
2358
+ condition: { kind: "when-non-empty", prop: "srcSet" },
2359
+ value: { kind: "prop", prop: "srcSet" }
1880
2360
  },
1881
2361
  {
1882
- target: { on: "host" },
1883
- attribute: "data-dismissible",
1884
- condition: { kind: "when-truthy", prop: "dismissible" }
2362
+ target: { on: "descendant", selector: "img" },
2363
+ attribute: "fetchpriority",
2364
+ condition: { kind: "when-truthy", prop: "priority" },
2365
+ value: { kind: "literal", text: "high" }
2366
+ },
2367
+ {
2368
+ target: { on: "descendant", selector: "img" },
2369
+ attribute: "loading",
2370
+ condition: {
2371
+ kind: "all",
2372
+ of: [
2373
+ { kind: "when-truthy", prop: "lazy" },
2374
+ { kind: "not", of: { kind: "when-truthy", prop: "priority" } }
2375
+ ]
2376
+ },
2377
+ value: { kind: "literal", text: "lazy" }
1885
2378
  },
1886
2379
  {
1887
2380
  target: { on: "host" },
@@ -1891,14 +2384,14 @@ const Ye = {
1891
2384
  }
1892
2385
  ]
1893
2386
  }
1894
- }, $ = "set-lightswitch", kt = "set-lightswitch-change", Q = "set-theme", Y = "Switch to dark theme", J = "Switch to light theme";
1895
- function _t(t) {
2387
+ }, X = "set-lightswitch", Mt = "set-lightswitch-change", st = "set-theme", lt = "Switch to dark theme", pt = "Switch to light theme";
2388
+ function Jt(t) {
1896
2389
  return t === "dark" ? "light" : "dark";
1897
2390
  }
1898
- function Dt(t) {
2391
+ function te(t) {
1899
2392
  return t === "dark" ? "moon" : "sunny";
1900
2393
  }
1901
- function rt(t, n) {
2394
+ function bt(t, n) {
1902
2395
  return {
1903
2396
  kind: "element",
1904
2397
  tag: "span",
@@ -1909,9 +2402,9 @@ function rt(t, n) {
1909
2402
  tag: "span",
1910
2403
  attrs: { class: "icon-wrapper" },
1911
2404
  children: [
1912
- O({
2405
+ P({
1913
2406
  ariaHidden: !0,
1914
- name: Dt(t),
2407
+ name: te(t),
1915
2408
  size: "fill"
1916
2409
  })
1917
2410
  ]
@@ -1925,17 +2418,17 @@ function rt(t, n) {
1925
2418
  ]
1926
2419
  };
1927
2420
  }
1928
- function Ht({
2421
+ function ee({
1929
2422
  appearance: t = "text",
1930
2423
  id: n,
1931
- labelDark: e = Y,
1932
- labelLight: i = J,
2424
+ labelDark: e = lt,
2425
+ labelLight: i = pt,
1933
2426
  size: r = "md"
1934
2427
  }) {
1935
- const a = g(n), o = e.trim() === "" ? Y : e, d = i.trim() === "" ? J : i;
2428
+ const a = v(n), o = e.trim() === "" ? lt : e, d = i.trim() === "" ? pt : i;
1936
2429
  return {
1937
2430
  kind: "element",
1938
- tag: $,
2431
+ tag: X,
1939
2432
  attrs: {
1940
2433
  class: "set-lightswitch",
1941
2434
  id: a
@@ -1951,25 +2444,25 @@ function Ht({
1951
2444
  type: "button"
1952
2445
  },
1953
2446
  children: [
1954
- rt("dark", o),
1955
- rt("light", d)
2447
+ bt("dark", o),
2448
+ bt("light", d)
1956
2449
  ]
1957
2450
  }
1958
2451
  ]
1959
2452
  };
1960
2453
  }
1961
- function Je(t) {
1962
- return h(Ht(t));
2454
+ function vi(t) {
2455
+ return m(ee(t));
1963
2456
  }
1964
- function Vt() {
1965
- if (customElements.get($)) return;
2457
+ function ie() {
2458
+ if (customElements.get(X)) return;
1966
2459
  class t extends HTMLElement {
1967
2460
  #t = (e) => {
1968
2461
  const i = e.target;
1969
2462
  if (!(i instanceof Element) || !i.closest("button")) return;
1970
- const r = _t(this.#u());
2463
+ const r = Jt(this.#u());
1971
2464
  r === this.#r() ? this.#d() : this.#n(r), this.#a(), this.dispatchEvent(
1972
- new CustomEvent(kt, {
2465
+ new CustomEvent(Mt, {
1973
2466
  bubbles: !0,
1974
2467
  detail: { stored: !!this.#i(), theme: r }
1975
2468
  })
@@ -1990,7 +2483,7 @@ function Vt() {
1990
2483
  }
1991
2484
  #i() {
1992
2485
  try {
1993
- const e = this.#e()?.getItem(Q);
2486
+ const e = this.#e()?.getItem(st);
1994
2487
  return e === "light" || e === "dark" ? e : void 0;
1995
2488
  } catch {
1996
2489
  return;
@@ -1998,13 +2491,13 @@ function Vt() {
1998
2491
  }
1999
2492
  #n(e) {
2000
2493
  try {
2001
- this.#e()?.setItem(Q, e);
2494
+ this.#e()?.setItem(st, e);
2002
2495
  } catch {
2003
2496
  }
2004
2497
  }
2005
2498
  #d() {
2006
2499
  try {
2007
- this.#e()?.removeItem(Q);
2500
+ this.#e()?.removeItem(st);
2008
2501
  } catch {
2009
2502
  }
2010
2503
  }
@@ -2029,12 +2522,12 @@ function Vt() {
2029
2522
  i ? e.setAttribute("data-set-theme", i) : e.removeAttribute("data-set-theme");
2030
2523
  }
2031
2524
  }
2032
- customElements.define($, t);
2525
+ customElements.define(X, t);
2033
2526
  }
2034
- const ti = {
2527
+ const fi = {
2035
2528
  name: "lightswitch",
2036
2529
  description: "Use `lightswitch` to let users toggle between light and dark themes.",
2037
- output: { element: $, class: "set-lightswitch" },
2530
+ output: { element: X, class: "set-lightswitch" },
2038
2531
  content: { kind: "none" },
2039
2532
  props: {
2040
2533
  appearance: {
@@ -2047,12 +2540,12 @@ const ti = {
2047
2540
  type: { kind: "string" }
2048
2541
  },
2049
2542
  labelDark: {
2050
- default: Y,
2543
+ default: lt,
2051
2544
  description: "Accessible label of the switch-to-dark action.",
2052
2545
  type: { kind: "string" }
2053
2546
  },
2054
2547
  labelLight: {
2055
- default: J,
2548
+ default: pt,
2056
2549
  description: "Accessible label of the switch-to-light action.",
2057
2550
  type: { kind: "string" }
2058
2551
  },
@@ -2063,7 +2556,7 @@ const ti = {
2063
2556
  }
2064
2557
  },
2065
2558
  events: {
2066
- [kt]: {
2559
+ [Mt]: {
2067
2560
  bubbles: !0,
2068
2561
  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
2562
  }
@@ -2102,8 +2595,8 @@ const ti = {
2102
2595
  }
2103
2596
  ]
2104
2597
  }
2105
- }, G = "set-menu", gt = "set-menu-choose";
2106
- function Nt({
2598
+ }, Q = "set-menu", qt = "set-menu-choose";
2599
+ function ne({
2107
2600
  align: t = "start",
2108
2601
  id: n,
2109
2602
  items: e,
@@ -2114,35 +2607,35 @@ function Nt({
2114
2607
  triggerLabel: d,
2115
2608
  triggerLabelVisibility: s
2116
2609
  }) {
2117
- const l = n.trim();
2118
- if (!l)
2610
+ const p = n.trim();
2611
+ if (!p)
2119
2612
  throw new Error("id must be a non-empty string.");
2120
- if (!I(l))
2613
+ if (!V(p))
2121
2614
  throw new Error(
2122
2615
  "id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
2123
2616
  );
2124
2617
  if (!Array.isArray(e))
2125
2618
  throw new Error("items must be an array.");
2126
- const p = `${l}-button`, c = `${l}-popup`, u = e.map((m) => ({
2619
+ const l = `${p}-button`, c = `${p}-popup`, h = e.map((b) => ({
2127
2620
  kind: "element",
2128
2621
  tag: "button",
2129
2622
  attrs: {
2130
- "aria-disabled": m.disabled ? "true" : void 0,
2131
- "data-item-id": m.id || void 0,
2623
+ "aria-disabled": b.disabled ? "true" : void 0,
2624
+ "data-item-id": b.id || void 0,
2132
2625
  role: "menuitem",
2133
2626
  tabindex: "-1",
2134
2627
  type: "button"
2135
2628
  },
2136
- children: [{ kind: "text", value: m.label }]
2629
+ children: [{ kind: "text", value: b.label }]
2137
2630
  }));
2138
2631
  return {
2139
2632
  kind: "element",
2140
- tag: G,
2633
+ tag: Q,
2141
2634
  attrs: {
2142
2635
  class: "set-menu",
2143
2636
  "data-align": t === "start" ? void 0 : t,
2144
2637
  "data-size": i,
2145
- id: l
2638
+ id: p
2146
2639
  },
2147
2640
  children: [
2148
2641
  {
@@ -2150,7 +2643,7 @@ function Nt({
2150
2643
  tag: "div",
2151
2644
  attrs: { "data-part": "trigger" },
2152
2645
  children: [
2153
- it({
2646
+ ht({
2154
2647
  appearance: "outline",
2155
2648
  controls: c,
2156
2649
  disclosure: !0,
@@ -2158,7 +2651,7 @@ function Nt({
2158
2651
  icon: r,
2159
2652
  iconMirrored: a,
2160
2653
  iconPlacement: o,
2161
- id: p,
2654
+ id: l,
2162
2655
  label: d,
2163
2656
  labelVisibility: s,
2164
2657
  size: i,
@@ -2171,22 +2664,22 @@ function Nt({
2171
2664
  kind: "element",
2172
2665
  tag: "div",
2173
2666
  attrs: {
2174
- "aria-labelledby": p,
2667
+ "aria-labelledby": l,
2175
2668
  class: "popup",
2176
2669
  hidden: !0,
2177
2670
  id: c,
2178
2671
  role: "menu"
2179
2672
  },
2180
- children: u
2673
+ children: h
2181
2674
  }
2182
2675
  ]
2183
2676
  };
2184
2677
  }
2185
- function ei(t) {
2186
- return h(Nt(t));
2678
+ function yi(t) {
2679
+ return m(ne(t));
2187
2680
  }
2188
- function Ot() {
2189
- if (customElements.get(G)) return;
2681
+ function re() {
2682
+ if (customElements.get(Q)) return;
2190
2683
  class t extends HTMLElement {
2191
2684
  #t;
2192
2685
  #e;
@@ -2236,7 +2729,7 @@ function Ot() {
2236
2729
  this.querySelectorAll('[role="menuitem"]')
2237
2730
  ).indexOf(e);
2238
2731
  this.dispatchEvent(
2239
- new CustomEvent(gt, {
2732
+ new CustomEvent(qt, {
2240
2733
  bubbles: !0,
2241
2734
  detail: {
2242
2735
  id: e.getAttribute("data-item-id") || void 0,
@@ -2298,13 +2791,13 @@ function Ot() {
2298
2791
  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
2792
  }
2300
2793
  }
2301
- customElements.define(G, t);
2794
+ customElements.define(Q, t);
2302
2795
  }
2303
- const ii = {
2796
+ const wi = {
2304
2797
  name: "menu",
2305
2798
  description: "Use `menu` to show a list of actions from a trigger button.",
2306
2799
  output: {
2307
- element: G,
2800
+ element: Q,
2308
2801
  class: "set-menu"
2309
2802
  },
2310
2803
  content: {
@@ -2378,7 +2871,7 @@ const ii = {
2378
2871
  }
2379
2872
  },
2380
2873
  events: {
2381
- [gt]: {
2874
+ [qt]: {
2382
2875
  bubbles: !0,
2383
2876
  description: "Fired when a menu item is activated.",
2384
2877
  detail: "{ id?: string; index: number; label: string }"
@@ -2438,15 +2931,15 @@ const ii = {
2438
2931
  }
2439
2932
  ]
2440
2933
  }
2441
- }, tt = "Menu";
2442
- function Pt({
2934
+ }, ct = "Menu";
2935
+ function ae({
2443
2936
  controlsId: t,
2444
2937
  expanded: n,
2445
2938
  id: e,
2446
- label: i = tt,
2939
+ label: i = ct,
2447
2940
  size: r = "md"
2448
2941
  } = {}) {
2449
- const a = g(e), o = i.trim() === "" ? tt : i;
2942
+ const a = v(e), o = i.trim() === "" ? ct : i;
2450
2943
  return {
2451
2944
  kind: "element",
2452
2945
  tag: "button",
@@ -2481,10 +2974,10 @@ function Pt({
2481
2974
  ]
2482
2975
  };
2483
2976
  }
2484
- function Bt(t = {}) {
2485
- return h(Pt(t));
2977
+ function oe(t = {}) {
2978
+ return m(ae(t));
2486
2979
  }
2487
- const ni = {
2980
+ const Si = {
2488
2981
  name: "expander",
2489
2982
  description: "Use `expander` as a toggle for disclosure regions such as menus.",
2490
2983
  output: { element: "button", class: "set-expander" },
@@ -2504,7 +2997,7 @@ const ni = {
2504
2997
  type: { kind: "string" }
2505
2998
  },
2506
2999
  label: {
2507
- default: tt,
3000
+ default: ct,
2508
3001
  description: "Accessible label.",
2509
3002
  type: { kind: "text" }
2510
3003
  },
@@ -2549,8 +3042,8 @@ const ni = {
2549
3042
  }
2550
3043
  ]
2551
3044
  }
2552
- }, Z = "set-nav", at = "data-set-scroll-locked";
2553
- function Rt({
3045
+ }, Y = "set-nav", vt = "data-set-scroll-locked";
3046
+ function de({
2554
3047
  collapsible: t,
2555
3048
  contentId: n,
2556
3049
  expanderLabel: e,
@@ -2560,16 +3053,16 @@ function Rt({
2560
3053
  label: o,
2561
3054
  size: d = "md"
2562
3055
  }) {
2563
- const s = g(r), l = e?.trim() || void 0, p = n?.trim();
2564
- if (t && !p)
3056
+ const s = v(r), p = e?.trim() || void 0, l = n?.trim();
3057
+ if (t && !l)
2565
3058
  throw new Error(
2566
3059
  "contentId must be a non-empty string when collapsible is set."
2567
3060
  );
2568
- if (p && !I(p))
3061
+ if (l && !V(l))
2569
3062
  throw new Error(
2570
3063
  "contentId must start with a letter and contain only letters, numbers, '_', '-', or ':'."
2571
3064
  );
2572
- const c = a.map((u) => ({
3065
+ const c = a.map((h) => ({
2573
3066
  kind: "element",
2574
3067
  tag: "li",
2575
3068
  attrs: {},
@@ -2578,21 +3071,21 @@ function Rt({
2578
3071
  kind: "element",
2579
3072
  tag: "a",
2580
3073
  attrs: {
2581
- "aria-current": u.current ? "page" : void 0,
3074
+ "aria-current": h.current ? "page" : void 0,
2582
3075
  class: "item",
2583
- href: u.href
3076
+ href: h.href
2584
3077
  },
2585
- children: [{ kind: "text", value: u.label }]
3078
+ children: [{ kind: "text", value: h.label }]
2586
3079
  }
2587
3080
  ]
2588
3081
  }));
2589
3082
  return {
2590
3083
  kind: "element",
2591
- tag: Z,
3084
+ tag: Y,
2592
3085
  attrs: {
2593
3086
  class: "set-nav",
2594
3087
  "data-collapsible": t,
2595
- "data-expander-label": t && l ? l : void 0,
3088
+ "data-expander-label": t && p ? p : void 0,
2596
3089
  "data-expander-position": t ? i : void 0,
2597
3090
  "data-size": d,
2598
3091
  id: s
@@ -2611,7 +3104,7 @@ function Rt({
2611
3104
  tag: "div",
2612
3105
  attrs: {
2613
3106
  class: "content",
2614
- id: p
3107
+ id: l
2615
3108
  },
2616
3109
  children: [
2617
3110
  {
@@ -2627,11 +3120,11 @@ function Rt({
2627
3120
  ]
2628
3121
  };
2629
3122
  }
2630
- function ri(t) {
2631
- return h(Rt(t));
3123
+ function xi(t) {
3124
+ return m(de(t));
2632
3125
  }
2633
- function Wt() {
2634
- if (customElements.get(Z)) return;
3126
+ function se() {
3127
+ if (customElements.get(Y)) return;
2635
3128
  class t extends HTMLElement {
2636
3129
  #t;
2637
3130
  #e;
@@ -2657,7 +3150,7 @@ function Wt() {
2657
3150
  const i = e.querySelector(".content");
2658
3151
  i && e.insertAdjacentHTML(
2659
3152
  "afterbegin",
2660
- `<div data-part="expander">${Bt({
3153
+ `<div data-part="expander">${oe({
2661
3154
  controlsId: i.id || void 0,
2662
3155
  label: this.getAttribute("data-expander-label") || void 0,
2663
3156
  size: this.getAttribute("data-size") === "sm" ? "md" : "lg"
@@ -2690,10 +3183,10 @@ function Wt() {
2690
3183
  const i = this.ownerDocument.documentElement;
2691
3184
  if (i) {
2692
3185
  if (e) {
2693
- i.setAttribute(at, "");
3186
+ i.setAttribute(vt, "");
2694
3187
  return;
2695
3188
  }
2696
- i.removeAttribute(at);
3189
+ i.removeAttribute(vt);
2697
3190
  }
2698
3191
  }
2699
3192
  #o() {
@@ -2707,12 +3200,12 @@ function Wt() {
2707
3200
  ), this.#i = void 0, this.#n = void 0, this.#e = void 0;
2708
3201
  }
2709
3202
  }
2710
- customElements.define(Z, t);
3203
+ customElements.define(Y, t);
2711
3204
  }
2712
- const ai = {
3205
+ const Ei = {
2713
3206
  name: "nav",
2714
3207
  description: "Use `nav` to render a primary navigation list.",
2715
- output: { element: Z, class: "set-nav" },
3208
+ output: { element: Y, class: "set-nav" },
2716
3209
  content: { kind: "structured", prop: "items" },
2717
3210
  props: {
2718
3211
  items: {
@@ -2824,8 +3317,8 @@ const ai = {
2824
3317
  }
2825
3318
  ]
2826
3319
  }
2827
- }, F = "set-range";
2828
- function Ut({
3320
+ }, J = "set-range";
3321
+ function le({
2829
3322
  description: t,
2830
3323
  disabled: n,
2831
3324
  id: e,
@@ -2835,17 +3328,17 @@ function Ut({
2835
3328
  min: o,
2836
3329
  name: d,
2837
3330
  size: s = "md",
2838
- step: l,
2839
- value: p
3331
+ step: p,
3332
+ value: l
2840
3333
  }) {
2841
- const c = e.trim(), u = t?.trim(), m = d?.trim();
3334
+ const c = e.trim(), h = t?.trim(), b = d?.trim();
2842
3335
  if (!c)
2843
3336
  throw new Error("id must be a non-empty string.");
2844
- if (!I(c))
3337
+ if (!V(c))
2845
3338
  throw new Error(
2846
3339
  "id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
2847
3340
  );
2848
- const y = u ? `${c}-description` : void 0, k = [
3341
+ const S = h ? `${c}-description` : void 0, f = [
2849
3342
  {
2850
3343
  kind: "element",
2851
3344
  tag: "div",
@@ -2861,7 +3354,7 @@ function Ut({
2861
3354
  kind: "element",
2862
3355
  tag: "output",
2863
3356
  attrs: { class: "output", for: c },
2864
- children: p != null ? [{ kind: "text", value: String(p) }] : []
3357
+ children: l != null ? [{ kind: "text", value: String(l) }] : []
2865
3358
  }
2866
3359
  ]
2867
3360
  },
@@ -2869,41 +3362,41 @@ function Ut({
2869
3362
  kind: "element",
2870
3363
  tag: "input",
2871
3364
  attrs: {
2872
- "aria-describedby": y,
3365
+ "aria-describedby": S,
2873
3366
  class: "range",
2874
3367
  disabled: !!n,
2875
3368
  id: c,
2876
3369
  max: a != null ? String(a) : void 0,
2877
3370
  min: o != null ? String(o) : void 0,
2878
- name: m || void 0,
2879
- step: l != null ? String(l) : void 0,
3371
+ name: b || void 0,
3372
+ step: p != null ? String(p) : void 0,
2880
3373
  type: "range",
2881
- value: p != null ? String(p) : void 0
3374
+ value: l != null ? String(l) : void 0
2882
3375
  },
2883
3376
  children: []
2884
3377
  }
2885
3378
  ];
2886
- return u && k.push({
3379
+ return h && f.push({
2887
3380
  kind: "element",
2888
3381
  tag: "p",
2889
- attrs: { class: "description", id: y },
2890
- children: [{ kind: "text", value: u }]
3382
+ attrs: { class: "description", id: S },
3383
+ children: [{ kind: "text", value: h }]
2891
3384
  }), {
2892
3385
  kind: "element",
2893
- tag: F,
3386
+ tag: J,
2894
3387
  attrs: {
2895
3388
  class: "set-range",
2896
3389
  "data-inline-size": i === "fit" ? "fit" : void 0,
2897
3390
  "data-size": s
2898
3391
  },
2899
- children: k
3392
+ children: f
2900
3393
  };
2901
3394
  }
2902
- function oi(t) {
2903
- return h(Ut(t));
3395
+ function zi(t) {
3396
+ return m(le(t));
2904
3397
  }
2905
- function $t() {
2906
- if (customElements.get(F)) return;
3398
+ function pe() {
3399
+ if (customElements.get(J)) return;
2907
3400
  class t extends HTMLElement {
2908
3401
  #t;
2909
3402
  #e = (e) => {
@@ -2957,12 +3450,12 @@ function $t() {
2957
3450
  this.#t && (delete this.#t.value, this.#t = void 0);
2958
3451
  }
2959
3452
  }
2960
- customElements.define(F, t);
3453
+ customElements.define(J, t);
2961
3454
  }
2962
- const di = {
3455
+ const Li = {
2963
3456
  name: "range",
2964
3457
  description: "Use `range` to let users pick a numeric value along a scale.",
2965
- output: { element: F, class: "set-range" },
3458
+ output: { element: J, class: "set-range" },
2966
3459
  content: { kind: "text", prop: "label" },
2967
3460
  props: {
2968
3461
  description: {
@@ -3091,9 +3584,9 @@ const di = {
3091
3584
  }
3092
3585
  ]
3093
3586
  }
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({
3587
+ }, tt = "set-sidebar", ce = "(min-width: 68em)", B = "Collapse sidebar", ut = "Open sidebar";
3588
+ function ue(t, n) {
3589
+ return `<div data-part="close">${mt({
3097
3590
  appearance: "text",
3098
3591
  icon: "panel-left",
3099
3592
  iconMirrored: "rtl",
@@ -3104,25 +3597,25 @@ function Zt(t, n) {
3104
3597
  type: "button"
3105
3598
  })}</div>`;
3106
3599
  }
3107
- function Ft({
3600
+ function he({
3108
3601
  aboveNotebook: t = "persistent",
3109
3602
  buttonSize: n = "md",
3110
3603
  children: e,
3111
- collapseLabel: i = V,
3604
+ collapseLabel: i = B,
3112
3605
  footer: r,
3113
3606
  header: a,
3114
3607
  id: o,
3115
3608
  surface: d,
3116
- triggerLabel: s = et
3609
+ triggerLabel: s = ut
3117
3610
  }) {
3118
- const l = o.trim(), p = i.trim() || V, c = s.trim() || et;
3119
- if (!l)
3611
+ const p = o.trim(), l = i.trim() || B, c = s.trim() || ut;
3612
+ if (!p)
3120
3613
  throw new Error("id must be a non-empty string.");
3121
- if (!I(l))
3614
+ if (!V(p))
3122
3615
  throw new Error(
3123
3616
  "id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
3124
3617
  );
3125
- const u = [
3618
+ const h = [
3126
3619
  {
3127
3620
  kind: "element",
3128
3621
  tag: "div",
@@ -3136,22 +3629,22 @@ function Ft({
3136
3629
  children: e ? [{ kind: "raw", html: e }] : []
3137
3630
  }
3138
3631
  ];
3139
- r && u.push({
3632
+ r && h.push({
3140
3633
  kind: "element",
3141
3634
  tag: "div",
3142
3635
  attrs: { class: "footer" },
3143
3636
  children: [{ kind: "raw", html: r }]
3144
3637
  });
3145
- const m = `${l}-panel`;
3638
+ const b = `${p}-panel`;
3146
3639
  return {
3147
3640
  kind: "element",
3148
- tag: j,
3641
+ tag: tt,
3149
3642
  attrs: {
3150
3643
  class: "set-sidebar",
3151
3644
  "data-above-notebook": t,
3152
- "data-collapse-label": p !== V ? p : void 0,
3645
+ "data-collapse-label": l !== B ? l : void 0,
3153
3646
  "data-button-size": n,
3154
- id: l
3647
+ id: p
3155
3648
  },
3156
3649
  children: [
3157
3650
  {
@@ -3159,9 +3652,9 @@ function Ft({
3159
3652
  tag: "div",
3160
3653
  attrs: { "data-part": "trigger" },
3161
3654
  children: [
3162
- it({
3655
+ ht({
3163
3656
  appearance: "text",
3164
- controls: m,
3657
+ controls: b,
3165
3658
  disclosure: !0,
3166
3659
  icon: "panel-left",
3167
3660
  iconMirrored: "rtl",
@@ -3179,10 +3672,10 @@ function Ft({
3179
3672
  attrs: {
3180
3673
  class: "sidebar",
3181
3674
  "data-set-surface": d,
3182
- id: m,
3675
+ id: b,
3183
3676
  tabindex: "-1"
3184
3677
  },
3185
- children: u
3678
+ children: h
3186
3679
  },
3187
3680
  {
3188
3681
  kind: "element",
@@ -3193,11 +3686,11 @@ function Ft({
3193
3686
  ]
3194
3687
  };
3195
3688
  }
3196
- function si(t) {
3197
- return h(Ft(t));
3689
+ function Ci(t) {
3690
+ return m(he(t));
3198
3691
  }
3199
- function jt() {
3200
- if (customElements.get(j)) return;
3692
+ function me() {
3693
+ if (customElements.get(tt)) return;
3201
3694
  class t extends HTMLElement {
3202
3695
  #t;
3203
3696
  #e;
@@ -3241,10 +3734,10 @@ function jt() {
3241
3734
  #l() {
3242
3735
  const e = this.#d();
3243
3736
  if (!e || e.querySelector('[data-part="close"]')) return;
3244
- const i = e.querySelector(".header"), r = this.getAttribute("data-collapse-label") || V, a = this.getAttribute("data-button-size") ?? "md";
3737
+ const i = e.querySelector(".header"), r = this.getAttribute("data-collapse-label") || B, a = this.getAttribute("data-button-size") ?? "md";
3245
3738
  i?.insertAdjacentHTML(
3246
3739
  "beforeend",
3247
- Zt(r, a)
3740
+ ue(r, a)
3248
3741
  );
3249
3742
  }
3250
3743
  #o() {
@@ -3319,7 +3812,7 @@ function jt() {
3319
3812
  }
3320
3813
  #f() {
3321
3814
  const e = this.ownerDocument.defaultView;
3322
- e && (typeof e.matchMedia == "function" && (this.#t = e.matchMedia(Gt), this.#n = () => {
3815
+ e && (typeof e.matchMedia == "function" && (this.#t = e.matchMedia(ce), this.#n = () => {
3323
3816
  this.#g();
3324
3817
  }, this.#t.addEventListener("change", this.#n), this.#g()), this.#e = (i) => {
3325
3818
  const r = i.target;
@@ -3346,13 +3839,13 @@ function jt() {
3346
3839
  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
3840
  }
3348
3841
  }
3349
- customElements.define(j, t);
3842
+ customElements.define(tt, t);
3350
3843
  }
3351
- const li = {
3844
+ const Mi = {
3352
3845
  name: "sidebar",
3353
3846
  description: "Use `sidebar` for a side panel alongside main content.",
3354
3847
  output: {
3355
- element: j,
3848
+ element: tt,
3356
3849
  class: "set-sidebar"
3357
3850
  },
3358
3851
  content: {
@@ -3382,7 +3875,7 @@ const li = {
3382
3875
  type: { kind: "html" }
3383
3876
  },
3384
3877
  collapseLabel: {
3385
- default: V,
3878
+ default: B,
3386
3879
  description: "Accessible label for the collapse button.",
3387
3880
  type: { kind: "string" }
3388
3881
  },
@@ -3407,7 +3900,7 @@ const li = {
3407
3900
  }
3408
3901
  },
3409
3902
  triggerLabel: {
3410
- default: et,
3903
+ default: ut,
3411
3904
  description: "Accessible label for the open button.",
3412
3905
  type: { kind: "string" }
3413
3906
  }
@@ -3439,7 +3932,7 @@ const li = {
3439
3932
  of: {
3440
3933
  kind: "when-equals",
3441
3934
  prop: "collapseLabel",
3442
- to: V
3935
+ to: B
3443
3936
  }
3444
3937
  }
3445
3938
  ]
@@ -3472,8 +3965,8 @@ const li = {
3472
3965
  }
3473
3966
  ]
3474
3967
  }
3475
- }, K = "set-video";
3476
- function Kt({
3968
+ }, et = "set-video";
3969
+ function ke({
3477
3970
  autoPlay: t,
3478
3971
  controls: n,
3479
3972
  fit: e = "intrinsic",
@@ -3483,14 +3976,14 @@ function Kt({
3483
3976
  muted: o,
3484
3977
  playsInline: d,
3485
3978
  poster: s,
3486
- preload: l,
3487
- src: p,
3979
+ preload: p,
3980
+ src: l,
3488
3981
  width: c
3489
3982
  }) {
3490
- const u = g(r), m = p.trim(), y = s?.trim();
3491
- if (!m)
3983
+ const h = v(r), b = l.trim(), S = s?.trim();
3984
+ if (!b)
3492
3985
  throw new Error("src must be a non-empty string.");
3493
- const k = {
3986
+ const f = {
3494
3987
  kind: "element",
3495
3988
  tag: "video",
3496
3989
  attrs: {
@@ -3501,30 +3994,30 @@ function Kt({
3501
3994
  loop: !!a,
3502
3995
  muted: !!o,
3503
3996
  playsinline: !!d,
3504
- poster: y || void 0,
3505
- preload: l,
3506
- src: m,
3997
+ poster: S || void 0,
3998
+ preload: p,
3999
+ src: b,
3507
4000
  width: c ? String(c) : void 0
3508
4001
  },
3509
4002
  children: []
3510
4003
  };
3511
4004
  return {
3512
4005
  kind: "element",
3513
- tag: K,
4006
+ tag: et,
3514
4007
  attrs: {
3515
4008
  class: "set-video",
3516
4009
  "data-fluid": e === "fluid",
3517
- id: u
4010
+ id: h
3518
4011
  },
3519
- children: [k]
4012
+ children: [f]
3520
4013
  };
3521
4014
  }
3522
- function pi(t) {
3523
- return h(Kt(t));
4015
+ function qi(t) {
4016
+ return m(ke(t));
3524
4017
  }
3525
- const Xt = "(prefers-reduced-motion: reduce)";
3526
- function Qt() {
3527
- if (customElements.get(K)) return;
4018
+ const ge = "(prefers-reduced-motion: reduce)";
4019
+ function be() {
4020
+ if (customElements.get(et)) return;
3528
4021
  class t extends HTMLElement {
3529
4022
  #t = !1;
3530
4023
  #e;
@@ -3533,7 +4026,7 @@ function Qt() {
3533
4026
  const e = this.querySelector("video");
3534
4027
  if (!e || (this.#t ||= e.hasAttribute("autoplay"), !this.#t)) return;
3535
4028
  const i = this.ownerDocument.defaultView;
3536
- !i || typeof i.matchMedia != "function" || (this.#e = i.matchMedia(Xt), this.#i = () => {
4029
+ !i || typeof i.matchMedia != "function" || (this.#e = i.matchMedia(ge), this.#i = () => {
3537
4030
  this.#n();
3538
4031
  }, this.#e.addEventListener("change", this.#i), this.#n());
3539
4032
  }
@@ -3546,12 +4039,12 @@ function Qt() {
3546
4039
  })));
3547
4040
  }
3548
4041
  }
3549
- customElements.define(K, t);
4042
+ customElements.define(et, t);
3550
4043
  }
3551
- const ci = {
4044
+ const Ii = {
3552
4045
  name: "video",
3553
4046
  description: "Use `video` to render a video with intrinsic or fluid fit and native playback behavior.",
3554
- output: { element: K, class: "set-video" },
4047
+ output: { element: et, class: "set-video" },
3555
4048
  content: { kind: "none" },
3556
4049
  props: {
3557
4050
  autoPlay: {
@@ -3676,54 +4169,54 @@ const ci = {
3676
4169
  ]
3677
4170
  }
3678
4171
  };
3679
- function Yt(t) {
4172
+ function ve(t) {
3680
4173
  return t ? /[A-Za-z]/.test(t) : !1;
3681
4174
  }
3682
- function Jt(t) {
4175
+ function fe(t) {
3683
4176
  return /^[a-z]/.test(t);
3684
4177
  }
3685
- function D(t) {
4178
+ function H(t) {
3686
4179
  const n = t.charAt(0);
3687
- return Yt(n) ? n : void 0;
4180
+ return ve(n) ? n : void 0;
3688
4181
  }
3689
- function te(t) {
3690
- const n = N(t);
4182
+ function ye(t) {
4183
+ const n = O(t);
3691
4184
  if (!n) return;
3692
- const e = n.split(" "), i = D(e[0]);
4185
+ const e = n.split(" "), i = H(e[0]);
3693
4186
  if (!i) return;
3694
4187
  const r = [i.toUpperCase()];
3695
4188
  if (e.length === 1)
3696
4189
  return r[0];
3697
- const a = e.slice(1).find(Jt);
4190
+ const a = e.slice(1).find(fe);
3698
4191
  if (a) {
3699
- const d = D(a);
4192
+ const d = H(a);
3700
4193
  return d ? `${r[0]}${d}` : void 0;
3701
4194
  }
3702
4195
  if (e.length === 2) {
3703
- const d = D(e[1]);
4196
+ const d = H(e[1]);
3704
4197
  if (!d) return;
3705
4198
  r.push(d);
3706
4199
  const s = e[1].split("-").filter(Boolean);
3707
4200
  if (s.length === 2) {
3708
- const l = D(s[1]);
3709
- l && r.push(l);
4201
+ const p = H(s[1]);
4202
+ p && r.push(p);
3710
4203
  }
3711
4204
  return r.slice(0, 3).join("");
3712
4205
  }
3713
4206
  if (e.length === 3) {
3714
- const d = D(e[1]), s = D(e[2]);
4207
+ const d = H(e[1]), s = H(e[2]);
3715
4208
  return !d || !s ? void 0 : (r.push(d, s), r.slice(0, 3).join(""));
3716
4209
  }
3717
- const o = D(e.at(-1) || "");
4210
+ const o = H(e.at(-1) || "");
3718
4211
  if (o)
3719
4212
  return r.push(o), r.slice(0, 3).join("");
3720
4213
  }
3721
- const ee = {
4214
+ const we = {
3722
4215
  bot: "robot-1",
3723
4216
  organization: "city-6",
3724
4217
  person: "user-1",
3725
4218
  team: "member"
3726
- }, ot = [
4219
+ }, ft = [
3727
4220
  "01",
3728
4221
  "02",
3729
4222
  "03",
@@ -3734,15 +4227,15 @@ const ee = {
3734
4227
  "08",
3735
4228
  "09"
3736
4229
  ];
3737
- function ie(t) {
4230
+ function Se(t) {
3738
4231
  let n = 5381;
3739
4232
  for (const e of t)
3740
4233
  n = n * 33 ^ e.charCodeAt(0);
3741
4234
  return n >>> 0;
3742
4235
  }
3743
- function ne(t) {
4236
+ function xe(t) {
3744
4237
  if (t == null) return;
3745
- const n = N(t);
4238
+ const n = O(t);
3746
4239
  if (n) {
3747
4240
  if (n.length > 3)
3748
4241
  throw new Error("initials must normalize to 3 characters or fewer.");
@@ -3751,26 +4244,26 @@ function ne(t) {
3751
4244
  return n;
3752
4245
  }
3753
4246
  }
3754
- function re({
4247
+ function Ee({
3755
4248
  alt: t,
3756
4249
  ariaHidden: n,
3757
4250
  name: e
3758
4251
  }) {
3759
4252
  if (!n)
3760
- return N(t) || N(e) || "Avatar";
4253
+ return O(t) || O(e) || "Avatar";
3761
4254
  }
3762
- function ae({
4255
+ function ze({
3763
4256
  color: t,
3764
4257
  name: n
3765
4258
  }) {
3766
4259
  if (t) return t;
3767
4260
  if (n) {
3768
- const e = ie(n) % ot.length;
3769
- return ot[e];
4261
+ const e = Se(n) % ft.length;
4262
+ return ft[e];
3770
4263
  }
3771
4264
  return "neutral";
3772
4265
  }
3773
- function oe({
4266
+ function Le({
3774
4267
  alt: t,
3775
4268
  ariaHidden: n,
3776
4269
  color: e,
@@ -3781,60 +4274,60 @@ function oe({
3781
4274
  size: d = "md",
3782
4275
  src: s
3783
4276
  }) {
3784
- const l = g(r), p = ne(a), c = N(o), u = N(s), m = re({
4277
+ const p = v(r), l = xe(a), c = O(o), h = O(s), b = Ee({
3785
4278
  alt: t,
3786
4279
  ariaHidden: n,
3787
4280
  name: c
3788
- }), y = p || te(c), k = !!u, v = ae({
4281
+ }), S = l || ye(c), f = !!h, E = ze({
3789
4282
  color: e,
3790
4283
  name: c
3791
- }), C = {
4284
+ }), q = {
3792
4285
  "aria-hidden": n ? "true" : void 0,
3793
- "aria-label": !n && !k ? m : void 0,
4286
+ "aria-label": !n && !f ? b : void 0,
3794
4287
  class: "set-avatar",
3795
- "data-color": v === "neutral" ? void 0 : v,
4288
+ "data-color": E === "neutral" ? void 0 : E,
3796
4289
  "data-entity": i === "person" ? void 0 : i,
3797
4290
  "data-size": d,
3798
- id: l,
3799
- role: !n && !k ? "img" : void 0
4291
+ id: p,
4292
+ role: !n && !f ? "img" : void 0
3800
4293
  };
3801
- let S;
3802
- return k ? S = {
4294
+ let w;
4295
+ return f ? w = {
3803
4296
  kind: "element",
3804
4297
  tag: "img",
3805
4298
  attrs: {
3806
- alt: n ? "" : m || "",
4299
+ alt: n ? "" : b || "",
3807
4300
  class: "img",
3808
- src: u
4301
+ src: h
3809
4302
  },
3810
4303
  children: []
3811
- } : y ? S = {
4304
+ } : S ? w = {
3812
4305
  kind: "element",
3813
4306
  tag: "span",
3814
4307
  attrs: { class: "initials" },
3815
- children: [{ kind: "text", value: y }]
3816
- } : S = {
4308
+ children: [{ kind: "text", value: S }]
4309
+ } : w = {
3817
4310
  kind: "element",
3818
4311
  tag: "span",
3819
4312
  attrs: { class: "icon-wrapper" },
3820
4313
  children: [
3821
- O({
4314
+ P({
3822
4315
  ariaHidden: !0,
3823
- name: ee[i],
4316
+ name: we[i],
3824
4317
  size: "fill"
3825
4318
  })
3826
4319
  ]
3827
4320
  }, {
3828
4321
  kind: "element",
3829
4322
  tag: "span",
3830
- attrs: C,
3831
- children: [S]
4323
+ attrs: q,
4324
+ children: [w]
3832
4325
  };
3833
4326
  }
3834
- function ui(t) {
3835
- return h(oe(t));
4327
+ function Ti(t) {
4328
+ return m(Le(t));
3836
4329
  }
3837
- const hi = {
4330
+ const Ai = {
3838
4331
  name: "avatar",
3839
4332
  description: "Use `avatar` to visually represent a person, team, or entity.",
3840
4333
  output: { element: "span", class: "set-avatar" },
@@ -3941,14 +4434,14 @@ const hi = {
3941
4434
  ]
3942
4435
  }
3943
4436
  };
3944
- function de({
4437
+ function Ce({
3945
4438
  floating: t,
3946
4439
  id: n,
3947
4440
  label: e,
3948
4441
  size: i = "md",
3949
4442
  tone: r
3950
4443
  }) {
3951
- const a = g(n);
4444
+ const a = v(n);
3952
4445
  return {
3953
4446
  kind: "element",
3954
4447
  tag: "span",
@@ -3962,10 +4455,10 @@ function de({
3962
4455
  children: [{ kind: "text", value: e }]
3963
4456
  };
3964
4457
  }
3965
- function mi(t) {
3966
- return h(de(t));
4458
+ function _i(t) {
4459
+ return m(Ce(t));
3967
4460
  }
3968
- const ki = {
4461
+ const Di = {
3969
4462
  name: "badge",
3970
4463
  description: "Use `badge` to annotate content with a short label.",
3971
4464
  output: { element: "span", class: "set-badge" },
@@ -4034,7 +4527,7 @@ const ki = {
4034
4527
  ]
4035
4528
  }
4036
4529
  };
4037
- function X({
4530
+ function it({
4038
4531
  align: t,
4039
4532
  as: n,
4040
4533
  children: e,
@@ -4044,30 +4537,30 @@ function X({
4044
4537
  monospaced: o,
4045
4538
  responsive: d,
4046
4539
  size: s = "md",
4047
- tone: l = "default"
4540
+ tone: p = "default"
4048
4541
  }) {
4049
- const p = g(i), c = n === "p" ? "p" : "span", u = c === "p", m = u ? t ?? "start" : void 0;
4542
+ const l = v(i), c = n === "p" ? "p" : "span", h = c === "p", b = h ? t ?? "start" : void 0;
4050
4543
  return {
4051
4544
  kind: "element",
4052
4545
  tag: c,
4053
4546
  attrs: {
4054
4547
  class: "set-text",
4055
- "data-align": m && m !== "start" ? m : void 0,
4548
+ "data-align": b && b !== "start" ? b : void 0,
4056
4549
  "data-link-visited": r ? void 0 : "off",
4057
- "data-measured": u ? a ?? !0 : void 0,
4550
+ "data-measured": h ? a ?? !0 : void 0,
4058
4551
  "data-monospaced": o,
4059
4552
  "data-responsive": d,
4060
4553
  "data-size": s,
4061
- "data-tone": l === "muted" ? "muted" : void 0,
4062
- id: p
4554
+ "data-tone": p === "muted" ? "muted" : void 0,
4555
+ id: l
4063
4556
  },
4064
4557
  children: [{ kind: "raw", html: e }]
4065
4558
  };
4066
4559
  }
4067
- function gi(t) {
4068
- return h(X(t));
4560
+ function Vi(t) {
4561
+ return m(it(t));
4069
4562
  }
4070
- const bi = {
4563
+ const Hi = {
4071
4564
  name: "text",
4072
4565
  description: "Use `text` for inline or paragraph body copy.",
4073
4566
  output: {
@@ -4191,7 +4684,7 @@ const bi = {
4191
4684
  ]
4192
4685
  }
4193
4686
  };
4194
- function se({
4687
+ function Me({
4195
4688
  align: t = "start",
4196
4689
  attribution: n,
4197
4690
  id: e,
@@ -4200,7 +4693,7 @@ function se({
4200
4693
  responsive: a = !1,
4201
4694
  size: o = "md"
4202
4695
  }) {
4203
- const d = g(e);
4696
+ const d = v(e);
4204
4697
  return {
4205
4698
  kind: "element",
4206
4699
  tag: "figure",
@@ -4215,7 +4708,7 @@ function se({
4215
4708
  tag: "blockquote",
4216
4709
  attrs: { class: "quote" },
4217
4710
  children: [
4218
- X({
4711
+ it({
4219
4712
  align: t,
4220
4713
  as: "p",
4221
4714
  children: r,
@@ -4230,7 +4723,7 @@ function se({
4230
4723
  tag: "figcaption",
4231
4724
  attrs: { class: "attribution" },
4232
4725
  children: [
4233
- X({
4726
+ it({
4234
4727
  as: "span",
4235
4728
  children: n,
4236
4729
  responsive: a,
@@ -4241,10 +4734,10 @@ function se({
4241
4734
  ]
4242
4735
  };
4243
4736
  }
4244
- function vi(t) {
4245
- return h(se(t));
4737
+ function Ni(t) {
4738
+ return m(Me(t));
4246
4739
  }
4247
- const fi = {
4740
+ const Bi = {
4248
4741
  name: "blockquote",
4249
4742
  description: "Use `blockquote` to display a quote with attribution.",
4250
4743
  output: { element: "figure", class: "set-blockquote" },
@@ -4313,7 +4806,7 @@ const fi = {
4313
4806
  ]
4314
4807
  }
4315
4808
  };
4316
- function le({
4809
+ function qe({
4317
4810
  background: t = "default",
4318
4811
  border: n,
4319
4812
  children: e,
@@ -4324,7 +4817,7 @@ function le({
4324
4817
  responsive: d,
4325
4818
  surface: s
4326
4819
  }) {
4327
- const l = g(i);
4820
+ const p = v(i);
4328
4821
  return {
4329
4822
  kind: "element",
4330
4823
  tag: "div",
@@ -4337,15 +4830,15 @@ function le({
4337
4830
  "data-padding-inline": a,
4338
4831
  "data-radius": o,
4339
4832
  "data-responsive": d,
4340
- id: l
4833
+ id: p
4341
4834
  },
4342
4835
  children: e ? [{ kind: "raw", html: e }] : []
4343
4836
  };
4344
4837
  }
4345
- function yi(t) {
4346
- return h(le(t));
4838
+ function Oi(t) {
4839
+ return m(qe(t));
4347
4840
  }
4348
- const wi = {
4841
+ const Pi = {
4349
4842
  name: "box",
4350
4843
  description: "Use `box` to inset content.",
4351
4844
  output: { element: "div", class: "set-box" },
@@ -4458,7 +4951,7 @@ const wi = {
4458
4951
  ]
4459
4952
  }
4460
4953
  };
4461
- function pe({
4954
+ function Ie({
4462
4955
  description: t,
4463
4956
  headingLevel: n,
4464
4957
  href: e,
@@ -4467,20 +4960,20 @@ function pe({
4467
4960
  surface: a,
4468
4961
  title: o
4469
4962
  }) {
4470
- const d = g(i), s = n ? `h${n}` : "div", l = e ? [
4963
+ const d = v(i), s = n ? `h${n}` : "div", p = e ? [
4471
4964
  {
4472
4965
  kind: "element",
4473
4966
  tag: "a",
4474
4967
  attrs: { href: e },
4475
4968
  children: [{ kind: "text", value: o }]
4476
4969
  }
4477
- ] : [{ kind: "text", value: o }], p = r ? [{ kind: "raw", html: r }] : [];
4478
- r && e && p.push({
4970
+ ] : [{ kind: "text", value: o }], l = r ? [{ kind: "raw", html: r }] : [];
4971
+ r && e && l.push({
4479
4972
  kind: "element",
4480
4973
  tag: "span",
4481
4974
  attrs: { class: "icon-wrapper" },
4482
4975
  children: [
4483
- O({
4976
+ P({
4484
4977
  ariaHidden: !0,
4485
4978
  mirrored: "rtl",
4486
4979
  name: "arrow-right",
@@ -4499,7 +4992,7 @@ function pe({
4499
4992
  kind: "element",
4500
4993
  tag: s,
4501
4994
  attrs: { class: "title" },
4502
- children: l
4995
+ children: p
4503
4996
  },
4504
4997
  {
4505
4998
  kind: "element",
@@ -4512,7 +5005,7 @@ function pe({
4512
5005
  kind: "element",
4513
5006
  tag: "p",
4514
5007
  attrs: { class: "note" },
4515
- children: p
5008
+ children: l
4516
5009
  }), {
4517
5010
  kind: "element",
4518
5011
  tag: "div",
@@ -4524,10 +5017,10 @@ function pe({
4524
5017
  children: c
4525
5018
  };
4526
5019
  }
4527
- function Si(t) {
4528
- return h(pe(t));
5020
+ function Ri(t) {
5021
+ return m(Ie(t));
4529
5022
  }
4530
- const xi = {
5023
+ const Wi = {
4531
5024
  name: "card",
4532
5025
  description: "Use `card` to display a summary for a single topic.",
4533
5026
  output: {
@@ -4595,7 +5088,7 @@ const xi = {
4595
5088
  ]
4596
5089
  }
4597
5090
  };
4598
- function ce({
5091
+ function Te({
4599
5092
  checked: t,
4600
5093
  description: n,
4601
5094
  disabled: e,
@@ -4605,12 +5098,12 @@ function ce({
4605
5098
  name: o,
4606
5099
  required: d,
4607
5100
  size: s = "md",
4608
- value: l
5101
+ value: p
4609
5102
  }) {
4610
- const p = g(i), c = n?.trim();
4611
- if (c && !p)
5103
+ const l = v(i), c = n?.trim();
5104
+ if (c && !l)
4612
5105
  throw new Error("id must be provided when description is provided.");
4613
- const u = c ? `${p}-description` : void 0, m = !!e, k = [
5106
+ const h = c ? `${l}-description` : void 0, b = !!e, f = [
4614
5107
  {
4615
5108
  kind: "element",
4616
5109
  tag: "label",
@@ -4620,16 +5113,16 @@ function ce({
4620
5113
  kind: "element",
4621
5114
  tag: "input",
4622
5115
  attrs: {
4623
- "aria-describedby": u,
4624
- "aria-invalid": !m && !!r ? "true" : void 0,
5116
+ "aria-describedby": h,
5117
+ "aria-invalid": !b && !!r ? "true" : void 0,
4625
5118
  checked: !!t,
4626
5119
  class: "checkbox",
4627
- disabled: m,
4628
- id: p,
5120
+ disabled: b,
5121
+ id: l,
4629
5122
  name: o || void 0,
4630
5123
  required: !!d,
4631
5124
  type: "checkbox",
4632
- value: l || void 0
5125
+ value: p || void 0
4633
5126
  },
4634
5127
  children: []
4635
5128
  },
@@ -4642,22 +5135,22 @@ function ce({
4642
5135
  ]
4643
5136
  }
4644
5137
  ];
4645
- return c && k.push({
5138
+ return c && f.push({
4646
5139
  kind: "element",
4647
5140
  tag: "p",
4648
- attrs: { class: "description", id: u },
5141
+ attrs: { class: "description", id: h },
4649
5142
  children: [{ kind: "text", value: c }]
4650
5143
  }), {
4651
5144
  kind: "element",
4652
5145
  tag: "div",
4653
5146
  attrs: { class: "set-checkbox", "data-size": s },
4654
- children: k
5147
+ children: f
4655
5148
  };
4656
5149
  }
4657
- function Ei(t) {
4658
- return h(ce(t));
5150
+ function Ui(t) {
5151
+ return m(Te(t));
4659
5152
  }
4660
- const zi = {
5153
+ const $i = {
4661
5154
  name: "checkbox",
4662
5155
  description: "Use `checkbox` to let users toggle a single option on or off.",
4663
5156
  output: { element: "div", class: "set-checkbox" },
@@ -4787,13 +5280,13 @@ const zi = {
4787
5280
  ]
4788
5281
  }
4789
5282
  };
4790
- function ue({
5283
+ function Ae({
4791
5284
  children: t,
4792
5285
  gutter: n = "default",
4793
5286
  id: e,
4794
5287
  maxInlineSize: i = "default"
4795
5288
  }) {
4796
- const r = g(e);
5289
+ const r = v(e);
4797
5290
  return {
4798
5291
  kind: "element",
4799
5292
  tag: "div",
@@ -4806,10 +5299,10 @@ function ue({
4806
5299
  children: t ? [{ kind: "raw", html: t }] : []
4807
5300
  };
4808
5301
  }
4809
- function Ci(t) {
4810
- return h(ue(t));
5302
+ function Gi(t) {
5303
+ return m(Ae(t));
4811
5304
  }
4812
- const Li = {
5305
+ const Zi = {
4813
5306
  name: "container",
4814
5307
  description: "Use `container` to wrap page-level content.",
4815
5308
  output: { element: "div", class: "set-container" },
@@ -4866,14 +5359,14 @@ const Li = {
4866
5359
  ]
4867
5360
  }
4868
5361
  };
4869
- function he({
5362
+ function _e({
4870
5363
  children: t,
4871
5364
  id: n,
4872
5365
  open: e,
4873
5366
  summary: i,
4874
5367
  inlineSize: r = "full"
4875
5368
  }) {
4876
- const a = g(n);
5369
+ const a = v(n);
4877
5370
  return {
4878
5371
  kind: "element",
4879
5372
  tag: "details",
@@ -4894,7 +5387,7 @@ function he({
4894
5387
  tag: "span",
4895
5388
  attrs: { class: "marker" },
4896
5389
  children: [
4897
- O({
5390
+ P({
4898
5391
  ariaHidden: !0,
4899
5392
  name: "chevron-right",
4900
5393
  size: "sm"
@@ -4918,10 +5411,10 @@ function he({
4918
5411
  ]
4919
5412
  };
4920
5413
  }
4921
- function Mi(t) {
4922
- return h(he(t));
5414
+ function Fi(t) {
5415
+ return m(_e(t));
4923
5416
  }
4924
- const qi = {
5417
+ const ji = {
4925
5418
  name: "details",
4926
5419
  description: "Use `details` to let users expand and collapse a section of content.",
4927
5420
  output: { element: "details", class: "set-details" },
@@ -4980,12 +5473,12 @@ const qi = {
4980
5473
  ]
4981
5474
  }
4982
5475
  };
4983
- function me({
5476
+ function De({
4984
5477
  id: t,
4985
5478
  orientation: n = "horizontal",
4986
5479
  tone: e = "default"
4987
5480
  } = {}) {
4988
- const i = g(t);
5481
+ const i = v(t);
4989
5482
  return {
4990
5483
  kind: "element",
4991
5484
  tag: n === "horizontal" ? "hr" : "span",
@@ -4999,10 +5492,10 @@ function me({
4999
5492
  children: []
5000
5493
  };
5001
5494
  }
5002
- function Ii(t = {}) {
5003
- return h(me(t));
5495
+ function Ki(t = {}) {
5496
+ return m(De(t));
5004
5497
  }
5005
- const Ti = {
5498
+ const Xi = {
5006
5499
  name: "divider",
5007
5500
  description: "Use `divider` to separate sections with a rule.",
5008
5501
  output: {
@@ -5064,7 +5557,7 @@ const Ti = {
5064
5557
  ]
5065
5558
  }
5066
5559
  };
5067
- function bt({
5560
+ function It({
5068
5561
  children: t,
5069
5562
  description: n,
5070
5563
  disabled: e,
@@ -5076,11 +5569,11 @@ function bt({
5076
5569
  const d = n?.trim(), s = i.trim();
5077
5570
  if (!s)
5078
5571
  throw new Error("id must be a non-empty string.");
5079
- if (!I(s))
5572
+ if (!V(s))
5080
5573
  throw new Error(
5081
5574
  "id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
5082
5575
  );
5083
- const l = d ? `${s}-description` : void 0, p = !!e, c = !p && !!r, u = [
5576
+ const p = d ? `${s}-description` : void 0, l = !!e, c = !l && !!r, h = [
5084
5577
  {
5085
5578
  kind: "element",
5086
5579
  tag: "legend",
@@ -5088,29 +5581,29 @@ function bt({
5088
5581
  children: [{ kind: "text", value: a }]
5089
5582
  }
5090
5583
  ];
5091
- return d && u.push({
5584
+ return d && h.push({
5092
5585
  kind: "element",
5093
5586
  tag: "p",
5094
- attrs: { class: "description", id: l },
5587
+ attrs: { class: "description", id: p },
5095
5588
  children: [{ kind: "text", value: d }]
5096
- }), t && u.push({ kind: "raw", html: t }), {
5589
+ }), t && h.push({ kind: "raw", html: t }), {
5097
5590
  kind: "element",
5098
5591
  tag: "fieldset",
5099
5592
  attrs: {
5100
- "aria-describedby": d ? l : void 0,
5593
+ "aria-describedby": d ? p : void 0,
5101
5594
  "aria-invalid": c ? "true" : void 0,
5102
5595
  class: "set-fieldset",
5103
5596
  "data-inline-size": o === "fit" ? "fit" : void 0,
5104
- disabled: p,
5597
+ disabled: l,
5105
5598
  id: s
5106
5599
  },
5107
- children: u
5600
+ children: h
5108
5601
  };
5109
5602
  }
5110
- function Ai(t) {
5111
- return h(bt(t));
5603
+ function Qi(t) {
5604
+ return m(It(t));
5112
5605
  }
5113
- const _i = {
5606
+ const Yi = {
5114
5607
  name: "fieldset",
5115
5608
  description: "Use `fieldset` to group related form controls under a legend.",
5116
5609
  output: { element: "fieldset", class: "set-fieldset" },
@@ -5198,7 +5691,7 @@ const _i = {
5198
5691
  ]
5199
5692
  }
5200
5693
  };
5201
- function ke({
5694
+ function Ve({
5202
5695
  align: t = "start",
5203
5696
  caption: n,
5204
5697
  children: e,
@@ -5206,7 +5699,7 @@ function ke({
5206
5699
  inlineSize: r = "full",
5207
5700
  responsive: a = !1
5208
5701
  }) {
5209
- const o = g(i);
5702
+ const o = v(i);
5210
5703
  return {
5211
5704
  kind: "element",
5212
5705
  tag: "figure",
@@ -5223,7 +5716,7 @@ function ke({
5223
5716
  tag: "figcaption",
5224
5717
  attrs: { class: "figcaption" },
5225
5718
  children: [
5226
- X({
5719
+ it({
5227
5720
  as: "span",
5228
5721
  children: n,
5229
5722
  responsive: a,
@@ -5234,10 +5727,10 @@ function ke({
5234
5727
  ]
5235
5728
  };
5236
5729
  }
5237
- function Di(t) {
5238
- return h(ke(t));
5730
+ function Ji(t) {
5731
+ return m(Ve(t));
5239
5732
  }
5240
- const Hi = {
5733
+ const tn = {
5241
5734
  name: "figure",
5242
5735
  description: "Use `figure` to present media with a caption.",
5243
5736
  output: { element: "figure", class: "set-figure" },
@@ -5306,16 +5799,16 @@ const Hi = {
5306
5799
  }
5307
5800
  ]
5308
5801
  }
5309
- }, L = (t) => {
5802
+ }, T = (t) => {
5310
5803
  if (t !== void 0)
5311
5804
  return String(t);
5312
5805
  };
5313
- function ge({
5806
+ function He({
5314
5807
  children: t,
5315
5808
  gap: n = "default",
5316
5809
  id: e
5317
5810
  }) {
5318
- const i = g(e);
5811
+ const i = v(e);
5319
5812
  return {
5320
5813
  kind: "element",
5321
5814
  tag: "div",
@@ -5334,10 +5827,10 @@ function ge({
5334
5827
  ]
5335
5828
  };
5336
5829
  }
5337
- function Vi(t) {
5338
- return h(ge(t));
5830
+ function en(t) {
5831
+ return m(He(t));
5339
5832
  }
5340
- function be({
5833
+ function Ne({
5341
5834
  align: t,
5342
5835
  children: n,
5343
5836
  colSpan: e,
@@ -5347,43 +5840,43 @@ function be({
5347
5840
  colStartNarrow: o,
5348
5841
  colStartWide: d,
5349
5842
  id: s,
5350
- justify: l,
5351
- rowSpan: p,
5843
+ justify: p,
5844
+ rowSpan: l,
5352
5845
  rowSpanNarrow: c,
5353
- rowSpanWide: u,
5354
- rowStart: m,
5355
- rowStartNarrow: y,
5356
- rowStartWide: k
5846
+ rowSpanWide: h,
5847
+ rowStart: b,
5848
+ rowStartNarrow: S,
5849
+ rowStartWide: f
5357
5850
  }) {
5358
- const v = g(s);
5851
+ const E = v(s);
5359
5852
  return {
5360
5853
  kind: "element",
5361
5854
  tag: "div",
5362
5855
  attrs: {
5363
5856
  class: "set-grid-item",
5364
5857
  "data-align": t,
5365
- "data-justify": l,
5366
- "data-col-span-narrow": L(i),
5367
- "data-col-start-narrow": L(o),
5368
- "data-col-span": L(e),
5369
- "data-col-start": L(a),
5370
- "data-col-span-wide": L(r),
5371
- "data-col-start-wide": L(d),
5372
- "data-row-span-narrow": L(c),
5373
- "data-row-start-narrow": L(y),
5374
- "data-row-span": L(p),
5375
- "data-row-start": L(m),
5376
- "data-row-span-wide": L(u),
5377
- "data-row-start-wide": L(k),
5378
- id: v
5858
+ "data-justify": p,
5859
+ "data-col-span-narrow": T(i),
5860
+ "data-col-start-narrow": T(o),
5861
+ "data-col-span": T(e),
5862
+ "data-col-start": T(a),
5863
+ "data-col-span-wide": T(r),
5864
+ "data-col-start-wide": T(d),
5865
+ "data-row-span-narrow": T(c),
5866
+ "data-row-start-narrow": T(S),
5867
+ "data-row-span": T(l),
5868
+ "data-row-start": T(b),
5869
+ "data-row-span-wide": T(h),
5870
+ "data-row-start-wide": T(f),
5871
+ id: E
5379
5872
  },
5380
5873
  children: n ? [{ kind: "raw", html: n }] : []
5381
5874
  };
5382
5875
  }
5383
- function Ni(t) {
5384
- return h(be(t));
5876
+ function nn(t) {
5877
+ return m(Ne(t));
5385
5878
  }
5386
- const Oi = {
5879
+ const rn = {
5387
5880
  name: "grid",
5388
5881
  description: "Use `grid` to lay out content in a 12-column responsive grid.",
5389
5882
  output: { element: "div", class: "set-grid" },
@@ -5424,12 +5917,12 @@ const Oi = {
5424
5917
  }
5425
5918
  ]
5426
5919
  }
5427
- }, M = {
5920
+ }, A = {
5428
5921
  kind: "number",
5429
5922
  min: 1,
5430
5923
  max: 12,
5431
5924
  integer: !0
5432
- }, Pi = {
5925
+ }, an = {
5433
5926
  name: "grid-item",
5434
5927
  description: "Use `grid-item` to place content within a `grid` layout.",
5435
5928
  output: { element: "div", class: "set-grid-item" },
@@ -5449,11 +5942,11 @@ const Oi = {
5449
5942
  },
5450
5943
  colSpan: {
5451
5944
  description: "Columns spanned at the default breakpoint.",
5452
- type: M
5945
+ type: A
5453
5946
  },
5454
5947
  colStart: {
5455
5948
  description: "Starting column at the default breakpoint.",
5456
- type: M
5949
+ type: A
5457
5950
  },
5458
5951
  id: {
5459
5952
  description: "DOM id.",
@@ -5461,43 +5954,43 @@ const Oi = {
5461
5954
  },
5462
5955
  rowSpan: {
5463
5956
  description: "Rows spanned at the default breakpoint.",
5464
- type: M
5957
+ type: A
5465
5958
  },
5466
5959
  rowSpanNarrow: {
5467
5960
  description: "Rows spanned at the narrow breakpoint.",
5468
- type: M
5961
+ type: A
5469
5962
  },
5470
5963
  rowSpanWide: {
5471
5964
  description: "Rows spanned at the wide breakpoint. Effect is only visible above the wide breakpoint.",
5472
- type: M
5965
+ type: A
5473
5966
  },
5474
5967
  rowStart: {
5475
5968
  description: "Starting row at the default breakpoint.",
5476
- type: M
5969
+ type: A
5477
5970
  },
5478
5971
  rowStartNarrow: {
5479
5972
  description: "Starting row at the narrow breakpoint.",
5480
- type: M
5973
+ type: A
5481
5974
  },
5482
5975
  rowStartWide: {
5483
5976
  description: "Starting row at the wide breakpoint. Effect is only visible above the wide breakpoint.",
5484
- type: M
5977
+ type: A
5485
5978
  },
5486
5979
  colSpanNarrow: {
5487
5980
  description: "Columns spanned at the narrow breakpoint.",
5488
- type: M
5981
+ type: A
5489
5982
  },
5490
5983
  colStartNarrow: {
5491
5984
  description: "Starting column at the narrow breakpoint.",
5492
- type: M
5985
+ type: A
5493
5986
  },
5494
5987
  colSpanWide: {
5495
5988
  description: "Columns spanned at the wide breakpoint. Effect is only visible above the wide breakpoint.",
5496
- type: M
5989
+ type: A
5497
5990
  },
5498
5991
  colStartWide: {
5499
5992
  description: "Starting column at the wide breakpoint. Effect is only visible above the wide breakpoint.",
5500
- type: M
5993
+ type: A
5501
5994
  }
5502
5995
  },
5503
5996
  events: {},
@@ -5596,7 +6089,7 @@ const Oi = {
5596
6089
  ]
5597
6090
  }
5598
6091
  };
5599
- function ve({
6092
+ function Be({
5600
6093
  align: t = "start",
5601
6094
  id: n,
5602
6095
  level: e,
@@ -5604,343 +6097,80 @@ function ve({
5604
6097
  responsive: r,
5605
6098
  size: a = "md",
5606
6099
  text: o
5607
- }) {
5608
- const d = g(n);
5609
- return {
5610
- kind: "element",
5611
- tag: e ? `h${e}` : "span",
5612
- attrs: {
5613
- class: "set-heading",
5614
- "data-align": t === "start" ? void 0 : t,
5615
- "data-optical-align": i,
5616
- "data-responsive": r,
5617
- "data-size": a,
5618
- id: d
5619
- },
5620
- children: [{ kind: "text", value: o }]
5621
- };
5622
- }
5623
- function Bi(t) {
5624
- return h(ve(t));
5625
- }
5626
- const Ri = {
5627
- name: "heading",
5628
- description: "Use `heading` to render heading text with consistent type.",
5629
- output: {
5630
- element: {
5631
- kind: "switch",
5632
- prop: "level",
5633
- cases: {
5634
- 1: "h1",
5635
- 2: "h2",
5636
- 3: "h3",
5637
- 4: "h4",
5638
- 5: "h5",
5639
- 6: "h6"
5640
- }
5641
- },
5642
- class: "set-heading"
5643
- },
5644
- content: { kind: "text", prop: "text" },
5645
- props: {
5646
- align: {
5647
- default: "start",
5648
- description: "Text alignment.",
5649
- type: { kind: "enum", values: ["start", "center", "end"] }
5650
- },
5651
- id: {
5652
- description: "DOM id.",
5653
- type: { kind: "string" }
5654
- },
5655
- level: {
5656
- description: "Semantic heading level. Renders a `<span>` when omitted.",
5657
- type: { kind: "enum", values: [1, 2, 3, 4, 5, 6] }
5658
- },
5659
- opticalAlign: {
5660
- default: !1,
5661
- description: "Optically aligns left sidebearing-heavy glyphs with the content edge.",
5662
- type: { kind: "boolean" }
5663
- },
5664
- responsive: {
5665
- default: !1,
5666
- description: "Scales type across breakpoints.",
5667
- type: { kind: "boolean" }
5668
- },
5669
- size: {
5670
- default: "md",
5671
- description: "Size variant.",
5672
- type: {
5673
- kind: "enum",
5674
- values: ["xs", "sm", "md", "lg", "xl", "2xl", "3xl", "4xl", "5xl"]
5675
- }
5676
- },
5677
- text: {
5678
- description: "Heading text.",
5679
- required: !0,
5680
- type: { kind: "text" }
5681
- }
5682
- },
5683
- events: {},
5684
- rules: {
5685
- attributes: [
5686
- {
5687
- target: { on: "host" },
5688
- attribute: "data-align",
5689
- condition: {
5690
- kind: "when-in",
5691
- prop: "align",
5692
- values: ["center", "end"]
5693
- },
5694
- value: { kind: "prop", prop: "align" }
5695
- },
5696
- {
5697
- target: { on: "host" },
5698
- attribute: "data-optical-align",
5699
- condition: { kind: "when-truthy", prop: "opticalAlign" }
5700
- },
5701
- {
5702
- target: { on: "host" },
5703
- attribute: "data-responsive",
5704
- condition: { kind: "when-truthy", prop: "responsive" }
5705
- },
5706
- {
5707
- target: { on: "host" },
5708
- attribute: "data-size",
5709
- condition: { kind: "always" },
5710
- value: { kind: "prop", prop: "size" }
5711
- },
5712
- {
5713
- target: { on: "host" },
5714
- attribute: "id",
5715
- condition: { kind: "when-non-empty", prop: "id" },
5716
- value: { kind: "prop", prop: "id" }
5717
- }
5718
- ]
5719
- }
5720
- };
5721
- function fe({
5722
- adaptive: t,
5723
- alt: n = "",
5724
- aspectRatio: e,
5725
- fit: i = "intrinsic",
5726
- gravity: r = "C",
5727
- height: a,
5728
- id: o,
5729
- lazy: d,
5730
- priority: s,
5731
- radius: l,
5732
- shadow: p,
5733
- sizes: c,
5734
- sources: u,
5735
- src: m,
5736
- srcSet: y,
5737
- width: k
5738
- }) {
5739
- const v = i === "cover", C = g(o), S = m.trim(), b = y?.trim(), x = c?.trim(), w = u?.map((f, q) => {
5740
- const _ = f.srcSet.trim(), z = f.media?.trim(), B = f.type?.trim(), yt = f.sizes?.trim();
5741
- if (!_)
5742
- throw new Error(`sources[${q}].srcSet must be non-empty.`);
5743
- return {
5744
- height: f.height,
5745
- media: z || void 0,
5746
- sizes: yt || void 0,
5747
- srcSet: _,
5748
- type: B || void 0,
5749
- width: f.width
5750
- };
5751
- }) || [];
5752
- if (!S)
5753
- throw new Error("src must be a non-empty string.");
5754
- if (t && [
5755
- S,
5756
- b,
5757
- ...w.map((f) => f.srcSet)
5758
- ].some((f) => f?.includes("#")))
5759
- throw new Error("adaptive sources must not contain URL fragments.");
5760
- const E = (f, q) => f.split(/,\s+/).map((_) => {
5761
- const [z, ...B] = _.trim().split(/\s+/);
5762
- if (!z || B.length > 1)
5763
- throw new Error(
5764
- "adaptive srcSet candidates must be a URL plus at most one descriptor, separated by a comma and whitespace."
5765
- );
5766
- return [`${z}#${q}`, ...B].join(" ");
5767
- }).join(", "), T = (f) => {
5768
- const q = {
5769
- kind: "element",
5770
- tag: "img",
5771
- attrs: {
5772
- alt: n,
5773
- class: "img",
5774
- "data-scheme": f && w.length === 0 ? f : void 0,
5775
- fetchpriority: s ? "high" : void 0,
5776
- height: v ? void 0 : a ? String(a) : void 0,
5777
- loading: d && !s ? "lazy" : void 0,
5778
- sizes: w.length > 0 ? void 0 : x || void 0,
5779
- src: f ? `${S}#${f}` : S,
5780
- srcset: b && f ? E(b, f) : b || void 0,
5781
- width: v ? void 0 : k ? String(k) : void 0
5782
- },
5783
- children: []
5784
- };
5785
- if (w.length === 0)
5786
- return q;
5787
- const _ = w.map((z) => ({
5788
- kind: "element",
5789
- tag: "source",
5790
- attrs: {
5791
- height: z.height ? String(z.height) : void 0,
5792
- media: z.media,
5793
- sizes: z.sizes,
5794
- srcset: f ? E(z.srcSet, f) : z.srcSet,
5795
- type: z.type,
5796
- width: z.width ? String(z.width) : void 0
5797
- },
5798
- children: []
5799
- }));
5800
- return {
5801
- kind: "element",
5802
- tag: "picture",
5803
- attrs: { "data-scheme": f },
5804
- children: [..._, q]
5805
- };
5806
- }, H = t ? [T("light"), T("dark")] : [T()], A = [];
5807
- return a && A.push(`--set-image-block-size: ${a / 16}rem`), k && A.push(`--set-image-inline-size: ${k / 16}rem`), {
6100
+ }) {
6101
+ const d = v(n);
6102
+ return {
5808
6103
  kind: "element",
5809
- tag: "div",
6104
+ tag: e ? `h${e}` : "span",
5810
6105
  attrs: {
5811
- class: "set-image",
5812
- "data-adaptive": !!t,
5813
- "data-aspect-ratio": v && !a ? e : void 0,
5814
- "data-fluid": i === "fluid",
5815
- "data-gravity": v && r !== "C" ? r : void 0,
5816
- "data-shadow": !!p,
5817
- "data-object-fit": v ? "cover" : void 0,
5818
- "data-radius": !!l,
5819
- id: C,
5820
- style: A.length > 0 ? A.join("; ") : void 0
6106
+ class: "set-heading",
6107
+ "data-align": t === "start" ? void 0 : t,
6108
+ "data-optical-align": i,
6109
+ "data-responsive": r,
6110
+ "data-size": a,
6111
+ id: d
5821
6112
  },
5822
- children: H
6113
+ children: [{ kind: "text", value: o }]
5823
6114
  };
5824
6115
  }
5825
- function ye(t) {
5826
- return h(fe(t));
6116
+ function on(t) {
6117
+ return m(Be(t));
5827
6118
  }
5828
- const Wi = {
5829
- name: "image",
5830
- description: "Use `image` to render a responsive image with intrinsic, fluid, or cover fit, and optional art-directed `sources`.",
5831
- output: { element: "div", class: "set-image" },
5832
- content: { kind: "none" },
5833
- props: {
5834
- adaptive: {
5835
- default: !1,
5836
- 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.",
5837
- type: { kind: "boolean" }
5838
- },
5839
- alt: {
5840
- default: "",
5841
- description: "Alternative text. Leave empty for decorative images.",
5842
- type: { kind: "string" }
5843
- },
5844
- gravity: {
5845
- default: "C",
5846
- description: "Focal point used when cropping.",
5847
- ignoredWhen: '`fit` is not `"cover"`',
5848
- type: {
5849
- kind: "enum",
5850
- values: ["N", "NE", "E", "SE", "S", "SW", "W", "NW", "C"]
5851
- }
5852
- },
5853
- radius: {
5854
- default: !1,
5855
- description: "Applies the default corner radius.",
5856
- type: { kind: "boolean" }
5857
- },
5858
- aspectRatio: {
5859
- description: "Aspect ratio applied to the wrapper.",
5860
- ignoredWhen: '`fit` is not `"cover"`, or `height` is set',
5861
- type: {
5862
- kind: "enum",
5863
- values: ["1:1", "4:5", "3:2", "16:9", "21:9"]
6119
+ const dn = {
6120
+ name: "heading",
6121
+ description: "Use `heading` to render heading text with consistent type.",
6122
+ output: {
6123
+ element: {
6124
+ kind: "switch",
6125
+ prop: "level",
6126
+ cases: {
6127
+ 1: "h1",
6128
+ 2: "h2",
6129
+ 3: "h3",
6130
+ 4: "h4",
6131
+ 5: "h5",
6132
+ 6: "h6"
5864
6133
  }
5865
6134
  },
5866
- fit: {
5867
- default: "intrinsic",
5868
- description: "Layout mode. `intrinsic` renders at the image's own dimensions, `fluid` scales to the container's full inline size at the active source's aspect ratio, `cover` renders a cropped fill (`object-fit: cover`) sized by the wrapper. For `fluid`, provide candidates sized for large viewports via `srcSet`/`sources` so upscaled rendering stays sharp.",
5869
- type: { kind: "enum", values: ["intrinsic", "fluid", "cover"] }
5870
- },
5871
- shadow: {
5872
- default: !1,
5873
- description: "Applies a drop shadow to the image.",
5874
- type: { kind: "boolean" }
5875
- },
5876
- height: {
5877
- description: "Height in pixels. Under `intrinsic` and `fluid`, an aspect-ratio hint — with `width`, reserves the correctly shaped box before load; rendered height follows the aspect ratio. Under `cover`, the wrapper's block size, overriding `aspectRatio`.",
5878
- type: { kind: "number" }
6135
+ class: "set-heading"
6136
+ },
6137
+ content: { kind: "text", prop: "text" },
6138
+ props: {
6139
+ align: {
6140
+ default: "start",
6141
+ description: "Text alignment.",
6142
+ type: { kind: "enum", values: ["start", "center", "end"] }
5879
6143
  },
5880
6144
  id: {
5881
6145
  description: "DOM id.",
5882
6146
  type: { kind: "string" }
5883
6147
  },
5884
- lazy: {
6148
+ level: {
6149
+ description: "Semantic heading level. Renders a `<span>` when omitted.",
6150
+ type: { kind: "enum", values: [1, 2, 3, 4, 5, 6] }
6151
+ },
6152
+ opticalAlign: {
5885
6153
  default: !1,
5886
- description: "Defers loading until the image is near the viewport.",
6154
+ description: "Optically aligns left sidebearing-heavy glyphs with the content edge.",
5887
6155
  type: { kind: "boolean" }
5888
6156
  },
5889
- priority: {
6157
+ responsive: {
5890
6158
  default: !1,
5891
- description: "Marks the image as high priority for fetch.",
6159
+ description: "Scales type across breakpoints.",
5892
6160
  type: { kind: "boolean" }
5893
6161
  },
5894
- sizes: {
5895
- description: "`sizes` attribute used with `srcSet`.",
5896
- ignoredWhen: "`sources` are provided",
5897
- type: { kind: "string" }
5898
- },
5899
- sources: {
5900
- description: "Responsive sources rendered inside a `<picture>`.",
6162
+ size: {
6163
+ default: "md",
6164
+ description: "Size variant.",
5901
6165
  type: {
5902
- kind: "array",
5903
- itemShape: {
5904
- height: {
5905
- description: "Intrinsic height in pixels.",
5906
- type: { kind: "number" }
5907
- },
5908
- media: {
5909
- description: "`media` condition evaluated for the source.",
5910
- type: { kind: "string" }
5911
- },
5912
- sizes: {
5913
- description: "`sizes` attribute for the source.",
5914
- type: { kind: "string" }
5915
- },
5916
- srcSet: {
5917
- description: "Candidate sources for this media entry.",
5918
- required: !0,
5919
- type: { kind: "string" }
5920
- },
5921
- type: {
5922
- description: "MIME type for the source resources.",
5923
- type: { kind: "string" }
5924
- },
5925
- width: {
5926
- description: "Intrinsic width in pixels.",
5927
- type: { kind: "number" }
5928
- }
5929
- }
6166
+ kind: "enum",
6167
+ values: ["xs", "sm", "md", "lg", "xl", "2xl", "3xl", "4xl", "5xl"]
5930
6168
  }
5931
6169
  },
5932
- srcSet: {
5933
- description: "Candidate sources for the fallback image.",
5934
- type: { kind: "string" }
5935
- },
5936
- src: {
5937
- description: "Image source URL.",
6170
+ text: {
6171
+ description: "Heading text.",
5938
6172
  required: !0,
5939
- type: { kind: "string" }
5940
- },
5941
- width: {
5942
- description: "Width in pixels. Under `intrinsic`, the rendered width, capped at the container; under `fluid`, an aspect-ratio hint; under `cover`, the wrapper's inline size (`aspectRatio` still derives the block size while `height` is unset).",
5943
- type: { kind: "number" }
6173
+ type: { kind: "text" }
5944
6174
  }
5945
6175
  },
5946
6176
  events: {},
@@ -5948,71 +6178,29 @@ const Wi = {
5948
6178
  attributes: [
5949
6179
  {
5950
6180
  target: { on: "host" },
5951
- attribute: "data-adaptive",
5952
- condition: { kind: "when-truthy", prop: "adaptive" }
5953
- },
5954
- {
5955
- target: { on: "host" },
5956
- attribute: "data-object-fit",
5957
- condition: { kind: "when-equals", prop: "fit", to: "cover" },
5958
- value: { kind: "literal", text: "cover" }
6181
+ attribute: "data-align",
6182
+ condition: {
6183
+ kind: "when-in",
6184
+ prop: "align",
6185
+ values: ["center", "end"]
6186
+ },
6187
+ value: { kind: "prop", prop: "align" }
5959
6188
  },
5960
6189
  {
5961
6190
  target: { on: "host" },
5962
- attribute: "data-shadow",
5963
- condition: { kind: "when-truthy", prop: "shadow" }
6191
+ attribute: "data-optical-align",
6192
+ condition: { kind: "when-truthy", prop: "opticalAlign" }
5964
6193
  },
5965
6194
  {
5966
6195
  target: { on: "host" },
5967
- attribute: "data-radius",
5968
- condition: { kind: "when-truthy", prop: "radius" }
6196
+ attribute: "data-responsive",
6197
+ condition: { kind: "when-truthy", prop: "responsive" }
5969
6198
  },
5970
6199
  {
5971
6200
  target: { on: "host" },
5972
- attribute: "data-fluid",
5973
- condition: { kind: "when-equals", prop: "fit", to: "fluid" }
5974
- },
5975
- {
5976
- target: { on: "descendant", selector: "img" },
5977
- attribute: "class",
5978
- condition: { kind: "always" },
5979
- value: { kind: "literal", text: "img" }
5980
- },
5981
- {
5982
- target: { on: "descendant", selector: "img" },
5983
- attribute: "alt",
5984
- condition: { kind: "always" },
5985
- value: { kind: "prop", prop: "alt" }
5986
- },
5987
- {
5988
- target: { on: "descendant", selector: "img" },
5989
- attribute: "src",
6201
+ attribute: "data-size",
5990
6202
  condition: { kind: "always" },
5991
- value: { kind: "template", pattern: "{src}" }
5992
- },
5993
- {
5994
- target: { on: "descendant", selector: "img" },
5995
- attribute: "srcset",
5996
- condition: { kind: "when-non-empty", prop: "srcSet" },
5997
- value: { kind: "prop", prop: "srcSet" }
5998
- },
5999
- {
6000
- target: { on: "descendant", selector: "img" },
6001
- attribute: "fetchpriority",
6002
- condition: { kind: "when-truthy", prop: "priority" },
6003
- value: { kind: "literal", text: "high" }
6004
- },
6005
- {
6006
- target: { on: "descendant", selector: "img" },
6007
- attribute: "loading",
6008
- condition: {
6009
- kind: "all",
6010
- of: [
6011
- { kind: "when-truthy", prop: "lazy" },
6012
- { kind: "not", of: { kind: "when-truthy", prop: "priority" } }
6013
- ]
6014
- },
6015
- value: { kind: "literal", text: "lazy" }
6203
+ value: { kind: "prop", prop: "size" }
6016
6204
  },
6017
6205
  {
6018
6206
  target: { on: "host" },
@@ -6023,7 +6211,7 @@ const Wi = {
6023
6211
  ]
6024
6212
  }
6025
6213
  };
6026
- function we({
6214
+ function Oe({
6027
6215
  align: t = "center",
6028
6216
  as: n = "div",
6029
6217
  children: e,
@@ -6032,7 +6220,7 @@ function we({
6032
6220
  justify: a = "start",
6033
6221
  nowrap: o
6034
6222
  }) {
6035
- const d = g(r);
6223
+ const d = v(r);
6036
6224
  return {
6037
6225
  kind: "element",
6038
6226
  tag: n,
@@ -6047,10 +6235,10 @@ function we({
6047
6235
  children: e ? [{ kind: "raw", html: e }] : []
6048
6236
  };
6049
6237
  }
6050
- function Ui(t) {
6051
- return h(we(t));
6238
+ function sn(t) {
6239
+ return m(Oe(t));
6052
6240
  }
6053
- const $i = {
6241
+ const ln = {
6054
6242
  name: "inline",
6055
6243
  description: "Use `inline` to lay out content in a horizontal row.",
6056
6244
  output: {
@@ -6135,7 +6323,7 @@ const $i = {
6135
6323
  ]
6136
6324
  }
6137
6325
  };
6138
- function Se({
6326
+ function Pe({
6139
6327
  autocomplete: t,
6140
6328
  description: n,
6141
6329
  disabled: e,
@@ -6145,69 +6333,69 @@ function Se({
6145
6333
  name: o,
6146
6334
  pattern: d,
6147
6335
  readOnly: s,
6148
- required: l,
6149
- size: p = "md",
6336
+ required: p,
6337
+ size: l = "md",
6150
6338
  spellcheck: c,
6151
- type: u = "text",
6152
- value: m,
6153
- inlineSize: y = "full"
6339
+ type: h = "text",
6340
+ value: b,
6341
+ inlineSize: S = "full"
6154
6342
  }) {
6155
- const k = i.trim(), v = n?.trim(), C = t === !1 ? !1 : t?.trim(), S = o?.trim(), b = d?.trim(), x = m;
6156
- if (!k)
6343
+ const f = i.trim(), E = n?.trim(), q = t === !1 ? !1 : t?.trim(), w = o?.trim(), k = d?.trim(), C = b;
6344
+ if (!f)
6157
6345
  throw new Error("id must be a non-empty string.");
6158
- if (!I(k))
6346
+ if (!V(f))
6159
6347
  throw new Error(
6160
6348
  "id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
6161
6349
  );
6162
- 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 = [
6350
+ const x = E ? `${f}-description` : void 0, z = h === "numeric", _ = z ? "text" : h, D = k || (z ? "^[0-9]*$" : void 0), N = c === void 0 && z ? !1 : c, M = !!e, U = !M && !!s, $ = [
6163
6351
  {
6164
6352
  kind: "element",
6165
6353
  tag: "label",
6166
- attrs: { class: "label", for: k },
6354
+ attrs: { class: "label", for: f },
6167
6355
  children: [{ kind: "text", value: a }]
6168
6356
  },
6169
6357
  {
6170
6358
  kind: "element",
6171
6359
  tag: "input",
6172
6360
  attrs: {
6173
- "aria-describedby": w,
6174
- "aria-invalid": !f && !q && !!r ? "true" : void 0,
6175
- autocomplete: C === !1 ? "off" : C || void 0,
6361
+ "aria-describedby": x,
6362
+ "aria-invalid": !M && !U && !!r ? "true" : void 0,
6363
+ autocomplete: q === !1 ? "off" : q || void 0,
6176
6364
  class: "input",
6177
- disabled: f,
6178
- id: k,
6179
- inputmode: E ? "numeric" : void 0,
6180
- name: S || void 0,
6181
- pattern: H,
6182
- readonly: q,
6183
- required: !!l,
6184
- spellcheck: A === void 0 ? void 0 : String(A),
6185
- type: T,
6186
- value: x
6365
+ disabled: M,
6366
+ id: f,
6367
+ inputmode: z ? "numeric" : void 0,
6368
+ name: w || void 0,
6369
+ pattern: D,
6370
+ readonly: U,
6371
+ required: !!p,
6372
+ spellcheck: N === void 0 ? void 0 : String(N),
6373
+ type: _,
6374
+ value: C
6187
6375
  },
6188
6376
  children: []
6189
6377
  }
6190
6378
  ];
6191
- return v && z.push({
6379
+ return E && $.push({
6192
6380
  kind: "element",
6193
6381
  tag: "p",
6194
- attrs: { class: "description", id: w },
6195
- children: [{ kind: "text", value: v }]
6382
+ attrs: { class: "description", id: x },
6383
+ children: [{ kind: "text", value: E }]
6196
6384
  }), {
6197
6385
  kind: "element",
6198
6386
  tag: "div",
6199
6387
  attrs: {
6200
6388
  class: "set-input",
6201
- "data-size": p,
6202
- "data-inline-size": y === "fit" ? "fit" : void 0
6389
+ "data-size": l,
6390
+ "data-inline-size": S === "fit" ? "fit" : void 0
6203
6391
  },
6204
- children: z
6392
+ children: $
6205
6393
  };
6206
6394
  }
6207
- function Gi(t) {
6208
- return h(Se(t));
6395
+ function pn(t) {
6396
+ return m(Pe(t));
6209
6397
  }
6210
- const Zi = {
6398
+ const cn = {
6211
6399
  name: "input",
6212
6400
  description: "Use `input` to collect a single line of text from users.",
6213
6401
  output: { element: "div", class: "set-input" },
@@ -6402,7 +6590,7 @@ const Zi = {
6402
6590
  }
6403
6591
  ]
6404
6592
  }
6405
- }, xe = "0 0 6714.6 1200", Ee = "0 0 600 1200", ze = [
6593
+ }, Re = "0 0 6714.6 1200", We = "0 0 600 1200", Ue = [
6406
6594
  { x: 0, y: 0 },
6407
6595
  { x: 300, y: 0 },
6408
6596
  { x: 150, y: 300 },
@@ -6411,11 +6599,11 @@ const Zi = {
6411
6599
  { x: 300, y: 600 },
6412
6600
  { x: 150, y: 900 },
6413
6601
  { x: 450, y: 900 }
6414
- ], 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 = () => ({
6602
+ ], $e = "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", Ge = 1163, Tt = () => ({
6415
6603
  kind: "element",
6416
6604
  tag: "g",
6417
6605
  attrs: { class: "mark" },
6418
- children: ze.map(({ x: t, y: n }) => ({
6606
+ children: Ue.map(({ x: t, y: n }) => ({
6419
6607
  kind: "element",
6420
6608
  tag: "rect",
6421
6609
  attrs: {
@@ -6426,19 +6614,19 @@ const Zi = {
6426
6614
  },
6427
6615
  children: []
6428
6616
  }))
6429
- }), Me = () => ({
6617
+ }), Ze = () => ({
6430
6618
  kind: "element",
6431
6619
  tag: "g",
6432
- attrs: { class: "word", transform: `translate(${Le} 0)` },
6620
+ attrs: { class: "word", transform: `translate(${Ge} 0)` },
6433
6621
  children: [
6434
6622
  {
6435
6623
  kind: "element",
6436
6624
  tag: "path",
6437
- attrs: { d: Ce },
6625
+ attrs: { d: $e },
6438
6626
  children: []
6439
6627
  }
6440
6628
  ]
6441
- }), ft = (t, n) => ({
6629
+ }), At = (t, n) => ({
6442
6630
  kind: "element",
6443
6631
  tag: "svg",
6444
6632
  attrs: {
@@ -6448,13 +6636,13 @@ const Zi = {
6448
6636
  },
6449
6637
  children: n
6450
6638
  });
6451
- function qe() {
6452
- return ft(xe, [vt(), Me()]);
6639
+ function Fe() {
6640
+ return At(Re, [Tt(), Ze()]);
6453
6641
  }
6454
- function Ie() {
6455
- return ft(Ee, [vt()]);
6642
+ function je() {
6643
+ return At(We, [Tt()]);
6456
6644
  }
6457
- function Te({
6645
+ function Ke({
6458
6646
  animated: t,
6459
6647
  id: n,
6460
6648
  label: e,
@@ -6462,7 +6650,7 @@ function Te({
6462
6650
  tone: r = "default",
6463
6651
  variant: a = "primary"
6464
6652
  }) {
6465
- const o = g(n), d = !!t && (a === "primary" || a === "graphic"), s = [
6653
+ const o = v(n), d = !!t && (a === "primary" || a === "graphic"), s = [
6466
6654
  {
6467
6655
  kind: "element",
6468
6656
  tag: "span",
@@ -6471,7 +6659,7 @@ function Te({
6471
6659
  }
6472
6660
  ];
6473
6661
  return d && s.push(
6474
- a === "graphic" ? Ie() : qe()
6662
+ a === "graphic" ? je() : Fe()
6475
6663
  ), {
6476
6664
  kind: "element",
6477
6665
  tag: "div",
@@ -6486,10 +6674,10 @@ function Te({
6486
6674
  children: s
6487
6675
  };
6488
6676
  }
6489
- function Fi(t) {
6490
- return h(Te(t));
6677
+ function un(t) {
6678
+ return m(Ke(t));
6491
6679
  }
6492
- const ji = {
6680
+ const hn = {
6493
6681
  name: "logo",
6494
6682
  description: "Use `logo` to display the brand mark.",
6495
6683
  output: { element: "div", class: "set-logo" },
@@ -6577,7 +6765,7 @@ const ji = {
6577
6765
  ]
6578
6766
  }
6579
6767
  };
6580
- function Ae({
6768
+ function Xe({
6581
6769
  banner: t,
6582
6770
  centerMain: n,
6583
6771
  children: e,
@@ -6588,18 +6776,18 @@ function Ae({
6588
6776
  id: d,
6589
6777
  stickyHeader: s
6590
6778
  }) {
6591
- const l = g(d), p = [];
6592
- return t && p.push({ kind: "raw", html: t }), p.push({
6779
+ const p = v(d), l = [];
6780
+ return t && l.push({ kind: "raw", html: t }), l.push({
6593
6781
  kind: "element",
6594
6782
  tag: "header",
6595
6783
  attrs: { class: "header" },
6596
6784
  children: [{ kind: "raw", html: r }]
6597
- }), p.push({
6785
+ }), l.push({
6598
6786
  kind: "element",
6599
6787
  tag: "main",
6600
6788
  attrs: { class: "main" },
6601
6789
  children: e ? [{ kind: "raw", html: e }] : []
6602
- }), p.push({
6790
+ }), l.push({
6603
6791
  kind: "element",
6604
6792
  tag: "footer",
6605
6793
  attrs: { class: "footer" },
@@ -6613,15 +6801,15 @@ function Ae({
6613
6801
  "data-header-border": a,
6614
6802
  "data-header-size": o,
6615
6803
  "data-sticky-header": s,
6616
- id: l
6804
+ id: p
6617
6805
  },
6618
- children: p
6806
+ children: l
6619
6807
  };
6620
6808
  }
6621
- function Ki(t) {
6622
- return h(Ae(t));
6809
+ function mn(t) {
6810
+ return m(Xe(t));
6623
6811
  }
6624
- const Xi = {
6812
+ const kn = {
6625
6813
  name: "page",
6626
6814
  description: "Use `page` as the primary layout for header, main, and footer regions.",
6627
6815
  output: { element: "div", class: "set-page" },
@@ -6711,13 +6899,13 @@ const Xi = {
6711
6899
  ]
6712
6900
  }
6713
6901
  };
6714
- function _e({
6902
+ function Qe({
6715
6903
  children: t,
6716
6904
  id: n,
6717
6905
  padding: e = "md",
6718
6906
  surface: i
6719
6907
  }) {
6720
- const r = g(n);
6908
+ const r = v(n);
6721
6909
  return {
6722
6910
  kind: "element",
6723
6911
  tag: "div",
@@ -6730,10 +6918,10 @@ function _e({
6730
6918
  children: t ? [{ kind: "raw", html: t }] : []
6731
6919
  };
6732
6920
  }
6733
- function Qi(t) {
6734
- return h(_e(t));
6921
+ function gn(t) {
6922
+ return m(Qe(t));
6735
6923
  }
6736
- const Yi = {
6924
+ const bn = {
6737
6925
  name: "panel",
6738
6926
  description: "Use `panel` to group related content in a contained region.",
6739
6927
  output: { element: "div", class: "set-panel" },
@@ -6784,14 +6972,14 @@ const Yi = {
6784
6972
  ]
6785
6973
  }
6786
6974
  };
6787
- function De({
6975
+ function Ye({
6788
6976
  children: t,
6789
6977
  id: n,
6790
6978
  size: e = "md",
6791
6979
  tone: i = "default",
6792
6980
  variant: r = "tile"
6793
6981
  } = {}) {
6794
- const a = g(n);
6982
+ const a = v(n);
6795
6983
  return {
6796
6984
  kind: "element",
6797
6985
  tag: "div",
@@ -6805,10 +6993,10 @@ function De({
6805
6993
  children: t ? [{ kind: "raw", html: t }] : []
6806
6994
  };
6807
6995
  }
6808
- function Ji(t = {}) {
6809
- return h(De(t));
6996
+ function vn(t = {}) {
6997
+ return m(Ye(t));
6810
6998
  }
6811
- const tn = {
6999
+ const fn = {
6812
7000
  name: "pattern",
6813
7001
  description: "Use `pattern` to render repeated visual language components behind content.",
6814
7002
  output: { element: "div", class: "set-pattern" },
@@ -6875,22 +7063,22 @@ const tn = {
6875
7063
  ]
6876
7064
  }
6877
7065
  };
6878
- function en(t) {
6879
- return ye({
7066
+ function yn(t) {
7067
+ return Qt({
6880
7068
  ...t,
6881
7069
  alt: "",
6882
7070
  fit: "cover",
6883
7071
  priority: !0
6884
7072
  });
6885
7073
  }
6886
- function He({
7074
+ function Je({
6887
7075
  children: t,
6888
7076
  contentTheme: n,
6889
7077
  id: e,
6890
7078
  media: i,
6891
7079
  surface: r
6892
7080
  }) {
6893
- const a = g(e), o = n ? r ?? "default" : r, d = [
7081
+ const a = v(e), o = n ? r ?? "default" : r, d = [
6894
7082
  {
6895
7083
  kind: "element",
6896
7084
  tag: "div",
@@ -6915,10 +7103,10 @@ function He({
6915
7103
  children: d
6916
7104
  };
6917
7105
  }
6918
- function nn(t) {
6919
- return h(He(t));
7106
+ function wn(t) {
7107
+ return m(Je(t));
6920
7108
  }
6921
- const rn = {
7109
+ const Sn = {
6922
7110
  name: "poster",
6923
7111
  description: "Use `poster` to layer content over background media.",
6924
7112
  output: { element: "div", class: "set-poster" },
@@ -6989,7 +7177,7 @@ const rn = {
6989
7177
  ]
6990
7178
  }
6991
7179
  };
6992
- function Ve({
7180
+ function ti({
6993
7181
  align: t = "start",
6994
7182
  children: n,
6995
7183
  hangingPunctuation: e,
@@ -6999,7 +7187,7 @@ function Ve({
6999
7187
  monospaced: o,
7000
7188
  responsive: d
7001
7189
  }) {
7002
- const s = g(i);
7190
+ const s = v(i);
7003
7191
  return {
7004
7192
  kind: "element",
7005
7193
  tag: "div",
@@ -7016,10 +7204,10 @@ function Ve({
7016
7204
  children: [{ kind: "raw", html: n }]
7017
7205
  };
7018
7206
  }
7019
- function an(t) {
7020
- return h(Ve(t));
7207
+ function xn(t) {
7208
+ return m(ti(t));
7021
7209
  }
7022
- const on = {
7210
+ const En = {
7023
7211
  name: "prose",
7024
7212
  description: "Use `prose` to style rich-text markup.",
7025
7213
  output: { element: "div", class: "set-prose" },
@@ -7113,7 +7301,7 @@ const on = {
7113
7301
  ]
7114
7302
  }
7115
7303
  };
7116
- function Ne({
7304
+ function ei({
7117
7305
  description: t,
7118
7306
  disabled: n,
7119
7307
  id: e,
@@ -7123,37 +7311,37 @@ function Ne({
7123
7311
  name: o,
7124
7312
  orientation: d = "vertical",
7125
7313
  required: s,
7126
- size: l = "md",
7127
- value: p
7314
+ size: p = "md",
7315
+ value: l
7128
7316
  }) {
7129
- const c = e.trim(), u = o.trim(), m = p?.trim();
7317
+ const c = e.trim(), h = o.trim(), b = l?.trim();
7130
7318
  if (!c)
7131
7319
  throw new Error("id must be a non-empty string.");
7132
- if (!I(c))
7320
+ if (!V(c))
7133
7321
  throw new Error(
7134
7322
  "id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
7135
7323
  );
7136
- if (!u)
7324
+ if (!h)
7137
7325
  throw new Error("name must be a non-empty string.");
7138
7326
  if (r.length < 2)
7139
7327
  throw new Error("radios must include at least 2 options.");
7140
- const y = r.map((b, x) => {
7141
- const w = b.value.trim(), E = b.label.trim(), T = b.description?.trim();
7142
- if (!w)
7143
- throw new Error(`radios[${x}].value must be non-empty.`);
7144
- if (!E)
7145
- throw new Error(`radios[${x}].label must be non-empty.`);
7328
+ const S = r.map((k, C) => {
7329
+ const x = k.value.trim(), z = k.label.trim(), _ = k.description?.trim();
7330
+ if (!x)
7331
+ throw new Error(`radios[${C}].value must be non-empty.`);
7332
+ if (!z)
7333
+ throw new Error(`radios[${C}].label must be non-empty.`);
7146
7334
  return {
7147
- description: T,
7148
- disabled: !!b.disabled,
7149
- label: E,
7150
- value: w
7335
+ description: _,
7336
+ disabled: !!k.disabled,
7337
+ label: z,
7338
+ value: x
7151
7339
  };
7152
7340
  });
7153
- if (new Set(y.map((b) => b.value)).size !== y.length)
7341
+ if (new Set(S.map((k) => k.value)).size !== S.length)
7154
7342
  throw new Error("radios values must be unique.");
7155
- const v = !!n, C = y.map((b) => {
7156
- const x = !!b.disabled, w = b.description ? `${c}-${b.value}-description` : void 0, E = [
7343
+ const E = !!n, q = S.map((k) => {
7344
+ const C = !!k.disabled, x = k.description ? `${c}-${k.value}-description` : void 0, z = [
7157
7345
  {
7158
7346
  kind: "element",
7159
7347
  tag: "label",
@@ -7163,14 +7351,14 @@ function Ne({
7163
7351
  kind: "element",
7164
7352
  tag: "input",
7165
7353
  attrs: {
7166
- "aria-describedby": w,
7167
- checked: m === b.value,
7354
+ "aria-describedby": x,
7355
+ checked: b === k.value,
7168
7356
  class: "radio",
7169
- disabled: x,
7170
- name: u,
7171
- required: !!s && !v && !x,
7357
+ disabled: C,
7358
+ name: h,
7359
+ required: !!s && !E && !C,
7172
7360
  type: "radio",
7173
- value: b.value
7361
+ value: k.value
7174
7362
  },
7175
7363
  children: []
7176
7364
  },
@@ -7178,45 +7366,45 @@ function Ne({
7178
7366
  kind: "element",
7179
7367
  tag: "span",
7180
7368
  attrs: {},
7181
- children: [{ kind: "text", value: b.label }]
7369
+ children: [{ kind: "text", value: k.label }]
7182
7370
  }
7183
7371
  ]
7184
7372
  }
7185
7373
  ];
7186
- return b.description && E.push({
7374
+ return k.description && z.push({
7187
7375
  kind: "element",
7188
7376
  tag: "p",
7189
- attrs: { class: "radio-description", id: w },
7190
- children: [{ kind: "text", value: b.description }]
7377
+ attrs: { class: "radio-description", id: x },
7378
+ children: [{ kind: "text", value: k.description }]
7191
7379
  }), {
7192
7380
  kind: "element",
7193
7381
  tag: "div",
7194
7382
  attrs: { class: "radio-field" },
7195
- children: E
7383
+ children: z
7196
7384
  };
7197
7385
  });
7198
- return bt({
7199
- children: h({
7386
+ return It({
7387
+ children: m({
7200
7388
  kind: "element",
7201
7389
  tag: "div",
7202
7390
  attrs: {
7203
7391
  class: "set-radios",
7204
7392
  "data-orientation": d,
7205
- "data-size": l
7393
+ "data-size": p
7206
7394
  },
7207
- children: C
7395
+ children: q
7208
7396
  }),
7209
7397
  description: t,
7210
- disabled: v,
7398
+ disabled: E,
7211
7399
  id: c,
7212
7400
  invalid: i,
7213
7401
  legend: a
7214
7402
  });
7215
7403
  }
7216
- function dn(t) {
7217
- return h(Ne(t));
7404
+ function zn(t) {
7405
+ return m(ei(t));
7218
7406
  }
7219
- const sn = {
7407
+ const Ln = {
7220
7408
  name: "radios",
7221
7409
  description: "Use `radios` to let users select one option from a short list.",
7222
7410
  output: { element: "fieldset", class: "set-fieldset" },
@@ -7365,7 +7553,7 @@ const sn = {
7365
7553
  ]
7366
7554
  }
7367
7555
  };
7368
- function Oe({
7556
+ function ii({
7369
7557
  appOverscrollBehavior: t,
7370
7558
  appRoot: n,
7371
7559
  brand: e = "mnsp",
@@ -7375,7 +7563,7 @@ function Oe({
7375
7563
  lang: o,
7376
7564
  theme: d
7377
7565
  }) {
7378
- const s = g(a);
7566
+ const s = v(a);
7379
7567
  return {
7380
7568
  kind: "element",
7381
7569
  tag: "div",
@@ -7392,10 +7580,10 @@ function Oe({
7392
7580
  children: i ? [{ kind: "raw", html: i }] : []
7393
7581
  };
7394
7582
  }
7395
- function ln(t) {
7396
- return h(Oe(t));
7583
+ function Cn(t) {
7584
+ return m(ii(t));
7397
7585
  }
7398
- const pn = {
7586
+ const Mn = {
7399
7587
  name: "root",
7400
7588
  description: "Mandatory top-level `root` wrapper for the Set system.",
7401
7589
  output: { element: "div", class: "set" },
@@ -7488,13 +7676,13 @@ const pn = {
7488
7676
  ]
7489
7677
  }
7490
7678
  };
7491
- function Pe({
7679
+ function ni({
7492
7680
  id: t,
7493
7681
  label: n,
7494
7682
  size: e = "md",
7495
7683
  tone: i = "default"
7496
7684
  } = {}) {
7497
- const r = g(t), o = [
7685
+ const r = v(t), o = [
7498
7686
  {
7499
7687
  kind: "element",
7500
7688
  tag: "svg",
@@ -7545,10 +7733,10 @@ function Pe({
7545
7733
  children: o
7546
7734
  };
7547
7735
  }
7548
- function cn(t = {}) {
7549
- return h(Pe(t));
7736
+ function qn(t = {}) {
7737
+ return m(ni(t));
7550
7738
  }
7551
- const un = {
7739
+ const In = {
7552
7740
  name: "spinner",
7553
7741
  description: "Use `spinner` to indicate loading or in-progress state.",
7554
7742
  output: { element: "span", class: "set-spinner" },
@@ -7606,7 +7794,7 @@ const un = {
7606
7794
  ]
7607
7795
  }
7608
7796
  };
7609
- function Be({
7797
+ function ri({
7610
7798
  align: t = "stretch",
7611
7799
  as: n = "div",
7612
7800
  children: e,
@@ -7614,7 +7802,7 @@ function Be({
7614
7802
  id: r,
7615
7803
  responsive: a
7616
7804
  }) {
7617
- const o = g(r);
7805
+ const o = v(r);
7618
7806
  return {
7619
7807
  kind: "element",
7620
7808
  tag: n,
@@ -7628,10 +7816,10 @@ function Be({
7628
7816
  children: e ? [{ kind: "raw", html: e }] : []
7629
7817
  };
7630
7818
  }
7631
- function hn(t) {
7632
- return h(Be(t));
7819
+ function Tn(t) {
7820
+ return m(ri(t));
7633
7821
  }
7634
- const mn = {
7822
+ const An = {
7635
7823
  name: "stack",
7636
7824
  description: "Use `stack` to lay out content in a vertical column.",
7637
7825
  output: {
@@ -7702,13 +7890,13 @@ const mn = {
7702
7890
  ]
7703
7891
  }
7704
7892
  };
7705
- function Re({
7893
+ function ai({
7706
7894
  children: t,
7707
7895
  contentTheme: n,
7708
7896
  id: e,
7709
7897
  variant: i = "default"
7710
7898
  }) {
7711
- const r = g(e);
7899
+ const r = v(e);
7712
7900
  return {
7713
7901
  kind: "element",
7714
7902
  tag: "div",
@@ -7721,10 +7909,10 @@ function Re({
7721
7909
  children: [{ kind: "raw", html: t }]
7722
7910
  };
7723
7911
  }
7724
- function kn(t) {
7725
- return h(Re(t));
7912
+ function _n(t) {
7913
+ return m(ai(t));
7726
7914
  }
7727
- const gn = {
7915
+ const Dn = {
7728
7916
  name: "surface",
7729
7917
  description: "Use `surface` to set a colour context for nested content.",
7730
7918
  output: { element: "div", class: "set-surface" },
@@ -7776,7 +7964,7 @@ const gn = {
7776
7964
  ]
7777
7965
  }
7778
7966
  };
7779
- function We({
7967
+ function oi({
7780
7968
  checked: t,
7781
7969
  description: n,
7782
7970
  disabled: e,
@@ -7786,10 +7974,10 @@ function We({
7786
7974
  size: o = "md",
7787
7975
  value: d
7788
7976
  }) {
7789
- const s = g(i), l = n?.trim();
7790
- if (l && !s)
7977
+ const s = v(i), p = n?.trim();
7978
+ if (p && !s)
7791
7979
  throw new Error("id must be provided when description is provided.");
7792
- const p = l ? `${s}-description` : void 0, c = [
7980
+ const l = p ? `${s}-description` : void 0, c = [
7793
7981
  {
7794
7982
  kind: "element",
7795
7983
  tag: "label",
@@ -7799,7 +7987,7 @@ function We({
7799
7987
  kind: "element",
7800
7988
  tag: "input",
7801
7989
  attrs: {
7802
- "aria-describedby": p,
7990
+ "aria-describedby": l,
7803
7991
  checked: !!t,
7804
7992
  class: "switch",
7805
7993
  disabled: !!e,
@@ -7820,11 +8008,11 @@ function We({
7820
8008
  ]
7821
8009
  }
7822
8010
  ];
7823
- return l && c.push({
8011
+ return p && c.push({
7824
8012
  kind: "element",
7825
8013
  tag: "p",
7826
- attrs: { class: "description", id: p },
7827
- children: [{ kind: "text", value: l }]
8014
+ attrs: { class: "description", id: l },
8015
+ children: [{ kind: "text", value: p }]
7828
8016
  }), {
7829
8017
  kind: "element",
7830
8018
  tag: "div",
@@ -7832,10 +8020,10 @@ function We({
7832
8020
  children: c
7833
8021
  };
7834
8022
  }
7835
- function bn(t) {
7836
- return h(We(t));
8023
+ function Vn(t) {
8024
+ return m(oi(t));
7837
8025
  }
7838
- const vn = {
8026
+ const Hn = {
7839
8027
  name: "switch",
7840
8028
  description: "Use `switch` to let users instantly toggle a setting on or off.",
7841
8029
  output: { element: "div", class: "set-switch" },
@@ -7943,7 +8131,7 @@ const vn = {
7943
8131
  ]
7944
8132
  }
7945
8133
  };
7946
- function Ue({
8134
+ function di({
7947
8135
  autocomplete: t,
7948
8136
  description: n,
7949
8137
  disabled: e,
@@ -7953,69 +8141,69 @@ function Ue({
7953
8141
  name: o,
7954
8142
  readOnly: d,
7955
8143
  required: s,
7956
- resize: l = "vertical",
7957
- rows: p = 2,
8144
+ resize: p = "vertical",
8145
+ rows: l = 2,
7958
8146
  size: c = "md",
7959
- spellcheck: u,
7960
- value: m,
7961
- inlineSize: y = "full"
8147
+ spellcheck: h,
8148
+ value: b,
8149
+ inlineSize: S = "full"
7962
8150
  }) {
7963
- const k = i.trim(), v = n?.trim(), C = t === !1 ? !1 : t?.trim(), S = o?.trim(), b = m;
7964
- if (!k)
8151
+ const f = i.trim(), E = n?.trim(), q = t === !1 ? !1 : t?.trim(), w = o?.trim(), k = b;
8152
+ if (!f)
7965
8153
  throw new Error("id must be a non-empty string.");
7966
- if (!I(k))
8154
+ if (!V(f))
7967
8155
  throw new Error(
7968
8156
  "id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
7969
8157
  );
7970
- if (!Number.isInteger(p) || p < 2)
8158
+ if (!Number.isInteger(l) || l < 2)
7971
8159
  throw new Error("rows must be an integer greater than or equal to 2.");
7972
- const x = v ? `${k}-description` : void 0, w = !!e, E = !w && !!d, H = [
8160
+ const C = E ? `${f}-description` : void 0, x = !!e, z = !x && !!d, D = [
7973
8161
  {
7974
8162
  kind: "element",
7975
8163
  tag: "label",
7976
- attrs: { class: "label", for: k },
8164
+ attrs: { class: "label", for: f },
7977
8165
  children: [{ kind: "text", value: a }]
7978
8166
  },
7979
8167
  {
7980
8168
  kind: "element",
7981
8169
  tag: "textarea",
7982
8170
  attrs: {
7983
- "aria-describedby": x,
7984
- "aria-invalid": !w && !E && !!r ? "true" : void 0,
7985
- autocomplete: C === !1 ? "off" : C || void 0,
8171
+ "aria-describedby": C,
8172
+ "aria-invalid": !x && !z && !!r ? "true" : void 0,
8173
+ autocomplete: q === !1 ? "off" : q || void 0,
7986
8174
  class: "textarea",
7987
- disabled: w,
7988
- id: k,
7989
- name: S || void 0,
7990
- readonly: E,
8175
+ disabled: x,
8176
+ id: f,
8177
+ name: w || void 0,
8178
+ readonly: z,
7991
8179
  required: !!s,
7992
- rows: String(p),
7993
- spellcheck: u === void 0 ? void 0 : String(u)
8180
+ rows: String(l),
8181
+ spellcheck: h === void 0 ? void 0 : String(h)
7994
8182
  },
7995
- children: [{ kind: "text", value: b || "" }]
8183
+ children: [{ kind: "text", value: k || "" }]
7996
8184
  }
7997
8185
  ];
7998
- return v && H.push({
8186
+ return E && D.push({
7999
8187
  kind: "element",
8000
8188
  tag: "p",
8001
- attrs: { class: "description", id: x },
8002
- children: [{ kind: "text", value: v }]
8189
+ attrs: { class: "description", id: C },
8190
+ children: [{ kind: "text", value: E }]
8003
8191
  }), {
8004
8192
  kind: "element",
8005
8193
  tag: "div",
8006
8194
  attrs: {
8007
8195
  class: "set-textarea",
8008
- "data-resize": l === "none" ? "none" : void 0,
8196
+ "data-resize": p === "none" ? "none" : void 0,
8009
8197
  "data-size": c,
8010
- "data-inline-size": y === "fit" ? "fit" : void 0
8198
+ "data-inline-size": S === "fit" ? "fit" : void 0
8011
8199
  },
8012
- children: H
8200
+ children: D
8013
8201
  };
8014
8202
  }
8015
- function fn(t) {
8016
- return h(Ue(t));
8203
+ function Nn(t) {
8204
+ return m(di(t));
8017
8205
  }
8018
- const yn = {
8206
+ const Bn = {
8019
8207
  name: "textarea",
8020
8208
  description: "Use `textarea` to collect multiple lines of text from users.",
8021
8209
  output: { element: "div", class: "set-textarea" },
@@ -8204,166 +8392,168 @@ const yn = {
8204
8392
  ]
8205
8393
  }
8206
8394
  };
8207
- function wn() {
8208
- Mt(), At(), Vt(), Ot(), Wt(), $t(), jt(), Qt();
8395
+ function On() {
8396
+ Gt(), Kt(), Yt(), ie(), re(), se(), pe(), me(), be();
8209
8397
  }
8210
8398
  export {
8211
- pt as SET_ALERT_EVENT_BEFORE_DISMISS,
8212
- ct as SET_ALERT_EVENT_DISMISS,
8213
- je as SET_ALERT_SPEC,
8214
- R as SET_ALERT_TAG_NAME,
8215
- hi as SET_AVATAR_SPEC,
8216
- ki as SET_BADGE_SPEC,
8217
- ht as SET_BANNER_EVENT_BEFORE_DISMISS,
8218
- mt as SET_BANNER_EVENT_DISMISS,
8219
- Ye as SET_BANNER_SPEC,
8220
- W as SET_BANNER_TAG_NAME,
8221
- fi as SET_BLOCKQUOTE_SPEC,
8222
- wi as SET_BOX_SPEC,
8223
- Ze as SET_BUTTON_SPEC,
8224
- xi as SET_CARD_SPEC,
8225
- zi as SET_CHECKBOX_SPEC,
8226
- Li as SET_CONTAINER_SPEC,
8227
- qi as SET_DETAILS_SPEC,
8228
- Ti as SET_DIVIDER_SPEC,
8229
- ni as SET_EXPANDER_SPEC,
8230
- _i as SET_FIELDSET_SPEC,
8231
- Hi as SET_FIGURE_SPEC,
8232
- Pi as SET_GRID_ITEM_SPEC,
8233
- Oi as SET_GRID_SPEC,
8234
- Ri as SET_HEADING_SPEC,
8235
- $e as SET_ICON_NAMES,
8236
- Ge as SET_ICON_SPEC,
8237
- Wi as SET_IMAGE_SPEC,
8238
- $i as SET_INLINE_SPEC,
8239
- Zi as SET_INPUT_SPEC,
8240
- kt as SET_LIGHTSWITCH_EVENT_CHANGE,
8241
- ti as SET_LIGHTSWITCH_SPEC,
8242
- Q as SET_LIGHTSWITCH_STORAGE_KEY,
8243
- $ as SET_LIGHTSWITCH_TAG_NAME,
8244
- Xe as SET_LINK_SPEC,
8245
- ji as SET_LOGO_SPEC,
8246
- gt as SET_MENU_EVENT_CHOOSE,
8247
- ii as SET_MENU_SPEC,
8248
- G as SET_MENU_TAG_NAME,
8249
- ai as SET_NAV_SPEC,
8250
- Z as SET_NAV_TAG_NAME,
8251
- Xi as SET_PAGE_SPEC,
8252
- Yi as SET_PANEL_SPEC,
8253
- tn as SET_PATTERN_SPEC,
8254
- rn as SET_POSTER_SPEC,
8255
- on as SET_PROSE_SPEC,
8256
- sn as SET_RADIOS_SPEC,
8257
- di as SET_RANGE_SPEC,
8258
- F as SET_RANGE_TAG_NAME,
8259
- pn as SET_ROOT_SPEC,
8260
- li as SET_SIDEBAR_SPEC,
8261
- j as SET_SIDEBAR_TAG_NAME,
8262
- un as SET_SPINNER_SPEC,
8263
- mn as SET_STACK_SPEC,
8264
- gn as SET_SURFACE_SPEC,
8265
- vn as SET_SWITCH_SPEC,
8266
- yn as SET_TEXTAREA_SPEC,
8267
- bi as SET_TEXT_SPEC,
8268
- ci as SET_VIDEO_SPEC,
8269
- K as SET_VIDEO_TAG_NAME,
8270
- Lt as buildSetAlert,
8271
- oe as buildSetAvatar,
8272
- de as buildSetBadge,
8273
- Tt as buildSetBanner,
8274
- se as buildSetBlockquote,
8275
- le as buildSetBox,
8276
- it as buildSetButton,
8277
- pe as buildSetCard,
8278
- ce as buildSetCheckbox,
8279
- ue as buildSetContainer,
8280
- he as buildSetDetails,
8281
- me as buildSetDivider,
8282
- Pt as buildSetExpander,
8283
- bt as buildSetFieldset,
8284
- ke as buildSetFigure,
8285
- ge as buildSetGrid,
8286
- be as buildSetGridItem,
8287
- ve as buildSetHeading,
8288
- O as buildSetIcon,
8289
- fe as buildSetImage,
8290
- we as buildSetInline,
8291
- Se as buildSetInput,
8292
- Ht as buildSetLightswitch,
8293
- ut as buildSetLink,
8294
- Te as buildSetLogo,
8295
- Nt as buildSetMenu,
8296
- Rt as buildSetNav,
8297
- Ae as buildSetPage,
8298
- _e as buildSetPanel,
8299
- De as buildSetPattern,
8300
- He as buildSetPoster,
8301
- Ve as buildSetProse,
8302
- Ne as buildSetRadios,
8303
- Ut as buildSetRange,
8304
- Oe as buildSetRoot,
8305
- Ft as buildSetSidebar,
8306
- Pe as buildSetSpinner,
8307
- Be as buildSetStack,
8308
- Re as buildSetSurface,
8309
- We as buildSetSwitch,
8310
- X as buildSetText,
8311
- Ue as buildSetTextarea,
8312
- Kt as buildSetVideo,
8313
- Mt as defineSetAlert,
8314
- At as defineSetBanner,
8315
- wn as defineSetComponents,
8316
- Vt as defineSetLightswitch,
8317
- Ot as defineSetMenu,
8318
- Wt as defineSetNav,
8319
- $t as defineSetRange,
8320
- jt as defineSetSidebar,
8321
- Qt as defineSetVideo,
8322
- te as getSetInitials,
8323
- Fe as renderSetAlert,
8324
- ui as renderSetAvatar,
8325
- mi as renderSetBadge,
8326
- Qe as renderSetBanner,
8327
- vi as renderSetBlockquote,
8328
- yi as renderSetBox,
8329
- nt as renderSetButton,
8330
- Si as renderSetCard,
8331
- Ei as renderSetCheckbox,
8332
- Ci as renderSetContainer,
8333
- Mi as renderSetDetails,
8334
- Ii as renderSetDivider,
8335
- Bt as renderSetExpander,
8336
- Ai as renderSetFieldset,
8337
- Di as renderSetFigure,
8338
- Vi as renderSetGrid,
8339
- Ni as renderSetGridItem,
8340
- Bi as renderSetHeading,
8341
- xt as renderSetIcon,
8342
- ye as renderSetImage,
8343
- Ui as renderSetInline,
8344
- Gi as renderSetInput,
8345
- Je as renderSetLightswitch,
8346
- Ke as renderSetLink,
8347
- Fi as renderSetLogo,
8348
- ei as renderSetMenu,
8349
- ri as renderSetNav,
8350
- Ki as renderSetPage,
8351
- Qi as renderSetPanel,
8352
- Ji as renderSetPattern,
8353
- nn as renderSetPoster,
8354
- en as renderSetPosterImage,
8355
- an as renderSetProse,
8356
- dn as renderSetRadios,
8357
- oi as renderSetRange,
8358
- ln as renderSetRoot,
8359
- si as renderSetSidebar,
8360
- cn as renderSetSpinner,
8361
- hn as renderSetStack,
8362
- kn as renderSetSurface,
8363
- bn as renderSetSwitch,
8364
- gi as renderSetText,
8365
- fn as renderSetTextarea,
8366
- pi as renderSetVideo,
8367
- h as serializeSetNode
8399
+ xt as SET_ALERT_EVENT_BEFORE_DISMISS,
8400
+ Et as SET_ALERT_EVENT_DISMISS,
8401
+ ui as SET_ALERT_SPEC,
8402
+ Z as SET_ALERT_TAG_NAME,
8403
+ Ai as SET_AVATAR_SPEC,
8404
+ Di as SET_BADGE_SPEC,
8405
+ Lt as SET_BANNER_EVENT_BEFORE_DISMISS,
8406
+ Ct as SET_BANNER_EVENT_DISMISS,
8407
+ gi as SET_BANNER_SPEC,
8408
+ F as SET_BANNER_TAG_NAME,
8409
+ Bi as SET_BLOCKQUOTE_SPEC,
8410
+ Pi as SET_BOX_SPEC,
8411
+ pi as SET_BUTTON_SPEC,
8412
+ Wi as SET_CARD_SPEC,
8413
+ $i as SET_CHECKBOX_SPEC,
8414
+ Zi as SET_CONTAINER_SPEC,
8415
+ ji as SET_DETAILS_SPEC,
8416
+ Xi as SET_DIVIDER_SPEC,
8417
+ Si as SET_EXPANDER_SPEC,
8418
+ Yi as SET_FIELDSET_SPEC,
8419
+ tn as SET_FIGURE_SPEC,
8420
+ an as SET_GRID_ITEM_SPEC,
8421
+ rn as SET_GRID_SPEC,
8422
+ dn as SET_HEADING_SPEC,
8423
+ si as SET_ICON_NAMES,
8424
+ li as SET_ICON_SPEC,
8425
+ bi as SET_IMAGE_SPEC,
8426
+ K as SET_IMAGE_TAG_NAME,
8427
+ ln as SET_INLINE_SPEC,
8428
+ cn as SET_INPUT_SPEC,
8429
+ Mt as SET_LIGHTSWITCH_EVENT_CHANGE,
8430
+ fi as SET_LIGHTSWITCH_SPEC,
8431
+ st as SET_LIGHTSWITCH_STORAGE_KEY,
8432
+ X as SET_LIGHTSWITCH_TAG_NAME,
8433
+ mi as SET_LINK_SPEC,
8434
+ hn as SET_LOGO_SPEC,
8435
+ qt as SET_MENU_EVENT_CHOOSE,
8436
+ wi as SET_MENU_SPEC,
8437
+ Q as SET_MENU_TAG_NAME,
8438
+ Ei as SET_NAV_SPEC,
8439
+ Y as SET_NAV_TAG_NAME,
8440
+ kn as SET_PAGE_SPEC,
8441
+ bn as SET_PANEL_SPEC,
8442
+ fn as SET_PATTERN_SPEC,
8443
+ Sn as SET_POSTER_SPEC,
8444
+ En as SET_PROSE_SPEC,
8445
+ Ln as SET_RADIOS_SPEC,
8446
+ Li as SET_RANGE_SPEC,
8447
+ J as SET_RANGE_TAG_NAME,
8448
+ Mn as SET_ROOT_SPEC,
8449
+ Mi as SET_SIDEBAR_SPEC,
8450
+ tt as SET_SIDEBAR_TAG_NAME,
8451
+ In as SET_SPINNER_SPEC,
8452
+ An as SET_STACK_SPEC,
8453
+ Dn as SET_SURFACE_SPEC,
8454
+ Hn as SET_SWITCH_SPEC,
8455
+ Bn as SET_TEXTAREA_SPEC,
8456
+ Hi as SET_TEXT_SPEC,
8457
+ Ii as SET_VIDEO_SPEC,
8458
+ et as SET_VIDEO_TAG_NAME,
8459
+ $t as buildSetAlert,
8460
+ Le as buildSetAvatar,
8461
+ Ce as buildSetBadge,
8462
+ jt as buildSetBanner,
8463
+ Me as buildSetBlockquote,
8464
+ qe as buildSetBox,
8465
+ ht as buildSetButton,
8466
+ Ie as buildSetCard,
8467
+ Te as buildSetCheckbox,
8468
+ Ae as buildSetContainer,
8469
+ _e as buildSetDetails,
8470
+ De as buildSetDivider,
8471
+ ae as buildSetExpander,
8472
+ It as buildSetFieldset,
8473
+ Ve as buildSetFigure,
8474
+ He as buildSetGrid,
8475
+ Ne as buildSetGridItem,
8476
+ Be as buildSetHeading,
8477
+ P as buildSetIcon,
8478
+ Xt as buildSetImage,
8479
+ Oe as buildSetInline,
8480
+ Pe as buildSetInput,
8481
+ ee as buildSetLightswitch,
8482
+ zt as buildSetLink,
8483
+ Ke as buildSetLogo,
8484
+ ne as buildSetMenu,
8485
+ de as buildSetNav,
8486
+ Xe as buildSetPage,
8487
+ Qe as buildSetPanel,
8488
+ Ye as buildSetPattern,
8489
+ Je as buildSetPoster,
8490
+ ti as buildSetProse,
8491
+ ei as buildSetRadios,
8492
+ le as buildSetRange,
8493
+ ii as buildSetRoot,
8494
+ he as buildSetSidebar,
8495
+ ni as buildSetSpinner,
8496
+ ri as buildSetStack,
8497
+ ai as buildSetSurface,
8498
+ oi as buildSetSwitch,
8499
+ it as buildSetText,
8500
+ di as buildSetTextarea,
8501
+ ke as buildSetVideo,
8502
+ Gt as defineSetAlert,
8503
+ Kt as defineSetBanner,
8504
+ On as defineSetComponents,
8505
+ Yt as defineSetImage,
8506
+ ie as defineSetLightswitch,
8507
+ re as defineSetMenu,
8508
+ se as defineSetNav,
8509
+ pe as defineSetRange,
8510
+ me as defineSetSidebar,
8511
+ be as defineSetVideo,
8512
+ ye as getSetInitials,
8513
+ ci as renderSetAlert,
8514
+ Ti as renderSetAvatar,
8515
+ _i as renderSetBadge,
8516
+ ki as renderSetBanner,
8517
+ Ni as renderSetBlockquote,
8518
+ Oi as renderSetBox,
8519
+ mt as renderSetButton,
8520
+ Ri as renderSetCard,
8521
+ Ui as renderSetCheckbox,
8522
+ Gi as renderSetContainer,
8523
+ Fi as renderSetDetails,
8524
+ Ki as renderSetDivider,
8525
+ oe as renderSetExpander,
8526
+ Qi as renderSetFieldset,
8527
+ Ji as renderSetFigure,
8528
+ en as renderSetGrid,
8529
+ nn as renderSetGridItem,
8530
+ on as renderSetHeading,
8531
+ Pt as renderSetIcon,
8532
+ Qt as renderSetImage,
8533
+ sn as renderSetInline,
8534
+ pn as renderSetInput,
8535
+ vi as renderSetLightswitch,
8536
+ hi as renderSetLink,
8537
+ un as renderSetLogo,
8538
+ yi as renderSetMenu,
8539
+ xi as renderSetNav,
8540
+ mn as renderSetPage,
8541
+ gn as renderSetPanel,
8542
+ vn as renderSetPattern,
8543
+ wn as renderSetPoster,
8544
+ yn as renderSetPosterImage,
8545
+ xn as renderSetProse,
8546
+ zn as renderSetRadios,
8547
+ zi as renderSetRange,
8548
+ Cn as renderSetRoot,
8549
+ Ci as renderSetSidebar,
8550
+ qn as renderSetSpinner,
8551
+ Tn as renderSetStack,
8552
+ _n as renderSetSurface,
8553
+ Vn as renderSetSwitch,
8554
+ Vi as renderSetText,
8555
+ Nn as renderSetTextarea,
8556
+ qi as renderSetVideo,
8557
+ m as serializeSetNode
8368
8558
  };
8369
8559
  //# sourceMappingURL=index.js.map