@telia-ace/widget-components-copyright-flamingo 1.0.13 → 1.0.44

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.
@@ -1,756 +0,0 @@
1
- var Z = (n, t, e) => new Promise((s, i) => {
2
- var r = (l) => {
3
- try {
4
- h(e.next(l));
5
- } catch (c) {
6
- i(c);
7
- }
8
- }, o = (l) => {
9
- try {
10
- h(e.throw(l));
11
- } catch (c) {
12
- i(c);
13
- }
14
- }, h = (l) => l.done ? s(l.value) : Promise.resolve(l.value).then(r, o);
15
- h((e = e.apply(n, t)).next());
16
- });
17
- import { D as vt } from "./index-62d5053e.js";
18
- /**
19
- * @license
20
- * Copyright 2019 Google LLC
21
- * SPDX-License-Identifier: BSD-3-Clause
22
- */
23
- const P = window, W = P.ShadowRoot && (P.ShadyCSS === void 0 || P.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, q = Symbol(), J = /* @__PURE__ */ new WeakMap();
24
- let rt = class {
25
- constructor(t, e, s) {
26
- if (this._$cssResult$ = !0, s !== q)
27
- throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
28
- this.cssText = t, this.t = e;
29
- }
30
- get styleSheet() {
31
- let t = this.o;
32
- const e = this.t;
33
- if (W && t === void 0) {
34
- const s = e !== void 0 && e.length === 1;
35
- s && (t = J.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && J.set(e, t));
36
- }
37
- return t;
38
- }
39
- toString() {
40
- return this.cssText;
41
- }
42
- };
43
- const $t = (n) => new rt(typeof n == "string" ? n : n + "", void 0, q), _t = (n, ...t) => {
44
- const e = n.length === 1 ? n[0] : t.reduce((s, i, r) => s + ((o) => {
45
- if (o._$cssResult$ === !0)
46
- return o.cssText;
47
- if (typeof o == "number")
48
- return o;
49
- 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.");
50
- })(i) + n[r + 1], n[0]);
51
- return new rt(e, n, q);
52
- }, ft = (n, t) => {
53
- W ? n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet) : t.forEach((e) => {
54
- const s = document.createElement("style"), i = P.litNonce;
55
- i !== void 0 && s.setAttribute("nonce", i), s.textContent = e.cssText, n.appendChild(s);
56
- });
57
- }, K = W ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((t) => {
58
- let e = "";
59
- for (const s of t.cssRules)
60
- e += s.cssText;
61
- return $t(e);
62
- })(n) : n;
63
- /**
64
- * @license
65
- * Copyright 2017 Google LLC
66
- * SPDX-License-Identifier: BSD-3-Clause
67
- */
68
- var T;
69
- const U = window, G = U.trustedTypes, gt = G ? G.emptyScript : "", Q = U.reactiveElementPolyfillSupport, B = { toAttribute(n, t) {
70
- switch (t) {
71
- case Boolean:
72
- n = n ? gt : null;
73
- break;
74
- case Object:
75
- case Array:
76
- n = n == null ? n : JSON.stringify(n);
77
- }
78
- return n;
79
- }, fromAttribute(n, t) {
80
- let e = n;
81
- switch (t) {
82
- case Boolean:
83
- e = n !== null;
84
- break;
85
- case Number:
86
- e = n === null ? null : Number(n);
87
- break;
88
- case Object:
89
- case Array:
90
- try {
91
- e = JSON.parse(n);
92
- } catch (s) {
93
- e = null;
94
- }
95
- }
96
- return e;
97
- } }, lt = (n, t) => t !== n && (t == t || n == n), R = { attribute: !0, type: String, converter: B, reflect: !1, hasChanged: lt }, I = "finalized";
98
- let A = class extends HTMLElement {
99
- constructor() {
100
- super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this._$Eu();
101
- }
102
- static addInitializer(t) {
103
- var e;
104
- this.finalize(), ((e = this.h) !== null && e !== void 0 ? e : this.h = []).push(t);
105
- }
106
- static get observedAttributes() {
107
- this.finalize();
108
- const t = [];
109
- return this.elementProperties.forEach((e, s) => {
110
- const i = this._$Ep(s, e);
111
- i !== void 0 && (this._$Ev.set(i, s), t.push(i));
112
- }), t;
113
- }
114
- static createProperty(t, e = R) {
115
- if (e.state && (e.attribute = !1), this.finalize(), this.elementProperties.set(t, e), !e.noAccessor && !this.prototype.hasOwnProperty(t)) {
116
- const s = typeof t == "symbol" ? Symbol() : "__" + t, i = this.getPropertyDescriptor(t, s, e);
117
- i !== void 0 && Object.defineProperty(this.prototype, t, i);
118
- }
119
- }
120
- static getPropertyDescriptor(t, e, s) {
121
- return { get() {
122
- return this[e];
123
- }, set(i) {
124
- const r = this[t];
125
- this[e] = i, this.requestUpdate(t, r, s);
126
- }, configurable: !0, enumerable: !0 };
127
- }
128
- static getPropertyOptions(t) {
129
- return this.elementProperties.get(t) || R;
130
- }
131
- static finalize() {
132
- if (this.hasOwnProperty(I))
133
- return !1;
134
- this[I] = !0;
135
- const t = Object.getPrototypeOf(this);
136
- 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")) {
137
- const e = this.properties, s = [...Object.getOwnPropertyNames(e), ...Object.getOwnPropertySymbols(e)];
138
- for (const i of s)
139
- this.createProperty(i, e[i]);
140
- }
141
- return this.elementStyles = this.finalizeStyles(this.styles), !0;
142
- }
143
- static finalizeStyles(t) {
144
- const e = [];
145
- if (Array.isArray(t)) {
146
- const s = new Set(t.flat(1 / 0).reverse());
147
- for (const i of s)
148
- e.unshift(K(i));
149
- } else
150
- t !== void 0 && e.push(K(t));
151
- return e;
152
- }
153
- static _$Ep(t, e) {
154
- const s = e.attribute;
155
- return s === !1 ? void 0 : typeof s == "string" ? s : typeof t == "string" ? t.toLowerCase() : void 0;
156
- }
157
- _$Eu() {
158
- var t;
159
- 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));
160
- }
161
- addController(t) {
162
- var e, s;
163
- ((e = this._$ES) !== null && e !== void 0 ? e : this._$ES = []).push(t), this.renderRoot !== void 0 && this.isConnected && ((s = t.hostConnected) === null || s === void 0 || s.call(t));
164
- }
165
- removeController(t) {
166
- var e;
167
- (e = this._$ES) === null || e === void 0 || e.splice(this._$ES.indexOf(t) >>> 0, 1);
168
- }
169
- _$Eg() {
170
- this.constructor.elementProperties.forEach((t, e) => {
171
- this.hasOwnProperty(e) && (this._$Ei.set(e, this[e]), delete this[e]);
172
- });
173
- }
174
- createRenderRoot() {
175
- var t;
176
- const e = (t = this.shadowRoot) !== null && t !== void 0 ? t : this.attachShadow(this.constructor.shadowRootOptions);
177
- return ft(e, this.constructor.elementStyles), e;
178
- }
179
- connectedCallback() {
180
- var t;
181
- this.renderRoot === void 0 && (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$ES) === null || t === void 0 || t.forEach((e) => {
182
- var s;
183
- return (s = e.hostConnected) === null || s === void 0 ? void 0 : s.call(e);
184
- });
185
- }
186
- enableUpdating(t) {
187
- }
188
- disconnectedCallback() {
189
- var t;
190
- (t = this._$ES) === null || t === void 0 || t.forEach((e) => {
191
- var s;
192
- return (s = e.hostDisconnected) === null || s === void 0 ? void 0 : s.call(e);
193
- });
194
- }
195
- attributeChangedCallback(t, e, s) {
196
- this._$AK(t, s);
197
- }
198
- _$EO(t, e, s = R) {
199
- var i;
200
- const r = this.constructor._$Ep(t, s);
201
- if (r !== void 0 && s.reflect === !0) {
202
- const o = (((i = s.converter) === null || i === void 0 ? void 0 : i.toAttribute) !== void 0 ? s.converter : B).toAttribute(e, s.type);
203
- this._$El = t, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$El = null;
204
- }
205
- }
206
- _$AK(t, e) {
207
- var s;
208
- const i = this.constructor, r = i._$Ev.get(t);
209
- if (r !== void 0 && this._$El !== r) {
210
- const o = i.getPropertyOptions(r), h = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((s = o.converter) === null || s === void 0 ? void 0 : s.fromAttribute) !== void 0 ? o.converter : B;
211
- this._$El = r, this[r] = h.fromAttribute(e, o.type), this._$El = null;
212
- }
213
- }
214
- requestUpdate(t, e, s) {
215
- let i = !0;
216
- t !== void 0 && (((s = s || this.constructor.getPropertyOptions(t)).hasChanged || lt)(this[t], e) ? (this._$AL.has(t) || this._$AL.set(t, e), s.reflect === !0 && this._$El !== t && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(t, s))) : i = !1), !this.isUpdatePending && i && (this._$E_ = this._$Ej());
217
- }
218
- _$Ej() {
219
- return Z(this, null, function* () {
220
- this.isUpdatePending = !0;
221
- try {
222
- yield this._$E_;
223
- } catch (e) {
224
- Promise.reject(e);
225
- }
226
- const t = this.scheduleUpdate();
227
- return t != null && (yield t), !this.isUpdatePending;
228
- });
229
- }
230
- scheduleUpdate() {
231
- return this.performUpdate();
232
- }
233
- performUpdate() {
234
- var t;
235
- if (!this.isUpdatePending)
236
- return;
237
- this.hasUpdated, this._$Ei && (this._$Ei.forEach((i, r) => this[r] = i), this._$Ei = void 0);
238
- let e = !1;
239
- const s = this._$AL;
240
- try {
241
- e = this.shouldUpdate(s), e ? (this.willUpdate(s), (t = this._$ES) === null || t === void 0 || t.forEach((i) => {
242
- var r;
243
- return (r = i.hostUpdate) === null || r === void 0 ? void 0 : r.call(i);
244
- }), this.update(s)) : this._$Ek();
245
- } catch (i) {
246
- throw e = !1, this._$Ek(), i;
247
- }
248
- e && this._$AE(s);
249
- }
250
- willUpdate(t) {
251
- }
252
- _$AE(t) {
253
- var e;
254
- (e = this._$ES) === null || e === void 0 || e.forEach((s) => {
255
- var i;
256
- return (i = s.hostUpdated) === null || i === void 0 ? void 0 : i.call(s);
257
- }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
258
- }
259
- _$Ek() {
260
- this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
261
- }
262
- get updateComplete() {
263
- return this.getUpdateComplete();
264
- }
265
- getUpdateComplete() {
266
- return this._$E_;
267
- }
268
- shouldUpdate(t) {
269
- return !0;
270
- }
271
- update(t) {
272
- this._$EC !== void 0 && (this._$EC.forEach((e, s) => this._$EO(s, this[s], e)), this._$EC = void 0), this._$Ek();
273
- }
274
- updated(t) {
275
- }
276
- firstUpdated(t) {
277
- }
278
- };
279
- A[I] = !0, A.elementProperties = /* @__PURE__ */ new Map(), A.elementStyles = [], A.shadowRootOptions = { mode: "open" }, Q == null || Q({ ReactiveElement: A }), ((T = U.reactiveElementVersions) !== null && T !== void 0 ? T : U.reactiveElementVersions = []).push("1.6.3");
280
- /**
281
- * @license
282
- * Copyright 2017 Google LLC
283
- * SPDX-License-Identifier: BSD-3-Clause
284
- */
285
- var k;
286
- const z = window, m = z.trustedTypes, X = m ? m.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, F = "$lit$", $ = `lit$${(Math.random() + "").slice(9)}$`, ct = "?" + $, At = `<${ct}>`, g = document, w = () => g.createComment(""), C = (n) => n === null || typeof n != "object" && typeof n != "function", ht = Array.isArray, mt = (n) => ht(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", D = `[
287
- \f\r]`, S = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Y = /-->/g, tt = />/g, _ = RegExp(`>|${D}(?:([^\\s"'>=/]+)(${D}*=${D}*(?:[^
288
- \f\r"'\`<>=]|("|')|))|$)`, "g"), et = /'/g, st = /"/g, at = /^(?:script|style|textarea|title)$/i, yt = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), Et = yt(1), y = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), it = /* @__PURE__ */ new WeakMap(), f = g.createTreeWalker(g, 129, null, !1);
289
- function dt(n, t) {
290
- if (!Array.isArray(n) || !n.hasOwnProperty("raw"))
291
- throw Error("invalid template strings array");
292
- return X !== void 0 ? X.createHTML(t) : t;
293
- }
294
- const St = (n, t) => {
295
- const e = n.length - 1, s = [];
296
- let i, r = t === 2 ? "<svg>" : "", o = S;
297
- for (let h = 0; h < e; h++) {
298
- const l = n[h];
299
- let c, a, d = -1, u = 0;
300
- for (; u < l.length && (o.lastIndex = u, a = o.exec(l), a !== null); )
301
- u = o.lastIndex, o === S ? a[1] === "!--" ? o = Y : a[1] !== void 0 ? o = tt : a[2] !== void 0 ? (at.test(a[2]) && (i = RegExp("</" + a[2], "g")), o = _) : a[3] !== void 0 && (o = _) : o === _ ? a[0] === ">" ? (o = i != null ? i : S, d = -1) : a[1] === void 0 ? d = -2 : (d = o.lastIndex - a[2].length, c = a[1], o = a[3] === void 0 ? _ : a[3] === '"' ? st : et) : o === st || o === et ? o = _ : o === Y || o === tt ? o = S : (o = _, i = void 0);
302
- const v = o === _ && n[h + 1].startsWith("/>") ? " " : "";
303
- r += o === S ? l + At : d >= 0 ? (s.push(c), l.slice(0, d) + F + l.slice(d) + $ + v) : l + $ + (d === -2 ? (s.push(void 0), h) : v);
304
- }
305
- return [dt(n, r + (n[e] || "<?>") + (t === 2 ? "</svg>" : "")), s];
306
- };
307
- class x {
308
- constructor({ strings: t, _$litType$: e }, s) {
309
- let i;
310
- this.parts = [];
311
- let r = 0, o = 0;
312
- const h = t.length - 1, l = this.parts, [c, a] = St(t, e);
313
- if (this.el = x.createElement(c, s), f.currentNode = this.el.content, e === 2) {
314
- const d = this.el.content, u = d.firstChild;
315
- u.remove(), d.append(...u.childNodes);
316
- }
317
- for (; (i = f.nextNode()) !== null && l.length < h; ) {
318
- if (i.nodeType === 1) {
319
- if (i.hasAttributes()) {
320
- const d = [];
321
- for (const u of i.getAttributeNames())
322
- if (u.endsWith(F) || u.startsWith($)) {
323
- const v = a[o++];
324
- if (d.push(u), v !== void 0) {
325
- const ut = i.getAttribute(v.toLowerCase() + F).split($), M = /([.?@])?(.*)/.exec(v);
326
- l.push({ type: 1, index: r, name: M[2], strings: ut, ctor: M[1] === "." ? wt : M[1] === "?" ? xt : M[1] === "@" ? Ht : O });
327
- } else
328
- l.push({ type: 6, index: r });
329
- }
330
- for (const u of d)
331
- i.removeAttribute(u);
332
- }
333
- if (at.test(i.tagName)) {
334
- const d = i.textContent.split($), u = d.length - 1;
335
- if (u > 0) {
336
- i.textContent = m ? m.emptyScript : "";
337
- for (let v = 0; v < u; v++)
338
- i.append(d[v], w()), f.nextNode(), l.push({ type: 2, index: ++r });
339
- i.append(d[u], w());
340
- }
341
- }
342
- } else if (i.nodeType === 8)
343
- if (i.data === ct)
344
- l.push({ type: 2, index: r });
345
- else {
346
- let d = -1;
347
- for (; (d = i.data.indexOf($, d + 1)) !== -1; )
348
- l.push({ type: 7, index: r }), d += $.length - 1;
349
- }
350
- r++;
351
- }
352
- }
353
- static createElement(t, e) {
354
- const s = g.createElement("template");
355
- return s.innerHTML = t, s;
356
- }
357
- }
358
- function E(n, t, e = n, s) {
359
- var i, r, o, h;
360
- if (t === y)
361
- return t;
362
- let l = s !== void 0 ? (i = e._$Co) === null || i === void 0 ? void 0 : i[s] : e._$Cl;
363
- const c = C(t) ? void 0 : t._$litDirective$;
364
- return (l == null ? void 0 : l.constructor) !== c && ((r = l == null ? void 0 : l._$AO) === null || r === void 0 || r.call(l, !1), c === void 0 ? l = void 0 : (l = new c(n), l._$AT(n, e, s)), s !== void 0 ? ((o = (h = e)._$Co) !== null && o !== void 0 ? o : h._$Co = [])[s] = l : e._$Cl = l), l !== void 0 && (t = E(n, l._$AS(n, t.values), l, s)), t;
365
- }
366
- class bt {
367
- constructor(t, e) {
368
- this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
369
- }
370
- get parentNode() {
371
- return this._$AM.parentNode;
372
- }
373
- get _$AU() {
374
- return this._$AM._$AU;
375
- }
376
- u(t) {
377
- var e;
378
- const { el: { content: s }, parts: i } = this._$AD, r = ((e = t == null ? void 0 : t.creationScope) !== null && e !== void 0 ? e : g).importNode(s, !0);
379
- f.currentNode = r;
380
- let o = f.nextNode(), h = 0, l = 0, c = i[0];
381
- for (; c !== void 0; ) {
382
- if (h === c.index) {
383
- let a;
384
- c.type === 2 ? a = new H(o, o.nextSibling, this, t) : c.type === 1 ? a = new c.ctor(o, c.name, c.strings, this, t) : c.type === 6 && (a = new Mt(o, this, t)), this._$AV.push(a), c = i[++l];
385
- }
386
- h !== (c == null ? void 0 : c.index) && (o = f.nextNode(), h++);
387
- }
388
- return f.currentNode = g, r;
389
- }
390
- v(t) {
391
- let e = 0;
392
- for (const s of this._$AV)
393
- s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
394
- }
395
- }
396
- class H {
397
- constructor(t, e, s, i) {
398
- var r;
399
- this.type = 2, this._$AH = p, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = s, this.options = i, this._$Cp = (r = i == null ? void 0 : i.isConnected) === null || r === void 0 || r;
400
- }
401
- get _$AU() {
402
- var t, e;
403
- return (e = (t = this._$AM) === null || t === void 0 ? void 0 : t._$AU) !== null && e !== void 0 ? e : this._$Cp;
404
- }
405
- get parentNode() {
406
- let t = this._$AA.parentNode;
407
- const e = this._$AM;
408
- return e !== void 0 && (t == null ? void 0 : t.nodeType) === 11 && (t = e.parentNode), t;
409
- }
410
- get startNode() {
411
- return this._$AA;
412
- }
413
- get endNode() {
414
- return this._$AB;
415
- }
416
- _$AI(t, e = this) {
417
- t = E(this, t, e), C(t) ? t === p || t == null || t === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : t !== this._$AH && t !== y && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : mt(t) ? this.T(t) : this._(t);
418
- }
419
- k(t) {
420
- return this._$AA.parentNode.insertBefore(t, this._$AB);
421
- }
422
- $(t) {
423
- this._$AH !== t && (this._$AR(), this._$AH = this.k(t));
424
- }
425
- _(t) {
426
- this._$AH !== p && C(this._$AH) ? this._$AA.nextSibling.data = t : this.$(g.createTextNode(t)), this._$AH = t;
427
- }
428
- g(t) {
429
- var e;
430
- const { values: s, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = x.createElement(dt(i.h, i.h[0]), this.options)), i);
431
- if (((e = this._$AH) === null || e === void 0 ? void 0 : e._$AD) === r)
432
- this._$AH.v(s);
433
- else {
434
- const o = new bt(r, this), h = o.u(this.options);
435
- o.v(s), this.$(h), this._$AH = o;
436
- }
437
- }
438
- _$AC(t) {
439
- let e = it.get(t.strings);
440
- return e === void 0 && it.set(t.strings, e = new x(t)), e;
441
- }
442
- T(t) {
443
- ht(this._$AH) || (this._$AH = [], this._$AR());
444
- const e = this._$AH;
445
- let s, i = 0;
446
- for (const r of t)
447
- i === e.length ? e.push(s = new H(this.k(w()), this.k(w()), this, this.options)) : s = e[i], s._$AI(r), i++;
448
- i < e.length && (this._$AR(s && s._$AB.nextSibling, i), e.length = i);
449
- }
450
- _$AR(t = this._$AA.nextSibling, e) {
451
- var s;
452
- for ((s = this._$AP) === null || s === void 0 || s.call(this, !1, !0, e); t && t !== this._$AB; ) {
453
- const i = t.nextSibling;
454
- t.remove(), t = i;
455
- }
456
- }
457
- setConnected(t) {
458
- var e;
459
- this._$AM === void 0 && (this._$Cp = t, (e = this._$AP) === null || e === void 0 || e.call(this, t));
460
- }
461
- }
462
- class O {
463
- constructor(t, e, s, i, r) {
464
- this.type = 1, this._$AH = p, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = r, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = p;
465
- }
466
- get tagName() {
467
- return this.element.tagName;
468
- }
469
- get _$AU() {
470
- return this._$AM._$AU;
471
- }
472
- _$AI(t, e = this, s, i) {
473
- const r = this.strings;
474
- let o = !1;
475
- if (r === void 0)
476
- t = E(this, t, e, 0), o = !C(t) || t !== this._$AH && t !== y, o && (this._$AH = t);
477
- else {
478
- const h = t;
479
- let l, c;
480
- for (t = r[0], l = 0; l < r.length - 1; l++)
481
- c = E(this, h[s + l], e, l), c === y && (c = this._$AH[l]), o || (o = !C(c) || c !== this._$AH[l]), c === p ? t = p : t !== p && (t += (c != null ? c : "") + r[l + 1]), this._$AH[l] = c;
482
- }
483
- o && !i && this.j(t);
484
- }
485
- j(t) {
486
- t === p ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t != null ? t : "");
487
- }
488
- }
489
- class wt extends O {
490
- constructor() {
491
- super(...arguments), this.type = 3;
492
- }
493
- j(t) {
494
- this.element[this.name] = t === p ? void 0 : t;
495
- }
496
- }
497
- const Ct = m ? m.emptyScript : "";
498
- class xt extends O {
499
- constructor() {
500
- super(...arguments), this.type = 4;
501
- }
502
- j(t) {
503
- t && t !== p ? this.element.setAttribute(this.name, Ct) : this.element.removeAttribute(this.name);
504
- }
505
- }
506
- class Ht extends O {
507
- constructor(t, e, s, i, r) {
508
- super(t, e, s, i, r), this.type = 5;
509
- }
510
- _$AI(t, e = this) {
511
- var s;
512
- if ((t = (s = E(this, t, e, 0)) !== null && s !== void 0 ? s : p) === y)
513
- return;
514
- const i = this._$AH, r = t === p && i !== p || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, o = t !== p && (i === p || r);
515
- r && this.element.removeEventListener(this.name, this, i), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
516
- }
517
- handleEvent(t) {
518
- var e, s;
519
- typeof this._$AH == "function" ? this._$AH.call((s = (e = this.options) === null || e === void 0 ? void 0 : e.host) !== null && s !== void 0 ? s : this.element, t) : this._$AH.handleEvent(t);
520
- }
521
- }
522
- class Mt {
523
- constructor(t, e, s) {
524
- this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
525
- }
526
- get _$AU() {
527
- return this._$AM._$AU;
528
- }
529
- _$AI(t) {
530
- E(this, t);
531
- }
532
- }
533
- const nt = z.litHtmlPolyfillSupport;
534
- nt == null || nt(x, H), ((k = z.litHtmlVersions) !== null && k !== void 0 ? k : z.litHtmlVersions = []).push("2.8.0");
535
- const Pt = (n, t, e) => {
536
- var s, i;
537
- const r = (s = e == null ? void 0 : e.renderBefore) !== null && s !== void 0 ? s : t;
538
- let o = r._$litPart$;
539
- if (o === void 0) {
540
- const h = (i = e == null ? void 0 : e.renderBefore) !== null && i !== void 0 ? i : null;
541
- r._$litPart$ = o = new H(t.insertBefore(w(), h), h, void 0, e != null ? e : {});
542
- }
543
- return o._$AI(n), o;
544
- };
545
- /**
546
- * @license
547
- * Copyright 2017 Google LLC
548
- * SPDX-License-Identifier: BSD-3-Clause
549
- */
550
- var V, L;
551
- class b extends A {
552
- constructor() {
553
- super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
554
- }
555
- createRenderRoot() {
556
- var t, e;
557
- const s = super.createRenderRoot();
558
- return (t = (e = this.renderOptions).renderBefore) !== null && t !== void 0 || (e.renderBefore = s.firstChild), s;
559
- }
560
- update(t) {
561
- const e = this.render();
562
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Pt(e, this.renderRoot, this.renderOptions);
563
- }
564
- connectedCallback() {
565
- var t;
566
- super.connectedCallback(), (t = this._$Do) === null || t === void 0 || t.setConnected(!0);
567
- }
568
- disconnectedCallback() {
569
- var t;
570
- super.disconnectedCallback(), (t = this._$Do) === null || t === void 0 || t.setConnected(!1);
571
- }
572
- render() {
573
- return y;
574
- }
575
- }
576
- b.finalized = !0, b._$litElement$ = !0, (V = globalThis.litElementHydrateSupport) === null || V === void 0 || V.call(globalThis, { LitElement: b });
577
- const ot = globalThis.litElementPolyfillSupport;
578
- ot == null || ot({ LitElement: b });
579
- ((L = globalThis.litElementVersions) !== null && L !== void 0 ? L : globalThis.litElementVersions = []).push("3.3.3");
580
- /**
581
- * @license
582
- * Copyright 2017 Google LLC
583
- * SPDX-License-Identifier: BSD-3-Clause
584
- */
585
- const Ut = (n) => (t) => typeof t == "function" ? ((e, s) => (customElements.define(e, s), s))(n, t) : ((e, s) => {
586
- const { kind: i, elements: r } = s;
587
- return { kind: i, elements: r, finisher(o) {
588
- customElements.define(e, o);
589
- } };
590
- })(n, t);
591
- /**
592
- * @license
593
- * Copyright 2021 Google LLC
594
- * SPDX-License-Identifier: BSD-3-Clause
595
- */
596
- var j;
597
- ((j = window.HTMLSlotElement) === null || j === void 0 ? void 0 : j.prototype.assignedElements) != null;
598
- var zt = Object.defineProperty, Nt = Object.getOwnPropertyDescriptor, Ot = (n, t, e, s) => {
599
- for (var i = s > 1 ? void 0 : s ? Nt(t, e) : t, r = n.length - 1, o; r >= 0; r--)
600
- (o = n[r]) && (i = (s ? o(t, e, i) : o(i)) || i);
601
- return s && i && zt(t, e, i), i;
602
- };
603
- const pt = vt(b);
604
- let N = class extends pt {
605
- render() {
606
- return Et` <div class="copyright">
607
- <a
608
- aria-label="Powered by Telia ACE"
609
- href="https://ace-showcase.com/marketplace/ace-knowledge/"
610
- target="_blank"
611
- rel="noopener noreferrer"
612
- >
613
- <svg
614
- version="1.1"
615
- xmlns="http://www.w3.org/2000/svg"
616
- xlink:href="http://www.w3.org/1999/xlink"
617
- viewBox="0 0 1000 150"
618
- class="compact"
619
- >
620
- <g>
621
- <path
622
- d="M107.5,47.9c5.3,0,9.3,1.4,12,4.1s4.1,6.5,4.1,11.4c0,4.9-1.4,8.7-4.1,11.5c-2.7,2.7-6.7,4.1-12,4h-16v21.5h-7V47.9H107.5z
623
- M105.2,73.1c4,0,6.9-0.8,8.7-2.4c1.8-1.7,2.8-4.1,2.8-7.2c0-3.1-0.9-5.5-2.8-7.2c-1.8-1.6-4.7-2.5-8.7-2.5H91.5v19.3H105.2z"
624
- />
625
- <path
626
- d="M130.8,63.9c1.1-3.3,2.6-6.2,4.7-8.8c2.1-2.5,4.7-4.6,7.9-6.1c3.1-1.5,6.8-2.3,11-2.3c4.2,0,7.8,0.8,11,2.3
627
- c3.1,1.5,5.8,3.6,7.9,6.1c2.1,2.6,3.7,5.5,4.7,8.8c1.1,3.3,1.6,6.8,1.6,10.3c0,3.6-0.5,7-1.6,10.3c-1.1,3.3-2.6,6.2-4.7,8.8
628
- c-2.1,2.6-4.7,4.6-7.9,6.1c-3.1,1.5-6.8,2.2-11,2.2c-4.2,0-7.8-0.7-11-2.2c-3.1-1.5-5.8-3.5-7.9-6.1c-2.1-2.5-3.7-5.5-4.7-8.8
629
- c-1.1-3.3-1.6-6.8-1.6-10.3C129.2,70.6,129.8,67.2,130.8,63.9z M137.2,82c0.7,2.6,1.8,4.9,3.2,7c1.5,2.1,3.4,3.7,5.7,5
630
- c2.3,1.3,5.1,1.9,8.2,1.9c3.2,0,5.9-0.6,8.2-1.9c2.3-1.2,4.2-2.9,5.7-5c1.5-2.1,2.5-4.4,3.2-7c0.7-2.6,1-5.2,1-7.8s-0.3-5.3-1-7.8
631
- c-0.7-2.6-1.8-4.9-3.2-7s-3.4-3.7-5.7-5c-2.3-1.3-5.1-1.9-8.2-1.9c-3.2,0-5.9,0.6-8.2,1.9c-2.3,1.3-4.2,2.9-5.7,5s-2.6,4.4-3.2,7
632
- c-0.7,2.6-1,5.2-1,7.8S136.6,79.5,137.2,82z"
633
- />
634
- <path
635
- d="M228.2,100.5l-12-44.1h-0.1L204,100.5h-7.3l-13.5-52.5h7.1l10.3,43.7h0.1l11.8-43.7h7.6l11.6,43.7h0.1l10.7-43.7h7
636
- l-14,52.5H228.2z"
637
- />
638
- <path
639
- d="M292.5,47.9v5.9h-29.3v16.7h27.3v5.9h-27.3v18.2h29.5v5.9h-36.5V47.9H292.5z"
640
- />
641
- <path
642
- d="M325.8,47.9c5,0,8.9,1.2,11.7,3.7c2.8,2.5,4.2,5.8,4.2,10.1c0,3.2-0.7,6-2.2,8.4c-1.4,2.4-3.8,4-7,4.9v0.1
643
- c1.5,0.3,2.8,0.8,3.7,1.5c1,0.7,1.7,1.5,2.3,2.5c0.6,1,1,2,1.3,3.2c0.3,1.2,0.5,2.4,0.6,3.7c0.1,1.3,0.2,2.6,0.2,3.9
644
- c0,1.3,0.2,2.6,0.4,3.9c0.2,1.3,0.5,2.5,0.8,3.6c0.4,1.2,0.9,2.2,1.7,3.1h-7.8c-0.5-0.5-0.8-1.3-1-2.2c-0.2-0.9-0.3-2-0.3-3.1
645
- c0-1.2-0.1-2.4-0.1-3.7c0-1.3-0.2-2.6-0.4-3.9c-0.2-1.3-0.4-2.5-0.7-3.6c-0.3-1.2-0.8-2.2-1.4-3c-0.6-0.9-1.5-1.5-2.5-2.1
646
- c-1-0.5-2.4-0.8-4.1-0.8h-17.1v22.4h-7V47.9H325.8z M327.3,71.8c1.5-0.2,2.8-0.7,3.9-1.4c1.1-0.7,2-1.7,2.6-2.9
647
- c0.7-1.2,1-2.8,1-4.7c0-2.6-0.7-4.8-2.2-6.5c-1.5-1.7-3.9-2.5-7.1-2.5h-17.4v18.3h14.6C324.3,72.2,325.8,72,327.3,71.8z"
648
- />
649
- <path
650
- d="M387.8,47.9v5.9h-29.3v16.7h27.3v5.9h-27.3v18.2H388v5.9h-36.5V47.9H387.8z"
651
- />
652
- <path
653
- d="M414.5,47.9c8.1,0,14.3,2.1,18.7,6.2c4.4,4.1,6.5,10.4,6.5,18.8c0,4.4-0.5,8.3-1.5,11.7c-1,3.4-2.5,6.3-4.6,8.6
654
- s-4.7,4.1-7.9,5.3c-3.2,1.2-7,1.8-11.3,1.8h-18V47.9H414.5z M415.1,94.6c0.8,0,1.8-0.1,2.9-0.2c1.2-0.1,2.4-0.4,3.8-0.9
655
- c1.3-0.5,2.6-1.1,3.9-2c1.3-0.9,2.5-2.1,3.5-3.6c1-1.5,1.9-3.4,2.5-5.7c0.7-2.3,1-5,1-8.3c0-3.1-0.3-5.9-0.9-8.4
656
- c-0.6-2.5-1.6-4.6-3-6.3c-1.4-1.7-3.2-3.1-5.4-4c-2.2-0.9-4.9-1.4-8.2-1.4h-11.8v40.8H415.1z"
657
- />
658
- <path
659
- d="M487.8,47.9c1.1,0,2.3,0,3.6,0c1.3,0,2.6,0.1,3.9,0.2c1.3,0.1,2.5,0.3,3.6,0.6c1.1,0.2,2,0.6,2.8,1.1
660
- c1.7,1,3.2,2.5,4.4,4.3c1.2,1.8,1.8,4,1.8,6.7c0,2.8-0.7,5.2-2,7.2c-1.3,2-3.3,3.5-5.8,4.5v0.1c3.2,0.7,5.7,2.2,7.4,4.4
661
- c1.7,2.3,2.6,5,2.6,8.2c0,1.9-0.3,3.8-1,5.6c-0.7,1.8-1.7,3.4-3.1,4.8c-1.3,1.4-3,2.5-5,3.4c-2,0.9-4.3,1.3-6.9,1.3h-25.4V47.9
662
- H487.8z M489.7,70.5c4,0,6.8-0.7,8.6-2.1c1.7-1.4,2.6-3.5,2.6-6.3c0-1.9-0.3-3.3-0.9-4.4c-0.6-1.1-1.4-1.9-2.4-2.5
663
- c-1-0.6-2.2-1-3.6-1.1c-1.3-0.2-2.8-0.3-4.3-0.3h-14v16.7H489.7z M493.2,94.6c3.1,0,5.5-0.8,7.2-2.5c1.7-1.7,2.6-4,2.6-6.9
664
- c0-1.7-0.3-3.1-1-4.3c-0.6-1.1-1.5-2-2.5-2.7c-1.1-0.7-2.3-1.1-3.6-1.4c-1.4-0.3-2.8-0.4-4.3-0.4h-16v18.2H493.2z"
665
- />
666
- <path
667
- d="M540.8,100.5h-7V79l-20.3-31h8.3l15.7,25l15.4-25h7.9l-20.1,31V100.5z"
668
- />
669
- </g>
670
- <g>
671
- <path
672
- fill="#9924DF"
673
- d="M597.5,59.6h-10.1c-2.6,0-5.1-4.5-5.1-5.9c0-2.4,3.8-4.8,7.4-4.8h30.1c1.9,0,2.9,0.9,2.9,2.6c0,4-2.6,8-5.1,8
674
- h-9.8v33.2c0,4-2.6,8-5.2,8c-2.6,0-5.1-4.5-5.1-5.9V59.6z"
675
- />
676
- <path
677
- fill="#9924DF"
678
- d="M633.6,100.5c-2.6,0-5.1-4.5-5.1-5.9V53.8c0-2.4,3.8-4.8,7.4-4.8h24.2c1.8,0,2.7,0.9,2.7,2.6
679
- c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1h-19.1v10.4h18c1.7,0,2.6,0.8,2.6,2.4c0,3.6-2.3,7.1-4.6,7.1h-16v11h22
680
- c1.8,0,2.7,0.9,2.7,2.6c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1H633.6z"
681
- />
682
- <path
683
- fill="#9924DF"
684
- d="M675.6,100.5c-2.6,0-5.1-4.5-5.1-5.9V53.3c0-2.4,3.8-4.8,7.4-4.8c1.9,0,2.9,0.9,2.9,2.6v39h19.1
685
- c1.8,0,2.7,0.9,2.7,2.6c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1H675.6z"
686
- />
687
- <path
688
- fill="#9924DF"
689
- d="M708.4,53.3c0-2.4,3.8-4.8,7.4-4.8c1.9,0,2.9,0.9,2.9,2.6v41.7c0,4-2.6,8-5.2,8c-2.6,0-5.1-4.5-5.1-5.9V53.3z"
690
- />
691
- <path
692
- fill="#9924DF"
693
- d="M756.9,90.2h-21l-2.2,6.3c-0.9,2.6-2.7,4.4-4.5,4.4c-2.6,0-5.1-4.5-5.1-5.9c0-0.3,0.1-0.7,0.3-1.3l15.1-40.9
694
- c0.5-1.4,2.1-2.6,4.2-3.3c1-0.4,2-0.5,2.9-0.5h4.6c1.5,0,2.4,0.5,2.7,1.6l14.7,40.8c0.2,0.4,0.3,1,0.3,1.5c0,4-2.6,8-5.1,8
695
- c-1.3,0-2.6-1-3.8-2.9c-0.5-0.7-0.9-1.5-1.1-2.1L756.9,90.2z M753.9,81.4l-7.4-21.3L739,81.4H753.9z"
696
- />
697
- <path
698
- fill="#9924DF"
699
- d="M820.5,90.2h-21l-2.2,6.3c-0.9,2.6-2.7,4.4-4.5,4.4c-2.6,0-5.1-4.5-5.1-5.9c0-0.3,0.1-0.7,0.3-1.3L803,52.8
700
- c0.5-1.4,2.1-2.6,4.2-3.3c1-0.4,2-0.5,2.9-0.5h4.6c1.5,0,2.4,0.5,2.7,1.6l14.7,40.8c0.2,0.4,0.3,1,0.3,1.5c0,4-2.6,8-5.1,8
701
- c-1.2,0-2.6-1-3.8-2.9c-0.5-0.7-0.9-1.5-1.1-2.1L820.5,90.2z M817.4,81.4l-7.4-21.3l-7.5,21.3H817.4z"
702
- />
703
- <path
704
- fill="#9924DF"
705
- d="M860.4,101.6c-9.6,0-17.8-5.4-22.1-13.4c-2.1-4-3.2-8.3-3.2-12.9c0-10.2,5.5-19.1,13.7-23.8
706
- c4-2.4,8.5-3.5,13.1-3.5c5.1,0,9.7,1.3,13.8,3.8c0.7,0.4,1.1,1.2,1.1,2.2c0,3.6-2.4,7.4-4.6,7.4c-0.5,0-1.1-0.1-1.8-0.5
707
- c-3-1.5-5.9-2.3-8.7-2.3c-6.2,0-11.3,3.2-13.8,8.1c-1.3,2.5-2,5.2-2,8.2c0,6.3,3,11.5,7.7,14.1c2.3,1.4,4.9,2.1,7.7,2.1
708
- c3.2,0,6.4-0.7,9.6-2.1c1.7-0.7,3-1.1,4-1.1c1.8,0,2.6,0.9,2.6,2.6c0,2.6-1.2,5.3-2.9,6.8C871.4,99.7,865.6,101.6,860.4,101.6z"
709
- />
710
- <path
711
- fill="#9924DF"
712
- d="M889.3,100.5c-2.6,0-5.1-4.5-5.1-5.9V53.8c0-2.4,3.8-4.8,7.4-4.8h24.2c1.8,0,2.7,0.9,2.7,2.6
713
- c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1h-19.1v10.4h18c1.7,0,2.6,0.8,2.6,2.4c0,3.6-2.3,7.1-4.6,7.1h-16v11h22
714
- c1.8,0,2.7,0.9,2.7,2.6c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1H889.3z"
715
- />
716
- </g>
717
- </svg>
718
- </a>
719
- </div>`;
720
- }
721
- };
722
- N.styles = [
723
- pt.styles || [],
724
- _t`
725
- .copyright {
726
- padding: var(--spacing-md);
727
- box-shadow: 1px 0px 10px rgba(0, 0, 0, 0.1);
728
- z-index: 6;
729
- background-color: #fff;
730
- }
731
-
732
- a {
733
- display: flex;
734
- justify-content: center;
735
- align-items: center;
736
- outline: none;
737
- }
738
-
739
- svg {
740
- width: 145px;
741
- }
742
-
743
- svg.compact {
744
- width: 130px;
745
- }
746
- `
747
- ];
748
- N = Ot([
749
- Ut("ace-copyright")
750
- ], N);
751
- const Vt = N;
752
- export {
753
- N as CopyrightComponent,
754
- Vt as default
755
- };
756
- //# sourceMappingURL=copyright-15d6f6a3.js.map