"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const reactiveElement = require("../../../@lit_reactive-element@1.6.3/node_modules/@lit/reactive-element/reactive-element.js");
const litHtml = require("../../../lit-html@2.8.0/node_modules/lit-html/lit-html.js");
/**
 * @license
 * Copyright 2017 Google LLC
 * SPDX-License-Identifier: BSD-3-Clause
 */
var l, o;
class s extends reactiveElement.ReactiveElement {
  constructor() {
    super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
  }
  createRenderRoot() {
    var t, e;
    const i = super.createRenderRoot();
    return null !== (t = (e = this.renderOptions).renderBefore) && void 0 !== t || (e.renderBefore = i.firstChild), i;
  }
  update(t) {
    const i = this.render();
    this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = litHtml.render(i, this.renderRoot, this.renderOptions);
  }
  connectedCallback() {
    var t;
    super.connectedCallback(), null === (t = this._$Do) || void 0 === t || t.setConnected(true);
  }
  disconnectedCallback() {
    var t;
    super.disconnectedCallback(), null === (t = this._$Do) || void 0 === t || t.setConnected(false);
  }
  render() {
    return litHtml.noChange;
  }
}
s.finalized = true, s._$litElement$ = true, null === (l = globalThis.litElementHydrateSupport) || void 0 === l || l.call(globalThis, { LitElement: s });
const n = globalThis.litElementPolyfillSupport;
null == n || n({ LitElement: s });
(null !== (o = globalThis.litElementVersions) && void 0 !== o ? o : globalThis.litElementVersions = []).push("3.3.3");
exports.ReactiveElement = reactiveElement.ReactiveElement;
exports.defaultConverter = reactiveElement.defaultConverter;
exports.notEqual = reactiveElement.notEqual;
exports.html = litHtml.html;
exports.noChange = litHtml.noChange;
exports.nothing = litHtml.nothing;
exports.render = litHtml.render;
exports.LitElement = s;
//# sourceMappingURL=lit-element.js.map
