@covalent/components 8.4.0 → 8.5.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.
@@ -1,403 +1,405 @@
1
- var Qt = Object.defineProperty;
2
- var te = (t, e, i) => e in t ? Qt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i;
3
- var p = (t, e, i) => (te(t, typeof e != "symbol" ? e + "" : e, i), i);
4
- import { s as ee, x as q, i as ie, r as ne, e as re } from "./query-assigned-elements-4a39219d.mjs";
5
- import { a as oe } from "./utils-2932417c.mjs";
6
- import { _ as U, a as S, c as B, d as L, e as ae, f as ce } from "./tslib.es6-226581a4.mjs";
7
- import { n as x } from "./property-9b6ea53b.mjs";
8
- import { i as le } from "./query-d843aa92.mjs";
9
- import { o as se } from "./class-map-4b94b017.mjs";
10
- import { g } from "./_commonjsHelpers-de2741aa.mjs";
11
- var D = {};
1
+ var Xt = Object.defineProperty;
2
+ var Yt = (e, i, t) => i in e ? Xt(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t;
3
+ var u = (e, i, t) => (Yt(e, typeof i != "symbol" ? i + "" : i, t), t);
4
+ import { s as Zt, x as j, i as Vt, r as Jt, e as Qt } from "./query-assigned-elements-4a39219d.mjs";
5
+ import { a as te } from "./utils-2932417c.mjs";
6
+ import { d as C, e as ee, f as ie, _ as N, a as b, c as U } from "./tslib.es6-226581a4.mjs";
7
+ import { A as ne, K as _, n as re, i as oe } from "./keyboard-983b121c.mjs";
8
+ import { M as Q } from "./foundation-2334d146.mjs";
9
+ import { n as L } from "./property-9b6ea53b.mjs";
10
+ import { i as ae } from "./query-d843aa92.mjs";
11
+ import { o as ce } from "./class-map-4b94b017.mjs";
12
+ import { g as m } from "./_commonjsHelpers-de2741aa.mjs";
13
+ var T = {};
12
14
  /**
13
15
  * @license
14
16
  * SPDX-License-Identifier: Apache-2.0
15
17
  */
16
- const w = {};
17
- function de(t) {
18
- if (t !== w)
18
+ const A = {};
19
+ function le(e) {
20
+ if (e !== A)
19
21
  throw new Error("Bad secret");
20
22
  }
21
23
  /**
22
24
  * @license
23
25
  * SPDX-License-Identifier: Apache-2.0
24
26
  */
25
- class Ct {
27
+ class Rt {
26
28
  constructor() {
27
29
  // @ts-ignore: error TS6133: 'brand' is declared but its value is never read.
28
- p(this, "brand");
30
+ u(this, "brand");
29
31
  }
30
32
  // To prevent structural typing.
31
33
  }
32
- class Nt extends Ct {
33
- constructor(i, n) {
34
+ class Dt extends Rt {
35
+ constructor(t, n) {
34
36
  super();
35
- p(this, "privateDoNotAccessOrElseWrappedAttrPrefix");
36
- this.privateDoNotAccessOrElseWrappedAttrPrefix = i;
37
+ u(this, "privateDoNotAccessOrElseWrappedAttrPrefix");
38
+ this.privateDoNotAccessOrElseWrappedAttrPrefix = t;
37
39
  }
38
40
  toString() {
39
41
  return this.privateDoNotAccessOrElseWrappedAttrPrefix;
40
42
  }
41
43
  }
42
- function Lt(t) {
43
- return new Nt(t, w);
44
+ function Ct(e) {
45
+ return new Dt(e, A);
44
46
  }
45
- function Ft(t) {
46
- if (t instanceof Nt)
47
- return t.privateDoNotAccessOrElseWrappedAttrPrefix;
47
+ function Ot(e) {
48
+ if (e instanceof Dt)
49
+ return e.privateDoNotAccessOrElseWrappedAttrPrefix;
48
50
  {
49
- let e = "";
50
- throw new Error(e);
51
+ let i = "";
52
+ throw new Error(i);
51
53
  }
52
54
  }
53
- const ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
55
+ const se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
54
56
  __proto__: null,
55
- SafeAttributePrefix: Ct,
56
- createAttributePrefix: Lt,
57
- unwrapAttributePrefix: Ft
57
+ SafeAttributePrefix: Rt,
58
+ createAttributePrefix: Ct,
59
+ unwrapAttributePrefix: Ot
58
60
  }, Symbol.toStringTag, { value: "Module" }));
59
61
  /**
60
62
  * @license
61
63
  * SPDX-License-Identifier: Apache-2.0
62
64
  */
63
- function pe(t) {
64
- const e = t[0].toLowerCase();
65
- return Lt(e);
65
+ function de(e) {
66
+ const i = e[0].toLowerCase();
67
+ return Ct(i);
66
68
  }
67
- const he = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
69
+ const ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
68
70
  __proto__: null,
69
- safeAttrPrefix: pe
70
- }, Symbol.toStringTag, { value: "Module" })), me = /* @__PURE__ */ g(he);
71
+ safeAttrPrefix: de
72
+ }, Symbol.toStringTag, { value: "Module" })), pe = /* @__PURE__ */ m(ue);
71
73
  /**
72
74
  * @license
73
75
  * SPDX-License-Identifier: Apache-2.0
74
76
  */
