@epigraph/epigraph-std-lib 5.0.0-alpha.13 → 5.0.0-alpha.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/README.md +68 -68
  2. package/dist/Epigraph/epigraph.cjs +1 -1
  3. package/dist/Epigraph/epigraph.js +126 -94
  4. package/dist/Epigraph/epigraphBaseSolutions.cjs +1 -1
  5. package/dist/Epigraph/epigraphBaseSolutions.js +68 -60
  6. package/dist/EpigraphLibs/EpigraphAnalytics/epigraphAnalytics.cjs +16 -1
  7. package/dist/EpigraphLibs/EpigraphAnalytics/epigraphAnalytics.d.ts +2 -0
  8. package/dist/EpigraphLibs/EpigraphAnalytics/epigraphAnalytics.js +1057 -2
  9. package/dist/EpigraphLibs/EpigraphAnalytics/plugins/ga4-analytics-plugin.d.ts +11 -6
  10. package/dist/EpigraphLibs/EpigraphAnalytics/plugins/nexus-solutions-analytics-plugin.d.ts +50 -0
  11. package/dist/EpigraphLibs/EpigraphLogger/epigraphLogger.cjs +1 -1
  12. package/dist/EpigraphLibs/EpigraphLogger/epigraphLogger.js +198 -74
  13. package/dist/EpigraphLibs/EpigraphNexusApi/epigraphNexusApi.cjs +1 -1
  14. package/dist/EpigraphLibs/EpigraphNexusApi/epigraphNexusApi.js +425 -197
  15. package/dist/EpigraphLibs/EpigraphQrCodeGenerator/epigraphQrCodeGenerator.cjs +7 -1
  16. package/dist/EpigraphLibs/EpigraphQrCodeGenerator/epigraphQrCodeGenerator.js +78 -2
  17. package/dist/EpigraphLibs/EpigraphResultFactory/epigraphResultFactory.cjs +1 -1
  18. package/dist/EpigraphLibs/EpigraphResultFactory/epigraphResultFactory.js +26 -24
  19. package/dist/EpigraphLibs/EpigraphUnitsConverter/epigraphUnitsConverter.cjs +1 -1
  20. package/dist/EpigraphLibs/EpigraphUnitsConverter/epigraphUnitsConverter.js +88 -2
  21. package/dist/EpigraphLibs/EpigraphUrlProcessor/epigraphUrlProcessor.cjs +1 -1
  22. package/dist/EpigraphLibs/EpigraphUrlProcessor/epigraphUrlProcessor.js +75 -44
  23. package/dist/enums-1vqWxJ0i.cjs +1 -0
  24. package/dist/enums-CvOTKyNu.js +5 -0
  25. package/dist/epigraph-std-lib.cjs +1 -1
  26. package/dist/epigraph-std-lib.js +74 -11
  27. package/dist/lit-element-C3moVMGu.js +524 -0
  28. package/dist/lit-element-CYaaFRfk.cjs +19 -0
  29. package/package.json +40 -40
  30. package/dist/enums-BSSe4NAs.js +0 -8
  31. package/dist/enums-PfFMiIoe.cjs +0 -1
  32. package/dist/epigraphAnalytics-CF9Czp8C.js +0 -722
  33. package/dist/epigraphAnalytics-H3EZRDUh.cjs +0 -1
  34. package/dist/epigraphQrCodeGenerator-BXUNL2XK.js +0 -54
  35. package/dist/epigraphQrCodeGenerator-F2eLrPC_.cjs +0 -7
  36. package/dist/epigraphUnitsConverter-CwpmWl7p.cjs +0 -1
  37. package/dist/epigraphUnitsConverter-DsX4Rmsp.js +0 -66
  38. package/dist/lit--5TUYSGn.js +0 -508
  39. package/dist/lit-DZtv4Pds.cjs +0 -2
