@luzmo/analytics-components-kit 1.0.1-alpha.26 → 1.0.1-alpha.28
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/components/{async-directive-DWRUSKKF-CmOVMf6V.js → async-directive-DWRUSKKF-CPf9l5wJ.js} +1 -1
- package/components/{async-directive-DWRUSKKF-D4itZyzc.cjs → async-directive-DWRUSKKF-DWUZeMaj.cjs} +1 -1
- package/components/base-D76d76ww-C6YO3slp.cjs +94 -0
- package/components/base-D76d76ww-M5t7LVBG.js +758 -0
- package/components/{button-base-B7v4eeRh-D3-GH03o.js → button-base-DSHx7XO8-B_LbLx9g.js} +33 -32
- package/components/{button-base-B7v4eeRh-BKKUK3x0.cjs → button-base-DSHx7XO8-ChNRhetl.cjs} +4 -4
- package/components/{checkbox-mixin-BFGTmw17-C34LMsgu.js → checkbox-mixin-BFGTmw17-C1tjSMaa.js} +2 -2
- package/components/{checkbox-mixin-BFGTmw17-CCjGd0nS.cjs → checkbox-mixin-BFGTmw17-DF2p-vSz.cjs} +4 -4
- package/components/{directive-helpers-nlQRAaQt-3kEWF2GV.cjs → directive-helpers-nlQRAaQt-DTZp2cFt.cjs} +4 -4
- package/components/{directive-helpers-nlQRAaQt-I6T4KZKW.js → directive-helpers-nlQRAaQt-DgSC1Yr2.js} +1 -1
- package/components/display-settings/display-settings.d.ts +3 -3
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +19 -19
- package/components/display-settings-binning/display-settings-binning.d.ts +3 -3
- package/components/display-settings-binning/index.cjs +2 -2
- package/components/display-settings-binning/index.js +20 -20
- package/components/display-settings-datetime/display-settings-datetime.d.ts +3 -3
- package/components/display-settings-datetime/index.cjs +2 -2
- package/components/display-settings-datetime/index.js +22 -22
- package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +3 -3
- package/components/display-settings-grand-totals/index.cjs +2 -2
- package/components/display-settings-grand-totals/index.js +19 -19
- package/components/display-settings-numeric/display-settings-numeric.d.ts +3 -3
- package/components/display-settings-numeric/index.cjs +4 -4
- package/components/display-settings-numeric/index.js +23 -23
- package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +3 -3
- package/components/display-settings-period-over-period/index.cjs +15 -15
- package/components/display-settings-period-over-period/index.js +45 -44
- package/components/draggable-data-item/draggable-data-item.d.ts +3 -3
- package/components/draggable-data-item/index.cjs +4 -4
- package/components/draggable-data-item/index.js +6 -6
- package/components/draggable-data-item-level/draggable-data-item-level.d.ts +3 -3
- package/components/draggable-data-item-level/index.cjs +4 -4
- package/components/draggable-data-item-level/index.js +15 -15
- package/components/droppable-slot/droppable-slot.d.ts +5 -5
- package/components/droppable-slot/index.cjs +2 -2
- package/components/droppable-slot/index.js +14 -14
- package/components/edit-item/edit-item.d.ts +3 -1
- package/components/edit-item/index.cjs +17 -16
- package/components/edit-item/index.js +50 -35
- package/components/edit-option/edit-option.d.ts +1 -1
- package/components/edit-option/helpers/control-markup.d.ts +1 -1
- package/components/edit-option/index.cjs +1 -1
- package/components/edit-option/index.js +1 -1
- package/components/edit-option-action-button-group/index.cjs +2 -2
- package/components/edit-option-action-button-group/index.js +6 -6
- package/components/edit-option-base/edit-option-base.d.ts +3 -3
- package/components/{edit-option-base-qePiIQWd.js → edit-option-base-C0zI8SOd.js} +4 -4
- package/components/edit-option-base-D8vs3Bty.cjs +53 -0
- package/components/edit-option-color-picker/index.cjs +24 -24
- package/components/edit-option-color-picker/index.js +42 -41
- package/components/edit-option-multi-language-field/index.cjs +1 -1
- package/components/edit-option-multi-language-field/index.js +3 -3
- package/components/edit-option-number-field/index.cjs +2 -2
- package/components/edit-option-number-field/index.js +3 -3
- package/components/edit-option-picker/index.cjs +2 -2
- package/components/edit-option-picker/index.js +4 -4
- package/components/edit-option-position-picker/index.cjs +2 -2
- package/components/edit-option-position-picker/index.js +3 -3
- package/components/edit-option-positions-number-field/index.cjs +1 -1
- package/components/edit-option-positions-number-field/index.js +5 -5
- package/components/edit-option-radio-button-group/index.cjs +4 -4
- package/components/edit-option-radio-button-group/index.js +4 -4
- package/components/edit-option-slider/index.cjs +3 -3
- package/components/edit-option-slider/index.js +8 -8
- package/components/edit-option-switch/index.cjs +5 -5
- package/components/edit-option-switch/index.js +11 -10
- package/components/edit-option-text-field/index.cjs +2 -2
- package/components/edit-option-text-field/index.js +3 -3
- package/components/focusable-Cu_m_GTh.cjs +42 -0
- package/components/focusable-Dw_pMNQL.js +852 -0
- package/components/focusable-cj2QhwDT-CvevSkDr.cjs +52 -0
- package/components/focusable-cj2QhwDT-DlzfnLn9.js +242 -0
- package/components/{if-defined-BSAr_4u4-4Ys8VE7T.js → if-defined-BSAr_4u4-BCnSpSsA.js} +14 -15
- package/components/{if-defined-BSAr_4u4-gECNwmTC.cjs → if-defined-BSAr_4u4-CIqREoag.cjs} +3 -3
- package/components/{if-defined-8BOch-oC.cjs → if-defined-CF8baNdl.cjs} +2 -2
- package/components/{if-defined-Bv6MRdSW.js → if-defined-DbhS35z5.js} +1 -1
- package/components/{index-Bt5nP_6w.cjs → index-9hGc0AF6.cjs} +6 -6
- package/components/{index-Bee1uunR.js → index-B2LO8M42.js} +11 -12
- package/components/{index-w3j1USKK.cjs → index-B3417kqb.cjs} +2 -2
- package/components/{index-DUO13KGl.cjs → index-BIauj-BP.cjs} +3 -3
- package/components/{index-i8GaIN7i.cjs → index-BIcAxPGg.cjs} +4 -4
- package/components/{index-Dc9c_dq-.cjs → index-BLyfPWMW.cjs} +2 -2
- package/components/index-BW6jffrL.cjs +117 -0
- package/components/{index-CXIT0cYY.js → index-BjdUsH9B.js} +11 -12
- package/components/{index-BYfDERr7.js → index-BnVt-dJY.js} +11 -12
- package/components/index-Bp6XY9q2.cjs +42 -0
- package/components/{index-CdCtJpK9.js → index-C8yP7YJD.js} +8 -9
- package/components/index-CAwT4m7K.cjs +127 -0
- package/components/{index-CfEn3fIT.js → index-CBNsaHFy.js} +7 -8
- package/components/{index-DEVOZNSc.cjs → index-CC53jnJB.cjs} +2 -2
- package/components/{index-CdUTqQ3L.cjs → index-CZUy8SUo.cjs} +4 -4
- package/components/{index-86cIx1Ql.cjs → index-Cl7wWlXl.cjs} +2 -2
- package/components/{index-ByjLd3bT.cjs → index-Cz9Cvq1K.cjs} +6 -6
- package/components/{index-B3ve6cAj.js → index-D8GVYuJ-.js} +142 -109
- package/components/{index-BH9W0QLt-DBxyzKWK.js → index-DQCvi59x.js} +92 -59
- package/components/index-DelXrrBi.js +779 -0
- package/components/{index-BUSWsm5N.js → index-Dku2WLRc.js} +7 -8
- package/components/{index-aYcu00GB.js → index-Du8Q4hhF.js} +2 -2
- package/components/{index-Dn7LyFPv.js → index-Dwp251OJ.js} +3 -3
- package/components/{index-BVX_ozT9.js → index-KY89MPqI.js} +5 -6
- package/components/{index-BJVxTeoi.cjs → index-b9OSfNB6.cjs} +7 -7
- package/components/{index-ymMEPngt.js → index-fheP_kQJ.js} +23 -23
- package/components/{index-DVAsMiOm.js → index-fzqLW5XZ.js} +7 -8
- package/components/index-hogChFy0.cjs +195 -0
- package/components/index-mB-t2zP2.cjs +217 -0
- package/components/{index-C8IL2IZ6.js → index-zFIy9Mwl.js} +14 -15
- package/components/index.cjs +1 -1
- package/components/index.js +457 -54
- package/components/{luzmo-icons-BE2T8vWu.js → luzmo-icons-CmY3chvZ.js} +16 -16
- package/components/luzmo-icons-lvebt6bp.cjs +31 -0
- package/components/{observe-slot-text-ggb4kKgY-DBVrKDBD.cjs → observe-slot-text-ggb4kKgY-5zLP4Vgh.cjs} +2 -2
- package/components/{observe-slot-text-ggb4kKgY-o5QFWUeA.js → observe-slot-text-ggb4kKgY-tm0SQCaj.js} +3 -3
- package/components/{popover-Bx4ZDHk4-BuzeOeNe.cjs → popover-Bx4ZDHk4-Cw2DKR2x.cjs} +2 -2
- package/components/{popover-Bx4ZDHk4-jZJ0Cd59.js → popover-Bx4ZDHk4-HbUSJ86p.js} +6 -7
- package/components/{query-assigned-nodes-C76XVPWY-DPC6kOmH.js → query-assigned-nodes-C76XVPWY-DON51dMU.js} +1 -1
- package/components/{query-assigned-nodes-C76XVPWY-BcyGjObB.cjs → query-assigned-nodes-C76XVPWY-DzOeAzcN.cjs} +1 -1
- package/components/sized-mixin-Cqlxwicw.cjs +20 -0
- package/components/sized-mixin-DMuOVsw0.js +65 -0
- package/components/slot-menu/index.cjs +1 -1
- package/components/slot-menu/index.js +27 -27
- package/components/slot-menu/slot-menu.d.ts +3 -3
- package/components/slot-menu-list/index.cjs +2 -2
- package/components/slot-menu-list/index.js +14 -14
- package/components/slot-menu-list/slot-menu-list.d.ts +3 -3
- package/components/{state-BFA93Sye.cjs → state-QgHgNZLe.cjs} +2 -2
- package/components/{state-Joaryhrg.js → state-e2n-fyrr.js} +1 -1
- package/components/streaming-listener-CCalHg57-2AtO4Ho2.cjs +52 -0
- package/components/{language-resolution-8yZa5r_P-Bn0bYosv.js → streaming-listener-CCalHg57-CQgWstyf.js} +59 -59
- package/components/{task-B8yMzxui.cjs → task-fQFUVV8e.cjs} +2 -2
- package/components/{task-Cr9aRIbV.js → task-gE27tBDv.js} +1 -1
- package/components/text-field-BTnBJoP9-BuahhcXU.js +430 -0
- package/components/text-field-BTnBJoP9-CDMhK3d1.cjs +147 -0
- package/components/utils.cjs +1 -1
- package/components/utils.js +472 -54
- package/custom-elements.json +56 -292
- package/index.d.ts +1 -0
- package/item-definitions/marker-map/marker-map-options.config.d.ts +1 -1
- package/package.json +2 -2
- package/utils/base/base.d.ts +16 -0
- package/utils/base/focus-visible.d.ts +29 -0
- package/utils/base/focusable.d.ts +58 -0
- package/utils/base/index.d.ts +4 -0
- package/utils/base/sized-mixin.d.ts +17 -0
- package/utils/index.d.ts +1 -0
- package/utils/themes/index.d.ts +507 -0
- package/components/base-D76d76ww-BiajPmzU.cjs +0 -40
- package/components/base-D76d76ww-gf0ESLsU.js +0 -45
- package/components/edit-option-base-Boz7TNRZ.cjs +0 -53
- package/components/index-BH9W0QLt-Cy2sUVJ_.cjs +0 -95
- package/components/index-D5LI0odG.js +0 -44
- package/components/index-DM_2d78G.js +0 -744
- package/components/index-DrLPC6eG.cjs +0 -185
- package/components/index-eEpFkbP8.cjs +0 -195
- package/components/index-h9T5DPIm.cjs +0 -36
- package/components/index-iYpAy-Kg.cjs +0 -95
- package/components/index-zuArOtOt.cjs +0 -42
- package/components/language-resolution-8yZa5r_P-FqQChUDW.cjs +0 -52
- package/components/luzmo-icons-XsFsTAl3.cjs +0 -31
- package/components/property-0L4eB11h.cjs +0 -112
- package/components/property-B2F7x7Cz.js +0 -1481
- package/components/sized-mixin-BxMraZLS-B_y0PzR3.js +0 -82
- package/components/sized-mixin-BxMraZLS-DEFWqo8f.cjs +0 -36
- package/components/text-field-CvKSS59x-Dn0_1HO7.js +0 -412
- package/components/text-field-CvKSS59x-E9LQElL4.cjs +0 -131
@@ -1,1481 +0,0 @@
|
|
1
|
-
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
2
|
-
*
|
3
|
-
* Copyright © 2025 Luzmo
|
4
|
-
* All rights reserved.
|
5
|
-
* Luzmo web components (“Luzmo Web Components”)
|
6
|
-
* must be used according to the Luzmo Terms of Service.
|
7
|
-
* This license allows users with a current active Luzmo account
|
8
|
-
* to use the Luzmo Web Components. This license terminates
|
9
|
-
* automatically if a user no longer has an active Luzmo account.
|
10
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
11
|
-
*
|
12
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
-
* SOFTWARE.
|
19
|
-
* */
|
20
|
-
/**
|
21
|
-
* @license
|
22
|
-
* Copyright 2019 Google LLC
|
23
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
24
|
-
*/
|
25
|
-
const W = globalThis, ht = W.ShadowRoot && (W.ShadyCSS === void 0 || W.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Wt = Symbol(), gt = /* @__PURE__ */ new WeakMap();
|
26
|
-
let ne = class {
|
27
|
-
constructor(t, e, s) {
|
28
|
-
if (this._$cssResult$ = !0, s !== Wt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
29
|
-
this.cssText = t, this.t = e;
|
30
|
-
}
|
31
|
-
get styleSheet() {
|
32
|
-
let t = this.o;
|
33
|
-
const e = this.t;
|
34
|
-
if (ht && t === void 0) {
|
35
|
-
const s = e !== void 0 && e.length === 1;
|
36
|
-
s && (t = gt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && gt.set(e, t));
|
37
|
-
}
|
38
|
-
return t;
|
39
|
-
}
|
40
|
-
toString() {
|
41
|
-
return this.cssText;
|
42
|
-
}
|
43
|
-
};
|
44
|
-
const oe = (r) => new ne(typeof r == "string" ? r : r + "", void 0, Wt), ae = (r, t) => {
|
45
|
-
if (ht) r.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
46
|
-
else for (const e of t) {
|
47
|
-
const s = document.createElement("style"), i = W.litNonce;
|
48
|
-
i !== void 0 && s.setAttribute("nonce", i), s.textContent = e.cssText, r.appendChild(s);
|
49
|
-
}
|
50
|
-
}, bt = ht ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((t) => {
|
51
|
-
let e = "";
|
52
|
-
for (const s of t.cssRules) e += s.cssText;
|
53
|
-
return oe(e);
|
54
|
-
})(r) : r;
|
55
|
-
/**
|
56
|
-
* @license
|
57
|
-
* Copyright 2017 Google LLC
|
58
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
59
|
-
*/
|
60
|
-
const { is: le, defineProperty: he, getOwnPropertyDescriptor: ce, getOwnPropertyNames: de, getOwnPropertySymbols: ue, getPrototypeOf: pe } = Object, g = globalThis, vt = g.trustedTypes, $e = vt ? vt.emptyScript : "", et = g.reactiveElementPolyfillSupport, R = (r, t) => r, Z = { toAttribute(r, t) {
|
61
|
-
switch (t) {
|
62
|
-
case Boolean:
|
63
|
-
r = r ? $e : null;
|
64
|
-
break;
|
65
|
-
case Object:
|
66
|
-
case Array:
|
67
|
-
r = r == null ? r : JSON.stringify(r);
|
68
|
-
}
|
69
|
-
return r;
|
70
|
-
}, fromAttribute(r, t) {
|
71
|
-
let e = r;
|
72
|
-
switch (t) {
|
73
|
-
case Boolean:
|
74
|
-
e = r !== null;
|
75
|
-
break;
|
76
|
-
case Number:
|
77
|
-
e = r === null ? null : Number(r);
|
78
|
-
break;
|
79
|
-
case Object:
|
80
|
-
case Array:
|
81
|
-
try {
|
82
|
-
e = JSON.parse(r);
|
83
|
-
} catch {
|
84
|
-
e = null;
|
85
|
-
}
|
86
|
-
}
|
87
|
-
return e;
|
88
|
-
} }, ct = (r, t) => !le(r, t), yt = { attribute: !0, type: String, converter: Z, reflect: !1, hasChanged: ct };
|
89
|
-
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), g.litPropertyMetadata ?? (g.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
90
|
-
let x = class extends HTMLElement {
|
91
|
-
static addInitializer(t) {
|
92
|
-
this._$Ei(), (this.l ?? (this.l = [])).push(t);
|
93
|
-
}
|
94
|
-
static get observedAttributes() {
|
95
|
-
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
96
|
-
}
|
97
|
-
static createProperty(t, e = yt) {
|
98
|
-
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
99
|
-
const s = Symbol(), i = this.getPropertyDescriptor(t, s, e);
|
100
|
-
i !== void 0 && he(this.prototype, t, i);
|
101
|
-
}
|
102
|
-
}
|
103
|
-
static getPropertyDescriptor(t, e, s) {
|
104
|
-
const { get: i, set: o } = ce(this.prototype, t) ?? { get() {
|
105
|
-
return this[e];
|
106
|
-
}, set(n) {
|
107
|
-
this[e] = n;
|
108
|
-
} };
|
109
|
-
return { get() {
|
110
|
-
return i == null ? void 0 : i.call(this);
|
111
|
-
}, set(n) {
|
112
|
-
const l = i == null ? void 0 : i.call(this);
|
113
|
-
o.call(this, n), this.requestUpdate(t, l, s);
|
114
|
-
}, configurable: !0, enumerable: !0 };
|
115
|
-
}
|
116
|
-
static getPropertyOptions(t) {
|
117
|
-
return this.elementProperties.get(t) ?? yt;
|
118
|
-
}
|
119
|
-
static _$Ei() {
|
120
|
-
if (this.hasOwnProperty(R("elementProperties"))) return;
|
121
|
-
const t = pe(this);
|
122
|
-
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
123
|
-
}
|
124
|
-
static finalize() {
|
125
|
-
if (this.hasOwnProperty(R("finalized"))) return;
|
126
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(R("properties"))) {
|
127
|
-
const e = this.properties, s = [...de(e), ...ue(e)];
|
128
|
-
for (const i of s) this.createProperty(i, e[i]);
|
129
|
-
}
|
130
|
-
const t = this[Symbol.metadata];
|
131
|
-
if (t !== null) {
|
132
|
-
const e = litPropertyMetadata.get(t);
|
133
|
-
if (e !== void 0) for (const [s, i] of e) this.elementProperties.set(s, i);
|
134
|
-
}
|
135
|
-
this._$Eh = /* @__PURE__ */ new Map();
|
136
|
-
for (const [e, s] of this.elementProperties) {
|
137
|
-
const i = this._$Eu(e, s);
|
138
|
-
i !== void 0 && this._$Eh.set(i, e);
|
139
|
-
}
|
140
|
-
this.elementStyles = this.finalizeStyles(this.styles);
|
141
|
-
}
|
142
|
-
static finalizeStyles(t) {
|
143
|
-
const e = [];
|
144
|
-
if (Array.isArray(t)) {
|
145
|
-
const s = new Set(t.flat(1 / 0).reverse());
|
146
|
-
for (const i of s) e.unshift(bt(i));
|
147
|
-
} else t !== void 0 && e.push(bt(t));
|
148
|
-
return e;
|
149
|
-
}
|
150
|
-
static _$Eu(t, e) {
|
151
|
-
const s = e.attribute;
|
152
|
-
return s === !1 ? void 0 : typeof s == "string" ? s : typeof t == "string" ? t.toLowerCase() : void 0;
|
153
|
-
}
|
154
|
-
constructor() {
|
155
|
-
super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
|
156
|
-
}
|
157
|
-
_$Ev() {
|
158
|
-
var t;
|
159
|
-
this._$ES = new Promise((e) => this.enableUpdating = e), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), (t = this.constructor.l) == null || t.forEach((e) => e(this));
|
160
|
-
}
|
161
|
-
addController(t) {
|
162
|
-
var e;
|
163
|
-
(this._$EO ?? (this._$EO = /* @__PURE__ */ new Set())).add(t), this.renderRoot !== void 0 && this.isConnected && ((e = t.hostConnected) == null || e.call(t));
|
164
|
-
}
|
165
|
-
removeController(t) {
|
166
|
-
var e;
|
167
|
-
(e = this._$EO) == null || e.delete(t);
|
168
|
-
}
|
169
|
-
_$E_() {
|
170
|
-
const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
|
171
|
-
for (const s of e.keys()) this.hasOwnProperty(s) && (t.set(s, this[s]), delete this[s]);
|
172
|
-
t.size > 0 && (this._$Ep = t);
|
173
|
-
}
|
174
|
-
createRenderRoot() {
|
175
|
-
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
176
|
-
return ae(t, this.constructor.elementStyles), t;
|
177
|
-
}
|
178
|
-
connectedCallback() {
|
179
|
-
var t;
|
180
|
-
this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$EO) == null || t.forEach((e) => {
|
181
|
-
var s;
|
182
|
-
return (s = e.hostConnected) == null ? void 0 : s.call(e);
|
183
|
-
});
|
184
|
-
}
|
185
|
-
enableUpdating(t) {
|
186
|
-
}
|
187
|
-
disconnectedCallback() {
|
188
|
-
var t;
|
189
|
-
(t = this._$EO) == null || t.forEach((e) => {
|
190
|
-
var s;
|
191
|
-
return (s = e.hostDisconnected) == null ? void 0 : s.call(e);
|
192
|
-
});
|
193
|
-
}
|
194
|
-
attributeChangedCallback(t, e, s) {
|
195
|
-
this._$AK(t, s);
|
196
|
-
}
|
197
|
-
_$EC(t, e) {
|
198
|
-
var o;
|
199
|
-
const s = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, s);
|
200
|
-
if (i !== void 0 && s.reflect === !0) {
|
201
|
-
const n = (((o = s.converter) == null ? void 0 : o.toAttribute) !== void 0 ? s.converter : Z).toAttribute(e, s.type);
|
202
|
-
this._$Em = t, n == null ? this.removeAttribute(i) : this.setAttribute(i, n), this._$Em = null;
|
203
|
-
}
|
204
|
-
}
|
205
|
-
_$AK(t, e) {
|
206
|
-
var o;
|
207
|
-
const s = this.constructor, i = s._$Eh.get(t);
|
208
|
-
if (i !== void 0 && this._$Em !== i) {
|
209
|
-
const n = s.getPropertyOptions(i), l = typeof n.converter == "function" ? { fromAttribute: n.converter } : ((o = n.converter) == null ? void 0 : o.fromAttribute) !== void 0 ? n.converter : Z;
|
210
|
-
this._$Em = i, this[i] = l.fromAttribute(e, n.type), this._$Em = null;
|
211
|
-
}
|
212
|
-
}
|
213
|
-
requestUpdate(t, e, s) {
|
214
|
-
if (t !== void 0) {
|
215
|
-
if (s ?? (s = this.constructor.getPropertyOptions(t)), !(s.hasChanged ?? ct)(this[t], e)) return;
|
216
|
-
this.P(t, e, s);
|
217
|
-
}
|
218
|
-
this.isUpdatePending === !1 && (this._$ES = this._$ET());
|
219
|
-
}
|
220
|
-
P(t, e, s) {
|
221
|
-
this._$AL.has(t) || this._$AL.set(t, e), s.reflect === !0 && this._$Em !== t && (this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Set())).add(t);
|
222
|
-
}
|
223
|
-
async _$ET() {
|
224
|
-
this.isUpdatePending = !0;
|
225
|
-
try {
|
226
|
-
await this._$ES;
|
227
|
-
} catch (e) {
|
228
|
-
Promise.reject(e);
|
229
|
-
}
|
230
|
-
const t = this.scheduleUpdate();
|
231
|
-
return t != null && await t, !this.isUpdatePending;
|
232
|
-
}
|
233
|
-
scheduleUpdate() {
|
234
|
-
return this.performUpdate();
|
235
|
-
}
|
236
|
-
performUpdate() {
|
237
|
-
var s;
|
238
|
-
if (!this.isUpdatePending) return;
|
239
|
-
if (!this.hasUpdated) {
|
240
|
-
if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
|
241
|
-
for (const [o, n] of this._$Ep) this[o] = n;
|
242
|
-
this._$Ep = void 0;
|
243
|
-
}
|
244
|
-
const i = this.constructor.elementProperties;
|
245
|
-
if (i.size > 0) for (const [o, n] of i) n.wrapped !== !0 || this._$AL.has(o) || this[o] === void 0 || this.P(o, this[o], n);
|
246
|
-
}
|
247
|
-
let t = !1;
|
248
|
-
const e = this._$AL;
|
249
|
-
try {
|
250
|
-
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$EO) == null || s.forEach((i) => {
|
251
|
-
var o;
|
252
|
-
return (o = i.hostUpdate) == null ? void 0 : o.call(i);
|
253
|
-
}), this.update(e)) : this._$EU();
|
254
|
-
} catch (i) {
|
255
|
-
throw t = !1, this._$EU(), i;
|
256
|
-
}
|
257
|
-
t && this._$AE(e);
|
258
|
-
}
|
259
|
-
willUpdate(t) {
|
260
|
-
}
|
261
|
-
_$AE(t) {
|
262
|
-
var e;
|
263
|
-
(e = this._$EO) == null || e.forEach((s) => {
|
264
|
-
var i;
|
265
|
-
return (i = s.hostUpdated) == null ? void 0 : i.call(s);
|
266
|
-
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
267
|
-
}
|
268
|
-
_$EU() {
|
269
|
-
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
270
|
-
}
|
271
|
-
get updateComplete() {
|
272
|
-
return this.getUpdateComplete();
|
273
|
-
}
|
274
|
-
getUpdateComplete() {
|
275
|
-
return this._$ES;
|
276
|
-
}
|
277
|
-
shouldUpdate(t) {
|
278
|
-
return !0;
|
279
|
-
}
|
280
|
-
update(t) {
|
281
|
-
this._$Ej && (this._$Ej = this._$Ej.forEach((e) => this._$EC(e, this[e]))), this._$EU();
|
282
|
-
}
|
283
|
-
updated(t) {
|
284
|
-
}
|
285
|
-
firstUpdated(t) {
|
286
|
-
}
|
287
|
-
};
|
288
|
-
x.elementStyles = [], x.shadowRootOptions = { mode: "open" }, x[R("elementProperties")] = /* @__PURE__ */ new Map(), x[R("finalized")] = /* @__PURE__ */ new Map(), et == null || et({ ReactiveElement: x }), (g.reactiveElementVersions ?? (g.reactiveElementVersions = [])).push("2.0.4");
|
289
|
-
/*! * Lucero - The design system for Luzmo.
|
290
|
-
*
|
291
|
-
* Copyright © 2025 Luzmo
|
292
|
-
* All rights reserved.
|
293
|
-
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
294
|
-
* This license allows users with a current active Luzmo account to use Lucero.
|
295
|
-
* This license terminates automatically if a user no longer has an active Luzmo account.
|
296
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
297
|
-
*
|
298
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
299
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
300
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
301
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
302
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
303
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
304
|
-
* SOFTWARE.
|
305
|
-
* */
|
306
|
-
/**
|
307
|
-
* @license
|
308
|
-
* Copyright 2019 Google LLC
|
309
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
310
|
-
*/
|
311
|
-
const q = globalThis, dt = q.ShadowRoot && (q.ShadyCSS === void 0 || q.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, qt = Symbol(), Et = /* @__PURE__ */ new WeakMap();
|
312
|
-
let fe = class {
|
313
|
-
constructor(r, t, e) {
|
314
|
-
if (this._$cssResult$ = !0, e !== qt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
315
|
-
this.cssText = r, this.t = t;
|
316
|
-
}
|
317
|
-
get styleSheet() {
|
318
|
-
let r = this.o;
|
319
|
-
const t = this.t;
|
320
|
-
if (dt && r === void 0) {
|
321
|
-
const e = t !== void 0 && t.length === 1;
|
322
|
-
e && (r = Et.get(t)), r === void 0 && ((this.o = r = new CSSStyleSheet()).replaceSync(this.cssText), e && Et.set(t, r));
|
323
|
-
}
|
324
|
-
return r;
|
325
|
-
}
|
326
|
-
toString() {
|
327
|
-
return this.cssText;
|
328
|
-
}
|
329
|
-
};
|
330
|
-
const me = (r) => new fe(typeof r == "string" ? r : r + "", void 0, qt), _e = (r, t) => {
|
331
|
-
if (dt) r.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
332
|
-
else for (const e of t) {
|
333
|
-
const s = document.createElement("style"), i = q.litNonce;
|
334
|
-
i !== void 0 && s.setAttribute("nonce", i), s.textContent = e.cssText, r.appendChild(s);
|
335
|
-
}
|
336
|
-
}, St = dt ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((t) => {
|
337
|
-
let e = "";
|
338
|
-
for (const s of t.cssRules) e += s.cssText;
|
339
|
-
return me(e);
|
340
|
-
})(r) : r;
|
341
|
-
/**
|
342
|
-
* @license
|
343
|
-
* Copyright 2017 Google LLC
|
344
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
345
|
-
*/
|
346
|
-
const { is: Ae, defineProperty: ge, getOwnPropertyDescriptor: be, getOwnPropertyNames: ve, getOwnPropertySymbols: ye, getPrototypeOf: Ee } = Object, P = globalThis, wt = P.trustedTypes, Se = wt ? wt.emptyScript : "", xt = P.reactiveElementPolyfillSupport, k = (r, t) => r, J = { toAttribute(r, t) {
|
347
|
-
switch (t) {
|
348
|
-
case Boolean:
|
349
|
-
r = r ? Se : null;
|
350
|
-
break;
|
351
|
-
case Object:
|
352
|
-
case Array:
|
353
|
-
r = r == null ? r : JSON.stringify(r);
|
354
|
-
}
|
355
|
-
return r;
|
356
|
-
}, fromAttribute(r, t) {
|
357
|
-
let e = r;
|
358
|
-
switch (t) {
|
359
|
-
case Boolean:
|
360
|
-
e = r !== null;
|
361
|
-
break;
|
362
|
-
case Number:
|
363
|
-
e = r === null ? null : Number(r);
|
364
|
-
break;
|
365
|
-
case Object:
|
366
|
-
case Array:
|
367
|
-
try {
|
368
|
-
e = JSON.parse(r);
|
369
|
-
} catch {
|
370
|
-
e = null;
|
371
|
-
}
|
372
|
-
}
|
373
|
-
return e;
|
374
|
-
} }, ut = (r, t) => !Ae(r, t), Ct = { attribute: !0, type: String, converter: J, reflect: !1, hasChanged: ut };
|
375
|
-
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), P.litPropertyMetadata ?? (P.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
376
|
-
let C = class extends HTMLElement {
|
377
|
-
static addInitializer(t) {
|
378
|
-
this._$Ei(), (this.l ?? (this.l = [])).push(t);
|
379
|
-
}
|
380
|
-
static get observedAttributes() {
|
381
|
-
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
382
|
-
}
|
383
|
-
static createProperty(t, e = Ct) {
|
384
|
-
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
385
|
-
const s = Symbol(), i = this.getPropertyDescriptor(t, s, e);
|
386
|
-
i !== void 0 && ge(this.prototype, t, i);
|
387
|
-
}
|
388
|
-
}
|
389
|
-
static getPropertyDescriptor(t, e, s) {
|
390
|
-
const { get: i, set: o } = be(this.prototype, t) ?? { get() {
|
391
|
-
return this[e];
|
392
|
-
}, set(n) {
|
393
|
-
this[e] = n;
|
394
|
-
} };
|
395
|
-
return { get() {
|
396
|
-
return i == null ? void 0 : i.call(this);
|
397
|
-
}, set(n) {
|
398
|
-
const l = i == null ? void 0 : i.call(this);
|
399
|
-
o.call(this, n), this.requestUpdate(t, l, s);
|
400
|
-
}, configurable: !0, enumerable: !0 };
|
401
|
-
}
|
402
|
-
static getPropertyOptions(t) {
|
403
|
-
return this.elementProperties.get(t) ?? Ct;
|
404
|
-
}
|
405
|
-
static _$Ei() {
|
406
|
-
if (this.hasOwnProperty(k("elementProperties"))) return;
|
407
|
-
const t = Ee(this);
|
408
|
-
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
409
|
-
}
|
410
|
-
static finalize() {
|
411
|
-
if (this.hasOwnProperty(k("finalized"))) return;
|
412
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(k("properties"))) {
|
413
|
-
const e = this.properties, s = [...ve(e), ...ye(e)];
|
414
|
-
for (const i of s) this.createProperty(i, e[i]);
|
415
|
-
}
|
416
|
-
const t = this[Symbol.metadata];
|
417
|
-
if (t !== null) {
|
418
|
-
const e = litPropertyMetadata.get(t);
|
419
|
-
if (e !== void 0) for (const [s, i] of e) this.elementProperties.set(s, i);
|
420
|
-
}
|
421
|
-
this._$Eh = /* @__PURE__ */ new Map();
|
422
|
-
for (const [e, s] of this.elementProperties) {
|
423
|
-
const i = this._$Eu(e, s);
|
424
|
-
i !== void 0 && this._$Eh.set(i, e);
|
425
|
-
}
|
426
|
-
this.elementStyles = this.finalizeStyles(this.styles);
|
427
|
-
}
|
428
|
-
static finalizeStyles(t) {
|
429
|
-
const e = [];
|
430
|
-
if (Array.isArray(t)) {
|
431
|
-
const s = new Set(t.flat(1 / 0).reverse());
|
432
|
-
for (const i of s) e.unshift(St(i));
|
433
|
-
} else t !== void 0 && e.push(St(t));
|
434
|
-
return e;
|
435
|
-
}
|
436
|
-
static _$Eu(t, e) {
|
437
|
-
const s = e.attribute;
|
438
|
-
return s === !1 ? void 0 : typeof s == "string" ? s : typeof t == "string" ? t.toLowerCase() : void 0;
|
439
|
-
}
|
440
|
-
constructor() {
|
441
|
-
super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
|
442
|
-
}
|
443
|
-
_$Ev() {
|
444
|
-
var t;
|
445
|
-
this._$ES = new Promise((e) => this.enableUpdating = e), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), (t = this.constructor.l) == null || t.forEach((e) => e(this));
|
446
|
-
}
|
447
|
-
addController(t) {
|
448
|
-
var e;
|
449
|
-
(this._$EO ?? (this._$EO = /* @__PURE__ */ new Set())).add(t), this.renderRoot !== void 0 && this.isConnected && ((e = t.hostConnected) == null || e.call(t));
|
450
|
-
}
|
451
|
-
removeController(t) {
|
452
|
-
var e;
|
453
|
-
(e = this._$EO) == null || e.delete(t);
|
454
|
-
}
|
455
|
-
_$E_() {
|
456
|
-
const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
|
457
|
-
for (const s of e.keys()) this.hasOwnProperty(s) && (t.set(s, this[s]), delete this[s]);
|
458
|
-
t.size > 0 && (this._$Ep = t);
|
459
|
-
}
|
460
|
-
createRenderRoot() {
|
461
|
-
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
462
|
-
return _e(t, this.constructor.elementStyles), t;
|
463
|
-
}
|
464
|
-
connectedCallback() {
|
465
|
-
var t;
|
466
|
-
this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$EO) == null || t.forEach((e) => {
|
467
|
-
var s;
|
468
|
-
return (s = e.hostConnected) == null ? void 0 : s.call(e);
|
469
|
-
});
|
470
|
-
}
|
471
|
-
enableUpdating(t) {
|
472
|
-
}
|
473
|
-
disconnectedCallback() {
|
474
|
-
var t;
|
475
|
-
(t = this._$EO) == null || t.forEach((e) => {
|
476
|
-
var s;
|
477
|
-
return (s = e.hostDisconnected) == null ? void 0 : s.call(e);
|
478
|
-
});
|
479
|
-
}
|
480
|
-
attributeChangedCallback(t, e, s) {
|
481
|
-
this._$AK(t, s);
|
482
|
-
}
|
483
|
-
_$EC(t, e) {
|
484
|
-
var s;
|
485
|
-
const i = this.constructor.elementProperties.get(t), o = this.constructor._$Eu(t, i);
|
486
|
-
if (o !== void 0 && i.reflect === !0) {
|
487
|
-
const n = (((s = i.converter) == null ? void 0 : s.toAttribute) !== void 0 ? i.converter : J).toAttribute(e, i.type);
|
488
|
-
this._$Em = t, n == null ? this.removeAttribute(o) : this.setAttribute(o, n), this._$Em = null;
|
489
|
-
}
|
490
|
-
}
|
491
|
-
_$AK(t, e) {
|
492
|
-
var s;
|
493
|
-
const i = this.constructor, o = i._$Eh.get(t);
|
494
|
-
if (o !== void 0 && this._$Em !== o) {
|
495
|
-
const n = i.getPropertyOptions(o), l = typeof n.converter == "function" ? { fromAttribute: n.converter } : ((s = n.converter) == null ? void 0 : s.fromAttribute) !== void 0 ? n.converter : J;
|
496
|
-
this._$Em = o, this[o] = l.fromAttribute(e, n.type), this._$Em = null;
|
497
|
-
}
|
498
|
-
}
|
499
|
-
requestUpdate(t, e, s) {
|
500
|
-
if (t !== void 0) {
|
501
|
-
if (s ?? (s = this.constructor.getPropertyOptions(t)), !(s.hasChanged ?? ut)(this[t], e)) return;
|
502
|
-
this.P(t, e, s);
|
503
|
-
}
|
504
|
-
this.isUpdatePending === !1 && (this._$ES = this._$ET());
|
505
|
-
}
|
506
|
-
P(t, e, s) {
|
507
|
-
this._$AL.has(t) || this._$AL.set(t, e), s.reflect === !0 && this._$Em !== t && (this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Set())).add(t);
|
508
|
-
}
|
509
|
-
async _$ET() {
|
510
|
-
this.isUpdatePending = !0;
|
511
|
-
try {
|
512
|
-
await this._$ES;
|
513
|
-
} catch (e) {
|
514
|
-
Promise.reject(e);
|
515
|
-
}
|
516
|
-
const t = this.scheduleUpdate();
|
517
|
-
return t != null && await t, !this.isUpdatePending;
|
518
|
-
}
|
519
|
-
scheduleUpdate() {
|
520
|
-
return this.performUpdate();
|
521
|
-
}
|
522
|
-
performUpdate() {
|
523
|
-
var t;
|
524
|
-
if (!this.isUpdatePending) return;
|
525
|
-
if (!this.hasUpdated) {
|
526
|
-
if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
|
527
|
-
for (const [o, n] of this._$Ep) this[o] = n;
|
528
|
-
this._$Ep = void 0;
|
529
|
-
}
|
530
|
-
const i = this.constructor.elementProperties;
|
531
|
-
if (i.size > 0) for (const [o, n] of i) n.wrapped !== !0 || this._$AL.has(o) || this[o] === void 0 || this.P(o, this[o], n);
|
532
|
-
}
|
533
|
-
let e = !1;
|
534
|
-
const s = this._$AL;
|
535
|
-
try {
|
536
|
-
e = this.shouldUpdate(s), e ? (this.willUpdate(s), (t = this._$EO) == null || t.forEach((i) => {
|
537
|
-
var o;
|
538
|
-
return (o = i.hostUpdate) == null ? void 0 : o.call(i);
|
539
|
-
}), this.update(s)) : this._$EU();
|
540
|
-
} catch (i) {
|
541
|
-
throw e = !1, this._$EU(), i;
|
542
|
-
}
|
543
|
-
e && this._$AE(s);
|
544
|
-
}
|
545
|
-
willUpdate(t) {
|
546
|
-
}
|
547
|
-
_$AE(t) {
|
548
|
-
var e;
|
549
|
-
(e = this._$EO) == null || e.forEach((s) => {
|
550
|
-
var i;
|
551
|
-
return (i = s.hostUpdated) == null ? void 0 : i.call(s);
|
552
|
-
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
553
|
-
}
|
554
|
-
_$EU() {
|
555
|
-
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
556
|
-
}
|
557
|
-
get updateComplete() {
|
558
|
-
return this.getUpdateComplete();
|
559
|
-
}
|
560
|
-
getUpdateComplete() {
|
561
|
-
return this._$ES;
|
562
|
-
}
|
563
|
-
shouldUpdate(t) {
|
564
|
-
return !0;
|
565
|
-
}
|
566
|
-
update(t) {
|
567
|
-
this._$Ej && (this._$Ej = this._$Ej.forEach((e) => this._$EC(e, this[e]))), this._$EU();
|
568
|
-
}
|
569
|
-
updated(t) {
|
570
|
-
}
|
571
|
-
firstUpdated(t) {
|
572
|
-
}
|
573
|
-
};
|
574
|
-
C.elementStyles = [], C.shadowRootOptions = { mode: "open" }, C[k("elementProperties")] = /* @__PURE__ */ new Map(), C[k("finalized")] = /* @__PURE__ */ new Map(), xt == null || xt({ ReactiveElement: C }), (P.reactiveElementVersions ?? (P.reactiveElementVersions = [])).push("2.0.4");
|
575
|
-
/**
|
576
|
-
* @license
|
577
|
-
* Copyright 2017 Google LLC
|
578
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
579
|
-
*/
|
580
|
-
const G = globalThis, Q = G.trustedTypes, Pt = Q ? Q.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, Kt = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, Zt = "?" + _, we = `<${Zt}>`, S = document, D = () => S.createComment(""), j = (r) => r === null || typeof r != "object" && typeof r != "function", pt = Array.isArray, xe = (r) => pt(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", st = `[
|
581
|
-
\f\r]`, N = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ut = /-->/g, Tt = />/g, b = RegExp(`>|${st}(?:([^\\s"'>=/]+)(${st}*=${st}*(?:[^
|
582
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Ot = /'/g, Mt = /"/g, Jt = /^(?:script|style|textarea|title)$/i, Ce = (r) => (t, ...e) => ({ _$litType$: r, strings: t, values: e }), ns = Ce(1), U = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), Nt = /* @__PURE__ */ new WeakMap(), y = S.createTreeWalker(S, 129);
|
583
|
-
function Gt(r, t) {
|
584
|
-
if (!pt(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
585
|
-
return Pt !== void 0 ? Pt.createHTML(t) : t;
|
586
|
-
}
|
587
|
-
const Pe = (r, t) => {
|
588
|
-
const e = r.length - 1, s = [];
|
589
|
-
let i, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = N;
|
590
|
-
for (let l = 0; l < e; l++) {
|
591
|
-
const a = r[l];
|
592
|
-
let c, d, h = -1, u = 0;
|
593
|
-
for (; u < a.length && (n.lastIndex = u, d = n.exec(a), d !== null); ) u = n.lastIndex, n === N ? d[1] === "!--" ? n = Ut : d[1] !== void 0 ? n = Tt : d[2] !== void 0 ? (Jt.test(d[2]) && (i = RegExp("</" + d[2], "g")), n = b) : d[3] !== void 0 && (n = b) : n === b ? d[0] === ">" ? (n = i ?? N, h = -1) : d[1] === void 0 ? h = -2 : (h = n.lastIndex - d[2].length, c = d[1], n = d[3] === void 0 ? b : d[3] === '"' ? Mt : Ot) : n === Mt || n === Ot ? n = b : n === Ut || n === Tt ? n = N : (n = b, i = void 0);
|
594
|
-
const f = n === b && r[l + 1].startsWith("/>") ? " " : "";
|
595
|
-
o += n === N ? a + we : h >= 0 ? (s.push(c), a.slice(0, h) + Kt + a.slice(h) + _ + f) : a + _ + (h === -2 ? l : f);
|
596
|
-
}
|
597
|
-
return [Gt(r, o + (r[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
|
598
|
-
};
|
599
|
-
let ot = class Qt {
|
600
|
-
constructor({ strings: t, _$litType$: e }, s) {
|
601
|
-
let i;
|
602
|
-
this.parts = [];
|
603
|
-
let o = 0, n = 0;
|
604
|
-
const l = t.length - 1, a = this.parts, [c, d] = Pe(t, e);
|
605
|
-
if (this.el = Qt.createElement(c, s), y.currentNode = this.el.content, e === 2 || e === 3) {
|
606
|
-
const h = this.el.content.firstChild;
|
607
|
-
h.replaceWith(...h.childNodes);
|
608
|
-
}
|
609
|
-
for (; (i = y.nextNode()) !== null && a.length < l; ) {
|
610
|
-
if (i.nodeType === 1) {
|
611
|
-
if (i.hasAttributes()) for (const h of i.getAttributeNames()) if (h.endsWith(Kt)) {
|
612
|
-
const u = d[n++], f = i.getAttribute(h).split(_), m = /([.?@])?(.*)/.exec(u);
|
613
|
-
a.push({ type: 1, index: o, name: m[2], strings: f, ctor: m[1] === "." ? Te : m[1] === "?" ? Oe : m[1] === "@" ? Me : Y }), i.removeAttribute(h);
|
614
|
-
} else h.startsWith(_) && (a.push({ type: 6, index: o }), i.removeAttribute(h));
|
615
|
-
if (Jt.test(i.tagName)) {
|
616
|
-
const h = i.textContent.split(_), u = h.length - 1;
|
617
|
-
if (u > 0) {
|
618
|
-
i.textContent = Q ? Q.emptyScript : "";
|
619
|
-
for (let f = 0; f < u; f++) i.append(h[f], D()), y.nextNode(), a.push({ type: 2, index: ++o });
|
620
|
-
i.append(h[u], D());
|
621
|
-
}
|
622
|
-
}
|
623
|
-
} else if (i.nodeType === 8) if (i.data === Zt) a.push({ type: 2, index: o });
|
624
|
-
else {
|
625
|
-
let h = -1;
|
626
|
-
for (; (h = i.data.indexOf(_, h + 1)) !== -1; ) a.push({ type: 7, index: o }), h += _.length - 1;
|
627
|
-
}
|
628
|
-
o++;
|
629
|
-
}
|
630
|
-
}
|
631
|
-
static createElement(t, e) {
|
632
|
-
const s = S.createElement("template");
|
633
|
-
return s.innerHTML = t, s;
|
634
|
-
}
|
635
|
-
};
|
636
|
-
function T(r, t, e = r, s) {
|
637
|
-
var i, o;
|
638
|
-
if (t === U) return t;
|
639
|
-
let n = s !== void 0 ? (i = e._$Co) == null ? void 0 : i[s] : e._$Cl;
|
640
|
-
const l = j(t) ? void 0 : t._$litDirective$;
|
641
|
-
return (n == null ? void 0 : n.constructor) !== l && ((o = n == null ? void 0 : n._$AO) == null || o.call(n, !1), l === void 0 ? n = void 0 : (n = new l(r), n._$AT(r, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = n : e._$Cl = n), n !== void 0 && (t = T(r, n._$AS(r, t.values), n, s)), t;
|
642
|
-
}
|
643
|
-
class Ue {
|
644
|
-
constructor(t, e) {
|
645
|
-
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
646
|
-
}
|
647
|
-
get parentNode() {
|
648
|
-
return this._$AM.parentNode;
|
649
|
-
}
|
650
|
-
get _$AU() {
|
651
|
-
return this._$AM._$AU;
|
652
|
-
}
|
653
|
-
u(t) {
|
654
|
-
const { el: { content: e }, parts: s } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? S).importNode(e, !0);
|
655
|
-
y.currentNode = i;
|
656
|
-
let o = y.nextNode(), n = 0, l = 0, a = s[0];
|
657
|
-
for (; a !== void 0; ) {
|
658
|
-
if (n === a.index) {
|
659
|
-
let c;
|
660
|
-
a.type === 2 ? c = new $t(o, o.nextSibling, this, t) : a.type === 1 ? c = new a.ctor(o, a.name, a.strings, this, t) : a.type === 6 && (c = new Ne(o, this, t)), this._$AV.push(c), a = s[++l];
|
661
|
-
}
|
662
|
-
n !== (a == null ? void 0 : a.index) && (o = y.nextNode(), n++);
|
663
|
-
}
|
664
|
-
return y.currentNode = S, i;
|
665
|
-
}
|
666
|
-
p(t) {
|
667
|
-
let e = 0;
|
668
|
-
for (const s of this._$AV) s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
|
669
|
-
}
|
670
|
-
}
|
671
|
-
let $t = class Xt {
|
672
|
-
get _$AU() {
|
673
|
-
var t;
|
674
|
-
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
|
675
|
-
}
|
676
|
-
constructor(t, e, s, i) {
|
677
|
-
this.type = 2, this._$AH = p, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = s, this.options = i, this._$Cv = (i == null ? void 0 : i.isConnected) ?? !0;
|
678
|
-
}
|
679
|
-
get parentNode() {
|
680
|
-
let t = this._$AA.parentNode;
|
681
|
-
const e = this._$AM;
|
682
|
-
return e !== void 0 && (t == null ? void 0 : t.nodeType) === 11 && (t = e.parentNode), t;
|
683
|
-
}
|
684
|
-
get startNode() {
|
685
|
-
return this._$AA;
|
686
|
-
}
|
687
|
-
get endNode() {
|
688
|
-
return this._$AB;
|
689
|
-
}
|
690
|
-
_$AI(t, e = this) {
|
691
|
-
t = T(this, t, e), j(t) ? t === p || t == null || t === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : t !== this._$AH && t !== U && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : xe(t) ? this.k(t) : this._(t);
|
692
|
-
}
|
693
|
-
O(t) {
|
694
|
-
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
695
|
-
}
|
696
|
-
T(t) {
|
697
|
-
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
698
|
-
}
|
699
|
-
_(t) {
|
700
|
-
this._$AH !== p && j(this._$AH) ? this._$AA.nextSibling.data = t : this.T(S.createTextNode(t)), this._$AH = t;
|
701
|
-
}
|
702
|
-
$(t) {
|
703
|
-
var e;
|
704
|
-
const { values: s, _$litType$: i } = t, o = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = ot.createElement(Gt(i.h, i.h[0]), this.options)), i);
|
705
|
-
if (((e = this._$AH) == null ? void 0 : e._$AD) === o) this._$AH.p(s);
|
706
|
-
else {
|
707
|
-
const n = new Ue(o, this), l = n.u(this.options);
|
708
|
-
n.p(s), this.T(l), this._$AH = n;
|
709
|
-
}
|
710
|
-
}
|
711
|
-
_$AC(t) {
|
712
|
-
let e = Nt.get(t.strings);
|
713
|
-
return e === void 0 && Nt.set(t.strings, e = new ot(t)), e;
|
714
|
-
}
|
715
|
-
k(t) {
|
716
|
-
pt(this._$AH) || (this._$AH = [], this._$AR());
|
717
|
-
const e = this._$AH;
|
718
|
-
let s, i = 0;
|
719
|
-
for (const o of t) i === e.length ? e.push(s = new Xt(this.O(D()), this.O(D()), this, this.options)) : s = e[i], s._$AI(o), i++;
|
720
|
-
i < e.length && (this._$AR(s && s._$AB.nextSibling, i), e.length = i);
|
721
|
-
}
|
722
|
-
_$AR(t = this._$AA.nextSibling, e) {
|
723
|
-
var s;
|
724
|
-
for ((s = this._$AP) == null ? void 0 : s.call(this, !1, !0, e); t && t !== this._$AB; ) {
|
725
|
-
const i = t.nextSibling;
|
726
|
-
t.remove(), t = i;
|
727
|
-
}
|
728
|
-
}
|
729
|
-
setConnected(t) {
|
730
|
-
var e;
|
731
|
-
this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
|
732
|
-
}
|
733
|
-
}, Y = class {
|
734
|
-
get tagName() {
|
735
|
-
return this.element.tagName;
|
736
|
-
}
|
737
|
-
get _$AU() {
|
738
|
-
return this._$AM._$AU;
|
739
|
-
}
|
740
|
-
constructor(t, e, s, i, o) {
|
741
|
-
this.type = 1, this._$AH = p, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = o, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = p;
|
742
|
-
}
|
743
|
-
_$AI(t, e = this, s, i) {
|
744
|
-
const o = this.strings;
|
745
|
-
let n = !1;
|
746
|
-
if (o === void 0) t = T(this, t, e, 0), n = !j(t) || t !== this._$AH && t !== U, n && (this._$AH = t);
|
747
|
-
else {
|
748
|
-
const l = t;
|
749
|
-
let a, c;
|
750
|
-
for (t = o[0], a = 0; a < o.length - 1; a++) c = T(this, l[s + a], e, a), c === U && (c = this._$AH[a]), n || (n = !j(c) || c !== this._$AH[a]), c === p ? t = p : t !== p && (t += (c ?? "") + o[a + 1]), this._$AH[a] = c;
|
751
|
-
}
|
752
|
-
n && !i && this.j(t);
|
753
|
-
}
|
754
|
-
j(t) {
|
755
|
-
t === p ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
756
|
-
}
|
757
|
-
};
|
758
|
-
class Te extends Y {
|
759
|
-
constructor() {
|
760
|
-
super(...arguments), this.type = 3;
|
761
|
-
}
|
762
|
-
j(t) {
|
763
|
-
this.element[this.name] = t === p ? void 0 : t;
|
764
|
-
}
|
765
|
-
}
|
766
|
-
class Oe extends Y {
|
767
|
-
constructor() {
|
768
|
-
super(...arguments), this.type = 4;
|
769
|
-
}
|
770
|
-
j(t) {
|
771
|
-
this.element.toggleAttribute(this.name, !!t && t !== p);
|
772
|
-
}
|
773
|
-
}
|
774
|
-
class Me extends Y {
|
775
|
-
constructor(t, e, s, i, o) {
|
776
|
-
super(t, e, s, i, o), this.type = 5;
|
777
|
-
}
|
778
|
-
_$AI(t, e = this) {
|
779
|
-
if ((t = T(this, t, e, 0) ?? p) === U) return;
|
780
|
-
const s = this._$AH, i = t === p && s !== p || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, o = t !== p && (s === p || i);
|
781
|
-
i && this.element.removeEventListener(this.name, this, s), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
782
|
-
}
|
783
|
-
handleEvent(t) {
|
784
|
-
var e;
|
785
|
-
typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
|
786
|
-
}
|
787
|
-
}
|
788
|
-
class Ne {
|
789
|
-
constructor(t, e, s) {
|
790
|
-
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
|
791
|
-
}
|
792
|
-
get _$AU() {
|
793
|
-
return this._$AM._$AU;
|
794
|
-
}
|
795
|
-
_$AI(t) {
|
796
|
-
T(this, t);
|
797
|
-
}
|
798
|
-
}
|
799
|
-
const Ht = G.litHtmlPolyfillSupport;
|
800
|
-
Ht == null || Ht(ot, $t), (G.litHtmlVersions ?? (G.litHtmlVersions = [])).push("3.2.1");
|
801
|
-
const He = (r, t, e) => {
|
802
|
-
const s = (e == null ? void 0 : e.renderBefore) ?? t;
|
803
|
-
let i = s._$litPart$;
|
804
|
-
if (i === void 0) {
|
805
|
-
const o = (e == null ? void 0 : e.renderBefore) ?? null;
|
806
|
-
s._$litPart$ = i = new $t(t.insertBefore(D(), o), o, void 0, e ?? {});
|
807
|
-
}
|
808
|
-
return i._$AI(r), i;
|
809
|
-
};
|
810
|
-
/**
|
811
|
-
* @license
|
812
|
-
* Copyright 2017 Google LLC
|
813
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
814
|
-
*/
|
815
|
-
let I = class extends C {
|
816
|
-
constructor() {
|
817
|
-
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
818
|
-
}
|
819
|
-
createRenderRoot() {
|
820
|
-
var t;
|
821
|
-
const e = super.createRenderRoot();
|
822
|
-
return (t = this.renderOptions).renderBefore ?? (t.renderBefore = e.firstChild), e;
|
823
|
-
}
|
824
|
-
update(t) {
|
825
|
-
const e = this.render();
|
826
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = He(e, this.renderRoot, this.renderOptions);
|
827
|
-
}
|
828
|
-
connectedCallback() {
|
829
|
-
var t;
|
830
|
-
super.connectedCallback(), (t = this._$Do) == null || t.setConnected(!0);
|
831
|
-
}
|
832
|
-
disconnectedCallback() {
|
833
|
-
var t;
|
834
|
-
super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
|
835
|
-
}
|
836
|
-
render() {
|
837
|
-
return U;
|
838
|
-
}
|
839
|
-
};
|
840
|
-
var Rt;
|
841
|
-
I._$litElement$ = !0, I.finalized = !0, (Rt = globalThis.litElementHydrateSupport) == null || Rt.call(globalThis, { LitElement: I });
|
842
|
-
const kt = globalThis.litElementPolyfillSupport;
|
843
|
-
kt == null || kt({ LitElement: I });
|
844
|
-
(globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
|
845
|
-
/**
|
846
|
-
* @license
|
847
|
-
* Copyright 2017 Google LLC
|
848
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
849
|
-
*/
|
850
|
-
const Re = { attribute: !0, type: String, converter: J, reflect: !1, hasChanged: ut }, ke = (r = Re, t, e) => {
|
851
|
-
const { kind: s, metadata: i } = e;
|
852
|
-
let o = globalThis.litPropertyMetadata.get(i);
|
853
|
-
if (o === void 0 && globalThis.litPropertyMetadata.set(i, o = /* @__PURE__ */ new Map()), o.set(e.name, r), s === "accessor") {
|
854
|
-
const { name: n } = e;
|
855
|
-
return { set(l) {
|
856
|
-
const a = t.get.call(this);
|
857
|
-
t.set.call(this, l), this.requestUpdate(n, a, r);
|
858
|
-
}, init(l) {
|
859
|
-
return l !== void 0 && this.P(n, void 0, r), l;
|
860
|
-
} };
|
861
|
-
}
|
862
|
-
if (s === "setter") {
|
863
|
-
const { name: n } = e;
|
864
|
-
return function(l) {
|
865
|
-
const a = this[n];
|
866
|
-
t.call(this, l), this.requestUpdate(n, a, r);
|
867
|
-
};
|
868
|
-
}
|
869
|
-
throw Error("Unsupported decorator location: " + s);
|
870
|
-
};
|
871
|
-
function ft(r) {
|
872
|
-
return (t, e) => typeof e == "object" ? ke(r, t, e) : ((s, i, o) => {
|
873
|
-
const n = i.hasOwnProperty(o);
|
874
|
-
return i.constructor.createProperty(o, n ? { ...s, wrapped: !0 } : s), n ? Object.getOwnPropertyDescriptor(i, o) : void 0;
|
875
|
-
})(r, t, e);
|
876
|
-
}
|
877
|
-
const at = /* @__PURE__ */ new Set(), Ie = () => {
|
878
|
-
const r = document.documentElement.dir === "rtl" ? document.documentElement.dir : "ltr";
|
879
|
-
at.forEach((t) => {
|
880
|
-
t.setAttribute("dir", r);
|
881
|
-
});
|
882
|
-
}, Le = new MutationObserver(Ie);
|
883
|
-
Le.observe(document.documentElement, {
|
884
|
-
attributes: !0,
|
885
|
-
attributeFilter: ["dir"]
|
886
|
-
});
|
887
|
-
const De = (r) => r.startManagingContentDirection !== void 0 || r.tagName === "LUZMO-THEME";
|
888
|
-
function je(r) {
|
889
|
-
class t extends r {
|
890
|
-
/**
|
891
|
-
* @private
|
892
|
-
*/
|
893
|
-
get isLTR() {
|
894
|
-
return this.dir === "ltr";
|
895
|
-
}
|
896
|
-
hasVisibleFocusInTree() {
|
897
|
-
const s = ((i = document) => {
|
898
|
-
var o;
|
899
|
-
let n = i.activeElement;
|
900
|
-
for (; n != null && n.shadowRoot && n.shadowRoot.activeElement; )
|
901
|
-
n = n.shadowRoot.activeElement;
|
902
|
-
const l = n ? [n] : [];
|
903
|
-
for (; n; ) {
|
904
|
-
const a = n.assignedSlot || n.parentElement || ((o = n.getRootNode()) == null ? void 0 : o.host);
|
905
|
-
a && l.push(a), n = a;
|
906
|
-
}
|
907
|
-
return l;
|
908
|
-
})(this.getRootNode())[0];
|
909
|
-
if (!s)
|
910
|
-
return !1;
|
911
|
-
try {
|
912
|
-
return s.matches(":focus-visible") || s.matches(".focus-visible");
|
913
|
-
} catch {
|
914
|
-
return s.matches(".focus-visible");
|
915
|
-
}
|
916
|
-
}
|
917
|
-
connectedCallback() {
|
918
|
-
if (!this.hasAttribute("dir")) {
|
919
|
-
let s = this.assignedSlot || this.parentNode;
|
920
|
-
for (; s !== document.documentElement && !De(s); )
|
921
|
-
s = s.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
922
|
-
s.parentNode || // DOM Element detected
|
923
|
-
s.host;
|
924
|
-
if (this.dir = s.dir === "rtl" ? s.dir : this.dir || "ltr", s === document.documentElement)
|
925
|
-
at.add(this);
|
926
|
-
else {
|
927
|
-
const { localName: i } = s;
|
928
|
-
i.search("-") > -1 && !customElements.get(i) ? customElements.whenDefined(i).then(() => {
|
929
|
-
s.startManagingContentDirection(this);
|
930
|
-
}) : s.startManagingContentDirection(this);
|
931
|
-
}
|
932
|
-
this._dirParent = s;
|
933
|
-
}
|
934
|
-
super.connectedCallback();
|
935
|
-
}
|
936
|
-
disconnectedCallback() {
|
937
|
-
super.disconnectedCallback(), this._dirParent && (this._dirParent === document.documentElement ? at.delete(this) : this._dirParent.stopManagingContentDirection(this), this.removeAttribute("dir"));
|
938
|
-
}
|
939
|
-
}
|
940
|
-
return t;
|
941
|
-
}
|
942
|
-
class ze extends je(I) {
|
943
|
-
}
|
944
|
-
/**
|
945
|
-
* @license
|
946
|
-
* Copyright 2017 Google LLC
|
947
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
948
|
-
*/
|
949
|
-
const L = globalThis, X = L.trustedTypes, It = X ? X.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, Yt = "$lit$", A = `lit$${Math.random().toFixed(9).slice(2)}$`, te = "?" + A, Be = `<${te}>`, w = document, z = () => w.createComment(""), B = (r) => r === null || typeof r != "object" && typeof r != "function", mt = Array.isArray, Fe = (r) => mt(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", it = `[
|
950
|
-
\f\r]`, H = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Lt = /-->/g, Dt = />/g, v = RegExp(`>|${it}(?:([^\\s"'>=/]+)(${it}*=${it}*(?:[^
|
951
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), jt = /'/g, zt = /"/g, ee = /^(?:script|style|textarea|title)$/i, se = (r) => (t, ...e) => ({ _$litType$: r, strings: t, values: e }), ls = se(1), hs = se(2), O = Symbol.for("lit-noChange"), $ = Symbol.for("lit-nothing"), Bt = /* @__PURE__ */ new WeakMap(), E = w.createTreeWalker(w, 129);
|
952
|
-
function ie(r, t) {
|
953
|
-
if (!mt(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
954
|
-
return It !== void 0 ? It.createHTML(t) : t;
|
955
|
-
}
|
956
|
-
const Ve = (r, t) => {
|
957
|
-
const e = r.length - 1, s = [];
|
958
|
-
let i, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = H;
|
959
|
-
for (let l = 0; l < e; l++) {
|
960
|
-
const a = r[l];
|
961
|
-
let c, d, h = -1, u = 0;
|
962
|
-
for (; u < a.length && (n.lastIndex = u, d = n.exec(a), d !== null); ) u = n.lastIndex, n === H ? d[1] === "!--" ? n = Lt : d[1] !== void 0 ? n = Dt : d[2] !== void 0 ? (ee.test(d[2]) && (i = RegExp("</" + d[2], "g")), n = v) : d[3] !== void 0 && (n = v) : n === v ? d[0] === ">" ? (n = i ?? H, h = -1) : d[1] === void 0 ? h = -2 : (h = n.lastIndex - d[2].length, c = d[1], n = d[3] === void 0 ? v : d[3] === '"' ? zt : jt) : n === zt || n === jt ? n = v : n === Lt || n === Dt ? n = H : (n = v, i = void 0);
|
963
|
-
const f = n === v && r[l + 1].startsWith("/>") ? " " : "";
|
964
|
-
o += n === H ? a + Be : h >= 0 ? (s.push(c), a.slice(0, h) + Yt + a.slice(h) + A + f) : a + A + (h === -2 ? l : f);
|
965
|
-
}
|
966
|
-
return [ie(r, o + (r[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
|
967
|
-
};
|
968
|
-
class F {
|
969
|
-
constructor({ strings: t, _$litType$: e }, s) {
|
970
|
-
let i;
|
971
|
-
this.parts = [];
|
972
|
-
let o = 0, n = 0;
|
973
|
-
const l = t.length - 1, a = this.parts, [c, d] = Ve(t, e);
|
974
|
-
if (this.el = F.createElement(c, s), E.currentNode = this.el.content, e === 2 || e === 3) {
|
975
|
-
const h = this.el.content.firstChild;
|
976
|
-
h.replaceWith(...h.childNodes);
|
977
|
-
}
|
978
|
-
for (; (i = E.nextNode()) !== null && a.length < l; ) {
|
979
|
-
if (i.nodeType === 1) {
|
980
|
-
if (i.hasAttributes()) for (const h of i.getAttributeNames()) if (h.endsWith(Yt)) {
|
981
|
-
const u = d[n++], f = i.getAttribute(h).split(A), m = /([.?@])?(.*)/.exec(u);
|
982
|
-
a.push({ type: 1, index: o, name: m[2], strings: f, ctor: m[1] === "." ? qe : m[1] === "?" ? Ke : m[1] === "@" ? Ze : tt }), i.removeAttribute(h);
|
983
|
-
} else h.startsWith(A) && (a.push({ type: 6, index: o }), i.removeAttribute(h));
|
984
|
-
if (ee.test(i.tagName)) {
|
985
|
-
const h = i.textContent.split(A), u = h.length - 1;
|
986
|
-
if (u > 0) {
|
987
|
-
i.textContent = X ? X.emptyScript : "";
|
988
|
-
for (let f = 0; f < u; f++) i.append(h[f], z()), E.nextNode(), a.push({ type: 2, index: ++o });
|
989
|
-
i.append(h[u], z());
|
990
|
-
}
|
991
|
-
}
|
992
|
-
} else if (i.nodeType === 8) if (i.data === te) a.push({ type: 2, index: o });
|
993
|
-
else {
|
994
|
-
let h = -1;
|
995
|
-
for (; (h = i.data.indexOf(A, h + 1)) !== -1; ) a.push({ type: 7, index: o }), h += A.length - 1;
|
996
|
-
}
|
997
|
-
o++;
|
998
|
-
}
|
999
|
-
}
|
1000
|
-
static createElement(t, e) {
|
1001
|
-
const s = w.createElement("template");
|
1002
|
-
return s.innerHTML = t, s;
|
1003
|
-
}
|
1004
|
-
}
|
1005
|
-
function M(r, t, e = r, s) {
|
1006
|
-
var n, l;
|
1007
|
-
if (t === O) return t;
|
1008
|
-
let i = s !== void 0 ? (n = e._$Co) == null ? void 0 : n[s] : e._$Cl;
|
1009
|
-
const o = B(t) ? void 0 : t._$litDirective$;
|
1010
|
-
return (i == null ? void 0 : i.constructor) !== o && ((l = i == null ? void 0 : i._$AO) == null || l.call(i, !1), o === void 0 ? i = void 0 : (i = new o(r), i._$AT(r, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = i : e._$Cl = i), i !== void 0 && (t = M(r, i._$AS(r, t.values), i, s)), t;
|
1011
|
-
}
|
1012
|
-
class We {
|
1013
|
-
constructor(t, e) {
|
1014
|
-
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
1015
|
-
}
|
1016
|
-
get parentNode() {
|
1017
|
-
return this._$AM.parentNode;
|
1018
|
-
}
|
1019
|
-
get _$AU() {
|
1020
|
-
return this._$AM._$AU;
|
1021
|
-
}
|
1022
|
-
u(t) {
|
1023
|
-
const { el: { content: e }, parts: s } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? w).importNode(e, !0);
|
1024
|
-
E.currentNode = i;
|
1025
|
-
let o = E.nextNode(), n = 0, l = 0, a = s[0];
|
1026
|
-
for (; a !== void 0; ) {
|
1027
|
-
if (n === a.index) {
|
1028
|
-
let c;
|
1029
|
-
a.type === 2 ? c = new V(o, o.nextSibling, this, t) : a.type === 1 ? c = new a.ctor(o, a.name, a.strings, this, t) : a.type === 6 && (c = new Je(o, this, t)), this._$AV.push(c), a = s[++l];
|
1030
|
-
}
|
1031
|
-
n !== (a == null ? void 0 : a.index) && (o = E.nextNode(), n++);
|
1032
|
-
}
|
1033
|
-
return E.currentNode = w, i;
|
1034
|
-
}
|
1035
|
-
p(t) {
|
1036
|
-
let e = 0;
|
1037
|
-
for (const s of this._$AV) s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
|
1038
|
-
}
|
1039
|
-
}
|
1040
|
-
class V {
|
1041
|
-
get _$AU() {
|
1042
|
-
var t;
|
1043
|
-
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
|
1044
|
-
}
|
1045
|
-
constructor(t, e, s, i) {
|
1046
|
-
this.type = 2, this._$AH = $, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = s, this.options = i, this._$Cv = (i == null ? void 0 : i.isConnected) ?? !0;
|
1047
|
-
}
|
1048
|
-
get parentNode() {
|
1049
|
-
let t = this._$AA.parentNode;
|
1050
|
-
const e = this._$AM;
|
1051
|
-
return e !== void 0 && (t == null ? void 0 : t.nodeType) === 11 && (t = e.parentNode), t;
|
1052
|
-
}
|
1053
|
-
get startNode() {
|
1054
|
-
return this._$AA;
|
1055
|
-
}
|
1056
|
-
get endNode() {
|
1057
|
-
return this._$AB;
|
1058
|
-
}
|
1059
|
-
_$AI(t, e = this) {
|
1060
|
-
t = M(this, t, e), B(t) ? t === $ || t == null || t === "" ? (this._$AH !== $ && this._$AR(), this._$AH = $) : t !== this._$AH && t !== O && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Fe(t) ? this.k(t) : this._(t);
|
1061
|
-
}
|
1062
|
-
O(t) {
|
1063
|
-
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
1064
|
-
}
|
1065
|
-
T(t) {
|
1066
|
-
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
1067
|
-
}
|
1068
|
-
_(t) {
|
1069
|
-
this._$AH !== $ && B(this._$AH) ? this._$AA.nextSibling.data = t : this.T(w.createTextNode(t)), this._$AH = t;
|
1070
|
-
}
|
1071
|
-
$(t) {
|
1072
|
-
var o;
|
1073
|
-
const { values: e, _$litType$: s } = t, i = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = F.createElement(ie(s.h, s.h[0]), this.options)), s);
|
1074
|
-
if (((o = this._$AH) == null ? void 0 : o._$AD) === i) this._$AH.p(e);
|
1075
|
-
else {
|
1076
|
-
const n = new We(i, this), l = n.u(this.options);
|
1077
|
-
n.p(e), this.T(l), this._$AH = n;
|
1078
|
-
}
|
1079
|
-
}
|
1080
|
-
_$AC(t) {
|
1081
|
-
let e = Bt.get(t.strings);
|
1082
|
-
return e === void 0 && Bt.set(t.strings, e = new F(t)), e;
|
1083
|
-
}
|
1084
|
-
k(t) {
|
1085
|
-
mt(this._$AH) || (this._$AH = [], this._$AR());
|
1086
|
-
const e = this._$AH;
|
1087
|
-
let s, i = 0;
|
1088
|
-
for (const o of t) i === e.length ? e.push(s = new V(this.O(z()), this.O(z()), this, this.options)) : s = e[i], s._$AI(o), i++;
|
1089
|
-
i < e.length && (this._$AR(s && s._$AB.nextSibling, i), e.length = i);
|
1090
|
-
}
|
1091
|
-
_$AR(t = this._$AA.nextSibling, e) {
|
1092
|
-
var s;
|
1093
|
-
for ((s = this._$AP) == null ? void 0 : s.call(this, !1, !0, e); t && t !== this._$AB; ) {
|
1094
|
-
const i = t.nextSibling;
|
1095
|
-
t.remove(), t = i;
|
1096
|
-
}
|
1097
|
-
}
|
1098
|
-
setConnected(t) {
|
1099
|
-
var e;
|
1100
|
-
this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
|
1101
|
-
}
|
1102
|
-
}
|
1103
|
-
class tt {
|
1104
|
-
get tagName() {
|
1105
|
-
return this.element.tagName;
|
1106
|
-
}
|
1107
|
-
get _$AU() {
|
1108
|
-
return this._$AM._$AU;
|
1109
|
-
}
|
1110
|
-
constructor(t, e, s, i, o) {
|
1111
|
-
this.type = 1, this._$AH = $, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = o, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = $;
|
1112
|
-
}
|
1113
|
-
_$AI(t, e = this, s, i) {
|
1114
|
-
const o = this.strings;
|
1115
|
-
let n = !1;
|
1116
|
-
if (o === void 0) t = M(this, t, e, 0), n = !B(t) || t !== this._$AH && t !== O, n && (this._$AH = t);
|
1117
|
-
else {
|
1118
|
-
const l = t;
|
1119
|
-
let a, c;
|
1120
|
-
for (t = o[0], a = 0; a < o.length - 1; a++) c = M(this, l[s + a], e, a), c === O && (c = this._$AH[a]), n || (n = !B(c) || c !== this._$AH[a]), c === $ ? t = $ : t !== $ && (t += (c ?? "") + o[a + 1]), this._$AH[a] = c;
|
1121
|
-
}
|
1122
|
-
n && !i && this.j(t);
|
1123
|
-
}
|
1124
|
-
j(t) {
|
1125
|
-
t === $ ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
1126
|
-
}
|
1127
|
-
}
|
1128
|
-
class qe extends tt {
|
1129
|
-
constructor() {
|
1130
|
-
super(...arguments), this.type = 3;
|
1131
|
-
}
|
1132
|
-
j(t) {
|
1133
|
-
this.element[this.name] = t === $ ? void 0 : t;
|
1134
|
-
}
|
1135
|
-
}
|
1136
|
-
class Ke extends tt {
|
1137
|
-
constructor() {
|
1138
|
-
super(...arguments), this.type = 4;
|
1139
|
-
}
|
1140
|
-
j(t) {
|
1141
|
-
this.element.toggleAttribute(this.name, !!t && t !== $);
|
1142
|
-
}
|
1143
|
-
}
|
1144
|
-
class Ze extends tt {
|
1145
|
-
constructor(t, e, s, i, o) {
|
1146
|
-
super(t, e, s, i, o), this.type = 5;
|
1147
|
-
}
|
1148
|
-
_$AI(t, e = this) {
|
1149
|
-
if ((t = M(this, t, e, 0) ?? $) === O) return;
|
1150
|
-
const s = this._$AH, i = t === $ && s !== $ || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, o = t !== $ && (s === $ || i);
|
1151
|
-
i && this.element.removeEventListener(this.name, this, s), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
1152
|
-
}
|
1153
|
-
handleEvent(t) {
|
1154
|
-
var e;
|
1155
|
-
typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
|
1156
|
-
}
|
1157
|
-
}
|
1158
|
-
class Je {
|
1159
|
-
constructor(t, e, s) {
|
1160
|
-
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
|
1161
|
-
}
|
1162
|
-
get _$AU() {
|
1163
|
-
return this._$AM._$AU;
|
1164
|
-
}
|
1165
|
-
_$AI(t) {
|
1166
|
-
M(this, t);
|
1167
|
-
}
|
1168
|
-
}
|
1169
|
-
const rt = L.litHtmlPolyfillSupport;
|
1170
|
-
rt == null || rt(F, V), (L.litHtmlVersions ?? (L.litHtmlVersions = [])).push("3.2.1");
|
1171
|
-
const Ge = (r, t, e) => {
|
1172
|
-
const s = (e == null ? void 0 : e.renderBefore) ?? t;
|
1173
|
-
let i = s._$litPart$;
|
1174
|
-
if (i === void 0) {
|
1175
|
-
const o = (e == null ? void 0 : e.renderBefore) ?? null;
|
1176
|
-
s._$litPart$ = i = new V(t.insertBefore(z(), o), o, void 0, e ?? {});
|
1177
|
-
}
|
1178
|
-
return i._$AI(r), i;
|
1179
|
-
};
|
1180
|
-
/*! * Lucero - The design system for Luzmo.
|
1181
|
-
*
|
1182
|
-
* Copyright © 2025 Luzmo
|
1183
|
-
* All rights reserved.
|
1184
|
-
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
1185
|
-
* This license allows users with a current active Luzmo account to use Lucero.
|
1186
|
-
* This license terminates automatically if a user no longer has an active Luzmo account.
|
1187
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
1188
|
-
*
|
1189
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
1190
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
1191
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
1192
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
1193
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
1194
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
1195
|
-
* SOFTWARE.
|
1196
|
-
* */
|
1197
|
-
let lt = !0;
|
1198
|
-
try {
|
1199
|
-
document.body.querySelector(":focus-visible");
|
1200
|
-
} catch {
|
1201
|
-
lt = !1, Promise.resolve().then(() => Qe);
|
1202
|
-
}
|
1203
|
-
const re = (r) => {
|
1204
|
-
var t, e;
|
1205
|
-
const s = (n) => {
|
1206
|
-
if (n.shadowRoot == null || Object.hasOwn(n.dataset, "jsFocusVisible"))
|
1207
|
-
return () => {
|
1208
|
-
};
|
1209
|
-
if (self.applyFocusVisiblePolyfill)
|
1210
|
-
self.applyFocusVisiblePolyfill(n.shadowRoot), n.manageAutoFocus && n.manageAutoFocus();
|
1211
|
-
else {
|
1212
|
-
const l = () => {
|
1213
|
-
self.applyFocusVisiblePolyfill && n.shadowRoot && self.applyFocusVisiblePolyfill(n.shadowRoot), n.manageAutoFocus && n.manageAutoFocus();
|
1214
|
-
};
|
1215
|
-
return self.addEventListener(
|
1216
|
-
"focus-visible-polyfill-ready",
|
1217
|
-
l,
|
1218
|
-
{ once: !0 }
|
1219
|
-
), () => {
|
1220
|
-
self.removeEventListener(
|
1221
|
-
"focus-visible-polyfill-ready",
|
1222
|
-
l
|
1223
|
-
);
|
1224
|
-
};
|
1225
|
-
}
|
1226
|
-
return () => {
|
1227
|
-
};
|
1228
|
-
}, i = Symbol("endPolyfillCoordination");
|
1229
|
-
class o extends (e = r, t = i, e) {
|
1230
|
-
constructor() {
|
1231
|
-
super(...arguments), this[t] = null;
|
1232
|
-
}
|
1233
|
-
// Attempt to coordinate with the polyfill when connected to the
|
1234
|
-
// document:
|
1235
|
-
connectedCallback() {
|
1236
|
-
super.connectedCallback && super.connectedCallback(), lt || requestAnimationFrame(() => {
|
1237
|
-
this[i] == null && (this[i] = s(this));
|
1238
|
-
});
|
1239
|
-
}
|
1240
|
-
disconnectedCallback() {
|
1241
|
-
super.disconnectedCallback && super.disconnectedCallback(), lt || requestAnimationFrame(() => {
|
1242
|
-
this[i] != null && (this[i](), this[i] = null);
|
1243
|
-
});
|
1244
|
-
}
|
1245
|
-
}
|
1246
|
-
return o;
|
1247
|
-
}, Qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
1248
|
-
__proto__: null,
|
1249
|
-
FocusVisiblePolyfillMixin: re
|
1250
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
1251
|
-
/*! * Lucero - The design system for Luzmo.
|
1252
|
-
*
|
1253
|
-
* Copyright © 2025 Luzmo
|
1254
|
-
* All rights reserved.
|
1255
|
-
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
1256
|
-
* This license allows users with a current active Luzmo account to use Lucero.
|
1257
|
-
* This license terminates automatically if a user no longer has an active Luzmo account.
|
1258
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
1259
|
-
*
|
1260
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
1261
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
1262
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
1263
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
1264
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
1265
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
1266
|
-
* SOFTWARE.
|
1267
|
-
* */
|
1268
|
-
var Xe = Object.defineProperty, Ye = Object.getOwnPropertyDescriptor, _t = (r, t, e, s) => {
|
1269
|
-
for (var i = s > 1 ? void 0 : s ? Ye(t, e) : t, o = r.length - 1, n; o >= 0; o--)
|
1270
|
-
(n = r[o]) && (i = (s ? n(t, e, i) : n(i)) || i);
|
1271
|
-
return s && i && Xe(t, e, i), i;
|
1272
|
-
};
|
1273
|
-
function Ft() {
|
1274
|
-
return new Promise((r) => requestAnimationFrame(() => r()));
|
1275
|
-
}
|
1276
|
-
let At = class extends re(ze) {
|
1277
|
-
constructor() {
|
1278
|
-
super(...arguments), this.disabled = !1, this.autofocus = !1, this._tabIndex = 0, this.manipulatingTabindex = !1, this.autofocusReady = Promise.resolve();
|
1279
|
-
}
|
1280
|
-
get tabIndex() {
|
1281
|
-
if (this.focusElement === this) {
|
1282
|
-
const e = this.hasAttribute("tabindex") ? Number(this.getAttribute("tabindex")) : Number.NaN;
|
1283
|
-
return Number.isNaN(e) ? -1 : e;
|
1284
|
-
}
|
1285
|
-
const t = Number.parseFloat(
|
1286
|
-
this.hasAttribute("tabindex") && this.getAttribute("tabindex") || "0"
|
1287
|
-
);
|
1288
|
-
return this.disabled || t < 0 ? -1 : this.focusElement ? this._tabIndex : t;
|
1289
|
-
}
|
1290
|
-
set tabIndex(t) {
|
1291
|
-
var e;
|
1292
|
-
if (this.manipulatingTabindex) {
|
1293
|
-
this.manipulatingTabindex = !1;
|
1294
|
-
return;
|
1295
|
-
}
|
1296
|
-
if (this.focusElement === this) {
|
1297
|
-
if (this.disabled)
|
1298
|
-
this._tabIndex = t;
|
1299
|
-
else if (t !== this._tabIndex) {
|
1300
|
-
this._tabIndex = t;
|
1301
|
-
const s = "" + t;
|
1302
|
-
this.manipulatingTabindex = !0, this.setAttribute("tabindex", s);
|
1303
|
-
}
|
1304
|
-
return;
|
1305
|
-
}
|
1306
|
-
if (t === -1 ? this.addEventListener(
|
1307
|
-
"pointerdown",
|
1308
|
-
this.onPointerdownManagementOfTabIndex
|
1309
|
-
) : (this.manipulatingTabindex = !0, this.removeEventListener(
|
1310
|
-
"pointerdown",
|
1311
|
-
this.onPointerdownManagementOfTabIndex
|
1312
|
-
)), t === -1 || this.disabled) {
|
1313
|
-
if (this.manipulatingTabindex = !0, this.setAttribute("tabindex", "-1"), this.removeAttribute("focusable"), this.selfManageFocusElement)
|
1314
|
-
return;
|
1315
|
-
t === -1 ? (e = this.focusElement) == null || e.removeAttribute("tabindex") : (this._tabIndex = t, this.manageFocusElementTabindex(t));
|
1316
|
-
return;
|
1317
|
-
}
|
1318
|
-
this.setAttribute("focusable", ""), this.hasAttribute("tabindex") ? this.removeAttribute("tabindex") : this.manipulatingTabindex = !1, this._tabIndex = t, this.manageFocusElementTabindex(t);
|
1319
|
-
}
|
1320
|
-
onPointerdownManagementOfTabIndex() {
|
1321
|
-
this.tabIndex === -1 && setTimeout(() => {
|
1322
|
-
this.tabIndex = 0, this.focus({ preventScroll: !0 }), this.tabIndex = -1;
|
1323
|
-
});
|
1324
|
-
}
|
1325
|
-
async manageFocusElementTabindex(t) {
|
1326
|
-
this.focusElement || await this.updateComplete, t === null ? this.focusElement.removeAttribute("tabindex") : this.focusElement !== this && (this.focusElement.tabIndex = t);
|
1327
|
-
}
|
1328
|
-
/**
|
1329
|
-
* @private
|
1330
|
-
*/
|
1331
|
-
get focusElement() {
|
1332
|
-
throw new Error("Must implement focusElement getter!");
|
1333
|
-
}
|
1334
|
-
/**
|
1335
|
-
* @public
|
1336
|
-
* @returns whether the component should manage its focusElement tab-index or not
|
1337
|
-
* Needed for action-menu to be supported in action-group in an accessible way
|
1338
|
-
*/
|
1339
|
-
get selfManageFocusElement() {
|
1340
|
-
return !1;
|
1341
|
-
}
|
1342
|
-
focus(t) {
|
1343
|
-
this.disabled || !this.focusElement || (this.focusElement === this ? Reflect.apply(HTMLElement.prototype.focus, this, [t]) : this.focusElement.focus(t));
|
1344
|
-
}
|
1345
|
-
blur() {
|
1346
|
-
const t = this.focusElement || this;
|
1347
|
-
t === this ? HTMLElement.prototype.blur.apply(this) : t.blur();
|
1348
|
-
}
|
1349
|
-
click() {
|
1350
|
-
if (this.disabled)
|
1351
|
-
return;
|
1352
|
-
const t = this.focusElement || this;
|
1353
|
-
t === this ? HTMLElement.prototype.click.apply(this) : t.click();
|
1354
|
-
}
|
1355
|
-
manageAutoFocus() {
|
1356
|
-
this.autofocus && (this.dispatchEvent(
|
1357
|
-
new KeyboardEvent("keydown", {
|
1358
|
-
code: "Tab"
|
1359
|
-
})
|
1360
|
-
), this.focusElement.focus());
|
1361
|
-
}
|
1362
|
-
firstUpdated(t) {
|
1363
|
-
super.firstUpdated(t), (!this.hasAttribute("tabindex") || this.getAttribute("tabindex") !== "-1") && this.setAttribute("focusable", "");
|
1364
|
-
}
|
1365
|
-
update(t) {
|
1366
|
-
t.has("disabled") && this.handleDisabledChanged(
|
1367
|
-
this.disabled,
|
1368
|
-
t.get("disabled")
|
1369
|
-
), super.update(t);
|
1370
|
-
}
|
1371
|
-
updated(t) {
|
1372
|
-
super.updated(t), t.has("disabled") && this.disabled && this.blur();
|
1373
|
-
}
|
1374
|
-
async handleDisabledChanged(t, e) {
|
1375
|
-
const s = () => this.focusElement !== this && this.focusElement.disabled !== void 0;
|
1376
|
-
t ? (this.manipulatingTabindex = !0, this.setAttribute("tabindex", "-1"), await this.updateComplete, s() ? this.focusElement.disabled = !0 : this.setAttribute("aria-disabled", "true")) : e && (this.manipulatingTabindex = !0, this.focusElement === this ? this.setAttribute("tabindex", "" + this._tabIndex) : this.removeAttribute("tabindex"), await this.updateComplete, s() ? this.focusElement.disabled = !1 : this.removeAttribute("aria-disabled"));
|
1377
|
-
}
|
1378
|
-
async getUpdateComplete() {
|
1379
|
-
const t = await super.getUpdateComplete();
|
1380
|
-
return await this.autofocusReady, t;
|
1381
|
-
}
|
1382
|
-
connectedCallback() {
|
1383
|
-
super.connectedCallback(), this.autofocus && (this.autofocusReady = new Promise(async (t) => {
|
1384
|
-
await Ft(), await Ft(), t();
|
1385
|
-
}), this.updateComplete.then(() => {
|
1386
|
-
this.manageAutoFocus();
|
1387
|
-
}));
|
1388
|
-
}
|
1389
|
-
};
|
1390
|
-
_t([
|
1391
|
-
ft({ type: Boolean, reflect: !0 })
|
1392
|
-
], At.prototype, "disabled", 2);
|
1393
|
-
_t([
|
1394
|
-
ft({ type: Boolean })
|
1395
|
-
], At.prototype, "autofocus", 2);
|
1396
|
-
_t([
|
1397
|
-
ft({ type: Number })
|
1398
|
-
], At.prototype, "tabIndex", 1);
|
1399
|
-
/**
|
1400
|
-
* @license
|
1401
|
-
* Copyright 2017 Google LLC
|
1402
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
1403
|
-
*/
|
1404
|
-
let K = class extends x {
|
1405
|
-
constructor() {
|
1406
|
-
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
1407
|
-
}
|
1408
|
-
createRenderRoot() {
|
1409
|
-
var e;
|
1410
|
-
const t = super.createRenderRoot();
|
1411
|
-
return (e = this.renderOptions).renderBefore ?? (e.renderBefore = t.firstChild), t;
|
1412
|
-
}
|
1413
|
-
update(t) {
|
1414
|
-
const e = this.render();
|
1415
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Ge(e, this.renderRoot, this.renderOptions);
|
1416
|
-
}
|
1417
|
-
connectedCallback() {
|
1418
|
-
var t;
|
1419
|
-
super.connectedCallback(), (t = this._$Do) == null || t.setConnected(!0);
|
1420
|
-
}
|
1421
|
-
disconnectedCallback() {
|
1422
|
-
var t;
|
1423
|
-
super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
|
1424
|
-
}
|
1425
|
-
render() {
|
1426
|
-
return O;
|
1427
|
-
}
|
1428
|
-
};
|
1429
|
-
var Vt;
|
1430
|
-
K._$litElement$ = !0, K.finalized = !0, (Vt = globalThis.litElementHydrateSupport) == null || Vt.call(globalThis, { LitElement: K });
|
1431
|
-
const nt = globalThis.litElementPolyfillSupport;
|
1432
|
-
nt == null || nt({ LitElement: K });
|
1433
|
-
(globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
|
1434
|
-
/**
|
1435
|
-
* @license
|
1436
|
-
* Copyright 2017 Google LLC
|
1437
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
1438
|
-
*/
|
1439
|
-
const ts = { attribute: !0, type: String, converter: Z, reflect: !1, hasChanged: ct }, es = (r = ts, t, e) => {
|
1440
|
-
const { kind: s, metadata: i } = e;
|
1441
|
-
let o = globalThis.litPropertyMetadata.get(i);
|
1442
|
-
if (o === void 0 && globalThis.litPropertyMetadata.set(i, o = /* @__PURE__ */ new Map()), o.set(e.name, r), s === "accessor") {
|
1443
|
-
const { name: n } = e;
|
1444
|
-
return { set(l) {
|
1445
|
-
const a = t.get.call(this);
|
1446
|
-
t.set.call(this, l), this.requestUpdate(n, a, r);
|
1447
|
-
}, init(l) {
|
1448
|
-
return l !== void 0 && this.P(n, void 0, r), l;
|
1449
|
-
} };
|
1450
|
-
}
|
1451
|
-
if (s === "setter") {
|
1452
|
-
const { name: n } = e;
|
1453
|
-
return function(l) {
|
1454
|
-
const a = this[n];
|
1455
|
-
t.call(this, l), this.requestUpdate(n, a, r);
|
1456
|
-
};
|
1457
|
-
}
|
1458
|
-
throw Error("Unsupported decorator location: " + s);
|
1459
|
-
};
|
1460
|
-
function us(r) {
|
1461
|
-
return (t, e) => typeof e == "object" ? es(r, t, e) : ((s, i, o) => {
|
1462
|
-
const n = i.hasOwnProperty(o);
|
1463
|
-
return i.constructor.createProperty(o, n ? { ...s, wrapped: !0 } : s), n ? Object.getOwnPropertyDescriptor(i, o) : void 0;
|
1464
|
-
})(r, t, e);
|
1465
|
-
}
|
1466
|
-
export {
|
1467
|
-
$ as E,
|
1468
|
-
ns as H,
|
1469
|
-
ft as R,
|
1470
|
-
oe as a,
|
1471
|
-
hs as b,
|
1472
|
-
p as d,
|
1473
|
-
ct as f,
|
1474
|
-
me as h,
|
1475
|
-
ze as k,
|
1476
|
-
us as n,
|
1477
|
-
At as r,
|
1478
|
-
U as v,
|
1479
|
-
He as w,
|
1480
|
-
ls as x
|
1481
|
-
};
|