@luzmo/analytics-components-kit 1.0.1-alpha.41 → 1.0.1-alpha.43
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/{calculate-data-item-icon-B9B0iLjm.js → calculate-data-item-icon-DKjZwr-x.js} +61 -43
- package/components/{calculate-data-item-icon-CjHO4KtA.cjs → calculate-data-item-icon-DlfbBvFN.cjs} +1 -1
- package/components/display-settings/display-settings.d.ts +1 -0
- package/components/display-settings/index.cjs +1 -86
- package/components/display-settings/index.js +6 -216
- package/components/display-settings-binning/index.cjs +1 -1
- package/components/display-settings-binning/index.js +5 -5
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +5 -5
- package/components/display-settings-grand-totals/index.cjs +1 -1
- package/components/display-settings-grand-totals/index.js +6 -6
- package/components/display-settings-numeric/index.cjs +2 -2
- package/components/display-settings-numeric/index.js +5 -5
- package/components/display-settings-period-over-period/index.cjs +8 -8
- package/components/display-settings-period-over-period/index.js +82 -71
- package/components/draggable-data-item/draggable-data-item.d.ts +2 -0
- package/components/draggable-data-item/index.cjs +6 -5
- package/components/draggable-data-item/index.js +21 -17
- package/components/draggable-data-item-level/draggable-data-item-level.d.ts +3 -0
- package/components/draggable-data-item-level/index.cjs +12 -7
- package/components/draggable-data-item-level/index.js +79 -60
- package/components/droppable-slot/droppable-slot.d.ts +6 -2
- package/components/droppable-slot/index.cjs +72 -11
- package/components/droppable-slot/index.js +659 -129
- package/components/edit-item/index.cjs +1 -1
- package/components/edit-item/index.js +4 -4
- 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 +1 -1
- package/components/edit-option-action-button-group/index.js +3 -3
- package/components/{edit-option-base-BQc4gXup.js → edit-option-base-CbpBi6I7.js} +3 -3
- package/components/{edit-option-base-ByphLI4J.cjs → edit-option-base-Db3JjWMk.cjs} +1 -1
- package/components/edit-option-color-picker/index.cjs +1 -1
- package/components/edit-option-color-picker/index.js +2 -2
- package/components/edit-option-multi-language-field/index.cjs +1 -1
- package/components/edit-option-multi-language-field/index.js +2 -2
- package/components/edit-option-number-field/index.cjs +1 -1
- package/components/edit-option-number-field/index.js +2 -2
- package/components/edit-option-picker/index.cjs +1 -1
- package/components/edit-option-picker/index.js +2 -2
- package/components/edit-option-position-picker/index.cjs +1 -1
- package/components/edit-option-position-picker/index.js +2 -2
- package/components/edit-option-positions-number-field/index.cjs +2 -2
- package/components/edit-option-positions-number-field/index.js +4 -4
- package/components/edit-option-radio-button-group/index.cjs +1 -1
- package/components/edit-option-radio-button-group/index.js +2 -2
- package/components/edit-option-slider/index.cjs +1 -1
- package/components/edit-option-slider/index.js +2 -2
- package/components/edit-option-switch/index.cjs +1 -1
- package/components/edit-option-switch/index.js +2 -2
- package/components/edit-option-text-field/index.cjs +1 -1
- package/components/edit-option-text-field/index.js +2 -2
- package/components/filter-data-item-picker/index.cjs +1 -1
- package/components/filter-data-item-picker/index.js +2 -2
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +1 -1
- package/components/filter-item/index.cjs +1 -1
- package/components/filter-item/index.js +3 -3
- package/components/filter-value-picker/index.cjs +1 -1
- package/components/filter-value-picker/index.js +1 -1
- package/components/filter-value-picker-datetime/index.cjs +1 -1
- package/components/filter-value-picker-datetime/index.js +1 -1
- package/components/filter-value-picker-hierarchy/index.cjs +1 -1
- package/components/filter-value-picker-hierarchy/index.js +2 -2
- package/components/filter-value-picker-numeric/index.cjs +1 -1
- package/components/filter-value-picker-numeric/index.js +2 -2
- package/components/{focusable-BTJYY_Mf.cjs → focusable-B8t8a-WJ.cjs} +1 -1
- package/components/{focusable-BXhQz3_k.js → focusable-Bhf_beoW.js} +1 -1
- package/components/grid/index.cjs +8 -8
- package/components/grid/index.js +126 -126
- package/components/{if-defined-CTc4c9nr.js → if-defined-Dg09naf2.js} +1 -1
- package/components/{if-defined-Bulnuz1A.cjs → if-defined-DjdbEoAa.cjs} +1 -1
- package/components/{index-8fxgV8-A.js → index-BNCgbOV2.js} +2 -2
- package/components/{index-DQbl3h5H.cjs → index-BNFpjvqX.cjs} +1 -1
- package/components/index-BqMMcuLX.cjs +121 -0
- package/components/index-Cw_HnduG.js +304 -0
- package/components/{index-BiY07GvX.js → index-DM0JWaVq.js} +4 -4
- package/components/{index-DM96Q1fX.cjs → index-MVmoiSxL.cjs} +1 -1
- package/components/index.cjs +1 -1
- package/components/index.js +3 -3
- package/components/luzmo-icons-Bvm-_ECi.cjs +31 -0
- package/components/{luzmo-icons-v9hKZ3HV.js → luzmo-icons-DnAqAQCX.js} +176 -142
- package/components/{property-Dn4zSyxu.js → property-BFMfZY1k.js} +81 -78
- package/components/property-BV1QaY8E.cjs +42 -0
- package/components/{sized-mixin-BNtmplgF.cjs → sized-mixin-C48t6K7U.cjs} +1 -1
- package/components/{sized-mixin-BR_Ii7le.js → sized-mixin-CkdMApAU.js} +1 -1
- package/components/slot-contents-picker/index.cjs +8 -8
- package/components/slot-contents-picker/index.js +8 -8
- package/components/slot-menu/index.cjs +10 -9
- package/components/slot-menu/index.js +150 -80
- package/components/slot-menu/slot-menu.d.ts +5 -5
- package/components/slot-menu-list/index.cjs +2 -2
- package/components/slot-menu-list/index.js +4 -4
- package/components/{state-vVJlsarL.js → state-BSTa7W6f.js} +1 -1
- package/components/{state-BxZEcclm.cjs → state-CuE7TJCY.cjs} +1 -1
- package/components/{task-qPJdeXO1.cjs → task-0B-FC3rj.cjs} +1 -1
- package/components/{task-PQaVY8Iw.js → task-CDsB8Kbr.js} +1 -1
- package/custom-elements.json +75 -13
- package/package.json +1 -1
- package/utils/data-item-types/calculate-data-item-icon.d.ts +1 -0
- package/utils/drag/draggable.d.ts +13 -0
- package/utils/store/slot-context.d.ts +4 -0
- package/utils/store/slot-store.d.ts +21 -0
- package/components/luzmo-icons-B_3XTuMC.cjs +0 -31
- package/components/property-BCb4Kybn.cjs +0 -42
@@ -22,7 +22,7 @@
|
|
22
22
|
* Copyright 2019 Google LLC
|
23
23
|
* SPDX-License-Identifier: BSD-3-Clause
|
24
24
|
*/
|
25
|
-
const T = globalThis,
|
25
|
+
const T = globalThis, z = T.ShadowRoot && (T.ShadyCSS === void 0 || T.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, B = Symbol(), V = /* @__PURE__ */ new WeakMap();
|
26
26
|
let et = class {
|
27
27
|
constructor(t, e, s) {
|
28
28
|
if (this._$cssResult$ = !0, s !== B) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
@@ -31,9 +31,9 @@ let et = class {
|
|
31
31
|
get styleSheet() {
|
32
32
|
let t = this.o;
|
33
33
|
const e = this.t;
|
34
|
-
if (
|
34
|
+
if (z && t === void 0) {
|
35
35
|
const s = e !== void 0 && e.length === 1;
|
36
|
-
s && (t =
|
36
|
+
s && (t = V.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && V.set(e, t));
|
37
37
|
}
|
38
38
|
return t;
|
39
39
|
}
|
@@ -49,12 +49,12 @@ const ht = (r) => new et(typeof r == "string" ? r : r + "", void 0, B), Ut = (r,
|
|
49
49
|
})(i) + r[o + 1], r[0]);
|
50
50
|
return new et(e, r, B);
|
51
51
|
}, at = (r, t) => {
|
52
|
-
if (
|
52
|
+
if (z) r.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
53
53
|
else for (const e of t) {
|
54
54
|
const s = document.createElement("style"), i = T.litNonce;
|
55
55
|
i !== void 0 && s.setAttribute("nonce", i), s.textContent = e.cssText, r.appendChild(s);
|
56
56
|
}
|
57
|
-
},
|
57
|
+
}, W = z ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((t) => {
|
58
58
|
let e = "";
|
59
59
|
for (const s of t.cssRules) e += s.cssText;
|
60
60
|
return ht(e);
|
@@ -64,7 +64,7 @@ const ht = (r) => new et(typeof r == "string" ? r : r + "", void 0, B), Ut = (r,
|
|
64
64
|
* Copyright 2017 Google LLC
|
65
65
|
* SPDX-License-Identifier: BSD-3-Clause
|
66
66
|
*/
|
67
|
-
const { is: lt, defineProperty: ct, getOwnPropertyDescriptor: dt, getOwnPropertyNames: pt, getOwnPropertySymbols: ut, getPrototypeOf: $t } = Object, f = globalThis, J = f.trustedTypes, _t = J ? J.emptyScript : "", k = f.reactiveElementPolyfillSupport,
|
67
|
+
const { is: lt, defineProperty: ct, getOwnPropertyDescriptor: dt, getOwnPropertyNames: pt, getOwnPropertySymbols: ut, getPrototypeOf: $t } = Object, f = globalThis, J = f.trustedTypes, _t = J ? J.emptyScript : "", k = f.reactiveElementPolyfillSupport, S = (r, t) => r, H = { toAttribute(r, t) {
|
68
68
|
switch (t) {
|
69
69
|
case Boolean:
|
70
70
|
r = r ? _t : null;
|
@@ -92,9 +92,9 @@ const { is: lt, defineProperty: ct, getOwnPropertyDescriptor: dt, getOwnProperty
|
|
92
92
|
}
|
93
93
|
}
|
94
94
|
return e;
|
95
|
-
} }, I = (r, t) => !lt(r, t), K = { attribute: !0, type: String, converter:
|
95
|
+
} }, I = (r, t) => !lt(r, t), K = { attribute: !0, type: String, converter: H, reflect: !1, useDefault: !1, hasChanged: I };
|
96
96
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), f.litPropertyMetadata ?? (f.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
97
|
-
let
|
97
|
+
let m = class extends HTMLElement {
|
98
98
|
static addInitializer(t) {
|
99
99
|
this._$Ei(), (this.l ?? (this.l = [])).push(t);
|
100
100
|
}
|
@@ -102,7 +102,7 @@ let y = class extends HTMLElement {
|
|
102
102
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
103
103
|
}
|
104
104
|
static createProperty(t, e = K) {
|
105
|
-
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
105
|
+
if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
|
106
106
|
const s = Symbol(), i = this.getPropertyDescriptor(t, s, e);
|
107
107
|
i !== void 0 && ct(this.prototype, t, i);
|
108
108
|
}
|
@@ -113,24 +113,22 @@ let y = class extends HTMLElement {
|
|
113
113
|
}, set(n) {
|
114
114
|
this[e] = n;
|
115
115
|
} };
|
116
|
-
return { get() {
|
117
|
-
return i == null ? void 0 : i.call(this);
|
118
|
-
}, set(n) {
|
116
|
+
return { get: i, set(n) {
|
119
117
|
const a = i == null ? void 0 : i.call(this);
|
120
|
-
o.call(this, n), this.requestUpdate(t, a, s);
|
118
|
+
o == null || o.call(this, n), this.requestUpdate(t, a, s);
|
121
119
|
}, configurable: !0, enumerable: !0 };
|
122
120
|
}
|
123
121
|
static getPropertyOptions(t) {
|
124
122
|
return this.elementProperties.get(t) ?? K;
|
125
123
|
}
|
126
124
|
static _$Ei() {
|
127
|
-
if (this.hasOwnProperty(
|
125
|
+
if (this.hasOwnProperty(S("elementProperties"))) return;
|
128
126
|
const t = $t(this);
|
129
127
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
130
128
|
}
|
131
129
|
static finalize() {
|
132
|
-
if (this.hasOwnProperty(
|
133
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
130
|
+
if (this.hasOwnProperty(S("finalized"))) return;
|
131
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(S("properties"))) {
|
134
132
|
const e = this.properties, s = [...pt(e), ...ut(e)];
|
135
133
|
for (const i of s) this.createProperty(i, e[i]);
|
136
134
|
}
|
@@ -150,8 +148,8 @@ let y = class extends HTMLElement {
|
|
150
148
|
const e = [];
|
151
149
|
if (Array.isArray(t)) {
|
152
150
|
const s = new Set(t.flat(1 / 0).reverse());
|
153
|
-
for (const i of s) e.unshift(
|
154
|
-
} else t !== void 0 && e.push(
|
151
|
+
for (const i of s) e.unshift(W(i));
|
152
|
+
} else t !== void 0 && e.push(W(t));
|
155
153
|
return e;
|
156
154
|
}
|
157
155
|
static _$Eu(t, e) {
|
@@ -201,33 +199,35 @@ let y = class extends HTMLElement {
|
|
201
199
|
attributeChangedCallback(t, e, s) {
|
202
200
|
this._$AK(t, s);
|
203
201
|
}
|
204
|
-
_$
|
202
|
+
_$ET(t, e) {
|
205
203
|
var o;
|
206
204
|
const s = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, s);
|
207
205
|
if (i !== void 0 && s.reflect === !0) {
|
208
|
-
const n = (((o = s.converter) == null ? void 0 : o.toAttribute) !== void 0 ? s.converter :
|
206
|
+
const n = (((o = s.converter) == null ? void 0 : o.toAttribute) !== void 0 ? s.converter : H).toAttribute(e, s.type);
|
209
207
|
this._$Em = t, n == null ? this.removeAttribute(i) : this.setAttribute(i, n), this._$Em = null;
|
210
208
|
}
|
211
209
|
}
|
212
210
|
_$AK(t, e) {
|
213
|
-
var o;
|
211
|
+
var o, n;
|
214
212
|
const s = this.constructor, i = s._$Eh.get(t);
|
215
213
|
if (i !== void 0 && this._$Em !== i) {
|
216
|
-
const
|
217
|
-
this._$Em = i, this[i] =
|
214
|
+
const a = s.getPropertyOptions(i), h = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((o = a.converter) == null ? void 0 : o.fromAttribute) !== void 0 ? a.converter : H;
|
215
|
+
this._$Em = i, this[i] = h.fromAttribute(e, a.type) ?? ((n = this._$Ej) == null ? void 0 : n.get(i)) ?? null, this._$Em = null;
|
218
216
|
}
|
219
217
|
}
|
220
218
|
requestUpdate(t, e, s) {
|
219
|
+
var i;
|
221
220
|
if (t !== void 0) {
|
222
|
-
|
223
|
-
|
221
|
+
const o = this.constructor, n = this[t];
|
222
|
+
if (s ?? (s = o.getPropertyOptions(t)), !((s.hasChanged ?? I)(n, e) || s.useDefault && s.reflect && n === ((i = this._$Ej) == null ? void 0 : i.get(t)) && !this.hasAttribute(o._$Eu(t, s)))) return;
|
223
|
+
this.C(t, e, s);
|
224
224
|
}
|
225
|
-
this.isUpdatePending === !1 && (this._$ES = this._$
|
225
|
+
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
226
226
|
}
|
227
|
-
|
228
|
-
this._$AL.has(t) || this._$AL.set(t, e),
|
227
|
+
C(t, e, { useDefault: s, reflect: i, wrapped: o }, n) {
|
228
|
+
s && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(t) && (this._$Ej.set(t, n ?? e ?? this[t]), o !== !0 || n !== void 0) || (this._$AL.has(t) || (this.hasUpdated || s || (e = void 0), this._$AL.set(t, e)), i === !0 && this._$Em !== t && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(t));
|
229
229
|
}
|
230
|
-
async _$
|
230
|
+
async _$EP() {
|
231
231
|
this.isUpdatePending = !0;
|
232
232
|
try {
|
233
233
|
await this._$ES;
|
@@ -249,7 +249,10 @@ let y = class extends HTMLElement {
|
|
249
249
|
this._$Ep = void 0;
|
250
250
|
}
|
251
251
|
const i = this.constructor.elementProperties;
|
252
|
-
if (i.size > 0) for (const [o, n] of i)
|
252
|
+
if (i.size > 0) for (const [o, n] of i) {
|
253
|
+
const { wrapped: a } = n, h = this[o];
|
254
|
+
a !== !0 || this._$AL.has(o) || h === void 0 || this.C(o, void 0, n, h);
|
255
|
+
}
|
253
256
|
}
|
254
257
|
let t = !1;
|
255
258
|
const e = this._$AL;
|
@@ -257,9 +260,9 @@ let y = class extends HTMLElement {
|
|
257
260
|
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$EO) == null || s.forEach((i) => {
|
258
261
|
var o;
|
259
262
|
return (o = i.hostUpdate) == null ? void 0 : o.call(i);
|
260
|
-
}), this.update(e)) : this._$
|
263
|
+
}), this.update(e)) : this._$EM();
|
261
264
|
} catch (i) {
|
262
|
-
throw t = !1, this._$
|
265
|
+
throw t = !1, this._$EM(), i;
|
263
266
|
}
|
264
267
|
t && this._$AE(e);
|
265
268
|
}
|
@@ -272,7 +275,7 @@ let y = class extends HTMLElement {
|
|
272
275
|
return (i = s.hostUpdated) == null ? void 0 : i.call(s);
|
273
276
|
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
274
277
|
}
|
275
|
-
_$
|
278
|
+
_$EM() {
|
276
279
|
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
277
280
|
}
|
278
281
|
get updateComplete() {
|
@@ -285,35 +288,35 @@ let y = class extends HTMLElement {
|
|
285
288
|
return !0;
|
286
289
|
}
|
287
290
|
update(t) {
|
288
|
-
this._$
|
291
|
+
this._$Eq && (this._$Eq = this._$Eq.forEach((e) => this._$ET(e, this[e]))), this._$EM();
|
289
292
|
}
|
290
293
|
updated(t) {
|
291
294
|
}
|
292
295
|
firstUpdated(t) {
|
293
296
|
}
|
294
297
|
};
|
295
|
-
|
298
|
+
m.elementStyles = [], m.shadowRootOptions = { mode: "open" }, m[S("elementProperties")] = /* @__PURE__ */ new Map(), m[S("finalized")] = /* @__PURE__ */ new Map(), k == null || k({ ReactiveElement: m }), (f.reactiveElementVersions ?? (f.reactiveElementVersions = [])).push("2.1.0");
|
296
299
|
/**
|
297
300
|
* @license
|
298
301
|
* Copyright 2017 Google LLC
|
299
302
|
* SPDX-License-Identifier: BSD-3-Clause
|
300
303
|
*/
|
301
|
-
const w = globalThis, N = w.trustedTypes, Z = N ? N.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, st = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, it = "?" + _, ft = `<${it}>`,
|
302
|
-
\f\r]`,
|
303
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Q = /'/g, X = /"/g, rt = /^(?:script|style|textarea|title)$/i, nt = (r) => (t, ...e) => ({ _$litType$: r, strings: t, values: e }), Ot = nt(1), Tt = nt(2), v = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), Y = /* @__PURE__ */ new WeakMap(), g =
|
304
|
+
const w = globalThis, N = w.trustedTypes, Z = N ? N.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, st = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, it = "?" + _, ft = `<${it}>`, y = document, C = () => y.createComment(""), P = (r) => r === null || typeof r != "object" && typeof r != "function", q = Array.isArray, At = (r) => q(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", D = `[
|
305
|
+
\f\r]`, b = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, F = /-->/g, G = />/g, A = RegExp(`>|${D}(?:([^\\s"'>=/]+)(${D}*=${D}*(?:[^
|
306
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Q = /'/g, X = /"/g, rt = /^(?:script|style|textarea|title)$/i, nt = (r) => (t, ...e) => ({ _$litType$: r, strings: t, values: e }), Ot = nt(1), Tt = nt(2), v = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), Y = /* @__PURE__ */ new WeakMap(), g = y.createTreeWalker(y, 129);
|
304
307
|
function ot(r, t) {
|
305
|
-
if (!
|
308
|
+
if (!q(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
306
309
|
return Z !== void 0 ? Z.createHTML(t) : t;
|
307
310
|
}
|
308
311
|
const gt = (r, t) => {
|
309
312
|
const e = r.length - 1, s = [];
|
310
|
-
let i, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n =
|
313
|
+
let i, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = b;
|
311
314
|
for (let a = 0; a < e; a++) {
|
312
315
|
const h = r[a];
|
313
316
|
let c, p, l = -1, u = 0;
|
314
|
-
for (; u < h.length && (n.lastIndex = u, p = n.exec(h), p !== null); ) u = n.lastIndex, n ===
|
317
|
+
for (; u < h.length && (n.lastIndex = u, p = n.exec(h), p !== null); ) u = n.lastIndex, n === b ? p[1] === "!--" ? n = F : p[1] !== void 0 ? n = G : p[2] !== void 0 ? (rt.test(p[2]) && (i = RegExp("</" + p[2], "g")), n = A) : p[3] !== void 0 && (n = A) : n === A ? p[0] === ">" ? (n = i ?? b, l = -1) : p[1] === void 0 ? l = -2 : (l = n.lastIndex - p[2].length, c = p[1], n = p[3] === void 0 ? A : p[3] === '"' ? X : Q) : n === X || n === Q ? n = A : n === F || n === G ? n = b : (n = A, i = void 0);
|
315
318
|
const $ = n === A && r[a + 1].startsWith("/>") ? " " : "";
|
316
|
-
o += n ===
|
319
|
+
o += n === b ? h + ft : l >= 0 ? (s.push(c), h.slice(0, l) + st + h.slice(l) + _ + $) : h + _ + (l === -2 ? a : $);
|
317
320
|
}
|
318
321
|
return [ot(r, o + (r[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
|
319
322
|
};
|
@@ -331,14 +334,14 @@ class U {
|
|
331
334
|
if (i.nodeType === 1) {
|
332
335
|
if (i.hasAttributes()) for (const l of i.getAttributeNames()) if (l.endsWith(st)) {
|
333
336
|
const u = p[n++], $ = i.getAttribute(l).split(_), O = /([.?@])?(.*)/.exec(u);
|
334
|
-
h.push({ type: 1, index: o, name: O[2], strings: $, ctor: O[1] === "." ?
|
337
|
+
h.push({ type: 1, index: o, name: O[2], strings: $, ctor: O[1] === "." ? mt : O[1] === "?" ? vt : O[1] === "@" ? Et : R }), i.removeAttribute(l);
|
335
338
|
} else l.startsWith(_) && (h.push({ type: 6, index: o }), i.removeAttribute(l));
|
336
339
|
if (rt.test(i.tagName)) {
|
337
340
|
const l = i.textContent.split(_), u = l.length - 1;
|
338
341
|
if (u > 0) {
|
339
342
|
i.textContent = N ? N.emptyScript : "";
|
340
|
-
for (let $ = 0; $ < u; $++) i.append(l[$],
|
341
|
-
i.append(l[u],
|
343
|
+
for (let $ = 0; $ < u; $++) i.append(l[$], C()), g.nextNode(), h.push({ type: 2, index: ++o });
|
344
|
+
i.append(l[u], C());
|
342
345
|
}
|
343
346
|
}
|
344
347
|
} else if (i.nodeType === 8) if (i.data === it) h.push({ type: 2, index: o });
|
@@ -350,7 +353,7 @@ class U {
|
|
350
353
|
}
|
351
354
|
}
|
352
355
|
static createElement(t, e) {
|
353
|
-
const s =
|
356
|
+
const s = y.createElement("template");
|
354
357
|
return s.innerHTML = t, s;
|
355
358
|
}
|
356
359
|
}
|
@@ -358,10 +361,10 @@ function E(r, t, e = r, s) {
|
|
358
361
|
var n, a;
|
359
362
|
if (t === v) return t;
|
360
363
|
let i = s !== void 0 ? (n = e._$Co) == null ? void 0 : n[s] : e._$Cl;
|
361
|
-
const o =
|
364
|
+
const o = P(t) ? void 0 : t._$litDirective$;
|
362
365
|
return (i == null ? void 0 : i.constructor) !== o && ((a = i == null ? void 0 : i._$AO) == null || a.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 = E(r, i._$AS(r, t.values), i, s)), t;
|
363
366
|
}
|
364
|
-
class
|
367
|
+
class yt {
|
365
368
|
constructor(t, e) {
|
366
369
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
367
370
|
}
|
@@ -372,17 +375,17 @@ class mt {
|
|
372
375
|
return this._$AM._$AU;
|
373
376
|
}
|
374
377
|
u(t) {
|
375
|
-
const { el: { content: e }, parts: s } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ??
|
378
|
+
const { el: { content: e }, parts: s } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? y).importNode(e, !0);
|
376
379
|
g.currentNode = i;
|
377
380
|
let o = g.nextNode(), n = 0, a = 0, h = s[0];
|
378
381
|
for (; h !== void 0; ) {
|
379
382
|
if (n === h.index) {
|
380
383
|
let c;
|
381
|
-
h.type === 2 ? c = new x(o, o.nextSibling, this, t) : h.type === 1 ? c = new h.ctor(o, h.name, h.strings, this, t) : h.type === 6 && (c = new
|
384
|
+
h.type === 2 ? c = new x(o, o.nextSibling, this, t) : h.type === 1 ? c = new h.ctor(o, h.name, h.strings, this, t) : h.type === 6 && (c = new bt(o, this, t)), this._$AV.push(c), h = s[++a];
|
382
385
|
}
|
383
386
|
n !== (h == null ? void 0 : h.index) && (o = g.nextNode(), n++);
|
384
387
|
}
|
385
|
-
return g.currentNode =
|
388
|
+
return g.currentNode = y, i;
|
386
389
|
}
|
387
390
|
p(t) {
|
388
391
|
let e = 0;
|
@@ -409,7 +412,7 @@ class x {
|
|
409
412
|
return this._$AB;
|
410
413
|
}
|
411
414
|
_$AI(t, e = this) {
|
412
|
-
t = E(this, t, e),
|
415
|
+
t = E(this, t, e), P(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== v && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : At(t) ? this.k(t) : this._(t);
|
413
416
|
}
|
414
417
|
O(t) {
|
415
418
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
@@ -418,14 +421,14 @@ class x {
|
|
418
421
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
419
422
|
}
|
420
423
|
_(t) {
|
421
|
-
this._$AH !== d &&
|
424
|
+
this._$AH !== d && P(this._$AH) ? this._$AA.nextSibling.data = t : this.T(y.createTextNode(t)), this._$AH = t;
|
422
425
|
}
|
423
426
|
$(t) {
|
424
427
|
var o;
|
425
428
|
const { values: e, _$litType$: s } = t, i = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = U.createElement(ot(s.h, s.h[0]), this.options)), s);
|
426
429
|
if (((o = this._$AH) == null ? void 0 : o._$AD) === i) this._$AH.p(e);
|
427
430
|
else {
|
428
|
-
const n = new
|
431
|
+
const n = new yt(i, this), a = n.u(this.options);
|
429
432
|
n.p(e), this.T(a), this._$AH = n;
|
430
433
|
}
|
431
434
|
}
|
@@ -434,10 +437,10 @@ class x {
|
|
434
437
|
return e === void 0 && Y.set(t.strings, e = new U(t)), e;
|
435
438
|
}
|
436
439
|
k(t) {
|
437
|
-
|
440
|
+
q(this._$AH) || (this._$AH = [], this._$AR());
|
438
441
|
const e = this._$AH;
|
439
442
|
let s, i = 0;
|
440
|
-
for (const o of t) i === e.length ? e.push(s = new x(this.O(
|
443
|
+
for (const o of t) i === e.length ? e.push(s = new x(this.O(C()), this.O(C()), this, this.options)) : s = e[i], s._$AI(o), i++;
|
441
444
|
i < e.length && (this._$AR(s && s._$AB.nextSibling, i), e.length = i);
|
442
445
|
}
|
443
446
|
_$AR(t = this._$AA.nextSibling, e) {
|
@@ -465,11 +468,11 @@ class R {
|
|
465
468
|
_$AI(t, e = this, s, i) {
|
466
469
|
const o = this.strings;
|
467
470
|
let n = !1;
|
468
|
-
if (o === void 0) t = E(this, t, e, 0), n = !
|
471
|
+
if (o === void 0) t = E(this, t, e, 0), n = !P(t) || t !== this._$AH && t !== v, n && (this._$AH = t);
|
469
472
|
else {
|
470
473
|
const a = t;
|
471
474
|
let h, c;
|
472
|
-
for (t = o[0], h = 0; h < o.length - 1; h++) c = E(this, a[s + h], e, h), c === v && (c = this._$AH[h]), n || (n = !
|
475
|
+
for (t = o[0], h = 0; h < o.length - 1; h++) c = E(this, a[s + h], e, h), c === v && (c = this._$AH[h]), n || (n = !P(c) || c !== this._$AH[h]), c === d ? t = d : t !== d && (t += (c ?? "") + o[h + 1]), this._$AH[h] = c;
|
473
476
|
}
|
474
477
|
n && !i && this.j(t);
|
475
478
|
}
|
@@ -477,7 +480,7 @@ class R {
|
|
477
480
|
t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
478
481
|
}
|
479
482
|
}
|
480
|
-
class
|
483
|
+
class mt extends R {
|
481
484
|
constructor() {
|
482
485
|
super(...arguments), this.type = 3;
|
483
486
|
}
|
@@ -507,7 +510,7 @@ class Et extends R {
|
|
507
510
|
typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
|
508
511
|
}
|
509
512
|
}
|
510
|
-
class
|
513
|
+
class bt {
|
511
514
|
constructor(t, e, s) {
|
512
515
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
|
513
516
|
}
|
@@ -518,14 +521,14 @@ class St {
|
|
518
521
|
E(this, t);
|
519
522
|
}
|
520
523
|
}
|
521
|
-
const
|
522
|
-
|
523
|
-
const
|
524
|
+
const j = w.litHtmlPolyfillSupport;
|
525
|
+
j == null || j(U, x), (w.litHtmlVersions ?? (w.litHtmlVersions = [])).push("3.2.1");
|
526
|
+
const St = (r, t, e) => {
|
524
527
|
const s = (e == null ? void 0 : e.renderBefore) ?? t;
|
525
528
|
let i = s._$litPart$;
|
526
529
|
if (i === void 0) {
|
527
530
|
const o = (e == null ? void 0 : e.renderBefore) ?? null;
|
528
|
-
s._$litPart$ = i = new x(t.insertBefore(
|
531
|
+
s._$litPart$ = i = new x(t.insertBefore(C(), o), o, void 0, e ?? {});
|
529
532
|
}
|
530
533
|
return i._$AI(r), i;
|
531
534
|
};
|
@@ -534,7 +537,7 @@ const bt = (r, t, e) => {
|
|
534
537
|
* Copyright 2017 Google LLC
|
535
538
|
* SPDX-License-Identifier: BSD-3-Clause
|
536
539
|
*/
|
537
|
-
let
|
540
|
+
let M = class extends m {
|
538
541
|
constructor() {
|
539
542
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
540
543
|
}
|
@@ -545,7 +548,7 @@ let H = class extends y {
|
|
545
548
|
}
|
546
549
|
update(t) {
|
547
550
|
const e = this.render();
|
548
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
551
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = St(e, this.renderRoot, this.renderOptions);
|
549
552
|
}
|
550
553
|
connectedCallback() {
|
551
554
|
var t;
|
@@ -560,25 +563,25 @@ let H = class extends y {
|
|
560
563
|
}
|
561
564
|
};
|
562
565
|
var tt;
|
563
|
-
|
564
|
-
const
|
565
|
-
|
566
|
+
M._$litElement$ = !0, M.finalized = !0, (tt = globalThis.litElementHydrateSupport) == null || tt.call(globalThis, { LitElement: M });
|
567
|
+
const L = globalThis.litElementPolyfillSupport;
|
568
|
+
L == null || L({ LitElement: M });
|
566
569
|
(globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
|
567
570
|
/**
|
568
571
|
* @license
|
569
572
|
* Copyright 2017 Google LLC
|
570
573
|
* SPDX-License-Identifier: BSD-3-Clause
|
571
574
|
*/
|
572
|
-
const wt = { attribute: !0, type: String, converter:
|
575
|
+
const wt = { attribute: !0, type: String, converter: H, reflect: !1, hasChanged: I }, Ct = (r = wt, t, e) => {
|
573
576
|
const { kind: s, metadata: i } = e;
|
574
577
|
let o = globalThis.litPropertyMetadata.get(i);
|
575
|
-
if (o === void 0 && globalThis.litPropertyMetadata.set(i, o = /* @__PURE__ */ new Map()), o.set(e.name, r), s === "accessor") {
|
578
|
+
if (o === void 0 && globalThis.litPropertyMetadata.set(i, o = /* @__PURE__ */ new Map()), s === "setter" && ((r = Object.create(r)).wrapped = !0), o.set(e.name, r), s === "accessor") {
|
576
579
|
const { name: n } = e;
|
577
580
|
return { set(a) {
|
578
581
|
const h = t.get.call(this);
|
579
582
|
t.set.call(this, a), this.requestUpdate(n, h, r);
|
580
583
|
}, init(a) {
|
581
|
-
return a !== void 0 && this.
|
584
|
+
return a !== void 0 && this.C(n, void 0, r, a), a;
|
582
585
|
} };
|
583
586
|
}
|
584
587
|
if (s === "setter") {
|
@@ -590,21 +593,21 @@ const wt = { attribute: !0, type: String, converter: M, reflect: !1, hasChanged:
|
|
590
593
|
}
|
591
594
|
throw Error("Unsupported decorator location: " + s);
|
592
595
|
};
|
593
|
-
function
|
594
|
-
return (t, e) => typeof e == "object" ?
|
596
|
+
function Ht(r) {
|
597
|
+
return (t, e) => typeof e == "object" ? Ct(r, t, e) : ((s, i, o) => {
|
595
598
|
const n = i.hasOwnProperty(o);
|
596
|
-
return i.constructor.createProperty(o,
|
599
|
+
return i.constructor.createProperty(o, s), n ? Object.getOwnPropertyDescriptor(i, o) : void 0;
|
597
600
|
})(r, t, e);
|
598
601
|
}
|
599
602
|
export {
|
600
|
-
|
603
|
+
St as B,
|
601
604
|
d as E,
|
602
605
|
v as T,
|
603
|
-
|
606
|
+
M as a,
|
604
607
|
Tt as b,
|
605
608
|
I as f,
|
606
609
|
Ut as i,
|
607
|
-
|
610
|
+
Ht as n,
|
608
611
|
ht as r,
|
609
612
|
Ot as x
|
610
613
|
};
|
@@ -0,0 +1,42 @@
|
|
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
|
+
"use strict";/**
|
21
|
+
* @license
|
22
|
+
* Copyright 2019 Google LLC
|
23
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
24
|
+
*/const M=globalThis,B=M.ShadowRoot&&(M.ShadyCSS===void 0||M.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,I=Symbol(),V=new WeakMap;let et=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==I)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(B&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=V.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&V.set(e,t))}return t}toString(){return this.cssText}};const st=r=>new et(typeof r=="string"?r:r+"",void 0,I),lt=(r,...t)=>{const e=r.length===1?r[0]:t.reduce((s,i,o)=>s+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+r[o+1],r[0]);return new et(e,r,I)},ct=(r,t)=>{if(B)r.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),i=M.litNonce;i!==void 0&&s.setAttribute("nonce",i),s.textContent=e.cssText,r.appendChild(s)}},W=B?r=>r:r=>r instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return st(e)})(r):r;/**
|
25
|
+
* @license
|
26
|
+
* Copyright 2017 Google LLC
|
27
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
28
|
+
*/const{is:dt,defineProperty:pt,getOwnPropertyDescriptor:ut,getOwnPropertyNames:$t,getOwnPropertySymbols:_t,getPrototypeOf:ft}=Object,f=globalThis,J=f.trustedTypes,At=J?J.emptyScript:"",D=f.reactiveElementPolyfillSupport,S=(r,t)=>r,H={toAttribute(r,t){switch(t){case Boolean:r=r?At:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,t){let e=r;switch(t){case Boolean:e=r!==null;break;case Number:e=r===null?null:Number(r);break;case Object:case Array:try{e=JSON.parse(r)}catch{e=null}}return e}},R=(r,t)=>!dt(r,t),K={attribute:!0,type:String,converter:H,reflect:!1,useDefault:!1,hasChanged:R};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),f.litPropertyMetadata??(f.litPropertyMetadata=new WeakMap);let v=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=K){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);i!==void 0&&pt(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:o}=ut(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get:i,set(n){const a=i==null?void 0:i.call(this);o==null||o.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??K}static _$Ei(){if(this.hasOwnProperty(S("elementProperties")))return;const t=ft(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(S("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(S("properties"))){const e=this.properties,s=[...$t(e),..._t(e)];for(const i of s)this.createProperty(i,e[i])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,i]of e)this.elementProperties.set(s,i)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const i=this._$Eu(e,s);i!==void 0&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const i of s)e.unshift(W(i))}else t!==void 0&&e.push(W(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ct(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostConnected)==null?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){var o;const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(i!==void 0&&s.reflect===!0){const n=(((o=s.converter)==null?void 0:o.toAttribute)!==void 0?s.converter:H).toAttribute(e,s.type);this._$Em=t,n==null?this.removeAttribute(i):this.setAttribute(i,n),this._$Em=null}}_$AK(t,e){var o,n;const s=this.constructor,i=s._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const a=s.getPropertyOptions(i),h=typeof a.converter=="function"?{fromAttribute:a.converter}:((o=a.converter)==null?void 0:o.fromAttribute)!==void 0?a.converter:H;this._$Em=i,this[i]=h.fromAttribute(e,a.type)??((n=this._$Ej)==null?void 0:n.get(i))??null,this._$Em=null}}requestUpdate(t,e,s){var i;if(t!==void 0){const o=this.constructor,n=this[t];if(s??(s=o.getPropertyOptions(t)),!((s.hasChanged??R)(n,e)||s.useDefault&&s.reflect&&n===((i=this._$Ej)==null?void 0:i.get(t))&&!this.hasAttribute(o._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:o},n){s&&!(this._$Ej??(this._$Ej=new Map)).has(t)&&(this._$Ej.set(t,n??e??this[t]),o!==!0||n!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),i===!0&&this._$Em!==t&&(this._$Eq??(this._$Eq=new Set)).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[o,n]of this._$Ep)this[o]=n;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[o,n]of i){const{wrapped:a}=n,h=this[o];a!==!0||this._$AL.has(o)||h===void 0||this.C(o,void 0,n,h)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(s=this._$EO)==null||s.forEach(i=>{var o;return(o=i.hostUpdate)==null?void 0:o.call(i)}),this.update(e)):this._$EM()}catch(i){throw t=!1,this._$EM(),i}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var i;return(i=s.hostUpdated)==null?void 0:i.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&(this._$Eq=this._$Eq.forEach(e=>this._$ET(e,this[e]))),this._$EM()}updated(t){}firstUpdated(t){}};v.elementStyles=[],v.shadowRootOptions={mode:"open"},v[S("elementProperties")]=new Map,v[S("finalized")]=new Map,D==null||D({ReactiveElement:v}),(f.reactiveElementVersions??(f.reactiveElementVersions=[])).push("2.1.0");/**
|
29
|
+
* @license
|
30
|
+
* Copyright 2017 Google LLC
|
31
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
32
|
+
*/const w=globalThis,N=w.trustedTypes,Z=N?N.createPolicy("lit-html",{createHTML:r=>r}):void 0,it="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,rt="?"+_,gt=`<${rt}>`,y=document,P=()=>y.createComment(""),U=r=>r===null||typeof r!="object"&&typeof r!="function",q=Array.isArray,yt=r=>q(r)||typeof(r==null?void 0:r[Symbol.iterator])=="function",j=`[
|
33
|
+
\f\r]`,b=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,F=/-->/g,G=/>/g,A=RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^
|
34
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Q=/'/g,X=/"/g,nt=/^(?:script|style|textarea|title)$/i,ot=r=>(t,...e)=>({_$litType$:r,strings:t,values:e}),mt=ot(1),vt=ot(2),m=Symbol.for("lit-noChange"),c=Symbol.for("lit-nothing"),Y=new WeakMap,g=y.createTreeWalker(y,129);function ht(r,t){if(!q(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Z!==void 0?Z.createHTML(t):t}const Et=(r,t)=>{const e=r.length-1,s=[];let i,o=t===2?"<svg>":t===3?"<math>":"",n=b;for(let a=0;a<e;a++){const h=r[a];let d,p,l=-1,u=0;for(;u<h.length&&(n.lastIndex=u,p=n.exec(h),p!==null);)u=n.lastIndex,n===b?p[1]==="!--"?n=F:p[1]!==void 0?n=G:p[2]!==void 0?(nt.test(p[2])&&(i=RegExp("</"+p[2],"g")),n=A):p[3]!==void 0&&(n=A):n===A?p[0]===">"?(n=i??b,l=-1):p[1]===void 0?l=-2:(l=n.lastIndex-p[2].length,d=p[1],n=p[3]===void 0?A:p[3]==='"'?X:Q):n===X||n===Q?n=A:n===F||n===G?n=b:(n=A,i=void 0);const $=n===A&&r[a+1].startsWith("/>")?" ":"";o+=n===b?h+gt:l>=0?(s.push(d),h.slice(0,l)+it+h.slice(l)+_+$):h+_+(l===-2?a:$)}return[ht(r,o+(r[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]};class x{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let o=0,n=0;const a=t.length-1,h=this.parts,[d,p]=Et(t,e);if(this.el=x.createElement(d,s),g.currentNode=this.el.content,e===2||e===3){const l=this.el.content.firstChild;l.replaceWith(...l.childNodes)}for(;(i=g.nextNode())!==null&&h.length<a;){if(i.nodeType===1){if(i.hasAttributes())for(const l of i.getAttributeNames())if(l.endsWith(it)){const u=p[n++],$=i.getAttribute(l).split(_),T=/([.?@])?(.*)/.exec(u);h.push({type:1,index:o,name:T[2],strings:$,ctor:T[1]==="."?St:T[1]==="?"?wt:T[1]==="@"?Ct:k}),i.removeAttribute(l)}else l.startsWith(_)&&(h.push({type:6,index:o}),i.removeAttribute(l));if(nt.test(i.tagName)){const l=i.textContent.split(_),u=l.length-1;if(u>0){i.textContent=N?N.emptyScript:"";for(let $=0;$<u;$++)i.append(l[$],P()),g.nextNode(),h.push({type:2,index:++o});i.append(l[u],P())}}}else if(i.nodeType===8)if(i.data===rt)h.push({type:2,index:o});else{let l=-1;for(;(l=i.data.indexOf(_,l+1))!==-1;)h.push({type:7,index:o}),l+=_.length-1}o++}}static createElement(t,e){const s=y.createElement("template");return s.innerHTML=t,s}}function E(r,t,e=r,s){var n,a;if(t===m)return t;let i=s!==void 0?(n=e._$Co)==null?void 0:n[s]:e._$Cl;const o=U(t)?void 0:t._$litDirective$;return(i==null?void 0:i.constructor)!==o&&((a=i==null?void 0:i._$AO)==null||a.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=E(r,i._$AS(r,t.values),i,s)),t}class bt{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=((t==null?void 0:t.creationScope)??y).importNode(e,!0);g.currentNode=i;let o=g.nextNode(),n=0,a=0,h=s[0];for(;h!==void 0;){if(n===h.index){let d;h.type===2?d=new O(o,o.nextSibling,this,t):h.type===1?d=new h.ctor(o,h.name,h.strings,this,t):h.type===6&&(d=new Pt(o,this,t)),this._$AV.push(d),h=s[++a]}n!==(h==null?void 0:h.index)&&(o=g.nextNode(),n++)}return g.currentNode=y,i}p(t){let e=0;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++}}class O{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=c,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}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=E(this,t,e),U(t)?t===c||t==null||t===""?(this._$AH!==c&&this._$AR(),this._$AH=c):t!==this._$AH&&t!==m&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):yt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==c&&U(this._$AH)?this._$AA.nextSibling.data=t:this.T(y.createTextNode(t)),this._$AH=t}$(t){var o;const{values:e,_$litType$:s}=t,i=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=x.createElement(ht(s.h,s.h[0]),this.options)),s);if(((o=this._$AH)==null?void 0:o._$AD)===i)this._$AH.p(e);else{const n=new bt(i,this),a=n.u(this.options);n.p(e),this.T(a),this._$AH=n}}_$AC(t){let e=Y.get(t.strings);return e===void 0&&Y.set(t.strings,e=new x(t)),e}k(t){q(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const o of t)i===e.length?e.push(s=new O(this.O(P()),this.O(P()),this,this.options)):s=e[i],s._$AI(o),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.call(this,!1,!0,e);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,o){this.type=1,this._$AH=c,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=c}_$AI(t,e=this,s,i){const o=this.strings;let n=!1;if(o===void 0)t=E(this,t,e,0),n=!U(t)||t!==this._$AH&&t!==m,n&&(this._$AH=t);else{const a=t;let h,d;for(t=o[0],h=0;h<o.length-1;h++)d=E(this,a[s+h],e,h),d===m&&(d=this._$AH[h]),n||(n=!U(d)||d!==this._$AH[h]),d===c?t=c:t!==c&&(t+=(d??"")+o[h+1]),this._$AH[h]=d}n&&!i&&this.j(t)}j(t){t===c?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class St extends k{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===c?void 0:t}}class wt extends k{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==c)}}class Ct extends k{constructor(t,e,s,i,o){super(t,e,s,i,o),this.type=5}_$AI(t,e=this){if((t=E(this,t,e,0)??c)===m)return;const s=this._$AH,i=t===c&&s!==c||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,o=t!==c&&(s===c||i);i&&this.element.removeEventListener(this.name,this,s),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;typeof this._$AH=="function"?this._$AH.call(((e=this.options)==null?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class Pt{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){E(this,t)}}const L=w.litHtmlPolyfillSupport;L==null||L(x,O),(w.litHtmlVersions??(w.litHtmlVersions=[])).push("3.2.1");const at=(r,t,e)=>{const s=(e==null?void 0:e.renderBefore)??t;let i=s._$litPart$;if(i===void 0){const o=(e==null?void 0:e.renderBefore)??null;s._$litPart$=i=new O(t.insertBefore(P(),o),o,void 0,e??{})}return i._$AI(r),i};/**
|
35
|
+
* @license
|
36
|
+
* Copyright 2017 Google LLC
|
37
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
38
|
+
*/let C=class extends v{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e;const t=super.createRenderRoot();return(e=this.renderOptions).renderBefore??(e.renderBefore=t.firstChild),t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=at(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return m}};var tt;C._$litElement$=!0,C.finalized=!0,(tt=globalThis.litElementHydrateSupport)==null||tt.call(globalThis,{LitElement:C});const z=globalThis.litElementPolyfillSupport;z==null||z({LitElement:C});(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.1.1");/**
|
39
|
+
* @license
|
40
|
+
* Copyright 2017 Google LLC
|
41
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
42
|
+
*/const Ut={attribute:!0,type:String,converter:H,reflect:!1,hasChanged:R},xt=(r=Ut,t,e)=>{const{kind:s,metadata:i}=e;let o=globalThis.litPropertyMetadata.get(i);if(o===void 0&&globalThis.litPropertyMetadata.set(i,o=new Map),s==="setter"&&((r=Object.create(r)).wrapped=!0),o.set(e.name,r),s==="accessor"){const{name:n}=e;return{set(a){const h=t.get.call(this);t.set.call(this,a),this.requestUpdate(n,h,r)},init(a){return a!==void 0&&this.C(n,void 0,r,a),a}}}if(s==="setter"){const{name:n}=e;return function(a){const h=this[n];t.call(this,a),this.requestUpdate(n,h,r)}}throw Error("Unsupported decorator location: "+s)};function Ot(r){return(t,e)=>typeof e=="object"?xt(r,t,e):((s,i,o)=>{const n=i.hasOwnProperty(o);return i.constructor.createProperty(o,s),n?Object.getOwnPropertyDescriptor(i,o):void 0})(r,t,e)}exports.B=at;exports.E=c;exports.T=m;exports.b=vt;exports.f=R;exports.i=lt;exports.n=Ot;exports.r=st;exports.r$1=C;exports.x=mt;
|
@@ -17,4 +17,4 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";const p=require("./property-
|
20
|
+
"use strict";const p=require("./property-BV1QaY8E.cjs");var u=Object.defineProperty,h=Object.getOwnPropertyDescriptor,_=(r,i,t,n)=>{for(var e=h(i,t),z=r.length-1,s;z>=0;z--)(s=r[z])&&(e=s(i,t,e)||e);return e&&u(i,t,e),e};const d={xxs:"xxs",xs:"xs",s:"s",m:"m",l:"l",xl:"xl",xxl:"xxl"};function a(r,{validSizes:i=["s","m","l","xl"],noDefaultSize:t,defaultSize:n="m"}={}){class e extends r{constructor(){super(...arguments),this._size=n}get size(){return this._size||n}set size(s){const c=t?null:n,o=s&&s.toLocaleLowerCase(),l=i.includes(o)?o:c;if(l&&this.setAttribute("size",l),this._size===l)return;const x=this._size;this._size=l,this.requestUpdate("size",x)}update(s){!this.hasAttribute("size")&&!t&&this.setAttribute("size",this.size),super.update(s)}}return _([p.n({type:String})],e.prototype,"size"),e}exports.ElementSizes=d;exports.SizedMixin=a;
|
@@ -17,7 +17,7 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
import { n as p } from "./property-
|
20
|
+
import { n as p } from "./property-BFMfZY1k.js";
|
21
21
|
var u = Object.defineProperty, h = Object.getOwnPropertyDescriptor, a = (r, i, t, n) => {
|
22
22
|
for (var s = h(i, t), o = r.length - 1, e; o >= 0; o--)
|
23
23
|
(e = r[o]) && (s = e(i, t, s) || s);
|