@duyluonganduin/acl-web-components 0.0.39 → 0.0.41

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" }],
@@ -774,6 +774,14 @@ const K5 = {
774
774
  alignmentRight: [{ d: "M13.5 1.75C13.5 1.33579 13.8358 1 14.25 1C14.6642 1 15 1.33579 15 1.75V14.25C15 14.6642 14.6642 15 14.25 15C13.8358 15 13.5 14.6642 13.5 14.25V1.75ZM1 5C1 4.44772 1.44772 4 2 4H11C11.5523 4 12 4.44772 12 5V6C12 6.55228 11.5523 7 11 7H2C1.44771 7 1 6.55228 1 6V5ZM6 9C5.44772 9 5 9.44771 5 10V11C5 11.5523 5.44772 12 6 12H11C11.5523 12 12 11.5523 12 11V10C12 9.44772 11.5523 9 11 9H6Z", fillRule: "evenodd", clipRule: "evenodd" }],
775
775
  alignmentTop: [{ d: "M1 1.75C1 1.33579 1.33579 1 1.75 1H14.25C14.6642 1 15 1.33579 15 1.75C15 2.16421 14.6642 2.5 14.25 2.5H1.75C1.33579 2.5 1 2.16421 1 1.75ZM9 5C9 4.44772 9.44772 4 10 4H11C11.5523 4 12 4.44772 12 5V14C12 14.5523 11.5523 15 11 15H10C9.44771 15 9 14.5523 9 14V5ZM5 4C4.44772 4 4 4.44772 4 5V9C4 9.55228 4.44772 10 5 10H6C6.55228 10 7 9.55228 7 9V5C7 4.44772 6.55228 4 6 4H5Z", fillRule: "evenodd", clipRule: "evenodd" }],
776
776
  anduin: [{ d: "M1 13.2L8 2L15 13.2H12.2L10.8 10.96L9.4 13.2H6.6L5.2 10.96L3.8 13.2H1ZM8 6.41L6.67 8.65L8 10.82L9.33 8.65L8 6.41Z", fillRule: "evenodd", clipRule: "evenodd" }],
777
+ anduinIntelligence: [
778
+ { d: "M8.84961 15.4883L7.96973 16L7.0918 15.4932L7.08887 12.7217L4.55664 14.0293L2.74902 12.9854L8.84277 9.83789L8.84961 15.4883Z", fillRule: "", clipRule: "" },
779
+ { d: "M14.9102 11.0088L14.9131 12.0264L14.0352 12.5332L11.6328 11.1494L11.5 13.9971L9.69238 15.041L10.0127 8.18945L14.9102 11.0088Z", fillRule: "", clipRule: "" },
780
+ { d: "M6.83008 9.64844L1.93945 12.4805L1.05664 11.9736V10.96L3.45605 9.57129L1.05664 8.0332V5.94531L6.83008 9.64844Z", fillRule: "", clipRule: "" },
781
+ { d: "M14.9434 4.02637V5.04004L12.5439 6.42871L14.9434 7.9668V10.0547L9.16992 6.35156L14.0605 3.51953L14.9434 4.02637Z", fillRule: "", clipRule: "" },
782
+ { d: "M5.9873 7.81055L1.08984 4.99121L1.08691 3.97363L1.96484 3.4668L4.36719 4.85059L4.5 2.00293L6.30762 0.958984L5.9873 7.81055Z", fillRule: "", clipRule: "" },
783
+ { d: "M8.9082 0.506836L8.91113 3.27832L11.4434 1.9707L13.251 3.01465L7.15723 6.16211L7.15039 0.511719L8.03027 0L8.9082 0.506836Z", fillRule: "", clipRule: "" }
784
+ ],
777
785
  archive: [{ d: "M1 3C1 2.44772 1.44772 2 2 2H14C14.5523 2 15 2.44772 15 3V4C15 4.55228 14.5523 5 14 5H2C1.44772 5 1 4.55228 1 4V3ZM2 6H14V12C14 13.1046 13.1046 14 12 14H4C2.89543 14 2 13.1046 2 12V6ZM6.75 8C6.33579 8 6 8.33579 6 8.75C6 9.16421 6.33579 9.5 6.75 9.5H9.25C9.66421 9.5 10 9.16421 10 8.75C10 8.33579 9.66421 8 9.25 8H6.75Z", fillRule: "evenodd", clipRule: "evenodd" }],
778
786
  arrowDown: [{ d: "M8.54795 14.765C8.40626 14.915 8.20903 15 8.00269 15C7.79634 15 7.59911 14.915 7.45743 14.765L3.20743 10.265C2.92302 9.96383 2.93658 9.48915 3.23772 9.20474C3.53886 8.92033 4.01354 8.93389 4.29795 9.23503L7.25 12.3607V1.75C7.25 1.33579 7.58579 1 8 1C8.41422 1 8.75 1.33579 8.75 1.75V12.3664L11.7074 9.23503C11.9918 8.93389 12.4665 8.92033 12.7677 9.20474C13.0688 9.48915 13.0824 9.96383 12.7979 10.265L8.54795 14.765Z", fillRule: "", clipRule: "" }],
779
787
  arrowDownLeft: [{ d: "M9.24792 14.0021C9.66214 14.0021 9.99792 13.6663 9.99792 13.2521C9.99792 12.8379 9.66214 12.5021 9.24792 12.5021H4.55859L13.7803 3.28033C14.0732 2.98744 14.0732 2.51256 13.7803 2.21967C13.4874 1.92678 13.0126 1.92678 12.7197 2.21967L3.49792 11.4414V6.75206C3.49792 6.33785 3.16214 6.00206 2.74792 6.00206C2.33371 6.00206 1.99792 6.33785 1.99792 6.75206V13.2521C1.99792 13.6663 2.33371 14.0021 2.74792 14.0021H9.24792Z", fillRule: "", clipRule: "" }],
@@ -1110,18 +1118,18 @@ const K5 = {
1110
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" }],
1111
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" }]
1112
1120
  };
1113
- var r3 = Object.defineProperty, H4 = (r, e, t, i) => {
1121
+ var p3 = Object.defineProperty, Z4 = (r, e, t, i) => {
1114
1122
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1115
1123
  (n = r[l]) && (o = n(e, t, o) || o);
1116
- return o && r3(e, t, o), o;
1124
+ return o && p3(e, t, o), o;
1117
1125
  };
1118
- const N2 = class N2 extends u {
1126
+ const W2 = class W2 extends u {
1119
1127
  constructor() {
1120
1128
  super(...arguments), this.name = "", this.size = 16;
1121
1129
  }
1122
1130
  render() {
1123
- const e = this.name && K5[this.name] ? K5[this.name] : [], t = !this.name;
1124
- return J1`
1131
+ const e = this.name && l4[this.name] ? l4[this.name] : [], t = !this.name;
1132
+ return o2`
1125
1133
  <svg
1126
1134
  class=${t ? "icon--hidden" : ""}
1127
1135
  xmlns="http://www.w3.org/2000/svg"
@@ -1131,7 +1139,7 @@ const N2 = class N2 extends u {
1131
1139
  viewBox="0 0 16 16"
1132
1140
  >
1133
1141
  ${e.map(
1134
- (i) => J1`
1142
+ (i) => o2`
1135
1143
  <path
1136
1144
  fill="currentColor"
1137
1145
  d="${i.d}"
@@ -1143,24 +1151,24 @@ const N2 = class N2 extends u {
1143
1151
  `;
1144
1152
  }
1145
1153
  };
1146
- N2.styles = g`
1154
+ W2.styles = g`
1147
1155
  :host { display: block; line-height: 0; font-family: var(--font-sans); }
1148
1156
  .icon--hidden { display: none; }
1149
1157
  `;
1150
- let A1 = N2;
1151
- H4([
1158
+ let S1 = W2;
1159
+ Z4([
1152
1160
  a()
1153
- ], A1.prototype, "name");
1154
- H4([
1161
+ ], S1.prototype, "name");
1162
+ Z4([
1155
1163
  a({ type: Number })
1156
- ], A1.prototype, "size");
1157
- customElements.get("anduin-icon") || customElements.define("anduin-icon", A1);
1158
- 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) => {
1159
1167
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1160
1168
  (n = r[l]) && (o = n(e, t, o) || o);
1161
- return o && n3(e, t, o), o;
1169
+ return o && u3(e, t, o), o;
1162
1170
  };
1163
- const V4 = g`
1171
+ const _4 = g`
1164
1172
  :host { display: inline-block; font-family: var(--font-sans); }
1165
1173
  .badge {
1166
1174
  border-radius: 9999px;
@@ -1187,7 +1195,7 @@ const V4 = g`
1187
1195
  .badge--bold-warning { background-color: var(--color-semantic-warning-3); color: var(--color-semantic-gray-8); }
1188
1196
  .badge--hidden { display: none; }
1189
1197
  `;
1190
- function m4(r) {
1198
+ function x4(r) {
1191
1199
  return {
1192
1200
  gray: "badge--light-gray",
1193
1201
  primary: "badge--light-primary",
@@ -1201,27 +1209,27 @@ function m4(r) {
1201
1209
  boldDanger: "badge--bold-danger"
1202
1210
  }[r || "gray"] || "badge--light-gray";
1203
1211
  }
1204
- const j2 = class j2 extends u {
1212
+ const Y2 = class Y2 extends u {
1205
1213
  constructor() {
1206
1214
  super(...arguments), this.variant = "gray";
1207
1215
  }
1208
1216
  render() {
1209
- const e = m4(this.variant);
1217
+ const e = x4(this.variant);
1210
1218
  return C`<div class="badge ${e}" part="badge"><slot></slot></div>`;
1211
1219
  }
1212
1220
  };
1213
- j2.styles = [V4];
1214
- let Q1 = j2;
1215
- a3([
1221
+ Y2.styles = [_4];
1222
+ let i2 = Y2;
1223
+ h3([
1216
1224
  a()
1217
- ], Q1.prototype, "variant");
1218
- customElements.get("anduin-badge") || customElements.define("anduin-badge", Q1);
1219
- var s3 = Object.defineProperty, b4 = (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) => {
1220
1228
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1221
1229
  (n = r[l]) && (o = n(e, t, o) || o);
1222
- return o && s3(e, t, o), o;
1230
+ return o && g3(e, t, o), o;
1223
1231
  };
1224
- const U2 = class U2 extends u {
1232
+ const X2 = class X2 extends u {
1225
1233
  constructor() {
1226
1234
  super(...arguments), this.variant = "gray", this.count = 0;
1227
1235
  }
@@ -1229,7 +1237,7 @@ const U2 = class U2 extends u {
1229
1237
  return e > 99 ? "99+" : e.toString();
1230
1238
  }
1231
1239
  render() {
1232
- 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 = [
1233
1241
  "badge",
1234
1242
  e,
1235
1243
  t ? "badge--hidden" : "",
@@ -1238,24 +1246,24 @@ const U2 = class U2 extends u {
1238
1246
  return C`<div class="${o}" part="badge">${this.formatCount(this.count)}</div>`;
1239
1247
  }
1240
1248
  };
1241
- U2.styles = [V4];
1242
- let B1 = U2;
1243
- b4([
1249
+ X2.styles = [_4];
1250
+ let F1 = X2;
1251
+ w4([
1244
1252
  a()
1245
- ], B1.prototype, "variant");
1246
- b4([
1253
+ ], F1.prototype, "variant");
1254
+ w4([
1247
1255
  a({ type: Number })
1248
- ], B1.prototype, "count");
1249
- customElements.get("anduin-badge-count") || customElements.define("anduin-badge-count", B1);
1250
- 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) => {
1251
1259
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1252
1260
  (n = r[l]) && (o = n(e, t, o) || o);
1253
- return o && C3(e, t, o), o;
1261
+ return o && v3(e, t, o), o;
1254
1262
  };
1255
- function d3(r) {
1263
+ function f3(r) {
1256
1264
  return r.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);
1257
1265
  }
1258
- const G2 = class G2 extends u {
1266
+ const K2 = class K2 extends u {
1259
1267
  constructor() {
1260
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 = "";
1261
1269
  }
@@ -1272,7 +1280,7 @@ const G2 = class G2 extends u {
1272
1280
  return this.variant ? this.variant : this.appearance === "filled" ? "gray0" : this.appearance === "text" ? "primary" : "gray9";
1273
1281
  }
1274
1282
  getSizeKebab() {
1275
- return d3(this.size);
1283
+ return f3(this.size);
1276
1284
  }
1277
1285
  iconSize() {
1278
1286
  return this.size === "tiny" || this.size === "extraSmall" || this.size === "small" ? "12" : "16";
@@ -1316,7 +1324,7 @@ const G2 = class G2 extends u {
1316
1324
  `;
1317
1325
  }
1318
1326
  };
1319
- G2.styles = g`
1327
+ K2.styles = g`
1320
1328
  :host { display: inline-block; font-family: var(--font-sans); }
1321
1329
  :host([full-width]) { display: block; width: 100%; }
1322
1330
  .button {
@@ -1429,9 +1437,9 @@ G2.styles = g`
1429
1437
  .button--icon-only.button--medium { width: 32px; min-width: 32px; padding-left: 0; padding-right: 0; }
1430
1438
  .button--icon-only.button--large { width: 40px; min-width: 40px; padding-left: 0; padding-right: 0; }
1431
1439
  `;
1432
- let L = G2;
1440
+ let L = K2;
1433
1441
  _([
1434
- m()
1442
+ V()
1435
1443
  ], L.prototype, "iconOnly");
1436
1444
  _([
1437
1445
  a({ converter: (r) => r || "filled" })
@@ -1476,12 +1484,12 @@ _([
1476
1484
  a()
1477
1485
  ], L.prototype, "label");
1478
1486
  customElements.get("anduin-button") || customElements.define("anduin-button", L);
1479
- var c3 = Object.defineProperty, p3 = (r, e, t, i) => {
1487
+ var H3 = Object.defineProperty, m3 = (r, e, t, i) => {
1480
1488
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1481
1489
  (n = r[l]) && (o = n(e, t, o) || o);
1482
- return o && c3(e, t, o), o;
1490
+ return o && H3(e, t, o), o;
1483
1491
  };
1484
- const q2 = class q2 extends u {
1492
+ const J2 = class J2 extends u {
1485
1493
  constructor() {
1486
1494
  super(...arguments), this.variant = "gray";
1487
1495
  }
@@ -1494,7 +1502,7 @@ const q2 = class q2 extends u {
1494
1502
  `;
1495
1503
  }
1496
1504
  };
1497
- q2.styles = g`
1505
+ J2.styles = g`
1498
1506
  :host { display: block; font-family: var(--font-sans); }
1499
1507
  .callout {
1500
1508
  display: flex; align-items: center; justify-content: center;
@@ -1506,17 +1514,17 @@ q2.styles = g`
1506
1514
  .callout--danger { background-color: var(--color-semantic-danger-4); color: var(--color-semantic-gray-0); }
1507
1515
  .callout--warning { background-color: var(--color-semantic-warning-3); color: var(--color-semantic-gray-8); }
1508
1516
  `;
1509
- let e2 = q2;
1510
- p3([
1517
+ let l2 = J2;
1518
+ m3([
1511
1519
  a()
1512
- ], e2.prototype, "variant");
1513
- customElements.get("anduin-callout") || customElements.define("anduin-callout", e2);
1514
- var u3 = Object.defineProperty, L4 = (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) => {
1515
1523
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1516
1524
  (n = r[l]) && (o = n(e, t, o) || o);
1517
- return o && u3(e, t, o), o;
1525
+ return o && V3(e, t, o), o;
1518
1526
  };
1519
- const W2 = class W2 extends u {
1527
+ const Q2 = class Q2 extends u {
1520
1528
  constructor() {
1521
1529
  super(...arguments), this.direction = "horizontal", this.hasContent = !1;
1522
1530
  }
@@ -1547,7 +1555,7 @@ const W2 = class W2 extends u {
1547
1555
  </div>` : C`<div class="divider--horizontal divider--horizontal-empty"><slot @slotchange=${this.onSlotChange}></slot></div>`;
1548
1556
  }
1549
1557
  };
1550
- W2.styles = g`
1558
+ Q2.styles = g`
1551
1559
  :host { display: block; width: 100%; font-family: var(--font-sans); }
1552
1560
  :host([direction="vertical"]) { width: auto; height: 100%; }
1553
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; }
@@ -1557,20 +1565,20 @@ W2.styles = g`
1557
1565
  .divider--vertical-empty { background-color: var(--color-gray-3); width: 1px; }
1558
1566
  .divider__line--vertical { border-left: 1px solid var(--color-gray-3); justify-self: center; }
1559
1567
  `;
1560
- let P1 = W2;
1561
- L4([
1568
+ let O1 = Q2;
1569
+ R4([
1562
1570
  a({ reflect: !0 })
1563
- ], P1.prototype, "direction");
1564
- L4([
1565
- m()
1566
- ], P1.prototype, "hasContent");
1567
- customElements.get("anduin-divider") || customElements.define("anduin-divider", P1);
1568
- 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) => {
1569
1577
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1570
1578
  (n = r[l]) && (o = n(e, t, o) || o);
1571
- return o && h3(e, t, o), o;
1579
+ return o && b3(e, t, o), o;
1572
1580
  };
1573
- const Y2 = class Y2 extends u {
1581
+ const e5 = class e5 extends u {
1574
1582
  constructor() {
1575
1583
  super(...arguments), this.variant = "gray";
1576
1584
  }
@@ -1578,7 +1586,7 @@ const Y2 = class Y2 extends u {
1578
1586
  return C`<div class="dot dot--${this.variant}" part="dot"></div>`;
1579
1587
  }
1580
1588
  };
1581
- Y2.styles = g`
1589
+ e5.styles = g`
1582
1590
  :host { display: inline-block; font-family: var(--font-sans); }
1583
1591
  .dot { width: 10px; height: 10px; border-radius: 9999px; }
1584
1592
  .dot--gray { background-color: var(--color-semantic-gray-6); color: var(--color-semantic-gray-0); }
@@ -1587,17 +1595,17 @@ Y2.styles = g`
1587
1595
  .dot--danger { background-color: var(--color-semantic-danger-4); color: var(--color-semantic-gray-0); }
1588
1596
  .dot--warning { background-color: var(--color-semantic-warning-3); color: var(--color-semantic-gray-8); }
1589
1597
  `;
1590
- let t2 = Y2;
1591
- g3([
1598
+ let r2 = e5;
1599
+ L3([
1592
1600
  a()
1593
- ], t2.prototype, "variant");
1594
- customElements.get("anduin-dot") || customElements.define("anduin-dot", t2);
1595
- 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) => {
1596
1604
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1597
1605
  (n = r[l]) && (o = n(e, t, o) || o);
1598
- return o && v3(e, t, o), o;
1606
+ return o && y3(e, t, o), o;
1599
1607
  };
1600
- const X2 = class X2 extends u {
1608
+ const t5 = class t5 extends u {
1601
1609
  constructor() {
1602
1610
  super(...arguments), this.percent = "", this.height = "medium";
1603
1611
  }
@@ -1613,7 +1621,7 @@ const X2 = class X2 extends u {
1613
1621
  `;
1614
1622
  }
1615
1623
  };
1616
- X2.styles = g`
1624
+ t5.styles = g`
1617
1625
  :host { display: block; font-family: var(--font-sans); }
1618
1626
  .progress { overflow-x: hidden; position: relative; border-radius: 9999px; }
1619
1627
  .progress__fill {
@@ -1629,20 +1637,20 @@ X2.styles = g`
1629
1637
  to { transform: translateX(330%); }
1630
1638
  }
1631
1639
  `;
1632
- let S1 = X2;
1633
- y4([
1640
+ let I1 = t5;
1641
+ k4([
1634
1642
  a()
1635
- ], S1.prototype, "percent");
1636
- y4([
1643
+ ], I1.prototype, "percent");
1644
+ k4([
1637
1645
  a()
1638
- ], S1.prototype, "height");
1639
- customElements.get("anduin-progress") || customElements.define("anduin-progress", S1);
1640
- 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) => {
1641
1649
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1642
1650
  (n = r[l]) && (o = n(e, t, o) || o);
1643
- return o && f3(e, t, o), o;
1651
+ return o && M3(e, t, o), o;
1644
1652
  };
1645
- const K2 = class K2 extends u {
1653
+ const o5 = class o5 extends u {
1646
1654
  constructor() {
1647
1655
  super(...arguments), this.effect = "pulse", this.shape = "rectangle", this.height = "", this.width = "100%", this.duration = 1500, this.fontSize = "";
1648
1656
  }
@@ -1661,7 +1669,7 @@ const K2 = class K2 extends u {
1661
1669
  `;
1662
1670
  }
1663
1671
  };
1664
- K2.styles = g`
1672
+ o5.styles = g`
1665
1673
  :host { display: block; height: 100%; font-family: var(--font-sans); }
1666
1674
  .skeleton { background-color: var(--color-gray-3); position: relative; overflow: hidden; }
1667
1675
  .skeleton--circle { border-radius: 9999px; }
@@ -1680,32 +1688,32 @@ K2.styles = g`
1680
1688
  0% { transform: translateX(-100%); } 100% { transform: translateX(100%); }
1681
1689
  }
1682
1690
  `;
1683
- let I = K2;
1684
- y1([
1691
+ let D = o5;
1692
+ M1([
1685
1693
  a()
1686
- ], I.prototype, "effect");
1687
- y1([
1694
+ ], D.prototype, "effect");
1695
+ M1([
1688
1696
  a()
1689
- ], I.prototype, "shape");
1690
- y1([
1697
+ ], D.prototype, "shape");
1698
+ M1([
1691
1699
  a()
1692
- ], I.prototype, "height");
1693
- y1([
1700
+ ], D.prototype, "height");
1701
+ M1([
1694
1702
  a()
1695
- ], I.prototype, "width");
1696
- y1([
1703
+ ], D.prototype, "width");
1704
+ M1([
1697
1705
  a({ type: Number })
1698
- ], I.prototype, "duration");
1699
- y1([
1706
+ ], D.prototype, "duration");
1707
+ M1([
1700
1708
  a({ attribute: "font-size" })
1701
- ], I.prototype, "fontSize");
1702
- customElements.get("anduin-skeleton") || customElements.define("anduin-skeleton", I);
1703
- 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) => {
1704
1712
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1705
1713
  (n = r[l]) && (o = n(e, t, o) || o);
1706
- return o && H3(e, t, o), o;
1714
+ return o && Z3(e, t, o), o;
1707
1715
  };
1708
- const J2 = class J2 extends u {
1716
+ const i5 = class i5 extends u {
1709
1717
  constructor() {
1710
1718
  super(...arguments), this.height = "256px";
1711
1719
  }
@@ -1720,30 +1728,30 @@ const J2 = class J2 extends u {
1720
1728
  `;
1721
1729
  }
1722
1730
  };
1723
- J2.styles = g`
1731
+ i5.styles = g`
1724
1732
  :host { display: block; height: 100%; font-family: var(--font-sans); }
1725
1733
  .loading-state { display: flex; flex-direction: column; justify-content: center; align-items: center; }
1726
1734
  .loading-state__indicator { color: var(--color-primary-4); }
1727
1735
  .loading-state__content { margin-top: 12px; font-size: 15px; color: var(--color-gray-6); }
1728
1736
  `;
1729
- let o2 = J2;
1730
- V3([
1737
+ let n2 = i5;
1738
+ _3([
1731
1739
  a()
1732
- ], o2.prototype, "height");
1733
- customElements.get("anduin-loading-state") || customElements.define("anduin-loading-state", o2);
1734
- 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) => {
1735
1743
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1736
1744
  (n = r[l]) && (o = n(e, t, o) || o);
1737
- return o && m3(e, t, o), o;
1745
+ return o && x3(e, t, o), o;
1738
1746
  };
1739
- 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 {
1740
1748
  constructor() {
1741
1749
  super(...arguments), this.orientation = "vertical";
1742
1750
  }
1743
1751
  connectedCallback() {
1744
- super.connectedCallback(), this.addEventListener(M4, (e) => {
1752
+ super.connectedCallback(), this.addEventListener($4, (e) => {
1745
1753
  const t = e;
1746
- this.dispatchEvent(new CustomEvent(M1, {
1754
+ this.dispatchEvent(new CustomEvent(Z1, {
1747
1755
  detail: t.detail,
1748
1756
  bubbles: !1,
1749
1757
  composed: !1
@@ -1759,17 +1767,17 @@ const M4 = "anduin-field:label-click", M1 = "anduin-field:label-click-coordinate
1759
1767
  `;
1760
1768
  }
1761
1769
  };
1762
- Q2.styles = g`
1770
+ l5.styles = g`
1763
1771
  :host { display: block; font-family: var(--font-sans); }
1764
1772
  .field { display: flex; flex-wrap: wrap; }
1765
1773
  .field--vertical { flex-direction: column; row-gap: 4px; }
1766
1774
  .field--horizontal { column-gap: 4px; }
1767
1775
  `;
1768
- let i2 = Q2;
1769
- F2([
1776
+ let a2 = l5;
1777
+ N2([
1770
1778
  a()
1771
- ], i2.prototype, "orientation");
1772
- const e5 = class e5 extends u {
1779
+ ], a2.prototype, "orientation");
1780
+ const r5 = class r5 extends u {
1773
1781
  constructor() {
1774
1782
  super(...arguments), this.htmlfor = "", this.required = !1;
1775
1783
  }
@@ -1777,7 +1785,7 @@ const e5 = class e5 extends u {
1777
1785
  super.connectedCallback();
1778
1786
  }
1779
1787
  onLabelClick(e) {
1780
- this.htmlfor && (e.preventDefault(), this.dispatchEvent(new CustomEvent(M4, {
1788
+ this.htmlfor && (e.preventDefault(), this.dispatchEvent(new CustomEvent($4, {
1781
1789
  detail: this.htmlfor,
1782
1790
  bubbles: !0,
1783
1791
  composed: !0
@@ -1796,72 +1804,72 @@ const e5 = class e5 extends u {
1796
1804
  `;
1797
1805
  }
1798
1806
  };
1799
- e5.styles = g`
1807
+ r5.styles = g`
1800
1808
  :host { display: inline-block; font-family: var(--font-sans); }
1801
1809
  .field-label { font-size: 13px; line-height: 20px; font-weight: 600; cursor: default; color: var(--color-gray-8, #101828); }
1802
1810
  .field-label__required { color: var(--color-danger-5); }
1803
1811
  `;
1804
- let F1 = e5;
1805
- F2([
1812
+ let D1 = r5;
1813
+ N2([
1806
1814
  a()
1807
- ], F1.prototype, "htmlfor");
1808
- F2([
1815
+ ], D1.prototype, "htmlfor");
1816
+ N2([
1809
1817
  a({ type: Boolean })
1810
- ], F1.prototype, "required");
1811
- const t5 = class t5 extends u {
1818
+ ], D1.prototype, "required");
1819
+ const n5 = class n5 extends u {
1812
1820
  render() {
1813
1821
  return C`<div class="field-description" part="description"><slot></slot></div>`;
1814
1822
  }
1815
1823
  };
1816
- t5.styles = g`
1824
+ n5.styles = g`
1817
1825
  :host { display: inline-block; font-family: var(--font-sans); }
1818
1826
  .field-description { display: block; line-height: 16px; font-size: 11px; color: var(--color-gray-7); }
1819
1827
  `;
1820
- let f2 = t5;
1821
- const o5 = class o5 extends u {
1828
+ let b2 = n5;
1829
+ const a5 = class a5 extends u {
1822
1830
  render() {
1823
1831
  return C`<div class="field-error" part="error"><slot></slot></div>`;
1824
1832
  }
1825
1833
  };
1826
- o5.styles = g`
1834
+ a5.styles = g`
1827
1835
  :host { display: block; font-family: var(--font-sans); }
1828
1836
  .field-error { color: var(--color-danger-4); }
1829
1837
  `;
1830
- let H2 = o5;
1831
- const i5 = class i5 extends u {
1838
+ let L2 = a5;
1839
+ const s5 = class s5 extends u {
1832
1840
  render() {
1833
1841
  return C`<div class="field-group" part="group"><slot></slot></div>`;
1834
1842
  }
1835
1843
  };
1836
- i5.styles = g`
1844
+ s5.styles = g`
1837
1845
  :host { display: block; font-family: var(--font-sans); }
1838
1846
  .field-group { display: flex; flex-direction: column; row-gap: 24px; }
1839
1847
  `;
1840
- let V2 = i5;
1841
- customElements.get("anduin-field") || customElements.define("anduin-field", i2);
1842
- customElements.get("anduin-field-label") || customElements.define("anduin-field-label", F1);
1843
- customElements.get("anduin-field-description") || customElements.define("anduin-field-description", f2);
1844
- customElements.get("anduin-field-error") || customElements.define("anduin-field-error", H2);
1845
- customElements.get("anduin-field-group") || customElements.define("anduin-field-group", V2);
1846
- var b3 = 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) => {
1847
1855
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1848
1856
  (n = r[l]) && (o = n(e, t, o) || o);
1849
- return o && b3(e, t, o), o;
1857
+ return o && w3(e, t, o), o;
1850
1858
  };
1851
- const L3 = "anduin-checkbox:change", l5 = class l5 extends u {
1859
+ const R3 = "anduin-checkbox:change", C5 = class C5 extends u {
1852
1860
  constructor() {
1853
1861
  super(...arguments), this.checked = !1, this.disabled = !1, this.indeterminate = !1, this.readonly = !1, this.inputid = "";
1854
1862
  }
1855
1863
  connectedCallback() {
1856
1864
  super.connectedCallback();
1857
1865
  const e = this.closest("anduin-field");
1858
- e && e.addEventListener(M1, (t) => {
1866
+ e && e.addEventListener(Z1, (t) => {
1859
1867
  const i = t;
1860
1868
  this.inputid && this.inputid === i.detail && !this.disabled && !this.readonly && this.toggle();
1861
1869
  });
1862
1870
  }
1863
1871
  toggle() {
1864
- this.checked = !this.checked, this.dispatchEvent(new CustomEvent(L3, {
1872
+ this.checked = !this.checked, this.dispatchEvent(new CustomEvent(R3, {
1865
1873
  detail: this.checked,
1866
1874
  bubbles: !0,
1867
1875
  composed: !0
@@ -1902,7 +1910,7 @@ const L3 = "anduin-checkbox:change", l5 = class l5 extends u {
1902
1910
  `;
1903
1911
  }
1904
1912
  };
1905
- l5.styles = g`
1913
+ C5.styles = g`
1906
1914
  :host { display: inline-flex; font-family: var(--font-sans); }
1907
1915
 
1908
1916
  label {
@@ -1940,36 +1948,36 @@ l5.styles = g`
1940
1948
  .checkbox__icon { position: absolute; inset: 0; pointer-events: none; color: var(--color-gray-4); display: flex; align-items: center; justify-content: center; }
1941
1949
  .checkbox__icon--visible { color: var(--color-gray-0); }
1942
1950
  `;
1943
- let X = l5;
1944
- G1([
1951
+ let X = C5;
1952
+ X1([
1945
1953
  a({ type: Boolean })
1946
1954
  ], X.prototype, "checked");
1947
- G1([
1955
+ X1([
1948
1956
  a({ type: Boolean })
1949
1957
  ], X.prototype, "disabled");
1950
- G1([
1958
+ X1([
1951
1959
  a({ type: Boolean })
1952
1960
  ], X.prototype, "indeterminate");
1953
- G1([
1961
+ X1([
1954
1962
  a({ type: Boolean })
1955
1963
  ], X.prototype, "readonly");
1956
- G1([
1964
+ X1([
1957
1965
  a()
1958
1966
  ], X.prototype, "inputid");
1959
1967
  customElements.get("anduin-checkbox") || customElements.define("anduin-checkbox", X);
1960
- var y3 = Object.defineProperty, A = (r, e, t, i) => {
1968
+ var k3 = Object.defineProperty, A = (r, e, t, i) => {
1961
1969
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1962
1970
  (n = r[l]) && (o = n(e, t, o) || o);
1963
- return o && y3(e, t, o), o;
1971
+ return o && k3(e, t, o), o;
1964
1972
  };
1965
- 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 {
1966
1974
  constructor() {
1967
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;
1968
1976
  }
1969
1977
  connectedCallback() {
1970
1978
  super.connectedCallback();
1971
1979
  const e = this.closest("anduin-field");
1972
- e && e.addEventListener(M1, (t) => {
1980
+ e && e.addEventListener(Z1, (t) => {
1973
1981
  var o;
1974
1982
  const i = t;
1975
1983
  this.inputid && this.inputid === i.detail && ((o = this.inputEl) == null || o.focus());
@@ -1979,7 +1987,7 @@ const J5 = "anduin-input:change", M3 = "anduin-input:clear", r5 = class r5 exten
1979
1987
  this.inputEl && this.inputEl.value !== this.value && (this.inputEl.value = this.value);
1980
1988
  }
1981
1989
  onInput() {
1982
- this.value = this.inputEl.value, this.dispatchEvent(new CustomEvent(J5, {
1990
+ this.value = this.inputEl.value, this.dispatchEvent(new CustomEvent(r4, {
1983
1991
  detail: this.value,
1984
1992
  bubbles: !0,
1985
1993
  composed: !0
@@ -1987,7 +1995,7 @@ const J5 = "anduin-input:change", M3 = "anduin-input:clear", r5 = class r5 exten
1987
1995
  }
1988
1996
  onClear() {
1989
1997
  var e;
1990
- 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();
1991
1999
  }
1992
2000
  render() {
1993
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";
@@ -2031,7 +2039,7 @@ const J5 = "anduin-input:change", M3 = "anduin-input:clear", r5 = class r5 exten
2031
2039
  `;
2032
2040
  }
2033
2041
  };
2034
- r5.styles = g`
2042
+ d5.styles = g`
2035
2043
  :host { display: block; font-family: var(--font-sans); }
2036
2044
 
2037
2045
  .input-wrapper { position: relative; display: flex; align-items: center; }
@@ -2085,7 +2093,7 @@ r5.styles = g`
2085
2093
  }
2086
2094
  .input__clear:hover { color: var(--color-gray-7); }
2087
2095
  `;
2088
- let w = r5;
2096
+ let w = d5;
2089
2097
  A([
2090
2098
  a()
2091
2099
  ], w.prototype, "value");
@@ -2117,22 +2125,22 @@ A([
2117
2125
  a({ type: Boolean })
2118
2126
  ], w.prototype, "clearable");
2119
2127
  A([
2120
- k("input")
2128
+ R("input")
2121
2129
  ], w.prototype, "inputEl");
2122
2130
  customElements.get("anduin-input") || customElements.define("anduin-input", w);
2123
- var Z3 = Object.defineProperty, Q = (r, e, t, i) => {
2131
+ var E3 = Object.defineProperty, e1 = (r, e, t, i) => {
2124
2132
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
2125
2133
  (n = r[l]) && (o = n(e, t, o) || o);
2126
- return o && Z3(e, t, o), o;
2134
+ return o && E3(e, t, o), o;
2127
2135
  };
2128
- const _3 = "anduin-textarea:change", n5 = class n5 extends u {
2136
+ const z3 = "anduin-textarea:change", c5 = class c5 extends u {
2129
2137
  constructor() {
2130
2138
  super(...arguments), this.value = "", this.disabled = !1, this.readonly = !1, this.placeholder = "", this.inputid = "", this.rows = 3, this.status = "";
2131
2139
  }
2132
2140
  connectedCallback() {
2133
2141
  super.connectedCallback();
2134
2142
  const e = this.closest("anduin-field");
2135
- e && e.addEventListener(M1, (t) => {
2143
+ e && e.addEventListener(Z1, (t) => {
2136
2144
  var o;
2137
2145
  const i = t;
2138
2146
  this.inputid && this.inputid === i.detail && ((o = this.textareaEl) == null || o.focus());
@@ -2142,7 +2150,7 @@ const _3 = "anduin-textarea:change", n5 = class n5 extends u {
2142
2150
  this.textareaEl && this.textareaEl.value !== this.value && (this.textareaEl.value = this.value);
2143
2151
  }
2144
2152
  onInput() {
2145
- this.value = this.textareaEl.value, this.dispatchEvent(new CustomEvent(_3, {
2153
+ this.value = this.textareaEl.value, this.dispatchEvent(new CustomEvent(z3, {
2146
2154
  detail: this.value,
2147
2155
  bubbles: !0,
2148
2156
  composed: !0
@@ -2167,7 +2175,7 @@ const _3 = "anduin-textarea:change", n5 = class n5 extends u {
2167
2175
  `;
2168
2176
  }
2169
2177
  };
2170
- n5.styles = g`
2178
+ c5.styles = g`
2171
2179
  :host { display: block; font-family: var(--font-sans); }
2172
2180
 
2173
2181
  .textarea {
@@ -2184,46 +2192,46 @@ n5.styles = g`
2184
2192
  .textarea--warning { border-color: var(--color-warning-4); }
2185
2193
  .textarea--loading { border-color: var(--color-gray-4); }
2186
2194
  `;
2187
- let E = n5;
2188
- Q([
2195
+ let E = c5;
2196
+ e1([
2189
2197
  a()
2190
2198
  ], E.prototype, "value");
2191
- Q([
2199
+ e1([
2192
2200
  a({ type: Boolean })
2193
2201
  ], E.prototype, "disabled");
2194
- Q([
2202
+ e1([
2195
2203
  a({ type: Boolean })
2196
2204
  ], E.prototype, "readonly");
2197
- Q([
2205
+ e1([
2198
2206
  a()
2199
2207
  ], E.prototype, "placeholder");
2200
- Q([
2208
+ e1([
2201
2209
  a()
2202
2210
  ], E.prototype, "inputid");
2203
- Q([
2211
+ e1([
2204
2212
  a({ type: Number })
2205
2213
  ], E.prototype, "rows");
2206
- Q([
2214
+ e1([
2207
2215
  a()
2208
2216
  ], E.prototype, "status");
2209
- Q([
2210
- k("textarea")
2217
+ e1([
2218
+ R("textarea")
2211
2219
  ], E.prototype, "textareaEl");
2212
2220
  customElements.get("anduin-textarea") || customElements.define("anduin-textarea", E);
2213
- var x3 = Object.defineProperty, $ = (r, e, t, i) => {
2221
+ var A3 = Object.defineProperty, $ = (r, e, t, i) => {
2214
2222
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
2215
2223
  (n = r[l]) && (o = n(e, t, o) || o);
2216
- return o && x3(e, t, o), o;
2224
+ return o && A3(e, t, o), o;
2217
2225
  };
2218
- 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 {
2219
2227
  constructor() {
2220
2228
  super(...arguments), this.defaultValue = "", this.value = "", this.fill = !1;
2221
2229
  }
2222
2230
  connectedCallback() {
2223
- super.connectedCallback(), this.addEventListener(Z4, (e) => {
2231
+ super.connectedCallback(), this.addEventListener(E4, (e) => {
2224
2232
  e.stopPropagation();
2225
2233
  const t = e;
2226
- 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 }));
2227
2235
  }), requestAnimationFrame(() => {
2228
2236
  const e = this.value || this.defaultValue;
2229
2237
  e && (this.value || (this.value = e), this.broadcastValueChanged(e));
@@ -2236,36 +2244,36 @@ const Z4 = "anduin-tab:trigger-click", a2 = "anduin-tab:value-changed", w3 = "an
2236
2244
  }
2237
2245
  }
2238
2246
  broadcastValueChanged(e) {
2239
- this.dispatchEvent(new CustomEvent(a2, { detail: e, bubbles: !1, composed: !1 }));
2247
+ this.dispatchEvent(new CustomEvent(c2, { detail: e, bubbles: !1, composed: !1 }));
2240
2248
  }
2241
2249
  render() {
2242
2250
  return C`<div class="tabs" part="tabs"><slot></slot></div>`;
2243
2251
  }
2244
2252
  };
2245
- a5.styles = g`
2253
+ p5.styles = g`
2246
2254
  :host { display: flex; flex-direction: column; font-family: var(--font-sans); }
2247
2255
  :host([fill]) { flex: 1; min-height: 0; --_tab-fill-flex: 1; --_tab-fill-height: 100%; }
2248
2256
  .tabs { display: flex; flex-direction: column; width: 100%; }
2249
2257
  :host([fill]) .tabs { flex: 1; min-height: 0; }
2250
2258
  `;
2251
- let f1 = a5;
2259
+ let H1 = p5;
2252
2260
  $([
2253
2261
  a({ attribute: "default-value" })
2254
- ], f1.prototype, "defaultValue");
2262
+ ], H1.prototype, "defaultValue");
2255
2263
  $([
2256
2264
  a()
2257
- ], f1.prototype, "value");
2265
+ ], H1.prototype, "value");
2258
2266
  $([
2259
2267
  a({ type: Boolean, reflect: !0 })
2260
- ], f1.prototype, "fill");
2261
- const s5 = class s5 extends u {
2268
+ ], H1.prototype, "fill");
2269
+ const u5 = class u5 extends u {
2262
2270
  constructor() {
2263
2271
  super(...arguments), this.alignment = "left", this.lastActiveValue = "", this.resizeObserver = null;
2264
2272
  }
2265
2273
  connectedCallback() {
2266
2274
  super.connectedCallback();
2267
2275
  const e = this.closest("anduin-tabs");
2268
- e && e.addEventListener(a2, (t) => {
2276
+ e && e.addEventListener(c2, (t) => {
2269
2277
  const i = t;
2270
2278
  this.lastActiveValue = i.detail, requestAnimationFrame(() => {
2271
2279
  this.animateIndicator(i.detail);
@@ -2302,7 +2310,7 @@ const s5 = class s5 extends u {
2302
2310
  `;
2303
2311
  }
2304
2312
  };
2305
- s5.styles = g`
2313
+ u5.styles = g`
2306
2314
  :host { display: block; font-family: var(--font-sans); }
2307
2315
  .tabs-list {
2308
2316
  display: flex; background-color: var(--color-gray-0);
@@ -2317,27 +2325,27 @@ s5.styles = g`
2317
2325
  left: 0; height: 2px; transition-duration: 200ms; transition-property: transform, width;
2318
2326
  }
2319
2327
  `;
2320
- let O1 = s5;
2328
+ let T1 = u5;
2321
2329
  $([
2322
2330
  a()
2323
- ], O1.prototype, "alignment");
2331
+ ], T1.prototype, "alignment");
2324
2332
  $([
2325
- k(".tabs-list__indicator")
2326
- ], O1.prototype, "indicator");
2327
- const C5 = class C5 extends u {
2333
+ R(".tabs-list__indicator")
2334
+ ], T1.prototype, "indicator");
2335
+ const h5 = class h5 extends u {
2328
2336
  constructor() {
2329
2337
  super(...arguments), this.value = "", this.startIcon = "", this.disabled = !1, this.showBadge = !1, this.badgeCount = "", this.isActive = !1;
2330
2338
  }
2331
2339
  connectedCallback() {
2332
2340
  super.connectedCallback();
2333
2341
  const e = this.closest("anduin-tabs");
2334
- e && e.addEventListener(a2, (t) => {
2342
+ e && e.addEventListener(c2, (t) => {
2335
2343
  const i = t;
2336
2344
  this.isActive = i.detail === this.value;
2337
2345
  });
2338
2346
  }
2339
2347
  onClick() {
2340
- 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 }));
2341
2349
  }
2342
2350
  render() {
2343
2351
  return C`
@@ -2358,7 +2366,7 @@ const C5 = class C5 extends u {
2358
2366
  `;
2359
2367
  }
2360
2368
  };
2361
- C5.styles = g`
2369
+ h5.styles = g`
2362
2370
  :host { display: inline-block; font-family: var(--font-sans); }
2363
2371
  .tab-trigger {
2364
2372
  cursor: pointer; background: none; border: none; display: block;
@@ -2381,7 +2389,7 @@ C5.styles = g`
2381
2389
  color: var(--color-gray-7); white-space: nowrap;
2382
2390
  }
2383
2391
  `;
2384
- let T = C5;
2392
+ let T = h5;
2385
2393
  $([
2386
2394
  a({ reflect: !0 })
2387
2395
  ], T.prototype, "value");
@@ -2398,16 +2406,16 @@ $([
2398
2406
  a({ attribute: "badge-count" })
2399
2407
  ], T.prototype, "badgeCount");
2400
2408
  $([
2401
- m()
2409
+ V()
2402
2410
  ], T.prototype, "isActive");
2403
- const d5 = class d5 extends u {
2411
+ const g5 = class g5 extends u {
2404
2412
  constructor() {
2405
2413
  super(...arguments), this.value = "", this.isActive = !1;
2406
2414
  }
2407
2415
  connectedCallback() {
2408
2416
  super.connectedCallback();
2409
2417
  const e = this.closest("anduin-tabs");
2410
- e && e.addEventListener(a2, (t) => {
2418
+ e && e.addEventListener(c2, (t) => {
2411
2419
  const i = t;
2412
2420
  this.isActive = i.detail === this.value;
2413
2421
  });
@@ -2423,28 +2431,28 @@ const d5 = class d5 extends u {
2423
2431
  `;
2424
2432
  }
2425
2433
  };
2426
- d5.styles = g`
2434
+ g5.styles = g`
2427
2435
  :host { display: block; font-family: var(--font-sans); flex: var(--_tab-fill-flex, 0 0 auto); min-height: 0; }
2428
2436
  :host(:not([active])) { display: none; }
2429
2437
  .tab-content { width: 100%; height: var(--_tab-fill-height, auto); overflow-x: hidden; overflow-y: auto; }
2430
2438
  `;
2431
- let D1 = d5;
2439
+ let N1 = g5;
2432
2440
  $([
2433
2441
  a()
2434
- ], D1.prototype, "value");
2442
+ ], N1.prototype, "value");
2435
2443
  $([
2436
- m()
2437
- ], D1.prototype, "isActive");
2438
- customElements.get("anduin-tabs") || customElements.define("anduin-tabs", f1);
2439
- 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);
2440
2448
  customElements.get("anduin-tab-trigger") || customElements.define("anduin-tab-trigger", T);
2441
- customElements.get("anduin-tab-content") || customElements.define("anduin-tab-content", D1);
2442
- 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) => {
2443
2451
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
2444
2452
  (n = r[l]) && (o = n(e, t, o) || o);
2445
- return o && R3(e, t, o), o;
2453
+ return o && P3(e, t, o), o;
2446
2454
  };
2447
- const k3 = "anduin-tag-close:click", $3 = {
2455
+ const S3 = "anduin-tag-close:click", F3 = {
2448
2456
  gray: "tag--light-gray",
2449
2457
  primary: "tag--light-primary",
2450
2458
  success: "tag--light-success",
@@ -2469,7 +2477,7 @@ const k3 = "anduin-tag-close:click", $3 = {
2469
2477
  customYellow: "tag--custom-yellow",
2470
2478
  customYellowGreen: "tag--custom-yellow-green",
2471
2479
  customYellowOrange: "tag--custom-yellow-orange"
2472
- }, E3 = {
2480
+ }, O3 = {
2473
2481
  gray: "tag__icon--light-gray",
2474
2482
  primary: "tag__icon--light-primary",
2475
2483
  success: "tag__icon--light-success",
@@ -2494,12 +2502,12 @@ const k3 = "anduin-tag-close:click", $3 = {
2494
2502
  customMagenta: "tag__icon--custom-magenta",
2495
2503
  customBlueGreen: "tag__icon--custom-blue-green",
2496
2504
  customPink: "tag__icon--custom-pink"
2497
- }, c5 = class c5 extends u {
2505
+ }, v5 = class v5 extends u {
2498
2506
  constructor() {
2499
2507
  super(...arguments), this.variant = "gray", this.icon = "", this.disabled = !1;
2500
2508
  }
2501
2509
  render() {
2502
- 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";
2503
2511
  return C`
2504
2512
  <div class="tag ${e} ${this.disabled ? "tag--disabled" : ""}" part="tag">
2505
2513
  ${this.icon ? C`<anduin-icon name="${this.icon}" size="12" class="tag__icon ${t}"></anduin-icon>` : c}
@@ -2509,7 +2517,7 @@ const k3 = "anduin-tag-close:click", $3 = {
2509
2517
  `;
2510
2518
  }
2511
2519
  };
2512
- c5.styles = g`
2520
+ v5.styles = g`
2513
2521
  :host { display: inline-flex; max-width: 100%; font-family: var(--font-sans); }
2514
2522
  .tag {
2515
2523
  font-weight: 500; font-size: 11px; height: 20px; padding-left: 6px; padding-right: 6px;
@@ -2557,19 +2565,19 @@ c5.styles = g`
2557
2565
  .tag--custom-yellow-green { color: var(--color-gray-9); background-color: rgb(174,207,85); }
2558
2566
  .tag--custom-yellow-orange { color: var(--color-gray-9); background-color: rgb(255,193,107); }
2559
2567
  `;
2560
- let H1 = c5;
2561
- O2([
2568
+ let m1 = v5;
2569
+ j2([
2562
2570
  a()
2563
- ], H1.prototype, "variant");
2564
- O2([
2571
+ ], m1.prototype, "variant");
2572
+ j2([
2565
2573
  a()
2566
- ], H1.prototype, "icon");
2567
- O2([
2574
+ ], m1.prototype, "icon");
2575
+ j2([
2568
2576
  a({ type: Boolean })
2569
- ], H1.prototype, "disabled");
2570
- const p5 = class p5 extends u {
2577
+ ], m1.prototype, "disabled");
2578
+ const f5 = class f5 extends u {
2571
2579
  onClick() {
2572
- this.dispatchEvent(new CustomEvent(k3, { bubbles: !0, composed: !0 }));
2580
+ this.dispatchEvent(new CustomEvent(S3, { bubbles: !0, composed: !0 }));
2573
2581
  }
2574
2582
  render() {
2575
2583
  return C`
@@ -2579,7 +2587,7 @@ const p5 = class p5 extends u {
2579
2587
  `;
2580
2588
  }
2581
2589
  };
2582
- p5.styles = g`
2590
+ f5.styles = g`
2583
2591
  :host { display: inline-block; font-family: var(--font-sans); }
2584
2592
  .tag-close__button {
2585
2593
  flex: none; width: 16px; height: 16px; display: flex; align-items: center;
@@ -2589,15 +2597,15 @@ p5.styles = g`
2589
2597
  .tag-close__button:hover { opacity: 0.7; }
2590
2598
  .tag-close__button:active { opacity: 0.5; }
2591
2599
  `;
2592
- let m2 = p5;
2593
- customElements.get("anduin-tag") || customElements.define("anduin-tag", H1);
2594
- customElements.get("anduin-tag-close") || customElements.define("anduin-tag-close", m2);
2595
- 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) => {
2596
2604
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
2597
2605
  (n = r[l]) && (o = n(e, t, o) || o);
2598
- return o && z3(e, t, o), o;
2606
+ return o && I3(e, t, o), o;
2599
2607
  };
2600
- const A3 = "anduin-toggle-group:change", B3 = "anduin-toggle-group-item:change", P3 = "anduin-toggle-group-item:select", S3 = "anduin-toggle-group-item:deselect", b2 = "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 {
2601
2609
  constructor() {
2602
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) => {
2603
2611
  var d;
@@ -2609,7 +2617,7 @@ const A3 = "anduin-toggle-group:change", B3 = "anduin-toggle-group-item:change",
2609
2617
  if (s == null || s.emitSelectionChange(!l), this.mode === "single" && !l)
2610
2618
  for (const p of o)
2611
2619
  (d = this.items.find((h) => h.value === p)) == null || d.emitSelectionChange(!1);
2612
- this.dispatchEvent(new CustomEvent(A3, {
2620
+ this.dispatchEvent(new CustomEvent(D3, {
2613
2621
  detail: n.join(" "),
2614
2622
  bubbles: !0,
2615
2623
  composed: !0
@@ -2620,16 +2628,16 @@ const A3 = "anduin-toggle-group:change", B3 = "anduin-toggle-group-item:change",
2620
2628
  return this.value != null;
2621
2629
  }
2622
2630
  get selection() {
2623
- return this.isControlled ? p2(this.value) : this.internalValue;
2631
+ return this.isControlled ? v2(this.value) : this.internalValue;
2624
2632
  }
2625
2633
  connectedCallback() {
2626
- super.connectedCallback(), this.hasUpdated || (this.internalValue = p2(this.defaultValue)), this.addEventListener(b2, this.onItemClick);
2634
+ super.connectedCallback(), this.hasUpdated || (this.internalValue = v2(this.defaultValue)), this.addEventListener(Z2, this.onItemClick);
2627
2635
  }
2628
2636
  willUpdate(e) {
2629
- 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));
2630
2638
  }
2631
2639
  disconnectedCallback() {
2632
- super.disconnectedCallback(), this.removeEventListener(b2, this.onItemClick);
2640
+ super.disconnectedCallback(), this.removeEventListener(Z2, this.onItemClick);
2633
2641
  }
2634
2642
  updated() {
2635
2643
  this.syncItems();
@@ -2650,7 +2658,7 @@ const A3 = "anduin-toggle-group:change", B3 = "anduin-toggle-group-item:change",
2650
2658
  `;
2651
2659
  }
2652
2660
  };
2653
- u5.styles = g`
2661
+ H5.styles = g`
2654
2662
  :host { display: inline-flex; font-family: var(--font-sans); }
2655
2663
  .toggle-group { display: inline-flex; align-items: center; }
2656
2664
  .toggle-group--small {
@@ -2684,39 +2692,39 @@ u5.styles = g`
2684
2692
  /* Gapped pills stand alone, so each keeps all four borders. */
2685
2693
  .toggle-group--gap ::slotted(anduin-toggle-group-item) { --toggle-group-item-radius: 4px; --toggle-group-item-border-left: 1px; }
2686
2694
  `;
2687
- let P = u5;
2688
- R([
2695
+ let P = H5;
2696
+ k([
2689
2697
  a()
2690
2698
  ], P.prototype, "mode");
2691
- R([
2699
+ k([
2692
2700
  a({ attribute: "default-value" })
2693
2701
  ], P.prototype, "defaultValue");
2694
- R([
2702
+ k([
2695
2703
  a()
2696
2704
  ], P.prototype, "value");
2697
- R([
2705
+ k([
2698
2706
  a()
2699
2707
  ], P.prototype, "size");
2700
- R([
2708
+ k([
2701
2709
  a()
2702
2710
  ], P.prototype, "variant");
2703
- R([
2711
+ k([
2704
2712
  a({ type: Boolean })
2705
2713
  ], P.prototype, "gap");
2706
- R([
2707
- m()
2714
+ k([
2715
+ V()
2708
2716
  ], P.prototype, "internalValue");
2709
- const h5 = class h5 extends u {
2717
+ const m5 = class m5 extends u {
2710
2718
  constructor() {
2711
2719
  super(...arguments), this.value = "", this.startIcon = "", this.disabled = !1, this.selected = !1, this.groupSize = "medium", this.groupVariant = "gray", this.groupMode = "single";
2712
2720
  }
2713
2721
  /** Called by the parent group when the user's action changes this item's selection. */
2714
2722
  emitSelectionChange(e) {
2715
- this.dispatchEvent(new CustomEvent(B3, {
2723
+ this.dispatchEvent(new CustomEvent(T3, {
2716
2724
  detail: e,
2717
2725
  bubbles: !0,
2718
2726
  composed: !0
2719
- })), this.dispatchEvent(new CustomEvent(e ? P3 : S3, {
2727
+ })), this.dispatchEvent(new CustomEvent(e ? N3 : j3, {
2720
2728
  detail: this.value,
2721
2729
  bubbles: !0,
2722
2730
  composed: !0
@@ -2726,7 +2734,7 @@ const h5 = class h5 extends u {
2726
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")));
2727
2735
  }
2728
2736
  onClick() {
2729
- this.dispatchEvent(new CustomEvent(b2, {
2737
+ this.dispatchEvent(new CustomEvent(Z2, {
2730
2738
  detail: this.value,
2731
2739
  bubbles: !0,
2732
2740
  composed: !0
@@ -2756,7 +2764,7 @@ const h5 = class h5 extends u {
2756
2764
  `;
2757
2765
  }
2758
2766
  };
2759
- h5.styles = g`
2767
+ m5.styles = g`
2760
2768
  :host { display: inline-block; font-family: var(--font-sans); }
2761
2769
  .toggle-item {
2762
2770
  position: relative; z-index: 0; box-sizing: border-box;
@@ -2792,39 +2800,39 @@ h5.styles = g`
2792
2800
  .toggle-item--selected .toggle-item__icon { color: var(--color-gray-7); }
2793
2801
  .toggle-item--variant-primary.toggle-item--selected .toggle-item__icon { color: var(--color-primary-4); }
2794
2802
  `;
2795
- let S = h5;
2796
- R([
2803
+ let S = m5;
2804
+ k([
2797
2805
  a({ reflect: !0 })
2798
2806
  ], S.prototype, "value");
2799
- R([
2807
+ k([
2800
2808
  a({ attribute: "start-icon" })
2801
2809
  ], S.prototype, "startIcon");
2802
- R([
2810
+ k([
2803
2811
  a({ type: Boolean })
2804
2812
  ], S.prototype, "disabled");
2805
- R([
2813
+ k([
2806
2814
  a({ attribute: !1 })
2807
2815
  ], S.prototype, "selected");
2808
- R([
2816
+ k([
2809
2817
  a({ attribute: !1 })
2810
2818
  ], S.prototype, "groupSize");
2811
- R([
2819
+ k([
2812
2820
  a({ attribute: !1 })
2813
2821
  ], S.prototype, "groupVariant");
2814
- R([
2822
+ k([
2815
2823
  a({ attribute: !1 })
2816
2824
  ], S.prototype, "groupMode");
2817
- function p2(r) {
2825
+ function v2(r) {
2818
2826
  return r.split(" ").map((e) => e.trim()).filter(Boolean);
2819
2827
  }
2820
2828
  customElements.get("anduin-toggle-group") || customElements.define("anduin-toggle-group", P);
2821
2829
  customElements.get("anduin-toggle-group-item") || customElements.define("anduin-toggle-group-item", S);
2822
- var F3 = Object.defineProperty, _4 = (r, e, t, i) => {
2830
+ var U3 = Object.defineProperty, z4 = (r, e, t, i) => {
2823
2831
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
2824
2832
  (n = r[l]) && (o = n(e, t, o) || o);
2825
- return o && F3(e, t, o), o;
2833
+ return o && U3(e, t, o), o;
2826
2834
  };
2827
- 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 = [
2828
2836
  "top-start",
2829
2837
  "top-center",
2830
2838
  "top-end",
@@ -2838,7 +2846,7 @@ const x4 = "anduin-tooltip:show", D2 = "anduin-tooltip:hide", w4 = "anduin-toolt
2838
2846
  "left-center",
2839
2847
  "left-end"
2840
2848
  ];
2841
- function Q5(r, e, t, i, o) {
2849
+ function n4(r, e, t, i, o) {
2842
2850
  switch (i) {
2843
2851
  case "top-start":
2844
2852
  return { left: r.left, top: r.top - t - o };
@@ -2868,20 +2876,20 @@ function Q5(r, e, t, i, o) {
2868
2876
  return { left: 0, top: 0 };
2869
2877
  }
2870
2878
  }
2871
- function e4(r, e) {
2879
+ function a4(r, e) {
2872
2880
  return e.right >= r.left && e.left <= r.right && e.top <= r.bottom && e.bottom >= r.top;
2873
2881
  }
2874
- function t4(r, e) {
2882
+ function s4(r, e) {
2875
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);
2876
2884
  return o < t || l < i ? 0 : (o - t) * (l - i);
2877
2885
  }
2878
- function D3(r, e, t, i = 8) {
2886
+ function q3(r, e, t, i = 8) {
2879
2887
  const o = window.innerWidth, l = window.innerHeight, n = { left: 0, top: 0, right: o, bottom: l }, s = e.width, d = e.height;
2880
- if (!e4(
2888
+ if (!a4(
2881
2889
  { left: r.left, top: r.top, right: r.right, bottom: r.bottom },
2882
2890
  n
2883
2891
  )) return null;
2884
- 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));
2885
2893
  if (h.length === 0)
2886
2894
  return {
2887
2895
  placement: t,
@@ -2889,10 +2897,10 @@ function D3(r, e, t, i = 8) {
2889
2897
  top: Math.round(Math.min(Math.max(p.top, 0), l - d))
2890
2898
  };
2891
2899
  h.sort((f, Z) => {
2892
- 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);
2893
- if (o1 !== D) return o1 - D;
2894
- 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);
2895
- 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;
2896
2904
  });
2897
2905
  const { p: v, off: H } = h[0];
2898
2906
  return {
@@ -2901,10 +2909,10 @@ function D3(r, e, t, i = 8) {
2901
2909
  top: Math.round(Math.min(Math.max(H.top, 0), l - d))
2902
2910
  };
2903
2911
  }
2904
- function L2(r) {
2912
+ function _2(r) {
2905
2913
  return r.split("-")[0] || "top";
2906
2914
  }
2907
- function I3(r, e, t) {
2915
+ function W3(r, e, t) {
2908
2916
  let i = !1, o = t.length - 1;
2909
2917
  for (let l = 0; l < t.length; l++) {
2910
2918
  const n = t[l][0], s = t[l][1], d = t[o][0], p = t[o][1];
@@ -2912,20 +2920,20 @@ function I3(r, e, t) {
2912
2920
  }
2913
2921
  return i;
2914
2922
  }
2915
- const g5 = class g5 extends u {
2923
+ const V5 = class V5 extends u {
2916
2924
  constructor() {
2917
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;
2918
2926
  }
2919
2927
  connectedCallback() {
2920
- super.connectedCallback(), this.addEventListener(w4, (e) => {
2928
+ super.connectedCallback(), this.addEventListener(B4, (e) => {
2921
2929
  e.stopPropagation(), this.triggerElement = e.detail, this.maybeStartPositionLoop();
2922
- }), this.addEventListener(R4, (e) => {
2930
+ }), this.addEventListener(P4, (e) => {
2923
2931
  e.stopPropagation(), this.contentPopupElement = e.detail, this.computeContainingBlockOffset(this.contentPopupElement), this.maybeStartPositionLoop();
2924
- }), this.addEventListener(k4, (e) => {
2932
+ }), this.addEventListener(S4, (e) => {
2925
2933
  e.stopPropagation(), this.stopPositionLoop(), this.contentPopupElement = null;
2926
- }), this.addEventListener(x4, (e) => {
2934
+ }), this.addEventListener(A4, (e) => {
2927
2935
  e.stopPropagation(), !this.disabled && (this.isVisible = !0, this.broadcastVisibilityChanged(`show:${this.placement}`));
2928
- }), this.addEventListener(D2, (e) => {
2936
+ }), this.addEventListener(U2, (e) => {
2929
2937
  e.stopPropagation(), this.isVisible = !1, this.stopPositionLoop(), this.broadcastVisibilityChanged("hide");
2930
2938
  });
2931
2939
  }
@@ -2956,11 +2964,11 @@ const g5 = class g5 extends u {
2956
2964
  this.containingBlockLeft = o.left, this.containingBlockTop = o.top, t.style.transform = i;
2957
2965
  }
2958
2966
  positionPopup(e, t, i) {
2959
- 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);
2960
2968
  if (n) {
2961
2969
  const s = e;
2962
2970
  s.style.transform = `translate(${n.left - this.containingBlockLeft}px, ${n.top - this.containingBlockTop}px)`;
2963
- const d = L2(n.placement), p = L2(i);
2971
+ const d = _2(n.placement), p = _2(i);
2964
2972
  if (d !== p) {
2965
2973
  const h = e.querySelector(".tooltip-arrow");
2966
2974
  h && (h.classList.remove(`tooltip-arrow--${p}`), h.classList.add(`tooltip-arrow--${d}`));
@@ -2968,49 +2976,49 @@ const g5 = class g5 extends u {
2968
2976
  }
2969
2977
  }
2970
2978
  broadcastVisibilityChanged(e) {
2971
- this.dispatchEvent(new CustomEvent($4, { detail: e, bubbles: !1, composed: !1 }));
2979
+ this.dispatchEvent(new CustomEvent(F4, { detail: e, bubbles: !1, composed: !1 }));
2972
2980
  }
2973
2981
  render() {
2974
2982
  return C`<div class="tooltip-root" part="tooltip"><slot></slot></div>`;
2975
2983
  }
2976
2984
  };
2977
- g5.styles = g`
2985
+ V5.styles = g`
2978
2986
  :host { display: inline-block; position: relative; max-width: 100%; font-family: var(--font-sans); }
2979
2987
  .tooltip-root { display: inline-block; position: relative; max-width: 100%; }
2980
2988
  `;
2981
- let I1 = g5;
2982
- _4([
2989
+ let j1 = V5;
2990
+ z4([
2983
2991
  a({ type: Boolean })
2984
- ], I1.prototype, "disabled");
2985
- _4([
2992
+ ], j1.prototype, "disabled");
2993
+ z4([
2986
2994
  a()
2987
- ], I1.prototype, "placement");
2988
- const v5 = class v5 extends u {
2995
+ ], j1.prototype, "placement");
2996
+ const b5 = class b5 extends u {
2989
2997
  firstUpdated() {
2990
2998
  requestAnimationFrame(() => {
2991
- this.dispatchEvent(new CustomEvent(w4, { detail: this, bubbles: !0, composed: !0 }));
2999
+ this.dispatchEvent(new CustomEvent(B4, { detail: this, bubbles: !0, composed: !0 }));
2992
3000
  }), this.addEventListener("pointerenter", () => {
2993
- this.dispatchEvent(new CustomEvent(x4, { bubbles: !0, composed: !0 }));
3001
+ this.dispatchEvent(new CustomEvent(A4, { bubbles: !0, composed: !0 }));
2994
3002
  }), this.addEventListener("click", () => {
2995
- this.dispatchEvent(new CustomEvent(D2, { bubbles: !0, composed: !0 }));
3003
+ this.dispatchEvent(new CustomEvent(U2, { bubbles: !0, composed: !0 }));
2996
3004
  });
2997
3005
  }
2998
3006
  render() {
2999
3007
  return C`<span class="tooltip-trigger" part="tooltip-trigger"><slot></slot></span>`;
3000
3008
  }
3001
3009
  };
3002
- v5.styles = g`
3010
+ b5.styles = g`
3003
3011
  :host { display: inline-block; max-width: 100%; font-family: var(--font-sans); }
3004
3012
  .tooltip-trigger { display: flex; align-items: center; max-width: 100%; }
3005
3013
  `;
3006
- let y2 = v5;
3007
- const f5 = class f5 extends u {
3014
+ let x2 = b5;
3015
+ const L5 = class L5 extends u {
3008
3016
  constructor() {
3009
3017
  super(...arguments), this.graceArea = null, this.triggerEl = null, this.popupEl = null, this.handlePointerMove = (e) => {
3010
3018
  var l, n;
3011
3019
  if (!this.graceArea) return;
3012
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;
3013
- 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 })));
3014
3022
  }, this.handleTriggerLeave = (e) => {
3015
3023
  this.triggerEl && this.popupEl && this.createGraceArea(this.triggerEl, this.popupEl, e);
3016
3024
  }, this.handleContentLeave = (e) => {
@@ -3020,7 +3028,7 @@ const f5 = class f5 extends u {
3020
3028
  connectedCallback() {
3021
3029
  super.connectedCallback();
3022
3030
  const e = this.closest("anduin-tooltip");
3023
- e && e.addEventListener($4, (t) => {
3031
+ e && e.addEventListener(F4, (t) => {
3024
3032
  const i = t.detail;
3025
3033
  i.startsWith("show:") ? this.showPopup(i.slice(5)) : this.hidePopup();
3026
3034
  });
@@ -3046,7 +3054,7 @@ const f5 = class f5 extends u {
3046
3054
  }
3047
3055
  showPopup(e) {
3048
3056
  this.hidePopup();
3049
- const t = L2(e), i = document.createElement("div");
3057
+ const t = _2(e), i = document.createElement("div");
3050
3058
  i.className = "tooltip-popup", i.setAttribute("role", "tooltip");
3051
3059
  const o = document.createElement("div");
3052
3060
  o.className = `tooltip-arrow tooltip-arrow--${t}`;
@@ -3059,16 +3067,16 @@ const f5 = class f5 extends u {
3059
3067
  const d = s.querySelector("anduin-tooltip-trigger");
3060
3068
  d && this.setupGraceAreaListeners(d, i);
3061
3069
  }
3062
- this.dispatchEvent(new CustomEvent(R4, { detail: i, bubbles: !0, composed: !0 }));
3070
+ this.dispatchEvent(new CustomEvent(P4, { detail: i, bubbles: !0, composed: !0 }));
3063
3071
  }
3064
3072
  hidePopup() {
3065
- 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();
3066
3074
  }
3067
3075
  render() {
3068
3076
  return C`<div class="tooltip-content-wrapper"></div>`;
3069
3077
  }
3070
3078
  };
3071
- f5.styles = g`
3079
+ L5.styles = g`
3072
3080
  :host {
3073
3081
  display: contents;
3074
3082
  --tooltip-bg: var(--anduin-tooltip-content-background, var(--color-gray-9));
@@ -3092,16 +3100,16 @@ f5.styles = g`
3092
3100
  .tooltip-arrow--left { right: -4px; top: 50%; transform: translateY(-50%); border-left-color: var(--tooltip-bg); border-right: none; }
3093
3101
  .tooltip-arrow--right { left: -4px; top: 50%; transform: translateY(-50%); border-right-color: var(--tooltip-bg); border-left: none; }
3094
3102
  `;
3095
- let M2 = f5;
3096
- customElements.get("anduin-tooltip") || customElements.define("anduin-tooltip", I1);
3097
- customElements.get("anduin-tooltip-trigger") || customElements.define("anduin-tooltip-trigger", y2);
3098
- customElements.get("anduin-tooltip-content") || customElements.define("anduin-tooltip-content", M2);
3099
- 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) => {
3100
3108
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
3101
3109
  (n = r[l]) && (o = n(e, t, o) || o);
3102
- return o && T3(e, t, o), o;
3110
+ return o && Y3(e, t, o), o;
3103
3111
  };
3104
- const j3 = "anduin-well-close:click", H5 = class H5 extends u {
3112
+ const K3 = "anduin-well-close:click", y5 = class y5 extends u {
3105
3113
  constructor() {
3106
3114
  super(...arguments), this.variant = "gray";
3107
3115
  }
@@ -3120,7 +3128,7 @@ const j3 = "anduin-well-close:click", H5 = class H5 extends u {
3120
3128
  `;
3121
3129
  }
3122
3130
  };
3123
- H5.styles = g`
3131
+ y5.styles = g`
3124
3132
  :host {
3125
3133
  display: block;
3126
3134
  font-family: var(--font-sans);
@@ -3185,14 +3193,14 @@ H5.styles = g`
3185
3193
  color: var(--color-warning-4);
3186
3194
  }
3187
3195
  `;
3188
- let l2 = H5;
3189
- N3([
3196
+ let s2 = y5;
3197
+ X3([
3190
3198
  a()
3191
- ], l2.prototype, "variant");
3192
- const V5 = class V5 extends u {
3199
+ ], s2.prototype, "variant");
3200
+ const M5 = class M5 extends u {
3193
3201
  onClick() {
3194
3202
  this.dispatchEvent(
3195
- new CustomEvent(j3, { bubbles: !0, composed: !0 })
3203
+ new CustomEvent(K3, { bubbles: !0, composed: !0 })
3196
3204
  );
3197
3205
  }
3198
3206
  render() {
@@ -3207,7 +3215,7 @@ const V5 = class V5 extends u {
3207
3215
  `;
3208
3216
  }
3209
3217
  };
3210
- V5.styles = g`
3218
+ M5.styles = g`
3211
3219
  :host {
3212
3220
  display: inline-block;
3213
3221
  font-family: var(--font-sans);
@@ -3232,15 +3240,15 @@ V5.styles = g`
3232
3240
  background-color: var(--color-gray-3);
3233
3241
  }
3234
3242
  `;
3235
- let Z2 = V5;
3236
- customElements.get("anduin-well") || customElements.define("anduin-well", l2);
3237
- customElements.get("anduin-well-close") || customElements.define("anduin-well-close", Z2);
3238
- 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) => {
3239
3247
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
3240
3248
  (n = r[l]) && (o = n(e, t, o) || o);
3241
- return o && U3(e, t, o), o;
3249
+ return o && J3(e, t, o), o;
3242
3250
  };
3243
- const _2 = "anduin-popover:close", m5 = class m5 extends u {
3251
+ const k2 = "anduin-popover:close", Z5 = class Z5 extends u {
3244
3252
  constructor() {
3245
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) => {
3246
3254
  var t;
@@ -3255,10 +3263,10 @@ const _2 = "anduin-popover:close", m5 = class m5 extends u {
3255
3263
  this.open = !this.open;
3256
3264
  }
3257
3265
  connectedCallback() {
3258
- 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);
3259
3267
  }
3260
3268
  disconnectedCallback() {
3261
- 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);
3262
3270
  }
3263
3271
  updated(e) {
3264
3272
  e.has("open") && (this.open ? (this._cancelCloseAnimation(), this._closing = !1, this._visible = !0, requestAnimationFrame(() => this._updatePosition())) : this._startCloseAnimation());
@@ -3287,10 +3295,10 @@ const _2 = "anduin-popover:close", m5 = class m5 extends u {
3287
3295
  t.style.transform = o;
3288
3296
  const n = t.getBoundingClientRect(), s = 4, d = window.innerWidth, p = window.innerHeight, h = 8;
3289
3297
  let v = 0, H = 0, f = "bottom";
3290
- 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;
3291
- f = q1 ? "bottom" : "top", H = q1 ? i.bottom + s : i.top - n.height - s;
3292
- const W1 = this.placement.endsWith("end") ? "end" : this.placement.endsWith("start") ? "start" : "center";
3293
- 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;
3294
3302
  }
3295
3303
  render() {
3296
3304
  return C`
@@ -3305,7 +3313,7 @@ const _2 = "anduin-popover:close", m5 = class m5 extends u {
3305
3313
  `;
3306
3314
  }
3307
3315
  };
3308
- m5.styles = g`
3316
+ Z5.styles = g`
3309
3317
  :host { display: inline-block; font-family: var(--font-sans); }
3310
3318
  :host([full-width]) { display: block; width: 100%; }
3311
3319
 
@@ -3358,50 +3366,49 @@ m5.styles = g`
3358
3366
  transform: none;
3359
3367
  }
3360
3368
  `;
3361
- let F = m5;
3362
- C1([
3369
+ let F = Z5;
3370
+ d1([
3363
3371
  a({ type: Boolean, reflect: !0 })
3364
3372
  ], F.prototype, "open");
3365
- C1([
3373
+ d1([
3366
3374
  a()
3367
3375
  ], F.prototype, "placement");
3368
- C1([
3376
+ d1([
3369
3377
  a({ type: Boolean, attribute: "full-width", reflect: !0 })
3370
3378
  ], F.prototype, "fullWidth");
3371
- C1([
3372
- m()
3379
+ d1([
3380
+ V()
3373
3381
  ], F.prototype, "_visible");
3374
- C1([
3375
- m()
3382
+ d1([
3383
+ V()
3376
3384
  ], F.prototype, "_closing");
3377
- C1([
3378
- k(".popover__trigger")
3385
+ d1([
3386
+ R(".popover__trigger")
3379
3387
  ], F.prototype, "_triggerEl");
3380
- C1([
3381
- k(".popover__panel")
3388
+ d1([
3389
+ R(".popover__panel")
3382
3390
  ], F.prototype, "_panelEl");
3383
3391
  customElements.get("anduin-popover") || customElements.define("anduin-popover", F);
3384
- const b5 = class b5 extends u {
3392
+ const _5 = class _5 extends u {
3385
3393
  _onClick() {
3386
- this.dispatchEvent(new CustomEvent(_2, { bubbles: !0, composed: !0 }));
3394
+ this.dispatchEvent(new CustomEvent(k2, { bubbles: !0, composed: !0 }));
3387
3395
  }
3388
3396
  render() {
3389
3397
  return C`<span @click=${this._onClick}><slot></slot></span>`;
3390
3398
  }
3391
3399
  };
3392
- b5.styles = g`:host { display: contents; }`;
3393
- let x2 = b5;
3394
- customElements.get("anduin-popover-close") || customElements.define("anduin-popover-close", x2);
3395
- 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) => {
3396
3404
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
3397
3405
  (n = r[l]) && (o = n(e, t, o) || o);
3398
- return o && G3(e, t, o), o;
3406
+ return o && Q3(e, t, o), o;
3399
3407
  };
3400
- const w2 = "anduin-menu-item:click", L5 = class L5 extends u {
3408
+ const E2 = "anduin-menu-item:click", x5 = class x5 extends u {
3401
3409
  constructor() {
3402
3410
  super(...arguments), this.open = !1, this.placement = "bottom-start", this._onOutsideClick = (e) => {
3403
- var t;
3404
- !this.contains(e.target) && !((t = this.shadowRoot) != null && t.contains(e.target)) && (this.open = !1);
3411
+ e.composedPath().includes(this) || (this.open = !1);
3405
3412
  }, this._onItemClick = () => {
3406
3413
  this.open = !1;
3407
3414
  }, this._onScrollOrResize = () => {
@@ -3412,10 +3419,10 @@ const w2 = "anduin-menu-item:click", L5 = class L5 extends u {
3412
3419
  this.open = !this.open;
3413
3420
  }
3414
3421
  connectedCallback() {
3415
- 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);
3416
3423
  }
3417
3424
  disconnectedCallback() {
3418
- 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);
3419
3426
  }
3420
3427
  updated(e) {
3421
3428
  e.has("open") && this.open && requestAnimationFrame(() => this._updatePosition());
@@ -3464,7 +3471,7 @@ const w2 = "anduin-menu-item:click", L5 = class L5 extends u {
3464
3471
  `;
3465
3472
  }
3466
3473
  };
3467
- L5.styles = g`
3474
+ x5.styles = g`
3468
3475
  :host { display: inline-block; font-family: var(--font-sans); }
3469
3476
 
3470
3477
  .menu__trigger { display: inline-block; }
@@ -3507,25 +3514,25 @@ L5.styles = g`
3507
3514
  transform: scale(1) translateY(0);
3508
3515
  }
3509
3516
  `;
3510
- let s1 = L5;
3511
- d1([
3517
+ let C1 = x5;
3518
+ c1([
3512
3519
  a({ type: Boolean, reflect: !0 })
3513
- ], s1.prototype, "open");
3514
- d1([
3520
+ ], C1.prototype, "open");
3521
+ c1([
3515
3522
  a()
3516
- ], s1.prototype, "placement");
3517
- d1([
3518
- k(".menu__trigger")
3519
- ], s1.prototype, "_triggerEl");
3520
- d1([
3521
- k(".menu__panel")
3522
- ], s1.prototype, "_panelEl");
3523
- 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 {
3524
3531
  constructor() {
3525
3532
  super(...arguments), this.icon = "", this.variant = "default", this.disabled = !1;
3526
3533
  }
3527
3534
  _onClick() {
3528
- this.dispatchEvent(new CustomEvent(w2, { bubbles: !0, composed: !0 }));
3535
+ this.dispatchEvent(new CustomEvent(E2, { bubbles: !0, composed: !0 }));
3529
3536
  }
3530
3537
  render() {
3531
3538
  return C`
@@ -3542,7 +3549,7 @@ const y5 = class y5 extends u {
3542
3549
  `;
3543
3550
  }
3544
3551
  };
3545
- y5.styles = g`
3552
+ w5.styles = g`
3546
3553
  :host { display: block; width: 100%; font-family: var(--font-sans); }
3547
3554
  .menu-item {
3548
3555
  display: flex;
@@ -3572,26 +3579,26 @@ y5.styles = g`
3572
3579
  anduin-icon { color: var(--color-gray-7); }
3573
3580
  .menu-item--danger anduin-icon { color: var(--color-danger-4); }
3574
3581
  `;
3575
- let V1 = y5;
3576
- d1([
3582
+ let V1 = w5;
3583
+ c1([
3577
3584
  a()
3578
3585
  ], V1.prototype, "icon");
3579
- d1([
3586
+ c1([
3580
3587
  a()
3581
3588
  ], V1.prototype, "variant");
3582
- d1([
3589
+ c1([
3583
3590
  a({ type: Boolean })
3584
3591
  ], V1.prototype, "disabled");
3585
- customElements.get("anduin-menu") || customElements.define("anduin-menu", s1);
3592
+ customElements.get("anduin-menu") || customElements.define("anduin-menu", C1);
3586
3593
  customElements.get("anduin-menu-item") || customElements.define("anduin-menu-item", V1);
3587
- var q3 = Object.defineProperty, c1 = (r, e, t, i) => {
3594
+ var e7 = Object.defineProperty, p1 = (r, e, t, i) => {
3588
3595
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
3589
3596
  (n = r[l]) && (o = n(e, t, o) || o);
3590
- return o && q3(e, t, o), o;
3597
+ return o && e7(e, t, o), o;
3591
3598
  };
3592
- 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;
3593
3600
  var Y;
3594
- const e1 = (Y = class extends u {
3601
+ const t1 = (Y = class extends u {
3595
3602
  constructor() {
3596
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) => {
3597
3604
  e.target !== this && e.stopPropagation();
@@ -3605,13 +3612,13 @@ const e1 = (Y = class extends u {
3605
3612
  e.has("open") && (this.open ? (this._leaving = !1, this.classList.add("is-shown")) : this.classList.contains("is-shown") && (this._leaving = !0, setTimeout(
3606
3613
  () => {
3607
3614
  this._leaving = !1, this.classList.remove("is-shown"), this.dispatchEvent(
3608
- new CustomEvent(W3, {
3615
+ new CustomEvent(t7, {
3609
3616
  bubbles: !0,
3610
3617
  composed: !0
3611
3618
  })
3612
3619
  );
3613
3620
  },
3614
- Math.max(h2, o4)
3621
+ Math.max(H2, C4)
3615
3622
  )));
3616
3623
  }
3617
3624
  dispatch(e) {
@@ -3620,16 +3627,16 @@ const e1 = (Y = class extends u {
3620
3627
  );
3621
3628
  }
3622
3629
  onOverlayClick() {
3623
- this.dispatch(_1);
3630
+ this.dispatch(R1);
3624
3631
  }
3625
3632
  onClose() {
3626
- this.dispatch(_1);
3633
+ this.dispatch(R1);
3627
3634
  }
3628
3635
  connectedCallback() {
3629
- super.connectedCallback(), this.addEventListener(_1, this.onAnduinClose);
3636
+ super.connectedCallback(), this.addEventListener(R1, this.onAnduinClose);
3630
3637
  }
3631
3638
  disconnectedCallback() {
3632
- super.disconnectedCallback(), this.removeEventListener(_1, this.onAnduinClose);
3639
+ super.disconnectedCallback(), this.removeEventListener(R1, this.onAnduinClose);
3633
3640
  }
3634
3641
  render() {
3635
3642
  const e = this._leaving, t = this.fullscreen;
@@ -3743,11 +3750,11 @@ const e1 = (Y = class extends u {
3743
3750
  inset: 0;
3744
3751
  background: rgba(50, 60, 77, 0.6);
3745
3752
  cursor: default;
3746
- animation: overlayIn ${u2}ms cubic-bezier(0.2, 0, 0, 1)
3753
+ animation: overlayIn ${f2}ms cubic-bezier(0.2, 0, 0, 1)
3747
3754
  forwards;
3748
3755
  }
3749
3756
  .overlay.is-leaving {
3750
- animation: overlayOut ${o4}ms
3757
+ animation: overlayOut ${C4}ms
3751
3758
  cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3752
3759
  }
3753
3760
  .modal-wrapper {
@@ -3773,11 +3780,11 @@ const e1 = (Y = class extends u {
3773
3780
  0 8px 24px 0 rgba(29, 41, 57, 0.12),
3774
3781
  0 2px 8px 0 rgba(29, 41, 57, 0.08);
3775
3782
  flex-shrink: 0;
3776
- 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)
3777
3784
  forwards;
3778
3785
  }
3779
3786
  .modal.is-leaving {
3780
- animation: modalOut ${h2}ms
3787
+ animation: modalOut ${H2}ms
3781
3788
  cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3782
3789
  }
3783
3790
  .modal-wrapper--fullscreen {
@@ -3807,11 +3814,11 @@ const e1 = (Y = class extends u {
3807
3814
  max-height: 100%;
3808
3815
  height: 100%;
3809
3816
  box-shadow: none;
3810
- animation: modalFullscreenIn ${u2}ms
3817
+ animation: modalFullscreenIn ${f2}ms
3811
3818
  cubic-bezier(0.05, 0.7, 0.1, 1) forwards;
3812
3819
  }
3813
3820
  .modal--fullscreen.is-leaving {
3814
- animation: modalFullscreenOut ${h2}ms
3821
+ animation: modalFullscreenOut ${H2}ms
3815
3822
  cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3816
3823
  }
3817
3824
  .header {
@@ -3864,34 +3871,34 @@ const e1 = (Y = class extends u {
3864
3871
  "960",
3865
3872
  "1160"
3866
3873
  ]), Y);
3867
- c1([
3874
+ p1([
3868
3875
  a({ type: Boolean, reflect: !0 })
3869
- ], e1.prototype, "open");
3870
- c1([
3876
+ ], t1.prototype, "open");
3877
+ p1([
3871
3878
  a()
3872
- ], e1.prototype, "heading");
3873
- c1([
3879
+ ], t1.prototype, "heading");
3880
+ p1([
3874
3881
  a({ type: Boolean, attribute: "hide-header" })
3875
- ], e1.prototype, "hideHeader");
3876
- c1([
3882
+ ], t1.prototype, "hideHeader");
3883
+ p1([
3877
3884
  a({ type: Boolean, attribute: "hide-footer" })
3878
- ], e1.prototype, "hideFooter");
3879
- c1([
3885
+ ], t1.prototype, "hideFooter");
3886
+ p1([
3880
3887
  a({ attribute: "max-width" })
3881
- ], e1.prototype, "maxWidth");
3882
- c1([
3888
+ ], t1.prototype, "maxWidth");
3889
+ p1([
3883
3890
  a({ type: Boolean })
3884
- ], e1.prototype, "fullscreen");
3885
- c1([
3886
- m()
3887
- ], e1.prototype, "_leaving");
3888
- let Y3 = e1;
3889
- customElements.get("anduin-modal") || customElements.define("anduin-modal", Y3);
3890
- 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 {
3891
3898
  constructor() {
3892
3899
  super(...arguments), this._onClick = () => {
3893
3900
  this.dispatchEvent(
3894
- new CustomEvent(_1, { bubbles: !0, composed: !0 })
3901
+ new CustomEvent(R1, { bubbles: !0, composed: !0 })
3895
3902
  );
3896
3903
  };
3897
3904
  }
@@ -3902,26 +3909,26 @@ class X3 extends HTMLElement {
3902
3909
  this.removeEventListener("click", this._onClick);
3903
3910
  }
3904
3911
  }
3905
- customElements.get("anduin-modal-close") || customElements.define("anduin-modal-close", X3);
3906
- 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) => {
3907
3914
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
3908
3915
  (n = r[l]) && (o = n(e, t, o) || o);
3909
- return o && K3(e, t, o), o;
3916
+ return o && l7(e, t, o), o;
3910
3917
  };
3911
- 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 {
3912
3919
  constructor() {
3913
3920
  super(...arguments), this.checked = !1, this.disabled = !1, this.readonly = !1, this.value = "", this.name = "", this.inputid = "";
3914
3921
  }
3915
3922
  connectedCallback() {
3916
3923
  super.connectedCallback();
3917
3924
  const e = this.closest("anduin-field");
3918
- e && e.addEventListener(M1, (t) => {
3925
+ e && e.addEventListener(Z1, (t) => {
3919
3926
  const i = t;
3920
3927
  this.inputid && this.inputid === i.detail && !this.disabled && !this.readonly && this._select();
3921
3928
  });
3922
3929
  }
3923
3930
  _select() {
3924
- this.checked || (this.checked = !0, this.dispatchEvent(new CustomEvent(R2, {
3931
+ this.checked || (this.checked = !0, this.dispatchEvent(new CustomEvent(z2, {
3925
3932
  detail: this.value,
3926
3933
  bubbles: !0,
3927
3934
  composed: !0
@@ -3962,7 +3969,7 @@ const R2 = "anduin-radio:change", J3 = "anduin-radio-group:change", M5 = class M
3962
3969
  `;
3963
3970
  }
3964
3971
  };
3965
- M5.styles = g`
3972
+ R5.styles = g`
3966
3973
  :host { display: inline-flex; font-family: var(--font-sans); }
3967
3974
 
3968
3975
  label {
@@ -4033,7 +4040,7 @@ M5.styles = g`
4033
4040
  transform: scale(1);
4034
4041
  }
4035
4042
  `;
4036
- let N = M5;
4043
+ let N = R5;
4037
4044
  U([
4038
4045
  a({ type: Boolean })
4039
4046
  ], N.prototype, "checked");
@@ -4053,14 +4060,14 @@ U([
4053
4060
  a()
4054
4061
  ], N.prototype, "inputid");
4055
4062
  customElements.get("anduin-radio") || customElements.define("anduin-radio", N);
4056
- const Z5 = class Z5 extends u {
4063
+ const k5 = class k5 extends u {
4057
4064
  constructor() {
4058
4065
  super(...arguments), this.value = "", this.name = "", this.orientation = "vertical", this._onRadioChange = (e) => {
4059
4066
  const i = e.detail;
4060
4067
  i !== this.value && (this.value = i, this.querySelectorAll("anduin-radio").forEach((o) => {
4061
4068
  const l = o;
4062
4069
  l.checked = l.value === i;
4063
- }), this.dispatchEvent(new CustomEvent(J3, {
4070
+ }), this.dispatchEvent(new CustomEvent(r7, {
4064
4071
  detail: i,
4065
4072
  bubbles: !0,
4066
4073
  composed: !0
@@ -4068,10 +4075,10 @@ const Z5 = class Z5 extends u {
4068
4075
  };
4069
4076
  }
4070
4077
  connectedCallback() {
4071
- super.connectedCallback(), this.addEventListener(R2, this._onRadioChange);
4078
+ super.connectedCallback(), this.addEventListener(z2, this._onRadioChange);
4072
4079
  }
4073
4080
  disconnectedCallback() {
4074
- super.disconnectedCallback(), this.removeEventListener(R2, this._onRadioChange);
4081
+ super.disconnectedCallback(), this.removeEventListener(z2, this._onRadioChange);
4075
4082
  }
4076
4083
  render() {
4077
4084
  return C`
@@ -4081,7 +4088,7 @@ const Z5 = class Z5 extends u {
4081
4088
  `;
4082
4089
  }
4083
4090
  };
4084
- Z5.styles = g`
4091
+ k5.styles = g`
4085
4092
  :host { display: block; font-family: var(--font-sans); }
4086
4093
 
4087
4094
  .group {
@@ -4091,23 +4098,23 @@ Z5.styles = g`
4091
4098
  .group--vertical { flex-direction: column; }
4092
4099
  .group--horizontal { flex-direction: row; flex-wrap: wrap; align-items: center; }
4093
4100
  `;
4094
- let m1 = Z5;
4101
+ let b1 = k5;
4095
4102
  U([
4096
4103
  a()
4097
- ], m1.prototype, "value");
4104
+ ], b1.prototype, "value");
4098
4105
  U([
4099
4106
  a()
4100
- ], m1.prototype, "name");
4107
+ ], b1.prototype, "name");
4101
4108
  U([
4102
4109
  a()
4103
- ], m1.prototype, "orientation");
4104
- customElements.get("anduin-radio-group") || customElements.define("anduin-radio-group", m1);
4105
- 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) => {
4106
4113
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
4107
4114
  (n = r[l]) && (o = n(e, t, o) || o);
4108
- return o && Q3(e, t, o), o;
4115
+ return o && n7(e, t, o), o;
4109
4116
  };
4110
- const i4 = [
4117
+ const d4 = [
4111
4118
  { bg: "#6172F3", text: "#ffffff" },
4112
4119
  { bg: "#B692F6", text: "#ffffff" },
4113
4120
  { bg: "#F670C7", text: "#ffffff" },
@@ -4117,17 +4124,17 @@ const i4 = [
4117
4124
  { bg: "#F97066", text: "#ffffff" },
4118
4125
  { bg: "#7A5AF8", text: "#ffffff" }
4119
4126
  ];
4120
- function e7(r) {
4127
+ function a7(r) {
4121
4128
  let e = 0;
4122
4129
  for (let t = 0; t < r.length; t++) e = e * 31 + r.charCodeAt(t) >>> 0;
4123
- return i4[e % i4.length];
4130
+ return d4[e % d4.length];
4124
4131
  }
4125
- function t7(r) {
4132
+ function s7(r) {
4126
4133
  var t;
4127
4134
  const e = r.trim().split(/\s+/);
4128
4135
  return e.length === 1 ? ((t = e[0][0]) == null ? void 0 : t.toUpperCase()) ?? "" : ((e[0][0] ?? "") + (e[e.length - 1][0] ?? "")).toUpperCase();
4129
4136
  }
4130
- const _5 = class _5 extends u {
4137
+ const $5 = class $5 extends u {
4131
4138
  constructor() {
4132
4139
  super(...arguments), this.src = "", this.name = "", this.alt = "", this.icon = "", this.size = 32, this.shape = "circle", this._imgError = !1;
4133
4140
  }
@@ -4138,7 +4145,7 @@ const _5 = class _5 extends u {
4138
4145
  return this.size <= 16 ? 10 : this.size <= 20 ? 12 : this.size <= 24 ? 14 : 18;
4139
4146
  }
4140
4147
  render() {
4141
- 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) : "";
4142
4149
  return C`
4143
4150
  <div
4144
4151
  class="avatar avatar--${this.shape} avatar--${this.size}"
@@ -4156,7 +4163,7 @@ const _5 = class _5 extends u {
4156
4163
  `;
4157
4164
  }
4158
4165
  };
4159
- _5.styles = g`
4166
+ $5.styles = g`
4160
4167
  :host { display: inline-flex; }
4161
4168
 
4162
4169
  .avatar {
@@ -4185,27 +4192,27 @@ _5.styles = g`
4185
4192
  display: block;
4186
4193
  }
4187
4194
  `;
4188
- let O = _5;
4189
- p1([
4195
+ let O = $5;
4196
+ u1([
4190
4197
  a()
4191
4198
  ], O.prototype, "src");
4192
- p1([
4199
+ u1([
4193
4200
  a({ reflect: !0 })
4194
4201
  ], O.prototype, "name");
4195
- p1([
4202
+ u1([
4196
4203
  a()
4197
4204
  ], O.prototype, "alt");
4198
- p1([
4205
+ u1([
4199
4206
  a()
4200
4207
  ], O.prototype, "icon");
4201
- p1([
4208
+ u1([
4202
4209
  a({ type: Number })
4203
4210
  ], O.prototype, "size");
4204
- p1([
4211
+ u1([
4205
4212
  a()
4206
4213
  ], O.prototype, "shape");
4207
- p1([
4208
- m()
4214
+ u1([
4215
+ V()
4209
4216
  ], O.prototype, "_imgError");
4210
4217
  customElements.get("anduin-avatar") || customElements.define("anduin-avatar", O);
4211
4218
  /**
@@ -4213,8 +4220,8 @@ customElements.get("anduin-avatar") || customElements.define("anduin-avatar", O)
4213
4220
  * Copyright 2017 Google LLC
4214
4221
  * SPDX-License-Identifier: BSD-3-Clause
4215
4222
  */
4216
- const o7 = { CHILD: 2 }, i7 = (r) => (...e) => ({ _$litDirective$: r, values: e });
4217
- class l7 {
4223
+ const C7 = { CHILD: 2 }, d7 = (r) => (...e) => ({ _$litDirective$: r, values: e });
4224
+ class c7 {
4218
4225
  constructor(e) {
4219
4226
  }
4220
4227
  get _$AU() {
@@ -4235,13 +4242,13 @@ class l7 {
4235
4242
  * Copyright 2017 Google LLC
4236
4243
  * SPDX-License-Identifier: BSD-3-Clause
4237
4244
  */
4238
- class k2 extends l7 {
4245
+ class A2 extends c7 {
4239
4246
  constructor(e) {
4240
- 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");
4241
4248
  }
4242
4249
  render(e) {
4243
4250
  if (e === c || e == null) return this._t = void 0, this.it = e;
4244
- if (e === a1) return e;
4251
+ if (e === s1) return e;
4245
4252
  if (typeof e != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
4246
4253
  if (e === this.it) return this._t;
4247
4254
  this.it = e;
@@ -4249,16 +4256,16 @@ class k2 extends l7 {
4249
4256
  return t.raw = t, this._t = { _$litType$: this.constructor.resultType, strings: t, values: [] };
4250
4257
  }
4251
4258
  }
4252
- k2.directiveName = "unsafeHTML", k2.resultType = 1;
4259
+ A2.directiveName = "unsafeHTML", A2.resultType = 1;
4253
4260
  /**
4254
4261
  * @license
4255
4262
  * Copyright 2017 Google LLC
4256
4263
  * SPDX-License-Identifier: BSD-3-Clause
4257
4264
  */
4258
- class $2 extends k2 {
4265
+ class B2 extends A2 {
4259
4266
  }
4260
- $2.directiveName = "unsafeSVG", $2.resultType = 2;
4261
- const r7 = i7($2), n7 = {
4267
+ B2.directiveName = "unsafeSVG", B2.resultType = 2;
4268
+ const p7 = d7(B2), u7 = {
4262
4269
  archive: {
4263
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"/>
4264
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"/>
@@ -4502,26 +4509,26 @@ const r7 = i7($2), n7 = {
4502
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"/>
4503
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"/>` }
4504
4511
  }
4505
- }, a7 = [32, 24, 16];
4506
- function s7(r, e) {
4507
- const t = n7[r];
4512
+ }, h7 = [32, 24, 16];
4513
+ function g7(r, e) {
4514
+ const t = u7[r];
4508
4515
  if (!t) return null;
4509
4516
  if (t[e]) return t[e];
4510
- for (const i of a7)
4517
+ for (const i of h7)
4511
4518
  if (t[i]) return t[i];
4512
4519
  return null;
4513
4520
  }
4514
- var C7 = Object.defineProperty, E4 = (r, e, t, i) => {
4521
+ var v7 = Object.defineProperty, O4 = (r, e, t, i) => {
4515
4522
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
4516
4523
  (n = r[l]) && (o = n(e, t, o) || o);
4517
- return o && C7(e, t, o), o;
4524
+ return o && v7(e, t, o), o;
4518
4525
  };
4519
- const x5 = class x5 extends u {
4526
+ const E5 = class E5 extends u {
4520
4527
  constructor() {
4521
4528
  super(...arguments), this.type = "pdf", this.size = 32;
4522
4529
  }
4523
4530
  render() {
4524
- const e = s7(this.type, this.size);
4531
+ const e = g7(this.type, this.size);
4525
4532
  return e ? C`
4526
4533
  <svg
4527
4534
  width=${this.size}
@@ -4532,35 +4539,35 @@ const x5 = class x5 extends u {
4532
4539
  aria-label="${this.type} file"
4533
4540
  role="img"
4534
4541
  >
4535
- ${r7(e.paths)}
4542
+ ${p7(e.paths)}
4536
4543
  </svg>
4537
4544
  ` : c;
4538
4545
  }
4539
4546
  };
4540
- x5.styles = g`
4547
+ E5.styles = g`
4541
4548
  :host { display: inline-flex; align-items: center; justify-content: center; }
4542
4549
  svg { display: block; }
4543
4550
  `;
4544
- let T1 = x5;
4545
- E4([
4551
+ let U1 = E5;
4552
+ O4([
4546
4553
  a()
4547
- ], T1.prototype, "type");
4548
- E4([
4554
+ ], U1.prototype, "type");
4555
+ O4([
4549
4556
  a({ type: Number })
4550
- ], T1.prototype, "size");
4551
- customElements.get("anduin-file-icon") || customElements.define("anduin-file-icon", T1);
4552
- 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) => {
4553
4560
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
4554
4561
  (n = r[l]) && (o = n(e, t, o) || o);
4555
- return o && d7(e, t, o), o;
4562
+ return o && f7(e, t, o), o;
4556
4563
  };
4557
- const l4 = {
4564
+ const c4 = {
4558
4565
  gray: "info",
4559
4566
  primary: "infoCircleLine",
4560
4567
  success: "checkCircle",
4561
4568
  warning: "warning",
4562
4569
  danger: "error"
4563
- }, c7 = "anduin-toast:dismiss", w5 = class w5 extends u {
4570
+ }, H7 = "anduin-toast:dismiss", z5 = class z5 extends u {
4564
4571
  constructor() {
4565
4572
  super(...arguments), this.variant = "gray", this.heading = "", this.description = "", this._dismissing = !1;
4566
4573
  }
@@ -4571,7 +4578,7 @@ const l4 = {
4571
4578
  const e = (i) => {
4572
4579
  var o;
4573
4580
  i.propertyName === "opacity" && ((o = this._toastEl) == null || o.removeEventListener("transitionend", e), this.dispatchEvent(
4574
- new CustomEvent(c7, { bubbles: !0, composed: !0 })
4581
+ new CustomEvent(H7, { bubbles: !0, composed: !0 })
4575
4582
  ));
4576
4583
  };
4577
4584
  (t = this._toastEl) == null || t.addEventListener("transitionend", e);
@@ -4580,7 +4587,7 @@ const l4 = {
4580
4587
  this.dismiss();
4581
4588
  }
4582
4589
  render() {
4583
- const e = l4[this.variant] ?? l4.gray;
4590
+ const e = c4[this.variant] ?? c4.gray;
4584
4591
  return C`
4585
4592
  <div
4586
4593
  class="toast toast--${this.variant} ${this._dismissing ? "toast--dismissing" : ""}"
@@ -4606,7 +4613,7 @@ const l4 = {
4606
4613
  `;
4607
4614
  }
4608
4615
  };
4609
- w5.styles = g`
4616
+ z5.styles = g`
4610
4617
  :host {
4611
4618
  display: block;
4612
4619
  font-family: var(--font-sans);
@@ -4734,24 +4741,24 @@ w5.styles = g`
4734
4741
  background: var(--color-gray-3, #d0d5dd);
4735
4742
  }
4736
4743
  `;
4737
- let K = w5;
4738
- u1([
4744
+ let K = z5;
4745
+ h1([
4739
4746
  a()
4740
4747
  ], K.prototype, "variant");
4741
- u1([
4748
+ h1([
4742
4749
  a()
4743
4750
  ], K.prototype, "heading");
4744
- u1([
4751
+ h1([
4745
4752
  a()
4746
4753
  ], K.prototype, "description");
4747
- u1([
4748
- m()
4754
+ h1([
4755
+ V()
4749
4756
  ], K.prototype, "_dismissing");
4750
- u1([
4751
- k(".toast")
4757
+ h1([
4758
+ R(".toast")
4752
4759
  ], K.prototype, "_toastEl");
4753
4760
  customElements.get("anduin-toast") || customElements.define("anduin-toast", K);
4754
- const R5 = class R5 extends u {
4761
+ const A5 = class A5 extends u {
4755
4762
  constructor() {
4756
4763
  super(...arguments), this.position = "bottom-left", this._toasts = [], this._nextId = 0;
4757
4764
  }
@@ -4795,7 +4802,7 @@ const R5 = class R5 extends u {
4795
4802
  `;
4796
4803
  }
4797
4804
  };
4798
- R5.styles = g`
4805
+ A5.styles = g`
4799
4806
  :host {
4800
4807
  display: contents;
4801
4808
  pointer-events: none;
@@ -4842,17 +4849,17 @@ R5.styles = g`
4842
4849
  align-items: flex-end;
4843
4850
  }
4844
4851
  `;
4845
- let N1 = R5;
4846
- u1([
4852
+ let G1 = A5;
4853
+ h1([
4847
4854
  a()
4848
- ], N1.prototype, "position");
4849
- u1([
4850
- m()
4851
- ], N1.prototype, "_toasts");
4852
- customElements.get("anduin-toaster") || customElements.define("anduin-toaster", N1);
4853
- 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 = {
4854
4861
  show(r) {
4855
- return p7(r.position).show(r);
4862
+ return m7(r.position).show(r);
4856
4863
  },
4857
4864
  success(r, e, t) {
4858
4865
  return this.show({ ...t, variant: "success", heading: r, description: e });
@@ -4869,23 +4876,23 @@ const $7 = {
4869
4876
  gray(r, e, t) {
4870
4877
  return this.show({ ...t, variant: "gray", heading: r, description: e });
4871
4878
  }
4872
- }, g2 = /* @__PURE__ */ new Map();
4873
- function p7(r = "bottom-left") {
4874
- 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);
4875
4882
  const e = document.createElement("anduin-toaster");
4876
- 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;
4877
4884
  }
4878
- var u7 = Object.defineProperty, z4 = (r, e, t, i) => {
4885
+ var V7 = Object.defineProperty, I4 = (r, e, t, i) => {
4879
4886
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
4880
4887
  (n = r[l]) && (o = n(e, t, o) || o);
4881
- return o && u7(e, t, o), o;
4888
+ return o && V7(e, t, o), o;
4882
4889
  };
4883
- const h7 = "anduin-switcher:change", k5 = class k5 extends u {
4890
+ const b7 = "anduin-switcher:change", B5 = class B5 extends u {
4884
4891
  constructor() {
4885
4892
  super(...arguments), this.checked = !1, this.disabled = !1;
4886
4893
  }
4887
4894
  onChange() {
4888
- this.checked = !this.checked, this.dispatchEvent(new CustomEvent(h7, {
4895
+ this.checked = !this.checked, this.dispatchEvent(new CustomEvent(b7, {
4889
4896
  detail: this.checked,
4890
4897
  bubbles: !0,
4891
4898
  composed: !0
@@ -4909,7 +4916,7 @@ const h7 = "anduin-switcher:change", k5 = class k5 extends u {
4909
4916
  `;
4910
4917
  }
4911
4918
  };
4912
- k5.styles = g`
4919
+ B5.styles = g`
4913
4920
  :host { display: inline-flex; font-family: var(--font-sans); }
4914
4921
 
4915
4922
  label {
@@ -4973,20 +4980,20 @@ k5.styles = g`
4973
4980
  line-height: 20px;
4974
4981
  }
4975
4982
  `;
4976
- let j1 = k5;
4977
- z4([
4983
+ let q1 = B5;
4984
+ I4([
4978
4985
  a({ type: Boolean })
4979
- ], j1.prototype, "checked");
4980
- z4([
4986
+ ], q1.prototype, "checked");
4987
+ I4([
4981
4988
  a({ type: Boolean })
4982
- ], j1.prototype, "disabled");
4983
- customElements.get("anduin-switcher") || customElements.define("anduin-switcher", j1);
4984
- 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) => {
4985
4992
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
4986
4993
  (n = r[l]) && (o = n(e, t, o) || o);
4987
- return o && g7(e, t, o), o;
4994
+ return o && L7(e, t, o), o;
4988
4995
  };
4989
- const r4 = "anduin-dropdown:change", $5 = class $5 extends u {
4996
+ const p4 = "anduin-dropdown:change", P5 = class P5 extends u {
4990
4997
  constructor() {
4991
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) => {
4992
4999
  var t;
@@ -5018,14 +5025,14 @@ const r4 = "anduin-dropdown:change", $5 = class $5 extends u {
5018
5025
  e.key === "Escape" && (this._open = !1, this._query = "", (t = this._triggerEl) == null || t.focus());
5019
5026
  }
5020
5027
  _onClear(e) {
5021
- e.stopPropagation(), this.value = "", this.dispatchEvent(new CustomEvent(r4, {
5028
+ e.stopPropagation(), this.value = "", this.dispatchEvent(new CustomEvent(p4, {
5022
5029
  detail: "",
5023
5030
  bubbles: !0,
5024
5031
  composed: !0
5025
5032
  }));
5026
5033
  }
5027
5034
  _selectOption(e) {
5028
- 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, {
5029
5036
  detail: e.value,
5030
5037
  bubbles: !0,
5031
5038
  composed: !0
@@ -5043,8 +5050,8 @@ const r4 = "anduin-dropdown:change", $5 = class $5 extends u {
5043
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;
5044
5051
  let x = i.left;
5045
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));
5046
- const D = Math.max(v, Math.min(G, h - s.height - v));
5047
- 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)`;
5048
5055
  }
5049
5056
  get _filteredOptions() {
5050
5057
  if (!this._query) return this.options;
@@ -5111,7 +5118,7 @@ const r4 = "anduin-dropdown:change", $5 = class $5 extends u {
5111
5118
  `;
5112
5119
  }
5113
5120
  };
5114
- $5.styles = g`
5121
+ P5.styles = g`
5115
5122
  :host { display: inline-block; font-family: var(--font-sans); }
5116
5123
  :host([full-width]) { display: block; width: 100%; }
5117
5124
  :host([full-width]) .trigger { width: 100%; }
@@ -5291,7 +5298,7 @@ $5.styles = g`
5291
5298
  text-align: center;
5292
5299
  }
5293
5300
  `;
5294
- let b = $5;
5301
+ let b = P5;
5295
5302
  M([
5296
5303
  a()
5297
5304
  ], b.prototype, "value");
@@ -5326,32 +5333,32 @@ M([
5326
5333
  a({ type: Boolean, attribute: "full-width", reflect: !0 })
5327
5334
  ], b.prototype, "fullWidth");
5328
5335
  M([
5329
- m()
5336
+ V()
5330
5337
  ], b.prototype, "_open");
5331
5338
  M([
5332
- m()
5339
+ V()
5333
5340
  ], b.prototype, "_query");
5334
5341
  M([
5335
- k(".trigger")
5342
+ R(".trigger")
5336
5343
  ], b.prototype, "_triggerEl");
5337
5344
  M([
5338
- k(".panel")
5345
+ R(".panel")
5339
5346
  ], b.prototype, "_panelEl");
5340
5347
  M([
5341
- k("anduin-input")
5348
+ R("anduin-input")
5342
5349
  ], b.prototype, "_searchEl");
5343
5350
  customElements.get("anduin-dropdown") || customElements.define("anduin-dropdown", b);
5344
- var v7 = Object.defineProperty, t1 = (r, e, t, i) => {
5351
+ var y7 = Object.defineProperty, o1 = (r, e, t, i) => {
5345
5352
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
5346
5353
  (n = r[l]) && (o = n(e, t, o) || o);
5347
- return o && v7(e, t, o), o;
5354
+ return o && y7(e, t, o), o;
5348
5355
  };
5349
- 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([
5350
5357
  ["320", 320],
5351
5358
  ["360", 360],
5352
5359
  ["400", 400],
5353
5360
  ["640", 640]
5354
- ]), E5 = class E5 extends u {
5361
+ ]), S5 = class S5 extends u {
5355
5362
  constructor() {
5356
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) => {
5357
5364
  this._resizing = !0, this._startX = e.clientX, this._startWidth = this._width, e.currentTarget.setPointerCapture(e.pointerId), e.preventDefault();
@@ -5370,17 +5377,17 @@ const E2 = "anduin-close", f7 = "anduin-after-close", H7 = 300, n4 = 250, V7 = /
5370
5377
  };
5371
5378
  }
5372
5379
  willUpdate(e) {
5373
- 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));
5374
5381
  }
5375
5382
  updated(e) {
5376
5383
  e.has("open") && (this.open ? (this._leaving = !1, this.classList.add("is-shown")) : this.classList.contains("is-shown") && (this._leaving = !0, setTimeout(() => {
5377
5384
  this._leaving = !1, this.classList.remove("is-shown"), this.dispatchEvent(
5378
- new CustomEvent(f7, {
5385
+ new CustomEvent(M7, {
5379
5386
  bubbles: !0,
5380
5387
  composed: !0
5381
5388
  })
5382
5389
  );
5383
- }, n4)));
5390
+ }, u4)));
5384
5391
  }
5385
5392
  _dispatch(e) {
5386
5393
  this.dispatchEvent(
@@ -5388,10 +5395,10 @@ const E2 = "anduin-close", f7 = "anduin-after-close", H7 = 300, n4 = 250, V7 = /
5388
5395
  );
5389
5396
  }
5390
5397
  _onClose() {
5391
- this._dispatch(E2);
5398
+ this._dispatch(P2);
5392
5399
  }
5393
5400
  _onBackdropClick() {
5394
- this._dispatch(E2);
5401
+ this._dispatch(P2);
5395
5402
  }
5396
5403
  render() {
5397
5404
  const e = this._leaving;
@@ -5434,7 +5441,7 @@ const E2 = "anduin-close", f7 = "anduin-after-close", H7 = 300, n4 = 250, V7 = /
5434
5441
  `;
5435
5442
  }
5436
5443
  };
5437
- E5.styles = g`
5444
+ S5.styles = g`
5438
5445
  :host {
5439
5446
  display: none;
5440
5447
  font-family: var(--font-sans);
@@ -5481,14 +5488,14 @@ E5.styles = g`
5481
5488
  box-shadow:
5482
5489
  -8px 0 24px 0 rgba(29, 41, 57, 0.12),
5483
5490
  -2px 0 8px 0 rgba(29, 41, 57, 0.08);
5484
- 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)
5485
5492
  forwards;
5486
5493
  min-width: 200px;
5487
5494
  max-width: 90vw;
5488
5495
  pointer-events: auto;
5489
5496
  }
5490
5497
  .drawer.is-leaving {
5491
- animation: drawerOut ${n4}ms
5498
+ animation: drawerOut ${u4}ms
5492
5499
  cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
5493
5500
  }
5494
5501
  @media (max-width: 640px) {
@@ -5552,37 +5559,37 @@ E5.styles = g`
5552
5559
  border-top: 1px solid var(--color-gray-3, #e4e7ec);
5553
5560
  }
5554
5561
  `;
5555
- let z = E5;
5556
- t1([
5562
+ let z = S5;
5563
+ o1([
5557
5564
  a({ type: Boolean, reflect: !0 })
5558
5565
  ], z.prototype, "open");
5559
- t1([
5566
+ o1([
5560
5567
  a()
5561
5568
  ], z.prototype, "heading");
5562
- t1([
5569
+ o1([
5563
5570
  a({ type: Boolean, attribute: "hide-header" })
5564
5571
  ], z.prototype, "hideHeader");
5565
- t1([
5572
+ o1([
5566
5573
  a({ type: Boolean, attribute: "hide-footer" })
5567
5574
  ], z.prototype, "hideFooter");
5568
- t1([
5575
+ o1([
5569
5576
  a({ attribute: "default-width" })
5570
5577
  ], z.prototype, "defaultWidth");
5571
- t1([
5578
+ o1([
5572
5579
  a({ type: Boolean, attribute: "allow-interact-outside" })
5573
5580
  ], z.prototype, "allowInteractOutside");
5574
- t1([
5575
- m()
5581
+ o1([
5582
+ V()
5576
5583
  ], z.prototype, "_leaving");
5577
- t1([
5578
- m()
5584
+ o1([
5585
+ V()
5579
5586
  ], z.prototype, "_width");
5580
5587
  customElements.get("anduin-drawer") || customElements.define("anduin-drawer", z);
5581
- class m7 extends HTMLElement {
5588
+ class x7 extends HTMLElement {
5582
5589
  constructor() {
5583
5590
  super(...arguments), this._onClick = () => {
5584
5591
  this.dispatchEvent(
5585
- new CustomEvent(E2, { bubbles: !0, composed: !0 })
5592
+ new CustomEvent(P2, { bubbles: !0, composed: !0 })
5586
5593
  );
5587
5594
  };
5588
5595
  }
@@ -5593,13 +5600,13 @@ class m7 extends HTMLElement {
5593
5600
  this.removeEventListener("click", this._onClick);
5594
5601
  }
5595
5602
  }
5596
- customElements.get("anduin-drawer-close") || customElements.define("anduin-drawer-close", m7);
5597
- var b7 = 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) => {
5598
5605
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
5599
5606
  (n = r[l]) && (o = n(e, t, o) || o);
5600
- return o && b7(e, t, o), o;
5607
+ return o && w7(e, t, o), o;
5601
5608
  };
5602
- const v2 = "anduin-suggestion:change", L7 = "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 {
5603
5610
  constructor() {
5604
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) => {
5605
5612
  var t;
@@ -5611,7 +5618,7 @@ const v2 = "anduin-suggestion:change", L7 = "anduin-suggestion:select", y7 = "an
5611
5618
  connectedCallback() {
5612
5619
  super.connectedCallback(), document.addEventListener("mousedown", this._onDocumentMouseDown), window.addEventListener("scroll", this._onScrollOrResize, { passive: !0, capture: !0 }), window.addEventListener("resize", this._onScrollOrResize);
5613
5620
  const e = this.closest("anduin-field");
5614
- e && e.addEventListener(M1, (t) => {
5621
+ e && e.addEventListener(Z1, (t) => {
5615
5622
  var o;
5616
5623
  const i = t;
5617
5624
  this.inputid && this.inputid === i.detail && ((o = this._inputEl) == null || o.focus());
@@ -5639,7 +5646,7 @@ const v2 = "anduin-suggestion:change", L7 = "anduin-suggestion:select", y7 = "an
5639
5646
  this._openPanel();
5640
5647
  }
5641
5648
  _onInput() {
5642
- 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, {
5643
5650
  detail: this.value,
5644
5651
  bubbles: !0,
5645
5652
  composed: !0
@@ -5672,11 +5679,11 @@ const v2 = "anduin-suggestion:change", L7 = "anduin-suggestion:select", y7 = "an
5672
5679
  }
5673
5680
  _selectSuggestion(e) {
5674
5681
  var t;
5675
- 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, {
5676
5683
  detail: this.value,
5677
5684
  bubbles: !0,
5678
5685
  composed: !0
5679
- })), this.dispatchEvent(new CustomEvent(L7, {
5686
+ })), this.dispatchEvent(new CustomEvent(R7, {
5680
5687
  detail: e,
5681
5688
  bubbles: !0,
5682
5689
  composed: !0
@@ -5684,11 +5691,11 @@ const v2 = "anduin-suggestion:change", L7 = "anduin-suggestion:select", y7 = "an
5684
5691
  }
5685
5692
  _onClear() {
5686
5693
  var e;
5687
- 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();
5688
5695
  }
5689
5696
  _updatePosition() {
5690
- var o1;
5691
- 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;
5692
5699
  if (!e || !t) return;
5693
5700
  const i = e.getBoundingClientRect(), o = t.style.transform;
5694
5701
  t.style.transform = "none";
@@ -5699,8 +5706,8 @@ const v2 = "anduin-suggestion:change", L7 = "anduin-suggestion:select", y7 = "an
5699
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;
5700
5707
  let x = i.left;
5701
5708
  x = Math.max(v, Math.min(x, p - s.width - v));
5702
- const D = Math.max(v, Math.min(G, h - s.height - v));
5703
- 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)`;
5704
5711
  }
5705
5712
  render() {
5706
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);
@@ -5772,7 +5779,7 @@ const v2 = "anduin-suggestion:change", L7 = "anduin-suggestion:select", y7 = "an
5772
5779
  `;
5773
5780
  }
5774
5781
  };
5775
- z5.styles = g`
5782
+ F5.styles = g`
5776
5783
  :host { display: block; font-family: var(--font-sans); position: relative; }
5777
5784
 
5778
5785
  .input-wrapper { position: relative; display: flex; align-items: center; }
@@ -5885,73 +5892,73 @@ z5.styles = g`
5885
5892
  text-align: center;
5886
5893
  }
5887
5894
  `;
5888
- let V = z5;
5895
+ let m = F5;
5889
5896
  y([
5890
5897
  a()
5891
- ], V.prototype, "value");
5898
+ ], m.prototype, "value");
5892
5899
  y([
5893
5900
  a()
5894
- ], V.prototype, "size");
5901
+ ], m.prototype, "size");
5895
5902
  y([
5896
5903
  a({ type: Boolean })
5897
- ], V.prototype, "disabled");
5904
+ ], m.prototype, "disabled");
5898
5905
  y([
5899
5906
  a({ type: Boolean })
5900
- ], V.prototype, "readonly");
5907
+ ], m.prototype, "readonly");
5901
5908
  y([
5902
5909
  a()
5903
- ], V.prototype, "placeholder");
5910
+ ], m.prototype, "placeholder");
5904
5911
  y([
5905
5912
  a()
5906
- ], V.prototype, "inputid");
5913
+ ], m.prototype, "inputid");
5907
5914
  y([
5908
5915
  a()
5909
- ], V.prototype, "status");
5916
+ ], m.prototype, "status");
5910
5917
  y([
5911
5918
  a({ attribute: "start-icon" })
5912
- ], V.prototype, "startIcon");
5919
+ ], m.prototype, "startIcon");
5913
5920
  y([
5914
5921
  a({ attribute: "end-icon" })
5915
- ], V.prototype, "endIcon");
5922
+ ], m.prototype, "endIcon");
5916
5923
  y([
5917
5924
  a({ type: Boolean })
5918
- ], V.prototype, "clearable");
5925
+ ], m.prototype, "clearable");
5919
5926
  y([
5920
5927
  a({ attribute: !1 })
5921
- ], V.prototype, "suggestions");
5928
+ ], m.prototype, "suggestions");
5922
5929
  y([
5923
5930
  a({ type: Boolean })
5924
- ], V.prototype, "filter");
5931
+ ], m.prototype, "filter");
5925
5932
  y([
5926
5933
  a({ type: Boolean, attribute: "hide-when-empty" })
5927
- ], V.prototype, "hideWhenEmpty");
5934
+ ], m.prototype, "hideWhenEmpty");
5928
5935
  y([
5929
5936
  a({ attribute: "empty-text" })
5930
- ], V.prototype, "emptyText");
5937
+ ], m.prototype, "emptyText");
5931
5938
  y([
5932
- m()
5933
- ], V.prototype, "_open");
5939
+ V()
5940
+ ], m.prototype, "_open");
5934
5941
  y([
5935
- m()
5936
- ], V.prototype, "_activeIndex");
5942
+ V()
5943
+ ], m.prototype, "_activeIndex");
5937
5944
  y([
5938
- k("input")
5939
- ], V.prototype, "_inputEl");
5945
+ R("input")
5946
+ ], m.prototype, "_inputEl");
5940
5947
  y([
5941
- k(".panel")
5942
- ], V.prototype, "_panelEl");
5943
- customElements.get("anduin-suggestion") || customElements.define("anduin-suggestion", V);
5944
- 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) => {
5945
5952
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
5946
5953
  (n = r[l]) && (o = n(e, t, o) || o);
5947
- return o && M7(e, t, o), o;
5954
+ return o && $7(e, t, o), o;
5948
5955
  };
5949
- 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 {
5950
5957
  constructor() {
5951
5958
  super(...arguments), this.defaultValue = "", this.value = null, this.theme = "light", this.alignment = "left", this.internalValue = "", this.onItemClick = (e) => {
5952
5959
  e.stopPropagation();
5953
5960
  const i = e.detail;
5954
- i !== this.selection && (this.dispatchEvent(new CustomEvent(Z7, {
5961
+ i !== this.selection && (this.dispatchEvent(new CustomEvent(E7, {
5955
5962
  detail: i,
5956
5963
  bubbles: !0,
5957
5964
  composed: !0
@@ -5965,10 +5972,10 @@ const Z7 = "anduin-navigation:change", z2 = "anduin-navigation-item:item-click",
5965
5972
  return this.isControlled ? this.value : this.internalValue;
5966
5973
  }
5967
5974
  connectedCallback() {
5968
- 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);
5969
5976
  }
5970
5977
  disconnectedCallback() {
5971
- super.disconnectedCallback(), this.removeEventListener(z2, this.onItemClick);
5978
+ super.disconnectedCallback(), this.removeEventListener(S2, this.onItemClick);
5972
5979
  }
5973
5980
  updated() {
5974
5981
  this.syncItems();
@@ -5989,7 +5996,7 @@ const Z7 = "anduin-navigation:change", z2 = "anduin-navigation-item:item-click",
5989
5996
  `;
5990
5997
  }
5991
5998
  };
5992
- A5.styles = g`
5999
+ O5.styles = g`
5993
6000
  :host {
5994
6001
  display: block;
5995
6002
  font-family: var(--font-sans);
@@ -6032,7 +6039,7 @@ A5.styles = g`
6032
6039
  .navigation--center { justify-content: center; }
6033
6040
  .navigation--right { justify-content: flex-end; }
6034
6041
  `;
6035
- let J = A5;
6042
+ let J = O5;
6036
6043
  B([
6037
6044
  a({ attribute: "default-value" })
6038
6045
  ], J.prototype, "defaultValue");
@@ -6046,9 +6053,9 @@ B([
6046
6053
  a()
6047
6054
  ], J.prototype, "alignment");
6048
6055
  B([
6049
- m()
6056
+ V()
6050
6057
  ], J.prototype, "internalValue");
6051
- const B5 = class B5 extends u {
6058
+ const I5 = class I5 extends u {
6052
6059
  constructor() {
6053
6060
  super(...arguments), this.value = "", this.startIcon = "", this.href = "", this.disabled = !1, this.selected = !1, this.theme = "light";
6054
6061
  }
@@ -6057,7 +6064,7 @@ const B5 = class B5 extends u {
6057
6064
  e.preventDefault();
6058
6065
  return;
6059
6066
  }
6060
- this.dispatchEvent(new CustomEvent(z2, {
6067
+ this.dispatchEvent(new CustomEvent(S2, {
6061
6068
  detail: this.value,
6062
6069
  bubbles: !0,
6063
6070
  composed: !0
@@ -6095,7 +6102,7 @@ const B5 = class B5 extends u {
6095
6102
  `;
6096
6103
  }
6097
6104
  };
6098
- B5.styles = g`
6105
+ I5.styles = g`
6099
6106
  :host { display: inline-block; font-family: var(--font-sans); }
6100
6107
  .nav-item {
6101
6108
  box-sizing: border-box;
@@ -6140,7 +6147,7 @@ B5.styles = g`
6140
6147
  }
6141
6148
  .nav-item__icon { display: flex; }
6142
6149
  `;
6143
- let j = B5;
6150
+ let j = I5;
6144
6151
  B([
6145
6152
  a()
6146
6153
  ], j.prototype, "value");
@@ -6161,19 +6168,19 @@ B([
6161
6168
  ], j.prototype, "theme");
6162
6169
  customElements.get("anduin-navigation") || customElements.define("anduin-navigation", J);
6163
6170
  customElements.get("anduin-navigation-item") || customElements.define("anduin-navigation-item", j);
6164
- var _7 = Object.defineProperty, h1 = (r, e, t, i) => {
6171
+ var z7 = Object.defineProperty, g1 = (r, e, t, i) => {
6165
6172
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
6166
6173
  (n = r[l]) && (o = n(e, t, o) || o);
6167
- return o && _7(e, t, o), o;
6174
+ return o && z7(e, t, o), o;
6168
6175
  };
6169
- const x7 = "anduin-resizable:resize", A4 = "anduin-resizable-panel", a4 = (r) => !!r && r.tagName.toLowerCase() === A4;
6170
- 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) {
6171
6178
  const i = (r || "").trim();
6172
6179
  if (!i) return t;
6173
6180
  const o = parseFloat(i);
6174
6181
  return Number.isNaN(o) ? t : i.endsWith("%") ? o / 100 * e : o;
6175
6182
  }
6176
- const P5 = class P5 extends u {
6183
+ const D5 = class D5 extends u {
6177
6184
  constructor() {
6178
6185
  super(...arguments), this.orientation = "horizontal";
6179
6186
  }
@@ -6189,7 +6196,7 @@ const P5 = class P5 extends u {
6189
6196
  return this.isVertical ? e.height : e.width;
6190
6197
  }
6191
6198
  get panels() {
6192
- return Array.from(this.querySelectorAll(`:scope > ${A4}`));
6199
+ return Array.from(this.querySelectorAll(`:scope > ${D4}`));
6193
6200
  }
6194
6201
  updated() {
6195
6202
  for (const e of this.querySelectorAll(":scope > anduin-resizable-handle"))
@@ -6214,7 +6221,7 @@ const P5 = class P5 extends u {
6214
6221
  `;
6215
6222
  }
6216
6223
  };
6217
- P5.styles = g`
6224
+ D5.styles = g`
6218
6225
  :host { display: block; width: 100%; height: 100%; font-family: var(--font-sans); }
6219
6226
  .panel-group {
6220
6227
  display: flex; flex-direction: row;
@@ -6222,11 +6229,11 @@ P5.styles = g`
6222
6229
  }
6223
6230
  .panel-group--vertical { flex-direction: column; }
6224
6231
  `;
6225
- let r2 = P5;
6226
- h1([
6232
+ let C2 = D5;
6233
+ g1([
6227
6234
  a({ reflect: !0 })
6228
- ], r2.prototype, "orientation");
6229
- const S5 = class S5 extends u {
6235
+ ], C2.prototype, "orientation");
6236
+ const T5 = class T5 extends u {
6230
6237
  constructor() {
6231
6238
  super(...arguments), this.defaultSize = "", this.minSize = "", this.maxSize = "", this.applied = !1;
6232
6239
  }
@@ -6249,30 +6256,30 @@ const S5 = class S5 extends u {
6249
6256
  return e ? t.height : t.width;
6250
6257
  }
6251
6258
  minPx(e) {
6252
- return s4(this.minSize, e, 0);
6259
+ return g4(this.minSize, e, 0);
6253
6260
  }
6254
6261
  maxPx(e) {
6255
- return s4(this.maxSize, e, e);
6262
+ return g4(this.maxSize, e, e);
6256
6263
  }
6257
6264
  render() {
6258
6265
  return C`<div class="panel" part="panel"><slot></slot></div>`;
6259
6266
  }
6260
6267
  };
6261
- S5.styles = g`
6268
+ T5.styles = g`
6262
6269
  :host { display: block; flex: 1 1 0; min-width: 0; min-height: 0; overflow: hidden; font-family: var(--font-sans); }
6263
6270
  .panel { width: 100%; height: 100%; overflow: hidden; }
6264
6271
  `;
6265
- let b1 = S5;
6266
- h1([
6272
+ let L1 = T5;
6273
+ g1([
6267
6274
  a({ attribute: "default-size" })
6268
- ], b1.prototype, "defaultSize");
6269
- h1([
6275
+ ], L1.prototype, "defaultSize");
6276
+ g1([
6270
6277
  a({ attribute: "min-size" })
6271
- ], b1.prototype, "minSize");
6272
- h1([
6278
+ ], L1.prototype, "minSize");
6279
+ g1([
6273
6280
  a({ attribute: "max-size" })
6274
- ], b1.prototype, "maxSize");
6275
- const F5 = class F5 extends u {
6281
+ ], L1.prototype, "maxSize");
6282
+ const N5 = class N5 extends u {
6276
6283
  constructor() {
6277
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) => {
6278
6285
  const t = this.closest("anduin-resizable-panel-group"), i = this.prevPanel, o = this.nextPanel;
@@ -6318,10 +6325,10 @@ const F5 = class F5 extends u {
6318
6325
  this.groupVertical = e, this.setAttribute("aria-orientation", e ? "horizontal" : "vertical");
6319
6326
  }
6320
6327
  get prevPanel() {
6321
- return a4(this.previousElementSibling) ? this.previousElementSibling : null;
6328
+ return h4(this.previousElementSibling) ? this.previousElementSibling : null;
6322
6329
  }
6323
6330
  get nextPanel() {
6324
- return a4(this.nextElementSibling) ? this.nextElementSibling : null;
6331
+ return h4(this.nextElementSibling) ? this.nextElementSibling : null;
6325
6332
  }
6326
6333
  endDrag() {
6327
6334
  if (!(!this.dragging && this.activePointerId === null)) {
@@ -6349,7 +6356,7 @@ const F5 = class F5 extends u {
6349
6356
  const o = e.axisSize;
6350
6357
  if (o <= 0) return;
6351
6358
  const l = e.isVertical;
6352
- this.dispatchEvent(new CustomEvent(x7, {
6359
+ this.dispatchEvent(new CustomEvent(A7, {
6353
6360
  detail: { sizes: [t.axisSize(l) / o * 100, i.axisSize(l) / o * 100] },
6354
6361
  bubbles: !0,
6355
6362
  composed: !0
@@ -6368,7 +6375,7 @@ const F5 = class F5 extends u {
6368
6375
  `;
6369
6376
  }
6370
6377
  };
6371
- F5.styles = g`
6378
+ N5.styles = g`
6372
6379
  :host { display: block; flex: 0 0 auto; position: relative; z-index: 1; outline: none; font-family: var(--font-sans); }
6373
6380
  .handle {
6374
6381
  position: relative; display: flex; align-items: center; justify-content: center;
@@ -6389,116 +6396,386 @@ F5.styles = g`
6389
6396
  .handle:hover .handle__grip, .handle--dragging .handle__grip, :host(:focus-visible) .handle__grip { opacity: 1; }
6390
6397
  .handle--vertical .handle__grip { transform: rotate(90deg); }
6391
6398
  `;
6392
- let L1 = F5;
6393
- h1([
6399
+ let y1 = N5;
6400
+ g1([
6394
6401
  a({ type: Boolean, attribute: "with-handle" })
6395
- ], L1.prototype, "withHandle");
6396
- h1([
6397
- m()
6398
- ], L1.prototype, "groupVertical");
6399
- h1([
6400
- m()
6401
- ], L1.prototype, "dragging");
6402
- customElements.get("anduin-resizable-panel-group") || customElements.define("anduin-resizable-panel-group", r2);
6403
- customElements.get("anduin-resizable-panel") || customElements.define("anduin-resizable-panel", b1);
6404
- customElements.get("anduin-resizable-handle") || customElements.define("anduin-resizable-handle", L1);
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);
6410
+ customElements.get("anduin-resizable-panel") || customElements.define("anduin-resizable-panel", L1);
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);
6405
6677
  export {
6406
- l2 as $,
6678
+ j1 as $,
6407
6679
  O as A,
6408
- x2 as B,
6409
- S1 as C,
6410
- N as D,
6411
- m1 as E,
6412
- L1 as F,
6413
- b1 as G,
6414
- r2 as H,
6415
- I,
6416
- z1 as J,
6417
- E1 as K,
6418
- V as L,
6419
- j1 as M,
6420
- D1 as N,
6421
- T as O,
6422
- f1 as P,
6423
- O1 as Q,
6424
- H1 as R,
6425
- m2 as S,
6426
- E as T,
6427
- K as U,
6428
- N1 as V,
6429
- P as W,
6430
- S as X,
6431
- I1 as Y,
6432
- M2 as Z,
6433
- y2 as _,
6434
- Q1 as a,
6435
- Z2 as a0,
6436
- V4 as a1,
6437
- L3 as a2,
6438
- f7 as a3,
6439
- E2 as a4,
6440
- r4 as a5,
6441
- M4 as a6,
6442
- M1 as a7,
6443
- n7 as a8,
6444
- J5 as a9,
6445
- D2 as aA,
6446
- x4 as aB,
6447
- w4 as aC,
6448
- $4 as aD,
6449
- j3 as aE,
6450
- m4 as aF,
6451
- s7 as aG,
6452
- $7 as aH,
6453
- M3 as aa,
6454
- w2 as ab,
6455
- W3 as ac,
6456
- _1 as ad,
6457
- Z7 as ae,
6458
- z2 as af,
6459
- _2 as ag,
6460
- R2 as ah,
6461
- J3 as ai,
6462
- x7 as aj,
6463
- v2 as ak,
6464
- y7 as al,
6465
- L7 as am,
6466
- h7 as an,
6467
- w3 as ao,
6468
- Z4 as ap,
6469
- a2 as aq,
6470
- k3 as ar,
6471
- _3 as as,
6472
- A3 as at,
6473
- B3 as au,
6474
- b2 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,
6475
6752
  S3 as aw,
6476
- P3 as ax,
6477
- R4 as ay,
6478
- k4 as az,
6479
- B1 as b,
6753
+ z3 as ax,
6754
+ D3 as ay,
6755
+ T3 as az,
6756
+ F1 as b,
6480
6757
  L as c,
6481
- e2 as d,
6758
+ l2 as d,
6482
6759
  X as e,
6483
- P1 as f,
6484
- t2 as g,
6760
+ O1 as f,
6761
+ r2 as g,
6485
6762
  z as h,
6486
- m7 as i,
6763
+ x7 as i,
6487
6764
  b as j,
6488
- i2 as k,
6489
- f2 as l,
6490
- H2 as m,
6491
- V2 as n,
6492
- F1 as o,
6493
- T1 as p,
6494
- A1 as q,
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,
6495
6772
  w as r,
6496
- o2 as s,
6497
- s1 as t,
6773
+ n2 as s,
6774
+ C1 as t,
6498
6775
  V1 as u,
6499
- Y3 as v,
6500
- X3 as w,
6776
+ o7 as v,
6777
+ i7 as w,
6501
6778
  J as x,
6502
6779
  j as y,
6503
- F as z
6780
+ Q as z
6504
6781
  };