@@ -1,508 +0,0 @@
1
- //#region node_modules/@lit/reactive-element/css-tag.js
2
- var e = globalThis, t = e.ShadowRoot && (e.ShadyCSS === void 0 || e.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, n = Symbol(), r = /* @__PURE__ */ new WeakMap(), i = class {
3
- constructor(e, t, r) {
4
- if (this._$cssResult$ = !0, r !== n) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
5
- this.cssText = e, this.t = t;
6
- }
7
- get styleSheet() {
8
- let e = this.o, n = this.t;
9
- if (t && e === void 0) {
10
- let t = n !== void 0 && n.length === 1;
11
- t && (e = r.get(n)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), t && r.set(n, e));
12
- }
13
- return e;
14
- }
15
- toString() {
16
- return this.cssText;
17
- }
18
- }, a = (e) => new i(typeof e == "string" ? e : e + "", void 0, n), o = (e, ...t) => new i(e.length === 1 ? e[0] : t.reduce(((t, n, r) => t + ((e) => {
19
- if (!0 === e._$cssResult$) return e.cssText;
20
- if (typeof e == "number") return e;
21
- throw Error("Value passed to 'css' function must be a 'css' function result: " + e + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
22
- })(n) + e[r + 1]), e[0]), e, n), s = (n, r) => {
23
- if (t) n.adoptedStyleSheets = r.map(((e) => e instanceof CSSStyleSheet ? e : e.styleSheet));
24
- else for (let t of r) {
25
- let r = document.createElement("style"), i = e.litNonce;
26
- i !== void 0 && r.setAttribute("nonce", i), r.textContent = t.cssText, n.appendChild(r);
27
- }
28
- }, c = t ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((e) => {
29
- let t = "";
30
- for (let n of e.cssRules) t += n.cssText;
31
- return a(t);
32
- })(e) : e, { is: l, defineProperty: u, getOwnPropertyDescriptor: d, getOwnPropertyNames: ee, getOwnPropertySymbols: te, getPrototypeOf: f } = Object, p = globalThis, m = p.trustedTypes, h = m ? m.emptyScript : "", g = p.reactiveElementPolyfillSupport, _ = (e, t) => e, v = {
33
- toAttribute(e, t) {
34
- switch (t) {
35
- case Boolean:
36
- e = e ? h : null;
37
- break;
38
- case Object:
39
- case Array: e = e == null ? e : JSON.stringify(e);
40
- }
41
- return e;
42
- },
43
- fromAttribute(e, t) {
44
- let n = e;
45
- switch (t) {
46
- case Boolean:
47
- n = e !== null;
48
- break;
49
- case Number:
50
- n = e === null ? null : Number(e);
51
- break;
52
- case Object:
53
- case Array: try {
54
- n = JSON.parse(e);
55
- } catch {
56
- n = null;
57
- }
58
- }
59
- return n;
60
- }
61
- }, y = (e, t) => !l(e, t), b = {
62
- attribute: !0,
63
- type: String,
64
- converter: v,
65
- reflect: !1,
66
- useDefault: !1,
67
- hasChanged: y
68
- };
69
- Symbol.metadata ??= Symbol("metadata"), p.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
70
- var x = class extends HTMLElement {
71
- static addInitializer(e) {
72
- this._$Ei(), (this.l ??= []).push(e);
73
- }
74
- static get observedAttributes() {
75
- return this.finalize(), this._$Eh && [...this._$Eh.keys()];
76
- }
77
- static createProperty(e, t = b) {
78
- if (t.state && (t.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(e) && ((t = Object.create(t)).wrapped = !0), this.elementProperties.set(e, t), !t.noAccessor) {
79
- let n = Symbol(), r = this.getPropertyDescriptor(e, n, t);
80
- r !== void 0 && u(this.prototype, e, r);
81
- }
82
- }
83
- static getPropertyDescriptor(e, t, n) {
84
- let { get: r, set: i } = d(this.prototype, e) ?? {
85
- get() {
86
- return this[t];
87
- },
88
- set(e) {
89
- this[t] = e;
90
- }
91
- };
92
- return {
93
- get: r,
94
- set(t) {
95
- let a = r?.call(this);
96
- i?.call(this, t), this.requestUpdate(e, a, n);
97
- },
98
- configurable: !0,
99
- enumerable: !0
100
- };
101
- }
102
- static getPropertyOptions(e) {
103
- return this.elementProperties.get(e) ?? b;
104
- }
105
- static _$Ei() {
106
- if (this.hasOwnProperty(_("elementProperties"))) return;
107
- let e = f(this);
108
- e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
109
- }
110
- static finalize() {
111
- if (this.hasOwnProperty(_("finalized"))) return;
112
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(_("properties"))) {
113
- let e = this.properties, t = [...ee(e), ...te(e)];
114
- for (let n of t) this.createProperty(n, e[n]);
115
- }
116
- let e = this[Symbol.metadata];
117
- if (e !== null) {
118
- let t = litPropertyMetadata.get(e);
119
- if (t !== void 0) for (let [e, n] of t) this.elementProperties.set(e, n);
120
- }
121
- this._$Eh = /* @__PURE__ */ new Map();
122
- for (let [e, t] of this.elementProperties) {
123
- let n = this._$Eu(e, t);
124
- n !== void 0 && this._$Eh.set(n, e);
125
- }
126
- this.elementStyles = this.finalizeStyles(this.styles);
127
- }
128
- static finalizeStyles(e) {
129
- let t = [];
130
- if (Array.isArray(e)) {
131
- let n = new Set(e.flat(Infinity).reverse());
132
- for (let e of n) t.unshift(c(e));
133
- } else e !== void 0 && t.push(c(e));
134
- return t;
135
- }
136
- static _$Eu(e, t) {
137
- let n = t.attribute;
138
- return !1 === n ? void 0 : typeof n == "string" ? n : typeof e == "string" ? e.toLowerCase() : void 0;
139
- }
140
- constructor() {
141
- super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
142
- }
143
- _$Ev() {
144
- this._$ES = new Promise(((e) => this.enableUpdating = e)), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach(((e) => e(this)));
145
- }
146
- addController(e) {
147
- (this._$EO ??= /* @__PURE__ */ new Set()).add(e), this.renderRoot !== void 0 && this.isConnected && e.hostConnected?.();
148
- }
149
- removeController(e) {
150
- this._$EO?.delete(e);
151
- }
152
- _$E_() {
153
- let e = /* @__PURE__ */ new Map(), t = this.constructor.elementProperties;
154
- for (let n of t.keys()) this.hasOwnProperty(n) && (e.set(n, this[n]), delete this[n]);
155
- e.size > 0 && (this._$Ep = e);
156
- }
157
- createRenderRoot() {
158
- let e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
159
- return s(e, this.constructor.elementStyles), e;
160
- }
161
- connectedCallback() {
162
- this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this._$EO?.forEach(((e) => e.hostConnected?.()));
163
- }
164
- enableUpdating(e) {}
165
- disconnectedCallback() {
166
- this._$EO?.forEach(((e) => e.hostDisconnected?.()));
167
- }
168
- attributeChangedCallback(e, t, n) {
169
- this._$AK(e, n);
170
- }
171
- _$ET(e, t) {
172
- let n = this.constructor.elementProperties.get(e), r = this.constructor._$Eu(e, n);
173
- if (r !== void 0 && !0 === n.reflect) {
174
- let i = (n.converter?.toAttribute === void 0 ? v : n.converter).toAttribute(t, n.type);
175
- this._$Em = e, i == null ? this.removeAttribute(r) : this.setAttribute(r, i), this._$Em = null;
176
- }
177
- }
178
- _$AK(e, t) {
179
- let n = this.constructor, r = n._$Eh.get(e);
180
- if (r !== void 0 && this._$Em !== r) {
181
- let e = n.getPropertyOptions(r), i = typeof e.converter == "function" ? { fromAttribute: e.converter } : e.converter?.fromAttribute === void 0 ? v : e.converter;
182
- this._$Em = r, this[r] = i.fromAttribute(t, e.type) ?? this._$Ej?.get(r) ?? null, this._$Em = null;
183
- }
184
- }
185
- requestUpdate(e, t, n) {
186
- if (e !== void 0) {
187
- let r = this.constructor, i = this[e];
188
- if (n ??= r.getPropertyOptions(e), !((n.hasChanged ?? y)(i, t) || n.useDefault && n.reflect && i === this._$Ej?.get(e) && !this.hasAttribute(r._$Eu(e, n)))) return;
189
- this.C(e, t, n);
190
- }
191
- !1 === this.isUpdatePending && (this._$ES = this._$EP());
192
- }
193
- C(e, t, { useDefault: n, reflect: r, wrapped: i }, a) {
194
- n && !(this._$Ej ??= /* @__PURE__ */ new Map()).has(e) && (this._$Ej.set(e, a ?? t ?? this[e]), !0 !== i || a !== void 0) || (this._$AL.has(e) || (this.hasUpdated || n || (t = void 0), this._$AL.set(e, t)), !0 === r && this._$Em !== e && (this._$Eq ??= /* @__PURE__ */ new Set()).add(e));
195
- }
196
- async _$EP() {
197
- this.isUpdatePending = !0;
198
- try {
199
- await this._$ES;
200
- } catch (e) {
201
- Promise.reject(e);
202
- }
203
- let e = this.scheduleUpdate();
204
- return e != null && await e, !this.isUpdatePending;
205
- }
206
- scheduleUpdate() {
207
- return this.performUpdate();
208
- }
209
- performUpdate() {
210
- if (!this.isUpdatePending) return;
211
- if (!this.hasUpdated) {
212
- if (this.renderRoot ??= this.createRenderRoot(), this._$Ep) {
213
- for (let [e, t] of this._$Ep) this[e] = t;
214
- this._$Ep = void 0;
215
- }
216
- let e = this.constructor.elementProperties;
217
- if (e.size > 0) for (let [t, n] of e) {
218
- let { wrapped: e } = n, r = this[t];
219
- !0 !== e || this._$AL.has(t) || r === void 0 || this.C(t, void 0, n, r);
220
- }
221
- }
222
- let e = !1, t = this._$AL;
223
- try {
224
- e = this.shouldUpdate(t), e ? (this.willUpdate(t), this._$EO?.forEach(((e) => e.hostUpdate?.())), this.update(t)) : this._$EM();
225
- } catch (t) {
226
- throw e = !1, this._$EM(), t;
227
- }
228
- e && this._$AE(t);
229
- }
230
- willUpdate(e) {}
231
- _$AE(e) {
232
- this._$EO?.forEach(((e) => e.hostUpdated?.())), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(e)), this.updated(e);
233
- }
234
- _$EM() {
235
- this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
236
- }
237
- get updateComplete() {
238
- return this.getUpdateComplete();
239
- }
240
- getUpdateComplete() {
241
- return this._$ES;
242
- }
243
- shouldUpdate(e) {
244
- return !0;
245
- }
246
- update(e) {
247
- this._$Eq &&= this._$Eq.forEach(((e) => this._$ET(e, this[e]))), this._$EM();
248
- }
249
- updated(e) {}
250
- firstUpdated(e) {}
251
- };
252
- x.elementStyles = [], x.shadowRootOptions = { mode: "open" }, x[_("elementProperties")] = /* @__PURE__ */ new Map(), x[_("finalized")] = /* @__PURE__ */ new Map(), g?.({ ReactiveElement: x }), (p.reactiveElementVersions ??= []).push("2.1.0");
253
- //#endregion
254
- //#region node_modules/lit-html/lit-html.js
255
- var S = globalThis, C = S.trustedTypes, w = C ? C.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, T = "$lit$", E = `lit$${Math.random().toFixed(9).slice(2)}$`, D = "?" + E, ne = `<${D}>`, O = document, k = () => O.createComment(""), A = (e) => e === null || typeof e != "object" && typeof e != "function", j = Array.isArray, re = (e) => j(e) || typeof e?.[Symbol.iterator] == "function", M = "[ \n\f\r]", N = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, P = /-->/g, F = />/g, I = RegExp(`>|${M}(?:([^\\s"'>=/]+)(${M}*=${M}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"), L = /'/g, R = /"/g, z = /^(?:script|style|textarea|title)$/i, ie = ((e) => (t, ...n) => ({
256
- _$litType$: e,
257
- strings: t,
258
- values: n
259
- }))(1), B = Symbol.for("lit-noChange"), V = Symbol.for("lit-nothing"), H = /* @__PURE__ */ new WeakMap(), U = O.createTreeWalker(O, 129);
260
- function W(e, t) {
261
- if (!j(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
262
- return w === void 0 ? t : w.createHTML(t);
263
- }
264
- var G = (e, t) => {
265
- let n = e.length - 1, r = [], i, a = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = N;
266
- for (let t = 0; t < n; t++) {
267
- let n = e[t], s, c, l = -1, u = 0;
268
- for (; u < n.length && (o.lastIndex = u, c = o.exec(n), c !== null);) u = o.lastIndex, o === N ? c[1] === "!--" ? o = P : c[1] === void 0 ? c[2] === void 0 ? c[3] !== void 0 && (o = I) : (z.test(c[2]) && (i = RegExp("</" + c[2], "g")), o = I) : o = F : o === I ? c[0] === ">" ? (o = i ?? N, l = -1) : c[1] === void 0 ? l = -2 : (l = o.lastIndex - c[2].length, s = c[1], o = c[3] === void 0 ? I : c[3] === "\"" ? R : L) : o === R || o === L ? o = I : o === P || o === F ? o = N : (o = I, i = void 0);
269
- let d = o === I && e[t + 1].startsWith("/>") ? " " : "";
270
- a += o === N ? n + ne : l >= 0 ? (r.push(s), n.slice(0, l) + T + n.slice(l) + E + d) : n + E + (l === -2 ? t : d);
271
- }
272
- return [W(e, a + (e[n] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), r];
273
- }, K = class e {
274
- constructor({ strings: t, _$litType$: n }, r) {
275
- let i;
276
- this.parts = [];
277
- let a = 0, o = 0, s = t.length - 1, c = this.parts, [l, u] = G(t, n);
278
- if (this.el = e.createElement(l, r), U.currentNode = this.el.content, n === 2 || n === 3) {
279
- let e = this.el.content.firstChild;
280
- e.replaceWith(...e.childNodes);
281
- }
282
- for (; (i = U.nextNode()) !== null && c.length < s;) {
283
- if (i.nodeType === 1) {
284
- if (i.hasAttributes()) for (let e of i.getAttributeNames()) if (e.endsWith(T)) {
285
- let t = u[o++], n = i.getAttribute(e).split(E), r = /([.?@])?(.*)/.exec(t);
286
- c.push({
287
- type: 1,
288
- index: a,
289
- name: r[2],
290
- strings: n,
291
- ctor: r[1] === "." ? Z : r[1] === "?" ? ae : r[1] === "@" ? oe : X
292
- }), i.removeAttribute(e);
293
- } else e.startsWith(E) && (c.push({
294
- type: 6,
295
- index: a
296
- }), i.removeAttribute(e));
297
- if (z.test(i.tagName)) {
298
- let e = i.textContent.split(E), t = e.length - 1;
299
- if (t > 0) {
300
- i.textContent = C ? C.emptyScript : "";
301
- for (let n = 0; n < t; n++) i.append(e[n], k()), U.nextNode(), c.push({
302
- type: 2,
303
- index: ++a
304
- });
305
- i.append(e[t], k());
306
- }
307
- }
308
- } else if (i.nodeType === 8) if (i.data === D) c.push({
309
- type: 2,
310
- index: a
311
- });
312
- else {
313
- let e = -1;
314
- for (; (e = i.data.indexOf(E, e + 1)) !== -1;) c.push({
315
- type: 7,
316
- index: a
317
- }), e += E.length - 1;
318
- }
319
- a++;
320
- }
321
- }
322
- static createElement(e, t) {
323
- let n = O.createElement("template");
324
- return n.innerHTML = e, n;
325
- }
326
- };
327
- function q(e, t, n = e, r) {
328
- if (t === B) return t;
329
- let i = r === void 0 ? n._$Cl : n._$Co?.[r], a = A(t) ? void 0 : t._$litDirective$;
330
- return i?.constructor !== a && (i?._$AO?.(!1), a === void 0 ? i = void 0 : (i = new a(e), i._$AT(e, n, r)), r === void 0 ? n._$Cl = i : (n._$Co ??= [])[r] = i), i !== void 0 && (t = q(e, i._$AS(e, t.values), i, r)), t;
331
- }
332
- var J = class {
333
- constructor(e, t) {
334
- this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
335
- }
336
- get parentNode() {
337
- return this._$AM.parentNode;
338
- }
339
- get _$AU() {
340
- return this._$AM._$AU;
341
- }
342
- u(e) {
343
- let { el: { content: t }, parts: n } = this._$AD, r = (e?.creationScope ?? O).importNode(t, !0);
344
- U.currentNode = r;
345
- let i = U.nextNode(), a = 0, o = 0, s = n[0];
346
- for (; s !== void 0;) {
347
- if (a === s.index) {
348
- let t;
349
- s.type === 2 ? t = new Y(i, i.nextSibling, this, e) : s.type === 1 ? t = new s.ctor(i, s.name, s.strings, this, e) : s.type === 6 && (t = new se(i, this, e)), this._$AV.push(t), s = n[++o];
350
- }
351
- a !== s?.index && (i = U.nextNode(), a++);
352
- }
353
- return U.currentNode = O, r;
354
- }
355
- p(e) {
356
- let t = 0;
357
- for (let n of this._$AV) n !== void 0 && (n.strings === void 0 ? n._$AI(e[t]) : (n._$AI(e, n, t), t += n.strings.length - 2)), t++;
358
- }
359
- }, Y = class e {
360
- get _$AU() {
361
- return this._$AM?._$AU ?? this._$Cv;
362
- }
363
- constructor(e, t, n, r) {
364
- this.type = 2, this._$AH = V, this._$AN = void 0, this._$AA = e, this._$AB = t, this._$AM = n, this.options = r, this._$Cv = r?.isConnected ?? !0;
365
- }
366
- get parentNode() {
367
- let e = this._$AA.parentNode, t = this._$AM;
368
- return t !== void 0 && e?.nodeType === 11 && (e = t.parentNode), e;
369
- }
370
- get startNode() {
371
- return this._$AA;
372
- }
373
- get endNode() {
374
- return this._$AB;
375
- }
376
- _$AI(e, t = this) {
377
- e = q(this, e, t), A(e) ? e === V || e == null || e === "" ? (this._$AH !== V && this._$AR(), this._$AH = V) : e !== this._$AH && e !== B && this._(e) : e._$litType$ === void 0 ? e.nodeType === void 0 ? re(e) ? this.k(e) : this._(e) : this.T(e) : this.$(e);
378
- }
379
- O(e) {
380
- return this._$AA.parentNode.insertBefore(e, this._$AB);
381
- }
382
- T(e) {
383
- this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
384
- }
385
- _(e) {
386
- this._$AH !== V && A(this._$AH) ? this._$AA.nextSibling.data = e : this.T(O.createTextNode(e)), this._$AH = e;
387
- }
388
- $(e) {
389
- let { values: t, _$litType$: n } = e, r = typeof n == "number" ? this._$AC(e) : (n.el === void 0 && (n.el = K.createElement(W(n.h, n.h[0]), this.options)), n);
390
- if (this._$AH?._$AD === r) this._$AH.p(t);
391
- else {
392
- let e = new J(r, this), n = e.u(this.options);
393
- e.p(t), this.T(n), this._$AH = e;
394
- }
395
- }
396
- _$AC(e) {
397
- let t = H.get(e.strings);
398
- return t === void 0 && H.set(e.strings, t = new K(e)), t;
399
- }
400
- k(t) {
401
- j(this._$AH) || (this._$AH = [], this._$AR());
402
- let n = this._$AH, r, i = 0;
403
- for (let a of t) i === n.length ? n.push(r = new e(this.O(k()), this.O(k()), this, this.options)) : r = n[i], r._$AI(a), i++;
404
- i < n.length && (this._$AR(r && r._$AB.nextSibling, i), n.length = i);
405
- }
406
- _$AR(e = this._$AA.nextSibling, t) {
407
- for (this._$AP?.(!1, !0, t); e && e !== this._$AB;) {
408
- let t = e.nextSibling;
409
- e.remove(), e = t;
410
- }
411
- }
412
- setConnected(e) {
413
- this._$AM === void 0 && (this._$Cv = e, this._$AP?.(e));
414
- }
415
- }, X = class {
416
- get tagName() {
417
- return this.element.tagName;
418
- }
419
- get _$AU() {
420
- return this._$AM._$AU;
421
- }
422
- constructor(e, t, n, r, i) {
423
- this.type = 1, this._$AH = V, this._$AN = void 0, this.element = e, this.name = t, this._$AM = r, this.options = i, n.length > 2 || n[0] !== "" || n[1] !== "" ? (this._$AH = Array(n.length - 1).fill(/* @__PURE__ */ new String()), this.strings = n) : this._$AH = V;
424
- }
425
- _$AI(e, t = this, n, r) {
426
- let i = this.strings, a = !1;
427
- if (i === void 0) e = q(this, e, t, 0), a = !A(e) || e !== this._$AH && e !== B, a && (this._$AH = e);
428
- else {
429
- let r = e, o, s;
430
- for (e = i[0], o = 0; o < i.length - 1; o++) s = q(this, r[n + o], t, o), s === B && (s = this._$AH[o]), a ||= !A(s) || s !== this._$AH[o], s === V ? e = V : e !== V && (e += (s ?? "") + i[o + 1]), this._$AH[o] = s;
431
- }
432
- a && !r && this.j(e);
433
- }
434
- j(e) {
435
- e === V ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
436
- }
437
- }, Z = class extends X {
438
- constructor() {
439
- super(...arguments), this.type = 3;
440
- }
441
- j(e) {
442
- this.element[this.name] = e === V ? void 0 : e;
443
- }
444
- }, ae = class extends X {
445
- constructor() {
446
- super(...arguments), this.type = 4;
447
- }
448
- j(e) {
449
- this.element.toggleAttribute(this.name, !!e && e !== V);
450
- }
451
- }, oe = class extends X {
452
- constructor(e, t, n, r, i) {
453
- super(e, t, n, r, i), this.type = 5;
454
- }
455
- _$AI(e, t = this) {
456
- if ((e = q(this, e, t, 0) ?? V) === B) return;
457
- let n = this._$AH, r = e === V && n !== V || e.capture !== n.capture || e.once !== n.once || e.passive !== n.passive, i = e !== V && (n === V || r);
458
- r && this.element.removeEventListener(this.name, this, n), i && this.element.addEventListener(this.name, this, e), this._$AH = e;
459
- }
460
- handleEvent(e) {
461
- typeof this._$AH == "function" ? this._$AH.call(this.options?.host ?? this.element, e) : this._$AH.handleEvent(e);
462
- }
463
- }, se = class {
464
- constructor(e, t, n) {
465
- this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = n;
466
- }
467
- get _$AU() {
468
- return this._$AM._$AU;
469
- }
470
- _$AI(e) {
471
- q(this, e);
472
- }
473
- }, ce = S.litHtmlPolyfillSupport;
474
- ce?.(K, Y), (S.litHtmlVersions ??= []).push("3.3.0");
475
- var le = (e, t, n) => {
476
- let r = n?.renderBefore ?? t, i = r._$litPart$;
477
- if (i === void 0) {
478
- let e = n?.renderBefore ?? null;
479
- r._$litPart$ = i = new Y(t.insertBefore(k(), e), e, void 0, n ?? {});
480
- }
481
- return i._$AI(e), i;
482
- }, Q = globalThis, $ = class extends x {
483
- constructor() {
484
- super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
485
- }
486
- createRenderRoot() {
487
- let e = super.createRenderRoot();
488
- return this.renderOptions.renderBefore ??= e.firstChild, e;
489
- }
490
- update(e) {
491
- let t = this.render();
492
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = le(t, this.renderRoot, this.renderOptions);
493
- }
494
- connectedCallback() {
495
- super.connectedCallback(), this._$Do?.setConnected(!0);
496
- }
497
- disconnectedCallback() {
498
- super.disconnectedCallback(), this._$Do?.setConnected(!1);
499
- }
500
- render() {
501
- return B;
502
- }
503
- };
504
- $._$litElement$ = !0, $.finalized = !0, Q.litElementHydrateSupport?.({ LitElement: $ });
505
- var ue = Q.litElementPolyfillSupport;
506
- ue?.({ LitElement: $ }), (Q.litElementVersions ??= []).push("4.2.0");
507
- //#endregion
508
- export { ie as n, o as r, $ as t };
@@ -1,2 +0,0 @@
1
- var e=globalThis,t=e.ShadowRoot&&(e.ShadyCSS===void 0||e.ShadyCSS.nativeShadow)&&`adoptedStyleSheets`in Document.prototype&&`replace`in CSSStyleSheet.prototype,n=Symbol(),r=new WeakMap,i=class{constructor(e,t,r){if(this._$cssResult$=!0,r!==n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,n=this.t;if(t&&e===void 0){let t=n!==void 0&&n.length===1;t&&(e=r.get(n)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),t&&r.set(n,e))}return e}toString(){return this.cssText}},a=e=>new i(typeof e==`string`?e:e+``,void 0,n),o=(e,...t)=>new i(e.length===1?e[0]:t.reduce(((t,n,r)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if(typeof e==`number`)return e;throw Error(`Value passed to 'css' function must be a 'css' function result: `+e+`. Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.`)})(n)+e[r+1]),e[0]),e,n),s=(n,r)=>{if(t)n.adoptedStyleSheets=r.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet));else for(let t of r){let r=document.createElement(`style`),i=e.litNonce;i!==void 0&&r.setAttribute(`nonce`,i),r.textContent=t.cssText,n.appendChild(r)}},c=t?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t=``;for(let n of e.cssRules)t+=n.cssText;return a(t)})(e):e,{is:l,defineProperty:u,getOwnPropertyDescriptor:d,getOwnPropertyNames:ee,getOwnPropertySymbols:te,getPrototypeOf:f}=Object,p=globalThis,m=p.trustedTypes,h=m?m.emptyScript:``,g=p.reactiveElementPolyfillSupport,_=(e,t)=>e,v={toAttribute(e,t){switch(t){case Boolean:e=e?h:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let n=e;switch(t){case Boolean:n=e!==null;break;case Number:n=e===null?null:Number(e);break;case Object:case Array:try{n=JSON.parse(e)}catch{n=null}}return n}},y=(e,t)=>!l(e,t),b={attribute:!0,type:String,converter:v,reflect:!1,useDefault:!1,hasChanged:y};Symbol.metadata??=Symbol(`metadata`),p.litPropertyMetadata??=new WeakMap;var x=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=b){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){let n=Symbol(),r=this.getPropertyDescriptor(e,n,t);r!==void 0&&u(this.prototype,e,r)}}static getPropertyDescriptor(e,t,n){let{get:r,set:i}=d(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};return{get:r,set(t){let a=r?.call(this);i?.call(this,t),this.requestUpdate(e,a,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??b}static _$Ei(){if(this.hasOwnProperty(_(`elementProperties`)))return;let e=f(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(_(`finalized`)))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(_(`properties`))){let e=this.properties,t=[...ee(e),...te(e)];for(let n of t)this.createProperty(n,e[n])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[e,n]of t)this.elementProperties.set(e,n)}this._$Eh=new Map;for(let[e,t]of this.elementProperties){let n=this._$Eu(e,t);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let e of n)t.unshift(c(e))}else e!==void 0&&t.push(c(e));return t}static _$Eu(e,t){let n=t.attribute;return!1===n?void 0:typeof n==`string`?n:typeof e==`string`?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((e=>e(this)))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,t=this.constructor.elementProperties;for(let n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return s(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((e=>e.hostConnected?.()))}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach((e=>e.hostDisconnected?.()))}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$ET(e,t){let n=this.constructor.elementProperties.get(e),r=this.constructor._$Eu(e,n);if(r!==void 0&&!0===n.reflect){let i=(n.converter?.toAttribute===void 0?v:n.converter).toAttribute(t,n.type);this._$Em=e,i==null?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(e,t){let n=this.constructor,r=n._$Eh.get(e);if(r!==void 0&&this._$Em!==r){let e=n.getPropertyOptions(r),i=typeof e.converter==`function`?{fromAttribute:e.converter}:e.converter?.fromAttribute===void 0?v:e.converter;this._$Em=r,this[r]=i.fromAttribute(t,e.type)??this._$Ej?.get(r)??null,this._$Em=null}}requestUpdate(e,t,n){if(e!==void 0){let r=this.constructor,i=this[e];if(n??=r.getPropertyOptions(e),!((n.hasChanged??y)(i,t)||n.useDefault&&n.reflect&&i===this._$Ej?.get(e)&&!this.hasAttribute(r._$Eu(e,n))))return;this.C(e,t,n)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(e,t,{useDefault:n,reflect:r,wrapped:i},a){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,a??t??this[e]),!0!==i||a!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(t=void 0),this._$AL.set(e,t)),!0===r&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[e,t]of this._$Ep)this[e]=t;this._$Ep=void 0}let e=this.constructor.elementProperties;if(e.size>0)for(let[t,n]of e){let{wrapped:e}=n,r=this[t];!0!==e||this._$AL.has(t)||r===void 0||this.C(t,void 0,n,r)}}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach((e=>e.hostUpdate?.())),this.update(t)):this._$EM()}catch(t){throw e=!1,this._$EM(),t}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach((e=>e.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach((e=>this._$ET(e,this[e]))),this._$EM()}updated(e){}firstUpdated(e){}};x.elementStyles=[],x.shadowRootOptions={mode:`open`},x[_(`elementProperties`)]=new Map,x[_(`finalized`)]=new Map,g?.({ReactiveElement:x}),(p.reactiveElementVersions??=[]).push(`2.1.0`);var S=globalThis,C=S.trustedTypes,w=C?C.createPolicy(`lit-html`,{createHTML:e=>e}):void 0,T=`$lit$`,E=`lit$${Math.random().toFixed(9).slice(2)}$`,D=`?`+E,ne=`<${D}>`,O=document,k=()=>O.createComment(``),A=e=>e===null||typeof e!=`object`&&typeof e!=`function`,j=Array.isArray,re=e=>j(e)||typeof e?.[Symbol.iterator]==`function`,M=`[
2
- \f\r]`,N=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,P=/-->/g,F=/>/g,I=RegExp(`>|${M}(?:([^\\s"'>=/]+)(${M}*=${M}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,`g`),L=/'/g,R=/"/g,z=/^(?:script|style|textarea|title)$/i,ie=(e=>(t,...n)=>({_$litType$:e,strings:t,values:n}))(1),B=Symbol.for(`lit-noChange`),V=Symbol.for(`lit-nothing`),H=new WeakMap,U=O.createTreeWalker(O,129);function W(e,t){if(!j(e)||!e.hasOwnProperty(`raw`))throw Error(`invalid template strings array`);return w===void 0?t:w.createHTML(t)}var G=(e,t)=>{let n=e.length-1,r=[],i,a=t===2?`<svg>`:t===3?`<math>`:``,o=N;for(let t=0;t<n;t++){let n=e[t],s,c,l=-1,u=0;for(;u<n.length&&(o.lastIndex=u,c=o.exec(n),c!==null);)u=o.lastIndex,o===N?c[1]===`!--`?o=P:c[1]===void 0?c[2]===void 0?c[3]!==void 0&&(o=I):(z.test(c[2])&&(i=RegExp(`</`+c[2],`g`)),o=I):o=F:o===I?c[0]===`>`?(o=i??N,l=-1):c[1]===void 0?l=-2:(l=o.lastIndex-c[2].length,s=c[1],o=c[3]===void 0?I:c[3]===`"`?R:L):o===R||o===L?o=I:o===P||o===F?o=N:(o=I,i=void 0);let d=o===I&&e[t+1].startsWith(`/>`)?` `:``;a+=o===N?n+ne:l>=0?(r.push(s),n.slice(0,l)+T+n.slice(l)+E+d):n+E+(l===-2?t:d)}return[W(e,a+(e[n]||`<?>`)+(t===2?`</svg>`:t===3?`</math>`:``)),r]},K=class e{constructor({strings:t,_$litType$:n},r){let i;this.parts=[];let a=0,o=0,s=t.length-1,c=this.parts,[l,u]=G(t,n);if(this.el=e.createElement(l,r),U.currentNode=this.el.content,n===2||n===3){let e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;(i=U.nextNode())!==null&&c.length<s;){if(i.nodeType===1){if(i.hasAttributes())for(let e of i.getAttributeNames())if(e.endsWith(T)){let t=u[o++],n=i.getAttribute(e).split(E),r=/([.?@])?(.*)/.exec(t);c.push({type:1,index:a,name:r[2],strings:n,ctor:r[1]===`.`?Z:r[1]===`?`?ae:r[1]===`@`?oe:X}),i.removeAttribute(e)}else e.startsWith(E)&&(c.push({type:6,index:a}),i.removeAttribute(e));if(z.test(i.tagName)){let e=i.textContent.split(E),t=e.length-1;if(t>0){i.textContent=C?C.emptyScript:``;for(let n=0;n<t;n++)i.append(e[n],k()),U.nextNode(),c.push({type:2,index:++a});i.append(e[t],k())}}}else if(i.nodeType===8)if(i.data===D)c.push({type:2,index:a});else{let e=-1;for(;(e=i.data.indexOf(E,e+1))!==-1;)c.push({type:7,index:a}),e+=E.length-1}a++}}static createElement(e,t){let n=O.createElement(`template`);return n.innerHTML=e,n}};function q(e,t,n=e,r){if(t===B)return t;let i=r===void 0?n._$Cl:n._$Co?.[r],a=A(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,n,r)),r===void 0?n._$Cl=i:(n._$Co??=[])[r]=i),i!==void 0&&(t=q(e,i._$AS(e,t.values),i,r)),t}var J=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:n}=this._$AD,r=(e?.creationScope??O).importNode(t,!0);U.currentNode=r;let i=U.nextNode(),a=0,o=0,s=n[0];for(;s!==void 0;){if(a===s.index){let t;s.type===2?t=new Y(i,i.nextSibling,this,e):s.type===1?t=new s.ctor(i,s.name,s.strings,this,e):s.type===6&&(t=new se(i,this,e)),this._$AV.push(t),s=n[++o]}a!==s?.index&&(i=U.nextNode(),a++)}return U.currentNode=O,r}p(e){let t=0;for(let n of this._$AV)n!==void 0&&(n.strings===void 0?n._$AI(e[t]):(n._$AI(e,n,t),t+=n.strings.length-2)),t++}},Y=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,n,r){this.type=2,this._$AH=V,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=q(this,e,t),A(e)?e===V||e==null||e===``?(this._$AH!==V&&this._$AR(),this._$AH=V):e!==this._$AH&&e!==B&&this._(e):e._$litType$===void 0?e.nodeType===void 0?re(e)?this.k(e):this._(e):this.T(e):this.$(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==V&&A(this._$AH)?this._$AA.nextSibling.data=e:this.T(O.createTextNode(e)),this._$AH=e}$(e){let{values:t,_$litType$:n}=e,r=typeof n==`number`?this._$AC(e):(n.el===void 0&&(n.el=K.createElement(W(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===r)this._$AH.p(t);else{let e=new J(r,this),n=e.u(this.options);e.p(t),this.T(n),this._$AH=e}}_$AC(e){let t=H.get(e.strings);return t===void 0&&H.set(e.strings,t=new K(e)),t}k(t){j(this._$AH)||(this._$AH=[],this._$AR());let n=this._$AH,r,i=0;for(let a of t)i===n.length?n.push(r=new e(this.O(k()),this.O(k()),this,this.options)):r=n[i],r._$AI(a),i++;i<n.length&&(this._$AR(r&&r._$AB.nextSibling,i),n.length=i)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let t=e.nextSibling;e.remove(),e=t}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},X=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,r,i){this.type=1,this._$AH=V,this._$AN=void 0,this.element=e,this.name=t,this._$AM=r,this.options=i,n.length>2||n[0]!==``||n[1]!==``?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=V}_$AI(e,t=this,n,r){let i=this.strings,a=!1;if(i===void 0)e=q(this,e,t,0),a=!A(e)||e!==this._$AH&&e!==B,a&&(this._$AH=e);else{let r=e,o,s;for(e=i[0],o=0;o<i.length-1;o++)s=q(this,r[n+o],t,o),s===B&&(s=this._$AH[o]),a||=!A(s)||s!==this._$AH[o],s===V?e=V:e!==V&&(e+=(s??``)+i[o+1]),this._$AH[o]=s}a&&!r&&this.j(e)}j(e){e===V?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??``)}},Z=class extends X{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===V?void 0:e}},ae=class extends X{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==V)}},oe=class extends X{constructor(e,t,n,r,i){super(e,t,n,r,i),this.type=5}_$AI(e,t=this){if((e=q(this,e,t,0)??V)===B)return;let n=this._$AH,r=e===V&&n!==V||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==V&&(n===V||r);r&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH==`function`?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},se=class{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){q(this,e)}},ce=S.litHtmlPolyfillSupport;ce?.(K,Y),(S.litHtmlVersions??=[]).push(`3.3.0`);var le=(e,t,n)=>{let r=n?.renderBefore??t,i=r._$litPart$;if(i===void 0){let e=n?.renderBefore??null;r._$litPart$=i=new Y(t.insertBefore(k(),e),e,void 0,n??{})}return i._$AI(e),i},Q=globalThis,$=class extends x{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=le(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return B}};$._$litElement$=!0,$.finalized=!0,Q.litElementHydrateSupport?.({LitElement:$});var ue=Q.litElementPolyfillSupport;ue?.({LitElement:$}),(Q.litElementVersions??=[]).push(`4.2.0`),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return ie}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return $}});