@webwriter/quiz 1.0.2 → 1.0.3

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.
@@ -13,51 +13,2941 @@ var __expectFn = (fn) => fn !== void 0 && typeof fn !== "function" ? __typeError
13
13
  var __decoratorContext = (kind, name, done, metadata, fns) => ({ kind: __decoratorStrings[kind], name, metadata, addInitializer: (fn) => done._ ? __typeError("Already initialized") : fns.push(__expectFn(fn || null)) });
14
14
  var __decoratorMetadata = (array, target) => __defNormalProp(target, __knownSymbol("metadata"), array[3]);
15
15
  var __runInitializers = (array, flags, self, value) => {
16
- for (var i = 0, fns = array[flags >> 1], n = fns && fns.length; i < n; i++) flags & 1 ? fns[i].call(self) : value = fns[i].call(self, value);
16
+ for (var i4 = 0, fns = array[flags >> 1], n6 = fns && fns.length; i4 < n6; i4++) flags & 1 ? fns[i4].call(self) : value = fns[i4].call(self, value);
17
17
  return value;
18
18
  };
19
19
  var __decorateElement = (array, flags, name, decorators, target, extra) => {
20
- var fn, it, done, ctx, access, k = flags & 7, s = !!(flags & 8), p = !!(flags & 16);
21
- var j = k > 3 ? array.length + 1 : k ? s ? 1 : 2 : 0, key = __decoratorStrings[k + 5];
22
- var initializers = k > 3 && (array[j - 1] = []), extraInitializers = array[j] || (array[j] = []);
23
- var desc = k && (!p && !s && (target = target.prototype), k < 5 && (k > 3 || !p) && __getOwnPropDesc(k < 4 ? target : { get [name]() {
20
+ var fn, it, done, ctx, access, k3 = flags & 7, s3 = !!(flags & 8), p3 = !!(flags & 16);
21
+ var j3 = k3 > 3 ? array.length + 1 : k3 ? s3 ? 1 : 2 : 0, key = __decoratorStrings[k3 + 5];
22
+ var initializers = k3 > 3 && (array[j3 - 1] = []), extraInitializers = array[j3] || (array[j3] = []);
23
+ var desc = k3 && (!p3 && !s3 && (target = target.prototype), k3 < 5 && (k3 > 3 || !p3) && __getOwnPropDesc(k3 < 4 ? target : { get [name]() {
24
24
  return __privateGet(this, extra);
25
- }, set [name](x) {
26
- return __privateSet(this, extra, x);
25
+ }, set [name](x3) {
26
+ return __privateSet(this, extra, x3);
27
27
  } }, name));
28
- k ? p && k < 4 && __name(extra, (k > 2 ? "set " : k > 1 ? "get " : "") + name) : __name(target, name);
29
- for (var i = decorators.length - 1; i >= 0; i--) {
30
- ctx = __decoratorContext(k, name, done = {}, array[3], extraInitializers);
31
- if (k) {
32
- ctx.static = s, ctx.private = p, access = ctx.access = { has: p ? (x) => __privateIn(target, x) : (x) => name in x };
33
- if (k ^ 3) access.get = p ? (x) => (k ^ 1 ? __privateGet : __privateMethod)(x, target, k ^ 4 ? extra : desc.get) : (x) => x[name];
34
- if (k > 2) access.set = p ? (x, y) => __privateSet(x, target, y, k ^ 4 ? extra : desc.set) : (x, y) => x[name] = y;
35
- }
36
- it = (0, decorators[i])(k ? k < 4 ? p ? extra : desc[key] : k > 4 ? void 0 : { get: desc.get, set: desc.set } : target, ctx), done._ = 1;
37
- if (k ^ 4 || it === void 0) __expectFn(it) && (k > 4 ? initializers.unshift(it) : k ? p ? extra = it : desc[key] = it : target = it);
28
+ k3 ? p3 && k3 < 4 && __name(extra, (k3 > 2 ? "set " : k3 > 1 ? "get " : "") + name) : __name(target, name);
29
+ for (var i4 = decorators.length - 1; i4 >= 0; i4--) {
30
+ ctx = __decoratorContext(k3, name, done = {}, array[3], extraInitializers);
31
+ if (k3) {
32
+ ctx.static = s3, ctx.private = p3, access = ctx.access = { has: p3 ? (x3) => __privateIn(target, x3) : (x3) => name in x3 };
33
+ if (k3 ^ 3) access.get = p3 ? (x3) => (k3 ^ 1 ? __privateGet : __privateMethod)(x3, target, k3 ^ 4 ? extra : desc.get) : (x3) => x3[name];
34
+ if (k3 > 2) access.set = p3 ? (x3, y3) => __privateSet(x3, target, y3, k3 ^ 4 ? extra : desc.set) : (x3, y3) => x3[name] = y3;
35
+ }
36
+ it = (0, decorators[i4])(k3 ? k3 < 4 ? p3 ? extra : desc[key] : k3 > 4 ? void 0 : { get: desc.get, set: desc.set } : target, ctx), done._ = 1;
37
+ if (k3 ^ 4 || it === void 0) __expectFn(it) && (k3 > 4 ? initializers.unshift(it) : k3 ? p3 ? extra = it : desc[key] = it : target = it);
38
38
  else if (typeof it !== "object" || it === null) __typeError("Object expected");
39
39
  else __expectFn(fn = it.get) && (desc.get = fn), __expectFn(fn = it.set) && (desc.set = fn), __expectFn(fn = it.init) && initializers.unshift(fn);
40
40
  }
41
- return k || __decoratorMetadata(array, target), desc && __defProp(target, name, desc), p ? k ^ 4 ? extra : desc : target;
41
+ return k3 || __decoratorMetadata(array, target), desc && __defProp(target, name, desc), p3 ? k3 ^ 4 ? extra : desc : target;
42
+ };
43
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
44
+ var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
45
+ var __privateIn = (member, obj) => Object(obj) !== obj ? __typeError('Cannot use the "in" operator on this value') : member.has(obj);
46
+ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
47
+ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
48
+ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
49
+ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
50
+
51
+ // ../../node_modules/lit/node_modules/@lit/reactive-element/css-tag.js
52
+ var t = globalThis;
53
+ var e = t.ShadowRoot && (void 0 === t.ShadyCSS || t.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype;
54
+ var s = Symbol();
55
+ var o = /* @__PURE__ */ new WeakMap();
56
+ var n = class {
57
+ constructor(t5, e7, o5) {
58
+ if (this._$cssResult$ = true, o5 !== s) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
59
+ this.cssText = t5, this.t = e7;
60
+ }
61
+ get styleSheet() {
62
+ let t5 = this.o;
63
+ const s3 = this.t;
64
+ if (e && void 0 === t5) {
65
+ const e7 = void 0 !== s3 && 1 === s3.length;
66
+ e7 && (t5 = o.get(s3)), void 0 === t5 && ((this.o = t5 = new CSSStyleSheet()).replaceSync(this.cssText), e7 && o.set(s3, t5));
67
+ }
68
+ return t5;
69
+ }
70
+ toString() {
71
+ return this.cssText;
72
+ }
73
+ };
74
+ var r = (t5) => new n("string" == typeof t5 ? t5 : t5 + "", void 0, s);
75
+ var i = (t5, ...e7) => {
76
+ const o5 = 1 === t5.length ? t5[0] : e7.reduce((e8, s3, o6) => e8 + ((t6) => {
77
+ if (true === t6._$cssResult$) return t6.cssText;
78
+ if ("number" == typeof t6) return t6;
79
+ throw Error("Value passed to 'css' function must be a 'css' function result: " + t6 + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
80
+ })(s3) + t5[o6 + 1], t5[0]);
81
+ return new n(o5, t5, s);
82
+ };
83
+ var S = (s3, o5) => {
84
+ if (e) s3.adoptedStyleSheets = o5.map((t5) => t5 instanceof CSSStyleSheet ? t5 : t5.styleSheet);
85
+ else for (const e7 of o5) {
86
+ const o6 = document.createElement("style"), n6 = t.litNonce;
87
+ void 0 !== n6 && o6.setAttribute("nonce", n6), o6.textContent = e7.cssText, s3.appendChild(o6);
88
+ }
89
+ };
90
+ var c = e ? (t5) => t5 : (t5) => t5 instanceof CSSStyleSheet ? ((t6) => {
91
+ let e7 = "";
92
+ for (const s3 of t6.cssRules) e7 += s3.cssText;
93
+ return r(e7);
94
+ })(t5) : t5;
95
+
96
+ // ../../node_modules/lit/node_modules/@lit/reactive-element/reactive-element.js
97
+ var { is: i2, defineProperty: e2, getOwnPropertyDescriptor: r2, getOwnPropertyNames: h, getOwnPropertySymbols: o2, getPrototypeOf: n2 } = Object;
98
+ var a = globalThis;
99
+ var c2 = a.trustedTypes;
100
+ var l = c2 ? c2.emptyScript : "";
101
+ var p = a.reactiveElementPolyfillSupport;
102
+ var d = (t5, s3) => t5;
103
+ var u = { toAttribute(t5, s3) {
104
+ switch (s3) {
105
+ case Boolean:
106
+ t5 = t5 ? l : null;
107
+ break;
108
+ case Object:
109
+ case Array:
110
+ t5 = null == t5 ? t5 : JSON.stringify(t5);
111
+ }
112
+ return t5;
113
+ }, fromAttribute(t5, s3) {
114
+ let i4 = t5;
115
+ switch (s3) {
116
+ case Boolean:
117
+ i4 = null !== t5;
118
+ break;
119
+ case Number:
120
+ i4 = null === t5 ? null : Number(t5);
121
+ break;
122
+ case Object:
123
+ case Array:
124
+ try {
125
+ i4 = JSON.parse(t5);
126
+ } catch (t6) {
127
+ i4 = null;
128
+ }
129
+ }
130
+ return i4;
131
+ } };
132
+ var f = (t5, s3) => !i2(t5, s3);
133
+ var y = { attribute: true, type: String, converter: u, reflect: false, hasChanged: f };
134
+ Symbol.metadata ??= Symbol("metadata"), a.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
135
+ var b = class extends HTMLElement {
136
+ static addInitializer(t5) {
137
+ this._$Ei(), (this.l ??= []).push(t5);
138
+ }
139
+ static get observedAttributes() {
140
+ return this.finalize(), this._$Eh && [...this._$Eh.keys()];
141
+ }
142
+ static createProperty(t5, s3 = y) {
143
+ if (s3.state && (s3.attribute = false), this._$Ei(), this.elementProperties.set(t5, s3), !s3.noAccessor) {
144
+ const i4 = Symbol(), r6 = this.getPropertyDescriptor(t5, i4, s3);
145
+ void 0 !== r6 && e2(this.prototype, t5, r6);
146
+ }
147
+ }
148
+ static getPropertyDescriptor(t5, s3, i4) {
149
+ const { get: e7, set: h5 } = r2(this.prototype, t5) ?? { get() {
150
+ return this[s3];
151
+ }, set(t6) {
152
+ this[s3] = t6;
153
+ } };
154
+ return { get() {
155
+ return e7?.call(this);
156
+ }, set(s4) {
157
+ const r6 = e7?.call(this);
158
+ h5.call(this, s4), this.requestUpdate(t5, r6, i4);
159
+ }, configurable: true, enumerable: true };
160
+ }
161
+ static getPropertyOptions(t5) {
162
+ return this.elementProperties.get(t5) ?? y;
163
+ }
164
+ static _$Ei() {
165
+ if (this.hasOwnProperty(d("elementProperties"))) return;
166
+ const t5 = n2(this);
167
+ t5.finalize(), void 0 !== t5.l && (this.l = [...t5.l]), this.elementProperties = new Map(t5.elementProperties);
168
+ }
169
+ static finalize() {
170
+ if (this.hasOwnProperty(d("finalized"))) return;
171
+ if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d("properties"))) {
172
+ const t6 = this.properties, s3 = [...h(t6), ...o2(t6)];
173
+ for (const i4 of s3) this.createProperty(i4, t6[i4]);
174
+ }
175
+ const t5 = this[Symbol.metadata];
176
+ if (null !== t5) {
177
+ const s3 = litPropertyMetadata.get(t5);
178
+ if (void 0 !== s3) for (const [t6, i4] of s3) this.elementProperties.set(t6, i4);
179
+ }
180
+ this._$Eh = /* @__PURE__ */ new Map();
181
+ for (const [t6, s3] of this.elementProperties) {
182
+ const i4 = this._$Eu(t6, s3);
183
+ void 0 !== i4 && this._$Eh.set(i4, t6);
184
+ }
185
+ this.elementStyles = this.finalizeStyles(this.styles);
186
+ }
187
+ static finalizeStyles(s3) {
188
+ const i4 = [];
189
+ if (Array.isArray(s3)) {
190
+ const e7 = new Set(s3.flat(1 / 0).reverse());
191
+ for (const s4 of e7) i4.unshift(c(s4));
192
+ } else void 0 !== s3 && i4.push(c(s3));
193
+ return i4;
194
+ }
195
+ static _$Eu(t5, s3) {
196
+ const i4 = s3.attribute;
197
+ return false === i4 ? void 0 : "string" == typeof i4 ? i4 : "string" == typeof t5 ? t5.toLowerCase() : void 0;
198
+ }
199
+ constructor() {
200
+ super(), this._$Ep = void 0, this.isUpdatePending = false, this.hasUpdated = false, this._$Em = null, this._$Ev();
201
+ }
202
+ _$Ev() {
203
+ this._$ES = new Promise((t5) => this.enableUpdating = t5), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach((t5) => t5(this));
204
+ }
205
+ addController(t5) {
206
+ (this._$EO ??= /* @__PURE__ */ new Set()).add(t5), void 0 !== this.renderRoot && this.isConnected && t5.hostConnected?.();
207
+ }
208
+ removeController(t5) {
209
+ this._$EO?.delete(t5);
210
+ }
211
+ _$E_() {
212
+ const t5 = /* @__PURE__ */ new Map(), s3 = this.constructor.elementProperties;
213
+ for (const i4 of s3.keys()) this.hasOwnProperty(i4) && (t5.set(i4, this[i4]), delete this[i4]);
214
+ t5.size > 0 && (this._$Ep = t5);
215
+ }
216
+ createRenderRoot() {
217
+ const t5 = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
218
+ return S(t5, this.constructor.elementStyles), t5;
219
+ }
220
+ connectedCallback() {
221
+ this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(true), this._$EO?.forEach((t5) => t5.hostConnected?.());
222
+ }
223
+ enableUpdating(t5) {
224
+ }
225
+ disconnectedCallback() {
226
+ this._$EO?.forEach((t5) => t5.hostDisconnected?.());
227
+ }
228
+ attributeChangedCallback(t5, s3, i4) {
229
+ this._$AK(t5, i4);
230
+ }
231
+ _$EC(t5, s3) {
232
+ const i4 = this.constructor.elementProperties.get(t5), e7 = this.constructor._$Eu(t5, i4);
233
+ if (void 0 !== e7 && true === i4.reflect) {
234
+ const r6 = (void 0 !== i4.converter?.toAttribute ? i4.converter : u).toAttribute(s3, i4.type);
235
+ this._$Em = t5, null == r6 ? this.removeAttribute(e7) : this.setAttribute(e7, r6), this._$Em = null;
236
+ }
237
+ }
238
+ _$AK(t5, s3) {
239
+ const i4 = this.constructor, e7 = i4._$Eh.get(t5);
240
+ if (void 0 !== e7 && this._$Em !== e7) {
241
+ const t6 = i4.getPropertyOptions(e7), r6 = "function" == typeof t6.converter ? { fromAttribute: t6.converter } : void 0 !== t6.converter?.fromAttribute ? t6.converter : u;
242
+ this._$Em = e7, this[e7] = r6.fromAttribute(s3, t6.type), this._$Em = null;
243
+ }
244
+ }
245
+ requestUpdate(t5, s3, i4) {
246
+ if (void 0 !== t5) {
247
+ if (i4 ??= this.constructor.getPropertyOptions(t5), !(i4.hasChanged ?? f)(this[t5], s3)) return;
248
+ this.P(t5, s3, i4);
249
+ }
250
+ false === this.isUpdatePending && (this._$ES = this._$ET());
251
+ }
252
+ P(t5, s3, i4) {
253
+ this._$AL.has(t5) || this._$AL.set(t5, s3), true === i4.reflect && this._$Em !== t5 && (this._$Ej ??= /* @__PURE__ */ new Set()).add(t5);
254
+ }
255
+ async _$ET() {
256
+ this.isUpdatePending = true;
257
+ try {
258
+ await this._$ES;
259
+ } catch (t6) {
260
+ Promise.reject(t6);
261
+ }
262
+ const t5 = this.scheduleUpdate();
263
+ return null != t5 && await t5, !this.isUpdatePending;
264
+ }
265
+ scheduleUpdate() {
266
+ return this.performUpdate();
267
+ }
268
+ performUpdate() {
269
+ if (!this.isUpdatePending) return;
270
+ if (!this.hasUpdated) {
271
+ if (this.renderRoot ??= this.createRenderRoot(), this._$Ep) {
272
+ for (const [t7, s4] of this._$Ep) this[t7] = s4;
273
+ this._$Ep = void 0;
274
+ }
275
+ const t6 = this.constructor.elementProperties;
276
+ if (t6.size > 0) for (const [s4, i4] of t6) true !== i4.wrapped || this._$AL.has(s4) || void 0 === this[s4] || this.P(s4, this[s4], i4);
277
+ }
278
+ let t5 = false;
279
+ const s3 = this._$AL;
280
+ try {
281
+ t5 = this.shouldUpdate(s3), t5 ? (this.willUpdate(s3), this._$EO?.forEach((t6) => t6.hostUpdate?.()), this.update(s3)) : this._$EU();
282
+ } catch (s4) {
283
+ throw t5 = false, this._$EU(), s4;
284
+ }
285
+ t5 && this._$AE(s3);
286
+ }
287
+ willUpdate(t5) {
288
+ }
289
+ _$AE(t5) {
290
+ this._$EO?.forEach((t6) => t6.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t5)), this.updated(t5);
291
+ }
292
+ _$EU() {
293
+ this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = false;
294
+ }
295
+ get updateComplete() {
296
+ return this.getUpdateComplete();
297
+ }
298
+ getUpdateComplete() {
299
+ return this._$ES;
300
+ }
301
+ shouldUpdate(t5) {
302
+ return true;
303
+ }
304
+ update(t5) {
305
+ this._$Ej &&= this._$Ej.forEach((t6) => this._$EC(t6, this[t6])), this._$EU();
306
+ }
307
+ updated(t5) {
308
+ }
309
+ firstUpdated(t5) {
310
+ }
311
+ };
312
+ b.elementStyles = [], b.shadowRootOptions = { mode: "open" }, b[d("elementProperties")] = /* @__PURE__ */ new Map(), b[d("finalized")] = /* @__PURE__ */ new Map(), p?.({ ReactiveElement: b }), (a.reactiveElementVersions ??= []).push("2.0.4");
313
+
314
+ // ../../node_modules/lit/node_modules/lit-html/lit-html.js
315
+ var n3 = globalThis;
316
+ var c3 = n3.trustedTypes;
317
+ var h2 = c3 ? c3.createPolicy("lit-html", { createHTML: (t5) => t5 }) : void 0;
318
+ var f2 = "$lit$";
319
+ var v = `lit$${Math.random().toFixed(9).slice(2)}$`;
320
+ var m = "?" + v;
321
+ var _ = `<${m}>`;
322
+ var w = document;
323
+ var lt = () => w.createComment("");
324
+ var st = (t5) => null === t5 || "object" != typeof t5 && "function" != typeof t5;
325
+ var g = Array.isArray;
326
+ var $ = (t5) => g(t5) || "function" == typeof t5?.[Symbol.iterator];
327
+ var x = "[ \n\f\r]";
328
+ var T = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g;
329
+ var E = /-->/g;
330
+ var k = />/g;
331
+ var O = RegExp(`>|${x}(?:([^\\s"'>=/]+)(${x}*=${x}*(?:[^
332
+ \f\r"'\`<>=]|("|')|))|$)`, "g");
333
+ var S2 = /'/g;
334
+ var j = /"/g;
335
+ var M = /^(?:script|style|textarea|title)$/i;
336
+ var P = (t5) => (i4, ...s3) => ({ _$litType$: t5, strings: i4, values: s3 });
337
+ var ke = P(1);
338
+ var Oe = P(2);
339
+ var Se = P(3);
340
+ var R = Symbol.for("lit-noChange");
341
+ var D = Symbol.for("lit-nothing");
342
+ var V = /* @__PURE__ */ new WeakMap();
343
+ var I = w.createTreeWalker(w, 129);
344
+ function N(t5, i4) {
345
+ if (!g(t5) || !t5.hasOwnProperty("raw")) throw Error("invalid template strings array");
346
+ return void 0 !== h2 ? h2.createHTML(i4) : i4;
347
+ }
348
+ var U = (t5, i4) => {
349
+ const s3 = t5.length - 1, e7 = [];
350
+ let h5, o5 = 2 === i4 ? "<svg>" : 3 === i4 ? "<math>" : "", n6 = T;
351
+ for (let i5 = 0; i5 < s3; i5++) {
352
+ const s4 = t5[i5];
353
+ let r6, l3, c5 = -1, a3 = 0;
354
+ for (; a3 < s4.length && (n6.lastIndex = a3, l3 = n6.exec(s4), null !== l3); ) a3 = n6.lastIndex, n6 === T ? "!--" === l3[1] ? n6 = E : void 0 !== l3[1] ? n6 = k : void 0 !== l3[2] ? (M.test(l3[2]) && (h5 = RegExp("</" + l3[2], "g")), n6 = O) : void 0 !== l3[3] && (n6 = O) : n6 === O ? ">" === l3[0] ? (n6 = h5 ?? T, c5 = -1) : void 0 === l3[1] ? c5 = -2 : (c5 = n6.lastIndex - l3[2].length, r6 = l3[1], n6 = void 0 === l3[3] ? O : '"' === l3[3] ? j : S2) : n6 === j || n6 === S2 ? n6 = O : n6 === E || n6 === k ? n6 = T : (n6 = O, h5 = void 0);
355
+ const u3 = n6 === O && t5[i5 + 1].startsWith("/>") ? " " : "";
356
+ o5 += n6 === T ? s4 + _ : c5 >= 0 ? (e7.push(r6), s4.slice(0, c5) + f2 + s4.slice(c5) + v + u3) : s4 + v + (-2 === c5 ? i5 : u3);
357
+ }
358
+ return [N(t5, o5 + (t5[s3] || "<?>") + (2 === i4 ? "</svg>" : 3 === i4 ? "</math>" : "")), e7];
359
+ };
360
+ var B = class _B2 {
361
+ constructor({ strings: t5, _$litType$: i4 }, s3) {
362
+ let e7;
363
+ this.parts = [];
364
+ let h5 = 0, o5 = 0;
365
+ const n6 = t5.length - 1, r6 = this.parts, [l3, a3] = U(t5, i4);
366
+ if (this.el = _B2.createElement(l3, s3), I.currentNode = this.el.content, 2 === i4 || 3 === i4) {
367
+ const t6 = this.el.content.firstChild;
368
+ t6.replaceWith(...t6.childNodes);
369
+ }
370
+ for (; null !== (e7 = I.nextNode()) && r6.length < n6; ) {
371
+ if (1 === e7.nodeType) {
372
+ if (e7.hasAttributes()) for (const t6 of e7.getAttributeNames()) if (t6.endsWith(f2)) {
373
+ const i5 = a3[o5++], s4 = e7.getAttribute(t6).split(v), n7 = /([.?@])?(.*)/.exec(i5);
374
+ r6.push({ type: 1, index: h5, name: n7[2], strings: s4, ctor: "." === n7[1] ? Y : "?" === n7[1] ? Z : "@" === n7[1] ? q : G }), e7.removeAttribute(t6);
375
+ } else t6.startsWith(v) && (r6.push({ type: 6, index: h5 }), e7.removeAttribute(t6));
376
+ if (M.test(e7.tagName)) {
377
+ const t6 = e7.textContent.split(v), i5 = t6.length - 1;
378
+ if (i5 > 0) {
379
+ e7.textContent = c3 ? c3.emptyScript : "";
380
+ for (let s4 = 0; s4 < i5; s4++) e7.append(t6[s4], lt()), I.nextNode(), r6.push({ type: 2, index: ++h5 });
381
+ e7.append(t6[i5], lt());
382
+ }
383
+ }
384
+ } else if (8 === e7.nodeType) if (e7.data === m) r6.push({ type: 2, index: h5 });
385
+ else {
386
+ let t6 = -1;
387
+ for (; -1 !== (t6 = e7.data.indexOf(v, t6 + 1)); ) r6.push({ type: 7, index: h5 }), t6 += v.length - 1;
388
+ }
389
+ h5++;
390
+ }
391
+ }
392
+ static createElement(t5, i4) {
393
+ const s3 = w.createElement("template");
394
+ return s3.innerHTML = t5, s3;
395
+ }
396
+ };
397
+ function z(t5, i4, s3 = t5, e7) {
398
+ if (i4 === R) return i4;
399
+ let h5 = void 0 !== e7 ? s3.o?.[e7] : s3.l;
400
+ const o5 = st(i4) ? void 0 : i4._$litDirective$;
401
+ return h5?.constructor !== o5 && (h5?._$AO?.(false), void 0 === o5 ? h5 = void 0 : (h5 = new o5(t5), h5._$AT(t5, s3, e7)), void 0 !== e7 ? (s3.o ??= [])[e7] = h5 : s3.l = h5), void 0 !== h5 && (i4 = z(t5, h5._$AS(t5, i4.values), h5, e7)), i4;
402
+ }
403
+ var F = class {
404
+ constructor(t5, i4) {
405
+ this._$AV = [], this._$AN = void 0, this._$AD = t5, this._$AM = i4;
406
+ }
407
+ get parentNode() {
408
+ return this._$AM.parentNode;
409
+ }
410
+ get _$AU() {
411
+ return this._$AM._$AU;
412
+ }
413
+ u(t5) {
414
+ const { el: { content: i4 }, parts: s3 } = this._$AD, e7 = (t5?.creationScope ?? w).importNode(i4, true);
415
+ I.currentNode = e7;
416
+ let h5 = I.nextNode(), o5 = 0, n6 = 0, r6 = s3[0];
417
+ for (; void 0 !== r6; ) {
418
+ if (o5 === r6.index) {
419
+ let i5;
420
+ 2 === r6.type ? i5 = new et(h5, h5.nextSibling, this, t5) : 1 === r6.type ? i5 = new r6.ctor(h5, r6.name, r6.strings, this, t5) : 6 === r6.type && (i5 = new K(h5, this, t5)), this._$AV.push(i5), r6 = s3[++n6];
421
+ }
422
+ o5 !== r6?.index && (h5 = I.nextNode(), o5++);
423
+ }
424
+ return I.currentNode = w, e7;
425
+ }
426
+ p(t5) {
427
+ let i4 = 0;
428
+ for (const s3 of this._$AV) void 0 !== s3 && (void 0 !== s3.strings ? (s3._$AI(t5, s3, i4), i4 += s3.strings.length - 2) : s3._$AI(t5[i4])), i4++;
429
+ }
430
+ };
431
+ var et = class _et2 {
432
+ get _$AU() {
433
+ return this._$AM?._$AU ?? this.v;
434
+ }
435
+ constructor(t5, i4, s3, e7) {
436
+ this.type = 2, this._$AH = D, this._$AN = void 0, this._$AA = t5, this._$AB = i4, this._$AM = s3, this.options = e7, this.v = e7?.isConnected ?? true;
437
+ }
438
+ get parentNode() {
439
+ let t5 = this._$AA.parentNode;
440
+ const i4 = this._$AM;
441
+ return void 0 !== i4 && 11 === t5?.nodeType && (t5 = i4.parentNode), t5;
442
+ }
443
+ get startNode() {
444
+ return this._$AA;
445
+ }
446
+ get endNode() {
447
+ return this._$AB;
448
+ }
449
+ _$AI(t5, i4 = this) {
450
+ t5 = z(this, t5, i4), st(t5) ? t5 === D || null == t5 || "" === t5 ? (this._$AH !== D && this._$AR(), this._$AH = D) : t5 !== this._$AH && t5 !== R && this._(t5) : void 0 !== t5._$litType$ ? this.$(t5) : void 0 !== t5.nodeType ? this.T(t5) : $(t5) ? this.k(t5) : this._(t5);
451
+ }
452
+ O(t5) {
453
+ return this._$AA.parentNode.insertBefore(t5, this._$AB);
454
+ }
455
+ T(t5) {
456
+ this._$AH !== t5 && (this._$AR(), this._$AH = this.O(t5));
457
+ }
458
+ _(t5) {
459
+ this._$AH !== D && st(this._$AH) ? this._$AA.nextSibling.data = t5 : this.T(w.createTextNode(t5)), this._$AH = t5;
460
+ }
461
+ $(t5) {
462
+ const { values: i4, _$litType$: s3 } = t5, e7 = "number" == typeof s3 ? this._$AC(t5) : (void 0 === s3.el && (s3.el = B.createElement(N(s3.h, s3.h[0]), this.options)), s3);
463
+ if (this._$AH?._$AD === e7) this._$AH.p(i4);
464
+ else {
465
+ const t6 = new F(e7, this), s4 = t6.u(this.options);
466
+ t6.p(i4), this.T(s4), this._$AH = t6;
467
+ }
468
+ }
469
+ _$AC(t5) {
470
+ let i4 = V.get(t5.strings);
471
+ return void 0 === i4 && V.set(t5.strings, i4 = new B(t5)), i4;
472
+ }
473
+ k(t5) {
474
+ g(this._$AH) || (this._$AH = [], this._$AR());
475
+ const i4 = this._$AH;
476
+ let s3, e7 = 0;
477
+ for (const h5 of t5) e7 === i4.length ? i4.push(s3 = new _et2(this.O(lt()), this.O(lt()), this, this.options)) : s3 = i4[e7], s3._$AI(h5), e7++;
478
+ e7 < i4.length && (this._$AR(s3 && s3._$AB.nextSibling, e7), i4.length = e7);
479
+ }
480
+ _$AR(t5 = this._$AA.nextSibling, i4) {
481
+ for (this._$AP?.(false, true, i4); t5 && t5 !== this._$AB; ) {
482
+ const i5 = t5.nextSibling;
483
+ t5.remove(), t5 = i5;
484
+ }
485
+ }
486
+ setConnected(t5) {
487
+ void 0 === this._$AM && (this.v = t5, this._$AP?.(t5));
488
+ }
489
+ };
490
+ var G = class {
491
+ get tagName() {
492
+ return this.element.tagName;
493
+ }
494
+ get _$AU() {
495
+ return this._$AM._$AU;
496
+ }
497
+ constructor(t5, i4, s3, e7, h5) {
498
+ this.type = 1, this._$AH = D, this._$AN = void 0, this.element = t5, this.name = i4, this._$AM = e7, this.options = h5, s3.length > 2 || "" !== s3[0] || "" !== s3[1] ? (this._$AH = Array(s3.length - 1).fill(new String()), this.strings = s3) : this._$AH = D;
499
+ }
500
+ _$AI(t5, i4 = this, s3, e7) {
501
+ const h5 = this.strings;
502
+ let o5 = false;
503
+ if (void 0 === h5) t5 = z(this, t5, i4, 0), o5 = !st(t5) || t5 !== this._$AH && t5 !== R, o5 && (this._$AH = t5);
504
+ else {
505
+ const e8 = t5;
506
+ let n6, r6;
507
+ for (t5 = h5[0], n6 = 0; n6 < h5.length - 1; n6++) r6 = z(this, e8[s3 + n6], i4, n6), r6 === R && (r6 = this._$AH[n6]), o5 ||= !st(r6) || r6 !== this._$AH[n6], r6 === D ? t5 = D : t5 !== D && (t5 += (r6 ?? "") + h5[n6 + 1]), this._$AH[n6] = r6;
508
+ }
509
+ o5 && !e7 && this.j(t5);
510
+ }
511
+ j(t5) {
512
+ t5 === D ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t5 ?? "");
513
+ }
514
+ };
515
+ var Y = class extends G {
516
+ constructor() {
517
+ super(...arguments), this.type = 3;
518
+ }
519
+ j(t5) {
520
+ this.element[this.name] = t5 === D ? void 0 : t5;
521
+ }
522
+ };
523
+ var Z = class extends G {
524
+ constructor() {
525
+ super(...arguments), this.type = 4;
526
+ }
527
+ j(t5) {
528
+ this.element.toggleAttribute(this.name, !!t5 && t5 !== D);
529
+ }
530
+ };
531
+ var q = class extends G {
532
+ constructor(t5, i4, s3, e7, h5) {
533
+ super(t5, i4, s3, e7, h5), this.type = 5;
534
+ }
535
+ _$AI(t5, i4 = this) {
536
+ if ((t5 = z(this, t5, i4, 0) ?? D) === R) return;
537
+ const s3 = this._$AH, e7 = t5 === D && s3 !== D || t5.capture !== s3.capture || t5.once !== s3.once || t5.passive !== s3.passive, h5 = t5 !== D && (s3 === D || e7);
538
+ e7 && this.element.removeEventListener(this.name, this, s3), h5 && this.element.addEventListener(this.name, this, t5), this._$AH = t5;
539
+ }
540
+ handleEvent(t5) {
541
+ "function" == typeof this._$AH ? this._$AH.call(this.options?.host ?? this.element, t5) : this._$AH.handleEvent(t5);
542
+ }
543
+ };
544
+ var K = class {
545
+ constructor(t5, i4, s3) {
546
+ this.element = t5, this.type = 6, this._$AN = void 0, this._$AM = i4, this.options = s3;
547
+ }
548
+ get _$AU() {
549
+ return this._$AM._$AU;
550
+ }
551
+ _$AI(t5) {
552
+ z(this, t5);
553
+ }
554
+ };
555
+ var si = { M: f2, P: v, A: m, C: 1, L: U, R: F, D: $, V: z, I: et, H: G, N: Z, U: q, B: Y, F: K };
556
+ var Re = n3.litHtmlPolyfillSupport;
557
+ Re?.(B, et), (n3.litHtmlVersions ??= []).push("3.2.0");
558
+ var Q = (t5, i4, s3) => {
559
+ const e7 = s3?.renderBefore ?? i4;
560
+ let h5 = e7._$litPart$;
561
+ if (void 0 === h5) {
562
+ const t6 = s3?.renderBefore ?? null;
563
+ e7._$litPart$ = h5 = new et(i4.insertBefore(lt(), t6), t6, void 0, s3 ?? {});
564
+ }
565
+ return h5._$AI(t5), h5;
566
+ };
567
+
568
+ // ../../node_modules/lit/node_modules/lit-element/lit-element.js
569
+ var h3 = class extends b {
570
+ constructor() {
571
+ super(...arguments), this.renderOptions = { host: this }, this.o = void 0;
572
+ }
573
+ createRenderRoot() {
574
+ const t5 = super.createRenderRoot();
575
+ return this.renderOptions.renderBefore ??= t5.firstChild, t5;
576
+ }
577
+ update(t5) {
578
+ const e7 = this.render();
579
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t5), this.o = Q(e7, this.renderRoot, this.renderOptions);
580
+ }
581
+ connectedCallback() {
582
+ super.connectedCallback(), this.o?.setConnected(true);
583
+ }
584
+ disconnectedCallback() {
585
+ super.disconnectedCallback(), this.o?.setConnected(false);
586
+ }
587
+ render() {
588
+ return R;
589
+ }
590
+ };
591
+ h3._$litElement$ = true, h3["finalized"] = true, globalThis.litElementHydrateSupport?.({ LitElement: h3 });
592
+ var f3 = globalThis.litElementPolyfillSupport;
593
+ f3?.({ LitElement: h3 });
594
+ (globalThis.litElementVersions ??= []).push("4.1.0");
595
+
596
+ // ../../node_modules/lit/node_modules/lit-html/directive.js
597
+ var t2 = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 };
598
+ var e3 = (t5) => (...e7) => ({ _$litDirective$: t5, values: e7 });
599
+ var i3 = class {
600
+ constructor(t5) {
601
+ }
602
+ get _$AU() {
603
+ return this._$AM._$AU;
604
+ }
605
+ _$AT(t5, e7, i4) {
606
+ this.t = t5, this._$AM = e7, this.i = i4;
607
+ }
608
+ _$AS(t5, e7) {
609
+ return this.update(t5, e7);
610
+ }
611
+ update(t5, e7) {
612
+ return this.render(...e7);
613
+ }
614
+ };
615
+
616
+ // ../../node_modules/lit/node_modules/lit-html/directives/style-map.js
617
+ var ee = "important";
618
+ var ie = " !" + ee;
619
+ var se = e3(class extends i3 {
620
+ constructor(e7) {
621
+ if (super(e7), e7.type !== t2.ATTRIBUTE || "style" !== e7.name || e7.strings?.length > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
622
+ }
623
+ render(t5) {
624
+ return Object.keys(t5).reduce((e7, r6) => {
625
+ const s3 = t5[r6];
626
+ return null == s3 ? e7 : e7 + `${r6 = r6.includes("-") ? r6 : r6.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${s3};`;
627
+ }, "");
628
+ }
629
+ update(t5, [e7]) {
630
+ const { style: r6 } = t5.element;
631
+ if (void 0 === this.ft) return this.ft = new Set(Object.keys(e7)), this.render(e7);
632
+ for (const t6 of this.ft) null == e7[t6] && (this.ft.delete(t6), t6.includes("-") ? r6.removeProperty(t6) : r6[t6] = null);
633
+ for (const t6 in e7) {
634
+ const s3 = e7[t6];
635
+ if (null != s3) {
636
+ this.ft.add(t6);
637
+ const e8 = "string" == typeof s3 && s3.endsWith(ie);
638
+ t6.includes("-") || e8 ? r6.setProperty(t6, e8 ? s3.slice(0, -11) : s3, e8 ? ee : "") : r6[t6] = s3;
639
+ }
640
+ }
641
+ return R;
642
+ }
643
+ });
644
+
645
+ // ../../node_modules/lit/node_modules/lit-html/directives/class-map.js
646
+ var Rt = e3(class extends i3 {
647
+ constructor(s3) {
648
+ if (super(s3), s3.type !== t2.ATTRIBUTE || "class" !== s3.name || s3.strings?.length > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
649
+ }
650
+ render(t5) {
651
+ return " " + Object.keys(t5).filter((s3) => t5[s3]).join(" ") + " ";
652
+ }
653
+ update(t5, [s3]) {
654
+ if (void 0 === this.st) {
655
+ this.st = /* @__PURE__ */ new Set(), void 0 !== t5.strings && (this.nt = new Set(t5.strings.join(" ").split(/\s/).filter((t6) => "" !== t6)));
656
+ for (const t6 in s3) s3[t6] && !this.nt?.has(t6) && this.st.add(t6);
657
+ return this.render(s3);
658
+ }
659
+ const i4 = t5.element.classList;
660
+ for (const t6 of this.st) t6 in s3 || (i4.remove(t6), this.st.delete(t6));
661
+ for (const t6 in s3) {
662
+ const r6 = !!s3[t6];
663
+ r6 === this.st.has(t6) || this.nt?.has(t6) || (r6 ? (i4.add(t6), this.st.add(t6)) : (i4.remove(t6), this.st.delete(t6)));
664
+ }
665
+ return R;
666
+ }
667
+ });
668
+
669
+ // ../lit/index.js
670
+ var __create2 = Object.create;
671
+ var __defProp2 = Object.defineProperty;
672
+ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
673
+ var __knownSymbol2 = (name, symbol) => (symbol = Symbol[name]) ? symbol : Symbol.for("Symbol." + name);
674
+ var __typeError2 = (msg) => {
675
+ throw TypeError(msg);
676
+ };
677
+ var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
678
+ var __name2 = (target, value) => __defProp2(target, "name", { value, configurable: true });
679
+ var __decoratorStart2 = (base) => [, , , __create2(base?.[__knownSymbol2("metadata")] ?? null)];
680
+ var __decoratorStrings2 = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"];
681
+ var __expectFn2 = (fn) => fn !== void 0 && typeof fn !== "function" ? __typeError2("Function expected") : fn;
682
+ var __decoratorContext2 = (kind, name, done, metadata, fns) => ({ kind: __decoratorStrings2[kind], name, metadata, addInitializer: (fn) => done._ ? __typeError2("Already initialized") : fns.push(__expectFn2(fn || null)) });
683
+ var __decoratorMetadata2 = (array, target) => __defNormalProp2(target, __knownSymbol2("metadata"), array[3]);
684
+ var __runInitializers2 = (array, flags, self, value) => {
685
+ for (var i32 = 0, fns = array[flags >> 1], n52 = fns && fns.length; i32 < n52; i32++) flags & 1 ? fns[i32].call(self) : value = fns[i32].call(self, value);
686
+ return value;
687
+ };
688
+ var __decorateElement2 = (array, flags, name, decorators, target, extra) => {
689
+ var fn, it, done, ctx, access, k22 = flags & 7, s22 = !!(flags & 8), p22 = !!(flags & 16);
690
+ var j22 = k22 > 3 ? array.length + 1 : k22 ? s22 ? 1 : 2 : 0, key = __decoratorStrings2[k22 + 5];
691
+ var initializers = k22 > 3 && (array[j22 - 1] = []), extraInitializers = array[j22] || (array[j22] = []);
692
+ var desc = k22 && (!p22 && !s22 && (target = target.prototype), k22 < 5 && (k22 > 3 || !p22) && __getOwnPropDesc2(k22 < 4 ? target : { get [name]() {
693
+ return __privateGet2(this, extra);
694
+ }, set [name](x22) {
695
+ return __privateSet2(this, extra, x22);
696
+ } }, name));
697
+ k22 ? p22 && k22 < 4 && __name2(extra, (k22 > 2 ? "set " : k22 > 1 ? "get " : "") + name) : __name2(target, name);
698
+ for (var i32 = decorators.length - 1; i32 >= 0; i32--) {
699
+ ctx = __decoratorContext2(k22, name, done = {}, array[3], extraInitializers);
700
+ if (k22) {
701
+ ctx.static = s22, ctx.private = p22, access = ctx.access = { has: p22 ? (x22) => __privateIn2(target, x22) : (x22) => name in x22 };
702
+ if (k22 ^ 3) access.get = p22 ? (x22) => (k22 ^ 1 ? __privateGet2 : __privateMethod2)(x22, target, k22 ^ 4 ? extra : desc.get) : (x22) => x22[name];
703
+ if (k22 > 2) access.set = p22 ? (x22, y22) => __privateSet2(x22, target, y22, k22 ^ 4 ? extra : desc.set) : (x22, y22) => x22[name] = y22;
704
+ }
705
+ it = (0, decorators[i32])(k22 ? k22 < 4 ? p22 ? extra : desc[key] : k22 > 4 ? void 0 : { get: desc.get, set: desc.set } : target, ctx), done._ = 1;
706
+ if (k22 ^ 4 || it === void 0) __expectFn2(it) && (k22 > 4 ? initializers.unshift(it) : k22 ? p22 ? extra = it : desc[key] = it : target = it);
707
+ else if (typeof it !== "object" || it === null) __typeError2("Object expected");
708
+ else __expectFn2(fn = it.get) && (desc.get = fn), __expectFn2(fn = it.set) && (desc.set = fn), __expectFn2(fn = it.init) && initializers.unshift(fn);
709
+ }
710
+ return k22 || __decoratorMetadata2(array, target), desc && __defProp2(target, name, desc), p22 ? k22 ^ 4 ? extra : desc : target;
711
+ };
712
+ var __publicField2 = (obj, key, value) => __defNormalProp2(obj, typeof key !== "symbol" ? key + "" : key, value);
713
+ var __accessCheck2 = (obj, member, msg) => member.has(obj) || __typeError2("Cannot " + msg);
714
+ var __privateIn2 = (member, obj) => Object(obj) !== obj ? __typeError2('Cannot use the "in" operator on this value') : member.has(obj);
715
+ var __privateGet2 = (obj, member, getter) => (__accessCheck2(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
716
+ var __privateAdd2 = (obj, member, value) => member.has(obj) ? __typeError2("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
717
+ var __privateSet2 = (obj, member, value, setter) => (__accessCheck2(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
718
+ var __privateMethod2 = (obj, member, method) => (__accessCheck2(obj, member, "access private method"), method);
719
+ var t3 = globalThis;
720
+ var e4 = t3.ShadowRoot && (void 0 === t3.ShadyCSS || t3.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype;
721
+ var s2 = Symbol();
722
+ var o3 = /* @__PURE__ */ new WeakMap();
723
+ var n4 = class {
724
+ constructor(t22, e42, o42) {
725
+ if (this._$cssResult$ = true, o42 !== s2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
726
+ this.cssText = t22, this.t = e42;
727
+ }
728
+ get styleSheet() {
729
+ let t22 = this.o;
730
+ const s22 = this.t;
731
+ if (e4 && void 0 === t22) {
732
+ const e42 = void 0 !== s22 && 1 === s22.length;
733
+ e42 && (t22 = o3.get(s22)), void 0 === t22 && ((this.o = t22 = new CSSStyleSheet()).replaceSync(this.cssText), e42 && o3.set(s22, t22));
734
+ }
735
+ return t22;
736
+ }
737
+ toString() {
738
+ return this.cssText;
739
+ }
740
+ };
741
+ var r3 = (t22) => new n4("string" == typeof t22 ? t22 : t22 + "", void 0, s2);
742
+ var S3 = (s22, o42) => {
743
+ if (e4) s22.adoptedStyleSheets = o42.map((t22) => t22 instanceof CSSStyleSheet ? t22 : t22.styleSheet);
744
+ else for (const e42 of o42) {
745
+ const o5 = document.createElement("style"), n52 = t3.litNonce;
746
+ void 0 !== n52 && o5.setAttribute("nonce", n52), o5.textContent = e42.cssText, s22.appendChild(o5);
747
+ }
748
+ };
749
+ var c4 = e4 ? (t22) => t22 : (t22) => t22 instanceof CSSStyleSheet ? ((t32) => {
750
+ let e42 = "";
751
+ for (const s22 of t32.cssRules) e42 += s22.cssText;
752
+ return r3(e42);
753
+ })(t22) : t22;
754
+ var { is: i22, defineProperty: e22, getOwnPropertyDescriptor: r22, getOwnPropertyNames: h4, getOwnPropertySymbols: o22, getPrototypeOf: n22 } = Object;
755
+ var a2 = globalThis;
756
+ var c22 = a2.trustedTypes;
757
+ var l2 = c22 ? c22.emptyScript : "";
758
+ var p2 = a2.reactiveElementPolyfillSupport;
759
+ var d2 = (t22, s22) => t22;
760
+ var u2 = { toAttribute(t22, s22) {
761
+ switch (s22) {
762
+ case Boolean:
763
+ t22 = t22 ? l2 : null;
764
+ break;
765
+ case Object:
766
+ case Array:
767
+ t22 = null == t22 ? t22 : JSON.stringify(t22);
768
+ }
769
+ return t22;
770
+ }, fromAttribute(t22, s22) {
771
+ let i32 = t22;
772
+ switch (s22) {
773
+ case Boolean:
774
+ i32 = null !== t22;
775
+ break;
776
+ case Number:
777
+ i32 = null === t22 ? null : Number(t22);
778
+ break;
779
+ case Object:
780
+ case Array:
781
+ try {
782
+ i32 = JSON.parse(t22);
783
+ } catch (t32) {
784
+ i32 = null;
785
+ }
786
+ }
787
+ return i32;
788
+ } };
789
+ var f4 = (t22, s22) => !i22(t22, s22);
790
+ var y2 = { attribute: true, type: String, converter: u2, reflect: false, hasChanged: f4 };
791
+ Symbol.metadata ??= Symbol("metadata"), a2.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
792
+ var b2 = class extends HTMLElement {
793
+ static addInitializer(t22) {
794
+ this._$Ei(), (this.l ??= []).push(t22);
795
+ }
796
+ static get observedAttributes() {
797
+ return this.finalize(), this._$Eh && [...this._$Eh.keys()];
798
+ }
799
+ static createProperty(t22, s22 = y2) {
800
+ if (s22.state && (s22.attribute = false), this._$Ei(), this.elementProperties.set(t22, s22), !s22.noAccessor) {
801
+ const i32 = Symbol(), r42 = this.getPropertyDescriptor(t22, i32, s22);
802
+ void 0 !== r42 && e22(this.prototype, t22, r42);
803
+ }
804
+ }
805
+ static getPropertyDescriptor(t22, s22, i32) {
806
+ const { get: e42, set: h42 } = r22(this.prototype, t22) ?? { get() {
807
+ return this[s22];
808
+ }, set(t32) {
809
+ this[s22] = t32;
810
+ } };
811
+ return { get() {
812
+ return e42?.call(this);
813
+ }, set(s3) {
814
+ const r42 = e42?.call(this);
815
+ h42.call(this, s3), this.requestUpdate(t22, r42, i32);
816
+ }, configurable: true, enumerable: true };
817
+ }
818
+ static getPropertyOptions(t22) {
819
+ return this.elementProperties.get(t22) ?? y2;
820
+ }
821
+ static _$Ei() {
822
+ if (this.hasOwnProperty(d2("elementProperties"))) return;
823
+ const t22 = n22(this);
824
+ t22.finalize(), void 0 !== t22.l && (this.l = [...t22.l]), this.elementProperties = new Map(t22.elementProperties);
825
+ }
826
+ static finalize() {
827
+ if (this.hasOwnProperty(d2("finalized"))) return;
828
+ if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d2("properties"))) {
829
+ const t32 = this.properties, s22 = [...h4(t32), ...o22(t32)];
830
+ for (const i32 of s22) this.createProperty(i32, t32[i32]);
831
+ }
832
+ const t22 = this[Symbol.metadata];
833
+ if (null !== t22) {
834
+ const s22 = litPropertyMetadata.get(t22);
835
+ if (void 0 !== s22) for (const [t32, i32] of s22) this.elementProperties.set(t32, i32);
836
+ }
837
+ this._$Eh = /* @__PURE__ */ new Map();
838
+ for (const [t32, s22] of this.elementProperties) {
839
+ const i32 = this._$Eu(t32, s22);
840
+ void 0 !== i32 && this._$Eh.set(i32, t32);
841
+ }
842
+ this.elementStyles = this.finalizeStyles(this.styles);
843
+ }
844
+ static finalizeStyles(s22) {
845
+ const i32 = [];
846
+ if (Array.isArray(s22)) {
847
+ const e42 = new Set(s22.flat(1 / 0).reverse());
848
+ for (const s3 of e42) i32.unshift(c4(s3));
849
+ } else void 0 !== s22 && i32.push(c4(s22));
850
+ return i32;
851
+ }
852
+ static _$Eu(t22, s22) {
853
+ const i32 = s22.attribute;
854
+ return false === i32 ? void 0 : "string" == typeof i32 ? i32 : "string" == typeof t22 ? t22.toLowerCase() : void 0;
855
+ }
856
+ constructor() {
857
+ super(), this._$Ep = void 0, this.isUpdatePending = false, this.hasUpdated = false, this._$Em = null, this._$Ev();
858
+ }
859
+ _$Ev() {
860
+ this._$ES = new Promise((t22) => this.enableUpdating = t22), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach((t22) => t22(this));
861
+ }
862
+ addController(t22) {
863
+ (this._$EO ??= /* @__PURE__ */ new Set()).add(t22), void 0 !== this.renderRoot && this.isConnected && t22.hostConnected?.();
864
+ }
865
+ removeController(t22) {
866
+ this._$EO?.delete(t22);
867
+ }
868
+ _$E_() {
869
+ const t22 = /* @__PURE__ */ new Map(), s22 = this.constructor.elementProperties;
870
+ for (const i32 of s22.keys()) this.hasOwnProperty(i32) && (t22.set(i32, this[i32]), delete this[i32]);
871
+ t22.size > 0 && (this._$Ep = t22);
872
+ }
873
+ createRenderRoot() {
874
+ const t22 = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
875
+ return S3(t22, this.constructor.elementStyles), t22;
876
+ }
877
+ connectedCallback() {
878
+ this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(true), this._$EO?.forEach((t22) => t22.hostConnected?.());
879
+ }
880
+ enableUpdating(t22) {
881
+ }
882
+ disconnectedCallback() {
883
+ this._$EO?.forEach((t22) => t22.hostDisconnected?.());
884
+ }
885
+ attributeChangedCallback(t22, s22, i32) {
886
+ this._$AK(t22, i32);
887
+ }
888
+ _$EC(t22, s22) {
889
+ const i32 = this.constructor.elementProperties.get(t22), e42 = this.constructor._$Eu(t22, i32);
890
+ if (void 0 !== e42 && true === i32.reflect) {
891
+ const r42 = (void 0 !== i32.converter?.toAttribute ? i32.converter : u2).toAttribute(s22, i32.type);
892
+ this._$Em = t22, null == r42 ? this.removeAttribute(e42) : this.setAttribute(e42, r42), this._$Em = null;
893
+ }
894
+ }
895
+ _$AK(t22, s22) {
896
+ const i32 = this.constructor, e42 = i32._$Eh.get(t22);
897
+ if (void 0 !== e42 && this._$Em !== e42) {
898
+ const t32 = i32.getPropertyOptions(e42), r42 = "function" == typeof t32.converter ? { fromAttribute: t32.converter } : void 0 !== t32.converter?.fromAttribute ? t32.converter : u2;
899
+ this._$Em = e42, this[e42] = r42.fromAttribute(s22, t32.type), this._$Em = null;
900
+ }
901
+ }
902
+ requestUpdate(t22, s22, i32) {
903
+ if (void 0 !== t22) {
904
+ if (i32 ??= this.constructor.getPropertyOptions(t22), !(i32.hasChanged ?? f4)(this[t22], s22)) return;
905
+ this.P(t22, s22, i32);
906
+ }
907
+ false === this.isUpdatePending && (this._$ES = this._$ET());
908
+ }
909
+ P(t22, s22, i32) {
910
+ this._$AL.has(t22) || this._$AL.set(t22, s22), true === i32.reflect && this._$Em !== t22 && (this._$Ej ??= /* @__PURE__ */ new Set()).add(t22);
911
+ }
912
+ async _$ET() {
913
+ this.isUpdatePending = true;
914
+ try {
915
+ await this._$ES;
916
+ } catch (t32) {
917
+ Promise.reject(t32);
918
+ }
919
+ const t22 = this.scheduleUpdate();
920
+ return null != t22 && await t22, !this.isUpdatePending;
921
+ }
922
+ scheduleUpdate() {
923
+ return this.performUpdate();
924
+ }
925
+ performUpdate() {
926
+ if (!this.isUpdatePending) return;
927
+ if (!this.hasUpdated) {
928
+ if (this.renderRoot ??= this.createRenderRoot(), this._$Ep) {
929
+ for (const [t42, s3] of this._$Ep) this[t42] = s3;
930
+ this._$Ep = void 0;
931
+ }
932
+ const t32 = this.constructor.elementProperties;
933
+ if (t32.size > 0) for (const [s3, i32] of t32) true !== i32.wrapped || this._$AL.has(s3) || void 0 === this[s3] || this.P(s3, this[s3], i32);
934
+ }
935
+ let t22 = false;
936
+ const s22 = this._$AL;
937
+ try {
938
+ t22 = this.shouldUpdate(s22), t22 ? (this.willUpdate(s22), this._$EO?.forEach((t32) => t32.hostUpdate?.()), this.update(s22)) : this._$EU();
939
+ } catch (s3) {
940
+ throw t22 = false, this._$EU(), s3;
941
+ }
942
+ t22 && this._$AE(s22);
943
+ }
944
+ willUpdate(t22) {
945
+ }
946
+ _$AE(t22) {
947
+ this._$EO?.forEach((t32) => t32.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t22)), this.updated(t22);
948
+ }
949
+ _$EU() {
950
+ this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = false;
951
+ }
952
+ get updateComplete() {
953
+ return this.getUpdateComplete();
954
+ }
955
+ getUpdateComplete() {
956
+ return this._$ES;
957
+ }
958
+ shouldUpdate(t22) {
959
+ return true;
960
+ }
961
+ update(t22) {
962
+ this._$Ej &&= this._$Ej.forEach((t32) => this._$EC(t32, this[t32])), this._$EU();
963
+ }
964
+ updated(t22) {
965
+ }
966
+ firstUpdated(t22) {
967
+ }
968
+ };
969
+ b2.elementStyles = [], b2.shadowRootOptions = { mode: "open" }, b2[d2("elementProperties")] = /* @__PURE__ */ new Map(), b2[d2("finalized")] = /* @__PURE__ */ new Map(), p2?.({ ReactiveElement: b2 }), (a2.reactiveElementVersions ??= []).push("2.0.4");
970
+ var n32 = globalThis;
971
+ var c32 = n32.trustedTypes;
972
+ var h22 = c32 ? c32.createPolicy("lit-html", { createHTML: (t22) => t22 }) : void 0;
973
+ var f22 = "$lit$";
974
+ var v2 = `lit$${Math.random().toFixed(9).slice(2)}$`;
975
+ var m2 = "?" + v2;
976
+ var _2 = `<${m2}>`;
977
+ var w2 = document;
978
+ var lt2 = () => w2.createComment("");
979
+ var st2 = (t22) => null === t22 || "object" != typeof t22 && "function" != typeof t22;
980
+ var g2 = Array.isArray;
981
+ var $2 = (t22) => g2(t22) || "function" == typeof t22?.[Symbol.iterator];
982
+ var x2 = "[ \n\f\r]";
983
+ var T2 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g;
984
+ var E2 = /-->/g;
985
+ var k2 = />/g;
986
+ var O2 = RegExp(`>|${x2}(?:([^\\s"'>=/]+)(${x2}*=${x2}*(?:[^
987
+ \f\r"'\`<>=]|("|')|))|$)`, "g");
988
+ var S22 = /'/g;
989
+ var j2 = /"/g;
990
+ var M2 = /^(?:script|style|textarea|title)$/i;
991
+ var P2 = (t22) => (i32, ...s22) => ({ _$litType$: t22, strings: i32, values: s22 });
992
+ var ke2 = P2(1);
993
+ var Oe2 = P2(2);
994
+ var Se2 = P2(3);
995
+ var R2 = Symbol.for("lit-noChange");
996
+ var D2 = Symbol.for("lit-nothing");
997
+ var V2 = /* @__PURE__ */ new WeakMap();
998
+ var I2 = w2.createTreeWalker(w2, 129);
999
+ function N2(t22, i32) {
1000
+ if (!g2(t22) || !t22.hasOwnProperty("raw")) throw Error("invalid template strings array");
1001
+ return void 0 !== h22 ? h22.createHTML(i32) : i32;
1002
+ }
1003
+ var U2 = (t22, i32) => {
1004
+ const s22 = t22.length - 1, e42 = [];
1005
+ let h42, o42 = 2 === i32 ? "<svg>" : 3 === i32 ? "<math>" : "", n52 = T2;
1006
+ for (let i4 = 0; i4 < s22; i4++) {
1007
+ const s3 = t22[i4];
1008
+ let r42, l22, c42 = -1, a22 = 0;
1009
+ for (; a22 < s3.length && (n52.lastIndex = a22, l22 = n52.exec(s3), null !== l22); ) a22 = n52.lastIndex, n52 === T2 ? "!--" === l22[1] ? n52 = E2 : void 0 !== l22[1] ? n52 = k2 : void 0 !== l22[2] ? (M2.test(l22[2]) && (h42 = RegExp("</" + l22[2], "g")), n52 = O2) : void 0 !== l22[3] && (n52 = O2) : n52 === O2 ? ">" === l22[0] ? (n52 = h42 ?? T2, c42 = -1) : void 0 === l22[1] ? c42 = -2 : (c42 = n52.lastIndex - l22[2].length, r42 = l22[1], n52 = void 0 === l22[3] ? O2 : '"' === l22[3] ? j2 : S22) : n52 === j2 || n52 === S22 ? n52 = O2 : n52 === E2 || n52 === k2 ? n52 = T2 : (n52 = O2, h42 = void 0);
1010
+ const u22 = n52 === O2 && t22[i4 + 1].startsWith("/>") ? " " : "";
1011
+ o42 += n52 === T2 ? s3 + _2 : c42 >= 0 ? (e42.push(r42), s3.slice(0, c42) + f22 + s3.slice(c42) + v2 + u22) : s3 + v2 + (-2 === c42 ? i4 : u22);
1012
+ }
1013
+ return [N2(t22, o42 + (t22[s22] || "<?>") + (2 === i32 ? "</svg>" : 3 === i32 ? "</math>" : "")), e42];
1014
+ };
1015
+ var B2 = class _B {
1016
+ constructor({ strings: t22, _$litType$: i32 }, s22) {
1017
+ let e42;
1018
+ this.parts = [];
1019
+ let h42 = 0, o42 = 0;
1020
+ const n52 = t22.length - 1, r42 = this.parts, [l22, a22] = U2(t22, i32);
1021
+ if (this.el = _B.createElement(l22, s22), I2.currentNode = this.el.content, 2 === i32 || 3 === i32) {
1022
+ const t32 = this.el.content.firstChild;
1023
+ t32.replaceWith(...t32.childNodes);
1024
+ }
1025
+ for (; null !== (e42 = I2.nextNode()) && r42.length < n52; ) {
1026
+ if (1 === e42.nodeType) {
1027
+ if (e42.hasAttributes()) for (const t32 of e42.getAttributeNames()) if (t32.endsWith(f22)) {
1028
+ const i4 = a22[o42++], s3 = e42.getAttribute(t32).split(v2), n6 = /([.?@])?(.*)/.exec(i4);
1029
+ r42.push({ type: 1, index: h42, name: n6[2], strings: s3, ctor: "." === n6[1] ? Y2 : "?" === n6[1] ? Z2 : "@" === n6[1] ? q2 : G2 }), e42.removeAttribute(t32);
1030
+ } else t32.startsWith(v2) && (r42.push({ type: 6, index: h42 }), e42.removeAttribute(t32));
1031
+ if (M2.test(e42.tagName)) {
1032
+ const t32 = e42.textContent.split(v2), i4 = t32.length - 1;
1033
+ if (i4 > 0) {
1034
+ e42.textContent = c32 ? c32.emptyScript : "";
1035
+ for (let s3 = 0; s3 < i4; s3++) e42.append(t32[s3], lt2()), I2.nextNode(), r42.push({ type: 2, index: ++h42 });
1036
+ e42.append(t32[i4], lt2());
1037
+ }
1038
+ }
1039
+ } else if (8 === e42.nodeType) if (e42.data === m2) r42.push({ type: 2, index: h42 });
1040
+ else {
1041
+ let t32 = -1;
1042
+ for (; -1 !== (t32 = e42.data.indexOf(v2, t32 + 1)); ) r42.push({ type: 7, index: h42 }), t32 += v2.length - 1;
1043
+ }
1044
+ h42++;
1045
+ }
1046
+ }
1047
+ static createElement(t22, i32) {
1048
+ const s22 = w2.createElement("template");
1049
+ return s22.innerHTML = t22, s22;
1050
+ }
1051
+ };
1052
+ function z2(t22, i32, s22 = t22, e42) {
1053
+ if (i32 === R2) return i32;
1054
+ let h42 = void 0 !== e42 ? s22.o?.[e42] : s22.l;
1055
+ const o42 = st2(i32) ? void 0 : i32._$litDirective$;
1056
+ return h42?.constructor !== o42 && (h42?._$AO?.(false), void 0 === o42 ? h42 = void 0 : (h42 = new o42(t22), h42._$AT(t22, s22, e42)), void 0 !== e42 ? (s22.o ??= [])[e42] = h42 : s22.l = h42), void 0 !== h42 && (i32 = z2(t22, h42._$AS(t22, i32.values), h42, e42)), i32;
1057
+ }
1058
+ var F2 = class {
1059
+ constructor(t22, i32) {
1060
+ this._$AV = [], this._$AN = void 0, this._$AD = t22, this._$AM = i32;
1061
+ }
1062
+ get parentNode() {
1063
+ return this._$AM.parentNode;
1064
+ }
1065
+ get _$AU() {
1066
+ return this._$AM._$AU;
1067
+ }
1068
+ u(t22) {
1069
+ const { el: { content: i32 }, parts: s22 } = this._$AD, e42 = (t22?.creationScope ?? w2).importNode(i32, true);
1070
+ I2.currentNode = e42;
1071
+ let h42 = I2.nextNode(), o42 = 0, n52 = 0, r42 = s22[0];
1072
+ for (; void 0 !== r42; ) {
1073
+ if (o42 === r42.index) {
1074
+ let i4;
1075
+ 2 === r42.type ? i4 = new et2(h42, h42.nextSibling, this, t22) : 1 === r42.type ? i4 = new r42.ctor(h42, r42.name, r42.strings, this, t22) : 6 === r42.type && (i4 = new K2(h42, this, t22)), this._$AV.push(i4), r42 = s22[++n52];
1076
+ }
1077
+ o42 !== r42?.index && (h42 = I2.nextNode(), o42++);
1078
+ }
1079
+ return I2.currentNode = w2, e42;
1080
+ }
1081
+ p(t22) {
1082
+ let i32 = 0;
1083
+ for (const s22 of this._$AV) void 0 !== s22 && (void 0 !== s22.strings ? (s22._$AI(t22, s22, i32), i32 += s22.strings.length - 2) : s22._$AI(t22[i32])), i32++;
1084
+ }
1085
+ };
1086
+ var et2 = class _et {
1087
+ get _$AU() {
1088
+ return this._$AM?._$AU ?? this.v;
1089
+ }
1090
+ constructor(t22, i32, s22, e42) {
1091
+ this.type = 2, this._$AH = D2, this._$AN = void 0, this._$AA = t22, this._$AB = i32, this._$AM = s22, this.options = e42, this.v = e42?.isConnected ?? true;
1092
+ }
1093
+ get parentNode() {
1094
+ let t22 = this._$AA.parentNode;
1095
+ const i32 = this._$AM;
1096
+ return void 0 !== i32 && 11 === t22?.nodeType && (t22 = i32.parentNode), t22;
1097
+ }
1098
+ get startNode() {
1099
+ return this._$AA;
1100
+ }
1101
+ get endNode() {
1102
+ return this._$AB;
1103
+ }
1104
+ _$AI(t22, i32 = this) {
1105
+ t22 = z2(this, t22, i32), st2(t22) ? t22 === D2 || null == t22 || "" === t22 ? (this._$AH !== D2 && this._$AR(), this._$AH = D2) : t22 !== this._$AH && t22 !== R2 && this._(t22) : void 0 !== t22._$litType$ ? this.$(t22) : void 0 !== t22.nodeType ? this.T(t22) : $2(t22) ? this.k(t22) : this._(t22);
1106
+ }
1107
+ O(t22) {
1108
+ return this._$AA.parentNode.insertBefore(t22, this._$AB);
1109
+ }
1110
+ T(t22) {
1111
+ this._$AH !== t22 && (this._$AR(), this._$AH = this.O(t22));
1112
+ }
1113
+ _(t22) {
1114
+ this._$AH !== D2 && st2(this._$AH) ? this._$AA.nextSibling.data = t22 : this.T(w2.createTextNode(t22)), this._$AH = t22;
1115
+ }
1116
+ $(t22) {
1117
+ const { values: i32, _$litType$: s22 } = t22, e42 = "number" == typeof s22 ? this._$AC(t22) : (void 0 === s22.el && (s22.el = B2.createElement(N2(s22.h, s22.h[0]), this.options)), s22);
1118
+ if (this._$AH?._$AD === e42) this._$AH.p(i32);
1119
+ else {
1120
+ const t32 = new F2(e42, this), s3 = t32.u(this.options);
1121
+ t32.p(i32), this.T(s3), this._$AH = t32;
1122
+ }
1123
+ }
1124
+ _$AC(t22) {
1125
+ let i32 = V2.get(t22.strings);
1126
+ return void 0 === i32 && V2.set(t22.strings, i32 = new B2(t22)), i32;
1127
+ }
1128
+ k(t22) {
1129
+ g2(this._$AH) || (this._$AH = [], this._$AR());
1130
+ const i32 = this._$AH;
1131
+ let s22, e42 = 0;
1132
+ for (const h42 of t22) e42 === i32.length ? i32.push(s22 = new _et(this.O(lt2()), this.O(lt2()), this, this.options)) : s22 = i32[e42], s22._$AI(h42), e42++;
1133
+ e42 < i32.length && (this._$AR(s22 && s22._$AB.nextSibling, e42), i32.length = e42);
1134
+ }
1135
+ _$AR(t22 = this._$AA.nextSibling, i32) {
1136
+ for (this._$AP?.(false, true, i32); t22 && t22 !== this._$AB; ) {
1137
+ const i4 = t22.nextSibling;
1138
+ t22.remove(), t22 = i4;
1139
+ }
1140
+ }
1141
+ setConnected(t22) {
1142
+ void 0 === this._$AM && (this.v = t22, this._$AP?.(t22));
1143
+ }
1144
+ };
1145
+ var G2 = class {
1146
+ get tagName() {
1147
+ return this.element.tagName;
1148
+ }
1149
+ get _$AU() {
1150
+ return this._$AM._$AU;
1151
+ }
1152
+ constructor(t22, i32, s22, e42, h42) {
1153
+ this.type = 1, this._$AH = D2, this._$AN = void 0, this.element = t22, this.name = i32, this._$AM = e42, this.options = h42, s22.length > 2 || "" !== s22[0] || "" !== s22[1] ? (this._$AH = Array(s22.length - 1).fill(new String()), this.strings = s22) : this._$AH = D2;
1154
+ }
1155
+ _$AI(t22, i32 = this, s22, e42) {
1156
+ const h42 = this.strings;
1157
+ let o42 = false;
1158
+ if (void 0 === h42) t22 = z2(this, t22, i32, 0), o42 = !st2(t22) || t22 !== this._$AH && t22 !== R2, o42 && (this._$AH = t22);
1159
+ else {
1160
+ const e52 = t22;
1161
+ let n52, r42;
1162
+ for (t22 = h42[0], n52 = 0; n52 < h42.length - 1; n52++) r42 = z2(this, e52[s22 + n52], i32, n52), r42 === R2 && (r42 = this._$AH[n52]), o42 ||= !st2(r42) || r42 !== this._$AH[n52], r42 === D2 ? t22 = D2 : t22 !== D2 && (t22 += (r42 ?? "") + h42[n52 + 1]), this._$AH[n52] = r42;
1163
+ }
1164
+ o42 && !e42 && this.j(t22);
1165
+ }
1166
+ j(t22) {
1167
+ t22 === D2 ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t22 ?? "");
1168
+ }
1169
+ };
1170
+ var Y2 = class extends G2 {
1171
+ constructor() {
1172
+ super(...arguments), this.type = 3;
1173
+ }
1174
+ j(t22) {
1175
+ this.element[this.name] = t22 === D2 ? void 0 : t22;
1176
+ }
1177
+ };
1178
+ var Z2 = class extends G2 {
1179
+ constructor() {
1180
+ super(...arguments), this.type = 4;
1181
+ }
1182
+ j(t22) {
1183
+ this.element.toggleAttribute(this.name, !!t22 && t22 !== D2);
1184
+ }
1185
+ };
1186
+ var q2 = class extends G2 {
1187
+ constructor(t22, i32, s22, e42, h42) {
1188
+ super(t22, i32, s22, e42, h42), this.type = 5;
1189
+ }
1190
+ _$AI(t22, i32 = this) {
1191
+ if ((t22 = z2(this, t22, i32, 0) ?? D2) === R2) return;
1192
+ const s22 = this._$AH, e42 = t22 === D2 && s22 !== D2 || t22.capture !== s22.capture || t22.once !== s22.once || t22.passive !== s22.passive, h42 = t22 !== D2 && (s22 === D2 || e42);
1193
+ e42 && this.element.removeEventListener(this.name, this, s22), h42 && this.element.addEventListener(this.name, this, t22), this._$AH = t22;
1194
+ }
1195
+ handleEvent(t22) {
1196
+ "function" == typeof this._$AH ? this._$AH.call(this.options?.host ?? this.element, t22) : this._$AH.handleEvent(t22);
1197
+ }
1198
+ };
1199
+ var K2 = class {
1200
+ constructor(t22, i32, s22) {
1201
+ this.element = t22, this.type = 6, this._$AN = void 0, this._$AM = i32, this.options = s22;
1202
+ }
1203
+ get _$AU() {
1204
+ return this._$AM._$AU;
1205
+ }
1206
+ _$AI(t22) {
1207
+ z2(this, t22);
1208
+ }
1209
+ };
1210
+ var Re2 = n32.litHtmlPolyfillSupport;
1211
+ Re2?.(B2, et2), (n32.litHtmlVersions ??= []).push("3.2.0");
1212
+ var Q2 = (t22, i32, s22) => {
1213
+ const e42 = s22?.renderBefore ?? i32;
1214
+ let h42 = e42._$litPart$;
1215
+ if (void 0 === h42) {
1216
+ const t32 = s22?.renderBefore ?? null;
1217
+ e42._$litPart$ = h42 = new et2(i32.insertBefore(lt2(), t32), t32, void 0, s22 ?? {});
1218
+ }
1219
+ return h42._$AI(t22), h42;
1220
+ };
1221
+ var h32 = class extends b2 {
1222
+ constructor() {
1223
+ super(...arguments), this.renderOptions = { host: this }, this.o = void 0;
1224
+ }
1225
+ createRenderRoot() {
1226
+ const t22 = super.createRenderRoot();
1227
+ return this.renderOptions.renderBefore ??= t22.firstChild, t22;
1228
+ }
1229
+ update(t22) {
1230
+ const e42 = this.render();
1231
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t22), this.o = Q2(e42, this.renderRoot, this.renderOptions);
1232
+ }
1233
+ connectedCallback() {
1234
+ super.connectedCallback(), this.o?.setConnected(true);
1235
+ }
1236
+ disconnectedCallback() {
1237
+ super.disconnectedCallback(), this.o?.setConnected(false);
1238
+ }
1239
+ render() {
1240
+ return R2;
1241
+ }
1242
+ };
1243
+ h32._$litElement$ = true, h32["finalized"] = true, globalThis.litElementHydrateSupport?.({ LitElement: h32 });
1244
+ var f32 = globalThis.litElementPolyfillSupport;
1245
+ f32?.({ LitElement: h32 });
1246
+ (globalThis.litElementVersions ??= []).push("4.1.0");
1247
+ var o32 = { attribute: true, type: String, converter: u2, reflect: false, hasChanged: f4 };
1248
+ var r32 = (t22 = o32, e42, r42) => {
1249
+ const { kind: n52, metadata: i32 } = r42;
1250
+ let s22 = globalThis.litPropertyMetadata.get(i32);
1251
+ if (void 0 === s22 && globalThis.litPropertyMetadata.set(i32, s22 = /* @__PURE__ */ new Map()), s22.set(r42.name, t22), "accessor" === n52) {
1252
+ const { name: o42 } = r42;
1253
+ return { set(r52) {
1254
+ const n6 = e42.get.call(this);
1255
+ e42.set.call(this, r52), this.requestUpdate(o42, n6, t22);
1256
+ }, init(e52) {
1257
+ return void 0 !== e52 && this.P(o42, void 0, t22), e52;
1258
+ } };
1259
+ }
1260
+ if ("setter" === n52) {
1261
+ const { name: o42 } = r42;
1262
+ return function(r52) {
1263
+ const n6 = this[o42];
1264
+ e42.call(this, r52), this.requestUpdate(o42, n6, t22);
1265
+ };
1266
+ }
1267
+ throw Error("Unsupported decorator location: " + n52);
1268
+ };
1269
+ function n42(t22) {
1270
+ return (e42, o42) => "object" == typeof o42 ? r32(t22, e42, o42) : ((t32, e52, o5) => {
1271
+ const r42 = e52.hasOwnProperty(o5);
1272
+ return e52.constructor.createProperty(o5, r42 ? { ...t32, wrapped: true } : t32), r42 ? Object.getOwnPropertyDescriptor(e52, o5) : void 0;
1273
+ })(t22, e42, o42);
1274
+ }
1275
+ var appliedClassMixins = /* @__PURE__ */ new WeakMap();
1276
+ function wasMixinPreviouslyApplied(mixin, superClass) {
1277
+ let klass = superClass;
1278
+ while (klass) {
1279
+ if (appliedClassMixins.get(klass) === mixin) {
1280
+ return true;
1281
+ }
1282
+ klass = Object.getPrototypeOf(klass);
1283
+ }
1284
+ return false;
1285
+ }
1286
+ function dedupeMixin(mixin) {
1287
+ return (superClass) => {
1288
+ if (wasMixinPreviouslyApplied(mixin, superClass)) {
1289
+ return superClass;
1290
+ }
1291
+ const mixedClass = mixin(superClass);
1292
+ appliedClassMixins.set(mixedClass, mixin);
1293
+ return mixedClass;
1294
+ };
1295
+ }
1296
+ var version = "3.0.0";
1297
+ var versions = window.scopedElementsVersions || (window.scopedElementsVersions = []);
1298
+ if (!versions.includes(version)) {
1299
+ versions.push(version);
1300
+ }
1301
+ var ScopedElementsMixinImplementation = (superclass) => (
1302
+ /** @type {ScopedElementsHost} */
1303
+ class ScopedElementsHost extends superclass {
1304
+ /**
1305
+ * Obtains the scoped elements definitions map if specified.
1306
+ *
1307
+ * @type {ScopedElementsMap=}
1308
+ */
1309
+ static scopedElements;
1310
+ static get scopedElementsVersion() {
1311
+ return version;
1312
+ }
1313
+ /** @type {CustomElementRegistry=} */
1314
+ static __registry;
1315
+ /**
1316
+ * Obtains the CustomElementRegistry associated to the ShadowRoot.
1317
+ *
1318
+ * @returns {CustomElementRegistry=}
1319
+ */
1320
+ get registry() {
1321
+ return (
1322
+ /** @type {typeof ScopedElementsHost} */
1323
+ this.constructor.__registry
1324
+ );
1325
+ }
1326
+ /**
1327
+ * Set the CustomElementRegistry associated to the ShadowRoot
1328
+ *
1329
+ * @param {CustomElementRegistry} registry
1330
+ */
1331
+ set registry(registry2) {
1332
+ this.constructor.__registry = registry2;
1333
+ }
1334
+ /**
1335
+ * @param {ShadowRootInit} options
1336
+ * @returns {ShadowRoot}
1337
+ */
1338
+ attachShadow(options) {
1339
+ const { scopedElements } = (
1340
+ /** @type {typeof ScopedElementsHost} */
1341
+ this.constructor
1342
+ );
1343
+ const shouldCreateRegistry = !this.registry || // @ts-ignore
1344
+ this.registry === this.constructor.__registry && !Object.prototype.hasOwnProperty.call(this.constructor, "__registry");
1345
+ if (shouldCreateRegistry) {
1346
+ this.registry = new CustomElementRegistry();
1347
+ for (const [tagName, klass] of Object.entries(scopedElements ?? {})) {
1348
+ this.registry.define(tagName, klass);
1349
+ }
1350
+ }
1351
+ return super.attachShadow({
1352
+ ...options,
1353
+ // The polyfill currently expects the registry to be passed as `customElements`
1354
+ customElements: this.registry,
1355
+ // But the proposal has moved forward, and renamed it to `registry`
1356
+ // For backwards compatibility, we pass it as both
1357
+ registry: this.registry
1358
+ });
1359
+ }
1360
+ }
1361
+ );
1362
+ var ScopedElementsMixin = dedupeMixin(ScopedElementsMixinImplementation);
1363
+ var ScopedElementsMixinImplementation2 = (superclass) => (
1364
+ /** @type {ScopedElementsHost} */
1365
+ class ScopedElementsHost extends ScopedElementsMixin(superclass) {
1366
+ createRenderRoot() {
1367
+ const { shadowRootOptions, elementStyles } = (
1368
+ /** @type {TypeofLitElement} */
1369
+ this.constructor
1370
+ );
1371
+ const shadowRoot = this.attachShadow(shadowRootOptions);
1372
+ this.renderOptions.creationScope = shadowRoot;
1373
+ S3(shadowRoot, elementStyles);
1374
+ this.renderOptions.renderBefore ??= shadowRoot.firstChild;
1375
+ return shadowRoot;
1376
+ }
1377
+ }
1378
+ );
1379
+ var ScopedElementsMixin2 = dedupeMixin(ScopedElementsMixinImplementation2);
1380
+ var _lang_dec;
1381
+ var _contentEditable_dec;
1382
+ var _a;
1383
+ var _init;
1384
+ var _contentEditable;
1385
+ var _lang;
1386
+ var LitElementWw = class extends (_a = ScopedElementsMixin2(h32), _contentEditable_dec = [n42({ type: String, attribute: true, reflect: true })], _lang_dec = [n42({ type: String, attribute: true, reflect: true })], _a) {
1387
+ constructor() {
1388
+ super(...arguments);
1389
+ __publicField2(this, "options");
1390
+ __publicField2(this, "actions", {});
1391
+ __privateAdd2(this, _contentEditable, __runInitializers2(_init, 8, this)), __runInitializers2(_init, 11, this);
1392
+ __privateAdd2(this, _lang, __runInitializers2(_init, 12, this)), __runInitializers2(_init, 15, this);
1393
+ __publicField2(this, "_inTransaction", false);
1394
+ }
1395
+ connectedCallback() {
1396
+ super.connectedCallback();
1397
+ this.getAttributeNames().forEach((k22) => this.setAttribute(k22, this.getAttribute(k22)));
1398
+ }
1399
+ };
1400
+ _init = __decoratorStart2(_a);
1401
+ _contentEditable = /* @__PURE__ */ new WeakMap();
1402
+ _lang = /* @__PURE__ */ new WeakMap();
1403
+ __decorateElement2(_init, 4, "contentEditable", _contentEditable_dec, LitElementWw, _contentEditable);
1404
+ __decorateElement2(_init, 4, "lang", _lang_dec, LitElementWw, _lang);
1405
+ __decoratorMetadata2(_init, LitElementWw);
1406
+ __publicField2(LitElementWw, "shadowRootOptions", { ...h32.shadowRootOptions });
1407
+ __publicField2(LitElementWw, "options", {});
1408
+ __publicField2(LitElementWw, "actions", {});
1409
+
1410
+ // ../../node_modules/lit/node_modules/@lit/reactive-element/decorators/custom-element.js
1411
+ var t4 = (t5) => (e7, o5) => {
1412
+ void 0 !== o5 ? o5.addInitializer(() => {
1413
+ customElements.define(t5, e7);
1414
+ }) : customElements.define(t5, e7);
1415
+ };
1416
+
1417
+ // ../../node_modules/lit/node_modules/@lit/reactive-element/decorators/property.js
1418
+ var o4 = { attribute: true, type: String, converter: u, reflect: false, hasChanged: f };
1419
+ var r4 = (t5 = o4, e7, r6) => {
1420
+ const { kind: n6, metadata: i4 } = r6;
1421
+ let s3 = globalThis.litPropertyMetadata.get(i4);
1422
+ if (void 0 === s3 && globalThis.litPropertyMetadata.set(i4, s3 = /* @__PURE__ */ new Map()), s3.set(r6.name, t5), "accessor" === n6) {
1423
+ const { name: o5 } = r6;
1424
+ return { set(r7) {
1425
+ const n7 = e7.get.call(this);
1426
+ e7.set.call(this, r7), this.requestUpdate(o5, n7, t5);
1427
+ }, init(e8) {
1428
+ return void 0 !== e8 && this.P(o5, void 0, t5), e8;
1429
+ } };
1430
+ }
1431
+ if ("setter" === n6) {
1432
+ const { name: o5 } = r6;
1433
+ return function(r7) {
1434
+ const n7 = this[o5];
1435
+ e7.call(this, r7), this.requestUpdate(o5, n7, t5);
1436
+ };
1437
+ }
1438
+ throw Error("Unsupported decorator location: " + n6);
1439
+ };
1440
+ function n5(t5) {
1441
+ return (e7, o5) => "object" == typeof o5 ? r4(t5, e7, o5) : ((t6, e8, o6) => {
1442
+ const r6 = e8.hasOwnProperty(o6);
1443
+ return e8.constructor.createProperty(o6, r6 ? { ...t6, wrapped: true } : t6), r6 ? Object.getOwnPropertyDescriptor(e8, o6) : void 0;
1444
+ })(t5, e7, o5);
1445
+ }
1446
+
1447
+ // ../../node_modules/lit/node_modules/@lit/reactive-element/decorators/state.js
1448
+ function r5(r6) {
1449
+ return n5({ ...r6, state: true, attribute: false });
1450
+ }
1451
+
1452
+ // ../../node_modules/lit/node_modules/@lit/reactive-element/decorators/base.js
1453
+ var e5 = (e7, t5, c5) => (c5.configurable = true, c5.enumerable = true, Reflect.decorate && "object" != typeof t5 && Object.defineProperty(e7, t5, c5), c5);
1454
+
1455
+ // ../../node_modules/lit/node_modules/@lit/reactive-element/decorators/query.js
1456
+ function e6(e7, r6) {
1457
+ return (n6, s3, i4) => {
1458
+ const o5 = (t5) => t5.renderRoot?.querySelector(e7) ?? null;
1459
+ if (r6) {
1460
+ const { get: e8, set: r7 } = "object" == typeof s3 ? n6 : i4 ?? (() => {
1461
+ const t5 = Symbol();
1462
+ return { get() {
1463
+ return this[t5];
1464
+ }, set(e9) {
1465
+ this[t5] = e9;
1466
+ } };
1467
+ })();
1468
+ return e5(n6, s3, { get() {
1469
+ let t5 = e8.call(this);
1470
+ return void 0 === t5 && (t5 = o5(this), (null !== t5 || this.hasUpdated) && r7.call(this, t5)), t5;
1471
+ } });
1472
+ }
1473
+ return e5(n6, s3, { get() {
1474
+ return o5(this);
1475
+ } });
1476
+ };
1477
+ }
1478
+
1479
+ // ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.FKMWLPHV.js
1480
+ var radio_styles_default = i`
1481
+ :host {
1482
+ display: block;
1483
+ }
1484
+
1485
+ :host(:focus-visible) {
1486
+ outline: 0px;
1487
+ }
1488
+
1489
+ .radio {
1490
+ display: inline-flex;
1491
+ align-items: top;
1492
+ font-family: var(--sl-input-font-family);
1493
+ font-size: var(--sl-input-font-size-medium);
1494
+ font-weight: var(--sl-input-font-weight);
1495
+ color: var(--sl-input-label-color);
1496
+ vertical-align: middle;
1497
+ cursor: pointer;
1498
+ }
1499
+
1500
+ .radio--small {
1501
+ --toggle-size: var(--sl-toggle-size-small);
1502
+ font-size: var(--sl-input-font-size-small);
1503
+ }
1504
+
1505
+ .radio--medium {
1506
+ --toggle-size: var(--sl-toggle-size-medium);
1507
+ font-size: var(--sl-input-font-size-medium);
1508
+ }
1509
+
1510
+ .radio--large {
1511
+ --toggle-size: var(--sl-toggle-size-large);
1512
+ font-size: var(--sl-input-font-size-large);
1513
+ }
1514
+
1515
+ .radio__checked-icon {
1516
+ display: inline-flex;
1517
+ width: var(--toggle-size);
1518
+ height: var(--toggle-size);
1519
+ }
1520
+
1521
+ .radio__control {
1522
+ flex: 0 0 auto;
1523
+ position: relative;
1524
+ display: inline-flex;
1525
+ align-items: center;
1526
+ justify-content: center;
1527
+ width: var(--toggle-size);
1528
+ height: var(--toggle-size);
1529
+ border: solid var(--sl-input-border-width) var(--sl-input-border-color);
1530
+ border-radius: 50%;
1531
+ background-color: var(--sl-input-background-color);
1532
+ color: transparent;
1533
+ transition:
1534
+ var(--sl-transition-fast) border-color,
1535
+ var(--sl-transition-fast) background-color,
1536
+ var(--sl-transition-fast) color,
1537
+ var(--sl-transition-fast) box-shadow;
1538
+ }
1539
+
1540
+ .radio__input {
1541
+ position: absolute;
1542
+ opacity: 0;
1543
+ padding: 0;
1544
+ margin: 0;
1545
+ pointer-events: none;
1546
+ }
1547
+
1548
+ /* Hover */
1549
+ .radio:not(.radio--checked):not(.radio--disabled) .radio__control:hover {
1550
+ border-color: var(--sl-input-border-color-hover);
1551
+ background-color: var(--sl-input-background-color-hover);
1552
+ }
1553
+
1554
+ /* Checked */
1555
+ .radio--checked .radio__control {
1556
+ color: var(--sl-color-neutral-0);
1557
+ border-color: var(--sl-color-primary-600);
1558
+ background-color: var(--sl-color-primary-600);
1559
+ }
1560
+
1561
+ /* Checked + hover */
1562
+ .radio.radio--checked:not(.radio--disabled) .radio__control:hover {
1563
+ border-color: var(--sl-color-primary-500);
1564
+ background-color: var(--sl-color-primary-500);
1565
+ }
1566
+
1567
+ /* Checked + focus */
1568
+ :host(:focus-visible) .radio__control {
1569
+ outline: var(--sl-focus-ring);
1570
+ outline-offset: var(--sl-focus-ring-offset);
1571
+ }
1572
+
1573
+ /* Disabled */
1574
+ .radio--disabled {
1575
+ opacity: 0.5;
1576
+ cursor: not-allowed;
1577
+ }
1578
+
1579
+ /* When the control isn't checked, hide the circle for Windows High Contrast mode a11y */
1580
+ .radio:not(.radio--checked) svg circle {
1581
+ opacity: 0;
1582
+ }
1583
+
1584
+ .radio__label {
1585
+ display: inline-block;
1586
+ color: var(--sl-input-label-color);
1587
+ line-height: var(--toggle-size);
1588
+ margin-inline-start: 0.5em;
1589
+ user-select: none;
1590
+ -webkit-user-select: none;
1591
+ }
1592
+ `;
1593
+
1594
+ // ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.3Y6SB6QS.js
1595
+ var basePath = "";
1596
+ function setBasePath(path) {
1597
+ basePath = path;
1598
+ }
1599
+ function getBasePath(subpath = "") {
1600
+ if (!basePath) {
1601
+ const scripts = [...document.getElementsByTagName("script")];
1602
+ const configScript = scripts.find((script) => script.hasAttribute("data-shoelace"));
1603
+ if (configScript) {
1604
+ setBasePath(configScript.getAttribute("data-shoelace"));
1605
+ } else {
1606
+ const fallbackScript = scripts.find((s3) => {
1607
+ return /shoelace(\.min)?\.js($|\?)/.test(s3.src) || /shoelace-autoloader(\.min)?\.js($|\?)/.test(s3.src);
1608
+ });
1609
+ let path = "";
1610
+ if (fallbackScript) {
1611
+ path = fallbackScript.getAttribute("src");
1612
+ }
1613
+ setBasePath(path.split("/").slice(0, -1).join("/"));
1614
+ }
1615
+ }
1616
+ return basePath.replace(/\/$/, "") + (subpath ? `/${subpath.replace(/^\//, "")}` : ``);
1617
+ }
1618
+
1619
+ // ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.P7ZG6EMR.js
1620
+ var library = {
1621
+ name: "default",
1622
+ resolver: (name) => getBasePath(`assets/icons/${name}.svg`)
1623
+ };
1624
+ var library_default_default = library;
1625
+
1626
+ // ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.3TFKS637.js
1627
+ var icons = {
1628
+ caret: `
1629
+ <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
1630
+ <polyline points="6 9 12 15 18 9"></polyline>
1631
+ </svg>
1632
+ `,
1633
+ check: `
1634
+ <svg part="checked-icon" class="checkbox__icon" viewBox="0 0 16 16">
1635
+ <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">
1636
+ <g stroke="currentColor">
1637
+ <g transform="translate(3.428571, 3.428571)">
1638
+ <path d="M0,5.71428571 L3.42857143,9.14285714"></path>
1639
+ <path d="M9.14285714,0 L3.42857143,9.14285714"></path>
1640
+ </g>
1641
+ </g>
1642
+ </g>
1643
+ </svg>
1644
+ `,
1645
+ "chevron-down": `
1646
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16">
1647
+ <path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/>
1648
+ </svg>
1649
+ `,
1650
+ "chevron-left": `
1651
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-left" viewBox="0 0 16 16">
1652
+ <path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/>
1653
+ </svg>
1654
+ `,
1655
+ "chevron-right": `
1656
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16">
1657
+ <path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/>
1658
+ </svg>
1659
+ `,
1660
+ copy: `
1661
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-copy" viewBox="0 0 16 16">
1662
+ <path fill-rule="evenodd" d="M4 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V2Zm2-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H6ZM2 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1h1v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h1v1H2Z"/>
1663
+ </svg>
1664
+ `,
1665
+ eye: `
1666
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye" viewBox="0 0 16 16">
1667
+ <path d="M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S16 8 16 8zM1.173 8a13.133 13.133 0 0 1 1.66-2.043C4.12 4.668 5.88 3.5 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.133 13.133 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755C11.879 11.332 10.119 12.5 8 12.5c-2.12 0-3.879-1.168-5.168-2.457A13.134 13.134 0 0 1 1.172 8z"/>
1668
+ <path d="M8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM4.5 8a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0z"/>
1669
+ </svg>
1670
+ `,
1671
+ "eye-slash": `
1672
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye-slash" viewBox="0 0 16 16">
1673
+ <path d="M13.359 11.238C15.06 9.72 16 8 16 8s-3-5.5-8-5.5a7.028 7.028 0 0 0-2.79.588l.77.771A5.944 5.944 0 0 1 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.134 13.134 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755-.165.165-.337.328-.517.486l.708.709z"/>
1674
+ <path d="M11.297 9.176a3.5 3.5 0 0 0-4.474-4.474l.823.823a2.5 2.5 0 0 1 2.829 2.829l.822.822zm-2.943 1.299.822.822a3.5 3.5 0 0 1-4.474-4.474l.823.823a2.5 2.5 0 0 0 2.829 2.829z"/>
1675
+ <path d="M3.35 5.47c-.18.16-.353.322-.518.487A13.134 13.134 0 0 0 1.172 8l.195.288c.335.48.83 1.12 1.465 1.755C4.121 11.332 5.881 12.5 8 12.5c.716 0 1.39-.133 2.02-.36l.77.772A7.029 7.029 0 0 1 8 13.5C3 13.5 0 8 0 8s.939-1.721 2.641-3.238l.708.709zm10.296 8.884-12-12 .708-.708 12 12-.708.708z"/>
1676
+ </svg>
1677
+ `,
1678
+ eyedropper: `
1679
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eyedropper" viewBox="0 0 16 16">
1680
+ <path d="M13.354.646a1.207 1.207 0 0 0-1.708 0L8.5 3.793l-.646-.647a.5.5 0 1 0-.708.708L8.293 5l-7.147 7.146A.5.5 0 0 0 1 12.5v1.793l-.854.853a.5.5 0 1 0 .708.707L1.707 15H3.5a.5.5 0 0 0 .354-.146L11 7.707l1.146 1.147a.5.5 0 0 0 .708-.708l-.647-.646 3.147-3.146a1.207 1.207 0 0 0 0-1.708l-2-2zM2 12.707l7-7L10.293 7l-7 7H2v-1.293z"></path>
1681
+ </svg>
1682
+ `,
1683
+ "grip-vertical": `
1684
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-grip-vertical" viewBox="0 0 16 16">
1685
+ <path d="M7 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"></path>
1686
+ </svg>
1687
+ `,
1688
+ indeterminate: `
1689
+ <svg part="indeterminate-icon" class="checkbox__icon" viewBox="0 0 16 16">
1690
+ <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">
1691
+ <g stroke="currentColor" stroke-width="2">
1692
+ <g transform="translate(2.285714, 6.857143)">
1693
+ <path d="M10.2857143,1.14285714 L1.14285714,1.14285714"></path>
1694
+ </g>
1695
+ </g>
1696
+ </g>
1697
+ </svg>
1698
+ `,
1699
+ "person-fill": `
1700
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-person-fill" viewBox="0 0 16 16">
1701
+ <path d="M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>
1702
+ </svg>
1703
+ `,
1704
+ "play-fill": `
1705
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-play-fill" viewBox="0 0 16 16">
1706
+ <path d="m11.596 8.697-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z"></path>
1707
+ </svg>
1708
+ `,
1709
+ "pause-fill": `
1710
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-pause-fill" viewBox="0 0 16 16">
1711
+ <path d="M5.5 3.5A1.5 1.5 0 0 1 7 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5zm5 0A1.5 1.5 0 0 1 12 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5z"></path>
1712
+ </svg>
1713
+ `,
1714
+ radio: `
1715
+ <svg part="checked-icon" class="radio__icon" viewBox="0 0 16 16">
1716
+ <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
1717
+ <g fill="currentColor">
1718
+ <circle cx="8" cy="8" r="3.42857143"></circle>
1719
+ </g>
1720
+ </g>
1721
+ </svg>
1722
+ `,
1723
+ "star-fill": `
1724
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-star-fill" viewBox="0 0 16 16">
1725
+ <path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/>
1726
+ </svg>
1727
+ `,
1728
+ "x-lg": `
1729
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-lg" viewBox="0 0 16 16">
1730
+ <path d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z"/>
1731
+ </svg>
1732
+ `,
1733
+ "x-circle-fill": `
1734
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-circle-fill" viewBox="0 0 16 16">
1735
+ <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z"></path>
1736
+ </svg>
1737
+ `
1738
+ };
1739
+ var systemLibrary = {
1740
+ name: "system",
1741
+ resolver: (name) => {
1742
+ if (name in icons) {
1743
+ return `data:image/svg+xml,${encodeURIComponent(icons[name])}`;
1744
+ }
1745
+ return "";
1746
+ }
1747
+ };
1748
+ var library_system_default = systemLibrary;
1749
+
1750
+ // ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.ZL53POKZ.js
1751
+ var registry = [library_default_default, library_system_default];
1752
+ var watchedIcons = [];
1753
+ function watchIcon(icon) {
1754
+ watchedIcons.push(icon);
1755
+ }
1756
+ function unwatchIcon(icon) {
1757
+ watchedIcons = watchedIcons.filter((el) => el !== icon);
1758
+ }
1759
+ function getIconLibrary(name) {
1760
+ return registry.find((lib) => lib.name === name);
1761
+ }
1762
+
1763
+ // ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.QLXRCYS4.js
1764
+ var icon_styles_default = i`
1765
+ :host {
1766
+ display: inline-block;
1767
+ width: 1em;
1768
+ height: 1em;
1769
+ box-sizing: content-box !important;
1770
+ }
1771
+
1772
+ svg {
1773
+ display: block;
1774
+ height: 100%;
1775
+ width: 100%;
1776
+ }
1777
+ `;
1778
+
1779
+ // ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.IFDWM6P4.js
1780
+ var __defProp3 = Object.defineProperty;
1781
+ var __defProps = Object.defineProperties;
1782
+ var __getOwnPropDesc3 = Object.getOwnPropertyDescriptor;
1783
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
1784
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
1785
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
1786
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
1787
+ var __defNormalProp3 = (obj, key, value) => key in obj ? __defProp3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1788
+ var __spreadValues = (a3, b3) => {
1789
+ for (var prop in b3 || (b3 = {}))
1790
+ if (__hasOwnProp.call(b3, prop))
1791
+ __defNormalProp3(a3, prop, b3[prop]);
1792
+ if (__getOwnPropSymbols)
1793
+ for (var prop of __getOwnPropSymbols(b3)) {
1794
+ if (__propIsEnum.call(b3, prop))
1795
+ __defNormalProp3(a3, prop, b3[prop]);
1796
+ }
1797
+ return a3;
1798
+ };
1799
+ var __spreadProps = (a3, b3) => __defProps(a3, __getOwnPropDescs(b3));
1800
+ var __decorateClass = (decorators, target, key, kind) => {
1801
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc3(target, key) : target;
1802
+ for (var i4 = decorators.length - 1, decorator; i4 >= 0; i4--)
1803
+ if (decorator = decorators[i4])
1804
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
1805
+ if (kind && result)
1806
+ __defProp3(target, key, result);
1807
+ return result;
1808
+ };
1809
+
1810
+ // ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.2FB5TK5H.js
1811
+ function watch(propertyName, options) {
1812
+ const resolvedOptions = __spreadValues({
1813
+ waitUntilFirstUpdate: false
1814
+ }, options);
1815
+ return (proto, decoratedFnName) => {
1816
+ const { update } = proto;
1817
+ const watchedProperties = Array.isArray(propertyName) ? propertyName : [propertyName];
1818
+ proto.update = function(changedProps) {
1819
+ watchedProperties.forEach((property) => {
1820
+ const key = property;
1821
+ if (changedProps.has(key)) {
1822
+ const oldValue = changedProps.get(key);
1823
+ const newValue = this[key];
1824
+ if (oldValue !== newValue) {
1825
+ if (!resolvedOptions.waitUntilFirstUpdate || this.hasUpdated) {
1826
+ this[decoratedFnName](oldValue, newValue);
1827
+ }
1828
+ }
1829
+ }
1830
+ });
1831
+ update.call(this, changedProps);
1832
+ };
1833
+ };
1834
+ }
1835
+
1836
+ // ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.TUVJKY7S.js
1837
+ var component_styles_default = i`
1838
+ :host {
1839
+ box-sizing: border-box;
1840
+ }
1841
+
1842
+ :host *,
1843
+ :host *::before,
1844
+ :host *::after {
1845
+ box-sizing: inherit;
1846
+ }
1847
+
1848
+ [hidden] {
1849
+ display: none !important;
1850
+ }
1851
+ `;
1852
+
1853
+ // ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.5THGRZAA.js
1854
+ var ShoelaceElement = class extends h3 {
1855
+ constructor() {
1856
+ super();
1857
+ Object.entries(this.constructor.dependencies).forEach(([name, component]) => {
1858
+ this.constructor.define(name, component);
1859
+ });
1860
+ }
1861
+ emit(name, options) {
1862
+ const event = new CustomEvent(name, __spreadValues({
1863
+ bubbles: true,
1864
+ cancelable: false,
1865
+ composed: true,
1866
+ detail: {}
1867
+ }, options));
1868
+ this.dispatchEvent(event);
1869
+ return event;
1870
+ }
1871
+ /* eslint-enable */
1872
+ static define(name, elementConstructor = this, options = {}) {
1873
+ const currentlyRegisteredConstructor = customElements.get(name);
1874
+ if (!currentlyRegisteredConstructor) {
1875
+ try {
1876
+ customElements.define(name, elementConstructor, options);
1877
+ } catch (_err) {
1878
+ customElements.define(name, class extends elementConstructor {
1879
+ }, options);
1880
+ }
1881
+ return;
1882
+ }
1883
+ let newVersion = " (unknown version)";
1884
+ let existingVersion = newVersion;
1885
+ if ("version" in elementConstructor && elementConstructor.version) {
1886
+ newVersion = " v" + elementConstructor.version;
1887
+ }
1888
+ if ("version" in currentlyRegisteredConstructor && currentlyRegisteredConstructor.version) {
1889
+ existingVersion = " v" + currentlyRegisteredConstructor.version;
1890
+ }
1891
+ if (newVersion && existingVersion && newVersion === existingVersion) {
1892
+ return;
1893
+ }
1894
+ console.warn(
1895
+ `Attempted to register <${name}>${newVersion}, but <${name}>${existingVersion} has already been registered.`
1896
+ );
1897
+ }
42
1898
  };
43
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
44
- var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
45
- var __privateIn = (member, obj) => Object(obj) !== obj ? __typeError('Cannot use the "in" operator on this value') : member.has(obj);
46
- var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
47
- var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
48
- var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
49
- var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
1899
+ ShoelaceElement.version = "2.16.0";
1900
+ ShoelaceElement.dependencies = {};
1901
+ __decorateClass([
1902
+ n5()
1903
+ ], ShoelaceElement.prototype, "dir", 2);
1904
+ __decorateClass([
1905
+ n5()
1906
+ ], ShoelaceElement.prototype, "lang", 2);
50
1907
 
51
- // src/widgets/webwriter-choice-item.ts
52
- import { css, html } from "lit";
53
- import { styleMap } from "lit/directives/style-map.js";
54
- import { classMap } from "lit/directives/class-map.js";
55
- import { LitElementWw } from "@webwriter/lit";
56
- import { customElement, property, query } from "lit/decorators.js";
57
- import SlRadio from "@shoelace-style/shoelace/dist/components/radio/radio.component.js";
58
- import SlCheckbox from "@shoelace-style/shoelace/dist/components/checkbox/checkbox.component.js";
59
- import SlIcon from "@shoelace-style/shoelace/dist/components/icon/icon.component.js";
60
- import { keyed } from "lit/directives/keyed.js";
1908
+ // ../../node_modules/lit/node_modules/lit-html/directive-helpers.js
1909
+ var { I: et3 } = si;
1910
+ var nt = (o5, t5) => void 0 === t5 ? void 0 !== o5?._$litType$ : o5?._$litType$ === t5;
1911
+ var rt = (o5) => void 0 === o5.strings;
1912
+ var ht = {};
1913
+ var dt = (o5, t5 = ht) => o5._$AH = t5;
1914
+
1915
+ // ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.ALSPWWWG.js
1916
+ var CACHEABLE_ERROR = Symbol();
1917
+ var RETRYABLE_ERROR = Symbol();
1918
+ var parser;
1919
+ var iconCache = /* @__PURE__ */ new Map();
1920
+ var SlIcon = class extends ShoelaceElement {
1921
+ constructor() {
1922
+ super(...arguments);
1923
+ this.initialRender = false;
1924
+ this.svg = null;
1925
+ this.label = "";
1926
+ this.library = "default";
1927
+ }
1928
+ /** Given a URL, this function returns the resulting SVG element or an appropriate error symbol. */
1929
+ async resolveIcon(url, library2) {
1930
+ var _a3;
1931
+ let fileData;
1932
+ if (library2 == null ? void 0 : library2.spriteSheet) {
1933
+ this.svg = ke`<svg part="svg">
1934
+ <use part="use" href="${url}"></use>
1935
+ </svg>`;
1936
+ await this.updateComplete;
1937
+ const svg = this.shadowRoot.querySelector("[part='svg']");
1938
+ if (typeof library2.mutator === "function") {
1939
+ library2.mutator(svg);
1940
+ }
1941
+ return this.svg;
1942
+ }
1943
+ try {
1944
+ fileData = await fetch(url, { mode: "cors" });
1945
+ if (!fileData.ok)
1946
+ return fileData.status === 410 ? CACHEABLE_ERROR : RETRYABLE_ERROR;
1947
+ } catch (e7) {
1948
+ return RETRYABLE_ERROR;
1949
+ }
1950
+ try {
1951
+ const div = document.createElement("div");
1952
+ div.innerHTML = await fileData.text();
1953
+ const svg = div.firstElementChild;
1954
+ if (((_a3 = svg == null ? void 0 : svg.tagName) == null ? void 0 : _a3.toLowerCase()) !== "svg")
1955
+ return CACHEABLE_ERROR;
1956
+ if (!parser)
1957
+ parser = new DOMParser();
1958
+ const doc = parser.parseFromString(svg.outerHTML, "text/html");
1959
+ const svgEl = doc.body.querySelector("svg");
1960
+ if (!svgEl)
1961
+ return CACHEABLE_ERROR;
1962
+ svgEl.part.add("svg");
1963
+ return document.adoptNode(svgEl);
1964
+ } catch (e7) {
1965
+ return CACHEABLE_ERROR;
1966
+ }
1967
+ }
1968
+ connectedCallback() {
1969
+ super.connectedCallback();
1970
+ watchIcon(this);
1971
+ }
1972
+ firstUpdated() {
1973
+ this.initialRender = true;
1974
+ this.setIcon();
1975
+ }
1976
+ disconnectedCallback() {
1977
+ super.disconnectedCallback();
1978
+ unwatchIcon(this);
1979
+ }
1980
+ getIconSource() {
1981
+ const library2 = getIconLibrary(this.library);
1982
+ if (this.name && library2) {
1983
+ return {
1984
+ url: library2.resolver(this.name),
1985
+ fromLibrary: true
1986
+ };
1987
+ }
1988
+ return {
1989
+ url: this.src,
1990
+ fromLibrary: false
1991
+ };
1992
+ }
1993
+ handleLabelChange() {
1994
+ const hasLabel = typeof this.label === "string" && this.label.length > 0;
1995
+ if (hasLabel) {
1996
+ this.setAttribute("role", "img");
1997
+ this.setAttribute("aria-label", this.label);
1998
+ this.removeAttribute("aria-hidden");
1999
+ } else {
2000
+ this.removeAttribute("role");
2001
+ this.removeAttribute("aria-label");
2002
+ this.setAttribute("aria-hidden", "true");
2003
+ }
2004
+ }
2005
+ async setIcon() {
2006
+ var _a3;
2007
+ const { url, fromLibrary } = this.getIconSource();
2008
+ const library2 = fromLibrary ? getIconLibrary(this.library) : void 0;
2009
+ if (!url) {
2010
+ this.svg = null;
2011
+ return;
2012
+ }
2013
+ let iconResolver = iconCache.get(url);
2014
+ if (!iconResolver) {
2015
+ iconResolver = this.resolveIcon(url, library2);
2016
+ iconCache.set(url, iconResolver);
2017
+ }
2018
+ if (!this.initialRender) {
2019
+ return;
2020
+ }
2021
+ const svg = await iconResolver;
2022
+ if (svg === RETRYABLE_ERROR) {
2023
+ iconCache.delete(url);
2024
+ }
2025
+ if (url !== this.getIconSource().url) {
2026
+ return;
2027
+ }
2028
+ if (nt(svg)) {
2029
+ this.svg = svg;
2030
+ return;
2031
+ }
2032
+ switch (svg) {
2033
+ case RETRYABLE_ERROR:
2034
+ case CACHEABLE_ERROR:
2035
+ this.svg = null;
2036
+ this.emit("sl-error");
2037
+ break;
2038
+ default:
2039
+ this.svg = svg.cloneNode(true);
2040
+ (_a3 = library2 == null ? void 0 : library2.mutator) == null ? void 0 : _a3.call(library2, this.svg);
2041
+ this.emit("sl-load");
2042
+ }
2043
+ }
2044
+ render() {
2045
+ return this.svg;
2046
+ }
2047
+ };
2048
+ SlIcon.styles = [component_styles_default, icon_styles_default];
2049
+ __decorateClass([
2050
+ r5()
2051
+ ], SlIcon.prototype, "svg", 2);
2052
+ __decorateClass([
2053
+ n5({ reflect: true })
2054
+ ], SlIcon.prototype, "name", 2);
2055
+ __decorateClass([
2056
+ n5()
2057
+ ], SlIcon.prototype, "src", 2);
2058
+ __decorateClass([
2059
+ n5()
2060
+ ], SlIcon.prototype, "label", 2);
2061
+ __decorateClass([
2062
+ n5({ reflect: true })
2063
+ ], SlIcon.prototype, "library", 2);
2064
+ __decorateClass([
2065
+ watch("label")
2066
+ ], SlIcon.prototype, "handleLabelChange", 1);
2067
+ __decorateClass([
2068
+ watch(["name", "src", "library"])
2069
+ ], SlIcon.prototype, "setIcon", 1);
2070
+
2071
+ // ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.QQTW5PZI.js
2072
+ var SlRadio = class extends ShoelaceElement {
2073
+ constructor() {
2074
+ super();
2075
+ this.checked = false;
2076
+ this.hasFocus = false;
2077
+ this.size = "medium";
2078
+ this.disabled = false;
2079
+ this.handleBlur = () => {
2080
+ this.hasFocus = false;
2081
+ this.emit("sl-blur");
2082
+ };
2083
+ this.handleClick = () => {
2084
+ if (!this.disabled) {
2085
+ this.checked = true;
2086
+ }
2087
+ };
2088
+ this.handleFocus = () => {
2089
+ this.hasFocus = true;
2090
+ this.emit("sl-focus");
2091
+ };
2092
+ this.addEventListener("blur", this.handleBlur);
2093
+ this.addEventListener("click", this.handleClick);
2094
+ this.addEventListener("focus", this.handleFocus);
2095
+ }
2096
+ connectedCallback() {
2097
+ super.connectedCallback();
2098
+ this.setInitialAttributes();
2099
+ }
2100
+ setInitialAttributes() {
2101
+ this.setAttribute("role", "radio");
2102
+ this.setAttribute("tabindex", "-1");
2103
+ this.setAttribute("aria-disabled", this.disabled ? "true" : "false");
2104
+ }
2105
+ handleCheckedChange() {
2106
+ this.setAttribute("aria-checked", this.checked ? "true" : "false");
2107
+ this.setAttribute("tabindex", this.checked ? "0" : "-1");
2108
+ }
2109
+ handleDisabledChange() {
2110
+ this.setAttribute("aria-disabled", this.disabled ? "true" : "false");
2111
+ }
2112
+ render() {
2113
+ return ke`
2114
+ <span
2115
+ part="base"
2116
+ class=${Rt({
2117
+ radio: true,
2118
+ "radio--checked": this.checked,
2119
+ "radio--disabled": this.disabled,
2120
+ "radio--focused": this.hasFocus,
2121
+ "radio--small": this.size === "small",
2122
+ "radio--medium": this.size === "medium",
2123
+ "radio--large": this.size === "large"
2124
+ })}
2125
+ >
2126
+ <span part="${`control${this.checked ? " control--checked" : ""}`}" class="radio__control">
2127
+ ${this.checked ? ke` <sl-icon part="checked-icon" class="radio__checked-icon" library="system" name="radio"></sl-icon> ` : ""}
2128
+ </span>
2129
+
2130
+ <slot part="label" class="radio__label"></slot>
2131
+ </span>
2132
+ `;
2133
+ }
2134
+ };
2135
+ SlRadio.styles = [component_styles_default, radio_styles_default];
2136
+ SlRadio.dependencies = { "sl-icon": SlIcon };
2137
+ __decorateClass([
2138
+ r5()
2139
+ ], SlRadio.prototype, "checked", 2);
2140
+ __decorateClass([
2141
+ r5()
2142
+ ], SlRadio.prototype, "hasFocus", 2);
2143
+ __decorateClass([
2144
+ n5()
2145
+ ], SlRadio.prototype, "value", 2);
2146
+ __decorateClass([
2147
+ n5({ reflect: true })
2148
+ ], SlRadio.prototype, "size", 2);
2149
+ __decorateClass([
2150
+ n5({ type: Boolean, reflect: true })
2151
+ ], SlRadio.prototype, "disabled", 2);
2152
+ __decorateClass([
2153
+ watch("checked")
2154
+ ], SlRadio.prototype, "handleCheckedChange", 1);
2155
+ __decorateClass([
2156
+ watch("disabled", { waitUntilFirstUpdate: true })
2157
+ ], SlRadio.prototype, "handleDisabledChange", 1);
2158
+
2159
+ // ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.R3NF57O3.js
2160
+ var checkbox_styles_default = i`
2161
+ :host {
2162
+ display: inline-block;
2163
+ }
2164
+
2165
+ .checkbox {
2166
+ position: relative;
2167
+ display: inline-flex;
2168
+ align-items: flex-start;
2169
+ font-family: var(--sl-input-font-family);
2170
+ font-weight: var(--sl-input-font-weight);
2171
+ color: var(--sl-input-label-color);
2172
+ vertical-align: middle;
2173
+ cursor: pointer;
2174
+ }
2175
+
2176
+ .checkbox--small {
2177
+ --toggle-size: var(--sl-toggle-size-small);
2178
+ font-size: var(--sl-input-font-size-small);
2179
+ }
2180
+
2181
+ .checkbox--medium {
2182
+ --toggle-size: var(--sl-toggle-size-medium);
2183
+ font-size: var(--sl-input-font-size-medium);
2184
+ }
2185
+
2186
+ .checkbox--large {
2187
+ --toggle-size: var(--sl-toggle-size-large);
2188
+ font-size: var(--sl-input-font-size-large);
2189
+ }
2190
+
2191
+ .checkbox__control {
2192
+ flex: 0 0 auto;
2193
+ position: relative;
2194
+ display: inline-flex;
2195
+ align-items: center;
2196
+ justify-content: center;
2197
+ width: var(--toggle-size);
2198
+ height: var(--toggle-size);
2199
+ border: solid var(--sl-input-border-width) var(--sl-input-border-color);
2200
+ border-radius: 2px;
2201
+ background-color: var(--sl-input-background-color);
2202
+ color: var(--sl-color-neutral-0);
2203
+ transition:
2204
+ var(--sl-transition-fast) border-color,
2205
+ var(--sl-transition-fast) background-color,
2206
+ var(--sl-transition-fast) color,
2207
+ var(--sl-transition-fast) box-shadow;
2208
+ }
2209
+
2210
+ .checkbox__input {
2211
+ position: absolute;
2212
+ opacity: 0;
2213
+ padding: 0;
2214
+ margin: 0;
2215
+ pointer-events: none;
2216
+ }
2217
+
2218
+ .checkbox__checked-icon,
2219
+ .checkbox__indeterminate-icon {
2220
+ display: inline-flex;
2221
+ width: var(--toggle-size);
2222
+ height: var(--toggle-size);
2223
+ }
2224
+
2225
+ /* Hover */
2226
+ .checkbox:not(.checkbox--checked):not(.checkbox--disabled) .checkbox__control:hover {
2227
+ border-color: var(--sl-input-border-color-hover);
2228
+ background-color: var(--sl-input-background-color-hover);
2229
+ }
2230
+
2231
+ /* Focus */
2232
+ .checkbox:not(.checkbox--checked):not(.checkbox--disabled) .checkbox__input:focus-visible ~ .checkbox__control {
2233
+ outline: var(--sl-focus-ring);
2234
+ outline-offset: var(--sl-focus-ring-offset);
2235
+ }
2236
+
2237
+ /* Checked/indeterminate */
2238
+ .checkbox--checked .checkbox__control,
2239
+ .checkbox--indeterminate .checkbox__control {
2240
+ border-color: var(--sl-color-primary-600);
2241
+ background-color: var(--sl-color-primary-600);
2242
+ }
2243
+
2244
+ /* Checked/indeterminate + hover */
2245
+ .checkbox.checkbox--checked:not(.checkbox--disabled) .checkbox__control:hover,
2246
+ .checkbox.checkbox--indeterminate:not(.checkbox--disabled) .checkbox__control:hover {
2247
+ border-color: var(--sl-color-primary-500);
2248
+ background-color: var(--sl-color-primary-500);
2249
+ }
2250
+
2251
+ /* Checked/indeterminate + focus */
2252
+ .checkbox.checkbox--checked:not(.checkbox--disabled) .checkbox__input:focus-visible ~ .checkbox__control,
2253
+ .checkbox.checkbox--indeterminate:not(.checkbox--disabled) .checkbox__input:focus-visible ~ .checkbox__control {
2254
+ outline: var(--sl-focus-ring);
2255
+ outline-offset: var(--sl-focus-ring-offset);
2256
+ }
2257
+
2258
+ /* Disabled */
2259
+ .checkbox--disabled {
2260
+ opacity: 0.5;
2261
+ cursor: not-allowed;
2262
+ }
2263
+
2264
+ .checkbox__label {
2265
+ display: inline-block;
2266
+ color: var(--sl-input-label-color);
2267
+ line-height: var(--toggle-size);
2268
+ margin-inline-start: 0.5em;
2269
+ user-select: none;
2270
+ -webkit-user-select: none;
2271
+ }
2272
+
2273
+ :host([required]) .checkbox__label::after {
2274
+ content: var(--sl-input-required-content);
2275
+ color: var(--sl-input-required-content-color);
2276
+ margin-inline-start: var(--sl-input-required-content-offset);
2277
+ }
2278
+ `;
2279
+
2280
+ // ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.GI7VDIWX.js
2281
+ var defaultValue = (propertyName = "value") => (proto, key) => {
2282
+ const ctor = proto.constructor;
2283
+ const attributeChangedCallback = ctor.prototype.attributeChangedCallback;
2284
+ ctor.prototype.attributeChangedCallback = function(name, old, value) {
2285
+ var _a3;
2286
+ const options = ctor.getPropertyOptions(propertyName);
2287
+ const attributeName = typeof options.attribute === "string" ? options.attribute : propertyName;
2288
+ if (name === attributeName) {
2289
+ const converter = options.converter || u;
2290
+ const fromAttribute = typeof converter === "function" ? converter : (_a3 = converter == null ? void 0 : converter.fromAttribute) != null ? _a3 : u.fromAttribute;
2291
+ const newValue = fromAttribute(value, options.type);
2292
+ if (this[propertyName] !== newValue) {
2293
+ this[key] = newValue;
2294
+ }
2295
+ }
2296
+ attributeChangedCallback.call(this, name, old, value);
2297
+ };
2298
+ };
2299
+
2300
+ // ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.SI4ACBFK.js
2301
+ var form_control_styles_default = i`
2302
+ .form-control .form-control__label {
2303
+ display: none;
2304
+ }
2305
+
2306
+ .form-control .form-control__help-text {
2307
+ display: none;
2308
+ }
2309
+
2310
+ /* Label */
2311
+ .form-control--has-label .form-control__label {
2312
+ display: inline-block;
2313
+ color: var(--sl-input-label-color);
2314
+ margin-bottom: var(--sl-spacing-3x-small);
2315
+ }
2316
+
2317
+ .form-control--has-label.form-control--small .form-control__label {
2318
+ font-size: var(--sl-input-label-font-size-small);
2319
+ }
2320
+
2321
+ .form-control--has-label.form-control--medium .form-control__label {
2322
+ font-size: var(--sl-input-label-font-size-medium);
2323
+ }
2324
+
2325
+ .form-control--has-label.form-control--large .form-control__label {
2326
+ font-size: var(--sl-input-label-font-size-large);
2327
+ }
2328
+
2329
+ :host([required]) .form-control--has-label .form-control__label::after {
2330
+ content: var(--sl-input-required-content);
2331
+ margin-inline-start: var(--sl-input-required-content-offset);
2332
+ color: var(--sl-input-required-content-color);
2333
+ }
2334
+
2335
+ /* Help text */
2336
+ .form-control--has-help-text .form-control__help-text {
2337
+ display: block;
2338
+ color: var(--sl-input-help-text-color);
2339
+ margin-top: var(--sl-spacing-3x-small);
2340
+ }
2341
+
2342
+ .form-control--has-help-text.form-control--small .form-control__help-text {
2343
+ font-size: var(--sl-input-help-text-font-size-small);
2344
+ }
2345
+
2346
+ .form-control--has-help-text.form-control--medium .form-control__help-text {
2347
+ font-size: var(--sl-input-help-text-font-size-medium);
2348
+ }
2349
+
2350
+ .form-control--has-help-text.form-control--large .form-control__help-text {
2351
+ font-size: var(--sl-input-help-text-font-size-large);
2352
+ }
2353
+
2354
+ .form-control--has-help-text.form-control--radio-group .form-control__help-text {
2355
+ margin-top: var(--sl-spacing-2x-small);
2356
+ }
2357
+ `;
2358
+
2359
+ // ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.KWPBDQ6I.js
2360
+ var formCollections = /* @__PURE__ */ new WeakMap();
2361
+ var reportValidityOverloads = /* @__PURE__ */ new WeakMap();
2362
+ var checkValidityOverloads = /* @__PURE__ */ new WeakMap();
2363
+ var userInteractedControls = /* @__PURE__ */ new WeakSet();
2364
+ var interactions = /* @__PURE__ */ new WeakMap();
2365
+ var FormControlController = class {
2366
+ constructor(host, options) {
2367
+ this.handleFormData = (event) => {
2368
+ const disabled = this.options.disabled(this.host);
2369
+ const name = this.options.name(this.host);
2370
+ const value = this.options.value(this.host);
2371
+ const isButton = this.host.tagName.toLowerCase() === "sl-button";
2372
+ if (this.host.isConnected && !disabled && !isButton && typeof name === "string" && name.length > 0 && typeof value !== "undefined") {
2373
+ if (Array.isArray(value)) {
2374
+ value.forEach((val) => {
2375
+ event.formData.append(name, val.toString());
2376
+ });
2377
+ } else {
2378
+ event.formData.append(name, value.toString());
2379
+ }
2380
+ }
2381
+ };
2382
+ this.handleFormSubmit = (event) => {
2383
+ var _a3;
2384
+ const disabled = this.options.disabled(this.host);
2385
+ const reportValidity = this.options.reportValidity;
2386
+ if (this.form && !this.form.noValidate) {
2387
+ (_a3 = formCollections.get(this.form)) == null ? void 0 : _a3.forEach((control) => {
2388
+ this.setUserInteracted(control, true);
2389
+ });
2390
+ }
2391
+ if (this.form && !this.form.noValidate && !disabled && !reportValidity(this.host)) {
2392
+ event.preventDefault();
2393
+ event.stopImmediatePropagation();
2394
+ }
2395
+ };
2396
+ this.handleFormReset = () => {
2397
+ this.options.setValue(this.host, this.options.defaultValue(this.host));
2398
+ this.setUserInteracted(this.host, false);
2399
+ interactions.set(this.host, []);
2400
+ };
2401
+ this.handleInteraction = (event) => {
2402
+ const emittedEvents = interactions.get(this.host);
2403
+ if (!emittedEvents.includes(event.type)) {
2404
+ emittedEvents.push(event.type);
2405
+ }
2406
+ if (emittedEvents.length === this.options.assumeInteractionOn.length) {
2407
+ this.setUserInteracted(this.host, true);
2408
+ }
2409
+ };
2410
+ this.checkFormValidity = () => {
2411
+ if (this.form && !this.form.noValidate) {
2412
+ const elements = this.form.querySelectorAll("*");
2413
+ for (const element of elements) {
2414
+ if (typeof element.checkValidity === "function") {
2415
+ if (!element.checkValidity()) {
2416
+ return false;
2417
+ }
2418
+ }
2419
+ }
2420
+ }
2421
+ return true;
2422
+ };
2423
+ this.reportFormValidity = () => {
2424
+ if (this.form && !this.form.noValidate) {
2425
+ const elements = this.form.querySelectorAll("*");
2426
+ for (const element of elements) {
2427
+ if (typeof element.reportValidity === "function") {
2428
+ if (!element.reportValidity()) {
2429
+ return false;
2430
+ }
2431
+ }
2432
+ }
2433
+ }
2434
+ return true;
2435
+ };
2436
+ (this.host = host).addController(this);
2437
+ this.options = __spreadValues({
2438
+ form: (input) => {
2439
+ const formId = input.form;
2440
+ if (formId) {
2441
+ const root = input.getRootNode();
2442
+ const form = root.querySelector(`#${formId}`);
2443
+ if (form) {
2444
+ return form;
2445
+ }
2446
+ }
2447
+ return input.closest("form");
2448
+ },
2449
+ name: (input) => input.name,
2450
+ value: (input) => input.value,
2451
+ defaultValue: (input) => input.defaultValue,
2452
+ disabled: (input) => {
2453
+ var _a3;
2454
+ return (_a3 = input.disabled) != null ? _a3 : false;
2455
+ },
2456
+ reportValidity: (input) => typeof input.reportValidity === "function" ? input.reportValidity() : true,
2457
+ checkValidity: (input) => typeof input.checkValidity === "function" ? input.checkValidity() : true,
2458
+ setValue: (input, value) => input.value = value,
2459
+ assumeInteractionOn: ["sl-input"]
2460
+ }, options);
2461
+ }
2462
+ hostConnected() {
2463
+ const form = this.options.form(this.host);
2464
+ if (form) {
2465
+ this.attachForm(form);
2466
+ }
2467
+ interactions.set(this.host, []);
2468
+ this.options.assumeInteractionOn.forEach((event) => {
2469
+ this.host.addEventListener(event, this.handleInteraction);
2470
+ });
2471
+ }
2472
+ hostDisconnected() {
2473
+ this.detachForm();
2474
+ interactions.delete(this.host);
2475
+ this.options.assumeInteractionOn.forEach((event) => {
2476
+ this.host.removeEventListener(event, this.handleInteraction);
2477
+ });
2478
+ }
2479
+ hostUpdated() {
2480
+ const form = this.options.form(this.host);
2481
+ if (!form) {
2482
+ this.detachForm();
2483
+ }
2484
+ if (form && this.form !== form) {
2485
+ this.detachForm();
2486
+ this.attachForm(form);
2487
+ }
2488
+ if (this.host.hasUpdated) {
2489
+ this.setValidity(this.host.validity.valid);
2490
+ }
2491
+ }
2492
+ attachForm(form) {
2493
+ if (form) {
2494
+ this.form = form;
2495
+ if (formCollections.has(this.form)) {
2496
+ formCollections.get(this.form).add(this.host);
2497
+ } else {
2498
+ formCollections.set(this.form, /* @__PURE__ */ new Set([this.host]));
2499
+ }
2500
+ this.form.addEventListener("formdata", this.handleFormData);
2501
+ this.form.addEventListener("submit", this.handleFormSubmit);
2502
+ this.form.addEventListener("reset", this.handleFormReset);
2503
+ if (!reportValidityOverloads.has(this.form)) {
2504
+ reportValidityOverloads.set(this.form, this.form.reportValidity);
2505
+ this.form.reportValidity = () => this.reportFormValidity();
2506
+ }
2507
+ if (!checkValidityOverloads.has(this.form)) {
2508
+ checkValidityOverloads.set(this.form, this.form.checkValidity);
2509
+ this.form.checkValidity = () => this.checkFormValidity();
2510
+ }
2511
+ } else {
2512
+ this.form = void 0;
2513
+ }
2514
+ }
2515
+ detachForm() {
2516
+ if (!this.form)
2517
+ return;
2518
+ const formCollection = formCollections.get(this.form);
2519
+ if (!formCollection) {
2520
+ return;
2521
+ }
2522
+ formCollection.delete(this.host);
2523
+ if (formCollection.size <= 0) {
2524
+ this.form.removeEventListener("formdata", this.handleFormData);
2525
+ this.form.removeEventListener("submit", this.handleFormSubmit);
2526
+ this.form.removeEventListener("reset", this.handleFormReset);
2527
+ if (reportValidityOverloads.has(this.form)) {
2528
+ this.form.reportValidity = reportValidityOverloads.get(this.form);
2529
+ reportValidityOverloads.delete(this.form);
2530
+ }
2531
+ if (checkValidityOverloads.has(this.form)) {
2532
+ this.form.checkValidity = checkValidityOverloads.get(this.form);
2533
+ checkValidityOverloads.delete(this.form);
2534
+ }
2535
+ this.form = void 0;
2536
+ }
2537
+ }
2538
+ setUserInteracted(el, hasInteracted) {
2539
+ if (hasInteracted) {
2540
+ userInteractedControls.add(el);
2541
+ } else {
2542
+ userInteractedControls.delete(el);
2543
+ }
2544
+ el.requestUpdate();
2545
+ }
2546
+ doAction(type, submitter) {
2547
+ if (this.form) {
2548
+ const button = document.createElement("button");
2549
+ button.type = type;
2550
+ button.style.position = "absolute";
2551
+ button.style.width = "0";
2552
+ button.style.height = "0";
2553
+ button.style.clipPath = "inset(50%)";
2554
+ button.style.overflow = "hidden";
2555
+ button.style.whiteSpace = "nowrap";
2556
+ if (submitter) {
2557
+ button.name = submitter.name;
2558
+ button.value = submitter.value;
2559
+ ["formaction", "formenctype", "formmethod", "formnovalidate", "formtarget"].forEach((attr) => {
2560
+ if (submitter.hasAttribute(attr)) {
2561
+ button.setAttribute(attr, submitter.getAttribute(attr));
2562
+ }
2563
+ });
2564
+ }
2565
+ this.form.append(button);
2566
+ button.click();
2567
+ button.remove();
2568
+ }
2569
+ }
2570
+ /** Returns the associated `<form>` element, if one exists. */
2571
+ getForm() {
2572
+ var _a3;
2573
+ return (_a3 = this.form) != null ? _a3 : null;
2574
+ }
2575
+ /** Resets the form, restoring all the control to their default value */
2576
+ reset(submitter) {
2577
+ this.doAction("reset", submitter);
2578
+ }
2579
+ /** Submits the form, triggering validation and form data injection. */
2580
+ submit(submitter) {
2581
+ this.doAction("submit", submitter);
2582
+ }
2583
+ /**
2584
+ * Synchronously sets the form control's validity. Call this when you know the future validity but need to update
2585
+ * the host element immediately, i.e. before Lit updates the component in the next update.
2586
+ */
2587
+ setValidity(isValid) {
2588
+ const host = this.host;
2589
+ const hasInteracted = Boolean(userInteractedControls.has(host));
2590
+ const required = Boolean(host.required);
2591
+ host.toggleAttribute("data-required", required);
2592
+ host.toggleAttribute("data-optional", !required);
2593
+ host.toggleAttribute("data-invalid", !isValid);
2594
+ host.toggleAttribute("data-valid", isValid);
2595
+ host.toggleAttribute("data-user-invalid", !isValid && hasInteracted);
2596
+ host.toggleAttribute("data-user-valid", isValid && hasInteracted);
2597
+ }
2598
+ /**
2599
+ * Updates the form control's validity based on the current value of `host.validity.valid`. Call this when anything
2600
+ * that affects constraint validation changes so the component receives the correct validity states.
2601
+ */
2602
+ updateValidity() {
2603
+ const host = this.host;
2604
+ this.setValidity(host.validity.valid);
2605
+ }
2606
+ /**
2607
+ * Dispatches a non-bubbling, cancelable custom event of type `sl-invalid`.
2608
+ * If the `sl-invalid` event will be cancelled then the original `invalid`
2609
+ * event (which may have been passed as argument) will also be cancelled.
2610
+ * If no original `invalid` event has been passed then the `sl-invalid`
2611
+ * event will be cancelled before being dispatched.
2612
+ */
2613
+ emitInvalidEvent(originalInvalidEvent) {
2614
+ const slInvalidEvent = new CustomEvent("sl-invalid", {
2615
+ bubbles: false,
2616
+ composed: false,
2617
+ cancelable: true,
2618
+ detail: {}
2619
+ });
2620
+ if (!originalInvalidEvent) {
2621
+ slInvalidEvent.preventDefault();
2622
+ }
2623
+ if (!this.host.dispatchEvent(slInvalidEvent)) {
2624
+ originalInvalidEvent == null ? void 0 : originalInvalidEvent.preventDefault();
2625
+ }
2626
+ }
2627
+ };
2628
+ var validValidityState = Object.freeze({
2629
+ badInput: false,
2630
+ customError: false,
2631
+ patternMismatch: false,
2632
+ rangeOverflow: false,
2633
+ rangeUnderflow: false,
2634
+ stepMismatch: false,
2635
+ tooLong: false,
2636
+ tooShort: false,
2637
+ typeMismatch: false,
2638
+ valid: true,
2639
+ valueMissing: false
2640
+ });
2641
+ var valueMissingValidityState = Object.freeze(__spreadProps(__spreadValues({}, validValidityState), {
2642
+ valid: false,
2643
+ valueMissing: true
2644
+ }));
2645
+ var customErrorValidityState = Object.freeze(__spreadProps(__spreadValues({}, validValidityState), {
2646
+ valid: false,
2647
+ customError: true
2648
+ }));
2649
+
2650
+ // ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.NYIIDP5N.js
2651
+ var HasSlotController = class {
2652
+ constructor(host, ...slotNames) {
2653
+ this.slotNames = [];
2654
+ this.handleSlotChange = (event) => {
2655
+ const slot = event.target;
2656
+ if (this.slotNames.includes("[default]") && !slot.name || slot.name && this.slotNames.includes(slot.name)) {
2657
+ this.host.requestUpdate();
2658
+ }
2659
+ };
2660
+ (this.host = host).addController(this);
2661
+ this.slotNames = slotNames;
2662
+ }
2663
+ hasDefaultSlot() {
2664
+ return [...this.host.childNodes].some((node) => {
2665
+ if (node.nodeType === node.TEXT_NODE && node.textContent.trim() !== "") {
2666
+ return true;
2667
+ }
2668
+ if (node.nodeType === node.ELEMENT_NODE) {
2669
+ const el = node;
2670
+ const tagName = el.tagName.toLowerCase();
2671
+ if (tagName === "sl-visually-hidden") {
2672
+ return false;
2673
+ }
2674
+ if (!el.hasAttribute("slot")) {
2675
+ return true;
2676
+ }
2677
+ }
2678
+ return false;
2679
+ });
2680
+ }
2681
+ hasNamedSlot(name) {
2682
+ return this.host.querySelector(`:scope > [slot="${name}"]`) !== null;
2683
+ }
2684
+ test(slotName) {
2685
+ return slotName === "[default]" ? this.hasDefaultSlot() : this.hasNamedSlot(slotName);
2686
+ }
2687
+ hostConnected() {
2688
+ this.host.shadowRoot.addEventListener("slotchange", this.handleSlotChange);
2689
+ }
2690
+ hostDisconnected() {
2691
+ this.host.shadowRoot.removeEventListener("slotchange", this.handleSlotChange);
2692
+ }
2693
+ };
2694
+
2695
+ // ../../node_modules/lit/node_modules/lit-html/directives/if-defined.js
2696
+ var to = (t5) => t5 ?? D;
2697
+
2698
+ // ../../node_modules/lit/node_modules/lit-html/directives/live.js
2699
+ var Ft = e3(class extends i3 {
2700
+ constructor(r6) {
2701
+ if (super(r6), r6.type !== t2.PROPERTY && r6.type !== t2.ATTRIBUTE && r6.type !== t2.BOOLEAN_ATTRIBUTE) throw Error("The `live` directive is not allowed on child or event bindings");
2702
+ if (!rt(r6)) throw Error("`live` bindings can only contain a single expression");
2703
+ }
2704
+ render(r6) {
2705
+ return r6;
2706
+ }
2707
+ update(r6, [e7]) {
2708
+ if (e7 === R || e7 === D) return e7;
2709
+ const i4 = r6.element, n6 = r6.name;
2710
+ if (r6.type === t2.PROPERTY) {
2711
+ if (e7 === i4[n6]) return R;
2712
+ } else if (r6.type === t2.BOOLEAN_ATTRIBUTE) {
2713
+ if (!!e7 === i4.hasAttribute(n6)) return R;
2714
+ } else if (r6.type === t2.ATTRIBUTE && i4.getAttribute(n6) === e7 + "") return R;
2715
+ return dt(r6), e7;
2716
+ }
2717
+ });
2718
+
2719
+ // ../../node_modules/@shoelace-style/shoelace/dist/chunks/chunk.6GAVHIFH.js
2720
+ var SlCheckbox = class extends ShoelaceElement {
2721
+ constructor() {
2722
+ super(...arguments);
2723
+ this.formControlController = new FormControlController(this, {
2724
+ value: (control) => control.checked ? control.value || "on" : void 0,
2725
+ defaultValue: (control) => control.defaultChecked,
2726
+ setValue: (control, checked) => control.checked = checked
2727
+ });
2728
+ this.hasSlotController = new HasSlotController(this, "help-text");
2729
+ this.hasFocus = false;
2730
+ this.title = "";
2731
+ this.name = "";
2732
+ this.size = "medium";
2733
+ this.disabled = false;
2734
+ this.checked = false;
2735
+ this.indeterminate = false;
2736
+ this.defaultChecked = false;
2737
+ this.form = "";
2738
+ this.required = false;
2739
+ this.helpText = "";
2740
+ }
2741
+ /** Gets the validity state object */
2742
+ get validity() {
2743
+ return this.input.validity;
2744
+ }
2745
+ /** Gets the validation message */
2746
+ get validationMessage() {
2747
+ return this.input.validationMessage;
2748
+ }
2749
+ firstUpdated() {
2750
+ this.formControlController.updateValidity();
2751
+ }
2752
+ handleClick() {
2753
+ this.checked = !this.checked;
2754
+ this.indeterminate = false;
2755
+ this.emit("sl-change");
2756
+ }
2757
+ handleBlur() {
2758
+ this.hasFocus = false;
2759
+ this.emit("sl-blur");
2760
+ }
2761
+ handleInput() {
2762
+ this.emit("sl-input");
2763
+ }
2764
+ handleInvalid(event) {
2765
+ this.formControlController.setValidity(false);
2766
+ this.formControlController.emitInvalidEvent(event);
2767
+ }
2768
+ handleFocus() {
2769
+ this.hasFocus = true;
2770
+ this.emit("sl-focus");
2771
+ }
2772
+ handleDisabledChange() {
2773
+ this.formControlController.setValidity(this.disabled);
2774
+ }
2775
+ handleStateChange() {
2776
+ this.input.checked = this.checked;
2777
+ this.input.indeterminate = this.indeterminate;
2778
+ this.formControlController.updateValidity();
2779
+ }
2780
+ /** Simulates a click on the checkbox. */
2781
+ click() {
2782
+ this.input.click();
2783
+ }
2784
+ /** Sets focus on the checkbox. */
2785
+ focus(options) {
2786
+ this.input.focus(options);
2787
+ }
2788
+ /** Removes focus from the checkbox. */
2789
+ blur() {
2790
+ this.input.blur();
2791
+ }
2792
+ /** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
2793
+ checkValidity() {
2794
+ return this.input.checkValidity();
2795
+ }
2796
+ /** Gets the associated form, if one exists. */
2797
+ getForm() {
2798
+ return this.formControlController.getForm();
2799
+ }
2800
+ /** Checks for validity and shows the browser's validation message if the control is invalid. */
2801
+ reportValidity() {
2802
+ return this.input.reportValidity();
2803
+ }
2804
+ /**
2805
+ * Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear
2806
+ * the custom validation message, call this method with an empty string.
2807
+ */
2808
+ setCustomValidity(message) {
2809
+ this.input.setCustomValidity(message);
2810
+ this.formControlController.updateValidity();
2811
+ }
2812
+ render() {
2813
+ const hasHelpTextSlot = this.hasSlotController.test("help-text");
2814
+ const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;
2815
+ return ke`
2816
+ <div
2817
+ class=${Rt({
2818
+ "form-control": true,
2819
+ "form-control--small": this.size === "small",
2820
+ "form-control--medium": this.size === "medium",
2821
+ "form-control--large": this.size === "large",
2822
+ "form-control--has-help-text": hasHelpText
2823
+ })}
2824
+ >
2825
+ <label
2826
+ part="base"
2827
+ class=${Rt({
2828
+ checkbox: true,
2829
+ "checkbox--checked": this.checked,
2830
+ "checkbox--disabled": this.disabled,
2831
+ "checkbox--focused": this.hasFocus,
2832
+ "checkbox--indeterminate": this.indeterminate,
2833
+ "checkbox--small": this.size === "small",
2834
+ "checkbox--medium": this.size === "medium",
2835
+ "checkbox--large": this.size === "large"
2836
+ })}
2837
+ >
2838
+ <input
2839
+ class="checkbox__input"
2840
+ type="checkbox"
2841
+ title=${this.title}
2842
+ name=${this.name}
2843
+ value=${to(this.value)}
2844
+ .indeterminate=${Ft(this.indeterminate)}
2845
+ .checked=${Ft(this.checked)}
2846
+ .disabled=${this.disabled}
2847
+ .required=${this.required}
2848
+ aria-checked=${this.checked ? "true" : "false"}
2849
+ aria-describedby="help-text"
2850
+ @click=${this.handleClick}
2851
+ @input=${this.handleInput}
2852
+ @invalid=${this.handleInvalid}
2853
+ @blur=${this.handleBlur}
2854
+ @focus=${this.handleFocus}
2855
+ />
2856
+
2857
+ <span
2858
+ part="control${this.checked ? " control--checked" : ""}${this.indeterminate ? " control--indeterminate" : ""}"
2859
+ class="checkbox__control"
2860
+ >
2861
+ ${this.checked ? ke`
2862
+ <sl-icon part="checked-icon" class="checkbox__checked-icon" library="system" name="check"></sl-icon>
2863
+ ` : ""}
2864
+ ${!this.checked && this.indeterminate ? ke`
2865
+ <sl-icon
2866
+ part="indeterminate-icon"
2867
+ class="checkbox__indeterminate-icon"
2868
+ library="system"
2869
+ name="indeterminate"
2870
+ ></sl-icon>
2871
+ ` : ""}
2872
+ </span>
2873
+
2874
+ <div part="label" class="checkbox__label">
2875
+ <slot></slot>
2876
+ </div>
2877
+ </label>
2878
+
2879
+ <div
2880
+ aria-hidden=${hasHelpText ? "false" : "true"}
2881
+ class="form-control__help-text"
2882
+ id="help-text"
2883
+ part="form-control-help-text"
2884
+ >
2885
+ <slot name="help-text">${this.helpText}</slot>
2886
+ </div>
2887
+ </div>
2888
+ `;
2889
+ }
2890
+ };
2891
+ SlCheckbox.styles = [component_styles_default, form_control_styles_default, checkbox_styles_default];
2892
+ SlCheckbox.dependencies = { "sl-icon": SlIcon };
2893
+ __decorateClass([
2894
+ e6('input[type="checkbox"]')
2895
+ ], SlCheckbox.prototype, "input", 2);
2896
+ __decorateClass([
2897
+ r5()
2898
+ ], SlCheckbox.prototype, "hasFocus", 2);
2899
+ __decorateClass([
2900
+ n5()
2901
+ ], SlCheckbox.prototype, "title", 2);
2902
+ __decorateClass([
2903
+ n5()
2904
+ ], SlCheckbox.prototype, "name", 2);
2905
+ __decorateClass([
2906
+ n5()
2907
+ ], SlCheckbox.prototype, "value", 2);
2908
+ __decorateClass([
2909
+ n5({ reflect: true })
2910
+ ], SlCheckbox.prototype, "size", 2);
2911
+ __decorateClass([
2912
+ n5({ type: Boolean, reflect: true })
2913
+ ], SlCheckbox.prototype, "disabled", 2);
2914
+ __decorateClass([
2915
+ n5({ type: Boolean, reflect: true })
2916
+ ], SlCheckbox.prototype, "checked", 2);
2917
+ __decorateClass([
2918
+ n5({ type: Boolean, reflect: true })
2919
+ ], SlCheckbox.prototype, "indeterminate", 2);
2920
+ __decorateClass([
2921
+ defaultValue("checked")
2922
+ ], SlCheckbox.prototype, "defaultChecked", 2);
2923
+ __decorateClass([
2924
+ n5({ reflect: true })
2925
+ ], SlCheckbox.prototype, "form", 2);
2926
+ __decorateClass([
2927
+ n5({ type: Boolean, reflect: true })
2928
+ ], SlCheckbox.prototype, "required", 2);
2929
+ __decorateClass([
2930
+ n5({ attribute: "help-text" })
2931
+ ], SlCheckbox.prototype, "helpText", 2);
2932
+ __decorateClass([
2933
+ watch("disabled", { waitUntilFirstUpdate: true })
2934
+ ], SlCheckbox.prototype, "handleDisabledChange", 1);
2935
+ __decorateClass([
2936
+ watch(["checked", "indeterminate"], { waitUntilFirstUpdate: true })
2937
+ ], SlCheckbox.prototype, "handleStateChange", 1);
2938
+
2939
+ // ../../node_modules/lit/node_modules/lit-html/directives/keyed.js
2940
+ var Bt = e3(class extends i3 {
2941
+ constructor() {
2942
+ super(...arguments), this.key = D;
2943
+ }
2944
+ render(r6, t5) {
2945
+ return this.key = r6, t5;
2946
+ }
2947
+ update(r6, [t5, e7]) {
2948
+ return t5 !== this.key && (dt(r6), this.key = t5), e7;
2949
+ }
2950
+ });
61
2951
 
62
2952
  // ../../node_modules/bootstrap-icons/icons/x.svg
63
2953
  var x_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x" viewBox="0 0 16 16">%0A <path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708"/>%0A</svg>';
@@ -66,32 +2956,32 @@ var x_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" widt
66
2956
  var check_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-check" viewBox="0 0 16 16">%0A <path d="M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425z"/>%0A</svg>';
67
2957
 
68
2958
  // src/widgets/webwriter-choice-item.ts
69
- var _checkbox_dec, _layout_dec, _valid_dec, _active_dec, _a, _WebwriterChoiceItem_decorators, _init, _active, _valid, _layout, _checkbox;
70
- _WebwriterChoiceItem_decorators = [customElement("webwriter-choice-item")];
71
- var _WebwriterChoiceItem = class _WebwriterChoiceItem extends (_a = LitElementWw, _active_dec = [property({ type: Boolean, attribute: false })], _valid_dec = [property({ type: Boolean, attribute: false })], _layout_dec = [property({ type: String, attribute: true, reflect: true })], _checkbox_dec = [query("sl-checkbox")], _a) {
2959
+ var _checkbox_dec, _layout_dec, _valid_dec, _active_dec, _a2, _WebwriterChoiceItem_decorators, _init2, _active, _valid, _layout, _checkbox;
2960
+ _WebwriterChoiceItem_decorators = [t4("webwriter-choice-item")];
2961
+ var _WebwriterChoiceItem = class _WebwriterChoiceItem extends (_a2 = LitElementWw, _active_dec = [n5({ type: Boolean, attribute: false })], _valid_dec = [n5({ type: Boolean, attribute: false })], _layout_dec = [n5({ type: String, attribute: true, reflect: true })], _checkbox_dec = [e6("sl-checkbox")], _a2) {
72
2962
  constructor() {
73
2963
  super(...arguments);
74
2964
  __publicField(this, "msg", (str) => this.lang in _WebwriterChoiceItem.localization ? _WebwriterChoiceItem.localization[this.lang][str] ?? str : str);
75
- __privateAdd(this, _active, __runInitializers(_init, 8, this, false)), __runInitializers(_init, 11, this);
76
- __privateAdd(this, _valid, __runInitializers(_init, 12, this)), __runInitializers(_init, 15, this);
77
- __privateAdd(this, _layout, __runInitializers(_init, 16, this, "list")), __runInitializers(_init, 19, this);
78
- __publicField(this, "handleClick", (e) => {
79
- const checkboxClicked = e.composedPath().some((v) => v?.classList?.contains("checkbox__control"));
2965
+ __privateAdd(this, _active, __runInitializers(_init2, 8, this, false)), __runInitializers(_init2, 11, this);
2966
+ __privateAdd(this, _valid, __runInitializers(_init2, 12, this)), __runInitializers(_init2, 15, this);
2967
+ __privateAdd(this, _layout, __runInitializers(_init2, 16, this, "list")), __runInitializers(_init2, 19, this);
2968
+ __publicField(this, "handleClick", (e7) => {
2969
+ const checkboxClicked = e7.composedPath().some((v3) => v3?.classList?.contains("checkbox__control"));
80
2970
  const editable = this.isContentEditable;
81
2971
  if (editable && !checkboxClicked) {
82
- e.preventDefault();
2972
+ e7.preventDefault();
83
2973
  } else {
84
- e.stopImmediatePropagation();
2974
+ e7.stopImmediatePropagation();
85
2975
  }
86
2976
  });
87
- __publicField(this, "handleChange", (e) => {
2977
+ __publicField(this, "handleChange", (e7) => {
88
2978
  if (this.isContentEditable) {
89
2979
  this.valid = !this.valid;
90
2980
  } else {
91
2981
  this.active = !this.active;
92
2982
  }
93
2983
  });
94
- __privateAdd(this, _checkbox, __runInitializers(_init, 20, this)), __runInitializers(_init, 23, this);
2984
+ __privateAdd(this, _checkbox, __runInitializers(_init2, 20, this)), __runInitializers(_init2, 23, this);
95
2985
  __publicField(this, "observer");
96
2986
  }
97
2987
  async updated(_changedProperties) {
@@ -121,31 +3011,31 @@ var _WebwriterChoiceItem = class _WebwriterChoiceItem extends (_a = LitElementWw
121
3011
  this.observer?.disconnect();
122
3012
  }
123
3013
  render() {
124
- return keyed(this.layout, html`
125
- ${this.valid !== void 0 && (this.active || !this.active && this.valid) ? html`<sl-icon class="solution user-only" ?data-valid=${this.valid} src=${this.valid ? check_default : x_default}></sl-icon>` : null}
126
- <sl-checkbox class=${classMap({ valid: this.valid, active: this.active })} exportparts="base, control, label" @click=${this.handleClick} @sl-change=${this.handleChange} ?checked=${this.isContentEditable ? this.valid : this.active}>
127
- <slot part="slot" style=${styleMap({ "--ww-placeholder": `"${this.msg("Option")}"` })}></slot>
3014
+ return Bt(this.layout, ke`
3015
+ ${this.valid !== void 0 && (this.active || !this.active && this.valid) ? ke`<sl-icon class="solution user-only" ?data-valid=${this.valid} src=${this.valid ? check_default : x_default}></sl-icon>` : null}
3016
+ <sl-checkbox class=${Rt({ valid: this.valid, active: this.active })} exportparts="base, control, label" @click=${this.handleClick} @sl-change=${this.handleChange} ?checked=${this.isContentEditable ? this.valid : this.active}>
3017
+ <slot part="slot" style=${se({ "--ww-placeholder": `"${this.msg("Option")}"` })}></slot>
128
3018
  </sl-checkbox>
129
3019
  `);
130
3020
  }
131
3021
  };
132
- _init = __decoratorStart(_a);
3022
+ _init2 = __decoratorStart(_a2);
133
3023
  _active = new WeakMap();
134
3024
  _valid = new WeakMap();
135
3025
  _layout = new WeakMap();
136
3026
  _checkbox = new WeakMap();
137
- __decorateElement(_init, 4, "active", _active_dec, _WebwriterChoiceItem, _active);
138
- __decorateElement(_init, 4, "valid", _valid_dec, _WebwriterChoiceItem, _valid);
139
- __decorateElement(_init, 4, "layout", _layout_dec, _WebwriterChoiceItem, _layout);
140
- __decorateElement(_init, 4, "checkbox", _checkbox_dec, _WebwriterChoiceItem, _checkbox);
141
- _WebwriterChoiceItem = __decorateElement(_init, 0, "WebwriterChoiceItem", _WebwriterChoiceItem_decorators, _WebwriterChoiceItem);
3027
+ __decorateElement(_init2, 4, "active", _active_dec, _WebwriterChoiceItem, _active);
3028
+ __decorateElement(_init2, 4, "valid", _valid_dec, _WebwriterChoiceItem, _valid);
3029
+ __decorateElement(_init2, 4, "layout", _layout_dec, _WebwriterChoiceItem, _layout);
3030
+ __decorateElement(_init2, 4, "checkbox", _checkbox_dec, _WebwriterChoiceItem, _checkbox);
3031
+ _WebwriterChoiceItem = __decorateElement(_init2, 0, "WebwriterChoiceItem", _WebwriterChoiceItem_decorators, _WebwriterChoiceItem);
142
3032
  __publicField(_WebwriterChoiceItem, "localization", {});
143
3033
  __publicField(_WebwriterChoiceItem, "scopedElements", {
144
3034
  "sl-radio": SlRadio,
145
3035
  "sl-checkbox": SlCheckbox,
146
3036
  "sl-icon": SlIcon
147
3037
  });
148
- __publicField(_WebwriterChoiceItem, "styles", css`
3038
+ __publicField(_WebwriterChoiceItem, "styles", i`
149
3039
 
150
3040
  :host {
151
3041
  width: 100%;
@@ -281,8 +3171,271 @@ __publicField(_WebwriterChoiceItem, "styles", css`
281
3171
  }
282
3172
  }
283
3173
  `);
284
- __runInitializers(_init, 1, _WebwriterChoiceItem);
3174
+ __runInitializers(_init2, 1, _WebwriterChoiceItem);
285
3175
  var WebwriterChoiceItem = _WebwriterChoiceItem;
286
3176
  export {
287
3177
  WebwriterChoiceItem
288
3178
  };
3179
+ /*! Bundled license information:
3180
+
3181
+ @lit/reactive-element/css-tag.js:
3182
+ (**
3183
+ * @license
3184
+ * Copyright 2019 Google LLC
3185
+ * SPDX-License-Identifier: BSD-3-Clause
3186
+ *)
3187
+
3188
+ @lit/reactive-element/reactive-element.js:
3189
+ (**
3190
+ * @license
3191
+ * Copyright 2017 Google LLC
3192
+ * SPDX-License-Identifier: BSD-3-Clause
3193
+ *)
3194
+
3195
+ lit-html/lit-html.js:
3196
+ (**
3197
+ * @license
3198
+ * Copyright 2017 Google LLC
3199
+ * SPDX-License-Identifier: BSD-3-Clause
3200
+ *)
3201
+
3202
+ lit-element/lit-element.js:
3203
+ (**
3204
+ * @license
3205
+ * Copyright 2017 Google LLC
3206
+ * SPDX-License-Identifier: BSD-3-Clause
3207
+ *)
3208
+
3209
+ lit-html/is-server.js:
3210
+ (**
3211
+ * @license
3212
+ * Copyright 2022 Google LLC
3213
+ * SPDX-License-Identifier: BSD-3-Clause
3214
+ *)
3215
+
3216
+ @lit/reactive-element/decorators/custom-element.js:
3217
+ (**
3218
+ * @license
3219
+ * Copyright 2017 Google LLC
3220
+ * SPDX-License-Identifier: BSD-3-Clause
3221
+ *)
3222
+
3223
+ @lit/reactive-element/decorators/property.js:
3224
+ (**
3225
+ * @license
3226
+ * Copyright 2017 Google LLC
3227
+ * SPDX-License-Identifier: BSD-3-Clause
3228
+ *)
3229
+
3230
+ @lit/reactive-element/decorators/state.js:
3231
+ (**
3232
+ * @license
3233
+ * Copyright 2017 Google LLC
3234
+ * SPDX-License-Identifier: BSD-3-Clause
3235
+ *)
3236
+
3237
+ @lit/reactive-element/decorators/event-options.js:
3238
+ (**
3239
+ * @license
3240
+ * Copyright 2017 Google LLC
3241
+ * SPDX-License-Identifier: BSD-3-Clause
3242
+ *)
3243
+
3244
+ @lit/reactive-element/decorators/base.js:
3245
+ (**
3246
+ * @license
3247
+ * Copyright 2017 Google LLC
3248
+ * SPDX-License-Identifier: BSD-3-Clause
3249
+ *)
3250
+
3251
+ @lit/reactive-element/decorators/query.js:
3252
+ (**
3253
+ * @license
3254
+ * Copyright 2017 Google LLC
3255
+ * SPDX-License-Identifier: BSD-3-Clause
3256
+ *)
3257
+
3258
+ @lit/reactive-element/decorators/query-all.js:
3259
+ (**
3260
+ * @license
3261
+ * Copyright 2017 Google LLC
3262
+ * SPDX-License-Identifier: BSD-3-Clause
3263
+ *)
3264
+
3265
+ @lit/reactive-element/decorators/query-async.js:
3266
+ (**
3267
+ * @license
3268
+ * Copyright 2017 Google LLC
3269
+ * SPDX-License-Identifier: BSD-3-Clause
3270
+ *)
3271
+
3272
+ @lit/reactive-element/decorators/query-assigned-elements.js:
3273
+ (**
3274
+ * @license
3275
+ * Copyright 2021 Google LLC
3276
+ * SPDX-License-Identifier: BSD-3-Clause
3277
+ *)
3278
+
3279
+ @lit/reactive-element/decorators/query-assigned-nodes.js:
3280
+ (**
3281
+ * @license
3282
+ * Copyright 2017 Google LLC
3283
+ * SPDX-License-Identifier: BSD-3-Clause
3284
+ *)
3285
+ */
3286
+ /*! Bundled license information:
3287
+
3288
+ @lit/reactive-element/css-tag.js:
3289
+ (**
3290
+ * @license
3291
+ * Copyright 2019 Google LLC
3292
+ * SPDX-License-Identifier: BSD-3-Clause
3293
+ *)
3294
+
3295
+ @lit/reactive-element/reactive-element.js:
3296
+ (**
3297
+ * @license
3298
+ * Copyright 2017 Google LLC
3299
+ * SPDX-License-Identifier: BSD-3-Clause
3300
+ *)
3301
+
3302
+ lit-html/lit-html.js:
3303
+ (**
3304
+ * @license
3305
+ * Copyright 2017 Google LLC
3306
+ * SPDX-License-Identifier: BSD-3-Clause
3307
+ *)
3308
+
3309
+ lit-element/lit-element.js:
3310
+ (**
3311
+ * @license
3312
+ * Copyright 2017 Google LLC
3313
+ * SPDX-License-Identifier: BSD-3-Clause
3314
+ *)
3315
+
3316
+ lit-html/is-server.js:
3317
+ (**
3318
+ * @license
3319
+ * Copyright 2022 Google LLC
3320
+ * SPDX-License-Identifier: BSD-3-Clause
3321
+ *)
3322
+
3323
+ lit-html/directive.js:
3324
+ (**
3325
+ * @license
3326
+ * Copyright 2017 Google LLC
3327
+ * SPDX-License-Identifier: BSD-3-Clause
3328
+ *)
3329
+
3330
+ lit-html/directives/style-map.js:
3331
+ (**
3332
+ * @license
3333
+ * Copyright 2018 Google LLC
3334
+ * SPDX-License-Identifier: BSD-3-Clause
3335
+ *)
3336
+
3337
+ lit-html/directives/class-map.js:
3338
+ (**
3339
+ * @license
3340
+ * Copyright 2018 Google LLC
3341
+ * SPDX-License-Identifier: BSD-3-Clause
3342
+ *)
3343
+
3344
+ @lit/reactive-element/decorators/custom-element.js:
3345
+ (**
3346
+ * @license
3347
+ * Copyright 2017 Google LLC
3348
+ * SPDX-License-Identifier: BSD-3-Clause
3349
+ *)
3350
+
3351
+ @lit/reactive-element/decorators/property.js:
3352
+ (**
3353
+ * @license
3354
+ * Copyright 2017 Google LLC
3355
+ * SPDX-License-Identifier: BSD-3-Clause
3356
+ *)
3357
+
3358
+ @lit/reactive-element/decorators/state.js:
3359
+ (**
3360
+ * @license
3361
+ * Copyright 2017 Google LLC
3362
+ * SPDX-License-Identifier: BSD-3-Clause
3363
+ *)
3364
+
3365
+ @lit/reactive-element/decorators/event-options.js:
3366
+ (**
3367
+ * @license
3368
+ * Copyright 2017 Google LLC
3369
+ * SPDX-License-Identifier: BSD-3-Clause
3370
+ *)
3371
+
3372
+ @lit/reactive-element/decorators/base.js:
3373
+ (**
3374
+ * @license
3375
+ * Copyright 2017 Google LLC
3376
+ * SPDX-License-Identifier: BSD-3-Clause
3377
+ *)
3378
+
3379
+ @lit/reactive-element/decorators/query.js:
3380
+ (**
3381
+ * @license
3382
+ * Copyright 2017 Google LLC
3383
+ * SPDX-License-Identifier: BSD-3-Clause
3384
+ *)
3385
+
3386
+ @lit/reactive-element/decorators/query-all.js:
3387
+ (**
3388
+ * @license
3389
+ * Copyright 2017 Google LLC
3390
+ * SPDX-License-Identifier: BSD-3-Clause
3391
+ *)
3392
+
3393
+ @lit/reactive-element/decorators/query-async.js:
3394
+ (**
3395
+ * @license
3396
+ * Copyright 2017 Google LLC
3397
+ * SPDX-License-Identifier: BSD-3-Clause
3398
+ *)
3399
+
3400
+ @lit/reactive-element/decorators/query-assigned-elements.js:
3401
+ (**
3402
+ * @license
3403
+ * Copyright 2021 Google LLC
3404
+ * SPDX-License-Identifier: BSD-3-Clause
3405
+ *)
3406
+
3407
+ @lit/reactive-element/decorators/query-assigned-nodes.js:
3408
+ (**
3409
+ * @license
3410
+ * Copyright 2017 Google LLC
3411
+ * SPDX-License-Identifier: BSD-3-Clause
3412
+ *)
3413
+
3414
+ lit-html/directive-helpers.js:
3415
+ (**
3416
+ * @license
3417
+ * Copyright 2020 Google LLC
3418
+ * SPDX-License-Identifier: BSD-3-Clause
3419
+ *)
3420
+
3421
+ lit-html/directives/if-defined.js:
3422
+ (**
3423
+ * @license
3424
+ * Copyright 2018 Google LLC
3425
+ * SPDX-License-Identifier: BSD-3-Clause
3426
+ *)
3427
+
3428
+ lit-html/directives/live.js:
3429
+ (**
3430
+ * @license
3431
+ * Copyright 2020 Google LLC
3432
+ * SPDX-License-Identifier: BSD-3-Clause
3433
+ *)
3434
+
3435
+ lit-html/directives/keyed.js:
3436
+ (**
3437
+ * @license
3438
+ * Copyright 2021 Google LLC
3439
+ * SPDX-License-Identifier: BSD-3-Clause
3440
+ *)
3441
+ */