@everymatrix/player-account-controller-nd 1.53.12 → 1.54.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/components/{GeneralLogout-3tCkYOBy.js → GeneralLogout-BtWyed39.js} +1131 -1094
  2. package/components/GeneralLogout-DfI2_eQe.cjs +8 -0
  3. package/components/{PlayerAccountBettingHistory-DAOgOPGf.js → PlayerAccountBettingHistory-jlr-NObV.js} +35 -34
  4. package/components/PlayerAccountBettingHistory-ldAp8-yN.cjs +1 -0
  5. package/components/{PlayerAccountBiometrics-sCg1trpD.js → PlayerAccountBiometrics-C54a7r-9.js} +1 -1
  6. package/components/PlayerAccountBiometrics-Cft2jzuJ.cjs +1 -0
  7. package/components/{PlayerAccountClosureNd-De5JqWgf.js → PlayerAccountClosureNd-BDFuLumd.js} +1 -1
  8. package/components/PlayerAccountClosureNd-BOdzF3ZS.cjs +1 -0
  9. package/components/PlayerAccountControllerNd-BZinIfCX.cjs +1 -0
  10. package/components/{PlayerAccountControllerNd-COEYGY9w.js → PlayerAccountControllerNd-C-2tav1W.js} +417 -400
  11. package/components/{PlayerAccountGamingLimits-CqTz7Ici.js → PlayerAccountGamingLimits-11hMW47h.js} +3 -3
  12. package/components/PlayerAccountGamingLimits-EQC_UZag.cjs +1 -0
  13. package/components/PlayerAccountGamingLimitsConfirmationModal-Ciz1fSFW.cjs +1 -0
  14. package/components/{PlayerAccountGamingLimitsConfirmationModal-BjoIf8Bc.js → PlayerAccountGamingLimitsConfirmationModal-D-CsaFkg.js} +1 -1
  15. package/components/{PlayerAccountGamingLimitsGroupEdit-DAdNIZpE.js → PlayerAccountGamingLimitsGroupEdit-CGnoaPKg.js} +16 -16
  16. package/components/PlayerAccountGamingLimitsGroupEdit-CLjUmEQv.cjs +10 -0
  17. package/components/{PlayerAccountGamingLimitsHistory2Nd-DhHA1RpB.js → PlayerAccountGamingLimitsHistory2Nd-BEobV_rb.js} +133 -122
  18. package/components/PlayerAccountGamingLimitsHistory2Nd-ieMEHssX.cjs +1 -0
  19. package/components/PlayerAccountGamingLimitsInfoCard-Au2vobro.cjs +1 -0
  20. package/components/{PlayerAccountGamingLimitsInfoCard-Dm4s5EwR.js → PlayerAccountGamingLimitsInfoCard-BKjqkeZR.js} +4 -4
  21. package/components/PlayerAccountGamingLimitsPage2Gm16Nd-C_v3NfIe.cjs +21 -0
  22. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DKULeWa-.js → PlayerAccountGamingLimitsPage2Gm16Nd-S0iDe8or.js} +874 -843
  23. package/components/PlayerAccountGamingLimitsPopup-BtbGIQFb.cjs +1 -0
  24. package/components/{PlayerAccountGamingLimitsPopup-Df_x-yrG.js → PlayerAccountGamingLimitsPopup-gmuszZSb.js} +1 -1
  25. package/components/{PlayerAccountGamingLimitsWrapper2Nd-DQ3dr7To.js → PlayerAccountGamingLimitsWrapper2Nd-DLlx2k_P.js} +117 -111
  26. package/components/PlayerAccountGamingLimitsWrapper2Nd-_Ze6bW4r.cjs +1 -0
  27. package/components/{PlayerAccountGeneralConfirmationModal-Nvr-pqYF.js → PlayerAccountGeneralConfirmationModal-B_nnNCCl.js} +1 -1
  28. package/components/PlayerAccountGeneralConfirmationModal-xMxALug3.cjs +1 -0
  29. package/components/PlayerAccountMenuNd-B8H3so10.cjs +1 -0
  30. package/components/{PlayerAccountMenuNd-z4P33Khe.js → PlayerAccountMenuNd-t6hDlobb.js} +69 -68
  31. package/components/{PlayerAccountModal-BvKEdvD_.js → PlayerAccountModal-0zGW_PaL.js} +1 -1
  32. package/components/PlayerAccountModal-BitbPM3Z.cjs +1 -0
  33. package/components/{PlayerAccountNotifications-BFv2Nw_e.js → PlayerAccountNotifications-CnakmgwG.js} +1 -1
  34. package/components/PlayerAccountNotifications-DDu6ZWkh.cjs +1 -0
  35. package/components/PlayerAccountSelfExclusionNd-B5wR57a_.cjs +3828 -0
  36. package/components/{PlayerAccountSelfExclusionNd-D0XYPrl9.js → PlayerAccountSelfExclusionNd-D1bSwsQ2.js} +1572 -1488
  37. package/components/{PlayerAccountTimeout-rttX6IYz.js → PlayerAccountTimeout-BrmadDVi.js} +4 -4
  38. package/components/PlayerAccountTimeout-E-jDJfAE.cjs +1 -0
  39. package/components/PlayerActiveBonuses-BVQwAh2z.cjs +1 -0
  40. package/components/{PlayerActiveBonuses-LfCU2WnE.js → PlayerActiveBonuses-DuRJuBww.js} +120 -119
  41. package/components/{PlayerBonusCard-CbzYE1Iz.js → PlayerBonusCard-Cs7krVbC.js} +2 -2
  42. package/components/PlayerBonusCard-UTTIEBwb.cjs +1 -0
  43. package/components/PlayerBonusHistory-DDWO5PPl.cjs +1 -0
  44. package/components/{PlayerBonusHistory-D61Y7LPQ.js → PlayerBonusHistory-Dw5CWQDm.js} +53 -53
  45. package/components/{PlayerChangePassword-CtlTmVcf.js → PlayerChangePassword-BkjAcj4x.js} +1 -1
  46. package/components/PlayerChangePassword-XpKJjnFu.cjs +3 -0
  47. package/components/{PlayerDeposit-_rTfbSEr.js → PlayerDeposit-D5fEWazq.js} +1 -1
  48. package/components/PlayerDeposit-Do7vb_4b.cjs +1 -0
  49. package/components/PlayerGamingHistory-CJOG_M6n.cjs +1 -0
  50. package/components/{PlayerGamingHistory-szc4XDy6.js → PlayerGamingHistory-DaDCBXVi.js} +388 -375
  51. package/components/{PlayerPendingWithdrawals-BhEz708_.js → PlayerPendingWithdrawals--vyYysmT.js} +1 -1
  52. package/components/PlayerPendingWithdrawals-Bu2MOezw.cjs +1 -0
  53. package/components/{PlayerProfileInfo-BbyV3TvC.js → PlayerProfileInfo-CjhfS-zh.js} +549 -532
  54. package/components/PlayerProfileInfo-lMeb2jBi.cjs +1 -0
  55. package/components/{PlayerRealityCheck-DMRjX5t_.js → PlayerRealityCheck-BVS-ZwGk.js} +191 -175
  56. package/components/PlayerRealityCheck-CA0P_3BC.cjs +1 -0
  57. package/components/PlayerTransactionHistory-CvZcvyBx.cjs +1 -0
  58. package/components/{PlayerTransactionHistory-C4ne-FLe.js → PlayerTransactionHistory-Dd5Xk8dK.js} +1 -1
  59. package/components/PlayerWithdrawal-DxLwjX7x.cjs +1 -0
  60. package/components/{PlayerWithdrawal-Bn5jvB2N.js → PlayerWithdrawal-ZUk_jlsP.js} +1 -1
  61. package/es2015/player-account-controller-nd.cjs +1 -0
  62. package/es2015/player-account-controller-nd.js +16 -0
  63. package/package.json +33 -12
  64. package/stencil/active-mixin-59dfae2a-1hMz67mM.cjs +1519 -0
  65. package/stencil/{active-mixin-59dfae2a-BphP4pp5.js → active-mixin-59dfae2a-CJN1Jc-g.js} +776 -745
  66. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  67. package/stencil/{checkbox-group-input_9-CMFoK7_E.js → checkbox-group-input_9-DQoOMgN8.js} +1942 -1873
  68. package/stencil/checkbox-group-input_9-DiXERGqn.cjs +4193 -0
  69. package/stencil/{general-input-DnFPstQP.js → general-input-bzWxIJkt.js} +1 -1
  70. package/stencil/general-input-fzGwoSoE.cjs +1 -0
  71. package/stencil/index-062e829b-CpXLBOEz.cjs +1 -0
  72. package/stencil/{index-062e829b-DAFsZs6D.js → index-062e829b-DPj_pEuI.js} +236 -220
  73. package/stencil/index-Dyvby5gX.cjs +1 -0
  74. package/stencil/locale-B5abSHU_.cjs +1 -0
  75. package/stencil/password-input_2-DvDzz75b.cjs +1248 -0
  76. package/stencil/{password-input_2-Bb9Q6Fe0.js → password-input_2-Dx1lICIg.js} +154 -136
  77. package/stencil/player-change-password-gm2-98dcb7bc-CCEw2GA2.cjs +1 -0
  78. package/stencil/{player-change-password-gm2-98dcb7bc-gLcZhl3S.js → player-change-password-gm2-98dcb7bc-F9HM0T8d.js} +1 -1
  79. package/stencil/player-change-password-gm2-Cer2RaBb.cjs +1 -0
  80. package/stencil/player-change-password-gm2-Do4_2F3u.js +25 -0
  81. package/stencil/{toggle-checkbox-input-CCLW6-uK.js → toggle-checkbox-input-BCrxxTpc.js} +1 -1
  82. package/stencil/toggle-checkbox-input-BYoIi-jG.cjs +1 -0
  83. package/stencil/tooltipIcon-ee9760a8-Bd9l1O5C.cjs +1 -0
  84. package/esnext/player-account-controller-nd.js +0 -14
  85. package/stencil/player-change-password-gm2-sVfmFhoT.js +0 -7
