spell-ui 0.8.16 → 0.8.17
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/{UIInput-B3K0w4ow.js → UIInput-8s1aiaw1.js} +2 -2
- package/dist/UIInput-8s1aiaw1.js.map +1 -0
- package/dist/{UIRuntime-DxC1O7ON.js → UIRuntime-BaokNnwk.js} +8 -4
- package/dist/UIRuntime-BaokNnwk.js.map +1 -0
- package/dist/_spell-element/UIComponent.d.ts +7 -0
- package/dist/_spell-element/elements.types.d.ts +6 -0
- package/dist/_spell-element/vocabulary.types.d.ts +22 -0
- package/dist/_util/dom.d.ts +1 -1
- package/dist/components/ui-graph/UIGraph.d.ts +17 -0
- package/dist/components/ui-graph/UIGraph.en.d.ts +17 -0
- package/dist/components/ui-graph/UIGraph.es.d.ts +6 -0
- package/dist/components/ui-modal/ChoiceRows.d.ts +61 -0
- package/dist/components/ui-modal/ModalDialogs.d.ts +15 -1
- package/dist/components/ui-modal/UIModal.d.ts +6 -2
- package/dist/components/ui-modal/UIModal.en.d.ts +6 -2
- package/dist/components/ui-modal/UIModal.es.d.ts +1 -0
- package/dist/components/ui-tree/UITree.d.ts +5 -0
- package/dist/components/ui-tree/UITree.en.d.ts +5 -0
- package/dist/components/ui-tree/UITree.es.d.ts +3 -0
- package/dist/{components.es-eyezTRd7.js → components.es-jY2nBwuP.js} +11 -3
- package/dist/components.es-jY2nBwuP.js.map +1 -0
- package/dist/core.js +456 -431
- package/dist/core.js.map +1 -1
- package/dist/runtime/Modals.d.ts +7 -2
- package/dist/runtime/Styles.d.ts +7 -1
- package/dist/runtime/runtime.types.d.ts +26 -1
- package/dist/ui-calendar.js +1 -1
- package/dist/ui-graph.js +22 -0
- package/dist/ui-graph.js.map +1 -1
- package/dist/ui-input.js +1 -1
- package/dist/ui-modal.js +183 -97
- package/dist/ui-modal.js.map +1 -1
- package/dist/ui-root.js +1 -1
- package/dist/ui-search.js +1 -1
- package/dist/ui-tree.js +6 -1
- package/dist/ui-tree.js.map +1 -1
- package/dist/vocabulary/hooks.generated.d.ts +7 -0
- package/package.json +1 -1
- package/dist/UIInput-B3K0w4ow.js.map +0 -1
- package/dist/UIRuntime-DxC1O7ON.js.map +0 -1
- package/dist/components.es-eyezTRd7.js.map +0 -1
package/dist/core.js
CHANGED
|
@@ -1825,21 +1825,21 @@ var k = class _UIComponent {
|
|
|
1825
1825
|
return this.sharedWay(pn);
|
|
1826
1826
|
}
|
|
1827
1827
|
moveAndResize(e, t, n) {
|
|
1828
|
-
if (e && !h && (t || n)) return
|
|
1828
|
+
if (e && !h && (t || n)) return Pn.start(this.domElement, {
|
|
1829
1829
|
move: t,
|
|
1830
1830
|
resize: n
|
|
1831
1831
|
});
|
|
1832
1832
|
}
|
|
1833
1833
|
sharedWay(e) {
|
|
1834
|
-
if (this.elementDefinition.takesShared(e)) return
|
|
1834
|
+
if (this.elementDefinition.takesShared(e)) return Pn.wayOf(b.attributeValue(this, e));
|
|
1835
1835
|
}
|
|
1836
1836
|
followParent() {
|
|
1837
1837
|
let { domElement: e, elementDefinition: t } = this;
|
|
1838
|
-
if (h || !t.takesAttribute(
|
|
1839
|
-
let n = new
|
|
1838
|
+
if (h || !t.takesAttribute(_n)) return;
|
|
1839
|
+
let n = new Vn({
|
|
1840
1840
|
domElement: e,
|
|
1841
|
-
attribute: t.localAttribute(
|
|
1842
|
-
}), r = a(() => this.isConnected ? b.attributeValue(this,
|
|
1841
|
+
attribute: t.localAttribute(_n)
|
|
1842
|
+
}), r = a(() => this.isConnected ? b.attributeValue(this, _n) : void 0);
|
|
1843
1843
|
i(r, (e) => n.follow(e));
|
|
1844
1844
|
}
|
|
1845
1845
|
get hostLayout() {}
|
|
@@ -1917,12 +1917,12 @@ var k = class _UIComponent {
|
|
|
1917
1917
|
}
|
|
1918
1918
|
}
|
|
1919
1919
|
get sharedPlatforms() {
|
|
1920
|
-
return this.sharedText(
|
|
1920
|
+
return this.sharedText(gn);
|
|
1921
1921
|
}
|
|
1922
1922
|
onPlatformsChanged(e) {
|
|
1923
1923
|
let { domElement: t, internalState: n } = this, r = platformsIn(e);
|
|
1924
1924
|
if (!(h || !r && !n.wrotePlatforms)) {
|
|
1925
|
-
t.setState(
|
|
1925
|
+
t.setState(gn, !!r);
|
|
1926
1926
|
for (let e of lt) t.setState(`on-${e}`, !!r?.has(e));
|
|
1927
1927
|
n.wrotePlatforms = !!r;
|
|
1928
1928
|
}
|
|
@@ -2070,6 +2070,7 @@ var k = class _UIComponent {
|
|
|
2070
2070
|
y.whenInstalled(() => void _UIComponent.define.call(this, e, t));
|
|
2071
2071
|
return;
|
|
2072
2072
|
}
|
|
2073
|
+
_UIComponent.completeVocabulary(this);
|
|
2073
2074
|
let n = new Be(this.prototype.vocabulary, {
|
|
2074
2075
|
tag: e,
|
|
2075
2076
|
dictionary: t
|
|
@@ -2083,6 +2084,23 @@ var k = class _UIComponent {
|
|
|
2083
2084
|
let s = w.subclassForTag(this.prototype.elementSetup.DOMElement, o);
|
|
2084
2085
|
return customElements.define(n.tag, s), s;
|
|
2085
2086
|
}
|
|
2087
|
+
static completeVocabulary(e) {
|
|
2088
|
+
let t = e.prototype.vocabulary, n = hn.filter((e) => !t[e]);
|
|
2089
|
+
if (!n.length) return;
|
|
2090
|
+
let r = Object.fromEntries(n.map((e) => [e, []]));
|
|
2091
|
+
if (!Object.isFrozen(t)) Object.assign(t, r);
|
|
2092
|
+
else {
|
|
2093
|
+
let t = {
|
|
2094
|
+
...e.prototype.vocabulary,
|
|
2095
|
+
...r
|
|
2096
|
+
};
|
|
2097
|
+
Object.defineProperty(e.prototype, "vocabulary", {
|
|
2098
|
+
value: t,
|
|
2099
|
+
configurable: !0,
|
|
2100
|
+
writable: !0
|
|
2101
|
+
});
|
|
2102
|
+
}
|
|
2103
|
+
}
|
|
2086
2104
|
static tagSetupFor(e, t) {
|
|
2087
2105
|
let { delegatesFocus: n, slotAssignment: r, isAFormControl: i, Fallback: a, visible: o } = e.prototype.elementSetup;
|
|
2088
2106
|
return {
|
|
@@ -2099,7 +2117,7 @@ var k = class _UIComponent {
|
|
|
2099
2117
|
}
|
|
2100
2118
|
static register(e) {
|
|
2101
2119
|
let { vocabulary: t } = this.prototype;
|
|
2102
|
-
_UIComponent.registry.definitions.set(e.tag, e), this.prototype.elementSetup.root && _UIComponent.rootTags.add(e.tag), D.define({
|
|
2120
|
+
_UIComponent.registry.definitions.set(e.tag, e), _UIComponent.registry.components.set(e.tag, this), this.prototype.elementSetup.root && _UIComponent.rootTags.add(e.tag), D.define({
|
|
2103
2121
|
vocabulary: t,
|
|
2104
2122
|
tag: e.tag,
|
|
2105
2123
|
isAPart: this.prototype.elementSetup.isAPart,
|
|
@@ -2143,20 +2161,27 @@ O = __decoratorStart(null), Gt = /* @__PURE__ */ new WeakMap(), Kt = /* @__PURE_
|
|
|
2143
2161
|
}
|
|
2144
2162
|
})), __runInitializers(O, 31, k), __publicField(k, "rootTags", /* @__PURE__ */ new Set()), __publicField(k, "registry", {
|
|
2145
2163
|
definitions: /* @__PURE__ */ new Map(),
|
|
2164
|
+
components: /* @__PURE__ */ new Map(),
|
|
2146
2165
|
vocabularies: /* @__PURE__ */ new WeakSet()
|
|
2147
2166
|
});
|
|
2148
2167
|
var Xt = k, Zt = "ui-root", Qt = "link", $t = "target", en = "font", tn = /^(\d+(?:\.\d+)?)(?:\/(\d+(?:\.\d+)?))?$/, nn = "font-size", rn = "--ui-font-size", an = "--ui-line-height", sn = "shadow", cn = "--_ui-shadow-color", ln = [
|
|
2149
2168
|
"width",
|
|
2150
2169
|
"min-width",
|
|
2151
2170
|
"max-width"
|
|
2152
|
-
], un = "sized-inside", dn = "tooltip", fn = "movable", pn = "resizable", mn = "label", hn =
|
|
2171
|
+
], un = "sized-inside", dn = "tooltip", fn = "movable", pn = "resizable", mn = "label", hn = [
|
|
2172
|
+
"events",
|
|
2173
|
+
"slots",
|
|
2174
|
+
"parts",
|
|
2175
|
+
"states",
|
|
2176
|
+
"texts"
|
|
2177
|
+
], gn = "on-platform", _n = "parent", vn, yn, bn;
|
|
2153
2178
|
function isSameSet(e, t) {
|
|
2154
2179
|
return e.size === t.size && [...e].every((e) => t.has(e));
|
|
2155
2180
|
}
|
|
2156
|
-
__name(isSameSet, "isSameSet"),
|
|
2157
|
-
var
|
|
2181
|
+
__name(isSameSet, "isSameSet"), vn = [state({ equals: isSameSet })];
|
|
2182
|
+
var xn = class _SlotContent {
|
|
2158
2183
|
constructor(e) {
|
|
2159
|
-
__privateAdd(this,
|
|
2184
|
+
__privateAdd(this, bn, __runInitializers(yn, 8, this, /* @__PURE__ */ new Set())), __runInitializers(yn, 11, this), __publicField(this, "domElement"), this.domElement = e, this.filledSlots = this.scan(), d(() => {
|
|
2160
2185
|
let t = new MutationObserver(() => this.filledSlots = this.scan());
|
|
2161
2186
|
return t.observe(e, {
|
|
2162
2187
|
childList: !0,
|
|
@@ -2175,10 +2200,10 @@ var bn = class _SlotContent {
|
|
|
2175
2200
|
return e;
|
|
2176
2201
|
}
|
|
2177
2202
|
};
|
|
2178
|
-
|
|
2179
|
-
var
|
|
2203
|
+
yn = __decoratorStart(null), bn = /* @__PURE__ */ new WeakMap(), __decorateElement(yn, 4, "filledSlots", vn, xn, bn), __decoratorMetadata(yn, xn), __name(xn, "SlotContent");
|
|
2204
|
+
var Sn = xn, Cn = [state], wn, Tn, En = class _Disclosure {
|
|
2180
2205
|
constructor(e = {}) {
|
|
2181
|
-
this.setup = e, __privateAdd(this,
|
|
2206
|
+
this.setup = e, __privateAdd(this, Tn, __runInitializers(wn, 8, this)), __runInitializers(wn, 11, this), __publicField(this, "toggle", /* @__PURE__ */ __name((e) => this.request(!p(() => this.isOpen), e), "toggle")), __publicField(this, "open", /* @__PURE__ */ __name((e) => this.request(!0, e), "open")), __publicField(this, "close", /* @__PURE__ */ __name((e) => this.request(!1, e), "close")), __publicField(this, "revealOnMatch", /* @__PURE__ */ __name((e) => {
|
|
2182
2207
|
e.addEventListener("beforematch", () => this.adopt(!0));
|
|
2183
2208
|
}, "revealOnMatch"));
|
|
2184
2209
|
}
|
|
@@ -2201,7 +2226,7 @@ var xn = bn, Sn = [state], Cn, wn, Tn = class _Disclosure {
|
|
|
2201
2226
|
let { setup: n } = this;
|
|
2202
2227
|
if (n.canChange && !n.canChange(e)) return !1;
|
|
2203
2228
|
let r = /* @__PURE__ */ __name(() => {
|
|
2204
|
-
let r = this.send(e ?
|
|
2229
|
+
let r = this.send(e ? On : kn, e, t);
|
|
2205
2230
|
return r && n.beforeChange?.(e), r;
|
|
2206
2231
|
}, "announce"), { component: i, member: a, memberMeans: o } = n, s;
|
|
2207
2232
|
if (i && a && b.isControlled(i, a)) {
|
|
@@ -2212,11 +2237,11 @@ var xn = bn, Sn = [state], Cn, wn, Tn = class _Disclosure {
|
|
|
2212
2237
|
});
|
|
2213
2238
|
}
|
|
2214
2239
|
sendAfter(e, t) {
|
|
2215
|
-
this.send(e ?
|
|
2240
|
+
this.send(e ? An : jn, e, t, { after: !0 });
|
|
2216
2241
|
}
|
|
2217
2242
|
adopt(e, t) {
|
|
2218
2243
|
p(() => {
|
|
2219
|
-
e !== this.isOpen && (this.send(e ?
|
|
2244
|
+
e !== this.isOpen && (this.send(e ? On : kn, e, t, { cancelable: !1 }), this.write(e), this.setup.onChange?.(e));
|
|
2220
2245
|
});
|
|
2221
2246
|
}
|
|
2222
2247
|
write(e) {
|
|
@@ -2227,7 +2252,7 @@ var xn = bn, Sn = [state], Cn, wn, Tn = class _Disclosure {
|
|
|
2227
2252
|
return this.isOpen ? "true" : "false";
|
|
2228
2253
|
}
|
|
2229
2254
|
get hidden() {
|
|
2230
|
-
return this.isOpen ? void 0 :
|
|
2255
|
+
return this.isOpen ? void 0 : Mn;
|
|
2231
2256
|
}
|
|
2232
2257
|
send(e, t, n, { cancelable: r, after: i } = {}) {
|
|
2233
2258
|
let { component: a, detail: o, afterDetail: s } = this.setup;
|
|
@@ -2246,25 +2271,25 @@ var xn = bn, Sn = [state], Cn, wn, Tn = class _Disclosure {
|
|
|
2246
2271
|
return a.domElement.dispatchEvent(new CustomEvent(a.elementDefinition.event(e), l));
|
|
2247
2272
|
}
|
|
2248
2273
|
};
|
|
2249
|
-
|
|
2250
|
-
var
|
|
2274
|
+
wn = __decoratorStart(null), Tn = /* @__PURE__ */ new WeakMap(), __decorateElement(wn, 4, "toggled", Cn, En, Tn), __decoratorMetadata(wn, En), __name(En, "Disclosure");
|
|
2275
|
+
var Dn = En, On = "ui-opening", kn = "ui-closing", An = "ui-opened", jn = "ui-closed", Mn = "until-found", OwnControls = class {
|
|
2251
2276
|
static isClicked(e, { upTo: t, before: n } = {}) {
|
|
2252
2277
|
for (let r of e.composedPath()) {
|
|
2253
2278
|
if (r === t) return !1;
|
|
2254
2279
|
let e = r;
|
|
2255
2280
|
if (e.matches) {
|
|
2256
2281
|
if (n && e.matches(n)) return !1;
|
|
2257
|
-
if (e.matches(
|
|
2282
|
+
if (e.matches(Nn)) return !0;
|
|
2258
2283
|
}
|
|
2259
2284
|
}
|
|
2260
2285
|
return !1;
|
|
2261
2286
|
}
|
|
2262
|
-
},
|
|
2287
|
+
}, Nn = "a, button, input, select, textarea, label, details, summary, [contenteditable], [tabindex], [role=button], [role=link]", Pn = class MoveAndResize {
|
|
2263
2288
|
element;
|
|
2264
2289
|
move;
|
|
2265
2290
|
resize;
|
|
2266
2291
|
static wayOf(e) {
|
|
2267
|
-
if (e != null && e !== !1) return e === "" || e === !0 || e === "both" ? "both" :
|
|
2292
|
+
if (e != null && e !== !1) return e === "" || e === !0 || e === "both" ? "both" : Fn.includes(e) ? e : void 0;
|
|
2268
2293
|
}
|
|
2269
2294
|
static start(e, { move: t, resize: n }) {
|
|
2270
2295
|
return !t && !n ? () => {} : new MoveAndResize(e, t, n).stop;
|
|
@@ -2272,7 +2297,7 @@ var En = Tn, Dn = "ui-opening", On = "ui-closing", kn = "ui-opened", An = "ui-cl
|
|
|
2272
2297
|
constructor(e, t, n) {
|
|
2273
2298
|
this.element = e, this.move = t, this.resize = n;
|
|
2274
2299
|
let { style: r } = e;
|
|
2275
|
-
n && (r.resize =
|
|
2300
|
+
n && (r.resize = In[n], getComputedStyle(e).overflow === "visible" && (r.overflow = "auto")), t && (r.cursor = "grab", r.touchAction = Ln[t], MoveAndResize.dragging()), e.addEventListener("pointerdown", this.onPress, { signal: this.listening.signal }), this.giveBackRemembered();
|
|
2276
2301
|
}
|
|
2277
2302
|
listening = new AbortController();
|
|
2278
2303
|
moved = {
|
|
@@ -2310,12 +2335,12 @@ var En = Tn, Dn = "ui-opening", On = "ui-closing", kn = "ui-opened", An = "ui-cl
|
|
|
2310
2335
|
}
|
|
2311
2336
|
isOnGrip({ clientX: e, clientY: t }) {
|
|
2312
2337
|
let n = this.element.getBoundingClientRect();
|
|
2313
|
-
return e > n.right -
|
|
2338
|
+
return e > n.right - Rn && t > n.bottom - Rn;
|
|
2314
2339
|
}
|
|
2315
2340
|
isOnOwnControl(e) {
|
|
2316
2341
|
for (let t of e.composedPath()) {
|
|
2317
2342
|
if (t === this.element) return !1;
|
|
2318
|
-
if (t instanceof Element && t.matches(
|
|
2343
|
+
if (t instanceof Element && t.matches(zn)) return !0;
|
|
2319
2344
|
}
|
|
2320
2345
|
return !1;
|
|
2321
2346
|
}
|
|
@@ -2346,7 +2371,7 @@ var En = Tn, Dn = "ui-opening", On = "ui-closing", kn = "ui-opened", An = "ui-cl
|
|
|
2346
2371
|
static async store() {
|
|
2347
2372
|
if (!MoveAndResize.prefs) {
|
|
2348
2373
|
let { PrefStore: e } = await import("./PrefStore-Di83C0bY.js").then((e) => e.n);
|
|
2349
|
-
MoveAndResize.prefs ??= new e(
|
|
2374
|
+
MoveAndResize.prefs ??= new e(Bn);
|
|
2350
2375
|
}
|
|
2351
2376
|
return MoveAndResize.prefs;
|
|
2352
2377
|
}
|
|
@@ -2356,19 +2381,19 @@ function clamp$1(e, t, n) {
|
|
|
2356
2381
|
return Math.min(Math.max(e, Math.min(t, 0)), Math.max(n, 0));
|
|
2357
2382
|
}
|
|
2358
2383
|
t(clamp$1, "clamp");
|
|
2359
|
-
var
|
|
2384
|
+
var Fn = [
|
|
2360
2385
|
"both",
|
|
2361
2386
|
"horizontally",
|
|
2362
2387
|
"vertically"
|
|
2363
|
-
],
|
|
2388
|
+
], In = {
|
|
2364
2389
|
both: "both",
|
|
2365
2390
|
horizontally: "horizontal",
|
|
2366
2391
|
vertically: "vertical"
|
|
2367
|
-
},
|
|
2392
|
+
}, Ln = {
|
|
2368
2393
|
both: "none",
|
|
2369
2394
|
horizontally: "pan-y",
|
|
2370
2395
|
vertically: "pan-x"
|
|
2371
|
-
},
|
|
2396
|
+
}, Rn = 16, zn = "a[href], button, input, select, textarea, label, summary, [contenteditable=''], [contenteditable='true'], [role='button'], [role='link'], [role='slider'], [role='textbox']", Bn = "ui-element", Vn = class ParentLink {
|
|
2372
2397
|
domElement;
|
|
2373
2398
|
attribute;
|
|
2374
2399
|
constructor(e) {
|
|
@@ -2442,16 +2467,16 @@ function kb(e, { digits: t = 1 } = {}) {
|
|
|
2442
2467
|
// src/util/Warnings.ts
|
|
2443
2468
|
var Warnings = class {
|
|
2444
2469
|
static warn(e, t, ...n) {
|
|
2445
|
-
console.warn(`${
|
|
2470
|
+
console.warn(`${Hn} ${e}: ${t}`, ...n);
|
|
2446
2471
|
}
|
|
2447
2472
|
static error(e, t, ...n) {
|
|
2448
|
-
console.error(`${
|
|
2473
|
+
console.error(`${Hn} ${e}: ${t}`, ...n);
|
|
2449
2474
|
}
|
|
2450
2475
|
static devWarn(e, t, ...n) {}
|
|
2451
|
-
},
|
|
2476
|
+
}, Hn = "[spell-ui]", Un = class PaneSizes {
|
|
2452
2477
|
static sizesFor(e, t, { source: n = "PaneSizes" } = {}) {
|
|
2453
2478
|
let r = commaList(e).slice(0, t);
|
|
2454
|
-
for (; r.length < t;) r.push(
|
|
2479
|
+
for (; r.length < t;) r.push(Gn);
|
|
2455
2480
|
let i = r.map((e) => PaneSizes.sizeFor(e, { source: n })), a = i.reduce((e, t) => t?.units === "%" ? e + t.value : e, 0), o = i.filter((e) => !e).length, s = Math.max(1, (100 - a) / Math.max(o, 1));
|
|
2456
2481
|
return i.map((e) => e ?? {
|
|
2457
2482
|
value: s,
|
|
@@ -2460,27 +2485,27 @@ var Warnings = class {
|
|
|
2460
2485
|
}
|
|
2461
2486
|
static sizeFor(e, { source: t = "PaneSizes" } = {}) {
|
|
2462
2487
|
let n = e.trim();
|
|
2463
|
-
if (n ===
|
|
2488
|
+
if (n === Wn) return {
|
|
2464
2489
|
value: 0,
|
|
2465
|
-
units:
|
|
2490
|
+
units: Wn
|
|
2466
2491
|
};
|
|
2467
|
-
let r =
|
|
2492
|
+
let r = Kn.exec(n);
|
|
2468
2493
|
if (r) return {
|
|
2469
2494
|
value: parseFloat(r[1]),
|
|
2470
2495
|
units: r[2] || "px"
|
|
2471
2496
|
};
|
|
2472
|
-
n !==
|
|
2497
|
+
n !== Gn && Warnings.warn(t, `the size "${n}" isn't one: a number, px, em, %, * or auto`);
|
|
2473
2498
|
}
|
|
2474
2499
|
static sizeText(e) {
|
|
2475
|
-
return e.map(({ value: e, units: t }) => t ===
|
|
2500
|
+
return e.map(({ value: e, units: t }) => t === Wn ? Wn : `${e}${t}`).join(",");
|
|
2476
2501
|
}
|
|
2477
2502
|
static isAuto(e) {
|
|
2478
|
-
return e?.units ===
|
|
2503
|
+
return e?.units === Wn;
|
|
2479
2504
|
}
|
|
2480
|
-
},
|
|
2505
|
+
}, Wn = "auto", Gn = "*", Kn = /^([0-9]*\.?[0-9]+)(px|em|rem|%)?$/, qn = class TopLayerTip {
|
|
2481
2506
|
static showIn(e, t, { showOnClick: n = !1 } = {}) {
|
|
2482
2507
|
let isOnTrigger = (e) => e.composedPath().some((e) => e.matches?.(t)), r = !1, i = !1, update = () => {
|
|
2483
|
-
let t = e.querySelector(
|
|
2508
|
+
let t = e.querySelector(Jn);
|
|
2484
2509
|
t && TopLayerTip.setShown(t, r || i);
|
|
2485
2510
|
};
|
|
2486
2511
|
e.addEventListener("pointerover", (e) => {
|
|
@@ -2507,7 +2532,7 @@ var Warnings = class {
|
|
|
2507
2532
|
static setShown(e, t) {
|
|
2508
2533
|
e.isConnected && "popover" in e && t !== e.matches(":popover-open") && (e.popover ||= "manual", t ? e.showPopover() : e.hidePopover());
|
|
2509
2534
|
}
|
|
2510
|
-
},
|
|
2535
|
+
}, Jn = "[role=\"tooltip\"]", Yn = class LoadOnce {
|
|
2511
2536
|
failures;
|
|
2512
2537
|
loads = /* @__PURE__ */ new Map();
|
|
2513
2538
|
constructor({ failures: e = "kept" } = {}) {
|
|
@@ -2568,8 +2593,8 @@ var Warnings = class {
|
|
|
2568
2593
|
let n = t.filter((t) => t !== e);
|
|
2569
2594
|
return this.pivot === e && (this.pivot = n.at(-1)), n;
|
|
2570
2595
|
}
|
|
2571
|
-
},
|
|
2572
|
-
ir = [proto], rr = [proto], nr = [proto], tr = [proto], er = [proto], $n = [proto], Qn = [proto], Zn = [proto], Xn = [proto]
|
|
2596
|
+
}, Xn, Zn, Qn, $n, er, tr, nr, rr, ir, ar, or = [proto], A;
|
|
2597
|
+
ar = [proto], ir = [proto], rr = [proto], nr = [proto], tr = [proto], er = [proto], $n = [proto], Qn = [proto], Zn = [proto], Xn = [proto];
|
|
2573
2598
|
var j = class _ValueSets {
|
|
2574
2599
|
static get(e) {
|
|
2575
2600
|
return typeof e == "string" ? _ValueSets.prototype[e] ?? [] : e;
|
|
@@ -2593,11 +2618,11 @@ var j = class _ValueSets {
|
|
|
2593
2618
|
}), _ValueSets[e] = r;
|
|
2594
2619
|
}
|
|
2595
2620
|
static setFor(e) {
|
|
2596
|
-
let t =
|
|
2621
|
+
let t = cr;
|
|
2597
2622
|
return e.values ?? t[e.kind];
|
|
2598
2623
|
}
|
|
2599
2624
|
static kindSetFor(e) {
|
|
2600
|
-
return
|
|
2625
|
+
return cr[e.kind];
|
|
2601
2626
|
}
|
|
2602
2627
|
static iconsFor(e) {
|
|
2603
2628
|
if (e.icons) return e.icons;
|
|
@@ -2608,13 +2633,13 @@ var j = class _ValueSets {
|
|
|
2608
2633
|
let t;
|
|
2609
2634
|
if (typeof e == "number") t = e;
|
|
2610
2635
|
else {
|
|
2611
|
-
let n = e.trim(), r =
|
|
2612
|
-
t = r ?
|
|
2636
|
+
let n = e.trim(), r = lr.exec(n), i = ur.exec(n);
|
|
2637
|
+
t = r ? sr * Number(r[1]) / Number(r[2]) : i ? sr * Number(i[1]) / 100 : dr.test(n) ? Number(n) : _ValueSets.wordColumns().get(n.toLowerCase()) ?? NaN;
|
|
2613
2638
|
}
|
|
2614
|
-
return Number.isFinite(t) && t > 0 && t <
|
|
2639
|
+
return Number.isFinite(t) && t > 0 && t < sr + .5 ? t : void 0;
|
|
2615
2640
|
}
|
|
2616
2641
|
static isColumnCount(e) {
|
|
2617
|
-
return Number.isInteger(e) && e >= 1 && e <=
|
|
2642
|
+
return Number.isInteger(e) && e >= 1 && e <= sr;
|
|
2618
2643
|
}
|
|
2619
2644
|
static lookup(e) {
|
|
2620
2645
|
let t = _ValueSets.sets.get(e);
|
|
@@ -2623,12 +2648,12 @@ var j = class _ValueSets {
|
|
|
2623
2648
|
static wordColumns() {
|
|
2624
2649
|
if (!_ValueSets.words) {
|
|
2625
2650
|
_ValueSets.words = /* @__PURE__ */ new Map();
|
|
2626
|
-
for (let e = 1; e <=
|
|
2651
|
+
for (let e = 1; e <= sr; e++) _ValueSets.words.set(numberToWord(e), e);
|
|
2627
2652
|
}
|
|
2628
2653
|
return _ValueSets.words;
|
|
2629
2654
|
}
|
|
2630
2655
|
};
|
|
2631
|
-
A = __decoratorStart(null), __decorateElement(A, 13, "hues",
|
|
2656
|
+
A = __decoratorStart(null), __decorateElement(A, 13, "hues", or, j), __decorateElement(A, 13, "sizes", ar, j), __decorateElement(A, 13, "positions", ir, j), __decorateElement(A, 13, "attachments", rr, j), __decorateElement(A, 13, "alignments", nr, j), __decorateElement(A, 13, "verticalAlignments", tr, j), __decorateElement(A, 13, "floats", er, j), __decorateElement(A, 13, "widths", $n, j), __decorateElement(A, 13, "devices", Qn, j), __decorateElement(A, 13, "booleans", Zn, j), __decorateElement(A, 13, "topics", Xn, j), __decoratorMetadata(A, j), __name(j, "ValueSets"), __publicField(j, "hues", __runInitializers(A, 8, j, [
|
|
2632
2657
|
"primary",
|
|
2633
2658
|
"secondary",
|
|
2634
2659
|
"red",
|
|
@@ -2737,19 +2762,19 @@ A = __decoratorStart(null), __decorateElement(A, 13, "hues", ar, j), __decorateE
|
|
|
2737
2762
|
right: "caret right"
|
|
2738
2763
|
}
|
|
2739
2764
|
}), __publicField(j, "sets", /* @__PURE__ */ new WeakMap()), __publicField(j, "words");
|
|
2740
|
-
var M = j,
|
|
2765
|
+
var M = j, sr = 16, cr = {
|
|
2741
2766
|
color: "hues",
|
|
2742
2767
|
size: "sizes",
|
|
2743
2768
|
textAlign: "alignments",
|
|
2744
2769
|
verticalAlign: "verticalAlignments",
|
|
2745
2770
|
multiple: "devices",
|
|
2746
2771
|
boolean: "booleans"
|
|
2747
|
-
},
|
|
2772
|
+
}, lr = /^(\d+(?:\.\d+)?)\s*\/\s*(\d+(?:\.\d+)?)$/, ur = /^(\d+(?:\.\d+)?)\s*%$/, dr = /^\d+(?:\.\d+)?$/, N = class Converters {
|
|
2748
2773
|
static boolean(e, t) {
|
|
2749
2774
|
if (e == null) return !1;
|
|
2750
2775
|
if (typeof e == "boolean") return e;
|
|
2751
2776
|
let n = e.trim().toLowerCase();
|
|
2752
|
-
return
|
|
2777
|
+
return fr.has(n) || n === t ? !0 : !mr.has(n);
|
|
2753
2778
|
}
|
|
2754
2779
|
static booleanToAttribute(e) {
|
|
2755
2780
|
return e ? "" : null;
|
|
@@ -2757,18 +2782,18 @@ var M = j, or = 16, sr = {
|
|
|
2757
2782
|
static keyOrValue(e, t, n = {}) {
|
|
2758
2783
|
if (e == null || typeof e == "boolean") return e ?? !1;
|
|
2759
2784
|
let r = e.trim().toLowerCase();
|
|
2760
|
-
return
|
|
2785
|
+
return fr.has(r) || r === n.attribute ? !0 : mr.has(r) ? !1 : t ? Converters.enumValue(r, t, n) ?? !0 : r;
|
|
2761
2786
|
}
|
|
2762
2787
|
static icon(e, t) {
|
|
2763
2788
|
if (e == null || e === !1) return;
|
|
2764
2789
|
let n = typeof e == "string" ? e.trim() : e === !0 ? "" : typeof e == "number" ? `${e}` : void 0;
|
|
2765
2790
|
if (n === void 0) return;
|
|
2766
2791
|
let r = n.toLowerCase();
|
|
2767
|
-
if (!
|
|
2792
|
+
if (!pr.has(r)) return fr.has(r) ? typeof t == "string" ? t : "" : n;
|
|
2768
2793
|
}
|
|
2769
2794
|
static enumValue(e, t, n = {}) {
|
|
2770
2795
|
if (e == null) return;
|
|
2771
|
-
let r = e.trim().toLowerCase().replace(
|
|
2796
|
+
let r = e.trim().toLowerCase().replace(gr, " ");
|
|
2772
2797
|
if (M.has(t, r)) return r;
|
|
2773
2798
|
if (r === "") return;
|
|
2774
2799
|
let i = M.suggest(t, r), a = n.tag ? `<${n.tag} ${n.attribute ?? ""}>` : n.attribute ?? "value";
|
|
@@ -2785,7 +2810,7 @@ var M = j, or = 16, sr = {
|
|
|
2785
2810
|
if (typeof e != "string") return e;
|
|
2786
2811
|
let t = e.trim();
|
|
2787
2812
|
if (t !== "") {
|
|
2788
|
-
if (!
|
|
2813
|
+
if (!_r.includes(t[0])) return e;
|
|
2789
2814
|
try {
|
|
2790
2815
|
return JSON.parse(t);
|
|
2791
2816
|
} catch (t) {
|
|
@@ -2795,143 +2820,143 @@ var M = j, or = 16, sr = {
|
|
|
2795
2820
|
}
|
|
2796
2821
|
}
|
|
2797
2822
|
static list(e) {
|
|
2798
|
-
return e == null ? [] : typeof e == "string" ? e.split(
|
|
2823
|
+
return e == null ? [] : typeof e == "string" ? e.split(hr).filter(Boolean) : [...e];
|
|
2799
2824
|
}
|
|
2800
|
-
},
|
|
2825
|
+
}, fr = /* @__PURE__ */ new Set([
|
|
2801
2826
|
"",
|
|
2802
2827
|
"true",
|
|
2803
2828
|
"yes"
|
|
2804
|
-
]),
|
|
2805
|
-
ACTIVE: () =>
|
|
2806
|
-
ANIMATING: () =>
|
|
2807
|
-
APPEARANCE: () =>
|
|
2808
|
-
AnimationLookup: () =>
|
|
2809
|
-
Animations: () =>
|
|
2810
|
-
AttentionAnimations: () =>
|
|
2829
|
+
]), pr = /* @__PURE__ */ new Set(["false", "no"]), mr = /* @__PURE__ */ new Set([...pr, "0"]), hr = /[\s,]+/, gr = /\s+/g, _r = "[{\"", vr = /* @__PURE__ */ e({
|
|
2830
|
+
ACTIVE: () => Si,
|
|
2831
|
+
ANIMATING: () => Ti,
|
|
2832
|
+
APPEARANCE: () => Mi,
|
|
2833
|
+
AnimationLookup: () => ni,
|
|
2834
|
+
Animations: () => Yr,
|
|
2835
|
+
AttentionAnimations: () => qr,
|
|
2811
2836
|
BAR: () => "bar",
|
|
2812
|
-
BASIC: () =>
|
|
2813
|
-
BOTTOM: () =>
|
|
2814
|
-
BUTTON: () =>
|
|
2815
|
-
BreadcrumbDividerTokens: () =>
|
|
2816
|
-
CLOSE: () =>
|
|
2817
|
-
CLOSE_CLASS: () =>
|
|
2818
|
-
CLOSE_ICON: () =>
|
|
2837
|
+
BASIC: () => Vi,
|
|
2838
|
+
BOTTOM: () => xi,
|
|
2839
|
+
BUTTON: () => Oi,
|
|
2840
|
+
BreadcrumbDividerTokens: () => Fr,
|
|
2841
|
+
CLOSE: () => yi,
|
|
2842
|
+
CLOSE_CLASS: () => Ui,
|
|
2843
|
+
CLOSE_ICON: () => Wi,
|
|
2819
2844
|
CLOSE_TEXT: () => "×",
|
|
2820
|
-
CODE_SPAN: () =>
|
|
2845
|
+
CODE_SPAN: () => ha,
|
|
2821
2846
|
COLOR_CLASS_PREFIX: () => "ui-",
|
|
2822
|
-
CONTENT: () =>
|
|
2823
|
-
DEFAULT_ANIMATION: () =>
|
|
2824
|
-
DESCRIPTION: () =>
|
|
2825
|
-
DIGITS: () =>
|
|
2826
|
-
DISABLED: () =>
|
|
2827
|
-
DISABLED_STATE: () =>
|
|
2828
|
-
FIELD_HOST_STATE: () =>
|
|
2829
|
-
FLUID: () =>
|
|
2830
|
-
Flags: () =>
|
|
2831
|
-
FontFaces: () =>
|
|
2832
|
-
FontFamilies: () =>
|
|
2833
|
-
FontWords: () =>
|
|
2834
|
-
FormControlAttributes: () =>
|
|
2835
|
-
FormControlStates: () =>
|
|
2836
|
-
FormStates: () =>
|
|
2837
|
-
GRID_CONTAINER_NAME: () =>
|
|
2838
|
-
HEADER: () =>
|
|
2839
|
-
HEADING: () =>
|
|
2847
|
+
CONTENT: () => ki,
|
|
2848
|
+
DEFAULT_ANIMATION: () => ei,
|
|
2849
|
+
DESCRIPTION: () => Ni,
|
|
2850
|
+
DIGITS: () => Yi,
|
|
2851
|
+
DISABLED: () => Ci,
|
|
2852
|
+
DISABLED_STATE: () => _i,
|
|
2853
|
+
FIELD_HOST_STATE: () => Rr,
|
|
2854
|
+
FLUID: () => Hi,
|
|
2855
|
+
Flags: () => yr,
|
|
2856
|
+
FontFaces: () => Zr,
|
|
2857
|
+
FontFamilies: () => Qr,
|
|
2858
|
+
FontWords: () => $r,
|
|
2859
|
+
FormControlAttributes: () => Xi,
|
|
2860
|
+
FormControlStates: () => Zi,
|
|
2861
|
+
FormStates: () => Ki,
|
|
2862
|
+
GRID_CONTAINER_NAME: () => Or,
|
|
2863
|
+
HEADER: () => Ai,
|
|
2864
|
+
HEADING: () => ji,
|
|
2840
2865
|
HeadingLevels: () => HeadingLevels,
|
|
2841
|
-
ICON: () =>
|
|
2842
|
-
ICON_CLASS: () =>
|
|
2843
|
-
IMAGE: () =>
|
|
2866
|
+
ICON: () => Pi,
|
|
2867
|
+
ICON_CLASS: () => Fi,
|
|
2868
|
+
IMAGE: () => Ii,
|
|
2844
2869
|
IN: () => "in",
|
|
2845
|
-
ITEM: () =>
|
|
2846
|
-
InputOwnerTokens: () =>
|
|
2847
|
-
ItemAlignments: () =>
|
|
2848
|
-
Key: () =>
|
|
2849
|
-
LABEL: () =>
|
|
2850
|
-
LEFT: () =>
|
|
2851
|
-
MESSAGE: () =>
|
|
2852
|
-
MOTION_PROPERTY: () =>
|
|
2853
|
-
MenuAppearances: () =>
|
|
2854
|
-
ModalActionSelectors: () =>
|
|
2870
|
+
ITEM: () => Li,
|
|
2871
|
+
InputOwnerTokens: () => Lr,
|
|
2872
|
+
ItemAlignments: () => Pr,
|
|
2873
|
+
Key: () => gi,
|
|
2874
|
+
LABEL: () => Ri,
|
|
2875
|
+
LEFT: () => bi,
|
|
2876
|
+
MESSAGE: () => zi,
|
|
2877
|
+
MOTION_PROPERTY: () => ti,
|
|
2878
|
+
MenuAppearances: () => Nr,
|
|
2879
|
+
ModalActionSelectors: () => Wr,
|
|
2855
2880
|
ModalActions: () => ModalActions,
|
|
2856
|
-
NO_ANIMATION: () =>
|
|
2857
|
-
ORDERED: () =>
|
|
2881
|
+
NO_ANIMATION: () => Jr,
|
|
2882
|
+
ORDERED: () => vi,
|
|
2858
2883
|
OUT: () => "out",
|
|
2859
2884
|
PART_STATIC_CLASS_PREFIX: () => "in-",
|
|
2860
|
-
PLACEHOLDER_HOST_STATE: () =>
|
|
2861
|
-
PUSHABLE_HOST_STATE: () =>
|
|
2862
|
-
PUSHER_HOST_STATE: () =>
|
|
2863
|
-
PartOwnerTokens: () =>
|
|
2864
|
-
PopupTrigger: () =>
|
|
2865
|
-
PopupTriggers: () =>
|
|
2866
|
-
PosterSizes: () =>
|
|
2867
|
-
PusherTokens: () =>
|
|
2868
|
-
REQUIRED_RULE: () =>
|
|
2869
|
-
SELECTED: () =>
|
|
2870
|
-
SIDEBAR_HOST_STATE: () =>
|
|
2871
|
-
SIDE_HOST_STATE: () =>
|
|
2872
|
-
STACK_WITH_CLASS: () =>
|
|
2873
|
-
STACK_WITH_TOKEN: () =>
|
|
2874
|
-
STATIC_CONTROL: () =>
|
|
2875
|
-
STATIC_ROOT: () =>
|
|
2885
|
+
PLACEHOLDER_HOST_STATE: () => Ir,
|
|
2886
|
+
PUSHABLE_HOST_STATE: () => ci,
|
|
2887
|
+
PUSHER_HOST_STATE: () => oi,
|
|
2888
|
+
PartOwnerTokens: () => Tr,
|
|
2889
|
+
PopupTrigger: () => Hr,
|
|
2890
|
+
PopupTriggers: () => Ur,
|
|
2891
|
+
PosterSizes: () => Xr,
|
|
2892
|
+
PusherTokens: () => li,
|
|
2893
|
+
REQUIRED_RULE: () => qi,
|
|
2894
|
+
SELECTED: () => wi,
|
|
2895
|
+
SIDEBAR_HOST_STATE: () => si,
|
|
2896
|
+
SIDE_HOST_STATE: () => mi,
|
|
2897
|
+
STACK_WITH_CLASS: () => jr,
|
|
2898
|
+
STACK_WITH_TOKEN: () => Ar,
|
|
2899
|
+
STATIC_CONTROL: () => Er,
|
|
2900
|
+
STATIC_ROOT: () => Dr,
|
|
2876
2901
|
SearchMatch: () => P,
|
|
2877
|
-
SearchMatches: () =>
|
|
2878
|
-
SectionTitle: () =>
|
|
2879
|
-
ShapeCommands: () =>
|
|
2880
|
-
ShapeFlips: () =>
|
|
2881
|
-
SourceAttributes: () =>
|
|
2882
|
-
SourceBodyAttributes: () =>
|
|
2883
|
-
SourceBodyEvents: () =>
|
|
2884
|
-
SourceBodyParts: () =>
|
|
2885
|
-
SourceBodyStates: () =>
|
|
2886
|
-
SourceEvents: () =>
|
|
2887
|
-
SourceFailureTexts: () =>
|
|
2888
|
-
SourceLoadModes: () =>
|
|
2889
|
-
SourceParts: () =>
|
|
2890
|
-
SourceStates: () =>
|
|
2891
|
-
SourceTexts: () =>
|
|
2892
|
-
SpaceSteps: () =>
|
|
2893
|
-
SpecialFlags: () =>
|
|
2902
|
+
SearchMatches: () => Gr,
|
|
2903
|
+
SectionTitle: () => hi,
|
|
2904
|
+
ShapeCommands: () => pi,
|
|
2905
|
+
ShapeFlips: () => fi,
|
|
2906
|
+
SourceAttributes: () => $i,
|
|
2907
|
+
SourceBodyAttributes: () => aa,
|
|
2908
|
+
SourceBodyEvents: () => oa,
|
|
2909
|
+
SourceBodyParts: () => sa,
|
|
2910
|
+
SourceBodyStates: () => ca,
|
|
2911
|
+
SourceEvents: () => ea,
|
|
2912
|
+
SourceFailureTexts: () => ra,
|
|
2913
|
+
SourceLoadModes: () => Qi,
|
|
2914
|
+
SourceParts: () => ta,
|
|
2915
|
+
SourceStates: () => na,
|
|
2916
|
+
SourceTexts: () => ia,
|
|
2917
|
+
SpaceSteps: () => Mr,
|
|
2918
|
+
SpecialFlags: () => br,
|
|
2894
2919
|
StackClasses: () => StackClasses,
|
|
2895
|
-
StackWithValues: () =>
|
|
2896
|
-
TABLE_SORT_KEY: () =>
|
|
2897
|
-
TABLE_SORT_OPT_OUT: () =>
|
|
2898
|
-
TEXT: () =>
|
|
2899
|
-
THEME_APPLIED_EVENT: () =>
|
|
2900
|
-
TICK_PATH: () =>
|
|
2901
|
-
TITLE: () =>
|
|
2920
|
+
StackWithValues: () => kr,
|
|
2921
|
+
TABLE_SORT_KEY: () => Vr,
|
|
2922
|
+
TABLE_SORT_OPT_OUT: () => Br,
|
|
2923
|
+
TEXT: () => Bi,
|
|
2924
|
+
THEME_APPLIED_EVENT: () => ma,
|
|
2925
|
+
TICK_PATH: () => wr,
|
|
2926
|
+
TITLE: () => Di,
|
|
2902
2927
|
TOP: () => "top",
|
|
2903
|
-
TableCellTypes: () =>
|
|
2904
|
-
ThemeCorners: () =>
|
|
2905
|
-
ThemeDepths: () =>
|
|
2906
|
-
ThemeFonts: () =>
|
|
2907
|
-
ThemeGlasses: () =>
|
|
2908
|
-
ThemeHues: () =>
|
|
2928
|
+
TableCellTypes: () => zr,
|
|
2929
|
+
ThemeCorners: () => da,
|
|
2930
|
+
ThemeDepths: () => fa,
|
|
2931
|
+
ThemeFonts: () => ua,
|
|
2932
|
+
ThemeGlasses: () => pa,
|
|
2933
|
+
ThemeHues: () => la,
|
|
2909
2934
|
ThemeNames: () => ThemeNames,
|
|
2910
|
-
TocMarks: () =>
|
|
2911
|
-
ToggleCommands: () =>
|
|
2912
|
-
TransitionCommands: () =>
|
|
2913
|
-
VISIBLE: () =>
|
|
2914
|
-
VISUALLY_HIDDEN: () =>
|
|
2915
|
-
VisibilityAnimations: () =>
|
|
2916
|
-
WHITESPACE: () =>
|
|
2935
|
+
TocMarks: () => ga,
|
|
2936
|
+
ToggleCommands: () => ai,
|
|
2937
|
+
TransitionCommands: () => ii,
|
|
2938
|
+
VISIBLE: () => Ei,
|
|
2939
|
+
VISUALLY_HIDDEN: () => Gi,
|
|
2940
|
+
VisibilityAnimations: () => Kr,
|
|
2941
|
+
WHITESPACE: () => Ji,
|
|
2917
2942
|
WordWidthClasses: () => WordWidthClasses,
|
|
2918
|
-
WordWidths: () =>
|
|
2919
|
-
}),
|
|
2943
|
+
WordWidths: () => ui
|
|
2944
|
+
}), yr = class Flags {
|
|
2920
2945
|
static emojiFor(e) {
|
|
2921
2946
|
let t = e.toLowerCase();
|
|
2922
|
-
return Flags.isSpecial(t) ?
|
|
2947
|
+
return Flags.isSpecial(t) ? br[t] : xr.test(t) ? String.fromCodePoint(...Array.from(t, (e) => Sr + e.charCodeAt(0) - Cr)) : "";
|
|
2923
2948
|
}
|
|
2924
2949
|
static isSpecial(e) {
|
|
2925
|
-
return Object.hasOwn(
|
|
2950
|
+
return Object.hasOwn(br, e);
|
|
2926
2951
|
}
|
|
2927
|
-
},
|
|
2952
|
+
}, br = {
|
|
2928
2953
|
rainbow: "🏳️🌈",
|
|
2929
2954
|
transgender: "🏳️⚧️",
|
|
2930
2955
|
pirate: "🏴☠️",
|
|
2931
2956
|
"gb-eng": "🏴",
|
|
2932
2957
|
"gb-sct": "🏴",
|
|
2933
2958
|
"gb-wls": "🏴"
|
|
2934
|
-
},
|
|
2959
|
+
}, xr = /^[a-z]{2}$/, Sr = 127462, Cr = 97, wr = "M3 8.5 6.5 12 13 4.5", Tr = {
|
|
2935
2960
|
inverted: "--ui-inverted",
|
|
2936
2961
|
cardLayout: "--_ui-card-layout",
|
|
2937
2962
|
cardLeading: "--_ui-card-leading",
|
|
@@ -2954,65 +2979,65 @@ var M = j, or = 16, sr = {
|
|
|
2954
2979
|
headerLayout: "--_ui-header-layout",
|
|
2955
2980
|
labelLayout: "--_ui-label-layout",
|
|
2956
2981
|
part: "--_ui-part"
|
|
2957
|
-
},
|
|
2982
|
+
}, Er = "data-ui-control", Dr = "data-ui", Or = "ui-grid", kr = ["container", "page"], Ar = "--ui-stack-with", jr = "stack-with-", StackClasses = class {
|
|
2958
2983
|
static classFor(e) {
|
|
2959
|
-
return e ? `${
|
|
2984
|
+
return e ? `${jr}${e}` : void 0;
|
|
2960
2985
|
}
|
|
2961
|
-
},
|
|
2986
|
+
}, Mr = {
|
|
2962
2987
|
none: "0",
|
|
2963
2988
|
xs: "var(--ui-space-xs)",
|
|
2964
2989
|
sm: "var(--ui-space-s)",
|
|
2965
2990
|
md: "var(--ui-space-m)",
|
|
2966
2991
|
lg: "var(--ui-space-l)",
|
|
2967
2992
|
xl: "var(--ui-space-xl)"
|
|
2968
|
-
},
|
|
2993
|
+
}, Nr = [
|
|
2969
2994
|
"tabular",
|
|
2970
2995
|
"pointing",
|
|
2971
2996
|
"secondary",
|
|
2972
2997
|
"text",
|
|
2973
2998
|
"segmented"
|
|
2974
|
-
],
|
|
2999
|
+
], Pr = [
|
|
2975
3000
|
"fluid",
|
|
2976
3001
|
"left",
|
|
2977
3002
|
"center",
|
|
2978
3003
|
"right"
|
|
2979
|
-
],
|
|
3004
|
+
], Fr = {
|
|
2980
3005
|
text: "--ui-breadcrumb-divider",
|
|
2981
3006
|
icon: "--ui-breadcrumb-divider-icon",
|
|
2982
3007
|
layout: "--_ui-breadcrumb-divider-layout"
|
|
2983
|
-
},
|
|
3008
|
+
}, Ir = "placeholder", Lr = {
|
|
2984
3009
|
width: "--_ui-input-owner-width",
|
|
2985
3010
|
weight: "--_ui-input-owner-weight",
|
|
2986
3011
|
color: "--_ui-field-state-color",
|
|
2987
3012
|
background: "--_ui-field-state-background",
|
|
2988
3013
|
border: "--_ui-field-state-border"
|
|
2989
|
-
},
|
|
3014
|
+
}, Rr = "field", zr = [
|
|
2990
3015
|
"text",
|
|
2991
3016
|
"number",
|
|
2992
3017
|
"date",
|
|
2993
3018
|
"yes-no",
|
|
2994
3019
|
"choice",
|
|
2995
3020
|
"link"
|
|
2996
|
-
],
|
|
3021
|
+
], Br = {
|
|
2997
3022
|
attribute: "data-sortable",
|
|
2998
3023
|
value: "false"
|
|
2999
|
-
},
|
|
3024
|
+
}, Vr = "data-key", Hr = {
|
|
3000
3025
|
hover: "hover",
|
|
3001
3026
|
focus: "focus",
|
|
3002
3027
|
click: "click",
|
|
3003
3028
|
manual: "manual"
|
|
3004
|
-
},
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
],
|
|
3029
|
+
}, Ur = [
|
|
3030
|
+
Hr.hover,
|
|
3031
|
+
Hr.focus,
|
|
3032
|
+
Hr.click,
|
|
3033
|
+
Hr.manual
|
|
3034
|
+
], Wr = {
|
|
3010
3035
|
approve: ".approve, .ok, .positive, [color=\"positive\"], [positive]:not([positive=\"false\"], [positive=\"no\"])",
|
|
3011
3036
|
deny: ".deny, .cancel, .negative, [color=\"negative\"], [negative]:not([negative=\"false\"], [negative=\"no\"])"
|
|
3012
3037
|
}, ModalActions = class {
|
|
3013
3038
|
static of(e) {
|
|
3014
|
-
if (e.matches(
|
|
3015
|
-
if (e.matches(
|
|
3039
|
+
if (e.matches(Wr.approve)) return "approve";
|
|
3040
|
+
if (e.matches(Wr.deny)) return "deny";
|
|
3016
3041
|
}
|
|
3017
3042
|
static *lightPath(e, t) {
|
|
3018
3043
|
let n = t.getRootNode();
|
|
@@ -3028,13 +3053,13 @@ var M = j, or = 16, sr = {
|
|
|
3028
3053
|
prefix: "prefix",
|
|
3029
3054
|
some: "some",
|
|
3030
3055
|
all: "all"
|
|
3031
|
-
},
|
|
3056
|
+
}, Gr = [
|
|
3032
3057
|
P.exact,
|
|
3033
3058
|
P.fuzzy,
|
|
3034
3059
|
P.prefix,
|
|
3035
3060
|
P.some,
|
|
3036
3061
|
P.all
|
|
3037
|
-
],
|
|
3062
|
+
], Kr = /* @__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("."), qr = [
|
|
3038
3063
|
"flash",
|
|
3039
3064
|
"shake",
|
|
3040
3065
|
"bounce",
|
|
@@ -3043,11 +3068,11 @@ var M = j, or = 16, sr = {
|
|
|
3043
3068
|
"jiggle",
|
|
3044
3069
|
"glow",
|
|
3045
3070
|
"coin"
|
|
3046
|
-
],
|
|
3047
|
-
...Gr,
|
|
3071
|
+
], Jr = "none", Yr = [
|
|
3048
3072
|
...Kr,
|
|
3049
|
-
qr
|
|
3050
|
-
|
|
3073
|
+
...qr,
|
|
3074
|
+
Jr
|
|
3075
|
+
], Xr = [
|
|
3051
3076
|
"mini",
|
|
3052
3077
|
"tiny",
|
|
3053
3078
|
"small",
|
|
@@ -3057,7 +3082,7 @@ var M = j, or = 16, sr = {
|
|
|
3057
3082
|
"huge",
|
|
3058
3083
|
"massive",
|
|
3059
3084
|
"poster"
|
|
3060
|
-
],
|
|
3085
|
+
], Zr = [
|
|
3061
3086
|
"bold",
|
|
3062
3087
|
"heavy",
|
|
3063
3088
|
"italic",
|
|
@@ -3069,37 +3094,37 @@ var M = j, or = 16, sr = {
|
|
|
3069
3094
|
"superscript",
|
|
3070
3095
|
"all-caps",
|
|
3071
3096
|
"title-caps"
|
|
3072
|
-
],
|
|
3097
|
+
], Qr = [
|
|
3073
3098
|
"headline",
|
|
3074
3099
|
"subhead",
|
|
3075
3100
|
"serif",
|
|
3076
3101
|
"sans-serif",
|
|
3077
3102
|
"typewriter"
|
|
3078
|
-
],
|
|
3103
|
+
], $r = [...Zr, ...Qr], ei = "fade", ti = "--ui-motion", ni = class AnimationLookup {
|
|
3079
3104
|
static fomanticNameFor(e) {
|
|
3080
3105
|
let t = e.trim().replace(/\s+/g, " ");
|
|
3081
|
-
return
|
|
3106
|
+
return Yr.includes(t) ? t : Yr.find((e) => AnimationLookup.runtimeNameFor(e) === t);
|
|
3082
3107
|
}
|
|
3083
3108
|
static runtimeNameFor(e) {
|
|
3084
|
-
return
|
|
3109
|
+
return ri[e] ?? e.replace(/ /g, "-");
|
|
3085
3110
|
}
|
|
3086
3111
|
static isAttention(e) {
|
|
3087
|
-
return
|
|
3112
|
+
return qr.includes(e);
|
|
3088
3113
|
}
|
|
3089
3114
|
static keyframesBeside(e, t) {
|
|
3090
3115
|
if (e !== "none" && e !== t) return AnimationLookup.isAttention(e) ? void 0 : AnimationLookup.runtimeNameFor(e);
|
|
3091
3116
|
}
|
|
3092
|
-
},
|
|
3117
|
+
}, ri = {
|
|
3093
3118
|
"horizontal flip": "flip-horizontal",
|
|
3094
3119
|
"vertical flip": "flip-vertical",
|
|
3095
3120
|
slide: "slide-down",
|
|
3096
3121
|
swing: "swing-down"
|
|
3097
|
-
},
|
|
3122
|
+
}, ii = {
|
|
3098
3123
|
show: "--show",
|
|
3099
3124
|
close: "--close",
|
|
3100
3125
|
toggle: "--toggle",
|
|
3101
3126
|
transition: "--transition"
|
|
3102
|
-
},
|
|
3127
|
+
}, ai = class ToggleCommands {
|
|
3103
3128
|
static show = "--show";
|
|
3104
3129
|
static close = "--close";
|
|
3105
3130
|
static toggle = "--toggle";
|
|
@@ -3108,38 +3133,38 @@ var M = j, or = 16, sr = {
|
|
|
3108
3133
|
if (n === ToggleCommands.show || n === ToggleCommands.toggle && !t) return "show";
|
|
3109
3134
|
if (n === ToggleCommands.close || n === ToggleCommands.toggle) return "close";
|
|
3110
3135
|
}
|
|
3111
|
-
},
|
|
3136
|
+
}, oi = "pusher", si = "sidebar", ci = "pushable", li = {
|
|
3112
3137
|
transform: "--_ui-pusher-transform",
|
|
3113
3138
|
origin: "--_ui-pusher-origin",
|
|
3114
3139
|
dimmed: "--_ui-pusher-dimmed",
|
|
3115
3140
|
blurring: "--_ui-pusher-blurring"
|
|
3116
|
-
},
|
|
3141
|
+
}, ui = [
|
|
3117
3142
|
"very thin",
|
|
3118
3143
|
"thin",
|
|
3119
3144
|
"wide",
|
|
3120
3145
|
"very wide"
|
|
3121
3146
|
], WordWidthClasses = class {
|
|
3122
3147
|
static classFor(e) {
|
|
3123
|
-
let t = typeof e == "string" ? e.trim().replace(
|
|
3124
|
-
return
|
|
3148
|
+
let t = typeof e == "string" ? e.trim().replace(di, " ") : void 0;
|
|
3149
|
+
return ui.find((e) => e === t);
|
|
3125
3150
|
}
|
|
3126
|
-
},
|
|
3151
|
+
}, di = /[\s-]+/g, fi = [
|
|
3127
3152
|
"up",
|
|
3128
3153
|
"down",
|
|
3129
3154
|
"left",
|
|
3130
3155
|
"right",
|
|
3131
3156
|
"over",
|
|
3132
3157
|
"back"
|
|
3133
|
-
],
|
|
3158
|
+
], pi = {
|
|
3134
3159
|
next: "--next",
|
|
3135
3160
|
previous: "--previous",
|
|
3136
3161
|
flip: "--flip-"
|
|
3137
|
-
},
|
|
3162
|
+
}, mi = "side", hi = { textOf(e) {
|
|
3138
3163
|
let t = e.getAttribute("label");
|
|
3139
3164
|
if (t) return t;
|
|
3140
3165
|
let n = [...e.children].find((e) => e.getAttribute("slot") === "label");
|
|
3141
3166
|
return n ? n.textContent ?? void 0 : void 0;
|
|
3142
|
-
} },
|
|
3167
|
+
} }, gi = {
|
|
3143
3168
|
arrowUp: "ArrowUp",
|
|
3144
3169
|
arrowDown: "ArrowDown",
|
|
3145
3170
|
arrowLeft: "ArrowLeft",
|
|
@@ -3154,12 +3179,12 @@ var M = j, or = 16, sr = {
|
|
|
3154
3179
|
tab: "Tab",
|
|
3155
3180
|
backspace: "Backspace",
|
|
3156
3181
|
delete: "Delete"
|
|
3157
|
-
},
|
|
3182
|
+
}, _i = ":state(disabled)", vi = "ordered", yi = "close", bi = "left", xi = "bottom", Si = "active", Ci = "disabled", wi = "selected", Ti = "animating", Ei = "visible", Di = "title", Oi = "button", ki = "content", Ai = "header", ji = "heading", Mi = "appearance", Ni = "description", Pi = "icon", Fi = "icon", Ii = "image", Li = "item", Ri = "label", zi = "message", Bi = "text", Vi = "basic", Hi = "fluid", Ui = "close icon", Wi = "xmark", Gi = "ui-visually-hidden-force", Ki = [
|
|
3158
3183
|
"error",
|
|
3159
3184
|
"info",
|
|
3160
3185
|
"success",
|
|
3161
3186
|
"warning"
|
|
3162
|
-
],
|
|
3187
|
+
], qi = "notEmpty", Ji = /\s+/, Yi = /^\d+(\.\d+)?$/, Xi = {
|
|
3163
3188
|
name: {
|
|
3164
3189
|
name: "name",
|
|
3165
3190
|
group: "name",
|
|
@@ -3192,7 +3217,7 @@ var M = j, or = 16, sr = {
|
|
|
3192
3217
|
kind: "string",
|
|
3193
3218
|
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."
|
|
3194
3219
|
}
|
|
3195
|
-
},
|
|
3220
|
+
}, Zi = {
|
|
3196
3221
|
readonly: {
|
|
3197
3222
|
name: "readonly",
|
|
3198
3223
|
description: "`readonly`: can't be changed."
|
|
@@ -3201,21 +3226,21 @@ var M = j, or = 16, sr = {
|
|
|
3201
3226
|
name: "invalid",
|
|
3202
3227
|
description: "Fails validation, once a person has interacted (`:user-invalid` semantics)."
|
|
3203
3228
|
}
|
|
3204
|
-
},
|
|
3229
|
+
}, Qi = [
|
|
3205
3230
|
"eager",
|
|
3206
3231
|
"visible",
|
|
3207
3232
|
"idle"
|
|
3208
|
-
],
|
|
3233
|
+
], $i = [{
|
|
3209
3234
|
name: "source",
|
|
3210
3235
|
kind: "string",
|
|
3211
3236
|
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."
|
|
3212
3237
|
}, {
|
|
3213
3238
|
name: "load",
|
|
3214
3239
|
kind: "enum",
|
|
3215
|
-
values:
|
|
3240
|
+
values: Qi,
|
|
3216
3241
|
default: "eager",
|
|
3217
3242
|
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`."
|
|
3218
|
-
}],
|
|
3243
|
+
}], ea = [
|
|
3219
3244
|
{
|
|
3220
3245
|
name: "ui-loaded",
|
|
3221
3246
|
detail: "{ source?: string, content: string }",
|
|
@@ -3243,13 +3268,13 @@ var M = j, or = 16, sr = {
|
|
|
3243
3268
|
cancelable: !0,
|
|
3244
3269
|
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."
|
|
3245
3270
|
}
|
|
3246
|
-
],
|
|
3271
|
+
], ta = [{
|
|
3247
3272
|
name: "loader",
|
|
3248
3273
|
description: "The `<ui-loader>` shown while `source` loads."
|
|
3249
3274
|
}, {
|
|
3250
3275
|
name: "error",
|
|
3251
3276
|
description: "The `<ui-message>` shown when loading or showing failed."
|
|
3252
|
-
}],
|
|
3277
|
+
}], na = [
|
|
3253
3278
|
{
|
|
3254
3279
|
name: "loading",
|
|
3255
3280
|
description: "Fetching `source`."
|
|
@@ -3266,7 +3291,7 @@ var M = j, or = 16, sr = {
|
|
|
3266
3291
|
name: "dirty",
|
|
3267
3292
|
description: "`content` changed since it was loaded or saved."
|
|
3268
3293
|
}
|
|
3269
|
-
],
|
|
3294
|
+
], ra = [
|
|
3270
3295
|
{
|
|
3271
3296
|
key: "sourceLoadError",
|
|
3272
3297
|
text: "Couldn't load {source}.",
|
|
@@ -3287,11 +3312,11 @@ var M = j, or = 16, sr = {
|
|
|
3287
3312
|
text: "Couldn't show {source}.",
|
|
3288
3313
|
description: "The text arrived, but couldn't be shown."
|
|
3289
3314
|
}
|
|
3290
|
-
],
|
|
3315
|
+
], ia = [{
|
|
3291
3316
|
key: "sourceLoading",
|
|
3292
3317
|
text: "Loading {source}",
|
|
3293
3318
|
description: "Accessible name of the loader."
|
|
3294
|
-
}, ...
|
|
3319
|
+
}, ...ra], aa = [{
|
|
3295
3320
|
name: "source",
|
|
3296
3321
|
kind: "string",
|
|
3297
3322
|
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."
|
|
@@ -3300,7 +3325,7 @@ var M = j, or = 16, sr = {
|
|
|
3300
3325
|
kind: "string",
|
|
3301
3326
|
replaces: ["select"],
|
|
3302
3327
|
description: "With `source`: a CSS selector; only its first match in the file becomes the content. Its old name was `select`."
|
|
3303
|
-
}],
|
|
3328
|
+
}], oa = [
|
|
3304
3329
|
{
|
|
3305
3330
|
name: "ui-loading",
|
|
3306
3331
|
detail: "{ source: string }",
|
|
@@ -3317,16 +3342,16 @@ var M = j, or = 16, sr = {
|
|
|
3317
3342
|
cancelable: !0,
|
|
3318
3343
|
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."
|
|
3319
3344
|
}
|
|
3320
|
-
],
|
|
3345
|
+
], sa = [{
|
|
3321
3346
|
name: "error",
|
|
3322
3347
|
description: "With `source`: the line saying the file couldn't be loaded."
|
|
3323
|
-
}],
|
|
3348
|
+
}], ca = [{
|
|
3324
3349
|
name: "loaded",
|
|
3325
3350
|
description: "With `source`: the file's body is in place."
|
|
3326
3351
|
}, {
|
|
3327
3352
|
name: "error",
|
|
3328
3353
|
description: "With `source`: the file couldn't be loaded or shown."
|
|
3329
|
-
}],
|
|
3354
|
+
}], la = [
|
|
3330
3355
|
"red",
|
|
3331
3356
|
"orange",
|
|
3332
3357
|
"yellow",
|
|
@@ -3340,7 +3365,7 @@ var M = j, or = 16, sr = {
|
|
|
3340
3365
|
"brown",
|
|
3341
3366
|
"grey",
|
|
3342
3367
|
"black"
|
|
3343
|
-
],
|
|
3368
|
+
], ua = [
|
|
3344
3369
|
"system",
|
|
3345
3370
|
"rounded",
|
|
3346
3371
|
"serif",
|
|
@@ -3348,20 +3373,20 @@ var M = j, or = 16, sr = {
|
|
|
3348
3373
|
"humanist",
|
|
3349
3374
|
"verdana",
|
|
3350
3375
|
"mono"
|
|
3351
|
-
],
|
|
3376
|
+
], da = [
|
|
3352
3377
|
"sharp",
|
|
3353
3378
|
"soft",
|
|
3354
3379
|
"round",
|
|
3355
3380
|
"pill"
|
|
3356
|
-
],
|
|
3381
|
+
], fa = [
|
|
3357
3382
|
"flat",
|
|
3358
3383
|
"soft",
|
|
3359
3384
|
"lifted"
|
|
3360
|
-
],
|
|
3385
|
+
], pa = [
|
|
3361
3386
|
"clear",
|
|
3362
3387
|
"frosted",
|
|
3363
3388
|
"solid"
|
|
3364
|
-
],
|
|
3389
|
+
], ma = "ui-theme-applied", ThemeNames = class {
|
|
3365
3390
|
static titleOf(e) {
|
|
3366
3391
|
return e.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join(" ");
|
|
3367
3392
|
}
|
|
@@ -3376,10 +3401,10 @@ var M = j, or = 16, sr = {
|
|
|
3376
3401
|
static attributeFor(e) {
|
|
3377
3402
|
return String(Math.min(6, Math.max(1, Math.round(e))));
|
|
3378
3403
|
}
|
|
3379
|
-
},
|
|
3404
|
+
}, ha = /`([^`]+)`/g, ga = {
|
|
3380
3405
|
entry: "data-toc",
|
|
3381
3406
|
group: "data-toc-group"
|
|
3382
|
-
},
|
|
3407
|
+
}, _a = {
|
|
3383
3408
|
lang: "es",
|
|
3384
3409
|
attributes: {
|
|
3385
3410
|
disabled: "desactivado",
|
|
@@ -3428,29 +3453,29 @@ var M = j, or = 16, sr = {
|
|
|
3428
3453
|
return SharedVocabulary.withShared(e).shared.has(t);
|
|
3429
3454
|
}
|
|
3430
3455
|
static translated(e, t) {
|
|
3431
|
-
return
|
|
3456
|
+
return ya.get(e)?.attributes[t];
|
|
3432
3457
|
}
|
|
3433
3458
|
static translatedValues(e, t) {
|
|
3434
|
-
return
|
|
3459
|
+
return ya.get(e)?.values?.[t];
|
|
3435
3460
|
}
|
|
3436
3461
|
static get attributeNames() {
|
|
3437
|
-
return
|
|
3462
|
+
return va.map(({ name: e }) => e);
|
|
3438
3463
|
}
|
|
3439
3464
|
static isSharedAttribute(e) {
|
|
3440
|
-
return
|
|
3465
|
+
return va.some((t) => t.name === e);
|
|
3441
3466
|
}
|
|
3442
3467
|
static withShared(e) {
|
|
3443
3468
|
let t = SharedVocabulary.cache.get(e);
|
|
3444
3469
|
if (t) return t;
|
|
3445
|
-
let n = new Set(e.attributes.map(({ name: e }) => e)), r =
|
|
3470
|
+
let n = new Set(e.attributes.map(({ name: e }) => e)), r = va.filter(({ name: e }) => !n.has(e)), i = new Set(e.states.map(({ name: e }) => e));
|
|
3446
3471
|
return t = {
|
|
3447
3472
|
attributes: r.length ? [...e.attributes, ...r] : e.attributes,
|
|
3448
|
-
states: [...e.states, ...
|
|
3473
|
+
states: [...e.states, ...ba.filter(({ name: e }) => !i.has(e))],
|
|
3449
3474
|
shared: new Set(r.map(({ name: e }) => e))
|
|
3450
3475
|
}, SharedVocabulary.cache.set(e, t), t;
|
|
3451
3476
|
}
|
|
3452
3477
|
static cache = /* @__PURE__ */ new WeakMap();
|
|
3453
|
-
},
|
|
3478
|
+
}, va = [
|
|
3454
3479
|
{
|
|
3455
3480
|
name: "disabled",
|
|
3456
3481
|
kind: "boolean",
|
|
@@ -3469,7 +3494,7 @@ var M = j, or = 16, sr = {
|
|
|
3469
3494
|
{
|
|
3470
3495
|
name: "animation",
|
|
3471
3496
|
kind: "enum",
|
|
3472
|
-
values:
|
|
3497
|
+
values: Yr,
|
|
3473
3498
|
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."
|
|
3474
3499
|
},
|
|
3475
3500
|
{
|
|
@@ -3489,7 +3514,7 @@ var M = j, or = 16, sr = {
|
|
|
3489
3514
|
name: "font",
|
|
3490
3515
|
group: "appearance",
|
|
3491
3516
|
kind: "multiple",
|
|
3492
|
-
values:
|
|
3517
|
+
values: $r,
|
|
3493
3518
|
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."
|
|
3494
3519
|
},
|
|
3495
3520
|
{
|
|
@@ -3547,7 +3572,7 @@ var M = j, or = 16, sr = {
|
|
|
3547
3572
|
kind: "string",
|
|
3548
3573
|
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."
|
|
3549
3574
|
}
|
|
3550
|
-
],
|
|
3575
|
+
], ya = /* @__PURE__ */ new Map([[_a.lang, _a]]), ba = [
|
|
3551
3576
|
{
|
|
3552
3577
|
name: "disabled",
|
|
3553
3578
|
description: "`disabled` is set (or, on a form control, a `<fieldset disabled>` around it)."
|
|
@@ -3588,8 +3613,8 @@ var M = j, or = 16, sr = {
|
|
|
3588
3613
|
name: "on-platform",
|
|
3589
3614
|
description: "`on-platform` names some devices; `on-phone`, `on-tablet` and `on-desktop` say which. On any other device it's hidden."
|
|
3590
3615
|
}
|
|
3591
|
-
],
|
|
3592
|
-
|
|
3616
|
+
], xa, Sa = [proto], I;
|
|
3617
|
+
xa = [proto];
|
|
3593
3618
|
var L = class _Vocabulary {
|
|
3594
3619
|
constructor() {
|
|
3595
3620
|
__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());
|
|
@@ -3662,7 +3687,7 @@ var L = class _Vocabulary {
|
|
|
3662
3687
|
l && (a.values.set(t.name, l.forward), i.values.set(t.name, l.inverse));
|
|
3663
3688
|
}
|
|
3664
3689
|
for (let t of e.attributes) for (let e of t.aliases ?? []) a.attributes.has(e) || a.attributes.set(e, t);
|
|
3665
|
-
for (let s of e.events) {
|
|
3690
|
+
for (let s of e.events ?? []) {
|
|
3666
3691
|
let e = r.events?.[s.name] ?? n.events?.[s.name], c = _Vocabulary.eventName(s.name, t, e);
|
|
3667
3692
|
_Vocabulary.claim({
|
|
3668
3693
|
map: a.events,
|
|
@@ -3671,7 +3696,7 @@ var L = class _Vocabulary {
|
|
|
3671
3696
|
what: `${o} event`
|
|
3672
3697
|
}), i.events.set(s.name, c);
|
|
3673
3698
|
}
|
|
3674
|
-
for (let t of e.slots) {
|
|
3699
|
+
for (let t of e.slots ?? []) {
|
|
3675
3700
|
let e = t.name && (r.slots?.[t.name] ?? n.slots?.[t.name] ?? t.name);
|
|
3676
3701
|
_Vocabulary.claim({
|
|
3677
3702
|
map: a.slots,
|
|
@@ -3680,7 +3705,7 @@ var L = class _Vocabulary {
|
|
|
3680
3705
|
what: `${o} slot`
|
|
3681
3706
|
}), i.slots.set(t.name, e);
|
|
3682
3707
|
}
|
|
3683
|
-
for (let t of e.parts) {
|
|
3708
|
+
for (let t of e.parts ?? []) {
|
|
3684
3709
|
let e = r.parts?.[t.name] ?? n.parts?.[t.name] ?? t.name;
|
|
3685
3710
|
_Vocabulary.claim({
|
|
3686
3711
|
map: a.parts,
|
|
@@ -3791,7 +3816,7 @@ var L = class _Vocabulary {
|
|
|
3791
3816
|
if (e.kind !== "multiple") return t.get(r) ?? n;
|
|
3792
3817
|
let i = r.split(/\s+/), a = [];
|
|
3793
3818
|
for (let e = 0; e < i.length;) {
|
|
3794
|
-
let n = Math.min(
|
|
3819
|
+
let n = Math.min(Ta, i.length - e);
|
|
3795
3820
|
for (; n > 1 && !t.has(i.slice(e, e + n).join(" ")); n--);
|
|
3796
3821
|
let r = i.slice(e, e + n).join(" ");
|
|
3797
3822
|
a.push(t.get(r) ?? r), e += n;
|
|
@@ -3803,19 +3828,19 @@ var L = class _Vocabulary {
|
|
|
3803
3828
|
return t < 0 ? e : e.slice(t + 1);
|
|
3804
3829
|
}
|
|
3805
3830
|
static eventName(e, t, n) {
|
|
3806
|
-
return n === void 0 ? e.startsWith(
|
|
3831
|
+
return n === void 0 ? e.startsWith(wa) ? `${t}-${_Vocabulary.stem(e)}` : e : `${t}-${n}`;
|
|
3807
3832
|
}
|
|
3808
3833
|
};
|
|
3809
|
-
I = __decoratorStart(null), __decorateElement(I, 13, "prefix",
|
|
3810
|
-
var
|
|
3834
|
+
I = __decoratorStart(null), __decorateElement(I, 13, "prefix", Sa, L), __decorateElement(I, 13, "dictionary", xa, 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);
|
|
3835
|
+
var Ca = L, wa = "ui-", Ta = 3, Ea = class DefaultValues {
|
|
3811
3836
|
static isContent(e) {
|
|
3812
|
-
return
|
|
3837
|
+
return Da.includes(e.name) || e.group !== void 0 && Oa.includes(e.group) || e.kind === "json";
|
|
3813
3838
|
}
|
|
3814
3839
|
static problemWith(e, t) {
|
|
3815
3840
|
if (typeof t == "boolean") return DefaultValues.isOnOrOff(e) ? void 0 : { takes: "no-boolean" };
|
|
3816
3841
|
if (typeof t == "number") return;
|
|
3817
3842
|
if (typeof t != "string") return { takes: "text" };
|
|
3818
|
-
let n = t.trim().toLowerCase().replace(
|
|
3843
|
+
let n = t.trim().toLowerCase().replace(ja, " ");
|
|
3819
3844
|
if (DefaultValues.isOnOrOff(e)) return M.has("booleans", n) || n === "" ? void 0 : { takes: "boolean" };
|
|
3820
3845
|
if (e.kind === "number") return Number.isNaN(Number(n)) ? { takes: "number" } : void 0;
|
|
3821
3846
|
let r = DefaultValues.setOf(e);
|
|
@@ -3826,10 +3851,10 @@ var Sa = L, Ca = "ui-", wa = 3, Ta = class DefaultValues {
|
|
|
3826
3851
|
};
|
|
3827
3852
|
}
|
|
3828
3853
|
static isOnOrOff(e) {
|
|
3829
|
-
return
|
|
3854
|
+
return ka.includes(e.kind);
|
|
3830
3855
|
}
|
|
3831
3856
|
static setOf(e) {
|
|
3832
|
-
return
|
|
3857
|
+
return Aa.includes(e.kind) ? M.setFor(e) : void 0;
|
|
3833
3858
|
}
|
|
3834
3859
|
static textOf(e) {
|
|
3835
3860
|
switch (e.takes) {
|
|
@@ -3840,11 +3865,11 @@ var Sa = L, Ca = "ui-", wa = 3, Ta = class DefaultValues {
|
|
|
3840
3865
|
case "values": return `isn't one of its values${e.guess ? `; did you mean ${JSON.stringify(e.guess)}?` : ""}`;
|
|
3841
3866
|
}
|
|
3842
3867
|
}
|
|
3843
|
-
},
|
|
3868
|
+
}, Da = [
|
|
3844
3869
|
"label",
|
|
3845
3870
|
"value",
|
|
3846
3871
|
"text"
|
|
3847
|
-
],
|
|
3872
|
+
], Oa = ["name", "content"], ka = ["keyOnly", "boolean"], Aa = [
|
|
3848
3873
|
"size",
|
|
3849
3874
|
"color",
|
|
3850
3875
|
"valueOnly",
|
|
@@ -3854,7 +3879,7 @@ var Sa = L, Ca = "ui-", wa = 3, Ta = class DefaultValues {
|
|
|
3854
3879
|
"textAlign",
|
|
3855
3880
|
"verticalAlign",
|
|
3856
3881
|
"multiple"
|
|
3857
|
-
],
|
|
3882
|
+
], ja = /\s+/g, Ma = "0.8.17";
|
|
3858
3883
|
// ../src/util/fetching.ts
|
|
3859
3884
|
async function fetchOk(e, t, n) {
|
|
3860
3885
|
let r;
|
|
@@ -3892,10 +3917,10 @@ var ApiError = class extends Error {
|
|
|
3892
3917
|
};
|
|
3893
3918
|
ApiError.prototype.name = "ApiError";
|
|
3894
3919
|
// src/runtime/runtime.types.ts
|
|
3895
|
-
var R = Symbol.for("spell-ui:runtime"),
|
|
3920
|
+
var R = Symbol.for("spell-ui:runtime"), Na = Ma, Pa = "@layer ui.reset, ui.tokens, ui.base, ui.components, ui.utilities, ui.theme, ui.app;", Fa = {
|
|
3896
3921
|
none: "none",
|
|
3897
3922
|
contents: "contents"
|
|
3898
|
-
},
|
|
3923
|
+
}, Ia = "page", La = "ui-scroll-locked", Ra = "ui-app-stylesheet", za = "utilities", Ba = /* @__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("."), Va = {
|
|
3899
3924
|
close: "Close",
|
|
3900
3925
|
cancel: "Cancel",
|
|
3901
3926
|
ok: "OK",
|
|
@@ -3910,7 +3935,7 @@ var R = Symbol.for("spell-ui:runtime"), Ma = ja, Na = "@layer ui.reset, ui.token
|
|
|
3910
3935
|
less: "Less",
|
|
3911
3936
|
required: "Required",
|
|
3912
3937
|
invalid: "Invalid value"
|
|
3913
|
-
},
|
|
3938
|
+
}, Ha = "temporal-polyfill", Ua = [
|
|
3914
3939
|
"load",
|
|
3915
3940
|
"cross-origin",
|
|
3916
3941
|
"file-protocol",
|
|
@@ -3929,20 +3954,20 @@ var R = Symbol.for("spell-ui:runtime"), Ma = ja, Na = "@layer ui.reset, ui.token
|
|
|
3929
3954
|
return e instanceof SourceError && e.kind || t;
|
|
3930
3955
|
}
|
|
3931
3956
|
static isKind(e) {
|
|
3932
|
-
return
|
|
3957
|
+
return Ua.includes(e);
|
|
3933
3958
|
}
|
|
3934
3959
|
};
|
|
3935
3960
|
z.prototype.name = "SourceError";
|
|
3936
|
-
var
|
|
3961
|
+
var Wa = "ui-languages-changed", Ga = {
|
|
3937
3962
|
up: "up",
|
|
3938
3963
|
down: "down",
|
|
3939
3964
|
static: "static"
|
|
3940
|
-
},
|
|
3965
|
+
}, Ka;
|
|
3941
3966
|
function load() {
|
|
3942
3967
|
let e = pageRuntime();
|
|
3943
|
-
return e ? e.load() : (
|
|
3944
|
-
throw
|
|
3945
|
-
}),
|
|
3968
|
+
return e ? e.load() : (Ka ??= import("./UIRuntime-BaokNnwk.js").then(({ UIRuntime: e }) => e.instance.load(), (e) => {
|
|
3969
|
+
throw Ka = void 0, e;
|
|
3970
|
+
}), Ka);
|
|
3946
3971
|
}
|
|
3947
3972
|
var B = new Proxy({}, {
|
|
3948
3973
|
get(e, t) {
|
|
@@ -3968,7 +3993,7 @@ function notLoaded(e) {
|
|
|
3968
3993
|
return /* @__PURE__ */ Error(`UI.${String(e)}: the UI runtime isn't loaded yet; \`await UI.load()\` first`);
|
|
3969
3994
|
}
|
|
3970
3995
|
// src/elements/ClassBuilder.ts
|
|
3971
|
-
var
|
|
3996
|
+
var qa = [proto], Ja, V = class _ClassBuilder {
|
|
3972
3997
|
constructor(e) {
|
|
3973
3998
|
__publicField(this, "vocabulary"), __publicField(this, "specs"), __publicField(this, "keys"), this.vocabulary = e, this.specs = [
|
|
3974
3999
|
...byKind("size"),
|
|
@@ -4026,14 +4051,14 @@ var Ka = [proto], qa, V = class _ClassBuilder {
|
|
|
4026
4051
|
return t.extra && a.push(t.extra), a.push(t.noun ?? this.vocabulary.noun), a.join(" ");
|
|
4027
4052
|
}
|
|
4028
4053
|
pushClasses(e, t, n) {
|
|
4029
|
-
let r = n.kind === "multiple" ? t.trim().split(
|
|
4054
|
+
let r = n.kind === "multiple" ? t.trim().split(to) : [t];
|
|
4030
4055
|
for (let t of r) {
|
|
4031
4056
|
let r = n.classes[t] ?? t;
|
|
4032
4057
|
r && e.push(r);
|
|
4033
4058
|
}
|
|
4034
4059
|
}
|
|
4035
4060
|
pushMultiple(e, t, n) {
|
|
4036
|
-
let r = t.trim().split(
|
|
4061
|
+
let r = t.trim().split(to);
|
|
4037
4062
|
for (let t = 0; t < r.length; t++) {
|
|
4038
4063
|
let i = r[t];
|
|
4039
4064
|
i = i === "large" && r[t + 1] === "screen" ? `${i} ${r[++t]}` : i.replace("-", " "), r[t + 1] === "vertically" && (i = `${i} ${r[++t]}`), e.push(`${i} ${n}`);
|
|
@@ -4060,7 +4085,7 @@ var Ka = [proto], qa, V = class _ClassBuilder {
|
|
|
4060
4085
|
if (Array.isArray(e)) return e.map((e) => _ClassBuilder.text(e) ?? "").join(" ");
|
|
4061
4086
|
}
|
|
4062
4087
|
};
|
|
4063
|
-
|
|
4088
|
+
Ja = __decoratorStart(null), __decorateElement(Ja, 13, "grammar", qa, V), __decoratorMetadata(Ja, V), __name(V, "ClassBuilder"), __publicField(V, "grammar", __runInitializers(Ja, 8, V, {
|
|
4064
4089
|
ui: "ui",
|
|
4065
4090
|
medium: "medium",
|
|
4066
4091
|
aligned: "aligned",
|
|
@@ -4068,8 +4093,8 @@ qa = __decoratorStart(null), __decorateElement(qa, 13, "grammar", Ka, V), __deco
|
|
|
4068
4093
|
wide: "wide",
|
|
4069
4094
|
equal: "equal",
|
|
4070
4095
|
equalWidth: "equal width"
|
|
4071
|
-
})), __runInitializers(
|
|
4072
|
-
var
|
|
4096
|
+
})), __runInitializers(Ja, 11, V);
|
|
4097
|
+
var Ya = V, Xa = [state], Za, Qa, H = class _RootSettings {
|
|
4073
4098
|
static set(e, t) {
|
|
4074
4099
|
_RootSettings.byRoot.set(e, t), _RootSettings.generation += 1;
|
|
4075
4100
|
}
|
|
@@ -4098,24 +4123,24 @@ var Ja = V, Ya = [state], Xa, Za, H = class _RootSettings {
|
|
|
4098
4123
|
});
|
|
4099
4124
|
}
|
|
4100
4125
|
}
|
|
4101
|
-
return r.size ? [...r.values()] :
|
|
4126
|
+
return r.size ? [...r.values()] : eo;
|
|
4102
4127
|
}
|
|
4103
4128
|
static checkedDefault(e, t, n, r, i) {
|
|
4104
|
-
let a = t.takesAttribute(r) ? t.attribute(r) : t.attributeNamed(r), o = a ?
|
|
4129
|
+
let a = t.takesAttribute(r) ? t.attribute(r) : t.attributeNamed(r), o = a ? Ea.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)}`;
|
|
4105
4130
|
if (!o) return a;
|
|
4106
4131
|
_RootSettings.warnOnce(e, `defaults: <${n} ${r}=${JSON.stringify(i)}>: ${o}; left out`);
|
|
4107
4132
|
}
|
|
4108
4133
|
static problemWithValue(e, t) {
|
|
4109
|
-
let n =
|
|
4110
|
-
return n &&
|
|
4134
|
+
let n = Ea.problemWith(e, t);
|
|
4135
|
+
return n && Ea.textOf(n);
|
|
4111
4136
|
}
|
|
4112
4137
|
static warnOnce(e, t) {
|
|
4113
4138
|
let n = _RootSettings.warned.get(e);
|
|
4114
4139
|
n || _RootSettings.warned.set(e, n = /* @__PURE__ */ new Set()), n.has(t) || (n.add(t), Warnings.warn("<ui-root>", t, e));
|
|
4115
4140
|
}
|
|
4116
4141
|
};
|
|
4117
|
-
|
|
4118
|
-
var
|
|
4142
|
+
Za = __decoratorStart(null), Qa = /* @__PURE__ */ new WeakMap(), __decorateElement(Za, 12, "generation", Xa, H, Qa), __decoratorMetadata(Za, H), __name(H, "RootSettings"), __privateAdd(H, Qa, __runInitializers(Za, 8, H, 0)), __runInitializers(Za, 11, H), __publicField(H, "byRoot", /* @__PURE__ */ new WeakMap()), __publicField(H, "warned", /* @__PURE__ */ new WeakMap());
|
|
4143
|
+
var $a = H, eo = Object.freeze([]), SpellUISettings = class {
|
|
4119
4144
|
static settings = {
|
|
4120
4145
|
runtime: {
|
|
4121
4146
|
get isLoaded() {
|
|
@@ -4124,8 +4149,8 @@ var Qa = H, $a = Object.freeze([]), SpellUISettings = class {
|
|
|
4124
4149
|
load: () => B.load()
|
|
4125
4150
|
},
|
|
4126
4151
|
words: {
|
|
4127
|
-
names: () => new
|
|
4128
|
-
classes: (e) => new
|
|
4152
|
+
names: () => new Ca(),
|
|
4153
|
+
classes: (e) => new Ya(e),
|
|
4129
4154
|
attributesFor: (e) => F.attributesFor(e),
|
|
4130
4155
|
takesShared: (e, t) => F.takesShared(e, t),
|
|
4131
4156
|
converters: N,
|
|
@@ -4143,26 +4168,26 @@ var Qa = H, $a = Object.freeze([]), SpellUISettings = class {
|
|
|
4143
4168
|
},
|
|
4144
4169
|
focus: { moveOutOf: (e) => B.focus.moveOutOf(e) },
|
|
4145
4170
|
motion: {
|
|
4146
|
-
defaultAnimation:
|
|
4147
|
-
property:
|
|
4171
|
+
defaultAnimation: ei,
|
|
4172
|
+
property: ti,
|
|
4148
4173
|
get isReduced() {
|
|
4149
4174
|
return B.browser.isReducedMotion;
|
|
4150
4175
|
},
|
|
4151
|
-
isAttention: (e) =>
|
|
4176
|
+
isAttention: (e) => ni.isAttention(e),
|
|
4152
4177
|
reveal: (e) => B.transitions.reveal(e),
|
|
4153
4178
|
animate: (e, t, n) => B.transitions.animate({
|
|
4154
4179
|
element: e,
|
|
4155
|
-
name:
|
|
4180
|
+
name: ni.runtimeNameFor(t),
|
|
4156
4181
|
direction: n ? "in" : "out"
|
|
4157
4182
|
})
|
|
4158
4183
|
},
|
|
4159
4184
|
warn: (e, t, ...n) => Warnings.warn(e, t, ...n),
|
|
4160
|
-
defaults: { for: (e, t) =>
|
|
4185
|
+
defaults: { for: (e, t) => $a.defaultsFor(e, t) }
|
|
4161
4186
|
};
|
|
4162
4187
|
};
|
|
4163
4188
|
y.install(SpellUISettings.settings);
|
|
4164
4189
|
// src/elements/elements.types.ts
|
|
4165
|
-
var
|
|
4190
|
+
var to = /\s+/, no = ["value", "length"];
|
|
4166
4191
|
function markedPieces(e, t) {
|
|
4167
4192
|
let n = [], r = 0;
|
|
4168
4193
|
for (let [i, a] of t) i > r && n.push({
|
|
@@ -4177,23 +4202,23 @@ function markedPieces(e, t) {
|
|
|
4177
4202
|
isMarked: !1
|
|
4178
4203
|
}), n;
|
|
4179
4204
|
}
|
|
4180
|
-
var
|
|
4205
|
+
var ro = ["text", "value"], U = {
|
|
4181
4206
|
idle: "idle",
|
|
4182
4207
|
loading: "loading",
|
|
4183
4208
|
loaded: "loaded",
|
|
4184
4209
|
error: "error"
|
|
4185
|
-
},
|
|
4210
|
+
}, io = "ui-loader", ao = "ui-message", oo = [
|
|
4186
4211
|
"href",
|
|
4187
4212
|
"src",
|
|
4188
4213
|
"action",
|
|
4189
4214
|
"poster",
|
|
4190
4215
|
"source"
|
|
4191
|
-
],
|
|
4216
|
+
], so = oo.map((e) => `[${e}]`).join(","), co = "data-ui-include-", lo = 8, uo = {
|
|
4192
4217
|
load: "sourceLoadError",
|
|
4193
4218
|
"cross-origin": "sourceCrossOrigin",
|
|
4194
4219
|
"file-protocol": "sourceFileProtocol",
|
|
4195
4220
|
render: "sourceRenderError"
|
|
4196
|
-
},
|
|
4221
|
+
}, fo = 300, po = "source", W = {
|
|
4197
4222
|
load: "ui-loaded",
|
|
4198
4223
|
loading: "ui-loading",
|
|
4199
4224
|
loaded: "ui-loaded",
|
|
@@ -4201,12 +4226,12 @@ var no = ["text", "value"], U = {
|
|
|
4201
4226
|
save: "ui-saving",
|
|
4202
4227
|
saved: "ui-saved",
|
|
4203
4228
|
error: De
|
|
4204
|
-
},
|
|
4229
|
+
}, mo = ["top", "bottom"], ho = /* @__PURE__ */ new Set([
|
|
4205
4230
|
"auto",
|
|
4206
4231
|
"scroll",
|
|
4207
4232
|
"overlay",
|
|
4208
4233
|
"hidden"
|
|
4209
|
-
]),
|
|
4234
|
+
]), go = .5, _o = .5, vo = class Shorthand {
|
|
4210
4235
|
static resolve(e, t, n = {}) {
|
|
4211
4236
|
if (e == null || typeof e == "boolean") return;
|
|
4212
4237
|
let r;
|
|
@@ -4230,7 +4255,7 @@ var no = ["text", "value"], U = {
|
|
|
4230
4255
|
}
|
|
4231
4256
|
static mergeClasses(...e) {
|
|
4232
4257
|
let t = /* @__PURE__ */ new Set();
|
|
4233
|
-
for (let n of e) if (n) for (let e of n.split(
|
|
4258
|
+
for (let n of e) if (n) for (let e of n.split(to)) e && t.add(e);
|
|
4234
4259
|
return t.size ? [...t].join(" ") : void 0;
|
|
4235
4260
|
}
|
|
4236
4261
|
static mergeStyles(...e) {
|
|
@@ -4248,8 +4273,8 @@ var no = ["text", "value"], U = {
|
|
|
4248
4273
|
src: (e) => ({ src: e }),
|
|
4249
4274
|
type: (e) => ({ type: e })
|
|
4250
4275
|
};
|
|
4251
|
-
},
|
|
4252
|
-
|
|
4276
|
+
}, yo, bo, xo, So = [proto], G;
|
|
4277
|
+
xo = [proto], bo = [proto], yo = [lazy];
|
|
4253
4278
|
var K = class _NativeFallback {
|
|
4254
4279
|
constructor({ domElement: e, root: t, error: n, internals: r }) {
|
|
4255
4280
|
__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;
|
|
@@ -4285,7 +4310,7 @@ var K = class _NativeFallback {
|
|
|
4285
4310
|
return this.builder.build(t, { extra: e });
|
|
4286
4311
|
}
|
|
4287
4312
|
get builder() {
|
|
4288
|
-
return new
|
|
4313
|
+
return new Ya(this.vocabulary);
|
|
4289
4314
|
}
|
|
4290
4315
|
form() {
|
|
4291
4316
|
return this.formInternals?.form ?? this.domElement.closest("form") ?? void 0;
|
|
@@ -4315,10 +4340,10 @@ var K = class _NativeFallback {
|
|
|
4315
4340
|
decorate(e, t, ...n) {
|
|
4316
4341
|
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(" "));
|
|
4317
4342
|
for (let { name: t, value: n } of this.domElement.attributes) t.startsWith("aria-") && e.setAttribute(t, n);
|
|
4318
|
-
return this.vocabulary.attributes.find((e) => e.name ===
|
|
4343
|
+
return this.vocabulary.attributes.find((e) => e.name === wo)?.kind === "keyOnly" && N.boolean(this.domElement.getAttribute(wo), wo) && e.setAttribute("aria-busy", "true"), e;
|
|
4319
4344
|
}
|
|
4320
4345
|
nameFromPlaceholder(e) {
|
|
4321
|
-
let t = this.domElement.getAttribute(
|
|
4346
|
+
let t = this.domElement.getAttribute(To);
|
|
4322
4347
|
!e.hasAttribute("aria-label") && t && e.setAttribute("aria-label", t);
|
|
4323
4348
|
}
|
|
4324
4349
|
send(e, t) {
|
|
@@ -4337,7 +4362,7 @@ var K = class _NativeFallback {
|
|
|
4337
4362
|
if (e != null && e !== !1) return e === !0 ? "" : String(e);
|
|
4338
4363
|
}
|
|
4339
4364
|
};
|
|
4340
|
-
G = __decoratorStart(null), __decorateElement(G, 2, "builder",
|
|
4365
|
+
G = __decoratorStart(null), __decorateElement(G, 2, "builder", yo, K), __decorateElement(G, 13, "vocabulary", So, K), __decorateElement(G, 13, "vocabularies", xo, K), __decorateElement(G, 13, "degraded", bo, K), __decoratorMetadata(G, K), __name(K, "NativeFallback"), __publicField(K, "vocabulary", __runInitializers(G, 8, K, {
|
|
4341
4366
|
tag: "",
|
|
4342
4367
|
noun: "",
|
|
4343
4368
|
attributes: [],
|
|
@@ -4347,7 +4372,7 @@ G = __decoratorStart(null), __decorateElement(G, 2, "builder", vo, K), __decorat
|
|
|
4347
4372
|
states: [],
|
|
4348
4373
|
texts: []
|
|
4349
4374
|
})), __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);
|
|
4350
|
-
var
|
|
4375
|
+
var Co = K, wo = "loading", To = "placeholder", Eo = class StickyWatch {
|
|
4351
4376
|
stuckTo;
|
|
4352
4377
|
onReport;
|
|
4353
4378
|
box;
|
|
@@ -4383,7 +4408,7 @@ var So = K, Co = "loading", wo = "placeholder", To = class StickyWatch {
|
|
|
4383
4408
|
t && (e.preventDefault(), t.focus({ preventScroll: !0 }));
|
|
4384
4409
|
};
|
|
4385
4410
|
reset() {
|
|
4386
|
-
this.report(
|
|
4411
|
+
this.report(ko);
|
|
4387
4412
|
}
|
|
4388
4413
|
measure(e, t, n) {
|
|
4389
4414
|
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;
|
|
@@ -4407,7 +4432,7 @@ var So = K, Co = "loading", wo = "placeholder", To = class StickyWatch {
|
|
|
4407
4432
|
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);
|
|
4408
4433
|
}
|
|
4409
4434
|
static reserve(e) {
|
|
4410
|
-
let t = e.ownerDocument, n = StickyWatch.area(e === t.documentElement ? void 0 : e, t), r = (n.bottom - n.top) *
|
|
4435
|
+
let t = e.ownerDocument, n = StickyWatch.area(e === t.documentElement ? void 0 : e, t), r = (n.bottom - n.top) * go, i = e.clientWidth * go, a = 0, o = 0;
|
|
4411
4436
|
for (let t of StickyWatch.stuckIn.get(e) ?? []) {
|
|
4412
4437
|
let e = t.box?.getBoundingClientRect();
|
|
4413
4438
|
!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)));
|
|
@@ -4422,8 +4447,8 @@ var So = K, Co = "loading", wo = "placeholder", To = class StickyWatch {
|
|
|
4422
4447
|
for (let t of e.composedPath()) {
|
|
4423
4448
|
if (t === e.currentTarget) return;
|
|
4424
4449
|
if (t instanceof HTMLElement) {
|
|
4425
|
-
if (t.shadowRoot?.delegatesFocus) return t.shadowRoot.querySelector(
|
|
4426
|
-
if (t.matches(
|
|
4450
|
+
if (t.shadowRoot?.delegatesFocus) return t.shadowRoot.querySelector(Oo) || t.matches(":disabled") ? void 0 : t;
|
|
4451
|
+
if (t.matches(Do)) return t.matches(Oo) || t.matches(":disabled") ? void 0 : t;
|
|
4427
4452
|
}
|
|
4428
4453
|
}
|
|
4429
4454
|
}
|
|
@@ -4443,21 +4468,21 @@ var So = K, Co = "loading", wo = "placeholder", To = class StickyWatch {
|
|
|
4443
4468
|
for (; n;) {
|
|
4444
4469
|
let e = flatParentFor(n);
|
|
4445
4470
|
if (!e || e === t.body || e === t.documentElement) return;
|
|
4446
|
-
if (
|
|
4471
|
+
if (ho.has(getComputedStyle(e).overflowY)) return e;
|
|
4447
4472
|
n = e;
|
|
4448
4473
|
}
|
|
4449
4474
|
}
|
|
4450
4475
|
static stuckIn = /* @__PURE__ */ new Map();
|
|
4451
|
-
},
|
|
4476
|
+
}, Do = "button, input, select, textarea, a[href], summary, [tabindex], [contenteditable]", Oo = "input:not([type='button'], [type='submit'], [type='reset'], [type='checkbox'], [type='radio']), select, textarea, [contenteditable]:not([contenteditable='false'])", ko = {
|
|
4452
4477
|
edge: void 0,
|
|
4453
4478
|
isBound: !1
|
|
4454
|
-
},
|
|
4479
|
+
}, Ao = [
|
|
4455
4480
|
"fa7-free",
|
|
4456
4481
|
"fa7-brands",
|
|
4457
4482
|
"fomantic"
|
|
4458
|
-
],
|
|
4483
|
+
], jo = "fa7-free", Mo = "pack.js", No = ":", Po = class IconName {
|
|
4459
4484
|
static normalize(e) {
|
|
4460
|
-
return e.toLowerCase().replace(
|
|
4485
|
+
return e.toLowerCase().replace(Io, " ").trim();
|
|
4461
4486
|
}
|
|
4462
4487
|
static fromKey(e) {
|
|
4463
4488
|
return IconName.normalize(IconName.fileOf(e));
|
|
@@ -4495,7 +4520,7 @@ var So = K, Co = "loading", wo = "placeholder", To = class StickyWatch {
|
|
|
4495
4520
|
let a = [];
|
|
4496
4521
|
for (let t of e) {
|
|
4497
4522
|
let e = IconName.rankOf(n(t), r(t), i);
|
|
4498
|
-
e <
|
|
4523
|
+
e < Fo && a.push({
|
|
4499
4524
|
item: t,
|
|
4500
4525
|
rank: e
|
|
4501
4526
|
});
|
|
@@ -4503,22 +4528,22 @@ var So = K, Co = "loading", wo = "placeholder", To = class StickyWatch {
|
|
|
4503
4528
|
return a.sort((e, t) => e.rank - t.rank).map((e) => e.item);
|
|
4504
4529
|
}
|
|
4505
4530
|
static rankOf(e, t, n) {
|
|
4506
|
-
let r =
|
|
4531
|
+
let r = Fo;
|
|
4507
4532
|
for (let t of e) {
|
|
4508
4533
|
if (t === n) return 0;
|
|
4509
4534
|
t.startsWith(n) ? r = Math.min(r, 1) : t.includes(n) && (r = Math.min(r, 2));
|
|
4510
4535
|
}
|
|
4511
|
-
return r <
|
|
4536
|
+
return r < Fo ? r : t.some((e) => IconName.normalize(e).includes(n)) ? 3 : Fo;
|
|
4512
4537
|
}
|
|
4513
|
-
},
|
|
4538
|
+
}, Fo = 4, Io = /[\s_-]+/g, Lo = class BuiltInPacks {
|
|
4514
4539
|
static base = import.meta.url;
|
|
4515
4540
|
static has(e) {
|
|
4516
|
-
return
|
|
4541
|
+
return Ao.includes(e);
|
|
4517
4542
|
}
|
|
4518
4543
|
static url(e, t = BuiltInPacks.base) {
|
|
4519
|
-
return new URL(`icon-packs/${e}/${
|
|
4544
|
+
return new URL(`icon-packs/${e}/${Mo}`, t).href;
|
|
4520
4545
|
}
|
|
4521
|
-
}, Lo = "@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)}}}", Ro = /* @__PURE__ */ pe("<slot>"), zo, Bo, Vo, q = class _PartComponent extends (Bo = Xt, zo = [protoMerged], Bo) {
|
|
4546
|
+
}, Ro = "@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)}}}", zo = /* @__PURE__ */ pe("<slot>"), Bo, Vo, Ho, q = class _PartComponent extends (Vo = Xt, Bo = [protoMerged], Vo) {
|
|
4522
4547
|
constructor() {
|
|
4523
4548
|
super(...arguments), __publicField(this, "context", new D({
|
|
4524
4549
|
domElement: this.domElement,
|
|
@@ -4564,22 +4589,22 @@ var So = K, Co = "loading", wo = "placeholder", To = class StickyWatch {
|
|
|
4564
4589
|
get rootTabIndex() {}
|
|
4565
4590
|
get rootLabel() {}
|
|
4566
4591
|
content() {
|
|
4567
|
-
var e =
|
|
4592
|
+
var e = zo();
|
|
4568
4593
|
return e._$owner = se(), e;
|
|
4569
4594
|
}
|
|
4570
4595
|
};
|
|
4571
|
-
|
|
4572
|
-
styleSheets: { parts:
|
|
4596
|
+
Ho = __decoratorStart(Vo), __decorateElement(Ho, 13, "elementSetup", Bo, q), __decoratorMetadata(Ho, q), __name(q, "PartComponent"), __publicField(q, "elementSetup", __runInitializers(Ho, 8, q, {
|
|
4597
|
+
styleSheets: { parts: Ro },
|
|
4573
4598
|
isAPart: !0
|
|
4574
|
-
})), __runInitializers(
|
|
4575
|
-
var
|
|
4576
|
-
|
|
4599
|
+
})), __runInitializers(Ho, 11, q);
|
|
4600
|
+
var Uo = q, Wo, Go = [state], J, Ko;
|
|
4601
|
+
Wo = [derived];
|
|
4577
4602
|
var Y = class _IconGlyph {
|
|
4578
4603
|
constructor({ owner: e, name: t }) {
|
|
4579
|
-
__runInitializers(J, 5, this), __privateAdd(this,
|
|
4604
|
+
__runInitializers(J, 5, this), __privateAdd(this, Ko, __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(() => ({
|
|
4580
4605
|
name: t(),
|
|
4581
4606
|
connected: e.isConnected,
|
|
4582
|
-
generation:
|
|
4607
|
+
generation: $a.generation
|
|
4583
4608
|
}), ({ name: e, connected: t }) => {
|
|
4584
4609
|
(t || !this.request) && this.load(e);
|
|
4585
4610
|
}));
|
|
@@ -4594,7 +4619,7 @@ var Y = class _IconGlyph {
|
|
|
4594
4619
|
this.request === t && (this.svgTemplate = n);
|
|
4595
4620
|
}
|
|
4596
4621
|
static packsFor(e, t) {
|
|
4597
|
-
return
|
|
4622
|
+
return $a.nearest(e, "icons") ?? t;
|
|
4598
4623
|
}
|
|
4599
4624
|
static draw(e) {
|
|
4600
4625
|
let t = e.cloneNode(!0);
|
|
@@ -4604,21 +4629,21 @@ var Y = class _IconGlyph {
|
|
|
4604
4629
|
let n = globalThis[R]?.icons;
|
|
4605
4630
|
if (!t || !n || !_IconGlyph.serverMarkup) return;
|
|
4606
4631
|
let r = _IconGlyph.serverMarkup(_IconGlyph.packsFor(e, n), t);
|
|
4607
|
-
if (r) return fe([r.replace(
|
|
4632
|
+
if (r) return fe([r.replace(Jo, "<svg aria-hidden=\"true\"")]);
|
|
4608
4633
|
}
|
|
4609
4634
|
static peek(e, t) {
|
|
4610
4635
|
let n = globalThis[R]?.icons;
|
|
4611
4636
|
return t && n ? _IconGlyph.packsFor(e, n).peek(t) : void 0;
|
|
4612
4637
|
}
|
|
4613
4638
|
};
|
|
4614
|
-
J = __decoratorStart(null),
|
|
4615
|
-
var
|
|
4639
|
+
J = __decoratorStart(null), Ko = /* @__PURE__ */ new WeakMap(), __decorateElement(J, 4, "svgTemplate", Go, Y, Ko), __decorateElement(J, 2, "svg", Wo, Y), __decoratorMetadata(J, Y), __name(Y, "IconGlyph"), __publicField(Y, "serverMarkup");
|
|
4640
|
+
var qo = Y, Jo = /<svg\b/, Yo = /* @__PURE__ */ pe("<button type=button>"), CloseButton = class {
|
|
4616
4641
|
props;
|
|
4617
4642
|
glyph;
|
|
4618
4643
|
constructor(e) {
|
|
4619
|
-
this.props = e, this.glyph = new
|
|
4644
|
+
this.props = e, this.glyph = new qo({
|
|
4620
4645
|
owner: e.owner,
|
|
4621
|
-
name: () => e.shows() ?
|
|
4646
|
+
name: () => e.shows() ? Wi : void 0
|
|
4622
4647
|
});
|
|
4623
4648
|
}
|
|
4624
4649
|
draw() {
|
|
@@ -4628,9 +4653,9 @@ var Ko = Y, qo = /<svg\b/, Jo = /* @__PURE__ */ pe("<button type=button>"), Clos
|
|
|
4628
4653
|
return e();
|
|
4629
4654
|
},
|
|
4630
4655
|
get children() {
|
|
4631
|
-
var e =
|
|
4656
|
+
var e = Yo();
|
|
4632
4657
|
return ne(e, "click", i, !0), de(e, "part", n), ce(e, () => a.glyph.svg), ae(() => ({
|
|
4633
|
-
e: le(
|
|
4658
|
+
e: le(Ui),
|
|
4634
4659
|
t: t()
|
|
4635
4660
|
}), ({ e: t, t: n }, r) => {
|
|
4636
4661
|
re(e, t, r?.e), n !== r?.t && de(e, "aria-label", n);
|
|
@@ -4641,16 +4666,16 @@ var Ko = Y, qo = /<svg\b/, Jo = /* @__PURE__ */ pe("<button type=button>"), Clos
|
|
|
4641
4666
|
};
|
|
4642
4667
|
ie(["click"]);
|
|
4643
4668
|
// src/elements/ClipboardCopy.ts
|
|
4644
|
-
var
|
|
4645
|
-
constructor({ seconds: e =
|
|
4646
|
-
__privateAdd(this,
|
|
4669
|
+
var Xo = [state], Zo, Qo, $o = class _ClipboardCopy {
|
|
4670
|
+
constructor({ seconds: e = ts } = {}) {
|
|
4671
|
+
__privateAdd(this, Qo, __runInitializers(Zo, 8, this, !1)), __runInitializers(Zo, 11, this), __publicField(this, "seconds"), __publicField(this, "copiedTimer"), this.seconds = e;
|
|
4647
4672
|
}
|
|
4648
4673
|
async copy(e) {
|
|
4649
4674
|
return await copyText(e) ? (this.isCopied = !0, this.copiedTimer?.cancel(), this.copiedTimer = after(this.seconds, () => this.isCopied = !1), !0) : !1;
|
|
4650
4675
|
}
|
|
4651
4676
|
};
|
|
4652
|
-
|
|
4653
|
-
var
|
|
4677
|
+
Zo = __decoratorStart(null), Qo = /* @__PURE__ */ new WeakMap(), __decorateElement(Zo, 4, "isCopied", Xo, $o, Qo), __decoratorMetadata(Zo, $o), __name($o, "ClipboardCopy");
|
|
4678
|
+
var es = $o, ts = 2, ns = class AddressParameter {
|
|
4654
4679
|
constructor(e) {
|
|
4655
4680
|
this.props = e;
|
|
4656
4681
|
}
|
|
@@ -4660,7 +4685,7 @@ var $o = Qo, es = 2, ts = class AddressParameter {
|
|
|
4660
4685
|
startingText;
|
|
4661
4686
|
follow(e) {
|
|
4662
4687
|
if (!e) return;
|
|
4663
|
-
let t = new AbortController(), onNavigate = (t) => this.showAddress(e, t), n = "hash" in e ?
|
|
4688
|
+
let t = new AbortController(), onNavigate = (t) => this.showAddress(e, t), n = "hash" in e ? is : rs;
|
|
4664
4689
|
for (let e of n) this.view.addEventListener(e, onNavigate, { signal: t.signal });
|
|
4665
4690
|
let r = soon(() => {
|
|
4666
4691
|
this.showAddress(e), this.hasOpened = !0;
|
|
@@ -4704,7 +4729,7 @@ var $o = Qo, es = 2, ts = class AddressParameter {
|
|
|
4704
4729
|
let r = new URL(e.href);
|
|
4705
4730
|
return "hash" in t ? r.hash = n ? encodeURIComponent(n) : "" : n ? r.searchParams.set(t.parameter, n) : r.searchParams.delete(t.parameter), r.href;
|
|
4706
4731
|
}
|
|
4707
|
-
},
|
|
4732
|
+
}, rs = ["popstate"], is = ["hashchange", "popstate"], PopoverPanel = class extends Dn {
|
|
4708
4733
|
panelSetup;
|
|
4709
4734
|
constructor(e) {
|
|
4710
4735
|
super(e), this.panelSetup = e;
|
|
@@ -4725,10 +4750,10 @@ var $o = Qo, es = 2, ts = class AddressParameter {
|
|
|
4725
4750
|
overlayEntry;
|
|
4726
4751
|
follow(e, t, n) {
|
|
4727
4752
|
if (!t || !e || !e.popover) return;
|
|
4728
|
-
e.matches(
|
|
4753
|
+
e.matches(as) || e.showPopover(n ? { source: n } : void 0);
|
|
4729
4754
|
let { overlay: r } = this;
|
|
4730
4755
|
return B.overlays.open(r), () => {
|
|
4731
|
-
e.matches(
|
|
4756
|
+
e.matches(as) && e.hidePopover(), B.overlays.close(r);
|
|
4732
4757
|
};
|
|
4733
4758
|
}
|
|
4734
4759
|
get anchorStyle() {
|
|
@@ -4741,7 +4766,7 @@ var $o = Qo, es = 2, ts = class AddressParameter {
|
|
|
4741
4766
|
return this.anchorId ??= `--${B.ids.next(this.panelSetup.component.vocabulary.tag)}`;
|
|
4742
4767
|
}
|
|
4743
4768
|
anchorId;
|
|
4744
|
-
},
|
|
4769
|
+
}, as = ":popover-open", os = class DOMLoadableElement extends w {
|
|
4745
4770
|
get content() {
|
|
4746
4771
|
return this.component?.content ?? this.pendingContent ?? "";
|
|
4747
4772
|
}
|
|
@@ -4789,13 +4814,13 @@ var $o = Qo, es = 2, ts = class AddressParameter {
|
|
|
4789
4814
|
reject: t
|
|
4790
4815
|
};
|
|
4791
4816
|
}
|
|
4792
|
-
},
|
|
4817
|
+
}, ss, cs, ls, us, ds, fs, ps, ms, hs, gs, _s, vs, ys, bs, xs, Ss, Cs, ws, Ts, Es, X, Ds, Os, ks, As, js, Ms, Z = class _LoadableComponent extends (Es = Xt, Ts = [protoMerged], ws = [proto], Cs = [watches({
|
|
4793
4818
|
childList: !0,
|
|
4794
4819
|
characterData: !0,
|
|
4795
4820
|
subtree: !0
|
|
4796
|
-
})],
|
|
4821
|
+
})], Ss = [state], xs = [state], bs = [onChange("inlineText", { defer: !0 })], ys = [state], vs = [cssState("loading")], _s = [onChange("source", "loadingPolicy", "isConnected")], gs = [untracked], hs = [untracked], ms = [state], ps = [cssState("error")], fs = [untracked], ds = [cssState("saving"), state], us = [cssState("dirty"), state], ls = [untracked], cs = [lazy], ss = [lazy], Es) {
|
|
4797
4822
|
constructor() {
|
|
4798
|
-
super(...arguments), __runInitializers(X, 5, this), __privateAdd(this,
|
|
4823
|
+
super(...arguments), __runInitializers(X, 5, this), __privateAdd(this, Ds, __runInitializers(X, 8, this)), __runInitializers(X, 11, this), __privateAdd(this, Os, __runInitializers(X, 12, this, this.domElement.takePendingContent())), __runInitializers(X, 15, this), __privateAdd(this, ks, __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, As, __runInitializers(X, 20, this)), __runInitializers(X, 23, this), __privateAdd(this, js, __runInitializers(X, 24, this, !1)), __runInitializers(X, 27, this), __privateAdd(this, Ms, __runInitializers(X, 28, this, this.wasEdited !== void 0)), __runInitializers(X, 31, this), __publicField(this, "lastETag");
|
|
4799
4824
|
}
|
|
4800
4825
|
get inlineText() {
|
|
4801
4826
|
return h || !this.wantsInlineContent ? "" : _LoadableComponent.inlineTextOf(this.domElement);
|
|
@@ -4847,7 +4872,7 @@ var $o = Qo, es = 2, ts = class AddressParameter {
|
|
|
4847
4872
|
}));
|
|
4848
4873
|
});
|
|
4849
4874
|
else if (t === "idle" && typeof requestIdleCallback == "function") {
|
|
4850
|
-
let e = requestIdleCallback(a, { timeout:
|
|
4875
|
+
let e = requestIdleCallback(a, { timeout: Ps });
|
|
4851
4876
|
i = /* @__PURE__ */ __name(() => cancelIdleCallback(e), "undo");
|
|
4852
4877
|
} else a();
|
|
4853
4878
|
return () => {
|
|
@@ -4886,7 +4911,7 @@ var $o = Qo, es = 2, ts = class AddressParameter {
|
|
|
4886
4911
|
get errorText() {
|
|
4887
4912
|
let e = this.loadError;
|
|
4888
4913
|
if (!e) return;
|
|
4889
|
-
let t =
|
|
4914
|
+
let t = uo[e.kind] ?? uo.load;
|
|
4890
4915
|
return this.translationForKey(t, { source: this.source ?? "" });
|
|
4891
4916
|
}
|
|
4892
4917
|
onLoadError(e, t = "load") {
|
|
@@ -4955,19 +4980,19 @@ var $o = Qo, es = 2, ts = class AddressParameter {
|
|
|
4955
4980
|
return e.setAttribute("aria-label", this.translationForKey("sourceLoading", { source: this.source ?? "" })), e;
|
|
4956
4981
|
}
|
|
4957
4982
|
get loaderElement() {
|
|
4958
|
-
return this.statusElement(
|
|
4983
|
+
return this.statusElement(io, "loader");
|
|
4959
4984
|
}
|
|
4960
4985
|
errorMessage() {
|
|
4961
4986
|
let e = this.errorElement;
|
|
4962
4987
|
return e.textContent = this.errorText ?? "", e;
|
|
4963
4988
|
}
|
|
4964
4989
|
get errorElement() {
|
|
4965
|
-
return this.statusElement(
|
|
4990
|
+
return this.statusElement(ao, "error");
|
|
4966
4991
|
}
|
|
4967
4992
|
statusElement(e, t) {
|
|
4968
4993
|
let n = this.domElement.ownerDocument.createElement(e);
|
|
4969
4994
|
n.setAttribute("part", this.partForName(t));
|
|
4970
|
-
for (let [t, r] of Object.entries(
|
|
4995
|
+
for (let [t, r] of Object.entries(Fs[e])) n.setAttribute(t, r);
|
|
4971
4996
|
return n;
|
|
4972
4997
|
}
|
|
4973
4998
|
checkSource(e) {}
|
|
@@ -4998,15 +5023,15 @@ var $o = Qo, es = 2, ts = class AddressParameter {
|
|
|
4998
5023
|
return !Number.isFinite(n) || n === 0 ? t.join("\n") : t.map((e) => e.slice(Math.min(n, e.length - e.trimStart().length))).join("\n");
|
|
4999
5024
|
}
|
|
5000
5025
|
};
|
|
5001
|
-
X = __decoratorStart(
|
|
5002
|
-
var
|
|
5003
|
-
[
|
|
5026
|
+
X = __decoratorStart(Es), Ds = /* @__PURE__ */ new WeakMap(), Os = /* @__PURE__ */ new WeakMap(), ks = /* @__PURE__ */ new WeakMap(), As = /* @__PURE__ */ new WeakMap(), js = /* @__PURE__ */ new WeakMap(), Ms = /* @__PURE__ */ new WeakMap(), __decorateElement(X, 2, "inlineText", Cs, Z), __decorateElement(X, 4, "fetchedText", Ss, Z, Ds), __decorateElement(X, 4, "wasEdited", xs, Z, Os), __decorateElement(X, 1, "onInlineTextChanged", bs, Z), __decorateElement(X, 4, "loadStatus", ys, Z, ks), __decorateElement(X, 2, "isLoading", vs, Z), __decorateElement(X, 1, "onSourceChanged", _s, Z), __decorateElement(X, 1, "onLoaded", gs, Z), __decorateElement(X, 1, "reload", hs, Z), __decorateElement(X, 4, "loadError", ms, Z, As), __decorateElement(X, 2, "hasError", ps, Z), __decorateElement(X, 1, "onLoadError", fs, Z), __decorateElement(X, 4, "isSaving", ds, Z, js), __decorateElement(X, 4, "isDirty", us, Z, Ms), __decorateElement(X, 1, "save", ls, Z), __decorateElement(X, 2, "loaderElement", cs, Z), __decorateElement(X, 2, "errorElement", ss, Z), __decorateElement(X, 13, "elementSetup", Ts, Z), __decorateElement(X, 13, "wantsInlineContent", ws, Z), __decoratorMetadata(X, Z), __name(Z, "LoadableComponent"), __publicField(Z, "elementSetup", __runInitializers(X, 32, Z, { DOMElement: os })), __runInitializers(X, 35, Z), __publicField(Z, "wantsInlineContent", __runInitializers(X, 36, Z, !0)), __runInitializers(X, 39, Z);
|
|
5027
|
+
var Ns = Z, Ps = 2e3, Fs = {
|
|
5028
|
+
[io]: {
|
|
5004
5029
|
visible: "",
|
|
5005
5030
|
inline: "",
|
|
5006
5031
|
centered: ""
|
|
5007
5032
|
},
|
|
5008
|
-
[
|
|
5009
|
-
},
|
|
5033
|
+
[ao]: { state: "error" }
|
|
5034
|
+
}, Is = class SourceMarkup {
|
|
5010
5035
|
static parse(e, { page: t, source: n, select: r }) {
|
|
5011
5036
|
let i = new DOMParser().parseFromString(e, "text/html"), a;
|
|
5012
5037
|
if (r) {
|
|
@@ -5028,7 +5053,7 @@ var Ms = Z, Ns = 2e3, Ps = {
|
|
|
5028
5053
|
}
|
|
5029
5054
|
static rewriteUrls(e, t, n) {
|
|
5030
5055
|
let r = new URL(t, n.baseURI);
|
|
5031
|
-
for (let t of e.querySelectorAll(
|
|
5056
|
+
for (let t of e.querySelectorAll(so)) for (let e of oo) {
|
|
5032
5057
|
let i = t.getAttribute(e);
|
|
5033
5058
|
if (i === null || i.startsWith("#")) continue;
|
|
5034
5059
|
let a;
|
|
@@ -5037,13 +5062,13 @@ var Ms = Z, Ns = 2e3, Ps = {
|
|
|
5037
5062
|
} catch {
|
|
5038
5063
|
continue;
|
|
5039
5064
|
}
|
|
5040
|
-
a !== new URL(i, n.baseURI).href && (t.setAttribute(
|
|
5065
|
+
a !== new URL(i, n.baseURI).href && (t.setAttribute(co + e, i), t.setAttribute(e, a));
|
|
5041
5066
|
}
|
|
5042
5067
|
}
|
|
5043
5068
|
static restoreUrls(e) {
|
|
5044
|
-
for (let t of e.querySelectorAll("*")) for (let e of
|
|
5045
|
-
let n = t.getAttribute(
|
|
5046
|
-
n !== null && (t.setAttribute(e, n), t.removeAttribute(
|
|
5069
|
+
for (let t of e.querySelectorAll("*")) for (let e of oo) {
|
|
5070
|
+
let n = t.getAttribute(co + e);
|
|
5071
|
+
n !== null && (t.setAttribute(e, n), t.removeAttribute(co + e));
|
|
5047
5072
|
}
|
|
5048
5073
|
}
|
|
5049
5074
|
static checkNesting(e, t, n) {
|
|
@@ -5051,7 +5076,7 @@ var Ms = Z, Ns = 2e3, Ps = {
|
|
|
5051
5076
|
for (let o = SourceMarkup.parentFor(e); o; o = SourceMarkup.parentFor(o)) {
|
|
5052
5077
|
if (!n(o)) continue;
|
|
5053
5078
|
a++;
|
|
5054
|
-
let e = o.getAttribute(
|
|
5079
|
+
let e = o.getAttribute(po);
|
|
5055
5080
|
if (e && new URL(e, r).href === i) throw new z(`SourceMarkup.checkNesting(): ${t} includes itself; point \`source\` elsewhere`, { cause: { kind: "render" } });
|
|
5056
5081
|
}
|
|
5057
5082
|
if (a >= 8) throw new z(`SourceMarkup.checkNesting(): ${t} is nested more than 8 sources deep; look for a cycle`, { cause: { kind: "render" } });
|
|
@@ -5061,11 +5086,11 @@ var Ms = Z, Ns = 2e3, Ps = {
|
|
|
5061
5086
|
if (t?.nodeType === _.element) return t;
|
|
5062
5087
|
if (t?.nodeType === _.documentFragment) return t.host;
|
|
5063
5088
|
}
|
|
5064
|
-
},
|
|
5065
|
-
|
|
5089
|
+
}, Ls, Rs, zs, Bs, Vs, Hs = [state], Q, Us, Ws, Gs, Ks;
|
|
5090
|
+
Vs = [state], Bs = [state], zs = [state], Rs = [untracked], Ls = [untracked];
|
|
5066
5091
|
var $ = class _LoadableBody {
|
|
5067
5092
|
constructor(e) {
|
|
5068
|
-
__runInitializers(Q, 5, this), __privateAdd(this,
|
|
5093
|
+
__runInitializers(Q, 5, this), __privateAdd(this, Us, __runInitializers(Q, 8, this, U.idle)), __runInitializers(Q, 11, this), __privateAdd(this, Ws, __runInitializers(Q, 12, this, !1)), __runInitializers(Q, 15, this), __privateAdd(this, Gs, __runInitializers(Q, 16, this)), __runInitializers(Q, 19, this), __privateAdd(this, Ks, __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;
|
|
5069
5094
|
}
|
|
5070
5095
|
get isVeiled() {
|
|
5071
5096
|
if (this.hasShownABody) return !1;
|
|
@@ -5106,10 +5131,10 @@ var $ = class _LoadableBody {
|
|
|
5106
5131
|
async fetch({ source: e, select: t, fresh: n }, r) {
|
|
5107
5132
|
let { domElement: i } = this.owner;
|
|
5108
5133
|
try {
|
|
5109
|
-
|
|
5134
|
+
Is.checkNesting(i, e, (e) => e.hasAttribute(po));
|
|
5110
5135
|
let a = await this.textOf(e, n);
|
|
5111
5136
|
if (r !== this.generation) return;
|
|
5112
|
-
this.insert(
|
|
5137
|
+
this.insert(Is.parse(a, {
|
|
5113
5138
|
page: i.ownerDocument,
|
|
5114
5139
|
source: e,
|
|
5115
5140
|
select: t
|
|
@@ -5154,104 +5179,104 @@ var $ = class _LoadableBody {
|
|
|
5154
5179
|
return !(e.nodeType === _.element && e.hasAttribute("slot"));
|
|
5155
5180
|
}
|
|
5156
5181
|
};
|
|
5157
|
-
Q = __decoratorStart(null),
|
|
5158
|
-
var
|
|
5182
|
+
Q = __decoratorStart(null), Us = /* @__PURE__ */ new WeakMap(), Ws = /* @__PURE__ */ new WeakMap(), Gs = /* @__PURE__ */ new WeakMap(), Ks = /* @__PURE__ */ new WeakMap(), __decorateElement(Q, 4, "loadStatus", Hs, $, Us), __decorateElement(Q, 4, "isOverdue", Vs, $, Ws), __decorateElement(Q, 4, "loadError", Bs, $, Gs), __decorateElement(Q, 4, "hasShownABody", zs, $, Ks), __decorateElement(Q, 1, "load", Rs, $), __decorateElement(Q, 1, "reload", Ls, $), __decoratorMetadata(Q, $), __name($, "LoadableBody");
|
|
5183
|
+
var qs = $, DOMLoadableBodyElement = class extends w {
|
|
5159
5184
|
load() {
|
|
5160
5185
|
return this.component?.loadBody() ?? Promise.resolve();
|
|
5161
5186
|
}
|
|
5162
5187
|
reload() {
|
|
5163
5188
|
return this.component?.reloadBody() ?? Promise.resolve();
|
|
5164
5189
|
}
|
|
5165
|
-
},
|
|
5166
|
-
APP_STYLESHEET_ID: () =>
|
|
5190
|
+
}, Js = /* @__PURE__ */ e({
|
|
5191
|
+
APP_STYLESHEET_ID: () => Ra,
|
|
5167
5192
|
ATTRIBUTE_GROUPS: () => Te,
|
|
5168
|
-
AddressParameter: () =>
|
|
5169
|
-
AnimationNames: () =>
|
|
5193
|
+
AddressParameter: () => ns,
|
|
5194
|
+
AnimationNames: () => Ba,
|
|
5170
5195
|
ApiError: () => ApiError,
|
|
5171
5196
|
AriaNames: () => Ee,
|
|
5172
|
-
BuiltInIconPacks: () =>
|
|
5173
|
-
BuiltInPacks: () =>
|
|
5174
|
-
CODE_LANGUAGES_EVENT: () =>
|
|
5197
|
+
BuiltInIconPacks: () => Ao,
|
|
5198
|
+
BuiltInPacks: () => Lo,
|
|
5199
|
+
CODE_LANGUAGES_EVENT: () => Wa,
|
|
5175
5200
|
Cell: () => Cell,
|
|
5176
|
-
ClassBuilder: () =>
|
|
5177
|
-
ClipboardCopy: () =>
|
|
5201
|
+
ClassBuilder: () => Ya,
|
|
5202
|
+
ClipboardCopy: () => es,
|
|
5178
5203
|
CloseButton: () => CloseButton,
|
|
5179
5204
|
Converters: () => N,
|
|
5180
|
-
CssDisplay: () =>
|
|
5181
|
-
DEFAULT_ICON_PACK: () =>
|
|
5205
|
+
CssDisplay: () => Fa,
|
|
5206
|
+
DEFAULT_ICON_PACK: () => jo,
|
|
5182
5207
|
DOMElement: () => w,
|
|
5183
5208
|
DOMLoadableBodyElement: () => DOMLoadableBodyElement,
|
|
5184
|
-
DOMLoadableElement: () =>
|
|
5185
|
-
DefaultValues: () =>
|
|
5186
|
-
Disclosure: () =>
|
|
5187
|
-
E: () =>
|
|
5188
|
-
EN_STRINGS: () =>
|
|
5209
|
+
DOMLoadableElement: () => os,
|
|
5210
|
+
DefaultValues: () => Ea,
|
|
5211
|
+
Disclosure: () => Dn,
|
|
5212
|
+
E: () => Js,
|
|
5213
|
+
EN_STRINGS: () => Va,
|
|
5189
5214
|
ERRORED_STATE: () => Oe,
|
|
5190
5215
|
ERROR_EVENT: () => De,
|
|
5191
5216
|
ElementDefinition: () => Be,
|
|
5192
|
-
ICON_PACK_INDEX: () =>
|
|
5217
|
+
ICON_PACK_INDEX: () => Mo,
|
|
5193
5218
|
ICON_PREFIX_SEPARATOR: () => ":",
|
|
5194
|
-
IconGlyph: () =>
|
|
5195
|
-
IconName: () =>
|
|
5196
|
-
LAYER_ORDER: () =>
|
|
5219
|
+
IconGlyph: () => qo,
|
|
5220
|
+
IconName: () => Po,
|
|
5221
|
+
LAYER_ORDER: () => Pa,
|
|
5197
5222
|
ListSelection: () => ListSelection,
|
|
5198
|
-
LoadOnce: () =>
|
|
5199
|
-
LoadableBody: () =>
|
|
5200
|
-
LoadableComponent: () =>
|
|
5223
|
+
LoadOnce: () => Yn,
|
|
5224
|
+
LoadableBody: () => qs,
|
|
5225
|
+
LoadableComponent: () => Ns,
|
|
5201
5226
|
MAX_DEPTH: () => 8,
|
|
5202
|
-
MenuSearchFields: () =>
|
|
5203
|
-
MoveAndResize: () =>
|
|
5227
|
+
MenuSearchFields: () => ro,
|
|
5228
|
+
MoveAndResize: () => Pn,
|
|
5204
5229
|
NO_ANIMATION: () => v,
|
|
5205
|
-
NativeFallback: () =>
|
|
5230
|
+
NativeFallback: () => Co,
|
|
5206
5231
|
NodeType: () => _,
|
|
5207
|
-
ORIGINAL_PREFIX: () =>
|
|
5232
|
+
ORIGINAL_PREFIX: () => co,
|
|
5208
5233
|
OwnControls: () => OwnControls,
|
|
5209
5234
|
OwnerContext: () => tt,
|
|
5210
|
-
PAGE_SCOPE: () =>
|
|
5211
|
-
PaneSizes: () =>
|
|
5212
|
-
ParentLink: () =>
|
|
5213
|
-
PartComponent: () =>
|
|
5235
|
+
PAGE_SCOPE: () => Ia,
|
|
5236
|
+
PaneSizes: () => Un,
|
|
5237
|
+
ParentLink: () => Vn,
|
|
5238
|
+
PartComponent: () => Uo,
|
|
5214
5239
|
PartContext: () => D,
|
|
5215
5240
|
PopoverPanel: () => PopoverPanel,
|
|
5216
5241
|
Queued: () => Queued,
|
|
5217
5242
|
RUNTIME_KEY: () => R,
|
|
5218
|
-
RUNTIME_VERSION: () =>
|
|
5219
|
-
RangeMeasures: () =>
|
|
5243
|
+
RUNTIME_VERSION: () => Na,
|
|
5244
|
+
RangeMeasures: () => no,
|
|
5220
5245
|
Reactive: () => b,
|
|
5221
|
-
RootSettings: () =>
|
|
5222
|
-
SCROLL_LOCK_CLASS: () =>
|
|
5223
|
-
SOURCE_ATTRIBUTE: () =>
|
|
5246
|
+
RootSettings: () => $a,
|
|
5247
|
+
SCROLL_LOCK_CLASS: () => La,
|
|
5248
|
+
SOURCE_ATTRIBUTE: () => po,
|
|
5224
5249
|
SOURCE_BODY_HOLD_MS: () => 300,
|
|
5225
|
-
SOURCE_FAILURE_KEYS: () =>
|
|
5226
|
-
SOURCE_LOADER_TAG: () =>
|
|
5227
|
-
SOURCE_MESSAGE_TAG: () =>
|
|
5228
|
-
STICKY_MAX_RESERVE: () =>
|
|
5229
|
-
STICKY_SCROLLING: () =>
|
|
5230
|
-
STICKY_SLACK: () =>
|
|
5250
|
+
SOURCE_FAILURE_KEYS: () => uo,
|
|
5251
|
+
SOURCE_LOADER_TAG: () => io,
|
|
5252
|
+
SOURCE_MESSAGE_TAG: () => ao,
|
|
5253
|
+
STICKY_MAX_RESERVE: () => go,
|
|
5254
|
+
STICKY_SCROLLING: () => ho,
|
|
5255
|
+
STICKY_SLACK: () => _o,
|
|
5231
5256
|
SharedVocabulary: () => F,
|
|
5232
|
-
Shorthand: () =>
|
|
5233
|
-
SlotContent: () =>
|
|
5257
|
+
Shorthand: () => vo,
|
|
5258
|
+
SlotContent: () => Sn,
|
|
5234
5259
|
SourceError: () => z,
|
|
5235
|
-
SourceErrorKinds: () =>
|
|
5260
|
+
SourceErrorKinds: () => Ua,
|
|
5236
5261
|
SourceEvent: () => W,
|
|
5237
|
-
SourceMarkup: () =>
|
|
5262
|
+
SourceMarkup: () => Is,
|
|
5238
5263
|
SourceStatus: () => U,
|
|
5239
5264
|
SpellSolid: () => y,
|
|
5240
5265
|
StaleCatalogError: () => StaleCatalogError,
|
|
5241
|
-
StickyWatch: () =>
|
|
5242
|
-
StickyWatchEdges: () =>
|
|
5243
|
-
TEMPORAL_POLYFILL: () =>
|
|
5244
|
-
TopLayerTip: () =>
|
|
5266
|
+
StickyWatch: () => Eo,
|
|
5267
|
+
StickyWatchEdges: () => mo,
|
|
5268
|
+
TEMPORAL_POLYFILL: () => Ha,
|
|
5269
|
+
TopLayerTip: () => qn,
|
|
5245
5270
|
UI: () => B,
|
|
5246
5271
|
UIComponent: () => Xt,
|
|
5247
|
-
UIT: () =>
|
|
5248
|
-
URL_ATTRIBUTES: () =>
|
|
5249
|
-
URL_SELECTOR: () =>
|
|
5250
|
-
UTILITIES_SHEET: () =>
|
|
5272
|
+
UIT: () => vr,
|
|
5273
|
+
URL_ATTRIBUTES: () => oo,
|
|
5274
|
+
URL_SELECTOR: () => so,
|
|
5275
|
+
UTILITIES_SHEET: () => za,
|
|
5251
5276
|
ValueSets: () => M,
|
|
5252
|
-
VisibilityDirection: () =>
|
|
5253
|
-
Vocabulary: () =>
|
|
5254
|
-
WHITESPACE: () =>
|
|
5277
|
+
VisibilityDirection: () => Ga,
|
|
5278
|
+
Vocabulary: () => Ca,
|
|
5279
|
+
WHITESPACE: () => to,
|
|
5255
5280
|
Warnings: () => Warnings,
|
|
5256
5281
|
after: () => after,
|
|
5257
5282
|
afterSolidUpdate: () => afterSolidUpdate,
|
|
@@ -5317,6 +5342,6 @@ var Ks = $, DOMLoadableBodyElement = class extends w {
|
|
|
5317
5342
|
within: () => within,
|
|
5318
5343
|
withoutAccents: () => withoutAccents
|
|
5319
5344
|
});
|
|
5320
|
-
export {
|
|
5345
|
+
export { Ar as $, Pi as A, Ra as APP_STYLESHEET_ID, Te as ATTRIBUTE_GROUPS, ns as AddressParameter, Ba as AnimationNames, ApiError, Ee as AriaNames, la as At, Nr as B, currentPlatform as Bt, Ao as BuiltInIconPacks, Lo as BuiltInPacks, Xi as C, Wa as CODE_LANGUAGES_EVENT, Cell, Ya as ClassBuilder, es as ClipboardCopy, CloseButton, N as Converters, Fa as CssDisplay, ma as Ct, Ai as D, jo as DEFAULT_ICON_PACK, w as DOMElement, DOMLoadableBodyElement, os as DOMLoadableElement, Ea as DefaultValues, Dn as Disclosure, fa as Dt, Js as E, Va as EN_STRINGS, Oe as ERRORED_STATE, De as ERROR_EVENT, Be as ElementDefinition, da as Et, gi as F, Ei as Ft, Tr as G, __decoratorStart as Gt, Jr as H, onPlatformChange as Ht, Ri as I, Mo as ICON_PACK_INDEX, No as ICON_PREFIX_SEPARATOR, qo as IconGlyph, Po as IconName, Gi as It, Xr as J, __publicField as Jt, Hr as K, __name as Kt, bi as L, Pa as LAYER_ORDER, ListSelection, Yn as LoadOnce, qs as LoadableBody, Ns as LoadableComponent, Ji as Lt, Ii as M, lo as MAX_DEPTH, ro as MenuSearchFields, Pn as MoveAndResize, ga as Mt, Li as N, v as NO_ANIMATION, Co as NativeFallback, _ as NodeType, ai as Nt, ji as O, co as ORIGINAL_PREFIX, ua as Ot, OwnControls, tt as OwnerContext, Pr as P, Ia as PAGE_SCOPE, Un as PaneSizes, Vn as ParentLink, Uo as PartComponent, D as PartContext, PopoverPanel, ii as Pt, si as Q, Queued, zi as R, R as RUNTIME_KEY, Na as RUNTIME_VERSION, no as RangeMeasures, b as Reactive, $a as RootSettings, WordWidthClasses as Rt, $r as S, La as SCROLL_LOCK_CLASS, po as SOURCE_ATTRIBUTE, fo as SOURCE_BODY_HOLD_MS, uo as SOURCE_FAILURE_KEYS, io as SOURCE_LOADER_TAG, ao as SOURCE_MESSAGE_TAG, go as STICKY_MAX_RESERVE, ho as STICKY_SCROLLING, _o as STICKY_SLACK, F as SharedVocabulary, vo as Shorthand, Sn as SlotContent, z as SourceError, Ua as SourceErrorKinds, W as SourceEvent, Is as SourceMarkup, U as SourceStatus, y as SpellSolid, Bi as St, StaleCatalogError, Eo as StickyWatch, mo as StickyWatchEdges, Ki as T, Ha as TEMPORAL_POLYFILL, qn as TopLayerTip, Di as Tt, Ir as U, B as UI, Xt as UIComponent, vr as UIT, oo as URL_ATTRIBUTES, so as URL_SELECTOR, za as UTILITIES_SHEET, __decorateElement as Ut, ModalActions as V, M as ValueSets, Ga as VisibilityDirection, Ca as Vocabulary, isOnPlatform as Vt, ci as W, to as WHITESPACE, Warnings, __decoratorMetadata as Wt, qi as X, li as Y, __runInitializers as Yt, wi as Z, Rr as _, Mr as _t, ni as a, after, afterSolidUpdate, answerOf, aria, pi as at, Zr as b, beforeNextPaint, Vr as bt, byDocumentOrder, Oi as c, camelCase, clamp, closestAcrossShadow, commaList, controlled, copyText, cssSecondsFor, cssState, aa as ct, ha as d, dedent, derived, ca as dt, escapeHTML, escapeRegExp, Er as et, every, ki as f, fetchOk, fetchText, flatParentFor, forget, ea as ft, _i as g, getSuperHierarchy, ia as gt, Ci as h, hasDescriptor, hasMarkdown, hasOwnProp, na as ht, Mi as i, indented, initialCaps, isBrowser, isSameList, hi as it, Fi as j, ThemeNames as jt, HeadingLevels as k, kb, kebabCase, pa as kt, Fr as l, lazy, letNodeEnd, levenshtein, load as loadUI, oa as lt, Yi as m, markedPieces, ta as mt, Si as n, nextFrame, P as nt, numberToWord, Vi as o, on, onChange, once, fi as ot, Ni as p, proto, protoMerged, ra as pt, Ur as q, __privateAdd as qt, Ti as r, resets, Gr as rt, xi as s, scrollByRow, scrollEnds, scrollIntoSight, scrollingBoxFor, slug, soon, $i as st, state, suggest, Ro as t, textChecksum, Dr as tt, yi as u, untracked, sa as ut, Hi as v, StackClasses as vt, Zi as w, waitUntil, watches, whenDefined, whileConnected, withArticle, within, withoutAccents, wr as wt, Qr as x, Br as xt, yr as y, kr as yt, ti as z, canCaptureScreen as zt };
|
|
5321
5346
|
|
|
5322
5347
|
//# sourceMappingURL=core.js.map
|