@telia-ace/alliance-ui 1.0.6-next.3 → 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.
- package/CHANGELOG.md +40 -0
- package/README.md +1 -1
- package/chunks/alliance-modal-f2ab100c.js +154 -0
- package/chunks/alliance-modal-f2ab100c.js.map +1 -0
- package/chunks/alliance-paginator-button-83c050bc.js +181 -0
- package/chunks/alliance-paginator-button-83c050bc.js.map +1 -0
- package/chunks/alliance-table-row-67a6becb.js +142 -0
- package/chunks/alliance-table-row-67a6becb.js.map +1 -0
- package/chunks/{close-cf3fd2c4.js → chevron-right-788ce8a9.js} +4 -5
- package/chunks/chevron-right-788ce8a9.js.map +1 -0
- package/chunks/close-7d423291.js +5 -0
- package/chunks/close-7d423291.js.map +1 -0
- package/chunks/{variables-07547793.js → index-57f6bd40.js} +25 -30
- package/chunks/index-57f6bd40.js.map +1 -0
- package/chunks/query-assigned-elements-4285356d.js +605 -0
- package/chunks/query-assigned-elements-4285356d.js.map +1 -0
- package/chunks/repeat-bf84f01f.js +134 -0
- package/chunks/repeat-bf84f01f.js.map +1 -0
- package/chunks/variables-ecb680f0.js +8 -0
- package/chunks/variables-ecb680f0.js.map +1 -0
- package/components/alliance-modal/alliance-modal.d.ts +13 -1
- package/components/alliance-modal/index.d.ts +1 -0
- package/components/alliance-modal.js +12 -0
- package/components/alliance-modal.js.map +1 -0
- package/components/alliance-paginator/alliance-paginator.d.ts +11 -1
- package/components/alliance-paginator.js +12 -0
- package/components/alliance-paginator.js.map +1 -0
- package/components/alliance-table.js +8 -0
- package/components/alliance-table.js.map +1 -0
- package/components/index.d.ts +2 -0
- package/components/index.js +13 -1177
- package/components/index.js.map +1 -1
- package/package.json +6 -2
- package/voca/foundations/index.js +4 -3
- package/voca/foundations/index.js.map +1 -1
- package/voca/icons/index.js +3 -2
- package/voca/icons/index.js.map +1 -1
- package/chunks/close-cf3fd2c4.js.map +0 -1
- package/chunks/variables-07547793.js.map +0 -1
package/components/index.js
CHANGED
|
@@ -1,1181 +1,17 @@
|
|
|
1
|
+
import "../chunks/alliance-modal-f2ab100c.js";
|
|
2
|
+
import "../chunks/alliance-paginator-button-83c050bc.js";
|
|
3
|
+
import "../chunks/alliance-table-row-67a6becb.js";
|
|
4
|
+
import "../chunks/query-assigned-elements-4285356d.js";
|
|
5
|
+
import "../chunks/repeat-bf84f01f.js";
|
|
1
6
|
import "../chunks/telia-button2-d25eddda.js";
|
|
2
|
-
import "../chunks/telia-heading2-9d3ab48b.js";
|
|
3
|
-
import "../chunks/telia-icon2-34bf5aef.js";
|
|
4
|
-
import { l as it, c as x, b as dt, s as Yt, a as Gt, d as b, m as yt, f as mt } from "../chunks/variables-07547793.js";
|
|
5
|
-
import { c as te, a as ee, b as ie } from "../chunks/close-cf3fd2c4.js";
|
|
6
|
-
import "../chunks/telia-label2-4d674e5e.js";
|
|
7
7
|
import "../chunks/index-17652cf7.js";
|
|
8
|
-
import "../chunks/telia-
|
|
8
|
+
import "../chunks/telia-icon2-34bf5aef.js";
|
|
9
9
|
import "../chunks/getSvgContent-f2389ce0.js";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
constructor(t, e, i) {
|
|
18
|
-
if (this._$cssResult$ = !0, i !== ft)
|
|
19
|
-
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
20
|
-
this.cssText = t, this.t = e;
|
|
21
|
-
}
|
|
22
|
-
get styleSheet() {
|
|
23
|
-
let t = this.o;
|
|
24
|
-
const e = this.t;
|
|
25
|
-
if (gt && t === void 0) {
|
|
26
|
-
const i = e !== void 0 && e.length === 1;
|
|
27
|
-
i && (t = At.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && At.set(e, t));
|
|
28
|
-
}
|
|
29
|
-
return t;
|
|
30
|
-
}
|
|
31
|
-
toString() {
|
|
32
|
-
return this.cssText;
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
const d = (n) => new Dt(typeof n == "string" ? n : n + "", void 0, ft), N = (n, ...t) => {
|
|
36
|
-
const e = n.length === 1 ? n[0] : t.reduce((i, s, r) => i + ((o) => {
|
|
37
|
-
if (o._$cssResult$ === !0)
|
|
38
|
-
return o.cssText;
|
|
39
|
-
if (typeof o == "number")
|
|
40
|
-
return o;
|
|
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
|
-
})(s) + n[r + 1], n[0]);
|
|
43
|
-
return new Dt(e, n, ft);
|
|
44
|
-
}, se = (n, t) => {
|
|
45
|
-
gt ? n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet) : t.forEach((e) => {
|
|
46
|
-
const i = document.createElement("style"), s = X.litNonce;
|
|
47
|
-
s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, n.appendChild(i);
|
|
48
|
-
});
|
|
49
|
-
}, Pt = gt ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((t) => {
|
|
50
|
-
let e = "";
|
|
51
|
-
for (const i of t.cssRules)
|
|
52
|
-
e += i.cssText;
|
|
53
|
-
return d(e);
|
|
54
|
-
})(n) : n;
|
|
55
|
-
/**
|
|
56
|
-
* @license
|
|
57
|
-
* Copyright 2017 Google LLC
|
|
58
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
59
|
-
*/
|
|
60
|
-
var st;
|
|
61
|
-
const F = window, Et = F.trustedTypes, ne = Et ? Et.emptyScript : "", Ct = F.reactiveElementPolyfillSupport, pt = { toAttribute(n, t) {
|
|
62
|
-
switch (t) {
|
|
63
|
-
case Boolean:
|
|
64
|
-
n = n ? ne : null;
|
|
65
|
-
break;
|
|
66
|
-
case Object:
|
|
67
|
-
case Array:
|
|
68
|
-
n = n == null ? n : JSON.stringify(n);
|
|
69
|
-
}
|
|
70
|
-
return n;
|
|
71
|
-
}, fromAttribute(n, t) {
|
|
72
|
-
let e = n;
|
|
73
|
-
switch (t) {
|
|
74
|
-
case Boolean:
|
|
75
|
-
e = n !== null;
|
|
76
|
-
break;
|
|
77
|
-
case Number:
|
|
78
|
-
e = n === null ? null : Number(n);
|
|
79
|
-
break;
|
|
80
|
-
case Object:
|
|
81
|
-
case Array:
|
|
82
|
-
try {
|
|
83
|
-
e = JSON.parse(n);
|
|
84
|
-
} catch {
|
|
85
|
-
e = null;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
return e;
|
|
89
|
-
} }, zt = (n, t) => t !== n && (t == t || n == n), nt = { attribute: !0, type: String, converter: pt, reflect: !1, hasChanged: zt };
|
|
90
|
-
let R = class extends HTMLElement {
|
|
91
|
-
constructor() {
|
|
92
|
-
super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this.u();
|
|
93
|
-
}
|
|
94
|
-
static addInitializer(t) {
|
|
95
|
-
var e;
|
|
96
|
-
this.finalize(), ((e = this.h) !== null && e !== void 0 ? e : this.h = []).push(t);
|
|
97
|
-
}
|
|
98
|
-
static get observedAttributes() {
|
|
99
|
-
this.finalize();
|
|
100
|
-
const t = [];
|
|
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
|
-
}), t;
|
|
105
|
-
}
|
|
106
|
-
static createProperty(t, e = nt) {
|
|
107
|
-
if (e.state && (e.attribute = !1), this.finalize(), this.elementProperties.set(t, e), !e.noAccessor && !this.prototype.hasOwnProperty(t)) {
|
|
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
|
-
}
|
|
111
|
-
}
|
|
112
|
-
static getPropertyDescriptor(t, e, i) {
|
|
113
|
-
return { get() {
|
|
114
|
-
return this[e];
|
|
115
|
-
}, set(s) {
|
|
116
|
-
const r = this[t];
|
|
117
|
-
this[e] = s, this.requestUpdate(t, r, i);
|
|
118
|
-
}, configurable: !0, enumerable: !0 };
|
|
119
|
-
}
|
|
120
|
-
static getPropertyOptions(t) {
|
|
121
|
-
return this.elementProperties.get(t) || nt;
|
|
122
|
-
}
|
|
123
|
-
static finalize() {
|
|
124
|
-
if (this.hasOwnProperty("finalized"))
|
|
125
|
-
return !1;
|
|
126
|
-
this.finalized = !0;
|
|
127
|
-
const t = Object.getPrototypeOf(this);
|
|
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
|
-
}
|
|
133
|
-
return this.elementStyles = this.finalizeStyles(this.styles), !0;
|
|
134
|
-
}
|
|
135
|
-
static finalizeStyles(t) {
|
|
136
|
-
const e = [];
|
|
137
|
-
if (Array.isArray(t)) {
|
|
138
|
-
const i = new Set(t.flat(1 / 0).reverse());
|
|
139
|
-
for (const s of i)
|
|
140
|
-
e.unshift(Pt(s));
|
|
141
|
-
} else
|
|
142
|
-
t !== void 0 && e.push(Pt(t));
|
|
143
|
-
return e;
|
|
144
|
-
}
|
|
145
|
-
static _$Ep(t, e) {
|
|
146
|
-
const i = e.attribute;
|
|
147
|
-
return i === !1 ? void 0 : typeof i == "string" ? i : typeof t == "string" ? t.toLowerCase() : void 0;
|
|
148
|
-
}
|
|
149
|
-
u() {
|
|
150
|
-
var t;
|
|
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
|
-
}
|
|
153
|
-
addController(t) {
|
|
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
|
-
}
|
|
157
|
-
removeController(t) {
|
|
158
|
-
var e;
|
|
159
|
-
(e = this._$ES) === null || e === void 0 || e.splice(this._$ES.indexOf(t) >>> 0, 1);
|
|
160
|
-
}
|
|
161
|
-
_$Eg() {
|
|
162
|
-
this.constructor.elementProperties.forEach((t, e) => {
|
|
163
|
-
this.hasOwnProperty(e) && (this._$Ei.set(e, this[e]), delete this[e]);
|
|
164
|
-
});
|
|
165
|
-
}
|
|
166
|
-
createRenderRoot() {
|
|
167
|
-
var t;
|
|
168
|
-
const e = (t = this.shadowRoot) !== null && t !== void 0 ? t : this.attachShadow(this.constructor.shadowRootOptions);
|
|
169
|
-
return se(e, this.constructor.elementStyles), e;
|
|
170
|
-
}
|
|
171
|
-
connectedCallback() {
|
|
172
|
-
var t;
|
|
173
|
-
this.renderRoot === void 0 && (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$ES) === null || t === void 0 || t.forEach((e) => {
|
|
174
|
-
var i;
|
|
175
|
-
return (i = e.hostConnected) === null || i === void 0 ? void 0 : i.call(e);
|
|
176
|
-
});
|
|
177
|
-
}
|
|
178
|
-
enableUpdating(t) {
|
|
179
|
-
}
|
|
180
|
-
disconnectedCallback() {
|
|
181
|
-
var t;
|
|
182
|
-
(t = this._$ES) === null || t === void 0 || t.forEach((e) => {
|
|
183
|
-
var i;
|
|
184
|
-
return (i = e.hostDisconnected) === null || i === void 0 ? void 0 : i.call(e);
|
|
185
|
-
});
|
|
186
|
-
}
|
|
187
|
-
attributeChangedCallback(t, e, i) {
|
|
188
|
-
this._$AK(t, i);
|
|
189
|
-
}
|
|
190
|
-
_$EO(t, e, i = nt) {
|
|
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 : pt).toAttribute(e, i.type);
|
|
195
|
-
this._$El = t, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$El = null;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
_$AK(t, e) {
|
|
199
|
-
var i;
|
|
200
|
-
const s = this.constructor, r = s._$Ev.get(t);
|
|
201
|
-
if (r !== void 0 && this._$El !== r) {
|
|
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 : pt;
|
|
203
|
-
this._$El = r, this[r] = c.fromAttribute(e, o.type), this._$El = null;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
requestUpdate(t, e, i) {
|
|
207
|
-
let s = !0;
|
|
208
|
-
t !== void 0 && (((i = i || this.constructor.getPropertyOptions(t)).hasChanged || zt)(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
|
-
}
|
|
210
|
-
async _$Ej() {
|
|
211
|
-
this.isUpdatePending = !0;
|
|
212
|
-
try {
|
|
213
|
-
await this._$E_;
|
|
214
|
-
} catch (e) {
|
|
215
|
-
Promise.reject(e);
|
|
216
|
-
}
|
|
217
|
-
const t = this.scheduleUpdate();
|
|
218
|
-
return t != null && await t, !this.isUpdatePending;
|
|
219
|
-
}
|
|
220
|
-
scheduleUpdate() {
|
|
221
|
-
return this.performUpdate();
|
|
222
|
-
}
|
|
223
|
-
performUpdate() {
|
|
224
|
-
var t;
|
|
225
|
-
if (!this.isUpdatePending)
|
|
226
|
-
return;
|
|
227
|
-
this.hasUpdated, this._$Ei && (this._$Ei.forEach((s, r) => this[r] = s), this._$Ei = void 0);
|
|
228
|
-
let e = !1;
|
|
229
|
-
const i = this._$AL;
|
|
230
|
-
try {
|
|
231
|
-
e = this.shouldUpdate(i), e ? (this.willUpdate(i), (t = this._$ES) === null || t === void 0 || t.forEach((s) => {
|
|
232
|
-
var r;
|
|
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
|
-
}
|
|
238
|
-
e && this._$AE(i);
|
|
239
|
-
}
|
|
240
|
-
willUpdate(t) {
|
|
241
|
-
}
|
|
242
|
-
_$AE(t) {
|
|
243
|
-
var e;
|
|
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
|
-
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
248
|
-
}
|
|
249
|
-
_$Ek() {
|
|
250
|
-
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
|
251
|
-
}
|
|
252
|
-
get updateComplete() {
|
|
253
|
-
return this.getUpdateComplete();
|
|
254
|
-
}
|
|
255
|
-
getUpdateComplete() {
|
|
256
|
-
return this._$E_;
|
|
257
|
-
}
|
|
258
|
-
shouldUpdate(t) {
|
|
259
|
-
return !0;
|
|
260
|
-
}
|
|
261
|
-
update(t) {
|
|
262
|
-
this._$EC !== void 0 && (this._$EC.forEach((e, i) => this._$EO(i, this[i], e)), this._$EC = void 0), this._$Ek();
|
|
263
|
-
}
|
|
264
|
-
updated(t) {
|
|
265
|
-
}
|
|
266
|
-
firstUpdated(t) {
|
|
267
|
-
}
|
|
268
|
-
};
|
|
269
|
-
R.finalized = !0, R.elementProperties = /* @__PURE__ */ new Map(), R.elementStyles = [], R.shadowRootOptions = { mode: "open" }, Ct == null || Ct({ ReactiveElement: R }), ((st = F.reactiveElementVersions) !== null && st !== void 0 ? st : F.reactiveElementVersions = []).push("1.6.1");
|
|
270
|
-
/**
|
|
271
|
-
* @license
|
|
272
|
-
* Copyright 2017 Google LLC
|
|
273
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
274
|
-
*/
|
|
275
|
-
var rt;
|
|
276
|
-
const Q = window, D = Q.trustedTypes, St = D ? D.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, P = `lit$${(Math.random() + "").slice(9)}$`, _t = "?" + P, re = `<${_t}>`, z = document, V = (n = "") => z.createComment(n), W = (n) => n === null || typeof n != "object" && typeof n != "function", jt = Array.isArray, Bt = (n) => jt(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", I = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, wt = /-->/g, xt = />/g, S = RegExp(`>|[
|
|
277
|
-
\f\r](?:([^\\s"'>=/]+)([
|
|
278
|
-
\f\r]*=[
|
|
279
|
-
\f\r]*(?:[^
|
|
280
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Ot = /'/g, Tt = /"/g, kt = /^(?:script|style|textarea|title)$/i, oe = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), _ = oe(1), O = Symbol.for("lit-noChange"), f = Symbol.for("lit-nothing"), Ut = /* @__PURE__ */ new WeakMap(), M = z.createTreeWalker(z, 129, null, !1), It = (n, t) => {
|
|
281
|
-
const e = n.length - 1, i = [];
|
|
282
|
-
let s, r = t === 2 ? "<svg>" : "", o = I;
|
|
283
|
-
for (let a = 0; a < e; a++) {
|
|
284
|
-
const l = n[a];
|
|
285
|
-
let v, p, h = -1, u = 0;
|
|
286
|
-
for (; u < l.length && (o.lastIndex = u, p = o.exec(l), p !== null); )
|
|
287
|
-
u = o.lastIndex, o === I ? p[1] === "!--" ? o = wt : p[1] !== void 0 ? o = xt : p[2] !== void 0 ? (kt.test(p[2]) && (s = RegExp("</" + p[2], "g")), o = S) : p[3] !== void 0 && (o = S) : o === S ? p[0] === ">" ? (o = s ?? I, h = -1) : p[1] === void 0 ? h = -2 : (h = o.lastIndex - p[2].length, v = p[1], o = p[3] === void 0 ? S : p[3] === '"' ? Tt : Ot) : o === Tt || o === Ot ? o = S : o === wt || o === xt ? o = I : (o = S, s = void 0);
|
|
288
|
-
const $ = o === S && n[a + 1].startsWith("/>") ? " " : "";
|
|
289
|
-
r += o === I ? l + re : h >= 0 ? (i.push(v), l.slice(0, h) + "$lit$" + l.slice(h) + P + $) : l + P + (h === -2 ? (i.push(void 0), a) : $);
|
|
290
|
-
}
|
|
291
|
-
const c = r + (n[e] || "<?>") + (t === 2 ? "</svg>" : "");
|
|
292
|
-
if (!Array.isArray(n) || !n.hasOwnProperty("raw"))
|
|
293
|
-
throw Error("invalid template strings array");
|
|
294
|
-
return [St !== void 0 ? St.createHTML(c) : c, i];
|
|
295
|
-
};
|
|
296
|
-
class q {
|
|
297
|
-
constructor({ strings: t, _$litType$: e }, i) {
|
|
298
|
-
let s;
|
|
299
|
-
this.parts = [];
|
|
300
|
-
let r = 0, o = 0;
|
|
301
|
-
const c = t.length - 1, a = this.parts, [l, v] = It(t, e);
|
|
302
|
-
if (this.el = q.createElement(l, i), M.currentNode = this.el.content, e === 2) {
|
|
303
|
-
const p = this.el.content, h = p.firstChild;
|
|
304
|
-
h.remove(), p.append(...h.childNodes);
|
|
305
|
-
}
|
|
306
|
-
for (; (s = M.nextNode()) !== null && a.length < c; ) {
|
|
307
|
-
if (s.nodeType === 1) {
|
|
308
|
-
if (s.hasAttributes()) {
|
|
309
|
-
const p = [];
|
|
310
|
-
for (const h of s.getAttributeNames())
|
|
311
|
-
if (h.endsWith("$lit$") || h.startsWith(P)) {
|
|
312
|
-
const u = v[o++];
|
|
313
|
-
if (p.push(h), u !== void 0) {
|
|
314
|
-
const $ = s.getAttribute(u.toLowerCase() + "$lit$").split(P), g = /([.?@])?(.*)/.exec(u);
|
|
315
|
-
a.push({ type: 1, index: r, name: g[2], strings: $, ctor: g[1] === "." ? Vt : g[1] === "?" ? Wt : g[1] === "@" ? qt : K });
|
|
316
|
-
} else
|
|
317
|
-
a.push({ type: 6, index: r });
|
|
318
|
-
}
|
|
319
|
-
for (const h of p)
|
|
320
|
-
s.removeAttribute(h);
|
|
321
|
-
}
|
|
322
|
-
if (kt.test(s.tagName)) {
|
|
323
|
-
const p = s.textContent.split(P), h = p.length - 1;
|
|
324
|
-
if (h > 0) {
|
|
325
|
-
s.textContent = D ? D.emptyScript : "";
|
|
326
|
-
for (let u = 0; u < h; u++)
|
|
327
|
-
s.append(p[u], V()), M.nextNode(), a.push({ type: 2, index: ++r });
|
|
328
|
-
s.append(p[h], V());
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
} else if (s.nodeType === 8)
|
|
332
|
-
if (s.data === _t)
|
|
333
|
-
a.push({ type: 2, index: r });
|
|
334
|
-
else {
|
|
335
|
-
let p = -1;
|
|
336
|
-
for (; (p = s.data.indexOf(P, p + 1)) !== -1; )
|
|
337
|
-
a.push({ type: 7, index: r }), p += P.length - 1;
|
|
338
|
-
}
|
|
339
|
-
r++;
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
static createElement(t, e) {
|
|
343
|
-
const i = z.createElement("template");
|
|
344
|
-
return i.innerHTML = t, i;
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
function T(n, t, e = n, i) {
|
|
348
|
-
var s, r, o, c;
|
|
349
|
-
if (t === O)
|
|
350
|
-
return t;
|
|
351
|
-
let a = i !== void 0 ? (s = e._$Co) === null || s === void 0 ? void 0 : s[i] : e._$Cl;
|
|
352
|
-
const l = W(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, i)), i !== void 0 ? ((o = (c = e)._$Co) !== null && o !== void 0 ? o : c._$Co = [])[i] = a : e._$Cl = a), a !== void 0 && (t = T(n, a._$AS(n, t.values), a, i)), t;
|
|
354
|
-
}
|
|
355
|
-
class Lt {
|
|
356
|
-
constructor(t, e) {
|
|
357
|
-
this.u = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
358
|
-
}
|
|
359
|
-
get parentNode() {
|
|
360
|
-
return this._$AM.parentNode;
|
|
361
|
-
}
|
|
362
|
-
get _$AU() {
|
|
363
|
-
return this._$AM._$AU;
|
|
364
|
-
}
|
|
365
|
-
v(t) {
|
|
366
|
-
var e;
|
|
367
|
-
const { el: { content: i }, parts: s } = this._$AD, r = ((e = t == null ? void 0 : t.creationScope) !== null && e !== void 0 ? e : z).importNode(i, !0);
|
|
368
|
-
M.currentNode = r;
|
|
369
|
-
let o = M.nextNode(), c = 0, a = 0, l = s[0];
|
|
370
|
-
for (; l !== void 0; ) {
|
|
371
|
-
if (c === l.index) {
|
|
372
|
-
let v;
|
|
373
|
-
l.type === 2 ? v = new B(o, o.nextSibling, this, t) : l.type === 1 ? v = new l.ctor(o, l.name, l.strings, this, t) : l.type === 6 && (v = new Kt(o, this, t)), this.u.push(v), l = s[++a];
|
|
374
|
-
}
|
|
375
|
-
c !== (l == null ? void 0 : l.index) && (o = M.nextNode(), c++);
|
|
376
|
-
}
|
|
377
|
-
return r;
|
|
378
|
-
}
|
|
379
|
-
p(t) {
|
|
380
|
-
let e = 0;
|
|
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
|
-
}
|
|
384
|
-
}
|
|
385
|
-
class B {
|
|
386
|
-
constructor(t, e, i, s) {
|
|
387
|
-
var r;
|
|
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
|
-
}
|
|
390
|
-
get _$AU() {
|
|
391
|
-
var t, e;
|
|
392
|
-
return (e = (t = this._$AM) === null || t === void 0 ? void 0 : t._$AU) !== null && e !== void 0 ? e : this._$Cm;
|
|
393
|
-
}
|
|
394
|
-
get parentNode() {
|
|
395
|
-
let t = this._$AA.parentNode;
|
|
396
|
-
const e = this._$AM;
|
|
397
|
-
return e !== void 0 && t.nodeType === 11 && (t = e.parentNode), t;
|
|
398
|
-
}
|
|
399
|
-
get startNode() {
|
|
400
|
-
return this._$AA;
|
|
401
|
-
}
|
|
402
|
-
get endNode() {
|
|
403
|
-
return this._$AB;
|
|
404
|
-
}
|
|
405
|
-
_$AI(t, e = this) {
|
|
406
|
-
t = T(this, t, e), W(t) ? t === f || t == null || t === "" ? (this._$AH !== f && this._$AR(), this._$AH = f) : t !== this._$AH && t !== O && this.g(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Bt(t) ? this.k(t) : this.g(t);
|
|
407
|
-
}
|
|
408
|
-
O(t, e = this._$AB) {
|
|
409
|
-
return this._$AA.parentNode.insertBefore(t, e);
|
|
410
|
-
}
|
|
411
|
-
T(t) {
|
|
412
|
-
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
413
|
-
}
|
|
414
|
-
g(t) {
|
|
415
|
-
this._$AH !== f && W(this._$AH) ? this._$AA.nextSibling.data = t : this.T(z.createTextNode(t)), this._$AH = t;
|
|
416
|
-
}
|
|
417
|
-
$(t) {
|
|
418
|
-
var e;
|
|
419
|
-
const { values: i, _$litType$: s } = t, r = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = q.createElement(s.h, this.options)), s);
|
|
420
|
-
if (((e = this._$AH) === null || e === void 0 ? void 0 : e._$AD) === r)
|
|
421
|
-
this._$AH.p(i);
|
|
422
|
-
else {
|
|
423
|
-
const o = new Lt(r, this), c = o.v(this.options);
|
|
424
|
-
o.p(i), this.T(c), this._$AH = o;
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
_$AC(t) {
|
|
428
|
-
let e = Ut.get(t.strings);
|
|
429
|
-
return e === void 0 && Ut.set(t.strings, e = new q(t)), e;
|
|
430
|
-
}
|
|
431
|
-
k(t) {
|
|
432
|
-
jt(this._$AH) || (this._$AH = [], this._$AR());
|
|
433
|
-
const e = this._$AH;
|
|
434
|
-
let i, s = 0;
|
|
435
|
-
for (const r of t)
|
|
436
|
-
s === e.length ? e.push(i = new B(this.O(V()), this.O(V()), 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
|
-
}
|
|
439
|
-
_$AR(t = this._$AA.nextSibling, e) {
|
|
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
|
-
}
|
|
445
|
-
}
|
|
446
|
-
setConnected(t) {
|
|
447
|
-
var e;
|
|
448
|
-
this._$AM === void 0 && (this._$Cm = t, (e = this._$AP) === null || e === void 0 || e.call(this, t));
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
class K {
|
|
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
|
-
}
|
|
455
|
-
get tagName() {
|
|
456
|
-
return this.element.tagName;
|
|
457
|
-
}
|
|
458
|
-
get _$AU() {
|
|
459
|
-
return this._$AM._$AU;
|
|
460
|
-
}
|
|
461
|
-
_$AI(t, e = this, i, s) {
|
|
462
|
-
const r = this.strings;
|
|
463
|
-
let o = !1;
|
|
464
|
-
if (r === void 0)
|
|
465
|
-
t = T(this, t, e, 0), o = !W(t) || t !== this._$AH && t !== O, o && (this._$AH = t);
|
|
466
|
-
else {
|
|
467
|
-
const c = t;
|
|
468
|
-
let a, l;
|
|
469
|
-
for (t = r[0], a = 0; a < r.length - 1; a++)
|
|
470
|
-
l = T(this, c[i + a], e, a), l === O && (l = this._$AH[a]), o || (o = !W(l) || l !== this._$AH[a]), l === f ? t = f : t !== f && (t += (l ?? "") + r[a + 1]), this._$AH[a] = l;
|
|
471
|
-
}
|
|
472
|
-
o && !s && this.j(t);
|
|
473
|
-
}
|
|
474
|
-
j(t) {
|
|
475
|
-
t === f ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
class Vt extends K {
|
|
479
|
-
constructor() {
|
|
480
|
-
super(...arguments), this.type = 3;
|
|
481
|
-
}
|
|
482
|
-
j(t) {
|
|
483
|
-
this.element[this.name] = t === f ? void 0 : t;
|
|
484
|
-
}
|
|
485
|
-
}
|
|
486
|
-
const le = D ? D.emptyScript : "";
|
|
487
|
-
class Wt extends K {
|
|
488
|
-
constructor() {
|
|
489
|
-
super(...arguments), this.type = 4;
|
|
490
|
-
}
|
|
491
|
-
j(t) {
|
|
492
|
-
t && t !== f ? this.element.setAttribute(this.name, le) : this.element.removeAttribute(this.name);
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
class qt extends K {
|
|
496
|
-
constructor(t, e, i, s, r) {
|
|
497
|
-
super(t, e, i, s, r), this.type = 5;
|
|
498
|
-
}
|
|
499
|
-
_$AI(t, e = this) {
|
|
500
|
-
var i;
|
|
501
|
-
if ((t = (i = T(this, t, e, 0)) !== null && i !== void 0 ? i : f) === O)
|
|
502
|
-
return;
|
|
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
|
-
}
|
|
506
|
-
handleEvent(t) {
|
|
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
|
-
}
|
|
510
|
-
}
|
|
511
|
-
class Kt {
|
|
512
|
-
constructor(t, e, i) {
|
|
513
|
-
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
|
|
514
|
-
}
|
|
515
|
-
get _$AU() {
|
|
516
|
-
return this._$AM._$AU;
|
|
517
|
-
}
|
|
518
|
-
_$AI(t) {
|
|
519
|
-
T(this, t);
|
|
520
|
-
}
|
|
521
|
-
}
|
|
522
|
-
const ae = { P: "$lit$", A: P, M: _t, C: 1, L: It, R: Lt, D: Bt, V: T, I: B, H: K, N: Wt, U: qt, B: Vt, F: Kt }, Nt = Q.litHtmlPolyfillSupport;
|
|
523
|
-
Nt == null || Nt(q, B), ((rt = Q.litHtmlVersions) !== null && rt !== void 0 ? rt : Q.litHtmlVersions = []).push("2.6.1");
|
|
524
|
-
const he = (n, t, e) => {
|
|
525
|
-
var i, s;
|
|
526
|
-
const r = (i = e == null ? void 0 : e.renderBefore) !== null && i !== void 0 ? i : t;
|
|
527
|
-
let o = r._$litPart$;
|
|
528
|
-
if (o === void 0) {
|
|
529
|
-
const c = (s = e == null ? void 0 : e.renderBefore) !== null && s !== void 0 ? s : null;
|
|
530
|
-
r._$litPart$ = o = new B(t.insertBefore(V(), c), c, void 0, e ?? {});
|
|
531
|
-
}
|
|
532
|
-
return o._$AI(n), o;
|
|
533
|
-
};
|
|
534
|
-
/**
|
|
535
|
-
* @license
|
|
536
|
-
* Copyright 2017 Google LLC
|
|
537
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
538
|
-
*/
|
|
539
|
-
var ot, lt;
|
|
540
|
-
let m = class extends R {
|
|
541
|
-
constructor() {
|
|
542
|
-
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
543
|
-
}
|
|
544
|
-
createRenderRoot() {
|
|
545
|
-
var t, e;
|
|
546
|
-
const i = super.createRenderRoot();
|
|
547
|
-
return (t = (e = this.renderOptions).renderBefore) !== null && t !== void 0 || (e.renderBefore = i.firstChild), i;
|
|
548
|
-
}
|
|
549
|
-
update(t) {
|
|
550
|
-
const e = this.render();
|
|
551
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = he(e, this.renderRoot, this.renderOptions);
|
|
552
|
-
}
|
|
553
|
-
connectedCallback() {
|
|
554
|
-
var t;
|
|
555
|
-
super.connectedCallback(), (t = this._$Do) === null || t === void 0 || t.setConnected(!0);
|
|
556
|
-
}
|
|
557
|
-
disconnectedCallback() {
|
|
558
|
-
var t;
|
|
559
|
-
super.disconnectedCallback(), (t = this._$Do) === null || t === void 0 || t.setConnected(!1);
|
|
560
|
-
}
|
|
561
|
-
render() {
|
|
562
|
-
return O;
|
|
563
|
-
}
|
|
564
|
-
};
|
|
565
|
-
m.finalized = !0, m._$litElement$ = !0, (ot = globalThis.litElementHydrateSupport) === null || ot === void 0 || ot.call(globalThis, { LitElement: m });
|
|
566
|
-
const Ht = globalThis.litElementPolyfillSupport;
|
|
567
|
-
Ht == null || Ht({ LitElement: m });
|
|
568
|
-
((lt = globalThis.litElementVersions) !== null && lt !== void 0 ? lt : globalThis.litElementVersions = []).push("3.2.2");
|
|
569
|
-
/**
|
|
570
|
-
* @license
|
|
571
|
-
* Copyright 2017 Google LLC
|
|
572
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
573
|
-
*/
|
|
574
|
-
const C = (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
|
-
customElements.define(e, o);
|
|
578
|
-
} };
|
|
579
|
-
})(n, t);
|
|
580
|
-
/**
|
|
581
|
-
* @license
|
|
582
|
-
* Copyright 2017 Google LLC
|
|
583
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
584
|
-
*/
|
|
585
|
-
const ce = (n, t) => t.kind === "method" && t.descriptor && !("value" in t.descriptor) ? { ...t, finisher(e) {
|
|
586
|
-
e.createProperty(t.key, n);
|
|
587
|
-
} } : { kind: "field", key: Symbol(), placement: "own", descriptor: {}, originalKey: t.key, initializer() {
|
|
588
|
-
typeof t.initializer == "function" && (this[t.key] = t.initializer.call(this));
|
|
589
|
-
}, finisher(e) {
|
|
590
|
-
e.createProperty(t.key, n);
|
|
591
|
-
} };
|
|
592
|
-
function y(n) {
|
|
593
|
-
return (t, e) => e !== void 0 ? ((i, s, r) => {
|
|
594
|
-
s.constructor.createProperty(r, i);
|
|
595
|
-
})(n, t, e) : ce(n, t);
|
|
596
|
-
}
|
|
597
|
-
/**
|
|
598
|
-
* @license
|
|
599
|
-
* Copyright 2017 Google LLC
|
|
600
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
601
|
-
*/
|
|
602
|
-
function Zt(n) {
|
|
603
|
-
return y({ ...n, state: !0 });
|
|
604
|
-
}
|
|
605
|
-
/**
|
|
606
|
-
* @license
|
|
607
|
-
* Copyright 2021 Google LLC
|
|
608
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
609
|
-
*/
|
|
610
|
-
var at;
|
|
611
|
-
((at = window.HTMLSlotElement) === null || at === void 0 ? void 0 : at.prototype.assignedElements) != null;
|
|
612
|
-
/**
|
|
613
|
-
* @license
|
|
614
|
-
* Copyright 2017 Google LLC
|
|
615
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
616
|
-
*/
|
|
617
|
-
const de = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, pe = (n) => (...t) => ({ _$litDirective$: n, values: t });
|
|
618
|
-
class ue {
|
|
619
|
-
constructor(t) {
|
|
620
|
-
}
|
|
621
|
-
get _$AU() {
|
|
622
|
-
return this._$AM._$AU;
|
|
623
|
-
}
|
|
624
|
-
_$AT(t, e, i) {
|
|
625
|
-
this._$Ct = t, this._$AM = e, this._$Ci = i;
|
|
626
|
-
}
|
|
627
|
-
_$AS(t, e) {
|
|
628
|
-
return this.update(t, e);
|
|
629
|
-
}
|
|
630
|
-
update(t, e) {
|
|
631
|
-
return this.render(...e);
|
|
632
|
-
}
|
|
633
|
-
}
|
|
634
|
-
/**
|
|
635
|
-
* @license
|
|
636
|
-
* Copyright 2020 Google LLC
|
|
637
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
638
|
-
*/
|
|
639
|
-
const { I: $e } = ae, Rt = () => document.createComment(""), L = (n, t, e) => {
|
|
640
|
-
var i;
|
|
641
|
-
const s = n._$AA.parentNode, r = t === void 0 ? n._$AB : t._$AA;
|
|
642
|
-
if (e === void 0) {
|
|
643
|
-
const o = s.insertBefore(Rt(), r), c = s.insertBefore(Rt(), r);
|
|
644
|
-
e = new $e(o, c, n, n.options);
|
|
645
|
-
} else {
|
|
646
|
-
const o = e._$AB.nextSibling, c = e._$AM, a = c !== n;
|
|
647
|
-
if (a) {
|
|
648
|
-
let l;
|
|
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
|
-
}
|
|
651
|
-
if (o !== r || a) {
|
|
652
|
-
let l = e._$AA;
|
|
653
|
-
for (; l !== o; ) {
|
|
654
|
-
const v = l.nextSibling;
|
|
655
|
-
s.insertBefore(l, r), l = v;
|
|
656
|
-
}
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
return e;
|
|
660
|
-
}, w = (n, t, e = n) => (n._$AI(t, e), n), ve = {}, ge = (n, t = ve) => n._$AH = t, fe = (n) => n._$AH, ht = (n) => {
|
|
661
|
-
var t;
|
|
662
|
-
(t = n._$AP) === null || t === void 0 || t.call(n, !1, !0);
|
|
663
|
-
let e = n._$AA;
|
|
664
|
-
const i = n._$AB.nextSibling;
|
|
665
|
-
for (; e !== i; ) {
|
|
666
|
-
const s = e.nextSibling;
|
|
667
|
-
e.remove(), e = s;
|
|
668
|
-
}
|
|
669
|
-
};
|
|
670
|
-
/**
|
|
671
|
-
* @license
|
|
672
|
-
* Copyright 2017 Google LLC
|
|
673
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
674
|
-
*/
|
|
675
|
-
const Mt = (n, t, e) => {
|
|
676
|
-
const i = /* @__PURE__ */ new Map();
|
|
677
|
-
for (let s = t; s <= e; s++)
|
|
678
|
-
i.set(n[s], s);
|
|
679
|
-
return i;
|
|
680
|
-
}, Jt = pe(class extends ue {
|
|
681
|
-
constructor(n) {
|
|
682
|
-
if (super(n), n.type !== de.CHILD)
|
|
683
|
-
throw Error("repeat() can only be used in text expressions");
|
|
684
|
-
}
|
|
685
|
-
ht(n, t, e) {
|
|
686
|
-
let i;
|
|
687
|
-
e === void 0 ? e = t : t !== void 0 && (i = t);
|
|
688
|
-
const s = [], r = [];
|
|
689
|
-
let o = 0;
|
|
690
|
-
for (const c of n)
|
|
691
|
-
s[o] = i ? i(c, o) : o, r[o] = e(c, o), o++;
|
|
692
|
-
return { values: r, keys: s };
|
|
693
|
-
}
|
|
694
|
-
render(n, t, e) {
|
|
695
|
-
return this.ht(n, t, e).values;
|
|
696
|
-
}
|
|
697
|
-
update(n, [t, e, i]) {
|
|
698
|
-
var s;
|
|
699
|
-
const r = fe(n), { values: o, keys: c } = this.ht(t, e, i);
|
|
700
|
-
if (!Array.isArray(r))
|
|
701
|
-
return this.ut = c, o;
|
|
702
|
-
const a = (s = this.ut) !== null && s !== void 0 ? s : this.ut = [], l = [];
|
|
703
|
-
let v, p, h = 0, u = r.length - 1, $ = 0, g = o.length - 1;
|
|
704
|
-
for (; h <= u && $ <= g; )
|
|
705
|
-
if (r[h] === null)
|
|
706
|
-
h++;
|
|
707
|
-
else if (r[u] === null)
|
|
708
|
-
u--;
|
|
709
|
-
else if (a[h] === c[$])
|
|
710
|
-
l[$] = w(r[h], o[$]), h++, $++;
|
|
711
|
-
else if (a[u] === c[g])
|
|
712
|
-
l[g] = w(r[u], o[g]), u--, g--;
|
|
713
|
-
else if (a[h] === c[g])
|
|
714
|
-
l[g] = w(r[h], o[g]), L(n, l[g + 1], r[h]), h++, g--;
|
|
715
|
-
else if (a[u] === c[$])
|
|
716
|
-
l[$] = w(r[u], o[$]), L(n, r[h], r[u]), u--, $++;
|
|
717
|
-
else if (v === void 0 && (v = Mt(c, $, g), p = Mt(a, h, u)), v.has(a[h]))
|
|
718
|
-
if (v.has(a[u])) {
|
|
719
|
-
const A = p.get(c[$]), et = A !== void 0 ? r[A] : null;
|
|
720
|
-
if (et === null) {
|
|
721
|
-
const bt = L(n, r[h]);
|
|
722
|
-
w(bt, o[$]), l[$] = bt;
|
|
723
|
-
} else
|
|
724
|
-
l[$] = w(et, o[$]), L(n, r[h], et), r[A] = null;
|
|
725
|
-
$++;
|
|
726
|
-
} else
|
|
727
|
-
ht(r[u]), u--;
|
|
728
|
-
else
|
|
729
|
-
ht(r[h]), h++;
|
|
730
|
-
for (; $ <= g; ) {
|
|
731
|
-
const A = L(n, l[g + 1]);
|
|
732
|
-
w(A, o[$]), l[$++] = A;
|
|
733
|
-
}
|
|
734
|
-
for (; h <= u; ) {
|
|
735
|
-
const A = r[h++];
|
|
736
|
-
A !== null && ht(A);
|
|
737
|
-
}
|
|
738
|
-
return this.ut = c, ge(n, l), O;
|
|
739
|
-
}
|
|
740
|
-
});
|
|
741
|
-
var _e = Object.defineProperty, be = Object.getOwnPropertyDescriptor, tt = (n, t, e, i) => {
|
|
742
|
-
for (var s = i > 1 ? void 0 : i ? be(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 && _e(t, e, s), s;
|
|
745
|
-
};
|
|
746
|
-
let j = class extends m {
|
|
747
|
-
constructor() {
|
|
748
|
-
super(...arguments), this.header = "", this.actions = [], this.onBackdropClick = () => this.action("close"), this.onCloseClick = () => this.action("close"), this.action = (n) => {
|
|
749
|
-
const t = new CustomEvent("action", {
|
|
750
|
-
bubbles: !0,
|
|
751
|
-
composed: !0,
|
|
752
|
-
detail: n,
|
|
753
|
-
cancelable: !0
|
|
754
|
-
});
|
|
755
|
-
return this.dispatchEvent(t);
|
|
756
|
-
};
|
|
757
|
-
}
|
|
758
|
-
render() {
|
|
759
|
-
return _`
|
|
760
|
-
${this.contain && _`<style>
|
|
761
|
-
:host {
|
|
762
|
-
position: static !important;
|
|
763
|
-
}
|
|
764
|
-
.backdrop {
|
|
765
|
-
position: absolute !important;
|
|
766
|
-
}
|
|
767
|
-
</style>`}
|
|
768
|
-
<div class="backdrop" @click=${this.onBackdropClick}></div>
|
|
769
|
-
<div class="container">
|
|
770
|
-
<dialog open>
|
|
771
|
-
<div class="header">
|
|
772
|
-
<telia-heading tag="h3" variant="title-100">${this.header}</telia-heading>
|
|
773
|
-
<telia-button size="sm" variant="text" @click=${this.onCloseClick}
|
|
774
|
-
><telia-icon size="md" svg="${te.svg}"
|
|
775
|
-
/></telia-button>
|
|
776
|
-
</div>
|
|
777
|
-
<div class="body">
|
|
778
|
-
<slot></slot>
|
|
779
|
-
</div>
|
|
780
|
-
${this.actions.length ? _`
|
|
781
|
-
<div class="footer">
|
|
782
|
-
${Jt(
|
|
783
|
-
this.actions,
|
|
784
|
-
(n) => _`
|
|
785
|
-
<telia-button
|
|
786
|
-
disabled="${n.disabled ? "true" : "false"}"
|
|
787
|
-
variant="${n.variant || "primary"}"
|
|
788
|
-
size="md"
|
|
789
|
-
@click=${() => this.action(n.action)}
|
|
790
|
-
>
|
|
791
|
-
${n.label}
|
|
792
|
-
</telia-button>
|
|
793
|
-
`
|
|
794
|
-
)}
|
|
795
|
-
</div>
|
|
796
|
-
` : ""}
|
|
797
|
-
</dialog>
|
|
798
|
-
</div>
|
|
799
|
-
`;
|
|
800
|
-
}
|
|
801
|
-
};
|
|
802
|
-
j.styles = N`
|
|
803
|
-
:host {
|
|
804
|
-
inset: 0;
|
|
805
|
-
position: fixed;
|
|
806
|
-
z-index: ${d(parseInt(it.modal))};
|
|
807
|
-
}
|
|
808
|
-
|
|
809
|
-
.backdrop {
|
|
810
|
-
inset: 0;
|
|
811
|
-
position: absolute;
|
|
812
|
-
z-index: ${d(parseInt(it.modal) - 1)};
|
|
813
|
-
background-color: ${d(x.black)};
|
|
814
|
-
opacity: 0.3;
|
|
815
|
-
}
|
|
816
|
-
|
|
817
|
-
.container {
|
|
818
|
-
margin: 0 auto;
|
|
819
|
-
display: flex;
|
|
820
|
-
justify-content: center;
|
|
821
|
-
align-items: flex-start;
|
|
822
|
-
overflow-x: hidden;
|
|
823
|
-
overflow-y: overlay;
|
|
824
|
-
height: 100%;
|
|
825
|
-
width: 100%;
|
|
826
|
-
}
|
|
827
|
-
|
|
828
|
-
dialog {
|
|
829
|
-
background-color: ${d(x.white)};
|
|
830
|
-
border-radius: ${d(dt.radiusLg)};
|
|
831
|
-
box-shadow: ${d(Yt.md)};
|
|
832
|
-
z-index: ${d(parseInt(it.modal) + 2)};
|
|
833
|
-
max-width: ${d(Gt.breakpointLg)};
|
|
834
|
-
margin: ${d(b.spacing128)} ${d(b.spacing24)};
|
|
835
|
-
display: block;
|
|
836
|
-
position: static;
|
|
837
|
-
padding: 0;
|
|
838
|
-
border: none;
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
.header {
|
|
842
|
-
position: relative;
|
|
843
|
-
padding: ${d(b.spacing32)};
|
|
844
|
-
border-bottom: ${d(dt.widthXs)} solid ${d(x.gray200)};
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
.header telia-button {
|
|
848
|
-
position: absolute;
|
|
849
|
-
top: ${d(b.spacing20)};
|
|
850
|
-
right: ${d(b.spacing20)};
|
|
851
|
-
}
|
|
852
|
-
|
|
853
|
-
.body {
|
|
854
|
-
padding: 0 ${d(b.spacing32)};
|
|
855
|
-
margin: ${d(b.spacing24)} 0;
|
|
856
|
-
min-width: calc(${d(b.spacing128)} * 2);
|
|
857
|
-
}
|
|
858
|
-
|
|
859
|
-
.footer {
|
|
860
|
-
display: flex;
|
|
861
|
-
justify-content: flex-end;
|
|
862
|
-
gap: ${d(b.spacing24)};
|
|
863
|
-
padding: 0 ${d(b.spacing32)};
|
|
864
|
-
margin: ${d(b.spacing24)} 0;
|
|
865
|
-
}
|
|
866
|
-
`;
|
|
867
|
-
tt([
|
|
868
|
-
y({ type: String, attribute: "header" })
|
|
869
|
-
], j.prototype, "header", 2);
|
|
870
|
-
tt([
|
|
871
|
-
y({ type: Array })
|
|
872
|
-
], j.prototype, "actions", 2);
|
|
873
|
-
tt([
|
|
874
|
-
y({ type: Boolean, attribute: "contain" })
|
|
875
|
-
], j.prototype, "contain", 2);
|
|
876
|
-
j = tt([
|
|
877
|
-
C("alliance-modal")
|
|
878
|
-
], j);
|
|
879
|
-
const Z = "...", J = (n, t) => {
|
|
880
|
-
let e = t - n + 1;
|
|
881
|
-
return Array.from({ length: e }, (i, s) => s + n);
|
|
882
|
-
}, ct = ({ itemCount: n, pageSize: t, siblingCount: e, currentPage: i }) => {
|
|
883
|
-
const s = Math.ceil(n / t);
|
|
884
|
-
if (e + 5 >= s)
|
|
885
|
-
return J(1, s);
|
|
886
|
-
const o = Math.max(i - e, 1), c = Math.min(i + e, s), a = o > 2, l = c < s - 2, v = 1, p = s;
|
|
887
|
-
if (!a && l) {
|
|
888
|
-
let h = 3 + 2 * e;
|
|
889
|
-
return [...J(1, h), Z, s];
|
|
890
|
-
}
|
|
891
|
-
if (a && !l) {
|
|
892
|
-
let h = 3 + 2 * e, u = J(s - h + 1, s);
|
|
893
|
-
return [v, Z, ...u];
|
|
894
|
-
}
|
|
895
|
-
if (a && l) {
|
|
896
|
-
let h = J(o, c);
|
|
897
|
-
return [v, Z, ...h, Z, p];
|
|
898
|
-
}
|
|
899
|
-
return [];
|
|
900
|
-
};
|
|
901
|
-
var ye = Object.defineProperty, me = Object.getOwnPropertyDescriptor, H = (n, t, e, i) => {
|
|
902
|
-
for (var s = i > 1 ? void 0 : i ? me(t, e) : t, r = n.length - 1, o; r >= 0; r--)
|
|
903
|
-
(o = n[r]) && (s = (i ? o(t, e, s) : o(s)) || s);
|
|
904
|
-
return i && s && ye(t, e, s), s;
|
|
905
|
-
};
|
|
906
|
-
let E = class extends m {
|
|
907
|
-
constructor() {
|
|
908
|
-
super(...arguments), this.itemCount = 0, this.pageSize = 50, this.initialPage = 1, this.siblingCount = 2, this.currentPage = this.initialPage, this.pages = [], this.changePage = (n) => {
|
|
909
|
-
if (n === this.currentPage || // Next page is the same
|
|
910
|
-
n < 1 || // Next page is 0
|
|
911
|
-
n > this.pages[this.pages.length - 1])
|
|
912
|
-
return;
|
|
913
|
-
const t = new CustomEvent("change-page", {
|
|
914
|
-
bubbles: !0,
|
|
915
|
-
composed: !0,
|
|
916
|
-
detail: n,
|
|
917
|
-
cancelable: !0
|
|
918
|
-
});
|
|
919
|
-
this.dispatchEvent(t) && (this.currentPage = n, this.pages = ct({
|
|
920
|
-
itemCount: this.itemCount,
|
|
921
|
-
pageSize: this.pageSize,
|
|
922
|
-
siblingCount: this.siblingCount,
|
|
923
|
-
currentPage: this.currentPage
|
|
924
|
-
}));
|
|
925
|
-
}, this.next = () => {
|
|
926
|
-
this.changePage(this.currentPage + 1);
|
|
927
|
-
}, this.previous = () => {
|
|
928
|
-
this.changePage(this.currentPage - 1);
|
|
929
|
-
};
|
|
930
|
-
}
|
|
931
|
-
connectedCallback() {
|
|
932
|
-
super.connectedCallback(), this.currentPage = this.initialPage, this.pages = ct({
|
|
933
|
-
itemCount: this.itemCount,
|
|
934
|
-
pageSize: this.pageSize,
|
|
935
|
-
siblingCount: this.siblingCount,
|
|
936
|
-
currentPage: this.currentPage
|
|
937
|
-
});
|
|
938
|
-
}
|
|
939
|
-
attributeChangedCallback(n, t, e) {
|
|
940
|
-
super.attributeChangedCallback(n, t, e), n === "initial-page" && (this.currentPage = this.initialPage), this.pages = ct({
|
|
941
|
-
itemCount: this.itemCount,
|
|
942
|
-
pageSize: this.pageSize,
|
|
943
|
-
siblingCount: this.siblingCount,
|
|
944
|
-
currentPage: this.currentPage,
|
|
945
|
-
[n]: e
|
|
946
|
-
});
|
|
947
|
-
}
|
|
948
|
-
render() {
|
|
949
|
-
return _`
|
|
950
|
-
<alliance-paginator-button
|
|
951
|
-
@click=${this.previous}
|
|
952
|
-
?disabled=${this.currentPage === 1}
|
|
953
|
-
icon="left"
|
|
954
|
-
></alliance-paginator-button>
|
|
955
|
-
|
|
956
|
-
${Jt(
|
|
957
|
-
this.pages,
|
|
958
|
-
(n) => n === "..." ? _`<telia-label>...</telia-label>` : _`<alliance-paginator-button
|
|
959
|
-
page=${n}
|
|
960
|
-
@click=${() => this.changePage(n)}
|
|
961
|
-
?selected=${this.currentPage === n}
|
|
962
|
-
></alliance-paginator-button>`
|
|
963
|
-
)}
|
|
964
|
-
|
|
965
|
-
<alliance-paginator-button
|
|
966
|
-
@click=${this.next}
|
|
967
|
-
?disabled=${this.currentPage === this.pages[this.pages.length - 1]}
|
|
968
|
-
icon="right"
|
|
969
|
-
></alliance-paginator-button>
|
|
970
|
-
`;
|
|
971
|
-
}
|
|
972
|
-
};
|
|
973
|
-
E.styles = N`
|
|
974
|
-
:host {
|
|
975
|
-
display: flex;
|
|
976
|
-
flex-direction: row;
|
|
977
|
-
place-items: center;
|
|
978
|
-
gap: ${d(b.spacing8)};
|
|
979
|
-
}
|
|
980
|
-
|
|
981
|
-
:host .telia-label {
|
|
982
|
-
color: ${d(x.purple700)};
|
|
983
|
-
}
|
|
984
|
-
|
|
985
|
-
span {
|
|
986
|
-
display: block;
|
|
987
|
-
}
|
|
988
|
-
`;
|
|
989
|
-
H([
|
|
990
|
-
y({ type: Number, attribute: "item-count" })
|
|
991
|
-
], E.prototype, "itemCount", 2);
|
|
992
|
-
H([
|
|
993
|
-
y({ type: Number, attribute: "page-size" })
|
|
994
|
-
], E.prototype, "pageSize", 2);
|
|
995
|
-
H([
|
|
996
|
-
y({ type: Number, attribute: "initial-page" })
|
|
997
|
-
], E.prototype, "initialPage", 2);
|
|
998
|
-
H([
|
|
999
|
-
y({ type: Number, attribute: "sibling-count" })
|
|
1000
|
-
], E.prototype, "siblingCount", 2);
|
|
1001
|
-
H([
|
|
1002
|
-
Zt()
|
|
1003
|
-
], E.prototype, "currentPage", 2);
|
|
1004
|
-
H([
|
|
1005
|
-
Zt()
|
|
1006
|
-
], E.prototype, "pages", 2);
|
|
1007
|
-
E = H([
|
|
1008
|
-
C("alliance-paginator")
|
|
1009
|
-
], E);
|
|
1010
|
-
var Ae = Object.defineProperty, Pe = Object.getOwnPropertyDescriptor, k = (n, t, e, i) => {
|
|
1011
|
-
for (var s = i > 1 ? void 0 : i ? Pe(t, e) : t, r = n.length - 1, o; r >= 0; r--)
|
|
1012
|
-
(o = n[r]) && (s = (i ? o(t, e, s) : o(s)) || s);
|
|
1013
|
-
return i && s && Ae(t, e, s), s;
|
|
1014
|
-
}, Xt = /* @__PURE__ */ ((n) => (n.Left = "left", n.Right = "right", n))(Xt || {});
|
|
1015
|
-
let U = class extends m {
|
|
1016
|
-
constructor() {
|
|
1017
|
-
super(...arguments), this.selected = !1, this.disabled = !1, this.clickable = !0;
|
|
1018
|
-
}
|
|
1019
|
-
renderContent() {
|
|
1020
|
-
return this.icon === "left" ? _`<telia-icon size="sm" svg="${ee.svg}" />` : this.icon === "right" ? _`<telia-icon size="sm" svg="${ie.svg}" />` : _`<span>${this.page}</span>`;
|
|
1021
|
-
}
|
|
1022
|
-
render() {
|
|
1023
|
-
return _`<telia-button ?disabled=${this.disabled} variant=${this.selected ? "primary" : "tertiary-purple"}>${this.renderContent()}</telia-button> `;
|
|
1024
|
-
}
|
|
1025
|
-
};
|
|
1026
|
-
k([
|
|
1027
|
-
y({ type: Xt })
|
|
1028
|
-
], U.prototype, "icon", 2);
|
|
1029
|
-
k([
|
|
1030
|
-
y({ type: String })
|
|
1031
|
-
], U.prototype, "page", 2);
|
|
1032
|
-
k([
|
|
1033
|
-
y({ type: Boolean })
|
|
1034
|
-
], U.prototype, "selected", 2);
|
|
1035
|
-
k([
|
|
1036
|
-
y({ type: Boolean })
|
|
1037
|
-
], U.prototype, "disabled", 2);
|
|
1038
|
-
k([
|
|
1039
|
-
y({ type: Boolean })
|
|
1040
|
-
], U.prototype, "clickable", 2);
|
|
1041
|
-
U = k([
|
|
1042
|
-
C("alliance-paginator-button")
|
|
1043
|
-
], U);
|
|
1044
|
-
var Ee = Object.defineProperty, Ce = Object.getOwnPropertyDescriptor, Se = (n, t, e, i) => {
|
|
1045
|
-
for (var s = i > 1 ? void 0 : i ? Ce(t, e) : t, r = n.length - 1, o; r >= 0; r--)
|
|
1046
|
-
(o = n[r]) && (s = (i ? o(t, e, s) : o(s)) || s);
|
|
1047
|
-
return i && s && Ee(t, e, s), s;
|
|
1048
|
-
};
|
|
1049
|
-
let ut = class extends m {
|
|
1050
|
-
render() {
|
|
1051
|
-
return _` <alliance-tb>
|
|
1052
|
-
<slot></slot>
|
|
1053
|
-
</alliance-tb>`;
|
|
1054
|
-
}
|
|
1055
|
-
};
|
|
1056
|
-
ut.styles = N`
|
|
1057
|
-
:host {
|
|
1058
|
-
display: table;
|
|
1059
|
-
border-collapse: collapse;
|
|
1060
|
-
width: 100%;
|
|
1061
|
-
}
|
|
1062
|
-
`;
|
|
1063
|
-
ut = Se([
|
|
1064
|
-
C("alliance-table")
|
|
1065
|
-
], ut);
|
|
1066
|
-
var we = Object.defineProperty, xe = Object.getOwnPropertyDescriptor, Oe = (n, t, e, i) => {
|
|
1067
|
-
for (var s = i > 1 ? void 0 : i ? xe(t, e) : t, r = n.length - 1, o; r >= 0; r--)
|
|
1068
|
-
(o = n[r]) && (s = (i ? o(t, e, s) : o(s)) || s);
|
|
1069
|
-
return i && s && we(t, e, s), s;
|
|
1070
|
-
};
|
|
1071
|
-
let $t = class extends m {
|
|
1072
|
-
render() {
|
|
1073
|
-
return _`<slot></slot>`;
|
|
1074
|
-
}
|
|
1075
|
-
};
|
|
1076
|
-
$t.styles = N`
|
|
1077
|
-
:host {
|
|
1078
|
-
display: table-row-group;
|
|
1079
|
-
vertical-align: middle;
|
|
1080
|
-
border-color: inherit;
|
|
1081
|
-
}
|
|
1082
|
-
`;
|
|
1083
|
-
$t = Oe([
|
|
1084
|
-
C("alliance-tb")
|
|
1085
|
-
], $t);
|
|
1086
|
-
var Te = Object.defineProperty, Ue = Object.getOwnPropertyDescriptor, Ne = (n, t, e, i) => {
|
|
1087
|
-
for (var s = i > 1 ? void 0 : i ? Ue(t, e) : t, r = n.length - 1, o; r >= 0; r--)
|
|
1088
|
-
(o = n[r]) && (s = (i ? o(t, e, s) : o(s)) || s);
|
|
1089
|
-
return i && s && Te(t, e, s), s;
|
|
1090
|
-
};
|
|
1091
|
-
let vt = class extends m {
|
|
1092
|
-
render() {
|
|
1093
|
-
return _` <slot></slot> `;
|
|
1094
|
-
}
|
|
1095
|
-
};
|
|
1096
|
-
vt.styles = N`
|
|
1097
|
-
:host {
|
|
1098
|
-
display: table-cell;
|
|
1099
|
-
vertical-align: inherit;
|
|
1100
|
-
padding: ${d(b.spacing24)};
|
|
1101
|
-
}
|
|
1102
|
-
`;
|
|
1103
|
-
vt = Ne([
|
|
1104
|
-
C("alliance-td")
|
|
1105
|
-
], vt);
|
|
1106
|
-
var He = Object.defineProperty, Re = Object.getOwnPropertyDescriptor, Ft = (n, t, e, i) => {
|
|
1107
|
-
for (var s = i > 1 ? void 0 : i ? Re(t, e) : t, r = n.length - 1, o; r >= 0; r--)
|
|
1108
|
-
(o = n[r]) && (s = (i ? o(t, e, s) : o(s)) || s);
|
|
1109
|
-
return i && s && He(t, e, s), s;
|
|
1110
|
-
};
|
|
1111
|
-
let Y = class extends m {
|
|
1112
|
-
constructor() {
|
|
1113
|
-
super(...arguments), this.label = "";
|
|
1114
|
-
}
|
|
1115
|
-
render() {
|
|
1116
|
-
return _`<telia-heading tag="h4" variant="title-100">${this.label}</telia-heading>`;
|
|
1117
|
-
}
|
|
1118
|
-
};
|
|
1119
|
-
Y.styles = N`
|
|
1120
|
-
:host {
|
|
1121
|
-
display: table-cell;
|
|
1122
|
-
padding: ${d(b.spacing24)};
|
|
1123
|
-
}
|
|
1124
|
-
`;
|
|
1125
|
-
Ft([
|
|
1126
|
-
y({ type: String })
|
|
1127
|
-
], Y.prototype, "label", 2);
|
|
1128
|
-
Y = Ft([
|
|
1129
|
-
C("alliance-th")
|
|
1130
|
-
], Y);
|
|
1131
|
-
var Me = Object.defineProperty, De = Object.getOwnPropertyDescriptor, Qt = (n, t, e, i) => {
|
|
1132
|
-
for (var s = i > 1 ? void 0 : i ? De(t, e) : t, r = n.length - 1, o; r >= 0; r--)
|
|
1133
|
-
(o = n[r]) && (s = (i ? o(t, e, s) : o(s)) || s);
|
|
1134
|
-
return i && s && Me(t, e, s), s;
|
|
1135
|
-
};
|
|
1136
|
-
let G = class extends m {
|
|
1137
|
-
constructor() {
|
|
1138
|
-
super(...arguments), this.clickable = !1;
|
|
1139
|
-
}
|
|
1140
|
-
render() {
|
|
1141
|
-
return _`
|
|
1142
|
-
${this.clickable ? ze : ""}
|
|
1143
|
-
<slot></slot>
|
|
1144
|
-
`;
|
|
1145
|
-
}
|
|
1146
|
-
};
|
|
1147
|
-
G.styles = N`
|
|
1148
|
-
:host {
|
|
1149
|
-
display: table-row;
|
|
1150
|
-
border-bottom: ${d(dt.widthXs)} solid ${d(x.gray200)};
|
|
1151
|
-
}
|
|
1152
|
-
`;
|
|
1153
|
-
Qt([
|
|
1154
|
-
y({ type: Boolean })
|
|
1155
|
-
], G.prototype, "clickable", 2);
|
|
1156
|
-
G = Qt([
|
|
1157
|
-
C("alliance-tr")
|
|
1158
|
-
], G);
|
|
1159
|
-
const ze = _`<style>
|
|
1160
|
-
:host {
|
|
1161
|
-
background-color: transparent;
|
|
1162
|
-
transition: background-color ${d(yt.duration150)} ${d(yt.easeIn)};
|
|
1163
|
-
cursor: pointer;
|
|
1164
|
-
}
|
|
1165
|
-
|
|
1166
|
-
:host(:hover),
|
|
1167
|
-
:host(:focus-visible),
|
|
1168
|
-
:host(:focus) {
|
|
1169
|
-
background-color: ${d(x.gray200)};
|
|
1170
|
-
}
|
|
1171
|
-
|
|
1172
|
-
:host(:active) {
|
|
1173
|
-
background-color: ${d(x.gray300)};
|
|
1174
|
-
}
|
|
1175
|
-
|
|
1176
|
-
:host(:focus-visible) {
|
|
1177
|
-
outline: solid ${d(mt.focusBorderWidth)} ${d(mt.focusColor)};
|
|
1178
|
-
outline-offset: ${d(b.spacing4)};
|
|
1179
|
-
}
|
|
1180
|
-
</style>`;
|
|
10
|
+
import "../chunks/telia-vst2-1a7f7bd6.js";
|
|
11
|
+
import "../chunks/telia-heading2-9d3ab48b.js";
|
|
12
|
+
import "../chunks/index-57f6bd40.js";
|
|
13
|
+
import "../chunks/close-7d423291.js";
|
|
14
|
+
import "../chunks/telia-label2-4d674e5e.js";
|
|
15
|
+
import "../chunks/chevron-right-788ce8a9.js";
|
|
16
|
+
import "../chunks/variables-ecb680f0.js";
|
|
1181
17
|
//# sourceMappingURL=index.js.map
|