75
- let zt = "google#safe";
76
- function fe() {
77
+ let Pt = "google#safe";
78
+ function he() {
77
79
  if (typeof window < "u")
78
80
  return window.trustedTypes;
79
81
  }
80
- function $() {
81
- return zt !== "" ? fe() ?? null : null;
82
+ function G() {
83
+ return Pt !== "" ? he() ?? null : null;
82
84
  }
83
- let V;
84
- function at() {
85
- var t;
86
- if (V === void 0)
85
+ let q;
86
+ function it() {
87
+ var e;
88
+ if (q === void 0)
87
89
  try {
88
- V = ((t = $()) == null ? void 0 : t.createPolicy(zt, {
89
- createHTML: (e) => e,
90
- createScript: (e) => e,
91
- createScriptURL: (e) => e
90
+ q = ((e = G()) == null ? void 0 : e.createPolicy(Pt, {
91
+ createHTML: (i) => i,
92
+ createScript: (i) => i,
93
+ createScriptURL: (i) => i
92
94
  })) ?? null;
93
95
  } catch {
94
- V = null;
96
+ q = null;
95
97
  }
96
- return V;
98
+ return q;
97
99
  }
98
100
  /**
99
101
  * @license
100
102
  * SPDX-License-Identifier: Apache-2.0
101
103
  */
102
- class ct {
103
- constructor(e, i) {
104
- p(this, "privateDoNotAccessOrElseWrappedHtml");
105
- this.privateDoNotAccessOrElseWrappedHtml = e;
104
+ class nt {
105
+ constructor(i, t) {
106
+ u(this, "privateDoNotAccessOrElseWrappedHtml");
107
+ this.privateDoNotAccessOrElseWrappedHtml = i;
106
108
  }
107
109
  toString() {
108
110
  return this.privateDoNotAccessOrElseWrappedHtml.toString();
109
111
  }
110
112
  }
111
- function Ut(t, e) {
112
- return e ?? new ct(t, w);
113
- }
114
- const ve = typeof window !== void 0 ? window.TrustedHTML : void 0, xt = ve ?? ct;
115
- function H(t) {
116
- var i;
117
- const e = t;
118
- return Ut(e, (i = at()) == null ? void 0 : i.createHTML(e));
113
+ function Nt(e, i) {
114
+ return i ?? new nt(e, A);
119
115
  }
120
- const ge = /* @__PURE__ */ (() => {
116
+ const me = typeof window !== void 0 ? window.TrustedHTML : void 0, Lt = me ?? nt;
117
+ function F(e) {
121
118
  var t;
122
- return Ut("", (t = $()) == null ? void 0 : t.emptyHTML);
123
- })();
124
- function _e(t) {
125
- return t instanceof xt;
119
+ const i = e;
120
+ return Nt(i, (t = it()) == null ? void 0 : t.createHTML(i));
126
121
  }
127
- function lt(t) {
122
+ const fe = /* @__PURE__ */ (() => {
128
123
  var e;
129
- if ((e = $()) != null && e.isHTML(t))
130
- return t;
131
- if (t instanceof ct)
132
- return t.privateDoNotAccessOrElseWrappedHtml;
124
+ return Nt("", (e = G()) == null ? void 0 : e.emptyHTML);
125
+ })();
126
+ function ve(e) {
127
+ return e instanceof Lt;
128
+ }
129
+ function rt(e) {
130
+ var i;
131
+ if ((i = G()) != null && i.isHTML(e))
132
+ return e;
133
+ if (e instanceof nt)
134
+ return e.privateDoNotAccessOrElseWrappedHtml;
133
135
  {
134
- let i = "";
135
- throw new Error(i);
136
+ let t = "";
137
+ throw new Error(t);
136
138
  }
137
139
  }
138
- const ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
140
+ const ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
139
141
  __proto__: null,
140
- EMPTY_HTML: ge,
141
- SafeHtml: xt,
142
- createHtml: H,
143
- isHtml: _e,
144
- unwrapHtml: lt
142
+ EMPTY_HTML: fe,
143
+ SafeHtml: Lt,
144
+ createHtml: F,
145
+ isHtml: ve,
146
+ unwrapHtml: rt
145
147
  }, Symbol.toStringTag, { value: "Module" }));
146
148
  /**
147
149
  * @license
148
150
  * SPDX-License-Identifier: Apache-2.0
149
151
  */
150
- class st {
151
- constructor(e, i) {
152
- p(this, "privateDoNotAccessOrElseWrappedResourceUrl");
153
- this.privateDoNotAccessOrElseWrappedResourceUrl = e;
152
+ class ot {
153
+ constructor(i, t) {
154
+ u(this, "privateDoNotAccessOrElseWrappedResourceUrl");
155
+ this.privateDoNotAccessOrElseWrappedResourceUrl = i;
154
156
  }
155
157
  toString() {
156
158
  return this.privateDoNotAccessOrElseWrappedResourceUrl.toString();
157
159
  }
158
160
  }
159
- const be = typeof window !== void 0 ? window.TrustedScriptURL : void 0, Ht = be ?? st;
160
- function W(t) {
161
+ const _e = typeof window !== void 0 ? window.TrustedScriptURL : void 0, Ft = _e ?? ot;
162
+ function k(e) {
161
163
  var n;
162
- const e = t;
163
- return ((n = at()) == null ? void 0 : n.createScriptURL(e)) ?? new st(e, w);
164
+ const i = e;
165
+ return ((n = it()) == null ? void 0 : n.createScriptURL(i)) ?? new ot(i, A);
164
166
  }
165
- function Ae(t) {
166
- return t instanceof Ht;
167
+ function ye(e) {
168
+ return e instanceof Ft;
167
169
  }
168
- function nt(t) {
169
- var e;
170
- if ((e = $()) != null && e.isScriptURL(t))
171
- return t;
172
- if (t instanceof st)
173
- return t.privateDoNotAccessOrElseWrappedResourceUrl;
170
+ function tt(e) {
171
+ var i;
172
+ if ((i = G()) != null && i.isScriptURL(e))
173
+ return e;
174
+ if (e instanceof ot)
175
+ return e.privateDoNotAccessOrElseWrappedResourceUrl;
174
176
  {
175
- let i = "";
176
- throw new Error(i);
177
+ let t = "";
178
+ throw new Error(t);
177
179
  }
178
180
  }
179
- const Ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
181
+ const be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
180
182
  __proto__: null,
181
- TrustedResourceUrl: Ht,
182
- createResourceUrl: W,
183
- isResourceUrl: Ae,
184
- unwrapResourceUrl: nt
183
+ TrustedResourceUrl: Ft,
184
+ createResourceUrl: k,
185
+ isResourceUrl: ye,
186
+ unwrapResourceUrl: tt
185
187
  }, Symbol.toStringTag, { value: "Module" }));
186
188
  /**
187
189
  * @license
188
190
  * SPDX-License-Identifier: Apache-2.0
189
191
  */
190
- class dt {
191
- constructor(e, i) {
192
- p(this, "privateDoNotAccessOrElseWrappedScript");
193
- this.privateDoNotAccessOrElseWrappedScript = e;
192
+ class at {
193
+ constructor(i, t) {
194
+ u(this, "privateDoNotAccessOrElseWrappedScript");
195
+ this.privateDoNotAccessOrElseWrappedScript = i;
194
196
  }
195
197
  toString() {
196
198
  return this.privateDoNotAccessOrElseWrappedScript.toString();
197
199
  }
198
200
  }
199
- function Mt(t, e) {
200
- return e ?? new dt(t, w);
201
- }
202
- const Se = typeof window !== void 0 ? window.TrustedScript : void 0, kt = Se ?? dt;
203
- function Y(t) {
204
- var i;
205
- const e = t;
206
- return Mt(e, (i = at()) == null ? void 0 : i.createScript(e));
201
+ function zt(e, i) {
202
+ return i ?? new at(e, A);
207
203
  }
208
- const we = /* @__PURE__ */ (() => {
204
+ const Ae = typeof window !== void 0 ? window.TrustedScript : void 0, xt = Ae ?? at;
205
+ function $(e) {
209
206
  var t;
210
- return Mt("", (t = $()) == null ? void 0 : t.emptyScript);
211
- })();
212
- function Te(t) {
213
- return t instanceof kt;
207
+ const i = e;
208
+ return zt(i, (t = it()) == null ? void 0 : t.createScript(i));
214
209
  }
215
- function rt(t) {
210
+ const Ee = /* @__PURE__ */ (() => {
216
211
  var e;
217
- if ((e = $()) != null && e.isScript(t))
218
- return t;
219
- if (t instanceof dt)
220
- return t.privateDoNotAccessOrElseWrappedScript;
212
+ return zt("", (e = G()) == null ? void 0 : e.emptyScript);
213
+ })();
214
+ function Se(e) {
215
+ return e instanceof xt;
216
+ }
217
+ function et(e) {
218
+ var i;
219
+ if ((i = G()) != null && i.isScript(e))
220
+ return e;
221
+ if (e instanceof at)
222
+ return e.privateDoNotAccessOrElseWrappedScript;
221
223
  {
222
- let i = "";
223
- throw new Error(i);
224
+ let t = "";
225
+ throw new Error(t);
224
226
  }
225
227
  }
226
- const Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
228
+ const we = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
227
229
  __proto__: null,
228
- EMPTY_SCRIPT: we,
229
- SafeScript: kt,
230
- createScript: Y,
231
- isScript: Te,
232
- unwrapScript: rt
230
+ EMPTY_SCRIPT: Ee,
231
+ SafeScript: xt,
232
+ createScript: $,
233
+ isScript: Se,
234
+ unwrapScript: et
233
235
  }, Symbol.toStringTag, { value: "Module" }));
234
236
  /**
235
237
  * @license
236
238
  * SPDX-License-Identifier: Apache-2.0
237
239
  */
238
- function Ie(t, e = {}) {
239
- let i = j(t);
240
- return e.preserveSpaces && (i = i.replace(/(^|[\r\n\t ]) /g, "$1&#160;")), e.preserveNewlines && (i = i.replace(/(\r\n|\n|\r)/g, "<br>")), e.preserveTabs && (i = i.replace(/(\t+)/g, '<span style="white-space:pre">$1</span>')), H(i);
240
+ function Te(e, i = {}) {
241
+ let t = M(e);
242
+ return i.preserveSpaces && (t = t.replace(/(^|[\r\n\t ]) /g, "$1&#160;")), i.preserveNewlines && (t = t.replace(/(\r\n|\n|\r)/g, "<br>")), i.preserveTabs && (t = t.replace(/(\t+)/g, '<span style="white-space:pre">$1</span>')), F(t);
241
243
  }
242
- function Oe(t, e = {}) {
243
- const i = rt(t).toString();
244
+ function Ie(e, i = {}) {
245
+ const t = et(e).toString();
244
246
  let n = "<script";
245
- return e.id && (n += ` id="${j(e.id)}"`), e.nonce && (n += ` nonce="${j(e.nonce)}"`), e.type && (n += ` type="${j(e.type)}"`), n += `>${i}<\/script>`, H(n);
247
+ return i.id && (n += ` id="${M(i.id)}"`), i.nonce && (n += ` nonce="${M(i.nonce)}"`), i.type && (n += ` type="${M(i.type)}"`), n += `>${t}<\/script>`, F(n);
246
248
  }
247
- function De(t, e, i) {
248
- const n = nt(t).toString();
249
- let r = `<script src="${j(n)}"`;
250
- return e && (r += " async"), i && (r += ` nonce="${j(i)}"`), r += "><\/script>", H(r);
249
+ function Re(e, i, t) {
250
+ const n = tt(e).toString();
251
+ let r = `<script src="${M(n)}"`;
252
+ return i && (r += " async"), t && (r += ` nonce="${M(t)}"`), r += "><\/script>", F(r);
251
253
  }
252
- function j(t) {
253
- return t.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;");
254
+ function M(e) {
255
+ return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;");
254
256
  }
255
- function Pe(t) {
256
- return H(t.map(lt).join(""));
257
+ function De(e) {
258
+ return F(e.map(rt).join(""));
257
259
  }
258
260
  const Ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
259
261
  __proto__: null,
260
- concatHtmls: Pe,
261
- createScript: Oe,
262
- createScriptSrc: De,
263
- htmlEscape: Ie
264
- }, Symbol.toStringTag, { value: "Module" })), Ne = /* @__PURE__ */ g(Ce);
262
+ concatHtmls: De,
263
+ createScript: Ie,
264
+ createScriptSrc: Re,
265
+ htmlEscape: Te
266
+ }, Symbol.toStringTag, { value: "Module" })), Oe = /* @__PURE__ */ m(Ce);
265
267
  /**
266
268
  * @license
267
269
  * SPDX-License-Identifier: Apache-2.0
268
270
  */
269
- function Le(t) {
270
- let e;
271
+ function Pe(e) {
272
+ let i;
271
273
  try {
272
- e = new URL(t);
274
+ i = new URL(e);
273
275
  } catch {
274
276
  return "https:";
275
277
  }
276
- return e.protocol;
278
+ return i.protocol;
277
279
  }
278
- const Fe = ["data:", "http:", "https:", "mailto:", "ftp:"];
279
- function ze(t) {
280
- const e = Le(t);
281
- return e !== void 0 && Fe.indexOf(e.toLowerCase()) !== -1 ? t : "about:invalid#zClosurez";
280
+ const Ne = ["data:", "http:", "https:", "mailto:", "ftp:"];
281
+ function Le(e) {
282
+ const i = Pe(e);
283
+ return i !== void 0 && Ne.indexOf(i.toLowerCase()) !== -1 ? e : "about:invalid#zClosurez";
282
284
  }
283
285
  /**
284
286
  * @license
285
287
  * SPDX-License-Identifier: Apache-2.0
286
288
  */
287
- class Bt {
289
+ class Ut {
288
290
  constructor() {
289
291
  // @ts-ignore: error TS6133: 'brand' is declared but its value is never read.
290
- p(this, "brand");
292
+ u(this, "brand");
291
293
  }
292
294
  // To prevent structural typing.
293
295
  }
294
- class ut extends Bt {
295
- constructor(i, n) {
296
+ class ct extends Ut {
297
+ constructor(t, n) {
296
298
  super();
297
- p(this, "privateDoNotAccessOrElseWrappedStyle");
298
- this.privateDoNotAccessOrElseWrappedStyle = i;
299
+ u(this, "privateDoNotAccessOrElseWrappedStyle");
300
+ this.privateDoNotAccessOrElseWrappedStyle = t;
299
301
  }
300
302
  toString() {
301
303
  return this.privateDoNotAccessOrElseWrappedStyle;
302
304
  }
303
305
  }
304
- function pt(t) {
305
- return new ut(t, w);
306
+ function lt(e) {
307
+ return new ct(e, A);
306
308
  }
307
- function Ue(t) {
308
- return t instanceof ut;
309
+ function Fe(e) {
310
+ return e instanceof ct;
309
311
  }
310
- function Gt(t) {
311
- if (t instanceof ut)
312
- return t.privateDoNotAccessOrElseWrappedStyle;
312
+ function Ht(e) {
313
+ if (e instanceof ct)
314
+ return e.privateDoNotAccessOrElseWrappedStyle;
313
315
  {
314
- let e = "";
315
- throw new Error(e);
316
+ let i = "";
317
+ throw new Error(i);
316
318
  }
317
319
  }
318
- const xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
320
+ const ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
319
321
  __proto__: null,
320
- SafeStyle: Bt,
321
- createStyle: pt,
322
- isStyle: Ue,
323
- unwrapStyle: Gt
322
+ SafeStyle: Ut,
323
+ createStyle: lt,
324
+ isStyle: Fe,
325
+ unwrapStyle: Ht
324
326
  }, Symbol.toStringTag, { value: "Module" }));
325
327
  /**
326
328
  * @license
327
329
  * SPDX-License-Identifier: Apache-2.0
328
330
  */
329
- function He(t, e) {
330
- ke(t) && Me(t), t.innerHTML = lt(e);
331
+ function xe(e, i) {
332
+ He(e) && Ue(e), e.innerHTML = rt(i);
331
333
  }
332
- function jt(t, e, i, n) {
333
- if (t.length === 0)
334
+ function Mt(e, i, t, n) {
335
+ if (e.length === 0)
334
336
  throw new Error("No prefixes are provided");
335
- const r = t.map((a) => Ft(a)), o = i.toLowerCase();
337
+ const r = e.map((a) => Ot(a)), o = t.toLowerCase();
336
338
  if (r.every((a) => o.indexOf(a) !== 0))
337
- throw new Error(`Attribute "${i}" does not match any of the allowed prefixes.`);
338
- e.setAttribute(i, n);
339
+ throw new Error(`Attribute "${t}" does not match any of the allowed prefixes.`);
340
+ i.setAttribute(t, n);
339
341
  }
340
- function Me(t) {
341
- if (t.tagName.toLowerCase() === "script")
342
+ function Ue(e) {
343
+ if (e.tagName.toLowerCase() === "script")
342
344
  throw new Error("Use setTextContent with a SafeScript.");
343
- if (t.tagName.toLowerCase() === "style")
345
+ if (e.tagName.toLowerCase() === "style")
344
346
  throw new Error("Use setTextContent with a SafeStyleSheet.");
345
347
  }
346
- function ke(t) {
347
- return t.tagName !== void 0;
348
+ function He(e) {
349
+ return e.tagName !== void 0;
348
350
  }
349
351
  /**
350
352
  * @license
351
353
  * SPDX-License-Identifier: Apache-2.0
352
354
  */
353
- function Be(t) {
354
- const e = document.createElement("template"), i = H(t);
355
- return He(e, i), e.content;
355
+ function Me(e) {
356
+ const i = document.createElement("template"), t = F(e);
357
+ return xe(i, t), i.content;
356
358
  }
357
359
  /**
358
360
  * @license
359
361
  * SPDX-License-Identifier: Apache-2.0
360
362
  */
361
- function gt(t) {
362
- const e = t.nodeName;
363
- return typeof e == "string" ? e : "FORM";
363
+ function ht(e) {
364
+ const i = e.nodeName;
365
+ return typeof i == "string" ? i : "FORM";
364
366
  }
365
- function _t(t) {
366
- return t.nodeType === Node.TEXT_NODE;
367
+ function mt(e) {
368
+ return e.nodeType === Node.TEXT_NODE;
367
369
  }
368
- function yt(t) {
369
- const e = t.nodeType;
370
- return e === Node.ELEMENT_NODE || typeof e != "number";
370
+ function ft(e) {
371
+ const i = e.nodeType;
372
+ return i === Node.ELEMENT_NODE || typeof i != "number";
371
373
  }
372
374
  /**
373
375
  * @license
374
376
  * SPDX-License-Identifier: Apache-2.0
375
377
  */
376
- class N {
377
- constructor(e, i, n, r) {
378
- p(this, "allowedElements");
379
- p(this, "elementPolicies");
380
- p(this, "allowedGlobalAttributes");
381
- p(this, "globalAttributePolicies");
382
- this.allowedElements = e, this.elementPolicies = i, this.allowedGlobalAttributes = n, this.globalAttributePolicies = r;
378
+ class D {
379
+ constructor(i, t, n, r) {
380
+ u(this, "allowedElements");
381
+ u(this, "elementPolicies");
382
+ u(this, "allowedGlobalAttributes");
383
+ u(this, "globalAttributePolicies");
384
+ this.allowedElements = i, this.elementPolicies = t, this.allowedGlobalAttributes = n, this.globalAttributePolicies = r;
383
385
  }
384
- isAllowedElement(e) {
385
- return e.toLowerCase() !== "form" && (this.allowedElements.has(e) || this.elementPolicies.has(e));
386
+ isAllowedElement(i) {
387
+ return i.toLowerCase() !== "form" && (this.allowedElements.has(i) || this.elementPolicies.has(i));
386
388
  }
387
- getAttributePolicy(e, i) {
388
- const n = this.elementPolicies.get(i);
389
- return n != null && n.has(e) ? n.get(e) : this.allowedGlobalAttributes.has(e) ? { policyAction: d.KEEP } : this.globalAttributePolicies.get(e) || { policyAction: d.DROP };
389
+ getAttributePolicy(i, t) {
390
+ const n = this.elementPolicies.get(t);
391
+ return n != null && n.has(i) ? n.get(i) : this.allowedGlobalAttributes.has(i) ? { policyAction: s.KEEP } : this.globalAttributePolicies.get(i) || { policyAction: s.DROP };
390
392
  }
391
393
  }
392
- var d;
393
- (function(t) {
394
- t[t.DROP = 0] = "DROP", t[t.KEEP = 1] = "KEEP", t[t.KEEP_AND_SANITIZE_URL = 2] = "KEEP_AND_SANITIZE_URL", t[t.KEEP_AND_NORMALIZE = 3] = "KEEP_AND_NORMALIZE", t[t.KEEP_AND_SANITIZE_STYLE = 4] = "KEEP_AND_SANITIZE_STYLE";
395
- })(d || (d = {}));
394
+ var s;
395
+ (function(e) {
396
+ e[e.DROP = 0] = "DROP", e[e.KEEP = 1] = "KEEP", e[e.KEEP_AND_SANITIZE_URL = 2] = "KEEP_AND_SANITIZE_URL", e[e.KEEP_AND_NORMALIZE = 3] = "KEEP_AND_NORMALIZE", e[e.KEEP_AND_SANITIZE_STYLE = 4] = "KEEP_AND_SANITIZE_STYLE";
397
+ })(s || (s = {}));
396
398
  /**
397
399
  * @license
398
400
  * SPDX-License-Identifier: Apache-2.0
399
401
  */
400
- const Wt = new N(/* @__PURE__ */ new Set([
402
+ const kt = new D(/* @__PURE__ */ new Set([
401
403
  "ARTICLE",
402
404
  "SECTION",
403
405
  "NAV",
@@ -493,13 +495,13 @@ const Wt = new N(/* @__PURE__ */ new Set([
493
495
  [
494
496
  "A",
495
497
  /* @__PURE__ */ new Map([
496
- ["href", { policyAction: d.KEEP_AND_SANITIZE_URL }]
498
+ ["href", { policyAction: s.KEEP_AND_SANITIZE_URL }]
497
499
  ])
498
500
  ],
499
501
  [
500
502
  "AREA",
501
503
  /* @__PURE__ */ new Map([
502
- ["href", { policyAction: d.KEEP_AND_SANITIZE_URL }]
504
+ ["href", { policyAction: s.KEEP_AND_SANITIZE_URL }]
503
505
  ])
504
506
  ],
505
507
  [
@@ -508,7 +510,7 @@ const Wt = new N(/* @__PURE__ */ new Set([
508
510
  [
509
511
  "href",
510
512
  {
511
- policyAction: d.KEEP_AND_SANITIZE_URL,
513
+ policyAction: s.KEEP_AND_SANITIZE_URL,
512
514
  conditions: /* @__PURE__ */ new Map([[
513
515
  "rel",
514
516
  /* @__PURE__ */ new Set([
@@ -538,25 +540,25 @@ const Wt = new N(/* @__PURE__ */ new Set([
538
540
  [
539
541
  "SOURCE",
540
542
  /* @__PURE__ */ new Map([
541
- ["src", { policyAction: d.KEEP_AND_SANITIZE_URL }]
543
+ ["src", { policyAction: s.KEEP_AND_SANITIZE_URL }]
542
544
  ])
543
545
  ],
544
546
  [
545
547
  "IMG",
546
548
  /* @__PURE__ */ new Map([
547
- ["src", { policyAction: d.KEEP_AND_SANITIZE_URL }]
549
+ ["src", { policyAction: s.KEEP_AND_SANITIZE_URL }]
548
550
  ])
549
551
  ],
550
552
  [
551
553
  "VIDEO",
552
554
  /* @__PURE__ */ new Map([
553
- ["src", { policyAction: d.KEEP_AND_SANITIZE_URL }]
555
+ ["src", { policyAction: s.KEEP_AND_SANITIZE_URL }]
554
556
  ])
555
557
  ],
556
558
  [
557
559
  "AUDIO",
558
560
  /* @__PURE__ */ new Map([
559
- ["src", { policyAction: d.KEEP_AND_SANITIZE_URL }]
561
+ ["src", { policyAction: s.KEEP_AND_SANITIZE_URL }]
560
562
  ])
561
563
  ]
562
564
  ]), /* @__PURE__ */ new Set([
@@ -663,7 +665,7 @@ const Wt = new N(/* @__PURE__ */ new Set([
663
665
  [
664
666
  "dir",
665
667
  {
666
- policyAction: d.KEEP_AND_NORMALIZE,
668
+ policyAction: s.KEEP_AND_NORMALIZE,
667
669
  conditions: /* @__PURE__ */ new Map([[
668
670
  "dir",
669
671
  /* @__PURE__ */ new Set([
@@ -677,7 +679,7 @@ const Wt = new N(/* @__PURE__ */ new Set([
677
679
  [
678
680
  "async",
679
681
  {
680
- policyAction: d.KEEP_AND_NORMALIZE,
682
+ policyAction: s.KEEP_AND_NORMALIZE,
681
683
  conditions: /* @__PURE__ */ new Map([[
682
684
  "async",
683
685
  /* @__PURE__ */ new Set([
@@ -686,11 +688,11 @@ const Wt = new N(/* @__PURE__ */ new Set([
686
688
  ]])
687
689
  }
688
690
  ],
689
- ["cite", { policyAction: d.KEEP_AND_SANITIZE_URL }],
691
+ ["cite", { policyAction: s.KEEP_AND_SANITIZE_URL }],
690
692
  [
691
693
  "loading",
692
694
  {
693
- policyAction: d.KEEP_AND_NORMALIZE,
695
+ policyAction: s.KEEP_AND_NORMALIZE,
694
696
  conditions: /* @__PURE__ */ new Map([[
695
697
  "loading",
696
698
  /* @__PURE__ */ new Set([
@@ -700,11 +702,11 @@ const Wt = new N(/* @__PURE__ */ new Set([
700
702
  ]])
701
703
  }
702
704
  ],
703
- ["poster", { policyAction: d.KEEP_AND_SANITIZE_URL }],
705
+ ["poster", { policyAction: s.KEEP_AND_SANITIZE_URL }],
704
706
  [
705
707
  "target",
706
708
  {
707
- policyAction: d.KEEP_AND_NORMALIZE,
709
+ policyAction: s.KEEP_AND_NORMALIZE,
708
710
  conditions: /* @__PURE__ */ new Map([[
709
711
  "target",
710
712
  /* @__PURE__ */ new Set([
@@ -719,30 +721,30 @@ const Wt = new N(/* @__PURE__ */ new Set([
719
721
  * @license
720
722
  * SPDX-License-Identifier: Apache-2.0
721
723
  */
722
- class ht {
723
- constructor(e, i) {
724
- p(this, "sanitizerTable");
725
- p(this, "changes", []);
726
- this.sanitizerTable = e, de(i);
724
+ class st {
725
+ constructor(i, t) {
726
+ u(this, "sanitizerTable");
727
+ u(this, "changes", []);
728
+ this.sanitizerTable = i, le(t);
727
729
  }
728
- sanitizeAssertUnchanged(e) {
730
+ sanitizeAssertUnchanged(i) {
729
731
  this.changes = [];
730
- const i = this.sanitize(e);
732
+ const t = this.sanitize(i);
731
733
  if (this.changes.length !== 0) {
732
734
  let n = "";
733
735
  throw new Error(n);
734
736
  }
735
- return i;
737
+ return t;
736
738
  }
737
- sanitize(e) {
738
- const i = document.createElement("span");
739
- i.appendChild(this.sanitizeToFragment(e));
740
- let n = new XMLSerializer().serializeToString(i);
741
- return n = n.slice(n.indexOf(">") + 1, n.lastIndexOf("</")), H(n);
739
+ sanitize(i) {
740
+ const t = document.createElement("span");
741
+ t.appendChild(this.sanitizeToFragment(i));
742
+ let n = new XMLSerializer().serializeToString(t);
743
+ return n = n.slice(n.indexOf(">") + 1, n.lastIndexOf("</")), F(n);
742
744
  }
743
- sanitizeToFragment(e) {
744
- const i = Be(e), n = document.createTreeWalker(
745
- i,
745
+ sanitizeToFragment(i) {
746
+ const t = Me(i), n = document.createTreeWalker(
747
+ t,
746
748
  NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_TEXT,
747
749
  // IE10 and IE11 won't accept a proper `NodeFilter` interface, and
748
750
  // expect the filtering function to be passed directly. It seems that
@@ -757,9 +759,9 @@ class ht {
757
759
  let a = o;
758
760
  for (; r !== null; ) {
759
761
  let c;
760
- if (_t(r))
762
+ if (mt(r))
761
763
  c = this.sanitizeTextNode(r);
762
- else if (yt(r))
764
+ else if (ft(r))
763
765
  c = this.sanitizeElementNode(r);
764
766
  else
765
767
  throw new Error("Node is not of type text or element");
@@ -771,122 +773,122 @@ class ht {
771
773
  }
772
774
  return o;
773
775
  }
774
- sanitizeTextNode(e) {
775
- return document.createTextNode(e.data);
776
+ sanitizeTextNode(i) {
777
+ return document.createTextNode(i.data);
776
778
  }
777
- sanitizeElementNode(e) {
778
- const i = gt(e), n = document.createElement(i), r = e.attributes;
779
+ sanitizeElementNode(i) {
780
+ const t = ht(i), n = document.createElement(t), r = i.attributes;
779
781
  for (const { name: o, value: a } of r) {
780
- const c = this.sanitizerTable.getAttributePolicy(o, i);
782
+ const c = this.sanitizerTable.getAttributePolicy(o, t);
781
783
  if (!this.satisfiesAllConditions(c.conditions, r)) {
782
784
  this.recordChange(`Not all conditions satisfied for attribute: ${o}.`);
783
785
  continue;
784
786
  }
785
787
  switch (c.policyAction) {
786
- case d.KEEP:
788
+ case s.KEEP:
787
789
  n.setAttribute(o, a);
788
790
  break;
789
- case d.KEEP_AND_SANITIZE_URL:
790
- const s = ze(a);
791
- s !== a && this.recordChange(`Url in attribute ${o} was modified during sanitization. Original url:"${a}" was sanitized to: "${s}"`), n.setAttribute(o, s);
791
+ case s.KEEP_AND_SANITIZE_URL:
792
+ const l = Le(a);
793
+ l !== a && this.recordChange(`Url in attribute ${o} was modified during sanitization. Original url:"${a}" was sanitized to: "${l}"`), n.setAttribute(o, l);
792
794
  break;
793
- case d.KEEP_AND_NORMALIZE:
795
+ case s.KEEP_AND_NORMALIZE:
794
796
  n.setAttribute(o, a.toLowerCase());
795
797
  break;
796
- case d.KEEP_AND_SANITIZE_STYLE:
798
+ case s.KEEP_AND_SANITIZE_STYLE:
797
799
  n.setAttribute(o, a);
798
800
  break;
799
- case d.DROP:
801
+ case s.DROP:
800
802
  this.recordChange(`Attribute: ${o} was dropped`);
801
803
  break;
802
804
  default:
803
- Ke(c.policyAction, "Unhandled AttributePolicyAction case");
805
+ je(c.policyAction, "Unhandled AttributePolicyAction case");
804
806
  }
805
807
  }
806
808
  return n;
807
809
  }
808
- nodeFilter(e) {
809
- if (_t(e))
810
+ nodeFilter(i) {
811
+ if (mt(i))
810
812
  return NodeFilter.FILTER_ACCEPT;
811
- if (!yt(e))
813
+ if (!ft(i))
812
814
  return NodeFilter.FILTER_REJECT;
813
- const i = gt(e);
814
- return i === null ? (this.recordChange(`Node name was null for node: ${e}`), NodeFilter.FILTER_REJECT) : this.sanitizerTable.isAllowedElement(i) ? NodeFilter.FILTER_ACCEPT : (this.recordChange(`Element: ${i} was dropped`), NodeFilter.FILTER_REJECT);
815
+ const t = ht(i);
816
+ return t === null ? (this.recordChange(`Node name was null for node: ${i}`), NodeFilter.FILTER_REJECT) : this.sanitizerTable.isAllowedElement(t) ? NodeFilter.FILTER_ACCEPT : (this.recordChange(`Element: ${t} was dropped`), NodeFilter.FILTER_REJECT);
815
817
  }
816
- recordChange(e) {
818
+ recordChange(i) {
817
819
  this.changes.length === 0 && this.changes.push("");
818
820
  }
819
- satisfiesAllConditions(e, i) {
821
+ satisfiesAllConditions(i, t) {
820
822
  var n;
821
- if (!e)
823
+ if (!i)
822
824
  return !0;
823
- for (const [r, o] of e) {
824
- const a = (n = i.getNamedItem(r)) == null ? void 0 : n.value;
825
+ for (const [r, o] of i) {
826
+ const a = (n = t.getNamedItem(r)) == null ? void 0 : n.value;
825
827
  if (a && !o.has(a))
826
828
  return !1;
827
829
  }
828
830
  return !0;
829
831
  }
830
832
  }
831
- const mt = /* @__PURE__ */ (() => new ht(Wt, w))();
832
- function Ge(t) {
833
- return mt.sanitize(t);
833
+ const dt = /* @__PURE__ */ (() => new st(kt, A))();
834
+ function ke(e) {
835
+ return dt.sanitize(e);
834
836
  }
835
- function je(t) {
836
- return mt.sanitizeAssertUnchanged(t);
837
+ function Be(e) {
838
+ return dt.sanitizeAssertUnchanged(e);
837
839
  }
838
- function We(t) {
839
- return mt.sanitizeToFragment(t);
840
+ function Ge(e) {
841
+ return dt.sanitizeToFragment(e);
840
842
  }
841
- function Ke(t, e = `unexpected value ${t}!`) {
842
- throw new Error(e);
843
+ function je(e, i = `unexpected value ${e}!`) {
844
+ throw new Error(i);
843
845
  }
844
- const $e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
846
+ const Ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
845
847
  __proto__: null,
846
- HtmlSanitizerImpl: ht,
847
- sanitizeHtml: Ge,
848
- sanitizeHtmlAssertUnchanged: je,
849
- sanitizeHtmlToFragment: We
850
- }, Symbol.toStringTag, { value: "Module" })), qe = /* @__PURE__ */ g($e);
848
+ HtmlSanitizerImpl: st,
849
+ sanitizeHtml: ke,
850
+ sanitizeHtmlAssertUnchanged: Be,
851
+ sanitizeHtmlToFragment: Ge
852
+ }, Symbol.toStringTag, { value: "Module" })), $e = /* @__PURE__ */ m(Ke);
851
853
  /**
852
854
  * @license
853
855
  * SPDX-License-Identifier: Apache-2.0
854
856
  */
855
- class Xe {
857
+ class We {
856
858
  constructor() {
857
- p(this, "sanitizerTable");
859
+ u(this, "sanitizerTable");
858
860
  // To denote if the builder has called build() and therefore should make no
859
861
  // further changes to the sanitizer table.
860
- p(this, "calledBuild", !1);
861
- this.sanitizerTable = Wt;
862
+ u(this, "calledBuild", !1);
863
+ this.sanitizerTable = kt;
862
864
  }
863
865
  /** Builder option to restrict allowed elements to a smaller subset. */
864
- onlyAllowElements(e) {
865
- const i = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Map();
866
- for (let r of e) {
866
+ onlyAllowElements(i) {
867
+ const t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Map();
868
+ for (let r of i) {
867
869
  if (r = r.toUpperCase(), !this.sanitizerTable.isAllowedElement(r))
868
870
  throw new Error(`Element: ${r}, is not allowed by html5_contract.textpb`);
869
871
  const o = this.sanitizerTable.elementPolicies.get(r);
870
- o !== void 0 ? n.set(r, o) : i.add(r);
872
+ o !== void 0 ? n.set(r, o) : t.add(r);
871
873
  }
872
- return this.sanitizerTable = new N(i, n, this.sanitizerTable.allowedGlobalAttributes, this.sanitizerTable.globalAttributePolicies), this;
874
+ return this.sanitizerTable = new D(t, n, this.sanitizerTable.allowedGlobalAttributes, this.sanitizerTable.globalAttributePolicies), this;
873
875
  }
874
876
  /**
875
877
  * Builder option to restrict allowed attributes to a smaller subset.
876
878
  *
877
879
  * If the attribute isn't currently allowed then it won't be added.
878
880
  */
879
- onlyAllowAttributes(e) {
880
- const i = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map();
881
- for (const o of e)
882
- this.sanitizerTable.allowedGlobalAttributes.has(o) && i.add(o), this.sanitizerTable.globalAttributePolicies.has(o) && n.set(o, this.sanitizerTable.globalAttributePolicies.get(o));
881
+ onlyAllowAttributes(i) {
882
+ const t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map();
883
+ for (const o of i)
884
+ this.sanitizerTable.allowedGlobalAttributes.has(o) && t.add(o), this.sanitizerTable.globalAttributePolicies.has(o) && n.set(o, this.sanitizerTable.globalAttributePolicies.get(o));
883
885
  for (const [o, a] of this.sanitizerTable.elementPolicies.entries()) {
884
886
  const c = /* @__PURE__ */ new Map();
885
- for (const [s, v] of a.entries())
886
- e.has(s) && c.set(s, v);
887
+ for (const [l, h] of a.entries())
888
+ i.has(l) && c.set(l, h);
887
889
  r.set(o, c);
888
890
  }
889
- return this.sanitizerTable = new N(this.sanitizerTable.allowedElements, r, i, n), this;
891
+ return this.sanitizerTable = new D(this.sanitizerTable.allowedElements, r, t, n), this;
890
892
  }
891
893
  /**
892
894
  * Allows the set of data attributes passed.
@@ -896,14 +898,14 @@ class Xe {
896
898
  * If called with onlyAllowElements or onlyAllowAttributes, those methods must
897
899
  * be called first.
898
900
  */
899
- allowDataAttributes(e) {
900
- const i = new Set(this.sanitizerTable.allowedGlobalAttributes);
901
- for (const n of e) {
901
+ allowDataAttributes(i) {
902
+ const t = new Set(this.sanitizerTable.allowedGlobalAttributes);
903
+ for (const n of i) {
902
904
  if (n.indexOf("data-") !== 0)
903
905
  throw new Error(`data attribute: ${n} does not begin with the prefix "data-"`);
904
- i.add(n);
906
+ t.add(n);
905
907
  }
906
- return this.sanitizerTable = new N(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, i, this.sanitizerTable.globalAttributePolicies), this;
908
+ return this.sanitizerTable = new D(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, t, this.sanitizerTable.globalAttributePolicies), this;
907
909
  }
908
910
  /**
909
911
  * Preserves style attributes. Note that the sanitizer won't parse and
@@ -913,8 +915,8 @@ class Xe {
913
915
  * properties or functions defined by the application.
914
916
  */
915
917
  allowStyleAttributes() {
916
- const e = new Map(this.sanitizerTable.globalAttributePolicies);
917
- return e.set("style", { policyAction: d.KEEP_AND_SANITIZE_STYLE }), this.sanitizerTable = new N(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, this.sanitizerTable.allowedGlobalAttributes, e), this;
918
+ const i = new Map(this.sanitizerTable.globalAttributePolicies);
919
+ return i.set("style", { policyAction: s.KEEP_AND_SANITIZE_STYLE }), this.sanitizerTable = new D(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, this.sanitizerTable.allowedGlobalAttributes, i), this;
918
920
  }
919
921
  /**
920
922
  * Preserves the class attribute on all elements. This means contents can
@@ -922,337 +924,286 @@ class Xe {
922
924
  * legitimate UI elements, which can lead to phishing.
923
925
  */
924
926
  allowClassAttributes() {
925
- const e = new Map(this.sanitizerTable.globalAttributePolicies);
926
- return e.set("class", { policyAction: d.KEEP }), this.sanitizerTable = new N(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, this.sanitizerTable.allowedGlobalAttributes, e), this;
927
+ const i = new Map(this.sanitizerTable.globalAttributePolicies);
928
+ return i.set("class", { policyAction: s.KEEP }), this.sanitizerTable = new D(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, this.sanitizerTable.allowedGlobalAttributes, i), this;
927
929
  }
928
930
  /**
929
931
  * Preserves id attributes. This carries moderate risk as it allows an
930
932
  * element to override other elements with the same ID.
931
933
  */
932
934
  allowIdAttributes() {
933
- const e = new Map(this.sanitizerTable.globalAttributePolicies);
934
- return e.set("id", { policyAction: d.KEEP }), this.sanitizerTable = new N(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, this.sanitizerTable.allowedGlobalAttributes, e), this;
935
+ const i = new Map(this.sanitizerTable.globalAttributePolicies);
936
+ return i.set("id", { policyAction: s.KEEP }), this.sanitizerTable = new D(this.sanitizerTable.allowedElements, this.sanitizerTable.elementPolicies, this.sanitizerTable.allowedGlobalAttributes, i), this;
935
937
  }
936
938
  build() {
937
939
  if (this.calledBuild)
938
940
  throw new Error("this sanitizer has already called build");
939
- return this.calledBuild = !0, new ht(this.sanitizerTable, w);
941
+ return this.calledBuild = !0, new st(this.sanitizerTable, A);
940
942
  }
941
943
  }
942
- const Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
944
+ const qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
943
945
  __proto__: null,
944
- HtmlSanitizerBuilder: Xe
945
- }, Symbol.toStringTag, { value: "Module" })), Ze = /* @__PURE__ */ g(Ye);
946
+ HtmlSanitizerBuilder: We
947
+ }, Symbol.toStringTag, { value: "Module" })), Xe = /* @__PURE__ */ m(qe);
946
948
  /**
947
949
  * @license
948
950
  * SPDX-License-Identifier: Apache-2.0
949
951
  */
950
- function Ve(t, ...e) {
951
- if (e.length === 0)
952
- return W(t[0]);
953
- t[0].toLowerCase();
954
- const i = [t[0]];
955
- for (let n = 0; n < e.length; n++)
956
- i.push(encodeURIComponent(e[n])), i.push(t[n + 1]);
957
- return W(i.join(""));
958
- }
959
- function Je(t, e) {
960
- let i = nt(t).toString();
961
- if (/#/.test(i)) {
952
+ function Ye(e, ...i) {
953
+ if (i.length === 0)
954
+ return k(e[0]);
955
+ e[0].toLowerCase();
956
+ const t = [e[0]];
957
+ for (let n = 0; n < i.length; n++)
958
+ t.push(encodeURIComponent(i[n])), t.push(e[n + 1]);
959
+ return k(t.join(""));
960
+ }
961
+ function Ze(e, i) {
962
+ let t = tt(e).toString();
963
+ if (/#/.test(t)) {
962
964
  let r = "";
963
965
  throw new Error(r);
964
966
  }
965
- let n = /\?/.test(i) ? "&" : "?";
966
- return e.forEach((r, o) => {
967
+ let n = /\?/.test(t) ? "&" : "?";
968
+ return i.forEach((r, o) => {
967
969
  const a = r instanceof Array ? r : [r];
968
970
  for (let c = 0; c < a.length; c++) {
969
- const s = a[c];
970
- s != null && (i += n + encodeURIComponent(o) + "=" + encodeURIComponent(String(s)), n = "&");
971
+ const l = a[c];
972
+ l != null && (t += n + encodeURIComponent(o) + "=" + encodeURIComponent(String(l)), n = "&");
971
973
  }
972
- }), W(i);
974
+ }), k(t);
973
975
  }
974
- const Qe = /[^#]*/;
975
- function ti(t, e) {
976
- const i = nt(t).toString();
977
- return W(Qe.exec(i)[0] + "#" + e);
976
+ const Ve = /[^#]*/;
977
+ function Je(e, i) {
978
+ const t = tt(e).toString();
979
+ return k(Ve.exec(t)[0] + "#" + i);
978
980
  }
979
- function ei(t) {
980
- const e = rt(t).toString(), i = new Blob([e], { type: "text/javascript" });
981
- return W(URL.createObjectURL(i));
981
+ function Qe(e) {
982
+ const i = et(e).toString(), t = new Blob([i], { type: "text/javascript" });
983
+ return k(URL.createObjectURL(t));
982
984
  }
983
- const ii = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
985
+ const ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
984
986
  __proto__: null,
985
- appendParams: Je,
986
- blobUrlFromScript: ei,
987
- replaceFragment: ti,
988
- trustedResourceUrl: Ve
989
- }, Symbol.toStringTag, { value: "Module" })), ni = /* @__PURE__ */ g(ii);
987
+ appendParams: Ze,
988
+ blobUrlFromScript: Qe,
989
+ replaceFragment: Je,
990
+ trustedResourceUrl: Ye
991
+ }, Symbol.toStringTag, { value: "Module" })), ei = /* @__PURE__ */ m(ti);
990
992
  /**
991
993
  * @license
992
994
  * SPDX-License-Identifier: Apache-2.0
993
995
  */
994
- function ri(t) {
995
- return Y(t[0]);
996
+ function ii(e) {
997
+ return $(e[0]);
996
998
  }
997
- function oi(t) {
998
- return Y(t.map(rt).join(""));
999
+ function ni(e) {
1000
+ return $(e.map(et).join(""));
999
1001
  }
1000
- function Kt(t) {
1001
- return Y(JSON.stringify(t).replace(/</g, "\\x3c"));
1002
+ function Bt(e) {
1003
+ return $(JSON.stringify(e).replace(/</g, "\\x3c"));
1002
1004
  }
1003
- function ai(t, ...e) {
1004
- return (...i) => {
1005
- const n = i.map((r) => Kt(r).toString());
1006
- return Y(`(${t.join("")})(${n.join(",")})`);
1005
+ function ri(e, ...i) {
1006
+ return (...t) => {
1007
+ const n = t.map((r) => Bt(r).toString());
1008
+ return $(`(${e.join("")})(${n.join(",")})`);
1007
1009
  };
1008
1010
  }
1009
- const ci = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1011
+ const oi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1010
1012
  __proto__: null,
1011
- concatScripts: oi,
1012
- safeScript: ri,
1013
- safeScriptWithArgs: ai,
1014
- scriptFromJson: Kt
1015
- }, Symbol.toStringTag, { value: "Module" })), li = /* @__PURE__ */ g(ci);
1013
+ concatScripts: ni,
1014
+ safeScript: ii,
1015
+ safeScriptWithArgs: ri,
1016
+ scriptFromJson: Bt
1017
+ }, Symbol.toStringTag, { value: "Module" })), ai = /* @__PURE__ */ m(oi);
1016
1018
  /**
1017
1019
  * @license
1018
1020
  * SPDX-License-Identifier: Apache-2.0
1019
1021
  */
1020
- function si(t) {
1021
- const e = t[0];
1022
- return pt(e);
1022
+ function ci(e) {
1023
+ const i = e[0];
1024
+ return lt(i);
1023
1025
  }
1024
- function di(t) {
1025
- return pt(t.map(Gt).join(""));
1026
+ function li(e) {
1027
+ return lt(e.map(Ht).join(""));
1026
1028
  }
1027
- const ui = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1029
+ const si = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1028
1030
  __proto__: null,
1029
- concatStyles: di,
1030
- safeStyle: si
1031
- }, Symbol.toStringTag, { value: "Module" })), pi = /* @__PURE__ */ g(ui);
1031
+ concatStyles: li,
1032
+ safeStyle: ci
1033
+ }, Symbol.toStringTag, { value: "Module" })), di = /* @__PURE__ */ m(si);
1032
1034
  /**
1033
1035
  * @license
1034
1036
  * SPDX-License-Identifier: Apache-2.0
1035
1037
  */
1036
- class $t {
1038
+ class Gt {
1037
1039
  constructor() {
1038
1040
  // @ts-ignore: error TS6133: 'brand' is declared but its value is never read.
1039
- p(this, "brand");
1041
+ u(this, "brand");
1040
1042
  }
1041
1043
  // To prevent structural typing.
1042
1044
  }
1043
- class ft extends $t {
1044
- constructor(i, n) {
1045
+ class ut extends Gt {
1046
+ constructor(t, n) {
1045
1047
  super();
1046
- p(this, "privateDoNotAccessOrElseWrappedStyleSheet");
1047
- this.privateDoNotAccessOrElseWrappedStyleSheet = i;
1048
+ u(this, "privateDoNotAccessOrElseWrappedStyleSheet");
1049
+ this.privateDoNotAccessOrElseWrappedStyleSheet = t;
1048
1050
  }
1049
1051
  toString() {
1050
1052
  return this.privateDoNotAccessOrElseWrappedStyleSheet;
1051
1053
  }
1052
1054
  }
1053
- function vt(t) {
1054
- return new ft(t, w);
1055
+ function pt(e) {
1056
+ return new ut(e, A);
1055
1057
  }
1056
- function hi(t) {
1057
- return t instanceof ft;
1058
+ function ui(e) {
1059
+ return e instanceof ut;
1058
1060
  }
1059
- function qt(t) {
1060
- if (t instanceof ft)
1061
- return t.privateDoNotAccessOrElseWrappedStyleSheet;
1061
+ function jt(e) {
1062
+ if (e instanceof ut)
1063
+ return e.privateDoNotAccessOrElseWrappedStyleSheet;
1062
1064
  {
1063
- let e = "";
1064
- throw new Error(e);
1065
+ let i = "";
1066
+ throw new Error(i);
1065
1067
  }
1066
1068
  }
1067
- const mi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1069
+ const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1068
1070
  __proto__: null,
1069
- SafeStyleSheet: $t,
1070
- createStyleSheet: vt,
1071
- isStyleSheet: hi,
1072
- unwrapStyleSheet: qt
1071
+ SafeStyleSheet: Gt,
1072
+ createStyleSheet: pt,
1073
+ isStyleSheet: ui,
1074
+ unwrapStyleSheet: jt
1073
1075
  }, Symbol.toStringTag, { value: "Module" }));
1074
1076
  /**
1075
1077
  * @license
1076
1078
  * SPDX-License-Identifier: Apache-2.0
1077
1079
  */
1078
- function fi(t) {
1079
- const e = t[0];
1080
- return vt(e);
1080
+ function hi(e) {
1081
+ const i = e[0];
1082
+ return pt(i);
1081
1083
  }
1082
- function vi(t) {
1083
- return vt(t.map(qt).join(""));
1084
+ function mi(e) {
1085
+ return pt(e.map(jt).join(""));
1084
1086
  }
1085
- const gi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1087
+ const fi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1086
1088
  __proto__: null,
1087
- concatStyleSheets: vi,
1088
- safeStyleSheet: fi
1089
- }, Symbol.toStringTag, { value: "Module" })), _i = /* @__PURE__ */ g(gi), yi = /* @__PURE__ */ g(ue), bi = /* @__PURE__ */ g(ye), Ai = /* @__PURE__ */ g(Ee), Ei = /* @__PURE__ */ g(Re), Si = /* @__PURE__ */ g(xe), wi = /* @__PURE__ */ g(mi);
1090
- (function(t) {
1089
+ concatStyleSheets: mi,
1090
+ safeStyleSheet: hi
1091
+ }, Symbol.toStringTag, { value: "Module" })), vi = /* @__PURE__ */ m(fi), gi = /* @__PURE__ */ m(se), _i = /* @__PURE__ */ m(ge), yi = /* @__PURE__ */ m(be), bi = /* @__PURE__ */ m(we), Ai = /* @__PURE__ */ m(ze), Ei = /* @__PURE__ */ m(pi);
1092
+ (function(e) {
1091
1093
  /**
1092
1094
  * @license
1093
1095
  * SPDX-License-Identifier: Apache-2.0
1094
1096
  */
1095
- Object.defineProperty(t, "__esModule", { value: !0 }), t.unwrapStyleSheet = t.SafeStyleSheet = t.isStyleSheet = t.unwrapStyle = t.SafeStyle = t.isStyle = t.unwrapScript = t.SafeScript = t.isScript = t.EMPTY_SCRIPT = t.unwrapResourceUrl = t.TrustedResourceUrl = t.isResourceUrl = t.unwrapHtml = t.SafeHtml = t.isHtml = t.EMPTY_HTML = t.unwrapAttributePrefix = t.SafeAttributePrefix = t.safeStyleSheet = t.concatStyleSheets = t.safeStyle = t.concatStyles = t.scriptFromJson = t.safeScriptWithArgs = t.safeScript = t.concatScripts = t.trustedResourceUrl = t.replaceFragment = t.blobUrlFromScript = t.appendParams = t.HtmlSanitizerBuilder = t.sanitizeHtmlToFragment = t.sanitizeHtmlAssertUnchanged = t.sanitizeHtml = t.htmlEscape = t.createScriptSrc = t.createScript = t.concatHtmls = t.safeAttrPrefix = void 0;
1096
- var e = me;
1097
- Object.defineProperty(t, "safeAttrPrefix", { enumerable: !0, get: function() {
1098
- return e.safeAttrPrefix;
1097
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.unwrapStyleSheet = e.SafeStyleSheet = e.isStyleSheet = e.unwrapStyle = e.SafeStyle = e.isStyle = e.unwrapScript = e.SafeScript = e.isScript = e.EMPTY_SCRIPT = e.unwrapResourceUrl = e.TrustedResourceUrl = e.isResourceUrl = e.unwrapHtml = e.SafeHtml = e.isHtml = e.EMPTY_HTML = e.unwrapAttributePrefix = e.SafeAttributePrefix = e.safeStyleSheet = e.concatStyleSheets = e.safeStyle = e.concatStyles = e.scriptFromJson = e.safeScriptWithArgs = e.safeScript = e.concatScripts = e.trustedResourceUrl = e.replaceFragment = e.blobUrlFromScript = e.appendParams = e.HtmlSanitizerBuilder = e.sanitizeHtmlToFragment = e.sanitizeHtmlAssertUnchanged = e.sanitizeHtml = e.htmlEscape = e.createScriptSrc = e.createScript = e.concatHtmls = e.safeAttrPrefix = void 0;
1098
+ var i = pe;
1099
+ Object.defineProperty(e, "safeAttrPrefix", { enumerable: !0, get: function() {
1100
+ return i.safeAttrPrefix;
1099
1101
  } });
1100
- var i = Ne;
1101
- Object.defineProperty(t, "concatHtmls", { enumerable: !0, get: function() {
1102
- return i.concatHtmls;
1103
- } }), Object.defineProperty(t, "createScript", { enumerable: !0, get: function() {
1104
- return i.createScript;
1105
- } }), Object.defineProperty(t, "createScriptSrc", { enumerable: !0, get: function() {
1106
- return i.createScriptSrc;
1107
- } }), Object.defineProperty(t, "htmlEscape", { enumerable: !0, get: function() {
1108
- return i.htmlEscape;
1102
+ var t = Oe;
1103
+ Object.defineProperty(e, "concatHtmls", { enumerable: !0, get: function() {
1104
+ return t.concatHtmls;
1105
+ } }), Object.defineProperty(e, "createScript", { enumerable: !0, get: function() {
1106
+ return t.createScript;
1107
+ } }), Object.defineProperty(e, "createScriptSrc", { enumerable: !0, get: function() {
1108
+ return t.createScriptSrc;
1109
+ } }), Object.defineProperty(e, "htmlEscape", { enumerable: !0, get: function() {
1110
+ return t.htmlEscape;
1109
1111
  } });
1110
- var n = qe;
1111
- Object.defineProperty(t, "sanitizeHtml", { enumerable: !0, get: function() {
1112
+ var n = $e;
1113
+ Object.defineProperty(e, "sanitizeHtml", { enumerable: !0, get: function() {
1112
1114
  return n.sanitizeHtml;
1113
- } }), Object.defineProperty(t, "sanitizeHtmlAssertUnchanged", { enumerable: !0, get: function() {
1115
+ } }), Object.defineProperty(e, "sanitizeHtmlAssertUnchanged", { enumerable: !0, get: function() {
1114
1116
  return n.sanitizeHtmlAssertUnchanged;
1115
- } }), Object.defineProperty(t, "sanitizeHtmlToFragment", { enumerable: !0, get: function() {
1117
+ } }), Object.defineProperty(e, "sanitizeHtmlToFragment", { enumerable: !0, get: function() {
1116
1118
  return n.sanitizeHtmlToFragment;
1117
1119
  } });
1118
- var r = Ze;
1119
- Object.defineProperty(t, "HtmlSanitizerBuilder", { enumerable: !0, get: function() {
1120
+ var r = Xe;
1121
+ Object.defineProperty(e, "HtmlSanitizerBuilder", { enumerable: !0, get: function() {
1120
1122
  return r.HtmlSanitizerBuilder;
1121
1123
  } });
1122
- var o = ni;
1123
- Object.defineProperty(t, "appendParams", { enumerable: !0, get: function() {
1124
+ var o = ei;
1125
+ Object.defineProperty(e, "appendParams", { enumerable: !0, get: function() {
1124
1126
  return o.appendParams;
1125
- } }), Object.defineProperty(t, "blobUrlFromScript", { enumerable: !0, get: function() {
1127
+ } }), Object.defineProperty(e, "blobUrlFromScript", { enumerable: !0, get: function() {
1126
1128
  return o.blobUrlFromScript;
1127
- } }), Object.defineProperty(t, "replaceFragment", { enumerable: !0, get: function() {
1129
+ } }), Object.defineProperty(e, "replaceFragment", { enumerable: !0, get: function() {
1128
1130
  return o.replaceFragment;
1129
- } }), Object.defineProperty(t, "trustedResourceUrl", { enumerable: !0, get: function() {
1131
+ } }), Object.defineProperty(e, "trustedResourceUrl", { enumerable: !0, get: function() {
1130
1132
  return o.trustedResourceUrl;
1131
1133
  } });
1132
- var a = li;
1133
- Object.defineProperty(t, "concatScripts", { enumerable: !0, get: function() {
1134
+ var a = ai;
1135
+ Object.defineProperty(e, "concatScripts", { enumerable: !0, get: function() {
1134
1136
  return a.concatScripts;
1135
- } }), Object.defineProperty(t, "safeScript", { enumerable: !0, get: function() {
1137
+ } }), Object.defineProperty(e, "safeScript", { enumerable: !0, get: function() {
1136
1138
  return a.safeScript;
1137
- } }), Object.defineProperty(t, "safeScriptWithArgs", { enumerable: !0, get: function() {
1139
+ } }), Object.defineProperty(e, "safeScriptWithArgs", { enumerable: !0, get: function() {
1138
1140
  return a.safeScriptWithArgs;
1139
- } }), Object.defineProperty(t, "scriptFromJson", { enumerable: !0, get: function() {
1141
+ } }), Object.defineProperty(e, "scriptFromJson", { enumerable: !0, get: function() {
1140
1142
  return a.scriptFromJson;
1141
1143
  } });
1142
- var c = pi;
1143
- Object.defineProperty(t, "concatStyles", { enumerable: !0, get: function() {
1144
+ var c = di;
1145
+ Object.defineProperty(e, "concatStyles", { enumerable: !0, get: function() {
1144
1146
  return c.concatStyles;
1145
- } }), Object.defineProperty(t, "safeStyle", { enumerable: !0, get: function() {
1147
+ } }), Object.defineProperty(e, "safeStyle", { enumerable: !0, get: function() {
1146
1148
  return c.safeStyle;
1147
1149
  } });
1148
- var s = _i;
1149
- Object.defineProperty(t, "concatStyleSheets", { enumerable: !0, get: function() {
1150
- return s.concatStyleSheets;
1151
- } }), Object.defineProperty(t, "safeStyleSheet", { enumerable: !0, get: function() {
1152
- return s.safeStyleSheet;
1150
+ var l = vi;
1151
+ Object.defineProperty(e, "concatStyleSheets", { enumerable: !0, get: function() {
1152
+ return l.concatStyleSheets;
1153
+ } }), Object.defineProperty(e, "safeStyleSheet", { enumerable: !0, get: function() {
1154
+ return l.safeStyleSheet;
1153
1155
  } });
1154
- var v = yi;
1155
- Object.defineProperty(t, "SafeAttributePrefix", { enumerable: !0, get: function() {
1156
- return v.SafeAttributePrefix;
1157
- } }), Object.defineProperty(t, "unwrapAttributePrefix", { enumerable: !0, get: function() {
1158
- return v.unwrapAttributePrefix;
1156
+ var h = gi;
1157
+ Object.defineProperty(e, "SafeAttributePrefix", { enumerable: !0, get: function() {
1158
+ return h.SafeAttributePrefix;
1159
+ } }), Object.defineProperty(e, "unwrapAttributePrefix", { enumerable: !0, get: function() {
1160
+ return h.unwrapAttributePrefix;
1159
1161
  } });
1160
- var y = bi;
1161
- Object.defineProperty(t, "EMPTY_HTML", { enumerable: !0, get: function() {
1162
- return y.EMPTY_HTML;
1163
- } }), Object.defineProperty(t, "isHtml", { enumerable: !0, get: function() {
1164
- return y.isHtml;
1165
- } }), Object.defineProperty(t, "SafeHtml", { enumerable: !0, get: function() {
1166
- return y.SafeHtml;
1167
- } }), Object.defineProperty(t, "unwrapHtml", { enumerable: !0, get: function() {
1168
- return y.unwrapHtml;
1162
+ var f = _i;
1163
+ Object.defineProperty(e, "EMPTY_HTML", { enumerable: !0, get: function() {
1164
+ return f.EMPTY_HTML;
1165
+ } }), Object.defineProperty(e, "isHtml", { enumerable: !0, get: function() {
1166
+ return f.isHtml;
1167
+ } }), Object.defineProperty(e, "SafeHtml", { enumerable: !0, get: function() {
1168
+ return f.SafeHtml;
1169
+ } }), Object.defineProperty(e, "unwrapHtml", { enumerable: !0, get: function() {
1170
+ return f.unwrapHtml;
1169
1171
  } });
1170
- var I = Ai;
1171
- Object.defineProperty(t, "isResourceUrl", { enumerable: !0, get: function() {
1172
- return I.isResourceUrl;
1173
- } }), Object.defineProperty(t, "TrustedResourceUrl", { enumerable: !0, get: function() {
1174
- return I.TrustedResourceUrl;
1175
- } }), Object.defineProperty(t, "unwrapResourceUrl", { enumerable: !0, get: function() {
1176
- return I.unwrapResourceUrl;
1172
+ var S = yi;
1173
+ Object.defineProperty(e, "isResourceUrl", { enumerable: !0, get: function() {
1174
+ return S.isResourceUrl;
1175
+ } }), Object.defineProperty(e, "TrustedResourceUrl", { enumerable: !0, get: function() {
1176
+ return S.TrustedResourceUrl;
1177
+ } }), Object.defineProperty(e, "unwrapResourceUrl", { enumerable: !0, get: function() {
1178
+ return S.unwrapResourceUrl;
1177
1179
  } });
1178
- var C = Ei;
1179
- Object.defineProperty(t, "EMPTY_SCRIPT", { enumerable: !0, get: function() {
1180
- return C.EMPTY_SCRIPT;
1181
- } }), Object.defineProperty(t, "isScript", { enumerable: !0, get: function() {
1182
- return C.isScript;
1183
- } }), Object.defineProperty(t, "SafeScript", { enumerable: !0, get: function() {
1184
- return C.SafeScript;
1185
- } }), Object.defineProperty(t, "unwrapScript", { enumerable: !0, get: function() {
1186
- return C.unwrapScript;
1180
+ var R = bi;
1181
+ Object.defineProperty(e, "EMPTY_SCRIPT", { enumerable: !0, get: function() {
1182
+ return R.EMPTY_SCRIPT;
1183
+ } }), Object.defineProperty(e, "isScript", { enumerable: !0, get: function() {
1184
+ return R.isScript;
1185
+ } }), Object.defineProperty(e, "SafeScript", { enumerable: !0, get: function() {
1186
+ return R.SafeScript;
1187
+ } }), Object.defineProperty(e, "unwrapScript", { enumerable: !0, get: function() {
1188
+ return R.unwrapScript;
1187
1189
  } });
1188
- var M = Si;
1189
- Object.defineProperty(t, "isStyle", { enumerable: !0, get: function() {
1190
- return M.isStyle;
1191
- } }), Object.defineProperty(t, "SafeStyle", { enumerable: !0, get: function() {
1192
- return M.SafeStyle;
1193
- } }), Object.defineProperty(t, "unwrapStyle", { enumerable: !0, get: function() {
1194
- return M.unwrapStyle;
1190
+ var z = Ai;
1191
+ Object.defineProperty(e, "isStyle", { enumerable: !0, get: function() {
1192
+ return z.isStyle;
1193
+ } }), Object.defineProperty(e, "SafeStyle", { enumerable: !0, get: function() {
1194
+ return z.SafeStyle;
1195
+ } }), Object.defineProperty(e, "unwrapStyle", { enumerable: !0, get: function() {
1196
+ return z.unwrapStyle;
1195
1197
  } });
1196
- var k = wi;
1197
- Object.defineProperty(t, "isStyleSheet", { enumerable: !0, get: function() {
1198
- return k.isStyleSheet;
1199
- } }), Object.defineProperty(t, "SafeStyleSheet", { enumerable: !0, get: function() {
1200
- return k.SafeStyleSheet;
1201
- } }), Object.defineProperty(t, "unwrapStyleSheet", { enumerable: !0, get: function() {
1202
- return k.unwrapStyleSheet;
1198
+ var x = Ei;
1199
+ Object.defineProperty(e, "isStyleSheet", { enumerable: !0, get: function() {
1200
+ return x.isStyleSheet;
1201
+ } }), Object.defineProperty(e, "SafeStyleSheet", { enumerable: !0, get: function() {
1202
+ return x.SafeStyleSheet;
1203
+ } }), Object.defineProperty(e, "unwrapStyleSheet", { enumerable: !0, get: function() {
1204
+ return x.unwrapStyleSheet;
1203
1205
  } });
1204
- })(D);
1205
- /**
1206
- * @license
1207
- * Copyright 2020 Google Inc.
1208
- *
1209
- * Permission is hereby granted, free of charge, to any person obtaining a copy
1210
- * of this software and associated documentation files (the "Software"), to deal
1211
- * in the Software without restriction, including without limitation the rights
1212
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1213
- * copies of the Software, and to permit persons to whom the Software is
1214
- * furnished to do so, subject to the following conditions:
1215
- *
1216
- * The above copyright notice and this permission notice shall be included in
1217
- * all copies or substantial portions of the Software.
1218
- *
1219
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1220
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1221
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1222
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1223
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1224
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1225
- * THE SOFTWARE.
1226
- */
1227
- var Ti = (
1228
- /** @class */
1229
- function() {
1230
- function t() {
1231
- this.rafIDs = /* @__PURE__ */ new Map();
1232
- }
1233
- return t.prototype.request = function(e, i) {
1234
- var n = this;
1235
- this.cancel(e);
1236
- var r = requestAnimationFrame(function(o) {
1237
- n.rafIDs.delete(e), i(o);
1238
- });
1239
- this.rafIDs.set(e, r);
1240
- }, t.prototype.cancel = function(e) {
1241
- var i = this.rafIDs.get(e);
1242
- i && (cancelAnimationFrame(i), this.rafIDs.delete(e));
1243
- }, t.prototype.cancelAll = function() {
1244
- var e = this;
1245
- this.rafIDs.forEach(function(i, n) {
1246
- e.cancel(n);
1247
- });
1248
- }, t.prototype.getQueue = function() {
1249
- var e = [];
1250
- return this.rafIDs.forEach(function(i, n) {
1251
- e.push(n);
1252
- }), e;
1253
- }, t;
1254
- }()
1255
- );
1206
+ })(T);
1256
1207
  /**
1257
1208
  * @license
1258
1209
  * Copyright 2016 Google Inc.
@@ -1275,44 +1226,52 @@ var Ti = (
1275
1226
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1276
1227
  * THE SOFTWARE.
1277
1228
  */
1278
- var ot = (
1229
+ function Si(e) {
1230
+ return String(e).replace(/\-([a-z])/g, function(i, t) {
1231
+ return t.toUpperCase();
1232
+ });
1233
+ }
1234
+ var Kt = (
1279
1235
  /** @class */
1280
1236
  function() {
1281
- function t(e) {
1282
- e === void 0 && (e = {}), this.adapter = e;
1237
+ function e(i, t) {
1238
+ for (var n = [], r = 2; r < arguments.length; r++)
1239
+ n[r - 2] = arguments[r];
1240
+ this.root = i, this.initialize.apply(this, ee([], ie(n))), this.foundation = t === void 0 ? this.getDefaultFoundation() : t, this.foundation.init(), this.initialSyncWithDOM();
1283
1241
  }
1284
- return Object.defineProperty(t, "cssClasses", {
1285
- get: function() {
1286
- return {};
1287
- },
1288
- enumerable: !1,
1289
- configurable: !0
1290
- }), Object.defineProperty(t, "strings", {
1291
- get: function() {
1292
- return {};
1293
- },
1294
- enumerable: !1,
1295
- configurable: !0
1296
- }), Object.defineProperty(t, "numbers", {
1297
- get: function() {
1298
- return {};
1299
- },
1300
- enumerable: !1,
1301
- configurable: !0
1302
- }), Object.defineProperty(t, "defaultAdapter", {
1303
- get: function() {
1304
- return {};
1305
- },
1306
- enumerable: !1,
1307
- configurable: !0
1308
- }), t.prototype.init = function() {
1309
- }, t.prototype.destroy = function() {
1310
- }, t;
1242
+ return e.attachTo = function(i) {
1243
+ return new e(i, new Q({}));
1244
+ }, e.prototype.initialize = function() {
1245
+ }, e.prototype.getDefaultFoundation = function() {
1246
+ throw new Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class");
1247
+ }, e.prototype.initialSyncWithDOM = function() {
1248
+ }, e.prototype.destroy = function() {
1249
+ this.foundation.destroy();
1250
+ }, e.prototype.listen = function(i, t, n) {
1251
+ this.root.addEventListener(i, t, n);
1252
+ }, e.prototype.unlisten = function(i, t, n) {
1253
+ this.root.removeEventListener(i, t, n);
1254
+ }, e.prototype.emit = function(i, t, n) {
1255
+ n === void 0 && (n = !1);
1256
+ var r;
1257
+ typeof CustomEvent == "function" ? r = new CustomEvent(i, {
1258
+ bubbles: n,
1259
+ detail: t
1260
+ }) : (r = document.createEvent("CustomEvent"), r.initCustomEvent(i, n, !1, t)), this.root.dispatchEvent(r);
1261
+ }, e.prototype.safeSetAttribute = function(i, t, n) {
1262
+ if (t.toLowerCase() === "tabindex")
1263
+ i.tabIndex = Number(n);
1264
+ else if (t.indexOf("data-") === 0) {
1265
+ var r = Si(t.replace(/^data-/, ""));
1266
+ i.dataset[r] = n;
1267
+ } else
1268
+ Mt([T.safeAttrPrefix(vt || (vt = C(["aria-"], ["aria-"]))), T.safeAttrPrefix(gt || (gt = C(["role"], ["role"])))], i, t, n);
1269
+ }, e;
1311
1270
  }()
1312
- );
1271
+ ), vt, gt;
1313
1272
  /**
1314
1273
  * @license
1315
- * Copyright 2020 Google Inc.
1274
+ * Copyright 2018 Google Inc.
1316
1275
  *
1317
1276
  * Permission is hereby granted, free of charge, to any person obtaining a copy
1318
1277
  * of this software and associated documentation files (the "Software"), to deal
@@ -1332,85 +1291,19 @@ var ot = (
1332
1291
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1333
1292
  * THE SOFTWARE.
1334
1293
  */
1335
- var l = {
1336
- UNKNOWN: "Unknown",
1337
- BACKSPACE: "Backspace",
1338
- ENTER: "Enter",
1339
- SPACEBAR: "Spacebar",
1340
- PAGE_UP: "PageUp",
1341
- PAGE_DOWN: "PageDown",
1342
- END: "End",
1343
- HOME: "Home",
1344
- ARROW_LEFT: "ArrowLeft",
1345
- ARROW_UP: "ArrowUp",
1346
- ARROW_RIGHT: "ArrowRight",
1347
- ARROW_DOWN: "ArrowDown",
1348
- DELETE: "Delete",
1349
- ESCAPE: "Escape",
1350
- TAB: "Tab"
1351
- }, m = /* @__PURE__ */ new Set();
1352
- m.add(l.BACKSPACE);
1353
- m.add(l.ENTER);
1354
- m.add(l.SPACEBAR);
1355
- m.add(l.PAGE_UP);
1356
- m.add(l.PAGE_DOWN);
1357
- m.add(l.END);
1358
- m.add(l.HOME);
1359
- m.add(l.ARROW_LEFT);
1360
- m.add(l.ARROW_UP);
1361
- m.add(l.ARROW_RIGHT);
1362
- m.add(l.ARROW_DOWN);
1363
- m.add(l.DELETE);
1364
- m.add(l.ESCAPE);
1365
- m.add(l.TAB);
1366
- var _ = {
1367
- BACKSPACE: 8,
1368
- ENTER: 13,
1369
- SPACEBAR: 32,
1370
- PAGE_UP: 33,
1371
- PAGE_DOWN: 34,
1372
- END: 35,
1373
- HOME: 36,
1374
- ARROW_LEFT: 37,
1375
- ARROW_UP: 38,
1376
- ARROW_RIGHT: 39,
1377
- ARROW_DOWN: 40,
1378
- DELETE: 46,
1379
- ESCAPE: 27,
1380
- TAB: 9
1381
- }, f = /* @__PURE__ */ new Map();
1382
- f.set(_.BACKSPACE, l.BACKSPACE);
1383
- f.set(_.ENTER, l.ENTER);
1384
- f.set(_.SPACEBAR, l.SPACEBAR);
1385
- f.set(_.PAGE_UP, l.PAGE_UP);
1386
- f.set(_.PAGE_DOWN, l.PAGE_DOWN);
1387
- f.set(_.END, l.END);
1388
- f.set(_.HOME, l.HOME);
1389
- f.set(_.ARROW_LEFT, l.ARROW_LEFT);
1390
- f.set(_.ARROW_UP, l.ARROW_UP);
1391
- f.set(_.ARROW_RIGHT, l.ARROW_RIGHT);
1392
- f.set(_.ARROW_DOWN, l.ARROW_DOWN);
1393
- f.set(_.DELETE, l.DELETE);
1394
- f.set(_.ESCAPE, l.ESCAPE);
1395
- f.set(_.TAB, l.TAB);
1396
- var T = /* @__PURE__ */ new Set();
1397
- T.add(l.PAGE_UP);
1398
- T.add(l.PAGE_DOWN);
1399
- T.add(l.END);
1400
- T.add(l.HOME);
1401
- T.add(l.ARROW_LEFT);
1402
- T.add(l.ARROW_UP);
1403
- T.add(l.ARROW_RIGHT);
1404
- T.add(l.ARROW_DOWN);
1405
- function Xt(t) {
1406
- var e = t.key;
1407
- if (m.has(e))
1408
- return e;
1409
- var i = f.get(t.keyCode);
1410
- return i || l.UNKNOWN;
1294
+ function wi(e, i) {
1295
+ if (e.closest)
1296
+ return e.closest(i);
1297
+ for (var t = e; t; ) {
1298
+ if ($t(t, i))
1299
+ return t;
1300
+ t = t.parentElement;
1301
+ }
1302
+ return null;
1411
1303
  }
1412
- function Ri(t) {
1413
- return T.has(Xt(t));
1304
+ function $t(e, i) {
1305
+ var t = e.matches || e.webkitMatchesSelector || e.msMatchesSelector;
1306
+ return t.call(e, i);
1414
1307
  }
1415
1308
  /**
1416
1309
  * @license
@@ -1434,30 +1327,30 @@ function Ri(t) {
1434
1327
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1435
1328
  * THE SOFTWARE.
1436
1329
  */
1437
- var X;
1438
- (function(t) {
1439
- t.PRIMARY_ACTION = "mdc-evolution-chip__action--primary", t.TRAILING_ACTION = "mdc-evolution-chip__action--trailing", t.CHIP_ROOT = "mdc-evolution-chip";
1440
- })(X || (X = {}));
1441
- var E;
1442
- (function(t) {
1443
- t[t.UNSPECIFIED = 0] = "UNSPECIFIED", t[t.CLICK = 1] = "CLICK", t[t.BACKSPACE_KEY = 2] = "BACKSPACE_KEY", t[t.DELETE_KEY = 3] = "DELETE_KEY", t[t.SPACEBAR_KEY = 4] = "SPACEBAR_KEY", t[t.ENTER_KEY = 5] = "ENTER_KEY";
1444
- })(E || (E = {}));
1445
- var b;
1446
- (function(t) {
1447
- t[t.UNSPECIFIED = 0] = "UNSPECIFIED", t[t.PRIMARY = 1] = "PRIMARY", t[t.TRAILING = 2] = "TRAILING";
1448
- })(b || (b = {}));
1449
1330
  var K;
1450
- (function(t) {
1451
- t.INTERACTION = "MDCChipAction:interaction", t.NAVIGATION = "MDCChipAction:navigation";
1331
+ (function(e) {
1332
+ e.PRIMARY_ACTION = "mdc-evolution-chip__action--primary", e.TRAILING_ACTION = "mdc-evolution-chip__action--trailing", e.CHIP_ROOT = "mdc-evolution-chip";
1452
1333
  })(K || (K = {}));
1453
- var z;
1454
- (function(t) {
1455
- t[t.FOCUSABLE = 0] = "FOCUSABLE", t[t.FOCUSABLE_AND_FOCUSED = 1] = "FOCUSABLE_AND_FOCUSED", t[t.NOT_FOCUSABLE = 2] = "NOT_FOCUSABLE";
1456
- })(z || (z = {}));
1457
- var h;
1458
- (function(t) {
1459
- t.ARIA_DISABLED = "aria-disabled", t.ARIA_HIDDEN = "aria-hidden", t.ARIA_SELECTED = "aria-selected", t.DATA_DELETABLE = "data-mdc-deletable", t.DISABLED = "disabled", t.ROLE = "role", t.TAB_INDEX = "tabindex";
1460
- })(h || (h = {}));
1334
+ var y;
1335
+ (function(e) {
1336
+ e[e.UNSPECIFIED = 0] = "UNSPECIFIED", e[e.CLICK = 1] = "CLICK", e[e.BACKSPACE_KEY = 2] = "BACKSPACE_KEY", e[e.DELETE_KEY = 3] = "DELETE_KEY", e[e.SPACEBAR_KEY = 4] = "SPACEBAR_KEY", e[e.ENTER_KEY = 5] = "ENTER_KEY";
1337
+ })(y || (y = {}));
1338
+ var v;
1339
+ (function(e) {
1340
+ e[e.UNSPECIFIED = 0] = "UNSPECIFIED", e[e.PRIMARY = 1] = "PRIMARY", e[e.TRAILING = 2] = "TRAILING";
1341
+ })(v || (v = {}));
1342
+ var B;
1343
+ (function(e) {
1344
+ e.INTERACTION = "MDCChipAction:interaction", e.NAVIGATION = "MDCChipAction:navigation";
1345
+ })(B || (B = {}));
1346
+ var P;
1347
+ (function(e) {
1348
+ e[e.FOCUSABLE = 0] = "FOCUSABLE", e[e.FOCUSABLE_AND_FOCUSED = 1] = "FOCUSABLE_AND_FOCUSED", e[e.NOT_FOCUSABLE = 2] = "NOT_FOCUSABLE";
1349
+ })(P || (P = {}));
1350
+ var p;
1351
+ (function(e) {
1352
+ e.ARIA_DISABLED = "aria-disabled", e.ARIA_HIDDEN = "aria-hidden", e.ARIA_SELECTED = "aria-selected", e.DATA_DELETABLE = "data-mdc-deletable", e.DISABLED = "disabled", e.ROLE = "role", e.TAB_INDEX = "tabindex";
1353
+ })(p || (p = {}));
1461
1354
  /**
1462
1355
  * @license
1463
1356
  * Copyright 2016 Google Inc.
@@ -1480,22 +1373,22 @@ var h;
1480
1373
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1481
1374
  * THE SOFTWARE.
1482
1375
  */
1483
- var u;
1484
- (function(t) {
1485
- t.SELECTING = "mdc-evolution-chip--selecting", t.DESELECTING = "mdc-evolution-chip--deselecting", t.SELECTING_WITH_PRIMARY_ICON = "mdc-evolution-chip--selecting-with-primary-icon", t.DESELECTING_WITH_PRIMARY_ICON = "mdc-evolution-chip--deselecting-with-primary-icon", t.DISABLED = "mdc-evolution-chip--disabled", t.ENTER = "mdc-evolution-chip--enter", t.EXIT = "mdc-evolution-chip--exit", t.SELECTED = "mdc-evolution-chip--selected", t.HIDDEN = "mdc-evolution-chip--hidden", t.WITH_PRIMARY_ICON = "mdc-evolution-chip--with-primary-icon";
1486
- })(u || (u = {}));
1487
- var G;
1488
- (function(t) {
1489
- t.INTERACTION = "MDCChip:interaction", t.NAVIGATION = "MDCChip:navigation", t.ANIMATION = "MDCChip:animation";
1490
- })(G || (G = {}));
1491
- var et;
1492
- (function(t) {
1493
- t.DATA_REMOVED_ANNOUNCEMENT = "data-mdc-removed-announcement", t.DATA_ADDED_ANNOUNCEMENT = "data-mdc-added-announcement";
1494
- })(et || (et = {}));
1495
- var O;
1496
- (function(t) {
1497
- t.ENTER = "mdc-evolution-chip-enter", t.EXIT = "mdc-evolution-chip-exit";
1498
- })(O || (O = {}));
1376
+ var d;
1377
+ (function(e) {
1378
+ e.SELECTING = "mdc-evolution-chip--selecting", e.DESELECTING = "mdc-evolution-chip--deselecting", e.SELECTING_WITH_PRIMARY_ICON = "mdc-evolution-chip--selecting-with-primary-icon", e.DESELECTING_WITH_PRIMARY_ICON = "mdc-evolution-chip--deselecting-with-primary-icon", e.DISABLED = "mdc-evolution-chip--disabled", e.ENTER = "mdc-evolution-chip--enter", e.EXIT = "mdc-evolution-chip--exit", e.SELECTED = "mdc-evolution-chip--selected", e.HIDDEN = "mdc-evolution-chip--hidden", e.WITH_PRIMARY_ICON = "mdc-evolution-chip--with-primary-icon";
1379
+ })(d || (d = {}));
1380
+ var H;
1381
+ (function(e) {
1382
+ e.INTERACTION = "MDCChip:interaction", e.NAVIGATION = "MDCChip:navigation", e.ANIMATION = "MDCChip:animation";
1383
+ })(H || (H = {}));
1384
+ var V;
1385
+ (function(e) {
1386
+ e.DATA_REMOVED_ANNOUNCEMENT = "data-mdc-removed-announcement", e.DATA_ADDED_ANNOUNCEMENT = "data-mdc-added-announcement";
1387
+ })(V || (V = {}));
1388
+ var w;
1389
+ (function(e) {
1390
+ e.ENTER = "mdc-evolution-chip-enter", e.EXIT = "mdc-evolution-chip-exit";
1391
+ })(w || (w = {}));
1499
1392
  /**
1500
1393
  * @license
1501
1394
  * Copyright 2020 Google Inc.
@@ -1518,23 +1411,23 @@ var O;
1518
1411
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1519
1412
  * THE SOFTWARE.
1520
1413
  */
1521
- var F;
1522
- (function(t) {
1523
- t[t.UNSPECIFIED = 0] = "UNSPECIFIED", t[t.LEFT = 1] = "LEFT", t[t.RIGHT = 2] = "RIGHT";
1524
- })(F || (F = {}));
1525
- var A;
1526
- (function(t) {
1527
- t.SELECTION = "selection", t.EXIT = "exit";
1528
- })(A || (A = {}));
1529
- var Ii = (
1414
+ var O;
1415
+ (function(e) {
1416
+ e[e.UNSPECIFIED = 0] = "UNSPECIFIED", e[e.LEFT = 1] = "LEFT", e[e.RIGHT = 2] = "RIGHT";
1417
+ })(O || (O = {}));
1418
+ var g;
1419
+ (function(e) {
1420
+ e.SELECTION = "selection", e.EXIT = "exit";
1421
+ })(g || (g = {}));
1422
+ var Ti = (
1530
1423
  /** @class */
1531
- function(t) {
1532
- U(e, t);
1533
- function e(i) {
1534
- var n = t.call(this, S(S({}, e.defaultAdapter), i)) || this;
1535
- return n.animFrame = new Ti(), n;
1424
+ function(e) {
1425
+ N(i, e);
1426
+ function i(t) {
1427
+ var n = e.call(this, b(b({}, i.defaultAdapter), t)) || this;
1428
+ return n.animFrame = new ne(), n;
1536
1429
  }
1537
- return Object.defineProperty(e, "defaultAdapter", {
1430
+ return Object.defineProperty(i, "defaultAdapter", {
1538
1431
  get: function() {
1539
1432
  return {
1540
1433
  addClass: function() {
@@ -1585,19 +1478,19 @@ var Ii = (
1585
1478
  },
1586
1479
  enumerable: !1,
1587
1480
  configurable: !0
1588
- }), e.prototype.destroy = function() {
1481
+ }), i.prototype.destroy = function() {
1589
1482
  this.animFrame.cancelAll();
1590
- }, e.prototype.getElementID = function() {
1483
+ }, i.prototype.getElementID = function() {
1591
1484
  return this.adapter.getElementID();
1592
- }, e.prototype.setDisabled = function(i) {
1485
+ }, i.prototype.setDisabled = function(t) {
1593
1486
  var n, r, o = this.getActions();
1594
1487
  try {
1595
- for (var a = B(o), c = a.next(); !c.done; c = a.next()) {
1596
- var s = c.value;
1597
- this.adapter.setActionDisabled(s, i);
1488
+ for (var a = U(o), c = a.next(); !c.done; c = a.next()) {
1489
+ var l = c.value;
1490
+ this.adapter.setActionDisabled(l, t);
1598
1491
  }
1599
- } catch (v) {
1600
- n = { error: v };
1492
+ } catch (h) {
1493
+ n = { error: h };
1601
1494
  } finally {
1602
1495
  try {
1603
1496
  c && !c.done && (r = a.return) && r.call(a);
@@ -1606,77 +1499,77 @@ var Ii = (
1606
1499
  throw n.error;
1607
1500
  }
1608
1501
  }
1609
- i ? this.adapter.addClass(u.DISABLED) : this.adapter.removeClass(u.DISABLED);
1610
- }, e.prototype.isDisabled = function() {
1611
- var i, n, r = this.getActions();
1502
+ t ? this.adapter.addClass(d.DISABLED) : this.adapter.removeClass(d.DISABLED);
1503
+ }, i.prototype.isDisabled = function() {
1504
+ var t, n, r = this.getActions();
1612
1505
  try {
1613
- for (var o = B(r), a = o.next(); !a.done; a = o.next()) {
1506
+ for (var o = U(r), a = o.next(); !a.done; a = o.next()) {
1614
1507
  var c = a.value;
1615
1508
  if (this.adapter.isActionDisabled(c))
1616
1509
  return !0;
1617
1510
  }
1618
- } catch (s) {
1619
- i = { error: s };
1511
+ } catch (l) {
1512
+ t = { error: l };
1620
1513
  } finally {
1621
1514
  try {
1622
1515
  a && !a.done && (n = o.return) && n.call(o);
1623
1516
  } finally {
1624
- if (i)
1625
- throw i.error;
1517
+ if (t)
1518
+ throw t.error;
1626
1519
  }
1627
1520
  }
1628
1521
  return !1;
1629
- }, e.prototype.getActions = function() {
1522
+ }, i.prototype.getActions = function() {
1630
1523
  return this.adapter.getActions();
1631
- }, e.prototype.isActionFocusable = function(i) {
1632
- return this.adapter.isActionFocusable(i);
1633
- }, e.prototype.isActionSelectable = function(i) {
1634
- return this.adapter.isActionSelectable(i);
1635
- }, e.prototype.isActionSelected = function(i) {
1636
- return this.adapter.isActionSelected(i);
1637
- }, e.prototype.setActionFocus = function(i, n) {
1638
- this.adapter.setActionFocus(i, n);
1639
- }, e.prototype.setActionSelected = function(i, n) {
1640
- this.adapter.setActionSelected(i, n), this.animateSelection(n);
1641
- }, e.prototype.startAnimation = function(i) {
1642
- if (i === O.ENTER) {
1643
- this.adapter.addClass(u.ENTER);
1524
+ }, i.prototype.isActionFocusable = function(t) {
1525
+ return this.adapter.isActionFocusable(t);
1526
+ }, i.prototype.isActionSelectable = function(t) {
1527
+ return this.adapter.isActionSelectable(t);
1528
+ }, i.prototype.isActionSelected = function(t) {
1529
+ return this.adapter.isActionSelected(t);
1530
+ }, i.prototype.setActionFocus = function(t, n) {
1531
+ this.adapter.setActionFocus(t, n);
1532
+ }, i.prototype.setActionSelected = function(t, n) {
1533
+ this.adapter.setActionSelected(t, n), this.animateSelection(n);
1534
+ }, i.prototype.startAnimation = function(t) {
1535
+ if (t === w.ENTER) {
1536
+ this.adapter.addClass(d.ENTER);
1644
1537
  return;
1645
1538
  }
1646
- if (i === O.EXIT) {
1647
- this.adapter.addClass(u.EXIT);
1539
+ if (t === w.EXIT) {
1540
+ this.adapter.addClass(d.EXIT);
1648
1541
  return;
1649
1542
  }
1650
- }, e.prototype.handleAnimationEnd = function(i) {
1651
- var n = this, r = i.animationName;
1652
- if (r === O.ENTER) {
1653
- this.adapter.removeClass(u.ENTER), this.adapter.emitEvent(G.ANIMATION, {
1543
+ }, i.prototype.handleAnimationEnd = function(t) {
1544
+ var n = this, r = t.animationName;
1545
+ if (r === w.ENTER) {
1546
+ this.adapter.removeClass(d.ENTER), this.adapter.emitEvent(H.ANIMATION, {
1654
1547
  chipID: this.getElementID(),
1655
- animation: O.ENTER,
1548
+ animation: w.ENTER,
1656
1549
  addedAnnouncement: this.getAddedAnnouncement(),
1657
1550
  isComplete: !0
1658
1551
  });
1659
1552
  return;
1660
1553
  }
1661
- if (r === O.EXIT) {
1662
- this.adapter.removeClass(u.EXIT), this.adapter.addClass(u.HIDDEN);
1554
+ if (r === w.EXIT) {
1555
+ this.adapter.removeClass(d.EXIT), this.adapter.addClass(d.HIDDEN);
1663
1556
  var o = this.adapter.getOffsetWidth();
1664
- this.adapter.setStyleProperty("width", o + "px"), this.animFrame.request(A.EXIT, function() {
1665
- n.animFrame.request(A.EXIT, function() {
1557
+ this.adapter.setStyleProperty("width", o + "px"), this.animFrame.request(g.EXIT, function() {
1558
+ n.animFrame.request(g.EXIT, function() {
1666
1559
  n.adapter.setStyleProperty("width", "0");
1667
1560
  });
1668
1561
  });
1669
1562
  }
1670
- }, e.prototype.handleTransitionEnd = function() {
1671
- this.adapter.hasClass(u.HIDDEN) && this.adapter.emitEvent(G.ANIMATION, {
1563
+ }, i.prototype.handleTransitionEnd = function() {
1564
+ this.adapter.hasClass(d.HIDDEN) && this.adapter.emitEvent(H.ANIMATION, {
1672
1565
  chipID: this.getElementID(),
1673
- animation: O.EXIT,
1566
+ animation: w.EXIT,
1674
1567
  removedAnnouncement: this.getRemovedAnnouncement(),
1675
1568
  isComplete: !0
1676
1569
  });
1677
- }, e.prototype.handleActionInteraction = function(i) {
1678
- var n = i.detail, r = n.source, o = n.actionID, a = this.adapter.isActionSelectable(r), c = this.adapter.isActionSelected(r);
1679
- this.adapter.emitEvent(G.INTERACTION, {
1570
+ }, i.prototype.handleActionInteraction = function(t) {
1571
+ var n = t.detail, r = n.source, o = n.actionID, a = this.adapter.isActionSelectable(r), c = this.adapter.isActionSelected(r);
1572
+ this.adapter.emitEvent(H.INTERACTION, {
1680
1573
  chipID: this.getElementID(),
1681
1574
  shouldRemove: this.shouldRemove(n),
1682
1575
  actionID: o,
@@ -1684,175 +1577,74 @@ var Ii = (
1684
1577
  isSelected: c,
1685
1578
  source: r
1686
1579
  });
1687
- }, e.prototype.handleActionNavigation = function(i) {
1688
- var n = i.detail, r = n.source, o = n.key, a = this.adapter.isRTL(), c = this.adapter.isActionFocusable(b.TRAILING), s = this.adapter.isActionFocusable(b.PRIMARY), v = this.directionFromKey(o, a), y = r === b.PRIMARY && v === F.RIGHT && c, I = r === b.TRAILING && v === F.LEFT && s;
1689
- if (y) {
1690
- this.navigateActions({ from: r, to: b.TRAILING });
1580
+ }, i.prototype.handleActionNavigation = function(t) {
1581
+ var n = t.detail, r = n.source, o = n.key, a = this.adapter.isRTL(), c = this.adapter.isActionFocusable(v.TRAILING), l = this.adapter.isActionFocusable(v.PRIMARY), h = this.directionFromKey(o, a), f = r === v.PRIMARY && h === O.RIGHT && c, S = r === v.TRAILING && h === O.LEFT && l;
1582
+ if (f) {
1583
+ this.navigateActions({ from: r, to: v.TRAILING });
1691
1584
  return;
1692
1585
  }
1693
- if (I) {
1694
- this.navigateActions({ from: r, to: b.PRIMARY });
1586
+ if (S) {
1587
+ this.navigateActions({ from: r, to: v.PRIMARY });
1695
1588
  return;
1696
1589
  }
1697
- this.adapter.emitEvent(G.NAVIGATION, {
1590
+ this.adapter.emitEvent(H.NAVIGATION, {
1698
1591
  chipID: this.getElementID(),
1699
1592
  isRTL: a,
1700
1593
  source: r,
1701
1594
  key: o
1702
1595
  });
1703
- }, e.prototype.directionFromKey = function(i, n) {
1704
- var r = i === l.ARROW_LEFT, o = i === l.ARROW_RIGHT;
1705
- return !n && r || n && o ? F.LEFT : !n && o || n && r ? F.RIGHT : F.UNSPECIFIED;
1706
- }, e.prototype.navigateActions = function(i) {
1707
- this.adapter.setActionFocus(i.from, z.NOT_FOCUSABLE), this.adapter.setActionFocus(i.to, z.FOCUSABLE_AND_FOCUSED);
1708
- }, e.prototype.shouldRemove = function(i) {
1709
- var n = i.source, r = i.trigger;
1710
- return r === E.BACKSPACE_KEY || r === E.DELETE_KEY ? !0 : n === b.TRAILING;
1711
- }, e.prototype.getRemovedAnnouncement = function() {
1712
- var i = this.adapter.getAttribute(et.DATA_REMOVED_ANNOUNCEMENT);
1713
- return i || void 0;
1714
- }, e.prototype.getAddedAnnouncement = function() {
1715
- var i = this.adapter.getAttribute(et.DATA_ADDED_ANNOUNCEMENT);
1716
- return i || void 0;
1717
- }, e.prototype.animateSelection = function(i) {
1596
+ }, i.prototype.directionFromKey = function(t, n) {
1597
+ var r = t === _.ARROW_LEFT, o = t === _.ARROW_RIGHT;
1598
+ return !n && r || n && o ? O.LEFT : !n && o || n && r ? O.RIGHT : O.UNSPECIFIED;
1599
+ }, i.prototype.navigateActions = function(t) {
1600
+ this.adapter.setActionFocus(t.from, P.NOT_FOCUSABLE), this.adapter.setActionFocus(t.to, P.FOCUSABLE_AND_FOCUSED);
1601
+ }, i.prototype.shouldRemove = function(t) {
1602
+ var n = t.source, r = t.trigger;
1603
+ return r === y.BACKSPACE_KEY || r === y.DELETE_KEY ? !0 : n === v.TRAILING;
1604
+ }, i.prototype.getRemovedAnnouncement = function() {
1605
+ var t = this.adapter.getAttribute(V.DATA_REMOVED_ANNOUNCEMENT);
1606
+ return t || void 0;
1607
+ }, i.prototype.getAddedAnnouncement = function() {
1608
+ var t = this.adapter.getAttribute(V.DATA_ADDED_ANNOUNCEMENT);
1609
+ return t || void 0;
1610
+ }, i.prototype.animateSelection = function(t) {
1718
1611
  var n = this;
1719
- this.resetAnimationStyles(), this.animFrame.request(A.SELECTION, function() {
1720
- n.animFrame.request(A.SELECTION, function() {
1721
- n.updateSelectionStyles(i);
1612
+ this.resetAnimationStyles(), this.animFrame.request(g.SELECTION, function() {
1613
+ n.animFrame.request(g.SELECTION, function() {
1614
+ n.updateSelectionStyles(t);
1722
1615
  });
1723
1616
  });
1724
- }, e.prototype.resetAnimationStyles = function() {
1725
- this.adapter.removeClass(u.SELECTING), this.adapter.removeClass(u.DESELECTING), this.adapter.removeClass(u.SELECTING_WITH_PRIMARY_ICON), this.adapter.removeClass(u.DESELECTING_WITH_PRIMARY_ICON);
1726
- }, e.prototype.updateSelectionStyles = function(i) {
1727
- var n = this, r = this.adapter.hasClass(u.WITH_PRIMARY_ICON);
1728
- if (r && i) {
1729
- this.adapter.addClass(u.SELECTING_WITH_PRIMARY_ICON), this.animFrame.request(A.SELECTION, function() {
1730
- n.adapter.addClass(u.SELECTED);
1617
+ }, i.prototype.resetAnimationStyles = function() {
1618
+ this.adapter.removeClass(d.SELECTING), this.adapter.removeClass(d.DESELECTING), this.adapter.removeClass(d.SELECTING_WITH_PRIMARY_ICON), this.adapter.removeClass(d.DESELECTING_WITH_PRIMARY_ICON);
1619
+ }, i.prototype.updateSelectionStyles = function(t) {
1620
+ var n = this, r = this.adapter.hasClass(d.WITH_PRIMARY_ICON);
1621
+ if (r && t) {
1622
+ this.adapter.addClass(d.SELECTING_WITH_PRIMARY_ICON), this.animFrame.request(g.SELECTION, function() {
1623
+ n.adapter.addClass(d.SELECTED);
1731
1624
  });
1732
1625
  return;
1733
1626
  }
1734
- if (r && !i) {
1735
- this.adapter.addClass(u.DESELECTING_WITH_PRIMARY_ICON), this.animFrame.request(A.SELECTION, function() {
1736
- n.adapter.removeClass(u.SELECTED);
1627
+ if (r && !t) {
1628
+ this.adapter.addClass(d.DESELECTING_WITH_PRIMARY_ICON), this.animFrame.request(g.SELECTION, function() {
1629
+ n.adapter.removeClass(d.SELECTED);
1737
1630
  });
1738
1631
  return;
1739
1632
  }
1740
- if (i) {
1741
- this.adapter.addClass(u.SELECTING), this.animFrame.request(A.SELECTION, function() {
1742
- n.adapter.addClass(u.SELECTED);
1633
+ if (t) {
1634
+ this.adapter.addClass(d.SELECTING), this.animFrame.request(g.SELECTION, function() {
1635
+ n.adapter.addClass(d.SELECTED);
1743
1636
  });
1744
1637
  return;
1745
1638
  }
1746
- if (!i) {
1747
- this.adapter.addClass(u.DESELECTING), this.animFrame.request(A.SELECTION, function() {
1748
- n.adapter.removeClass(u.SELECTED);
1639
+ if (!t) {
1640
+ this.adapter.addClass(d.DESELECTING), this.animFrame.request(g.SELECTION, function() {
1641
+ n.adapter.removeClass(d.SELECTED);
1749
1642
  });
1750
1643
  return;
1751
1644
  }
1752
- }, e;
1753
- }(ot)
1645
+ }, i;
1646
+ }(Q)
1754
1647
  );
1755
- /**
1756
- * @license
1757
- * Copyright 2016 Google Inc.
1758
- *
1759
- * Permission is hereby granted, free of charge, to any person obtaining a copy
1760
- * of this software and associated documentation files (the "Software"), to deal
1761
- * in the Software without restriction, including without limitation the rights
1762
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1763
- * copies of the Software, and to permit persons to whom the Software is
1764
- * furnished to do so, subject to the following conditions:
1765
- *
1766
- * The above copyright notice and this permission notice shall be included in
1767
- * all copies or substantial portions of the Software.
1768
- *
1769
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1770
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1771
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1772
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1773
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1774
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1775
- * THE SOFTWARE.
1776
- */
1777
- function Oi(t) {
1778
- return String(t).replace(/\-([a-z])/g, function(e, i) {
1779
- return i.toUpperCase();
1780
- });
1781
- }
1782
- var Yt = (
1783
- /** @class */
1784
- function() {
1785
- function t(e, i) {
1786
- for (var n = [], r = 2; r < arguments.length; r++)
1787
- n[r - 2] = arguments[r];
1788
- this.root = e, this.initialize.apply(this, ae([], ce(n))), this.foundation = i === void 0 ? this.getDefaultFoundation() : i, this.foundation.init(), this.initialSyncWithDOM();
1789
- }
1790
- return t.attachTo = function(e) {
1791
- return new t(e, new ot({}));
1792
- }, t.prototype.initialize = function() {
1793
- }, t.prototype.getDefaultFoundation = function() {
1794
- throw new Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class");
1795
- }, t.prototype.initialSyncWithDOM = function() {
1796
- }, t.prototype.destroy = function() {
1797
- this.foundation.destroy();
1798
- }, t.prototype.listen = function(e, i, n) {
1799
- this.root.addEventListener(e, i, n);
1800
- }, t.prototype.unlisten = function(e, i, n) {
1801
- this.root.removeEventListener(e, i, n);
1802
- }, t.prototype.emit = function(e, i, n) {
1803
- n === void 0 && (n = !1);
1804
- var r;
1805
- typeof CustomEvent == "function" ? r = new CustomEvent(e, {
1806
- bubbles: n,
1807
- detail: i
1808
- }) : (r = document.createEvent("CustomEvent"), r.initCustomEvent(e, n, !1, i)), this.root.dispatchEvent(r);
1809
- }, t.prototype.safeSetAttribute = function(e, i, n) {
1810
- if (i.toLowerCase() === "tabindex")
1811
- e.tabIndex = Number(n);
1812
- else if (i.indexOf("data-") === 0) {
1813
- var r = Oi(i.replace(/^data-/, ""));
1814
- e.dataset[r] = n;
1815
- } else
1816
- jt([D.safeAttrPrefix(bt || (bt = L(["aria-"], ["aria-"]))), D.safeAttrPrefix(At || (At = L(["role"], ["role"])))], e, i, n);
1817
- }, t;
1818
- }()
1819
- ), bt, At;
1820
- /**
1821
- * @license
1822
- * Copyright 2018 Google Inc.
1823
- *
1824
- * Permission is hereby granted, free of charge, to any person obtaining a copy
1825
- * of this software and associated documentation files (the "Software"), to deal
1826
- * in the Software without restriction, including without limitation the rights
1827
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1828
- * copies of the Software, and to permit persons to whom the Software is
1829
- * furnished to do so, subject to the following conditions:
1830
- *
1831
- * The above copyright notice and this permission notice shall be included in
1832
- * all copies or substantial portions of the Software.
1833
- *
1834
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1835
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1836
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1837
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1838
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1839
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1840
- * THE SOFTWARE.
1841
- */
1842
- function Di(t, e) {
1843
- if (t.closest)
1844
- return t.closest(e);
1845
- for (var i = t; i; ) {
1846
- if (Zt(i, e))
1847
- return i;
1848
- i = i.parentElement;
1849
- }
1850
- return null;
1851
- }
1852
- function Zt(t, e) {
1853
- var i = t.matches || t.webkitMatchesSelector || t.msMatchesSelector;
1854
- return i.call(t, e);
1855
- }
1856
1648
  /**
1857
1649
  * @license
1858
1650
  * Copyright 2019 Google Inc.
@@ -1875,26 +1667,26 @@ function Zt(t, e) {
1875
1667
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1876
1668
  * THE SOFTWARE.
1877
1669
  */
1878
- function J(t) {
1879
- return t === void 0 && (t = window), Pi(t) ? { passive: !0 } : !1;
1670
+ function X(e) {
1671
+ return e === void 0 && (e = window), Ii(e) ? { passive: !0 } : !1;
1880
1672
  }
1881
- function Pi(t) {
1882
- t === void 0 && (t = window);
1883
- var e = !1;
1673
+ function Ii(e) {
1674
+ e === void 0 && (e = window);
1675
+ var i = !1;
1884
1676
  try {
1885
- var i = {
1677
+ var t = {
1886
1678
  // This function will be called when the browser
1887
1679
  // attempts to access the passive property.
1888
1680
  get passive() {
1889
- return e = !0, !1;
1681
+ return i = !0, !1;
1890
1682
  }
1891
1683
  }, n = function() {
1892
1684
  };
1893
- t.document.addEventListener("test", n, i), t.document.removeEventListener("test", n, i);
1685
+ e.document.addEventListener("test", n, t), e.document.removeEventListener("test", n, t);
1894
1686
  } catch {
1895
- e = !1;
1687
+ i = !1;
1896
1688
  }
1897
- return e;
1689
+ return i;
1898
1690
  }
1899
1691
  /**
1900
1692
  * @license
@@ -1918,7 +1710,7 @@ function Pi(t) {
1918
1710
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1919
1711
  * THE SOFTWARE.
1920
1712
  */
1921
- var Ci = {
1713
+ var Ri = {
1922
1714
  // Ripple is a special case where the "root" component is really a "mixin" of
1923
1715
  // sorts,
1924
1716
  // given that it's an 'upgrade' to an existing component. That being said it
@@ -1929,14 +1721,14 @@ var Ci = {
1929
1721
  FG_DEACTIVATION: "mdc-ripple-upgraded--foreground-deactivation",
1930
1722
  ROOT: "mdc-ripple-upgraded",
1931
1723
  UNBOUNDED: "mdc-ripple-upgraded--unbounded"
1932
- }, Ni = {
1724
+ }, Di = {
1933
1725
  VAR_FG_SCALE: "--mdc-ripple-fg-scale",
1934
1726
  VAR_FG_SIZE: "--mdc-ripple-fg-size",
1935
1727
  VAR_FG_TRANSLATE_END: "--mdc-ripple-fg-translate-end",
1936
1728
  VAR_FG_TRANSLATE_START: "--mdc-ripple-fg-translate-start",
1937
1729
  VAR_LEFT: "--mdc-ripple-left",
1938
1730
  VAR_TOP: "--mdc-ripple-top"
1939
- }, Et = {
1731
+ }, _t = {
1940
1732
  DEACTIVATION_TIMEOUT_MS: 225,
1941
1733
  // animation duration)
1942
1734
  FG_DEACTIVATION_MS: 150,
@@ -1945,30 +1737,53 @@ var Ci = {
1945
1737
  PADDING: 10,
1946
1738
  TAP_DELAY_MS: 300
1947
1739
  // Delay between touch and simulated mouse events on touch devices
1948
- }, Q;
1949
- function Li(t, e) {
1950
- e === void 0 && (e = !1);
1951
- var i = t.CSS, n = Q;
1952
- if (typeof Q == "boolean" && !e)
1953
- return Q;
1954
- var r = i && typeof i.supports == "function";
1740
+ };
1741
+ /**
1742
+ * @license
1743
+ * Copyright 2016 Google Inc.
1744
+ *
1745
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
1746
+ * of this software and associated documentation files (the "Software"), to deal
1747
+ * in the Software without restriction, including without limitation the rights
1748
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1749
+ * copies of the Software, and to permit persons to whom the Software is
1750
+ * furnished to do so, subject to the following conditions:
1751
+ *
1752
+ * The above copyright notice and this permission notice shall be included in
1753
+ * all copies or substantial portions of the Software.
1754
+ *
1755
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1756
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1757
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1758
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1759
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1760
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1761
+ * THE SOFTWARE.
1762
+ */
1763
+ var Y;
1764
+ function Ci(e, i) {
1765
+ i === void 0 && (i = !1);
1766
+ var t = e.CSS, n = Y;
1767
+ if (typeof Y == "boolean" && !i)
1768
+ return Y;
1769
+ var r = t && typeof t.supports == "function";
1955
1770
  if (!r)
1956
1771
  return !1;
1957
- var o = i.supports("--css-vars", "yes"), a = i.supports("(--css-vars: yes)") && i.supports("color", "#00000000");
1958
- return n = o || a, e || (Q = n), n;
1772
+ var o = t.supports("--css-vars", "yes"), a = t.supports("(--css-vars: yes)") && t.supports("color", "#00000000");
1773
+ return n = o || a, i || (Y = n), n;
1959
1774
  }
1960
- function Fi(t, e, i) {
1961
- if (!t)
1775
+ function Oi(e, i, t) {
1776
+ if (!e)
1962
1777
  return { x: 0, y: 0 };
1963
- var n = e.x, r = e.y, o = n + i.left, a = r + i.top, c, s;
1964
- if (t.type === "touchstart") {
1965
- var v = t;
1966
- c = v.changedTouches[0].pageX - o, s = v.changedTouches[0].pageY - a;
1778
+ var n = i.x, r = i.y, o = n + t.left, a = r + t.top, c, l;
1779
+ if (e.type === "touchstart") {
1780
+ var h = e;
1781
+ c = h.changedTouches[0].pageX - o, l = h.changedTouches[0].pageY - a;
1967
1782
  } else {
1968
- var y = t;
1969
- c = y.pageX - o, s = y.pageY - a;
1783
+ var f = e;
1784
+ c = f.pageX - o, l = f.pageY - a;
1970
1785
  }
1971
- return { x: c, y: s };
1786
+ return { x: c, y: l };
1972
1787
  }
1973
1788
  /**
1974
1789
  * @license
@@ -1992,22 +1807,22 @@ function Fi(t, e, i) {
1992
1807
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1993
1808
  * THE SOFTWARE.
1994
1809
  */
1995
- var St = [
1810
+ var yt = [
1996
1811
  "touchstart",
1997
1812
  "pointerdown",
1998
1813
  "mousedown",
1999
1814
  "keydown"
2000
- ], wt = [
1815
+ ], bt = [
2001
1816
  "touchend",
2002
1817
  "pointerup",
2003
1818
  "mouseup",
2004
1819
  "contextmenu"
2005
- ], tt = [], Vt = (
1820
+ ], Z = [], Wt = (
2006
1821
  /** @class */
2007
- function(t) {
2008
- U(e, t);
2009
- function e(i) {
2010
- var n = t.call(this, S(S({}, e.defaultAdapter), i)) || this;
1822
+ function(e) {
1823
+ N(i, e);
1824
+ function i(t) {
1825
+ var n = e.call(this, b(b({}, i.defaultAdapter), t)) || this;
2011
1826
  return n.activationAnimationHasEnded = !1, n.activationTimer = 0, n.fgDeactivationRemovalTimer = 0, n.fgScale = "0", n.frame = { width: 0, height: 0 }, n.initialSize = 0, n.layoutFrame = 0, n.maxRadius = 0, n.unboundedCoords = { left: 0, top: 0 }, n.activationState = n.defaultActivationState(), n.activationTimerCallback = function() {
2012
1827
  n.activationAnimationHasEnded = !0, n.runDeactivationUXLogicIfReady();
2013
1828
  }, n.activateHandler = function(r) {
@@ -2022,25 +1837,25 @@ var St = [
2022
1837
  n.layout();
2023
1838
  }, n;
2024
1839
  }
2025
- return Object.defineProperty(e, "cssClasses", {
1840
+ return Object.defineProperty(i, "cssClasses", {
2026
1841
  get: function() {
2027
- return Ci;
1842
+ return Ri;
2028
1843
  },
2029
1844
  enumerable: !1,
2030
1845
  configurable: !0
2031
- }), Object.defineProperty(e, "strings", {
1846
+ }), Object.defineProperty(i, "strings", {
2032
1847
  get: function() {
2033
- return Ni;
1848
+ return Di;
2034
1849
  },
2035
1850
  enumerable: !1,
2036
1851
  configurable: !0
2037
- }), Object.defineProperty(e, "numbers", {
1852
+ }), Object.defineProperty(i, "numbers", {
2038
1853
  get: function() {
2039
- return Et;
1854
+ return _t;
2040
1855
  },
2041
1856
  enumerable: !1,
2042
1857
  configurable: !0
2043
- }), Object.defineProperty(e, "defaultAdapter", {
1858
+ }), Object.defineProperty(i, "defaultAdapter", {
2044
1859
  get: function() {
2045
1860
  return {
2046
1861
  addClass: function() {
@@ -2086,49 +1901,49 @@ var St = [
2086
1901
  },
2087
1902
  enumerable: !1,
2088
1903
  configurable: !0
2089
- }), e.prototype.init = function() {
2090
- var i = this, n = this.supportsPressRipple();
1904
+ }), i.prototype.init = function() {
1905
+ var t = this, n = this.supportsPressRipple();
2091
1906
  if (this.registerRootHandlers(n), n) {
2092
- var r = e.cssClasses, o = r.ROOT, a = r.UNBOUNDED;
1907
+ var r = i.cssClasses, o = r.ROOT, a = r.UNBOUNDED;
2093
1908
  requestAnimationFrame(function() {
2094
- i.adapter.addClass(o), i.adapter.isUnbounded() && (i.adapter.addClass(a), i.layoutInternal());
1909
+ t.adapter.addClass(o), t.adapter.isUnbounded() && (t.adapter.addClass(a), t.layoutInternal());
2095
1910
  });
2096
1911
  }
2097
- }, e.prototype.destroy = function() {
2098
- var i = this;
1912
+ }, i.prototype.destroy = function() {
1913
+ var t = this;
2099
1914
  if (this.supportsPressRipple()) {
2100
- this.activationTimer && (clearTimeout(this.activationTimer), this.activationTimer = 0, this.adapter.removeClass(e.cssClasses.FG_ACTIVATION)), this.fgDeactivationRemovalTimer && (clearTimeout(this.fgDeactivationRemovalTimer), this.fgDeactivationRemovalTimer = 0, this.adapter.removeClass(e.cssClasses.FG_DEACTIVATION));
2101
- var n = e.cssClasses, r = n.ROOT, o = n.UNBOUNDED;
1915
+ this.activationTimer && (clearTimeout(this.activationTimer), this.activationTimer = 0, this.adapter.removeClass(i.cssClasses.FG_ACTIVATION)), this.fgDeactivationRemovalTimer && (clearTimeout(this.fgDeactivationRemovalTimer), this.fgDeactivationRemovalTimer = 0, this.adapter.removeClass(i.cssClasses.FG_DEACTIVATION));
1916
+ var n = i.cssClasses, r = n.ROOT, o = n.UNBOUNDED;
2102
1917
  requestAnimationFrame(function() {
2103
- i.adapter.removeClass(r), i.adapter.removeClass(o), i.removeCssVars();
1918
+ t.adapter.removeClass(r), t.adapter.removeClass(o), t.removeCssVars();
2104
1919
  });
2105
1920
  }
2106
1921
  this.deregisterRootHandlers(), this.deregisterDeactivationHandlers();
2107
- }, e.prototype.activate = function(i) {
2108
- this.activateImpl(i);
2109
- }, e.prototype.deactivate = function() {
1922
+ }, i.prototype.activate = function(t) {
1923
+ this.activateImpl(t);
1924
+ }, i.prototype.deactivate = function() {
2110
1925
  this.deactivateImpl();
2111
- }, e.prototype.layout = function() {
2112
- var i = this;
1926
+ }, i.prototype.layout = function() {
1927
+ var t = this;
2113
1928
  this.layoutFrame && cancelAnimationFrame(this.layoutFrame), this.layoutFrame = requestAnimationFrame(function() {
2114
- i.layoutInternal(), i.layoutFrame = 0;
1929
+ t.layoutInternal(), t.layoutFrame = 0;
2115
1930
  });
2116
- }, e.prototype.setUnbounded = function(i) {
2117
- var n = e.cssClasses.UNBOUNDED;
2118
- i ? this.adapter.addClass(n) : this.adapter.removeClass(n);
2119
- }, e.prototype.handleFocus = function() {
2120
- var i = this;
1931
+ }, i.prototype.setUnbounded = function(t) {
1932
+ var n = i.cssClasses.UNBOUNDED;
1933
+ t ? this.adapter.addClass(n) : this.adapter.removeClass(n);
1934
+ }, i.prototype.handleFocus = function() {
1935
+ var t = this;
2121
1936
  requestAnimationFrame(function() {
2122
- i.adapter.addClass(e.cssClasses.BG_FOCUSED);
1937
+ t.adapter.addClass(i.cssClasses.BG_FOCUSED);
2123
1938
  });
2124
- }, e.prototype.handleBlur = function() {
2125
- var i = this;
1939
+ }, i.prototype.handleBlur = function() {
1940
+ var t = this;
2126
1941
  requestAnimationFrame(function() {
2127
- i.adapter.removeClass(e.cssClasses.BG_FOCUSED);
1942
+ t.adapter.removeClass(i.cssClasses.BG_FOCUSED);
2128
1943
  });
2129
- }, e.prototype.supportsPressRipple = function() {
1944
+ }, i.prototype.supportsPressRipple = function() {
2130
1945
  return this.adapter.browserSupportsCssVars();
2131
- }, e.prototype.defaultActivationState = function() {
1946
+ }, i.prototype.defaultActivationState = function() {
2132
1947
  return {
2133
1948
  activationEvent: void 0,
2134
1949
  hasDeactivationUXRun: !1,
@@ -2137,16 +1952,16 @@ var St = [
2137
1952
  wasActivatedByPointer: !1,
2138
1953
  wasElementMadeActive: !1
2139
1954
  };
2140
- }, e.prototype.registerRootHandlers = function(i) {
1955
+ }, i.prototype.registerRootHandlers = function(t) {
2141
1956
  var n, r;
2142
- if (i) {
1957
+ if (t) {
2143
1958
  try {
2144
- for (var o = B(St), a = o.next(); !a.done; a = o.next()) {
1959
+ for (var o = U(yt), a = o.next(); !a.done; a = o.next()) {
2145
1960
  var c = a.value;
2146
1961
  this.adapter.registerInteractionHandler(c, this.activateHandler);
2147
1962
  }
2148
- } catch (s) {
2149
- n = { error: s };
1963
+ } catch (l) {
1964
+ n = { error: l };
2150
1965
  } finally {
2151
1966
  try {
2152
1967
  a && !a.done && (r = o.return) && r.call(o);
@@ -2158,18 +1973,18 @@ var St = [
2158
1973
  this.adapter.isUnbounded() && this.adapter.registerResizeHandler(this.resizeHandler);
2159
1974
  }
2160
1975
  this.adapter.registerInteractionHandler("focus", this.focusHandler), this.adapter.registerInteractionHandler("blur", this.blurHandler);
2161
- }, e.prototype.registerDeactivationHandlers = function(i) {
1976
+ }, i.prototype.registerDeactivationHandlers = function(t) {
2162
1977
  var n, r;
2163
- if (i.type === "keydown")
1978
+ if (t.type === "keydown")
2164
1979
  this.adapter.registerInteractionHandler("keyup", this.deactivateHandler);
2165
1980
  else
2166
1981
  try {
2167
- for (var o = B(wt), a = o.next(); !a.done; a = o.next()) {
1982
+ for (var o = U(bt), a = o.next(); !a.done; a = o.next()) {
2168
1983
  var c = a.value;
2169
1984
  this.adapter.registerDocumentInteractionHandler(c, this.deactivateHandler);
2170
1985
  }
2171
- } catch (s) {
2172
- n = { error: s };
1986
+ } catch (l) {
1987
+ n = { error: l };
2173
1988
  } finally {
2174
1989
  try {
2175
1990
  a && !a.done && (r = o.return) && r.call(o);
@@ -2178,84 +1993,84 @@ var St = [
2178
1993
  throw n.error;
2179
1994
  }
2180
1995
  }
2181
- }, e.prototype.deregisterRootHandlers = function() {
2182
- var i, n;
1996
+ }, i.prototype.deregisterRootHandlers = function() {
1997
+ var t, n;
2183
1998
  try {
2184
- for (var r = B(St), o = r.next(); !o.done; o = r.next()) {
1999
+ for (var r = U(yt), o = r.next(); !o.done; o = r.next()) {
2185
2000
  var a = o.value;
2186
2001
  this.adapter.deregisterInteractionHandler(a, this.activateHandler);
2187
2002
  }
2188
2003
  } catch (c) {
2189
- i = { error: c };
2004
+ t = { error: c };
2190
2005
  } finally {
2191
2006
  try {
2192
2007
  o && !o.done && (n = r.return) && n.call(r);
2193
2008
  } finally {
2194
- if (i)
2195
- throw i.error;
2009
+ if (t)
2010
+ throw t.error;
2196
2011
  }
2197
2012
  }
2198
2013
  this.adapter.deregisterInteractionHandler("focus", this.focusHandler), this.adapter.deregisterInteractionHandler("blur", this.blurHandler), this.adapter.isUnbounded() && this.adapter.deregisterResizeHandler(this.resizeHandler);
2199
- }, e.prototype.deregisterDeactivationHandlers = function() {
2200
- var i, n;
2014
+ }, i.prototype.deregisterDeactivationHandlers = function() {
2015
+ var t, n;
2201
2016
  this.adapter.deregisterInteractionHandler("keyup", this.deactivateHandler);
2202
2017
  try {
2203
- for (var r = B(wt), o = r.next(); !o.done; o = r.next()) {
2018
+ for (var r = U(bt), o = r.next(); !o.done; o = r.next()) {
2204
2019
  var a = o.value;
2205
2020
  this.adapter.deregisterDocumentInteractionHandler(a, this.deactivateHandler);
2206
2021
  }
2207
2022
  } catch (c) {
2208
- i = { error: c };
2023
+ t = { error: c };
2209
2024
  } finally {
2210
2025
  try {
2211
2026
  o && !o.done && (n = r.return) && n.call(r);
2212
2027
  } finally {
2213
- if (i)
2214
- throw i.error;
2028
+ if (t)
2029
+ throw t.error;
2215
2030
  }
2216
2031
  }
2217
- }, e.prototype.removeCssVars = function() {
2218
- var i = this, n = e.strings, r = Object.keys(n);
2032
+ }, i.prototype.removeCssVars = function() {
2033
+ var t = this, n = i.strings, r = Object.keys(n);
2219
2034
  r.forEach(function(o) {
2220
- o.indexOf("VAR_") === 0 && i.adapter.updateCssVariable(n[o], null);
2035
+ o.indexOf("VAR_") === 0 && t.adapter.updateCssVariable(n[o], null);
2221
2036
  });
2222
- }, e.prototype.activateImpl = function(i) {
2037
+ }, i.prototype.activateImpl = function(t) {
2223
2038
  var n = this;
2224
2039
  if (!this.adapter.isSurfaceDisabled()) {
2225
2040
  var r = this.activationState;
2226
2041
  if (!r.isActivated) {
2227
- var o = this.previousActivationEvent, a = o && i !== void 0 && o.type !== i.type;
2042
+ var o = this.previousActivationEvent, a = o && t !== void 0 && o.type !== t.type;
2228
2043
  if (!a) {
2229
- r.isActivated = !0, r.isProgrammatic = i === void 0, r.activationEvent = i, r.wasActivatedByPointer = r.isProgrammatic ? !1 : i !== void 0 && (i.type === "mousedown" || i.type === "touchstart" || i.type === "pointerdown");
2230
- var c = i !== void 0 && tt.length > 0 && tt.some(function(s) {
2231
- return n.adapter.containsEventTarget(s);
2044
+ r.isActivated = !0, r.isProgrammatic = t === void 0, r.activationEvent = t, r.wasActivatedByPointer = r.isProgrammatic ? !1 : t !== void 0 && (t.type === "mousedown" || t.type === "touchstart" || t.type === "pointerdown");
2045
+ var c = t !== void 0 && Z.length > 0 && Z.some(function(l) {
2046
+ return n.adapter.containsEventTarget(l);
2232
2047
  });
2233
2048
  if (c) {
2234
2049
  this.resetActivationState();
2235
2050
  return;
2236
2051
  }
2237
- i !== void 0 && (tt.push(i.target), this.registerDeactivationHandlers(i)), r.wasElementMadeActive = this.checkElementMadeActive(i), r.wasElementMadeActive && this.animateActivation(), requestAnimationFrame(function() {
2238
- tt = [], !r.wasElementMadeActive && i !== void 0 && (i.key === " " || i.keyCode === 32) && (r.wasElementMadeActive = n.checkElementMadeActive(i), r.wasElementMadeActive && n.animateActivation()), r.wasElementMadeActive || (n.activationState = n.defaultActivationState());
2052
+ t !== void 0 && (Z.push(t.target), this.registerDeactivationHandlers(t)), r.wasElementMadeActive = this.checkElementMadeActive(t), r.wasElementMadeActive && this.animateActivation(), requestAnimationFrame(function() {
2053
+ Z = [], !r.wasElementMadeActive && t !== void 0 && (t.key === " " || t.keyCode === 32) && (r.wasElementMadeActive = n.checkElementMadeActive(t), r.wasElementMadeActive && n.animateActivation()), r.wasElementMadeActive || (n.activationState = n.defaultActivationState());
2239
2054
  });
2240
2055
  }
2241
2056
  }
2242
2057
  }
2243
- }, e.prototype.checkElementMadeActive = function(i) {
2244
- return i !== void 0 && i.type === "keydown" ? this.adapter.isSurfaceActive() : !0;
2245
- }, e.prototype.animateActivation = function() {
2246
- var i = this, n = e.strings, r = n.VAR_FG_TRANSLATE_START, o = n.VAR_FG_TRANSLATE_END, a = e.cssClasses, c = a.FG_DEACTIVATION, s = a.FG_ACTIVATION, v = e.numbers.DEACTIVATION_TIMEOUT_MS;
2058
+ }, i.prototype.checkElementMadeActive = function(t) {
2059
+ return t !== void 0 && t.type === "keydown" ? this.adapter.isSurfaceActive() : !0;
2060
+ }, i.prototype.animateActivation = function() {
2061
+ var t = this, n = i.strings, r = n.VAR_FG_TRANSLATE_START, o = n.VAR_FG_TRANSLATE_END, a = i.cssClasses, c = a.FG_DEACTIVATION, l = a.FG_ACTIVATION, h = i.numbers.DEACTIVATION_TIMEOUT_MS;
2247
2062
  this.layoutInternal();
2248
- var y = "", I = "";
2063
+ var f = "", S = "";
2249
2064
  if (!this.adapter.isUnbounded()) {
2250
- var C = this.getFgTranslationCoordinates(), M = C.startPoint, k = C.endPoint;
2251
- y = M.x + "px, " + M.y + "px", I = k.x + "px, " + k.y + "px";
2065
+ var R = this.getFgTranslationCoordinates(), z = R.startPoint, x = R.endPoint;
2066
+ f = z.x + "px, " + z.y + "px", S = x.x + "px, " + x.y + "px";
2252
2067
  }
2253
- this.adapter.updateCssVariable(r, y), this.adapter.updateCssVariable(o, I), clearTimeout(this.activationTimer), clearTimeout(this.fgDeactivationRemovalTimer), this.rmBoundedActivationClasses(), this.adapter.removeClass(c), this.adapter.computeBoundingRect(), this.adapter.addClass(s), this.activationTimer = setTimeout(function() {
2254
- i.activationTimerCallback();
2255
- }, v);
2256
- }, e.prototype.getFgTranslationCoordinates = function() {
2257
- var i = this.activationState, n = i.activationEvent, r = i.wasActivatedByPointer, o;
2258
- r ? o = Fi(n, this.adapter.getWindowPageOffset(), this.adapter.computeBoundingRect()) : o = {
2068
+ this.adapter.updateCssVariable(r, f), this.adapter.updateCssVariable(o, S), clearTimeout(this.activationTimer), clearTimeout(this.fgDeactivationRemovalTimer), this.rmBoundedActivationClasses(), this.adapter.removeClass(c), this.adapter.computeBoundingRect(), this.adapter.addClass(l), this.activationTimer = setTimeout(function() {
2069
+ t.activationTimerCallback();
2070
+ }, h);
2071
+ }, i.prototype.getFgTranslationCoordinates = function() {
2072
+ var t = this.activationState, n = t.activationEvent, r = t.wasActivatedByPointer, o;
2073
+ r ? o = Oi(n, this.adapter.getWindowPageOffset(), this.adapter.computeBoundingRect()) : o = {
2259
2074
  x: this.frame.width / 2,
2260
2075
  y: this.frame.height / 2
2261
2076
  }, o = {
@@ -2267,50 +2082,50 @@ var St = [
2267
2082
  y: this.frame.height / 2 - this.initialSize / 2
2268
2083
  };
2269
2084
  return { startPoint: o, endPoint: a };
2270
- }, e.prototype.runDeactivationUXLogicIfReady = function() {
2271
- var i = this, n = e.cssClasses.FG_DEACTIVATION, r = this.activationState, o = r.hasDeactivationUXRun, a = r.isActivated, c = o || !a;
2085
+ }, i.prototype.runDeactivationUXLogicIfReady = function() {
2086
+ var t = this, n = i.cssClasses.FG_DEACTIVATION, r = this.activationState, o = r.hasDeactivationUXRun, a = r.isActivated, c = o || !a;
2272
2087
  c && this.activationAnimationHasEnded && (this.rmBoundedActivationClasses(), this.adapter.addClass(n), this.fgDeactivationRemovalTimer = setTimeout(function() {
2273
- i.adapter.removeClass(n);
2274
- }, Et.FG_DEACTIVATION_MS));
2275
- }, e.prototype.rmBoundedActivationClasses = function() {
2276
- var i = e.cssClasses.FG_ACTIVATION;
2277
- this.adapter.removeClass(i), this.activationAnimationHasEnded = !1, this.adapter.computeBoundingRect();
2278
- }, e.prototype.resetActivationState = function() {
2279
- var i = this;
2088
+ t.adapter.removeClass(n);
2089
+ }, _t.FG_DEACTIVATION_MS));
2090
+ }, i.prototype.rmBoundedActivationClasses = function() {
2091
+ var t = i.cssClasses.FG_ACTIVATION;
2092
+ this.adapter.removeClass(t), this.activationAnimationHasEnded = !1, this.adapter.computeBoundingRect();
2093
+ }, i.prototype.resetActivationState = function() {
2094
+ var t = this;
2280
2095
  this.previousActivationEvent = this.activationState.activationEvent, this.activationState = this.defaultActivationState(), setTimeout(function() {
2281
- return i.previousActivationEvent = void 0;
2282
- }, e.numbers.TAP_DELAY_MS);
2283
- }, e.prototype.deactivateImpl = function() {
2284
- var i = this, n = this.activationState;
2096
+ return t.previousActivationEvent = void 0;
2097
+ }, i.numbers.TAP_DELAY_MS);
2098
+ }, i.prototype.deactivateImpl = function() {
2099
+ var t = this, n = this.activationState;
2285
2100
  if (n.isActivated) {
2286
- var r = S({}, n);
2101
+ var r = b({}, n);
2287
2102
  n.isProgrammatic ? (requestAnimationFrame(function() {
2288
- i.animateDeactivation(r);
2103
+ t.animateDeactivation(r);
2289
2104
  }), this.resetActivationState()) : (this.deregisterDeactivationHandlers(), requestAnimationFrame(function() {
2290
- i.activationState.hasDeactivationUXRun = !0, i.animateDeactivation(r), i.resetActivationState();
2105
+ t.activationState.hasDeactivationUXRun = !0, t.animateDeactivation(r), t.resetActivationState();
2291
2106
  }));
2292
2107
  }
2293
- }, e.prototype.animateDeactivation = function(i) {
2294
- var n = i.wasActivatedByPointer, r = i.wasElementMadeActive;
2108
+ }, i.prototype.animateDeactivation = function(t) {
2109
+ var n = t.wasActivatedByPointer, r = t.wasElementMadeActive;
2295
2110
  (n || r) && this.runDeactivationUXLogicIfReady();
2296
- }, e.prototype.layoutInternal = function() {
2297
- var i = this;
2111
+ }, i.prototype.layoutInternal = function() {
2112
+ var t = this;
2298
2113
  this.frame = this.adapter.computeBoundingRect();
2299
2114
  var n = Math.max(this.frame.height, this.frame.width), r = function() {
2300
- var a = Math.sqrt(Math.pow(i.frame.width, 2) + Math.pow(i.frame.height, 2));
2301
- return a + e.numbers.PADDING;
2115
+ var a = Math.sqrt(Math.pow(t.frame.width, 2) + Math.pow(t.frame.height, 2));
2116
+ return a + i.numbers.PADDING;
2302
2117
  };
2303
2118
  this.maxRadius = this.adapter.isUnbounded() ? n : r();
2304
- var o = Math.floor(n * e.numbers.INITIAL_ORIGIN_SCALE);
2119
+ var o = Math.floor(n * i.numbers.INITIAL_ORIGIN_SCALE);
2305
2120
  this.adapter.isUnbounded() && o % 2 !== 0 ? this.initialSize = o - 1 : this.initialSize = o, this.fgScale = "" + this.maxRadius / this.initialSize, this.updateLayoutCssVars();
2306
- }, e.prototype.updateLayoutCssVars = function() {
2307
- var i = e.strings, n = i.VAR_FG_SIZE, r = i.VAR_LEFT, o = i.VAR_TOP, a = i.VAR_FG_SCALE;
2121
+ }, i.prototype.updateLayoutCssVars = function() {
2122
+ var t = i.strings, n = t.VAR_FG_SIZE, r = t.VAR_LEFT, o = t.VAR_TOP, a = t.VAR_FG_SCALE;
2308
2123
  this.adapter.updateCssVariable(n, this.initialSize + "px"), this.adapter.updateCssVariable(a, this.fgScale), this.adapter.isUnbounded() && (this.unboundedCoords = {
2309
2124
  left: Math.round(this.frame.width / 2 - this.initialSize / 2),
2310
2125
  top: Math.round(this.frame.height / 2 - this.initialSize / 2)
2311
2126
  }, this.adapter.updateCssVariable(r, this.unboundedCoords.left + "px"), this.adapter.updateCssVariable(o, this.unboundedCoords.top + "px"));
2312
- }, e;
2313
- }(ot)
2127
+ }, i;
2128
+ }(Q)
2314
2129
  );
2315
2130
  /**
2316
2131
  * @license
@@ -2334,39 +2149,39 @@ var St = [
2334
2149
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2335
2150
  * THE SOFTWARE.
2336
2151
  */
2337
- var Tt = (
2152
+ var At = (
2338
2153
  /** @class */
2339
- function(t) {
2340
- U(e, t);
2341
- function e() {
2342
- var i = t !== null && t.apply(this, arguments) || this;
2343
- return i.disabled = !1, i;
2154
+ function(e) {
2155
+ N(i, e);
2156
+ function i() {
2157
+ var t = e !== null && e.apply(this, arguments) || this;
2158
+ return t.disabled = !1, t;
2344
2159
  }
2345
- return e.attachTo = function(i, n) {
2160
+ return i.attachTo = function(t, n) {
2346
2161
  n === void 0 && (n = {
2347
2162
  isUnbounded: void 0
2348
2163
  });
2349
- var r = new e(i);
2164
+ var r = new i(t);
2350
2165
  return n.isUnbounded !== void 0 && (r.unbounded = n.isUnbounded), r;
2351
- }, e.createAdapter = function(i) {
2166
+ }, i.createAdapter = function(t) {
2352
2167
  return {
2353
2168
  addClass: function(n) {
2354
- i.root.classList.add(n);
2169
+ t.root.classList.add(n);
2355
2170
  },
2356
2171
  browserSupportsCssVars: function() {
2357
- return Li(window);
2172
+ return Ci(window);
2358
2173
  },
2359
2174
  computeBoundingRect: function() {
2360
- return i.root.getBoundingClientRect();
2175
+ return t.root.getBoundingClientRect();
2361
2176
  },
2362
2177
  containsEventTarget: function(n) {
2363
- return i.root.contains(n);
2178
+ return t.root.contains(n);
2364
2179
  },
2365
2180
  deregisterDocumentInteractionHandler: function(n, r) {
2366
- document.documentElement.removeEventListener(n, r, J());
2181
+ document.documentElement.removeEventListener(n, r, X());
2367
2182
  },
2368
2183
  deregisterInteractionHandler: function(n, r) {
2369
- i.root.removeEventListener(n, r, J());
2184
+ t.root.removeEventListener(n, r, X());
2370
2185
  },
2371
2186
  deregisterResizeHandler: function(n) {
2372
2187
  window.removeEventListener("resize", n);
@@ -2375,54 +2190,54 @@ var Tt = (
2375
2190
  return { x: window.pageXOffset, y: window.pageYOffset };
2376
2191
  },
2377
2192
  isSurfaceActive: function() {
2378
- return Zt(i.root, ":active");
2193
+ return $t(t.root, ":active");
2379
2194
  },
2380
2195
  isSurfaceDisabled: function() {
2381
- return !!i.disabled;
2196
+ return !!t.disabled;
2382
2197
  },
2383
2198
  isUnbounded: function() {
2384
- return !!i.unbounded;
2199
+ return !!t.unbounded;
2385
2200
  },
2386
2201
  registerDocumentInteractionHandler: function(n, r) {
2387
- document.documentElement.addEventListener(n, r, J());
2202
+ document.documentElement.addEventListener(n, r, X());
2388
2203
  },
2389
2204
  registerInteractionHandler: function(n, r) {
2390
- i.root.addEventListener(n, r, J());
2205
+ t.root.addEventListener(n, r, X());
2391
2206
  },
2392
2207
  registerResizeHandler: function(n) {
2393
2208
  window.addEventListener("resize", n);
2394
2209
  },
2395
2210
  removeClass: function(n) {
2396
- i.root.classList.remove(n);
2211
+ t.root.classList.remove(n);
2397
2212
  },
2398
2213
  updateCssVariable: function(n, r) {
2399
- i.root.style.setProperty(n, r);
2214
+ t.root.style.setProperty(n, r);
2400
2215
  }
2401
2216
  };
2402
- }, Object.defineProperty(e.prototype, "unbounded", {
2217
+ }, Object.defineProperty(i.prototype, "unbounded", {
2403
2218
  get: function() {
2404
2219
  return !!this.isUnbounded;
2405
2220
  },
2406
- set: function(i) {
2407
- this.isUnbounded = !!i, this.setUnbounded();
2221
+ set: function(t) {
2222
+ this.isUnbounded = !!t, this.setUnbounded();
2408
2223
  },
2409
2224
  enumerable: !1,
2410
2225
  configurable: !0
2411
- }), e.prototype.activate = function() {
2226
+ }), i.prototype.activate = function() {
2412
2227
  this.foundation.activate();
2413
- }, e.prototype.deactivate = function() {
2228
+ }, i.prototype.deactivate = function() {
2414
2229
  this.foundation.deactivate();
2415
- }, e.prototype.layout = function() {
2230
+ }, i.prototype.layout = function() {
2416
2231
  this.foundation.layout();
2417
- }, e.prototype.getDefaultFoundation = function() {
2418
- return new Vt(e.createAdapter(this));
2419
- }, e.prototype.initialSyncWithDOM = function() {
2420
- var i = this.root;
2421
- this.isUnbounded = "mdcRippleIsUnbounded" in i.dataset;
2422
- }, e.prototype.setUnbounded = function() {
2232
+ }, i.prototype.getDefaultFoundation = function() {
2233
+ return new Wt(i.createAdapter(this));
2234
+ }, i.prototype.initialSyncWithDOM = function() {
2235
+ var t = this.root;
2236
+ this.isUnbounded = "mdcRippleIsUnbounded" in t.dataset;
2237
+ }, i.prototype.setUnbounded = function() {
2423
2238
  this.foundation.setUnbounded(!!this.isUnbounded);
2424
- }, e;
2425
- }(Yt)
2239
+ }, i;
2240
+ }(Kt)
2426
2241
  );
2427
2242
  /**
2428
2243
  * @license
@@ -2446,18 +2261,18 @@ var Tt = (
2446
2261
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2447
2262
  * THE SOFTWARE.
2448
2263
  */
2449
- function zi(t, e) {
2450
- var i = Number(e.replace("px", ""));
2451
- return Number.isNaN(i) ? t : {
2452
- width: t.width + i,
2453
- height: t.height,
2454
- top: t.top,
2455
- right: t.right,
2456
- bottom: t.bottom,
2457
- left: t.left
2264
+ function Pi(e, i) {
2265
+ var t = Number(i.replace("px", ""));
2266
+ return Number.isNaN(t) ? e : {
2267
+ width: e.width + t,
2268
+ height: e.height,
2269
+ top: e.top,
2270
+ right: e.right,
2271
+ bottom: e.bottom,
2272
+ left: e.left
2458
2273
  };
2459
2274
  }
2460
- var Ui = "--mdc-chip-graphic-selected-width";
2275
+ var Ni = "--mdc-chip-graphic-selected-width";
2461
2276
  /**
2462
2277
  * @license
2463
2278
  * Copyright 2020 Google Inc.
@@ -2480,19 +2295,19 @@ var Ui = "--mdc-chip-graphic-selected-width";
2480
2295
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2481
2296
  * THE SOFTWARE.
2482
2297
  */
2483
- var Z = /* @__PURE__ */ new Map();
2484
- Z.set(l.SPACEBAR, E.SPACEBAR_KEY);
2485
- Z.set(l.ENTER, E.ENTER_KEY);
2486
- Z.set(l.DELETE, E.DELETE_KEY);
2487
- Z.set(l.BACKSPACE, E.BACKSPACE_KEY);
2488
- var Jt = (
2298
+ var W = /* @__PURE__ */ new Map();
2299
+ W.set(_.SPACEBAR, y.SPACEBAR_KEY);
2300
+ W.set(_.ENTER, y.ENTER_KEY);
2301
+ W.set(_.DELETE, y.DELETE_KEY);
2302
+ W.set(_.BACKSPACE, y.BACKSPACE_KEY);
2303
+ var qt = (
2489
2304
  /** @class */
2490
- function(t) {
2491
- U(e, t);
2492
- function e(i) {
2493
- return t.call(this, S(S({}, e.defaultAdapter), i)) || this;
2305
+ function(e) {
2306
+ N(i, e);
2307
+ function i(t) {
2308
+ return e.call(this, b(b({}, i.defaultAdapter), t)) || this;
2494
2309
  }
2495
- return Object.defineProperty(e, "defaultAdapter", {
2310
+ return Object.defineProperty(i, "defaultAdapter", {
2496
2311
  get: function() {
2497
2312
  return {
2498
2313
  emitEvent: function() {
@@ -2513,67 +2328,67 @@ var Jt = (
2513
2328
  },
2514
2329
  enumerable: !1,
2515
2330
  configurable: !0
2516
- }), e.prototype.handleClick = function() {
2517
- this.isDisabled() || this.emitInteraction(E.CLICK);
2518
- }, e.prototype.handleKeydown = function(i) {
2519
- var n = Xt(i);
2331
+ }), i.prototype.handleClick = function() {
2332
+ this.isDisabled() || this.emitInteraction(y.CLICK);
2333
+ }, i.prototype.handleKeydown = function(t) {
2334
+ var n = re(t);
2520
2335
  if (this.shouldNotifyInteractionFromKey(n)) {
2521
- i.preventDefault(), this.emitInteraction(this.getTriggerFromKey(n));
2336
+ t.preventDefault(), this.emitInteraction(this.getTriggerFromKey(n));
2522
2337
  return;
2523
2338
  }
2524
- if (Ri(i)) {
2525
- i.preventDefault(), this.emitNavigation(n);
2339
+ if (oe(t)) {
2340
+ t.preventDefault(), this.emitNavigation(n);
2526
2341
  return;
2527
2342
  }
2528
2343
  return !0;
2529
- }, e.prototype.setDisabled = function(i) {
2344
+ }, i.prototype.setDisabled = function(t) {
2530
2345
  if (this.isSelectable()) {
2531
- this.adapter.setAttribute(h.ARIA_DISABLED, "" + i);
2346
+ this.adapter.setAttribute(p.ARIA_DISABLED, "" + t);
2532
2347
  return;
2533
2348
  }
2534
- i ? this.adapter.setAttribute(h.DISABLED, "true") : this.adapter.removeAttribute(h.DISABLED);
2535
- }, e.prototype.isDisabled = function() {
2536
- return this.adapter.getAttribute(h.ARIA_DISABLED) === "true" || this.adapter.getAttribute(h.DISABLED) !== null;
2537
- }, e.prototype.setFocus = function(i) {
2349
+ t ? this.adapter.setAttribute(p.DISABLED, "true") : this.adapter.removeAttribute(p.DISABLED);
2350
+ }, i.prototype.isDisabled = function() {
2351
+ return this.adapter.getAttribute(p.ARIA_DISABLED) === "true" || this.adapter.getAttribute(p.DISABLED) !== null;
2352
+ }, i.prototype.setFocus = function(t) {
2538
2353
  if (this.isFocusable()) {
2539
- if (i === z.FOCUSABLE_AND_FOCUSED) {
2540
- this.adapter.setAttribute(h.TAB_INDEX, "0"), this.adapter.focus();
2354
+ if (t === P.FOCUSABLE_AND_FOCUSED) {
2355
+ this.adapter.setAttribute(p.TAB_INDEX, "0"), this.adapter.focus();
2541
2356
  return;
2542
2357
  }
2543
- if (i === z.FOCUSABLE) {
2544
- this.adapter.setAttribute(h.TAB_INDEX, "0");
2358
+ if (t === P.FOCUSABLE) {
2359
+ this.adapter.setAttribute(p.TAB_INDEX, "0");
2545
2360
  return;
2546
2361
  }
2547
- if (i === z.NOT_FOCUSABLE) {
2548
- this.adapter.setAttribute(h.TAB_INDEX, "-1");
2362
+ if (t === P.NOT_FOCUSABLE) {
2363
+ this.adapter.setAttribute(p.TAB_INDEX, "-1");
2549
2364
  return;
2550
2365
  }
2551
2366
  }
2552
- }, e.prototype.isFocusable = function() {
2553
- return !(this.isDisabled() || this.adapter.getAttribute(h.ARIA_HIDDEN) === "true");
2554
- }, e.prototype.setSelected = function(i) {
2555
- this.isSelectable() && this.adapter.setAttribute(h.ARIA_SELECTED, "" + i);
2556
- }, e.prototype.isSelected = function() {
2557
- return this.adapter.getAttribute(h.ARIA_SELECTED) === "true";
2558
- }, e.prototype.emitInteraction = function(i) {
2559
- this.adapter.emitEvent(K.INTERACTION, {
2367
+ }, i.prototype.isFocusable = function() {
2368
+ return !(this.isDisabled() || this.adapter.getAttribute(p.ARIA_HIDDEN) === "true");
2369
+ }, i.prototype.setSelected = function(t) {
2370
+ this.isSelectable() && this.adapter.setAttribute(p.ARIA_SELECTED, "" + t);
2371
+ }, i.prototype.isSelected = function() {
2372
+ return this.adapter.getAttribute(p.ARIA_SELECTED) === "true";
2373
+ }, i.prototype.emitInteraction = function(t) {
2374
+ this.adapter.emitEvent(B.INTERACTION, {
2560
2375
  actionID: this.adapter.getElementID(),
2561
2376
  source: this.actionType(),
2562
- trigger: i
2377
+ trigger: t
2563
2378
  });
2564
- }, e.prototype.emitNavigation = function(i) {
2565
- this.adapter.emitEvent(K.NAVIGATION, {
2379
+ }, i.prototype.emitNavigation = function(t) {
2380
+ this.adapter.emitEvent(B.NAVIGATION, {
2566
2381
  source: this.actionType(),
2567
- key: i
2382
+ key: t
2568
2383
  });
2569
- }, e.prototype.shouldNotifyInteractionFromKey = function(i) {
2570
- var n = i === l.ENTER || i === l.SPACEBAR, r = i === l.BACKSPACE || i === l.DELETE;
2384
+ }, i.prototype.shouldNotifyInteractionFromKey = function(t) {
2385
+ var n = t === _.ENTER || t === _.SPACEBAR, r = t === _.BACKSPACE || t === _.DELETE;
2571
2386
  return !!(n || r && this.shouldEmitInteractionOnRemoveKey());
2572
- }, e.prototype.getTriggerFromKey = function(i) {
2573
- var n = Z.get(i);
2574
- return n || E.UNSPECIFIED;
2575
- }, e;
2576
- }(ot)
2387
+ }, i.prototype.getTriggerFromKey = function(t) {
2388
+ var n = W.get(t);
2389
+ return n || y.UNSPECIFIED;
2390
+ }, i;
2391
+ }(Q)
2577
2392
  );
2578
2393
  /**
2579
2394
  * @license
@@ -2597,21 +2412,21 @@ var Jt = (
2597
2412
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2598
2413
  * THE SOFTWARE.
2599
2414
  */
2600
- var xi = (
2415
+ var Li = (
2601
2416
  /** @class */
2602
- function(t) {
2603
- U(e, t);
2604
- function e() {
2605
- return t !== null && t.apply(this, arguments) || this;
2417
+ function(e) {
2418
+ N(i, e);
2419
+ function i() {
2420
+ return e !== null && e.apply(this, arguments) || this;
2606
2421
  }
2607
- return e.prototype.isSelectable = function() {
2608
- return this.adapter.getAttribute(h.ROLE) === "option";
2609
- }, e.prototype.actionType = function() {
2610
- return b.PRIMARY;
2611
- }, e.prototype.shouldEmitInteractionOnRemoveKey = function() {
2612
- return this.adapter.getAttribute(h.DATA_DELETABLE) === "true";
2613
- }, e;
2614
- }(Jt)
2422
+ return i.prototype.isSelectable = function() {
2423
+ return this.adapter.getAttribute(p.ROLE) === "option";
2424
+ }, i.prototype.actionType = function() {
2425
+ return v.PRIMARY;
2426
+ }, i.prototype.shouldEmitInteractionOnRemoveKey = function() {
2427
+ return this.adapter.getAttribute(p.DATA_DELETABLE) === "true";
2428
+ }, i;
2429
+ }(qt)
2615
2430
  );
2616
2431
  /**
2617
2432
  * @license
@@ -2635,21 +2450,21 @@ var xi = (
2635
2450
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2636
2451
  * THE SOFTWARE.
2637
2452
  */
2638
- var Hi = (
2453
+ var Fi = (
2639
2454
  /** @class */
2640
- function(t) {
2641
- U(e, t);
2642
- function e() {
2643
- return t !== null && t.apply(this, arguments) || this;
2455
+ function(e) {
2456
+ N(i, e);
2457
+ function i() {
2458
+ return e !== null && e.apply(this, arguments) || this;
2644
2459
  }
2645
- return e.prototype.isSelectable = function() {
2460
+ return i.prototype.isSelectable = function() {
2646
2461
  return !1;
2647
- }, e.prototype.actionType = function() {
2648
- return b.TRAILING;
2649
- }, e.prototype.shouldEmitInteractionOnRemoveKey = function() {
2462
+ }, i.prototype.actionType = function() {
2463
+ return v.TRAILING;
2464
+ }, i.prototype.shouldEmitInteractionOnRemoveKey = function() {
2650
2465
  return !0;
2651
- }, e;
2652
- }(Jt)
2466
+ }, i;
2467
+ }(qt)
2653
2468
  );
2654
2469
  /**
2655
2470
  * @license
@@ -2673,50 +2488,50 @@ var Hi = (
2673
2488
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2674
2489
  * THE SOFTWARE.
2675
2490
  */
2676
- var Mi = [
2677
- D.safeAttrPrefix(Rt || (Rt = L(["aria-"], ["aria-"]))),
2678
- D.safeAttrPrefix(It || (It = L(["data-"], ["data-"]))),
2679
- D.safeAttrPrefix(Ot || (Ot = L(["disabled"], ["disabled"]))),
2680
- D.safeAttrPrefix(Dt || (Dt = L(["role"], ["role"]))),
2681
- D.safeAttrPrefix(Pt || (Pt = L(["tabindex"], ["tabindex"])))
2682
- ], ki = (
2491
+ var zi = [
2492
+ T.safeAttrPrefix(Et || (Et = C(["aria-"], ["aria-"]))),
2493
+ T.safeAttrPrefix(St || (St = C(["data-"], ["data-"]))),
2494
+ T.safeAttrPrefix(wt || (wt = C(["disabled"], ["disabled"]))),
2495
+ T.safeAttrPrefix(Tt || (Tt = C(["role"], ["role"]))),
2496
+ T.safeAttrPrefix(It || (It = C(["tabindex"], ["tabindex"])))
2497
+ ], xi = (
2683
2498
  /** @class */
2684
- function(t) {
2685
- U(e, t);
2686
- function e() {
2687
- var i = t !== null && t.apply(this, arguments) || this;
2688
- return i.rootHTML = i.root, i;
2499
+ function(e) {
2500
+ N(i, e);
2501
+ function i() {
2502
+ var t = e !== null && e.apply(this, arguments) || this;
2503
+ return t.rootHTML = t.root, t;
2689
2504
  }
2690
- return e.attachTo = function(i) {
2691
- return new e(i);
2692
- }, Object.defineProperty(e.prototype, "ripple", {
2505
+ return i.attachTo = function(t) {
2506
+ return new i(t);
2507
+ }, Object.defineProperty(i.prototype, "ripple", {
2693
2508
  get: function() {
2694
2509
  return this.rippleInstance;
2695
2510
  },
2696
2511
  enumerable: !1,
2697
2512
  configurable: !0
2698
- }), e.prototype.initialize = function(i) {
2513
+ }), i.prototype.initialize = function(t) {
2699
2514
  var n = this;
2700
- i === void 0 && (i = function(o, a) {
2701
- return new Tt(o, a);
2515
+ t === void 0 && (t = function(o, a) {
2516
+ return new At(o, a);
2702
2517
  });
2703
- var r = S(S({}, Tt.createAdapter(this)), { computeBoundingRect: function() {
2518
+ var r = b(b({}, At.createAdapter(this)), { computeBoundingRect: function() {
2704
2519
  return n.computeRippleClientRect();
2705
2520
  } });
2706
- this.rippleInstance = i(this.root, new Vt(r));
2707
- }, e.prototype.initialSyncWithDOM = function() {
2708
- var i = this;
2521
+ this.rippleInstance = t(this.root, new Wt(r));
2522
+ }, i.prototype.initialSyncWithDOM = function() {
2523
+ var t = this;
2709
2524
  this.handleClick = function() {
2710
- i.foundation.handleClick();
2525
+ t.foundation.handleClick();
2711
2526
  }, this.handleKeydown = function(n) {
2712
- i.foundation.handleKeydown(n);
2527
+ t.foundation.handleKeydown(n);
2713
2528
  }, this.listen("click", this.handleClick), this.listen("keydown", this.handleKeydown);
2714
- }, e.prototype.destroy = function() {
2715
- this.ripple.destroy(), this.unlisten("click", this.handleClick), this.unlisten("keydown", this.handleKeydown), t.prototype.destroy.call(this);
2716
- }, e.prototype.getDefaultFoundation = function() {
2717
- var i = this, n = {
2529
+ }, i.prototype.destroy = function() {
2530
+ this.ripple.destroy(), this.unlisten("click", this.handleClick), this.unlisten("keydown", this.handleKeydown), e.prototype.destroy.call(this);
2531
+ }, i.prototype.getDefaultFoundation = function() {
2532
+ var t = this, n = {
2718
2533
  emitEvent: function(r, o) {
2719
- i.emit(
2534
+ t.emit(
2720
2535
  r,
2721
2536
  o,
2722
2537
  !0
@@ -2724,61 +2539,61 @@ var Mi = [
2724
2539
  );
2725
2540
  },
2726
2541
  focus: function() {
2727
- i.rootHTML.focus();
2542
+ t.rootHTML.focus();
2728
2543
  },
2729
2544
  getAttribute: function(r) {
2730
- return i.root.getAttribute(r);
2545
+ return t.root.getAttribute(r);
2731
2546
  },
2732
2547
  getElementID: function() {
2733
- return i.root.id;
2548
+ return t.root.id;
2734
2549
  },
2735
2550
  removeAttribute: function(r) {
2736
- i.root.removeAttribute(r);
2551
+ t.root.removeAttribute(r);
2737
2552
  },
2738
2553
  setAttribute: function(r, o) {
2739
- jt(Mi, i.root, r, o);
2554
+ Mt(zi, t.root, r, o);
2740
2555
  }
2741
2556
  };
2742
- return this.root.classList.contains(X.TRAILING_ACTION) ? new Hi(n) : new xi(n);
2743
- }, e.prototype.setDisabled = function(i) {
2744
- this.foundation.setDisabled(i);
2745
- }, e.prototype.isDisabled = function() {
2557
+ return this.root.classList.contains(K.TRAILING_ACTION) ? new Fi(n) : new Li(n);
2558
+ }, i.prototype.setDisabled = function(t) {
2559
+ this.foundation.setDisabled(t);
2560
+ }, i.prototype.isDisabled = function() {
2746
2561
  return this.foundation.isDisabled();
2747
- }, e.prototype.setFocus = function(i) {
2748
- this.foundation.setFocus(i);
2749
- }, e.prototype.isFocusable = function() {
2562
+ }, i.prototype.setFocus = function(t) {
2563
+ this.foundation.setFocus(t);
2564
+ }, i.prototype.isFocusable = function() {
2750
2565
  return this.foundation.isFocusable();
2751
- }, e.prototype.setSelected = function(i) {
2752
- this.foundation.setSelected(i);
2753
- }, e.prototype.isSelected = function() {
2566
+ }, i.prototype.setSelected = function(t) {
2567
+ this.foundation.setSelected(t);
2568
+ }, i.prototype.isSelected = function() {
2754
2569
  return this.foundation.isSelected();
2755
- }, e.prototype.isSelectable = function() {
2570
+ }, i.prototype.isSelectable = function() {
2756
2571
  return this.foundation.isSelectable();
2757
- }, e.prototype.actionType = function() {
2572
+ }, i.prototype.actionType = function() {
2758
2573
  return this.foundation.actionType();
2759
- }, e.prototype.computeRippleClientRect = function() {
2760
- if (this.root.classList.contains(X.PRIMARY_ACTION)) {
2761
- var i = Di(this.root, "." + X.CHIP_ROOT);
2762
- if (!i)
2574
+ }, i.prototype.computeRippleClientRect = function() {
2575
+ if (this.root.classList.contains(K.PRIMARY_ACTION)) {
2576
+ var t = wi(this.root, "." + K.CHIP_ROOT);
2577
+ if (!t)
2763
2578
  return this.root.getBoundingClientRect();
2764
- var n = window.getComputedStyle(i).getPropertyValue(Ui);
2765
- return zi(i.getBoundingClientRect(), n);
2579
+ var n = window.getComputedStyle(t).getPropertyValue(Ni);
2580
+ return Pi(t.getBoundingClientRect(), n);
2766
2581
  }
2767
2582
  return this.root.getBoundingClientRect();
2768
- }, e;
2769
- }(Yt)
2770
- ), Rt, It, Ot, Dt, Pt, Bi = Object.defineProperty, Gi = Object.getOwnPropertyDescriptor, P = (t, e, i, n) => {
2771
- for (var r = n > 1 ? void 0 : n ? Gi(e, i) : e, o = t.length - 1, a; o >= 0; o--)
2772
- (a = t[o]) && (r = (n ? a(e, i, r) : a(r)) || r);
2773
- return n && r && Bi(e, i, r), r;
2583
+ }, i;
2584
+ }(Kt)
2585
+ ), Et, St, wt, Tt, It, Ui = Object.defineProperty, Hi = Object.getOwnPropertyDescriptor, I = (e, i, t, n) => {
2586
+ for (var r = n > 1 ? void 0 : n ? Hi(i, t) : i, o = e.length - 1, a; o >= 0; o--)
2587
+ (a = e[o]) && (r = (n ? a(i, t, r) : a(r)) || r);
2588
+ return n && r && Ui(i, t, r), r;
2774
2589
  };
2775
- let ji = 0;
2776
- class R extends ee {
2590
+ let Mi = 0;
2591
+ class E extends Zt {
2777
2592
  constructor() {
2778
- super(), this.mdcFoundationClass = Ii, this.label = "", this.icon = "", this.trailingIcon = !1, this.avatar = !1, this.disabled = !1, this.filter = !1, this.chipId = ji++;
2593
+ super(), this.mdcFoundationClass = Ti, this.label = "", this.icon = "", this.trailingIcon = !1, this.avatar = !1, this.disabled = !1, this.filter = !1, this.chipId = Mi++;
2779
2594
  }
2780
2595
  render() {
2781
- const e = {
2596
+ const i = {
2782
2597
  "mdc-evolution-chip": !0,
2783
2598
  "mdc-evolution-chip--disabled": this.disabled,
2784
2599
  "mdc-evolution-chip--with-trailing-action": this.trailingIcon,
@@ -2791,9 +2606,9 @@ class R extends ee {
2791
2606
  negative: this.state === "negative",
2792
2607
  caution: this.state === "caution"
2793
2608
  };
2794
- return q`
2609
+ return j`
2795
2610
  <span
2796
- class="${se(e)}"
2611
+ class="${ce(i)}"
2797
2612
  role="${this.filter ? "presentation" : "row"}"
2798
2613
  id="cv-chip-${this.chipId}"
2799
2614
  >
@@ -2820,31 +2635,31 @@ class R extends ee {
2820
2635
  }
2821
2636
  async firstUpdated() {
2822
2637
  this.mdcFoundation !== void 0 && this.mdcFoundation.destroy(), this.mdcFoundation = new this.mdcFoundationClass(this.createAdapter()), this.actions = /* @__PURE__ */ new Map();
2823
- const e = this.mdcRoot.querySelectorAll(
2638
+ const i = this.mdcRoot.querySelectorAll(
2824
2639
  ".mdc-evolution-chip__action"
2825
2640
  );
2826
- for (let i = 0; i < e.length; i++) {
2827
- const n = new ki(e[i]);
2828
- this.actions.set(n.actionType(), n), e[i].addEventListener(
2829
- K.INTERACTION,
2641
+ for (let t = 0; t < i.length; t++) {
2642
+ const n = new xi(i[t]);
2643
+ this.actions.set(n.actionType(), n), i[t].addEventListener(
2644
+ B.INTERACTION,
2830
2645
  (r) => {
2831
2646
  var o;
2832
2647
  (o = this.mdcFoundation) == null || o.handleActionInteraction(r);
2833
2648
  }
2834
- ), e[i].addEventListener(K.NAVIGATION, (r) => {
2649
+ ), i[t].addEventListener(B.NAVIGATION, (r) => {
2835
2650
  var o;
2836
2651
  (o = this.mdcFoundation) == null || o.handleActionNavigation(r);
2837
2652
  });
2838
2653
  }
2839
2654
  }
2840
2655
  renderGraphic() {
2841
- const e = this.filter ? this.renderCheckMark() : this.renderIcon();
2842
- return q`<span class="mdc-evolution-chip__graphic">
2843
- ${e}
2656
+ const i = this.filter ? this.renderCheckMark() : this.renderIcon();
2657
+ return j`<span class="mdc-evolution-chip__graphic">
2658
+ ${i}
2844
2659
  </span>`;
2845
2660
  }
2846
2661
  renderCheckMark() {
2847
- return q` <span class="mdc-evolution-chip__checkmark">
2662
+ return j` <span class="mdc-evolution-chip__checkmark">
2848
2663
  <svg class="mdc-evolution-chip__checkmark-svg" viewBox="-2 -3 30 30">
2849
2664
  <path
2850
2665
  class="mdc-evolution-chip__checkmark-path"
@@ -2854,15 +2669,15 @@ class R extends ee {
2854
2669
  </svg>
2855
2670
  </span>`;
2856
2671
  }
2857
- renderIcon(e = !1) {
2858
- return q` <span
2859
- class="mdc-evolution-chip__icon mdc-evolution-chip__icon--${e ? "trailing" : "primary"}"
2672
+ renderIcon(i = !1) {
2673
+ return j` <span
2674
+ class="mdc-evolution-chip__icon mdc-evolution-chip__icon--${i ? "trailing" : "primary"}"
2860
2675
  >
2861
2676
  ${this.icon}
2862
2677
  </span>`;
2863
2678
  }
2864
2679
  renderTrailing() {
2865
- return q` <span
2680
+ return j` <span
2866
2681
  class="mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing"
2867
2682
  role="gridcell"
2868
2683
  >
@@ -2882,148 +2697,146 @@ class R extends ee {
2882
2697
  }
2883
2698
  createAdapter() {
2884
2699
  return {
2885
- ...oe(this.mdcRoot),
2886
- emitEvent: (e, i) => this.dispatchEvent(
2887
- new CustomEvent(e, { bubbles: !0, detail: i })
2700
+ ...te(this.mdcRoot),
2701
+ emitEvent: (i, t) => this.dispatchEvent(
2702
+ new CustomEvent(i, { bubbles: !0, detail: t })
2888
2703
  ),
2889
2704
  /** Returns the child actions provided by the chip. */
2890
2705
  getActions: () => {
2891
- const e = [];
2892
- for (const [i] of this.actions)
2893
- e.push(i);
2894
- return e;
2706
+ const i = [];
2707
+ for (const [t] of this.actions)
2708
+ i.push(t);
2709
+ return i;
2895
2710
  },
2896
2711
  /** Returns the value for the given attribute, if it exists. */
2897
- getAttribute: (e) => this.mdcRoot.getAttribute(e),
2712
+ getAttribute: (i) => this.mdcRoot.getAttribute(i),
2898
2713
  /** Returns the ID of the root element. */
2899
2714
  getElementID: () => this.mdcRoot.getAttribute("id") ?? "",
2900
2715
  /** Returns the offset width of the root element. */
2901
2716
  getOffsetWidth: () => this.mdcRoot.offsetWidth,
2902
2717
  /** Returns true if the root element has the given class. */
2903
- hasClass: (e) => this.mdcRoot.classList.contains(e),
2718
+ hasClass: (i) => this.mdcRoot.classList.contains(i),
2904
2719
  /** Proxies to the MDCChipAction#isSelectable method. */
2905
- isActionSelectable: (e) => {
2906
- var i;
2907
- return ((i = this.actions.get(e)) == null ? void 0 : i.isSelectable()) ?? !0;
2720
+ isActionSelectable: (i) => {
2721
+ var t;
2722
+ return ((t = this.actions.get(i)) == null ? void 0 : t.isSelectable()) ?? !0;
2908
2723
  },
2909
2724
  /** Proxies to the MDCChipAction#isSelected method. */
2910
- isActionSelected: (e) => {
2911
- var i;
2912
- return ((i = this.actions.get(e)) == null ? void 0 : i.isSelected()) ?? !1;
2725
+ isActionSelected: (i) => {
2726
+ var t;
2727
+ return ((t = this.actions.get(i)) == null ? void 0 : t.isSelected()) ?? !1;
2913
2728
  },
2914
2729
  /** Proxies to the MDCChipAction#isFocusable method. */
2915
- isActionFocusable: (e) => {
2916
- var i;
2917
- return ((i = this.actions.get(e)) == null ? void 0 : i.isFocusable()) ?? !0;
2730
+ isActionFocusable: (i) => {
2731
+ var t;
2732
+ return ((t = this.actions.get(i)) == null ? void 0 : t.isFocusable()) ?? !0;
2918
2733
  },
2919
2734
  /** Proxies to the MDCChipAction#isDisabled method. */
2920
- isActionDisabled: (e) => {
2921
- var i;
2922
- return ((i = this.actions.get(e)) == null ? void 0 : i.isDisabled()) ?? !1;
2735
+ isActionDisabled: (i) => {
2736
+ var t;
2737
+ return ((t = this.actions.get(i)) == null ? void 0 : t.isDisabled()) ?? !1;
2923
2738
  },
2924
2739
  /** Returns true if the text direction is right-to-left. */
2925
2740
  isRTL: () => window.getComputedStyle(this.mdcRoot).getPropertyValue("direction") === "rtl",
2926
2741
  /** Proxies to the MDCChipAction#setDisabled method. */
2927
- setActionDisabled: (e, i) => {
2742
+ setActionDisabled: (i, t) => {
2928
2743
  var n;
2929
- return (n = this.actions.get(e)) == null ? void 0 : n.setDisabled(i);
2744
+ return (n = this.actions.get(i)) == null ? void 0 : n.setDisabled(t);
2930
2745
  },
2931
2746
  /** Proxies to the MDCChipAction#setFocus method. */
2932
- setActionFocus: (e, i) => {
2747
+ setActionFocus: (i, t) => {
2933
2748
  var n;
2934
- return (n = this.actions.get(e)) == null ? void 0 : n.setFocus(i);
2749
+ return (n = this.actions.get(i)) == null ? void 0 : n.setFocus(t);
2935
2750
  },
2936
2751
  /** Proxies to the MDCChipAction#setSelected method. */
2937
- setActionSelected: (e, i) => {
2752
+ setActionSelected: (i, t) => {
2938
2753
  var n;
2939
- return (n = this.actions.get(e)) == null ? void 0 : n.setSelected(i);
2754
+ return (n = this.actions.get(i)) == null ? void 0 : n.setSelected(t);
2940
2755
  },
2941
2756
  /** Sets the style property to the given value. */
2942
- setStyleProperty: (e, i) => this.mdcRoot.style.setProperty(e, i)
2757
+ setStyleProperty: (i, t) => this.mdcRoot.style.setProperty(i, t)
2943
2758
  };
2944
2759
  }
2945
2760
  getActions() {
2946
- var e;
2947
- return ((e = this.mdcFoundation) == null ? void 0 : e.getActions()) ?? [];
2761
+ var i;
2762
+ return ((i = this.mdcFoundation) == null ? void 0 : i.getActions()) ?? [];
2948
2763
  }
2949
2764
  getElementID() {
2950
- var e;
2951
- return ((e = this.mdcFoundation) == null ? void 0 : e.getElementID()) ?? "";
2952
- }
2953
- isActionFocusable(e) {
2954
2765
  var i;
2955
- return ((i = this.mdcFoundation) == null ? void 0 : i.isActionFocusable(e)) ?? !1;
2766
+ return ((i = this.mdcFoundation) == null ? void 0 : i.getElementID()) ?? "";
2956
2767
  }
2957
- isActionSelectable(e) {
2958
- var i;
2959
- return ((i = this.mdcFoundation) == null ? void 0 : i.isActionSelectable(e)) ?? !1;
2768
+ isActionFocusable(i) {
2769
+ var t;
2770
+ return ((t = this.mdcFoundation) == null ? void 0 : t.isActionFocusable(i)) ?? !1;
2960
2771
  }
2961
- isActionSelected(e) {
2962
- var i;
2963
- return ((i = this.mdcFoundation) == null ? void 0 : i.isActionSelected(e)) ?? !1;
2772
+ isActionSelectable(i) {
2773
+ var t;
2774
+ return ((t = this.mdcFoundation) == null ? void 0 : t.isActionSelectable(i)) ?? !1;
2775
+ }
2776
+ isActionSelected(i) {
2777
+ var t;
2778
+ return ((t = this.mdcFoundation) == null ? void 0 : t.isActionSelected(i)) ?? !1;
2964
2779
  }
2965
- setActionFocus(e, i) {
2780
+ setActionFocus(i, t) {
2966
2781
  var n;
2967
- return (n = this.mdcFoundation) == null ? void 0 : n.setActionFocus(e, i);
2782
+ return (n = this.mdcFoundation) == null ? void 0 : n.setActionFocus(i, t);
2968
2783
  }
2969
- setActionSelected(e, i) {
2784
+ setActionSelected(i, t) {
2970
2785
  var n;
2971
- return (n = this.mdcFoundation) == null ? void 0 : n.setActionSelected(e, i);
2786
+ return (n = this.mdcFoundation) == null ? void 0 : n.setActionSelected(i, t);
2972
2787
  }
2973
- startAnimation(e) {
2974
- var i;
2975
- return (i = this.mdcFoundation) == null ? void 0 : i.startAnimation(e);
2788
+ startAnimation(i) {
2789
+ var t;
2790
+ return (t = this.mdcFoundation) == null ? void 0 : t.startAnimation(i);
2976
2791
  }
2977
2792
  }
2978
- P([
2979
- le(".mdc-evolution-chip")
2980
- ], R.prototype, "mdcRoot", 2);
2981
- P([
2982
- x()
2983
- ], R.prototype, "label", 2);
2984
- P([
2985
- x({ type: String })
2986
- ], R.prototype, "icon", 2);
2987
- P([
2988
- x({ type: Boolean, reflect: !0 })
2989
- ], R.prototype, "trailingIcon", 2);
2990
- P([
2991
- x({ type: Boolean, reflect: !0 })
2992
- ], R.prototype, "avatar", 2);
2993
- P([
2994
- x({ type: Boolean, reflect: !0 })
2995
- ], R.prototype, "disabled", 2);
2996
- P([
2997
- x({ type: Boolean, reflect: !0 })
2998
- ], R.prototype, "filter", 2);
2999
- P([
3000
- x()
3001
- ], R.prototype, "state", 2);
3002
- const Wi = `.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;-webkit-user-select:none;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width .15s 0ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform .15s 0ms cubic-bezier(.4,0,.2,1);transform:translate(-75%,-50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset .15s 45ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width .1s 0ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform .1s 0ms cubic-bezier(.4,0,.2,1);transform:translate(-75%,-50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset .15s 75ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity .15s 75ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(.4,0,.2,1);transform:translate(-50%,-50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%,-50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{0%{transform:scale(.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter .1s 0ms cubic-bezier(0,0,.2,1)}@keyframes mdc-evolution-chip-exit{0%{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(.4,0,1,1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width .15s 0ms cubic-bezier(.4,0,1,1)}.mdc-evolution-chip{height:32px;border-radius:16px;background-color:#e0e0e0}.mdc-evolution-chip .mdc-evolution-chip__ripple{border-radius:16px}.mdc-evolution-chip .mdc-evolution-chip__action--primary:before{border-radius:16px}.mdc-evolution-chip .mdc-evolution-chip__icon--primary{border-radius:16px}.mdc-evolution-chip .mdc-evolution-chip__action--primary,[dir=rtl] .mdc-evolution-chip .mdc-evolution-chip__action--primary,.mdc-evolution-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip .mdc-evolution-chip__text-label,.mdc-evolution-chip .mdc-evolution-chip__icon--primary,.mdc-evolution-chip .mdc-evolution-chip__checkmark,.mdc-evolution-chip .mdc-evolution-chip__icon--trailing{color:#000000de}.mdc-evolution-chip .mdc-evolution-chip__text-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}.mdc-evolution-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width: 20px}.mdc-evolution-chip .mdc-evolution-chip__graphic,.mdc-evolution-chip .mdc-evolution-chip__icon--primary{height:20px;width:20px;font-size:20px}.mdc-evolution-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mdc-evolution-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-evolution-chip.mdc-evolution-chip .mdc-evolution-chip__action--primary:before{border-color:CanvasText}.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:GrayText}.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-color:CanvasText}.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:GrayText}.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary,.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark,.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:GrayText}.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled,.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:Canvas}}.mdc-evolution-chip .mdc-evolution-chip__focus-ring{display:none}.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring,.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring{z-index:1;display:block;pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring,.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring{border-color:CanvasText}}.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring:after,.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring:after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring:after,.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring:after{border-color:CanvasText}}.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring,.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring{z-index:1;display:block;pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:calc(100% + 4px);width:calc(100% - 4px)}@media screen and (forced-colors: active){.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring,.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring{border-color:CanvasText}}.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring:after,.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring:after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring:after,.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring:after{border-color:CanvasText}}.mdc-evolution-chip--filter.mdc-evolution-chip--selected{background-color:#cecece}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width: 24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple:after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple:before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple:before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded) .mdc-evolution-chip__ripple:after{transition:opacity .15s linear}.mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):active .mdc-evolution-chip__ripple:after{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-evolution-chip__action--primary.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, .12)}.mdc-evolution-chip__action--trailing .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--trailing .mdc-evolution-chip__ripple:after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-evolution-chip__action--trailing:hover .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--trailing.mdc-ripple-surface--hover .mdc-evolution-chip__ripple:before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-evolution-chip__action--trailing.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--trailing:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple:before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-evolution-chip__action--trailing:not(.mdc-ripple-upgraded) .mdc-evolution-chip__ripple:after{transition:opacity .15s linear}.mdc-evolution-chip__action--trailing:not(.mdc-ripple-upgraded):active .mdc-evolution-chip__ripple:after{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-evolution-chip__action--trailing.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, .12)}.mdc-evolution-chip__ripple--trailing{height:18px;width:18px}.mdc-evolution-chip__action{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-evolution-chip__action .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action .mdc-evolution-chip__ripple:after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-evolution-chip__action .mdc-evolution-chip__ripple:before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-evolution-chip__action .mdc-evolution-chip__ripple:after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-evolution-chip__action.mdc-ripple-upgraded .mdc-evolution-chip__ripple:before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-evolution-chip__action.mdc-ripple-upgraded .mdc-evolution-chip__ripple:after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-evolution-chip__action.mdc-ripple-upgraded--unbounded .mdc-evolution-chip__ripple:after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-evolution-chip__action.mdc-ripple-upgraded--foreground-activation .mdc-evolution-chip__ripple:after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-evolution-chip__action.mdc-ripple-upgraded--foreground-deactivation .mdc-evolution-chip__ripple:after{animation:mdc-ripple-fg-opacity-out .15s;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-evolution-chip__action .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action .mdc-evolution-chip__ripple:after{top:-50%;left:-50%;width:200%;height:200%}.mdc-evolution-chip__action.mdc-ripple-upgraded .mdc-evolution-chip__ripple:after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-evolution-chip__ripple{position:absolute;box-sizing:content-box;overflow:hidden;pointer-events:none}.mdc-evolution-chip__ripple--primary{height:100%;width:100%;top:0;left:0}.mdc-evolution-chip__ripple--trailing{top:50%;transform:translateY(-50%)}.mdc-evolution-chip{background-color:var(--mdc-theme-surface-neutral)}.mdc-evolution-chip .mdc-evolution-chip__text-label{color:var(--mdc-theme-text-primary-on-background)}.mdc-evolution-chip .mdc-evolution-chip__icon{font-family:var(--mdc-icon-font, "Material Symbols Rounded");color:var(--mdc-theme-text-icon-on-background)}.mdc-evolution-chip .mdc-evolution-chip__checkmark-path{stroke:var(--mdc-theme-text-icon-on-background)}.mdc-evolution-chip.mdc-evolution-chip--selected{background-color:var(--mdc-theme-surface-primary)}.mdc-evolution-chip.negative{background-color:var(--mdc-theme-surface-negative)}.mdc-evolution-chip.caution{background-color:var(--mdc-theme-surface-caution)}.mdc-evolution-chip.secondary{background-color:var(--mdc-theme-surface-secondary)}
2793
+ I([
2794
+ ae(".mdc-evolution-chip")
2795
+ ], E.prototype, "mdcRoot", 2);
2796
+ I([
2797
+ L()
2798
+ ], E.prototype, "label", 2);
2799
+ I([
2800
+ L({ type: String })
2801
+ ], E.prototype, "icon", 2);
2802
+ I([
2803
+ L({ type: Boolean, reflect: !0 })
2804
+ ], E.prototype, "trailingIcon", 2);
2805
+ I([
2806
+ L({ type: Boolean, reflect: !0 })
2807
+ ], E.prototype, "avatar", 2);
2808
+ I([
2809
+ L({ type: Boolean, reflect: !0 })
2810
+ ], E.prototype, "disabled", 2);
2811
+ I([
2812
+ L({ type: Boolean, reflect: !0 })
2813
+ ], E.prototype, "filter", 2);
2814
+ I([
2815
+ L()
2816
+ ], E.prototype, "state", 2);
2817
+ const ki = `.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;-webkit-user-select:none;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width .15s 0ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform .15s 0ms cubic-bezier(.4,0,.2,1);transform:translate(-75%,-50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset .15s 45ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width .1s 0ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform .1s 0ms cubic-bezier(.4,0,.2,1);transform:translate(-75%,-50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset .15s 75ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity .15s 75ms cubic-bezier(.4,0,.2,1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(.4,0,.2,1);transform:translate(-50%,-50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%,-50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{0%{transform:scale(.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter .1s 0ms cubic-bezier(0,0,.2,1)}@keyframes mdc-evolution-chip-exit{0%{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(.4,0,1,1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width .15s 0ms cubic-bezier(.4,0,1,1)}.mdc-evolution-chip{height:32px;border-radius:16px;background-color:#e0e0e0}.mdc-evolution-chip .mdc-evolution-chip__ripple{border-radius:16px}.mdc-evolution-chip .mdc-evolution-chip__action--primary:before{border-radius:16px}.mdc-evolution-chip .mdc-evolution-chip__icon--primary{border-radius:16px}.mdc-evolution-chip .mdc-evolution-chip__action--primary,[dir=rtl] .mdc-evolution-chip .mdc-evolution-chip__action--primary,.mdc-evolution-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,[dir=rtl] .mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip .mdc-evolution-chip__text-label,.mdc-evolution-chip .mdc-evolution-chip__icon--primary,.mdc-evolution-chip .mdc-evolution-chip__checkmark,.mdc-evolution-chip .mdc-evolution-chip__icon--trailing{color:#000000de}.mdc-evolution-chip .mdc-evolution-chip__text-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}.mdc-evolution-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width: 20px}.mdc-evolution-chip .mdc-evolution-chip__graphic,.mdc-evolution-chip .mdc-evolution-chip__icon--primary{height:20px;width:20px;font-size:20px}.mdc-evolution-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mdc-evolution-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-evolution-chip.mdc-evolution-chip .mdc-evolution-chip__action--primary:before{border-color:CanvasText}.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:GrayText}.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-color:CanvasText}.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:GrayText}.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary,.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark,.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:GrayText}.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--disabled,.mdc-evolution-chip.mdc-evolution-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:Canvas}}.mdc-evolution-chip .mdc-evolution-chip__focus-ring{display:none}.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring,.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring{z-index:1;display:block;pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring,.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring{border-color:CanvasText}}.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring:after,.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring:after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring:after,.mdc-evolution-chip .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring:after{border-color:CanvasText}}.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring,.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring{z-index:1;display:block;pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:calc(100% + 4px);width:calc(100% - 4px)}@media screen and (forced-colors: active){.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring,.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring{border-color:CanvasText}}.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring:after,.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring:after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational).mdc-ripple-upgraded--background-focused .mdc-evolution-chip__focus-ring:after,.mdc-evolution-chip .mdc-evolution-chip__action--trailing:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__focus-ring:after{border-color:CanvasText}}.mdc-evolution-chip--filter.mdc-evolution-chip--selected{background-color:#cecece}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width: 24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--primary .mdc-evolution-chip__ripple:after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-evolution-chip__action--primary:hover .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--primary.mdc-ripple-surface--hover .mdc-evolution-chip__ripple:before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple:before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded) .mdc-evolution-chip__ripple:after{transition:opacity .15s linear}.mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):active .mdc-evolution-chip__ripple:after{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-evolution-chip__action--primary.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, .12)}.mdc-evolution-chip__action--trailing .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--trailing .mdc-evolution-chip__ripple:after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-evolution-chip__action--trailing:hover .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--trailing.mdc-ripple-surface--hover .mdc-evolution-chip__ripple:before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-evolution-chip__action--trailing.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action--trailing:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple:before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-evolution-chip__action--trailing:not(.mdc-ripple-upgraded) .mdc-evolution-chip__ripple:after{transition:opacity .15s linear}.mdc-evolution-chip__action--trailing:not(.mdc-ripple-upgraded):active .mdc-evolution-chip__ripple:after{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-evolution-chip__action--trailing.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, .12)}.mdc-evolution-chip__ripple--trailing{height:18px;width:18px}.mdc-evolution-chip__action{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-evolution-chip__action .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action .mdc-evolution-chip__ripple:after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-evolution-chip__action .mdc-evolution-chip__ripple:before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-evolution-chip__action .mdc-evolution-chip__ripple:after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-evolution-chip__action.mdc-ripple-upgraded .mdc-evolution-chip__ripple:before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-evolution-chip__action.mdc-ripple-upgraded .mdc-evolution-chip__ripple:after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-evolution-chip__action.mdc-ripple-upgraded--unbounded .mdc-evolution-chip__ripple:after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-evolution-chip__action.mdc-ripple-upgraded--foreground-activation .mdc-evolution-chip__ripple:after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-evolution-chip__action.mdc-ripple-upgraded--foreground-deactivation .mdc-evolution-chip__ripple:after{animation:mdc-ripple-fg-opacity-out .15s;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-evolution-chip__action .mdc-evolution-chip__ripple:before,.mdc-evolution-chip__action .mdc-evolution-chip__ripple:after{top:-50%;left:-50%;width:200%;height:200%}.mdc-evolution-chip__action.mdc-ripple-upgraded .mdc-evolution-chip__ripple:after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-evolution-chip__ripple{position:absolute;box-sizing:content-box;overflow:hidden;pointer-events:none}.mdc-evolution-chip__ripple--primary{height:100%;width:100%;top:0;left:0}.mdc-evolution-chip__ripple--trailing{top:50%;transform:translateY(-50%)}.mdc-evolution-chip{background-color:var(--mdc-theme-surface-neutral)}.mdc-evolution-chip .mdc-evolution-chip__text-label{color:var(--mdc-theme-text-primary-on-background)}.mdc-evolution-chip .mdc-evolution-chip__icon{font-family:var(--mdc-icon-font, "Material Symbols Rounded");color:var(--mdc-theme-text-icon-on-background)}.mdc-evolution-chip .mdc-evolution-chip__checkmark-path{stroke:var(--mdc-theme-text-icon-on-background)}.mdc-evolution-chip.mdc-evolution-chip--selected{background-color:var(--mdc-theme-surface-primary)}.mdc-evolution-chip.negative{background-color:var(--mdc-theme-surface-negative)}.mdc-evolution-chip.caution{background-color:var(--mdc-theme-surface-caution)}.mdc-evolution-chip.secondary{background-color:var(--mdc-theme-surface-secondary)}
3003
2818
  `;
3004
- var Ki = Object.defineProperty, $i = Object.getOwnPropertyDescriptor, qi = (t, e, i, n) => {
3005
- for (var r = n > 1 ? void 0 : n ? $i(e, i) : e, o = t.length - 1, a; o >= 0; o--)
3006
- (a = t[o]) && (r = (n ? a(e, i, r) : a(r)) || r);
3007
- return n && r && Ki(e, i, r), r;
2819
+ var Bi = Object.defineProperty, Gi = Object.getOwnPropertyDescriptor, ji = (e, i, t, n) => {
2820
+ for (var r = n > 1 ? void 0 : n ? Gi(i, t) : i, o = e.length - 1, a; o >= 0; o--)
2821
+ (a = e[o]) && (r = (n ? a(i, t, r) : a(r)) || r);
2822
+ return n && r && Bi(i, t, r), r;
3008
2823
  };
3009
- let it = class extends R {
2824
+ let J = class extends E {
3010
2825
  };
3011
- it.styles = [
3012
- ie`
3013
- ${ne(Wi)}
2826
+ J.styles = [
2827
+ Vt`
2828
+ ${Jt(ki)}
3014
2829
  `
3015
2830
  ];
3016
- it = qi([
3017
- re("cv-chip")
3018
- ], it);
3019
- const nn = it;
2831
+ J = ji([
2832
+ Qt("cv-chip")
2833
+ ], J);
2834
+ const tn = J;
3020
2835
  export {
3021
- it as C,
3022
- l as K,
3023
- O as M,
3024
- z as a,
3025
- b,
3026
- ot as c,
3027
- G as d,
3028
- nn as e
2836
+ J as C,
2837
+ w as M,
2838
+ P as a,
2839
+ v as b,
2840
+ H as c,
2841
+ tn as d
3029
2842
  };