-
Notifications
You must be signed in to change notification settings - Fork 1
/
core-out.js
9518 lines (9154 loc) · 315 KB
/
core-out.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
(() => {
// node_modules/@lit/reactive-element/css-tag.js
var t = window;
var e = t.ShadowRoot && (void 0 === t.ShadyCSS || t.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype;
var s = Symbol();
var n = /* @__PURE__ */ new WeakMap();
var o = class {
constructor(t7, e15, n13) {
if (this._$cssResult$ = true, n13 !== s)
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
this.cssText = t7, this.t = e15;
}
get styleSheet() {
let t7 = this.o;
const s10 = this.t;
if (e && void 0 === t7) {
const e15 = void 0 !== s10 && 1 === s10.length;
e15 && (t7 = n.get(s10)), void 0 === t7 && ((this.o = t7 = new CSSStyleSheet()).replaceSync(this.cssText), e15 && n.set(s10, t7));
}
return t7;
}
toString() {
return this.cssText;
}
};
var r = (t7) => new o("string" == typeof t7 ? t7 : t7 + "", void 0, s);
var i = (t7, ...e15) => {
const n13 = 1 === t7.length ? t7[0] : e15.reduce((e16, s10, n14) => e16 + ((t8) => {
if (true === t8._$cssResult$)
return t8.cssText;
if ("number" == typeof t8)
return t8;
throw Error("Value passed to 'css' function must be a 'css' function result: " + t8 + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
})(s10) + t7[n14 + 1], t7[0]);
return new o(n13, t7, s);
};
var S = (s10, n13) => {
e ? s10.adoptedStyleSheets = n13.map((t7) => t7 instanceof CSSStyleSheet ? t7 : t7.styleSheet) : n13.forEach((e15) => {
const n14 = document.createElement("style"), o15 = t.litNonce;
void 0 !== o15 && n14.setAttribute("nonce", o15), n14.textContent = e15.cssText, s10.appendChild(n14);
});
};
var c = e ? (t7) => t7 : (t7) => t7 instanceof CSSStyleSheet ? ((t8) => {
let e15 = "";
for (const s10 of t8.cssRules)
e15 += s10.cssText;
return r(e15);
})(t7) : t7;
// node_modules/@lit/reactive-element/reactive-element.js
var s2;
var e2 = window;
var r2 = e2.trustedTypes;
var h = r2 ? r2.emptyScript : "";
var o2 = e2.reactiveElementPolyfillSupport;
var n2 = { toAttribute(t7, i10) {
switch (i10) {
case Boolean:
t7 = t7 ? h : null;
break;
case Object:
case Array:
t7 = null == t7 ? t7 : JSON.stringify(t7);
}
return t7;
}, fromAttribute(t7, i10) {
let s10 = t7;
switch (i10) {
case Boolean:
s10 = null !== t7;
break;
case Number:
s10 = null === t7 ? null : Number(t7);
break;
case Object:
case Array:
try {
s10 = JSON.parse(t7);
} catch (t8) {
s10 = null;
}
}
return s10;
} };
var a = (t7, i10) => i10 !== t7 && (i10 == i10 || t7 == t7);
var l = { attribute: true, type: String, converter: n2, reflect: false, hasChanged: a };
var d = "finalized";
var u = class extends HTMLElement {
constructor() {
super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = false, this.hasUpdated = false, this._$El = null, this._$Eu();
}
static addInitializer(t7) {
var i10;
this.finalize(), (null !== (i10 = this.h) && void 0 !== i10 ? i10 : this.h = []).push(t7);
}
static get observedAttributes() {
this.finalize();
const t7 = [];
return this.elementProperties.forEach((i10, s10) => {
const e15 = this._$Ep(s10, i10);
void 0 !== e15 && (this._$Ev.set(e15, s10), t7.push(e15));
}), t7;
}
static createProperty(t7, i10 = l) {
if (i10.state && (i10.attribute = false), this.finalize(), this.elementProperties.set(t7, i10), !i10.noAccessor && !this.prototype.hasOwnProperty(t7)) {
const s10 = "symbol" == typeof t7 ? Symbol() : "__" + t7, e15 = this.getPropertyDescriptor(t7, s10, i10);
void 0 !== e15 && Object.defineProperty(this.prototype, t7, e15);
}
}
static getPropertyDescriptor(t7, i10, s10) {
return { get() {
return this[i10];
}, set(e15) {
const r8 = this[t7];
this[i10] = e15, this.requestUpdate(t7, r8, s10);
}, configurable: true, enumerable: true };
}
static getPropertyOptions(t7) {
return this.elementProperties.get(t7) || l;
}
static finalize() {
if (this.hasOwnProperty(d))
return false;
this[d] = true;
const t7 = Object.getPrototypeOf(this);
if (t7.finalize(), void 0 !== t7.h && (this.h = [...t7.h]), this.elementProperties = new Map(t7.elementProperties), this._$Ev = /* @__PURE__ */ new Map(), this.hasOwnProperty("properties")) {
const t8 = this.properties, i10 = [...Object.getOwnPropertyNames(t8), ...Object.getOwnPropertySymbols(t8)];
for (const s10 of i10)
this.createProperty(s10, t8[s10]);
}
return this.elementStyles = this.finalizeStyles(this.styles), true;
}
static finalizeStyles(i10) {
const s10 = [];
if (Array.isArray(i10)) {
const e15 = new Set(i10.flat(1 / 0).reverse());
for (const i11 of e15)
s10.unshift(c(i11));
} else
void 0 !== i10 && s10.push(c(i10));
return s10;
}
static _$Ep(t7, i10) {
const s10 = i10.attribute;
return false === s10 ? void 0 : "string" == typeof s10 ? s10 : "string" == typeof t7 ? t7.toLowerCase() : void 0;
}
_$Eu() {
var t7;
this._$E_ = new Promise((t8) => this.enableUpdating = t8), this._$AL = /* @__PURE__ */ new Map(), this._$Eg(), this.requestUpdate(), null === (t7 = this.constructor.h) || void 0 === t7 || t7.forEach((t8) => t8(this));
}
addController(t7) {
var i10, s10;
(null !== (i10 = this._$ES) && void 0 !== i10 ? i10 : this._$ES = []).push(t7), void 0 !== this.renderRoot && this.isConnected && (null === (s10 = t7.hostConnected) || void 0 === s10 || s10.call(t7));
}
removeController(t7) {
var i10;
null === (i10 = this._$ES) || void 0 === i10 || i10.splice(this._$ES.indexOf(t7) >>> 0, 1);
}
_$Eg() {
this.constructor.elementProperties.forEach((t7, i10) => {
this.hasOwnProperty(i10) && (this._$Ei.set(i10, this[i10]), delete this[i10]);
});
}
createRenderRoot() {
var t7;
const s10 = null !== (t7 = this.shadowRoot) && void 0 !== t7 ? t7 : this.attachShadow(this.constructor.shadowRootOptions);
return S(s10, this.constructor.elementStyles), s10;
}
connectedCallback() {
var t7;
void 0 === this.renderRoot && (this.renderRoot = this.createRenderRoot()), this.enableUpdating(true), null === (t7 = this._$ES) || void 0 === t7 || t7.forEach((t8) => {
var i10;
return null === (i10 = t8.hostConnected) || void 0 === i10 ? void 0 : i10.call(t8);
});
}
enableUpdating(t7) {
}
disconnectedCallback() {
var t7;
null === (t7 = this._$ES) || void 0 === t7 || t7.forEach((t8) => {
var i10;
return null === (i10 = t8.hostDisconnected) || void 0 === i10 ? void 0 : i10.call(t8);
});
}
attributeChangedCallback(t7, i10, s10) {
this._$AK(t7, s10);
}
_$EO(t7, i10, s10 = l) {
var e15;
const r8 = this.constructor._$Ep(t7, s10);
if (void 0 !== r8 && true === s10.reflect) {
const h8 = (void 0 !== (null === (e15 = s10.converter) || void 0 === e15 ? void 0 : e15.toAttribute) ? s10.converter : n2).toAttribute(i10, s10.type);
this._$El = t7, null == h8 ? this.removeAttribute(r8) : this.setAttribute(r8, h8), this._$El = null;
}
}
_$AK(t7, i10) {
var s10;
const e15 = this.constructor, r8 = e15._$Ev.get(t7);
if (void 0 !== r8 && this._$El !== r8) {
const t8 = e15.getPropertyOptions(r8), h8 = "function" == typeof t8.converter ? { fromAttribute: t8.converter } : void 0 !== (null === (s10 = t8.converter) || void 0 === s10 ? void 0 : s10.fromAttribute) ? t8.converter : n2;
this._$El = r8, this[r8] = h8.fromAttribute(i10, t8.type), this._$El = null;
}
}
requestUpdate(t7, i10, s10) {
let e15 = true;
void 0 !== t7 && (((s10 = s10 || this.constructor.getPropertyOptions(t7)).hasChanged || a)(this[t7], i10) ? (this._$AL.has(t7) || this._$AL.set(t7, i10), true === s10.reflect && this._$El !== t7 && (void 0 === this._$EC && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(t7, s10))) : e15 = false), !this.isUpdatePending && e15 && (this._$E_ = this._$Ej());
}
async _$Ej() {
this.isUpdatePending = true;
try {
await this._$E_;
} catch (t8) {
Promise.reject(t8);
}
const t7 = this.scheduleUpdate();
return null != t7 && await t7, !this.isUpdatePending;
}
scheduleUpdate() {
return this.performUpdate();
}
performUpdate() {
var t7;
if (!this.isUpdatePending)
return;
this.hasUpdated, this._$Ei && (this._$Ei.forEach((t8, i11) => this[i11] = t8), this._$Ei = void 0);
let i10 = false;
const s10 = this._$AL;
try {
i10 = this.shouldUpdate(s10), i10 ? (this.willUpdate(s10), null === (t7 = this._$ES) || void 0 === t7 || t7.forEach((t8) => {
var i11;
return null === (i11 = t8.hostUpdate) || void 0 === i11 ? void 0 : i11.call(t8);
}), this.update(s10)) : this._$Ek();
} catch (t8) {
throw i10 = false, this._$Ek(), t8;
}
i10 && this._$AE(s10);
}
willUpdate(t7) {
}
_$AE(t7) {
var i10;
null === (i10 = this._$ES) || void 0 === i10 || i10.forEach((t8) => {
var i11;
return null === (i11 = t8.hostUpdated) || void 0 === i11 ? void 0 : i11.call(t8);
}), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t7)), this.updated(t7);
}
_$Ek() {
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = false;
}
get updateComplete() {
return this.getUpdateComplete();
}
getUpdateComplete() {
return this._$E_;
}
shouldUpdate(t7) {
return true;
}
update(t7) {
void 0 !== this._$EC && (this._$EC.forEach((t8, i10) => this._$EO(i10, this[i10], t8)), this._$EC = void 0), this._$Ek();
}
updated(t7) {
}
firstUpdated(t7) {
}
};
u[d] = true, u.elementProperties = /* @__PURE__ */ new Map(), u.elementStyles = [], u.shadowRootOptions = { mode: "open" }, null == o2 || o2({ ReactiveElement: u }), (null !== (s2 = e2.reactiveElementVersions) && void 0 !== s2 ? s2 : e2.reactiveElementVersions = []).push("1.6.3");
// node_modules/lit/node_modules/lit-html/lit-html.js
var t2;
var i2 = window;
var s3 = i2.trustedTypes;
var e3 = s3 ? s3.createPolicy("lit-html", { createHTML: (t7) => t7 }) : void 0;
var o3 = "$lit$";
var n3 = `lit$${(Math.random() + "").slice(9)}$`;
var l2 = "?" + n3;
var h2 = `<${l2}>`;
var r3 = document;
var u2 = () => r3.createComment("");
var d2 = (t7) => null === t7 || "object" != typeof t7 && "function" != typeof t7;
var c2 = Array.isArray;
var v = (t7) => c2(t7) || "function" == typeof (null == t7 ? void 0 : t7[Symbol.iterator]);
var a2 = "[ \n\f\r]";
var f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g;
var _ = /-->/g;
var m = />/g;
var p = RegExp(`>|${a2}(?:([^\\s"'>=/]+)(${a2}*=${a2}*(?:[^
\f\r"'\`<>=]|("|')|))|$)`, "g");
var g = /'/g;
var $ = /"/g;
var y = /^(?:script|style|textarea|title)$/i;
var w = (t7) => (i10, ...s10) => ({ _$litType$: t7, strings: i10, values: s10 });
var x = w(1);
var b = w(2);
var T = Symbol.for("lit-noChange");
var A = Symbol.for("lit-nothing");
var E = /* @__PURE__ */ new WeakMap();
var C = r3.createTreeWalker(r3, 129, null, false);
function P(t7, i10) {
if (!Array.isArray(t7) || !t7.hasOwnProperty("raw"))
throw Error("invalid template strings array");
return void 0 !== e3 ? e3.createHTML(i10) : i10;
}
var V = (t7, i10) => {
const s10 = t7.length - 1, e15 = [];
let l10, r8 = 2 === i10 ? "<svg>" : "", u6 = f;
for (let i11 = 0; i11 < s10; i11++) {
const s11 = t7[i11];
let d5, c9, v4 = -1, a6 = 0;
for (; a6 < s11.length && (u6.lastIndex = a6, c9 = u6.exec(s11), null !== c9); )
a6 = u6.lastIndex, u6 === f ? "!--" === c9[1] ? u6 = _ : void 0 !== c9[1] ? u6 = m : void 0 !== c9[2] ? (y.test(c9[2]) && (l10 = RegExp("</" + c9[2], "g")), u6 = p) : void 0 !== c9[3] && (u6 = p) : u6 === p ? ">" === c9[0] ? (u6 = null != l10 ? l10 : f, v4 = -1) : void 0 === c9[1] ? v4 = -2 : (v4 = u6.lastIndex - c9[2].length, d5 = c9[1], u6 = void 0 === c9[3] ? p : '"' === c9[3] ? $ : g) : u6 === $ || u6 === g ? u6 = p : u6 === _ || u6 === m ? u6 = f : (u6 = p, l10 = void 0);
const w4 = u6 === p && t7[i11 + 1].startsWith("/>") ? " " : "";
r8 += u6 === f ? s11 + h2 : v4 >= 0 ? (e15.push(d5), s11.slice(0, v4) + o3 + s11.slice(v4) + n3 + w4) : s11 + n3 + (-2 === v4 ? (e15.push(void 0), i11) : w4);
}
return [P(t7, r8 + (t7[s10] || "<?>") + (2 === i10 ? "</svg>" : "")), e15];
};
var N = class {
constructor({ strings: t7, _$litType$: i10 }, e15) {
let h8;
this.parts = [];
let r8 = 0, d5 = 0;
const c9 = t7.length - 1, v4 = this.parts, [a6, f5] = V(t7, i10);
if (this.el = N.createElement(a6, e15), C.currentNode = this.el.content, 2 === i10) {
const t8 = this.el.content, i11 = t8.firstChild;
i11.remove(), t8.append(...i11.childNodes);
}
for (; null !== (h8 = C.nextNode()) && v4.length < c9; ) {
if (1 === h8.nodeType) {
if (h8.hasAttributes()) {
const t8 = [];
for (const i11 of h8.getAttributeNames())
if (i11.endsWith(o3) || i11.startsWith(n3)) {
const s10 = f5[d5++];
if (t8.push(i11), void 0 !== s10) {
const t9 = h8.getAttribute(s10.toLowerCase() + o3).split(n3), i12 = /([.?@])?(.*)/.exec(s10);
v4.push({ type: 1, index: r8, name: i12[2], strings: t9, ctor: "." === i12[1] ? H : "?" === i12[1] ? L : "@" === i12[1] ? z : k });
} else
v4.push({ type: 6, index: r8 });
}
for (const i11 of t8)
h8.removeAttribute(i11);
}
if (y.test(h8.tagName)) {
const t8 = h8.textContent.split(n3), i11 = t8.length - 1;
if (i11 > 0) {
h8.textContent = s3 ? s3.emptyScript : "";
for (let s10 = 0; s10 < i11; s10++)
h8.append(t8[s10], u2()), C.nextNode(), v4.push({ type: 2, index: ++r8 });
h8.append(t8[i11], u2());
}
}
} else if (8 === h8.nodeType)
if (h8.data === l2)
v4.push({ type: 2, index: r8 });
else {
let t8 = -1;
for (; -1 !== (t8 = h8.data.indexOf(n3, t8 + 1)); )
v4.push({ type: 7, index: r8 }), t8 += n3.length - 1;
}
r8++;
}
}
static createElement(t7, i10) {
const s10 = r3.createElement("template");
return s10.innerHTML = t7, s10;
}
};
function S2(t7, i10, s10 = t7, e15) {
var o15, n13, l10, h8;
if (i10 === T)
return i10;
let r8 = void 0 !== e15 ? null === (o15 = s10._$Co) || void 0 === o15 ? void 0 : o15[e15] : s10._$Cl;
const u6 = d2(i10) ? void 0 : i10._$litDirective$;
return (null == r8 ? void 0 : r8.constructor) !== u6 && (null === (n13 = null == r8 ? void 0 : r8._$AO) || void 0 === n13 || n13.call(r8, false), void 0 === u6 ? r8 = void 0 : (r8 = new u6(t7), r8._$AT(t7, s10, e15)), void 0 !== e15 ? (null !== (l10 = (h8 = s10)._$Co) && void 0 !== l10 ? l10 : h8._$Co = [])[e15] = r8 : s10._$Cl = r8), void 0 !== r8 && (i10 = S2(t7, r8._$AS(t7, i10.values), r8, e15)), i10;
}
var M = class {
constructor(t7, i10) {
this._$AV = [], this._$AN = void 0, this._$AD = t7, this._$AM = i10;
}
get parentNode() {
return this._$AM.parentNode;
}
get _$AU() {
return this._$AM._$AU;
}
u(t7) {
var i10;
const { el: { content: s10 }, parts: e15 } = this._$AD, o15 = (null !== (i10 = null == t7 ? void 0 : t7.creationScope) && void 0 !== i10 ? i10 : r3).importNode(s10, true);
C.currentNode = o15;
let n13 = C.nextNode(), l10 = 0, h8 = 0, u6 = e15[0];
for (; void 0 !== u6; ) {
if (l10 === u6.index) {
let i11;
2 === u6.type ? i11 = new R(n13, n13.nextSibling, this, t7) : 1 === u6.type ? i11 = new u6.ctor(n13, u6.name, u6.strings, this, t7) : 6 === u6.type && (i11 = new Z(n13, this, t7)), this._$AV.push(i11), u6 = e15[++h8];
}
l10 !== (null == u6 ? void 0 : u6.index) && (n13 = C.nextNode(), l10++);
}
return C.currentNode = r3, o15;
}
v(t7) {
let i10 = 0;
for (const s10 of this._$AV)
void 0 !== s10 && (void 0 !== s10.strings ? (s10._$AI(t7, s10, i10), i10 += s10.strings.length - 2) : s10._$AI(t7[i10])), i10++;
}
};
var R = class {
constructor(t7, i10, s10, e15) {
var o15;
this.type = 2, this._$AH = A, this._$AN = void 0, this._$AA = t7, this._$AB = i10, this._$AM = s10, this.options = e15, this._$Cp = null === (o15 = null == e15 ? void 0 : e15.isConnected) || void 0 === o15 || o15;
}
get _$AU() {
var t7, i10;
return null !== (i10 = null === (t7 = this._$AM) || void 0 === t7 ? void 0 : t7._$AU) && void 0 !== i10 ? i10 : this._$Cp;
}
get parentNode() {
let t7 = this._$AA.parentNode;
const i10 = this._$AM;
return void 0 !== i10 && 11 === (null == t7 ? void 0 : t7.nodeType) && (t7 = i10.parentNode), t7;
}
get startNode() {
return this._$AA;
}
get endNode() {
return this._$AB;
}
_$AI(t7, i10 = this) {
t7 = S2(this, t7, i10), d2(t7) ? t7 === A || null == t7 || "" === t7 ? (this._$AH !== A && this._$AR(), this._$AH = A) : t7 !== this._$AH && t7 !== T && this._(t7) : void 0 !== t7._$litType$ ? this.g(t7) : void 0 !== t7.nodeType ? this.$(t7) : v(t7) ? this.T(t7) : this._(t7);
}
k(t7) {
return this._$AA.parentNode.insertBefore(t7, this._$AB);
}
$(t7) {
this._$AH !== t7 && (this._$AR(), this._$AH = this.k(t7));
}
_(t7) {
this._$AH !== A && d2(this._$AH) ? this._$AA.nextSibling.data = t7 : this.$(r3.createTextNode(t7)), this._$AH = t7;
}
g(t7) {
var i10;
const { values: s10, _$litType$: e15 } = t7, o15 = "number" == typeof e15 ? this._$AC(t7) : (void 0 === e15.el && (e15.el = N.createElement(P(e15.h, e15.h[0]), this.options)), e15);
if ((null === (i10 = this._$AH) || void 0 === i10 ? void 0 : i10._$AD) === o15)
this._$AH.v(s10);
else {
const t8 = new M(o15, this), i11 = t8.u(this.options);
t8.v(s10), this.$(i11), this._$AH = t8;
}
}
_$AC(t7) {
let i10 = E.get(t7.strings);
return void 0 === i10 && E.set(t7.strings, i10 = new N(t7)), i10;
}
T(t7) {
c2(this._$AH) || (this._$AH = [], this._$AR());
const i10 = this._$AH;
let s10, e15 = 0;
for (const o15 of t7)
e15 === i10.length ? i10.push(s10 = new R(this.k(u2()), this.k(u2()), this, this.options)) : s10 = i10[e15], s10._$AI(o15), e15++;
e15 < i10.length && (this._$AR(s10 && s10._$AB.nextSibling, e15), i10.length = e15);
}
_$AR(t7 = this._$AA.nextSibling, i10) {
var s10;
for (null === (s10 = this._$AP) || void 0 === s10 || s10.call(this, false, true, i10); t7 && t7 !== this._$AB; ) {
const i11 = t7.nextSibling;
t7.remove(), t7 = i11;
}
}
setConnected(t7) {
var i10;
void 0 === this._$AM && (this._$Cp = t7, null === (i10 = this._$AP) || void 0 === i10 || i10.call(this, t7));
}
};
var k = class {
constructor(t7, i10, s10, e15, o15) {
this.type = 1, this._$AH = A, this._$AN = void 0, this.element = t7, this.name = i10, this._$AM = e15, this.options = o15, s10.length > 2 || "" !== s10[0] || "" !== s10[1] ? (this._$AH = Array(s10.length - 1).fill(new String()), this.strings = s10) : this._$AH = A;
}
get tagName() {
return this.element.tagName;
}
get _$AU() {
return this._$AM._$AU;
}
_$AI(t7, i10 = this, s10, e15) {
const o15 = this.strings;
let n13 = false;
if (void 0 === o15)
t7 = S2(this, t7, i10, 0), n13 = !d2(t7) || t7 !== this._$AH && t7 !== T, n13 && (this._$AH = t7);
else {
const e16 = t7;
let l10, h8;
for (t7 = o15[0], l10 = 0; l10 < o15.length - 1; l10++)
h8 = S2(this, e16[s10 + l10], i10, l10), h8 === T && (h8 = this._$AH[l10]), n13 || (n13 = !d2(h8) || h8 !== this._$AH[l10]), h8 === A ? t7 = A : t7 !== A && (t7 += (null != h8 ? h8 : "") + o15[l10 + 1]), this._$AH[l10] = h8;
}
n13 && !e15 && this.j(t7);
}
j(t7) {
t7 === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t7 ? t7 : "");
}
};
var H = class extends k {
constructor() {
super(...arguments), this.type = 3;
}
j(t7) {
this.element[this.name] = t7 === A ? void 0 : t7;
}
};
var I = s3 ? s3.emptyScript : "";
var L = class extends k {
constructor() {
super(...arguments), this.type = 4;
}
j(t7) {
t7 && t7 !== A ? this.element.setAttribute(this.name, I) : this.element.removeAttribute(this.name);
}
};
var z = class extends k {
constructor(t7, i10, s10, e15, o15) {
super(t7, i10, s10, e15, o15), this.type = 5;
}
_$AI(t7, i10 = this) {
var s10;
if ((t7 = null !== (s10 = S2(this, t7, i10, 0)) && void 0 !== s10 ? s10 : A) === T)
return;
const e15 = this._$AH, o15 = t7 === A && e15 !== A || t7.capture !== e15.capture || t7.once !== e15.once || t7.passive !== e15.passive, n13 = t7 !== A && (e15 === A || o15);
o15 && this.element.removeEventListener(this.name, this, e15), n13 && this.element.addEventListener(this.name, this, t7), this._$AH = t7;
}
handleEvent(t7) {
var i10, s10;
"function" == typeof this._$AH ? this._$AH.call(null !== (s10 = null === (i10 = this.options) || void 0 === i10 ? void 0 : i10.host) && void 0 !== s10 ? s10 : this.element, t7) : this._$AH.handleEvent(t7);
}
};
var Z = class {
constructor(t7, i10, s10) {
this.element = t7, this.type = 6, this._$AN = void 0, this._$AM = i10, this.options = s10;
}
get _$AU() {
return this._$AM._$AU;
}
_$AI(t7) {
S2(this, t7);
}
};
var j = { O: o3, P: n3, A: l2, C: 1, M: V, L: M, R: v, D: S2, I: R, V: k, H: L, N: z, U: H, F: Z };
var B = i2.litHtmlPolyfillSupport;
null == B || B(N, R), (null !== (t2 = i2.litHtmlVersions) && void 0 !== t2 ? t2 : i2.litHtmlVersions = []).push("2.8.0");
// node_modules/lit-element/node_modules/lit-html/lit-html.js
var t3;
var i3 = window;
var s4 = i3.trustedTypes;
var e4 = s4 ? s4.createPolicy("lit-html", { createHTML: (t7) => t7 }) : void 0;
var o4 = "$lit$";
var n4 = `lit$${(Math.random() + "").slice(9)}$`;
var l3 = "?" + n4;
var h3 = `<${l3}>`;
var r4 = document;
var u3 = () => r4.createComment("");
var d3 = (t7) => null === t7 || "object" != typeof t7 && "function" != typeof t7;
var c3 = Array.isArray;
var v2 = (t7) => c3(t7) || "function" == typeof (null == t7 ? void 0 : t7[Symbol.iterator]);
var a3 = "[ \n\f\r]";
var f2 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g;
var _2 = /-->/g;
var m2 = />/g;
var p2 = RegExp(`>|${a3}(?:([^\\s"'>=/]+)(${a3}*=${a3}*(?:[^
\f\r"'\`<>=]|("|')|))|$)`, "g");
var g2 = /'/g;
var $2 = /"/g;
var y2 = /^(?:script|style|textarea|title)$/i;
var w2 = (t7) => (i10, ...s10) => ({ _$litType$: t7, strings: i10, values: s10 });
var x2 = w2(1);
var b2 = w2(2);
var T2 = Symbol.for("lit-noChange");
var A2 = Symbol.for("lit-nothing");
var E2 = /* @__PURE__ */ new WeakMap();
var C2 = r4.createTreeWalker(r4, 129, null, false);
function P2(t7, i10) {
if (!Array.isArray(t7) || !t7.hasOwnProperty("raw"))
throw Error("invalid template strings array");
return void 0 !== e4 ? e4.createHTML(i10) : i10;
}
var V2 = (t7, i10) => {
const s10 = t7.length - 1, e15 = [];
let l10, r8 = 2 === i10 ? "<svg>" : "", u6 = f2;
for (let i11 = 0; i11 < s10; i11++) {
const s11 = t7[i11];
let d5, c9, v4 = -1, a6 = 0;
for (; a6 < s11.length && (u6.lastIndex = a6, c9 = u6.exec(s11), null !== c9); )
a6 = u6.lastIndex, u6 === f2 ? "!--" === c9[1] ? u6 = _2 : void 0 !== c9[1] ? u6 = m2 : void 0 !== c9[2] ? (y2.test(c9[2]) && (l10 = RegExp("</" + c9[2], "g")), u6 = p2) : void 0 !== c9[3] && (u6 = p2) : u6 === p2 ? ">" === c9[0] ? (u6 = null != l10 ? l10 : f2, v4 = -1) : void 0 === c9[1] ? v4 = -2 : (v4 = u6.lastIndex - c9[2].length, d5 = c9[1], u6 = void 0 === c9[3] ? p2 : '"' === c9[3] ? $2 : g2) : u6 === $2 || u6 === g2 ? u6 = p2 : u6 === _2 || u6 === m2 ? u6 = f2 : (u6 = p2, l10 = void 0);
const w4 = u6 === p2 && t7[i11 + 1].startsWith("/>") ? " " : "";
r8 += u6 === f2 ? s11 + h3 : v4 >= 0 ? (e15.push(d5), s11.slice(0, v4) + o4 + s11.slice(v4) + n4 + w4) : s11 + n4 + (-2 === v4 ? (e15.push(void 0), i11) : w4);
}
return [P2(t7, r8 + (t7[s10] || "<?>") + (2 === i10 ? "</svg>" : "")), e15];
};
var N2 = class {
constructor({ strings: t7, _$litType$: i10 }, e15) {
let h8;
this.parts = [];
let r8 = 0, d5 = 0;
const c9 = t7.length - 1, v4 = this.parts, [a6, f5] = V2(t7, i10);
if (this.el = N2.createElement(a6, e15), C2.currentNode = this.el.content, 2 === i10) {
const t8 = this.el.content, i11 = t8.firstChild;
i11.remove(), t8.append(...i11.childNodes);
}
for (; null !== (h8 = C2.nextNode()) && v4.length < c9; ) {
if (1 === h8.nodeType) {
if (h8.hasAttributes()) {
const t8 = [];
for (const i11 of h8.getAttributeNames())
if (i11.endsWith(o4) || i11.startsWith(n4)) {
const s10 = f5[d5++];
if (t8.push(i11), void 0 !== s10) {
const t9 = h8.getAttribute(s10.toLowerCase() + o4).split(n4), i12 = /([.?@])?(.*)/.exec(s10);
v4.push({ type: 1, index: r8, name: i12[2], strings: t9, ctor: "." === i12[1] ? H2 : "?" === i12[1] ? L2 : "@" === i12[1] ? z2 : k2 });
} else
v4.push({ type: 6, index: r8 });
}
for (const i11 of t8)
h8.removeAttribute(i11);
}
if (y2.test(h8.tagName)) {
const t8 = h8.textContent.split(n4), i11 = t8.length - 1;
if (i11 > 0) {
h8.textContent = s4 ? s4.emptyScript : "";
for (let s10 = 0; s10 < i11; s10++)
h8.append(t8[s10], u3()), C2.nextNode(), v4.push({ type: 2, index: ++r8 });
h8.append(t8[i11], u3());
}
}
} else if (8 === h8.nodeType)
if (h8.data === l3)
v4.push({ type: 2, index: r8 });
else {
let t8 = -1;
for (; -1 !== (t8 = h8.data.indexOf(n4, t8 + 1)); )
v4.push({ type: 7, index: r8 }), t8 += n4.length - 1;
}
r8++;
}
}
static createElement(t7, i10) {
const s10 = r4.createElement("template");
return s10.innerHTML = t7, s10;
}
};
function S3(t7, i10, s10 = t7, e15) {
var o15, n13, l10, h8;
if (i10 === T2)
return i10;
let r8 = void 0 !== e15 ? null === (o15 = s10._$Co) || void 0 === o15 ? void 0 : o15[e15] : s10._$Cl;
const u6 = d3(i10) ? void 0 : i10._$litDirective$;
return (null == r8 ? void 0 : r8.constructor) !== u6 && (null === (n13 = null == r8 ? void 0 : r8._$AO) || void 0 === n13 || n13.call(r8, false), void 0 === u6 ? r8 = void 0 : (r8 = new u6(t7), r8._$AT(t7, s10, e15)), void 0 !== e15 ? (null !== (l10 = (h8 = s10)._$Co) && void 0 !== l10 ? l10 : h8._$Co = [])[e15] = r8 : s10._$Cl = r8), void 0 !== r8 && (i10 = S3(t7, r8._$AS(t7, i10.values), r8, e15)), i10;
}
var M2 = class {
constructor(t7, i10) {
this._$AV = [], this._$AN = void 0, this._$AD = t7, this._$AM = i10;
}
get parentNode() {
return this._$AM.parentNode;
}
get _$AU() {
return this._$AM._$AU;
}
u(t7) {
var i10;
const { el: { content: s10 }, parts: e15 } = this._$AD, o15 = (null !== (i10 = null == t7 ? void 0 : t7.creationScope) && void 0 !== i10 ? i10 : r4).importNode(s10, true);
C2.currentNode = o15;
let n13 = C2.nextNode(), l10 = 0, h8 = 0, u6 = e15[0];
for (; void 0 !== u6; ) {
if (l10 === u6.index) {
let i11;
2 === u6.type ? i11 = new R2(n13, n13.nextSibling, this, t7) : 1 === u6.type ? i11 = new u6.ctor(n13, u6.name, u6.strings, this, t7) : 6 === u6.type && (i11 = new Z2(n13, this, t7)), this._$AV.push(i11), u6 = e15[++h8];
}
l10 !== (null == u6 ? void 0 : u6.index) && (n13 = C2.nextNode(), l10++);
}
return C2.currentNode = r4, o15;
}
v(t7) {
let i10 = 0;
for (const s10 of this._$AV)
void 0 !== s10 && (void 0 !== s10.strings ? (s10._$AI(t7, s10, i10), i10 += s10.strings.length - 2) : s10._$AI(t7[i10])), i10++;
}
};
var R2 = class {
constructor(t7, i10, s10, e15) {
var o15;
this.type = 2, this._$AH = A2, this._$AN = void 0, this._$AA = t7, this._$AB = i10, this._$AM = s10, this.options = e15, this._$Cp = null === (o15 = null == e15 ? void 0 : e15.isConnected) || void 0 === o15 || o15;
}
get _$AU() {
var t7, i10;
return null !== (i10 = null === (t7 = this._$AM) || void 0 === t7 ? void 0 : t7._$AU) && void 0 !== i10 ? i10 : this._$Cp;
}
get parentNode() {
let t7 = this._$AA.parentNode;
const i10 = this._$AM;
return void 0 !== i10 && 11 === (null == t7 ? void 0 : t7.nodeType) && (t7 = i10.parentNode), t7;
}
get startNode() {
return this._$AA;
}
get endNode() {
return this._$AB;
}
_$AI(t7, i10 = this) {
t7 = S3(this, t7, i10), d3(t7) ? t7 === A2 || null == t7 || "" === t7 ? (this._$AH !== A2 && this._$AR(), this._$AH = A2) : t7 !== this._$AH && t7 !== T2 && this._(t7) : void 0 !== t7._$litType$ ? this.g(t7) : void 0 !== t7.nodeType ? this.$(t7) : v2(t7) ? this.T(t7) : this._(t7);
}
k(t7) {
return this._$AA.parentNode.insertBefore(t7, this._$AB);
}
$(t7) {
this._$AH !== t7 && (this._$AR(), this._$AH = this.k(t7));
}
_(t7) {
this._$AH !== A2 && d3(this._$AH) ? this._$AA.nextSibling.data = t7 : this.$(r4.createTextNode(t7)), this._$AH = t7;
}
g(t7) {
var i10;
const { values: s10, _$litType$: e15 } = t7, o15 = "number" == typeof e15 ? this._$AC(t7) : (void 0 === e15.el && (e15.el = N2.createElement(P2(e15.h, e15.h[0]), this.options)), e15);
if ((null === (i10 = this._$AH) || void 0 === i10 ? void 0 : i10._$AD) === o15)
this._$AH.v(s10);
else {
const t8 = new M2(o15, this), i11 = t8.u(this.options);
t8.v(s10), this.$(i11), this._$AH = t8;
}
}
_$AC(t7) {
let i10 = E2.get(t7.strings);
return void 0 === i10 && E2.set(t7.strings, i10 = new N2(t7)), i10;
}
T(t7) {
c3(this._$AH) || (this._$AH = [], this._$AR());
const i10 = this._$AH;
let s10, e15 = 0;
for (const o15 of t7)
e15 === i10.length ? i10.push(s10 = new R2(this.k(u3()), this.k(u3()), this, this.options)) : s10 = i10[e15], s10._$AI(o15), e15++;
e15 < i10.length && (this._$AR(s10 && s10._$AB.nextSibling, e15), i10.length = e15);
}
_$AR(t7 = this._$AA.nextSibling, i10) {
var s10;
for (null === (s10 = this._$AP) || void 0 === s10 || s10.call(this, false, true, i10); t7 && t7 !== this._$AB; ) {
const i11 = t7.nextSibling;
t7.remove(), t7 = i11;
}
}
setConnected(t7) {
var i10;
void 0 === this._$AM && (this._$Cp = t7, null === (i10 = this._$AP) || void 0 === i10 || i10.call(this, t7));
}
};
var k2 = class {
constructor(t7, i10, s10, e15, o15) {
this.type = 1, this._$AH = A2, this._$AN = void 0, this.element = t7, this.name = i10, this._$AM = e15, this.options = o15, s10.length > 2 || "" !== s10[0] || "" !== s10[1] ? (this._$AH = Array(s10.length - 1).fill(new String()), this.strings = s10) : this._$AH = A2;
}
get tagName() {
return this.element.tagName;
}
get _$AU() {
return this._$AM._$AU;
}
_$AI(t7, i10 = this, s10, e15) {
const o15 = this.strings;
let n13 = false;
if (void 0 === o15)
t7 = S3(this, t7, i10, 0), n13 = !d3(t7) || t7 !== this._$AH && t7 !== T2, n13 && (this._$AH = t7);
else {
const e16 = t7;
let l10, h8;
for (t7 = o15[0], l10 = 0; l10 < o15.length - 1; l10++)
h8 = S3(this, e16[s10 + l10], i10, l10), h8 === T2 && (h8 = this._$AH[l10]), n13 || (n13 = !d3(h8) || h8 !== this._$AH[l10]), h8 === A2 ? t7 = A2 : t7 !== A2 && (t7 += (null != h8 ? h8 : "") + o15[l10 + 1]), this._$AH[l10] = h8;
}
n13 && !e15 && this.j(t7);
}
j(t7) {
t7 === A2 ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t7 ? t7 : "");
}
};
var H2 = class extends k2 {
constructor() {
super(...arguments), this.type = 3;
}
j(t7) {
this.element[this.name] = t7 === A2 ? void 0 : t7;
}
};
var I2 = s4 ? s4.emptyScript : "";
var L2 = class extends k2 {
constructor() {
super(...arguments), this.type = 4;
}
j(t7) {
t7 && t7 !== A2 ? this.element.setAttribute(this.name, I2) : this.element.removeAttribute(this.name);
}
};
var z2 = class extends k2 {
constructor(t7, i10, s10, e15, o15) {
super(t7, i10, s10, e15, o15), this.type = 5;
}
_$AI(t7, i10 = this) {
var s10;
if ((t7 = null !== (s10 = S3(this, t7, i10, 0)) && void 0 !== s10 ? s10 : A2) === T2)
return;
const e15 = this._$AH, o15 = t7 === A2 && e15 !== A2 || t7.capture !== e15.capture || t7.once !== e15.once || t7.passive !== e15.passive, n13 = t7 !== A2 && (e15 === A2 || o15);
o15 && this.element.removeEventListener(this.name, this, e15), n13 && this.element.addEventListener(this.name, this, t7), this._$AH = t7;
}
handleEvent(t7) {
var i10, s10;
"function" == typeof this._$AH ? this._$AH.call(null !== (s10 = null === (i10 = this.options) || void 0 === i10 ? void 0 : i10.host) && void 0 !== s10 ? s10 : this.element, t7) : this._$AH.handleEvent(t7);
}
};
var Z2 = class {
constructor(t7, i10, s10) {
this.element = t7, this.type = 6, this._$AN = void 0, this._$AM = i10, this.options = s10;
}
get _$AU() {
return this._$AM._$AU;
}
_$AI(t7) {
S3(this, t7);
}
};
var B2 = i3.litHtmlPolyfillSupport;
null == B2 || B2(N2, R2), (null !== (t3 = i3.litHtmlVersions) && void 0 !== t3 ? t3 : i3.litHtmlVersions = []).push("2.8.0");
var D = (t7, i10, s10) => {
var e15, o15;
const n13 = null !== (e15 = null == s10 ? void 0 : s10.renderBefore) && void 0 !== e15 ? e15 : i10;
let l10 = n13._$litPart$;
if (void 0 === l10) {
const t8 = null !== (o15 = null == s10 ? void 0 : s10.renderBefore) && void 0 !== o15 ? o15 : null;
n13._$litPart$ = l10 = new R2(i10.insertBefore(u3(), t8), t8, void 0, null != s10 ? s10 : {});
}
return l10._$AI(t7), l10;
};
// node_modules/lit-element/lit-element.js
var l4;
var o5;
var s5 = class extends u {
constructor() {
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
}
createRenderRoot() {
var t7, e15;
const i10 = super.createRenderRoot();
return null !== (t7 = (e15 = this.renderOptions).renderBefore) && void 0 !== t7 || (e15.renderBefore = i10.firstChild), i10;
}
update(t7) {
const i10 = this.render();
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t7), this._$Do = D(i10, this.renderRoot, this.renderOptions);
}
connectedCallback() {
var t7;
super.connectedCallback(), null === (t7 = this._$Do) || void 0 === t7 || t7.setConnected(true);
}
disconnectedCallback() {
var t7;
super.disconnectedCallback(), null === (t7 = this._$Do) || void 0 === t7 || t7.setConnected(false);
}
render() {
return T2;
}
};
s5.finalized = true, s5._$litElement$ = true, null === (l4 = globalThis.litElementHydrateSupport) || void 0 === l4 || l4.call(globalThis, { LitElement: s5 });
var n5 = globalThis.litElementPolyfillSupport;
null == n5 || n5({ LitElement: s5 });
(null !== (o5 = globalThis.litElementVersions) && void 0 !== o5 ? o5 : globalThis.litElementVersions = []).push("3.3.3");
// node_modules/@lit/reactive-element/decorators/custom-element.js
var e5 = (e15) => (n13) => "function" == typeof n13 ? ((e16, n14) => (customElements.define(e16, n14), n14))(e15, n13) : ((e16, n14) => {
const { kind: t7, elements: s10 } = n14;
return { kind: t7, elements: s10, finisher(n15) {
customElements.define(e16, n15);
} };
})(e15, n13);
// node_modules/@lit/reactive-element/decorators/property.js
var i4 = (i10, e15) => "method" === e15.kind && e15.descriptor && !("value" in e15.descriptor) ? { ...e15, finisher(n13) {
n13.createProperty(e15.key, i10);
} } : { kind: "field", key: Symbol(), placement: "own", descriptor: {}, originalKey: e15.key, initializer() {
"function" == typeof e15.initializer && (this[e15.key] = e15.initializer.call(this));
}, finisher(n13) {
n13.createProperty(e15.key, i10);
} };
var e6 = (i10, e15, n13) => {
e15.constructor.createProperty(n13, i10);
};
function n6(n13) {
return (t7, o15) => void 0 !== o15 ? e6(n13, t7, o15) : i4(n13, t7);
}
// node_modules/@lit/reactive-element/decorators/state.js
function t4(t7) {
return n6({ ...t7, state: true });
}
// node_modules/@lit/reactive-element/decorators/base.js
var o6 = ({ finisher: e15, descriptor: t7 }) => (o15, n13) => {
var r8;
if (void 0 === n13) {
const n14 = null !== (r8 = o15.originalKey) && void 0 !== r8 ? r8 : o15.key, i10 = null != t7 ? { kind: "method", placement: "prototype", key: n14, descriptor: t7(o15.key) } : { ...o15, key: n14 };
return null != e15 && (i10.finisher = function(t8) {
e15(t8, n14);
}), i10;
}
{
const r9 = o15.constructor;
void 0 !== t7 && Object.defineProperty(o15, n13, t7(n13)), null == e15 || e15(r9, n13);
}
};
// node_modules/@lit/reactive-element/decorators/query.js
function i5(i10, n13) {
return o6({ descriptor: (o15) => {
const t7 = { get() {
var o16, n14;
return null !== (n14 = null === (o16 = this.renderRoot) || void 0 === o16 ? void 0 : o16.querySelector(i10)) && void 0 !== n14 ? n14 : null;
}, enumerable: true, configurable: true };
if (n13) {
const n14 = "symbol" == typeof o15 ? Symbol() : "__" + o15;
t7.get = function() {
var o16, t8;
return void 0 === this[n14] && (this[n14] = null !== (t8 = null === (o16 = this.renderRoot) || void 0 === o16 ? void 0 : o16.querySelector(i10)) && void 0 !== t8 ? t8 : null), this[n14];
};
}
return t7;
} });
}
// node_modules/@lit/reactive-element/decorators/query-all.js
function e7(e15) {
return o6({ descriptor: (r8) => ({ get() {
var r9, o15;
return null !== (o15 = null === (r9 = this.renderRoot) || void 0 === r9 ? void 0 : r9.querySelectorAll(e15)) && void 0 !== o15 ? o15 : [];
}, enumerable: true, configurable: true }) });
}
// node_modules/@lit/reactive-element/decorators/query-async.js
function e8(e15) {
return o6({ descriptor: (r8) => ({ async get() {
var r9;
return await this.updateComplete, null === (r9 = this.renderRoot) || void 0 === r9 ? void 0 : r9.querySelector(e15);
}, enumerable: true, configurable: true }) });
}
// node_modules/@lit/reactive-element/decorators/query-assigned-elements.js
var n7;
var e9 = null != (null === (n7 = window.HTMLSlotElement) || void 0 === n7 ? void 0 : n7.prototype.assignedElements) ? (o15, n13) => o15.assignedElements(n13) : (o15, n13) => o15.assignedNodes(n13).filter((o16) => o16.nodeType === Node.ELEMENT_NODE);
// node_modules/lit/node_modules/lit-html/directive.js
var t5 = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 };
var e10 = (t7) => (...e15) => ({ _$litDirective$: t7, values: e15 });
var i6 = class {
constructor(t7) {
}
get _$AU() {
return this._$AM._$AU;
}
_$AT(t7, e15, i10) {
this._$Ct = t7, this._$AM = e15, this._$Ci = i10;
}
_$AS(t7, e15) {
return this.update(t7, e15);
}
update(t7, e15) {
return this.render(...e15);
}
};
// node_modules/lit/node_modules/lit-html/directives/class-map.js
var o7 = e10(class extends i6 {
constructor(t7) {
var i10;
if (super(t7), t7.type !== t5.ATTRIBUTE || "class" !== t7.name || (null === (i10 = t7.strings) || void 0 === i10 ? void 0 : i10.length) > 2)
throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
}
render(t7) {
return " " + Object.keys(t7).filter((i10) => t7[i10]).join(" ") + " ";
}
update(i10, [s10]) {
var r8, o15;
if (void 0 === this.it) {
this.it = /* @__PURE__ */ new Set(), void 0 !== i10.strings && (this.nt = new Set(i10.strings.join(" ").split(/\s/).filter((t7) => "" !== t7)));
for (const t7 in s10)
s10[t7] && !(null === (r8 = this.nt) || void 0 === r8 ? void 0 : r8.has(t7)) && this.it.add(t7);
return this.render(s10);
}
const e15 = i10.element.classList;
this.it.forEach((t7) => {
t7 in s10 || (e15.remove(t7), this.it.delete(t7));
});
for (const t7 in s10) {
const i11 = !!s10[t7];
i11 === this.it.has(t7) || (null === (o15 = this.nt) || void 0 === o15 ? void 0 : o15.has(t7)) || (i11 ? (e15.add(t7), this.it.add(t7)) : (e15.remove(t7), this.it.delete(t7)));
}
return T;
}
});
// node_modules/lit/node_modules/lit-html/directives/unsafe-html.js
var e11 = class extends i6 {
constructor(i10) {