@monospaced/set-core 0.15.0 → 0.16.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/components/button/button.d.ts +11 -0
- package/dist/components/button/button.d.ts.map +1 -1
- package/dist/components/menu/menu.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +536 -509
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const Pt = /* @__PURE__ */ new Set([
|
|
2
2
|
"area",
|
|
3
3
|
"base",
|
|
4
4
|
"br",
|
|
@@ -16,14 +16,14 @@ const Ot = /* @__PURE__ */ new Set([
|
|
|
16
16
|
function wt(t) {
|
|
17
17
|
return t.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">").replaceAll('"', """).replaceAll("'", "'");
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function Rt(t) {
|
|
20
20
|
return Object.entries(t).flatMap(([n, e]) => e === !1 || e == null ? [] : e === !0 ? [n] : [`${n}="${wt(String(e))}"`]).join(" ");
|
|
21
21
|
}
|
|
22
22
|
function m(t) {
|
|
23
23
|
if (t.kind === "text") return wt(t.value);
|
|
24
24
|
if (t.kind === "raw") return t.html;
|
|
25
|
-
const n =
|
|
26
|
-
if (
|
|
25
|
+
const n = Rt(t.attrs), e = n ? `<${t.tag} ${n}>` : `<${t.tag}>`;
|
|
26
|
+
if (Pt.has(t.tag)) return e;
|
|
27
27
|
const i = t.children.map(m).join("");
|
|
28
28
|
return `${e}${i}</${t.tag}>`;
|
|
29
29
|
}
|
|
@@ -41,7 +41,7 @@ function v(t) {
|
|
|
41
41
|
return n;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function P(t) {
|
|
45
45
|
return t == null ? void 0 : t.trim().replace(/\s+/g, " ") || void 0;
|
|
46
46
|
}
|
|
47
47
|
const St = {
|
|
@@ -775,7 +775,7 @@ const St = {
|
|
|
775
775
|
]
|
|
776
776
|
}
|
|
777
777
|
]
|
|
778
|
-
},
|
|
778
|
+
}, ui = Object.keys(St);
|
|
779
779
|
function xt(t) {
|
|
780
780
|
return t.map((n) => ({
|
|
781
781
|
kind: "element",
|
|
@@ -784,7 +784,7 @@ function xt(t) {
|
|
|
784
784
|
children: n.children ? xt(n.children) : []
|
|
785
785
|
}));
|
|
786
786
|
}
|
|
787
|
-
function
|
|
787
|
+
function R({
|
|
788
788
|
ariaHidden: t = !0,
|
|
789
789
|
id: n,
|
|
790
790
|
mirrored: e,
|
|
@@ -827,10 +827,10 @@ function P({
|
|
|
827
827
|
children: s
|
|
828
828
|
};
|
|
829
829
|
}
|
|
830
|
-
function
|
|
831
|
-
return m(
|
|
830
|
+
function Wt(t) {
|
|
831
|
+
return m(R(t));
|
|
832
832
|
}
|
|
833
|
-
const
|
|
833
|
+
const hi = {
|
|
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 ci = {
|
|
|
944
944
|
]
|
|
945
945
|
}
|
|
946
946
|
};
|
|
947
|
-
function
|
|
947
|
+
function Ut({
|
|
948
948
|
id: t,
|
|
949
949
|
label: n,
|
|
950
950
|
size: e = "md",
|
|
@@ -1002,9 +1002,9 @@ function Wt({
|
|
|
1002
1002
|
};
|
|
1003
1003
|
}
|
|
1004
1004
|
function bt(t = {}) {
|
|
1005
|
-
return m(
|
|
1005
|
+
return m(Ut(t));
|
|
1006
1006
|
}
|
|
1007
|
-
const
|
|
1007
|
+
const mi = {
|
|
1008
1008
|
name: "spinner",
|
|
1009
1009
|
description: "Use `spinner` to indicate loading or in-progress state.",
|
|
1010
1010
|
output: { element: "span", class: "set-spinner" },
|
|
@@ -1061,11 +1061,17 @@ const ui = {
|
|
|
1061
1061
|
}
|
|
1062
1062
|
]
|
|
1063
1063
|
}
|
|
1064
|
-
},
|
|
1064
|
+
}, $t = {
|
|
1065
1065
|
sm: "xs",
|
|
1066
1066
|
md: "sm",
|
|
1067
1067
|
lg: "md"
|
|
1068
1068
|
};
|
|
1069
|
+
function Et(t) {
|
|
1070
|
+
return {
|
|
1071
|
+
"aria-disabled": t === "busy" ? "true" : void 0,
|
|
1072
|
+
"data-activity": t || void 0
|
|
1073
|
+
};
|
|
1074
|
+
}
|
|
1069
1075
|
function ht(t) {
|
|
1070
1076
|
const {
|
|
1071
1077
|
activity: n,
|
|
@@ -1096,7 +1102,7 @@ function ht(t) {
|
|
|
1096
1102
|
children: [
|
|
1097
1103
|
{
|
|
1098
1104
|
kind: "raw",
|
|
1099
|
-
html:
|
|
1105
|
+
html: Wt({
|
|
1100
1106
|
ariaHidden: !0,
|
|
1101
1107
|
mirrored: s,
|
|
1102
1108
|
name: k,
|
|
@@ -1120,27 +1126,27 @@ function ht(t) {
|
|
|
1120
1126
|
tag: "span",
|
|
1121
1127
|
attrs: { class: "status" },
|
|
1122
1128
|
children: [{ kind: "text", value: ", busy" }]
|
|
1123
|
-
} : null,
|
|
1129
|
+
} : null, A = n && !C ? {
|
|
1124
1130
|
kind: "element",
|
|
1125
1131
|
tag: "span",
|
|
1126
1132
|
attrs: { class: "spinner-overlay" },
|
|
1127
1133
|
children: [
|
|
1128
1134
|
{
|
|
1129
1135
|
kind: "raw",
|
|
1130
|
-
html: bt({ size:
|
|
1136
|
+
html: bt({ size: $t[f] })
|
|
1131
1137
|
}
|
|
1132
1138
|
]
|
|
1133
|
-
} : null, V = E ? c === "end" ? [S, E] : [E, S] :
|
|
1139
|
+
} : null, V = E ? c === "end" ? [S, E] : [E, S] : A ? [A, S] : [S], M = I ? [...V, I] : V, N = Et(n);
|
|
1134
1140
|
return {
|
|
1135
1141
|
kind: "element",
|
|
1136
1142
|
tag: "button",
|
|
1137
1143
|
attrs: {
|
|
1138
1144
|
"aria-controls": a && i || void 0,
|
|
1139
|
-
"aria-disabled":
|
|
1145
|
+
"aria-disabled": N["aria-disabled"],
|
|
1140
1146
|
"aria-expanded": a ? "false" : void 0,
|
|
1141
1147
|
"aria-haspopup": d || void 0,
|
|
1142
1148
|
class: "set-button",
|
|
1143
|
-
"data-activity":
|
|
1149
|
+
"data-activity": N["data-activity"],
|
|
1144
1150
|
"data-appearance": e,
|
|
1145
1151
|
"data-label-visibility": b === "visible" ? void 0 : b,
|
|
1146
1152
|
"data-size": f,
|
|
@@ -1158,7 +1164,12 @@ function ht(t) {
|
|
|
1158
1164
|
function mt(t) {
|
|
1159
1165
|
return m(ht(t));
|
|
1160
1166
|
}
|
|
1161
|
-
|
|
1167
|
+
function Gt(t, n) {
|
|
1168
|
+
const e = Et(n ?? void 0);
|
|
1169
|
+
for (const [i, r] of Object.entries(e))
|
|
1170
|
+
r == null ? t.removeAttribute(i) : t.setAttribute(i, r);
|
|
1171
|
+
}
|
|
1172
|
+
const ki = {
|
|
1162
1173
|
name: "button",
|
|
1163
1174
|
description: "Use `button` to let users trigger actions.",
|
|
1164
1175
|
output: { element: "button", class: "set-button" },
|
|
@@ -1357,8 +1368,8 @@ const hi = {
|
|
|
1357
1368
|
}
|
|
1358
1369
|
]
|
|
1359
1370
|
}
|
|
1360
|
-
}, Z = "set-alert",
|
|
1361
|
-
function
|
|
1371
|
+
}, Z = "set-alert", zt = "set-alert-before-dismiss", Lt = "set-alert-dismiss", U = "Dismiss alert";
|
|
1372
|
+
function Zt(t, n) {
|
|
1362
1373
|
const e = n.createElement("div");
|
|
1363
1374
|
return e.setAttribute("data-part", "close"), e.innerHTML = mt({
|
|
1364
1375
|
appearance: "text",
|
|
@@ -1369,7 +1380,7 @@ function $t(t, n) {
|
|
|
1369
1380
|
tone: "neutral"
|
|
1370
1381
|
}), e;
|
|
1371
1382
|
}
|
|
1372
|
-
function
|
|
1383
|
+
function Ft(t) {
|
|
1373
1384
|
switch (t) {
|
|
1374
1385
|
case "success":
|
|
1375
1386
|
return "check-circle";
|
|
@@ -1383,12 +1394,12 @@ function Gt(t) {
|
|
|
1383
1394
|
return "sticky-note";
|
|
1384
1395
|
}
|
|
1385
1396
|
}
|
|
1386
|
-
function
|
|
1397
|
+
function jt(t) {
|
|
1387
1398
|
return t === "warning" || t === "error" ? "alert" : "status";
|
|
1388
1399
|
}
|
|
1389
|
-
function
|
|
1400
|
+
function Kt({
|
|
1390
1401
|
dismissible: t,
|
|
1391
|
-
dismissibleLabel: n =
|
|
1402
|
+
dismissibleLabel: n = U,
|
|
1392
1403
|
id: e,
|
|
1393
1404
|
inlineSize: i = "full",
|
|
1394
1405
|
message: r,
|
|
@@ -1396,7 +1407,7 @@ function Ft({
|
|
|
1396
1407
|
tone: o,
|
|
1397
1408
|
title: d
|
|
1398
1409
|
}) {
|
|
1399
|
-
const l = v(e), p = n.trim() === "" ?
|
|
1410
|
+
const l = v(e), p = n.trim() === "" ? U : n, s = [];
|
|
1400
1411
|
return d && s.push({
|
|
1401
1412
|
kind: "element",
|
|
1402
1413
|
tag: "p",
|
|
@@ -1418,7 +1429,7 @@ function Ft({
|
|
|
1418
1429
|
"data-size": a,
|
|
1419
1430
|
"data-tone": o || void 0,
|
|
1420
1431
|
id: l,
|
|
1421
|
-
role:
|
|
1432
|
+
role: jt(o)
|
|
1422
1433
|
},
|
|
1423
1434
|
children: [
|
|
1424
1435
|
{
|
|
@@ -1426,9 +1437,9 @@ function Ft({
|
|
|
1426
1437
|
tag: "div",
|
|
1427
1438
|
attrs: { class: "icon-wrapper" },
|
|
1428
1439
|
children: [
|
|
1429
|
-
|
|
1440
|
+
R({
|
|
1430
1441
|
ariaHidden: !0,
|
|
1431
|
-
name:
|
|
1442
|
+
name: Ft(o),
|
|
1432
1443
|
size: a
|
|
1433
1444
|
})
|
|
1434
1445
|
]
|
|
@@ -1442,24 +1453,24 @@ function Ft({
|
|
|
1442
1453
|
]
|
|
1443
1454
|
};
|
|
1444
1455
|
}
|
|
1445
|
-
function
|
|
1446
|
-
return m(
|
|
1456
|
+
function gi(t) {
|
|
1457
|
+
return m(Kt(t));
|
|
1447
1458
|
}
|
|
1448
|
-
function
|
|
1459
|
+
function Xt() {
|
|
1449
1460
|
if (customElements.get(Z)) return;
|
|
1450
1461
|
class t extends HTMLElement {
|
|
1451
1462
|
#t = (e) => {
|
|
1452
1463
|
const i = e.target;
|
|
1453
1464
|
if (!(i instanceof Element) || !i.closest('[data-part="close"]')) return;
|
|
1454
1465
|
const r = new CustomEvent(
|
|
1455
|
-
|
|
1466
|
+
zt,
|
|
1456
1467
|
{
|
|
1457
1468
|
bubbles: !0,
|
|
1458
1469
|
cancelable: !0
|
|
1459
1470
|
}
|
|
1460
1471
|
);
|
|
1461
1472
|
this.dispatchEvent(r) && (this.dispatchEvent(
|
|
1462
|
-
new CustomEvent(
|
|
1473
|
+
new CustomEvent(Lt, {
|
|
1463
1474
|
bubbles: !0
|
|
1464
1475
|
})
|
|
1465
1476
|
), this.remove());
|
|
@@ -1472,8 +1483,8 @@ function jt() {
|
|
|
1472
1483
|
}
|
|
1473
1484
|
#e() {
|
|
1474
1485
|
this.querySelector('[data-part="close"]') || this.append(
|
|
1475
|
-
|
|
1476
|
-
this.getAttribute("data-dismissible-label") ??
|
|
1486
|
+
Zt(
|
|
1487
|
+
this.getAttribute("data-dismissible-label") ?? U,
|
|
1477
1488
|
this.ownerDocument
|
|
1478
1489
|
)
|
|
1479
1490
|
);
|
|
@@ -1481,7 +1492,7 @@ function jt() {
|
|
|
1481
1492
|
}
|
|
1482
1493
|
customElements.define(Z, t);
|
|
1483
1494
|
}
|
|
1484
|
-
const
|
|
1495
|
+
const bi = {
|
|
1485
1496
|
name: "alert",
|
|
1486
1497
|
description: "Use `alert` to surface short, important messages.",
|
|
1487
1498
|
output: {
|
|
@@ -1502,7 +1513,7 @@ const ki = {
|
|
|
1502
1513
|
type: { kind: "boolean" }
|
|
1503
1514
|
},
|
|
1504
1515
|
dismissibleLabel: {
|
|
1505
|
-
default:
|
|
1516
|
+
default: U,
|
|
1506
1517
|
description: "Accessible label for the dismiss control.",
|
|
1507
1518
|
ignoredWhen: "`dismissible` is false",
|
|
1508
1519
|
type: { kind: "string" }
|
|
@@ -1536,12 +1547,12 @@ const ki = {
|
|
|
1536
1547
|
}
|
|
1537
1548
|
},
|
|
1538
1549
|
events: {
|
|
1539
|
-
[
|
|
1550
|
+
[zt]: {
|
|
1540
1551
|
bubbles: !0,
|
|
1541
1552
|
cancelable: !0,
|
|
1542
1553
|
description: "Fired before the alert is removed by a dismiss action. Call `preventDefault()` to keep the alert mounted."
|
|
1543
1554
|
},
|
|
1544
|
-
[
|
|
1555
|
+
[Lt]: {
|
|
1545
1556
|
bubbles: !0,
|
|
1546
1557
|
description: "Fired after the alert has been removed by an allowed dismiss action."
|
|
1547
1558
|
}
|
|
@@ -1607,7 +1618,7 @@ const ki = {
|
|
|
1607
1618
|
}
|
|
1608
1619
|
]
|
|
1609
1620
|
},
|
|
1610
|
-
value: { kind: "literal", text:
|
|
1621
|
+
value: { kind: "literal", text: U }
|
|
1611
1622
|
},
|
|
1612
1623
|
{
|
|
1613
1624
|
target: { on: "host" },
|
|
@@ -1630,11 +1641,11 @@ const ki = {
|
|
|
1630
1641
|
]
|
|
1631
1642
|
}
|
|
1632
1643
|
};
|
|
1633
|
-
function
|
|
1644
|
+
function Qt(t) {
|
|
1634
1645
|
if (t)
|
|
1635
1646
|
return t === !0 ? !0 : t;
|
|
1636
1647
|
}
|
|
1637
|
-
function
|
|
1648
|
+
function Ct(t) {
|
|
1638
1649
|
const {
|
|
1639
1650
|
appearance: n = "text",
|
|
1640
1651
|
current: e,
|
|
@@ -1653,7 +1664,7 @@ function Lt(t) {
|
|
|
1653
1664
|
} = t, f = v(a), z = o?.trim() || void 0;
|
|
1654
1665
|
if (p !== "visible" && !!!z)
|
|
1655
1666
|
throw new Error("labelVisibility requires icon when label is not visible.");
|
|
1656
|
-
const x =
|
|
1667
|
+
const x = Qt(i), k = z ? {
|
|
1657
1668
|
kind: "element",
|
|
1658
1669
|
tag: "span",
|
|
1659
1670
|
attrs: { class: "icon-wrapper" },
|
|
@@ -1684,10 +1695,10 @@ function Lt(t) {
|
|
|
1684
1695
|
children: k ? d === "end" ? [C, k] : [k, C] : [C]
|
|
1685
1696
|
};
|
|
1686
1697
|
}
|
|
1687
|
-
function
|
|
1688
|
-
return m(
|
|
1698
|
+
function vi(t) {
|
|
1699
|
+
return m(Ct(t));
|
|
1689
1700
|
}
|
|
1690
|
-
const
|
|
1701
|
+
const fi = {
|
|
1691
1702
|
name: "link",
|
|
1692
1703
|
description: "Use `link` to navigate to another page or resource.",
|
|
1693
1704
|
output: { element: "a", class: "set-link" },
|
|
@@ -1874,8 +1885,8 @@ const bi = {
|
|
|
1874
1885
|
}
|
|
1875
1886
|
]
|
|
1876
1887
|
}
|
|
1877
|
-
}, F = "set-banner",
|
|
1878
|
-
function
|
|
1888
|
+
}, F = "set-banner", Mt = "set-banner-before-dismiss", qt = "set-banner-dismiss", j = "Dismiss banner";
|
|
1889
|
+
function Yt(t, n) {
|
|
1879
1890
|
const e = n.createElement("div");
|
|
1880
1891
|
return e.setAttribute("data-part", "close"), e.innerHTML = mt({
|
|
1881
1892
|
appearance: "text",
|
|
@@ -1886,7 +1897,7 @@ function Xt(t, n) {
|
|
|
1886
1897
|
tone: "neutral"
|
|
1887
1898
|
}), e;
|
|
1888
1899
|
}
|
|
1889
|
-
function
|
|
1900
|
+
function Jt({
|
|
1890
1901
|
actionHref: t,
|
|
1891
1902
|
actionLabel: n,
|
|
1892
1903
|
dismissible: e = !0,
|
|
@@ -1899,7 +1910,7 @@ function Qt({
|
|
|
1899
1910
|
throw new Error("actionHref and actionLabel must be provided together.");
|
|
1900
1911
|
const d = v(r), l = i.trim() === "" ? j : i, p = [{ kind: "text", value: a }];
|
|
1901
1912
|
return t && n && (p.push({ kind: "text", value: " " }), p.push(
|
|
1902
|
-
|
|
1913
|
+
Ct({
|
|
1903
1914
|
href: t,
|
|
1904
1915
|
label: n,
|
|
1905
1916
|
underline: !0
|
|
@@ -1926,24 +1937,24 @@ function Qt({
|
|
|
1926
1937
|
]
|
|
1927
1938
|
};
|
|
1928
1939
|
}
|
|
1929
|
-
function
|
|
1930
|
-
return m(
|
|
1940
|
+
function yi(t) {
|
|
1941
|
+
return m(Jt(t));
|
|
1931
1942
|
}
|
|
1932
|
-
function
|
|
1943
|
+
function te() {
|
|
1933
1944
|
if (customElements.get(F)) return;
|
|
1934
1945
|
class t extends HTMLElement {
|
|
1935
1946
|
#t = (e) => {
|
|
1936
1947
|
const i = e.target;
|
|
1937
1948
|
if (!(i instanceof Element) || !i.closest('[data-part="close"]')) return;
|
|
1938
1949
|
const r = new CustomEvent(
|
|
1939
|
-
|
|
1950
|
+
Mt,
|
|
1940
1951
|
{
|
|
1941
1952
|
bubbles: !0,
|
|
1942
1953
|
cancelable: !0
|
|
1943
1954
|
}
|
|
1944
1955
|
);
|
|
1945
1956
|
this.dispatchEvent(r) && (this.dispatchEvent(
|
|
1946
|
-
new CustomEvent(
|
|
1957
|
+
new CustomEvent(qt, {
|
|
1947
1958
|
bubbles: !0
|
|
1948
1959
|
})
|
|
1949
1960
|
), this.remove());
|
|
@@ -1956,7 +1967,7 @@ function Yt() {
|
|
|
1956
1967
|
}
|
|
1957
1968
|
#e() {
|
|
1958
1969
|
this.querySelector('[data-part="close"]') || this.append(
|
|
1959
|
-
|
|
1970
|
+
Yt(
|
|
1960
1971
|
this.getAttribute("data-dismissible-label") ?? j,
|
|
1961
1972
|
this.ownerDocument
|
|
1962
1973
|
)
|
|
@@ -1965,7 +1976,7 @@ function Yt() {
|
|
|
1965
1976
|
}
|
|
1966
1977
|
customElements.define(F, t);
|
|
1967
1978
|
}
|
|
1968
|
-
const
|
|
1979
|
+
const wi = {
|
|
1969
1980
|
name: "banner",
|
|
1970
1981
|
description: "Use `banner` to display a prominent site-wide message.",
|
|
1971
1982
|
output: { element: F, class: "set-banner" },
|
|
@@ -2010,12 +2021,12 @@ const fi = {
|
|
|
2010
2021
|
}
|
|
2011
2022
|
},
|
|
2012
2023
|
events: {
|
|
2013
|
-
[
|
|
2024
|
+
[Mt]: {
|
|
2014
2025
|
bubbles: !0,
|
|
2015
2026
|
cancelable: !0,
|
|
2016
2027
|
description: "Fired before the banner is removed by a dismiss action. Call `preventDefault()` to keep the banner mounted."
|
|
2017
2028
|
},
|
|
2018
|
-
[
|
|
2029
|
+
[qt]: {
|
|
2019
2030
|
bubbles: !0,
|
|
2020
2031
|
description: "Fired after the banner has been removed by an allowed dismiss action."
|
|
2021
2032
|
}
|
|
@@ -2054,7 +2065,7 @@ const fi = {
|
|
|
2054
2065
|
]
|
|
2055
2066
|
}
|
|
2056
2067
|
}, K = "set-image";
|
|
2057
|
-
function
|
|
2068
|
+
function ee({
|
|
2058
2069
|
adaptive: t,
|
|
2059
2070
|
animated: n,
|
|
2060
2071
|
alt: e = "",
|
|
@@ -2075,17 +2086,17 @@ function Jt({
|
|
|
2075
2086
|
still: q,
|
|
2076
2087
|
width: x
|
|
2077
2088
|
}) {
|
|
2078
|
-
const k = r === "cover", C = v(d), E = f.trim(), S = z?.trim(), I = p?.trim(),
|
|
2079
|
-
const
|
|
2080
|
-
if (!
|
|
2089
|
+
const k = r === "cover", C = v(d), E = f.trim(), S = z?.trim(), I = p?.trim(), A = q?.trim(), V = b?.trim(), M = w?.map((u, L) => {
|
|
2090
|
+
const T = u.srcSet.trim(), y = u.media?.trim(), g = u.type?.trim(), Nt = u.sizes?.trim(), Bt = u.leadSrc?.trim(), Ot = u.still?.trim();
|
|
2091
|
+
if (!T)
|
|
2081
2092
|
throw new Error(`sources[${L}].srcSet must be non-empty.`);
|
|
2082
2093
|
return {
|
|
2083
2094
|
height: u.height,
|
|
2084
|
-
leadSrc:
|
|
2095
|
+
leadSrc: Bt || void 0,
|
|
2085
2096
|
media: y || void 0,
|
|
2086
|
-
sizes:
|
|
2087
|
-
srcSet:
|
|
2088
|
-
still:
|
|
2097
|
+
sizes: Nt || void 0,
|
|
2098
|
+
srcSet: T,
|
|
2099
|
+
still: Ot || void 0,
|
|
2089
2100
|
type: g || void 0,
|
|
2090
2101
|
width: u.width
|
|
2091
2102
|
};
|
|
@@ -2098,7 +2109,7 @@ function Jt({
|
|
|
2098
2109
|
...M.map((u) => u.srcSet)
|
|
2099
2110
|
].some((u) => u?.includes("#")))
|
|
2100
2111
|
throw new Error("adaptive sources must not contain URL fragments.");
|
|
2101
|
-
const
|
|
2112
|
+
const N = !!(n && t), nt = !!(n && I), $ = !!I || M.some((u) => u.leadSrc);
|
|
2102
2113
|
if (!n && $)
|
|
2103
2114
|
throw new Error("leadSrc requires animated.");
|
|
2104
2115
|
if (n) {
|
|
@@ -2116,16 +2127,16 @@ function Jt({
|
|
|
2116
2127
|
throw new Error(
|
|
2117
2128
|
"the {scheme} placeholder requires adaptive to enable light/dark."
|
|
2118
2129
|
);
|
|
2119
|
-
if (!
|
|
2130
|
+
if (!A)
|
|
2120
2131
|
throw new Error("animated requires a still.");
|
|
2121
2132
|
if ([
|
|
2122
|
-
|
|
2133
|
+
A,
|
|
2123
2134
|
...M.map((y) => y.still)
|
|
2124
2135
|
].filter((y) => !!y).some((y) => y.includes("#")))
|
|
2125
2136
|
throw new Error("animated still must not contain URL fragments.");
|
|
2126
2137
|
}
|
|
2127
|
-
const kt = (u, L) => u.split(/,\s+/).map((
|
|
2128
|
-
const [y, ...g] =
|
|
2138
|
+
const kt = (u, L) => u.split(/,\s+/).map((T) => {
|
|
2139
|
+
const [y, ...g] = T.trim().split(/\s+/);
|
|
2129
2140
|
if (!y || g.length > 1)
|
|
2130
2141
|
throw new Error(
|
|
2131
2142
|
"adaptive srcSet candidates must be a URL plus at most one descriptor, separated by a comma and whitespace."
|
|
@@ -2151,7 +2162,7 @@ function Jt({
|
|
|
2151
2162
|
};
|
|
2152
2163
|
if (M.length === 0)
|
|
2153
2164
|
return L;
|
|
2154
|
-
const
|
|
2165
|
+
const T = M.map((y) => ({
|
|
2155
2166
|
kind: "element",
|
|
2156
2167
|
tag: "source",
|
|
2157
2168
|
attrs: {
|
|
@@ -2168,9 +2179,9 @@ function Jt({
|
|
|
2168
2179
|
kind: "element",
|
|
2169
2180
|
tag: "picture",
|
|
2170
2181
|
attrs: { "data-scheme": u },
|
|
2171
|
-
children: [...
|
|
2182
|
+
children: [...T, L]
|
|
2172
2183
|
};
|
|
2173
|
-
}, at = "(prefers-reduced-motion: reduce)",
|
|
2184
|
+
}, at = "(prefers-reduced-motion: reduce)", W = (u, L) => L ? u.replaceAll("{scheme}", L) : u, ot = (u, L) => L ? `${u}#${L}` : u, gt = (u) => {
|
|
2174
2185
|
const L = M.filter((g) => g.still).map((g) => ({
|
|
2175
2186
|
kind: "element",
|
|
2176
2187
|
tag: "source",
|
|
@@ -2187,18 +2198,18 @@ function Jt({
|
|
|
2187
2198
|
tag: "source",
|
|
2188
2199
|
attrs: {
|
|
2189
2200
|
media: at,
|
|
2190
|
-
srcset: ot(
|
|
2201
|
+
srcset: ot(A, u)
|
|
2191
2202
|
},
|
|
2192
2203
|
children: []
|
|
2193
2204
|
});
|
|
2194
|
-
const
|
|
2205
|
+
const T = M.map((g) => ({
|
|
2195
2206
|
kind: "element",
|
|
2196
2207
|
tag: "source",
|
|
2197
2208
|
attrs: {
|
|
2198
2209
|
height: g.height ? String(g.height) : void 0,
|
|
2199
2210
|
media: g.media,
|
|
2200
2211
|
sizes: g.sizes,
|
|
2201
|
-
srcset:
|
|
2212
|
+
srcset: W(g.srcSet, u),
|
|
2202
2213
|
type: g.type,
|
|
2203
2214
|
width: g.width ? String(g.width) : void 0
|
|
2204
2215
|
},
|
|
@@ -2213,8 +2224,8 @@ function Jt({
|
|
|
2213
2224
|
height: k ? void 0 : o ? String(o) : void 0,
|
|
2214
2225
|
loading: l && !s ? "lazy" : void 0,
|
|
2215
2226
|
sizes: M.length > 0 ? void 0 : V || void 0,
|
|
2216
|
-
src:
|
|
2217
|
-
srcset: S ?
|
|
2227
|
+
src: W(E, u),
|
|
2228
|
+
srcset: S ? W(S, u) : void 0,
|
|
2218
2229
|
width: k ? void 0 : x ? String(x) : void 0
|
|
2219
2230
|
},
|
|
2220
2231
|
children: []
|
|
@@ -2223,10 +2234,10 @@ function Jt({
|
|
|
2223
2234
|
kind: "element",
|
|
2224
2235
|
tag: "picture",
|
|
2225
2236
|
attrs: { "data-scheme": u },
|
|
2226
|
-
children: [...L, ...
|
|
2237
|
+
children: [...L, ...T, y]
|
|
2227
2238
|
};
|
|
2228
|
-
},
|
|
2229
|
-
const L = "(prefers-reduced-motion: no-preference)",
|
|
2239
|
+
}, Vt = (u) => {
|
|
2240
|
+
const L = "(prefers-reduced-motion: no-preference)", T = M.map((g) => {
|
|
2230
2241
|
if (g.leadSrc)
|
|
2231
2242
|
return {
|
|
2232
2243
|
kind: "element",
|
|
@@ -2235,20 +2246,20 @@ function Jt({
|
|
|
2235
2246
|
height: g.height ? String(g.height) : void 0,
|
|
2236
2247
|
media: g.media ? `${L} and ${g.media}` : L,
|
|
2237
2248
|
sizes: g.sizes,
|
|
2238
|
-
srcset:
|
|
2249
|
+
srcset: W(g.leadSrc, u),
|
|
2239
2250
|
type: g.type,
|
|
2240
2251
|
width: g.width ? String(g.width) : void 0
|
|
2241
2252
|
},
|
|
2242
2253
|
children: []
|
|
2243
2254
|
};
|
|
2244
2255
|
}).filter((g) => !!g);
|
|
2245
|
-
|
|
2256
|
+
T.push({
|
|
2246
2257
|
kind: "element",
|
|
2247
2258
|
tag: "source",
|
|
2248
2259
|
attrs: {
|
|
2249
2260
|
media: L,
|
|
2250
2261
|
sizes: M.length > 0 ? void 0 : V || void 0,
|
|
2251
|
-
srcset:
|
|
2262
|
+
srcset: W(I, u)
|
|
2252
2263
|
},
|
|
2253
2264
|
children: []
|
|
2254
2265
|
});
|
|
@@ -2259,7 +2270,7 @@ function Jt({
|
|
|
2259
2270
|
alt: "",
|
|
2260
2271
|
class: "img",
|
|
2261
2272
|
height: k ? void 0 : o ? String(o) : void 0,
|
|
2262
|
-
src: ot(
|
|
2273
|
+
src: ot(A, u),
|
|
2263
2274
|
width: k ? void 0 : x ? String(x) : void 0
|
|
2264
2275
|
},
|
|
2265
2276
|
children: []
|
|
@@ -2268,9 +2279,9 @@ function Jt({
|
|
|
2268
2279
|
kind: "element",
|
|
2269
2280
|
tag: "picture",
|
|
2270
2281
|
attrs: { "data-scheme": u, "data-layer": "lead" },
|
|
2271
|
-
children: [...
|
|
2282
|
+
children: [...T, y]
|
|
2272
2283
|
};
|
|
2273
|
-
}, dt = (u) => nt ? [gt(u),
|
|
2284
|
+
}, dt = (u) => nt ? [gt(u), Vt(u)] : [gt(u)], Ht = n ? N ? [...dt("light"), ...dt("dark")] : dt() : t ? [rt("light"), rt("dark")] : [rt()], G = [];
|
|
2274
2285
|
return o && G.push(`--set-image-block-size: ${o / 16}rem`), x && G.push(`--set-image-inline-size: ${x / 16}rem`), {
|
|
2275
2286
|
kind: "element",
|
|
2276
2287
|
tag: K,
|
|
@@ -2288,13 +2299,13 @@ function Jt({
|
|
|
2288
2299
|
id: C,
|
|
2289
2300
|
style: G.length > 0 ? G.join("; ") : void 0
|
|
2290
2301
|
},
|
|
2291
|
-
children:
|
|
2302
|
+
children: Ht
|
|
2292
2303
|
};
|
|
2293
2304
|
}
|
|
2294
|
-
function
|
|
2295
|
-
return m(
|
|
2305
|
+
function ie(t) {
|
|
2306
|
+
return m(ee(t));
|
|
2296
2307
|
}
|
|
2297
|
-
function
|
|
2308
|
+
function ne() {
|
|
2298
2309
|
if (customElements.get(K)) return;
|
|
2299
2310
|
const t = "(prefers-reduced-motion: reduce)";
|
|
2300
2311
|
class n extends HTMLElement {
|
|
@@ -2317,7 +2328,7 @@ function ee() {
|
|
|
2317
2328
|
}
|
|
2318
2329
|
customElements.define(K, n);
|
|
2319
2330
|
}
|
|
2320
|
-
const
|
|
2331
|
+
const Si = {
|
|
2321
2332
|
name: "image",
|
|
2322
2333
|
description: "Use `image` to render a responsive image with intrinsic, fluid, or cover fit, and optional art-directed `sources`.",
|
|
2323
2334
|
output: { element: K, class: "set-image" },
|
|
@@ -2546,11 +2557,11 @@ const yi = {
|
|
|
2546
2557
|
}
|
|
2547
2558
|
]
|
|
2548
2559
|
}
|
|
2549
|
-
}, X = "set-lightswitch",
|
|
2550
|
-
function
|
|
2560
|
+
}, X = "set-lightswitch", It = "set-lightswitch-change", st = "set-theme", lt = "Switch to dark theme", pt = "Switch to light theme";
|
|
2561
|
+
function re(t) {
|
|
2551
2562
|
return t === "dark" ? "light" : "dark";
|
|
2552
2563
|
}
|
|
2553
|
-
function
|
|
2564
|
+
function ae(t) {
|
|
2554
2565
|
return t === "dark" ? "moon" : "sunny";
|
|
2555
2566
|
}
|
|
2556
2567
|
function vt(t, n) {
|
|
@@ -2564,9 +2575,9 @@ function vt(t, n) {
|
|
|
2564
2575
|
tag: "span",
|
|
2565
2576
|
attrs: { class: "icon-wrapper" },
|
|
2566
2577
|
children: [
|
|
2567
|
-
|
|
2578
|
+
R({
|
|
2568
2579
|
ariaHidden: !0,
|
|
2569
|
-
name:
|
|
2580
|
+
name: ae(t),
|
|
2570
2581
|
size: "fill"
|
|
2571
2582
|
})
|
|
2572
2583
|
]
|
|
@@ -2580,7 +2591,7 @@ function vt(t, n) {
|
|
|
2580
2591
|
]
|
|
2581
2592
|
};
|
|
2582
2593
|
}
|
|
2583
|
-
function
|
|
2594
|
+
function oe({
|
|
2584
2595
|
appearance: t = "text",
|
|
2585
2596
|
id: n,
|
|
2586
2597
|
labelDark: e = lt,
|
|
@@ -2613,25 +2624,25 @@ function re({
|
|
|
2613
2624
|
]
|
|
2614
2625
|
};
|
|
2615
2626
|
}
|
|
2616
|
-
function
|
|
2617
|
-
return m(
|
|
2627
|
+
function xi(t) {
|
|
2628
|
+
return m(oe(t));
|
|
2618
2629
|
}
|
|
2619
|
-
function
|
|
2630
|
+
function de() {
|
|
2620
2631
|
if (customElements.get(X)) return;
|
|
2621
2632
|
class t extends HTMLElement {
|
|
2622
2633
|
#t = (e) => {
|
|
2623
2634
|
const i = e.target;
|
|
2624
2635
|
if (!(i instanceof Element) || !i.closest("button")) return;
|
|
2625
|
-
const r =
|
|
2626
|
-
r === this.#
|
|
2627
|
-
new CustomEvent(
|
|
2636
|
+
const r = re(this.#u());
|
|
2637
|
+
r === this.#a() ? this.#r() : this.#n(r), this.#o(), this.dispatchEvent(
|
|
2638
|
+
new CustomEvent(It, {
|
|
2628
2639
|
bubbles: !0,
|
|
2629
2640
|
detail: { stored: !!this.#i(), theme: r }
|
|
2630
2641
|
})
|
|
2631
2642
|
);
|
|
2632
2643
|
};
|
|
2633
2644
|
connectedCallback() {
|
|
2634
|
-
this.removeEventListener("click", this.#t), this.addEventListener("click", this.#t), this.#i() && this.#
|
|
2645
|
+
this.removeEventListener("click", this.#t), this.addEventListener("click", this.#t), this.#i() && this.#o();
|
|
2635
2646
|
}
|
|
2636
2647
|
disconnectedCallback() {
|
|
2637
2648
|
this.removeEventListener("click", this.#t);
|
|
@@ -2657,13 +2668,13 @@ function ae() {
|
|
|
2657
2668
|
} catch {
|
|
2658
2669
|
}
|
|
2659
2670
|
}
|
|
2660
|
-
#
|
|
2671
|
+
#r() {
|
|
2661
2672
|
try {
|
|
2662
2673
|
this.#e()?.removeItem(st);
|
|
2663
2674
|
} catch {
|
|
2664
2675
|
}
|
|
2665
2676
|
}
|
|
2666
|
-
#
|
|
2677
|
+
#a() {
|
|
2667
2678
|
const e = this.ownerDocument.defaultView;
|
|
2668
2679
|
return !e || typeof e.matchMedia != "function" ? "light" : e.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
|
|
2669
2680
|
}
|
|
@@ -2675,9 +2686,9 @@ function ae() {
|
|
|
2675
2686
|
return e === "light" || e === "dark" ? e : void 0;
|
|
2676
2687
|
}
|
|
2677
2688
|
#u() {
|
|
2678
|
-
return this.#i() ?? this.#s() ?? this.#
|
|
2689
|
+
return this.#i() ?? this.#s() ?? this.#a();
|
|
2679
2690
|
}
|
|
2680
|
-
#
|
|
2691
|
+
#o() {
|
|
2681
2692
|
const e = this.#c();
|
|
2682
2693
|
if (!e) return;
|
|
2683
2694
|
const i = this.#i();
|
|
@@ -2686,7 +2697,7 @@ function ae() {
|
|
|
2686
2697
|
}
|
|
2687
2698
|
customElements.define(X, t);
|
|
2688
2699
|
}
|
|
2689
|
-
const
|
|
2700
|
+
const Ei = {
|
|
2690
2701
|
name: "lightswitch",
|
|
2691
2702
|
description: "Use `lightswitch` to let users toggle between light and dark themes.",
|
|
2692
2703
|
output: { element: X, class: "set-lightswitch" },
|
|
@@ -2718,7 +2729,7 @@ const Si = {
|
|
|
2718
2729
|
}
|
|
2719
2730
|
},
|
|
2720
2731
|
events: {
|
|
2721
|
-
[
|
|
2732
|
+
[It]: {
|
|
2722
2733
|
bubbles: !0,
|
|
2723
2734
|
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."
|
|
2724
2735
|
}
|
|
@@ -2757,8 +2768,8 @@ const Si = {
|
|
|
2757
2768
|
}
|
|
2758
2769
|
]
|
|
2759
2770
|
}
|
|
2760
|
-
}, Q = "set-menu",
|
|
2761
|
-
function
|
|
2771
|
+
}, Q = "set-menu", At = "set-menu-choose";
|
|
2772
|
+
function se({
|
|
2762
2773
|
align: t = "start",
|
|
2763
2774
|
id: n,
|
|
2764
2775
|
items: e,
|
|
@@ -2839,28 +2850,43 @@ function oe({
|
|
|
2839
2850
|
]
|
|
2840
2851
|
};
|
|
2841
2852
|
}
|
|
2842
|
-
function
|
|
2843
|
-
return m(
|
|
2853
|
+
function zi(t) {
|
|
2854
|
+
return m(se(t));
|
|
2844
2855
|
}
|
|
2845
|
-
function
|
|
2856
|
+
function le() {
|
|
2846
2857
|
if (customElements.get(Q)) return;
|
|
2847
2858
|
class t extends HTMLElement {
|
|
2848
2859
|
#t;
|
|
2849
2860
|
#e;
|
|
2850
2861
|
#i;
|
|
2851
2862
|
#n;
|
|
2863
|
+
/**
|
|
2864
|
+
* Reactive mirror of the `triggerActivity` render prop. Toggles the busy
|
|
2865
|
+
* affordance on the trigger button at runtime; `null` clears it. Requires
|
|
2866
|
+
* the menu to be rendered primed (`triggerActivity: "idle"`) for the
|
|
2867
|
+
* spinner to appear.
|
|
2868
|
+
*/
|
|
2869
|
+
get triggerActivity() {
|
|
2870
|
+
return this.#r()?.getAttribute(
|
|
2871
|
+
"data-activity"
|
|
2872
|
+
);
|
|
2873
|
+
}
|
|
2874
|
+
set triggerActivity(e) {
|
|
2875
|
+
const i = this.#r();
|
|
2876
|
+
i && Gt(i, e);
|
|
2877
|
+
}
|
|
2852
2878
|
connectedCallback() {
|
|
2853
|
-
this.#p(), this.#
|
|
2879
|
+
this.#p(), this.#d(!1), this.#k();
|
|
2854
2880
|
}
|
|
2855
2881
|
disconnectedCallback() {
|
|
2856
2882
|
this.#p();
|
|
2857
2883
|
}
|
|
2858
|
-
#
|
|
2884
|
+
#r() {
|
|
2859
2885
|
return this.querySelector(
|
|
2860
2886
|
'[data-part="trigger"] .set-button'
|
|
2861
2887
|
);
|
|
2862
2888
|
}
|
|
2863
|
-
#
|
|
2889
|
+
#a() {
|
|
2864
2890
|
return this.querySelector('[role="menu"]');
|
|
2865
2891
|
}
|
|
2866
2892
|
#c() {
|
|
@@ -2874,18 +2900,18 @@ function de() {
|
|
|
2874
2900
|
#u() {
|
|
2875
2901
|
return this.hasAttribute("data-open");
|
|
2876
2902
|
}
|
|
2877
|
-
#
|
|
2903
|
+
#o(e) {
|
|
2878
2904
|
const i = this.#c();
|
|
2879
2905
|
if (i.length === 0) return;
|
|
2880
2906
|
const r = (e % i.length + i.length) % i.length;
|
|
2881
2907
|
i[r]?.focus();
|
|
2882
2908
|
}
|
|
2883
2909
|
#l(e = 0) {
|
|
2884
|
-
const i = this.#
|
|
2885
|
-
!i || !r || (i.hidden = !1, this.setAttribute("data-open", ""), r.setAttribute("aria-expanded", "true"), this.#
|
|
2910
|
+
const i = this.#a(), r = this.#r();
|
|
2911
|
+
!i || !r || (i.hidden = !1, this.setAttribute("data-open", ""), r.setAttribute("aria-expanded", "true"), this.#o(e));
|
|
2886
2912
|
}
|
|
2887
|
-
#
|
|
2888
|
-
const i = this.#
|
|
2913
|
+
#d(e = !1) {
|
|
2914
|
+
const i = this.#a(), r = this.#r();
|
|
2889
2915
|
!i || !r || (i.hidden = !0, this.removeAttribute("data-open"), r.setAttribute("aria-expanded", "false"), e && r.focus());
|
|
2890
2916
|
}
|
|
2891
2917
|
#h(e) {
|
|
@@ -2893,7 +2919,7 @@ function de() {
|
|
|
2893
2919
|
this.querySelectorAll('[role="menuitem"]')
|
|
2894
2920
|
).indexOf(e);
|
|
2895
2921
|
this.dispatchEvent(
|
|
2896
|
-
new CustomEvent(
|
|
2922
|
+
new CustomEvent(At, {
|
|
2897
2923
|
bubbles: !0,
|
|
2898
2924
|
detail: {
|
|
2899
2925
|
id: e.getAttribute("data-item-id") || void 0,
|
|
@@ -2909,7 +2935,7 @@ function de() {
|
|
|
2909
2935
|
if (!(i instanceof Element)) return;
|
|
2910
2936
|
if (i.closest('[data-part="trigger"] .set-button')) {
|
|
2911
2937
|
if (this.#u()) {
|
|
2912
|
-
this.#
|
|
2938
|
+
this.#d();
|
|
2913
2939
|
return;
|
|
2914
2940
|
}
|
|
2915
2941
|
this.#l(0);
|
|
@@ -2917,17 +2943,17 @@ function de() {
|
|
|
2917
2943
|
}
|
|
2918
2944
|
const r = i.closest('[role="menuitem"]');
|
|
2919
2945
|
if (r && this.contains(r)) {
|
|
2920
|
-
this.#s(r) || (this.#h(r), this.#
|
|
2946
|
+
this.#s(r) || (this.#h(r), this.#d(!0));
|
|
2921
2947
|
return;
|
|
2922
2948
|
}
|
|
2923
2949
|
}, this.#e = (e) => {
|
|
2924
2950
|
const i = e.target;
|
|
2925
|
-
i instanceof Node && this.#u() && !this.contains(i) && this.#
|
|
2951
|
+
i instanceof Node && this.#u() && !this.contains(i) && this.#d();
|
|
2926
2952
|
}, this.#n = (e) => {
|
|
2927
|
-
const i = this.#
|
|
2953
|
+
const i = this.#r(), r = this.#a();
|
|
2928
2954
|
if (!i || !r) return;
|
|
2929
2955
|
if ((e.key === "Escape" || e.key === "Esc") && this.#u()) {
|
|
2930
|
-
e.preventDefault(), this.#
|
|
2956
|
+
e.preventDefault(), this.#d(!0);
|
|
2931
2957
|
return;
|
|
2932
2958
|
}
|
|
2933
2959
|
const a = this.ownerDocument.activeElement, o = this.#c(), d = o.indexOf(a);
|
|
@@ -2937,18 +2963,18 @@ function de() {
|
|
|
2937
2963
|
}
|
|
2938
2964
|
if (r.contains(a)) {
|
|
2939
2965
|
if (a instanceof HTMLButtonElement && (e.key === "Enter" || e.key === " ")) {
|
|
2940
|
-
e.preventDefault(), this.#s(a) || (this.#h(a), this.#
|
|
2966
|
+
e.preventDefault(), this.#s(a) || (this.#h(a), this.#d(!0));
|
|
2941
2967
|
return;
|
|
2942
2968
|
}
|
|
2943
|
-
e.key === "ArrowDown" && (e.preventDefault(), this.#
|
|
2969
|
+
e.key === "ArrowDown" && (e.preventDefault(), this.#o(d + 1)), e.key === "ArrowUp" && (e.preventDefault(), this.#o(d - 1)), e.key === "Home" && (e.preventDefault(), this.#o(0)), e.key === "End" && (e.preventDefault(), this.#o(o.length - 1)), e.key === "Tab" && this.#d(!1);
|
|
2944
2970
|
}
|
|
2945
2971
|
}, this.#i = (e) => {
|
|
2946
2972
|
const i = e.relatedTarget;
|
|
2947
2973
|
if (!(i instanceof Node)) {
|
|
2948
|
-
this.#
|
|
2974
|
+
this.#d();
|
|
2949
2975
|
return;
|
|
2950
2976
|
}
|
|
2951
|
-
this.contains(i) || this.#
|
|
2977
|
+
this.contains(i) || this.#d();
|
|
2952
2978
|
}, this.addEventListener("click", this.#t), this.addEventListener("keydown", this.#n), this.addEventListener("focusout", this.#i), this.ownerDocument.addEventListener("click", this.#e);
|
|
2953
2979
|
}
|
|
2954
2980
|
#p() {
|
|
@@ -2957,7 +2983,7 @@ function de() {
|
|
|
2957
2983
|
}
|
|
2958
2984
|
customElements.define(Q, t);
|
|
2959
2985
|
}
|
|
2960
|
-
const
|
|
2986
|
+
const Li = {
|
|
2961
2987
|
name: "menu",
|
|
2962
2988
|
description: "Use `menu` to show a list of actions from a trigger button.",
|
|
2963
2989
|
output: {
|
|
@@ -3039,7 +3065,7 @@ const Ei = {
|
|
|
3039
3065
|
}
|
|
3040
3066
|
},
|
|
3041
3067
|
events: {
|
|
3042
|
-
[
|
|
3068
|
+
[At]: {
|
|
3043
3069
|
bubbles: !0,
|
|
3044
3070
|
description: "Fired when a menu item is activated.",
|
|
3045
3071
|
detail: "{ id?: string; index: number; label: string }"
|
|
@@ -3100,7 +3126,7 @@ const Ei = {
|
|
|
3100
3126
|
]
|
|
3101
3127
|
}
|
|
3102
3128
|
}, ct = "Menu";
|
|
3103
|
-
function
|
|
3129
|
+
function pe({
|
|
3104
3130
|
controlsId: t,
|
|
3105
3131
|
expanded: n,
|
|
3106
3132
|
id: e,
|
|
@@ -3142,10 +3168,10 @@ function se({
|
|
|
3142
3168
|
]
|
|
3143
3169
|
};
|
|
3144
3170
|
}
|
|
3145
|
-
function
|
|
3146
|
-
return m(
|
|
3171
|
+
function ce(t = {}) {
|
|
3172
|
+
return m(pe(t));
|
|
3147
3173
|
}
|
|
3148
|
-
const
|
|
3174
|
+
const Ci = {
|
|
3149
3175
|
name: "expander",
|
|
3150
3176
|
description: "Use `expander` as a toggle for disclosure regions such as menus.",
|
|
3151
3177
|
output: { element: "button", class: "set-expander" },
|
|
@@ -3211,7 +3237,7 @@ const zi = {
|
|
|
3211
3237
|
]
|
|
3212
3238
|
}
|
|
3213
3239
|
}, Y = "set-nav", ft = "data-set-scroll-locked";
|
|
3214
|
-
function
|
|
3240
|
+
function ue({
|
|
3215
3241
|
collapsible: t,
|
|
3216
3242
|
contentId: n,
|
|
3217
3243
|
expanderLabel: e,
|
|
@@ -3288,10 +3314,10 @@ function pe({
|
|
|
3288
3314
|
]
|
|
3289
3315
|
};
|
|
3290
3316
|
}
|
|
3291
|
-
function
|
|
3292
|
-
return m(
|
|
3317
|
+
function Mi(t) {
|
|
3318
|
+
return m(ue(t));
|
|
3293
3319
|
}
|
|
3294
|
-
function
|
|
3320
|
+
function he() {
|
|
3295
3321
|
if (customElements.get(Y)) return;
|
|
3296
3322
|
class t extends HTMLElement {
|
|
3297
3323
|
#t;
|
|
@@ -3299,26 +3325,26 @@ function ce() {
|
|
|
3299
3325
|
#i;
|
|
3300
3326
|
#n;
|
|
3301
3327
|
connectedCallback() {
|
|
3302
|
-
this.#
|
|
3328
|
+
this.#d(), this.#h(), this.#c(), this.#u(), this.#o();
|
|
3303
3329
|
}
|
|
3304
3330
|
disconnectedCallback() {
|
|
3305
|
-
this.#s(!1), this.#
|
|
3331
|
+
this.#s(!1), this.#d(), this.#h();
|
|
3306
3332
|
}
|
|
3307
|
-
#
|
|
3333
|
+
#r() {
|
|
3308
3334
|
return this.hasAttribute("data-collapsible") ? this.querySelector(".nav") : null;
|
|
3309
3335
|
}
|
|
3310
|
-
#
|
|
3336
|
+
#a() {
|
|
3311
3337
|
return this.querySelector(
|
|
3312
3338
|
'[data-part="expander"] .set-expander'
|
|
3313
3339
|
);
|
|
3314
3340
|
}
|
|
3315
3341
|
#c() {
|
|
3316
|
-
const e = this.#
|
|
3342
|
+
const e = this.#r();
|
|
3317
3343
|
if (!e || e.querySelector('[data-part="expander"]')) return;
|
|
3318
3344
|
const i = e.querySelector(".content");
|
|
3319
3345
|
i && e.insertAdjacentHTML(
|
|
3320
3346
|
"afterbegin",
|
|
3321
|
-
`<div data-part="expander">${
|
|
3347
|
+
`<div data-part="expander">${ce({
|
|
3322
3348
|
controlsId: i.id || void 0,
|
|
3323
3349
|
label: this.getAttribute("data-expander-label") || void 0,
|
|
3324
3350
|
size: this.getAttribute("data-size") === "sm" ? "md" : "lg"
|
|
@@ -3326,19 +3352,19 @@ function ce() {
|
|
|
3326
3352
|
);
|
|
3327
3353
|
}
|
|
3328
3354
|
#s(e) {
|
|
3329
|
-
const i = this.#
|
|
3355
|
+
const i = this.#a();
|
|
3330
3356
|
!i || i.getAttribute("aria-expanded") === "true" === e || (i.setAttribute("aria-expanded", e ? "true" : "false"), this.#l(e));
|
|
3331
3357
|
}
|
|
3332
3358
|
#u() {
|
|
3333
3359
|
this.#t = (e) => {
|
|
3334
3360
|
const i = e.target;
|
|
3335
3361
|
if (!(i instanceof Element) || !i.closest('[data-part="expander"] .set-expander')) return;
|
|
3336
|
-
const r = this.#
|
|
3362
|
+
const r = this.#a();
|
|
3337
3363
|
r && this.#s(r.getAttribute("aria-expanded") !== "true");
|
|
3338
3364
|
}, this.addEventListener("click", this.#t);
|
|
3339
3365
|
}
|
|
3340
|
-
#
|
|
3341
|
-
const e = this.#
|
|
3366
|
+
#o() {
|
|
3367
|
+
const e = this.#r(), i = this.ownerDocument.defaultView;
|
|
3342
3368
|
if (!e || !i || (this.#i = (a) => {
|
|
3343
3369
|
a.key !== "Escape" && a.key !== "Esc" || this.#s(!1);
|
|
3344
3370
|
}, i.addEventListener("keydown", this.#i), this.getAttribute("data-collapsible") !== "belowTablet") || typeof i.matchMedia != "function") return;
|
|
@@ -3357,7 +3383,7 @@ function ce() {
|
|
|
3357
3383
|
i.removeAttribute(ft);
|
|
3358
3384
|
}
|
|
3359
3385
|
}
|
|
3360
|
-
#
|
|
3386
|
+
#d() {
|
|
3361
3387
|
this.#t && (this.removeEventListener("click", this.#t), this.#t = void 0);
|
|
3362
3388
|
}
|
|
3363
3389
|
#h() {
|
|
@@ -3370,7 +3396,7 @@ function ce() {
|
|
|
3370
3396
|
}
|
|
3371
3397
|
customElements.define(Y, t);
|
|
3372
3398
|
}
|
|
3373
|
-
const
|
|
3399
|
+
const qi = {
|
|
3374
3400
|
name: "nav",
|
|
3375
3401
|
description: "Use `nav` to render a primary navigation list.",
|
|
3376
3402
|
output: { element: Y, class: "set-nav" },
|
|
@@ -3486,7 +3512,7 @@ const Ci = {
|
|
|
3486
3512
|
]
|
|
3487
3513
|
}
|
|
3488
3514
|
}, J = "set-range";
|
|
3489
|
-
function
|
|
3515
|
+
function me({
|
|
3490
3516
|
description: t,
|
|
3491
3517
|
disabled: n,
|
|
3492
3518
|
id: e,
|
|
@@ -3560,10 +3586,10 @@ function ue({
|
|
|
3560
3586
|
children: f
|
|
3561
3587
|
};
|
|
3562
3588
|
}
|
|
3563
|
-
function
|
|
3564
|
-
return m(
|
|
3589
|
+
function Ii(t) {
|
|
3590
|
+
return m(me(t));
|
|
3565
3591
|
}
|
|
3566
|
-
function
|
|
3592
|
+
function ke() {
|
|
3567
3593
|
if (customElements.get(J)) return;
|
|
3568
3594
|
class t extends HTMLElement {
|
|
3569
3595
|
#t;
|
|
@@ -3572,10 +3598,10 @@ function he() {
|
|
|
3572
3598
|
i instanceof HTMLInputElement && i.matches(".range") && this.#i();
|
|
3573
3599
|
};
|
|
3574
3600
|
connectedCallback() {
|
|
3575
|
-
this.removeEventListener("input", this.#e), this.#
|
|
3601
|
+
this.removeEventListener("input", this.#e), this.#r(), this.#i(), this.addEventListener("input", this.#e);
|
|
3576
3602
|
}
|
|
3577
3603
|
disconnectedCallback() {
|
|
3578
|
-
this.removeEventListener("input", this.#e), this.#
|
|
3604
|
+
this.removeEventListener("input", this.#e), this.#a();
|
|
3579
3605
|
}
|
|
3580
3606
|
#i() {
|
|
3581
3607
|
const e = this.querySelector(".range"), i = this.querySelector(".output");
|
|
@@ -3593,10 +3619,10 @@ function he() {
|
|
|
3593
3619
|
// not fire an `input` event, so the output wouldn't track it. Override
|
|
3594
3620
|
// the instance's `value` accessor to sync the output on set, restoring
|
|
3595
3621
|
// the prototype behaviour on disconnect.
|
|
3596
|
-
#
|
|
3622
|
+
#r() {
|
|
3597
3623
|
const e = this.querySelector(".range");
|
|
3598
3624
|
if (!e || e === this.#t) return;
|
|
3599
|
-
this.#
|
|
3625
|
+
this.#a();
|
|
3600
3626
|
const i = Object.getOwnPropertyDescriptor(
|
|
3601
3627
|
HTMLInputElement.prototype,
|
|
3602
3628
|
"value"
|
|
@@ -3614,13 +3640,13 @@ function he() {
|
|
|
3614
3640
|
}
|
|
3615
3641
|
}), this.#t = e;
|
|
3616
3642
|
}
|
|
3617
|
-
#
|
|
3643
|
+
#a() {
|
|
3618
3644
|
this.#t && (delete this.#t.value, this.#t = void 0);
|
|
3619
3645
|
}
|
|
3620
3646
|
}
|
|
3621
3647
|
customElements.define(J, t);
|
|
3622
3648
|
}
|
|
3623
|
-
const
|
|
3649
|
+
const Ai = {
|
|
3624
3650
|
name: "range",
|
|
3625
3651
|
description: "Use `range` to let users pick a numeric value along a scale.",
|
|
3626
3652
|
output: { element: J, class: "set-range" },
|
|
@@ -3752,8 +3778,8 @@ const qi = {
|
|
|
3752
3778
|
}
|
|
3753
3779
|
]
|
|
3754
3780
|
}
|
|
3755
|
-
}, tt = "set-sidebar",
|
|
3756
|
-
function
|
|
3781
|
+
}, tt = "set-sidebar", ge = "(min-width: 68em)", O = "Collapse sidebar", ut = "Open sidebar";
|
|
3782
|
+
function be(t, n) {
|
|
3757
3783
|
return `<div data-part="close">${mt({
|
|
3758
3784
|
appearance: "text",
|
|
3759
3785
|
icon: "panel-left",
|
|
@@ -3765,18 +3791,18 @@ function ke(t, n) {
|
|
|
3765
3791
|
type: "button"
|
|
3766
3792
|
})}</div>`;
|
|
3767
3793
|
}
|
|
3768
|
-
function
|
|
3794
|
+
function ve({
|
|
3769
3795
|
aboveNotebook: t = "persistent",
|
|
3770
3796
|
buttonSize: n = "md",
|
|
3771
3797
|
children: e,
|
|
3772
|
-
collapseLabel: i =
|
|
3798
|
+
collapseLabel: i = O,
|
|
3773
3799
|
footer: r,
|
|
3774
3800
|
header: a,
|
|
3775
3801
|
id: o,
|
|
3776
3802
|
surface: d,
|
|
3777
3803
|
triggerLabel: l = ut
|
|
3778
3804
|
}) {
|
|
3779
|
-
const p = o.trim(), s = i.trim() ||
|
|
3805
|
+
const p = o.trim(), s = i.trim() || O, c = l.trim() || ut;
|
|
3780
3806
|
if (!p)
|
|
3781
3807
|
throw new Error("id must be a non-empty string.");
|
|
3782
3808
|
if (!H(p))
|
|
@@ -3810,7 +3836,7 @@ function ge({
|
|
|
3810
3836
|
attrs: {
|
|
3811
3837
|
class: "set-sidebar",
|
|
3812
3838
|
"data-above-notebook": t,
|
|
3813
|
-
"data-collapse-label": s !==
|
|
3839
|
+
"data-collapse-label": s !== O ? s : void 0,
|
|
3814
3840
|
"data-button-size": n,
|
|
3815
3841
|
id: p
|
|
3816
3842
|
},
|
|
@@ -3854,10 +3880,10 @@ function ge({
|
|
|
3854
3880
|
]
|
|
3855
3881
|
};
|
|
3856
3882
|
}
|
|
3857
|
-
function
|
|
3858
|
-
return m(
|
|
3883
|
+
function Ti(t) {
|
|
3884
|
+
return m(ve(t));
|
|
3859
3885
|
}
|
|
3860
|
-
function
|
|
3886
|
+
function fe() {
|
|
3861
3887
|
if (customElements.get(tt)) return;
|
|
3862
3888
|
class t extends HTMLElement {
|
|
3863
3889
|
#t;
|
|
@@ -3876,10 +3902,10 @@ function be() {
|
|
|
3876
3902
|
close() {
|
|
3877
3903
|
this.#b(!1);
|
|
3878
3904
|
}
|
|
3879
|
-
#
|
|
3905
|
+
#r() {
|
|
3880
3906
|
return this.querySelector(".sidebar");
|
|
3881
3907
|
}
|
|
3882
|
-
#
|
|
3908
|
+
#a() {
|
|
3883
3909
|
return this.querySelector(
|
|
3884
3910
|
'[data-part="close"] .set-button'
|
|
3885
3911
|
);
|
|
@@ -3895,29 +3921,29 @@ function be() {
|
|
|
3895
3921
|
#u() {
|
|
3896
3922
|
return this.hasAttribute("data-collapsed");
|
|
3897
3923
|
}
|
|
3898
|
-
#
|
|
3924
|
+
#o() {
|
|
3899
3925
|
const e = this.getAttribute("data-above-notebook");
|
|
3900
3926
|
return e === "collapsible" || e === "overlay" ? e : "persistent";
|
|
3901
3927
|
}
|
|
3902
3928
|
#l() {
|
|
3903
|
-
const e = this.#
|
|
3929
|
+
const e = this.#r();
|
|
3904
3930
|
if (!e || e.querySelector('[data-part="close"]')) return;
|
|
3905
|
-
const i = e.querySelector(".header"), r = this.getAttribute("data-collapse-label") ||
|
|
3931
|
+
const i = e.querySelector(".header"), r = this.getAttribute("data-collapse-label") || O, a = this.getAttribute("data-button-size") ?? "md";
|
|
3906
3932
|
i?.insertAdjacentHTML(
|
|
3907
3933
|
"beforeend",
|
|
3908
|
-
|
|
3934
|
+
be(r, a)
|
|
3909
3935
|
);
|
|
3910
3936
|
}
|
|
3911
|
-
#
|
|
3937
|
+
#d() {
|
|
3912
3938
|
this.querySelector('[data-part="close"]')?.remove();
|
|
3913
3939
|
}
|
|
3914
3940
|
#h() {
|
|
3915
|
-
const e = this.#
|
|
3941
|
+
const e = this.#a();
|
|
3916
3942
|
if (e) {
|
|
3917
3943
|
e.focus();
|
|
3918
3944
|
return;
|
|
3919
3945
|
}
|
|
3920
|
-
this.#
|
|
3946
|
+
this.#r()?.focus();
|
|
3921
3947
|
}
|
|
3922
3948
|
#k() {
|
|
3923
3949
|
return this.#t?.matches ?? !1;
|
|
@@ -3930,7 +3956,7 @@ function be() {
|
|
|
3930
3956
|
this.toggleAttribute("data-open", i), this.toggleAttribute("data-collapsed", e), r?.setAttribute("aria-expanded", i ? "true" : "false");
|
|
3931
3957
|
}
|
|
3932
3958
|
#g() {
|
|
3933
|
-
const e = this.#
|
|
3959
|
+
const e = this.#o();
|
|
3934
3960
|
if (this.#k()) {
|
|
3935
3961
|
if (e === "overlay") {
|
|
3936
3962
|
this.#l(), this.#p({ collapsed: !1, open: !1 }), this.#m(!1);
|
|
@@ -3943,13 +3969,13 @@ function be() {
|
|
|
3943
3969
|
}), this.#m(!1);
|
|
3944
3970
|
return;
|
|
3945
3971
|
}
|
|
3946
|
-
this.#
|
|
3972
|
+
this.#d(), this.#p({ collapsed: !1, open: !0 }), this.#m(!1);
|
|
3947
3973
|
return;
|
|
3948
3974
|
}
|
|
3949
3975
|
this.#l(), this.#p({ collapsed: !1, open: !1 }), this.#m(!1);
|
|
3950
3976
|
}
|
|
3951
3977
|
#b(e) {
|
|
3952
|
-
const i = this.#
|
|
3978
|
+
const i = this.#o();
|
|
3953
3979
|
if (this.#k()) {
|
|
3954
3980
|
if (i === "persistent") {
|
|
3955
3981
|
this.#p({ collapsed: !1, open: !0 }), this.#m(!1);
|
|
@@ -3980,7 +4006,7 @@ function be() {
|
|
|
3980
4006
|
}
|
|
3981
4007
|
#f() {
|
|
3982
4008
|
const e = this.ownerDocument.defaultView;
|
|
3983
|
-
e && (typeof e.matchMedia == "function" && (this.#t = e.matchMedia(
|
|
4009
|
+
e && (typeof e.matchMedia == "function" && (this.#t = e.matchMedia(ge), this.#n = () => {
|
|
3984
4010
|
this.#g();
|
|
3985
4011
|
}, this.#t.addEventListener("change", this.#n), this.#g()), this.#e = (i) => {
|
|
3986
4012
|
const r = i.target;
|
|
@@ -3990,7 +4016,7 @@ function be() {
|
|
|
3990
4016
|
return;
|
|
3991
4017
|
}
|
|
3992
4018
|
if (r.closest('[data-part="close"] .set-button')) {
|
|
3993
|
-
if (this.#k() && this.#
|
|
4019
|
+
if (this.#k() && this.#o() === "collapsible") {
|
|
3994
4020
|
this.#b(this.#u());
|
|
3995
4021
|
return;
|
|
3996
4022
|
}
|
|
@@ -4009,7 +4035,7 @@ function be() {
|
|
|
4009
4035
|
}
|
|
4010
4036
|
customElements.define(tt, t);
|
|
4011
4037
|
}
|
|
4012
|
-
const
|
|
4038
|
+
const _i = {
|
|
4013
4039
|
name: "sidebar",
|
|
4014
4040
|
description: "Use `sidebar` for a side panel alongside main content.",
|
|
4015
4041
|
output: {
|
|
@@ -4043,7 +4069,7 @@ const Ti = {
|
|
|
4043
4069
|
type: { kind: "html" }
|
|
4044
4070
|
},
|
|
4045
4071
|
collapseLabel: {
|
|
4046
|
-
default:
|
|
4072
|
+
default: O,
|
|
4047
4073
|
description: "Accessible label for the collapse button.",
|
|
4048
4074
|
type: { kind: "string" }
|
|
4049
4075
|
},
|
|
@@ -4100,7 +4126,7 @@ const Ti = {
|
|
|
4100
4126
|
of: {
|
|
4101
4127
|
kind: "when-equals",
|
|
4102
4128
|
prop: "collapseLabel",
|
|
4103
|
-
to:
|
|
4129
|
+
to: O
|
|
4104
4130
|
}
|
|
4105
4131
|
}
|
|
4106
4132
|
]
|
|
@@ -4134,7 +4160,7 @@ const Ti = {
|
|
|
4134
4160
|
]
|
|
4135
4161
|
}
|
|
4136
4162
|
}, et = "set-video";
|
|
4137
|
-
function
|
|
4163
|
+
function ye({
|
|
4138
4164
|
autoPlay: t,
|
|
4139
4165
|
controls: n,
|
|
4140
4166
|
fit: e = "intrinsic",
|
|
@@ -4180,11 +4206,11 @@ function ve({
|
|
|
4180
4206
|
children: [f]
|
|
4181
4207
|
};
|
|
4182
4208
|
}
|
|
4183
|
-
function
|
|
4184
|
-
return m(
|
|
4209
|
+
function Di(t) {
|
|
4210
|
+
return m(ye(t));
|
|
4185
4211
|
}
|
|
4186
|
-
const
|
|
4187
|
-
function
|
|
4212
|
+
const we = "(prefers-reduced-motion: reduce)";
|
|
4213
|
+
function Se() {
|
|
4188
4214
|
if (customElements.get(et)) return;
|
|
4189
4215
|
class t extends HTMLElement {
|
|
4190
4216
|
#t = !1;
|
|
@@ -4194,7 +4220,7 @@ function ye() {
|
|
|
4194
4220
|
const e = this.querySelector("video");
|
|
4195
4221
|
if (!e || (this.#t ||= e.hasAttribute("autoplay"), !this.#t)) return;
|
|
4196
4222
|
const i = this.ownerDocument.defaultView;
|
|
4197
|
-
!i || typeof i.matchMedia != "function" || (this.#e = i.matchMedia(
|
|
4223
|
+
!i || typeof i.matchMedia != "function" || (this.#e = i.matchMedia(we), this.#i = () => {
|
|
4198
4224
|
this.#n();
|
|
4199
4225
|
}, this.#e.addEventListener("change", this.#i), this.#n());
|
|
4200
4226
|
}
|
|
@@ -4209,7 +4235,7 @@ function ye() {
|
|
|
4209
4235
|
}
|
|
4210
4236
|
customElements.define(et, t);
|
|
4211
4237
|
}
|
|
4212
|
-
const
|
|
4238
|
+
const Vi = {
|
|
4213
4239
|
name: "video",
|
|
4214
4240
|
description: "Use `video` to render a video with intrinsic or fluid fit and native playback behavior.",
|
|
4215
4241
|
output: { element: et, class: "set-video" },
|
|
@@ -4337,49 +4363,49 @@ const _i = {
|
|
|
4337
4363
|
]
|
|
4338
4364
|
}
|
|
4339
4365
|
};
|
|
4340
|
-
function
|
|
4366
|
+
function xe(t) {
|
|
4341
4367
|
return t ? /[A-Za-z]/.test(t) : !1;
|
|
4342
4368
|
}
|
|
4343
|
-
function
|
|
4369
|
+
function Ee(t) {
|
|
4344
4370
|
return /^[a-z]/.test(t);
|
|
4345
4371
|
}
|
|
4346
|
-
function
|
|
4372
|
+
function B(t) {
|
|
4347
4373
|
const n = t.charAt(0);
|
|
4348
|
-
return
|
|
4374
|
+
return xe(n) ? n : void 0;
|
|
4349
4375
|
}
|
|
4350
|
-
function
|
|
4351
|
-
const n =
|
|
4376
|
+
function ze(t) {
|
|
4377
|
+
const n = P(t);
|
|
4352
4378
|
if (!n) return;
|
|
4353
|
-
const e = n.split(" "), i =
|
|
4379
|
+
const e = n.split(" "), i = B(e[0]);
|
|
4354
4380
|
if (!i) return;
|
|
4355
4381
|
const r = [i.toUpperCase()];
|
|
4356
4382
|
if (e.length === 1)
|
|
4357
4383
|
return r[0];
|
|
4358
|
-
const a = e.slice(1).find(
|
|
4384
|
+
const a = e.slice(1).find(Ee);
|
|
4359
4385
|
if (a) {
|
|
4360
|
-
const d =
|
|
4386
|
+
const d = B(a);
|
|
4361
4387
|
return d ? `${r[0]}${d}` : void 0;
|
|
4362
4388
|
}
|
|
4363
4389
|
if (e.length === 2) {
|
|
4364
|
-
const d =
|
|
4390
|
+
const d = B(e[1]);
|
|
4365
4391
|
if (!d) return;
|
|
4366
4392
|
r.push(d);
|
|
4367
4393
|
const l = e[1].split("-").filter(Boolean);
|
|
4368
4394
|
if (l.length === 2) {
|
|
4369
|
-
const p =
|
|
4395
|
+
const p = B(l[1]);
|
|
4370
4396
|
p && r.push(p);
|
|
4371
4397
|
}
|
|
4372
4398
|
return r.slice(0, 3).join("");
|
|
4373
4399
|
}
|
|
4374
4400
|
if (e.length === 3) {
|
|
4375
|
-
const d =
|
|
4401
|
+
const d = B(e[1]), l = B(e[2]);
|
|
4376
4402
|
return !d || !l ? void 0 : (r.push(d, l), r.slice(0, 3).join(""));
|
|
4377
4403
|
}
|
|
4378
|
-
const o =
|
|
4404
|
+
const o = B(e.at(-1) || "");
|
|
4379
4405
|
if (o)
|
|
4380
4406
|
return r.push(o), r.slice(0, 3).join("");
|
|
4381
4407
|
}
|
|
4382
|
-
const
|
|
4408
|
+
const Le = {
|
|
4383
4409
|
bot: "robot-1",
|
|
4384
4410
|
organization: "city-6",
|
|
4385
4411
|
person: "user-1",
|
|
@@ -4395,15 +4421,15 @@ const Ee = {
|
|
|
4395
4421
|
"08",
|
|
4396
4422
|
"09"
|
|
4397
4423
|
];
|
|
4398
|
-
function
|
|
4424
|
+
function Ce(t) {
|
|
4399
4425
|
let n = 5381;
|
|
4400
4426
|
for (const e of t)
|
|
4401
4427
|
n = n * 33 ^ e.charCodeAt(0);
|
|
4402
4428
|
return n >>> 0;
|
|
4403
4429
|
}
|
|
4404
|
-
function
|
|
4430
|
+
function Me(t) {
|
|
4405
4431
|
if (t == null) return;
|
|
4406
|
-
const n =
|
|
4432
|
+
const n = P(t);
|
|
4407
4433
|
if (n) {
|
|
4408
4434
|
if (n.length > 3)
|
|
4409
4435
|
throw new Error("initials must normalize to 3 characters or fewer.");
|
|
@@ -4412,26 +4438,26 @@ function Le(t) {
|
|
|
4412
4438
|
return n;
|
|
4413
4439
|
}
|
|
4414
4440
|
}
|
|
4415
|
-
function
|
|
4441
|
+
function qe({
|
|
4416
4442
|
alt: t,
|
|
4417
4443
|
ariaHidden: n,
|
|
4418
4444
|
name: e
|
|
4419
4445
|
}) {
|
|
4420
4446
|
if (!n)
|
|
4421
|
-
return
|
|
4447
|
+
return P(t) || P(e) || "Avatar";
|
|
4422
4448
|
}
|
|
4423
|
-
function
|
|
4449
|
+
function Ie({
|
|
4424
4450
|
color: t,
|
|
4425
4451
|
name: n
|
|
4426
4452
|
}) {
|
|
4427
4453
|
if (t) return t;
|
|
4428
4454
|
if (n) {
|
|
4429
|
-
const e =
|
|
4455
|
+
const e = Ce(n) % yt.length;
|
|
4430
4456
|
return yt[e];
|
|
4431
4457
|
}
|
|
4432
4458
|
return "neutral";
|
|
4433
4459
|
}
|
|
4434
|
-
function
|
|
4460
|
+
function Ae({
|
|
4435
4461
|
alt: t,
|
|
4436
4462
|
ariaHidden: n,
|
|
4437
4463
|
color: e,
|
|
@@ -4442,11 +4468,11 @@ function qe({
|
|
|
4442
4468
|
size: d = "md",
|
|
4443
4469
|
src: l
|
|
4444
4470
|
}) {
|
|
4445
|
-
const p = v(r), s =
|
|
4471
|
+
const p = v(r), s = Me(a), c = P(o), h = P(l), b = qe({
|
|
4446
4472
|
alt: t,
|
|
4447
4473
|
ariaHidden: n,
|
|
4448
4474
|
name: c
|
|
4449
|
-
}), w = s ||
|
|
4475
|
+
}), w = s || ze(c), f = !!h, z = Ie({
|
|
4450
4476
|
color: e,
|
|
4451
4477
|
name: c
|
|
4452
4478
|
}), q = {
|
|
@@ -4479,9 +4505,9 @@ function qe({
|
|
|
4479
4505
|
tag: "span",
|
|
4480
4506
|
attrs: { class: "icon-wrapper" },
|
|
4481
4507
|
children: [
|
|
4482
|
-
|
|
4508
|
+
R({
|
|
4483
4509
|
ariaHidden: !0,
|
|
4484
|
-
name:
|
|
4510
|
+
name: Le[i],
|
|
4485
4511
|
size: "fill"
|
|
4486
4512
|
})
|
|
4487
4513
|
]
|
|
@@ -4492,10 +4518,10 @@ function qe({
|
|
|
4492
4518
|
children: [x]
|
|
4493
4519
|
};
|
|
4494
4520
|
}
|
|
4495
|
-
function
|
|
4496
|
-
return m(
|
|
4521
|
+
function Hi(t) {
|
|
4522
|
+
return m(Ae(t));
|
|
4497
4523
|
}
|
|
4498
|
-
const
|
|
4524
|
+
const Ni = {
|
|
4499
4525
|
name: "avatar",
|
|
4500
4526
|
description: "Use `avatar` to visually represent a person, team, or entity.",
|
|
4501
4527
|
output: { element: "span", class: "set-avatar" },
|
|
@@ -4602,7 +4628,7 @@ const Vi = {
|
|
|
4602
4628
|
]
|
|
4603
4629
|
}
|
|
4604
4630
|
};
|
|
4605
|
-
function
|
|
4631
|
+
function Te({
|
|
4606
4632
|
floating: t,
|
|
4607
4633
|
id: n,
|
|
4608
4634
|
label: e,
|
|
@@ -4623,10 +4649,10 @@ function Ie({
|
|
|
4623
4649
|
children: [{ kind: "text", value: e }]
|
|
4624
4650
|
};
|
|
4625
4651
|
}
|
|
4626
|
-
function
|
|
4627
|
-
return m(
|
|
4652
|
+
function Bi(t) {
|
|
4653
|
+
return m(Te(t));
|
|
4628
4654
|
}
|
|
4629
|
-
const
|
|
4655
|
+
const Oi = {
|
|
4630
4656
|
name: "badge",
|
|
4631
4657
|
description: "Use `badge` to annotate content with a short label.",
|
|
4632
4658
|
output: { element: "span", class: "set-badge" },
|
|
@@ -4725,10 +4751,10 @@ function it({
|
|
|
4725
4751
|
children: [{ kind: "raw", html: e }]
|
|
4726
4752
|
};
|
|
4727
4753
|
}
|
|
4728
|
-
function
|
|
4754
|
+
function Pi(t) {
|
|
4729
4755
|
return m(it(t));
|
|
4730
4756
|
}
|
|
4731
|
-
const
|
|
4757
|
+
const Ri = {
|
|
4732
4758
|
name: "text",
|
|
4733
4759
|
description: "Use `text` for inline or paragraph body copy.",
|
|
4734
4760
|
output: {
|
|
@@ -4852,7 +4878,7 @@ const Oi = {
|
|
|
4852
4878
|
]
|
|
4853
4879
|
}
|
|
4854
4880
|
};
|
|
4855
|
-
function
|
|
4881
|
+
function _e({
|
|
4856
4882
|
align: t = "start",
|
|
4857
4883
|
attribution: n,
|
|
4858
4884
|
id: e,
|
|
@@ -4902,10 +4928,10 @@ function Te({
|
|
|
4902
4928
|
]
|
|
4903
4929
|
};
|
|
4904
4930
|
}
|
|
4905
|
-
function
|
|
4906
|
-
return m(
|
|
4931
|
+
function Wi(t) {
|
|
4932
|
+
return m(_e(t));
|
|
4907
4933
|
}
|
|
4908
|
-
const
|
|
4934
|
+
const Ui = {
|
|
4909
4935
|
name: "blockquote",
|
|
4910
4936
|
description: "Use `blockquote` to display a quote with attribution.",
|
|
4911
4937
|
output: { element: "figure", class: "set-blockquote" },
|
|
@@ -4974,7 +5000,7 @@ const Ri = {
|
|
|
4974
5000
|
]
|
|
4975
5001
|
}
|
|
4976
5002
|
};
|
|
4977
|
-
function
|
|
5003
|
+
function De({
|
|
4978
5004
|
background: t = "default",
|
|
4979
5005
|
border: n,
|
|
4980
5006
|
children: e,
|
|
@@ -5003,10 +5029,10 @@ function Ae({
|
|
|
5003
5029
|
children: e ? [{ kind: "raw", html: e }] : []
|
|
5004
5030
|
};
|
|
5005
5031
|
}
|
|
5006
|
-
function
|
|
5007
|
-
return m(
|
|
5032
|
+
function $i(t) {
|
|
5033
|
+
return m(De(t));
|
|
5008
5034
|
}
|
|
5009
|
-
const
|
|
5035
|
+
const Gi = {
|
|
5010
5036
|
name: "box",
|
|
5011
5037
|
description: "Use `box` to inset content.",
|
|
5012
5038
|
output: { element: "div", class: "set-box" },
|
|
@@ -5119,7 +5145,7 @@ const Ui = {
|
|
|
5119
5145
|
]
|
|
5120
5146
|
}
|
|
5121
5147
|
};
|
|
5122
|
-
function
|
|
5148
|
+
function Ve({
|
|
5123
5149
|
description: t,
|
|
5124
5150
|
headingLevel: n,
|
|
5125
5151
|
href: e,
|
|
@@ -5141,7 +5167,7 @@ function _e({
|
|
|
5141
5167
|
tag: "span",
|
|
5142
5168
|
attrs: { class: "icon-wrapper" },
|
|
5143
5169
|
children: [
|
|
5144
|
-
|
|
5170
|
+
R({
|
|
5145
5171
|
ariaHidden: !0,
|
|
5146
5172
|
mirrored: "rtl",
|
|
5147
5173
|
name: "arrow-right",
|
|
@@ -5185,10 +5211,10 @@ function _e({
|
|
|
5185
5211
|
children: c
|
|
5186
5212
|
};
|
|
5187
5213
|
}
|
|
5188
|
-
function
|
|
5189
|
-
return m(
|
|
5214
|
+
function Zi(t) {
|
|
5215
|
+
return m(Ve(t));
|
|
5190
5216
|
}
|
|
5191
|
-
const
|
|
5217
|
+
const Fi = {
|
|
5192
5218
|
name: "card",
|
|
5193
5219
|
description: "Use `card` to display a summary for a single topic.",
|
|
5194
5220
|
output: {
|
|
@@ -5256,7 +5282,7 @@ const Gi = {
|
|
|
5256
5282
|
]
|
|
5257
5283
|
}
|
|
5258
5284
|
};
|
|
5259
|
-
function
|
|
5285
|
+
function He({
|
|
5260
5286
|
checked: t,
|
|
5261
5287
|
description: n,
|
|
5262
5288
|
disabled: e,
|
|
@@ -5315,10 +5341,10 @@ function De({
|
|
|
5315
5341
|
children: f
|
|
5316
5342
|
};
|
|
5317
5343
|
}
|
|
5318
|
-
function
|
|
5319
|
-
return m(
|
|
5344
|
+
function ji(t) {
|
|
5345
|
+
return m(He(t));
|
|
5320
5346
|
}
|
|
5321
|
-
const
|
|
5347
|
+
const Ki = {
|
|
5322
5348
|
name: "checkbox",
|
|
5323
5349
|
description: "Use `checkbox` to let users toggle a single option on or off.",
|
|
5324
5350
|
output: { element: "div", class: "set-checkbox" },
|
|
@@ -5448,7 +5474,7 @@ const Fi = {
|
|
|
5448
5474
|
]
|
|
5449
5475
|
}
|
|
5450
5476
|
};
|
|
5451
|
-
function
|
|
5477
|
+
function Ne({
|
|
5452
5478
|
children: t,
|
|
5453
5479
|
gutter: n = "default",
|
|
5454
5480
|
id: e,
|
|
@@ -5467,10 +5493,10 @@ function Ve({
|
|
|
5467
5493
|
children: t ? [{ kind: "raw", html: t }] : []
|
|
5468
5494
|
};
|
|
5469
5495
|
}
|
|
5470
|
-
function
|
|
5471
|
-
return m(
|
|
5496
|
+
function Xi(t) {
|
|
5497
|
+
return m(Ne(t));
|
|
5472
5498
|
}
|
|
5473
|
-
const
|
|
5499
|
+
const Qi = {
|
|
5474
5500
|
name: "container",
|
|
5475
5501
|
description: "Use `container` to wrap page-level content.",
|
|
5476
5502
|
output: { element: "div", class: "set-container" },
|
|
@@ -5527,7 +5553,7 @@ const Ki = {
|
|
|
5527
5553
|
]
|
|
5528
5554
|
}
|
|
5529
5555
|
};
|
|
5530
|
-
function
|
|
5556
|
+
function Be({
|
|
5531
5557
|
children: t,
|
|
5532
5558
|
id: n,
|
|
5533
5559
|
open: e,
|
|
@@ -5555,7 +5581,7 @@ function He({
|
|
|
5555
5581
|
tag: "span",
|
|
5556
5582
|
attrs: { class: "marker" },
|
|
5557
5583
|
children: [
|
|
5558
|
-
|
|
5584
|
+
R({
|
|
5559
5585
|
ariaHidden: !0,
|
|
5560
5586
|
name: "chevron-right",
|
|
5561
5587
|
size: "sm"
|
|
@@ -5579,10 +5605,10 @@ function He({
|
|
|
5579
5605
|
]
|
|
5580
5606
|
};
|
|
5581
5607
|
}
|
|
5582
|
-
function
|
|
5583
|
-
return m(
|
|
5608
|
+
function Yi(t) {
|
|
5609
|
+
return m(Be(t));
|
|
5584
5610
|
}
|
|
5585
|
-
const
|
|
5611
|
+
const Ji = {
|
|
5586
5612
|
name: "details",
|
|
5587
5613
|
description: "Use `details` to let users expand and collapse a section of content.",
|
|
5588
5614
|
output: { element: "details", class: "set-details" },
|
|
@@ -5641,7 +5667,7 @@ const Qi = {
|
|
|
5641
5667
|
]
|
|
5642
5668
|
}
|
|
5643
5669
|
};
|
|
5644
|
-
function
|
|
5670
|
+
function Oe({
|
|
5645
5671
|
id: t,
|
|
5646
5672
|
orientation: n = "horizontal",
|
|
5647
5673
|
tone: e = "default"
|
|
@@ -5660,10 +5686,10 @@ function Ne({
|
|
|
5660
5686
|
children: []
|
|
5661
5687
|
};
|
|
5662
5688
|
}
|
|
5663
|
-
function
|
|
5664
|
-
return m(
|
|
5689
|
+
function tn(t = {}) {
|
|
5690
|
+
return m(Oe(t));
|
|
5665
5691
|
}
|
|
5666
|
-
const
|
|
5692
|
+
const en = {
|
|
5667
5693
|
name: "divider",
|
|
5668
5694
|
description: "Use `divider` to separate sections with a rule.",
|
|
5669
5695
|
output: {
|
|
@@ -5768,10 +5794,10 @@ function Tt({
|
|
|
5768
5794
|
children: h
|
|
5769
5795
|
};
|
|
5770
5796
|
}
|
|
5771
|
-
function
|
|
5797
|
+
function nn(t) {
|
|
5772
5798
|
return m(Tt(t));
|
|
5773
5799
|
}
|
|
5774
|
-
const
|
|
5800
|
+
const rn = {
|
|
5775
5801
|
name: "fieldset",
|
|
5776
5802
|
description: "Use `fieldset` to group related form controls under a legend.",
|
|
5777
5803
|
output: { element: "fieldset", class: "set-fieldset" },
|
|
@@ -5859,7 +5885,7 @@ const en = {
|
|
|
5859
5885
|
]
|
|
5860
5886
|
}
|
|
5861
5887
|
};
|
|
5862
|
-
function
|
|
5888
|
+
function Pe({
|
|
5863
5889
|
align: t = "start",
|
|
5864
5890
|
caption: n,
|
|
5865
5891
|
children: e,
|
|
@@ -5895,10 +5921,10 @@ function Be({
|
|
|
5895
5921
|
]
|
|
5896
5922
|
};
|
|
5897
5923
|
}
|
|
5898
|
-
function
|
|
5899
|
-
return m(
|
|
5924
|
+
function an(t) {
|
|
5925
|
+
return m(Pe(t));
|
|
5900
5926
|
}
|
|
5901
|
-
const
|
|
5927
|
+
const on = {
|
|
5902
5928
|
name: "figure",
|
|
5903
5929
|
description: "Use `figure` to present media with a caption.",
|
|
5904
5930
|
output: { element: "figure", class: "set-figure" },
|
|
@@ -5971,7 +5997,7 @@ const rn = {
|
|
|
5971
5997
|
if (t !== void 0)
|
|
5972
5998
|
return String(t);
|
|
5973
5999
|
};
|
|
5974
|
-
function
|
|
6000
|
+
function Re({
|
|
5975
6001
|
children: t,
|
|
5976
6002
|
gap: n = "default",
|
|
5977
6003
|
id: e
|
|
@@ -5995,10 +6021,10 @@ function Oe({
|
|
|
5995
6021
|
]
|
|
5996
6022
|
};
|
|
5997
6023
|
}
|
|
5998
|
-
function
|
|
5999
|
-
return m(
|
|
6024
|
+
function dn(t) {
|
|
6025
|
+
return m(Re(t));
|
|
6000
6026
|
}
|
|
6001
|
-
function
|
|
6027
|
+
function We({
|
|
6002
6028
|
align: t,
|
|
6003
6029
|
children: n,
|
|
6004
6030
|
colSpan: e,
|
|
@@ -6041,10 +6067,10 @@ function Pe({
|
|
|
6041
6067
|
children: n ? [{ kind: "raw", html: n }] : []
|
|
6042
6068
|
};
|
|
6043
6069
|
}
|
|
6044
|
-
function
|
|
6045
|
-
return m(
|
|
6070
|
+
function sn(t) {
|
|
6071
|
+
return m(We(t));
|
|
6046
6072
|
}
|
|
6047
|
-
const
|
|
6073
|
+
const ln = {
|
|
6048
6074
|
name: "grid",
|
|
6049
6075
|
description: "Use `grid` to lay out content in a 12-column responsive grid.",
|
|
6050
6076
|
output: { element: "div", class: "set-grid" },
|
|
@@ -6090,7 +6116,7 @@ const dn = {
|
|
|
6090
6116
|
min: 1,
|
|
6091
6117
|
max: 12,
|
|
6092
6118
|
integer: !0
|
|
6093
|
-
},
|
|
6119
|
+
}, pn = {
|
|
6094
6120
|
name: "grid-item",
|
|
6095
6121
|
description: "Use `grid-item` to place content within a `grid` layout.",
|
|
6096
6122
|
output: { element: "div", class: "set-grid-item" },
|
|
@@ -6257,7 +6283,7 @@ const dn = {
|
|
|
6257
6283
|
]
|
|
6258
6284
|
}
|
|
6259
6285
|
};
|
|
6260
|
-
function
|
|
6286
|
+
function Ue({
|
|
6261
6287
|
align: t = "start",
|
|
6262
6288
|
id: n,
|
|
6263
6289
|
level: e,
|
|
@@ -6281,10 +6307,10 @@ function Re({
|
|
|
6281
6307
|
children: [{ kind: "text", value: o }]
|
|
6282
6308
|
};
|
|
6283
6309
|
}
|
|
6284
|
-
function
|
|
6285
|
-
return m(
|
|
6310
|
+
function cn(t) {
|
|
6311
|
+
return m(Ue(t));
|
|
6286
6312
|
}
|
|
6287
|
-
const
|
|
6313
|
+
const un = {
|
|
6288
6314
|
name: "heading",
|
|
6289
6315
|
description: "Use `heading` to render heading text with consistent type.",
|
|
6290
6316
|
output: {
|
|
@@ -6379,7 +6405,7 @@ const pn = {
|
|
|
6379
6405
|
]
|
|
6380
6406
|
}
|
|
6381
6407
|
};
|
|
6382
|
-
function
|
|
6408
|
+
function $e({
|
|
6383
6409
|
align: t = "center",
|
|
6384
6410
|
as: n = "div",
|
|
6385
6411
|
children: e,
|
|
@@ -6403,10 +6429,10 @@ function We({
|
|
|
6403
6429
|
children: e ? [{ kind: "raw", html: e }] : []
|
|
6404
6430
|
};
|
|
6405
6431
|
}
|
|
6406
|
-
function
|
|
6407
|
-
return m(
|
|
6432
|
+
function hn(t) {
|
|
6433
|
+
return m($e(t));
|
|
6408
6434
|
}
|
|
6409
|
-
const
|
|
6435
|
+
const mn = {
|
|
6410
6436
|
name: "inline",
|
|
6411
6437
|
description: "Use `inline` to lay out content in a horizontal row.",
|
|
6412
6438
|
output: {
|
|
@@ -6491,7 +6517,7 @@ const un = {
|
|
|
6491
6517
|
]
|
|
6492
6518
|
}
|
|
6493
6519
|
};
|
|
6494
|
-
function
|
|
6520
|
+
function Ge({
|
|
6495
6521
|
autocomplete: t,
|
|
6496
6522
|
description: n,
|
|
6497
6523
|
disabled: e,
|
|
@@ -6515,7 +6541,7 @@ function Ue({
|
|
|
6515
6541
|
throw new Error(
|
|
6516
6542
|
"id must start with a letter and contain only letters, numbers, '_', '-', or ':'."
|
|
6517
6543
|
);
|
|
6518
|
-
const E = z ? `${f}-description` : void 0, S = h === "numeric", I = S ? "text" : h,
|
|
6544
|
+
const E = z ? `${f}-description` : void 0, S = h === "numeric", I = S ? "text" : h, A = k || (S ? "^[0-9]*$" : void 0), V = c === void 0 && S ? !1 : c, M = !!e, N = !M && !!l, $ = [
|
|
6519
6545
|
{
|
|
6520
6546
|
kind: "element",
|
|
6521
6547
|
tag: "label",
|
|
@@ -6527,15 +6553,15 @@ function Ue({
|
|
|
6527
6553
|
tag: "input",
|
|
6528
6554
|
attrs: {
|
|
6529
6555
|
"aria-describedby": E,
|
|
6530
|
-
"aria-invalid": !M && !
|
|
6556
|
+
"aria-invalid": !M && !N && !!r ? "true" : void 0,
|
|
6531
6557
|
autocomplete: q === !1 ? "off" : q || void 0,
|
|
6532
6558
|
class: "input",
|
|
6533
6559
|
disabled: M,
|
|
6534
6560
|
id: f,
|
|
6535
6561
|
inputmode: S ? "numeric" : void 0,
|
|
6536
6562
|
name: x || void 0,
|
|
6537
|
-
pattern:
|
|
6538
|
-
readonly:
|
|
6563
|
+
pattern: A,
|
|
6564
|
+
readonly: N,
|
|
6539
6565
|
required: !!p,
|
|
6540
6566
|
spellcheck: V === void 0 ? void 0 : String(V),
|
|
6541
6567
|
type: I,
|
|
@@ -6560,10 +6586,10 @@ function Ue({
|
|
|
6560
6586
|
children: $
|
|
6561
6587
|
};
|
|
6562
6588
|
}
|
|
6563
|
-
function
|
|
6564
|
-
return m(
|
|
6589
|
+
function kn(t) {
|
|
6590
|
+
return m(Ge(t));
|
|
6565
6591
|
}
|
|
6566
|
-
const
|
|
6592
|
+
const gn = {
|
|
6567
6593
|
name: "input",
|
|
6568
6594
|
description: "Use `input` to collect a single line of text from users.",
|
|
6569
6595
|
output: { element: "div", class: "set-input" },
|
|
@@ -6758,7 +6784,7 @@ const mn = {
|
|
|
6758
6784
|
}
|
|
6759
6785
|
]
|
|
6760
6786
|
}
|
|
6761
|
-
},
|
|
6787
|
+
}, Ze = "0 0 6714.6 1200", Fe = "0 0 600 1200", je = [
|
|
6762
6788
|
{ x: 0, y: 0 },
|
|
6763
6789
|
{ x: 300, y: 0 },
|
|
6764
6790
|
{ x: 150, y: 300 },
|
|
@@ -6767,11 +6793,11 @@ const mn = {
|
|
|
6767
6793
|
{ x: 300, y: 600 },
|
|
6768
6794
|
{ x: 150, y: 900 },
|
|
6769
6795
|
{ x: 450, y: 900 }
|
|
6770
|
-
],
|
|
6796
|
+
], Ke = "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", Xe = 1163, _t = () => ({
|
|
6771
6797
|
kind: "element",
|
|
6772
6798
|
tag: "g",
|
|
6773
6799
|
attrs: { class: "mark" },
|
|
6774
|
-
children:
|
|
6800
|
+
children: je.map(({ x: t, y: n }) => ({
|
|
6775
6801
|
kind: "element",
|
|
6776
6802
|
tag: "rect",
|
|
6777
6803
|
attrs: {
|
|
@@ -6782,19 +6808,19 @@ const mn = {
|
|
|
6782
6808
|
},
|
|
6783
6809
|
children: []
|
|
6784
6810
|
}))
|
|
6785
|
-
}),
|
|
6811
|
+
}), Qe = () => ({
|
|
6786
6812
|
kind: "element",
|
|
6787
6813
|
tag: "g",
|
|
6788
|
-
attrs: { class: "word", transform: `translate(${
|
|
6814
|
+
attrs: { class: "word", transform: `translate(${Xe} 0)` },
|
|
6789
6815
|
children: [
|
|
6790
6816
|
{
|
|
6791
6817
|
kind: "element",
|
|
6792
6818
|
tag: "path",
|
|
6793
|
-
attrs: { d:
|
|
6819
|
+
attrs: { d: Ke },
|
|
6794
6820
|
children: []
|
|
6795
6821
|
}
|
|
6796
6822
|
]
|
|
6797
|
-
}),
|
|
6823
|
+
}), Dt = (t, n) => ({
|
|
6798
6824
|
kind: "element",
|
|
6799
6825
|
tag: "svg",
|
|
6800
6826
|
attrs: {
|
|
@@ -6804,13 +6830,13 @@ const mn = {
|
|
|
6804
6830
|
},
|
|
6805
6831
|
children: n
|
|
6806
6832
|
});
|
|
6807
|
-
function
|
|
6808
|
-
return
|
|
6833
|
+
function Ye() {
|
|
6834
|
+
return Dt(Ze, [_t(), Qe()]);
|
|
6809
6835
|
}
|
|
6810
|
-
function
|
|
6811
|
-
return
|
|
6836
|
+
function Je() {
|
|
6837
|
+
return Dt(Fe, [_t()]);
|
|
6812
6838
|
}
|
|
6813
|
-
function
|
|
6839
|
+
function ti({
|
|
6814
6840
|
animated: t,
|
|
6815
6841
|
id: n,
|
|
6816
6842
|
label: e,
|
|
@@ -6827,7 +6853,7 @@ function Ye({
|
|
|
6827
6853
|
}
|
|
6828
6854
|
];
|
|
6829
6855
|
return d && l.push(
|
|
6830
|
-
a === "graphic" ?
|
|
6856
|
+
a === "graphic" ? Je() : Ye()
|
|
6831
6857
|
), {
|
|
6832
6858
|
kind: "element",
|
|
6833
6859
|
tag: "div",
|
|
@@ -6842,10 +6868,10 @@ function Ye({
|
|
|
6842
6868
|
children: l
|
|
6843
6869
|
};
|
|
6844
6870
|
}
|
|
6845
|
-
function
|
|
6846
|
-
return m(
|
|
6871
|
+
function bn(t) {
|
|
6872
|
+
return m(ti(t));
|
|
6847
6873
|
}
|
|
6848
|
-
const
|
|
6874
|
+
const vn = {
|
|
6849
6875
|
name: "logo",
|
|
6850
6876
|
description: "Use `logo` to display the brand mark.",
|
|
6851
6877
|
output: { element: "div", class: "set-logo" },
|
|
@@ -6933,7 +6959,7 @@ const gn = {
|
|
|
6933
6959
|
]
|
|
6934
6960
|
}
|
|
6935
6961
|
};
|
|
6936
|
-
function
|
|
6962
|
+
function ei({
|
|
6937
6963
|
banner: t,
|
|
6938
6964
|
centerMain: n,
|
|
6939
6965
|
children: e,
|
|
@@ -6974,10 +7000,10 @@ function Je({
|
|
|
6974
7000
|
children: s
|
|
6975
7001
|
};
|
|
6976
7002
|
}
|
|
6977
|
-
function
|
|
6978
|
-
return m(
|
|
7003
|
+
function fn(t) {
|
|
7004
|
+
return m(ei(t));
|
|
6979
7005
|
}
|
|
6980
|
-
const
|
|
7006
|
+
const yn = {
|
|
6981
7007
|
name: "page",
|
|
6982
7008
|
description: "Use `page` as the primary layout for header, main, and footer regions.",
|
|
6983
7009
|
output: { element: "div", class: "set-page" },
|
|
@@ -7067,7 +7093,7 @@ const vn = {
|
|
|
7067
7093
|
]
|
|
7068
7094
|
}
|
|
7069
7095
|
};
|
|
7070
|
-
function
|
|
7096
|
+
function ii({
|
|
7071
7097
|
children: t,
|
|
7072
7098
|
id: n,
|
|
7073
7099
|
padding: e = "md",
|
|
@@ -7086,10 +7112,10 @@ function ti({
|
|
|
7086
7112
|
children: t ? [{ kind: "raw", html: t }] : []
|
|
7087
7113
|
};
|
|
7088
7114
|
}
|
|
7089
|
-
function
|
|
7090
|
-
return m(
|
|
7115
|
+
function wn(t) {
|
|
7116
|
+
return m(ii(t));
|
|
7091
7117
|
}
|
|
7092
|
-
const
|
|
7118
|
+
const Sn = {
|
|
7093
7119
|
name: "panel",
|
|
7094
7120
|
description: "Use `panel` to group related content in a contained region.",
|
|
7095
7121
|
output: { element: "div", class: "set-panel" },
|
|
@@ -7140,7 +7166,7 @@ const yn = {
|
|
|
7140
7166
|
]
|
|
7141
7167
|
}
|
|
7142
7168
|
};
|
|
7143
|
-
function
|
|
7169
|
+
function ni({
|
|
7144
7170
|
children: t,
|
|
7145
7171
|
id: n,
|
|
7146
7172
|
size: e = "md",
|
|
@@ -7161,10 +7187,10 @@ function ei({
|
|
|
7161
7187
|
children: t ? [{ kind: "raw", html: t }] : []
|
|
7162
7188
|
};
|
|
7163
7189
|
}
|
|
7164
|
-
function
|
|
7165
|
-
return m(
|
|
7190
|
+
function xn(t = {}) {
|
|
7191
|
+
return m(ni(t));
|
|
7166
7192
|
}
|
|
7167
|
-
const
|
|
7193
|
+
const En = {
|
|
7168
7194
|
name: "pattern",
|
|
7169
7195
|
description: "Use `pattern` to render repeated visual language components behind content.",
|
|
7170
7196
|
output: { element: "div", class: "set-pattern" },
|
|
@@ -7231,15 +7257,15 @@ const Sn = {
|
|
|
7231
7257
|
]
|
|
7232
7258
|
}
|
|
7233
7259
|
};
|
|
7234
|
-
function
|
|
7235
|
-
return
|
|
7260
|
+
function zn(t) {
|
|
7261
|
+
return ie({
|
|
7236
7262
|
...t,
|
|
7237
7263
|
alt: "",
|
|
7238
7264
|
fit: "cover",
|
|
7239
7265
|
priority: !0
|
|
7240
7266
|
});
|
|
7241
7267
|
}
|
|
7242
|
-
function
|
|
7268
|
+
function ri({
|
|
7243
7269
|
children: t,
|
|
7244
7270
|
contentTheme: n,
|
|
7245
7271
|
id: e,
|
|
@@ -7271,10 +7297,10 @@ function ii({
|
|
|
7271
7297
|
children: d
|
|
7272
7298
|
};
|
|
7273
7299
|
}
|
|
7274
|
-
function
|
|
7275
|
-
return m(
|
|
7300
|
+
function Ln(t) {
|
|
7301
|
+
return m(ri(t));
|
|
7276
7302
|
}
|
|
7277
|
-
const
|
|
7303
|
+
const Cn = {
|
|
7278
7304
|
name: "poster",
|
|
7279
7305
|
description: "Use `poster` to layer content over background media.",
|
|
7280
7306
|
output: { element: "div", class: "set-poster" },
|
|
@@ -7345,7 +7371,7 @@ const zn = {
|
|
|
7345
7371
|
]
|
|
7346
7372
|
}
|
|
7347
7373
|
};
|
|
7348
|
-
function
|
|
7374
|
+
function ai({
|
|
7349
7375
|
align: t = "start",
|
|
7350
7376
|
children: n,
|
|
7351
7377
|
hangingPunctuation: e,
|
|
@@ -7372,10 +7398,10 @@ function ni({
|
|
|
7372
7398
|
children: [{ kind: "raw", html: n }]
|
|
7373
7399
|
};
|
|
7374
7400
|
}
|
|
7375
|
-
function
|
|
7376
|
-
return m(
|
|
7401
|
+
function Mn(t) {
|
|
7402
|
+
return m(ai(t));
|
|
7377
7403
|
}
|
|
7378
|
-
const
|
|
7404
|
+
const qn = {
|
|
7379
7405
|
name: "prose",
|
|
7380
7406
|
description: "Use `prose` to style rich-text markup.",
|
|
7381
7407
|
output: { element: "div", class: "set-prose" },
|
|
@@ -7469,7 +7495,7 @@ const Cn = {
|
|
|
7469
7495
|
]
|
|
7470
7496
|
}
|
|
7471
7497
|
};
|
|
7472
|
-
function
|
|
7498
|
+
function oi({
|
|
7473
7499
|
description: t,
|
|
7474
7500
|
disabled: n,
|
|
7475
7501
|
id: e,
|
|
@@ -7569,10 +7595,10 @@ function ri({
|
|
|
7569
7595
|
legend: a
|
|
7570
7596
|
});
|
|
7571
7597
|
}
|
|
7572
|
-
function
|
|
7573
|
-
return m(
|
|
7598
|
+
function In(t) {
|
|
7599
|
+
return m(oi(t));
|
|
7574
7600
|
}
|
|
7575
|
-
const
|
|
7601
|
+
const An = {
|
|
7576
7602
|
name: "radios",
|
|
7577
7603
|
description: "Use `radios` to let users select one option from a short list.",
|
|
7578
7604
|
output: { element: "fieldset", class: "set-fieldset" },
|
|
@@ -7721,7 +7747,7 @@ const qn = {
|
|
|
7721
7747
|
]
|
|
7722
7748
|
}
|
|
7723
7749
|
};
|
|
7724
|
-
function
|
|
7750
|
+
function di({
|
|
7725
7751
|
appOverscrollBehavior: t,
|
|
7726
7752
|
appRoot: n,
|
|
7727
7753
|
brand: e = "mnsp",
|
|
@@ -7748,10 +7774,10 @@ function ai({
|
|
|
7748
7774
|
children: i ? [{ kind: "raw", html: i }] : []
|
|
7749
7775
|
};
|
|
7750
7776
|
}
|
|
7751
|
-
function
|
|
7752
|
-
return m(
|
|
7777
|
+
function Tn(t) {
|
|
7778
|
+
return m(di(t));
|
|
7753
7779
|
}
|
|
7754
|
-
const
|
|
7780
|
+
const _n = {
|
|
7755
7781
|
name: "root",
|
|
7756
7782
|
description: "Mandatory top-level `root` wrapper for the Set system.",
|
|
7757
7783
|
output: { element: "div", class: "set" },
|
|
@@ -7844,7 +7870,7 @@ const Tn = {
|
|
|
7844
7870
|
]
|
|
7845
7871
|
}
|
|
7846
7872
|
};
|
|
7847
|
-
function
|
|
7873
|
+
function si({
|
|
7848
7874
|
align: t = "stretch",
|
|
7849
7875
|
as: n = "div",
|
|
7850
7876
|
children: e,
|
|
@@ -7866,10 +7892,10 @@ function oi({
|
|
|
7866
7892
|
children: e ? [{ kind: "raw", html: e }] : []
|
|
7867
7893
|
};
|
|
7868
7894
|
}
|
|
7869
|
-
function
|
|
7870
|
-
return m(
|
|
7895
|
+
function Dn(t) {
|
|
7896
|
+
return m(si(t));
|
|
7871
7897
|
}
|
|
7872
|
-
const
|
|
7898
|
+
const Vn = {
|
|
7873
7899
|
name: "stack",
|
|
7874
7900
|
description: "Use `stack` to lay out content in a vertical column.",
|
|
7875
7901
|
output: {
|
|
@@ -7940,7 +7966,7 @@ const _n = {
|
|
|
7940
7966
|
]
|
|
7941
7967
|
}
|
|
7942
7968
|
};
|
|
7943
|
-
function
|
|
7969
|
+
function li({
|
|
7944
7970
|
children: t,
|
|
7945
7971
|
contentTheme: n,
|
|
7946
7972
|
id: e,
|
|
@@ -7959,10 +7985,10 @@ function di({
|
|
|
7959
7985
|
children: [{ kind: "raw", html: t }]
|
|
7960
7986
|
};
|
|
7961
7987
|
}
|
|
7962
|
-
function
|
|
7963
|
-
return m(
|
|
7988
|
+
function Hn(t) {
|
|
7989
|
+
return m(li(t));
|
|
7964
7990
|
}
|
|
7965
|
-
const
|
|
7991
|
+
const Nn = {
|
|
7966
7992
|
name: "surface",
|
|
7967
7993
|
description: "Use `surface` to set a colour context for nested content.",
|
|
7968
7994
|
output: { element: "div", class: "set-surface" },
|
|
@@ -8014,7 +8040,7 @@ const Vn = {
|
|
|
8014
8040
|
]
|
|
8015
8041
|
}
|
|
8016
8042
|
};
|
|
8017
|
-
function
|
|
8043
|
+
function pi({
|
|
8018
8044
|
checked: t,
|
|
8019
8045
|
description: n,
|
|
8020
8046
|
disabled: e,
|
|
@@ -8070,10 +8096,10 @@ function si({
|
|
|
8070
8096
|
children: c
|
|
8071
8097
|
};
|
|
8072
8098
|
}
|
|
8073
|
-
function
|
|
8074
|
-
return m(
|
|
8099
|
+
function Bn(t) {
|
|
8100
|
+
return m(pi(t));
|
|
8075
8101
|
}
|
|
8076
|
-
const
|
|
8102
|
+
const On = {
|
|
8077
8103
|
name: "switch",
|
|
8078
8104
|
description: "Use `switch` to let users instantly toggle a setting on or off.",
|
|
8079
8105
|
output: { element: "div", class: "set-switch" },
|
|
@@ -8181,7 +8207,7 @@ const Nn = {
|
|
|
8181
8207
|
]
|
|
8182
8208
|
}
|
|
8183
8209
|
};
|
|
8184
|
-
function
|
|
8210
|
+
function ci({
|
|
8185
8211
|
autocomplete: t,
|
|
8186
8212
|
description: n,
|
|
8187
8213
|
disabled: e,
|
|
@@ -8207,7 +8233,7 @@ function li({
|
|
|
8207
8233
|
);
|
|
8208
8234
|
if (!Number.isInteger(s) || s < 2)
|
|
8209
8235
|
throw new Error("rows must be an integer greater than or equal to 2.");
|
|
8210
|
-
const C = z ? `${f}-description` : void 0, E = !!e, S = !E && !!d,
|
|
8236
|
+
const C = z ? `${f}-description` : void 0, E = !!e, S = !E && !!d, A = [
|
|
8211
8237
|
{
|
|
8212
8238
|
kind: "element",
|
|
8213
8239
|
tag: "label",
|
|
@@ -8233,7 +8259,7 @@ function li({
|
|
|
8233
8259
|
children: [{ kind: "text", value: k || "" }]
|
|
8234
8260
|
}
|
|
8235
8261
|
];
|
|
8236
|
-
return z &&
|
|
8262
|
+
return z && A.push({
|
|
8237
8263
|
kind: "element",
|
|
8238
8264
|
tag: "p",
|
|
8239
8265
|
attrs: { class: "description", id: C },
|
|
@@ -8247,13 +8273,13 @@ function li({
|
|
|
8247
8273
|
"data-size": c,
|
|
8248
8274
|
"data-inline-size": w === "fit" ? "fit" : void 0
|
|
8249
8275
|
},
|
|
8250
|
-
children:
|
|
8276
|
+
children: A
|
|
8251
8277
|
};
|
|
8252
8278
|
}
|
|
8253
|
-
function
|
|
8254
|
-
return m(
|
|
8279
|
+
function Pn(t) {
|
|
8280
|
+
return m(ci(t));
|
|
8255
8281
|
}
|
|
8256
|
-
const
|
|
8282
|
+
const Rn = {
|
|
8257
8283
|
name: "textarea",
|
|
8258
8284
|
description: "Use `textarea` to collect multiple lines of text from users.",
|
|
8259
8285
|
output: { element: "div", class: "set-textarea" },
|
|
@@ -8442,168 +8468,169 @@ const On = {
|
|
|
8442
8468
|
]
|
|
8443
8469
|
}
|
|
8444
8470
|
};
|
|
8445
|
-
function
|
|
8446
|
-
|
|
8471
|
+
function Wn() {
|
|
8472
|
+
Xt(), te(), ne(), de(), le(), he(), ke(), fe(), Se();
|
|
8447
8473
|
}
|
|
8448
8474
|
export {
|
|
8449
|
-
|
|
8450
|
-
|
|
8451
|
-
|
|
8475
|
+
zt as SET_ALERT_EVENT_BEFORE_DISMISS,
|
|
8476
|
+
Lt as SET_ALERT_EVENT_DISMISS,
|
|
8477
|
+
bi as SET_ALERT_SPEC,
|
|
8452
8478
|
Z as SET_ALERT_TAG_NAME,
|
|
8453
|
-
|
|
8454
|
-
|
|
8455
|
-
|
|
8456
|
-
|
|
8457
|
-
|
|
8479
|
+
Ni as SET_AVATAR_SPEC,
|
|
8480
|
+
Oi as SET_BADGE_SPEC,
|
|
8481
|
+
Mt as SET_BANNER_EVENT_BEFORE_DISMISS,
|
|
8482
|
+
qt as SET_BANNER_EVENT_DISMISS,
|
|
8483
|
+
wi as SET_BANNER_SPEC,
|
|
8458
8484
|
F as SET_BANNER_TAG_NAME,
|
|
8459
|
-
|
|
8460
|
-
|
|
8461
|
-
|
|
8462
|
-
|
|
8463
|
-
|
|
8464
|
-
|
|
8465
|
-
|
|
8466
|
-
|
|
8467
|
-
|
|
8468
|
-
|
|
8469
|
-
|
|
8470
|
-
|
|
8471
|
-
|
|
8472
|
-
|
|
8473
|
-
|
|
8474
|
-
|
|
8475
|
-
|
|
8485
|
+
Ui as SET_BLOCKQUOTE_SPEC,
|
|
8486
|
+
Gi as SET_BOX_SPEC,
|
|
8487
|
+
ki as SET_BUTTON_SPEC,
|
|
8488
|
+
Fi as SET_CARD_SPEC,
|
|
8489
|
+
Ki as SET_CHECKBOX_SPEC,
|
|
8490
|
+
Qi as SET_CONTAINER_SPEC,
|
|
8491
|
+
Ji as SET_DETAILS_SPEC,
|
|
8492
|
+
en as SET_DIVIDER_SPEC,
|
|
8493
|
+
Ci as SET_EXPANDER_SPEC,
|
|
8494
|
+
rn as SET_FIELDSET_SPEC,
|
|
8495
|
+
on as SET_FIGURE_SPEC,
|
|
8496
|
+
pn as SET_GRID_ITEM_SPEC,
|
|
8497
|
+
ln as SET_GRID_SPEC,
|
|
8498
|
+
un as SET_HEADING_SPEC,
|
|
8499
|
+
ui as SET_ICON_NAMES,
|
|
8500
|
+
hi as SET_ICON_SPEC,
|
|
8501
|
+
Si as SET_IMAGE_SPEC,
|
|
8476
8502
|
K as SET_IMAGE_TAG_NAME,
|
|
8477
|
-
|
|
8478
|
-
|
|
8479
|
-
|
|
8480
|
-
|
|
8503
|
+
mn as SET_INLINE_SPEC,
|
|
8504
|
+
gn as SET_INPUT_SPEC,
|
|
8505
|
+
It as SET_LIGHTSWITCH_EVENT_CHANGE,
|
|
8506
|
+
Ei as SET_LIGHTSWITCH_SPEC,
|
|
8481
8507
|
st as SET_LIGHTSWITCH_STORAGE_KEY,
|
|
8482
8508
|
X as SET_LIGHTSWITCH_TAG_NAME,
|
|
8483
|
-
|
|
8484
|
-
|
|
8485
|
-
|
|
8486
|
-
|
|
8509
|
+
fi as SET_LINK_SPEC,
|
|
8510
|
+
vn as SET_LOGO_SPEC,
|
|
8511
|
+
At as SET_MENU_EVENT_CHOOSE,
|
|
8512
|
+
Li as SET_MENU_SPEC,
|
|
8487
8513
|
Q as SET_MENU_TAG_NAME,
|
|
8488
|
-
|
|
8514
|
+
qi as SET_NAV_SPEC,
|
|
8489
8515
|
Y as SET_NAV_TAG_NAME,
|
|
8490
|
-
|
|
8491
|
-
|
|
8492
|
-
|
|
8493
|
-
|
|
8494
|
-
|
|
8495
|
-
|
|
8496
|
-
|
|
8516
|
+
yn as SET_PAGE_SPEC,
|
|
8517
|
+
Sn as SET_PANEL_SPEC,
|
|
8518
|
+
En as SET_PATTERN_SPEC,
|
|
8519
|
+
Cn as SET_POSTER_SPEC,
|
|
8520
|
+
qn as SET_PROSE_SPEC,
|
|
8521
|
+
An as SET_RADIOS_SPEC,
|
|
8522
|
+
Ai as SET_RANGE_SPEC,
|
|
8497
8523
|
J as SET_RANGE_TAG_NAME,
|
|
8498
|
-
|
|
8499
|
-
|
|
8524
|
+
_n as SET_ROOT_SPEC,
|
|
8525
|
+
_i as SET_SIDEBAR_SPEC,
|
|
8500
8526
|
tt as SET_SIDEBAR_TAG_NAME,
|
|
8501
|
-
|
|
8502
|
-
|
|
8503
|
-
|
|
8504
|
-
|
|
8505
|
-
|
|
8506
|
-
|
|
8507
|
-
|
|
8527
|
+
mi as SET_SPINNER_SPEC,
|
|
8528
|
+
Vn as SET_STACK_SPEC,
|
|
8529
|
+
Nn as SET_SURFACE_SPEC,
|
|
8530
|
+
On as SET_SWITCH_SPEC,
|
|
8531
|
+
Rn as SET_TEXTAREA_SPEC,
|
|
8532
|
+
Ri as SET_TEXT_SPEC,
|
|
8533
|
+
Vi as SET_VIDEO_SPEC,
|
|
8508
8534
|
et as SET_VIDEO_TAG_NAME,
|
|
8509
|
-
|
|
8510
|
-
|
|
8511
|
-
|
|
8512
|
-
|
|
8513
|
-
|
|
8514
|
-
|
|
8535
|
+
Gt as applySetButtonActivity,
|
|
8536
|
+
Kt as buildSetAlert,
|
|
8537
|
+
Ae as buildSetAvatar,
|
|
8538
|
+
Te as buildSetBadge,
|
|
8539
|
+
Jt as buildSetBanner,
|
|
8540
|
+
_e as buildSetBlockquote,
|
|
8541
|
+
De as buildSetBox,
|
|
8515
8542
|
ht as buildSetButton,
|
|
8516
|
-
|
|
8517
|
-
|
|
8518
|
-
|
|
8519
|
-
|
|
8520
|
-
|
|
8521
|
-
|
|
8543
|
+
Ve as buildSetCard,
|
|
8544
|
+
He as buildSetCheckbox,
|
|
8545
|
+
Ne as buildSetContainer,
|
|
8546
|
+
Be as buildSetDetails,
|
|
8547
|
+
Oe as buildSetDivider,
|
|
8548
|
+
pe as buildSetExpander,
|
|
8522
8549
|
Tt as buildSetFieldset,
|
|
8523
|
-
|
|
8524
|
-
|
|
8525
|
-
|
|
8526
|
-
|
|
8527
|
-
|
|
8528
|
-
|
|
8529
|
-
|
|
8530
|
-
|
|
8531
|
-
|
|
8532
|
-
|
|
8533
|
-
|
|
8534
|
-
|
|
8535
|
-
|
|
8536
|
-
|
|
8537
|
-
|
|
8538
|
-
|
|
8539
|
-
|
|
8540
|
-
|
|
8541
|
-
|
|
8542
|
-
|
|
8543
|
-
|
|
8544
|
-
|
|
8545
|
-
|
|
8546
|
-
|
|
8547
|
-
|
|
8548
|
-
|
|
8550
|
+
Pe as buildSetFigure,
|
|
8551
|
+
Re as buildSetGrid,
|
|
8552
|
+
We as buildSetGridItem,
|
|
8553
|
+
Ue as buildSetHeading,
|
|
8554
|
+
R as buildSetIcon,
|
|
8555
|
+
ee as buildSetImage,
|
|
8556
|
+
$e as buildSetInline,
|
|
8557
|
+
Ge as buildSetInput,
|
|
8558
|
+
oe as buildSetLightswitch,
|
|
8559
|
+
Ct as buildSetLink,
|
|
8560
|
+
ti as buildSetLogo,
|
|
8561
|
+
se as buildSetMenu,
|
|
8562
|
+
ue as buildSetNav,
|
|
8563
|
+
ei as buildSetPage,
|
|
8564
|
+
ii as buildSetPanel,
|
|
8565
|
+
ni as buildSetPattern,
|
|
8566
|
+
ri as buildSetPoster,
|
|
8567
|
+
ai as buildSetProse,
|
|
8568
|
+
oi as buildSetRadios,
|
|
8569
|
+
me as buildSetRange,
|
|
8570
|
+
di as buildSetRoot,
|
|
8571
|
+
ve as buildSetSidebar,
|
|
8572
|
+
Ut as buildSetSpinner,
|
|
8573
|
+
si as buildSetStack,
|
|
8574
|
+
li as buildSetSurface,
|
|
8575
|
+
pi as buildSetSwitch,
|
|
8549
8576
|
it as buildSetText,
|
|
8550
|
-
|
|
8551
|
-
|
|
8552
|
-
|
|
8553
|
-
|
|
8554
|
-
|
|
8555
|
-
|
|
8556
|
-
|
|
8557
|
-
|
|
8558
|
-
|
|
8559
|
-
|
|
8560
|
-
|
|
8561
|
-
|
|
8562
|
-
|
|
8563
|
-
|
|
8564
|
-
|
|
8565
|
-
|
|
8566
|
-
|
|
8567
|
-
|
|
8568
|
-
|
|
8577
|
+
ci as buildSetTextarea,
|
|
8578
|
+
ye as buildSetVideo,
|
|
8579
|
+
Xt as defineSetAlert,
|
|
8580
|
+
te as defineSetBanner,
|
|
8581
|
+
Wn as defineSetComponents,
|
|
8582
|
+
ne as defineSetImage,
|
|
8583
|
+
de as defineSetLightswitch,
|
|
8584
|
+
le as defineSetMenu,
|
|
8585
|
+
he as defineSetNav,
|
|
8586
|
+
ke as defineSetRange,
|
|
8587
|
+
fe as defineSetSidebar,
|
|
8588
|
+
Se as defineSetVideo,
|
|
8589
|
+
ze as getSetInitials,
|
|
8590
|
+
gi as renderSetAlert,
|
|
8591
|
+
Hi as renderSetAvatar,
|
|
8592
|
+
Bi as renderSetBadge,
|
|
8593
|
+
yi as renderSetBanner,
|
|
8594
|
+
Wi as renderSetBlockquote,
|
|
8595
|
+
$i as renderSetBox,
|
|
8569
8596
|
mt as renderSetButton,
|
|
8570
|
-
|
|
8571
|
-
|
|
8572
|
-
|
|
8573
|
-
|
|
8574
|
-
|
|
8575
|
-
|
|
8576
|
-
|
|
8577
|
-
|
|
8578
|
-
|
|
8579
|
-
|
|
8580
|
-
|
|
8581
|
-
|
|
8582
|
-
|
|
8583
|
-
|
|
8584
|
-
|
|
8585
|
-
|
|
8586
|
-
|
|
8587
|
-
|
|
8588
|
-
|
|
8589
|
-
|
|
8590
|
-
|
|
8591
|
-
|
|
8592
|
-
|
|
8593
|
-
|
|
8594
|
-
|
|
8595
|
-
|
|
8596
|
-
|
|
8597
|
-
|
|
8598
|
-
|
|
8599
|
-
|
|
8597
|
+
Zi as renderSetCard,
|
|
8598
|
+
ji as renderSetCheckbox,
|
|
8599
|
+
Xi as renderSetContainer,
|
|
8600
|
+
Yi as renderSetDetails,
|
|
8601
|
+
tn as renderSetDivider,
|
|
8602
|
+
ce as renderSetExpander,
|
|
8603
|
+
nn as renderSetFieldset,
|
|
8604
|
+
an as renderSetFigure,
|
|
8605
|
+
dn as renderSetGrid,
|
|
8606
|
+
sn as renderSetGridItem,
|
|
8607
|
+
cn as renderSetHeading,
|
|
8608
|
+
Wt as renderSetIcon,
|
|
8609
|
+
ie as renderSetImage,
|
|
8610
|
+
hn as renderSetInline,
|
|
8611
|
+
kn as renderSetInput,
|
|
8612
|
+
xi as renderSetLightswitch,
|
|
8613
|
+
vi as renderSetLink,
|
|
8614
|
+
bn as renderSetLogo,
|
|
8615
|
+
zi as renderSetMenu,
|
|
8616
|
+
Mi as renderSetNav,
|
|
8617
|
+
fn as renderSetPage,
|
|
8618
|
+
wn as renderSetPanel,
|
|
8619
|
+
xn as renderSetPattern,
|
|
8620
|
+
Ln as renderSetPoster,
|
|
8621
|
+
zn as renderSetPosterImage,
|
|
8622
|
+
Mn as renderSetProse,
|
|
8623
|
+
In as renderSetRadios,
|
|
8624
|
+
Ii as renderSetRange,
|
|
8625
|
+
Tn as renderSetRoot,
|
|
8626
|
+
Ti as renderSetSidebar,
|
|
8600
8627
|
bt as renderSetSpinner,
|
|
8601
|
-
|
|
8602
|
-
|
|
8603
|
-
|
|
8604
|
-
|
|
8605
|
-
|
|
8606
|
-
|
|
8628
|
+
Dn as renderSetStack,
|
|
8629
|
+
Hn as renderSetSurface,
|
|
8630
|
+
Bn as renderSetSwitch,
|
|
8631
|
+
Pi as renderSetText,
|
|
8632
|
+
Pn as renderSetTextarea,
|
|
8633
|
+
Di as renderSetVideo,
|
|
8607
8634
|
m as serializeSetNode
|
|
8608
8635
|
};
|
|
8609
8636
|
//# sourceMappingURL=index.js.map
|