@luzmo/analytics-components-kit 1.0.1-alpha.5 → 1.0.1-alpha.7
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-FGzMycjH-Bgeca09f.js → async-directive-DWRUSKKF-CmOVMf6V.js} +1 -1
- package/components/{async-directive-FGzMycjH-CeG35vZ3.cjs → async-directive-DWRUSKKF-D4itZyzc.cjs} +3 -3
- package/components/{button-base-CDLQV7Vk-BXgdcJZo.cjs → button-base-B7v4eeRh-BKKUK3x0.cjs} +4 -4
- package/components/{button-base-CDLQV7Vk-C_3zTrbV.js → button-base-B7v4eeRh-D3-GH03o.js} +3 -3
- package/components/{checkbox-mixin-DXUIwtea-wiCZr_KI.js → checkbox-mixin-BFGTmw17-C34LMsgu.js} +6 -6
- package/components/{checkbox-mixin-DXUIwtea-DNISZS47.cjs → checkbox-mixin-BFGTmw17-CCjGd0nS.cjs} +4 -4
- package/components/{directive-helpers-BLDZnGQv-DYFfxaqA.cjs → directive-helpers-nlQRAaQt-3kEWF2GV.cjs} +2 -2
- package/components/{directive-helpers-BLDZnGQv-oKMCBvb2.js → directive-helpers-nlQRAaQt-I6T4KZKW.js} +10 -10
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +11 -11
- package/components/display-settings-binning/display-settings-binning.d.ts +2 -2
- package/components/display-settings-binning/index.cjs +4 -4
- package/components/display-settings-binning/index.js +20 -21
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +1 -1
- package/components/display-settings-grand-totals/index.cjs +1 -1
- package/components/display-settings-grand-totals/index.js +8 -8
- package/components/display-settings-numeric/index.cjs +1 -1
- package/components/display-settings-numeric/index.js +12 -12
- package/components/display-settings-period-over-period/index.cjs +5 -5
- package/components/display-settings-period-over-period/index.js +85 -85
- package/components/draggable-data-item/index.cjs +2 -2
- package/components/draggable-data-item/index.js +2 -2
- package/components/draggable-data-item-level/index.cjs +2 -2
- package/components/draggable-data-item-level/index.js +16 -16
- package/components/droppable-slot/index.cjs +2 -2
- package/components/droppable-slot/index.js +8 -8
- package/components/edit-item/index.cjs +6 -6
- package/components/edit-item/index.js +72 -72
- package/components/edit-option/index.cjs +3 -3
- package/components/edit-option/index.js +3 -3
- 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-DnrerC_T.cjs → edit-option-base-Boz7TNRZ.cjs} +2 -2
- package/components/{edit-option-base-oIvlolV9.js → edit-option-base-qePiIQWd.js} +4 -4
- package/components/edit-option-color-picker/index.cjs +33 -33
- package/components/edit-option-color-picker/index.js +124 -124
- 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 +1 -1
- package/components/edit-option-number-field/index.js +3 -3
- package/components/edit-option-picker/index.cjs +1 -1
- package/components/edit-option-picker/index.js +4 -4
- 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 +1 -1
- 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 +217 -217
- package/components/edit-option-switch/index.cjs +4 -4
- package/components/edit-option-switch/index.js +30 -30
- package/components/edit-option-text-field/index.cjs +1 -1
- package/components/edit-option-text-field/index.js +3 -3
- package/components/{en-BsAhbMzm.js → en-DMOM5QNw.js} +12 -12
- package/components/{en-GB-qub-Kemt.js → en-GB-BPwcXBDg.js} +1 -1
- package/components/{en-GB-g8rSQSba.cjs → en-GB-Cp6Zq89F.cjs} +1 -1
- package/components/{en-CdROUdjt.cjs → en-o_2c6hRN.cjs} +2 -2
- package/components/{if-defined-DMSuo5Qx.cjs → if-defined-8BOch-oC.cjs} +1 -1
- package/components/{if-defined-CYpcjGCb-tXzyj9Dq.js → if-defined-BSAr_4u4-4Ys8VE7T.js} +4 -4
- package/components/{if-defined-CYpcjGCb-Bzbg7zmM.cjs → if-defined-BSAr_4u4-gECNwmTC.cjs} +2 -2
- package/components/{if-defined-Ch2dtEOS.js → if-defined-Bv6MRdSW.js} +1 -1
- package/components/{index-gfU9TGd5.cjs → index-86cIx1Ql.cjs} +3 -3
- package/components/{index-DszPbTTD.js → index-B3ve6cAj.js} +17 -17
- package/components/{index-CkDDDzuJ.js → index-B5Wvyv9s.js} +28 -28
- package/components/{index-BD3VxQBH.js → index-BBrer3_5.js} +1 -1
- package/components/index-BJVxTeoi.cjs +192 -0
- package/components/{index-B2z7i1-X.js → index-BUSWsm5N.js} +10 -10
- package/components/{index-BqTdFs1o.js → index-BVX_ozT9.js} +3 -3
- package/components/{index-B5VaT0lQ.js → index-BYfDERr7.js} +3 -3
- package/components/{index-BGaxFTL4.js → index-Bee1uunR.js} +4 -4
- package/components/index-BrEDK88k.cjs +185 -0
- package/components/{index-C_3Ak4MQ.cjs → index-Bt5nP_6w.cjs} +5 -5
- package/components/{index-CayjvyyX.cjs → index-ByjLd3bT.cjs} +4 -4
- package/components/{index-DskAouD-.js → index-C8IL2IZ6.js} +4 -4
- package/components/{index-C2qG2Sm8-BQUlk-w0.js → index-CMvLpPKD-D5MpMVYZ.js} +14 -14
- package/components/{index-C2qG2Sm8-CbVWlbag.cjs → index-CMvLpPKD-Yf1PLWrj.cjs} +12 -12
- package/components/{index-BRk42NQn.js → index-CXIT0cYY.js} +166 -166
- package/components/{index-EQldC-LR.js → index-CdCtJpK9.js} +6 -6
- package/components/{index-B0cBkCaq.cjs → index-CdUTqQ3L.cjs} +4 -4
- package/components/{index-DQiQXn8N.cjs → index-CdpyJ7hp.cjs} +1 -1
- package/components/{index-Cp-lHUlX.js → index-CfEn3fIT.js} +3 -3
- package/components/{index-Bofs4Q2E.cjs → index-D8qmoauu.cjs} +1 -1
- package/components/{index-ON4x-yZ7.cjs → index-DEVOZNSc.cjs} +2 -2
- package/components/{index-CTPox3yS.cjs → index-DUO13KGl.cjs} +3 -3
- package/components/{index-B2N_PZf3.js → index-DVAsMiOm.js} +4 -4
- package/components/{index-DVaeDCbe.js → index-DnozlYag.js} +1 -1
- package/components/{index-liTHhAef.cjs → index-h9T5DPIm.cjs} +2 -2
- package/components/{index-3ewegRbb.cjs → index-i8GaIN7i.cjs} +4 -4
- package/components/{index-D9vzXhtJ.cjs → index-iYpAy-Kg.cjs} +6 -6
- package/components/{index-BC-nmKjU.js → index-ymMEPngt.js} +14 -14
- package/components/{index-CtHO6VyI.cjs → index-zuArOtOt.cjs} +3 -3
- package/components/index.cjs +1 -1
- package/components/index.js +1 -1
- package/components/{language-resolution-8yZa5r_P-CTSmbE1U.js → language-resolution-8yZa5r_P-Bn0bYosv.js} +3 -3
- package/components/{language-resolution-8yZa5r_P-DQ3rZzW5.cjs → language-resolution-8yZa5r_P-FqQChUDW.cjs} +3 -3
- package/components/{luzmo-icons-CZEpXpvy.js → luzmo-icons-BE2T8vWu.js} +1 -1
- package/components/{luzmo-icons-BrtBl3E5.cjs → luzmo-icons-XsFsTAl3.cjs} +1 -1
- package/components/{observe-slot-text-BG0H7bQK-CrkAqUMj.cjs → observe-slot-text-ggb4kKgY-DBVrKDBD.cjs} +4 -4
- package/components/{observe-slot-text-BG0H7bQK-C0wmc4DO.js → observe-slot-text-ggb4kKgY-o5QFWUeA.js} +4 -4
- package/components/{popover-bg0EQQ8p-Dha09dhV.cjs → popover-DlkzrLpl-BhTvuvTu.cjs} +5 -5
- package/components/{popover-bg0EQQ8p-D4-hrhIx.js → popover-DlkzrLpl-CCwcTIXr.js} +3 -3
- package/components/property-0L4eB11h.cjs +112 -0
- package/components/{property-CD3dwBJC.js → property-B2F7x7Cz.js} +581 -547
- package/components/{sized-mixin-PyCYpyQq-B40Ek2UB.js → sized-mixin-BxMraZLS-B_y0PzR3.js} +1 -1
- package/components/{sized-mixin-PyCYpyQq-sKzDjc75.cjs → sized-mixin-BxMraZLS-DEFWqo8f.cjs} +2 -2
- package/components/slot-menu/index.cjs +1 -1
- package/components/slot-menu/index.js +4 -4
- package/components/slot-menu-list/index.cjs +2 -2
- package/components/slot-menu-list/index.js +10 -10
- package/components/{state-ByiKNRhp.cjs → state-BFA93Sye.cjs} +1 -1
- package/components/{state-B1a8XIDm.js → state-Joaryhrg.js} +1 -1
- package/components/{task-HFsHfTra.cjs → task-B8yMzxui.cjs} +1 -1
- package/components/{task-BPD0PyaQ.js → task-Cr9aRIbV.js} +1 -1
- package/components/{text-field-7ITo3Lac-DqVO04kR.js → text-field-CvKSS59x-Dn0_1HO7.js} +29 -29
- package/components/text-field-CvKSS59x-E9LQElL4.cjs +131 -0
- package/package.json +1 -1
- package/components/index-Bjs6Yqet.cjs +0 -185
- package/components/index-D4x-O9Uc.cjs +0 -192
- package/components/property-Su1Q6aME.cjs +0 -124
- package/components/text-field-7ITo3Lac-CKXsSqJP.cjs +0 -131
@@ -22,10 +22,10 @@
|
|
22
22
|
* Copyright 2019 Google LLC
|
23
23
|
* SPDX-License-Identifier: BSD-3-Clause
|
24
24
|
*/
|
25
|
-
const
|
26
|
-
let
|
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
27
|
constructor(t, e, s) {
|
28
|
-
if (this._$cssResult$ = !0, s !==
|
28
|
+
if (this._$cssResult$ = !0, s !== Wt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
29
29
|
this.cssText = t, this.t = e;
|
30
30
|
}
|
31
31
|
get styleSheet() {
|
@@ -33,7 +33,7 @@ let se = class {
|
|
33
33
|
const e = this.t;
|
34
34
|
if (ht && t === void 0) {
|
35
35
|
const s = e !== void 0 && e.length === 1;
|
36
|
-
s && (t =
|
36
|
+
s && (t = gt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && gt.set(e, t));
|
37
37
|
}
|
38
38
|
return t;
|
39
39
|
}
|
@@ -41,51 +41,51 @@ let se = class {
|
|
41
41
|
return this.cssText;
|
42
42
|
}
|
43
43
|
};
|
44
|
-
const
|
45
|
-
if (ht)
|
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
46
|
else for (const e of t) {
|
47
|
-
const s = document.createElement("style"), i =
|
48
|
-
i !== void 0 && s.setAttribute("nonce", i), s.textContent = e.cssText,
|
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
49
|
}
|
50
|
-
},
|
50
|
+
}, bt = ht ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((t) => {
|
51
51
|
let e = "";
|
52
52
|
for (const s of t.cssRules) e += s.cssText;
|
53
|
-
return
|
54
|
-
})(
|
53
|
+
return oe(e);
|
54
|
+
})(r) : r;
|
55
55
|
/**
|
56
56
|
* @license
|
57
57
|
* Copyright 2017 Google LLC
|
58
58
|
* SPDX-License-Identifier: BSD-3-Clause
|
59
59
|
*/
|
60
|
-
const { is:
|
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
61
|
switch (t) {
|
62
62
|
case Boolean:
|
63
|
-
|
63
|
+
r = r ? $e : null;
|
64
64
|
break;
|
65
65
|
case Object:
|
66
66
|
case Array:
|
67
|
-
|
67
|
+
r = r == null ? r : JSON.stringify(r);
|
68
68
|
}
|
69
|
-
return
|
70
|
-
}, fromAttribute(
|
71
|
-
let e =
|
69
|
+
return r;
|
70
|
+
}, fromAttribute(r, t) {
|
71
|
+
let e = r;
|
72
72
|
switch (t) {
|
73
73
|
case Boolean:
|
74
|
-
e =
|
74
|
+
e = r !== null;
|
75
75
|
break;
|
76
76
|
case Number:
|
77
|
-
e =
|
77
|
+
e = r === null ? null : Number(r);
|
78
78
|
break;
|
79
79
|
case Object:
|
80
80
|
case Array:
|
81
81
|
try {
|
82
|
-
e = JSON.parse(
|
82
|
+
e = JSON.parse(r);
|
83
83
|
} catch {
|
84
84
|
e = null;
|
85
85
|
}
|
86
86
|
}
|
87
87
|
return e;
|
88
|
-
} },
|
88
|
+
} }, ct = (r, t) => !le(r, t), yt = { attribute: !0, type: String, converter: Z, reflect: !1, hasChanged: ct };
|
89
89
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), g.litPropertyMetadata ?? (g.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
90
90
|
let x = class extends HTMLElement {
|
91
91
|
static addInitializer(t) {
|
@@ -97,11 +97,11 @@ let x = class extends HTMLElement {
|
|
97
97
|
static createProperty(t, e = yt) {
|
98
98
|
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
99
99
|
const s = Symbol(), i = this.getPropertyDescriptor(t, s, e);
|
100
|
-
i !== void 0 &&
|
100
|
+
i !== void 0 && he(this.prototype, t, i);
|
101
101
|
}
|
102
102
|
}
|
103
103
|
static getPropertyDescriptor(t, e, s) {
|
104
|
-
const { get: i, set:
|
104
|
+
const { get: i, set: o } = ce(this.prototype, t) ?? { get() {
|
105
105
|
return this[e];
|
106
106
|
}, set(n) {
|
107
107
|
this[e] = n;
|
@@ -109,22 +109,22 @@ let x = class extends HTMLElement {
|
|
109
109
|
return { get() {
|
110
110
|
return i == null ? void 0 : i.call(this);
|
111
111
|
}, set(n) {
|
112
|
-
const
|
113
|
-
|
112
|
+
const l = i == null ? void 0 : i.call(this);
|
113
|
+
o.call(this, n), this.requestUpdate(t, l, s);
|
114
114
|
}, configurable: !0, enumerable: !0 };
|
115
115
|
}
|
116
116
|
static getPropertyOptions(t) {
|
117
117
|
return this.elementProperties.get(t) ?? yt;
|
118
118
|
}
|
119
119
|
static _$Ei() {
|
120
|
-
if (this.hasOwnProperty(
|
121
|
-
const t =
|
120
|
+
if (this.hasOwnProperty(R("elementProperties"))) return;
|
121
|
+
const t = pe(this);
|
122
122
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
123
123
|
}
|
124
124
|
static finalize() {
|
125
|
-
if (this.hasOwnProperty(
|
126
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
127
|
-
const e = this.properties, s = [...
|
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
128
|
for (const i of s) this.createProperty(i, e[i]);
|
129
129
|
}
|
130
130
|
const t = this[Symbol.metadata];
|
@@ -143,8 +143,8 @@ let x = class extends HTMLElement {
|
|
143
143
|
const e = [];
|
144
144
|
if (Array.isArray(t)) {
|
145
145
|
const s = new Set(t.flat(1 / 0).reverse());
|
146
|
-
for (const i of s) e.unshift(
|
147
|
-
} else t !== void 0 && e.push(
|
146
|
+
for (const i of s) e.unshift(bt(i));
|
147
|
+
} else t !== void 0 && e.push(bt(t));
|
148
148
|
return e;
|
149
149
|
}
|
150
150
|
static _$Eu(t, e) {
|
@@ -173,7 +173,7 @@ let x = class extends HTMLElement {
|
|
173
173
|
}
|
174
174
|
createRenderRoot() {
|
175
175
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
176
|
-
return
|
176
|
+
return ae(t, this.constructor.elementStyles), t;
|
177
177
|
}
|
178
178
|
connectedCallback() {
|
179
179
|
var t;
|
@@ -195,24 +195,24 @@ let x = class extends HTMLElement {
|
|
195
195
|
this._$AK(t, s);
|
196
196
|
}
|
197
197
|
_$EC(t, e) {
|
198
|
-
var
|
198
|
+
var o;
|
199
199
|
const s = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, s);
|
200
200
|
if (i !== void 0 && s.reflect === !0) {
|
201
|
-
const n = (((
|
201
|
+
const n = (((o = s.converter) == null ? void 0 : o.toAttribute) !== void 0 ? s.converter : Z).toAttribute(e, s.type);
|
202
202
|
this._$Em = t, n == null ? this.removeAttribute(i) : this.setAttribute(i, n), this._$Em = null;
|
203
203
|
}
|
204
204
|
}
|
205
205
|
_$AK(t, e) {
|
206
|
-
var
|
206
|
+
var o;
|
207
207
|
const s = this.constructor, i = s._$Eh.get(t);
|
208
208
|
if (i !== void 0 && this._$Em !== i) {
|
209
|
-
const n = s.getPropertyOptions(i),
|
210
|
-
this._$Em = i, this[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
211
|
}
|
212
212
|
}
|
213
213
|
requestUpdate(t, e, s) {
|
214
214
|
if (t !== void 0) {
|
215
|
-
if (s ?? (s = this.constructor.getPropertyOptions(t)), !(s.hasChanged ??
|
215
|
+
if (s ?? (s = this.constructor.getPropertyOptions(t)), !(s.hasChanged ?? ct)(this[t], e)) return;
|
216
216
|
this.P(t, e, s);
|
217
217
|
}
|
218
218
|
this.isUpdatePending === !1 && (this._$ES = this._$ET());
|
@@ -238,18 +238,18 @@ let x = class extends HTMLElement {
|
|
238
238
|
if (!this.isUpdatePending) return;
|
239
239
|
if (!this.hasUpdated) {
|
240
240
|
if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
|
241
|
-
for (const [
|
241
|
+
for (const [o, n] of this._$Ep) this[o] = n;
|
242
242
|
this._$Ep = void 0;
|
243
243
|
}
|
244
244
|
const i = this.constructor.elementProperties;
|
245
|
-
if (i.size > 0) for (const [
|
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
246
|
}
|
247
247
|
let t = !1;
|
248
248
|
const e = this._$AL;
|
249
249
|
try {
|
250
250
|
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$EO) == null || s.forEach((i) => {
|
251
|
-
var
|
252
|
-
return (
|
251
|
+
var o;
|
252
|
+
return (o = i.hostUpdate) == null ? void 0 : o.call(i);
|
253
253
|
}), this.update(e)) : this._$EU();
|
254
254
|
} catch (i) {
|
255
255
|
throw t = !1, this._$EU(), i;
|
@@ -285,272 +285,7 @@ let x = class extends HTMLElement {
|
|
285
285
|
firstUpdated(t) {
|
286
286
|
}
|
287
287
|
};
|
288
|
-
x.elementStyles = [], x.shadowRootOptions = { mode: "open" }, x[
|
289
|
-
/**
|
290
|
-
* @license
|
291
|
-
* Copyright 2017 Google LLC
|
292
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
293
|
-
*/
|
294
|
-
const R = globalThis, q = R.trustedTypes, vt = q ? q.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, Bt = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, Vt = "?" + _, ue = `<${Vt}>`, S = document, L = () => S.createComment(""), j = (o) => o === null || typeof o != "object" && typeof o != "function", ct = Array.isArray, pe = (o) => ct(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", et = `[
|
295
|
-
\f\r]`, O = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Et = /-->/g, St = />/g, b = RegExp(`>|${et}(?:([^\\s"'>=/]+)(${et}*=${et}*(?:[^
|
296
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), wt = /'/g, xt = /"/g, Wt = /^(?:script|style|textarea|title)$/i, qt = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), Ye = qt(1), ts = qt(2), P = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), Pt = /* @__PURE__ */ new WeakMap(), v = S.createTreeWalker(S, 129);
|
297
|
-
function Kt(o, t) {
|
298
|
-
if (!ct(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
299
|
-
return vt !== void 0 ? vt.createHTML(t) : t;
|
300
|
-
}
|
301
|
-
const $e = (o, t) => {
|
302
|
-
const e = o.length - 1, s = [];
|
303
|
-
let i, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = O;
|
304
|
-
for (let h = 0; h < e; h++) {
|
305
|
-
const a = o[h];
|
306
|
-
let c, d, l = -1, u = 0;
|
307
|
-
for (; u < a.length && (n.lastIndex = u, d = n.exec(a), d !== null); ) u = n.lastIndex, n === O ? d[1] === "!--" ? n = Et : d[1] !== void 0 ? n = St : d[2] !== void 0 ? (Wt.test(d[2]) && (i = RegExp("</" + d[2], "g")), n = b) : d[3] !== void 0 && (n = b) : n === b ? d[0] === ">" ? (n = i ?? O, l = -1) : d[1] === void 0 ? l = -2 : (l = n.lastIndex - d[2].length, c = d[1], n = d[3] === void 0 ? b : d[3] === '"' ? xt : wt) : n === xt || n === wt ? n = b : n === Et || n === St ? n = O : (n = b, i = void 0);
|
308
|
-
const f = n === b && o[h + 1].startsWith("/>") ? " " : "";
|
309
|
-
r += n === O ? a + ue : l >= 0 ? (s.push(c), a.slice(0, l) + Bt + a.slice(l) + _ + f) : a + _ + (l === -2 ? h : f);
|
310
|
-
}
|
311
|
-
return [Kt(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
|
312
|
-
};
|
313
|
-
let ot = class Zt {
|
314
|
-
constructor({ strings: t, _$litType$: e }, s) {
|
315
|
-
let i;
|
316
|
-
this.parts = [];
|
317
|
-
let r = 0, n = 0;
|
318
|
-
const h = t.length - 1, a = this.parts, [c, d] = $e(t, e);
|
319
|
-
if (this.el = Zt.createElement(c, s), v.currentNode = this.el.content, e === 2 || e === 3) {
|
320
|
-
const l = this.el.content.firstChild;
|
321
|
-
l.replaceWith(...l.childNodes);
|
322
|
-
}
|
323
|
-
for (; (i = v.nextNode()) !== null && a.length < h; ) {
|
324
|
-
if (i.nodeType === 1) {
|
325
|
-
if (i.hasAttributes()) for (const l of i.getAttributeNames()) if (l.endsWith(Bt)) {
|
326
|
-
const u = d[n++], f = i.getAttribute(l).split(_), m = /([.?@])?(.*)/.exec(u);
|
327
|
-
a.push({ type: 1, index: r, name: m[2], strings: f, ctor: m[1] === "." ? me : m[1] === "?" ? _e : m[1] === "@" ? Ae : Q }), i.removeAttribute(l);
|
328
|
-
} else l.startsWith(_) && (a.push({ type: 6, index: r }), i.removeAttribute(l));
|
329
|
-
if (Wt.test(i.tagName)) {
|
330
|
-
const l = i.textContent.split(_), u = l.length - 1;
|
331
|
-
if (u > 0) {
|
332
|
-
i.textContent = q ? q.emptyScript : "";
|
333
|
-
for (let f = 0; f < u; f++) i.append(l[f], L()), v.nextNode(), a.push({ type: 2, index: ++r });
|
334
|
-
i.append(l[u], L());
|
335
|
-
}
|
336
|
-
}
|
337
|
-
} else if (i.nodeType === 8) if (i.data === Vt) a.push({ type: 2, index: r });
|
338
|
-
else {
|
339
|
-
let l = -1;
|
340
|
-
for (; (l = i.data.indexOf(_, l + 1)) !== -1; ) a.push({ type: 7, index: r }), l += _.length - 1;
|
341
|
-
}
|
342
|
-
r++;
|
343
|
-
}
|
344
|
-
}
|
345
|
-
static createElement(t, e) {
|
346
|
-
const s = S.createElement("template");
|
347
|
-
return s.innerHTML = t, s;
|
348
|
-
}
|
349
|
-
};
|
350
|
-
function C(o, t, e = o, s) {
|
351
|
-
var n, h;
|
352
|
-
if (t === P) return t;
|
353
|
-
let i = s !== void 0 ? (n = e._$Co) == null ? void 0 : n[s] : e._$Cl;
|
354
|
-
const r = j(t) ? void 0 : t._$litDirective$;
|
355
|
-
return (i == null ? void 0 : i.constructor) !== r && ((h = i == null ? void 0 : i._$AO) == null || h.call(i, !1), r === void 0 ? i = void 0 : (i = new r(o), i._$AT(o, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = i : e._$Cl = i), i !== void 0 && (t = C(o, i._$AS(o, t.values), i, s)), t;
|
356
|
-
}
|
357
|
-
let fe = class {
|
358
|
-
constructor(t, e) {
|
359
|
-
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
360
|
-
}
|
361
|
-
get parentNode() {
|
362
|
-
return this._$AM.parentNode;
|
363
|
-
}
|
364
|
-
get _$AU() {
|
365
|
-
return this._$AM._$AU;
|
366
|
-
}
|
367
|
-
u(t) {
|
368
|
-
const { el: { content: e }, parts: s } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? S).importNode(e, !0);
|
369
|
-
v.currentNode = i;
|
370
|
-
let r = v.nextNode(), n = 0, h = 0, a = s[0];
|
371
|
-
for (; a !== void 0; ) {
|
372
|
-
if (n === a.index) {
|
373
|
-
let c;
|
374
|
-
a.type === 2 ? c = new dt(r, r.nextSibling, this, t) : a.type === 1 ? c = new a.ctor(r, a.name, a.strings, this, t) : a.type === 6 && (c = new ge(r, this, t)), this._$AV.push(c), a = s[++h];
|
375
|
-
}
|
376
|
-
n !== (a == null ? void 0 : a.index) && (r = v.nextNode(), n++);
|
377
|
-
}
|
378
|
-
return v.currentNode = S, i;
|
379
|
-
}
|
380
|
-
p(t) {
|
381
|
-
let e = 0;
|
382
|
-
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++;
|
383
|
-
}
|
384
|
-
}, dt = class Jt {
|
385
|
-
get _$AU() {
|
386
|
-
var t;
|
387
|
-
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
|
388
|
-
}
|
389
|
-
constructor(t, e, s, i) {
|
390
|
-
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;
|
391
|
-
}
|
392
|
-
get parentNode() {
|
393
|
-
let t = this._$AA.parentNode;
|
394
|
-
const e = this._$AM;
|
395
|
-
return e !== void 0 && (t == null ? void 0 : t.nodeType) === 11 && (t = e.parentNode), t;
|
396
|
-
}
|
397
|
-
get startNode() {
|
398
|
-
return this._$AA;
|
399
|
-
}
|
400
|
-
get endNode() {
|
401
|
-
return this._$AB;
|
402
|
-
}
|
403
|
-
_$AI(t, e = this) {
|
404
|
-
t = C(this, t, e), j(t) ? t === p || t == null || t === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : t !== this._$AH && t !== P && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : pe(t) ? this.k(t) : this._(t);
|
405
|
-
}
|
406
|
-
O(t) {
|
407
|
-
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
408
|
-
}
|
409
|
-
T(t) {
|
410
|
-
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
411
|
-
}
|
412
|
-
_(t) {
|
413
|
-
this._$AH !== p && j(this._$AH) ? this._$AA.nextSibling.data = t : this.T(S.createTextNode(t)), this._$AH = t;
|
414
|
-
}
|
415
|
-
$(t) {
|
416
|
-
var r;
|
417
|
-
const { values: e, _$litType$: s } = t, i = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = ot.createElement(Kt(s.h, s.h[0]), this.options)), s);
|
418
|
-
if (((r = this._$AH) == null ? void 0 : r._$AD) === i) this._$AH.p(e);
|
419
|
-
else {
|
420
|
-
const n = new fe(i, this), h = n.u(this.options);
|
421
|
-
n.p(e), this.T(h), this._$AH = n;
|
422
|
-
}
|
423
|
-
}
|
424
|
-
_$AC(t) {
|
425
|
-
let e = Pt.get(t.strings);
|
426
|
-
return e === void 0 && Pt.set(t.strings, e = new ot(t)), e;
|
427
|
-
}
|
428
|
-
k(t) {
|
429
|
-
ct(this._$AH) || (this._$AH = [], this._$AR());
|
430
|
-
const e = this._$AH;
|
431
|
-
let s, i = 0;
|
432
|
-
for (const r of t) i === e.length ? e.push(s = new Jt(this.O(L()), this.O(L()), this, this.options)) : s = e[i], s._$AI(r), i++;
|
433
|
-
i < e.length && (this._$AR(s && s._$AB.nextSibling, i), e.length = i);
|
434
|
-
}
|
435
|
-
_$AR(t = this._$AA.nextSibling, e) {
|
436
|
-
var s;
|
437
|
-
for ((s = this._$AP) == null ? void 0 : s.call(this, !1, !0, e); t && t !== this._$AB; ) {
|
438
|
-
const i = t.nextSibling;
|
439
|
-
t.remove(), t = i;
|
440
|
-
}
|
441
|
-
}
|
442
|
-
setConnected(t) {
|
443
|
-
var e;
|
444
|
-
this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
|
445
|
-
}
|
446
|
-
}, Q = class {
|
447
|
-
get tagName() {
|
448
|
-
return this.element.tagName;
|
449
|
-
}
|
450
|
-
get _$AU() {
|
451
|
-
return this._$AM._$AU;
|
452
|
-
}
|
453
|
-
constructor(t, e, s, i, r) {
|
454
|
-
this.type = 1, this._$AH = p, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = r, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = p;
|
455
|
-
}
|
456
|
-
_$AI(t, e = this, s, i) {
|
457
|
-
const r = this.strings;
|
458
|
-
let n = !1;
|
459
|
-
if (r === void 0) t = C(this, t, e, 0), n = !j(t) || t !== this._$AH && t !== P, n && (this._$AH = t);
|
460
|
-
else {
|
461
|
-
const h = t;
|
462
|
-
let a, c;
|
463
|
-
for (t = r[0], a = 0; a < r.length - 1; a++) c = C(this, h[s + a], e, a), c === P && (c = this._$AH[a]), n || (n = !j(c) || c !== this._$AH[a]), c === p ? t = p : t !== p && (t += (c ?? "") + r[a + 1]), this._$AH[a] = c;
|
464
|
-
}
|
465
|
-
n && !i && this.j(t);
|
466
|
-
}
|
467
|
-
j(t) {
|
468
|
-
t === p ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
469
|
-
}
|
470
|
-
}, me = class extends Q {
|
471
|
-
constructor() {
|
472
|
-
super(...arguments), this.type = 3;
|
473
|
-
}
|
474
|
-
j(t) {
|
475
|
-
this.element[this.name] = t === p ? void 0 : t;
|
476
|
-
}
|
477
|
-
}, _e = class extends Q {
|
478
|
-
constructor() {
|
479
|
-
super(...arguments), this.type = 4;
|
480
|
-
}
|
481
|
-
j(t) {
|
482
|
-
this.element.toggleAttribute(this.name, !!t && t !== p);
|
483
|
-
}
|
484
|
-
}, Ae = class extends Q {
|
485
|
-
constructor(t, e, s, i, r) {
|
486
|
-
super(t, e, s, i, r), this.type = 5;
|
487
|
-
}
|
488
|
-
_$AI(t, e = this) {
|
489
|
-
if ((t = C(this, t, e, 0) ?? p) === P) return;
|
490
|
-
const s = this._$AH, i = t === p && s !== p || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, r = t !== p && (s === p || i);
|
491
|
-
i && this.element.removeEventListener(this.name, this, s), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
492
|
-
}
|
493
|
-
handleEvent(t) {
|
494
|
-
var e;
|
495
|
-
typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
|
496
|
-
}
|
497
|
-
}, ge = class {
|
498
|
-
constructor(t, e, s) {
|
499
|
-
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
|
500
|
-
}
|
501
|
-
get _$AU() {
|
502
|
-
return this._$AM._$AU;
|
503
|
-
}
|
504
|
-
_$AI(t) {
|
505
|
-
C(this, t);
|
506
|
-
}
|
507
|
-
};
|
508
|
-
const st = R.litHtmlPolyfillSupport;
|
509
|
-
st == null || st(ot, dt), (R.litHtmlVersions ?? (R.litHtmlVersions = [])).push("3.2.1");
|
510
|
-
const be = (o, t, e) => {
|
511
|
-
const s = (e == null ? void 0 : e.renderBefore) ?? t;
|
512
|
-
let i = s._$litPart$;
|
513
|
-
if (i === void 0) {
|
514
|
-
const r = (e == null ? void 0 : e.renderBefore) ?? null;
|
515
|
-
s._$litPart$ = i = new dt(t.insertBefore(L(), r), r, void 0, e ?? {});
|
516
|
-
}
|
517
|
-
return i._$AI(o), i;
|
518
|
-
};
|
519
|
-
/**
|
520
|
-
* @license
|
521
|
-
* Copyright 2017 Google LLC
|
522
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
523
|
-
*/
|
524
|
-
let k = class extends x {
|
525
|
-
constructor() {
|
526
|
-
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
527
|
-
}
|
528
|
-
createRenderRoot() {
|
529
|
-
var e;
|
530
|
-
const t = super.createRenderRoot();
|
531
|
-
return (e = this.renderOptions).renderBefore ?? (e.renderBefore = t.firstChild), t;
|
532
|
-
}
|
533
|
-
update(t) {
|
534
|
-
const e = this.render();
|
535
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = be(e, this.renderRoot, this.renderOptions);
|
536
|
-
}
|
537
|
-
connectedCallback() {
|
538
|
-
var t;
|
539
|
-
super.connectedCallback(), (t = this._$Do) == null || t.setConnected(!0);
|
540
|
-
}
|
541
|
-
disconnectedCallback() {
|
542
|
-
var t;
|
543
|
-
super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
|
544
|
-
}
|
545
|
-
render() {
|
546
|
-
return P;
|
547
|
-
}
|
548
|
-
};
|
549
|
-
var zt;
|
550
|
-
k._$litElement$ = !0, k.finalized = !0, (zt = globalThis.litElementHydrateSupport) == null || zt.call(globalThis, { LitElement: k });
|
551
|
-
const it = globalThis.litElementPolyfillSupport;
|
552
|
-
it == null || it({ LitElement: k });
|
553
|
-
(globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
|
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");
|
554
289
|
/*! * Lucero - The design system for Luzmo.
|
555
290
|
*
|
556
291
|
* Copyright © 2025 Luzmo
|
@@ -573,86 +308,86 @@ it == null || it({ LitElement: k });
|
|
573
308
|
* Copyright 2019 Google LLC
|
574
309
|
* SPDX-License-Identifier: BSD-3-Clause
|
575
310
|
*/
|
576
|
-
const
|
577
|
-
let
|
578
|
-
constructor(t, e
|
579
|
-
if (this._$cssResult$ = !0,
|
580
|
-
this.cssText =
|
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;
|
581
316
|
}
|
582
317
|
get styleSheet() {
|
583
|
-
let
|
584
|
-
const
|
585
|
-
if (
|
586
|
-
const
|
587
|
-
|
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));
|
588
323
|
}
|
589
|
-
return
|
324
|
+
return r;
|
590
325
|
}
|
591
326
|
toString() {
|
592
327
|
return this.cssText;
|
593
328
|
}
|
594
329
|
};
|
595
|
-
const
|
596
|
-
if (
|
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);
|
597
332
|
else for (const e of t) {
|
598
|
-
const s = document.createElement("style"), i =
|
599
|
-
i !== void 0 && s.setAttribute("nonce", i), s.textContent = e.cssText,
|
333
|
+
const s = document.createElement("style"), i = q.litNonce;
|
334
|
+
i !== void 0 && s.setAttribute("nonce", i), s.textContent = e.cssText, r.appendChild(s);
|
600
335
|
}
|
601
|
-
},
|
336
|
+
}, St = dt ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((t) => {
|
602
337
|
let e = "";
|
603
338
|
for (const s of t.cssRules) e += s.cssText;
|
604
|
-
return
|
605
|
-
})(
|
339
|
+
return me(e);
|
340
|
+
})(r) : r;
|
606
341
|
/**
|
607
342
|
* @license
|
608
343
|
* Copyright 2017 Google LLC
|
609
344
|
* SPDX-License-Identifier: BSD-3-Clause
|
610
345
|
*/
|
611
|
-
const { is:
|
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) {
|
612
347
|
switch (t) {
|
613
348
|
case Boolean:
|
614
|
-
|
349
|
+
r = r ? Se : null;
|
615
350
|
break;
|
616
351
|
case Object:
|
617
352
|
case Array:
|
618
|
-
|
353
|
+
r = r == null ? r : JSON.stringify(r);
|
619
354
|
}
|
620
|
-
return
|
621
|
-
}, fromAttribute(
|
622
|
-
let e =
|
355
|
+
return r;
|
356
|
+
}, fromAttribute(r, t) {
|
357
|
+
let e = r;
|
623
358
|
switch (t) {
|
624
359
|
case Boolean:
|
625
|
-
e =
|
360
|
+
e = r !== null;
|
626
361
|
break;
|
627
362
|
case Number:
|
628
|
-
e =
|
363
|
+
e = r === null ? null : Number(r);
|
629
364
|
break;
|
630
365
|
case Object:
|
631
366
|
case Array:
|
632
367
|
try {
|
633
|
-
e = JSON.parse(
|
368
|
+
e = JSON.parse(r);
|
634
369
|
} catch {
|
635
370
|
e = null;
|
636
371
|
}
|
637
372
|
}
|
638
373
|
return e;
|
639
|
-
} },
|
640
|
-
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")),
|
641
|
-
let
|
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 {
|
642
377
|
static addInitializer(t) {
|
643
378
|
this._$Ei(), (this.l ?? (this.l = [])).push(t);
|
644
379
|
}
|
645
380
|
static get observedAttributes() {
|
646
381
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
647
382
|
}
|
648
|
-
static createProperty(t, e =
|
383
|
+
static createProperty(t, e = Ct) {
|
649
384
|
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
650
385
|
const s = Symbol(), i = this.getPropertyDescriptor(t, s, e);
|
651
|
-
i !== void 0 &&
|
386
|
+
i !== void 0 && ge(this.prototype, t, i);
|
652
387
|
}
|
653
388
|
}
|
654
389
|
static getPropertyDescriptor(t, e, s) {
|
655
|
-
const { get: i, set:
|
390
|
+
const { get: i, set: o } = be(this.prototype, t) ?? { get() {
|
656
391
|
return this[e];
|
657
392
|
}, set(n) {
|
658
393
|
this[e] = n;
|
@@ -660,22 +395,22 @@ let M = class extends HTMLElement {
|
|
660
395
|
return { get() {
|
661
396
|
return i == null ? void 0 : i.call(this);
|
662
397
|
}, set(n) {
|
663
|
-
const
|
664
|
-
|
398
|
+
const l = i == null ? void 0 : i.call(this);
|
399
|
+
o.call(this, n), this.requestUpdate(t, l, s);
|
665
400
|
}, configurable: !0, enumerable: !0 };
|
666
401
|
}
|
667
402
|
static getPropertyOptions(t) {
|
668
|
-
return this.elementProperties.get(t) ??
|
403
|
+
return this.elementProperties.get(t) ?? Ct;
|
669
404
|
}
|
670
405
|
static _$Ei() {
|
671
|
-
if (this.hasOwnProperty(
|
672
|
-
const t =
|
406
|
+
if (this.hasOwnProperty(k("elementProperties"))) return;
|
407
|
+
const t = Ee(this);
|
673
408
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
674
409
|
}
|
675
410
|
static finalize() {
|
676
|
-
if (this.hasOwnProperty(
|
677
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
678
|
-
const e = this.properties, s = [...
|
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)];
|
679
414
|
for (const i of s) this.createProperty(i, e[i]);
|
680
415
|
}
|
681
416
|
const t = this[Symbol.metadata];
|
@@ -694,8 +429,8 @@ let M = class extends HTMLElement {
|
|
694
429
|
const e = [];
|
695
430
|
if (Array.isArray(t)) {
|
696
431
|
const s = new Set(t.flat(1 / 0).reverse());
|
697
|
-
for (const i of s) e.unshift(
|
698
|
-
} else t !== void 0 && e.push(
|
432
|
+
for (const i of s) e.unshift(St(i));
|
433
|
+
} else t !== void 0 && e.push(St(t));
|
699
434
|
return e;
|
700
435
|
}
|
701
436
|
static _$Eu(t, e) {
|
@@ -724,7 +459,7 @@ let M = class extends HTMLElement {
|
|
724
459
|
}
|
725
460
|
createRenderRoot() {
|
726
461
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
727
|
-
return
|
462
|
+
return _e(t, this.constructor.elementStyles), t;
|
728
463
|
}
|
729
464
|
connectedCallback() {
|
730
465
|
var t;
|
@@ -747,23 +482,23 @@ let M = class extends HTMLElement {
|
|
747
482
|
}
|
748
483
|
_$EC(t, e) {
|
749
484
|
var s;
|
750
|
-
const i = this.constructor.elementProperties.get(t),
|
751
|
-
if (
|
752
|
-
const n = (((s = i.converter) == null ? void 0 : s.toAttribute) !== void 0 ? i.converter :
|
753
|
-
this._$Em = t, n == null ? this.removeAttribute(
|
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;
|
754
489
|
}
|
755
490
|
}
|
756
491
|
_$AK(t, e) {
|
757
492
|
var s;
|
758
|
-
const i = this.constructor,
|
759
|
-
if (
|
760
|
-
const n = i.getPropertyOptions(
|
761
|
-
this._$Em =
|
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;
|
762
497
|
}
|
763
498
|
}
|
764
499
|
requestUpdate(t, e, s) {
|
765
500
|
if (t !== void 0) {
|
766
|
-
if (s ?? (s = this.constructor.getPropertyOptions(t)), !(s.hasChanged ??
|
501
|
+
if (s ?? (s = this.constructor.getPropertyOptions(t)), !(s.hasChanged ?? ut)(this[t], e)) return;
|
767
502
|
this.P(t, e, s);
|
768
503
|
}
|
769
504
|
this.isUpdatePending === !1 && (this._$ES = this._$ET());
|
@@ -789,18 +524,18 @@ let M = class extends HTMLElement {
|
|
789
524
|
if (!this.isUpdatePending) return;
|
790
525
|
if (!this.hasUpdated) {
|
791
526
|
if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
|
792
|
-
for (const [
|
527
|
+
for (const [o, n] of this._$Ep) this[o] = n;
|
793
528
|
this._$Ep = void 0;
|
794
529
|
}
|
795
530
|
const i = this.constructor.elementProperties;
|
796
|
-
if (i.size > 0) for (const [
|
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);
|
797
532
|
}
|
798
533
|
let e = !1;
|
799
534
|
const s = this._$AL;
|
800
535
|
try {
|
801
536
|
e = this.shouldUpdate(s), e ? (this.willUpdate(s), (t = this._$EO) == null || t.forEach((i) => {
|
802
|
-
var
|
803
|
-
return (
|
537
|
+
var o;
|
538
|
+
return (o = i.hostUpdate) == null ? void 0 : o.call(i);
|
804
539
|
}), this.update(s)) : this._$EU();
|
805
540
|
} catch (i) {
|
806
541
|
throw e = !1, this._$EU(), i;
|
@@ -836,52 +571,322 @@ let M = class extends HTMLElement {
|
|
836
571
|
firstUpdated(t) {
|
837
572
|
}
|
838
573
|
};
|
839
|
-
|
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");
|
840
575
|
/**
|
841
576
|
* @license
|
842
577
|
* Copyright 2017 Google LLC
|
843
578
|
* SPDX-License-Identifier: BSD-3-Clause
|
844
579
|
*/
|
845
|
-
const
|
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) => {
|
846
851
|
const { kind: s, metadata: i } = e;
|
847
|
-
let
|
848
|
-
if (
|
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") {
|
849
854
|
const { name: n } = e;
|
850
|
-
return { set(
|
855
|
+
return { set(l) {
|
851
856
|
const a = t.get.call(this);
|
852
|
-
t.set.call(this,
|
853
|
-
}, init(
|
854
|
-
return
|
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;
|
855
860
|
} };
|
856
861
|
}
|
857
862
|
if (s === "setter") {
|
858
863
|
const { name: n } = e;
|
859
|
-
return function(
|
864
|
+
return function(l) {
|
860
865
|
const a = this[n];
|
861
|
-
t.call(this,
|
866
|
+
t.call(this, l), this.requestUpdate(n, a, r);
|
862
867
|
};
|
863
868
|
}
|
864
869
|
throw Error("Unsupported decorator location: " + s);
|
865
870
|
};
|
866
|
-
function
|
867
|
-
return (t, e) => typeof e == "object" ?
|
868
|
-
const n = i.hasOwnProperty(
|
869
|
-
return i.constructor.createProperty(
|
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);
|
871
876
|
}
|
872
|
-
const
|
873
|
-
const
|
874
|
-
|
875
|
-
t.setAttribute("dir",
|
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);
|
876
881
|
});
|
877
|
-
},
|
878
|
-
|
882
|
+
}, Le = new MutationObserver(Ie);
|
883
|
+
Le.observe(document.documentElement, {
|
879
884
|
attributes: !0,
|
880
885
|
attributeFilter: ["dir"]
|
881
886
|
});
|
882
|
-
const
|
883
|
-
function
|
884
|
-
class t extends
|
887
|
+
const De = (r) => r.startManagingContentDirection !== void 0 || r.tagName === "LUZMO-THEME";
|
888
|
+
function je(r) {
|
889
|
+
class t extends r {
|
885
890
|
/**
|
886
891
|
* @private
|
887
892
|
*/
|
@@ -890,16 +895,16 @@ function ke(o) {
|
|
890
895
|
}
|
891
896
|
hasVisibleFocusInTree() {
|
892
897
|
const s = ((i = document) => {
|
893
|
-
var
|
898
|
+
var o;
|
894
899
|
let n = i.activeElement;
|
895
900
|
for (; n != null && n.shadowRoot && n.shadowRoot.activeElement; )
|
896
901
|
n = n.shadowRoot.activeElement;
|
897
|
-
const
|
902
|
+
const l = n ? [n] : [];
|
898
903
|
for (; n; ) {
|
899
|
-
const a = n.assignedSlot || n.parentElement || ((
|
900
|
-
a &&
|
904
|
+
const a = n.assignedSlot || n.parentElement || ((o = n.getRootNode()) == null ? void 0 : o.host);
|
905
|
+
a && l.push(a), n = a;
|
901
906
|
}
|
902
|
-
return
|
907
|
+
return l;
|
903
908
|
})(this.getRootNode())[0];
|
904
909
|
if (!s)
|
905
910
|
return !1;
|
@@ -912,12 +917,12 @@ function ke(o) {
|
|
912
917
|
connectedCallback() {
|
913
918
|
if (!this.hasAttribute("dir")) {
|
914
919
|
let s = this.assignedSlot || this.parentNode;
|
915
|
-
for (; s !== document.documentElement && !
|
920
|
+
for (; s !== document.documentElement && !De(s); )
|
916
921
|
s = s.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
917
922
|
s.parentNode || // DOM Element detected
|
918
923
|
s.host;
|
919
924
|
if (this.dir = s.dir === "rtl" ? s.dir : this.dir || "ltr", s === document.documentElement)
|
920
|
-
|
925
|
+
at.add(this);
|
921
926
|
else {
|
922
927
|
const { localName: i } = s;
|
923
928
|
i.search("-") > -1 && !customElements.get(i) ? customElements.whenDefined(i).then(() => {
|
@@ -929,84 +934,67 @@ function ke(o) {
|
|
929
934
|
super.connectedCallback();
|
930
935
|
}
|
931
936
|
disconnectedCallback() {
|
932
|
-
super.disconnectedCallback(), this._dirParent && (this._dirParent === document.documentElement ?
|
937
|
+
super.disconnectedCallback(), this._dirParent && (this._dirParent === document.documentElement ? at.delete(this) : this._dirParent.stopManagingContentDirection(this), this.removeAttribute("dir"));
|
933
938
|
}
|
934
939
|
}
|
935
940
|
return t;
|
936
941
|
}
|
937
|
-
|
938
|
-
}
|
939
|
-
/*! * Lucero - The design system for Luzmo.
|
940
|
-
*
|
941
|
-
* Copyright © 2025 Luzmo
|
942
|
-
* All rights reserved.
|
943
|
-
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
944
|
-
* This license allows users with a current active Luzmo account to use Lucero.
|
945
|
-
* This license terminates automatically if a user no longer has an active Luzmo account.
|
946
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
947
|
-
*
|
948
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
949
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
950
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
951
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
952
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
953
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
954
|
-
* SOFTWARE.
|
955
|
-
* */
|
942
|
+
class ze extends je(I) {
|
943
|
+
}
|
956
944
|
/**
|
957
945
|
* @license
|
958
946
|
* Copyright 2017 Google LLC
|
959
947
|
* SPDX-License-Identifier: BSD-3-Clause
|
960
948
|
*/
|
961
|
-
const
|
962
|
-
\f\r]`,
|
963
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
964
|
-
function
|
965
|
-
if (!
|
966
|
-
return
|
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;
|
967
955
|
}
|
968
|
-
const
|
969
|
-
const e =
|
970
|
-
let i,
|
971
|
-
for (let
|
972
|
-
const a =
|
973
|
-
let c, d,
|
974
|
-
for (; u < a.length && (n.lastIndex = u, d = n.exec(a), d !== null); ) u = n.lastIndex, n ===
|
975
|
-
const f = n ===
|
976
|
-
|
977
|
-
}
|
978
|
-
return [
|
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];
|
979
967
|
};
|
980
968
|
class F {
|
981
969
|
constructor({ strings: t, _$litType$: e }, s) {
|
982
970
|
let i;
|
983
971
|
this.parts = [];
|
984
|
-
let
|
985
|
-
const
|
972
|
+
let o = 0, n = 0;
|
973
|
+
const l = t.length - 1, a = this.parts, [c, d] = Ve(t, e);
|
986
974
|
if (this.el = F.createElement(c, s), E.currentNode = this.el.content, e === 2 || e === 3) {
|
987
|
-
const
|
988
|
-
|
975
|
+
const h = this.el.content.firstChild;
|
976
|
+
h.replaceWith(...h.childNodes);
|
989
977
|
}
|
990
|
-
for (; (i = E.nextNode()) !== null && a.length <
|
978
|
+
for (; (i = E.nextNode()) !== null && a.length < l; ) {
|
991
979
|
if (i.nodeType === 1) {
|
992
|
-
if (i.hasAttributes()) for (const
|
993
|
-
const u = d[n++], f = i.getAttribute(
|
994
|
-
a.push({ type: 1, index:
|
995
|
-
} else
|
996
|
-
if (
|
997
|
-
const
|
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;
|
998
986
|
if (u > 0) {
|
999
|
-
i.textContent =
|
1000
|
-
for (let f = 0; f < u; f++) i.append(
|
1001
|
-
i.append(
|
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());
|
1002
990
|
}
|
1003
991
|
}
|
1004
|
-
} else if (i.nodeType === 8) if (i.data ===
|
992
|
+
} else if (i.nodeType === 8) if (i.data === te) a.push({ type: 2, index: o });
|
1005
993
|
else {
|
1006
|
-
let
|
1007
|
-
for (; (
|
994
|
+
let h = -1;
|
995
|
+
for (; (h = i.data.indexOf(A, h + 1)) !== -1; ) a.push({ type: 7, index: o }), h += A.length - 1;
|
1008
996
|
}
|
1009
|
-
|
997
|
+
o++;
|
1010
998
|
}
|
1011
999
|
}
|
1012
1000
|
static createElement(t, e) {
|
@@ -1014,14 +1002,14 @@ class F {
|
|
1014
1002
|
return s.innerHTML = t, s;
|
1015
1003
|
}
|
1016
1004
|
}
|
1017
|
-
function
|
1018
|
-
var
|
1019
|
-
if (t ===
|
1020
|
-
let
|
1021
|
-
const
|
1022
|
-
return (
|
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;
|
1023
1011
|
}
|
1024
|
-
class
|
1012
|
+
class We {
|
1025
1013
|
constructor(t, e) {
|
1026
1014
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
1027
1015
|
}
|
@@ -1034,13 +1022,13 @@ class ze {
|
|
1034
1022
|
u(t) {
|
1035
1023
|
const { el: { content: e }, parts: s } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? w).importNode(e, !0);
|
1036
1024
|
E.currentNode = i;
|
1037
|
-
let
|
1025
|
+
let o = E.nextNode(), n = 0, l = 0, a = s[0];
|
1038
1026
|
for (; a !== void 0; ) {
|
1039
1027
|
if (n === a.index) {
|
1040
1028
|
let c;
|
1041
|
-
a.type === 2 ? c = new
|
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];
|
1042
1030
|
}
|
1043
|
-
n !== (a == null ? void 0 : a.index) && (
|
1031
|
+
n !== (a == null ? void 0 : a.index) && (o = E.nextNode(), n++);
|
1044
1032
|
}
|
1045
1033
|
return E.currentNode = w, i;
|
1046
1034
|
}
|
@@ -1049,7 +1037,7 @@ class ze {
|
|
1049
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++;
|
1050
1038
|
}
|
1051
1039
|
}
|
1052
|
-
class
|
1040
|
+
class V {
|
1053
1041
|
get _$AU() {
|
1054
1042
|
var t;
|
1055
1043
|
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
|
@@ -1069,7 +1057,7 @@ class X {
|
|
1069
1057
|
return this._$AB;
|
1070
1058
|
}
|
1071
1059
|
_$AI(t, e = this) {
|
1072
|
-
t =
|
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);
|
1073
1061
|
}
|
1074
1062
|
O(t) {
|
1075
1063
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
@@ -1078,26 +1066,26 @@ class X {
|
|
1078
1066
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
1079
1067
|
}
|
1080
1068
|
_(t) {
|
1081
|
-
this._$AH !== $ &&
|
1069
|
+
this._$AH !== $ && B(this._$AH) ? this._$AA.nextSibling.data = t : this.T(w.createTextNode(t)), this._$AH = t;
|
1082
1070
|
}
|
1083
1071
|
$(t) {
|
1084
|
-
var
|
1085
|
-
const { values:
|
1086
|
-
if (((
|
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);
|
1087
1075
|
else {
|
1088
|
-
const n = new
|
1089
|
-
n.p(
|
1076
|
+
const n = new We(i, this), l = n.u(this.options);
|
1077
|
+
n.p(e), this.T(l), this._$AH = n;
|
1090
1078
|
}
|
1091
1079
|
}
|
1092
1080
|
_$AC(t) {
|
1093
|
-
let e =
|
1094
|
-
return e === void 0 &&
|
1081
|
+
let e = Bt.get(t.strings);
|
1082
|
+
return e === void 0 && Bt.set(t.strings, e = new F(t)), e;
|
1095
1083
|
}
|
1096
1084
|
k(t) {
|
1097
|
-
|
1085
|
+
mt(this._$AH) || (this._$AH = [], this._$AR());
|
1098
1086
|
const e = this._$AH;
|
1099
1087
|
let s, i = 0;
|
1100
|
-
for (const
|
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++;
|
1101
1089
|
i < e.length && (this._$AR(s && s._$AB.nextSibling, i), e.length = i);
|
1102
1090
|
}
|
1103
1091
|
_$AR(t = this._$AA.nextSibling, e) {
|
@@ -1112,24 +1100,24 @@ class X {
|
|
1112
1100
|
this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
|
1113
1101
|
}
|
1114
1102
|
}
|
1115
|
-
class
|
1103
|
+
class tt {
|
1116
1104
|
get tagName() {
|
1117
1105
|
return this.element.tagName;
|
1118
1106
|
}
|
1119
1107
|
get _$AU() {
|
1120
1108
|
return this._$AM._$AU;
|
1121
1109
|
}
|
1122
|
-
constructor(t, e, s, i,
|
1123
|
-
this.type = 1, this._$AH = $, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options =
|
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 = $;
|
1124
1112
|
}
|
1125
1113
|
_$AI(t, e = this, s, i) {
|
1126
|
-
const
|
1114
|
+
const o = this.strings;
|
1127
1115
|
let n = !1;
|
1128
|
-
if (
|
1116
|
+
if (o === void 0) t = M(this, t, e, 0), n = !B(t) || t !== this._$AH && t !== O, n && (this._$AH = t);
|
1129
1117
|
else {
|
1130
|
-
const
|
1118
|
+
const l = t;
|
1131
1119
|
let a, c;
|
1132
|
-
for (t =
|
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;
|
1133
1121
|
}
|
1134
1122
|
n && !i && this.j(t);
|
1135
1123
|
}
|
@@ -1137,7 +1125,7 @@ class Y {
|
|
1137
1125
|
t === $ ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
1138
1126
|
}
|
1139
1127
|
}
|
1140
|
-
class
|
1128
|
+
class qe extends tt {
|
1141
1129
|
constructor() {
|
1142
1130
|
super(...arguments), this.type = 3;
|
1143
1131
|
}
|
@@ -1145,7 +1133,7 @@ class Fe extends Y {
|
|
1145
1133
|
this.element[this.name] = t === $ ? void 0 : t;
|
1146
1134
|
}
|
1147
1135
|
}
|
1148
|
-
class
|
1136
|
+
class Ke extends tt {
|
1149
1137
|
constructor() {
|
1150
1138
|
super(...arguments), this.type = 4;
|
1151
1139
|
}
|
@@ -1153,21 +1141,21 @@ class Be extends Y {
|
|
1153
1141
|
this.element.toggleAttribute(this.name, !!t && t !== $);
|
1154
1142
|
}
|
1155
1143
|
}
|
1156
|
-
class
|
1157
|
-
constructor(t, e, s, i,
|
1158
|
-
super(t, e, s, i,
|
1144
|
+
class Ze extends tt {
|
1145
|
+
constructor(t, e, s, i, o) {
|
1146
|
+
super(t, e, s, i, o), this.type = 5;
|
1159
1147
|
}
|
1160
1148
|
_$AI(t, e = this) {
|
1161
|
-
if ((t =
|
1162
|
-
const s = this._$AH, i = t === $ && s !== $ || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive,
|
1163
|
-
i && this.element.removeEventListener(this.name, this, s),
|
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;
|
1164
1152
|
}
|
1165
1153
|
handleEvent(t) {
|
1166
1154
|
var e;
|
1167
1155
|
typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
|
1168
1156
|
}
|
1169
1157
|
}
|
1170
|
-
class
|
1158
|
+
class Je {
|
1171
1159
|
constructor(t, e, s) {
|
1172
1160
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
|
1173
1161
|
}
|
@@ -1175,11 +1163,20 @@ class We {
|
|
1175
1163
|
return this._$AM._$AU;
|
1176
1164
|
}
|
1177
1165
|
_$AI(t) {
|
1178
|
-
|
1166
|
+
M(this, t);
|
1179
1167
|
}
|
1180
1168
|
}
|
1181
|
-
const
|
1182
|
-
|
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
|
+
};
|
1183
1180
|
/*! * Lucero - The design system for Luzmo.
|
1184
1181
|
*
|
1185
1182
|
* Copyright © 2025 Luzmo
|
@@ -1197,13 +1194,13 @@ jt == null || jt(F, X), (Z.litHtmlVersions ?? (Z.litHtmlVersions = [])).push("3.
|
|
1197
1194
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
1198
1195
|
* SOFTWARE.
|
1199
1196
|
* */
|
1200
|
-
let
|
1197
|
+
let lt = !0;
|
1201
1198
|
try {
|
1202
1199
|
document.body.querySelector(":focus-visible");
|
1203
1200
|
} catch {
|
1204
|
-
|
1201
|
+
lt = !1, Promise.resolve().then(() => Qe);
|
1205
1202
|
}
|
1206
|
-
const
|
1203
|
+
const re = (r) => {
|
1207
1204
|
var t, e;
|
1208
1205
|
const s = (n) => {
|
1209
1206
|
if (n.shadowRoot == null || Object.hasOwn(n.dataset, "jsFocusVisible"))
|
@@ -1212,44 +1209,44 @@ const ee = (o) => {
|
|
1212
1209
|
if (self.applyFocusVisiblePolyfill)
|
1213
1210
|
self.applyFocusVisiblePolyfill(n.shadowRoot), n.manageAutoFocus && n.manageAutoFocus();
|
1214
1211
|
else {
|
1215
|
-
const
|
1212
|
+
const l = () => {
|
1216
1213
|
self.applyFocusVisiblePolyfill && n.shadowRoot && self.applyFocusVisiblePolyfill(n.shadowRoot), n.manageAutoFocus && n.manageAutoFocus();
|
1217
1214
|
};
|
1218
1215
|
return self.addEventListener(
|
1219
1216
|
"focus-visible-polyfill-ready",
|
1220
|
-
|
1217
|
+
l,
|
1221
1218
|
{ once: !0 }
|
1222
1219
|
), () => {
|
1223
1220
|
self.removeEventListener(
|
1224
1221
|
"focus-visible-polyfill-ready",
|
1225
|
-
|
1222
|
+
l
|
1226
1223
|
);
|
1227
1224
|
};
|
1228
1225
|
}
|
1229
1226
|
return () => {
|
1230
1227
|
};
|
1231
1228
|
}, i = Symbol("endPolyfillCoordination");
|
1232
|
-
class
|
1229
|
+
class o extends (e = r, t = i, e) {
|
1233
1230
|
constructor() {
|
1234
1231
|
super(...arguments), this[t] = null;
|
1235
1232
|
}
|
1236
1233
|
// Attempt to coordinate with the polyfill when connected to the
|
1237
1234
|
// document:
|
1238
1235
|
connectedCallback() {
|
1239
|
-
super.connectedCallback && super.connectedCallback(),
|
1236
|
+
super.connectedCallback && super.connectedCallback(), lt || requestAnimationFrame(() => {
|
1240
1237
|
this[i] == null && (this[i] = s(this));
|
1241
1238
|
});
|
1242
1239
|
}
|
1243
1240
|
disconnectedCallback() {
|
1244
|
-
super.disconnectedCallback && super.disconnectedCallback(),
|
1241
|
+
super.disconnectedCallback && super.disconnectedCallback(), lt || requestAnimationFrame(() => {
|
1245
1242
|
this[i] != null && (this[i](), this[i] = null);
|
1246
1243
|
});
|
1247
1244
|
}
|
1248
1245
|
}
|
1249
|
-
return
|
1250
|
-
},
|
1246
|
+
return o;
|
1247
|
+
}, Qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
1251
1248
|
__proto__: null,
|
1252
|
-
FocusVisiblePolyfillMixin:
|
1249
|
+
FocusVisiblePolyfillMixin: re
|
1253
1250
|
}, Symbol.toStringTag, { value: "Module" }));
|
1254
1251
|
/*! * Lucero - The design system for Luzmo.
|
1255
1252
|
*
|
@@ -1268,15 +1265,15 @@ const ee = (o) => {
|
|
1268
1265
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
1269
1266
|
* SOFTWARE.
|
1270
1267
|
* */
|
1271
|
-
var
|
1272
|
-
for (var i = s > 1 ? void 0 : s ?
|
1273
|
-
(n = o
|
1274
|
-
return s && i &&
|
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;
|
1275
1272
|
};
|
1276
|
-
function
|
1277
|
-
return new Promise((
|
1273
|
+
function Ft() {
|
1274
|
+
return new Promise((r) => requestAnimationFrame(() => r()));
|
1278
1275
|
}
|
1279
|
-
let
|
1276
|
+
let At = class extends re(ze) {
|
1280
1277
|
constructor() {
|
1281
1278
|
super(...arguments), this.disabled = !1, this.autofocus = !1, this._tabIndex = 0, this.manipulatingTabindex = !1, this.autofocusReady = Promise.resolve();
|
1282
1279
|
}
|
@@ -1384,64 +1381,101 @@ let _t = class extends ee(Ie) {
|
|
1384
1381
|
}
|
1385
1382
|
connectedCallback() {
|
1386
1383
|
super.connectedCallback(), this.autofocus && (this.autofocusReady = new Promise(async (t) => {
|
1387
|
-
await
|
1384
|
+
await Ft(), await Ft(), t();
|
1388
1385
|
}), this.updateComplete.then(() => {
|
1389
1386
|
this.manageAutoFocus();
|
1390
1387
|
}));
|
1391
1388
|
}
|
1392
1389
|
};
|
1393
|
-
|
1394
|
-
|
1395
|
-
],
|
1396
|
-
|
1397
|
-
|
1398
|
-
],
|
1399
|
-
|
1400
|
-
|
1401
|
-
],
|
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");
|
1402
1434
|
/**
|
1403
1435
|
* @license
|
1404
1436
|
* Copyright 2017 Google LLC
|
1405
1437
|
* SPDX-License-Identifier: BSD-3-Clause
|
1406
1438
|
*/
|
1407
|
-
const
|
1439
|
+
const ts = { attribute: !0, type: String, converter: Z, reflect: !1, hasChanged: ct }, es = (r = ts, t, e) => {
|
1408
1440
|
const { kind: s, metadata: i } = e;
|
1409
|
-
let
|
1410
|
-
if (
|
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") {
|
1411
1443
|
const { name: n } = e;
|
1412
|
-
return { set(
|
1444
|
+
return { set(l) {
|
1413
1445
|
const a = t.get.call(this);
|
1414
|
-
t.set.call(this,
|
1415
|
-
}, init(
|
1416
|
-
return
|
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;
|
1417
1449
|
} };
|
1418
1450
|
}
|
1419
1451
|
if (s === "setter") {
|
1420
1452
|
const { name: n } = e;
|
1421
|
-
return function(
|
1453
|
+
return function(l) {
|
1422
1454
|
const a = this[n];
|
1423
|
-
t.call(this,
|
1455
|
+
t.call(this, l), this.requestUpdate(n, a, r);
|
1424
1456
|
};
|
1425
1457
|
}
|
1426
1458
|
throw Error("Unsupported decorator location: " + s);
|
1427
1459
|
};
|
1428
|
-
function us(
|
1429
|
-
return (t, e) => typeof e == "object" ?
|
1430
|
-
const n = i.hasOwnProperty(
|
1431
|
-
return i.constructor.createProperty(
|
1432
|
-
})(
|
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);
|
1433
1465
|
}
|
1434
1466
|
export {
|
1435
|
-
$ as
|
1436
|
-
|
1437
|
-
|
1438
|
-
|
1439
|
-
|
1440
|
-
|
1441
|
-
|
1442
|
-
|
1443
|
-
|
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,
|
1444
1476
|
us as n,
|
1445
|
-
|
1446
|
-
|
1477
|
+
At as r,
|
1478
|
+
U as v,
|
1479
|
+
He as w,
|
1480
|
+
ls as x
|
1447
1481
|
};
|