@telia-ace/alliance-ui 1.0.3-next.0 → 1.0.3-next.1
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.
- package/CHANGELOG.md +6 -0
- package/chunks/{check-circle-filled-8e1e6362.js → check-circle-filled-5d4848cd.js} +1 -1
- package/chunks/{check-circle-filled-8e1e6362.js.map → check-circle-filled-5d4848cd.js.map} +1 -1
- package/chunks/{chevron-down-fa275d07.js → chevron-down-f30b592b.js} +1 -1
- package/chunks/{chevron-down-fa275d07.js.map → chevron-down-f30b592b.js.map} +1 -1
- package/chunks/{chevron-right-8d39622f.js → chevron-right-bc7b760b.js} +1 -1
- package/chunks/{chevron-right-8d39622f.js.map → chevron-right-bc7b760b.js.map} +1 -1
- package/chunks/{close-35881381.js → close-9af7d517.js} +1 -1
- package/chunks/{close-35881381.js.map → close-9af7d517.js.map} +1 -1
- package/chunks/{error-filled-1c04b799.js → error-filled-e7de17f8.js} +1 -1
- package/chunks/{error-filled-1c04b799.js.map → error-filled-e7de17f8.js.map} +1 -1
- package/chunks/{getSvgContent-f8f3b2b3.js → getSvgContent-c9406894.js} +1 -1
- package/chunks/{getSvgContent-f8f3b2b3.js.map → getSvgContent-c9406894.js.map} +1 -1
- package/chunks/{stringCombiner-1924ac75.js → stringCombiner-e800a63c.js} +1 -1
- package/chunks/{stringCombiner-1924ac75.js.map → stringCombiner-e800a63c.js.map} +1 -1
- package/chunks/{telia-button-ed8aa4be.js → telia-button-e3163f41.js} +3 -3
- package/chunks/{telia-button-ed8aa4be.js.map → telia-button-e3163f41.js.map} +1 -1
- package/chunks/{telia-button-text2-3c082af9.js → telia-button-text2-9b6f9582.js} +3 -3
- package/chunks/{telia-button-text2-3c082af9.js.map → telia-button-text2-9b6f9582.js.map} +1 -1
- package/chunks/{telia-card-frame2-933b95d6.js → telia-card-frame2-5cbd8163.js} +2 -2
- package/chunks/{telia-card-frame2-933b95d6.js.map → telia-card-frame2-5cbd8163.js.map} +1 -1
- package/chunks/{telia-divider-c3741e53.js → telia-divider-0c959d6c.js} +2 -2
- package/chunks/{telia-divider-c3741e53.js.map → telia-divider-0c959d6c.js.map} +1 -1
- package/chunks/{telia-field-assistive-text2-8c051b1c.js → telia-field-assistive-text2-015aa9ee.js} +2 -2
- package/chunks/{telia-field-assistive-text2-8c051b1c.js.map → telia-field-assistive-text2-015aa9ee.js.map} +1 -1
- package/chunks/{telia-field-error2-fdd35dae.js → telia-field-error2-803797ff.js} +4 -4
- package/chunks/{telia-field-error2-fdd35dae.js.map → telia-field-error2-803797ff.js.map} +1 -1
- package/chunks/{telia-field-valid2-ee26b51a.js → telia-field-valid2-708bda98.js} +4 -4
- package/chunks/{telia-field-valid2-ee26b51a.js.map → telia-field-valid2-708bda98.js.map} +1 -1
- package/chunks/{telia-heading2-f81fa07d.js → telia-heading2-f80c3d8f.js} +2 -2
- package/chunks/{telia-heading2-f81fa07d.js.map → telia-heading2-f80c3d8f.js.map} +1 -1
- package/chunks/{telia-icon2-0db17e4e.js → telia-icon2-3b2c189b.js} +3 -3
- package/chunks/{telia-icon2-0db17e4e.js.map → telia-icon2-3b2c189b.js.map} +1 -1
- package/chunks/{telia-label2-30f60678.js → telia-label2-36554635.js} +2 -2
- package/chunks/{telia-label2-30f60678.js.map → telia-label2-36554635.js.map} +1 -1
- package/chunks/{telia-link2-51f772bf.js → telia-link2-24d1bee8.js} +3 -3
- package/chunks/{telia-link2-51f772bf.js.map → telia-link2-24d1bee8.js.map} +1 -1
- package/chunks/{telia-navigation-button2-48b4149f.js → telia-navigation-button2-5ccfa534.js} +3 -3
- package/chunks/{telia-navigation-button2-48b4149f.js.map → telia-navigation-button2-5ccfa534.js.map} +1 -1
- package/chunks/{telia-style-link2-c168172c.js → telia-style-link2-9bd055d6.js} +2 -2
- package/chunks/{telia-style-link2-c168172c.js.map → telia-style-link2-9bd055d6.js.map} +1 -1
- package/chunks/{telia-style-navigation-item2-1e42aa8c.js → telia-style-navigation-item2-97a9e028.js} +2 -2
- package/chunks/{telia-style-navigation-item2-1e42aa8c.js.map → telia-style-navigation-item2-97a9e028.js.map} +1 -1
- package/chunks/{telia-tab-header2-e92c0efd.js → telia-tab-header2-734add2f.js} +3 -3
- package/chunks/{telia-tab-header2-e92c0efd.js.map → telia-tab-header2-734add2f.js.map} +1 -1
- package/chunks/{telia-visually-hidden2-1ce59952.js → telia-visually-hidden2-2107d70a.js} +2 -2
- package/chunks/{telia-visually-hidden2-1ce59952.js.map → telia-visually-hidden2-2107d70a.js.map} +1 -1
- package/chunks/{telia-vst2-5b44b983.js → telia-vst2-db6a58b9.js} +1 -1
- package/chunks/{telia-vst2-5b44b983.js.map → telia-vst2-db6a58b9.js.map} +1 -1
- package/chunks/{uniqueId-1a9545dc.js → uniqueId-eb84c172.js} +1 -1
- package/chunks/{uniqueId-1a9545dc.js.map → uniqueId-eb84c172.js.map} +1 -1
- package/chunks/{variables-06e4d3d9.js → variables-825dd261.js} +1 -1
- package/chunks/{variables-06e4d3d9.js.map → variables-825dd261.js.map} +1 -1
- package/components/alliance-object-list/alliance-object-list.d.ts +1 -1
- package/components/index.js +203 -203
- package/components/index.js.map +1 -1
- package/package.json +6 -6
- package/voca/components/telia-accordion-item.js +4 -4
- package/voca/components/telia-accordion-item.js.map +1 -1
- package/voca/components/telia-accordion.js +2 -2
- package/voca/components/telia-accordion.js.map +1 -1
- package/voca/components/telia-badge.js +1 -1
- package/voca/components/telia-badge.js.map +1 -1
- package/voca/components/telia-button-text.js +4 -4
- package/voca/components/telia-button.js +4 -4
- package/voca/components/telia-card-frame-link.js +4 -4
- package/voca/components/telia-card-frame-link.js.map +1 -1
- package/voca/components/telia-card-frame.js +2 -2
- package/voca/components/telia-checkbox.js +35 -25
- package/voca/components/telia-checkbox.js.map +1 -1
- package/voca/components/telia-chip-choice.js +2 -2
- package/voca/components/telia-chip-choice.js.map +1 -1
- package/voca/components/telia-chip-filter.js +4 -4
- package/voca/components/telia-chip-filter.js.map +1 -1
- package/voca/components/telia-col.js +2 -2
- package/voca/components/telia-col.js.map +1 -1
- package/voca/components/telia-color-dot.js +1 -1
- package/voca/components/telia-color-dot.js.map +1 -1
- package/voca/components/telia-cta-link.js +4 -4
- package/voca/components/telia-cta-link.js.map +1 -1
- package/voca/components/telia-date-picker.js +12 -12
- package/voca/components/telia-date-picker.js.map +1 -1
- package/voca/components/telia-divider.js +2 -2
- package/voca/components/telia-field-assistive-text.js +2 -2
- package/voca/components/telia-field-error.js +5 -5
- package/voca/components/telia-field-valid.js +5 -5
- package/voca/components/telia-fieldset.js +1 -1
- package/voca/components/telia-fieldset.js.map +1 -1
- package/voca/components/telia-focus-trap.js +1 -1
- package/voca/components/telia-focus-trap.js.map +1 -1
- package/voca/components/telia-form.js +1 -1
- package/voca/components/telia-form.js.map +1 -1
- package/voca/components/telia-grid.js +1 -1
- package/voca/components/telia-grid.js.map +1 -1
- package/voca/components/telia-heading.js +2 -2
- package/voca/components/telia-icon.js +3 -3
- package/voca/components/telia-image.js +1 -1
- package/voca/components/telia-image.js.map +1 -1
- package/voca/components/telia-label.js +2 -2
- package/voca/components/telia-link-image.js +4 -4
- package/voca/components/telia-link-image.js.map +1 -1
- package/voca/components/telia-link.js +3 -3
- package/voca/components/telia-list.js +1 -1
- package/voca/components/telia-list.js.map +1 -1
- package/voca/components/telia-logo.js +1 -1
- package/voca/components/telia-logo.js.map +1 -1
- package/voca/components/telia-navigation-button.js +3 -3
- package/voca/components/telia-navigation-dropdown.js +5 -5
- package/voca/components/telia-navigation-dropdown.js.map +1 -1
- package/voca/components/telia-navigation-link.js +2 -2
- package/voca/components/telia-navigation-link.js.map +1 -1
- package/voca/components/telia-notification.js +8 -8
- package/voca/components/telia-notification.js.map +1 -1
- package/voca/components/telia-overlay.js +1 -1
- package/voca/components/telia-overlay.js.map +1 -1
- package/voca/components/telia-p.js +1 -1
- package/voca/components/telia-p.js.map +1 -1
- package/voca/components/telia-pictogram.js +2 -2
- package/voca/components/telia-pictogram.js.map +1 -1
- package/voca/components/telia-radio-button.js +22 -14
- package/voca/components/telia-radio-button.js.map +1 -1
- package/voca/components/telia-row.js +1 -1
- package/voca/components/telia-row.js.map +1 -1
- package/voca/components/telia-select.js +9 -9
- package/voca/components/telia-select.js.map +1 -1
- package/voca/components/telia-skeleton.js +1 -1
- package/voca/components/telia-skeleton.js.map +1 -1
- package/voca/components/telia-status-badge.js +3 -3
- package/voca/components/telia-status-badge.js.map +1 -1
- package/voca/components/telia-style-link.js +2 -2
- package/voca/components/telia-style-navigation-item.js +2 -2
- package/voca/components/telia-tab-content.js +1 -1
- package/voca/components/telia-tab-content.js.map +1 -1
- package/voca/components/telia-tab-header.js +4 -4
- package/voca/components/telia-tab.js +4 -4
- package/voca/components/telia-tab.js.map +1 -1
- package/voca/components/telia-text-input.js +11 -11
- package/voca/components/telia-text-input.js.map +1 -1
- package/voca/components/telia-text-spacing.js +1 -1
- package/voca/components/telia-text-spacing.js.map +1 -1
- package/voca/components/telia-textarea.js +9 -9
- package/voca/components/telia-textarea.js.map +1 -1
- package/voca/components/telia-toggle.js +2 -2
- package/voca/components/telia-toggle.js.map +1 -1
- package/voca/components/telia-visually-hidden.js +2 -2
- package/voca/foundations/index.js +2 -2
- package/voca/icons/index.js +1 -1
- package/voca/icons/index.js.map +1 -1
package/components/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../chunks/telia-label2-
|
|
2
|
-
import { s as X, m as $t, c as vt, f as ft } from "../chunks/variables-
|
|
3
|
-
import "../chunks/telia-divider-
|
|
4
|
-
import "../chunks/telia-button-
|
|
5
|
-
import { c as Ft, a as Qt } from "../chunks/chevron-right-
|
|
1
|
+
import "../chunks/telia-label2-36554635.js";
|
|
2
|
+
import { s as X, m as $t, c as vt, f as ft } from "../chunks/variables-825dd261.js";
|
|
3
|
+
import "../chunks/telia-divider-0c959d6c.js";
|
|
4
|
+
import "../chunks/telia-button-e3163f41.js";
|
|
5
|
+
import { c as Ft, a as Qt } from "../chunks/chevron-right-bc7b760b.js";
|
|
6
6
|
import "../chunks/index-f01c7229.js";
|
|
7
|
-
import "../chunks/telia-vst2-
|
|
8
|
-
import "../chunks/telia-icon2-
|
|
9
|
-
import "../chunks/getSvgContent-
|
|
7
|
+
import "../chunks/telia-vst2-db6a58b9.js";
|
|
8
|
+
import "../chunks/telia-icon2-3b2c189b.js";
|
|
9
|
+
import "../chunks/getSvgContent-c9406894.js";
|
|
10
10
|
/**
|
|
11
11
|
* @license
|
|
12
12
|
* Copyright 2019 Google LLC
|
|
@@ -14,8 +14,8 @@ import "../chunks/getSvgContent-f8f3b2b3.js";
|
|
|
14
14
|
*/
|
|
15
15
|
const Z = window, ht = Z.ShadowRoot && (Z.ShadyCSS === void 0 || Z.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ct = Symbol(), _t = /* @__PURE__ */ new WeakMap();
|
|
16
16
|
class Tt {
|
|
17
|
-
constructor(t, e,
|
|
18
|
-
if (this._$cssResult$ = !0,
|
|
17
|
+
constructor(t, e, i) {
|
|
18
|
+
if (this._$cssResult$ = !0, i !== ct)
|
|
19
19
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
20
20
|
this.cssText = t, this.t = e;
|
|
21
21
|
}
|
|
@@ -23,8 +23,8 @@ class Tt {
|
|
|
23
23
|
let t = this.o;
|
|
24
24
|
const e = this.t;
|
|
25
25
|
if (ht && t === void 0) {
|
|
26
|
-
const
|
|
27
|
-
|
|
26
|
+
const i = e !== void 0 && e.length === 1;
|
|
27
|
+
i && (t = _t.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && _t.set(e, t));
|
|
28
28
|
}
|
|
29
29
|
return t;
|
|
30
30
|
}
|
|
@@ -33,23 +33,23 @@ class Tt {
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
const y = (n) => new Tt(typeof n == "string" ? n : n + "", void 0, ct), V = (n, ...t) => {
|
|
36
|
-
const e = n.length === 1 ? n[0] : t.reduce((
|
|
36
|
+
const e = n.length === 1 ? n[0] : t.reduce((i, s, r) => i + ((o) => {
|
|
37
37
|
if (o._$cssResult$ === !0)
|
|
38
38
|
return o.cssText;
|
|
39
39
|
if (typeof o == "number")
|
|
40
40
|
return o;
|
|
41
41
|
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.");
|
|
42
|
-
})(
|
|
42
|
+
})(s) + n[r + 1], n[0]);
|
|
43
43
|
return new Tt(e, n, ct);
|
|
44
44
|
}, Yt = (n, t) => {
|
|
45
45
|
ht ? n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet) : t.forEach((e) => {
|
|
46
|
-
const
|
|
47
|
-
|
|
46
|
+
const i = document.createElement("style"), s = Z.litNonce;
|
|
47
|
+
s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, n.appendChild(i);
|
|
48
48
|
});
|
|
49
49
|
}, gt = ht ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((t) => {
|
|
50
50
|
let e = "";
|
|
51
|
-
for (const
|
|
52
|
-
e +=
|
|
51
|
+
for (const i of t.cssRules)
|
|
52
|
+
e += i.cssText;
|
|
53
53
|
return y(e);
|
|
54
54
|
})(n) : n;
|
|
55
55
|
/**
|
|
@@ -86,73 +86,73 @@ const J = window, yt = J.trustedTypes, Gt = yt ? yt.emptyScript : "", mt = J.rea
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
return e;
|
|
89
|
-
} }, Ht = (n, t) => t !== n && (t == t || n == n),
|
|
89
|
+
} }, Ht = (n, t) => t !== n && (t == t || n == n), it = { attribute: !0, type: String, converter: at, reflect: !1, hasChanged: Ht };
|
|
90
90
|
class U extends HTMLElement {
|
|
91
91
|
constructor() {
|
|
92
92
|
super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this.u();
|
|
93
93
|
}
|
|
94
94
|
static addInitializer(t) {
|
|
95
95
|
var e;
|
|
96
|
-
(e = this.h) !== null && e !== void 0
|
|
96
|
+
this.finalize(), ((e = this.h) !== null && e !== void 0 ? e : this.h = []).push(t);
|
|
97
97
|
}
|
|
98
98
|
static get observedAttributes() {
|
|
99
99
|
this.finalize();
|
|
100
100
|
const t = [];
|
|
101
|
-
return this.elementProperties.forEach((e,
|
|
102
|
-
const
|
|
103
|
-
|
|
101
|
+
return this.elementProperties.forEach((e, i) => {
|
|
102
|
+
const s = this._$Ep(i, e);
|
|
103
|
+
s !== void 0 && (this._$Ev.set(s, i), t.push(s));
|
|
104
104
|
}), t;
|
|
105
105
|
}
|
|
106
|
-
static createProperty(t, e =
|
|
106
|
+
static createProperty(t, e = it) {
|
|
107
107
|
if (e.state && (e.attribute = !1), this.finalize(), this.elementProperties.set(t, e), !e.noAccessor && !this.prototype.hasOwnProperty(t)) {
|
|
108
|
-
const
|
|
109
|
-
|
|
108
|
+
const i = typeof t == "symbol" ? Symbol() : "__" + t, s = this.getPropertyDescriptor(t, i, e);
|
|
109
|
+
s !== void 0 && Object.defineProperty(this.prototype, t, s);
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
|
-
static getPropertyDescriptor(t, e,
|
|
112
|
+
static getPropertyDescriptor(t, e, i) {
|
|
113
113
|
return { get() {
|
|
114
114
|
return this[e];
|
|
115
|
-
}, set(
|
|
115
|
+
}, set(s) {
|
|
116
116
|
const r = this[t];
|
|
117
|
-
this[e] =
|
|
117
|
+
this[e] = s, this.requestUpdate(t, r, i);
|
|
118
118
|
}, configurable: !0, enumerable: !0 };
|
|
119
119
|
}
|
|
120
120
|
static getPropertyOptions(t) {
|
|
121
|
-
return this.elementProperties.get(t) ||
|
|
121
|
+
return this.elementProperties.get(t) || it;
|
|
122
122
|
}
|
|
123
123
|
static finalize() {
|
|
124
124
|
if (this.hasOwnProperty("finalized"))
|
|
125
125
|
return !1;
|
|
126
126
|
this.finalized = !0;
|
|
127
127
|
const t = Object.getPrototypeOf(this);
|
|
128
|
-
if (t.finalize(), this.elementProperties = new Map(t.elementProperties), this._$Ev = /* @__PURE__ */ new Map(), this.hasOwnProperty("properties")) {
|
|
129
|
-
const e = this.properties,
|
|
130
|
-
for (const
|
|
131
|
-
this.createProperty(
|
|
128
|
+
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")) {
|
|
129
|
+
const e = this.properties, i = [...Object.getOwnPropertyNames(e), ...Object.getOwnPropertySymbols(e)];
|
|
130
|
+
for (const s of i)
|
|
131
|
+
this.createProperty(s, e[s]);
|
|
132
132
|
}
|
|
133
133
|
return this.elementStyles = this.finalizeStyles(this.styles), !0;
|
|
134
134
|
}
|
|
135
135
|
static finalizeStyles(t) {
|
|
136
136
|
const e = [];
|
|
137
137
|
if (Array.isArray(t)) {
|
|
138
|
-
const
|
|
139
|
-
for (const
|
|
140
|
-
e.unshift(gt(
|
|
138
|
+
const i = new Set(t.flat(1 / 0).reverse());
|
|
139
|
+
for (const s of i)
|
|
140
|
+
e.unshift(gt(s));
|
|
141
141
|
} else
|
|
142
142
|
t !== void 0 && e.push(gt(t));
|
|
143
143
|
return e;
|
|
144
144
|
}
|
|
145
145
|
static _$Ep(t, e) {
|
|
146
|
-
const
|
|
147
|
-
return
|
|
146
|
+
const i = e.attribute;
|
|
147
|
+
return i === !1 ? void 0 : typeof i == "string" ? i : typeof t == "string" ? t.toLowerCase() : void 0;
|
|
148
148
|
}
|
|
149
149
|
u() {
|
|
150
150
|
var t;
|
|
151
151
|
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));
|
|
152
152
|
}
|
|
153
153
|
addController(t) {
|
|
154
|
-
var e,
|
|
155
|
-
((e = this._$ES) !== null && e !== void 0 ? e : this._$ES = []).push(t), this.renderRoot !== void 0 && this.isConnected && ((
|
|
154
|
+
var e, i;
|
|
155
|
+
((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));
|
|
156
156
|
}
|
|
157
157
|
removeController(t) {
|
|
158
158
|
var e;
|
|
@@ -171,8 +171,8 @@ class U extends HTMLElement {
|
|
|
171
171
|
connectedCallback() {
|
|
172
172
|
var t;
|
|
173
173
|
this.renderRoot === void 0 && (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$ES) === null || t === void 0 || t.forEach((e) => {
|
|
174
|
-
var
|
|
175
|
-
return (
|
|
174
|
+
var i;
|
|
175
|
+
return (i = e.hostConnected) === null || i === void 0 ? void 0 : i.call(e);
|
|
176
176
|
});
|
|
177
177
|
}
|
|
178
178
|
enableUpdating(t) {
|
|
@@ -180,32 +180,32 @@ class U extends HTMLElement {
|
|
|
180
180
|
disconnectedCallback() {
|
|
181
181
|
var t;
|
|
182
182
|
(t = this._$ES) === null || t === void 0 || t.forEach((e) => {
|
|
183
|
-
var
|
|
184
|
-
return (
|
|
183
|
+
var i;
|
|
184
|
+
return (i = e.hostDisconnected) === null || i === void 0 ? void 0 : i.call(e);
|
|
185
185
|
});
|
|
186
186
|
}
|
|
187
|
-
attributeChangedCallback(t, e,
|
|
188
|
-
this._$AK(t,
|
|
187
|
+
attributeChangedCallback(t, e, i) {
|
|
188
|
+
this._$AK(t, i);
|
|
189
189
|
}
|
|
190
|
-
_$EO(t, e,
|
|
191
|
-
var
|
|
192
|
-
const r = this.constructor._$Ep(t,
|
|
193
|
-
if (r !== void 0 &&
|
|
194
|
-
const o = (((
|
|
190
|
+
_$EO(t, e, i = it) {
|
|
191
|
+
var s;
|
|
192
|
+
const r = this.constructor._$Ep(t, i);
|
|
193
|
+
if (r !== void 0 && i.reflect === !0) {
|
|
194
|
+
const o = (((s = i.converter) === null || s === void 0 ? void 0 : s.toAttribute) !== void 0 ? i.converter : at).toAttribute(e, i.type);
|
|
195
195
|
this._$El = t, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$El = null;
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
198
|
_$AK(t, e) {
|
|
199
|
-
var
|
|
200
|
-
const
|
|
199
|
+
var i;
|
|
200
|
+
const s = this.constructor, r = s._$Ev.get(t);
|
|
201
201
|
if (r !== void 0 && this._$El !== r) {
|
|
202
|
-
const o =
|
|
202
|
+
const o = s.getPropertyOptions(r), c = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((i = o.converter) === null || i === void 0 ? void 0 : i.fromAttribute) !== void 0 ? o.converter : at;
|
|
203
203
|
this._$El = r, this[r] = c.fromAttribute(e, o.type), this._$El = null;
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
|
-
requestUpdate(t, e,
|
|
207
|
-
let
|
|
208
|
-
t !== void 0 && (((
|
|
206
|
+
requestUpdate(t, e, i) {
|
|
207
|
+
let s = !0;
|
|
208
|
+
t !== void 0 && (((i = i || this.constructor.getPropertyOptions(t)).hasChanged || Ht)(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());
|
|
209
209
|
}
|
|
210
210
|
async _$Ej() {
|
|
211
211
|
this.isUpdatePending = !0;
|
|
@@ -224,26 +224,26 @@ class U extends HTMLElement {
|
|
|
224
224
|
var t;
|
|
225
225
|
if (!this.isUpdatePending)
|
|
226
226
|
return;
|
|
227
|
-
this.hasUpdated, this._$Ei && (this._$Ei.forEach((
|
|
227
|
+
this.hasUpdated, this._$Ei && (this._$Ei.forEach((s, r) => this[r] = s), this._$Ei = void 0);
|
|
228
228
|
let e = !1;
|
|
229
|
-
const
|
|
229
|
+
const i = this._$AL;
|
|
230
230
|
try {
|
|
231
|
-
e = this.shouldUpdate(
|
|
231
|
+
e = this.shouldUpdate(i), e ? (this.willUpdate(i), (t = this._$ES) === null || t === void 0 || t.forEach((s) => {
|
|
232
232
|
var r;
|
|
233
|
-
return (r =
|
|
234
|
-
}), this.update(
|
|
235
|
-
} catch (
|
|
236
|
-
throw e = !1, this._$Ek(),
|
|
233
|
+
return (r = s.hostUpdate) === null || r === void 0 ? void 0 : r.call(s);
|
|
234
|
+
}), this.update(i)) : this._$Ek();
|
|
235
|
+
} catch (s) {
|
|
236
|
+
throw e = !1, this._$Ek(), s;
|
|
237
237
|
}
|
|
238
|
-
e && this._$AE(
|
|
238
|
+
e && this._$AE(i);
|
|
239
239
|
}
|
|
240
240
|
willUpdate(t) {
|
|
241
241
|
}
|
|
242
242
|
_$AE(t) {
|
|
243
243
|
var e;
|
|
244
|
-
(e = this._$ES) === null || e === void 0 || e.forEach((
|
|
245
|
-
var
|
|
246
|
-
return (
|
|
244
|
+
(e = this._$ES) === null || e === void 0 || e.forEach((i) => {
|
|
245
|
+
var s;
|
|
246
|
+
return (s = i.hostUpdated) === null || s === void 0 ? void 0 : s.call(i);
|
|
247
247
|
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
248
248
|
}
|
|
249
249
|
_$Ek() {
|
|
@@ -259,98 +259,98 @@ class U extends HTMLElement {
|
|
|
259
259
|
return !0;
|
|
260
260
|
}
|
|
261
261
|
update(t) {
|
|
262
|
-
this._$EC !== void 0 && (this._$EC.forEach((e,
|
|
262
|
+
this._$EC !== void 0 && (this._$EC.forEach((e, i) => this._$EO(i, this[i], e)), this._$EC = void 0), this._$Ek();
|
|
263
263
|
}
|
|
264
264
|
updated(t) {
|
|
265
265
|
}
|
|
266
266
|
firstUpdated(t) {
|
|
267
267
|
}
|
|
268
268
|
}
|
|
269
|
-
U.finalized = !0, U.elementProperties = /* @__PURE__ */ new Map(), U.elementStyles = [], U.shadowRootOptions = { mode: "open" }, mt == null || mt({ ReactiveElement: U }), ((et = J.reactiveElementVersions) !== null && et !== void 0 ? et : J.reactiveElementVersions = []).push("1.4.
|
|
269
|
+
U.finalized = !0, U.elementProperties = /* @__PURE__ */ new Map(), U.elementStyles = [], U.shadowRootOptions = { mode: "open" }, mt == null || mt({ ReactiveElement: U }), ((et = J.reactiveElementVersions) !== null && et !== void 0 ? et : J.reactiveElementVersions = []).push("1.4.2");
|
|
270
270
|
/**
|
|
271
271
|
* @license
|
|
272
272
|
* Copyright 2017 Google LLC
|
|
273
273
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
274
274
|
*/
|
|
275
|
-
var
|
|
275
|
+
var st;
|
|
276
276
|
const F = window, T = F.trustedTypes, bt = T ? T.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, A = `lit$${(Math.random() + "").slice(9)}$`, dt = "?" + A, Xt = `<${dt}>`, H = document, L = (n = "") => H.createComment(n), k = (n) => n === null || typeof n != "object" && typeof n != "function", Nt = Array.isArray, Rt = (n) => Nt(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", D = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, At = /-->/g, Et = />/g, P = RegExp(`>|[
|
|
277
277
|
\f\r](?:([^\\s"'>=/]+)([
|
|
278
278
|
\f\r]*=[
|
|
279
279
|
\f\r]*(?:[^
|
|
280
280
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), Pt = /'/g, St = /"/g, Mt = /^(?:script|style|textarea|title)$/i, te = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), g = te(1), w = Symbol.for("lit-noChange"), f = Symbol.for("lit-nothing"), wt = /* @__PURE__ */ new WeakMap(), j = H.createTreeWalker(H, 129, null, !1), Dt = (n, t) => {
|
|
281
|
-
const e = n.length - 1,
|
|
282
|
-
let
|
|
281
|
+
const e = n.length - 1, i = [];
|
|
282
|
+
let s, r = t === 2 ? "<svg>" : "", o = D;
|
|
283
283
|
for (let a = 0; a < e; a++) {
|
|
284
284
|
const l = n[a];
|
|
285
285
|
let $, d, h = -1, u = 0;
|
|
286
286
|
for (; u < l.length && (o.lastIndex = u, d = o.exec(l), d !== null); )
|
|
287
|
-
u = o.lastIndex, o === D ? d[1] === "!--" ? o = At : d[1] !== void 0 ? o = Et : d[2] !== void 0 ? (Mt.test(d[2]) && (
|
|
287
|
+
u = o.lastIndex, o === D ? d[1] === "!--" ? o = At : d[1] !== void 0 ? o = Et : d[2] !== void 0 ? (Mt.test(d[2]) && (s = RegExp("</" + d[2], "g")), o = P) : d[3] !== void 0 && (o = P) : o === P ? d[0] === ">" ? (o = s != null ? s : D, h = -1) : d[1] === void 0 ? h = -2 : (h = o.lastIndex - d[2].length, $ = d[1], o = d[3] === void 0 ? P : d[3] === '"' ? St : Pt) : o === St || o === Pt ? o = P : o === At || o === Et ? o = D : (o = P, s = void 0);
|
|
288
288
|
const p = o === P && n[a + 1].startsWith("/>") ? " " : "";
|
|
289
|
-
r += o === D ? l + Xt : h >= 0 ? (
|
|
289
|
+
r += o === D ? l + Xt : h >= 0 ? (i.push($), l.slice(0, h) + "$lit$" + l.slice(h) + A + p) : l + A + (h === -2 ? (i.push(void 0), a) : p);
|
|
290
290
|
}
|
|
291
291
|
const c = r + (n[e] || "<?>") + (t === 2 ? "</svg>" : "");
|
|
292
292
|
if (!Array.isArray(n) || !n.hasOwnProperty("raw"))
|
|
293
293
|
throw Error("invalid template strings array");
|
|
294
|
-
return [bt !== void 0 ? bt.createHTML(c) : c,
|
|
294
|
+
return [bt !== void 0 ? bt.createHTML(c) : c, i];
|
|
295
295
|
};
|
|
296
296
|
class I {
|
|
297
|
-
constructor({ strings: t, _$litType$: e },
|
|
298
|
-
let
|
|
297
|
+
constructor({ strings: t, _$litType$: e }, i) {
|
|
298
|
+
let s;
|
|
299
299
|
this.parts = [];
|
|
300
300
|
let r = 0, o = 0;
|
|
301
301
|
const c = t.length - 1, a = this.parts, [l, $] = Dt(t, e);
|
|
302
|
-
if (this.el = I.createElement(l,
|
|
302
|
+
if (this.el = I.createElement(l, i), j.currentNode = this.el.content, e === 2) {
|
|
303
303
|
const d = this.el.content, h = d.firstChild;
|
|
304
304
|
h.remove(), d.append(...h.childNodes);
|
|
305
305
|
}
|
|
306
|
-
for (; (
|
|
307
|
-
if (
|
|
308
|
-
if (
|
|
306
|
+
for (; (s = j.nextNode()) !== null && a.length < c; ) {
|
|
307
|
+
if (s.nodeType === 1) {
|
|
308
|
+
if (s.hasAttributes()) {
|
|
309
309
|
const d = [];
|
|
310
|
-
for (const h of
|
|
310
|
+
for (const h of s.getAttributeNames())
|
|
311
311
|
if (h.endsWith("$lit$") || h.startsWith(A)) {
|
|
312
312
|
const u = $[o++];
|
|
313
313
|
if (d.push(h), u !== void 0) {
|
|
314
|
-
const p =
|
|
314
|
+
const p = s.getAttribute(u.toLowerCase() + "$lit$").split(A), v = /([.?@])?(.*)/.exec(u);
|
|
315
315
|
a.push({ type: 1, index: r, name: v[2], strings: p, ctor: v[1] === "." ? Lt : v[1] === "?" ? kt : v[1] === "@" ? It : W });
|
|
316
316
|
} else
|
|
317
317
|
a.push({ type: 6, index: r });
|
|
318
318
|
}
|
|
319
319
|
for (const h of d)
|
|
320
|
-
|
|
320
|
+
s.removeAttribute(h);
|
|
321
321
|
}
|
|
322
|
-
if (Mt.test(
|
|
323
|
-
const d =
|
|
322
|
+
if (Mt.test(s.tagName)) {
|
|
323
|
+
const d = s.textContent.split(A), h = d.length - 1;
|
|
324
324
|
if (h > 0) {
|
|
325
|
-
|
|
325
|
+
s.textContent = T ? T.emptyScript : "";
|
|
326
326
|
for (let u = 0; u < h; u++)
|
|
327
|
-
|
|
328
|
-
|
|
327
|
+
s.append(d[u], L()), j.nextNode(), a.push({ type: 2, index: ++r });
|
|
328
|
+
s.append(d[h], L());
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
|
-
} else if (
|
|
332
|
-
if (
|
|
331
|
+
} else if (s.nodeType === 8)
|
|
332
|
+
if (s.data === dt)
|
|
333
333
|
a.push({ type: 2, index: r });
|
|
334
334
|
else {
|
|
335
335
|
let d = -1;
|
|
336
|
-
for (; (d =
|
|
336
|
+
for (; (d = s.data.indexOf(A, d + 1)) !== -1; )
|
|
337
337
|
a.push({ type: 7, index: r }), d += A.length - 1;
|
|
338
338
|
}
|
|
339
339
|
r++;
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
static createElement(t, e) {
|
|
343
|
-
const
|
|
344
|
-
return
|
|
343
|
+
const i = H.createElement("template");
|
|
344
|
+
return i.innerHTML = t, i;
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
|
-
function C(n, t, e = n,
|
|
348
|
-
var
|
|
347
|
+
function C(n, t, e = n, i) {
|
|
348
|
+
var s, r, o, c;
|
|
349
349
|
if (t === w)
|
|
350
350
|
return t;
|
|
351
|
-
let a =
|
|
351
|
+
let a = i !== void 0 ? (s = e._$Co) === null || s === void 0 ? void 0 : s[i] : e._$Cl;
|
|
352
352
|
const l = k(t) ? void 0 : t._$litDirective$;
|
|
353
|
-
return (a == null ? void 0 : a.constructor) !== l && ((r = a == null ? void 0 : a._$AO) === null || r === void 0 || r.call(a, !1), l === void 0 ? a = void 0 : (a = new l(n), a._$AT(n, e,
|
|
353
|
+
return (a == null ? void 0 : a.constructor) !== l && ((r = a == null ? void 0 : a._$AO) === null || r === void 0 || r.call(a, !1), l === void 0 ? a = void 0 : (a = new l(n), a._$AT(n, e, i)), i !== void 0 ? ((o = (c = e)._$Co) !== null && o !== void 0 ? o : c._$Co = [])[i] = a : e._$Cl = a), a !== void 0 && (t = C(n, a._$AS(n, t.values), a, i)), t;
|
|
354
354
|
}
|
|
355
355
|
class Bt {
|
|
356
356
|
constructor(t, e) {
|
|
@@ -364,13 +364,13 @@ class Bt {
|
|
|
364
364
|
}
|
|
365
365
|
v(t) {
|
|
366
366
|
var e;
|
|
367
|
-
const { el: { content:
|
|
367
|
+
const { el: { content: i }, parts: s } = this._$AD, r = ((e = t == null ? void 0 : t.creationScope) !== null && e !== void 0 ? e : H).importNode(i, !0);
|
|
368
368
|
j.currentNode = r;
|
|
369
|
-
let o = j.nextNode(), c = 0, a = 0, l =
|
|
369
|
+
let o = j.nextNode(), c = 0, a = 0, l = s[0];
|
|
370
370
|
for (; l !== void 0; ) {
|
|
371
371
|
if (c === l.index) {
|
|
372
372
|
let $;
|
|
373
|
-
l.type === 2 ? $ = new N(o, o.nextSibling, this, t) : l.type === 1 ? $ = new l.ctor(o, l.name, l.strings, this, t) : l.type === 6 && ($ = new zt(o, this, t)), this.u.push($), l =
|
|
373
|
+
l.type === 2 ? $ = new N(o, o.nextSibling, this, t) : l.type === 1 ? $ = new l.ctor(o, l.name, l.strings, this, t) : l.type === 6 && ($ = new zt(o, this, t)), this.u.push($), l = s[++a];
|
|
374
374
|
}
|
|
375
375
|
c !== (l == null ? void 0 : l.index) && (o = j.nextNode(), c++);
|
|
376
376
|
}
|
|
@@ -378,14 +378,14 @@ class Bt {
|
|
|
378
378
|
}
|
|
379
379
|
p(t) {
|
|
380
380
|
let e = 0;
|
|
381
|
-
for (const
|
|
382
|
-
|
|
381
|
+
for (const i of this.u)
|
|
382
|
+
i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
385
|
class N {
|
|
386
|
-
constructor(t, e,
|
|
386
|
+
constructor(t, e, i, s) {
|
|
387
387
|
var r;
|
|
388
|
-
this.type = 2, this._$AH = f, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM =
|
|
388
|
+
this.type = 2, this._$AH = f, 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;
|
|
389
389
|
}
|
|
390
390
|
get _$AU() {
|
|
391
391
|
var t, e;
|
|
@@ -416,12 +416,12 @@ class N {
|
|
|
416
416
|
}
|
|
417
417
|
$(t) {
|
|
418
418
|
var e;
|
|
419
|
-
const { values:
|
|
419
|
+
const { values: i, _$litType$: s } = t, r = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = I.createElement(s.h, this.options)), s);
|
|
420
420
|
if (((e = this._$AH) === null || e === void 0 ? void 0 : e._$AD) === r)
|
|
421
|
-
this._$AH.p(
|
|
421
|
+
this._$AH.p(i);
|
|
422
422
|
else {
|
|
423
423
|
const o = new Bt(r, this), c = o.v(this.options);
|
|
424
|
-
o.p(
|
|
424
|
+
o.p(i), this.T(c), this._$AH = o;
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
427
|
_$AC(t) {
|
|
@@ -431,16 +431,16 @@ class N {
|
|
|
431
431
|
k(t) {
|
|
432
432
|
Nt(this._$AH) || (this._$AH = [], this._$AR());
|
|
433
433
|
const e = this._$AH;
|
|
434
|
-
let
|
|
434
|
+
let i, s = 0;
|
|
435
435
|
for (const r of t)
|
|
436
|
-
|
|
437
|
-
|
|
436
|
+
s === e.length ? e.push(i = new N(this.O(L()), this.O(L()), this, this.options)) : i = e[s], i._$AI(r), s++;
|
|
437
|
+
s < e.length && (this._$AR(i && i._$AB.nextSibling, s), e.length = s);
|
|
438
438
|
}
|
|
439
439
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
440
|
-
var
|
|
441
|
-
for ((
|
|
442
|
-
const
|
|
443
|
-
t.remove(), t =
|
|
440
|
+
var i;
|
|
441
|
+
for ((i = this._$AP) === null || i === void 0 || i.call(this, !1, !0, e); t && t !== this._$AB; ) {
|
|
442
|
+
const s = t.nextSibling;
|
|
443
|
+
t.remove(), t = s;
|
|
444
444
|
}
|
|
445
445
|
}
|
|
446
446
|
setConnected(t) {
|
|
@@ -449,8 +449,8 @@ class N {
|
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
451
|
class W {
|
|
452
|
-
constructor(t, e,
|
|
453
|
-
this.type = 1, this._$AH = f, this._$AN = void 0, this.element = t, this.name = e, this._$AM =
|
|
452
|
+
constructor(t, e, i, s, r) {
|
|
453
|
+
this.type = 1, this._$AH = f, 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 = f;
|
|
454
454
|
}
|
|
455
455
|
get tagName() {
|
|
456
456
|
return this.element.tagName;
|
|
@@ -458,7 +458,7 @@ class W {
|
|
|
458
458
|
get _$AU() {
|
|
459
459
|
return this._$AM._$AU;
|
|
460
460
|
}
|
|
461
|
-
_$AI(t, e = this,
|
|
461
|
+
_$AI(t, e = this, i, s) {
|
|
462
462
|
const r = this.strings;
|
|
463
463
|
let o = !1;
|
|
464
464
|
if (r === void 0)
|
|
@@ -467,9 +467,9 @@ class W {
|
|
|
467
467
|
const c = t;
|
|
468
468
|
let a, l;
|
|
469
469
|
for (t = r[0], a = 0; a < r.length - 1; a++)
|
|
470
|
-
l = C(this, c[
|
|
470
|
+
l = C(this, c[i + a], e, a), l === w && (l = this._$AH[a]), o || (o = !k(l) || l !== this._$AH[a]), l === f ? t = f : t !== f && (t += (l != null ? l : "") + r[a + 1]), this._$AH[a] = l;
|
|
471
471
|
}
|
|
472
|
-
o && !
|
|
472
|
+
o && !s && this.j(t);
|
|
473
473
|
}
|
|
474
474
|
j(t) {
|
|
475
475
|
t === f ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t != null ? t : "");
|
|
@@ -493,24 +493,24 @@ class kt extends W {
|
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
495
|
class It extends W {
|
|
496
|
-
constructor(t, e,
|
|
497
|
-
super(t, e,
|
|
496
|
+
constructor(t, e, i, s, r) {
|
|
497
|
+
super(t, e, i, s, r), this.type = 5;
|
|
498
498
|
}
|
|
499
499
|
_$AI(t, e = this) {
|
|
500
|
-
var
|
|
501
|
-
if ((t = (
|
|
500
|
+
var i;
|
|
501
|
+
if ((t = (i = C(this, t, e, 0)) !== null && i !== void 0 ? i : f) === w)
|
|
502
502
|
return;
|
|
503
|
-
const
|
|
504
|
-
r && this.element.removeEventListener(this.name, this,
|
|
503
|
+
const s = this._$AH, r = t === f && s !== f || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, o = t !== f && (s === f || r);
|
|
504
|
+
r && this.element.removeEventListener(this.name, this, s), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
505
505
|
}
|
|
506
506
|
handleEvent(t) {
|
|
507
|
-
var e,
|
|
508
|
-
typeof this._$AH == "function" ? this._$AH.call((
|
|
507
|
+
var e, i;
|
|
508
|
+
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);
|
|
509
509
|
}
|
|
510
510
|
}
|
|
511
511
|
class zt {
|
|
512
|
-
constructor(t, e,
|
|
513
|
-
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options =
|
|
512
|
+
constructor(t, e, i) {
|
|
513
|
+
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
|
|
514
514
|
}
|
|
515
515
|
get _$AU() {
|
|
516
516
|
return this._$AM._$AU;
|
|
@@ -519,14 +519,14 @@ class zt {
|
|
|
519
519
|
C(this, t);
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
|
-
const
|
|
523
|
-
Ct == null || Ct(I, N), ((
|
|
524
|
-
const
|
|
525
|
-
var
|
|
526
|
-
const r = (
|
|
522
|
+
const ie = { P: "$lit$", A, M: dt, C: 1, L: Dt, R: Bt, D: Rt, V: C, I: N, H: W, N: kt, U: It, B: Lt, F: zt }, Ct = F.litHtmlPolyfillSupport;
|
|
523
|
+
Ct == null || Ct(I, N), ((st = F.litHtmlVersions) !== null && st !== void 0 ? st : F.litHtmlVersions = []).push("2.4.0");
|
|
524
|
+
const se = (n, t, e) => {
|
|
525
|
+
var i, s;
|
|
526
|
+
const r = (i = e == null ? void 0 : e.renderBefore) !== null && i !== void 0 ? i : t;
|
|
527
527
|
let o = r._$litPart$;
|
|
528
528
|
if (o === void 0) {
|
|
529
|
-
const c = (
|
|
529
|
+
const c = (s = e == null ? void 0 : e.renderBefore) !== null && s !== void 0 ? s : null;
|
|
530
530
|
r._$litPart$ = o = new N(t.insertBefore(L(), c), c, void 0, e != null ? e : {});
|
|
531
531
|
}
|
|
532
532
|
return o._$AI(n), o;
|
|
@@ -543,12 +543,12 @@ class m extends U {
|
|
|
543
543
|
}
|
|
544
544
|
createRenderRoot() {
|
|
545
545
|
var t, e;
|
|
546
|
-
const
|
|
547
|
-
return (t = (e = this.renderOptions).renderBefore) !== null && t !== void 0 || (e.renderBefore =
|
|
546
|
+
const i = super.createRenderRoot();
|
|
547
|
+
return (t = (e = this.renderOptions).renderBefore) !== null && t !== void 0 || (e.renderBefore = i.firstChild), i;
|
|
548
548
|
}
|
|
549
549
|
update(t) {
|
|
550
550
|
const e = this.render();
|
|
551
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
551
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = se(e, this.renderRoot, this.renderOptions);
|
|
552
552
|
}
|
|
553
553
|
connectedCallback() {
|
|
554
554
|
var t;
|
|
@@ -571,9 +571,9 @@ xt == null || xt({ LitElement: m });
|
|
|
571
571
|
* Copyright 2017 Google LLC
|
|
572
572
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
573
573
|
*/
|
|
574
|
-
const R = (n) => (t) => typeof t == "function" ? ((e,
|
|
575
|
-
const { kind:
|
|
576
|
-
return { kind:
|
|
574
|
+
const R = (n) => (t) => typeof t == "function" ? ((e, i) => (customElements.define(e, i), i))(n, t) : ((e, i) => {
|
|
575
|
+
const { kind: s, elements: r } = i;
|
|
576
|
+
return { kind: s, elements: r, finisher(o) {
|
|
577
577
|
customElements.define(e, o);
|
|
578
578
|
} };
|
|
579
579
|
})(n, t);
|
|
@@ -590,8 +590,8 @@ const ne = (n, t) => t.kind === "method" && t.descriptor && !("value" in t.descr
|
|
|
590
590
|
e.createProperty(t.key, n);
|
|
591
591
|
} };
|
|
592
592
|
function _(n) {
|
|
593
|
-
return (t, e) => e !== void 0 ? ((
|
|
594
|
-
|
|
593
|
+
return (t, e) => e !== void 0 ? ((i, s, r) => {
|
|
594
|
+
s.constructor.createProperty(r, i);
|
|
595
595
|
})(n, t, e) : ne(n, t);
|
|
596
596
|
}
|
|
597
597
|
/**
|
|
@@ -621,8 +621,8 @@ class le {
|
|
|
621
621
|
get _$AU() {
|
|
622
622
|
return this._$AM._$AU;
|
|
623
623
|
}
|
|
624
|
-
_$AT(t, e,
|
|
625
|
-
this._$Ct = t, this._$AM = e, this._$Ci =
|
|
624
|
+
_$AT(t, e, i) {
|
|
625
|
+
this._$Ct = t, this._$AM = e, this._$Ci = i;
|
|
626
626
|
}
|
|
627
627
|
_$AS(t, e) {
|
|
628
628
|
return this.update(t, e);
|
|
@@ -636,23 +636,23 @@ class le {
|
|
|
636
636
|
* Copyright 2020 Google LLC
|
|
637
637
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
638
638
|
*/
|
|
639
|
-
const { I: ae } =
|
|
640
|
-
var
|
|
641
|
-
const
|
|
639
|
+
const { I: ae } = ie, Ot = () => document.createComment(""), B = (n, t, e) => {
|
|
640
|
+
var i;
|
|
641
|
+
const s = n._$AA.parentNode, r = t === void 0 ? n._$AB : t._$AA;
|
|
642
642
|
if (e === void 0) {
|
|
643
|
-
const o =
|
|
643
|
+
const o = s.insertBefore(Ot(), r), c = s.insertBefore(Ot(), r);
|
|
644
644
|
e = new ae(o, c, n, n.options);
|
|
645
645
|
} else {
|
|
646
646
|
const o = e._$AB.nextSibling, c = e._$AM, a = c !== n;
|
|
647
647
|
if (a) {
|
|
648
648
|
let l;
|
|
649
|
-
(
|
|
649
|
+
(i = e._$AQ) === null || i === void 0 || i.call(e, n), e._$AM = n, e._$AP !== void 0 && (l = n._$AU) !== c._$AU && e._$AP(l);
|
|
650
650
|
}
|
|
651
651
|
if (o !== r || a) {
|
|
652
652
|
let l = e._$AA;
|
|
653
653
|
for (; l !== o; ) {
|
|
654
654
|
const $ = l.nextSibling;
|
|
655
|
-
|
|
655
|
+
s.insertBefore(l, r), l = $;
|
|
656
656
|
}
|
|
657
657
|
}
|
|
658
658
|
}
|
|
@@ -661,10 +661,10 @@ const { I: ae } = se, Ot = () => document.createComment(""), B = (n, t, e) => {
|
|
|
661
661
|
var t;
|
|
662
662
|
(t = n._$AP) === null || t === void 0 || t.call(n, !1, !0);
|
|
663
663
|
let e = n._$AA;
|
|
664
|
-
const
|
|
665
|
-
for (; e !==
|
|
666
|
-
const
|
|
667
|
-
e.remove(), e =
|
|
664
|
+
const i = n._$AB.nextSibling;
|
|
665
|
+
for (; e !== i; ) {
|
|
666
|
+
const s = e.nextSibling;
|
|
667
|
+
e.remove(), e = s;
|
|
668
668
|
}
|
|
669
669
|
};
|
|
670
670
|
/**
|
|
@@ -673,33 +673,33 @@ const { I: ae } = se, Ot = () => document.createComment(""), B = (n, t, e) => {
|
|
|
673
673
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
674
674
|
*/
|
|
675
675
|
const Ut = (n, t, e) => {
|
|
676
|
-
const
|
|
677
|
-
for (let
|
|
678
|
-
|
|
679
|
-
return
|
|
676
|
+
const i = /* @__PURE__ */ new Map();
|
|
677
|
+
for (let s = t; s <= e; s++)
|
|
678
|
+
i.set(n[s], s);
|
|
679
|
+
return i;
|
|
680
680
|
}, Wt = oe(class extends le {
|
|
681
681
|
constructor(n) {
|
|
682
682
|
if (super(n), n.type !== re.CHILD)
|
|
683
683
|
throw Error("repeat() can only be used in text expressions");
|
|
684
684
|
}
|
|
685
685
|
ht(n, t, e) {
|
|
686
|
-
let
|
|
687
|
-
e === void 0 ? e = t : t !== void 0 && (
|
|
688
|
-
const
|
|
686
|
+
let i;
|
|
687
|
+
e === void 0 ? e = t : t !== void 0 && (i = t);
|
|
688
|
+
const s = [], r = [];
|
|
689
689
|
let o = 0;
|
|
690
690
|
for (const c of n)
|
|
691
|
-
|
|
692
|
-
return { values: r, keys:
|
|
691
|
+
s[o] = i ? i(c, o) : o, r[o] = e(c, o), o++;
|
|
692
|
+
return { values: r, keys: s };
|
|
693
693
|
}
|
|
694
694
|
render(n, t, e) {
|
|
695
695
|
return this.ht(n, t, e).values;
|
|
696
696
|
}
|
|
697
|
-
update(n, [t, e,
|
|
698
|
-
var
|
|
699
|
-
const r = de(n), { values: o, keys: c } = this.ht(t, e,
|
|
697
|
+
update(n, [t, e, i]) {
|
|
698
|
+
var s;
|
|
699
|
+
const r = de(n), { values: o, keys: c } = this.ht(t, e, i);
|
|
700
700
|
if (!Array.isArray(r))
|
|
701
701
|
return this.ut = c, o;
|
|
702
|
-
const a = (
|
|
702
|
+
const a = (s = this.ut) !== null && s !== void 0 ? s : this.ut = [], l = [];
|
|
703
703
|
let $, d, h = 0, u = r.length - 1, p = 0, v = o.length - 1;
|
|
704
704
|
for (; h <= u && p <= v; )
|
|
705
705
|
if (r[h] === null)
|
|
@@ -738,10 +738,10 @@ const Ut = (n, t, e) => {
|
|
|
738
738
|
return this.ut = c, ce(n, l), w;
|
|
739
739
|
}
|
|
740
740
|
});
|
|
741
|
-
var ue = Object.defineProperty, pe = Object.getOwnPropertyDescriptor, qt = (n, t, e,
|
|
742
|
-
for (var
|
|
743
|
-
(o = n[r]) && (
|
|
744
|
-
return
|
|
741
|
+
var ue = Object.defineProperty, pe = Object.getOwnPropertyDescriptor, qt = (n, t, e, i) => {
|
|
742
|
+
for (var s = i > 1 ? void 0 : i ? pe(t, e) : t, r = n.length - 1, o; r >= 0; r--)
|
|
743
|
+
(o = n[r]) && (s = (i ? o(t, e, s) : o(s)) || s);
|
|
744
|
+
return i && s && ue(t, e, s), s;
|
|
745
745
|
};
|
|
746
746
|
let Q = class extends m {
|
|
747
747
|
constructor() {
|
|
@@ -773,10 +773,10 @@ qt([
|
|
|
773
773
|
Q = qt([
|
|
774
774
|
R("alliance-object-list")
|
|
775
775
|
], Q);
|
|
776
|
-
var $e = Object.defineProperty, ve = Object.getOwnPropertyDescriptor, ut = (n, t, e,
|
|
777
|
-
for (var
|
|
778
|
-
(o = n[r]) && (
|
|
779
|
-
return
|
|
776
|
+
var $e = Object.defineProperty, ve = Object.getOwnPropertyDescriptor, ut = (n, t, e, i) => {
|
|
777
|
+
for (var s = i > 1 ? void 0 : i ? ve(t, e) : t, r = n.length - 1, o; r >= 0; r--)
|
|
778
|
+
(o = n[r]) && (s = (i ? o(t, e, s) : o(s)) || s);
|
|
779
|
+
return i && s && $e(t, e, s), s;
|
|
780
780
|
};
|
|
781
781
|
let z = class extends m {
|
|
782
782
|
constructor() {
|
|
@@ -807,10 +807,10 @@ ut([
|
|
|
807
807
|
z = ut([
|
|
808
808
|
R("alliance-object-list-head")
|
|
809
809
|
], z);
|
|
810
|
-
var fe = Object.defineProperty, _e = Object.getOwnPropertyDescriptor, Kt = (n, t, e,
|
|
811
|
-
for (var
|
|
812
|
-
(o = n[r]) && (
|
|
813
|
-
return
|
|
810
|
+
var fe = Object.defineProperty, _e = Object.getOwnPropertyDescriptor, Kt = (n, t, e, i) => {
|
|
811
|
+
for (var s = i > 1 ? void 0 : i ? _e(t, e) : t, r = n.length - 1, o; r >= 0; r--)
|
|
812
|
+
(o = n[r]) && (s = (i ? o(t, e, s) : o(s)) || s);
|
|
813
|
+
return i && s && fe(t, e, s), s;
|
|
814
814
|
};
|
|
815
815
|
let Y = class extends m {
|
|
816
816
|
constructor() {
|
|
@@ -840,10 +840,10 @@ Kt([
|
|
|
840
840
|
Y = Kt([
|
|
841
841
|
R("alliance-object-list-item")
|
|
842
842
|
], Y);
|
|
843
|
-
var ge = Object.defineProperty, ye = Object.getOwnPropertyDescriptor, Zt = (n, t, e,
|
|
844
|
-
for (var
|
|
845
|
-
(o = n[r]) && (
|
|
846
|
-
return
|
|
843
|
+
var ge = Object.defineProperty, ye = Object.getOwnPropertyDescriptor, Zt = (n, t, e, i) => {
|
|
844
|
+
for (var s = i > 1 ? void 0 : i ? ye(t, e) : t, r = n.length - 1, o; r >= 0; r--)
|
|
845
|
+
(o = n[r]) && (s = (i ? o(t, e, s) : o(s)) || s);
|
|
846
|
+
return i && s && ge(t, e, s), s;
|
|
847
847
|
};
|
|
848
848
|
let G = class extends m {
|
|
849
849
|
constructor() {
|
|
@@ -896,18 +896,18 @@ G = Zt([
|
|
|
896
896
|
], G);
|
|
897
897
|
const q = "...", K = (n, t) => {
|
|
898
898
|
let e = t - n + 1;
|
|
899
|
-
return Array.from({ length: e }, (
|
|
900
|
-
}, jt = (n, t, e,
|
|
901
|
-
const
|
|
902
|
-
if (e + 5 >=
|
|
903
|
-
return K(1,
|
|
904
|
-
const o = Math.max(
|
|
899
|
+
return Array.from({ length: e }, (i, s) => s + n);
|
|
900
|
+
}, jt = (n, t, e, i) => {
|
|
901
|
+
const s = Math.ceil(n / t);
|
|
902
|
+
if (e + 5 >= s)
|
|
903
|
+
return K(1, s);
|
|
904
|
+
const o = Math.max(i - e, 1), c = Math.min(i + e, s), a = o > 2, l = c < s - 2, $ = 1, d = s;
|
|
905
905
|
if (!a && l) {
|
|
906
906
|
let h = 3 + 2 * e;
|
|
907
|
-
return [...K(1, h), q,
|
|
907
|
+
return [...K(1, h), q, s];
|
|
908
908
|
}
|
|
909
909
|
if (a && !l) {
|
|
910
|
-
let h = 3 + 2 * e, u = K(
|
|
910
|
+
let h = 3 + 2 * e, u = K(s - h + 1, s);
|
|
911
911
|
return [$, q, ...u];
|
|
912
912
|
}
|
|
913
913
|
if (a && l) {
|
|
@@ -916,10 +916,10 @@ const q = "...", K = (n, t) => {
|
|
|
916
916
|
}
|
|
917
917
|
return [];
|
|
918
918
|
};
|
|
919
|
-
var me = Object.defineProperty, be = Object.getOwnPropertyDescriptor, O = (n, t, e,
|
|
920
|
-
for (var
|
|
921
|
-
(o = n[r]) && (
|
|
922
|
-
return
|
|
919
|
+
var me = Object.defineProperty, be = Object.getOwnPropertyDescriptor, O = (n, t, e, i) => {
|
|
920
|
+
for (var s = i > 1 ? void 0 : i ? be(t, e) : t, r = n.length - 1, o; r >= 0; r--)
|
|
921
|
+
(o = n[r]) && (s = (i ? o(t, e, s) : o(s)) || s);
|
|
922
|
+
return i && s && me(t, e, s), s;
|
|
923
923
|
};
|
|
924
924
|
let E = class extends m {
|
|
925
925
|
constructor() {
|
|
@@ -1010,10 +1010,10 @@ O([
|
|
|
1010
1010
|
E = O([
|
|
1011
1011
|
R("alliance-paginator")
|
|
1012
1012
|
], E);
|
|
1013
|
-
var Ae = Object.defineProperty, Ee = Object.getOwnPropertyDescriptor, M = (n, t, e,
|
|
1014
|
-
for (var
|
|
1015
|
-
(o = n[r]) && (
|
|
1016
|
-
return
|
|
1013
|
+
var Ae = Object.defineProperty, Ee = Object.getOwnPropertyDescriptor, M = (n, t, e, i) => {
|
|
1014
|
+
for (var s = i > 1 ? void 0 : i ? Ee(t, e) : t, r = n.length - 1, o; r >= 0; r--)
|
|
1015
|
+
(o = n[r]) && (s = (i ? o(t, e, s) : o(s)) || s);
|
|
1016
|
+
return i && s && Ae(t, e, s), s;
|
|
1017
1017
|
}, Jt = /* @__PURE__ */ ((n) => (n.Left = "left", n.Right = "right", n))(Jt || {});
|
|
1018
1018
|
let x = class extends m {
|
|
1019
1019
|
constructor() {
|