@luzmo/embed 6.4.2 → 6.5.0-beta.0

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.
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
  var __decorateClass = (decorators, target, key, kind) => {
21
21
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
22
- for (var i4 = decorators.length - 1, decorator; i4 >= 0; i4--)
23
- if (decorator = decorators[i4])
22
+ for (var i7 = decorators.length - 1, decorator; i7 >= 0; i7--)
23
+ if (decorator = decorators[i7])
24
24
  result = (kind ? decorator(target, key, result) : decorator(result)) || result;
25
25
  if (kind && result)
26
26
  __defProp(target, key, result);
@@ -177,7 +177,7 @@ var removeTrailingSlash = (serverUrl) => {
177
177
  };
178
178
  var formatDashboardList = (dashboards, integrationId, user, dashboardComponent) => {
179
179
  const combineRights = (securable, user2) => {
180
- const matchingUser = securable.users.find((u2) => u2.id === user2.id);
180
+ const matchingUser = securable.users.find((u3) => u3.id === user2.id);
181
181
  const securableAccessRights = matchingUser && matchingUser.userAccessRight ? {
182
182
  flagRead: matchingUser.userAccessRight.flagRead,
183
183
  flagUse: matchingUser.userAccessRight.flagUse,
@@ -255,28 +255,28 @@ var formatDashboardList = (dashboards, integrationId, user, dashboardComponent)
255
255
  modifiedAt: dashboard.modified_at,
256
256
  name: localize(dashboard.name, dashboardComponent.language),
257
257
  slug: null,
258
- tags: dashboard.tags.map((t3) => t3.tag).sort((t1, t22) => t1.localeCompare(t22))
258
+ tags: dashboard.tags.map((t4) => t4.tag).sort((t1, t22) => t1.localeCompare(t22))
259
259
  };
260
260
  const currentIntegration = dashboard.integrations.find(
261
- (i4) => i4.id === integrationId
261
+ (i7) => i7.id === integrationId
262
262
  );
263
263
  if (currentIntegration?.integrationAccessRight?.slug) {
264
264
  treatedDashboard.slug = currentIntegration.integrationAccessRight.slug;
265
265
  }
266
- const users = dashboard.users.map((u2) => ({
266
+ const users = dashboard.users.map((u3) => ({
267
267
  model: "User",
268
- id: u2.id,
269
- name: localize(u2.name, user.locale_id)
268
+ id: u3.id,
269
+ name: localize(u3.name, user.locale_id)
270
270
  }));
271
271
  const groups = dashboard.groups.map((g2) => ({
272
272
  model: "Group",
273
273
  id: g2.id,
274
274
  name: localize(g2.name, user.locale_id) || {}
275
275
  }));
276
- const integrations = dashboard.integrations.map((i4) => ({
276
+ const integrations = dashboard.integrations.map((i7) => ({
277
277
  model: "Integration",
278
- id: i4.id,
279
- name: localize(i4.name, user.locale_id) || {}
278
+ id: i7.id,
279
+ name: localize(i7.name, user.locale_id) || {}
280
280
  }));
281
281
  treatedDashboard.accessibleBy = [...users, ...groups, ...integrations];
282
282
  treatedDashboards.push(treatedDashboard);
@@ -308,7 +308,7 @@ var sanitizeUrl = (url) => {
308
308
  return sanitizedUrl;
309
309
  };
310
310
  var cloneDeep = (obj) => JSON.parse(JSON.stringify(obj));
311
- var isObject = (o4) => o4 && typeof o4 === "object";
311
+ var isObject = (o7) => o7 && typeof o7 === "object";
312
312
  var defaultsDeep = (target, defaults) => {
313
313
  Object.entries(defaults).forEach(([k2, v2]) => {
314
314
  if (k2 in target) {
@@ -327,8 +327,8 @@ var defaultsDeep = (target, defaults) => {
327
327
  return target;
328
328
  };
329
329
  var uuidv4 = () => "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replaceAll(/[xy]/g, function(c4) {
330
- const r5 = Math.random() * 16 | 0;
331
- const v2 = c4 == "x" ? r5 : r5 & 3 | 8;
330
+ const r6 = Math.random() * 16 | 0;
331
+ const v2 = c4 == "x" ? r6 : r6 & 3 | 8;
332
332
  return v2.toString(16);
333
333
  });
334
334
 
@@ -994,7 +994,7 @@ var _setCalculatedDimensions = (dashboardComponent) => {
994
994
  }
995
995
  if (dashboardComponent.params.screenMode === "auto") {
996
996
  availableScreenModeExtents.sort(
997
- (a2, b2) => screenModes.indexOf(a2.mode) - screenModes.indexOf(b2.mode)
997
+ (a3, b3) => screenModes.indexOf(a3.mode) - screenModes.indexOf(b3.mode)
998
998
  );
999
999
  for (const screenModeExtent of availableScreenModeExtents) {
1000
1000
  const [screenModeExtentMinWidth, screenModeExtentMaxWidth] = screenModeExtent.width;
@@ -1047,7 +1047,7 @@ var _setCalculatedDimensions = (dashboardComponent) => {
1047
1047
  height: chosenModeHeight,
1048
1048
  width: [chosenModeMinWidth, chosenModeMaxWidth]
1049
1049
  } = availableScreenModeExtents.find(
1050
- (d2) => d2.mode === dashboardComponent.params.screenMode
1050
+ (d3) => d3.mode === dashboardComponent.params.screenMode
1051
1051
  );
1052
1052
  currentMode = dashboardComponent.params.screenMode;
1053
1053
  currentWidth = Math.max(
@@ -1343,228 +1343,227 @@ var e = t.ShadowRoot && (void 0 === t.ShadyCSS || t.ShadyCSS.nativeShadow) && "a
1343
1343
  var s = Symbol();
1344
1344
  var o = /* @__PURE__ */ new WeakMap();
1345
1345
  var n = class {
1346
- constructor(t3, e6, o4) {
1347
- if (this._$cssResult$ = true, o4 !== s)
1346
+ constructor(t4, e7, o7) {
1347
+ if (this._$cssResult$ = true, o7 !== s)
1348
1348
  throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
1349
- this.cssText = t3, this.t = e6;
1349
+ this.cssText = t4, this.t = e7;
1350
1350
  }
1351
1351
  get styleSheet() {
1352
- let t3 = this.o;
1353
- const s2 = this.t;
1354
- if (e && void 0 === t3) {
1355
- const e6 = void 0 !== s2 && 1 === s2.length;
1356
- e6 && (t3 = o.get(s2)), void 0 === t3 && ((this.o = t3 = new CSSStyleSheet()).replaceSync(this.cssText), e6 && o.set(s2, t3));
1352
+ let t4 = this.o;
1353
+ const s4 = this.t;
1354
+ if (e && void 0 === t4) {
1355
+ const e7 = void 0 !== s4 && 1 === s4.length;
1356
+ e7 && (t4 = o.get(s4)), void 0 === t4 && ((this.o = t4 = new CSSStyleSheet()).replaceSync(this.cssText), e7 && o.set(s4, t4));
1357
1357
  }
1358
- return t3;
1358
+ return t4;
1359
1359
  }
1360
1360
  toString() {
1361
1361
  return this.cssText;
1362
1362
  }
1363
1363
  };
1364
- var r = (t3) => new n("string" == typeof t3 ? t3 : t3 + "", void 0, s);
1365
- var i = (t3, ...e6) => {
1366
- const o4 = 1 === t3.length ? t3[0] : e6.reduce((e7, s2, o5) => e7 + ((t4) => {
1367
- if (true === t4._$cssResult$)
1368
- return t4.cssText;
1369
- if ("number" == typeof t4)
1370
- return t4;
1371
- 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.");
1372
- })(s2) + t3[o5 + 1], t3[0]);
1373
- return new n(o4, t3, s);
1364
+ var r = (t4) => new n("string" == typeof t4 ? t4 : t4 + "", void 0, s);
1365
+ var i = (t4, ...e7) => {
1366
+ const o7 = 1 === t4.length ? t4[0] : e7.reduce((e8, s4, o8) => e8 + ((t5) => {
1367
+ if (true === t5._$cssResult$)
1368
+ return t5.cssText;
1369
+ if ("number" == typeof t5)
1370
+ return t5;
1371
+ throw Error("Value passed to 'css' function must be a 'css' function result: " + t5 + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
1372
+ })(s4) + t4[o8 + 1], t4[0]);
1373
+ return new n(o7, t4, s);
1374
1374
  };
1375
- var S = (s2, o4) => {
1375
+ var S = (s4, o7) => {
1376
1376
  if (e)
1377
- s2.adoptedStyleSheets = o4.map((t3) => t3 instanceof CSSStyleSheet ? t3 : t3.styleSheet);
1377
+ s4.adoptedStyleSheets = o7.map((t4) => t4 instanceof CSSStyleSheet ? t4 : t4.styleSheet);
1378
1378
  else
1379
- for (const e6 of o4) {
1380
- const o5 = document.createElement("style"), n5 = t.litNonce;
1381
- void 0 !== n5 && o5.setAttribute("nonce", n5), o5.textContent = e6.cssText, s2.appendChild(o5);
1379
+ for (const e7 of o7) {
1380
+ const o8 = document.createElement("style"), n6 = t.litNonce;
1381
+ void 0 !== n6 && o8.setAttribute("nonce", n6), o8.textContent = e7.cssText, s4.appendChild(o8);
1382
1382
  }
1383
1383
  };
1384
- var c = e ? (t3) => t3 : (t3) => t3 instanceof CSSStyleSheet ? ((t4) => {
1385
- let e6 = "";
1386
- for (const s2 of t4.cssRules)
1387
- e6 += s2.cssText;
1388
- return r(e6);
1389
- })(t3) : t3;
1384
+ var c = e ? (t4) => t4 : (t4) => t4 instanceof CSSStyleSheet ? ((t5) => {
1385
+ let e7 = "";
1386
+ for (const s4 of t5.cssRules)
1387
+ e7 += s4.cssText;
1388
+ return r(e7);
1389
+ })(t4) : t4;
1390
1390
 
1391
1391
  // node_modules/@lit/reactive-element/reactive-element.js
1392
- var { is: i2, defineProperty: e2, getOwnPropertyDescriptor: r2, getOwnPropertyNames: h, getOwnPropertySymbols: o2, getPrototypeOf: n2 } = Object;
1392
+ var { is: i2, defineProperty: e2, getOwnPropertyDescriptor: h, getOwnPropertyNames: r2, getOwnPropertySymbols: o2, getPrototypeOf: n2 } = Object;
1393
1393
  var a = globalThis;
1394
1394
  var c2 = a.trustedTypes;
1395
1395
  var l = c2 ? c2.emptyScript : "";
1396
1396
  var p = a.reactiveElementPolyfillSupport;
1397
- var d = (t3, s2) => t3;
1398
- var u = { toAttribute(t3, s2) {
1399
- switch (s2) {
1397
+ var d = (t4, s4) => t4;
1398
+ var u = { toAttribute(t4, s4) {
1399
+ switch (s4) {
1400
1400
  case Boolean:
1401
- t3 = t3 ? l : null;
1401
+ t4 = t4 ? l : null;
1402
1402
  break;
1403
1403
  case Object:
1404
1404
  case Array:
1405
- t3 = null == t3 ? t3 : JSON.stringify(t3);
1405
+ t4 = null == t4 ? t4 : JSON.stringify(t4);
1406
1406
  }
1407
- return t3;
1408
- }, fromAttribute(t3, s2) {
1409
- let i4 = t3;
1410
- switch (s2) {
1407
+ return t4;
1408
+ }, fromAttribute(t4, s4) {
1409
+ let i7 = t4;
1410
+ switch (s4) {
1411
1411
  case Boolean:
1412
- i4 = null !== t3;
1412
+ i7 = null !== t4;
1413
1413
  break;
1414
1414
  case Number:
1415
- i4 = null === t3 ? null : Number(t3);
1415
+ i7 = null === t4 ? null : Number(t4);
1416
1416
  break;
1417
1417
  case Object:
1418
1418
  case Array:
1419
1419
  try {
1420
- i4 = JSON.parse(t3);
1421
- } catch (t4) {
1422
- i4 = null;
1420
+ i7 = JSON.parse(t4);
1421
+ } catch (t5) {
1422
+ i7 = null;
1423
1423
  }
1424
1424
  }
1425
- return i4;
1425
+ return i7;
1426
1426
  } };
1427
- var f = (t3, s2) => !i2(t3, s2);
1428
- var y = { attribute: true, type: String, converter: u, reflect: false, hasChanged: f };
1427
+ var f = (t4, s4) => !i2(t4, s4);
1428
+ var b = { attribute: true, type: String, converter: u, reflect: false, useDefault: false, hasChanged: f };
1429
1429
  Symbol.metadata ??= Symbol("metadata"), a.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
1430
- var b = class extends HTMLElement {
1431
- static addInitializer(t3) {
1432
- this._$Ei(), (this.l ??= []).push(t3);
1430
+ var y = class extends HTMLElement {
1431
+ static addInitializer(t4) {
1432
+ this._$Ei(), (this.l ??= []).push(t4);
1433
1433
  }
1434
1434
  static get observedAttributes() {
1435
1435
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
1436
1436
  }
1437
- static createProperty(t3, s2 = y) {
1438
- if (s2.state && (s2.attribute = false), this._$Ei(), this.elementProperties.set(t3, s2), !s2.noAccessor) {
1439
- const i4 = Symbol(), r5 = this.getPropertyDescriptor(t3, i4, s2);
1440
- void 0 !== r5 && e2(this.prototype, t3, r5);
1437
+ static createProperty(t4, s4 = b) {
1438
+ if (s4.state && (s4.attribute = false), this._$Ei(), this.prototype.hasOwnProperty(t4) && ((s4 = Object.create(s4)).wrapped = true), this.elementProperties.set(t4, s4), !s4.noAccessor) {
1439
+ const i7 = Symbol(), h3 = this.getPropertyDescriptor(t4, i7, s4);
1440
+ void 0 !== h3 && e2(this.prototype, t4, h3);
1441
1441
  }
1442
1442
  }
1443
- static getPropertyDescriptor(t3, s2, i4) {
1444
- const { get: e6, set: h4 } = r2(this.prototype, t3) ?? { get() {
1445
- return this[s2];
1446
- }, set(t4) {
1447
- this[s2] = t4;
1443
+ static getPropertyDescriptor(t4, s4, i7) {
1444
+ const { get: e7, set: r6 } = h(this.prototype, t4) ?? { get() {
1445
+ return this[s4];
1446
+ }, set(t5) {
1447
+ this[s4] = t5;
1448
1448
  } };
1449
- return { get() {
1450
- return e6?.call(this);
1451
- }, set(s3) {
1452
- const r5 = e6?.call(this);
1453
- h4.call(this, s3), this.requestUpdate(t3, r5, i4);
1449
+ return { get: e7, set(s5) {
1450
+ const h3 = e7?.call(this);
1451
+ r6?.call(this, s5), this.requestUpdate(t4, h3, i7);
1454
1452
  }, configurable: true, enumerable: true };
1455
1453
  }
1456
- static getPropertyOptions(t3) {
1457
- return this.elementProperties.get(t3) ?? y;
1454
+ static getPropertyOptions(t4) {
1455
+ return this.elementProperties.get(t4) ?? b;
1458
1456
  }
1459
1457
  static _$Ei() {
1460
1458
  if (this.hasOwnProperty(d("elementProperties")))
1461
1459
  return;
1462
- const t3 = n2(this);
1463
- t3.finalize(), void 0 !== t3.l && (this.l = [...t3.l]), this.elementProperties = new Map(t3.elementProperties);
1460
+ const t4 = n2(this);
1461
+ t4.finalize(), void 0 !== t4.l && (this.l = [...t4.l]), this.elementProperties = new Map(t4.elementProperties);
1464
1462
  }
1465
1463
  static finalize() {
1466
1464
  if (this.hasOwnProperty(d("finalized")))
1467
1465
  return;
1468
1466
  if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d("properties"))) {
1469
- const t4 = this.properties, s2 = [...h(t4), ...o2(t4)];
1470
- for (const i4 of s2)
1471
- this.createProperty(i4, t4[i4]);
1467
+ const t5 = this.properties, s4 = [...r2(t5), ...o2(t5)];
1468
+ for (const i7 of s4)
1469
+ this.createProperty(i7, t5[i7]);
1472
1470
  }
1473
- const t3 = this[Symbol.metadata];
1474
- if (null !== t3) {
1475
- const s2 = litPropertyMetadata.get(t3);
1476
- if (void 0 !== s2)
1477
- for (const [t4, i4] of s2)
1478
- this.elementProperties.set(t4, i4);
1471
+ const t4 = this[Symbol.metadata];
1472
+ if (null !== t4) {
1473
+ const s4 = litPropertyMetadata.get(t4);
1474
+ if (void 0 !== s4)
1475
+ for (const [t5, i7] of s4)
1476
+ this.elementProperties.set(t5, i7);
1479
1477
  }
1480
1478
  this._$Eh = /* @__PURE__ */ new Map();
1481
- for (const [t4, s2] of this.elementProperties) {
1482
- const i4 = this._$Eu(t4, s2);
1483
- void 0 !== i4 && this._$Eh.set(i4, t4);
1479
+ for (const [t5, s4] of this.elementProperties) {
1480
+ const i7 = this._$Eu(t5, s4);
1481
+ void 0 !== i7 && this._$Eh.set(i7, t5);
1484
1482
  }
1485
1483
  this.elementStyles = this.finalizeStyles(this.styles);
1486
1484
  }
1487
- static finalizeStyles(s2) {
1488
- const i4 = [];
1489
- if (Array.isArray(s2)) {
1490
- const e6 = new Set(s2.flat(1 / 0).reverse());
1491
- for (const s3 of e6)
1492
- i4.unshift(c(s3));
1485
+ static finalizeStyles(s4) {
1486
+ const i7 = [];
1487
+ if (Array.isArray(s4)) {
1488
+ const e7 = new Set(s4.flat(1 / 0).reverse());
1489
+ for (const s5 of e7)
1490
+ i7.unshift(c(s5));
1493
1491
  } else
1494
- void 0 !== s2 && i4.push(c(s2));
1495
- return i4;
1492
+ void 0 !== s4 && i7.push(c(s4));
1493
+ return i7;
1496
1494
  }
1497
- static _$Eu(t3, s2) {
1498
- const i4 = s2.attribute;
1499
- return false === i4 ? void 0 : "string" == typeof i4 ? i4 : "string" == typeof t3 ? t3.toLowerCase() : void 0;
1495
+ static _$Eu(t4, s4) {
1496
+ const i7 = s4.attribute;
1497
+ return false === i7 ? void 0 : "string" == typeof i7 ? i7 : "string" == typeof t4 ? t4.toLowerCase() : void 0;
1500
1498
  }
1501
1499
  constructor() {
1502
1500
  super(), this._$Ep = void 0, this.isUpdatePending = false, this.hasUpdated = false, this._$Em = null, this._$Ev();
1503
1501
  }
1504
1502
  _$Ev() {
1505
- this._$ES = new Promise((t3) => this.enableUpdating = t3), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach((t3) => t3(this));
1503
+ this._$ES = new Promise((t4) => this.enableUpdating = t4), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach((t4) => t4(this));
1506
1504
  }
1507
- addController(t3) {
1508
- (this._$EO ??= /* @__PURE__ */ new Set()).add(t3), void 0 !== this.renderRoot && this.isConnected && t3.hostConnected?.();
1505
+ addController(t4) {
1506
+ (this._$EO ??= /* @__PURE__ */ new Set()).add(t4), void 0 !== this.renderRoot && this.isConnected && t4.hostConnected?.();
1509
1507
  }
1510
- removeController(t3) {
1511
- this._$EO?.delete(t3);
1508
+ removeController(t4) {
1509
+ this._$EO?.delete(t4);
1512
1510
  }
1513
1511
  _$E_() {
1514
- const t3 = /* @__PURE__ */ new Map(), s2 = this.constructor.elementProperties;
1515
- for (const i4 of s2.keys())
1516
- this.hasOwnProperty(i4) && (t3.set(i4, this[i4]), delete this[i4]);
1517
- t3.size > 0 && (this._$Ep = t3);
1512
+ const t4 = /* @__PURE__ */ new Map(), s4 = this.constructor.elementProperties;
1513
+ for (const i7 of s4.keys())
1514
+ this.hasOwnProperty(i7) && (t4.set(i7, this[i7]), delete this[i7]);
1515
+ t4.size > 0 && (this._$Ep = t4);
1518
1516
  }
1519
1517
  createRenderRoot() {
1520
- const t3 = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
1521
- return S(t3, this.constructor.elementStyles), t3;
1518
+ const t4 = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
1519
+ return S(t4, this.constructor.elementStyles), t4;
1522
1520
  }
1523
1521
  connectedCallback() {
1524
- this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(true), this._$EO?.forEach((t3) => t3.hostConnected?.());
1522
+ this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(true), this._$EO?.forEach((t4) => t4.hostConnected?.());
1525
1523
  }
1526
- enableUpdating(t3) {
1524
+ enableUpdating(t4) {
1527
1525
  }
1528
1526
  disconnectedCallback() {
1529
- this._$EO?.forEach((t3) => t3.hostDisconnected?.());
1527
+ this._$EO?.forEach((t4) => t4.hostDisconnected?.());
1530
1528
  }
1531
- attributeChangedCallback(t3, s2, i4) {
1532
- this._$AK(t3, i4);
1529
+ attributeChangedCallback(t4, s4, i7) {
1530
+ this._$AK(t4, i7);
1533
1531
  }
1534
- _$EC(t3, s2) {
1535
- const i4 = this.constructor.elementProperties.get(t3), e6 = this.constructor._$Eu(t3, i4);
1536
- if (void 0 !== e6 && true === i4.reflect) {
1537
- const r5 = (void 0 !== i4.converter?.toAttribute ? i4.converter : u).toAttribute(s2, i4.type);
1538
- this._$Em = t3, null == r5 ? this.removeAttribute(e6) : this.setAttribute(e6, r5), this._$Em = null;
1532
+ _$ET(t4, s4) {
1533
+ const i7 = this.constructor.elementProperties.get(t4), e7 = this.constructor._$Eu(t4, i7);
1534
+ if (void 0 !== e7 && true === i7.reflect) {
1535
+ const h3 = (void 0 !== i7.converter?.toAttribute ? i7.converter : u).toAttribute(s4, i7.type);
1536
+ this._$Em = t4, null == h3 ? this.removeAttribute(e7) : this.setAttribute(e7, h3), this._$Em = null;
1539
1537
  }
1540
1538
  }
1541
- _$AK(t3, s2) {
1542
- const i4 = this.constructor, e6 = i4._$Eh.get(t3);
1543
- if (void 0 !== e6 && this._$Em !== e6) {
1544
- const t4 = i4.getPropertyOptions(e6), r5 = "function" == typeof t4.converter ? { fromAttribute: t4.converter } : void 0 !== t4.converter?.fromAttribute ? t4.converter : u;
1545
- this._$Em = e6, this[e6] = r5.fromAttribute(s2, t4.type), this._$Em = null;
1539
+ _$AK(t4, s4) {
1540
+ const i7 = this.constructor, e7 = i7._$Eh.get(t4);
1541
+ if (void 0 !== e7 && this._$Em !== e7) {
1542
+ const t5 = i7.getPropertyOptions(e7), h3 = "function" == typeof t5.converter ? { fromAttribute: t5.converter } : void 0 !== t5.converter?.fromAttribute ? t5.converter : u;
1543
+ this._$Em = e7, this[e7] = h3.fromAttribute(s4, t5.type) ?? this._$Ej?.get(e7) ?? null, this._$Em = null;
1546
1544
  }
1547
1545
  }
1548
- requestUpdate(t3, s2, i4) {
1549
- if (void 0 !== t3) {
1550
- if (i4 ??= this.constructor.getPropertyOptions(t3), !(i4.hasChanged ?? f)(this[t3], s2))
1546
+ requestUpdate(t4, s4, i7) {
1547
+ if (void 0 !== t4) {
1548
+ const e7 = this.constructor, h3 = this[t4];
1549
+ if (i7 ??= e7.getPropertyOptions(t4), !((i7.hasChanged ?? f)(h3, s4) || i7.useDefault && i7.reflect && h3 === this._$Ej?.get(t4) && !this.hasAttribute(e7._$Eu(t4, i7))))
1551
1550
  return;
1552
- this.P(t3, s2, i4);
1551
+ this.C(t4, s4, i7);
1553
1552
  }
1554
- false === this.isUpdatePending && (this._$ES = this._$ET());
1553
+ false === this.isUpdatePending && (this._$ES = this._$EP());
1555
1554
  }
1556
- P(t3, s2, i4) {
1557
- this._$AL.has(t3) || this._$AL.set(t3, s2), true === i4.reflect && this._$Em !== t3 && (this._$Ej ??= /* @__PURE__ */ new Set()).add(t3);
1555
+ C(t4, s4, { useDefault: i7, reflect: e7, wrapped: h3 }, r6) {
1556
+ i7 && !(this._$Ej ??= /* @__PURE__ */ new Map()).has(t4) && (this._$Ej.set(t4, r6 ?? s4 ?? this[t4]), true !== h3 || void 0 !== r6) || (this._$AL.has(t4) || (this.hasUpdated || i7 || (s4 = void 0), this._$AL.set(t4, s4)), true === e7 && this._$Em !== t4 && (this._$Eq ??= /* @__PURE__ */ new Set()).add(t4));
1558
1557
  }
1559
- async _$ET() {
1558
+ async _$EP() {
1560
1559
  this.isUpdatePending = true;
1561
1560
  try {
1562
1561
  await this._$ES;
1563
- } catch (t4) {
1564
- Promise.reject(t4);
1562
+ } catch (t5) {
1563
+ Promise.reject(t5);
1565
1564
  }
1566
- const t3 = this.scheduleUpdate();
1567
- return null != t3 && await t3, !this.isUpdatePending;
1565
+ const t4 = this.scheduleUpdate();
1566
+ return null != t4 && await t4, !this.isUpdatePending;
1568
1567
  }
1569
1568
  scheduleUpdate() {
1570
1569
  return this.performUpdate();
@@ -1574,30 +1573,32 @@ var b = class extends HTMLElement {
1574
1573
  return;
1575
1574
  if (!this.hasUpdated) {
1576
1575
  if (this.renderRoot ??= this.createRenderRoot(), this._$Ep) {
1577
- for (const [t5, s3] of this._$Ep)
1578
- this[t5] = s3;
1576
+ for (const [t6, s5] of this._$Ep)
1577
+ this[t6] = s5;
1579
1578
  this._$Ep = void 0;
1580
1579
  }
1581
- const t4 = this.constructor.elementProperties;
1582
- if (t4.size > 0)
1583
- for (const [s3, i4] of t4)
1584
- true !== i4.wrapped || this._$AL.has(s3) || void 0 === this[s3] || this.P(s3, this[s3], i4);
1580
+ const t5 = this.constructor.elementProperties;
1581
+ if (t5.size > 0)
1582
+ for (const [s5, i7] of t5) {
1583
+ const { wrapped: t6 } = i7, e7 = this[s5];
1584
+ true !== t6 || this._$AL.has(s5) || void 0 === e7 || this.C(s5, void 0, i7, e7);
1585
+ }
1585
1586
  }
1586
- let t3 = false;
1587
- const s2 = this._$AL;
1587
+ let t4 = false;
1588
+ const s4 = this._$AL;
1588
1589
  try {
1589
- t3 = this.shouldUpdate(s2), t3 ? (this.willUpdate(s2), this._$EO?.forEach((t4) => t4.hostUpdate?.()), this.update(s2)) : this._$EU();
1590
- } catch (s3) {
1591
- throw t3 = false, this._$EU(), s3;
1590
+ t4 = this.shouldUpdate(s4), t4 ? (this.willUpdate(s4), this._$EO?.forEach((t5) => t5.hostUpdate?.()), this.update(s4)) : this._$EM();
1591
+ } catch (s5) {
1592
+ throw t4 = false, this._$EM(), s5;
1592
1593
  }
1593
- t3 && this._$AE(s2);
1594
+ t4 && this._$AE(s4);
1594
1595
  }
1595
- willUpdate(t3) {
1596
+ willUpdate(t4) {
1596
1597
  }
1597
- _$AE(t3) {
1598
- this._$EO?.forEach((t4) => t4.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t3)), this.updated(t3);
1598
+ _$AE(t4) {
1599
+ this._$EO?.forEach((t5) => t5.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t4)), this.updated(t4);
1599
1600
  }
1600
- _$EU() {
1601
+ _$EM() {
1601
1602
  this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = false;
1602
1603
  }
1603
1604
  get updateComplete() {
@@ -1606,121 +1607,121 @@ var b = class extends HTMLElement {
1606
1607
  getUpdateComplete() {
1607
1608
  return this._$ES;
1608
1609
  }
1609
- shouldUpdate(t3) {
1610
+ shouldUpdate(t4) {
1610
1611
  return true;
1611
1612
  }
1612
- update(t3) {
1613
- this._$Ej &&= this._$Ej.forEach((t4) => this._$EC(t4, this[t4])), this._$EU();
1613
+ update(t4) {
1614
+ this._$Eq &&= this._$Eq.forEach((t5) => this._$ET(t5, this[t5])), this._$EM();
1614
1615
  }
1615
- updated(t3) {
1616
+ updated(t4) {
1616
1617
  }
1617
- firstUpdated(t3) {
1618
+ firstUpdated(t4) {
1618
1619
  }
1619
1620
  };
1620
- 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");
1621
+ y.elementStyles = [], y.shadowRootOptions = { mode: "open" }, y[d("elementProperties")] = /* @__PURE__ */ new Map(), y[d("finalized")] = /* @__PURE__ */ new Map(), p?.({ ReactiveElement: y }), (a.reactiveElementVersions ??= []).push("2.1.0");
1621
1622
 
1622
1623
  // node_modules/lit-html/lit-html.js
1623
- var n3 = globalThis;
1624
- var c3 = n3.trustedTypes;
1625
- var h2 = c3 ? c3.createPolicy("lit-html", { createHTML: (t3) => t3 }) : void 0;
1626
- var f2 = "$lit$";
1627
- var v = `lit$${Math.random().toFixed(9).slice(2)}$`;
1628
- var m = "?" + v;
1629
- var _ = `<${m}>`;
1630
- var w = document;
1631
- var lt = () => w.createComment("");
1632
- var st = (t3) => null === t3 || "object" != typeof t3 && "function" != typeof t3;
1633
- var g = Array.isArray;
1634
- var $ = (t3) => g(t3) || "function" == typeof t3?.[Symbol.iterator];
1635
- var x = "[ \n\f\r]";
1636
- var T = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g;
1637
- var E = /-->/g;
1638
- var k = />/g;
1639
- var O = RegExp(`>|${x}(?:([^\\s"'>=/]+)(${x}*=${x}*(?:[^
1624
+ var t2 = globalThis;
1625
+ var i3 = t2.trustedTypes;
1626
+ var s2 = i3 ? i3.createPolicy("lit-html", { createHTML: (t4) => t4 }) : void 0;
1627
+ var e3 = "$lit$";
1628
+ var h2 = `lit$${Math.random().toFixed(9).slice(2)}$`;
1629
+ var o3 = "?" + h2;
1630
+ var n3 = `<${o3}>`;
1631
+ var r3 = document;
1632
+ var l2 = () => r3.createComment("");
1633
+ var c3 = (t4) => null === t4 || "object" != typeof t4 && "function" != typeof t4;
1634
+ var a2 = Array.isArray;
1635
+ var u2 = (t4) => a2(t4) || "function" == typeof t4?.[Symbol.iterator];
1636
+ var d2 = "[ \n\f\r]";
1637
+ var f2 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g;
1638
+ var v = /-->/g;
1639
+ var _ = />/g;
1640
+ var m = RegExp(`>|${d2}(?:([^\\s"'>=/]+)(${d2}*=${d2}*(?:[^
1640
1641
  \f\r"'\`<>=]|("|')|))|$)`, "g");
1641
- var S2 = /'/g;
1642
- var j = /"/g;
1643
- var M = /^(?:script|style|textarea|title)$/i;
1644
- var P = (t3) => (i4, ...s2) => ({ _$litType$: t3, strings: i4, values: s2 });
1645
- var ke = P(1);
1646
- var Oe = P(2);
1647
- var Se = P(3);
1648
- var R = Symbol.for("lit-noChange");
1649
- var D = Symbol.for("lit-nothing");
1650
- var V = /* @__PURE__ */ new WeakMap();
1651
- var I = w.createTreeWalker(w, 129);
1652
- function N(t3, i4) {
1653
- if (!g(t3) || !t3.hasOwnProperty("raw"))
1642
+ var p2 = /'/g;
1643
+ var g = /"/g;
1644
+ var $ = /^(?:script|style|textarea|title)$/i;
1645
+ var y2 = (t4) => (i7, ...s4) => ({ _$litType$: t4, strings: i7, values: s4 });
1646
+ var x = y2(1);
1647
+ var b2 = y2(2);
1648
+ var w = y2(3);
1649
+ var T = Symbol.for("lit-noChange");
1650
+ var E = Symbol.for("lit-nothing");
1651
+ var A = /* @__PURE__ */ new WeakMap();
1652
+ var C = r3.createTreeWalker(r3, 129);
1653
+ function P(t4, i7) {
1654
+ if (!a2(t4) || !t4.hasOwnProperty("raw"))
1654
1655
  throw Error("invalid template strings array");
1655
- return void 0 !== h2 ? h2.createHTML(i4) : i4;
1656
+ return void 0 !== s2 ? s2.createHTML(i7) : i7;
1656
1657
  }
1657
- var U = (t3, i4) => {
1658
- const s2 = t3.length - 1, e6 = [];
1659
- let h4, o4 = 2 === i4 ? "<svg>" : 3 === i4 ? "<math>" : "", n5 = T;
1660
- for (let i5 = 0; i5 < s2; i5++) {
1661
- const s3 = t3[i5];
1662
- let r5, l2, c4 = -1, a2 = 0;
1663
- for (; a2 < s3.length && (n5.lastIndex = a2, l2 = n5.exec(s3), null !== l2); )
1664
- 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);
1665
- const u2 = n5 === O && t3[i5 + 1].startsWith("/>") ? " " : "";
1666
- 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);
1667
- }
1668
- return [N(t3, o4 + (t3[s2] || "<?>") + (2 === i4 ? "</svg>" : 3 === i4 ? "</math>" : "")), e6];
1658
+ var V = (t4, i7) => {
1659
+ const s4 = t4.length - 1, o7 = [];
1660
+ let r6, l3 = 2 === i7 ? "<svg>" : 3 === i7 ? "<math>" : "", c4 = f2;
1661
+ for (let i8 = 0; i8 < s4; i8++) {
1662
+ const s5 = t4[i8];
1663
+ let a3, u3, d3 = -1, y3 = 0;
1664
+ for (; y3 < s5.length && (c4.lastIndex = y3, u3 = c4.exec(s5), null !== u3); )
1665
+ y3 = c4.lastIndex, c4 === f2 ? "!--" === u3[1] ? c4 = v : void 0 !== u3[1] ? c4 = _ : void 0 !== u3[2] ? ($.test(u3[2]) && (r6 = RegExp("</" + u3[2], "g")), c4 = m) : void 0 !== u3[3] && (c4 = m) : c4 === m ? ">" === u3[0] ? (c4 = r6 ?? f2, d3 = -1) : void 0 === u3[1] ? d3 = -2 : (d3 = c4.lastIndex - u3[2].length, a3 = u3[1], c4 = void 0 === u3[3] ? m : '"' === u3[3] ? g : p2) : c4 === g || c4 === p2 ? c4 = m : c4 === v || c4 === _ ? c4 = f2 : (c4 = m, r6 = void 0);
1666
+ const x2 = c4 === m && t4[i8 + 1].startsWith("/>") ? " " : "";
1667
+ l3 += c4 === f2 ? s5 + n3 : d3 >= 0 ? (o7.push(a3), s5.slice(0, d3) + e3 + s5.slice(d3) + h2 + x2) : s5 + h2 + (-2 === d3 ? i8 : x2);
1668
+ }
1669
+ return [P(t4, l3 + (t4[s4] || "<?>") + (2 === i7 ? "</svg>" : 3 === i7 ? "</math>" : "")), o7];
1669
1670
  };
1670
- var B = class _B {
1671
- constructor({ strings: t3, _$litType$: i4 }, s2) {
1672
- let e6;
1671
+ var N = class _N {
1672
+ constructor({ strings: t4, _$litType$: s4 }, n6) {
1673
+ let r6;
1673
1674
  this.parts = [];
1674
- let h4 = 0, o4 = 0;
1675
- const n5 = t3.length - 1, r5 = this.parts, [l2, a2] = U(t3, i4);
1676
- if (this.el = _B.createElement(l2, s2), I.currentNode = this.el.content, 2 === i4 || 3 === i4) {
1677
- const t4 = this.el.content.firstChild;
1678
- t4.replaceWith(...t4.childNodes);
1679
- }
1680
- for (; null !== (e6 = I.nextNode()) && r5.length < n5; ) {
1681
- if (1 === e6.nodeType) {
1682
- if (e6.hasAttributes())
1683
- for (const t4 of e6.getAttributeNames())
1684
- if (t4.endsWith(f2)) {
1685
- const i5 = a2[o4++], s3 = e6.getAttribute(t4).split(v), n6 = /([.?@])?(.*)/.exec(i5);
1686
- 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);
1675
+ let c4 = 0, a3 = 0;
1676
+ const u3 = t4.length - 1, d3 = this.parts, [f3, v2] = V(t4, s4);
1677
+ if (this.el = _N.createElement(f3, n6), C.currentNode = this.el.content, 2 === s4 || 3 === s4) {
1678
+ const t5 = this.el.content.firstChild;
1679
+ t5.replaceWith(...t5.childNodes);
1680
+ }
1681
+ for (; null !== (r6 = C.nextNode()) && d3.length < u3; ) {
1682
+ if (1 === r6.nodeType) {
1683
+ if (r6.hasAttributes())
1684
+ for (const t5 of r6.getAttributeNames())
1685
+ if (t5.endsWith(e3)) {
1686
+ const i7 = v2[a3++], s5 = r6.getAttribute(t5).split(h2), e7 = /([.?@])?(.*)/.exec(i7);
1687
+ d3.push({ type: 1, index: c4, name: e7[2], strings: s5, ctor: "." === e7[1] ? H : "?" === e7[1] ? I : "@" === e7[1] ? L : k }), r6.removeAttribute(t5);
1687
1688
  } else
1688
- t4.startsWith(v) && (r5.push({ type: 6, index: h4 }), e6.removeAttribute(t4));
1689
- if (M.test(e6.tagName)) {
1690
- const t4 = e6.textContent.split(v), i5 = t4.length - 1;
1691
- if (i5 > 0) {
1692
- e6.textContent = c3 ? c3.emptyScript : "";
1693
- for (let s3 = 0; s3 < i5; s3++)
1694
- e6.append(t4[s3], lt()), I.nextNode(), r5.push({ type: 2, index: ++h4 });
1695
- e6.append(t4[i5], lt());
1689
+ t5.startsWith(h2) && (d3.push({ type: 6, index: c4 }), r6.removeAttribute(t5));
1690
+ if ($.test(r6.tagName)) {
1691
+ const t5 = r6.textContent.split(h2), s5 = t5.length - 1;
1692
+ if (s5 > 0) {
1693
+ r6.textContent = i3 ? i3.emptyScript : "";
1694
+ for (let i7 = 0; i7 < s5; i7++)
1695
+ r6.append(t5[i7], l2()), C.nextNode(), d3.push({ type: 2, index: ++c4 });
1696
+ r6.append(t5[s5], l2());
1696
1697
  }
1697
1698
  }
1698
- } else if (8 === e6.nodeType)
1699
- if (e6.data === m)
1700
- r5.push({ type: 2, index: h4 });
1699
+ } else if (8 === r6.nodeType)
1700
+ if (r6.data === o3)
1701
+ d3.push({ type: 2, index: c4 });
1701
1702
  else {
1702
- let t4 = -1;
1703
- for (; -1 !== (t4 = e6.data.indexOf(v, t4 + 1)); )
1704
- r5.push({ type: 7, index: h4 }), t4 += v.length - 1;
1703
+ let t5 = -1;
1704
+ for (; -1 !== (t5 = r6.data.indexOf(h2, t5 + 1)); )
1705
+ d3.push({ type: 7, index: c4 }), t5 += h2.length - 1;
1705
1706
  }
1706
- h4++;
1707
+ c4++;
1707
1708
  }
1708
1709
  }
1709
- static createElement(t3, i4) {
1710
- const s2 = w.createElement("template");
1711
- return s2.innerHTML = t3, s2;
1710
+ static createElement(t4, i7) {
1711
+ const s4 = r3.createElement("template");
1712
+ return s4.innerHTML = t4, s4;
1712
1713
  }
1713
1714
  };
1714
- function z(t3, i4, s2 = t3, e6) {
1715
- if (i4 === R)
1716
- return i4;
1717
- let h4 = void 0 !== e6 ? s2.o?.[e6] : s2.l;
1718
- const o4 = st(i4) ? void 0 : i4._$litDirective$;
1719
- 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;
1715
+ function S2(t4, i7, s4 = t4, e7) {
1716
+ if (i7 === T)
1717
+ return i7;
1718
+ let h3 = void 0 !== e7 ? s4._$Co?.[e7] : s4._$Cl;
1719
+ const o7 = c3(i7) ? void 0 : i7._$litDirective$;
1720
+ return h3?.constructor !== o7 && (h3?._$AO?.(false), void 0 === o7 ? h3 = void 0 : (h3 = new o7(t4), h3._$AT(t4, s4, e7)), void 0 !== e7 ? (s4._$Co ??= [])[e7] = h3 : s4._$Cl = h3), void 0 !== h3 && (i7 = S2(t4, h3._$AS(t4, i7.values), h3, e7)), i7;
1720
1721
  }
1721
- var F = class {
1722
- constructor(t3, i4) {
1723
- this._$AV = [], this._$AN = void 0, this._$AD = t3, this._$AM = i4;
1722
+ var M = class {
1723
+ constructor(t4, i7) {
1724
+ this._$AV = [], this._$AN = void 0, this._$AD = t4, this._$AM = i7;
1724
1725
  }
1725
1726
  get parentNode() {
1726
1727
  return this._$AM.parentNode;
@@ -1728,36 +1729,36 @@ var F = class {
1728
1729
  get _$AU() {
1729
1730
  return this._$AM._$AU;
1730
1731
  }
1731
- u(t3) {
1732
- const { el: { content: i4 }, parts: s2 } = this._$AD, e6 = (t3?.creationScope ?? w).importNode(i4, true);
1733
- I.currentNode = e6;
1734
- let h4 = I.nextNode(), o4 = 0, n5 = 0, r5 = s2[0];
1735
- for (; void 0 !== r5; ) {
1736
- if (o4 === r5.index) {
1737
- let i5;
1738
- 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];
1732
+ u(t4) {
1733
+ const { el: { content: i7 }, parts: s4 } = this._$AD, e7 = (t4?.creationScope ?? r3).importNode(i7, true);
1734
+ C.currentNode = e7;
1735
+ let h3 = C.nextNode(), o7 = 0, n6 = 0, l3 = s4[0];
1736
+ for (; void 0 !== l3; ) {
1737
+ if (o7 === l3.index) {
1738
+ let i8;
1739
+ 2 === l3.type ? i8 = new R(h3, h3.nextSibling, this, t4) : 1 === l3.type ? i8 = new l3.ctor(h3, l3.name, l3.strings, this, t4) : 6 === l3.type && (i8 = new z(h3, this, t4)), this._$AV.push(i8), l3 = s4[++n6];
1739
1740
  }
1740
- o4 !== r5?.index && (h4 = I.nextNode(), o4++);
1741
+ o7 !== l3?.index && (h3 = C.nextNode(), o7++);
1741
1742
  }
1742
- return I.currentNode = w, e6;
1743
+ return C.currentNode = r3, e7;
1743
1744
  }
1744
- p(t3) {
1745
- let i4 = 0;
1746
- for (const s2 of this._$AV)
1747
- void 0 !== s2 && (void 0 !== s2.strings ? (s2._$AI(t3, s2, i4), i4 += s2.strings.length - 2) : s2._$AI(t3[i4])), i4++;
1745
+ p(t4) {
1746
+ let i7 = 0;
1747
+ for (const s4 of this._$AV)
1748
+ void 0 !== s4 && (void 0 !== s4.strings ? (s4._$AI(t4, s4, i7), i7 += s4.strings.length - 2) : s4._$AI(t4[i7])), i7++;
1748
1749
  }
1749
1750
  };
1750
- var et = class _et {
1751
+ var R = class _R {
1751
1752
  get _$AU() {
1752
- return this._$AM?._$AU ?? this.v;
1753
+ return this._$AM?._$AU ?? this._$Cv;
1753
1754
  }
1754
- constructor(t3, i4, s2, e6) {
1755
- 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;
1755
+ constructor(t4, i7, s4, e7) {
1756
+ this.type = 2, this._$AH = E, this._$AN = void 0, this._$AA = t4, this._$AB = i7, this._$AM = s4, this.options = e7, this._$Cv = e7?.isConnected ?? true;
1756
1757
  }
1757
1758
  get parentNode() {
1758
- let t3 = this._$AA.parentNode;
1759
- const i4 = this._$AM;
1760
- return void 0 !== i4 && 11 === t3?.nodeType && (t3 = i4.parentNode), t3;
1759
+ let t4 = this._$AA.parentNode;
1760
+ const i7 = this._$AM;
1761
+ return void 0 !== i7 && 11 === t4?.nodeType && (t4 = i7.parentNode), t4;
1761
1762
  }
1762
1763
  get startNode() {
1763
1764
  return this._$AA;
@@ -1765,273 +1766,274 @@ var et = class _et {
1765
1766
  get endNode() {
1766
1767
  return this._$AB;
1767
1768
  }
1768
- _$AI(t3, i4 = this) {
1769
- 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);
1769
+ _$AI(t4, i7 = this) {
1770
+ t4 = S2(this, t4, i7), c3(t4) ? t4 === E || null == t4 || "" === t4 ? (this._$AH !== E && this._$AR(), this._$AH = E) : t4 !== this._$AH && t4 !== T && this._(t4) : void 0 !== t4._$litType$ ? this.$(t4) : void 0 !== t4.nodeType ? this.T(t4) : u2(t4) ? this.k(t4) : this._(t4);
1770
1771
  }
1771
- O(t3) {
1772
- return this._$AA.parentNode.insertBefore(t3, this._$AB);
1772
+ O(t4) {
1773
+ return this._$AA.parentNode.insertBefore(t4, this._$AB);
1773
1774
  }
1774
- T(t3) {
1775
- this._$AH !== t3 && (this._$AR(), this._$AH = this.O(t3));
1775
+ T(t4) {
1776
+ this._$AH !== t4 && (this._$AR(), this._$AH = this.O(t4));
1776
1777
  }
1777
- _(t3) {
1778
- this._$AH !== D && st(this._$AH) ? this._$AA.nextSibling.data = t3 : this.T(w.createTextNode(t3)), this._$AH = t3;
1778
+ _(t4) {
1779
+ this._$AH !== E && c3(this._$AH) ? this._$AA.nextSibling.data = t4 : this.T(r3.createTextNode(t4)), this._$AH = t4;
1779
1780
  }
1780
- $(t3) {
1781
- 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);
1782
- if (this._$AH?._$AD === e6)
1783
- this._$AH.p(i4);
1781
+ $(t4) {
1782
+ const { values: i7, _$litType$: s4 } = t4, e7 = "number" == typeof s4 ? this._$AC(t4) : (void 0 === s4.el && (s4.el = N.createElement(P(s4.h, s4.h[0]), this.options)), s4);
1783
+ if (this._$AH?._$AD === e7)
1784
+ this._$AH.p(i7);
1784
1785
  else {
1785
- const t4 = new F(e6, this), s3 = t4.u(this.options);
1786
- t4.p(i4), this.T(s3), this._$AH = t4;
1786
+ const t5 = new M(e7, this), s5 = t5.u(this.options);
1787
+ t5.p(i7), this.T(s5), this._$AH = t5;
1787
1788
  }
1788
1789
  }
1789
- _$AC(t3) {
1790
- let i4 = V.get(t3.strings);
1791
- return void 0 === i4 && V.set(t3.strings, i4 = new B(t3)), i4;
1790
+ _$AC(t4) {
1791
+ let i7 = A.get(t4.strings);
1792
+ return void 0 === i7 && A.set(t4.strings, i7 = new N(t4)), i7;
1792
1793
  }
1793
- k(t3) {
1794
- g(this._$AH) || (this._$AH = [], this._$AR());
1795
- const i4 = this._$AH;
1796
- let s2, e6 = 0;
1797
- for (const h4 of t3)
1798
- e6 === i4.length ? i4.push(s2 = new _et(this.O(lt()), this.O(lt()), this, this.options)) : s2 = i4[e6], s2._$AI(h4), e6++;
1799
- e6 < i4.length && (this._$AR(s2 && s2._$AB.nextSibling, e6), i4.length = e6);
1794
+ k(t4) {
1795
+ a2(this._$AH) || (this._$AH = [], this._$AR());
1796
+ const i7 = this._$AH;
1797
+ let s4, e7 = 0;
1798
+ for (const h3 of t4)
1799
+ e7 === i7.length ? i7.push(s4 = new _R(this.O(l2()), this.O(l2()), this, this.options)) : s4 = i7[e7], s4._$AI(h3), e7++;
1800
+ e7 < i7.length && (this._$AR(s4 && s4._$AB.nextSibling, e7), i7.length = e7);
1800
1801
  }
1801
- _$AR(t3 = this._$AA.nextSibling, i4) {
1802
- for (this._$AP?.(false, true, i4); t3 && t3 !== this._$AB; ) {
1803
- const i5 = t3.nextSibling;
1804
- t3.remove(), t3 = i5;
1802
+ _$AR(t4 = this._$AA.nextSibling, i7) {
1803
+ for (this._$AP?.(false, true, i7); t4 && t4 !== this._$AB; ) {
1804
+ const i8 = t4.nextSibling;
1805
+ t4.remove(), t4 = i8;
1805
1806
  }
1806
1807
  }
1807
- setConnected(t3) {
1808
- void 0 === this._$AM && (this.v = t3, this._$AP?.(t3));
1808
+ setConnected(t4) {
1809
+ void 0 === this._$AM && (this._$Cv = t4, this._$AP?.(t4));
1809
1810
  }
1810
1811
  };
1811
- var G = class {
1812
+ var k = class {
1812
1813
  get tagName() {
1813
1814
  return this.element.tagName;
1814
1815
  }
1815
1816
  get _$AU() {
1816
1817
  return this._$AM._$AU;
1817
1818
  }
1818
- constructor(t3, i4, s2, e6, h4) {
1819
- 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;
1819
+ constructor(t4, i7, s4, e7, h3) {
1820
+ this.type = 1, this._$AH = E, this._$AN = void 0, this.element = t4, this.name = i7, this._$AM = e7, this.options = h3, s4.length > 2 || "" !== s4[0] || "" !== s4[1] ? (this._$AH = Array(s4.length - 1).fill(new String()), this.strings = s4) : this._$AH = E;
1820
1821
  }
1821
- _$AI(t3, i4 = this, s2, e6) {
1822
- const h4 = this.strings;
1823
- let o4 = false;
1824
- if (void 0 === h4)
1825
- t3 = z(this, t3, i4, 0), o4 = !st(t3) || t3 !== this._$AH && t3 !== R, o4 && (this._$AH = t3);
1822
+ _$AI(t4, i7 = this, s4, e7) {
1823
+ const h3 = this.strings;
1824
+ let o7 = false;
1825
+ if (void 0 === h3)
1826
+ t4 = S2(this, t4, i7, 0), o7 = !c3(t4) || t4 !== this._$AH && t4 !== T, o7 && (this._$AH = t4);
1826
1827
  else {
1827
- const e7 = t3;
1828
- let n5, r5;
1829
- for (t3 = h4[0], n5 = 0; n5 < h4.length - 1; n5++)
1830
- 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;
1828
+ const e8 = t4;
1829
+ let n6, r6;
1830
+ for (t4 = h3[0], n6 = 0; n6 < h3.length - 1; n6++)
1831
+ r6 = S2(this, e8[s4 + n6], i7, n6), r6 === T && (r6 = this._$AH[n6]), o7 ||= !c3(r6) || r6 !== this._$AH[n6], r6 === E ? t4 = E : t4 !== E && (t4 += (r6 ?? "") + h3[n6 + 1]), this._$AH[n6] = r6;
1831
1832
  }
1832
- o4 && !e6 && this.j(t3);
1833
+ o7 && !e7 && this.j(t4);
1833
1834
  }
1834
- j(t3) {
1835
- t3 === D ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t3 ?? "");
1835
+ j(t4) {
1836
+ t4 === E ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t4 ?? "");
1836
1837
  }
1837
1838
  };
1838
- var Y = class extends G {
1839
+ var H = class extends k {
1839
1840
  constructor() {
1840
1841
  super(...arguments), this.type = 3;
1841
1842
  }
1842
- j(t3) {
1843
- this.element[this.name] = t3 === D ? void 0 : t3;
1843
+ j(t4) {
1844
+ this.element[this.name] = t4 === E ? void 0 : t4;
1844
1845
  }
1845
1846
  };
1846
- var Z = class extends G {
1847
+ var I = class extends k {
1847
1848
  constructor() {
1848
1849
  super(...arguments), this.type = 4;
1849
1850
  }
1850
- j(t3) {
1851
- this.element.toggleAttribute(this.name, !!t3 && t3 !== D);
1851
+ j(t4) {
1852
+ this.element.toggleAttribute(this.name, !!t4 && t4 !== E);
1852
1853
  }
1853
1854
  };
1854
- var q = class extends G {
1855
- constructor(t3, i4, s2, e6, h4) {
1856
- super(t3, i4, s2, e6, h4), this.type = 5;
1855
+ var L = class extends k {
1856
+ constructor(t4, i7, s4, e7, h3) {
1857
+ super(t4, i7, s4, e7, h3), this.type = 5;
1857
1858
  }
1858
- _$AI(t3, i4 = this) {
1859
- if ((t3 = z(this, t3, i4, 0) ?? D) === R)
1859
+ _$AI(t4, i7 = this) {
1860
+ if ((t4 = S2(this, t4, i7, 0) ?? E) === T)
1860
1861
  return;
1861
- 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);
1862
- e6 && this.element.removeEventListener(this.name, this, s2), h4 && this.element.addEventListener(this.name, this, t3), this._$AH = t3;
1862
+ const s4 = this._$AH, e7 = t4 === E && s4 !== E || t4.capture !== s4.capture || t4.once !== s4.once || t4.passive !== s4.passive, h3 = t4 !== E && (s4 === E || e7);
1863
+ e7 && this.element.removeEventListener(this.name, this, s4), h3 && this.element.addEventListener(this.name, this, t4), this._$AH = t4;
1863
1864
  }
1864
- handleEvent(t3) {
1865
- "function" == typeof this._$AH ? this._$AH.call(this.options?.host ?? this.element, t3) : this._$AH.handleEvent(t3);
1865
+ handleEvent(t4) {
1866
+ "function" == typeof this._$AH ? this._$AH.call(this.options?.host ?? this.element, t4) : this._$AH.handleEvent(t4);
1866
1867
  }
1867
1868
  };
1868
- var K = class {
1869
- constructor(t3, i4, s2) {
1870
- this.element = t3, this.type = 6, this._$AN = void 0, this._$AM = i4, this.options = s2;
1869
+ var z = class {
1870
+ constructor(t4, i7, s4) {
1871
+ this.element = t4, this.type = 6, this._$AN = void 0, this._$AM = i7, this.options = s4;
1871
1872
  }
1872
1873
  get _$AU() {
1873
1874
  return this._$AM._$AU;
1874
1875
  }
1875
- _$AI(t3) {
1876
- z(this, t3);
1876
+ _$AI(t4) {
1877
+ S2(this, t4);
1877
1878
  }
1878
1879
  };
1879
- var Re = n3.litHtmlPolyfillSupport;
1880
- Re?.(B, et), (n3.litHtmlVersions ??= []).push("3.2.0");
1881
- var Q = (t3, i4, s2) => {
1882
- const e6 = s2?.renderBefore ?? i4;
1883
- let h4 = e6._$litPart$;
1884
- if (void 0 === h4) {
1885
- const t4 = s2?.renderBefore ?? null;
1886
- e6._$litPart$ = h4 = new et(i4.insertBefore(lt(), t4), t4, void 0, s2 ?? {});
1887
- }
1888
- return h4._$AI(t3), h4;
1880
+ var j = t2.litHtmlPolyfillSupport;
1881
+ j?.(N, R), (t2.litHtmlVersions ??= []).push("3.3.0");
1882
+ var B = (t4, i7, s4) => {
1883
+ const e7 = s4?.renderBefore ?? i7;
1884
+ let h3 = e7._$litPart$;
1885
+ if (void 0 === h3) {
1886
+ const t5 = s4?.renderBefore ?? null;
1887
+ e7._$litPart$ = h3 = new R(i7.insertBefore(l2(), t5), t5, void 0, s4 ?? {});
1888
+ }
1889
+ return h3._$AI(t4), h3;
1889
1890
  };
1890
1891
 
1891
1892
  // node_modules/lit-element/lit-element.js
1892
- var h3 = class extends b {
1893
+ var s3 = globalThis;
1894
+ var i4 = class extends y {
1893
1895
  constructor() {
1894
- super(...arguments), this.renderOptions = { host: this }, this.o = void 0;
1896
+ super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
1895
1897
  }
1896
1898
  createRenderRoot() {
1897
- const t3 = super.createRenderRoot();
1898
- return this.renderOptions.renderBefore ??= t3.firstChild, t3;
1899
+ const t4 = super.createRenderRoot();
1900
+ return this.renderOptions.renderBefore ??= t4.firstChild, t4;
1899
1901
  }
1900
- update(t3) {
1901
- const e6 = this.render();
1902
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t3), this.o = Q(e6, this.renderRoot, this.renderOptions);
1902
+ update(t4) {
1903
+ const r6 = this.render();
1904
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t4), this._$Do = B(r6, this.renderRoot, this.renderOptions);
1903
1905
  }
1904
1906
  connectedCallback() {
1905
- super.connectedCallback(), this.o?.setConnected(true);
1907
+ super.connectedCallback(), this._$Do?.setConnected(true);
1906
1908
  }
1907
1909
  disconnectedCallback() {
1908
- super.disconnectedCallback(), this.o?.setConnected(false);
1910
+ super.disconnectedCallback(), this._$Do?.setConnected(false);
1909
1911
  }
1910
1912
  render() {
1911
- return R;
1913
+ return T;
1912
1914
  }
1913
1915
  };
1914
- h3._$litElement$ = true, h3["finalized"] = true, globalThis.litElementHydrateSupport?.({ LitElement: h3 });
1915
- var f3 = globalThis.litElementPolyfillSupport;
1916
- f3?.({ LitElement: h3 });
1917
- (globalThis.litElementVersions ??= []).push("4.1.0");
1916
+ i4._$litElement$ = true, i4["finalized"] = true, s3.litElementHydrateSupport?.({ LitElement: i4 });
1917
+ var o4 = s3.litElementPolyfillSupport;
1918
+ o4?.({ LitElement: i4 });
1919
+ (s3.litElementVersions ??= []).push("4.2.0");
1918
1920
 
1919
1921
  // node_modules/@lit/reactive-element/decorators/property.js
1920
- var o3 = { attribute: true, type: String, converter: u, reflect: false, hasChanged: f };
1921
- var r3 = (t3 = o3, e6, r5) => {
1922
- const { kind: n5, metadata: i4 } = r5;
1923
- let s2 = globalThis.litPropertyMetadata.get(i4);
1924
- if (void 0 === s2 && globalThis.litPropertyMetadata.set(i4, s2 = /* @__PURE__ */ new Map()), s2.set(r5.name, t3), "accessor" === n5) {
1925
- const { name: o4 } = r5;
1926
- return { set(r6) {
1927
- const n6 = e6.get.call(this);
1928
- e6.set.call(this, r6), this.requestUpdate(o4, n6, t3);
1929
- }, init(e7) {
1930
- return void 0 !== e7 && this.P(o4, void 0, t3), e7;
1922
+ var o5 = { attribute: true, type: String, converter: u, reflect: false, hasChanged: f };
1923
+ var r4 = (t4 = o5, e7, r6) => {
1924
+ const { kind: n6, metadata: i7 } = r6;
1925
+ let s4 = globalThis.litPropertyMetadata.get(i7);
1926
+ if (void 0 === s4 && globalThis.litPropertyMetadata.set(i7, s4 = /* @__PURE__ */ new Map()), "setter" === n6 && ((t4 = Object.create(t4)).wrapped = true), s4.set(r6.name, t4), "accessor" === n6) {
1927
+ const { name: o7 } = r6;
1928
+ return { set(r7) {
1929
+ const n7 = e7.get.call(this);
1930
+ e7.set.call(this, r7), this.requestUpdate(o7, n7, t4);
1931
+ }, init(e8) {
1932
+ return void 0 !== e8 && this.C(o7, void 0, t4, e8), e8;
1931
1933
  } };
1932
1934
  }
1933
- if ("setter" === n5) {
1934
- const { name: o4 } = r5;
1935
- return function(r6) {
1936
- const n6 = this[o4];
1937
- e6.call(this, r6), this.requestUpdate(o4, n6, t3);
1935
+ if ("setter" === n6) {
1936
+ const { name: o7 } = r6;
1937
+ return function(r7) {
1938
+ const n7 = this[o7];
1939
+ e7.call(this, r7), this.requestUpdate(o7, n7, t4);
1938
1940
  };
1939
1941
  }
1940
- throw Error("Unsupported decorator location: " + n5);
1942
+ throw Error("Unsupported decorator location: " + n6);
1941
1943
  };
1942
- function n4(t3) {
1943
- return (e6, o4) => "object" == typeof o4 ? r3(t3, e6, o4) : ((t4, e7, o5) => {
1944
- const r5 = e7.hasOwnProperty(o5);
1945
- return e7.constructor.createProperty(o5, r5 ? { ...t4, wrapped: true } : t4), r5 ? Object.getOwnPropertyDescriptor(e7, o5) : void 0;
1946
- })(t3, e6, o4);
1944
+ function n4(t4) {
1945
+ return (e7, o7) => "object" == typeof o7 ? r4(t4, e7, o7) : ((t5, e8, o8) => {
1946
+ const r6 = e8.hasOwnProperty(o8);
1947
+ return e8.constructor.createProperty(o8, t5), r6 ? Object.getOwnPropertyDescriptor(e8, o8) : void 0;
1948
+ })(t4, e7, o7);
1947
1949
  }
1948
1950
 
1949
1951
  // node_modules/@lit/reactive-element/decorators/state.js
1950
- function r4(r5) {
1951
- return n4({ ...r5, state: true, attribute: false });
1952
+ function r5(r6) {
1953
+ return n4({ ...r6, state: true, attribute: false });
1952
1954
  }
1953
1955
 
1954
1956
  // node_modules/@lit/reactive-element/decorators/base.js
1955
- var e3 = (e6, t3, c4) => (c4.configurable = true, c4.enumerable = true, Reflect.decorate && "object" != typeof t3 && Object.defineProperty(e6, t3, c4), c4);
1957
+ var e4 = (e7, t4, c4) => (c4.configurable = true, c4.enumerable = true, Reflect.decorate && "object" != typeof t4 && Object.defineProperty(e7, t4, c4), c4);
1956
1958
 
1957
1959
  // node_modules/@lit/reactive-element/decorators/query.js
1958
- function e4(e6, r5) {
1959
- return (n5, s2, i4) => {
1960
- const o4 = (t3) => t3.renderRoot?.querySelector(e6) ?? null;
1961
- if (r5) {
1962
- const { get: e7, set: r6 } = "object" == typeof s2 ? n5 : i4 ?? (() => {
1963
- const t3 = Symbol();
1960
+ function e5(e7, r6) {
1961
+ return (n6, s4, i7) => {
1962
+ const o7 = (t4) => t4.renderRoot?.querySelector(e7) ?? null;
1963
+ if (r6) {
1964
+ const { get: e8, set: r7 } = "object" == typeof s4 ? n6 : i7 ?? (() => {
1965
+ const t4 = Symbol();
1964
1966
  return { get() {
1965
- return this[t3];
1966
- }, set(e8) {
1967
- this[t3] = e8;
1967
+ return this[t4];
1968
+ }, set(e9) {
1969
+ this[t4] = e9;
1968
1970
  } };
1969
1971
  })();
1970
- return e3(n5, s2, { get() {
1971
- let t3 = e7.call(this);
1972
- return void 0 === t3 && (t3 = o4(this), (null !== t3 || this.hasUpdated) && r6.call(this, t3)), t3;
1972
+ return e4(n6, s4, { get() {
1973
+ let t4 = e8.call(this);
1974
+ return void 0 === t4 && (t4 = o7(this), (null !== t4 || this.hasUpdated) && r7.call(this, t4)), t4;
1973
1975
  } });
1974
1976
  }
1975
- return e3(n5, s2, { get() {
1976
- return o4(this);
1977
+ return e4(n6, s4, { get() {
1978
+ return o7(this);
1977
1979
  } });
1978
1980
  };
1979
1981
  }
1980
1982
 
1981
1983
  // node_modules/lit-html/directive.js
1982
- var t2 = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 };
1983
- var e5 = (t3) => (...e6) => ({ _$litDirective$: t3, values: e6 });
1984
- var i3 = class {
1985
- constructor(t3) {
1984
+ var t3 = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 };
1985
+ var e6 = (t4) => (...e7) => ({ _$litDirective$: t4, values: e7 });
1986
+ var i5 = class {
1987
+ constructor(t4) {
1986
1988
  }
1987
1989
  get _$AU() {
1988
1990
  return this._$AM._$AU;
1989
1991
  }
1990
- _$AT(t3, e6, i4) {
1991
- this.t = t3, this._$AM = e6, this.i = i4;
1992
+ _$AT(t4, e7, i7) {
1993
+ this._$Ct = t4, this._$AM = e7, this._$Ci = i7;
1992
1994
  }
1993
- _$AS(t3, e6) {
1994
- return this.update(t3, e6);
1995
+ _$AS(t4, e7) {
1996
+ return this.update(t4, e7);
1995
1997
  }
1996
- update(t3, e6) {
1997
- return this.render(...e6);
1998
+ update(t4, e7) {
1999
+ return this.render(...e7);
1998
2000
  }
1999
2001
  };
2000
2002
 
2001
2003
  // node_modules/lit-html/directives/style-map.js
2002
- var ee = "important";
2003
- var ie = " !" + ee;
2004
- var se = e5(class extends i3 {
2005
- constructor(e6) {
2006
- if (super(e6), e6.type !== t2.ATTRIBUTE || "style" !== e6.name || e6.strings?.length > 2)
2004
+ var n5 = "important";
2005
+ var i6 = " !" + n5;
2006
+ var o6 = e6(class extends i5 {
2007
+ constructor(t4) {
2008
+ if (super(t4), t4.type !== t3.ATTRIBUTE || "style" !== t4.name || t4.strings?.length > 2)
2007
2009
  throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
2008
2010
  }
2009
- render(t3) {
2010
- return Object.keys(t3).reduce((e6, r5) => {
2011
- const s2 = t3[r5];
2012
- return null == s2 ? e6 : e6 + `${r5 = r5.includes("-") ? r5 : r5.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${s2};`;
2011
+ render(t4) {
2012
+ return Object.keys(t4).reduce((e7, r6) => {
2013
+ const s4 = t4[r6];
2014
+ return null == s4 ? e7 : e7 + `${r6 = r6.includes("-") ? r6 : r6.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${s4};`;
2013
2015
  }, "");
2014
2016
  }
2015
- update(t3, [e6]) {
2016
- const { style: r5 } = t3.element;
2017
+ update(e7, [r6]) {
2018
+ const { style: s4 } = e7.element;
2017
2019
  if (void 0 === this.ft)
2018
- return this.ft = new Set(Object.keys(e6)), this.render(e6);
2020
+ return this.ft = new Set(Object.keys(r6)), this.render(r6);
2019
2021
  for (const t4 of this.ft)
2020
- null == e6[t4] && (this.ft.delete(t4), t4.includes("-") ? r5.removeProperty(t4) : r5[t4] = null);
2021
- for (const t4 in e6) {
2022
- const s2 = e6[t4];
2023
- if (null != s2) {
2022
+ null == r6[t4] && (this.ft.delete(t4), t4.includes("-") ? s4.removeProperty(t4) : s4[t4] = null);
2023
+ for (const t4 in r6) {
2024
+ const e8 = r6[t4];
2025
+ if (null != e8) {
2024
2026
  this.ft.add(t4);
2025
- const e7 = "string" == typeof s2 && s2.endsWith(ie);
2026
- t4.includes("-") || e7 ? r5.setProperty(t4, e7 ? s2.slice(0, -11) : s2, e7 ? ee : "") : r5[t4] = s2;
2027
+ const r7 = "string" == typeof e8 && e8.endsWith(i6);
2028
+ t4.includes("-") || r7 ? s4.setProperty(t4, r7 ? e8.slice(0, -11) : e8, r7 ? n5 : "") : s4[t4] = e8;
2027
2029
  }
2028
2030
  }
2029
- return R;
2031
+ return T;
2030
2032
  }
2031
2033
  });
2032
2034
 
2033
2035
  // libs/embed-libs/embed/package.json
2034
- var version = "6.4.2";
2036
+ var version = "6.5.0-beta.0";
2035
2037
 
2036
2038
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
2037
2039
  var LuzmoService = class {
@@ -2329,7 +2331,7 @@ var dashboardStyles = i`
2329
2331
 
2330
2332
  // libs/embed-libs/embed/src/lib/dashboard-component/dashboard-base.ts
2331
2333
  var dashboardRemote = "DashboardApp";
2332
- var LuzmoDashboard = class extends h3 {
2334
+ var LuzmoDashboard = class extends i4 {
2333
2335
  constructor() {
2334
2336
  super();
2335
2337
  this.language = "auto";
@@ -2391,9 +2393,9 @@ var LuzmoDashboard = class extends h3 {
2391
2393
  if (this.shadowRoot?.querySelector(".dashboard-container")) {
2392
2394
  this.containerWidth = this.luzmoEmbedContainer.offsetWidth;
2393
2395
  if (this.params.switchScreenModeOnResize && this.params.screenMode === "auto") {
2394
- for (const d2 of EXTENTS) {
2395
- if (d2.width[0] <= window.innerWidth && window.innerWidth <= d2.width[1]) {
2396
- this.currentScreenMode = d2.mode;
2396
+ for (const d3 of EXTENTS) {
2397
+ if (d3.width[0] <= window.innerWidth && window.innerWidth <= d3.width[1]) {
2398
+ this.currentScreenMode = d3.mode;
2397
2399
  }
2398
2400
  }
2399
2401
  }
@@ -2694,33 +2696,33 @@ var LuzmoDashboard = class extends h3 {
2694
2696
  }
2695
2697
  render() {
2696
2698
  let toBeRenderedHTML;
2697
- const loader = ke`
2699
+ const loader = x`
2698
2700
  <div
2699
2701
  class="luzmo-container-loader"
2700
2702
  id="luzmo-container-loader-${this._containerId}"
2701
- style=${se(
2703
+ style=${o6(
2702
2704
  this._containerLoaderStyle
2703
2705
  )}
2704
2706
  >
2705
2707
  <div
2706
2708
  class="luzmo-loader"
2707
2709
  id="luzmo-loader-${this._containerId}"
2708
- style=${se(this._loaderStyle)}
2710
+ style=${o6(this._loaderStyle)}
2709
2711
  >
2710
2712
  <div
2711
2713
  class="luzmo-lc"
2712
- style=${se(this._lcStyle)}
2714
+ style=${o6(this._lcStyle)}
2713
2715
  >
2714
2716
  <div
2715
2717
  class="luzmo-loading-circle"
2716
- style=${se(
2718
+ style=${o6(
2717
2719
  this._loadingCircleStyle
2718
2720
  )}
2719
2721
  ></div>
2720
- ${this._itemEmbedding ? "" : ke`
2722
+ ${this._itemEmbedding ? "" : x`
2721
2723
  <div
2722
2724
  class="luzmo-loading-message"
2723
- style=${se({ color: this.loaderFontColor })}
2725
+ style=${o6({ color: this.loaderFontColor })}
2724
2726
  >
2725
2727
  ${this._loaderMsg}
2726
2728
  </div>
@@ -2730,41 +2732,41 @@ var LuzmoDashboard = class extends h3 {
2730
2732
  </div>
2731
2733
  `;
2732
2734
  if (this.isWebComponentViewMode()) {
2733
- toBeRenderedHTML = this.isLibraryLoaded ? ke`
2734
- ${this.dashboardId || this.dashboardSlug ? ke`
2735
+ toBeRenderedHTML = this.isLibraryLoaded ? x`
2736
+ ${this.dashboardId || this.dashboardSlug ? x`
2735
2737
  <dashboard-component dashboard-id="${this.params.dashboardId}" app-server="${this.params.appServer}"
2736
2738
  api-host="${this.params.apiHost}"></dashboard-component>
2737
- ` : ke`
2739
+ ` : x`
2738
2740
  <div id="luzmo-error-${this._containerId}">
2739
2741
  <h3 class="luzmo-error">${this.browserErrorMsg}</h3>
2740
2742
  </div>
2741
2743
  `}
2742
- ` : ke`${loader}`;
2744
+ ` : x`${loader}`;
2743
2745
  } else {
2744
- toBeRenderedHTML = ke`
2745
- ${this.dashboardId || this.dashboardSlug ? ke`
2746
+ toBeRenderedHTML = x`
2747
+ ${this.dashboardId || this.dashboardSlug ? x`
2746
2748
  ${loader}
2747
2749
  <iframe
2748
2750
  class="luzmo-embed-dashboard ${this.isWebComponentViewMode() ? "" : `luzmo-embed-dashboard-ede`}"
2749
2751
  id="${this._iframeId}"
2750
2752
  name="${this._iframeId}"
2751
- style=${se(this.iframeStyle)}
2753
+ style=${o6(this.iframeStyle)}
2752
2754
  src="${this._iframeUrl}"
2753
2755
  frameborder="0"
2754
2756
  ></iframe>
2755
- ` : ke`<!-- the dashboard will inititialize when you provide a dashboardSlug or a dashboardId -->`}
2756
- ${this.browserError ? ke`
2757
+ ` : x`<!-- the dashboard will inititialize when you provide a dashboardSlug or a dashboardId -->`}
2758
+ ${this.browserError ? x`
2757
2759
  <div id="luzmo-error-${this._containerId}">
2758
2760
  <h3 class="luzmo-error">${this.browserErrorMsg}</h3>
2759
2761
  </div>
2760
2762
  ` : ""}
2761
2763
  `;
2762
2764
  }
2763
- return ke`
2765
+ return x`
2764
2766
  <div class="${luzmoEmbedContainerClass} ${this.isWebComponentViewMode() ? "" : `${luzmoEmbedContainerClass}-ede`}">
2765
2767
  <div
2766
2768
  class="dashboard-container"
2767
- style=${se(Object.assign({}, this._containerStyle, {
2769
+ style=${o6(Object.assign({}, this._containerStyle, {
2768
2770
  width: this.iframeStyle.width ?? "100%",
2769
2771
  height: this.iframeStyle.height ?? "100%"
2770
2772
  }))}
@@ -2890,13 +2892,13 @@ var LuzmoDashboard = class extends h3 {
2890
2892
  }
2891
2893
  };
2892
2894
  __decorateClass([
2893
- e4(".dashboard-container")
2895
+ e5(".dashboard-container")
2894
2896
  ], LuzmoDashboard.prototype, "container", 2);
2895
2897
  __decorateClass([
2896
- e4(`.${luzmoEmbedContainerClass}`)
2898
+ e5(`.${luzmoEmbedContainerClass}`)
2897
2899
  ], LuzmoDashboard.prototype, "luzmoEmbedContainer", 2);
2898
2900
  __decorateClass([
2899
- e4("iframe")
2901
+ e5("iframe")
2900
2902
  ], LuzmoDashboard.prototype, "iframe", 2);
2901
2903
  __decorateClass([
2902
2904
  n4()
@@ -3039,19 +3041,19 @@ __decorateClass([
3039
3041
  n4()
3040
3042
  ], LuzmoDashboard.prototype, "libVersion", 2);
3041
3043
  __decorateClass([
3042
- r4()
3044
+ r5()
3043
3045
  ], LuzmoDashboard.prototype, "isLibraryLoaded", 2);
3044
3046
  __decorateClass([
3045
- r4()
3047
+ r5()
3046
3048
  ], LuzmoDashboard.prototype, "dashboardReference", 2);
3047
3049
  __decorateClass([
3048
- r4()
3050
+ r5()
3049
3051
  ], LuzmoDashboard.prototype, "currentAuthKey", 2);
3050
3052
  __decorateClass([
3051
- r4()
3053
+ r5()
3052
3054
  ], LuzmoDashboard.prototype, "currentAuthToken", 2);
3053
3055
  __decorateClass([
3054
- r4()
3056
+ r5()
3055
3057
  ], LuzmoDashboard.prototype, "isInitCalled", 2);
3056
3058
 
3057
3059
  // libs/embed-libs/embed/src/lib/dashboard-component/dashboard-component.ts
@@ -3064,7 +3066,7 @@ if (!customElements.get("luzmo-embed-dashboard")) {
3064
3066
  // libs/embed-libs/embed/src/lib/viz-item/viz-item.base.ts
3065
3067
  var dashboardContentsVersion = "0.1.95";
3066
3068
  var vizItemRemote = "VizItemApp";
3067
- var LuzmoBaseVizItem = class extends h3 {
3069
+ var LuzmoBaseVizItem = class extends i4 {
3068
3070
  constructor() {
3069
3071
  super(...arguments);
3070
3072
  this.appServer = "https://app.luzmo.com";
@@ -3197,7 +3199,7 @@ var LuzmoBaseVizItem = class extends h3 {
3197
3199
  }
3198
3200
  }
3199
3201
  render() {
3200
- return ke` `;
3202
+ return x` `;
3201
3203
  }
3202
3204
  };
3203
3205
  __decorateClass([
@@ -3280,7 +3282,7 @@ var inputMap = {
3280
3282
  };
3281
3283
  var embedChatTag = "luzmo-iq-embed-chat";
3282
3284
  var chatComponentTag = "luzmo-iq-chat-component";
3283
- var LuzmoIQEmbedChatComponent = class extends h3 {
3285
+ var LuzmoIQEmbedChatComponent = class extends i4 {
3284
3286
  constructor() {
3285
3287
  super(...arguments);
3286
3288
  this.appServer = "https://app.luzmo.com";
@@ -3289,7 +3291,6 @@ var LuzmoIQEmbedChatComponent = class extends h3 {
3289
3291
  this.libVersion = version + "-wc-luzmo";
3290
3292
  this.remoteEntryServer = "http://localhost:4202/";
3291
3293
  this.aydHost = "https://ayd.luzmo.com/";
3292
- this.availableDatasets = [];
3293
3294
  }
3294
3295
  static {
3295
3296
  // Static styles to set host display to block, else it is not shown at all for some reason.
@@ -3347,7 +3348,7 @@ var LuzmoIQEmbedChatComponent = class extends h3 {
3347
3348
  }
3348
3349
  }
3349
3350
  render() {
3350
- return ke``;
3351
+ return x``;
3351
3352
  }
3352
3353
  connectedCallback() {
3353
3354
  super.connectedCallback();
@@ -3422,7 +3423,7 @@ var inputMap2 = {
3422
3423
  messages: "messages"
3423
3424
  };
3424
3425
  var componentTag = "luzmo-iq-embed-answer";
3425
- var LuzmoIQEmbedAnswerComponent = class extends h3 {
3426
+ var LuzmoIQEmbedAnswerComponent = class extends i4 {
3426
3427
  constructor() {
3427
3428
  super(...arguments);
3428
3429
  this.appServer = "https://app.luzmo.com";
@@ -3488,7 +3489,7 @@ var LuzmoIQEmbedAnswerComponent = class extends h3 {
3488
3489
  }
3489
3490
  }
3490
3491
  render() {
3491
- return ke` `;
3492
+ return x` `;
3492
3493
  }
3493
3494
  };
3494
3495
  __decorateClass([
@@ -3584,7 +3585,7 @@ var luzmoRefParserOptions = {
3584
3585
  };
3585
3586
 
3586
3587
  // libs/embed-libs/embed/src/index.ts
3587
- h3.disableWarning?.("change-in-update");
3588
+ i4.disableWarning?.("change-in-update");
3588
3589
  /*! Bundled license information:
3589
3590
 
3590
3591
  @lit/reactive-element/css-tag.js: