@telia-ace/alliance-ui 1.0.6-next.4 → 1.0.6-next.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/chunks/alliance-modal-f2ab100c.js +154 -0
  3. package/chunks/alliance-modal-f2ab100c.js.map +1 -0
  4. package/chunks/alliance-paginator-button-83c050bc.js +181 -0
  5. package/chunks/alliance-paginator-button-83c050bc.js.map +1 -0
  6. package/chunks/alliance-table-row-67a6becb.js +142 -0
  7. package/chunks/alliance-table-row-67a6becb.js.map +1 -0
  8. package/chunks/{close-cf3fd2c4.js → chevron-right-788ce8a9.js} +4 -5
  9. package/chunks/chevron-right-788ce8a9.js.map +1 -0
  10. package/chunks/close-7d423291.js +5 -0
  11. package/chunks/close-7d423291.js.map +1 -0
  12. package/chunks/{variables-07547793.js → index-57f6bd40.js} +25 -30
  13. package/chunks/index-57f6bd40.js.map +1 -0
  14. package/chunks/query-assigned-elements-4285356d.js +605 -0
  15. package/chunks/query-assigned-elements-4285356d.js.map +1 -0
  16. package/chunks/repeat-bf84f01f.js +134 -0
  17. package/chunks/repeat-bf84f01f.js.map +1 -0
  18. package/chunks/variables-ecb680f0.js +8 -0
  19. package/chunks/variables-ecb680f0.js.map +1 -0
  20. package/components/alliance-modal/alliance-modal.d.ts +4 -2
  21. package/components/alliance-modal.js +12 -0
  22. package/components/alliance-modal.js.map +1 -0
  23. package/components/alliance-paginator/alliance-paginator.d.ts +5 -2
  24. package/components/alliance-paginator.js +12 -0
  25. package/components/alliance-paginator.js.map +1 -0
  26. package/components/alliance-table.js +8 -0
  27. package/components/alliance-table.js.map +1 -0
  28. package/components/index.d.ts +2 -0
  29. package/components/index.js +13 -1185
  30. package/components/index.js.map +1 -1
  31. package/package.json +5 -1
  32. package/voca/foundations/index.js +4 -3
  33. package/voca/foundations/index.js.map +1 -1
  34. package/voca/icons/index.js +3 -2
  35. package/voca/icons/index.js.map +1 -1
  36. package/chunks/close-cf3fd2c4.js.map +0 -1
  37. package/chunks/variables-07547793.js.map +0 -1