@@ -1,9 +1,37 @@
1
+ var Ws = Object.defineProperty, Ks = Object.defineProperties;
2
+ var Js = Object.getOwnPropertyDescriptors;
3
+ var ei = Object.getOwnPropertySymbols;
4
+ var Gs = Object.prototype.hasOwnProperty, Xs = Object.prototype.propertyIsEnumerable;
5
+ var ti = (i, e, t) => e in i ? Ws(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, Ve = (i, e) => {
6
+ for (var t in e || (e = {}))
7
+ Gs.call(e, t) && ti(i, t, e[t]);
8
+ if (ei)
9
+ for (var t of ei(e))
10
+ Xs.call(e, t) && ti(i, t, e[t]);
11
+ return i;
12
+ }, je = (i, e) => Ks(i, Js(e));
13
+ var qe = (i, e, t) => new Promise((n, s) => {
14
+ var r = (l) => {
15
+ try {
16
+ a(t.next(l));
17
+ } catch (d) {
18
+ s(d);
19
+ }
20
+ }, o = (l) => {
21
+ try {
22
+ a(t.throw(l));
23
+ } catch (d) {
24
+ s(d);
25
+ }
26
+ }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(r, o);
27
+ a((t = t.apply(i, e)).next());
28
+ });
1
29
  /**
2
30
  * @license
3
31
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
4
32
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
33
  */
6
- function Yi(i) {
34
+ function Xi(i) {
7
35
  const e = customElements.get(i.is);
8
36
  if (!e)
9
37
  customElements.define(i.is, i);
@@ -19,7 +47,7 @@ function Yi(i) {
19
47
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
20
48
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
21
49
  */
22
- class Bs extends HTMLElement {
50
+ class Zs extends HTMLElement {
23
51
  static get is() {
24
52
  return "vaadin-lumo-styles";
25
53
  }
@@ -27,24 +55,24 @@ class Bs extends HTMLElement {
27
55
  return "24.2.9";
28
56
  }
29
57
  }
30
- Yi(Bs);
58
+ Xi(Zs);
31
59
  /**
32
60
  * @license
33
61
  * Copyright 2019 Google LLC
34
62
  * SPDX-License-Identifier: BSD-3-Clause
35
63
  */
36
- const Ee = window, Tt = Ee.ShadowRoot && (Ee.ShadyCSS === void 0 || Ee.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Nt = Symbol(), Xt = /* @__PURE__ */ new WeakMap();
37
- class Ot {
64
+ const Ee = window, Mt = Ee.ShadowRoot && (Ee.ShadyCSS === void 0 || Ee.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, kt = Symbol(), ii = /* @__PURE__ */ new WeakMap();
65
+ class It {
38
66
  constructor(e, t, n) {
39
- if (this._$cssResult$ = !0, n !== Nt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
67
+ if (this._$cssResult$ = !0, n !== kt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
40
68
  this.cssText = e, this.t = t;
41
69
  }
42
70
  get styleSheet() {
43
71
  let e = this.o;
44
72
  const t = this.t;
45
- if (Tt && e === void 0) {
73
+ if (Mt && e === void 0) {
46
74
  const n = t !== void 0 && t.length === 1;
47
- n && (e = Xt.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), n && Xt.set(t, e));
75
+ n && (e = ii.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), n && ii.set(t, e));
48
76
  }
49
77
  return e;
50
78
  }
@@ -52,33 +80,33 @@ class Ot {
52
80
  return this.cssText;
53
81
  }
54
82
  }
55
- const Vs = (i) => new Ot(typeof i == "string" ? i : i + "", void 0, Nt), N = (i, ...e) => {
83
+ const Qs = (i) => new It(typeof i == "string" ? i : i + "", void 0, kt), N = (i, ...e) => {
56
84
  const t = i.length === 1 ? i[0] : e.reduce((n, s, r) => n + ((o) => {
57
85
  if (o._$cssResult$ === !0) return o.cssText;
58
86
  if (typeof o == "number") return o;
59
87
  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.");
60
88
  })(s) + i[r + 1], i[0]);
61
- return new Ot(t, i, Nt);
62
- }, js = (i, e) => {
63
- Tt ? i.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet) : e.forEach((t) => {
89
+ return new It(t, i, kt);
90
+ }, en = (i, e) => {
91
+ Mt ? i.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet) : e.forEach((t) => {
64
92
  const n = document.createElement("style"), s = Ee.litNonce;
65
93
  s !== void 0 && n.setAttribute("nonce", s), n.textContent = t.cssText, i.appendChild(n);
66
94
  });
67
- }, Zt = Tt ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((e) => {
95
+ }, si = Mt ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((e) => {
68
96
  let t = "";
69
97
  for (const n of e.cssRules) t += n.cssText;
70
- return Vs(t);
98
+ return Qs(t);
71
99
  })(i) : i;
72
100
  /**
73
101
  * @license
74
102
  * Copyright 2017 Google LLC
75
103
  * SPDX-License-Identifier: BSD-3-Clause
76
104
  */
77
- var Ve;
78
- const Se = window, Qt = Se.trustedTypes, qs = Qt ? Qt.emptyScript : "", ei = Se.reactiveElementPolyfillSupport, ut = { toAttribute(i, e) {
105
+ var Ye;
106
+ const Se = window, ni = Se.trustedTypes, tn = ni ? ni.emptyScript : "", ri = Se.reactiveElementPolyfillSupport, ft = { toAttribute(i, e) {
79
107
  switch (e) {
80
108
  case Boolean:
81
- i = i ? qs : null;
109
+ i = i ? tn : null;
82
110
  break;
83
111
  case Object:
84
112
  case Array:
@@ -98,12 +126,12 @@ const Se = window, Qt = Se.trustedTypes, qs = Qt ? Qt.emptyScript : "", ei = Se.
98
126
  case Array:
99
127
  try {
100
128
  t = JSON.parse(i);
101
- } catch {
129
+ } catch (n) {
102
130
  t = null;
103
131
  }
104
132
  }
105
133
  return t;
106
- } }, Wi = (i, e) => e !== i && (e == e || i == i), je = { attribute: !0, type: String, converter: ut, reflect: !1, hasChanged: Wi }, ct = "finalized";
134
+ } }, Zi = (i, e) => e !== i && (e == e || i == i), We = { attribute: !0, type: String, converter: ft, reflect: !1, hasChanged: Zi }, pt = "finalized";
107
135
  class B extends HTMLElement {
108
136
  constructor() {
109
137
  super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this._$Eu();
@@ -120,7 +148,7 @@ class B extends HTMLElement {
120
148
  s !== void 0 && (this._$Ev.set(s, n), e.push(s));
121
149
  }), e;
122
150
  }
123
- static createProperty(e, t = je) {
151
+ static createProperty(e, t = We) {
124
152
  if (t.state && (t.attribute = !1), this.finalize(), this.elementProperties.set(e, t), !t.noAccessor && !this.prototype.hasOwnProperty(e)) {
125
153
  const n = typeof e == "symbol" ? Symbol() : "__" + e, s = this.getPropertyDescriptor(e, n, t);
126
154
  s !== void 0 && Object.defineProperty(this.prototype, e, s);
@@ -135,11 +163,11 @@ class B extends HTMLElement {
135
163
  }, configurable: !0, enumerable: !0 };
136
164
  }
137
165
  static getPropertyOptions(e) {
138
- return this.elementProperties.get(e) || je;
166
+ return this.elementProperties.get(e) || We;
139
167
  }
140
168
  static finalize() {
141
- if (this.hasOwnProperty(ct)) return !1;
142
- this[ct] = !0;
169
+ if (this.hasOwnProperty(pt)) return !1;
170
+ this[pt] = !0;
143
171
  const e = Object.getPrototypeOf(this);
144
172
  if (e.finalize(), e.h !== void 0 && (this.h = [...e.h]), this.elementProperties = new Map(e.elementProperties), this._$Ev = /* @__PURE__ */ new Map(), this.hasOwnProperty("properties")) {
145
173
  const t = this.properties, n = [...Object.getOwnPropertyNames(t), ...Object.getOwnPropertySymbols(t)];
@@ -151,8 +179,8 @@ class B extends HTMLElement {
151
179
  const t = [];
152
180
  if (Array.isArray(e)) {
153
181
  const n = new Set(e.flat(1 / 0).reverse());
154
- for (const s of n) t.unshift(Zt(s));
155
- } else e !== void 0 && t.push(Zt(e));
182
+ for (const s of n) t.unshift(si(s));
183
+ } else e !== void 0 && t.push(si(e));
156
184
  return t;
157
185
  }
158
186
  static _$Ep(e, t) {
@@ -179,7 +207,7 @@ class B extends HTMLElement {
179
207
  createRenderRoot() {
180
208
  var e;
181
209
  const t = (e = this.shadowRoot) !== null && e !== void 0 ? e : this.attachShadow(this.constructor.shadowRootOptions);
182
- return js(t, this.constructor.elementStyles), t;
210
+ return en(t, this.constructor.elementStyles), t;
183
211
  }
184
212
  connectedCallback() {
185
213
  var e;
@@ -200,11 +228,11 @@ class B extends HTMLElement {
200
228
  attributeChangedCallback(e, t, n) {
201
229
  this._$AK(e, n);
202
230
  }
203
- _$EO(e, t, n = je) {
231
+ _$EO(e, t, n = We) {
204
232
  var s;
205
233
  const r = this.constructor._$Ep(e, n);
206
234
  if (r !== void 0 && n.reflect === !0) {
207
- const o = (((s = n.converter) === null || s === void 0 ? void 0 : s.toAttribute) !== void 0 ? n.converter : ut).toAttribute(t, n.type);
235
+ const o = (((s = n.converter) === null || s === void 0 ? void 0 : s.toAttribute) !== void 0 ? n.converter : ft).toAttribute(t, n.type);
208
236
  this._$El = e, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$El = null;
209
237
  }
210
238
  }
@@ -212,23 +240,25 @@ class B extends HTMLElement {
212
240
  var n;
213
241
  const s = this.constructor, r = s._$Ev.get(e);
214
242
  if (r !== void 0 && this._$El !== r) {
215
- const o = s.getPropertyOptions(r), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((n = o.converter) === null || n === void 0 ? void 0 : n.fromAttribute) !== void 0 ? o.converter : ut;
243
+ const o = s.getPropertyOptions(r), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((n = o.converter) === null || n === void 0 ? void 0 : n.fromAttribute) !== void 0 ? o.converter : ft;
216
244
  this._$El = r, this[r] = a.fromAttribute(t, o.type), this._$El = null;
217
245
  }
218
246
  }
219
247
  requestUpdate(e, t, n) {
220
248
  let s = !0;
221
- e !== void 0 && (((n = n || this.constructor.getPropertyOptions(e)).hasChanged || Wi)(this[e], t) ? (this._$AL.has(e) || this._$AL.set(e, t), n.reflect === !0 && this._$El !== e && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(e, n))) : s = !1), !this.isUpdatePending && s && (this._$E_ = this._$Ej());
249
+ e !== void 0 && (((n = n || this.constructor.getPropertyOptions(e)).hasChanged || Zi)(this[e], t) ? (this._$AL.has(e) || this._$AL.set(e, t), n.reflect === !0 && this._$El !== e && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(e, n))) : s = !1), !this.isUpdatePending && s && (this._$E_ = this._$Ej());
222
250
  }
223
- async _$Ej() {
224
- this.isUpdatePending = !0;
225
- try {
226
- await this._$E_;
227
- } catch (t) {
228
- Promise.reject(t);
229
- }
230
- const e = this.scheduleUpdate();
231
- return e != null && await e, !this.isUpdatePending;
251
+ _$Ej() {
252
+ return qe(this, null, function* () {
253
+ this.isUpdatePending = !0;
254
+ try {
255
+ yield this._$E_;
256
+ } catch (t) {
257
+ Promise.reject(t);
258
+ }
259
+ const e = this.scheduleUpdate();
260
+ return e != null && (yield e), !this.isUpdatePending;
261
+ });
232
262
  }
233
263
  scheduleUpdate() {
234
264
  return this.performUpdate();
@@ -278,38 +308,38 @@ class B extends HTMLElement {
278
308
  firstUpdated(e) {
279
309
  }
280
310
  }
281
- B[ct] = !0, B.elementProperties = /* @__PURE__ */ new Map(), B.elementStyles = [], B.shadowRootOptions = { mode: "open" }, ei?.({ ReactiveElement: B }), ((Ve = Se.reactiveElementVersions) !== null && Ve !== void 0 ? Ve : Se.reactiveElementVersions = []).push("1.6.3");
311
+ B[pt] = !0, B.elementProperties = /* @__PURE__ */ new Map(), B.elementStyles = [], B.shadowRootOptions = { mode: "open" }, ri == null || ri({ ReactiveElement: B }), ((Ye = Se.reactiveElementVersions) !== null && Ye !== void 0 ? Ye : Se.reactiveElementVersions = []).push("1.6.3");
282
312
  /**
283
313
  * @license
284
314
  * Copyright 2017 Google LLC
285
315
  * SPDX-License-Identifier: BSD-3-Clause
286
316
  */
287
- var qe;
288
- const Te = window, W = Te.trustedTypes, ti = W ? W.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, ht = "$lit$", $ = `lit$${(Math.random() + "").slice(9)}$`, Ki = "?" + $, Ys = `<${Ki}>`, z = document, ae = () => z.createComment(""), le = (i) => i === null || typeof i != "object" && typeof i != "function", Ji = Array.isArray, Ws = (i) => Ji(i) || typeof i?.[Symbol.iterator] == "function", Ye = `[
289
- \f\r]`, Q = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ii = /-->/g, si = />/g, O = RegExp(`>|${Ye}(?:([^\\s"'>=/]+)(${Ye}*=${Ye}*(?:[^
290
- \f\r"'\`<>=]|("|')|))|$)`, "g"), ni = /'/g, ri = /"/g, Gi = /^(?:script|style|textarea|title)$/i, K = Symbol.for("lit-noChange"), g = Symbol.for("lit-nothing"), oi = /* @__PURE__ */ new WeakMap(), k = z.createTreeWalker(z, 129, null, !1);
291
- function Xi(i, e) {
317
+ var Ke;
318
+ const Te = window, W = Te.trustedTypes, oi = W ? W.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, _t = "$lit$", $ = `lit$${(Math.random() + "").slice(9)}$`, Qi = "?" + $, sn = `<${Qi}>`, z = document, ae = () => z.createComment(""), le = (i) => i === null || typeof i != "object" && typeof i != "function", es = Array.isArray, nn = (i) => es(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", Je = `[
319
+ \f\r]`, Q = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ai = /-->/g, li = />/g, O = RegExp(`>|${Je}(?:([^\\s"'>=/]+)(${Je}*=${Je}*(?:[^
320
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), di = /'/g, ui = /"/g, ts = /^(?:script|style|textarea|title)$/i, K = Symbol.for("lit-noChange"), g = Symbol.for("lit-nothing"), ci = /* @__PURE__ */ new WeakMap(), k = z.createTreeWalker(z, 129, null, !1);
321
+ function is(i, e) {
292
322
  if (!Array.isArray(i) || !i.hasOwnProperty("raw")) throw Error("invalid template strings array");
293
- return ti !== void 0 ? ti.createHTML(e) : e;
323
+ return oi !== void 0 ? oi.createHTML(e) : e;
294
324
  }
295
- const Ks = (i, e) => {
325
+ const rn = (i, e) => {
296
326
  const t = i.length - 1, n = [];
297
327
  let s, r = e === 2 ? "<svg>" : "", o = Q;
298
328
  for (let a = 0; a < t; a++) {
299
329
  const l = i[a];
300
330
  let d, u, c = -1, h = 0;
301
- for (; h < l.length && (o.lastIndex = h, u = o.exec(l), u !== null); ) h = o.lastIndex, o === Q ? u[1] === "!--" ? o = ii : u[1] !== void 0 ? o = si : u[2] !== void 0 ? (Gi.test(u[2]) && (s = RegExp("</" + u[2], "g")), o = O) : u[3] !== void 0 && (o = O) : o === O ? u[0] === ">" ? (o = s ?? Q, c = -1) : u[1] === void 0 ? c = -2 : (c = o.lastIndex - u[2].length, d = u[1], o = u[3] === void 0 ? O : u[3] === '"' ? ri : ni) : o === ri || o === ni ? o = O : o === ii || o === si ? o = Q : (o = O, s = void 0);
331
+ for (; h < l.length && (o.lastIndex = h, u = o.exec(l), u !== null); ) h = o.lastIndex, o === Q ? u[1] === "!--" ? o = ai : u[1] !== void 0 ? o = li : u[2] !== void 0 ? (ts.test(u[2]) && (s = RegExp("</" + u[2], "g")), o = O) : u[3] !== void 0 && (o = O) : o === O ? u[0] === ">" ? (o = s != null ? s : Q, c = -1) : u[1] === void 0 ? c = -2 : (c = o.lastIndex - u[2].length, d = u[1], o = u[3] === void 0 ? O : u[3] === '"' ? ui : di) : o === ui || o === di ? o = O : o === ai || o === li ? o = Q : (o = O, s = void 0);
302
332
  const f = o === O && i[a + 1].startsWith("/>") ? " " : "";
303
- r += o === Q ? l + Ys : c >= 0 ? (n.push(d), l.slice(0, c) + ht + l.slice(c) + $ + f) : l + $ + (c === -2 ? (n.push(void 0), a) : f);
333
+ r += o === Q ? l + sn : c >= 0 ? (n.push(d), l.slice(0, c) + _t + l.slice(c) + $ + f) : l + $ + (c === -2 ? (n.push(void 0), a) : f);
304
334
  }
305
- return [Xi(i, r + (i[t] || "<?>") + (e === 2 ? "</svg>" : "")), n];
335
+ return [is(i, r + (i[t] || "<?>") + (e === 2 ? "</svg>" : "")), n];
306
336
  };
307
337
  class de {
308
338
  constructor({ strings: e, _$litType$: t }, n) {
309
339
  let s;
310
340
  this.parts = [];
311
341
  let r = 0, o = 0;
312
- const a = e.length - 1, l = this.parts, [d, u] = Ks(e, t);
342
+ const a = e.length - 1, l = this.parts, [d, u] = rn(e, t);
313
343
  if (this.el = de.createElement(d, n), k.currentNode = this.el.content, t === 2) {
314
344
  const c = this.el.content, h = c.firstChild;
315
345
  h.remove(), c.append(...h.childNodes);
@@ -318,16 +348,16 @@ class de {
318
348
  if (s.nodeType === 1) {
319
349
  if (s.hasAttributes()) {
320
350
  const c = [];
321
- for (const h of s.getAttributeNames()) if (h.endsWith(ht) || h.startsWith($)) {
351
+ for (const h of s.getAttributeNames()) if (h.endsWith(_t) || h.startsWith($)) {
322
352
  const f = u[o++];
323
353
  if (c.push(h), f !== void 0) {
324
- const _ = s.getAttribute(f.toLowerCase() + ht).split($), m = /([.?@])?(.*)/.exec(f);
325
- l.push({ type: 1, index: r, name: m[2], strings: _, ctor: m[1] === "." ? Gs : m[1] === "?" ? Zs : m[1] === "@" ? Qs : Le });
354
+ const _ = s.getAttribute(f.toLowerCase() + _t).split($), m = /([.?@])?(.*)/.exec(f);
355
+ l.push({ type: 1, index: r, name: m[2], strings: _, ctor: m[1] === "." ? an : m[1] === "?" ? dn : m[1] === "@" ? un : Le });
326
356
  } else l.push({ type: 6, index: r });
327
357
  }
328
358
  for (const h of c) s.removeAttribute(h);
329
359
  }
330
- if (Gi.test(s.tagName)) {
360
+ if (ts.test(s.tagName)) {
331
361
  const c = s.textContent.split($), h = c.length - 1;
332
362
  if (h > 0) {
333
363
  s.textContent = W ? W.emptyScript : "";
@@ -335,7 +365,7 @@ class de {
335
365
  s.append(c[h], ae());
336
366
  }
337
367
  }
338
- } else if (s.nodeType === 8) if (s.data === Ki) l.push({ type: 2, index: r });
368
+ } else if (s.nodeType === 8) if (s.data === Qi) l.push({ type: 2, index: r });
339
369
  else {
340
370
  let c = -1;
341
371
  for (; (c = s.data.indexOf($, c + 1)) !== -1; ) l.push({ type: 7, index: r }), c += $.length - 1;
@@ -353,9 +383,9 @@ function J(i, e, t = i, n) {
353
383
  if (e === K) return e;
354
384
  let l = n !== void 0 ? (s = t._$Co) === null || s === void 0 ? void 0 : s[n] : t._$Cl;
355
385
  const d = le(e) ? void 0 : e._$litDirective$;
356
- return l?.constructor !== d && ((r = l?._$AO) === null || r === void 0 || r.call(l, !1), d === void 0 ? l = void 0 : (l = new d(i), l._$AT(i, t, n)), n !== void 0 ? ((o = (a = t)._$Co) !== null && o !== void 0 ? o : a._$Co = [])[n] = l : t._$Cl = l), l !== void 0 && (e = J(i, l._$AS(i, e.values), l, n)), e;
386
+ return (l == null ? void 0 : l.constructor) !== d && ((r = l == null ? void 0 : l._$AO) === null || r === void 0 || r.call(l, !1), d === void 0 ? l = void 0 : (l = new d(i), l._$AT(i, t, n)), n !== void 0 ? ((o = (a = t)._$Co) !== null && o !== void 0 ? o : a._$Co = [])[n] = l : t._$Cl = l), l !== void 0 && (e = J(i, l._$AS(i, e.values), l, n)), e;
357
387
  }
358
- class Js {
388
+ class on {
359
389
  constructor(e, t) {
360
390
  this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
361
391
  }
@@ -367,15 +397,15 @@ class Js {
367
397
  }
368
398
  u(e) {
369
399
  var t;
370
- const { el: { content: n }, parts: s } = this._$AD, r = ((t = e?.creationScope) !== null && t !== void 0 ? t : z).importNode(n, !0);
400
+ const { el: { content: n }, parts: s } = this._$AD, r = ((t = e == null ? void 0 : e.creationScope) !== null && t !== void 0 ? t : z).importNode(n, !0);
371
401
  k.currentNode = r;
372
402
  let o = k.nextNode(), a = 0, l = 0, d = s[0];
373
403
  for (; d !== void 0; ) {
374
404
  if (a === d.index) {
375
405
  let u;
376
- d.type === 2 ? u = new be(o, o.nextSibling, this, e) : d.type === 1 ? u = new d.ctor(o, d.name, d.strings, this, e) : d.type === 6 && (u = new en(o, this, e)), this._$AV.push(u), d = s[++l];
406
+ d.type === 2 ? u = new be(o, o.nextSibling, this, e) : d.type === 1 ? u = new d.ctor(o, d.name, d.strings, this, e) : d.type === 6 && (u = new cn(o, this, e)), this._$AV.push(u), d = s[++l];
377
407
  }
378
- a !== d?.index && (o = k.nextNode(), a++);
408
+ a !== (d == null ? void 0 : d.index) && (o = k.nextNode(), a++);
379
409
  }
380
410
  return k.currentNode = z, r;
381
411
  }
@@ -387,7 +417,7 @@ class Js {
387
417
  class be {
388
418
  constructor(e, t, n, s) {
389
419
  var r;
390
- this.type = 2, this._$AH = g, this._$AN = void 0, this._$AA = e, this._$AB = t, this._$AM = n, this.options = s, this._$Cp = (r = s?.isConnected) === null || r === void 0 || r;
420
+ this.type = 2, this._$AH = g, this._$AN = void 0, this._$AA = e, this._$AB = t, this._$AM = n, this.options = s, this._$Cp = (r = s == null ? void 0 : s.isConnected) === null || r === void 0 || r;
391
421
  }
392
422
  get _$AU() {
393
423
  var e, t;
@@ -396,7 +426,7 @@ class be {
396
426
  get parentNode() {
397
427
  let e = this._$AA.parentNode;
398
428
  const t = this._$AM;
399
- return t !== void 0 && e?.nodeType === 11 && (e = t.parentNode), e;
429
+ return t !== void 0 && (e == null ? void 0 : e.nodeType) === 11 && (e = t.parentNode), e;
400
430
  }
401
431
  get startNode() {
402
432
  return this._$AA;
@@ -405,7 +435,7 @@ class be {
405
435
  return this._$AB;
406
436
  }
407
437
  _$AI(e, t = this) {
408
- e = J(this, e, t), le(e) ? e === g || e == null || e === "" ? (this._$AH !== g && this._$AR(), this._$AH = g) : e !== this._$AH && e !== K && this._(e) : e._$litType$ !== void 0 ? this.g(e) : e.nodeType !== void 0 ? this.$(e) : Ws(e) ? this.T(e) : this._(e);
438
+ e = J(this, e, t), le(e) ? e === g || e == null || e === "" ? (this._$AH !== g && this._$AR(), this._$AH = g) : e !== this._$AH && e !== K && this._(e) : e._$litType$ !== void 0 ? this.g(e) : e.nodeType !== void 0 ? this.$(e) : nn(e) ? this.T(e) : this._(e);
409
439
  }
410
440
  k(e) {
411
441
  return this._$AA.parentNode.insertBefore(e, this._$AB);
@@ -418,19 +448,19 @@ class be {
418
448
  }
419
449
  g(e) {
420
450
  var t;
421
- const { values: n, _$litType$: s } = e, r = typeof s == "number" ? this._$AC(e) : (s.el === void 0 && (s.el = de.createElement(Xi(s.h, s.h[0]), this.options)), s);
451
+ const { values: n, _$litType$: s } = e, r = typeof s == "number" ? this._$AC(e) : (s.el === void 0 && (s.el = de.createElement(is(s.h, s.h[0]), this.options)), s);
422
452
  if (((t = this._$AH) === null || t === void 0 ? void 0 : t._$AD) === r) this._$AH.v(n);
423
453
  else {
424
- const o = new Js(r, this), a = o.u(this.options);
454
+ const o = new on(r, this), a = o.u(this.options);
425
455
  o.v(n), this.$(a), this._$AH = o;
426
456
  }
427
457
  }
428
458
  _$AC(e) {
429
- let t = oi.get(e.strings);
430
- return t === void 0 && oi.set(e.strings, t = new de(e)), t;
459
+ let t = ci.get(e.strings);
460
+ return t === void 0 && ci.set(e.strings, t = new de(e)), t;
431
461
  }
432
462
  T(e) {
433
- Ji(this._$AH) || (this._$AH = [], this._$AR());
463
+ es(this._$AH) || (this._$AH = [], this._$AR());
434
464
  const t = this._$AH;
435
465
  let n, s = 0;
436
466
  for (const r of e) s === t.length ? t.push(n = new be(this.k(ae()), this.k(ae()), this, this.options)) : n = t[s], n._$AI(r), s++;
@@ -465,15 +495,15 @@ class Le {
465
495
  else {
466
496
  const a = e;
467
497
  let l, d;
468
- for (e = r[0], l = 0; l < r.length - 1; l++) d = J(this, a[n + l], t, l), d === K && (d = this._$AH[l]), o || (o = !le(d) || d !== this._$AH[l]), d === g ? e = g : e !== g && (e += (d ?? "") + r[l + 1]), this._$AH[l] = d;
498
+ for (e = r[0], l = 0; l < r.length - 1; l++) d = J(this, a[n + l], t, l), d === K && (d = this._$AH[l]), o || (o = !le(d) || d !== this._$AH[l]), d === g ? e = g : e !== g && (e += (d != null ? d : "") + r[l + 1]), this._$AH[l] = d;
469
499
  }
470
500
  o && !s && this.j(e);
471
501
  }
472
502
  j(e) {
473
- e === g ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
503
+ e === g ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e != null ? e : "");
474
504
  }
475
505
  }
476
- class Gs extends Le {
506
+ class an extends Le {
477
507
  constructor() {
478
508
  super(...arguments), this.type = 3;
479
509
  }
@@ -481,16 +511,16 @@ class Gs extends Le {
481
511
  this.element[this.name] = e === g ? void 0 : e;
482
512
  }
483
513
  }
484
- const Xs = W ? W.emptyScript : "";
485
- class Zs extends Le {
514
+ const ln = W ? W.emptyScript : "";
515
+ class dn extends Le {
486
516
  constructor() {
487
517
  super(...arguments), this.type = 4;
488
518
  }
489
519
  j(e) {
490
- e && e !== g ? this.element.setAttribute(this.name, Xs) : this.element.removeAttribute(this.name);
520
+ e && e !== g ? this.element.setAttribute(this.name, ln) : this.element.removeAttribute(this.name);
491
521
  }
492
522
  }
493
- class Qs extends Le {
523
+ class un extends Le {
494
524
  constructor(e, t, n, s, r) {
495
525
  super(e, t, n, s, r), this.type = 5;
496
526
  }
@@ -505,7 +535,7 @@ class Qs extends Le {
505
535
  typeof this._$AH == "function" ? this._$AH.call((n = (t = this.options) === null || t === void 0 ? void 0 : t.host) !== null && n !== void 0 ? n : this.element, e) : this._$AH.handleEvent(e);
506
536
  }
507
537
  }
508
- class en {
538
+ class cn {
509
539
  constructor(e, t, n) {
510
540
  this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = n;
511
541
  }
@@ -516,15 +546,15 @@ class en {
516
546
  J(this, e);
517
547
  }
518
548
  }
519
- const ai = Te.litHtmlPolyfillSupport;
520
- ai?.(de, be), ((qe = Te.litHtmlVersions) !== null && qe !== void 0 ? qe : Te.litHtmlVersions = []).push("2.8.0");
521
- const tn = (i, e, t) => {
549
+ const hi = Te.litHtmlPolyfillSupport;
550
+ hi == null || hi(de, be), ((Ke = Te.litHtmlVersions) !== null && Ke !== void 0 ? Ke : Te.litHtmlVersions = []).push("2.8.0");
551
+ const hn = (i, e, t) => {
522
552
  var n, s;
523
- const r = (n = t?.renderBefore) !== null && n !== void 0 ? n : e;
553
+ const r = (n = t == null ? void 0 : t.renderBefore) !== null && n !== void 0 ? n : e;
524
554
  let o = r._$litPart$;
525
555
  if (o === void 0) {
526
- const a = (s = t?.renderBefore) !== null && s !== void 0 ? s : null;
527
- r._$litPart$ = o = new be(e.insertBefore(ae(), a), a, void 0, t ?? {});
556
+ const a = (s = t == null ? void 0 : t.renderBefore) !== null && s !== void 0 ? s : null;
557
+ r._$litPart$ = o = new be(e.insertBefore(ae(), a), a, void 0, t != null ? t : {});
528
558
  }
529
559
  return o._$AI(i), o;
530
560
  };
@@ -533,7 +563,7 @@ const tn = (i, e, t) => {
533
563
  * Copyright 2017 Google LLC
534
564
  * SPDX-License-Identifier: BSD-3-Clause
535
565
  */
536
- var We, Ke;
566
+ var Ge, Xe;
537
567
  class Ce extends B {
538
568
  constructor() {
539
569
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
@@ -545,7 +575,7 @@ class Ce extends B {
545
575
  }
546
576
  update(e) {
547
577
  const t = this.render();
548
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = tn(t, this.renderRoot, this.renderOptions);
578
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = hn(t, this.renderRoot, this.renderOptions);
549
579
  }
550
580
  connectedCallback() {
551
581
  var e;
@@ -559,16 +589,16 @@ class Ce extends B {
559
589
  return K;
560
590
  }
561
591
  }
562
- Ce.finalized = !0, Ce._$litElement$ = !0, (We = globalThis.litElementHydrateSupport) === null || We === void 0 || We.call(globalThis, { LitElement: Ce });
563
- const li = globalThis.litElementPolyfillSupport;
564
- li?.({ LitElement: Ce });
565
- ((Ke = globalThis.litElementVersions) !== null && Ke !== void 0 ? Ke : globalThis.litElementVersions = []).push("3.3.3");
592
+ Ce.finalized = !0, Ce._$litElement$ = !0, (Ge = globalThis.litElementHydrateSupport) === null || Ge === void 0 || Ge.call(globalThis, { LitElement: Ce });
593
+ const fi = globalThis.litElementPolyfillSupport;
594
+ fi == null || fi({ LitElement: Ce });
595
+ ((Xe = globalThis.litElementVersions) !== null && Xe !== void 0 ? Xe : globalThis.litElementVersions = []).push("3.3.3");
566
596
  /**
567
597
  * @license
568
598
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
569
599
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
570
600
  */
571
- const sn = (i) => class extends i {
601
+ const fn = (i) => class extends i {
572
602
  static get properties() {
573
603
  return {
574
604
  /**
@@ -607,60 +637,59 @@ const sn = (i) => class extends i {
607
637
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
608
638
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
609
639
  */
610
- const Zi = [];
611
- function Qi(i) {
640
+ const ss = [];
641
+ function ns(i) {
612
642
  return i && Object.prototype.hasOwnProperty.call(i, "__themes");
613
643
  }
614
- function nn(i) {
615
- return Qi(customElements.get(i));
644
+ function pn(i) {
645
+ return ns(customElements.get(i));
616
646
  }
617
- function rn(i = []) {
618
- return [i].flat(1 / 0).filter((e) => e instanceof Ot ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
647
+ function _n(i = []) {
648
+ return [i].flat(1 / 0).filter((e) => e instanceof It ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
619
649
  }
620
- function Mt(i, e, t = {}) {
621
- i && nn(i) && console.warn(`The custom element definition for "${i}"
650
+ function Dt(i, e, t = {}) {
651
+ i && pn(i) && console.warn(`The custom element definition for "${i}"
622
652
  was finalized before a style module was registered.
623
653
  Make sure to add component specific style modules before
624
- importing the corresponding custom element.`), e = rn(e), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(i, e, t) : Zi.push({
654
+ importing the corresponding custom element.`), e = _n(e), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(i, e, t) : ss.push({
625
655
  themeFor: i,
626
656
  styles: e,
627
657
  include: t.include,
628
658
  moduleId: t.moduleId
629
659
  });
630
660
  }
631
- function ft() {
632
- return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : Zi;
661
+ function mt() {
662
+ return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : ss;
633
663
  }
634
- function on(i, e) {
664
+ function mn(i, e) {
635
665
  return (i || "").split(" ").some((t) => new RegExp(`^${t.split("*").join(".*")}$`, "u").test(e));
636
666
  }
637
- function an(i = "") {
667
+ function gn(i = "") {
638
668
  let e = 0;
639
669
  return i.startsWith("lumo-") || i.startsWith("material-") ? e = 1 : i.startsWith("vaadin-") && (e = 2), e;
640
670
  }
641
- function es(i) {
671
+ function rs(i) {
642
672
  const e = [];
643
673
  return i.include && [].concat(i.include).forEach((t) => {
644
- const n = ft().find((s) => s.moduleId === t);
645
- n ? e.push(...es(n), ...n.styles) : console.warn(`Included moduleId ${t} not found in style registry`);
674
+ const n = mt().find((s) => s.moduleId === t);
675
+ n ? e.push(...rs(n), ...n.styles) : console.warn(`Included moduleId ${t} not found in style registry`);
646
676
  }, i.styles), e;
647
677
  }
648
- function ln(i, e) {
678
+ function yn(i, e) {
649
679
  const t = document.createElement("style");
650
680
  t.innerHTML = i.map((n) => n.cssText).join(`
651
681
  `), e.content.appendChild(t);
652
682
  }
653
- function dn(i) {
654
- const e = `${i}-default-theme`, t = ft().filter((n) => n.moduleId !== e && on(n.themeFor, i)).map((n) => ({
655
- ...n,
683
+ function bn(i) {
684
+ const e = `${i}-default-theme`, t = mt().filter((n) => n.moduleId !== e && mn(n.themeFor, i)).map((n) => je(Ve({}, n), {
656
685
  // Prepend styles from included themes
657
- styles: [...es(n), ...n.styles],
686
+ styles: [...rs(n), ...n.styles],
658
687
  // Map moduleId to includePriority
659
- includePriority: an(n.moduleId)
688
+ includePriority: gn(n.moduleId)
660
689
  })).sort((n, s) => s.includePriority - n.includePriority);
661
- return t.length > 0 ? t : ft().filter((n) => n.moduleId === e);
690
+ return t.length > 0 ? t : mt().filter((n) => n.moduleId === e);
662
691
  }
663
- const un = (i) => class extends sn(i) {
692
+ const vn = (i) => class extends fn(i) {
664
693
  /**
665
694
  * Covers PolymerElement based component styling
666
695
  * @protected
@@ -669,7 +698,7 @@ const un = (i) => class extends sn(i) {
669
698
  if (super.finalize(), this.elementStyles)
670
699
  return;
671
700
  const t = this.prototype._template;
672
- !t || Qi(this) || ln(this.getStylesForThis(), t);
701
+ !t || ns(this) || yn(this.getStylesForThis(), t);
673
702
  }
674
703
  /**
675
704
  * Covers LitElement based component styling
@@ -687,7 +716,7 @@ const un = (i) => class extends sn(i) {
687
716
  */
688
717
  static getStylesForThis() {
689
718
  const t = Object.getPrototypeOf(this.prototype), n = (t ? t.constructor.__themes : []) || [];
690
- this.__themes = [...n, ...dn(this.is)];
719
+ this.__themes = [...n, ...bn(this.is)];
691
720
  const s = this.__themes.flatMap((r) => r.styles);
692
721
  return s.filter((r, o) => o === s.lastIndexOf(r));
693
722
  }
@@ -697,19 +726,19 @@ const un = (i) => class extends sn(i) {
697
726
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
698
727
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
699
728
  */
700
- const cn = (i, ...e) => {
729
+ const wn = (i, ...e) => {
701
730
  const t = document.createElement("style");
702
731
  t.id = i, t.textContent = e.map((n) => n.toString()).join(`
703
732
  `).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", t);
704
733
  }, Re = (i, ...e) => {
705
- cn(`lumo-${i}`, e);
734
+ wn(`lumo-${i}`, e);
706
735
  };
707
736
  /**
708
737
  * @license
709
738
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
710
739
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
711
740
  */
712
- const hn = N`
741
+ const An = N`
713
742
  :host {
714
743
  /* Base (background) */
715
744
  --lumo-base-color: #fff;
@@ -795,8 +824,8 @@ const hn = N`
795
824
  }
796
825
  }
797
826
  `;
798
- Re("color-props", hn);
799
- const fn = N`
827
+ Re("color-props", An);
828
+ const En = N`
800
829
  [theme~='dark'] {
801
830
  /* Base (background) */
802
831
  --lumo-base-color: hsl(214, 35%, 21%);
@@ -912,13 +941,13 @@ const fn = N`
912
941
  border-radius: var(--lumo-border-radius-m);
913
942
  }
914
943
  `;
915
- Mt("", fn, { moduleId: "lumo-color" });
944
+ Dt("", En, { moduleId: "lumo-color" });
916
945
  /**
917
946
  * @license
918
947
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
919
948
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
920
949
  */
921
- const pn = N`
950
+ const Cn = N`
922
951
  :host {
923
952
  --lumo-size-xs: 1.625rem;
924
953
  --lumo-size-s: 1.875rem;
@@ -934,13 +963,13 @@ const pn = N`
934
963
  --lumo-icon-size: var(--lumo-icon-size-m);
935
964
  }
936
965
  `;
937
- Re("sizing-props", pn);
966
+ Re("sizing-props", Cn);
938
967
  /**
939
968
  * @license
940
969
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
941
970
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
942
971
  */
943
- const _n = N`
972
+ const xn = N`
944
973
  :host {
945
974
  /* Border radius */
946
975
  --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
@@ -965,13 +994,13 @@ N`
965
994
  --vaadin-input-field-border-radius: var(--lumo-border-radius-m);
966
995
  }
967
996
  `;
968
- Re("style-props", _n);
997
+ Re("style-props", xn);
969
998
  /**
970
999
  * @license
971
1000
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
972
1001
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
973
1002
  */
974
- const mn = N`
1003
+ const Pn = N`
975
1004
  :host {
976
1005
  /* prettier-ignore */
977
1006
  --lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
@@ -991,7 +1020,7 @@ const mn = N`
991
1020
  --lumo-line-height-s: 1.375;
992
1021
  --lumo-line-height-m: 1.625;
993
1022
  }
994
- `, gn = N`
1023
+ `, $n = N`
995
1024
  body,
996
1025
  :host {
997
1026
  font-family: var(--lumo-font-family);
@@ -1084,9 +1113,9 @@ const mn = N`
1084
1113
  border-right: 2px solid var(--lumo-contrast-30pct);
1085
1114
  }
1086
1115
  `;
1087
- Mt("", gn, { moduleId: "lumo-typography" });
1088
- Re("typography-props", mn);
1089
- Mt(
1116
+ Dt("", $n, { moduleId: "lumo-typography" });
1117
+ Re("typography-props", Pn);
1118
+ Dt(
1090
1119
  "vaadin-input-container",
1091
1120
  N`
1092
1121
  :host {
@@ -1279,32 +1308,32 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
1279
1308
  Code distributed by Google as part of the polymer project is also
1280
1309
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1281
1310
  */
1282
- let yn = /(url\()([^)]*)(\))/g, bn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, we, E;
1311
+ let Sn = /(url\()([^)]*)(\))/g, Tn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, we, E;
1283
1312
  function oe(i, e) {
1284
- if (i && bn.test(i) || i === "//")
1313
+ if (i && Tn.test(i) || i === "//")
1285
1314
  return i;
1286
1315
  if (we === void 0) {
1287
1316
  we = !1;
1288
1317
  try {
1289
1318
  const t = new URL("b", "http://a");
1290
1319
  t.pathname = "c%20d", we = t.href === "http://a/c%20d";
1291
- } catch {
1320
+ } catch (t) {
1292
1321
  }
1293
1322
  }
1294
1323
  if (e || (e = document.baseURI || window.location.href), we)
1295
1324
  try {
1296
1325
  return new URL(i, e).href;
1297
- } catch {
1326
+ } catch (t) {
1298
1327
  return i;
1299
1328
  }
1300
1329
  return E || (E = document.implementation.createHTMLDocument("temp"), E.base = E.createElement("base"), E.head.appendChild(E.base), E.anchor = E.createElement("a"), E.body.appendChild(E.anchor)), E.base.href = e, E.anchor.href = i, E.anchor.href || i;
1301
1330
  }
1302
- function kt(i, e) {
1303
- return i.replace(yn, function(t, n, s, r) {
1331
+ function Lt(i, e) {
1332
+ return i.replace(Sn, function(t, n, s, r) {
1304
1333
  return n + "'" + oe(s.replace(/["']/g, ""), e) + "'" + r;
1305
1334
  });
1306
1335
  }
1307
- function It(i) {
1336
+ function Rt(i) {
1308
1337
  return i.substring(0, i.lastIndexOf("/") + 1);
1309
1338
  }
1310
1339
  /**
@@ -1316,18 +1345,18 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
1316
1345
  Code distributed by Google as part of the polymer project is also
1317
1346
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1318
1347
  */
1319
- const vn = !window.ShadyDOM || !window.ShadyDOM.inUse, wn = vn && "adoptedStyleSheets" in Document.prototype && "replaceSync" in CSSStyleSheet.prototype && // Since spec may change, feature detect exact API we need
1348
+ const Nn = !window.ShadyDOM || !window.ShadyDOM.inUse, On = Nn && "adoptedStyleSheets" in Document.prototype && "replaceSync" in CSSStyleSheet.prototype && // Since spec may change, feature detect exact API we need
1320
1349
  (() => {
1321
1350
  try {
1322
1351
  const i = new CSSStyleSheet();
1323
1352
  i.replaceSync("");
1324
1353
  const e = document.createElement("div");
1325
1354
  return e.attachShadow({ mode: "open" }), e.shadowRoot.adoptedStyleSheets = [i], e.shadowRoot.adoptedStyleSheets[0] === i;
1326
- } catch {
1355
+ } catch (i) {
1327
1356
  return !1;
1328
1357
  }
1329
1358
  })();
1330
- let An = window.Polymer && window.Polymer.rootPath || It(document.baseURI || window.location.href), Ne = window.Polymer && window.Polymer.sanitizeDOMValue || void 0, pt = window.Polymer && window.Polymer.strictTemplatePolicy || !1, En = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, Cn = window.Polymer && window.Polymer.legacyOptimizations || !1, xn = window.Polymer && window.Polymer.legacyWarnings || !1, Pn = window.Polymer && window.Polymer.syncInitialRender || !1, _t = window.Polymer && window.Polymer.legacyUndefined || !1, $n = window.Polymer && window.Polymer.orderedComputed || !1, di = window.Polymer && window.Polymer.removeNestedTemplates || !1, Sn = window.Polymer && window.Polymer.fastDomIf || !1, Aa = window.Polymer && window.Polymer.suppressTemplateNotifications || !1, Tn = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
1359
+ let Mn = window.Polymer && window.Polymer.rootPath || Rt(document.baseURI || window.location.href), Ne = window.Polymer && window.Polymer.sanitizeDOMValue || void 0, gt = window.Polymer && window.Polymer.strictTemplatePolicy || !1, kn = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, In = window.Polymer && window.Polymer.legacyOptimizations || !1, Dn = window.Polymer && window.Polymer.legacyWarnings || !1, Ln = window.Polymer && window.Polymer.syncInitialRender || !1, yt = window.Polymer && window.Polymer.legacyUndefined || !1, Rn = window.Polymer && window.Polymer.orderedComputed || !1, pi = window.Polymer && window.Polymer.removeNestedTemplates || !1, zn = window.Polymer && window.Polymer.fastDomIf || !1, ka = window.Polymer && window.Polymer.suppressTemplateNotifications || !1, Hn = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
1331
1360
  /**
1332
1361
  @license
1333
1362
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -1337,14 +1366,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
1337
1366
  Code distributed by Google as part of the polymer project is also
1338
1367
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1339
1368
  */
1340
- let Nn = 0;
1369
+ let Un = 0;
1341
1370
  const b = function(i) {
1342
1371
  let e = (
1343
1372
  /** @type {!MixinFunction} */
1344
1373
  i.__mixinApplications
1345
1374
  );
1346
1375
  e || (e = /* @__PURE__ */ new WeakMap(), i.__mixinApplications = e);
1347
- let t = Nn++;
1376
+ let t = Un++;
1348
1377
  function n(s) {
1349
1378
  let r = (
1350
1379
  /** @type {!MixinFunction} */
@@ -1375,14 +1404,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
1375
1404
  Code distributed by Google as part of the polymer project is also
1376
1405
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1377
1406
  */
1378
- let Dt = {}, ts = {};
1379
- function ui(i, e) {
1380
- Dt[i] = ts[i.toLowerCase()] = e;
1407
+ let zt = {}, os = {};
1408
+ function _i(i, e) {
1409
+ zt[i] = os[i.toLowerCase()] = e;
1381
1410
  }
1382
- function ci(i) {
1383
- return Dt[i] || ts[i.toLowerCase()];
1411
+ function mi(i) {
1412
+ return zt[i] || os[i.toLowerCase()];
1384
1413
  }
1385
- function On(i) {
1414
+ function Fn(i) {
1386
1415
  i.querySelector("style") && console.warn("dom-module %s has style outside template", i.id);
1387
1416
  }
1388
1417
  class ue extends HTMLElement {
@@ -1403,7 +1432,7 @@ class ue extends HTMLElement {
1403
1432
  */
1404
1433
  static import(e, t) {
1405
1434
  if (e) {
1406
- let n = ci(e);
1435
+ let n = mi(e);
1407
1436
  return n && t ? n.querySelector(t) : n;
1408
1437
  }
1409
1438
  return null;
@@ -1438,7 +1467,7 @@ class ue extends HTMLElement {
1438
1467
  this.getAttribute("assetpath") || "",
1439
1468
  e.baseURI
1440
1469
  );
1441
- this.__assetpath = It(t);
1470
+ this.__assetpath = Rt(t);
1442
1471
  }
1443
1472
  return this.__assetpath;
1444
1473
  }
@@ -1451,13 +1480,13 @@ class ue extends HTMLElement {
1451
1480
  */
1452
1481
  register(e) {
1453
1482
  if (e = e || this.id, e) {
1454
- if (pt && ci(e) !== void 0)
1455
- throw ui(e, null), new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);
1456
- this.id = e, ui(e, this), On(this);
1483
+ if (gt && mi(e) !== void 0)
1484
+ throw _i(e, null), new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);
1485
+ this.id = e, _i(e, this), Fn(this);
1457
1486
  }
1458
1487
  }
1459
1488
  }
1460
- ue.prototype.modules = Dt;
1489
+ ue.prototype.modules = zt;
1461
1490
  customElements.define("dom-module", ue);
1462
1491
  /**
1463
1492
  @license
@@ -1468,39 +1497,39 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
1468
1497
  Code distributed by Google as part of the polymer project is also
1469
1498
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1470
1499
  */
1471
- const Mn = "link[rel=import][type~=css]", kn = "include", hi = "shady-unscoped";
1472
- function is(i) {
1500
+ const Bn = "link[rel=import][type~=css]", Vn = "include", gi = "shady-unscoped";
1501
+ function as(i) {
1473
1502
  return (
1474
1503
  /** @type {?DomModule} */
1475
1504
  ue.import(i)
1476
1505
  );
1477
1506
  }
1478
- function fi(i) {
1507
+ function yi(i) {
1479
1508
  let e = i.body ? i.body : i;
1480
- const t = kt(
1509
+ const t = Lt(
1481
1510
  e.textContent,
1482
1511
  i.baseURI
1483
1512
  ), n = document.createElement("style");
1484
1513
  return n.textContent = t, n;
1485
1514
  }
1486
- function In(i) {
1515
+ function jn(i) {
1487
1516
  const e = i.trim().split(/\s+/), t = [];
1488
1517
  for (let n = 0; n < e.length; n++)
1489
- t.push(...Dn(e[n]));
1518
+ t.push(...qn(e[n]));
1490
1519
  return t;
1491
1520
  }
1492
- function Dn(i) {
1493
- const e = is(i);
1521
+ function qn(i) {
1522
+ const e = as(i);
1494
1523
  if (!e)
1495
1524
  return console.warn("Could not find style data in module named", i), [];
1496
1525
  if (e._styles === void 0) {
1497
1526
  const t = [];
1498
- t.push(...ns(e));
1527
+ t.push(...ds(e));
1499
1528
  const n = (
1500
1529
  /** @type {?HTMLTemplateElement} */
1501
1530
  e.querySelector("template")
1502
1531
  );
1503
- n && t.push(...ss(
1532
+ n && t.push(...ls(
1504
1533
  n,
1505
1534
  /** @type {templateWithAssetPath} */
1506
1535
  e.assetpath
@@ -1508,14 +1537,14 @@ function Dn(i) {
1508
1537
  }
1509
1538
  return e._styles;
1510
1539
  }
1511
- function ss(i, e) {
1540
+ function ls(i, e) {
1512
1541
  if (!i._styles) {
1513
1542
  const t = [], n = i.content.querySelectorAll("style");
1514
1543
  for (let s = 0; s < n.length; s++) {
1515
- let r = n[s], o = r.getAttribute(kn);
1516
- o && t.push(...In(o).filter(function(a, l, d) {
1544
+ let r = n[s], o = r.getAttribute(Vn);
1545
+ o && t.push(...jn(o).filter(function(a, l, d) {
1517
1546
  return d.indexOf(a) === l;
1518
- })), e && (r.textContent = kt(
1547
+ })), e && (r.textContent = Lt(
1519
1548
  r.textContent,
1520
1549
  /** @type {string} */
1521
1550
  e
@@ -1525,20 +1554,20 @@ function ss(i, e) {
1525
1554
  }
1526
1555
  return i._styles;
1527
1556
  }
1528
- function Ln(i) {
1529
- let e = is(i);
1530
- return e ? ns(e) : [];
1557
+ function Yn(i) {
1558
+ let e = as(i);
1559
+ return e ? ds(e) : [];
1531
1560
  }
1532
- function ns(i) {
1533
- const e = [], t = i.querySelectorAll(Mn);
1561
+ function ds(i) {
1562
+ const e = [], t = i.querySelectorAll(Bn);
1534
1563
  for (let n = 0; n < t.length; n++) {
1535
1564
  let s = t[n];
1536
1565
  if (s.import) {
1537
- const r = s.import, o = s.hasAttribute(hi);
1566
+ const r = s.import, o = s.hasAttribute(gi);
1538
1567
  if (o && !r._unscopedStyle) {
1539
- const a = fi(r);
1540
- a.setAttribute(hi, ""), r._unscopedStyle = a;
1541
- } else r._style || (r._style = fi(r));
1568
+ const a = yi(r);
1569
+ a.setAttribute(gi, ""), r._unscopedStyle = a;
1570
+ } else r._style || (r._style = yi(r));
1542
1571
  e.push(o ? r._unscopedStyle : r._style);
1543
1572
  }
1544
1573
  }
@@ -1563,14 +1592,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
1563
1592
  Code distributed by Google as part of the polymer project is also
1564
1593
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1565
1594
  */
1566
- function mt(i) {
1595
+ function bt(i) {
1567
1596
  return i.indexOf(".") >= 0;
1568
1597
  }
1569
1598
  function U(i) {
1570
1599
  let e = i.indexOf(".");
1571
1600
  return e === -1 ? i : i.slice(0, e);
1572
1601
  }
1573
- function rs(i, e) {
1602
+ function us(i, e) {
1574
1603
  return i.indexOf(e + ".") === 0;
1575
1604
  }
1576
1605
  function ce(i, e) {
@@ -1579,8 +1608,8 @@ function ce(i, e) {
1579
1608
  function Oe(i, e, t) {
1580
1609
  return e + t.slice(i.length);
1581
1610
  }
1582
- function Ea(i, e) {
1583
- return i === e || rs(i, e) || ce(i, e);
1611
+ function Ia(i, e) {
1612
+ return i === e || us(i, e) || ce(i, e);
1584
1613
  }
1585
1614
  function ne(i) {
1586
1615
  if (Array.isArray(i)) {
@@ -1594,11 +1623,11 @@ function ne(i) {
1594
1623
  } else
1595
1624
  return i;
1596
1625
  }
1597
- function os(i) {
1626
+ function cs(i) {
1598
1627
  return Array.isArray(i) ? ne(i).split(".") : i.toString().split(".");
1599
1628
  }
1600
1629
  function v(i, e, t) {
1601
- let n = i, s = os(e);
1630
+ let n = i, s = cs(e);
1602
1631
  for (let r = 0; r < s.length; r++) {
1603
1632
  if (!n)
1604
1633
  return;
@@ -1607,8 +1636,8 @@ function v(i, e, t) {
1607
1636
  }
1608
1637
  return t && (t.path = s.join(".")), n;
1609
1638
  }
1610
- function pi(i, e, t) {
1611
- let n = i, s = os(e), r = s[s.length - 1];
1639
+ function bi(i, e, t) {
1640
+ let n = i, s = cs(e), r = s[s.length - 1];
1612
1641
  if (s.length > 1) {
1613
1642
  for (let o = 0; o < s.length - 1; o++) {
1614
1643
  let a = s[o];
@@ -1629,15 +1658,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
1629
1658
  Code distributed by Google as part of the polymer project is also
1630
1659
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1631
1660
  */
1632
- const Me = {}, Rn = /-[a-z]/g, zn = /([A-Z])/g;
1633
- function as(i) {
1661
+ const Me = {}, Wn = /-[a-z]/g, Kn = /([A-Z])/g;
1662
+ function hs(i) {
1634
1663
  return Me[i] || (Me[i] = i.indexOf("-") < 0 ? i : i.replace(
1635
- Rn,
1664
+ Wn,
1636
1665
  (e) => e[1].toUpperCase()
1637
1666
  ));
1638
1667
  }
1639
1668
  function ze(i) {
1640
- return Me[i] || (Me[i] = i.replace(zn, "-$1").toLowerCase());
1669
+ return Me[i] || (Me[i] = i.replace(Kn, "-$1").toLowerCase());
1641
1670
  }
1642
1671
  /**
1643
1672
  @license
@@ -1648,10 +1677,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
1648
1677
  Code distributed by Google as part of the polymer project is also
1649
1678
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1650
1679
  */
1651
- let Hn = 0, ls = 0, j = [], Un = 0, gt = !1, ds = document.createTextNode("");
1652
- new window.MutationObserver(Fn).observe(ds, { characterData: !0 });
1653
- function Fn() {
1654
- gt = !1;
1680
+ let Jn = 0, fs = 0, j = [], Gn = 0, vt = !1, ps = document.createTextNode("");
1681
+ new window.MutationObserver(Xn).observe(ps, { characterData: !0 });
1682
+ function Xn() {
1683
+ vt = !1;
1655
1684
  const i = j.length;
1656
1685
  for (let e = 0; e < i; e++) {
1657
1686
  let t = j[e];
@@ -1664,9 +1693,9 @@ function Fn() {
1664
1693
  });
1665
1694
  }
1666
1695
  }
1667
- j.splice(0, i), ls += i;
1696
+ j.splice(0, i), fs += i;
1668
1697
  }
1669
- const Ca = {
1698
+ const Da = {
1670
1699
  /**
1671
1700
  * Returns a sub-module with the async interface providing the provided
1672
1701
  * delay.
@@ -1706,7 +1735,7 @@ const Ca = {
1706
1735
  cancel(i) {
1707
1736
  window.clearTimeout(i);
1708
1737
  }
1709
- }, Bn = {
1738
+ }, Zn = {
1710
1739
  /**
1711
1740
  * Enqueues a function called at microtask timing.
1712
1741
  *
@@ -1715,7 +1744,7 @@ const Ca = {
1715
1744
  * @return {number} Handle used for canceling task
1716
1745
  */
1717
1746
  run(i) {
1718
- return gt || (gt = !0, ds.textContent = Un++), j.push(i), Hn++;
1747
+ return vt || (vt = !0, ps.textContent = Gn++), j.push(i), Jn++;
1719
1748
  },
1720
1749
  /**
1721
1750
  * Cancels a previously enqueued `microTask` callback.
@@ -1725,7 +1754,7 @@ const Ca = {
1725
1754
  * @return {void}
1726
1755
  */
1727
1756
  cancel(i) {
1728
- const e = i - ls;
1757
+ const e = i - fs;
1729
1758
  if (e >= 0) {
1730
1759
  if (!j[e])
1731
1760
  throw new Error("invalid async handle: " + i);
@@ -1742,7 +1771,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
1742
1771
  Code distributed by Google as part of the polymer project is also
1743
1772
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1744
1773
  */
1745
- const Vn = Bn, us = b(
1774
+ const Qn = Zn, _s = b(
1746
1775
  /**
1747
1776
  * @template T
1748
1777
  * @param {function(new:T)} superClass Class to apply mixin to.
@@ -1951,7 +1980,7 @@ const Vn = Bn, us = b(
1951
1980
  * @override
1952
1981
  */
1953
1982
  _invalidateProperties() {
1954
- !this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0, Vn.run(() => {
1983
+ !this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0, Qn.run(() => {
1955
1984
  this.__dataInvalid && (this.__dataInvalid = !1, this._flushProperties());
1956
1985
  }));
1957
1986
  }
@@ -2139,7 +2168,7 @@ const Vn = Bn, us = b(
2139
2168
  case "boolean":
2140
2169
  return n ? "" : void 0;
2141
2170
  default:
2142
- return n?.toString();
2171
+ return n != null ? n.toString() : void 0;
2143
2172
  }
2144
2173
  }
2145
2174
  /**
@@ -2178,23 +2207,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
2178
2207
  Code distributed by Google as part of the polymer project is also
2179
2208
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2180
2209
  */
2181
- const cs = {};
2210
+ const ms = {};
2182
2211
  let Ae = HTMLElement.prototype;
2183
2212
  for (; Ae; ) {
2184
2213
  let i = Object.getOwnPropertyNames(Ae);
2185
2214
  for (let e = 0; e < i.length; e++)
2186
- cs[i[e]] = !0;
2215
+ ms[i[e]] = !0;
2187
2216
  Ae = Object.getPrototypeOf(Ae);
2188
2217
  }
2189
- const jn = window.trustedTypes ? (i) => trustedTypes.isHTML(i) || trustedTypes.isScript(i) || trustedTypes.isScriptURL(i) : () => !1;
2190
- function qn(i, e) {
2191
- if (!cs[e]) {
2218
+ const er = window.trustedTypes ? (i) => trustedTypes.isHTML(i) || trustedTypes.isScript(i) || trustedTypes.isScriptURL(i) : () => !1;
2219
+ function tr(i, e) {
2220
+ if (!ms[e]) {
2192
2221
  let t = i[e];
2193
2222
  t !== void 0 && (i.__data ? i._setPendingProperty(e, t) : (i.__dataProto ? i.hasOwnProperty(JSCompiler_renameProperty("__dataProto", i)) || (i.__dataProto = Object.create(i.__dataProto)) : i.__dataProto = {}, i.__dataProto[e] = t));
2194
2223
  }
2195
2224
  }
2196
- const Yn = b((i) => {
2197
- const e = us(i);
2225
+ const ir = b((i) => {
2226
+ const e = _s(i);
2198
2227
  class t extends e {
2199
2228
  /**
2200
2229
  * Generates property accessors for all attributes in the standard
@@ -2212,7 +2241,7 @@ const Yn = b((i) => {
2212
2241
  this.observedAttributes
2213
2242
  );
2214
2243
  for (let r = 0; r < s.length; r++)
2215
- this.prototype._createPropertyAccessor(as(s[r]));
2244
+ this.prototype._createPropertyAccessor(hs(s[r]));
2216
2245
  }
2217
2246
  /**
2218
2247
  * Returns an attribute name that corresponds to the given property.
@@ -2289,14 +2318,14 @@ const Yn = b((i) => {
2289
2318
  if (s instanceof Date)
2290
2319
  return s.toString();
2291
2320
  if (s) {
2292
- if (jn(s))
2321
+ if (er(s))
2293
2322
  return (
2294
2323
  /** @type {?} */
2295
2324
  s
2296
2325
  );
2297
2326
  try {
2298
2327
  return JSON.stringify(s);
2299
- } catch {
2328
+ } catch (r) {
2300
2329
  return "";
2301
2330
  }
2302
2331
  }
@@ -2329,7 +2358,7 @@ const Yn = b((i) => {
2329
2358
  /** @type {string} */
2330
2359
  s
2331
2360
  );
2332
- } catch {
2361
+ } catch (a) {
2333
2362
  o = s;
2334
2363
  }
2335
2364
  break;
@@ -2339,7 +2368,7 @@ const Yn = b((i) => {
2339
2368
  /** @type {string} */
2340
2369
  s
2341
2370
  );
2342
- } catch {
2371
+ } catch (a) {
2343
2372
  o = null, console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${s}`);
2344
2373
  }
2345
2374
  break;
@@ -2370,7 +2399,7 @@ const Yn = b((i) => {
2370
2399
  * @override
2371
2400
  */
2372
2401
  _definePropertyAccessor(s, r) {
2373
- qn(this, s), super._definePropertyAccessor(s, r);
2402
+ tr(this, s), super._definePropertyAccessor(s, r);
2374
2403
  }
2375
2404
  /**
2376
2405
  * Returns true if this library created an accessor for the given property.
@@ -2405,23 +2434,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
2405
2434
  Code distributed by Google as part of the polymer project is also
2406
2435
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2407
2436
  */
2408
- const Wn = {
2437
+ const sr = {
2409
2438
  "dom-if": !0,
2410
2439
  "dom-repeat": !0
2411
2440
  };
2412
- let _i = !1, mi = !1;
2413
- function Kn() {
2414
- if (!_i) {
2415
- _i = !0;
2441
+ let vi = !1, wi = !1;
2442
+ function nr() {
2443
+ if (!vi) {
2444
+ vi = !0;
2416
2445
  const i = document.createElement("textarea");
2417
- i.placeholder = "a", mi = i.placeholder === i.textContent;
2446
+ i.placeholder = "a", wi = i.placeholder === i.textContent;
2418
2447
  }
2419
- return mi;
2448
+ return wi;
2420
2449
  }
2421
- function Jn(i) {
2422
- Kn() && i.localName === "textarea" && i.placeholder && i.placeholder === i.textContent && (i.textContent = null);
2450
+ function rr(i) {
2451
+ nr() && i.localName === "textarea" && i.placeholder && i.placeholder === i.textContent && (i.textContent = null);
2423
2452
  }
2424
- const Gn = (() => {
2453
+ const or = (() => {
2425
2454
  const i = window.trustedTypes && window.trustedTypes.createPolicy(
2426
2455
  "polymer-template-event-attribute-policy",
2427
2456
  {
@@ -2440,19 +2469,19 @@ const Gn = (() => {
2440
2469
  e.setAttribute(n, s);
2441
2470
  };
2442
2471
  })();
2443
- function Xn(i) {
2472
+ function ar(i) {
2444
2473
  let e = i.getAttribute("is");
2445
- if (e && Wn[e]) {
2474
+ if (e && sr[e]) {
2446
2475
  let t = i;
2447
2476
  for (t.removeAttribute("is"), i = t.ownerDocument.createElement(e), t.parentNode.replaceChild(i, t), i.appendChild(t); t.attributes.length; ) {
2448
2477
  const { name: n } = t.attributes[0];
2449
- Gn(i, t, n), t.removeAttribute(n);
2478
+ or(i, t, n), t.removeAttribute(n);
2450
2479
  }
2451
2480
  }
2452
2481
  return i;
2453
2482
  }
2454
- function hs(i, e) {
2455
- let t = e.parentInfo && hs(i, e.parentInfo);
2483
+ function gs(i, e) {
2484
+ let t = e.parentInfo && gs(i, e.parentInfo);
2456
2485
  if (t) {
2457
2486
  for (let n = t.firstChild, s = 0; n; n = n.nextSibling)
2458
2487
  if (e.parentIndex === s++)
@@ -2460,23 +2489,23 @@ function hs(i, e) {
2460
2489
  } else
2461
2490
  return i;
2462
2491
  }
2463
- function Zn(i, e, t, n) {
2492
+ function lr(i, e, t, n) {
2464
2493
  n.id && (e[n.id] = t);
2465
2494
  }
2466
- function Qn(i, e, t) {
2495
+ function dr(i, e, t) {
2467
2496
  if (t.events && t.events.length)
2468
2497
  for (let n = 0, s = t.events, r; n < s.length && (r = s[n]); n++)
2469
2498
  i._addMethodEventListenerToNode(e, r.name, r.value, i);
2470
2499
  }
2471
- function er(i, e, t, n) {
2500
+ function ur(i, e, t, n) {
2472
2501
  t.templateInfo && (e._templateInfo = t.templateInfo, e._parentTemplateInfo = n);
2473
2502
  }
2474
- function tr(i, e, t) {
2503
+ function cr(i, e, t) {
2475
2504
  return i = i._methodHost || i, function(s) {
2476
2505
  i[t] ? i[t](s, s.detail) : console.warn("listener method `" + t + "` not defined");
2477
2506
  };
2478
2507
  }
2479
- const ir = b(
2508
+ const hr = b(
2480
2509
  /**
2481
2510
  * @template T
2482
2511
  * @param {function(new:T)} superClass Class to apply mixin to.
@@ -2603,7 +2632,7 @@ const ir = b(
2603
2632
  /** @type {!HTMLTemplateElement} */
2604
2633
  n
2605
2634
  );
2606
- return a.localName == "template" && !a.hasAttribute("preserve-content") ? o = this._parseTemplateNestedTemplate(a, s, r) || o : a.localName === "slot" && (s.hasInsertionPoint = !0), Jn(a), a.firstChild && this._parseTemplateChildNodes(a, s, r), a.hasAttributes && a.hasAttributes() && (o = this._parseTemplateNodeAttributes(a, s, r) || o), o || r.noted;
2635
+ return a.localName == "template" && !a.hasAttribute("preserve-content") ? o = this._parseTemplateNestedTemplate(a, s, r) || o : a.localName === "slot" && (s.hasInsertionPoint = !0), rr(a), a.firstChild && this._parseTemplateChildNodes(a, s, r), a.hasAttributes && a.hasAttributes() && (o = this._parseTemplateNodeAttributes(a, s, r) || o), o || r.noted;
2607
2636
  }
2608
2637
  /**
2609
2638
  * Parses template child nodes for the given root node.
@@ -2621,7 +2650,7 @@ const ir = b(
2621
2650
  static _parseTemplateChildNodes(n, s, r) {
2622
2651
  if (!(n.localName === "script" || n.localName === "style"))
2623
2652
  for (let o = n.firstChild, a = 0, l; o; o = l) {
2624
- if (o.localName == "template" && (o = Xn(o)), l = o.nextSibling, o.nodeType === Node.TEXT_NODE) {
2653
+ if (o.localName == "template" && (o = ar(o)), l = o.nextSibling, o.nodeType === Node.TEXT_NODE) {
2625
2654
  let u = l;
2626
2655
  for (; u && u.nodeType === Node.TEXT_NODE; )
2627
2656
  o.textContent += u.textContent, l = u.nextSibling, n.removeChild(u), u = l;
@@ -2756,8 +2785,8 @@ const ir = b(
2756
2785
  let l = a.nodeList = new Array(r.length);
2757
2786
  a.$ = {};
2758
2787
  for (let d = 0, u = r.length, c; d < u && (c = r[d]); d++) {
2759
- let h = l[d] = hs(a, c);
2760
- Zn(this, a.$, h, c), er(this, h, c, s), Qn(this, h, c);
2788
+ let h = l[d] = gs(a, c);
2789
+ lr(this, a.$, h, c), ur(this, h, c, s), dr(this, h, c);
2761
2790
  }
2762
2791
  return a = /** @type {!StampedTemplate} */
2763
2792
  a, a;
@@ -2778,7 +2807,7 @@ const ir = b(
2778
2807
  */
2779
2808
  _addMethodEventListenerToNode(n, s, r, o) {
2780
2809
  o = o || n;
2781
- let a = tr(o, s, r);
2810
+ let a = cr(o, s, r);
2782
2811
  return this._addEventListenerToNode(n, s, a), a;
2783
2812
  }
2784
2813
  /**
@@ -2828,8 +2857,8 @@ const fe = [], p = {
2828
2857
  PROPAGATE: "__propagateEffects",
2829
2858
  OBSERVE: "__observeEffects",
2830
2859
  READ_ONLY: "__readOnly"
2831
- }, fs = "__computeInfo", sr = /[A-Z]/;
2832
- function Je(i, e, t) {
2860
+ }, ys = "__computeInfo", fr = /[A-Z]/;
2861
+ function Ze(i, e, t) {
2833
2862
  let n = i[e];
2834
2863
  if (!n)
2835
2864
  n = i[e] = {};
@@ -2849,49 +2878,49 @@ function re(i, e, t, n, s, r) {
2849
2878
  let d = s ? U(l) : l, u = e[d];
2850
2879
  if (u)
2851
2880
  for (let c = 0, h = u.length, f; c < h && (f = u[c]); c++)
2852
- (!f.info || f.info.lastRun !== a) && (!s || Lt(l, f.trigger)) && (f.info && (f.info.lastRun = a), f.fn(i, l, t, n, f.info, s, r), o = !0);
2881
+ (!f.info || f.info.lastRun !== a) && (!s || Ht(l, f.trigger)) && (f.info && (f.info.lastRun = a), f.fn(i, l, t, n, f.info, s, r), o = !0);
2853
2882
  }
2854
2883
  return o;
2855
2884
  }
2856
2885
  return !1;
2857
2886
  }
2858
- function nr(i, e, t, n, s, r, o, a) {
2887
+ function pr(i, e, t, n, s, r, o, a) {
2859
2888
  let l = !1, d = o ? U(n) : n, u = e[d];
2860
2889
  if (u)
2861
2890
  for (let c = 0, h = u.length, f; c < h && (f = u[c]); c++)
2862
- (!f.info || f.info.lastRun !== t) && (!o || Lt(n, f.trigger)) && (f.info && (f.info.lastRun = t), f.fn(i, n, s, r, f.info, o, a), l = !0);
2891
+ (!f.info || f.info.lastRun !== t) && (!o || Ht(n, f.trigger)) && (f.info && (f.info.lastRun = t), f.fn(i, n, s, r, f.info, o, a), l = !0);
2863
2892
  return l;
2864
2893
  }
2865
- function Lt(i, e) {
2894
+ function Ht(i, e) {
2866
2895
  if (e) {
2867
2896
  let t = (
2868
2897
  /** @type {string} */
2869
2898
  e.name
2870
2899
  );
2871
- return t == i || !!(e.structured && rs(t, i)) || !!(e.wildcard && ce(t, i));
2900
+ return t == i || !!(e.structured && us(t, i)) || !!(e.wildcard && ce(t, i));
2872
2901
  } else
2873
2902
  return !0;
2874
2903
  }
2875
- function gi(i, e, t, n, s) {
2904
+ function Ai(i, e, t, n, s) {
2876
2905
  let r = typeof s.method == "string" ? i[s.method] : s.method, o = s.property;
2877
2906
  r ? r.call(i, i.__data[o], n[o]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
2878
2907
  }
2879
- function rr(i, e, t, n, s) {
2908
+ function _r(i, e, t, n, s) {
2880
2909
  let r = i[p.NOTIFY], o, a = he++;
2881
2910
  for (let d in e)
2882
- e[d] && (r && nr(i, r, a, d, t, n, s) || s && or(i, d, t)) && (o = !0);
2911
+ e[d] && (r && pr(i, r, a, d, t, n, s) || s && mr(i, d, t)) && (o = !0);
2883
2912
  let l;
2884
2913
  o && (l = i.__dataHost) && l._invalidateProperties && l._invalidateProperties();
2885
2914
  }
2886
- function or(i, e, t) {
2915
+ function mr(i, e, t) {
2887
2916
  let n = U(e);
2888
2917
  if (n !== e) {
2889
2918
  let s = ze(n) + "-changed";
2890
- return ps(i, s, t[e], e), !0;
2919
+ return bs(i, s, t[e], e), !0;
2891
2920
  }
2892
2921
  return !1;
2893
2922
  }
2894
- function ps(i, e, t, n) {
2923
+ function bs(i, e, t, n) {
2895
2924
  let s = {
2896
2925
  value: t,
2897
2926
  queueProperty: !0
@@ -2901,18 +2930,18 @@ function ps(i, e, t, n) {
2901
2930
  i
2902
2931
  ).dispatchEvent(new CustomEvent(e, { detail: s }));
2903
2932
  }
2904
- function ar(i, e, t, n, s, r) {
2933
+ function gr(i, e, t, n, s, r) {
2905
2934
  let a = (r ? U(e) : e) != e ? e : null, l = a ? v(i, a) : i.__data[e];
2906
- a && l === void 0 && (l = t[e]), ps(i, s.eventName, l, a);
2935
+ a && l === void 0 && (l = t[e]), bs(i, s.eventName, l, a);
2907
2936
  }
2908
- function lr(i, e, t, n, s) {
2937
+ function yr(i, e, t, n, s) {
2909
2938
  let r, o = (
2910
2939
  /** @type {Object} */
2911
2940
  i.detail
2912
2941
  ), a = o && o.path;
2913
2942
  a ? (n = Oe(t, n, a), r = o && o.value) : r = i.currentTarget[t], r = s ? !r : r, (!e[p.READ_ONLY] || !e[p.READ_ONLY][n]) && e._setPendingPropertyOrPath(n, r, !0, !!a) && (!o || !o.queueProperty) && e._invalidateProperties();
2914
2943
  }
2915
- function dr(i, e, t, n, s) {
2944
+ function br(i, e, t, n, s) {
2916
2945
  let r = i.__data[e];
2917
2946
  Ne && (r = Ne(
2918
2947
  r,
@@ -2922,17 +2951,17 @@ function dr(i, e, t, n, s) {
2922
2951
  i
2923
2952
  )), i._propertyToAttribute(e, s.attrName, r);
2924
2953
  }
2925
- function ur(i, e, t, n) {
2954
+ function vr(i, e, t, n) {
2926
2955
  let s = i[p.COMPUTE];
2927
2956
  if (s)
2928
- if ($n) {
2957
+ if (Rn) {
2929
2958
  he++;
2930
- const r = hr(i), o = [];
2959
+ const r = Ar(i), o = [];
2931
2960
  for (let l in e)
2932
- yi(l, s, o, r, n);
2961
+ Ei(l, s, o, r, n);
2933
2962
  let a;
2934
2963
  for (; a = o.shift(); )
2935
- _s(i, "", e, t, a) && yi(a.methodInfo, s, o, r, n);
2964
+ vs(i, "", e, t, a) && Ei(a.methodInfo, s, o, r, n);
2936
2965
  Object.assign(
2937
2966
  /** @type {!Object} */
2938
2967
  t,
@@ -2956,7 +2985,7 @@ function ur(i, e, t, n) {
2956
2985
  ), r = i.__dataPending, i.__dataPending = null;
2957
2986
  }
2958
2987
  }
2959
- const cr = (i, e, t) => {
2988
+ const wr = (i, e, t) => {
2960
2989
  let n = 0, s = e.length - 1, r = -1;
2961
2990
  for (; n <= s; ) {
2962
2991
  const o = n + s >> 1, a = t.get(e[o].methodInfo) - t.get(i.methodInfo);
@@ -2970,20 +2999,20 @@ const cr = (i, e, t) => {
2970
2999
  }
2971
3000
  }
2972
3001
  r < 0 && (r = s + 1), e.splice(r, 0, i);
2973
- }, yi = (i, e, t, n, s) => {
3002
+ }, Ei = (i, e, t, n, s) => {
2974
3003
  const r = s ? U(i) : i, o = e[r];
2975
3004
  if (o)
2976
3005
  for (let a = 0; a < o.length; a++) {
2977
3006
  const l = o[a];
2978
- l.info.lastRun !== he && (!s || Lt(i, l.trigger)) && (l.info.lastRun = he, cr(l.info, t, n));
3007
+ l.info.lastRun !== he && (!s || Ht(i, l.trigger)) && (l.info.lastRun = he, wr(l.info, t, n));
2979
3008
  }
2980
3009
  };
2981
- function hr(i) {
3010
+ function Ar(i) {
2982
3011
  let e = i.constructor.__orderedComputedDeps;
2983
3012
  if (!e) {
2984
3013
  e = /* @__PURE__ */ new Map();
2985
3014
  const t = i[p.COMPUTE];
2986
- let { counts: n, ready: s, total: r } = fr(i), o;
3015
+ let { counts: n, ready: s, total: r } = Er(i), o;
2987
3016
  for (; o = s.shift(); ) {
2988
3017
  e.set(o, e.size);
2989
3018
  const a = t[o];
@@ -2997,8 +3026,8 @@ function hr(i) {
2997
3026
  }
2998
3027
  return e;
2999
3028
  }
3000
- function fr(i) {
3001
- const e = i[fs], t = {}, n = i[p.COMPUTE], s = [];
3029
+ function Er(i) {
3030
+ const e = i[ys], t = {}, n = i[p.COMPUTE], s = [];
3002
3031
  let r = 0;
3003
3032
  for (let o in e) {
3004
3033
  const a = e[o];
@@ -3008,14 +3037,14 @@ function fr(i) {
3008
3037
  e[o] || s.push(o);
3009
3038
  return { counts: t, ready: s, total: r };
3010
3039
  }
3011
- function _s(i, e, t, n, s) {
3012
- let r = yt(i, e, t, n, s);
3040
+ function vs(i, e, t, n, s) {
3041
+ let r = wt(i, e, t, n, s);
3013
3042
  if (r === fe)
3014
3043
  return !1;
3015
3044
  let o = s.methodInfo;
3016
3045
  return i.__dataHasAccessor && i.__dataHasAccessor[o] ? i._setPendingProperty(o, r, !0) : (i[o] = r, !1);
3017
3046
  }
3018
- function pr(i, e, t) {
3047
+ function Cr(i, e, t) {
3019
3048
  let n = i.__dataLinkedPaths;
3020
3049
  if (n) {
3021
3050
  let s;
@@ -3025,20 +3054,20 @@ function pr(i, e, t) {
3025
3054
  }
3026
3055
  }
3027
3056
  }
3028
- function Ge(i, e, t, n, s, r, o) {
3057
+ function Qe(i, e, t, n, s, r, o) {
3029
3058
  t.bindings = t.bindings || [];
3030
3059
  let a = { kind: n, target: s, parts: r, literal: o, isCompound: r.length !== 1 };
3031
- if (t.bindings.push(a), br(a)) {
3060
+ if (t.bindings.push(a), Tr(a)) {
3032
3061
  let { event: d, negate: u } = a.parts[0];
3033
3062
  a.listenerEvent = d || ze(s) + "-changed", a.listenerNegate = u;
3034
3063
  }
3035
3064
  let l = e.nodeInfoList.length;
3036
3065
  for (let d = 0; d < a.parts.length; d++) {
3037
3066
  let u = a.parts[d];
3038
- u.compoundIndex = d, _r(i, e, a, u, l);
3067
+ u.compoundIndex = d, xr(i, e, a, u, l);
3039
3068
  }
3040
3069
  }
3041
- function _r(i, e, t, n, s) {
3070
+ function xr(i, e, t, n, s) {
3042
3071
  if (!n.literal)
3043
3072
  if (t.kind === "attribute" && t.target[0] === "-")
3044
3073
  console.warn("Cannot set attribute " + t.target + ' because "-" is not a valid attribute starting character');
@@ -3046,26 +3075,26 @@ function _r(i, e, t, n, s) {
3046
3075
  let r = n.dependencies, o = { index: s, binding: t, part: n, evaluator: i };
3047
3076
  for (let a = 0; a < r.length; a++) {
3048
3077
  let l = r[a];
3049
- typeof l == "string" && (l = gs(l), l.wildcard = !0), i._addTemplatePropertyEffect(e, l.rootProperty, {
3050
- fn: mr,
3078
+ typeof l == "string" && (l = As(l), l.wildcard = !0), i._addTemplatePropertyEffect(e, l.rootProperty, {
3079
+ fn: Pr,
3051
3080
  info: o,
3052
3081
  trigger: l
3053
3082
  });
3054
3083
  }
3055
3084
  }
3056
3085
  }
3057
- function mr(i, e, t, n, s, r, o) {
3086
+ function Pr(i, e, t, n, s, r, o) {
3058
3087
  let a = o[s.index], l = s.binding, d = s.part;
3059
3088
  if (r && d.source && e.length > d.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
3060
3089
  let u = t[e];
3061
3090
  e = Oe(d.source, l.target, e), a._setPendingPropertyOrPath(e, u, !1, !0) && i._enqueueClient(a);
3062
3091
  } else {
3063
3092
  let u = s.evaluator._evaluateBinding(i, d, e, t, n, r);
3064
- u !== fe && gr(i, a, l, d, u);
3093
+ u !== fe && $r(i, a, l, d, u);
3065
3094
  }
3066
3095
  }
3067
- function gr(i, e, t, n, s) {
3068
- if (s = yr(e, s, t, n), Ne && (s = Ne(s, t.target, t.kind, e)), t.kind == "attribute")
3096
+ function $r(i, e, t, n, s) {
3097
+ if (s = Sr(e, s, t, n), Ne && (s = Ne(s, t.target, t.kind, e)), t.kind == "attribute")
3069
3098
  i._valueToNodeAttribute(
3070
3099
  /** @type {Element} */
3071
3100
  e,
@@ -3077,17 +3106,17 @@ function gr(i, e, t, n, s) {
3077
3106
  e.__isPropertyEffectsClient && e.__dataHasAccessor && e.__dataHasAccessor[r] ? (!e[p.READ_ONLY] || !e[p.READ_ONLY][r]) && e._setPendingProperty(r, s) && i._enqueueClient(e) : i._setUnmanagedPropertyToNode(e, r, s);
3078
3107
  }
3079
3108
  }
3080
- function yr(i, e, t, n) {
3109
+ function Sr(i, e, t, n) {
3081
3110
  if (t.isCompound) {
3082
3111
  let s = i.__dataCompoundStorage[t.target];
3083
3112
  s[n.compoundIndex] = e, e = s.join("");
3084
3113
  }
3085
- return t.kind !== "attribute" && (t.target === "textContent" || t.target === "value" && (i.localName === "input" || i.localName === "textarea")) && (e = e ?? ""), e;
3114
+ return t.kind !== "attribute" && (t.target === "textContent" || t.target === "value" && (i.localName === "input" || i.localName === "textarea")) && (e = e == null ? "" : e), e;
3086
3115
  }
3087
- function br(i) {
3116
+ function Tr(i) {
3088
3117
  return !!i.target && i.kind != "attribute" && i.kind != "text" && !i.isCompound && i.parts[0].mode === "{";
3089
3118
  }
3090
- function vr(i, e) {
3119
+ function Nr(i, e) {
3091
3120
  let { nodeList: t, nodeInfoList: n } = e;
3092
3121
  if (n.length)
3093
3122
  for (let s = 0; s < n.length; s++) {
@@ -3095,12 +3124,12 @@ function vr(i, e) {
3095
3124
  if (a)
3096
3125
  for (let l = 0; l < a.length; l++) {
3097
3126
  let d = a[l];
3098
- wr(o, d), Ar(o, i, d);
3127
+ Or(o, d), Mr(o, i, d);
3099
3128
  }
3100
3129
  o.__dataHost = i;
3101
3130
  }
3102
3131
  }
3103
- function wr(i, e) {
3132
+ function Or(i, e) {
3104
3133
  if (e.isCompound) {
3105
3134
  let t = i.__dataCompoundStorage || (i.__dataCompoundStorage = {}), n = e.parts, s = new Array(n.length);
3106
3135
  for (let o = 0; o < n.length; o++)
@@ -3109,15 +3138,15 @@ function wr(i, e) {
3109
3138
  t[r] = s, e.literal && e.kind == "property" && (r === "className" && (i = L(i)), i[r] = e.literal);
3110
3139
  }
3111
3140
  }
3112
- function Ar(i, e, t) {
3141
+ function Mr(i, e, t) {
3113
3142
  if (t.listenerEvent) {
3114
3143
  let n = t.parts[0];
3115
3144
  i.addEventListener(t.listenerEvent, function(s) {
3116
- lr(s, e, t.target, n.source, n.negate);
3145
+ yr(s, e, t.target, n.source, n.negate);
3117
3146
  });
3118
3147
  }
3119
3148
  }
3120
- function bi(i, e, t, n, s, r) {
3149
+ function Ci(i, e, t, n, s, r) {
3121
3150
  r = e.static || r && (typeof r != "object" || r[e.methodName]);
3122
3151
  let o = {
3123
3152
  methodName: e.methodName,
@@ -3136,15 +3165,15 @@ function bi(i, e, t, n, s, r) {
3136
3165
  info: o
3137
3166
  }), o;
3138
3167
  }
3139
- function yt(i, e, t, n, s) {
3168
+ function wt(i, e, t, n, s) {
3140
3169
  let r = i._methodHost || i, o = r[s.methodName];
3141
3170
  if (o) {
3142
3171
  let a = i._marshalArgs(s.args, e, t);
3143
3172
  return a === fe ? fe : o.apply(r, a);
3144
3173
  } else s.dynamicFn || console.warn("method `" + s.methodName + "` not defined");
3145
3174
  }
3146
- const Er = [], ms = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", Cr = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", xr = "(?:'(?:[^'\\\\]|\\\\.)*')", Pr = '(?:"(?:[^"\\\\]|\\\\.)*")', $r = "(?:" + xr + "|" + Pr + ")", vi = "(?:(" + ms + "|" + Cr + "|" + $r + ")\\s*)", Sr = "(?:" + vi + "(?:,\\s*" + vi + ")*)", Tr = "(?:\\(\\s*(?:" + Sr + "?)\\)\\s*)", Nr = "(" + ms + "\\s*" + Tr + "?)", Or = "(\\[\\[|{{)\\s*", Mr = "(?:]]|}})", kr = "(?:(!)\\s*)?", Ir = Or + kr + Nr + Mr, wi = new RegExp(Ir, "g");
3147
- function Ai(i) {
3175
+ const kr = [], ws = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", Ir = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", Dr = "(?:'(?:[^'\\\\]|\\\\.)*')", Lr = '(?:"(?:[^"\\\\]|\\\\.)*")', Rr = "(?:" + Dr + "|" + Lr + ")", xi = "(?:(" + ws + "|" + Ir + "|" + Rr + ")\\s*)", zr = "(?:" + xi + "(?:,\\s*" + xi + ")*)", Hr = "(?:\\(\\s*(?:" + zr + "?)\\)\\s*)", Ur = "(" + ws + "\\s*" + Hr + "?)", Fr = "(\\[\\[|{{)\\s*", Br = "(?:]]|}})", Vr = "(?:(!)\\s*)?", jr = Fr + Vr + Ur + Br, Pi = new RegExp(jr, "g");
3176
+ function $i(i) {
3148
3177
  let e = "";
3149
3178
  for (let t = 0; t < i.length; t++) {
3150
3179
  let n = i[t].literal;
@@ -3152,25 +3181,25 @@ function Ai(i) {
3152
3181
  }
3153
3182
  return e;
3154
3183
  }
3155
- function Xe(i) {
3184
+ function et(i) {
3156
3185
  let e = i.match(/([^\s]+?)\(([\s\S]*)\)/);
3157
3186
  if (e) {
3158
- let n = { methodName: e[1], static: !0, args: Er };
3187
+ let n = { methodName: e[1], static: !0, args: kr };
3159
3188
  if (e[2].trim()) {
3160
3189
  let s = e[2].replace(/\\,/g, "&comma;").split(",");
3161
- return Dr(s, n);
3190
+ return qr(s, n);
3162
3191
  } else
3163
3192
  return n;
3164
3193
  }
3165
3194
  return null;
3166
3195
  }
3167
- function Dr(i, e) {
3196
+ function qr(i, e) {
3168
3197
  return e.args = i.map(function(t) {
3169
- let n = gs(t);
3198
+ let n = As(t);
3170
3199
  return n.literal || (e.static = !1), n;
3171
3200
  }, this), e;
3172
3201
  }
3173
- function gs(i) {
3202
+ function As(i) {
3174
3203
  let e = i.trim().replace(/&comma;/g, ",").replace(/\\(.)/g, "$1"), t = {
3175
3204
  name: e,
3176
3205
  value: "",
@@ -3185,18 +3214,18 @@ function gs(i) {
3185
3214
  t.value = Number(e), t.literal = !0;
3186
3215
  break;
3187
3216
  }
3188
- return t.literal || (t.rootProperty = U(e), t.structured = mt(e), t.structured && (t.wildcard = e.slice(-2) == ".*", t.wildcard && (t.name = e.slice(0, -2)))), t;
3217
+ return t.literal || (t.rootProperty = U(e), t.structured = bt(e), t.structured && (t.wildcard = e.slice(-2) == ".*", t.wildcard && (t.name = e.slice(0, -2)))), t;
3189
3218
  }
3190
- function Ei(i, e, t) {
3219
+ function Si(i, e, t) {
3191
3220
  let n = v(i, t);
3192
3221
  return n === void 0 && (n = e[t]), n;
3193
3222
  }
3194
- function ys(i, e, t, n) {
3223
+ function Es(i, e, t, n) {
3195
3224
  const s = { indexSplices: n };
3196
- _t && !i._overrideLegacyUndefined && (e.splices = s), i.notifyPath(t + ".splices", s), i.notifyPath(t + ".length", e.length), _t && !i._overrideLegacyUndefined && (s.indexSplices = []);
3225
+ yt && !i._overrideLegacyUndefined && (e.splices = s), i.notifyPath(t + ".splices", s), i.notifyPath(t + ".length", e.length), yt && !i._overrideLegacyUndefined && (s.indexSplices = []);
3197
3226
  }
3198
3227
  function ee(i, e, t, n, s, r) {
3199
- ys(i, e, t, [{
3228
+ Es(i, e, t, [{
3200
3229
  index: n,
3201
3230
  addedCount: s,
3202
3231
  removed: r,
@@ -3204,11 +3233,11 @@ function ee(i, e, t, n, s, r) {
3204
3233
  type: "splice"
3205
3234
  }]);
3206
3235
  }
3207
- function Lr(i) {
3236
+ function Yr(i) {
3208
3237
  return i[0].toUpperCase() + i.substring(1);
3209
3238
  }
3210
- const Rr = b((i) => {
3211
- const e = ir(Yn(i));
3239
+ const Wr = b((i) => {
3240
+ const e = hr(ir(i));
3212
3241
  class t extends e {
3213
3242
  constructor() {
3214
3243
  super(), this.__isPropertyEffectsClient = !0;
@@ -3269,7 +3298,7 @@ const Rr = b((i) => {
3269
3298
  */
3270
3299
  _addPropertyEffect(s, r, o) {
3271
3300
  this._createPropertyAccessor(s, r == p.READ_ONLY);
3272
- let a = Je(this, r, !0)[s];
3301
+ let a = Ze(this, r, !0)[s];
3273
3302
  a || (a = this[r][s] = []), a.push(o);
3274
3303
  }
3275
3304
  /**
@@ -3282,7 +3311,7 @@ const Rr = b((i) => {
3282
3311
  * @return {void}
3283
3312
  */
3284
3313
  _removePropertyEffect(s, r, o) {
3285
- let a = Je(this, r, !0)[s], l = a.indexOf(o);
3314
+ let a = Ze(this, r, !0)[s], l = a.indexOf(o);
3286
3315
  l >= 0 && a.splice(l, 1);
3287
3316
  }
3288
3317
  /**
@@ -3387,7 +3416,7 @@ const Rr = b((i) => {
3387
3416
  if (!a) {
3388
3417
  let l = v(this, s);
3389
3418
  if (s = /** @type {string} */
3390
- pi(this, s, r), !s || !super._shouldPropertyChange(s, r, l))
3419
+ bi(this, s, r), !s || !super._shouldPropertyChange(s, r, l))
3391
3420
  return !1;
3392
3421
  }
3393
3422
  if (this.__dataHasPaths = !0, this._setPendingProperty(
@@ -3396,7 +3425,7 @@ const Rr = b((i) => {
3396
3425
  r,
3397
3426
  o
3398
3427
  ))
3399
- return pr(
3428
+ return Cr(
3400
3429
  this,
3401
3430
  /**@type{string}*/
3402
3431
  s,
@@ -3476,7 +3505,7 @@ const Rr = b((i) => {
3476
3505
  * @return {boolean} Returns true if the property changed
3477
3506
  */
3478
3507
  _setPendingProperty(s, r, o) {
3479
- let a = this.__dataHasPaths && mt(s), l = a ? this.__dataTemp : this.__data;
3508
+ let a = this.__dataHasPaths && bt(s), l = a ? this.__dataTemp : this.__data;
3480
3509
  return this._shouldPropertyChange(s, r, l[s]) ? (this.__dataPending || (this.__dataPending = {}, this.__dataOld = {}), s in this.__dataOld || (this.__dataOld[s] = this.__data[s]), a ? this.__dataTemp[s] = r : this.__data[s] = r, this.__dataPending[s] = r, (a || this[p.NOTIFY] && this[p.NOTIFY][s]) && (this.__dataToNotify = this.__dataToNotify || {}, this.__dataToNotify[s] = o), !0) : !1;
3481
3510
  }
3482
3511
  /**
@@ -3612,7 +3641,7 @@ const Rr = b((i) => {
3612
3641
  let a = this.__dataHasPaths;
3613
3642
  this.__dataHasPaths = !1;
3614
3643
  let l;
3615
- ur(this, r, o, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, o, a), this._flushClients(), re(this, this[p.REFLECT], r, o, a), re(this, this[p.OBSERVE], r, o, a), l && rr(this, l, r, o, a), this.__dataCounter == 1 && (this.__dataTemp = {});
3644
+ vr(this, r, o, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, o, a), this._flushClients(), re(this, this[p.REFLECT], r, o, a), re(this, this[p.OBSERVE], r, o, a), l && _r(this, l, r, o, a), this.__dataCounter == 1 && (this.__dataTemp = {});
3616
3645
  }
3617
3646
  /**
3618
3647
  * Called to propagate any property changes to stamped template nodes
@@ -3709,7 +3738,7 @@ const Rr = b((i) => {
3709
3738
  /** @type {Array} */
3710
3739
  v(this, s, o)
3711
3740
  );
3712
- ys(this, a, o.path, r);
3741
+ Es(this, a, o.path, r);
3713
3742
  }
3714
3743
  /**
3715
3744
  * Convenience method for reading a value from a path.
@@ -3757,7 +3786,7 @@ const Rr = b((i) => {
3757
3786
  * @public
3758
3787
  */
3759
3788
  set(s, r, o) {
3760
- o ? pi(o, s, r) : (!this[p.READ_ONLY] || !this[p.READ_ONLY][
3789
+ o ? bi(o, s, r) : (!this[p.READ_ONLY] || !this[p.READ_ONLY][
3761
3790
  /** @type {string} */
3762
3791
  s
3763
3792
  ]) && this._setPendingPropertyOrPath(s, r, !0) && this._invalidateProperties();
@@ -3911,7 +3940,7 @@ const Rr = b((i) => {
3911
3940
  * @protected
3912
3941
  */
3913
3942
  _createReadOnlyProperty(s, r) {
3914
- this._addPropertyEffect(s, p.READ_ONLY), r && (this["_set" + Lr(s)] = /** @this {PropertyEffects} */
3943
+ this._addPropertyEffect(s, p.READ_ONLY), r && (this["_set" + Yr(s)] = /** @this {PropertyEffects} */
3915
3944
  function(o) {
3916
3945
  this._setProperty(s, o);
3917
3946
  });
@@ -3933,7 +3962,7 @@ const Rr = b((i) => {
3933
3962
  _createPropertyObserver(s, r, o) {
3934
3963
  let a = { property: s, method: r, dynamicFn: !!o };
3935
3964
  this._addPropertyEffect(s, p.OBSERVE, {
3936
- fn: gi,
3965
+ fn: Ai,
3937
3966
  info: a,
3938
3967
  trigger: { name: s }
3939
3968
  }), o && this._addPropertyEffect(
@@ -3941,7 +3970,7 @@ const Rr = b((i) => {
3941
3970
  r,
3942
3971
  p.OBSERVE,
3943
3972
  {
3944
- fn: gi,
3973
+ fn: Ai,
3945
3974
  info: a,
3946
3975
  trigger: { name: r }
3947
3976
  }
@@ -3960,10 +3989,10 @@ const Rr = b((i) => {
3960
3989
  * @protected
3961
3990
  */
3962
3991
  _createMethodObserver(s, r) {
3963
- let o = Xe(s);
3992
+ let o = et(s);
3964
3993
  if (!o)
3965
3994
  throw new Error("Malformed observer expression '" + s + "'");
3966
- bi(this, o, p.OBSERVE, yt, null, r);
3995
+ Ci(this, o, p.OBSERVE, wt, null, r);
3967
3996
  }
3968
3997
  /**
3969
3998
  * Equivalent to static `createNotifyingProperty` API but can be called on
@@ -3977,7 +4006,7 @@ const Rr = b((i) => {
3977
4006
  */
3978
4007
  _createNotifyingProperty(s) {
3979
4008
  this._addPropertyEffect(s, p.NOTIFY, {
3980
- fn: ar,
4009
+ fn: gr,
3981
4010
  info: {
3982
4011
  eventName: ze(s) + "-changed",
3983
4012
  property: s
@@ -3998,7 +4027,7 @@ const Rr = b((i) => {
3998
4027
  _createReflectedProperty(s) {
3999
4028
  let r = this.constructor.attributeNameForProperty(s);
4000
4029
  r[0] === "-" ? console.warn("Property " + s + " cannot be reflected to attribute " + r + ' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.') : this._addPropertyEffect(s, p.REFLECT, {
4001
- fn: dr,
4030
+ fn: br,
4002
4031
  info: {
4003
4032
  attrName: r
4004
4033
  }
@@ -4018,11 +4047,11 @@ const Rr = b((i) => {
4018
4047
  * @protected
4019
4048
  */
4020
4049
  _createComputedProperty(s, r, o) {
4021
- let a = Xe(r);
4050
+ let a = et(r);
4022
4051
  if (!a)
4023
4052
  throw new Error("Malformed computed expression '" + r + "'");
4024
- const l = bi(this, a, p.COMPUTE, _s, s, o);
4025
- Je(this, fs)[s] = l;
4053
+ const l = Ci(this, a, p.COMPUTE, vs, s, o);
4054
+ Ze(this, ys)[s] = l;
4026
4055
  }
4027
4056
  /**
4028
4057
  * Gather the argument values for a method specified in the provided array
@@ -4043,15 +4072,15 @@ const Rr = b((i) => {
4043
4072
  let { name: c, structured: h, wildcard: f, value: _, literal: m } = s[d];
4044
4073
  if (!m)
4045
4074
  if (f) {
4046
- const C = ce(c, r), w = Ei(a, o, C ? r : c);
4075
+ const C = ce(c, r), w = Si(a, o, C ? r : c);
4047
4076
  _ = {
4048
4077
  path: C ? r : c,
4049
4078
  value: w,
4050
4079
  base: C ? v(a, c) : w
4051
4080
  };
4052
4081
  } else
4053
- _ = h ? Ei(a, o, c) : a[c];
4054
- if (_t && !this._overrideLegacyUndefined && _ === void 0 && s.length > 1)
4082
+ _ = h ? Si(a, o, c) : a[c];
4083
+ if (yt && !this._overrideLegacyUndefined && _ === void 0 && s.length > 1)
4055
4084
  return fe;
4056
4085
  l[d] = _;
4057
4086
  }
@@ -4333,7 +4362,7 @@ const Rr = b((i) => {
4333
4362
  for (let l = o.firstChild; l; l = l.nextSibling)
4334
4363
  a.push(l);
4335
4364
  }
4336
- return o.templateInfo = r, vr(this, r), this.__dataClientsReady && (this._runEffectsForTemplate(r, this.__data, null, !1), this._flushClients()), o;
4365
+ return o.templateInfo = r, Nr(this, r), this.__dataClientsReady && (this._runEffectsForTemplate(r, this.__data, null, !1), this._flushClients()), o;
4337
4366
  }
4338
4367
  /**
4339
4368
  * Removes and unbinds the nodes previously contained in the provided
@@ -4380,7 +4409,7 @@ const Rr = b((i) => {
4380
4409
  );
4381
4410
  if (s.nodeType === Node.TEXT_NODE) {
4382
4411
  let l = this._parseBindings(s.textContent, r);
4383
- l && (s.textContent = Ai(l) || " ", Ge(this, r, o, "text", "textContent", l), a = !0);
4412
+ l && (s.textContent = $i(l) || " ", Qe(this, r, o, "text", "textContent", l), a = !0);
4384
4413
  }
4385
4414
  return a;
4386
4415
  }
@@ -4407,9 +4436,9 @@ const Rr = b((i) => {
4407
4436
  let d = this._parseBindings(l, r);
4408
4437
  if (d) {
4409
4438
  let u = a, c = "property";
4410
- sr.test(a) ? c = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), c = "attribute");
4411
- let h = Ai(d);
4412
- return h && c == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), c == "attribute" && u == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && u === "value" && s.setAttribute(u, ""), s.removeAttribute(u), c === "property" && (a = as(a)), Ge(this, r, o, c, a, d, h), !0;
4439
+ fr.test(a) ? c = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), c = "attribute");
4440
+ let h = $i(d);
4441
+ return h && c == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), c == "attribute" && u == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && u === "value" && s.setAttribute(u, ""), s.removeAttribute(u), c === "property" && (a = hs(a)), Qe(this, r, o, c, a, d, h), !0;
4413
4442
  } else
4414
4443
  return e._parseTemplateNodeAttribute.call(
4415
4444
  this,
@@ -4442,15 +4471,15 @@ const Rr = b((i) => {
4442
4471
  o
4443
4472
  );
4444
4473
  const l = s.parentNode, d = o.templateInfo, u = l.localName === "dom-if", c = l.localName === "dom-repeat";
4445
- di && (u || c) && (l.removeChild(s), o = o.parentInfo, o.templateInfo = d, o.noted = !0, a = !1);
4474
+ pi && (u || c) && (l.removeChild(s), o = o.parentInfo, o.templateInfo = d, o.noted = !0, a = !1);
4446
4475
  let h = d.hostProps;
4447
- if (Sn && u)
4448
- h && (r.hostProps = Object.assign(r.hostProps || {}, h), di || (o.parentInfo.noted = !0));
4476
+ if (zn && u)
4477
+ h && (r.hostProps = Object.assign(r.hostProps || {}, h), pi || (o.parentInfo.noted = !0));
4449
4478
  else {
4450
4479
  let f = "{";
4451
4480
  for (let _ in h) {
4452
4481
  let m = [{ mode: f, source: _, dependencies: [_], hostProp: !0 }];
4453
- Ge(this, r, o, "property", "_host_" + _, m);
4482
+ Qe(this, r, o, "property", "_host_" + _, m);
4454
4483
  }
4455
4484
  }
4456
4485
  return a;
@@ -4502,16 +4531,16 @@ const Rr = b((i) => {
4502
4531
  */
4503
4532
  static _parseBindings(s, r) {
4504
4533
  let o = [], a = 0, l;
4505
- for (; (l = wi.exec(s)) !== null; ) {
4534
+ for (; (l = Pi.exec(s)) !== null; ) {
4506
4535
  l.index > a && o.push({ literal: s.slice(a, l.index) });
4507
4536
  let d = l[1][0], u = !!l[2], c = l[3].trim(), h = !1, f = "", _ = -1;
4508
4537
  d == "{" && (_ = c.indexOf("::")) > 0 && (f = c.substring(_ + 2), c = c.substring(0, _), h = !0);
4509
- let m = Xe(c), C = [];
4538
+ let m = et(c), C = [];
4510
4539
  if (m) {
4511
4540
  let { args: w, methodName: A } = m;
4512
4541
  for (let Be = 0; Be < w.length; Be++) {
4513
- let Gt = w[Be];
4514
- Gt.literal || C.push(Gt);
4542
+ let Qt = w[Be];
4543
+ Qt.literal || C.push(Qt);
4515
4544
  }
4516
4545
  let F = r.dynamicFns;
4517
4546
  (F && F[A] || m.static) && (C.push(A), m.dynamicFn = !0);
@@ -4525,7 +4554,7 @@ const Rr = b((i) => {
4525
4554
  signature: m,
4526
4555
  dependencies: C,
4527
4556
  event: f
4528
- }), a = wi.lastIndex;
4557
+ }), a = Pi.lastIndex;
4529
4558
  }
4530
4559
  if (a && a < s.length) {
4531
4560
  let d = s.substring(a);
@@ -4552,7 +4581,7 @@ const Rr = b((i) => {
4552
4581
  */
4553
4582
  static _evaluateBinding(s, r, o, a, l, d) {
4554
4583
  let u;
4555
- return r.signature ? u = yt(s, o, a, l, r.signature) : o != r.source ? u = v(s, r.source) : d && mt(o) ? u = v(s, o) : u = s.__data[o], r.negate && (u = !u), u;
4584
+ return r.signature ? u = wt(s, o, a, l, r.signature) : o != r.source ? u = v(s, r.source) : d && bt(o) ? u = v(s, o) : u = s.__data[o], r.negate && (u = !u), u;
4556
4585
  }
4557
4586
  }
4558
4587
  return t;
@@ -4566,7 +4595,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
4566
4595
  Code distributed by Google as part of the polymer project is also
4567
4596
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
4568
4597
  */
4569
- function zr(i) {
4598
+ function Kr(i) {
4570
4599
  const e = {};
4571
4600
  for (let t in i) {
4572
4601
  const n = i[t];
@@ -4574,8 +4603,8 @@ function zr(i) {
4574
4603
  }
4575
4604
  return e;
4576
4605
  }
4577
- const Hr = b((i) => {
4578
- const e = us(i);
4606
+ const Jr = b((i) => {
4607
+ const e = _s(i);
4579
4608
  function t(r) {
4580
4609
  const o = Object.getPrototypeOf(r);
4581
4610
  return o.prototype instanceof s ? (
@@ -4588,7 +4617,7 @@ const Hr = b((i) => {
4588
4617
  let o = null;
4589
4618
  if (r.hasOwnProperty(JSCompiler_renameProperty("properties", r))) {
4590
4619
  const a = r.properties;
4591
- a && (o = zr(a));
4620
+ a && (o = Kr(a));
4592
4621
  }
4593
4622
  r.__ownProperties = o;
4594
4623
  }
@@ -4724,8 +4753,8 @@ const Hr = b((i) => {
4724
4753
  * Google as part of the polymer project is also subject to an additional IP
4725
4754
  * rights grant found at http://polymer.github.io/PATENTS.txt
4726
4755
  */
4727
- const Ur = "3.5.2", Ci = window.ShadyCSS && window.ShadyCSS.cssBuild, Fr = b((i) => {
4728
- const e = Hr(Rr(i));
4756
+ const Gr = "3.5.2", Ti = window.ShadyCSS && window.ShadyCSS.cssBuild, Xr = b((i) => {
4757
+ const e = Jr(Wr(i));
4729
4758
  function t(l) {
4730
4759
  if (!l.hasOwnProperty(
4731
4760
  JSCompiler_renameProperty("__propertyDefaults", l)
@@ -4753,8 +4782,8 @@ const Ur = "3.5.2", Ci = window.ShadyCSS && window.ShadyCSS.cssBuild, Fr = b((i)
4753
4782
  u.computed && (u.readOnly = !0), u.computed && (l._hasReadOnlyEffect(d) ? console.warn(`Cannot redefine computed property '${d}'.`) : l._createComputedProperty(d, u.computed, c)), u.readOnly && !l._hasReadOnlyEffect(d) ? l._createReadOnlyProperty(d, !u.computed) : u.readOnly === !1 && l._hasReadOnlyEffect(d) && console.warn(`Cannot make readOnly property '${d}' non-readOnly.`), u.reflectToAttribute && !l._hasReflectEffect(d) ? l._createReflectedProperty(d) : u.reflectToAttribute === !1 && l._hasReflectEffect(d) && console.warn(`Cannot make reflected property '${d}' non-reflected.`), u.notify && !l._hasNotifyEffect(d) ? l._createNotifyingProperty(d) : u.notify === !1 && l._hasNotifyEffect(d) && console.warn(`Cannot make notify property '${d}' non-notify.`), u.observer && l._createPropertyObserver(d, u.observer, c[u.observer]), l._addPropertyToAttributeMap(d);
4754
4783
  }
4755
4784
  function r(l, d, u, c) {
4756
- if (!Ci) {
4757
- const h = d.content.querySelectorAll("style"), f = ss(d), _ = Ln(u), m = d.content.firstElementChild;
4785
+ if (!Ti) {
4786
+ const h = d.content.querySelectorAll("style"), f = ls(d), _ = Yn(u), m = d.content.firstElementChild;
4758
4787
  for (let w = 0; w < _.length; w++) {
4759
4788
  let A = _[w];
4760
4789
  A.textContent = l._processStyleText(A.textContent, c), d.content.insertBefore(A, m);
@@ -4765,7 +4794,7 @@ const Ur = "3.5.2", Ci = window.ShadyCSS && window.ShadyCSS.cssBuild, Fr = b((i)
4765
4794
  F !== A ? (A = A.cloneNode(!0), F.parentNode.insertBefore(A, F)) : C++, A.textContent = l._processStyleText(A.textContent, c);
4766
4795
  }
4767
4796
  }
4768
- if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, u), Tn && Ci && wn) {
4797
+ if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, u), Hn && Ti && On) {
4769
4798
  const h = d.content.querySelectorAll("style");
4770
4799
  if (h) {
4771
4800
  let f = "";
@@ -4777,8 +4806,8 @@ const Ur = "3.5.2", Ci = window.ShadyCSS && window.ShadyCSS.cssBuild, Fr = b((i)
4777
4806
  }
4778
4807
  function o(l) {
4779
4808
  let d = null;
4780
- if (l && (!pt || En) && (d = /** @type {?HTMLTemplateElement} */
4781
- ue.import(l, "template"), pt && !d))
4809
+ if (l && (!gt || kn) && (d = /** @type {?HTMLTemplateElement} */
4810
+ ue.import(l, "template"), gt && !d))
4782
4811
  throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
4783
4812
  return d;
4784
4813
  }
@@ -4789,7 +4818,7 @@ const Ur = "3.5.2", Ci = window.ShadyCSS && window.ShadyCSS.cssBuild, Fr = b((i)
4789
4818
  * @nocollapse
4790
4819
  */
4791
4820
  static get polymerElementVersion() {
4792
- return Ur;
4821
+ return Gr;
4793
4822
  }
4794
4823
  /**
4795
4824
  * Override of PropertiesMixin _finalizeClass to create observers and
@@ -4810,7 +4839,7 @@ const Ur = "3.5.2", Ci = window.ShadyCSS && window.ShadyCSS.cssBuild, Fr = b((i)
4810
4839
  /** @type {PolymerElementConstructor} */
4811
4840
  this.template
4812
4841
  );
4813
- d && (typeof d == "string" ? (console.error("template getter must return HTMLTemplateElement"), d = null) : Cn || (d = d.cloneNode(!0))), this.prototype._template = d;
4842
+ d && (typeof d == "string" ? (console.error("template getter must return HTMLTemplateElement"), d = null) : In || (d = d.cloneNode(!0))), this.prototype._template = d;
4814
4843
  }
4815
4844
  /**
4816
4845
  * Override of PropertiesChanged createProperties to create accessors
@@ -4947,7 +4976,7 @@ const Ur = "3.5.2", Ci = window.ShadyCSS && window.ShadyCSS.cssBuild, Fr = b((i)
4947
4976
  if (!this.hasOwnProperty(JSCompiler_renameProperty("_importPath", this))) {
4948
4977
  const d = this.importMeta;
4949
4978
  if (d)
4950
- this._importPath = It(d.url);
4979
+ this._importPath = Rt(d.url);
4951
4980
  else {
4952
4981
  const u = ue.import(
4953
4982
  /** @type {PolymerElementConstructor} */
@@ -4980,7 +5009,7 @@ const Ur = "3.5.2", Ci = window.ShadyCSS && window.ShadyCSS.cssBuild, Fr = b((i)
4980
5009
  this.constructor.finalize(), this.constructor._finalizeTemplate(
4981
5010
  /** @type {!HTMLElement} */
4982
5011
  this.localName
4983
- ), super._initializeProperties(), this.rootPath = An, this.importPath = this.constructor.importPath;
5012
+ ), super._initializeProperties(), this.rootPath = Mn, this.importPath = this.constructor.importPath;
4984
5013
  let d = t(this.constructor);
4985
5014
  if (d)
4986
5015
  for (let u in d) {
@@ -5012,7 +5041,7 @@ const Ur = "3.5.2", Ci = window.ShadyCSS && window.ShadyCSS.cssBuild, Fr = b((i)
5012
5041
  * @nocollapse
5013
5042
  */
5014
5043
  static _processStyleText(d, u) {
5015
- return kt(d, u);
5044
+ return Lt(d, u);
5016
5045
  }
5017
5046
  /**
5018
5047
  * Configures an element `proto` to function with a given `template`.
@@ -5091,7 +5120,7 @@ const Ur = "3.5.2", Ci = window.ShadyCSS && window.ShadyCSS.cssBuild, Fr = b((i)
5091
5120
  _attachDom(d) {
5092
5121
  const u = L(this);
5093
5122
  if (u.attachShadow)
5094
- return d ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: d }), u.shadowRoot.appendChild(d), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), Pn && window.ShadyDOM && window.ShadyDOM.flushInitial(u.shadowRoot), u.shadowRoot) : null;
5123
+ return d ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: d }), u.shadowRoot.appendChild(d), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), Ln && window.ShadyDOM && window.ShadyDOM.flushInitial(u.shadowRoot), u.shadowRoot) : null;
5095
5124
  throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
5096
5125
  }
5097
5126
  /**
@@ -5176,7 +5205,7 @@ const Ur = "3.5.2", Ci = window.ShadyCSS && window.ShadyCSS.cssBuild, Fr = b((i)
5176
5205
  * @nocollapse
5177
5206
  */
5178
5207
  static _addTemplatePropertyEffect(d, u, c) {
5179
- return xn && !(u in this._properties) && // Methods used in templates with no dependencies (or only literal
5208
+ return Dn && !(u in this._properties) && // Methods used in templates with no dependencies (or only literal
5180
5209
  // dependencies) become accessors with template effects; ignore these
5181
5210
  !(c.info.part.signature && c.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
5182
5211
  // templatizer so ignore both the host-to-template bindings
@@ -5201,16 +5230,16 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
5201
5230
  Code distributed by Google as part of the polymer project is also
5202
5231
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
5203
5232
  */
5204
- const xi = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (i) => i });
5205
- class bs {
5233
+ const Ni = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (i) => i });
5234
+ class Cs {
5206
5235
  /**
5207
5236
  * @param {!ITemplateArray} strings Constant parts of tagged template literal
5208
5237
  * @param {!Array<*>} values Variable parts of tagged template literal
5209
5238
  */
5210
5239
  constructor(e, t) {
5211
- ws(e, t);
5240
+ Ps(e, t);
5212
5241
  const n = t.reduce(
5213
- (s, r, o) => s + vs(r) + e[o + 1],
5242
+ (s, r, o) => s + xs(r) + e[o + 1],
5214
5243
  e[0]
5215
5244
  );
5216
5245
  this.value = n.toString();
@@ -5223,8 +5252,8 @@ class bs {
5223
5252
  return this.value;
5224
5253
  }
5225
5254
  }
5226
- function vs(i) {
5227
- if (i instanceof bs)
5255
+ function xs(i) {
5256
+ if (i instanceof Cs)
5228
5257
  return (
5229
5258
  /** @type {!LiteralString} */
5230
5259
  i.value
@@ -5233,30 +5262,30 @@ function vs(i) {
5233
5262
  `non-literal value passed to Polymer's htmlLiteral function: ${i}`
5234
5263
  );
5235
5264
  }
5236
- function Br(i) {
5265
+ function Zr(i) {
5237
5266
  if (i instanceof HTMLTemplateElement)
5238
5267
  return (
5239
5268
  /** @type {!HTMLTemplateElement } */
5240
5269
  i.innerHTML
5241
5270
  );
5242
- if (i instanceof bs)
5243
- return vs(i);
5271
+ if (i instanceof Cs)
5272
+ return xs(i);
5244
5273
  throw new Error(
5245
5274
  `non-template value passed to Polymer's html function: ${i}`
5246
5275
  );
5247
5276
  }
5248
- const Vr = function(e, ...t) {
5249
- ws(e, t);
5277
+ const Qr = function(e, ...t) {
5278
+ Ps(e, t);
5250
5279
  const n = (
5251
5280
  /** @type {!HTMLTemplateElement} */
5252
5281
  document.createElement("template")
5253
5282
  );
5254
5283
  let s = t.reduce(
5255
- (r, o, a) => r + Br(o) + e[a + 1],
5284
+ (r, o, a) => r + Zr(o) + e[a + 1],
5256
5285
  e[0]
5257
5286
  );
5258
- return xi && (s = xi.createHTML(s)), n.innerHTML = s, n;
5259
- }, ws = (i, e) => {
5287
+ return Ni && (s = Ni.createHTML(s)), n.innerHTML = s, n;
5288
+ }, Ps = (i, e) => {
5260
5289
  if (!Array.isArray(i) || !Array.isArray(i.raw) || e.length !== i.length - 1)
5261
5290
  throw new TypeError("Invalid call to the html template tag");
5262
5291
  };
@@ -5269,28 +5298,28 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
5269
5298
  Code distributed by Google as part of the polymer project is also
5270
5299
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
5271
5300
  */
5272
- const jr = Fr(HTMLElement);
5301
+ const eo = Xr(HTMLElement);
5273
5302
  /**
5274
5303
  * @license
5275
5304
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
5276
5305
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5277
5306
  */
5278
5307
  const x = [];
5279
- function bt(i, e, t = i.getAttribute("dir")) {
5308
+ function At(i, e, t = i.getAttribute("dir")) {
5280
5309
  e ? i.setAttribute("dir", e) : t != null && i.removeAttribute("dir");
5281
5310
  }
5282
- function vt() {
5311
+ function Et() {
5283
5312
  return document.documentElement.getAttribute("dir");
5284
5313
  }
5285
- function qr() {
5286
- const i = vt();
5314
+ function to() {
5315
+ const i = Et();
5287
5316
  x.forEach((e) => {
5288
- bt(e, i);
5317
+ At(e, i);
5289
5318
  });
5290
5319
  }
5291
- const Yr = new MutationObserver(qr);
5292
- Yr.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
5293
- const As = (i) => class extends i {
5320
+ const io = new MutationObserver(to);
5321
+ io.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
5322
+ const $s = (i) => class extends i {
5294
5323
  static get properties() {
5295
5324
  return {
5296
5325
  /**
@@ -5316,14 +5345,14 @@ const As = (i) => class extends i {
5316
5345
  }
5317
5346
  /** @protected */
5318
5347
  connectedCallback() {
5319
- super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(), bt(this, vt(), null));
5348
+ super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(), At(this, Et(), null));
5320
5349
  }
5321
5350
  /** @protected */
5322
5351
  attributeChangedCallback(t, n, s) {
5323
5352
  if (super.attributeChangedCallback(t, n, s), t !== "dir")
5324
5353
  return;
5325
- const r = vt(), o = s === r && x.indexOf(this) === -1, a = !s && n && x.indexOf(this) === -1;
5326
- o || a ? (this.__subscribe(), bt(this, r, s)) : s !== r && n === r && this.__unsubscribe();
5354
+ const r = Et(), o = s === r && x.indexOf(this) === -1, a = !s && n && x.indexOf(this) === -1;
5355
+ o || a ? (this.__subscribe(), At(this, r, s)) : s !== r && n === r && this.__unsubscribe();
5327
5356
  }
5328
5357
  /** @protected */
5329
5358
  disconnectedCallback() {
@@ -5351,12 +5380,12 @@ const As = (i) => class extends i {
5351
5380
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
5352
5381
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5353
5382
  */
5354
- class Wr extends un(As(jr)) {
5383
+ class so extends vn($s(eo)) {
5355
5384
  static get is() {
5356
5385
  return "vaadin-input-container";
5357
5386
  }
5358
5387
  static get template() {
5359
- return Vr`
5388
+ return Qr`
5360
5389
  <style>
5361
5390
  :host {
5362
5391
  display: flex;
@@ -5462,34 +5491,34 @@ class Wr extends un(As(jr)) {
5462
5491
  });
5463
5492
  }
5464
5493
  }
5465
- Yi(Wr);
5466
- const Kr = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, xe = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
5467
- function Jr() {
5494
+ Xi(so);
5495
+ const no = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, xe = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
5496
+ function ro() {
5468
5497
  function i() {
5469
5498
  return !0;
5470
5499
  }
5471
- return Es(i);
5500
+ return Ss(i);
5472
5501
  }
5473
- function Gr() {
5502
+ function oo() {
5474
5503
  try {
5475
- return Xr() ? !0 : Zr() ? xe ? !Qr() : !Jr() : !1;
5476
- } catch {
5504
+ return ao() ? !0 : lo() ? xe ? !uo() : !ro() : !1;
5505
+ } catch (i) {
5477
5506
  return !1;
5478
5507
  }
5479
5508
  }
5480
- function Xr() {
5509
+ function ao() {
5481
5510
  return localStorage.getItem("vaadin.developmentmode.force");
5482
5511
  }
5483
- function Zr() {
5512
+ function lo() {
5484
5513
  return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
5485
5514
  }
5486
- function Qr() {
5515
+ function uo() {
5487
5516
  return !!(xe && Object.keys(xe).map((e) => xe[e]).filter((e) => e.productionMode).length > 0);
5488
5517
  }
5489
- function Es(i, e) {
5518
+ function Ss(i, e) {
5490
5519
  if (typeof i != "function")
5491
5520
  return;
5492
- const t = Kr.exec(i.toString());
5521
+ const t = no.exec(i.toString());
5493
5522
  if (t)
5494
5523
  try {
5495
5524
  i = new Function(t[1]);
@@ -5499,12 +5528,12 @@ function Es(i, e) {
5499
5528
  return i(e);
5500
5529
  }
5501
5530
  window.Vaadin = window.Vaadin || {};
5502
- const Pi = function(i, e) {
5531
+ const Oi = function(i, e) {
5503
5532
  if (window.Vaadin.developmentMode)
5504
- return Es(i, e);
5533
+ return Ss(i, e);
5505
5534
  };
5506
- window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = Gr());
5507
- function eo() {
5535
+ window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = oo());
5536
+ function co() {
5508
5537
  /*! vaadin-dev-mode:start
5509
5538
  (function () {
5510
5539
  'use strict';
@@ -5985,9 +6014,9 @@ function eo() {
5985
6014
 
5986
6015
  vaadin-dev-mode:end **/
5987
6016
  }
5988
- const to = function() {
5989
- if (typeof Pi == "function")
5990
- return Pi(eo);
6017
+ const ho = function() {
6018
+ if (typeof Oi == "function")
6019
+ return Oi(co);
5991
6020
  };
5992
6021
  /**
5993
6022
  * @license
@@ -5998,11 +6027,11 @@ const to = function() {
5998
6027
  * Code distributed by Google as part of the polymer project is also
5999
6028
  * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
6000
6029
  */
6001
- let $i = 0, Cs = 0;
6030
+ let Mi = 0, Ts = 0;
6002
6031
  const q = [];
6003
- let wt = !1;
6004
- function io() {
6005
- wt = !1;
6032
+ let Ct = !1;
6033
+ function fo() {
6034
+ Ct = !1;
6006
6035
  const i = q.length;
6007
6036
  for (let e = 0; e < i; e++) {
6008
6037
  const t = q[e];
@@ -6015,9 +6044,9 @@ function io() {
6015
6044
  });
6016
6045
  }
6017
6046
  }
6018
- q.splice(0, i), Cs += i;
6047
+ q.splice(0, i), Ts += i;
6019
6048
  }
6020
- const so = {
6049
+ const po = {
6021
6050
  /**
6022
6051
  * Returns a sub-module with the async interface providing the provided
6023
6052
  * delay.
@@ -6057,7 +6086,7 @@ const so = {
6057
6086
  cancel(i) {
6058
6087
  window.clearTimeout(i);
6059
6088
  }
6060
- }, Pa = {
6089
+ }, Ra = {
6061
6090
  /**
6062
6091
  * Enqueues a function called at `requestAnimationFrame` timing.
6063
6092
  *
@@ -6078,7 +6107,7 @@ const so = {
6078
6107
  cancel(i) {
6079
6108
  window.cancelAnimationFrame(i);
6080
6109
  }
6081
- }, no = {
6110
+ }, _o = {
6082
6111
  /**
6083
6112
  * Enqueues a function called at `requestIdleCallback` timing.
6084
6113
  *
@@ -6099,7 +6128,7 @@ const so = {
6099
6128
  cancel(i) {
6100
6129
  window.cancelIdleCallback ? window.cancelIdleCallback(i) : window.clearTimeout(i);
6101
6130
  }
6102
- }, ro = {
6131
+ }, mo = {
6103
6132
  /**
6104
6133
  * Enqueues a function called at microtask timing.
6105
6134
  *
@@ -6108,9 +6137,9 @@ const so = {
6108
6137
  * @return {number} Handle used for canceling task
6109
6138
  */
6110
6139
  run(i) {
6111
- wt || (wt = !0, queueMicrotask(() => io())), q.push(i);
6112
- const e = $i;
6113
- return $i += 1, e;
6140
+ Ct || (Ct = !0, queueMicrotask(() => fo())), q.push(i);
6141
+ const e = Mi;
6142
+ return Mi += 1, e;
6114
6143
  },
6115
6144
  /**
6116
6145
  * Cancels a previously enqueued `microTask` callback.
@@ -6120,7 +6149,7 @@ const so = {
6120
6149
  * @return {void}
6121
6150
  */
6122
6151
  cancel(i) {
6123
- const e = i - Cs;
6152
+ const e = i - Ts;
6124
6153
  if (e >= 0) {
6125
6154
  if (!q[e])
6126
6155
  throw new Error(`invalid async handle: ${i}`);
@@ -6229,10 +6258,10 @@ class _e {
6229
6258
  return this._timer != null;
6230
6259
  }
6231
6260
  }
6232
- function oo(i) {
6261
+ function go(i) {
6233
6262
  pe.add(i);
6234
6263
  }
6235
- function ao() {
6264
+ function yo() {
6236
6265
  const i = !!pe.size;
6237
6266
  return pe.forEach((e) => {
6238
6267
  try {
@@ -6244,10 +6273,10 @@ function ao() {
6244
6273
  }
6245
6274
  }), i;
6246
6275
  }
6247
- const $a = () => {
6276
+ const za = () => {
6248
6277
  let i;
6249
6278
  do
6250
- i = ao();
6279
+ i = yo();
6251
6280
  while (i);
6252
6281
  };
6253
6282
  /**
@@ -6259,10 +6288,10 @@ window.Vaadin || (window.Vaadin = {});
6259
6288
  window.Vaadin.registrations || (window.Vaadin.registrations = []);
6260
6289
  window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback = {});
6261
6290
  window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
6262
- to();
6291
+ ho();
6263
6292
  };
6264
- let Ze;
6265
- const Si = /* @__PURE__ */ new Set(), Sa = (i) => class extends As(i) {
6293
+ let tt;
6294
+ const ki = /* @__PURE__ */ new Set(), Ha = (i) => class extends $s(i) {
6266
6295
  static get version() {
6267
6296
  return "24.2.9";
6268
6297
  }
@@ -6270,9 +6299,9 @@ const Si = /* @__PURE__ */ new Set(), Sa = (i) => class extends As(i) {
6270
6299
  static finalize() {
6271
6300
  super.finalize();
6272
6301
  const { is: t } = this;
6273
- t && !Si.has(t) && (window.Vaadin.registrations.push(this), Si.add(t), window.Vaadin.developmentModeCallback && (Ze = _e.debounce(Ze, no, () => {
6302
+ t && !ki.has(t) && (window.Vaadin.registrations.push(this), ki.add(t), window.Vaadin.developmentModeCallback && (tt = _e.debounce(tt, _o, () => {
6274
6303
  window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
6275
- }), oo(Ze)));
6304
+ }), go(tt)));
6276
6305
  }
6277
6306
  constructor() {
6278
6307
  super(), document.doctype === null && console.warn(
@@ -6285,7 +6314,7 @@ const Si = /* @__PURE__ */ new Set(), Sa = (i) => class extends As(i) {
6285
6314
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
6286
6315
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6287
6316
  */
6288
- function Na(i) {
6317
+ function Fa(i) {
6289
6318
  const e = [];
6290
6319
  for (; i; ) {
6291
6320
  if (i.nodeType === Node.DOCUMENT_NODE) {
@@ -6304,25 +6333,25 @@ function Na(i) {
6304
6333
  }
6305
6334
  return e;
6306
6335
  }
6307
- function Rt(i) {
6336
+ function Ut(i) {
6308
6337
  return i ? new Set(i.split(" ")) : /* @__PURE__ */ new Set();
6309
6338
  }
6310
6339
  function He(i) {
6311
6340
  return i ? [...i].join(" ") : "";
6312
6341
  }
6313
- function xs(i, e, t) {
6314
- const n = Rt(i.getAttribute(e));
6342
+ function Ns(i, e, t) {
6343
+ const n = Ut(i.getAttribute(e));
6315
6344
  n.add(t), i.setAttribute(e, He(n));
6316
6345
  }
6317
- function lo(i, e, t) {
6318
- const n = Rt(i.getAttribute(e));
6346
+ function bo(i, e, t) {
6347
+ const n = Ut(i.getAttribute(e));
6319
6348
  if (n.delete(t), n.size === 0) {
6320
6349
  i.removeAttribute(e);
6321
6350
  return;
6322
6351
  }
6323
6352
  i.setAttribute(e, He(n));
6324
6353
  }
6325
- function uo(i) {
6354
+ function vo(i) {
6326
6355
  return i.nodeType === Node.TEXT_NODE && i.textContent.trim() === "";
6327
6356
  }
6328
6357
  /**
@@ -6330,7 +6359,7 @@ function uo(i) {
6330
6359
  * Copyright (c) 2023 Vaadin Ltd.
6331
6360
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6332
6361
  */
6333
- class co {
6362
+ class wo {
6334
6363
  constructor(e, t) {
6335
6364
  this.slot = e, this.callback = t, this._storedNodes = [], this._connected = !1, this._scheduled = !1, this._boundSchedule = () => {
6336
6365
  this._schedule();
@@ -6380,16 +6409,16 @@ class co {
6380
6409
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
6381
6410
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6382
6411
  */
6383
- let ho = 0;
6384
- function fo() {
6385
- return ho++;
6412
+ let Ao = 0;
6413
+ function Eo() {
6414
+ return Ao++;
6386
6415
  }
6387
6416
  /**
6388
6417
  * @license
6389
6418
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
6390
6419
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6391
6420
  */
6392
- class zt extends EventTarget {
6421
+ class Ft extends EventTarget {
6393
6422
  /**
6394
6423
  * Ensure that every instance has unique ID.
6395
6424
  *
@@ -6399,7 +6428,7 @@ class zt extends EventTarget {
6399
6428
  * @protected
6400
6429
  */
6401
6430
  static generateId(e, t) {
6402
- return `${t || "default"}-${e.localName}-${fo()}`;
6431
+ return `${t || "default"}-${e.localName}-${Eo()}`;
6403
6432
  }
6404
6433
  constructor(e, t, n, s = {}) {
6405
6434
  super();
@@ -6491,8 +6520,8 @@ class zt extends EventTarget {
6491
6520
  */
6492
6521
  observeSlot() {
6493
6522
  const { slotName: e } = this, t = e === "" ? "slot:not([name])" : `slot[name=${e}]`, n = this.host.shadowRoot.querySelector(t);
6494
- this.__slotObserver = new co(n, ({ addedNodes: s, removedNodes: r }) => {
6495
- const o = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !uo(l) && !o.includes(l));
6523
+ this.__slotObserver = new wo(n, ({ addedNodes: s, removedNodes: r }) => {
6524
+ const o = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !vo(l) && !o.includes(l));
6496
6525
  r.length && (this.nodes = o.filter((l) => !r.includes(l)), r.forEach((l) => {
6497
6526
  this.teardownNode(l);
6498
6527
  })), a && a.length > 0 && (this.multiple ? (this.defaultNode && this.defaultNode.remove(), this.nodes = [...o, ...a].filter((l) => l !== this.defaultNode), a.forEach((l) => {
@@ -6506,7 +6535,7 @@ class zt extends EventTarget {
6506
6535
  * Copyright (c) 2022 - 2023 Vaadin Ltd.
6507
6536
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6508
6537
  */
6509
- class Oa extends zt {
6538
+ class Ba extends Ft {
6510
6539
  constructor(e) {
6511
6540
  super(e, "tooltip"), this.setTarget(e);
6512
6541
  }
@@ -6607,18 +6636,18 @@ class Oa extends zt {
6607
6636
  * Copyright 2019 Google LLC
6608
6637
  * SPDX-License-Identifier: BSD-3-Clause
6609
6638
  */
6610
- const Pe = window, Ht = Pe.ShadowRoot && (Pe.ShadyCSS === void 0 || Pe.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Ut = Symbol(), Ti = /* @__PURE__ */ new WeakMap();
6611
- class Ps {
6639
+ const Pe = window, Bt = Pe.ShadowRoot && (Pe.ShadyCSS === void 0 || Pe.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Vt = Symbol(), Ii = /* @__PURE__ */ new WeakMap();
6640
+ class Os {
6612
6641
  constructor(e, t, n) {
6613
- if (this._$cssResult$ = !0, n !== Ut) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
6642
+ if (this._$cssResult$ = !0, n !== Vt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
6614
6643
  this.cssText = e, this.t = t;
6615
6644
  }
6616
6645
  get styleSheet() {
6617
6646
  let e = this.o;
6618
6647
  const t = this.t;
6619
- if (Ht && e === void 0) {
6648
+ if (Bt && e === void 0) {
6620
6649
  const n = t !== void 0 && t.length === 1;
6621
- n && (e = Ti.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), n && Ti.set(t, e));
6650
+ n && (e = Ii.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), n && Ii.set(t, e));
6622
6651
  }
6623
6652
  return e;
6624
6653
  }
@@ -6626,33 +6655,33 @@ class Ps {
6626
6655
  return this.cssText;
6627
6656
  }
6628
6657
  }
6629
- const po = (i) => new Ps(typeof i == "string" ? i : i + "", void 0, Ut), Ft = (i, ...e) => {
6658
+ const Co = (i) => new Os(typeof i == "string" ? i : i + "", void 0, Vt), jt = (i, ...e) => {
6630
6659
  const t = i.length === 1 ? i[0] : e.reduce((n, s, r) => n + ((o) => {
6631
6660
  if (o._$cssResult$ === !0) return o.cssText;
6632
6661
  if (typeof o == "number") return o;
6633
6662
  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.");
6634
6663
  })(s) + i[r + 1], i[0]);
6635
- return new Ps(t, i, Ut);
6636
- }, _o = (i, e) => {
6637
- Ht ? i.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet) : e.forEach((t) => {
6664
+ return new Os(t, i, Vt);
6665
+ }, xo = (i, e) => {
6666
+ Bt ? i.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet) : e.forEach((t) => {
6638
6667
  const n = document.createElement("style"), s = Pe.litNonce;
6639
6668
  s !== void 0 && n.setAttribute("nonce", s), n.textContent = t.cssText, i.appendChild(n);
6640
6669
  });
6641
- }, Ni = Ht ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((e) => {
6670
+ }, Di = Bt ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((e) => {
6642
6671
  let t = "";
6643
6672
  for (const n of e.cssRules) t += n.cssText;
6644
- return po(t);
6673
+ return Co(t);
6645
6674
  })(i) : i;
6646
6675
  /**
6647
6676
  * @license
6648
6677
  * Copyright 2017 Google LLC
6649
6678
  * SPDX-License-Identifier: BSD-3-Clause
6650
6679
  */
6651
- var Qe;
6652
- const ke = window, Oi = ke.trustedTypes, mo = Oi ? Oi.emptyScript : "", Mi = ke.reactiveElementPolyfillSupport, At = { toAttribute(i, e) {
6680
+ var it;
6681
+ const ke = window, Li = ke.trustedTypes, Po = Li ? Li.emptyScript : "", Ri = ke.reactiveElementPolyfillSupport, xt = { toAttribute(i, e) {
6653
6682
  switch (e) {
6654
6683
  case Boolean:
6655
- i = i ? mo : null;
6684
+ i = i ? Po : null;
6656
6685
  break;
6657
6686
  case Object:
6658
6687
  case Array:
@@ -6672,12 +6701,12 @@ const ke = window, Oi = ke.trustedTypes, mo = Oi ? Oi.emptyScript : "", Mi = ke.
6672
6701
  case Array:
6673
6702
  try {
6674
6703
  t = JSON.parse(i);
6675
- } catch {
6704
+ } catch (n) {
6676
6705
  t = null;
6677
6706
  }
6678
6707
  }
6679
6708
  return t;
6680
- } }, $s = (i, e) => e !== i && (e == e || i == i), et = { attribute: !0, type: String, converter: At, reflect: !1, hasChanged: $s }, Et = "finalized";
6709
+ } }, Ms = (i, e) => e !== i && (e == e || i == i), st = { attribute: !0, type: String, converter: xt, reflect: !1, hasChanged: Ms }, Pt = "finalized";
6681
6710
  class V extends HTMLElement {
6682
6711
  constructor() {
6683
6712
  super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this._$Eu();
@@ -6694,7 +6723,7 @@ class V extends HTMLElement {
6694
6723
  s !== void 0 && (this._$Ev.set(s, n), e.push(s));
6695
6724
  }), e;
6696
6725
  }
6697
- static createProperty(e, t = et) {
6726
+ static createProperty(e, t = st) {
6698
6727
  if (t.state && (t.attribute = !1), this.finalize(), this.elementProperties.set(e, t), !t.noAccessor && !this.prototype.hasOwnProperty(e)) {
6699
6728
  const n = typeof e == "symbol" ? Symbol() : "__" + e, s = this.getPropertyDescriptor(e, n, t);
6700
6729
  s !== void 0 && Object.defineProperty(this.prototype, e, s);
@@ -6709,11 +6738,11 @@ class V extends HTMLElement {
6709
6738
  }, configurable: !0, enumerable: !0 };
6710
6739
  }
6711
6740
  static getPropertyOptions(e) {
6712
- return this.elementProperties.get(e) || et;
6741
+ return this.elementProperties.get(e) || st;
6713
6742
  }
6714
6743
  static finalize() {
6715
- if (this.hasOwnProperty(Et)) return !1;
6716
- this[Et] = !0;
6744
+ if (this.hasOwnProperty(Pt)) return !1;
6745
+ this[Pt] = !0;
6717
6746
  const e = Object.getPrototypeOf(this);
6718
6747
  if (e.finalize(), e.h !== void 0 && (this.h = [...e.h]), this.elementProperties = new Map(e.elementProperties), this._$Ev = /* @__PURE__ */ new Map(), this.hasOwnProperty("properties")) {
6719
6748
  const t = this.properties, n = [...Object.getOwnPropertyNames(t), ...Object.getOwnPropertySymbols(t)];
@@ -6725,8 +6754,8 @@ class V extends HTMLElement {
6725
6754
  const t = [];
6726
6755
  if (Array.isArray(e)) {
6727
6756
  const n = new Set(e.flat(1 / 0).reverse());
6728
- for (const s of n) t.unshift(Ni(s));
6729
- } else e !== void 0 && t.push(Ni(e));
6757
+ for (const s of n) t.unshift(Di(s));
6758
+ } else e !== void 0 && t.push(Di(e));
6730
6759
  return t;
6731
6760
  }
6732
6761
  static _$Ep(e, t) {
@@ -6753,7 +6782,7 @@ class V extends HTMLElement {
6753
6782
  createRenderRoot() {
6754
6783
  var e;
6755
6784
  const t = (e = this.shadowRoot) !== null && e !== void 0 ? e : this.attachShadow(this.constructor.shadowRootOptions);
6756
- return _o(t, this.constructor.elementStyles), t;
6785
+ return xo(t, this.constructor.elementStyles), t;
6757
6786
  }
6758
6787
  connectedCallback() {
6759
6788
  var e;
@@ -6774,11 +6803,11 @@ class V extends HTMLElement {
6774
6803
  attributeChangedCallback(e, t, n) {
6775
6804
  this._$AK(e, n);
6776
6805
  }
6777
- _$EO(e, t, n = et) {
6806
+ _$EO(e, t, n = st) {
6778
6807
  var s;
6779
6808
  const r = this.constructor._$Ep(e, n);
6780
6809
  if (r !== void 0 && n.reflect === !0) {
6781
- const o = (((s = n.converter) === null || s === void 0 ? void 0 : s.toAttribute) !== void 0 ? n.converter : At).toAttribute(t, n.type);
6810
+ const o = (((s = n.converter) === null || s === void 0 ? void 0 : s.toAttribute) !== void 0 ? n.converter : xt).toAttribute(t, n.type);
6782
6811
  this._$El = e, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$El = null;
6783
6812
  }
6784
6813
  }
@@ -6786,23 +6815,25 @@ class V extends HTMLElement {
6786
6815
  var n;
6787
6816
  const s = this.constructor, r = s._$Ev.get(e);
6788
6817
  if (r !== void 0 && this._$El !== r) {
6789
- const o = s.getPropertyOptions(r), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((n = o.converter) === null || n === void 0 ? void 0 : n.fromAttribute) !== void 0 ? o.converter : At;
6818
+ const o = s.getPropertyOptions(r), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((n = o.converter) === null || n === void 0 ? void 0 : n.fromAttribute) !== void 0 ? o.converter : xt;
6790
6819
  this._$El = r, this[r] = a.fromAttribute(t, o.type), this._$El = null;
6791
6820
  }
6792
6821
  }
6793
6822
  requestUpdate(e, t, n) {
6794
6823
  let s = !0;
6795
- e !== void 0 && (((n = n || this.constructor.getPropertyOptions(e)).hasChanged || $s)(this[e], t) ? (this._$AL.has(e) || this._$AL.set(e, t), n.reflect === !0 && this._$El !== e && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(e, n))) : s = !1), !this.isUpdatePending && s && (this._$E_ = this._$Ej());
6824
+ e !== void 0 && (((n = n || this.constructor.getPropertyOptions(e)).hasChanged || Ms)(this[e], t) ? (this._$AL.has(e) || this._$AL.set(e, t), n.reflect === !0 && this._$El !== e && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(e, n))) : s = !1), !this.isUpdatePending && s && (this._$E_ = this._$Ej());
6796
6825
  }
6797
- async _$Ej() {
6798
- this.isUpdatePending = !0;
6799
- try {
6800
- await this._$E_;
6801
- } catch (t) {
6802
- Promise.reject(t);
6803
- }
6804
- const e = this.scheduleUpdate();
6805
- return e != null && await e, !this.isUpdatePending;
6826
+ _$Ej() {
6827
+ return qe(this, null, function* () {
6828
+ this.isUpdatePending = !0;
6829
+ try {
6830
+ yield this._$E_;
6831
+ } catch (t) {
6832
+ Promise.reject(t);
6833
+ }
6834
+ const e = this.scheduleUpdate();
6835
+ return e != null && (yield e), !this.isUpdatePending;
6836
+ });
6806
6837
  }
6807
6838
  scheduleUpdate() {
6808
6839
  return this.performUpdate();
@@ -6852,38 +6883,38 @@ class V extends HTMLElement {
6852
6883
  firstUpdated(e) {
6853
6884
  }
6854
6885
  }
6855
- V[Et] = !0, V.elementProperties = /* @__PURE__ */ new Map(), V.elementStyles = [], V.shadowRootOptions = { mode: "open" }, Mi?.({ ReactiveElement: V }), ((Qe = ke.reactiveElementVersions) !== null && Qe !== void 0 ? Qe : ke.reactiveElementVersions = []).push("1.6.3");
6886
+ V[Pt] = !0, V.elementProperties = /* @__PURE__ */ new Map(), V.elementStyles = [], V.shadowRootOptions = { mode: "open" }, Ri == null || Ri({ ReactiveElement: V }), ((it = ke.reactiveElementVersions) !== null && it !== void 0 ? it : ke.reactiveElementVersions = []).push("1.6.3");
6856
6887
  /**
6857
6888
  * @license
6858
6889
  * Copyright 2017 Google LLC
6859
6890
  * SPDX-License-Identifier: BSD-3-Clause
6860
6891
  */
6861
- var tt;
6862
- const Ie = window, G = Ie.trustedTypes, ki = G ? G.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, Ct = "$lit$", S = `lit$${(Math.random() + "").slice(9)}$`, Ss = "?" + S, go = `<${Ss}>`, H = document, me = () => H.createComment(""), ge = (i) => i === null || typeof i != "object" && typeof i != "function", Ts = Array.isArray, yo = (i) => Ts(i) || typeof i?.[Symbol.iterator] == "function", it = `[
6863
- \f\r]`, ie = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ii = /-->/g, Di = />/g, M = RegExp(`>|${it}(?:([^\\s"'>=/]+)(${it}*=${it}*(?:[^
6864
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Li = /'/g, Ri = /"/g, Ns = /^(?:script|style|textarea|title)$/i, X = Symbol.for("lit-noChange"), y = Symbol.for("lit-nothing"), zi = /* @__PURE__ */ new WeakMap(), I = H.createTreeWalker(H, 129, null, !1);
6865
- function Os(i, e) {
6892
+ var nt;
6893
+ const Ie = window, G = Ie.trustedTypes, zi = G ? G.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, $t = "$lit$", S = `lit$${(Math.random() + "").slice(9)}$`, ks = "?" + S, $o = `<${ks}>`, H = document, me = () => H.createComment(""), ge = (i) => i === null || typeof i != "object" && typeof i != "function", Is = Array.isArray, So = (i) => Is(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", rt = `[
6894
+ \f\r]`, ie = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Hi = /-->/g, Ui = />/g, M = RegExp(`>|${rt}(?:([^\\s"'>=/]+)(${rt}*=${rt}*(?:[^
6895
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Fi = /'/g, Bi = /"/g, Ds = /^(?:script|style|textarea|title)$/i, X = Symbol.for("lit-noChange"), y = Symbol.for("lit-nothing"), Vi = /* @__PURE__ */ new WeakMap(), I = H.createTreeWalker(H, 129, null, !1);
6896
+ function Ls(i, e) {
6866
6897
  if (!Array.isArray(i) || !i.hasOwnProperty("raw")) throw Error("invalid template strings array");
6867
- return ki !== void 0 ? ki.createHTML(e) : e;
6898
+ return zi !== void 0 ? zi.createHTML(e) : e;
6868
6899
  }
6869
- const bo = (i, e) => {
6900
+ const To = (i, e) => {
6870
6901
  const t = i.length - 1, n = [];
6871
6902
  let s, r = e === 2 ? "<svg>" : "", o = ie;
6872
6903
  for (let a = 0; a < t; a++) {
6873
6904
  const l = i[a];
6874
6905
  let d, u, c = -1, h = 0;
6875
- for (; h < l.length && (o.lastIndex = h, u = o.exec(l), u !== null); ) h = o.lastIndex, o === ie ? u[1] === "!--" ? o = Ii : u[1] !== void 0 ? o = Di : u[2] !== void 0 ? (Ns.test(u[2]) && (s = RegExp("</" + u[2], "g")), o = M) : u[3] !== void 0 && (o = M) : o === M ? u[0] === ">" ? (o = s ?? ie, c = -1) : u[1] === void 0 ? c = -2 : (c = o.lastIndex - u[2].length, d = u[1], o = u[3] === void 0 ? M : u[3] === '"' ? Ri : Li) : o === Ri || o === Li ? o = M : o === Ii || o === Di ? o = ie : (o = M, s = void 0);
6906
+ for (; h < l.length && (o.lastIndex = h, u = o.exec(l), u !== null); ) h = o.lastIndex, o === ie ? u[1] === "!--" ? o = Hi : u[1] !== void 0 ? o = Ui : u[2] !== void 0 ? (Ds.test(u[2]) && (s = RegExp("</" + u[2], "g")), o = M) : u[3] !== void 0 && (o = M) : o === M ? u[0] === ">" ? (o = s != null ? s : ie, c = -1) : u[1] === void 0 ? c = -2 : (c = o.lastIndex - u[2].length, d = u[1], o = u[3] === void 0 ? M : u[3] === '"' ? Bi : Fi) : o === Bi || o === Fi ? o = M : o === Hi || o === Ui ? o = ie : (o = M, s = void 0);
6876
6907
  const f = o === M && i[a + 1].startsWith("/>") ? " " : "";
6877
- r += o === ie ? l + go : c >= 0 ? (n.push(d), l.slice(0, c) + Ct + l.slice(c) + S + f) : l + S + (c === -2 ? (n.push(void 0), a) : f);
6908
+ r += o === ie ? l + $o : c >= 0 ? (n.push(d), l.slice(0, c) + $t + l.slice(c) + S + f) : l + S + (c === -2 ? (n.push(void 0), a) : f);
6878
6909
  }
6879
- return [Os(i, r + (i[t] || "<?>") + (e === 2 ? "</svg>" : "")), n];
6910
+ return [Ls(i, r + (i[t] || "<?>") + (e === 2 ? "</svg>" : "")), n];
6880
6911
  };
6881
6912
  class ye {
6882
6913
  constructor({ strings: e, _$litType$: t }, n) {
6883
6914
  let s;
6884
6915
  this.parts = [];
6885
6916
  let r = 0, o = 0;
6886
- const a = e.length - 1, l = this.parts, [d, u] = bo(e, t);
6917
+ const a = e.length - 1, l = this.parts, [d, u] = To(e, t);
6887
6918
  if (this.el = ye.createElement(d, n), I.currentNode = this.el.content, t === 2) {
6888
6919
  const c = this.el.content, h = c.firstChild;
6889
6920
  h.remove(), c.append(...h.childNodes);
@@ -6892,16 +6923,16 @@ class ye {
6892
6923
  if (s.nodeType === 1) {
6893
6924
  if (s.hasAttributes()) {
6894
6925
  const c = [];
6895
- for (const h of s.getAttributeNames()) if (h.endsWith(Ct) || h.startsWith(S)) {
6926
+ for (const h of s.getAttributeNames()) if (h.endsWith($t) || h.startsWith(S)) {
6896
6927
  const f = u[o++];
6897
6928
  if (c.push(h), f !== void 0) {
6898
- const _ = s.getAttribute(f.toLowerCase() + Ct).split(S), m = /([.?@])?(.*)/.exec(f);
6899
- l.push({ type: 1, index: r, name: m[2], strings: _, ctor: m[1] === "." ? wo : m[1] === "?" ? Eo : m[1] === "@" ? Co : Ue });
6929
+ const _ = s.getAttribute(f.toLowerCase() + $t).split(S), m = /([.?@])?(.*)/.exec(f);
6930
+ l.push({ type: 1, index: r, name: m[2], strings: _, ctor: m[1] === "." ? Oo : m[1] === "?" ? ko : m[1] === "@" ? Io : Ue });
6900
6931
  } else l.push({ type: 6, index: r });
6901
6932
  }
6902
6933
  for (const h of c) s.removeAttribute(h);
6903
6934
  }
6904
- if (Ns.test(s.tagName)) {
6935
+ if (Ds.test(s.tagName)) {
6905
6936
  const c = s.textContent.split(S), h = c.length - 1;
6906
6937
  if (h > 0) {
6907
6938
  s.textContent = G ? G.emptyScript : "";
@@ -6909,7 +6940,7 @@ class ye {
6909
6940
  s.append(c[h], me());
6910
6941
  }
6911
6942
  }
6912
- } else if (s.nodeType === 8) if (s.data === Ss) l.push({ type: 2, index: r });
6943
+ } else if (s.nodeType === 8) if (s.data === ks) l.push({ type: 2, index: r });
6913
6944
  else {
6914
6945
  let c = -1;
6915
6946
  for (; (c = s.data.indexOf(S, c + 1)) !== -1; ) l.push({ type: 7, index: r }), c += S.length - 1;
@@ -6927,9 +6958,9 @@ function Z(i, e, t = i, n) {
6927
6958
  if (e === X) return e;
6928
6959
  let l = n !== void 0 ? (s = t._$Co) === null || s === void 0 ? void 0 : s[n] : t._$Cl;
6929
6960
  const d = ge(e) ? void 0 : e._$litDirective$;
6930
- return l?.constructor !== d && ((r = l?._$AO) === null || r === void 0 || r.call(l, !1), d === void 0 ? l = void 0 : (l = new d(i), l._$AT(i, t, n)), n !== void 0 ? ((o = (a = t)._$Co) !== null && o !== void 0 ? o : a._$Co = [])[n] = l : t._$Cl = l), l !== void 0 && (e = Z(i, l._$AS(i, e.values), l, n)), e;
6961
+ return (l == null ? void 0 : l.constructor) !== d && ((r = l == null ? void 0 : l._$AO) === null || r === void 0 || r.call(l, !1), d === void 0 ? l = void 0 : (l = new d(i), l._$AT(i, t, n)), n !== void 0 ? ((o = (a = t)._$Co) !== null && o !== void 0 ? o : a._$Co = [])[n] = l : t._$Cl = l), l !== void 0 && (e = Z(i, l._$AS(i, e.values), l, n)), e;
6931
6962
  }
6932
- class vo {
6963
+ class No {
6933
6964
  constructor(e, t) {
6934
6965
  this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
6935
6966
  }
@@ -6941,15 +6972,15 @@ class vo {
6941
6972
  }
6942
6973
  u(e) {
6943
6974
  var t;
6944
- const { el: { content: n }, parts: s } = this._$AD, r = ((t = e?.creationScope) !== null && t !== void 0 ? t : H).importNode(n, !0);
6975
+ const { el: { content: n }, parts: s } = this._$AD, r = ((t = e == null ? void 0 : e.creationScope) !== null && t !== void 0 ? t : H).importNode(n, !0);
6945
6976
  I.currentNode = r;
6946
6977
  let o = I.nextNode(), a = 0, l = 0, d = s[0];
6947
6978
  for (; d !== void 0; ) {
6948
6979
  if (a === d.index) {
6949
6980
  let u;
6950
- d.type === 2 ? u = new ve(o, o.nextSibling, this, e) : d.type === 1 ? u = new d.ctor(o, d.name, d.strings, this, e) : d.type === 6 && (u = new xo(o, this, e)), this._$AV.push(u), d = s[++l];
6981
+ d.type === 2 ? u = new ve(o, o.nextSibling, this, e) : d.type === 1 ? u = new d.ctor(o, d.name, d.strings, this, e) : d.type === 6 && (u = new Do(o, this, e)), this._$AV.push(u), d = s[++l];
6951
6982
  }
6952
- a !== d?.index && (o = I.nextNode(), a++);
6983
+ a !== (d == null ? void 0 : d.index) && (o = I.nextNode(), a++);
6953
6984
  }
6954
6985
  return I.currentNode = H, r;
6955
6986
  }
@@ -6961,7 +6992,7 @@ class vo {
6961
6992
  class ve {
6962
6993
  constructor(e, t, n, s) {
6963
6994
  var r;
6964
- this.type = 2, this._$AH = y, this._$AN = void 0, this._$AA = e, this._$AB = t, this._$AM = n, this.options = s, this._$Cp = (r = s?.isConnected) === null || r === void 0 || r;
6995
+ this.type = 2, this._$AH = y, this._$AN = void 0, this._$AA = e, this._$AB = t, this._$AM = n, this.options = s, this._$Cp = (r = s == null ? void 0 : s.isConnected) === null || r === void 0 || r;
6965
6996
  }
6966
6997
  get _$AU() {
6967
6998
  var e, t;
@@ -6970,7 +7001,7 @@ class ve {
6970
7001
  get parentNode() {
6971
7002
  let e = this._$AA.parentNode;
6972
7003
  const t = this._$AM;
6973
- return t !== void 0 && e?.nodeType === 11 && (e = t.parentNode), e;
7004
+ return t !== void 0 && (e == null ? void 0 : e.nodeType) === 11 && (e = t.parentNode), e;
6974
7005
  }
6975
7006
  get startNode() {
6976
7007
  return this._$AA;
@@ -6979,7 +7010,7 @@ class ve {
6979
7010
  return this._$AB;
6980
7011
  }
6981
7012
  _$AI(e, t = this) {
6982
- e = Z(this, e, t), ge(e) ? e === y || e == null || e === "" ? (this._$AH !== y && this._$AR(), this._$AH = y) : e !== this._$AH && e !== X && this._(e) : e._$litType$ !== void 0 ? this.g(e) : e.nodeType !== void 0 ? this.$(e) : yo(e) ? this.T(e) : this._(e);
7013
+ e = Z(this, e, t), ge(e) ? e === y || e == null || e === "" ? (this._$AH !== y && this._$AR(), this._$AH = y) : e !== this._$AH && e !== X && this._(e) : e._$litType$ !== void 0 ? this.g(e) : e.nodeType !== void 0 ? this.$(e) : So(e) ? this.T(e) : this._(e);
6983
7014
  }
6984
7015
  k(e) {
6985
7016
  return this._$AA.parentNode.insertBefore(e, this._$AB);
@@ -6992,19 +7023,19 @@ class ve {
6992
7023
  }
6993
7024
  g(e) {
6994
7025
  var t;
6995
- const { values: n, _$litType$: s } = e, r = typeof s == "number" ? this._$AC(e) : (s.el === void 0 && (s.el = ye.createElement(Os(s.h, s.h[0]), this.options)), s);
7026
+ const { values: n, _$litType$: s } = e, r = typeof s == "number" ? this._$AC(e) : (s.el === void 0 && (s.el = ye.createElement(Ls(s.h, s.h[0]), this.options)), s);
6996
7027
  if (((t = this._$AH) === null || t === void 0 ? void 0 : t._$AD) === r) this._$AH.v(n);
6997
7028
  else {
6998
- const o = new vo(r, this), a = o.u(this.options);
7029
+ const o = new No(r, this), a = o.u(this.options);
6999
7030
  o.v(n), this.$(a), this._$AH = o;
7000
7031
  }
7001
7032
  }
7002
7033
  _$AC(e) {
7003
- let t = zi.get(e.strings);
7004
- return t === void 0 && zi.set(e.strings, t = new ye(e)), t;
7034
+ let t = Vi.get(e.strings);
7035
+ return t === void 0 && Vi.set(e.strings, t = new ye(e)), t;
7005
7036
  }
7006
7037
  T(e) {
7007
- Ts(this._$AH) || (this._$AH = [], this._$AR());
7038
+ Is(this._$AH) || (this._$AH = [], this._$AR());
7008
7039
  const t = this._$AH;
7009
7040
  let n, s = 0;
7010
7041
  for (const r of e) s === t.length ? t.push(n = new ve(this.k(me()), this.k(me()), this, this.options)) : n = t[s], n._$AI(r), s++;
@@ -7039,15 +7070,15 @@ class Ue {
7039
7070
  else {
7040
7071
  const a = e;
7041
7072
  let l, d;
7042
- for (e = r[0], l = 0; l < r.length - 1; l++) d = Z(this, a[n + l], t, l), d === X && (d = this._$AH[l]), o || (o = !ge(d) || d !== this._$AH[l]), d === y ? e = y : e !== y && (e += (d ?? "") + r[l + 1]), this._$AH[l] = d;
7073
+ for (e = r[0], l = 0; l < r.length - 1; l++) d = Z(this, a[n + l], t, l), d === X && (d = this._$AH[l]), o || (o = !ge(d) || d !== this._$AH[l]), d === y ? e = y : e !== y && (e += (d != null ? d : "") + r[l + 1]), this._$AH[l] = d;
7043
7074
  }
7044
7075
  o && !s && this.j(e);
7045
7076
  }
7046
7077
  j(e) {
7047
- e === y ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
7078
+ e === y ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e != null ? e : "");
7048
7079
  }
7049
7080
  }
7050
- class wo extends Ue {
7081
+ class Oo extends Ue {
7051
7082
  constructor() {
7052
7083
  super(...arguments), this.type = 3;
7053
7084
  }
@@ -7055,16 +7086,16 @@ class wo extends Ue {
7055
7086
  this.element[this.name] = e === y ? void 0 : e;
7056
7087
  }
7057
7088
  }
7058
- const Ao = G ? G.emptyScript : "";
7059
- class Eo extends Ue {
7089
+ const Mo = G ? G.emptyScript : "";
7090
+ class ko extends Ue {
7060
7091
  constructor() {
7061
7092
  super(...arguments), this.type = 4;
7062
7093
  }
7063
7094
  j(e) {
7064
- e && e !== y ? this.element.setAttribute(this.name, Ao) : this.element.removeAttribute(this.name);
7095
+ e && e !== y ? this.element.setAttribute(this.name, Mo) : this.element.removeAttribute(this.name);
7065
7096
  }
7066
7097
  }
7067
- class Co extends Ue {
7098
+ class Io extends Ue {
7068
7099
  constructor(e, t, n, s, r) {
7069
7100
  super(e, t, n, s, r), this.type = 5;
7070
7101
  }
@@ -7079,7 +7110,7 @@ class Co extends Ue {
7079
7110
  typeof this._$AH == "function" ? this._$AH.call((n = (t = this.options) === null || t === void 0 ? void 0 : t.host) !== null && n !== void 0 ? n : this.element, e) : this._$AH.handleEvent(e);
7080
7111
  }
7081
7112
  }
7082
- class xo {
7113
+ class Do {
7083
7114
  constructor(e, t, n) {
7084
7115
  this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = n;
7085
7116
  }
@@ -7090,15 +7121,15 @@ class xo {
7090
7121
  Z(this, e);
7091
7122
  }
7092
7123
  }
7093
- const Hi = Ie.litHtmlPolyfillSupport;
7094
- Hi?.(ye, ve), ((tt = Ie.litHtmlVersions) !== null && tt !== void 0 ? tt : Ie.litHtmlVersions = []).push("2.8.0");
7095
- const Po = (i, e, t) => {
7124
+ const ji = Ie.litHtmlPolyfillSupport;
7125
+ ji == null || ji(ye, ve), ((nt = Ie.litHtmlVersions) !== null && nt !== void 0 ? nt : Ie.litHtmlVersions = []).push("2.8.0");
7126
+ const Lo = (i, e, t) => {
7096
7127
  var n, s;
7097
- const r = (n = t?.renderBefore) !== null && n !== void 0 ? n : e;
7128
+ const r = (n = t == null ? void 0 : t.renderBefore) !== null && n !== void 0 ? n : e;
7098
7129
  let o = r._$litPart$;
7099
7130
  if (o === void 0) {
7100
- const a = (s = t?.renderBefore) !== null && s !== void 0 ? s : null;
7101
- r._$litPart$ = o = new ve(e.insertBefore(me(), a), a, void 0, t ?? {});
7131
+ const a = (s = t == null ? void 0 : t.renderBefore) !== null && s !== void 0 ? s : null;
7132
+ r._$litPart$ = o = new ve(e.insertBefore(me(), a), a, void 0, t != null ? t : {});
7102
7133
  }
7103
7134
  return o._$AI(i), o;
7104
7135
  };
@@ -7107,7 +7138,7 @@ const Po = (i, e, t) => {
7107
7138
  * Copyright 2017 Google LLC
7108
7139
  * SPDX-License-Identifier: BSD-3-Clause
7109
7140
  */
7110
- var st, nt;
7141
+ var ot, at;
7111
7142
  class $e extends V {
7112
7143
  constructor() {
7113
7144
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
@@ -7119,7 +7150,7 @@ class $e extends V {
7119
7150
  }
7120
7151
  update(e) {
7121
7152
  const t = this.render();
7122
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = Po(t, this.renderRoot, this.renderOptions);
7153
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = Lo(t, this.renderRoot, this.renderOptions);
7123
7154
  }
7124
7155
  connectedCallback() {
7125
7156
  var e;
@@ -7133,16 +7164,16 @@ class $e extends V {
7133
7164
  return X;
7134
7165
  }
7135
7166
  }
7136
- $e.finalized = !0, $e._$litElement$ = !0, (st = globalThis.litElementHydrateSupport) === null || st === void 0 || st.call(globalThis, { LitElement: $e });
7137
- const Ui = globalThis.litElementPolyfillSupport;
7138
- Ui?.({ LitElement: $e });
7139
- ((nt = globalThis.litElementVersions) !== null && nt !== void 0 ? nt : globalThis.litElementVersions = []).push("3.3.3");
7167
+ $e.finalized = !0, $e._$litElement$ = !0, (ot = globalThis.litElementHydrateSupport) === null || ot === void 0 || ot.call(globalThis, { LitElement: $e });
7168
+ const qi = globalThis.litElementPolyfillSupport;
7169
+ qi == null || qi({ LitElement: $e });
7170
+ ((at = globalThis.litElementVersions) !== null && at !== void 0 ? at : globalThis.litElementVersions = []).push("3.3.3");
7140
7171
  /**
7141
7172
  * @license
7142
7173
  * Copyright (c) 2021 - 2023 Vaadin Ltd..
7143
7174
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7144
7175
  */
7145
- const $o = Ft`
7176
+ const Ro = jt`
7146
7177
  [part='clear-button'] {
7147
7178
  display: none;
7148
7179
  cursor: default;
@@ -7161,7 +7192,7 @@ const $o = Ft`
7161
7192
  * Copyright (c) 2021 - 2023 Vaadin Ltd..
7162
7193
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7163
7194
  */
7164
- const So = Ft`
7195
+ const zo = jt`
7165
7196
  :host {
7166
7197
  display: inline-flex;
7167
7198
  outline: none;
@@ -7201,7 +7232,7 @@ const So = Ft`
7201
7232
  * Copyright (c) 2021 - 2023 Vaadin Ltd..
7202
7233
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7203
7234
  */
7204
- const To = Ft`
7235
+ const Ho = jt`
7205
7236
  [class$='container'] {
7206
7237
  display: flex;
7207
7238
  flex-direction: column;
@@ -7215,13 +7246,13 @@ const To = Ft`
7215
7246
  * Copyright (c) 2021 - 2023 Vaadin Ltd..
7216
7247
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7217
7248
  */
7218
- const Ma = [So, To, $o];
7249
+ const Va = [zo, Ho, Ro];
7219
7250
  /**
7220
7251
  * @license
7221
7252
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
7222
7253
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7223
7254
  */
7224
- class ka extends zt {
7255
+ class ja extends Ft {
7225
7256
  constructor(e, t) {
7226
7257
  super(e, "input", "input", {
7227
7258
  initializer: (n, s) => {
@@ -7236,97 +7267,97 @@ class ka extends zt {
7236
7267
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
7237
7268
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7238
7269
  */
7239
- let Bt = !1;
7270
+ let qt = !1;
7240
7271
  window.addEventListener(
7241
7272
  "keydown",
7242
7273
  () => {
7243
- Bt = !0;
7274
+ qt = !0;
7244
7275
  },
7245
7276
  { capture: !0 }
7246
7277
  );
7247
7278
  window.addEventListener(
7248
7279
  "mousedown",
7249
7280
  () => {
7250
- Bt = !1;
7281
+ qt = !1;
7251
7282
  },
7252
7283
  { capture: !0 }
7253
7284
  );
7254
- function Ia() {
7285
+ function qa() {
7255
7286
  let i = document.activeElement || document.body;
7256
7287
  for (; i.shadowRoot && i.shadowRoot.activeElement; )
7257
7288
  i = i.shadowRoot.activeElement;
7258
7289
  return i;
7259
7290
  }
7260
- function No() {
7261
- return Bt;
7291
+ function Uo() {
7292
+ return qt;
7262
7293
  }
7263
- function Oo(i) {
7294
+ function Fo(i) {
7264
7295
  const e = i.style;
7265
7296
  if (e.visibility === "hidden" || e.display === "none")
7266
7297
  return !0;
7267
7298
  const t = window.getComputedStyle(i);
7268
7299
  return t.visibility === "hidden" || t.display === "none";
7269
7300
  }
7270
- function Mo(i, e) {
7301
+ function Bo(i, e) {
7271
7302
  const t = Math.max(i.tabIndex, 0), n = Math.max(e.tabIndex, 0);
7272
7303
  return t === 0 || n === 0 ? n > t : t > n;
7273
7304
  }
7274
- function ko(i, e) {
7305
+ function Vo(i, e) {
7275
7306
  const t = [];
7276
7307
  for (; i.length > 0 && e.length > 0; )
7277
- Mo(i[0], e[0]) ? t.push(e.shift()) : t.push(i.shift());
7308
+ Bo(i[0], e[0]) ? t.push(e.shift()) : t.push(i.shift());
7278
7309
  return t.concat(i, e);
7279
7310
  }
7280
- function xt(i) {
7311
+ function St(i) {
7281
7312
  const e = i.length;
7282
7313
  if (e < 2)
7283
7314
  return i;
7284
- const t = Math.ceil(e / 2), n = xt(i.slice(0, t)), s = xt(i.slice(t));
7285
- return ko(n, s);
7315
+ const t = Math.ceil(e / 2), n = St(i.slice(0, t)), s = St(i.slice(t));
7316
+ return Vo(n, s);
7286
7317
  }
7287
- function Io(i) {
7318
+ function jo(i) {
7288
7319
  return i.matches('[tabindex="-1"]') ? !1 : i.matches("input, select, textarea, button, object") ? i.matches(":not([disabled])") : i.matches("a[href], area[href], iframe, [tabindex], [contentEditable]");
7289
7320
  }
7290
- function Da(i) {
7321
+ function Ya(i) {
7291
7322
  return i.getRootNode().activeElement === i;
7292
7323
  }
7293
- function Do(i) {
7294
- if (!Io(i))
7324
+ function qo(i) {
7325
+ if (!jo(i))
7295
7326
  return -1;
7296
7327
  const e = i.getAttribute("tabindex") || 0;
7297
7328
  return Number(e);
7298
7329
  }
7299
- function Ms(i, e) {
7300
- if (i.nodeType !== Node.ELEMENT_NODE || Oo(i))
7330
+ function Rs(i, e) {
7331
+ if (i.nodeType !== Node.ELEMENT_NODE || Fo(i))
7301
7332
  return !1;
7302
7333
  const t = (
7303
7334
  /** @type {HTMLElement} */
7304
7335
  i
7305
- ), n = Do(t);
7336
+ ), n = qo(t);
7306
7337
  let s = n > 0;
7307
7338
  n >= 0 && e.push(t);
7308
7339
  let r = [];
7309
7340
  return t.localName === "slot" ? r = t.assignedNodes({ flatten: !0 }) : r = (t.shadowRoot || t).children, [...r].forEach((o) => {
7310
- s = Ms(o, e) || s;
7341
+ s = Rs(o, e) || s;
7311
7342
  }), s;
7312
7343
  }
7313
- function La(i) {
7344
+ function Wa(i) {
7314
7345
  const e = [];
7315
- return Ms(i, e) ? xt(e) : e;
7346
+ return Rs(i, e) ? St(e) : e;
7316
7347
  }
7317
7348
  /**
7318
7349
  * @license
7319
7350
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
7320
7351
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7321
7352
  */
7322
- const Lo = b(
7353
+ const Yo = b(
7323
7354
  (i) => class extends i {
7324
7355
  /**
7325
7356
  * @protected
7326
7357
  * @return {boolean}
7327
7358
  */
7328
7359
  get _keyboardActive() {
7329
- return No();
7360
+ return Uo();
7330
7361
  }
7331
7362
  /** @protected */
7332
7363
  ready() {
@@ -7376,7 +7407,7 @@ const Lo = b(
7376
7407
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
7377
7408
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7378
7409
  */
7379
- const ks = b(
7410
+ const zs = b(
7380
7411
  (i) => class extends i {
7381
7412
  static get properties() {
7382
7413
  return {
@@ -7421,7 +7452,7 @@ const ks = b(
7421
7452
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
7422
7453
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7423
7454
  */
7424
- const Ro = (i) => class extends ks(i) {
7455
+ const Wo = (i) => class extends zs(i) {
7425
7456
  static get properties() {
7426
7457
  return {
7427
7458
  /**
@@ -7472,8 +7503,8 @@ const Ro = (i) => class extends ks(i) {
7472
7503
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
7473
7504
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7474
7505
  */
7475
- const zo = b(
7476
- (i) => class extends Lo(Ro(i)) {
7506
+ const Ko = b(
7507
+ (i) => class extends Yo(Wo(i)) {
7477
7508
  static get properties() {
7478
7509
  return {
7479
7510
  /**
@@ -7629,7 +7660,7 @@ const zo = b(
7629
7660
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
7630
7661
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7631
7662
  */
7632
- const Vt = b(
7663
+ const Yt = b(
7633
7664
  (i) => class extends i {
7634
7665
  /** @protected */
7635
7666
  ready() {
@@ -7691,15 +7722,15 @@ const Vt = b(
7691
7722
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
7692
7723
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7693
7724
  */
7694
- const rt = /* @__PURE__ */ new WeakMap();
7695
- function Ho(i) {
7696
- return rt.has(i) || rt.set(i, /* @__PURE__ */ new Set()), rt.get(i);
7725
+ const lt = /* @__PURE__ */ new WeakMap();
7726
+ function Jo(i) {
7727
+ return lt.has(i) || lt.set(i, /* @__PURE__ */ new Set()), lt.get(i);
7697
7728
  }
7698
- function Uo(i, e) {
7729
+ function Go(i, e) {
7699
7730
  const t = document.createElement("style");
7700
7731
  t.textContent = i, e === document ? document.head.appendChild(t) : e.insertBefore(t, e.firstChild);
7701
7732
  }
7702
- const Fo = b(
7733
+ const Xo = b(
7703
7734
  (i) => class extends i {
7704
7735
  /**
7705
7736
  * List of styles to insert into root.
@@ -7714,9 +7745,9 @@ const Fo = b(
7714
7745
  }
7715
7746
  /** @private */
7716
7747
  __applySlotStyles() {
7717
- const t = this.getRootNode(), n = Ho(t);
7748
+ const t = this.getRootNode(), n = Jo(t);
7718
7749
  this.slotStyles.forEach((s) => {
7719
- n.has(s) || (Uo(s, t), n.add(s));
7750
+ n.has(s) || (Go(s, t), n.add(s));
7720
7751
  });
7721
7752
  }
7722
7753
  }
@@ -7726,13 +7757,13 @@ const Fo = b(
7726
7757
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
7727
7758
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7728
7759
  */
7729
- const Fe = (i) => i.test(navigator.userAgent), Pt = (i) => i.test(navigator.platform), Bo = (i) => i.test(navigator.vendor);
7760
+ const Fe = (i) => i.test(navigator.userAgent), Tt = (i) => i.test(navigator.platform), Zo = (i) => i.test(navigator.vendor);
7730
7761
  Fe(/Android/u);
7731
- Fe(/Chrome/u) && Bo(/Google Inc/u);
7732
- const Va = Fe(/Firefox/u), Vo = Pt(/^iPad/u) || Pt(/^Mac/u) && navigator.maxTouchPoints > 1, jo = Pt(/^iPhone/u), ja = jo || Vo, qa = Fe(/^((?!chrome|android).)*safari/iu), qo = (() => {
7762
+ Fe(/Chrome/u) && Zo(/Google Inc/u);
7763
+ const el = Fe(/Firefox/u), Qo = Tt(/^iPad/u) || Tt(/^Mac/u) && navigator.maxTouchPoints > 1, ea = Tt(/^iPhone/u), tl = ea || Qo, il = Fe(/^((?!chrome|android).)*safari/iu), ta = (() => {
7733
7764
  try {
7734
7765
  return document.createEvent("TouchEvent"), !0;
7735
- } catch {
7766
+ } catch (i) {
7736
7767
  return !1;
7737
7768
  }
7738
7769
  })();
@@ -7741,7 +7772,7 @@ const Va = Fe(/Firefox/u), Vo = Pt(/^iPad/u) || Pt(/^Mac/u) && navigator.maxTouc
7741
7772
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
7742
7773
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7743
7774
  */
7744
- const Is = b(
7775
+ const Hs = b(
7745
7776
  (i) => class extends i {
7746
7777
  static get properties() {
7747
7778
  return {
@@ -7864,7 +7895,7 @@ const Is = b(
7864
7895
  * @protected
7865
7896
  */
7866
7897
  _forwardInputValue(t) {
7867
- this.inputElement && (this._inputElementValue = t ?? "");
7898
+ this.inputElement && (this._inputElementValue = t != null ? t : "");
7868
7899
  }
7869
7900
  /**
7870
7901
  * @param {HTMLElement | undefined} input
@@ -7945,7 +7976,7 @@ const Is = b(
7945
7976
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
7946
7977
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7947
7978
  */
7948
- const Yo = (i) => class extends Is(Vt(i)) {
7979
+ const ia = (i) => class extends Hs(Yt(i)) {
7949
7980
  static get properties() {
7950
7981
  return {
7951
7982
  /**
@@ -7990,7 +8021,7 @@ const Yo = (i) => class extends Is(Vt(i)) {
7990
8021
  * @protected
7991
8022
  */
7992
8023
  _onClearButtonMouseDown(t) {
7993
- t.preventDefault(), qo || this.inputElement.focus();
8024
+ t.preventDefault(), ta || this.inputElement.focus();
7994
8025
  }
7995
8026
  /**
7996
8027
  * Override an event listener inherited from `KeydownMixin` to clear on Esc.
@@ -8020,49 +8051,49 @@ const Yo = (i) => class extends Is(Vt(i)) {
8020
8051
  * Copyright (c) 2023 Vaadin Ltd.
8021
8052
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8022
8053
  */
8023
- const ot = /* @__PURE__ */ new Map();
8024
- function jt(i) {
8025
- return ot.has(i) || ot.set(i, /* @__PURE__ */ new WeakMap()), ot.get(i);
8054
+ const dt = /* @__PURE__ */ new Map();
8055
+ function Wt(i) {
8056
+ return dt.has(i) || dt.set(i, /* @__PURE__ */ new WeakMap()), dt.get(i);
8026
8057
  }
8027
- function Ds(i, e) {
8058
+ function Us(i, e) {
8028
8059
  i && i.removeAttribute(e);
8029
8060
  }
8030
- function Ls(i, e) {
8061
+ function Fs(i, e) {
8031
8062
  if (!i || !e)
8032
8063
  return;
8033
- const t = jt(e);
8064
+ const t = Wt(e);
8034
8065
  if (t.has(i))
8035
8066
  return;
8036
- const n = Rt(i.getAttribute(e));
8067
+ const n = Ut(i.getAttribute(e));
8037
8068
  t.set(i, new Set(n));
8038
8069
  }
8039
- function Wo(i, e) {
8070
+ function sa(i, e) {
8040
8071
  if (!i)
8041
8072
  return;
8042
- const t = jt(e), n = t.get(i);
8043
- !n || n.size === 0 ? i.removeAttribute(e) : xs(i, e, He(n)), t.delete(i);
8073
+ const t = Wt(e), n = t.get(i);
8074
+ !n || n.size === 0 ? i.removeAttribute(e) : Ns(i, e, He(n)), t.delete(i);
8044
8075
  }
8045
- function at(i, e, t = { newId: null, oldId: null, fromUser: !1 }) {
8076
+ function ut(i, e, t = { newId: null, oldId: null, fromUser: !1 }) {
8046
8077
  if (!i || !e)
8047
8078
  return;
8048
- const { newId: n, oldId: s, fromUser: r } = t, o = jt(e), a = o.get(i);
8079
+ const { newId: n, oldId: s, fromUser: r } = t, o = Wt(e), a = o.get(i);
8049
8080
  if (!r && a) {
8050
8081
  s && a.delete(s), n && a.add(n);
8051
8082
  return;
8052
8083
  }
8053
- r && (a ? n || o.delete(i) : Ls(i, e), Ds(i, e)), lo(i, e, s);
8084
+ r && (a ? n || o.delete(i) : Fs(i, e), Us(i, e)), bo(i, e, s);
8054
8085
  const l = n || He(a);
8055
- l && xs(i, e, l);
8086
+ l && Ns(i, e, l);
8056
8087
  }
8057
- function Ko(i, e) {
8058
- Ls(i, e), Ds(i, e);
8088
+ function na(i, e) {
8089
+ Fs(i, e), Us(i, e);
8059
8090
  }
8060
8091
  /**
8061
8092
  * @license
8062
8093
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
8063
8094
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8064
8095
  */
8065
- class Jo {
8096
+ class ra {
8066
8097
  constructor(e) {
8067
8098
  this.host = e, this.__required = !1;
8068
8099
  }
@@ -8135,7 +8166,7 @@ class Jo {
8135
8166
  * @private
8136
8167
  * */
8137
8168
  __setAriaLabelToAttribute(e) {
8138
- this.__target && (e ? (Ko(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", e)) : this.__label && (Wo(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
8169
+ this.__target && (e ? (na(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", e)) : this.__label && (sa(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
8139
8170
  }
8140
8171
  /**
8141
8172
  * @param {string | null | undefined} labelId
@@ -8144,7 +8175,7 @@ class Jo {
8144
8175
  * @private
8145
8176
  */
8146
8177
  __setLabelIdToAriaAttribute(e, t, n) {
8147
- at(this.__target, "aria-labelledby", { newId: e, oldId: t, fromUser: n });
8178
+ ut(this.__target, "aria-labelledby", { newId: e, oldId: t, fromUser: n });
8148
8179
  }
8149
8180
  /**
8150
8181
  * @param {string | null | undefined} errorId
@@ -8152,7 +8183,7 @@ class Jo {
8152
8183
  * @private
8153
8184
  */
8154
8185
  __setErrorIdToAriaAttribute(e, t) {
8155
- at(this.__target, "aria-describedby", { newId: e, oldId: t, fromUser: !1 });
8186
+ ut(this.__target, "aria-describedby", { newId: e, oldId: t, fromUser: !1 });
8156
8187
  }
8157
8188
  /**
8158
8189
  * @param {string | null | undefined} helperId
@@ -8160,7 +8191,7 @@ class Jo {
8160
8191
  * @private
8161
8192
  */
8162
8193
  __setHelperIdToAriaAttribute(e, t) {
8163
- at(this.__target, "aria-describedby", { newId: e, oldId: t, fromUser: !1 });
8194
+ ut(this.__target, "aria-describedby", { newId: e, oldId: t, fromUser: !1 });
8164
8195
  }
8165
8196
  /**
8166
8197
  * @param {boolean} required
@@ -8175,7 +8206,7 @@ class Jo {
8175
8206
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
8176
8207
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8177
8208
  */
8178
- const Rs = b((i) => typeof i.prototype.addController == "function" ? i : class extends i {
8209
+ const Bs = b((i) => typeof i.prototype.addController == "function" ? i : class extends i {
8179
8210
  constructor() {
8180
8211
  super(), this.__controllers = /* @__PURE__ */ new Set();
8181
8212
  }
@@ -8215,9 +8246,9 @@ const Rs = b((i) => typeof i.prototype.addController == "function" ? i : class e
8215
8246
  * Copyright (c) 2022 - 2023 Vaadin Ltd.
8216
8247
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8217
8248
  */
8218
- class qt extends zt {
8249
+ class Kt extends Ft {
8219
8250
  constructor(e, t, n, s = {}) {
8220
- super(e, t, n, { ...s, useUniqueId: !0 });
8251
+ super(e, t, n, je(Ve({}, s), { useUniqueId: !0 }));
8221
8252
  }
8222
8253
  /**
8223
8254
  * Override to initialize the newly added custom node.
@@ -8330,7 +8361,7 @@ class qt extends zt {
8330
8361
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
8331
8362
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8332
8363
  */
8333
- class Go extends qt {
8364
+ class oa extends Kt {
8334
8365
  constructor(e) {
8335
8366
  super(e, "error-message", "div");
8336
8367
  }
@@ -8412,7 +8443,7 @@ class Go extends qt {
8412
8443
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
8413
8444
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8414
8445
  */
8415
- class Xo extends qt {
8446
+ class aa extends Kt {
8416
8447
  constructor(e) {
8417
8448
  super(e, "helper", null);
8418
8449
  }
@@ -8467,7 +8498,7 @@ class Xo extends qt {
8467
8498
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
8468
8499
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8469
8500
  */
8470
- class Zo extends qt {
8501
+ class la extends Kt {
8471
8502
  constructor(e) {
8472
8503
  super(e, "label", "label");
8473
8504
  }
@@ -8520,8 +8551,8 @@ class Zo extends qt {
8520
8551
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
8521
8552
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8522
8553
  */
8523
- const Qo = b(
8524
- (i) => class extends Rs(i) {
8554
+ const da = b(
8555
+ (i) => class extends Bs(i) {
8525
8556
  static get properties() {
8526
8557
  return {
8527
8558
  /**
@@ -8535,7 +8566,7 @@ const Qo = b(
8535
8566
  };
8536
8567
  }
8537
8568
  constructor() {
8538
- super(), this._labelController = new Zo(this), this._labelController.addEventListener("slot-content-changed", (t) => {
8569
+ super(), this._labelController = new la(this), this._labelController.addEventListener("slot-content-changed", (t) => {
8539
8570
  this.toggleAttribute("has-label", t.detail.hasContent);
8540
8571
  });
8541
8572
  }
@@ -8563,7 +8594,7 @@ const Qo = b(
8563
8594
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
8564
8595
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8565
8596
  */
8566
- const zs = b(
8597
+ const Vs = b(
8567
8598
  (i) => class extends i {
8568
8599
  static get properties() {
8569
8600
  return {
@@ -8635,7 +8666,7 @@ const zs = b(
8635
8666
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
8636
8667
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8637
8668
  */
8638
- const ea = (i) => class extends zs(Qo(Rs(i))) {
8669
+ const ua = (i) => class extends Vs(da(Bs(i))) {
8639
8670
  static get properties() {
8640
8671
  return {
8641
8672
  /**
@@ -8685,7 +8716,7 @@ const ea = (i) => class extends zs(Qo(Rs(i))) {
8685
8716
  return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
8686
8717
  }
8687
8718
  constructor() {
8688
- super(), this._fieldAriaController = new Jo(this), this._helperController = new Xo(this), this._errorController = new Go(this), this._errorController.addEventListener("slot-content-changed", (t) => {
8719
+ super(), this._fieldAriaController = new ra(this), this._helperController = new aa(this), this._errorController = new oa(this), this._errorController.addEventListener("slot-content-changed", (t) => {
8689
8720
  this.toggleAttribute("has-error-message", t.detail.hasContent);
8690
8721
  }), this._labelController.addEventListener("slot-content-changed", (t) => {
8691
8722
  const { hasContent: n, node: s } = t.detail;
@@ -8776,7 +8807,7 @@ const ea = (i) => class extends zs(Qo(Rs(i))) {
8776
8807
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
8777
8808
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8778
8809
  */
8779
- const ta = b(
8810
+ const ca = b(
8780
8811
  (i) => class extends i {
8781
8812
  static get properties() {
8782
8813
  return {
@@ -8857,8 +8888,8 @@ const ta = b(
8857
8888
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
8858
8889
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8859
8890
  */
8860
- const ia = b(
8861
- (i) => class extends ta(zs(Is(i))) {
8891
+ const ha = b(
8892
+ (i) => class extends ca(Vs(Hs(i))) {
8862
8893
  /**
8863
8894
  * An array of attributes which participate in the input validation.
8864
8895
  * Changing these attributes will cause the input to re-validate.
@@ -8942,8 +8973,8 @@ const ia = b(
8942
8973
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
8943
8974
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8944
8975
  */
8945
- const el = (i) => class extends Fo(
8946
- zo(ia(ea(Yo(Vt(i)))))
8976
+ const cl = (i) => class extends Xo(
8977
+ Ko(ha(ua(ia(Yt(i)))))
8947
8978
  ) {
8948
8979
  static get properties() {
8949
8980
  return {
@@ -9075,7 +9106,7 @@ const el = (i) => class extends Fo(
9075
9106
  }
9076
9107
  /** @protected */
9077
9108
  _markInputPrevented() {
9078
- this.setAttribute("input-prevented", ""), this._preventInputDebouncer = _e.debounce(this._preventInputDebouncer, so.after(200), () => {
9109
+ this.setAttribute("input-prevented", ""), this._preventInputDebouncer = _e.debounce(this._preventInputDebouncer, po.after(200), () => {
9079
9110
  this.removeAttribute("input-prevented");
9080
9111
  });
9081
9112
  }
@@ -9129,7 +9160,7 @@ const el = (i) => class extends Fo(
9129
9160
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
9130
9161
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
9131
9162
  */
9132
- class il {
9163
+ class fl {
9133
9164
  constructor(e, t) {
9134
9165
  this.input = e, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), t.addEventListener("slot-content-changed", (n) => {
9135
9166
  this.__initLabel(n.detail.node);
@@ -9157,33 +9188,33 @@ class il {
9157
9188
  this.input.addEventListener("click", e);
9158
9189
  }
9159
9190
  }
9160
- const sa = (i) => i, Hs = typeof document.head.style.touchAction == "string", $t = "__polymerGestures", lt = "__polymerGesturesHandled", St = "__polymerGesturesTouchAction", Fi = 25, Bi = 5, na = 2, ra = ["mousedown", "mousemove", "mouseup", "click"], oa = [0, 1, 4, 2], aa = function() {
9191
+ const fa = (i) => i, js = typeof document.head.style.touchAction == "string", Nt = "__polymerGestures", ct = "__polymerGesturesHandled", Ot = "__polymerGesturesTouchAction", Yi = 25, Wi = 5, pa = 2, _a = ["mousedown", "mousemove", "mouseup", "click"], ma = [0, 1, 4, 2], ga = function() {
9161
9192
  try {
9162
9193
  return new MouseEvent("test", { buttons: 1 }).buttons === 1;
9163
- } catch {
9194
+ } catch (i) {
9164
9195
  return !1;
9165
9196
  }
9166
9197
  }();
9167
- function Yt(i) {
9168
- return ra.indexOf(i) > -1;
9198
+ function Jt(i) {
9199
+ return _a.indexOf(i) > -1;
9169
9200
  }
9170
- let la = !1;
9201
+ let ya = !1;
9171
9202
  (function() {
9172
9203
  try {
9173
9204
  const i = Object.defineProperty({}, "passive", {
9174
9205
  // eslint-disable-next-line getter-return
9175
9206
  get() {
9176
- la = !0;
9207
+ ya = !0;
9177
9208
  }
9178
9209
  });
9179
9210
  window.addEventListener("test", null, i), window.removeEventListener("test", null, i);
9180
- } catch {
9211
+ } catch (i) {
9181
9212
  }
9182
9213
  })();
9183
- function da(i) {
9184
- Yt(i);
9214
+ function ba(i) {
9215
+ Jt(i);
9185
9216
  }
9186
- const ua = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), ca = {
9217
+ const va = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), wa = {
9187
9218
  button: !0,
9188
9219
  command: !0,
9189
9220
  fieldset: !0,
@@ -9196,15 +9227,15 @@ const ua = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), ca = {
9196
9227
  };
9197
9228
  function R(i) {
9198
9229
  const e = i.type;
9199
- if (!Yt(e))
9230
+ if (!Jt(e))
9200
9231
  return !1;
9201
9232
  if (e === "mousemove") {
9202
9233
  let n = i.buttons === void 0 ? 1 : i.buttons;
9203
- return i instanceof window.MouseEvent && !aa && (n = oa[i.which] || 0), !!(n & 1);
9234
+ return i instanceof window.MouseEvent && !ga && (n = ma[i.which] || 0), !!(n & 1);
9204
9235
  }
9205
9236
  return (i.button === void 0 ? 0 : i.button) === 0;
9206
9237
  }
9207
- function ha(i) {
9238
+ function Aa(i) {
9208
9239
  if (i.type === "click") {
9209
9240
  if (i.detail === 0)
9210
9241
  return !0;
@@ -9232,24 +9263,24 @@ const P = {
9232
9263
  scrollDecided: !1
9233
9264
  }
9234
9265
  };
9235
- function fa(i) {
9266
+ function Ea(i) {
9236
9267
  let e = "auto";
9237
- const t = Fs(i);
9268
+ const t = Ys(i);
9238
9269
  for (let n = 0, s; n < t.length; n++)
9239
- if (s = t[n], s[St]) {
9240
- e = s[St];
9270
+ if (s = t[n], s[Ot]) {
9271
+ e = s[Ot];
9241
9272
  break;
9242
9273
  }
9243
9274
  return e;
9244
9275
  }
9245
- function Us(i, e, t) {
9276
+ function qs(i, e, t) {
9246
9277
  i.movefn = e, i.upfn = t, document.addEventListener("mousemove", e), document.addEventListener("mouseup", t);
9247
9278
  }
9248
9279
  function Y(i) {
9249
9280
  document.removeEventListener("mousemove", i.movefn), document.removeEventListener("mouseup", i.upfn), i.movefn = null, i.upfn = null;
9250
9281
  }
9251
- const Fs = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (i) => i.composedPath && i.composedPath() || [], Wt = {}, D = [];
9252
- function pa(i, e) {
9282
+ const Ys = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (i) => i.composedPath && i.composedPath() || [], Gt = {}, D = [];
9283
+ function Ca(i, e) {
9253
9284
  let t = document.elementFromPoint(i, e), n = t;
9254
9285
  for (; n && n.shadowRoot && !window.ShadyDOM; ) {
9255
9286
  const s = n;
@@ -9260,26 +9291,26 @@ function pa(i, e) {
9260
9291
  return t;
9261
9292
  }
9262
9293
  function T(i) {
9263
- const e = Fs(
9294
+ const e = Ys(
9264
9295
  /** @type {?Event} */
9265
9296
  i
9266
9297
  );
9267
9298
  return e.length > 0 ? e[0] : i.target;
9268
9299
  }
9269
- function _a(i) {
9270
- const e = i.type, n = i.currentTarget[$t];
9300
+ function xa(i) {
9301
+ const e = i.type, n = i.currentTarget[Nt];
9271
9302
  if (!n)
9272
9303
  return;
9273
9304
  const s = n[e];
9274
9305
  if (!s)
9275
9306
  return;
9276
- if (!i[lt] && (i[lt] = {}, e.startsWith("touch"))) {
9307
+ if (!i[ct] && (i[ct] = {}, e.startsWith("touch"))) {
9277
9308
  const o = i.changedTouches[0];
9278
9309
  if (e === "touchstart" && i.touches.length === 1 && (P.touch.id = o.identifier), P.touch.id !== o.identifier)
9279
9310
  return;
9280
- Hs || (e === "touchstart" || e === "touchmove") && ma(i);
9311
+ js || (e === "touchstart" || e === "touchmove") && Pa(i);
9281
9312
  }
9282
- const r = i[lt];
9313
+ const r = i[ct];
9283
9314
  if (!r.skip) {
9284
9315
  for (let o = 0, a; o < D.length; o++)
9285
9316
  a = D[o], s[a.name] && !r[a.name] && a.flow && a.flow.start.indexOf(i.type) > -1 && a.reset && a.reset();
@@ -9287,7 +9318,7 @@ function _a(i) {
9287
9318
  a = D[o], s[a.name] && !r[a.name] && (r[a.name] = !0, a[e](i));
9288
9319
  }
9289
9320
  }
9290
- function ma(i) {
9321
+ function Pa(i) {
9291
9322
  const e = i.changedTouches[0], t = i.type;
9292
9323
  if (t === "touchstart")
9293
9324
  P.touch.x = e.clientX, P.touch.y = e.clientY, P.touch.scrollDecided = !1;
@@ -9295,29 +9326,29 @@ function ma(i) {
9295
9326
  if (P.touch.scrollDecided)
9296
9327
  return;
9297
9328
  P.touch.scrollDecided = !0;
9298
- const n = fa(i);
9329
+ const n = Ea(i);
9299
9330
  let s = !1;
9300
9331
  const r = Math.abs(P.touch.x - e.clientX), o = Math.abs(P.touch.y - e.clientY);
9301
9332
  i.cancelable && (n === "none" ? s = !0 : n === "pan-x" ? s = o > r : n === "pan-y" && (s = r > o)), s ? i.preventDefault() : De("track");
9302
9333
  }
9303
9334
  }
9304
- function Vi(i, e, t) {
9305
- return Wt[e] ? (ga(i, e, t), !0) : !1;
9335
+ function Ki(i, e, t) {
9336
+ return Gt[e] ? ($a(i, e, t), !0) : !1;
9306
9337
  }
9307
- function ga(i, e, t) {
9308
- const n = Wt[e], s = n.deps, r = n.name;
9309
- let o = i[$t];
9310
- o || (i[$t] = o = {});
9338
+ function $a(i, e, t) {
9339
+ const n = Gt[e], s = n.deps, r = n.name;
9340
+ let o = i[Nt];
9341
+ o || (i[Nt] = o = {});
9311
9342
  for (let a = 0, l, d; a < s.length; a++)
9312
- l = s[a], !(ua && Yt(l) && l !== "click") && (d = o[l], d || (o[l] = d = { _count: 0 }), d._count === 0 && i.addEventListener(l, _a, da(l)), d[r] = (d[r] || 0) + 1, d._count = (d._count || 0) + 1);
9313
- i.addEventListener(e, t), n.touchAction && ba(i, n.touchAction);
9343
+ l = s[a], !(va && Jt(l) && l !== "click") && (d = o[l], d || (o[l] = d = { _count: 0 }), d._count === 0 && i.addEventListener(l, xa, ba(l)), d[r] = (d[r] || 0) + 1, d._count = (d._count || 0) + 1);
9344
+ i.addEventListener(e, t), n.touchAction && Ta(i, n.touchAction);
9314
9345
  }
9315
- function Kt(i) {
9346
+ function Xt(i) {
9316
9347
  D.push(i), i.emits.forEach((e) => {
9317
- Wt[e] = i;
9348
+ Gt[e] = i;
9318
9349
  });
9319
9350
  }
9320
- function ya(i) {
9351
+ function Sa(i) {
9321
9352
  for (let e = 0, t; e < D.length; e++) {
9322
9353
  t = D[e];
9323
9354
  for (let n = 0, s; n < t.emits.length; n++)
@@ -9326,14 +9357,14 @@ function ya(i) {
9326
9357
  }
9327
9358
  return null;
9328
9359
  }
9329
- function ba(i, e) {
9330
- Hs && i instanceof HTMLElement && ro.run(() => {
9360
+ function Ta(i, e) {
9361
+ js && i instanceof HTMLElement && mo.run(() => {
9331
9362
  i.style.touchAction = e;
9332
- }), i[St] = e;
9363
+ }), i[Ot] = e;
9333
9364
  }
9334
- function Jt(i, e, t) {
9365
+ function Zt(i, e, t) {
9335
9366
  const n = new Event(e, { bubbles: !0, cancelable: !0, composed: !0 });
9336
- if (n.detail = t, sa(
9367
+ if (n.detail = t, fa(
9337
9368
  /** @type {!Node} */
9338
9369
  i
9339
9370
  ).dispatchEvent(n), n.defaultPrevented) {
@@ -9342,10 +9373,10 @@ function Jt(i, e, t) {
9342
9373
  }
9343
9374
  }
9344
9375
  function De(i) {
9345
- const e = ya(i);
9376
+ const e = Sa(i);
9346
9377
  e.info && (e.info.prevent = !0);
9347
9378
  }
9348
- Kt({
9379
+ Xt({
9349
9380
  name: "downup",
9350
9381
  deps: ["mousedown", "touchstart", "touchend"],
9351
9382
  flow: {
@@ -9377,7 +9408,7 @@ Kt({
9377
9408
  }, s = (r) => {
9378
9409
  R(r) && se("up", e, r), Y(t.info);
9379
9410
  };
9380
- Us(this.info, n, s), se("down", e, i);
9411
+ qs(this.info, n, s), se("down", e, i);
9381
9412
  },
9382
9413
  /**
9383
9414
  * @this {GestureRecognizer}
@@ -9397,7 +9428,7 @@ Kt({
9397
9428
  }
9398
9429
  });
9399
9430
  function se(i, e, t, n) {
9400
- e && Jt(e, i, {
9431
+ e && Zt(e, i, {
9401
9432
  x: t.clientX,
9402
9433
  y: t.clientY,
9403
9434
  sourceEvent: t,
@@ -9407,7 +9438,7 @@ function se(i, e, t, n) {
9407
9438
  }
9408
9439
  });
9409
9440
  }
9410
- Kt({
9441
+ Xt({
9411
9442
  name: "track",
9412
9443
  touchAction: "none",
9413
9444
  deps: ["mousedown", "touchstart", "touchmove", "touchend"],
@@ -9424,7 +9455,7 @@ Kt({
9424
9455
  moves: [],
9425
9456
  /** @this {GestureInfo} */
9426
9457
  addMove(i) {
9427
- this.moves.length > na && this.moves.shift(), this.moves.push(i);
9458
+ this.moves.length > pa && this.moves.shift(), this.moves.push(i);
9428
9459
  },
9429
9460
  movefn: null,
9430
9461
  upfn: null,
@@ -9447,11 +9478,11 @@ Kt({
9447
9478
  return;
9448
9479
  const e = T(i), t = this, n = (r) => {
9449
9480
  const o = r.clientX, a = r.clientY;
9450
- ji(t.info, o, a) && (t.info.state = t.info.started ? r.type === "mouseup" ? "end" : "track" : "start", t.info.state === "start" && De("tap"), t.info.addMove({ x: o, y: a }), R(r) || (t.info.state = "end", Y(t.info)), e && dt(t.info, e, r), t.info.started = !0);
9481
+ Ji(t.info, o, a) && (t.info.state = t.info.started ? r.type === "mouseup" ? "end" : "track" : "start", t.info.state === "start" && De("tap"), t.info.addMove({ x: o, y: a }), R(r) || (t.info.state = "end", Y(t.info)), e && ht(t.info, e, r), t.info.started = !0);
9451
9482
  }, s = (r) => {
9452
9483
  t.info.started && n(r), Y(t.info);
9453
9484
  };
9454
- Us(this.info, n, s), this.info.x = i.clientX, this.info.y = i.clientY;
9485
+ qs(this.info, n, s), this.info.x = i.clientX, this.info.y = i.clientY;
9455
9486
  },
9456
9487
  /**
9457
9488
  * @this {GestureRecognizer}
@@ -9469,7 +9500,7 @@ Kt({
9469
9500
  */
9470
9501
  touchmove(i) {
9471
9502
  const e = T(i), t = i.changedTouches[0], n = t.clientX, s = t.clientY;
9472
- ji(this.info, n, s) && (this.info.state === "start" && De("tap"), this.info.addMove({ x: n, y: s }), dt(this.info, e, t), this.info.state = "track", this.info.started = !0);
9503
+ Ji(this.info, n, s) && (this.info.state === "start" && De("tap"), this.info.addMove({ x: n, y: s }), ht(this.info, e, t), this.info.state = "track", this.info.started = !0);
9473
9504
  },
9474
9505
  /**
9475
9506
  * @this {GestureRecognizer}
@@ -9478,23 +9509,23 @@ Kt({
9478
9509
  */
9479
9510
  touchend(i) {
9480
9511
  const e = T(i), t = i.changedTouches[0];
9481
- this.info.started && (this.info.state = "end", this.info.addMove({ x: t.clientX, y: t.clientY }), dt(this.info, e, t));
9512
+ this.info.started && (this.info.state = "end", this.info.addMove({ x: t.clientX, y: t.clientY }), ht(this.info, e, t));
9482
9513
  }
9483
9514
  });
9484
- function ji(i, e, t) {
9515
+ function Ji(i, e, t) {
9485
9516
  if (i.prevent)
9486
9517
  return !1;
9487
9518
  if (i.started)
9488
9519
  return !0;
9489
9520
  const n = Math.abs(i.x - e), s = Math.abs(i.y - t);
9490
- return n >= Bi || s >= Bi;
9521
+ return n >= Wi || s >= Wi;
9491
9522
  }
9492
- function dt(i, e, t) {
9523
+ function ht(i, e, t) {
9493
9524
  if (!e)
9494
9525
  return;
9495
9526
  const n = i.moves[i.moves.length - 2], s = i.moves[i.moves.length - 1], r = s.x - i.x, o = s.y - i.y;
9496
9527
  let a, l = 0;
9497
- n && (a = s.x - n.x, l = s.y - n.y), Jt(e, "track", {
9528
+ n && (a = s.x - n.x, l = s.y - n.y), Zt(e, "track", {
9498
9529
  state: i.state,
9499
9530
  x: t.clientX,
9500
9531
  y: t.clientY,
@@ -9504,11 +9535,11 @@ function dt(i, e, t) {
9504
9535
  ddy: l,
9505
9536
  sourceEvent: t,
9506
9537
  hover() {
9507
- return pa(t.clientX, t.clientY);
9538
+ return Ca(t.clientX, t.clientY);
9508
9539
  }
9509
9540
  });
9510
9541
  }
9511
- Kt({
9542
+ Xt({
9512
9543
  name: "tap",
9513
9544
  deps: ["mousedown", "click", "touchstart", "touchend"],
9514
9545
  flow: {
@@ -9542,7 +9573,7 @@ Kt({
9542
9573
  * @return {void}
9543
9574
  */
9544
9575
  click(i) {
9545
- R(i) && qi(this.info, i);
9576
+ R(i) && Gi(this.info, i);
9546
9577
  },
9547
9578
  /**
9548
9579
  * @this {GestureRecognizer}
@@ -9559,15 +9590,15 @@ Kt({
9559
9590
  * @return {void}
9560
9591
  */
9561
9592
  touchend(i) {
9562
- qi(this.info, i.changedTouches[0], i);
9593
+ Gi(this.info, i.changedTouches[0], i);
9563
9594
  }
9564
9595
  });
9565
- function qi(i, e, t) {
9596
+ function Gi(i, e, t) {
9566
9597
  const n = Math.abs(e.clientX - i.x), s = Math.abs(e.clientY - i.y), r = T(t || e);
9567
- !r || ca[
9598
+ !r || wa[
9568
9599
  /** @type {!HTMLElement} */
9569
9600
  r.localName
9570
- ] && r.hasAttribute("disabled") || (isNaN(n) || isNaN(s) || n <= Fi && s <= Fi || ha(e)) && (i.prevent || Jt(r, "tap", {
9601
+ ] && r.hasAttribute("disabled") || (isNaN(n) || isNaN(s) || n <= Yi && s <= Yi || Aa(e)) && (i.prevent || Zt(r, "tap", {
9571
9602
  x: e.clientX,
9572
9603
  y: e.clientY,
9573
9604
  sourceEvent: e,
@@ -9579,7 +9610,7 @@ function qi(i, e, t) {
9579
9610
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
9580
9611
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
9581
9612
  */
9582
- const sl = (i) => class extends ks(Vt(i)) {
9613
+ const pl = (i) => class extends zs(Yt(i)) {
9583
9614
  /**
9584
9615
  * An array of activation keys.
9585
9616
  *
@@ -9594,9 +9625,9 @@ const sl = (i) => class extends ks(Vt(i)) {
9594
9625
  }
9595
9626
  /** @protected */
9596
9627
  ready() {
9597
- super.ready(), Vi(this, "down", (t) => {
9628
+ super.ready(), Ki(this, "down", (t) => {
9598
9629
  this._shouldSetActive(t) && this._setActive(!0);
9599
- }), Vi(this, "up", () => {
9630
+ }), Ki(this, "up", () => {
9600
9631
  this._setActive(!1);
9601
9632
  });
9602
9633
  }
@@ -9638,63 +9669,63 @@ const sl = (i) => class extends ks(Vt(i)) {
9638
9669
  }
9639
9670
  };
9640
9671
  export {
9641
- vn as $,
9642
- sl as A,
9672
+ Nn as $,
9673
+ pl as A,
9643
9674
  _e as B,
9644
- Rs as C,
9645
- ks as D,
9646
- Sa as E,
9647
- ea as F,
9648
- so as G,
9649
- ia as H,
9650
- el as I,
9651
- Ma as J,
9652
- Vt as K,
9653
- il as L,
9654
- ro as M,
9655
- no as N,
9656
- Pa as O,
9657
- jr as P,
9658
- $a as Q,
9659
- oo as R,
9660
- co as S,
9661
- Oa as T,
9662
- qa as U,
9663
- zs as V,
9664
- Da as W,
9665
- qo as X,
9666
- Ia as Y,
9667
- pt as Z,
9668
- Cn as _,
9675
+ Bs as C,
9676
+ zs as D,
9677
+ Ha as E,
9678
+ ua as F,
9679
+ po as G,
9680
+ ha as H,
9681
+ cl as I,
9682
+ Va as J,
9683
+ Yt as K,
9684
+ fl as L,
9685
+ mo as M,
9686
+ _o as N,
9687
+ Ra as O,
9688
+ eo as P,
9689
+ za as Q,
9690
+ go as R,
9691
+ wo as S,
9692
+ Ba as T,
9693
+ il as U,
9694
+ Vs as V,
9695
+ Ya as W,
9696
+ ta as X,
9697
+ qa as Y,
9698
+ gt as Z,
9699
+ In as _,
9669
9700
  b as a,
9670
- As as a0,
9671
- La as a1,
9672
- Va as a2,
9673
- fo as a3,
9674
- xn as a4,
9675
- Lo as b,
9676
- un as c,
9677
- Yi as d,
9678
- Rr as e,
9679
- ka as f,
9680
- cn as g,
9681
- Vr as h,
9701
+ $s as a0,
9702
+ Wa as a1,
9703
+ el as a2,
9704
+ Eo as a3,
9705
+ Dn as a4,
9706
+ Yo as b,
9707
+ vn as c,
9708
+ Xi as d,
9709
+ Wr as e,
9710
+ ja as f,
9711
+ wn as g,
9712
+ Qr as h,
9682
9713
  N as i,
9683
- ta as j,
9684
- Is as k,
9685
- Qo as l,
9686
- zo as m,
9687
- Ro as n,
9688
- ja as o,
9689
- Na as p,
9690
- Ea as q,
9691
- Mt as r,
9692
- Aa as s,
9714
+ ca as j,
9715
+ Hs as k,
9716
+ da as l,
9717
+ Ko as m,
9718
+ Wo as n,
9719
+ tl as o,
9720
+ Fa as p,
9721
+ Ia as q,
9722
+ Dt as r,
9723
+ ka as s,
9693
9724
  Oe as t,
9694
- Ca as u,
9695
- Bn as v,
9725
+ Da as u,
9726
+ Zn as v,
9696
9727
  L as w,
9697
- Vi as x,
9698
- ba as y,
9699
- zt as z
9728
+ Ki as x,
9729
+ Ta as y,
9730
+ Ft as z
9700
9731
  };