import { ReactiveElement as u } from "../../../@lit_reactive-element@1.6.3/node_modules/@lit/reactive-element/reactive-element.js";
import { defaultConverter, notEqual } from "../../../@lit_reactive-element@1.6.3/node_modules/@lit/reactive-element/reactive-element.js";
import { render as D, noChange as T } from "../../../lit-html@2.8.0/node_modules/lit-html/lit-html.js";
import { html, nothing } from "../../../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 u {
  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 = D(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 T;
  }
}
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");
export {
  s as LitElement,
  u as ReactiveElement,
  defaultConverter,
  html,
  T as noChange,
  notEqual,
  nothing,
  D as render
};
//# sourceMappingURL=lit-element.js.map
