@monospaced/set-core 0.11.0 → 0.13.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 Nt = /* @__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 ft(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 Bt(t) {
20
+ return Object.entries(t).flatMap(([n, e]) => e === !1 || e == null ? [] : e === !0 ? [n] : [`${n}="${ft(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 ft(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 = Bt(t.attrs), e = n ? `<${t.tag} ${n}>` : `<${t.tag}>`;
26
+ if (Nt.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 yt = {
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
+ }, oi = Object.keys(yt);
779
+ function wt(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 ? wt(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,45 +792,45 @@ function O({
792
792
  size: r = "md",
793
793
  title: a
794
794
  }) {
795
- const d = st[i];
796
- if (!d)
795
+ const o = yt[i];
796
+ if (!o)
797
797
  throw new Error(`Unknown icon name: ${i}`);
798
- const o = 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
- if (!t && !o)
801
+ if (!t && !d)
802
802
  throw new Error("id must be provided when ariaHidden is false.");
803
- const l = t ? void 0 : `${o}-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(d)), {
809
+ }), l.push(...wt(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,
818
818
  fill: "none",
819
819
  height: "24",
820
- id: o,
820
+ id: d,
821
821
  role: t ? void 0 : "img",
822
822
  stroke: "currentColor",
823
823
  "stroke-width": "1.75",
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 Ot(t) {
831
+ return m(P(t));
832
832
  }
833
- const Ge = {
833
+ const di = {
834
834
  name: "icon",
835
835
  description: "Use `icon` to render a Set icon.",
836
836
  output: { element: "svg", class: "set-icon" },
@@ -944,44 +944,44 @@ const Ge = {
944
944
  ]
945
945
  }
946
946
  };
947
- function it(t) {
947
+ function ut(t) {
948
948
  const {
949
949
  appearance: n = "outline",
950
950
  controls: e,
951
951
  disabled: i,
952
952
  disclosure: r,
953
953
  form: a,
954
- haspopup: d,
955
- id: o,
954
+ haspopup: o,
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 L = 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: Ot({
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" },
@@ -993,26 +993,26 @@ function it(t) {
993
993
  attrs: {
994
994
  "aria-controls": r && e || void 0,
995
995
  "aria-expanded": r ? "false" : void 0,
996
- "aria-haspopup": d || void 0,
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
- id: o || void 0,
1005
- name: m || void 0,
1006
- type: v || "button",
1007
- value: C || void 0
1004
+ id: d || 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: L ? l === "end" ? [x, L] : [L, x] : [x]
1010
1010
  };
1011
1011
  }
1012
- function nt(t) {
1013
- return h(it(t));
1012
+ function ht(t) {
1013
+ return m(ut(t));
1014
1014
  }
1015
- const Ze = {
1015
+ const si = {
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", St = "set-alert-before-dismiss", xt = "set-alert-dismiss", W = "Dismiss alert";
1199
+ function Pt(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 = ht({
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 Rt(t) {
1211
1211
  switch (t) {
1212
1212
  case "success":
1213
1213
  return "check-circle";
@@ -1221,42 +1221,42 @@ function zt(t) {
1221
1221
  return "sticky-note";
1222
1222
  }
1223
1223
  }
1224
- function Ct(t) {
1224
+ function Wt(t) {
1225
1225
  return t === "warning" || t === "error" ? "alert" : "status";
1226
1226
  }
1227
- function Lt({
1227
+ function Ut({
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,
1233
1233
  size: a = "md",
1234
- tone: d,
1235
- title: o
1234
+ tone: o,
1235
+ title: d
1236
1236
  }) {
1237
- const s = g(e), l = n.trim() === "" ? P : n, p = [];
1238
- return o && 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
- children: [{ kind: "text", value: o }]
1243
- }), p.push({
1242
+ children: [{ kind: "text", value: d }]
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
- "data-tone": d || void 0,
1257
+ "data-tone": o || void 0,
1258
1258
  id: s,
1259
- role: Ct(d)
1259
+ role: Wt(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(d),
1269
+ name: Rt(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 li(t) {
1284
+ return m(Ut(t));
1285
1285
  }
1286
- function Mt() {
1287
- if (customElements.get(R)) return;
1286
+ function $t() {
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
+ St,
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(xt, {
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
+ Pt(
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 pi = {
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
+ [St]: {
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
+ [xt]: {
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,35 +1468,35 @@ const je = {
1468
1468
  ]
1469
1469
  }
1470
1470
  };
1471
- function qt(t) {
1471
+ function Gt(t) {
1472
1472
  if (t)
1473
1473
  return t === !0 ? !0 : t;
1474
1474
  }
1475
- function ut(t) {
1475
+ function Et(t) {
1476
1476
  const {
1477
1477
  appearance: n = "text",
1478
1478
  current: e,
1479
1479
  download: i,
1480
1480
  href: r,
1481
1481
  id: a,
1482
- icon: d,
1483
- iconPlacement: o = "start",
1482
+ icon: o,
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 = d?.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 = Gt(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, L = {
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 ? o === "end" ? [x, b] : [b, x] : [x]
1522
+ children: k ? d === "end" ? [L, k] : [k, L] : [L]
1523
1523
  };
1524
1524
  }
1525
- function Ke(t) {
1526
- return h(ut(t));
1525
+ function ci(t) {
1526
+ return m(Et(t));
1527
1527
  }
1528
- const Xe = {
1528
+ const ui = {
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", zt = "set-banner-before-dismiss", Ct = "set-banner-dismiss", j = "Dismiss banner";
1716
+ function Zt(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 = ht({
1719
1719
  appearance: "text",
1720
1720
  icon: "close",
1721
1721
  label: t,
@@ -1724,64 +1724,64 @@ function It(t, n) {
1724
1724
  tone: "neutral"
1725
1725
  }), e;
1726
1726
  }
1727
- function Tt({
1727
+ function Ft({
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
- tone: d
1734
+ tone: o
1735
1735
  }) {
1736
1736
  if (!!t != !!n)
1737
1737
  throw new Error("actionHref and actionLabel must be provided together.");
1738
- const o = g(r), s = i.trim() === "" ? 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
+ Et({
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",
1751
1751
  "data-set-surface": "default",
1752
1752
  "data-dismissible": e,
1753
1753
  "data-dismissible-label": e ? s : void 0,
1754
- "data-tone": d || void 0,
1755
- id: o
1754
+ "data-tone": o || void 0,
1755
+ id: d
1756
1756
  },
1757
1757
  children: [
1758
1758
  {
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 hi(t) {
1768
+ return m(Ft(t));
1769
1769
  }
1770
- function At() {
1771
- if (customElements.get(W)) return;
1770
+ function jt() {
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
+ zt,
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
+ Zt(
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 mi = {
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
+ [zt]: {
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
  }
@@ -1891,14 +1891,14 @@ const Ye = {
1891
1891
  }
1892
1892
  ]
1893
1893
  }
1894
- }, $ = "set-lightswitch", kt = "set-lightswitch-change", Q = "set-theme", Y = "Switch to dark theme", J = "Switch to light theme";
1895
- function _t(t) {
1894
+ }, K = "set-lightswitch", Lt = "set-lightswitch-change", dt = "set-theme", st = "Switch to dark theme", lt = "Switch to light theme";
1895
+ function Kt(t) {
1896
1896
  return t === "dark" ? "light" : "dark";
1897
1897
  }
1898
- function Dt(t) {
1898
+ function Xt(t) {
1899
1899
  return t === "dark" ? "moon" : "sunny";
1900
1900
  }
1901
- function rt(t, n) {
1901
+ function gt(t, n) {
1902
1902
  return {
1903
1903
  kind: "element",
1904
1904
  tag: "span",
@@ -1909,9 +1909,9 @@ function rt(t, n) {
1909
1909
  tag: "span",
1910
1910
  attrs: { class: "icon-wrapper" },
1911
1911
  children: [
1912
- O({
1912
+ P({
1913
1913
  ariaHidden: !0,
1914
- name: Dt(t),
1914
+ name: Xt(t),
1915
1915
  size: "fill"
1916
1916
  })
1917
1917
  ]
@@ -1925,17 +1925,17 @@ function rt(t, n) {
1925
1925
  ]
1926
1926
  };
1927
1927
  }
1928
- function Ht({
1928
+ function Qt({
1929
1929
  appearance: t = "text",
1930
1930
  id: n,
1931
- labelDark: e = Y,
1932
- labelLight: i = J,
1931
+ labelDark: e = st,
1932
+ labelLight: i = lt,
1933
1933
  size: r = "md"
1934
1934
  }) {
1935
- const a = g(n), d = e.trim() === "" ? Y : e, o = i.trim() === "" ? J : i;
1935
+ const a = v(n), o = e.trim() === "" ? st : e, d = i.trim() === "" ? lt : i;
1936
1936
  return {
1937
1937
  kind: "element",
1938
- tag: $,
1938
+ tag: K,
1939
1939
  attrs: {
1940
1940
  class: "set-lightswitch",
1941
1941
  id: a
@@ -1951,25 +1951,25 @@ function Ht({
1951
1951
  type: "button"
1952
1952
  },
1953
1953
  children: [
1954
- rt("dark", d),
1955
- rt("light", o)
1954
+ gt("dark", o),
1955
+ gt("light", d)
1956
1956
  ]
1957
1957
  }
1958
1958
  ]
1959
1959
  };
1960
1960
  }
1961
- function Je(t) {
1962
- return h(Ht(t));
1961
+ function ki(t) {
1962
+ return m(Qt(t));
1963
1963
  }
1964
- function Vt() {
1965
- if (customElements.get($)) return;
1964
+ function Yt() {
1965
+ if (customElements.get(K)) return;
1966
1966
  class t extends HTMLElement {
1967
1967
  #t = (e) => {
1968
1968
  const i = e.target;
1969
1969
  if (!(i instanceof Element) || !i.closest("button")) return;
1970
- const r = _t(this.#u());
1970
+ const r = Kt(this.#u());
1971
1971
  r === this.#r() ? this.#d() : this.#n(r), this.#a(), this.dispatchEvent(
1972
- new CustomEvent(kt, {
1972
+ new CustomEvent(Lt, {
1973
1973
  bubbles: !0,
1974
1974
  detail: { stored: !!this.#i(), theme: r }
1975
1975
  })
@@ -1990,7 +1990,7 @@ function Vt() {
1990
1990
  }
1991
1991
  #i() {
1992
1992
  try {
1993
- const e = this.#e()?.getItem(Q);
1993
+ const e = this.#e()?.getItem(dt);
1994
1994
  return e === "light" || e === "dark" ? e : void 0;
1995
1995
  } catch {
1996
1996
  return;
@@ -1998,13 +1998,13 @@ function Vt() {
1998
1998
  }
1999
1999
  #n(e) {
2000
2000
  try {
2001
- this.#e()?.setItem(Q, e);
2001
+ this.#e()?.setItem(dt, e);
2002
2002
  } catch {
2003
2003
  }
2004
2004
  }
2005
2005
  #d() {
2006
2006
  try {
2007
- this.#e()?.removeItem(Q);
2007
+ this.#e()?.removeItem(dt);
2008
2008
  } catch {
2009
2009
  }
2010
2010
  }
@@ -2029,12 +2029,12 @@ function Vt() {
2029
2029
  i ? e.setAttribute("data-set-theme", i) : e.removeAttribute("data-set-theme");
2030
2030
  }
2031
2031
  }
2032
- customElements.define($, t);
2032
+ customElements.define(K, t);
2033
2033
  }
2034
- const ti = {
2034
+ const gi = {
2035
2035
  name: "lightswitch",
2036
2036
  description: "Use `lightswitch` to let users toggle between light and dark themes.",
2037
- output: { element: $, class: "set-lightswitch" },
2037
+ output: { element: K, class: "set-lightswitch" },
2038
2038
  content: { kind: "none" },
2039
2039
  props: {
2040
2040
  appearance: {
@@ -2047,12 +2047,12 @@ const ti = {
2047
2047
  type: { kind: "string" }
2048
2048
  },
2049
2049
  labelDark: {
2050
- default: Y,
2050
+ default: st,
2051
2051
  description: "Accessible label of the switch-to-dark action.",
2052
2052
  type: { kind: "string" }
2053
2053
  },
2054
2054
  labelLight: {
2055
- default: J,
2055
+ default: lt,
2056
2056
  description: "Accessible label of the switch-to-light action.",
2057
2057
  type: { kind: "string" }
2058
2058
  },
@@ -2063,7 +2063,7 @@ const ti = {
2063
2063
  }
2064
2064
  },
2065
2065
  events: {
2066
- [kt]: {
2066
+ [Lt]: {
2067
2067
  bubbles: !0,
2068
2068
  description: "Fired after activation applies a theme. `detail.theme` is the theme switched to; `detail.stored` is false when the change cleared the override to follow the system preference again."
2069
2069
  }
@@ -2102,47 +2102,47 @@ const ti = {
2102
2102
  }
2103
2103
  ]
2104
2104
  }
2105
- }, G = "set-menu", gt = "set-menu-choose";
2106
- function Nt({
2105
+ }, X = "set-menu", Mt = "set-menu-choose";
2106
+ function Jt({
2107
2107
  align: t = "start",
2108
2108
  id: n,
2109
2109
  items: e,
2110
2110
  size: i = "md",
2111
2111
  triggerIcon: r,
2112
2112
  triggerIconMirrored: a,
2113
- triggerIconPlacement: d,
2114
- triggerLabel: o,
2113
+ triggerIconPlacement: o,
2114
+ triggerLabel: d,
2115
2115
  triggerLabelVisibility: s
2116
2116
  }) {
2117
- const l = n.trim();
2118
- if (!l)
2117
+ const p = n.trim();
2118
+ if (!p)
2119
2119
  throw new Error("id must be a non-empty string.");
2120
- if (!I(l))
2120
+ if (!V(p))
2121
2121
  throw new Error(
2122
2122
  "id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
2123
2123
  );
2124
2124
  if (!Array.isArray(e))
2125
2125
  throw new Error("items must be an array.");
2126
- const p = `${l}-button`, c = `${l}-popup`, u = e.map((m) => ({
2126
+ const l = `${p}-button`, c = `${p}-popup`, h = e.map((b) => ({
2127
2127
  kind: "element",
2128
2128
  tag: "button",
2129
2129
  attrs: {
2130
- "aria-disabled": m.disabled ? "true" : void 0,
2131
- "data-item-id": m.id || void 0,
2130
+ "aria-disabled": b.disabled ? "true" : void 0,
2131
+ "data-item-id": b.id || void 0,
2132
2132
  role: "menuitem",
2133
2133
  tabindex: "-1",
2134
2134
  type: "button"
2135
2135
  },
2136
- children: [{ kind: "text", value: m.label }]
2136
+ children: [{ kind: "text", value: b.label }]
2137
2137
  }));
2138
2138
  return {
2139
2139
  kind: "element",
2140
- tag: G,
2140
+ tag: X,
2141
2141
  attrs: {
2142
2142
  class: "set-menu",
2143
2143
  "data-align": t === "start" ? void 0 : t,
2144
2144
  "data-size": i,
2145
- id: l
2145
+ id: p
2146
2146
  },
2147
2147
  children: [
2148
2148
  {
@@ -2150,16 +2150,16 @@ function Nt({
2150
2150
  tag: "div",
2151
2151
  attrs: { "data-part": "trigger" },
2152
2152
  children: [
2153
- it({
2153
+ ut({
2154
2154
  appearance: "outline",
2155
2155
  controls: c,
2156
2156
  disclosure: !0,
2157
2157
  haspopup: "menu",
2158
2158
  icon: r,
2159
2159
  iconMirrored: a,
2160
- iconPlacement: d,
2161
- id: p,
2162
- label: o,
2160
+ iconPlacement: o,
2161
+ id: l,
2162
+ label: d,
2163
2163
  labelVisibility: s,
2164
2164
  size: i,
2165
2165
  tone: "neutral",
@@ -2171,22 +2171,22 @@ function Nt({
2171
2171
  kind: "element",
2172
2172
  tag: "div",
2173
2173
  attrs: {
2174
- "aria-labelledby": p,
2174
+ "aria-labelledby": l,
2175
2175
  class: "popup",
2176
2176
  hidden: !0,
2177
2177
  id: c,
2178
2178
  role: "menu"
2179
2179
  },
2180
- children: u
2180
+ children: h
2181
2181
  }
2182
2182
  ]
2183
2183
  };
2184
2184
  }
2185
- function ei(t) {
2186
- return h(Nt(t));
2185
+ function bi(t) {
2186
+ return m(Jt(t));
2187
2187
  }
2188
- function Ot() {
2189
- if (customElements.get(G)) return;
2188
+ function te() {
2189
+ if (customElements.get(X)) return;
2190
2190
  class t extends HTMLElement {
2191
2191
  #t;
2192
2192
  #e;
@@ -2236,7 +2236,7 @@ function Ot() {
2236
2236
  this.querySelectorAll('[role="menuitem"]')
2237
2237
  ).indexOf(e);
2238
2238
  this.dispatchEvent(
2239
- new CustomEvent(gt, {
2239
+ new CustomEvent(Mt, {
2240
2240
  bubbles: !0,
2241
2241
  detail: {
2242
2242
  id: e.getAttribute("data-item-id") || void 0,
@@ -2273,9 +2273,9 @@ function Ot() {
2273
2273
  e.preventDefault(), this.#o(!0);
2274
2274
  return;
2275
2275
  }
2276
- const a = this.ownerDocument.activeElement, d = this.#c(), o = d.indexOf(a);
2276
+ const a = this.ownerDocument.activeElement, o = this.#c(), d = o.indexOf(a);
2277
2277
  if (a === i) {
2278
- (e.key === "Enter" || e.key === " ") && (e.preventDefault(), this.#l(0)), e.key === "ArrowDown" && (e.preventDefault(), this.#l(0)), e.key === "ArrowUp" && (e.preventDefault(), this.#l(d.length - 1));
2278
+ (e.key === "Enter" || e.key === " ") && (e.preventDefault(), this.#l(0)), e.key === "ArrowDown" && (e.preventDefault(), this.#l(0)), e.key === "ArrowUp" && (e.preventDefault(), this.#l(o.length - 1));
2279
2279
  return;
2280
2280
  }
2281
2281
  if (r.contains(a)) {
@@ -2283,7 +2283,7 @@ function Ot() {
2283
2283
  e.preventDefault(), this.#s(a) || (this.#h(a), this.#o(!0));
2284
2284
  return;
2285
2285
  }
2286
- e.key === "ArrowDown" && (e.preventDefault(), this.#a(o + 1)), e.key === "ArrowUp" && (e.preventDefault(), this.#a(o - 1)), e.key === "Home" && (e.preventDefault(), this.#a(0)), e.key === "End" && (e.preventDefault(), this.#a(d.length - 1)), e.key === "Tab" && this.#o(!1);
2286
+ e.key === "ArrowDown" && (e.preventDefault(), this.#a(d + 1)), e.key === "ArrowUp" && (e.preventDefault(), this.#a(d - 1)), e.key === "Home" && (e.preventDefault(), this.#a(0)), e.key === "End" && (e.preventDefault(), this.#a(o.length - 1)), e.key === "Tab" && this.#o(!1);
2287
2287
  }
2288
2288
  }, this.#i = (e) => {
2289
2289
  const i = e.relatedTarget;
@@ -2298,13 +2298,13 @@ function Ot() {
2298
2298
  this.#t && this.removeEventListener("click", this.#t), this.#e && this.ownerDocument.removeEventListener("click", this.#e), this.#n && this.removeEventListener("keydown", this.#n), this.#i && this.removeEventListener("focusout", this.#i), this.#t = void 0, this.#e = void 0, this.#i = void 0, this.#n = void 0;
2299
2299
  }
2300
2300
  }
2301
- customElements.define(G, t);
2301
+ customElements.define(X, t);
2302
2302
  }
2303
- const ii = {
2303
+ const vi = {
2304
2304
  name: "menu",
2305
2305
  description: "Use `menu` to show a list of actions from a trigger button.",
2306
2306
  output: {
2307
- element: G,
2307
+ element: X,
2308
2308
  class: "set-menu"
2309
2309
  },
2310
2310
  content: {
@@ -2378,7 +2378,7 @@ const ii = {
2378
2378
  }
2379
2379
  },
2380
2380
  events: {
2381
- [gt]: {
2381
+ [Mt]: {
2382
2382
  bubbles: !0,
2383
2383
  description: "Fired when a menu item is activated.",
2384
2384
  detail: "{ id?: string; index: number; label: string }"
@@ -2438,15 +2438,15 @@ const ii = {
2438
2438
  }
2439
2439
  ]
2440
2440
  }
2441
- }, tt = "Menu";
2442
- function Pt({
2441
+ }, pt = "Menu";
2442
+ function ee({
2443
2443
  controlsId: t,
2444
2444
  expanded: n,
2445
2445
  id: e,
2446
- label: i = tt,
2446
+ label: i = pt,
2447
2447
  size: r = "md"
2448
2448
  } = {}) {
2449
- const a = g(e), d = i.trim() === "" ? tt : i;
2449
+ const a = v(e), o = i.trim() === "" ? pt : i;
2450
2450
  return {
2451
2451
  kind: "element",
2452
2452
  tag: "button",
@@ -2474,17 +2474,17 @@ function Pt({
2474
2474
  kind: "element",
2475
2475
  tag: "span",
2476
2476
  attrs: { class: "visually-hidden" },
2477
- children: [{ kind: "text", value: d }]
2477
+ children: [{ kind: "text", value: o }]
2478
2478
  }
2479
2479
  ]
2480
2480
  }
2481
2481
  ]
2482
2482
  };
2483
2483
  }
2484
- function Bt(t = {}) {
2485
- return h(Pt(t));
2484
+ function ie(t = {}) {
2485
+ return m(ee(t));
2486
2486
  }
2487
- const ni = {
2487
+ const fi = {
2488
2488
  name: "expander",
2489
2489
  description: "Use `expander` as a toggle for disclosure regions such as menus.",
2490
2490
  output: { element: "button", class: "set-expander" },
@@ -2504,7 +2504,7 @@ const ni = {
2504
2504
  type: { kind: "string" }
2505
2505
  },
2506
2506
  label: {
2507
- default: tt,
2507
+ default: pt,
2508
2508
  description: "Accessible label.",
2509
2509
  type: { kind: "text" }
2510
2510
  },
@@ -2549,27 +2549,27 @@ const ni = {
2549
2549
  }
2550
2550
  ]
2551
2551
  }
2552
- }, Z = "set-nav", at = "data-set-scroll-locked";
2553
- function Rt({
2552
+ }, Q = "set-nav", bt = "data-set-scroll-locked";
2553
+ function ne({
2554
2554
  collapsible: t,
2555
2555
  contentId: n,
2556
2556
  expanderLabel: e,
2557
2557
  expanderPosition: i = "start",
2558
2558
  id: r,
2559
2559
  items: a,
2560
- label: d,
2561
- size: o = "md"
2560
+ label: o,
2561
+ size: d = "md"
2562
2562
  }) {
2563
- const s = g(r), l = e?.trim() || void 0, p = n?.trim();
2564
- if (t && !p)
2563
+ const s = v(r), p = e?.trim() || void 0, l = n?.trim();
2564
+ if (t && !l)
2565
2565
  throw new Error(
2566
2566
  "contentId must be a non-empty string when collapsible is set."
2567
2567
  );
2568
- if (p && !I(p))
2568
+ if (l && !V(l))
2569
2569
  throw new Error(
2570
2570
  "contentId must start with a letter and contain only letters, numbers, '_', '-', or ':'."
2571
2571
  );
2572
- const c = a.map((u) => ({
2572
+ const c = a.map((h) => ({
2573
2573
  kind: "element",
2574
2574
  tag: "li",
2575
2575
  attrs: {},
@@ -2578,23 +2578,23 @@ function Rt({
2578
2578
  kind: "element",
2579
2579
  tag: "a",
2580
2580
  attrs: {
2581
- "aria-current": u.current ? "page" : void 0,
2581
+ "aria-current": h.current ? "page" : void 0,
2582
2582
  class: "item",
2583
- href: u.href
2583
+ href: h.href
2584
2584
  },
2585
- children: [{ kind: "text", value: u.label }]
2585
+ children: [{ kind: "text", value: h.label }]
2586
2586
  }
2587
2587
  ]
2588
2588
  }));
2589
2589
  return {
2590
2590
  kind: "element",
2591
- tag: Z,
2591
+ tag: Q,
2592
2592
  attrs: {
2593
2593
  class: "set-nav",
2594
2594
  "data-collapsible": t,
2595
- "data-expander-label": t && l ? l : void 0,
2595
+ "data-expander-label": t && p ? p : void 0,
2596
2596
  "data-expander-position": t ? i : void 0,
2597
- "data-size": o,
2597
+ "data-size": d,
2598
2598
  id: s
2599
2599
  },
2600
2600
  children: [
@@ -2602,7 +2602,7 @@ function Rt({
2602
2602
  kind: "element",
2603
2603
  tag: "nav",
2604
2604
  attrs: {
2605
- "aria-label": d || void 0,
2605
+ "aria-label": o || void 0,
2606
2606
  class: "nav"
2607
2607
  },
2608
2608
  children: [
@@ -2611,7 +2611,7 @@ function Rt({
2611
2611
  tag: "div",
2612
2612
  attrs: {
2613
2613
  class: "content",
2614
- id: p
2614
+ id: l
2615
2615
  },
2616
2616
  children: [
2617
2617
  {
@@ -2627,11 +2627,11 @@ function Rt({
2627
2627
  ]
2628
2628
  };
2629
2629
  }
2630
- function ri(t) {
2631
- return h(Rt(t));
2630
+ function yi(t) {
2631
+ return m(ne(t));
2632
2632
  }
2633
- function Wt() {
2634
- if (customElements.get(Z)) return;
2633
+ function re() {
2634
+ if (customElements.get(Q)) return;
2635
2635
  class t extends HTMLElement {
2636
2636
  #t;
2637
2637
  #e;
@@ -2657,7 +2657,7 @@ function Wt() {
2657
2657
  const i = e.querySelector(".content");
2658
2658
  i && e.insertAdjacentHTML(
2659
2659
  "afterbegin",
2660
- `<div data-part="expander">${Bt({
2660
+ `<div data-part="expander">${ie({
2661
2661
  controlsId: i.id || void 0,
2662
2662
  label: this.getAttribute("data-expander-label") || void 0,
2663
2663
  size: this.getAttribute("data-size") === "sm" ? "md" : "lg"
@@ -2690,10 +2690,10 @@ function Wt() {
2690
2690
  const i = this.ownerDocument.documentElement;
2691
2691
  if (i) {
2692
2692
  if (e) {
2693
- i.setAttribute(at, "");
2693
+ i.setAttribute(bt, "");
2694
2694
  return;
2695
2695
  }
2696
- i.removeAttribute(at);
2696
+ i.removeAttribute(bt);
2697
2697
  }
2698
2698
  }
2699
2699
  #o() {
@@ -2707,12 +2707,12 @@ function Wt() {
2707
2707
  ), this.#i = void 0, this.#n = void 0, this.#e = void 0;
2708
2708
  }
2709
2709
  }
2710
- customElements.define(Z, t);
2710
+ customElements.define(Q, t);
2711
2711
  }
2712
- const ai = {
2712
+ const wi = {
2713
2713
  name: "nav",
2714
2714
  description: "Use `nav` to render a primary navigation list.",
2715
- output: { element: Z, class: "set-nav" },
2715
+ output: { element: Q, class: "set-nav" },
2716
2716
  content: { kind: "structured", prop: "items" },
2717
2717
  props: {
2718
2718
  items: {
@@ -2824,28 +2824,28 @@ const ai = {
2824
2824
  }
2825
2825
  ]
2826
2826
  }
2827
- }, F = "set-range";
2828
- function Ut({
2827
+ }, Y = "set-range";
2828
+ function ae({
2829
2829
  description: t,
2830
2830
  disabled: n,
2831
2831
  id: e,
2832
2832
  inlineSize: i = "full",
2833
2833
  label: r,
2834
2834
  max: a,
2835
- min: d,
2836
- name: o,
2835
+ min: o,
2836
+ name: d,
2837
2837
  size: s = "md",
2838
- step: l,
2839
- value: p
2838
+ step: p,
2839
+ value: l
2840
2840
  }) {
2841
- const c = e.trim(), u = t?.trim(), m = o?.trim();
2841
+ const c = e.trim(), h = t?.trim(), b = d?.trim();
2842
2842
  if (!c)
2843
2843
  throw new Error("id must be a non-empty string.");
2844
- if (!I(c))
2844
+ if (!V(c))
2845
2845
  throw new Error(
2846
2846
  "id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
2847
2847
  );
2848
- const y = u ? `${c}-description` : void 0, k = [
2848
+ const S = h ? `${c}-description` : void 0, f = [
2849
2849
  {
2850
2850
  kind: "element",
2851
2851
  tag: "div",
@@ -2861,7 +2861,7 @@ function Ut({
2861
2861
  kind: "element",
2862
2862
  tag: "output",
2863
2863
  attrs: { class: "output", for: c },
2864
- children: p != null ? [{ kind: "text", value: String(p) }] : []
2864
+ children: l != null ? [{ kind: "text", value: String(l) }] : []
2865
2865
  }
2866
2866
  ]
2867
2867
  },
@@ -2869,41 +2869,41 @@ function Ut({
2869
2869
  kind: "element",
2870
2870
  tag: "input",
2871
2871
  attrs: {
2872
- "aria-describedby": y,
2872
+ "aria-describedby": S,
2873
2873
  class: "range",
2874
2874
  disabled: !!n,
2875
2875
  id: c,
2876
2876
  max: a != null ? String(a) : void 0,
2877
- min: d != null ? String(d) : void 0,
2878
- name: m || void 0,
2879
- step: l != null ? String(l) : void 0,
2877
+ min: o != null ? String(o) : void 0,
2878
+ name: b || void 0,
2879
+ step: p != null ? String(p) : void 0,
2880
2880
  type: "range",
2881
- value: p != null ? String(p) : void 0
2881
+ value: l != null ? String(l) : void 0
2882
2882
  },
2883
2883
  children: []
2884
2884
  }
2885
2885
  ];
2886
- return u && k.push({
2886
+ return h && f.push({
2887
2887
  kind: "element",
2888
2888
  tag: "p",
2889
- attrs: { class: "description", id: y },
2890
- children: [{ kind: "text", value: u }]
2889
+ attrs: { class: "description", id: S },
2890
+ children: [{ kind: "text", value: h }]
2891
2891
  }), {
2892
2892
  kind: "element",
2893
- tag: F,
2893
+ tag: Y,
2894
2894
  attrs: {
2895
2895
  class: "set-range",
2896
2896
  "data-inline-size": i === "fit" ? "fit" : void 0,
2897
2897
  "data-size": s
2898
2898
  },
2899
- children: k
2899
+ children: f
2900
2900
  };
2901
2901
  }
2902
- function oi(t) {
2903
- return h(Ut(t));
2902
+ function Si(t) {
2903
+ return m(ae(t));
2904
2904
  }
2905
- function $t() {
2906
- if (customElements.get(F)) return;
2905
+ function oe() {
2906
+ if (customElements.get(Y)) return;
2907
2907
  class t extends HTMLElement {
2908
2908
  #t;
2909
2909
  #e = (e) => {
@@ -2941,15 +2941,15 @@ function $t() {
2941
2941
  "value"
2942
2942
  );
2943
2943
  if (!i?.get || !i.set) return;
2944
- const r = i.get, a = i.set, d = () => this.#i();
2944
+ const r = i.get, a = i.set, o = () => this.#i();
2945
2945
  Object.defineProperty(e, "value", {
2946
2946
  configurable: !0,
2947
2947
  enumerable: i.enumerable,
2948
2948
  get() {
2949
2949
  return r.call(this);
2950
2950
  },
2951
- set(o) {
2952
- a.call(this, o), d();
2951
+ set(d) {
2952
+ a.call(this, d), o();
2953
2953
  }
2954
2954
  }), this.#t = e;
2955
2955
  }
@@ -2957,12 +2957,12 @@ function $t() {
2957
2957
  this.#t && (delete this.#t.value, this.#t = void 0);
2958
2958
  }
2959
2959
  }
2960
- customElements.define(F, t);
2960
+ customElements.define(Y, t);
2961
2961
  }
2962
- const di = {
2962
+ const xi = {
2963
2963
  name: "range",
2964
2964
  description: "Use `range` to let users pick a numeric value along a scale.",
2965
- output: { element: F, class: "set-range" },
2965
+ output: { element: Y, class: "set-range" },
2966
2966
  content: { kind: "text", prop: "label" },
2967
2967
  props: {
2968
2968
  description: {
@@ -3091,9 +3091,9 @@ const di = {
3091
3091
  }
3092
3092
  ]
3093
3093
  }
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({
3094
+ }, J = "set-sidebar", de = "(min-width: 68em)", B = "Collapse sidebar", ct = "Open sidebar";
3095
+ function se(t, n) {
3096
+ return `<div data-part="close">${ht({
3097
3097
  appearance: "text",
3098
3098
  icon: "panel-left",
3099
3099
  iconMirrored: "rtl",
@@ -3104,25 +3104,25 @@ function Zt(t, n) {
3104
3104
  type: "button"
3105
3105
  })}</div>`;
3106
3106
  }
3107
- function Ft({
3107
+ function le({
3108
3108
  aboveNotebook: t = "persistent",
3109
3109
  buttonSize: n = "md",
3110
3110
  children: e,
3111
- collapseLabel: i = V,
3111
+ collapseLabel: i = B,
3112
3112
  footer: r,
3113
3113
  header: a,
3114
- id: d,
3115
- surface: o,
3116
- triggerLabel: s = et
3114
+ id: o,
3115
+ surface: d,
3116
+ triggerLabel: s = ct
3117
3117
  }) {
3118
- const l = d.trim(), p = i.trim() || V, c = s.trim() || et;
3119
- if (!l)
3118
+ const p = o.trim(), l = i.trim() || B, c = s.trim() || ct;
3119
+ if (!p)
3120
3120
  throw new Error("id must be a non-empty string.");
3121
- if (!I(l))
3121
+ if (!V(p))
3122
3122
  throw new Error(
3123
3123
  "id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
3124
3124
  );
3125
- const u = [
3125
+ const h = [
3126
3126
  {
3127
3127
  kind: "element",
3128
3128
  tag: "div",
@@ -3136,22 +3136,22 @@ function Ft({
3136
3136
  children: e ? [{ kind: "raw", html: e }] : []
3137
3137
  }
3138
3138
  ];
3139
- r && u.push({
3139
+ r && h.push({
3140
3140
  kind: "element",
3141
3141
  tag: "div",
3142
3142
  attrs: { class: "footer" },
3143
3143
  children: [{ kind: "raw", html: r }]
3144
3144
  });
3145
- const m = `${l}-panel`;
3145
+ const b = `${p}-panel`;
3146
3146
  return {
3147
3147
  kind: "element",
3148
- tag: j,
3148
+ tag: J,
3149
3149
  attrs: {
3150
3150
  class: "set-sidebar",
3151
3151
  "data-above-notebook": t,
3152
- "data-collapse-label": p !== V ? p : void 0,
3152
+ "data-collapse-label": l !== B ? l : void 0,
3153
3153
  "data-button-size": n,
3154
- id: l
3154
+ id: p
3155
3155
  },
3156
3156
  children: [
3157
3157
  {
@@ -3159,9 +3159,9 @@ function Ft({
3159
3159
  tag: "div",
3160
3160
  attrs: { "data-part": "trigger" },
3161
3161
  children: [
3162
- it({
3162
+ ut({
3163
3163
  appearance: "text",
3164
- controls: m,
3164
+ controls: b,
3165
3165
  disclosure: !0,
3166
3166
  icon: "panel-left",
3167
3167
  iconMirrored: "rtl",
@@ -3178,11 +3178,11 @@ function Ft({
3178
3178
  tag: "div",
3179
3179
  attrs: {
3180
3180
  class: "sidebar",
3181
- "data-set-surface": o,
3182
- id: m,
3181
+ "data-set-surface": d,
3182
+ id: b,
3183
3183
  tabindex: "-1"
3184
3184
  },
3185
- children: u
3185
+ children: h
3186
3186
  },
3187
3187
  {
3188
3188
  kind: "element",
@@ -3193,11 +3193,11 @@ function Ft({
3193
3193
  ]
3194
3194
  };
3195
3195
  }
3196
- function si(t) {
3197
- return h(Ft(t));
3196
+ function Ei(t) {
3197
+ return m(le(t));
3198
3198
  }
3199
- function jt() {
3200
- if (customElements.get(j)) return;
3199
+ function pe() {
3200
+ if (customElements.get(J)) return;
3201
3201
  class t extends HTMLElement {
3202
3202
  #t;
3203
3203
  #e;
@@ -3241,10 +3241,10 @@ function jt() {
3241
3241
  #l() {
3242
3242
  const e = this.#d();
3243
3243
  if (!e || e.querySelector('[data-part="close"]')) return;
3244
- const i = e.querySelector(".header"), r = this.getAttribute("data-collapse-label") || V, a = this.getAttribute("data-button-size") ?? "md";
3244
+ const i = e.querySelector(".header"), r = this.getAttribute("data-collapse-label") || B, a = this.getAttribute("data-button-size") ?? "md";
3245
3245
  i?.insertAdjacentHTML(
3246
3246
  "beforeend",
3247
- Zt(r, a)
3247
+ se(r, a)
3248
3248
  );
3249
3249
  }
3250
3250
  #o() {
@@ -3319,7 +3319,7 @@ function jt() {
3319
3319
  }
3320
3320
  #f() {
3321
3321
  const e = this.ownerDocument.defaultView;
3322
- e && (typeof e.matchMedia == "function" && (this.#t = e.matchMedia(Gt), this.#n = () => {
3322
+ e && (typeof e.matchMedia == "function" && (this.#t = e.matchMedia(de), this.#n = () => {
3323
3323
  this.#g();
3324
3324
  }, this.#t.addEventListener("change", this.#n), this.#g()), this.#e = (i) => {
3325
3325
  const r = i.target;
@@ -3346,13 +3346,13 @@ function jt() {
3346
3346
  this.#e && this.removeEventListener("click", this.#e), this.#i && this.removeEventListener("keydown", this.#i), this.#t && this.#n && this.#t.removeEventListener("change", this.#n), this.#e = void 0, this.#i = void 0, this.#t = void 0, this.#n = void 0;
3347
3347
  }
3348
3348
  }
3349
- customElements.define(j, t);
3349
+ customElements.define(J, t);
3350
3350
  }
3351
- const li = {
3351
+ const zi = {
3352
3352
  name: "sidebar",
3353
3353
  description: "Use `sidebar` for a side panel alongside main content.",
3354
3354
  output: {
3355
- element: j,
3355
+ element: J,
3356
3356
  class: "set-sidebar"
3357
3357
  },
3358
3358
  content: {
@@ -3382,7 +3382,7 @@ const li = {
3382
3382
  type: { kind: "html" }
3383
3383
  },
3384
3384
  collapseLabel: {
3385
- default: V,
3385
+ default: B,
3386
3386
  description: "Accessible label for the collapse button.",
3387
3387
  type: { kind: "string" }
3388
3388
  },
@@ -3407,7 +3407,7 @@ const li = {
3407
3407
  }
3408
3408
  },
3409
3409
  triggerLabel: {
3410
- default: et,
3410
+ default: ct,
3411
3411
  description: "Accessible label for the open button.",
3412
3412
  type: { kind: "string" }
3413
3413
  }
@@ -3439,7 +3439,7 @@ const li = {
3439
3439
  of: {
3440
3440
  kind: "when-equals",
3441
3441
  prop: "collapseLabel",
3442
- to: V
3442
+ to: B
3443
3443
  }
3444
3444
  }
3445
3445
  ]
@@ -3472,25 +3472,25 @@ const li = {
3472
3472
  }
3473
3473
  ]
3474
3474
  }
3475
- }, K = "set-video";
3476
- function Kt({
3475
+ }, tt = "set-video";
3476
+ function ce({
3477
3477
  autoPlay: t,
3478
3478
  controls: n,
3479
3479
  fit: e = "intrinsic",
3480
3480
  height: i,
3481
3481
  id: r,
3482
3482
  loop: a,
3483
- muted: d,
3484
- playsInline: o,
3483
+ muted: o,
3484
+ playsInline: d,
3485
3485
  poster: s,
3486
- preload: l,
3487
- src: p,
3486
+ preload: p,
3487
+ src: l,
3488
3488
  width: c
3489
3489
  }) {
3490
- const u = g(r), m = p.trim(), y = s?.trim();
3491
- if (!m)
3490
+ const h = v(r), b = l.trim(), S = s?.trim();
3491
+ if (!b)
3492
3492
  throw new Error("src must be a non-empty string.");
3493
- const k = {
3493
+ const f = {
3494
3494
  kind: "element",
3495
3495
  tag: "video",
3496
3496
  attrs: {
@@ -3499,32 +3499,32 @@ function Kt({
3499
3499
  controls: !!n,
3500
3500
  height: i ? String(i) : void 0,
3501
3501
  loop: !!a,
3502
- muted: !!d,
3503
- playsinline: !!o,
3504
- poster: y || void 0,
3505
- preload: l,
3506
- src: m,
3502
+ muted: !!o,
3503
+ playsinline: !!d,
3504
+ poster: S || void 0,
3505
+ preload: p,
3506
+ src: b,
3507
3507
  width: c ? String(c) : void 0
3508
3508
  },
3509
3509
  children: []
3510
3510
  };
3511
3511
  return {
3512
3512
  kind: "element",
3513
- tag: K,
3513
+ tag: tt,
3514
3514
  attrs: {
3515
3515
  class: "set-video",
3516
3516
  "data-fluid": e === "fluid",
3517
- id: u
3517
+ id: h
3518
3518
  },
3519
- children: [k]
3519
+ children: [f]
3520
3520
  };
3521
3521
  }
3522
- function pi(t) {
3523
- return h(Kt(t));
3522
+ function Ci(t) {
3523
+ return m(ce(t));
3524
3524
  }
3525
- const Xt = "(prefers-reduced-motion: reduce)";
3526
- function Qt() {
3527
- if (customElements.get(K)) return;
3525
+ const ue = "(prefers-reduced-motion: reduce)";
3526
+ function he() {
3527
+ if (customElements.get(tt)) return;
3528
3528
  class t extends HTMLElement {
3529
3529
  #t = !1;
3530
3530
  #e;
@@ -3533,7 +3533,7 @@ function Qt() {
3533
3533
  const e = this.querySelector("video");
3534
3534
  if (!e || (this.#t ||= e.hasAttribute("autoplay"), !this.#t)) return;
3535
3535
  const i = this.ownerDocument.defaultView;
3536
- !i || typeof i.matchMedia != "function" || (this.#e = i.matchMedia(Xt), this.#i = () => {
3536
+ !i || typeof i.matchMedia != "function" || (this.#e = i.matchMedia(ue), this.#i = () => {
3537
3537
  this.#n();
3538
3538
  }, this.#e.addEventListener("change", this.#i), this.#n());
3539
3539
  }
@@ -3546,12 +3546,12 @@ function Qt() {
3546
3546
  })));
3547
3547
  }
3548
3548
  }
3549
- customElements.define(K, t);
3549
+ customElements.define(tt, t);
3550
3550
  }
3551
- const ci = {
3551
+ const Li = {
3552
3552
  name: "video",
3553
3553
  description: "Use `video` to render a video with intrinsic or fluid fit and native playback behavior.",
3554
- output: { element: K, class: "set-video" },
3554
+ output: { element: tt, class: "set-video" },
3555
3555
  content: { kind: "none" },
3556
3556
  props: {
3557
3557
  autoPlay: {
@@ -3676,54 +3676,54 @@ const ci = {
3676
3676
  ]
3677
3677
  }
3678
3678
  };
3679
- function Yt(t) {
3679
+ function me(t) {
3680
3680
  return t ? /[A-Za-z]/.test(t) : !1;
3681
3681
  }
3682
- function Jt(t) {
3682
+ function ke(t) {
3683
3683
  return /^[a-z]/.test(t);
3684
3684
  }
3685
- function D(t) {
3685
+ function H(t) {
3686
3686
  const n = t.charAt(0);
3687
- return Yt(n) ? n : void 0;
3687
+ return me(n) ? n : void 0;
3688
3688
  }
3689
- function te(t) {
3690
- const n = N(t);
3689
+ function ge(t) {
3690
+ const n = O(t);
3691
3691
  if (!n) return;
3692
- const e = n.split(" "), i = D(e[0]);
3692
+ const e = n.split(" "), i = H(e[0]);
3693
3693
  if (!i) return;
3694
3694
  const r = [i.toUpperCase()];
3695
3695
  if (e.length === 1)
3696
3696
  return r[0];
3697
- const a = e.slice(1).find(Jt);
3697
+ const a = e.slice(1).find(ke);
3698
3698
  if (a) {
3699
- const o = D(a);
3700
- return o ? `${r[0]}${o}` : void 0;
3699
+ const d = H(a);
3700
+ return d ? `${r[0]}${d}` : void 0;
3701
3701
  }
3702
3702
  if (e.length === 2) {
3703
- const o = D(e[1]);
3704
- if (!o) return;
3705
- r.push(o);
3703
+ const d = H(e[1]);
3704
+ if (!d) return;
3705
+ r.push(d);
3706
3706
  const s = e[1].split("-").filter(Boolean);
3707
3707
  if (s.length === 2) {
3708
- const l = D(s[1]);
3709
- l && r.push(l);
3708
+ const p = H(s[1]);
3709
+ p && r.push(p);
3710
3710
  }
3711
3711
  return r.slice(0, 3).join("");
3712
3712
  }
3713
3713
  if (e.length === 3) {
3714
- const o = D(e[1]), s = D(e[2]);
3715
- return !o || !s ? void 0 : (r.push(o, s), r.slice(0, 3).join(""));
3714
+ const d = H(e[1]), s = H(e[2]);
3715
+ return !d || !s ? void 0 : (r.push(d, s), r.slice(0, 3).join(""));
3716
3716
  }
3717
- const d = D(e.at(-1) || "");
3718
- if (d)
3719
- return r.push(d), r.slice(0, 3).join("");
3717
+ const o = H(e.at(-1) || "");
3718
+ if (o)
3719
+ return r.push(o), r.slice(0, 3).join("");
3720
3720
  }
3721
- const ee = {
3721
+ const be = {
3722
3722
  bot: "robot-1",
3723
3723
  organization: "city-6",
3724
3724
  person: "user-1",
3725
3725
  team: "member"
3726
- }, ot = [
3726
+ }, vt = [
3727
3727
  "01",
3728
3728
  "02",
3729
3729
  "03",
@@ -3734,15 +3734,15 @@ const ee = {
3734
3734
  "08",
3735
3735
  "09"
3736
3736
  ];
3737
- function ie(t) {
3737
+ function ve(t) {
3738
3738
  let n = 5381;
3739
3739
  for (const e of t)
3740
3740
  n = n * 33 ^ e.charCodeAt(0);
3741
3741
  return n >>> 0;
3742
3742
  }
3743
- function ne(t) {
3743
+ function fe(t) {
3744
3744
  if (t == null) return;
3745
- const n = N(t);
3745
+ const n = O(t);
3746
3746
  if (n) {
3747
3747
  if (n.length > 3)
3748
3748
  throw new Error("initials must normalize to 3 characters or fewer.");
@@ -3751,90 +3751,90 @@ function ne(t) {
3751
3751
  return n;
3752
3752
  }
3753
3753
  }
3754
- function re({
3754
+ function ye({
3755
3755
  alt: t,
3756
3756
  ariaHidden: n,
3757
3757
  name: e
3758
3758
  }) {
3759
3759
  if (!n)
3760
- return N(t) || N(e) || "Avatar";
3760
+ return O(t) || O(e) || "Avatar";
3761
3761
  }
3762
- function ae({
3762
+ function we({
3763
3763
  color: t,
3764
3764
  name: n
3765
3765
  }) {
3766
3766
  if (t) return t;
3767
3767
  if (n) {
3768
- const e = ie(n) % ot.length;
3769
- return ot[e];
3768
+ const e = ve(n) % vt.length;
3769
+ return vt[e];
3770
3770
  }
3771
3771
  return "neutral";
3772
3772
  }
3773
- function oe({
3773
+ function Se({
3774
3774
  alt: t,
3775
3775
  ariaHidden: n,
3776
3776
  color: e,
3777
3777
  entity: i = "person",
3778
3778
  id: r,
3779
3779
  initials: a,
3780
- name: d,
3781
- size: o = "md",
3780
+ name: o,
3781
+ size: d = "md",
3782
3782
  src: s
3783
3783
  }) {
3784
- const l = g(r), p = ne(a), c = N(d), u = N(s), m = re({
3784
+ const p = v(r), l = fe(a), c = O(o), h = O(s), b = ye({
3785
3785
  alt: t,
3786
3786
  ariaHidden: n,
3787
3787
  name: c
3788
- }), y = p || te(c), k = !!u, v = ae({
3788
+ }), S = l || ge(c), f = !!h, E = we({
3789
3789
  color: e,
3790
3790
  name: c
3791
- }), C = {
3791
+ }), q = {
3792
3792
  "aria-hidden": n ? "true" : void 0,
3793
- "aria-label": !n && !k ? m : void 0,
3793
+ "aria-label": !n && !f ? b : void 0,
3794
3794
  class: "set-avatar",
3795
- "data-color": v === "neutral" ? void 0 : v,
3795
+ "data-color": E === "neutral" ? void 0 : E,
3796
3796
  "data-entity": i === "person" ? void 0 : i,
3797
- "data-size": o,
3798
- id: l,
3799
- role: !n && !k ? "img" : void 0
3797
+ "data-size": d,
3798
+ id: p,
3799
+ role: !n && !f ? "img" : void 0
3800
3800
  };
3801
- let S;
3802
- return k ? S = {
3801
+ let w;
3802
+ return f ? w = {
3803
3803
  kind: "element",
3804
3804
  tag: "img",
3805
3805
  attrs: {
3806
- alt: n ? "" : m || "",
3806
+ alt: n ? "" : b || "",
3807
3807
  class: "img",
3808
- src: u
3808
+ src: h
3809
3809
  },
3810
3810
  children: []
3811
- } : y ? S = {
3811
+ } : S ? w = {
3812
3812
  kind: "element",
3813
3813
  tag: "span",
3814
3814
  attrs: { class: "initials" },
3815
- children: [{ kind: "text", value: y }]
3816
- } : S = {
3815
+ children: [{ kind: "text", value: S }]
3816
+ } : w = {
3817
3817
  kind: "element",
3818
3818
  tag: "span",
3819
3819
  attrs: { class: "icon-wrapper" },
3820
3820
  children: [
3821
- O({
3821
+ P({
3822
3822
  ariaHidden: !0,
3823
- name: ee[i],
3823
+ name: be[i],
3824
3824
  size: "fill"
3825
3825
  })
3826
3826
  ]
3827
3827
  }, {
3828
3828
  kind: "element",
3829
3829
  tag: "span",
3830
- attrs: C,
3831
- children: [S]
3830
+ attrs: q,
3831
+ children: [w]
3832
3832
  };
3833
3833
  }
3834
- function ui(t) {
3835
- return h(oe(t));
3834
+ function Mi(t) {
3835
+ return m(Se(t));
3836
3836
  }
3837
- const hi = {
3837
+ const qi = {
3838
3838
  name: "avatar",
3839
3839
  description: "Use `avatar` to visually represent a person, team, or entity.",
3840
3840
  output: { element: "span", class: "set-avatar" },
@@ -3941,14 +3941,14 @@ const hi = {
3941
3941
  ]
3942
3942
  }
3943
3943
  };
3944
- function de({
3944
+ function xe({
3945
3945
  floating: t,
3946
3946
  id: n,
3947
3947
  label: e,
3948
3948
  size: i = "md",
3949
3949
  tone: r
3950
3950
  }) {
3951
- const a = g(n);
3951
+ const a = v(n);
3952
3952
  return {
3953
3953
  kind: "element",
3954
3954
  tag: "span",
@@ -3962,10 +3962,10 @@ function de({
3962
3962
  children: [{ kind: "text", value: e }]
3963
3963
  };
3964
3964
  }
3965
- function mi(t) {
3966
- return h(de(t));
3965
+ function Ii(t) {
3966
+ return m(xe(t));
3967
3967
  }
3968
- const ki = {
3968
+ const Ti = {
3969
3969
  name: "badge",
3970
3970
  description: "Use `badge` to annotate content with a short label.",
3971
3971
  output: { element: "span", class: "set-badge" },
@@ -4034,40 +4034,40 @@ const ki = {
4034
4034
  ]
4035
4035
  }
4036
4036
  };
4037
- function X({
4037
+ function et({
4038
4038
  align: t,
4039
4039
  as: n,
4040
4040
  children: e,
4041
4041
  id: i,
4042
4042
  linkVisited: r = !0,
4043
4043
  measured: a,
4044
- monospaced: d,
4045
- responsive: o,
4044
+ monospaced: o,
4045
+ responsive: d,
4046
4046
  size: s = "md",
4047
- tone: l = "default"
4047
+ tone: p = "default"
4048
4048
  }) {
4049
- const p = g(i), c = n === "p" ? "p" : "span", u = c === "p", m = u ? t ?? "start" : void 0;
4049
+ const l = v(i), c = n === "p" ? "p" : "span", h = c === "p", b = h ? t ?? "start" : void 0;
4050
4050
  return {
4051
4051
  kind: "element",
4052
4052
  tag: c,
4053
4053
  attrs: {
4054
4054
  class: "set-text",
4055
- "data-align": m && m !== "start" ? m : void 0,
4055
+ "data-align": b && b !== "start" ? b : void 0,
4056
4056
  "data-link-visited": r ? void 0 : "off",
4057
- "data-measured": u ? a ?? !0 : void 0,
4058
- "data-monospaced": d,
4059
- "data-responsive": o,
4057
+ "data-measured": h ? a ?? !0 : void 0,
4058
+ "data-monospaced": o,
4059
+ "data-responsive": d,
4060
4060
  "data-size": s,
4061
- "data-tone": l === "muted" ? "muted" : void 0,
4062
- id: p
4061
+ "data-tone": p === "muted" ? "muted" : void 0,
4062
+ id: l
4063
4063
  },
4064
4064
  children: [{ kind: "raw", html: e }]
4065
4065
  };
4066
4066
  }
4067
- function gi(t) {
4068
- return h(X(t));
4067
+ function Ai(t) {
4068
+ return m(et(t));
4069
4069
  }
4070
- const bi = {
4070
+ const _i = {
4071
4071
  name: "text",
4072
4072
  description: "Use `text` for inline or paragraph body copy.",
4073
4073
  output: {
@@ -4191,23 +4191,23 @@ const bi = {
4191
4191
  ]
4192
4192
  }
4193
4193
  };
4194
- function se({
4194
+ function Ee({
4195
4195
  align: t = "start",
4196
4196
  attribution: n,
4197
4197
  id: e,
4198
4198
  measured: i = !0,
4199
4199
  quote: r,
4200
4200
  responsive: a = !1,
4201
- size: d = "md"
4201
+ size: o = "md"
4202
4202
  }) {
4203
- const o = g(e);
4203
+ const d = v(e);
4204
4204
  return {
4205
4205
  kind: "element",
4206
4206
  tag: "figure",
4207
4207
  attrs: {
4208
4208
  class: "set-blockquote",
4209
4209
  "data-align": t === "start" ? void 0 : t,
4210
- id: o
4210
+ id: d
4211
4211
  },
4212
4212
  children: [
4213
4213
  {
@@ -4215,13 +4215,13 @@ function se({
4215
4215
  tag: "blockquote",
4216
4216
  attrs: { class: "quote" },
4217
4217
  children: [
4218
- X({
4218
+ et({
4219
4219
  align: t,
4220
4220
  as: "p",
4221
4221
  children: r,
4222
4222
  measured: i,
4223
4223
  responsive: a,
4224
- size: d
4224
+ size: o
4225
4225
  })
4226
4226
  ]
4227
4227
  },
@@ -4230,7 +4230,7 @@ function se({
4230
4230
  tag: "figcaption",
4231
4231
  attrs: { class: "attribution" },
4232
4232
  children: [
4233
- X({
4233
+ et({
4234
4234
  as: "span",
4235
4235
  children: n,
4236
4236
  responsive: a,
@@ -4241,10 +4241,10 @@ function se({
4241
4241
  ]
4242
4242
  };
4243
4243
  }
4244
- function vi(t) {
4245
- return h(se(t));
4244
+ function Di(t) {
4245
+ return m(Ee(t));
4246
4246
  }
4247
- const fi = {
4247
+ const Vi = {
4248
4248
  name: "blockquote",
4249
4249
  description: "Use `blockquote` to display a quote with attribution.",
4250
4250
  output: { element: "figure", class: "set-blockquote" },
@@ -4313,18 +4313,18 @@ const fi = {
4313
4313
  ]
4314
4314
  }
4315
4315
  };
4316
- function le({
4316
+ function ze({
4317
4317
  background: t = "default",
4318
4318
  border: n,
4319
4319
  children: e,
4320
4320
  id: i,
4321
4321
  paddingBlock: r = "md",
4322
4322
  paddingInline: a = "md",
4323
- radius: d,
4324
- responsive: o,
4323
+ radius: o,
4324
+ responsive: d,
4325
4325
  surface: s
4326
4326
  }) {
4327
- const l = g(i);
4327
+ const p = v(i);
4328
4328
  return {
4329
4329
  kind: "element",
4330
4330
  tag: "div",
@@ -4335,17 +4335,17 @@ function le({
4335
4335
  "data-set-surface": s,
4336
4336
  "data-padding-block": r,
4337
4337
  "data-padding-inline": a,
4338
- "data-radius": d,
4339
- "data-responsive": o,
4340
- id: l
4338
+ "data-radius": o,
4339
+ "data-responsive": d,
4340
+ id: p
4341
4341
  },
4342
4342
  children: e ? [{ kind: "raw", html: e }] : []
4343
4343
  };
4344
4344
  }
4345
- function yi(t) {
4346
- return h(le(t));
4345
+ function Hi(t) {
4346
+ return m(ze(t));
4347
4347
  }
4348
- const wi = {
4348
+ const Ni = {
4349
4349
  name: "box",
4350
4350
  description: "Use `box` to inset content.",
4351
4351
  output: { element: "div", class: "set-box" },
@@ -4458,29 +4458,29 @@ const wi = {
4458
4458
  ]
4459
4459
  }
4460
4460
  };
4461
- function pe({
4461
+ function Ce({
4462
4462
  description: t,
4463
4463
  headingLevel: n,
4464
4464
  href: e,
4465
4465
  id: i,
4466
4466
  note: r,
4467
4467
  surface: a,
4468
- title: d
4468
+ title: o
4469
4469
  }) {
4470
- const o = g(i), s = n ? `h${n}` : "div", l = e ? [
4470
+ const d = v(i), s = n ? `h${n}` : "div", p = e ? [
4471
4471
  {
4472
4472
  kind: "element",
4473
4473
  tag: "a",
4474
4474
  attrs: { href: e },
4475
- children: [{ kind: "text", value: d }]
4475
+ children: [{ kind: "text", value: o }]
4476
4476
  }
4477
- ] : [{ kind: "text", value: d }], p = r ? [{ kind: "raw", html: r }] : [];
4478
- r && e && p.push({
4477
+ ] : [{ kind: "text", value: o }], l = r ? [{ kind: "raw", html: r }] : [];
4478
+ r && e && l.push({
4479
4479
  kind: "element",
4480
4480
  tag: "span",
4481
4481
  attrs: { class: "icon-wrapper" },
4482
4482
  children: [
4483
- O({
4483
+ P({
4484
4484
  ariaHidden: !0,
4485
4485
  mirrored: "rtl",
4486
4486
  name: "arrow-right",
@@ -4499,7 +4499,7 @@ function pe({
4499
4499
  kind: "element",
4500
4500
  tag: s,
4501
4501
  attrs: { class: "title" },
4502
- children: l
4502
+ children: p
4503
4503
  },
4504
4504
  {
4505
4505
  kind: "element",
@@ -4512,22 +4512,22 @@ function pe({
4512
4512
  kind: "element",
4513
4513
  tag: "p",
4514
4514
  attrs: { class: "note" },
4515
- children: p
4515
+ children: l
4516
4516
  }), {
4517
4517
  kind: "element",
4518
4518
  tag: "div",
4519
4519
  attrs: {
4520
4520
  class: "set-card",
4521
4521
  "data-set-surface": a,
4522
- id: o
4522
+ id: d
4523
4523
  },
4524
4524
  children: c
4525
4525
  };
4526
4526
  }
4527
- function Si(t) {
4528
- return h(pe(t));
4527
+ function Bi(t) {
4528
+ return m(Ce(t));
4529
4529
  }
4530
- const xi = {
4530
+ const Oi = {
4531
4531
  name: "card",
4532
4532
  description: "Use `card` to display a summary for a single topic.",
4533
4533
  output: {
@@ -4595,22 +4595,22 @@ const xi = {
4595
4595
  ]
4596
4596
  }
4597
4597
  };
4598
- function ce({
4598
+ function Le({
4599
4599
  checked: t,
4600
4600
  description: n,
4601
4601
  disabled: e,
4602
4602
  id: i,
4603
4603
  invalid: r,
4604
4604
  label: a,
4605
- name: d,
4606
- required: o,
4605
+ name: o,
4606
+ required: d,
4607
4607
  size: s = "md",
4608
- value: l
4608
+ value: p
4609
4609
  }) {
4610
- const p = g(i), c = n?.trim();
4611
- if (c && !p)
4610
+ const l = v(i), c = n?.trim();
4611
+ if (c && !l)
4612
4612
  throw new Error("id must be provided when description is provided.");
4613
- const u = c ? `${p}-description` : void 0, m = !!e, k = [
4613
+ const h = c ? `${l}-description` : void 0, b = !!e, f = [
4614
4614
  {
4615
4615
  kind: "element",
4616
4616
  tag: "label",
@@ -4620,16 +4620,16 @@ function ce({
4620
4620
  kind: "element",
4621
4621
  tag: "input",
4622
4622
  attrs: {
4623
- "aria-describedby": u,
4624
- "aria-invalid": !m && !!r ? "true" : void 0,
4623
+ "aria-describedby": h,
4624
+ "aria-invalid": !b && !!r ? "true" : void 0,
4625
4625
  checked: !!t,
4626
4626
  class: "checkbox",
4627
- disabled: m,
4628
- id: p,
4629
- name: d || void 0,
4630
- required: !!o,
4627
+ disabled: b,
4628
+ id: l,
4629
+ name: o || void 0,
4630
+ required: !!d,
4631
4631
  type: "checkbox",
4632
- value: l || void 0
4632
+ value: p || void 0
4633
4633
  },
4634
4634
  children: []
4635
4635
  },
@@ -4642,22 +4642,22 @@ function ce({
4642
4642
  ]
4643
4643
  }
4644
4644
  ];
4645
- return c && k.push({
4645
+ return c && f.push({
4646
4646
  kind: "element",
4647
4647
  tag: "p",
4648
- attrs: { class: "description", id: u },
4648
+ attrs: { class: "description", id: h },
4649
4649
  children: [{ kind: "text", value: c }]
4650
4650
  }), {
4651
4651
  kind: "element",
4652
4652
  tag: "div",
4653
4653
  attrs: { class: "set-checkbox", "data-size": s },
4654
- children: k
4654
+ children: f
4655
4655
  };
4656
4656
  }
4657
- function Ei(t) {
4658
- return h(ce(t));
4657
+ function Pi(t) {
4658
+ return m(Le(t));
4659
4659
  }
4660
- const zi = {
4660
+ const Ri = {
4661
4661
  name: "checkbox",
4662
4662
  description: "Use `checkbox` to let users toggle a single option on or off.",
4663
4663
  output: { element: "div", class: "set-checkbox" },
@@ -4787,13 +4787,13 @@ const zi = {
4787
4787
  ]
4788
4788
  }
4789
4789
  };
4790
- function ue({
4790
+ function Me({
4791
4791
  children: t,
4792
4792
  gutter: n = "default",
4793
4793
  id: e,
4794
4794
  maxInlineSize: i = "default"
4795
4795
  }) {
4796
- const r = g(e);
4796
+ const r = v(e);
4797
4797
  return {
4798
4798
  kind: "element",
4799
4799
  tag: "div",
@@ -4806,10 +4806,10 @@ function ue({
4806
4806
  children: t ? [{ kind: "raw", html: t }] : []
4807
4807
  };
4808
4808
  }
4809
- function Ci(t) {
4810
- return h(ue(t));
4809
+ function Wi(t) {
4810
+ return m(Me(t));
4811
4811
  }
4812
- const Li = {
4812
+ const Ui = {
4813
4813
  name: "container",
4814
4814
  description: "Use `container` to wrap page-level content.",
4815
4815
  output: { element: "div", class: "set-container" },
@@ -4866,14 +4866,14 @@ const Li = {
4866
4866
  ]
4867
4867
  }
4868
4868
  };
4869
- function he({
4869
+ function qe({
4870
4870
  children: t,
4871
4871
  id: n,
4872
4872
  open: e,
4873
4873
  summary: i,
4874
4874
  inlineSize: r = "full"
4875
4875
  }) {
4876
- const a = g(n);
4876
+ const a = v(n);
4877
4877
  return {
4878
4878
  kind: "element",
4879
4879
  tag: "details",
@@ -4894,7 +4894,7 @@ function he({
4894
4894
  tag: "span",
4895
4895
  attrs: { class: "marker" },
4896
4896
  children: [
4897
- O({
4897
+ P({
4898
4898
  ariaHidden: !0,
4899
4899
  name: "chevron-right",
4900
4900
  size: "sm"
@@ -4918,10 +4918,10 @@ function he({
4918
4918
  ]
4919
4919
  };
4920
4920
  }
4921
- function Mi(t) {
4922
- return h(he(t));
4921
+ function $i(t) {
4922
+ return m(qe(t));
4923
4923
  }
4924
- const qi = {
4924
+ const Gi = {
4925
4925
  name: "details",
4926
4926
  description: "Use `details` to let users expand and collapse a section of content.",
4927
4927
  output: { element: "details", class: "set-details" },
@@ -4980,12 +4980,12 @@ const qi = {
4980
4980
  ]
4981
4981
  }
4982
4982
  };
4983
- function me({
4983
+ function Ie({
4984
4984
  id: t,
4985
4985
  orientation: n = "horizontal",
4986
4986
  tone: e = "default"
4987
4987
  } = {}) {
4988
- const i = g(t);
4988
+ const i = v(t);
4989
4989
  return {
4990
4990
  kind: "element",
4991
4991
  tag: n === "horizontal" ? "hr" : "span",
@@ -4999,10 +4999,10 @@ function me({
4999
4999
  children: []
5000
5000
  };
5001
5001
  }
5002
- function Ii(t = {}) {
5003
- return h(me(t));
5002
+ function Zi(t = {}) {
5003
+ return m(Ie(t));
5004
5004
  }
5005
- const Ti = {
5005
+ const Fi = {
5006
5006
  name: "divider",
5007
5007
  description: "Use `divider` to separate sections with a rule.",
5008
5008
  output: {
@@ -5064,23 +5064,23 @@ const Ti = {
5064
5064
  ]
5065
5065
  }
5066
5066
  };
5067
- function bt({
5067
+ function qt({
5068
5068
  children: t,
5069
5069
  description: n,
5070
5070
  disabled: e,
5071
5071
  id: i,
5072
5072
  invalid: r,
5073
5073
  legend: a,
5074
- inlineSize: d = "full"
5074
+ inlineSize: o = "full"
5075
5075
  }) {
5076
- const o = n?.trim(), s = i.trim();
5076
+ const d = n?.trim(), s = i.trim();
5077
5077
  if (!s)
5078
5078
  throw new Error("id must be a non-empty string.");
5079
- if (!I(s))
5079
+ if (!V(s))
5080
5080
  throw new Error(
5081
5081
  "id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
5082
5082
  );
5083
- const l = o ? `${s}-description` : void 0, p = !!e, c = !p && !!r, u = [
5083
+ const p = d ? `${s}-description` : void 0, l = !!e, c = !l && !!r, h = [
5084
5084
  {
5085
5085
  kind: "element",
5086
5086
  tag: "legend",
@@ -5088,29 +5088,29 @@ function bt({
5088
5088
  children: [{ kind: "text", value: a }]
5089
5089
  }
5090
5090
  ];
5091
- return o && u.push({
5091
+ return d && h.push({
5092
5092
  kind: "element",
5093
5093
  tag: "p",
5094
- attrs: { class: "description", id: l },
5095
- children: [{ kind: "text", value: o }]
5096
- }), t && u.push({ kind: "raw", html: t }), {
5094
+ attrs: { class: "description", id: p },
5095
+ children: [{ kind: "text", value: d }]
5096
+ }), t && h.push({ kind: "raw", html: t }), {
5097
5097
  kind: "element",
5098
5098
  tag: "fieldset",
5099
5099
  attrs: {
5100
- "aria-describedby": o ? l : void 0,
5100
+ "aria-describedby": d ? p : void 0,
5101
5101
  "aria-invalid": c ? "true" : void 0,
5102
5102
  class: "set-fieldset",
5103
- "data-inline-size": d === "fit" ? "fit" : void 0,
5104
- disabled: p,
5103
+ "data-inline-size": o === "fit" ? "fit" : void 0,
5104
+ disabled: l,
5105
5105
  id: s
5106
5106
  },
5107
- children: u
5107
+ children: h
5108
5108
  };
5109
5109
  }
5110
- function Ai(t) {
5111
- return h(bt(t));
5110
+ function ji(t) {
5111
+ return m(qt(t));
5112
5112
  }
5113
- const _i = {
5113
+ const Ki = {
5114
5114
  name: "fieldset",
5115
5115
  description: "Use `fieldset` to group related form controls under a legend.",
5116
5116
  output: { element: "fieldset", class: "set-fieldset" },
@@ -5198,21 +5198,23 @@ const _i = {
5198
5198
  ]
5199
5199
  }
5200
5200
  };
5201
- function ke({
5201
+ function Te({
5202
5202
  align: t = "start",
5203
5203
  caption: n,
5204
5204
  children: e,
5205
5205
  id: i,
5206
- responsive: r = !1
5206
+ inlineSize: r = "full",
5207
+ responsive: a = !1
5207
5208
  }) {
5208
- const a = g(i);
5209
+ const o = v(i);
5209
5210
  return {
5210
5211
  kind: "element",
5211
5212
  tag: "figure",
5212
5213
  attrs: {
5213
5214
  class: "set-figure",
5214
5215
  "data-align": t === "start" ? void 0 : t,
5215
- id: a
5216
+ "data-inline-size": r === "full" ? void 0 : r,
5217
+ id: o
5216
5218
  },
5217
5219
  children: [
5218
5220
  { kind: "raw", html: e },
@@ -5221,10 +5223,10 @@ function ke({
5221
5223
  tag: "figcaption",
5222
5224
  attrs: { class: "figcaption" },
5223
5225
  children: [
5224
- X({
5226
+ et({
5225
5227
  as: "span",
5226
5228
  children: n,
5227
- responsive: r,
5229
+ responsive: a,
5228
5230
  size: "sm"
5229
5231
  })
5230
5232
  ]
@@ -5232,10 +5234,10 @@ function ke({
5232
5234
  ]
5233
5235
  };
5234
5236
  }
5235
- function Di(t) {
5236
- return h(ke(t));
5237
+ function Xi(t) {
5238
+ return m(Te(t));
5237
5239
  }
5238
- const Hi = {
5240
+ const Qi = {
5239
5241
  name: "figure",
5240
5242
  description: "Use `figure` to present media with a caption.",
5241
5243
  output: { element: "figure", class: "set-figure" },
@@ -5266,6 +5268,11 @@ const Hi = {
5266
5268
  description: "DOM id.",
5267
5269
  type: { kind: "string" }
5268
5270
  },
5271
+ inlineSize: {
5272
+ default: "full",
5273
+ description: "Whether the figure fills its container or shrinks to fit the media.",
5274
+ type: { kind: "enum", values: ["full", "fit"] }
5275
+ },
5269
5276
  responsive: {
5270
5277
  default: !1,
5271
5278
  description: "Scales the caption across breakpoints.",
@@ -5275,6 +5282,12 @@ const Hi = {
5275
5282
  events: {},
5276
5283
  rules: {
5277
5284
  attributes: [
5285
+ {
5286
+ target: { on: "host" },
5287
+ attribute: "data-inline-size",
5288
+ condition: { kind: "when-equals", prop: "inlineSize", to: "fit" },
5289
+ value: { kind: "literal", text: "fit" }
5290
+ },
5278
5291
  {
5279
5292
  target: { on: "host" },
5280
5293
  attribute: "data-align",
@@ -5293,16 +5306,16 @@ const Hi = {
5293
5306
  }
5294
5307
  ]
5295
5308
  }
5296
- }, L = (t) => {
5309
+ }, T = (t) => {
5297
5310
  if (t !== void 0)
5298
5311
  return String(t);
5299
5312
  };
5300
- function ge({
5313
+ function Ae({
5301
5314
  children: t,
5302
5315
  gap: n = "default",
5303
5316
  id: e
5304
5317
  }) {
5305
- const i = g(e);
5318
+ const i = v(e);
5306
5319
  return {
5307
5320
  kind: "element",
5308
5321
  tag: "div",
@@ -5321,56 +5334,56 @@ function ge({
5321
5334
  ]
5322
5335
  };
5323
5336
  }
5324
- function Vi(t) {
5325
- return h(ge(t));
5337
+ function Yi(t) {
5338
+ return m(Ae(t));
5326
5339
  }
5327
- function be({
5340
+ function _e({
5328
5341
  align: t,
5329
5342
  children: n,
5330
5343
  colSpan: e,
5331
5344
  colSpanNarrow: i,
5332
5345
  colSpanWide: r,
5333
5346
  colStart: a,
5334
- colStartNarrow: d,
5335
- colStartWide: o,
5347
+ colStartNarrow: o,
5348
+ colStartWide: d,
5336
5349
  id: s,
5337
- justify: l,
5338
- rowSpan: p,
5350
+ justify: p,
5351
+ rowSpan: l,
5339
5352
  rowSpanNarrow: c,
5340
- rowSpanWide: u,
5341
- rowStart: m,
5342
- rowStartNarrow: y,
5343
- rowStartWide: k
5353
+ rowSpanWide: h,
5354
+ rowStart: b,
5355
+ rowStartNarrow: S,
5356
+ rowStartWide: f
5344
5357
  }) {
5345
- const v = g(s);
5358
+ const E = v(s);
5346
5359
  return {
5347
5360
  kind: "element",
5348
5361
  tag: "div",
5349
5362
  attrs: {
5350
5363
  class: "set-grid-item",
5351
5364
  "data-align": t,
5352
- "data-justify": l,
5353
- "data-col-span-narrow": L(i),
5354
- "data-col-start-narrow": L(d),
5355
- "data-col-span": L(e),
5356
- "data-col-start": L(a),
5357
- "data-col-span-wide": L(r),
5358
- "data-col-start-wide": L(o),
5359
- "data-row-span-narrow": L(c),
5360
- "data-row-start-narrow": L(y),
5361
- "data-row-span": L(p),
5362
- "data-row-start": L(m),
5363
- "data-row-span-wide": L(u),
5364
- "data-row-start-wide": L(k),
5365
- id: v
5365
+ "data-justify": p,
5366
+ "data-col-span-narrow": T(i),
5367
+ "data-col-start-narrow": T(o),
5368
+ "data-col-span": T(e),
5369
+ "data-col-start": T(a),
5370
+ "data-col-span-wide": T(r),
5371
+ "data-col-start-wide": T(d),
5372
+ "data-row-span-narrow": T(c),
5373
+ "data-row-start-narrow": T(S),
5374
+ "data-row-span": T(l),
5375
+ "data-row-start": T(b),
5376
+ "data-row-span-wide": T(h),
5377
+ "data-row-start-wide": T(f),
5378
+ id: E
5366
5379
  },
5367
5380
  children: n ? [{ kind: "raw", html: n }] : []
5368
5381
  };
5369
5382
  }
5370
- function Ni(t) {
5371
- return h(be(t));
5383
+ function Ji(t) {
5384
+ return m(_e(t));
5372
5385
  }
5373
- const Oi = {
5386
+ const tn = {
5374
5387
  name: "grid",
5375
5388
  description: "Use `grid` to lay out content in a 12-column responsive grid.",
5376
5389
  output: { element: "div", class: "set-grid" },
@@ -5411,12 +5424,12 @@ const Oi = {
5411
5424
  }
5412
5425
  ]
5413
5426
  }
5414
- }, M = {
5427
+ }, A = {
5415
5428
  kind: "number",
5416
5429
  min: 1,
5417
5430
  max: 12,
5418
5431
  integer: !0
5419
- }, Pi = {
5432
+ }, en = {
5420
5433
  name: "grid-item",
5421
5434
  description: "Use `grid-item` to place content within a `grid` layout.",
5422
5435
  output: { element: "div", class: "set-grid-item" },
@@ -5436,11 +5449,11 @@ const Oi = {
5436
5449
  },
5437
5450
  colSpan: {
5438
5451
  description: "Columns spanned at the default breakpoint.",
5439
- type: M
5452
+ type: A
5440
5453
  },
5441
5454
  colStart: {
5442
5455
  description: "Starting column at the default breakpoint.",
5443
- type: M
5456
+ type: A
5444
5457
  },
5445
5458
  id: {
5446
5459
  description: "DOM id.",
@@ -5448,43 +5461,43 @@ const Oi = {
5448
5461
  },
5449
5462
  rowSpan: {
5450
5463
  description: "Rows spanned at the default breakpoint.",
5451
- type: M
5464
+ type: A
5452
5465
  },
5453
5466
  rowSpanNarrow: {
5454
5467
  description: "Rows spanned at the narrow breakpoint.",
5455
- type: M
5468
+ type: A
5456
5469
  },
5457
5470
  rowSpanWide: {
5458
5471
  description: "Rows spanned at the wide breakpoint. Effect is only visible above the wide breakpoint.",
5459
- type: M
5472
+ type: A
5460
5473
  },
5461
5474
  rowStart: {
5462
5475
  description: "Starting row at the default breakpoint.",
5463
- type: M
5476
+ type: A
5464
5477
  },
5465
5478
  rowStartNarrow: {
5466
5479
  description: "Starting row at the narrow breakpoint.",
5467
- type: M
5480
+ type: A
5468
5481
  },
5469
5482
  rowStartWide: {
5470
5483
  description: "Starting row at the wide breakpoint. Effect is only visible above the wide breakpoint.",
5471
- type: M
5484
+ type: A
5472
5485
  },
5473
5486
  colSpanNarrow: {
5474
5487
  description: "Columns spanned at the narrow breakpoint.",
5475
- type: M
5488
+ type: A
5476
5489
  },
5477
5490
  colStartNarrow: {
5478
5491
  description: "Starting column at the narrow breakpoint.",
5479
- type: M
5492
+ type: A
5480
5493
  },
5481
5494
  colSpanWide: {
5482
5495
  description: "Columns spanned at the wide breakpoint. Effect is only visible above the wide breakpoint.",
5483
- type: M
5496
+ type: A
5484
5497
  },
5485
5498
  colStartWide: {
5486
5499
  description: "Starting column at the wide breakpoint. Effect is only visible above the wide breakpoint.",
5487
- type: M
5500
+ type: A
5488
5501
  }
5489
5502
  },
5490
5503
  events: {},
@@ -5583,16 +5596,16 @@ const Oi = {
5583
5596
  ]
5584
5597
  }
5585
5598
  };
5586
- function ve({
5599
+ function De({
5587
5600
  align: t = "start",
5588
5601
  id: n,
5589
5602
  level: e,
5590
5603
  opticalAlign: i,
5591
5604
  responsive: r,
5592
5605
  size: a = "md",
5593
- text: d
5606
+ text: o
5594
5607
  }) {
5595
- const o = g(n);
5608
+ const d = v(n);
5596
5609
  return {
5597
5610
  kind: "element",
5598
5611
  tag: e ? `h${e}` : "span",
@@ -5602,15 +5615,15 @@ function ve({
5602
5615
  "data-optical-align": i,
5603
5616
  "data-responsive": r,
5604
5617
  "data-size": a,
5605
- id: o
5618
+ id: d
5606
5619
  },
5607
- children: [{ kind: "text", value: d }]
5620
+ children: [{ kind: "text", value: o }]
5608
5621
  };
5609
5622
  }
5610
- function Bi(t) {
5611
- return h(ve(t));
5623
+ function nn(t) {
5624
+ return m(De(t));
5612
5625
  }
5613
- const Ri = {
5626
+ const rn = {
5614
5627
  name: "heading",
5615
5628
  description: "Use `heading` to render heading text with consistent type.",
5616
5629
  output: {
@@ -5705,114 +5718,247 @@ const Ri = {
5705
5718
  ]
5706
5719
  }
5707
5720
  };
5708
- function fe({
5721
+ function Ve({
5709
5722
  adaptive: t,
5710
- alt: n = "",
5711
- aspectRatio: e,
5712
- fit: i = "intrinsic",
5713
- gravity: r = "C",
5714
- height: a,
5723
+ animated: n,
5724
+ alt: e = "",
5725
+ aspectRatio: i,
5726
+ fit: r = "intrinsic",
5727
+ gravity: a = "C",
5728
+ height: o,
5715
5729
  id: d,
5716
- lazy: o,
5717
- priority: s,
5718
- radius: l,
5719
- shadow: p,
5720
- sizes: c,
5721
- sources: u,
5722
- src: m,
5723
- srcSet: y,
5724
- width: k
5730
+ lazy: s,
5731
+ leadSrc: p,
5732
+ priority: l,
5733
+ radius: c,
5734
+ shadow: h,
5735
+ sizes: b,
5736
+ sources: S,
5737
+ src: f,
5738
+ srcSet: E,
5739
+ still: q,
5740
+ width: w
5725
5741
  }) {
5726
- const v = i === "cover", C = g(d), S = m.trim(), b = y?.trim(), x = c?.trim(), w = u?.map((f, q) => {
5727
- const _ = f.srcSet.trim(), z = f.media?.trim(), B = f.type?.trim(), yt = f.sizes?.trim();
5728
- if (!_)
5729
- throw new Error(`sources[${q}].srcSet must be non-empty.`);
5742
+ const k = r === "cover", L = v(d), x = f.trim(), z = E?.trim(), _ = p?.trim(), D = q?.trim(), N = b?.trim(), M = S?.map((u, C) => {
5743
+ const I = u.srcSet.trim(), y = u.media?.trim(), g = u.type?.trim(), Dt = u.sizes?.trim(), Vt = u.leadSrc?.trim(), Ht = u.still?.trim();
5744
+ if (!I)
5745
+ throw new Error(`sources[${C}].srcSet must be non-empty.`);
5730
5746
  return {
5731
- height: f.height,
5732
- media: z || void 0,
5733
- sizes: yt || void 0,
5734
- srcSet: _,
5735
- type: B || void 0,
5736
- width: f.width
5747
+ height: u.height,
5748
+ leadSrc: Vt || void 0,
5749
+ media: y || void 0,
5750
+ sizes: Dt || void 0,
5751
+ srcSet: I,
5752
+ still: Ht || void 0,
5753
+ type: g || void 0,
5754
+ width: u.width
5737
5755
  };
5738
5756
  }) || [];
5739
- if (!S)
5757
+ if (!x)
5740
5758
  throw new Error("src must be a non-empty string.");
5741
5759
  if (t && [
5742
- S,
5743
- b,
5744
- ...w.map((f) => f.srcSet)
5745
- ].some((f) => f?.includes("#")))
5760
+ x,
5761
+ z,
5762
+ ...M.map((u) => u.srcSet)
5763
+ ].some((u) => u?.includes("#")))
5746
5764
  throw new Error("adaptive sources must not contain URL fragments.");
5747
- const E = (f, q) => f.split(/,\s+/).map((_) => {
5748
- const [z, ...B] = _.trim().split(/\s+/);
5749
- if (!z || B.length > 1)
5765
+ const U = !!(n && t), it = !!(n && _), $ = !!_ || M.some((u) => u.leadSrc);
5766
+ if (!n && $)
5767
+ throw new Error("leadSrc requires animated.");
5768
+ if (n) {
5769
+ const u = [
5770
+ x,
5771
+ z,
5772
+ _,
5773
+ ...M.flatMap((y) => [y.srcSet, y.leadSrc])
5774
+ ].filter((y) => !!y), C = u.filter((y) => y.includes("{scheme}"));
5775
+ if (t && C.length !== u.length)
5776
+ throw new Error(
5777
+ "adaptive animated sources must contain a {scheme} placeholder."
5778
+ );
5779
+ if (!t && C.length > 0)
5780
+ throw new Error(
5781
+ "the {scheme} placeholder requires adaptive to enable light/dark."
5782
+ );
5783
+ if (!D)
5784
+ throw new Error("animated requires a still.");
5785
+ if ([
5786
+ D,
5787
+ ...M.map((y) => y.still)
5788
+ ].filter((y) => !!y).some((y) => y.includes("#")))
5789
+ throw new Error("animated still must not contain URL fragments.");
5790
+ }
5791
+ const mt = (u, C) => u.split(/,\s+/).map((I) => {
5792
+ const [y, ...g] = I.trim().split(/\s+/);
5793
+ if (!y || g.length > 1)
5750
5794
  throw new Error(
5751
5795
  "adaptive srcSet candidates must be a URL plus at most one descriptor, separated by a comma and whitespace."
5752
5796
  );
5753
- return [`${z}#${q}`, ...B].join(" ");
5754
- }).join(", "), T = (f) => {
5755
- const q = {
5797
+ return [`${y}#${C}`, ...g].join(" ");
5798
+ }).join(", "), nt = (u) => {
5799
+ const C = {
5756
5800
  kind: "element",
5757
5801
  tag: "img",
5758
5802
  attrs: {
5759
- alt: n,
5803
+ alt: e,
5760
5804
  class: "img",
5761
- "data-scheme": f && w.length === 0 ? f : void 0,
5762
- fetchpriority: s ? "high" : void 0,
5763
- height: v ? void 0 : a ? String(a) : void 0,
5764
- loading: o && !s ? "lazy" : void 0,
5765
- sizes: w.length > 0 ? void 0 : x || void 0,
5766
- src: f ? `${S}#${f}` : S,
5767
- srcset: b && f ? E(b, f) : b || void 0,
5768
- width: v ? void 0 : k ? String(k) : void 0
5805
+ "data-scheme": u && M.length === 0 ? u : void 0,
5806
+ fetchpriority: l ? "high" : void 0,
5807
+ height: k ? void 0 : o ? String(o) : void 0,
5808
+ loading: s && !l ? "lazy" : void 0,
5809
+ sizes: M.length > 0 ? void 0 : N || void 0,
5810
+ src: u ? `${x}#${u}` : x,
5811
+ srcset: z && u ? mt(z, u) : z || void 0,
5812
+ width: k ? void 0 : w ? String(w) : void 0
5769
5813
  },
5770
5814
  children: []
5771
5815
  };
5772
- if (w.length === 0)
5773
- return q;
5774
- const _ = w.map((z) => ({
5816
+ if (M.length === 0)
5817
+ return C;
5818
+ const I = M.map((y) => ({
5775
5819
  kind: "element",
5776
5820
  tag: "source",
5777
5821
  attrs: {
5778
- height: z.height ? String(z.height) : void 0,
5779
- media: z.media,
5780
- sizes: z.sizes,
5781
- srcset: f ? E(z.srcSet, f) : z.srcSet,
5782
- type: z.type,
5783
- width: z.width ? String(z.width) : void 0
5822
+ height: y.height ? String(y.height) : void 0,
5823
+ media: y.media,
5824
+ sizes: y.sizes,
5825
+ srcset: u ? mt(y.srcSet, u) : y.srcSet,
5826
+ type: y.type,
5827
+ width: y.width ? String(y.width) : void 0
5784
5828
  },
5785
5829
  children: []
5786
5830
  }));
5787
5831
  return {
5788
5832
  kind: "element",
5789
5833
  tag: "picture",
5790
- attrs: { "data-scheme": f },
5791
- children: [..._, q]
5834
+ attrs: { "data-scheme": u },
5835
+ children: [...I, C]
5836
+ };
5837
+ }, rt = "(prefers-reduced-motion: reduce)", R = (u, C) => C ? u.replaceAll("{scheme}", C) : u, at = (u, C) => C ? `${u}#${C}` : u, kt = (u) => {
5838
+ const C = M.filter((g) => g.still).map((g) => ({
5839
+ kind: "element",
5840
+ tag: "source",
5841
+ attrs: {
5842
+ height: g.height ? String(g.height) : void 0,
5843
+ media: g.media ? `${rt} and ${g.media}` : rt,
5844
+ srcset: at(g.still, u),
5845
+ width: g.width ? String(g.width) : void 0
5846
+ },
5847
+ children: []
5848
+ }));
5849
+ C.push({
5850
+ kind: "element",
5851
+ tag: "source",
5852
+ attrs: {
5853
+ media: rt,
5854
+ srcset: at(D, u)
5855
+ },
5856
+ children: []
5857
+ });
5858
+ const I = M.map((g) => ({
5859
+ kind: "element",
5860
+ tag: "source",
5861
+ attrs: {
5862
+ height: g.height ? String(g.height) : void 0,
5863
+ media: g.media,
5864
+ sizes: g.sizes,
5865
+ srcset: R(g.srcSet, u),
5866
+ type: g.type,
5867
+ width: g.width ? String(g.width) : void 0
5868
+ },
5869
+ children: []
5870
+ })), y = {
5871
+ kind: "element",
5872
+ tag: "img",
5873
+ attrs: {
5874
+ alt: e,
5875
+ class: "img",
5876
+ fetchpriority: l ? "high" : void 0,
5877
+ height: k ? void 0 : o ? String(o) : void 0,
5878
+ loading: s && !l ? "lazy" : void 0,
5879
+ sizes: M.length > 0 ? void 0 : N || void 0,
5880
+ src: R(x, u),
5881
+ srcset: z ? R(z, u) : void 0,
5882
+ width: k ? void 0 : w ? String(w) : void 0
5883
+ },
5884
+ children: []
5885
+ };
5886
+ return {
5887
+ kind: "element",
5888
+ tag: "picture",
5889
+ attrs: { "data-scheme": u },
5890
+ children: [...C, ...I, y]
5891
+ };
5892
+ }, At = (u) => {
5893
+ const C = "(prefers-reduced-motion: no-preference)", I = M.map((g) => {
5894
+ if (g.leadSrc)
5895
+ return {
5896
+ kind: "element",
5897
+ tag: "source",
5898
+ attrs: {
5899
+ height: g.height ? String(g.height) : void 0,
5900
+ media: g.media ? `${C} and ${g.media}` : C,
5901
+ sizes: g.sizes,
5902
+ srcset: R(g.leadSrc, u),
5903
+ type: g.type,
5904
+ width: g.width ? String(g.width) : void 0
5905
+ },
5906
+ children: []
5907
+ };
5908
+ }).filter((g) => !!g);
5909
+ I.push({
5910
+ kind: "element",
5911
+ tag: "source",
5912
+ attrs: {
5913
+ media: C,
5914
+ sizes: M.length > 0 ? void 0 : N || void 0,
5915
+ srcset: R(_, u)
5916
+ },
5917
+ children: []
5918
+ });
5919
+ const y = {
5920
+ kind: "element",
5921
+ tag: "img",
5922
+ attrs: {
5923
+ alt: "",
5924
+ class: "img",
5925
+ height: k ? void 0 : o ? String(o) : void 0,
5926
+ src: at(D, u),
5927
+ width: k ? void 0 : w ? String(w) : void 0
5928
+ },
5929
+ children: []
5930
+ };
5931
+ return {
5932
+ kind: "element",
5933
+ tag: "picture",
5934
+ attrs: { "data-scheme": u, "data-layer": "lead" },
5935
+ children: [...I, y]
5792
5936
  };
5793
- }, H = t ? [T("light"), T("dark")] : [T()], A = [];
5794
- return a && A.push(`--set-image-block-size: ${a / 16}rem`), k && A.push(`--set-image-inline-size: ${k / 16}rem`), {
5937
+ }, ot = (u) => it ? [kt(u), At(u)] : [kt(u)], _t = n ? U ? [...ot("light"), ...ot("dark")] : ot() : t ? [nt("light"), nt("dark")] : [nt()], G = [];
5938
+ return o && G.push(`--set-image-block-size: ${o / 16}rem`), w && G.push(`--set-image-inline-size: ${w / 16}rem`), {
5795
5939
  kind: "element",
5796
5940
  tag: "div",
5797
5941
  attrs: {
5798
5942
  class: "set-image",
5799
5943
  "data-adaptive": !!t,
5800
- "data-aspect-ratio": v && !a ? e : void 0,
5801
- "data-fluid": i === "fluid",
5802
- "data-gravity": v && r !== "C" ? r : void 0,
5803
- "data-shadow": !!p,
5804
- "data-object-fit": v ? "cover" : void 0,
5805
- "data-radius": !!l,
5806
- id: C,
5807
- style: A.length > 0 ? A.join("; ") : void 0
5808
- },
5809
- children: H
5944
+ "data-animated": !!n,
5945
+ "data-sequenced": it,
5946
+ "data-aspect-ratio": k && !o ? i : void 0,
5947
+ "data-fluid": r === "fluid",
5948
+ "data-gravity": k && a !== "C" ? a : void 0,
5949
+ "data-shadow": !!h,
5950
+ "data-object-fit": k ? "cover" : void 0,
5951
+ "data-radius": !!c,
5952
+ id: L,
5953
+ style: G.length > 0 ? G.join("; ") : void 0
5954
+ },
5955
+ children: _t
5810
5956
  };
5811
5957
  }
5812
- function ye(t) {
5813
- return h(fe(t));
5958
+ function He(t) {
5959
+ return m(Ve(t));
5814
5960
  }
5815
- const Wi = {
5961
+ const an = {
5816
5962
  name: "image",
5817
5963
  description: "Use `image` to render a responsive image with intrinsic, fluid, or cover fit, and optional art-directed `sources`.",
5818
5964
  output: { element: "div", class: "set-image" },
@@ -5820,7 +5966,12 @@ const Wi = {
5820
5966
  props: {
5821
5967
  adaptive: {
5822
5968
  default: !1,
5823
- description: "Shows the image's light or dark variant to match the surrounding color scheme. Use with adaptive assets exported from Screen, which carry both variants in one file; the component selects one by adding `#light`/`#dark` to the URL.",
5969
+ 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.",
5970
+ type: { kind: "boolean" }
5971
+ },
5972
+ animated: {
5973
+ default: !1,
5974
+ 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.",
5824
5975
  type: { kind: "boolean" }
5825
5976
  },
5826
5977
  alt: {
@@ -5905,6 +6056,14 @@ const Wi = {
5905
6056
  required: !0,
5906
6057
  type: { kind: "string" }
5907
6058
  },
6059
+ leadSrc: {
6060
+ description: "Intro overlay for this source in an `animated` sequence.",
6061
+ type: { kind: "string" }
6062
+ },
6063
+ still: {
6064
+ description: "Reduced-motion still for this source, used when `animated`. For a light/dark still, use an adaptive SVG.",
6065
+ type: { kind: "string" }
6066
+ },
5908
6067
  type: {
5909
6068
  description: "MIME type for the source resources.",
5910
6069
  type: { kind: "string" }
@@ -5920,6 +6079,15 @@ const Wi = {
5920
6079
  description: "Candidate sources for the fallback image.",
5921
6080
  type: { kind: "string" }
5922
6081
  },
6082
+ leadSrc: {
6083
+ 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.",
6084
+ type: { kind: "string" }
6085
+ },
6086
+ still: {
6087
+ 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`.",
6088
+ requiredWhen: "`animated` is set",
6089
+ type: { kind: "string" }
6090
+ },
5923
6091
  src: {
5924
6092
  description: "Image source URL.",
5925
6093
  required: !0,
@@ -5938,6 +6106,16 @@ const Wi = {
5938
6106
  attribute: "data-adaptive",
5939
6107
  condition: { kind: "when-truthy", prop: "adaptive" }
5940
6108
  },
6109
+ {
6110
+ target: { on: "host" },
6111
+ attribute: "data-animated",
6112
+ condition: { kind: "when-truthy", prop: "animated" }
6113
+ },
6114
+ {
6115
+ target: { on: "host" },
6116
+ attribute: "data-sequenced",
6117
+ condition: { kind: "when-non-empty", prop: "leadSrc" }
6118
+ },
5941
6119
  {
5942
6120
  target: { on: "host" },
5943
6121
  attribute: "data-object-fit",
@@ -6010,16 +6188,16 @@ const Wi = {
6010
6188
  ]
6011
6189
  }
6012
6190
  };
6013
- function we({
6191
+ function Ne({
6014
6192
  align: t = "center",
6015
6193
  as: n = "div",
6016
6194
  children: e,
6017
6195
  gap: i = "md",
6018
6196
  id: r,
6019
6197
  justify: a = "start",
6020
- nowrap: d
6198
+ nowrap: o
6021
6199
  }) {
6022
- const o = g(r);
6200
+ const d = v(r);
6023
6201
  return {
6024
6202
  kind: "element",
6025
6203
  tag: n,
@@ -6028,16 +6206,16 @@ function we({
6028
6206
  "data-align": t === "center" ? void 0 : t,
6029
6207
  "data-gap": i,
6030
6208
  "data-justify": a === "start" ? void 0 : a,
6031
- "data-nowrap": d,
6032
- id: o
6209
+ "data-nowrap": o,
6210
+ id: d
6033
6211
  },
6034
6212
  children: e ? [{ kind: "raw", html: e }] : []
6035
6213
  };
6036
6214
  }
6037
- function Ui(t) {
6038
- return h(we(t));
6215
+ function on(t) {
6216
+ return m(Ne(t));
6039
6217
  }
6040
- const $i = {
6218
+ const dn = {
6041
6219
  name: "inline",
6042
6220
  description: "Use `inline` to lay out content in a horizontal row.",
6043
6221
  output: {
@@ -6122,79 +6300,79 @@ const $i = {
6122
6300
  ]
6123
6301
  }
6124
6302
  };
6125
- function Se({
6303
+ function Be({
6126
6304
  autocomplete: t,
6127
6305
  description: n,
6128
6306
  disabled: e,
6129
6307
  id: i,
6130
6308
  invalid: r,
6131
6309
  label: a,
6132
- name: d,
6133
- pattern: o,
6310
+ name: o,
6311
+ pattern: d,
6134
6312
  readOnly: s,
6135
- required: l,
6136
- size: p = "md",
6313
+ required: p,
6314
+ size: l = "md",
6137
6315
  spellcheck: c,
6138
- type: u = "text",
6139
- value: m,
6140
- inlineSize: y = "full"
6316
+ type: h = "text",
6317
+ value: b,
6318
+ inlineSize: S = "full"
6141
6319
  }) {
6142
- const k = i.trim(), v = n?.trim(), C = t === !1 ? !1 : t?.trim(), S = d?.trim(), b = o?.trim(), x = m;
6143
- if (!k)
6320
+ const f = i.trim(), E = n?.trim(), q = t === !1 ? !1 : t?.trim(), w = o?.trim(), k = d?.trim(), L = b;
6321
+ if (!f)
6144
6322
  throw new Error("id must be a non-empty string.");
6145
- if (!I(k))
6323
+ if (!V(f))
6146
6324
  throw new Error(
6147
6325
  "id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
6148
6326
  );
6149
- const w = v ? `${k}-description` : void 0, E = u === "numeric", T = E ? "text" : u, H = b || (E ? "^[0-9]*$" : void 0), A = c === void 0 && E ? !1 : c, f = !!e, q = !f && !!s, z = [
6327
+ 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, $ = [
6150
6328
  {
6151
6329
  kind: "element",
6152
6330
  tag: "label",
6153
- attrs: { class: "label", for: k },
6331
+ attrs: { class: "label", for: f },
6154
6332
  children: [{ kind: "text", value: a }]
6155
6333
  },
6156
6334
  {
6157
6335
  kind: "element",
6158
6336
  tag: "input",
6159
6337
  attrs: {
6160
- "aria-describedby": w,
6161
- "aria-invalid": !f && !q && !!r ? "true" : void 0,
6162
- autocomplete: C === !1 ? "off" : C || void 0,
6338
+ "aria-describedby": x,
6339
+ "aria-invalid": !M && !U && !!r ? "true" : void 0,
6340
+ autocomplete: q === !1 ? "off" : q || void 0,
6163
6341
  class: "input",
6164
- disabled: f,
6165
- id: k,
6166
- inputmode: E ? "numeric" : void 0,
6167
- name: S || void 0,
6168
- pattern: H,
6169
- readonly: q,
6170
- required: !!l,
6171
- spellcheck: A === void 0 ? void 0 : String(A),
6172
- type: T,
6173
- value: x
6342
+ disabled: M,
6343
+ id: f,
6344
+ inputmode: z ? "numeric" : void 0,
6345
+ name: w || void 0,
6346
+ pattern: D,
6347
+ readonly: U,
6348
+ required: !!p,
6349
+ spellcheck: N === void 0 ? void 0 : String(N),
6350
+ type: _,
6351
+ value: L
6174
6352
  },
6175
6353
  children: []
6176
6354
  }
6177
6355
  ];
6178
- return v && z.push({
6356
+ return E && $.push({
6179
6357
  kind: "element",
6180
6358
  tag: "p",
6181
- attrs: { class: "description", id: w },
6182
- children: [{ kind: "text", value: v }]
6359
+ attrs: { class: "description", id: x },
6360
+ children: [{ kind: "text", value: E }]
6183
6361
  }), {
6184
6362
  kind: "element",
6185
6363
  tag: "div",
6186
6364
  attrs: {
6187
6365
  class: "set-input",
6188
- "data-size": p,
6189
- "data-inline-size": y === "fit" ? "fit" : void 0
6366
+ "data-size": l,
6367
+ "data-inline-size": S === "fit" ? "fit" : void 0
6190
6368
  },
6191
- children: z
6369
+ children: $
6192
6370
  };
6193
6371
  }
6194
- function Gi(t) {
6195
- return h(Se(t));
6372
+ function sn(t) {
6373
+ return m(Be(t));
6196
6374
  }
6197
- const Zi = {
6375
+ const ln = {
6198
6376
  name: "input",
6199
6377
  description: "Use `input` to collect a single line of text from users.",
6200
6378
  output: { element: "div", class: "set-input" },
@@ -6389,7 +6567,7 @@ const Zi = {
6389
6567
  }
6390
6568
  ]
6391
6569
  }
6392
- }, xe = "0 0 6714.6 1200", Ee = "0 0 600 1200", ze = [
6570
+ }, Oe = "0 0 6714.6 1200", Pe = "0 0 600 1200", Re = [
6393
6571
  { x: 0, y: 0 },
6394
6572
  { x: 300, y: 0 },
6395
6573
  { x: 150, y: 300 },
@@ -6398,11 +6576,11 @@ const Zi = {
6398
6576
  { x: 300, y: 600 },
6399
6577
  { x: 150, y: 900 },
6400
6578
  { x: 450, y: 900 }
6401
- ], Ce = "M0 956h98V571L87 391h2l124 320h89l123-320h3l-11 180v385h98V276H384L260 608h-5L131 276H0zm879.94 10c184 0 223-46 223-272 0-225-39-271-223-271-186 0-224 46-224 271 0 226 38 272 224 272m0-93c-102 0-123-30-123-179 0-147 21-177 123-177 100 0 121 30 121 177 0 149-21 179-121 179m361.44 83h103V686c0-141 20-169 112-169 73 0 88 18 88 107v332h103V624c0-167-28-202-163-202-95 0-120 16-147 92h-5v-82h-91zm769.16 10c184 0 223-46 223-272 0-225-39-271-223-271-186 0-224 46-224 271 0 226 38 272 224 272m0-93c-102 0-123-30-123-179 0-147 21-177 123-177 100 0 121 30 121 177 0 149-21 179-121 179m363.25-65c-4 132 30 158 202 158 173 0 208-25 208-150 0-118-33-146-191-170-94-14-114-26-114-74 0-50 18-60 103-60 76 0 92 9 96 52h97c-3-118-36-142-194-142-166 0-201 25-201 146 0 114 31 141 182 162 101 13 122 28 122 82 0 53-18 64-103 64-88 0-107-11-110-68zm558.97 363h102V902h5c20 54 41 64 123 64 160 0 193-45 193-270 0-227-34-274-198-274-83 0-105 11-123 65h-4v-55h-98zm209-298c-93 0-112-30-112-179 0-148 19-178 112-178s113 30 113 179c0 148-20 178-113 178m656.46 83h88V610c0-156-34-187-197-187-150 0-181 27-179 157h97c1-61 15-74 85-74 82 0 99 18 99 105v24h-72c-187 0-226 30-226 179 0 126 28 152 162 152 92 0 116-13 138-74h5zm-8-243c-1 135-22 163-119 163-65 0-79-13-79-75 0-74 18-88 107-88zm551.75 95c-10 56-26 67-89 67-100 0-121-31-121-181s20-181 117-181c65 0 81 14 91 79h101c-4-141-37-170-188-170-185 0-224 46-224 272s39 272 226 272c147 0 179-26 186-158zm547.03 9c-15 48-31 58-96 58-96 0-117-23-123-136h324c5-263-32-317-214-317-172 0-207 46-207 271 0 227 38 273 223 273 139 0 172-25 190-149zm-218-160c4-122 24-146 114-146 88 0 108 24 112 146zm787.56 299h93l-1-734h-102l1 266h-5c-19-54-40-65-120-65-162 0-196 46-196 272s35 271 200 271c84 0 105-11 125-65h5zm-115-82c-94 0-114-30-114-180s20-180 114-180c93 0 112 30 112 180s-19 180-112 180", Le = 1163, vt = () => ({
6579
+ ], We = "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", Ue = 1163, It = () => ({
6402
6580
  kind: "element",
6403
6581
  tag: "g",
6404
6582
  attrs: { class: "mark" },
6405
- children: ze.map(({ x: t, y: n }) => ({
6583
+ children: Re.map(({ x: t, y: n }) => ({
6406
6584
  kind: "element",
6407
6585
  tag: "rect",
6408
6586
  attrs: {
@@ -6413,19 +6591,19 @@ const Zi = {
6413
6591
  },
6414
6592
  children: []
6415
6593
  }))
6416
- }), Me = () => ({
6594
+ }), $e = () => ({
6417
6595
  kind: "element",
6418
6596
  tag: "g",
6419
- attrs: { class: "word", transform: `translate(${Le} 0)` },
6597
+ attrs: { class: "word", transform: `translate(${Ue} 0)` },
6420
6598
  children: [
6421
6599
  {
6422
6600
  kind: "element",
6423
6601
  tag: "path",
6424
- attrs: { d: Ce },
6602
+ attrs: { d: We },
6425
6603
  children: []
6426
6604
  }
6427
6605
  ]
6428
- }), ft = (t, n) => ({
6606
+ }), Tt = (t, n) => ({
6429
6607
  kind: "element",
6430
6608
  tag: "svg",
6431
6609
  attrs: {
@@ -6435,13 +6613,13 @@ const Zi = {
6435
6613
  },
6436
6614
  children: n
6437
6615
  });
6438
- function qe() {
6439
- return ft(xe, [vt(), Me()]);
6616
+ function Ge() {
6617
+ return Tt(Oe, [It(), $e()]);
6440
6618
  }
6441
- function Ie() {
6442
- return ft(Ee, [vt()]);
6619
+ function Ze() {
6620
+ return Tt(Pe, [It()]);
6443
6621
  }
6444
- function Te({
6622
+ function Fe({
6445
6623
  animated: t,
6446
6624
  id: n,
6447
6625
  label: e,
@@ -6449,7 +6627,7 @@ function Te({
6449
6627
  tone: r = "default",
6450
6628
  variant: a = "primary"
6451
6629
  }) {
6452
- const d = g(n), o = !!t && (a === "primary" || a === "graphic"), s = [
6630
+ const o = v(n), d = !!t && (a === "primary" || a === "graphic"), s = [
6453
6631
  {
6454
6632
  kind: "element",
6455
6633
  tag: "span",
@@ -6457,26 +6635,26 @@ function Te({
6457
6635
  children: [{ kind: "text", value: e }]
6458
6636
  }
6459
6637
  ];
6460
- return o && s.push(
6461
- a === "graphic" ? Ie() : qe()
6638
+ return d && s.push(
6639
+ a === "graphic" ? Ze() : Ge()
6462
6640
  ), {
6463
6641
  kind: "element",
6464
6642
  tag: "div",
6465
6643
  attrs: {
6466
6644
  class: "set-logo",
6467
- "data-animated": o,
6645
+ "data-animated": d,
6468
6646
  "data-size": i,
6469
6647
  "data-tone": r === "neutral" ? "neutral" : void 0,
6470
6648
  "data-variant": a === "primary" ? void 0 : a,
6471
- id: d
6649
+ id: o
6472
6650
  },
6473
6651
  children: s
6474
6652
  };
6475
6653
  }
6476
- function Fi(t) {
6477
- return h(Te(t));
6654
+ function pn(t) {
6655
+ return m(Fe(t));
6478
6656
  }
6479
- const ji = {
6657
+ const cn = {
6480
6658
  name: "logo",
6481
6659
  description: "Use `logo` to display the brand mark.",
6482
6660
  output: { element: "div", class: "set-logo" },
@@ -6564,29 +6742,29 @@ const ji = {
6564
6742
  ]
6565
6743
  }
6566
6744
  };
6567
- function Ae({
6745
+ function je({
6568
6746
  banner: t,
6569
6747
  centerMain: n,
6570
6748
  children: e,
6571
6749
  footer: i,
6572
6750
  header: r,
6573
6751
  headerBorder: a,
6574
- headerSize: d = "md",
6575
- id: o,
6752
+ headerSize: o = "md",
6753
+ id: d,
6576
6754
  stickyHeader: s
6577
6755
  }) {
6578
- const l = g(o), p = [];
6579
- return t && p.push({ kind: "raw", html: t }), p.push({
6756
+ const p = v(d), l = [];
6757
+ return t && l.push({ kind: "raw", html: t }), l.push({
6580
6758
  kind: "element",
6581
6759
  tag: "header",
6582
6760
  attrs: { class: "header" },
6583
6761
  children: [{ kind: "raw", html: r }]
6584
- }), p.push({
6762
+ }), l.push({
6585
6763
  kind: "element",
6586
6764
  tag: "main",
6587
6765
  attrs: { class: "main" },
6588
6766
  children: e ? [{ kind: "raw", html: e }] : []
6589
- }), p.push({
6767
+ }), l.push({
6590
6768
  kind: "element",
6591
6769
  tag: "footer",
6592
6770
  attrs: { class: "footer" },
@@ -6598,17 +6776,17 @@ function Ae({
6598
6776
  class: "set-page",
6599
6777
  "data-center-main": n,
6600
6778
  "data-header-border": a,
6601
- "data-header-size": d,
6779
+ "data-header-size": o,
6602
6780
  "data-sticky-header": s,
6603
- id: l
6781
+ id: p
6604
6782
  },
6605
- children: p
6783
+ children: l
6606
6784
  };
6607
6785
  }
6608
- function Ki(t) {
6609
- return h(Ae(t));
6786
+ function un(t) {
6787
+ return m(je(t));
6610
6788
  }
6611
- const Xi = {
6789
+ const hn = {
6612
6790
  name: "page",
6613
6791
  description: "Use `page` as the primary layout for header, main, and footer regions.",
6614
6792
  output: { element: "div", class: "set-page" },
@@ -6698,13 +6876,13 @@ const Xi = {
6698
6876
  ]
6699
6877
  }
6700
6878
  };
6701
- function _e({
6879
+ function Ke({
6702
6880
  children: t,
6703
6881
  id: n,
6704
6882
  padding: e = "md",
6705
6883
  surface: i
6706
6884
  }) {
6707
- const r = g(n);
6885
+ const r = v(n);
6708
6886
  return {
6709
6887
  kind: "element",
6710
6888
  tag: "div",
@@ -6717,10 +6895,10 @@ function _e({
6717
6895
  children: t ? [{ kind: "raw", html: t }] : []
6718
6896
  };
6719
6897
  }
6720
- function Qi(t) {
6721
- return h(_e(t));
6898
+ function mn(t) {
6899
+ return m(Ke(t));
6722
6900
  }
6723
- const Yi = {
6901
+ const kn = {
6724
6902
  name: "panel",
6725
6903
  description: "Use `panel` to group related content in a contained region.",
6726
6904
  output: { element: "div", class: "set-panel" },
@@ -6771,14 +6949,14 @@ const Yi = {
6771
6949
  ]
6772
6950
  }
6773
6951
  };
6774
- function De({
6952
+ function Xe({
6775
6953
  children: t,
6776
6954
  id: n,
6777
6955
  size: e = "md",
6778
6956
  tone: i = "default",
6779
6957
  variant: r = "tile"
6780
6958
  } = {}) {
6781
- const a = g(n);
6959
+ const a = v(n);
6782
6960
  return {
6783
6961
  kind: "element",
6784
6962
  tag: "div",
@@ -6792,10 +6970,10 @@ function De({
6792
6970
  children: t ? [{ kind: "raw", html: t }] : []
6793
6971
  };
6794
6972
  }
6795
- function Ji(t = {}) {
6796
- return h(De(t));
6973
+ function gn(t = {}) {
6974
+ return m(Xe(t));
6797
6975
  }
6798
- const tn = {
6976
+ const bn = {
6799
6977
  name: "pattern",
6800
6978
  description: "Use `pattern` to render repeated visual language components behind content.",
6801
6979
  output: { element: "div", class: "set-pattern" },
@@ -6862,22 +7040,22 @@ const tn = {
6862
7040
  ]
6863
7041
  }
6864
7042
  };
6865
- function en(t) {
6866
- return ye({
7043
+ function vn(t) {
7044
+ return He({
6867
7045
  ...t,
6868
7046
  alt: "",
6869
7047
  fit: "cover",
6870
7048
  priority: !0
6871
7049
  });
6872
7050
  }
6873
- function He({
7051
+ function Qe({
6874
7052
  children: t,
6875
7053
  contentTheme: n,
6876
7054
  id: e,
6877
7055
  media: i,
6878
7056
  surface: r
6879
7057
  }) {
6880
- const a = g(e), d = n ? r ?? "default" : r, o = [
7058
+ const a = v(e), o = n ? r ?? "default" : r, d = [
6881
7059
  {
6882
7060
  kind: "element",
6883
7061
  tag: "div",
@@ -6885,7 +7063,7 @@ function He({
6885
7063
  children: [{ kind: "raw", html: i }]
6886
7064
  }
6887
7065
  ];
6888
- return t && o.push({
7066
+ return t && d.push({
6889
7067
  kind: "element",
6890
7068
  tag: "div",
6891
7069
  attrs: { class: "content" },
@@ -6896,16 +7074,16 @@ function He({
6896
7074
  attrs: {
6897
7075
  class: "set-poster",
6898
7076
  "data-set-content-theme": n,
6899
- "data-set-surface": d,
7077
+ "data-set-surface": o,
6900
7078
  id: a
6901
7079
  },
6902
- children: o
7080
+ children: d
6903
7081
  };
6904
7082
  }
6905
- function nn(t) {
6906
- return h(He(t));
7083
+ function fn(t) {
7084
+ return m(Qe(t));
6907
7085
  }
6908
- const rn = {
7086
+ const yn = {
6909
7087
  name: "poster",
6910
7088
  description: "Use `poster` to layer content over background media.",
6911
7089
  output: { element: "div", class: "set-poster" },
@@ -6976,17 +7154,17 @@ const rn = {
6976
7154
  ]
6977
7155
  }
6978
7156
  };
6979
- function Ve({
7157
+ function Ye({
6980
7158
  align: t = "start",
6981
7159
  children: n,
6982
7160
  hangingPunctuation: e,
6983
7161
  id: i,
6984
7162
  linkVisited: r = !0,
6985
7163
  measured: a = !0,
6986
- monospaced: d,
6987
- responsive: o
7164
+ monospaced: o,
7165
+ responsive: d
6988
7166
  }) {
6989
- const s = g(i);
7167
+ const s = v(i);
6990
7168
  return {
6991
7169
  kind: "element",
6992
7170
  tag: "div",
@@ -6996,17 +7174,17 @@ function Ve({
6996
7174
  "data-hanging-punctuation": e,
6997
7175
  "data-link-visited": r ? void 0 : "off",
6998
7176
  "data-measured": a,
6999
- "data-monospaced": d,
7000
- "data-responsive": o,
7177
+ "data-monospaced": o,
7178
+ "data-responsive": d,
7001
7179
  id: s
7002
7180
  },
7003
7181
  children: [{ kind: "raw", html: n }]
7004
7182
  };
7005
7183
  }
7006
- function an(t) {
7007
- return h(Ve(t));
7184
+ function wn(t) {
7185
+ return m(Ye(t));
7008
7186
  }
7009
- const on = {
7187
+ const Sn = {
7010
7188
  name: "prose",
7011
7189
  description: "Use `prose` to style rich-text markup.",
7012
7190
  output: { element: "div", class: "set-prose" },
@@ -7100,47 +7278,47 @@ const on = {
7100
7278
  ]
7101
7279
  }
7102
7280
  };
7103
- function Ne({
7281
+ function Je({
7104
7282
  description: t,
7105
7283
  disabled: n,
7106
7284
  id: e,
7107
7285
  invalid: i,
7108
7286
  radios: r,
7109
7287
  legend: a,
7110
- name: d,
7111
- orientation: o = "vertical",
7288
+ name: o,
7289
+ orientation: d = "vertical",
7112
7290
  required: s,
7113
- size: l = "md",
7114
- value: p
7291
+ size: p = "md",
7292
+ value: l
7115
7293
  }) {
7116
- const c = e.trim(), u = d.trim(), m = p?.trim();
7294
+ const c = e.trim(), h = o.trim(), b = l?.trim();
7117
7295
  if (!c)
7118
7296
  throw new Error("id must be a non-empty string.");
7119
- if (!I(c))
7297
+ if (!V(c))
7120
7298
  throw new Error(
7121
7299
  "id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
7122
7300
  );
7123
- if (!u)
7301
+ if (!h)
7124
7302
  throw new Error("name must be a non-empty string.");
7125
7303
  if (r.length < 2)
7126
7304
  throw new Error("radios must include at least 2 options.");
7127
- const y = r.map((b, x) => {
7128
- const w = b.value.trim(), E = b.label.trim(), T = b.description?.trim();
7129
- if (!w)
7130
- throw new Error(`radios[${x}].value must be non-empty.`);
7131
- if (!E)
7132
- throw new Error(`radios[${x}].label must be non-empty.`);
7305
+ const S = r.map((k, L) => {
7306
+ const x = k.value.trim(), z = k.label.trim(), _ = k.description?.trim();
7307
+ if (!x)
7308
+ throw new Error(`radios[${L}].value must be non-empty.`);
7309
+ if (!z)
7310
+ throw new Error(`radios[${L}].label must be non-empty.`);
7133
7311
  return {
7134
- description: T,
7135
- disabled: !!b.disabled,
7136
- label: E,
7137
- value: w
7312
+ description: _,
7313
+ disabled: !!k.disabled,
7314
+ label: z,
7315
+ value: x
7138
7316
  };
7139
7317
  });
7140
- if (new Set(y.map((b) => b.value)).size !== y.length)
7318
+ if (new Set(S.map((k) => k.value)).size !== S.length)
7141
7319
  throw new Error("radios values must be unique.");
7142
- const v = !!n, C = y.map((b) => {
7143
- const x = !!b.disabled, w = b.description ? `${c}-${b.value}-description` : void 0, E = [
7320
+ const E = !!n, q = S.map((k) => {
7321
+ const L = !!k.disabled, x = k.description ? `${c}-${k.value}-description` : void 0, z = [
7144
7322
  {
7145
7323
  kind: "element",
7146
7324
  tag: "label",
@@ -7150,14 +7328,14 @@ function Ne({
7150
7328
  kind: "element",
7151
7329
  tag: "input",
7152
7330
  attrs: {
7153
- "aria-describedby": w,
7154
- checked: m === b.value,
7331
+ "aria-describedby": x,
7332
+ checked: b === k.value,
7155
7333
  class: "radio",
7156
- disabled: x,
7157
- name: u,
7158
- required: !!s && !v && !x,
7334
+ disabled: L,
7335
+ name: h,
7336
+ required: !!s && !E && !L,
7159
7337
  type: "radio",
7160
- value: b.value
7338
+ value: k.value
7161
7339
  },
7162
7340
  children: []
7163
7341
  },
@@ -7165,45 +7343,45 @@ function Ne({
7165
7343
  kind: "element",
7166
7344
  tag: "span",
7167
7345
  attrs: {},
7168
- children: [{ kind: "text", value: b.label }]
7346
+ children: [{ kind: "text", value: k.label }]
7169
7347
  }
7170
7348
  ]
7171
7349
  }
7172
7350
  ];
7173
- return b.description && E.push({
7351
+ return k.description && z.push({
7174
7352
  kind: "element",
7175
7353
  tag: "p",
7176
- attrs: { class: "radio-description", id: w },
7177
- children: [{ kind: "text", value: b.description }]
7354
+ attrs: { class: "radio-description", id: x },
7355
+ children: [{ kind: "text", value: k.description }]
7178
7356
  }), {
7179
7357
  kind: "element",
7180
7358
  tag: "div",
7181
7359
  attrs: { class: "radio-field" },
7182
- children: E
7360
+ children: z
7183
7361
  };
7184
7362
  });
7185
- return bt({
7186
- children: h({
7363
+ return qt({
7364
+ children: m({
7187
7365
  kind: "element",
7188
7366
  tag: "div",
7189
7367
  attrs: {
7190
7368
  class: "set-radios",
7191
- "data-orientation": o,
7192
- "data-size": l
7369
+ "data-orientation": d,
7370
+ "data-size": p
7193
7371
  },
7194
- children: C
7372
+ children: q
7195
7373
  }),
7196
7374
  description: t,
7197
- disabled: v,
7375
+ disabled: E,
7198
7376
  id: c,
7199
7377
  invalid: i,
7200
7378
  legend: a
7201
7379
  });
7202
7380
  }
7203
- function dn(t) {
7204
- return h(Ne(t));
7381
+ function xn(t) {
7382
+ return m(Je(t));
7205
7383
  }
7206
- const sn = {
7384
+ const En = {
7207
7385
  name: "radios",
7208
7386
  description: "Use `radios` to let users select one option from a short list.",
7209
7387
  output: { element: "fieldset", class: "set-fieldset" },
@@ -7352,17 +7530,17 @@ const sn = {
7352
7530
  ]
7353
7531
  }
7354
7532
  };
7355
- function Oe({
7533
+ function ti({
7356
7534
  appOverscrollBehavior: t,
7357
7535
  appRoot: n,
7358
7536
  brand: e = "mnsp",
7359
7537
  children: i,
7360
7538
  dir: r,
7361
7539
  id: a,
7362
- lang: d,
7363
- theme: o
7540
+ lang: o,
7541
+ theme: d
7364
7542
  }) {
7365
- const s = g(a);
7543
+ const s = v(a);
7366
7544
  return {
7367
7545
  kind: "element",
7368
7546
  tag: "div",
@@ -7371,18 +7549,18 @@ function Oe({
7371
7549
  "data-app-root": n,
7372
7550
  "data-app-overscroll-behavior": t === "none" ? "none" : void 0,
7373
7551
  "data-set-brand": e,
7374
- "data-set-theme": o,
7552
+ "data-set-theme": d,
7375
7553
  id: s,
7376
- lang: d === "" ? void 0 : d,
7554
+ lang: o === "" ? void 0 : o,
7377
7555
  dir: r
7378
7556
  },
7379
7557
  children: i ? [{ kind: "raw", html: i }] : []
7380
7558
  };
7381
7559
  }
7382
- function ln(t) {
7383
- return h(Oe(t));
7560
+ function zn(t) {
7561
+ return m(ti(t));
7384
7562
  }
7385
- const pn = {
7563
+ const Cn = {
7386
7564
  name: "root",
7387
7565
  description: "Mandatory top-level `root` wrapper for the Set system.",
7388
7566
  output: { element: "div", class: "set" },
@@ -7475,13 +7653,13 @@ const pn = {
7475
7653
  ]
7476
7654
  }
7477
7655
  };
7478
- function Pe({
7656
+ function ei({
7479
7657
  id: t,
7480
7658
  label: n,
7481
7659
  size: e = "md",
7482
7660
  tone: i = "default"
7483
7661
  } = {}) {
7484
- const r = g(t), d = [
7662
+ const r = v(t), o = [
7485
7663
  {
7486
7664
  kind: "element",
7487
7665
  tag: "svg",
@@ -7500,12 +7678,12 @@ function Pe({
7500
7678
  [360, 660],
7501
7679
  [360, 360],
7502
7680
  [360, 60]
7503
- ].map(([o, s]) => ({
7681
+ ].map(([d, s]) => ({
7504
7682
  kind: "element",
7505
7683
  tag: "rect",
7506
7684
  attrs: {
7507
7685
  class: "cell",
7508
- x: String(o),
7686
+ x: String(d),
7509
7687
  y: String(s),
7510
7688
  width: "180",
7511
7689
  height: "180"
@@ -7514,7 +7692,7 @@ function Pe({
7514
7692
  }))
7515
7693
  }
7516
7694
  ];
7517
- return n && d.push({
7695
+ return n && o.push({
7518
7696
  kind: "element",
7519
7697
  tag: "span",
7520
7698
  attrs: { class: "visually-hidden" },
@@ -7529,13 +7707,13 @@ function Pe({
7529
7707
  id: r,
7530
7708
  role: n ? "status" : void 0
7531
7709
  },
7532
- children: d
7710
+ children: o
7533
7711
  };
7534
7712
  }
7535
- function cn(t = {}) {
7536
- return h(Pe(t));
7713
+ function Ln(t = {}) {
7714
+ return m(ei(t));
7537
7715
  }
7538
- const un = {
7716
+ const Mn = {
7539
7717
  name: "spinner",
7540
7718
  description: "Use `spinner` to indicate loading or in-progress state.",
7541
7719
  output: { element: "span", class: "set-spinner" },
@@ -7593,7 +7771,7 @@ const un = {
7593
7771
  ]
7594
7772
  }
7595
7773
  };
7596
- function Be({
7774
+ function ii({
7597
7775
  align: t = "stretch",
7598
7776
  as: n = "div",
7599
7777
  children: e,
@@ -7601,7 +7779,7 @@ function Be({
7601
7779
  id: r,
7602
7780
  responsive: a
7603
7781
  }) {
7604
- const d = g(r);
7782
+ const o = v(r);
7605
7783
  return {
7606
7784
  kind: "element",
7607
7785
  tag: n,
@@ -7610,15 +7788,15 @@ function Be({
7610
7788
  "data-align": t === "stretch" ? void 0 : t,
7611
7789
  "data-gap": i,
7612
7790
  "data-responsive": a,
7613
- id: d
7791
+ id: o
7614
7792
  },
7615
7793
  children: e ? [{ kind: "raw", html: e }] : []
7616
7794
  };
7617
7795
  }
7618
- function hn(t) {
7619
- return h(Be(t));
7796
+ function qn(t) {
7797
+ return m(ii(t));
7620
7798
  }
7621
- const mn = {
7799
+ const In = {
7622
7800
  name: "stack",
7623
7801
  description: "Use `stack` to lay out content in a vertical column.",
7624
7802
  output: {
@@ -7689,13 +7867,13 @@ const mn = {
7689
7867
  ]
7690
7868
  }
7691
7869
  };
7692
- function Re({
7870
+ function ni({
7693
7871
  children: t,
7694
7872
  contentTheme: n,
7695
7873
  id: e,
7696
7874
  variant: i = "default"
7697
7875
  }) {
7698
- const r = g(e);
7876
+ const r = v(e);
7699
7877
  return {
7700
7878
  kind: "element",
7701
7879
  tag: "div",
@@ -7708,10 +7886,10 @@ function Re({
7708
7886
  children: [{ kind: "raw", html: t }]
7709
7887
  };
7710
7888
  }
7711
- function kn(t) {
7712
- return h(Re(t));
7889
+ function Tn(t) {
7890
+ return m(ni(t));
7713
7891
  }
7714
- const gn = {
7892
+ const An = {
7715
7893
  name: "surface",
7716
7894
  description: "Use `surface` to set a colour context for nested content.",
7717
7895
  output: { element: "div", class: "set-surface" },
@@ -7763,20 +7941,20 @@ const gn = {
7763
7941
  ]
7764
7942
  }
7765
7943
  };
7766
- function We({
7944
+ function ri({
7767
7945
  checked: t,
7768
7946
  description: n,
7769
7947
  disabled: e,
7770
7948
  id: i,
7771
7949
  label: r,
7772
7950
  name: a,
7773
- size: d = "md",
7774
- value: o
7951
+ size: o = "md",
7952
+ value: d
7775
7953
  }) {
7776
- const s = g(i), l = n?.trim();
7777
- if (l && !s)
7954
+ const s = v(i), p = n?.trim();
7955
+ if (p && !s)
7778
7956
  throw new Error("id must be provided when description is provided.");
7779
- const p = l ? `${s}-description` : void 0, c = [
7957
+ const l = p ? `${s}-description` : void 0, c = [
7780
7958
  {
7781
7959
  kind: "element",
7782
7960
  tag: "label",
@@ -7786,7 +7964,7 @@ function We({
7786
7964
  kind: "element",
7787
7965
  tag: "input",
7788
7966
  attrs: {
7789
- "aria-describedby": p,
7967
+ "aria-describedby": l,
7790
7968
  checked: !!t,
7791
7969
  class: "switch",
7792
7970
  disabled: !!e,
@@ -7794,7 +7972,7 @@ function We({
7794
7972
  name: a || void 0,
7795
7973
  role: "switch",
7796
7974
  type: "checkbox",
7797
- value: o || void 0
7975
+ value: d || void 0
7798
7976
  },
7799
7977
  children: []
7800
7978
  },
@@ -7807,22 +7985,22 @@ function We({
7807
7985
  ]
7808
7986
  }
7809
7987
  ];
7810
- return l && c.push({
7988
+ return p && c.push({
7811
7989
  kind: "element",
7812
7990
  tag: "p",
7813
- attrs: { class: "description", id: p },
7814
- children: [{ kind: "text", value: l }]
7991
+ attrs: { class: "description", id: l },
7992
+ children: [{ kind: "text", value: p }]
7815
7993
  }), {
7816
7994
  kind: "element",
7817
7995
  tag: "div",
7818
- attrs: { class: "set-switch", "data-size": d },
7996
+ attrs: { class: "set-switch", "data-size": o },
7819
7997
  children: c
7820
7998
  };
7821
7999
  }
7822
- function bn(t) {
7823
- return h(We(t));
8000
+ function _n(t) {
8001
+ return m(ri(t));
7824
8002
  }
7825
- const vn = {
8003
+ const Dn = {
7826
8004
  name: "switch",
7827
8005
  description: "Use `switch` to let users instantly toggle a setting on or off.",
7828
8006
  output: { element: "div", class: "set-switch" },
@@ -7930,79 +8108,79 @@ const vn = {
7930
8108
  ]
7931
8109
  }
7932
8110
  };
7933
- function Ue({
8111
+ function ai({
7934
8112
  autocomplete: t,
7935
8113
  description: n,
7936
8114
  disabled: e,
7937
8115
  id: i,
7938
8116
  invalid: r,
7939
8117
  label: a,
7940
- name: d,
7941
- readOnly: o,
8118
+ name: o,
8119
+ readOnly: d,
7942
8120
  required: s,
7943
- resize: l = "vertical",
7944
- rows: p = 2,
8121
+ resize: p = "vertical",
8122
+ rows: l = 2,
7945
8123
  size: c = "md",
7946
- spellcheck: u,
7947
- value: m,
7948
- inlineSize: y = "full"
8124
+ spellcheck: h,
8125
+ value: b,
8126
+ inlineSize: S = "full"
7949
8127
  }) {
7950
- const k = i.trim(), v = n?.trim(), C = t === !1 ? !1 : t?.trim(), S = d?.trim(), b = m;
7951
- if (!k)
8128
+ const f = i.trim(), E = n?.trim(), q = t === !1 ? !1 : t?.trim(), w = o?.trim(), k = b;
8129
+ if (!f)
7952
8130
  throw new Error("id must be a non-empty string.");
7953
- if (!I(k))
8131
+ if (!V(f))
7954
8132
  throw new Error(
7955
8133
  "id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
7956
8134
  );
7957
- if (!Number.isInteger(p) || p < 2)
8135
+ if (!Number.isInteger(l) || l < 2)
7958
8136
  throw new Error("rows must be an integer greater than or equal to 2.");
7959
- const x = v ? `${k}-description` : void 0, w = !!e, E = !w && !!o, H = [
8137
+ const L = E ? `${f}-description` : void 0, x = !!e, z = !x && !!d, D = [
7960
8138
  {
7961
8139
  kind: "element",
7962
8140
  tag: "label",
7963
- attrs: { class: "label", for: k },
8141
+ attrs: { class: "label", for: f },
7964
8142
  children: [{ kind: "text", value: a }]
7965
8143
  },
7966
8144
  {
7967
8145
  kind: "element",
7968
8146
  tag: "textarea",
7969
8147
  attrs: {
7970
- "aria-describedby": x,
7971
- "aria-invalid": !w && !E && !!r ? "true" : void 0,
7972
- autocomplete: C === !1 ? "off" : C || void 0,
8148
+ "aria-describedby": L,
8149
+ "aria-invalid": !x && !z && !!r ? "true" : void 0,
8150
+ autocomplete: q === !1 ? "off" : q || void 0,
7973
8151
  class: "textarea",
7974
- disabled: w,
7975
- id: k,
7976
- name: S || void 0,
7977
- readonly: E,
8152
+ disabled: x,
8153
+ id: f,
8154
+ name: w || void 0,
8155
+ readonly: z,
7978
8156
  required: !!s,
7979
- rows: String(p),
7980
- spellcheck: u === void 0 ? void 0 : String(u)
8157
+ rows: String(l),
8158
+ spellcheck: h === void 0 ? void 0 : String(h)
7981
8159
  },
7982
- children: [{ kind: "text", value: b || "" }]
8160
+ children: [{ kind: "text", value: k || "" }]
7983
8161
  }
7984
8162
  ];
7985
- return v && H.push({
8163
+ return E && D.push({
7986
8164
  kind: "element",
7987
8165
  tag: "p",
7988
- attrs: { class: "description", id: x },
7989
- children: [{ kind: "text", value: v }]
8166
+ attrs: { class: "description", id: L },
8167
+ children: [{ kind: "text", value: E }]
7990
8168
  }), {
7991
8169
  kind: "element",
7992
8170
  tag: "div",
7993
8171
  attrs: {
7994
8172
  class: "set-textarea",
7995
- "data-resize": l === "none" ? "none" : void 0,
8173
+ "data-resize": p === "none" ? "none" : void 0,
7996
8174
  "data-size": c,
7997
- "data-inline-size": y === "fit" ? "fit" : void 0
8175
+ "data-inline-size": S === "fit" ? "fit" : void 0
7998
8176
  },
7999
- children: H
8177
+ children: D
8000
8178
  };
8001
8179
  }
8002
- function fn(t) {
8003
- return h(Ue(t));
8180
+ function Vn(t) {
8181
+ return m(ai(t));
8004
8182
  }
8005
- const yn = {
8183
+ const Hn = {
8006
8184
  name: "textarea",
8007
8185
  description: "Use `textarea` to collect multiple lines of text from users.",
8008
8186
  output: { element: "div", class: "set-textarea" },
@@ -8191,166 +8369,166 @@ const yn = {
8191
8369
  ]
8192
8370
  }
8193
8371
  };
8194
- function wn() {
8195
- Mt(), At(), Vt(), Ot(), Wt(), $t(), jt(), Qt();
8372
+ function Nn() {
8373
+ $t(), jt(), Yt(), te(), re(), oe(), pe(), he();
8196
8374
  }
8197
8375
  export {
8198
- pt as SET_ALERT_EVENT_BEFORE_DISMISS,
8199
- ct as SET_ALERT_EVENT_DISMISS,
8200
- je as SET_ALERT_SPEC,
8201
- R as SET_ALERT_TAG_NAME,
8202
- hi as SET_AVATAR_SPEC,
8203
- ki as SET_BADGE_SPEC,
8204
- ht as SET_BANNER_EVENT_BEFORE_DISMISS,
8205
- mt as SET_BANNER_EVENT_DISMISS,
8206
- Ye as SET_BANNER_SPEC,
8207
- W as SET_BANNER_TAG_NAME,
8208
- fi as SET_BLOCKQUOTE_SPEC,
8209
- wi as SET_BOX_SPEC,
8210
- Ze as SET_BUTTON_SPEC,
8211
- xi as SET_CARD_SPEC,
8212
- zi as SET_CHECKBOX_SPEC,
8213
- Li as SET_CONTAINER_SPEC,
8214
- qi as SET_DETAILS_SPEC,
8215
- Ti as SET_DIVIDER_SPEC,
8216
- ni as SET_EXPANDER_SPEC,
8217
- _i as SET_FIELDSET_SPEC,
8218
- Hi as SET_FIGURE_SPEC,
8219
- Pi as SET_GRID_ITEM_SPEC,
8220
- Oi as SET_GRID_SPEC,
8221
- Ri as SET_HEADING_SPEC,
8222
- $e as SET_ICON_NAMES,
8223
- Ge as SET_ICON_SPEC,
8224
- Wi as SET_IMAGE_SPEC,
8225
- $i as SET_INLINE_SPEC,
8226
- Zi as SET_INPUT_SPEC,
8227
- kt as SET_LIGHTSWITCH_EVENT_CHANGE,
8228
- ti as SET_LIGHTSWITCH_SPEC,
8229
- Q as SET_LIGHTSWITCH_STORAGE_KEY,
8230
- $ as SET_LIGHTSWITCH_TAG_NAME,
8231
- Xe as SET_LINK_SPEC,
8232
- ji as SET_LOGO_SPEC,
8233
- gt as SET_MENU_EVENT_CHOOSE,
8234
- ii as SET_MENU_SPEC,
8235
- G as SET_MENU_TAG_NAME,
8236
- ai as SET_NAV_SPEC,
8237
- Z as SET_NAV_TAG_NAME,
8238
- Xi as SET_PAGE_SPEC,
8239
- Yi as SET_PANEL_SPEC,
8240
- tn as SET_PATTERN_SPEC,
8241
- rn as SET_POSTER_SPEC,
8242
- on as SET_PROSE_SPEC,
8243
- sn as SET_RADIOS_SPEC,
8244
- di as SET_RANGE_SPEC,
8245
- F as SET_RANGE_TAG_NAME,
8246
- pn as SET_ROOT_SPEC,
8247
- li as SET_SIDEBAR_SPEC,
8248
- j as SET_SIDEBAR_TAG_NAME,
8249
- un as SET_SPINNER_SPEC,
8250
- mn as SET_STACK_SPEC,
8251
- gn as SET_SURFACE_SPEC,
8252
- vn as SET_SWITCH_SPEC,
8253
- yn as SET_TEXTAREA_SPEC,
8254
- bi as SET_TEXT_SPEC,
8255
- ci as SET_VIDEO_SPEC,
8256
- K as SET_VIDEO_TAG_NAME,
8257
- Lt as buildSetAlert,
8258
- oe as buildSetAvatar,
8259
- de as buildSetBadge,
8260
- Tt as buildSetBanner,
8261
- se as buildSetBlockquote,
8262
- le as buildSetBox,
8263
- it as buildSetButton,
8264
- pe as buildSetCard,
8265
- ce as buildSetCheckbox,
8266
- ue as buildSetContainer,
8267
- he as buildSetDetails,
8268
- me as buildSetDivider,
8269
- Pt as buildSetExpander,
8270
- bt as buildSetFieldset,
8271
- ke as buildSetFigure,
8272
- ge as buildSetGrid,
8273
- be as buildSetGridItem,
8274
- ve as buildSetHeading,
8275
- O as buildSetIcon,
8276
- fe as buildSetImage,
8277
- we as buildSetInline,
8278
- Se as buildSetInput,
8279
- Ht as buildSetLightswitch,
8280
- ut as buildSetLink,
8281
- Te as buildSetLogo,
8282
- Nt as buildSetMenu,
8283
- Rt as buildSetNav,
8284
- Ae as buildSetPage,
8285
- _e as buildSetPanel,
8286
- De as buildSetPattern,
8287
- He as buildSetPoster,
8288
- Ve as buildSetProse,
8289
- Ne as buildSetRadios,
8290
- Ut as buildSetRange,
8291
- Oe as buildSetRoot,
8292
- Ft as buildSetSidebar,
8293
- Pe as buildSetSpinner,
8294
- Be as buildSetStack,
8295
- Re as buildSetSurface,
8296
- We as buildSetSwitch,
8297
- X as buildSetText,
8298
- Ue as buildSetTextarea,
8299
- Kt as buildSetVideo,
8300
- Mt as defineSetAlert,
8301
- At as defineSetBanner,
8302
- wn as defineSetComponents,
8303
- Vt as defineSetLightswitch,
8304
- Ot as defineSetMenu,
8305
- Wt as defineSetNav,
8306
- $t as defineSetRange,
8307
- jt as defineSetSidebar,
8308
- Qt as defineSetVideo,
8309
- te as getSetInitials,
8310
- Fe as renderSetAlert,
8311
- ui as renderSetAvatar,
8312
- mi as renderSetBadge,
8313
- Qe as renderSetBanner,
8314
- vi as renderSetBlockquote,
8315
- yi as renderSetBox,
8316
- nt as renderSetButton,
8317
- Si as renderSetCard,
8318
- Ei as renderSetCheckbox,
8319
- Ci as renderSetContainer,
8320
- Mi as renderSetDetails,
8321
- Ii as renderSetDivider,
8322
- Bt as renderSetExpander,
8323
- Ai as renderSetFieldset,
8324
- Di as renderSetFigure,
8325
- Vi as renderSetGrid,
8326
- Ni as renderSetGridItem,
8327
- Bi as renderSetHeading,
8328
- xt as renderSetIcon,
8329
- ye as renderSetImage,
8330
- Ui as renderSetInline,
8331
- Gi as renderSetInput,
8332
- Je as renderSetLightswitch,
8333
- Ke as renderSetLink,
8334
- Fi as renderSetLogo,
8335
- ei as renderSetMenu,
8336
- ri as renderSetNav,
8337
- Ki as renderSetPage,
8338
- Qi as renderSetPanel,
8339
- Ji as renderSetPattern,
8340
- nn as renderSetPoster,
8341
- en as renderSetPosterImage,
8342
- an as renderSetProse,
8343
- dn as renderSetRadios,
8344
- oi as renderSetRange,
8345
- ln as renderSetRoot,
8346
- si as renderSetSidebar,
8347
- cn as renderSetSpinner,
8348
- hn as renderSetStack,
8349
- kn as renderSetSurface,
8350
- bn as renderSetSwitch,
8351
- gi as renderSetText,
8352
- fn as renderSetTextarea,
8353
- pi as renderSetVideo,
8354
- h as serializeSetNode
8376
+ St as SET_ALERT_EVENT_BEFORE_DISMISS,
8377
+ xt as SET_ALERT_EVENT_DISMISS,
8378
+ pi as SET_ALERT_SPEC,
8379
+ Z as SET_ALERT_TAG_NAME,
8380
+ qi as SET_AVATAR_SPEC,
8381
+ Ti as SET_BADGE_SPEC,
8382
+ zt as SET_BANNER_EVENT_BEFORE_DISMISS,
8383
+ Ct as SET_BANNER_EVENT_DISMISS,
8384
+ mi as SET_BANNER_SPEC,
8385
+ F as SET_BANNER_TAG_NAME,
8386
+ Vi as SET_BLOCKQUOTE_SPEC,
8387
+ Ni as SET_BOX_SPEC,
8388
+ si as SET_BUTTON_SPEC,
8389
+ Oi as SET_CARD_SPEC,
8390
+ Ri as SET_CHECKBOX_SPEC,
8391
+ Ui as SET_CONTAINER_SPEC,
8392
+ Gi as SET_DETAILS_SPEC,
8393
+ Fi as SET_DIVIDER_SPEC,
8394
+ fi as SET_EXPANDER_SPEC,
8395
+ Ki as SET_FIELDSET_SPEC,
8396
+ Qi as SET_FIGURE_SPEC,
8397
+ en as SET_GRID_ITEM_SPEC,
8398
+ tn as SET_GRID_SPEC,
8399
+ rn as SET_HEADING_SPEC,
8400
+ oi as SET_ICON_NAMES,
8401
+ di as SET_ICON_SPEC,
8402
+ an as SET_IMAGE_SPEC,
8403
+ dn as SET_INLINE_SPEC,
8404
+ ln as SET_INPUT_SPEC,
8405
+ Lt as SET_LIGHTSWITCH_EVENT_CHANGE,
8406
+ gi as SET_LIGHTSWITCH_SPEC,
8407
+ dt as SET_LIGHTSWITCH_STORAGE_KEY,
8408
+ K as SET_LIGHTSWITCH_TAG_NAME,
8409
+ ui as SET_LINK_SPEC,
8410
+ cn as SET_LOGO_SPEC,
8411
+ Mt as SET_MENU_EVENT_CHOOSE,
8412
+ vi as SET_MENU_SPEC,
8413
+ X as SET_MENU_TAG_NAME,
8414
+ wi as SET_NAV_SPEC,
8415
+ Q as SET_NAV_TAG_NAME,
8416
+ hn as SET_PAGE_SPEC,
8417
+ kn as SET_PANEL_SPEC,
8418
+ bn as SET_PATTERN_SPEC,
8419
+ yn as SET_POSTER_SPEC,
8420
+ Sn as SET_PROSE_SPEC,
8421
+ En as SET_RADIOS_SPEC,
8422
+ xi as SET_RANGE_SPEC,
8423
+ Y as SET_RANGE_TAG_NAME,
8424
+ Cn as SET_ROOT_SPEC,
8425
+ zi as SET_SIDEBAR_SPEC,
8426
+ J as SET_SIDEBAR_TAG_NAME,
8427
+ Mn as SET_SPINNER_SPEC,
8428
+ In as SET_STACK_SPEC,
8429
+ An as SET_SURFACE_SPEC,
8430
+ Dn as SET_SWITCH_SPEC,
8431
+ Hn as SET_TEXTAREA_SPEC,
8432
+ _i as SET_TEXT_SPEC,
8433
+ Li as SET_VIDEO_SPEC,
8434
+ tt as SET_VIDEO_TAG_NAME,
8435
+ Ut as buildSetAlert,
8436
+ Se as buildSetAvatar,
8437
+ xe as buildSetBadge,
8438
+ Ft as buildSetBanner,
8439
+ Ee as buildSetBlockquote,
8440
+ ze as buildSetBox,
8441
+ ut as buildSetButton,
8442
+ Ce as buildSetCard,
8443
+ Le as buildSetCheckbox,
8444
+ Me as buildSetContainer,
8445
+ qe as buildSetDetails,
8446
+ Ie as buildSetDivider,
8447
+ ee as buildSetExpander,
8448
+ qt as buildSetFieldset,
8449
+ Te as buildSetFigure,
8450
+ Ae as buildSetGrid,
8451
+ _e as buildSetGridItem,
8452
+ De as buildSetHeading,
8453
+ P as buildSetIcon,
8454
+ Ve as buildSetImage,
8455
+ Ne as buildSetInline,
8456
+ Be as buildSetInput,
8457
+ Qt as buildSetLightswitch,
8458
+ Et as buildSetLink,
8459
+ Fe as buildSetLogo,
8460
+ Jt as buildSetMenu,
8461
+ ne as buildSetNav,
8462
+ je as buildSetPage,
8463
+ Ke as buildSetPanel,
8464
+ Xe as buildSetPattern,
8465
+ Qe as buildSetPoster,
8466
+ Ye as buildSetProse,
8467
+ Je as buildSetRadios,
8468
+ ae as buildSetRange,
8469
+ ti as buildSetRoot,
8470
+ le as buildSetSidebar,
8471
+ ei as buildSetSpinner,
8472
+ ii as buildSetStack,
8473
+ ni as buildSetSurface,
8474
+ ri as buildSetSwitch,
8475
+ et as buildSetText,
8476
+ ai as buildSetTextarea,
8477
+ ce as buildSetVideo,
8478
+ $t as defineSetAlert,
8479
+ jt as defineSetBanner,
8480
+ Nn as defineSetComponents,
8481
+ Yt as defineSetLightswitch,
8482
+ te as defineSetMenu,
8483
+ re as defineSetNav,
8484
+ oe as defineSetRange,
8485
+ pe as defineSetSidebar,
8486
+ he as defineSetVideo,
8487
+ ge as getSetInitials,
8488
+ li as renderSetAlert,
8489
+ Mi as renderSetAvatar,
8490
+ Ii as renderSetBadge,
8491
+ hi as renderSetBanner,
8492
+ Di as renderSetBlockquote,
8493
+ Hi as renderSetBox,
8494
+ ht as renderSetButton,
8495
+ Bi as renderSetCard,
8496
+ Pi as renderSetCheckbox,
8497
+ Wi as renderSetContainer,
8498
+ $i as renderSetDetails,
8499
+ Zi as renderSetDivider,
8500
+ ie as renderSetExpander,
8501
+ ji as renderSetFieldset,
8502
+ Xi as renderSetFigure,
8503
+ Yi as renderSetGrid,
8504
+ Ji as renderSetGridItem,
8505
+ nn as renderSetHeading,
8506
+ Ot as renderSetIcon,
8507
+ He as renderSetImage,
8508
+ on as renderSetInline,
8509
+ sn as renderSetInput,
8510
+ ki as renderSetLightswitch,
8511
+ ci as renderSetLink,
8512
+ pn as renderSetLogo,
8513
+ bi as renderSetMenu,
8514
+ yi as renderSetNav,
8515
+ un as renderSetPage,
8516
+ mn as renderSetPanel,
8517
+ gn as renderSetPattern,
8518
+ fn as renderSetPoster,
8519
+ vn as renderSetPosterImage,
8520
+ wn as renderSetProse,
8521
+ xn as renderSetRadios,
8522
+ Si as renderSetRange,
8523
+ zn as renderSetRoot,
8524
+ Ei as renderSetSidebar,
8525
+ Ln as renderSetSpinner,
8526
+ qn as renderSetStack,
8527
+ Tn as renderSetSurface,
8528
+ _n as renderSetSwitch,
8529
+ Ai as renderSetText,
8530
+ Vn as renderSetTextarea,
8531
+ Ci as renderSetVideo,
8532
+ m as serializeSetNode
8355
8533
  };
8356
8534
  //# sourceMappingURL=index.js.map