@luzmo/embed 6.1.1 → 6.1.2
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/index.cjs +24 -30
- package/index.js +7 -15
- package/libs/dashboard-contents-types/src/lib/area-chart/area-chart-options.d.ts +1 -1
- package/libs/dashboard-contents-types/src/lib/bar-chart/bar-chart-options.d.ts +1 -1
- package/libs/dashboard-contents-types/src/lib/box-plot/box-plot-options.d.ts +1 -1
- package/libs/dashboard-contents-types/src/lib/bubble-chart/bubble-chart-options.d.ts +1 -1
- package/libs/dashboard-contents-types/src/lib/bullet-chart/bullet-chart-options.d.ts +1 -1
- package/libs/dashboard-contents-types/src/lib/column-chart/column-chart-options.d.ts +1 -1
- package/libs/dashboard-contents-types/src/lib/combination-chart/combination-chart-options.d.ts +1 -1
- package/libs/dashboard-contents-types/src/lib/conditional-number/conditional-number-options.d.ts +1 -1
- package/libs/dashboard-contents-types/src/lib/donut-chart/donut-chart-options.d.ts +1 -1
- package/libs/dashboard-contents-types/src/lib/evolution-number/evolution-number-options.d.ts +1 -1
- package/libs/dashboard-contents-types/src/lib/funnel-chart/funnel-chart-options.d.ts +1 -1
- package/libs/dashboard-contents-types/src/lib/line-chart/line-chart-options.d.ts +1 -1
- package/libs/dashboard-contents-types/src/lib/scatter-plot/scatter-plot-options.d.ts +1 -1
- package/luzmo-embed.min.js +404 -411
- package/package.json +1 -1
package/luzmo-embed.min.js
CHANGED
|
@@ -1561,7 +1561,7 @@ var require_dataType = __commonJS({
|
|
|
1561
1561
|
exports.coerceAndCheckDataType = coerceAndCheckDataType;
|
|
1562
1562
|
var COERCIBLE = /* @__PURE__ */ new Set(["string", "number", "integer", "boolean", "null"]);
|
|
1563
1563
|
function coerceToTypes(types, coerceTypes) {
|
|
1564
|
-
return coerceTypes ? types.filter((
|
|
1564
|
+
return coerceTypes ? types.filter((t3) => COERCIBLE.has(t3) || coerceTypes === "array" && t3 === "array") : [];
|
|
1565
1565
|
}
|
|
1566
1566
|
function coerceData(it, types, coerceTo) {
|
|
1567
1567
|
const { gen, data, opts } = it;
|
|
@@ -1571,9 +1571,9 @@ var require_dataType = __commonJS({
|
|
|
1571
1571
|
gen.if((0, codegen_1._)`${dataType} == 'object' && Array.isArray(${data}) && ${data}.length == 1`, () => gen.assign(data, (0, codegen_1._)`${data}[0]`).assign(dataType, (0, codegen_1._)`typeof ${data}`).if(checkDataTypes(types, data, opts.strictNumbers), () => gen.assign(coerced, data)));
|
|
1572
1572
|
}
|
|
1573
1573
|
gen.if((0, codegen_1._)`${coerced} !== undefined`);
|
|
1574
|
-
for (const
|
|
1575
|
-
if (COERCIBLE.has(
|
|
1576
|
-
coerceSpecificType(
|
|
1574
|
+
for (const t3 of coerceTo) {
|
|
1575
|
+
if (COERCIBLE.has(t3) || t3 === "array" && opts.coerceTypes === "array") {
|
|
1576
|
+
coerceSpecificType(t3);
|
|
1577
1577
|
}
|
|
1578
1578
|
}
|
|
1579
1579
|
gen.else();
|
|
@@ -1583,8 +1583,8 @@ var require_dataType = __commonJS({
|
|
|
1583
1583
|
gen.assign(data, coerced);
|
|
1584
1584
|
assignParentData(it, coerced);
|
|
1585
1585
|
});
|
|
1586
|
-
function coerceSpecificType(
|
|
1587
|
-
switch (
|
|
1586
|
+
function coerceSpecificType(t3) {
|
|
1587
|
+
switch (t3) {
|
|
1588
1588
|
case "string":
|
|
1589
1589
|
gen.elseIf((0, codegen_1._)`${dataType} == "number" || ${dataType} == "boolean"`).assign(coerced, (0, codegen_1._)`"" + ${data}`).elseIf((0, codegen_1._)`${data} === null`).assign(coerced, (0, codegen_1._)`""`);
|
|
1590
1590
|
return;
|
|
@@ -1656,8 +1656,8 @@ var require_dataType = __commonJS({
|
|
|
1656
1656
|
}
|
|
1657
1657
|
if (types.number)
|
|
1658
1658
|
delete types.integer;
|
|
1659
|
-
for (const
|
|
1660
|
-
cond = (0, codegen_1.and)(cond, checkDataType(
|
|
1659
|
+
for (const t3 in types)
|
|
1660
|
+
cond = (0, codegen_1.and)(cond, checkDataType(t3, data, strictNums, correct));
|
|
1661
1661
|
return cond;
|
|
1662
1662
|
}
|
|
1663
1663
|
exports.checkDataTypes = checkDataTypes;
|
|
@@ -2582,9 +2582,9 @@ var require_validate = __commonJS({
|
|
|
2582
2582
|
it.dataTypes = types;
|
|
2583
2583
|
return;
|
|
2584
2584
|
}
|
|
2585
|
-
types.forEach((
|
|
2586
|
-
if (!includesType(it.dataTypes,
|
|
2587
|
-
strictTypesError(it, `type "${
|
|
2585
|
+
types.forEach((t3) => {
|
|
2586
|
+
if (!includesType(it.dataTypes, t3)) {
|
|
2587
|
+
strictTypesError(it, `type "${t3}" not allowed by context "${it.dataTypes.join(",")}"`);
|
|
2588
2588
|
}
|
|
2589
2589
|
});
|
|
2590
2590
|
narrowSchemaTypes(it, types);
|
|
@@ -2600,7 +2600,7 @@ var require_validate = __commonJS({
|
|
|
2600
2600
|
const rule = rules[keyword];
|
|
2601
2601
|
if (typeof rule == "object" && (0, applicability_1.shouldUseRule)(it.schema, rule)) {
|
|
2602
2602
|
const { type } = rule.definition;
|
|
2603
|
-
if (type.length && !type.some((
|
|
2603
|
+
if (type.length && !type.some((t3) => hasApplicableType(ts, t3))) {
|
|
2604
2604
|
strictTypesError(it, `missing type "${type.join(",")}" for keyword "${keyword}"`);
|
|
2605
2605
|
}
|
|
2606
2606
|
}
|
|
@@ -2609,15 +2609,15 @@ var require_validate = __commonJS({
|
|
|
2609
2609
|
function hasApplicableType(schTs, kwdT) {
|
|
2610
2610
|
return schTs.includes(kwdT) || kwdT === "number" && schTs.includes("integer");
|
|
2611
2611
|
}
|
|
2612
|
-
function includesType(ts,
|
|
2613
|
-
return ts.includes(
|
|
2612
|
+
function includesType(ts, t3) {
|
|
2613
|
+
return ts.includes(t3) || t3 === "integer" && ts.includes("number");
|
|
2614
2614
|
}
|
|
2615
2615
|
function narrowSchemaTypes(it, withTypes) {
|
|
2616
2616
|
const ts = [];
|
|
2617
|
-
for (const
|
|
2618
|
-
if (includesType(withTypes,
|
|
2619
|
-
ts.push(
|
|
2620
|
-
else if (withTypes.includes("integer") &&
|
|
2617
|
+
for (const t3 of it.dataTypes) {
|
|
2618
|
+
if (includesType(withTypes, t3))
|
|
2619
|
+
ts.push(t3);
|
|
2620
|
+
else if (withTypes.includes("integer") && t3 === "number")
|
|
2621
2621
|
ts.push("integer");
|
|
2622
2622
|
}
|
|
2623
2623
|
it.dataTypes = ts;
|
|
@@ -4186,7 +4186,7 @@ var require_core = __commonJS({
|
|
|
4186
4186
|
type: (0, dataType_1.getJSONTypes)(def.type),
|
|
4187
4187
|
schemaType: (0, dataType_1.getJSONTypes)(def.schemaType)
|
|
4188
4188
|
};
|
|
4189
|
-
(0, util_1.eachItem)(keyword, definition.type.length === 0 ? (k2) => addRule.call(this, k2, definition) : (k2) => definition.type.forEach((
|
|
4189
|
+
(0, util_1.eachItem)(keyword, definition.type.length === 0 ? (k2) => addRule.call(this, k2, definition) : (k2) => definition.type.forEach((t3) => addRule.call(this, k2, definition, t3)));
|
|
4190
4190
|
return this;
|
|
4191
4191
|
}
|
|
4192
4192
|
getKeyword(keyword) {
|
|
@@ -4385,7 +4385,7 @@ var require_core = __commonJS({
|
|
|
4385
4385
|
if (dataType && post)
|
|
4386
4386
|
throw new Error('keyword with "post" flag cannot have "type"');
|
|
4387
4387
|
const { RULES } = this;
|
|
4388
|
-
let ruleGroup = post ? RULES.post : RULES.rules.find(({ type:
|
|
4388
|
+
let ruleGroup = post ? RULES.post : RULES.rules.find(({ type: t3 }) => t3 === dataType);
|
|
4389
4389
|
if (!ruleGroup) {
|
|
4390
4390
|
ruleGroup = { type: dataType, rules: [] };
|
|
4391
4391
|
RULES.rules.push(ruleGroup);
|
|
@@ -4924,7 +4924,7 @@ var require_uniqueItems = __commonJS({
|
|
|
4924
4924
|
gen.if((0, codegen_1._)`${i4} > 1`, () => (canOptimize() ? loopN : loopN2)(i4, j2));
|
|
4925
4925
|
}
|
|
4926
4926
|
function canOptimize() {
|
|
4927
|
-
return itemTypes.length > 0 && !itemTypes.some((
|
|
4927
|
+
return itemTypes.length > 0 && !itemTypes.some((t3) => t3 === "object" || t3 === "array");
|
|
4928
4928
|
}
|
|
4929
4929
|
function loopN(i4, j2) {
|
|
4930
4930
|
const item = gen.name("item");
|
|
@@ -61006,7 +61006,7 @@ var formatDashboardList = (dashboards, integrationId, user, dashboardComponent)
|
|
|
61006
61006
|
modifiedAt: dashboard.modified_at,
|
|
61007
61007
|
name: localize(dashboard.name, dashboardComponent.language),
|
|
61008
61008
|
slug: null,
|
|
61009
|
-
tags: dashboard.tags.map((
|
|
61009
|
+
tags: dashboard.tags.map((t3) => t3.tag).sort((t1, t22) => t1.localeCompare(t22))
|
|
61010
61010
|
};
|
|
61011
61011
|
const currentIntegration = dashboard.integrations.find(
|
|
61012
61012
|
(i4) => i4.id === integrationId
|
|
@@ -62064,63 +62064,56 @@ async function loadLibrary(appServer, componentName = "DashboardApp") {
|
|
|
62064
62064
|
return wrappedModule;
|
|
62065
62065
|
}
|
|
62066
62066
|
|
|
62067
|
-
// node_modules/@lit/reactive-element/decorators/custom-element.js
|
|
62068
|
-
var t = (t4) => (e6, o4) => {
|
|
62069
|
-
void 0 !== o4 ? o4.addInitializer(() => {
|
|
62070
|
-
customElements.define(t4, e6);
|
|
62071
|
-
}) : customElements.define(t4, e6);
|
|
62072
|
-
};
|
|
62073
|
-
|
|
62074
62067
|
// node_modules/@lit/reactive-element/css-tag.js
|
|
62075
|
-
var
|
|
62076
|
-
var e =
|
|
62068
|
+
var t = globalThis;
|
|
62069
|
+
var e = t.ShadowRoot && (void 0 === t.ShadyCSS || t.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype;
|
|
62077
62070
|
var s = Symbol();
|
|
62078
62071
|
var o = /* @__PURE__ */ new WeakMap();
|
|
62079
62072
|
var n = class {
|
|
62080
|
-
constructor(
|
|
62073
|
+
constructor(t3, e6, o4) {
|
|
62081
62074
|
if (this._$cssResult$ = true, o4 !== s)
|
|
62082
62075
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
62083
|
-
this.cssText =
|
|
62076
|
+
this.cssText = t3, this.t = e6;
|
|
62084
62077
|
}
|
|
62085
62078
|
get styleSheet() {
|
|
62086
|
-
let
|
|
62079
|
+
let t3 = this.o;
|
|
62087
62080
|
const s2 = this.t;
|
|
62088
|
-
if (e && void 0 ===
|
|
62081
|
+
if (e && void 0 === t3) {
|
|
62089
62082
|
const e6 = void 0 !== s2 && 1 === s2.length;
|
|
62090
|
-
e6 && (
|
|
62083
|
+
e6 && (t3 = o.get(s2)), void 0 === t3 && ((this.o = t3 = new CSSStyleSheet()).replaceSync(this.cssText), e6 && o.set(s2, t3));
|
|
62091
62084
|
}
|
|
62092
|
-
return
|
|
62085
|
+
return t3;
|
|
62093
62086
|
}
|
|
62094
62087
|
toString() {
|
|
62095
62088
|
return this.cssText;
|
|
62096
62089
|
}
|
|
62097
62090
|
};
|
|
62098
|
-
var r = (
|
|
62099
|
-
var i = (
|
|
62100
|
-
const o4 = 1 ===
|
|
62101
|
-
if (true ===
|
|
62102
|
-
return
|
|
62103
|
-
if ("number" == typeof
|
|
62104
|
-
return
|
|
62105
|
-
throw Error("Value passed to 'css' function must be a 'css' function result: " +
|
|
62106
|
-
})(s2) +
|
|
62107
|
-
return new n(o4,
|
|
62091
|
+
var r = (t3) => new n("string" == typeof t3 ? t3 : t3 + "", void 0, s);
|
|
62092
|
+
var i = (t3, ...e6) => {
|
|
62093
|
+
const o4 = 1 === t3.length ? t3[0] : e6.reduce((e7, s2, o5) => e7 + ((t4) => {
|
|
62094
|
+
if (true === t4._$cssResult$)
|
|
62095
|
+
return t4.cssText;
|
|
62096
|
+
if ("number" == typeof t4)
|
|
62097
|
+
return t4;
|
|
62098
|
+
throw Error("Value passed to 'css' function must be a 'css' function result: " + t4 + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
62099
|
+
})(s2) + t3[o5 + 1], t3[0]);
|
|
62100
|
+
return new n(o4, t3, s);
|
|
62108
62101
|
};
|
|
62109
62102
|
var S = (s2, o4) => {
|
|
62110
62103
|
if (e)
|
|
62111
|
-
s2.adoptedStyleSheets = o4.map((
|
|
62104
|
+
s2.adoptedStyleSheets = o4.map((t3) => t3 instanceof CSSStyleSheet ? t3 : t3.styleSheet);
|
|
62112
62105
|
else
|
|
62113
62106
|
for (const e6 of o4) {
|
|
62114
|
-
const o5 = document.createElement("style"), n5 =
|
|
62107
|
+
const o5 = document.createElement("style"), n5 = t.litNonce;
|
|
62115
62108
|
void 0 !== n5 && o5.setAttribute("nonce", n5), o5.textContent = e6.cssText, s2.appendChild(o5);
|
|
62116
62109
|
}
|
|
62117
62110
|
};
|
|
62118
|
-
var c = e ? (
|
|
62111
|
+
var c = e ? (t3) => t3 : (t3) => t3 instanceof CSSStyleSheet ? ((t4) => {
|
|
62119
62112
|
let e6 = "";
|
|
62120
|
-
for (const s2 of
|
|
62113
|
+
for (const s2 of t4.cssRules)
|
|
62121
62114
|
e6 += s2.cssText;
|
|
62122
62115
|
return r(e6);
|
|
62123
|
-
})(
|
|
62116
|
+
})(t3) : t3;
|
|
62124
62117
|
|
|
62125
62118
|
// node_modules/@lit/reactive-element/reactive-element.js
|
|
62126
62119
|
var { is: i2, defineProperty: e2, getOwnPropertyDescriptor: r2, getOwnPropertyNames: h, getOwnPropertySymbols: o2, getPrototypeOf: n2 } = Object;
|
|
@@ -62128,93 +62121,93 @@ var a = globalThis;
|
|
|
62128
62121
|
var c2 = a.trustedTypes;
|
|
62129
62122
|
var l = c2 ? c2.emptyScript : "";
|
|
62130
62123
|
var p = a.reactiveElementPolyfillSupport;
|
|
62131
|
-
var d = (
|
|
62132
|
-
var u = { toAttribute(
|
|
62124
|
+
var d = (t3, s2) => t3;
|
|
62125
|
+
var u = { toAttribute(t3, s2) {
|
|
62133
62126
|
switch (s2) {
|
|
62134
62127
|
case Boolean:
|
|
62135
|
-
|
|
62128
|
+
t3 = t3 ? l : null;
|
|
62136
62129
|
break;
|
|
62137
62130
|
case Object:
|
|
62138
62131
|
case Array:
|
|
62139
|
-
|
|
62132
|
+
t3 = null == t3 ? t3 : JSON.stringify(t3);
|
|
62140
62133
|
}
|
|
62141
|
-
return
|
|
62142
|
-
}, fromAttribute(
|
|
62143
|
-
let i4 =
|
|
62134
|
+
return t3;
|
|
62135
|
+
}, fromAttribute(t3, s2) {
|
|
62136
|
+
let i4 = t3;
|
|
62144
62137
|
switch (s2) {
|
|
62145
62138
|
case Boolean:
|
|
62146
|
-
i4 = null !==
|
|
62139
|
+
i4 = null !== t3;
|
|
62147
62140
|
break;
|
|
62148
62141
|
case Number:
|
|
62149
|
-
i4 = null ===
|
|
62142
|
+
i4 = null === t3 ? null : Number(t3);
|
|
62150
62143
|
break;
|
|
62151
62144
|
case Object:
|
|
62152
62145
|
case Array:
|
|
62153
62146
|
try {
|
|
62154
|
-
i4 = JSON.parse(
|
|
62155
|
-
} catch (
|
|
62147
|
+
i4 = JSON.parse(t3);
|
|
62148
|
+
} catch (t4) {
|
|
62156
62149
|
i4 = null;
|
|
62157
62150
|
}
|
|
62158
62151
|
}
|
|
62159
62152
|
return i4;
|
|
62160
62153
|
} };
|
|
62161
|
-
var f = (
|
|
62154
|
+
var f = (t3, s2) => !i2(t3, s2);
|
|
62162
62155
|
var y = { attribute: true, type: String, converter: u, reflect: false, hasChanged: f };
|
|
62163
62156
|
Symbol.metadata ??= Symbol("metadata"), a.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
62164
62157
|
var b = class extends HTMLElement {
|
|
62165
|
-
static addInitializer(
|
|
62166
|
-
this._$Ei(), (this.l ??= []).push(
|
|
62158
|
+
static addInitializer(t3) {
|
|
62159
|
+
this._$Ei(), (this.l ??= []).push(t3);
|
|
62167
62160
|
}
|
|
62168
62161
|
static get observedAttributes() {
|
|
62169
62162
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
62170
62163
|
}
|
|
62171
|
-
static createProperty(
|
|
62172
|
-
if (s2.state && (s2.attribute = false), this._$Ei(), this.elementProperties.set(
|
|
62173
|
-
const i4 = Symbol(), r5 = this.getPropertyDescriptor(
|
|
62174
|
-
void 0 !== r5 && e2(this.prototype,
|
|
62164
|
+
static createProperty(t3, s2 = y) {
|
|
62165
|
+
if (s2.state && (s2.attribute = false), this._$Ei(), this.elementProperties.set(t3, s2), !s2.noAccessor) {
|
|
62166
|
+
const i4 = Symbol(), r5 = this.getPropertyDescriptor(t3, i4, s2);
|
|
62167
|
+
void 0 !== r5 && e2(this.prototype, t3, r5);
|
|
62175
62168
|
}
|
|
62176
62169
|
}
|
|
62177
|
-
static getPropertyDescriptor(
|
|
62178
|
-
const { get: e6, set: h4 } = r2(this.prototype,
|
|
62170
|
+
static getPropertyDescriptor(t3, s2, i4) {
|
|
62171
|
+
const { get: e6, set: h4 } = r2(this.prototype, t3) ?? { get() {
|
|
62179
62172
|
return this[s2];
|
|
62180
|
-
}, set(
|
|
62181
|
-
this[s2] =
|
|
62173
|
+
}, set(t4) {
|
|
62174
|
+
this[s2] = t4;
|
|
62182
62175
|
} };
|
|
62183
62176
|
return { get() {
|
|
62184
62177
|
return e6?.call(this);
|
|
62185
62178
|
}, set(s3) {
|
|
62186
62179
|
const r5 = e6?.call(this);
|
|
62187
|
-
h4.call(this, s3), this.requestUpdate(
|
|
62180
|
+
h4.call(this, s3), this.requestUpdate(t3, r5, i4);
|
|
62188
62181
|
}, configurable: true, enumerable: true };
|
|
62189
62182
|
}
|
|
62190
|
-
static getPropertyOptions(
|
|
62191
|
-
return this.elementProperties.get(
|
|
62183
|
+
static getPropertyOptions(t3) {
|
|
62184
|
+
return this.elementProperties.get(t3) ?? y;
|
|
62192
62185
|
}
|
|
62193
62186
|
static _$Ei() {
|
|
62194
62187
|
if (this.hasOwnProperty(d("elementProperties")))
|
|
62195
62188
|
return;
|
|
62196
|
-
const
|
|
62197
|
-
|
|
62189
|
+
const t3 = n2(this);
|
|
62190
|
+
t3.finalize(), void 0 !== t3.l && (this.l = [...t3.l]), this.elementProperties = new Map(t3.elementProperties);
|
|
62198
62191
|
}
|
|
62199
62192
|
static finalize() {
|
|
62200
62193
|
if (this.hasOwnProperty(d("finalized")))
|
|
62201
62194
|
return;
|
|
62202
62195
|
if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d("properties"))) {
|
|
62203
|
-
const
|
|
62196
|
+
const t4 = this.properties, s2 = [...h(t4), ...o2(t4)];
|
|
62204
62197
|
for (const i4 of s2)
|
|
62205
|
-
this.createProperty(i4,
|
|
62198
|
+
this.createProperty(i4, t4[i4]);
|
|
62206
62199
|
}
|
|
62207
|
-
const
|
|
62208
|
-
if (null !==
|
|
62209
|
-
const s2 = litPropertyMetadata.get(
|
|
62200
|
+
const t3 = this[Symbol.metadata];
|
|
62201
|
+
if (null !== t3) {
|
|
62202
|
+
const s2 = litPropertyMetadata.get(t3);
|
|
62210
62203
|
if (void 0 !== s2)
|
|
62211
|
-
for (const [
|
|
62212
|
-
this.elementProperties.set(
|
|
62204
|
+
for (const [t4, i4] of s2)
|
|
62205
|
+
this.elementProperties.set(t4, i4);
|
|
62213
62206
|
}
|
|
62214
62207
|
this._$Eh = /* @__PURE__ */ new Map();
|
|
62215
|
-
for (const [
|
|
62216
|
-
const i4 = this._$Eu(
|
|
62217
|
-
void 0 !== i4 && this._$Eh.set(i4,
|
|
62208
|
+
for (const [t4, s2] of this.elementProperties) {
|
|
62209
|
+
const i4 = this._$Eu(t4, s2);
|
|
62210
|
+
void 0 !== i4 && this._$Eh.set(i4, t4);
|
|
62218
62211
|
}
|
|
62219
62212
|
this.elementStyles = this.finalizeStyles(this.styles);
|
|
62220
62213
|
}
|
|
@@ -62228,77 +62221,77 @@ var b = class extends HTMLElement {
|
|
|
62228
62221
|
void 0 !== s2 && i4.push(c(s2));
|
|
62229
62222
|
return i4;
|
|
62230
62223
|
}
|
|
62231
|
-
static _$Eu(
|
|
62224
|
+
static _$Eu(t3, s2) {
|
|
62232
62225
|
const i4 = s2.attribute;
|
|
62233
|
-
return false === i4 ? void 0 : "string" == typeof i4 ? i4 : "string" == typeof
|
|
62226
|
+
return false === i4 ? void 0 : "string" == typeof i4 ? i4 : "string" == typeof t3 ? t3.toLowerCase() : void 0;
|
|
62234
62227
|
}
|
|
62235
62228
|
constructor() {
|
|
62236
62229
|
super(), this._$Ep = void 0, this.isUpdatePending = false, this.hasUpdated = false, this._$Em = null, this._$Ev();
|
|
62237
62230
|
}
|
|
62238
62231
|
_$Ev() {
|
|
62239
|
-
this._$ES = new Promise((
|
|
62232
|
+
this._$ES = new Promise((t3) => this.enableUpdating = t3), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach((t3) => t3(this));
|
|
62240
62233
|
}
|
|
62241
|
-
addController(
|
|
62242
|
-
(this._$EO ??= /* @__PURE__ */ new Set()).add(
|
|
62234
|
+
addController(t3) {
|
|
62235
|
+
(this._$EO ??= /* @__PURE__ */ new Set()).add(t3), void 0 !== this.renderRoot && this.isConnected && t3.hostConnected?.();
|
|
62243
62236
|
}
|
|
62244
|
-
removeController(
|
|
62245
|
-
this._$EO?.delete(
|
|
62237
|
+
removeController(t3) {
|
|
62238
|
+
this._$EO?.delete(t3);
|
|
62246
62239
|
}
|
|
62247
62240
|
_$E_() {
|
|
62248
|
-
const
|
|
62241
|
+
const t3 = /* @__PURE__ */ new Map(), s2 = this.constructor.elementProperties;
|
|
62249
62242
|
for (const i4 of s2.keys())
|
|
62250
|
-
this.hasOwnProperty(i4) && (
|
|
62251
|
-
|
|
62243
|
+
this.hasOwnProperty(i4) && (t3.set(i4, this[i4]), delete this[i4]);
|
|
62244
|
+
t3.size > 0 && (this._$Ep = t3);
|
|
62252
62245
|
}
|
|
62253
62246
|
createRenderRoot() {
|
|
62254
|
-
const
|
|
62255
|
-
return S(
|
|
62247
|
+
const t3 = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
62248
|
+
return S(t3, this.constructor.elementStyles), t3;
|
|
62256
62249
|
}
|
|
62257
62250
|
connectedCallback() {
|
|
62258
|
-
this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(true), this._$EO?.forEach((
|
|
62251
|
+
this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(true), this._$EO?.forEach((t3) => t3.hostConnected?.());
|
|
62259
62252
|
}
|
|
62260
|
-
enableUpdating(
|
|
62253
|
+
enableUpdating(t3) {
|
|
62261
62254
|
}
|
|
62262
62255
|
disconnectedCallback() {
|
|
62263
|
-
this._$EO?.forEach((
|
|
62256
|
+
this._$EO?.forEach((t3) => t3.hostDisconnected?.());
|
|
62264
62257
|
}
|
|
62265
|
-
attributeChangedCallback(
|
|
62266
|
-
this._$AK(
|
|
62258
|
+
attributeChangedCallback(t3, s2, i4) {
|
|
62259
|
+
this._$AK(t3, i4);
|
|
62267
62260
|
}
|
|
62268
|
-
_$EC(
|
|
62269
|
-
const i4 = this.constructor.elementProperties.get(
|
|
62261
|
+
_$EC(t3, s2) {
|
|
62262
|
+
const i4 = this.constructor.elementProperties.get(t3), e6 = this.constructor._$Eu(t3, i4);
|
|
62270
62263
|
if (void 0 !== e6 && true === i4.reflect) {
|
|
62271
62264
|
const r5 = (void 0 !== i4.converter?.toAttribute ? i4.converter : u).toAttribute(s2, i4.type);
|
|
62272
|
-
this._$Em =
|
|
62265
|
+
this._$Em = t3, null == r5 ? this.removeAttribute(e6) : this.setAttribute(e6, r5), this._$Em = null;
|
|
62273
62266
|
}
|
|
62274
62267
|
}
|
|
62275
|
-
_$AK(
|
|
62276
|
-
const i4 = this.constructor, e6 = i4._$Eh.get(
|
|
62268
|
+
_$AK(t3, s2) {
|
|
62269
|
+
const i4 = this.constructor, e6 = i4._$Eh.get(t3);
|
|
62277
62270
|
if (void 0 !== e6 && this._$Em !== e6) {
|
|
62278
|
-
const
|
|
62279
|
-
this._$Em = e6, this[e6] = r5.fromAttribute(s2,
|
|
62271
|
+
const t4 = i4.getPropertyOptions(e6), r5 = "function" == typeof t4.converter ? { fromAttribute: t4.converter } : void 0 !== t4.converter?.fromAttribute ? t4.converter : u;
|
|
62272
|
+
this._$Em = e6, this[e6] = r5.fromAttribute(s2, t4.type), this._$Em = null;
|
|
62280
62273
|
}
|
|
62281
62274
|
}
|
|
62282
|
-
requestUpdate(
|
|
62283
|
-
if (void 0 !==
|
|
62284
|
-
if (i4 ??= this.constructor.getPropertyOptions(
|
|
62275
|
+
requestUpdate(t3, s2, i4) {
|
|
62276
|
+
if (void 0 !== t3) {
|
|
62277
|
+
if (i4 ??= this.constructor.getPropertyOptions(t3), !(i4.hasChanged ?? f)(this[t3], s2))
|
|
62285
62278
|
return;
|
|
62286
|
-
this.P(
|
|
62279
|
+
this.P(t3, s2, i4);
|
|
62287
62280
|
}
|
|
62288
62281
|
false === this.isUpdatePending && (this._$ES = this._$ET());
|
|
62289
62282
|
}
|
|
62290
|
-
P(
|
|
62291
|
-
this._$AL.has(
|
|
62283
|
+
P(t3, s2, i4) {
|
|
62284
|
+
this._$AL.has(t3) || this._$AL.set(t3, s2), true === i4.reflect && this._$Em !== t3 && (this._$Ej ??= /* @__PURE__ */ new Set()).add(t3);
|
|
62292
62285
|
}
|
|
62293
62286
|
async _$ET() {
|
|
62294
62287
|
this.isUpdatePending = true;
|
|
62295
62288
|
try {
|
|
62296
62289
|
await this._$ES;
|
|
62297
|
-
} catch (
|
|
62298
|
-
Promise.reject(
|
|
62290
|
+
} catch (t4) {
|
|
62291
|
+
Promise.reject(t4);
|
|
62299
62292
|
}
|
|
62300
|
-
const
|
|
62301
|
-
return null !=
|
|
62293
|
+
const t3 = this.scheduleUpdate();
|
|
62294
|
+
return null != t3 && await t3, !this.isUpdatePending;
|
|
62302
62295
|
}
|
|
62303
62296
|
scheduleUpdate() {
|
|
62304
62297
|
return this.performUpdate();
|
|
@@ -62308,28 +62301,28 @@ var b = class extends HTMLElement {
|
|
|
62308
62301
|
return;
|
|
62309
62302
|
if (!this.hasUpdated) {
|
|
62310
62303
|
if (this.renderRoot ??= this.createRenderRoot(), this._$Ep) {
|
|
62311
|
-
for (const [
|
|
62312
|
-
this[
|
|
62304
|
+
for (const [t5, s3] of this._$Ep)
|
|
62305
|
+
this[t5] = s3;
|
|
62313
62306
|
this._$Ep = void 0;
|
|
62314
62307
|
}
|
|
62315
|
-
const
|
|
62316
|
-
if (
|
|
62317
|
-
for (const [s3, i4] of
|
|
62308
|
+
const t4 = this.constructor.elementProperties;
|
|
62309
|
+
if (t4.size > 0)
|
|
62310
|
+
for (const [s3, i4] of t4)
|
|
62318
62311
|
true !== i4.wrapped || this._$AL.has(s3) || void 0 === this[s3] || this.P(s3, this[s3], i4);
|
|
62319
62312
|
}
|
|
62320
|
-
let
|
|
62313
|
+
let t3 = false;
|
|
62321
62314
|
const s2 = this._$AL;
|
|
62322
62315
|
try {
|
|
62323
|
-
|
|
62316
|
+
t3 = this.shouldUpdate(s2), t3 ? (this.willUpdate(s2), this._$EO?.forEach((t4) => t4.hostUpdate?.()), this.update(s2)) : this._$EU();
|
|
62324
62317
|
} catch (s3) {
|
|
62325
|
-
throw
|
|
62318
|
+
throw t3 = false, this._$EU(), s3;
|
|
62326
62319
|
}
|
|
62327
|
-
|
|
62320
|
+
t3 && this._$AE(s2);
|
|
62328
62321
|
}
|
|
62329
|
-
willUpdate(
|
|
62322
|
+
willUpdate(t3) {
|
|
62330
62323
|
}
|
|
62331
|
-
_$AE(
|
|
62332
|
-
this._$EO?.forEach((
|
|
62324
|
+
_$AE(t3) {
|
|
62325
|
+
this._$EO?.forEach((t4) => t4.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t3)), this.updated(t3);
|
|
62333
62326
|
}
|
|
62334
62327
|
_$EU() {
|
|
62335
62328
|
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = false;
|
|
@@ -62340,94 +62333,32 @@ var b = class extends HTMLElement {
|
|
|
62340
62333
|
getUpdateComplete() {
|
|
62341
62334
|
return this._$ES;
|
|
62342
62335
|
}
|
|
62343
|
-
shouldUpdate(
|
|
62336
|
+
shouldUpdate(t3) {
|
|
62344
62337
|
return true;
|
|
62345
62338
|
}
|
|
62346
|
-
update(
|
|
62347
|
-
this._$Ej &&= this._$Ej.forEach((
|
|
62339
|
+
update(t3) {
|
|
62340
|
+
this._$Ej &&= this._$Ej.forEach((t4) => this._$EC(t4, this[t4])), this._$EU();
|
|
62348
62341
|
}
|
|
62349
|
-
updated(
|
|
62342
|
+
updated(t3) {
|
|
62350
62343
|
}
|
|
62351
|
-
firstUpdated(
|
|
62344
|
+
firstUpdated(t3) {
|
|
62352
62345
|
}
|
|
62353
62346
|
};
|
|
62354
62347
|
b.elementStyles = [], b.shadowRootOptions = { mode: "open" }, b[d("elementProperties")] = /* @__PURE__ */ new Map(), b[d("finalized")] = /* @__PURE__ */ new Map(), p?.({ ReactiveElement: b }), (a.reactiveElementVersions ??= []).push("2.0.4");
|
|
62355
62348
|
|
|
62356
|
-
// node_modules/@lit/reactive-element/decorators/property.js
|
|
62357
|
-
var o3 = { attribute: true, type: String, converter: u, reflect: false, hasChanged: f };
|
|
62358
|
-
var r3 = (t4 = o3, e6, r5) => {
|
|
62359
|
-
const { kind: n5, metadata: i4 } = r5;
|
|
62360
|
-
let s2 = globalThis.litPropertyMetadata.get(i4);
|
|
62361
|
-
if (void 0 === s2 && globalThis.litPropertyMetadata.set(i4, s2 = /* @__PURE__ */ new Map()), s2.set(r5.name, t4), "accessor" === n5) {
|
|
62362
|
-
const { name: o4 } = r5;
|
|
62363
|
-
return { set(r6) {
|
|
62364
|
-
const n6 = e6.get.call(this);
|
|
62365
|
-
e6.set.call(this, r6), this.requestUpdate(o4, n6, t4);
|
|
62366
|
-
}, init(e7) {
|
|
62367
|
-
return void 0 !== e7 && this.P(o4, void 0, t4), e7;
|
|
62368
|
-
} };
|
|
62369
|
-
}
|
|
62370
|
-
if ("setter" === n5) {
|
|
62371
|
-
const { name: o4 } = r5;
|
|
62372
|
-
return function(r6) {
|
|
62373
|
-
const n6 = this[o4];
|
|
62374
|
-
e6.call(this, r6), this.requestUpdate(o4, n6, t4);
|
|
62375
|
-
};
|
|
62376
|
-
}
|
|
62377
|
-
throw Error("Unsupported decorator location: " + n5);
|
|
62378
|
-
};
|
|
62379
|
-
function n3(t4) {
|
|
62380
|
-
return (e6, o4) => "object" == typeof o4 ? r3(t4, e6, o4) : ((t5, e7, o5) => {
|
|
62381
|
-
const r5 = e7.hasOwnProperty(o5);
|
|
62382
|
-
return e7.constructor.createProperty(o5, r5 ? { ...t5, wrapped: true } : t5), r5 ? Object.getOwnPropertyDescriptor(e7, o5) : void 0;
|
|
62383
|
-
})(t4, e6, o4);
|
|
62384
|
-
}
|
|
62385
|
-
|
|
62386
|
-
// node_modules/@lit/reactive-element/decorators/state.js
|
|
62387
|
-
function r4(r5) {
|
|
62388
|
-
return n3({ ...r5, state: true, attribute: false });
|
|
62389
|
-
}
|
|
62390
|
-
|
|
62391
|
-
// node_modules/@lit/reactive-element/decorators/base.js
|
|
62392
|
-
var e3 = (e6, t4, c4) => (c4.configurable = true, c4.enumerable = true, Reflect.decorate && "object" != typeof t4 && Object.defineProperty(e6, t4, c4), c4);
|
|
62393
|
-
|
|
62394
|
-
// node_modules/@lit/reactive-element/decorators/query.js
|
|
62395
|
-
function e4(e6, r5) {
|
|
62396
|
-
return (n5, s2, i4) => {
|
|
62397
|
-
const o4 = (t4) => t4.renderRoot?.querySelector(e6) ?? null;
|
|
62398
|
-
if (r5) {
|
|
62399
|
-
const { get: e7, set: r6 } = "object" == typeof s2 ? n5 : i4 ?? (() => {
|
|
62400
|
-
const t4 = Symbol();
|
|
62401
|
-
return { get() {
|
|
62402
|
-
return this[t4];
|
|
62403
|
-
}, set(e8) {
|
|
62404
|
-
this[t4] = e8;
|
|
62405
|
-
} };
|
|
62406
|
-
})();
|
|
62407
|
-
return e3(n5, s2, { get() {
|
|
62408
|
-
let t4 = e7.call(this);
|
|
62409
|
-
return void 0 === t4 && (t4 = o4(this), (null !== t4 || this.hasUpdated) && r6.call(this, t4)), t4;
|
|
62410
|
-
} });
|
|
62411
|
-
}
|
|
62412
|
-
return e3(n5, s2, { get() {
|
|
62413
|
-
return o4(this);
|
|
62414
|
-
} });
|
|
62415
|
-
};
|
|
62416
|
-
}
|
|
62417
|
-
|
|
62418
62349
|
// node_modules/lit-html/lit-html.js
|
|
62419
|
-
var
|
|
62420
|
-
var c3 =
|
|
62421
|
-
var h2 = c3 ? c3.createPolicy("lit-html", { createHTML: (
|
|
62350
|
+
var n3 = globalThis;
|
|
62351
|
+
var c3 = n3.trustedTypes;
|
|
62352
|
+
var h2 = c3 ? c3.createPolicy("lit-html", { createHTML: (t3) => t3 }) : void 0;
|
|
62422
62353
|
var f2 = "$lit$";
|
|
62423
62354
|
var v = `lit$${Math.random().toFixed(9).slice(2)}$`;
|
|
62424
62355
|
var m = "?" + v;
|
|
62425
62356
|
var _ = `<${m}>`;
|
|
62426
62357
|
var w = document;
|
|
62427
62358
|
var lt = () => w.createComment("");
|
|
62428
|
-
var st = (
|
|
62359
|
+
var st = (t3) => null === t3 || "object" != typeof t3 && "function" != typeof t3;
|
|
62429
62360
|
var g = Array.isArray;
|
|
62430
|
-
var $ = (
|
|
62361
|
+
var $ = (t3) => g(t3) || "function" == typeof t3?.[Symbol.iterator];
|
|
62431
62362
|
var x = "[ \n\f\r]";
|
|
62432
62363
|
var T = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g;
|
|
62433
62364
|
var E = /-->/g;
|
|
@@ -62437,7 +62368,7 @@ var O = RegExp(`>|${x}(?:([^\\s"'>=/]+)(${x}*=${x}*(?:[^
|
|
|
62437
62368
|
var S2 = /'/g;
|
|
62438
62369
|
var j = /"/g;
|
|
62439
62370
|
var M = /^(?:script|style|textarea|title)$/i;
|
|
62440
|
-
var P = (
|
|
62371
|
+
var P = (t3) => (i4, ...s2) => ({ _$litType$: t3, strings: i4, values: s2 });
|
|
62441
62372
|
var ke = P(1);
|
|
62442
62373
|
var Oe = P(2);
|
|
62443
62374
|
var Se = P(3);
|
|
@@ -62445,78 +62376,78 @@ var R = Symbol.for("lit-noChange");
|
|
|
62445
62376
|
var D = Symbol.for("lit-nothing");
|
|
62446
62377
|
var V = /* @__PURE__ */ new WeakMap();
|
|
62447
62378
|
var I = w.createTreeWalker(w, 129);
|
|
62448
|
-
function N(
|
|
62449
|
-
if (!g(
|
|
62379
|
+
function N(t3, i4) {
|
|
62380
|
+
if (!g(t3) || !t3.hasOwnProperty("raw"))
|
|
62450
62381
|
throw Error("invalid template strings array");
|
|
62451
62382
|
return void 0 !== h2 ? h2.createHTML(i4) : i4;
|
|
62452
62383
|
}
|
|
62453
|
-
var U = (
|
|
62454
|
-
const s2 =
|
|
62384
|
+
var U = (t3, i4) => {
|
|
62385
|
+
const s2 = t3.length - 1, e6 = [];
|
|
62455
62386
|
let h4, o4 = 2 === i4 ? "<svg>" : 3 === i4 ? "<math>" : "", n5 = T;
|
|
62456
62387
|
for (let i5 = 0; i5 < s2; i5++) {
|
|
62457
|
-
const s3 =
|
|
62388
|
+
const s3 = t3[i5];
|
|
62458
62389
|
let r5, l2, c4 = -1, a2 = 0;
|
|
62459
62390
|
for (; a2 < s3.length && (n5.lastIndex = a2, l2 = n5.exec(s3), null !== l2); )
|
|
62460
62391
|
a2 = n5.lastIndex, n5 === T ? "!--" === l2[1] ? n5 = E : void 0 !== l2[1] ? n5 = k : void 0 !== l2[2] ? (M.test(l2[2]) && (h4 = RegExp("</" + l2[2], "g")), n5 = O) : void 0 !== l2[3] && (n5 = O) : n5 === O ? ">" === l2[0] ? (n5 = h4 ?? T, c4 = -1) : void 0 === l2[1] ? c4 = -2 : (c4 = n5.lastIndex - l2[2].length, r5 = l2[1], n5 = void 0 === l2[3] ? O : '"' === l2[3] ? j : S2) : n5 === j || n5 === S2 ? n5 = O : n5 === E || n5 === k ? n5 = T : (n5 = O, h4 = void 0);
|
|
62461
|
-
const u2 = n5 === O &&
|
|
62392
|
+
const u2 = n5 === O && t3[i5 + 1].startsWith("/>") ? " " : "";
|
|
62462
62393
|
o4 += n5 === T ? s3 + _ : c4 >= 0 ? (e6.push(r5), s3.slice(0, c4) + f2 + s3.slice(c4) + v + u2) : s3 + v + (-2 === c4 ? i5 : u2);
|
|
62463
62394
|
}
|
|
62464
|
-
return [N(
|
|
62395
|
+
return [N(t3, o4 + (t3[s2] || "<?>") + (2 === i4 ? "</svg>" : 3 === i4 ? "</math>" : "")), e6];
|
|
62465
62396
|
};
|
|
62466
62397
|
var B = class _B {
|
|
62467
|
-
constructor({ strings:
|
|
62398
|
+
constructor({ strings: t3, _$litType$: i4 }, s2) {
|
|
62468
62399
|
let e6;
|
|
62469
62400
|
this.parts = [];
|
|
62470
62401
|
let h4 = 0, o4 = 0;
|
|
62471
|
-
const n5 =
|
|
62402
|
+
const n5 = t3.length - 1, r5 = this.parts, [l2, a2] = U(t3, i4);
|
|
62472
62403
|
if (this.el = _B.createElement(l2, s2), I.currentNode = this.el.content, 2 === i4 || 3 === i4) {
|
|
62473
|
-
const
|
|
62474
|
-
|
|
62404
|
+
const t4 = this.el.content.firstChild;
|
|
62405
|
+
t4.replaceWith(...t4.childNodes);
|
|
62475
62406
|
}
|
|
62476
62407
|
for (; null !== (e6 = I.nextNode()) && r5.length < n5; ) {
|
|
62477
62408
|
if (1 === e6.nodeType) {
|
|
62478
62409
|
if (e6.hasAttributes())
|
|
62479
|
-
for (const
|
|
62480
|
-
if (
|
|
62481
|
-
const i5 = a2[o4++], s3 = e6.getAttribute(
|
|
62482
|
-
r5.push({ type: 1, index: h4, name: n6[2], strings: s3, ctor: "." === n6[1] ? Y : "?" === n6[1] ? Z : "@" === n6[1] ? q : G }), e6.removeAttribute(
|
|
62410
|
+
for (const t4 of e6.getAttributeNames())
|
|
62411
|
+
if (t4.endsWith(f2)) {
|
|
62412
|
+
const i5 = a2[o4++], s3 = e6.getAttribute(t4).split(v), n6 = /([.?@])?(.*)/.exec(i5);
|
|
62413
|
+
r5.push({ type: 1, index: h4, name: n6[2], strings: s3, ctor: "." === n6[1] ? Y : "?" === n6[1] ? Z : "@" === n6[1] ? q : G }), e6.removeAttribute(t4);
|
|
62483
62414
|
} else
|
|
62484
|
-
|
|
62415
|
+
t4.startsWith(v) && (r5.push({ type: 6, index: h4 }), e6.removeAttribute(t4));
|
|
62485
62416
|
if (M.test(e6.tagName)) {
|
|
62486
|
-
const
|
|
62417
|
+
const t4 = e6.textContent.split(v), i5 = t4.length - 1;
|
|
62487
62418
|
if (i5 > 0) {
|
|
62488
62419
|
e6.textContent = c3 ? c3.emptyScript : "";
|
|
62489
62420
|
for (let s3 = 0; s3 < i5; s3++)
|
|
62490
|
-
e6.append(
|
|
62491
|
-
e6.append(
|
|
62421
|
+
e6.append(t4[s3], lt()), I.nextNode(), r5.push({ type: 2, index: ++h4 });
|
|
62422
|
+
e6.append(t4[i5], lt());
|
|
62492
62423
|
}
|
|
62493
62424
|
}
|
|
62494
62425
|
} else if (8 === e6.nodeType)
|
|
62495
62426
|
if (e6.data === m)
|
|
62496
62427
|
r5.push({ type: 2, index: h4 });
|
|
62497
62428
|
else {
|
|
62498
|
-
let
|
|
62499
|
-
for (; -1 !== (
|
|
62500
|
-
r5.push({ type: 7, index: h4 }),
|
|
62429
|
+
let t4 = -1;
|
|
62430
|
+
for (; -1 !== (t4 = e6.data.indexOf(v, t4 + 1)); )
|
|
62431
|
+
r5.push({ type: 7, index: h4 }), t4 += v.length - 1;
|
|
62501
62432
|
}
|
|
62502
62433
|
h4++;
|
|
62503
62434
|
}
|
|
62504
62435
|
}
|
|
62505
|
-
static createElement(
|
|
62436
|
+
static createElement(t3, i4) {
|
|
62506
62437
|
const s2 = w.createElement("template");
|
|
62507
|
-
return s2.innerHTML =
|
|
62438
|
+
return s2.innerHTML = t3, s2;
|
|
62508
62439
|
}
|
|
62509
62440
|
};
|
|
62510
|
-
function z(
|
|
62441
|
+
function z(t3, i4, s2 = t3, e6) {
|
|
62511
62442
|
if (i4 === R)
|
|
62512
62443
|
return i4;
|
|
62513
62444
|
let h4 = void 0 !== e6 ? s2.o?.[e6] : s2.l;
|
|
62514
62445
|
const o4 = st(i4) ? void 0 : i4._$litDirective$;
|
|
62515
|
-
return h4?.constructor !== o4 && (h4?._$AO?.(false), void 0 === o4 ? h4 = void 0 : (h4 = new o4(
|
|
62446
|
+
return h4?.constructor !== o4 && (h4?._$AO?.(false), void 0 === o4 ? h4 = void 0 : (h4 = new o4(t3), h4._$AT(t3, s2, e6)), void 0 !== e6 ? (s2.o ??= [])[e6] = h4 : s2.l = h4), void 0 !== h4 && (i4 = z(t3, h4._$AS(t3, i4.values), h4, e6)), i4;
|
|
62516
62447
|
}
|
|
62517
62448
|
var F = class {
|
|
62518
|
-
constructor(
|
|
62519
|
-
this._$AV = [], this._$AN = void 0, this._$AD =
|
|
62449
|
+
constructor(t3, i4) {
|
|
62450
|
+
this._$AV = [], this._$AN = void 0, this._$AD = t3, this._$AM = i4;
|
|
62520
62451
|
}
|
|
62521
62452
|
get parentNode() {
|
|
62522
62453
|
return this._$AM.parentNode;
|
|
@@ -62524,36 +62455,36 @@ var F = class {
|
|
|
62524
62455
|
get _$AU() {
|
|
62525
62456
|
return this._$AM._$AU;
|
|
62526
62457
|
}
|
|
62527
|
-
u(
|
|
62528
|
-
const { el: { content: i4 }, parts: s2 } = this._$AD, e6 = (
|
|
62458
|
+
u(t3) {
|
|
62459
|
+
const { el: { content: i4 }, parts: s2 } = this._$AD, e6 = (t3?.creationScope ?? w).importNode(i4, true);
|
|
62529
62460
|
I.currentNode = e6;
|
|
62530
62461
|
let h4 = I.nextNode(), o4 = 0, n5 = 0, r5 = s2[0];
|
|
62531
62462
|
for (; void 0 !== r5; ) {
|
|
62532
62463
|
if (o4 === r5.index) {
|
|
62533
62464
|
let i5;
|
|
62534
|
-
2 === r5.type ? i5 = new et(h4, h4.nextSibling, this,
|
|
62465
|
+
2 === r5.type ? i5 = new et(h4, h4.nextSibling, this, t3) : 1 === r5.type ? i5 = new r5.ctor(h4, r5.name, r5.strings, this, t3) : 6 === r5.type && (i5 = new K(h4, this, t3)), this._$AV.push(i5), r5 = s2[++n5];
|
|
62535
62466
|
}
|
|
62536
62467
|
o4 !== r5?.index && (h4 = I.nextNode(), o4++);
|
|
62537
62468
|
}
|
|
62538
62469
|
return I.currentNode = w, e6;
|
|
62539
62470
|
}
|
|
62540
|
-
p(
|
|
62471
|
+
p(t3) {
|
|
62541
62472
|
let i4 = 0;
|
|
62542
62473
|
for (const s2 of this._$AV)
|
|
62543
|
-
void 0 !== s2 && (void 0 !== s2.strings ? (s2._$AI(
|
|
62474
|
+
void 0 !== s2 && (void 0 !== s2.strings ? (s2._$AI(t3, s2, i4), i4 += s2.strings.length - 2) : s2._$AI(t3[i4])), i4++;
|
|
62544
62475
|
}
|
|
62545
62476
|
};
|
|
62546
62477
|
var et = class _et {
|
|
62547
62478
|
get _$AU() {
|
|
62548
62479
|
return this._$AM?._$AU ?? this.v;
|
|
62549
62480
|
}
|
|
62550
|
-
constructor(
|
|
62551
|
-
this.type = 2, this._$AH = D, this._$AN = void 0, this._$AA =
|
|
62481
|
+
constructor(t3, i4, s2, e6) {
|
|
62482
|
+
this.type = 2, this._$AH = D, this._$AN = void 0, this._$AA = t3, this._$AB = i4, this._$AM = s2, this.options = e6, this.v = e6?.isConnected ?? true;
|
|
62552
62483
|
}
|
|
62553
62484
|
get parentNode() {
|
|
62554
|
-
let
|
|
62485
|
+
let t3 = this._$AA.parentNode;
|
|
62555
62486
|
const i4 = this._$AM;
|
|
62556
|
-
return void 0 !== i4 && 11 ===
|
|
62487
|
+
return void 0 !== i4 && 11 === t3?.nodeType && (t3 = i4.parentNode), t3;
|
|
62557
62488
|
}
|
|
62558
62489
|
get startNode() {
|
|
62559
62490
|
return this._$AA;
|
|
@@ -62561,47 +62492,47 @@ var et = class _et {
|
|
|
62561
62492
|
get endNode() {
|
|
62562
62493
|
return this._$AB;
|
|
62563
62494
|
}
|
|
62564
|
-
_$AI(
|
|
62565
|
-
|
|
62495
|
+
_$AI(t3, i4 = this) {
|
|
62496
|
+
t3 = z(this, t3, i4), st(t3) ? t3 === D || null == t3 || "" === t3 ? (this._$AH !== D && this._$AR(), this._$AH = D) : t3 !== this._$AH && t3 !== R && this._(t3) : void 0 !== t3._$litType$ ? this.$(t3) : void 0 !== t3.nodeType ? this.T(t3) : $(t3) ? this.k(t3) : this._(t3);
|
|
62566
62497
|
}
|
|
62567
|
-
O(
|
|
62568
|
-
return this._$AA.parentNode.insertBefore(
|
|
62498
|
+
O(t3) {
|
|
62499
|
+
return this._$AA.parentNode.insertBefore(t3, this._$AB);
|
|
62569
62500
|
}
|
|
62570
|
-
T(
|
|
62571
|
-
this._$AH !==
|
|
62501
|
+
T(t3) {
|
|
62502
|
+
this._$AH !== t3 && (this._$AR(), this._$AH = this.O(t3));
|
|
62572
62503
|
}
|
|
62573
|
-
_(
|
|
62574
|
-
this._$AH !== D && st(this._$AH) ? this._$AA.nextSibling.data =
|
|
62504
|
+
_(t3) {
|
|
62505
|
+
this._$AH !== D && st(this._$AH) ? this._$AA.nextSibling.data = t3 : this.T(w.createTextNode(t3)), this._$AH = t3;
|
|
62575
62506
|
}
|
|
62576
|
-
$(
|
|
62577
|
-
const { values: i4, _$litType$: s2 } =
|
|
62507
|
+
$(t3) {
|
|
62508
|
+
const { values: i4, _$litType$: s2 } = t3, e6 = "number" == typeof s2 ? this._$AC(t3) : (void 0 === s2.el && (s2.el = B.createElement(N(s2.h, s2.h[0]), this.options)), s2);
|
|
62578
62509
|
if (this._$AH?._$AD === e6)
|
|
62579
62510
|
this._$AH.p(i4);
|
|
62580
62511
|
else {
|
|
62581
|
-
const
|
|
62582
|
-
|
|
62512
|
+
const t4 = new F(e6, this), s3 = t4.u(this.options);
|
|
62513
|
+
t4.p(i4), this.T(s3), this._$AH = t4;
|
|
62583
62514
|
}
|
|
62584
62515
|
}
|
|
62585
|
-
_$AC(
|
|
62586
|
-
let i4 = V.get(
|
|
62587
|
-
return void 0 === i4 && V.set(
|
|
62516
|
+
_$AC(t3) {
|
|
62517
|
+
let i4 = V.get(t3.strings);
|
|
62518
|
+
return void 0 === i4 && V.set(t3.strings, i4 = new B(t3)), i4;
|
|
62588
62519
|
}
|
|
62589
|
-
k(
|
|
62520
|
+
k(t3) {
|
|
62590
62521
|
g(this._$AH) || (this._$AH = [], this._$AR());
|
|
62591
62522
|
const i4 = this._$AH;
|
|
62592
62523
|
let s2, e6 = 0;
|
|
62593
|
-
for (const h4 of
|
|
62524
|
+
for (const h4 of t3)
|
|
62594
62525
|
e6 === i4.length ? i4.push(s2 = new _et(this.O(lt()), this.O(lt()), this, this.options)) : s2 = i4[e6], s2._$AI(h4), e6++;
|
|
62595
62526
|
e6 < i4.length && (this._$AR(s2 && s2._$AB.nextSibling, e6), i4.length = e6);
|
|
62596
62527
|
}
|
|
62597
|
-
_$AR(
|
|
62598
|
-
for (this._$AP?.(false, true, i4);
|
|
62599
|
-
const i5 =
|
|
62600
|
-
|
|
62528
|
+
_$AR(t3 = this._$AA.nextSibling, i4) {
|
|
62529
|
+
for (this._$AP?.(false, true, i4); t3 && t3 !== this._$AB; ) {
|
|
62530
|
+
const i5 = t3.nextSibling;
|
|
62531
|
+
t3.remove(), t3 = i5;
|
|
62601
62532
|
}
|
|
62602
62533
|
}
|
|
62603
|
-
setConnected(
|
|
62604
|
-
void 0 === this._$AM && (this.v =
|
|
62534
|
+
setConnected(t3) {
|
|
62535
|
+
void 0 === this._$AM && (this.v = t3, this._$AP?.(t3));
|
|
62605
62536
|
}
|
|
62606
62537
|
};
|
|
62607
62538
|
var G = class {
|
|
@@ -62611,77 +62542,77 @@ var G = class {
|
|
|
62611
62542
|
get _$AU() {
|
|
62612
62543
|
return this._$AM._$AU;
|
|
62613
62544
|
}
|
|
62614
|
-
constructor(
|
|
62615
|
-
this.type = 1, this._$AH = D, this._$AN = void 0, this.element =
|
|
62545
|
+
constructor(t3, i4, s2, e6, h4) {
|
|
62546
|
+
this.type = 1, this._$AH = D, this._$AN = void 0, this.element = t3, this.name = i4, this._$AM = e6, this.options = h4, s2.length > 2 || "" !== s2[0] || "" !== s2[1] ? (this._$AH = Array(s2.length - 1).fill(new String()), this.strings = s2) : this._$AH = D;
|
|
62616
62547
|
}
|
|
62617
|
-
_$AI(
|
|
62548
|
+
_$AI(t3, i4 = this, s2, e6) {
|
|
62618
62549
|
const h4 = this.strings;
|
|
62619
62550
|
let o4 = false;
|
|
62620
62551
|
if (void 0 === h4)
|
|
62621
|
-
|
|
62552
|
+
t3 = z(this, t3, i4, 0), o4 = !st(t3) || t3 !== this._$AH && t3 !== R, o4 && (this._$AH = t3);
|
|
62622
62553
|
else {
|
|
62623
|
-
const e7 =
|
|
62554
|
+
const e7 = t3;
|
|
62624
62555
|
let n5, r5;
|
|
62625
|
-
for (
|
|
62626
|
-
r5 = z(this, e7[s2 + n5], i4, n5), r5 === R && (r5 = this._$AH[n5]), o4 ||= !st(r5) || r5 !== this._$AH[n5], r5 === D ?
|
|
62556
|
+
for (t3 = h4[0], n5 = 0; n5 < h4.length - 1; n5++)
|
|
62557
|
+
r5 = z(this, e7[s2 + n5], i4, n5), r5 === R && (r5 = this._$AH[n5]), o4 ||= !st(r5) || r5 !== this._$AH[n5], r5 === D ? t3 = D : t3 !== D && (t3 += (r5 ?? "") + h4[n5 + 1]), this._$AH[n5] = r5;
|
|
62627
62558
|
}
|
|
62628
|
-
o4 && !e6 && this.j(
|
|
62559
|
+
o4 && !e6 && this.j(t3);
|
|
62629
62560
|
}
|
|
62630
|
-
j(
|
|
62631
|
-
|
|
62561
|
+
j(t3) {
|
|
62562
|
+
t3 === D ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t3 ?? "");
|
|
62632
62563
|
}
|
|
62633
62564
|
};
|
|
62634
62565
|
var Y = class extends G {
|
|
62635
62566
|
constructor() {
|
|
62636
62567
|
super(...arguments), this.type = 3;
|
|
62637
62568
|
}
|
|
62638
|
-
j(
|
|
62639
|
-
this.element[this.name] =
|
|
62569
|
+
j(t3) {
|
|
62570
|
+
this.element[this.name] = t3 === D ? void 0 : t3;
|
|
62640
62571
|
}
|
|
62641
62572
|
};
|
|
62642
62573
|
var Z = class extends G {
|
|
62643
62574
|
constructor() {
|
|
62644
62575
|
super(...arguments), this.type = 4;
|
|
62645
62576
|
}
|
|
62646
|
-
j(
|
|
62647
|
-
this.element.toggleAttribute(this.name, !!
|
|
62577
|
+
j(t3) {
|
|
62578
|
+
this.element.toggleAttribute(this.name, !!t3 && t3 !== D);
|
|
62648
62579
|
}
|
|
62649
62580
|
};
|
|
62650
62581
|
var q = class extends G {
|
|
62651
|
-
constructor(
|
|
62652
|
-
super(
|
|
62582
|
+
constructor(t3, i4, s2, e6, h4) {
|
|
62583
|
+
super(t3, i4, s2, e6, h4), this.type = 5;
|
|
62653
62584
|
}
|
|
62654
|
-
_$AI(
|
|
62655
|
-
if ((
|
|
62585
|
+
_$AI(t3, i4 = this) {
|
|
62586
|
+
if ((t3 = z(this, t3, i4, 0) ?? D) === R)
|
|
62656
62587
|
return;
|
|
62657
|
-
const s2 = this._$AH, e6 =
|
|
62658
|
-
e6 && this.element.removeEventListener(this.name, this, s2), h4 && this.element.addEventListener(this.name, this,
|
|
62588
|
+
const s2 = this._$AH, e6 = t3 === D && s2 !== D || t3.capture !== s2.capture || t3.once !== s2.once || t3.passive !== s2.passive, h4 = t3 !== D && (s2 === D || e6);
|
|
62589
|
+
e6 && this.element.removeEventListener(this.name, this, s2), h4 && this.element.addEventListener(this.name, this, t3), this._$AH = t3;
|
|
62659
62590
|
}
|
|
62660
|
-
handleEvent(
|
|
62661
|
-
"function" == typeof this._$AH ? this._$AH.call(this.options?.host ?? this.element,
|
|
62591
|
+
handleEvent(t3) {
|
|
62592
|
+
"function" == typeof this._$AH ? this._$AH.call(this.options?.host ?? this.element, t3) : this._$AH.handleEvent(t3);
|
|
62662
62593
|
}
|
|
62663
62594
|
};
|
|
62664
62595
|
var K = class {
|
|
62665
|
-
constructor(
|
|
62666
|
-
this.element =
|
|
62596
|
+
constructor(t3, i4, s2) {
|
|
62597
|
+
this.element = t3, this.type = 6, this._$AN = void 0, this._$AM = i4, this.options = s2;
|
|
62667
62598
|
}
|
|
62668
62599
|
get _$AU() {
|
|
62669
62600
|
return this._$AM._$AU;
|
|
62670
62601
|
}
|
|
62671
|
-
_$AI(
|
|
62672
|
-
z(this,
|
|
62602
|
+
_$AI(t3) {
|
|
62603
|
+
z(this, t3);
|
|
62673
62604
|
}
|
|
62674
62605
|
};
|
|
62675
|
-
var Re =
|
|
62676
|
-
Re?.(B, et), (
|
|
62677
|
-
var Q = (
|
|
62606
|
+
var Re = n3.litHtmlPolyfillSupport;
|
|
62607
|
+
Re?.(B, et), (n3.litHtmlVersions ??= []).push("3.2.0");
|
|
62608
|
+
var Q = (t3, i4, s2) => {
|
|
62678
62609
|
const e6 = s2?.renderBefore ?? i4;
|
|
62679
62610
|
let h4 = e6._$litPart$;
|
|
62680
62611
|
if (void 0 === h4) {
|
|
62681
|
-
const
|
|
62682
|
-
e6._$litPart$ = h4 = new et(i4.insertBefore(lt(),
|
|
62612
|
+
const t4 = s2?.renderBefore ?? null;
|
|
62613
|
+
e6._$litPart$ = h4 = new et(i4.insertBefore(lt(), t4), t4, void 0, s2 ?? {});
|
|
62683
62614
|
}
|
|
62684
|
-
return h4._$AI(
|
|
62615
|
+
return h4._$AI(t3), h4;
|
|
62685
62616
|
};
|
|
62686
62617
|
|
|
62687
62618
|
// node_modules/lit-element/lit-element.js
|
|
@@ -62690,12 +62621,12 @@ var h3 = class extends b {
|
|
|
62690
62621
|
super(...arguments), this.renderOptions = { host: this }, this.o = void 0;
|
|
62691
62622
|
}
|
|
62692
62623
|
createRenderRoot() {
|
|
62693
|
-
const
|
|
62694
|
-
return this.renderOptions.renderBefore ??=
|
|
62624
|
+
const t3 = super.createRenderRoot();
|
|
62625
|
+
return this.renderOptions.renderBefore ??= t3.firstChild, t3;
|
|
62695
62626
|
}
|
|
62696
|
-
update(
|
|
62627
|
+
update(t3) {
|
|
62697
62628
|
const e6 = this.render();
|
|
62698
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(
|
|
62629
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t3), this.o = Q(e6, this.renderRoot, this.renderOptions);
|
|
62699
62630
|
}
|
|
62700
62631
|
connectedCallback() {
|
|
62701
62632
|
super.connectedCallback(), this.o?.setConnected(true);
|
|
@@ -62712,22 +62643,84 @@ var f3 = globalThis.litElementPolyfillSupport;
|
|
|
62712
62643
|
f3?.({ LitElement: h3 });
|
|
62713
62644
|
(globalThis.litElementVersions ??= []).push("4.1.0");
|
|
62714
62645
|
|
|
62646
|
+
// node_modules/@lit/reactive-element/decorators/property.js
|
|
62647
|
+
var o3 = { attribute: true, type: String, converter: u, reflect: false, hasChanged: f };
|
|
62648
|
+
var r3 = (t3 = o3, e6, r5) => {
|
|
62649
|
+
const { kind: n5, metadata: i4 } = r5;
|
|
62650
|
+
let s2 = globalThis.litPropertyMetadata.get(i4);
|
|
62651
|
+
if (void 0 === s2 && globalThis.litPropertyMetadata.set(i4, s2 = /* @__PURE__ */ new Map()), s2.set(r5.name, t3), "accessor" === n5) {
|
|
62652
|
+
const { name: o4 } = r5;
|
|
62653
|
+
return { set(r6) {
|
|
62654
|
+
const n6 = e6.get.call(this);
|
|
62655
|
+
e6.set.call(this, r6), this.requestUpdate(o4, n6, t3);
|
|
62656
|
+
}, init(e7) {
|
|
62657
|
+
return void 0 !== e7 && this.P(o4, void 0, t3), e7;
|
|
62658
|
+
} };
|
|
62659
|
+
}
|
|
62660
|
+
if ("setter" === n5) {
|
|
62661
|
+
const { name: o4 } = r5;
|
|
62662
|
+
return function(r6) {
|
|
62663
|
+
const n6 = this[o4];
|
|
62664
|
+
e6.call(this, r6), this.requestUpdate(o4, n6, t3);
|
|
62665
|
+
};
|
|
62666
|
+
}
|
|
62667
|
+
throw Error("Unsupported decorator location: " + n5);
|
|
62668
|
+
};
|
|
62669
|
+
function n4(t3) {
|
|
62670
|
+
return (e6, o4) => "object" == typeof o4 ? r3(t3, e6, o4) : ((t4, e7, o5) => {
|
|
62671
|
+
const r5 = e7.hasOwnProperty(o5);
|
|
62672
|
+
return e7.constructor.createProperty(o5, r5 ? { ...t4, wrapped: true } : t4), r5 ? Object.getOwnPropertyDescriptor(e7, o5) : void 0;
|
|
62673
|
+
})(t3, e6, o4);
|
|
62674
|
+
}
|
|
62675
|
+
|
|
62676
|
+
// node_modules/@lit/reactive-element/decorators/state.js
|
|
62677
|
+
function r4(r5) {
|
|
62678
|
+
return n4({ ...r5, state: true, attribute: false });
|
|
62679
|
+
}
|
|
62680
|
+
|
|
62681
|
+
// node_modules/@lit/reactive-element/decorators/base.js
|
|
62682
|
+
var e3 = (e6, t3, c4) => (c4.configurable = true, c4.enumerable = true, Reflect.decorate && "object" != typeof t3 && Object.defineProperty(e6, t3, c4), c4);
|
|
62683
|
+
|
|
62684
|
+
// node_modules/@lit/reactive-element/decorators/query.js
|
|
62685
|
+
function e4(e6, r5) {
|
|
62686
|
+
return (n5, s2, i4) => {
|
|
62687
|
+
const o4 = (t3) => t3.renderRoot?.querySelector(e6) ?? null;
|
|
62688
|
+
if (r5) {
|
|
62689
|
+
const { get: e7, set: r6 } = "object" == typeof s2 ? n5 : i4 ?? (() => {
|
|
62690
|
+
const t3 = Symbol();
|
|
62691
|
+
return { get() {
|
|
62692
|
+
return this[t3];
|
|
62693
|
+
}, set(e8) {
|
|
62694
|
+
this[t3] = e8;
|
|
62695
|
+
} };
|
|
62696
|
+
})();
|
|
62697
|
+
return e3(n5, s2, { get() {
|
|
62698
|
+
let t3 = e7.call(this);
|
|
62699
|
+
return void 0 === t3 && (t3 = o4(this), (null !== t3 || this.hasUpdated) && r6.call(this, t3)), t3;
|
|
62700
|
+
} });
|
|
62701
|
+
}
|
|
62702
|
+
return e3(n5, s2, { get() {
|
|
62703
|
+
return o4(this);
|
|
62704
|
+
} });
|
|
62705
|
+
};
|
|
62706
|
+
}
|
|
62707
|
+
|
|
62715
62708
|
// node_modules/lit-html/directive.js
|
|
62716
|
-
var
|
|
62717
|
-
var e5 = (
|
|
62709
|
+
var t2 = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 };
|
|
62710
|
+
var e5 = (t3) => (...e6) => ({ _$litDirective$: t3, values: e6 });
|
|
62718
62711
|
var i3 = class {
|
|
62719
|
-
constructor(
|
|
62712
|
+
constructor(t3) {
|
|
62720
62713
|
}
|
|
62721
62714
|
get _$AU() {
|
|
62722
62715
|
return this._$AM._$AU;
|
|
62723
62716
|
}
|
|
62724
|
-
_$AT(
|
|
62725
|
-
this.t =
|
|
62717
|
+
_$AT(t3, e6, i4) {
|
|
62718
|
+
this.t = t3, this._$AM = e6, this.i = i4;
|
|
62726
62719
|
}
|
|
62727
|
-
_$AS(
|
|
62728
|
-
return this.update(
|
|
62720
|
+
_$AS(t3, e6) {
|
|
62721
|
+
return this.update(t3, e6);
|
|
62729
62722
|
}
|
|
62730
|
-
update(
|
|
62723
|
+
update(t3, e6) {
|
|
62731
62724
|
return this.render(...e6);
|
|
62732
62725
|
}
|
|
62733
62726
|
};
|
|
@@ -62737,27 +62730,27 @@ var ee = "important";
|
|
|
62737
62730
|
var ie = " !" + ee;
|
|
62738
62731
|
var se = e5(class extends i3 {
|
|
62739
62732
|
constructor(e6) {
|
|
62740
|
-
if (super(e6), e6.type !==
|
|
62733
|
+
if (super(e6), e6.type !== t2.ATTRIBUTE || "style" !== e6.name || e6.strings?.length > 2)
|
|
62741
62734
|
throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
|
|
62742
62735
|
}
|
|
62743
|
-
render(
|
|
62744
|
-
return Object.keys(
|
|
62745
|
-
const s2 =
|
|
62736
|
+
render(t3) {
|
|
62737
|
+
return Object.keys(t3).reduce((e6, r5) => {
|
|
62738
|
+
const s2 = t3[r5];
|
|
62746
62739
|
return null == s2 ? e6 : e6 + `${r5 = r5.includes("-") ? r5 : r5.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${s2};`;
|
|
62747
62740
|
}, "");
|
|
62748
62741
|
}
|
|
62749
|
-
update(
|
|
62750
|
-
const { style: r5 } =
|
|
62742
|
+
update(t3, [e6]) {
|
|
62743
|
+
const { style: r5 } = t3.element;
|
|
62751
62744
|
if (void 0 === this.ft)
|
|
62752
62745
|
return this.ft = new Set(Object.keys(e6)), this.render(e6);
|
|
62753
|
-
for (const
|
|
62754
|
-
null == e6[
|
|
62755
|
-
for (const
|
|
62756
|
-
const s2 = e6[
|
|
62746
|
+
for (const t4 of this.ft)
|
|
62747
|
+
null == e6[t4] && (this.ft.delete(t4), t4.includes("-") ? r5.removeProperty(t4) : r5[t4] = null);
|
|
62748
|
+
for (const t4 in e6) {
|
|
62749
|
+
const s2 = e6[t4];
|
|
62757
62750
|
if (null != s2) {
|
|
62758
|
-
this.ft.add(
|
|
62751
|
+
this.ft.add(t4);
|
|
62759
62752
|
const e7 = "string" == typeof s2 && s2.endsWith(ie);
|
|
62760
|
-
|
|
62753
|
+
t4.includes("-") || e7 ? r5.setProperty(t4, e7 ? s2.slice(0, -11) : s2, e7 ? ee : "") : r5[t4] = s2;
|
|
62761
62754
|
}
|
|
62762
62755
|
}
|
|
62763
62756
|
return R;
|
|
@@ -62765,7 +62758,7 @@ var se = e5(class extends i3 {
|
|
|
62765
62758
|
});
|
|
62766
62759
|
|
|
62767
62760
|
// libs/embed-libs/embed/package.json
|
|
62768
|
-
var version = "6.1.
|
|
62761
|
+
var version = "6.1.2";
|
|
62769
62762
|
|
|
62770
62763
|
// libs/embed-libs/embed/src/lib/luzmo-service.ts
|
|
62771
62764
|
var LuzmoService = class {
|
|
@@ -63606,25 +63599,25 @@ __decorateClass([
|
|
|
63606
63599
|
e4("iframe")
|
|
63607
63600
|
], LuzmoDashboard.prototype, "iframe", 2);
|
|
63608
63601
|
__decorateClass([
|
|
63609
|
-
|
|
63602
|
+
n4()
|
|
63610
63603
|
], LuzmoDashboard.prototype, "dashboardId", 2);
|
|
63611
63604
|
__decorateClass([
|
|
63612
|
-
|
|
63605
|
+
n4()
|
|
63613
63606
|
], LuzmoDashboard.prototype, "dashboardSlug", 2);
|
|
63614
63607
|
__decorateClass([
|
|
63615
|
-
|
|
63608
|
+
n4()
|
|
63616
63609
|
], LuzmoDashboard.prototype, "itemId", 2);
|
|
63617
63610
|
__decorateClass([
|
|
63618
|
-
|
|
63611
|
+
n4()
|
|
63619
63612
|
], LuzmoDashboard.prototype, "language", 2);
|
|
63620
63613
|
__decorateClass([
|
|
63621
|
-
|
|
63614
|
+
n4()
|
|
63622
63615
|
], LuzmoDashboard.prototype, "qeVersion", 2);
|
|
63623
63616
|
__decorateClass([
|
|
63624
|
-
|
|
63617
|
+
n4()
|
|
63625
63618
|
], LuzmoDashboard.prototype, "screenMode", 2);
|
|
63626
63619
|
__decorateClass([
|
|
63627
|
-
|
|
63620
|
+
n4({
|
|
63628
63621
|
converter: {
|
|
63629
63622
|
fromAttribute: (value) => value === "true",
|
|
63630
63623
|
toAttribute: String
|
|
@@ -63632,46 +63625,46 @@ __decorateClass([
|
|
|
63632
63625
|
})
|
|
63633
63626
|
], LuzmoDashboard.prototype, "switchScreenModeOnResize", 2);
|
|
63634
63627
|
__decorateClass([
|
|
63635
|
-
|
|
63628
|
+
n4()
|
|
63636
63629
|
], LuzmoDashboard.prototype, "editMode", 2);
|
|
63637
63630
|
__decorateClass([
|
|
63638
|
-
|
|
63631
|
+
n4()
|
|
63639
63632
|
], LuzmoDashboard.prototype, "mainColor", 2);
|
|
63640
63633
|
__decorateClass([
|
|
63641
|
-
|
|
63634
|
+
n4()
|
|
63642
63635
|
], LuzmoDashboard.prototype, "accentColor", 2);
|
|
63643
63636
|
__decorateClass([
|
|
63644
|
-
|
|
63637
|
+
n4()
|
|
63645
63638
|
], LuzmoDashboard.prototype, "authToken", 2);
|
|
63646
63639
|
__decorateClass([
|
|
63647
|
-
|
|
63640
|
+
n4()
|
|
63648
63641
|
], LuzmoDashboard.prototype, "authKey", 2);
|
|
63649
63642
|
__decorateClass([
|
|
63650
|
-
|
|
63643
|
+
n4()
|
|
63651
63644
|
], LuzmoDashboard.prototype, "loaderBackground", 2);
|
|
63652
63645
|
__decorateClass([
|
|
63653
|
-
|
|
63646
|
+
n4()
|
|
63654
63647
|
], LuzmoDashboard.prototype, "loaderFontColor", 2);
|
|
63655
63648
|
__decorateClass([
|
|
63656
|
-
|
|
63649
|
+
n4()
|
|
63657
63650
|
], LuzmoDashboard.prototype, "loaderSpinnerColor", 2);
|
|
63658
63651
|
__decorateClass([
|
|
63659
|
-
|
|
63652
|
+
n4()
|
|
63660
63653
|
], LuzmoDashboard.prototype, "loaderSpinnerBackground", 2);
|
|
63661
63654
|
__decorateClass([
|
|
63662
|
-
|
|
63655
|
+
n4()
|
|
63663
63656
|
], LuzmoDashboard.prototype, "appServer", 2);
|
|
63664
63657
|
__decorateClass([
|
|
63665
|
-
|
|
63658
|
+
n4()
|
|
63666
63659
|
], LuzmoDashboard.prototype, "timezoneId", 2);
|
|
63667
63660
|
__decorateClass([
|
|
63668
|
-
|
|
63661
|
+
n4()
|
|
63669
63662
|
], LuzmoDashboard.prototype, "apiHost", 2);
|
|
63670
63663
|
__decorateClass([
|
|
63671
|
-
|
|
63664
|
+
n4({ type: Object })
|
|
63672
63665
|
], LuzmoDashboard.prototype, "itemDimensions", 2);
|
|
63673
63666
|
__decorateClass([
|
|
63674
|
-
|
|
63667
|
+
n4({
|
|
63675
63668
|
converter: {
|
|
63676
63669
|
fromAttribute: (value) => value === "true",
|
|
63677
63670
|
toAttribute: String
|
|
@@ -63679,70 +63672,70 @@ __decorateClass([
|
|
|
63679
63672
|
})
|
|
63680
63673
|
], LuzmoDashboard.prototype, "experimental", 2);
|
|
63681
63674
|
__decorateClass([
|
|
63682
|
-
|
|
63675
|
+
n4({ attribute: false })
|
|
63683
63676
|
], LuzmoDashboard.prototype, "_containerId", 2);
|
|
63684
63677
|
__decorateClass([
|
|
63685
|
-
|
|
63678
|
+
n4({ attribute: false })
|
|
63686
63679
|
], LuzmoDashboard.prototype, "_iframeId", 2);
|
|
63687
63680
|
__decorateClass([
|
|
63688
|
-
|
|
63681
|
+
n4({ attribute: false })
|
|
63689
63682
|
], LuzmoDashboard.prototype, "params", 2);
|
|
63690
63683
|
__decorateClass([
|
|
63691
|
-
|
|
63684
|
+
n4({ attribute: false })
|
|
63692
63685
|
], LuzmoDashboard.prototype, "_iframeUrl", 2);
|
|
63693
63686
|
__decorateClass([
|
|
63694
|
-
|
|
63687
|
+
n4({ attribute: false })
|
|
63695
63688
|
], LuzmoDashboard.prototype, "iframeLoaded", 2);
|
|
63696
63689
|
__decorateClass([
|
|
63697
|
-
|
|
63690
|
+
n4({ attribute: false })
|
|
63698
63691
|
], LuzmoDashboard.prototype, "promises", 2);
|
|
63699
63692
|
__decorateClass([
|
|
63700
|
-
|
|
63693
|
+
n4({ attribute: false })
|
|
63701
63694
|
], LuzmoDashboard.prototype, "iframeStyle", 2);
|
|
63702
63695
|
__decorateClass([
|
|
63703
|
-
|
|
63696
|
+
n4({ attribute: false })
|
|
63704
63697
|
], LuzmoDashboard.prototype, "_containerStyle", 2);
|
|
63705
63698
|
__decorateClass([
|
|
63706
|
-
|
|
63699
|
+
n4({ attribute: false })
|
|
63707
63700
|
], LuzmoDashboard.prototype, "_loaderStyle", 2);
|
|
63708
63701
|
__decorateClass([
|
|
63709
|
-
|
|
63702
|
+
n4({ attribute: false })
|
|
63710
63703
|
], LuzmoDashboard.prototype, "_lcStyle", 2);
|
|
63711
63704
|
__decorateClass([
|
|
63712
|
-
|
|
63705
|
+
n4({ attribute: false })
|
|
63713
63706
|
], LuzmoDashboard.prototype, "_loadingCircleStyle", 2);
|
|
63714
63707
|
__decorateClass([
|
|
63715
|
-
|
|
63708
|
+
n4({ attribute: false })
|
|
63716
63709
|
], LuzmoDashboard.prototype, "_containerLoaderStyle", 2);
|
|
63717
63710
|
__decorateClass([
|
|
63718
|
-
|
|
63711
|
+
n4({ attribute: false })
|
|
63719
63712
|
], LuzmoDashboard.prototype, "_loaderMsg", 2);
|
|
63720
63713
|
__decorateClass([
|
|
63721
|
-
|
|
63714
|
+
n4({ attribute: false })
|
|
63722
63715
|
], LuzmoDashboard.prototype, "containerWidth", 2);
|
|
63723
63716
|
__decorateClass([
|
|
63724
|
-
|
|
63717
|
+
n4({ attribute: false })
|
|
63725
63718
|
], LuzmoDashboard.prototype, "dimensions", 2);
|
|
63726
63719
|
__decorateClass([
|
|
63727
|
-
|
|
63720
|
+
n4({ attribute: false })
|
|
63728
63721
|
], LuzmoDashboard.prototype, "currentScreenMode", 2);
|
|
63729
63722
|
__decorateClass([
|
|
63730
|
-
|
|
63723
|
+
n4({ attribute: false })
|
|
63731
63724
|
], LuzmoDashboard.prototype, "_itemEmbedding", 2);
|
|
63732
63725
|
__decorateClass([
|
|
63733
|
-
|
|
63726
|
+
n4({ attribute: false })
|
|
63734
63727
|
], LuzmoDashboard.prototype, "browserError", 2);
|
|
63735
63728
|
__decorateClass([
|
|
63736
|
-
|
|
63729
|
+
n4({ attribute: false })
|
|
63737
63730
|
], LuzmoDashboard.prototype, "browserErrorMsg", 2);
|
|
63738
63731
|
__decorateClass([
|
|
63739
|
-
|
|
63732
|
+
n4({ attribute: false })
|
|
63740
63733
|
], LuzmoDashboard.prototype, "dashboardError", 2);
|
|
63741
63734
|
__decorateClass([
|
|
63742
|
-
|
|
63735
|
+
n4({ attribute: false })
|
|
63743
63736
|
], LuzmoDashboard.prototype, "browserNotSupported", 2);
|
|
63744
63737
|
__decorateClass([
|
|
63745
|
-
|
|
63738
|
+
n4()
|
|
63746
63739
|
], LuzmoDashboard.prototype, "libVersion", 2);
|
|
63747
63740
|
__decorateClass([
|
|
63748
63741
|
r4()
|
|
@@ -63763,9 +63756,9 @@ __decorateClass([
|
|
|
63763
63756
|
// libs/embed-libs/embed/src/lib/dashboard-component/dashboard-component.ts
|
|
63764
63757
|
var LuzmoEmbedDashboard = class extends LuzmoDashboard {
|
|
63765
63758
|
};
|
|
63766
|
-
|
|
63767
|
-
|
|
63768
|
-
|
|
63759
|
+
if (!customElements.get("luzmo-embed-dashboard")) {
|
|
63760
|
+
customElements.define("luzmo-embed-dashboard", LuzmoEmbedDashboard);
|
|
63761
|
+
}
|
|
63769
63762
|
|
|
63770
63763
|
// libs/embed-libs/embed/src/lib/viz-item/viz-item.base.ts
|
|
63771
63764
|
var import_ajv = __toESM(require_ajv(), 1);
|
|
@@ -63938,34 +63931,34 @@ var LuzmoBaseVizItem = class extends h3 {
|
|
|
63938
63931
|
}
|
|
63939
63932
|
};
|
|
63940
63933
|
__decorateClass([
|
|
63941
|
-
|
|
63934
|
+
n4()
|
|
63942
63935
|
], LuzmoBaseVizItem.prototype, "appServer", 2);
|
|
63943
63936
|
__decorateClass([
|
|
63944
|
-
|
|
63937
|
+
n4()
|
|
63945
63938
|
], LuzmoBaseVizItem.prototype, "apiHost", 2);
|
|
63946
63939
|
__decorateClass([
|
|
63947
|
-
|
|
63940
|
+
n4({ type: Array })
|
|
63948
63941
|
], LuzmoBaseVizItem.prototype, "slots", 2);
|
|
63949
63942
|
__decorateClass([
|
|
63950
|
-
|
|
63943
|
+
n4({ type: Object })
|
|
63951
63944
|
], LuzmoBaseVizItem.prototype, "options", 2);
|
|
63952
63945
|
__decorateClass([
|
|
63953
|
-
|
|
63946
|
+
n4()
|
|
63954
63947
|
], LuzmoBaseVizItem.prototype, "type", 2);
|
|
63955
63948
|
__decorateClass([
|
|
63956
|
-
|
|
63949
|
+
n4()
|
|
63957
63950
|
], LuzmoBaseVizItem.prototype, "authKey", 2);
|
|
63958
63951
|
__decorateClass([
|
|
63959
|
-
|
|
63952
|
+
n4()
|
|
63960
63953
|
], LuzmoBaseVizItem.prototype, "authToken", 2);
|
|
63961
63954
|
__decorateClass([
|
|
63962
|
-
|
|
63955
|
+
n4()
|
|
63963
63956
|
], LuzmoBaseVizItem.prototype, "version", 2);
|
|
63964
63957
|
__decorateClass([
|
|
63965
|
-
|
|
63958
|
+
n4()
|
|
63966
63959
|
], LuzmoBaseVizItem.prototype, "contextId", 2);
|
|
63967
63960
|
__decorateClass([
|
|
63968
|
-
|
|
63961
|
+
n4({
|
|
63969
63962
|
converter: (value) => {
|
|
63970
63963
|
try {
|
|
63971
63964
|
return JSON.parse(value);
|
|
@@ -63976,134 +63969,134 @@ __decorateClass([
|
|
|
63976
63969
|
})
|
|
63977
63970
|
], LuzmoBaseVizItem.prototype, "canFilter", 2);
|
|
63978
63971
|
__decorateClass([
|
|
63979
|
-
|
|
63972
|
+
n4({ type: Array })
|
|
63980
63973
|
], LuzmoBaseVizItem.prototype, "filters", 2);
|
|
63981
63974
|
__decorateClass([
|
|
63982
|
-
|
|
63975
|
+
n4()
|
|
63983
63976
|
], LuzmoBaseVizItem.prototype, "dashboardId", 2);
|
|
63984
63977
|
__decorateClass([
|
|
63985
|
-
|
|
63978
|
+
n4()
|
|
63986
63979
|
], LuzmoBaseVizItem.prototype, "itemId", 2);
|
|
63987
63980
|
__decorateClass([
|
|
63988
|
-
|
|
63981
|
+
n4({ type: Object })
|
|
63989
63982
|
], LuzmoBaseVizItem.prototype, "selectedData", 2);
|
|
63990
63983
|
__decorateClass([
|
|
63991
|
-
|
|
63984
|
+
n4()
|
|
63992
63985
|
], LuzmoBaseVizItem.prototype, "dashboardContentsVersion", 2);
|
|
63993
63986
|
__decorateClass([
|
|
63994
|
-
|
|
63987
|
+
n4()
|
|
63995
63988
|
], LuzmoBaseVizItem.prototype, "libVersion", 2);
|
|
63996
63989
|
|
|
63997
63990
|
// libs/embed-libs/embed/src/lib/viz-item/viz-item-component.ts
|
|
63998
63991
|
var LuzmoEmbedVizItem = class extends LuzmoBaseVizItem {
|
|
63999
63992
|
};
|
|
64000
|
-
|
|
64001
|
-
|
|
64002
|
-
|
|
63993
|
+
if (!customElements.get("luzmo-embed-viz-item")) {
|
|
63994
|
+
customElements.define("luzmo-embed-viz-item", LuzmoEmbedVizItem);
|
|
63995
|
+
}
|
|
64003
63996
|
/*! Bundled license information:
|
|
64004
63997
|
|
|
64005
|
-
@lit/reactive-element/
|
|
63998
|
+
@lit/reactive-element/css-tag.js:
|
|
64006
63999
|
(**
|
|
64007
64000
|
* @license
|
|
64008
|
-
* Copyright
|
|
64001
|
+
* Copyright 2019 Google LLC
|
|
64009
64002
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
64010
64003
|
*)
|
|
64011
64004
|
|
|
64012
|
-
@lit/reactive-element/
|
|
64005
|
+
@lit/reactive-element/reactive-element.js:
|
|
64013
64006
|
(**
|
|
64014
64007
|
* @license
|
|
64015
|
-
* Copyright
|
|
64008
|
+
* Copyright 2017 Google LLC
|
|
64016
64009
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
64017
64010
|
*)
|
|
64018
64011
|
|
|
64019
|
-
|
|
64012
|
+
lit-html/lit-html.js:
|
|
64020
64013
|
(**
|
|
64021
64014
|
* @license
|
|
64022
64015
|
* Copyright 2017 Google LLC
|
|
64023
64016
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
64024
64017
|
*)
|
|
64025
64018
|
|
|
64026
|
-
|
|
64019
|
+
lit-element/lit-element.js:
|
|
64027
64020
|
(**
|
|
64028
64021
|
* @license
|
|
64029
64022
|
* Copyright 2017 Google LLC
|
|
64030
64023
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
64031
64024
|
*)
|
|
64032
64025
|
|
|
64033
|
-
|
|
64026
|
+
lit-html/is-server.js:
|
|
64034
64027
|
(**
|
|
64035
64028
|
* @license
|
|
64036
|
-
* Copyright
|
|
64029
|
+
* Copyright 2022 Google LLC
|
|
64037
64030
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
64038
64031
|
*)
|
|
64039
64032
|
|
|
64040
|
-
@lit/reactive-element/decorators/
|
|
64033
|
+
@lit/reactive-element/decorators/custom-element.js:
|
|
64041
64034
|
(**
|
|
64042
64035
|
* @license
|
|
64043
64036
|
* Copyright 2017 Google LLC
|
|
64044
64037
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
64045
64038
|
*)
|
|
64046
64039
|
|
|
64047
|
-
@lit/reactive-element/decorators/
|
|
64040
|
+
@lit/reactive-element/decorators/property.js:
|
|
64048
64041
|
(**
|
|
64049
64042
|
* @license
|
|
64050
64043
|
* Copyright 2017 Google LLC
|
|
64051
64044
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
64052
64045
|
*)
|
|
64053
64046
|
|
|
64054
|
-
@lit/reactive-element/decorators/
|
|
64047
|
+
@lit/reactive-element/decorators/state.js:
|
|
64055
64048
|
(**
|
|
64056
64049
|
* @license
|
|
64057
64050
|
* Copyright 2017 Google LLC
|
|
64058
64051
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
64059
64052
|
*)
|
|
64060
64053
|
|
|
64061
|
-
@lit/reactive-element/decorators/
|
|
64054
|
+
@lit/reactive-element/decorators/event-options.js:
|
|
64062
64055
|
(**
|
|
64063
64056
|
* @license
|
|
64064
64057
|
* Copyright 2017 Google LLC
|
|
64065
64058
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
64066
64059
|
*)
|
|
64067
64060
|
|
|
64068
|
-
@lit/reactive-element/decorators/
|
|
64061
|
+
@lit/reactive-element/decorators/base.js:
|
|
64069
64062
|
(**
|
|
64070
64063
|
* @license
|
|
64071
64064
|
* Copyright 2017 Google LLC
|
|
64072
64065
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
64073
64066
|
*)
|
|
64074
64067
|
|
|
64075
|
-
@lit/reactive-element/decorators/query
|
|
64068
|
+
@lit/reactive-element/decorators/query.js:
|
|
64076
64069
|
(**
|
|
64077
64070
|
* @license
|
|
64078
|
-
* Copyright
|
|
64071
|
+
* Copyright 2017 Google LLC
|
|
64079
64072
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
64080
64073
|
*)
|
|
64081
64074
|
|
|
64082
|
-
@lit/reactive-element/decorators/query-
|
|
64075
|
+
@lit/reactive-element/decorators/query-all.js:
|
|
64083
64076
|
(**
|
|
64084
64077
|
* @license
|
|
64085
64078
|
* Copyright 2017 Google LLC
|
|
64086
64079
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
64087
64080
|
*)
|
|
64088
64081
|
|
|
64089
|
-
lit-
|
|
64082
|
+
@lit/reactive-element/decorators/query-async.js:
|
|
64090
64083
|
(**
|
|
64091
64084
|
* @license
|
|
64092
64085
|
* Copyright 2017 Google LLC
|
|
64093
64086
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
64094
64087
|
*)
|
|
64095
64088
|
|
|
64096
|
-
lit-element/
|
|
64089
|
+
@lit/reactive-element/decorators/query-assigned-elements.js:
|
|
64097
64090
|
(**
|
|
64098
64091
|
* @license
|
|
64099
|
-
* Copyright
|
|
64092
|
+
* Copyright 2021 Google LLC
|
|
64100
64093
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
64101
64094
|
*)
|
|
64102
64095
|
|
|
64103
|
-
lit-
|
|
64096
|
+
@lit/reactive-element/decorators/query-assigned-nodes.js:
|
|
64104
64097
|
(**
|
|
64105
64098
|
* @license
|
|
64106
|
-
* Copyright
|
|
64099
|
+
* Copyright 2017 Google LLC
|
|
64107
64100
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
64108
64101
|
*)
|
|
64109
64102
|
|