@supersoniks/concorde 1.1.35 → 1.1.37
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/concorde-core.bundle.js +8 -8
- package/concorde-core.es.js +603 -483
- package/core/components/functional/fetch/fetch.d.ts +1 -0
- package/core/components/functional/functional.d.ts +1 -0
- package/core/components/functional/functional.js +1 -0
- package/core/components/functional/list/list.d.ts +1 -0
- package/core/components/functional/sdui/sdui.d.ts +67 -0
- package/core/components/functional/sdui/sdui.js +130 -0
- package/core/components/functional/submit/submit.js +8 -3
- package/core/components/ui/button/button.d.ts +7 -1
- package/core/components/ui/form/checkbox/checkbox.d.ts +2 -0
- package/core/components/ui/form/input/input.d.ts +1 -0
- package/core/components/ui/form/textarea/textarea.d.ts +1 -0
- package/core/mixins/Fetcher.d.ts +5 -1
- package/core/mixins/Fetcher.js +1 -1
- package/core/mixins/FormCheckable.d.ts +4 -1
- package/core/mixins/FormInput.d.ts +1 -0
- package/core/mixins/Subscriber.d.ts +1 -0
- package/core/utils/api.js +4 -1
- package/mixins.d.ts +3 -0
- package/package.json +3 -1
package/concorde-core.es.js
CHANGED
|
@@ -1000,6 +1000,57 @@ class HTML$1 {
|
|
|
1000
1000
|
return node.getAttribute(attributeName);
|
|
1001
1001
|
}
|
|
1002
1002
|
}
|
|
1003
|
+
class Objects$1 {
|
|
1004
|
+
static shallowEqual(object1, object2) {
|
|
1005
|
+
const keys1 = Object.keys(object1);
|
|
1006
|
+
const keys2 = Object.keys(object2);
|
|
1007
|
+
if (keys1.length !== keys2.length) {
|
|
1008
|
+
return false;
|
|
1009
|
+
}
|
|
1010
|
+
for (let key of keys1) {
|
|
1011
|
+
if (object1[key] !== object2[key]) {
|
|
1012
|
+
return false;
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
return true;
|
|
1016
|
+
}
|
|
1017
|
+
static deepEqual(object1, object2) {
|
|
1018
|
+
const keys1 = Object.keys(object1);
|
|
1019
|
+
const keys2 = Object.keys(object2);
|
|
1020
|
+
if (keys1.length !== keys2.length) {
|
|
1021
|
+
return false;
|
|
1022
|
+
}
|
|
1023
|
+
for (const key of keys1) {
|
|
1024
|
+
const val1 = object1[key];
|
|
1025
|
+
const val2 = object2[key];
|
|
1026
|
+
const areObjects = Objects$1.isObject(val1) && Objects$1.isObject(val2);
|
|
1027
|
+
if (areObjects && !Objects$1.deepEqual(val1, val2) || !areObjects && val1 !== val2) {
|
|
1028
|
+
return false;
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
return true;
|
|
1032
|
+
}
|
|
1033
|
+
static isObject(object) {
|
|
1034
|
+
return object != null && typeof object === "object";
|
|
1035
|
+
}
|
|
1036
|
+
static isUndefindOrNull(object) {
|
|
1037
|
+
return object === null || object === void 0;
|
|
1038
|
+
}
|
|
1039
|
+
static traverse(obj, pathArray, extendValues = false) {
|
|
1040
|
+
for (let key of pathArray) {
|
|
1041
|
+
let newObj = obj[key];
|
|
1042
|
+
if (newObj === void 0) {
|
|
1043
|
+
return void 0;
|
|
1044
|
+
}
|
|
1045
|
+
if (extendValues && Objects$1.isObject(newObj)) {
|
|
1046
|
+
obj = Object.assign(Array.isArray(newObj) ? [] : {}, obj, newObj);
|
|
1047
|
+
} else {
|
|
1048
|
+
obj = obj[key];
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1051
|
+
return obj;
|
|
1052
|
+
}
|
|
1053
|
+
}
|
|
1003
1054
|
const _API = class {
|
|
1004
1055
|
constructor(config) {
|
|
1005
1056
|
this.serviceURL = config.serviceURL;
|
|
@@ -1038,7 +1089,9 @@ const _API = class {
|
|
|
1038
1089
|
let result2 = await fetch(url, { headers });
|
|
1039
1090
|
try {
|
|
1040
1091
|
let json = await result2.json();
|
|
1041
|
-
json
|
|
1092
|
+
if (Objects$1.isObject(json)) {
|
|
1093
|
+
json._sonic_http_response_ = result2;
|
|
1094
|
+
}
|
|
1042
1095
|
resolve(json);
|
|
1043
1096
|
} catch (e2) {
|
|
1044
1097
|
resolve({ _sonic_http_response_: result2 });
|
|
@@ -1307,66 +1360,15 @@ DataBindObserver$1.observe(document.documentElement);
|
|
|
1307
1360
|
let win$5 = window;
|
|
1308
1361
|
if (!win$5.SonicDataBindObserver)
|
|
1309
1362
|
win$5.SonicDataBindObserver = DataBindObserver$1;
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
if (keys1.length !== keys2.length) {
|
|
1315
|
-
return false;
|
|
1316
|
-
}
|
|
1317
|
-
for (let key of keys1) {
|
|
1318
|
-
if (object1[key] !== object2[key]) {
|
|
1319
|
-
return false;
|
|
1320
|
-
}
|
|
1321
|
-
}
|
|
1322
|
-
return true;
|
|
1323
|
-
}
|
|
1324
|
-
static deepEqual(object1, object2) {
|
|
1325
|
-
const keys1 = Object.keys(object1);
|
|
1326
|
-
const keys2 = Object.keys(object2);
|
|
1327
|
-
if (keys1.length !== keys2.length) {
|
|
1328
|
-
return false;
|
|
1329
|
-
}
|
|
1330
|
-
for (const key of keys1) {
|
|
1331
|
-
const val1 = object1[key];
|
|
1332
|
-
const val2 = object2[key];
|
|
1333
|
-
const areObjects = Objects$1.isObject(val1) && Objects$1.isObject(val2);
|
|
1334
|
-
if (areObjects && !Objects$1.deepEqual(val1, val2) || !areObjects && val1 !== val2) {
|
|
1335
|
-
return false;
|
|
1336
|
-
}
|
|
1337
|
-
}
|
|
1338
|
-
return true;
|
|
1339
|
-
}
|
|
1340
|
-
static isObject(object) {
|
|
1341
|
-
return object != null && typeof object === "object";
|
|
1342
|
-
}
|
|
1343
|
-
static isUndefindOrNull(object) {
|
|
1344
|
-
return object === null || object === void 0;
|
|
1345
|
-
}
|
|
1346
|
-
static traverse(obj, pathArray, extendValues = false) {
|
|
1347
|
-
for (let key of pathArray) {
|
|
1348
|
-
let newObj = obj[key];
|
|
1349
|
-
if (newObj === void 0) {
|
|
1350
|
-
return void 0;
|
|
1351
|
-
}
|
|
1352
|
-
if (extendValues && Objects$1.isObject(newObj)) {
|
|
1353
|
-
obj = Object.assign(Array.isArray(newObj) ? [] : {}, obj, newObj);
|
|
1354
|
-
} else {
|
|
1355
|
-
obj = obj[key];
|
|
1356
|
-
}
|
|
1357
|
-
}
|
|
1358
|
-
return obj;
|
|
1359
|
-
}
|
|
1360
|
-
}
|
|
1361
|
-
var __defProp$12 = Object.defineProperty;
|
|
1362
|
-
var __getOwnPropDesc$12 = Object.getOwnPropertyDescriptor;
|
|
1363
|
-
var __decorateClass$12 = (decorators, target, key, kind) => {
|
|
1364
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$12(target, key) : target;
|
|
1363
|
+
var __defProp$13 = Object.defineProperty;
|
|
1364
|
+
var __getOwnPropDesc$13 = Object.getOwnPropertyDescriptor;
|
|
1365
|
+
var __decorateClass$13 = (decorators, target, key, kind) => {
|
|
1366
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$13(target, key) : target;
|
|
1365
1367
|
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
1366
1368
|
if (decorator = decorators[i2])
|
|
1367
1369
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
1368
1370
|
if (kind && result)
|
|
1369
|
-
__defProp$
|
|
1371
|
+
__defProp$13(target, key, result);
|
|
1370
1372
|
return result;
|
|
1371
1373
|
};
|
|
1372
1374
|
let keepDebugOnMouseOut = false;
|
|
@@ -1626,25 +1628,25 @@ const Subscriber$1 = (superClass) => {
|
|
|
1626
1628
|
};
|
|
1627
1629
|
let SubscriberElement = _SubscriberElement;
|
|
1628
1630
|
SubscriberElement.instanceCounter = 0;
|
|
1629
|
-
__decorateClass$
|
|
1631
|
+
__decorateClass$13([
|
|
1630
1632
|
e$5({ type: Boolean })
|
|
1631
1633
|
], SubscriberElement.prototype, "noAutoFill", 2);
|
|
1632
|
-
__decorateClass$
|
|
1634
|
+
__decorateClass$13([
|
|
1633
1635
|
e$5({ type: Boolean })
|
|
1634
1636
|
], SubscriberElement.prototype, "forceAutoFill", 2);
|
|
1635
|
-
__decorateClass$
|
|
1637
|
+
__decorateClass$13([
|
|
1636
1638
|
e$5({ type: Object })
|
|
1637
1639
|
], SubscriberElement.prototype, "propertyMap", 2);
|
|
1638
|
-
__decorateClass$
|
|
1640
|
+
__decorateClass$13([
|
|
1639
1641
|
e$5({ type: String, attribute: "data-title" })
|
|
1640
1642
|
], SubscriberElement.prototype, "title", 2);
|
|
1641
|
-
__decorateClass$
|
|
1643
|
+
__decorateClass$13([
|
|
1642
1644
|
e$5({ reflect: true })
|
|
1643
1645
|
], SubscriberElement.prototype, "dataProvider", 2);
|
|
1644
|
-
__decorateClass$
|
|
1646
|
+
__decorateClass$13([
|
|
1645
1647
|
e$5()
|
|
1646
1648
|
], SubscriberElement.prototype, "bindPublisher", 2);
|
|
1647
|
-
__decorateClass$
|
|
1649
|
+
__decorateClass$13([
|
|
1648
1650
|
e$5()
|
|
1649
1651
|
], SubscriberElement.prototype, "props", 1);
|
|
1650
1652
|
return SubscriberElement;
|
|
@@ -1652,15 +1654,15 @@ const Subscriber$1 = (superClass) => {
|
|
|
1652
1654
|
let win$4 = window;
|
|
1653
1655
|
if (!win$4.SonicPublisherManager)
|
|
1654
1656
|
win$4.SonicPublisherManager = PublisherManager$1;
|
|
1655
|
-
var __defProp$
|
|
1656
|
-
var __getOwnPropDesc$
|
|
1657
|
-
var __decorateClass$
|
|
1658
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
1657
|
+
var __defProp$12 = Object.defineProperty;
|
|
1658
|
+
var __getOwnPropDesc$12 = Object.getOwnPropertyDescriptor;
|
|
1659
|
+
var __decorateClass$12 = (decorators, target, key, kind) => {
|
|
1660
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$12(target, key) : target;
|
|
1659
1661
|
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
1660
1662
|
if (decorator = decorators[i2])
|
|
1661
1663
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
1662
1664
|
if (kind && result)
|
|
1663
|
-
__defProp$
|
|
1665
|
+
__defProp$12(target, key, result);
|
|
1664
1666
|
return result;
|
|
1665
1667
|
};
|
|
1666
1668
|
const TemplatesContainer$1 = (superClass) => {
|
|
@@ -1687,23 +1689,23 @@ const TemplatesContainer$1 = (superClass) => {
|
|
|
1687
1689
|
super.connectedCallback();
|
|
1688
1690
|
}
|
|
1689
1691
|
}
|
|
1690
|
-
__decorateClass$
|
|
1692
|
+
__decorateClass$12([
|
|
1691
1693
|
e$5({ type: Array })
|
|
1692
1694
|
], TemplatesContainerElement.prototype, "templates", 2);
|
|
1693
1695
|
return TemplatesContainerElement;
|
|
1694
1696
|
};
|
|
1695
|
-
var __defProp$
|
|
1696
|
-
var __getOwnPropDesc$
|
|
1697
|
-
var __decorateClass$
|
|
1698
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
1697
|
+
var __defProp$11 = Object.defineProperty;
|
|
1698
|
+
var __getOwnPropDesc$11 = Object.getOwnPropertyDescriptor;
|
|
1699
|
+
var __decorateClass$11 = (decorators, target, key, kind) => {
|
|
1700
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$11(target, key) : target;
|
|
1699
1701
|
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
1700
1702
|
if (decorator = decorators[i2])
|
|
1701
1703
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
1702
1704
|
if (kind && result)
|
|
1703
|
-
__defProp$
|
|
1705
|
+
__defProp$11(target, key, result);
|
|
1704
1706
|
return result;
|
|
1705
1707
|
};
|
|
1706
|
-
const tagName$
|
|
1708
|
+
const tagName$Y = "sonic-date";
|
|
1707
1709
|
let SonicDate = class extends Subscriber$1(TemplatesContainer$1(s$2)) {
|
|
1708
1710
|
constructor() {
|
|
1709
1711
|
super(...arguments);
|
|
@@ -1828,77 +1830,77 @@ let SonicDate = class extends Subscriber$1(TemplatesContainer$1(s$2)) {
|
|
|
1828
1830
|
})}`;
|
|
1829
1831
|
}
|
|
1830
1832
|
};
|
|
1831
|
-
__decorateClass$
|
|
1833
|
+
__decorateClass$11([
|
|
1832
1834
|
e$5()
|
|
1833
1835
|
], SonicDate.prototype, "wording_billet_periode_validite", 1);
|
|
1834
|
-
__decorateClass$
|
|
1836
|
+
__decorateClass$11([
|
|
1835
1837
|
e$5({ type: Boolean })
|
|
1836
1838
|
], SonicDate.prototype, "designMode", 2);
|
|
1837
|
-
__decorateClass$
|
|
1839
|
+
__decorateClass$11([
|
|
1838
1840
|
e$5({ type: String })
|
|
1839
1841
|
], SonicDate.prototype, "time_zone", 2);
|
|
1840
|
-
__decorateClass$
|
|
1842
|
+
__decorateClass$11([
|
|
1841
1843
|
e$5({ type: Number })
|
|
1842
1844
|
], SonicDate.prototype, "date", 2);
|
|
1843
|
-
__decorateClass$
|
|
1845
|
+
__decorateClass$11([
|
|
1844
1846
|
e$5({ type: String })
|
|
1845
1847
|
], SonicDate.prototype, "date_string", 2);
|
|
1846
|
-
__decorateClass$
|
|
1848
|
+
__decorateClass$11([
|
|
1847
1849
|
e$5({ type: String })
|
|
1848
1850
|
], SonicDate.prototype, "start_date_string", 2);
|
|
1849
|
-
__decorateClass$
|
|
1851
|
+
__decorateClass$11([
|
|
1850
1852
|
e$5({ type: String })
|
|
1851
1853
|
], SonicDate.prototype, "end_date_string", 2);
|
|
1852
|
-
__decorateClass$
|
|
1854
|
+
__decorateClass$11([
|
|
1853
1855
|
e$5({ type: Number })
|
|
1854
1856
|
], SonicDate.prototype, "start_date", 2);
|
|
1855
|
-
__decorateClass$
|
|
1857
|
+
__decorateClass$11([
|
|
1856
1858
|
e$5({ type: Number })
|
|
1857
1859
|
], SonicDate.prototype, "end_date", 2);
|
|
1858
|
-
__decorateClass$
|
|
1860
|
+
__decorateClass$11([
|
|
1859
1861
|
e$5({ type: String })
|
|
1860
1862
|
], SonicDate.prototype, "era", 2);
|
|
1861
|
-
__decorateClass$
|
|
1863
|
+
__decorateClass$11([
|
|
1862
1864
|
e$5({ type: String })
|
|
1863
1865
|
], SonicDate.prototype, "year", 2);
|
|
1864
|
-
__decorateClass$
|
|
1866
|
+
__decorateClass$11([
|
|
1865
1867
|
e$5({ type: String })
|
|
1866
1868
|
], SonicDate.prototype, "month", 2);
|
|
1867
|
-
__decorateClass$
|
|
1869
|
+
__decorateClass$11([
|
|
1868
1870
|
e$5({ type: String })
|
|
1869
1871
|
], SonicDate.prototype, "day", 2);
|
|
1870
|
-
__decorateClass$
|
|
1872
|
+
__decorateClass$11([
|
|
1871
1873
|
e$5({ type: String })
|
|
1872
1874
|
], SonicDate.prototype, "weekday", 2);
|
|
1873
|
-
__decorateClass$
|
|
1875
|
+
__decorateClass$11([
|
|
1874
1876
|
e$5({ type: String })
|
|
1875
1877
|
], SonicDate.prototype, "hour", 2);
|
|
1876
|
-
__decorateClass$
|
|
1878
|
+
__decorateClass$11([
|
|
1877
1879
|
e$5({ type: String })
|
|
1878
1880
|
], SonicDate.prototype, "minute", 2);
|
|
1879
|
-
__decorateClass$
|
|
1881
|
+
__decorateClass$11([
|
|
1880
1882
|
e$5({ type: String })
|
|
1881
1883
|
], SonicDate.prototype, "language", 2);
|
|
1882
|
-
__decorateClass$
|
|
1884
|
+
__decorateClass$11([
|
|
1883
1885
|
e$5({ type: Boolean })
|
|
1884
1886
|
], SonicDate.prototype, "renderIf", 2);
|
|
1885
|
-
SonicDate = __decorateClass$
|
|
1886
|
-
n$3(tagName$
|
|
1887
|
+
SonicDate = __decorateClass$11([
|
|
1888
|
+
n$3(tagName$Y)
|
|
1887
1889
|
], SonicDate);
|
|
1888
1890
|
const inline = r$5`:host([align=left]) .sonic-loader--inline{margin-left:0}:host([align=right]) .sonic-loader--inline{margin-left:auto;margin-right:0}.sonic-loader--inline{display:block;position:relative;width:80px;height:80px;margin:auto;z-index:20}.sonic-loader--inline div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:var(--sc-loader-bg);animation-timing-function:cubic-bezier(0,1,1,0)}.sonic-loader--inline div:nth-child(1){left:8px;animation:lds-ellipsis1 .6s infinite}.sonic-loader--inline div:nth-child(2){left:8px;animation:lds-ellipsis2 .6s infinite}.sonic-loader--inline div:nth-child(3){left:32px;animation:lds-ellipsis2 .6s infinite}.sonic-loader--inline div:nth-child(4){left:56px;animation:lds-ellipsis3 .6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0,0)}100%{transform:translate(24px,0)}}`;
|
|
1889
1891
|
const fixed = r$5`@keyframes sonic-loader--fixed{0%{transform:scale(0);opacity:0}5%{opacity:1}70%{opacity:90%}100%{transform:scale(1);opacity:0}}.sonic-loader--fixed{position:fixed;top:50%;left:50%;transform:transateY(-50%) translateX(-50%);z-index:999}.sonic-loader--fixed>div:nth-child(2){animation-delay:-.5s}.sonic-loader--fixed>div:nth-child(3){animation-delay:-.2s}.sonic-loader--fixed>div:nth-child(4){display:none!important}.sonic-loader--fixed>div{background-color:var(--sc-loader-bg);width:5rem;height:5rem;border-radius:100%;margin:2px;animation-fill-mode:both;position:absolute;top:0;opacity:0;margin:0;top:-2.5rem;left:-2.5rem;width:5rem;height:5rem;animation:sonic-loader--fixed 1s 0s linear infinite}`;
|
|
1890
|
-
var __defProp
|
|
1891
|
-
var __getOwnPropDesc
|
|
1892
|
-
var __decorateClass
|
|
1893
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc
|
|
1892
|
+
var __defProp$10 = Object.defineProperty;
|
|
1893
|
+
var __getOwnPropDesc$10 = Object.getOwnPropertyDescriptor;
|
|
1894
|
+
var __decorateClass$10 = (decorators, target, key, kind) => {
|
|
1895
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$10(target, key) : target;
|
|
1894
1896
|
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
1895
1897
|
if (decorator = decorators[i2])
|
|
1896
1898
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
1897
1899
|
if (kind && result)
|
|
1898
|
-
__defProp
|
|
1900
|
+
__defProp$10(target, key, result);
|
|
1899
1901
|
return result;
|
|
1900
1902
|
};
|
|
1901
|
-
const tagName$
|
|
1903
|
+
const tagName$X = "sonic-loader";
|
|
1902
1904
|
let Loader = class extends s$2 {
|
|
1903
1905
|
constructor() {
|
|
1904
1906
|
super(...arguments);
|
|
@@ -1937,14 +1939,14 @@ Loader.styles = [
|
|
|
1937
1939
|
r$5`:host{--sc-loader-bg:var(--sc-primary, currentColor);pointer-events:none}.sonic-loader{opacity:0;animation:showLoader .5s .5s forwards}.sonic-loader--inline{animation-delay:0s}@keyframes showLoader{0%{opacity:0}100%{opacity:1}}`
|
|
1938
1940
|
];
|
|
1939
1941
|
Loader.callCounter = 0;
|
|
1940
|
-
__decorateClass
|
|
1942
|
+
__decorateClass$10([
|
|
1941
1943
|
e$5({ type: String })
|
|
1942
1944
|
], Loader.prototype, "mode", 2);
|
|
1943
|
-
Loader = __decorateClass
|
|
1944
|
-
n$3(tagName$
|
|
1945
|
+
Loader = __decorateClass$10([
|
|
1946
|
+
n$3(tagName$X)
|
|
1945
1947
|
], Loader);
|
|
1946
1948
|
try {
|
|
1947
|
-
customElements.define(tagName$
|
|
1949
|
+
customElements.define(tagName$X, Loader);
|
|
1948
1950
|
} catch (e2) {
|
|
1949
1951
|
}
|
|
1950
1952
|
/**
|
|
@@ -2486,18 +2488,18 @@ Icons.fontAwesomeNext = {
|
|
|
2486
2488
|
}
|
|
2487
2489
|
};
|
|
2488
2490
|
Icons.default = _Icons.fontAwesomeNext;
|
|
2489
|
-
var __defProp
|
|
2490
|
-
var __getOwnPropDesc
|
|
2491
|
-
var __decorateClass
|
|
2492
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc
|
|
2491
|
+
var __defProp$$ = Object.defineProperty;
|
|
2492
|
+
var __getOwnPropDesc$$ = Object.getOwnPropertyDescriptor;
|
|
2493
|
+
var __decorateClass$$ = (decorators, target, key, kind) => {
|
|
2494
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$$(target, key) : target;
|
|
2493
2495
|
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
2494
2496
|
if (decorator = decorators[i2])
|
|
2495
2497
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
2496
2498
|
if (kind && result)
|
|
2497
|
-
__defProp
|
|
2499
|
+
__defProp$$(target, key, result);
|
|
2498
2500
|
return result;
|
|
2499
2501
|
};
|
|
2500
|
-
const tagName$
|
|
2502
|
+
const tagName$W = "sonic-icon";
|
|
2501
2503
|
let Icon = class extends s$2 {
|
|
2502
2504
|
constructor() {
|
|
2503
2505
|
super(...arguments);
|
|
@@ -2543,20 +2545,20 @@ let Icon = class extends s$2 {
|
|
|
2543
2545
|
}
|
|
2544
2546
|
};
|
|
2545
2547
|
Icon.styles = r$5`:host{line-height:0;width:fit-content;height:fit-content;vertical-align:-.125em}svg{height:var(--sc-icon-size,1em);width:var(--sc-icon-size,1em)}svg:not([fill=none]){fill:currentColor}svg[fill=none]{stroke-width:2}:host([size="2xs"]) svg{--sc-icon-size:0.625em}:host([size=xs]) svg{--sc-icon-size:0.75em}:host([size=sm]) svg{--sc-icon-size:0.875em}:host([size=lg]) svg{--sc-icon-size:1.25em}:host([size=xl]) svg{--sc-icon-size:1.5em}:host([size="2xl"]) svg{--sc-icon-size:2em}:host([size="3xl"]) svg{--sc-icon-size:2.8em}`;
|
|
2546
|
-
__decorateClass
|
|
2548
|
+
__decorateClass$$([
|
|
2547
2549
|
e$5({ type: String })
|
|
2548
2550
|
], Icon.prototype, "name", 1);
|
|
2549
|
-
__decorateClass
|
|
2551
|
+
__decorateClass$$([
|
|
2550
2552
|
e$5({ type: String })
|
|
2551
2553
|
], Icon.prototype, "prefix", 1);
|
|
2552
|
-
__decorateClass
|
|
2554
|
+
__decorateClass$$([
|
|
2553
2555
|
e$5({ type: String })
|
|
2554
2556
|
], Icon.prototype, "library", 1);
|
|
2555
|
-
Icon = __decorateClass
|
|
2556
|
-
n$3(tagName$
|
|
2557
|
+
Icon = __decorateClass$$([
|
|
2558
|
+
n$3(tagName$W)
|
|
2557
2559
|
], Icon);
|
|
2558
2560
|
try {
|
|
2559
|
-
customElements.define(tagName$
|
|
2561
|
+
customElements.define(tagName$W, Icon);
|
|
2560
2562
|
} catch (e2) {
|
|
2561
2563
|
}
|
|
2562
2564
|
/**
|
|
@@ -2601,15 +2603,15 @@ const i = e$3(class extends i$3 {
|
|
|
2601
2603
|
}
|
|
2602
2604
|
});
|
|
2603
2605
|
const customScroll = r$5`.custom-scroll{overflow:auto!important}.custom-scroll::-webkit-scrollbar{width:.5rem;height:.5rem;border:solid .15rem transparent;border-radius:var(--sc-rounded);background:0 0}.custom-scroll::-webkit-scrollbar-thumb{box-shadow:inset 0 0 2rem 2rem var(--sc-scrollbar-bg);border-radius:var(--sc-rounded);border:solid .15rem transparent}`;
|
|
2604
|
-
var __defProp$
|
|
2605
|
-
var __getOwnPropDesc$
|
|
2606
|
-
var __decorateClass$
|
|
2607
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
2606
|
+
var __defProp$_ = Object.defineProperty;
|
|
2607
|
+
var __getOwnPropDesc$_ = Object.getOwnPropertyDescriptor;
|
|
2608
|
+
var __decorateClass$_ = (decorators, target, key, kind) => {
|
|
2609
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$_(target, key) : target;
|
|
2608
2610
|
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
2609
2611
|
if (decorator = decorators[i2])
|
|
2610
2612
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
2611
2613
|
if (kind && result)
|
|
2612
|
-
__defProp$
|
|
2614
|
+
__defProp$_(target, key, result);
|
|
2613
2615
|
return result;
|
|
2614
2616
|
};
|
|
2615
2617
|
const icon$1 = {
|
|
@@ -2618,7 +2620,7 @@ const icon$1 = {
|
|
|
2618
2620
|
error: "warning-circled-outline",
|
|
2619
2621
|
info: "info-empty"
|
|
2620
2622
|
};
|
|
2621
|
-
const tagName$
|
|
2623
|
+
const tagName$V = "sonic-toast-item";
|
|
2622
2624
|
let SonicToastItem = class extends s$2 {
|
|
2623
2625
|
constructor() {
|
|
2624
2626
|
super(...arguments);
|
|
@@ -2670,48 +2672,48 @@ SonicToastItem.styles = [
|
|
|
2670
2672
|
customScroll,
|
|
2671
2673
|
r$5`*{box-sizing:border-box}:host{display:block;pointer-events:auto;position:relative;--sc-toast-status-color:transparent;--sc-toast-color:var(--sc-base-content);--sc-toast-bg:var(--sc-base);--sc-toast-rounded:var(--sc-rounded-md);--sc-toast-shadow:var(--sc-shadow-lg)}.fixed-area{position:fixed;bottom:1.25rem;right:1.25rem;z-index:999;display:flex;flex-direction:column-reverse}.sonic-toast{position:relative;pointer-events:auto;overflow:hidden;line-height:1.25;color:var(--sc-toast-color);box-shadow:var(--sc-toast-shadow);border-radius:var(--sc-toast-rounded);background:var(--sc-toast-bg)}.sonic-toast-content{padding:1em 2.5rem 1em 1em;display:flex;gap:.5rem;overflow:auto;position:relative}.sonic-toast-text{align-self:center;margin-top:auto;margin-bottom:auto;max-width:70ch;line-height:1.2}.sonic-toast-text a,::slotted(a:not(.btn)){color:inherit!important;text-decoration:underline!important;text-underline-offset:.15rem}.sonic-toast-text :is(p, ul, ol, hr, h1, h2, h3, h4, h5, h6),::slotted(:is(p,ul,ol,hr,h1,h2,h3,h4,h5,h6)){margin:0 0 .3em!important}.sonic-toast-text li,::slotted(li){margin-bottom:.15em!important}.sonic-toast-text>:is(p,ul,ol,hr,h1,h2,h3,h4,h5,h6):last-child,::slotted(:is(p,ul,ol,hr,h1,h2,h3,h4,h5,h6):last-child){margin-bottom:0!important}.sonic-toast-close{all:unset;position:absolute;z-index:4;pointer-events:initial;right:.5em;top:.5em;width:1.5rem;height:1.5rem;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;text-align:center;opacity:.5;background:rgba(0,0,0,0)}.sonic-toast-close:focus,.sonic-toast-close:hover{opacity:1;background:rgba(0,0,0,.075)}.sonic-toast-close svg{width:1rem;height:1rem;object-fit:contain;object-position:center center}.sonic-toast-title{font-weight:700;font-size:1.15rem;margin:.15em 0 .25em;line-height:1.2}.success{--sc-toast-status-color:var(--sc-success);--sc-toast-title-color:var(--sc-toast-status-color)}.error{--sc-toast-status-color:var(--sc-danger);--sc-toast-title-color:var(--sc-toast-status-color)}.warning{--sc-toast-status-color:var(--sc-warning);--sc-toast-title-color:var(--sc-toast-status-color)}.info{--sc-toast-status-color:var(--sc-info);--sc-toast-title-color:var(--sc-toast-status-color)}.error,.info,.success,.warning{border-top:3px solid var(--sc-toast-status-color,currentColor)}.sonic-toast:before{content:"";display:block;position:absolute;left:0;top:0;right:0;bottom:0;opacity:.05;pointer-events:none;transition:.2s;border-radius:var(--sc-toast-rounded);background-color:var(--sc-toast-status-color)}.sonic-toast:hover:before{opacity:.025}.error .sonic-toast-icon,.info .sonic-toast-icon,.success .sonic-toast-icon,.warning .sonic-toast-icon{color:var(--sc-toast-status-color,currentColor)}.sonic-toast-icon{position:sticky;top:0}.ghost{opacity:.85;pointer-events:none}`
|
|
2672
2674
|
];
|
|
2673
|
-
__decorateClass$
|
|
2675
|
+
__decorateClass$_([
|
|
2674
2676
|
e$5({ type: String })
|
|
2675
2677
|
], SonicToastItem.prototype, "title", 2);
|
|
2676
|
-
__decorateClass$
|
|
2678
|
+
__decorateClass$_([
|
|
2677
2679
|
e$5({ type: String })
|
|
2678
2680
|
], SonicToastItem.prototype, "id", 2);
|
|
2679
|
-
__decorateClass$
|
|
2681
|
+
__decorateClass$_([
|
|
2680
2682
|
e$5({ type: String })
|
|
2681
2683
|
], SonicToastItem.prototype, "text", 2);
|
|
2682
|
-
__decorateClass$
|
|
2684
|
+
__decorateClass$_([
|
|
2683
2685
|
e$5({ type: String })
|
|
2684
2686
|
], SonicToastItem.prototype, "status", 2);
|
|
2685
|
-
__decorateClass$
|
|
2687
|
+
__decorateClass$_([
|
|
2686
2688
|
e$5({ type: Boolean })
|
|
2687
2689
|
], SonicToastItem.prototype, "ghost", 2);
|
|
2688
|
-
__decorateClass$
|
|
2690
|
+
__decorateClass$_([
|
|
2689
2691
|
e$5({ type: Boolean })
|
|
2690
2692
|
], SonicToastItem.prototype, "preserve", 2);
|
|
2691
|
-
__decorateClass$
|
|
2693
|
+
__decorateClass$_([
|
|
2692
2694
|
e$5({ type: Boolean })
|
|
2693
2695
|
], SonicToastItem.prototype, "dismissForever", 2);
|
|
2694
|
-
__decorateClass$
|
|
2696
|
+
__decorateClass$_([
|
|
2695
2697
|
e$5({ type: String })
|
|
2696
2698
|
], SonicToastItem.prototype, "maxHeight", 2);
|
|
2697
|
-
__decorateClass$
|
|
2699
|
+
__decorateClass$_([
|
|
2698
2700
|
t$1()
|
|
2699
2701
|
], SonicToastItem.prototype, "visible", 2);
|
|
2700
|
-
SonicToastItem = __decorateClass$
|
|
2701
|
-
n$3(tagName$
|
|
2702
|
+
SonicToastItem = __decorateClass$_([
|
|
2703
|
+
n$3(tagName$V)
|
|
2702
2704
|
], SonicToastItem);
|
|
2703
|
-
var __defProp$
|
|
2704
|
-
var __getOwnPropDesc$
|
|
2705
|
-
var __decorateClass$
|
|
2706
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
2705
|
+
var __defProp$Z = Object.defineProperty;
|
|
2706
|
+
var __getOwnPropDesc$Z = Object.getOwnPropertyDescriptor;
|
|
2707
|
+
var __decorateClass$Z = (decorators, target, key, kind) => {
|
|
2708
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$Z(target, key) : target;
|
|
2707
2709
|
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
2708
2710
|
if (decorator = decorators[i2])
|
|
2709
2711
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
2710
2712
|
if (kind && result)
|
|
2711
|
-
__defProp$
|
|
2713
|
+
__defProp$Z(target, key, result);
|
|
2712
2714
|
return result;
|
|
2713
2715
|
};
|
|
2714
|
-
const tagName$
|
|
2716
|
+
const tagName$U = "sonic-toast";
|
|
2715
2717
|
let SonicToast$1 = class extends s$2 {
|
|
2716
2718
|
constructor() {
|
|
2717
2719
|
super(...arguments);
|
|
@@ -2807,11 +2809,11 @@ let SonicToast$1 = class extends s$2 {
|
|
|
2807
2809
|
this.toasts = this.toasts.filter((i2) => i2 != item);
|
|
2808
2810
|
}
|
|
2809
2811
|
};
|
|
2810
|
-
__decorateClass$
|
|
2812
|
+
__decorateClass$Z([
|
|
2811
2813
|
e$5({ type: Array })
|
|
2812
2814
|
], SonicToast$1.prototype, "toasts", 2);
|
|
2813
|
-
SonicToast$1 = __decorateClass$
|
|
2814
|
-
n$3(tagName$
|
|
2815
|
+
SonicToast$1 = __decorateClass$Z([
|
|
2816
|
+
n$3(tagName$U)
|
|
2815
2817
|
], SonicToast$1);
|
|
2816
2818
|
if (typeof window !== "undefined") {
|
|
2817
2819
|
let win2 = window;
|
|
@@ -2910,15 +2912,15 @@ let LocationHandler$1 = _LocationHandler;
|
|
|
2910
2912
|
LocationHandler$1.listeners = [];
|
|
2911
2913
|
LocationHandler$1.listening = false;
|
|
2912
2914
|
LocationHandler$1.prevURL = (_a = document.location) == null ? void 0 : _a.href.replace(document.location.origin, "");
|
|
2913
|
-
var __defProp$
|
|
2914
|
-
var __getOwnPropDesc$
|
|
2915
|
-
var __decorateClass$
|
|
2916
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
2915
|
+
var __defProp$Y = Object.defineProperty;
|
|
2916
|
+
var __getOwnPropDesc$Y = Object.getOwnPropertyDescriptor;
|
|
2917
|
+
var __decorateClass$Y = (decorators, target, key, kind) => {
|
|
2918
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$Y(target, key) : target;
|
|
2917
2919
|
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
2918
2920
|
if (decorator = decorators[i2])
|
|
2919
2921
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
2920
2922
|
if (kind && result)
|
|
2921
|
-
__defProp$
|
|
2923
|
+
__defProp$Y(target, key, result);
|
|
2922
2924
|
return result;
|
|
2923
2925
|
};
|
|
2924
2926
|
const keyboardLoops = /* @__PURE__ */ new Map();
|
|
@@ -3099,41 +3101,41 @@ const Form$2 = (superClass) => {
|
|
|
3099
3101
|
}
|
|
3100
3102
|
}
|
|
3101
3103
|
}
|
|
3102
|
-
__decorateClass$
|
|
3104
|
+
__decorateClass$Y([
|
|
3103
3105
|
e$5({ type: Boolean, reflect: true })
|
|
3104
3106
|
], FormElement2.prototype, "touched", 2);
|
|
3105
|
-
__decorateClass$
|
|
3107
|
+
__decorateClass$Y([
|
|
3106
3108
|
e$5({ type: Boolean })
|
|
3107
3109
|
], FormElement2.prototype, "error", 2);
|
|
3108
|
-
__decorateClass$
|
|
3110
|
+
__decorateClass$Y([
|
|
3109
3111
|
e$5({ type: Boolean })
|
|
3110
3112
|
], FormElement2.prototype, "autofocus", 2);
|
|
3111
|
-
__decorateClass$
|
|
3113
|
+
__decorateClass$Y([
|
|
3112
3114
|
e$5({ type: Boolean })
|
|
3113
3115
|
], FormElement2.prototype, "required", 2);
|
|
3114
|
-
__decorateClass$
|
|
3116
|
+
__decorateClass$Y([
|
|
3115
3117
|
e$5()
|
|
3116
3118
|
], FormElement2.prototype, "forceAutoFill", 2);
|
|
3117
|
-
__decorateClass$
|
|
3119
|
+
__decorateClass$Y([
|
|
3118
3120
|
e$5({ type: Boolean })
|
|
3119
3121
|
], FormElement2.prototype, "disabled", 2);
|
|
3120
|
-
__decorateClass$
|
|
3122
|
+
__decorateClass$Y([
|
|
3121
3123
|
e$5()
|
|
3122
3124
|
], FormElement2.prototype, "name", 1);
|
|
3123
|
-
__decorateClass$
|
|
3125
|
+
__decorateClass$Y([
|
|
3124
3126
|
e$5()
|
|
3125
3127
|
], FormElement2.prototype, "value", 1);
|
|
3126
3128
|
return FormElement2;
|
|
3127
3129
|
};
|
|
3128
|
-
var __defProp$
|
|
3129
|
-
var __getOwnPropDesc$
|
|
3130
|
-
var __decorateClass$
|
|
3131
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
3130
|
+
var __defProp$X = Object.defineProperty;
|
|
3131
|
+
var __getOwnPropDesc$X = Object.getOwnPropertyDescriptor;
|
|
3132
|
+
var __decorateClass$X = (decorators, target, key, kind) => {
|
|
3133
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$X(target, key) : target;
|
|
3132
3134
|
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
3133
3135
|
if (decorator = decorators[i2])
|
|
3134
3136
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
3135
3137
|
if (kind && result)
|
|
3136
|
-
__defProp$
|
|
3138
|
+
__defProp$X(target, key, result);
|
|
3137
3139
|
return result;
|
|
3138
3140
|
};
|
|
3139
3141
|
const Form$1 = (superClass) => {
|
|
@@ -3230,36 +3232,36 @@ const Form$1 = (superClass) => {
|
|
|
3230
3232
|
}
|
|
3231
3233
|
}
|
|
3232
3234
|
}
|
|
3233
|
-
__decorateClass$
|
|
3235
|
+
__decorateClass$X([
|
|
3234
3236
|
e$5()
|
|
3235
3237
|
], FormCheckable2.prototype, "value", 1);
|
|
3236
|
-
__decorateClass$
|
|
3238
|
+
__decorateClass$X([
|
|
3237
3239
|
e$5()
|
|
3238
3240
|
], FormCheckable2.prototype, "forceAutoFill", 2);
|
|
3239
|
-
__decorateClass$
|
|
3241
|
+
__decorateClass$X([
|
|
3240
3242
|
e$5({ type: Boolean })
|
|
3241
3243
|
], FormCheckable2.prototype, "unique", 2);
|
|
3242
|
-
__decorateClass$
|
|
3244
|
+
__decorateClass$X([
|
|
3243
3245
|
e$5({ type: Boolean })
|
|
3244
3246
|
], FormCheckable2.prototype, "radio", 2);
|
|
3245
|
-
__decorateClass$
|
|
3247
|
+
__decorateClass$X([
|
|
3246
3248
|
e$5()
|
|
3247
3249
|
], FormCheckable2.prototype, "checked", 1);
|
|
3248
3250
|
return FormCheckable2;
|
|
3249
3251
|
};
|
|
3250
3252
|
const fontSize = r$5`:host{--sc-fs:1rem;font-size:var(--sc-fs)}:host([size="2xs"]){--sc-fs:0.68rem}:host([size=xs]){--sc-fs:0.75rem}:host([size=sm]){--sc-fs:0.875rem}:host([size=lg]){--sc-fs:1.125rem}:host([size=xl]){--sc-fs:1.25rem}:host([size="2xl"]){--sc-fs:1.5rem}`;
|
|
3251
|
-
var __defProp$
|
|
3252
|
-
var __getOwnPropDesc$
|
|
3253
|
-
var __decorateClass$
|
|
3254
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
3253
|
+
var __defProp$W = Object.defineProperty;
|
|
3254
|
+
var __getOwnPropDesc$W = Object.getOwnPropertyDescriptor;
|
|
3255
|
+
var __decorateClass$W = (decorators, target, key, kind) => {
|
|
3256
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$W(target, key) : target;
|
|
3255
3257
|
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
3256
3258
|
if (decorator = decorators[i2])
|
|
3257
3259
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
3258
3260
|
if (kind && result)
|
|
3259
|
-
__defProp$
|
|
3261
|
+
__defProp$W(target, key, result);
|
|
3260
3262
|
return result;
|
|
3261
3263
|
};
|
|
3262
|
-
const tagName$
|
|
3264
|
+
const tagName$T = "sonic-button";
|
|
3263
3265
|
let Button = class extends Form$1(Form$2(Subscriber$1(s$2))) {
|
|
3264
3266
|
constructor() {
|
|
3265
3267
|
super(...arguments);
|
|
@@ -3351,74 +3353,74 @@ Button.styles = [
|
|
|
3351
3353
|
fontSize,
|
|
3352
3354
|
r$5`*{box-sizing:border-box}:host{--sc-btn-gap:0.35em;--sc-btn-py:0.25em;--sc-btn-px:1.1em;--sc-btn-fs:var(--sc-fs, 1rem);--sc-btn-fw:var(--sc-btn-font-weight);--sc-btn-ff:var(--sc-btn-font-family);--sc-btn-height:var(--sc-form-height);--sc-btn-color:var(--sc-base-content);--sc-btn-bg:var(--sc-base-100);--sc-btn-border-style:solid;--sc-btn-border-with:var(--sc-form-border-width);--sc-btn-border-color:transparent;--sc-btn-outline-bg-hover:var(--sc-base-100);--sc-btn-ghost-bg-hover:var(--sc-base-100);--sc-btn-active-color:var(--sc-base);--sc-btn-hover-filter:brightness(0.98);--sc-btn-active-filter:brightness(0.97);--sc-btn-active-bg:var(--sc-base-content);--sc-item-rounded-tr:var(--sc-btn-rounded);--sc-item-rounded-tl:var(--sc-btn-rounded);--sc-item-rounded-bl:var(--sc-btn-rounded);--sc-item-rounded-br:var(--sc-btn-rounded);display:inline-flex;vertical-align:middle;box-sizing:border-box}:host a{display:contents;color:unset}:host button{display:flex;flex:1;box-sizing:border-box;align-items:center;justify-content:center;font-family:var(--sc-btn-ff);font-weight:var(--sc-btn-fw);font-size:var(--sc-btn-fs);cursor:pointer;text-align:center;line-height:1.1;border-radius:var(--sc-item-rounded-tl) var(--sc-item-rounded-tr) var(--sc-item-rounded-br) var(--sc-item-rounded-bl);background:var(--sc-btn-bg);color:var(--sc-btn-color);padding-top:var(--sc-btn-py);padding-bottom:var(--sc-btn-py);padding-left:var(--sc-btn-px);padding-right:var(--sc-btn-px);border:var(--sc-btn-border-with) var(--sc-btn-border-style) var(--sc-btn-border-color);min-height:var(--sc-btn-height)}:host button.has-prefix-or-suffix{gap:var(--sc-btn-gap)}:host button:focus,:host button:hover{filter:var(--sc-btn-hover-filter)}:host button:active{filter:var(--sc-btn-active-filter)}:host([type=default]) button{--sc-btn-color:var(--sc-base-content);--sc-btn-bg:var(--sc-base-100)}:host([type=primary]) button{--sc-btn-color:var(--sc-primary-content);--sc-btn-bg:var(--sc-primary)}:host([type=warning]) button{--sc-btn-color:var(--sc-warning-content);--sc-btn-bg:var(--sc-warning)}:host([type=danger]) button{--sc-btn-color:var(--sc-danger-content);--sc-btn-bg:var(--sc-danger)}:host([type=info]) button{--sc-btn-color:var(--sc-info-content);--sc-btn-bg:var(--sc-info)}:host([type=success]) button{--sc-btn-color:var(--sc-success-content);--sc-btn-bg:var(--sc-success)}:host([type=neutral]) button{--sc-btn-color:var(--sc-base);--sc-btn-bg:var(--sc-base-600)}:host([variant=unstyled]),:host([variant=unstyled]) button{all:unset;display:contents;transition:.1s;cursor:pointer;--sc-btn-height:auto;--sc-btn-width:auto}:host(:not([disabled])) button:focus{box-shadow:0 0 0 .18rem var(--sc-base-300);border-color:var(--sc-base-300)!important;outline:0}:host([variant=ghost][type]) button{color:var(--sc-btn-bg);background:0 0}:host([variant=ghost][type=default]) button{color:var(--sc-btn-color);background:0 0}:host([variant=ghost]) button:hover{background:var(--sc-btn-ghost-bg-hover);filter:none}:host([active][variant=ghost]) button{background:var(--sc-btn-ghost-bg-hover);filter:none}:host([active][variant=ghost]) button:hover{filter:var(--sc-btn-hover-filter)}:host([variant=outline][type]) button{border-color:var(--sc-btn-bg);color:var(--sc-btn-bg);background:0 0}:host([variant=outline][type=default]) button{border-color:var(--sc-base-400);color:var(--sc-base-500);background:0 0}:host([variant=outline]) button:hover{background:var(--sc-btn-outline-bg-hover)}:host([variant=link]:not([size])){vertical-align:baseline;margin-left:.25em;margin-right:.25em}:host([variant=link]:not([size])){font-size:inherit}:host([variant=link]) button{text-decoration:underline;padding:0;background:0 0;border:none;font-size:inherit;min-height:0;color:inherit}:host([variant=link][type]) button{color:var(--sc-btn-bg)}:host([variant=link][type=default]) button{color:inherit}:host([variant=link]) button:focus,:host([variant=link]) button:hover{text-decoration:none}:host([shape=circle]) button{border-radius:50%}:host([shape=circle]) button,:host([shape=square]) button{width:var(--sc-btn-height);height:var(--sc-btn-height);overflow:hidden;padding:0;align-items:center;justify-content:0;text-align:center!important}:host([shape=block]),:host([shape=block]) button{width:100%}:host([disabled]){opacity:.3;pointer-events:none;user-select:none}:host([active]:not([variant=ghost])) button{background:var(--sc-btn-active-bg);color:var(--sc-btn-active-color);border-color:var(--sc-btn-active-bg)}:host([textAlign=left]) button{text-align:left}:host([textAlign=right]) button{text-align:right}.main-slot{flex-grow:1;display:block}:host([minWidth]) .main-slot{flex-grow:0}slot[name=prefix],slot[name=suffix]{flex-shrink:0}::slotted(sonic-icon){min-width:1.28em;text-align:center}:host([icon]) ::slotted(sonic-icon){font-size:1.35em}sonic-tooltip{display:contents}:host(:not([active])) ::slotted([swap=on]){display:none}:host([active]) ::slotted([swap=off]){display:none}:host([loading]){pointer-events:none;position:relative}:host([loading]) slot{opacity:0!important;pointer-events:none}:host([loading]) .loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;line-height:0;height:var(--sc-btn-ff);width:var(--sc-btn-ff);animation:rotation 2s infinite linear}@keyframes rotation{from{transform-origin:50% 50%;transform:translate(-50%,-50%) rotate(0)}to{transform-origin:50% 50%;transform:translate(-50%,-50%) rotate(359deg)}}`
|
|
3353
3355
|
];
|
|
3354
|
-
__decorateClass$
|
|
3356
|
+
__decorateClass$W([
|
|
3355
3357
|
e$5({ type: String, reflect: true })
|
|
3356
3358
|
], Button.prototype, "type", 2);
|
|
3357
|
-
__decorateClass$
|
|
3359
|
+
__decorateClass$W([
|
|
3358
3360
|
e$5({ type: String, reflect: true })
|
|
3359
3361
|
], Button.prototype, "variant", 2);
|
|
3360
|
-
__decorateClass$
|
|
3362
|
+
__decorateClass$W([
|
|
3361
3363
|
e$5({ type: String, reflect: true })
|
|
3362
3364
|
], Button.prototype, "size", 2);
|
|
3363
|
-
__decorateClass$
|
|
3365
|
+
__decorateClass$W([
|
|
3364
3366
|
e$5({ type: String, reflect: true })
|
|
3365
3367
|
], Button.prototype, "shape", 2);
|
|
3366
|
-
__decorateClass$
|
|
3368
|
+
__decorateClass$W([
|
|
3367
3369
|
e$5({ type: String })
|
|
3368
3370
|
], Button.prototype, "direction", 2);
|
|
3369
|
-
__decorateClass$
|
|
3371
|
+
__decorateClass$W([
|
|
3370
3372
|
e$5({ type: String, reflect: true })
|
|
3371
3373
|
], Button.prototype, "alignItems", 2);
|
|
3372
|
-
__decorateClass$
|
|
3374
|
+
__decorateClass$W([
|
|
3373
3375
|
e$5({ type: String })
|
|
3374
3376
|
], Button.prototype, "justify", 2);
|
|
3375
|
-
__decorateClass$
|
|
3377
|
+
__decorateClass$W([
|
|
3376
3378
|
e$5({ type: String, reflect: true })
|
|
3377
3379
|
], Button.prototype, "align", 2);
|
|
3378
|
-
__decorateClass$
|
|
3380
|
+
__decorateClass$W([
|
|
3379
3381
|
e$5({ type: String })
|
|
3380
3382
|
], Button.prototype, "minWidth", 2);
|
|
3381
|
-
__decorateClass$
|
|
3383
|
+
__decorateClass$W([
|
|
3382
3384
|
e$5({ type: Boolean, reflect: true })
|
|
3383
3385
|
], Button.prototype, "icon", 2);
|
|
3384
|
-
__decorateClass$
|
|
3386
|
+
__decorateClass$W([
|
|
3385
3387
|
e$5({ type: String })
|
|
3386
3388
|
], Button.prototype, "autoActive", 2);
|
|
3387
|
-
__decorateClass$
|
|
3389
|
+
__decorateClass$W([
|
|
3388
3390
|
e$5({ type: Boolean, reflect: true })
|
|
3389
3391
|
], Button.prototype, "loading", 2);
|
|
3390
|
-
__decorateClass$
|
|
3392
|
+
__decorateClass$W([
|
|
3391
3393
|
t$1()
|
|
3392
3394
|
], Button.prototype, "hasPrefix", 2);
|
|
3393
|
-
__decorateClass$
|
|
3395
|
+
__decorateClass$W([
|
|
3394
3396
|
t$1()
|
|
3395
3397
|
], Button.prototype, "hasSuffix", 2);
|
|
3396
|
-
__decorateClass$
|
|
3398
|
+
__decorateClass$W([
|
|
3397
3399
|
l$2({ flatten: true, slot: "prefix" })
|
|
3398
3400
|
], Button.prototype, "prefixes", 2);
|
|
3399
|
-
__decorateClass$
|
|
3401
|
+
__decorateClass$W([
|
|
3400
3402
|
l$2({ flatten: true, slot: "suffix" })
|
|
3401
3403
|
], Button.prototype, "suffixes", 2);
|
|
3402
|
-
__decorateClass$
|
|
3404
|
+
__decorateClass$W([
|
|
3403
3405
|
e$5({ type: String })
|
|
3404
3406
|
], Button.prototype, "target", 2);
|
|
3405
|
-
__decorateClass$
|
|
3407
|
+
__decorateClass$W([
|
|
3406
3408
|
e$5({ type: String })
|
|
3407
3409
|
], Button.prototype, "href", 1);
|
|
3408
|
-
__decorateClass$
|
|
3410
|
+
__decorateClass$W([
|
|
3409
3411
|
e$5({ type: String })
|
|
3410
3412
|
], Button.prototype, "goBack", 2);
|
|
3411
|
-
__decorateClass$
|
|
3413
|
+
__decorateClass$W([
|
|
3412
3414
|
e$5({ type: Boolean })
|
|
3413
3415
|
], Button.prototype, "pushState", 2);
|
|
3414
|
-
__decorateClass$
|
|
3416
|
+
__decorateClass$W([
|
|
3415
3417
|
e$5({ type: Boolean, reflect: true })
|
|
3416
3418
|
], Button.prototype, "active", 2);
|
|
3417
|
-
Button = __decorateClass$
|
|
3418
|
-
n$3(tagName$
|
|
3419
|
+
Button = __decorateClass$W([
|
|
3420
|
+
n$3(tagName$T)
|
|
3419
3421
|
], Button);
|
|
3420
3422
|
try {
|
|
3421
|
-
customElements.define(tagName$
|
|
3423
|
+
customElements.define(tagName$T, Button);
|
|
3422
3424
|
} catch (e2) {
|
|
3423
3425
|
}
|
|
3424
3426
|
class Arrays$1 {
|
|
@@ -3561,15 +3563,15 @@ win$3["concorde-utils"] = {
|
|
|
3561
3563
|
PublisherManager,
|
|
3562
3564
|
api
|
|
3563
3565
|
};
|
|
3564
|
-
var __defProp$
|
|
3565
|
-
var __getOwnPropDesc$
|
|
3566
|
-
var __decorateClass$
|
|
3567
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
3566
|
+
var __defProp$V = Object.defineProperty;
|
|
3567
|
+
var __getOwnPropDesc$V = Object.getOwnPropertyDescriptor;
|
|
3568
|
+
var __decorateClass$V = (decorators, target, key, kind) => {
|
|
3569
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$V(target, key) : target;
|
|
3568
3570
|
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
3569
3571
|
if (decorator = decorators[i2])
|
|
3570
3572
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
3571
3573
|
if (kind && result)
|
|
3572
|
-
__defProp$
|
|
3574
|
+
__defProp$V(target, key, result);
|
|
3573
3575
|
return result;
|
|
3574
3576
|
};
|
|
3575
3577
|
const Fetcher$1 = (superClass) => {
|
|
@@ -3621,7 +3623,7 @@ const Fetcher$1 = (superClass) => {
|
|
|
3621
3623
|
if (this.key) {
|
|
3622
3624
|
let response = data._sonic_http_response_;
|
|
3623
3625
|
data = Objects$1.traverse(data, this.key.split("."), false);
|
|
3624
|
-
if (data)
|
|
3626
|
+
if (data && Objects$1.isObject(data))
|
|
3625
3627
|
data._sonic_http_response_ = response;
|
|
3626
3628
|
}
|
|
3627
3629
|
this.props = data;
|
|
@@ -3686,23 +3688,23 @@ const Fetcher$1 = (superClass) => {
|
|
|
3686
3688
|
}
|
|
3687
3689
|
}
|
|
3688
3690
|
}
|
|
3689
|
-
__decorateClass$
|
|
3691
|
+
__decorateClass$V([
|
|
3690
3692
|
e$5({ type: String })
|
|
3691
3693
|
], FetcherElement.prototype, "endPoint", 1);
|
|
3692
3694
|
return FetcherElement;
|
|
3693
3695
|
};
|
|
3694
|
-
var __defProp$
|
|
3695
|
-
var __getOwnPropDesc$
|
|
3696
|
-
var __decorateClass$
|
|
3697
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
3696
|
+
var __defProp$U = Object.defineProperty;
|
|
3697
|
+
var __getOwnPropDesc$U = Object.getOwnPropertyDescriptor;
|
|
3698
|
+
var __decorateClass$U = (decorators, target, key, kind) => {
|
|
3699
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$U(target, key) : target;
|
|
3698
3700
|
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
3699
3701
|
if (decorator = decorators[i2])
|
|
3700
3702
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
3701
3703
|
if (kind && result)
|
|
3702
|
-
__defProp$
|
|
3704
|
+
__defProp$U(target, key, result);
|
|
3703
3705
|
return result;
|
|
3704
3706
|
};
|
|
3705
|
-
const tagName$
|
|
3707
|
+
const tagName$S = "sonic-fetch";
|
|
3706
3708
|
let Fetch = class extends Fetcher$1(Subscriber$1(s$2)) {
|
|
3707
3709
|
render() {
|
|
3708
3710
|
return $$1`<slot></slot>`;
|
|
@@ -3711,25 +3713,25 @@ let Fetch = class extends Fetcher$1(Subscriber$1(s$2)) {
|
|
|
3711
3713
|
Fetch.styles = [
|
|
3712
3714
|
r$5`:host{display:contents}`
|
|
3713
3715
|
];
|
|
3714
|
-
Fetch = __decorateClass$
|
|
3715
|
-
n$3(tagName$
|
|
3716
|
+
Fetch = __decorateClass$U([
|
|
3717
|
+
n$3(tagName$S)
|
|
3716
3718
|
], Fetch);
|
|
3717
3719
|
try {
|
|
3718
|
-
customElements.define(tagName$
|
|
3720
|
+
customElements.define(tagName$S, Fetch);
|
|
3719
3721
|
} catch (e2) {
|
|
3720
3722
|
}
|
|
3721
|
-
var __defProp$
|
|
3722
|
-
var __getOwnPropDesc$
|
|
3723
|
-
var __decorateClass$
|
|
3724
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
3723
|
+
var __defProp$T = Object.defineProperty;
|
|
3724
|
+
var __getOwnPropDesc$T = Object.getOwnPropertyDescriptor;
|
|
3725
|
+
var __decorateClass$T = (decorators, target, key, kind) => {
|
|
3726
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$T(target, key) : target;
|
|
3725
3727
|
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
3726
3728
|
if (decorator = decorators[i2])
|
|
3727
3729
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
3728
3730
|
if (kind && result)
|
|
3729
|
-
__defProp$
|
|
3731
|
+
__defProp$T(target, key, result);
|
|
3730
3732
|
return result;
|
|
3731
3733
|
};
|
|
3732
|
-
const tagName$
|
|
3734
|
+
const tagName$R = "sonic-if";
|
|
3733
3735
|
let SonicIF = class extends s$2 {
|
|
3734
3736
|
constructor() {
|
|
3735
3737
|
super(...arguments);
|
|
@@ -3742,14 +3744,14 @@ let SonicIF = class extends s$2 {
|
|
|
3742
3744
|
}
|
|
3743
3745
|
};
|
|
3744
3746
|
SonicIF.styles = r$5`:host{display:contents}`;
|
|
3745
|
-
__decorateClass$
|
|
3747
|
+
__decorateClass$T([
|
|
3746
3748
|
e$5({ type: Boolean })
|
|
3747
3749
|
], SonicIF.prototype, "condition", 2);
|
|
3748
|
-
SonicIF = __decorateClass$
|
|
3749
|
-
n$3(tagName$
|
|
3750
|
+
SonicIF = __decorateClass$T([
|
|
3751
|
+
n$3(tagName$R)
|
|
3750
3752
|
], SonicIF);
|
|
3751
3753
|
try {
|
|
3752
|
-
customElements.define(tagName$
|
|
3754
|
+
customElements.define(tagName$R, SonicIF);
|
|
3753
3755
|
} catch (e2) {
|
|
3754
3756
|
}
|
|
3755
3757
|
/**
|
|
@@ -3766,18 +3768,18 @@ const o$1 = e$3(class extends i$3 {
|
|
|
3766
3768
|
return this.vt === r2 ? b$1 : (this.vt = r2, document.importNode(r2.content, true));
|
|
3767
3769
|
}
|
|
3768
3770
|
});
|
|
3769
|
-
var __defProp$
|
|
3770
|
-
var __getOwnPropDesc$
|
|
3771
|
-
var __decorateClass$
|
|
3772
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
3771
|
+
var __defProp$S = Object.defineProperty;
|
|
3772
|
+
var __getOwnPropDesc$S = Object.getOwnPropertyDescriptor;
|
|
3773
|
+
var __decorateClass$S = (decorators, target, key, kind) => {
|
|
3774
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$S(target, key) : target;
|
|
3773
3775
|
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
3774
3776
|
if (decorator = decorators[i2])
|
|
3775
3777
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
3776
3778
|
if (kind && result)
|
|
3777
|
-
__defProp$
|
|
3779
|
+
__defProp$S(target, key, result);
|
|
3778
3780
|
return result;
|
|
3779
3781
|
};
|
|
3780
|
-
const tagName$
|
|
3782
|
+
const tagName$Q = "sonic-subscriber";
|
|
3781
3783
|
let SonicSubscriber = class extends Subscriber$1(s$2) {
|
|
3782
3784
|
constructor() {
|
|
3783
3785
|
super(...arguments);
|
|
@@ -3798,25 +3800,25 @@ let SonicSubscriber = class extends Subscriber$1(s$2) {
|
|
|
3798
3800
|
return $$1`<slot></slot>`;
|
|
3799
3801
|
}
|
|
3800
3802
|
};
|
|
3801
|
-
SonicSubscriber = __decorateClass$
|
|
3802
|
-
n$3(tagName$
|
|
3803
|
+
SonicSubscriber = __decorateClass$S([
|
|
3804
|
+
n$3(tagName$Q)
|
|
3803
3805
|
], SonicSubscriber);
|
|
3804
3806
|
try {
|
|
3805
|
-
customElements.define(tagName$
|
|
3807
|
+
customElements.define(tagName$Q, SonicSubscriber);
|
|
3806
3808
|
} catch (e2) {
|
|
3807
3809
|
}
|
|
3808
|
-
var __defProp$
|
|
3809
|
-
var __getOwnPropDesc$
|
|
3810
|
-
var __decorateClass$
|
|
3811
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
3810
|
+
var __defProp$R = Object.defineProperty;
|
|
3811
|
+
var __getOwnPropDesc$R = Object.getOwnPropertyDescriptor;
|
|
3812
|
+
var __decorateClass$R = (decorators, target, key, kind) => {
|
|
3813
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$R(target, key) : target;
|
|
3812
3814
|
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
3813
3815
|
if (decorator = decorators[i2])
|
|
3814
3816
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
3815
3817
|
if (kind && result)
|
|
3816
|
-
__defProp$
|
|
3818
|
+
__defProp$R(target, key, result);
|
|
3817
3819
|
return result;
|
|
3818
3820
|
};
|
|
3819
|
-
const tagName$
|
|
3821
|
+
const tagName$P = "sonic-list";
|
|
3820
3822
|
let List = class extends Fetcher$1(Subscriber$1(TemplatesContainer$1(s$2))) {
|
|
3821
3823
|
constructor() {
|
|
3822
3824
|
super(...arguments);
|
|
@@ -3894,34 +3896,34 @@ let List = class extends Fetcher$1(Subscriber$1(TemplatesContainer$1(s$2))) {
|
|
|
3894
3896
|
List.styles = [
|
|
3895
3897
|
r$5`.sonic-no-result-container{color:var(--sc-base-400);font-size:1.65rem}sonic-icon{margin-right:.25em}span{vertical-align:middle}`
|
|
3896
3898
|
];
|
|
3897
|
-
__decorateClass$
|
|
3899
|
+
__decorateClass$R([
|
|
3898
3900
|
e$5({ type: Object })
|
|
3899
3901
|
], List.prototype, "itemPropertyMap", 2);
|
|
3900
|
-
__decorateClass$
|
|
3902
|
+
__decorateClass$R([
|
|
3901
3903
|
e$5({ type: String })
|
|
3902
3904
|
], List.prototype, "templateKey", 2);
|
|
3903
|
-
__decorateClass$
|
|
3905
|
+
__decorateClass$R([
|
|
3904
3906
|
e$5({ type: String })
|
|
3905
3907
|
], List.prototype, "idKey", 2);
|
|
3906
|
-
List = __decorateClass$
|
|
3907
|
-
n$3(tagName$
|
|
3908
|
+
List = __decorateClass$R([
|
|
3909
|
+
n$3(tagName$P)
|
|
3908
3910
|
], List);
|
|
3909
3911
|
try {
|
|
3910
|
-
customElements.define(tagName$
|
|
3912
|
+
customElements.define(tagName$P, List);
|
|
3911
3913
|
} catch (e2) {
|
|
3912
3914
|
}
|
|
3913
|
-
var __defProp$
|
|
3914
|
-
var __getOwnPropDesc$
|
|
3915
|
-
var __decorateClass$
|
|
3916
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
3915
|
+
var __defProp$Q = Object.defineProperty;
|
|
3916
|
+
var __getOwnPropDesc$Q = Object.getOwnPropertyDescriptor;
|
|
3917
|
+
var __decorateClass$Q = (decorators, target, key, kind) => {
|
|
3918
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$Q(target, key) : target;
|
|
3917
3919
|
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
3918
3920
|
if (decorator = decorators[i2])
|
|
3919
3921
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
3920
3922
|
if (kind && result)
|
|
3921
|
-
__defProp$
|
|
3923
|
+
__defProp$Q(target, key, result);
|
|
3922
3924
|
return result;
|
|
3923
3925
|
};
|
|
3924
|
-
const tagName$
|
|
3926
|
+
const tagName$O = "sonic-queue";
|
|
3925
3927
|
let Queue = class extends Subscriber$1(s$2) {
|
|
3926
3928
|
constructor() {
|
|
3927
3929
|
super(...arguments);
|
|
@@ -4055,52 +4057,52 @@ let Queue = class extends Subscriber$1(s$2) {
|
|
|
4055
4057
|
}
|
|
4056
4058
|
};
|
|
4057
4059
|
Queue.instanceCounter = 0;
|
|
4058
|
-
__decorateClass$
|
|
4060
|
+
__decorateClass$Q([
|
|
4059
4061
|
e$5({ type: Array })
|
|
4060
4062
|
], Queue.prototype, "templates", 2);
|
|
4061
|
-
__decorateClass$
|
|
4063
|
+
__decorateClass$Q([
|
|
4062
4064
|
e$5({ type: Object })
|
|
4063
4065
|
], Queue.prototype, "itemPropertyMap", 2);
|
|
4064
|
-
__decorateClass$
|
|
4066
|
+
__decorateClass$Q([
|
|
4065
4067
|
e$5()
|
|
4066
4068
|
], Queue.prototype, "targetRequestDuration", 2);
|
|
4067
|
-
__decorateClass$
|
|
4069
|
+
__decorateClass$Q([
|
|
4068
4070
|
e$5()
|
|
4069
4071
|
], Queue.prototype, "limit", 2);
|
|
4070
|
-
__decorateClass$
|
|
4072
|
+
__decorateClass$Q([
|
|
4071
4073
|
e$5()
|
|
4072
4074
|
], Queue.prototype, "offset", 2);
|
|
4073
|
-
__decorateClass$
|
|
4075
|
+
__decorateClass$Q([
|
|
4074
4076
|
e$5()
|
|
4075
4077
|
], Queue.prototype, "filteredFields", 2);
|
|
4076
|
-
__decorateClass$
|
|
4078
|
+
__decorateClass$Q([
|
|
4077
4079
|
e$5()
|
|
4078
4080
|
], Queue.prototype, "displayContents", 1);
|
|
4079
|
-
__decorateClass$
|
|
4081
|
+
__decorateClass$Q([
|
|
4080
4082
|
e$5({ type: String })
|
|
4081
4083
|
], Queue.prototype, "dataProviderExpression", 2);
|
|
4082
|
-
__decorateClass$
|
|
4084
|
+
__decorateClass$Q([
|
|
4083
4085
|
e$5({ type: String })
|
|
4084
4086
|
], Queue.prototype, "idKey", 2);
|
|
4085
|
-
Queue = __decorateClass$
|
|
4086
|
-
n$3(tagName$
|
|
4087
|
+
Queue = __decorateClass$Q([
|
|
4088
|
+
n$3(tagName$O)
|
|
4087
4089
|
], Queue);
|
|
4088
4090
|
try {
|
|
4089
|
-
customElements.define(tagName$
|
|
4091
|
+
customElements.define(tagName$O, Queue);
|
|
4090
4092
|
} catch (e2) {
|
|
4091
4093
|
}
|
|
4092
|
-
var __defProp$
|
|
4093
|
-
var __getOwnPropDesc$
|
|
4094
|
-
var __decorateClass$
|
|
4095
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
4094
|
+
var __defProp$P = Object.defineProperty;
|
|
4095
|
+
var __getOwnPropDesc$P = Object.getOwnPropertyDescriptor;
|
|
4096
|
+
var __decorateClass$P = (decorators, target, key, kind) => {
|
|
4097
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$P(target, key) : target;
|
|
4096
4098
|
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
4097
4099
|
if (decorator = decorators[i2])
|
|
4098
4100
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
4099
4101
|
if (kind && result)
|
|
4100
|
-
__defProp$
|
|
4102
|
+
__defProp$P(target, key, result);
|
|
4101
4103
|
return result;
|
|
4102
4104
|
};
|
|
4103
|
-
const tagName$
|
|
4105
|
+
const tagName$N = "sonic-submit";
|
|
4104
4106
|
let Submit = class extends Subscriber$1(s$2) {
|
|
4105
4107
|
constructor() {
|
|
4106
4108
|
super(...arguments);
|
|
@@ -4181,10 +4183,13 @@ let Submit = class extends Subscriber$1(s$2) {
|
|
|
4181
4183
|
captchaPublisher.captchaMethod = method;
|
|
4182
4184
|
captchaPublisher.captchaAction = (_c = (_b = dataProvider == null ? void 0 : dataProvider.split("?")[0]) != null ? _b : this.getAncestorAttributeValue("formDataProvider")) != null ? _c : "submit";
|
|
4183
4185
|
captchaPublisher.captchaToken = "request_token";
|
|
4184
|
-
|
|
4185
|
-
if (token != "request_token")
|
|
4186
|
+
let captchaAssign = (token) => {
|
|
4187
|
+
if (token != "request_token") {
|
|
4186
4188
|
sendData();
|
|
4187
|
-
|
|
4189
|
+
captchaPublisher.captchaToken.offAssign(captchaAssign);
|
|
4190
|
+
}
|
|
4191
|
+
};
|
|
4192
|
+
captchaPublisher.captchaToken.onAssign(captchaAssign);
|
|
4188
4193
|
} else {
|
|
4189
4194
|
sendData();
|
|
4190
4195
|
}
|
|
@@ -4194,20 +4199,20 @@ let Submit = class extends Subscriber$1(s$2) {
|
|
|
4194
4199
|
}
|
|
4195
4200
|
};
|
|
4196
4201
|
Submit.styles = r$5`[data-disabled]{opacity:.3;pointer-events:none;user-select:none}`;
|
|
4197
|
-
__decorateClass$
|
|
4202
|
+
__decorateClass$P([
|
|
4198
4203
|
e$5({ type: String })
|
|
4199
4204
|
], Submit.prototype, "submitResultKey", 2);
|
|
4200
|
-
__decorateClass$
|
|
4205
|
+
__decorateClass$P([
|
|
4201
4206
|
e$5({ type: Boolean })
|
|
4202
4207
|
], Submit.prototype, "disabled", 2);
|
|
4203
|
-
__decorateClass$
|
|
4208
|
+
__decorateClass$P([
|
|
4204
4209
|
e$5({ type: String })
|
|
4205
4210
|
], Submit.prototype, "endPoint", 2);
|
|
4206
|
-
Submit = __decorateClass$
|
|
4207
|
-
n$3(tagName$
|
|
4211
|
+
Submit = __decorateClass$P([
|
|
4212
|
+
n$3(tagName$N)
|
|
4208
4213
|
], Submit);
|
|
4209
4214
|
try {
|
|
4210
|
-
customElements.define(tagName$
|
|
4215
|
+
customElements.define(tagName$N, Submit);
|
|
4211
4216
|
} catch (e2) {
|
|
4212
4217
|
}
|
|
4213
4218
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
@@ -4647,18 +4652,18 @@ var urlPattern = { exports: {} };
|
|
|
4647
4652
|
});
|
|
4648
4653
|
})(urlPattern, urlPattern.exports);
|
|
4649
4654
|
var UrlPattern = urlPattern.exports;
|
|
4650
|
-
var __defProp$
|
|
4651
|
-
var __getOwnPropDesc$
|
|
4652
|
-
var __decorateClass$
|
|
4653
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
4655
|
+
var __defProp$O = Object.defineProperty;
|
|
4656
|
+
var __getOwnPropDesc$O = Object.getOwnPropertyDescriptor;
|
|
4657
|
+
var __decorateClass$O = (decorators, target, key, kind) => {
|
|
4658
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$O(target, key) : target;
|
|
4654
4659
|
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
4655
4660
|
if (decorator = decorators[i2])
|
|
4656
4661
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
4657
4662
|
if (kind && result)
|
|
4658
|
-
__defProp$
|
|
4663
|
+
__defProp$O(target, key, result);
|
|
4659
4664
|
return result;
|
|
4660
4665
|
};
|
|
4661
|
-
const tagName$
|
|
4666
|
+
const tagName$M = "sonic-router";
|
|
4662
4667
|
let SonicRouter = class extends Subscriber$1(TemplatesContainer$1(s$2)) {
|
|
4663
4668
|
constructor() {
|
|
4664
4669
|
super(...arguments);
|
|
@@ -4720,28 +4725,28 @@ let SonicRouter = class extends Subscriber$1(TemplatesContainer$1(s$2)) {
|
|
|
4720
4725
|
})}`;
|
|
4721
4726
|
}
|
|
4722
4727
|
};
|
|
4723
|
-
__decorateClass$
|
|
4728
|
+
__decorateClass$O([
|
|
4724
4729
|
e$5()
|
|
4725
4730
|
], SonicRouter.prototype, "location", 1);
|
|
4726
|
-
SonicRouter = __decorateClass$
|
|
4727
|
-
n$3(tagName$
|
|
4731
|
+
SonicRouter = __decorateClass$O([
|
|
4732
|
+
n$3(tagName$M)
|
|
4728
4733
|
], SonicRouter);
|
|
4729
4734
|
try {
|
|
4730
|
-
customElements.define(tagName$
|
|
4735
|
+
customElements.define(tagName$M, SonicRouter);
|
|
4731
4736
|
} catch (e2) {
|
|
4732
4737
|
}
|
|
4733
|
-
var __defProp$
|
|
4734
|
-
var __getOwnPropDesc$
|
|
4735
|
-
var __decorateClass$
|
|
4736
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
4738
|
+
var __defProp$N = Object.defineProperty;
|
|
4739
|
+
var __getOwnPropDesc$N = Object.getOwnPropertyDescriptor;
|
|
4740
|
+
var __decorateClass$N = (decorators, target, key, kind) => {
|
|
4741
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$N(target, key) : target;
|
|
4737
4742
|
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
4738
4743
|
if (decorator = decorators[i2])
|
|
4739
4744
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
4740
4745
|
if (kind && result)
|
|
4741
|
-
__defProp$
|
|
4746
|
+
__defProp$N(target, key, result);
|
|
4742
4747
|
return result;
|
|
4743
4748
|
};
|
|
4744
|
-
const tagName$
|
|
4749
|
+
const tagName$L = "sonic-redirect";
|
|
4745
4750
|
let SonicRedirect = class extends Subscriber$1(s$2) {
|
|
4746
4751
|
constructor() {
|
|
4747
4752
|
super(...arguments);
|
|
@@ -4771,25 +4776,25 @@ let SonicRedirect = class extends Subscriber$1(s$2) {
|
|
|
4771
4776
|
}
|
|
4772
4777
|
}
|
|
4773
4778
|
};
|
|
4774
|
-
SonicRedirect = __decorateClass$
|
|
4775
|
-
n$3(tagName$
|
|
4779
|
+
SonicRedirect = __decorateClass$N([
|
|
4780
|
+
n$3(tagName$L)
|
|
4776
4781
|
], SonicRedirect);
|
|
4777
4782
|
try {
|
|
4778
|
-
customElements.define(tagName$
|
|
4783
|
+
customElements.define(tagName$L, SonicRedirect);
|
|
4779
4784
|
} catch (e2) {
|
|
4780
4785
|
}
|
|
4781
|
-
var __defProp$
|
|
4782
|
-
var __getOwnPropDesc$
|
|
4783
|
-
var __decorateClass$
|
|
4784
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
4786
|
+
var __defProp$M = Object.defineProperty;
|
|
4787
|
+
var __getOwnPropDesc$M = Object.getOwnPropertyDescriptor;
|
|
4788
|
+
var __decorateClass$M = (decorators, target, key, kind) => {
|
|
4789
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$M(target, key) : target;
|
|
4785
4790
|
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
4786
4791
|
if (decorator = decorators[i2])
|
|
4787
4792
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
4788
4793
|
if (kind && result)
|
|
4789
|
-
__defProp$
|
|
4794
|
+
__defProp$M(target, key, result);
|
|
4790
4795
|
return result;
|
|
4791
4796
|
};
|
|
4792
|
-
const tagName$
|
|
4797
|
+
const tagName$K = "sonic-states";
|
|
4793
4798
|
let SonicStates = class extends Subscriber$1(TemplatesContainer$1(s$2)) {
|
|
4794
4799
|
constructor() {
|
|
4795
4800
|
super(...arguments);
|
|
@@ -4882,67 +4887,273 @@ let SonicStates = class extends Subscriber$1(TemplatesContainer$1(s$2)) {
|
|
|
4882
4887
|
})}`;
|
|
4883
4888
|
}
|
|
4884
4889
|
};
|
|
4885
|
-
__decorateClass$
|
|
4886
|
-
e$5()
|
|
4887
|
-
], SonicStates.prototype, "state", 2);
|
|
4888
|
-
__decorateClass$
|
|
4889
|
-
e$5({ type: Boolean, reflect: true })
|
|
4890
|
-
], SonicStates.prototype, "inverted", 2);
|
|
4891
|
-
SonicStates = __decorateClass$
|
|
4892
|
-
n$3(tagName$
|
|
4893
|
-
], SonicStates);
|
|
4894
|
-
try {
|
|
4895
|
-
customElements.define(tagName$
|
|
4896
|
-
} catch (e2) {
|
|
4897
|
-
}
|
|
4898
|
-
var __defProp$
|
|
4899
|
-
var __getOwnPropDesc$
|
|
4900
|
-
var __decorateClass$
|
|
4901
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
4890
|
+
__decorateClass$M([
|
|
4891
|
+
e$5()
|
|
4892
|
+
], SonicStates.prototype, "state", 2);
|
|
4893
|
+
__decorateClass$M([
|
|
4894
|
+
e$5({ type: Boolean, reflect: true })
|
|
4895
|
+
], SonicStates.prototype, "inverted", 2);
|
|
4896
|
+
SonicStates = __decorateClass$M([
|
|
4897
|
+
n$3(tagName$K)
|
|
4898
|
+
], SonicStates);
|
|
4899
|
+
try {
|
|
4900
|
+
customElements.define(tagName$K, SonicStates);
|
|
4901
|
+
} catch (e2) {
|
|
4902
|
+
}
|
|
4903
|
+
var __defProp$L = Object.defineProperty;
|
|
4904
|
+
var __getOwnPropDesc$L = Object.getOwnPropertyDescriptor;
|
|
4905
|
+
var __decorateClass$L = (decorators, target, key, kind) => {
|
|
4906
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$L(target, key) : target;
|
|
4907
|
+
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
4908
|
+
if (decorator = decorators[i2])
|
|
4909
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
4910
|
+
if (kind && result)
|
|
4911
|
+
__defProp$L(target, key, result);
|
|
4912
|
+
return result;
|
|
4913
|
+
};
|
|
4914
|
+
const tagName$J = "sonic-scope";
|
|
4915
|
+
let SonicScope = class extends s$2 {
|
|
4916
|
+
createRenderRoot() {
|
|
4917
|
+
return this;
|
|
4918
|
+
}
|
|
4919
|
+
render() {
|
|
4920
|
+
return $$1`<slot></slot>`;
|
|
4921
|
+
}
|
|
4922
|
+
};
|
|
4923
|
+
SonicScope = __decorateClass$L([
|
|
4924
|
+
n$3(tagName$J)
|
|
4925
|
+
], SonicScope);
|
|
4926
|
+
var __defProp$K = Object.defineProperty;
|
|
4927
|
+
var __getOwnPropDesc$K = Object.getOwnPropertyDescriptor;
|
|
4928
|
+
var __decorateClass$K = (decorators, target, key, kind) => {
|
|
4929
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$K(target, key) : target;
|
|
4930
|
+
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
4931
|
+
if (decorator = decorators[i2])
|
|
4932
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
4933
|
+
if (kind && result)
|
|
4934
|
+
__defProp$K(target, key, result);
|
|
4935
|
+
return result;
|
|
4936
|
+
};
|
|
4937
|
+
const tagName$I = "sonic-example";
|
|
4938
|
+
let SonicComponent$1 = class extends Subscriber$1(s$2) {
|
|
4939
|
+
constructor() {
|
|
4940
|
+
super(...arguments);
|
|
4941
|
+
this.text = "Example";
|
|
4942
|
+
}
|
|
4943
|
+
render() {
|
|
4944
|
+
return $$1`${this.text}`;
|
|
4945
|
+
}
|
|
4946
|
+
};
|
|
4947
|
+
__decorateClass$K([
|
|
4948
|
+
e$5()
|
|
4949
|
+
], SonicComponent$1.prototype, "text", 2);
|
|
4950
|
+
SonicComponent$1 = __decorateClass$K([
|
|
4951
|
+
n$3(tagName$I)
|
|
4952
|
+
], SonicComponent$1);
|
|
4953
|
+
var __defProp$J = Object.defineProperty;
|
|
4954
|
+
var __getOwnPropDesc$J = Object.getOwnPropertyDescriptor;
|
|
4955
|
+
var __decorateClass$J = (decorators, target, key, kind) => {
|
|
4956
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$J(target, key) : target;
|
|
4957
|
+
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
4958
|
+
if (decorator = decorators[i2])
|
|
4959
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
4960
|
+
if (kind && result)
|
|
4961
|
+
__defProp$J(target, key, result);
|
|
4962
|
+
return result;
|
|
4963
|
+
};
|
|
4964
|
+
const Form = (superClass) => {
|
|
4965
|
+
class FormInput2 extends superClass {
|
|
4966
|
+
constructor(...args) {
|
|
4967
|
+
super();
|
|
4968
|
+
this.forceAutoFill = false;
|
|
4969
|
+
this._type = "text";
|
|
4970
|
+
}
|
|
4971
|
+
validateFormElement() {
|
|
4972
|
+
var _a2;
|
|
4973
|
+
const that = this;
|
|
4974
|
+
const input = (_a2 = that.shadowRoot) == null ? void 0 : _a2.querySelector("input");
|
|
4975
|
+
if (!input || input.checkValidity())
|
|
4976
|
+
return;
|
|
4977
|
+
this.getFormPublisher().isFormValid = false;
|
|
4978
|
+
input.reportValidity();
|
|
4979
|
+
}
|
|
4980
|
+
set type(value) {
|
|
4981
|
+
if (this.hasAttribute("type") && !this.forceAutoFill)
|
|
4982
|
+
value = this.getAttribute("type");
|
|
4983
|
+
this._type = value;
|
|
4984
|
+
this.requestUpdate();
|
|
4985
|
+
}
|
|
4986
|
+
get type() {
|
|
4987
|
+
return this._type;
|
|
4988
|
+
}
|
|
4989
|
+
get description() {
|
|
4990
|
+
return this._description;
|
|
4991
|
+
}
|
|
4992
|
+
set description(value) {
|
|
4993
|
+
if (this.hasAttribute("description") && !this.forceAutoFill)
|
|
4994
|
+
value = this.getAttribute("description");
|
|
4995
|
+
this._description = value;
|
|
4996
|
+
this.requestUpdate();
|
|
4997
|
+
}
|
|
4998
|
+
get label() {
|
|
4999
|
+
return this._label;
|
|
5000
|
+
}
|
|
5001
|
+
set label(value) {
|
|
5002
|
+
if (this.hasAttribute("label") && !this.forceAutoFill)
|
|
5003
|
+
value = this.getAttribute("label");
|
|
5004
|
+
this._label = value;
|
|
5005
|
+
this.requestUpdate();
|
|
5006
|
+
}
|
|
5007
|
+
}
|
|
5008
|
+
__decorateClass$J([
|
|
5009
|
+
e$5()
|
|
5010
|
+
], FormInput2.prototype, "forceAutoFill", 2);
|
|
5011
|
+
__decorateClass$J([
|
|
5012
|
+
e$5({ type: String })
|
|
5013
|
+
], FormInput2.prototype, "type", 1);
|
|
5014
|
+
__decorateClass$J([
|
|
5015
|
+
e$5()
|
|
5016
|
+
], FormInput2.prototype, "description", 1);
|
|
5017
|
+
__decorateClass$J([
|
|
5018
|
+
e$5()
|
|
5019
|
+
], FormInput2.prototype, "label", 1);
|
|
5020
|
+
__decorateClass$J([
|
|
5021
|
+
e$5({ type: Number })
|
|
5022
|
+
], FormInput2.prototype, "tabindex", 2);
|
|
5023
|
+
__decorateClass$J([
|
|
5024
|
+
e$5({ type: String })
|
|
5025
|
+
], FormInput2.prototype, "autocomplete", 2);
|
|
5026
|
+
return FormInput2;
|
|
5027
|
+
};
|
|
5028
|
+
const Fetcher = Fetcher$1;
|
|
5029
|
+
const FormCheckable = Form$1;
|
|
5030
|
+
const FormElement = Form$2;
|
|
5031
|
+
const FormInput = Form;
|
|
5032
|
+
const Subscriber = Subscriber$1;
|
|
5033
|
+
const TemplatesContainer = TemplatesContainer$1;
|
|
5034
|
+
let win$2 = window;
|
|
5035
|
+
win$2["concorde-mixins"] = win$2["concorde-mixins"] || {};
|
|
5036
|
+
win$2["concorde-mixins"] = {
|
|
5037
|
+
Fetcher,
|
|
5038
|
+
FormCheckable,
|
|
5039
|
+
FormElement,
|
|
5040
|
+
FormInput,
|
|
5041
|
+
Subscriber,
|
|
5042
|
+
TemplatesContainer
|
|
5043
|
+
};
|
|
5044
|
+
var __defProp$I = Object.defineProperty;
|
|
5045
|
+
var __getOwnPropDesc$I = Object.getOwnPropertyDescriptor;
|
|
5046
|
+
var __decorateClass$I = (decorators, target, key, kind) => {
|
|
5047
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$I(target, key) : target;
|
|
4902
5048
|
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
4903
5049
|
if (decorator = decorators[i2])
|
|
4904
5050
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
4905
5051
|
if (kind && result)
|
|
4906
|
-
__defProp$
|
|
5052
|
+
__defProp$I(target, key, result);
|
|
4907
5053
|
return result;
|
|
4908
5054
|
};
|
|
4909
|
-
const tagName$
|
|
4910
|
-
let
|
|
4911
|
-
|
|
4912
|
-
|
|
5055
|
+
const tagName$H = "sonic-sdui";
|
|
5056
|
+
let SonicComponent = class extends Fetcher(Subscriber(s$2)) {
|
|
5057
|
+
connectedCallback() {
|
|
5058
|
+
this.noShadowDom = "";
|
|
5059
|
+
this.isFetchEnabled = this.hasAttribute("fetch");
|
|
5060
|
+
super.connectedCallback();
|
|
4913
5061
|
}
|
|
4914
|
-
|
|
4915
|
-
return
|
|
5062
|
+
get props() {
|
|
5063
|
+
return super.props;
|
|
4916
5064
|
}
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
5065
|
+
async loadJS(src) {
|
|
5066
|
+
const p2 = new Promise(async (resolve) => {
|
|
5067
|
+
let script = document.createElement("script");
|
|
5068
|
+
script.src = src;
|
|
5069
|
+
script.onload = () => resolve(true);
|
|
5070
|
+
script.onerror = () => resolve(true);
|
|
5071
|
+
document.head.appendChild(script);
|
|
5072
|
+
});
|
|
5073
|
+
return p2;
|
|
5074
|
+
}
|
|
5075
|
+
async loadCSS(src) {
|
|
5076
|
+
const p2 = new Promise(async (resolve) => {
|
|
5077
|
+
var cssnode = document.createElement("link");
|
|
5078
|
+
cssnode.type = "text/css";
|
|
5079
|
+
cssnode.rel = "stylesheet";
|
|
5080
|
+
cssnode.href = src;
|
|
5081
|
+
cssnode.onload = () => resolve(true);
|
|
5082
|
+
cssnode.onerror = () => resolve(true);
|
|
5083
|
+
document.head.appendChild(cssnode);
|
|
5084
|
+
});
|
|
5085
|
+
return p2;
|
|
4937
5086
|
}
|
|
4938
|
-
|
|
4939
|
-
|
|
5087
|
+
set props(value) {
|
|
5088
|
+
super.props = value;
|
|
5089
|
+
this.updateContents();
|
|
5090
|
+
}
|
|
5091
|
+
async updateContents() {
|
|
5092
|
+
while ([...this.children].filter((elt) => elt.nodeName != "SLOT").length > 0) {
|
|
5093
|
+
this.removeChild(this.children[0]);
|
|
5094
|
+
}
|
|
5095
|
+
if (!this.props)
|
|
5096
|
+
return;
|
|
5097
|
+
try {
|
|
5098
|
+
if (this.props.js) {
|
|
5099
|
+
for (const src of this.props.js)
|
|
5100
|
+
this.loadJS(src);
|
|
5101
|
+
}
|
|
5102
|
+
if (this.props.css) {
|
|
5103
|
+
for (const src of this.props.css)
|
|
5104
|
+
this.loadCSS(src);
|
|
5105
|
+
}
|
|
5106
|
+
} catch (e2) {
|
|
5107
|
+
}
|
|
5108
|
+
let children = this.props.nodes;
|
|
5109
|
+
if (!children)
|
|
5110
|
+
return;
|
|
5111
|
+
for (let child of children) {
|
|
5112
|
+
this.appendChild(this.parseChild(child));
|
|
5113
|
+
}
|
|
5114
|
+
}
|
|
5115
|
+
parseChild(props) {
|
|
5116
|
+
let type = props.type || "div";
|
|
5117
|
+
let element;
|
|
5118
|
+
if (props.markup) {
|
|
5119
|
+
element = document.createElement("div");
|
|
5120
|
+
element.style.display = "contents";
|
|
5121
|
+
element.innerHTML = props.markup;
|
|
5122
|
+
return element;
|
|
5123
|
+
}
|
|
5124
|
+
if (props.library && this.props.library) {
|
|
5125
|
+
element = this.parseChild(this.props.library[props.library] || { type: "div" });
|
|
5126
|
+
} else
|
|
5127
|
+
element = document.createElement(type);
|
|
5128
|
+
let attributes = props.attributes;
|
|
5129
|
+
for (let k2 in attributes) {
|
|
5130
|
+
element.setAttribute(k2, attributes[k2]);
|
|
5131
|
+
}
|
|
5132
|
+
if (props.innerHTML) {
|
|
5133
|
+
element.innerHTML = props.innerHTML;
|
|
5134
|
+
}
|
|
5135
|
+
if (props.nodes) {
|
|
5136
|
+
let children = props.nodes;
|
|
5137
|
+
for (let child of children) {
|
|
5138
|
+
if (element.shadowRoot)
|
|
5139
|
+
element.shadowRoot.appendChild(this.parseChild(child));
|
|
5140
|
+
else
|
|
5141
|
+
element.appendChild(this.parseChild(child));
|
|
5142
|
+
}
|
|
5143
|
+
}
|
|
5144
|
+
if (props.prefix || props.suffix) {
|
|
5145
|
+
const container = document.createElement("div");
|
|
5146
|
+
container.innerHTML = (props.prefix || "") + element.outerHTML + (props.suffix || "");
|
|
5147
|
+
container.style.display = "contents";
|
|
5148
|
+
return container;
|
|
5149
|
+
}
|
|
5150
|
+
return element;
|
|
4940
5151
|
}
|
|
4941
5152
|
};
|
|
4942
|
-
__decorateClass$
|
|
5153
|
+
__decorateClass$I([
|
|
4943
5154
|
e$5()
|
|
4944
|
-
], SonicComponent.prototype, "
|
|
4945
|
-
SonicComponent = __decorateClass$
|
|
5155
|
+
], SonicComponent.prototype, "props", 1);
|
|
5156
|
+
SonicComponent = __decorateClass$I([
|
|
4946
5157
|
n$3(tagName$H)
|
|
4947
5158
|
], SonicComponent);
|
|
4948
5159
|
const coreVariables = r$5`:host{--sc-font-family-base:"Inter var",-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--sc-font-weight-base:400;--sc-font-style-base:normal;--sc-headings-font-family:var(--sc-font-family-base);--sc-headings-font-style:var(--sc-font-style-base);--sc-headings-line-height:1.1;--sc-headings-font-weight:700;--sc-headings-text-transform:none;--sc-btn-font-weight:var(--sc-font-weight-base);--sc-btn-font-family:var(--sc-font-family-base);--sc-btn-font-style:var(--sc-font-style-base);--sc-rounded-sm:calc(var(--sc-rounded) * 0.5);--sc-rounded:0.375rem;--sc-rounded-md:calc(var(--sc-rounded) * 1.8);--sc-rounded-lg:calc(var(--sc-rounded) * 3.5);--sc-rounded-xl:calc(var(--sc-rounded) * 7);--sc-rounded-size-intensity:calc((1em - 1rem) * .4);--sc-btn-rounded-intensity:1.4;--sc-btn-font-weight:500;--sc-btn-rounded:calc((var(--sc-rounded) + var(--sc-rounded-size-intensity)) * var(--sc-btn-rounded-intensity) );--sc-placeholder-bg:rgba(17, 24, 39, 0.05);--sc-shadow-sm:0 1px 3px 0 rgb(0 0 0 / 0.1),0 1px 2px -1px rgb(0 0 0 / 0.1);--sc-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1),0 2px 4px -2px rgb(0 0 0 / 0.1);--sc-shadow-lg:0 10px 15px -3px rgb(0 0 0 / 0.1),0 4px 6px -4px rgb(0 0 0 / 0.1);--sc-shadow-xl:0 20px 25px -5px rgb(0 0 0 / 0.1),0 8px 10px -6px rgb(0 0 0 / 0.1);--sc-shadow-2xl:0 25px 50px -12px rgb(0 0 0 / 0.25);--sc-border-width:max(1px, 0.12rem);--sc-form-height:2.5em;--sc-form-border-width:var(--sc-border-width);--sc-input-bg:var(--sc-base-100);--sc-input-border-color:var(--sc-input-bg);--sc-input-rounded-intensity:1.4;--sc-input-rounded:calc((var(--sc-rounded) + var(--sc-rounded-size-intensity)) * var(--sc-input-rounded-intensity) );--sc-label-font-weight:500;--sc-contrast-content:#fff;--sc-contrast:#11151f;--sc-scrollbar-bg:var(--sc-base-400);--sc-body-bg:var(--sc-base)}`;
|
|
@@ -4951,15 +5162,15 @@ const darkCss = r$5``;
|
|
|
4951
5162
|
const dark = r$5`:host([theme=dark]){${darkCss}}@media (prefers-color-scheme:dark){:host([theme=auto]){${darkCss}}}`;
|
|
4952
5163
|
var tailwindImport = r$5`*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where([class~="lead"]):not(:where([class~="not-prose"] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~="not-prose"] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~="not-prose"] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~="not-prose"] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~="not-prose"] *)){color:inherit}.prose :where(thead th strong):not(:where([class~="not-prose"] *)){color:inherit}.prose :where(ol):not(:where([class~="not-prose"] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol[type="A"]):not(:where([class~="not-prose"] *)){list-style-type:upper-alpha}.prose :where(ol[type="a"]):not(:where([class~="not-prose"] *)){list-style-type:lower-alpha}.prose :where(ol[type="A" s]):not(:where([class~="not-prose"] *)){list-style-type:upper-alpha}.prose :where(ol[type="a" s]):not(:where([class~="not-prose"] *)){list-style-type:lower-alpha}.prose :where(ol[type="I"]):not(:where([class~="not-prose"] *)){list-style-type:upper-roman}.prose :where(ol[type="i"]):not(:where([class~="not-prose"] *)){list-style-type:lower-roman}.prose :where(ol[type="I" s]):not(:where([class~="not-prose"] *)){list-style-type:upper-roman}.prose :where(ol[type="i" s]):not(:where([class~="not-prose"] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~="not-prose"] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~="not-prose"] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol > li):not(:where([class~="not-prose"] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul > li):not(:where([class~="not-prose"] *))::marker{color:var(--tw-prose-bullets)}.prose :where(hr):not(:where([class~="not-prose"] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~="not-prose"] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"\\201c""\\201d""\\2018""\\2019";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"] *)):after{content:close-quote}.prose :where(h1):not(:where([class~="not-prose"] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~="not-prose"] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~="not-prose"] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~="not-prose"] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~="not-prose"] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~="not-prose"] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~="not-prose"] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~="not-prose"] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~="not-prose"] *)){margin-top:2em;margin-bottom:2em}.prose :where(figure > *):not(:where([class~="not-prose"] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~="not-prose"] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose :where(code):not(:where([class~="not-prose"] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~="not-prose"] *)):before{content:"\`"}.prose :where(code):not(:where([class~="not-prose"] *)):after{content:"\`"}.prose :where(a code):not(:where([class~="not-prose"] *)){color:inherit}.prose :where(h1 code):not(:where([class~="not-prose"] *)){color:inherit}.prose :where(h2 code):not(:where([class~="not-prose"] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~="not-prose"] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~="not-prose"] *)){color:inherit}.prose :where(blockquote code):not(:where([class~="not-prose"] *)){color:inherit}.prose :where(thead th code):not(:where([class~="not-prose"] *)){color:inherit}.prose :where(pre):not(:where([class~="not-prose"] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~="not-prose"] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~="not-prose"] *)):before{content:none}.prose :where(pre code):not(:where([class~="not-prose"] *)):after{content:none}.prose :where(table):not(:where([class~="not-prose"] *)){width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~="not-prose"] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~="not-prose"] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose :where(tbody tr):not(:where([class~="not-prose"] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~="not-prose"] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~="not-prose"] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~="not-prose"] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~="not-prose"] *)){vertical-align:top}.prose{--tw-prose-body: var(--sc-base-content);--tw-prose-headings: var(--sc-base-900);--tw-prose-lead: var(--sc-base-600);--tw-prose-links: var(--sc-base-900);--tw-prose-bold: var(--sc-base-900);--tw-prose-counters: var(--sc-base-500);--tw-prose-bullets: var(--sc-base-300);--tw-prose-hr: var(--sc-base-200);--tw-prose-quotes: var(--sc-base-900);--tw-prose-quote-borders: var(--sc-base-200);--tw-prose-captions: var(--sc-base-500);--tw-prose-code: var(--sc-base-900);--tw-prose-pre-code: var(--sc-base-200);--tw-prose-pre-bg: var(--sc-base-800);--tw-prose-th-borders: var(--sc-base-300);--tw-prose-td-borders: var(--sc-base-200);--tw-prose-invert-body: var(--sc-base-300);--tw-prose-invert-headings: var(--sc-base);--tw-prose-invert-lead: var(--sc-base-400);--tw-prose-invert-links: var(--sc-base);--tw-prose-invert-bold: var(--sc-base);--tw-prose-invert-counters: var(--sc-base-400);--tw-prose-invert-bullets: var(--sc-base-600);--tw-prose-invert-hr: var(--sc-base-700);--tw-prose-invert-quotes: var(--sc-base-100);--tw-prose-invert-quote-borders: var(--sc-base-700);--tw-prose-invert-captions: var(--sc-base-400);--tw-prose-invert-code: var(--sc-base);--tw-prose-invert-pre-code: var(--sc-base-300);--tw-prose-invert-pre-bg: var(--sc-base-900);--tw-prose-invert-th-borders: var(--sc-base-600);--tw-prose-invert-td-borders: var(--sc-base-700);font-size:1rem;line-height:1.75}.prose :where(p):not(:where([class~="not-prose"] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(video):not(:where([class~="not-prose"] *)){margin-top:2em;margin-bottom:2em}.prose :where(figure):not(:where([class~="not-prose"] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~="not-prose"] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol > li):not(:where([class~="not-prose"] *)){padding-left:.375em}.prose :where(ul > li):not(:where([class~="not-prose"] *)){padding-left:.375em}.prose :where(.prose > ul > li p):not(:where([class~="not-prose"] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.25em}.prose :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.25em}.prose :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.25em}.prose :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~="not-prose"] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(hr + *):not(:where([class~="not-prose"] *)){margin-top:0}.prose :where(h2 + *):not(:where([class~="not-prose"] *)){margin-top:0}.prose :where(h3 + *):not(:where([class~="not-prose"] *)){margin-top:0}.prose :where(h4 + *):not(:where([class~="not-prose"] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~="not-prose"] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~="not-prose"] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~="not-prose"] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~="not-prose"] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~="not-prose"] *)){padding-right:0}.prose :where(.prose > :first-child):not(:where([class~="not-prose"] *)){margin-top:0}.prose :where(.prose > :last-child):not(:where([class~="not-prose"] *)){margin-bottom:0}.prose-sm{font-size:.875rem;line-height:1.7142857}.prose-sm :where(p):not(:where([class~="not-prose"] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where([class~="lead"]):not(:where([class~="not-prose"] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}.prose-sm :where(blockquote):not(:where([class~="not-prose"] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-left:1.1111111em}.prose-sm :where(h1):not(:where([class~="not-prose"] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}.prose-sm :where(h2):not(:where([class~="not-prose"] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}.prose-sm :where(h3):not(:where([class~="not-prose"] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}.prose-sm :where(h4):not(:where([class~="not-prose"] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}.prose-sm :where(img):not(:where([class~="not-prose"] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(video):not(:where([class~="not-prose"] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(figure):not(:where([class~="not-prose"] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(figure > *):not(:where([class~="not-prose"] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~="not-prose"] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.prose-sm :where(code):not(:where([class~="not-prose"] *)){font-size:.8571429em}.prose-sm :where(h2 code):not(:where([class~="not-prose"] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~="not-prose"] *)){font-size:.8888889em}.prose-sm :where(pre):not(:where([class~="not-prose"] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding:.6666667em 1em}.prose-sm :where(ol):not(:where([class~="not-prose"] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-left:1.5714286em}.prose-sm :where(ul):not(:where([class~="not-prose"] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-left:1.5714286em}.prose-sm :where(li):not(:where([class~="not-prose"] *)){margin-top:.2857143em;margin-bottom:.2857143em}.prose-sm :where(ol > li):not(:where([class~="not-prose"] *)){padding-left:.4285714em}.prose-sm :where(ul > li):not(:where([class~="not-prose"] *)){padding-left:.4285714em}.prose-sm :where(.prose > ul > li p):not(:where([class~="not-prose"] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.1428571em}.prose-sm :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.1428571em}.prose-sm :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.1428571em}.prose-sm :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.1428571em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~="not-prose"] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(hr):not(:where([class~="not-prose"] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}.prose-sm :where(hr + *):not(:where([class~="not-prose"] *)){margin-top:0}.prose-sm :where(h2 + *):not(:where([class~="not-prose"] *)){margin-top:0}.prose-sm :where(h3 + *):not(:where([class~="not-prose"] *)){margin-top:0}.prose-sm :where(h4 + *):not(:where([class~="not-prose"] *)){margin-top:0}.prose-sm :where(table):not(:where([class~="not-prose"] *)){font-size:.8571429em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~="not-prose"] *)){padding-right:1em;padding-bottom:.6666667em;padding-left:1em}.prose-sm :where(thead th:first-child):not(:where([class~="not-prose"] *)){padding-left:0}.prose-sm :where(thead th:last-child):not(:where([class~="not-prose"] *)){padding-right:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~="not-prose"] *)){padding:.6666667em 1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~="not-prose"] *)){padding-left:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~="not-prose"] *)){padding-right:0}.prose-sm :where(.prose > :first-child):not(:where([class~="not-prose"] *)){margin-top:0}.prose-sm :where(.prose > :last-child):not(:where([class~="not-prose"] *)){margin-bottom:0}.prose-base :where(.prose > ul > li p):not(:where([class~="not-prose"] *)){margin-top:.75em;margin-bottom:.75em}.prose-base :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.25em}.prose-base :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.25em}.prose-base :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.25em}.prose-base :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.25em}.prose-base :where(.prose > :first-child):not(:where([class~="not-prose"] *)){margin-top:0}.prose-base :where(.prose > :last-child):not(:where([class~="not-prose"] *)){margin-bottom:0}.prose-lg :where(.prose > ul > li p):not(:where([class~="not-prose"] *)){margin-top:.8888889em;margin-bottom:.8888889em}.prose-lg :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.3333333em}.prose-lg :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.3333333em}.prose-lg :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.3333333em}.prose-lg :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.3333333em}.prose-lg :where(.prose > :first-child):not(:where([class~="not-prose"] *)){margin-top:0}.prose-lg :where(.prose > :last-child):not(:where([class~="not-prose"] *)){margin-bottom:0}.prose-xl :where(.prose > ul > li p):not(:where([class~="not-prose"] *)){margin-top:.8em;margin-bottom:.8em}.prose-xl :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.2em}.prose-xl :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.2em}.prose-xl :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.2em}.prose-xl :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.2em}.prose-xl :where(.prose > :first-child):not(:where([class~="not-prose"] *)){margin-top:0}.prose-xl :where(.prose > :last-child):not(:where([class~="not-prose"] *)){margin-bottom:0}.prose-2xl :where(.prose > ul > li p):not(:where([class~="not-prose"] *)){margin-top:.8333333em;margin-bottom:.8333333em}.prose-2xl :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.3333333em}.prose-2xl :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.3333333em}.prose-2xl :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.3333333em}.prose-2xl :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.3333333em}.prose-2xl :where(.prose > :first-child):not(:where([class~="not-prose"] *)){margin-top:0}.prose-2xl :where(.prose > :last-child):not(:where([class~="not-prose"] *)){margin-bottom:0}.prose-tight :where(p,ul,ol,pre):not(:where([class~="not-prose"] *)){line-height:1.25;margin:0 0 .5em}.prose-tight :where(li):not(:where([class~="not-prose"] *)){margin-bottom:.5em}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:-webkit-sticky;position:sticky}.top-0{top:0px}.left-0{left:0px}.right-1{right:.25rem}.bottom-1{bottom:.25rem}.bottom-4{bottom:1rem}.left-4{left:1rem}.right-4{right:1rem}.top-\\[-1px\\]{top:-1px}.right-5{right:1.25rem}.top-1\\/2{top:50%}.bottom-0{bottom:0px}.-right-1{right:-.25rem}.-bottom-1{bottom:-.25rem}.z-10{z-index:10}.z-20{z-index:20}.z-0{z-index:0}.col-span-full{grid-column:1 / -1}.col-span-3{grid-column:span 3 / span 3}.col-span-2{grid-column:span 2 / span 2}.mx-auto{margin-left:auto;margin-right:auto}.my-8{margin-top:2rem;margin-bottom:2rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-auto{margin-top:auto;margin-bottom:auto}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-\\[-3vw\\]{margin-left:-3vw;margin-right:-3vw}.my-4{margin-top:1rem;margin-bottom:1rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.mb-4{margin-bottom:1rem}.mt-5{margin-top:1.25rem}.mb-1{margin-bottom:.25rem}.mb-6{margin-bottom:1.5rem}.mr-4{margin-right:1rem}.mb-2{margin-bottom:.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.mb-5{margin-bottom:1.25rem}.mt-8{margin-top:2rem}.mr-3{margin-right:.75rem}.mt-\\[\\.15em\\]{margin-top:.15em}.mb-10{margin-bottom:2.5rem}.mb-7{margin-bottom:1.75rem}.mb-12{margin-bottom:3rem}.mb-3{margin-bottom:.75rem}.mt-2{margin-top:.5rem}.ml-\\[\\.10em\\]{margin-left:.1em}.ml-3{margin-left:.75rem}.mt-4{margin-top:1rem}.mt-1{margin-top:.25rem}.mr-2{margin-right:.5rem}.mt-3{margin-top:.75rem}.ml-auto{margin-left:auto}.mb-\\[2em\\]{margin-bottom:2em}.mr-1{margin-right:.25rem}.mb-20{margin-bottom:5rem}.ml-2{margin-left:.5rem}.mr-\\[\\.25em\\]{margin-right:.25em}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-12{height:3rem}.h-20{height:5rem}.h-2{height:.5rem}.h-5{height:1.25rem}.h-1\\/2{height:50%}.h-96{height:24rem}.max-h-\\[10rem\\]{max-height:10rem}.w-full{width:100%}.w-72{width:18rem}.w-12{width:3rem}.w-20{width:5rem}.w-2{width:.5rem}.w-5{width:1.25rem}.w-10\\/12{width:83.333333%}.w-24{width:6rem}.w-\\[1\\.2em\\]{width:1.2em}.min-w-full{min-width:100%}.min-w-max{min-width:-webkit-max-content;min-width:-moz-max-content;min-width:max-content}.min-w-\\[11rem\\]{min-width:11rem}.min-w-\\[5rem\\]{min-width:5rem}.max-w-lg{max-width:32rem}.max-w-xs{max-width:20rem}.max-w-\\[80ch\\]{max-width:80ch}.max-w-\\[32rem\\]{max-width:32rem}.max-w-\\[20rem\\]{max-width:20rem}.max-w-none{max-width:none}.flex-shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1\\/2{--tw-translate-y: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1\\/2{--tw-translate-x: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.grid-cols-\\[minmax\\(0\\,1fr\\)\\,minmax\\(0\\,4fr\\)\\]{grid-template-columns:minmax(0,1fr) minmax(0,4fr)}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-\\[1fr\\,_2fr\\]{grid-template-columns:1fr 2fr}.grid-cols-\\[minmax\\(0\\,_3fr\\)_minmax\\(0\\,_2fr\\)\\]{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-\\[minmax\\(6rem\\,_min\\(20\\%\\,_10rem\\)\\)\\,_1fr\\]{grid-template-columns:minmax(6rem,min(20%,10rem)) 1fr}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.justify-around{justify-content:space-around}.gap-5{gap:1.25rem}.gap-8{gap:2rem}.gap-3{gap:.75rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-10{gap:2.5rem}.gap-1{gap:.25rem}.gap-6{gap:1.5rem}.gap-\\[1\\.5em\\]{gap:1.5em}.gap-\\[\\.2rem_\\.7rem\\]{gap:.2rem .7rem}.gap-\\[\\.25em\\]{gap:.25em}.gap-x-10{-moz-column-gap:2.5rem;column-gap:2.5rem}.gap-x-\\[\\.75em\\]{-moz-column-gap:.75em;column-gap:.75em}.self-start{align-self:flex-start}.self-center{align-self:center}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded-lg{border-radius:var(--sc-rounded-lg)}.rounded-md{border-radius:var(--sc-rounded-md)}.rounded{border-radius:var(--sc-rounded)}.rounded-full{border-radius:9999px}.rounded-t-md{border-top-left-radius:var(--sc-rounded-md);border-top-right-radius:var(--sc-rounded-md)}.border{border-width:var(--sc-border-width)}.border-b-\\[1px\\]{border-bottom-width:1px}.border-solid{border-style:solid}.border-dotted{border-style:dotted}.border-success{border-color:var(--sc-success)}.border-t-neutral-200{border-top-color:var(--sc-base-200)}.border-b-neutral-100{border-bottom-color:var(--sc-base-100)}.border-b-neutral-300{border-bottom-color:var(--sc-base-300)}.bg-danger{background-color:var(--sc-danger)}.bg-neutral-0{background-color:var(--sc-base)}.bg-neutral-200{background-color:var(--sc-base-200)}.bg-contrast{background-color:var(--sc-contrast)}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.from-\\[rgba\\(0\\,0\\,10\\,\\.2\\)\\]{--tw-gradient-from: rgba(0,0,10,.2);--tw-gradient-to: rgb(0 0 10 / 0);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.object-contain{-o-object-fit:contain;object-fit:contain}.p-7{padding:1.75rem}.p-4{padding:1rem}.p-3{padding:.75rem}.p-5{padding:1.25rem}.p-8{padding:2rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-7{padding-top:1.75rem;padding-bottom:1.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.px-4{padding-left:1rem;padding-right:1rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.px-\\[3vw\\]{padding-left:3vw;padding-right:3vw}.py-2{padding-top:.5rem;padding-bottom:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.pt-20{padding-top:5rem}.pr-3{padding-right:.75rem}.pt-\\[\\.06em\\]{padding-top:.06em}.text-center{text-align:center}.font-headings{font-family:var(--sc-headings-font-family)}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-xs{font-size:.75rem;line-height:1rem}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.font-black{font-weight:900}.font-medium{font-weight:500}.font-extrabold{font-weight:800}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.leading-none{line-height:1}.leading-tight{line-height:1.25}.text-neutral-0{color:var(--sc-base)}.text-neutral-300{color:var(--sc-base-300)}.text-primary{color:var(--sc-primary)}.text-neutral-500{color:var(--sc-base-500)}.text-contrast-content{color:var(--sc-contrast-content)}.text-neutral-400{color:var(--sc-base-400)}.text-info{color:var(--sc-info)}.underline{-webkit-text-decoration-line:underline;text-decoration-line:underline}.no-underline{-webkit-text-decoration-line:none;text-decoration-line:none}.opacity-60{opacity:.6}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[0_0_2rem_rgba\\(0\\,0\\,0\\,0\\.2\\)\\]{--tw-shadow: 0 0 2rem rgba(0,0,0,.2);--tw-shadow-colored: 0 0 2rem var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-danger{--tw-shadow-color: var(--sc-danger);--tw-shadow: var(--tw-shadow-colored)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-lg{--tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / .04)) drop-shadow(0 4px 3px rgb(0 0 0 / .1));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.\\[display\\:none\\]{display:none}.hover\\:text-neutral-400:hover{color:var(--sc-base-400)}.group:hover .group-hover\\:underline{-webkit-text-decoration-line:underline;text-decoration-line:underline}.prose-img\\:rounded-lg :is(:where(img):not(:where([class~="not-prose"] *))){border-radius:var(--sc-rounded-lg)}@media (min-width: 640px){.sm\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 768px){.md\\:block{display:block}.md\\:hidden{display:none}.md\\:grid-cols-\\[minmax\\(0\\,2fr\\)\\,minmax\\(0\\,5fr\\)\\]{grid-template-columns:minmax(0,2fr) minmax(0,5fr)}.md\\:py-4{padding-top:1rem;padding-bottom:1rem}.md\\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width: 1024px){.lg\\:prose-lg{font-size:1.125rem;line-height:1.7777778}.lg\\:prose-lg :where(p):not(:where([class~="not-prose"] *)){margin-top:1.3333333em;margin-bottom:1.3333333em}.lg\\:prose-lg :where([class~="lead"]):not(:where([class~="not-prose"] *)){font-size:1.2222222em;line-height:1.4545455;margin-top:1.0909091em;margin-bottom:1.0909091em}.lg\\:prose-lg :where(blockquote):not(:where([class~="not-prose"] *)){margin-top:1.6666667em;margin-bottom:1.6666667em;padding-left:1em}.lg\\:prose-lg :where(h1):not(:where([class~="not-prose"] *)){font-size:2.6666667em;margin-top:0;margin-bottom:.8333333em;line-height:1}.lg\\:prose-lg :where(h2):not(:where([class~="not-prose"] *)){font-size:1.6666667em;margin-top:1.8666667em;margin-bottom:1.0666667em;line-height:1.3333333}.lg\\:prose-lg :where(h3):not(:where([class~="not-prose"] *)){font-size:1.3333333em;margin-top:1.6666667em;margin-bottom:.6666667em;line-height:1.5}.lg\\:prose-lg :where(h4):not(:where([class~="not-prose"] *)){margin-top:1.7777778em;margin-bottom:.4444444em;line-height:1.5555556}.lg\\:prose-lg :where(img):not(:where([class~="not-prose"] *)){margin-top:1.7777778em;margin-bottom:1.7777778em}.lg\\:prose-lg :where(video):not(:where([class~="not-prose"] *)){margin-top:1.7777778em;margin-bottom:1.7777778em}.lg\\:prose-lg :where(figure):not(:where([class~="not-prose"] *)){margin-top:1.7777778em;margin-bottom:1.7777778em}.lg\\:prose-lg :where(figure > *):not(:where([class~="not-prose"] *)){margin-top:0;margin-bottom:0}.lg\\:prose-lg :where(figcaption):not(:where([class~="not-prose"] *)){font-size:.8888889em;line-height:1.5;margin-top:1em}.lg\\:prose-lg :where(code):not(:where([class~="not-prose"] *)){font-size:.8888889em}.lg\\:prose-lg :where(h2 code):not(:where([class~="not-prose"] *)){font-size:.8666667em}.lg\\:prose-lg :where(h3 code):not(:where([class~="not-prose"] *)){font-size:.875em}.lg\\:prose-lg :where(pre):not(:where([class~="not-prose"] *)){font-size:.8888889em;line-height:1.75;margin-top:2em;margin-bottom:2em;border-radius:.375rem;padding:1em 1.5em}.lg\\:prose-lg :where(ol):not(:where([class~="not-prose"] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-left:1.5555556em}.lg\\:prose-lg :where(ul):not(:where([class~="not-prose"] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-left:1.5555556em}.lg\\:prose-lg :where(li):not(:where([class~="not-prose"] *)){margin-top:.6666667em;margin-bottom:.6666667em}.lg\\:prose-lg :where(ol > li):not(:where([class~="not-prose"] *)){padding-left:.4444444em}.lg\\:prose-lg :where(ul > li):not(:where([class~="not-prose"] *)){padding-left:.4444444em}.lg\\:prose-lg :where(.prose > ul > li p):not(:where([class~="not-prose"] *)){margin-top:.8888889em;margin-bottom:.8888889em}.lg\\:prose-lg :where(.prose > ul > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.3333333em}.lg\\:prose-lg :where(.prose > ul > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.3333333em}.lg\\:prose-lg :where(.prose > ol > li > *:first-child):not(:where([class~="not-prose"] *)){margin-top:1.3333333em}.lg\\:prose-lg :where(.prose > ol > li > *:last-child):not(:where([class~="not-prose"] *)){margin-bottom:1.3333333em}.lg\\:prose-lg :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~="not-prose"] *)){margin-top:.8888889em;margin-bottom:.8888889em}.lg\\:prose-lg :where(hr):not(:where([class~="not-prose"] *)){margin-top:3.1111111em;margin-bottom:3.1111111em}.lg\\:prose-lg :where(hr + *):not(:where([class~="not-prose"] *)){margin-top:0}.lg\\:prose-lg :where(h2 + *):not(:where([class~="not-prose"] *)){margin-top:0}.lg\\:prose-lg :where(h3 + *):not(:where([class~="not-prose"] *)){margin-top:0}.lg\\:prose-lg :where(h4 + *):not(:where([class~="not-prose"] *)){margin-top:0}.lg\\:prose-lg :where(table):not(:where([class~="not-prose"] *)){font-size:.8888889em;line-height:1.5}.lg\\:prose-lg :where(thead th):not(:where([class~="not-prose"] *)){padding-right:.75em;padding-bottom:.75em;padding-left:.75em}.lg\\:prose-lg :where(thead th:first-child):not(:where([class~="not-prose"] *)){padding-left:0}.lg\\:prose-lg :where(thead th:last-child):not(:where([class~="not-prose"] *)){padding-right:0}.lg\\:prose-lg :where(tbody td,tfoot td):not(:where([class~="not-prose"] *)){padding:.75em}.lg\\:prose-lg :where(tbody td:first-child,tfoot td:first-child):not(:where([class~="not-prose"] *)){padding-left:0}.lg\\:prose-lg :where(tbody td:last-child,tfoot td:last-child):not(:where([class~="not-prose"] *)){padding-right:0}.lg\\:prose-lg :where(.prose > :first-child):not(:where([class~="not-prose"] *)){margin-top:0}.lg\\:prose-lg :where(.prose > :last-child):not(:where([class~="not-prose"] *)){margin-bottom:0}.lg\\:block{display:block}.lg\\:flex{display:flex}.lg\\:hidden{display:none}.lg\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\\:text-base{font-size:1rem;line-height:1.5rem}.lg\\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 1280px){.xl\\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.xl\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.xl\\:text-lg{font-size:1.125rem;line-height:1.75rem}.xl\\:text-2xl{font-size:1.5rem;line-height:2rem}}
|
|
4953
5164
|
`;
|
|
4954
|
-
var __defProp$
|
|
4955
|
-
var __getOwnPropDesc$
|
|
4956
|
-
var __decorateClass$
|
|
4957
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
5165
|
+
var __defProp$H = Object.defineProperty;
|
|
5166
|
+
var __getOwnPropDesc$H = Object.getOwnPropertyDescriptor;
|
|
5167
|
+
var __decorateClass$H = (decorators, target, key, kind) => {
|
|
5168
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$H(target, key) : target;
|
|
4958
5169
|
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
4959
5170
|
if (decorator = decorators[i2])
|
|
4960
5171
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
4961
5172
|
if (kind && result)
|
|
4962
|
-
__defProp$
|
|
5173
|
+
__defProp$H(target, key, result);
|
|
4963
5174
|
return result;
|
|
4964
5175
|
};
|
|
4965
5176
|
r$5`${o$9(tailwindImport)}`;
|
|
@@ -5048,33 +5259,33 @@ Theme.styles = [
|
|
|
5048
5259
|
coreVariables,
|
|
5049
5260
|
r$5`:host([background]){display:block!important;background:var(--sc-body-bg)!important;min-height:100vh}:host([contrastDarkMode]){transition:background-color 2.5s ease}:host([color]){color:var(--sc-base-content)}:host([font]){font-family:var(--sc-font-family-base);font-weight:var(--sc-font-weight-base);font-style:var(--sc-font-style-base)}`
|
|
5050
5261
|
];
|
|
5051
|
-
__decorateClass$
|
|
5262
|
+
__decorateClass$H([
|
|
5052
5263
|
e$5({ type: String, reflect: true })
|
|
5053
5264
|
], Theme.prototype, "theme", 2);
|
|
5054
|
-
__decorateClass$
|
|
5265
|
+
__decorateClass$H([
|
|
5055
5266
|
e$5({ type: Boolean, reflect: true })
|
|
5056
5267
|
], Theme.prototype, "background", 2);
|
|
5057
|
-
__decorateClass$
|
|
5268
|
+
__decorateClass$H([
|
|
5058
5269
|
e$5({ type: Boolean, reflect: true })
|
|
5059
5270
|
], Theme.prototype, "color", 2);
|
|
5060
|
-
__decorateClass$
|
|
5271
|
+
__decorateClass$H([
|
|
5061
5272
|
e$5({ type: Boolean, reflect: true })
|
|
5062
5273
|
], Theme.prototype, "font", 2);
|
|
5063
|
-
__decorateClass$
|
|
5274
|
+
__decorateClass$H([
|
|
5064
5275
|
e$5({ type: Boolean, reflect: true })
|
|
5065
5276
|
], Theme.prototype, "contrastDarkMode", 2);
|
|
5066
|
-
Theme = __decorateClass$
|
|
5277
|
+
Theme = __decorateClass$H([
|
|
5067
5278
|
n$3(tagName$G)
|
|
5068
5279
|
], Theme);
|
|
5069
|
-
var __defProp$
|
|
5070
|
-
var __getOwnPropDesc$
|
|
5071
|
-
var __decorateClass$
|
|
5072
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
5280
|
+
var __defProp$G = Object.defineProperty;
|
|
5281
|
+
var __getOwnPropDesc$G = Object.getOwnPropertyDescriptor;
|
|
5282
|
+
var __decorateClass$G = (decorators, target, key, kind) => {
|
|
5283
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$G(target, key) : target;
|
|
5073
5284
|
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
5074
5285
|
if (decorator = decorators[i2])
|
|
5075
5286
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
5076
5287
|
if (kind && result)
|
|
5077
|
-
__defProp$
|
|
5288
|
+
__defProp$G(target, key, result);
|
|
5078
5289
|
return result;
|
|
5079
5290
|
};
|
|
5080
5291
|
const tagName$F = "sonic-badge";
|
|
@@ -5091,16 +5302,16 @@ let Badge = class extends s$2 {
|
|
|
5091
5302
|
Badge.styles = [
|
|
5092
5303
|
r$5`:host{--sc-badge-gap:0.3em;--sc-badge-py:0.16em;--sc-badge-px:0.66em;--sc-badge-fs:1rem;--sc-badge-color:var(--sc-base-content, #1f2937);--sc-badge-bg:var(--sc-base-200, #e5e7eb);--sc-badge-border-with:var(--sc-form-border-width, 0.1rem);--sc-badge-border-color:transparent;--sc-badge-border:var(--sc-badge-border-with) solid var(--sc-badge-border-color);--sc-badge-rounded:calc(var(--sc-rounded) * 1000);--sc-badge-line-height:1.15;--sc-badge-fw:var(--sc-font-weight-base);display:inline-flex;align-items:center;box-sizing:border-box;line-height:var(--sc-badge-line-height);border-radius:var(--sc-badge-rounded);background:var(--sc-badge-bg);color:var(--sc-badge-color);font-family:var(--sc-badge-ff,var(--sc-font-family-base,inherit));font-weight:var(--sc-badge-fw);padding-top:var(--sc-badge-py);padding-bottom:var(--sc-badge-py);padding-left:var(--sc-badge-px);padding-right:var(--sc-badge-px);min-height:calc(var(--sc-badge-px) * 2);border:var(--sc-badge-border)}:host([type=primary]){--sc-badge-color:var(--sc-primary-content);--sc-badge-bg:var(--sc-primary)}:host([type=warning]){--sc-badge-color:var(--sc-warning-content);--sc-badge-bg:var(--sc-warning)}:host([type=danger]){--sc-badge-color:var(--sc-danger-content);--sc-badge-bg:var(--sc-danger)}:host([type=info]){--sc-badge-color:var(--sc-info-content);--sc-badge-bg:var(--sc-info)}:host([type=success]){--sc-badge-color:var(--sc-success-content);--sc-badge-bg:var(--sc-success)}:host([type=neutral]){--sc-badge-color:var(--sc-base);--sc-badge-bg:var(--sc-base-content)}:host{font-size:var(--sc-badge-fs);gap:var(--sc-badge-gap)}:host([size="2xs"]){--sc-badge-fs:0.58rem;--sc-badge-gap:0.3em}:host([size=xs]){--sc-badge-fs:0.68rem;--sc-badge-gap:0.35em}:host([size=sm]){--sc-badge-fs:0.85rem;--sc-badge-gap:0.35em}:host([size=lg]){--sc-badge-line-height:1.2;--sc-badge-fs:1.25rem;--sc-badge-gap:0.5em}:host([size=xl]){--sc-badge-line-height:1.2;--sc-badge-fs:1.5rem;--sc-badge-gap:0.5em}:host([variant=outline][type]){border-width:var(--sc-badge-border-with)!important;border-color:var(--sc-badge-bg);color:var(--sc-badge-bg);background:0 0}:host([variant=outline][type=default]){border-color:var(--sc-base-400);color:var(--sc-base-500);background:0 0}:host([variant=ghost][type]){color:var(--sc-badge-bg);background:0 0;padding:0}:host([variant=ghost][type=default]){color:var(--sc-badge-color);background:0 0}`
|
|
5093
5304
|
];
|
|
5094
|
-
__decorateClass$
|
|
5305
|
+
__decorateClass$G([
|
|
5095
5306
|
e$5({ type: String, reflect: true })
|
|
5096
5307
|
], Badge.prototype, "type", 2);
|
|
5097
|
-
__decorateClass$
|
|
5308
|
+
__decorateClass$G([
|
|
5098
5309
|
e$5({ type: String, reflect: true })
|
|
5099
5310
|
], Badge.prototype, "variant", 2);
|
|
5100
|
-
__decorateClass$
|
|
5311
|
+
__decorateClass$G([
|
|
5101
5312
|
e$5({ type: String, reflect: true })
|
|
5102
5313
|
], Badge.prototype, "size", 2);
|
|
5103
|
-
Badge = __decorateClass$
|
|
5314
|
+
Badge = __decorateClass$G([
|
|
5104
5315
|
n$3(tagName$F)
|
|
5105
5316
|
], Badge);
|
|
5106
5317
|
try {
|
|
@@ -5118,15 +5329,15 @@ class Electron {
|
|
|
5118
5329
|
}
|
|
5119
5330
|
}
|
|
5120
5331
|
}
|
|
5121
|
-
var __defProp$
|
|
5122
|
-
var __getOwnPropDesc$
|
|
5123
|
-
var __decorateClass$
|
|
5124
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
5332
|
+
var __defProp$F = Object.defineProperty;
|
|
5333
|
+
var __getOwnPropDesc$F = Object.getOwnPropertyDescriptor;
|
|
5334
|
+
var __decorateClass$F = (decorators, target, key, kind) => {
|
|
5335
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$F(target, key) : target;
|
|
5125
5336
|
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
5126
5337
|
if (decorator = decorators[i2])
|
|
5127
5338
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
5128
5339
|
if (kind && result)
|
|
5129
|
-
__defProp$
|
|
5340
|
+
__defProp$F(target, key, result);
|
|
5130
5341
|
return result;
|
|
5131
5342
|
};
|
|
5132
5343
|
const tagName$E = "sonic-link";
|
|
@@ -5178,34 +5389,34 @@ let Link = class extends s$2 {
|
|
|
5178
5389
|
Link.styles = [
|
|
5179
5390
|
r$5`a{color:inherit;text-decoration:none;display:contents}`
|
|
5180
5391
|
];
|
|
5181
|
-
__decorateClass$
|
|
5392
|
+
__decorateClass$F([
|
|
5182
5393
|
e$5({ type: String })
|
|
5183
5394
|
], Link.prototype, "href", 2);
|
|
5184
|
-
__decorateClass$
|
|
5395
|
+
__decorateClass$F([
|
|
5185
5396
|
e$5({ type: String })
|
|
5186
5397
|
], Link.prototype, "autoActive", 2);
|
|
5187
|
-
__decorateClass$
|
|
5398
|
+
__decorateClass$F([
|
|
5188
5399
|
e$5({ type: String })
|
|
5189
5400
|
], Link.prototype, "target", 1);
|
|
5190
|
-
__decorateClass$
|
|
5401
|
+
__decorateClass$F([
|
|
5191
5402
|
e$5({ type: Boolean })
|
|
5192
5403
|
], Link.prototype, "pushState", 2);
|
|
5193
|
-
Link = __decorateClass$
|
|
5404
|
+
Link = __decorateClass$F([
|
|
5194
5405
|
n$3(tagName$E)
|
|
5195
5406
|
], Link);
|
|
5196
5407
|
try {
|
|
5197
5408
|
customElements.define(tagName$E, Link);
|
|
5198
5409
|
} catch (e2) {
|
|
5199
5410
|
}
|
|
5200
|
-
var __defProp$
|
|
5201
|
-
var __getOwnPropDesc$
|
|
5202
|
-
var __decorateClass$
|
|
5203
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
5411
|
+
var __defProp$E = Object.defineProperty;
|
|
5412
|
+
var __getOwnPropDesc$E = Object.getOwnPropertyDescriptor;
|
|
5413
|
+
var __decorateClass$E = (decorators, target, key, kind) => {
|
|
5414
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$E(target, key) : target;
|
|
5204
5415
|
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
5205
5416
|
if (decorator = decorators[i2])
|
|
5206
5417
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
5207
5418
|
if (kind && result)
|
|
5208
|
-
__defProp$
|
|
5419
|
+
__defProp$E(target, key, result);
|
|
5209
5420
|
return result;
|
|
5210
5421
|
};
|
|
5211
5422
|
const tagName$D = "sonic-progress";
|
|
@@ -5225,22 +5436,22 @@ Progress.styles = [
|
|
|
5225
5436
|
fontSize,
|
|
5226
5437
|
r$5`:host{--sc-progress-bg:var(--sc-input-bg, var(--sc-base-100, #f5f5f5));--sc-progress-color:var(--sc-base-content, #1f2937);--sc-progress-height:.6em;--sc-progress-fs:var(--sc-fs, 1rem);--sc-progress-fw:500;--sc-progress-rounded:var(--sc-rounded-lg);display:block;line-height:1.2;font-weight:var(--sc-progress-fw);font-size:var(--sc-progress-fs);color:var(--sc-progress-color)}progress{position:relative;width:100%;-webkit-appearance:none;appearance:none;overflow:hidden;border:none;height:var(--sc-progress-height);border-radius:var(--sc-progress-rounded);background-color:var(--sc-progress-bg);color:var(--sc-progress-color)}progress::-moz-progress-bar{background-color:var(--sc-progress-color);border-radius:var(--sc-progress-rounded)}progress:not([value])::-moz-progress-bar{background-color:var(--sc-progress-bg)}progress::-webkit-progress-bar{background-color:var(--sc-progress-bg)}progress::-webkit-progress-value{background-color:var(--sc-progress-color);border-radius:var(--sc-progress-rounded)}progress:indeterminate:after{background-color:var(--sc-progress-color);content:"";position:absolute;top:0;bottom:0;left:-40%;width:33.333333%;border-radius:var(--sc-progress-rounded);animation:progress-loading 3s infinite ease-in-out}@keyframes progress-loading{50%{left:107%}}:host([type=warning]){--sc-progress-color:var(--sc-warning)}:host([type=danger]){--sc-progress-color:var(--sc-danger)}:host([type=info]){--sc-progress-color:var(--sc-info)}:host([type=success]){--sc-progress-color:var(--sc-success)}:host([invert]){--sc-progress-bg:var(--sc-base-700)}:host([type=default][invert]){--sc-progress-color:var(--sc-base)}slot[name=remaining]{font-weight:var(--sc-font-weight-base);color:var(--sc-base-400);font-size:.85em;margin-top:.5em}.slot-container{display:flex;justify-content:space-between;gap:.5em;margin-top:.15em}`
|
|
5227
5438
|
];
|
|
5228
|
-
__decorateClass$
|
|
5439
|
+
__decorateClass$E([
|
|
5229
5440
|
e$5({ type: Number })
|
|
5230
5441
|
], Progress.prototype, "value", 2);
|
|
5231
|
-
__decorateClass$
|
|
5442
|
+
__decorateClass$E([
|
|
5232
5443
|
e$5({ type: Number })
|
|
5233
5444
|
], Progress.prototype, "max", 2);
|
|
5234
|
-
__decorateClass$
|
|
5445
|
+
__decorateClass$E([
|
|
5235
5446
|
e$5({ type: Boolean })
|
|
5236
5447
|
], Progress.prototype, "invert", 2);
|
|
5237
|
-
__decorateClass$
|
|
5448
|
+
__decorateClass$E([
|
|
5238
5449
|
e$5({ type: String, reflect: true })
|
|
5239
5450
|
], Progress.prototype, "type", 2);
|
|
5240
|
-
__decorateClass$
|
|
5451
|
+
__decorateClass$E([
|
|
5241
5452
|
e$5({ type: String, reflect: true })
|
|
5242
5453
|
], Progress.prototype, "size", 2);
|
|
5243
|
-
Progress = __decorateClass$
|
|
5454
|
+
Progress = __decorateClass$E([
|
|
5244
5455
|
n$3(tagName$D)
|
|
5245
5456
|
], Progress);
|
|
5246
5457
|
try {
|
|
@@ -5248,81 +5459,6 @@ try {
|
|
|
5248
5459
|
} catch (e2) {
|
|
5249
5460
|
}
|
|
5250
5461
|
const formControl = r$5`*{box-sizing:border-box}:host{--sc-input-height:var(--sc-form-height);--sc-input-border-width:var(--sc-form-border-width);--sc-input-color:var(--sc-base-content);--sc-item-rounded-tr:var(--sc-input-rounded);--sc-item-rounded-tl:var(--sc-input-rounded);--sc-item-rounded-bl:var(--sc-input-rounded);--sc-item-rounded-br:var(--sc-input-rounded);--sc-input-fs:var(--sc-fs, 1rem);--sc-input-ff:inherit;--sc-input-py:0.6em;--sc-input-px:1.15em;--sc-input-prefix-color:var(--sc-input-color);--sc-input-prefix-bg:var(--sc-input-bg);--sc-input-prefix-border-color:var(--sc-input-border-color);--sc-input-suffix-color:var(--sc-input-color);--sc-input-suffix-bg:var(--sc-input-bg);--sc-input-suffix-border-color:var(--sc-input-border-color);--sc-label-fs:var(--sc-fs, 1rem);--sc-label-fw:var(--sc-label-font-weight)}.form-element{display:block;flex-grow:1;width:100%;line-height:1.1;color:var(--sc-input-color);border-radius:var(--sc-item-rounded-tl) var(--sc-item-rounded-tr) var(--sc-item-rounded-br) var(--sc-item-rounded-bl);font-family:var(--sc-input-ff);background-color:var(--sc-input-bg,var(--sc-base,#fff));border:var(--sc-input-border-width) solid var(--sc-input-border-color,var(--sc-base-300,#aaa));width:100%;font-size:var(--sc-input-fs);padding-top:var(--sc-input-py);padding-bottom:var(--sc-input-py);padding-left:var(--sc-input-px);padding-right:var(--sc-input-px);min-height:var(--sc-input-height)}label{font-size:var(--sc-label-fs);font-weight:var(--sc-label-fw);line-height:1.2}.form-control{display:flex;width:100%}:host(:not([inlineContent])) .has-prefix slot[name=prefix],:host(:not([inlineContent])) .has-suffix slot[name=suffix]{min-width:var(--sc-input-height);box-sizing:border-box;display:flex;align-items:center;justify-content:center;line-height:1.1;flex-shrink:0;padding-left:calc(-1 * var(--sc-input-px));padding-right:calc(-1 * var(--sc-input-px))}:host(:not([inlineContent])) slot[name=prefix]{border-radius:var(--sc-item-rounded-tl) 0 0 var(--sc-item-rounded-bl);background-color:var(--sc-input-prefix-bg);color:var(--sc-input-prefix-color);border:var(--sc-input-border-width) solid var(--sc-input-prefix-border-color);margin-right:calc(-1 * var(--sc-input-border-width))}:host(:not([inlineContent])) slot[name=suffix]{border-radius:0 var(--sc-item-rounded-tr) var(--sc-item-rounded-br) 0;background-color:var(--sc-input-suffix-bg);color:var(--sc-input-suffix-color);border:var(--sc-input-border-width) solid var(--sc-input-suffix-border-color);margin-left:calc(-1 * var(--sc-input-border-width))}:host(:not([inlineContent])) .has-prefix .form-element{border-top-left-radius:0;border-bottom-left-radius:0}:host(:not([inlineContent])) .has-suffix .form-element{border-top-right-radius:0;border-bottom-right-radius:0}:host([inlineContent]){--sc-input-py:0}:host([inlineContent]) .form-element{display:flex;flex-wrap:wrap;align-items:center;gap:.35em;min-height:var(--sc-form-height)}:host([disabled]) .form-element-container{cursor:not-allowed}:host([variant=ghost]) .form-element{--sc-input-bg:transparent}:host([disabled]) .form-element{pointer-events:none;background-color:var(--sc-base-100);border-color:transparent;color:var(--sc-base-400)}::placeholder{color:inherit;opacity:.45}:focus::placeholder{opacity:0}.form-element:focus,.form-element:focus-visible,:host(:not([disabled])) .form-element:hover{filter:brightness(.97);outline:0}.form-label{margin-bottom:.22em;display:block}.form-description{color:var(--sc-base-400);font-size:.85em;margin-top:.2em;display:block}.form-element .form-element,.form-element>slot{all:unset!important}.hidden{display:none}.contents{display:contents}:host([error]){--sc-input-border-color:var(--sc-danger)}:host input:visited{display:none}:host([touched][required]) :not(:focus):invalid{--sc-input-border-color:var(--sc-danger);--sc-input-color:var(--sc-danger)}:host([touched][required]) :not(:focus):invalid+.select-chevron{--sc-input-color:var(--sc-danger)}:host([touched][required]) :not([value=""]):not(:focus):valid{--sc-input-border-color:var(--sc-success);--sc-input-color:var(--sc-success)}:host([touched][required]) :not(:focus):valid+.select-chevron{--sc-input-color:var(--sc-success)}:host([type=color]) .form-element{padding:0;border:0;min-width:var(--sc-input-height)}input[type=color]::-webkit-color-swatch-wrapper{padding:0}input[type=color]::-webkit-color-swatch{border:none;border-radius:var(--sc-item-rounded-tl) var(--sc-item-rounded-tr) var(--sc-item-rounded-br) var(--sc-item-rounded-bl)}:host([type=image]) .form-element{padding:0;border:none}input[type=reset],input[type=submit]{cursor:pointer}input[type=search]::-webkit-search-cancel-button{appearance:none;cursor:pointer;height:.65em;width:.65em;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pg0KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE2LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPg0KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCINCgkgd2lkdGg9IjEyMy4wNXB4IiBoZWlnaHQ9IjEyMy4wNXB4IiB2aWV3Qm94PSIwIDAgMTIzLjA1IDEyMy4wNSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTIzLjA1IDEyMy4wNTsiDQoJIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPGc+DQoJPHBhdGggZD0iTTEyMS4zMjUsMTAuOTI1bC04LjUtOC4zOTljLTIuMy0yLjMtNi4xLTIuMy04LjUsMGwtNDIuNCw0Mi4zOTlMMTguNzI2LDEuNzI2Yy0yLjMwMS0yLjMwMS02LjEwMS0yLjMwMS04LjUsMGwtOC41LDguNQ0KCQljLTIuMzAxLDIuMy0yLjMwMSw2LjEsMCw4LjVsNDMuMSw0My4xbC00Mi4zLDQyLjVjLTIuMywyLjMtMi4zLDYuMSwwLDguNWw4LjUsOC41YzIuMywyLjMsNi4xLDIuMyw4LjUsMGw0Mi4zOTktNDIuNGw0Mi40LDQyLjQNCgkJYzIuMywyLjMsNi4xLDIuMyw4LjUsMGw4LjUtOC41YzIuMy0yLjMsMi4zLTYuMSwwLTguNWwtNDIuNS00Mi40bDQyLjQtNDIuMzk5QzEyMy42MjUsMTcuMTI1LDEyMy42MjUsMTMuMzI1LDEyMS4zMjUsMTAuOTI1eiIvPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPC9zdmc+DQo=);background-size:contain;background-repeat:no-repeat}`;
|
|
5251
|
-
var __defProp$E = Object.defineProperty;
|
|
5252
|
-
var __getOwnPropDesc$E = Object.getOwnPropertyDescriptor;
|
|
5253
|
-
var __decorateClass$E = (decorators, target, key, kind) => {
|
|
5254
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$E(target, key) : target;
|
|
5255
|
-
for (var i2 = decorators.length - 1, decorator; i2 >= 0; i2--)
|
|
5256
|
-
if (decorator = decorators[i2])
|
|
5257
|
-
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
5258
|
-
if (kind && result)
|
|
5259
|
-
__defProp$E(target, key, result);
|
|
5260
|
-
return result;
|
|
5261
|
-
};
|
|
5262
|
-
const Form = (superClass) => {
|
|
5263
|
-
class FormInput2 extends superClass {
|
|
5264
|
-
constructor(...args) {
|
|
5265
|
-
super();
|
|
5266
|
-
this.forceAutoFill = false;
|
|
5267
|
-
this._type = "text";
|
|
5268
|
-
}
|
|
5269
|
-
validateFormElement() {
|
|
5270
|
-
var _a2;
|
|
5271
|
-
const that = this;
|
|
5272
|
-
const input = (_a2 = that.shadowRoot) == null ? void 0 : _a2.querySelector("input");
|
|
5273
|
-
if (!input || input.checkValidity())
|
|
5274
|
-
return;
|
|
5275
|
-
this.getFormPublisher().isFormValid = false;
|
|
5276
|
-
input.reportValidity();
|
|
5277
|
-
}
|
|
5278
|
-
set type(value) {
|
|
5279
|
-
if (this.hasAttribute("type") && !this.forceAutoFill)
|
|
5280
|
-
value = this.getAttribute("type");
|
|
5281
|
-
this._type = value;
|
|
5282
|
-
this.requestUpdate();
|
|
5283
|
-
}
|
|
5284
|
-
get type() {
|
|
5285
|
-
return this._type;
|
|
5286
|
-
}
|
|
5287
|
-
get description() {
|
|
5288
|
-
return this._description;
|
|
5289
|
-
}
|
|
5290
|
-
set description(value) {
|
|
5291
|
-
if (this.hasAttribute("description") && !this.forceAutoFill)
|
|
5292
|
-
value = this.getAttribute("description");
|
|
5293
|
-
this._description = value;
|
|
5294
|
-
this.requestUpdate();
|
|
5295
|
-
}
|
|
5296
|
-
get label() {
|
|
5297
|
-
return this._label;
|
|
5298
|
-
}
|
|
5299
|
-
set label(value) {
|
|
5300
|
-
if (this.hasAttribute("label") && !this.forceAutoFill)
|
|
5301
|
-
value = this.getAttribute("label");
|
|
5302
|
-
this._label = value;
|
|
5303
|
-
this.requestUpdate();
|
|
5304
|
-
}
|
|
5305
|
-
}
|
|
5306
|
-
__decorateClass$E([
|
|
5307
|
-
e$5()
|
|
5308
|
-
], FormInput2.prototype, "forceAutoFill", 2);
|
|
5309
|
-
__decorateClass$E([
|
|
5310
|
-
e$5({ type: String })
|
|
5311
|
-
], FormInput2.prototype, "type", 1);
|
|
5312
|
-
__decorateClass$E([
|
|
5313
|
-
e$5()
|
|
5314
|
-
], FormInput2.prototype, "description", 1);
|
|
5315
|
-
__decorateClass$E([
|
|
5316
|
-
e$5()
|
|
5317
|
-
], FormInput2.prototype, "label", 1);
|
|
5318
|
-
__decorateClass$E([
|
|
5319
|
-
e$5({ type: Number })
|
|
5320
|
-
], FormInput2.prototype, "tabindex", 2);
|
|
5321
|
-
__decorateClass$E([
|
|
5322
|
-
e$5({ type: String })
|
|
5323
|
-
], FormInput2.prototype, "autocomplete", 2);
|
|
5324
|
-
return FormInput2;
|
|
5325
|
-
};
|
|
5326
5462
|
/**
|
|
5327
5463
|
* @license
|
|
5328
5464
|
* Copyright 2018 Google LLC
|
|
@@ -7560,22 +7696,6 @@ try {
|
|
|
7560
7696
|
customElements.define(tagName$1, Table);
|
|
7561
7697
|
} catch (e2) {
|
|
7562
7698
|
}
|
|
7563
|
-
const Fetcher = Fetcher$1;
|
|
7564
|
-
const FormCheckable = Form$1;
|
|
7565
|
-
const FormElement = Form$2;
|
|
7566
|
-
const FormInput = Form;
|
|
7567
|
-
const Subscriber = Subscriber$1;
|
|
7568
|
-
const TemplatesContainer = TemplatesContainer$1;
|
|
7569
|
-
let win$2 = window;
|
|
7570
|
-
win$2["concorde-mixins"] = win$2["concorde-mixins"] || {};
|
|
7571
|
-
win$2["concorde-mixins"] = {
|
|
7572
|
-
Fetcher,
|
|
7573
|
-
FormCheckable,
|
|
7574
|
-
FormElement,
|
|
7575
|
-
FormInput,
|
|
7576
|
-
Subscriber,
|
|
7577
|
-
TemplatesContainer
|
|
7578
|
-
};
|
|
7579
7699
|
var __defProp = Object.defineProperty;
|
|
7580
7700
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7581
7701
|
var __decorateClass = (decorators, target, key, kind) => {
|