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IAAI,CAAE,GAEjC,IAAI,CAAC,aAAa,CAAE,IAAI,YAAa,eAAgB,CACnD,OAAQ,EAAO,IAAI,CACnB,QAAS,CAAA,EACT,SAAU,CAAA,EACV,WAAY,CAAA,CACd,IAEA,IAAI,CAAC,aAAa,GAElB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,KACvB,IAAM,EAAK,CAAC,KAAK,EAAE,EAAM,EAAE,CAAC,CACtB,EAAQ,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,GAE/C,IAAK,IAAM,KADX,QAAQ,KAAK,CAAE,EAAI,GACA,GACjB,EAAK,SAAS,EAElB,EACF,CAAC,AAGD,CAAA,QAAS,CAEP,MAAO,AAAA,CAAA,EAAA,EAAA,IAAG,AAAH,CAAI,CAAC;;;QAGR,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAE,CAAC,EAAQ,IAAU,IAAI,CAAC,CAAC,CAAY,CAAC,EAAQ,IAAQ;;;IAG9E,CAAC,AACH,CAGA,CAAC,CAAoB,CAAC,CAAM,CAAE,CAAK,EACjC,MAAO,AAAA,CAAA,EAAA,EAAA,IAAG,AAAH,CAAI,CAAC;;;6BAGa,EAAE,EAAO,IAAI,CAAC;;;;QAInC,EAAE,OAAO,OAAO,CAAC,EAAO,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAK,EAAM,GAAK,AAAA,CAAA,EAAA,EAAA,IAAG,AAAH,CAAI,CAAC;;iCAEjC,EAAE,EAAI;;qCAEF,EAAE,EAAM;gBAC7B,EAAE,KAAK,SAAS,CAAC,GAAO;;;;QAIhC,CAAC,EAAE;;;;WAIA,CAAC,AACV,CAEF,CAEA,OAAO,cAAc,CAAC,MAAM,CAAC,cAAe","sources":["","src/lg4j-result.js","node_modules/@alenaksu/json-viewer/dist/json-viewer.js","node_modules/@alenaksu/json-viewer/src/index.ts","node_modules/@alenaksu/json-viewer/dist/JsonViewer.js","node_modules/@alenaksu/json-viewer/node_modules/tslib/tslib.es6.js","node_modules/@alenaksu/json-viewer/src/utils.ts","node_modules/@alenaksu/json-viewer/src/stateChange.ts","node_modules/@alenaksu/json-viewer/src/JsonViewer.ts","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/@lit/reactive-element/reactive-element.js","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/@lit/reactive-element/src/reactive-element.ts","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/@lit/reactive-element/css-tag.js","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/@lit/reactive-element/src/css-tag.ts","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/lit-html/lit-html.js","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/lit-html/src/lit-html.ts","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/lit-element/lit-element.js","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/lit-element/src/lit-element.ts","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/lit-html/is-server.js","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/lit-html/src/is-server.ts","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/@lit/reactive-element/decorators/custom-element.js","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/@lit/reactive-element/src/decorators/custom-element.ts","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/@lit/reactive-element/decorators/property.js","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/@lit/reactive-element/src/decorators/property.ts","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/@lit/reactive-element/decorators/state.js","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/@lit/reactive-element/src/decorators/state.ts","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/@lit/reactive-element/decorators/event-options.js","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/@lit/reactive-element/src/decorators/event-options.ts","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/@lit/reactive-element/decorators/base.js","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/@lit/reactive-element/src/decorators/base.ts","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/@lit/reactive-element/decorators/query.js","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/@lit/reactive-element/src/decorators/query.ts","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/@lit/reactive-element/decorators/query-all.js","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/@lit/reactive-element/src/decorators/query-all.ts","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/@lit/reactive-element/decorators/query-async.js","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/@lit/reactive-element/src/decorators/query-async.ts","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/@lit/reactive-element/decorators/query-assigned-elements.js","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/@lit/reactive-element/src/decorators/query-assigned-elements.ts","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/@lit/reactive-element/decorators/query-assigned-nodes.js","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/@lit/reactive-element/src/decorators/query-assigned-nodes.ts","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/lit-html/directives/class-map.js","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/lit-html/src/directives/class-map.ts","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/lit-html/directive.js","node_modules/@alenaksu/json-viewer/node_modules/lit/node_modules/lit-html/src/directive.ts"],"sourcesContent":["\n var $parcel$global = globalThis;\n \nvar $parcel$modules = {};\nvar $parcel$inits = {};\n\nvar parcelRequire = $parcel$global[\"parcelRequire3bab\"];\n\nif (parcelRequire == null) {\n parcelRequire = function(id) {\n if (id in $parcel$modules) {\n return $parcel$modules[id].exports;\n }\n if (id in $parcel$inits) {\n var init = $parcel$inits[id];\n delete $parcel$inits[id];\n var module = {id: id, exports: {}};\n $parcel$modules[id] = module;\n init.call(module.exports, module, module.exports);\n return module.exports;\n }\n var err = new Error(\"Cannot find module '\" + id + \"'\");\n err.code = 'MODULE_NOT_FOUND';\n throw err;\n };\n\n parcelRequire.register = function register(id, init) {\n $parcel$inits[id] = init;\n };\n\n $parcel$global[\"parcelRequire3bab\"] = parcelRequire;\n}\n\nvar parcelRegister = parcelRequire.register;\n\nvar $hNeh9 = parcelRequire(\"hNeh9\");\n\nvar $800sp = parcelRequire(\"800sp\");\n/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */ const $0e8ed1ff15370e31$var$t = window, $0e8ed1ff15370e31$export$b4d10f6001c083c2 = $0e8ed1ff15370e31$var$t.ShadowRoot && (void 0 === $0e8ed1ff15370e31$var$t.ShadyCSS || $0e8ed1ff15370e31$var$t.ShadyCSS.nativeShadow) && \"adoptedStyleSheets\" in Document.prototype && \"replace\" in CSSStyleSheet.prototype, $0e8ed1ff15370e31$var$s = Symbol(), $0e8ed1ff15370e31$var$n = new WeakMap;\nclass $0e8ed1ff15370e31$export$505d1e8739bad805 {\n constructor(t, e, n){\n if (this._$cssResult$ = !0, n !== $0e8ed1ff15370e31$var$s) throw Error(\"CSSResult is not constructable. Use `unsafeCSS` or `css` instead.\");\n this.cssText = t, this.t = e;\n }\n get styleSheet() {\n let t = this.o;\n const s = this.t;\n if ($0e8ed1ff15370e31$export$b4d10f6001c083c2 && void 0 === t) {\n const e = void 0 !== s && 1 === s.length;\n e && (t = $0e8ed1ff15370e31$var$n.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet).replaceSync(this.cssText), e && $0e8ed1ff15370e31$var$n.set(s, t));\n }\n return t;\n }\n toString() {\n return this.cssText;\n }\n}\nconst $0e8ed1ff15370e31$export$8d80f9cac07cdb3 = (t)=>new $0e8ed1ff15370e31$export$505d1e8739bad805(\"string\" == typeof t ? t : t + \"\", void 0, $0e8ed1ff15370e31$var$s), $0e8ed1ff15370e31$export$dbf350e5966cf602 = (t, ...e)=>{\n const n = 1 === t.length ? t[0] : e.reduce((e, s, n)=>e + ((t)=>{\n if (!0 === t._$cssResult$) return t.cssText;\n if (\"number\" == typeof t) return t;\n throw Error(\"Value passed to 'css' function must be a 'css' function result: \" + t + \". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.\");\n })(s) + t[n + 1], t[0]);\n return new $0e8ed1ff15370e31$export$505d1e8739bad805(n, t, $0e8ed1ff15370e31$var$s);\n}, $0e8ed1ff15370e31$export$2ca4a66ec4cecb90 = (s, n)=>{\n $0e8ed1ff15370e31$export$b4d10f6001c083c2 ? s.adoptedStyleSheets = n.map((t)=>t instanceof CSSStyleSheet ? t : t.styleSheet) : n.forEach((e)=>{\n const n = document.createElement(\"style\"), o = $0e8ed1ff15370e31$var$t.litNonce;\n void 0 !== o && n.setAttribute(\"nonce\", o), n.textContent = e.cssText, s.appendChild(n);\n });\n}, $0e8ed1ff15370e31$export$ee69dfd951e24778 = $0e8ed1ff15370e31$export$b4d10f6001c083c2 ? (t)=>t : (t)=>t instanceof CSSStyleSheet ? ((t)=>{\n let e = \"\";\n for (const s of t.cssRules)e += s.cssText;\n return $0e8ed1ff15370e31$export$8d80f9cac07cdb3(e);\n })(t) : t;\n\n\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */ var $9654253c62a6f15b$var$s;\nconst $9654253c62a6f15b$var$e = window, $9654253c62a6f15b$var$r = $9654253c62a6f15b$var$e.trustedTypes, $9654253c62a6f15b$var$h = $9654253c62a6f15b$var$r ? $9654253c62a6f15b$var$r.emptyScript : \"\", $9654253c62a6f15b$var$o = $9654253c62a6f15b$var$e.reactiveElementPolyfillSupport, $9654253c62a6f15b$export$7312b35fbf521afb = {\n toAttribute (t, i) {\n switch(i){\n case Boolean:\n t = t ? $9654253c62a6f15b$var$h : null;\n break;\n case Object:\n case Array:\n t = null == t ? t : JSON.stringify(t);\n }\n return t;\n },\n fromAttribute (t, i) {\n let s = t;\n switch(i){\n case Boolean:\n s = null !== t;\n break;\n case Number:\n s = null === t ? null : Number(t);\n break;\n case Object:\n case Array:\n try {\n s = JSON.parse(t);\n } catch (t) {\n s = null;\n }\n }\n return s;\n }\n}, $9654253c62a6f15b$export$53a6892c50694894 = (t, i)=>i !== t && (i == i || t == t), $9654253c62a6f15b$var$l = {\n attribute: !0,\n type: String,\n converter: $9654253c62a6f15b$export$7312b35fbf521afb,\n reflect: !1,\n hasChanged: $9654253c62a6f15b$export$53a6892c50694894\n}, $9654253c62a6f15b$var$d = \"finalized\";\nclass $9654253c62a6f15b$export$c7c07a37856565d extends HTMLElement {\n constructor(){\n super(), this._$Ei = new Map, this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this._$Eu();\n }\n static addInitializer(t) {\n var i;\n this.finalize(), (null !== (i = this.h) && void 0 !== i ? i : this.h = []).push(t);\n }\n static get observedAttributes() {\n this.finalize();\n const t = [];\n return this.elementProperties.forEach((i, s)=>{\n const e = this._$Ep(s, i);\n void 0 !== e && (this._$Ev.set(e, s), t.push(e));\n }), t;\n }\n static createProperty(t, i = $9654253c62a6f15b$var$l) {\n if (i.state && (i.attribute = !1), this.finalize(), this.elementProperties.set(t, i), !i.noAccessor && !this.prototype.hasOwnProperty(t)) {\n const s = \"symbol\" == typeof t ? Symbol() : \"__\" + t, e = this.getPropertyDescriptor(t, s, i);\n void 0 !== e && Object.defineProperty(this.prototype, t, e);\n }\n }\n static getPropertyDescriptor(t, i, s) {\n return {\n get () {\n return this[i];\n },\n set (e) {\n const r = this[t];\n this[i] = e, this.requestUpdate(t, r, s);\n },\n configurable: !0,\n enumerable: !0\n };\n }\n static getPropertyOptions(t) {\n return this.elementProperties.get(t) || $9654253c62a6f15b$var$l;\n }\n static finalize() {\n if (this.hasOwnProperty($9654253c62a6f15b$var$d)) return !1;\n this[$9654253c62a6f15b$var$d] = !0;\n const t = Object.getPrototypeOf(this);\n if (t.finalize(), void 0 !== t.h && (this.h = [\n ...t.h\n ]), this.elementProperties = new Map(t.elementProperties), this._$Ev = new Map, this.hasOwnProperty(\"properties\")) {\n const t = this.properties, i = [\n ...Object.getOwnPropertyNames(t),\n ...Object.getOwnPropertySymbols(t)\n ];\n for (const s of i)this.createProperty(s, t[s]);\n }\n return this.elementStyles = this.finalizeStyles(this.styles), !0;\n }\n static finalizeStyles(i) {\n const s = [];\n if (Array.isArray(i)) {\n const e = new Set(i.flat(1 / 0).reverse());\n for (const i of e)s.unshift((0, $0e8ed1ff15370e31$export$ee69dfd951e24778)(i));\n } else void 0 !== i && s.push((0, $0e8ed1ff15370e31$export$ee69dfd951e24778)(i));\n return s;\n }\n static _$Ep(t, i) {\n const s = i.attribute;\n return !1 === s ? void 0 : \"string\" == typeof s ? s : \"string\" == typeof t ? t.toLowerCase() : void 0;\n }\n _$Eu() {\n var t;\n this._$E_ = new Promise((t)=>this.enableUpdating = t), this._$AL = new Map, this._$Eg(), this.requestUpdate(), null === (t = this.constructor.h) || void 0 === t || t.forEach((t)=>t(this));\n }\n addController(t) {\n var i, s;\n (null !== (i = this._$ES) && void 0 !== i ? i : this._$ES = []).push(t), void 0 !== this.renderRoot && this.isConnected && (null === (s = t.hostConnected) || void 0 === s || s.call(t));\n }\n removeController(t) {\n var i;\n null === (i = this._$ES) || void 0 === i || i.splice(this._$ES.indexOf(t) >>> 0, 1);\n }\n _$Eg() {\n this.constructor.elementProperties.forEach((t, i)=>{\n this.hasOwnProperty(i) && (this._$Ei.set(i, this[i]), delete this[i]);\n });\n }\n createRenderRoot() {\n var t;\n const s = null !== (t = this.shadowRoot) && void 0 !== t ? t : this.attachShadow(this.constructor.shadowRootOptions);\n return (0, $0e8ed1ff15370e31$export$2ca4a66ec4cecb90)(s, this.constructor.elementStyles), s;\n }\n connectedCallback() {\n var t;\n void 0 === this.renderRoot && (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), null === (t = this._$ES) || void 0 === t || t.forEach((t)=>{\n var i;\n return null === (i = t.hostConnected) || void 0 === i ? void 0 : i.call(t);\n });\n }\n enableUpdating(t) {}\n disconnectedCallback() {\n var t;\n null === (t = this._$ES) || void 0 === t || t.forEach((t)=>{\n var i;\n return null === (i = t.hostDisconnected) || void 0 === i ? void 0 : i.call(t);\n });\n }\n attributeChangedCallback(t, i, s) {\n this._$AK(t, s);\n }\n _$EO(t, i, s = $9654253c62a6f15b$var$l) {\n var e;\n const r = this.constructor._$Ep(t, s);\n if (void 0 !== r && !0 === s.reflect) {\n const h = (void 0 !== (null === (e = s.converter) || void 0 === e ? void 0 : e.toAttribute) ? s.converter : $9654253c62a6f15b$export$7312b35fbf521afb).toAttribute(i, s.type);\n this._$El = t, null == h ? this.removeAttribute(r) : this.setAttribute(r, h), this._$El = null;\n }\n }\n _$AK(t, i) {\n var s;\n const e = this.constructor, r = e._$Ev.get(t);\n if (void 0 !== r && this._$El !== r) {\n const t = e.getPropertyOptions(r), h = \"function\" == typeof t.converter ? {\n fromAttribute: t.converter\n } : void 0 !== (null === (s = t.converter) || void 0 === s ? void 0 : s.fromAttribute) ? t.converter : $9654253c62a6f15b$export$7312b35fbf521afb;\n this._$El = r, this[r] = h.fromAttribute(i, t.type), this._$El = null;\n }\n }\n requestUpdate(t, i, s) {\n let e = !0;\n void 0 !== t && (((s = s || this.constructor.getPropertyOptions(t)).hasChanged || $9654253c62a6f15b$export$53a6892c50694894)(this[t], i) ? (this._$AL.has(t) || this._$AL.set(t, i), !0 === s.reflect && this._$El !== t && (void 0 === this._$EC && (this._$EC = new Map), this._$EC.set(t, s))) : e = !1), !this.isUpdatePending && e && (this._$E_ = this._$Ej());\n }\n async _$Ej() {\n this.isUpdatePending = !0;\n try {\n await this._$E_;\n } catch (t) {\n Promise.reject(t);\n }\n const t = this.scheduleUpdate();\n return null != t && await t, !this.isUpdatePending;\n }\n scheduleUpdate() {\n return this.performUpdate();\n }\n performUpdate() {\n var t;\n if (!this.isUpdatePending) return;\n this.hasUpdated, this._$Ei && (this._$Ei.forEach((t, i)=>this[i] = t), this._$Ei = void 0);\n let i = !1;\n const s = this._$AL;\n try {\n i = this.shouldUpdate(s), i ? (this.willUpdate(s), null === (t = this._$ES) || void 0 === t || t.forEach((t)=>{\n var i;\n return null === (i = t.hostUpdate) || void 0 === i ? void 0 : i.call(t);\n }), this.update(s)) : this._$Ek();\n } catch (t) {\n throw i = !1, this._$Ek(), t;\n }\n i && this._$AE(s);\n }\n willUpdate(t) {}\n _$AE(t) {\n var i;\n null === (i = this._$ES) || void 0 === i || i.forEach((t)=>{\n var i;\n return null === (i = t.hostUpdated) || void 0 === i ? void 0 : i.call(t);\n }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);\n }\n _$Ek() {\n this._$AL = new Map, this.isUpdatePending = !1;\n }\n get updateComplete() {\n return this.getUpdateComplete();\n }\n getUpdateComplete() {\n return this._$E_;\n }\n shouldUpdate(t) {\n return !0;\n }\n update(t) {\n void 0 !== this._$EC && (this._$EC.forEach((t, i)=>this._$EO(i, this[i], t)), this._$EC = void 0), this._$Ek();\n }\n updated(t) {}\n firstUpdated(t) {}\n}\n$9654253c62a6f15b$export$c7c07a37856565d[$9654253c62a6f15b$var$d] = !0, $9654253c62a6f15b$export$c7c07a37856565d.elementProperties = new Map, $9654253c62a6f15b$export$c7c07a37856565d.elementStyles = [], $9654253c62a6f15b$export$c7c07a37856565d.shadowRootOptions = {\n mode: \"open\"\n}, null == $9654253c62a6f15b$var$o || $9654253c62a6f15b$var$o({\n ReactiveElement: $9654253c62a6f15b$export$c7c07a37856565d\n}), (null !== ($9654253c62a6f15b$var$s = $9654253c62a6f15b$var$e.reactiveElementVersions) && void 0 !== $9654253c62a6f15b$var$s ? $9654253c62a6f15b$var$s : $9654253c62a6f15b$var$e.reactiveElementVersions = []).push(\"1.6.3\");\n\n\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */ var $c98be898f283923a$var$t;\nconst $c98be898f283923a$var$i = window, $c98be898f283923a$var$s = $c98be898f283923a$var$i.trustedTypes, $c98be898f283923a$var$e = $c98be898f283923a$var$s ? $c98be898f283923a$var$s.createPolicy(\"lit-html\", {\n createHTML: (t)=>t\n}) : void 0, $c98be898f283923a$var$o = \"$lit$\", $c98be898f283923a$var$n = `lit$${(Math.random() + \"\").slice(9)}$`, $c98be898f283923a$var$l = \"?\" + $c98be898f283923a$var$n, $c98be898f283923a$var$h = `<${$c98be898f283923a$var$l}>`, $c98be898f283923a$var$r = document, $c98be898f283923a$var$u = ()=>$c98be898f283923a$var$r.createComment(\"\"), $c98be898f283923a$var$d = (t)=>null === t || \"object\" != typeof t && \"function\" != typeof t, $c98be898f283923a$var$c = Array.isArray, $c98be898f283923a$var$v = (t)=>$c98be898f283923a$var$c(t) || \"function\" == typeof (null == t ? void 0 : t[Symbol.iterator]), $c98be898f283923a$var$a = \"[ \t\\n\\f\\r]\", $c98be898f283923a$var$f = /<(?:(!--|\\/[^a-zA-Z])|(\\/?[a-zA-Z][^>\\s]*)|(\\/?$))/g, $c98be898f283923a$var$_ = /-->/g, $c98be898f283923a$var$m = />/g, $c98be898f283923a$var$p = RegExp(`>|${$c98be898f283923a$var$a}(?:([^\\\\s\"'>=/]+)(${$c98be898f283923a$var$a}*=${$c98be898f283923a$var$a}*(?:[^ \\t\\n\\f\\r\"'\\`<>=]|(\"|')|))|$)`, \"g\"), $c98be898f283923a$var$g = /'/g, $c98be898f283923a$var$$ = /\"/g, $c98be898f283923a$var$y = /^(?:script|style|textarea|title)$/i, $c98be898f283923a$var$w = (t)=>(i, ...s)=>({\n _$litType$: t,\n strings: i,\n values: s\n }), $c98be898f283923a$export$c0bb0b647f701bb5 = $c98be898f283923a$var$w(1), $c98be898f283923a$export$7ed1367e7fa1ad68 = $c98be898f283923a$var$w(2), $c98be898f283923a$export$9c068ae9cc5db4e8 = Symbol.for(\"lit-noChange\"), $c98be898f283923a$export$45b790e32b2810ee = Symbol.for(\"lit-nothing\"), $c98be898f283923a$var$E = new WeakMap, $c98be898f283923a$var$C = $c98be898f283923a$var$r.createTreeWalker($c98be898f283923a$var$r, 129, null, !1);\nfunction $c98be898f283923a$var$P(t, i) {\n if (!Array.isArray(t) || !t.hasOwnProperty(\"raw\")) throw Error(\"invalid template strings array\");\n return void 0 !== $c98be898f283923a$var$e ? $c98be898f283923a$var$e.createHTML(i) : i;\n}\nconst $c98be898f283923a$var$V = (t, i)=>{\n const s = t.length - 1, e = [];\n let l, r = 2 === i ? \"\" : \"\")),\n e\n ];\n};\nclass $c98be898f283923a$var$N {\n constructor({ strings: t, _$litType$: i }, e){\n let h;\n this.parts = [];\n let r = 0, d = 0;\n const c = t.length - 1, v = this.parts, [a, f] = $c98be898f283923a$var$V(t, i);\n if (this.el = $c98be898f283923a$var$N.createElement(a, e), $c98be898f283923a$var$C.currentNode = this.el.content, 2 === i) {\n const t = this.el.content, i = t.firstChild;\n i.remove(), t.append(...i.childNodes);\n }\n for(; null !== (h = $c98be898f283923a$var$C.nextNode()) && v.length < c;){\n if (1 === h.nodeType) {\n if (h.hasAttributes()) {\n const t = [];\n for (const i of h.getAttributeNames())if (i.endsWith($c98be898f283923a$var$o) || i.startsWith($c98be898f283923a$var$n)) {\n const s = f[d++];\n if (t.push(i), void 0 !== s) {\n const t = h.getAttribute(s.toLowerCase() + $c98be898f283923a$var$o).split($c98be898f283923a$var$n), i = /([.?@])?(.*)/.exec(s);\n v.push({\n type: 1,\n index: r,\n name: i[2],\n strings: t,\n ctor: \".\" === i[1] ? $c98be898f283923a$var$H : \"?\" === i[1] ? $c98be898f283923a$var$L : \"@\" === i[1] ? $c98be898f283923a$var$z : $c98be898f283923a$var$k\n });\n } else v.push({\n type: 6,\n index: r\n });\n }\n for (const i of t)h.removeAttribute(i);\n }\n if ($c98be898f283923a$var$y.test(h.tagName)) {\n const t = h.textContent.split($c98be898f283923a$var$n), i = t.length - 1;\n if (i > 0) {\n h.textContent = $c98be898f283923a$var$s ? $c98be898f283923a$var$s.emptyScript : \"\";\n for(let s = 0; s < i; s++)h.append(t[s], $c98be898f283923a$var$u()), $c98be898f283923a$var$C.nextNode(), v.push({\n type: 2,\n index: ++r\n });\n h.append(t[i], $c98be898f283923a$var$u());\n }\n }\n } else if (8 === h.nodeType) {\n if (h.data === $c98be898f283923a$var$l) v.push({\n type: 2,\n index: r\n });\n else {\n let t = -1;\n for(; -1 !== (t = h.data.indexOf($c98be898f283923a$var$n, t + 1));)v.push({\n type: 7,\n index: r\n }), t += $c98be898f283923a$var$n.length - 1;\n }\n }\n r++;\n }\n }\n static createElement(t, i) {\n const s = $c98be898f283923a$var$r.createElement(\"template\");\n return s.innerHTML = t, s;\n }\n}\nfunction $c98be898f283923a$var$S(t, i, s = t, e) {\n var o, n, l, h;\n if (i === $c98be898f283923a$export$9c068ae9cc5db4e8) return i;\n let r = void 0 !== e ? null === (o = s._$Co) || void 0 === o ? void 0 : o[e] : s._$Cl;\n const u = $c98be898f283923a$var$d(i) ? void 0 : i._$litDirective$;\n return (null == r ? void 0 : r.constructor) !== u && (null === (n = null == r ? void 0 : r._$AO) || void 0 === n || n.call(r, !1), void 0 === u ? r = void 0 : (r = new u(t), r._$AT(t, s, e)), void 0 !== e ? (null !== (l = (h = s)._$Co) && void 0 !== l ? l : h._$Co = [])[e] = r : s._$Cl = r), void 0 !== r && (i = $c98be898f283923a$var$S(t, r._$AS(t, i.values), r, e)), i;\n}\nclass $c98be898f283923a$var$M {\n constructor(t, i){\n this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = i;\n }\n get parentNode() {\n return this._$AM.parentNode;\n }\n get _$AU() {\n return this._$AM._$AU;\n }\n u(t) {\n var i;\n const { el: { content: s }, parts: e } = this._$AD, o = (null !== (i = null == t ? void 0 : t.creationScope) && void 0 !== i ? i : $c98be898f283923a$var$r).importNode(s, !0);\n $c98be898f283923a$var$C.currentNode = o;\n let n = $c98be898f283923a$var$C.nextNode(), l = 0, h = 0, u = e[0];\n for(; void 0 !== u;){\n if (l === u.index) {\n let i;\n 2 === u.type ? i = new $c98be898f283923a$var$R(n, n.nextSibling, this, t) : 1 === u.type ? i = new u.ctor(n, u.name, u.strings, this, t) : 6 === u.type && (i = new $c98be898f283923a$var$Z(n, this, t)), this._$AV.push(i), u = e[++h];\n }\n l !== (null == u ? void 0 : u.index) && (n = $c98be898f283923a$var$C.nextNode(), l++);\n }\n return $c98be898f283923a$var$C.currentNode = $c98be898f283923a$var$r, o;\n }\n v(t) {\n let i = 0;\n for (const s of this._$AV)void 0 !== s && (void 0 !== s.strings ? (s._$AI(t, s, i), i += s.strings.length - 2) : s._$AI(t[i])), i++;\n }\n}\nclass $c98be898f283923a$var$R {\n constructor(t, i, s, e){\n var o;\n this.type = 2, this._$AH = $c98be898f283923a$export$45b790e32b2810ee, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cp = null === (o = null == e ? void 0 : e.isConnected) || void 0 === o || o;\n }\n get _$AU() {\n var t, i;\n return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$Cp;\n }\n get parentNode() {\n let t = this._$AA.parentNode;\n const i = this._$AM;\n return void 0 !== i && 11 === (null == t ? void 0 : t.nodeType) && (t = i.parentNode), t;\n }\n get startNode() {\n return this._$AA;\n }\n get endNode() {\n return this._$AB;\n }\n _$AI(t, i = this) {\n t = $c98be898f283923a$var$S(this, t, i), $c98be898f283923a$var$d(t) ? t === $c98be898f283923a$export$45b790e32b2810ee || null == t || \"\" === t ? (this._$AH !== $c98be898f283923a$export$45b790e32b2810ee && this._$AR(), this._$AH = $c98be898f283923a$export$45b790e32b2810ee) : t !== this._$AH && t !== $c98be898f283923a$export$9c068ae9cc5db4e8 && this._(t) : void 0 !== t._$litType$ ? this.g(t) : void 0 !== t.nodeType ? this.$(t) : $c98be898f283923a$var$v(t) ? this.T(t) : this._(t);\n }\n k(t) {\n return this._$AA.parentNode.insertBefore(t, this._$AB);\n }\n $(t) {\n this._$AH !== t && (this._$AR(), this._$AH = this.k(t));\n }\n _(t) {\n this._$AH !== $c98be898f283923a$export$45b790e32b2810ee && $c98be898f283923a$var$d(this._$AH) ? this._$AA.nextSibling.data = t : this.$($c98be898f283923a$var$r.createTextNode(t)), this._$AH = t;\n }\n g(t) {\n var i;\n const { values: s, _$litType$: e } = t, o = \"number\" == typeof e ? this._$AC(t) : (void 0 === e.el && (e.el = $c98be898f283923a$var$N.createElement($c98be898f283923a$var$P(e.h, e.h[0]), this.options)), e);\n if ((null === (i = this._$AH) || void 0 === i ? void 0 : i._$AD) === o) this._$AH.v(s);\n else {\n const t = new $c98be898f283923a$var$M(o, this), i = t.u(this.options);\n t.v(s), this.$(i), this._$AH = t;\n }\n }\n _$AC(t) {\n let i = $c98be898f283923a$var$E.get(t.strings);\n return void 0 === i && $c98be898f283923a$var$E.set(t.strings, i = new $c98be898f283923a$var$N(t)), i;\n }\n T(t) {\n $c98be898f283923a$var$c(this._$AH) || (this._$AH = [], this._$AR());\n const i = this._$AH;\n let s, e = 0;\n for (const o of t)e === i.length ? i.push(s = new $c98be898f283923a$var$R(this.k($c98be898f283923a$var$u()), this.k($c98be898f283923a$var$u()), this, this.options)) : s = i[e], s._$AI(o), e++;\n e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);\n }\n _$AR(t = this._$AA.nextSibling, i) {\n var s;\n for(null === (s = this._$AP) || void 0 === s || s.call(this, !1, !0, i); t && t !== this._$AB;){\n const i = t.nextSibling;\n t.remove(), t = i;\n }\n }\n setConnected(t) {\n var i;\n void 0 === this._$AM && (this._$Cp = t, null === (i = this._$AP) || void 0 === i || i.call(this, t));\n }\n}\nclass $c98be898f283923a$var$k {\n constructor(t, i, s, e, o){\n this.type = 1, this._$AH = $c98be898f283923a$export$45b790e32b2810ee, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = o, s.length > 2 || \"\" !== s[0] || \"\" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String), this.strings = s) : this._$AH = $c98be898f283923a$export$45b790e32b2810ee;\n }\n get tagName() {\n return this.element.tagName;\n }\n get _$AU() {\n return this._$AM._$AU;\n }\n _$AI(t, i = this, s, e) {\n const o = this.strings;\n let n = !1;\n if (void 0 === o) t = $c98be898f283923a$var$S(this, t, i, 0), n = !$c98be898f283923a$var$d(t) || t !== this._$AH && t !== $c98be898f283923a$export$9c068ae9cc5db4e8, n && (this._$AH = t);\n else {\n const e = t;\n let l, h;\n for(t = o[0], l = 0; l < o.length - 1; l++)h = $c98be898f283923a$var$S(this, e[s + l], i, l), h === $c98be898f283923a$export$9c068ae9cc5db4e8 && (h = this._$AH[l]), n || (n = !$c98be898f283923a$var$d(h) || h !== this._$AH[l]), h === $c98be898f283923a$export$45b790e32b2810ee ? t = $c98be898f283923a$export$45b790e32b2810ee : t !== $c98be898f283923a$export$45b790e32b2810ee && (t += (null != h ? h : \"\") + o[l + 1]), this._$AH[l] = h;\n }\n n && !e && this.j(t);\n }\n j(t) {\n t === $c98be898f283923a$export$45b790e32b2810ee ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t ? t : \"\");\n }\n}\nclass $c98be898f283923a$var$H extends $c98be898f283923a$var$k {\n constructor(){\n super(...arguments), this.type = 3;\n }\n j(t) {\n this.element[this.name] = t === $c98be898f283923a$export$45b790e32b2810ee ? void 0 : t;\n }\n}\nconst $c98be898f283923a$var$I = $c98be898f283923a$var$s ? $c98be898f283923a$var$s.emptyScript : \"\";\nclass $c98be898f283923a$var$L extends $c98be898f283923a$var$k {\n constructor(){\n super(...arguments), this.type = 4;\n }\n j(t) {\n t && t !== $c98be898f283923a$export$45b790e32b2810ee ? this.element.setAttribute(this.name, $c98be898f283923a$var$I) : this.element.removeAttribute(this.name);\n }\n}\nclass $c98be898f283923a$var$z extends $c98be898f283923a$var$k {\n constructor(t, i, s, e, o){\n super(t, i, s, e, o), this.type = 5;\n }\n _$AI(t, i = this) {\n var s;\n if ((t = null !== (s = $c98be898f283923a$var$S(this, t, i, 0)) && void 0 !== s ? s : $c98be898f283923a$export$45b790e32b2810ee) === $c98be898f283923a$export$9c068ae9cc5db4e8) return;\n const e = this._$AH, o = t === $c98be898f283923a$export$45b790e32b2810ee && e !== $c98be898f283923a$export$45b790e32b2810ee || t.capture !== e.capture || t.once !== e.once || t.passive !== e.passive, n = t !== $c98be898f283923a$export$45b790e32b2810ee && (e === $c98be898f283923a$export$45b790e32b2810ee || o);\n o && this.element.removeEventListener(this.name, this, e), n && this.element.addEventListener(this.name, this, t), this._$AH = t;\n }\n handleEvent(t) {\n var i, s;\n \"function\" == typeof this._$AH ? this._$AH.call(null !== (s = null === (i = this.options) || void 0 === i ? void 0 : i.host) && void 0 !== s ? s : this.element, t) : this._$AH.handleEvent(t);\n }\n}\nclass $c98be898f283923a$var$Z {\n constructor(t, i, s){\n this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;\n }\n get _$AU() {\n return this._$AM._$AU;\n }\n _$AI(t) {\n $c98be898f283923a$var$S(this, t);\n }\n}\nconst $c98be898f283923a$export$8613d1ca9052b22e = {\n O: $c98be898f283923a$var$o,\n P: $c98be898f283923a$var$n,\n A: $c98be898f283923a$var$l,\n C: 1,\n M: $c98be898f283923a$var$V,\n L: $c98be898f283923a$var$M,\n R: $c98be898f283923a$var$v,\n D: $c98be898f283923a$var$S,\n I: $c98be898f283923a$var$R,\n V: $c98be898f283923a$var$k,\n H: $c98be898f283923a$var$L,\n N: $c98be898f283923a$var$z,\n U: $c98be898f283923a$var$H,\n F: $c98be898f283923a$var$Z\n}, $c98be898f283923a$var$B = $c98be898f283923a$var$i.litHtmlPolyfillSupport;\nnull == $c98be898f283923a$var$B || $c98be898f283923a$var$B($c98be898f283923a$var$N, $c98be898f283923a$var$R), (null !== ($c98be898f283923a$var$t = $c98be898f283923a$var$i.litHtmlVersions) && void 0 !== $c98be898f283923a$var$t ? $c98be898f283923a$var$t : $c98be898f283923a$var$i.litHtmlVersions = []).push(\"2.8.0\");\nconst $c98be898f283923a$export$b3890eb0ae9dca99 = (t, i, s)=>{\n var e, o;\n const n = null !== (e = null == s ? void 0 : s.renderBefore) && void 0 !== e ? e : i;\n let l = n._$litPart$;\n if (void 0 === l) {\n const t = null !== (o = null == s ? void 0 : s.renderBefore) && void 0 !== o ? o : null;\n n._$litPart$ = l = new $c98be898f283923a$var$R(i.insertBefore($c98be898f283923a$var$u(), t), t, void 0, null != s ? s : {});\n }\n return l._$AI(t), l;\n};\n\n\n\n\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */ var $24a9b1fdaa2c6ece$var$l, $24a9b1fdaa2c6ece$var$o;\nconst $24a9b1fdaa2c6ece$export$8bf27daf9e8907c9 = (0, $9654253c62a6f15b$export$c7c07a37856565d);\nclass $24a9b1fdaa2c6ece$export$3f2f9f5909897157 extends (0, $9654253c62a6f15b$export$c7c07a37856565d) {\n constructor(){\n super(...arguments), this.renderOptions = {\n host: this\n }, this._$Do = void 0;\n }\n createRenderRoot() {\n var t, e;\n const i = super.createRenderRoot();\n return null !== (t = (e = this.renderOptions).renderBefore) && void 0 !== t || (e.renderBefore = i.firstChild), i;\n }\n update(t) {\n const i = this.render();\n this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = (0, $c98be898f283923a$export$b3890eb0ae9dca99)(i, this.renderRoot, this.renderOptions);\n }\n connectedCallback() {\n var t;\n super.connectedCallback(), null === (t = this._$Do) || void 0 === t || t.setConnected(!0);\n }\n disconnectedCallback() {\n var t;\n super.disconnectedCallback(), null === (t = this._$Do) || void 0 === t || t.setConnected(!1);\n }\n render() {\n return 0, $c98be898f283923a$export$9c068ae9cc5db4e8;\n }\n}\n$24a9b1fdaa2c6ece$export$3f2f9f5909897157.finalized = !0, $24a9b1fdaa2c6ece$export$3f2f9f5909897157._$litElement$ = !0, null === ($24a9b1fdaa2c6ece$var$l = globalThis.litElementHydrateSupport) || void 0 === $24a9b1fdaa2c6ece$var$l || $24a9b1fdaa2c6ece$var$l.call(globalThis, {\n LitElement: $24a9b1fdaa2c6ece$export$3f2f9f5909897157\n});\nconst $24a9b1fdaa2c6ece$var$n = globalThis.litElementPolyfillSupport;\nnull == $24a9b1fdaa2c6ece$var$n || $24a9b1fdaa2c6ece$var$n({\n LitElement: $24a9b1fdaa2c6ece$export$3f2f9f5909897157\n});\nconst $24a9b1fdaa2c6ece$export$f5c524615a7708d6 = {\n _$AK: (t, e, i)=>{\n t._$AK(e, i);\n },\n _$AL: (t)=>t._$AL\n};\n(null !== ($24a9b1fdaa2c6ece$var$o = globalThis.litElementVersions) && void 0 !== $24a9b1fdaa2c6ece$var$o ? $24a9b1fdaa2c6ece$var$o : globalThis.litElementVersions = []).push(\"3.3.3\");\n\n\n/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */ const $73ec3d4475402147$export$6acf61af03e62db = !1;\n\n\n\n\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */ const $4927c69e9ce3d749$export$da64fc29f17f9d0e = (e)=>(n)=>\"function\" == typeof n ? ((e, n)=>(customElements.define(e, n), n))(e, n) : ((e, n)=>{\n const { kind: t, elements: s } = n;\n return {\n kind: t,\n elements: s,\n finisher (n) {\n customElements.define(e, n);\n }\n };\n })(e, n);\n\n\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */ const $9398eb008eb2f3d5$var$i = (i, e)=>\"method\" === e.kind && e.descriptor && !(\"value\" in e.descriptor) ? {\n ...e,\n finisher (n) {\n n.createProperty(e.key, i);\n }\n } : {\n kind: \"field\",\n key: Symbol(),\n placement: \"own\",\n descriptor: {},\n originalKey: e.key,\n initializer () {\n \"function\" == typeof e.initializer && (this[e.key] = e.initializer.call(this));\n },\n finisher (n) {\n n.createProperty(e.key, i);\n }\n }, $9398eb008eb2f3d5$var$e = (i, e, n)=>{\n e.constructor.createProperty(n, i);\n};\nfunction $9398eb008eb2f3d5$export$d541bacb2bda4494(n) {\n return (t, o)=>void 0 !== o ? $9398eb008eb2f3d5$var$e(n, t, o) : $9398eb008eb2f3d5$var$i(n, t);\n}\n\n\n\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */ function $e7f6c49a80ed8221$export$ca000e230c0caa3e(t) {\n return (0, $9398eb008eb2f3d5$export$d541bacb2bda4494)({\n ...t,\n state: !0\n });\n}\n\n\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */ const $c695a73fe9fa197b$export$29fd0ed4087278b5 = (e, t, o)=>{\n Object.defineProperty(t, o, e);\n}, $c695a73fe9fa197b$export$18eb0154d0069a01 = (e, t)=>({\n kind: \"method\",\n placement: \"prototype\",\n key: t.key,\n descriptor: e\n }), $c695a73fe9fa197b$export$757d561a932dc1cb = ({ finisher: e, descriptor: t })=>(o, n)=>{\n var r;\n if (void 0 === n) {\n const n = null !== (r = o.originalKey) && void 0 !== r ? r : o.key, i = null != t ? {\n kind: \"method\",\n placement: \"prototype\",\n key: n,\n descriptor: t(o.key)\n } : {\n ...o,\n key: n\n };\n return null != e && (i.finisher = function(t) {\n e(t, n);\n }), i;\n }\n {\n const r = o.constructor;\n void 0 !== t && Object.defineProperty(o, n, t(n)), null == e || e(r, n);\n }\n };\n\n\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */ function $0627d148e62e3b6e$export$b2b799818fbabcf3(e) {\n return (0, $c695a73fe9fa197b$export$757d561a932dc1cb)({\n finisher: (r, t)=>{\n Object.assign(r.prototype[t], e);\n }\n });\n}\n\n\n\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */ function $b2372d72de094fdb$export$2fa187e846a241c4(i, n) {\n return (0, $c695a73fe9fa197b$export$757d561a932dc1cb)({\n descriptor: (o)=>{\n const t = {\n get () {\n var o, n;\n return null !== (n = null === (o = this.renderRoot) || void 0 === o ? void 0 : o.querySelector(i)) && void 0 !== n ? n : null;\n },\n enumerable: !0,\n configurable: !0\n };\n if (n) {\n const n = \"symbol\" == typeof o ? Symbol() : \"__\" + o;\n t.get = function() {\n var o, t;\n return void 0 === this[n] && (this[n] = null !== (t = null === (o = this.renderRoot) || void 0 === o ? void 0 : o.querySelector(i)) && void 0 !== t ? t : null), this[n];\n };\n }\n return t;\n }\n });\n}\n\n\n\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */ function $05ee0a9af1abab14$export$dcd0d083aa86c355(e) {\n return (0, $c695a73fe9fa197b$export$757d561a932dc1cb)({\n descriptor: (r)=>({\n get () {\n var r, o;\n return null !== (o = null === (r = this.renderRoot) || void 0 === r ? void 0 : r.querySelectorAll(e)) && void 0 !== o ? o : [];\n },\n enumerable: !0,\n configurable: !0\n })\n });\n}\n\n\n\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */ function $a32eb30ad28739be$export$163dfc35cc43f240(e) {\n return (0, $c695a73fe9fa197b$export$757d561a932dc1cb)({\n descriptor: (r)=>({\n async get () {\n var r;\n return await this.updateComplete, null === (r = this.renderRoot) || void 0 === r ? void 0 : r.querySelector(e);\n },\n enumerable: !0,\n configurable: !0\n })\n });\n}\n\n\n\n/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */ var $41d2833fa6fd8859$var$n;\nconst $41d2833fa6fd8859$var$e = null != (null === ($41d2833fa6fd8859$var$n = window.HTMLSlotElement) || void 0 === $41d2833fa6fd8859$var$n ? void 0 : $41d2833fa6fd8859$var$n.prototype.assignedElements) ? (o, n)=>o.assignedElements(n) : (o, n)=>o.assignedNodes(n).filter((o)=>o.nodeType === Node.ELEMENT_NODE);\nfunction $41d2833fa6fd8859$export$4682af2d9ee91415(n) {\n const { slot: l, selector: t } = null != n ? n : {};\n return (0, $c695a73fe9fa197b$export$757d561a932dc1cb)({\n descriptor: (o)=>({\n get () {\n var o;\n const r = \"slot\" + (l ? `[name=${l}]` : \":not([name])\"), i = null === (o = this.renderRoot) || void 0 === o ? void 0 : o.querySelector(r), s = null != i ? $41d2833fa6fd8859$var$e(i, n) : [];\n return t ? s.filter((o)=>o.matches(t)) : s;\n },\n enumerable: !0,\n configurable: !0\n })\n });\n}\n\n\n\n\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */ function $cc39e332bd306b95$export$1bdbe53f9df1b8(o, n, r) {\n let l, s = o;\n return \"object\" == typeof o ? (s = o.slot, l = o) : l = {\n flatten: n\n }, r ? (0, $41d2833fa6fd8859$export$4682af2d9ee91415)({\n slot: s,\n flatten: n,\n selector: r\n }) : (0, $c695a73fe9fa197b$export$757d561a932dc1cb)({\n descriptor: (e)=>({\n get () {\n var e, t;\n const o = \"slot\" + (s ? `[name=${s}]` : \":not([name])\"), n = null === (e = this.renderRoot) || void 0 === e ? void 0 : e.querySelector(o);\n return null !== (t = null == n ? void 0 : n.assignedNodes(l)) && void 0 !== t ? t : [];\n },\n enumerable: !0,\n configurable: !0\n })\n });\n}\n\n\n\n\n\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */ const $69b85915c254d58a$export$9ba3b3f20a85bfa = {\n ATTRIBUTE: 1,\n CHILD: 2,\n PROPERTY: 3,\n BOOLEAN_ATTRIBUTE: 4,\n EVENT: 5,\n ELEMENT: 6\n}, $69b85915c254d58a$export$99b43ad1ed32e735 = (t)=>(...e)=>({\n _$litDirective$: t,\n values: e\n });\nclass $69b85915c254d58a$export$befdefbdce210f91 {\n constructor(t){}\n get _$AU() {\n return this._$AM._$AU;\n }\n _$AT(t, e, i) {\n this._$Ct = t, this._$AM = e, this._$Ci = i;\n }\n _$AS(t, e) {\n return this.update(t, e);\n }\n update(t, e) {\n return this.render(...e);\n }\n}\n\n\n/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */ const $dace2bb4d63924a1$export$56cc687933817664 = (0, $69b85915c254d58a$export$99b43ad1ed32e735)(class extends (0, $69b85915c254d58a$export$befdefbdce210f91) {\n constructor(t){\n var i;\n if (super(t), t.type !== (0, $69b85915c254d58a$export$9ba3b3f20a85bfa).ATTRIBUTE || \"class\" !== t.name || (null === (i = t.strings) || void 0 === i ? void 0 : i.length) > 2) throw Error(\"`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.\");\n }\n render(t) {\n return \" \" + Object.keys(t).filter((i)=>t[i]).join(\" \") + \" \";\n }\n update(i, [s]) {\n var r, o;\n if (void 0 === this.it) {\n this.it = new Set, void 0 !== i.strings && (this.nt = new Set(i.strings.join(\" \").split(/\\s/).filter((t)=>\"\" !== t)));\n for(const t in s)s[t] && !(null === (r = this.nt) || void 0 === r ? void 0 : r.has(t)) && this.it.add(t);\n return this.render(s);\n }\n const e = i.element.classList;\n this.it.forEach((t)=>{\n t in s || (e.remove(t), this.it.delete(t));\n });\n for(const t in s){\n const i = !!s[t];\n i === this.it.has(t) || (null === (o = this.nt) || void 0 === o ? void 0 : o.has(t)) || (i ? (e.add(t), this.it.add(t)) : (e.remove(t), this.it.delete(t)));\n }\n return 0, $c98be898f283923a$export$9c068ae9cc5db4e8;\n }\n});\n\n\n\n\nfunction $e55df678af37dc9b$var$l(e, t, o, r) {\n var n, i = arguments.length, l = i < 3 ? t : null === r ? r = Object.getOwnPropertyDescriptor(t, o) : r;\n if (\"object\" == typeof Reflect && \"function\" == typeof Reflect.decorate) l = Reflect.decorate(e, t, o, r);\n else for(var c = e.length - 1; c >= 0; c--)(n = e[c]) && (l = (i < 3 ? n(l) : i > 3 ? n(t, o, l) : n(t, o)) || l);\n return i > 3 && l && Object.defineProperty(t, o, l), l;\n}\nfunction $e55df678af37dc9b$var$c(e, t, o, r) {\n return new (o || (o = Promise))(function(n, i) {\n function l(e) {\n try {\n a(r.next(e));\n } catch (e) {\n i(e);\n }\n }\n function c(e) {\n try {\n a(r.throw(e));\n } catch (e) {\n i(e);\n }\n }\n function a(e) {\n var t;\n e.done ? n(e.value) : (t = e.value, t instanceof o ? t : new o(function(e) {\n e(t);\n })).then(l, c);\n }\n a((r = r.apply(e, t || [])).next());\n });\n}\nfunction $e55df678af37dc9b$var$a(e) {\n return null === e ? \"null\" : Array.isArray(e) ? \"array\" : e.constructor.name.toLowerCase();\n}\nfunction $e55df678af37dc9b$var$s(e) {\n return e !== Object(e);\n}\nfunction $e55df678af37dc9b$var$d(e) {\n return !!e && !!e.nodeType;\n}\nfunction $e55df678af37dc9b$var$u(e) {\n return $e55df678af37dc9b$var$s(e) || $e55df678af37dc9b$var$d(e);\n}\nfunction* $e55df678af37dc9b$var$f(e) {\n const t = [\n [\n e,\n \"\",\n []\n ]\n ];\n for(; t.length;){\n const [e, o, r] = t.shift();\n if (o && (yield [\n e,\n o,\n r\n ]), !$e55df678af37dc9b$var$s(e)) for (const [n, i] of Object.entries(e))t.push([\n i,\n `${o}${o ? \".\" : \"\"}${n}`,\n [\n ...r,\n o\n ]\n ]);\n }\n}\nconst $e55df678af37dc9b$var$h = {\n fromAttribute: (e)=>e && e.trim() ? JSON.parse(e) : void 0,\n toAttribute: (e)=>JSON.stringify(e)\n}, $e55df678af37dc9b$var$p = (e)=>void 0 !== e, $e55df678af37dc9b$var$b = (e, t)=>t instanceof RegExp ? !!e.match(t) : function(e, t) {\n const o = e.split(\".\"), r = t.split(\".\"), n = (e)=>\"**\" === e;\n let i = 0, l = 0;\n for(; i < o.length;){\n const e = r[l];\n if (e === o[i] || \"*\" === e) l++, i++;\n else {\n if (!n(e)) return !1;\n l++, i = o.length - (r.length - l);\n }\n }\n return l === r.length;\n }(e, t), $e55df678af37dc9b$var$v = (e, t)=>(o, r)=>{\n const n = {};\n if (e) for (const [, o, i] of $e55df678af37dc9b$var$f(r.data))$e55df678af37dc9b$var$b(o, e) && (n[o] = t, i.forEach((e)=>n[e] = t));\n return {\n expanded: n\n };\n }, $e55df678af37dc9b$var$g = (e)=>()=>({\n highlight: e\n }), $e55df678af37dc9b$var$m = (0, $0e8ed1ff15370e31$export$dbf350e5966cf602)`:host{--background-color:#2a2f3a;--color:#f8f8f2;--string-color:#a3eea0;--number-color:#d19a66;--boolean-color:#4ba7ef;--null-color:#df9cf3;--property-color:#6fb3d2;--preview-color:rgba(222,175,143,0.9);--highlight-color:#7b0000;--font-family:monaco,Consolas,'Lucida Console',monospace;--font-size:1rem;--indent-size:1.5em;--indentguide-size:1px;--indentguide-style:solid;--indentguide-color:#333;--indentguide-color-active:#666;--indentguide:var(--indentguide-size) var(--indentguide-style) var(--indentguide-color);--indentguide-active:var(--indentguide-size) var(--indentguide-style) var(--indentguide-color-active);display:block;background-color:var(--background-color);color:var(--color);font-family:var(--font-family);font-size:var(--font-size)}.preview{color:var(--preview-color)}.null{color:var(--null-color)}.key{color:var(--property-color);display:inline-block}.collapsable:before{display:inline-block;color:var(--color);font-size:.8em;content:'▶';line-height:1em;width:1em;height:1em;text-align:center;transition:transform 195ms ease-out;transform:rotate(90deg);color:var(--property-color)}.collapsable.collapsableCollapsed:before{transform:rotate(0)}.collapsable{cursor:pointer;user-select:none}.string{color:var(--string-color)}.number{color:var(--number-color)}.boolean{color:var(--boolean-color)}ul{padding:0;clear:both}ul,li{list-style:none;position:relative}li ul>li{position:relative;margin-left:var(--indent-size);padding-left:0}ul ul:before{content:'';border-left:var(--indentguide);position:absolute;left:calc(0.5em - var(--indentguide-size));top:.3em;bottom:.3em}ul ul:hover:before{border-left:var(--indentguide-active)}mark{background-color:var(--highlight-color)}`;\nclass $e55df678af37dc9b$export$84c25b2945fb8676 extends (0, $24a9b1fdaa2c6ece$export$3f2f9f5909897157) {\n constructor(){\n super(...arguments), this.state = {\n expanded: {},\n filtered: {},\n highlight: null\n }, this.handlePropertyClick = (e)=>(t)=>{\n t.preventDefault(), this.setState(((e, t)=>(o)=>({\n expanded: Object.assign(Object.assign({}, o.expanded), {\n [e]: $e55df678af37dc9b$var$p(t) ? !!t : !o.expanded[e]\n })\n }))(e));\n };\n }\n setState(e) {\n return $e55df678af37dc9b$var$c(this, void 0, void 0, function*() {\n const t = this.state;\n this.state = Object.assign(Object.assign({}, t), e(t, this));\n });\n }\n connectedCallback() {\n this.hasAttribute(\"data\") || $e55df678af37dc9b$var$p(this.data) || this.setAttribute(\"data\", this.innerText), super.connectedCallback();\n }\n expand(e) {\n this.setState($e55df678af37dc9b$var$v(e, !0));\n }\n expandAll() {\n this.setState($e55df678af37dc9b$var$v(\"**\", !0));\n }\n collapseAll() {\n this.setState($e55df678af37dc9b$var$v(\"**\", !1));\n }\n collapse(e) {\n this.setState($e55df678af37dc9b$var$v(e, !1));\n }\n *search(e) {\n for (const [t, o] of $e55df678af37dc9b$var$f(this.data))$e55df678af37dc9b$var$u(t) && String(t).includes(e) && (this.expand(o), this.updateComplete.then(()=>{\n const e = this.shadowRoot.querySelector(`[data-path=\"${o}\"]`);\n e.scrollIntoView({\n behavior: \"smooth\",\n inline: \"center\",\n block: \"center\"\n }), e.focus();\n }), this.setState($e55df678af37dc9b$var$g(o)), yield {\n value: t,\n path: o\n });\n this.setState($e55df678af37dc9b$var$g(null));\n }\n filter(e) {\n var t;\n this.setState((t = e, (e, o)=>{\n const r = {};\n if (t) for (const [, e, n] of $e55df678af37dc9b$var$f(o.data))$e55df678af37dc9b$var$b(e, t) ? (r[e] = !1, n.forEach((e)=>r[e] = !1)) : r[e] = !0;\n return {\n filtered: r\n };\n }));\n }\n resetFilter() {\n this.setState(()=>({\n filtered: {}\n }));\n }\n renderObject(e, t) {\n return (0, $c98be898f283923a$export$c0bb0b647f701bb5)`${Object.keys(e).map((r)=>{\n const n = e[r], l = t ? `${t}.${r}` : r, c = $e55df678af37dc9b$var$u(n);\n return (0, $c98be898f283923a$export$c0bb0b647f701bb5)`- ${r}: ${this.renderNode(n, l)}
`;\n })}
`;\n }\n renderNode(e, t = \"\") {\n const o = $e55df678af37dc9b$var$u(e);\n return !t || this.state.expanded[t] || o ? o ? this.renderPrimitive(e, t) : this.renderObject(e, t) : this.renderNodePreview(e);\n }\n renderNodePreview(e) {\n return (0, $c98be898f283923a$export$c0bb0b647f701bb5)`${function(e, { nodeCount: t = 3, maxLength: o = 15 } = {}) {\n const r = Array.isArray(e), n = Object.keys(e), i = n.slice(0, t), l = [], c = (e)=>{\n switch($e55df678af37dc9b$var$a(e)){\n case \"object\":\n return 0 === Object.keys(e).length ? \"{ }\" : \"{ ... }\";\n case \"array\":\n return 0 === e.length ? \"[ ]\" : \"[ ... ]\";\n case \"string\":\n return `\"${e.substring(0, o)}${e.length > o ? \"...\" : \"\"}\"`;\n default:\n return String(e);\n }\n }, s = [];\n for (const t of i){\n const o = [], n = e[t];\n r || o.push(`${t}: `), o.push(c(n)), s.push(o.join(\"\"));\n }\n n.length > t && s.push(\"...\"), l.push(s.join(\", \"));\n const d = l.join(\"\");\n return r ? `[ ${d} ]` : `{ ${d} }`;\n }(e)}`;\n }\n renderPrimitive(e, t) {\n const r = this.state.highlight, n = $e55df678af37dc9b$var$a(e), i = $e55df678af37dc9b$var$d(e) ? e : (0, $c98be898f283923a$export$c0bb0b647f701bb5)`${JSON.stringify(e)}`;\n return t === r ? (0, $c98be898f283923a$export$c0bb0b647f701bb5)`${i}` : i;\n }\n render() {\n const e = this.data;\n return $e55df678af37dc9b$var$p(e) ? this.renderNode(e) : null;\n }\n}\n$e55df678af37dc9b$export$84c25b2945fb8676.styles = [\n $e55df678af37dc9b$var$m\n], $e55df678af37dc9b$var$l([\n (0, $9398eb008eb2f3d5$export$d541bacb2bda4494)({\n converter: $e55df678af37dc9b$var$h,\n type: Object\n })\n], $e55df678af37dc9b$export$84c25b2945fb8676.prototype, \"data\", void 0), $e55df678af37dc9b$var$l([\n (0, $e7f6c49a80ed8221$export$ca000e230c0caa3e)()\n], $e55df678af37dc9b$export$84c25b2945fb8676.prototype, \"state\", void 0);\n\n\n\n\n\ncustomElements.define(\"json-viewer\", (0, $e55df678af37dc9b$export$84c25b2945fb8676));\n\n\nclass $c06cac3eedeb74d1$export$c5542a7edb16317 extends (0, $800sp.LitElement) {\n static styles = [\n (0, $hNeh9.default),\n (0, $800sp.css)`\n json-viewer {\n --font-size: .8rem;\n }`\n ];\n static properties = {};\n constructor(){\n super();\n this.results = [];\n }\n connectedCallback() {\n super.connectedCallback();\n this.addEventListener(\"result\", this.#onResult);\n }\n disconnectedCallback() {\n super.disconnectedCallback();\n this.removeEventListener(\"result\", this.#onResult);\n }\n /**\n * Renders a result.\n * @param {ResultData} result - The result data to render.\n * @returns {import('lit').TemplateResult} The template for the result.\n */ #renderResult(result, index) {\n return (0, $800sp.html)`\n \n \n \n ${result.node}\n \n ${Object.entries(result.state).map(([key, value])=>(0, $800sp.html)`\n \n ${key}
\n \n \n ${JSON.stringify(value)}\n \n
\n \n `)}\n \n \n \n `;\n }\n /**\n * Event handler for the 'result' event.\n * \n * @param {CustomEvent} e - The event object containing the result data.\n * @private\n */ #onResult = (e)=>{\n const { detail: result } = e;\n console.debug(\"onResult\", e);\n // TODO: validate e.detail\n const index = this.results.push(result);\n this.dispatchEvent(new CustomEvent(\"graph-active\", {\n detail: result.node,\n bubbles: true,\n composed: true,\n cancelable: true\n }));\n this.requestUpdate();\n this.updateComplete.then(()=>{\n const id = `#json${index - 1}`;\n const elems = this.shadowRoot.querySelectorAll(id);\n console.debug(id, elems);\n for (const elem of elems)elem.expandAll();\n });\n };\n render() {\n return (0, $800sp.html)`\n \n \n ${this.results.map((result, index)=>this.#renderResult(result, index))}\n \n \n `;\n }\n // @deprecated\n #renderResultWithCard(result, index) {\n return (0, $800sp.html)`\n \n \n ${result.node}
\n \n \n \n ${Object.entries(result.state).map(([key, value])=>(0, $800sp.html)`\n \n ${key}
\n \n \n ${JSON.stringify(value)}\n \n
\n \n `)}\n \n \n \n `;\n }\n}\nwindow.customElements.define(\"lg4j-result\", $c06cac3eedeb74d1$export$c5542a7edb16317);\n\n\n//# sourceMappingURL=index.cc6f4c90.js.map\n","import TWStyles from './twlit';\n\nimport { html, css, LitElement } from 'lit';\nimport '@alenaksu/json-viewer';\n\n/**\n * @typedef {Object} ResultData\n * @property {string} node - The node identifier.\n * @property {Record} state - The state associated with the node.\n */\n\n\nexport class LG4JResultElement extends LitElement {\n\n static styles = [TWStyles, css`\n json-viewer {\n --font-size: .8rem;\n }`]\n\n static properties = {\n }\n\n constructor() {\n super()\n this.results = []\n }\n \n connectedCallback() {\n super.connectedCallback();\n\n this.addEventListener( 'result', this.#onResult )\n }\n\n disconnectedCallback() {\n super.disconnectedCallback()\n\n this.removeEventListener( 'result', this.#onResult )\n }\n\n\n /**\n * Renders a result.\n * @param {ResultData} result - The result data to render.\n * @returns {import('lit').TemplateResult} The template for the result.\n */\n #renderResult(result, index) {\n return html`\n \n \n \n ${result.node}\n \n ${Object.entries(result.state).map(([key, value]) => html`\n \n ${key}
\n \n \n ${JSON.stringify(value)}\n \n
\n \n `)}\n \n \n \n `\n }\n\n \n /**\n * Event handler for the 'result' event.\n * \n * @param {CustomEvent} e - The event object containing the result data.\n * @private\n */\n #onResult = (e) => {\n\n const { detail: result } = e \n console.debug( \"onResult\", e )\n \n // TODO: validate e.detail\n const index = this.results.push( result )\n\n this.dispatchEvent( new CustomEvent( 'graph-active', { \n detail: result.node,\n bubbles: true,\n composed: true,\n cancelable: true\n }));\n \n this.requestUpdate()\n \n this.updateComplete.then(() => {\n const id = `#json${index-1}`\n const elems = this.shadowRoot.querySelectorAll(id);\n console.debug( id, elems );\n for (const elem of elems) {\n elem.expandAll()\n }\n });\n }\n\n\n render() {\n \n return html`\n \n \n ${this.results.map( (result, index) => this.#renderResult(result, index))}\n \n \n `;\n }\n\n // @deprecated\n #renderResultWithCard(result, index) {\n return html`\n \n \n ${result.node}
\n \n \n \n ${Object.entries(result.state).map(([key, value]) => html`\n \n ${key}
\n \n \n ${JSON.stringify(value)}\n \n
\n \n `)}\n \n \n \n `\n }\n\n}\n\nwindow.customElements.define('lg4j-result', LG4JResultElement);\n","import{JsonViewer as i}from\"./JsonViewer.js\";import\"lit\";import\"lit/decorators.js\";import\"lit/directives/class-map.js\";customElements.define(\"json-viewer\",i);\n//# sourceMappingURL=json-viewer.js.map\n","import { JsonViewer } from './JsonViewer';\n\ncustomElements.define('json-viewer', JsonViewer);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'json-viewer': JsonViewer;\n }\n}\n","import{css as e,LitElement as t,html as o}from\"lit\";import{property as r,state as n}from\"lit/decorators.js\";import{classMap as i}from\"lit/directives/class-map.js\";function l(e,t,o,r){var n,i=arguments.length,l=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if(\"object\"==typeof Reflect&&\"function\"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,r);else for(var c=e.length-1;c>=0;c--)(n=e[c])&&(l=(i<3?n(l):i>3?n(t,o,l):n(t,o))||l);return i>3&&l&&Object.defineProperty(t,o,l),l}function c(e,t,o,r){return new(o||(o=Promise))((function(n,i){function l(e){try{a(r.next(e))}catch(e){i(e)}}function c(e){try{a(r.throw(e))}catch(e){i(e)}}function a(e){var t;e.done?n(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(l,c)}a((r=r.apply(e,t||[])).next())}))}function a(e){return null===e?\"null\":Array.isArray(e)?\"array\":e.constructor.name.toLowerCase()}function s(e){return e!==Object(e)}function d(e){return!!e&&!!e.nodeType}function u(e){return s(e)||d(e)}function*f(e){const t=[[e,\"\",[]]];for(;t.length;){const[e,o,r]=t.shift();if(o&&(yield[e,o,r]),!s(e))for(const[n,i]of Object.entries(e))t.push([i,`${o}${o?\".\":\"\"}${n}`,[...r,o]])}}const h={fromAttribute:e=>e&&e.trim()?JSON.parse(e):void 0,toAttribute:e=>JSON.stringify(e)},p=e=>void 0!==e,b=(e,t)=>t instanceof RegExp?!!e.match(t):function(e,t){const o=e.split(\".\"),r=t.split(\".\"),n=e=>\"**\"===e;let i=0,l=0;for(;i(o,r)=>{const n={};if(e)for(const[,o,i]of f(r.data))b(o,e)&&(n[o]=t,i.forEach((e=>n[e]=t)));return{expanded:n}},g=e=>()=>({highlight:e}),m=e`:host{--background-color:#2a2f3a;--color:#f8f8f2;--string-color:#a3eea0;--number-color:#d19a66;--boolean-color:#4ba7ef;--null-color:#df9cf3;--property-color:#6fb3d2;--preview-color:rgba(222,175,143,0.9);--highlight-color:#7b0000;--font-family:monaco,Consolas,'Lucida Console',monospace;--font-size:1rem;--indent-size:1.5em;--indentguide-size:1px;--indentguide-style:solid;--indentguide-color:#333;--indentguide-color-active:#666;--indentguide:var(--indentguide-size) var(--indentguide-style) var(--indentguide-color);--indentguide-active:var(--indentguide-size) var(--indentguide-style) var(--indentguide-color-active);display:block;background-color:var(--background-color);color:var(--color);font-family:var(--font-family);font-size:var(--font-size)}.preview{color:var(--preview-color)}.null{color:var(--null-color)}.key{color:var(--property-color);display:inline-block}.collapsable:before{display:inline-block;color:var(--color);font-size:.8em;content:'▶';line-height:1em;width:1em;height:1em;text-align:center;transition:transform 195ms ease-out;transform:rotate(90deg);color:var(--property-color)}.collapsable.collapsableCollapsed:before{transform:rotate(0)}.collapsable{cursor:pointer;user-select:none}.string{color:var(--string-color)}.number{color:var(--number-color)}.boolean{color:var(--boolean-color)}ul{padding:0;clear:both}ul,li{list-style:none;position:relative}li ul>li{position:relative;margin-left:var(--indent-size);padding-left:0}ul ul:before{content:'';border-left:var(--indentguide);position:absolute;left:calc(0.5em - var(--indentguide-size));top:.3em;bottom:.3em}ul ul:hover:before{border-left:var(--indentguide-active)}mark{background-color:var(--highlight-color)}`;class y extends t{constructor(){super(...arguments),this.state={expanded:{},filtered:{},highlight:null},this.handlePropertyClick=e=>t=>{t.preventDefault(),this.setState(((e,t)=>o=>({expanded:Object.assign(Object.assign({},o.expanded),{[e]:p(t)?!!t:!o.expanded[e]})}))(e))}}setState(e){return c(this,void 0,void 0,(function*(){const t=this.state;this.state=Object.assign(Object.assign({},t),e(t,this))}))}connectedCallback(){this.hasAttribute(\"data\")||p(this.data)||this.setAttribute(\"data\",this.innerText),super.connectedCallback()}expand(e){this.setState(v(e,!0))}expandAll(){this.setState(v(\"**\",!0))}collapseAll(){this.setState(v(\"**\",!1))}collapse(e){this.setState(v(e,!1))}*search(e){for(const[t,o]of f(this.data))u(t)&&String(t).includes(e)&&(this.expand(o),this.updateComplete.then((()=>{const e=this.shadowRoot.querySelector(`[data-path=\"${o}\"]`);e.scrollIntoView({behavior:\"smooth\",inline:\"center\",block:\"center\"}),e.focus()})),this.setState(g(o)),yield{value:t,path:o});this.setState(g(null))}filter(e){var t;this.setState((t=e,(e,o)=>{const r={};if(t)for(const[,e,n]of f(o.data))b(e,t)?(r[e]=!1,n.forEach((e=>r[e]=!1))):r[e]=!0;return{filtered:r}}))}resetFilter(){this.setState((()=>({filtered:{}})))}renderObject(e,t){return o`${Object.keys(e).map((r=>{const n=e[r],l=t?`${t}.${r}`:r,c=u(n);return o` `}))} ${this.renderNode(n,l)}
`}renderNode(e,t=\"\"){const o=u(e);return!t||this.state.expanded[t]||o?o?this.renderPrimitive(e,t):this.renderObject(e,t):this.renderNodePreview(e)}renderNodePreview(e){return o`${function(e,{nodeCount:t=3,maxLength:o=15}={}){const r=Array.isArray(e),n=Object.keys(e),i=n.slice(0,t),l=[],c=e=>{switch(a(e)){case\"object\":return 0===Object.keys(e).length?\"{ }\":\"{ ... }\";case\"array\":return 0===e.length?\"[ ]\":\"[ ... ]\";case\"string\":return`\"${e.substring(0,o)}${e.length>o?\"...\":\"\"}\"`;default:return String(e)}},s=[];for(const t of i){const o=[],n=e[t];r||o.push(`${t}: `),o.push(c(n)),s.push(o.join(\"\"))}n.length>t&&s.push(\"...\"),l.push(s.join(\", \"));const d=l.join(\"\");return r?`[ ${d} ]`:`{ ${d} }`}(e)}`}renderPrimitive(e,t){const r=this.state.highlight,n=a(e),i=d(e)?e:o`${JSON.stringify(e)}`;return t===r?o`${i}`:i}render(){const e=this.data;return p(e)?this.renderNode(e):null}}y.styles=[m],l([r({converter:h,type:Object})],y.prototype,\"data\",void 0),l([n()],y.prototype,\"state\",void 0);export{y as JsonViewer};\n//# sourceMappingURL=JsonViewer.js.map\n","/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import { ComplexAttributeConverter } from 'lit';\nimport { SupportedTypes } from './types';\n\nexport function isRegex(obj: RegExp | any): boolean {\n return obj instanceof RegExp;\n}\n\nexport function getType(obj: any): SupportedTypes {\n return obj === null\n ? SupportedTypes.Null\n : Array.isArray(obj)\n ? SupportedTypes.Array\n : (obj!.constructor.name.toLowerCase() as SupportedTypes);\n}\n\nexport function isPrimitive(obj: any): boolean {\n return obj !== Object(obj);\n}\n\nexport function isNode(obj: any): boolean {\n return !!obj && !!(obj as Node).nodeType;\n}\n\nexport function isPrimitiveOrNode(obj: any): boolean {\n return isPrimitive(obj) || isNode(obj);\n}\n\nexport function generateNodePreview(\n node: any,\n { nodeCount = 3, maxLength = 15 }: { nodeCount?: number; maxLength?: number } = {}\n): string {\n const isArray = Array.isArray(node);\n const objectNodes = Object.keys(node);\n const keys = objectNodes.slice(0, nodeCount);\n const preview = [];\n\n const getNodePreview = (nodeValue: any) => {\n const nodeType = getType(nodeValue);\n\n switch (nodeType) {\n case SupportedTypes.Object:\n return Object.keys(nodeValue).length === 0 ? '{ }' : '{ ... }';\n case SupportedTypes.Array:\n return nodeValue.length === 0 ? '[ ]' : '[ ... ]';\n case SupportedTypes.String:\n return `\"${nodeValue.substring(0, maxLength)}${nodeValue.length > maxLength ? '...' : ''}\"`;\n default:\n return String(nodeValue);\n }\n };\n\n const childPreviews = [];\n for (const key of keys) {\n const nodePreview = [];\n const nodeValue = node[key];\n\n if (!isArray) nodePreview.push(`${key}: `);\n\n nodePreview.push(getNodePreview(nodeValue));\n childPreviews.push(nodePreview.join(''));\n }\n\n if (objectNodes.length > nodeCount) {\n childPreviews.push('...');\n }\n preview.push(childPreviews.join(', '));\n\n const previewText = preview.join('');\n\n return isArray ? `[ ${previewText} ]` : `{ ${previewText} }`;\n}\n\nexport function* deepTraverse(obj: any): Generator<[any, string, string[]]> {\n const stack: Array<[any, string, string[]]> = [[obj, '', []]];\n\n while (stack.length) {\n const [node, path, parents] = stack.shift()!;\n\n if (path) {\n yield [node, path, parents];\n }\n\n if (!isPrimitive(node)) {\n for (const [key, value] of Object.entries(node)) {\n stack.push([value, `${path}${path ? '.' : ''}${key}`, [...parents, path]]);\n }\n }\n }\n}\n\n/**\n * Matches a string using a glob-like syntax)\n */\nexport function checkGlob(str: string, glob: string): boolean {\n const strParts = str.split('.');\n const globaParts = glob.split('.');\n\n const isStar = (s: string) => s === '*';\n const isGlobStar = (s: string) => s === '**';\n\n let strIndex = 0;\n let globIndex = 0;\n\n while (strIndex < strParts.length) {\n const globPart = globaParts[globIndex];\n const strPart = strParts[strIndex];\n\n if (globPart === strPart || isStar(globPart)) {\n globIndex++;\n strIndex++;\n } else if (isGlobStar(globPart)) {\n globIndex++;\n strIndex = strParts.length - (globaParts.length - globIndex);\n } else {\n return false;\n }\n }\n\n return globIndex === globaParts.length;\n}\n\nexport const JSONConverter: ComplexAttributeConverter = {\n fromAttribute: (value: string): any => {\n return value && value.trim() ? JSON.parse(value) : undefined;\n },\n toAttribute: (value: any): string => {\n return JSON.stringify(value);\n }\n};\n\nexport const isDefined = (value: any): boolean => value !== void 0;\n\nexport const isMatchingPath = (path: string, criteria: string | RegExp) =>\n isRegex(criteria) ? !!path.match(criteria as RegExp) : checkGlob(path, criteria as string);\n","import { JsonViewerState } from './types';\nimport { deepTraverse, isDefined, isMatchingPath } from './utils';\n\nexport const toggleNode =\n (path: string, expanded?: boolean) =>\n (state: JsonViewerState): Partial => ({\n expanded: {\n ...state.expanded,\n [path]: isDefined(expanded) ? !!expanded : !state.expanded[path]\n }\n });\n\nexport const expand =\n (regexOrGlob: string | RegExp, isExpanded: boolean) =>\n (_state: JsonViewerState, el: any): Partial => {\n const expanded: Record = {};\n\n if (regexOrGlob) {\n for (const [, path, parents] of deepTraverse(el.data)) {\n if (isMatchingPath(path, regexOrGlob)) {\n expanded[path] = isExpanded;\n parents.forEach((p: string) => (expanded[p] = isExpanded));\n }\n }\n }\n\n return { expanded };\n };\n\nexport const filter =\n (regexOrGlob: string | RegExp) =>\n (_state: JsonViewerState, el: any): Partial => {\n const filtered: Record = {};\n\n if (regexOrGlob) {\n for (const [, path, parents] of deepTraverse(el.data)) {\n if (isMatchingPath(path, regexOrGlob)) {\n filtered[path] = false;\n parents.forEach((p: string) => (filtered[p] = false));\n } else {\n filtered[path] = true;\n }\n }\n }\n\n return { filtered };\n };\n\nexport const resetFilter = () => (): Partial => ({ filtered: {} });\n\nexport const highlight = (path: string | null) => (): Partial => ({\n highlight: path\n});\n","import { html, LitElement, TemplateResult } from 'lit';\nimport { property, state } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\n\nimport {\n getType,\n isPrimitiveOrNode,\n generateNodePreview,\n isNode,\n deepTraverse,\n JSONConverter,\n isDefined\n} from './utils';\nimport { toggleNode, expand, filter, highlight, resetFilter } from './stateChange';\n\nimport styles from './styles.css';\nimport { JsonViewerState, Primitive } from './types';\n\n/**\n * @since 1.0\n *\n * @csspart object - The object wrapper element.\n * @csspart property - The wrapper element of a property.\n * @csspart key - The key element of a property.\n * @csspart primitive - The primitive value.\n * @csspart primitive--string - Applied when the primitive is a string.\n * @csspart primitive--number - Applied when the primitive is a number.\n * @csspart primitive--boolean - Applied when the primitive is a boolean.\n * @csspart primitive--null - Applied when the primitive is a null.\n * @csspart preview - The value preview of a property.\n * @csspart highlight - The highlighted value.\n *\n * @cssproperty [--background-color] - The component background color.\n * @cssproperty [--color] - The text color.\n * @cssproperty [--font-family] - The font family.\n * @cssproperty [--font-size] - The font size.\n * @cssproperty [--indent-size] - The size of the indentation of nested properties.\n * @cssproperty [--indentguide-size] - The width of the indentation line.\n * @cssproperty [--indentguide-style] - The style of the indentation line.\n * @cssproperty [--indentguide-color] - The color of the indentation line.\n * @cssproperty [--indentguide-color-active] - The color of the indentation line when is active.\n * @cssproperty [--indentguide]\n * @cssproperty [--indentguide-active]\n * @cssproperty [--string-color] - The color of a string type value\n * @cssproperty [--number-color] - The color of a number type value\n * @cssproperty [--boolean-color] - The color of a boolean type value\n * @cssproperty [--null-color] - The color of a null type value\n * @cssproperty [--property-color] - The color of the property key.\n * @cssproperty [--preview-color] - The color of the collapsed property preview.\n * @cssproperty [--highlight-color] - The color of the highlighted value.\n */\nexport class JsonViewer extends LitElement {\n static styles = [styles];\n\n @property({ converter: JSONConverter, type: Object })\n data?: any;\n\n @state() private state: JsonViewerState = {\n expanded: {},\n filtered: {},\n highlight: null\n };\n\n private async setState(stateFn: (state: JsonViewerState, el: JsonViewer) => Partial) {\n const currentState = this.state;\n\n this.state = {\n ...currentState,\n ...stateFn(currentState, this)\n };\n }\n\n connectedCallback() {\n if (!this.hasAttribute('data') && !isDefined(this.data)) {\n this.setAttribute('data', this.innerText);\n }\n\n super.connectedCallback();\n }\n\n handlePropertyClick = (path: string) => (e: Event) => {\n e.preventDefault();\n\n this.setState(toggleNode(path));\n };\n\n expand(glob: string | RegExp) {\n this.setState(expand(glob, true));\n }\n\n expandAll() {\n this.setState(expand('**', true));\n }\n\n collapseAll() {\n this.setState(expand('**', false));\n }\n\n collapse(glob: string | RegExp) {\n this.setState(expand(glob, false));\n }\n\n *search(criteria: string) {\n for (const [node, path] of deepTraverse(this.data)) {\n if (isPrimitiveOrNode(node) && String(node).includes(criteria)) {\n this.expand(path);\n this.updateComplete.then(() => {\n const node = this.shadowRoot!.querySelector(`[data-path=\"${path}\"]`) as HTMLElement;\n node.scrollIntoView({\n behavior: 'smooth',\n inline: 'center',\n block: 'center'\n });\n\n node.focus();\n });\n\n this.setState(highlight(path));\n\n yield {\n value: node,\n path\n };\n }\n }\n\n this.setState(highlight(null));\n }\n\n filter(criteria: string | RegExp) {\n this.setState(filter(criteria));\n }\n\n resetFilter() {\n this.setState(resetFilter());\n }\n\n renderObject(node: Record, path: string): TemplateResult {\n return html`\n \n ${Object.keys(node).map((key) => {\n const nodeData = node[key];\n const nodePath = path ? `${path}.${key}` : key;\n const isPrimitive = isPrimitiveOrNode(nodeData);\n\n return html`\n - \n \n ${key}:\n \n ${this.renderNode(nodeData, nodePath)}\n
\n `;\n })}\n
\n `;\n }\n\n renderNode(node: any, path = '') {\n const isPrimitive = isPrimitiveOrNode(node);\n const isExpanded = !path || this.state.expanded[path] || isPrimitive;\n\n if (isExpanded) {\n return isPrimitive ? this.renderPrimitive(node, path) : this.renderObject(node, path);\n } else {\n return this.renderNodePreview(node);\n }\n }\n\n renderNodePreview(node: any) {\n return html` ${generateNodePreview(node)} `;\n }\n\n renderPrimitive(node: Primitive | null, path: string) {\n const highlight = this.state.highlight;\n const nodeType = getType(node);\n const value = isNode(node)\n ? node\n : html` ${JSON.stringify(node)} `;\n\n return path === highlight ? html`${value}` : value;\n }\n\n render() {\n const data = this.data;\n\n return isDefined(data) ? this.renderNode(data) : null;\n }\n}\n","import{getCompatibleStyle as t,adoptStyles as i}from\"./css-tag.js\";export{CSSResult,adoptStyles,css,getCompatibleStyle,supportsAdoptingStyleSheets,unsafeCSS}from\"./css-tag.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */var s;const e=window,r=e.trustedTypes,h=r?r.emptyScript:\"\",o=e.reactiveElementPolyfillSupport,n={toAttribute(t,i){switch(i){case Boolean:t=t?h:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,i){let s=t;switch(i){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},a=(t,i)=>i!==t&&(i==i||t==t),l={attribute:!0,type:String,converter:n,reflect:!1,hasChanged:a},d=\"finalized\";class u extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var i;this.finalize(),(null!==(i=this.h)&&void 0!==i?i:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((i,s)=>{const e=this._$Ep(s,i);void 0!==e&&(this._$Ev.set(e,s),t.push(e))})),t}static createProperty(t,i=l){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(t,i),!i.noAccessor&&!this.prototype.hasOwnProperty(t)){const s=\"symbol\"==typeof t?Symbol():\"__\"+t,e=this.getPropertyDescriptor(t,s,i);void 0!==e&&Object.defineProperty(this.prototype,t,e)}}static getPropertyDescriptor(t,i,s){return{get(){return this[i]},set(e){const r=this[t];this[i]=e,this.requestUpdate(t,r,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||l}static finalize(){if(this.hasOwnProperty(d))return!1;this[d]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty(\"properties\")){const t=this.properties,i=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const s of i)this.createProperty(s,t[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(i){const s=[];if(Array.isArray(i)){const e=new Set(i.flat(1/0).reverse());for(const i of e)s.unshift(t(i))}else void 0!==i&&s.push(t(i));return s}static _$Ep(t,i){const s=i.attribute;return!1===s?void 0:\"string\"==typeof s?s:\"string\"==typeof t?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var i,s;(null!==(i=this._$ES)&&void 0!==i?i:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(s=t.hostConnected)||void 0===s||s.call(t))}removeController(t){var i;null===(i=this._$ES)||void 0===i||i.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,i)=>{this.hasOwnProperty(i)&&(this._$Ei.set(i,this[i]),delete this[i])}))}createRenderRoot(){var t;const s=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return i(s,this.constructor.elementStyles),s}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostConnected)||void 0===i?void 0:i.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostDisconnected)||void 0===i?void 0:i.call(t)}))}attributeChangedCallback(t,i,s){this._$AK(t,s)}_$EO(t,i,s=l){var e;const r=this.constructor._$Ep(t,s);if(void 0!==r&&!0===s.reflect){const h=(void 0!==(null===(e=s.converter)||void 0===e?void 0:e.toAttribute)?s.converter:n).toAttribute(i,s.type);this._$El=t,null==h?this.removeAttribute(r):this.setAttribute(r,h),this._$El=null}}_$AK(t,i){var s;const e=this.constructor,r=e._$Ev.get(t);if(void 0!==r&&this._$El!==r){const t=e.getPropertyOptions(r),h=\"function\"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(s=t.converter)||void 0===s?void 0:s.fromAttribute)?t.converter:n;this._$El=r,this[r]=h.fromAttribute(i,t.type),this._$El=null}}requestUpdate(t,i,s){let e=!0;void 0!==t&&(((s=s||this.constructor.getPropertyOptions(t)).hasChanged||a)(this[t],i)?(this._$AL.has(t)||this._$AL.set(t,i),!0===s.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,s))):e=!1),!this.isUpdatePending&&e&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,i)=>this[i]=t)),this._$Ei=void 0);let i=!1;const s=this._$AL;try{i=this.shouldUpdate(s),i?(this.willUpdate(s),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var i;return null===(i=t.hostUpdate)||void 0===i?void 0:i.call(t)})),this.update(s)):this._$Ek()}catch(t){throw i=!1,this._$Ek(),t}i&&this._$AE(s)}willUpdate(t){}_$AE(t){var i;null===(i=this._$ES)||void 0===i||i.forEach((t=>{var i;return null===(i=t.hostUpdated)||void 0===i?void 0:i.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,i)=>this._$EO(i,this[i],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}u[d]=!0,u.elementProperties=new Map,u.elementStyles=[],u.shadowRootOptions={mode:\"open\"},null==o||o({ReactiveElement:u}),(null!==(s=e.reactiveElementVersions)&&void 0!==s?s:e.reactiveElementVersions=[]).push(\"1.6.3\");export{u as ReactiveElement,n as defaultConverter,a as notEqual};\n//# sourceMappingURL=reactive-element.js.map\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * Use this module if you want to create your own base class extending\n * {@link ReactiveElement}.\n * @packageDocumentation\n */\n\nimport {\n getCompatibleStyle,\n adoptStyles,\n CSSResultGroup,\n CSSResultOrNative,\n} from './css-tag.js';\nimport type {\n ReactiveController,\n ReactiveControllerHost,\n} from './reactive-controller.js';\n\n// In the Node build, this import will be injected by Rollup:\n// import {HTMLElement, customElements} from '@lit-labs/ssr-dom-shim';\n\nexport * from './css-tag.js';\nexport type {\n ReactiveController,\n ReactiveControllerHost,\n} from './reactive-controller.js';\n\nconst NODE_MODE = false;\nconst global = NODE_MODE ? globalThis : window;\n\nif (NODE_MODE) {\n global.customElements ??= customElements;\n}\n\nconst DEV_MODE = true;\n\nlet requestUpdateThenable: (name: string) => {\n then: (\n onfulfilled?: (value: boolean) => void,\n _onrejected?: () => void\n ) => void;\n};\n\nlet issueWarning: (code: string, warning: string) => void;\n\nconst trustedTypes = (global as unknown as {trustedTypes?: {emptyScript: ''}})\n .trustedTypes;\n\n// Temporary workaround for https://crbug.com/993268\n// Currently, any attribute starting with \"on\" is considered to be a\n// TrustedScript source. Such boolean attributes must be set to the equivalent\n// trusted emptyScript value.\nconst emptyStringForBooleanAttribute = trustedTypes\n ? (trustedTypes.emptyScript as unknown as '')\n : '';\n\nconst polyfillSupport = DEV_MODE\n ? global.reactiveElementPolyfillSupportDevMode\n : global.reactiveElementPolyfillSupport;\n\nif (DEV_MODE) {\n // Ensure warnings are issued only 1x, even if multiple versions of Lit\n // are loaded.\n const issuedWarnings: Set = (global.litIssuedWarnings ??=\n new Set());\n\n // Issue a warning, if we haven't already.\n issueWarning = (code: string, warning: string) => {\n warning += ` See https://lit.dev/msg/${code} for more information.`;\n if (!issuedWarnings.has(warning)) {\n console.warn(warning);\n issuedWarnings.add(warning);\n }\n };\n\n issueWarning(\n 'dev-mode',\n `Lit is in dev mode. Not recommended for production!`\n );\n\n // Issue polyfill support warning.\n if (global.ShadyDOM?.inUse && polyfillSupport === undefined) {\n issueWarning(\n 'polyfill-support-missing',\n `Shadow DOM is being polyfilled via \\`ShadyDOM\\` but ` +\n `the \\`polyfill-support\\` module has not been loaded.`\n );\n }\n\n requestUpdateThenable = (name) => ({\n then: (\n onfulfilled?: (value: boolean) => void,\n _onrejected?: () => void\n ) => {\n issueWarning(\n 'request-update-promise',\n `The \\`requestUpdate\\` method should no longer return a Promise but ` +\n `does so on \\`${name}\\`. Use \\`updateComplete\\` instead.`\n );\n if (onfulfilled !== undefined) {\n onfulfilled(false);\n }\n },\n });\n}\n\n/**\n * Contains types that are part of the unstable debug API.\n *\n * Everything in this API is not stable and may change or be removed in the future,\n * even on patch releases.\n */\n// eslint-disable-next-line @typescript-eslint/no-namespace\nexport namespace ReactiveUnstable {\n /**\n * When Lit is running in dev mode and `window.emitLitDebugLogEvents` is true,\n * we will emit 'lit-debug' events to window, with live details about the update and render\n * lifecycle. These can be useful for writing debug tooling and visualizations.\n *\n * Please be aware that running with window.emitLitDebugLogEvents has performance overhead,\n * making certain operations that are normally very cheap (like a no-op render) much slower,\n * because we must copy data and dispatch events.\n */\n // eslint-disable-next-line @typescript-eslint/no-namespace\n export namespace DebugLog {\n export type Entry = Update;\n export interface Update {\n kind: 'update';\n }\n }\n}\n\ninterface DebugLoggingWindow {\n // Even in dev mode, we generally don't want to emit these events, as that's\n // another level of cost, so only emit them when DEV_MODE is true _and_ when\n // window.emitLitDebugEvents is true.\n emitLitDebugLogEvents?: boolean;\n}\n\n/**\n * Useful for visualizing and logging insights into what the Lit template system is doing.\n *\n * Compiled out of prod mode builds.\n */\nconst debugLogEvent = DEV_MODE\n ? (event: ReactiveUnstable.DebugLog.Entry) => {\n const shouldEmit = (global as unknown as DebugLoggingWindow)\n .emitLitDebugLogEvents;\n if (!shouldEmit) {\n return;\n }\n global.dispatchEvent(\n new CustomEvent('lit-debug', {\n detail: event,\n })\n );\n }\n : undefined;\n\n/*\n * When using Closure Compiler, JSCompiler_renameProperty(property, object) is\n * replaced at compile time by the munged name for object[property]. We cannot\n * alias this function, so we have to use a small shim that has the same\n * behavior when not compiling.\n */\n/*@__INLINE__*/\nconst JSCompiler_renameProperty = (\n prop: P,\n _obj: unknown\n): P => prop;\n\n/**\n * Converts property values to and from attribute values.\n */\nexport interface ComplexAttributeConverter {\n /**\n * Called to convert an attribute value to a property\n * value.\n */\n fromAttribute?(value: string | null, type?: TypeHint): Type;\n\n /**\n * Called to convert a property value to an attribute\n * value.\n *\n * It returns unknown instead of string, to be compatible with\n * https://github.com/WICG/trusted-types (and similar efforts).\n */\n toAttribute?(value: Type, type?: TypeHint): unknown;\n}\n\ntype AttributeConverter =\n | ComplexAttributeConverter\n | ((value: string | null, type?: TypeHint) => Type);\n\n/**\n * Defines options for a property accessor.\n */\nexport interface PropertyDeclaration {\n /**\n * When set to `true`, indicates the property is internal private state. The\n * property should not be set by users. When using TypeScript, this property\n * should be marked as `private` or `protected`, and it is also a common\n * practice to use a leading `_` in the name. The property is not added to\n * `observedAttributes`.\n */\n readonly state?: boolean;\n\n /**\n * Indicates how and whether the property becomes an observed attribute.\n * If the value is `false`, the property is not added to `observedAttributes`.\n * If true or absent, the lowercased property name is observed (e.g. `fooBar`\n * becomes `foobar`). If a string, the string value is observed (e.g\n * `attribute: 'foo-bar'`).\n */\n readonly attribute?: boolean | string;\n\n /**\n * Indicates the type of the property. This is used only as a hint for the\n * `converter` to determine how to convert the attribute\n * to/from a property.\n */\n readonly type?: TypeHint;\n\n /**\n * Indicates how to convert the attribute to/from a property. If this value\n * is a function, it is used to convert the attribute value a the property\n * value. If it's an object, it can have keys for `fromAttribute` and\n * `toAttribute`. If no `toAttribute` function is provided and\n * `reflect` is set to `true`, the property value is set directly to the\n * attribute. A default `converter` is used if none is provided; it supports\n * `Boolean`, `String`, `Number`, `Object`, and `Array`. Note,\n * when a property changes and the converter is used to update the attribute,\n * the property is never updated again as a result of the attribute changing,\n * and vice versa.\n */\n readonly converter?: AttributeConverter;\n\n /**\n * Indicates if the property should reflect to an attribute.\n * If `true`, when the property is set, the attribute is set using the\n * attribute name determined according to the rules for the `attribute`\n * property option and the value of the property converted using the rules\n * from the `converter` property option.\n */\n readonly reflect?: boolean;\n\n /**\n * A function that indicates if a property should be considered changed when\n * it is set. The function should take the `newValue` and `oldValue` and\n * return `true` if an update should be requested.\n */\n hasChanged?(value: Type, oldValue: Type): boolean;\n\n /**\n * Indicates whether an accessor will be created for this property. By\n * default, an accessor will be generated for this property that requests an\n * update when set. If this flag is `true`, no accessor will be created, and\n * it will be the user's responsibility to call\n * `this.requestUpdate(propertyName, oldValue)` to request an update when\n * the property changes.\n */\n readonly noAccessor?: boolean;\n}\n\n/**\n * Map of properties to PropertyDeclaration options. For each property an\n * accessor is made, and the property is processed according to the\n * PropertyDeclaration options.\n */\nexport interface PropertyDeclarations {\n readonly [key: string]: PropertyDeclaration;\n}\n\ntype PropertyDeclarationMap = Map;\n\ntype AttributeMap = Map;\n\n/**\n * A Map of property keys to values.\n *\n * Takes an optional type parameter T, which when specified as a non-any,\n * non-unknown type, will make the Map more strongly-typed, associating the map\n * keys with their corresponding value type on T.\n *\n * Use `PropertyValues` when overriding ReactiveElement.update() and\n * other lifecycle methods in order to get stronger type-checking on keys\n * and values.\n */\n// This type is conditional so that if the parameter T is not specified, or\n// is `any`, the type will include `Map`. Since T is not\n// given in the uses of PropertyValues in this file, all uses here fallback to\n// meaning `Map`, but if a developer uses\n// `PropertyValues` (or any other value for T) they will get a\n// strongly-typed Map type.\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type PropertyValues = T extends object\n ? PropertyValueMap\n : Map;\n\n/**\n * Do not use, instead prefer {@linkcode PropertyValues}.\n */\n// This type must be exported such that JavaScript generated by the Google\n// Closure Compiler can import a type reference.\nexport interface PropertyValueMap extends Map {\n get(k: K): T[K];\n set(key: K, value: T[K]): this;\n has(k: K): boolean;\n delete(k: K): boolean;\n}\n\nexport const defaultConverter: ComplexAttributeConverter = {\n toAttribute(value: unknown, type?: unknown): unknown {\n switch (type) {\n case Boolean:\n value = value ? emptyStringForBooleanAttribute : null;\n break;\n case Object:\n case Array:\n // if the value is `null` or `undefined` pass this through\n // to allow removing/no change behavior.\n value = value == null ? value : JSON.stringify(value);\n break;\n }\n return value;\n },\n\n fromAttribute(value: string | null, type?: unknown) {\n let fromValue: unknown = value;\n switch (type) {\n case Boolean:\n fromValue = value !== null;\n break;\n case Number:\n fromValue = value === null ? null : Number(value);\n break;\n case Object:\n case Array:\n // Do *not* generate exception when invalid JSON is set as elements\n // don't normally complain on being mis-configured.\n // TODO(sorvell): Do generate exception in *dev mode*.\n try {\n // Assert to adhere to Bazel's \"must type assert JSON parse\" rule.\n fromValue = JSON.parse(value!) as unknown;\n } catch (e) {\n fromValue = null;\n }\n break;\n }\n return fromValue;\n },\n};\n\nexport interface HasChanged {\n (value: unknown, old: unknown): boolean;\n}\n\n/**\n * Change function that returns true if `value` is different from `oldValue`.\n * This method is used as the default for a property's `hasChanged` function.\n */\nexport const notEqual: HasChanged = (value: unknown, old: unknown): boolean => {\n // This ensures (old==NaN, value==NaN) always returns false\n return old !== value && (old === old || value === value);\n};\n\nconst defaultPropertyDeclaration: PropertyDeclaration = {\n attribute: true,\n type: String,\n converter: defaultConverter,\n reflect: false,\n hasChanged: notEqual,\n};\n\n/**\n * The Closure JS Compiler doesn't currently have good support for static\n * property semantics where \"this\" is dynamic (e.g.\n * https://github.com/google/closure-compiler/issues/3177 and others) so we use\n * this hack to bypass any rewriting by the compiler.\n */\nconst finalized = 'finalized';\n\n/**\n * A string representing one of the supported dev mode warning categories.\n */\nexport type WarningKind = 'change-in-update' | 'migration';\n\nexport type Initializer = (element: ReactiveElement) => void;\n\n/**\n * Base element class which manages element properties and attributes. When\n * properties change, the `update` method is asynchronously called. This method\n * should be supplied by subclassers to render updates as desired.\n * @noInheritDoc\n */\nexport abstract class ReactiveElement\n // In the Node build, this `extends` clause will be substituted with\n // `(globalThis.HTMLElement ?? HTMLElement)`.\n //\n // This way, we will first prefer any global `HTMLElement` polyfill that the\n // user has assigned, and then fall back to the `HTMLElement` shim which has\n // been imported (see note at the top of this file about how this import is\n // generated by Rollup). Note that the `HTMLElement` variable has been\n // shadowed by this import, so it no longer refers to the global.\n extends HTMLElement\n implements ReactiveControllerHost\n{\n // Note: these are patched in only in DEV_MODE.\n /**\n * Read or set all the enabled warning categories for this class.\n *\n * This property is only used in development builds.\n *\n * @nocollapse\n * @category dev-mode\n */\n static enabledWarnings?: WarningKind[];\n\n /**\n * Enable the given warning category for this class.\n *\n * This method only exists in development builds, so it should be accessed\n * with a guard like:\n *\n * ```ts\n * // Enable for all ReactiveElement subclasses\n * ReactiveElement.enableWarning?.('migration');\n *\n * // Enable for only MyElement and subclasses\n * MyElement.enableWarning?.('migration');\n * ```\n *\n * @nocollapse\n * @category dev-mode\n */\n static enableWarning?: (warningKind: WarningKind) => void;\n\n /**\n * Disable the given warning category for this class.\n *\n * This method only exists in development builds, so it should be accessed\n * with a guard like:\n *\n * ```ts\n * // Disable for all ReactiveElement subclasses\n * ReactiveElement.disableWarning?.('migration');\n *\n * // Disable for only MyElement and subclasses\n * MyElement.disableWarning?.('migration');\n * ```\n *\n * @nocollapse\n * @category dev-mode\n */\n static disableWarning?: (warningKind: WarningKind) => void;\n\n /**\n * Adds an initializer function to the class that is called during instance\n * construction.\n *\n * This is useful for code that runs against a `ReactiveElement`\n * subclass, such as a decorator, that needs to do work for each\n * instance, such as setting up a `ReactiveController`.\n *\n * ```ts\n * const myDecorator = (target: typeof ReactiveElement, key: string) => {\n * target.addInitializer((instance: ReactiveElement) => {\n * // This is run during construction of the element\n * new MyController(instance);\n * });\n * }\n * ```\n *\n * Decorating a field will then cause each instance to run an initializer\n * that adds a controller:\n *\n * ```ts\n * class MyElement extends LitElement {\n * @myDecorator foo;\n * }\n * ```\n *\n * Initializers are stored per-constructor. Adding an initializer to a\n * subclass does not add it to a superclass. Since initializers are run in\n * constructors, initializers will run in order of the class hierarchy,\n * starting with superclasses and progressing to the instance's class.\n *\n * @nocollapse\n */\n static addInitializer(initializer: Initializer) {\n this.finalize();\n (this._initializers ??= []).push(initializer);\n }\n\n static _initializers?: Initializer[];\n\n /*\n * Due to closure compiler ES6 compilation bugs, @nocollapse is required on\n * all static methods and properties with initializers. Reference:\n * - https://github.com/google/closure-compiler/issues/1776\n */\n\n /**\n * Maps attribute names to properties; for example `foobar` attribute to\n * `fooBar` property. Created lazily on user subclasses when finalizing the\n * class.\n * @nocollapse\n */\n private static __attributeToPropertyMap: AttributeMap;\n\n /**\n * Marks class as having finished creating properties.\n */\n protected static [finalized] = true;\n\n /**\n * Memoized list of all element properties, including any superclass properties.\n * Created lazily on user subclasses when finalizing the class.\n * @nocollapse\n * @category properties\n */\n static elementProperties: PropertyDeclarationMap = new Map();\n\n /**\n * User-supplied object that maps property names to `PropertyDeclaration`\n * objects containing options for configuring reactive properties. When\n * a reactive property is set the element will update and render.\n *\n * By default properties are public fields, and as such, they should be\n * considered as primarily settable by element users, either via attribute or\n * the property itself.\n *\n * Generally, properties that are changed by the element should be private or\n * protected fields and should use the `state: true` option. Properties\n * marked as `state` do not reflect from the corresponding attribute\n *\n * However, sometimes element code does need to set a public property. This\n * should typically only be done in response to user interaction, and an event\n * should be fired informing the user; for example, a checkbox sets its\n * `checked` property when clicked and fires a `changed` event. Mutating\n * public properties should typically not be done for non-primitive (object or\n * array) properties. In other cases when an element needs to manage state, a\n * private property set with the `state: true` option should be used. When\n * needed, state properties can be initialized via public properties to\n * facilitate complex interactions.\n * @nocollapse\n * @category properties\n */\n static properties: PropertyDeclarations;\n\n /**\n * Memoized list of all element styles.\n * Created lazily on user subclasses when finalizing the class.\n * @nocollapse\n * @category styles\n */\n static elementStyles: Array = [];\n\n /**\n * Array of styles to apply to the element. The styles should be defined\n * using the {@linkcode css} tag function, via constructible stylesheets, or\n * imported from native CSS module scripts.\n *\n * Note on Content Security Policy:\n *\n * Element styles are implemented with `