@@ -0,0 +1,605 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2019 Google LLC
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */
6
+ const N = window, I = N.ShadowRoot && (N.ShadyCSS === void 0 || N.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, V = Symbol(), q = /* @__PURE__ */ new WeakMap();
7
+ let st = class {
8
+ constructor(t, e, i) {
9
+ if (this._$cssResult$ = !0, i !== V)
10
+ throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
11
+ this.cssText = t, this.t = e;
12
+ }
13
+ get styleSheet() {
14
+ let t = this.o;
15
+ const e = this.t;
16
+ if (I && t === void 0) {
17
+ const i = e !== void 0 && e.length === 1;
18
+ i && (t = q.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && q.set(e, t));
19
+ }
20
+ return t;
21
+ }
22
+ toString() {
23
+ return this.cssText;
24
+ }
25
+ };
26
+ const $t = (n) => new st(typeof n == "string" ? n : n + "", void 0, V), St = (n, ...t) => {
27
+ const e = n.length === 1 ? n[0] : t.reduce((i, s, r) => i + ((o) => {
28
+ if (o._$cssResult$ === !0)
29
+ return o.cssText;
30
+ if (typeof o == "number")
31
+ return o;
32
+ throw Error("Value passed to 'css' function must be a 'css' function result: " + o + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
33
+ })(s) + n[r + 1], n[0]);
34
+ return new st(e, n, V);
35
+ }, vt = (n, t) => {
36
+ I ? n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet) : t.forEach((e) => {
37
+ const i = document.createElement("style"), s = N.litNonce;
38
+ s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, n.appendChild(i);
39
+ });
40
+ }, K = I ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((t) => {
41
+ let e = "";
42
+ for (const i of t.cssRules)
43
+ e += i.cssText;
44
+ return $t(e);
45
+ })(n) : n;
46
+ /**
47
+ * @license
48
+ * Copyright 2017 Google LLC
49
+ * SPDX-License-Identifier: BSD-3-Clause
50
+ */
51
+ var R;
52
+ const O = window, Z = O.trustedTypes, _t = Z ? Z.emptyScript : "", J = O.reactiveElementPolyfillSupport, D = { toAttribute(n, t) {
53
+ switch (t) {
54
+ case Boolean:
55
+ n = n ? _t : null;
56
+ break;
57
+ case Object:
58
+ case Array:
59
+ n = n == null ? n : JSON.stringify(n);
60
+ }
61
+ return n;
62
+ }, fromAttribute(n, t) {
63
+ let e = n;
64
+ switch (t) {
65
+ case Boolean:
66
+ e = n !== null;
67
+ break;
68
+ case Number:
69
+ e = n === null ? null : Number(n);
70
+ break;
71
+ case Object:
72
+ case Array:
73
+ try {
74
+ e = JSON.parse(n);
75
+ } catch {
76
+ e = null;
77
+ }
78
+ }
79
+ return e;
80
+ } }, nt = (n, t) => t !== n && (t == t || n == n), M = { attribute: !0, type: String, converter: D, reflect: !1, hasChanged: nt };
81
+ let A = class extends HTMLElement {
82
+ constructor() {
83
+ super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this.u();
84
+ }
85
+ static addInitializer(t) {
86
+ var e;
87
+ this.finalize(), ((e = this.h) !== null && e !== void 0 ? e : this.h = []).push(t);
88
+ }
89
+ static get observedAttributes() {
90
+ this.finalize();
91
+ const t = [];
92
+ return this.elementProperties.forEach((e, i) => {
93
+ const s = this._$Ep(i, e);
94
+ s !== void 0 && (this._$Ev.set(s, i), t.push(s));
95
+ }), t;
96
+ }
97
+ static createProperty(t, e = M) {
98
+ if (e.state && (e.attribute = !1), this.finalize(), this.elementProperties.set(t, e), !e.noAccessor && !this.prototype.hasOwnProperty(t)) {
99
+ const i = typeof t == "symbol" ? Symbol() : "__" + t, s = this.getPropertyDescriptor(t, i, e);
100
+ s !== void 0 && Object.defineProperty(this.prototype, t, s);
101
+ }
102
+ }
103
+ static getPropertyDescriptor(t, e, i) {
104
+ return { get() {
105
+ return this[e];
106
+ }, set(s) {
107
+ const r = this[t];
108
+ this[e] = s, this.requestUpdate(t, r, i);
109
+ }, configurable: !0, enumerable: !0 };
110
+ }
111
+ static getPropertyOptions(t) {
112
+ return this.elementProperties.get(t) || M;
113
+ }
114
+ static finalize() {
115
+ if (this.hasOwnProperty("finalized"))
116
+ return !1;
117
+ this.finalized = !0;
118
+ const t = Object.getPrototypeOf(this);
119
+ if (t.finalize(), t.h !== void 0 && (this.h = [...t.h]), this.elementProperties = new Map(t.elementProperties), this._$Ev = /* @__PURE__ */ new Map(), this.hasOwnProperty("properties")) {
120
+ const e = this.properties, i = [...Object.getOwnPropertyNames(e), ...Object.getOwnPropertySymbols(e)];
121
+ for (const s of i)
122
+ this.createProperty(s, e[s]);
123
+ }
124
+ return this.elementStyles = this.finalizeStyles(this.styles), !0;
125
+ }
126
+ static finalizeStyles(t) {
127
+ const e = [];
128
+ if (Array.isArray(t)) {
129
+ const i = new Set(t.flat(1 / 0).reverse());
130
+ for (const s of i)
131
+ e.unshift(K(s));
132
+ } else
133
+ t !== void 0 && e.push(K(t));
134
+ return e;
135
+ }
136
+ static _$Ep(t, e) {
137
+ const i = e.attribute;
138
+ return i === !1 ? void 0 : typeof i == "string" ? i : typeof t == "string" ? t.toLowerCase() : void 0;
139
+ }
140
+ u() {
141
+ var t;
142
+ this._$E_ = new Promise((e) => this.enableUpdating = e), this._$AL = /* @__PURE__ */ new Map(), this._$Eg(), this.requestUpdate(), (t = this.constructor.h) === null || t === void 0 || t.forEach((e) => e(this));
143
+ }
144
+ addController(t) {
145
+ var e, i;
146
+ ((e = this._$ES) !== null && e !== void 0 ? e : this._$ES = []).push(t), this.renderRoot !== void 0 && this.isConnected && ((i = t.hostConnected) === null || i === void 0 || i.call(t));
147
+ }
148
+ removeController(t) {
149
+ var e;
150
+ (e = this._$ES) === null || e === void 0 || e.splice(this._$ES.indexOf(t) >>> 0, 1);
151
+ }
152
+ _$Eg() {
153
+ this.constructor.elementProperties.forEach((t, e) => {
154
+ this.hasOwnProperty(e) && (this._$Ei.set(e, this[e]), delete this[e]);
155
+ });
156
+ }
157
+ createRenderRoot() {
158
+ var t;
159
+ const e = (t = this.shadowRoot) !== null && t !== void 0 ? t : this.attachShadow(this.constructor.shadowRootOptions);
160
+ return vt(e, this.constructor.elementStyles), e;
161
+ }
162
+ connectedCallback() {
163
+ var t;
164
+ this.renderRoot === void 0 && (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$ES) === null || t === void 0 || t.forEach((e) => {
165
+ var i;
166
+ return (i = e.hostConnected) === null || i === void 0 ? void 0 : i.call(e);
167
+ });
168
+ }
169
+ enableUpdating(t) {
170
+ }
171
+ disconnectedCallback() {
172
+ var t;
173
+ (t = this._$ES) === null || t === void 0 || t.forEach((e) => {
174
+ var i;
175
+ return (i = e.hostDisconnected) === null || i === void 0 ? void 0 : i.call(e);
176
+ });
177
+ }
178
+ attributeChangedCallback(t, e, i) {
179
+ this._$AK(t, i);
180
+ }
181
+ _$EO(t, e, i = M) {
182
+ var s;
183
+ const r = this.constructor._$Ep(t, i);
184
+ if (r !== void 0 && i.reflect === !0) {
185
+ const o = (((s = i.converter) === null || s === void 0 ? void 0 : s.toAttribute) !== void 0 ? i.converter : D).toAttribute(e, i.type);
186
+ this._$El = t, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$El = null;
187
+ }
188
+ }
189
+ _$AK(t, e) {
190
+ var i;
191
+ const s = this.constructor, r = s._$Ev.get(t);
192
+ if (r !== void 0 && this._$El !== r) {
193
+ const o = s.getPropertyOptions(r), d = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((i = o.converter) === null || i === void 0 ? void 0 : i.fromAttribute) !== void 0 ? o.converter : D;
194
+ this._$El = r, this[r] = d.fromAttribute(e, o.type), this._$El = null;
195
+ }
196
+ }
197
+ requestUpdate(t, e, i) {
198
+ let s = !0;
199
+ t !== void 0 && (((i = i || this.constructor.getPropertyOptions(t)).hasChanged || nt)(this[t], e) ? (this._$AL.has(t) || this._$AL.set(t, e), i.reflect === !0 && this._$El !== t && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(t, i))) : s = !1), !this.isUpdatePending && s && (this._$E_ = this._$Ej());
200
+ }
201
+ async _$Ej() {
202
+ this.isUpdatePending = !0;
203
+ try {
204
+ await this._$E_;
205
+ } catch (e) {
206
+ Promise.reject(e);
207
+ }
208
+ const t = this.scheduleUpdate();
209
+ return t != null && await t, !this.isUpdatePending;
210
+ }
211
+ scheduleUpdate() {
212
+ return this.performUpdate();
213
+ }
214
+ performUpdate() {
215
+ var t;
216
+ if (!this.isUpdatePending)
217
+ return;
218
+ this.hasUpdated, this._$Ei && (this._$Ei.forEach((s, r) => this[r] = s), this._$Ei = void 0);
219
+ let e = !1;
220
+ const i = this._$AL;
221
+ try {
222
+ e = this.shouldUpdate(i), e ? (this.willUpdate(i), (t = this._$ES) === null || t === void 0 || t.forEach((s) => {
223
+ var r;
224
+ return (r = s.hostUpdate) === null || r === void 0 ? void 0 : r.call(s);
225
+ }), this.update(i)) : this._$Ek();
226
+ } catch (s) {
227
+ throw e = !1, this._$Ek(), s;
228
+ }
229
+ e && this._$AE(i);
230
+ }
231
+ willUpdate(t) {
232
+ }
233
+ _$AE(t) {
234
+ var e;
235
+ (e = this._$ES) === null || e === void 0 || e.forEach((i) => {
236
+ var s;
237
+ return (s = i.hostUpdated) === null || s === void 0 ? void 0 : s.call(i);
238
+ }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
239
+ }
240
+ _$Ek() {
241
+ this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
242
+ }
243
+ get updateComplete() {
244
+ return this.getUpdateComplete();
245
+ }
246
+ getUpdateComplete() {
247
+ return this._$E_;
248
+ }
249
+ shouldUpdate(t) {
250
+ return !0;
251
+ }
252
+ update(t) {
253
+ this._$EC !== void 0 && (this._$EC.forEach((e, i) => this._$EO(i, this[i], e)), this._$EC = void 0), this._$Ek();
254
+ }
255
+ updated(t) {
256
+ }
257
+ firstUpdated(t) {
258
+ }
259
+ };
260
+ A.finalized = !0, A.elementProperties = /* @__PURE__ */ new Map(), A.elementStyles = [], A.shadowRootOptions = { mode: "open" }, J == null || J({ ReactiveElement: A }), ((R = O.reactiveElementVersions) !== null && R !== void 0 ? R : O.reactiveElementVersions = []).push("1.6.1");
261
+ /**
262
+ * @license
263
+ * Copyright 2017 Google LLC
264
+ * SPDX-License-Identifier: BSD-3-Clause
265
+ */
266
+ var L;
267
+ const k = window, m = k.trustedTypes, F = m ? m.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, v = `lit$${(Math.random() + "").slice(9)}$`, W = "?" + v, ft = `<${W}>`, g = document, C = (n = "") => g.createComment(n), w = (n) => n === null || typeof n != "object" && typeof n != "function", ot = Array.isArray, rt = (n) => ot(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", b = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, G = /-->/g, Q = />/g, _ = RegExp(`>|[
268
+ \f\r](?:([^\\s"'>=/]+)([
269
+ \f\r]*=[
270
+ \f\r]*(?:[^
271
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), X = /'/g, Y = /"/g, lt = /^(?:script|style|textarea|title)$/i, At = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), Ct = At(1), E = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), tt = /* @__PURE__ */ new WeakMap(), y = g.createTreeWalker(g, 129, null, !1), ht = (n, t) => {
272
+ const e = n.length - 1, i = [];
273
+ let s, r = t === 2 ? "<svg>" : "", o = b;
274
+ for (let l = 0; l < e; l++) {
275
+ const h = n[l];
276
+ let $, a, c = -1, p = 0;
277
+ for (; p < h.length && (o.lastIndex = p, a = o.exec(h), a !== null); )
278
+ p = o.lastIndex, o === b ? a[1] === "!--" ? o = G : a[1] !== void 0 ? o = Q : a[2] !== void 0 ? (lt.test(a[2]) && (s = RegExp("</" + a[2], "g")), o = _) : a[3] !== void 0 && (o = _) : o === _ ? a[0] === ">" ? (o = s ?? b, c = -1) : a[1] === void 0 ? c = -2 : (c = o.lastIndex - a[2].length, $ = a[1], o = a[3] === void 0 ? _ : a[3] === '"' ? Y : X) : o === Y || o === X ? o = _ : o === G || o === Q ? o = b : (o = _, s = void 0);
279
+ const U = o === _ && n[l + 1].startsWith("/>") ? " " : "";
280
+ r += o === b ? h + ft : c >= 0 ? (i.push($), h.slice(0, c) + "$lit$" + h.slice(c) + v + U) : h + v + (c === -2 ? (i.push(void 0), l) : U);
281
+ }
282
+ const d = r + (n[e] || "<?>") + (t === 2 ? "</svg>" : "");
283
+ if (!Array.isArray(n) || !n.hasOwnProperty("raw"))
284
+ throw Error("invalid template strings array");
285
+ return [F !== void 0 ? F.createHTML(d) : d, i];
286
+ };
287
+ class P {
288
+ constructor({ strings: t, _$litType$: e }, i) {
289
+ let s;
290
+ this.parts = [];
291
+ let r = 0, o = 0;
292
+ const d = t.length - 1, l = this.parts, [h, $] = ht(t, e);
293
+ if (this.el = P.createElement(h, i), y.currentNode = this.el.content, e === 2) {
294
+ const a = this.el.content, c = a.firstChild;
295
+ c.remove(), a.append(...c.childNodes);
296
+ }
297
+ for (; (s = y.nextNode()) !== null && l.length < d; ) {
298
+ if (s.nodeType === 1) {
299
+ if (s.hasAttributes()) {
300
+ const a = [];
301
+ for (const c of s.getAttributeNames())
302
+ if (c.endsWith("$lit$") || c.startsWith(v)) {
303
+ const p = $[o++];
304
+ if (a.push(c), p !== void 0) {
305
+ const U = s.getAttribute(p.toLowerCase() + "$lit$").split(v), H = /([.?@])?(.*)/.exec(p);
306
+ l.push({ type: 1, index: r, name: H[2], strings: U, ctor: H[1] === "." ? dt : H[1] === "?" ? ct : H[1] === "@" ? ut : x });
307
+ } else
308
+ l.push({ type: 6, index: r });
309
+ }
310
+ for (const c of a)
311
+ s.removeAttribute(c);
312
+ }
313
+ if (lt.test(s.tagName)) {
314
+ const a = s.textContent.split(v), c = a.length - 1;
315
+ if (c > 0) {
316
+ s.textContent = m ? m.emptyScript : "";
317
+ for (let p = 0; p < c; p++)
318
+ s.append(a[p], C()), y.nextNode(), l.push({ type: 2, index: ++r });
319
+ s.append(a[c], C());
320
+ }
321
+ }
322
+ } else if (s.nodeType === 8)
323
+ if (s.data === W)
324
+ l.push({ type: 2, index: r });
325
+ else {
326
+ let a = -1;
327
+ for (; (a = s.data.indexOf(v, a + 1)) !== -1; )
328
+ l.push({ type: 7, index: r }), a += v.length - 1;
329
+ }
330
+ r++;
331
+ }
332
+ }
333
+ static createElement(t, e) {
334
+ const i = g.createElement("template");
335
+ return i.innerHTML = t, i;
336
+ }
337
+ }
338
+ function f(n, t, e = n, i) {
339
+ var s, r, o, d;
340
+ if (t === E)
341
+ return t;
342
+ let l = i !== void 0 ? (s = e._$Co) === null || s === void 0 ? void 0 : s[i] : e._$Cl;
343
+ const h = w(t) ? void 0 : t._$litDirective$;
344
+ return (l == null ? void 0 : l.constructor) !== h && ((r = l == null ? void 0 : l._$AO) === null || r === void 0 || r.call(l, !1), h === void 0 ? l = void 0 : (l = new h(n), l._$AT(n, e, i)), i !== void 0 ? ((o = (d = e)._$Co) !== null && o !== void 0 ? o : d._$Co = [])[i] = l : e._$Cl = l), l !== void 0 && (t = f(n, l._$AS(n, t.values), l, i)), t;
345
+ }
346
+ class at {
347
+ constructor(t, e) {
348
+ this.u = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
349
+ }
350
+ get parentNode() {
351
+ return this._$AM.parentNode;
352
+ }
353
+ get _$AU() {
354
+ return this._$AM._$AU;
355
+ }
356
+ v(t) {
357
+ var e;
358
+ const { el: { content: i }, parts: s } = this._$AD, r = ((e = t == null ? void 0 : t.creationScope) !== null && e !== void 0 ? e : g).importNode(i, !0);
359
+ y.currentNode = r;
360
+ let o = y.nextNode(), d = 0, l = 0, h = s[0];
361
+ for (; h !== void 0; ) {
362
+ if (d === h.index) {
363
+ let $;
364
+ h.type === 2 ? $ = new S(o, o.nextSibling, this, t) : h.type === 1 ? $ = new h.ctor(o, h.name, h.strings, this, t) : h.type === 6 && ($ = new pt(o, this, t)), this.u.push($), h = s[++l];
365
+ }
366
+ d !== (h == null ? void 0 : h.index) && (o = y.nextNode(), d++);
367
+ }
368
+ return r;
369
+ }
370
+ p(t) {
371
+ let e = 0;
372
+ for (const i of this.u)
373
+ i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
374
+ }
375
+ }
376
+ class S {
377
+ constructor(t, e, i, s) {
378
+ var r;
379
+ this.type = 2, this._$AH = u, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = s, this._$Cm = (r = s == null ? void 0 : s.isConnected) === null || r === void 0 || r;
380
+ }
381
+ get _$AU() {
382
+ var t, e;
383
+ return (e = (t = this._$AM) === null || t === void 0 ? void 0 : t._$AU) !== null && e !== void 0 ? e : this._$Cm;
384
+ }
385
+ get parentNode() {
386
+ let t = this._$AA.parentNode;
387
+ const e = this._$AM;
388
+ return e !== void 0 && t.nodeType === 11 && (t = e.parentNode), t;
389
+ }
390
+ get startNode() {
391
+ return this._$AA;
392
+ }
393
+ get endNode() {
394
+ return this._$AB;
395
+ }
396
+ _$AI(t, e = this) {
397
+ t = f(this, t, e), w(t) ? t === u || t == null || t === "" ? (this._$AH !== u && this._$AR(), this._$AH = u) : t !== this._$AH && t !== E && this.g(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : rt(t) ? this.k(t) : this.g(t);
398
+ }
399
+ O(t, e = this._$AB) {
400
+ return this._$AA.parentNode.insertBefore(t, e);
401
+ }
402
+ T(t) {
403
+ this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
404
+ }
405
+ g(t) {
406
+ this._$AH !== u && w(this._$AH) ? this._$AA.nextSibling.data = t : this.T(g.createTextNode(t)), this._$AH = t;
407
+ }
408
+ $(t) {
409
+ var e;
410
+ const { values: i, _$litType$: s } = t, r = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = P.createElement(s.h, this.options)), s);
411
+ if (((e = this._$AH) === null || e === void 0 ? void 0 : e._$AD) === r)
412
+ this._$AH.p(i);
413
+ else {
414
+ const o = new at(r, this), d = o.v(this.options);
415
+ o.p(i), this.T(d), this._$AH = o;
416
+ }
417
+ }
418
+ _$AC(t) {
419
+ let e = tt.get(t.strings);
420
+ return e === void 0 && tt.set(t.strings, e = new P(t)), e;
421
+ }
422
+ k(t) {
423
+ ot(this._$AH) || (this._$AH = [], this._$AR());
424
+ const e = this._$AH;
425
+ let i, s = 0;
426
+ for (const r of t)
427
+ s === e.length ? e.push(i = new S(this.O(C()), this.O(C()), this, this.options)) : i = e[s], i._$AI(r), s++;
428
+ s < e.length && (this._$AR(i && i._$AB.nextSibling, s), e.length = s);
429
+ }
430
+ _$AR(t = this._$AA.nextSibling, e) {
431
+ var i;
432
+ for ((i = this._$AP) === null || i === void 0 || i.call(this, !1, !0, e); t && t !== this._$AB; ) {
433
+ const s = t.nextSibling;
434
+ t.remove(), t = s;
435
+ }
436
+ }
437
+ setConnected(t) {
438
+ var e;
439
+ this._$AM === void 0 && (this._$Cm = t, (e = this._$AP) === null || e === void 0 || e.call(this, t));
440
+ }
441
+ }
442
+ class x {
443
+ constructor(t, e, i, s, r) {
444
+ this.type = 1, this._$AH = u, this._$AN = void 0, this.element = t, this.name = e, this._$AM = s, this.options = r, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = u;
445
+ }
446
+ get tagName() {
447
+ return this.element.tagName;
448
+ }
449
+ get _$AU() {
450
+ return this._$AM._$AU;
451
+ }
452
+ _$AI(t, e = this, i, s) {
453
+ const r = this.strings;
454
+ let o = !1;
455
+ if (r === void 0)
456
+ t = f(this, t, e, 0), o = !w(t) || t !== this._$AH && t !== E, o && (this._$AH = t);
457
+ else {
458
+ const d = t;
459
+ let l, h;
460
+ for (t = r[0], l = 0; l < r.length - 1; l++)
461
+ h = f(this, d[i + l], e, l), h === E && (h = this._$AH[l]), o || (o = !w(h) || h !== this._$AH[l]), h === u ? t = u : t !== u && (t += (h ?? "") + r[l + 1]), this._$AH[l] = h;
462
+ }
463
+ o && !s && this.j(t);
464
+ }
465
+ j(t) {
466
+ t === u ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
467
+ }
468
+ }
469
+ class dt extends x {
470
+ constructor() {
471
+ super(...arguments), this.type = 3;
472
+ }
473
+ j(t) {
474
+ this.element[this.name] = t === u ? void 0 : t;
475
+ }
476
+ }
477
+ const yt = m ? m.emptyScript : "";
478
+ class ct extends x {
479
+ constructor() {
480
+ super(...arguments), this.type = 4;
481
+ }
482
+ j(t) {
483
+ t && t !== u ? this.element.setAttribute(this.name, yt) : this.element.removeAttribute(this.name);
484
+ }
485
+ }
486
+ class ut extends x {
487
+ constructor(t, e, i, s, r) {
488
+ super(t, e, i, s, r), this.type = 5;
489
+ }
490
+ _$AI(t, e = this) {
491
+ var i;
492
+ if ((t = (i = f(this, t, e, 0)) !== null && i !== void 0 ? i : u) === E)
493
+ return;
494
+ const s = this._$AH, r = t === u && s !== u || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, o = t !== u && (s === u || r);
495
+ r && this.element.removeEventListener(this.name, this, s), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
496
+ }
497
+ handleEvent(t) {
498
+ var e, i;
499
+ typeof this._$AH == "function" ? this._$AH.call((i = (e = this.options) === null || e === void 0 ? void 0 : e.host) !== null && i !== void 0 ? i : this.element, t) : this._$AH.handleEvent(t);
500
+ }
501
+ }
502
+ class pt {
503
+ constructor(t, e, i) {
504
+ this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
505
+ }
506
+ get _$AU() {
507
+ return this._$AM._$AU;
508
+ }
509
+ _$AI(t) {
510
+ f(this, t);
511
+ }
512
+ }
513
+ const wt = { P: "$lit$", A: v, M: W, C: 1, L: ht, R: at, D: rt, V: f, I: S, H: x, N: ct, U: ut, B: dt, F: pt }, et = k.litHtmlPolyfillSupport;
514
+ et == null || et(P, S), ((L = k.litHtmlVersions) !== null && L !== void 0 ? L : k.litHtmlVersions = []).push("2.6.1");
515
+ const mt = (n, t, e) => {
516
+ var i, s;
517
+ const r = (i = e == null ? void 0 : e.renderBefore) !== null && i !== void 0 ? i : t;
518
+ let o = r._$litPart$;
519
+ if (o === void 0) {
520
+ const d = (s = e == null ? void 0 : e.renderBefore) !== null && s !== void 0 ? s : null;
521
+ r._$litPart$ = o = new S(t.insertBefore(C(), d), d, void 0, e ?? {});
522
+ }
523
+ return o._$AI(n), o;
524
+ };
525
+ /**
526
+ * @license
527
+ * Copyright 2017 Google LLC
528
+ * SPDX-License-Identifier: BSD-3-Clause
529
+ */
530
+ var z, j;
531
+ class T extends A {
532
+ constructor() {
533
+ super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
534
+ }
535
+ createRenderRoot() {
536
+ var t, e;
537
+ const i = super.createRenderRoot();
538
+ return (t = (e = this.renderOptions).renderBefore) !== null && t !== void 0 || (e.renderBefore = i.firstChild), i;
539
+ }
540
+ update(t) {
541
+ const e = this.render();
542
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = mt(e, this.renderRoot, this.renderOptions);
543
+ }
544
+ connectedCallback() {
545
+ var t;
546
+ super.connectedCallback(), (t = this._$Do) === null || t === void 0 || t.setConnected(!0);
547
+ }
548
+ disconnectedCallback() {
549
+ var t;
550
+ super.disconnectedCallback(), (t = this._$Do) === null || t === void 0 || t.setConnected(!1);
551
+ }
552
+ render() {
553
+ return E;
554
+ }
555
+ }
556
+ T.finalized = !0, T._$litElement$ = !0, (z = globalThis.litElementHydrateSupport) === null || z === void 0 || z.call(globalThis, { LitElement: T });
557
+ const it = globalThis.litElementPolyfillSupport;
558
+ it == null || it({ LitElement: T });
559
+ ((j = globalThis.litElementVersions) !== null && j !== void 0 ? j : globalThis.litElementVersions = []).push("3.2.2");
560
+ /**
561
+ * @license
562
+ * Copyright 2017 Google LLC
563
+ * SPDX-License-Identifier: BSD-3-Clause
564
+ */
565
+ const Pt = (n) => (t) => typeof t == "function" ? ((e, i) => (customElements.define(e, i), i))(n, t) : ((e, i) => {
566
+ const { kind: s, elements: r } = i;
567
+ return { kind: s, elements: r, finisher(o) {
568
+ customElements.define(e, o);
569
+ } };
570
+ })(n, t);
571
+ /**
572
+ * @license
573
+ * Copyright 2017 Google LLC
574
+ * SPDX-License-Identifier: BSD-3-Clause
575
+ */
576
+ const gt = (n, t) => t.kind === "method" && t.descriptor && !("value" in t.descriptor) ? { ...t, finisher(e) {
577
+ e.createProperty(t.key, n);
578
+ } } : { kind: "field", key: Symbol(), placement: "own", descriptor: {}, originalKey: t.key, initializer() {
579
+ typeof t.initializer == "function" && (this[t.key] = t.initializer.call(this));
580
+ }, finisher(e) {
581
+ e.createProperty(t.key, n);
582
+ } };
583
+ function xt(n) {
584
+ return (t, e) => e !== void 0 ? ((i, s, r) => {
585
+ s.constructor.createProperty(r, i);
586
+ })(n, t, e) : gt(n, t);
587
+ }
588
+ /**
589
+ * @license
590
+ * Copyright 2021 Google LLC
591
+ * SPDX-License-Identifier: BSD-3-Clause
592
+ */
593
+ var B;
594
+ ((B = window.HTMLSlotElement) === null || B === void 0 ? void 0 : B.prototype.assignedElements) != null;
595
+ export {
596
+ wt as L,
597
+ Pt as a,
598
+ xt as e,
599
+ St as i,
600
+ $t as r,
601
+ T as s,
602
+ E as x,
603
+ Ct as y
604
+ };
605
+ //# sourceMappingURL=query-assigned-elements-4285356d.js.map