spell-ui 0.8.10 → 0.8.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_util/string.d.ts +7 -0
- package/dist/components/ui-modal/ModalDialogs.d.ts +7 -9
- package/dist/components/ui-modal/UIModal.d.ts +5 -0
- package/dist/components/ui-modal/UIModal.en.d.ts +5 -0
- package/dist/components/ui-toast/ToastStack.d.ts +9 -0
- package/dist/core.js +468 -453
- package/dist/core.js.map +1 -1
- package/dist/index.js +96 -96
- package/dist/jsx.d.ts +10 -0
- package/dist/runtime/runtime.types.d.ts +6 -1
- package/dist/{ui-modal.editor-CkkJRgab.js → ui-modal.editor-B6gmmGsR.js} +2 -2
- package/dist/ui-modal.editor-B6gmmGsR.js.map +1 -0
- package/dist/ui-modal.js +59 -66
- package/dist/ui-modal.js.map +1 -1
- package/dist/ui-property-editor.js +1 -1
- package/dist/ui-root.js +1 -0
- package/dist/ui-root.js.map +1 -1
- package/dist/ui-toast.js +89 -84
- package/dist/ui-toast.js.map +1 -1
- package/package.json +1 -1
- package/dist/ui-modal.editor-CkkJRgab.js.map +0 -1
package/dist/core.js
CHANGED
|
@@ -244,6 +244,20 @@ function textChecksum(e) {
|
|
|
244
244
|
}
|
|
245
245
|
return `${(t >>> 0).toString(36)}-${(n >>> 0).toString(36)}`;
|
|
246
246
|
}
|
|
247
|
+
var Ce = [
|
|
248
|
+
/^#{1,6}\s/m,
|
|
249
|
+
/^\s*(?:[-*+]|\d+[.)])\s+\S/m,
|
|
250
|
+
/^>\s?/m,
|
|
251
|
+
/^```/m,
|
|
252
|
+
/(\*\*|__)\S(?:.*?\S)?\1/,
|
|
253
|
+
/(?<![\w*])\*[^\s*](?:[^*]*[^\s*])?\*(?![\w*])/,
|
|
254
|
+
/(?<!\w)_[^\s_](?:[^_]*[^\s_])?_(?!\w)/,
|
|
255
|
+
/`[^`\n]+`/,
|
|
256
|
+
/\[[^\]\n]+\]\([^)\s]+\)/
|
|
257
|
+
];
|
|
258
|
+
function hasMarkdown(e) {
|
|
259
|
+
return Ce.some((t) => t.test(e));
|
|
260
|
+
}
|
|
247
261
|
// ../src/util/timing.ts
|
|
248
262
|
function afterSolidUpdate(e) {
|
|
249
263
|
queueMicrotask(e);
|
|
@@ -321,7 +335,7 @@ async function within(e, t) {
|
|
|
321
335
|
}
|
|
322
336
|
}
|
|
323
337
|
// ../src/element/vocabulary.types.ts
|
|
324
|
-
var
|
|
338
|
+
var we = [
|
|
325
339
|
"name",
|
|
326
340
|
"content",
|
|
327
341
|
"appearance",
|
|
@@ -331,7 +345,7 @@ var Ce = [
|
|
|
331
345
|
"link",
|
|
332
346
|
"behaviour",
|
|
333
347
|
"advanced"
|
|
334
|
-
],
|
|
348
|
+
], v = "none", Te = {
|
|
335
349
|
role: "role",
|
|
336
350
|
busy: "ariaBusy",
|
|
337
351
|
checked: "ariaChecked",
|
|
@@ -350,7 +364,7 @@ var Ce = [
|
|
|
350
364
|
}, Ee = "ui-error", De = "errored", StaleCatalogError = class extends TypeError {};
|
|
351
365
|
StaleCatalogError.prototype.name = "StaleCatalogError";
|
|
352
366
|
// ../src/element/SpellSolid.ts
|
|
353
|
-
var
|
|
367
|
+
var y = class SpellSolid {
|
|
354
368
|
static install(e) {
|
|
355
369
|
SpellSolid.installed = e;
|
|
356
370
|
for (let e of SpellSolid.waiting.splice(0)) e();
|
|
@@ -369,7 +383,7 @@ var v = class SpellSolid {
|
|
|
369
383
|
}
|
|
370
384
|
static installed;
|
|
371
385
|
static waiting = [];
|
|
372
|
-
}, Oe = 5,
|
|
386
|
+
}, Oe = 5, b = class Reactive {
|
|
373
387
|
static ownRoot(e) {
|
|
374
388
|
return f(Re, () => s(e));
|
|
375
389
|
}
|
|
@@ -399,7 +413,7 @@ var v = class SpellSolid {
|
|
|
399
413
|
}
|
|
400
414
|
}
|
|
401
415
|
static attributeValue(e, t) {
|
|
402
|
-
if (
|
|
416
|
+
if (x || l()) {
|
|
403
417
|
let n = Reactive.recordOf(e), r = n.sources.get(Ie + t);
|
|
404
418
|
r || (n.sources.set(Ie + t, r = new AttributeSource(e, t)), watchAttributeValues(n, e)), reading(r);
|
|
405
419
|
}
|
|
@@ -410,7 +424,7 @@ var v = class SpellSolid {
|
|
|
410
424
|
return r.attributes ??= new Proxy({}, { get: (e, i) => {
|
|
411
425
|
if (typeof i != "string") return;
|
|
412
426
|
let a = n(i);
|
|
413
|
-
return (
|
|
427
|
+
return (x || l()) && reading(rawAttributeSource(r, t, a)), t.getAttribute(a);
|
|
414
428
|
} });
|
|
415
429
|
}
|
|
416
430
|
static startEffects(e) {
|
|
@@ -510,15 +524,15 @@ function controlled(e) {
|
|
|
510
524
|
let r = n.name;
|
|
511
525
|
return {
|
|
512
526
|
get() {
|
|
513
|
-
let { key: t } = this.elementDefinition.attribute(e), n =
|
|
514
|
-
return n === void 0 ?
|
|
527
|
+
let { key: t } = this.elementDefinition.attribute(e), n = b.attributeValue(this, t);
|
|
528
|
+
return n === void 0 ? b.recordOf(this).values[r] : n;
|
|
515
529
|
},
|
|
516
530
|
set(t) {
|
|
517
531
|
let { property: n } = this.elementDefinition.attribute(e);
|
|
518
532
|
this.domElement[n] = t;
|
|
519
533
|
},
|
|
520
534
|
init(t) {
|
|
521
|
-
let n =
|
|
535
|
+
let n = b.recordOf(this);
|
|
522
536
|
return n.values[r] = t, (n.controlled ??= {})[r] = e, this.domElement && watchPropertyWrites(n, this), t;
|
|
523
537
|
}
|
|
524
538
|
};
|
|
@@ -540,7 +554,7 @@ function derived(e, t) {
|
|
|
540
554
|
}
|
|
541
555
|
function derivedGetter(e, t, n = isSame) {
|
|
542
556
|
return function() {
|
|
543
|
-
let r =
|
|
557
|
+
let r = b.recordOf(this), i = r.caches.get(t);
|
|
544
558
|
return i || r.caches.set(t, i = new DerivedCache(() => e.call(this), n)), i.read();
|
|
545
559
|
};
|
|
546
560
|
}
|
|
@@ -593,7 +607,7 @@ function watches(e) {
|
|
|
593
607
|
}
|
|
594
608
|
let r = n.name, { equals: i = isSame } = e;
|
|
595
609
|
return function() {
|
|
596
|
-
let n =
|
|
610
|
+
let n = b.recordOf(this), a = n.caches.get(r);
|
|
597
611
|
if (!a) {
|
|
598
612
|
let o = a = new ContentCache(() => t.call(this), i);
|
|
599
613
|
n.caches.set(r, o), h || watchContent(this, e, () => o.contentChanged());
|
|
@@ -690,17 +704,17 @@ var Notifier = class {
|
|
|
690
704
|
this.compute = e, this.equals = t;
|
|
691
705
|
}
|
|
692
706
|
read() {
|
|
693
|
-
return this.refresh(),
|
|
707
|
+
return this.refresh(), x?.set(this, this.version), l() && this.track(), this.value;
|
|
694
708
|
}
|
|
695
709
|
refresh() {
|
|
696
710
|
if (this.isComputed && !this.isStale()) return;
|
|
697
|
-
let e =
|
|
698
|
-
|
|
711
|
+
let e = x, t = /* @__PURE__ */ new Map();
|
|
712
|
+
x = t;
|
|
699
713
|
let n;
|
|
700
714
|
try {
|
|
701
715
|
n = this.compute();
|
|
702
716
|
} finally {
|
|
703
|
-
|
|
717
|
+
x = e;
|
|
704
718
|
}
|
|
705
719
|
this.dependencies = t, this.isComputed && this.equals(this.value, n) || (this.value = n, this.version++), this.isComputed = !0;
|
|
706
720
|
}
|
|
@@ -729,9 +743,9 @@ var Notifier = class {
|
|
|
729
743
|
let e = this.version;
|
|
730
744
|
this.refresh(), this.version !== e && this.changes.changed();
|
|
731
745
|
}
|
|
732
|
-
},
|
|
746
|
+
}, x;
|
|
733
747
|
function reading(e) {
|
|
734
|
-
e.refresh?.(),
|
|
748
|
+
e.refresh?.(), x?.set(e, e.version), e.track();
|
|
735
749
|
}
|
|
736
750
|
function notify(e) {
|
|
737
751
|
if (!u()) return e();
|
|
@@ -745,15 +759,15 @@ function stateAccessor(e, { equals: t = isSame, ownedWrite: n = !1 }) {
|
|
|
745
759
|
let r = e.name, i = t === !1 ? isNever : t;
|
|
746
760
|
return {
|
|
747
761
|
get() {
|
|
748
|
-
let e =
|
|
749
|
-
return (
|
|
762
|
+
let e = b.recordOf(this);
|
|
763
|
+
return (x || l()) && reading(notifierFor(e, r, n)), e.values[r];
|
|
750
764
|
},
|
|
751
765
|
set(e) {
|
|
752
|
-
let t =
|
|
766
|
+
let t = b.recordOf(this);
|
|
753
767
|
i(t.values[r], e) || (t.values[r] = e, t.sources.get(r)?.changed());
|
|
754
768
|
},
|
|
755
769
|
init(e) {
|
|
756
|
-
return
|
|
770
|
+
return b.recordOf(this).values[r] = e, e;
|
|
757
771
|
}
|
|
758
772
|
};
|
|
759
773
|
}
|
|
@@ -778,7 +792,7 @@ function watchAttributeValues(e, t) {
|
|
|
778
792
|
}));
|
|
779
793
|
}
|
|
780
794
|
function watchContent(e, t, n) {
|
|
781
|
-
let r =
|
|
795
|
+
let r = b.recordOf(e), { domElement: i } = e, a = r.content;
|
|
782
796
|
if (!a) {
|
|
783
797
|
let e = [], t = new MutationObserver((t) => {
|
|
784
798
|
for (let n of e) {
|
|
@@ -861,7 +875,7 @@ var ke = Symbol("reactive"), Ae = Symbol("cssStates"), je = Symbol("aria"), Me =
|
|
|
861
875
|
attributes;
|
|
862
876
|
byName = /* @__PURE__ */ new Map();
|
|
863
877
|
byAttribute = /* @__PURE__ */ new Map();
|
|
864
|
-
words =
|
|
878
|
+
words = y.settings.words;
|
|
865
879
|
names = this.words.names();
|
|
866
880
|
constructor(e, { tag: t, dictionary: n } = {}) {
|
|
867
881
|
this.vocabulary = e;
|
|
@@ -972,7 +986,7 @@ var ke = Symbol("reactive"), Ae = Symbol("cssStates"), je = Symbol("aria"), Me =
|
|
|
972
986
|
static isPrimitive(e) {
|
|
973
987
|
return typeof e == "string" || typeof e == "number" || typeof e == "boolean";
|
|
974
988
|
}
|
|
975
|
-
}, Be = "visible",
|
|
989
|
+
}, Be = "visible", S = class RichAttributes {
|
|
976
990
|
static isRich(e) {
|
|
977
991
|
return typeof e == "function" || typeof e == "object" && !!e;
|
|
978
992
|
}
|
|
@@ -981,14 +995,14 @@ var ke = Symbol("reactive"), Ae = Symbol("cssStates"), je = Symbol("aria"), Me =
|
|
|
981
995
|
e[RichAttributes.propertyFor(t, r)] = n, (We.get(e) ?? We.set(e, /* @__PURE__ */ new Set()).get(e)).add(t);
|
|
982
996
|
}
|
|
983
997
|
static clear(e, t, n) {
|
|
984
|
-
|
|
998
|
+
C.get(e)?.delete(t);
|
|
985
999
|
let r = Ue.get(e)?.get(t);
|
|
986
1000
|
r && (e.removeEventListener(r.type, r.listener), Ue.get(e).delete(t)), We.get(e)?.delete(t) && (e[RichAttributes.propertyFor(t, n)] = void 0);
|
|
987
1001
|
}
|
|
988
1002
|
static replay(e, t) {
|
|
989
|
-
let n =
|
|
1003
|
+
let n = C.get(e);
|
|
990
1004
|
if (n) {
|
|
991
|
-
|
|
1005
|
+
C.delete(e);
|
|
992
1006
|
for (let [r, i] of n) RichAttributes.apply(e, r, i, t);
|
|
993
1007
|
}
|
|
994
1008
|
}
|
|
@@ -1012,9 +1026,9 @@ var ke = Symbol("reactive"), Ae = Symbol("cssStates"), je = Symbol("aria"), Me =
|
|
|
1012
1026
|
setAttribute: n,
|
|
1013
1027
|
removeAttribute: r
|
|
1014
1028
|
}, t.setAttribute = function(e, t) {
|
|
1015
|
-
RichAttributes.isRich(t) && isUndefinedTag(this) && !RichAttributes.isPure() ? (
|
|
1029
|
+
RichAttributes.isRich(t) && isUndefinedTag(this) && !RichAttributes.isPure() ? (C.get(this) ?? C.set(this, /* @__PURE__ */ new Map()).get(this)).set(e, t) : n.call(this, e, t);
|
|
1016
1030
|
}, t.removeAttribute = function(e) {
|
|
1017
|
-
|
|
1031
|
+
C.get(this)?.delete(e), r.call(this, e);
|
|
1018
1032
|
};
|
|
1019
1033
|
}
|
|
1020
1034
|
static isPure() {
|
|
@@ -1034,10 +1048,10 @@ var ke = Symbol("reactive"), Ae = Symbol("cssStates"), je = Symbol("aria"), Me =
|
|
|
1034
1048
|
function isUndefinedTag(e) {
|
|
1035
1049
|
return e.localName.includes("-") && !customElements.get(e.localName);
|
|
1036
1050
|
}
|
|
1037
|
-
var Ve = "on-", He = "ui-root[pure]",
|
|
1038
|
-
|
|
1051
|
+
var Ve = "on-", He = "ui-root[pure]", C = /* @__PURE__ */ new WeakMap(), Ue = /* @__PURE__ */ new WeakMap(), We = /* @__PURE__ */ new WeakMap(), Ge;
|
|
1052
|
+
S.installPatch();
|
|
1039
1053
|
// ../src/element/DOMElement.ts
|
|
1040
|
-
var Ke = globalThis.HTMLElement ?? class {},
|
|
1054
|
+
var Ke = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ke {
|
|
1041
1055
|
component;
|
|
1042
1056
|
internals;
|
|
1043
1057
|
attributeValues = {};
|
|
@@ -1061,9 +1075,9 @@ var Ke = globalThis.HTMLElement ?? class {}, C = class DOMElement extends Ke {
|
|
|
1061
1075
|
}
|
|
1062
1076
|
connectedCallback() {
|
|
1063
1077
|
if (DOMElement.isPending(this)) return;
|
|
1064
|
-
this.settleVisible(), this.restoreUpgradeValues(),
|
|
1078
|
+
this.settleVisible(), this.restoreUpgradeValues(), S.replay(this, this.tagSetup?.elementDefinition), this.followRootDefaults();
|
|
1065
1079
|
let { connectedState: e } = this;
|
|
1066
|
-
e.isMounted || (e.isMounted = !0,
|
|
1080
|
+
e.isMounted || (e.isMounted = !0, S.readScriptApiAttributes(this, DOMElement, this.tagSetup?.elementDefinition), this.tagSetup?.mountComponent(this), this.handOverEarlyFormState()), this.component?.onConnect();
|
|
1067
1081
|
}
|
|
1068
1082
|
disconnectedCallback() {
|
|
1069
1083
|
this.stopFollowingRootDefaults(), this.component?.onDisconnect();
|
|
@@ -1090,11 +1104,11 @@ var Ke = globalThis.HTMLElement ?? class {}, C = class DOMElement extends Ke {
|
|
|
1090
1104
|
}
|
|
1091
1105
|
setAttribute(e, t) {
|
|
1092
1106
|
let n = this.tagSetup?.elementDefinition;
|
|
1093
|
-
if (
|
|
1107
|
+
if (S.isRich(t) || S.isScriptApi(this, e, DOMElement, n)) return S.apply(this, e, t, n);
|
|
1094
1108
|
super.setAttribute(e, t);
|
|
1095
1109
|
}
|
|
1096
1110
|
removeAttribute(e) {
|
|
1097
|
-
|
|
1111
|
+
S.clear(this, e, this.tagSetup?.elementDefinition), super.removeAttribute(e);
|
|
1098
1112
|
}
|
|
1099
1113
|
addPropertyChangedCallback(e) {
|
|
1100
1114
|
this.connectedState.propertyChangedCallbacks.push(e);
|
|
@@ -1182,7 +1196,7 @@ var Ke = globalThis.HTMLElement ?? class {}, C = class DOMElement extends Ke {
|
|
|
1182
1196
|
}
|
|
1183
1197
|
followRootDefaults() {
|
|
1184
1198
|
let e = DOMElement.defaultSettings, { connectedState: t } = this, n = this.tagSetup?.elementDefinition;
|
|
1185
|
-
e && n && !t.stopDefaults && (this.applyRootDefaults(p(() => e.for(this, n))), t.stopDefaults =
|
|
1199
|
+
e && n && !t.stopDefaults && (this.applyRootDefaults(p(() => e.for(this, n))), t.stopDefaults = b.ownRoot((t) => (i(() => e.for(this, n), (e) => {
|
|
1186
1200
|
this.applyRootDefaults(e);
|
|
1187
1201
|
}), t)));
|
|
1188
1202
|
}
|
|
@@ -1200,7 +1214,7 @@ var Ke = globalThis.HTMLElement ?? class {}, C = class DOMElement extends Ke {
|
|
|
1200
1214
|
Object.is(this.attributeValues[e.key], t) || this.storeValue(e, t, "default");
|
|
1201
1215
|
}
|
|
1202
1216
|
static get defaultSettings() {
|
|
1203
|
-
return
|
|
1217
|
+
return y.isInstalled ? y.settings.defaults : void 0;
|
|
1204
1218
|
}
|
|
1205
1219
|
get renderRoot() {
|
|
1206
1220
|
let { connectedState: e } = this;
|
|
@@ -1444,14 +1458,14 @@ var qe = [
|
|
|
1444
1458
|
set: m.set
|
|
1445
1459
|
} : i, l), c._ = 1, d ^ 4 || s === void 0 ? __expectFn(s) && (d > 4 ? ne.unshift(s) : d ? p ? a = s : m[te] = s : i = s) : typeof s != "object" || !s ? __typeError("Object expected") : (__expectFn(o = s.get) && (m.get = o), __expectFn(o = s.set) && (m.set = o), __expectFn(o = s.init) && ne.unshift(o));
|
|
1446
1460
|
return d || __decoratorMetadata(e, i), m && nt(i, n, m), p ? d ^ 4 ? a : m : i;
|
|
1447
|
-
}, __publicField = (e, t, n) => __defNormalProp(e, typeof t == "symbol" ? t : t + "", n), __accessCheck = (e, t, n) => t.has(e) || __typeError("Cannot " + n), __privateIn = (e, t) => Object(t) === t ? e.has(t) : __typeError("Cannot use the \"in\" operator on this value"), __privateGet = (e, t, n) => (__accessCheck(e, t, "read from private field"), n ? n.call(e) : t.get(e)), __privateAdd = (e, t, n) => t.has(e) ? __typeError("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), __privateSet = (e, t, n, r) => (__accessCheck(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n), __privateMethod = (e, t, n) => (__accessCheck(e, t, "access private method"), n), at, ot,
|
|
1461
|
+
}, __publicField = (e, t, n) => __defNormalProp(e, typeof t == "symbol" ? t : t + "", n), __accessCheck = (e, t, n) => t.has(e) || __typeError("Cannot " + n), __privateIn = (e, t) => Object(t) === t ? e.has(t) : __typeError("Cannot use the \"in\" operator on this value"), __privateGet = (e, t, n) => (__accessCheck(e, t, "read from private field"), n ? n.call(e) : t.get(e)), __privateAdd = (e, t, n) => t.has(e) ? __typeError("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), __privateSet = (e, t, n, r) => (__accessCheck(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n), __privateMethod = (e, t, n) => (__accessCheck(e, t, "access private method"), n), at, ot, T, st;
|
|
1448
1462
|
function isSameOwner(e, t) {
|
|
1449
1463
|
return e?.owner === t?.owner && e?.ownerNoun === t?.ownerNoun && e?.depth === t?.depth;
|
|
1450
1464
|
}
|
|
1451
1465
|
__name(isSameOwner, "isSameOwner"), ot = [state({ equals: isSameOwner })], at = [onChange("ownerNoun", { writesDOMElement: !0 })];
|
|
1452
|
-
var
|
|
1466
|
+
var E = class _PartContext {
|
|
1453
1467
|
constructor({ domElement: e, noun: t, isDirect: n = !1, barrier: r = _PartContext.isBarrier }) {
|
|
1454
|
-
__runInitializers(
|
|
1468
|
+
__runInitializers(T, 5, this), __privateAdd(this, st, __runInitializers(T, 8, this)), __runInitializers(T, 11, this), __publicField(this, "domElement"), __publicField(this, "noun"), __publicField(this, "isDirect"), __publicField(this, "barrier"), __publicField(this, "hasConnected", !1), this.domElement = e, this.noun = t, this.isDirect = n, this.barrier = r, this.owner = this.resolve(), _PartContext.contexts.set(e, this), b.startEffects(this), d(() => (this.refresh(), () => {
|
|
1455
1469
|
_PartContext.contexts.get(e) === this && _PartContext.contexts.delete(e);
|
|
1456
1470
|
}));
|
|
1457
1471
|
}
|
|
@@ -1521,8 +1535,8 @@ var T = class _PartContext {
|
|
|
1521
1535
|
} : t;
|
|
1522
1536
|
}
|
|
1523
1537
|
};
|
|
1524
|
-
|
|
1525
|
-
var
|
|
1538
|
+
T = __decoratorStart(null), st = /* @__PURE__ */ new WeakMap(), __decorateElement(T, 4, "owner", ot, E, st), __decorateElement(T, 1, "onOwnerChanged", at, E), __decoratorMetadata(T, E), __name(E, "PartContext"), __publicField(E, "owners", /* @__PURE__ */ new Map()), __publicField(E, "definedTags", /* @__PURE__ */ new Set()), __publicField(E, "partTags", /* @__PURE__ */ new Set()), __publicField(E, "conditionalTags", /* @__PURE__ */ new Set()), __publicField(E, "contexts", /* @__PURE__ */ new WeakMap()), __publicField(E, "lastAssigned", /* @__PURE__ */ new WeakMap());
|
|
1539
|
+
var D = E, ct = [
|
|
1526
1540
|
"phone",
|
|
1527
1541
|
"tablet",
|
|
1528
1542
|
"desktop"
|
|
@@ -1651,13 +1665,13 @@ var dt = class ShadowEvents {
|
|
|
1651
1665
|
static parentOf(e) {
|
|
1652
1666
|
return e._$host ?? e.parentNode ?? e.host ?? null;
|
|
1653
1667
|
}
|
|
1654
|
-
}, ft = "_$SOLID_EVENT_OWNER", pt = "_$$", mt = /* @__PURE__ */ new WeakSet(), ht = /* @__PURE__ */ new WeakMap(), gt = /* @__PURE__ */ new WeakMap(), _t, vt, yt, bt, xt, St, Ct, wt, Tt, Et, Dt, Ot, kt, At, jt, Mt, Nt, Pt, Ft, It, Lt, Rt, zt, Bt, Vt, Ht, Ut = [protoMerged],
|
|
1668
|
+
}, ft = "_$SOLID_EVENT_OWNER", pt = "_$$", mt = /* @__PURE__ */ new WeakSet(), ht = /* @__PURE__ */ new WeakMap(), gt = /* @__PURE__ */ new WeakMap(), _t, vt, yt, bt, xt, St, Ct, wt, Tt, Et, Dt, Ot, kt, At, jt, Mt, Nt, Pt, Ft, It, Lt, Rt, zt, Bt, Vt, Ht, Ut = [protoMerged], O, Wt, Gt, Kt, qt, Jt;
|
|
1655
1669
|
Ht = [cssState("linked")], Vt = [onChange("sharedFontSize", { writesDOMElement: !0 })], Bt = [cssState("shadow")], zt = [onChange("sharedShadow", { writesDOMElement: !0 })], Rt = [onChange("sharedWidths", "isReady", { writesDOMElement: !0 })], Lt = [onChange("sharedTooltip", "sharedLabel", { writesDOMElement: !0 })], It = [on("click")], Ft = [onChange("isConnected", "sharedMovable", "sharedResizable", { writesDOMElement: !0 })], Pt = [state], Nt = [state], Mt = [onChange("isReady")], jt = [untracked], At = [cssState("disabled")], kt = [state], Ot = [cssState("loading")], Dt = [cssState("busy")], Et = [cssState("dimmed")], Tt = [onChange("hasInertContent", "isDisabled", "showsLoader", "isReady", { writesDOMElement: !0 })], wt = [onChange("sharedPlatforms", { writesDOMElement: !0 })], Ct = [controlled("visible")], St = [cssState("hidden")], xt = [cssState("hiding"), state], bt = [untracked], yt = [cssState("still")], vt = [onChange("isVisible", "isReady")], _t = [on("slotchange", { target: "renderRoot" })];
|
|
1656
|
-
var
|
|
1670
|
+
var k = class _UIComponent {
|
|
1657
1671
|
constructor(e, t) {
|
|
1658
|
-
__runInitializers(
|
|
1672
|
+
__runInitializers(O, 5, this), __publicField(this, "elementDefinition"), __publicField(this, "domElement"), __publicField(this, "appContext"), __privateAdd(this, Wt, __runInitializers(O, 8, this, !1)), __runInitializers(O, 11, this), __privateAdd(this, Gt, __runInitializers(O, 12, this, !1)), __runInitializers(O, 15, this), __privateAdd(this, Kt, __runInitializers(O, 16, this, !1)), __runInitializers(O, 19, this), __privateAdd(this, qt, __runInitializers(O, 20, this, !0)), __runInitializers(O, 23, this), __privateAdd(this, Jt, __runInitializers(O, 24, this, !1)), __runInitializers(O, 27, this), __publicField(this, "internalState"), this.domElement = e, this.elementDefinition = t, e.component = this, this.appContext = h ? null : _UIComponent.appContextFor(e), this.internalState = { classInput: t.classInput((e) => this.classValue(e)) }, this.isConnected = h || e.isConnected;
|
|
1659
1673
|
for (let [t, n] of Object.entries(this.elementSetup.aria)) e.internals[Te[t]] = n;
|
|
1660
|
-
let { runtime: n } =
|
|
1674
|
+
let { runtime: n } = y.settings;
|
|
1661
1675
|
this.isReady = h || n.isLoaded, h || (this.startListeners(), this.isReady || n.load().then(() => this.onRuntimeLoaded()));
|
|
1662
1676
|
}
|
|
1663
1677
|
partForName(e) {
|
|
@@ -1667,11 +1681,11 @@ var O = class _UIComponent {
|
|
|
1667
1681
|
return this.elementDefinition.slot(e);
|
|
1668
1682
|
}
|
|
1669
1683
|
translationForKey(e, t) {
|
|
1670
|
-
return
|
|
1684
|
+
return y.settings.words.text(e, t, this.vocabulary.tag);
|
|
1671
1685
|
}
|
|
1672
1686
|
onMount() {
|
|
1673
1687
|
!h && p(() => this.isReady) && this.adoptStyleSheets();
|
|
1674
|
-
let e =
|
|
1688
|
+
let e = b.cssStatesOf(this, this.elementSetup.cssStates);
|
|
1675
1689
|
o(() => {
|
|
1676
1690
|
let t = {
|
|
1677
1691
|
...this.fontStates,
|
|
@@ -1681,8 +1695,8 @@ var O = class _UIComponent {
|
|
|
1681
1695
|
return t;
|
|
1682
1696
|
}, (e) => {
|
|
1683
1697
|
for (let [t, n] of Object.entries(e)) this.domElement.setState(t, !!n);
|
|
1684
|
-
}),
|
|
1685
|
-
p(() => this.isReady) &&
|
|
1698
|
+
}), b.startEffects(this), this.followParent(), this.followHostLayout(), i(() => this.styleSheetNames.join(" "), (e) => {
|
|
1699
|
+
p(() => this.isReady) && y.settings.styles.adoptInto(this.domElement.renderRoot, e ? e.split(" ") : []);
|
|
1686
1700
|
}, { defer: !0 });
|
|
1687
1701
|
let { canRenderUnstyled: t } = this.elementSetup, n = this;
|
|
1688
1702
|
return m(r, {
|
|
@@ -1696,7 +1710,7 @@ var O = class _UIComponent {
|
|
|
1696
1710
|
}
|
|
1697
1711
|
onConnect() {
|
|
1698
1712
|
let { domElement: e } = this;
|
|
1699
|
-
afterSolidUpdate(() => this.isConnected = e.isConnected),
|
|
1713
|
+
afterSolidUpdate(() => this.isConnected = e.isConnected), D.connected(e);
|
|
1700
1714
|
}
|
|
1701
1715
|
onRuntimeLoaded() {
|
|
1702
1716
|
this.adoptStyleSheets(), this.isReady = !0;
|
|
@@ -1718,12 +1732,12 @@ var O = class _UIComponent {
|
|
|
1718
1732
|
return this.sharedText(Qt);
|
|
1719
1733
|
}
|
|
1720
1734
|
get linkTo() {
|
|
1721
|
-
let e =
|
|
1735
|
+
let e = b.attributeValue(this, Zt);
|
|
1722
1736
|
return typeof e == "string" && e !== "" && !this.isMarkedDisabled ? e : void 0;
|
|
1723
1737
|
}
|
|
1724
1738
|
get linkTarget() {
|
|
1725
1739
|
if (!this.linkTo) return;
|
|
1726
|
-
let e =
|
|
1740
|
+
let e = b.attributeValue(this, Qt);
|
|
1727
1741
|
return typeof e == "string" && e !== "" ? e : void 0;
|
|
1728
1742
|
}
|
|
1729
1743
|
get fontStates() {
|
|
@@ -1781,7 +1795,7 @@ var O = class _UIComponent {
|
|
|
1781
1795
|
}
|
|
1782
1796
|
sharedText(e) {
|
|
1783
1797
|
if (!this.elementDefinition.takesShared(e)) return;
|
|
1784
|
-
let t =
|
|
1798
|
+
let t = b.attributeValue(this, camelCase(e));
|
|
1785
1799
|
return typeof t == "string" && t !== "" ? t : void 0;
|
|
1786
1800
|
}
|
|
1787
1801
|
get sharedMovable() {
|
|
@@ -1797,7 +1811,7 @@ var O = class _UIComponent {
|
|
|
1797
1811
|
});
|
|
1798
1812
|
}
|
|
1799
1813
|
sharedWay(e) {
|
|
1800
|
-
if (this.elementDefinition.takesShared(e)) return Mn.wayOf(
|
|
1814
|
+
if (this.elementDefinition.takesShared(e)) return Mn.wayOf(b.attributeValue(this, e));
|
|
1801
1815
|
}
|
|
1802
1816
|
followParent() {
|
|
1803
1817
|
let { domElement: e, elementDefinition: t } = this;
|
|
@@ -1805,7 +1819,7 @@ var O = class _UIComponent {
|
|
|
1805
1819
|
let n = new zn({
|
|
1806
1820
|
domElement: e,
|
|
1807
1821
|
attribute: t.localAttribute(hn)
|
|
1808
|
-
}), r = a(() => this.isConnected ?
|
|
1822
|
+
}), r = a(() => this.isConnected ? b.attributeValue(this, hn) : void 0);
|
|
1809
1823
|
i(r, (e) => n.follow(e));
|
|
1810
1824
|
}
|
|
1811
1825
|
get hostLayout() {}
|
|
@@ -1834,10 +1848,10 @@ var O = class _UIComponent {
|
|
|
1834
1848
|
}
|
|
1835
1849
|
get attributes() {
|
|
1836
1850
|
let { elementDefinition: e } = this;
|
|
1837
|
-
return
|
|
1851
|
+
return b.attributesOf(this, this.domElement, (t) => e.localAttribute(t));
|
|
1838
1852
|
}
|
|
1839
1853
|
get $() {
|
|
1840
|
-
return
|
|
1854
|
+
return b.accessorsOf(this);
|
|
1841
1855
|
}
|
|
1842
1856
|
onReadyChanged(e) {
|
|
1843
1857
|
e && afterSolidUpdate(() => this.domElement.markReady());
|
|
@@ -1846,11 +1860,11 @@ var O = class _UIComponent {
|
|
|
1846
1860
|
return Object.keys(this.elementSetup.styleSheets);
|
|
1847
1861
|
}
|
|
1848
1862
|
adoptStyleSheets() {
|
|
1849
|
-
let { styles: e } =
|
|
1863
|
+
let { styles: e } = y.settings;
|
|
1850
1864
|
e.registerOnce(this.elementSetup.styleSheets), e.adoptInto(this.domElement.renderRoot, this.styleSheetNames);
|
|
1851
1865
|
}
|
|
1852
1866
|
get isMarkedDisabled() {
|
|
1853
|
-
return
|
|
1867
|
+
return b.attributeValue(this, "disabled") === !0 || this.formIsDisabled;
|
|
1854
1868
|
}
|
|
1855
1869
|
get isDisabled() {
|
|
1856
1870
|
return this.elementSetup.disabled === "unusable" && this.isMarkedDisabled;
|
|
@@ -1859,7 +1873,7 @@ var O = class _UIComponent {
|
|
|
1859
1873
|
return !this.isDisabled;
|
|
1860
1874
|
}
|
|
1861
1875
|
get isMarkedLoading() {
|
|
1862
|
-
return
|
|
1876
|
+
return b.attributeValue(this, "loading") === !0;
|
|
1863
1877
|
}
|
|
1864
1878
|
get showsLoader() {
|
|
1865
1879
|
return this.elementSetup.loading === "loader" && this.isMarkedLoading;
|
|
@@ -1875,7 +1889,7 @@ var O = class _UIComponent {
|
|
|
1875
1889
|
o.madeInert = void 0;
|
|
1876
1890
|
return;
|
|
1877
1891
|
}
|
|
1878
|
-
|
|
1892
|
+
y.settings.focus.moveOutOf(i);
|
|
1879
1893
|
let s = o.madeInert ??= [];
|
|
1880
1894
|
for (let e of i.renderRoot.children) {
|
|
1881
1895
|
let t = e;
|
|
@@ -1897,22 +1911,22 @@ var O = class _UIComponent {
|
|
|
1897
1911
|
return !this.isVisible && !this.isHiding;
|
|
1898
1912
|
}
|
|
1899
1913
|
get animationToRun() {
|
|
1900
|
-
let e =
|
|
1901
|
-
return e === "none" || this.isMotionOff ?
|
|
1914
|
+
let e = b.attributeValue(this, "animation");
|
|
1915
|
+
return e === "none" || this.isMotionOff ? v : e ?? this.elementSetup.animation;
|
|
1902
1916
|
}
|
|
1903
1917
|
get isStill() {
|
|
1904
|
-
return
|
|
1918
|
+
return b.attributeValue(this, "animation") === v;
|
|
1905
1919
|
}
|
|
1906
1920
|
get isMotionOff() {
|
|
1907
|
-
let { motion: e } =
|
|
1921
|
+
let { motion: e } = y.settings;
|
|
1908
1922
|
if (e.isReduced) return !0;
|
|
1909
1923
|
let { domElement: t } = this;
|
|
1910
|
-
return t.isConnected ? getComputedStyle(t).getPropertyValue(e.property).trim() ===
|
|
1924
|
+
return t.isConnected ? getComputedStyle(t).getPropertyValue(e.property).trim() === v : !1;
|
|
1911
1925
|
}
|
|
1912
1926
|
async onVisibleChange(e, t) {
|
|
1913
1927
|
let { internalState: n } = this, r = n.animatedOut ?? [], i = [...this.domElement.renderRoot.children].filter((e) => e.localName !== "slot" && (!e.hidden || r.includes(e)));
|
|
1914
1928
|
n.animatedOut = void 0;
|
|
1915
|
-
let { motion: a } =
|
|
1929
|
+
let { motion: a } = y.settings;
|
|
1916
1930
|
if (t === "none" || a.isAttention(t)) {
|
|
1917
1931
|
if (e) for (let e of i) a.reveal(e);
|
|
1918
1932
|
} else e || (n.animatedOut = i), await Promise.all(i.map((n) => a.animate(n, t, e)));
|
|
@@ -1922,7 +1936,7 @@ var O = class _UIComponent {
|
|
|
1922
1936
|
let { internalState: n } = this, r = n.wasVisible === void 0;
|
|
1923
1937
|
if (!r && n.wasVisible === e) return;
|
|
1924
1938
|
n.wasVisible = e;
|
|
1925
|
-
let i = r ?
|
|
1939
|
+
let i = r ? v : this.animationToRun;
|
|
1926
1940
|
afterSolidUpdate(() => void this.runVisibleChange(e, i));
|
|
1927
1941
|
}
|
|
1928
1942
|
async runVisibleChange(e, t) {
|
|
@@ -1931,7 +1945,7 @@ var O = class _UIComponent {
|
|
|
1931
1945
|
try {
|
|
1932
1946
|
await this.onVisibleChange(e, t);
|
|
1933
1947
|
} catch (e) {
|
|
1934
|
-
|
|
1948
|
+
y.settings.warn(`<${this.domElement.localName}>.onVisibleChange()`, "failed; the change ends here", e);
|
|
1935
1949
|
}
|
|
1936
1950
|
n.visibleRun === r && (this.isHiding = !1);
|
|
1937
1951
|
}
|
|
@@ -1945,7 +1959,7 @@ var O = class _UIComponent {
|
|
|
1945
1959
|
get extraClass() {}
|
|
1946
1960
|
get classNoun() {}
|
|
1947
1961
|
classValue(e) {
|
|
1948
|
-
return
|
|
1962
|
+
return b.attributeValue(this, this.elementDefinition.attribute(e).key);
|
|
1949
1963
|
}
|
|
1950
1964
|
wrapperClass(e, t) {
|
|
1951
1965
|
return this.elementDefinition.builder.build(e, { extra: t });
|
|
@@ -1954,10 +1968,10 @@ var O = class _UIComponent {
|
|
|
1954
1968
|
return {};
|
|
1955
1969
|
}
|
|
1956
1970
|
requestChange(e, t, n) {
|
|
1957
|
-
return
|
|
1971
|
+
return b.requestChange(this, e, t, n);
|
|
1958
1972
|
}
|
|
1959
1973
|
isControlledByPage(e) {
|
|
1960
|
-
return
|
|
1974
|
+
return b.isControlledByPage(this, e);
|
|
1961
1975
|
}
|
|
1962
1976
|
on(e, t, { target: n, ...r } = {}) {
|
|
1963
1977
|
let i = this.internalState.listeners ??= _UIComponent.abortedOnDispose(this.domElement);
|
|
@@ -1972,7 +1986,7 @@ var O = class _UIComponent {
|
|
|
1972
1986
|
}
|
|
1973
1987
|
startListeners() {
|
|
1974
1988
|
let e = this;
|
|
1975
|
-
for (let { method: t, type: n, options: r } of
|
|
1989
|
+
for (let { method: t, type: n, options: r } of b.listenersOf(this)) {
|
|
1976
1990
|
let i = r.target && this.domElement[r.target];
|
|
1977
1991
|
this.on(n, (n) => p(() => e[t](n)), {
|
|
1978
1992
|
...r,
|
|
@@ -1981,7 +1995,7 @@ var O = class _UIComponent {
|
|
|
1981
1995
|
}
|
|
1982
1996
|
}
|
|
1983
1997
|
onSlotChangeForParts(e) {
|
|
1984
|
-
|
|
1998
|
+
D.slotChanged(e.target);
|
|
1985
1999
|
}
|
|
1986
2000
|
send(e, t) {
|
|
1987
2001
|
let n = this.elementDefinition.vocabulary.events.find((t) => t.name === e), r = new CustomEvent(this.elementDefinition.event(e), {
|
|
@@ -1993,7 +2007,7 @@ var O = class _UIComponent {
|
|
|
1993
2007
|
return this.domElement.dispatchEvent(r);
|
|
1994
2008
|
}
|
|
1995
2009
|
static mount(e, t, r, i) {
|
|
1996
|
-
|
|
2010
|
+
b.ownRoot((a) => {
|
|
1997
2011
|
let o = r.renderRoot;
|
|
1998
2012
|
r.addReleaseCallback(() => {
|
|
1999
2013
|
dt.unregister(o), o.textContent = "", a();
|
|
@@ -2032,21 +2046,21 @@ var O = class _UIComponent {
|
|
|
2032
2046
|
});
|
|
2033
2047
|
}
|
|
2034
2048
|
static define(e, t) {
|
|
2035
|
-
if (!
|
|
2036
|
-
|
|
2049
|
+
if (!y.isInstalled) {
|
|
2050
|
+
y.whenInstalled(() => void _UIComponent.define.call(this, e, t));
|
|
2037
2051
|
return;
|
|
2038
2052
|
}
|
|
2039
2053
|
let n = new ze(this.prototype.vocabulary, {
|
|
2040
2054
|
tag: e,
|
|
2041
2055
|
dictionary: t
|
|
2042
|
-
}), r = customElements.get(n.tag), i =
|
|
2056
|
+
}), r = customElements.get(n.tag), i = w.isEarly(r);
|
|
2043
2057
|
if (r && !i) return r;
|
|
2044
2058
|
_UIComponent.register.call(this, n);
|
|
2045
2059
|
let a = this.prototype.elementSetup.cssStates.filter((e) => !(camelCase(e) in this.prototype));
|
|
2046
2060
|
if (a.length) throw TypeError(`UIComponent.define(): <${n.tag}>'s elementSetup.cssStates names ${a.join(", ")}, which it has no attribute or member for; fix the name, or give the class that member`);
|
|
2047
2061
|
let o = _UIComponent.tagSetupFor(this, n);
|
|
2048
|
-
if (i) return
|
|
2049
|
-
let s =
|
|
2062
|
+
if (i) return w.attach(r, this.prototype.elementSetup.DOMElement, o), r;
|
|
2063
|
+
let s = w.subclassForTag(this.prototype.elementSetup.DOMElement, o);
|
|
2050
2064
|
return customElements.define(n.tag, s), s;
|
|
2051
2065
|
}
|
|
2052
2066
|
static tagSetupFor(e, t) {
|
|
@@ -2065,14 +2079,14 @@ var O = class _UIComponent {
|
|
|
2065
2079
|
}
|
|
2066
2080
|
static register(e) {
|
|
2067
2081
|
let { vocabulary: t } = this.prototype;
|
|
2068
|
-
_UIComponent.registry.definitions.set(e.tag, e), this.prototype.elementSetup.root && _UIComponent.rootTags.add(e.tag),
|
|
2082
|
+
_UIComponent.registry.definitions.set(e.tag, e), this.prototype.elementSetup.root && _UIComponent.rootTags.add(e.tag), D.define({
|
|
2069
2083
|
vocabulary: t,
|
|
2070
2084
|
tag: e.tag,
|
|
2071
2085
|
isAPart: this.prototype.elementSetup.isAPart,
|
|
2072
2086
|
isConditionalOwner: "isOwnerOf" in this.prototype
|
|
2073
2087
|
});
|
|
2074
|
-
let { runtime: n, words: r } =
|
|
2075
|
-
_UIComponent.registry.vocabularies.has(t) || !i && h || (_UIComponent.registry.vocabularies.add(t), i ? handOver() : n.load().then(handOver)),
|
|
2088
|
+
let { runtime: n, words: r } = y.settings, i = n.isLoaded, a = /* @__PURE__ */ __name((e, t) => _UIComponent.define.call(this, e, t), "define");
|
|
2089
|
+
_UIComponent.registry.vocabularies.has(t) || !i && h || (_UIComponent.registry.vocabularies.add(t), i ? handOver() : n.load().then(handOver)), b.installAttributeGetters(this.prototype, e.attributes.map(({ key: e, spec: t }) => ({
|
|
2076
2090
|
key: e,
|
|
2077
2091
|
name: t.name
|
|
2078
2092
|
})));
|
|
@@ -2088,14 +2102,14 @@ var O = class _UIComponent {
|
|
|
2088
2102
|
return this.prototype.vocabulary;
|
|
2089
2103
|
}
|
|
2090
2104
|
};
|
|
2091
|
-
|
|
2105
|
+
O = __decoratorStart(null), Wt = /* @__PURE__ */ new WeakMap(), Gt = /* @__PURE__ */ new WeakMap(), Kt = /* @__PURE__ */ new WeakMap(), qt = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap(), __decorateElement(O, 2, "sharedLink", Ht, k), __decorateElement(O, 1, "onFontSizeChanged", Vt, k), __decorateElement(O, 2, "sharedShadow", Bt, k), __decorateElement(O, 1, "onShadowChanged", zt, k), __decorateElement(O, 1, "onWidthsChanged", Rt, k), __decorateElement(O, 1, "onSharedWordsChanged", Lt, k), __decorateElement(O, 1, "onSharedLinkClick", It, k), __decorateElement(O, 1, "moveAndResize", Ft, k), __decorateElement(O, 4, "isConnected", Pt, k, Wt), __decorateElement(O, 4, "isReady", Nt, k, Gt), __decorateElement(O, 1, "onReadyChanged", Mt, k), __decorateElement(O, 1, "adoptStyleSheets", jt, k), __decorateElement(O, 2, "isMarkedDisabled", At, k), __decorateElement(O, 4, "formIsDisabled", kt, k, Kt), __decorateElement(O, 2, "isMarkedLoading", Ot, k), __decorateElement(O, 2, "showsLoader", Dt, k), __decorateElement(O, 2, "hasInertContent", Et, k), __decorateElement(O, 1, "onSharedStatesChanged", Tt, k), __decorateElement(O, 1, "onPlatformsChanged", wt, k), __decorateElement(O, 4, "isVisible", Ct, k, qt), __decorateElement(O, 2, "isHidden", St, k), __decorateElement(O, 4, "isHiding", xt, k, Jt), __decorateElement(O, 2, "animationToRun", bt, k), __decorateElement(O, 2, "isStill", yt, k), __decorateElement(O, 1, "onVisibleOrReadyChanged", vt, k), __decorateElement(O, 1, "onSlotChangeForParts", _t, k), __decorateElement(O, 13, "elementSetup", Ut, k), __decoratorMetadata(O, k), __name(k, "UIComponent"), __publicField(k, "elementSetup", __runInitializers(O, 28, k, {
|
|
2092
2106
|
styleSheets: {},
|
|
2093
2107
|
cssStates: [],
|
|
2094
2108
|
isAFormControl: !1,
|
|
2095
2109
|
delegatesFocus: !0,
|
|
2096
2110
|
slotAssignment: "named",
|
|
2097
2111
|
isAPart: !1,
|
|
2098
|
-
DOMElement:
|
|
2112
|
+
DOMElement: w,
|
|
2099
2113
|
Fallback: void 0,
|
|
2100
2114
|
canRenderUnstyled: !1,
|
|
2101
2115
|
root: !1,
|
|
@@ -2105,13 +2119,13 @@ D = __decoratorStart(null), Wt = /* @__PURE__ */ new WeakMap(), Gt = /* @__PURE_
|
|
|
2105
2119
|
link: "click",
|
|
2106
2120
|
visible: "shown",
|
|
2107
2121
|
get animation() {
|
|
2108
|
-
return
|
|
2122
|
+
return y.settings.motion.defaultAnimation;
|
|
2109
2123
|
}
|
|
2110
|
-
})), __runInitializers(
|
|
2124
|
+
})), __runInitializers(O, 31, k), __publicField(k, "rootTags", /* @__PURE__ */ new Set()), __publicField(k, "registry", {
|
|
2111
2125
|
definitions: /* @__PURE__ */ new Map(),
|
|
2112
2126
|
vocabularies: /* @__PURE__ */ new WeakSet()
|
|
2113
2127
|
});
|
|
2114
|
-
var Yt =
|
|
2128
|
+
var Yt = k, Xt = "ui-root", Zt = "link", Qt = "target", $t = "font", en = /^(\d+(?:\.\d+)?)(?:\/(\d+(?:\.\d+)?))?$/, tn = "font-size", nn = "--ui-font-size", rn = "--ui-line-height", an = "shadow", sn = "--_ui-shadow-color", cn = [
|
|
2115
2129
|
"width",
|
|
2116
2130
|
"min-width",
|
|
2117
2131
|
"max-width"
|
|
@@ -2170,7 +2184,7 @@ var bn = yn, xn = [state], Sn, Cn, wn = class _Disclosure {
|
|
|
2170
2184
|
let r = this.send(e ? En : Dn, e, t);
|
|
2171
2185
|
return r && n.beforeChange?.(e), r;
|
|
2172
2186
|
}, "announce"), { component: i, member: a, memberMeans: o } = n, s;
|
|
2173
|
-
if (i && a &&
|
|
2187
|
+
if (i && a && b.isControlled(i, a)) {
|
|
2174
2188
|
let t = o === "closed" ? !e : e;
|
|
2175
2189
|
s = i.requestChange(a, t, r);
|
|
2176
2190
|
} else s = r(), s && this.write(e);
|
|
@@ -2353,7 +2367,7 @@ var Nn = [
|
|
|
2353
2367
|
let t = this.root, n = t.getElementById(e);
|
|
2354
2368
|
if (!n) return !1;
|
|
2355
2369
|
let { attribute: r } = this, i = [...t.querySelectorAll(`${this.domElement.localName}[${r}]`)].filter((t) => t.getAttribute(r) === e && !n.contains(t)), a = [], o = [];
|
|
2356
|
-
for (let t of i) t.contains(n) ?
|
|
2370
|
+
for (let t of i) t.contains(n) ? y.settings.warn(ParentLink.source(t.localName, r, e), "it holds that element; it stays put") : t.compareDocumentPosition(n) & Node.DOCUMENT_POSITION_FOLLOWING ? a.push(t) : o.push(t);
|
|
2357
2371
|
return a.length && n.prepend(...a), o.length && n.append(...o), !0;
|
|
2358
2372
|
}
|
|
2359
2373
|
get root() {
|
|
@@ -2363,7 +2377,7 @@ var Nn = [
|
|
|
2363
2377
|
e.readyState === "loading" ? e.addEventListener("DOMContentLoaded", t, { once: !0 }) : afterSolidUpdate(t);
|
|
2364
2378
|
}
|
|
2365
2379
|
static warnMissing(e, t, n) {
|
|
2366
|
-
ParentLink.warned.has(e) || (ParentLink.warned.add(e),
|
|
2380
|
+
ParentLink.warned.has(e) || (ParentLink.warned.add(e), y.settings.warn(ParentLink.source(t, n, e), `no element has the id "${e}"; it stays where it is, and joins one if it arrives`));
|
|
2367
2381
|
}
|
|
2368
2382
|
static source(e, t, n) {
|
|
2369
2383
|
return `<${e} ${t}="${n}">`;
|
|
@@ -2505,9 +2519,9 @@ var Bn = class TopLayerTip {
|
|
|
2505
2519
|
let n = t.filter((t) => t !== e);
|
|
2506
2520
|
return this.pivot === e && (this.pivot = n.at(-1)), n;
|
|
2507
2521
|
}
|
|
2508
|
-
}, Wn, Gn, Kn, qn, Jn, Yn, Xn, Zn, Qn, $n, er = [proto],
|
|
2522
|
+
}, Wn, Gn, Kn, qn, Jn, Yn, Xn, Zn, Qn, $n, er = [proto], A;
|
|
2509
2523
|
$n = [proto], Qn = [proto], Zn = [proto], Xn = [proto], Yn = [proto], Jn = [proto], qn = [proto], Kn = [proto], Gn = [proto], Wn = [proto];
|
|
2510
|
-
var
|
|
2524
|
+
var j = class _ValueSets {
|
|
2511
2525
|
static get(e) {
|
|
2512
2526
|
return typeof e == "string" ? _ValueSets.prototype[e] ?? [] : e;
|
|
2513
2527
|
}
|
|
@@ -2565,7 +2579,7 @@ var A = class _ValueSets {
|
|
|
2565
2579
|
return _ValueSets.words;
|
|
2566
2580
|
}
|
|
2567
2581
|
};
|
|
2568
|
-
|
|
2582
|
+
A = __decoratorStart(null), __decorateElement(A, 13, "hues", er, j), __decorateElement(A, 13, "sizes", $n, j), __decorateElement(A, 13, "positions", Qn, j), __decorateElement(A, 13, "attachments", Zn, j), __decorateElement(A, 13, "alignments", Xn, j), __decorateElement(A, 13, "verticalAlignments", Yn, j), __decorateElement(A, 13, "floats", Jn, j), __decorateElement(A, 13, "widths", qn, j), __decorateElement(A, 13, "devices", Kn, j), __decorateElement(A, 13, "booleans", Gn, j), __decorateElement(A, 13, "topics", Wn, j), __decoratorMetadata(A, j), __name(j, "ValueSets"), __publicField(j, "hues", __runInitializers(A, 8, j, [
|
|
2569
2583
|
"primary",
|
|
2570
2584
|
"secondary",
|
|
2571
2585
|
"red",
|
|
@@ -2583,7 +2597,7 @@ k = __decoratorStart(null), __decorateElement(k, 13, "hues", er, A), __decorateE
|
|
|
2583
2597
|
"black",
|
|
2584
2598
|
"positive",
|
|
2585
2599
|
"negative"
|
|
2586
|
-
])), __runInitializers(
|
|
2600
|
+
])), __runInitializers(A, 11, j), __publicField(j, "sizes", __runInitializers(A, 12, j, [
|
|
2587
2601
|
"mini",
|
|
2588
2602
|
"tiny",
|
|
2589
2603
|
"small",
|
|
@@ -2592,7 +2606,7 @@ k = __decoratorStart(null), __decorateElement(k, 13, "hues", er, A), __decorateE
|
|
|
2592
2606
|
"big",
|
|
2593
2607
|
"huge",
|
|
2594
2608
|
"massive"
|
|
2595
|
-
])), __runInitializers(
|
|
2609
|
+
])), __runInitializers(A, 15, j), __publicField(j, "positions", __runInitializers(A, 16, j, [
|
|
2596
2610
|
"top left",
|
|
2597
2611
|
"top center",
|
|
2598
2612
|
"top right",
|
|
@@ -2605,7 +2619,7 @@ k = __decoratorStart(null), __decorateElement(k, 13, "hues", er, A), __decorateE
|
|
|
2605
2619
|
"left bottom",
|
|
2606
2620
|
"right top",
|
|
2607
2621
|
"right bottom"
|
|
2608
|
-
])), __runInitializers(
|
|
2622
|
+
])), __runInitializers(A, 19, j), __publicField(j, "attachments", __runInitializers(A, 20, j, [
|
|
2609
2623
|
"top",
|
|
2610
2624
|
"bottom",
|
|
2611
2625
|
"left",
|
|
@@ -2614,16 +2628,16 @@ k = __decoratorStart(null), __decorateElement(k, 13, "hues", er, A), __decorateE
|
|
|
2614
2628
|
"top right",
|
|
2615
2629
|
"bottom left",
|
|
2616
2630
|
"bottom right"
|
|
2617
|
-
])), __runInitializers(
|
|
2631
|
+
])), __runInitializers(A, 23, j), __publicField(j, "alignments", __runInitializers(A, 24, j, [
|
|
2618
2632
|
"left",
|
|
2619
2633
|
"center",
|
|
2620
2634
|
"right",
|
|
2621
2635
|
"justified"
|
|
2622
|
-
])), __runInitializers(
|
|
2636
|
+
])), __runInitializers(A, 27, j), __publicField(j, "verticalAlignments", __runInitializers(A, 28, j, [
|
|
2623
2637
|
"top",
|
|
2624
2638
|
"middle",
|
|
2625
2639
|
"bottom"
|
|
2626
|
-
])), __runInitializers(
|
|
2640
|
+
])), __runInitializers(A, 31, j), __publicField(j, "floats", __runInitializers(A, 32, j, ["left", "right"])), __runInitializers(A, 35, j), __publicField(j, "widths", __runInitializers(A, 36, j, [
|
|
2627
2641
|
"1",
|
|
2628
2642
|
"2",
|
|
2629
2643
|
"3",
|
|
@@ -2640,18 +2654,18 @@ k = __decoratorStart(null), __decorateElement(k, 13, "hues", er, A), __decorateE
|
|
|
2640
2654
|
"14",
|
|
2641
2655
|
"15",
|
|
2642
2656
|
"16"
|
|
2643
|
-
])), __runInitializers(
|
|
2657
|
+
])), __runInitializers(A, 39, j), __publicField(j, "devices", __runInitializers(A, 40, j, [
|
|
2644
2658
|
"mobile",
|
|
2645
2659
|
"tablet",
|
|
2646
2660
|
"computer",
|
|
2647
2661
|
"large screen",
|
|
2648
2662
|
"widescreen"
|
|
2649
|
-
])), __runInitializers(
|
|
2663
|
+
])), __runInitializers(A, 43, j), __publicField(j, "booleans", __runInitializers(A, 44, j, [
|
|
2650
2664
|
"true",
|
|
2651
2665
|
"false",
|
|
2652
2666
|
"yes",
|
|
2653
2667
|
"no"
|
|
2654
|
-
])), __runInitializers(
|
|
2668
|
+
])), __runInitializers(A, 47, j), __publicField(j, "topics", __runInitializers(A, 48, j, /* @__PURE__ */ "basic.layout.containers.navigation.menus.forms.inputs.controls.buttons.selection.date & time.text.typography.media.images.icons.data display.lists.tables.cards.feedback.messages.notifications.overlays.dialogs.popups.loading.progress.status.animation.social.content parts.documentation.elements.collections.views.modules".split("."))), __runInitializers(A, 51, j), __publicField(j, "iconsBySet", {
|
|
2655
2669
|
alignments: {
|
|
2656
2670
|
left: "align left",
|
|
2657
2671
|
center: "align center",
|
|
@@ -2673,15 +2687,15 @@ k = __decoratorStart(null), __decorateElement(k, 13, "hues", er, A), __decorateE
|
|
|
2673
2687
|
left: "caret left",
|
|
2674
2688
|
right: "caret right"
|
|
2675
2689
|
}
|
|
2676
|
-
}), __publicField(
|
|
2677
|
-
var
|
|
2690
|
+
}), __publicField(j, "sets", /* @__PURE__ */ new WeakMap()), __publicField(j, "words");
|
|
2691
|
+
var M = j, tr = 16, nr = {
|
|
2678
2692
|
color: "hues",
|
|
2679
2693
|
size: "sizes",
|
|
2680
2694
|
textAlign: "alignments",
|
|
2681
2695
|
verticalAlign: "verticalAlignments",
|
|
2682
2696
|
multiple: "devices",
|
|
2683
2697
|
boolean: "booleans"
|
|
2684
|
-
}, rr = /^(\d+(?:\.\d+)?)\s*\/\s*(\d+(?:\.\d+)?)$/, ir = /^(\d+(?:\.\d+)?)\s*%$/, ar = /^\d+(?:\.\d+)?$/,
|
|
2698
|
+
}, rr = /^(\d+(?:\.\d+)?)\s*\/\s*(\d+(?:\.\d+)?)$/, ir = /^(\d+(?:\.\d+)?)\s*%$/, ar = /^\d+(?:\.\d+)?$/, N = class Converters {
|
|
2685
2699
|
static boolean(e, t) {
|
|
2686
2700
|
if (e == null) return !1;
|
|
2687
2701
|
if (typeof e == "boolean") return e;
|
|
@@ -2706,9 +2720,9 @@ var j = A, tr = 16, nr = {
|
|
|
2706
2720
|
static enumValue(e, t, n = {}) {
|
|
2707
2721
|
if (e == null) return;
|
|
2708
2722
|
let r = e.trim().toLowerCase().replace(ur, " ");
|
|
2709
|
-
if (
|
|
2723
|
+
if (M.has(t, r)) return r;
|
|
2710
2724
|
if (r === "") return;
|
|
2711
|
-
let i =
|
|
2725
|
+
let i = M.suggest(t, r), a = n.tag ? `<${n.tag} ${n.attribute ?? ""}>` : n.attribute ?? "value";
|
|
2712
2726
|
Warnings.devWarn(a, `unknown value ${JSON.stringify(e)}${i ? `; did you mean ${JSON.stringify(i)}?` : ""}`);
|
|
2713
2727
|
}
|
|
2714
2728
|
static number(e) {
|
|
@@ -2739,120 +2753,120 @@ var j = A, tr = 16, nr = {
|
|
|
2739
2753
|
"true",
|
|
2740
2754
|
"yes"
|
|
2741
2755
|
]), sr = /* @__PURE__ */ new Set(["false", "no"]), cr = /* @__PURE__ */ new Set([...sr, "0"]), lr = /[\s,]+/, ur = /\s+/g, dr = "[{\"", fr = /* @__PURE__ */ e({
|
|
2742
|
-
ACTIVE: () =>
|
|
2743
|
-
ANIMATING: () =>
|
|
2744
|
-
APPEARANCE: () =>
|
|
2745
|
-
AnimationLookup: () =>
|
|
2746
|
-
Animations: () =>
|
|
2747
|
-
AttentionAnimations: () =>
|
|
2756
|
+
ACTIVE: () => gi,
|
|
2757
|
+
ANIMATING: () => yi,
|
|
2758
|
+
APPEARANCE: () => Ei,
|
|
2759
|
+
AnimationLookup: () => Xr,
|
|
2760
|
+
Animations: () => Ur,
|
|
2761
|
+
AttentionAnimations: () => Vr,
|
|
2748
2762
|
BAR: () => "bar",
|
|
2749
|
-
BASIC: () =>
|
|
2750
|
-
BOTTOM: () =>
|
|
2751
|
-
BUTTON: () =>
|
|
2763
|
+
BASIC: () => Fi,
|
|
2764
|
+
BOTTOM: () => hi,
|
|
2765
|
+
BUTTON: () => Si,
|
|
2752
2766
|
BreadcrumbDividerTokens: () => kr,
|
|
2753
|
-
CLOSE: () =>
|
|
2754
|
-
CLOSE_CLASS: () =>
|
|
2755
|
-
CLOSE_ICON: () =>
|
|
2767
|
+
CLOSE: () => pi,
|
|
2768
|
+
CLOSE_CLASS: () => Li,
|
|
2769
|
+
CLOSE_ICON: () => Ri,
|
|
2756
2770
|
CLOSE_TEXT: () => "×",
|
|
2757
|
-
CODE_SPAN: () =>
|
|
2771
|
+
CODE_SPAN: () => la,
|
|
2758
2772
|
COLOR_CLASS_PREFIX: () => "ui-",
|
|
2759
|
-
CONTENT: () =>
|
|
2760
|
-
DEFAULT_ANIMATION: () =>
|
|
2761
|
-
DESCRIPTION: () =>
|
|
2762
|
-
DIGITS: () =>
|
|
2763
|
-
DISABLED: () =>
|
|
2764
|
-
DISABLED_STATE: () =>
|
|
2773
|
+
CONTENT: () => Ci,
|
|
2774
|
+
DEFAULT_ANIMATION: () => Jr,
|
|
2775
|
+
DESCRIPTION: () => Di,
|
|
2776
|
+
DIGITS: () => Ui,
|
|
2777
|
+
DISABLED: () => _i,
|
|
2778
|
+
DISABLED_STATE: () => di,
|
|
2765
2779
|
FIELD_HOST_STATE: () => Mr,
|
|
2766
|
-
FLUID: () =>
|
|
2780
|
+
FLUID: () => Ii,
|
|
2767
2781
|
Flags: () => pr,
|
|
2768
|
-
FontFaces: () =>
|
|
2769
|
-
FontFamilies: () =>
|
|
2770
|
-
FontWords: () =>
|
|
2771
|
-
FormControlAttributes: () =>
|
|
2772
|
-
FormControlStates: () =>
|
|
2773
|
-
FormStates: () =>
|
|
2782
|
+
FontFaces: () => Gr,
|
|
2783
|
+
FontFamilies: () => Kr,
|
|
2784
|
+
FontWords: () => qr,
|
|
2785
|
+
FormControlAttributes: () => Wi,
|
|
2786
|
+
FormControlStates: () => Gi,
|
|
2787
|
+
FormStates: () => Bi,
|
|
2774
2788
|
GRID_CONTAINER_NAME: () => Sr,
|
|
2775
|
-
HEADER: () =>
|
|
2776
|
-
HEADING: () =>
|
|
2789
|
+
HEADER: () => wi,
|
|
2790
|
+
HEADING: () => Ti,
|
|
2777
2791
|
HeadingLevels: () => HeadingLevels,
|
|
2778
|
-
ICON: () =>
|
|
2779
|
-
ICON_CLASS: () =>
|
|
2780
|
-
IMAGE: () =>
|
|
2792
|
+
ICON: () => Oi,
|
|
2793
|
+
ICON_CLASS: () => ki,
|
|
2794
|
+
IMAGE: () => Ai,
|
|
2781
2795
|
IN: () => "in",
|
|
2782
|
-
ITEM: () =>
|
|
2796
|
+
ITEM: () => ji,
|
|
2783
2797
|
InputOwnerTokens: () => jr,
|
|
2784
2798
|
ItemAlignments: () => Or,
|
|
2785
|
-
Key: () =>
|
|
2786
|
-
LABEL: () =>
|
|
2787
|
-
LEFT: () =>
|
|
2788
|
-
MESSAGE: () =>
|
|
2789
|
-
MOTION_PROPERTY: () =>
|
|
2799
|
+
Key: () => ui,
|
|
2800
|
+
LABEL: () => Mi,
|
|
2801
|
+
LEFT: () => mi,
|
|
2802
|
+
MESSAGE: () => Ni,
|
|
2803
|
+
MOTION_PROPERTY: () => Yr,
|
|
2790
2804
|
MenuAppearances: () => Dr,
|
|
2791
|
-
ModalActionSelectors: () =>
|
|
2805
|
+
ModalActionSelectors: () => Rr,
|
|
2792
2806
|
ModalActions: () => ModalActions,
|
|
2793
|
-
NO_ANIMATION: () =>
|
|
2794
|
-
ORDERED: () =>
|
|
2807
|
+
NO_ANIMATION: () => Hr,
|
|
2808
|
+
ORDERED: () => fi,
|
|
2795
2809
|
OUT: () => "out",
|
|
2796
2810
|
PART_STATIC_CLASS_PREFIX: () => "in-",
|
|
2797
2811
|
PLACEHOLDER_HOST_STATE: () => Ar,
|
|
2798
|
-
PUSHABLE_HOST_STATE: () =>
|
|
2799
|
-
PUSHER_HOST_STATE: () =>
|
|
2812
|
+
PUSHABLE_HOST_STATE: () => ni,
|
|
2813
|
+
PUSHER_HOST_STATE: () => ei,
|
|
2800
2814
|
PartOwnerTokens: () => yr,
|
|
2801
|
-
PopupTrigger: () =>
|
|
2802
|
-
PopupTriggers: () =>
|
|
2803
|
-
PosterSizes: () =>
|
|
2804
|
-
PusherTokens: () =>
|
|
2805
|
-
REQUIRED_RULE: () =>
|
|
2806
|
-
SELECTED: () =>
|
|
2807
|
-
SIDEBAR_HOST_STATE: () =>
|
|
2808
|
-
SIDE_HOST_STATE: () =>
|
|
2815
|
+
PopupTrigger: () => Ir,
|
|
2816
|
+
PopupTriggers: () => Lr,
|
|
2817
|
+
PosterSizes: () => Wr,
|
|
2818
|
+
PusherTokens: () => ri,
|
|
2819
|
+
REQUIRED_RULE: () => Vi,
|
|
2820
|
+
SELECTED: () => vi,
|
|
2821
|
+
SIDEBAR_HOST_STATE: () => ti,
|
|
2822
|
+
SIDE_HOST_STATE: () => ci,
|
|
2809
2823
|
STACK_WITH_CLASS: () => Tr,
|
|
2810
2824
|
STACK_WITH_TOKEN: () => wr,
|
|
2811
2825
|
STATIC_CONTROL: () => br,
|
|
2812
2826
|
STATIC_ROOT: () => xr,
|
|
2813
2827
|
SearchMatch: () => P,
|
|
2814
|
-
SearchMatches: () =>
|
|
2815
|
-
SectionTitle: () =>
|
|
2816
|
-
ShapeCommands: () =>
|
|
2817
|
-
ShapeFlips: () =>
|
|
2818
|
-
SourceAttributes: () =>
|
|
2819
|
-
SourceBodyAttributes: () =>
|
|
2820
|
-
SourceBodyEvents: () =>
|
|
2821
|
-
SourceBodyParts: () =>
|
|
2822
|
-
SourceBodyStates: () =>
|
|
2823
|
-
SourceEvents: () =>
|
|
2824
|
-
SourceFailureTexts: () =>
|
|
2825
|
-
SourceLoadModes: () =>
|
|
2826
|
-
SourceParts: () =>
|
|
2827
|
-
SourceStates: () =>
|
|
2828
|
-
SourceTexts: () =>
|
|
2828
|
+
SearchMatches: () => zr,
|
|
2829
|
+
SectionTitle: () => li,
|
|
2830
|
+
ShapeCommands: () => si,
|
|
2831
|
+
ShapeFlips: () => oi,
|
|
2832
|
+
SourceAttributes: () => qi,
|
|
2833
|
+
SourceBodyAttributes: () => $i,
|
|
2834
|
+
SourceBodyEvents: () => ea,
|
|
2835
|
+
SourceBodyParts: () => ta,
|
|
2836
|
+
SourceBodyStates: () => na,
|
|
2837
|
+
SourceEvents: () => Ji,
|
|
2838
|
+
SourceFailureTexts: () => Zi,
|
|
2839
|
+
SourceLoadModes: () => Ki,
|
|
2840
|
+
SourceParts: () => Yi,
|
|
2841
|
+
SourceStates: () => Xi,
|
|
2842
|
+
SourceTexts: () => Qi,
|
|
2829
2843
|
SpaceSteps: () => Er,
|
|
2830
2844
|
SpecialFlags: () => mr,
|
|
2831
2845
|
StackClasses: () => StackClasses,
|
|
2832
2846
|
StackWithValues: () => Cr,
|
|
2833
2847
|
TABLE_SORT_KEY: () => Fr,
|
|
2834
2848
|
TABLE_SORT_OPT_OUT: () => Pr,
|
|
2835
|
-
TEXT: () =>
|
|
2836
|
-
THEME_APPLIED_EVENT: () =>
|
|
2849
|
+
TEXT: () => Pi,
|
|
2850
|
+
THEME_APPLIED_EVENT: () => ca,
|
|
2837
2851
|
TICK_PATH: () => vr,
|
|
2838
|
-
TITLE: () =>
|
|
2852
|
+
TITLE: () => xi,
|
|
2839
2853
|
TOP: () => "top",
|
|
2840
2854
|
TableCellTypes: () => Nr,
|
|
2841
|
-
ThemeCorners: () =>
|
|
2842
|
-
ThemeDepths: () =>
|
|
2843
|
-
ThemeFonts: () =>
|
|
2844
|
-
ThemeGlasses: () =>
|
|
2845
|
-
ThemeHues: () =>
|
|
2855
|
+
ThemeCorners: () => aa,
|
|
2856
|
+
ThemeDepths: () => oa,
|
|
2857
|
+
ThemeFonts: () => ia,
|
|
2858
|
+
ThemeGlasses: () => sa,
|
|
2859
|
+
ThemeHues: () => ra,
|
|
2846
2860
|
ThemeNames: () => ThemeNames,
|
|
2847
|
-
TocMarks: () =>
|
|
2848
|
-
ToggleCommands: () =>
|
|
2849
|
-
TransitionCommands: () =>
|
|
2850
|
-
VISIBLE: () =>
|
|
2851
|
-
VISUALLY_HIDDEN: () =>
|
|
2852
|
-
VisibilityAnimations: () =>
|
|
2853
|
-
WHITESPACE: () =>
|
|
2861
|
+
TocMarks: () => ua,
|
|
2862
|
+
ToggleCommands: () => $r,
|
|
2863
|
+
TransitionCommands: () => Qr,
|
|
2864
|
+
VISIBLE: () => bi,
|
|
2865
|
+
VISUALLY_HIDDEN: () => zi,
|
|
2866
|
+
VisibilityAnimations: () => Br,
|
|
2867
|
+
WHITESPACE: () => Hi,
|
|
2854
2868
|
WordWidthClasses: () => WordWidthClasses,
|
|
2855
|
-
WordWidths: () =>
|
|
2869
|
+
WordWidths: () => ii
|
|
2856
2870
|
}), pr = class Flags {
|
|
2857
2871
|
static emojiFor(e) {
|
|
2858
2872
|
let t = e.toLowerCase();
|
|
@@ -2933,23 +2947,23 @@ var j = A, tr = 16, nr = {
|
|
|
2933
2947
|
], Pr = {
|
|
2934
2948
|
attribute: "data-sortable",
|
|
2935
2949
|
value: "false"
|
|
2936
|
-
}, Fr = "data-key",
|
|
2950
|
+
}, Fr = "data-key", Ir = {
|
|
2937
2951
|
hover: "hover",
|
|
2938
2952
|
focus: "focus",
|
|
2939
2953
|
click: "click",
|
|
2940
2954
|
manual: "manual"
|
|
2941
|
-
},
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
],
|
|
2955
|
+
}, Lr = [
|
|
2956
|
+
Ir.hover,
|
|
2957
|
+
Ir.focus,
|
|
2958
|
+
Ir.click,
|
|
2959
|
+
Ir.manual
|
|
2960
|
+
], Rr = {
|
|
2947
2961
|
approve: ".approve, .ok, .positive, [color=\"positive\"], [positive]:not([positive=\"false\"], [positive=\"no\"])",
|
|
2948
2962
|
deny: ".deny, .cancel, .negative, [color=\"negative\"], [negative]:not([negative=\"false\"], [negative=\"no\"])"
|
|
2949
2963
|
}, ModalActions = class {
|
|
2950
2964
|
static of(e) {
|
|
2951
|
-
if (e.matches(
|
|
2952
|
-
if (e.matches(
|
|
2965
|
+
if (e.matches(Rr.approve)) return "approve";
|
|
2966
|
+
if (e.matches(Rr.deny)) return "deny";
|
|
2953
2967
|
}
|
|
2954
2968
|
static *lightPath(e, t) {
|
|
2955
2969
|
let n = t.getRootNode();
|
|
@@ -2965,13 +2979,13 @@ var j = A, tr = 16, nr = {
|
|
|
2965
2979
|
prefix: "prefix",
|
|
2966
2980
|
some: "some",
|
|
2967
2981
|
all: "all"
|
|
2968
|
-
},
|
|
2982
|
+
}, zr = [
|
|
2969
2983
|
P.exact,
|
|
2970
2984
|
P.fuzzy,
|
|
2971
2985
|
P.prefix,
|
|
2972
2986
|
P.some,
|
|
2973
2987
|
P.all
|
|
2974
|
-
],
|
|
2988
|
+
], Br = /* @__PURE__ */ "fade.fade up.fade down.fade left.fade right.scale.zoom.drop.browse.browse right.fly.fly up.fly down.fly left.fly right.slide.slide up.slide down.slide left.slide right.swing.swing up.swing down.swing left.swing right.horizontal flip.vertical flip".split("."), Vr = [
|
|
2975
2989
|
"flash",
|
|
2976
2990
|
"shake",
|
|
2977
2991
|
"bounce",
|
|
@@ -2980,11 +2994,11 @@ var j = A, tr = 16, nr = {
|
|
|
2980
2994
|
"jiggle",
|
|
2981
2995
|
"glow",
|
|
2982
2996
|
"coin"
|
|
2983
|
-
],
|
|
2984
|
-
...zr,
|
|
2997
|
+
], Hr = "none", Ur = [
|
|
2985
2998
|
...Br,
|
|
2986
|
-
Vr
|
|
2987
|
-
|
|
2999
|
+
...Vr,
|
|
3000
|
+
Hr
|
|
3001
|
+
], Wr = [
|
|
2988
3002
|
"mini",
|
|
2989
3003
|
"tiny",
|
|
2990
3004
|
"small",
|
|
@@ -2994,7 +3008,7 @@ var j = A, tr = 16, nr = {
|
|
|
2994
3008
|
"huge",
|
|
2995
3009
|
"massive",
|
|
2996
3010
|
"poster"
|
|
2997
|
-
],
|
|
3011
|
+
], Gr = [
|
|
2998
3012
|
"bold",
|
|
2999
3013
|
"heavy",
|
|
3000
3014
|
"italic",
|
|
@@ -3006,37 +3020,37 @@ var j = A, tr = 16, nr = {
|
|
|
3006
3020
|
"superscript",
|
|
3007
3021
|
"all-caps",
|
|
3008
3022
|
"title-caps"
|
|
3009
|
-
],
|
|
3023
|
+
], Kr = [
|
|
3010
3024
|
"headline",
|
|
3011
3025
|
"subhead",
|
|
3012
3026
|
"serif",
|
|
3013
3027
|
"sans-serif",
|
|
3014
3028
|
"typewriter"
|
|
3015
|
-
],
|
|
3029
|
+
], qr = [...Gr, ...Kr], Jr = "fade", Yr = "--ui-motion", Xr = class AnimationLookup {
|
|
3016
3030
|
static fomanticNameFor(e) {
|
|
3017
3031
|
let t = e.trim().replace(/\s+/g, " ");
|
|
3018
|
-
return
|
|
3032
|
+
return Ur.includes(t) ? t : Ur.find((e) => AnimationLookup.runtimeNameFor(e) === t);
|
|
3019
3033
|
}
|
|
3020
3034
|
static runtimeNameFor(e) {
|
|
3021
|
-
return
|
|
3035
|
+
return Zr[e] ?? e.replace(/ /g, "-");
|
|
3022
3036
|
}
|
|
3023
3037
|
static isAttention(e) {
|
|
3024
|
-
return
|
|
3038
|
+
return Vr.includes(e);
|
|
3025
3039
|
}
|
|
3026
3040
|
static keyframesBeside(e, t) {
|
|
3027
3041
|
if (e !== "none" && e !== t) return AnimationLookup.isAttention(e) ? void 0 : AnimationLookup.runtimeNameFor(e);
|
|
3028
3042
|
}
|
|
3029
|
-
},
|
|
3043
|
+
}, Zr = {
|
|
3030
3044
|
"horizontal flip": "flip-horizontal",
|
|
3031
3045
|
"vertical flip": "flip-vertical",
|
|
3032
3046
|
slide: "slide-down",
|
|
3033
3047
|
swing: "swing-down"
|
|
3034
|
-
},
|
|
3048
|
+
}, Qr = {
|
|
3035
3049
|
show: "--show",
|
|
3036
3050
|
close: "--close",
|
|
3037
3051
|
toggle: "--toggle",
|
|
3038
3052
|
transition: "--transition"
|
|
3039
|
-
},
|
|
3053
|
+
}, $r = class ToggleCommands {
|
|
3040
3054
|
static show = "--show";
|
|
3041
3055
|
static close = "--close";
|
|
3042
3056
|
static toggle = "--toggle";
|
|
@@ -3045,38 +3059,38 @@ var j = A, tr = 16, nr = {
|
|
|
3045
3059
|
if (n === ToggleCommands.show || n === ToggleCommands.toggle && !t) return "show";
|
|
3046
3060
|
if (n === ToggleCommands.close || n === ToggleCommands.toggle) return "close";
|
|
3047
3061
|
}
|
|
3048
|
-
},
|
|
3062
|
+
}, ei = "pusher", ti = "sidebar", ni = "pushable", ri = {
|
|
3049
3063
|
transform: "--_ui-pusher-transform",
|
|
3050
3064
|
origin: "--_ui-pusher-origin",
|
|
3051
3065
|
dimmed: "--_ui-pusher-dimmed",
|
|
3052
3066
|
blurring: "--_ui-pusher-blurring"
|
|
3053
|
-
},
|
|
3067
|
+
}, ii = [
|
|
3054
3068
|
"very thin",
|
|
3055
3069
|
"thin",
|
|
3056
3070
|
"wide",
|
|
3057
3071
|
"very wide"
|
|
3058
3072
|
], WordWidthClasses = class {
|
|
3059
3073
|
static classFor(e) {
|
|
3060
|
-
let t = typeof e == "string" ? e.trim().replace(
|
|
3061
|
-
return
|
|
3074
|
+
let t = typeof e == "string" ? e.trim().replace(ai, " ") : void 0;
|
|
3075
|
+
return ii.find((e) => e === t);
|
|
3062
3076
|
}
|
|
3063
|
-
},
|
|
3077
|
+
}, ai = /[\s-]+/g, oi = [
|
|
3064
3078
|
"up",
|
|
3065
3079
|
"down",
|
|
3066
3080
|
"left",
|
|
3067
3081
|
"right",
|
|
3068
3082
|
"over",
|
|
3069
3083
|
"back"
|
|
3070
|
-
],
|
|
3084
|
+
], si = {
|
|
3071
3085
|
next: "--next",
|
|
3072
3086
|
previous: "--previous",
|
|
3073
3087
|
flip: "--flip-"
|
|
3074
|
-
},
|
|
3088
|
+
}, ci = "side", li = { textOf(e) {
|
|
3075
3089
|
let t = e.getAttribute("label");
|
|
3076
3090
|
if (t) return t;
|
|
3077
3091
|
let n = [...e.children].find((e) => e.getAttribute("slot") === "label");
|
|
3078
3092
|
return n ? n.textContent ?? void 0 : void 0;
|
|
3079
|
-
} },
|
|
3093
|
+
} }, ui = {
|
|
3080
3094
|
arrowUp: "ArrowUp",
|
|
3081
3095
|
arrowDown: "ArrowDown",
|
|
3082
3096
|
arrowLeft: "ArrowLeft",
|
|
@@ -3091,12 +3105,12 @@ var j = A, tr = 16, nr = {
|
|
|
3091
3105
|
tab: "Tab",
|
|
3092
3106
|
backspace: "Backspace",
|
|
3093
3107
|
delete: "Delete"
|
|
3094
|
-
},
|
|
3108
|
+
}, di = ":state(disabled)", fi = "ordered", pi = "close", mi = "left", hi = "bottom", gi = "active", _i = "disabled", vi = "selected", yi = "animating", bi = "visible", xi = "title", Si = "button", Ci = "content", wi = "header", Ti = "heading", Ei = "appearance", Di = "description", Oi = "icon", ki = "icon", Ai = "image", ji = "item", Mi = "label", Ni = "message", Pi = "text", Fi = "basic", Ii = "fluid", Li = "close icon", Ri = "xmark", zi = "ui-visually-hidden-force", Bi = [
|
|
3095
3109
|
"error",
|
|
3096
3110
|
"info",
|
|
3097
3111
|
"success",
|
|
3098
3112
|
"warning"
|
|
3099
|
-
],
|
|
3113
|
+
], Vi = "notEmpty", Hi = /\s+/, Ui = /^\d+(\.\d+)?$/, Wi = {
|
|
3100
3114
|
name: {
|
|
3101
3115
|
name: "name",
|
|
3102
3116
|
group: "name",
|
|
@@ -3129,7 +3143,7 @@ var j = A, tr = 16, nr = {
|
|
|
3129
3143
|
kind: "string",
|
|
3130
3144
|
description: "Keep the value in the page's address, as this query parameter (`parameter=\"s\"` => `?s=van+gogh`): each change it settles on is a new history entry, so Back and Forward step through them, and a page opened on the address starts with that value. Other parameters are kept; an empty value takes its own out."
|
|
3131
3145
|
}
|
|
3132
|
-
},
|
|
3146
|
+
}, Gi = {
|
|
3133
3147
|
readonly: {
|
|
3134
3148
|
name: "readonly",
|
|
3135
3149
|
description: "`readonly`: can't be changed."
|
|
@@ -3138,21 +3152,21 @@ var j = A, tr = 16, nr = {
|
|
|
3138
3152
|
name: "invalid",
|
|
3139
3153
|
description: "Fails validation, once a person has interacted (`:user-invalid` semantics)."
|
|
3140
3154
|
}
|
|
3141
|
-
},
|
|
3155
|
+
}, Ki = [
|
|
3142
3156
|
"eager",
|
|
3143
3157
|
"visible",
|
|
3144
3158
|
"idle"
|
|
3145
|
-
],
|
|
3159
|
+
], qi = [{
|
|
3146
3160
|
name: "source",
|
|
3147
3161
|
kind: "string",
|
|
3148
3162
|
description: "URL of the file to show, relative to the page; same origin only (another site's URL shows an error). Changing it loads the new file. Without it, the element shows its own content."
|
|
3149
3163
|
}, {
|
|
3150
3164
|
name: "load",
|
|
3151
3165
|
kind: "enum",
|
|
3152
|
-
values:
|
|
3166
|
+
values: Ki,
|
|
3153
3167
|
default: "eager",
|
|
3154
3168
|
description: "When to fetch `source`: `eager` (at once), `visible` (once scrolled into view) or `idle` (when the browser has nothing else to do). Like Astro's `client:visible` / `client:idle`."
|
|
3155
|
-
}],
|
|
3169
|
+
}], Ji = [
|
|
3156
3170
|
{
|
|
3157
3171
|
name: "ui-loaded",
|
|
3158
3172
|
detail: "{ source?: string, content: string }",
|
|
@@ -3180,13 +3194,13 @@ var j = A, tr = 16, nr = {
|
|
|
3180
3194
|
cancelable: !0,
|
|
3181
3195
|
description: "Loading, showing or saving failed; `kind` says why. Load and render failures show an error message unless cancelled; save failures keep the content as it is."
|
|
3182
3196
|
}
|
|
3183
|
-
],
|
|
3197
|
+
], Yi = [{
|
|
3184
3198
|
name: "loader",
|
|
3185
3199
|
description: "The `<ui-loader>` shown while `source` loads."
|
|
3186
3200
|
}, {
|
|
3187
3201
|
name: "error",
|
|
3188
3202
|
description: "The `<ui-message>` shown when loading or showing failed."
|
|
3189
|
-
}],
|
|
3203
|
+
}], Xi = [
|
|
3190
3204
|
{
|
|
3191
3205
|
name: "loading",
|
|
3192
3206
|
description: "Fetching `source`."
|
|
@@ -3203,7 +3217,7 @@ var j = A, tr = 16, nr = {
|
|
|
3203
3217
|
name: "dirty",
|
|
3204
3218
|
description: "`content` changed since it was loaded or saved."
|
|
3205
3219
|
}
|
|
3206
|
-
],
|
|
3220
|
+
], Zi = [
|
|
3207
3221
|
{
|
|
3208
3222
|
key: "sourceLoadError",
|
|
3209
3223
|
text: "Couldn't load {source}.",
|
|
@@ -3224,11 +3238,11 @@ var j = A, tr = 16, nr = {
|
|
|
3224
3238
|
text: "Couldn't show {source}.",
|
|
3225
3239
|
description: "The text arrived, but couldn't be shown."
|
|
3226
3240
|
}
|
|
3227
|
-
],
|
|
3241
|
+
], Qi = [{
|
|
3228
3242
|
key: "sourceLoading",
|
|
3229
3243
|
text: "Loading {source}",
|
|
3230
3244
|
description: "Accessible name of the loader."
|
|
3231
|
-
}, ...
|
|
3245
|
+
}, ...Zi], $i = [{
|
|
3232
3246
|
name: "source",
|
|
3233
3247
|
kind: "string",
|
|
3234
3248
|
description: "URL of an HTML file whose `<body>` is the content, fetched the first time it opens (at once when it starts open); same origin only. Any content already there is a placeholder the file replaces. `load()` fetches it now, `reload()` again."
|
|
@@ -3237,7 +3251,7 @@ var j = A, tr = 16, nr = {
|
|
|
3237
3251
|
kind: "string",
|
|
3238
3252
|
replaces: ["select"],
|
|
3239
3253
|
description: "With `source`: a CSS selector; only its first match in the file becomes the content. Its old name was `select`."
|
|
3240
|
-
}],
|
|
3254
|
+
}], ea = [
|
|
3241
3255
|
{
|
|
3242
3256
|
name: "ui-loading",
|
|
3243
3257
|
detail: "{ source: string }",
|
|
@@ -3254,16 +3268,16 @@ var j = A, tr = 16, nr = {
|
|
|
3254
3268
|
cancelable: !0,
|
|
3255
3269
|
description: "The `source` file couldn't be loaded or shown; `kind` says why. An error line shows in the content unless cancelled; opening it again tries again."
|
|
3256
3270
|
}
|
|
3257
|
-
],
|
|
3271
|
+
], ta = [{
|
|
3258
3272
|
name: "error",
|
|
3259
3273
|
description: "With `source`: the line saying the file couldn't be loaded."
|
|
3260
|
-
}],
|
|
3274
|
+
}], na = [{
|
|
3261
3275
|
name: "loaded",
|
|
3262
3276
|
description: "With `source`: the file's body is in place."
|
|
3263
3277
|
}, {
|
|
3264
3278
|
name: "error",
|
|
3265
3279
|
description: "With `source`: the file couldn't be loaded or shown."
|
|
3266
|
-
}],
|
|
3280
|
+
}], ra = [
|
|
3267
3281
|
"red",
|
|
3268
3282
|
"orange",
|
|
3269
3283
|
"yellow",
|
|
@@ -3277,7 +3291,7 @@ var j = A, tr = 16, nr = {
|
|
|
3277
3291
|
"brown",
|
|
3278
3292
|
"grey",
|
|
3279
3293
|
"black"
|
|
3280
|
-
],
|
|
3294
|
+
], ia = [
|
|
3281
3295
|
"system",
|
|
3282
3296
|
"rounded",
|
|
3283
3297
|
"serif",
|
|
@@ -3285,20 +3299,20 @@ var j = A, tr = 16, nr = {
|
|
|
3285
3299
|
"humanist",
|
|
3286
3300
|
"verdana",
|
|
3287
3301
|
"mono"
|
|
3288
|
-
],
|
|
3302
|
+
], aa = [
|
|
3289
3303
|
"sharp",
|
|
3290
3304
|
"soft",
|
|
3291
3305
|
"round",
|
|
3292
3306
|
"pill"
|
|
3293
|
-
],
|
|
3307
|
+
], oa = [
|
|
3294
3308
|
"flat",
|
|
3295
3309
|
"soft",
|
|
3296
3310
|
"lifted"
|
|
3297
|
-
],
|
|
3311
|
+
], sa = [
|
|
3298
3312
|
"clear",
|
|
3299
3313
|
"frosted",
|
|
3300
3314
|
"solid"
|
|
3301
|
-
],
|
|
3315
|
+
], ca = "ui-theme-applied", ThemeNames = class {
|
|
3302
3316
|
static titleOf(e) {
|
|
3303
3317
|
return e.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join(" ");
|
|
3304
3318
|
}
|
|
@@ -3313,10 +3327,10 @@ var j = A, tr = 16, nr = {
|
|
|
3313
3327
|
static attributeFor(e) {
|
|
3314
3328
|
return String(Math.min(6, Math.max(1, Math.round(e))));
|
|
3315
3329
|
}
|
|
3316
|
-
},
|
|
3330
|
+
}, la = /`([^`]+)`/g, ua = {
|
|
3317
3331
|
entry: "data-toc",
|
|
3318
3332
|
group: "data-toc-group"
|
|
3319
|
-
},
|
|
3333
|
+
}, da = {
|
|
3320
3334
|
lang: "es",
|
|
3321
3335
|
attributes: {
|
|
3322
3336
|
disabled: "desactivado",
|
|
@@ -3365,29 +3379,29 @@ var j = A, tr = 16, nr = {
|
|
|
3365
3379
|
return SharedVocabulary.withShared(e).shared.has(t);
|
|
3366
3380
|
}
|
|
3367
3381
|
static translated(e, t) {
|
|
3368
|
-
return
|
|
3382
|
+
return pa.get(e)?.attributes[t];
|
|
3369
3383
|
}
|
|
3370
3384
|
static translatedValues(e, t) {
|
|
3371
|
-
return
|
|
3385
|
+
return pa.get(e)?.values?.[t];
|
|
3372
3386
|
}
|
|
3373
3387
|
static get attributeNames() {
|
|
3374
|
-
return
|
|
3388
|
+
return fa.map(({ name: e }) => e);
|
|
3375
3389
|
}
|
|
3376
3390
|
static isSharedAttribute(e) {
|
|
3377
|
-
return
|
|
3391
|
+
return fa.some((t) => t.name === e);
|
|
3378
3392
|
}
|
|
3379
3393
|
static withShared(e) {
|
|
3380
3394
|
let t = SharedVocabulary.cache.get(e);
|
|
3381
3395
|
if (t) return t;
|
|
3382
|
-
let n = new Set(e.attributes.map(({ name: e }) => e)), r =
|
|
3396
|
+
let n = new Set(e.attributes.map(({ name: e }) => e)), r = fa.filter(({ name: e }) => !n.has(e)), i = new Set(e.states.map(({ name: e }) => e));
|
|
3383
3397
|
return t = {
|
|
3384
3398
|
attributes: r.length ? [...e.attributes, ...r] : e.attributes,
|
|
3385
|
-
states: [...e.states, ...
|
|
3399
|
+
states: [...e.states, ...ma.filter(({ name: e }) => !i.has(e))],
|
|
3386
3400
|
shared: new Set(r.map(({ name: e }) => e))
|
|
3387
3401
|
}, SharedVocabulary.cache.set(e, t), t;
|
|
3388
3402
|
}
|
|
3389
3403
|
static cache = /* @__PURE__ */ new WeakMap();
|
|
3390
|
-
},
|
|
3404
|
+
}, fa = [
|
|
3391
3405
|
{
|
|
3392
3406
|
name: "disabled",
|
|
3393
3407
|
kind: "boolean",
|
|
@@ -3406,7 +3420,7 @@ var j = A, tr = 16, nr = {
|
|
|
3406
3420
|
{
|
|
3407
3421
|
name: "animation",
|
|
3408
3422
|
kind: "enum",
|
|
3409
|
-
values:
|
|
3423
|
+
values: Ur,
|
|
3410
3424
|
description: "How it shows and hides (Fomantic's names: `fade up`, `scale`, `fly down` ...); default its family's, else `fade`. `none` turns motion off for it and everything inside it, as the person's reduced-motion setting does; an element inside can't turn it back on."
|
|
3411
3425
|
},
|
|
3412
3426
|
{
|
|
@@ -3426,7 +3440,7 @@ var j = A, tr = 16, nr = {
|
|
|
3426
3440
|
name: "font",
|
|
3427
3441
|
group: "appearance",
|
|
3428
3442
|
kind: "multiple",
|
|
3429
|
-
values:
|
|
3443
|
+
values: qr,
|
|
3430
3444
|
description: "How its letters look, several words at once: `bold`, `heavy`, `italic`, `underline`, `strikethrough`, `code`, `highlight`, `subscript`, `superscript`, `all-caps`, `title-caps` (`font=\"bold italic\"`); a family from the theme, `headline`, `subhead`, `serif`, `sans-serif` or `typewriter`; and a size in pixels, `14`, or with its line height, `10/20` (`font=\"bold serif 10/20\"`). `<ui-text>` draws each face as its HTML element (`<strong>`, `<em>` ...), so screen readers hear it, and takes each word as a bare attribute too (`<ui-text bold serif>`); every other element shows the look alone."
|
|
3431
3445
|
},
|
|
3432
3446
|
{
|
|
@@ -3484,7 +3498,7 @@ var j = A, tr = 16, nr = {
|
|
|
3484
3498
|
kind: "string",
|
|
3485
3499
|
description: "Shown only on these devices, a comma list: `on-platform=\"desktop, tablet\"` hides it on phones. `phone`: a touch screen, small on at least one side (under 600px), either way up; `tablet`: a touch screen, big both ways; `desktop`: a mouse or a trackpad. Follows a resize or a turn of the device at once. For what a device can't do (a phone has no screen capture), or has no room for."
|
|
3486
3500
|
}
|
|
3487
|
-
],
|
|
3501
|
+
], pa = /* @__PURE__ */ new Map([[da.lang, da]]), ma = [
|
|
3488
3502
|
{
|
|
3489
3503
|
name: "disabled",
|
|
3490
3504
|
description: "`disabled` is set (or, on a form control, a `<fieldset disabled>` around it)."
|
|
@@ -3525,8 +3539,8 @@ var j = A, tr = 16, nr = {
|
|
|
3525
3539
|
name: "on-platform",
|
|
3526
3540
|
description: "`on-platform` names some devices; `on-phone`, `on-tablet` and `on-desktop` say which. On any other device it's hidden."
|
|
3527
3541
|
}
|
|
3528
|
-
],
|
|
3529
|
-
|
|
3542
|
+
], ha, ga = [proto], I;
|
|
3543
|
+
ha = [proto];
|
|
3530
3544
|
var L = class _Vocabulary {
|
|
3531
3545
|
constructor() {
|
|
3532
3546
|
__publicField(this, "vocabularies", /* @__PURE__ */ new Map()), __publicField(this, "localized", /* @__PURE__ */ new Map()), __publicField(this, "dictionaries", /* @__PURE__ */ new Map()), __publicField(this, "languages", []), __publicField(this, "components", /* @__PURE__ */ new Map());
|
|
@@ -3692,10 +3706,10 @@ var L = class _Vocabulary {
|
|
|
3692
3706
|
return r.tag === e && this.localized.set(e, r), r;
|
|
3693
3707
|
}
|
|
3694
3708
|
static resolveValues({ spec: e, tag: t, dictionary: n, isShared: r }) {
|
|
3695
|
-
let i =
|
|
3709
|
+
let i = M.setFor(e);
|
|
3696
3710
|
if (!i) return;
|
|
3697
|
-
let a = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), s =
|
|
3698
|
-
add(
|
|
3711
|
+
let a = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), s = M.kindSetFor(e), c = typeof i == "string" ? n.values?.[i] : r ? F.translatedValues(n.lang, e.name) : s && n.values?.[s], l = n.components?.[t]?.values?.[e.name], u = r ? void 0 : n.words;
|
|
3712
|
+
add(M.get(i), c), e.kind === "keyOrValueAndKey" && add(M.get("booleans"), n.values?.booleans);
|
|
3699
3713
|
for (let [e, t] of [...a]) {
|
|
3700
3714
|
let n = withoutAccents(e);
|
|
3701
3715
|
a.has(n) || a.set(n, t);
|
|
@@ -3728,7 +3742,7 @@ var L = class _Vocabulary {
|
|
|
3728
3742
|
if (e.kind !== "multiple") return t.get(r) ?? n;
|
|
3729
3743
|
let i = r.split(/\s+/), a = [];
|
|
3730
3744
|
for (let e = 0; e < i.length;) {
|
|
3731
|
-
let n = Math.min(
|
|
3745
|
+
let n = Math.min(ya, i.length - e);
|
|
3732
3746
|
for (; n > 1 && !t.has(i.slice(e, e + n).join(" ")); n--);
|
|
3733
3747
|
let r = i.slice(e, e + n).join(" ");
|
|
3734
3748
|
a.push(t.get(r) ?? r), e += n;
|
|
@@ -3740,33 +3754,33 @@ var L = class _Vocabulary {
|
|
|
3740
3754
|
return t < 0 ? e : e.slice(t + 1);
|
|
3741
3755
|
}
|
|
3742
3756
|
static eventName(e, t, n) {
|
|
3743
|
-
return n === void 0 ? e.startsWith(
|
|
3757
|
+
return n === void 0 ? e.startsWith(va) ? `${t}-${_Vocabulary.stem(e)}` : e : `${t}-${n}`;
|
|
3744
3758
|
}
|
|
3745
3759
|
};
|
|
3746
|
-
I = __decoratorStart(null), __decorateElement(I, 13, "prefix",
|
|
3747
|
-
var
|
|
3760
|
+
I = __decoratorStart(null), __decorateElement(I, 13, "prefix", ga, L), __decorateElement(I, 13, "dictionary", ha, L), __decoratorMetadata(I, L), __name(L, "Vocabulary"), __publicField(L, "prefix", __runInitializers(I, 8, L, "ui")), __runInitializers(I, 11, L), __publicField(L, "dictionary", __runInitializers(I, 12, L, { lang: "en" })), __runInitializers(I, 15, L);
|
|
3761
|
+
var _a = L, va = "ui-", ya = 3, ba = class DefaultValues {
|
|
3748
3762
|
static isContent(e) {
|
|
3749
|
-
return
|
|
3763
|
+
return xa.includes(e.name) || e.group !== void 0 && Sa.includes(e.group) || e.kind === "json";
|
|
3750
3764
|
}
|
|
3751
3765
|
static problemWith(e, t) {
|
|
3752
3766
|
if (typeof t == "boolean") return DefaultValues.isOnOrOff(e) ? void 0 : { takes: "no-boolean" };
|
|
3753
3767
|
if (typeof t == "number") return;
|
|
3754
3768
|
if (typeof t != "string") return { takes: "text" };
|
|
3755
|
-
let n = t.trim().toLowerCase().replace(
|
|
3756
|
-
if (DefaultValues.isOnOrOff(e)) return
|
|
3769
|
+
let n = t.trim().toLowerCase().replace(Ta, " ");
|
|
3770
|
+
if (DefaultValues.isOnOrOff(e)) return M.has("booleans", n) || n === "" ? void 0 : { takes: "boolean" };
|
|
3757
3771
|
if (e.kind === "number") return Number.isNaN(Number(n)) ? { takes: "number" } : void 0;
|
|
3758
3772
|
let r = DefaultValues.setOf(e);
|
|
3759
|
-
if (r && n !== "" && !
|
|
3773
|
+
if (r && n !== "" && !M.has(r, n) && !(e.kind === "keyOrValueAndKey" && M.has("booleans", n)) && !(e.kind === "multiple" && n.split(" ").every((e) => M.has(r, e)))) return {
|
|
3760
3774
|
takes: "values",
|
|
3761
|
-
values:
|
|
3762
|
-
guess:
|
|
3775
|
+
values: M.get(r),
|
|
3776
|
+
guess: M.suggest(r, n)
|
|
3763
3777
|
};
|
|
3764
3778
|
}
|
|
3765
3779
|
static isOnOrOff(e) {
|
|
3766
|
-
return
|
|
3780
|
+
return Ca.includes(e.kind);
|
|
3767
3781
|
}
|
|
3768
3782
|
static setOf(e) {
|
|
3769
|
-
return
|
|
3783
|
+
return wa.includes(e.kind) ? M.setFor(e) : void 0;
|
|
3770
3784
|
}
|
|
3771
3785
|
static textOf(e) {
|
|
3772
3786
|
switch (e.takes) {
|
|
@@ -3777,11 +3791,11 @@ var ga = L, _a = "ui-", va = 3, ya = class DefaultValues {
|
|
|
3777
3791
|
case "values": return `isn't one of its values${e.guess ? `; did you mean ${JSON.stringify(e.guess)}?` : ""}`;
|
|
3778
3792
|
}
|
|
3779
3793
|
}
|
|
3780
|
-
},
|
|
3794
|
+
}, xa = [
|
|
3781
3795
|
"label",
|
|
3782
3796
|
"value",
|
|
3783
3797
|
"text"
|
|
3784
|
-
],
|
|
3798
|
+
], Sa = ["name", "content"], Ca = ["keyOnly", "boolean"], wa = [
|
|
3785
3799
|
"size",
|
|
3786
3800
|
"color",
|
|
3787
3801
|
"valueOnly",
|
|
@@ -3791,7 +3805,7 @@ var ga = L, _a = "ui-", va = 3, ya = class DefaultValues {
|
|
|
3791
3805
|
"textAlign",
|
|
3792
3806
|
"verticalAlign",
|
|
3793
3807
|
"multiple"
|
|
3794
|
-
],
|
|
3808
|
+
], Ta = /\s+/g, Ea = "0.8.12";
|
|
3795
3809
|
// ../src/util/fetching.ts
|
|
3796
3810
|
async function fetchOk(e, t, n) {
|
|
3797
3811
|
let r;
|
|
@@ -3829,10 +3843,10 @@ var ApiError = class extends Error {
|
|
|
3829
3843
|
};
|
|
3830
3844
|
ApiError.prototype.name = "ApiError";
|
|
3831
3845
|
// src/runtime/runtime.types.ts
|
|
3832
|
-
var R = Symbol.for("spell-ui:runtime"),
|
|
3846
|
+
var R = Symbol.for("spell-ui:runtime"), Da = Ea, Oa = "@layer ui.reset, ui.tokens, ui.base, ui.components, ui.utilities, ui.theme, ui.app;", ka = {
|
|
3833
3847
|
none: "none",
|
|
3834
3848
|
contents: "contents"
|
|
3835
|
-
},
|
|
3849
|
+
}, Aa = "page", ja = "ui-scroll-locked", Ma = "ui-app-stylesheet", Na = "utilities", Pa = /* @__PURE__ */ "fade.fade-up.fade-down.fade-left.fade-right.scale.zoom.drop.browse.browse-right.fly.fly-up.fly-down.fly-left.fly-right.slide-up.slide-down.slide-left.slide-right.swing-up.swing-down.swing-left.swing-right.flip-horizontal.flip-vertical.flash.shake.bounce.tada.pulse.jiggle.glow.coin".split("."), Fa = {
|
|
3836
3850
|
close: "Close",
|
|
3837
3851
|
cancel: "Cancel",
|
|
3838
3852
|
ok: "OK",
|
|
@@ -3847,7 +3861,7 @@ var R = Symbol.for("spell-ui:runtime"), Ea = Ta, Da = "@layer ui.reset, ui.token
|
|
|
3847
3861
|
less: "Less",
|
|
3848
3862
|
required: "Required",
|
|
3849
3863
|
invalid: "Invalid value"
|
|
3850
|
-
},
|
|
3864
|
+
}, Ia = "temporal-polyfill", La = [
|
|
3851
3865
|
"load",
|
|
3852
3866
|
"cross-origin",
|
|
3853
3867
|
"file-protocol",
|
|
@@ -3866,20 +3880,20 @@ var R = Symbol.for("spell-ui:runtime"), Ea = Ta, Da = "@layer ui.reset, ui.token
|
|
|
3866
3880
|
return e instanceof SourceError && e.kind || t;
|
|
3867
3881
|
}
|
|
3868
3882
|
static isKind(e) {
|
|
3869
|
-
return
|
|
3883
|
+
return La.includes(e);
|
|
3870
3884
|
}
|
|
3871
3885
|
};
|
|
3872
3886
|
z.prototype.name = "SourceError";
|
|
3873
|
-
var
|
|
3887
|
+
var Ra = "ui-languages-changed", za = {
|
|
3874
3888
|
up: "up",
|
|
3875
3889
|
down: "down",
|
|
3876
3890
|
static: "static"
|
|
3877
|
-
},
|
|
3891
|
+
}, Ba;
|
|
3878
3892
|
function load() {
|
|
3879
3893
|
let e = pageRuntime();
|
|
3880
|
-
return e ? e.load() : (
|
|
3881
|
-
throw
|
|
3882
|
-
}),
|
|
3894
|
+
return e ? e.load() : (Ba ??= import("./UIRuntime-BXutHphM.js").then(({ UIRuntime: e }) => e.instance.load(), (e) => {
|
|
3895
|
+
throw Ba = void 0, e;
|
|
3896
|
+
}), Ba);
|
|
3883
3897
|
}
|
|
3884
3898
|
var B = new Proxy({}, {
|
|
3885
3899
|
get(e, t) {
|
|
@@ -3905,7 +3919,7 @@ function notLoaded(e) {
|
|
|
3905
3919
|
return /* @__PURE__ */ Error(`UI.${String(e)}: the UI runtime isn't loaded yet; \`await UI.load()\` first`);
|
|
3906
3920
|
}
|
|
3907
3921
|
// src/elements/ClassBuilder.ts
|
|
3908
|
-
var
|
|
3922
|
+
var Va = [proto], Ha, V = class _ClassBuilder {
|
|
3909
3923
|
constructor(e) {
|
|
3910
3924
|
__publicField(this, "vocabulary"), __publicField(this, "specs"), __publicField(this, "keys"), this.vocabulary = e, this.specs = [
|
|
3911
3925
|
...byKind("size"),
|
|
@@ -3963,14 +3977,14 @@ var Ba = [proto], Va, V = class _ClassBuilder {
|
|
|
3963
3977
|
return t.extra && a.push(t.extra), a.push(t.noun ?? this.vocabulary.noun), a.join(" ");
|
|
3964
3978
|
}
|
|
3965
3979
|
pushClasses(e, t, n) {
|
|
3966
|
-
let r = n.kind === "multiple" ? t.trim().split(
|
|
3980
|
+
let r = n.kind === "multiple" ? t.trim().split(Ya) : [t];
|
|
3967
3981
|
for (let t of r) {
|
|
3968
3982
|
let r = n.classes[t] ?? t;
|
|
3969
3983
|
r && e.push(r);
|
|
3970
3984
|
}
|
|
3971
3985
|
}
|
|
3972
3986
|
pushMultiple(e, t, n) {
|
|
3973
|
-
let r = t.trim().split(
|
|
3987
|
+
let r = t.trim().split(Ya);
|
|
3974
3988
|
for (let t = 0; t < r.length; t++) {
|
|
3975
3989
|
let i = r[t];
|
|
3976
3990
|
i = i === "large" && r[t + 1] === "screen" ? `${i} ${r[++t]}` : i.replace("-", " "), r[t + 1] === "vertically" && (i = `${i} ${r[++t]}`), e.push(`${i} ${n}`);
|
|
@@ -3982,8 +3996,8 @@ var Ba = [proto], Va, V = class _ClassBuilder {
|
|
|
3982
3996
|
e.push(r.equalWidth);
|
|
3983
3997
|
return;
|
|
3984
3998
|
}
|
|
3985
|
-
let i =
|
|
3986
|
-
if (!
|
|
3999
|
+
let i = M.columns(t), a = i === void 0 ? 0 : Math.round(i), o = `<${this.vocabulary.tag} ${n.name}>`;
|
|
4000
|
+
if (!M.isColumnCount(a)) {
|
|
3987
4001
|
Warnings.devWarn(o, `${JSON.stringify(t)} is not a width of 1..16 columns`);
|
|
3988
4002
|
return;
|
|
3989
4003
|
}
|
|
@@ -3997,7 +4011,7 @@ var Ba = [proto], Va, V = class _ClassBuilder {
|
|
|
3997
4011
|
if (Array.isArray(e)) return e.map((e) => _ClassBuilder.text(e) ?? "").join(" ");
|
|
3998
4012
|
}
|
|
3999
4013
|
};
|
|
4000
|
-
|
|
4014
|
+
Ha = __decoratorStart(null), __decorateElement(Ha, 13, "grammar", Va, V), __decoratorMetadata(Ha, V), __name(V, "ClassBuilder"), __publicField(V, "grammar", __runInitializers(Ha, 8, V, {
|
|
4001
4015
|
ui: "ui",
|
|
4002
4016
|
medium: "medium",
|
|
4003
4017
|
aligned: "aligned",
|
|
@@ -4005,8 +4019,8 @@ Va = __decoratorStart(null), __decorateElement(Va, 13, "grammar", Ba, V), __deco
|
|
|
4005
4019
|
wide: "wide",
|
|
4006
4020
|
equal: "equal",
|
|
4007
4021
|
equalWidth: "equal width"
|
|
4008
|
-
})), __runInitializers(
|
|
4009
|
-
var
|
|
4022
|
+
})), __runInitializers(Ha, 11, V);
|
|
4023
|
+
var Ua = V, Wa = [state], Ga, Ka, H = class _RootSettings {
|
|
4010
4024
|
static set(e, t) {
|
|
4011
4025
|
_RootSettings.byRoot.set(e, t), _RootSettings.generation += 1;
|
|
4012
4026
|
}
|
|
@@ -4035,24 +4049,24 @@ var Ha = V, Ua = [state], Wa, Ga, H = class _RootSettings {
|
|
|
4035
4049
|
});
|
|
4036
4050
|
}
|
|
4037
4051
|
}
|
|
4038
|
-
return r.size ? [...r.values()] :
|
|
4052
|
+
return r.size ? [...r.values()] : Ja;
|
|
4039
4053
|
}
|
|
4040
4054
|
static checkedDefault(e, t, n, r, i) {
|
|
4041
|
-
let a = t.takesAttribute(r) ? t.attribute(r) : t.attributeNamed(r), o = a ?
|
|
4055
|
+
let a = t.takesAttribute(r) ? t.attribute(r) : t.attributeNamed(r), o = a ? ba.isContent(a.spec) ? `${r} is what each <${n}> shows, not how it looks: it takes no default` : _RootSettings.problemWithValue(a.spec, i) : `<${n}> has no attribute ${JSON.stringify(r)}`;
|
|
4042
4056
|
if (!o) return a;
|
|
4043
4057
|
_RootSettings.warnOnce(e, `defaults: <${n} ${r}=${JSON.stringify(i)}>: ${o}; left out`);
|
|
4044
4058
|
}
|
|
4045
4059
|
static problemWithValue(e, t) {
|
|
4046
|
-
let n =
|
|
4047
|
-
return n &&
|
|
4060
|
+
let n = ba.problemWith(e, t);
|
|
4061
|
+
return n && ba.textOf(n);
|
|
4048
4062
|
}
|
|
4049
4063
|
static warnOnce(e, t) {
|
|
4050
4064
|
let n = _RootSettings.warned.get(e);
|
|
4051
4065
|
n || _RootSettings.warned.set(e, n = /* @__PURE__ */ new Set()), n.has(t) || (n.add(t), Warnings.warn("<ui-root>", t, e));
|
|
4052
4066
|
}
|
|
4053
4067
|
};
|
|
4054
|
-
|
|
4055
|
-
var
|
|
4068
|
+
Ga = __decoratorStart(null), Ka = /* @__PURE__ */ new WeakMap(), __decorateElement(Ga, 12, "generation", Wa, H, Ka), __decoratorMetadata(Ga, H), __name(H, "RootSettings"), __privateAdd(H, Ka, __runInitializers(Ga, 8, H, 0)), __runInitializers(Ga, 11, H), __publicField(H, "byRoot", /* @__PURE__ */ new WeakMap()), __publicField(H, "warned", /* @__PURE__ */ new WeakMap());
|
|
4069
|
+
var qa = H, Ja = Object.freeze([]), SpellUISettings = class {
|
|
4056
4070
|
static settings = {
|
|
4057
4071
|
runtime: {
|
|
4058
4072
|
get isLoaded() {
|
|
@@ -4061,12 +4075,12 @@ var Ka = H, qa = Object.freeze([]), SpellUISettings = class {
|
|
|
4061
4075
|
load: () => B.load()
|
|
4062
4076
|
},
|
|
4063
4077
|
words: {
|
|
4064
|
-
names: () => new
|
|
4065
|
-
classes: (e) => new
|
|
4078
|
+
names: () => new _a(),
|
|
4079
|
+
classes: (e) => new Ua(e),
|
|
4066
4080
|
attributesFor: (e) => F.attributesFor(e),
|
|
4067
4081
|
takesShared: (e, t) => F.takesShared(e, t),
|
|
4068
|
-
converters:
|
|
4069
|
-
valuesFor: (e) =>
|
|
4082
|
+
converters: N,
|
|
4083
|
+
valuesFor: (e) => M.setFor(e),
|
|
4070
4084
|
text: (e, t, n) => B.i18n.t(e, t, n),
|
|
4071
4085
|
registerVocabulary(e, t, n) {
|
|
4072
4086
|
t === "replace" ? B.vocabulary.replace(e) : n ? B.vocabulary.registerComponent(e, n) : B.vocabulary.register(e);
|
|
@@ -4080,26 +4094,26 @@ var Ka = H, qa = Object.freeze([]), SpellUISettings = class {
|
|
|
4080
4094
|
},
|
|
4081
4095
|
focus: { moveOutOf: (e) => B.focus.moveOutOf(e) },
|
|
4082
4096
|
motion: {
|
|
4083
|
-
defaultAnimation:
|
|
4084
|
-
property:
|
|
4097
|
+
defaultAnimation: Jr,
|
|
4098
|
+
property: Yr,
|
|
4085
4099
|
get isReduced() {
|
|
4086
4100
|
return B.browser.isReducedMotion;
|
|
4087
4101
|
},
|
|
4088
|
-
isAttention: (e) =>
|
|
4102
|
+
isAttention: (e) => Xr.isAttention(e),
|
|
4089
4103
|
reveal: (e) => B.transitions.reveal(e),
|
|
4090
4104
|
animate: (e, t, n) => B.transitions.animate({
|
|
4091
4105
|
element: e,
|
|
4092
|
-
name:
|
|
4106
|
+
name: Xr.runtimeNameFor(t),
|
|
4093
4107
|
direction: n ? "in" : "out"
|
|
4094
4108
|
})
|
|
4095
4109
|
},
|
|
4096
4110
|
warn: (e, t, ...n) => Warnings.warn(e, t, ...n),
|
|
4097
|
-
defaults: { for: (e, t) =>
|
|
4111
|
+
defaults: { for: (e, t) => qa.defaultsFor(e, t) }
|
|
4098
4112
|
};
|
|
4099
4113
|
};
|
|
4100
|
-
|
|
4114
|
+
y.install(SpellUISettings.settings);
|
|
4101
4115
|
// src/elements/elements.types.ts
|
|
4102
|
-
var
|
|
4116
|
+
var Ya = /\s+/, Xa = ["value", "length"];
|
|
4103
4117
|
function markedPieces(e, t) {
|
|
4104
4118
|
let n = [], r = 0;
|
|
4105
4119
|
for (let [i, a] of t) i > r && n.push({
|
|
@@ -4114,23 +4128,23 @@ function markedPieces(e, t) {
|
|
|
4114
4128
|
isMarked: !1
|
|
4115
4129
|
}), n;
|
|
4116
4130
|
}
|
|
4117
|
-
var
|
|
4131
|
+
var Za = ["text", "value"], U = {
|
|
4118
4132
|
idle: "idle",
|
|
4119
4133
|
loading: "loading",
|
|
4120
4134
|
loaded: "loaded",
|
|
4121
4135
|
error: "error"
|
|
4122
|
-
},
|
|
4136
|
+
}, Qa = "ui-loader", $a = "ui-message", eo = [
|
|
4123
4137
|
"href",
|
|
4124
4138
|
"src",
|
|
4125
4139
|
"action",
|
|
4126
4140
|
"poster",
|
|
4127
4141
|
"source"
|
|
4128
|
-
],
|
|
4142
|
+
], to = eo.map((e) => `[${e}]`).join(","), no = "data-ui-include-", ro = 8, io = {
|
|
4129
4143
|
load: "sourceLoadError",
|
|
4130
4144
|
"cross-origin": "sourceCrossOrigin",
|
|
4131
4145
|
"file-protocol": "sourceFileProtocol",
|
|
4132
4146
|
render: "sourceRenderError"
|
|
4133
|
-
},
|
|
4147
|
+
}, ao = 300, oo = "source", W = {
|
|
4134
4148
|
load: "ui-loaded",
|
|
4135
4149
|
loading: "ui-loading",
|
|
4136
4150
|
loaded: "ui-loaded",
|
|
@@ -4138,12 +4152,12 @@ var Xa = ["text", "value"], U = {
|
|
|
4138
4152
|
save: "ui-saving",
|
|
4139
4153
|
saved: "ui-saved",
|
|
4140
4154
|
error: Ee
|
|
4141
|
-
},
|
|
4155
|
+
}, so = ["top", "bottom"], co = /* @__PURE__ */ new Set([
|
|
4142
4156
|
"auto",
|
|
4143
4157
|
"scroll",
|
|
4144
4158
|
"overlay",
|
|
4145
4159
|
"hidden"
|
|
4146
|
-
]),
|
|
4160
|
+
]), lo = .5, uo = .5, fo = class Shorthand {
|
|
4147
4161
|
static resolve(e, t, n = {}) {
|
|
4148
4162
|
if (e == null || typeof e == "boolean") return;
|
|
4149
4163
|
let r;
|
|
@@ -4167,7 +4181,7 @@ var Xa = ["text", "value"], U = {
|
|
|
4167
4181
|
}
|
|
4168
4182
|
static mergeClasses(...e) {
|
|
4169
4183
|
let t = /* @__PURE__ */ new Set();
|
|
4170
|
-
for (let n of e) if (n) for (let e of n.split(
|
|
4184
|
+
for (let n of e) if (n) for (let e of n.split(Ya)) e && t.add(e);
|
|
4171
4185
|
return t.size ? [...t].join(" ") : void 0;
|
|
4172
4186
|
}
|
|
4173
4187
|
static mergeStyles(...e) {
|
|
@@ -4185,8 +4199,8 @@ var Xa = ["text", "value"], U = {
|
|
|
4185
4199
|
src: (e) => ({ src: e }),
|
|
4186
4200
|
type: (e) => ({ type: e })
|
|
4187
4201
|
};
|
|
4188
|
-
},
|
|
4189
|
-
|
|
4202
|
+
}, po, mo, ho, go = [proto], G;
|
|
4203
|
+
ho = [proto], mo = [proto], po = [lazy];
|
|
4190
4204
|
var K = class _NativeFallback {
|
|
4191
4205
|
constructor({ domElement: e, root: t, error: n, internals: r }) {
|
|
4192
4206
|
__runInitializers(G, 5, this), __publicField(this, "domElement"), __publicField(this, "root"), __publicField(this, "error"), __publicField(this, "internals"), __publicField(this, "formInternals"), __publicField(this, "disposers", []), this.domElement = e, this.root = t, this.error = n, this.internals = r, this.formInternals = e.constructor.formAssociated ? r : void 0;
|
|
@@ -4207,7 +4221,7 @@ var K = class _NativeFallback {
|
|
|
4207
4221
|
return this.domElement.getAttribute(e) ?? void 0;
|
|
4208
4222
|
}
|
|
4209
4223
|
flag(e) {
|
|
4210
|
-
return
|
|
4224
|
+
return N.boolean(this.domElement.getAttribute(e), e);
|
|
4211
4225
|
}
|
|
4212
4226
|
classes(e) {
|
|
4213
4227
|
let t = {}, { valueNamed: n } = this.domElement;
|
|
@@ -4217,12 +4231,12 @@ var K = class _NativeFallback {
|
|
|
4217
4231
|
continue;
|
|
4218
4232
|
}
|
|
4219
4233
|
let r = this.domElement.getAttribute(e.name) ?? _NativeFallback.defaultText(e.default);
|
|
4220
|
-
r !== void 0 && (e.kind === "keyOnly" ? t[e.name] =
|
|
4234
|
+
r !== void 0 && (e.kind === "keyOnly" ? t[e.name] = N.boolean(r, e.name) : e.kind === "keyOrValueAndKey" ? t[e.name] = N.keyOrValue(r, void 0) : t[e.name] = r);
|
|
4221
4235
|
}
|
|
4222
4236
|
return this.builder.build(t, { extra: e });
|
|
4223
4237
|
}
|
|
4224
4238
|
get builder() {
|
|
4225
|
-
return new
|
|
4239
|
+
return new Ua(this.vocabulary);
|
|
4226
4240
|
}
|
|
4227
4241
|
form() {
|
|
4228
4242
|
return this.formInternals?.form ?? this.domElement.closest("form") ?? void 0;
|
|
@@ -4252,10 +4266,10 @@ var K = class _NativeFallback {
|
|
|
4252
4266
|
decorate(e, t, ...n) {
|
|
4253
4267
|
this.vocabulary.parts.some((e) => e.name === t) || Warnings.devWarn(`<${this.vocabulary.tag}> fallback`, `"${t}" is not a part in its vocabulary`), e.setAttribute("part", [t, ...n].join(" "));
|
|
4254
4268
|
for (let { name: t, value: n } of this.domElement.attributes) t.startsWith("aria-") && e.setAttribute(t, n);
|
|
4255
|
-
return this.vocabulary.attributes.find((e) => e.name ===
|
|
4269
|
+
return this.vocabulary.attributes.find((e) => e.name === vo)?.kind === "keyOnly" && N.boolean(this.domElement.getAttribute(vo), vo) && e.setAttribute("aria-busy", "true"), e;
|
|
4256
4270
|
}
|
|
4257
4271
|
nameFromPlaceholder(e) {
|
|
4258
|
-
let t = this.domElement.getAttribute(
|
|
4272
|
+
let t = this.domElement.getAttribute(yo);
|
|
4259
4273
|
!e.hasAttribute("aria-label") && t && e.setAttribute("aria-label", t);
|
|
4260
4274
|
}
|
|
4261
4275
|
send(e, t) {
|
|
@@ -4274,7 +4288,7 @@ var K = class _NativeFallback {
|
|
|
4274
4288
|
if (e != null && e !== !1) return e === !0 ? "" : String(e);
|
|
4275
4289
|
}
|
|
4276
4290
|
};
|
|
4277
|
-
G = __decoratorStart(null), __decorateElement(G, 2, "builder",
|
|
4291
|
+
G = __decoratorStart(null), __decorateElement(G, 2, "builder", po, K), __decorateElement(G, 13, "vocabulary", go, K), __decorateElement(G, 13, "vocabularies", ho, K), __decorateElement(G, 13, "degraded", mo, K), __decoratorMetadata(G, K), __name(K, "NativeFallback"), __publicField(K, "vocabulary", __runInitializers(G, 8, K, {
|
|
4278
4292
|
tag: "",
|
|
4279
4293
|
noun: "",
|
|
4280
4294
|
attributes: [],
|
|
@@ -4284,7 +4298,7 @@ G = __decoratorStart(null), __decorateElement(G, 2, "builder", fo, K), __decorat
|
|
|
4284
4298
|
states: [],
|
|
4285
4299
|
texts: []
|
|
4286
4300
|
})), __runInitializers(G, 11, K), __publicField(K, "vocabularies", __runInitializers(G, 12, K, [])), __runInitializers(G, 15, K), __publicField(K, "degraded", __runInitializers(G, 16, K, [])), __runInitializers(G, 19, K);
|
|
4287
|
-
var
|
|
4301
|
+
var _o = K, vo = "loading", yo = "placeholder", bo = class StickyWatch {
|
|
4288
4302
|
stuckTo;
|
|
4289
4303
|
onReport;
|
|
4290
4304
|
box;
|
|
@@ -4320,7 +4334,7 @@ var go = K, _o = "loading", vo = "placeholder", yo = class StickyWatch {
|
|
|
4320
4334
|
t && (e.preventDefault(), t.focus({ preventScroll: !0 }));
|
|
4321
4335
|
};
|
|
4322
4336
|
reset() {
|
|
4323
|
-
this.report(
|
|
4337
|
+
this.report(Co);
|
|
4324
4338
|
}
|
|
4325
4339
|
measure(e, t, n) {
|
|
4326
4340
|
let { domElement: r, top: i, bottom: a, box: o } = e, s = StickyWatch.area(t, r.ownerDocument), c = s.top + n.offset, l = s.bottom - (n.bottomOffset ?? 0), u = o.getBoundingClientRect(), d, f = !1;
|
|
@@ -4344,7 +4358,7 @@ var go = K, _o = "loading", vo = "placeholder", yo = class StickyWatch {
|
|
|
4344
4358
|
this.stuckTo ? (t || StickyWatch.stuckIn.set(e, t = /* @__PURE__ */ new Set()), t.add(this)) : t && (t.delete(this), t.size || StickyWatch.stuckIn.delete(e)), StickyWatch.reserve(e);
|
|
4345
4359
|
}
|
|
4346
4360
|
static reserve(e) {
|
|
4347
|
-
let t = e.ownerDocument, n = StickyWatch.area(e === t.documentElement ? void 0 : e, t), r = (n.bottom - n.top) *
|
|
4361
|
+
let t = e.ownerDocument, n = StickyWatch.area(e === t.documentElement ? void 0 : e, t), r = (n.bottom - n.top) * lo, i = e.clientWidth * lo, a = 0, o = 0;
|
|
4348
4362
|
for (let t of StickyWatch.stuckIn.get(e) ?? []) {
|
|
4349
4363
|
let e = t.box?.getBoundingClientRect();
|
|
4350
4364
|
!e || e.height > r || e.width < i || (t.stuckTo === "top" ? a = Math.max(a, e.bottom - n.top) : t.stuckTo === "bottom" && (o = Math.max(o, n.bottom - e.top)));
|
|
@@ -4359,8 +4373,8 @@ var go = K, _o = "loading", vo = "placeholder", yo = class StickyWatch {
|
|
|
4359
4373
|
for (let t of e.composedPath()) {
|
|
4360
4374
|
if (t === e.currentTarget) return;
|
|
4361
4375
|
if (t instanceof HTMLElement) {
|
|
4362
|
-
if (t.shadowRoot?.delegatesFocus) return t.shadowRoot.querySelector(
|
|
4363
|
-
if (t.matches(
|
|
4376
|
+
if (t.shadowRoot?.delegatesFocus) return t.shadowRoot.querySelector(So) || t.matches(":disabled") ? void 0 : t;
|
|
4377
|
+
if (t.matches(xo)) return t.matches(So) || t.matches(":disabled") ? void 0 : t;
|
|
4364
4378
|
}
|
|
4365
4379
|
}
|
|
4366
4380
|
}
|
|
@@ -4380,21 +4394,21 @@ var go = K, _o = "loading", vo = "placeholder", yo = class StickyWatch {
|
|
|
4380
4394
|
for (; n;) {
|
|
4381
4395
|
let e = flatParentFor(n);
|
|
4382
4396
|
if (!e || e === t.body || e === t.documentElement) return;
|
|
4383
|
-
if (
|
|
4397
|
+
if (co.has(getComputedStyle(e).overflowY)) return e;
|
|
4384
4398
|
n = e;
|
|
4385
4399
|
}
|
|
4386
4400
|
}
|
|
4387
4401
|
static stuckIn = /* @__PURE__ */ new Map();
|
|
4388
|
-
},
|
|
4402
|
+
}, xo = "button, input, select, textarea, a[href], summary, [tabindex], [contenteditable]", So = "input:not([type='button'], [type='submit'], [type='reset'], [type='checkbox'], [type='radio']), select, textarea, [contenteditable]:not([contenteditable='false'])", Co = {
|
|
4389
4403
|
edge: void 0,
|
|
4390
4404
|
isBound: !1
|
|
4391
|
-
},
|
|
4405
|
+
}, wo = [
|
|
4392
4406
|
"fa7-free",
|
|
4393
4407
|
"fa7-brands",
|
|
4394
4408
|
"fomantic"
|
|
4395
|
-
],
|
|
4409
|
+
], To = "fa7-free", Eo = "pack.js", Do = ":", Oo = class IconName {
|
|
4396
4410
|
static normalize(e) {
|
|
4397
|
-
return e.toLowerCase().replace(
|
|
4411
|
+
return e.toLowerCase().replace(Ao, " ").trim();
|
|
4398
4412
|
}
|
|
4399
4413
|
static fromKey(e) {
|
|
4400
4414
|
return IconName.normalize(IconName.fileOf(e));
|
|
@@ -4432,7 +4446,7 @@ var go = K, _o = "loading", vo = "placeholder", yo = class StickyWatch {
|
|
|
4432
4446
|
let a = [];
|
|
4433
4447
|
for (let t of e) {
|
|
4434
4448
|
let e = IconName.rankOf(n(t), r(t), i);
|
|
4435
|
-
e <
|
|
4449
|
+
e < ko && a.push({
|
|
4436
4450
|
item: t,
|
|
4437
4451
|
rank: e
|
|
4438
4452
|
});
|
|
@@ -4440,24 +4454,24 @@ var go = K, _o = "loading", vo = "placeholder", yo = class StickyWatch {
|
|
|
4440
4454
|
return a.sort((e, t) => e.rank - t.rank).map((e) => e.item);
|
|
4441
4455
|
}
|
|
4442
4456
|
static rankOf(e, t, n) {
|
|
4443
|
-
let r =
|
|
4457
|
+
let r = ko;
|
|
4444
4458
|
for (let t of e) {
|
|
4445
4459
|
if (t === n) return 0;
|
|
4446
4460
|
t.startsWith(n) ? r = Math.min(r, 1) : t.includes(n) && (r = Math.min(r, 2));
|
|
4447
4461
|
}
|
|
4448
|
-
return r <
|
|
4462
|
+
return r < ko ? r : t.some((e) => IconName.normalize(e).includes(n)) ? 3 : ko;
|
|
4449
4463
|
}
|
|
4450
|
-
},
|
|
4464
|
+
}, ko = 4, Ao = /[\s_-]+/g, jo = class BuiltInPacks {
|
|
4451
4465
|
static base = import.meta.url;
|
|
4452
4466
|
static has(e) {
|
|
4453
|
-
return
|
|
4467
|
+
return wo.includes(e);
|
|
4454
4468
|
}
|
|
4455
4469
|
static url(e, t = BuiltInPacks.base) {
|
|
4456
|
-
return new URL(`icon-packs/${e}/${
|
|
4470
|
+
return new URL(`icon-packs/${e}/${Eo}`, t).href;
|
|
4457
4471
|
}
|
|
4458
|
-
}, jo = "@layer ui.components.parts.types{:host{display:contents}.content{--_ui-part:content}.header{--_ui-part:header;--_link-icon-gap:.35em}.description{--_ui-part:description}.meta{--_ui-part:meta}.extra{--_ui-part:extra}.actions{--_ui-part:actions}.title{--_ui-part:title}.summary{--_ui-part:summary}.date{--_ui-part:date}.author{--_ui-part:author}.avatar{--_ui-part:avatar}.detail{--_ui-part:detail}.value{--_ui-part:value}.avatar:not(.images) img,.avatar:not(.images) ::slotted(img){object-fit:cover;width:100%;height:100%;display:block}:host(:not(:state(in-card),:state(in-item),:state(in-comment)))>.avatar{--_ui-avatar-size:var(--ui-avatar-size,2em);width:var(--_ui-avatar-size);height:var(--_ui-avatar-size);border-radius:var(--ui-radius-circle);background:var(--ui-primary);color:var(--ui-primary-on);font-weight:var(--ui-font-weight-bold);vertical-align:middle;align-self:center;place-items:center;line-height:1;text-decoration:none;display:inline-grid;overflow:hidden}:host(:not(:state(in-card),:state(in-item),:state(in-comment)))>a.avatar:focus-visible{outline:var(--ui-focus-width) solid var(--ui-focus-color);outline-offset:var(--ui-focus-offset)}.ui.header{--_ui-header-color:var(--ui-header-color,var(--ui-text-dark));--_ui-header-font-weight:var(--ui-header-font-weight,var(--ui-font-weight-bold));--_ui-header-line-height:var(--ui-header-line-height,var(--ui-line-height-heading));--_ui-header-offset:var(--ui-header-offset,calc((var(--ui-line-height-heading) - 1) * .5em));--_ui-header-margin-top:var(--ui-header-margin-top,calc(var(--ui-font-size) * 2));--_ui-header-margin-bottom:var(--ui-header-margin-bottom,var(--ui-font-size));--_ui-header-icon-size:var(--ui-header-icon-size,1.5em);--_ui-header-icon-box-width:var(--ui-icon-width,1.18em);--_ui-header-icon-margin:var(--ui-header-icon-margin,calc(var(--ui-font-size) * .75));--_ui-header-image-width:var(--ui-header-image-width,2.5em);--_ui-header-sub-color:var(--ui-header-sub-color,var(--ui-text-muted));--_ui-header-sub-font-size:var(--ui-header-sub-font-size,clamp(calc(var(--ui-font-size) * .92857), .78em, calc(var(--ui-font-size) * 1.42857)));--_ui-header-sub-margin:var(--ui-header-sub-margin,0);--_ui-header-sub-heading-ratio:var(--ui-header-sub-heading-ratio,.85714);--_ui-header-sub-heading-color:var(--ui-header-sub-heading-color,inherit);--_ui-header-icon-header-size:var(--ui-header-icon-header-size,3em);--_ui-header-icon-header-margin:var(--ui-header-icon-header-margin,calc(var(--ui-font-size) * .5));--_ui-header-dividing-padding:var(--ui-header-dividing-padding,.21428em);--_ui-header-dividing-border:var(--ui-header-dividing-border,var(--ui-border-width) solid var(--ui-border-color));--_ui-header-colored-border-width:var(--ui-header-colored-border-width,2px);--_ui-header-block-background:var(--ui-header-block-background,var(--ui-surface-strong));--_ui-header-block-border:var(--ui-header-block-border,var(--ui-border-width) solid var(--ui-border-color-strong));--_ui-header-block-padding:var(--ui-header-block-padding,.78571em 1em);--_ui-header-attached-background:var(--ui-header-attached-background,var(--ui-surface));--_ui-header-floated-margin:var(--ui-header-floated-margin,.5em);--_ui-header-disabled-opacity:var(--ui-header-disabled-opacity,var(--ui-disabled-opacity));--_ui-header-size-mini:var(--ui-header-size-mini,.85714);--_ui-header-size-tiny:var(--ui-header-size-tiny,1);--_ui-header-size-small:var(--ui-header-size-small,1.07142);--_ui-header-size-medium:var(--ui-header-size-medium,1.28571);--_ui-header-size-large:var(--ui-header-size-large,1.71428);--_ui-header-size-big:var(--ui-header-size-big,1.85714);--_ui-header-size-huge:var(--ui-header-size-huge,2);--_ui-header-size-massive:var(--ui-header-size-massive,2.28571);--_ui-header-poster-min:var(--ui-header-poster-min,2.4em);--_ui-header-poster-grow:var(--ui-header-poster-grow,7vw);--_ui-header-poster-max:var(--ui-header-poster-max,4em);--_ui-header-h1:var(--ui-header-h1,2);--_ui-header-h2:var(--ui-header-h2,1.71428);--_ui-header-h3:var(--ui-header-h3,1.28571);--_ui-header-h4:var(--ui-header-h4,1.07142);--_ui-header-h5:var(--ui-header-h5,1);--_ui-header-h6:var(--ui-header-h6,.85714);--ui-size-mini:calc(var(--_ui-header-size-mini) / var(--_ui-header-size-medium));--ui-size-tiny:calc(var(--_ui-header-size-tiny) / var(--_ui-header-size-medium));--ui-size-small:calc(var(--_ui-header-size-small) / var(--_ui-header-size-medium));--ui-size-large:calc(var(--_ui-header-size-large) / var(--_ui-header-size-medium));--ui-size-big:calc(var(--_ui-header-size-big) / var(--_ui-header-size-medium));--ui-size-huge:calc(var(--_ui-header-size-huge) / var(--_ui-header-size-medium));--ui-size-massive:calc(var(--_ui-header-size-massive) / var(--_ui-header-size-medium));--_ui-header-layout:text;--_ui-icon-owner-size:var(--_ui-header-icon-size);--_ui-icon-owner-margin:0 var(--_ui-header-icon-margin) 0 0;--_ui-icon-owner-align:middle;--_ui-icon-owner-display:inline-flex;box-sizing:border-box;margin:var(--_header-margin-top,calc(var(--_ui-header-margin-top) - var(--_ui-header-offset))) 0 var(--_header-margin-bottom,var(--_ui-header-margin-bottom));color:var(--ui-color-header,var(--_ui-header-color));font-family:var(--ui-font-family-heading);font-size:calc(var(--_header-base,1em * var(--_ui-header-size-medium)) * var(--ui-scale,1));font-weight:var(--_ui-font-weight,var(--_ui-header-font-weight));line-height:var(--_ui-header-line-height);text-transform:var(--_ui-font-case,none);border:none;padding:0;display:block}.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster){--ui-scale:1}.ui.header>slot{--ui-scale:initial}.ui.poster.header{font-size:clamp(var(--_ui-header-poster-min), var(--_ui-header-poster-grow), var(--_ui-header-poster-max));line-height:1}.ui.header:first-child{--_header-margin-top:calc(var(--_ui-header-offset) * -1)}.ui.header:last-child{--_header-margin-bottom:0}:host(:not(:first-child))>.ui.header{--_header-margin-top:initial}:host(:not(:last-child))>.ui.header{--_header-margin-bottom:initial}a.ui.header:hover{color:var(--ui-color-hover,var(--ui-link-hover))}h1.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h1))}h2.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h2))}h3.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h3))}h4.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h4))}h5.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h5))}h6.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h6))}.ui.header>img,.ui.header ::slotted(img){width:var(--_ui-header-image-width);height:auto;margin-top:calc(var(--_ui-header-offset) * -1);vertical-align:middle;margin-inline-end:var(--_ui-header-icon-margin);display:inline-block}.ui.header>.icon[part]{width:var(--_ui-header-icon-box-width);height:1em;font-size:var(--_ui-header-icon-size);vertical-align:middle;margin-inline-end:var(--_ui-header-icon-margin);display:inline-block}.ui.header>.icon[part] svg{fill:currentColor;width:auto;height:100%;margin-inline:auto;display:block}.ui.sub.header{--_header-base:calc(1em * var(--_ui-header-sub-heading-ratio));--_header-margin-bottom:.14285em;color:var(--ui-color-header,var(--_ui-header-sub-heading-color));text-transform:uppercase;padding:0}.ui.icon.header{--_ui-header-layout:icon;--_ui-icon-owner-size:var(--_ui-header-icon-header-size);--_ui-icon-owner-display:flex;--_ui-icon-owner-margin:0 auto var(--_ui-header-icon-header-margin);--_ui-icon-owner-align:baseline;margin-top:var(--_ui-header-margin-top);text-align:center;display:inline-block}.ui.icon.header>img,.ui.icon.header ::slotted(img){margin:0 auto var(--_ui-header-icon-header-margin);display:block}.ui.icon.header:first-child{margin-top:0}:host(:not(:first-child))>.ui.icon.header{margin-top:var(--_ui-header-margin-top)}.ui.icon.header:after{content:\"\";clear:both;visibility:hidden;height:0;display:block}}@layer ui.components.parts.content{:host(:state(in-header))>.content,.in-header.content{vertical-align:top;display:inline-block}:host(:state(in-header):not(:first-child))>.content,.in-header.content:not(:first-child){vertical-align:middle}:host(:state(in-header))>.header,.in-header.header{margin:var(--_ui-header-sub-margin,var(--ui-header-sub-margin,0));color:var(--_ui-header-sub-color,var(--ui-header-sub-color,var(--ui-text-muted)));font-size:var(--_ui-header-sub-font-size,var(--ui-header-sub-font-size,1em));font-weight:var(--ui-font-weight-normal);padding:0;line-height:1.2em;display:block}:host(:state(in-card))>.content,.in-card.content{padding:var(--ui-card-content-padding,1em);border:none;border-top:var(--ui-border-width) solid var(--ui-card-divider-color,var(--ui-border-color-internal));box-shadow:none;background:0 0;border-radius:0;flex-grow:1;margin:0;font-size:1em}:host(:state(in-card):first-child)>.content,.in-card.content:first-child{border-top:none}@container style(--_ui-card-leading:1){:host(:state(in-card):first-child)>.content{border-top:var(--ui-border-width) solid var(--ui-card-divider-color,var(--ui-border-color-internal))}}:host(:state(in-card))>.content:after,.in-card.content:after{content:\" \";clear:both;visibility:hidden;height:0;display:block;overflow:hidden}:host(:state(in-card))>.header,.in-card.header{margin-top:calc((1 - var(--ui-line-height)) * .5em);color:var(--ui-card-header-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:var(--ui-card-header-font-size,1.28571em);font-weight:var(--ui-font-weight-bold);line-height:var(--ui-line-height-heading);display:block}:host(:state(in-card))>a.header,a.in-card.header{text-decoration:none}:host(:state(in-card))>a.header:hover,a.in-card.header:hover{color:var(--ui-link-hover)}:host(:state(in-card))>.meta,.in-card.meta{color:var(--ui-card-meta-color,var(--ui-text-light));font-size:1em}:host(:state(in-card))>.meta>::slotted(*),.in-card.meta>*{margin-inline-end:var(--ui-card-meta-spacing,.3em)}:host(:state(in-card))>.meta>::slotted(:last-child),.in-card.meta>:last-child{margin-inline-end:0}:host(:state(in-card))>.meta>::slotted(a),.in-card.meta>a{color:var(--ui-text-light);text-decoration:none}:host(:state(in-card))>.meta>::slotted(a:hover),.in-card.meta>a:hover{color:var(--ui-text-color)}:host(:state(in-card))>.description,.in-card.description{clear:both;color:var(--ui-card-description-color,oklch(from var(--ui-ink) l c h / .68))}:host(:state(in-card):not(:first-child))>.description,.in-card.description:not(:first-child){margin-top:var(--ui-card-description-distance,.5em)}:host(:state(in-card))>.extra,.in-card.extra{width:auto;max-width:100%;min-height:0;padding:var(--ui-card-extra-padding,.75em 1em);border-top:var(--ui-border-width) solid var(--ui-card-extra-divider,oklch(from var(--ui-ink) l c h / .05));box-shadow:none;color:var(--ui-card-extra-color,var(--ui-text-light));transition:color var(--ui-duration-fast) var(--ui-ease);background:0 0;flex-grow:0;margin:0;position:static}:host(:state(in-card))>.extra>::slotted(a),.in-card.extra>a{color:var(--ui-text-unselected);text-decoration:none}:host(:state(in-card))>.extra>::slotted(a:hover),.in-card.extra>a:hover{color:var(--ui-link-hover)}:host(:state(in-card))>.avatar,.in-card.avatar{width:var(--ui-card-avatar-size,2em);height:var(--ui-card-avatar-size,2em);border-radius:var(--ui-radius-circle);vertical-align:middle;display:inline-block;overflow:hidden}:host(:state(in-item))>.content,.in-item.content{box-shadow:none;color:var(--ui-item-content-color,var(--ui-text-color));background:0 0;border:none;border-radius:0;flex:auto;margin:0;padding:0;font-size:1em;display:block}:host(:state(in-item))>.content:after,.in-item.content:after{content:\" \";clear:both;visibility:hidden;height:0;display:block;overflow:hidden}:host(:state(in-item):not(:first-child))>.content,.in-item.content:not(:first-child){width:auto;min-width:0;align-self:start;padding-inline-start:var(--_ui-item-content-distance,1.5em)}:host(:state(in-item))>.header,.in-item.header{margin:calc((1 - var(--ui-line-height)) * .5em) 0 0;color:var(--ui-item-header-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:var(--ui-item-header-font-size,1.28571em);font-weight:var(--ui-font-weight-bold);display:inline-block}:host(:state(in-item))>a.header:hover,a.in-item.header:hover{color:var(--ui-link-hover)}:host(:state(in-item))>.description,.in-item.description{max-width:none;margin-top:var(--ui-item-description-distance,.6em);color:var(--ui-item-description-color,var(--ui-text-color));font-size:1em;line-height:var(--ui-line-height)}:host(:state(in-item))>.meta,.in-item.meta{color:var(--ui-item-meta-color,var(--ui-text-muted));margin:.5em 0;font-size:1em;line-height:1em}:host(:state(in-item))>.meta>::slotted(*),.in-item.meta>*{margin-inline-end:var(--ui-item-meta-spacing,.3em)}:host(:state(in-item))>.meta>::slotted(:last-child),.in-item.meta>:last-child{margin-inline-end:0}:host(:state(in-item))>.extra,.in-item.extra{width:100%;box-shadow:none;color:var(--ui-item-extra-color,var(--ui-text-light));transition:color var(--ui-duration-fast) var(--ui-ease);background:0 0;border-top:none;margin:.5em 0 0;padding:0;display:block;position:relative}:host(:state(in-item))>.extra>::slotted(*),.in-item.extra>*{margin:.25em .5em .25em 0}:host(:state(in-item))>.extra:after,.in-item.extra:after{content:\" \";clear:both;visibility:hidden;height:0;display:block;overflow:hidden}:host(:state(in-item))>.avatar,.in-item.avatar{border-radius:var(--ui-radius-circle);display:inline-block;overflow:hidden}:host(:is(:state(in-card),:state(in-item)))>.description>::slotted(p),:is(.in-card,.in-item).description>p{margin:0 0 .5em}:host(:is(:state(in-card),:state(in-item)))>.description>::slotted(p:last-child),:is(.in-card,.in-item).description>p:last-child{margin-bottom:0}:host(:state(in-feed))>.content,.in-feed.content{text-align:start;overflow-wrap:break-word;flex:auto;align-self:stretch;display:block}:host(:state(in-feed):not(:first-child))>.content,.in-feed.content:not(:first-child){margin:.5em 0 .35714em 1.14285em}:host(:state(in-feed))>.summary,.in-feed.summary{color:var(--ui-feed-summary-color,var(--ui-text-color));font-size:1em;font-weight:var(--ui-font-weight-bold);margin:0}:host(:state(in-feed))>.date,.in-feed.date{color:var(--ui-feed-date-color,var(--ui-text-light));font-size:1em;font-style:normal;font-weight:var(--ui-font-weight-normal);margin:-.5em 0 0;padding:0}:host(:state(in-feed))>.author,.in-feed.author{font-weight:var(--ui-font-weight-bold);vertical-align:baseline;margin-inline-end:0;display:inline-block}:host(:state(in-feed))>a.author,a.in-feed.author{color:var(--ui-feed-author-color,var(--ui-link))}:host(:state(in-feed))>a.author:hover,a.in-feed.author:hover{color:var(--ui-link-hover)}:host(:state(in-feed))>.extra,.in-feed.extra{color:var(--ui-feed-extra-color,var(--ui-text-color));background:0 0;margin:.5em 0 0;padding:0}:host(:state(in-feed))>.extra.text,.in-feed.extra.text{max-width:var(--ui-feed-extra-text-width,500px);font-size:1em;line-height:var(--ui-line-height);border-inline-start:none;padding:0}:host(:state(in-feed))>.meta,.in-feed.meta{box-shadow:none;color:var(--ui-feed-meta-color,var(--ui-text-muted));background:0 0;border:none;border-radius:0;margin:.5em 0 0;padding:0;font-size:.85714em;display:inline-block}:host(:state(in-feed))>.meta>::slotted(*),.in-feed.meta>*{margin-inline-start:.75em;position:relative}:host(:state(in-feed))>.meta>::slotted(:first-child),.in-feed.meta>:first-child{margin-inline-start:0}:host(:state(in-feed))>.meta>::slotted(a),.in-feed.meta>a{color:var(--ui-feed-meta-action-color,var(--ui-text-light));cursor:var(--ui-control-cursor);transition:color var(--ui-duration-fast) var(--ui-ease)}:host(:state(in-feed))>.meta>::slotted(a:hover),.in-feed.meta>a:hover{color:var(--ui-text-selected)}:host(:state(in-comment))>.avatar,.in-comment.avatar{float:left;width:var(--ui-comment-avatar-width,2.5em);height:auto;margin:.2em 0 0;display:block}:host(:state(in-comment))>.avatar img,:host(:state(in-comment))>.avatar ::slotted(img),.in-comment.avatar img{border-radius:var(--ui-radius-s);margin:0 auto}:host(:state(in-comment))>.content,.in-comment.content{display:block}:host(:state(in-comment):not(:first-child))>.content,.in-comment.content:not(:first-child){margin-inline-start:var(--ui-comment-content-margin,3.5em)}:host(:state(in-comment))>.content:is(:hover,:focus-within),.in-comment.content:is(:hover,:focus-within){--_ui-comment-hover:1}:host(:state(in-comment))>.author,.in-comment.author{color:var(--ui-comment-author-color,var(--ui-text-color));font-size:1em;font-weight:var(--ui-font-weight-bold)}:host(:state(in-comment))>a.author:hover,a.in-comment.author:hover{color:var(--ui-link-hover)}:host(:state(in-comment))>.meta,.in-comment.meta{color:var(--ui-comment-meta-color,var(--ui-text-light));margin-inline-start:.5em;font-size:.875em;display:inline-block}:host(:state(in-comment))>.meta>::slotted(*),.in-comment.meta>*{margin:0 .5em 0 0;display:inline-block}:host(:state(in-comment))>.meta>::slotted(:last-child),.in-comment.meta>:last-child{margin-inline-end:0}:host(:state(in-comment))>.description,.in-comment.description{color:var(--ui-comment-text-color,var(--ui-text-color));overflow-wrap:break-word;margin:.25em 0 .5em;font-size:1em;line-height:1.3}:host(:state(in-comment))>.actions,.in-comment.actions{font-size:.875em}:host(:state(in-comment))>.actions>::slotted(:is(a,button)),.in-comment.actions>:is(a,button){color:var(--ui-comment-action-color,var(--ui-text-unselected));font:inherit;cursor:var(--ui-control-cursor);background:0 0;border:none;margin:0 .75em 0 0;padding:0;display:inline-block}:host(:state(in-comment))>.actions>::slotted(:is(a,button):last-child),.in-comment.actions>:is(a,button):last-child{margin-inline-end:0}:host(:state(in-comment))>.actions>::slotted(:is(a,button):is(:hover,.active)),.in-comment.actions>:is(a,button):is(:hover,.active){color:var(--ui-text-hovered)}:host(:state(in-modal))>.header,.in-modal.header{border-bottom:var(--ui-border-width) solid var(--ui-border-color);background:var(--_ui-modal-header-background,var(--ui-surface));box-shadow:none;color:var(--_ui-modal-header-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:var(--_ui-modal-header-size,1.42857em);font-weight:var(--ui-font-weight-bold);line-height:var(--ui-line-height-heading);margin:0;padding:.875em 1.05em;display:block}:host(:state(in-modal))>.content,.in-modal.content{width:100%;padding:var(--ui-modal-content-padding,1.5em);background:var(--_ui-modal-content-background,var(--ui-surface));font-size:1em;line-height:1.4;display:block}:host(:state(in-modal))>.content.image,.in-modal.content.image{flex-direction:row;display:flex}:host(:state(in-modal))>.content.scrolling,.in-modal.content.scrolling{max-height:var(--ui-modal-scrolling-height,calc(80dvh - 10em));overscroll-behavior:none;overflow:auto}:host(:state(in-modal))>.description,.in-modal.description{flex:1 0 auto;align-self:start;min-width:0;display:block}:host(:state(in-modal):not(:first-child))>.description,.in-modal.description:not(:first-child){width:auto;min-width:auto;flex:auto;padding-inline-start:var(--ui-modal-description-distance,2em)}:host(:state(in-modal))>.actions,.in-modal.actions{padding:var(--ui-modal-actions-padding,1em);border-top:var(--ui-border-width) solid var(--ui-border-color);background:var(--_ui-modal-actions-background,var(--ui-surface-muted));text-align:right}:host(:state(in-modal))>.actions>::slotted(*),.in-modal.actions>*{margin-inline-start:var(--ui-modal-button-distance,.75em)}:host(:state(in-modal):first-child)>:is(.header,.content,.actions),.in-modal:is(.header,.content,.actions):first-child{border-start-start-radius:var(--_ui-modal-radius,var(--ui-radius));border-start-end-radius:var(--_ui-modal-radius,var(--ui-radius))}:host(:state(in-modal):last-child)>:is(.header,.content,.actions),.in-modal:is(.header,.content,.actions):last-child{border-end-end-radius:var(--_ui-modal-radius,var(--ui-radius));border-end-start-radius:var(--_ui-modal-radius,var(--ui-radius))}@media (width<768px){:host(:state(in-modal))>.header,.in-modal.header{padding:.525em .7em}:host(:state(in-modal))>.content,.in-modal.content{padding:1em;display:block}:host(:state(in-modal))>.content.image,.in-modal.content.image{flex-direction:column}:host(:state(in-modal))>.description,.in-modal.description,:host(:state(in-modal):not(:first-child))>.description,.in-modal.description:not(:first-child){width:100%;margin:0;padding:1em 0;display:block}:host(:state(in-modal))>.actions,.in-modal.actions{padding:1em 1em 0}:host(:state(in-modal))>.actions>::slotted(*),.in-modal.actions>*{margin-bottom:1em}}:host(:state(in-flyout))>.header,.in-flyout.header{border-bottom:var(--ui-border-width) solid var(--ui-border-color);background:var(--ui-flyout-header-background,var(--_ui-flyout-background,var(--ui-surface)));color:var(--_ui-flyout-header-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:var(--ui-flyout-header-size,1.28571em);font-weight:var(--ui-font-weight-bold);line-height:var(--ui-line-height-heading);margin:0;padding:1.25em 1.5em;display:block}:host(:state(in-flyout))>.content,.in-flyout.content{box-sizing:border-box;width:100%;padding:var(--ui-flyout-content-padding,1.5em);background:var(--ui-flyout-content-background,var(--_ui-flyout-background,var(--ui-surface)));flex:1 0 auto;font-size:1em;line-height:1.4;display:block}:host(:state(in-flyout))>.actions,.in-flyout.actions{padding:var(--ui-flyout-actions-padding,1em);border-top:var(--ui-border-width) solid var(--ui-border-color);background:var(--_ui-flyout-actions-background,var(--ui-surface-muted));text-align:right;flex:none}:host(:state(in-flyout))>.actions>::slotted(*),.in-flyout.actions>*{margin-inline-start:var(--ui-flyout-button-distance,.75em)}:host(:state(in-message))>.header,.in-message.header{margin:calc((1 - var(--ui-line-height-heading)) * .5em) 0 0;color:var(--ui-color-header,inherit);font-family:var(--ui-font-family-heading);font-size:var(--_ui-message-header-font-size,1.14285em);font-weight:var(--ui-font-weight-bold);display:block}:host(:state(in-list))>.content,.in-list.content{color:var(--_ui-list-content-color,var(--ui-text-color));line-height:1.14285em}:host(:state(in-list):not(:first-child))>.content,.in-list.content:not(:first-child){width:100%;padding:0 0 0 var(--_ui-list-content-distance,.5em);vertical-align:var(--_ui-list-align,top);display:table-cell}img.image+.in-list.content{width:auto;display:inline-block}:host(:state(in-list))>.header,.in-list.header{color:var(--_ui-list-header-color,var(--ui-text-color));font-family:var(--ui-font-family-heading);font-weight:var(--ui-font-weight-bold);margin:0;display:block}:host(:state(in-list))>a.header,a.in-list.header{color:var(--ui-link);cursor:var(--ui-control-cursor)}:host(:state(in-list))>a.header:hover,a.in-list.header:hover{color:var(--ui-link-hover)}:host(:state(in-list))>.description,.in-list.description{color:var(--_ui-list-description-color,oklch(from var(--ui-ink) l c h / .7));display:block}:host(:state(in-menu))>.header,.in-menu.header{font-size:1em;font-weight:var(--ui-font-weight-bold);margin:0 0 .5em;display:block}:host(:state(in-statistic))>.value,.in-statistic.value{color:var(--ui-color,var(--ui-statistic-value-color,var(--ui-ink)));font-family:var(--ui-font-family);font-size:var(--_ui-statistic-value-size,calc(var(--ui-font-size) * 4));font-weight:var(--ui-font-weight-normal);text-align:center;text-transform:uppercase;line-height:1em}:host(:state(in-statistic))>.value.text,.in-statistic.value.text{min-height:2em;font-size:var(--_ui-statistic-text-value-size,calc(var(--ui-font-size) * 2));font-weight:var(--ui-font-weight-bold);line-height:1em}:host(:state(in-statistic))>.label,.in-statistic.label{color:var(--ui-statistic-label-color,var(--ui-text-color));font-family:var(--ui-font-family-heading);font-size:1em;font-weight:var(--ui-font-weight-bold);text-align:center;text-transform:uppercase;margin:0;padding:0;display:block}:host(:state(in-statistic))>.value ::slotted(img),.in-statistic.value img{max-height:calc(var(--ui-font-size) * 3);vertical-align:baseline}:host(:state(in-statistic))>.value,.in-statistic.value{--_ui-icon-owner-margin:0;--_ui-icon-owner-opacity:1}:host(:state(in-step))>.content,.in-step.content{margin:var(--_ui-step-content-margin,0);padding:var(--_ui-step-content-padding,0);flex:0 auto;align-self:center;display:block}:host(:state(in-step))>.title,.in-step.title{width:100%;font-family:var(--ui-font-family-heading);font-size:var(--ui-step-title-font-size,1.14285em);font-weight:var(--ui-font-weight-bold);line-height:1.14285em}:host(:state(in-step))>.description,.in-step.description{width:100%;color:var(--ui-step-description-color,var(--ui-text-color));font-size:var(--ui-step-description-font-size,.92857em);font-weight:var(--ui-font-weight-normal);line-height:1.14285em}:host(:state(in-step):not(:first-child))>.description,.in-step.description:not(:first-child){margin-top:var(--_ui-step-description-distance,.25em)}:host(:state(in-accordion))>.title,.in-accordion.title{padding:var(--_ui-accordion-title-padding,.5em 0);color:var(--_ui-accordion-title-color,var(--ui-text-color));font-family:var(--ui-font-family-heading);cursor:var(--ui-control-cursor);font-size:1em;line-height:1;list-style:none}:host(:state(in-accordion))>.content,.in-accordion.content{padding:var(--_ui-accordion-content-padding,.5em 0 1em)}:host(:state(in-accordion):last-child)>.content,.in-accordion.content:last-child{padding-bottom:0}:host(:state(in-popup))>.header,.in-popup.header{font-family:var(--ui-font-family-heading);font-size:var(--_ui-popup-header-font-size,1.14285em);font-weight:var(--ui-font-weight-bold);padding:0;line-height:1.2}:host(:state(in-popup):not(:first-child))>.content,.in-popup.content:not(:first-child){padding-top:var(--_ui-popup-header-distance,.5em)}:host(:state(in-toast))>.header,.in-toast.header{color:inherit;font-weight:var(--ui-font-weight-bold);margin:0}:host(:state(in-toast))>.actions,.in-toast.actions{border-top:var(--ui-border-width) solid var(--ui-toast-actions-border,oklch(from var(--ui-shadow-ink) l c h / .2));background:var(--ui-toast-actions-background,oklch(from var(--ui-ink-on-dark) l c h / .25));text-align:right;margin:.5em -1em -1em;padding:.5em .5em .75em}:host(:state(in-search))>.title,.in-search.title{margin:calc((1 - var(--ui-line-height-heading)) * .5em) 0 0;color:var(--_ui-search-title-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:1em;font-weight:var(--ui-font-weight-bold)}:host(:state(in-search))>.description,.in-search.description{color:var(--_ui-search-description-color,var(--ui-text-light));margin-top:0;font-size:.92857em}:host(:state(in-search))>.value,.in-search.value{float:right;color:var(--_ui-search-price-color,var(--ui-green-text))}:host(:state(in-label))>.detail,.in-label.detail{--_ui-icon-owner-margin:0 .25em 0 0;font-weight:var(--_ui-label-detail-weight,var(--ui-font-weight-bold));opacity:var(--_ui-label-detail-opacity,1);vertical-align:top;margin-inline-start:var(--_ui-label-detail-distance,1em);display:inline-block}}@layer ui.components.parts.variations{.ui.dividing.header{padding-bottom:var(--_ui-header-dividing-padding);border-bottom:var(--_ui-header-dividing-border);border-bottom-color:var(--ui-color,var(--ui-border-color));box-shadow:inset 0 calc(var(--ui-border-width) - var(--_ui-header-colored-border-width)) 0 0 var(--ui-color,transparent)}.ui.block.header{padding:var(--_ui-header-block-padding);border:var(--_ui-header-block-border);border-radius:var(--ui-radius);background:var(--_ui-header-block-background);box-shadow:none}.ui.block.header:not(h1,h2,h3,h4,h5,h6){--_header-base:var(--ui-font-size)}.ui.attached.header{margin:0 calc(var(--ui-border-width) * -1);padding:var(--_ui-header-block-padding);border:var(--_ui-header-block-border);background:var(--_ui-header-attached-background);box-shadow:none;border-radius:0}.ui.attached.block.header{background:var(--_ui-header-block-background)}.ui.attached:not(.top).header{border-top:none}.ui[class*=top\\ attached].header{border-radius:var(--ui-radius) var(--ui-radius) 0 0}.ui[class*=bottom\\ attached].header{border-radius:0 0 var(--ui-radius) var(--ui-radius)}.ui.seamless.attached:not(.bottom).header{border-bottom:none}.ui.attached.header:not(h1,h2,h3,h4,h5,h6){--_header-base:1em}.ui.inverted.header{--ui-inverted:1;--ui-scheme:dark;color-scheme:dark}.ui[class*=left\\ aligned].header{text-align:left}.ui[class*=right\\ aligned].header{text-align:right}.ui:is(.centered,[class*=center\\ aligned]).header{text-align:center}.ui.justified.header{text-align:justify}.ui.justified.header:after{content:\"\";width:100%;display:inline-block}.ui.icon.header:is(.centered,[class*=aligned],.justified){margin-inline:auto;display:block}.ui:is(.floated,[class*=left\\ floated]).header{float:left;margin-top:0;margin-inline-end:var(--_ui-header-floated-margin)}.ui[class*=right\\ floated].header{float:right;margin-top:0;margin-inline-start:var(--_ui-header-floated-margin)}.ui.fitted.header{padding:0}@container style(--_ui-header-layout:icon){:host(:state(in-header))>.content,.in-header.content{padding:0;display:block}}@container style(--_ui-card-layout:horizontal){:host(:state(in-card))>.content,.in-card.content{border-top:none;flex-basis:1px}:host(:state(in-card))>.extra,.in-card.extra{flex-basis:100%}}@container style(--_ui-item-media:1){:host(:state(in-item))>.content{width:auto;min-width:0;align-self:start;padding-inline-start:var(--_ui-item-content-distance,1.5em)}}@container style(--_ui-item-layout:stacked){:host(:state(in-item):not(:first-child))>.content,.in-item.content:not(:first-child){padding:var(--ui-item-content-distance-mobile,1.5em) 0 0;display:block}}@container style(--_ui-item-layout:stacked) and style(--_ui-item-media:1){:host(:state(in-item))>.content{padding:var(--ui-item-content-distance-mobile,1.5em) 0 0;display:block}}@container style(--_ui-item-state:hover){:host(:state(in-item))>.header,.in-item.header{color:var(--ui-link-hover)}}@container style(--ui-inverted:1){:host(:state(in-card))>a.header,a.in-card.header,:host(:state(in-item))>a.header,a.in-item.header,:host(:state(in-list))>a.header,a.in-list.header{color:var(--ui-text-inverted-color)}:host(:state(in-statistic))>.value,.in-statistic.value{color:var(--ui-color,var(--ui-ink-on-dark))}}@container style(--_ui-comments-minimal:1){:host(:state(in-comment))>.actions,.in-comment.actions{opacity:0;transition:opacity var(--ui-duration-normal) var(--ui-ease) .1s;position:absolute;top:0;left:auto;right:0}}@container style(--_ui-comments-minimal:1) and style(--_ui-comment-hover:1){:host(:state(in-comment))>.actions,.in-comment.actions{opacity:1}}@container style(--_ui-modal-basic:1){:host(:state(in-modal))>:is(.header,.content,.actions),.in-modal:is(.header,.content,.actions){background-color:#0000;border:none}:host(:state(in-modal))>.header,.in-modal.header{color:var(--ui-ink-on-dark)}}@container style(--_ui-message-layout:icon){:host(:state(in-message))>.content,.in-message.content{vertical-align:middle;flex:auto;padding-inline-start:0;display:block}}@container style(--_ui-event-label:1){:host(:state(in-feed))>.content{margin:.5em 0 .35714em 1.14285em}}.content[class*=left\\ floated]{float:left}.content[class*=right\\ floated]{float:right}.content[class*=left\\ aligned]{text-align:left}.content[class*=center\\ aligned]{text-align:center}.content[class*=right\\ aligned]{text-align:right}.content.justified{text-align:justify}:host(:state(in-item))>.content[class*=top\\ aligned],.in-item.content[class*=top\\ aligned]{align-self:flex-start}:host(:state(in-item))>.content[class*=middle\\ aligned],.in-item.content[class*=middle\\ aligned]{align-self:center}:host(:state(in-item))>.content[class*=bottom\\ aligned],.in-item.content[class*=bottom\\ aligned]{align-self:flex-end}:host(:state(in-list))>.content[class*=top\\ aligned],.in-list.content[class*=top\\ aligned]{vertical-align:top}:host(:state(in-list))>.content[class*=middle\\ aligned],.in-list.content[class*=middle\\ aligned]{vertical-align:middle}:host(:state(in-list))>.content[class*=bottom\\ aligned],.in-list.content[class*=bottom\\ aligned]{vertical-align:bottom}@container style(--_ui-item-media:1){:host(:state(in-list))>.content{width:100%;padding:0 0 0 var(--_ui-list-content-distance,.5em);vertical-align:var(--_ui-list-align,top);display:table-cell}}@container style(--_ui-item-media:image){:host(:state(in-list))>.content{width:auto;padding:0 0 0 var(--_ui-list-content-distance,.5em);vertical-align:var(--_ui-list-align,top);display:inline-block}}@container style(--_ui-list-layout:horizontal){:host(:state(in-list))>.content,.in-list.content,:host(:state(in-list):not(:first-child))>.content,.in-list.content:not(:first-child){width:auto;vertical-align:var(--_ui-list-align,middle);display:inline-block}}@container style(--_ui-statistic-layout:horizontal){:host(:state(in-statistic))>.value,.in-statistic.value{font-size:var(--_ui-statistic-value-size,calc(var(--ui-font-size) * 3));vertical-align:middle;display:inline-block}:host(:state(in-statistic))>.value.text,.in-statistic.value.text{min-height:0}:host(:state(in-statistic))>.label,.in-statistic.label{vertical-align:middle;margin:0 0 0 .75em;display:inline-block}}@container style(--_ui-step-layout:stacked){:host(:state(in-step))>.content,.in-step.content{text-align:center}}@container style(--_ui-accordion-style:styled){:host(:state(in-accordion))>.title,.in-accordion.title{border-top:var(--ui-border-width) solid var(--ui-border-color);color:var(--ui-text-unselected);font-weight:var(--ui-font-weight-bold);transition:background var(--ui-duration-fast) var(--ui-ease), color var(--ui-duration-fast) var(--ui-ease);margin:0;padding:.75em 1em}:host(:state(in-accordion):first-child)>.title,.in-accordion.title:first-child{border-top:none}:host(:state(in-accordion))>.content,.in-accordion.content{margin:0;padding:.5em 1em 1.5em}}@container style(--_ui-label-layout:image){:host(:state(in-label))>.detail,.in-label.detail{border-radius:0 var(--ui-radius) var(--ui-radius) 0;background:var(--_ui-label-detail-background,var(--ui-label-detail-background,oklch(from var(--ui-shadow-ink) l c h / .1)));opacity:1;margin:-.5833em -.833em -.5833em .5em;padding:.5833em .833em}}@container style(--_ui-part:summary){:host(:state(in-feed))>.date,.in-feed.date{color:var(--ui-feed-date-color,var(--ui-text-light));font-size:.85714em;font-style:normal;font-weight:var(--ui-font-weight-normal);margin:0 0 0 .5em;padding:0;display:inline-block}}}@layer ui.components.parts.states{.ui.disabled.header{opacity:var(--_ui-header-disabled-opacity)}@container style(--_ui-step-state:active){:host(:state(in-step))>.title,.in-step.title{color:var(--_ui-step-active-title-color,var(--ui-link))}}@container style(--_ui-step-state:disabled){:host(:state(in-step))>:is(.title,.description),.in-step:is(.title,.description){color:var(--ui-text-disabled)}}@container style(--_ui-accordion-style:styled){:host(:state(in-accordion))>.title:hover,.in-accordion.title:hover{color:var(--ui-text-color)}}@container style(--_ui-accordion-style:styled) and style(--_ui-accordion-open:1){:host(:state(in-accordion))>.title,.in-accordion.title{color:var(--ui-text-selected)}}@container style(--_ui-search-result:active){:host(:state(in-search))>:is(.title,.description),.in-search:is(.title,.description){color:var(--ui-text-dark)}}}", Mo = /* @__PURE__ */ pe("<slot>"), No, Po, Fo, q = class _PartComponent extends (Po = Yt, No = [protoMerged], Po) {
|
|
4472
|
+
}, Mo = "@layer ui.components.parts.types{:host{display:contents}.content{--_ui-part:content}.header{--_ui-part:header;--_link-icon-gap:.35em}.description{--_ui-part:description}.meta{--_ui-part:meta}.extra{--_ui-part:extra}.actions{--_ui-part:actions}.title{--_ui-part:title}.summary{--_ui-part:summary}.date{--_ui-part:date}.author{--_ui-part:author}.avatar{--_ui-part:avatar}.detail{--_ui-part:detail}.value{--_ui-part:value}.avatar:not(.images) img,.avatar:not(.images) ::slotted(img){object-fit:cover;width:100%;height:100%;display:block}:host(:not(:state(in-card),:state(in-item),:state(in-comment)))>.avatar{--_ui-avatar-size:var(--ui-avatar-size,2em);width:var(--_ui-avatar-size);height:var(--_ui-avatar-size);border-radius:var(--ui-radius-circle);background:var(--ui-primary);color:var(--ui-primary-on);font-weight:var(--ui-font-weight-bold);vertical-align:middle;align-self:center;place-items:center;line-height:1;text-decoration:none;display:inline-grid;overflow:hidden}:host(:not(:state(in-card),:state(in-item),:state(in-comment)))>a.avatar:focus-visible{outline:var(--ui-focus-width) solid var(--ui-focus-color);outline-offset:var(--ui-focus-offset)}.ui.header{--_ui-header-color:var(--ui-header-color,var(--ui-text-dark));--_ui-header-font-weight:var(--ui-header-font-weight,var(--ui-font-weight-bold));--_ui-header-line-height:var(--ui-header-line-height,var(--ui-line-height-heading));--_ui-header-offset:var(--ui-header-offset,calc((var(--ui-line-height-heading) - 1) * .5em));--_ui-header-margin-top:var(--ui-header-margin-top,calc(var(--ui-font-size) * 2));--_ui-header-margin-bottom:var(--ui-header-margin-bottom,var(--ui-font-size));--_ui-header-icon-size:var(--ui-header-icon-size,1.5em);--_ui-header-icon-box-width:var(--ui-icon-width,1.18em);--_ui-header-icon-margin:var(--ui-header-icon-margin,calc(var(--ui-font-size) * .75));--_ui-header-image-width:var(--ui-header-image-width,2.5em);--_ui-header-sub-color:var(--ui-header-sub-color,var(--ui-text-muted));--_ui-header-sub-font-size:var(--ui-header-sub-font-size,clamp(calc(var(--ui-font-size) * .92857), .78em, calc(var(--ui-font-size) * 1.42857)));--_ui-header-sub-margin:var(--ui-header-sub-margin,0);--_ui-header-sub-heading-ratio:var(--ui-header-sub-heading-ratio,.85714);--_ui-header-sub-heading-color:var(--ui-header-sub-heading-color,inherit);--_ui-header-icon-header-size:var(--ui-header-icon-header-size,3em);--_ui-header-icon-header-margin:var(--ui-header-icon-header-margin,calc(var(--ui-font-size) * .5));--_ui-header-dividing-padding:var(--ui-header-dividing-padding,.21428em);--_ui-header-dividing-border:var(--ui-header-dividing-border,var(--ui-border-width) solid var(--ui-border-color));--_ui-header-colored-border-width:var(--ui-header-colored-border-width,2px);--_ui-header-block-background:var(--ui-header-block-background,var(--ui-surface-strong));--_ui-header-block-border:var(--ui-header-block-border,var(--ui-border-width) solid var(--ui-border-color-strong));--_ui-header-block-padding:var(--ui-header-block-padding,.78571em 1em);--_ui-header-attached-background:var(--ui-header-attached-background,var(--ui-surface));--_ui-header-floated-margin:var(--ui-header-floated-margin,.5em);--_ui-header-disabled-opacity:var(--ui-header-disabled-opacity,var(--ui-disabled-opacity));--_ui-header-size-mini:var(--ui-header-size-mini,.85714);--_ui-header-size-tiny:var(--ui-header-size-tiny,1);--_ui-header-size-small:var(--ui-header-size-small,1.07142);--_ui-header-size-medium:var(--ui-header-size-medium,1.28571);--_ui-header-size-large:var(--ui-header-size-large,1.71428);--_ui-header-size-big:var(--ui-header-size-big,1.85714);--_ui-header-size-huge:var(--ui-header-size-huge,2);--_ui-header-size-massive:var(--ui-header-size-massive,2.28571);--_ui-header-poster-min:var(--ui-header-poster-min,2.4em);--_ui-header-poster-grow:var(--ui-header-poster-grow,7vw);--_ui-header-poster-max:var(--ui-header-poster-max,4em);--_ui-header-h1:var(--ui-header-h1,2);--_ui-header-h2:var(--ui-header-h2,1.71428);--_ui-header-h3:var(--ui-header-h3,1.28571);--_ui-header-h4:var(--ui-header-h4,1.07142);--_ui-header-h5:var(--ui-header-h5,1);--_ui-header-h6:var(--ui-header-h6,.85714);--ui-size-mini:calc(var(--_ui-header-size-mini) / var(--_ui-header-size-medium));--ui-size-tiny:calc(var(--_ui-header-size-tiny) / var(--_ui-header-size-medium));--ui-size-small:calc(var(--_ui-header-size-small) / var(--_ui-header-size-medium));--ui-size-large:calc(var(--_ui-header-size-large) / var(--_ui-header-size-medium));--ui-size-big:calc(var(--_ui-header-size-big) / var(--_ui-header-size-medium));--ui-size-huge:calc(var(--_ui-header-size-huge) / var(--_ui-header-size-medium));--ui-size-massive:calc(var(--_ui-header-size-massive) / var(--_ui-header-size-medium));--_ui-header-layout:text;--_ui-icon-owner-size:var(--_ui-header-icon-size);--_ui-icon-owner-margin:0 var(--_ui-header-icon-margin) 0 0;--_ui-icon-owner-align:middle;--_ui-icon-owner-display:inline-flex;box-sizing:border-box;margin:var(--_header-margin-top,calc(var(--_ui-header-margin-top) - var(--_ui-header-offset))) 0 var(--_header-margin-bottom,var(--_ui-header-margin-bottom));color:var(--ui-color-header,var(--_ui-header-color));font-family:var(--ui-font-family-heading);font-size:calc(var(--_header-base,1em * var(--_ui-header-size-medium)) * var(--ui-scale,1));font-weight:var(--_ui-font-weight,var(--_ui-header-font-weight));line-height:var(--_ui-header-line-height);text-transform:var(--_ui-font-case,none);border:none;padding:0;display:block}.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster){--ui-scale:1}.ui.header>slot{--ui-scale:initial}.ui.poster.header{font-size:clamp(var(--_ui-header-poster-min), var(--_ui-header-poster-grow), var(--_ui-header-poster-max));line-height:1}.ui.header:first-child{--_header-margin-top:calc(var(--_ui-header-offset) * -1)}.ui.header:last-child{--_header-margin-bottom:0}:host(:not(:first-child))>.ui.header{--_header-margin-top:initial}:host(:not(:last-child))>.ui.header{--_header-margin-bottom:initial}a.ui.header:hover{color:var(--ui-color-hover,var(--ui-link-hover))}h1.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h1))}h2.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h2))}h3.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h3))}h4.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h4))}h5.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h5))}h6.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h6))}.ui.header>img,.ui.header ::slotted(img){width:var(--_ui-header-image-width);height:auto;margin-top:calc(var(--_ui-header-offset) * -1);vertical-align:middle;margin-inline-end:var(--_ui-header-icon-margin);display:inline-block}.ui.header>.icon[part]{width:var(--_ui-header-icon-box-width);height:1em;font-size:var(--_ui-header-icon-size);vertical-align:middle;margin-inline-end:var(--_ui-header-icon-margin);display:inline-block}.ui.header>.icon[part] svg{fill:currentColor;width:auto;height:100%;margin-inline:auto;display:block}.ui.sub.header{--_header-base:calc(1em * var(--_ui-header-sub-heading-ratio));--_header-margin-bottom:.14285em;color:var(--ui-color-header,var(--_ui-header-sub-heading-color));text-transform:uppercase;padding:0}.ui.icon.header{--_ui-header-layout:icon;--_ui-icon-owner-size:var(--_ui-header-icon-header-size);--_ui-icon-owner-display:flex;--_ui-icon-owner-margin:0 auto var(--_ui-header-icon-header-margin);--_ui-icon-owner-align:baseline;margin-top:var(--_ui-header-margin-top);text-align:center;display:inline-block}.ui.icon.header>img,.ui.icon.header ::slotted(img){margin:0 auto var(--_ui-header-icon-header-margin);display:block}.ui.icon.header:first-child{margin-top:0}:host(:not(:first-child))>.ui.icon.header{margin-top:var(--_ui-header-margin-top)}.ui.icon.header:after{content:\"\";clear:both;visibility:hidden;height:0;display:block}}@layer ui.components.parts.content{:host(:state(in-header))>.content,.in-header.content{vertical-align:top;display:inline-block}:host(:state(in-header):not(:first-child))>.content,.in-header.content:not(:first-child){vertical-align:middle}:host(:state(in-header))>.header,.in-header.header{margin:var(--_ui-header-sub-margin,var(--ui-header-sub-margin,0));color:var(--_ui-header-sub-color,var(--ui-header-sub-color,var(--ui-text-muted)));font-size:var(--_ui-header-sub-font-size,var(--ui-header-sub-font-size,1em));font-weight:var(--ui-font-weight-normal);padding:0;line-height:1.2em;display:block}:host(:state(in-card))>.content,.in-card.content{padding:var(--ui-card-content-padding,1em);border:none;border-top:var(--ui-border-width) solid var(--ui-card-divider-color,var(--ui-border-color-internal));box-shadow:none;background:0 0;border-radius:0;flex-grow:1;margin:0;font-size:1em}:host(:state(in-card):first-child)>.content,.in-card.content:first-child{border-top:none}@container style(--_ui-card-leading:1){:host(:state(in-card):first-child)>.content{border-top:var(--ui-border-width) solid var(--ui-card-divider-color,var(--ui-border-color-internal))}}:host(:state(in-card))>.content:after,.in-card.content:after{content:\" \";clear:both;visibility:hidden;height:0;display:block;overflow:hidden}:host(:state(in-card))>.header,.in-card.header{margin-top:calc((1 - var(--ui-line-height)) * .5em);color:var(--ui-card-header-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:var(--ui-card-header-font-size,1.28571em);font-weight:var(--ui-font-weight-bold);line-height:var(--ui-line-height-heading);display:block}:host(:state(in-card))>a.header,a.in-card.header{text-decoration:none}:host(:state(in-card))>a.header:hover,a.in-card.header:hover{color:var(--ui-link-hover)}:host(:state(in-card))>.meta,.in-card.meta{color:var(--ui-card-meta-color,var(--ui-text-light));font-size:1em}:host(:state(in-card))>.meta>::slotted(*),.in-card.meta>*{margin-inline-end:var(--ui-card-meta-spacing,.3em)}:host(:state(in-card))>.meta>::slotted(:last-child),.in-card.meta>:last-child{margin-inline-end:0}:host(:state(in-card))>.meta>::slotted(a),.in-card.meta>a{color:var(--ui-text-light);text-decoration:none}:host(:state(in-card))>.meta>::slotted(a:hover),.in-card.meta>a:hover{color:var(--ui-text-color)}:host(:state(in-card))>.description,.in-card.description{clear:both;color:var(--ui-card-description-color,oklch(from var(--ui-ink) l c h / .68))}:host(:state(in-card):not(:first-child))>.description,.in-card.description:not(:first-child){margin-top:var(--ui-card-description-distance,.5em)}:host(:state(in-card))>.extra,.in-card.extra{width:auto;max-width:100%;min-height:0;padding:var(--ui-card-extra-padding,.75em 1em);border-top:var(--ui-border-width) solid var(--ui-card-extra-divider,oklch(from var(--ui-ink) l c h / .05));box-shadow:none;color:var(--ui-card-extra-color,var(--ui-text-light));transition:color var(--ui-duration-fast) var(--ui-ease);background:0 0;flex-grow:0;margin:0;position:static}:host(:state(in-card))>.extra>::slotted(a),.in-card.extra>a{color:var(--ui-text-unselected);text-decoration:none}:host(:state(in-card))>.extra>::slotted(a:hover),.in-card.extra>a:hover{color:var(--ui-link-hover)}:host(:state(in-card))>.avatar,.in-card.avatar{width:var(--ui-card-avatar-size,2em);height:var(--ui-card-avatar-size,2em);border-radius:var(--ui-radius-circle);vertical-align:middle;display:inline-block;overflow:hidden}:host(:state(in-item))>.content,.in-item.content{box-shadow:none;color:var(--ui-item-content-color,var(--ui-text-color));background:0 0;border:none;border-radius:0;flex:auto;margin:0;padding:0;font-size:1em;display:block}:host(:state(in-item))>.content:after,.in-item.content:after{content:\" \";clear:both;visibility:hidden;height:0;display:block;overflow:hidden}:host(:state(in-item):not(:first-child))>.content,.in-item.content:not(:first-child){width:auto;min-width:0;align-self:start;padding-inline-start:var(--_ui-item-content-distance,1.5em)}:host(:state(in-item))>.header,.in-item.header{margin:calc((1 - var(--ui-line-height)) * .5em) 0 0;color:var(--ui-item-header-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:var(--ui-item-header-font-size,1.28571em);font-weight:var(--ui-font-weight-bold);display:inline-block}:host(:state(in-item))>a.header:hover,a.in-item.header:hover{color:var(--ui-link-hover)}:host(:state(in-item))>.description,.in-item.description{max-width:none;margin-top:var(--ui-item-description-distance,.6em);color:var(--ui-item-description-color,var(--ui-text-color));font-size:1em;line-height:var(--ui-line-height)}:host(:state(in-item))>.meta,.in-item.meta{color:var(--ui-item-meta-color,var(--ui-text-muted));margin:.5em 0;font-size:1em;line-height:1em}:host(:state(in-item))>.meta>::slotted(*),.in-item.meta>*{margin-inline-end:var(--ui-item-meta-spacing,.3em)}:host(:state(in-item))>.meta>::slotted(:last-child),.in-item.meta>:last-child{margin-inline-end:0}:host(:state(in-item))>.extra,.in-item.extra{width:100%;box-shadow:none;color:var(--ui-item-extra-color,var(--ui-text-light));transition:color var(--ui-duration-fast) var(--ui-ease);background:0 0;border-top:none;margin:.5em 0 0;padding:0;display:block;position:relative}:host(:state(in-item))>.extra>::slotted(*),.in-item.extra>*{margin:.25em .5em .25em 0}:host(:state(in-item))>.extra:after,.in-item.extra:after{content:\" \";clear:both;visibility:hidden;height:0;display:block;overflow:hidden}:host(:state(in-item))>.avatar,.in-item.avatar{border-radius:var(--ui-radius-circle);display:inline-block;overflow:hidden}:host(:is(:state(in-card),:state(in-item)))>.description>::slotted(p),:is(.in-card,.in-item).description>p{margin:0 0 .5em}:host(:is(:state(in-card),:state(in-item)))>.description>::slotted(p:last-child),:is(.in-card,.in-item).description>p:last-child{margin-bottom:0}:host(:state(in-feed))>.content,.in-feed.content{text-align:start;overflow-wrap:break-word;flex:auto;align-self:stretch;display:block}:host(:state(in-feed):not(:first-child))>.content,.in-feed.content:not(:first-child){margin:.5em 0 .35714em 1.14285em}:host(:state(in-feed))>.summary,.in-feed.summary{color:var(--ui-feed-summary-color,var(--ui-text-color));font-size:1em;font-weight:var(--ui-font-weight-bold);margin:0}:host(:state(in-feed))>.date,.in-feed.date{color:var(--ui-feed-date-color,var(--ui-text-light));font-size:1em;font-style:normal;font-weight:var(--ui-font-weight-normal);margin:-.5em 0 0;padding:0}:host(:state(in-feed))>.author,.in-feed.author{font-weight:var(--ui-font-weight-bold);vertical-align:baseline;margin-inline-end:0;display:inline-block}:host(:state(in-feed))>a.author,a.in-feed.author{color:var(--ui-feed-author-color,var(--ui-link))}:host(:state(in-feed))>a.author:hover,a.in-feed.author:hover{color:var(--ui-link-hover)}:host(:state(in-feed))>.extra,.in-feed.extra{color:var(--ui-feed-extra-color,var(--ui-text-color));background:0 0;margin:.5em 0 0;padding:0}:host(:state(in-feed))>.extra.text,.in-feed.extra.text{max-width:var(--ui-feed-extra-text-width,500px);font-size:1em;line-height:var(--ui-line-height);border-inline-start:none;padding:0}:host(:state(in-feed))>.meta,.in-feed.meta{box-shadow:none;color:var(--ui-feed-meta-color,var(--ui-text-muted));background:0 0;border:none;border-radius:0;margin:.5em 0 0;padding:0;font-size:.85714em;display:inline-block}:host(:state(in-feed))>.meta>::slotted(*),.in-feed.meta>*{margin-inline-start:.75em;position:relative}:host(:state(in-feed))>.meta>::slotted(:first-child),.in-feed.meta>:first-child{margin-inline-start:0}:host(:state(in-feed))>.meta>::slotted(a),.in-feed.meta>a{color:var(--ui-feed-meta-action-color,var(--ui-text-light));cursor:var(--ui-control-cursor);transition:color var(--ui-duration-fast) var(--ui-ease)}:host(:state(in-feed))>.meta>::slotted(a:hover),.in-feed.meta>a:hover{color:var(--ui-text-selected)}:host(:state(in-comment))>.avatar,.in-comment.avatar{float:left;width:var(--ui-comment-avatar-width,2.5em);height:auto;margin:.2em 0 0;display:block}:host(:state(in-comment))>.avatar img,:host(:state(in-comment))>.avatar ::slotted(img),.in-comment.avatar img{border-radius:var(--ui-radius-s);margin:0 auto}:host(:state(in-comment))>.content,.in-comment.content{display:block}:host(:state(in-comment):not(:first-child))>.content,.in-comment.content:not(:first-child){margin-inline-start:var(--ui-comment-content-margin,3.5em)}:host(:state(in-comment))>.content:is(:hover,:focus-within),.in-comment.content:is(:hover,:focus-within){--_ui-comment-hover:1}:host(:state(in-comment))>.author,.in-comment.author{color:var(--ui-comment-author-color,var(--ui-text-color));font-size:1em;font-weight:var(--ui-font-weight-bold)}:host(:state(in-comment))>a.author:hover,a.in-comment.author:hover{color:var(--ui-link-hover)}:host(:state(in-comment))>.meta,.in-comment.meta{color:var(--ui-comment-meta-color,var(--ui-text-light));margin-inline-start:.5em;font-size:.875em;display:inline-block}:host(:state(in-comment))>.meta>::slotted(*),.in-comment.meta>*{margin:0 .5em 0 0;display:inline-block}:host(:state(in-comment))>.meta>::slotted(:last-child),.in-comment.meta>:last-child{margin-inline-end:0}:host(:state(in-comment))>.description,.in-comment.description{color:var(--ui-comment-text-color,var(--ui-text-color));overflow-wrap:break-word;margin:.25em 0 .5em;font-size:1em;line-height:1.3}:host(:state(in-comment))>.actions,.in-comment.actions{font-size:.875em}:host(:state(in-comment))>.actions>::slotted(:is(a,button)),.in-comment.actions>:is(a,button){color:var(--ui-comment-action-color,var(--ui-text-unselected));font:inherit;cursor:var(--ui-control-cursor);background:0 0;border:none;margin:0 .75em 0 0;padding:0;display:inline-block}:host(:state(in-comment))>.actions>::slotted(:is(a,button):last-child),.in-comment.actions>:is(a,button):last-child{margin-inline-end:0}:host(:state(in-comment))>.actions>::slotted(:is(a,button):is(:hover,.active)),.in-comment.actions>:is(a,button):is(:hover,.active){color:var(--ui-text-hovered)}:host(:state(in-modal))>.header,.in-modal.header{border-bottom:var(--ui-border-width) solid var(--ui-border-color);background:var(--_ui-modal-header-background,var(--ui-surface));box-shadow:none;color:var(--_ui-modal-header-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:var(--_ui-modal-header-size,1.42857em);font-weight:var(--ui-font-weight-bold);line-height:var(--ui-line-height-heading);margin:0;padding:.875em 1.05em;display:block}:host(:state(in-modal))>.content,.in-modal.content{width:100%;padding:var(--ui-modal-content-padding,1.5em);background:var(--_ui-modal-content-background,var(--ui-surface));font-size:1em;line-height:1.4;display:block}:host(:state(in-modal))>.content.image,.in-modal.content.image{flex-direction:row;display:flex}:host(:state(in-modal))>.content.scrolling,.in-modal.content.scrolling{max-height:var(--ui-modal-scrolling-height,calc(80dvh - 10em));overscroll-behavior:none;overflow:auto}:host(:state(in-modal))>.description,.in-modal.description{flex:1 0 auto;align-self:start;min-width:0;display:block}:host(:state(in-modal):not(:first-child))>.description,.in-modal.description:not(:first-child){width:auto;min-width:auto;flex:auto;padding-inline-start:var(--ui-modal-description-distance,2em)}:host(:state(in-modal))>.actions,.in-modal.actions{padding:var(--ui-modal-actions-padding,1em);border-top:var(--ui-border-width) solid var(--ui-border-color);background:var(--_ui-modal-actions-background,var(--ui-surface-muted));text-align:right}:host(:state(in-modal))>.actions>::slotted(*),.in-modal.actions>*{margin-inline-start:var(--ui-modal-button-distance,.75em)}:host(:state(in-modal):first-child)>:is(.header,.content,.actions),.in-modal:is(.header,.content,.actions):first-child{border-start-start-radius:var(--_ui-modal-radius,var(--ui-radius));border-start-end-radius:var(--_ui-modal-radius,var(--ui-radius))}:host(:state(in-modal):last-child)>:is(.header,.content,.actions),.in-modal:is(.header,.content,.actions):last-child{border-end-end-radius:var(--_ui-modal-radius,var(--ui-radius));border-end-start-radius:var(--_ui-modal-radius,var(--ui-radius))}@media (width<768px){:host(:state(in-modal))>.header,.in-modal.header{padding:.525em .7em}:host(:state(in-modal))>.content,.in-modal.content{padding:1em;display:block}:host(:state(in-modal))>.content.image,.in-modal.content.image{flex-direction:column}:host(:state(in-modal))>.description,.in-modal.description,:host(:state(in-modal):not(:first-child))>.description,.in-modal.description:not(:first-child){width:100%;margin:0;padding:1em 0;display:block}:host(:state(in-modal))>.actions,.in-modal.actions{padding:1em 1em 0}:host(:state(in-modal))>.actions>::slotted(*),.in-modal.actions>*{margin-bottom:1em}}:host(:state(in-flyout))>.header,.in-flyout.header{border-bottom:var(--ui-border-width) solid var(--ui-border-color);background:var(--ui-flyout-header-background,var(--_ui-flyout-background,var(--ui-surface)));color:var(--_ui-flyout-header-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:var(--ui-flyout-header-size,1.28571em);font-weight:var(--ui-font-weight-bold);line-height:var(--ui-line-height-heading);margin:0;padding:1.25em 1.5em;display:block}:host(:state(in-flyout))>.content,.in-flyout.content{box-sizing:border-box;width:100%;padding:var(--ui-flyout-content-padding,1.5em);background:var(--ui-flyout-content-background,var(--_ui-flyout-background,var(--ui-surface)));flex:1 0 auto;font-size:1em;line-height:1.4;display:block}:host(:state(in-flyout))>.actions,.in-flyout.actions{padding:var(--ui-flyout-actions-padding,1em);border-top:var(--ui-border-width) solid var(--ui-border-color);background:var(--_ui-flyout-actions-background,var(--ui-surface-muted));text-align:right;flex:none}:host(:state(in-flyout))>.actions>::slotted(*),.in-flyout.actions>*{margin-inline-start:var(--ui-flyout-button-distance,.75em)}:host(:state(in-message))>.header,.in-message.header{margin:calc((1 - var(--ui-line-height-heading)) * .5em) 0 0;color:var(--ui-color-header,inherit);font-family:var(--ui-font-family-heading);font-size:var(--_ui-message-header-font-size,1.14285em);font-weight:var(--ui-font-weight-bold);display:block}:host(:state(in-list))>.content,.in-list.content{color:var(--_ui-list-content-color,var(--ui-text-color));line-height:1.14285em}:host(:state(in-list):not(:first-child))>.content,.in-list.content:not(:first-child){width:100%;padding:0 0 0 var(--_ui-list-content-distance,.5em);vertical-align:var(--_ui-list-align,top);display:table-cell}img.image+.in-list.content{width:auto;display:inline-block}:host(:state(in-list))>.header,.in-list.header{color:var(--_ui-list-header-color,var(--ui-text-color));font-family:var(--ui-font-family-heading);font-weight:var(--ui-font-weight-bold);margin:0;display:block}:host(:state(in-list))>a.header,a.in-list.header{color:var(--ui-link);cursor:var(--ui-control-cursor)}:host(:state(in-list))>a.header:hover,a.in-list.header:hover{color:var(--ui-link-hover)}:host(:state(in-list))>.description,.in-list.description{color:var(--_ui-list-description-color,oklch(from var(--ui-ink) l c h / .7));display:block}:host(:state(in-menu))>.header,.in-menu.header{font-size:1em;font-weight:var(--ui-font-weight-bold);margin:0 0 .5em;display:block}:host(:state(in-statistic))>.value,.in-statistic.value{color:var(--ui-color,var(--ui-statistic-value-color,var(--ui-ink)));font-family:var(--ui-font-family);font-size:var(--_ui-statistic-value-size,calc(var(--ui-font-size) * 4));font-weight:var(--ui-font-weight-normal);text-align:center;text-transform:uppercase;line-height:1em}:host(:state(in-statistic))>.value.text,.in-statistic.value.text{min-height:2em;font-size:var(--_ui-statistic-text-value-size,calc(var(--ui-font-size) * 2));font-weight:var(--ui-font-weight-bold);line-height:1em}:host(:state(in-statistic))>.label,.in-statistic.label{color:var(--ui-statistic-label-color,var(--ui-text-color));font-family:var(--ui-font-family-heading);font-size:1em;font-weight:var(--ui-font-weight-bold);text-align:center;text-transform:uppercase;margin:0;padding:0;display:block}:host(:state(in-statistic))>.value ::slotted(img),.in-statistic.value img{max-height:calc(var(--ui-font-size) * 3);vertical-align:baseline}:host(:state(in-statistic))>.value,.in-statistic.value{--_ui-icon-owner-margin:0;--_ui-icon-owner-opacity:1}:host(:state(in-step))>.content,.in-step.content{margin:var(--_ui-step-content-margin,0);padding:var(--_ui-step-content-padding,0);flex:0 auto;align-self:center;display:block}:host(:state(in-step))>.title,.in-step.title{width:100%;font-family:var(--ui-font-family-heading);font-size:var(--ui-step-title-font-size,1.14285em);font-weight:var(--ui-font-weight-bold);line-height:1.14285em}:host(:state(in-step))>.description,.in-step.description{width:100%;color:var(--ui-step-description-color,var(--ui-text-color));font-size:var(--ui-step-description-font-size,.92857em);font-weight:var(--ui-font-weight-normal);line-height:1.14285em}:host(:state(in-step):not(:first-child))>.description,.in-step.description:not(:first-child){margin-top:var(--_ui-step-description-distance,.25em)}:host(:state(in-accordion))>.title,.in-accordion.title{padding:var(--_ui-accordion-title-padding,.5em 0);color:var(--_ui-accordion-title-color,var(--ui-text-color));font-family:var(--ui-font-family-heading);cursor:var(--ui-control-cursor);font-size:1em;line-height:1;list-style:none}:host(:state(in-accordion))>.content,.in-accordion.content{padding:var(--_ui-accordion-content-padding,.5em 0 1em)}:host(:state(in-accordion):last-child)>.content,.in-accordion.content:last-child{padding-bottom:0}:host(:state(in-popup))>.header,.in-popup.header{font-family:var(--ui-font-family-heading);font-size:var(--_ui-popup-header-font-size,1.14285em);font-weight:var(--ui-font-weight-bold);padding:0;line-height:1.2}:host(:state(in-popup):not(:first-child))>.content,.in-popup.content:not(:first-child){padding-top:var(--_ui-popup-header-distance,.5em)}:host(:state(in-toast))>.header,.in-toast.header{color:inherit;font-weight:var(--ui-font-weight-bold);margin:0}:host(:state(in-toast))>.actions,.in-toast.actions{border-top:var(--ui-border-width) solid var(--ui-toast-actions-border,oklch(from var(--ui-shadow-ink) l c h / .2));background:var(--ui-toast-actions-background,oklch(from var(--ui-ink-on-dark) l c h / .25));text-align:right;margin:.5em -1em -1em;padding:.5em .5em .75em}:host(:state(in-search))>.title,.in-search.title{margin:calc((1 - var(--ui-line-height-heading)) * .5em) 0 0;color:var(--_ui-search-title-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:1em;font-weight:var(--ui-font-weight-bold)}:host(:state(in-search))>.description,.in-search.description{color:var(--_ui-search-description-color,var(--ui-text-light));margin-top:0;font-size:.92857em}:host(:state(in-search))>.value,.in-search.value{float:right;color:var(--_ui-search-price-color,var(--ui-green-text))}:host(:state(in-label))>.detail,.in-label.detail{--_ui-icon-owner-margin:0 .25em 0 0;font-weight:var(--_ui-label-detail-weight,var(--ui-font-weight-bold));opacity:var(--_ui-label-detail-opacity,1);vertical-align:top;margin-inline-start:var(--_ui-label-detail-distance,1em);display:inline-block}}@layer ui.components.parts.variations{.ui.dividing.header{padding-bottom:var(--_ui-header-dividing-padding);border-bottom:var(--_ui-header-dividing-border);border-bottom-color:var(--ui-color,var(--ui-border-color));box-shadow:inset 0 calc(var(--ui-border-width) - var(--_ui-header-colored-border-width)) 0 0 var(--ui-color,transparent)}.ui.block.header{padding:var(--_ui-header-block-padding);border:var(--_ui-header-block-border);border-radius:var(--ui-radius);background:var(--_ui-header-block-background);box-shadow:none}.ui.block.header:not(h1,h2,h3,h4,h5,h6){--_header-base:var(--ui-font-size)}.ui.attached.header{margin:0 calc(var(--ui-border-width) * -1);padding:var(--_ui-header-block-padding);border:var(--_ui-header-block-border);background:var(--_ui-header-attached-background);box-shadow:none;border-radius:0}.ui.attached.block.header{background:var(--_ui-header-block-background)}.ui.attached:not(.top).header{border-top:none}.ui[class*=top\\ attached].header{border-radius:var(--ui-radius) var(--ui-radius) 0 0}.ui[class*=bottom\\ attached].header{border-radius:0 0 var(--ui-radius) var(--ui-radius)}.ui.seamless.attached:not(.bottom).header{border-bottom:none}.ui.attached.header:not(h1,h2,h3,h4,h5,h6){--_header-base:1em}.ui.inverted.header{--ui-inverted:1;--ui-scheme:dark;color-scheme:dark}.ui[class*=left\\ aligned].header{text-align:left}.ui[class*=right\\ aligned].header{text-align:right}.ui:is(.centered,[class*=center\\ aligned]).header{text-align:center}.ui.justified.header{text-align:justify}.ui.justified.header:after{content:\"\";width:100%;display:inline-block}.ui.icon.header:is(.centered,[class*=aligned],.justified){margin-inline:auto;display:block}.ui:is(.floated,[class*=left\\ floated]).header{float:left;margin-top:0;margin-inline-end:var(--_ui-header-floated-margin)}.ui[class*=right\\ floated].header{float:right;margin-top:0;margin-inline-start:var(--_ui-header-floated-margin)}.ui.fitted.header{padding:0}@container style(--_ui-header-layout:icon){:host(:state(in-header))>.content,.in-header.content{padding:0;display:block}}@container style(--_ui-card-layout:horizontal){:host(:state(in-card))>.content,.in-card.content{border-top:none;flex-basis:1px}:host(:state(in-card))>.extra,.in-card.extra{flex-basis:100%}}@container style(--_ui-item-media:1){:host(:state(in-item))>.content{width:auto;min-width:0;align-self:start;padding-inline-start:var(--_ui-item-content-distance,1.5em)}}@container style(--_ui-item-layout:stacked){:host(:state(in-item):not(:first-child))>.content,.in-item.content:not(:first-child){padding:var(--ui-item-content-distance-mobile,1.5em) 0 0;display:block}}@container style(--_ui-item-layout:stacked) and style(--_ui-item-media:1){:host(:state(in-item))>.content{padding:var(--ui-item-content-distance-mobile,1.5em) 0 0;display:block}}@container style(--_ui-item-state:hover){:host(:state(in-item))>.header,.in-item.header{color:var(--ui-link-hover)}}@container style(--ui-inverted:1){:host(:state(in-card))>a.header,a.in-card.header,:host(:state(in-item))>a.header,a.in-item.header,:host(:state(in-list))>a.header,a.in-list.header{color:var(--ui-text-inverted-color)}:host(:state(in-statistic))>.value,.in-statistic.value{color:var(--ui-color,var(--ui-ink-on-dark))}}@container style(--_ui-comments-minimal:1){:host(:state(in-comment))>.actions,.in-comment.actions{opacity:0;transition:opacity var(--ui-duration-normal) var(--ui-ease) .1s;position:absolute;top:0;left:auto;right:0}}@container style(--_ui-comments-minimal:1) and style(--_ui-comment-hover:1){:host(:state(in-comment))>.actions,.in-comment.actions{opacity:1}}@container style(--_ui-modal-basic:1){:host(:state(in-modal))>:is(.header,.content,.actions),.in-modal:is(.header,.content,.actions){background-color:#0000;border:none}:host(:state(in-modal))>.header,.in-modal.header{color:var(--ui-ink-on-dark)}}@container style(--_ui-message-layout:icon){:host(:state(in-message))>.content,.in-message.content{vertical-align:middle;flex:auto;padding-inline-start:0;display:block}}@container style(--_ui-event-label:1){:host(:state(in-feed))>.content{margin:.5em 0 .35714em 1.14285em}}.content[class*=left\\ floated]{float:left}.content[class*=right\\ floated]{float:right}.content[class*=left\\ aligned]{text-align:left}.content[class*=center\\ aligned]{text-align:center}.content[class*=right\\ aligned]{text-align:right}.content.justified{text-align:justify}:host(:state(in-item))>.content[class*=top\\ aligned],.in-item.content[class*=top\\ aligned]{align-self:flex-start}:host(:state(in-item))>.content[class*=middle\\ aligned],.in-item.content[class*=middle\\ aligned]{align-self:center}:host(:state(in-item))>.content[class*=bottom\\ aligned],.in-item.content[class*=bottom\\ aligned]{align-self:flex-end}:host(:state(in-list))>.content[class*=top\\ aligned],.in-list.content[class*=top\\ aligned]{vertical-align:top}:host(:state(in-list))>.content[class*=middle\\ aligned],.in-list.content[class*=middle\\ aligned]{vertical-align:middle}:host(:state(in-list))>.content[class*=bottom\\ aligned],.in-list.content[class*=bottom\\ aligned]{vertical-align:bottom}@container style(--_ui-item-media:1){:host(:state(in-list))>.content{width:100%;padding:0 0 0 var(--_ui-list-content-distance,.5em);vertical-align:var(--_ui-list-align,top);display:table-cell}}@container style(--_ui-item-media:image){:host(:state(in-list))>.content{width:auto;padding:0 0 0 var(--_ui-list-content-distance,.5em);vertical-align:var(--_ui-list-align,top);display:inline-block}}@container style(--_ui-list-layout:horizontal){:host(:state(in-list))>.content,.in-list.content,:host(:state(in-list):not(:first-child))>.content,.in-list.content:not(:first-child){width:auto;vertical-align:var(--_ui-list-align,middle);display:inline-block}}@container style(--_ui-statistic-layout:horizontal){:host(:state(in-statistic))>.value,.in-statistic.value{font-size:var(--_ui-statistic-value-size,calc(var(--ui-font-size) * 3));vertical-align:middle;display:inline-block}:host(:state(in-statistic))>.value.text,.in-statistic.value.text{min-height:0}:host(:state(in-statistic))>.label,.in-statistic.label{vertical-align:middle;margin:0 0 0 .75em;display:inline-block}}@container style(--_ui-step-layout:stacked){:host(:state(in-step))>.content,.in-step.content{text-align:center}}@container style(--_ui-accordion-style:styled){:host(:state(in-accordion))>.title,.in-accordion.title{border-top:var(--ui-border-width) solid var(--ui-border-color);color:var(--ui-text-unselected);font-weight:var(--ui-font-weight-bold);transition:background var(--ui-duration-fast) var(--ui-ease), color var(--ui-duration-fast) var(--ui-ease);margin:0;padding:.75em 1em}:host(:state(in-accordion):first-child)>.title,.in-accordion.title:first-child{border-top:none}:host(:state(in-accordion))>.content,.in-accordion.content{margin:0;padding:.5em 1em 1.5em}}@container style(--_ui-label-layout:image){:host(:state(in-label))>.detail,.in-label.detail{border-radius:0 var(--ui-radius) var(--ui-radius) 0;background:var(--_ui-label-detail-background,var(--ui-label-detail-background,oklch(from var(--ui-shadow-ink) l c h / .1)));opacity:1;margin:-.5833em -.833em -.5833em .5em;padding:.5833em .833em}}@container style(--_ui-part:summary){:host(:state(in-feed))>.date,.in-feed.date{color:var(--ui-feed-date-color,var(--ui-text-light));font-size:.85714em;font-style:normal;font-weight:var(--ui-font-weight-normal);margin:0 0 0 .5em;padding:0;display:inline-block}}}@layer ui.components.parts.states{.ui.disabled.header{opacity:var(--_ui-header-disabled-opacity)}@container style(--_ui-step-state:active){:host(:state(in-step))>.title,.in-step.title{color:var(--_ui-step-active-title-color,var(--ui-link))}}@container style(--_ui-step-state:disabled){:host(:state(in-step))>:is(.title,.description),.in-step:is(.title,.description){color:var(--ui-text-disabled)}}@container style(--_ui-accordion-style:styled){:host(:state(in-accordion))>.title:hover,.in-accordion.title:hover{color:var(--ui-text-color)}}@container style(--_ui-accordion-style:styled) and style(--_ui-accordion-open:1){:host(:state(in-accordion))>.title,.in-accordion.title{color:var(--ui-text-selected)}}@container style(--_ui-search-result:active){:host(:state(in-search))>:is(.title,.description),.in-search:is(.title,.description){color:var(--ui-text-dark)}}}", No = /* @__PURE__ */ pe("<slot>"), Po, Fo, Io, q = class _PartComponent extends (Fo = Yt, Po = [protoMerged], Fo) {
|
|
4459
4473
|
constructor() {
|
|
4460
|
-
super(...arguments), __publicField(this, "context", new
|
|
4474
|
+
super(...arguments), __publicField(this, "context", new D({
|
|
4461
4475
|
domElement: this.domElement,
|
|
4462
4476
|
noun: this.vocabulary.noun
|
|
4463
4477
|
}));
|
|
@@ -4501,22 +4515,22 @@ var go = K, _o = "loading", vo = "placeholder", yo = class StickyWatch {
|
|
|
4501
4515
|
get rootTabIndex() {}
|
|
4502
4516
|
get rootLabel() {}
|
|
4503
4517
|
content() {
|
|
4504
|
-
var e =
|
|
4518
|
+
var e = No();
|
|
4505
4519
|
return e._$owner = se(), e;
|
|
4506
4520
|
}
|
|
4507
4521
|
};
|
|
4508
|
-
|
|
4509
|
-
styleSheets: { parts:
|
|
4522
|
+
Io = __decoratorStart(Fo), __decorateElement(Io, 13, "elementSetup", Po, q), __decoratorMetadata(Io, q), __name(q, "PartComponent"), __publicField(q, "elementSetup", __runInitializers(Io, 8, q, {
|
|
4523
|
+
styleSheets: { parts: Mo },
|
|
4510
4524
|
isAPart: !0
|
|
4511
|
-
})), __runInitializers(
|
|
4512
|
-
var
|
|
4513
|
-
|
|
4525
|
+
})), __runInitializers(Io, 11, q);
|
|
4526
|
+
var Lo = q, Ro, zo = [state], J, Bo;
|
|
4527
|
+
Ro = [derived];
|
|
4514
4528
|
var Y = class _IconGlyph {
|
|
4515
4529
|
constructor({ owner: e, name: t }) {
|
|
4516
|
-
__runInitializers(J, 5, this), __privateAdd(this,
|
|
4530
|
+
__runInitializers(J, 5, this), __privateAdd(this, Bo, __runInitializers(J, 8, this)), __runInitializers(J, 11, this), __publicField(this, "owner"), __publicField(this, "name"), __publicField(this, "request", 0), this.owner = e, this.name = t, h || (this.svgTemplate = p(() => _IconGlyph.peek(e.domElement, t())), i(() => ({
|
|
4517
4531
|
name: t(),
|
|
4518
4532
|
connected: e.isConnected,
|
|
4519
|
-
generation:
|
|
4533
|
+
generation: qa.generation
|
|
4520
4534
|
}), ({ name: e, connected: t }) => {
|
|
4521
4535
|
(t || !this.request) && this.load(e);
|
|
4522
4536
|
}));
|
|
@@ -4531,7 +4545,7 @@ var Y = class _IconGlyph {
|
|
|
4531
4545
|
this.request === t && (this.svgTemplate = n);
|
|
4532
4546
|
}
|
|
4533
4547
|
static packsFor(e, t) {
|
|
4534
|
-
return
|
|
4548
|
+
return qa.nearest(e, "icons") ?? t;
|
|
4535
4549
|
}
|
|
4536
4550
|
static draw(e) {
|
|
4537
4551
|
let t = e.cloneNode(!0);
|
|
@@ -4541,21 +4555,21 @@ var Y = class _IconGlyph {
|
|
|
4541
4555
|
let n = globalThis[R]?.icons;
|
|
4542
4556
|
if (!t || !n || !_IconGlyph.serverMarkup) return;
|
|
4543
4557
|
let r = _IconGlyph.serverMarkup(_IconGlyph.packsFor(e, n), t);
|
|
4544
|
-
if (r) return fe([r.replace(
|
|
4558
|
+
if (r) return fe([r.replace(Ho, "<svg aria-hidden=\"true\"")]);
|
|
4545
4559
|
}
|
|
4546
4560
|
static peek(e, t) {
|
|
4547
4561
|
let n = globalThis[R]?.icons;
|
|
4548
4562
|
return t && n ? _IconGlyph.packsFor(e, n).peek(t) : void 0;
|
|
4549
4563
|
}
|
|
4550
4564
|
};
|
|
4551
|
-
J = __decoratorStart(null),
|
|
4552
|
-
var
|
|
4565
|
+
J = __decoratorStart(null), Bo = /* @__PURE__ */ new WeakMap(), __decorateElement(J, 4, "svgTemplate", zo, Y, Bo), __decorateElement(J, 2, "svg", Ro, Y), __decoratorMetadata(J, Y), __name(Y, "IconGlyph"), __publicField(Y, "serverMarkup");
|
|
4566
|
+
var Vo = Y, Ho = /<svg\b/, Uo = /* @__PURE__ */ pe("<button type=button>"), CloseButton = class {
|
|
4553
4567
|
props;
|
|
4554
4568
|
glyph;
|
|
4555
4569
|
constructor(e) {
|
|
4556
|
-
this.props = e, this.glyph = new
|
|
4570
|
+
this.props = e, this.glyph = new Vo({
|
|
4557
4571
|
owner: e.owner,
|
|
4558
|
-
name: () => e.shows() ?
|
|
4572
|
+
name: () => e.shows() ? Ri : void 0
|
|
4559
4573
|
});
|
|
4560
4574
|
}
|
|
4561
4575
|
draw() {
|
|
@@ -4565,9 +4579,9 @@ var Bo = Y, Vo = /<svg\b/, Ho = /* @__PURE__ */ pe("<button type=button>"), Clos
|
|
|
4565
4579
|
return e();
|
|
4566
4580
|
},
|
|
4567
4581
|
get children() {
|
|
4568
|
-
var e =
|
|
4582
|
+
var e = Uo();
|
|
4569
4583
|
return ne(e, "click", i, !0), de(e, "part", n), ce(e, () => a.glyph.svg), ae(() => ({
|
|
4570
|
-
e: le(
|
|
4584
|
+
e: le(Li),
|
|
4571
4585
|
t: t()
|
|
4572
4586
|
}), ({ e: t, t: n }, r) => {
|
|
4573
4587
|
re(e, t, r?.e), n !== r?.t && de(e, "aria-label", n);
|
|
@@ -4578,16 +4592,16 @@ var Bo = Y, Vo = /<svg\b/, Ho = /* @__PURE__ */ pe("<button type=button>"), Clos
|
|
|
4578
4592
|
};
|
|
4579
4593
|
ie(["click"]);
|
|
4580
4594
|
// src/elements/ClipboardCopy.ts
|
|
4581
|
-
var
|
|
4582
|
-
constructor({ seconds: e =
|
|
4583
|
-
__privateAdd(this,
|
|
4595
|
+
var Wo = [state], Go, Ko, qo = class _ClipboardCopy {
|
|
4596
|
+
constructor({ seconds: e = Yo } = {}) {
|
|
4597
|
+
__privateAdd(this, Ko, __runInitializers(Go, 8, this, !1)), __runInitializers(Go, 11, this), __publicField(this, "seconds"), __publicField(this, "copiedTimer"), this.seconds = e;
|
|
4584
4598
|
}
|
|
4585
4599
|
async copy(e) {
|
|
4586
4600
|
return await copyText(e) ? (this.isCopied = !0, this.copiedTimer?.cancel(), this.copiedTimer = after(this.seconds, () => this.isCopied = !1), !0) : !1;
|
|
4587
4601
|
}
|
|
4588
4602
|
};
|
|
4589
|
-
|
|
4590
|
-
var
|
|
4603
|
+
Go = __decoratorStart(null), Ko = /* @__PURE__ */ new WeakMap(), __decorateElement(Go, 4, "isCopied", Wo, qo, Ko), __decoratorMetadata(Go, qo), __name(qo, "ClipboardCopy");
|
|
4604
|
+
var Jo = qo, Yo = 2, Xo = class AddressParameter {
|
|
4591
4605
|
constructor(e) {
|
|
4592
4606
|
this.props = e;
|
|
4593
4607
|
}
|
|
@@ -4597,7 +4611,7 @@ var qo = Ko, Jo = 2, Yo = class AddressParameter {
|
|
|
4597
4611
|
startingText;
|
|
4598
4612
|
follow(e) {
|
|
4599
4613
|
if (!e) return;
|
|
4600
|
-
let t = new AbortController(), onNavigate = (t) => this.showAddress(e, t), n = "hash" in e ?
|
|
4614
|
+
let t = new AbortController(), onNavigate = (t) => this.showAddress(e, t), n = "hash" in e ? Qo : Zo;
|
|
4601
4615
|
for (let e of n) this.view.addEventListener(e, onNavigate, { signal: t.signal });
|
|
4602
4616
|
let r = soon(() => {
|
|
4603
4617
|
this.showAddress(e), this.hasOpened = !0;
|
|
@@ -4641,7 +4655,7 @@ var qo = Ko, Jo = 2, Yo = class AddressParameter {
|
|
|
4641
4655
|
let r = new URL(e.href);
|
|
4642
4656
|
return "hash" in t ? r.hash = n ? encodeURIComponent(n) : "" : n ? r.searchParams.set(t.parameter, n) : r.searchParams.delete(t.parameter), r.href;
|
|
4643
4657
|
}
|
|
4644
|
-
},
|
|
4658
|
+
}, Zo = ["popstate"], Qo = ["hashchange", "popstate"], PopoverPanel = class extends Tn {
|
|
4645
4659
|
panelSetup;
|
|
4646
4660
|
constructor(e) {
|
|
4647
4661
|
super(e), this.panelSetup = e;
|
|
@@ -4662,10 +4676,10 @@ var qo = Ko, Jo = 2, Yo = class AddressParameter {
|
|
|
4662
4676
|
overlayEntry;
|
|
4663
4677
|
follow(e, t, n) {
|
|
4664
4678
|
if (!t || !e || !e.popover) return;
|
|
4665
|
-
e.matches(
|
|
4679
|
+
e.matches($o) || e.showPopover(n ? { source: n } : void 0);
|
|
4666
4680
|
let { overlay: r } = this;
|
|
4667
4681
|
return B.overlays.open(r), () => {
|
|
4668
|
-
e.matches(
|
|
4682
|
+
e.matches($o) && e.hidePopover(), B.overlays.close(r);
|
|
4669
4683
|
};
|
|
4670
4684
|
}
|
|
4671
4685
|
get anchorStyle() {
|
|
@@ -4678,7 +4692,7 @@ var qo = Ko, Jo = 2, Yo = class AddressParameter {
|
|
|
4678
4692
|
return this.anchorId ??= `--${B.ids.next(this.panelSetup.component.vocabulary.tag)}`;
|
|
4679
4693
|
}
|
|
4680
4694
|
anchorId;
|
|
4681
|
-
},
|
|
4695
|
+
}, $o = ":popover-open", es = class DOMLoadableElement extends w {
|
|
4682
4696
|
get content() {
|
|
4683
4697
|
return this.component?.content ?? this.pendingContent ?? "";
|
|
4684
4698
|
}
|
|
@@ -4726,13 +4740,13 @@ var qo = Ko, Jo = 2, Yo = class AddressParameter {
|
|
|
4726
4740
|
reject: t
|
|
4727
4741
|
};
|
|
4728
4742
|
}
|
|
4729
|
-
},
|
|
4743
|
+
}, ts, ns, rs, is, as, os, ss, cs, ls, us, ds, fs, ps, ms, hs, gs, _s, vs, ys, bs, X, xs, Ss, Cs, ws, Ts, Es, Z = class _LoadableComponent extends (bs = Yt, ys = [protoMerged], vs = [proto], _s = [watches({
|
|
4730
4744
|
childList: !0,
|
|
4731
4745
|
characterData: !0,
|
|
4732
4746
|
subtree: !0
|
|
4733
|
-
})],
|
|
4747
|
+
})], gs = [state], hs = [state], ms = [onChange("inlineText", { defer: !0 })], ps = [state], fs = [cssState("loading")], ds = [onChange("source", "loadingPolicy", "isConnected")], us = [untracked], ls = [untracked], cs = [state], ss = [cssState("error")], os = [untracked], as = [cssState("saving"), state], is = [cssState("dirty"), state], rs = [untracked], ns = [lazy], ts = [lazy], bs) {
|
|
4734
4748
|
constructor() {
|
|
4735
|
-
super(...arguments), __runInitializers(X, 5, this), __privateAdd(this,
|
|
4749
|
+
super(...arguments), __runInitializers(X, 5, this), __privateAdd(this, xs, __runInitializers(X, 8, this)), __runInitializers(X, 11, this), __privateAdd(this, Ss, __runInitializers(X, 12, this, this.domElement.takePendingContent())), __runInitializers(X, 15, this), __privateAdd(this, Cs, __runInitializers(X, 16, this, U.idle)), __runInitializers(X, 19, this), __publicField(this, "contentSource"), __publicField(this, "fetchedSource"), __publicField(this, "isFresh", !1), __publicField(this, "stopLoading"), __privateAdd(this, ws, __runInitializers(X, 20, this)), __runInitializers(X, 23, this), __privateAdd(this, Ts, __runInitializers(X, 24, this, !1)), __runInitializers(X, 27, this), __privateAdd(this, Es, __runInitializers(X, 28, this, this.wasEdited !== void 0)), __runInitializers(X, 31, this), __publicField(this, "lastETag");
|
|
4736
4750
|
}
|
|
4737
4751
|
get inlineText() {
|
|
4738
4752
|
return h || !this.wantsInlineContent ? "" : _LoadableComponent.inlineTextOf(this.domElement);
|
|
@@ -4784,7 +4798,7 @@ var qo = Ko, Jo = 2, Yo = class AddressParameter {
|
|
|
4784
4798
|
}));
|
|
4785
4799
|
});
|
|
4786
4800
|
else if (t === "idle" && typeof requestIdleCallback == "function") {
|
|
4787
|
-
let e = requestIdleCallback(a, { timeout:
|
|
4801
|
+
let e = requestIdleCallback(a, { timeout: Os });
|
|
4788
4802
|
i = /* @__PURE__ */ __name(() => cancelIdleCallback(e), "undo");
|
|
4789
4803
|
} else a();
|
|
4790
4804
|
return () => {
|
|
@@ -4823,7 +4837,7 @@ var qo = Ko, Jo = 2, Yo = class AddressParameter {
|
|
|
4823
4837
|
get errorText() {
|
|
4824
4838
|
let e = this.loadError;
|
|
4825
4839
|
if (!e) return;
|
|
4826
|
-
let t =
|
|
4840
|
+
let t = io[e.kind] ?? io.load;
|
|
4827
4841
|
return this.translationForKey(t, { source: this.source ?? "" });
|
|
4828
4842
|
}
|
|
4829
4843
|
onLoadError(e, t = "load") {
|
|
@@ -4892,19 +4906,19 @@ var qo = Ko, Jo = 2, Yo = class AddressParameter {
|
|
|
4892
4906
|
return e.setAttribute("aria-label", this.translationForKey("sourceLoading", { source: this.source ?? "" })), e;
|
|
4893
4907
|
}
|
|
4894
4908
|
get loaderElement() {
|
|
4895
|
-
return this.statusElement(
|
|
4909
|
+
return this.statusElement(Qa, "loader");
|
|
4896
4910
|
}
|
|
4897
4911
|
errorMessage() {
|
|
4898
4912
|
let e = this.errorElement;
|
|
4899
4913
|
return e.textContent = this.errorText ?? "", e;
|
|
4900
4914
|
}
|
|
4901
4915
|
get errorElement() {
|
|
4902
|
-
return this.statusElement(
|
|
4916
|
+
return this.statusElement($a, "error");
|
|
4903
4917
|
}
|
|
4904
4918
|
statusElement(e, t) {
|
|
4905
4919
|
let n = this.domElement.ownerDocument.createElement(e);
|
|
4906
4920
|
n.setAttribute("part", this.partForName(t));
|
|
4907
|
-
for (let [t, r] of Object.entries(
|
|
4921
|
+
for (let [t, r] of Object.entries(ks[e])) n.setAttribute(t, r);
|
|
4908
4922
|
return n;
|
|
4909
4923
|
}
|
|
4910
4924
|
checkSource(e) {}
|
|
@@ -4935,15 +4949,15 @@ var qo = Ko, Jo = 2, Yo = class AddressParameter {
|
|
|
4935
4949
|
return !Number.isFinite(n) || n === 0 ? t.join("\n") : t.map((e) => e.slice(Math.min(n, e.length - e.trimStart().length))).join("\n");
|
|
4936
4950
|
}
|
|
4937
4951
|
};
|
|
4938
|
-
X = __decoratorStart(
|
|
4939
|
-
var
|
|
4940
|
-
[
|
|
4952
|
+
X = __decoratorStart(bs), xs = /* @__PURE__ */ new WeakMap(), Ss = /* @__PURE__ */ new WeakMap(), Cs = /* @__PURE__ */ new WeakMap(), ws = /* @__PURE__ */ new WeakMap(), Ts = /* @__PURE__ */ new WeakMap(), Es = /* @__PURE__ */ new WeakMap(), __decorateElement(X, 2, "inlineText", _s, Z), __decorateElement(X, 4, "fetchedText", gs, Z, xs), __decorateElement(X, 4, "wasEdited", hs, Z, Ss), __decorateElement(X, 1, "onInlineTextChanged", ms, Z), __decorateElement(X, 4, "loadStatus", ps, Z, Cs), __decorateElement(X, 2, "isLoading", fs, Z), __decorateElement(X, 1, "onSourceChanged", ds, Z), __decorateElement(X, 1, "onLoaded", us, Z), __decorateElement(X, 1, "reload", ls, Z), __decorateElement(X, 4, "loadError", cs, Z, ws), __decorateElement(X, 2, "hasError", ss, Z), __decorateElement(X, 1, "onLoadError", os, Z), __decorateElement(X, 4, "isSaving", as, Z, Ts), __decorateElement(X, 4, "isDirty", is, Z, Es), __decorateElement(X, 1, "save", rs, Z), __decorateElement(X, 2, "loaderElement", ns, Z), __decorateElement(X, 2, "errorElement", ts, Z), __decorateElement(X, 13, "elementSetup", ys, Z), __decorateElement(X, 13, "wantsInlineContent", vs, Z), __decoratorMetadata(X, Z), __name(Z, "LoadableComponent"), __publicField(Z, "elementSetup", __runInitializers(X, 32, Z, { DOMElement: es })), __runInitializers(X, 35, Z), __publicField(Z, "wantsInlineContent", __runInitializers(X, 36, Z, !0)), __runInitializers(X, 39, Z);
|
|
4953
|
+
var Ds = Z, Os = 2e3, ks = {
|
|
4954
|
+
[Qa]: {
|
|
4941
4955
|
visible: "",
|
|
4942
4956
|
inline: "",
|
|
4943
4957
|
centered: ""
|
|
4944
4958
|
},
|
|
4945
|
-
[
|
|
4946
|
-
},
|
|
4959
|
+
[$a]: { state: "error" }
|
|
4960
|
+
}, As = class SourceMarkup {
|
|
4947
4961
|
static parse(e, { page: t, source: n, select: r }) {
|
|
4948
4962
|
let i = new DOMParser().parseFromString(e, "text/html"), a;
|
|
4949
4963
|
if (r) {
|
|
@@ -4965,7 +4979,7 @@ var Es = Z, Ds = 2e3, Os = {
|
|
|
4965
4979
|
}
|
|
4966
4980
|
static rewriteUrls(e, t, n) {
|
|
4967
4981
|
let r = new URL(t, n.baseURI);
|
|
4968
|
-
for (let t of e.querySelectorAll(
|
|
4982
|
+
for (let t of e.querySelectorAll(to)) for (let e of eo) {
|
|
4969
4983
|
let i = t.getAttribute(e);
|
|
4970
4984
|
if (i === null || i.startsWith("#")) continue;
|
|
4971
4985
|
let a;
|
|
@@ -4974,13 +4988,13 @@ var Es = Z, Ds = 2e3, Os = {
|
|
|
4974
4988
|
} catch {
|
|
4975
4989
|
continue;
|
|
4976
4990
|
}
|
|
4977
|
-
a !== new URL(i, n.baseURI).href && (t.setAttribute(
|
|
4991
|
+
a !== new URL(i, n.baseURI).href && (t.setAttribute(no + e, i), t.setAttribute(e, a));
|
|
4978
4992
|
}
|
|
4979
4993
|
}
|
|
4980
4994
|
static restoreUrls(e) {
|
|
4981
|
-
for (let t of e.querySelectorAll("*")) for (let e of
|
|
4982
|
-
let n = t.getAttribute(
|
|
4983
|
-
n !== null && (t.setAttribute(e, n), t.removeAttribute(
|
|
4995
|
+
for (let t of e.querySelectorAll("*")) for (let e of eo) {
|
|
4996
|
+
let n = t.getAttribute(no + e);
|
|
4997
|
+
n !== null && (t.setAttribute(e, n), t.removeAttribute(no + e));
|
|
4984
4998
|
}
|
|
4985
4999
|
}
|
|
4986
5000
|
static checkNesting(e, t, n) {
|
|
@@ -4988,7 +5002,7 @@ var Es = Z, Ds = 2e3, Os = {
|
|
|
4988
5002
|
for (let o = SourceMarkup.parentFor(e); o; o = SourceMarkup.parentFor(o)) {
|
|
4989
5003
|
if (!n(o)) continue;
|
|
4990
5004
|
a++;
|
|
4991
|
-
let e = o.getAttribute(
|
|
5005
|
+
let e = o.getAttribute(oo);
|
|
4992
5006
|
if (e && new URL(e, r).href === i) throw new z(`SourceMarkup.checkNesting(): ${t} includes itself; point \`source\` elsewhere`, { cause: { kind: "render" } });
|
|
4993
5007
|
}
|
|
4994
5008
|
if (a >= 8) throw new z(`SourceMarkup.checkNesting(): ${t} is nested more than 8 sources deep; look for a cycle`, { cause: { kind: "render" } });
|
|
@@ -4998,11 +5012,11 @@ var Es = Z, Ds = 2e3, Os = {
|
|
|
4998
5012
|
if (t?.nodeType === _.element) return t;
|
|
4999
5013
|
if (t?.nodeType === _.documentFragment) return t.host;
|
|
5000
5014
|
}
|
|
5001
|
-
},
|
|
5002
|
-
|
|
5015
|
+
}, js, Ms, Ns, Ps, Fs, Is = [state], Q, Ls, Rs, zs, Bs;
|
|
5016
|
+
Fs = [state], Ps = [state], Ns = [state], Ms = [untracked], js = [untracked];
|
|
5003
5017
|
var $ = class _LoadableBody {
|
|
5004
5018
|
constructor(e) {
|
|
5005
|
-
__runInitializers(Q, 5, this), __privateAdd(this,
|
|
5019
|
+
__runInitializers(Q, 5, this), __privateAdd(this, Ls, __runInitializers(Q, 8, this, U.idle)), __runInitializers(Q, 11, this), __privateAdd(this, Rs, __runInitializers(Q, 12, this, !1)), __runInitializers(Q, 15, this), __privateAdd(this, zs, __runInitializers(Q, 16, this)), __runInitializers(Q, 19, this), __privateAdd(this, Bs, __runInitializers(Q, 20, this, !1)), __runInitializers(Q, 23, this), __publicField(this, "owner"), __publicField(this, "pending"), __publicField(this, "pendingKey"), __publicField(this, "generation", 0), __publicField(this, "aborter"), __publicField(this, "inserted", []), this.owner = e;
|
|
5006
5020
|
}
|
|
5007
5021
|
get isVeiled() {
|
|
5008
5022
|
if (this.hasShownABody) return !1;
|
|
@@ -5043,10 +5057,10 @@ var $ = class _LoadableBody {
|
|
|
5043
5057
|
async fetch({ source: e, select: t, fresh: n }, r) {
|
|
5044
5058
|
let { domElement: i } = this.owner;
|
|
5045
5059
|
try {
|
|
5046
|
-
|
|
5060
|
+
As.checkNesting(i, e, (e) => e.hasAttribute(oo));
|
|
5047
5061
|
let a = await this.textOf(e, n);
|
|
5048
5062
|
if (r !== this.generation) return;
|
|
5049
|
-
this.insert(
|
|
5063
|
+
this.insert(As.parse(a, {
|
|
5050
5064
|
page: i.ownerDocument,
|
|
5051
5065
|
source: e,
|
|
5052
5066
|
select: t
|
|
@@ -5091,103 +5105,103 @@ var $ = class _LoadableBody {
|
|
|
5091
5105
|
return !(e.nodeType === _.element && e.hasAttribute("slot"));
|
|
5092
5106
|
}
|
|
5093
5107
|
};
|
|
5094
|
-
Q = __decoratorStart(null),
|
|
5095
|
-
var
|
|
5108
|
+
Q = __decoratorStart(null), Ls = /* @__PURE__ */ new WeakMap(), Rs = /* @__PURE__ */ new WeakMap(), zs = /* @__PURE__ */ new WeakMap(), Bs = /* @__PURE__ */ new WeakMap(), __decorateElement(Q, 4, "loadStatus", Is, $, Ls), __decorateElement(Q, 4, "isOverdue", Fs, $, Rs), __decorateElement(Q, 4, "loadError", Ps, $, zs), __decorateElement(Q, 4, "hasShownABody", Ns, $, Bs), __decorateElement(Q, 1, "load", Ms, $), __decorateElement(Q, 1, "reload", js, $), __decoratorMetadata(Q, $), __name($, "LoadableBody");
|
|
5109
|
+
var Vs = $, DOMLoadableBodyElement = class extends w {
|
|
5096
5110
|
load() {
|
|
5097
5111
|
return this.component?.loadBody() ?? Promise.resolve();
|
|
5098
5112
|
}
|
|
5099
5113
|
reload() {
|
|
5100
5114
|
return this.component?.reloadBody() ?? Promise.resolve();
|
|
5101
5115
|
}
|
|
5102
|
-
},
|
|
5103
|
-
APP_STYLESHEET_ID: () =>
|
|
5104
|
-
ATTRIBUTE_GROUPS: () =>
|
|
5105
|
-
AddressParameter: () =>
|
|
5106
|
-
AnimationNames: () =>
|
|
5116
|
+
}, Hs = /* @__PURE__ */ e({
|
|
5117
|
+
APP_STYLESHEET_ID: () => Ma,
|
|
5118
|
+
ATTRIBUTE_GROUPS: () => we,
|
|
5119
|
+
AddressParameter: () => Xo,
|
|
5120
|
+
AnimationNames: () => Pa,
|
|
5107
5121
|
ApiError: () => ApiError,
|
|
5108
5122
|
AriaNames: () => Te,
|
|
5109
|
-
BuiltInIconPacks: () =>
|
|
5110
|
-
BuiltInPacks: () =>
|
|
5111
|
-
CODE_LANGUAGES_EVENT: () =>
|
|
5123
|
+
BuiltInIconPacks: () => wo,
|
|
5124
|
+
BuiltInPacks: () => jo,
|
|
5125
|
+
CODE_LANGUAGES_EVENT: () => Ra,
|
|
5112
5126
|
Cell: () => Cell,
|
|
5113
|
-
ClassBuilder: () =>
|
|
5114
|
-
ClipboardCopy: () =>
|
|
5127
|
+
ClassBuilder: () => Ua,
|
|
5128
|
+
ClipboardCopy: () => Jo,
|
|
5115
5129
|
CloseButton: () => CloseButton,
|
|
5116
|
-
Converters: () =>
|
|
5117
|
-
CssDisplay: () =>
|
|
5118
|
-
DEFAULT_ICON_PACK: () =>
|
|
5119
|
-
DOMElement: () =>
|
|
5130
|
+
Converters: () => N,
|
|
5131
|
+
CssDisplay: () => ka,
|
|
5132
|
+
DEFAULT_ICON_PACK: () => To,
|
|
5133
|
+
DOMElement: () => w,
|
|
5120
5134
|
DOMLoadableBodyElement: () => DOMLoadableBodyElement,
|
|
5121
|
-
DOMLoadableElement: () =>
|
|
5122
|
-
DefaultValues: () =>
|
|
5135
|
+
DOMLoadableElement: () => es,
|
|
5136
|
+
DefaultValues: () => ba,
|
|
5123
5137
|
Disclosure: () => Tn,
|
|
5124
|
-
E: () =>
|
|
5125
|
-
EN_STRINGS: () =>
|
|
5138
|
+
E: () => Hs,
|
|
5139
|
+
EN_STRINGS: () => Fa,
|
|
5126
5140
|
ERRORED_STATE: () => De,
|
|
5127
5141
|
ERROR_EVENT: () => Ee,
|
|
5128
5142
|
ElementDefinition: () => ze,
|
|
5129
|
-
ICON_PACK_INDEX: () =>
|
|
5143
|
+
ICON_PACK_INDEX: () => Eo,
|
|
5130
5144
|
ICON_PREFIX_SEPARATOR: () => ":",
|
|
5131
|
-
IconGlyph: () =>
|
|
5132
|
-
IconName: () =>
|
|
5133
|
-
LAYER_ORDER: () =>
|
|
5145
|
+
IconGlyph: () => Vo,
|
|
5146
|
+
IconName: () => Oo,
|
|
5147
|
+
LAYER_ORDER: () => Oa,
|
|
5134
5148
|
ListSelection: () => ListSelection,
|
|
5135
5149
|
LoadOnce: () => Un,
|
|
5136
|
-
LoadableBody: () =>
|
|
5137
|
-
LoadableComponent: () =>
|
|
5150
|
+
LoadableBody: () => Vs,
|
|
5151
|
+
LoadableComponent: () => Ds,
|
|
5138
5152
|
MAX_DEPTH: () => 8,
|
|
5139
|
-
MenuSearchFields: () =>
|
|
5153
|
+
MenuSearchFields: () => Za,
|
|
5140
5154
|
MoveAndResize: () => Mn,
|
|
5141
|
-
NO_ANIMATION: () =>
|
|
5142
|
-
NativeFallback: () =>
|
|
5155
|
+
NO_ANIMATION: () => v,
|
|
5156
|
+
NativeFallback: () => _o,
|
|
5143
5157
|
NodeType: () => _,
|
|
5144
|
-
ORIGINAL_PREFIX: () =>
|
|
5158
|
+
ORIGINAL_PREFIX: () => no,
|
|
5145
5159
|
OwnControls: () => OwnControls,
|
|
5146
5160
|
OwnerContext: () => et,
|
|
5147
|
-
PAGE_SCOPE: () =>
|
|
5161
|
+
PAGE_SCOPE: () => Aa,
|
|
5148
5162
|
ParentLink: () => zn,
|
|
5149
|
-
PartComponent: () =>
|
|
5150
|
-
PartContext: () =>
|
|
5163
|
+
PartComponent: () => Lo,
|
|
5164
|
+
PartContext: () => D,
|
|
5151
5165
|
PopoverPanel: () => PopoverPanel,
|
|
5152
5166
|
Queued: () => Queued,
|
|
5153
5167
|
RUNTIME_KEY: () => R,
|
|
5154
|
-
RUNTIME_VERSION: () =>
|
|
5155
|
-
RangeMeasures: () =>
|
|
5156
|
-
Reactive: () =>
|
|
5157
|
-
RootSettings: () =>
|
|
5158
|
-
SCROLL_LOCK_CLASS: () =>
|
|
5159
|
-
SOURCE_ATTRIBUTE: () =>
|
|
5168
|
+
RUNTIME_VERSION: () => Da,
|
|
5169
|
+
RangeMeasures: () => Xa,
|
|
5170
|
+
Reactive: () => b,
|
|
5171
|
+
RootSettings: () => qa,
|
|
5172
|
+
SCROLL_LOCK_CLASS: () => ja,
|
|
5173
|
+
SOURCE_ATTRIBUTE: () => oo,
|
|
5160
5174
|
SOURCE_BODY_HOLD_MS: () => 300,
|
|
5161
|
-
SOURCE_FAILURE_KEYS: () =>
|
|
5162
|
-
SOURCE_LOADER_TAG: () =>
|
|
5163
|
-
SOURCE_MESSAGE_TAG: () =>
|
|
5164
|
-
STICKY_MAX_RESERVE: () =>
|
|
5165
|
-
STICKY_SCROLLING: () =>
|
|
5166
|
-
STICKY_SLACK: () =>
|
|
5175
|
+
SOURCE_FAILURE_KEYS: () => io,
|
|
5176
|
+
SOURCE_LOADER_TAG: () => Qa,
|
|
5177
|
+
SOURCE_MESSAGE_TAG: () => $a,
|
|
5178
|
+
STICKY_MAX_RESERVE: () => lo,
|
|
5179
|
+
STICKY_SCROLLING: () => co,
|
|
5180
|
+
STICKY_SLACK: () => uo,
|
|
5167
5181
|
SharedVocabulary: () => F,
|
|
5168
|
-
Shorthand: () =>
|
|
5182
|
+
Shorthand: () => fo,
|
|
5169
5183
|
SlotContent: () => bn,
|
|
5170
5184
|
SourceError: () => z,
|
|
5171
|
-
SourceErrorKinds: () =>
|
|
5185
|
+
SourceErrorKinds: () => La,
|
|
5172
5186
|
SourceEvent: () => W,
|
|
5173
|
-
SourceMarkup: () =>
|
|
5187
|
+
SourceMarkup: () => As,
|
|
5174
5188
|
SourceStatus: () => U,
|
|
5175
|
-
SpellSolid: () =>
|
|
5189
|
+
SpellSolid: () => y,
|
|
5176
5190
|
StaleCatalogError: () => StaleCatalogError,
|
|
5177
|
-
StickyWatch: () =>
|
|
5178
|
-
StickyWatchEdges: () =>
|
|
5179
|
-
TEMPORAL_POLYFILL: () =>
|
|
5191
|
+
StickyWatch: () => bo,
|
|
5192
|
+
StickyWatchEdges: () => so,
|
|
5193
|
+
TEMPORAL_POLYFILL: () => Ia,
|
|
5180
5194
|
TopLayerTip: () => Bn,
|
|
5181
5195
|
UI: () => B,
|
|
5182
5196
|
UIComponent: () => Yt,
|
|
5183
5197
|
UIT: () => fr,
|
|
5184
|
-
URL_ATTRIBUTES: () =>
|
|
5185
|
-
URL_SELECTOR: () =>
|
|
5186
|
-
UTILITIES_SHEET: () =>
|
|
5187
|
-
ValueSets: () =>
|
|
5188
|
-
VisibilityDirection: () =>
|
|
5189
|
-
Vocabulary: () =>
|
|
5190
|
-
WHITESPACE: () =>
|
|
5198
|
+
URL_ATTRIBUTES: () => eo,
|
|
5199
|
+
URL_SELECTOR: () => to,
|
|
5200
|
+
UTILITIES_SHEET: () => Na,
|
|
5201
|
+
ValueSets: () => M,
|
|
5202
|
+
VisibilityDirection: () => za,
|
|
5203
|
+
Vocabulary: () => _a,
|
|
5204
|
+
WHITESPACE: () => Ya,
|
|
5191
5205
|
Warnings: () => Warnings,
|
|
5192
5206
|
after: () => after,
|
|
5193
5207
|
afterSolidUpdate: () => afterSolidUpdate,
|
|
@@ -5213,6 +5227,7 @@ var Bs = $, DOMLoadableBodyElement = class extends C {
|
|
|
5213
5227
|
forget: () => forget,
|
|
5214
5228
|
getSuperHierarchy: () => getSuperHierarchy,
|
|
5215
5229
|
hasDescriptor: () => hasDescriptor,
|
|
5230
|
+
hasMarkdown: () => hasMarkdown,
|
|
5216
5231
|
hasOwnProp: () => hasOwnProp,
|
|
5217
5232
|
indented: () => indented,
|
|
5218
5233
|
initialCaps: () => initialCaps,
|
|
@@ -5251,6 +5266,6 @@ var Bs = $, DOMLoadableBodyElement = class extends C {
|
|
|
5251
5266
|
within: () => within,
|
|
5252
5267
|
withoutAccents: () => withoutAccents
|
|
5253
5268
|
});
|
|
5254
|
-
export { wr as $,
|
|
5269
|
+
export { wr as $, Oi as A, Ma as APP_STYLESHEET_ID, we as ATTRIBUTE_GROUPS, Xo as AddressParameter, Pa as AnimationNames, ApiError, Te as AriaNames, ra as At, Dr as B, currentPlatform as Bt, wo as BuiltInIconPacks, jo as BuiltInPacks, Wi as C, Ra as CODE_LANGUAGES_EVENT, Cell, Ua as ClassBuilder, Jo as ClipboardCopy, CloseButton, N as Converters, ka as CssDisplay, ca as Ct, wi as D, To as DEFAULT_ICON_PACK, w as DOMElement, DOMLoadableBodyElement, es as DOMLoadableElement, ba as DefaultValues, Tn as Disclosure, oa as Dt, Hs as E, Fa as EN_STRINGS, De as ERRORED_STATE, Ee as ERROR_EVENT, ze as ElementDefinition, aa as Et, ui as F, bi as Ft, yr as G, __decoratorStart as Gt, Hr as H, onPlatformChange as Ht, Mi as I, Eo as ICON_PACK_INDEX, Do as ICON_PREFIX_SEPARATOR, Vo as IconGlyph, Oo as IconName, zi as It, Wr as J, __publicField as Jt, Ir as K, __name as Kt, mi as L, Oa as LAYER_ORDER, ListSelection, Un as LoadOnce, Vs as LoadableBody, Ds as LoadableComponent, Hi as Lt, Ai as M, ro as MAX_DEPTH, Za as MenuSearchFields, Mn as MoveAndResize, ua as Mt, ji as N, v as NO_ANIMATION, _o as NativeFallback, _ as NodeType, $r as Nt, Ti as O, no as ORIGINAL_PREFIX, ia as Ot, OwnControls, et as OwnerContext, Or as P, Aa as PAGE_SCOPE, zn as ParentLink, Lo as PartComponent, D as PartContext, PopoverPanel, Qr as Pt, ti as Q, Queued, Ni as R, R as RUNTIME_KEY, Da as RUNTIME_VERSION, Xa as RangeMeasures, b as Reactive, qa as RootSettings, WordWidthClasses as Rt, qr as S, ja as SCROLL_LOCK_CLASS, oo as SOURCE_ATTRIBUTE, ao as SOURCE_BODY_HOLD_MS, io as SOURCE_FAILURE_KEYS, Qa as SOURCE_LOADER_TAG, $a as SOURCE_MESSAGE_TAG, lo as STICKY_MAX_RESERVE, co as STICKY_SCROLLING, uo as STICKY_SLACK, F as SharedVocabulary, fo as Shorthand, bn as SlotContent, z as SourceError, La as SourceErrorKinds, W as SourceEvent, As as SourceMarkup, U as SourceStatus, y as SpellSolid, Pi as St, StaleCatalogError, bo as StickyWatch, so as StickyWatchEdges, Bi as T, Ia as TEMPORAL_POLYFILL, Bn as TopLayerTip, xi as Tt, Ar as U, B as UI, Yt as UIComponent, fr as UIT, eo as URL_ATTRIBUTES, to as URL_SELECTOR, Na as UTILITIES_SHEET, __decorateElement as Ut, ModalActions as V, M as ValueSets, za as VisibilityDirection, _a as Vocabulary, isOnPlatform as Vt, ni as W, Ya as WHITESPACE, Warnings, __decoratorMetadata as Wt, Vi as X, ri as Y, __runInitializers as Yt, vi as Z, Mr as _, Er as _t, Xr as a, after, afterSolidUpdate, answerOf, aria, si as at, Gr as b, beforeNextPaint, Fr as bt, byDocumentOrder, Si as c, camelCase, clamp, closestAcrossShadow, commaList, controlled, copyText, cssState, $i as ct, la as d, dedent, derived, na as dt, escapeHTML, escapeRegExp, br as et, every, Ci as f, fetchOk, fetchText, flatParentFor, forget, Ji as ft, di as g, getSuperHierarchy, Qi as gt, _i as h, hasDescriptor, hasMarkdown, hasOwnProp, Xi as ht, Ei as i, indented, initialCaps, isBrowser, isSameList, li as it, ki as j, ThemeNames as jt, HeadingLevels as k, kb, kebabCase, sa as kt, kr as l, lazy, letNodeEnd, levenshtein, load as loadUI, ea as lt, Ui as m, markedPieces, Yi as mt, gi as n, nextFrame, P as nt, numberToWord, Fi as o, on, onChange, once, oi as ot, Di as p, proto, protoMerged, Zi as pt, Lr as q, __privateAdd as qt, yi as r, resets, zr as rt, hi as s, scrollByRow, scrollEnds, scrollIntoSight, scrollingBoxFor, slug, soon, qi as st, state, suggest, Mo as t, textChecksum, xr as tt, pi as u, untracked, ta as ut, Ii as v, StackClasses as vt, Gi as w, waitUntil, watches, whenDefined, whileConnected, withArticle, within, withoutAccents, vr as wt, Kr as x, Pr as xt, pr as y, Cr as yt, Yr as z, canCaptureScreen as zt };
|
|
5255
5270
|
|
|
5256
5271
|
//# sourceMappingURL=core.js.map
|