@duyluonganduin/acl-web-components 0.0.56 → 0.0.58

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.
@@ -3,8 +3,8 @@
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
5
  */
6
- const k2 = globalThis, T5 = k2.ShadowRoot && (k2.ShadyCSS === void 0 || k2.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, I5 = Symbol(), b3 = /* @__PURE__ */ new WeakMap();
7
- let ee = class {
6
+ const k2 = globalThis, T5 = k2.ShadowRoot && (k2.ShadyCSS === void 0 || k2.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, I5 = Symbol(), be = /* @__PURE__ */ new WeakMap();
7
+ let e3 = class {
8
8
  constructor(e, t, o) {
9
9
  if (this._$cssResult$ = !0, o !== I5) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
10
10
  this.cssText = e, this.t = t;
@@ -14,7 +14,7 @@ let ee = class {
14
14
  const t = this.t;
15
15
  if (T5 && e === void 0) {
16
16
  const o = t !== void 0 && t.length === 1;
17
- o && (e = b3.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), o && b3.set(t, e));
17
+ o && (e = be.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), o && be.set(t, e));
18
18
  }
19
19
  return e;
20
20
  }
@@ -22,33 +22,33 @@ let ee = class {
22
22
  return this.cssText;
23
23
  }
24
24
  };
25
- const te = (r) => new ee(typeof r == "string" ? r : r + "", void 0, I5), g = (r, ...e) => {
25
+ const t3 = (r) => new e3(typeof r == "string" ? r : r + "", void 0, I5), g = (r, ...e) => {
26
26
  const t = r.length === 1 ? r[0] : e.reduce((o, i, n) => o + ((l) => {
27
27
  if (l._$cssResult$ === !0) return l.cssText;
28
28
  if (typeof l == "number") return l;
29
29
  throw Error("Value passed to 'css' function must be a 'css' function result: " + l + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
30
30
  })(i) + r[n + 1], r[0]);
31
- return new ee(t, r, I5);
32
- }, $e = (r, e) => {
31
+ return new e3(t, r, I5);
32
+ }, $3 = (r, e) => {
33
33
  if (T5) r.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
34
34
  else for (const t of e) {
35
35
  const o = document.createElement("style"), i = k2.litNonce;
36
36
  i !== void 0 && o.setAttribute("nonce", i), o.textContent = t.cssText, r.appendChild(o);
37
37
  }
38
- }, H3 = T5 ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((e) => {
38
+ }, ye = T5 ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((e) => {
39
39
  let t = "";
40
40
  for (const o of e.cssRules) t += o.cssText;
41
- return te(t);
41
+ return t3(t);
42
42
  })(r) : r;
43
43
  /**
44
44
  * @license
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const { is: Ee, defineProperty: ze, getOwnPropertyDescriptor: Se, getOwnPropertyNames: Ae, getOwnPropertySymbols: De, getPrototypeOf: Pe } = Object, p1 = globalThis, y3 = p1.trustedTypes, Be = y3 ? y3.emptyScript : "", K2 = p1.reactiveElementPolyfillSupport, r2 = (r, e) => r, R2 = { toAttribute(r, e) {
48
+ const { is: E3, defineProperty: z3, getOwnPropertyDescriptor: S3, getOwnPropertyNames: A3, getOwnPropertySymbols: D3, getPrototypeOf: P3 } = Object, p1 = globalThis, He = p1.trustedTypes, B3 = He ? He.emptyScript : "", K2 = p1.reactiveElementPolyfillSupport, r2 = (r, e) => r, R2 = { toAttribute(r, e) {
49
49
  switch (e) {
50
50
  case Boolean:
51
- r = r ? Be : null;
51
+ r = r ? B3 : null;
52
52
  break;
53
53
  case Object:
54
54
  case Array:
@@ -73,7 +73,7 @@ const { is: Ee, defineProperty: ze, getOwnPropertyDescriptor: Se, getOwnProperty
73
73
  }
74
74
  }
75
75
  return t;
76
- } }, N5 = (r, e) => !Ee(r, e), _3 = { attribute: !0, type: String, converter: R2, reflect: !1, useDefault: !1, hasChanged: N5 };
76
+ } }, N5 = (r, e) => !E3(r, e), _e = { attribute: !0, type: String, converter: R2, reflect: !1, useDefault: !1, hasChanged: N5 };
77
77
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), p1.litPropertyMetadata ?? (p1.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
78
78
  let B1 = class extends HTMLElement {
79
79
  static addInitializer(e) {
@@ -82,14 +82,14 @@ let B1 = class extends HTMLElement {
82
82
  static get observedAttributes() {
83
83
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
84
84
  }
85
- static createProperty(e, t = _3) {
85
+ static createProperty(e, t = _e) {
86
86
  if (t.state && (t.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(e) && ((t = Object.create(t)).wrapped = !0), this.elementProperties.set(e, t), !t.noAccessor) {
87
87
  const o = Symbol(), i = this.getPropertyDescriptor(e, o, t);
88
- i !== void 0 && ze(this.prototype, e, i);
88
+ i !== void 0 && z3(this.prototype, e, i);
89
89
  }
90
90
  }
91
91
  static getPropertyDescriptor(e, t, o) {
92
- const { get: i, set: n } = Se(this.prototype, e) ?? { get() {
92
+ const { get: i, set: n } = S3(this.prototype, e) ?? { get() {
93
93
  return this[t];
94
94
  }, set(l) {
95
95
  this[t] = l;
@@ -100,17 +100,17 @@ let B1 = class extends HTMLElement {
100
100
  }, configurable: !0, enumerable: !0 };
101
101
  }
102
102
  static getPropertyOptions(e) {
103
- return this.elementProperties.get(e) ?? _3;
103
+ return this.elementProperties.get(e) ?? _e;
104
104
  }
105
105
  static _$Ei() {
106
106
  if (this.hasOwnProperty(r2("elementProperties"))) return;
107
- const e = Pe(this);
107
+ const e = P3(this);
108
108
  e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
109
109
  }
110
110
  static finalize() {
111
111
  if (this.hasOwnProperty(r2("finalized"))) return;
112
112
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(r2("properties"))) {
113
- const t = this.properties, o = [...Ae(t), ...De(t)];
113
+ const t = this.properties, o = [...A3(t), ...D3(t)];
114
114
  for (const i of o) this.createProperty(i, t[i]);
115
115
  }
116
116
  const e = this[Symbol.metadata];
@@ -129,8 +129,8 @@ let B1 = class extends HTMLElement {
129
129
  const t = [];
130
130
  if (Array.isArray(e)) {
131
131
  const o = new Set(e.flat(1 / 0).reverse());
132
- for (const i of o) t.unshift(H3(i));
133
- } else e !== void 0 && t.push(H3(e));
132
+ for (const i of o) t.unshift(ye(i));
133
+ } else e !== void 0 && t.push(ye(e));
134
134
  return t;
135
135
  }
136
136
  static _$Eu(e, t) {
@@ -159,7 +159,7 @@ let B1 = class extends HTMLElement {
159
159
  }
160
160
  createRenderRoot() {
161
161
  const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
162
- return $e(e, this.constructor.elementStyles), e;
162
+ return $3(e, this.constructor.elementStyles), e;
163
163
  }
164
164
  connectedCallback() {
165
165
  var e;
@@ -284,42 +284,42 @@ B1.elementStyles = [], B1.shadowRootOptions = { mode: "open" }, B1[r2("elementPr
284
284
  * Copyright 2017 Google LLC
285
285
  * SPDX-License-Identifier: BSD-3-Clause
286
286
  */
287
- const l2 = globalThis, L3 = (r) => r, $2 = l2.trustedTypes, V3 = $2 ? $2.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, ie = "$lit$", C1 = `lit$${Math.random().toFixed(9).slice(2)}$`, oe = "?" + C1, Fe = `<${oe}>`, w1 = document, a2 = () => w1.createComment(""), d2 = (r) => r === null || typeof r != "object" && typeof r != "function", j5 = Array.isArray, Oe = (r) => j5(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", W2 = `[
288
- \f\r]`, J1 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, x3 = /-->/g, M3 = />/g, _1 = RegExp(`>|${W2}(?:([^\\s"'>=/]+)(${W2}*=${W2}*(?:[^
289
- \f\r"'\`<>=]|("|')|))|$)`, "g"), w3 = /'/g, Z3 = /"/g, ne = /^(?:script|style|textarea|title)$/i, re = (r) => (e, ...t) => ({ _$litType$: r, strings: e, values: t }), a = re(1), c2 = re(2), Z1 = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), k3 = /* @__PURE__ */ new WeakMap(), V1 = w1.createTreeWalker(w1, 129);
290
- function le(r, e) {
287
+ const l2 = globalThis, Le = (r) => r, $2 = l2.trustedTypes, Ve = $2 ? $2.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, i3 = "$lit$", C1 = `lit$${Math.random().toFixed(9).slice(2)}$`, o3 = "?" + C1, F3 = `<${o3}>`, w1 = document, a2 = () => w1.createComment(""), d2 = (r) => r === null || typeof r != "object" && typeof r != "function", j5 = Array.isArray, O3 = (r) => j5(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", W2 = `[
288
+ \f\r]`, J1 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, xe = /-->/g, Me = />/g, _1 = RegExp(`>|${W2}(?:([^\\s"'>=/]+)(${W2}*=${W2}*(?:[^
289
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), we = /'/g, Ze = /"/g, n3 = /^(?:script|style|textarea|title)$/i, r3 = (r) => (e, ...t) => ({ _$litType$: r, strings: e, values: t }), a = r3(1), c2 = r3(2), Z1 = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), ke = /* @__PURE__ */ new WeakMap(), V1 = w1.createTreeWalker(w1, 129);
290
+ function l3(r, e) {
291
291
  if (!j5(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
292
- return V3 !== void 0 ? V3.createHTML(e) : e;
292
+ return Ve !== void 0 ? Ve.createHTML(e) : e;
293
293
  }
294
- const Te = (r, e) => {
294
+ const T3 = (r, e) => {
295
295
  const t = r.length - 1, o = [];
296
296
  let i, n = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", l = J1;
297
297
  for (let d = 0; d < t; d++) {
298
298
  const c = r[d];
299
299
  let C, p, f = -1, b = 0;
300
- for (; b < c.length && (l.lastIndex = b, p = l.exec(c), p !== null); ) b = l.lastIndex, l === J1 ? p[1] === "!--" ? l = x3 : p[1] !== void 0 ? l = M3 : p[2] !== void 0 ? (ne.test(p[2]) && (i = RegExp("</" + p[2], "g")), l = _1) : p[3] !== void 0 && (l = _1) : l === _1 ? p[0] === ">" ? (l = i ?? J1, f = -1) : p[1] === void 0 ? f = -2 : (f = l.lastIndex - p[2].length, C = p[1], l = p[3] === void 0 ? _1 : p[3] === '"' ? Z3 : w3) : l === Z3 || l === w3 ? l = _1 : l === x3 || l === M3 ? l = J1 : (l = _1, i = void 0);
300
+ for (; b < c.length && (l.lastIndex = b, p = l.exec(c), p !== null); ) b = l.lastIndex, l === J1 ? p[1] === "!--" ? l = xe : p[1] !== void 0 ? l = Me : p[2] !== void 0 ? (n3.test(p[2]) && (i = RegExp("</" + p[2], "g")), l = _1) : p[3] !== void 0 && (l = _1) : l === _1 ? p[0] === ">" ? (l = i ?? J1, f = -1) : p[1] === void 0 ? f = -2 : (f = l.lastIndex - p[2].length, C = p[1], l = p[3] === void 0 ? _1 : p[3] === '"' ? Ze : we) : l === Ze || l === we ? l = _1 : l === xe || l === Me ? l = J1 : (l = _1, i = void 0);
301
301
  const m = l === _1 && r[d + 1].startsWith("/>") ? " " : "";
302
- n += l === J1 ? c + Fe : f >= 0 ? (o.push(C), c.slice(0, f) + ie + c.slice(f) + C1 + m) : c + C1 + (f === -2 ? d : m);
302
+ n += l === J1 ? c + F3 : f >= 0 ? (o.push(C), c.slice(0, f) + i3 + c.slice(f) + C1 + m) : c + C1 + (f === -2 ? d : m);
303
303
  }
304
- return [le(r, n + (r[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), o];
304
+ return [l3(r, n + (r[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), o];
305
305
  };
306
306
  class C2 {
307
307
  constructor({ strings: e, _$litType$: t }, o) {
308
308
  let i;
309
309
  this.parts = [];
310
310
  let n = 0, l = 0;
311
- const d = e.length - 1, c = this.parts, [C, p] = Te(e, t);
311
+ const d = e.length - 1, c = this.parts, [C, p] = T3(e, t);
312
312
  if (this.el = C2.createElement(C, o), V1.currentNode = this.el.content, t === 2 || t === 3) {
313
313
  const f = this.el.content.firstChild;
314
314
  f.replaceWith(...f.childNodes);
315
315
  }
316
316
  for (; (i = V1.nextNode()) !== null && c.length < d; ) {
317
317
  if (i.nodeType === 1) {
318
- if (i.hasAttributes()) for (const f of i.getAttributeNames()) if (f.endsWith(ie)) {
318
+ if (i.hasAttributes()) for (const f of i.getAttributeNames()) if (f.endsWith(i3)) {
319
319
  const b = p[l++], m = i.getAttribute(f).split(C1), V = /([.?@])?(.*)/.exec(b);
320
- c.push({ type: 1, index: n, name: V[2], strings: m, ctor: V[1] === "." ? Ne : V[1] === "?" ? je : V[1] === "@" ? Ue : U2 }), i.removeAttribute(f);
320
+ c.push({ type: 1, index: n, name: V[2], strings: m, ctor: V[1] === "." ? N3 : V[1] === "?" ? j3 : V[1] === "@" ? U3 : U2 }), i.removeAttribute(f);
321
321
  } else f.startsWith(C1) && (c.push({ type: 6, index: n }), i.removeAttribute(f));
322
- if (ne.test(i.tagName)) {
322
+ if (n3.test(i.tagName)) {
323
323
  const f = i.textContent.split(C1), b = f.length - 1;
324
324
  if (b > 0) {
325
325
  i.textContent = $2 ? $2.emptyScript : "";
@@ -327,7 +327,7 @@ class C2 {
327
327
  i.append(f[b], a2());
328
328
  }
329
329
  }
330
- } else if (i.nodeType === 8) if (i.data === oe) c.push({ type: 2, index: n });
330
+ } else if (i.nodeType === 8) if (i.data === o3) c.push({ type: 2, index: n });
331
331
  else {
332
332
  let f = -1;
333
333
  for (; (f = i.data.indexOf(C1, f + 1)) !== -1; ) c.push({ type: 7, index: n }), f += C1.length - 1;
@@ -347,7 +347,7 @@ function O1(r, e, t = r, o) {
347
347
  const n = d2(e) ? void 0 : e._$litDirective$;
348
348
  return (i == null ? void 0 : i.constructor) !== n && ((d = i == null ? void 0 : i._$AO) == null || d.call(i, !1), n === void 0 ? i = void 0 : (i = new n(r), i._$AT(r, t, o)), o !== void 0 ? (t._$Co ?? (t._$Co = []))[o] = i : t._$Cl = i), i !== void 0 && (e = O1(r, i._$AS(r, e.values), i, o)), e;
349
349
  }
350
- class Ie {
350
+ class I3 {
351
351
  constructor(e, t) {
352
352
  this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
353
353
  }
@@ -364,7 +364,7 @@ class Ie {
364
364
  for (; c !== void 0; ) {
365
365
  if (l === c.index) {
366
366
  let C;
367
- c.type === 2 ? C = new w2(n, n.nextSibling, this, e) : c.type === 1 ? C = new c.ctor(n, c.name, c.strings, this, e) : c.type === 6 && (C = new Ge(n, this, e)), this._$AV.push(C), c = o[++d];
367
+ c.type === 2 ? C = new w2(n, n.nextSibling, this, e) : c.type === 1 ? C = new c.ctor(n, c.name, c.strings, this, e) : c.type === 6 && (C = new G3(n, this, e)), this._$AV.push(C), c = o[++d];
368
368
  }
369
369
  l !== (c == null ? void 0 : c.index) && (n = V1.nextNode(), l++);
370
370
  }
@@ -395,7 +395,7 @@ class w2 {
395
395
  return this._$AB;
396
396
  }
397
397
  _$AI(e, t = this) {
398
- e = O1(this, e, t), d2(e) ? e === u || e == null || e === "" ? (this._$AH !== u && this._$AR(), this._$AH = u) : e !== this._$AH && e !== Z1 && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Oe(e) ? this.k(e) : this._(e);
398
+ e = O1(this, e, t), d2(e) ? e === u || e == null || e === "" ? (this._$AH !== u && this._$AR(), this._$AH = u) : e !== this._$AH && e !== Z1 && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : O3(e) ? this.k(e) : this._(e);
399
399
  }
400
400
  O(e) {
401
401
  return this._$AA.parentNode.insertBefore(e, this._$AB);
@@ -408,16 +408,16 @@ class w2 {
408
408
  }
409
409
  $(e) {
410
410
  var n;
411
- const { values: t, _$litType$: o } = e, i = typeof o == "number" ? this._$AC(e) : (o.el === void 0 && (o.el = C2.createElement(le(o.h, o.h[0]), this.options)), o);
411
+ const { values: t, _$litType$: o } = e, i = typeof o == "number" ? this._$AC(e) : (o.el === void 0 && (o.el = C2.createElement(l3(o.h, o.h[0]), this.options)), o);
412
412
  if (((n = this._$AH) == null ? void 0 : n._$AD) === i) this._$AH.p(t);
413
413
  else {
414
- const l = new Ie(i, this), d = l.u(this.options);
414
+ const l = new I3(i, this), d = l.u(this.options);
415
415
  l.p(t), this.T(d), this._$AH = l;
416
416
  }
417
417
  }
418
418
  _$AC(e) {
419
- let t = k3.get(e.strings);
420
- return t === void 0 && k3.set(e.strings, t = new C2(e)), t;
419
+ let t = ke.get(e.strings);
420
+ return t === void 0 && ke.set(e.strings, t = new C2(e)), t;
421
421
  }
422
422
  k(e) {
423
423
  j5(this._$AH) || (this._$AH = [], this._$AR());
@@ -429,8 +429,8 @@ class w2 {
429
429
  _$AR(e = this._$AA.nextSibling, t) {
430
430
  var o;
431
431
  for ((o = this._$AP) == null ? void 0 : o.call(this, !1, !0, t); e !== this._$AB; ) {
432
- const i = L3(e).nextSibling;
433
- L3(e).remove(), e = i;
432
+ const i = Le(e).nextSibling;
433
+ Le(e).remove(), e = i;
434
434
  }
435
435
  }
436
436
  setConnected(e) {
@@ -463,7 +463,7 @@ class U2 {
463
463
  e === u ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
464
464
  }
465
465
  }
466
- class Ne extends U2 {
466
+ class N3 extends U2 {
467
467
  constructor() {
468
468
  super(...arguments), this.type = 3;
469
469
  }
@@ -471,7 +471,7 @@ class Ne extends U2 {
471
471
  this.element[this.name] = e === u ? void 0 : e;
472
472
  }
473
473
  }
474
- class je extends U2 {
474
+ class j3 extends U2 {
475
475
  constructor() {
476
476
  super(...arguments), this.type = 4;
477
477
  }
@@ -479,7 +479,7 @@ class je extends U2 {
479
479
  this.element.toggleAttribute(this.name, !!e && e !== u);
480
480
  }
481
481
  }
482
- class Ue extends U2 {
482
+ class U3 extends U2 {
483
483
  constructor(e, t, o, i, n) {
484
484
  super(e, t, o, i, n), this.type = 5;
485
485
  }
@@ -493,7 +493,7 @@ class Ue extends U2 {
493
493
  typeof this._$AH == "function" ? this._$AH.call(((t = this.options) == null ? void 0 : t.host) ?? this.element, e) : this._$AH.handleEvent(e);
494
494
  }
495
495
  }
496
- class Ge {
496
+ class G3 {
497
497
  constructor(e, t, o) {
498
498
  this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = o;
499
499
  }
@@ -506,7 +506,7 @@ class Ge {
506
506
  }
507
507
  const Y2 = l2.litHtmlPolyfillSupport;
508
508
  Y2 == null || Y2(C2, w2), (l2.litHtmlVersions ?? (l2.litHtmlVersions = [])).push("3.3.2");
509
- const Ke = (r, e, t) => {
509
+ const K3 = (r, e, t) => {
510
510
  const o = (t == null ? void 0 : t.renderBefore) ?? e;
511
511
  let i = o._$litPart$;
512
512
  if (i === void 0) {
@@ -532,7 +532,7 @@ let h = class extends B1 {
532
532
  }
533
533
  update(e) {
534
534
  const t = this.render();
535
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = Ke(t, this.renderRoot, this.renderOptions);
535
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = K3(t, this.renderRoot, this.renderOptions);
536
536
  }
537
537
  connectedCallback() {
538
538
  var e;
@@ -546,8 +546,8 @@ let h = class extends B1 {
546
546
  return Z1;
547
547
  }
548
548
  };
549
- var Q3;
550
- h._$litElement$ = !0, h.finalized = !0, (Q3 = M1.litElementHydrateSupport) == null || Q3.call(M1, { LitElement: h });
549
+ var Qe;
550
+ h._$litElement$ = !0, h.finalized = !0, (Qe = M1.litElementHydrateSupport) == null || Qe.call(M1, { LitElement: h });
551
551
  const q2 = M1.litElementPolyfillSupport;
552
552
  q2 == null || q2({ LitElement: h });
553
553
  (M1.litElementVersions ?? (M1.litElementVersions = [])).push("4.2.2");
@@ -556,7 +556,7 @@ q2 == null || q2({ LitElement: h });
556
556
  * Copyright 2017 Google LLC
557
557
  * SPDX-License-Identifier: BSD-3-Clause
558
558
  */
559
- const We = { attribute: !0, type: String, converter: R2, reflect: !1, hasChanged: N5 }, Ye = (r = We, e, t) => {
559
+ const W3 = { attribute: !0, type: String, converter: R2, reflect: !1, hasChanged: N5 }, Y3 = (r = W3, e, t) => {
560
560
  const { kind: o, metadata: i } = t;
561
561
  let n = globalThis.litPropertyMetadata.get(i);
562
562
  if (n === void 0 && globalThis.litPropertyMetadata.set(i, n = /* @__PURE__ */ new Map()), o === "setter" && ((r = Object.create(r)).wrapped = !0), n.set(t.name, r), o === "accessor") {
@@ -578,7 +578,7 @@ const We = { attribute: !0, type: String, converter: R2, reflect: !1, hasChanged
578
578
  throw Error("Unsupported decorator location: " + o);
579
579
  };
580
580
  function s(r) {
581
- return (e, t) => typeof t == "object" ? Ye(r, e, t) : ((o, i, n) => {
581
+ return (e, t) => typeof t == "object" ? Y3(r, e, t) : ((o, i, n) => {
582
582
  const l = i.hasOwnProperty(n);
583
583
  return i.constructor.createProperty(n, o), l ? Object.getOwnPropertyDescriptor(i, n) : void 0;
584
584
  })(r, e, t);
@@ -588,7 +588,7 @@ function s(r) {
588
588
  * Copyright 2017 Google LLC
589
589
  * SPDX-License-Identifier: BSD-3-Clause
590
590
  */
591
- function H(r) {
591
+ function y(r) {
592
592
  return s({ ...r, state: !0, attribute: !1 });
593
593
  }
594
594
  /**
@@ -596,7 +596,7 @@ function H(r) {
596
596
  * Copyright 2017 Google LLC
597
597
  * SPDX-License-Identifier: BSD-3-Clause
598
598
  */
599
- const qe = (r, e, t) => (t.configurable = !0, t.enumerable = !0, Reflect.decorate && typeof e != "object" && Object.defineProperty(r, e, t), t);
599
+ const q3 = (r, e, t) => (t.configurable = !0, t.enumerable = !0, Reflect.decorate && typeof e != "object" && Object.defineProperty(r, e, t), t);
600
600
  /**
601
601
  * @license
602
602
  * Copyright 2017 Google LLC
@@ -608,15 +608,15 @@ function R(r, e) {
608
608
  var d;
609
609
  return ((d = l.renderRoot) == null ? void 0 : d.querySelector(r)) ?? null;
610
610
  };
611
- return qe(t, o, { get() {
611
+ return q3(t, o, { get() {
612
612
  return n(this);
613
613
  } });
614
614
  };
615
615
  }
616
- var Xe = Object.defineProperty, se = (r, e, t, o) => {
616
+ var X3 = Object.defineProperty, s3 = (r, e, t, o) => {
617
617
  for (var i = void 0, n = r.length - 1, l; n >= 0; n--)
618
618
  (l = r[n]) && (i = l(e, t, i) || i);
619
- return i && Xe(e, t, i), i;
619
+ return i && X3(e, t, i), i;
620
620
  };
621
621
  const Y5 = class Y5 extends h {
622
622
  constructor() {
@@ -681,24 +681,24 @@ Y5.styles = g`
681
681
  @keyframes circle { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
682
682
  `;
683
683
  let p2 = Y5;
684
- se([
684
+ s3([
685
685
  s()
686
686
  ], p2.prototype, "size");
687
- se([
687
+ s3([
688
688
  s()
689
689
  ], p2.prototype, "percent");
690
690
  customElements.get("anduin-spinner") || customElements.define("anduin-spinner", p2);
691
- var Je = Object.defineProperty, ae = (r, e, t, o) => {
691
+ var J3 = Object.defineProperty, a3 = (r, e, t, o) => {
692
692
  for (var i = void 0, n = r.length - 1, l; n >= 0; n--)
693
693
  (l = r[n]) && (i = l(e, t, i) || i);
694
- return i && Je(e, t, i), i;
694
+ return i && J3(e, t, i), i;
695
695
  };
696
- const R3 = "M7.23359 3.5336C7.49685 2.82213 8.50314 2.82213 8.76641 3.5336L9.63534 5.88184C9.71811 6.10553 9.89447 6.28189 10.1182 6.36466L12.4664 7.23359C13.1779 7.49685 13.1779 8.50314 12.4664 8.76641L10.1182 9.63534C9.89447 9.71811 9.71811 9.89447 9.63534 10.1182L8.76641 12.4664C8.50314 13.1779 7.49685 13.1779 7.23359 12.4664L6.36466 10.1182C6.28189 9.89447 6.10553 9.71811 5.88185 9.63534L3.5336 8.76641C2.82213 8.50314 2.82213 7.49685 3.5336 7.23359L5.88184 6.36466C6.10553 6.28189 6.28189 6.10553 6.36466 5.88185L7.23359 3.5336Z", Qe = { small: 16, medium: 24, large: 32 }, q5 = class q5 extends h {
696
+ const Re = "M7.23359 3.5336C7.49685 2.82213 8.50314 2.82213 8.76641 3.5336L9.63534 5.88184C9.71811 6.10553 9.89447 6.28189 10.1182 6.36466L12.4664 7.23359C13.1779 7.49685 13.1779 8.50314 12.4664 8.76641L10.1182 9.63534C9.89447 9.71811 9.71811 9.89447 9.63534 10.1182L8.76641 12.4664C8.50314 13.1779 7.49685 13.1779 7.23359 12.4664L6.36466 10.1182C6.28189 9.89447 6.10553 9.71811 5.88185 9.63534L3.5336 8.76641C2.82213 8.50314 2.82213 7.49685 3.5336 7.23359L5.88184 6.36466C6.10553 6.28189 6.28189 6.10553 6.36466 5.88185L7.23359 3.5336Z", Q3 = { small: 16, medium: 24, large: 32 }, q5 = class q5 extends h {
697
697
  constructor() {
698
698
  super(...arguments), this.size = "small", this.color = "default";
699
699
  }
700
700
  render() {
701
- const e = Qe[this.size] ?? 16;
701
+ const e = Q3[this.size] ?? 16;
702
702
  return c2`
703
703
  <svg
704
704
  xmlns="http://www.w3.org/2000/svg"
@@ -708,8 +708,8 @@ const R3 = "M7.23359 3.5336C7.49685 2.82213 8.50314 2.82213 8.76641 3.5336L9.635
708
708
  fill="currentColor"
709
709
  overflow="visible"
710
710
  >
711
- <path class="star" d="${R3}"/>
712
- <path class="star star-2" d="${R3}"/>
711
+ <path class="star" d="${Re}"/>
712
+ <path class="star star-2" d="${Re}"/>
713
713
  </svg>
714
714
  `;
715
715
  }
@@ -754,10 +754,10 @@ q5.styles = g`
754
754
  }
755
755
  `;
756
756
  let h2 = q5;
757
- ae([
757
+ a3([
758
758
  s({ reflect: !0 })
759
759
  ], h2.prototype, "size");
760
- ae([
760
+ a3([
761
761
  s({ reflect: !0 })
762
762
  ], h2.prototype, "color");
763
763
  customElements.get("anduin-sparkle-spinner") || customElements.define("anduin-sparkle-spinner", h2);
@@ -766,7 +766,7 @@ var e7 = Object.defineProperty, U5 = (r, e, t, o) => {
766
766
  (l = r[n]) && (i = l(e, t, i) || i);
767
767
  return i && e7(e, t, i), i;
768
768
  };
769
- const de = [
769
+ const d3 = [
770
770
  {
771
771
  index: 1,
772
772
  d: "M62.5473 18.7416L54.9042 14.3289L44.2017 19.8592L44.1897 8.14288L40.4782 6L36.7581 8.1621L36.7873 32.0482L62.5473 18.7416Z",
@@ -809,7 +809,7 @@ const de = [
809
809
  originY: 39.0175,
810
810
  delay: -0.97
811
811
  }
812
- ], $3 = 20, E3 = 5, t7 = 900, i7 = 160, z3 = 2, o7 = "cubic-bezier(0.22, 0.61, 0.36, 1)", X2 = 180, t2 = "ai-spinner--loading", i2 = "ai-spinner--settling", x1 = "ai-spinner__segment", n7 = de.map(
812
+ ], $e = 20, Ee = 5, t7 = 900, i7 = 160, ze = 2, o7 = "cubic-bezier(0.22, 0.61, 0.36, 1)", X2 = 180, t2 = "ai-spinner--loading", i2 = "ai-spinner--settling", x1 = "ai-spinner__segment", n7 = d3.map(
813
813
  (r) => `
814
814
  .${x1}--${r.index} {
815
815
  transform-origin: ${r.originX}px ${r.originY}px;
@@ -823,10 +823,10 @@ const de = [
823
823
  ).join(`
824
824
  `), X5 = class X5 extends h {
825
825
  constructor() {
826
- super(...arguments), this.state = "loading", this.size = $3;
826
+ super(...arguments), this.state = "loading", this.size = $e;
827
827
  }
828
828
  render() {
829
- const e = this.size > 0 ? this.size : $3;
829
+ const e = this.size > 0 ? this.size : $e;
830
830
  return a`
831
831
  <div class="ai-spinner">
832
832
  <svg
@@ -838,7 +838,7 @@ const de = [
838
838
  fill="none"
839
839
  aria-hidden="true"
840
840
  >
841
- ${de.map(
841
+ ${d3.map(
842
842
  (t) => c2`
843
843
  <path
844
844
  class="${x1} ${x1}--${t.index}"
@@ -862,7 +862,7 @@ const de = [
862
862
  const t = this.wrapper;
863
863
  if (!t) return;
864
864
  const o = this.currentRotationDegrees(t), i = t.classList.contains(t2) || t.classList.contains(i2);
865
- e ? (this.cancelSettle(t), this.cancelSegmentRest(t), o !== null && o >= z3 ? t.style.setProperty("animation-delay", `${-(o / 360 * E3)}s`) : t.style.removeProperty("animation-delay"), t.classList.add(t2)) : i && (o !== null && 360 - o >= z3 ? (this.cancelSettle(t), t.classList.remove(t2), this.startSettle(t, o)) : this.restSegments(t));
865
+ e ? (this.cancelSettle(t), this.cancelSegmentRest(t), o !== null && o >= ze ? t.style.setProperty("animation-delay", `${-(o / 360 * Ee)}s`) : t.style.removeProperty("animation-delay"), t.classList.add(t2)) : i && (o !== null && 360 - o >= ze ? (this.cancelSettle(t), t.classList.remove(t2), this.startSettle(t, o)) : this.restSegments(t));
866
866
  }
867
867
  /** The mark's current rotation in [0, 360), or null when it is not rotating (static, or reduced motion). */
868
868
  currentRotationDegrees(e) {
@@ -945,7 +945,7 @@ X5.styles = g`
945
945
  }
946
946
 
947
947
  .ai-spinner--loading {
948
- animation: ai-spinner-spin ${E3}s linear infinite;
948
+ animation: ai-spinner-spin ${Ee}s linear infinite;
949
949
  will-change: transform;
950
950
  }
951
951
 
@@ -958,7 +958,7 @@ X5.styles = g`
958
958
  animation: ai-spinner-pulse 1.52s linear infinite;
959
959
  }
960
960
 
961
- ${te(n7)}
961
+ ${t3(n7)}
962
962
 
963
963
  @keyframes ai-spinner-spin {
964
964
  to {
@@ -1008,7 +1008,7 @@ U5([
1008
1008
  R(".ai-spinner")
1009
1009
  ], T1.prototype, "wrapper");
1010
1010
  customElements.get("anduin-ai-spinner") || customElements.define("anduin-ai-spinner", T1);
1011
- const S3 = {
1011
+ const Se = {
1012
1012
  access: [{ d: "M13 2.5H3C2.72386 2.5 2.5 2.72386 2.5 3V5.75H1V3C1 1.89543 1.89543 1 3 1H13C14.1046 1 15 1.89543 15 3V13C15 14.1046 14.1046 15 13 15H3C1.89543 15 1 14.1046 1 13V10.25H2.5V13C2.5 13.2761 2.72386 13.5 3 13.5H13C13.2761 13.5 13.5 13.2761 13.5 13V3C13.5 2.72386 13.2761 2.5 13 2.5ZM7.53033 4.21979C7.23744 3.9269 6.76256 3.9269 6.46967 4.21979C6.17678 4.51269 6.17678 4.98756 6.46967 5.28045L8.43922 7.25L0.75 7.25C0.335786 7.25 0 7.58579 0 8C0 8.41421 0.335786 8.75 0.75 8.75L8.43946 8.75L6.46967 10.7198C6.17678 11.0127 6.17678 11.4876 6.46967 11.7805C6.76256 12.0733 7.23744 12.0733 7.53033 11.7805L10.7803 8.53044C11.0732 8.23755 11.0732 7.76268 10.7803 7.46978L7.53033 4.21979Z", fillRule: "evenodd", clipRule: "evenodd" }],
1013
1013
  alignCenter: [{ d: "M2 1C1.44772 1 1 1.44772 1 2C1 2.55228 1.44772 3 2 3H14C14.5523 3 15 2.55228 15 2C15 1.44772 14.5523 1 14 1H2ZM2 9C1.44772 9 1 9.44771 1 10C1 10.5523 1.44772 11 2 11H14C14.5523 11 15 10.5523 15 10C15 9.44771 14.5523 9 14 9H2ZM4 6C4 5.44772 4.44772 5 5 5H11C11.5523 5 12 5.44772 12 6C12 6.55228 11.5523 7 11 7H5C4.44772 7 4 6.55228 4 6ZM5 13C4.44772 13 4 13.4477 4 14C4 14.5523 4.44772 15 5 15H11C11.5523 15 12 14.5523 12 14C12 13.4477 11.5523 13 11 13H5Z", fillRule: "evenodd", clipRule: "evenodd" }],
1014
1014
  alignJustify: [{ d: "M2 1C1.44772 1 1 1.44772 1 2C1 2.55228 1.44772 3 2 3H14C14.5523 3 15 2.55228 15 2C15 1.44772 14.5523 1 14 1H2ZM2 9C1.44772 9 1 9.44771 1 10C1 10.5523 1.44772 11 2 11H14C14.5523 11 15 10.5523 15 10C15 9.44771 14.5523 9 14 9H2ZM1 6C1 5.44772 1.44772 5 2 5H14C14.5523 5 15 5.44772 15 6C15 6.55228 14.5523 7 14 7H2C1.44772 7 1 6.55228 1 6ZM2 13C1.44772 13 1 13.4477 1 14C1 14.5523 1.44772 15 2 15H14C14.5523 15 15 14.5523 15 14C15 13.4477 14.5523 13 14 13H2Z", fillRule: "evenodd", clipRule: "evenodd" }],
@@ -1369,7 +1369,7 @@ const S3 = {
1369
1369
  zoomOut: [{ d: "M4.5 6.25C4.08579 6.25 3.75 6.58579 3.75 7C3.75 7.41421 4.08579 7.75 4.5 7.75H9.5C9.91421 7.75 10.25 7.41421 10.25 7C10.25 6.58579 9.91421 6.25 9.5 6.25H4.5ZM7 14C8.57591 14 10.0302 13.4792 11.2001 12.6004C11.2281 12.6376 11.259 12.6733 11.2929 12.7071L14.2929 15.7071C14.6834 16.0976 15.3166 16.0976 15.7071 15.7071C16.0976 15.3166 16.0976 14.6834 15.7071 14.2929L12.7071 11.2929C12.6733 11.259 12.6376 11.2281 12.6004 11.2001C13.4792 10.0302 14 8.57591 14 7C14 3.13401 10.866 0 7 0C3.13401 0 0 3.13401 0 7C0 10.866 3.13401 14 7 14ZM7 12.5C10.0376 12.5 12.5 10.0376 12.5 7C12.5 3.96243 10.0376 1.5 7 1.5C3.96243 1.5 1.5 3.96243 1.5 7C1.5 10.0376 3.96243 12.5 7 12.5Z", fillRule: "evenodd", clipRule: "evenodd" }],
1370
1370
  zz: [{ d: "M9.75 1.02686C9.33579 1.02686 9 1.36264 9 1.77686C9 2.19107 9.33579 2.52686 9.75 2.52686H12.8186L9.13336 7.84995C8.97457 8.07931 8.9562 8.37784 9.08567 8.62494C9.21513 8.87203 9.47104 9.02686 9.75 9.02686H14.25C14.6642 9.02686 15 8.69107 15 8.27686C15 7.86264 14.6642 7.52686 14.25 7.52686H11.1814L14.8666 2.20376C15.0254 1.97441 15.0438 1.67587 14.9143 1.42878C14.7849 1.18168 14.529 1.02686 14.25 1.02686H9.75ZM1.75 7.02686C1.33579 7.02686 1 7.36264 1 7.77686C1 8.19107 1.33579 8.52686 1.75 8.52686H4.81858L1.13336 13.8499C0.974572 14.0793 0.956201 14.3778 1.08567 14.6249C1.21513 14.872 1.47104 15.0269 1.75 15.0269H6.25C6.66422 15.0269 7 14.6911 7 14.2769C7 13.8626 6.66422 13.5269 6.25 13.5269H3.18143L6.86665 8.20376C7.02543 7.97441 7.0438 7.67587 6.91434 7.42878C6.78487 7.18168 6.52896 7.02686 6.25 7.02686H1.75Z", fillRule: "evenodd", clipRule: "evenodd" }]
1371
1371
  };
1372
- var r7 = Object.defineProperty, ce = (r, e, t, o) => {
1372
+ var r7 = Object.defineProperty, c3 = (r, e, t, o) => {
1373
1373
  for (var i = void 0, n = r.length - 1, l; n >= 0; n--)
1374
1374
  (l = r[n]) && (i = l(e, t, i) || i);
1375
1375
  return i && r7(e, t, i), i;
@@ -1379,7 +1379,7 @@ const J5 = class J5 extends h {
1379
1379
  super(...arguments), this.name = "", this.size = 16;
1380
1380
  }
1381
1381
  render() {
1382
- const e = this.name && S3[this.name] ? S3[this.name] : [], t = !this.name;
1382
+ const e = this.name && Se[this.name] ? Se[this.name] : [], t = !this.name;
1383
1383
  return c2`
1384
1384
  <svg
1385
1385
  class=${t ? "icon--hidden" : ""}
@@ -1407,10 +1407,10 @@ J5.styles = g`
1407
1407
  .icon--hidden { display: none; }
1408
1408
  `;
1409
1409
  let u2 = J5;
1410
- ce([
1410
+ c3([
1411
1411
  s()
1412
1412
  ], u2.prototype, "name");
1413
- ce([
1413
+ c3([
1414
1414
  s({ type: Number })
1415
1415
  ], u2.prototype, "size");
1416
1416
  customElements.get("anduin-icon") || customElements.define("anduin-icon", u2);
@@ -1419,7 +1419,7 @@ var l7 = Object.defineProperty, s7 = (r, e, t, o) => {
1419
1419
  (l = r[n]) && (i = l(e, t, i) || i);
1420
1420
  return i && l7(e, t, i), i;
1421
1421
  };
1422
- const Ce = g`
1422
+ const C3 = g`
1423
1423
  :host { display: inline-block; font-family: var(--font-sans); }
1424
1424
  .badge {
1425
1425
  border-radius: 9999px;
@@ -1446,7 +1446,7 @@ const Ce = g`
1446
1446
  .badge--bold-warning { background-color: var(--color-semantic-warning-3); color: var(--color-semantic-gray-8); }
1447
1447
  .badge--hidden { display: none; }
1448
1448
  `;
1449
- function pe(r) {
1449
+ function p3(r) {
1450
1450
  return {
1451
1451
  gray: "badge--light-gray",
1452
1452
  primary: "badge--light-primary",
@@ -1465,17 +1465,17 @@ const Q5 = class Q5 extends h {
1465
1465
  super(...arguments), this.variant = "gray";
1466
1466
  }
1467
1467
  render() {
1468
- const e = pe(this.variant);
1468
+ const e = p3(this.variant);
1469
1469
  return a`<div class="badge ${e}" part="badge"><slot></slot></div>`;
1470
1470
  }
1471
1471
  };
1472
- Q5.styles = [Ce];
1472
+ Q5.styles = [C3];
1473
1473
  let E2 = Q5;
1474
1474
  s7([
1475
1475
  s()
1476
1476
  ], E2.prototype, "variant");
1477
1477
  customElements.get("anduin-badge") || customElements.define("anduin-badge", E2);
1478
- var a7 = Object.defineProperty, he = (r, e, t, o) => {
1478
+ var a7 = Object.defineProperty, h3 = (r, e, t, o) => {
1479
1479
  for (var i = void 0, n = r.length - 1, l; n >= 0; n--)
1480
1480
  (l = r[n]) && (i = l(e, t, i) || i);
1481
1481
  return i && a7(e, t, i), i;
@@ -1488,7 +1488,7 @@ const e4 = class e4 extends h {
1488
1488
  return e > 99 ? "99+" : e.toString();
1489
1489
  }
1490
1490
  render() {
1491
- const e = pe(this.variant), t = this.count === 0, o = this.count > 0 && this.count < 10, i = [
1491
+ const e = p3(this.variant), t = this.count === 0, o = this.count > 0 && this.count < 10, i = [
1492
1492
  "badge",
1493
1493
  e,
1494
1494
  t ? "badge--hidden" : "",
@@ -1497,12 +1497,12 @@ const e4 = class e4 extends h {
1497
1497
  return a`<div class="${i}" part="badge">${this.formatCount(this.count)}</div>`;
1498
1498
  }
1499
1499
  };
1500
- e4.styles = [Ce];
1500
+ e4.styles = [C3];
1501
1501
  let g2 = e4;
1502
- he([
1502
+ h3([
1503
1503
  s()
1504
1504
  ], g2.prototype, "variant");
1505
- he([
1505
+ h3([
1506
1506
  s({ type: Number })
1507
1507
  ], g2.prototype, "count");
1508
1508
  customElements.get("anduin-badge-count") || customElements.define("anduin-badge-count", g2);
@@ -1690,7 +1690,7 @@ t4.styles = g`
1690
1690
  `;
1691
1691
  let k = t4;
1692
1692
  P([
1693
- H()
1693
+ y()
1694
1694
  ], k.prototype, "iconOnly");
1695
1695
  P([
1696
1696
  s({ converter: (r) => r || "filled" })
@@ -1770,7 +1770,7 @@ p7([
1770
1770
  s()
1771
1771
  ], z2.prototype, "variant");
1772
1772
  customElements.get("anduin-callout") || customElements.define("anduin-callout", z2);
1773
- var h7 = Object.defineProperty, ue = (r, e, t, o) => {
1773
+ var h7 = Object.defineProperty, u3 = (r, e, t, o) => {
1774
1774
  for (var i = void 0, n = r.length - 1, l; n >= 0; n--)
1775
1775
  (l = r[n]) && (i = l(e, t, i) || i);
1776
1776
  return i && h7(e, t, i), i;
@@ -1817,11 +1817,11 @@ o4.styles = g`
1817
1817
  .divider__line--vertical { border-left: 1px solid var(--color-gray-3); justify-self: center; }
1818
1818
  `;
1819
1819
  let f2 = o4;
1820
- ue([
1820
+ u3([
1821
1821
  s({ reflect: !0 })
1822
1822
  ], f2.prototype, "direction");
1823
- ue([
1824
- H()
1823
+ u3([
1824
+ y()
1825
1825
  ], f2.prototype, "hasContent");
1826
1826
  customElements.get("anduin-divider") || customElements.define("anduin-divider", f2);
1827
1827
  var u7 = Object.defineProperty, g7 = (r, e, t, o) => {
@@ -1851,7 +1851,7 @@ g7([
1851
1851
  s()
1852
1852
  ], S2.prototype, "variant");
1853
1853
  customElements.get("anduin-dot") || customElements.define("anduin-dot", S2);
1854
- var f7 = Object.defineProperty, ge = (r, e, t, o) => {
1854
+ var f7 = Object.defineProperty, g3 = (r, e, t, o) => {
1855
1855
  for (var i = void 0, n = r.length - 1, l; n >= 0; n--)
1856
1856
  (l = r[n]) && (i = l(e, t, i) || i);
1857
1857
  return i && f7(e, t, i), i;
@@ -1889,10 +1889,10 @@ r4.styles = g`
1889
1889
  }
1890
1890
  `;
1891
1891
  let v2 = r4;
1892
- ge([
1892
+ g3([
1893
1893
  s()
1894
1894
  ], v2.prototype, "percent");
1895
- ge([
1895
+ g3([
1896
1896
  s()
1897
1897
  ], v2.prototype, "height");
1898
1898
  customElements.get("anduin-progress") || customElements.define("anduin-progress", v2);
@@ -1990,17 +1990,17 @@ b7([
1990
1990
  s()
1991
1991
  ], A2.prototype, "height");
1992
1992
  customElements.get("anduin-loading-state") || customElements.define("anduin-loading-state", A2);
1993
- var H7 = Object.defineProperty, G5 = (r, e, t, o) => {
1993
+ var y7 = Object.defineProperty, G5 = (r, e, t, o) => {
1994
1994
  for (var i = void 0, n = r.length - 1, l; n >= 0; n--)
1995
1995
  (l = r[n]) && (i = l(e, t, i) || i);
1996
- return i && H7(e, t, i), i;
1996
+ return i && y7(e, t, i), i;
1997
1997
  };
1998
- const fe = "anduin-field:label-click", u1 = "anduin-field:label-click-coordinated", a4 = class a4 extends h {
1998
+ const f3 = "anduin-field:label-click", u1 = "anduin-field:label-click-coordinated", a4 = class a4 extends h {
1999
1999
  constructor() {
2000
2000
  super(...arguments), this.orientation = "vertical";
2001
2001
  }
2002
2002
  connectedCallback() {
2003
- super.connectedCallback(), this.addEventListener(fe, (e) => {
2003
+ super.connectedCallback(), this.addEventListener(f3, (e) => {
2004
2004
  const t = e;
2005
2005
  this.dispatchEvent(new CustomEvent(u1, {
2006
2006
  detail: t.detail,
@@ -2036,7 +2036,7 @@ const d4 = class d4 extends h {
2036
2036
  super.connectedCallback();
2037
2037
  }
2038
2038
  onLabelClick(e) {
2039
- this.htmlfor && (e.preventDefault(), this.dispatchEvent(new CustomEvent(fe, {
2039
+ this.htmlfor && (e.preventDefault(), this.dispatchEvent(new CustomEvent(f3, {
2040
2040
  detail: this.htmlfor,
2041
2041
  bubbles: !0,
2042
2042
  composed: !0
@@ -2102,10 +2102,10 @@ customElements.get("anduin-field-label") || customElements.define("anduin-field-
2102
2102
  customElements.get("anduin-field-description") || customElements.define("anduin-field-description", l5);
2103
2103
  customElements.get("anduin-field-error") || customElements.define("anduin-field-error", s5);
2104
2104
  customElements.get("anduin-field-group") || customElements.define("anduin-field-group", a5);
2105
- var y7 = Object.defineProperty, Z2 = (r, e, t, o) => {
2105
+ var H7 = Object.defineProperty, Z2 = (r, e, t, o) => {
2106
2106
  for (var i = void 0, n = r.length - 1, l; n >= 0; n--)
2107
2107
  (l = r[n]) && (i = l(e, t, i) || i);
2108
- return i && y7(e, t, i), i;
2108
+ return i && H7(e, t, i), i;
2109
2109
  };
2110
2110
  const _7 = "anduin-checkbox:change", h4 = class h4 extends h {
2111
2111
  constructor() {
@@ -2221,7 +2221,7 @@ var L7 = Object.defineProperty, K = (r, e, t, o) => {
2221
2221
  (l = r[n]) && (i = l(e, t, i) || i);
2222
2222
  return i && L7(e, t, i), i;
2223
2223
  };
2224
- const A3 = "anduin-input:change", V7 = "anduin-input:clear", I2 = class I2 extends h {
2224
+ const Ae = "anduin-input:change", V7 = "anduin-input:clear", I2 = class I2 extends h {
2225
2225
  constructor() {
2226
2226
  super(...arguments), this.value = "", this.size = "default", this.disabled = !1, this.readonly = !1, this.placeholder = "", this.inputid = "", this.status = "", this.startIcon = "", this.endIcon = "", this.clearable = !1;
2227
2227
  }
@@ -2267,7 +2267,7 @@ const A3 = "anduin-input:change", V7 = "anduin-input:clear", I2 = class I2 exten
2267
2267
  this._withInput((i) => i.setSelectionRange(e, t, o));
2268
2268
  }
2269
2269
  onInput() {
2270
- this.value = this.inputEl.value, this.dispatchEvent(new CustomEvent(A3, {
2270
+ this.value = this.inputEl.value, this.dispatchEvent(new CustomEvent(Ae, {
2271
2271
  detail: this.value,
2272
2272
  bubbles: !0,
2273
2273
  composed: !0
@@ -2275,7 +2275,7 @@ const A3 = "anduin-input:change", V7 = "anduin-input:clear", I2 = class I2 exten
2275
2275
  }
2276
2276
  onClear() {
2277
2277
  var e;
2278
- this.value = "", this.inputEl && (this.inputEl.value = ""), this.dispatchEvent(new CustomEvent(A3, { detail: "", bubbles: !0, composed: !0 })), this.dispatchEvent(new CustomEvent(V7, { bubbles: !0, composed: !0 })), (e = this.inputEl) == null || e.focus();
2278
+ this.value = "", this.inputEl && (this.inputEl.value = ""), this.dispatchEvent(new CustomEvent(Ae, { detail: "", bubbles: !0, composed: !0 })), this.dispatchEvent(new CustomEvent(V7, { bubbles: !0, composed: !0 })), (e = this.inputEl) == null || e.focus();
2279
2279
  }
2280
2280
  render() {
2281
2281
  const e = this.size === "small" ? "input--small" : this.size === "large" ? "input--large" : "input--default", t = this.status ? `input--${this.status}` : "", o = !!this.startIcon, i = !!this.endIcon || this.clearable && !!this.value, n = this.clearable && !!this.value && !this.disabled && !this.readonly, l = this.size === "small" ? "12" : this.size === "large" ? "20" : "16", d = this.size === "small" ? "10" : this.size === "large" ? "16" : "14";
@@ -2408,7 +2408,7 @@ K([
2408
2408
  R("input")
2409
2409
  ], B.prototype, "inputEl");
2410
2410
  customElements.get("anduin-input") || customElements.define("anduin-input", B);
2411
- var x7 = Object.defineProperty, H1 = (r, e, t, o) => {
2411
+ var x7 = Object.defineProperty, y1 = (r, e, t, o) => {
2412
2412
  for (var i = void 0, n = r.length - 1, l; n >= 0; n--)
2413
2413
  (l = r[n]) && (i = l(e, t, i) || i);
2414
2414
  return i && x7(e, t, i), i;
@@ -2491,28 +2491,28 @@ N2.shadowRootOptions = { ...h.shadowRootOptions, delegatesFocus: !0 }, N2.styles
2491
2491
  .textarea--loading { border-color: var(--color-gray-4); }
2492
2492
  `;
2493
2493
  let G = N2;
2494
- H1([
2494
+ y1([
2495
2495
  s()
2496
2496
  ], G.prototype, "value");
2497
- H1([
2497
+ y1([
2498
2498
  s({ type: Boolean })
2499
2499
  ], G.prototype, "disabled");
2500
- H1([
2500
+ y1([
2501
2501
  s({ type: Boolean })
2502
2502
  ], G.prototype, "readonly");
2503
- H1([
2503
+ y1([
2504
2504
  s()
2505
2505
  ], G.prototype, "placeholder");
2506
- H1([
2506
+ y1([
2507
2507
  s()
2508
2508
  ], G.prototype, "inputid");
2509
- H1([
2509
+ y1([
2510
2510
  s({ type: Number })
2511
2511
  ], G.prototype, "rows");
2512
- H1([
2512
+ y1([
2513
2513
  s()
2514
2514
  ], G.prototype, "status");
2515
- H1([
2515
+ y1([
2516
2516
  R("textarea")
2517
2517
  ], G.prototype, "textareaEl");
2518
2518
  customElements.get("anduin-textarea") || customElements.define("anduin-textarea", G);
@@ -2521,12 +2521,12 @@ var w7 = Object.defineProperty, N = (r, e, t, o) => {
2521
2521
  (l = r[n]) && (i = l(e, t, i) || i);
2522
2522
  return i && w7(e, t, i), i;
2523
2523
  };
2524
- const ve = "anduin-tab:trigger-click", G2 = "anduin-tab:value-changed", Z7 = "anduin-tab:change", u4 = class u4 extends h {
2524
+ const v3 = "anduin-tab:trigger-click", G2 = "anduin-tab:value-changed", Z7 = "anduin-tab:change", u4 = class u4 extends h {
2525
2525
  constructor() {
2526
2526
  super(...arguments), this.defaultValue = "", this.value = "", this.fill = !1;
2527
2527
  }
2528
2528
  connectedCallback() {
2529
- super.connectedCallback(), this.addEventListener(ve, (e) => {
2529
+ super.connectedCallback(), this.addEventListener(v3, (e) => {
2530
2530
  e.stopPropagation();
2531
2531
  const t = e;
2532
2532
  this.value = t.detail, this.broadcastValueChanged(t.detail), this.dispatchEvent(new CustomEvent(Z7, { detail: t.detail, bubbles: !0, composed: !0 }));
@@ -2645,7 +2645,7 @@ const f4 = class f4 extends h {
2645
2645
  });
2646
2646
  }
2647
2647
  onClick() {
2648
- this.dispatchEvent(new CustomEvent(ve, { detail: this.value, bubbles: !0, composed: !0 }));
2648
+ this.dispatchEvent(new CustomEvent(v3, { detail: this.value, bubbles: !0, composed: !0 }));
2649
2649
  }
2650
2650
  render() {
2651
2651
  return a`
@@ -2706,7 +2706,7 @@ N([
2706
2706
  s({ attribute: "badge-count" })
2707
2707
  ], n1.prototype, "badgeCount");
2708
2708
  N([
2709
- H()
2709
+ y()
2710
2710
  ], n1.prototype, "isActive");
2711
2711
  const v4 = class v4 extends h {
2712
2712
  constructor() {
@@ -2736,17 +2736,17 @@ v4.styles = g`
2736
2736
  :host(:not([active])) { display: none; }
2737
2737
  .tab-content { width: 100%; height: var(--_tab-fill-height, auto); overflow-x: hidden; overflow-y: auto; }
2738
2738
  `;
2739
- let H2 = v4;
2739
+ let y2 = v4;
2740
2740
  N([
2741
2741
  s()
2742
- ], H2.prototype, "value");
2742
+ ], y2.prototype, "value");
2743
2743
  N([
2744
- H()
2745
- ], H2.prototype, "isActive");
2744
+ y()
2745
+ ], y2.prototype, "isActive");
2746
2746
  customElements.get("anduin-tabs") || customElements.define("anduin-tabs", I1);
2747
2747
  customElements.get("anduin-tabs-list") || customElements.define("anduin-tabs-list", b2);
2748
2748
  customElements.get("anduin-tab-trigger") || customElements.define("anduin-tab-trigger", n1);
2749
- customElements.get("anduin-tab-content") || customElements.define("anduin-tab-content", H2);
2749
+ customElements.get("anduin-tab-content") || customElements.define("anduin-tab-content", y2);
2750
2750
  var k7 = Object.defineProperty, K5 = (r, e, t, o) => {
2751
2751
  for (var i = void 0, n = r.length - 1, l; n >= 0; n--)
2752
2752
  (l = r[n]) && (i = l(e, t, i) || i);
@@ -2905,7 +2905,7 @@ var z7 = Object.defineProperty, F = (r, e, t, o) => {
2905
2905
  (l = r[n]) && (i = l(e, t, i) || i);
2906
2906
  return i && z7(e, t, i), i;
2907
2907
  };
2908
- const S7 = "anduin-toggle-group:change", A7 = "anduin-toggle-group-item:change", D7 = "anduin-toggle-group-item:select", P7 = "anduin-toggle-group-item:deselect", c5 = "anduin-toggle-group-item:item-click", H4 = class H4 extends h {
2908
+ const S7 = "anduin-toggle-group:change", A7 = "anduin-toggle-group-item:change", D7 = "anduin-toggle-group-item:select", P7 = "anduin-toggle-group-item:deselect", c5 = "anduin-toggle-group-item:item-click", y4 = class y4 extends h {
2909
2909
  constructor() {
2910
2910
  super(...arguments), this.mode = "single", this.defaultValue = "", this.value = null, this.size = "medium", this.variant = "gray", this.gap = !1, this.internalValue = [], this.userInteracted = !1, this.onItemClick = (e) => {
2911
2911
  var c;
@@ -2958,7 +2958,7 @@ const S7 = "anduin-toggle-group:change", A7 = "anduin-toggle-group-item:change",
2958
2958
  `;
2959
2959
  }
2960
2960
  };
2961
- H4.styles = g`
2961
+ y4.styles = g`
2962
2962
  :host { display: inline-flex; font-family: var(--font-sans); }
2963
2963
  .toggle-group { display: inline-flex; align-items: center; }
2964
2964
  .toggle-group--small {
@@ -2992,7 +2992,7 @@ H4.styles = g`
2992
2992
  /* Gapped pills stand alone, so each keeps all four borders. */
2993
2993
  .toggle-group--gap ::slotted(anduin-toggle-group-item) { --toggle-group-item-radius: 4px; --toggle-group-item-border-left: 1px; }
2994
2994
  `;
2995
- let Y = H4;
2995
+ let Y = y4;
2996
2996
  F([
2997
2997
  s()
2998
2998
  ], Y.prototype, "mode");
@@ -3012,9 +3012,9 @@ F([
3012
3012
  s({ type: Boolean })
3013
3013
  ], Y.prototype, "gap");
3014
3014
  F([
3015
- H()
3015
+ y()
3016
3016
  ], Y.prototype, "internalValue");
3017
- const y4 = class y4 extends h {
3017
+ const H4 = class H4 extends h {
3018
3018
  constructor() {
3019
3019
  super(...arguments), this.value = "", this.startIcon = "", this.disabled = !1, this.selected = !1, this.groupSize = "medium", this.groupVariant = "gray", this.groupMode = "single";
3020
3020
  }
@@ -3064,7 +3064,7 @@ const y4 = class y4 extends h {
3064
3064
  `;
3065
3065
  }
3066
3066
  };
3067
- y4.styles = g`
3067
+ H4.styles = g`
3068
3068
  :host { display: inline-block; font-family: var(--font-sans); }
3069
3069
  .toggle-item {
3070
3070
  position: relative; z-index: 0; box-sizing: border-box;
@@ -3100,7 +3100,7 @@ y4.styles = g`
3100
3100
  .toggle-item--selected .toggle-item__icon { color: var(--color-gray-7); }
3101
3101
  .toggle-item--variant-primary.toggle-item--selected .toggle-item__icon { color: var(--color-primary-4); }
3102
3102
  `;
3103
- let q = y4;
3103
+ let q = H4;
3104
3104
  F([
3105
3105
  s({ reflect: !0 })
3106
3106
  ], q.prototype, "value");
@@ -3127,12 +3127,12 @@ function J2(r) {
3127
3127
  }
3128
3128
  customElements.get("anduin-toggle-group") || customElements.define("anduin-toggle-group", Y);
3129
3129
  customElements.get("anduin-toggle-group-item") || customElements.define("anduin-toggle-group-item", q);
3130
- var B7 = Object.defineProperty, me = (r, e, t, o) => {
3130
+ var B7 = Object.defineProperty, m3 = (r, e, t, o) => {
3131
3131
  for (var i = void 0, n = r.length - 1, l; n >= 0; n--)
3132
3132
  (l = r[n]) && (i = l(e, t, i) || i);
3133
3133
  return i && B7(e, t, i), i;
3134
3134
  };
3135
- const be = "anduin-tooltip:show", W5 = "anduin-tooltip:hide", He = "anduin-tooltip:trigger-mounted", ye = "anduin-tooltip:content-popup-mounted", _e = "anduin-tooltip:content-popup-unmounted", Le = "anduin-tooltip:visibility-changed", F7 = [
3135
+ const b3 = "anduin-tooltip:show", W5 = "anduin-tooltip:hide", y3 = "anduin-tooltip:trigger-mounted", H3 = "anduin-tooltip:content-popup-mounted", _3 = "anduin-tooltip:content-popup-unmounted", L3 = "anduin-tooltip:visibility-changed", F7 = [
3136
3136
  "top-start",
3137
3137
  "top-center",
3138
3138
  "top-end",
@@ -3146,7 +3146,7 @@ const be = "anduin-tooltip:show", W5 = "anduin-tooltip:hide", He = "anduin-toolt
3146
3146
  "left-center",
3147
3147
  "left-end"
3148
3148
  ];
3149
- function D3(r, e, t, o, i) {
3149
+ function De(r, e, t, o, i) {
3150
3150
  switch (o) {
3151
3151
  case "top-start":
3152
3152
  return { left: r.left, top: r.top - t - i };
@@ -3176,20 +3176,20 @@ function D3(r, e, t, o, i) {
3176
3176
  return { left: 0, top: 0 };
3177
3177
  }
3178
3178
  }
3179
- function P3(r, e) {
3179
+ function Pe(r, e) {
3180
3180
  return e.right >= r.left && e.left <= r.right && e.top <= r.bottom && e.bottom >= r.top;
3181
3181
  }
3182
- function B3(r, e) {
3182
+ function Be(r, e) {
3183
3183
  const t = Math.max(r.left, e.left), o = Math.max(r.top, e.top), i = Math.min(r.right, e.right), n = Math.min(r.bottom, e.bottom);
3184
3184
  return i < t || n < o ? 0 : (i - t) * (n - o);
3185
3185
  }
3186
3186
  function O7(r, e, t, o = 8) {
3187
3187
  const i = window.innerWidth, n = window.innerHeight, l = { left: 0, top: 0, right: i, bottom: n }, d = e.width, c = e.height;
3188
- if (!P3(
3188
+ if (!Pe(
3189
3189
  { left: r.left, top: r.top, right: r.right, bottom: r.bottom },
3190
3190
  l
3191
3191
  )) return null;
3192
- const C = D3(r, d, c, t, o), p = F7.map((m) => ({ p: m, off: D3(r, d, c, m, o) })).filter(({ off: m }) => P3({ left: m.left, top: m.top, right: m.left + d, bottom: m.top + c }, l));
3192
+ const C = De(r, d, c, t, o), p = F7.map((m) => ({ p: m, off: De(r, d, c, m, o) })).filter(({ off: m }) => Pe({ left: m.left, top: m.top, right: m.left + d, bottom: m.top + c }, l));
3193
3193
  if (p.length === 0)
3194
3194
  return {
3195
3195
  placement: t,
@@ -3197,10 +3197,10 @@ function O7(r, e, t, o = 8) {
3197
3197
  top: Math.round(Math.min(Math.max(C.top, 0), n - c))
3198
3198
  };
3199
3199
  p.sort((m, V) => {
3200
- const _ = { left: m.off.left, top: m.off.top, right: m.off.left + d, bottom: m.off.top + c }, v = { left: V.off.left, top: V.off.top, right: V.off.left + d, bottom: V.off.top + c }, x = B3(_, l), M = B3(v, l);
3200
+ const _ = { left: m.off.left, top: m.off.top, right: m.off.left + d, bottom: m.off.top + c }, v = { left: V.off.left, top: V.off.top, right: V.off.left + d, bottom: V.off.top + c }, x = Be(_, l), M = Be(v, l);
3201
3201
  if (M !== x) return M - x;
3202
- const S = Math.abs(m.off.left - C.left) + Math.abs(m.off.top - C.top), U = Math.abs(V.off.left - C.left) + Math.abs(V.off.top - C.top);
3203
- return S - U;
3202
+ const A = Math.abs(m.off.left - C.left) + Math.abs(m.off.top - C.top), U = Math.abs(V.off.left - C.left) + Math.abs(V.off.top - C.top);
3203
+ return A - U;
3204
3204
  });
3205
3205
  const { p: f, off: b } = p[0];
3206
3206
  return {
@@ -3225,13 +3225,13 @@ const _4 = class _4 extends h {
3225
3225
  super(...arguments), this.disabled = !1, this.placement = "top-center", this.triggerElement = null, this.contentPopupElement = null, this.containingBlockLeft = 0, this.containingBlockTop = 0, this.rafId = 0, this.prevTriggerTop = NaN, this.prevTriggerLeft = NaN, this.isVisible = !1;
3226
3226
  }
3227
3227
  connectedCallback() {
3228
- super.connectedCallback(), this.addEventListener(He, (e) => {
3228
+ super.connectedCallback(), this.addEventListener(y3, (e) => {
3229
3229
  e.stopPropagation(), this.triggerElement = e.detail, this.maybeStartPositionLoop();
3230
- }), this.addEventListener(ye, (e) => {
3230
+ }), this.addEventListener(H3, (e) => {
3231
3231
  e.stopPropagation(), this.contentPopupElement = e.detail, this.computeContainingBlockOffset(this.contentPopupElement), this.maybeStartPositionLoop();
3232
- }), this.addEventListener(_e, (e) => {
3232
+ }), this.addEventListener(_3, (e) => {
3233
3233
  e.stopPropagation(), this.stopPositionLoop(), this.contentPopupElement = null;
3234
- }), this.addEventListener(be, (e) => {
3234
+ }), this.addEventListener(b3, (e) => {
3235
3235
  e.stopPropagation(), !this.disabled && (this.isVisible = !0, this.broadcastVisibilityChanged(`show:${this.placement}`));
3236
3236
  }), this.addEventListener(W5, (e) => {
3237
3237
  e.stopPropagation(), this.isVisible = !1, this.stopPositionLoop(), this.broadcastVisibilityChanged("hide");
@@ -3276,7 +3276,7 @@ const _4 = class _4 extends h {
3276
3276
  }
3277
3277
  }
3278
3278
  broadcastVisibilityChanged(e) {
3279
- this.dispatchEvent(new CustomEvent(Le, { detail: e, bubbles: !1, composed: !1 }));
3279
+ this.dispatchEvent(new CustomEvent(L3, { detail: e, bubbles: !1, composed: !1 }));
3280
3280
  }
3281
3281
  render() {
3282
3282
  return a`<div class="tooltip-root" part="tooltip"><slot></slot></div>`;
@@ -3293,19 +3293,19 @@ _4.styles = g`
3293
3293
  :host { display: inline-flex; position: relative; max-width: 100%; font-family: var(--font-sans); }
3294
3294
  .tooltip-root { display: inline-flex; position: relative; max-width: 100%; }
3295
3295
  `;
3296
- let y2 = _4;
3297
- me([
3296
+ let H2 = _4;
3297
+ m3([
3298
3298
  s({ type: Boolean })
3299
- ], y2.prototype, "disabled");
3300
- me([
3299
+ ], H2.prototype, "disabled");
3300
+ m3([
3301
3301
  s()
3302
- ], y2.prototype, "placement");
3302
+ ], H2.prototype, "placement");
3303
3303
  const L4 = class L4 extends h {
3304
3304
  firstUpdated() {
3305
3305
  requestAnimationFrame(() => {
3306
- this.dispatchEvent(new CustomEvent(He, { detail: this, bubbles: !0, composed: !0 }));
3306
+ this.dispatchEvent(new CustomEvent(y3, { detail: this, bubbles: !0, composed: !0 }));
3307
3307
  }), this.addEventListener("pointerenter", () => {
3308
- this.dispatchEvent(new CustomEvent(be, { bubbles: !0, composed: !0 }));
3308
+ this.dispatchEvent(new CustomEvent(b3, { bubbles: !0, composed: !0 }));
3309
3309
  }), this.addEventListener("click", () => {
3310
3310
  this.dispatchEvent(new CustomEvent(W5, { bubbles: !0, composed: !0 }));
3311
3311
  });
@@ -3335,7 +3335,7 @@ const V4 = class V4 extends h {
3335
3335
  connectedCallback() {
3336
3336
  super.connectedCallback();
3337
3337
  const e = this.closest("anduin-tooltip");
3338
- e && e.addEventListener(Le, (t) => {
3338
+ e && e.addEventListener(L3, (t) => {
3339
3339
  const o = t.detail;
3340
3340
  o.startsWith("show:") ? this.showPopup(o.slice(5)) : this.hidePopup();
3341
3341
  });
@@ -3374,10 +3374,10 @@ const V4 = class V4 extends h {
3374
3374
  const c = d.querySelector("anduin-tooltip-trigger");
3375
3375
  c && this.setupGraceAreaListeners(c, o);
3376
3376
  }
3377
- this.dispatchEvent(new CustomEvent(ye, { detail: o, bubbles: !0, composed: !0 }));
3377
+ this.dispatchEvent(new CustomEvent(H3, { detail: o, bubbles: !0, composed: !0 }));
3378
3378
  }
3379
3379
  hidePopup() {
3380
- this.popupEl && (this.popupEl.remove(), this.popupEl = null, this.dispatchEvent(new CustomEvent(_e, { bubbles: !0, composed: !0 }))), this.cleanupGraceAreaListeners();
3380
+ this.popupEl && (this.popupEl.remove(), this.popupEl = null, this.dispatchEvent(new CustomEvent(_3, { bubbles: !0, composed: !0 }))), this.cleanupGraceAreaListeners();
3381
3381
  }
3382
3382
  render() {
3383
3383
  return a`<div class="tooltip-content-wrapper"></div>`;
@@ -3408,7 +3408,7 @@ V4.styles = g`
3408
3408
  .tooltip-arrow--right { left: -4px; top: 50%; transform: translateY(-50%); border-right-color: var(--tooltip-bg); border-left: none; }
3409
3409
  `;
3410
3410
  let h5 = V4;
3411
- customElements.get("anduin-tooltip") || customElements.define("anduin-tooltip", y2);
3411
+ customElements.get("anduin-tooltip") || customElements.define("anduin-tooltip", H2);
3412
3412
  customElements.get("anduin-tooltip-trigger") || customElements.define("anduin-tooltip-trigger", p5);
3413
3413
  customElements.get("anduin-tooltip-content") || customElements.define("anduin-tooltip-content", h5);
3414
3414
  var I7 = Object.defineProperty, N7 = (r, e, t, o) => {
@@ -3616,8 +3616,8 @@ const g5 = "anduin-popover:close", f5 = "anduin-popover:open-change", w4 = class
3616
3616
  t.style.transform = i;
3617
3617
  const l = t.getBoundingClientRect(), d = 4, c = window.innerWidth, C = window.innerHeight, p = 8;
3618
3618
  let f = 0, b = 0, m = "bottom";
3619
- const V = !this.placement.startsWith("top"), _ = C - o.bottom - d, v = o.top - d, x = _ >= l.height, M = v >= l.height, S = V ? x || _ >= v : !M && x;
3620
- m = S ? "bottom" : "top", b = S ? o.bottom + d : o.top - l.height - d;
3619
+ const V = !this.placement.startsWith("top"), _ = C - o.bottom - d, v = o.top - d, x = _ >= l.height, M = v >= l.height, A = V ? x || _ >= v : !M && x;
3620
+ m = A ? "bottom" : "top", b = A ? o.bottom + d : o.top - l.height - d;
3621
3621
  const U = this.placement.endsWith("end") ? "end" : this.placement.endsWith("start") ? "start" : "center";
3622
3622
  U === "start" ? f = o.left : U === "end" ? f = o.right - l.width : f = o.left + o.width / 2 - l.width / 2, f = Math.max(p, Math.min(f, c - l.width - p)), b = Math.max(p, Math.min(b, C - l.height - p)), t.style.transform = `translate(${Math.round(f - n.left)}px, ${Math.round(b - n.top)}px)`, t.dataset.side = m;
3623
3623
  }
@@ -3698,10 +3698,10 @@ R1([
3698
3698
  s({ type: Boolean, attribute: "full-width", reflect: !0 })
3699
3699
  ], X.prototype, "fullWidth");
3700
3700
  R1([
3701
- H()
3701
+ y()
3702
3702
  ], X.prototype, "_visible");
3703
3703
  R1([
3704
- H()
3704
+ y()
3705
3705
  ], X.prototype, "_closing");
3706
3706
  R1([
3707
3707
  R(".popover__trigger")
@@ -3917,16 +3917,16 @@ var K7 = Object.defineProperty, E1 = (r, e, t, o) => {
3917
3917
  (l = r[n]) && (i = l(e, t, i) || i);
3918
3918
  return i && K7(e, t, i), i;
3919
3919
  };
3920
- const o2 = "anduin-close", Q2 = "anduin-after-close", e5 = 300, t5 = 200, F3 = 250;
3921
- let s2 = 0, Ve = "";
3920
+ const o2 = "anduin-close", Q2 = "anduin-after-close", e5 = 300, t5 = 200, Fe = 250;
3921
+ let s2 = 0, V3 = "";
3922
3922
  function W7() {
3923
- typeof document > "u" || (s2 === 0 && (Ve = document.body.style.overflow, document.body.style.overflow = "hidden"), s2++);
3923
+ typeof document > "u" || (s2 === 0 && (V3 = document.body.style.overflow, document.body.style.overflow = "hidden"), s2++);
3924
3924
  }
3925
- function O3() {
3926
- typeof document > "u" || s2 !== 0 && (s2--, s2 === 0 && (document.body.style.overflow = Ve));
3925
+ function Oe() {
3926
+ typeof document > "u" || s2 !== 0 && (s2--, s2 === 0 && (document.body.style.overflow = V3));
3927
3927
  }
3928
3928
  var h1;
3929
- const y1 = (h1 = class extends h {
3929
+ const H1 = (h1 = class extends h {
3930
3930
  constructor() {
3931
3931
  super(...arguments), this.open = !1, this.heading = "", this.hideHeader = !1, this.hideFooter = !1, this.maxWidth = "480", this.fullscreen = !1, this._leaving = !1, this._holdsScrollLock = !1, this.onAnduinClose = (e) => {
3932
3932
  e.stopPropagation();
@@ -3939,14 +3939,14 @@ const y1 = (h1 = class extends h {
3939
3939
  }
3940
3940
  e.has("open") && (this.open ? (this._leaving = !1, this.classList.add("is-shown"), this._holdsScrollLock || (this._holdsScrollLock = !0, W7())) : this.classList.contains("is-shown") && (this._leaving = !0, setTimeout(
3941
3941
  () => {
3942
- this._leaving = !1, this.classList.remove("is-shown"), this._holdsScrollLock && (this._holdsScrollLock = !1, O3()), this.dispatchEvent(
3942
+ this._leaving = !1, this.classList.remove("is-shown"), this._holdsScrollLock && (this._holdsScrollLock = !1, Oe()), this.dispatchEvent(
3943
3943
  new CustomEvent(Q2, {
3944
3944
  bubbles: !0,
3945
3945
  composed: !0
3946
3946
  })
3947
3947
  );
3948
3948
  },
3949
- Math.max(t5, F3)
3949
+ Math.max(t5, Fe)
3950
3950
  )));
3951
3951
  }
3952
3952
  dispatch(e) {
@@ -3964,7 +3964,7 @@ const y1 = (h1 = class extends h {
3964
3964
  super.connectedCallback(), this.addEventListener(o2, this.onAnduinClose), this.addEventListener(Q2, this.onAnduinClose);
3965
3965
  }
3966
3966
  disconnectedCallback() {
3967
- super.disconnectedCallback(), this.removeEventListener(o2, this.onAnduinClose), this.removeEventListener(Q2, this.onAnduinClose), this._holdsScrollLock && (this._holdsScrollLock = !1, O3());
3967
+ super.disconnectedCallback(), this.removeEventListener(o2, this.onAnduinClose), this.removeEventListener(Q2, this.onAnduinClose), this._holdsScrollLock && (this._holdsScrollLock = !1, Oe());
3968
3968
  }
3969
3969
  render() {
3970
3970
  const e = this._leaving, t = this.fullscreen;
@@ -4082,7 +4082,7 @@ const y1 = (h1 = class extends h {
4082
4082
  forwards;
4083
4083
  }
4084
4084
  .overlay.is-leaving {
4085
- animation: overlayOut ${F3}ms
4085
+ animation: overlayOut ${Fe}ms
4086
4086
  cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
4087
4087
  }
4088
4088
  .modal-wrapper {
@@ -4201,26 +4201,26 @@ const y1 = (h1 = class extends h {
4201
4201
  ]), h1);
4202
4202
  E1([
4203
4203
  s({ type: Boolean, reflect: !0 })
4204
- ], y1.prototype, "open");
4204
+ ], H1.prototype, "open");
4205
4205
  E1([
4206
4206
  s()
4207
- ], y1.prototype, "heading");
4207
+ ], H1.prototype, "heading");
4208
4208
  E1([
4209
4209
  s({ type: Boolean, attribute: "hide-header" })
4210
- ], y1.prototype, "hideHeader");
4210
+ ], H1.prototype, "hideHeader");
4211
4211
  E1([
4212
4212
  s({ type: Boolean, attribute: "hide-footer" })
4213
- ], y1.prototype, "hideFooter");
4213
+ ], H1.prototype, "hideFooter");
4214
4214
  E1([
4215
4215
  s({ attribute: "max-width" })
4216
- ], y1.prototype, "maxWidth");
4216
+ ], H1.prototype, "maxWidth");
4217
4217
  E1([
4218
4218
  s({ type: Boolean })
4219
- ], y1.prototype, "fullscreen");
4219
+ ], H1.prototype, "fullscreen");
4220
4220
  E1([
4221
- H()
4222
- ], y1.prototype, "_leaving");
4223
- let Y7 = y1;
4221
+ y()
4222
+ ], H1.prototype, "_leaving");
4223
+ let Y7 = H1;
4224
4224
  customElements.get("anduin-modal") || customElements.define("anduin-modal", Y7);
4225
4225
  class q7 extends HTMLElement {
4226
4226
  constructor() {
@@ -4442,7 +4442,7 @@ var Q7 = Object.defineProperty, z1 = (r, e, t, o) => {
4442
4442
  (l = r[n]) && (i = l(e, t, i) || i);
4443
4443
  return i && Q7(e, t, i), i;
4444
4444
  };
4445
- const T3 = [
4445
+ const Te = [
4446
4446
  { bg: "#6172F3", text: "#ffffff" },
4447
4447
  { bg: "#B692F6", text: "#ffffff" },
4448
4448
  { bg: "#F670C7", text: "#ffffff" },
@@ -4455,7 +4455,7 @@ const T3 = [
4455
4455
  function e0(r) {
4456
4456
  let e = 0;
4457
4457
  for (let t = 0; t < r.length; t++) e = e * 31 + r.charCodeAt(t) >>> 0;
4458
- return T3[e % T3.length];
4458
+ return Te[e % Te.length];
4459
4459
  }
4460
4460
  function t0(r, e = 2) {
4461
4461
  var i;
@@ -4540,7 +4540,7 @@ z1([
4540
4540
  s()
4541
4541
  ], J.prototype, "shape");
4542
4542
  z1([
4543
- H()
4543
+ y()
4544
4544
  ], J.prototype, "_imgError");
4545
4545
  customElements.get("anduin-avatar") || customElements.define("anduin-avatar", J);
4546
4546
  /**
@@ -4570,7 +4570,7 @@ class n0 {
4570
4570
  * Copyright 2017 Google LLC
4571
4571
  * SPDX-License-Identifier: BSD-3-Clause
4572
4572
  */
4573
- class H5 extends n0 {
4573
+ class y5 extends n0 {
4574
4574
  constructor(e) {
4575
4575
  if (super(e), this.it = u, e.type !== i0.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
4576
4576
  }
@@ -4584,16 +4584,16 @@ class H5 extends n0 {
4584
4584
  return t.raw = t, this._t = { _$litType$: this.constructor.resultType, strings: t, values: [] };
4585
4585
  }
4586
4586
  }
4587
- H5.directiveName = "unsafeHTML", H5.resultType = 1;
4587
+ y5.directiveName = "unsafeHTML", y5.resultType = 1;
4588
4588
  /**
4589
4589
  * @license
4590
4590
  * Copyright 2017 Google LLC
4591
4591
  * SPDX-License-Identifier: BSD-3-Clause
4592
4592
  */
4593
- class y5 extends H5 {
4593
+ class H5 extends y5 {
4594
4594
  }
4595
- y5.directiveName = "unsafeSVG", y5.resultType = 2;
4596
- const r0 = o0(y5), l0 = {
4595
+ H5.directiveName = "unsafeSVG", H5.resultType = 2;
4596
+ const r0 = o0(H5), l0 = {
4597
4597
  archive: {
4598
4598
  16: { viewBox: "0 0 16 16", paths: `<path d="M2 1.5C2 0.671573 2.67157 0 3.5 0H9.17157C9.70201 0 10.2107 0.210714 10.5858 0.585786L13.4142 3.41421C13.7893 3.78929 14 4.29799 14 4.82843V14.5C14 15.3284 13.3284 16 12.5 16H3.5C2.67157 16 2 15.3284 2 14.5V1.5Z" fill="white"/>
4599
4599
  <path fill-rule="evenodd" clip-rule="evenodd" d="M13 5.5C13 5.22386 12.7761 5 12.5 5H9.5C9.22386 5 9 4.77614 9 4.5V1.5C9 1.22386 8.77614 1 8.5 1H6H3.5C3.22386 1 3 1.22386 3 1.5V14.5C3 14.7761 3.22386 15 3.5 15H12.5C12.7761 15 13 14.7761 13 14.5V8V5.5ZM14 8V14.5C14 15.3284 13.3284 16 12.5 16H3.5C2.67157 16 2 15.3284 2 14.5V1.5C2 0.671573 2.67157 0 3.5 0H6H9.17157C9.70201 0 10.2107 0.210714 10.5858 0.585786L13.4142 3.41421C13.7893 3.78929 14 4.29799 14 4.82843V8Z" fill="#CCD2DB"/>
@@ -4846,7 +4846,7 @@ function a0(r, e) {
4846
4846
  if (t[o]) return t[o];
4847
4847
  return null;
4848
4848
  }
4849
- var d0 = Object.defineProperty, xe = (r, e, t, o) => {
4849
+ var d0 = Object.defineProperty, x3 = (r, e, t, o) => {
4850
4850
  for (var i = void 0, n = r.length - 1, l; n >= 0; n--)
4851
4851
  (l = r[n]) && (i = l(e, t, i) || i);
4852
4852
  return i && d0(e, t, i), i;
@@ -4877,10 +4877,10 @@ S4.styles = g`
4877
4877
  svg { display: block; }
4878
4878
  `;
4879
4879
  let _2 = S4;
4880
- xe([
4880
+ x3([
4881
4881
  s()
4882
4882
  ], _2.prototype, "type");
4883
- xe([
4883
+ x3([
4884
4884
  s({ type: Number })
4885
4885
  ], _2.prototype, "size");
4886
4886
  customElements.get("anduin-file-icon") || customElements.define("anduin-file-icon", _2);
@@ -4889,7 +4889,7 @@ var c0 = Object.defineProperty, S1 = (r, e, t, o) => {
4889
4889
  (l = r[n]) && (i = l(e, t, i) || i);
4890
4890
  return i && c0(e, t, i), i;
4891
4891
  };
4892
- const I3 = {
4892
+ const Ie = {
4893
4893
  gray: "info",
4894
4894
  primary: "infoCircleLine",
4895
4895
  success: "checkCircle",
@@ -4915,7 +4915,7 @@ const I3 = {
4915
4915
  this.dismiss();
4916
4916
  }
4917
4917
  render() {
4918
- const e = I3[this.variant] ?? I3.gray;
4918
+ const e = Ie[this.variant] ?? Ie.gray;
4919
4919
  return a`
4920
4920
  <div
4921
4921
  class="toast toast--${this.variant} ${this._dismissing ? "toast--dismissing" : ""}"
@@ -5080,7 +5080,7 @@ S1([
5080
5080
  s()
5081
5081
  ], f1.prototype, "description");
5082
5082
  S1([
5083
- H()
5083
+ y()
5084
5084
  ], f1.prototype, "_dismissing");
5085
5085
  S1([
5086
5086
  R(".toast")
@@ -5182,7 +5182,7 @@ S1([
5182
5182
  s()
5183
5183
  ], L2.prototype, "position");
5184
5184
  S1([
5185
- H()
5185
+ y()
5186
5186
  ], L2.prototype, "_toasts");
5187
5187
  customElements.get("anduin-toaster") || customElements.define("anduin-toaster", L2);
5188
5188
  const lt = {
@@ -5210,7 +5210,7 @@ function p0(r = "bottom-left") {
5210
5210
  const e = document.createElement("anduin-toaster");
5211
5211
  return e.position = r, document.body.appendChild(e), i5.set(r, e), e;
5212
5212
  }
5213
- var h0 = Object.defineProperty, Me = (r, e, t, o) => {
5213
+ var h0 = Object.defineProperty, M3 = (r, e, t, o) => {
5214
5214
  for (var i = void 0, n = r.length - 1, l; n >= 0; n--)
5215
5215
  (l = r[n]) && (i = l(e, t, i) || i);
5216
5216
  return i && h0(e, t, i), i;
@@ -5309,21 +5309,21 @@ P4.styles = g`
5309
5309
  }
5310
5310
  `;
5311
5311
  let V2 = P4;
5312
- Me([
5312
+ M3([
5313
5313
  s({ type: Boolean })
5314
5314
  ], V2.prototype, "checked");
5315
- Me([
5315
+ M3([
5316
5316
  s({ type: Boolean })
5317
5317
  ], V2.prototype, "disabled");
5318
5318
  customElements.get("anduin-switcher") || customElements.define("anduin-switcher", V2);
5319
- var g0 = Object.defineProperty, D = (r, e, t, o) => {
5319
+ var g0 = Object.defineProperty, S = (r, e, t, o) => {
5320
5320
  for (var i = void 0, n = r.length - 1, l; n >= 0; n--)
5321
5321
  (l = r[n]) && (i = l(e, t, i) || i);
5322
5322
  return i && g0(e, t, i), i;
5323
5323
  };
5324
- const N3 = "anduin-dropdown:change", B4 = class B4 extends h {
5324
+ const Ne = "anduin-dropdown:change", B4 = class B4 extends h {
5325
5325
  constructor() {
5326
- super(...arguments), this.value = "", this.placeholder = "Select...", this.options = [], this.icon = "", this.searchable = !0, this.disabled = !1, this.placement = "bottom-start", this.appearance = "filled", this.variant = "gray0", this.size = "default", this.fullWidth = !1, this._open = !1, this._query = "", this._onOutsideClick = (e) => {
5326
+ super(...arguments), this.value = "", this.placeholder = "Select...", this.options = [], this.icon = "", this.searchable = !0, this.disabled = !1, this.placement = "bottom-start", this.appearance = "filled", this.variant = "gray0", this.size = "default", this.fullWidth = !1, this.clearable = !0, this._open = !1, this._query = "", this._onOutsideClick = (e) => {
5327
5327
  var t;
5328
5328
  !this.contains(e.target) && !((t = this.shadowRoot) != null && t.contains(e.target)) && (this._open = !1, this._query = "");
5329
5329
  }, this._onScrollOrResize = () => {
@@ -5353,14 +5353,14 @@ const N3 = "anduin-dropdown:change", B4 = class B4 extends h {
5353
5353
  e.key === "Escape" && (this._open = !1, this._query = "", (t = this._triggerEl) == null || t.focus());
5354
5354
  }
5355
5355
  _onClear(e) {
5356
- e.stopPropagation(), this.value = "", this.dispatchEvent(new CustomEvent(N3, {
5356
+ e.stopPropagation(), this.clearable && (this.value = "", this.dispatchEvent(new CustomEvent(Ne, {
5357
5357
  detail: "",
5358
5358
  bubbles: !0,
5359
5359
  composed: !0
5360
- }));
5360
+ })));
5361
5361
  }
5362
5362
  _selectOption(e) {
5363
- this.value = e.value, this._open = !1, this._query = "", this.dispatchEvent(new CustomEvent(N3, {
5363
+ this.value = e.value, this._open = !1, this._query = "", this.dispatchEvent(new CustomEvent(Ne, {
5364
5364
  detail: e.value,
5365
5365
  bubbles: !0,
5366
5366
  composed: !0
@@ -5387,7 +5387,7 @@ const N3 = "anduin-dropdown:change", B4 = class B4 extends h {
5387
5387
  return this.options.filter((t) => t.label.toLowerCase().includes(e));
5388
5388
  }
5389
5389
  render() {
5390
- const e = this.options.find((n) => n.value === this.value), t = (e == null ? void 0 : e.label) ?? "", o = e ? e.icon ?? "" : this.icon, i = this._filteredOptions;
5390
+ const e = this.options.find((l) => l.value === this.value), t = (e == null ? void 0 : e.label) ?? "", o = e ? e.icon ?? "" : this.icon, i = this._filteredOptions, n = this.clearable && !!this.value && !this.disabled;
5391
5391
  return a`
5392
5392
  <button
5393
5393
  class="trigger trigger--${this.appearance} trigger--${this.variant}${this.size === "small" ? " trigger--small" : ""}${this.value ? " has-value" : ""}"
@@ -5400,11 +5400,11 @@ const N3 = "anduin-dropdown:change", B4 = class B4 extends h {
5400
5400
  >
5401
5401
  ${o && t ? a`<anduin-icon name="${o}" size="16"></anduin-icon>` : u}
5402
5402
  <span class="trigger__label${t ? "" : " trigger__label--placeholder"}">${t || this.placeholder}</span>
5403
- <span class="trigger__caret">
5403
+ <span class="trigger__caret${n ? " trigger__caret--clearable" : ""}">
5404
5404
  <span class="trigger__chevron">
5405
5405
  <anduin-icon name="caretDown" size="16"></anduin-icon>
5406
5406
  </span>
5407
- ${this.value && !this.disabled ? a`
5407
+ ${n ? a`
5408
5408
  <span class="trigger__clear" @click=${this._onClear}>
5409
5409
  <anduin-icon name="crossSmall" size="16"></anduin-icon>
5410
5410
  </span>
@@ -5419,25 +5419,25 @@ const N3 = "anduin-dropdown:change", B4 = class B4 extends h {
5419
5419
  <anduin-input
5420
5420
  placeholder="Search ..."
5421
5421
  .value=${this._query}
5422
- @anduin-input:change=${(n) => {
5423
- this._query = n.detail;
5422
+ @anduin-input:change=${(l) => {
5423
+ this._query = l.detail;
5424
5424
  }}
5425
5425
  ></anduin-input>
5426
5426
  </div>
5427
5427
  ` : u}
5428
5428
  <div class="options">
5429
- ${i.length ? i.map((n) => a`
5429
+ ${i.length ? i.map((l) => a`
5430
5430
  <div
5431
5431
  class="option"
5432
5432
  role="option"
5433
- aria-selected=${n.value === this.value}
5434
- @click=${() => this._selectOption(n)}
5433
+ aria-selected=${l.value === this.value}
5434
+ @click=${() => this._selectOption(l)}
5435
5435
  >
5436
5436
  <span class="option__check">
5437
- ${n.value === this.value ? a`<anduin-icon name="checkSmall" size="16"></anduin-icon>` : u}
5437
+ ${l.value === this.value ? a`<anduin-icon name="checkSmall" size="16"></anduin-icon>` : u}
5438
5438
  </span>
5439
- ${n.icon ? a`<anduin-icon name="${n.icon}" size="16"></anduin-icon>` : u}
5440
- <span class="option__label">${n.label}</span>
5439
+ ${l.icon ? a`<anduin-icon name="${l.icon}" size="16"></anduin-icon>` : u}
5440
+ <span class="option__label">${l.label}</span>
5441
5441
  </div>
5442
5442
  `) : a`<div class="empty">No results</div>`}
5443
5443
  </div>
@@ -5559,7 +5559,13 @@ B4.styles = g`
5559
5559
  }
5560
5560
  .trigger__clear:hover { color: var(--color-gray-9, #101828); background-color: var(--color-gray-3); }
5561
5561
  .trigger__clear:active { background-color: var(--color-gray-4); }
5562
- .trigger__caret:hover .trigger__chevron { opacity: 0; }
5562
+ /* Scoped to --clearable so the chevron only fades when there is a × to
5563
+ reveal: unscoped, it fades out to show a × that is not there and the caret
5564
+ is simply gone while hovered. --clearable is set under exactly the
5565
+ condition the × renders (clearable, a value, not disabled) — not on
5566
+ the clearable flag alone, which left a filter resting on '' or a disabled
5567
+ dropdown with no caret on hover. */
5568
+ .trigger__caret--clearable:hover .trigger__chevron { opacity: 0; }
5563
5569
  .trigger__caret:hover .trigger__clear { opacity: 1; }
5564
5570
 
5565
5571
  /* ── Panel ─────────────────────────────────────────────────── */
@@ -5627,52 +5633,55 @@ B4.styles = g`
5627
5633
  }
5628
5634
  `;
5629
5635
  let Z = B4;
5630
- D([
5636
+ S([
5631
5637
  s()
5632
5638
  ], Z.prototype, "value");
5633
- D([
5639
+ S([
5634
5640
  s()
5635
5641
  ], Z.prototype, "placeholder");
5636
- D([
5642
+ S([
5637
5643
  s({ attribute: !1 })
5638
5644
  ], Z.prototype, "options");
5639
- D([
5645
+ S([
5640
5646
  s()
5641
5647
  ], Z.prototype, "icon");
5642
- D([
5648
+ S([
5643
5649
  s({ type: Boolean })
5644
5650
  ], Z.prototype, "searchable");
5645
- D([
5651
+ S([
5646
5652
  s({ type: Boolean })
5647
5653
  ], Z.prototype, "disabled");
5648
- D([
5654
+ S([
5649
5655
  s()
5650
5656
  ], Z.prototype, "placement");
5651
- D([
5657
+ S([
5652
5658
  s()
5653
5659
  ], Z.prototype, "appearance");
5654
- D([
5660
+ S([
5655
5661
  s()
5656
5662
  ], Z.prototype, "variant");
5657
- D([
5663
+ S([
5658
5664
  s()
5659
5665
  ], Z.prototype, "size");
5660
- D([
5666
+ S([
5661
5667
  s({ type: Boolean, attribute: "full-width", reflect: !0 })
5662
5668
  ], Z.prototype, "fullWidth");
5663
- D([
5664
- H()
5669
+ S([
5670
+ s({ converter: (r) => r !== "false" })
5671
+ ], Z.prototype, "clearable");
5672
+ S([
5673
+ y()
5665
5674
  ], Z.prototype, "_open");
5666
- D([
5667
- H()
5675
+ S([
5676
+ y()
5668
5677
  ], Z.prototype, "_query");
5669
- D([
5678
+ S([
5670
5679
  R(".trigger")
5671
5680
  ], Z.prototype, "_triggerEl");
5672
- D([
5681
+ S([
5673
5682
  R(".panel")
5674
5683
  ], Z.prototype, "_panelEl");
5675
- D([
5684
+ S([
5676
5685
  R("anduin-input")
5677
5686
  ], Z.prototype, "_searchEl");
5678
5687
  customElements.get("anduin-dropdown") || customElements.define("anduin-dropdown", Z);
@@ -5681,7 +5690,7 @@ var f0 = Object.defineProperty, a1 = (r, e, t, o) => {
5681
5690
  (l = r[n]) && (i = l(e, t, i) || i);
5682
5691
  return i && f0(e, t, i), i;
5683
5692
  };
5684
- const n2 = "anduin-close", o5 = "anduin-after-close", v0 = 300, j3 = 250, m0 = /* @__PURE__ */ new Map([
5693
+ const n2 = "anduin-close", o5 = "anduin-after-close", v0 = 300, je = 250, m0 = /* @__PURE__ */ new Map([
5685
5694
  ["320", 320],
5686
5695
  ["360", 360],
5687
5696
  ["400", 400],
@@ -5717,7 +5726,7 @@ const n2 = "anduin-close", o5 = "anduin-after-close", v0 = 300, j3 = 250, m0 = /
5717
5726
  composed: !0
5718
5727
  })
5719
5728
  );
5720
- }, j3)));
5729
+ }, je)));
5721
5730
  }
5722
5731
  _dispatch(e) {
5723
5732
  this.dispatchEvent(
@@ -5850,7 +5859,7 @@ F4.styles = g`
5850
5859
  pointer-events: auto;
5851
5860
  }
5852
5861
  .drawer.is-leaving {
5853
- animation: drawerOut ${j3}ms
5862
+ animation: drawerOut ${je}ms
5854
5863
  cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
5855
5864
  }
5856
5865
  /* placement="left": every rule above that assumes the right edge, flipped.
@@ -5962,10 +5971,10 @@ a1([
5962
5971
  s({ type: Boolean, attribute: "allow-interact-outside" })
5963
5972
  ], j.prototype, "allowInteractOutside");
5964
5973
  a1([
5965
- H()
5974
+ y()
5966
5975
  ], j.prototype, "_leaving");
5967
5976
  a1([
5968
- H()
5977
+ y()
5969
5978
  ], j.prototype, "_width");
5970
5979
  customElements.get("anduin-drawer") || customElements.define("anduin-drawer", j);
5971
5980
  class b0 extends HTMLElement {
@@ -5984,12 +5993,12 @@ class b0 extends HTMLElement {
5984
5993
  }
5985
5994
  }
5986
5995
  customElements.get("anduin-drawer-close") || customElements.define("anduin-drawer-close", b0);
5987
- var H0 = Object.defineProperty, $ = (r, e, t, o) => {
5996
+ var y0 = Object.defineProperty, $ = (r, e, t, o) => {
5988
5997
  for (var i = void 0, n = r.length - 1, l; n >= 0; n--)
5989
5998
  (l = r[n]) && (i = l(e, t, i) || i);
5990
- return i && H0(e, t, i), i;
5999
+ return i && y0(e, t, i), i;
5991
6000
  };
5992
- const n5 = "anduin-suggestion:change", y0 = "anduin-suggestion:select", _0 = "anduin-suggestion:clear", O4 = class O4 extends h {
6001
+ const n5 = "anduin-suggestion:change", H0 = "anduin-suggestion:select", _0 = "anduin-suggestion:clear", O4 = class O4 extends h {
5993
6002
  constructor() {
5994
6003
  super(...arguments), this.value = "", this.size = "default", this.disabled = !1, this.readonly = !1, this.placeholder = "", this.inputid = "", this.status = "", this.startIcon = "", this.endIcon = "", this.clearable = !1, this.suggestions = [], this.filter = !1, this.hideWhenEmpty = !1, this.emptyText = "No suggestions", this._open = !1, this._activeIndex = -1, this._onDocumentMouseDown = (e) => {
5995
6004
  var t;
@@ -6066,7 +6075,7 @@ const n5 = "anduin-suggestion:change", y0 = "anduin-suggestion:select", _0 = "an
6066
6075
  detail: this.value,
6067
6076
  bubbles: !0,
6068
6077
  composed: !0
6069
- })), this.dispatchEvent(new CustomEvent(y0, {
6078
+ })), this.dispatchEvent(new CustomEvent(H0, {
6070
6079
  detail: e,
6071
6080
  bubbles: !0,
6072
6081
  composed: !0
@@ -6319,10 +6328,10 @@ $([
6319
6328
  s({ attribute: "empty-text" })
6320
6329
  ], w.prototype, "emptyText");
6321
6330
  $([
6322
- H()
6331
+ y()
6323
6332
  ], w.prototype, "_open");
6324
6333
  $([
6325
- H()
6334
+ y()
6326
6335
  ], w.prototype, "_activeIndex");
6327
6336
  $([
6328
6337
  R("input")
@@ -6436,7 +6445,7 @@ W([
6436
6445
  s()
6437
6446
  ], v1.prototype, "alignment");
6438
6447
  W([
6439
- H()
6448
+ y()
6440
6449
  ], v1.prototype, "internalValue");
6441
6450
  const I4 = class I4 extends h {
6442
6451
  constructor() {
@@ -6556,8 +6565,8 @@ var x0 = Object.defineProperty, A1 = (r, e, t, o) => {
6556
6565
  (l = r[n]) && (i = l(e, t, i) || i);
6557
6566
  return i && x0(e, t, i), i;
6558
6567
  };
6559
- const M0 = "anduin-resizable:resize", we = "anduin-resizable-panel", U3 = (r) => !!r && r.tagName.toLowerCase() === we;
6560
- function G3(r, e, t) {
6568
+ const M0 = "anduin-resizable:resize", w3 = "anduin-resizable-panel", Ue = (r) => !!r && r.tagName.toLowerCase() === w3;
6569
+ function Ge(r, e, t) {
6561
6570
  const o = (r || "").trim();
6562
6571
  if (!o) return t;
6563
6572
  const i = parseFloat(o);
@@ -6579,7 +6588,7 @@ const N4 = class N4 extends h {
6579
6588
  return this.isVertical ? e.height : e.width;
6580
6589
  }
6581
6590
  get panels() {
6582
- return Array.from(this.querySelectorAll(`:scope > ${we}`));
6591
+ return Array.from(this.querySelectorAll(`:scope > ${w3}`));
6583
6592
  }
6584
6593
  updated() {
6585
6594
  for (const e of this.querySelectorAll(":scope > anduin-resizable-handle"))
@@ -6639,10 +6648,10 @@ const j4 = class j4 extends h {
6639
6648
  return e ? t.height : t.width;
6640
6649
  }
6641
6650
  minPx(e) {
6642
- return G3(this.minSize, e, 0);
6651
+ return Ge(this.minSize, e, 0);
6643
6652
  }
6644
6653
  maxPx(e) {
6645
- return G3(this.maxSize, e, e);
6654
+ return Ge(this.maxSize, e, e);
6646
6655
  }
6647
6656
  render() {
6648
6657
  return a`<div class="panel" part="panel"><slot></slot></div>`;
@@ -6708,10 +6717,10 @@ const U4 = class U4 extends h {
6708
6717
  this.groupVertical = e, this.setAttribute("aria-orientation", e ? "horizontal" : "vertical");
6709
6718
  }
6710
6719
  get prevPanel() {
6711
- return U3(this.previousElementSibling) ? this.previousElementSibling : null;
6720
+ return Ue(this.previousElementSibling) ? this.previousElementSibling : null;
6712
6721
  }
6713
6722
  get nextPanel() {
6714
- return U3(this.nextElementSibling) ? this.nextElementSibling : null;
6723
+ return Ue(this.nextElementSibling) ? this.nextElementSibling : null;
6715
6724
  }
6716
6725
  endDrag() {
6717
6726
  if (!(!this.dragging && this.activePointerId === null)) {
@@ -6784,10 +6793,10 @@ A1([
6784
6793
  s({ type: Boolean, attribute: "with-handle" })
6785
6794
  ], K1.prototype, "withHandle");
6786
6795
  A1([
6787
- H()
6796
+ y()
6788
6797
  ], K1.prototype, "groupVertical");
6789
6798
  A1([
6790
- H()
6799
+ y()
6791
6800
  ], K1.prototype, "dragging");
6792
6801
  customElements.get("anduin-resizable-panel-group") || customElements.define("anduin-resizable-panel-group", B2);
6793
6802
  customElements.get("anduin-resizable-panel") || customElements.define("anduin-resizable-panel", G1);
@@ -7006,7 +7015,7 @@ Y1([
7006
7015
  s({ type: Number })
7007
7016
  ], m1.prototype, "value");
7008
7017
  Y1([
7009
- H()
7018
+ y()
7010
7019
  ], m1.prototype, "internalValue");
7011
7020
  Y1([
7012
7021
  R(".pagination__indicator")
@@ -7308,7 +7317,7 @@ var $0 = Object.defineProperty, D1 = (r, e, t, o) => {
7308
7317
  (l = r[n]) && (i = l(e, t, i) || i);
7309
7318
  return i && $0(e, t, i), i;
7310
7319
  };
7311
- const E0 = "anduin-sidebar:select", e3 = class e3 extends h {
7320
+ const E0 = "anduin-sidebar:select", ee = class ee extends h {
7312
7321
  connectedCallback() {
7313
7322
  super.connectedCallback(), this.hasAttribute("role") || this.setAttribute("role", "navigation");
7314
7323
  }
@@ -7316,7 +7325,7 @@ const E0 = "anduin-sidebar:select", e3 = class e3 extends h {
7316
7325
  return a`<div class="sidebar" part="sidebar"><slot></slot></div>`;
7317
7326
  }
7318
7327
  };
7319
- e3.styles = g`
7328
+ ee.styles = g`
7320
7329
  :host {
7321
7330
  display: flex;
7322
7331
  flex-direction: column;
@@ -7331,13 +7340,13 @@ e3.styles = g`
7331
7340
  min-height: 0;
7332
7341
  }
7333
7342
  `;
7334
- let R5 = e3;
7335
- const t3 = class t3 extends h {
7343
+ let R5 = ee;
7344
+ const te = class te extends h {
7336
7345
  render() {
7337
7346
  return a`<div class="sidebar-content" part="content"><slot></slot></div>`;
7338
7347
  }
7339
7348
  };
7340
- t3.styles = g`
7349
+ te.styles = g`
7341
7350
  :host {
7342
7351
  display: flex;
7343
7352
  flex-direction: column;
@@ -7352,8 +7361,8 @@ t3.styles = g`
7352
7361
  padding: 12px 16px;
7353
7362
  }
7354
7363
  `;
7355
- let $5 = t3;
7356
- const i3 = class i3 extends h {
7364
+ let $5 = te;
7365
+ const ie = class ie extends h {
7357
7366
  constructor() {
7358
7367
  super(...arguments), this.divider = !1;
7359
7368
  }
@@ -7361,7 +7370,7 @@ const i3 = class i3 extends h {
7361
7370
  return a`<div class="sidebar-header" part="header"><slot></slot></div>`;
7362
7371
  }
7363
7372
  };
7364
- i3.styles = g`
7373
+ ie.styles = g`
7365
7374
  :host {
7366
7375
  display: block;
7367
7376
  flex: 0 0 auto;
@@ -7372,11 +7381,11 @@ i3.styles = g`
7372
7381
  border-bottom: 1px solid var(--color-gray-3);
7373
7382
  }
7374
7383
  `;
7375
- let F2 = i3;
7384
+ let F2 = ie;
7376
7385
  D1([
7377
7386
  s({ type: Boolean, reflect: !0 })
7378
7387
  ], F2.prototype, "divider");
7379
- const o3 = class o3 extends h {
7388
+ const oe = class oe extends h {
7380
7389
  constructor() {
7381
7390
  super(...arguments), this.divider = !1;
7382
7391
  }
@@ -7384,7 +7393,7 @@ const o3 = class o3 extends h {
7384
7393
  return a`<div class="sidebar-footer" part="footer"><slot></slot></div>`;
7385
7394
  }
7386
7395
  };
7387
- o3.styles = g`
7396
+ oe.styles = g`
7388
7397
  :host {
7389
7398
  display: block;
7390
7399
  flex: 0 0 auto;
@@ -7395,16 +7404,16 @@ o3.styles = g`
7395
7404
  border-top: 1px solid var(--color-gray-3);
7396
7405
  }
7397
7406
  `;
7398
- let O2 = o3;
7407
+ let O2 = oe;
7399
7408
  D1([
7400
7409
  s({ type: Boolean, reflect: !0 })
7401
7410
  ], O2.prototype, "divider");
7402
- const n3 = class n3 extends h {
7411
+ const ne = class ne extends h {
7403
7412
  render() {
7404
7413
  return a`<div class="sidebar-group" part="group" role="group"><slot></slot></div>`;
7405
7414
  }
7406
7415
  };
7407
- n3.styles = g`
7416
+ ne.styles = g`
7408
7417
  :host {
7409
7418
  display: block;
7410
7419
  }
@@ -7414,8 +7423,8 @@ n3.styles = g`
7414
7423
  gap: 4px;
7415
7424
  }
7416
7425
  `;
7417
- let E5 = n3;
7418
- const r3 = class r3 extends h {
7426
+ let E5 = ne;
7427
+ const re = class re extends h {
7419
7428
  render() {
7420
7429
  return a`
7421
7430
  <div class="sidebar-group-label" part="group-label">
@@ -7426,7 +7435,7 @@ const r3 = class r3 extends h {
7426
7435
  `;
7427
7436
  }
7428
7437
  };
7429
- r3.styles = g`
7438
+ re.styles = g`
7430
7439
  :host {
7431
7440
  display: block;
7432
7441
  }
@@ -7458,13 +7467,13 @@ r3.styles = g`
7458
7467
  padding-right: 6px;
7459
7468
  }
7460
7469
  `;
7461
- let z5 = r3;
7462
- const l3 = class l3 extends h {
7470
+ let z5 = re;
7471
+ const le = class le extends h {
7463
7472
  render() {
7464
7473
  return a`<div class="sidebar-menu" part="menu"><slot></slot></div>`;
7465
7474
  }
7466
7475
  };
7467
- l3.styles = g`
7476
+ le.styles = g`
7468
7477
  :host {
7469
7478
  display: block;
7470
7479
  }
@@ -7474,8 +7483,8 @@ l3.styles = g`
7474
7483
  gap: 2px;
7475
7484
  }
7476
7485
  `;
7477
- let S5 = l3;
7478
- const s3 = class s3 extends h {
7486
+ let S5 = le;
7487
+ const se = class se extends h {
7479
7488
  constructor() {
7480
7489
  super(...arguments), this.startIcon = "", this.selected = !1, this.disabled = !1, this.href = "", this.openNewTab = !1, this.onClick = (e) => {
7481
7490
  if (this.disabled) {
@@ -7531,7 +7540,7 @@ const s3 = class s3 extends h {
7531
7540
  `;
7532
7541
  }
7533
7542
  };
7534
- s3.styles = g`
7543
+ se.styles = g`
7535
7544
  :host {
7536
7545
  display: block;
7537
7546
  }
@@ -7614,7 +7623,7 @@ s3.styles = g`
7614
7623
  padding-right: 6px;
7615
7624
  }
7616
7625
  `;
7617
- let b1 = s3;
7626
+ let b1 = se;
7618
7627
  D1([
7619
7628
  s({ attribute: "start-icon" })
7620
7629
  ], b1.prototype, "startIcon");
@@ -7630,7 +7639,7 @@ D1([
7630
7639
  D1([
7631
7640
  s({ type: Boolean, attribute: "open-new-tab" })
7632
7641
  ], b1.prototype, "openNewTab");
7633
- const a3 = class a3 extends h {
7642
+ const ae = class ae extends h {
7634
7643
  connectedCallback() {
7635
7644
  super.connectedCallback(), this.hasAttribute("slot") || this.setAttribute("slot", "action");
7636
7645
  }
@@ -7638,7 +7647,7 @@ const a3 = class a3 extends h {
7638
7647
  return a`<div class="sidebar-action" part="action"><slot></slot></div>`;
7639
7648
  }
7640
7649
  };
7641
- a3.styles = g`
7650
+ ae.styles = g`
7642
7651
  :host {
7643
7652
  display: flex;
7644
7653
  align-items: center;
@@ -7648,8 +7657,8 @@ a3.styles = g`
7648
7657
  align-items: center;
7649
7658
  }
7650
7659
  `;
7651
- let A5 = a3;
7652
- const d3 = class d3 extends h {
7660
+ let A5 = ae;
7661
+ const de = class de extends h {
7653
7662
  connectedCallback() {
7654
7663
  super.connectedCallback(), this.hasAttribute("slot") || this.setAttribute("slot", "badge");
7655
7664
  }
@@ -7657,7 +7666,7 @@ const d3 = class d3 extends h {
7657
7666
  return a`<div class="sidebar-badge" part="badge"><slot></slot></div>`;
7658
7667
  }
7659
7668
  };
7660
- d3.styles = g`
7669
+ de.styles = g`
7661
7670
  :host {
7662
7671
  display: flex;
7663
7672
  align-items: center;
@@ -7667,8 +7676,8 @@ d3.styles = g`
7667
7676
  align-items: center;
7668
7677
  }
7669
7678
  `;
7670
- let D5 = d3;
7671
- const c3 = class c3 extends h {
7679
+ let D5 = de;
7680
+ const ce = class ce extends h {
7672
7681
  connectedCallback() {
7673
7682
  super.connectedCallback(), this.hasAttribute("role") || this.setAttribute("role", "separator");
7674
7683
  }
@@ -7676,7 +7685,7 @@ const c3 = class c3 extends h {
7676
7685
  return a`<div class="sidebar-separator" part="separator"></div>`;
7677
7686
  }
7678
7687
  };
7679
- c3.styles = g`
7688
+ ce.styles = g`
7680
7689
  :host {
7681
7690
  display: block;
7682
7691
  }
@@ -7685,7 +7694,7 @@ c3.styles = g`
7685
7694
  background-color: var(--color-gray-3);
7686
7695
  }
7687
7696
  `;
7688
- let P5 = c3;
7697
+ let P5 = ce;
7689
7698
  customElements.get("anduin-sidebar") || customElements.define("anduin-sidebar", R5);
7690
7699
  customElements.get("anduin-sidebar-content") || customElements.define("anduin-sidebar-content", $5);
7691
7700
  customElements.get("anduin-sidebar-header") || customElements.define("anduin-sidebar-header", F2);
@@ -7697,7 +7706,7 @@ customElements.get("anduin-sidebar-menu-item") || customElements.define("anduin-
7697
7706
  customElements.get("anduin-sidebar-action") || customElements.define("anduin-sidebar-action", A5);
7698
7707
  customElements.get("anduin-sidebar-badge") || customElements.define("anduin-sidebar-badge", D5);
7699
7708
  customElements.get("anduin-sidebar-separator") || customElements.define("anduin-sidebar-separator", P5);
7700
- function A(r) {
7709
+ function D(r) {
7701
7710
  if (!r) return null;
7702
7711
  const e = /^(\d{4})-(\d{1,2})-(\d{1,2})$/.exec(r.trim());
7703
7712
  if (!e) return null;
@@ -7724,7 +7733,7 @@ var S0 = Object.defineProperty, e1 = (r, e, t, o) => {
7724
7733
  (l = r[n]) && (i = l(e, t, i) || i);
7725
7734
  return i && S0(e, t, i), i;
7726
7735
  };
7727
- const M2 = "anduin-calendar:change", B5 = "anduin-calendar:day-hover", K3 = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], W3 = [
7736
+ const M2 = "anduin-calendar:change", B5 = "anduin-calendar:day-hover", Ke = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], We = [
7728
7737
  "January",
7729
7738
  "February",
7730
7739
  "March",
@@ -7737,7 +7746,7 @@ const M2 = "anduin-calendar:change", B5 = "anduin-calendar:day-hover", K3 = ["Ja
7737
7746
  "October",
7738
7747
  "November",
7739
7748
  "December"
7740
- ], A0 = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], Y3 = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
7749
+ ], A0 = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], Ye = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
7741
7750
  function P1(r, e) {
7742
7751
  return new Date(r.getFullYear(), r.getMonth(), r.getDate() + e);
7743
7752
  }
@@ -7745,7 +7754,7 @@ function D0(r) {
7745
7754
  const e = ["th", "st", "nd", "rd"], t = r % 100;
7746
7755
  return `${r}${e[(t - 20) % 10] ?? e[t] ?? e[0]}`;
7747
7756
  }
7748
- const C3 = class C3 extends h {
7757
+ const Ce = class Ce extends h {
7749
7758
  constructor() {
7750
7759
  super(...arguments), this.value = "", this.minDate = "", this.maxDate = "", this.rangeStart = "", this.rangeEnd = "", this.rangeMode = !1, this._viewMonth = F1().getMonth(), this._viewYear = F1().getFullYear(), this._focus = "", this._openSelect = null, this._viewSeeded = !1, this._pendingFocus = !1, this._onOutsideClick = (e) => {
7751
7760
  this._openSelect && !e.composedPath().includes(this) && (this._openSelect = null);
@@ -7759,7 +7768,7 @@ const C3 = class C3 extends h {
7759
7768
  }
7760
7769
  willUpdate(e) {
7761
7770
  if (e.has("value")) {
7762
- const t = A(this.value);
7771
+ const t = D(this.value);
7763
7772
  if (t)
7764
7773
  this._viewYear = t.getFullYear(), this._viewMonth = t.getMonth(), this._viewSeeded = !0;
7765
7774
  else if (!this._viewSeeded) {
@@ -7777,10 +7786,10 @@ const C3 = class C3 extends h {
7777
7786
  }
7778
7787
  // ── Constraints ─────────────────────────────────────────────────
7779
7788
  get _min() {
7780
- return A(this.minDate);
7789
+ return D(this.minDate);
7781
7790
  }
7782
7791
  get _max() {
7783
- return A(this.maxDate);
7792
+ return D(this.maxDate);
7784
7793
  }
7785
7794
  _isDisabled(e) {
7786
7795
  const t = this._min, o = this._max;
@@ -7802,7 +7811,7 @@ const C3 = class C3 extends h {
7802
7811
  this._isDisabled(o) || (this._focus = L1(o), (o.getMonth() !== e.getMonth() || o.getFullYear() !== e.getFullYear()) && (this._viewYear = o.getFullYear(), this._viewMonth = o.getMonth(), this._viewSeeded = !0), this._pendingFocus = !0);
7803
7812
  }
7804
7813
  _onGridKeyDown(e) {
7805
- const t = A(this._focus) ?? this._defaultFocusDate();
7814
+ const t = D(this._focus) ?? this._defaultFocusDate();
7806
7815
  switch (e.key) {
7807
7816
  // Shift turns the horizontal arrows into month steps and the vertical
7808
7817
  // ones into year steps.
@@ -7849,10 +7858,10 @@ const C3 = class C3 extends h {
7849
7858
  }
7850
7859
  /** The day that owns `tabindex="0"` when nothing has been focused yet. */
7851
7860
  _defaultFocusDate() {
7852
- const e = A(this._focus);
7861
+ const e = D(this._focus);
7853
7862
  if (e && e.getMonth() === this._viewMonth && e.getFullYear() === this._viewYear)
7854
7863
  return e;
7855
- const t = A(this.value);
7864
+ const t = D(this.value);
7856
7865
  if (t && t.getMonth() === this._viewMonth && t.getFullYear() === this._viewYear)
7857
7866
  return t;
7858
7867
  const o = F1();
@@ -7904,12 +7913,12 @@ const C3 = class C3 extends h {
7904
7913
  }
7905
7914
  // ── Render ──────────────────────────────────────────────────────
7906
7915
  render() {
7907
- const e = L1(F1()), t = A(this.value), o = A(this.rangeStart), i = A(this.rangeEnd), n = this.rangeMode || !!(o || i), l = L1(this._defaultFocusDate()), d = new Date(this._viewYear, this._viewMonth, 1), c = new Date(this._viewYear, this._viewMonth + 1, 0).getDate(), C = d.getDay(), p = [
7916
+ const e = L1(F1()), t = D(this.value), o = D(this.rangeStart), i = D(this.rangeEnd), n = this.rangeMode || !!(o || i), l = L1(this._defaultFocusDate()), d = new Date(this._viewYear, this._viewMonth, 1), c = new Date(this._viewYear, this._viewMonth + 1, 0).getDate(), C = d.getDay(), p = [
7908
7917
  ...Array.from({ length: C }, () => null),
7909
7918
  ...Array.from({ length: c }, (_, v) => v + 1)
7910
7919
  ];
7911
7920
  for (; p.length % 7 !== 0; ) p.push(null);
7912
- const f = Array.from({ length: p.length / 7 }, (_, v) => p.slice(v * 7, v * 7 + 7)), b = `${W3[this._viewMonth]} ${this._viewYear}`, m = (() => {
7921
+ const f = Array.from({ length: p.length / 7 }, (_, v) => p.slice(v * 7, v * 7 + 7)), b = `${We[this._viewMonth]} ${this._viewYear}`, m = (() => {
7913
7922
  const _ = this._min;
7914
7923
  return _ ? new Date(this._viewYear, this._viewMonth, 0).getTime() < _.getTime() : !1;
7915
7924
  })(), V = (() => {
@@ -7930,9 +7939,9 @@ const C3 = class C3 extends h {
7930
7939
  <div class="calendar__header-spacer"></div>
7931
7940
  ${this._renderSelect(
7932
7941
  "month",
7933
- K3[this._viewMonth],
7942
+ Ke[this._viewMonth],
7934
7943
  "Choose the month",
7935
- K3.map((_, v) => ({ value: v, label: _, selected: v === this._viewMonth })),
7944
+ Ke.map((_, v) => ({ value: v, label: _, selected: v === this._viewMonth })),
7936
7945
  (_) => this._selectMonth(_)
7937
7946
  )}
7938
7947
  ${this._renderSelect(
@@ -7965,7 +7974,7 @@ const C3 = class C3 extends h {
7965
7974
  <thead aria-hidden="true">
7966
7975
  <tr>
7967
7976
  ${A0.map((_, v) => a`
7968
- <th class="calendar__day-header" aria-label="${Y3[v]}">${_}</th>
7977
+ <th class="calendar__day-header" aria-label="${Ye[v]}">${_}</th>
7969
7978
  `)}
7970
7979
  </tr>
7971
7980
  </thead>
@@ -7974,34 +7983,34 @@ const C3 = class C3 extends h {
7974
7983
  <tr>
7975
7984
  ${_.map((v) => {
7976
7985
  if (v === null) return a`<td class="calendar__day-cell"></td>`;
7977
- const x = new Date(this._viewYear, this._viewMonth, v), M = L1(x), S = x.getTime(), U = this._isDisabled(x), X1 = !!o && S === o.getTime(), t1 = !!i && S === i.getTime(), v3 = !!o && !!i && S > o.getTime() && S < i.getTime(), m3 = !n && !!t && S === t.getTime(), ke = [
7986
+ const x = new Date(this._viewYear, this._viewMonth, v), M = L1(x), A = x.getTime(), U = this._isDisabled(x), X1 = !!o && A === o.getTime(), t1 = !!i && A === i.getTime(), ve = !!o && !!i && A > o.getTime() && A < i.getTime(), me = !n && !!t && A === t.getTime(), k3 = [
7978
7987
  "calendar__day-cell",
7979
- v3 ? "calendar__day-cell--in-range" : "",
7988
+ ve ? "calendar__day-cell--in-range" : "",
7980
7989
  // Only tint the edge cell when it actually opens a span —
7981
7990
  // a lone start marker shouldn't paint a half-rounded block.
7982
7991
  X1 && i ? "calendar__day-cell--range-start" : "",
7983
7992
  t1 && o ? "calendar__day-cell--range-end" : ""
7984
- ].filter(Boolean).join(" "), Re = [
7993
+ ].filter(Boolean).join(" "), R3 = [
7985
7994
  "calendar__day-button",
7986
7995
  M === e ? "calendar__day-button--today" : "",
7987
- m3 ? "calendar__day-button--selected" : "",
7996
+ me ? "calendar__day-button--selected" : "",
7988
7997
  X1 ? "calendar__day-button--range-start" : "",
7989
7998
  t1 ? "calendar__day-button--range-end" : "",
7990
- v3 ? "calendar__day-button--in-range" : "",
7999
+ ve ? "calendar__day-button--in-range" : "",
7991
8000
  U ? "calendar__day-button--disabled" : ""
7992
8001
  ].filter(Boolean).join(" ");
7993
8002
  return a`
7994
8003
  <td
7995
- class="${ke}"
8004
+ class="${k3}"
7996
8005
  role="gridcell"
7997
- aria-selected="${m3 || X1 || t1}"
8006
+ aria-selected="${me || X1 || t1}"
7998
8007
  >
7999
8008
  <button
8000
8009
  type="button"
8001
- class="${Re}"
8010
+ class="${R3}"
8002
8011
  part="day"
8003
8012
  aria-disabled="${U}"
8004
- aria-label="${Y3[x.getDay()]}, ${W3[x.getMonth()]} ${D0(v)}, ${x.getFullYear()}"
8013
+ aria-label="${Ye[x.getDay()]}, ${We[x.getMonth()]} ${D0(v)}, ${x.getFullYear()}"
8005
8014
  tabindex="${M === l ? 0 : -1}"
8006
8015
  @click=${() => {
8007
8016
  U || this._pick(x);
@@ -8021,7 +8030,7 @@ const C3 = class C3 extends h {
8021
8030
  `;
8022
8031
  }
8023
8032
  };
8024
- C3.styles = g`
8033
+ Ce.styles = g`
8025
8034
  :host { display: inline-block; font-family: var(--font-sans); }
8026
8035
 
8027
8036
  .calendar { display: flex; flex-direction: column; font-family: inherit; font-size: 13px; }
@@ -8116,7 +8125,7 @@ C3.styles = g`
8116
8125
  .calendar__day-button--in-range { color: var(--color-primary-7, var(--color-primary-5)); }
8117
8126
  .calendar__day-button--in-range:hover { background-color: var(--color-primary-2); }
8118
8127
  `;
8119
- let I = C3;
8128
+ let I = Ce;
8120
8129
  e1([
8121
8130
  s({ reflect: !0 })
8122
8131
  ], I.prototype, "value");
@@ -8136,16 +8145,16 @@ e1([
8136
8145
  s({ type: Boolean, attribute: "range-mode" })
8137
8146
  ], I.prototype, "rangeMode");
8138
8147
  e1([
8139
- H()
8148
+ y()
8140
8149
  ], I.prototype, "_viewMonth");
8141
8150
  e1([
8142
- H()
8151
+ y()
8143
8152
  ], I.prototype, "_viewYear");
8144
8153
  e1([
8145
- H()
8154
+ y()
8146
8155
  ], I.prototype, "_focus");
8147
8156
  e1([
8148
- H()
8157
+ y()
8149
8158
  ], I.prototype, "_openSelect");
8150
8159
  customElements.get("anduin-calendar") || customElements.define("anduin-calendar", I);
8151
8160
  var P0 = Object.defineProperty, q1 = (r, e, t, o) => {
@@ -8153,12 +8162,12 @@ var P0 = Object.defineProperty, q1 = (r, e, t, o) => {
8153
8162
  (l = r[n]) && (i = l(e, t, i) || i);
8154
8163
  return i && P0(e, t, i), i;
8155
8164
  };
8156
- const B0 = "anduin-date-range:change", p3 = class p3 extends h {
8165
+ const B0 = "anduin-date-range:change", pe = class pe extends h {
8157
8166
  constructor() {
8158
8167
  super(...arguments), this.startDate = "", this.endDate = "", this.minDate = "", this.maxDate = "", this._anchor = null, this._hover = null, this._panels = /* @__PURE__ */ new Map(), this._pushedValue = /* @__PURE__ */ new Map(), this._onCalendarChange = (e) => {
8159
8168
  e.stopPropagation();
8160
8169
  const t = e.detail;
8161
- if (!A(t)) return;
8170
+ if (!D(t)) return;
8162
8171
  if (this._anchor === null) {
8163
8172
  this._anchor = t, this._hover = null;
8164
8173
  return;
@@ -8205,7 +8214,7 @@ const B0 = "anduin-date-range:change", p3 = class p3 extends h {
8205
8214
  /** Which month each panel opens on: the start date on the left, the month
8206
8215
  * after it on the right. Falls back to today when there's no range yet. */
8207
8216
  _panelValue(e) {
8208
- const t = A(this.startDate) ?? F1();
8217
+ const t = D(this.startDate) ?? F1();
8209
8218
  return L1(e === "start" ? t : c1(t, 1));
8210
8219
  }
8211
8220
  /** The range the calendars should paint — the live preview while selecting,
@@ -8217,17 +8226,17 @@ const B0 = "anduin-date-range:change", p3 = class p3 extends h {
8217
8226
  return [e, t];
8218
8227
  }
8219
8228
  _sorted(e, t) {
8220
- const o = A(e), i = A(t);
8229
+ const o = D(e), i = D(t);
8221
8230
  return !o || !i ? [e, t] : o.getTime() <= i.getTime() ? [e, t] : [t, e];
8222
8231
  }
8223
8232
  render() {
8224
8233
  return a`<div class="date-range" part="date-range"><slot></slot></div>`;
8225
8234
  }
8226
8235
  };
8227
- p3.styles = g`
8236
+ pe.styles = g`
8228
8237
  :host { display: inline-block; font-family: var(--font-sans); }
8229
8238
  `;
8230
- let Q = p3;
8239
+ let Q = pe;
8231
8240
  q1([
8232
8241
  s({ attribute: "start-date", reflect: !0 })
8233
8242
  ], Q.prototype, "startDate");
@@ -8241,12 +8250,12 @@ q1([
8241
8250
  s({ attribute: "max-date" })
8242
8251
  ], Q.prototype, "maxDate");
8243
8252
  q1([
8244
- H()
8253
+ y()
8245
8254
  ], Q.prototype, "_anchor");
8246
8255
  q1([
8247
- H()
8256
+ y()
8248
8257
  ], Q.prototype, "_hover");
8249
- const h3 = class h3 extends h {
8258
+ const he = class he extends h {
8250
8259
  constructor() {
8251
8260
  super(...arguments), this._host = null;
8252
8261
  }
@@ -8275,10 +8284,10 @@ const h3 = class h3 extends h {
8275
8284
  return a`<anduin-calendar part="calendar" range-mode></anduin-calendar>`;
8276
8285
  }
8277
8286
  };
8278
- h3.styles = g`
8287
+ he.styles = g`
8279
8288
  :host { display: inline-block; font-family: var(--font-sans); }
8280
8289
  `;
8281
- let T2 = h3;
8290
+ let T2 = he;
8282
8291
  class F0 extends T2 {
8283
8292
  constructor() {
8284
8293
  super(...arguments), this.panelRole = "start";
@@ -8289,7 +8298,7 @@ class O0 extends T2 {
8289
8298
  super(...arguments), this.panelRole = "end";
8290
8299
  }
8291
8300
  }
8292
- const u3 = class u3 extends h {
8301
+ const ue = class ue extends h {
8293
8302
  render() {
8294
8303
  return a`
8295
8304
  <div class="date-range-default" part="layout">
@@ -8299,12 +8308,12 @@ const u3 = class u3 extends h {
8299
8308
  `;
8300
8309
  }
8301
8310
  };
8302
- u3.styles = g`
8311
+ ue.styles = g`
8303
8312
  :host { display: inline-block; font-family: var(--font-sans); }
8304
8313
 
8305
8314
  .date-range-default { display: flex; flex-direction: row; gap: 16px; }
8306
8315
  `;
8307
- let F5 = u3;
8316
+ let F5 = ue;
8308
8317
  customElements.get("anduin-date-range") || customElements.define("anduin-date-range", Q);
8309
8318
  customElements.get("anduin-date-range-default") || customElements.define("anduin-date-range-default", F5);
8310
8319
  customElements.get("anduin-date-range-start") || customElements.define("anduin-date-range-start", F0);
@@ -8314,15 +8323,15 @@ var T0 = Object.defineProperty, O = (r, e, t, o) => {
8314
8323
  (l = r[n]) && (i = l(e, t, i) || i);
8315
8324
  return i && T0(e, t, i), i;
8316
8325
  };
8317
- const O5 = "anduin-date-input:change", q3 = { M: "month", d: "day", y: "year" };
8326
+ const O5 = "anduin-date-input:change", qe = { M: "month", d: "day", y: "year" };
8318
8327
  function I0(r) {
8319
8328
  const e = [];
8320
8329
  let t = 0, o = 0;
8321
8330
  for (; o < r.length; ) {
8322
- const i = r[o], n = q3[i];
8331
+ const i = r[o], n = qe[i];
8323
8332
  if (!n) {
8324
8333
  let d = "";
8325
- for (; o < r.length && !q3[r[o]]; ) d += r[o++];
8334
+ for (; o < r.length && !qe[r[o]]; ) d += r[o++];
8326
8335
  e.push({ literal: d }), t += d.length;
8327
8336
  continue;
8328
8337
  }
@@ -8402,7 +8411,7 @@ const e2 = 1, j2 = class j2 extends h {
8402
8411
  * carries a full date — a partial format like `MM/dd` has no year to compare.
8403
8412
  */
8404
8413
  _clampToBounds(e) {
8405
- const t = A(this.minDate), o = A(this.maxDate);
8414
+ const t = D(this.minDate), o = D(this.maxDate);
8406
8415
  if (!t && !o) return e;
8407
8416
  const i = this._indexOfType("month"), n = this._indexOfType("day"), l = this._indexOfType("year");
8408
8417
  if (i < 0 || n < 0 || l < 0) return e;
@@ -8634,13 +8643,13 @@ O([
8634
8643
  s()
8635
8644
  ], E.prototype, "inputid");
8636
8645
  O([
8637
- H()
8646
+ y()
8638
8647
  ], E.prototype, "_digits");
8639
8648
  O([
8640
- H()
8649
+ y()
8641
8650
  ], E.prototype, "_active");
8642
8651
  O([
8643
- H()
8652
+ y()
8644
8653
  ], E.prototype, "_buffer");
8645
8654
  O([
8646
8655
  R("input")
@@ -8651,13 +8660,13 @@ var N0 = Object.defineProperty, T = (r, e, t, o) => {
8651
8660
  (l = r[n]) && (i = l(e, t, i) || i);
8652
8661
  return i && N0(e, t, i), i;
8653
8662
  };
8654
- const j0 = "anduin-date-picker:change", Ze = { M: "month", d: "day", y: "year" };
8663
+ const j0 = "anduin-date-picker:change", Z3 = { M: "month", d: "day", y: "year" };
8655
8664
  function U0(r, e) {
8656
8665
  if (!r) return null;
8657
8666
  const t = {};
8658
8667
  let o = 0, i = 0;
8659
8668
  for (; i < e.length; ) {
8660
- const d = e[i], c = Ze[d];
8669
+ const d = e[i], c = Z3[d];
8661
8670
  if (!c) {
8662
8671
  i++, o++;
8663
8672
  continue;
@@ -8681,7 +8690,7 @@ function G0(r, e) {
8681
8690
  };
8682
8691
  let o = "", i = 0;
8683
8692
  for (; i < e.length; ) {
8684
- const n = e[i], l = Ze[n];
8693
+ const n = e[i], l = Z3[n];
8685
8694
  if (!l) {
8686
8695
  o += n, i++;
8687
8696
  continue;
@@ -8693,7 +8702,7 @@ function G0(r, e) {
8693
8702
  }
8694
8703
  return o;
8695
8704
  }
8696
- const g3 = class g3 extends h {
8705
+ const ge = class ge extends h {
8697
8706
  constructor() {
8698
8707
  super(...arguments), this.format = "MM/dd/yyyy", this.value = "", this.size = "default", this.disabled = !1, this.readonly = !1, this.status = "", this.startIcon = "", this.minDate = "", this.maxDate = "", this.placement = "bottom-start", this.inputid = "", this._open = !1, this._onPopoverOpenChange = (e) => {
8699
8708
  e.stopPropagation(), this._open = e.detail;
@@ -8701,7 +8710,7 @@ const g3 = class g3 extends h {
8701
8710
  e.stopPropagation(), this._emit(e.detail);
8702
8711
  }, this._onCalendarChange = (e) => {
8703
8712
  e.stopPropagation();
8704
- const t = A(e.detail);
8713
+ const t = D(e.detail);
8705
8714
  t && (this._emit(G0(t, this.format)), this._closePopover());
8706
8715
  }, this._onKeyDown = (e) => {
8707
8716
  var t;
@@ -8769,7 +8778,7 @@ const g3 = class g3 extends h {
8769
8778
  `;
8770
8779
  }
8771
8780
  };
8772
- g3.styles = g`
8781
+ ge.styles = g`
8773
8782
  :host { display: inline-block; font-family: var(--font-sans); }
8774
8783
 
8775
8784
  .datepicker { display: block; }
@@ -8779,7 +8788,7 @@ g3.styles = g`
8779
8788
  /* The popover contributes 8px; the calendar reads better with 16px total. */
8780
8789
  .datepicker__panel { padding: 8px; display: flex; flex-direction: column; }
8781
8790
  `;
8782
- let z = g3;
8791
+ let z = ge;
8783
8792
  T([
8784
8793
  s()
8785
8794
  ], z.prototype, "format");
@@ -8814,7 +8823,7 @@ T([
8814
8823
  s()
8815
8824
  ], z.prototype, "inputid");
8816
8825
  T([
8817
- H()
8826
+ y()
8818
8827
  ], z.prototype, "_open");
8819
8828
  T([
8820
8829
  R("anduin-date-input")
@@ -8828,7 +8837,7 @@ var K0 = Object.defineProperty, L = (r, e, t, o) => {
8828
8837
  (l = r[n]) && (i = l(e, t, i) || i);
8829
8838
  return i && K0(e, t, i), i;
8830
8839
  };
8831
- const W0 = "anduin-table:sort", Y0 = "anduin-table:column-click", q0 = "anduin-table:row-click", X0 = "anduin-table:selection-change", J0 = "anduin-table:cell-context-menu", Q0 = "anduin-table:row-expand", et = "anduin-table:row-collapse", tt = "anduin-table:group-toggle", X3 = "anduin-table:column-resize", J3 = 40, i1 = (r) => r.type === "selection", d1 = (r, e) => {
8840
+ const W0 = "anduin-table:sort", Y0 = "anduin-table:column-click", q0 = "anduin-table:row-click", X0 = "anduin-table:selection-change", J0 = "anduin-table:cell-context-menu", Q0 = "anduin-table:row-expand", et = "anduin-table:row-collapse", tt = "anduin-table:group-toggle", Xe = "anduin-table:column-resize", Je = 40, i1 = (r) => r.type === "selection", d1 = (r, e) => {
8832
8841
  if (!e) return;
8833
8842
  let t = r;
8834
8843
  for (const o of e.split(".")) {
@@ -8836,7 +8845,7 @@ const W0 = "anduin-table:sort", Y0 = "anduin-table:column-click", q0 = "anduin-t
8836
8845
  t = t[o];
8837
8846
  }
8838
8847
  return t;
8839
- }, it = (r, e) => r === e ? 0 : r == null ? 1 : e == null ? -1 : typeof r == "number" && typeof e == "number" ? r - e : typeof r == "boolean" && typeof e == "boolean" ? Number(r) - Number(e) : r instanceof Date && e instanceof Date ? r.getTime() - e.getTime() : String(r).localeCompare(String(e), void 0, { numeric: !0, sensitivity: "base" }), f3 = class f3 extends h {
8848
+ }, it = (r, e) => r === e ? 0 : r == null ? 1 : e == null ? -1 : typeof r == "number" && typeof e == "number" ? r - e : typeof r == "boolean" && typeof e == "boolean" ? Number(r) - Number(e) : r instanceof Date && e instanceof Date ? r.getTime() - e.getTime() : String(r).localeCompare(String(e), void 0, { numeric: !0, sensitivity: "base" }), fe = class fe extends h {
8840
8849
  constructor() {
8841
8850
  super(...arguments), this.columns = [], this.data = [], this.layout = "fit-data", this.renderMode = "basic", this.rowHeight = 40, this.height = "", this.maxHeight = "", this.minHeight = "", this.resizableColumns = !0, this.hideHeader = !1, this.loading = !1, this.selectable = "clickable", this.indexColumn = "id", this.columnAlign = "left", this.columnVerticalAlign = "middle", this.sortField = "", this.sortDirection = "asc", this.dataTree = !1, this.treeChildrenField = "children", this.treeChildIndent = 20, this.groupBy = "", this.selectedRows = [], this.expandedKeys = /* @__PURE__ */ new Set(), this.collapsedGroups = /* @__PURE__ */ new Set(), this.virtualScrollTop = 0, this.viewportHeight = 0, this.scrolledX = !1, this.scrollableXEnd = !1, this.resizedWidths = {}, this.resizingKey = "", this.rangeAnchorKey = null, this.isDraggingRange = !1, this.dragBaseKeys = [], this.dragSelects = !0, this.autoExpandedKeys = /* @__PURE__ */ new Set(), this.resizeDrag = null, this.resizeFrame = 0, this.renderSelectedKeys = /* @__PURE__ */ new Set(), this.renderSelectableRows = [], this.cachedRenderRows = [], this.rowsDirty = !0, this.onWindowMouseUp = () => {
8842
8851
  this.isDraggingRange = !1;
@@ -8852,7 +8861,7 @@ const W0 = "anduin-table:sort", Y0 = "anduin-table:column-click", q0 = "anduin-t
8852
8861
  }));
8853
8862
  }, this.onResizeEnd = (e) => {
8854
8863
  const t = this.resizeDrag;
8855
- t && (this.resizeFrame && (cancelAnimationFrame(this.resizeFrame), this.resizeFrame = 0), this.resizedWidths = { ...this.resizedWidths, [t.key]: t.width }, this.resizeDrag = null, this.resizingKey = "", this.dispatchEvent(new CustomEvent(X3, {
8864
+ t && (this.resizeFrame && (cancelAnimationFrame(this.resizeFrame), this.resizeFrame = 0), this.resizedWidths = { ...this.resizedWidths, [t.key]: t.width }, this.resizeDrag = null, this.resizingKey = "", this.dispatchEvent(new CustomEvent(Xe, {
8856
8865
  detail: { column: e, field: t.key, width: t.width },
8857
8866
  bubbles: !0,
8858
8867
  composed: !0
@@ -9184,7 +9193,7 @@ const W0 = "anduin-table:sort", Y0 = "anduin-table:column-click", q0 = "anduin-t
9184
9193
  */
9185
9194
  fitColumnsMinWidth() {
9186
9195
  return this.layout !== "fit-columns" || !this.columns.some((e) => e.minWidth) ? 0 : this.columns.reduce((e, t, o) => {
9187
- const i = i1(t) && !t.width && !t.minWidth ? J3 : Math.max(this.widthFor(t, o) ?? 0, t.minWidth ?? 0);
9196
+ const i = i1(t) && !t.width && !t.minWidth ? Je : Math.max(this.widthFor(t, o) ?? 0, t.minWidth ?? 0);
9188
9197
  return e + i;
9189
9198
  }, 0);
9190
9199
  }
@@ -9210,7 +9219,7 @@ const W0 = "anduin-table:sort", Y0 = "anduin-table:column-click", q0 = "anduin-t
9210
9219
  const i = this.columnKey(t, o);
9211
9220
  if (this.resizedWidths[i] === void 0) return;
9212
9221
  const n = { ...this.resizedWidths };
9213
- delete n[i], this.resizedWidths = n, this.dispatchEvent(new CustomEvent(X3, {
9222
+ delete n[i], this.resizedWidths = n, this.dispatchEvent(new CustomEvent(Xe, {
9214
9223
  detail: { column: t, field: i, width: null },
9215
9224
  bubbles: !0,
9216
9225
  composed: !0
@@ -9254,17 +9263,17 @@ const W0 = "anduin-table:sort", Y0 = "anduin-table:column-click", q0 = "anduin-t
9254
9263
  ></span>
9255
9264
  ` : u;
9256
9265
  if (i1(e)) {
9257
- const v = this.renderSelectableRows, x = this.renderSelectedKeys, M = v.filter((t1) => x.has(t1.key)).length, S = v.length > 0 && M === v.length, U = M > 0 && !S, X1 = e.renderHeader ? e.renderHeader({
9258
- areAllRowsSelected: S,
9266
+ const v = this.renderSelectableRows, x = this.renderSelectedKeys, M = v.filter((t1) => x.has(t1.key)).length, A = v.length > 0 && M === v.length, U = M > 0 && !A, X1 = e.renderHeader ? e.renderHeader({
9267
+ areAllRowsSelected: A,
9259
9268
  hasSelectedRow: M > 0,
9260
9269
  onChange: (t1) => this.toggleAllRows(t1)
9261
9270
  }) : a`
9262
9271
  <anduin-checkbox
9263
- .checked=${S}
9272
+ .checked=${A}
9264
9273
  .indeterminate=${U}
9265
- aria-label="${S ? "Deselect all rows" : "Select all rows"}"
9274
+ aria-label="${A ? "Deselect all rows" : "Select all rows"}"
9266
9275
  @anduin-checkbox:change=${(t1) => {
9267
- t1.stopPropagation(), this.toggleAllRows(!S);
9276
+ t1.stopPropagation(), this.toggleAllRows(!A);
9268
9277
  }}
9269
9278
  ></anduin-checkbox>
9270
9279
  `;
@@ -9474,7 +9483,7 @@ const W0 = "anduin-table:sort", Y0 = "anduin-table:column-click", q0 = "anduin-t
9474
9483
  `;
9475
9484
  }
9476
9485
  };
9477
- f3.styles = g`
9486
+ fe.styles = g`
9478
9487
  :host {
9479
9488
  display: flex;
9480
9489
  flex-direction: column;
@@ -9691,7 +9700,7 @@ f3.styles = g`
9691
9700
  text-align: right;
9692
9701
  }
9693
9702
  .table__cell--selection {
9694
- width: ${J3}px;
9703
+ width: ${Je}px;
9695
9704
  padding: 8px 0 8px 12px;
9696
9705
  }
9697
9706
 
@@ -9840,113 +9849,113 @@ f3.styles = g`
9840
9849
  cursor: progress;
9841
9850
  }
9842
9851
  `;
9843
- let y = f3;
9852
+ let H = fe;
9844
9853
  L([
9845
9854
  s({ attribute: !1 })
9846
- ], y.prototype, "columns");
9855
+ ], H.prototype, "columns");
9847
9856
  L([
9848
9857
  s({ attribute: !1 })
9849
- ], y.prototype, "data");
9858
+ ], H.prototype, "data");
9850
9859
  L([
9851
9860
  s({ reflect: !0 })
9852
- ], y.prototype, "layout");
9861
+ ], H.prototype, "layout");
9853
9862
  L([
9854
9863
  s({ attribute: "render-mode", reflect: !0 })
9855
- ], y.prototype, "renderMode");
9864
+ ], H.prototype, "renderMode");
9856
9865
  L([
9857
9866
  s({ type: Number, attribute: "row-height" })
9858
- ], y.prototype, "rowHeight");
9867
+ ], H.prototype, "rowHeight");
9859
9868
  L([
9860
9869
  s()
9861
- ], y.prototype, "height");
9870
+ ], H.prototype, "height");
9862
9871
  L([
9863
9872
  s({ attribute: "max-height" })
9864
- ], y.prototype, "maxHeight");
9873
+ ], H.prototype, "maxHeight");
9865
9874
  L([
9866
9875
  s({ attribute: "min-height" })
9867
- ], y.prototype, "minHeight");
9876
+ ], H.prototype, "minHeight");
9868
9877
  L([
9869
9878
  s({
9870
9879
  attribute: "resizable-columns",
9871
9880
  converter: (r) => r !== "false"
9872
9881
  })
9873
- ], y.prototype, "resizableColumns");
9882
+ ], H.prototype, "resizableColumns");
9874
9883
  L([
9875
9884
  s({ type: Boolean, attribute: "hide-header", reflect: !0 })
9876
- ], y.prototype, "hideHeader");
9885
+ ], H.prototype, "hideHeader");
9877
9886
  L([
9878
9887
  s({ type: Boolean, reflect: !0 })
9879
- ], y.prototype, "loading");
9888
+ ], H.prototype, "loading");
9880
9889
  L([
9881
9890
  s({ reflect: !0 })
9882
- ], y.prototype, "selectable");
9891
+ ], H.prototype, "selectable");
9883
9892
  L([
9884
9893
  s({ attribute: "index-column" })
9885
- ], y.prototype, "indexColumn");
9894
+ ], H.prototype, "indexColumn");
9886
9895
  L([
9887
9896
  s({ attribute: "column-align" })
9888
- ], y.prototype, "columnAlign");
9897
+ ], H.prototype, "columnAlign");
9889
9898
  L([
9890
9899
  s({ attribute: "column-vertical-align" })
9891
- ], y.prototype, "columnVerticalAlign");
9900
+ ], H.prototype, "columnVerticalAlign");
9892
9901
  L([
9893
9902
  s({ attribute: "sort-field" })
9894
- ], y.prototype, "sortField");
9903
+ ], H.prototype, "sortField");
9895
9904
  L([
9896
9905
  s({ attribute: "sort-direction" })
9897
- ], y.prototype, "sortDirection");
9906
+ ], H.prototype, "sortDirection");
9898
9907
  L([
9899
9908
  s({ type: Boolean, attribute: "data-tree", reflect: !0 })
9900
- ], y.prototype, "dataTree");
9909
+ ], H.prototype, "dataTree");
9901
9910
  L([
9902
9911
  s({ attribute: "tree-children-field" })
9903
- ], y.prototype, "treeChildrenField");
9912
+ ], H.prototype, "treeChildrenField");
9904
9913
  L([
9905
9914
  s({ type: Number, attribute: "tree-child-indent" })
9906
- ], y.prototype, "treeChildIndent");
9915
+ ], H.prototype, "treeChildIndent");
9907
9916
  L([
9908
9917
  s({ attribute: "group-by" })
9909
- ], y.prototype, "groupBy");
9918
+ ], H.prototype, "groupBy");
9910
9919
  L([
9911
9920
  s({ attribute: !1 })
9912
- ], y.prototype, "selectedRows");
9921
+ ], H.prototype, "selectedRows");
9913
9922
  L([
9914
9923
  s({ attribute: !1 })
9915
- ], y.prototype, "isRowDisabled");
9924
+ ], H.prototype, "isRowDisabled");
9916
9925
  L([
9917
9926
  s({ attribute: !1 })
9918
- ], y.prototype, "onStartExpanded");
9927
+ ], H.prototype, "onStartExpanded");
9919
9928
  L([
9920
9929
  s({ attribute: !1 })
9921
- ], y.prototype, "rowClass");
9930
+ ], H.prototype, "rowClass");
9922
9931
  L([
9923
9932
  s({ attribute: !1 })
9924
- ], y.prototype, "renderGroupHeader");
9933
+ ], H.prototype, "renderGroupHeader");
9925
9934
  L([
9926
- H()
9927
- ], y.prototype, "expandedKeys");
9935
+ y()
9936
+ ], H.prototype, "expandedKeys");
9928
9937
  L([
9929
- H()
9930
- ], y.prototype, "collapsedGroups");
9938
+ y()
9939
+ ], H.prototype, "collapsedGroups");
9931
9940
  L([
9932
- H()
9933
- ], y.prototype, "virtualScrollTop");
9941
+ y()
9942
+ ], H.prototype, "virtualScrollTop");
9934
9943
  L([
9935
- H()
9936
- ], y.prototype, "viewportHeight");
9944
+ y()
9945
+ ], H.prototype, "viewportHeight");
9937
9946
  L([
9938
- H()
9939
- ], y.prototype, "scrolledX");
9947
+ y()
9948
+ ], H.prototype, "scrolledX");
9940
9949
  L([
9941
- H()
9942
- ], y.prototype, "scrollableXEnd");
9950
+ y()
9951
+ ], H.prototype, "scrollableXEnd");
9943
9952
  L([
9944
- H()
9945
- ], y.prototype, "resizedWidths");
9953
+ y()
9954
+ ], H.prototype, "resizedWidths");
9946
9955
  L([
9947
- H()
9948
- ], y.prototype, "resizingKey");
9949
- customElements.get("anduin-table") || customElements.define("anduin-table", y);
9956
+ y()
9957
+ ], H.prototype, "resizingKey");
9958
+ customElements.get("anduin-table") || customElements.define("anduin-table", H);
9950
9959
  export {
9951
9960
  F2 as $,
9952
9961
  T1 as A,
@@ -9986,17 +9995,17 @@ export {
9986
9995
  p2 as a5,
9987
9996
  w as a6,
9988
9997
  V2 as a7,
9989
- H2 as a8,
9998
+ y2 as a8,
9990
9999
  n1 as a9,
9991
10000
  j0 as aA,
9992
10001
  B0 as aB,
9993
10002
  o5 as aC,
9994
10003
  n2 as aD,
9995
- N3 as aE,
9996
- fe as aF,
10004
+ Ne as aE,
10005
+ f3 as aF,
9997
10006
  u1 as aG,
9998
10007
  l0 as aH,
9999
- A3 as aI,
10008
+ Ae as aI,
10000
10009
  V7 as aJ,
10001
10010
  m5 as aK,
10002
10011
  Q2 as aL,
@@ -10013,9 +10022,9 @@ export {
10013
10022
  E0 as aW,
10014
10023
  n5 as aX,
10015
10024
  _0 as aY,
10016
- y0 as aZ,
10025
+ H0 as aZ,
10017
10026
  u0 as a_,
10018
- y as aa,
10027
+ H as aa,
10019
10028
  I1 as ab,
10020
10029
  b2 as ac,
10021
10030
  N1 as ad,
@@ -10031,19 +10040,19 @@ export {
10031
10040
  L2 as an,
10032
10041
  Y as ao,
10033
10042
  q as ap,
10034
- y2 as aq,
10043
+ H2 as aq,
10035
10044
  h5 as ar,
10036
10045
  p5 as as,
10037
10046
  P2 as at,
10038
10047
  u5 as au,
10039
- Ce as av,
10048
+ C3 as av,
10040
10049
  M2 as aw,
10041
10050
  B5 as ax,
10042
10051
  _7 as ay,
10043
10052
  O5 as az,
10044
10053
  E2 as b,
10045
10054
  Y0 as b0,
10046
- X3 as b1,
10055
+ Xe as b1,
10047
10056
  tt as b2,
10048
10057
  q0 as b3,
10049
10058
  et as b4,
@@ -10051,7 +10060,7 @@ export {
10051
10060
  X0 as b6,
10052
10061
  W0 as b7,
10053
10062
  Z7 as b8,
10054
- ve as b9,
10063
+ v3 as b9,
10055
10064
  G2 as ba,
10056
10065
  R7 as bb,
10057
10066
  M7 as bc,
@@ -10060,17 +10069,17 @@ export {
10060
10069
  c5 as bf,
10061
10070
  P7 as bg,
10062
10071
  D7 as bh,
10063
- ye as bi,
10064
- _e as bj,
10072
+ H3 as bi,
10073
+ _3 as bj,
10065
10074
  W5 as bk,
10066
- be as bl,
10067
- He as bm,
10068
- Le as bn,
10075
+ b3 as bl,
10076
+ y3 as bm,
10077
+ L3 as bn,
10069
10078
  j7 as bo,
10070
10079
  c1 as bp,
10071
10080
  L1 as bq,
10072
- pe as br,
10073
- A as bs,
10081
+ p3 as br,
10082
+ D as bs,
10074
10083
  a0 as bt,
10075
10084
  F1 as bu,
10076
10085
  lt as bv,