@duyluonganduin/acl-web-components 0.0.40 → 0.0.42

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,18 +3,18 @@
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
5
  */
6
- const Y1 = globalThis, A2 = Y1.ShadowRoot && (Y1.ShadyCSS === void 0 || Y1.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, B2 = Symbol(), O5 = /* @__PURE__ */ new WeakMap();
7
- let d4 = class {
6
+ const Q1 = globalThis, O2 = Q1.ShadowRoot && (Q1.ShadyCSS === void 0 || Q1.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, I2 = Symbol(), G5 = /* @__PURE__ */ new WeakMap();
7
+ let f4 = class {
8
8
  constructor(e, t, i) {
9
- if (this._$cssResult$ = !0, i !== B2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
9
+ if (this._$cssResult$ = !0, i !== I2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
10
10
  this.cssText = e, this.t = t;
11
11
  }
12
12
  get styleSheet() {
13
13
  let e = this.o;
14
14
  const t = this.t;
15
- if (A2 && e === void 0) {
15
+ if (O2 && e === void 0) {
16
16
  const i = t !== void 0 && t.length === 1;
17
- i && (e = O5.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), i && O5.set(t, e));
17
+ i && (e = G5.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), i && G5.set(t, e));
18
18
  }
19
19
  return e;
20
20
  }
@@ -22,33 +22,33 @@ let d4 = class {
22
22
  return this.cssText;
23
23
  }
24
24
  };
25
- const B4 = (r) => new d4(typeof r == "string" ? r : r + "", void 0, B2), g = (r, ...e) => {
25
+ const T4 = (r) => new f4(typeof r == "string" ? r : r + "", void 0, I2), g = (r, ...e) => {
26
26
  const t = r.length === 1 ? r[0] : e.reduce((i, o, l) => i + ((n) => {
27
27
  if (n._$cssResult$ === !0) return n.cssText;
28
28
  if (typeof n == "number") return n;
29
29
  throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
30
30
  })(o) + r[l + 1], r[0]);
31
- return new d4(t, r, B2);
32
- }, P4 = (r, e) => {
33
- if (A2) r.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
31
+ return new f4(t, r, I2);
32
+ }, N4 = (r, e) => {
33
+ if (O2) r.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
34
34
  else for (const t of e) {
35
- const i = document.createElement("style"), o = Y1.litNonce;
35
+ const i = document.createElement("style"), o = Q1.litNonce;
36
36
  o !== void 0 && i.setAttribute("nonce", o), i.textContent = t.cssText, r.appendChild(i);
37
37
  }
38
- }, D5 = A2 ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((e) => {
38
+ }, q5 = O2 ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((e) => {
39
39
  let t = "";
40
40
  for (const i of e.cssRules) t += i.cssText;
41
- return B4(t);
41
+ return T4(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: S4, defineProperty: F4, getOwnPropertyDescriptor: O4, getOwnPropertyNames: D4, getOwnPropertySymbols: I4, getPrototypeOf: T4 } = Object, W = globalThis, I5 = W.trustedTypes, N4 = I5 ? I5.emptyScript : "", s2 = W.reactiveElementPolyfillSupport, x1 = (r, e) => r, X1 = { toAttribute(r, e) {
48
+ const { is: j4, defineProperty: U4, getOwnPropertyDescriptor: G4, getOwnPropertyNames: q4, getOwnPropertySymbols: W4, getPrototypeOf: Y4 } = Object, W = globalThis, W5 = W.trustedTypes, X4 = W5 ? W5.emptyScript : "", p2 = W.reactiveElementPolyfillSupport, k1 = (r, e) => r, e2 = { toAttribute(r, e) {
49
49
  switch (e) {
50
50
  case Boolean:
51
- r = r ? N4 : null;
51
+ r = r ? X4 : null;
52
52
  break;
53
53
  case Object:
54
54
  case Array:
@@ -73,23 +73,23 @@ const { is: S4, defineProperty: F4, getOwnPropertyDescriptor: O4, getOwnProperty
73
73
  }
74
74
  }
75
75
  return t;
76
- } }, P2 = (r, e) => !S4(r, e), T5 = { attribute: !0, type: String, converter: X1, reflect: !1, useDefault: !1, hasChanged: P2 };
76
+ } }, D2 = (r, e) => !j4(r, e), Y5 = { attribute: !0, type: String, converter: e2, reflect: !1, useDefault: !1, hasChanged: D2 };
77
77
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), W.litPropertyMetadata ?? (W.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
78
- let g1 = class extends HTMLElement {
78
+ let v1 = class extends HTMLElement {
79
79
  static addInitializer(e) {
80
80
  this._$Ei(), (this.l ?? (this.l = [])).push(e);
81
81
  }
82
82
  static get observedAttributes() {
83
83
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
84
84
  }
85
- static createProperty(e, t = T5) {
85
+ static createProperty(e, t = Y5) {
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 i = Symbol(), o = this.getPropertyDescriptor(e, i, t);
88
- o !== void 0 && F4(this.prototype, e, o);
88
+ o !== void 0 && U4(this.prototype, e, o);
89
89
  }
90
90
  }
91
91
  static getPropertyDescriptor(e, t, i) {
92
- const { get: o, set: l } = O4(this.prototype, e) ?? { get() {
92
+ const { get: o, set: l } = G4(this.prototype, e) ?? { get() {
93
93
  return this[t];
94
94
  }, set(n) {
95
95
  this[t] = n;
@@ -100,17 +100,17 @@ let g1 = class extends HTMLElement {
100
100
  }, configurable: !0, enumerable: !0 };
101
101
  }
102
102
  static getPropertyOptions(e) {
103
- return this.elementProperties.get(e) ?? T5;
103
+ return this.elementProperties.get(e) ?? Y5;
104
104
  }
105
105
  static _$Ei() {
106
- if (this.hasOwnProperty(x1("elementProperties"))) return;
107
- const e = T4(this);
106
+ if (this.hasOwnProperty(k1("elementProperties"))) return;
107
+ const e = Y4(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
- if (this.hasOwnProperty(x1("finalized"))) return;
112
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(x1("properties"))) {
113
- const t = this.properties, i = [...D4(t), ...I4(t)];
111
+ if (this.hasOwnProperty(k1("finalized"))) return;
112
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(k1("properties"))) {
113
+ const t = this.properties, i = [...q4(t), ...W4(t)];
114
114
  for (const o of i) this.createProperty(o, t[o]);
115
115
  }
116
116
  const e = this[Symbol.metadata];
@@ -129,8 +129,8 @@ let g1 = class extends HTMLElement {
129
129
  const t = [];
130
130
  if (Array.isArray(e)) {
131
131
  const i = new Set(e.flat(1 / 0).reverse());
132
- for (const o of i) t.unshift(D5(o));
133
- } else e !== void 0 && t.push(D5(e));
132
+ for (const o of i) t.unshift(q5(o));
133
+ } else e !== void 0 && t.push(q5(e));
134
134
  return t;
135
135
  }
136
136
  static _$Eu(e, t) {
@@ -159,7 +159,7 @@ let g1 = class extends HTMLElement {
159
159
  }
160
160
  createRenderRoot() {
161
161
  const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
162
- return P4(e, this.constructor.elementStyles), e;
162
+ return N4(e, this.constructor.elementStyles), e;
163
163
  }
164
164
  connectedCallback() {
165
165
  var e;
@@ -184,7 +184,7 @@ let g1 = class extends HTMLElement {
184
184
  var l;
185
185
  const i = this.constructor.elementProperties.get(e), o = this.constructor._$Eu(e, i);
186
186
  if (o !== void 0 && i.reflect === !0) {
187
- const n = (((l = i.converter) == null ? void 0 : l.toAttribute) !== void 0 ? i.converter : X1).toAttribute(t, i.type);
187
+ const n = (((l = i.converter) == null ? void 0 : l.toAttribute) !== void 0 ? i.converter : e2).toAttribute(t, i.type);
188
188
  this._$Em = e, n == null ? this.removeAttribute(o) : this.setAttribute(o, n), this._$Em = null;
189
189
  }
190
190
  }
@@ -192,7 +192,7 @@ let g1 = class extends HTMLElement {
192
192
  var l, n;
193
193
  const i = this.constructor, o = i._$Eh.get(e);
194
194
  if (o !== void 0 && this._$Em !== o) {
195
- const s = i.getPropertyOptions(o), d = typeof s.converter == "function" ? { fromAttribute: s.converter } : ((l = s.converter) == null ? void 0 : l.fromAttribute) !== void 0 ? s.converter : X1;
195
+ const s = i.getPropertyOptions(o), d = typeof s.converter == "function" ? { fromAttribute: s.converter } : ((l = s.converter) == null ? void 0 : l.fromAttribute) !== void 0 ? s.converter : e2;
196
196
  this._$Em = o;
197
197
  const p = d.fromAttribute(t, s.type);
198
198
  this[o] = p ?? ((n = this._$Ej) == null ? void 0 : n.get(o)) ?? p, this._$Em = null;
@@ -202,7 +202,7 @@ let g1 = class extends HTMLElement {
202
202
  var n;
203
203
  if (e !== void 0) {
204
204
  const s = this.constructor;
205
- if (o === !1 && (l = this[e]), i ?? (i = s.getPropertyOptions(e)), !((i.hasChanged ?? P2)(l, t) || i.useDefault && i.reflect && l === ((n = this._$Ej) == null ? void 0 : n.get(e)) && !this.hasAttribute(s._$Eu(e, i)))) return;
205
+ if (o === !1 && (l = this[e]), i ?? (i = s.getPropertyOptions(e)), !((i.hasChanged ?? D2)(l, t) || i.useDefault && i.reflect && l === ((n = this._$Ej) == null ? void 0 : n.get(e)) && !this.hasAttribute(s._$Eu(e, i)))) return;
206
206
  this.C(e, t, i);
207
207
  }
208
208
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
@@ -278,56 +278,56 @@ let g1 = class extends HTMLElement {
278
278
  firstUpdated(e) {
279
279
  }
280
280
  };
281
- g1.elementStyles = [], g1.shadowRootOptions = { mode: "open" }, g1[x1("elementProperties")] = /* @__PURE__ */ new Map(), g1[x1("finalized")] = /* @__PURE__ */ new Map(), s2 == null || s2({ ReactiveElement: g1 }), (W.reactiveElementVersions ?? (W.reactiveElementVersions = [])).push("2.1.2");
281
+ v1.elementStyles = [], v1.shadowRootOptions = { mode: "open" }, v1[k1("elementProperties")] = /* @__PURE__ */ new Map(), v1[k1("finalized")] = /* @__PURE__ */ new Map(), p2 == null || p2({ ReactiveElement: v1 }), (W.reactiveElementVersions ?? (W.reactiveElementVersions = [])).push("2.1.2");
282
282
  /**
283
283
  * @license
284
284
  * Copyright 2017 Google LLC
285
285
  * SPDX-License-Identifier: BSD-3-Clause
286
286
  */
287
- const w1 = globalThis, N5 = (r) => r, K1 = w1.trustedTypes, j5 = K1 ? K1.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, c4 = "$lit$", q = `lit$${Math.random().toFixed(9).slice(2)}$`, p4 = "?" + q, j4 = `<${p4}>`, n1 = document, R1 = () => n1.createComment(""), k1 = (r) => r === null || typeof r != "object" && typeof r != "function", S2 = Array.isArray, U4 = (r) => S2(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", C2 = `[
288
- \f\r]`, Z1 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, U5 = /-->/g, G5 = />/g, i1 = RegExp(`>|${C2}(?:([^\\s"'>=/]+)(${C2}*=${C2}*(?:[^
289
- \f\r"'\`<>=]|("|')|))|$)`, "g"), q5 = /'/g, W5 = /"/g, u4 = /^(?:script|style|textarea|title)$/i, h4 = (r) => (e, ...t) => ({ _$litType$: r, strings: e, values: t }), C = h4(1), J1 = h4(2), a1 = Symbol.for("lit-noChange"), c = Symbol.for("lit-nothing"), Y5 = /* @__PURE__ */ new WeakMap(), l1 = n1.createTreeWalker(n1, 129);
290
- function g4(r, e) {
291
- if (!S2(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
292
- return j5 !== void 0 ? j5.createHTML(e) : e;
287
+ const $1 = globalThis, X5 = (r) => r, t2 = $1.trustedTypes, K5 = t2 ? t2.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, H4 = "$lit$", q = `lit$${Math.random().toFixed(9).slice(2)}$`, m4 = "?" + q, K4 = `<${m4}>`, a1 = document, E1 = () => a1.createComment(""), z1 = (r) => r === null || typeof r != "object" && typeof r != "function", T2 = Array.isArray, J4 = (r) => T2(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", u2 = `[
288
+ \f\r]`, x1 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, J5 = /-->/g, Q5 = />/g, l1 = RegExp(`>|${u2}(?:([^\\s"'>=/]+)(${u2}*=${u2}*(?:[^
289
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), e4 = /'/g, t4 = /"/g, V4 = /^(?:script|style|textarea|title)$/i, b4 = (r) => (e, ...t) => ({ _$litType$: r, strings: e, values: t }), C = b4(1), o2 = b4(2), s1 = Symbol.for("lit-noChange"), c = Symbol.for("lit-nothing"), o4 = /* @__PURE__ */ new WeakMap(), r1 = a1.createTreeWalker(a1, 129);
290
+ function L4(r, e) {
291
+ if (!T2(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
292
+ return K5 !== void 0 ? K5.createHTML(e) : e;
293
293
  }
294
- const G4 = (r, e) => {
294
+ const Q4 = (r, e) => {
295
295
  const t = r.length - 1, i = [];
296
- let o, l = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", n = Z1;
296
+ let o, l = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", n = x1;
297
297
  for (let s = 0; s < t; s++) {
298
298
  const d = r[s];
299
299
  let p, h, v = -1, H = 0;
300
- for (; H < d.length && (n.lastIndex = H, h = n.exec(d), h !== null); ) H = n.lastIndex, n === Z1 ? h[1] === "!--" ? n = U5 : h[1] !== void 0 ? n = G5 : h[2] !== void 0 ? (u4.test(h[2]) && (o = RegExp("</" + h[2], "g")), n = i1) : h[3] !== void 0 && (n = i1) : n === i1 ? h[0] === ">" ? (n = o ?? Z1, v = -1) : h[1] === void 0 ? v = -2 : (v = n.lastIndex - h[2].length, p = h[1], n = h[3] === void 0 ? i1 : h[3] === '"' ? W5 : q5) : n === W5 || n === q5 ? n = i1 : n === U5 || n === G5 ? n = Z1 : (n = i1, o = void 0);
301
- const f = n === i1 && r[s + 1].startsWith("/>") ? " " : "";
302
- l += n === Z1 ? d + j4 : v >= 0 ? (i.push(p), d.slice(0, v) + c4 + d.slice(v) + q + f) : d + q + (v === -2 ? s : f);
300
+ for (; H < d.length && (n.lastIndex = H, h = n.exec(d), h !== null); ) H = n.lastIndex, n === x1 ? h[1] === "!--" ? n = J5 : h[1] !== void 0 ? n = Q5 : h[2] !== void 0 ? (V4.test(h[2]) && (o = RegExp("</" + h[2], "g")), n = l1) : h[3] !== void 0 && (n = l1) : n === l1 ? h[0] === ">" ? (n = o ?? x1, v = -1) : h[1] === void 0 ? v = -2 : (v = n.lastIndex - h[2].length, p = h[1], n = h[3] === void 0 ? l1 : h[3] === '"' ? t4 : e4) : n === t4 || n === e4 ? n = l1 : n === J5 || n === Q5 ? n = x1 : (n = l1, o = void 0);
301
+ const f = n === l1 && r[s + 1].startsWith("/>") ? " " : "";
302
+ l += n === x1 ? d + K4 : v >= 0 ? (i.push(p), d.slice(0, v) + H4 + d.slice(v) + q + f) : d + q + (v === -2 ? s : f);
303
303
  }
304
- return [g4(r, l + (r[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), i];
304
+ return [L4(r, l + (r[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), i];
305
305
  };
306
- class $1 {
306
+ class A1 {
307
307
  constructor({ strings: e, _$litType$: t }, i) {
308
308
  let o;
309
309
  this.parts = [];
310
310
  let l = 0, n = 0;
311
- const s = e.length - 1, d = this.parts, [p, h] = G4(e, t);
312
- if (this.el = $1.createElement(p, i), l1.currentNode = this.el.content, t === 2 || t === 3) {
311
+ const s = e.length - 1, d = this.parts, [p, h] = Q4(e, t);
312
+ if (this.el = A1.createElement(p, i), r1.currentNode = this.el.content, t === 2 || t === 3) {
313
313
  const v = this.el.content.firstChild;
314
314
  v.replaceWith(...v.childNodes);
315
315
  }
316
- for (; (o = l1.nextNode()) !== null && d.length < s; ) {
316
+ for (; (o = r1.nextNode()) !== null && d.length < s; ) {
317
317
  if (o.nodeType === 1) {
318
- if (o.hasAttributes()) for (const v of o.getAttributeNames()) if (v.endsWith(c4)) {
318
+ if (o.hasAttributes()) for (const v of o.getAttributeNames()) if (v.endsWith(H4)) {
319
319
  const H = h[n++], f = o.getAttribute(v).split(q), Z = /([.?@])?(.*)/.exec(H);
320
- d.push({ type: 1, index: l, name: Z[2], strings: f, ctor: Z[1] === "." ? W4 : Z[1] === "?" ? Y4 : Z[1] === "@" ? X4 : n2 }), o.removeAttribute(v);
320
+ d.push({ type: 1, index: l, name: Z[2], strings: f, ctor: Z[1] === "." ? t3 : Z[1] === "?" ? o3 : Z[1] === "@" ? i3 : d2 }), o.removeAttribute(v);
321
321
  } else v.startsWith(q) && (d.push({ type: 6, index: l }), o.removeAttribute(v));
322
- if (u4.test(o.tagName)) {
322
+ if (V4.test(o.tagName)) {
323
323
  const v = o.textContent.split(q), H = v.length - 1;
324
324
  if (H > 0) {
325
- o.textContent = K1 ? K1.emptyScript : "";
326
- for (let f = 0; f < H; f++) o.append(v[f], R1()), l1.nextNode(), d.push({ type: 2, index: ++l });
327
- o.append(v[H], R1());
325
+ o.textContent = t2 ? t2.emptyScript : "";
326
+ for (let f = 0; f < H; f++) o.append(v[f], E1()), r1.nextNode(), d.push({ type: 2, index: ++l });
327
+ o.append(v[H], E1());
328
328
  }
329
329
  }
330
- } else if (o.nodeType === 8) if (o.data === p4) d.push({ type: 2, index: l });
330
+ } else if (o.nodeType === 8) if (o.data === m4) d.push({ type: 2, index: l });
331
331
  else {
332
332
  let v = -1;
333
333
  for (; (v = o.data.indexOf(q, v + 1)) !== -1; ) d.push({ type: 7, index: l }), v += q.length - 1;
@@ -336,18 +336,18 @@ class $1 {
336
336
  }
337
337
  }
338
338
  static createElement(e, t) {
339
- const i = n1.createElement("template");
339
+ const i = a1.createElement("template");
340
340
  return i.innerHTML = e, i;
341
341
  }
342
342
  }
343
- function v1(r, e, t = r, i) {
343
+ function f1(r, e, t = r, i) {
344
344
  var n, s;
345
- if (e === a1) return e;
345
+ if (e === s1) return e;
346
346
  let o = i !== void 0 ? (n = t._$Co) == null ? void 0 : n[i] : t._$Cl;
347
- const l = k1(e) ? void 0 : e._$litDirective$;
348
- return (o == null ? void 0 : o.constructor) !== l && ((s = o == null ? void 0 : o._$AO) == null || s.call(o, !1), l === void 0 ? o = void 0 : (o = new l(r), o._$AT(r, t, i)), i !== void 0 ? (t._$Co ?? (t._$Co = []))[i] = o : t._$Cl = o), o !== void 0 && (e = v1(r, o._$AS(r, e.values), o, i)), e;
347
+ const l = z1(e) ? void 0 : e._$litDirective$;
348
+ return (o == null ? void 0 : o.constructor) !== l && ((s = o == null ? void 0 : o._$AO) == null || s.call(o, !1), l === void 0 ? o = void 0 : (o = new l(r), o._$AT(r, t, i)), i !== void 0 ? (t._$Co ?? (t._$Co = []))[i] = o : t._$Cl = o), o !== void 0 && (e = f1(r, o._$AS(r, e.values), o, i)), e;
349
349
  }
350
- class q4 {
350
+ class e3 {
351
351
  constructor(e, t) {
352
352
  this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
353
353
  }
@@ -358,24 +358,24 @@ class q4 {
358
358
  return this._$AM._$AU;
359
359
  }
360
360
  u(e) {
361
- const { el: { content: t }, parts: i } = this._$AD, o = ((e == null ? void 0 : e.creationScope) ?? n1).importNode(t, !0);
362
- l1.currentNode = o;
363
- let l = l1.nextNode(), n = 0, s = 0, d = i[0];
361
+ const { el: { content: t }, parts: i } = this._$AD, o = ((e == null ? void 0 : e.creationScope) ?? a1).importNode(t, !0);
362
+ r1.currentNode = o;
363
+ let l = r1.nextNode(), n = 0, s = 0, d = i[0];
364
364
  for (; d !== void 0; ) {
365
365
  if (n === d.index) {
366
366
  let p;
367
- d.type === 2 ? p = new U1(l, l.nextSibling, this, e) : d.type === 1 ? p = new d.ctor(l, d.name, d.strings, this, e) : d.type === 6 && (p = new K4(l, this, e)), this._$AV.push(p), d = i[++s];
367
+ d.type === 2 ? p = new Y1(l, l.nextSibling, this, e) : d.type === 1 ? p = new d.ctor(l, d.name, d.strings, this, e) : d.type === 6 && (p = new l3(l, this, e)), this._$AV.push(p), d = i[++s];
368
368
  }
369
- n !== (d == null ? void 0 : d.index) && (l = l1.nextNode(), n++);
369
+ n !== (d == null ? void 0 : d.index) && (l = r1.nextNode(), n++);
370
370
  }
371
- return l1.currentNode = n1, o;
371
+ return r1.currentNode = a1, o;
372
372
  }
373
373
  p(e) {
374
374
  let t = 0;
375
375
  for (const i of this._$AV) i !== void 0 && (i.strings !== void 0 ? (i._$AI(e, i, t), t += i.strings.length - 2) : i._$AI(e[t])), t++;
376
376
  }
377
377
  }
378
- class U1 {
378
+ class Y1 {
379
379
  get _$AU() {
380
380
  var e;
381
381
  return ((e = this._$AM) == null ? void 0 : e._$AU) ?? this._$Cv;
@@ -395,7 +395,7 @@ class U1 {
395
395
  return this._$AB;
396
396
  }
397
397
  _$AI(e, t = this) {
398
- e = v1(this, e, t), k1(e) ? e === c || e == null || e === "" ? (this._$AH !== c && this._$AR(), this._$AH = c) : e !== this._$AH && e !== a1 && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : U4(e) ? this.k(e) : this._(e);
398
+ e = f1(this, e, t), z1(e) ? e === c || e == null || e === "" ? (this._$AH !== c && this._$AR(), this._$AH = c) : e !== this._$AH && e !== s1 && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : J4(e) ? this.k(e) : this._(e);
399
399
  }
400
400
  O(e) {
401
401
  return this._$AA.parentNode.insertBefore(e, this._$AB);
@@ -404,33 +404,33 @@ class U1 {
404
404
  this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
405
405
  }
406
406
  _(e) {
407
- this._$AH !== c && k1(this._$AH) ? this._$AA.nextSibling.data = e : this.T(n1.createTextNode(e)), this._$AH = e;
407
+ this._$AH !== c && z1(this._$AH) ? this._$AA.nextSibling.data = e : this.T(a1.createTextNode(e)), this._$AH = e;
408
408
  }
409
409
  $(e) {
410
410
  var l;
411
- const { values: t, _$litType$: i } = e, o = typeof i == "number" ? this._$AC(e) : (i.el === void 0 && (i.el = $1.createElement(g4(i.h, i.h[0]), this.options)), i);
411
+ const { values: t, _$litType$: i } = e, o = typeof i == "number" ? this._$AC(e) : (i.el === void 0 && (i.el = A1.createElement(L4(i.h, i.h[0]), this.options)), i);
412
412
  if (((l = this._$AH) == null ? void 0 : l._$AD) === o) this._$AH.p(t);
413
413
  else {
414
- const n = new q4(o, this), s = n.u(this.options);
414
+ const n = new e3(o, this), s = n.u(this.options);
415
415
  n.p(t), this.T(s), this._$AH = n;
416
416
  }
417
417
  }
418
418
  _$AC(e) {
419
- let t = Y5.get(e.strings);
420
- return t === void 0 && Y5.set(e.strings, t = new $1(e)), t;
419
+ let t = o4.get(e.strings);
420
+ return t === void 0 && o4.set(e.strings, t = new A1(e)), t;
421
421
  }
422
422
  k(e) {
423
- S2(this._$AH) || (this._$AH = [], this._$AR());
423
+ T2(this._$AH) || (this._$AH = [], this._$AR());
424
424
  const t = this._$AH;
425
425
  let i, o = 0;
426
- for (const l of e) o === t.length ? t.push(i = new U1(this.O(R1()), this.O(R1()), this, this.options)) : i = t[o], i._$AI(l), o++;
426
+ for (const l of e) o === t.length ? t.push(i = new Y1(this.O(E1()), this.O(E1()), this, this.options)) : i = t[o], i._$AI(l), o++;
427
427
  o < t.length && (this._$AR(i && i._$AB.nextSibling, o), t.length = o);
428
428
  }
429
429
  _$AR(e = this._$AA.nextSibling, t) {
430
430
  var i;
431
431
  for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, t); e !== this._$AB; ) {
432
- const o = N5(e).nextSibling;
433
- N5(e).remove(), e = o;
432
+ const o = X5(e).nextSibling;
433
+ X5(e).remove(), e = o;
434
434
  }
435
435
  }
436
436
  setConnected(e) {
@@ -438,7 +438,7 @@ class U1 {
438
438
  this._$AM === void 0 && (this._$Cv = e, (t = this._$AP) == null || t.call(this, e));
439
439
  }
440
440
  }
441
- class n2 {
441
+ class d2 {
442
442
  get tagName() {
443
443
  return this.element.tagName;
444
444
  }
@@ -451,11 +451,11 @@ class n2 {
451
451
  _$AI(e, t = this, i, o) {
452
452
  const l = this.strings;
453
453
  let n = !1;
454
- if (l === void 0) e = v1(this, e, t, 0), n = !k1(e) || e !== this._$AH && e !== a1, n && (this._$AH = e);
454
+ if (l === void 0) e = f1(this, e, t, 0), n = !z1(e) || e !== this._$AH && e !== s1, n && (this._$AH = e);
455
455
  else {
456
456
  const s = e;
457
457
  let d, p;
458
- for (e = l[0], d = 0; d < l.length - 1; d++) p = v1(this, s[i + d], t, d), p === a1 && (p = this._$AH[d]), n || (n = !k1(p) || p !== this._$AH[d]), p === c ? e = c : e !== c && (e += (p ?? "") + l[d + 1]), this._$AH[d] = p;
458
+ for (e = l[0], d = 0; d < l.length - 1; d++) p = f1(this, s[i + d], t, d), p === s1 && (p = this._$AH[d]), n || (n = !z1(p) || p !== this._$AH[d]), p === c ? e = c : e !== c && (e += (p ?? "") + l[d + 1]), this._$AH[d] = p;
459
459
  }
460
460
  n && !o && this.j(e);
461
461
  }
@@ -463,7 +463,7 @@ class n2 {
463
463
  e === c ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
464
464
  }
465
465
  }
466
- class W4 extends n2 {
466
+ class t3 extends d2 {
467
467
  constructor() {
468
468
  super(...arguments), this.type = 3;
469
469
  }
@@ -471,7 +471,7 @@ class W4 extends n2 {
471
471
  this.element[this.name] = e === c ? void 0 : e;
472
472
  }
473
473
  }
474
- class Y4 extends n2 {
474
+ class o3 extends d2 {
475
475
  constructor() {
476
476
  super(...arguments), this.type = 4;
477
477
  }
@@ -479,12 +479,12 @@ class Y4 extends n2 {
479
479
  this.element.toggleAttribute(this.name, !!e && e !== c);
480
480
  }
481
481
  }
482
- class X4 extends n2 {
482
+ class i3 extends d2 {
483
483
  constructor(e, t, i, o, l) {
484
484
  super(e, t, i, o, l), this.type = 5;
485
485
  }
486
486
  _$AI(e, t = this) {
487
- if ((e = v1(this, e, t, 0) ?? c) === a1) return;
487
+ if ((e = f1(this, e, t, 0) ?? c) === s1) return;
488
488
  const i = this._$AH, o = e === c && i !== c || e.capture !== i.capture || e.once !== i.once || e.passive !== i.passive, l = e !== c && (i === c || o);
489
489
  o && this.element.removeEventListener(this.name, this, i), l && this.element.addEventListener(this.name, this, e), this._$AH = e;
490
490
  }
@@ -493,7 +493,7 @@ class X4 extends n2 {
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 K4 {
496
+ class l3 {
497
497
  constructor(e, t, i) {
498
498
  this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = i;
499
499
  }
@@ -501,17 +501,17 @@ class K4 {
501
501
  return this._$AM._$AU;
502
502
  }
503
503
  _$AI(e) {
504
- v1(this, e);
504
+ f1(this, e);
505
505
  }
506
506
  }
507
- const d2 = w1.litHtmlPolyfillSupport;
508
- d2 == null || d2($1, U1), (w1.litHtmlVersions ?? (w1.litHtmlVersions = [])).push("3.3.2");
509
- const J4 = (r, e, t) => {
507
+ const h2 = $1.litHtmlPolyfillSupport;
508
+ h2 == null || h2(A1, Y1), ($1.litHtmlVersions ?? ($1.litHtmlVersions = [])).push("3.3.2");
509
+ const r3 = (r, e, t) => {
510
510
  const i = (t == null ? void 0 : t.renderBefore) ?? e;
511
511
  let o = i._$litPart$;
512
512
  if (o === void 0) {
513
513
  const l = (t == null ? void 0 : t.renderBefore) ?? null;
514
- i._$litPart$ = o = new U1(e.insertBefore(R1(), l), l, void 0, t ?? {});
514
+ i._$litPart$ = o = new Y1(e.insertBefore(E1(), l), l, void 0, t ?? {});
515
515
  }
516
516
  return o._$AI(r), o;
517
517
  };
@@ -520,8 +520,8 @@ const J4 = (r, e, t) => {
520
520
  * Copyright 2017 Google LLC
521
521
  * SPDX-License-Identifier: BSD-3-Clause
522
522
  */
523
- const r1 = globalThis;
524
- let u = class extends g1 {
523
+ const n1 = globalThis;
524
+ let u = class extends v1 {
525
525
  constructor() {
526
526
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
527
527
  }
@@ -532,7 +532,7 @@ let u = class extends g1 {
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 = J4(t, this.renderRoot, this.renderOptions);
535
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = r3(t, this.renderRoot, this.renderOptions);
536
536
  }
537
537
  connectedCallback() {
538
538
  var e;
@@ -543,20 +543,20 @@ let u = class extends g1 {
543
543
  super.disconnectedCallback(), (e = this._$Do) == null || e.setConnected(!1);
544
544
  }
545
545
  render() {
546
- return a1;
546
+ return s1;
547
547
  }
548
548
  };
549
- var C4;
550
- u._$litElement$ = !0, u.finalized = !0, (C4 = r1.litElementHydrateSupport) == null || C4.call(r1, { LitElement: u });
551
- const c2 = r1.litElementPolyfillSupport;
552
- c2 == null || c2({ LitElement: u });
553
- (r1.litElementVersions ?? (r1.litElementVersions = [])).push("4.2.2");
549
+ var v4;
550
+ u._$litElement$ = !0, u.finalized = !0, (v4 = n1.litElementHydrateSupport) == null || v4.call(n1, { LitElement: u });
551
+ const g2 = n1.litElementPolyfillSupport;
552
+ g2 == null || g2({ LitElement: u });
553
+ (n1.litElementVersions ?? (n1.litElementVersions = [])).push("4.2.2");
554
554
  /**
555
555
  * @license
556
556
  * Copyright 2017 Google LLC
557
557
  * SPDX-License-Identifier: BSD-3-Clause
558
558
  */
559
- const Q4 = { attribute: !0, type: String, converter: X1, reflect: !1, hasChanged: P2 }, e3 = (r = Q4, e, t) => {
559
+ const n3 = { attribute: !0, type: String, converter: e2, reflect: !1, hasChanged: D2 }, a3 = (r = n3, e, t) => {
560
560
  const { kind: i, metadata: o } = t;
561
561
  let l = globalThis.litPropertyMetadata.get(o);
562
562
  if (l === void 0 && globalThis.litPropertyMetadata.set(o, l = /* @__PURE__ */ new Map()), i === "setter" && ((r = Object.create(r)).wrapped = !0), l.set(t.name, r), i === "accessor") {
@@ -578,7 +578,7 @@ const Q4 = { attribute: !0, type: String, converter: X1, reflect: !1, hasChanged
578
578
  throw Error("Unsupported decorator location: " + i);
579
579
  };
580
580
  function a(r) {
581
- return (e, t) => typeof t == "object" ? e3(r, e, t) : ((i, o, l) => {
581
+ return (e, t) => typeof t == "object" ? a3(r, e, t) : ((i, o, l) => {
582
582
  const n = o.hasOwnProperty(l);
583
583
  return o.constructor.createProperty(l, i), n ? Object.getOwnPropertyDescriptor(o, l) : void 0;
584
584
  })(r, e, t);
@@ -588,7 +588,7 @@ function a(r) {
588
588
  * Copyright 2017 Google LLC
589
589
  * SPDX-License-Identifier: BSD-3-Clause
590
590
  */
591
- function m(r) {
591
+ function V(r) {
592
592
  return a({ ...r, state: !0, attribute: !1 });
593
593
  }
594
594
  /**
@@ -596,29 +596,29 @@ function m(r) {
596
596
  * Copyright 2017 Google LLC
597
597
  * SPDX-License-Identifier: BSD-3-Clause
598
598
  */
599
- const t3 = (r, e, t) => (t.configurable = !0, t.enumerable = !0, Reflect.decorate && typeof e != "object" && Object.defineProperty(r, e, t), t);
599
+ const s3 = (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
603
603
  * SPDX-License-Identifier: BSD-3-Clause
604
604
  */
605
- function k(r, e) {
605
+ function R(r, e) {
606
606
  return (t, i, o) => {
607
607
  const l = (n) => {
608
608
  var s;
609
609
  return ((s = n.renderRoot) == null ? void 0 : s.querySelector(r)) ?? null;
610
610
  };
611
- return t3(t, i, { get() {
611
+ return s3(t, i, { get() {
612
612
  return l(this);
613
613
  } });
614
614
  };
615
615
  }
616
- var o3 = Object.defineProperty, v4 = (r, e, t, i) => {
616
+ var C3 = Object.defineProperty, y4 = (r, e, t, i) => {
617
617
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
618
618
  (n = r[l]) && (o = n(e, t, o) || o);
619
- return o && o3(e, t, o), o;
619
+ return o && C3(e, t, o), o;
620
620
  };
621
- const I2 = class I2 extends u {
621
+ const G2 = class G2 extends u {
622
622
  constructor() {
623
623
  super(...arguments), this.size = "medium", this.percent = "";
624
624
  }
@@ -641,7 +641,7 @@ const I2 = class I2 extends u {
641
641
  let o;
642
642
  i ? o = 0.75 * Math.PI * e : o = (1 - Math.max(0, Math.min(1, parseFloat(this.percent) || 0))) * Math.PI * e;
643
643
  const l = t / 2, n = t + e, s = e / 2, d = Math.PI * e;
644
- return J1`
644
+ return o2`
645
645
  <svg
646
646
  class=${i ? "spinner" : ""}
647
647
  width="${e}px"
@@ -675,31 +675,31 @@ const I2 = class I2 extends u {
675
675
  `;
676
676
  }
677
677
  };
678
- I2.styles = g`
678
+ G2.styles = g`
679
679
  :host { display: inline-block; line-height: 0; font-family: var(--font-sans); }
680
680
  .spinner { animation: circle 0.6s linear infinite; }
681
681
  @keyframes circle { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
682
682
  `;
683
- let E1 = I2;
684
- v4([
683
+ let B1 = G2;
684
+ y4([
685
685
  a()
686
- ], E1.prototype, "size");
687
- v4([
686
+ ], B1.prototype, "size");
687
+ y4([
688
688
  a()
689
- ], E1.prototype, "percent");
690
- customElements.get("anduin-spinner") || customElements.define("anduin-spinner", E1);
691
- var i3 = Object.defineProperty, f4 = (r, e, t, i) => {
689
+ ], B1.prototype, "percent");
690
+ customElements.get("anduin-spinner") || customElements.define("anduin-spinner", B1);
691
+ var d3 = Object.defineProperty, M4 = (r, e, t, i) => {
692
692
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
693
693
  (n = r[l]) && (o = n(e, t, o) || o);
694
- return o && i3(e, t, o), o;
694
+ return o && d3(e, t, o), o;
695
695
  };
696
- const X5 = "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", l3 = { small: 16, medium: 24, large: 32 }, T2 = class T2 extends u {
696
+ const i4 = "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", c3 = { small: 16, medium: 24, large: 32 }, q2 = class q2 extends u {
697
697
  constructor() {
698
698
  super(...arguments), this.size = "small", this.color = "default";
699
699
  }
700
700
  render() {
701
- const e = l3[this.size] ?? 16;
702
- return J1`
701
+ const e = c3[this.size] ?? 16;
702
+ return o2`
703
703
  <svg
704
704
  xmlns="http://www.w3.org/2000/svg"
705
705
  width="${e}"
@@ -708,13 +708,13 @@ const X5 = "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="${X5}"/>
712
- <path class="star star-2" d="${X5}"/>
711
+ <path class="star" d="${i4}"/>
712
+ <path class="star star-2" d="${i4}"/>
713
713
  </svg>
714
714
  `;
715
715
  }
716
716
  };
717
- T2.styles = g`
717
+ q2.styles = g`
718
718
  :host { display: inline-block; line-height: 0; }
719
719
 
720
720
  /* ── Colors ─────────────────────────────────────────────────── */
@@ -753,15 +753,15 @@ T2.styles = g`
753
753
  100% { transform: translate(12px, 12px) scale(0.5); opacity: 0; }
754
754
  }
755
755
  `;
756
- let z1 = T2;
757
- f4([
756
+ let P1 = q2;
757
+ M4([
758
758
  a({ reflect: !0 })
759
- ], z1.prototype, "size");
760
- f4([
759
+ ], P1.prototype, "size");
760
+ M4([
761
761
  a({ reflect: !0 })
762
- ], z1.prototype, "color");
763
- customElements.get("anduin-sparkle-spinner") || customElements.define("anduin-sparkle-spinner", z1);
764
- const K5 = {
762
+ ], P1.prototype, "color");
763
+ customElements.get("anduin-sparkle-spinner") || customElements.define("anduin-sparkle-spinner", P1);
764
+ const l4 = {
765
765
  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" }],
766
766
  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" }],
767
767
  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" }],
@@ -1118,18 +1118,18 @@ const K5 = {
1118
1118
  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" }],
1119
1119
  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" }]
1120
1120
  };
1121
- var r3 = Object.defineProperty, H4 = (r, e, t, i) => {
1121
+ var p3 = Object.defineProperty, Z4 = (r, e, t, i) => {
1122
1122
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1123
1123
  (n = r[l]) && (o = n(e, t, o) || o);
1124
- return o && r3(e, t, o), o;
1124
+ return o && p3(e, t, o), o;
1125
1125
  };
1126
- const N2 = class N2 extends u {
1126
+ const W2 = class W2 extends u {
1127
1127
  constructor() {
1128
1128
  super(...arguments), this.name = "", this.size = 16;
1129
1129
  }
1130
1130
  render() {
1131
- const e = this.name && K5[this.name] ? K5[this.name] : [], t = !this.name;
1132
- return J1`
1131
+ const e = this.name && l4[this.name] ? l4[this.name] : [], t = !this.name;
1132
+ return o2`
1133
1133
  <svg
1134
1134
  class=${t ? "icon--hidden" : ""}
1135
1135
  xmlns="http://www.w3.org/2000/svg"
@@ -1139,7 +1139,7 @@ const N2 = class N2 extends u {
1139
1139
  viewBox="0 0 16 16"
1140
1140
  >
1141
1141
  ${e.map(
1142
- (i) => J1`
1142
+ (i) => o2`
1143
1143
  <path
1144
1144
  fill="currentColor"
1145
1145
  d="${i.d}"
@@ -1151,24 +1151,24 @@ const N2 = class N2 extends u {
1151
1151
  `;
1152
1152
  }
1153
1153
  };
1154
- N2.styles = g`
1154
+ W2.styles = g`
1155
1155
  :host { display: block; line-height: 0; font-family: var(--font-sans); }
1156
1156
  .icon--hidden { display: none; }
1157
1157
  `;
1158
- let A1 = N2;
1159
- H4([
1158
+ let S1 = W2;
1159
+ Z4([
1160
1160
  a()
1161
- ], A1.prototype, "name");
1162
- H4([
1161
+ ], S1.prototype, "name");
1162
+ Z4([
1163
1163
  a({ type: Number })
1164
- ], A1.prototype, "size");
1165
- customElements.get("anduin-icon") || customElements.define("anduin-icon", A1);
1166
- var n3 = Object.defineProperty, a3 = (r, e, t, i) => {
1164
+ ], S1.prototype, "size");
1165
+ customElements.get("anduin-icon") || customElements.define("anduin-icon", S1);
1166
+ var u3 = Object.defineProperty, h3 = (r, e, t, i) => {
1167
1167
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1168
1168
  (n = r[l]) && (o = n(e, t, o) || o);
1169
- return o && n3(e, t, o), o;
1169
+ return o && u3(e, t, o), o;
1170
1170
  };
1171
- const V4 = g`
1171
+ const _4 = g`
1172
1172
  :host { display: inline-block; font-family: var(--font-sans); }
1173
1173
  .badge {
1174
1174
  border-radius: 9999px;
@@ -1195,7 +1195,7 @@ const V4 = g`
1195
1195
  .badge--bold-warning { background-color: var(--color-semantic-warning-3); color: var(--color-semantic-gray-8); }
1196
1196
  .badge--hidden { display: none; }
1197
1197
  `;
1198
- function m4(r) {
1198
+ function x4(r) {
1199
1199
  return {
1200
1200
  gray: "badge--light-gray",
1201
1201
  primary: "badge--light-primary",
@@ -1209,27 +1209,27 @@ function m4(r) {
1209
1209
  boldDanger: "badge--bold-danger"
1210
1210
  }[r || "gray"] || "badge--light-gray";
1211
1211
  }
1212
- const j2 = class j2 extends u {
1212
+ const Y2 = class Y2 extends u {
1213
1213
  constructor() {
1214
1214
  super(...arguments), this.variant = "gray";
1215
1215
  }
1216
1216
  render() {
1217
- const e = m4(this.variant);
1217
+ const e = x4(this.variant);
1218
1218
  return C`<div class="badge ${e}" part="badge"><slot></slot></div>`;
1219
1219
  }
1220
1220
  };
1221
- j2.styles = [V4];
1222
- let Q1 = j2;
1223
- a3([
1221
+ Y2.styles = [_4];
1222
+ let i2 = Y2;
1223
+ h3([
1224
1224
  a()
1225
- ], Q1.prototype, "variant");
1226
- customElements.get("anduin-badge") || customElements.define("anduin-badge", Q1);
1227
- var s3 = Object.defineProperty, L4 = (r, e, t, i) => {
1225
+ ], i2.prototype, "variant");
1226
+ customElements.get("anduin-badge") || customElements.define("anduin-badge", i2);
1227
+ var g3 = Object.defineProperty, w4 = (r, e, t, i) => {
1228
1228
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1229
1229
  (n = r[l]) && (o = n(e, t, o) || o);
1230
- return o && s3(e, t, o), o;
1230
+ return o && g3(e, t, o), o;
1231
1231
  };
1232
- const U2 = class U2 extends u {
1232
+ const X2 = class X2 extends u {
1233
1233
  constructor() {
1234
1234
  super(...arguments), this.variant = "gray", this.count = 0;
1235
1235
  }
@@ -1237,7 +1237,7 @@ const U2 = class U2 extends u {
1237
1237
  return e > 99 ? "99+" : e.toString();
1238
1238
  }
1239
1239
  render() {
1240
- const e = m4(this.variant), t = this.count === 0, i = this.count > 0 && this.count < 10, o = [
1240
+ const e = x4(this.variant), t = this.count === 0, i = this.count > 0 && this.count < 10, o = [
1241
1241
  "badge",
1242
1242
  e,
1243
1243
  t ? "badge--hidden" : "",
@@ -1246,24 +1246,24 @@ const U2 = class U2 extends u {
1246
1246
  return C`<div class="${o}" part="badge">${this.formatCount(this.count)}</div>`;
1247
1247
  }
1248
1248
  };
1249
- U2.styles = [V4];
1250
- let B1 = U2;
1251
- L4([
1249
+ X2.styles = [_4];
1250
+ let F1 = X2;
1251
+ w4([
1252
1252
  a()
1253
- ], B1.prototype, "variant");
1254
- L4([
1253
+ ], F1.prototype, "variant");
1254
+ w4([
1255
1255
  a({ type: Number })
1256
- ], B1.prototype, "count");
1257
- customElements.get("anduin-badge-count") || customElements.define("anduin-badge-count", B1);
1258
- var C3 = Object.defineProperty, _ = (r, e, t, i) => {
1256
+ ], F1.prototype, "count");
1257
+ customElements.get("anduin-badge-count") || customElements.define("anduin-badge-count", F1);
1258
+ var v3 = Object.defineProperty, _ = (r, e, t, i) => {
1259
1259
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1260
1260
  (n = r[l]) && (o = n(e, t, o) || o);
1261
- return o && C3(e, t, o), o;
1261
+ return o && v3(e, t, o), o;
1262
1262
  };
1263
- function d3(r) {
1263
+ function f3(r) {
1264
1264
  return r.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);
1265
1265
  }
1266
- const G2 = class G2 extends u {
1266
+ const K2 = class K2 extends u {
1267
1267
  constructor() {
1268
1268
  super(...arguments), this.iconOnly = !1, this.appearance = "filled", this.variant = "", this.size = "medium", this.disabled = !1, this.loading = !1, this.fullWidth = !1, this.pill = !1, this.selected = !1, this.href = "", this.openNewTab = !1, this.download = "", this.startIcon = "", this.endIcon = "", this.label = "";
1269
1269
  }
@@ -1280,7 +1280,7 @@ const G2 = class G2 extends u {
1280
1280
  return this.variant ? this.variant : this.appearance === "filled" ? "gray0" : this.appearance === "text" ? "primary" : "gray9";
1281
1281
  }
1282
1282
  getSizeKebab() {
1283
- return d3(this.size);
1283
+ return f3(this.size);
1284
1284
  }
1285
1285
  iconSize() {
1286
1286
  return this.size === "tiny" || this.size === "extraSmall" || this.size === "small" ? "12" : "16";
@@ -1324,7 +1324,7 @@ const G2 = class G2 extends u {
1324
1324
  `;
1325
1325
  }
1326
1326
  };
1327
- G2.styles = g`
1327
+ K2.styles = g`
1328
1328
  :host { display: inline-block; font-family: var(--font-sans); }
1329
1329
  :host([full-width]) { display: block; width: 100%; }
1330
1330
  .button {
@@ -1437,59 +1437,59 @@ G2.styles = g`
1437
1437
  .button--icon-only.button--medium { width: 32px; min-width: 32px; padding-left: 0; padding-right: 0; }
1438
1438
  .button--icon-only.button--large { width: 40px; min-width: 40px; padding-left: 0; padding-right: 0; }
1439
1439
  `;
1440
- let b = G2;
1440
+ let L = K2;
1441
1441
  _([
1442
- m()
1443
- ], b.prototype, "iconOnly");
1442
+ V()
1443
+ ], L.prototype, "iconOnly");
1444
1444
  _([
1445
1445
  a({ converter: (r) => r || "filled" })
1446
- ], b.prototype, "appearance");
1446
+ ], L.prototype, "appearance");
1447
1447
  _([
1448
1448
  a()
1449
- ], b.prototype, "variant");
1449
+ ], L.prototype, "variant");
1450
1450
  _([
1451
1451
  a()
1452
- ], b.prototype, "size");
1452
+ ], L.prototype, "size");
1453
1453
  _([
1454
1454
  a({ type: Boolean })
1455
- ], b.prototype, "disabled");
1455
+ ], L.prototype, "disabled");
1456
1456
  _([
1457
1457
  a({ type: Boolean })
1458
- ], b.prototype, "loading");
1458
+ ], L.prototype, "loading");
1459
1459
  _([
1460
1460
  a({ type: Boolean, attribute: "full-width", reflect: !0 })
1461
- ], b.prototype, "fullWidth");
1461
+ ], L.prototype, "fullWidth");
1462
1462
  _([
1463
1463
  a({ type: Boolean })
1464
- ], b.prototype, "pill");
1464
+ ], L.prototype, "pill");
1465
1465
  _([
1466
1466
  a({ type: Boolean })
1467
- ], b.prototype, "selected");
1467
+ ], L.prototype, "selected");
1468
1468
  _([
1469
1469
  a()
1470
- ], b.prototype, "href");
1470
+ ], L.prototype, "href");
1471
1471
  _([
1472
1472
  a({ type: Boolean, attribute: "open-new-tab" })
1473
- ], b.prototype, "openNewTab");
1473
+ ], L.prototype, "openNewTab");
1474
1474
  _([
1475
1475
  a()
1476
- ], b.prototype, "download");
1476
+ ], L.prototype, "download");
1477
1477
  _([
1478
1478
  a({ attribute: "start-icon" })
1479
- ], b.prototype, "startIcon");
1479
+ ], L.prototype, "startIcon");
1480
1480
  _([
1481
1481
  a({ attribute: "end-icon" })
1482
- ], b.prototype, "endIcon");
1482
+ ], L.prototype, "endIcon");
1483
1483
  _([
1484
1484
  a()
1485
- ], b.prototype, "label");
1486
- customElements.get("anduin-button") || customElements.define("anduin-button", b);
1487
- var c3 = Object.defineProperty, p3 = (r, e, t, i) => {
1485
+ ], L.prototype, "label");
1486
+ customElements.get("anduin-button") || customElements.define("anduin-button", L);
1487
+ var H3 = Object.defineProperty, m3 = (r, e, t, i) => {
1488
1488
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1489
1489
  (n = r[l]) && (o = n(e, t, o) || o);
1490
- return o && c3(e, t, o), o;
1490
+ return o && H3(e, t, o), o;
1491
1491
  };
1492
- const q2 = class q2 extends u {
1492
+ const J2 = class J2 extends u {
1493
1493
  constructor() {
1494
1494
  super(...arguments), this.variant = "gray";
1495
1495
  }
@@ -1502,7 +1502,7 @@ const q2 = class q2 extends u {
1502
1502
  `;
1503
1503
  }
1504
1504
  };
1505
- q2.styles = g`
1505
+ J2.styles = g`
1506
1506
  :host { display: block; font-family: var(--font-sans); }
1507
1507
  .callout {
1508
1508
  display: flex; align-items: center; justify-content: center;
@@ -1514,17 +1514,17 @@ q2.styles = g`
1514
1514
  .callout--danger { background-color: var(--color-semantic-danger-4); color: var(--color-semantic-gray-0); }
1515
1515
  .callout--warning { background-color: var(--color-semantic-warning-3); color: var(--color-semantic-gray-8); }
1516
1516
  `;
1517
- let e2 = q2;
1518
- p3([
1517
+ let l2 = J2;
1518
+ m3([
1519
1519
  a()
1520
- ], e2.prototype, "variant");
1521
- customElements.get("anduin-callout") || customElements.define("anduin-callout", e2);
1522
- var u3 = Object.defineProperty, b4 = (r, e, t, i) => {
1520
+ ], l2.prototype, "variant");
1521
+ customElements.get("anduin-callout") || customElements.define("anduin-callout", l2);
1522
+ var V3 = Object.defineProperty, R4 = (r, e, t, i) => {
1523
1523
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1524
1524
  (n = r[l]) && (o = n(e, t, o) || o);
1525
- return o && u3(e, t, o), o;
1525
+ return o && V3(e, t, o), o;
1526
1526
  };
1527
- const W2 = class W2 extends u {
1527
+ const Q2 = class Q2 extends u {
1528
1528
  constructor() {
1529
1529
  super(...arguments), this.direction = "horizontal", this.hasContent = !1;
1530
1530
  }
@@ -1555,7 +1555,7 @@ const W2 = class W2 extends u {
1555
1555
  </div>` : C`<div class="divider--horizontal divider--horizontal-empty"><slot @slotchange=${this.onSlotChange}></slot></div>`;
1556
1556
  }
1557
1557
  };
1558
- W2.styles = g`
1558
+ Q2.styles = g`
1559
1559
  :host { display: block; width: 100%; font-family: var(--font-sans); }
1560
1560
  :host([direction="vertical"]) { width: auto; height: 100%; }
1561
1561
  .divider--horizontal { margin-top: 8px; margin-bottom: 8px; width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; column-gap: 8px; text-align: center; }
@@ -1565,20 +1565,20 @@ W2.styles = g`
1565
1565
  .divider--vertical-empty { background-color: var(--color-gray-3); width: 1px; }
1566
1566
  .divider__line--vertical { border-left: 1px solid var(--color-gray-3); justify-self: center; }
1567
1567
  `;
1568
- let P1 = W2;
1569
- b4([
1568
+ let O1 = Q2;
1569
+ R4([
1570
1570
  a({ reflect: !0 })
1571
- ], P1.prototype, "direction");
1572
- b4([
1573
- m()
1574
- ], P1.prototype, "hasContent");
1575
- customElements.get("anduin-divider") || customElements.define("anduin-divider", P1);
1576
- var h3 = Object.defineProperty, g3 = (r, e, t, i) => {
1571
+ ], O1.prototype, "direction");
1572
+ R4([
1573
+ V()
1574
+ ], O1.prototype, "hasContent");
1575
+ customElements.get("anduin-divider") || customElements.define("anduin-divider", O1);
1576
+ var b3 = Object.defineProperty, L3 = (r, e, t, i) => {
1577
1577
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1578
1578
  (n = r[l]) && (o = n(e, t, o) || o);
1579
- return o && h3(e, t, o), o;
1579
+ return o && b3(e, t, o), o;
1580
1580
  };
1581
- const Y2 = class Y2 extends u {
1581
+ const e5 = class e5 extends u {
1582
1582
  constructor() {
1583
1583
  super(...arguments), this.variant = "gray";
1584
1584
  }
@@ -1586,7 +1586,7 @@ const Y2 = class Y2 extends u {
1586
1586
  return C`<div class="dot dot--${this.variant}" part="dot"></div>`;
1587
1587
  }
1588
1588
  };
1589
- Y2.styles = g`
1589
+ e5.styles = g`
1590
1590
  :host { display: inline-block; font-family: var(--font-sans); }
1591
1591
  .dot { width: 10px; height: 10px; border-radius: 9999px; }
1592
1592
  .dot--gray { background-color: var(--color-semantic-gray-6); color: var(--color-semantic-gray-0); }
@@ -1595,17 +1595,17 @@ Y2.styles = g`
1595
1595
  .dot--danger { background-color: var(--color-semantic-danger-4); color: var(--color-semantic-gray-0); }
1596
1596
  .dot--warning { background-color: var(--color-semantic-warning-3); color: var(--color-semantic-gray-8); }
1597
1597
  `;
1598
- let t2 = Y2;
1599
- g3([
1598
+ let r2 = e5;
1599
+ L3([
1600
1600
  a()
1601
- ], t2.prototype, "variant");
1602
- customElements.get("anduin-dot") || customElements.define("anduin-dot", t2);
1603
- var v3 = Object.defineProperty, y4 = (r, e, t, i) => {
1601
+ ], r2.prototype, "variant");
1602
+ customElements.get("anduin-dot") || customElements.define("anduin-dot", r2);
1603
+ var y3 = Object.defineProperty, k4 = (r, e, t, i) => {
1604
1604
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1605
1605
  (n = r[l]) && (o = n(e, t, o) || o);
1606
- return o && v3(e, t, o), o;
1606
+ return o && y3(e, t, o), o;
1607
1607
  };
1608
- const X2 = class X2 extends u {
1608
+ const t5 = class t5 extends u {
1609
1609
  constructor() {
1610
1610
  super(...arguments), this.percent = "", this.height = "medium";
1611
1611
  }
@@ -1621,7 +1621,7 @@ const X2 = class X2 extends u {
1621
1621
  `;
1622
1622
  }
1623
1623
  };
1624
- X2.styles = g`
1624
+ t5.styles = g`
1625
1625
  :host { display: block; font-family: var(--font-sans); }
1626
1626
  .progress { overflow-x: hidden; position: relative; border-radius: 9999px; }
1627
1627
  .progress__fill {
@@ -1637,20 +1637,20 @@ X2.styles = g`
1637
1637
  to { transform: translateX(330%); }
1638
1638
  }
1639
1639
  `;
1640
- let S1 = X2;
1641
- y4([
1640
+ let I1 = t5;
1641
+ k4([
1642
1642
  a()
1643
- ], S1.prototype, "percent");
1644
- y4([
1643
+ ], I1.prototype, "percent");
1644
+ k4([
1645
1645
  a()
1646
- ], S1.prototype, "height");
1647
- customElements.get("anduin-progress") || customElements.define("anduin-progress", S1);
1648
- var f3 = Object.defineProperty, y1 = (r, e, t, i) => {
1646
+ ], I1.prototype, "height");
1647
+ customElements.get("anduin-progress") || customElements.define("anduin-progress", I1);
1648
+ var M3 = Object.defineProperty, M1 = (r, e, t, i) => {
1649
1649
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1650
1650
  (n = r[l]) && (o = n(e, t, o) || o);
1651
- return o && f3(e, t, o), o;
1651
+ return o && M3(e, t, o), o;
1652
1652
  };
1653
- const K2 = class K2 extends u {
1653
+ const o5 = class o5 extends u {
1654
1654
  constructor() {
1655
1655
  super(...arguments), this.effect = "pulse", this.shape = "rectangle", this.height = "", this.width = "100%", this.duration = 1500, this.fontSize = "";
1656
1656
  }
@@ -1669,7 +1669,7 @@ const K2 = class K2 extends u {
1669
1669
  `;
1670
1670
  }
1671
1671
  };
1672
- K2.styles = g`
1672
+ o5.styles = g`
1673
1673
  :host { display: block; height: 100%; font-family: var(--font-sans); }
1674
1674
  .skeleton { background-color: var(--color-gray-3); position: relative; overflow: hidden; }
1675
1675
  .skeleton--circle { border-radius: 9999px; }
@@ -1688,32 +1688,32 @@ K2.styles = g`
1688
1688
  0% { transform: translateX(-100%); } 100% { transform: translateX(100%); }
1689
1689
  }
1690
1690
  `;
1691
- let I = K2;
1692
- y1([
1691
+ let D = o5;
1692
+ M1([
1693
1693
  a()
1694
- ], I.prototype, "effect");
1695
- y1([
1694
+ ], D.prototype, "effect");
1695
+ M1([
1696
1696
  a()
1697
- ], I.prototype, "shape");
1698
- y1([
1697
+ ], D.prototype, "shape");
1698
+ M1([
1699
1699
  a()
1700
- ], I.prototype, "height");
1701
- y1([
1700
+ ], D.prototype, "height");
1701
+ M1([
1702
1702
  a()
1703
- ], I.prototype, "width");
1704
- y1([
1703
+ ], D.prototype, "width");
1704
+ M1([
1705
1705
  a({ type: Number })
1706
- ], I.prototype, "duration");
1707
- y1([
1706
+ ], D.prototype, "duration");
1707
+ M1([
1708
1708
  a({ attribute: "font-size" })
1709
- ], I.prototype, "fontSize");
1710
- customElements.get("anduin-skeleton") || customElements.define("anduin-skeleton", I);
1711
- var H3 = Object.defineProperty, V3 = (r, e, t, i) => {
1709
+ ], D.prototype, "fontSize");
1710
+ customElements.get("anduin-skeleton") || customElements.define("anduin-skeleton", D);
1711
+ var Z3 = Object.defineProperty, _3 = (r, e, t, i) => {
1712
1712
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1713
1713
  (n = r[l]) && (o = n(e, t, o) || o);
1714
- return o && H3(e, t, o), o;
1714
+ return o && Z3(e, t, o), o;
1715
1715
  };
1716
- const J2 = class J2 extends u {
1716
+ const i5 = class i5 extends u {
1717
1717
  constructor() {
1718
1718
  super(...arguments), this.height = "256px";
1719
1719
  }
@@ -1728,30 +1728,30 @@ const J2 = class J2 extends u {
1728
1728
  `;
1729
1729
  }
1730
1730
  };
1731
- J2.styles = g`
1731
+ i5.styles = g`
1732
1732
  :host { display: block; height: 100%; font-family: var(--font-sans); }
1733
1733
  .loading-state { display: flex; flex-direction: column; justify-content: center; align-items: center; }
1734
1734
  .loading-state__indicator { color: var(--color-primary-4); }
1735
1735
  .loading-state__content { margin-top: 12px; font-size: 15px; color: var(--color-gray-6); }
1736
1736
  `;
1737
- let o2 = J2;
1738
- V3([
1737
+ let n2 = i5;
1738
+ _3([
1739
1739
  a()
1740
- ], o2.prototype, "height");
1741
- customElements.get("anduin-loading-state") || customElements.define("anduin-loading-state", o2);
1742
- var m3 = Object.defineProperty, F2 = (r, e, t, i) => {
1740
+ ], n2.prototype, "height");
1741
+ customElements.get("anduin-loading-state") || customElements.define("anduin-loading-state", n2);
1742
+ var x3 = Object.defineProperty, N2 = (r, e, t, i) => {
1743
1743
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1744
1744
  (n = r[l]) && (o = n(e, t, o) || o);
1745
- return o && m3(e, t, o), o;
1745
+ return o && x3(e, t, o), o;
1746
1746
  };
1747
- const M4 = "anduin-field:label-click", M1 = "anduin-field:label-click-coordinated", Q2 = class Q2 extends u {
1747
+ const $4 = "anduin-field:label-click", Z1 = "anduin-field:label-click-coordinated", l5 = class l5 extends u {
1748
1748
  constructor() {
1749
1749
  super(...arguments), this.orientation = "vertical";
1750
1750
  }
1751
1751
  connectedCallback() {
1752
- super.connectedCallback(), this.addEventListener(M4, (e) => {
1752
+ super.connectedCallback(), this.addEventListener($4, (e) => {
1753
1753
  const t = e;
1754
- this.dispatchEvent(new CustomEvent(M1, {
1754
+ this.dispatchEvent(new CustomEvent(Z1, {
1755
1755
  detail: t.detail,
1756
1756
  bubbles: !1,
1757
1757
  composed: !1
@@ -1767,17 +1767,17 @@ const M4 = "anduin-field:label-click", M1 = "anduin-field:label-click-coordinate
1767
1767
  `;
1768
1768
  }
1769
1769
  };
1770
- Q2.styles = g`
1770
+ l5.styles = g`
1771
1771
  :host { display: block; font-family: var(--font-sans); }
1772
1772
  .field { display: flex; flex-wrap: wrap; }
1773
1773
  .field--vertical { flex-direction: column; row-gap: 4px; }
1774
1774
  .field--horizontal { column-gap: 4px; }
1775
1775
  `;
1776
- let i2 = Q2;
1777
- F2([
1776
+ let a2 = l5;
1777
+ N2([
1778
1778
  a()
1779
- ], i2.prototype, "orientation");
1780
- const e5 = class e5 extends u {
1779
+ ], a2.prototype, "orientation");
1780
+ const r5 = class r5 extends u {
1781
1781
  constructor() {
1782
1782
  super(...arguments), this.htmlfor = "", this.required = !1;
1783
1783
  }
@@ -1785,7 +1785,7 @@ const e5 = class e5 extends u {
1785
1785
  super.connectedCallback();
1786
1786
  }
1787
1787
  onLabelClick(e) {
1788
- this.htmlfor && (e.preventDefault(), this.dispatchEvent(new CustomEvent(M4, {
1788
+ this.htmlfor && (e.preventDefault(), this.dispatchEvent(new CustomEvent($4, {
1789
1789
  detail: this.htmlfor,
1790
1790
  bubbles: !0,
1791
1791
  composed: !0
@@ -1804,72 +1804,72 @@ const e5 = class e5 extends u {
1804
1804
  `;
1805
1805
  }
1806
1806
  };
1807
- e5.styles = g`
1807
+ r5.styles = g`
1808
1808
  :host { display: inline-block; font-family: var(--font-sans); }
1809
1809
  .field-label { font-size: 13px; line-height: 20px; font-weight: 600; cursor: default; color: var(--color-gray-8, #101828); }
1810
1810
  .field-label__required { color: var(--color-danger-5); }
1811
1811
  `;
1812
- let F1 = e5;
1813
- F2([
1812
+ let D1 = r5;
1813
+ N2([
1814
1814
  a()
1815
- ], F1.prototype, "htmlfor");
1816
- F2([
1815
+ ], D1.prototype, "htmlfor");
1816
+ N2([
1817
1817
  a({ type: Boolean })
1818
- ], F1.prototype, "required");
1819
- const t5 = class t5 extends u {
1818
+ ], D1.prototype, "required");
1819
+ const n5 = class n5 extends u {
1820
1820
  render() {
1821
1821
  return C`<div class="field-description" part="description"><slot></slot></div>`;
1822
1822
  }
1823
1823
  };
1824
- t5.styles = g`
1824
+ n5.styles = g`
1825
1825
  :host { display: inline-block; font-family: var(--font-sans); }
1826
1826
  .field-description { display: block; line-height: 16px; font-size: 11px; color: var(--color-gray-7); }
1827
1827
  `;
1828
- let f2 = t5;
1829
- const o5 = class o5 extends u {
1828
+ let b2 = n5;
1829
+ const a5 = class a5 extends u {
1830
1830
  render() {
1831
1831
  return C`<div class="field-error" part="error"><slot></slot></div>`;
1832
1832
  }
1833
1833
  };
1834
- o5.styles = g`
1834
+ a5.styles = g`
1835
1835
  :host { display: block; font-family: var(--font-sans); }
1836
1836
  .field-error { color: var(--color-danger-4); }
1837
1837
  `;
1838
- let H2 = o5;
1839
- const i5 = class i5 extends u {
1838
+ let L2 = a5;
1839
+ const s5 = class s5 extends u {
1840
1840
  render() {
1841
1841
  return C`<div class="field-group" part="group"><slot></slot></div>`;
1842
1842
  }
1843
1843
  };
1844
- i5.styles = g`
1844
+ s5.styles = g`
1845
1845
  :host { display: block; font-family: var(--font-sans); }
1846
1846
  .field-group { display: flex; flex-direction: column; row-gap: 24px; }
1847
1847
  `;
1848
- let V2 = i5;
1849
- customElements.get("anduin-field") || customElements.define("anduin-field", i2);
1850
- customElements.get("anduin-field-label") || customElements.define("anduin-field-label", F1);
1851
- customElements.get("anduin-field-description") || customElements.define("anduin-field-description", f2);
1852
- customElements.get("anduin-field-error") || customElements.define("anduin-field-error", H2);
1853
- customElements.get("anduin-field-group") || customElements.define("anduin-field-group", V2);
1854
- var L3 = Object.defineProperty, G1 = (r, e, t, i) => {
1848
+ let y2 = s5;
1849
+ customElements.get("anduin-field") || customElements.define("anduin-field", a2);
1850
+ customElements.get("anduin-field-label") || customElements.define("anduin-field-label", D1);
1851
+ customElements.get("anduin-field-description") || customElements.define("anduin-field-description", b2);
1852
+ customElements.get("anduin-field-error") || customElements.define("anduin-field-error", L2);
1853
+ customElements.get("anduin-field-group") || customElements.define("anduin-field-group", y2);
1854
+ var w3 = Object.defineProperty, X1 = (r, e, t, i) => {
1855
1855
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1856
1856
  (n = r[l]) && (o = n(e, t, o) || o);
1857
- return o && L3(e, t, o), o;
1857
+ return o && w3(e, t, o), o;
1858
1858
  };
1859
- const b3 = "anduin-checkbox:change", l5 = class l5 extends u {
1859
+ const R3 = "anduin-checkbox:change", C5 = class C5 extends u {
1860
1860
  constructor() {
1861
1861
  super(...arguments), this.checked = !1, this.disabled = !1, this.indeterminate = !1, this.readonly = !1, this.inputid = "";
1862
1862
  }
1863
1863
  connectedCallback() {
1864
1864
  super.connectedCallback();
1865
1865
  const e = this.closest("anduin-field");
1866
- e && e.addEventListener(M1, (t) => {
1866
+ e && e.addEventListener(Z1, (t) => {
1867
1867
  const i = t;
1868
1868
  this.inputid && this.inputid === i.detail && !this.disabled && !this.readonly && this.toggle();
1869
1869
  });
1870
1870
  }
1871
1871
  toggle() {
1872
- this.checked = !this.checked, this.dispatchEvent(new CustomEvent(b3, {
1872
+ this.checked = !this.checked, this.dispatchEvent(new CustomEvent(R3, {
1873
1873
  detail: this.checked,
1874
1874
  bubbles: !0,
1875
1875
  composed: !0
@@ -1910,7 +1910,7 @@ const b3 = "anduin-checkbox:change", l5 = class l5 extends u {
1910
1910
  `;
1911
1911
  }
1912
1912
  };
1913
- l5.styles = g`
1913
+ C5.styles = g`
1914
1914
  :host { display: inline-flex; font-family: var(--font-sans); }
1915
1915
 
1916
1916
  label {
@@ -1948,36 +1948,36 @@ l5.styles = g`
1948
1948
  .checkbox__icon { position: absolute; inset: 0; pointer-events: none; color: var(--color-gray-4); display: flex; align-items: center; justify-content: center; }
1949
1949
  .checkbox__icon--visible { color: var(--color-gray-0); }
1950
1950
  `;
1951
- let X = l5;
1952
- G1([
1951
+ let X = C5;
1952
+ X1([
1953
1953
  a({ type: Boolean })
1954
1954
  ], X.prototype, "checked");
1955
- G1([
1955
+ X1([
1956
1956
  a({ type: Boolean })
1957
1957
  ], X.prototype, "disabled");
1958
- G1([
1958
+ X1([
1959
1959
  a({ type: Boolean })
1960
1960
  ], X.prototype, "indeterminate");
1961
- G1([
1961
+ X1([
1962
1962
  a({ type: Boolean })
1963
1963
  ], X.prototype, "readonly");
1964
- G1([
1964
+ X1([
1965
1965
  a()
1966
1966
  ], X.prototype, "inputid");
1967
1967
  customElements.get("anduin-checkbox") || customElements.define("anduin-checkbox", X);
1968
- var y3 = Object.defineProperty, A = (r, e, t, i) => {
1968
+ var k3 = Object.defineProperty, A = (r, e, t, i) => {
1969
1969
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1970
1970
  (n = r[l]) && (o = n(e, t, o) || o);
1971
- return o && y3(e, t, o), o;
1971
+ return o && k3(e, t, o), o;
1972
1972
  };
1973
- const J5 = "anduin-input:change", M3 = "anduin-input:clear", r5 = class r5 extends u {
1973
+ const r4 = "anduin-input:change", $3 = "anduin-input:clear", d5 = class d5 extends u {
1974
1974
  constructor() {
1975
1975
  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;
1976
1976
  }
1977
1977
  connectedCallback() {
1978
1978
  super.connectedCallback();
1979
1979
  const e = this.closest("anduin-field");
1980
- e && e.addEventListener(M1, (t) => {
1980
+ e && e.addEventListener(Z1, (t) => {
1981
1981
  var o;
1982
1982
  const i = t;
1983
1983
  this.inputid && this.inputid === i.detail && ((o = this.inputEl) == null || o.focus());
@@ -1987,7 +1987,7 @@ const J5 = "anduin-input:change", M3 = "anduin-input:clear", r5 = class r5 exten
1987
1987
  this.inputEl && this.inputEl.value !== this.value && (this.inputEl.value = this.value);
1988
1988
  }
1989
1989
  onInput() {
1990
- this.value = this.inputEl.value, this.dispatchEvent(new CustomEvent(J5, {
1990
+ this.value = this.inputEl.value, this.dispatchEvent(new CustomEvent(r4, {
1991
1991
  detail: this.value,
1992
1992
  bubbles: !0,
1993
1993
  composed: !0
@@ -1995,7 +1995,7 @@ const J5 = "anduin-input:change", M3 = "anduin-input:clear", r5 = class r5 exten
1995
1995
  }
1996
1996
  onClear() {
1997
1997
  var e;
1998
- this.value = "", this.inputEl && (this.inputEl.value = ""), this.dispatchEvent(new CustomEvent(J5, { detail: "", bubbles: !0, composed: !0 })), this.dispatchEvent(new CustomEvent(M3, { bubbles: !0, composed: !0 })), (e = this.inputEl) == null || e.focus();
1998
+ this.value = "", this.inputEl && (this.inputEl.value = ""), this.dispatchEvent(new CustomEvent(r4, { detail: "", bubbles: !0, composed: !0 })), this.dispatchEvent(new CustomEvent($3, { bubbles: !0, composed: !0 })), (e = this.inputEl) == null || e.focus();
1999
1999
  }
2000
2000
  render() {
2001
2001
  const e = this.size === "small" ? "input--small" : this.size === "large" ? "input--large" : "input--default", t = this.status ? `input--${this.status}` : "", i = !!this.startIcon, o = !!this.endIcon || this.clearable && !!this.value, l = this.clearable && !!this.value && !this.disabled && !this.readonly, n = this.size === "small" ? "12" : this.size === "large" ? "20" : "16", s = this.size === "small" ? "10" : this.size === "large" ? "16" : "14";
@@ -2039,7 +2039,7 @@ const J5 = "anduin-input:change", M3 = "anduin-input:clear", r5 = class r5 exten
2039
2039
  `;
2040
2040
  }
2041
2041
  };
2042
- r5.styles = g`
2042
+ d5.styles = g`
2043
2043
  :host { display: block; font-family: var(--font-sans); }
2044
2044
 
2045
2045
  .input-wrapper { position: relative; display: flex; align-items: center; }
@@ -2093,7 +2093,7 @@ r5.styles = g`
2093
2093
  }
2094
2094
  .input__clear:hover { color: var(--color-gray-7); }
2095
2095
  `;
2096
- let w = r5;
2096
+ let w = d5;
2097
2097
  A([
2098
2098
  a()
2099
2099
  ], w.prototype, "value");
@@ -2125,22 +2125,22 @@ A([
2125
2125
  a({ type: Boolean })
2126
2126
  ], w.prototype, "clearable");
2127
2127
  A([
2128
- k("input")
2128
+ R("input")
2129
2129
  ], w.prototype, "inputEl");
2130
2130
  customElements.get("anduin-input") || customElements.define("anduin-input", w);
2131
- var Z3 = Object.defineProperty, Q = (r, e, t, i) => {
2131
+ var E3 = Object.defineProperty, e1 = (r, e, t, i) => {
2132
2132
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
2133
2133
  (n = r[l]) && (o = n(e, t, o) || o);
2134
- return o && Z3(e, t, o), o;
2134
+ return o && E3(e, t, o), o;
2135
2135
  };
2136
- const _3 = "anduin-textarea:change", n5 = class n5 extends u {
2136
+ const z3 = "anduin-textarea:change", c5 = class c5 extends u {
2137
2137
  constructor() {
2138
2138
  super(...arguments), this.value = "", this.disabled = !1, this.readonly = !1, this.placeholder = "", this.inputid = "", this.rows = 3, this.status = "";
2139
2139
  }
2140
2140
  connectedCallback() {
2141
2141
  super.connectedCallback();
2142
2142
  const e = this.closest("anduin-field");
2143
- e && e.addEventListener(M1, (t) => {
2143
+ e && e.addEventListener(Z1, (t) => {
2144
2144
  var o;
2145
2145
  const i = t;
2146
2146
  this.inputid && this.inputid === i.detail && ((o = this.textareaEl) == null || o.focus());
@@ -2150,7 +2150,7 @@ const _3 = "anduin-textarea:change", n5 = class n5 extends u {
2150
2150
  this.textareaEl && this.textareaEl.value !== this.value && (this.textareaEl.value = this.value);
2151
2151
  }
2152
2152
  onInput() {
2153
- this.value = this.textareaEl.value, this.dispatchEvent(new CustomEvent(_3, {
2153
+ this.value = this.textareaEl.value, this.dispatchEvent(new CustomEvent(z3, {
2154
2154
  detail: this.value,
2155
2155
  bubbles: !0,
2156
2156
  composed: !0
@@ -2175,7 +2175,7 @@ const _3 = "anduin-textarea:change", n5 = class n5 extends u {
2175
2175
  `;
2176
2176
  }
2177
2177
  };
2178
- n5.styles = g`
2178
+ c5.styles = g`
2179
2179
  :host { display: block; font-family: var(--font-sans); }
2180
2180
 
2181
2181
  .textarea {
@@ -2192,46 +2192,46 @@ n5.styles = g`
2192
2192
  .textarea--warning { border-color: var(--color-warning-4); }
2193
2193
  .textarea--loading { border-color: var(--color-gray-4); }
2194
2194
  `;
2195
- let E = n5;
2196
- Q([
2195
+ let E = c5;
2196
+ e1([
2197
2197
  a()
2198
2198
  ], E.prototype, "value");
2199
- Q([
2199
+ e1([
2200
2200
  a({ type: Boolean })
2201
2201
  ], E.prototype, "disabled");
2202
- Q([
2202
+ e1([
2203
2203
  a({ type: Boolean })
2204
2204
  ], E.prototype, "readonly");
2205
- Q([
2205
+ e1([
2206
2206
  a()
2207
2207
  ], E.prototype, "placeholder");
2208
- Q([
2208
+ e1([
2209
2209
  a()
2210
2210
  ], E.prototype, "inputid");
2211
- Q([
2211
+ e1([
2212
2212
  a({ type: Number })
2213
2213
  ], E.prototype, "rows");
2214
- Q([
2214
+ e1([
2215
2215
  a()
2216
2216
  ], E.prototype, "status");
2217
- Q([
2218
- k("textarea")
2217
+ e1([
2218
+ R("textarea")
2219
2219
  ], E.prototype, "textareaEl");
2220
2220
  customElements.get("anduin-textarea") || customElements.define("anduin-textarea", E);
2221
- var x3 = Object.defineProperty, $ = (r, e, t, i) => {
2221
+ var A3 = Object.defineProperty, $ = (r, e, t, i) => {
2222
2222
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
2223
2223
  (n = r[l]) && (o = n(e, t, o) || o);
2224
- return o && x3(e, t, o), o;
2224
+ return o && A3(e, t, o), o;
2225
2225
  };
2226
- const Z4 = "anduin-tab:trigger-click", a2 = "anduin-tab:value-changed", w3 = "anduin-tab:change", a5 = class a5 extends u {
2226
+ const E4 = "anduin-tab:trigger-click", c2 = "anduin-tab:value-changed", B3 = "anduin-tab:change", p5 = class p5 extends u {
2227
2227
  constructor() {
2228
2228
  super(...arguments), this.defaultValue = "", this.value = "", this.fill = !1;
2229
2229
  }
2230
2230
  connectedCallback() {
2231
- super.connectedCallback(), this.addEventListener(Z4, (e) => {
2231
+ super.connectedCallback(), this.addEventListener(E4, (e) => {
2232
2232
  e.stopPropagation();
2233
2233
  const t = e;
2234
- this.value = t.detail, this.broadcastValueChanged(t.detail), this.dispatchEvent(new CustomEvent(w3, { detail: t.detail, bubbles: !0, composed: !0 }));
2234
+ this.value = t.detail, this.broadcastValueChanged(t.detail), this.dispatchEvent(new CustomEvent(B3, { detail: t.detail, bubbles: !0, composed: !0 }));
2235
2235
  }), requestAnimationFrame(() => {
2236
2236
  const e = this.value || this.defaultValue;
2237
2237
  e && (this.value || (this.value = e), this.broadcastValueChanged(e));
@@ -2244,36 +2244,36 @@ const Z4 = "anduin-tab:trigger-click", a2 = "anduin-tab:value-changed", w3 = "an
2244
2244
  }
2245
2245
  }
2246
2246
  broadcastValueChanged(e) {
2247
- this.dispatchEvent(new CustomEvent(a2, { detail: e, bubbles: !1, composed: !1 }));
2247
+ this.dispatchEvent(new CustomEvent(c2, { detail: e, bubbles: !1, composed: !1 }));
2248
2248
  }
2249
2249
  render() {
2250
2250
  return C`<div class="tabs" part="tabs"><slot></slot></div>`;
2251
2251
  }
2252
2252
  };
2253
- a5.styles = g`
2253
+ p5.styles = g`
2254
2254
  :host { display: flex; flex-direction: column; font-family: var(--font-sans); }
2255
2255
  :host([fill]) { flex: 1; min-height: 0; --_tab-fill-flex: 1; --_tab-fill-height: 100%; }
2256
2256
  .tabs { display: flex; flex-direction: column; width: 100%; }
2257
2257
  :host([fill]) .tabs { flex: 1; min-height: 0; }
2258
2258
  `;
2259
- let f1 = a5;
2259
+ let H1 = p5;
2260
2260
  $([
2261
2261
  a({ attribute: "default-value" })
2262
- ], f1.prototype, "defaultValue");
2262
+ ], H1.prototype, "defaultValue");
2263
2263
  $([
2264
2264
  a()
2265
- ], f1.prototype, "value");
2265
+ ], H1.prototype, "value");
2266
2266
  $([
2267
2267
  a({ type: Boolean, reflect: !0 })
2268
- ], f1.prototype, "fill");
2269
- const s5 = class s5 extends u {
2268
+ ], H1.prototype, "fill");
2269
+ const u5 = class u5 extends u {
2270
2270
  constructor() {
2271
2271
  super(...arguments), this.alignment = "left", this.lastActiveValue = "", this.resizeObserver = null;
2272
2272
  }
2273
2273
  connectedCallback() {
2274
2274
  super.connectedCallback();
2275
2275
  const e = this.closest("anduin-tabs");
2276
- e && e.addEventListener(a2, (t) => {
2276
+ e && e.addEventListener(c2, (t) => {
2277
2277
  const i = t;
2278
2278
  this.lastActiveValue = i.detail, requestAnimationFrame(() => {
2279
2279
  this.animateIndicator(i.detail);
@@ -2310,7 +2310,7 @@ const s5 = class s5 extends u {
2310
2310
  `;
2311
2311
  }
2312
2312
  };
2313
- s5.styles = g`
2313
+ u5.styles = g`
2314
2314
  :host { display: block; font-family: var(--font-sans); }
2315
2315
  .tabs-list {
2316
2316
  display: flex; background-color: var(--color-gray-0);
@@ -2325,27 +2325,27 @@ s5.styles = g`
2325
2325
  left: 0; height: 2px; transition-duration: 200ms; transition-property: transform, width;
2326
2326
  }
2327
2327
  `;
2328
- let O1 = s5;
2328
+ let T1 = u5;
2329
2329
  $([
2330
2330
  a()
2331
- ], O1.prototype, "alignment");
2331
+ ], T1.prototype, "alignment");
2332
2332
  $([
2333
- k(".tabs-list__indicator")
2334
- ], O1.prototype, "indicator");
2335
- const C5 = class C5 extends u {
2333
+ R(".tabs-list__indicator")
2334
+ ], T1.prototype, "indicator");
2335
+ const h5 = class h5 extends u {
2336
2336
  constructor() {
2337
2337
  super(...arguments), this.value = "", this.startIcon = "", this.disabled = !1, this.showBadge = !1, this.badgeCount = "", this.isActive = !1;
2338
2338
  }
2339
2339
  connectedCallback() {
2340
2340
  super.connectedCallback();
2341
2341
  const e = this.closest("anduin-tabs");
2342
- e && e.addEventListener(a2, (t) => {
2342
+ e && e.addEventListener(c2, (t) => {
2343
2343
  const i = t;
2344
2344
  this.isActive = i.detail === this.value;
2345
2345
  });
2346
2346
  }
2347
2347
  onClick() {
2348
- this.dispatchEvent(new CustomEvent(Z4, { detail: this.value, bubbles: !0, composed: !0 }));
2348
+ this.dispatchEvent(new CustomEvent(E4, { detail: this.value, bubbles: !0, composed: !0 }));
2349
2349
  }
2350
2350
  render() {
2351
2351
  return C`
@@ -2366,7 +2366,7 @@ const C5 = class C5 extends u {
2366
2366
  `;
2367
2367
  }
2368
2368
  };
2369
- C5.styles = g`
2369
+ h5.styles = g`
2370
2370
  :host { display: inline-block; font-family: var(--font-sans); }
2371
2371
  .tab-trigger {
2372
2372
  cursor: pointer; background: none; border: none; display: block;
@@ -2389,7 +2389,7 @@ C5.styles = g`
2389
2389
  color: var(--color-gray-7); white-space: nowrap;
2390
2390
  }
2391
2391
  `;
2392
- let T = C5;
2392
+ let T = h5;
2393
2393
  $([
2394
2394
  a({ reflect: !0 })
2395
2395
  ], T.prototype, "value");
@@ -2406,16 +2406,16 @@ $([
2406
2406
  a({ attribute: "badge-count" })
2407
2407
  ], T.prototype, "badgeCount");
2408
2408
  $([
2409
- m()
2409
+ V()
2410
2410
  ], T.prototype, "isActive");
2411
- const d5 = class d5 extends u {
2411
+ const g5 = class g5 extends u {
2412
2412
  constructor() {
2413
2413
  super(...arguments), this.value = "", this.isActive = !1;
2414
2414
  }
2415
2415
  connectedCallback() {
2416
2416
  super.connectedCallback();
2417
2417
  const e = this.closest("anduin-tabs");
2418
- e && e.addEventListener(a2, (t) => {
2418
+ e && e.addEventListener(c2, (t) => {
2419
2419
  const i = t;
2420
2420
  this.isActive = i.detail === this.value;
2421
2421
  });
@@ -2431,28 +2431,28 @@ const d5 = class d5 extends u {
2431
2431
  `;
2432
2432
  }
2433
2433
  };
2434
- d5.styles = g`
2434
+ g5.styles = g`
2435
2435
  :host { display: block; font-family: var(--font-sans); flex: var(--_tab-fill-flex, 0 0 auto); min-height: 0; }
2436
2436
  :host(:not([active])) { display: none; }
2437
2437
  .tab-content { width: 100%; height: var(--_tab-fill-height, auto); overflow-x: hidden; overflow-y: auto; }
2438
2438
  `;
2439
- let D1 = d5;
2439
+ let N1 = g5;
2440
2440
  $([
2441
2441
  a()
2442
- ], D1.prototype, "value");
2442
+ ], N1.prototype, "value");
2443
2443
  $([
2444
- m()
2445
- ], D1.prototype, "isActive");
2446
- customElements.get("anduin-tabs") || customElements.define("anduin-tabs", f1);
2447
- customElements.get("anduin-tabs-list") || customElements.define("anduin-tabs-list", O1);
2444
+ V()
2445
+ ], N1.prototype, "isActive");
2446
+ customElements.get("anduin-tabs") || customElements.define("anduin-tabs", H1);
2447
+ customElements.get("anduin-tabs-list") || customElements.define("anduin-tabs-list", T1);
2448
2448
  customElements.get("anduin-tab-trigger") || customElements.define("anduin-tab-trigger", T);
2449
- customElements.get("anduin-tab-content") || customElements.define("anduin-tab-content", D1);
2450
- var R3 = Object.defineProperty, O2 = (r, e, t, i) => {
2449
+ customElements.get("anduin-tab-content") || customElements.define("anduin-tab-content", N1);
2450
+ var P3 = Object.defineProperty, j2 = (r, e, t, i) => {
2451
2451
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
2452
2452
  (n = r[l]) && (o = n(e, t, o) || o);
2453
- return o && R3(e, t, o), o;
2453
+ return o && P3(e, t, o), o;
2454
2454
  };
2455
- const k3 = "anduin-tag-close:click", $3 = {
2455
+ const S3 = "anduin-tag-close:click", F3 = {
2456
2456
  gray: "tag--light-gray",
2457
2457
  primary: "tag--light-primary",
2458
2458
  success: "tag--light-success",
@@ -2477,7 +2477,7 @@ const k3 = "anduin-tag-close:click", $3 = {
2477
2477
  customYellow: "tag--custom-yellow",
2478
2478
  customYellowGreen: "tag--custom-yellow-green",
2479
2479
  customYellowOrange: "tag--custom-yellow-orange"
2480
- }, E3 = {
2480
+ }, O3 = {
2481
2481
  gray: "tag__icon--light-gray",
2482
2482
  primary: "tag__icon--light-primary",
2483
2483
  success: "tag__icon--light-success",
@@ -2502,12 +2502,12 @@ const k3 = "anduin-tag-close:click", $3 = {
2502
2502
  customMagenta: "tag__icon--custom-magenta",
2503
2503
  customBlueGreen: "tag__icon--custom-blue-green",
2504
2504
  customPink: "tag__icon--custom-pink"
2505
- }, c5 = class c5 extends u {
2505
+ }, v5 = class v5 extends u {
2506
2506
  constructor() {
2507
2507
  super(...arguments), this.variant = "gray", this.icon = "", this.disabled = !1;
2508
2508
  }
2509
2509
  render() {
2510
- const e = $3[this.variant] || "tag--light-gray", t = E3[this.variant] || "tag__icon--light-gray";
2510
+ const e = F3[this.variant] || "tag--light-gray", t = O3[this.variant] || "tag__icon--light-gray";
2511
2511
  return C`
2512
2512
  <div class="tag ${e} ${this.disabled ? "tag--disabled" : ""}" part="tag">
2513
2513
  ${this.icon ? C`<anduin-icon name="${this.icon}" size="12" class="tag__icon ${t}"></anduin-icon>` : c}
@@ -2517,7 +2517,7 @@ const k3 = "anduin-tag-close:click", $3 = {
2517
2517
  `;
2518
2518
  }
2519
2519
  };
2520
- c5.styles = g`
2520
+ v5.styles = g`
2521
2521
  :host { display: inline-flex; max-width: 100%; font-family: var(--font-sans); }
2522
2522
  .tag {
2523
2523
  font-weight: 500; font-size: 11px; height: 20px; padding-left: 6px; padding-right: 6px;
@@ -2565,19 +2565,19 @@ c5.styles = g`
2565
2565
  .tag--custom-yellow-green { color: var(--color-gray-9); background-color: rgb(174,207,85); }
2566
2566
  .tag--custom-yellow-orange { color: var(--color-gray-9); background-color: rgb(255,193,107); }
2567
2567
  `;
2568
- let H1 = c5;
2569
- O2([
2568
+ let m1 = v5;
2569
+ j2([
2570
2570
  a()
2571
- ], H1.prototype, "variant");
2572
- O2([
2571
+ ], m1.prototype, "variant");
2572
+ j2([
2573
2573
  a()
2574
- ], H1.prototype, "icon");
2575
- O2([
2574
+ ], m1.prototype, "icon");
2575
+ j2([
2576
2576
  a({ type: Boolean })
2577
- ], H1.prototype, "disabled");
2578
- const p5 = class p5 extends u {
2577
+ ], m1.prototype, "disabled");
2578
+ const f5 = class f5 extends u {
2579
2579
  onClick() {
2580
- this.dispatchEvent(new CustomEvent(k3, { bubbles: !0, composed: !0 }));
2580
+ this.dispatchEvent(new CustomEvent(S3, { bubbles: !0, composed: !0 }));
2581
2581
  }
2582
2582
  render() {
2583
2583
  return C`
@@ -2587,7 +2587,7 @@ const p5 = class p5 extends u {
2587
2587
  `;
2588
2588
  }
2589
2589
  };
2590
- p5.styles = g`
2590
+ f5.styles = g`
2591
2591
  :host { display: inline-block; font-family: var(--font-sans); }
2592
2592
  .tag-close__button {
2593
2593
  flex: none; width: 16px; height: 16px; display: flex; align-items: center;
@@ -2597,15 +2597,15 @@ p5.styles = g`
2597
2597
  .tag-close__button:hover { opacity: 0.7; }
2598
2598
  .tag-close__button:active { opacity: 0.5; }
2599
2599
  `;
2600
- let m2 = p5;
2601
- customElements.get("anduin-tag") || customElements.define("anduin-tag", H1);
2602
- customElements.get("anduin-tag-close") || customElements.define("anduin-tag-close", m2);
2603
- var z3 = Object.defineProperty, R = (r, e, t, i) => {
2600
+ let M2 = f5;
2601
+ customElements.get("anduin-tag") || customElements.define("anduin-tag", m1);
2602
+ customElements.get("anduin-tag-close") || customElements.define("anduin-tag-close", M2);
2603
+ var I3 = Object.defineProperty, k = (r, e, t, i) => {
2604
2604
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
2605
2605
  (n = r[l]) && (o = n(e, t, o) || o);
2606
- return o && z3(e, t, o), o;
2606
+ return o && I3(e, t, o), o;
2607
2607
  };
2608
- const A3 = "anduin-toggle-group:change", B3 = "anduin-toggle-group-item:change", P3 = "anduin-toggle-group-item:select", S3 = "anduin-toggle-group-item:deselect", L2 = "anduin-toggle-group-item:item-click", u5 = class u5 extends u {
2608
+ const D3 = "anduin-toggle-group:change", T3 = "anduin-toggle-group-item:change", N3 = "anduin-toggle-group-item:select", j3 = "anduin-toggle-group-item:deselect", Z2 = "anduin-toggle-group-item:item-click", H5 = class H5 extends u {
2609
2609
  constructor() {
2610
2610
  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) => {
2611
2611
  var d;
@@ -2617,7 +2617,7 @@ const A3 = "anduin-toggle-group:change", B3 = "anduin-toggle-group-item:change",
2617
2617
  if (s == null || s.emitSelectionChange(!l), this.mode === "single" && !l)
2618
2618
  for (const p of o)
2619
2619
  (d = this.items.find((h) => h.value === p)) == null || d.emitSelectionChange(!1);
2620
- this.dispatchEvent(new CustomEvent(A3, {
2620
+ this.dispatchEvent(new CustomEvent(D3, {
2621
2621
  detail: n.join(" "),
2622
2622
  bubbles: !0,
2623
2623
  composed: !0
@@ -2628,16 +2628,16 @@ const A3 = "anduin-toggle-group:change", B3 = "anduin-toggle-group-item:change",
2628
2628
  return this.value != null;
2629
2629
  }
2630
2630
  get selection() {
2631
- return this.isControlled ? p2(this.value) : this.internalValue;
2631
+ return this.isControlled ? v2(this.value) : this.internalValue;
2632
2632
  }
2633
2633
  connectedCallback() {
2634
- super.connectedCallback(), this.hasUpdated || (this.internalValue = p2(this.defaultValue)), this.addEventListener(L2, this.onItemClick);
2634
+ super.connectedCallback(), this.hasUpdated || (this.internalValue = v2(this.defaultValue)), this.addEventListener(Z2, this.onItemClick);
2635
2635
  }
2636
2636
  willUpdate(e) {
2637
- e.has("defaultValue") && !this.isControlled && !this.userInteracted && (this.internalValue = p2(this.defaultValue));
2637
+ e.has("defaultValue") && !this.isControlled && !this.userInteracted && (this.internalValue = v2(this.defaultValue));
2638
2638
  }
2639
2639
  disconnectedCallback() {
2640
- super.disconnectedCallback(), this.removeEventListener(L2, this.onItemClick);
2640
+ super.disconnectedCallback(), this.removeEventListener(Z2, this.onItemClick);
2641
2641
  }
2642
2642
  updated() {
2643
2643
  this.syncItems();
@@ -2658,7 +2658,7 @@ const A3 = "anduin-toggle-group:change", B3 = "anduin-toggle-group-item:change",
2658
2658
  `;
2659
2659
  }
2660
2660
  };
2661
- u5.styles = g`
2661
+ H5.styles = g`
2662
2662
  :host { display: inline-flex; font-family: var(--font-sans); }
2663
2663
  .toggle-group { display: inline-flex; align-items: center; }
2664
2664
  .toggle-group--small {
@@ -2692,39 +2692,39 @@ u5.styles = g`
2692
2692
  /* Gapped pills stand alone, so each keeps all four borders. */
2693
2693
  .toggle-group--gap ::slotted(anduin-toggle-group-item) { --toggle-group-item-radius: 4px; --toggle-group-item-border-left: 1px; }
2694
2694
  `;
2695
- let P = u5;
2696
- R([
2695
+ let P = H5;
2696
+ k([
2697
2697
  a()
2698
2698
  ], P.prototype, "mode");
2699
- R([
2699
+ k([
2700
2700
  a({ attribute: "default-value" })
2701
2701
  ], P.prototype, "defaultValue");
2702
- R([
2702
+ k([
2703
2703
  a()
2704
2704
  ], P.prototype, "value");
2705
- R([
2705
+ k([
2706
2706
  a()
2707
2707
  ], P.prototype, "size");
2708
- R([
2708
+ k([
2709
2709
  a()
2710
2710
  ], P.prototype, "variant");
2711
- R([
2711
+ k([
2712
2712
  a({ type: Boolean })
2713
2713
  ], P.prototype, "gap");
2714
- R([
2715
- m()
2714
+ k([
2715
+ V()
2716
2716
  ], P.prototype, "internalValue");
2717
- const h5 = class h5 extends u {
2717
+ const m5 = class m5 extends u {
2718
2718
  constructor() {
2719
2719
  super(...arguments), this.value = "", this.startIcon = "", this.disabled = !1, this.selected = !1, this.groupSize = "medium", this.groupVariant = "gray", this.groupMode = "single";
2720
2720
  }
2721
2721
  /** Called by the parent group when the user's action changes this item's selection. */
2722
2722
  emitSelectionChange(e) {
2723
- this.dispatchEvent(new CustomEvent(B3, {
2723
+ this.dispatchEvent(new CustomEvent(T3, {
2724
2724
  detail: e,
2725
2725
  bubbles: !0,
2726
2726
  composed: !0
2727
- })), this.dispatchEvent(new CustomEvent(e ? P3 : S3, {
2727
+ })), this.dispatchEvent(new CustomEvent(e ? N3 : j3, {
2728
2728
  detail: this.value,
2729
2729
  bubbles: !0,
2730
2730
  composed: !0
@@ -2734,7 +2734,7 @@ const h5 = class h5 extends u {
2734
2734
  (e.has("selected") || e.has("groupMode")) && (this.groupMode === "single" ? (this.setAttribute("role", "radio"), this.setAttribute("aria-checked", String(this.selected))) : (this.removeAttribute("role"), this.removeAttribute("aria-checked")));
2735
2735
  }
2736
2736
  onClick() {
2737
- this.dispatchEvent(new CustomEvent(L2, {
2737
+ this.dispatchEvent(new CustomEvent(Z2, {
2738
2738
  detail: this.value,
2739
2739
  bubbles: !0,
2740
2740
  composed: !0
@@ -2764,7 +2764,7 @@ const h5 = class h5 extends u {
2764
2764
  `;
2765
2765
  }
2766
2766
  };
2767
- h5.styles = g`
2767
+ m5.styles = g`
2768
2768
  :host { display: inline-block; font-family: var(--font-sans); }
2769
2769
  .toggle-item {
2770
2770
  position: relative; z-index: 0; box-sizing: border-box;
@@ -2800,39 +2800,39 @@ h5.styles = g`
2800
2800
  .toggle-item--selected .toggle-item__icon { color: var(--color-gray-7); }
2801
2801
  .toggle-item--variant-primary.toggle-item--selected .toggle-item__icon { color: var(--color-primary-4); }
2802
2802
  `;
2803
- let S = h5;
2804
- R([
2803
+ let S = m5;
2804
+ k([
2805
2805
  a({ reflect: !0 })
2806
2806
  ], S.prototype, "value");
2807
- R([
2807
+ k([
2808
2808
  a({ attribute: "start-icon" })
2809
2809
  ], S.prototype, "startIcon");
2810
- R([
2810
+ k([
2811
2811
  a({ type: Boolean })
2812
2812
  ], S.prototype, "disabled");
2813
- R([
2813
+ k([
2814
2814
  a({ attribute: !1 })
2815
2815
  ], S.prototype, "selected");
2816
- R([
2816
+ k([
2817
2817
  a({ attribute: !1 })
2818
2818
  ], S.prototype, "groupSize");
2819
- R([
2819
+ k([
2820
2820
  a({ attribute: !1 })
2821
2821
  ], S.prototype, "groupVariant");
2822
- R([
2822
+ k([
2823
2823
  a({ attribute: !1 })
2824
2824
  ], S.prototype, "groupMode");
2825
- function p2(r) {
2825
+ function v2(r) {
2826
2826
  return r.split(" ").map((e) => e.trim()).filter(Boolean);
2827
2827
  }
2828
2828
  customElements.get("anduin-toggle-group") || customElements.define("anduin-toggle-group", P);
2829
2829
  customElements.get("anduin-toggle-group-item") || customElements.define("anduin-toggle-group-item", S);
2830
- var F3 = Object.defineProperty, _4 = (r, e, t, i) => {
2830
+ var U3 = Object.defineProperty, z4 = (r, e, t, i) => {
2831
2831
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
2832
2832
  (n = r[l]) && (o = n(e, t, o) || o);
2833
- return o && F3(e, t, o), o;
2833
+ return o && U3(e, t, o), o;
2834
2834
  };
2835
- const x4 = "anduin-tooltip:show", D2 = "anduin-tooltip:hide", w4 = "anduin-tooltip:trigger-mounted", R4 = "anduin-tooltip:content-popup-mounted", k4 = "anduin-tooltip:content-popup-unmounted", $4 = "anduin-tooltip:visibility-changed", O3 = [
2835
+ const A4 = "anduin-tooltip:show", U2 = "anduin-tooltip:hide", B4 = "anduin-tooltip:trigger-mounted", P4 = "anduin-tooltip:content-popup-mounted", S4 = "anduin-tooltip:content-popup-unmounted", F4 = "anduin-tooltip:visibility-changed", G3 = [
2836
2836
  "top-start",
2837
2837
  "top-center",
2838
2838
  "top-end",
@@ -2846,7 +2846,7 @@ const x4 = "anduin-tooltip:show", D2 = "anduin-tooltip:hide", w4 = "anduin-toolt
2846
2846
  "left-center",
2847
2847
  "left-end"
2848
2848
  ];
2849
- function Q5(r, e, t, i, o) {
2849
+ function n4(r, e, t, i, o) {
2850
2850
  switch (i) {
2851
2851
  case "top-start":
2852
2852
  return { left: r.left, top: r.top - t - o };
@@ -2876,20 +2876,20 @@ function Q5(r, e, t, i, o) {
2876
2876
  return { left: 0, top: 0 };
2877
2877
  }
2878
2878
  }
2879
- function e4(r, e) {
2879
+ function a4(r, e) {
2880
2880
  return e.right >= r.left && e.left <= r.right && e.top <= r.bottom && e.bottom >= r.top;
2881
2881
  }
2882
- function t4(r, e) {
2882
+ function s4(r, e) {
2883
2883
  const t = Math.max(r.left, e.left), i = Math.max(r.top, e.top), o = Math.min(r.right, e.right), l = Math.min(r.bottom, e.bottom);
2884
2884
  return o < t || l < i ? 0 : (o - t) * (l - i);
2885
2885
  }
2886
- function D3(r, e, t, i = 8) {
2886
+ function q3(r, e, t, i = 8) {
2887
2887
  const o = window.innerWidth, l = window.innerHeight, n = { left: 0, top: 0, right: o, bottom: l }, s = e.width, d = e.height;
2888
- if (!e4(
2888
+ if (!a4(
2889
2889
  { left: r.left, top: r.top, right: r.right, bottom: r.bottom },
2890
2890
  n
2891
2891
  )) return null;
2892
- const p = Q5(r, s, d, t, i), h = O3.map((f) => ({ p: f, off: Q5(r, s, d, f, i) })).filter(({ off: f }) => e4({ left: f.left, top: f.top, right: f.left + s, bottom: f.top + d }, n));
2892
+ const p = n4(r, s, d, t, i), h = G3.map((f) => ({ p: f, off: n4(r, s, d, f, i) })).filter(({ off: f }) => a4({ left: f.left, top: f.top, right: f.left + s, bottom: f.top + d }, n));
2893
2893
  if (h.length === 0)
2894
2894
  return {
2895
2895
  placement: t,
@@ -2897,10 +2897,10 @@ function D3(r, e, t, i = 8) {
2897
2897
  top: Math.round(Math.min(Math.max(p.top, 0), l - d))
2898
2898
  };
2899
2899
  h.sort((f, Z) => {
2900
- const G = { left: f.off.left, top: f.off.top, right: f.off.left + s, bottom: f.off.top + d }, x = { left: Z.off.left, top: Z.off.top, right: Z.off.left + s, bottom: Z.off.top + d }, D = t4(G, n), o1 = t4(x, n);
2901
- if (o1 !== D) return o1 - D;
2902
- const q1 = Math.abs(f.off.left - p.left) + Math.abs(f.off.top - p.top), W1 = Math.abs(Z.off.left - p.left) + Math.abs(Z.off.top - p.top);
2903
- return q1 - W1;
2900
+ const G = { left: f.off.left, top: f.off.top, right: f.off.left + s, bottom: f.off.top + d }, x = { left: Z.off.left, top: Z.off.top, right: Z.off.left + s, bottom: Z.off.top + d }, I = s4(G, n), i1 = s4(x, n);
2901
+ if (i1 !== I) return i1 - I;
2902
+ const K1 = Math.abs(f.off.left - p.left) + Math.abs(f.off.top - p.top), J1 = Math.abs(Z.off.left - p.left) + Math.abs(Z.off.top - p.top);
2903
+ return K1 - J1;
2904
2904
  });
2905
2905
  const { p: v, off: H } = h[0];
2906
2906
  return {
@@ -2909,10 +2909,10 @@ function D3(r, e, t, i = 8) {
2909
2909
  top: Math.round(Math.min(Math.max(H.top, 0), l - d))
2910
2910
  };
2911
2911
  }
2912
- function b2(r) {
2912
+ function _2(r) {
2913
2913
  return r.split("-")[0] || "top";
2914
2914
  }
2915
- function I3(r, e, t) {
2915
+ function W3(r, e, t) {
2916
2916
  let i = !1, o = t.length - 1;
2917
2917
  for (let l = 0; l < t.length; l++) {
2918
2918
  const n = t[l][0], s = t[l][1], d = t[o][0], p = t[o][1];
@@ -2920,20 +2920,20 @@ function I3(r, e, t) {
2920
2920
  }
2921
2921
  return i;
2922
2922
  }
2923
- const g5 = class g5 extends u {
2923
+ const V5 = class V5 extends u {
2924
2924
  constructor() {
2925
2925
  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;
2926
2926
  }
2927
2927
  connectedCallback() {
2928
- super.connectedCallback(), this.addEventListener(w4, (e) => {
2928
+ super.connectedCallback(), this.addEventListener(B4, (e) => {
2929
2929
  e.stopPropagation(), this.triggerElement = e.detail, this.maybeStartPositionLoop();
2930
- }), this.addEventListener(R4, (e) => {
2930
+ }), this.addEventListener(P4, (e) => {
2931
2931
  e.stopPropagation(), this.contentPopupElement = e.detail, this.computeContainingBlockOffset(this.contentPopupElement), this.maybeStartPositionLoop();
2932
- }), this.addEventListener(k4, (e) => {
2932
+ }), this.addEventListener(S4, (e) => {
2933
2933
  e.stopPropagation(), this.stopPositionLoop(), this.contentPopupElement = null;
2934
- }), this.addEventListener(x4, (e) => {
2934
+ }), this.addEventListener(A4, (e) => {
2935
2935
  e.stopPropagation(), !this.disabled && (this.isVisible = !0, this.broadcastVisibilityChanged(`show:${this.placement}`));
2936
- }), this.addEventListener(D2, (e) => {
2936
+ }), this.addEventListener(U2, (e) => {
2937
2937
  e.stopPropagation(), this.isVisible = !1, this.stopPositionLoop(), this.broadcastVisibilityChanged("hide");
2938
2938
  });
2939
2939
  }
@@ -2964,11 +2964,11 @@ const g5 = class g5 extends u {
2964
2964
  this.containingBlockLeft = o.left, this.containingBlockTop = o.top, t.style.transform = i;
2965
2965
  }
2966
2966
  positionPopup(e, t, i) {
2967
- const o = t.getBoundingClientRect(), l = e.getBoundingClientRect(), n = D3(o, l, i, 8);
2967
+ const o = t.getBoundingClientRect(), l = e.getBoundingClientRect(), n = q3(o, l, i, 8);
2968
2968
  if (n) {
2969
2969
  const s = e;
2970
2970
  s.style.transform = `translate(${n.left - this.containingBlockLeft}px, ${n.top - this.containingBlockTop}px)`;
2971
- const d = b2(n.placement), p = b2(i);
2971
+ const d = _2(n.placement), p = _2(i);
2972
2972
  if (d !== p) {
2973
2973
  const h = e.querySelector(".tooltip-arrow");
2974
2974
  h && (h.classList.remove(`tooltip-arrow--${p}`), h.classList.add(`tooltip-arrow--${d}`));
@@ -2976,49 +2976,49 @@ const g5 = class g5 extends u {
2976
2976
  }
2977
2977
  }
2978
2978
  broadcastVisibilityChanged(e) {
2979
- this.dispatchEvent(new CustomEvent($4, { detail: e, bubbles: !1, composed: !1 }));
2979
+ this.dispatchEvent(new CustomEvent(F4, { detail: e, bubbles: !1, composed: !1 }));
2980
2980
  }
2981
2981
  render() {
2982
2982
  return C`<div class="tooltip-root" part="tooltip"><slot></slot></div>`;
2983
2983
  }
2984
2984
  };
2985
- g5.styles = g`
2985
+ V5.styles = g`
2986
2986
  :host { display: inline-block; position: relative; max-width: 100%; font-family: var(--font-sans); }
2987
2987
  .tooltip-root { display: inline-block; position: relative; max-width: 100%; }
2988
2988
  `;
2989
- let I1 = g5;
2990
- _4([
2989
+ let j1 = V5;
2990
+ z4([
2991
2991
  a({ type: Boolean })
2992
- ], I1.prototype, "disabled");
2993
- _4([
2992
+ ], j1.prototype, "disabled");
2993
+ z4([
2994
2994
  a()
2995
- ], I1.prototype, "placement");
2996
- const v5 = class v5 extends u {
2995
+ ], j1.prototype, "placement");
2996
+ const b5 = class b5 extends u {
2997
2997
  firstUpdated() {
2998
2998
  requestAnimationFrame(() => {
2999
- this.dispatchEvent(new CustomEvent(w4, { detail: this, bubbles: !0, composed: !0 }));
2999
+ this.dispatchEvent(new CustomEvent(B4, { detail: this, bubbles: !0, composed: !0 }));
3000
3000
  }), this.addEventListener("pointerenter", () => {
3001
- this.dispatchEvent(new CustomEvent(x4, { bubbles: !0, composed: !0 }));
3001
+ this.dispatchEvent(new CustomEvent(A4, { bubbles: !0, composed: !0 }));
3002
3002
  }), this.addEventListener("click", () => {
3003
- this.dispatchEvent(new CustomEvent(D2, { bubbles: !0, composed: !0 }));
3003
+ this.dispatchEvent(new CustomEvent(U2, { bubbles: !0, composed: !0 }));
3004
3004
  });
3005
3005
  }
3006
3006
  render() {
3007
3007
  return C`<span class="tooltip-trigger" part="tooltip-trigger"><slot></slot></span>`;
3008
3008
  }
3009
3009
  };
3010
- v5.styles = g`
3010
+ b5.styles = g`
3011
3011
  :host { display: inline-block; max-width: 100%; font-family: var(--font-sans); }
3012
3012
  .tooltip-trigger { display: flex; align-items: center; max-width: 100%; }
3013
3013
  `;
3014
- let y2 = v5;
3015
- const f5 = class f5 extends u {
3014
+ let x2 = b5;
3015
+ const L5 = class L5 extends u {
3016
3016
  constructor() {
3017
3017
  super(...arguments), this.graceArea = null, this.triggerEl = null, this.popupEl = null, this.handlePointerMove = (e) => {
3018
3018
  var l, n;
3019
3019
  if (!this.graceArea) return;
3020
3020
  const t = e.target, i = ((l = this.triggerEl) == null ? void 0 : l.contains(t)) ?? !1, o = ((n = this.popupEl) == null ? void 0 : n.contains(t)) ?? !1;
3021
- i || o ? this.graceArea = null : I3(e.clientX, e.clientY, this.graceArea) || (this.graceArea = null, this.dispatchEvent(new CustomEvent(D2, { bubbles: !0, composed: !0 })));
3021
+ i || o ? this.graceArea = null : W3(e.clientX, e.clientY, this.graceArea) || (this.graceArea = null, this.dispatchEvent(new CustomEvent(U2, { bubbles: !0, composed: !0 })));
3022
3022
  }, this.handleTriggerLeave = (e) => {
3023
3023
  this.triggerEl && this.popupEl && this.createGraceArea(this.triggerEl, this.popupEl, e);
3024
3024
  }, this.handleContentLeave = (e) => {
@@ -3028,7 +3028,7 @@ const f5 = class f5 extends u {
3028
3028
  connectedCallback() {
3029
3029
  super.connectedCallback();
3030
3030
  const e = this.closest("anduin-tooltip");
3031
- e && e.addEventListener($4, (t) => {
3031
+ e && e.addEventListener(F4, (t) => {
3032
3032
  const i = t.detail;
3033
3033
  i.startsWith("show:") ? this.showPopup(i.slice(5)) : this.hidePopup();
3034
3034
  });
@@ -3054,7 +3054,7 @@ const f5 = class f5 extends u {
3054
3054
  }
3055
3055
  showPopup(e) {
3056
3056
  this.hidePopup();
3057
- const t = b2(e), i = document.createElement("div");
3057
+ const t = _2(e), i = document.createElement("div");
3058
3058
  i.className = "tooltip-popup", i.setAttribute("role", "tooltip");
3059
3059
  const o = document.createElement("div");
3060
3060
  o.className = `tooltip-arrow tooltip-arrow--${t}`;
@@ -3067,16 +3067,16 @@ const f5 = class f5 extends u {
3067
3067
  const d = s.querySelector("anduin-tooltip-trigger");
3068
3068
  d && this.setupGraceAreaListeners(d, i);
3069
3069
  }
3070
- this.dispatchEvent(new CustomEvent(R4, { detail: i, bubbles: !0, composed: !0 }));
3070
+ this.dispatchEvent(new CustomEvent(P4, { detail: i, bubbles: !0, composed: !0 }));
3071
3071
  }
3072
3072
  hidePopup() {
3073
- this.popupEl && (this.popupEl.remove(), this.popupEl = null, this.dispatchEvent(new CustomEvent(k4, { bubbles: !0, composed: !0 }))), this.cleanupGraceAreaListeners();
3073
+ this.popupEl && (this.popupEl.remove(), this.popupEl = null, this.dispatchEvent(new CustomEvent(S4, { bubbles: !0, composed: !0 }))), this.cleanupGraceAreaListeners();
3074
3074
  }
3075
3075
  render() {
3076
3076
  return C`<div class="tooltip-content-wrapper"></div>`;
3077
3077
  }
3078
3078
  };
3079
- f5.styles = g`
3079
+ L5.styles = g`
3080
3080
  :host {
3081
3081
  display: contents;
3082
3082
  --tooltip-bg: var(--anduin-tooltip-content-background, var(--color-gray-9));
@@ -3100,16 +3100,16 @@ f5.styles = g`
3100
3100
  .tooltip-arrow--left { right: -4px; top: 50%; transform: translateY(-50%); border-left-color: var(--tooltip-bg); border-right: none; }
3101
3101
  .tooltip-arrow--right { left: -4px; top: 50%; transform: translateY(-50%); border-right-color: var(--tooltip-bg); border-left: none; }
3102
3102
  `;
3103
- let M2 = f5;
3104
- customElements.get("anduin-tooltip") || customElements.define("anduin-tooltip", I1);
3105
- customElements.get("anduin-tooltip-trigger") || customElements.define("anduin-tooltip-trigger", y2);
3106
- customElements.get("anduin-tooltip-content") || customElements.define("anduin-tooltip-content", M2);
3107
- var T3 = Object.defineProperty, N3 = (r, e, t, i) => {
3103
+ let w2 = L5;
3104
+ customElements.get("anduin-tooltip") || customElements.define("anduin-tooltip", j1);
3105
+ customElements.get("anduin-tooltip-trigger") || customElements.define("anduin-tooltip-trigger", x2);
3106
+ customElements.get("anduin-tooltip-content") || customElements.define("anduin-tooltip-content", w2);
3107
+ var Y3 = Object.defineProperty, X3 = (r, e, t, i) => {
3108
3108
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
3109
3109
  (n = r[l]) && (o = n(e, t, o) || o);
3110
- return o && T3(e, t, o), o;
3110
+ return o && Y3(e, t, o), o;
3111
3111
  };
3112
- const j3 = "anduin-well-close:click", H5 = class H5 extends u {
3112
+ const K3 = "anduin-well-close:click", y5 = class y5 extends u {
3113
3113
  constructor() {
3114
3114
  super(...arguments), this.variant = "gray";
3115
3115
  }
@@ -3128,7 +3128,7 @@ const j3 = "anduin-well-close:click", H5 = class H5 extends u {
3128
3128
  `;
3129
3129
  }
3130
3130
  };
3131
- H5.styles = g`
3131
+ y5.styles = g`
3132
3132
  :host {
3133
3133
  display: block;
3134
3134
  font-family: var(--font-sans);
@@ -3193,14 +3193,14 @@ H5.styles = g`
3193
3193
  color: var(--color-warning-4);
3194
3194
  }
3195
3195
  `;
3196
- let l2 = H5;
3197
- N3([
3196
+ let s2 = y5;
3197
+ X3([
3198
3198
  a()
3199
- ], l2.prototype, "variant");
3200
- const V5 = class V5 extends u {
3199
+ ], s2.prototype, "variant");
3200
+ const M5 = class M5 extends u {
3201
3201
  onClick() {
3202
3202
  this.dispatchEvent(
3203
- new CustomEvent(j3, { bubbles: !0, composed: !0 })
3203
+ new CustomEvent(K3, { bubbles: !0, composed: !0 })
3204
3204
  );
3205
3205
  }
3206
3206
  render() {
@@ -3215,7 +3215,7 @@ const V5 = class V5 extends u {
3215
3215
  `;
3216
3216
  }
3217
3217
  };
3218
- V5.styles = g`
3218
+ M5.styles = g`
3219
3219
  :host {
3220
3220
  display: inline-block;
3221
3221
  font-family: var(--font-sans);
@@ -3240,15 +3240,15 @@ V5.styles = g`
3240
3240
  background-color: var(--color-gray-3);
3241
3241
  }
3242
3242
  `;
3243
- let Z2 = V5;
3244
- customElements.get("anduin-well") || customElements.define("anduin-well", l2);
3245
- customElements.get("anduin-well-close") || customElements.define("anduin-well-close", Z2);
3246
- var U3 = Object.defineProperty, C1 = (r, e, t, i) => {
3243
+ let R2 = M5;
3244
+ customElements.get("anduin-well") || customElements.define("anduin-well", s2);
3245
+ customElements.get("anduin-well-close") || customElements.define("anduin-well-close", R2);
3246
+ var J3 = Object.defineProperty, d1 = (r, e, t, i) => {
3247
3247
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
3248
3248
  (n = r[l]) && (o = n(e, t, o) || o);
3249
- return o && U3(e, t, o), o;
3249
+ return o && J3(e, t, o), o;
3250
3250
  };
3251
- const _2 = "anduin-popover:close", m5 = class m5 extends u {
3251
+ const k2 = "anduin-popover:close", Z5 = class Z5 extends u {
3252
3252
  constructor() {
3253
3253
  super(...arguments), this.open = !1, this.placement = "bottom-start", this.fullWidth = !1, this._visible = !1, this._closing = !1, this._closeTransitionEndHandler = null, this._onOutsideClick = (e) => {
3254
3254
  var t;
@@ -3263,10 +3263,10 @@ const _2 = "anduin-popover:close", m5 = class m5 extends u {
3263
3263
  this.open = !this.open;
3264
3264
  }
3265
3265
  connectedCallback() {
3266
- super.connectedCallback(), document.addEventListener("click", this._onOutsideClick), window.addEventListener("scroll", this._onScrollOrResize, { passive: !0, capture: !0 }), window.addEventListener("resize", this._onScrollOrResize), this.addEventListener(_2, this._onPopoverClose);
3266
+ super.connectedCallback(), document.addEventListener("click", this._onOutsideClick), window.addEventListener("scroll", this._onScrollOrResize, { passive: !0, capture: !0 }), window.addEventListener("resize", this._onScrollOrResize), this.addEventListener(k2, this._onPopoverClose);
3267
3267
  }
3268
3268
  disconnectedCallback() {
3269
- super.disconnectedCallback(), document.removeEventListener("click", this._onOutsideClick), window.removeEventListener("scroll", this._onScrollOrResize, { capture: !0 }), window.removeEventListener("resize", this._onScrollOrResize), this.removeEventListener(_2, this._onPopoverClose);
3269
+ super.disconnectedCallback(), document.removeEventListener("click", this._onOutsideClick), window.removeEventListener("scroll", this._onScrollOrResize, { capture: !0 }), window.removeEventListener("resize", this._onScrollOrResize), this.removeEventListener(k2, this._onPopoverClose);
3270
3270
  }
3271
3271
  updated(e) {
3272
3272
  e.has("open") && (this.open ? (this._cancelCloseAnimation(), this._closing = !1, this._visible = !0, requestAnimationFrame(() => this._updatePosition())) : this._startCloseAnimation());
@@ -3295,10 +3295,10 @@ const _2 = "anduin-popover:close", m5 = class m5 extends u {
3295
3295
  t.style.transform = o;
3296
3296
  const n = t.getBoundingClientRect(), s = 4, d = window.innerWidth, p = window.innerHeight, h = 8;
3297
3297
  let v = 0, H = 0, f = "bottom";
3298
- const Z = !this.placement.startsWith("top"), G = p - i.bottom - s, x = i.top - s, D = G >= n.height, o1 = x >= n.height, q1 = Z ? D || G >= x : !o1 && D;
3299
- f = q1 ? "bottom" : "top", H = q1 ? i.bottom + s : i.top - n.height - s;
3300
- const W1 = this.placement.endsWith("end") ? "end" : this.placement.endsWith("start") ? "start" : "center";
3301
- W1 === "start" ? v = i.left : W1 === "end" ? v = i.right - n.width : v = i.left + i.width / 2 - n.width / 2, v = Math.max(h, Math.min(v, d - n.width - h)), H = Math.max(h, Math.min(H, p - n.height - h)), t.style.transform = `translate(${Math.round(v - l.left)}px, ${Math.round(H - l.top)}px)`, t.dataset.side = f;
3298
+ const Z = !this.placement.startsWith("top"), G = p - i.bottom - s, x = i.top - s, I = G >= n.height, i1 = x >= n.height, K1 = Z ? I || G >= x : !i1 && I;
3299
+ f = K1 ? "bottom" : "top", H = K1 ? i.bottom + s : i.top - n.height - s;
3300
+ const J1 = this.placement.endsWith("end") ? "end" : this.placement.endsWith("start") ? "start" : "center";
3301
+ J1 === "start" ? v = i.left : J1 === "end" ? v = i.right - n.width : v = i.left + i.width / 2 - n.width / 2, v = Math.max(h, Math.min(v, d - n.width - h)), H = Math.max(h, Math.min(H, p - n.height - h)), t.style.transform = `translate(${Math.round(v - l.left)}px, ${Math.round(H - l.top)}px)`, t.dataset.side = f;
3302
3302
  }
3303
3303
  render() {
3304
3304
  return C`
@@ -3313,7 +3313,7 @@ const _2 = "anduin-popover:close", m5 = class m5 extends u {
3313
3313
  `;
3314
3314
  }
3315
3315
  };
3316
- m5.styles = g`
3316
+ Z5.styles = g`
3317
3317
  :host { display: inline-block; font-family: var(--font-sans); }
3318
3318
  :host([full-width]) { display: block; width: 100%; }
3319
3319
 
@@ -3366,50 +3366,49 @@ m5.styles = g`
3366
3366
  transform: none;
3367
3367
  }
3368
3368
  `;
3369
- let F = m5;
3370
- C1([
3369
+ let F = Z5;
3370
+ d1([
3371
3371
  a({ type: Boolean, reflect: !0 })
3372
3372
  ], F.prototype, "open");
3373
- C1([
3373
+ d1([
3374
3374
  a()
3375
3375
  ], F.prototype, "placement");
3376
- C1([
3376
+ d1([
3377
3377
  a({ type: Boolean, attribute: "full-width", reflect: !0 })
3378
3378
  ], F.prototype, "fullWidth");
3379
- C1([
3380
- m()
3379
+ d1([
3380
+ V()
3381
3381
  ], F.prototype, "_visible");
3382
- C1([
3383
- m()
3382
+ d1([
3383
+ V()
3384
3384
  ], F.prototype, "_closing");
3385
- C1([
3386
- k(".popover__trigger")
3385
+ d1([
3386
+ R(".popover__trigger")
3387
3387
  ], F.prototype, "_triggerEl");
3388
- C1([
3389
- k(".popover__panel")
3388
+ d1([
3389
+ R(".popover__panel")
3390
3390
  ], F.prototype, "_panelEl");
3391
3391
  customElements.get("anduin-popover") || customElements.define("anduin-popover", F);
3392
- const L5 = class L5 extends u {
3392
+ const _5 = class _5 extends u {
3393
3393
  _onClick() {
3394
- this.dispatchEvent(new CustomEvent(_2, { bubbles: !0, composed: !0 }));
3394
+ this.dispatchEvent(new CustomEvent(k2, { bubbles: !0, composed: !0 }));
3395
3395
  }
3396
3396
  render() {
3397
3397
  return C`<span @click=${this._onClick}><slot></slot></span>`;
3398
3398
  }
3399
3399
  };
3400
- L5.styles = g`:host { display: contents; }`;
3401
- let x2 = L5;
3402
- customElements.get("anduin-popover-close") || customElements.define("anduin-popover-close", x2);
3403
- var G3 = Object.defineProperty, d1 = (r, e, t, i) => {
3400
+ _5.styles = g`:host { display: contents; }`;
3401
+ let $2 = _5;
3402
+ customElements.get("anduin-popover-close") || customElements.define("anduin-popover-close", $2);
3403
+ var Q3 = Object.defineProperty, c1 = (r, e, t, i) => {
3404
3404
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
3405
3405
  (n = r[l]) && (o = n(e, t, o) || o);
3406
- return o && G3(e, t, o), o;
3406
+ return o && Q3(e, t, o), o;
3407
3407
  };
3408
- const w2 = "anduin-menu-item:click", b5 = class b5 extends u {
3408
+ const E2 = "anduin-menu-item:click", x5 = class x5 extends u {
3409
3409
  constructor() {
3410
3410
  super(...arguments), this.open = !1, this.placement = "bottom-start", this._onOutsideClick = (e) => {
3411
- var t;
3412
- !this.contains(e.target) && !((t = this.shadowRoot) != null && t.contains(e.target)) && (this.open = !1);
3411
+ e.composedPath().includes(this) || (this.open = !1);
3413
3412
  }, this._onItemClick = () => {
3414
3413
  this.open = !1;
3415
3414
  }, this._onScrollOrResize = () => {
@@ -3420,10 +3419,10 @@ const w2 = "anduin-menu-item:click", b5 = class b5 extends u {
3420
3419
  this.open = !this.open;
3421
3420
  }
3422
3421
  connectedCallback() {
3423
- super.connectedCallback(), document.addEventListener("click", this._onOutsideClick), this.addEventListener(w2, this._onItemClick), window.addEventListener("scroll", this._onScrollOrResize, { passive: !0, capture: !0 }), window.addEventListener("resize", this._onScrollOrResize);
3422
+ super.connectedCallback(), document.addEventListener("click", this._onOutsideClick), this.addEventListener(E2, this._onItemClick), window.addEventListener("scroll", this._onScrollOrResize, { passive: !0, capture: !0 }), window.addEventListener("resize", this._onScrollOrResize);
3424
3423
  }
3425
3424
  disconnectedCallback() {
3426
- super.disconnectedCallback(), document.removeEventListener("click", this._onOutsideClick), this.removeEventListener(w2, this._onItemClick), window.removeEventListener("scroll", this._onScrollOrResize, { capture: !0 }), window.removeEventListener("resize", this._onScrollOrResize);
3425
+ super.disconnectedCallback(), document.removeEventListener("click", this._onOutsideClick), this.removeEventListener(E2, this._onItemClick), window.removeEventListener("scroll", this._onScrollOrResize, { capture: !0 }), window.removeEventListener("resize", this._onScrollOrResize);
3427
3426
  }
3428
3427
  updated(e) {
3429
3428
  e.has("open") && this.open && requestAnimationFrame(() => this._updatePosition());
@@ -3472,7 +3471,7 @@ const w2 = "anduin-menu-item:click", b5 = class b5 extends u {
3472
3471
  `;
3473
3472
  }
3474
3473
  };
3475
- b5.styles = g`
3474
+ x5.styles = g`
3476
3475
  :host { display: inline-block; font-family: var(--font-sans); }
3477
3476
 
3478
3477
  .menu__trigger { display: inline-block; }
@@ -3515,25 +3514,25 @@ b5.styles = g`
3515
3514
  transform: scale(1) translateY(0);
3516
3515
  }
3517
3516
  `;
3518
- let s1 = b5;
3519
- d1([
3517
+ let C1 = x5;
3518
+ c1([
3520
3519
  a({ type: Boolean, reflect: !0 })
3521
- ], s1.prototype, "open");
3522
- d1([
3520
+ ], C1.prototype, "open");
3521
+ c1([
3523
3522
  a()
3524
- ], s1.prototype, "placement");
3525
- d1([
3526
- k(".menu__trigger")
3527
- ], s1.prototype, "_triggerEl");
3528
- d1([
3529
- k(".menu__panel")
3530
- ], s1.prototype, "_panelEl");
3531
- const y5 = class y5 extends u {
3523
+ ], C1.prototype, "placement");
3524
+ c1([
3525
+ R(".menu__trigger")
3526
+ ], C1.prototype, "_triggerEl");
3527
+ c1([
3528
+ R(".menu__panel")
3529
+ ], C1.prototype, "_panelEl");
3530
+ const w5 = class w5 extends u {
3532
3531
  constructor() {
3533
3532
  super(...arguments), this.icon = "", this.variant = "default", this.disabled = !1;
3534
3533
  }
3535
3534
  _onClick() {
3536
- this.dispatchEvent(new CustomEvent(w2, { bubbles: !0, composed: !0 }));
3535
+ this.dispatchEvent(new CustomEvent(E2, { bubbles: !0, composed: !0 }));
3537
3536
  }
3538
3537
  render() {
3539
3538
  return C`
@@ -3550,7 +3549,7 @@ const y5 = class y5 extends u {
3550
3549
  `;
3551
3550
  }
3552
3551
  };
3553
- y5.styles = g`
3552
+ w5.styles = g`
3554
3553
  :host { display: block; width: 100%; font-family: var(--font-sans); }
3555
3554
  .menu-item {
3556
3555
  display: flex;
@@ -3580,26 +3579,26 @@ y5.styles = g`
3580
3579
  anduin-icon { color: var(--color-gray-7); }
3581
3580
  .menu-item--danger anduin-icon { color: var(--color-danger-4); }
3582
3581
  `;
3583
- let V1 = y5;
3584
- d1([
3582
+ let V1 = w5;
3583
+ c1([
3585
3584
  a()
3586
3585
  ], V1.prototype, "icon");
3587
- d1([
3586
+ c1([
3588
3587
  a()
3589
3588
  ], V1.prototype, "variant");
3590
- d1([
3589
+ c1([
3591
3590
  a({ type: Boolean })
3592
3591
  ], V1.prototype, "disabled");
3593
- customElements.get("anduin-menu") || customElements.define("anduin-menu", s1);
3592
+ customElements.get("anduin-menu") || customElements.define("anduin-menu", C1);
3594
3593
  customElements.get("anduin-menu-item") || customElements.define("anduin-menu-item", V1);
3595
- var q3 = Object.defineProperty, c1 = (r, e, t, i) => {
3594
+ var e7 = Object.defineProperty, p1 = (r, e, t, i) => {
3596
3595
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
3597
3596
  (n = r[l]) && (o = n(e, t, o) || o);
3598
- return o && q3(e, t, o), o;
3597
+ return o && e7(e, t, o), o;
3599
3598
  };
3600
- const _1 = "anduin-close", W3 = "anduin-after-close", u2 = 300, h2 = 200, o4 = 250;
3599
+ const R1 = "anduin-close", t7 = "anduin-after-close", f2 = 300, H2 = 200, C4 = 250;
3601
3600
  var Y;
3602
- const e1 = (Y = class extends u {
3601
+ const t1 = (Y = class extends u {
3603
3602
  constructor() {
3604
3603
  super(...arguments), this.open = !1, this.heading = "", this.hideHeader = !1, this.hideFooter = !1, this.maxWidth = "480", this.fullscreen = !1, this._leaving = !1, this.onAnduinClose = (e) => {
3605
3604
  e.target !== this && e.stopPropagation();
@@ -3613,13 +3612,13 @@ const e1 = (Y = class extends u {
3613
3612
  e.has("open") && (this.open ? (this._leaving = !1, this.classList.add("is-shown")) : this.classList.contains("is-shown") && (this._leaving = !0, setTimeout(
3614
3613
  () => {
3615
3614
  this._leaving = !1, this.classList.remove("is-shown"), this.dispatchEvent(
3616
- new CustomEvent(W3, {
3615
+ new CustomEvent(t7, {
3617
3616
  bubbles: !0,
3618
3617
  composed: !0
3619
3618
  })
3620
3619
  );
3621
3620
  },
3622
- Math.max(h2, o4)
3621
+ Math.max(H2, C4)
3623
3622
  )));
3624
3623
  }
3625
3624
  dispatch(e) {
@@ -3628,16 +3627,16 @@ const e1 = (Y = class extends u {
3628
3627
  );
3629
3628
  }
3630
3629
  onOverlayClick() {
3631
- this.dispatch(_1);
3630
+ this.dispatch(R1);
3632
3631
  }
3633
3632
  onClose() {
3634
- this.dispatch(_1);
3633
+ this.dispatch(R1);
3635
3634
  }
3636
3635
  connectedCallback() {
3637
- super.connectedCallback(), this.addEventListener(_1, this.onAnduinClose);
3636
+ super.connectedCallback(), this.addEventListener(R1, this.onAnduinClose);
3638
3637
  }
3639
3638
  disconnectedCallback() {
3640
- super.disconnectedCallback(), this.removeEventListener(_1, this.onAnduinClose);
3639
+ super.disconnectedCallback(), this.removeEventListener(R1, this.onAnduinClose);
3641
3640
  }
3642
3641
  render() {
3643
3642
  const e = this._leaving, t = this.fullscreen;
@@ -3751,11 +3750,11 @@ const e1 = (Y = class extends u {
3751
3750
  inset: 0;
3752
3751
  background: rgba(50, 60, 77, 0.6);
3753
3752
  cursor: default;
3754
- animation: overlayIn ${u2}ms cubic-bezier(0.2, 0, 0, 1)
3753
+ animation: overlayIn ${f2}ms cubic-bezier(0.2, 0, 0, 1)
3755
3754
  forwards;
3756
3755
  }
3757
3756
  .overlay.is-leaving {
3758
- animation: overlayOut ${o4}ms
3757
+ animation: overlayOut ${C4}ms
3759
3758
  cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3760
3759
  }
3761
3760
  .modal-wrapper {
@@ -3781,11 +3780,11 @@ const e1 = (Y = class extends u {
3781
3780
  0 8px 24px 0 rgba(29, 41, 57, 0.12),
3782
3781
  0 2px 8px 0 rgba(29, 41, 57, 0.08);
3783
3782
  flex-shrink: 0;
3784
- animation: modalIn ${u2}ms cubic-bezier(0.05, 0.7, 0.1, 1)
3783
+ animation: modalIn ${f2}ms cubic-bezier(0.05, 0.7, 0.1, 1)
3785
3784
  forwards;
3786
3785
  }
3787
3786
  .modal.is-leaving {
3788
- animation: modalOut ${h2}ms
3787
+ animation: modalOut ${H2}ms
3789
3788
  cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3790
3789
  }
3791
3790
  .modal-wrapper--fullscreen {
@@ -3815,11 +3814,11 @@ const e1 = (Y = class extends u {
3815
3814
  max-height: 100%;
3816
3815
  height: 100%;
3817
3816
  box-shadow: none;
3818
- animation: modalFullscreenIn ${u2}ms
3817
+ animation: modalFullscreenIn ${f2}ms
3819
3818
  cubic-bezier(0.05, 0.7, 0.1, 1) forwards;
3820
3819
  }
3821
3820
  .modal--fullscreen.is-leaving {
3822
- animation: modalFullscreenOut ${h2}ms
3821
+ animation: modalFullscreenOut ${H2}ms
3823
3822
  cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3824
3823
  }
3825
3824
  .header {
@@ -3872,34 +3871,34 @@ const e1 = (Y = class extends u {
3872
3871
  "960",
3873
3872
  "1160"
3874
3873
  ]), Y);
3875
- c1([
3874
+ p1([
3876
3875
  a({ type: Boolean, reflect: !0 })
3877
- ], e1.prototype, "open");
3878
- c1([
3876
+ ], t1.prototype, "open");
3877
+ p1([
3879
3878
  a()
3880
- ], e1.prototype, "heading");
3881
- c1([
3879
+ ], t1.prototype, "heading");
3880
+ p1([
3882
3881
  a({ type: Boolean, attribute: "hide-header" })
3883
- ], e1.prototype, "hideHeader");
3884
- c1([
3882
+ ], t1.prototype, "hideHeader");
3883
+ p1([
3885
3884
  a({ type: Boolean, attribute: "hide-footer" })
3886
- ], e1.prototype, "hideFooter");
3887
- c1([
3885
+ ], t1.prototype, "hideFooter");
3886
+ p1([
3888
3887
  a({ attribute: "max-width" })
3889
- ], e1.prototype, "maxWidth");
3890
- c1([
3888
+ ], t1.prototype, "maxWidth");
3889
+ p1([
3891
3890
  a({ type: Boolean })
3892
- ], e1.prototype, "fullscreen");
3893
- c1([
3894
- m()
3895
- ], e1.prototype, "_leaving");
3896
- let Y3 = e1;
3897
- customElements.get("anduin-modal") || customElements.define("anduin-modal", Y3);
3898
- class X3 extends HTMLElement {
3891
+ ], t1.prototype, "fullscreen");
3892
+ p1([
3893
+ V()
3894
+ ], t1.prototype, "_leaving");
3895
+ let o7 = t1;
3896
+ customElements.get("anduin-modal") || customElements.define("anduin-modal", o7);
3897
+ class i7 extends HTMLElement {
3899
3898
  constructor() {
3900
3899
  super(...arguments), this._onClick = () => {
3901
3900
  this.dispatchEvent(
3902
- new CustomEvent(_1, { bubbles: !0, composed: !0 })
3901
+ new CustomEvent(R1, { bubbles: !0, composed: !0 })
3903
3902
  );
3904
3903
  };
3905
3904
  }
@@ -3910,26 +3909,26 @@ class X3 extends HTMLElement {
3910
3909
  this.removeEventListener("click", this._onClick);
3911
3910
  }
3912
3911
  }
3913
- customElements.get("anduin-modal-close") || customElements.define("anduin-modal-close", X3);
3914
- var K3 = Object.defineProperty, U = (r, e, t, i) => {
3912
+ customElements.get("anduin-modal-close") || customElements.define("anduin-modal-close", i7);
3913
+ var l7 = Object.defineProperty, U = (r, e, t, i) => {
3915
3914
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
3916
3915
  (n = r[l]) && (o = n(e, t, o) || o);
3917
- return o && K3(e, t, o), o;
3916
+ return o && l7(e, t, o), o;
3918
3917
  };
3919
- const R2 = "anduin-radio:change", J3 = "anduin-radio-group:change", M5 = class M5 extends u {
3918
+ const z2 = "anduin-radio:change", r7 = "anduin-radio-group:change", R5 = class R5 extends u {
3920
3919
  constructor() {
3921
3920
  super(...arguments), this.checked = !1, this.disabled = !1, this.readonly = !1, this.value = "", this.name = "", this.inputid = "";
3922
3921
  }
3923
3922
  connectedCallback() {
3924
3923
  super.connectedCallback();
3925
3924
  const e = this.closest("anduin-field");
3926
- e && e.addEventListener(M1, (t) => {
3925
+ e && e.addEventListener(Z1, (t) => {
3927
3926
  const i = t;
3928
3927
  this.inputid && this.inputid === i.detail && !this.disabled && !this.readonly && this._select();
3929
3928
  });
3930
3929
  }
3931
3930
  _select() {
3932
- this.checked || (this.checked = !0, this.dispatchEvent(new CustomEvent(R2, {
3931
+ this.checked || (this.checked = !0, this.dispatchEvent(new CustomEvent(z2, {
3933
3932
  detail: this.value,
3934
3933
  bubbles: !0,
3935
3934
  composed: !0
@@ -3970,7 +3969,7 @@ const R2 = "anduin-radio:change", J3 = "anduin-radio-group:change", M5 = class M
3970
3969
  `;
3971
3970
  }
3972
3971
  };
3973
- M5.styles = g`
3972
+ R5.styles = g`
3974
3973
  :host { display: inline-flex; font-family: var(--font-sans); }
3975
3974
 
3976
3975
  label {
@@ -4041,7 +4040,7 @@ M5.styles = g`
4041
4040
  transform: scale(1);
4042
4041
  }
4043
4042
  `;
4044
- let N = M5;
4043
+ let N = R5;
4045
4044
  U([
4046
4045
  a({ type: Boolean })
4047
4046
  ], N.prototype, "checked");
@@ -4061,14 +4060,14 @@ U([
4061
4060
  a()
4062
4061
  ], N.prototype, "inputid");
4063
4062
  customElements.get("anduin-radio") || customElements.define("anduin-radio", N);
4064
- const Z5 = class Z5 extends u {
4063
+ const k5 = class k5 extends u {
4065
4064
  constructor() {
4066
4065
  super(...arguments), this.value = "", this.name = "", this.orientation = "vertical", this._onRadioChange = (e) => {
4067
4066
  const i = e.detail;
4068
4067
  i !== this.value && (this.value = i, this.querySelectorAll("anduin-radio").forEach((o) => {
4069
4068
  const l = o;
4070
4069
  l.checked = l.value === i;
4071
- }), this.dispatchEvent(new CustomEvent(J3, {
4070
+ }), this.dispatchEvent(new CustomEvent(r7, {
4072
4071
  detail: i,
4073
4072
  bubbles: !0,
4074
4073
  composed: !0
@@ -4076,10 +4075,10 @@ const Z5 = class Z5 extends u {
4076
4075
  };
4077
4076
  }
4078
4077
  connectedCallback() {
4079
- super.connectedCallback(), this.addEventListener(R2, this._onRadioChange);
4078
+ super.connectedCallback(), this.addEventListener(z2, this._onRadioChange);
4080
4079
  }
4081
4080
  disconnectedCallback() {
4082
- super.disconnectedCallback(), this.removeEventListener(R2, this._onRadioChange);
4081
+ super.disconnectedCallback(), this.removeEventListener(z2, this._onRadioChange);
4083
4082
  }
4084
4083
  render() {
4085
4084
  return C`
@@ -4089,7 +4088,7 @@ const Z5 = class Z5 extends u {
4089
4088
  `;
4090
4089
  }
4091
4090
  };
4092
- Z5.styles = g`
4091
+ k5.styles = g`
4093
4092
  :host { display: block; font-family: var(--font-sans); }
4094
4093
 
4095
4094
  .group {
@@ -4099,23 +4098,23 @@ Z5.styles = g`
4099
4098
  .group--vertical { flex-direction: column; }
4100
4099
  .group--horizontal { flex-direction: row; flex-wrap: wrap; align-items: center; }
4101
4100
  `;
4102
- let m1 = Z5;
4101
+ let b1 = k5;
4103
4102
  U([
4104
4103
  a()
4105
- ], m1.prototype, "value");
4104
+ ], b1.prototype, "value");
4106
4105
  U([
4107
4106
  a()
4108
- ], m1.prototype, "name");
4107
+ ], b1.prototype, "name");
4109
4108
  U([
4110
4109
  a()
4111
- ], m1.prototype, "orientation");
4112
- customElements.get("anduin-radio-group") || customElements.define("anduin-radio-group", m1);
4113
- var Q3 = Object.defineProperty, p1 = (r, e, t, i) => {
4110
+ ], b1.prototype, "orientation");
4111
+ customElements.get("anduin-radio-group") || customElements.define("anduin-radio-group", b1);
4112
+ var n7 = Object.defineProperty, u1 = (r, e, t, i) => {
4114
4113
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
4115
4114
  (n = r[l]) && (o = n(e, t, o) || o);
4116
- return o && Q3(e, t, o), o;
4115
+ return o && n7(e, t, o), o;
4117
4116
  };
4118
- const i4 = [
4117
+ const d4 = [
4119
4118
  { bg: "#6172F3", text: "#ffffff" },
4120
4119
  { bg: "#B692F6", text: "#ffffff" },
4121
4120
  { bg: "#F670C7", text: "#ffffff" },
@@ -4125,17 +4124,17 @@ const i4 = [
4125
4124
  { bg: "#F97066", text: "#ffffff" },
4126
4125
  { bg: "#7A5AF8", text: "#ffffff" }
4127
4126
  ];
4128
- function e7(r) {
4127
+ function a7(r) {
4129
4128
  let e = 0;
4130
4129
  for (let t = 0; t < r.length; t++) e = e * 31 + r.charCodeAt(t) >>> 0;
4131
- return i4[e % i4.length];
4130
+ return d4[e % d4.length];
4132
4131
  }
4133
- function t7(r) {
4132
+ function s7(r) {
4134
4133
  var t;
4135
4134
  const e = r.trim().split(/\s+/);
4136
4135
  return e.length === 1 ? ((t = e[0][0]) == null ? void 0 : t.toUpperCase()) ?? "" : ((e[0][0] ?? "") + (e[e.length - 1][0] ?? "")).toUpperCase();
4137
4136
  }
4138
- const _5 = class _5 extends u {
4137
+ const $5 = class $5 extends u {
4139
4138
  constructor() {
4140
4139
  super(...arguments), this.src = "", this.name = "", this.alt = "", this.icon = "", this.size = 32, this.shape = "circle", this._imgError = !1;
4141
4140
  }
@@ -4146,7 +4145,7 @@ const _5 = class _5 extends u {
4146
4145
  return this.size <= 16 ? 10 : this.size <= 20 ? 12 : this.size <= 24 ? 14 : 18;
4147
4146
  }
4148
4147
  render() {
4149
- const e = !!this.src && !this._imgError, t = this.name || this.icon ? e7(this.name || this.icon) : { bg: "#F2F4F7", text: "#667085" }, i = this.name ? t7(this.name) : "";
4148
+ const e = !!this.src && !this._imgError, t = this.name || this.icon ? a7(this.name || this.icon) : { bg: "#F2F4F7", text: "#667085" }, i = this.name ? s7(this.name) : "";
4150
4149
  return C`
4151
4150
  <div
4152
4151
  class="avatar avatar--${this.shape} avatar--${this.size}"
@@ -4164,7 +4163,7 @@ const _5 = class _5 extends u {
4164
4163
  `;
4165
4164
  }
4166
4165
  };
4167
- _5.styles = g`
4166
+ $5.styles = g`
4168
4167
  :host { display: inline-flex; }
4169
4168
 
4170
4169
  .avatar {
@@ -4193,27 +4192,27 @@ _5.styles = g`
4193
4192
  display: block;
4194
4193
  }
4195
4194
  `;
4196
- let O = _5;
4197
- p1([
4195
+ let O = $5;
4196
+ u1([
4198
4197
  a()
4199
4198
  ], O.prototype, "src");
4200
- p1([
4199
+ u1([
4201
4200
  a({ reflect: !0 })
4202
4201
  ], O.prototype, "name");
4203
- p1([
4202
+ u1([
4204
4203
  a()
4205
4204
  ], O.prototype, "alt");
4206
- p1([
4205
+ u1([
4207
4206
  a()
4208
4207
  ], O.prototype, "icon");
4209
- p1([
4208
+ u1([
4210
4209
  a({ type: Number })
4211
4210
  ], O.prototype, "size");
4212
- p1([
4211
+ u1([
4213
4212
  a()
4214
4213
  ], O.prototype, "shape");
4215
- p1([
4216
- m()
4214
+ u1([
4215
+ V()
4217
4216
  ], O.prototype, "_imgError");
4218
4217
  customElements.get("anduin-avatar") || customElements.define("anduin-avatar", O);
4219
4218
  /**
@@ -4221,8 +4220,8 @@ customElements.get("anduin-avatar") || customElements.define("anduin-avatar", O)
4221
4220
  * Copyright 2017 Google LLC
4222
4221
  * SPDX-License-Identifier: BSD-3-Clause
4223
4222
  */
4224
- const o7 = { CHILD: 2 }, i7 = (r) => (...e) => ({ _$litDirective$: r, values: e });
4225
- class l7 {
4223
+ const C7 = { CHILD: 2 }, d7 = (r) => (...e) => ({ _$litDirective$: r, values: e });
4224
+ class c7 {
4226
4225
  constructor(e) {
4227
4226
  }
4228
4227
  get _$AU() {
@@ -4243,13 +4242,13 @@ class l7 {
4243
4242
  * Copyright 2017 Google LLC
4244
4243
  * SPDX-License-Identifier: BSD-3-Clause
4245
4244
  */
4246
- class k2 extends l7 {
4245
+ class A2 extends c7 {
4247
4246
  constructor(e) {
4248
- if (super(e), this.it = c, e.type !== o7.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
4247
+ if (super(e), this.it = c, e.type !== C7.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
4249
4248
  }
4250
4249
  render(e) {
4251
4250
  if (e === c || e == null) return this._t = void 0, this.it = e;
4252
- if (e === a1) return e;
4251
+ if (e === s1) return e;
4253
4252
  if (typeof e != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
4254
4253
  if (e === this.it) return this._t;
4255
4254
  this.it = e;
@@ -4257,16 +4256,16 @@ class k2 extends l7 {
4257
4256
  return t.raw = t, this._t = { _$litType$: this.constructor.resultType, strings: t, values: [] };
4258
4257
  }
4259
4258
  }
4260
- k2.directiveName = "unsafeHTML", k2.resultType = 1;
4259
+ A2.directiveName = "unsafeHTML", A2.resultType = 1;
4261
4260
  /**
4262
4261
  * @license
4263
4262
  * Copyright 2017 Google LLC
4264
4263
  * SPDX-License-Identifier: BSD-3-Clause
4265
4264
  */
4266
- class $2 extends k2 {
4265
+ class B2 extends A2 {
4267
4266
  }
4268
- $2.directiveName = "unsafeSVG", $2.resultType = 2;
4269
- const r7 = i7($2), n7 = {
4267
+ B2.directiveName = "unsafeSVG", B2.resultType = 2;
4268
+ const p7 = d7(B2), u7 = {
4270
4269
  archive: {
4271
4270
  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"/>
4272
4271
  <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"/>
@@ -4510,26 +4509,26 @@ const r7 = i7($2), n7 = {
4510
4509
  <path fill-rule="evenodd" clip-rule="evenodd" d="M6 2H18.5H18.5147C18.8078 2 19.0982 2.02573 19.3829 2.07593C19.7452 2.22622 20 2.58335 20 3V8C20 8.55228 20.4477 9 21 9H26C26.4166 9 26.7738 9.25482 26.9241 9.6171C26.9743 9.90183 27 10.1922 27 10.4853V29C27 29.5523 26.5523 30 26 30H6C5.44772 30 5 29.5523 5 29V3C5 2.44772 5.44772 2 6 2ZM27.9804 10C27.9934 10.1608 28 10.3227 28 10.4853V29C28 30.1046 27.1046 31 26 31H6C4.89543 31 4 30.1046 4 29V3C4 1.89543 4.89543 1 6 1H18.5H18.5147C20.0951 1 21.6113 1.62353 22.7342 2.73435C22.742 2.742 22.7497 2.74967 22.7574 2.75736L26.2426 6.24264L26.5858 6.58579C27.4913 7.49129 28 8.71942 28 10H27.9804Z" fill="#AADAF9"/>
4511
4510
  <path d="M18.875 21.5385L20.3324 13.4117C20.3751 13.1734 20.5825 13 20.8246 13H22.1261C22.4436 13 22.6808 13.2921 22.6154 13.6029L20.3023 24.6029C20.2536 24.8343 20.0494 25 19.813 25H18.2572C18.0243 25 17.8223 24.8393 17.77 24.6124L16.0078 16.9725L14.2457 24.6124C14.1933 24.8393 13.9913 25 13.7584 25H12.2027C11.9662 25 11.762 24.8343 11.7134 24.6029L9.40022 13.6029C9.33487 13.2921 9.57198 13 9.88952 13H11.1916C11.4335 13 11.6406 13.1731 11.6836 13.4111L13.1484 21.522L14.9371 13.3926C14.9875 13.1633 15.1906 13 15.4254 13H16.6053C16.8403 13 17.0436 13.1636 17.0938 13.3932L18.875 21.5385Z" fill="#1075DC"/>` }
4512
4511
  }
4513
- }, a7 = [32, 24, 16];
4514
- function s7(r, e) {
4515
- const t = n7[r];
4512
+ }, h7 = [32, 24, 16];
4513
+ function g7(r, e) {
4514
+ const t = u7[r];
4516
4515
  if (!t) return null;
4517
4516
  if (t[e]) return t[e];
4518
- for (const i of a7)
4517
+ for (const i of h7)
4519
4518
  if (t[i]) return t[i];
4520
4519
  return null;
4521
4520
  }
4522
- var C7 = Object.defineProperty, E4 = (r, e, t, i) => {
4521
+ var v7 = Object.defineProperty, O4 = (r, e, t, i) => {
4523
4522
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
4524
4523
  (n = r[l]) && (o = n(e, t, o) || o);
4525
- return o && C7(e, t, o), o;
4524
+ return o && v7(e, t, o), o;
4526
4525
  };
4527
- const x5 = class x5 extends u {
4526
+ const E5 = class E5 extends u {
4528
4527
  constructor() {
4529
4528
  super(...arguments), this.type = "pdf", this.size = 32;
4530
4529
  }
4531
4530
  render() {
4532
- const e = s7(this.type, this.size);
4531
+ const e = g7(this.type, this.size);
4533
4532
  return e ? C`
4534
4533
  <svg
4535
4534
  width=${this.size}
@@ -4540,35 +4539,35 @@ const x5 = class x5 extends u {
4540
4539
  aria-label="${this.type} file"
4541
4540
  role="img"
4542
4541
  >
4543
- ${r7(e.paths)}
4542
+ ${p7(e.paths)}
4544
4543
  </svg>
4545
4544
  ` : c;
4546
4545
  }
4547
4546
  };
4548
- x5.styles = g`
4547
+ E5.styles = g`
4549
4548
  :host { display: inline-flex; align-items: center; justify-content: center; }
4550
4549
  svg { display: block; }
4551
4550
  `;
4552
- let T1 = x5;
4553
- E4([
4551
+ let U1 = E5;
4552
+ O4([
4554
4553
  a()
4555
- ], T1.prototype, "type");
4556
- E4([
4554
+ ], U1.prototype, "type");
4555
+ O4([
4557
4556
  a({ type: Number })
4558
- ], T1.prototype, "size");
4559
- customElements.get("anduin-file-icon") || customElements.define("anduin-file-icon", T1);
4560
- var d7 = Object.defineProperty, u1 = (r, e, t, i) => {
4557
+ ], U1.prototype, "size");
4558
+ customElements.get("anduin-file-icon") || customElements.define("anduin-file-icon", U1);
4559
+ var f7 = Object.defineProperty, h1 = (r, e, t, i) => {
4561
4560
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
4562
4561
  (n = r[l]) && (o = n(e, t, o) || o);
4563
- return o && d7(e, t, o), o;
4562
+ return o && f7(e, t, o), o;
4564
4563
  };
4565
- const l4 = {
4564
+ const c4 = {
4566
4565
  gray: "info",
4567
4566
  primary: "infoCircleLine",
4568
4567
  success: "checkCircle",
4569
4568
  warning: "warning",
4570
4569
  danger: "error"
4571
- }, c7 = "anduin-toast:dismiss", w5 = class w5 extends u {
4570
+ }, H7 = "anduin-toast:dismiss", z5 = class z5 extends u {
4572
4571
  constructor() {
4573
4572
  super(...arguments), this.variant = "gray", this.heading = "", this.description = "", this._dismissing = !1;
4574
4573
  }
@@ -4579,7 +4578,7 @@ const l4 = {
4579
4578
  const e = (i) => {
4580
4579
  var o;
4581
4580
  i.propertyName === "opacity" && ((o = this._toastEl) == null || o.removeEventListener("transitionend", e), this.dispatchEvent(
4582
- new CustomEvent(c7, { bubbles: !0, composed: !0 })
4581
+ new CustomEvent(H7, { bubbles: !0, composed: !0 })
4583
4582
  ));
4584
4583
  };
4585
4584
  (t = this._toastEl) == null || t.addEventListener("transitionend", e);
@@ -4588,7 +4587,7 @@ const l4 = {
4588
4587
  this.dismiss();
4589
4588
  }
4590
4589
  render() {
4591
- const e = l4[this.variant] ?? l4.gray;
4590
+ const e = c4[this.variant] ?? c4.gray;
4592
4591
  return C`
4593
4592
  <div
4594
4593
  class="toast toast--${this.variant} ${this._dismissing ? "toast--dismissing" : ""}"
@@ -4614,7 +4613,7 @@ const l4 = {
4614
4613
  `;
4615
4614
  }
4616
4615
  };
4617
- w5.styles = g`
4616
+ z5.styles = g`
4618
4617
  :host {
4619
4618
  display: block;
4620
4619
  font-family: var(--font-sans);
@@ -4742,24 +4741,24 @@ w5.styles = g`
4742
4741
  background: var(--color-gray-3, #d0d5dd);
4743
4742
  }
4744
4743
  `;
4745
- let K = w5;
4746
- u1([
4744
+ let K = z5;
4745
+ h1([
4747
4746
  a()
4748
4747
  ], K.prototype, "variant");
4749
- u1([
4748
+ h1([
4750
4749
  a()
4751
4750
  ], K.prototype, "heading");
4752
- u1([
4751
+ h1([
4753
4752
  a()
4754
4753
  ], K.prototype, "description");
4755
- u1([
4756
- m()
4754
+ h1([
4755
+ V()
4757
4756
  ], K.prototype, "_dismissing");
4758
- u1([
4759
- k(".toast")
4757
+ h1([
4758
+ R(".toast")
4760
4759
  ], K.prototype, "_toastEl");
4761
4760
  customElements.get("anduin-toast") || customElements.define("anduin-toast", K);
4762
- const R5 = class R5 extends u {
4761
+ const A5 = class A5 extends u {
4763
4762
  constructor() {
4764
4763
  super(...arguments), this.position = "bottom-left", this._toasts = [], this._nextId = 0;
4765
4764
  }
@@ -4803,7 +4802,7 @@ const R5 = class R5 extends u {
4803
4802
  `;
4804
4803
  }
4805
4804
  };
4806
- R5.styles = g`
4805
+ A5.styles = g`
4807
4806
  :host {
4808
4807
  display: contents;
4809
4808
  pointer-events: none;
@@ -4850,17 +4849,17 @@ R5.styles = g`
4850
4849
  align-items: flex-end;
4851
4850
  }
4852
4851
  `;
4853
- let N1 = R5;
4854
- u1([
4852
+ let G1 = A5;
4853
+ h1([
4855
4854
  a()
4856
- ], N1.prototype, "position");
4857
- u1([
4858
- m()
4859
- ], N1.prototype, "_toasts");
4860
- customElements.get("anduin-toaster") || customElements.define("anduin-toaster", N1);
4861
- const $7 = {
4855
+ ], G1.prototype, "position");
4856
+ h1([
4857
+ V()
4858
+ ], G1.prototype, "_toasts");
4859
+ customElements.get("anduin-toaster") || customElements.define("anduin-toaster", G1);
4860
+ const T7 = {
4862
4861
  show(r) {
4863
- return p7(r.position).show(r);
4862
+ return m7(r.position).show(r);
4864
4863
  },
4865
4864
  success(r, e, t) {
4866
4865
  return this.show({ ...t, variant: "success", heading: r, description: e });
@@ -4877,23 +4876,23 @@ const $7 = {
4877
4876
  gray(r, e, t) {
4878
4877
  return this.show({ ...t, variant: "gray", heading: r, description: e });
4879
4878
  }
4880
- }, g2 = /* @__PURE__ */ new Map();
4881
- function p7(r = "bottom-left") {
4882
- if (g2.has(r)) return g2.get(r);
4879
+ }, m2 = /* @__PURE__ */ new Map();
4880
+ function m7(r = "bottom-left") {
4881
+ if (m2.has(r)) return m2.get(r);
4883
4882
  const e = document.createElement("anduin-toaster");
4884
- return e.position = r, document.body.appendChild(e), g2.set(r, e), e;
4883
+ return e.position = r, document.body.appendChild(e), m2.set(r, e), e;
4885
4884
  }
4886
- var u7 = Object.defineProperty, z4 = (r, e, t, i) => {
4885
+ var V7 = Object.defineProperty, I4 = (r, e, t, i) => {
4887
4886
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
4888
4887
  (n = r[l]) && (o = n(e, t, o) || o);
4889
- return o && u7(e, t, o), o;
4888
+ return o && V7(e, t, o), o;
4890
4889
  };
4891
- const h7 = "anduin-switcher:change", k5 = class k5 extends u {
4890
+ const b7 = "anduin-switcher:change", B5 = class B5 extends u {
4892
4891
  constructor() {
4893
4892
  super(...arguments), this.checked = !1, this.disabled = !1;
4894
4893
  }
4895
4894
  onChange() {
4896
- this.checked = !this.checked, this.dispatchEvent(new CustomEvent(h7, {
4895
+ this.checked = !this.checked, this.dispatchEvent(new CustomEvent(b7, {
4897
4896
  detail: this.checked,
4898
4897
  bubbles: !0,
4899
4898
  composed: !0
@@ -4917,7 +4916,7 @@ const h7 = "anduin-switcher:change", k5 = class k5 extends u {
4917
4916
  `;
4918
4917
  }
4919
4918
  };
4920
- k5.styles = g`
4919
+ B5.styles = g`
4921
4920
  :host { display: inline-flex; font-family: var(--font-sans); }
4922
4921
 
4923
4922
  label {
@@ -4981,20 +4980,20 @@ k5.styles = g`
4981
4980
  line-height: 20px;
4982
4981
  }
4983
4982
  `;
4984
- let j1 = k5;
4985
- z4([
4983
+ let q1 = B5;
4984
+ I4([
4986
4985
  a({ type: Boolean })
4987
- ], j1.prototype, "checked");
4988
- z4([
4986
+ ], q1.prototype, "checked");
4987
+ I4([
4989
4988
  a({ type: Boolean })
4990
- ], j1.prototype, "disabled");
4991
- customElements.get("anduin-switcher") || customElements.define("anduin-switcher", j1);
4992
- var g7 = Object.defineProperty, M = (r, e, t, i) => {
4989
+ ], q1.prototype, "disabled");
4990
+ customElements.get("anduin-switcher") || customElements.define("anduin-switcher", q1);
4991
+ var L7 = Object.defineProperty, M = (r, e, t, i) => {
4993
4992
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
4994
4993
  (n = r[l]) && (o = n(e, t, o) || o);
4995
- return o && g7(e, t, o), o;
4994
+ return o && L7(e, t, o), o;
4996
4995
  };
4997
- const r4 = "anduin-dropdown:change", $5 = class $5 extends u {
4996
+ const p4 = "anduin-dropdown:change", P5 = class P5 extends u {
4998
4997
  constructor() {
4999
4998
  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) => {
5000
4999
  var t;
@@ -5026,14 +5025,14 @@ const r4 = "anduin-dropdown:change", $5 = class $5 extends u {
5026
5025
  e.key === "Escape" && (this._open = !1, this._query = "", (t = this._triggerEl) == null || t.focus());
5027
5026
  }
5028
5027
  _onClear(e) {
5029
- e.stopPropagation(), this.value = "", this.dispatchEvent(new CustomEvent(r4, {
5028
+ e.stopPropagation(), this.value = "", this.dispatchEvent(new CustomEvent(p4, {
5030
5029
  detail: "",
5031
5030
  bubbles: !0,
5032
5031
  composed: !0
5033
5032
  }));
5034
5033
  }
5035
5034
  _selectOption(e) {
5036
- this.value = e.value, this._open = !1, this._query = "", this.dispatchEvent(new CustomEvent(r4, {
5035
+ this.value = e.value, this._open = !1, this._query = "", this.dispatchEvent(new CustomEvent(p4, {
5037
5036
  detail: e.value,
5038
5037
  bubbles: !0,
5039
5038
  composed: !0
@@ -5051,8 +5050,8 @@ const r4 = "anduin-dropdown:change", $5 = class $5 extends u {
5051
5050
  const s = t.getBoundingClientRect(), d = 4, p = window.innerWidth, h = window.innerHeight, v = 8, H = h - i.bottom - d, f = i.top - d, G = s.height <= H || H >= f ? i.bottom + d : i.top - s.height - d;
5052
5051
  let x = i.left;
5053
5052
  this.placement === "bottom-end" ? x = i.right - s.width : this.placement === "bottom" && (x = i.left + i.width / 2 - s.width / 2), x = Math.max(v, Math.min(x, p - s.width - v));
5054
- const D = Math.max(v, Math.min(G, h - s.height - v));
5055
- t.style.transform = `translate(${Math.round(x - l.left)}px, ${Math.round(D - l.top)}px)`;
5053
+ const I = Math.max(v, Math.min(G, h - s.height - v));
5054
+ t.style.transform = `translate(${Math.round(x - l.left)}px, ${Math.round(I - l.top)}px)`;
5056
5055
  }
5057
5056
  get _filteredOptions() {
5058
5057
  if (!this._query) return this.options;
@@ -5119,7 +5118,7 @@ const r4 = "anduin-dropdown:change", $5 = class $5 extends u {
5119
5118
  `;
5120
5119
  }
5121
5120
  };
5122
- $5.styles = g`
5121
+ P5.styles = g`
5123
5122
  :host { display: inline-block; font-family: var(--font-sans); }
5124
5123
  :host([full-width]) { display: block; width: 100%; }
5125
5124
  :host([full-width]) .trigger { width: 100%; }
@@ -5299,67 +5298,67 @@ $5.styles = g`
5299
5298
  text-align: center;
5300
5299
  }
5301
5300
  `;
5302
- let L = $5;
5301
+ let b = P5;
5303
5302
  M([
5304
5303
  a()
5305
- ], L.prototype, "value");
5304
+ ], b.prototype, "value");
5306
5305
  M([
5307
5306
  a()
5308
- ], L.prototype, "placeholder");
5307
+ ], b.prototype, "placeholder");
5309
5308
  M([
5310
5309
  a({ attribute: !1 })
5311
- ], L.prototype, "options");
5310
+ ], b.prototype, "options");
5312
5311
  M([
5313
5312
  a()
5314
- ], L.prototype, "icon");
5313
+ ], b.prototype, "icon");
5315
5314
  M([
5316
5315
  a({ type: Boolean })
5317
- ], L.prototype, "searchable");
5316
+ ], b.prototype, "searchable");
5318
5317
  M([
5319
5318
  a({ type: Boolean })
5320
- ], L.prototype, "disabled");
5319
+ ], b.prototype, "disabled");
5321
5320
  M([
5322
5321
  a()
5323
- ], L.prototype, "placement");
5322
+ ], b.prototype, "placement");
5324
5323
  M([
5325
5324
  a()
5326
- ], L.prototype, "appearance");
5325
+ ], b.prototype, "appearance");
5327
5326
  M([
5328
5327
  a()
5329
- ], L.prototype, "variant");
5328
+ ], b.prototype, "variant");
5330
5329
  M([
5331
5330
  a()
5332
- ], L.prototype, "size");
5331
+ ], b.prototype, "size");
5333
5332
  M([
5334
5333
  a({ type: Boolean, attribute: "full-width", reflect: !0 })
5335
- ], L.prototype, "fullWidth");
5334
+ ], b.prototype, "fullWidth");
5336
5335
  M([
5337
- m()
5338
- ], L.prototype, "_open");
5336
+ V()
5337
+ ], b.prototype, "_open");
5339
5338
  M([
5340
- m()
5341
- ], L.prototype, "_query");
5339
+ V()
5340
+ ], b.prototype, "_query");
5342
5341
  M([
5343
- k(".trigger")
5344
- ], L.prototype, "_triggerEl");
5342
+ R(".trigger")
5343
+ ], b.prototype, "_triggerEl");
5345
5344
  M([
5346
- k(".panel")
5347
- ], L.prototype, "_panelEl");
5345
+ R(".panel")
5346
+ ], b.prototype, "_panelEl");
5348
5347
  M([
5349
- k("anduin-input")
5350
- ], L.prototype, "_searchEl");
5351
- customElements.get("anduin-dropdown") || customElements.define("anduin-dropdown", L);
5352
- var v7 = Object.defineProperty, t1 = (r, e, t, i) => {
5348
+ R("anduin-input")
5349
+ ], b.prototype, "_searchEl");
5350
+ customElements.get("anduin-dropdown") || customElements.define("anduin-dropdown", b);
5351
+ var y7 = Object.defineProperty, o1 = (r, e, t, i) => {
5353
5352
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
5354
5353
  (n = r[l]) && (o = n(e, t, o) || o);
5355
- return o && v7(e, t, o), o;
5354
+ return o && y7(e, t, o), o;
5356
5355
  };
5357
- const E2 = "anduin-close", f7 = "anduin-after-close", H7 = 300, n4 = 250, V7 = /* @__PURE__ */ new Map([
5356
+ const P2 = "anduin-close", M7 = "anduin-after-close", Z7 = 300, u4 = 250, _7 = /* @__PURE__ */ new Map([
5358
5357
  ["320", 320],
5359
5358
  ["360", 360],
5360
5359
  ["400", 400],
5361
5360
  ["640", 640]
5362
- ]), E5 = class E5 extends u {
5361
+ ]), S5 = class S5 extends u {
5363
5362
  constructor() {
5364
5363
  super(...arguments), this.open = !1, this.heading = "", this.hideHeader = !1, this.hideFooter = !1, this.defaultWidth = "320", this.allowInteractOutside = !1, this._leaving = !1, this._width = 320, this._resizing = !1, this._startX = 0, this._startWidth = 0, this._onResizeStart = (e) => {
5365
5364
  this._resizing = !0, this._startX = e.clientX, this._startWidth = this._width, e.currentTarget.setPointerCapture(e.pointerId), e.preventDefault();
@@ -5378,17 +5377,17 @@ const E2 = "anduin-close", f7 = "anduin-after-close", H7 = 300, n4 = 250, V7 = /
5378
5377
  };
5379
5378
  }
5380
5379
  willUpdate(e) {
5381
- e.has("defaultWidth") && (this._width = V7.get(this.defaultWidth) ?? (parseInt(this.defaultWidth) || 320));
5380
+ e.has("defaultWidth") && (this._width = _7.get(this.defaultWidth) ?? (parseInt(this.defaultWidth) || 320));
5382
5381
  }
5383
5382
  updated(e) {
5384
5383
  e.has("open") && (this.open ? (this._leaving = !1, this.classList.add("is-shown")) : this.classList.contains("is-shown") && (this._leaving = !0, setTimeout(() => {
5385
5384
  this._leaving = !1, this.classList.remove("is-shown"), this.dispatchEvent(
5386
- new CustomEvent(f7, {
5385
+ new CustomEvent(M7, {
5387
5386
  bubbles: !0,
5388
5387
  composed: !0
5389
5388
  })
5390
5389
  );
5391
- }, n4)));
5390
+ }, u4)));
5392
5391
  }
5393
5392
  _dispatch(e) {
5394
5393
  this.dispatchEvent(
@@ -5396,10 +5395,10 @@ const E2 = "anduin-close", f7 = "anduin-after-close", H7 = 300, n4 = 250, V7 = /
5396
5395
  );
5397
5396
  }
5398
5397
  _onClose() {
5399
- this._dispatch(E2);
5398
+ this._dispatch(P2);
5400
5399
  }
5401
5400
  _onBackdropClick() {
5402
- this._dispatch(E2);
5401
+ this._dispatch(P2);
5403
5402
  }
5404
5403
  render() {
5405
5404
  const e = this._leaving;
@@ -5442,7 +5441,7 @@ const E2 = "anduin-close", f7 = "anduin-after-close", H7 = 300, n4 = 250, V7 = /
5442
5441
  `;
5443
5442
  }
5444
5443
  };
5445
- E5.styles = g`
5444
+ S5.styles = g`
5446
5445
  :host {
5447
5446
  display: none;
5448
5447
  font-family: var(--font-sans);
@@ -5489,14 +5488,14 @@ E5.styles = g`
5489
5488
  box-shadow:
5490
5489
  -8px 0 24px 0 rgba(29, 41, 57, 0.12),
5491
5490
  -2px 0 8px 0 rgba(29, 41, 57, 0.08);
5492
- animation: drawerIn ${H7}ms cubic-bezier(0.05, 0.7, 0.1, 1)
5491
+ animation: drawerIn ${Z7}ms cubic-bezier(0.05, 0.7, 0.1, 1)
5493
5492
  forwards;
5494
5493
  min-width: 200px;
5495
5494
  max-width: 90vw;
5496
5495
  pointer-events: auto;
5497
5496
  }
5498
5497
  .drawer.is-leaving {
5499
- animation: drawerOut ${n4}ms
5498
+ animation: drawerOut ${u4}ms
5500
5499
  cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
5501
5500
  }
5502
5501
  @media (max-width: 640px) {
@@ -5560,37 +5559,37 @@ E5.styles = g`
5560
5559
  border-top: 1px solid var(--color-gray-3, #e4e7ec);
5561
5560
  }
5562
5561
  `;
5563
- let z = E5;
5564
- t1([
5562
+ let z = S5;
5563
+ o1([
5565
5564
  a({ type: Boolean, reflect: !0 })
5566
5565
  ], z.prototype, "open");
5567
- t1([
5566
+ o1([
5568
5567
  a()
5569
5568
  ], z.prototype, "heading");
5570
- t1([
5569
+ o1([
5571
5570
  a({ type: Boolean, attribute: "hide-header" })
5572
5571
  ], z.prototype, "hideHeader");
5573
- t1([
5572
+ o1([
5574
5573
  a({ type: Boolean, attribute: "hide-footer" })
5575
5574
  ], z.prototype, "hideFooter");
5576
- t1([
5575
+ o1([
5577
5576
  a({ attribute: "default-width" })
5578
5577
  ], z.prototype, "defaultWidth");
5579
- t1([
5578
+ o1([
5580
5579
  a({ type: Boolean, attribute: "allow-interact-outside" })
5581
5580
  ], z.prototype, "allowInteractOutside");
5582
- t1([
5583
- m()
5581
+ o1([
5582
+ V()
5584
5583
  ], z.prototype, "_leaving");
5585
- t1([
5586
- m()
5584
+ o1([
5585
+ V()
5587
5586
  ], z.prototype, "_width");
5588
5587
  customElements.get("anduin-drawer") || customElements.define("anduin-drawer", z);
5589
- class m7 extends HTMLElement {
5588
+ class x7 extends HTMLElement {
5590
5589
  constructor() {
5591
5590
  super(...arguments), this._onClick = () => {
5592
5591
  this.dispatchEvent(
5593
- new CustomEvent(E2, { bubbles: !0, composed: !0 })
5592
+ new CustomEvent(P2, { bubbles: !0, composed: !0 })
5594
5593
  );
5595
5594
  };
5596
5595
  }
@@ -5601,13 +5600,13 @@ class m7 extends HTMLElement {
5601
5600
  this.removeEventListener("click", this._onClick);
5602
5601
  }
5603
5602
  }
5604
- customElements.get("anduin-drawer-close") || customElements.define("anduin-drawer-close", m7);
5605
- var L7 = Object.defineProperty, y = (r, e, t, i) => {
5603
+ customElements.get("anduin-drawer-close") || customElements.define("anduin-drawer-close", x7);
5604
+ var w7 = Object.defineProperty, y = (r, e, t, i) => {
5606
5605
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
5607
5606
  (n = r[l]) && (o = n(e, t, o) || o);
5608
- return o && L7(e, t, o), o;
5607
+ return o && w7(e, t, o), o;
5609
5608
  };
5610
- const v2 = "anduin-suggestion:change", b7 = "anduin-suggestion:select", y7 = "anduin-suggestion:clear", z5 = class z5 extends u {
5609
+ const V2 = "anduin-suggestion:change", R7 = "anduin-suggestion:select", k7 = "anduin-suggestion:clear", F5 = class F5 extends u {
5611
5610
  constructor() {
5612
5611
  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) => {
5613
5612
  var t;
@@ -5619,7 +5618,7 @@ const v2 = "anduin-suggestion:change", b7 = "anduin-suggestion:select", y7 = "an
5619
5618
  connectedCallback() {
5620
5619
  super.connectedCallback(), document.addEventListener("mousedown", this._onDocumentMouseDown), window.addEventListener("scroll", this._onScrollOrResize, { passive: !0, capture: !0 }), window.addEventListener("resize", this._onScrollOrResize);
5621
5620
  const e = this.closest("anduin-field");
5622
- e && e.addEventListener(M1, (t) => {
5621
+ e && e.addEventListener(Z1, (t) => {
5623
5622
  var o;
5624
5623
  const i = t;
5625
5624
  this.inputid && this.inputid === i.detail && ((o = this._inputEl) == null || o.focus());
@@ -5647,7 +5646,7 @@ const v2 = "anduin-suggestion:change", b7 = "anduin-suggestion:select", y7 = "an
5647
5646
  this._openPanel();
5648
5647
  }
5649
5648
  _onInput() {
5650
- this.value = this._inputEl.value, this._open || this._openPanel(), this._activeIndex = -1, this.dispatchEvent(new CustomEvent(v2, {
5649
+ this.value = this._inputEl.value, this._open || this._openPanel(), this._activeIndex = -1, this.dispatchEvent(new CustomEvent(V2, {
5651
5650
  detail: this.value,
5652
5651
  bubbles: !0,
5653
5652
  composed: !0
@@ -5680,11 +5679,11 @@ const v2 = "anduin-suggestion:change", b7 = "anduin-suggestion:select", y7 = "an
5680
5679
  }
5681
5680
  _selectSuggestion(e) {
5682
5681
  var t;
5683
- this.value = e.value, this._inputEl && (this._inputEl.value = e.value), this._open = !1, this.dispatchEvent(new CustomEvent(v2, {
5682
+ this.value = e.value, this._inputEl && (this._inputEl.value = e.value), this._open = !1, this.dispatchEvent(new CustomEvent(V2, {
5684
5683
  detail: this.value,
5685
5684
  bubbles: !0,
5686
5685
  composed: !0
5687
- })), this.dispatchEvent(new CustomEvent(b7, {
5686
+ })), this.dispatchEvent(new CustomEvent(R7, {
5688
5687
  detail: e,
5689
5688
  bubbles: !0,
5690
5689
  composed: !0
@@ -5692,11 +5691,11 @@ const v2 = "anduin-suggestion:change", b7 = "anduin-suggestion:select", y7 = "an
5692
5691
  }
5693
5692
  _onClear() {
5694
5693
  var e;
5695
- this.value = "", this._inputEl && (this._inputEl.value = ""), this._activeIndex = -1, this.dispatchEvent(new CustomEvent(v2, { detail: "", bubbles: !0, composed: !0 })), this.dispatchEvent(new CustomEvent(y7, { bubbles: !0, composed: !0 })), (e = this._inputEl) == null || e.focus();
5694
+ this.value = "", this._inputEl && (this._inputEl.value = ""), this._activeIndex = -1, this.dispatchEvent(new CustomEvent(V2, { detail: "", bubbles: !0, composed: !0 })), this.dispatchEvent(new CustomEvent(k7, { bubbles: !0, composed: !0 })), (e = this._inputEl) == null || e.focus();
5696
5695
  }
5697
5696
  _updatePosition() {
5698
- var o1;
5699
- const e = (o1 = this.shadowRoot) == null ? void 0 : o1.querySelector(".input-wrapper"), t = this._panelEl;
5697
+ var i1;
5698
+ const e = (i1 = this.shadowRoot) == null ? void 0 : i1.querySelector(".input-wrapper"), t = this._panelEl;
5700
5699
  if (!e || !t) return;
5701
5700
  const i = e.getBoundingClientRect(), o = t.style.transform;
5702
5701
  t.style.transform = "none";
@@ -5707,8 +5706,8 @@ const v2 = "anduin-suggestion:change", b7 = "anduin-suggestion:select", y7 = "an
5707
5706
  const s = t.getBoundingClientRect(), d = 4, p = window.innerWidth, h = window.innerHeight, v = 8, H = h - i.bottom - d, f = i.top - d, G = s.height <= H || H >= f ? i.bottom + d : i.top - s.height - d;
5708
5707
  let x = i.left;
5709
5708
  x = Math.max(v, Math.min(x, p - s.width - v));
5710
- const D = Math.max(v, Math.min(G, h - s.height - v));
5711
- t.style.transform = `translate(${Math.round(x - l.left)}px, ${Math.round(D - l.top)}px)`;
5709
+ const I = Math.max(v, Math.min(G, h - s.height - v));
5710
+ t.style.transform = `translate(${Math.round(x - l.left)}px, ${Math.round(I - l.top)}px)`;
5712
5711
  }
5713
5712
  render() {
5714
5713
  const e = this.size === "small" ? "input--small" : this.size === "large" ? "input--large" : "input--default", t = this.status ? `input--${this.status}` : "", i = !!this.startIcon, o = !!this.endIcon || this.clearable && !!this.value, l = this.clearable && !!this.value && !this.disabled && !this.readonly, n = this.size === "small" ? "12" : this.size === "large" ? "20" : "16", s = this.size === "small" ? "10" : this.size === "large" ? "16" : "14", d = this._filteredSuggestions, p = this._open && (!this.hideWhenEmpty || d.length > 0);
@@ -5780,7 +5779,7 @@ const v2 = "anduin-suggestion:change", b7 = "anduin-suggestion:select", y7 = "an
5780
5779
  `;
5781
5780
  }
5782
5781
  };
5783
- z5.styles = g`
5782
+ F5.styles = g`
5784
5783
  :host { display: block; font-family: var(--font-sans); position: relative; }
5785
5784
 
5786
5785
  .input-wrapper { position: relative; display: flex; align-items: center; }
@@ -5893,73 +5892,73 @@ z5.styles = g`
5893
5892
  text-align: center;
5894
5893
  }
5895
5894
  `;
5896
- let V = z5;
5895
+ let m = F5;
5897
5896
  y([
5898
5897
  a()
5899
- ], V.prototype, "value");
5898
+ ], m.prototype, "value");
5900
5899
  y([
5901
5900
  a()
5902
- ], V.prototype, "size");
5901
+ ], m.prototype, "size");
5903
5902
  y([
5904
5903
  a({ type: Boolean })
5905
- ], V.prototype, "disabled");
5904
+ ], m.prototype, "disabled");
5906
5905
  y([
5907
5906
  a({ type: Boolean })
5908
- ], V.prototype, "readonly");
5907
+ ], m.prototype, "readonly");
5909
5908
  y([
5910
5909
  a()
5911
- ], V.prototype, "placeholder");
5910
+ ], m.prototype, "placeholder");
5912
5911
  y([
5913
5912
  a()
5914
- ], V.prototype, "inputid");
5913
+ ], m.prototype, "inputid");
5915
5914
  y([
5916
5915
  a()
5917
- ], V.prototype, "status");
5916
+ ], m.prototype, "status");
5918
5917
  y([
5919
5918
  a({ attribute: "start-icon" })
5920
- ], V.prototype, "startIcon");
5919
+ ], m.prototype, "startIcon");
5921
5920
  y([
5922
5921
  a({ attribute: "end-icon" })
5923
- ], V.prototype, "endIcon");
5922
+ ], m.prototype, "endIcon");
5924
5923
  y([
5925
5924
  a({ type: Boolean })
5926
- ], V.prototype, "clearable");
5925
+ ], m.prototype, "clearable");
5927
5926
  y([
5928
5927
  a({ attribute: !1 })
5929
- ], V.prototype, "suggestions");
5928
+ ], m.prototype, "suggestions");
5930
5929
  y([
5931
5930
  a({ type: Boolean })
5932
- ], V.prototype, "filter");
5931
+ ], m.prototype, "filter");
5933
5932
  y([
5934
5933
  a({ type: Boolean, attribute: "hide-when-empty" })
5935
- ], V.prototype, "hideWhenEmpty");
5934
+ ], m.prototype, "hideWhenEmpty");
5936
5935
  y([
5937
5936
  a({ attribute: "empty-text" })
5938
- ], V.prototype, "emptyText");
5937
+ ], m.prototype, "emptyText");
5939
5938
  y([
5940
- m()
5941
- ], V.prototype, "_open");
5939
+ V()
5940
+ ], m.prototype, "_open");
5942
5941
  y([
5943
- m()
5944
- ], V.prototype, "_activeIndex");
5942
+ V()
5943
+ ], m.prototype, "_activeIndex");
5945
5944
  y([
5946
- k("input")
5947
- ], V.prototype, "_inputEl");
5945
+ R("input")
5946
+ ], m.prototype, "_inputEl");
5948
5947
  y([
5949
- k(".panel")
5950
- ], V.prototype, "_panelEl");
5951
- customElements.get("anduin-suggestion") || customElements.define("anduin-suggestion", V);
5952
- var M7 = Object.defineProperty, B = (r, e, t, i) => {
5948
+ R(".panel")
5949
+ ], m.prototype, "_panelEl");
5950
+ customElements.get("anduin-suggestion") || customElements.define("anduin-suggestion", m);
5951
+ var $7 = Object.defineProperty, B = (r, e, t, i) => {
5953
5952
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
5954
5953
  (n = r[l]) && (o = n(e, t, o) || o);
5955
- return o && M7(e, t, o), o;
5954
+ return o && $7(e, t, o), o;
5956
5955
  };
5957
- const Z7 = "anduin-navigation:change", z2 = "anduin-navigation-item:item-click", A5 = class A5 extends u {
5956
+ const E7 = "anduin-navigation:change", S2 = "anduin-navigation-item:item-click", O5 = class O5 extends u {
5958
5957
  constructor() {
5959
5958
  super(...arguments), this.defaultValue = "", this.value = null, this.theme = "light", this.alignment = "left", this.internalValue = "", this.onItemClick = (e) => {
5960
5959
  e.stopPropagation();
5961
5960
  const i = e.detail;
5962
- i !== this.selection && (this.dispatchEvent(new CustomEvent(Z7, {
5961
+ i !== this.selection && (this.dispatchEvent(new CustomEvent(E7, {
5963
5962
  detail: i,
5964
5963
  bubbles: !0,
5965
5964
  composed: !0
@@ -5973,10 +5972,10 @@ const Z7 = "anduin-navigation:change", z2 = "anduin-navigation-item:item-click",
5973
5972
  return this.isControlled ? this.value : this.internalValue;
5974
5973
  }
5975
5974
  connectedCallback() {
5976
- super.connectedCallback(), this.hasUpdated || (this.internalValue = this.defaultValue), this.addEventListener(z2, this.onItemClick);
5975
+ super.connectedCallback(), this.hasUpdated || (this.internalValue = this.defaultValue), this.addEventListener(S2, this.onItemClick);
5977
5976
  }
5978
5977
  disconnectedCallback() {
5979
- super.disconnectedCallback(), this.removeEventListener(z2, this.onItemClick);
5978
+ super.disconnectedCallback(), this.removeEventListener(S2, this.onItemClick);
5980
5979
  }
5981
5980
  updated() {
5982
5981
  this.syncItems();
@@ -5997,7 +5996,7 @@ const Z7 = "anduin-navigation:change", z2 = "anduin-navigation-item:item-click",
5997
5996
  `;
5998
5997
  }
5999
5998
  };
6000
- A5.styles = g`
5999
+ O5.styles = g`
6001
6000
  :host {
6002
6001
  display: block;
6003
6002
  font-family: var(--font-sans);
@@ -6040,7 +6039,7 @@ A5.styles = g`
6040
6039
  .navigation--center { justify-content: center; }
6041
6040
  .navigation--right { justify-content: flex-end; }
6042
6041
  `;
6043
- let J = A5;
6042
+ let J = O5;
6044
6043
  B([
6045
6044
  a({ attribute: "default-value" })
6046
6045
  ], J.prototype, "defaultValue");
@@ -6054,9 +6053,9 @@ B([
6054
6053
  a()
6055
6054
  ], J.prototype, "alignment");
6056
6055
  B([
6057
- m()
6056
+ V()
6058
6057
  ], J.prototype, "internalValue");
6059
- const B5 = class B5 extends u {
6058
+ const I5 = class I5 extends u {
6060
6059
  constructor() {
6061
6060
  super(...arguments), this.value = "", this.startIcon = "", this.href = "", this.disabled = !1, this.selected = !1, this.theme = "light";
6062
6061
  }
@@ -6065,7 +6064,7 @@ const B5 = class B5 extends u {
6065
6064
  e.preventDefault();
6066
6065
  return;
6067
6066
  }
6068
- this.dispatchEvent(new CustomEvent(z2, {
6067
+ this.dispatchEvent(new CustomEvent(S2, {
6069
6068
  detail: this.value,
6070
6069
  bubbles: !0,
6071
6070
  composed: !0
@@ -6103,7 +6102,7 @@ const B5 = class B5 extends u {
6103
6102
  `;
6104
6103
  }
6105
6104
  };
6106
- B5.styles = g`
6105
+ I5.styles = g`
6107
6106
  :host { display: inline-block; font-family: var(--font-sans); }
6108
6107
  .nav-item {
6109
6108
  box-sizing: border-box;
@@ -6148,7 +6147,7 @@ B5.styles = g`
6148
6147
  }
6149
6148
  .nav-item__icon { display: flex; }
6150
6149
  `;
6151
- let j = B5;
6150
+ let j = I5;
6152
6151
  B([
6153
6152
  a()
6154
6153
  ], j.prototype, "value");
@@ -6169,19 +6168,19 @@ B([
6169
6168
  ], j.prototype, "theme");
6170
6169
  customElements.get("anduin-navigation") || customElements.define("anduin-navigation", J);
6171
6170
  customElements.get("anduin-navigation-item") || customElements.define("anduin-navigation-item", j);
6172
- var _7 = Object.defineProperty, h1 = (r, e, t, i) => {
6171
+ var z7 = Object.defineProperty, g1 = (r, e, t, i) => {
6173
6172
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
6174
6173
  (n = r[l]) && (o = n(e, t, o) || o);
6175
- return o && _7(e, t, o), o;
6174
+ return o && z7(e, t, o), o;
6176
6175
  };
6177
- const x7 = "anduin-resizable:resize", A4 = "anduin-resizable-panel", a4 = (r) => !!r && r.tagName.toLowerCase() === A4;
6178
- function s4(r, e, t) {
6176
+ const A7 = "anduin-resizable:resize", D4 = "anduin-resizable-panel", h4 = (r) => !!r && r.tagName.toLowerCase() === D4;
6177
+ function g4(r, e, t) {
6179
6178
  const i = (r || "").trim();
6180
6179
  if (!i) return t;
6181
6180
  const o = parseFloat(i);
6182
6181
  return Number.isNaN(o) ? t : i.endsWith("%") ? o / 100 * e : o;
6183
6182
  }
6184
- const P5 = class P5 extends u {
6183
+ const D5 = class D5 extends u {
6185
6184
  constructor() {
6186
6185
  super(...arguments), this.orientation = "horizontal";
6187
6186
  }
@@ -6197,7 +6196,7 @@ const P5 = class P5 extends u {
6197
6196
  return this.isVertical ? e.height : e.width;
6198
6197
  }
6199
6198
  get panels() {
6200
- return Array.from(this.querySelectorAll(`:scope > ${A4}`));
6199
+ return Array.from(this.querySelectorAll(`:scope > ${D4}`));
6201
6200
  }
6202
6201
  updated() {
6203
6202
  for (const e of this.querySelectorAll(":scope > anduin-resizable-handle"))
@@ -6222,7 +6221,7 @@ const P5 = class P5 extends u {
6222
6221
  `;
6223
6222
  }
6224
6223
  };
6225
- P5.styles = g`
6224
+ D5.styles = g`
6226
6225
  :host { display: block; width: 100%; height: 100%; font-family: var(--font-sans); }
6227
6226
  .panel-group {
6228
6227
  display: flex; flex-direction: row;
@@ -6230,11 +6229,11 @@ P5.styles = g`
6230
6229
  }
6231
6230
  .panel-group--vertical { flex-direction: column; }
6232
6231
  `;
6233
- let r2 = P5;
6234
- h1([
6232
+ let C2 = D5;
6233
+ g1([
6235
6234
  a({ reflect: !0 })
6236
- ], r2.prototype, "orientation");
6237
- const S5 = class S5 extends u {
6235
+ ], C2.prototype, "orientation");
6236
+ const T5 = class T5 extends u {
6238
6237
  constructor() {
6239
6238
  super(...arguments), this.defaultSize = "", this.minSize = "", this.maxSize = "", this.applied = !1;
6240
6239
  }
@@ -6257,30 +6256,30 @@ const S5 = class S5 extends u {
6257
6256
  return e ? t.height : t.width;
6258
6257
  }
6259
6258
  minPx(e) {
6260
- return s4(this.minSize, e, 0);
6259
+ return g4(this.minSize, e, 0);
6261
6260
  }
6262
6261
  maxPx(e) {
6263
- return s4(this.maxSize, e, e);
6262
+ return g4(this.maxSize, e, e);
6264
6263
  }
6265
6264
  render() {
6266
6265
  return C`<div class="panel" part="panel"><slot></slot></div>`;
6267
6266
  }
6268
6267
  };
6269
- S5.styles = g`
6268
+ T5.styles = g`
6270
6269
  :host { display: block; flex: 1 1 0; min-width: 0; min-height: 0; overflow: hidden; font-family: var(--font-sans); }
6271
6270
  .panel { width: 100%; height: 100%; overflow: hidden; }
6272
6271
  `;
6273
- let L1 = S5;
6274
- h1([
6272
+ let L1 = T5;
6273
+ g1([
6275
6274
  a({ attribute: "default-size" })
6276
6275
  ], L1.prototype, "defaultSize");
6277
- h1([
6276
+ g1([
6278
6277
  a({ attribute: "min-size" })
6279
6278
  ], L1.prototype, "minSize");
6280
- h1([
6279
+ g1([
6281
6280
  a({ attribute: "max-size" })
6282
6281
  ], L1.prototype, "maxSize");
6283
- const F5 = class F5 extends u {
6282
+ const N5 = class N5 extends u {
6284
6283
  constructor() {
6285
6284
  super(...arguments), this.withHandle = !1, this.groupVertical = !1, this.dragging = !1, this.group = null, this.startPos = 0, this.startPrevPx = 0, this.combinedPx = 0, this.combinedGrow = 0, this.activePointerId = null, this.onPointerDown = (e) => {
6286
6285
  const t = this.closest("anduin-resizable-panel-group"), i = this.prevPanel, o = this.nextPanel;
@@ -6326,10 +6325,10 @@ const F5 = class F5 extends u {
6326
6325
  this.groupVertical = e, this.setAttribute("aria-orientation", e ? "horizontal" : "vertical");
6327
6326
  }
6328
6327
  get prevPanel() {
6329
- return a4(this.previousElementSibling) ? this.previousElementSibling : null;
6328
+ return h4(this.previousElementSibling) ? this.previousElementSibling : null;
6330
6329
  }
6331
6330
  get nextPanel() {
6332
- return a4(this.nextElementSibling) ? this.nextElementSibling : null;
6331
+ return h4(this.nextElementSibling) ? this.nextElementSibling : null;
6333
6332
  }
6334
6333
  endDrag() {
6335
6334
  if (!(!this.dragging && this.activePointerId === null)) {
@@ -6357,7 +6356,7 @@ const F5 = class F5 extends u {
6357
6356
  const o = e.axisSize;
6358
6357
  if (o <= 0) return;
6359
6358
  const l = e.isVertical;
6360
- this.dispatchEvent(new CustomEvent(x7, {
6359
+ this.dispatchEvent(new CustomEvent(A7, {
6361
6360
  detail: { sizes: [t.axisSize(l) / o * 100, i.axisSize(l) / o * 100] },
6362
6361
  bubbles: !0,
6363
6362
  composed: !0
@@ -6376,7 +6375,7 @@ const F5 = class F5 extends u {
6376
6375
  `;
6377
6376
  }
6378
6377
  };
6379
- F5.styles = g`
6378
+ N5.styles = g`
6380
6379
  :host { display: block; flex: 0 0 auto; position: relative; z-index: 1; outline: none; font-family: var(--font-sans); }
6381
6380
  .handle {
6382
6381
  position: relative; display: flex; align-items: center; justify-content: center;
@@ -6397,116 +6396,386 @@ F5.styles = g`
6397
6396
  .handle:hover .handle__grip, .handle--dragging .handle__grip, :host(:focus-visible) .handle__grip { opacity: 1; }
6398
6397
  .handle--vertical .handle__grip { transform: rotate(90deg); }
6399
6398
  `;
6400
- let b1 = F5;
6401
- h1([
6399
+ let y1 = N5;
6400
+ g1([
6402
6401
  a({ type: Boolean, attribute: "with-handle" })
6403
- ], b1.prototype, "withHandle");
6404
- h1([
6405
- m()
6406
- ], b1.prototype, "groupVertical");
6407
- h1([
6408
- m()
6409
- ], b1.prototype, "dragging");
6410
- customElements.get("anduin-resizable-panel-group") || customElements.define("anduin-resizable-panel-group", r2);
6402
+ ], y1.prototype, "withHandle");
6403
+ g1([
6404
+ V()
6405
+ ], y1.prototype, "groupVertical");
6406
+ g1([
6407
+ V()
6408
+ ], y1.prototype, "dragging");
6409
+ customElements.get("anduin-resizable-panel-group") || customElements.define("anduin-resizable-panel-group", C2);
6411
6410
  customElements.get("anduin-resizable-panel") || customElements.define("anduin-resizable-panel", L1);
6412
- customElements.get("anduin-resizable-handle") || customElements.define("anduin-resizable-handle", b1);
6411
+ customElements.get("anduin-resizable-handle") || customElements.define("anduin-resizable-handle", y1);
6412
+ var B7 = Object.defineProperty, _1 = (r, e, t, i) => {
6413
+ for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
6414
+ (n = r[l]) && (o = n(e, t, o) || o);
6415
+ return o && B7(e, t, o), o;
6416
+ };
6417
+ const P7 = "anduin-pagination:change", F2 = "anduin-pagination:jump";
6418
+ function w1(r, e) {
6419
+ const t = Math.max(e - r + 1, 0);
6420
+ return Array.from({ length: t }, (i, o) => r + o);
6421
+ }
6422
+ const j5 = class j5 extends u {
6423
+ constructor() {
6424
+ super(...arguments), this.numberOfPages = 0, this.defaultValue = 1, this.value = null, this.internalValue = 1, this.indicatorReady = !1, this.onJump = (e) => {
6425
+ e.stopPropagation(), this.goTo(e.detail === "first" ? 1 : this.count);
6426
+ }, this.onSlotChange = () => this.syncBoundaryButtons();
6427
+ }
6428
+ get isControlled() {
6429
+ return this.value != null;
6430
+ }
6431
+ get count() {
6432
+ return Math.max(0, Math.floor(this.numberOfPages || 0));
6433
+ }
6434
+ get selection() {
6435
+ const e = this.isControlled ? this.value : this.internalValue;
6436
+ return Math.min(Math.max(Math.floor(e || 1), 1), Math.max(this.count, 1));
6437
+ }
6438
+ connectedCallback() {
6439
+ super.connectedCallback(), this.hasUpdated || (this.internalValue = this.defaultValue || 1), this.addEventListener(F2, this.onJump);
6440
+ }
6441
+ disconnectedCallback() {
6442
+ super.disconnectedCallback(), this.removeEventListener(F2, this.onJump);
6443
+ }
6444
+ /** MUI-style windowing: boundaryCount = 1, siblingCount = 1. */
6445
+ buildItems() {
6446
+ const e = this.count, t = this.selection, i = 1, o = 1, l = w1(1, Math.min(i, e)), n = w1(Math.max(e - i + 1, i + 1), e), s = Math.max(
6447
+ Math.min(t - o, e - i - o * 2 - 1),
6448
+ i + 2
6449
+ ), d = Math.min(
6450
+ Math.max(t + o, i + o * 2 + 2),
6451
+ n.length > 0 ? n[0] - 2 : e - 1
6452
+ );
6453
+ return [
6454
+ ...l,
6455
+ ...s > i + 2 ? ["start-ellipsis"] : i + 1 < e - i ? [i + 1] : [],
6456
+ ...w1(s, d),
6457
+ ...d < e - i - 1 ? ["end-ellipsis"] : e - i > i ? [e - i] : [],
6458
+ ...n
6459
+ ].map((h) => h === "start-ellipsis" ? { type: "ellipsis", pages: w1(i + 1, s - 1) } : h === "end-ellipsis" ? { type: "ellipsis", pages: w1(d + 1, e - i) } : { type: "page", page: h });
6460
+ }
6461
+ goTo(e) {
6462
+ const t = this.count, i = Math.min(Math.max(Math.floor(e), 1), t);
6463
+ i !== this.selection && (this.isControlled || (this.internalValue = i), this.dispatchEvent(new CustomEvent(P7, {
6464
+ detail: i,
6465
+ bubbles: !0,
6466
+ composed: !0
6467
+ })));
6468
+ }
6469
+ updated() {
6470
+ this.syncBoundaryButtons(), requestAnimationFrame(() => this.positionIndicator());
6471
+ }
6472
+ /** Push disabled state onto slotted first/last-page buttons. */
6473
+ syncBoundaryButtons() {
6474
+ const e = this.selection, t = this.count;
6475
+ this.querySelectorAll("anduin-pagination-first-page").forEach((i) => {
6476
+ i.disabled = e <= 1;
6477
+ }), this.querySelectorAll("anduin-pagination-last-page").forEach((i) => {
6478
+ i.disabled = e >= t;
6479
+ });
6480
+ }
6481
+ positionIndicator() {
6482
+ var i;
6483
+ const e = this.indicatorEl, t = (i = this.shadowRoot) == null ? void 0 : i.querySelector(".pagination__button--active");
6484
+ if (e) {
6485
+ if (!t) {
6486
+ e.style.opacity = "0", this.indicatorReady = !1;
6487
+ return;
6488
+ }
6489
+ this.indicatorReady || (e.style.transition = "none"), e.style.width = `${t.offsetWidth}px`, e.style.transform = `translateX(${t.offsetLeft}px)`, e.style.opacity = "1", this.indicatorReady || (e.offsetWidth, e.style.transition = "", this.indicatorReady = !0);
6490
+ }
6491
+ }
6492
+ render() {
6493
+ const e = this.count;
6494
+ if (e < 2) return c;
6495
+ const t = this.selection, i = this.buildItems();
6496
+ return C`
6497
+ <div class="pagination">
6498
+ <div class="pagination__indicator"></div>
6499
+ <slot name="start" @slotchange=${this.onSlotChange}></slot>
6500
+ <anduin-button
6501
+ appearance="plain"
6502
+ size="medium"
6503
+ start-icon="chevronLeft"
6504
+ label="Go to previous page"
6505
+ ?disabled=${t <= 1}
6506
+ @click=${() => this.goTo(t - 1)}
6507
+ ></anduin-button>
6508
+ ${i.map((o) => this.renderItem(o, t))}
6509
+ <anduin-button
6510
+ appearance="plain"
6511
+ size="medium"
6512
+ start-icon="chevronRight"
6513
+ label="Go to next page"
6514
+ ?disabled=${t >= e}
6515
+ @click=${() => this.goTo(t + 1)}
6516
+ ></anduin-button>
6517
+ <slot name="end" @slotchange=${this.onSlotChange}></slot>
6518
+ </div>
6519
+ `;
6520
+ }
6521
+ renderItem(e, t) {
6522
+ if (e.type === "page") {
6523
+ const l = e.page === t;
6524
+ return C`
6525
+ <button
6526
+ class="pagination__button ${l ? "pagination__button--active" : ""}"
6527
+ aria-current=${l ? "page" : c}
6528
+ aria-label="Go to page ${e.page}"
6529
+ @click=${() => this.goTo(e.page)}
6530
+ >${e.page}</button>
6531
+ `;
6532
+ }
6533
+ const { pages: i } = e, o = i.length > 1 ? `Pages ${i[0]} to ${i[i.length - 1]}` : `Page ${i[0]}`;
6534
+ return C`
6535
+ <anduin-menu placement="bottom">
6536
+ <anduin-button
6537
+ slot="trigger"
6538
+ appearance="plain"
6539
+ size="medium"
6540
+ start-icon="ellipsisHorizontal"
6541
+ label=${o}
6542
+ ></anduin-button>
6543
+ <div class="pagination__ellipsis-list">
6544
+ ${i.map((l) => C`
6545
+ <anduin-menu-item @click=${() => this.goTo(l)}>${l}</anduin-menu-item>
6546
+ `)}
6547
+ </div>
6548
+ </anduin-menu>
6549
+ `;
6550
+ }
6551
+ };
6552
+ j5.styles = g`
6553
+ :host { display: inline-block; font-family: var(--font-sans); }
6554
+ :host(:not([number-of-pages])),
6555
+ :host([number-of-pages='0']),
6556
+ :host([number-of-pages='1']) { display: none; }
6557
+
6558
+ .pagination { display: flex; align-items: center; position: relative; }
6559
+
6560
+ .pagination__indicator {
6561
+ position: absolute;
6562
+ top: 0;
6563
+ bottom: 0;
6564
+ left: 0;
6565
+ border-radius: 4px;
6566
+ background: var(--color-gray-6);
6567
+ opacity: 0;
6568
+ transition-duration: 200ms;
6569
+ transition-property: transform, width;
6570
+ pointer-events: none;
6571
+ }
6572
+
6573
+ anduin-button,
6574
+ anduin-menu { margin: 0 2px; position: relative; z-index: 1; }
6575
+ ::slotted(anduin-pagination-first-page),
6576
+ ::slotted(anduin-pagination-last-page) { margin: 0 2px; position: relative; z-index: 1; }
6577
+
6578
+ .pagination__button {
6579
+ border: none;
6580
+ border-radius: 4px;
6581
+ display: flex;
6582
+ align-items: center;
6583
+ justify-content: center;
6584
+ font-size: 13px;
6585
+ font-weight: 600;
6586
+ font-family: inherit;
6587
+ width: 32px;
6588
+ height: 32px;
6589
+ margin: 0 2px;
6590
+ cursor: pointer;
6591
+ background: transparent;
6592
+ color: var(--color-gray-7);
6593
+ position: relative;
6594
+ z-index: 1;
6595
+ transition: background-color 150ms;
6596
+ padding: 0;
6597
+ }
6598
+ .pagination__button:focus { outline: none; }
6599
+ .pagination__button:focus-visible {
6600
+ outline: none;
6601
+ box-shadow: 0 0 0 3px oklch(from var(--color-primary-4) l c h / 0.5);
6602
+ }
6603
+ .pagination__button:hover { background: var(--color-gray-3); }
6604
+ .pagination__button--active { color: var(--color-gray-0); }
6605
+ .pagination__button--active:hover { background: transparent; }
6606
+
6607
+ .pagination__ellipsis-list {
6608
+ max-height: 200px;
6609
+ overflow-y: auto;
6610
+ display: flex;
6611
+ flex-direction: column;
6612
+ align-items: stretch;
6613
+ }
6614
+ `;
6615
+ let Q = j5;
6616
+ _1([
6617
+ a({ type: Number, attribute: "number-of-pages", reflect: !0 })
6618
+ ], Q.prototype, "numberOfPages");
6619
+ _1([
6620
+ a({ type: Number, attribute: "default-value" })
6621
+ ], Q.prototype, "defaultValue");
6622
+ _1([
6623
+ a({ type: Number })
6624
+ ], Q.prototype, "value");
6625
+ _1([
6626
+ V()
6627
+ ], Q.prototype, "internalValue");
6628
+ _1([
6629
+ R(".pagination__indicator")
6630
+ ], Q.prototype, "indicatorEl");
6631
+ const U5 = class U5 extends u {
6632
+ constructor() {
6633
+ super(...arguments), this.disabled = !1, this.icon = "", this.label = "", this.target = "first", this.onClick = () => {
6634
+ this.disabled || this.dispatchEvent(new CustomEvent(F2, {
6635
+ detail: this.target,
6636
+ bubbles: !0,
6637
+ composed: !0
6638
+ }));
6639
+ };
6640
+ }
6641
+ connectedCallback() {
6642
+ super.connectedCallback(), this.getAttribute("slot") || this.setAttribute("slot", this.target === "first" ? "start" : "end");
6643
+ }
6644
+ render() {
6645
+ return C`
6646
+ <anduin-button
6647
+ appearance="plain"
6648
+ size="medium"
6649
+ start-icon=${this.icon}
6650
+ label=${this.label}
6651
+ ?disabled=${this.disabled}
6652
+ @click=${this.onClick}
6653
+ ></anduin-button>
6654
+ `;
6655
+ }
6656
+ };
6657
+ U5.styles = g`
6658
+ :host { display: inline-flex; }
6659
+ `;
6660
+ let W1 = U5;
6661
+ _1([
6662
+ a({ type: Boolean })
6663
+ ], W1.prototype, "disabled");
6664
+ class S7 extends W1 {
6665
+ constructor() {
6666
+ super(...arguments), this.icon = "chevronVerticalLeft", this.label = "Go to first page", this.target = "first";
6667
+ }
6668
+ }
6669
+ class F7 extends W1 {
6670
+ constructor() {
6671
+ super(...arguments), this.icon = "chevronVerticalRight", this.label = "Go to last page", this.target = "last";
6672
+ }
6673
+ }
6674
+ customElements.get("anduin-pagination") || customElements.define("anduin-pagination", Q);
6675
+ customElements.get("anduin-pagination-first-page") || customElements.define("anduin-pagination-first-page", S7);
6676
+ customElements.get("anduin-pagination-last-page") || customElements.define("anduin-pagination-last-page", F7);
6413
6677
  export {
6414
- l2 as $,
6678
+ j1 as $,
6415
6679
  O as A,
6416
- x2 as B,
6417
- S1 as C,
6418
- N as D,
6419
- m1 as E,
6420
- b1 as F,
6421
- L1 as G,
6422
- r2 as H,
6423
- I,
6424
- z1 as J,
6425
- E1 as K,
6426
- V as L,
6427
- j1 as M,
6428
- D1 as N,
6429
- T as O,
6430
- f1 as P,
6431
- O1 as Q,
6432
- H1 as R,
6433
- m2 as S,
6434
- E as T,
6435
- K as U,
6436
- N1 as V,
6437
- P as W,
6438
- S as X,
6439
- I1 as Y,
6440
- M2 as Z,
6441
- y2 as _,
6442
- Q1 as a,
6443
- Z2 as a0,
6444
- V4 as a1,
6445
- b3 as a2,
6446
- f7 as a3,
6447
- E2 as a4,
6448
- r4 as a5,
6449
- M4 as a6,
6450
- M1 as a7,
6451
- n7 as a8,
6452
- J5 as a9,
6453
- D2 as aA,
6454
- x4 as aB,
6455
- w4 as aC,
6456
- $4 as aD,
6457
- j3 as aE,
6458
- m4 as aF,
6459
- s7 as aG,
6460
- $7 as aH,
6461
- M3 as aa,
6462
- w2 as ab,
6463
- W3 as ac,
6464
- _1 as ad,
6465
- Z7 as ae,
6466
- z2 as af,
6467
- _2 as ag,
6468
- R2 as ah,
6469
- J3 as ai,
6470
- x7 as aj,
6471
- v2 as ak,
6472
- y7 as al,
6473
- b7 as am,
6474
- h7 as an,
6475
- w3 as ao,
6476
- Z4 as ap,
6477
- a2 as aq,
6478
- k3 as ar,
6479
- _3 as as,
6480
- A3 as at,
6481
- B3 as au,
6482
- L2 as av,
6680
+ S7 as B,
6681
+ F7 as C,
6682
+ F as D,
6683
+ $2 as E,
6684
+ I1 as F,
6685
+ N as G,
6686
+ b1 as H,
6687
+ y1 as I,
6688
+ L1 as J,
6689
+ C2 as K,
6690
+ D as L,
6691
+ P1 as M,
6692
+ B1 as N,
6693
+ m as O,
6694
+ q1 as P,
6695
+ N1 as Q,
6696
+ T as R,
6697
+ H1 as S,
6698
+ T1 as T,
6699
+ m1 as U,
6700
+ M2 as V,
6701
+ E as W,
6702
+ K as X,
6703
+ G1 as Y,
6704
+ P as Z,
6705
+ S as _,
6706
+ i2 as a,
6707
+ w2 as a0,
6708
+ x2 as a1,
6709
+ s2 as a2,
6710
+ R2 as a3,
6711
+ _4 as a4,
6712
+ R3 as a5,
6713
+ M7 as a6,
6714
+ P2 as a7,
6715
+ p4 as a8,
6716
+ $4 as a9,
6717
+ Z2 as aA,
6718
+ j3 as aB,
6719
+ N3 as aC,
6720
+ P4 as aD,
6721
+ S4 as aE,
6722
+ U2 as aF,
6723
+ A4 as aG,
6724
+ B4 as aH,
6725
+ F4 as aI,
6726
+ K3 as aJ,
6727
+ x4 as aK,
6728
+ g7 as aL,
6729
+ T7 as aM,
6730
+ Z1 as aa,
6731
+ u7 as ab,
6732
+ r4 as ac,
6733
+ $3 as ad,
6734
+ E2 as ae,
6735
+ t7 as af,
6736
+ R1 as ag,
6737
+ E7 as ah,
6738
+ S2 as ai,
6739
+ P7 as aj,
6740
+ F2 as ak,
6741
+ k2 as al,
6742
+ z2 as am,
6743
+ r7 as an,
6744
+ A7 as ao,
6745
+ V2 as ap,
6746
+ k7 as aq,
6747
+ R7 as ar,
6748
+ b7 as as,
6749
+ B3 as at,
6750
+ E4 as au,
6751
+ c2 as av,
6483
6752
  S3 as aw,
6484
- P3 as ax,
6485
- R4 as ay,
6486
- k4 as az,
6487
- B1 as b,
6488
- b as c,
6489
- e2 as d,
6753
+ z3 as ax,
6754
+ D3 as ay,
6755
+ T3 as az,
6756
+ F1 as b,
6757
+ L as c,
6758
+ l2 as d,
6490
6759
  X as e,
6491
- P1 as f,
6492
- t2 as g,
6760
+ O1 as f,
6761
+ r2 as g,
6493
6762
  z as h,
6494
- m7 as i,
6495
- L as j,
6496
- i2 as k,
6497
- f2 as l,
6498
- H2 as m,
6499
- V2 as n,
6500
- F1 as o,
6501
- T1 as p,
6502
- A1 as q,
6763
+ x7 as i,
6764
+ b as j,
6765
+ a2 as k,
6766
+ b2 as l,
6767
+ L2 as m,
6768
+ y2 as n,
6769
+ D1 as o,
6770
+ U1 as p,
6771
+ S1 as q,
6503
6772
  w as r,
6504
- o2 as s,
6505
- s1 as t,
6773
+ n2 as s,
6774
+ C1 as t,
6506
6775
  V1 as u,
6507
- Y3 as v,
6508
- X3 as w,
6776
+ o7 as v,
6777
+ i7 as w,
6509
6778
  J as x,
6510
6779
  j as y,
6511
- F as z
6780
+ Q as z
6512
6781
  };