@record-evolution/widget-image 1.1.3 → 1.1.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.
@@ -32,21 +32,21 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
32
32
  * Copyright 2019 Google LLC
33
33
  * SPDX-License-Identifier: BSD-3-Clause
34
34
  */
35
- const t = globalThis,
36
- e$1 = t.ShadowRoot && (void 0 === t.ShadyCSS || t.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
37
- s = Symbol(),
38
- o$2 = new WeakMap();
35
+ const t$1 = globalThis,
36
+ e$2 = t$1.ShadowRoot && (void 0 === t$1.ShadyCSS || t$1.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
37
+ s$2 = Symbol(),
38
+ o$4 = new WeakMap();
39
39
  let n$3 = class n {
40
40
  constructor(t, e, o) {
41
- if (this._$cssResult$ = !0, o !== s) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
41
+ if (this._$cssResult$ = !0, o !== s$2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
42
42
  this.cssText = t, this.t = e;
43
43
  }
44
44
  get styleSheet() {
45
45
  let t = this.o;
46
46
  const s = this.t;
47
- if (e$1 && void 0 === t) {
47
+ if (e$2 && void 0 === t) {
48
48
  const e = void 0 !== s && 1 === s.length;
49
- e && (t = o$2.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), e && o$2.set(s, t));
49
+ e && (t = o$4.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), e && o$4.set(s, t));
50
50
  }
51
51
  return t;
52
52
  }
@@ -54,26 +54,26 @@ let n$3 = class n {
54
54
  return this.cssText;
55
55
  }
56
56
  };
57
- const r$2 = t => new n$3("string" == typeof t ? t : t + "", void 0, s),
58
- i$1 = (t, ...e) => {
57
+ const r$4 = t => new n$3("string" == typeof t ? t : t + "", void 0, s$2),
58
+ i$3 = (t, ...e) => {
59
59
  const o = 1 === t.length ? t[0] : e.reduce((e, s, o) => e + (t => {
60
60
  if (!0 === t._$cssResult$) return t.cssText;
61
61
  if ("number" == typeof t) return t;
62
62
  throw Error("Value passed to 'css' function must be a 'css' function result: " + t + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
63
63
  })(s) + t[o + 1], t[0]);
64
- return new n$3(o, t, s);
64
+ return new n$3(o, t, s$2);
65
65
  },
66
66
  S$1 = (s, o) => {
67
- if (e$1) s.adoptedStyleSheets = o.map(t => t instanceof CSSStyleSheet ? t : t.styleSheet);else for (const e of o) {
67
+ if (e$2) s.adoptedStyleSheets = o.map(t => t instanceof CSSStyleSheet ? t : t.styleSheet);else for (const e of o) {
68
68
  const o = document.createElement("style"),
69
- n = t.litNonce;
69
+ n = t$1.litNonce;
70
70
  void 0 !== n && o.setAttribute("nonce", n), o.textContent = e.cssText, s.appendChild(o);
71
71
  }
72
72
  },
73
- c$2 = e$1 ? t => t : t => t instanceof CSSStyleSheet ? (t => {
73
+ c$2 = e$2 ? t => t : t => t instanceof CSSStyleSheet ? (t => {
74
74
  let e = "";
75
75
  for (const s of t.cssRules) e += s.cssText;
76
- return r$2(e);
76
+ return r$4(e);
77
77
  })(t) : t;
78
78
 
79
79
  /**
@@ -82,23 +82,23 @@ const r$2 = t => new n$3("string" == typeof t ? t : t + "", void 0, s),
82
82
  * SPDX-License-Identifier: BSD-3-Clause
83
83
  */
84
84
  const {
85
- is: i,
86
- defineProperty: e,
87
- getOwnPropertyDescriptor: r$1,
88
- getOwnPropertyNames: h$2,
89
- getOwnPropertySymbols: o$1,
85
+ is: i$2,
86
+ defineProperty: e$1,
87
+ getOwnPropertyDescriptor: h$1,
88
+ getOwnPropertyNames: r$3,
89
+ getOwnPropertySymbols: o$3,
90
90
  getPrototypeOf: n$2
91
91
  } = Object,
92
- a = globalThis,
93
- c$1 = a.trustedTypes,
94
- l = c$1 ? c$1.emptyScript : "",
95
- p = a.reactiveElementPolyfillSupport,
96
- d = (t, s) => t,
97
- u = {
92
+ a$1 = globalThis,
93
+ c$1 = a$1.trustedTypes,
94
+ l$1 = c$1 ? c$1.emptyScript : "",
95
+ p$1 = a$1.reactiveElementPolyfillSupport,
96
+ d$1 = (t, s) => t,
97
+ u$1 = {
98
98
  toAttribute(t, s) {
99
99
  switch (s) {
100
100
  case Boolean:
101
- t = t ? l : null;
101
+ t = t ? l$1 : null;
102
102
  break;
103
103
  case Object:
104
104
  case Array:
@@ -126,34 +126,35 @@ const {
126
126
  return i;
127
127
  }
128
128
  },
129
- f$2 = (t, s) => !i(t, s),
130
- y = {
129
+ f$1 = (t, s) => !i$2(t, s),
130
+ b = {
131
131
  attribute: !0,
132
132
  type: String,
133
- converter: u,
133
+ converter: u$1,
134
134
  reflect: !1,
135
- hasChanged: f$2
135
+ useDefault: !1,
136
+ hasChanged: f$1
136
137
  };
137
- Symbol.metadata ??= Symbol("metadata"), a.litPropertyMetadata ??= new WeakMap();
138
- class b extends HTMLElement {
138
+ Symbol.metadata ??= Symbol("metadata"), a$1.litPropertyMetadata ??= new WeakMap();
139
+ let y$1 = class y extends HTMLElement {
139
140
  static addInitializer(t) {
140
141
  this._$Ei(), (this.l ??= []).push(t);
141
142
  }
142
143
  static get observedAttributes() {
143
144
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
144
145
  }
145
- static createProperty(t, s = y) {
146
- if (s.state && (s.attribute = !1), this._$Ei(), this.elementProperties.set(t, s), !s.noAccessor) {
146
+ static createProperty(t, s = b) {
147
+ if (s.state && (s.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((s = Object.create(s)).wrapped = !0), this.elementProperties.set(t, s), !s.noAccessor) {
147
148
  const i = Symbol(),
148
- r = this.getPropertyDescriptor(t, i, s);
149
- void 0 !== r && e(this.prototype, t, r);
149
+ h = this.getPropertyDescriptor(t, i, s);
150
+ void 0 !== h && e$1(this.prototype, t, h);
150
151
  }
151
152
  }
152
153
  static getPropertyDescriptor(t, s, i) {
153
154
  const {
154
155
  get: e,
155
- set: h
156
- } = r$1(this.prototype, t) ?? {
156
+ set: r
157
+ } = h$1(this.prototype, t) ?? {
157
158
  get() {
158
159
  return this[s];
159
160
  },
@@ -162,30 +163,28 @@ class b extends HTMLElement {
162
163
  }
163
164
  };
164
165
  return {
165
- get() {
166
- return e?.call(this);
167
- },
166
+ get: e,
168
167
  set(s) {
169
- const r = e?.call(this);
170
- h.call(this, s), this.requestUpdate(t, r, i);
168
+ const h = e?.call(this);
169
+ r?.call(this, s), this.requestUpdate(t, h, i);
171
170
  },
172
171
  configurable: !0,
173
172
  enumerable: !0
174
173
  };
175
174
  }
176
175
  static getPropertyOptions(t) {
177
- return this.elementProperties.get(t) ?? y;
176
+ return this.elementProperties.get(t) ?? b;
178
177
  }
179
178
  static _$Ei() {
180
- if (this.hasOwnProperty(d("elementProperties"))) return;
179
+ if (this.hasOwnProperty(d$1("elementProperties"))) return;
181
180
  const t = n$2(this);
182
181
  t.finalize(), void 0 !== t.l && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
183
182
  }
184
183
  static finalize() {
185
- if (this.hasOwnProperty(d("finalized"))) return;
186
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(d("properties"))) {
184
+ if (this.hasOwnProperty(d$1("finalized"))) return;
185
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(d$1("properties"))) {
187
186
  const t = this.properties,
188
- s = [...h$2(t), ...o$1(t)];
187
+ s = [...r$3(t), ...o$3(t)];
189
188
  for (const i of s) this.createProperty(i, t[i]);
190
189
  }
191
190
  const t = this[Symbol.metadata];
@@ -244,12 +243,12 @@ class b extends HTMLElement {
244
243
  attributeChangedCallback(t, s, i) {
245
244
  this._$AK(t, i);
246
245
  }
247
- _$EC(t, s) {
246
+ _$ET(t, s) {
248
247
  const i = this.constructor.elementProperties.get(t),
249
248
  e = this.constructor._$Eu(t, i);
250
249
  if (void 0 !== e && !0 === i.reflect) {
251
- const r = (void 0 !== i.converter?.toAttribute ? i.converter : u).toAttribute(s, i.type);
252
- this._$Em = t, null == r ? this.removeAttribute(e) : this.setAttribute(e, r), this._$Em = null;
250
+ const h = (void 0 !== i.converter?.toAttribute ? i.converter : u$1).toAttribute(s, i.type);
251
+ this._$Em = t, null == h ? this.removeAttribute(e) : this.setAttribute(e, h), this._$Em = null;
253
252
  }
254
253
  }
255
254
  _$AK(t, s) {
@@ -257,23 +256,29 @@ class b extends HTMLElement {
257
256
  e = i._$Eh.get(t);
258
257
  if (void 0 !== e && this._$Em !== e) {
259
258
  const t = i.getPropertyOptions(e),
260
- r = "function" == typeof t.converter ? {
259
+ h = "function" == typeof t.converter ? {
261
260
  fromAttribute: t.converter
262
- } : void 0 !== t.converter?.fromAttribute ? t.converter : u;
263
- this._$Em = e, this[e] = r.fromAttribute(s, t.type), this._$Em = null;
261
+ } : void 0 !== t.converter?.fromAttribute ? t.converter : u$1;
262
+ this._$Em = e, this[e] = h.fromAttribute(s, t.type) ?? this._$Ej?.get(e) ?? null, this._$Em = null;
264
263
  }
265
264
  }
266
265
  requestUpdate(t, s, i) {
267
266
  if (void 0 !== t) {
268
- if (i ??= this.constructor.getPropertyOptions(t), !(i.hasChanged ?? f$2)(this[t], s)) return;
269
- this.P(t, s, i);
267
+ const e = this.constructor,
268
+ h = this[t];
269
+ if (i ??= e.getPropertyOptions(t), !((i.hasChanged ?? f$1)(h, s) || i.useDefault && i.reflect && h === this._$Ej?.get(t) && !this.hasAttribute(e._$Eu(t, i)))) return;
270
+ this.C(t, s, i);
270
271
  }
271
- !1 === this.isUpdatePending && (this._$ES = this._$ET());
272
+ !1 === this.isUpdatePending && (this._$ES = this._$EP());
272
273
  }
273
- P(t, s, i) {
274
- this._$AL.has(t) || this._$AL.set(t, s), !0 === i.reflect && this._$Em !== t && (this._$Ej ??= new Set()).add(t);
274
+ C(t, s, {
275
+ useDefault: i,
276
+ reflect: e,
277
+ wrapped: h
278
+ }, r) {
279
+ i && !(this._$Ej ??= new Map()).has(t) && (this._$Ej.set(t, r ?? s ?? this[t]), !0 !== h || void 0 !== r) || (this._$AL.has(t) || (this.hasUpdated || i || (s = void 0), this._$AL.set(t, s)), !0 === e && this._$Em !== t && (this._$Eq ??= new Set()).add(t));
275
280
  }
276
- async _$ET() {
281
+ async _$EP() {
277
282
  this.isUpdatePending = !0;
278
283
  try {
279
284
  await this._$ES;
@@ -294,14 +299,20 @@ class b extends HTMLElement {
294
299
  this._$Ep = void 0;
295
300
  }
296
301
  const t = this.constructor.elementProperties;
297
- if (t.size > 0) for (const [s, i] of t) !0 !== i.wrapped || this._$AL.has(s) || void 0 === this[s] || this.P(s, this[s], i);
302
+ if (t.size > 0) for (const [s, i] of t) {
303
+ const {
304
+ wrapped: t
305
+ } = i,
306
+ e = this[s];
307
+ !0 !== t || this._$AL.has(s) || void 0 === e || this.C(s, void 0, i, e);
308
+ }
298
309
  }
299
310
  let t = !1;
300
311
  const s = this._$AL;
301
312
  try {
302
- t = this.shouldUpdate(s), t ? (this.willUpdate(s), this._$EO?.forEach(t => t.hostUpdate?.()), this.update(s)) : this._$EU();
313
+ t = this.shouldUpdate(s), t ? (this.willUpdate(s), this._$EO?.forEach(t => t.hostUpdate?.()), this.update(s)) : this._$EM();
303
314
  } catch (s) {
304
- throw t = !1, this._$EU(), s;
315
+ throw t = !1, this._$EM(), s;
305
316
  }
306
317
  t && this._$AE(s);
307
318
  }
@@ -309,7 +320,7 @@ class b extends HTMLElement {
309
320
  _$AE(t) {
310
321
  this._$EO?.forEach(t => t.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
311
322
  }
312
- _$EU() {
323
+ _$EM() {
313
324
  this._$AL = new Map(), this.isUpdatePending = !1;
314
325
  }
315
326
  get updateComplete() {
@@ -322,146 +333,146 @@ class b extends HTMLElement {
322
333
  return !0;
323
334
  }
324
335
  update(t) {
325
- this._$Ej &&= this._$Ej.forEach(t => this._$EC(t, this[t])), this._$EU();
336
+ this._$Eq &&= this._$Eq.forEach(t => this._$ET(t, this[t])), this._$EM();
326
337
  }
327
338
  updated(t) {}
328
339
  firstUpdated(t) {}
329
- }
330
- b.elementStyles = [], b.shadowRootOptions = {
340
+ };
341
+ y$1.elementStyles = [], y$1.shadowRootOptions = {
331
342
  mode: "open"
332
- }, b[d("elementProperties")] = new Map(), b[d("finalized")] = new Map(), p?.({
333
- ReactiveElement: b
334
- }), (a.reactiveElementVersions ??= []).push("2.0.4");
343
+ }, y$1[d$1("elementProperties")] = new Map(), y$1[d$1("finalized")] = new Map(), p$1?.({
344
+ ReactiveElement: y$1
345
+ }), (a$1.reactiveElementVersions ??= []).push("2.1.0");
335
346
 
336
347
  /**
337
348
  * @license
338
349
  * Copyright 2017 Google LLC
339
350
  * SPDX-License-Identifier: BSD-3-Clause
340
351
  */
341
- const n$1 = globalThis,
342
- c = n$1.trustedTypes,
343
- h$1 = c ? c.createPolicy("lit-html", {
352
+ const t = globalThis,
353
+ i$1 = t.trustedTypes,
354
+ s$1 = i$1 ? i$1.createPolicy("lit-html", {
344
355
  createHTML: t => t
345
356
  }) : void 0,
346
- f$1 = "$lit$",
347
- v = `lit$${Math.random().toFixed(9).slice(2)}$`,
348
- m = "?" + v,
349
- _ = `<${m}>`,
350
- w = document,
351
- lt = () => w.createComment(""),
352
- st = t => null === t || "object" != typeof t && "function" != typeof t,
353
- g = Array.isArray,
354
- $ = t => g(t) || "function" == typeof t?.[Symbol.iterator],
355
- x = "[ \t\n\f\r]",
356
- T = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
357
- E = /-->/g,
358
- k = />/g,
359
- O = RegExp(`>|${x}(?:([^\\s"'>=/]+)(${x}*=${x}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"),
360
- S = /'/g,
361
- j = /"/g,
362
- M = /^(?:script|style|textarea|title)$/i,
363
- P = t => (i, ...s) => ({
357
+ e = "$lit$",
358
+ h = `lit$${Math.random().toFixed(9).slice(2)}$`,
359
+ o$2 = "?" + h,
360
+ n$1 = `<${o$2}>`,
361
+ r$2 = document,
362
+ l = () => r$2.createComment(""),
363
+ c = t => null === t || "object" != typeof t && "function" != typeof t,
364
+ a = Array.isArray,
365
+ u = t => a(t) || "function" == typeof t?.[Symbol.iterator],
366
+ d = "[ \t\n\f\r]",
367
+ f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
368
+ v = /-->/g,
369
+ _ = />/g,
370
+ m = RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"),
371
+ p = /'/g,
372
+ g = /"/g,
373
+ $ = /^(?:script|style|textarea|title)$/i,
374
+ y = t => (i, ...s) => ({
364
375
  _$litType$: t,
365
376
  strings: i,
366
377
  values: s
367
378
  }),
368
- ke = P(1),
369
- R = Symbol.for("lit-noChange"),
370
- D = Symbol.for("lit-nothing"),
371
- V = new WeakMap(),
372
- I = w.createTreeWalker(w, 129);
373
- function N(t, i) {
374
- if (!g(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
375
- return void 0 !== h$1 ? h$1.createHTML(i) : i;
379
+ x = y(1),
380
+ T = Symbol.for("lit-noChange"),
381
+ E = Symbol.for("lit-nothing"),
382
+ A = new WeakMap(),
383
+ C = r$2.createTreeWalker(r$2, 129);
384
+ function P(t, i) {
385
+ if (!a(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
386
+ return void 0 !== s$1 ? s$1.createHTML(i) : i;
376
387
  }
377
- const U = (t, i) => {
388
+ const V = (t, i) => {
378
389
  const s = t.length - 1,
379
- e = [];
380
- let h,
381
- o = 2 === i ? "<svg>" : 3 === i ? "<math>" : "",
382
- n = T;
390
+ o = [];
391
+ let r,
392
+ l = 2 === i ? "<svg>" : 3 === i ? "<math>" : "",
393
+ c = f;
383
394
  for (let i = 0; i < s; i++) {
384
395
  const s = t[i];
385
- let r,
386
- l,
387
- c = -1,
388
- a = 0;
389
- for (; a < s.length && (n.lastIndex = a, l = n.exec(s), null !== l);) a = n.lastIndex, n === T ? "!--" === l[1] ? n = E : void 0 !== l[1] ? n = k : void 0 !== l[2] ? (M.test(l[2]) && (h = RegExp("</" + l[2], "g")), n = O) : void 0 !== l[3] && (n = O) : n === O ? ">" === l[0] ? (n = h ?? T, c = -1) : void 0 === l[1] ? c = -2 : (c = n.lastIndex - l[2].length, r = l[1], n = void 0 === l[3] ? O : '"' === l[3] ? j : S) : n === j || n === S ? n = O : n === E || n === k ? n = T : (n = O, h = void 0);
390
- const u = n === O && t[i + 1].startsWith("/>") ? " " : "";
391
- o += n === T ? s + _ : c >= 0 ? (e.push(r), s.slice(0, c) + f$1 + s.slice(c) + v + u) : s + v + (-2 === c ? i : u);
392
- }
393
- return [N(t, o + (t[s] || "<?>") + (2 === i ? "</svg>" : 3 === i ? "</math>" : "")), e];
396
+ let a,
397
+ u,
398
+ d = -1,
399
+ y = 0;
400
+ for (; y < s.length && (c.lastIndex = y, u = c.exec(s), null !== u);) y = c.lastIndex, c === f ? "!--" === u[1] ? c = v : void 0 !== u[1] ? c = _ : void 0 !== u[2] ? ($.test(u[2]) && (r = RegExp("</" + u[2], "g")), c = m) : void 0 !== u[3] && (c = m) : c === m ? ">" === u[0] ? (c = r ?? f, d = -1) : void 0 === u[1] ? d = -2 : (d = c.lastIndex - u[2].length, a = u[1], c = void 0 === u[3] ? m : '"' === u[3] ? g : p) : c === g || c === p ? c = m : c === v || c === _ ? c = f : (c = m, r = void 0);
401
+ const x = c === m && t[i + 1].startsWith("/>") ? " " : "";
402
+ l += c === f ? s + n$1 : d >= 0 ? (o.push(a), s.slice(0, d) + e + s.slice(d) + h + x) : s + h + (-2 === d ? i : x);
403
+ }
404
+ return [P(t, l + (t[s] || "<?>") + (2 === i ? "</svg>" : 3 === i ? "</math>" : "")), o];
394
405
  };
395
- class B {
406
+ class N {
396
407
  constructor({
397
408
  strings: t,
398
- _$litType$: i
399
- }, s) {
400
- let e;
409
+ _$litType$: s
410
+ }, n) {
411
+ let r;
401
412
  this.parts = [];
402
- let h = 0,
403
- o = 0;
404
- const n = t.length - 1,
405
- r = this.parts,
406
- [l, a] = U(t, i);
407
- if (this.el = B.createElement(l, s), I.currentNode = this.el.content, 2 === i || 3 === i) {
413
+ let c = 0,
414
+ a = 0;
415
+ const u = t.length - 1,
416
+ d = this.parts,
417
+ [f, v] = V(t, s);
418
+ if (this.el = N.createElement(f, n), C.currentNode = this.el.content, 2 === s || 3 === s) {
408
419
  const t = this.el.content.firstChild;
409
420
  t.replaceWith(...t.childNodes);
410
421
  }
411
- for (; null !== (e = I.nextNode()) && r.length < n;) {
412
- if (1 === e.nodeType) {
413
- if (e.hasAttributes()) for (const t of e.getAttributeNames()) if (t.endsWith(f$1)) {
414
- const i = a[o++],
415
- s = e.getAttribute(t).split(v),
416
- n = /([.?@])?(.*)/.exec(i);
417
- r.push({
422
+ for (; null !== (r = C.nextNode()) && d.length < u;) {
423
+ if (1 === r.nodeType) {
424
+ if (r.hasAttributes()) for (const t of r.getAttributeNames()) if (t.endsWith(e)) {
425
+ const i = v[a++],
426
+ s = r.getAttribute(t).split(h),
427
+ e = /([.?@])?(.*)/.exec(i);
428
+ d.push({
418
429
  type: 1,
419
- index: h,
420
- name: n[2],
430
+ index: c,
431
+ name: e[2],
421
432
  strings: s,
422
- ctor: "." === n[1] ? Y : "?" === n[1] ? Z : "@" === n[1] ? q : G
423
- }), e.removeAttribute(t);
424
- } else t.startsWith(v) && (r.push({
433
+ ctor: "." === e[1] ? H : "?" === e[1] ? I : "@" === e[1] ? L : k
434
+ }), r.removeAttribute(t);
435
+ } else t.startsWith(h) && (d.push({
425
436
  type: 6,
426
- index: h
427
- }), e.removeAttribute(t));
428
- if (M.test(e.tagName)) {
429
- const t = e.textContent.split(v),
430
- i = t.length - 1;
431
- if (i > 0) {
432
- e.textContent = c ? c.emptyScript : "";
433
- for (let s = 0; s < i; s++) e.append(t[s], lt()), I.nextNode(), r.push({
437
+ index: c
438
+ }), r.removeAttribute(t));
439
+ if ($.test(r.tagName)) {
440
+ const t = r.textContent.split(h),
441
+ s = t.length - 1;
442
+ if (s > 0) {
443
+ r.textContent = i$1 ? i$1.emptyScript : "";
444
+ for (let i = 0; i < s; i++) r.append(t[i], l()), C.nextNode(), d.push({
434
445
  type: 2,
435
- index: ++h
446
+ index: ++c
436
447
  });
437
- e.append(t[i], lt());
448
+ r.append(t[s], l());
438
449
  }
439
450
  }
440
- } else if (8 === e.nodeType) if (e.data === m) r.push({
451
+ } else if (8 === r.nodeType) if (r.data === o$2) d.push({
441
452
  type: 2,
442
- index: h
453
+ index: c
443
454
  });else {
444
455
  let t = -1;
445
- for (; -1 !== (t = e.data.indexOf(v, t + 1));) r.push({
456
+ for (; -1 !== (t = r.data.indexOf(h, t + 1));) d.push({
446
457
  type: 7,
447
- index: h
448
- }), t += v.length - 1;
458
+ index: c
459
+ }), t += h.length - 1;
449
460
  }
450
- h++;
461
+ c++;
451
462
  }
452
463
  }
453
464
  static createElement(t, i) {
454
- const s = w.createElement("template");
465
+ const s = r$2.createElement("template");
455
466
  return s.innerHTML = t, s;
456
467
  }
457
468
  }
458
- function z(t, i, s = t, e) {
459
- if (i === R) return i;
460
- let h = void 0 !== e ? s.o?.[e] : s.l;
461
- const o = st(i) ? void 0 : i._$litDirective$;
462
- return h?.constructor !== o && (h?._$AO?.(!1), void 0 === o ? h = void 0 : (h = new o(t), h._$AT(t, s, e)), void 0 !== e ? (s.o ??= [])[e] = h : s.l = h), void 0 !== h && (i = z(t, h._$AS(t, i.values), h, e)), i;
469
+ function S(t, i, s = t, e) {
470
+ if (i === T) return i;
471
+ let h = void 0 !== e ? s._$Co?.[e] : s._$Cl;
472
+ const o = c(i) ? void 0 : i._$litDirective$;
473
+ return h?.constructor !== o && (h?._$AO?.(!1), void 0 === o ? h = void 0 : (h = new o(t), h._$AT(t, s, e)), void 0 !== e ? (s._$Co ??= [])[e] = h : s._$Cl = h), void 0 !== h && (i = S(t, h._$AS(t, i.values), h, e)), i;
463
474
  }
464
- class F {
475
+ class M {
465
476
  constructor(t, i) {
466
477
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
467
478
  }
@@ -478,32 +489,32 @@ class F {
478
489
  },
479
490
  parts: s
480
491
  } = this._$AD,
481
- e = (t?.creationScope ?? w).importNode(i, !0);
482
- I.currentNode = e;
483
- let h = I.nextNode(),
492
+ e = (t?.creationScope ?? r$2).importNode(i, !0);
493
+ C.currentNode = e;
494
+ let h = C.nextNode(),
484
495
  o = 0,
485
496
  n = 0,
486
- r = s[0];
487
- for (; void 0 !== r;) {
488
- if (o === r.index) {
497
+ l = s[0];
498
+ for (; void 0 !== l;) {
499
+ if (o === l.index) {
489
500
  let i;
490
- 2 === r.type ? i = new et(h, h.nextSibling, this, t) : 1 === r.type ? i = new r.ctor(h, r.name, r.strings, this, t) : 6 === r.type && (i = new K(h, this, t)), this._$AV.push(i), r = s[++n];
501
+ 2 === l.type ? i = new R(h, h.nextSibling, this, t) : 1 === l.type ? i = new l.ctor(h, l.name, l.strings, this, t) : 6 === l.type && (i = new z(h, this, t)), this._$AV.push(i), l = s[++n];
491
502
  }
492
- o !== r?.index && (h = I.nextNode(), o++);
503
+ o !== l?.index && (h = C.nextNode(), o++);
493
504
  }
494
- return I.currentNode = w, e;
505
+ return C.currentNode = r$2, e;
495
506
  }
496
507
  p(t) {
497
508
  let i = 0;
498
509
  for (const s of this._$AV) void 0 !== s && (void 0 !== s.strings ? (s._$AI(t, s, i), i += s.strings.length - 2) : s._$AI(t[i])), i++;
499
510
  }
500
511
  }
501
- class et {
512
+ class R {
502
513
  get _$AU() {
503
- return this._$AM?._$AU ?? this.v;
514
+ return this._$AM?._$AU ?? this._$Cv;
504
515
  }
505
516
  constructor(t, i, s, e) {
506
- this.type = 2, this._$AH = D, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this.v = e?.isConnected ?? !0;
517
+ this.type = 2, this._$AH = E, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cv = e?.isConnected ?? !0;
507
518
  }
508
519
  get parentNode() {
509
520
  let t = this._$AA.parentNode;
@@ -517,7 +528,7 @@ class et {
517
528
  return this._$AB;
518
529
  }
519
530
  _$AI(t, i = this) {
520
- t = z(this, t, i), st(t) ? t === D || null == t || "" === t ? (this._$AH !== D && this._$AR(), this._$AH = D) : t !== this._$AH && t !== R && this._(t) : void 0 !== t._$litType$ ? this.$(t) : void 0 !== t.nodeType ? this.T(t) : $(t) ? this.k(t) : this._(t);
531
+ t = S(this, t, i), c(t) ? t === E || null == t || "" === t ? (this._$AH !== E && this._$AR(), this._$AH = E) : t !== this._$AH && t !== T && this._(t) : void 0 !== t._$litType$ ? this.$(t) : void 0 !== t.nodeType ? this.T(t) : u(t) ? this.k(t) : this._(t);
521
532
  }
522
533
  O(t) {
523
534
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -526,30 +537,30 @@ class et {
526
537
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
527
538
  }
528
539
  _(t) {
529
- this._$AH !== D && st(this._$AH) ? this._$AA.nextSibling.data = t : this.T(w.createTextNode(t)), this._$AH = t;
540
+ this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$2.createTextNode(t)), this._$AH = t;
530
541
  }
531
542
  $(t) {
532
543
  const {
533
544
  values: i,
534
545
  _$litType$: s
535
546
  } = t,
536
- e = "number" == typeof s ? this._$AC(t) : (void 0 === s.el && (s.el = B.createElement(N(s.h, s.h[0]), this.options)), s);
547
+ e = "number" == typeof s ? this._$AC(t) : (void 0 === s.el && (s.el = N.createElement(P(s.h, s.h[0]), this.options)), s);
537
548
  if (this._$AH?._$AD === e) this._$AH.p(i);else {
538
- const t = new F(e, this),
549
+ const t = new M(e, this),
539
550
  s = t.u(this.options);
540
551
  t.p(i), this.T(s), this._$AH = t;
541
552
  }
542
553
  }
543
554
  _$AC(t) {
544
- let i = V.get(t.strings);
545
- return void 0 === i && V.set(t.strings, i = new B(t)), i;
555
+ let i = A.get(t.strings);
556
+ return void 0 === i && A.set(t.strings, i = new N(t)), i;
546
557
  }
547
558
  k(t) {
548
- g(this._$AH) || (this._$AH = [], this._$AR());
559
+ a(this._$AH) || (this._$AH = [], this._$AR());
549
560
  const i = this._$AH;
550
561
  let s,
551
562
  e = 0;
552
- for (const h of t) e === i.length ? i.push(s = new et(this.O(lt()), this.O(lt()), this, this.options)) : s = i[e], s._$AI(h), e++;
563
+ for (const h of t) e === i.length ? i.push(s = new R(this.O(l()), this.O(l()), this, this.options)) : s = i[e], s._$AI(h), e++;
553
564
  e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);
554
565
  }
555
566
  _$AR(t = this._$AA.nextSibling, i) {
@@ -559,10 +570,10 @@ class et {
559
570
  }
560
571
  }
561
572
  setConnected(t) {
562
- void 0 === this._$AM && (this.v = t, this._$AP?.(t));
573
+ void 0 === this._$AM && (this._$Cv = t, this._$AP?.(t));
563
574
  }
564
575
  }
565
- class G {
576
+ class k {
566
577
  get tagName() {
567
578
  return this.element.tagName;
568
579
  }
@@ -570,54 +581,54 @@ class G {
570
581
  return this._$AM._$AU;
571
582
  }
572
583
  constructor(t, i, s, e, h) {
573
- this.type = 1, this._$AH = D, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = h, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = D;
584
+ this.type = 1, this._$AH = E, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = h, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = E;
574
585
  }
575
586
  _$AI(t, i = this, s, e) {
576
587
  const h = this.strings;
577
588
  let o = !1;
578
- if (void 0 === h) t = z(this, t, i, 0), o = !st(t) || t !== this._$AH && t !== R, o && (this._$AH = t);else {
589
+ if (void 0 === h) t = S(this, t, i, 0), o = !c(t) || t !== this._$AH && t !== T, o && (this._$AH = t);else {
579
590
  const e = t;
580
591
  let n, r;
581
- for (t = h[0], n = 0; n < h.length - 1; n++) r = z(this, e[s + n], i, n), r === R && (r = this._$AH[n]), o ||= !st(r) || r !== this._$AH[n], r === D ? t = D : t !== D && (t += (r ?? "") + h[n + 1]), this._$AH[n] = r;
592
+ for (t = h[0], n = 0; n < h.length - 1; n++) r = S(this, e[s + n], i, n), r === T && (r = this._$AH[n]), o ||= !c(r) || r !== this._$AH[n], r === E ? t = E : t !== E && (t += (r ?? "") + h[n + 1]), this._$AH[n] = r;
582
593
  }
583
594
  o && !e && this.j(t);
584
595
  }
585
596
  j(t) {
586
- t === D ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
597
+ t === E ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
587
598
  }
588
599
  }
589
- class Y extends G {
600
+ class H extends k {
590
601
  constructor() {
591
602
  super(...arguments), this.type = 3;
592
603
  }
593
604
  j(t) {
594
- this.element[this.name] = t === D ? void 0 : t;
605
+ this.element[this.name] = t === E ? void 0 : t;
595
606
  }
596
607
  }
597
- class Z extends G {
608
+ class I extends k {
598
609
  constructor() {
599
610
  super(...arguments), this.type = 4;
600
611
  }
601
612
  j(t) {
602
- this.element.toggleAttribute(this.name, !!t && t !== D);
613
+ this.element.toggleAttribute(this.name, !!t && t !== E);
603
614
  }
604
615
  }
605
- class q extends G {
616
+ class L extends k {
606
617
  constructor(t, i, s, e, h) {
607
618
  super(t, i, s, e, h), this.type = 5;
608
619
  }
609
620
  _$AI(t, i = this) {
610
- if ((t = z(this, t, i, 0) ?? D) === R) return;
621
+ if ((t = S(this, t, i, 0) ?? E) === T) return;
611
622
  const s = this._$AH,
612
- e = t === D && s !== D || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive,
613
- h = t !== D && (s === D || e);
623
+ e = t === E && s !== E || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive,
624
+ h = t !== E && (s === E || e);
614
625
  e && this.element.removeEventListener(this.name, this, s), h && this.element.addEventListener(this.name, this, t), this._$AH = t;
615
626
  }
616
627
  handleEvent(t) {
617
628
  "function" == typeof this._$AH ? this._$AH.call(this.options?.host ?? this.element, t) : this._$AH.handleEvent(t);
618
629
  }
619
630
  }
620
- class K {
631
+ class z {
621
632
  constructor(t, i, s) {
622
633
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
623
634
  }
@@ -625,17 +636,17 @@ class K {
625
636
  return this._$AM._$AU;
626
637
  }
627
638
  _$AI(t) {
628
- z(this, t);
639
+ S(this, t);
629
640
  }
630
641
  }
631
- const Re = n$1.litHtmlPolyfillSupport;
632
- Re?.(B, et), (n$1.litHtmlVersions ??= []).push("3.2.0");
633
- const Q = (t, i, s) => {
642
+ const j = t.litHtmlPolyfillSupport;
643
+ j?.(N, R), (t.litHtmlVersions ??= []).push("3.3.0");
644
+ const B = (t, i, s) => {
634
645
  const e = s?.renderBefore ?? i;
635
646
  let h = e._$litPart$;
636
647
  if (void 0 === h) {
637
648
  const t = s?.renderBefore ?? null;
638
- e._$litPart$ = h = new et(i.insertBefore(lt(), t), t, void 0, s ?? {});
649
+ e._$litPart$ = h = new R(i.insertBefore(l(), t), t, void 0, s ?? {});
639
650
  }
640
651
  return h._$AI(t), h;
641
652
  };
@@ -645,38 +656,39 @@ const Q = (t, i, s) => {
645
656
  * Copyright 2017 Google LLC
646
657
  * SPDX-License-Identifier: BSD-3-Clause
647
658
  */
648
- class h extends b {
659
+ const s = globalThis;
660
+ class i extends y$1 {
649
661
  constructor() {
650
662
  super(...arguments), this.renderOptions = {
651
663
  host: this
652
- }, this.o = void 0;
664
+ }, this._$Do = void 0;
653
665
  }
654
666
  createRenderRoot() {
655
667
  const t = super.createRenderRoot();
656
668
  return this.renderOptions.renderBefore ??= t.firstChild, t;
657
669
  }
658
670
  update(t) {
659
- const e = this.render();
660
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this.o = Q(e, this.renderRoot, this.renderOptions);
671
+ const r = this.render();
672
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = B(r, this.renderRoot, this.renderOptions);
661
673
  }
662
674
  connectedCallback() {
663
- super.connectedCallback(), this.o?.setConnected(!0);
675
+ super.connectedCallback(), this._$Do?.setConnected(!0);
664
676
  }
665
677
  disconnectedCallback() {
666
- super.disconnectedCallback(), this.o?.setConnected(!1);
678
+ super.disconnectedCallback(), this._$Do?.setConnected(!1);
667
679
  }
668
680
  render() {
669
- return R;
681
+ return T;
670
682
  }
671
683
  }
672
- h._$litElement$ = !0, h["finalized"] = !0, globalThis.litElementHydrateSupport?.({
673
- LitElement: h
684
+ i._$litElement$ = !0, i["finalized"] = !0, s.litElementHydrateSupport?.({
685
+ LitElement: i
674
686
  });
675
- const f = globalThis.litElementPolyfillSupport;
676
- f?.({
677
- LitElement: h
687
+ const o$1 = s.litElementPolyfillSupport;
688
+ o$1?.({
689
+ LitElement: i
678
690
  });
679
- (globalThis.litElementVersions ??= []).push("4.1.0");
691
+ (s.litElementVersions ??= []).push("4.2.0");
680
692
 
681
693
  /**
682
694
  * @license
@@ -686,17 +698,17 @@ f?.({
686
698
  const o = {
687
699
  attribute: !0,
688
700
  type: String,
689
- converter: u,
701
+ converter: u$1,
690
702
  reflect: !1,
691
- hasChanged: f$2
703
+ hasChanged: f$1
692
704
  },
693
- r = (t = o, e, r) => {
705
+ r$1 = (t = o, e, r) => {
694
706
  const {
695
707
  kind: n,
696
708
  metadata: i
697
709
  } = r;
698
710
  let s = globalThis.litPropertyMetadata.get(i);
699
- if (void 0 === s && globalThis.litPropertyMetadata.set(i, s = new Map()), s.set(r.name, t), "accessor" === n) {
711
+ if (void 0 === s && globalThis.litPropertyMetadata.set(i, s = new Map()), "setter" === n && ((t = Object.create(t)).wrapped = !0), s.set(r.name, t), "accessor" === n) {
700
712
  const {
701
713
  name: o
702
714
  } = r;
@@ -706,7 +718,7 @@ const o = {
706
718
  e.set.call(this, r), this.requestUpdate(o, n, t);
707
719
  },
708
720
  init(e) {
709
- return void 0 !== e && this.P(o, void 0, t), e;
721
+ return void 0 !== e && this.C(o, void 0, t, e), e;
710
722
  }
711
723
  };
712
724
  }
@@ -722,53 +734,82 @@ const o = {
722
734
  throw Error("Unsupported decorator location: " + n);
723
735
  };
724
736
  function n(t) {
725
- return (e, o) => "object" == typeof o ? r(t, e, o) : ((t, e, o) => {
737
+ return (e, o) => "object" == typeof o ? r$1(t, e, o) : ((t, e, o) => {
726
738
  const r = e.hasOwnProperty(o);
727
- return e.constructor.createProperty(o, r ? {
728
- ...t,
729
- wrapped: !0
730
- } : t), r ? Object.getOwnPropertyDescriptor(e, o) : void 0;
739
+ return e.constructor.createProperty(o, t), r ? Object.getOwnPropertyDescriptor(e, o) : void 0;
731
740
  })(t, e, o);
732
741
  }
733
742
 
734
- class WidgetImage extends h {
743
+ /**
744
+ * @license
745
+ * Copyright 2017 Google LLC
746
+ * SPDX-License-Identifier: BSD-3-Clause
747
+ */
748
+ function r(r) {
749
+ return n({
750
+ ...r,
751
+ state: !0,
752
+ attribute: !1
753
+ });
754
+ }
755
+
756
+ class WidgetImage extends i {
735
757
  constructor() {
736
758
  super(...arguments);
737
- this.version = '1.1.3';
759
+ this.version = '1.1.5';
760
+ }
761
+ update(changedProperties) {
762
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
763
+ if (changedProperties.has('theme')) {
764
+ const cssTextColor = getComputedStyle(this).getPropertyValue('--re-text-color').trim();
765
+ const cssBgColor = getComputedStyle(this).getPropertyValue('--re-background-color').trim();
766
+ this.themeBgColor = cssBgColor || ((_b = (_a = this.theme) === null || _a === void 0 ? void 0 : _a.theme_object) === null || _b === void 0 ? void 0 : _b.backgroundColor);
767
+ this.themeTitleColor = cssTextColor || ((_f = (_e = (_d = (_c = this.theme) === null || _c === void 0 ? void 0 : _c.theme_object) === null || _d === void 0 ? void 0 : _d.title) === null || _e === void 0 ? void 0 : _e.textStyle) === null || _f === void 0 ? void 0 : _f.color);
768
+ this.themeSubtitleColor =
769
+ cssTextColor || ((_k = (_j = (_h = (_g = this.theme) === null || _g === void 0 ? void 0 : _g.theme_object) === null || _h === void 0 ? void 0 : _h.title) === null || _j === void 0 ? void 0 : _j.subtextStyle) === null || _k === void 0 ? void 0 : _k.color) || this.themeTitleColor;
770
+ }
771
+ super.update(changedProperties);
738
772
  }
739
773
  render() {
740
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5;
741
- if ((_b = (_a = this.inputData) === null || _a === void 0 ? void 0 : _a.title) === null || _b === void 0 ? void 0 : _b.color)
742
- this.style.setProperty('--re-user-h2-color', (_d = (_c = this.inputData) === null || _c === void 0 ? void 0 : _c.title) === null || _d === void 0 ? void 0 : _d.color);
743
- if ((_f = (_e = this.inputData) === null || _e === void 0 ? void 0 : _e.subTitle) === null || _f === void 0 ? void 0 : _f.color)
744
- this.style.setProperty('--re-user-p-color', (_h = (_g = this.inputData) === null || _g === void 0 ? void 0 : _g.subTitle) === null || _h === void 0 ? void 0 : _h.color);
745
- return ke `
746
- <div class="wrapper">
774
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10;
775
+ return x `
776
+ <div class="wrapper" style="background-color: ${this.themeBgColor}">
747
777
  <h3
748
778
  class="paging"
749
- ?active=${(_k = (_j = this.inputData) === null || _j === void 0 ? void 0 : _j.title) === null || _k === void 0 ? void 0 : _k.text}
750
- style="font-size: ${(_m = (_l = this.inputData) === null || _l === void 0 ? void 0 : _l.title) === null || _m === void 0 ? void 0 : _m.fontSize};
751
- font-weight: ${(_p = (_o = this.inputData) === null || _o === void 0 ? void 0 : _o.title) === null || _p === void 0 ? void 0 : _p.fontWeight};
752
- background-color: ${(_r = (_q = this.inputData) === null || _q === void 0 ? void 0 : _q.title) === null || _r === void 0 ? void 0 : _r.backgroundColor};"
779
+ ?active=${(_b = (_a = this.inputData) === null || _a === void 0 ? void 0 : _a.title) === null || _b === void 0 ? void 0 : _b.text}
780
+ style="font-size: ${(_d = (_c = this.inputData) === null || _c === void 0 ? void 0 : _c.title) === null || _d === void 0 ? void 0 : _d.fontSize};
781
+ font-weight: ${(_f = (_e = this.inputData) === null || _e === void 0 ? void 0 : _e.title) === null || _f === void 0 ? void 0 : _f.fontWeight};
782
+ background-color: ${(_h = (_g = this.inputData) === null || _g === void 0 ? void 0 : _g.title) === null || _h === void 0 ? void 0 : _h.backgroundColor};
783
+ color: ${(_l = (_k = (_j = this.inputData) === null || _j === void 0 ? void 0 : _j.title) === null || _k === void 0 ? void 0 : _k.color) !== null && _l !== void 0 ? _l : this.themeTitleColor};"
753
784
  >
754
- ${(_t = (_s = this.inputData) === null || _s === void 0 ? void 0 : _s.title) === null || _t === void 0 ? void 0 : _t.text}
785
+ ${(_o = (_m = this.inputData) === null || _m === void 0 ? void 0 : _m.title) === null || _o === void 0 ? void 0 : _o.text}
755
786
  </h3>
756
787
  <p
757
788
  class="paging"
758
- ?active=${(_v = (_u = this.inputData) === null || _u === void 0 ? void 0 : _u.subTitle) === null || _v === void 0 ? void 0 : _v.text}
759
- style="font-size: ${(_x = (_w = this.inputData) === null || _w === void 0 ? void 0 : _w.subTitle) === null || _x === void 0 ? void 0 : _x.fontSize}; font-weight: ${(_z = (_y = this.inputData) === null || _y === void 0 ? void 0 : _y.subTitle) === null || _z === void 0 ? void 0 : _z.fontWeight};"
789
+ ?active=${(_q = (_p = this.inputData) === null || _p === void 0 ? void 0 : _p.subTitle) === null || _q === void 0 ? void 0 : _q.text}
790
+ style="font-size: ${(_s = (_r = this.inputData) === null || _r === void 0 ? void 0 : _r.subTitle) === null || _s === void 0 ? void 0 : _s.fontSize};
791
+ font-weight: ${(_u = (_t = this.inputData) === null || _t === void 0 ? void 0 : _t.subTitle) === null || _u === void 0 ? void 0 : _u.fontWeight};
792
+ color: ${(_x = (_w = (_v = this.inputData) === null || _v === void 0 ? void 0 : _v.subTitle) === null || _w === void 0 ? void 0 : _w.color) !== null && _x !== void 0 ? _x : this.themeSubtitleColor};"
760
793
  >
761
- ${(_1 = (_0 = this.inputData) === null || _0 === void 0 ? void 0 : _0.subTitle) === null || _1 === void 0 ? void 0 : _1.text}
794
+ ${(_z = (_y = this.inputData) === null || _y === void 0 ? void 0 : _y.subTitle) === null || _z === void 0 ? void 0 : _z.text}
762
795
  </p>
763
- <div class="paging no-data" ?active=${!((_2 = this.inputData) === null || _2 === void 0 ? void 0 : _2.imageLink)}>No Image</div>
764
- <div class="img-container paging" ?active="${(_3 = this.inputData) === null || _3 === void 0 ? void 0 : _3.imageLink}">
765
- <img src="${(_5 = (_4 = this.inputData) === null || _4 === void 0 ? void 0 : _4.imageLink) !== null && _5 !== void 0 ? _5 : ''}" alt="Image Widget" />
796
+ <div
797
+ class="paging no-data"
798
+ ?active=${!((_0 = this.inputData) === null || _0 === void 0 ? void 0 : _0.imageLink)}
799
+ style="font-size: ${(_2 = (_1 = this.inputData) === null || _1 === void 0 ? void 0 : _1.title) === null || _2 === void 0 ? void 0 : _2.fontSize};
800
+ font-weight: ${(_4 = (_3 = this.inputData) === null || _3 === void 0 ? void 0 : _3.title) === null || _4 === void 0 ? void 0 : _4.fontWeight};
801
+ color: ${(_7 = (_6 = (_5 = this.inputData) === null || _5 === void 0 ? void 0 : _5.title) === null || _6 === void 0 ? void 0 : _6.color) !== null && _7 !== void 0 ? _7 : this.themeTitleColor};"
802
+ >
803
+ No Image
804
+ </div>
805
+ <div class="img-container paging" ?active="${(_8 = this.inputData) === null || _8 === void 0 ? void 0 : _8.imageLink}">
806
+ <img src="${(_10 = (_9 = this.inputData) === null || _9 === void 0 ? void 0 : _9.imageLink) !== null && _10 !== void 0 ? _10 : ''}" alt="Image Widget" />
766
807
  </div>
767
808
  </div>
768
809
  `;
769
810
  }
770
811
  }
771
- WidgetImage.styles = i$1 `
812
+ WidgetImage.styles = i$3 `
772
813
  :host {
773
814
  display: block;
774
815
  font-family: sans-serif;
@@ -795,7 +836,6 @@ WidgetImage.styles = i$1 `
795
836
  overflow: hidden;
796
837
  text-overflow: ellipsis;
797
838
  white-space: nowrap;
798
- color: var(--re-text-color, #000) !important;
799
839
  }
800
840
  p {
801
841
  margin: 10px 0 0 0;
@@ -805,7 +845,6 @@ WidgetImage.styles = i$1 `
805
845
  overflow: hidden;
806
846
  text-overflow: ellipsis;
807
847
  white-space: nowrap;
808
- color: var(--re-text-color, #000) !important;
809
848
  }
810
849
 
811
850
  .img-container {
@@ -821,7 +860,6 @@ WidgetImage.styles = i$1 `
821
860
  }
822
861
  .no-data {
823
862
  font-size: 20px;
824
- color: var(--re-text-color, #000);
825
863
  display: flex;
826
864
  height: 100%;
827
865
  width: 100%;
@@ -833,7 +871,19 @@ WidgetImage.styles = i$1 `
833
871
  __decorate([
834
872
  n({ type: Object })
835
873
  ], WidgetImage.prototype, "inputData", void 0);
836
- window.customElements.define('widget-image-1.1.3', WidgetImage);
874
+ __decorate([
875
+ n({ type: Object })
876
+ ], WidgetImage.prototype, "theme", void 0);
877
+ __decorate([
878
+ r()
879
+ ], WidgetImage.prototype, "themeBgColor", void 0);
880
+ __decorate([
881
+ r()
882
+ ], WidgetImage.prototype, "themeTitleColor", void 0);
883
+ __decorate([
884
+ r()
885
+ ], WidgetImage.prototype, "themeSubtitleColor", void 0);
886
+ window.customElements.define('widget-image-1.1.5', WidgetImage);
837
887
 
838
888
  export { WidgetImage };
839
889
  //# sourceMappingURL=widget-image.js.map