@monospaced/set-core 0.12.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,26 +792,26 @@ function O({
792
792
  size: r = "md",
793
793
  title: a
794
794
  }) {
795
- const o = st[i];
795
+ const o = yt[i];
796
796
  if (!o)
797
797
  throw new Error(`Unknown icon name: ${i}`);
798
- const d = g(n), s = a?.trim();
798
+ const d = v(n), s = a?.trim();
799
799
  if (!t && !s)
800
800
  throw new Error("title must be non-empty when ariaHidden is false.");
801
801
  if (!t && !d)
802
802
  throw new Error("id must be provided when ariaHidden is false.");
803
- const l = t ? void 0 : `${d}-title`, p = [];
804
- return t || p.push({
803
+ const p = t ? void 0 : `${d}-title`, l = [];
804
+ return t || l.push({
805
805
  kind: "element",
806
806
  tag: "title",
807
- attrs: { id: l },
807
+ attrs: { id: p },
808
808
  children: [{ kind: "text", value: s }]
809
- }), p.push(...lt(o)), {
809
+ }), l.push(...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,
@@ -824,13 +824,13 @@ function O({
824
824
  viewBox: "0 0 24 24",
825
825
  xmlns: "http://www.w3.org/2000/svg"
826
826
  },
827
- children: p
827
+ children: l
828
828
  };
829
829
  }
830
- function xt(t) {
831
- return h(O(t));
830
+ function 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,7 +944,7 @@ 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,
@@ -954,34 +954,34 @@ function it(t) {
954
954
  haspopup: o,
955
955
  id: d,
956
956
  icon: s,
957
- iconMirrored: l,
958
- iconPlacement: p = "start",
957
+ iconMirrored: p,
958
+ iconPlacement: l = "start",
959
959
  label: c,
960
- labelVisibility: u = "visible",
961
- name: m,
962
- size: y = "md",
963
- tone: k = "default",
964
- type: v,
965
- value: C
966
- } = t, S = s || void 0, b = !!S;
967
- if (u !== "visible" && !b)
960
+ labelVisibility: h = "visible",
961
+ name: b,
962
+ size: S = "md",
963
+ tone: f = "default",
964
+ type: E,
965
+ value: q
966
+ } = t, w = s || void 0, k = !!w;
967
+ if (h !== "visible" && !k)
968
968
  throw new Error("labelVisibility requires icon when label is not visible.");
969
- const x = b && S ? {
969
+ const 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" },
@@ -996,23 +996,23 @@ function it(t) {
996
996
  "aria-haspopup": o || void 0,
997
997
  class: "set-button",
998
998
  "data-appearance": n,
999
- "data-label-visibility": u === "visible" ? void 0 : u,
1000
- "data-size": y,
1001
- "data-tone": k === "neutral" ? "neutral" : void 0,
999
+ "data-label-visibility": h === "visible" ? void 0 : h,
1000
+ "data-size": S,
1001
+ "data-tone": f === "neutral" ? "neutral" : void 0,
1002
1002
  disabled: !!i,
1003
1003
  form: a || void 0,
1004
1004
  id: d || void 0,
1005
- name: m || void 0,
1006
- type: v || "button",
1007
- value: C || void 0
1005
+ name: b || void 0,
1006
+ type: E || "button",
1007
+ value: q || void 0
1008
1008
  },
1009
- children: x ? p === "end" ? [w, x] : [x, w] : [w]
1009
+ children: 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,12 +1221,12 @@ 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,
@@ -1234,29 +1234,29 @@ function Lt({
1234
1234
  tone: o,
1235
1235
  title: d
1236
1236
  }) {
1237
- const s = g(e), l = n.trim() === "" ? P : n, p = [];
1238
- return d && p.push({
1237
+ const s = v(e), p = n.trim() === "" ? W : n, l = [];
1238
+ return d && l.push({
1239
1239
  kind: "element",
1240
1240
  tag: "p",
1241
1241
  attrs: { class: "title" },
1242
1242
  children: [{ kind: "text", value: d }]
1243
- }), p.push({
1243
+ }), l.push({
1244
1244
  kind: "element",
1245
1245
  tag: "p",
1246
1246
  attrs: { class: "message" },
1247
1247
  children: [{ kind: "text", value: r }]
1248
1248
  }), {
1249
1249
  kind: "element",
1250
- tag: R,
1250
+ tag: Z,
1251
1251
  attrs: {
1252
1252
  class: "set-alert",
1253
1253
  "data-dismissible": t,
1254
- "data-dismissible-label": t ? l : void 0,
1254
+ "data-dismissible-label": t ? p : void 0,
1255
1255
  "data-inline-size": i === "fit" ? "fit" : void 0,
1256
1256
  "data-size": a,
1257
1257
  "data-tone": o || void 0,
1258
1258
  id: s,
1259
- role: Ct(o)
1259
+ role: 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(o),
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,11 +1468,11 @@ 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,
@@ -1482,21 +1482,21 @@ function ut(t) {
1482
1482
  icon: o,
1483
1483
  iconPlacement: d = "start",
1484
1484
  label: s,
1485
- labelVisibility: l = "visible",
1486
- rel: p,
1485
+ labelVisibility: p = "visible",
1486
+ rel: l,
1487
1487
  size: c = "md",
1488
- target: u,
1489
- tone: m = "default",
1490
- underline: y
1491
- } = t, k = g(a), v = o?.trim() || void 0;
1492
- if (l !== "visible" && !!!v)
1488
+ target: h,
1489
+ tone: b = "default",
1490
+ underline: S
1491
+ } = t, f = v(a), E = o?.trim() || void 0;
1492
+ if (p !== "visible" && !!!E)
1493
1493
  throw new Error("labelVisibility requires icon when label is not visible.");
1494
- const S = qt(i), b = v ? {
1494
+ const w = 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 ? d === "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,27 +1724,27 @@ 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
1734
  tone: o
1735
1735
  }) {
1736
1736
  if (!!t != !!n)
1737
1737
  throw new Error("actionHref and actionLabel must be provided together.");
1738
- const d = g(r), s = i.trim() === "" ? U : i, l = [{ kind: "text", value: a }];
1739
- return t && n && (l.push({ kind: "text", value: " " }), l.push(
1740
- ut({
1738
+ const d = v(r), s = i.trim() === "" ? j : i, p = [{ kind: "text", value: a }];
1739
+ return t && n && (p.push({ kind: "text", value: " " }), p.push(
1740
+ 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",
@@ -1759,29 +1759,29 @@ function Tt({
1759
1759
  kind: "element",
1760
1760
  tag: "p",
1761
1761
  attrs: { class: "message" },
1762
- children: l
1762
+ children: p
1763
1763
  }
1764
1764
  ]
1765
1765
  };
1766
1766
  }
1767
- function Qe(t) {
1768
- return h(Tt(t));
1767
+ function 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), o = e.trim() === "" ? Y : e, d = 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", o),
1955
- rt("light", d)
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,8 +2102,8 @@ 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,
@@ -2114,35 +2114,35 @@ function Nt({
2114
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,7 +2150,7 @@ 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,
@@ -2158,7 +2158,7 @@ function Nt({
2158
2158
  icon: r,
2159
2159
  iconMirrored: a,
2160
2160
  iconPlacement: o,
2161
- id: p,
2161
+ id: l,
2162
2162
  label: d,
2163
2163
  labelVisibility: s,
2164
2164
  size: i,
@@ -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,
@@ -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), o = 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",
@@ -2481,10 +2481,10 @@ function Pt({
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,8 +2549,8 @@ 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,
@@ -2560,16 +2560,16 @@ function Rt({
2560
2560
  label: o,
2561
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,21 +2578,21 @@ 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
2597
  "data-size": d,
2598
2598
  id: s
@@ -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,8 +2824,8 @@ 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,
@@ -2835,17 +2835,17 @@ function Ut({
2835
2835
  min: o,
2836
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 = d?.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
2877
  min: o != null ? String(o) : void 0,
2878
- name: m || void 0,
2879
- step: l != null ? String(l) : 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) => {
@@ -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
3114
  id: o,
3115
3115
  surface: d,
3116
- triggerLabel: s = et
3116
+ triggerLabel: s = ct
3117
3117
  }) {
3118
- const l = o.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",
@@ -3179,10 +3179,10 @@ function Ft({
3179
3179
  attrs: {
3180
3180
  class: "sidebar",
3181
3181
  "data-set-surface": d,
3182
- id: m,
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,8 +3472,8 @@ 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",
@@ -3483,14 +3483,14 @@ function Kt({
3483
3483
  muted: o,
3484
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: {
@@ -3501,30 +3501,30 @@ function Kt({
3501
3501
  loop: !!a,
3502
3502
  muted: !!o,
3503
3503
  playsinline: !!d,
3504
- poster: y || void 0,
3505
- preload: l,
3506
- src: m,
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 d = D(a);
3699
+ const d = H(a);
3700
3700
  return d ? `${r[0]}${d}` : void 0;
3701
3701
  }
3702
3702
  if (e.length === 2) {
3703
- const d = D(e[1]);
3703
+ const d = H(e[1]);
3704
3704
  if (!d) return;
3705
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 d = D(e[1]), s = D(e[2]);
3714
+ const d = H(e[1]), s = H(e[2]);
3715
3715
  return !d || !s ? void 0 : (r.push(d, s), r.slice(0, 3).join(""));
3716
3716
  }
3717
- const o = D(e.at(-1) || "");
3717
+ const o = H(e.at(-1) || "");
3718
3718
  if (o)
3719
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,26 +3751,26 @@ 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,
@@ -3781,60 +3781,60 @@ function oe({
3781
3781
  size: d = "md",
3782
3782
  src: s
3783
3783
  }) {
3784
- const l = g(r), p = ne(a), c = N(o), 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
3797
  "data-size": d,
3798
- id: l,
3799
- role: !n && !k ? "img" : void 0
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,7 +4034,7 @@ 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,
@@ -4044,30 +4044,30 @@ function X({
4044
4044
  monospaced: o,
4045
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,
4057
+ "data-measured": h ? a ?? !0 : void 0,
4058
4058
  "data-monospaced": o,
4059
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,7 +4191,7 @@ 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,
@@ -4200,7 +4200,7 @@ function se({
4200
4200
  responsive: a = !1,
4201
4201
  size: o = "md"
4202
4202
  }) {
4203
- const d = g(e);
4203
+ const d = v(e);
4204
4204
  return {
4205
4205
  kind: "element",
4206
4206
  tag: "figure",
@@ -4215,7 +4215,7 @@ 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,
@@ -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,7 +4313,7 @@ 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,
@@ -4324,7 +4324,7 @@ function le({
4324
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",
@@ -4337,15 +4337,15 @@ function le({
4337
4337
  "data-padding-inline": a,
4338
4338
  "data-radius": o,
4339
4339
  "data-responsive": d,
4340
- id: l
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,7 +4458,7 @@ 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,
@@ -4467,20 +4467,20 @@ function pe({
4467
4467
  surface: a,
4468
4468
  title: o
4469
4469
  }) {
4470
- const d = 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
4475
  children: [{ kind: "text", value: o }]
4476
4476
  }
4477
- ] : [{ kind: "text", value: o }], 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,7 +4512,7 @@ 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",
@@ -4524,10 +4524,10 @@ function pe({
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,7 +4595,7 @@ 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,
@@ -4605,12 +4605,12 @@ function ce({
4605
4605
  name: o,
4606
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,
4627
+ disabled: b,
4628
+ id: l,
4629
4629
  name: o || void 0,
4630
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,7 +5064,7 @@ 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,
@@ -5076,11 +5076,11 @@ function bt({
5076
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 = d ? `${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 d && u.push({
5091
+ return d && h.push({
5092
5092
  kind: "element",
5093
5093
  tag: "p",
5094
- attrs: { class: "description", id: l },
5094
+ attrs: { class: "description", id: p },
5095
5095
  children: [{ kind: "text", value: d }]
5096
- }), t && u.push({ kind: "raw", html: t }), {
5096
+ }), t && h.push({ kind: "raw", html: t }), {
5097
5097
  kind: "element",
5098
5098
  tag: "fieldset",
5099
5099
  attrs: {
5100
- "aria-describedby": d ? l : void 0,
5100
+ "aria-describedby": d ? p : void 0,
5101
5101
  "aria-invalid": c ? "true" : void 0,
5102
5102
  class: "set-fieldset",
5103
5103
  "data-inline-size": o === "fit" ? "fit" : void 0,
5104
- disabled: p,
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,7 +5198,7 @@ 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,
@@ -5206,7 +5206,7 @@ function ke({
5206
5206
  inlineSize: r = "full",
5207
5207
  responsive: a = !1
5208
5208
  }) {
5209
- const o = g(i);
5209
+ const o = v(i);
5210
5210
  return {
5211
5211
  kind: "element",
5212
5212
  tag: "figure",
@@ -5223,7 +5223,7 @@ function ke({
5223
5223
  tag: "figcaption",
5224
5224
  attrs: { class: "figcaption" },
5225
5225
  children: [
5226
- X({
5226
+ et({
5227
5227
  as: "span",
5228
5228
  children: n,
5229
5229
  responsive: a,
@@ -5234,10 +5234,10 @@ function ke({
5234
5234
  ]
5235
5235
  };
5236
5236
  }
5237
- function Di(t) {
5238
- return h(ke(t));
5237
+ function Xi(t) {
5238
+ return m(Te(t));
5239
5239
  }
5240
- const Hi = {
5240
+ const Qi = {
5241
5241
  name: "figure",
5242
5242
  description: "Use `figure` to present media with a caption.",
5243
5243
  output: { element: "figure", class: "set-figure" },
@@ -5306,16 +5306,16 @@ const Hi = {
5306
5306
  }
5307
5307
  ]
5308
5308
  }
5309
- }, L = (t) => {
5309
+ }, T = (t) => {
5310
5310
  if (t !== void 0)
5311
5311
  return String(t);
5312
5312
  };
5313
- function ge({
5313
+ function Ae({
5314
5314
  children: t,
5315
5315
  gap: n = "default",
5316
5316
  id: e
5317
5317
  }) {
5318
- const i = g(e);
5318
+ const i = v(e);
5319
5319
  return {
5320
5320
  kind: "element",
5321
5321
  tag: "div",
@@ -5334,10 +5334,10 @@ function ge({
5334
5334
  ]
5335
5335
  };
5336
5336
  }
5337
- function Vi(t) {
5338
- return h(ge(t));
5337
+ function Yi(t) {
5338
+ return m(Ae(t));
5339
5339
  }
5340
- function be({
5340
+ function _e({
5341
5341
  align: t,
5342
5342
  children: n,
5343
5343
  colSpan: e,
@@ -5347,43 +5347,43 @@ function be({
5347
5347
  colStartNarrow: o,
5348
5348
  colStartWide: d,
5349
5349
  id: s,
5350
- justify: l,
5351
- rowSpan: p,
5350
+ justify: p,
5351
+ rowSpan: l,
5352
5352
  rowSpanNarrow: c,
5353
- rowSpanWide: u,
5354
- rowStart: m,
5355
- rowStartNarrow: y,
5356
- rowStartWide: k
5353
+ rowSpanWide: h,
5354
+ rowStart: b,
5355
+ rowStartNarrow: S,
5356
+ rowStartWide: f
5357
5357
  }) {
5358
- const v = g(s);
5358
+ const E = v(s);
5359
5359
  return {
5360
5360
  kind: "element",
5361
5361
  tag: "div",
5362
5362
  attrs: {
5363
5363
  class: "set-grid-item",
5364
5364
  "data-align": t,
5365
- "data-justify": l,
5366
- "data-col-span-narrow": L(i),
5367
- "data-col-start-narrow": L(o),
5368
- "data-col-span": L(e),
5369
- "data-col-start": L(a),
5370
- "data-col-span-wide": L(r),
5371
- "data-col-start-wide": L(d),
5372
- "data-row-span-narrow": L(c),
5373
- "data-row-start-narrow": L(y),
5374
- "data-row-span": L(p),
5375
- "data-row-start": L(m),
5376
- "data-row-span-wide": L(u),
5377
- "data-row-start-wide": L(k),
5378
- id: v
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
5379
5379
  },
5380
5380
  children: n ? [{ kind: "raw", html: n }] : []
5381
5381
  };
5382
5382
  }
5383
- function Ni(t) {
5384
- return h(be(t));
5383
+ function Ji(t) {
5384
+ return m(_e(t));
5385
5385
  }
5386
- const Oi = {
5386
+ const tn = {
5387
5387
  name: "grid",
5388
5388
  description: "Use `grid` to lay out content in a 12-column responsive grid.",
5389
5389
  output: { element: "div", class: "set-grid" },
@@ -5424,12 +5424,12 @@ const Oi = {
5424
5424
  }
5425
5425
  ]
5426
5426
  }
5427
- }, M = {
5427
+ }, A = {
5428
5428
  kind: "number",
5429
5429
  min: 1,
5430
5430
  max: 12,
5431
5431
  integer: !0
5432
- }, Pi = {
5432
+ }, en = {
5433
5433
  name: "grid-item",
5434
5434
  description: "Use `grid-item` to place content within a `grid` layout.",
5435
5435
  output: { element: "div", class: "set-grid-item" },
@@ -5449,11 +5449,11 @@ const Oi = {
5449
5449
  },
5450
5450
  colSpan: {
5451
5451
  description: "Columns spanned at the default breakpoint.",
5452
- type: M
5452
+ type: A
5453
5453
  },
5454
5454
  colStart: {
5455
5455
  description: "Starting column at the default breakpoint.",
5456
- type: M
5456
+ type: A
5457
5457
  },
5458
5458
  id: {
5459
5459
  description: "DOM id.",
@@ -5461,43 +5461,43 @@ const Oi = {
5461
5461
  },
5462
5462
  rowSpan: {
5463
5463
  description: "Rows spanned at the default breakpoint.",
5464
- type: M
5464
+ type: A
5465
5465
  },
5466
5466
  rowSpanNarrow: {
5467
5467
  description: "Rows spanned at the narrow breakpoint.",
5468
- type: M
5468
+ type: A
5469
5469
  },
5470
5470
  rowSpanWide: {
5471
5471
  description: "Rows spanned at the wide breakpoint. Effect is only visible above the wide breakpoint.",
5472
- type: M
5472
+ type: A
5473
5473
  },
5474
5474
  rowStart: {
5475
5475
  description: "Starting row at the default breakpoint.",
5476
- type: M
5476
+ type: A
5477
5477
  },
5478
5478
  rowStartNarrow: {
5479
5479
  description: "Starting row at the narrow breakpoint.",
5480
- type: M
5480
+ type: A
5481
5481
  },
5482
5482
  rowStartWide: {
5483
5483
  description: "Starting row at the wide breakpoint. Effect is only visible above the wide breakpoint.",
5484
- type: M
5484
+ type: A
5485
5485
  },
5486
5486
  colSpanNarrow: {
5487
5487
  description: "Columns spanned at the narrow breakpoint.",
5488
- type: M
5488
+ type: A
5489
5489
  },
5490
5490
  colStartNarrow: {
5491
5491
  description: "Starting column at the narrow breakpoint.",
5492
- type: M
5492
+ type: A
5493
5493
  },
5494
5494
  colSpanWide: {
5495
5495
  description: "Columns spanned at the wide breakpoint. Effect is only visible above the wide breakpoint.",
5496
- type: M
5496
+ type: A
5497
5497
  },
5498
5498
  colStartWide: {
5499
5499
  description: "Starting column at the wide breakpoint. Effect is only visible above the wide breakpoint.",
5500
- type: M
5500
+ type: A
5501
5501
  }
5502
5502
  },
5503
5503
  events: {},
@@ -5596,7 +5596,7 @@ const Oi = {
5596
5596
  ]
5597
5597
  }
5598
5598
  };
5599
- function ve({
5599
+ function De({
5600
5600
  align: t = "start",
5601
5601
  id: n,
5602
5602
  level: e,
@@ -5605,7 +5605,7 @@ function ve({
5605
5605
  size: a = "md",
5606
5606
  text: o
5607
5607
  }) {
5608
- const d = g(n);
5608
+ const d = v(n);
5609
5609
  return {
5610
5610
  kind: "element",
5611
5611
  tag: e ? `h${e}` : "span",
@@ -5620,10 +5620,10 @@ function ve({
5620
5620
  children: [{ kind: "text", value: o }]
5621
5621
  };
5622
5622
  }
5623
- function Bi(t) {
5624
- return h(ve(t));
5623
+ function nn(t) {
5624
+ return m(De(t));
5625
5625
  }
5626
- const Ri = {
5626
+ const rn = {
5627
5627
  name: "heading",
5628
5628
  description: "Use `heading` to render heading text with consistent type.",
5629
5629
  output: {
@@ -5718,114 +5718,247 @@ const Ri = {
5718
5718
  ]
5719
5719
  }
5720
5720
  };
5721
- function fe({
5721
+ function Ve({
5722
5722
  adaptive: t,
5723
- alt: n = "",
5724
- aspectRatio: e,
5725
- fit: i = "intrinsic",
5726
- gravity: r = "C",
5727
- height: a,
5728
- id: o,
5729
- lazy: d,
5730
- priority: s,
5731
- radius: l,
5732
- shadow: p,
5733
- sizes: c,
5734
- sources: u,
5735
- src: m,
5736
- srcSet: y,
5737
- width: k
5723
+ animated: n,
5724
+ alt: e = "",
5725
+ aspectRatio: i,
5726
+ fit: r = "intrinsic",
5727
+ gravity: a = "C",
5728
+ height: o,
5729
+ id: d,
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
5738
5741
  }) {
5739
- const v = i === "cover", C = g(o), S = m.trim(), b = y?.trim(), x = c?.trim(), w = u?.map((f, q) => {
5740
- const _ = f.srcSet.trim(), z = f.media?.trim(), B = f.type?.trim(), yt = f.sizes?.trim();
5741
- if (!_)
5742
- throw new Error(`sources[${q}].srcSet must be non-empty.`);
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.`);
5743
5746
  return {
5744
- height: f.height,
5745
- media: z || void 0,
5746
- sizes: yt || void 0,
5747
- srcSet: _,
5748
- type: B || void 0,
5749
- width: f.width
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
5750
5755
  };
5751
5756
  }) || [];
5752
- if (!S)
5757
+ if (!x)
5753
5758
  throw new Error("src must be a non-empty string.");
5754
5759
  if (t && [
5755
- S,
5756
- b,
5757
- ...w.map((f) => f.srcSet)
5758
- ].some((f) => f?.includes("#")))
5760
+ x,
5761
+ z,
5762
+ ...M.map((u) => u.srcSet)
5763
+ ].some((u) => u?.includes("#")))
5759
5764
  throw new Error("adaptive sources must not contain URL fragments.");
5760
- const E = (f, q) => f.split(/,\s+/).map((_) => {
5761
- const [z, ...B] = _.trim().split(/\s+/);
5762
- if (!z || B.length > 1)
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)
5763
5794
  throw new Error(
5764
5795
  "adaptive srcSet candidates must be a URL plus at most one descriptor, separated by a comma and whitespace."
5765
5796
  );
5766
- return [`${z}#${q}`, ...B].join(" ");
5767
- }).join(", "), T = (f) => {
5768
- const q = {
5797
+ return [`${y}#${C}`, ...g].join(" ");
5798
+ }).join(", "), nt = (u) => {
5799
+ const C = {
5769
5800
  kind: "element",
5770
5801
  tag: "img",
5771
5802
  attrs: {
5772
- alt: n,
5803
+ alt: e,
5773
5804
  class: "img",
5774
- "data-scheme": f && w.length === 0 ? f : void 0,
5775
- fetchpriority: s ? "high" : void 0,
5776
- height: v ? void 0 : a ? String(a) : void 0,
5777
- loading: d && !s ? "lazy" : void 0,
5778
- sizes: w.length > 0 ? void 0 : x || void 0,
5779
- src: f ? `${S}#${f}` : S,
5780
- srcset: b && f ? E(b, f) : b || void 0,
5781
- width: v ? void 0 : k ? String(k) : void 0
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
5782
5813
  },
5783
5814
  children: []
5784
5815
  };
5785
- if (w.length === 0)
5786
- return q;
5787
- const _ = w.map((z) => ({
5816
+ if (M.length === 0)
5817
+ return C;
5818
+ const I = M.map((y) => ({
5788
5819
  kind: "element",
5789
5820
  tag: "source",
5790
5821
  attrs: {
5791
- height: z.height ? String(z.height) : void 0,
5792
- media: z.media,
5793
- sizes: z.sizes,
5794
- srcset: f ? E(z.srcSet, f) : z.srcSet,
5795
- type: z.type,
5796
- width: z.width ? String(z.width) : void 0
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
5797
5828
  },
5798
5829
  children: []
5799
5830
  }));
5800
5831
  return {
5801
5832
  kind: "element",
5802
5833
  tag: "picture",
5803
- attrs: { "data-scheme": f },
5804
- children: [..._, q]
5834
+ attrs: { "data-scheme": u },
5835
+ children: [...I, C]
5805
5836
  };
5806
- }, H = t ? [T("light"), T("dark")] : [T()], A = [];
5807
- return a && A.push(`--set-image-block-size: ${a / 16}rem`), k && A.push(`--set-image-inline-size: ${k / 16}rem`), {
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]
5936
+ };
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`), {
5808
5939
  kind: "element",
5809
5940
  tag: "div",
5810
5941
  attrs: {
5811
5942
  class: "set-image",
5812
5943
  "data-adaptive": !!t,
5813
- "data-aspect-ratio": v && !a ? e : void 0,
5814
- "data-fluid": i === "fluid",
5815
- "data-gravity": v && r !== "C" ? r : void 0,
5816
- "data-shadow": !!p,
5817
- "data-object-fit": v ? "cover" : void 0,
5818
- "data-radius": !!l,
5819
- id: C,
5820
- style: A.length > 0 ? A.join("; ") : void 0
5821
- },
5822
- 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
5823
5956
  };
5824
5957
  }
5825
- function ye(t) {
5826
- return h(fe(t));
5958
+ function He(t) {
5959
+ return m(Ve(t));
5827
5960
  }
5828
- const Wi = {
5961
+ const an = {
5829
5962
  name: "image",
5830
5963
  description: "Use `image` to render a responsive image with intrinsic, fluid, or cover fit, and optional art-directed `sources`.",
5831
5964
  output: { element: "div", class: "set-image" },
@@ -5833,7 +5966,12 @@ const Wi = {
5833
5966
  props: {
5834
5967
  adaptive: {
5835
5968
  default: !1,
5836
- description: "Shows the image's light or dark variant to match the surrounding color scheme. Use with adaptive assets exported from Screen, which carry both variants in one file; the component selects one by adding `#light`/`#dark` to the URL.",
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.",
5837
5975
  type: { kind: "boolean" }
5838
5976
  },
5839
5977
  alt: {
@@ -5918,6 +6056,14 @@ const Wi = {
5918
6056
  required: !0,
5919
6057
  type: { kind: "string" }
5920
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
+ },
5921
6067
  type: {
5922
6068
  description: "MIME type for the source resources.",
5923
6069
  type: { kind: "string" }
@@ -5933,6 +6079,15 @@ const Wi = {
5933
6079
  description: "Candidate sources for the fallback image.",
5934
6080
  type: { kind: "string" }
5935
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
+ },
5936
6091
  src: {
5937
6092
  description: "Image source URL.",
5938
6093
  required: !0,
@@ -5951,6 +6106,16 @@ const Wi = {
5951
6106
  attribute: "data-adaptive",
5952
6107
  condition: { kind: "when-truthy", prop: "adaptive" }
5953
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
+ },
5954
6119
  {
5955
6120
  target: { on: "host" },
5956
6121
  attribute: "data-object-fit",
@@ -6023,7 +6188,7 @@ const Wi = {
6023
6188
  ]
6024
6189
  }
6025
6190
  };
6026
- function we({
6191
+ function Ne({
6027
6192
  align: t = "center",
6028
6193
  as: n = "div",
6029
6194
  children: e,
@@ -6032,7 +6197,7 @@ function we({
6032
6197
  justify: a = "start",
6033
6198
  nowrap: o
6034
6199
  }) {
6035
- const d = g(r);
6200
+ const d = v(r);
6036
6201
  return {
6037
6202
  kind: "element",
6038
6203
  tag: n,
@@ -6047,10 +6212,10 @@ function we({
6047
6212
  children: e ? [{ kind: "raw", html: e }] : []
6048
6213
  };
6049
6214
  }
6050
- function Ui(t) {
6051
- return h(we(t));
6215
+ function on(t) {
6216
+ return m(Ne(t));
6052
6217
  }
6053
- const $i = {
6218
+ const dn = {
6054
6219
  name: "inline",
6055
6220
  description: "Use `inline` to lay out content in a horizontal row.",
6056
6221
  output: {
@@ -6135,7 +6300,7 @@ const $i = {
6135
6300
  ]
6136
6301
  }
6137
6302
  };
6138
- function Se({
6303
+ function Be({
6139
6304
  autocomplete: t,
6140
6305
  description: n,
6141
6306
  disabled: e,
@@ -6145,69 +6310,69 @@ function Se({
6145
6310
  name: o,
6146
6311
  pattern: d,
6147
6312
  readOnly: s,
6148
- required: l,
6149
- size: p = "md",
6313
+ required: p,
6314
+ size: l = "md",
6150
6315
  spellcheck: c,
6151
- type: u = "text",
6152
- value: m,
6153
- inlineSize: y = "full"
6316
+ type: h = "text",
6317
+ value: b,
6318
+ inlineSize: S = "full"
6154
6319
  }) {
6155
- const k = i.trim(), v = n?.trim(), C = t === !1 ? !1 : t?.trim(), S = o?.trim(), b = d?.trim(), x = m;
6156
- if (!k)
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)
6157
6322
  throw new Error("id must be a non-empty string.");
6158
- if (!I(k))
6323
+ if (!V(f))
6159
6324
  throw new Error(
6160
6325
  "id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
6161
6326
  );
6162
- const w = v ? `${k}-description` : void 0, E = u === "numeric", T = E ? "text" : u, H = b || (E ? "^[0-9]*$" : void 0), A = c === void 0 && E ? !1 : c, f = !!e, q = !f && !!s, z = [
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, $ = [
6163
6328
  {
6164
6329
  kind: "element",
6165
6330
  tag: "label",
6166
- attrs: { class: "label", for: k },
6331
+ attrs: { class: "label", for: f },
6167
6332
  children: [{ kind: "text", value: a }]
6168
6333
  },
6169
6334
  {
6170
6335
  kind: "element",
6171
6336
  tag: "input",
6172
6337
  attrs: {
6173
- "aria-describedby": w,
6174
- "aria-invalid": !f && !q && !!r ? "true" : void 0,
6175
- 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,
6176
6341
  class: "input",
6177
- disabled: f,
6178
- id: k,
6179
- inputmode: E ? "numeric" : void 0,
6180
- name: S || void 0,
6181
- pattern: H,
6182
- readonly: q,
6183
- required: !!l,
6184
- spellcheck: A === void 0 ? void 0 : String(A),
6185
- type: T,
6186
- value: x
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
6187
6352
  },
6188
6353
  children: []
6189
6354
  }
6190
6355
  ];
6191
- return v && z.push({
6356
+ return E && $.push({
6192
6357
  kind: "element",
6193
6358
  tag: "p",
6194
- attrs: { class: "description", id: w },
6195
- children: [{ kind: "text", value: v }]
6359
+ attrs: { class: "description", id: x },
6360
+ children: [{ kind: "text", value: E }]
6196
6361
  }), {
6197
6362
  kind: "element",
6198
6363
  tag: "div",
6199
6364
  attrs: {
6200
6365
  class: "set-input",
6201
- "data-size": p,
6202
- "data-inline-size": y === "fit" ? "fit" : void 0
6366
+ "data-size": l,
6367
+ "data-inline-size": S === "fit" ? "fit" : void 0
6203
6368
  },
6204
- children: z
6369
+ children: $
6205
6370
  };
6206
6371
  }
6207
- function Gi(t) {
6208
- return h(Se(t));
6372
+ function sn(t) {
6373
+ return m(Be(t));
6209
6374
  }
6210
- const Zi = {
6375
+ const ln = {
6211
6376
  name: "input",
6212
6377
  description: "Use `input` to collect a single line of text from users.",
6213
6378
  output: { element: "div", class: "set-input" },
@@ -6402,7 +6567,7 @@ const Zi = {
6402
6567
  }
6403
6568
  ]
6404
6569
  }
6405
- }, 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 = [
6406
6571
  { x: 0, y: 0 },
6407
6572
  { x: 300, y: 0 },
6408
6573
  { x: 150, y: 300 },
@@ -6411,11 +6576,11 @@ const Zi = {
6411
6576
  { x: 300, y: 600 },
6412
6577
  { x: 150, y: 900 },
6413
6578
  { x: 450, y: 900 }
6414
- ], Ce = "M0 956h98V571L87 391h2l124 320h89l123-320h3l-11 180v385h98V276H384L260 608h-5L131 276H0zm879.94 10c184 0 223-46 223-272 0-225-39-271-223-271-186 0-224 46-224 271 0 226 38 272 224 272m0-93c-102 0-123-30-123-179 0-147 21-177 123-177 100 0 121 30 121 177 0 149-21 179-121 179m361.44 83h103V686c0-141 20-169 112-169 73 0 88 18 88 107v332h103V624c0-167-28-202-163-202-95 0-120 16-147 92h-5v-82h-91zm769.16 10c184 0 223-46 223-272 0-225-39-271-223-271-186 0-224 46-224 271 0 226 38 272 224 272m0-93c-102 0-123-30-123-179 0-147 21-177 123-177 100 0 121 30 121 177 0 149-21 179-121 179m363.25-65c-4 132 30 158 202 158 173 0 208-25 208-150 0-118-33-146-191-170-94-14-114-26-114-74 0-50 18-60 103-60 76 0 92 9 96 52h97c-3-118-36-142-194-142-166 0-201 25-201 146 0 114 31 141 182 162 101 13 122 28 122 82 0 53-18 64-103 64-88 0-107-11-110-68zm558.97 363h102V902h5c20 54 41 64 123 64 160 0 193-45 193-270 0-227-34-274-198-274-83 0-105 11-123 65h-4v-55h-98zm209-298c-93 0-112-30-112-179 0-148 19-178 112-178s113 30 113 179c0 148-20 178-113 178m656.46 83h88V610c0-156-34-187-197-187-150 0-181 27-179 157h97c1-61 15-74 85-74 82 0 99 18 99 105v24h-72c-187 0-226 30-226 179 0 126 28 152 162 152 92 0 116-13 138-74h5zm-8-243c-1 135-22 163-119 163-65 0-79-13-79-75 0-74 18-88 107-88zm551.75 95c-10 56-26 67-89 67-100 0-121-31-121-181s20-181 117-181c65 0 81 14 91 79h101c-4-141-37-170-188-170-185 0-224 46-224 272s39 272 226 272c147 0 179-26 186-158zm547.03 9c-15 48-31 58-96 58-96 0-117-23-123-136h324c5-263-32-317-214-317-172 0-207 46-207 271 0 227 38 273 223 273 139 0 172-25 190-149zm-218-160c4-122 24-146 114-146 88 0 108 24 112 146zm787.56 299h93l-1-734h-102l1 266h-5c-19-54-40-65-120-65-162 0-196 46-196 272s35 271 200 271c84 0 105-11 125-65h5zm-115-82c-94 0-114-30-114-180s20-180 114-180c93 0 112 30 112 180s-19 180-112 180", Le = 1163, vt = () => ({
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 = () => ({
6415
6580
  kind: "element",
6416
6581
  tag: "g",
6417
6582
  attrs: { class: "mark" },
6418
- children: ze.map(({ x: t, y: n }) => ({
6583
+ children: Re.map(({ x: t, y: n }) => ({
6419
6584
  kind: "element",
6420
6585
  tag: "rect",
6421
6586
  attrs: {
@@ -6426,19 +6591,19 @@ const Zi = {
6426
6591
  },
6427
6592
  children: []
6428
6593
  }))
6429
- }), Me = () => ({
6594
+ }), $e = () => ({
6430
6595
  kind: "element",
6431
6596
  tag: "g",
6432
- attrs: { class: "word", transform: `translate(${Le} 0)` },
6597
+ attrs: { class: "word", transform: `translate(${Ue} 0)` },
6433
6598
  children: [
6434
6599
  {
6435
6600
  kind: "element",
6436
6601
  tag: "path",
6437
- attrs: { d: Ce },
6602
+ attrs: { d: We },
6438
6603
  children: []
6439
6604
  }
6440
6605
  ]
6441
- }), ft = (t, n) => ({
6606
+ }), Tt = (t, n) => ({
6442
6607
  kind: "element",
6443
6608
  tag: "svg",
6444
6609
  attrs: {
@@ -6448,13 +6613,13 @@ const Zi = {
6448
6613
  },
6449
6614
  children: n
6450
6615
  });
6451
- function qe() {
6452
- return ft(xe, [vt(), Me()]);
6616
+ function Ge() {
6617
+ return Tt(Oe, [It(), $e()]);
6453
6618
  }
6454
- function Ie() {
6455
- return ft(Ee, [vt()]);
6619
+ function Ze() {
6620
+ return Tt(Pe, [It()]);
6456
6621
  }
6457
- function Te({
6622
+ function Fe({
6458
6623
  animated: t,
6459
6624
  id: n,
6460
6625
  label: e,
@@ -6462,7 +6627,7 @@ function Te({
6462
6627
  tone: r = "default",
6463
6628
  variant: a = "primary"
6464
6629
  }) {
6465
- const o = g(n), d = !!t && (a === "primary" || a === "graphic"), s = [
6630
+ const o = v(n), d = !!t && (a === "primary" || a === "graphic"), s = [
6466
6631
  {
6467
6632
  kind: "element",
6468
6633
  tag: "span",
@@ -6471,7 +6636,7 @@ function Te({
6471
6636
  }
6472
6637
  ];
6473
6638
  return d && s.push(
6474
- a === "graphic" ? Ie() : qe()
6639
+ a === "graphic" ? Ze() : Ge()
6475
6640
  ), {
6476
6641
  kind: "element",
6477
6642
  tag: "div",
@@ -6486,10 +6651,10 @@ function Te({
6486
6651
  children: s
6487
6652
  };
6488
6653
  }
6489
- function Fi(t) {
6490
- return h(Te(t));
6654
+ function pn(t) {
6655
+ return m(Fe(t));
6491
6656
  }
6492
- const ji = {
6657
+ const cn = {
6493
6658
  name: "logo",
6494
6659
  description: "Use `logo` to display the brand mark.",
6495
6660
  output: { element: "div", class: "set-logo" },
@@ -6577,7 +6742,7 @@ const ji = {
6577
6742
  ]
6578
6743
  }
6579
6744
  };
6580
- function Ae({
6745
+ function je({
6581
6746
  banner: t,
6582
6747
  centerMain: n,
6583
6748
  children: e,
@@ -6588,18 +6753,18 @@ function Ae({
6588
6753
  id: d,
6589
6754
  stickyHeader: s
6590
6755
  }) {
6591
- const l = g(d), p = [];
6592
- 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({
6593
6758
  kind: "element",
6594
6759
  tag: "header",
6595
6760
  attrs: { class: "header" },
6596
6761
  children: [{ kind: "raw", html: r }]
6597
- }), p.push({
6762
+ }), l.push({
6598
6763
  kind: "element",
6599
6764
  tag: "main",
6600
6765
  attrs: { class: "main" },
6601
6766
  children: e ? [{ kind: "raw", html: e }] : []
6602
- }), p.push({
6767
+ }), l.push({
6603
6768
  kind: "element",
6604
6769
  tag: "footer",
6605
6770
  attrs: { class: "footer" },
@@ -6613,15 +6778,15 @@ function Ae({
6613
6778
  "data-header-border": a,
6614
6779
  "data-header-size": o,
6615
6780
  "data-sticky-header": s,
6616
- id: l
6781
+ id: p
6617
6782
  },
6618
- children: p
6783
+ children: l
6619
6784
  };
6620
6785
  }
6621
- function Ki(t) {
6622
- return h(Ae(t));
6786
+ function un(t) {
6787
+ return m(je(t));
6623
6788
  }
6624
- const Xi = {
6789
+ const hn = {
6625
6790
  name: "page",
6626
6791
  description: "Use `page` as the primary layout for header, main, and footer regions.",
6627
6792
  output: { element: "div", class: "set-page" },
@@ -6711,13 +6876,13 @@ const Xi = {
6711
6876
  ]
6712
6877
  }
6713
6878
  };
6714
- function _e({
6879
+ function Ke({
6715
6880
  children: t,
6716
6881
  id: n,
6717
6882
  padding: e = "md",
6718
6883
  surface: i
6719
6884
  }) {
6720
- const r = g(n);
6885
+ const r = v(n);
6721
6886
  return {
6722
6887
  kind: "element",
6723
6888
  tag: "div",
@@ -6730,10 +6895,10 @@ function _e({
6730
6895
  children: t ? [{ kind: "raw", html: t }] : []
6731
6896
  };
6732
6897
  }
6733
- function Qi(t) {
6734
- return h(_e(t));
6898
+ function mn(t) {
6899
+ return m(Ke(t));
6735
6900
  }
6736
- const Yi = {
6901
+ const kn = {
6737
6902
  name: "panel",
6738
6903
  description: "Use `panel` to group related content in a contained region.",
6739
6904
  output: { element: "div", class: "set-panel" },
@@ -6784,14 +6949,14 @@ const Yi = {
6784
6949
  ]
6785
6950
  }
6786
6951
  };
6787
- function De({
6952
+ function Xe({
6788
6953
  children: t,
6789
6954
  id: n,
6790
6955
  size: e = "md",
6791
6956
  tone: i = "default",
6792
6957
  variant: r = "tile"
6793
6958
  } = {}) {
6794
- const a = g(n);
6959
+ const a = v(n);
6795
6960
  return {
6796
6961
  kind: "element",
6797
6962
  tag: "div",
@@ -6805,10 +6970,10 @@ function De({
6805
6970
  children: t ? [{ kind: "raw", html: t }] : []
6806
6971
  };
6807
6972
  }
6808
- function Ji(t = {}) {
6809
- return h(De(t));
6973
+ function gn(t = {}) {
6974
+ return m(Xe(t));
6810
6975
  }
6811
- const tn = {
6976
+ const bn = {
6812
6977
  name: "pattern",
6813
6978
  description: "Use `pattern` to render repeated visual language components behind content.",
6814
6979
  output: { element: "div", class: "set-pattern" },
@@ -6875,22 +7040,22 @@ const tn = {
6875
7040
  ]
6876
7041
  }
6877
7042
  };
6878
- function en(t) {
6879
- return ye({
7043
+ function vn(t) {
7044
+ return He({
6880
7045
  ...t,
6881
7046
  alt: "",
6882
7047
  fit: "cover",
6883
7048
  priority: !0
6884
7049
  });
6885
7050
  }
6886
- function He({
7051
+ function Qe({
6887
7052
  children: t,
6888
7053
  contentTheme: n,
6889
7054
  id: e,
6890
7055
  media: i,
6891
7056
  surface: r
6892
7057
  }) {
6893
- const a = g(e), o = n ? r ?? "default" : r, d = [
7058
+ const a = v(e), o = n ? r ?? "default" : r, d = [
6894
7059
  {
6895
7060
  kind: "element",
6896
7061
  tag: "div",
@@ -6915,10 +7080,10 @@ function He({
6915
7080
  children: d
6916
7081
  };
6917
7082
  }
6918
- function nn(t) {
6919
- return h(He(t));
7083
+ function fn(t) {
7084
+ return m(Qe(t));
6920
7085
  }
6921
- const rn = {
7086
+ const yn = {
6922
7087
  name: "poster",
6923
7088
  description: "Use `poster` to layer content over background media.",
6924
7089
  output: { element: "div", class: "set-poster" },
@@ -6989,7 +7154,7 @@ const rn = {
6989
7154
  ]
6990
7155
  }
6991
7156
  };
6992
- function Ve({
7157
+ function Ye({
6993
7158
  align: t = "start",
6994
7159
  children: n,
6995
7160
  hangingPunctuation: e,
@@ -6999,7 +7164,7 @@ function Ve({
6999
7164
  monospaced: o,
7000
7165
  responsive: d
7001
7166
  }) {
7002
- const s = g(i);
7167
+ const s = v(i);
7003
7168
  return {
7004
7169
  kind: "element",
7005
7170
  tag: "div",
@@ -7016,10 +7181,10 @@ function Ve({
7016
7181
  children: [{ kind: "raw", html: n }]
7017
7182
  };
7018
7183
  }
7019
- function an(t) {
7020
- return h(Ve(t));
7184
+ function wn(t) {
7185
+ return m(Ye(t));
7021
7186
  }
7022
- const on = {
7187
+ const Sn = {
7023
7188
  name: "prose",
7024
7189
  description: "Use `prose` to style rich-text markup.",
7025
7190
  output: { element: "div", class: "set-prose" },
@@ -7113,7 +7278,7 @@ const on = {
7113
7278
  ]
7114
7279
  }
7115
7280
  };
7116
- function Ne({
7281
+ function Je({
7117
7282
  description: t,
7118
7283
  disabled: n,
7119
7284
  id: e,
@@ -7123,37 +7288,37 @@ function Ne({
7123
7288
  name: o,
7124
7289
  orientation: d = "vertical",
7125
7290
  required: s,
7126
- size: l = "md",
7127
- value: p
7291
+ size: p = "md",
7292
+ value: l
7128
7293
  }) {
7129
- const c = e.trim(), u = o.trim(), m = p?.trim();
7294
+ const c = e.trim(), h = o.trim(), b = l?.trim();
7130
7295
  if (!c)
7131
7296
  throw new Error("id must be a non-empty string.");
7132
- if (!I(c))
7297
+ if (!V(c))
7133
7298
  throw new Error(
7134
7299
  "id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
7135
7300
  );
7136
- if (!u)
7301
+ if (!h)
7137
7302
  throw new Error("name must be a non-empty string.");
7138
7303
  if (r.length < 2)
7139
7304
  throw new Error("radios must include at least 2 options.");
7140
- const y = r.map((b, x) => {
7141
- const w = b.value.trim(), E = b.label.trim(), T = b.description?.trim();
7142
- if (!w)
7143
- throw new Error(`radios[${x}].value must be non-empty.`);
7144
- if (!E)
7145
- throw new Error(`radios[${x}].label must be non-empty.`);
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.`);
7146
7311
  return {
7147
- description: T,
7148
- disabled: !!b.disabled,
7149
- label: E,
7150
- value: w
7312
+ description: _,
7313
+ disabled: !!k.disabled,
7314
+ label: z,
7315
+ value: x
7151
7316
  };
7152
7317
  });
7153
- if (new Set(y.map((b) => b.value)).size !== y.length)
7318
+ if (new Set(S.map((k) => k.value)).size !== S.length)
7154
7319
  throw new Error("radios values must be unique.");
7155
- const v = !!n, C = y.map((b) => {
7156
- const x = !!b.disabled, w = b.description ? `${c}-${b.value}-description` : void 0, E = [
7320
+ const E = !!n, q = S.map((k) => {
7321
+ const L = !!k.disabled, x = k.description ? `${c}-${k.value}-description` : void 0, z = [
7157
7322
  {
7158
7323
  kind: "element",
7159
7324
  tag: "label",
@@ -7163,14 +7328,14 @@ function Ne({
7163
7328
  kind: "element",
7164
7329
  tag: "input",
7165
7330
  attrs: {
7166
- "aria-describedby": w,
7167
- checked: m === b.value,
7331
+ "aria-describedby": x,
7332
+ checked: b === k.value,
7168
7333
  class: "radio",
7169
- disabled: x,
7170
- name: u,
7171
- required: !!s && !v && !x,
7334
+ disabled: L,
7335
+ name: h,
7336
+ required: !!s && !E && !L,
7172
7337
  type: "radio",
7173
- value: b.value
7338
+ value: k.value
7174
7339
  },
7175
7340
  children: []
7176
7341
  },
@@ -7178,45 +7343,45 @@ function Ne({
7178
7343
  kind: "element",
7179
7344
  tag: "span",
7180
7345
  attrs: {},
7181
- children: [{ kind: "text", value: b.label }]
7346
+ children: [{ kind: "text", value: k.label }]
7182
7347
  }
7183
7348
  ]
7184
7349
  }
7185
7350
  ];
7186
- return b.description && E.push({
7351
+ return k.description && z.push({
7187
7352
  kind: "element",
7188
7353
  tag: "p",
7189
- attrs: { class: "radio-description", id: w },
7190
- children: [{ kind: "text", value: b.description }]
7354
+ attrs: { class: "radio-description", id: x },
7355
+ children: [{ kind: "text", value: k.description }]
7191
7356
  }), {
7192
7357
  kind: "element",
7193
7358
  tag: "div",
7194
7359
  attrs: { class: "radio-field" },
7195
- children: E
7360
+ children: z
7196
7361
  };
7197
7362
  });
7198
- return bt({
7199
- children: h({
7363
+ return qt({
7364
+ children: m({
7200
7365
  kind: "element",
7201
7366
  tag: "div",
7202
7367
  attrs: {
7203
7368
  class: "set-radios",
7204
7369
  "data-orientation": d,
7205
- "data-size": l
7370
+ "data-size": p
7206
7371
  },
7207
- children: C
7372
+ children: q
7208
7373
  }),
7209
7374
  description: t,
7210
- disabled: v,
7375
+ disabled: E,
7211
7376
  id: c,
7212
7377
  invalid: i,
7213
7378
  legend: a
7214
7379
  });
7215
7380
  }
7216
- function dn(t) {
7217
- return h(Ne(t));
7381
+ function xn(t) {
7382
+ return m(Je(t));
7218
7383
  }
7219
- const sn = {
7384
+ const En = {
7220
7385
  name: "radios",
7221
7386
  description: "Use `radios` to let users select one option from a short list.",
7222
7387
  output: { element: "fieldset", class: "set-fieldset" },
@@ -7365,7 +7530,7 @@ const sn = {
7365
7530
  ]
7366
7531
  }
7367
7532
  };
7368
- function Oe({
7533
+ function ti({
7369
7534
  appOverscrollBehavior: t,
7370
7535
  appRoot: n,
7371
7536
  brand: e = "mnsp",
@@ -7375,7 +7540,7 @@ function Oe({
7375
7540
  lang: o,
7376
7541
  theme: d
7377
7542
  }) {
7378
- const s = g(a);
7543
+ const s = v(a);
7379
7544
  return {
7380
7545
  kind: "element",
7381
7546
  tag: "div",
@@ -7392,10 +7557,10 @@ function Oe({
7392
7557
  children: i ? [{ kind: "raw", html: i }] : []
7393
7558
  };
7394
7559
  }
7395
- function ln(t) {
7396
- return h(Oe(t));
7560
+ function zn(t) {
7561
+ return m(ti(t));
7397
7562
  }
7398
- const pn = {
7563
+ const Cn = {
7399
7564
  name: "root",
7400
7565
  description: "Mandatory top-level `root` wrapper for the Set system.",
7401
7566
  output: { element: "div", class: "set" },
@@ -7488,13 +7653,13 @@ const pn = {
7488
7653
  ]
7489
7654
  }
7490
7655
  };
7491
- function Pe({
7656
+ function ei({
7492
7657
  id: t,
7493
7658
  label: n,
7494
7659
  size: e = "md",
7495
7660
  tone: i = "default"
7496
7661
  } = {}) {
7497
- const r = g(t), o = [
7662
+ const r = v(t), o = [
7498
7663
  {
7499
7664
  kind: "element",
7500
7665
  tag: "svg",
@@ -7545,10 +7710,10 @@ function Pe({
7545
7710
  children: o
7546
7711
  };
7547
7712
  }
7548
- function cn(t = {}) {
7549
- return h(Pe(t));
7713
+ function Ln(t = {}) {
7714
+ return m(ei(t));
7550
7715
  }
7551
- const un = {
7716
+ const Mn = {
7552
7717
  name: "spinner",
7553
7718
  description: "Use `spinner` to indicate loading or in-progress state.",
7554
7719
  output: { element: "span", class: "set-spinner" },
@@ -7606,7 +7771,7 @@ const un = {
7606
7771
  ]
7607
7772
  }
7608
7773
  };
7609
- function Be({
7774
+ function ii({
7610
7775
  align: t = "stretch",
7611
7776
  as: n = "div",
7612
7777
  children: e,
@@ -7614,7 +7779,7 @@ function Be({
7614
7779
  id: r,
7615
7780
  responsive: a
7616
7781
  }) {
7617
- const o = g(r);
7782
+ const o = v(r);
7618
7783
  return {
7619
7784
  kind: "element",
7620
7785
  tag: n,
@@ -7628,10 +7793,10 @@ function Be({
7628
7793
  children: e ? [{ kind: "raw", html: e }] : []
7629
7794
  };
7630
7795
  }
7631
- function hn(t) {
7632
- return h(Be(t));
7796
+ function qn(t) {
7797
+ return m(ii(t));
7633
7798
  }
7634
- const mn = {
7799
+ const In = {
7635
7800
  name: "stack",
7636
7801
  description: "Use `stack` to lay out content in a vertical column.",
7637
7802
  output: {
@@ -7702,13 +7867,13 @@ const mn = {
7702
7867
  ]
7703
7868
  }
7704
7869
  };
7705
- function Re({
7870
+ function ni({
7706
7871
  children: t,
7707
7872
  contentTheme: n,
7708
7873
  id: e,
7709
7874
  variant: i = "default"
7710
7875
  }) {
7711
- const r = g(e);
7876
+ const r = v(e);
7712
7877
  return {
7713
7878
  kind: "element",
7714
7879
  tag: "div",
@@ -7721,10 +7886,10 @@ function Re({
7721
7886
  children: [{ kind: "raw", html: t }]
7722
7887
  };
7723
7888
  }
7724
- function kn(t) {
7725
- return h(Re(t));
7889
+ function Tn(t) {
7890
+ return m(ni(t));
7726
7891
  }
7727
- const gn = {
7892
+ const An = {
7728
7893
  name: "surface",
7729
7894
  description: "Use `surface` to set a colour context for nested content.",
7730
7895
  output: { element: "div", class: "set-surface" },
@@ -7776,7 +7941,7 @@ const gn = {
7776
7941
  ]
7777
7942
  }
7778
7943
  };
7779
- function We({
7944
+ function ri({
7780
7945
  checked: t,
7781
7946
  description: n,
7782
7947
  disabled: e,
@@ -7786,10 +7951,10 @@ function We({
7786
7951
  size: o = "md",
7787
7952
  value: d
7788
7953
  }) {
7789
- const s = g(i), l = n?.trim();
7790
- if (l && !s)
7954
+ const s = v(i), p = n?.trim();
7955
+ if (p && !s)
7791
7956
  throw new Error("id must be provided when description is provided.");
7792
- const p = l ? `${s}-description` : void 0, c = [
7957
+ const l = p ? `${s}-description` : void 0, c = [
7793
7958
  {
7794
7959
  kind: "element",
7795
7960
  tag: "label",
@@ -7799,7 +7964,7 @@ function We({
7799
7964
  kind: "element",
7800
7965
  tag: "input",
7801
7966
  attrs: {
7802
- "aria-describedby": p,
7967
+ "aria-describedby": l,
7803
7968
  checked: !!t,
7804
7969
  class: "switch",
7805
7970
  disabled: !!e,
@@ -7820,11 +7985,11 @@ function We({
7820
7985
  ]
7821
7986
  }
7822
7987
  ];
7823
- return l && c.push({
7988
+ return p && c.push({
7824
7989
  kind: "element",
7825
7990
  tag: "p",
7826
- attrs: { class: "description", id: p },
7827
- children: [{ kind: "text", value: l }]
7991
+ attrs: { class: "description", id: l },
7992
+ children: [{ kind: "text", value: p }]
7828
7993
  }), {
7829
7994
  kind: "element",
7830
7995
  tag: "div",
@@ -7832,10 +7997,10 @@ function We({
7832
7997
  children: c
7833
7998
  };
7834
7999
  }
7835
- function bn(t) {
7836
- return h(We(t));
8000
+ function _n(t) {
8001
+ return m(ri(t));
7837
8002
  }
7838
- const vn = {
8003
+ const Dn = {
7839
8004
  name: "switch",
7840
8005
  description: "Use `switch` to let users instantly toggle a setting on or off.",
7841
8006
  output: { element: "div", class: "set-switch" },
@@ -7943,7 +8108,7 @@ const vn = {
7943
8108
  ]
7944
8109
  }
7945
8110
  };
7946
- function Ue({
8111
+ function ai({
7947
8112
  autocomplete: t,
7948
8113
  description: n,
7949
8114
  disabled: e,
@@ -7953,69 +8118,69 @@ function Ue({
7953
8118
  name: o,
7954
8119
  readOnly: d,
7955
8120
  required: s,
7956
- resize: l = "vertical",
7957
- rows: p = 2,
8121
+ resize: p = "vertical",
8122
+ rows: l = 2,
7958
8123
  size: c = "md",
7959
- spellcheck: u,
7960
- value: m,
7961
- inlineSize: y = "full"
8124
+ spellcheck: h,
8125
+ value: b,
8126
+ inlineSize: S = "full"
7962
8127
  }) {
7963
- const k = i.trim(), v = n?.trim(), C = t === !1 ? !1 : t?.trim(), S = o?.trim(), b = m;
7964
- if (!k)
8128
+ const f = i.trim(), E = n?.trim(), q = t === !1 ? !1 : t?.trim(), w = o?.trim(), k = b;
8129
+ if (!f)
7965
8130
  throw new Error("id must be a non-empty string.");
7966
- if (!I(k))
8131
+ if (!V(f))
7967
8132
  throw new Error(
7968
8133
  "id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
7969
8134
  );
7970
- if (!Number.isInteger(p) || p < 2)
8135
+ if (!Number.isInteger(l) || l < 2)
7971
8136
  throw new Error("rows must be an integer greater than or equal to 2.");
7972
- const x = v ? `${k}-description` : void 0, w = !!e, E = !w && !!d, H = [
8137
+ const L = E ? `${f}-description` : void 0, x = !!e, z = !x && !!d, D = [
7973
8138
  {
7974
8139
  kind: "element",
7975
8140
  tag: "label",
7976
- attrs: { class: "label", for: k },
8141
+ attrs: { class: "label", for: f },
7977
8142
  children: [{ kind: "text", value: a }]
7978
8143
  },
7979
8144
  {
7980
8145
  kind: "element",
7981
8146
  tag: "textarea",
7982
8147
  attrs: {
7983
- "aria-describedby": x,
7984
- "aria-invalid": !w && !E && !!r ? "true" : void 0,
7985
- 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,
7986
8151
  class: "textarea",
7987
- disabled: w,
7988
- id: k,
7989
- name: S || void 0,
7990
- readonly: E,
8152
+ disabled: x,
8153
+ id: f,
8154
+ name: w || void 0,
8155
+ readonly: z,
7991
8156
  required: !!s,
7992
- rows: String(p),
7993
- spellcheck: u === void 0 ? void 0 : String(u)
8157
+ rows: String(l),
8158
+ spellcheck: h === void 0 ? void 0 : String(h)
7994
8159
  },
7995
- children: [{ kind: "text", value: b || "" }]
8160
+ children: [{ kind: "text", value: k || "" }]
7996
8161
  }
7997
8162
  ];
7998
- return v && H.push({
8163
+ return E && D.push({
7999
8164
  kind: "element",
8000
8165
  tag: "p",
8001
- attrs: { class: "description", id: x },
8002
- children: [{ kind: "text", value: v }]
8166
+ attrs: { class: "description", id: L },
8167
+ children: [{ kind: "text", value: E }]
8003
8168
  }), {
8004
8169
  kind: "element",
8005
8170
  tag: "div",
8006
8171
  attrs: {
8007
8172
  class: "set-textarea",
8008
- "data-resize": l === "none" ? "none" : void 0,
8173
+ "data-resize": p === "none" ? "none" : void 0,
8009
8174
  "data-size": c,
8010
- "data-inline-size": y === "fit" ? "fit" : void 0
8175
+ "data-inline-size": S === "fit" ? "fit" : void 0
8011
8176
  },
8012
- children: H
8177
+ children: D
8013
8178
  };
8014
8179
  }
8015
- function fn(t) {
8016
- return h(Ue(t));
8180
+ function Vn(t) {
8181
+ return m(ai(t));
8017
8182
  }
8018
- const yn = {
8183
+ const Hn = {
8019
8184
  name: "textarea",
8020
8185
  description: "Use `textarea` to collect multiple lines of text from users.",
8021
8186
  output: { element: "div", class: "set-textarea" },
@@ -8204,166 +8369,166 @@ const yn = {
8204
8369
  ]
8205
8370
  }
8206
8371
  };
8207
- function wn() {
8208
- Mt(), At(), Vt(), Ot(), Wt(), $t(), jt(), Qt();
8372
+ function Nn() {
8373
+ $t(), jt(), Yt(), te(), re(), oe(), pe(), he();
8209
8374
  }
8210
8375
  export {
8211
- pt as SET_ALERT_EVENT_BEFORE_DISMISS,
8212
- ct as SET_ALERT_EVENT_DISMISS,
8213
- je as SET_ALERT_SPEC,
8214
- R as SET_ALERT_TAG_NAME,
8215
- hi as SET_AVATAR_SPEC,
8216
- ki as SET_BADGE_SPEC,
8217
- ht as SET_BANNER_EVENT_BEFORE_DISMISS,
8218
- mt as SET_BANNER_EVENT_DISMISS,
8219
- Ye as SET_BANNER_SPEC,
8220
- W as SET_BANNER_TAG_NAME,
8221
- fi as SET_BLOCKQUOTE_SPEC,
8222
- wi as SET_BOX_SPEC,
8223
- Ze as SET_BUTTON_SPEC,
8224
- xi as SET_CARD_SPEC,
8225
- zi as SET_CHECKBOX_SPEC,
8226
- Li as SET_CONTAINER_SPEC,
8227
- qi as SET_DETAILS_SPEC,
8228
- Ti as SET_DIVIDER_SPEC,
8229
- ni as SET_EXPANDER_SPEC,
8230
- _i as SET_FIELDSET_SPEC,
8231
- Hi as SET_FIGURE_SPEC,
8232
- Pi as SET_GRID_ITEM_SPEC,
8233
- Oi as SET_GRID_SPEC,
8234
- Ri as SET_HEADING_SPEC,
8235
- $e as SET_ICON_NAMES,
8236
- Ge as SET_ICON_SPEC,
8237
- Wi as SET_IMAGE_SPEC,
8238
- $i as SET_INLINE_SPEC,
8239
- Zi as SET_INPUT_SPEC,
8240
- kt as SET_LIGHTSWITCH_EVENT_CHANGE,
8241
- ti as SET_LIGHTSWITCH_SPEC,
8242
- Q as SET_LIGHTSWITCH_STORAGE_KEY,
8243
- $ as SET_LIGHTSWITCH_TAG_NAME,
8244
- Xe as SET_LINK_SPEC,
8245
- ji as SET_LOGO_SPEC,
8246
- gt as SET_MENU_EVENT_CHOOSE,
8247
- ii as SET_MENU_SPEC,
8248
- G as SET_MENU_TAG_NAME,
8249
- ai as SET_NAV_SPEC,
8250
- Z as SET_NAV_TAG_NAME,
8251
- Xi as SET_PAGE_SPEC,
8252
- Yi as SET_PANEL_SPEC,
8253
- tn as SET_PATTERN_SPEC,
8254
- rn as SET_POSTER_SPEC,
8255
- on as SET_PROSE_SPEC,
8256
- sn as SET_RADIOS_SPEC,
8257
- di as SET_RANGE_SPEC,
8258
- F as SET_RANGE_TAG_NAME,
8259
- pn as SET_ROOT_SPEC,
8260
- li as SET_SIDEBAR_SPEC,
8261
- j as SET_SIDEBAR_TAG_NAME,
8262
- un as SET_SPINNER_SPEC,
8263
- mn as SET_STACK_SPEC,
8264
- gn as SET_SURFACE_SPEC,
8265
- vn as SET_SWITCH_SPEC,
8266
- yn as SET_TEXTAREA_SPEC,
8267
- bi as SET_TEXT_SPEC,
8268
- ci as SET_VIDEO_SPEC,
8269
- K as SET_VIDEO_TAG_NAME,
8270
- Lt as buildSetAlert,
8271
- oe as buildSetAvatar,
8272
- de as buildSetBadge,
8273
- Tt as buildSetBanner,
8274
- se as buildSetBlockquote,
8275
- le as buildSetBox,
8276
- it as buildSetButton,
8277
- pe as buildSetCard,
8278
- ce as buildSetCheckbox,
8279
- ue as buildSetContainer,
8280
- he as buildSetDetails,
8281
- me as buildSetDivider,
8282
- Pt as buildSetExpander,
8283
- bt as buildSetFieldset,
8284
- ke as buildSetFigure,
8285
- ge as buildSetGrid,
8286
- be as buildSetGridItem,
8287
- ve as buildSetHeading,
8288
- O as buildSetIcon,
8289
- fe as buildSetImage,
8290
- we as buildSetInline,
8291
- Se as buildSetInput,
8292
- Ht as buildSetLightswitch,
8293
- ut as buildSetLink,
8294
- Te as buildSetLogo,
8295
- Nt as buildSetMenu,
8296
- Rt as buildSetNav,
8297
- Ae as buildSetPage,
8298
- _e as buildSetPanel,
8299
- De as buildSetPattern,
8300
- He as buildSetPoster,
8301
- Ve as buildSetProse,
8302
- Ne as buildSetRadios,
8303
- Ut as buildSetRange,
8304
- Oe as buildSetRoot,
8305
- Ft as buildSetSidebar,
8306
- Pe as buildSetSpinner,
8307
- Be as buildSetStack,
8308
- Re as buildSetSurface,
8309
- We as buildSetSwitch,
8310
- X as buildSetText,
8311
- Ue as buildSetTextarea,
8312
- Kt as buildSetVideo,
8313
- Mt as defineSetAlert,
8314
- At as defineSetBanner,
8315
- wn as defineSetComponents,
8316
- Vt as defineSetLightswitch,
8317
- Ot as defineSetMenu,
8318
- Wt as defineSetNav,
8319
- $t as defineSetRange,
8320
- jt as defineSetSidebar,
8321
- Qt as defineSetVideo,
8322
- te as getSetInitials,
8323
- Fe as renderSetAlert,
8324
- ui as renderSetAvatar,
8325
- mi as renderSetBadge,
8326
- Qe as renderSetBanner,
8327
- vi as renderSetBlockquote,
8328
- yi as renderSetBox,
8329
- nt as renderSetButton,
8330
- Si as renderSetCard,
8331
- Ei as renderSetCheckbox,
8332
- Ci as renderSetContainer,
8333
- Mi as renderSetDetails,
8334
- Ii as renderSetDivider,
8335
- Bt as renderSetExpander,
8336
- Ai as renderSetFieldset,
8337
- Di as renderSetFigure,
8338
- Vi as renderSetGrid,
8339
- Ni as renderSetGridItem,
8340
- Bi as renderSetHeading,
8341
- xt as renderSetIcon,
8342
- ye as renderSetImage,
8343
- Ui as renderSetInline,
8344
- Gi as renderSetInput,
8345
- Je as renderSetLightswitch,
8346
- Ke as renderSetLink,
8347
- Fi as renderSetLogo,
8348
- ei as renderSetMenu,
8349
- ri as renderSetNav,
8350
- Ki as renderSetPage,
8351
- Qi as renderSetPanel,
8352
- Ji as renderSetPattern,
8353
- nn as renderSetPoster,
8354
- en as renderSetPosterImage,
8355
- an as renderSetProse,
8356
- dn as renderSetRadios,
8357
- oi as renderSetRange,
8358
- ln as renderSetRoot,
8359
- si as renderSetSidebar,
8360
- cn as renderSetSpinner,
8361
- hn as renderSetStack,
8362
- kn as renderSetSurface,
8363
- bn as renderSetSwitch,
8364
- gi as renderSetText,
8365
- fn as renderSetTextarea,
8366
- pi as renderSetVideo,
8367
- h as serializeSetNode
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
8368
8533
  };
8369
8534
  //# sourceMappingURL=index.js.map