@duyluonganduin/acl-web-components 0.0.9 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,21 +1,21 @@
1
- const $5 = ':root{--color-gray-0: oklch(1 0 0);--color-gray-1: oklch(.9846 .0017 247.84);--color-gray-2: oklch(.9515 .0046 258.32);--color-gray-3: oklch(.9336 .0058 264.53);--color-gray-4: oklch(.8618 .0141 258.35);--color-gray-5: oklch(.7073 .0268 263.28);--color-gray-6: oklch(.6528 .0316 266.24);--color-gray-7: oklch(.5371 .0337 264.24);--color-gray-8: oklch(.3544 .0326 260.94);--color-gray-9: oklch(.2776 .0341 255.81);--color-danger-1: oklch(.9437 .0174 17.47);--color-danger-2: oklch(.8643 .0573 18.32);--color-danger-3: oklch(.712 .1517 21.64);--color-danger-4: oklch(.5948 .2165 26.91);--color-danger-5: oklch(.531 .2147 28.91);--color-primary-1: oklch(.9474 .0256 221.57);--color-primary-2: oklch(.8652 .066 236.86);--color-primary-3: oklch(.7219 .1335 240.15);--color-primary-4: oklch(.5679 .1784 254.76);--color-primary-5: oklch(.4682 .1548 255.23);--color-success-1: oklch(.9276 .0541 150.91);--color-success-2: oklch(.8592 .1078 149.75);--color-success-3: oklch(.6953 .1711 149.14);--color-success-4: oklch(.6149 .1634 148.21);--color-success-5: oklch(.5075 .136 146.46);--color-warning-1: oklch(.9549 .0496 88.08);--color-warning-2: oklch(.912 .0811 83.56);--color-warning-3: oklch(.8282 .1628 78.73);--color-warning-4: oklch(.7325 .1512 75.97);--color-warning-5: oklch(.5329 .1098 82);--color-semantic-gray-0: oklch(1 0 0);--color-semantic-gray-1: oklch(.9846 .0017 247.84);--color-semantic-gray-2: oklch(.9515 .0046 258.32);--color-semantic-gray-3: oklch(.9336 .0058 264.53);--color-semantic-gray-4: oklch(.8618 .0141 258.35);--color-semantic-gray-5: oklch(.7073 .0268 263.28);--color-semantic-gray-6: oklch(.6528 .0316 266.24);--color-semantic-gray-7: oklch(.5371 .0337 264.24);--color-semantic-gray-8: oklch(.3544 .0326 260.94);--color-semantic-gray-9: oklch(.2776 .0341 255.81);--color-semantic-danger-1: oklch(.9437 .0174 17.47);--color-semantic-danger-2: oklch(.8643 .0573 18.32);--color-semantic-danger-3: oklch(.712 .1517 21.64);--color-semantic-danger-4: oklch(.5948 .2165 26.91);--color-semantic-danger-5: oklch(.531 .2147 28.91);--color-semantic-primary-1: oklch(.9474 .0256 221.57);--color-semantic-primary-2: oklch(.8652 .066 236.86);--color-semantic-primary-3: oklch(.7219 .1335 240.15);--color-semantic-primary-4: oklch(.5679 .1784 254.76);--color-semantic-primary-5: oklch(.4682 .1548 255.23);--color-semantic-success-1: oklch(.9276 .0541 150.91);--color-semantic-success-2: oklch(.8592 .1078 149.75);--color-semantic-success-3: oklch(.6953 .1711 149.14);--color-semantic-success-4: oklch(.6149 .1634 148.21);--color-semantic-success-5: oklch(.5075 .136 146.46);--color-semantic-warning-1: oklch(.9549 .0496 88.08);--color-semantic-warning-2: oklch(.912 .0811 83.56);--color-semantic-warning-3: oklch(.8282 .1628 78.73);--color-semantic-warning-4: oklch(.7325 .1512 75.97);--color-semantic-warning-5: oklch(.5329 .1098 82);--color-white: var(--color-gray-0);--font-sans: system-ui, -apple-system, Roboto, Oxygen, Cantarell, Ubuntu, "Segoe UI", sans-serif;--font-mono: monospace;--text-9: 9px;--text-10: 10px;--text-11: 11px;--text-13: 13px;--text-15: 15px;--text-17: 17px;--text-20: 20px;--text-23: 23px;--text-26: 26px;--text-30: 30px;--text-35: 35px;--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--leading-16: 16px;--leading-20: 20px;--leading-24: 24px;--leading-28: 28px;--leading-32: 32px;--leading-40: 40px;--leading-44: 44px;--leading-r1p5: 1.5;--radius-0: 0;--radius-2: 2px;--radius-3: 3px;--radius-4: 4px;--radius-6: 6px;--radius-8: 8px;--radius-12: 12px;--radius-16: 16px;--radius-20: 20px;--radius-24: 24px;--radius-full: 9999px;--shadow-1: 0px 1px 2px rgba(29, 41, 57, .07);--shadow-2: 0px 1px 2px rgba(29, 41, 57, .04), 0px 2px 8px rgba(29, 41, 57, .08);--shadow-3: 0px 2px 8px rgba(29, 41, 57, .08), 0px 8px 24px rgba(29, 41, 57, .12);--shadow-4: 0px 4px 8px rgba(29, 41, 57, .08), 0px 16px 48px rgba(29, 41, 57, .16);--spacing-px: 1px;--spacing-0: 0;--spacing-2: 2px;--spacing-4: 4px;--spacing-6: 6px;--spacing-8: 8px;--spacing-12: 12px;--spacing-16: 16px;--spacing-20: 20px;--spacing-24: 24px;--spacing-28: 28px;--spacing-32: 32px;--spacing-40: 40px;--spacing-48: 48px;--spacing-56: 56px;--spacing-64: 64px;--spacing-128: 128px;--spacing-256: 256px;--z-0: 0;--z-1: 1;--z-2: 2;--z-3: 3;--z-4: 4;--z-5: 5;--z-999: 999;--z-9999: 9999}body{font-family:var(--font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:var(--text-13)}';
1
+ const S5 = ':root{--color-gray-0: oklch(1 0 0);--color-gray-1: oklch(.9846 .0017 247.84);--color-gray-2: oklch(.9515 .0046 258.32);--color-gray-3: oklch(.9336 .0058 264.53);--color-gray-4: oklch(.8618 .0141 258.35);--color-gray-5: oklch(.7073 .0268 263.28);--color-gray-6: oklch(.6528 .0316 266.24);--color-gray-7: oklch(.5371 .0337 264.24);--color-gray-8: oklch(.3544 .0326 260.94);--color-gray-9: oklch(.2776 .0341 255.81);--color-danger-1: oklch(.9437 .0174 17.47);--color-danger-2: oklch(.8643 .0573 18.32);--color-danger-3: oklch(.712 .1517 21.64);--color-danger-4: oklch(.5948 .2165 26.91);--color-danger-5: oklch(.531 .2147 28.91);--color-primary-1: oklch(.9474 .0256 221.57);--color-primary-2: oklch(.8652 .066 236.86);--color-primary-3: oklch(.7219 .1335 240.15);--color-primary-4: oklch(.5679 .1784 254.76);--color-primary-5: oklch(.4682 .1548 255.23);--color-success-1: oklch(.9276 .0541 150.91);--color-success-2: oklch(.8592 .1078 149.75);--color-success-3: oklch(.6953 .1711 149.14);--color-success-4: oklch(.6149 .1634 148.21);--color-success-5: oklch(.5075 .136 146.46);--color-warning-1: oklch(.9549 .0496 88.08);--color-warning-2: oklch(.912 .0811 83.56);--color-warning-3: oklch(.8282 .1628 78.73);--color-warning-4: oklch(.7325 .1512 75.97);--color-warning-5: oklch(.5329 .1098 82);--color-semantic-gray-0: oklch(1 0 0);--color-semantic-gray-1: oklch(.9846 .0017 247.84);--color-semantic-gray-2: oklch(.9515 .0046 258.32);--color-semantic-gray-3: oklch(.9336 .0058 264.53);--color-semantic-gray-4: oklch(.8618 .0141 258.35);--color-semantic-gray-5: oklch(.7073 .0268 263.28);--color-semantic-gray-6: oklch(.6528 .0316 266.24);--color-semantic-gray-7: oklch(.5371 .0337 264.24);--color-semantic-gray-8: oklch(.3544 .0326 260.94);--color-semantic-gray-9: oklch(.2776 .0341 255.81);--color-semantic-danger-1: oklch(.9437 .0174 17.47);--color-semantic-danger-2: oklch(.8643 .0573 18.32);--color-semantic-danger-3: oklch(.712 .1517 21.64);--color-semantic-danger-4: oklch(.5948 .2165 26.91);--color-semantic-danger-5: oklch(.531 .2147 28.91);--color-semantic-primary-1: oklch(.9474 .0256 221.57);--color-semantic-primary-2: oklch(.8652 .066 236.86);--color-semantic-primary-3: oklch(.7219 .1335 240.15);--color-semantic-primary-4: oklch(.5679 .1784 254.76);--color-semantic-primary-5: oklch(.4682 .1548 255.23);--color-semantic-success-1: oklch(.9276 .0541 150.91);--color-semantic-success-2: oklch(.8592 .1078 149.75);--color-semantic-success-3: oklch(.6953 .1711 149.14);--color-semantic-success-4: oklch(.6149 .1634 148.21);--color-semantic-success-5: oklch(.5075 .136 146.46);--color-semantic-warning-1: oklch(.9549 .0496 88.08);--color-semantic-warning-2: oklch(.912 .0811 83.56);--color-semantic-warning-3: oklch(.8282 .1628 78.73);--color-semantic-warning-4: oklch(.7325 .1512 75.97);--color-semantic-warning-5: oklch(.5329 .1098 82);--color-white: var(--color-gray-0);--font-sans: system-ui, -apple-system, Roboto, Oxygen, Cantarell, Ubuntu, "Segoe UI", sans-serif;--font-mono: monospace;--text-9: 9px;--text-10: 10px;--text-11: 11px;--text-13: 13px;--text-15: 15px;--text-17: 17px;--text-20: 20px;--text-23: 23px;--text-26: 26px;--text-30: 30px;--text-35: 35px;--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--leading-16: 16px;--leading-20: 20px;--leading-24: 24px;--leading-28: 28px;--leading-32: 32px;--leading-40: 40px;--leading-44: 44px;--leading-r1p5: 1.5;--radius-0: 0;--radius-2: 2px;--radius-3: 3px;--radius-4: 4px;--radius-6: 6px;--radius-8: 8px;--radius-12: 12px;--radius-16: 16px;--radius-20: 20px;--radius-24: 24px;--radius-full: 9999px;--shadow-1: 0px 1px 2px rgba(29, 41, 57, .07);--shadow-2: 0px 1px 2px rgba(29, 41, 57, .04), 0px 2px 8px rgba(29, 41, 57, .08);--shadow-3: 0px 2px 8px rgba(29, 41, 57, .08), 0px 8px 24px rgba(29, 41, 57, .12);--shadow-4: 0px 4px 8px rgba(29, 41, 57, .08), 0px 16px 48px rgba(29, 41, 57, .16);--spacing-px: 1px;--spacing-0: 0;--spacing-2: 2px;--spacing-4: 4px;--spacing-6: 6px;--spacing-8: 8px;--spacing-12: 12px;--spacing-16: 16px;--spacing-20: 20px;--spacing-24: 24px;--spacing-28: 28px;--spacing-32: 32px;--spacing-40: 40px;--spacing-48: 48px;--spacing-56: 56px;--spacing-64: 64px;--spacing-128: 128px;--spacing-256: 256px;--z-0: 0;--z-1: 1;--z-2: 2;--z-3: 3;--z-4: 4;--z-5: 5;--z-999: 999;--z-9999: 9999}body{font-family:var(--font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:var(--text-13)}';
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2019 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
6
  */
7
- const V1 = globalThis, W1 = V1.ShadowRoot && (V1.ShadyCSS === void 0 || V1.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, K1 = Symbol(), O2 = /* @__PURE__ */ new WeakMap();
8
- let i5 = class {
7
+ const m1 = globalThis, Q1 = m1.ShadowRoot && (m1.ShadyCSS === void 0 || m1.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, e2 = Symbol(), q2 = /* @__PURE__ */ new WeakMap();
8
+ let p5 = class {
9
9
  constructor(e, t, o) {
10
- if (this._$cssResult$ = !0, o !== K1) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
10
+ if (this._$cssResult$ = !0, o !== e2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
11
11
  this.cssText = e, this.t = t;
12
12
  }
13
13
  get styleSheet() {
14
14
  let e = this.o;
15
15
  const t = this.t;
16
- if (W1 && e === void 0) {
16
+ if (Q1 && e === void 0) {
17
17
  const o = t !== void 0 && t.length === 1;
18
- o && (e = O2.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), o && O2.set(t, e));
18
+ o && (e = q2.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), o && q2.set(t, e));
19
19
  }
20
20
  return e;
21
21
  }
@@ -23,33 +23,33 @@ let i5 = class {
23
23
  return this.cssText;
24
24
  }
25
25
  };
26
- const E5 = (l) => new i5(typeof l == "string" ? l : l + "", void 0, K1), H = (l, ...e) => {
26
+ const D5 = (l) => new p5(typeof l == "string" ? l : l + "", void 0, e2), H = (l, ...e) => {
27
27
  const t = l.length === 1 ? l[0] : e.reduce((o, C, i) => o + ((n) => {
28
28
  if (n._$cssResult$ === !0) return n.cssText;
29
29
  if (typeof n == "number") return n;
30
30
  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.");
31
31
  })(C) + l[i + 1], l[0]);
32
- return new i5(t, l, K1);
33
- }, A5 = (l, e) => {
34
- if (W1) l.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
32
+ return new p5(t, l, e2);
33
+ }, O5 = (l, e) => {
34
+ if (Q1) l.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
35
35
  else for (const t of e) {
36
- const o = document.createElement("style"), C = V1.litNonce;
36
+ const o = document.createElement("style"), C = m1.litNonce;
37
37
  C !== void 0 && o.setAttribute("nonce", C), o.textContent = t.cssText, l.appendChild(o);
38
38
  }
39
- }, I2 = W1 ? (l) => l : (l) => l instanceof CSSStyleSheet ? ((e) => {
39
+ }, G2 = Q1 ? (l) => l : (l) => l instanceof CSSStyleSheet ? ((e) => {
40
40
  let t = "";
41
41
  for (const o of e.cssRules) t += o.cssText;
42
- return E5(t);
42
+ return D5(t);
43
43
  })(l) : l;
44
44
  /**
45
45
  * @license
46
46
  * Copyright 2017 Google LLC
47
47
  * SPDX-License-Identifier: BSD-3-Clause
48
48
  */
49
- const { is: B5, defineProperty: F5, getOwnPropertyDescriptor: z5, getOwnPropertyNames: P5, getOwnPropertySymbols: S5, getPrototypeOf: D5 } = Object, k = globalThis, T2 = k.trustedTypes, O5 = T2 ? T2.emptyScript : "", k1 = k.reactiveElementPolyfillSupport, e1 = (l, e) => l, L1 = { toAttribute(l, e) {
49
+ const { is: I5, defineProperty: T5, getOwnPropertyDescriptor: N5, getOwnPropertyNames: j5, getOwnPropertySymbols: U5, getPrototypeOf: q5 } = Object, E = globalThis, Y2 = E.trustedTypes, G5 = Y2 ? Y2.emptyScript : "", A1 = E.reactiveElementPolyfillSupport, o1 = (l, e) => l, M1 = { toAttribute(l, e) {
50
50
  switch (e) {
51
51
  case Boolean:
52
- l = l ? O5 : null;
52
+ l = l ? G5 : null;
53
53
  break;
54
54
  case Object:
55
55
  case Array:
@@ -74,23 +74,23 @@ const { is: B5, defineProperty: F5, getOwnPropertyDescriptor: z5, getOwnProperty
74
74
  }
75
75
  }
76
76
  return t;
77
- } }, X1 = (l, e) => !B5(l, e), N2 = { attribute: !0, type: String, converter: L1, reflect: !1, useDefault: !1, hasChanged: X1 };
78
- Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), k.litPropertyMetadata ?? (k.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
79
- let G = class extends HTMLElement {
77
+ } }, t2 = (l, e) => !I5(l, e), W2 = { attribute: !0, type: String, converter: M1, reflect: !1, useDefault: !1, hasChanged: t2 };
78
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), E.litPropertyMetadata ?? (E.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
79
+ let W = class extends HTMLElement {
80
80
  static addInitializer(e) {
81
81
  this._$Ei(), (this.l ?? (this.l = [])).push(e);
82
82
  }
83
83
  static get observedAttributes() {
84
84
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
85
85
  }
86
- static createProperty(e, t = N2) {
86
+ static createProperty(e, t = W2) {
87
87
  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) {
88
88
  const o = Symbol(), C = this.getPropertyDescriptor(e, o, t);
89
- C !== void 0 && F5(this.prototype, e, C);
89
+ C !== void 0 && T5(this.prototype, e, C);
90
90
  }
91
91
  }
92
92
  static getPropertyDescriptor(e, t, o) {
93
- const { get: C, set: i } = z5(this.prototype, e) ?? { get() {
93
+ const { get: C, set: i } = N5(this.prototype, e) ?? { get() {
94
94
  return this[t];
95
95
  }, set(n) {
96
96
  this[t] = n;
@@ -101,17 +101,17 @@ let G = class extends HTMLElement {
101
101
  }, configurable: !0, enumerable: !0 };
102
102
  }
103
103
  static getPropertyOptions(e) {
104
- return this.elementProperties.get(e) ?? N2;
104
+ return this.elementProperties.get(e) ?? W2;
105
105
  }
106
106
  static _$Ei() {
107
- if (this.hasOwnProperty(e1("elementProperties"))) return;
108
- const e = D5(this);
107
+ if (this.hasOwnProperty(o1("elementProperties"))) return;
108
+ const e = q5(this);
109
109
  e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
110
110
  }
111
111
  static finalize() {
112
- if (this.hasOwnProperty(e1("finalized"))) return;
113
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(e1("properties"))) {
114
- const t = this.properties, o = [...P5(t), ...S5(t)];
112
+ if (this.hasOwnProperty(o1("finalized"))) return;
113
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(o1("properties"))) {
114
+ const t = this.properties, o = [...j5(t), ...U5(t)];
115
115
  for (const C of o) this.createProperty(C, t[C]);
116
116
  }
117
117
  const e = this[Symbol.metadata];
@@ -130,8 +130,8 @@ let G = class extends HTMLElement {
130
130
  const t = [];
131
131
  if (Array.isArray(e)) {
132
132
  const o = new Set(e.flat(1 / 0).reverse());
133
- for (const C of o) t.unshift(I2(C));
134
- } else e !== void 0 && t.push(I2(e));
133
+ for (const C of o) t.unshift(G2(C));
134
+ } else e !== void 0 && t.push(G2(e));
135
135
  return t;
136
136
  }
137
137
  static _$Eu(e, t) {
@@ -160,7 +160,7 @@ let G = class extends HTMLElement {
160
160
  }
161
161
  createRenderRoot() {
162
162
  const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
163
- return A5(e, this.constructor.elementStyles), e;
163
+ return O5(e, this.constructor.elementStyles), e;
164
164
  }
165
165
  connectedCallback() {
166
166
  var e;
@@ -185,7 +185,7 @@ let G = class extends HTMLElement {
185
185
  var i;
186
186
  const o = this.constructor.elementProperties.get(e), C = this.constructor._$Eu(e, o);
187
187
  if (C !== void 0 && o.reflect === !0) {
188
- const n = (((i = o.converter) == null ? void 0 : i.toAttribute) !== void 0 ? o.converter : L1).toAttribute(t, o.type);
188
+ const n = (((i = o.converter) == null ? void 0 : i.toAttribute) !== void 0 ? o.converter : M1).toAttribute(t, o.type);
189
189
  this._$Em = e, n == null ? this.removeAttribute(C) : this.setAttribute(C, n), this._$Em = null;
190
190
  }
191
191
  }
@@ -193,7 +193,7 @@ let G = class extends HTMLElement {
193
193
  var i, n;
194
194
  const o = this.constructor, C = o._$Eh.get(e);
195
195
  if (C !== void 0 && this._$Em !== C) {
196
- const a = o.getPropertyOptions(C), s = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((i = a.converter) == null ? void 0 : i.fromAttribute) !== void 0 ? a.converter : L1;
196
+ const a = o.getPropertyOptions(C), s = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((i = a.converter) == null ? void 0 : i.fromAttribute) !== void 0 ? a.converter : M1;
197
197
  this._$Em = C;
198
198
  const c = s.fromAttribute(t, a.type);
199
199
  this[C] = c ?? ((n = this._$Ej) == null ? void 0 : n.get(C)) ?? c, this._$Em = null;
@@ -203,7 +203,7 @@ let G = class extends HTMLElement {
203
203
  var n;
204
204
  if (e !== void 0) {
205
205
  const a = this.constructor;
206
- if (C === !1 && (i = this[e]), o ?? (o = a.getPropertyOptions(e)), !((o.hasChanged ?? X1)(i, t) || o.useDefault && o.reflect && i === ((n = this._$Ej) == null ? void 0 : n.get(e)) && !this.hasAttribute(a._$Eu(e, o)))) return;
206
+ if (C === !1 && (i = this[e]), o ?? (o = a.getPropertyOptions(e)), !((o.hasChanged ?? t2)(i, t) || o.useDefault && o.reflect && i === ((n = this._$Ej) == null ? void 0 : n.get(e)) && !this.hasAttribute(a._$Eu(e, o)))) return;
207
207
  this.C(e, t, o);
208
208
  }
209
209
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
@@ -279,76 +279,76 @@ let G = class extends HTMLElement {
279
279
  firstUpdated(e) {
280
280
  }
281
281
  };
282
- G.elementStyles = [], G.shadowRootOptions = { mode: "open" }, G[e1("elementProperties")] = /* @__PURE__ */ new Map(), G[e1("finalized")] = /* @__PURE__ */ new Map(), k1 == null || k1({ ReactiveElement: G }), (k.reactiveElementVersions ?? (k.reactiveElementVersions = [])).push("2.1.2");
282
+ W.elementStyles = [], W.shadowRootOptions = { mode: "open" }, W[o1("elementProperties")] = /* @__PURE__ */ new Map(), W[o1("finalized")] = /* @__PURE__ */ new Map(), A1 == null || A1({ ReactiveElement: W }), (E.reactiveElementVersions ?? (E.reactiveElementVersions = [])).push("2.1.2");
283
283
  /**
284
284
  * @license
285
285
  * Copyright 2017 Google LLC
286
286
  * SPDX-License-Identifier: BSD-3-Clause
287
287
  */
288
- const t1 = globalThis, U2 = (l) => l, g1 = t1.trustedTypes, j2 = g1 ? g1.createPolicy("lit-html", { createHTML: (l) => l }) : void 0, n5 = "$lit$", w = `lit$${Math.random().toFixed(9).slice(2)}$`, r5 = "?" + w, I5 = `<${r5}>`, D = document, C1 = () => D.createComment(""), o1 = (l) => l === null || typeof l != "object" && typeof l != "function", J1 = Array.isArray, T5 = (l) => J1(l) || typeof (l == null ? void 0 : l[Symbol.iterator]) == "function", $1 = `[
289
- \f\r]`, Q = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, q2 = /-->/g, G2 = />/g, z = RegExp(`>|${$1}(?:([^\\s"'>=/]+)(${$1}*=${$1}*(?:[^
290
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Y2 = /'/g, W2 = /"/g, a5 = /^(?:script|style|textarea|title)$/i, s5 = (l) => (e, ...t) => ({ _$litType$: l, strings: e, values: t }), d = s5(1), F1 = s5(2), O = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), K2 = /* @__PURE__ */ new WeakMap(), P = D.createTreeWalker(D, 129);
291
- function d5(l, e) {
292
- if (!J1(l) || !l.hasOwnProperty("raw")) throw Error("invalid template strings array");
293
- return j2 !== void 0 ? j2.createHTML(e) : e;
288
+ const l1 = globalThis, X2 = (l) => l, b1 = l1.trustedTypes, K2 = b1 ? b1.createPolicy("lit-html", { createHTML: (l) => l }) : void 0, u5 = "$lit$", $ = `lit$${Math.random().toFixed(9).slice(2)}$`, h5 = "?" + $, Y5 = `<${h5}>`, T = document, i1 = () => T.createComment(""), n1 = (l) => l === null || typeof l != "object" && typeof l != "function", C2 = Array.isArray, W5 = (l) => C2(l) || typeof (l == null ? void 0 : l[Symbol.iterator]) == "function", B1 = `[
289
+ \f\r]`, C1 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, J2 = /-->/g, Q2 = />/g, D = RegExp(`>|${B1}(?:([^\\s"'>=/]+)(${B1}*=${B1}*(?:[^
290
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), e5 = /'/g, t5 = /"/g, H5 = /^(?:script|style|textarea|title)$/i, v5 = (l) => (e, ...t) => ({ _$litType$: l, strings: e, values: t }), d = v5(1), D1 = v5(2), N = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), C5 = /* @__PURE__ */ new WeakMap(), O = T.createTreeWalker(T, 129);
291
+ function f5(l, e) {
292
+ if (!C2(l) || !l.hasOwnProperty("raw")) throw Error("invalid template strings array");
293
+ return K2 !== void 0 ? K2.createHTML(e) : e;
294
294
  }
295
- const N5 = (l, e) => {
295
+ const X5 = (l, e) => {
296
296
  const t = l.length - 1, o = [];
297
- let C, i = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", n = Q;
297
+ let C, i = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", n = C1;
298
298
  for (let a = 0; a < t; a++) {
299
299
  const s = l[a];
300
- let c, u, v = -1, m = 0;
301
- for (; m < s.length && (n.lastIndex = m, u = n.exec(s), u !== null); ) m = n.lastIndex, n === Q ? u[1] === "!--" ? n = q2 : u[1] !== void 0 ? n = G2 : u[2] !== void 0 ? (a5.test(u[2]) && (C = RegExp("</" + u[2], "g")), n = z) : u[3] !== void 0 && (n = z) : n === z ? u[0] === ">" ? (n = C ?? Q, v = -1) : u[1] === void 0 ? v = -2 : (v = n.lastIndex - u[2].length, c = u[1], n = u[3] === void 0 ? z : u[3] === '"' ? W2 : Y2) : n === W2 || n === Y2 ? n = z : n === q2 || n === G2 ? n = Q : (n = z, C = void 0);
302
- const f = n === z && l[a + 1].startsWith("/>") ? " " : "";
303
- i += n === Q ? s + I5 : v >= 0 ? (o.push(c), s.slice(0, v) + n5 + s.slice(v) + w + f) : s + w + (v === -2 ? a : f);
300
+ let c, h, v = -1, M = 0;
301
+ for (; M < s.length && (n.lastIndex = M, h = n.exec(s), h !== null); ) M = n.lastIndex, n === C1 ? h[1] === "!--" ? n = J2 : h[1] !== void 0 ? n = Q2 : h[2] !== void 0 ? (H5.test(h[2]) && (C = RegExp("</" + h[2], "g")), n = D) : h[3] !== void 0 && (n = D) : n === D ? h[0] === ">" ? (n = C ?? C1, v = -1) : h[1] === void 0 ? v = -2 : (v = n.lastIndex - h[2].length, c = h[1], n = h[3] === void 0 ? D : h[3] === '"' ? t5 : e5) : n === t5 || n === e5 ? n = D : n === J2 || n === Q2 ? n = C1 : (n = D, C = void 0);
302
+ const f = n === D && l[a + 1].startsWith("/>") ? " " : "";
303
+ i += n === C1 ? s + Y5 : v >= 0 ? (o.push(c), s.slice(0, v) + u5 + s.slice(v) + $ + f) : s + $ + (v === -2 ? a : f);
304
304
  }
305
- return [d5(l, i + (l[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), o];
305
+ return [f5(l, i + (l[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), o];
306
306
  };
307
- class l1 {
307
+ class r1 {
308
308
  constructor({ strings: e, _$litType$: t }, o) {
309
309
  let C;
310
310
  this.parts = [];
311
311
  let i = 0, n = 0;
312
- const a = e.length - 1, s = this.parts, [c, u] = N5(e, t);
313
- if (this.el = l1.createElement(c, o), P.currentNode = this.el.content, t === 2 || t === 3) {
312
+ const a = e.length - 1, s = this.parts, [c, h] = X5(e, t);
313
+ if (this.el = r1.createElement(c, o), O.currentNode = this.el.content, t === 2 || t === 3) {
314
314
  const v = this.el.content.firstChild;
315
315
  v.replaceWith(...v.childNodes);
316
316
  }
317
- for (; (C = P.nextNode()) !== null && s.length < a; ) {
317
+ for (; (C = O.nextNode()) !== null && s.length < a; ) {
318
318
  if (C.nodeType === 1) {
319
- if (C.hasAttributes()) for (const v of C.getAttributeNames()) if (v.endsWith(n5)) {
320
- const m = u[n++], f = C.getAttribute(v).split(w), b = /([.?@])?(.*)/.exec(m);
321
- s.push({ type: 1, index: i, name: b[2], strings: f, ctor: b[1] === "." ? j5 : b[1] === "?" ? q5 : b[1] === "@" ? G5 : R1 }), C.removeAttribute(v);
322
- } else v.startsWith(w) && (s.push({ type: 6, index: i }), C.removeAttribute(v));
323
- if (a5.test(C.tagName)) {
324
- const v = C.textContent.split(w), m = v.length - 1;
325
- if (m > 0) {
326
- C.textContent = g1 ? g1.emptyScript : "";
327
- for (let f = 0; f < m; f++) C.append(v[f], C1()), P.nextNode(), s.push({ type: 2, index: ++i });
328
- C.append(v[m], C1());
319
+ if (C.hasAttributes()) for (const v of C.getAttributeNames()) if (v.endsWith(u5)) {
320
+ const M = h[n++], f = C.getAttribute(v).split($), b = /([.?@])?(.*)/.exec(M);
321
+ s.push({ type: 1, index: i, name: b[2], strings: f, ctor: b[1] === "." ? J5 : b[1] === "?" ? Q5 : b[1] === "@" ? e4 : k1 }), C.removeAttribute(v);
322
+ } else v.startsWith($) && (s.push({ type: 6, index: i }), C.removeAttribute(v));
323
+ if (H5.test(C.tagName)) {
324
+ const v = C.textContent.split($), M = v.length - 1;
325
+ if (M > 0) {
326
+ C.textContent = b1 ? b1.emptyScript : "";
327
+ for (let f = 0; f < M; f++) C.append(v[f], i1()), O.nextNode(), s.push({ type: 2, index: ++i });
328
+ C.append(v[M], i1());
329
329
  }
330
330
  }
331
- } else if (C.nodeType === 8) if (C.data === r5) s.push({ type: 2, index: i });
331
+ } else if (C.nodeType === 8) if (C.data === h5) s.push({ type: 2, index: i });
332
332
  else {
333
333
  let v = -1;
334
- for (; (v = C.data.indexOf(w, v + 1)) !== -1; ) s.push({ type: 7, index: i }), v += w.length - 1;
334
+ for (; (v = C.data.indexOf($, v + 1)) !== -1; ) s.push({ type: 7, index: i }), v += $.length - 1;
335
335
  }
336
336
  i++;
337
337
  }
338
338
  }
339
339
  static createElement(e, t) {
340
- const o = D.createElement("template");
340
+ const o = T.createElement("template");
341
341
  return o.innerHTML = e, o;
342
342
  }
343
343
  }
344
- function Y(l, e, t = l, o) {
344
+ function X(l, e, t = l, o) {
345
345
  var n, a;
346
- if (e === O) return e;
346
+ if (e === N) return e;
347
347
  let C = o !== void 0 ? (n = t._$Co) == null ? void 0 : n[o] : t._$Cl;
348
- const i = o1(e) ? void 0 : e._$litDirective$;
349
- return (C == null ? void 0 : C.constructor) !== i && ((a = C == null ? void 0 : C._$AO) == null || a.call(C, !1), i === void 0 ? C = void 0 : (C = new i(l), C._$AT(l, t, o)), o !== void 0 ? (t._$Co ?? (t._$Co = []))[o] = C : t._$Cl = C), C !== void 0 && (e = Y(l, C._$AS(l, e.values), C, o)), e;
348
+ const i = n1(e) ? void 0 : e._$litDirective$;
349
+ return (C == null ? void 0 : C.constructor) !== i && ((a = C == null ? void 0 : C._$AO) == null || a.call(C, !1), i === void 0 ? C = void 0 : (C = new i(l), C._$AT(l, t, o)), o !== void 0 ? (t._$Co ?? (t._$Co = []))[o] = C : t._$Cl = C), C !== void 0 && (e = X(l, C._$AS(l, e.values), C, o)), e;
350
350
  }
351
- class U5 {
351
+ class K5 {
352
352
  constructor(e, t) {
353
353
  this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
354
354
  }
@@ -359,24 +359,24 @@ class U5 {
359
359
  return this._$AM._$AU;
360
360
  }
361
361
  u(e) {
362
- const { el: { content: t }, parts: o } = this._$AD, C = ((e == null ? void 0 : e.creationScope) ?? D).importNode(t, !0);
363
- P.currentNode = C;
364
- let i = P.nextNode(), n = 0, a = 0, s = o[0];
362
+ const { el: { content: t }, parts: o } = this._$AD, C = ((e == null ? void 0 : e.creationScope) ?? T).importNode(t, !0);
363
+ O.currentNode = C;
364
+ let i = O.nextNode(), n = 0, a = 0, s = o[0];
365
365
  for (; s !== void 0; ) {
366
366
  if (n === s.index) {
367
367
  let c;
368
- s.type === 2 ? c = new H1(i, i.nextSibling, this, e) : s.type === 1 ? c = new s.ctor(i, s.name, s.strings, this, e) : s.type === 6 && (c = new Y5(i, this, e)), this._$AV.push(c), s = o[++a];
368
+ s.type === 2 ? c = new g1(i, i.nextSibling, this, e) : s.type === 1 ? c = new s.ctor(i, s.name, s.strings, this, e) : s.type === 6 && (c = new t4(i, this, e)), this._$AV.push(c), s = o[++a];
369
369
  }
370
- n !== (s == null ? void 0 : s.index) && (i = P.nextNode(), n++);
370
+ n !== (s == null ? void 0 : s.index) && (i = O.nextNode(), n++);
371
371
  }
372
- return P.currentNode = D, C;
372
+ return O.currentNode = T, C;
373
373
  }
374
374
  p(e) {
375
375
  let t = 0;
376
376
  for (const o of this._$AV) o !== void 0 && (o.strings !== void 0 ? (o._$AI(e, o, t), t += o.strings.length - 2) : o._$AI(e[t])), t++;
377
377
  }
378
378
  }
379
- class H1 {
379
+ class g1 {
380
380
  get _$AU() {
381
381
  var e;
382
382
  return ((e = this._$AM) == null ? void 0 : e._$AU) ?? this._$Cv;
@@ -396,7 +396,7 @@ class H1 {
396
396
  return this._$AB;
397
397
  }
398
398
  _$AI(e, t = this) {
399
- e = Y(this, e, t), o1(e) ? e === p || e == null || e === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : e !== this._$AH && e !== O && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : T5(e) ? this.k(e) : this._(e);
399
+ e = X(this, e, t), n1(e) ? e === p || e == null || e === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : e !== this._$AH && e !== N && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : W5(e) ? this.k(e) : this._(e);
400
400
  }
401
401
  O(e) {
402
402
  return this._$AA.parentNode.insertBefore(e, this._$AB);
@@ -405,33 +405,33 @@ class H1 {
405
405
  this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
406
406
  }
407
407
  _(e) {
408
- this._$AH !== p && o1(this._$AH) ? this._$AA.nextSibling.data = e : this.T(D.createTextNode(e)), this._$AH = e;
408
+ this._$AH !== p && n1(this._$AH) ? this._$AA.nextSibling.data = e : this.T(T.createTextNode(e)), this._$AH = e;
409
409
  }
410
410
  $(e) {
411
411
  var i;
412
- const { values: t, _$litType$: o } = e, C = typeof o == "number" ? this._$AC(e) : (o.el === void 0 && (o.el = l1.createElement(d5(o.h, o.h[0]), this.options)), o);
412
+ const { values: t, _$litType$: o } = e, C = typeof o == "number" ? this._$AC(e) : (o.el === void 0 && (o.el = r1.createElement(f5(o.h, o.h[0]), this.options)), o);
413
413
  if (((i = this._$AH) == null ? void 0 : i._$AD) === C) this._$AH.p(t);
414
414
  else {
415
- const n = new U5(C, this), a = n.u(this.options);
415
+ const n = new K5(C, this), a = n.u(this.options);
416
416
  n.p(t), this.T(a), this._$AH = n;
417
417
  }
418
418
  }
419
419
  _$AC(e) {
420
- let t = K2.get(e.strings);
421
- return t === void 0 && K2.set(e.strings, t = new l1(e)), t;
420
+ let t = C5.get(e.strings);
421
+ return t === void 0 && C5.set(e.strings, t = new r1(e)), t;
422
422
  }
423
423
  k(e) {
424
- J1(this._$AH) || (this._$AH = [], this._$AR());
424
+ C2(this._$AH) || (this._$AH = [], this._$AR());
425
425
  const t = this._$AH;
426
426
  let o, C = 0;
427
- for (const i of e) C === t.length ? t.push(o = new H1(this.O(C1()), this.O(C1()), this, this.options)) : o = t[C], o._$AI(i), C++;
427
+ for (const i of e) C === t.length ? t.push(o = new g1(this.O(i1()), this.O(i1()), this, this.options)) : o = t[C], o._$AI(i), C++;
428
428
  C < t.length && (this._$AR(o && o._$AB.nextSibling, C), t.length = C);
429
429
  }
430
430
  _$AR(e = this._$AA.nextSibling, t) {
431
431
  var o;
432
432
  for ((o = this._$AP) == null ? void 0 : o.call(this, !1, !0, t); e !== this._$AB; ) {
433
- const C = U2(e).nextSibling;
434
- U2(e).remove(), e = C;
433
+ const C = X2(e).nextSibling;
434
+ X2(e).remove(), e = C;
435
435
  }
436
436
  }
437
437
  setConnected(e) {
@@ -439,7 +439,7 @@ class H1 {
439
439
  this._$AM === void 0 && (this._$Cv = e, (t = this._$AP) == null || t.call(this, e));
440
440
  }
441
441
  }
442
- class R1 {
442
+ class k1 {
443
443
  get tagName() {
444
444
  return this.element.tagName;
445
445
  }
@@ -452,11 +452,11 @@ class R1 {
452
452
  _$AI(e, t = this, o, C) {
453
453
  const i = this.strings;
454
454
  let n = !1;
455
- if (i === void 0) e = Y(this, e, t, 0), n = !o1(e) || e !== this._$AH && e !== O, n && (this._$AH = e);
455
+ if (i === void 0) e = X(this, e, t, 0), n = !n1(e) || e !== this._$AH && e !== N, n && (this._$AH = e);
456
456
  else {
457
457
  const a = e;
458
458
  let s, c;
459
- for (e = i[0], s = 0; s < i.length - 1; s++) c = Y(this, a[o + s], t, s), c === O && (c = this._$AH[s]), n || (n = !o1(c) || c !== this._$AH[s]), c === p ? e = p : e !== p && (e += (c ?? "") + i[s + 1]), this._$AH[s] = c;
459
+ for (e = i[0], s = 0; s < i.length - 1; s++) c = X(this, a[o + s], t, s), c === N && (c = this._$AH[s]), n || (n = !n1(c) || c !== this._$AH[s]), c === p ? e = p : e !== p && (e += (c ?? "") + i[s + 1]), this._$AH[s] = c;
460
460
  }
461
461
  n && !C && this.j(e);
462
462
  }
@@ -464,7 +464,7 @@ class R1 {
464
464
  e === p ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
465
465
  }
466
466
  }
467
- class j5 extends R1 {
467
+ class J5 extends k1 {
468
468
  constructor() {
469
469
  super(...arguments), this.type = 3;
470
470
  }
@@ -472,7 +472,7 @@ class j5 extends R1 {
472
472
  this.element[this.name] = e === p ? void 0 : e;
473
473
  }
474
474
  }
475
- class q5 extends R1 {
475
+ class Q5 extends k1 {
476
476
  constructor() {
477
477
  super(...arguments), this.type = 4;
478
478
  }
@@ -480,12 +480,12 @@ class q5 extends R1 {
480
480
  this.element.toggleAttribute(this.name, !!e && e !== p);
481
481
  }
482
482
  }
483
- class G5 extends R1 {
483
+ class e4 extends k1 {
484
484
  constructor(e, t, o, C, i) {
485
485
  super(e, t, o, C, i), this.type = 5;
486
486
  }
487
487
  _$AI(e, t = this) {
488
- if ((e = Y(this, e, t, 0) ?? p) === O) return;
488
+ if ((e = X(this, e, t, 0) ?? p) === N) return;
489
489
  const o = this._$AH, C = e === p && o !== p || e.capture !== o.capture || e.once !== o.once || e.passive !== o.passive, i = e !== p && (o === p || C);
490
490
  C && this.element.removeEventListener(this.name, this, o), i && this.element.addEventListener(this.name, this, e), this._$AH = e;
491
491
  }
@@ -494,7 +494,7 @@ class G5 extends R1 {
494
494
  typeof this._$AH == "function" ? this._$AH.call(((t = this.options) == null ? void 0 : t.host) ?? this.element, e) : this._$AH.handleEvent(e);
495
495
  }
496
496
  }
497
- class Y5 {
497
+ class t4 {
498
498
  constructor(e, t, o) {
499
499
  this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = o;
500
500
  }
@@ -502,17 +502,17 @@ class Y5 {
502
502
  return this._$AM._$AU;
503
503
  }
504
504
  _$AI(e) {
505
- Y(this, e);
505
+ X(this, e);
506
506
  }
507
507
  }
508
- const E1 = t1.litHtmlPolyfillSupport;
509
- E1 == null || E1(l1, H1), (t1.litHtmlVersions ?? (t1.litHtmlVersions = [])).push("3.3.2");
510
- const W5 = (l, e, t) => {
508
+ const z1 = l1.litHtmlPolyfillSupport;
509
+ z1 == null || z1(r1, g1), (l1.litHtmlVersions ?? (l1.litHtmlVersions = [])).push("3.3.2");
510
+ const C4 = (l, e, t) => {
511
511
  const o = (t == null ? void 0 : t.renderBefore) ?? e;
512
512
  let C = o._$litPart$;
513
513
  if (C === void 0) {
514
514
  const i = (t == null ? void 0 : t.renderBefore) ?? null;
515
- o._$litPart$ = C = new H1(e.insertBefore(C1(), i), i, void 0, t ?? {});
515
+ o._$litPart$ = C = new g1(e.insertBefore(i1(), i), i, void 0, t ?? {});
516
516
  }
517
517
  return C._$AI(l), C;
518
518
  };
@@ -521,8 +521,8 @@ const W5 = (l, e, t) => {
521
521
  * Copyright 2017 Google LLC
522
522
  * SPDX-License-Identifier: BSD-3-Clause
523
523
  */
524
- const S = globalThis;
525
- let h = class extends G {
524
+ const I = globalThis;
525
+ let u = class extends W {
526
526
  constructor() {
527
527
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
528
528
  }
@@ -533,7 +533,7 @@ let h = class extends G {
533
533
  }
534
534
  update(e) {
535
535
  const t = this.render();
536
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = W5(t, this.renderRoot, this.renderOptions);
536
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = C4(t, this.renderRoot, this.renderOptions);
537
537
  }
538
538
  connectedCallback() {
539
539
  var e;
@@ -544,20 +544,20 @@ let h = class extends G {
544
544
  super.disconnectedCallback(), (e = this._$Do) == null || e.setConnected(!1);
545
545
  }
546
546
  render() {
547
- return O;
547
+ return N;
548
548
  }
549
549
  };
550
- var l5;
551
- h._$litElement$ = !0, h.finalized = !0, (l5 = S.litElementHydrateSupport) == null || l5.call(S, { LitElement: h });
552
- const A1 = S.litElementPolyfillSupport;
553
- A1 == null || A1({ LitElement: h });
554
- (S.litElementVersions ?? (S.litElementVersions = [])).push("4.2.2");
550
+ var c5;
551
+ u._$litElement$ = !0, u.finalized = !0, (c5 = I.litElementHydrateSupport) == null || c5.call(I, { LitElement: u });
552
+ const F1 = I.litElementPolyfillSupport;
553
+ F1 == null || F1({ LitElement: u });
554
+ (I.litElementVersions ?? (I.litElementVersions = [])).push("4.2.2");
555
555
  /**
556
556
  * @license
557
557
  * Copyright 2017 Google LLC
558
558
  * SPDX-License-Identifier: BSD-3-Clause
559
559
  */
560
- const K5 = { attribute: !0, type: String, converter: L1, reflect: !1, hasChanged: X1 }, X5 = (l = K5, e, t) => {
560
+ const o4 = { attribute: !0, type: String, converter: M1, reflect: !1, hasChanged: t2 }, l4 = (l = o4, e, t) => {
561
561
  const { kind: o, metadata: C } = t;
562
562
  let i = globalThis.litPropertyMetadata.get(C);
563
563
  if (i === void 0 && globalThis.litPropertyMetadata.set(C, i = /* @__PURE__ */ new Map()), o === "setter" && ((l = Object.create(l)).wrapped = !0), i.set(t.name, l), o === "accessor") {
@@ -579,7 +579,7 @@ const K5 = { attribute: !0, type: String, converter: L1, reflect: !1, hasChanged
579
579
  throw Error("Unsupported decorator location: " + o);
580
580
  };
581
581
  function r(l) {
582
- return (e, t) => typeof t == "object" ? X5(l, e, t) : ((o, C, i) => {
582
+ return (e, t) => typeof t == "object" ? l4(l, e, t) : ((o, C, i) => {
583
583
  const n = C.hasOwnProperty(i);
584
584
  return C.constructor.createProperty(i, o), n ? Object.getOwnPropertyDescriptor(C, i) : void 0;
585
585
  })(l, e, t);
@@ -589,7 +589,7 @@ function r(l) {
589
589
  * Copyright 2017 Google LLC
590
590
  * SPDX-License-Identifier: BSD-3-Clause
591
591
  */
592
- function T(l) {
592
+ function _(l) {
593
593
  return r({ ...l, state: !0, attribute: !1 });
594
594
  }
595
595
  /**
@@ -597,29 +597,29 @@ function T(l) {
597
597
  * Copyright 2017 Google LLC
598
598
  * SPDX-License-Identifier: BSD-3-Clause
599
599
  */
600
- const J5 = (l, e, t) => (t.configurable = !0, t.enumerable = !0, Reflect.decorate && typeof e != "object" && Object.defineProperty(l, e, t), t);
600
+ const i4 = (l, e, t) => (t.configurable = !0, t.enumerable = !0, Reflect.decorate && typeof e != "object" && Object.defineProperty(l, e, t), t);
601
601
  /**
602
602
  * @license
603
603
  * Copyright 2017 Google LLC
604
604
  * SPDX-License-Identifier: BSD-3-Clause
605
605
  */
606
- function N(l, e) {
606
+ function F(l, e) {
607
607
  return (t, o, C) => {
608
608
  const i = (n) => {
609
609
  var a;
610
610
  return ((a = n.renderRoot) == null ? void 0 : a.querySelector(l)) ?? null;
611
611
  };
612
- return J5(t, o, { get() {
612
+ return i4(t, o, { get() {
613
613
  return i(this);
614
614
  } });
615
615
  };
616
616
  }
617
- var Q5 = Object.defineProperty, c5 = (l, e, t, o) => {
617
+ var n4 = Object.defineProperty, V5 = (l, e, t, o) => {
618
618
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
619
619
  (n = l[i]) && (C = n(e, t, C) || C);
620
- return C && Q5(e, t, C), C;
620
+ return C && n4(e, t, C), C;
621
621
  };
622
- const C2 = class C2 extends h {
622
+ const n2 = class n2 extends u {
623
623
  constructor() {
624
624
  super(...arguments), this.size = "medium", this.percent = "";
625
625
  }
@@ -642,7 +642,7 @@ const C2 = class C2 extends h {
642
642
  let C;
643
643
  o ? C = 0.75 * Math.PI * e : C = (1 - Math.max(0, Math.min(1, parseFloat(this.percent) || 0))) * Math.PI * e;
644
644
  const i = t / 2, n = t + e, a = e / 2, s = Math.PI * e;
645
- return F1`
645
+ return D1`
646
646
  <svg
647
647
  class=${o ? "spinner" : ""}
648
648
  width="${e}px"
@@ -676,20 +676,20 @@ const C2 = class C2 extends h {
676
676
  `;
677
677
  }
678
678
  };
679
- C2.styles = H`
679
+ n2.styles = H`
680
680
  :host { display: inline-block; line-height: 0; font-family: var(--font-sans); }
681
681
  .spinner { animation: circle 0.6s linear infinite; }
682
682
  @keyframes circle { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
683
683
  `;
684
- let i1 = C2;
685
- c5([
684
+ let a1 = n2;
685
+ V5([
686
686
  r()
687
- ], i1.prototype, "size");
688
- c5([
687
+ ], a1.prototype, "size");
688
+ V5([
689
689
  r()
690
- ], i1.prototype, "percent");
691
- customElements.get("anduin-spinner") || customElements.define("anduin-spinner", i1);
692
- const X2 = {
690
+ ], a1.prototype, "percent");
691
+ customElements.get("anduin-spinner") || customElements.define("anduin-spinner", a1);
692
+ const o5 = {
693
693
  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" }],
694
694
  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" }],
695
695
  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" }],
@@ -1026,18 +1026,18 @@ const X2 = {
1026
1026
  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" }],
1027
1027
  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" }]
1028
1028
  };
1029
- var e4 = Object.defineProperty, p5 = (l, e, t, o) => {
1029
+ var r4 = Object.defineProperty, g5 = (l, e, t, o) => {
1030
1030
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
1031
1031
  (n = l[i]) && (C = n(e, t, C) || C);
1032
- return C && e4(e, t, C), C;
1032
+ return C && r4(e, t, C), C;
1033
1033
  };
1034
- const o2 = class o2 extends h {
1034
+ const r2 = class r2 extends u {
1035
1035
  constructor() {
1036
1036
  super(...arguments), this.name = "", this.size = 16;
1037
1037
  }
1038
1038
  render() {
1039
- const e = this.name && X2[this.name] ? X2[this.name] : [], t = !this.name;
1040
- return F1`
1039
+ const e = this.name && o5[this.name] ? o5[this.name] : [], t = !this.name;
1040
+ return D1`
1041
1041
  <svg
1042
1042
  class=${t ? "icon--hidden" : ""}
1043
1043
  xmlns="http://www.w3.org/2000/svg"
@@ -1047,7 +1047,7 @@ const o2 = class o2 extends h {
1047
1047
  viewBox="0 0 16 16"
1048
1048
  >
1049
1049
  ${e.map(
1050
- (o) => F1`
1050
+ (o) => D1`
1051
1051
  <path
1052
1052
  fill="currentColor"
1053
1053
  d="${o.d}"
@@ -1059,24 +1059,24 @@ const o2 = class o2 extends h {
1059
1059
  `;
1060
1060
  }
1061
1061
  };
1062
- o2.styles = H`
1062
+ r2.styles = H`
1063
1063
  :host { display: block; line-height: 0; font-family: var(--font-sans); }
1064
1064
  .icon--hidden { display: none; }
1065
1065
  `;
1066
- let n1 = o2;
1067
- p5([
1066
+ let s1 = r2;
1067
+ g5([
1068
1068
  r()
1069
- ], n1.prototype, "name");
1070
- p5([
1069
+ ], s1.prototype, "name");
1070
+ g5([
1071
1071
  r({ type: Number })
1072
- ], n1.prototype, "size");
1073
- customElements.get("anduin-icon") || customElements.define("anduin-icon", n1);
1074
- var t4 = Object.defineProperty, C4 = (l, e, t, o) => {
1072
+ ], s1.prototype, "size");
1073
+ customElements.get("anduin-icon") || customElements.define("anduin-icon", s1);
1074
+ var a4 = Object.defineProperty, s4 = (l, e, t, o) => {
1075
1075
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
1076
1076
  (n = l[i]) && (C = n(e, t, C) || C);
1077
- return C && t4(e, t, C), C;
1077
+ return C && a4(e, t, C), C;
1078
1078
  };
1079
- const u5 = H`
1079
+ const L5 = H`
1080
1080
  :host { display: inline-block; font-family: var(--font-sans); }
1081
1081
  .badge {
1082
1082
  border-radius: 9999px;
@@ -1103,7 +1103,7 @@ const u5 = H`
1103
1103
  .badge--bold-warning { background-color: var(--color-semantic-warning-3); color: var(--color-semantic-gray-8); }
1104
1104
  .badge--hidden { display: none; }
1105
1105
  `;
1106
- function h5(l) {
1106
+ function m5(l) {
1107
1107
  return {
1108
1108
  gray: "badge--light-gray",
1109
1109
  primary: "badge--light-primary",
@@ -1117,27 +1117,27 @@ function h5(l) {
1117
1117
  boldDanger: "badge--bold-danger"
1118
1118
  }[l || "gray"] || "badge--light-gray";
1119
1119
  }
1120
- const l2 = class l2 extends h {
1120
+ const a2 = class a2 extends u {
1121
1121
  constructor() {
1122
1122
  super(...arguments), this.variant = "gray";
1123
1123
  }
1124
1124
  render() {
1125
- const e = h5(this.variant);
1125
+ const e = m5(this.variant);
1126
1126
  return d`<div class="badge ${e}" part="badge"><slot></slot></div>`;
1127
1127
  }
1128
1128
  };
1129
- l2.styles = [u5];
1130
- let M1 = l2;
1131
- C4([
1129
+ a2.styles = [L5];
1130
+ let Z1 = a2;
1131
+ s4([
1132
1132
  r()
1133
- ], M1.prototype, "variant");
1134
- customElements.get("anduin-badge") || customElements.define("anduin-badge", M1);
1135
- var o4 = Object.defineProperty, H5 = (l, e, t, o) => {
1133
+ ], Z1.prototype, "variant");
1134
+ customElements.get("anduin-badge") || customElements.define("anduin-badge", Z1);
1135
+ var d4 = Object.defineProperty, M5 = (l, e, t, o) => {
1136
1136
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
1137
1137
  (n = l[i]) && (C = n(e, t, C) || C);
1138
- return C && o4(e, t, C), C;
1138
+ return C && d4(e, t, C), C;
1139
1139
  };
1140
- const i2 = class i2 extends h {
1140
+ const s2 = class s2 extends u {
1141
1141
  constructor() {
1142
1142
  super(...arguments), this.variant = "gray", this.count = 0;
1143
1143
  }
@@ -1145,7 +1145,7 @@ const i2 = class i2 extends h {
1145
1145
  return e > 99 ? "99+" : e.toString();
1146
1146
  }
1147
1147
  render() {
1148
- const e = h5(this.variant), t = this.count === 0, o = this.count > 0 && this.count < 10, C = [
1148
+ const e = m5(this.variant), t = this.count === 0, o = this.count > 0 && this.count < 10, C = [
1149
1149
  "badge",
1150
1150
  e,
1151
1151
  t ? "badge--hidden" : "",
@@ -1154,24 +1154,24 @@ const i2 = class i2 extends h {
1154
1154
  return d`<div class="${C}" part="badge">${this.formatCount(this.count)}</div>`;
1155
1155
  }
1156
1156
  };
1157
- i2.styles = [u5];
1158
- let r1 = i2;
1159
- H5([
1157
+ s2.styles = [L5];
1158
+ let d1 = s2;
1159
+ M5([
1160
1160
  r()
1161
- ], r1.prototype, "variant");
1162
- H5([
1161
+ ], d1.prototype, "variant");
1162
+ M5([
1163
1163
  r({ type: Number })
1164
- ], r1.prototype, "count");
1165
- customElements.get("anduin-badge-count") || customElements.define("anduin-badge-count", r1);
1166
- var l4 = Object.defineProperty, L = (l, e, t, o) => {
1164
+ ], d1.prototype, "count");
1165
+ customElements.get("anduin-badge-count") || customElements.define("anduin-badge-count", d1);
1166
+ var c4 = Object.defineProperty, g = (l, e, t, o) => {
1167
1167
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
1168
1168
  (n = l[i]) && (C = n(e, t, C) || C);
1169
- return C && l4(e, t, C), C;
1169
+ return C && c4(e, t, C), C;
1170
1170
  };
1171
- function i4(l) {
1171
+ function p4(l) {
1172
1172
  return l.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);
1173
1173
  }
1174
- const n2 = class n2 extends h {
1174
+ const d2 = class d2 extends u {
1175
1175
  constructor() {
1176
1176
  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 = "";
1177
1177
  }
@@ -1188,7 +1188,7 @@ const n2 = class n2 extends h {
1188
1188
  return this.variant ? this.variant : this.appearance === "filled" ? "gray0" : this.appearance === "text" ? "primary" : "gray9";
1189
1189
  }
1190
1190
  getSizeKebab() {
1191
- return i4(this.size);
1191
+ return p4(this.size);
1192
1192
  }
1193
1193
  iconSize() {
1194
1194
  return this.size === "tiny" || this.size === "extraSmall" || this.size === "small" ? "12" : "16";
@@ -1232,7 +1232,7 @@ const n2 = class n2 extends h {
1232
1232
  `;
1233
1233
  }
1234
1234
  };
1235
- n2.styles = H`
1235
+ d2.styles = H`
1236
1236
  :host { display: inline-block; font-family: var(--font-sans); }
1237
1237
  :host([full-width]) { display: block; width: 100%; }
1238
1238
  .button {
@@ -1334,59 +1334,59 @@ n2.styles = H`
1334
1334
  .button--icon-only.button--medium { width: 32px; min-width: 32px; padding-left: 0; padding-right: 0; }
1335
1335
  .button--icon-only.button--large { width: 40px; min-width: 40px; padding-left: 0; padding-right: 0; }
1336
1336
  `;
1337
- let V = n2;
1338
- L([
1339
- T()
1337
+ let V = d2;
1338
+ g([
1339
+ _()
1340
1340
  ], V.prototype, "iconOnly");
1341
- L([
1341
+ g([
1342
1342
  r({ converter: (l) => l || "filled" })
1343
1343
  ], V.prototype, "appearance");
1344
- L([
1344
+ g([
1345
1345
  r()
1346
1346
  ], V.prototype, "variant");
1347
- L([
1347
+ g([
1348
1348
  r()
1349
1349
  ], V.prototype, "size");
1350
- L([
1350
+ g([
1351
1351
  r({ type: Boolean })
1352
1352
  ], V.prototype, "disabled");
1353
- L([
1353
+ g([
1354
1354
  r({ type: Boolean })
1355
1355
  ], V.prototype, "loading");
1356
- L([
1356
+ g([
1357
1357
  r({ type: Boolean, attribute: "full-width" })
1358
1358
  ], V.prototype, "fullWidth");
1359
- L([
1359
+ g([
1360
1360
  r({ type: Boolean })
1361
1361
  ], V.prototype, "pill");
1362
- L([
1362
+ g([
1363
1363
  r({ type: Boolean })
1364
1364
  ], V.prototype, "selected");
1365
- L([
1365
+ g([
1366
1366
  r()
1367
1367
  ], V.prototype, "href");
1368
- L([
1368
+ g([
1369
1369
  r({ type: Boolean, attribute: "open-new-tab" })
1370
1370
  ], V.prototype, "openNewTab");
1371
- L([
1371
+ g([
1372
1372
  r()
1373
1373
  ], V.prototype, "download");
1374
- L([
1374
+ g([
1375
1375
  r({ attribute: "start-icon" })
1376
1376
  ], V.prototype, "startIcon");
1377
- L([
1377
+ g([
1378
1378
  r({ attribute: "end-icon" })
1379
1379
  ], V.prototype, "endIcon");
1380
- L([
1380
+ g([
1381
1381
  r()
1382
1382
  ], V.prototype, "label");
1383
1383
  customElements.get("anduin-button") || customElements.define("anduin-button", V);
1384
- var n4 = Object.defineProperty, r4 = (l, e, t, o) => {
1384
+ var u4 = Object.defineProperty, h4 = (l, e, t, o) => {
1385
1385
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
1386
1386
  (n = l[i]) && (C = n(e, t, C) || C);
1387
- return C && n4(e, t, C), C;
1387
+ return C && u4(e, t, C), C;
1388
1388
  };
1389
- const r2 = class r2 extends h {
1389
+ const c2 = class c2 extends u {
1390
1390
  constructor() {
1391
1391
  super(...arguments), this.variant = "gray";
1392
1392
  }
@@ -1399,7 +1399,7 @@ const r2 = class r2 extends h {
1399
1399
  `;
1400
1400
  }
1401
1401
  };
1402
- r2.styles = H`
1402
+ c2.styles = H`
1403
1403
  :host { display: block; font-family: var(--font-sans); }
1404
1404
  .callout {
1405
1405
  display: flex; align-items: center; justify-content: center;
@@ -1411,17 +1411,17 @@ r2.styles = H`
1411
1411
  .callout--danger { background-color: var(--color-semantic-danger-4); color: var(--color-semantic-gray-0); }
1412
1412
  .callout--warning { background-color: var(--color-semantic-warning-3); color: var(--color-semantic-gray-8); }
1413
1413
  `;
1414
- let m1 = r2;
1415
- r4([
1414
+ let y1 = c2;
1415
+ h4([
1416
1416
  r()
1417
- ], m1.prototype, "variant");
1418
- customElements.get("anduin-callout") || customElements.define("anduin-callout", m1);
1419
- var a4 = Object.defineProperty, v5 = (l, e, t, o) => {
1417
+ ], y1.prototype, "variant");
1418
+ customElements.get("anduin-callout") || customElements.define("anduin-callout", y1);
1419
+ var H4 = Object.defineProperty, b5 = (l, e, t, o) => {
1420
1420
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
1421
1421
  (n = l[i]) && (C = n(e, t, C) || C);
1422
- return C && a4(e, t, C), C;
1422
+ return C && H4(e, t, C), C;
1423
1423
  };
1424
- const a2 = class a2 extends h {
1424
+ const p2 = class p2 extends u {
1425
1425
  constructor() {
1426
1426
  super(...arguments), this.direction = "horizontal", this.hasContent = !1;
1427
1427
  }
@@ -1452,7 +1452,7 @@ const a2 = class a2 extends h {
1452
1452
  </div>` : d`<div class="divider--horizontal divider--horizontal-empty"><slot @slotchange=${this.onSlotChange}></slot></div>`;
1453
1453
  }
1454
1454
  };
1455
- a2.styles = H`
1455
+ p2.styles = H`
1456
1456
  :host { width: 100%; font-family: var(--font-sans); }
1457
1457
  :host([direction="vertical"]) { width: auto; height: 100%; }
1458
1458
  .divider--horizontal { margin-top: 8px; margin-bottom: 8px; width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; column-gap: 8px; text-align: center; }
@@ -1462,20 +1462,20 @@ a2.styles = H`
1462
1462
  .divider--vertical-empty { background-color: var(--color-gray-3); width: 1px; }
1463
1463
  .divider__line--vertical { border-left: 1px solid var(--color-gray-3); justify-self: center; }
1464
1464
  `;
1465
- let a1 = a2;
1466
- v5([
1465
+ let c1 = p2;
1466
+ b5([
1467
1467
  r()
1468
- ], a1.prototype, "direction");
1469
- v5([
1470
- T()
1471
- ], a1.prototype, "hasContent");
1472
- customElements.get("anduin-divider") || customElements.define("anduin-divider", a1);
1473
- var s4 = Object.defineProperty, d4 = (l, e, t, o) => {
1468
+ ], c1.prototype, "direction");
1469
+ b5([
1470
+ _()
1471
+ ], c1.prototype, "hasContent");
1472
+ customElements.get("anduin-divider") || customElements.define("anduin-divider", c1);
1473
+ var v4 = Object.defineProperty, f4 = (l, e, t, o) => {
1474
1474
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
1475
1475
  (n = l[i]) && (C = n(e, t, C) || C);
1476
- return C && s4(e, t, C), C;
1476
+ return C && v4(e, t, C), C;
1477
1477
  };
1478
- const s2 = class s2 extends h {
1478
+ const u2 = class u2 extends u {
1479
1479
  constructor() {
1480
1480
  super(...arguments), this.variant = "gray";
1481
1481
  }
@@ -1483,7 +1483,7 @@ const s2 = class s2 extends h {
1483
1483
  return d`<div class="dot dot--${this.variant}" part="dot"></div>`;
1484
1484
  }
1485
1485
  };
1486
- s2.styles = H`
1486
+ u2.styles = H`
1487
1487
  :host { display: inline-block; font-family: var(--font-sans); }
1488
1488
  .dot { width: 10px; height: 10px; border-radius: 9999px; }
1489
1489
  .dot--gray { background-color: var(--color-semantic-gray-6); color: var(--color-semantic-gray-0); }
@@ -1492,17 +1492,17 @@ s2.styles = H`
1492
1492
  .dot--danger { background-color: var(--color-semantic-danger-4); color: var(--color-semantic-gray-0); }
1493
1493
  .dot--warning { background-color: var(--color-semantic-warning-3); color: var(--color-semantic-gray-8); }
1494
1494
  `;
1495
- let b1 = s2;
1496
- d4([
1495
+ let x1 = u2;
1496
+ f4([
1497
1497
  r()
1498
- ], b1.prototype, "variant");
1499
- customElements.get("anduin-dot") || customElements.define("anduin-dot", b1);
1500
- var c4 = Object.defineProperty, f5 = (l, e, t, o) => {
1498
+ ], x1.prototype, "variant");
1499
+ customElements.get("anduin-dot") || customElements.define("anduin-dot", x1);
1500
+ var V4 = Object.defineProperty, Z5 = (l, e, t, o) => {
1501
1501
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
1502
1502
  (n = l[i]) && (C = n(e, t, C) || C);
1503
- return C && c4(e, t, C), C;
1503
+ return C && V4(e, t, C), C;
1504
1504
  };
1505
- const d2 = class d2 extends h {
1505
+ const h2 = class h2 extends u {
1506
1506
  constructor() {
1507
1507
  super(...arguments), this.percent = "", this.height = "medium";
1508
1508
  }
@@ -1518,7 +1518,7 @@ const d2 = class d2 extends h {
1518
1518
  `;
1519
1519
  }
1520
1520
  };
1521
- d2.styles = H`
1521
+ h2.styles = H`
1522
1522
  :host { display: block; font-family: var(--font-sans); }
1523
1523
  .progress { overflow-x: hidden; position: relative; border-radius: 9999px; }
1524
1524
  .progress__fill {
@@ -1534,20 +1534,20 @@ d2.styles = H`
1534
1534
  to { transform: translateX(330%); }
1535
1535
  }
1536
1536
  `;
1537
- let s1 = d2;
1538
- f5([
1537
+ let p1 = h2;
1538
+ Z5([
1539
1539
  r()
1540
- ], s1.prototype, "percent");
1541
- f5([
1540
+ ], p1.prototype, "percent");
1541
+ Z5([
1542
1542
  r()
1543
- ], s1.prototype, "height");
1544
- customElements.get("anduin-progress") || customElements.define("anduin-progress", s1);
1545
- var p4 = Object.defineProperty, J = (l, e, t, o) => {
1543
+ ], p1.prototype, "height");
1544
+ customElements.get("anduin-progress") || customElements.define("anduin-progress", p1);
1545
+ var g4 = Object.defineProperty, e1 = (l, e, t, o) => {
1546
1546
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
1547
1547
  (n = l[i]) && (C = n(e, t, C) || C);
1548
- return C && p4(e, t, C), C;
1548
+ return C && g4(e, t, C), C;
1549
1549
  };
1550
- const c2 = class c2 extends h {
1550
+ const H2 = class H2 extends u {
1551
1551
  constructor() {
1552
1552
  super(...arguments), this.effect = "pulse", this.shape = "rectangle", this.height = "", this.width = "100%", this.duration = 1500, this.fontSize = "";
1553
1553
  }
@@ -1566,7 +1566,7 @@ const c2 = class c2 extends h {
1566
1566
  `;
1567
1567
  }
1568
1568
  };
1569
- c2.styles = H`
1569
+ H2.styles = H`
1570
1570
  :host { display: block; height: 100%; font-family: var(--font-sans); }
1571
1571
  .skeleton { background-color: var(--color-gray-3); position: relative; overflow: hidden; }
1572
1572
  .skeleton--circle { border-radius: 9999px; }
@@ -1585,32 +1585,32 @@ c2.styles = H`
1585
1585
  0% { transform: translateX(-100%); } 100% { transform: translateX(100%); }
1586
1586
  }
1587
1587
  `;
1588
- let R = c2;
1589
- J([
1588
+ let R = H2;
1589
+ e1([
1590
1590
  r()
1591
1591
  ], R.prototype, "effect");
1592
- J([
1592
+ e1([
1593
1593
  r()
1594
1594
  ], R.prototype, "shape");
1595
- J([
1595
+ e1([
1596
1596
  r()
1597
1597
  ], R.prototype, "height");
1598
- J([
1598
+ e1([
1599
1599
  r()
1600
1600
  ], R.prototype, "width");
1601
- J([
1601
+ e1([
1602
1602
  r({ type: Number })
1603
1603
  ], R.prototype, "duration");
1604
- J([
1604
+ e1([
1605
1605
  r({ attribute: "font-size" })
1606
1606
  ], R.prototype, "fontSize");
1607
1607
  customElements.get("anduin-skeleton") || customElements.define("anduin-skeleton", R);
1608
- var u4 = Object.defineProperty, h4 = (l, e, t, o) => {
1608
+ var L4 = Object.defineProperty, m4 = (l, e, t, o) => {
1609
1609
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
1610
1610
  (n = l[i]) && (C = n(e, t, C) || C);
1611
- return C && u4(e, t, C), C;
1611
+ return C && L4(e, t, C), C;
1612
1612
  };
1613
- const p2 = class p2 extends h {
1613
+ const v2 = class v2 extends u {
1614
1614
  constructor() {
1615
1615
  super(...arguments), this.height = "256px";
1616
1616
  }
@@ -1625,30 +1625,30 @@ const p2 = class p2 extends h {
1625
1625
  `;
1626
1626
  }
1627
1627
  };
1628
- p2.styles = H`
1628
+ v2.styles = H`
1629
1629
  :host { display: block; height: 100%; font-family: var(--font-sans); }
1630
1630
  .loading-state { display: flex; flex-direction: column; justify-content: center; align-items: center; }
1631
1631
  .loading-state__indicator { color: var(--color-primary-4); }
1632
1632
  .loading-state__content { margin-top: 12px; font-size: 15px; color: var(--color-gray-6); }
1633
1633
  `;
1634
- let Z1 = p2;
1635
- h4([
1634
+ let _1 = v2;
1635
+ m4([
1636
1636
  r()
1637
- ], Z1.prototype, "height");
1638
- customElements.get("anduin-loading-state") || customElements.define("anduin-loading-state", Z1);
1639
- var H4 = Object.defineProperty, Q1 = (l, e, t, o) => {
1637
+ ], _1.prototype, "height");
1638
+ customElements.get("anduin-loading-state") || customElements.define("anduin-loading-state", _1);
1639
+ var M4 = Object.defineProperty, o2 = (l, e, t, o) => {
1640
1640
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
1641
1641
  (n = l[i]) && (C = n(e, t, C) || C);
1642
- return C && H4(e, t, C), C;
1642
+ return C && M4(e, t, C), C;
1643
1643
  };
1644
- const V5 = "anduin-field:label-click", _1 = "anduin-field:label-click-coordinated", u2 = class u2 extends h {
1644
+ const y5 = "anduin-field:label-click", $1 = "anduin-field:label-click-coordinated", f2 = class f2 extends u {
1645
1645
  constructor() {
1646
1646
  super(...arguments), this.orientation = "vertical";
1647
1647
  }
1648
1648
  connectedCallback() {
1649
- super.connectedCallback(), this.addEventListener(V5, (e) => {
1649
+ super.connectedCallback(), this.addEventListener(y5, (e) => {
1650
1650
  const t = e;
1651
- this.dispatchEvent(new CustomEvent(_1, {
1651
+ this.dispatchEvent(new CustomEvent($1, {
1652
1652
  detail: t.detail,
1653
1653
  bubbles: !1,
1654
1654
  composed: !1
@@ -1664,17 +1664,17 @@ const V5 = "anduin-field:label-click", _1 = "anduin-field:label-click-coordinate
1664
1664
  `;
1665
1665
  }
1666
1666
  };
1667
- u2.styles = H`
1667
+ f2.styles = H`
1668
1668
  :host { display: block; font-family: var(--font-sans); }
1669
1669
  .field { display: flex; flex-wrap: wrap; }
1670
1670
  .field--vertical { flex-direction: column; row-gap: 4px; }
1671
1671
  .field--horizontal { column-gap: 4px; }
1672
1672
  `;
1673
- let y1 = u2;
1674
- Q1([
1673
+ let R1 = f2;
1674
+ o2([
1675
1675
  r()
1676
- ], y1.prototype, "orientation");
1677
- const h2 = class h2 extends h {
1676
+ ], R1.prototype, "orientation");
1677
+ const V2 = class V2 extends u {
1678
1678
  constructor() {
1679
1679
  super(...arguments), this.htmlfor = "", this.required = !1;
1680
1680
  }
@@ -1682,7 +1682,7 @@ const h2 = class h2 extends h {
1682
1682
  super.connectedCallback();
1683
1683
  }
1684
1684
  onLabelClick(e) {
1685
- this.htmlfor && (e.preventDefault(), this.dispatchEvent(new CustomEvent(V5, {
1685
+ this.htmlfor && (e.preventDefault(), this.dispatchEvent(new CustomEvent(y5, {
1686
1686
  detail: this.htmlfor,
1687
1687
  bubbles: !0,
1688
1688
  composed: !0
@@ -1701,72 +1701,72 @@ const h2 = class h2 extends h {
1701
1701
  `;
1702
1702
  }
1703
1703
  };
1704
- h2.styles = H`
1704
+ V2.styles = H`
1705
1705
  :host { display: inline-block; font-family: var(--font-sans); }
1706
1706
  .field-label { font-size: 13px; line-height: 20px; font-weight: 600; cursor: default; }
1707
1707
  .field-label__required { color: var(--color-danger-5); }
1708
1708
  `;
1709
- let d1 = h2;
1710
- Q1([
1709
+ let u1 = V2;
1710
+ o2([
1711
1711
  r()
1712
- ], d1.prototype, "htmlfor");
1713
- Q1([
1712
+ ], u1.prototype, "htmlfor");
1713
+ o2([
1714
1714
  r({ type: Boolean })
1715
- ], d1.prototype, "required");
1716
- const H2 = class H2 extends h {
1715
+ ], u1.prototype, "required");
1716
+ const g2 = class g2 extends u {
1717
1717
  render() {
1718
1718
  return d`<div class="field-description" part="description"><slot></slot></div>`;
1719
1719
  }
1720
1720
  };
1721
- H2.styles = H`
1721
+ g2.styles = H`
1722
1722
  :host { display: inline-block; font-family: var(--font-sans); }
1723
1723
  .field-description { display: block; line-height: 16px; font-size: 11px; color: var(--color-gray-7); }
1724
1724
  `;
1725
- let z1 = H2;
1726
- const v2 = class v2 extends h {
1725
+ let O1 = g2;
1726
+ const L2 = class L2 extends u {
1727
1727
  render() {
1728
1728
  return d`<div class="field-error" part="error"><slot></slot></div>`;
1729
1729
  }
1730
1730
  };
1731
- v2.styles = H`
1731
+ L2.styles = H`
1732
1732
  :host { display: block; font-family: var(--font-sans); }
1733
1733
  .field-error { color: var(--color-danger-4); }
1734
1734
  `;
1735
- let P1 = v2;
1736
- const f2 = class f2 extends h {
1735
+ let I1 = L2;
1736
+ const m2 = class m2 extends u {
1737
1737
  render() {
1738
1738
  return d`<div class="field-group" part="group"><slot></slot></div>`;
1739
1739
  }
1740
1740
  };
1741
- f2.styles = H`
1741
+ m2.styles = H`
1742
1742
  :host { display: block; font-family: var(--font-sans); }
1743
1743
  .field-group { display: flex; flex-direction: column; row-gap: 24px; }
1744
1744
  `;
1745
- let S1 = f2;
1746
- customElements.get("anduin-field") || customElements.define("anduin-field", y1);
1747
- customElements.get("anduin-field-label") || customElements.define("anduin-field-label", d1);
1748
- customElements.get("anduin-field-description") || customElements.define("anduin-field-description", z1);
1749
- customElements.get("anduin-field-error") || customElements.define("anduin-field-error", P1);
1750
- customElements.get("anduin-field-group") || customElements.define("anduin-field-group", S1);
1751
- var v4 = Object.defineProperty, v1 = (l, e, t, o) => {
1745
+ let T1 = m2;
1746
+ customElements.get("anduin-field") || customElements.define("anduin-field", R1);
1747
+ customElements.get("anduin-field-label") || customElements.define("anduin-field-label", u1);
1748
+ customElements.get("anduin-field-description") || customElements.define("anduin-field-description", O1);
1749
+ customElements.get("anduin-field-error") || customElements.define("anduin-field-error", I1);
1750
+ customElements.get("anduin-field-group") || customElements.define("anduin-field-group", T1);
1751
+ var b4 = Object.defineProperty, L1 = (l, e, t, o) => {
1752
1752
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
1753
1753
  (n = l[i]) && (C = n(e, t, C) || C);
1754
- return C && v4(e, t, C), C;
1754
+ return C && b4(e, t, C), C;
1755
1755
  };
1756
- const f4 = "anduin-checkbox:change", V2 = class V2 extends h {
1756
+ const Z4 = "anduin-checkbox:change", M2 = class M2 extends u {
1757
1757
  constructor() {
1758
1758
  super(...arguments), this.checked = !1, this.disabled = !1, this.indeterminate = !1, this.readonly = !1, this.inputid = "";
1759
1759
  }
1760
1760
  connectedCallback() {
1761
1761
  super.connectedCallback();
1762
1762
  const e = this.closest("anduin-field");
1763
- e && e.addEventListener(_1, (t) => {
1763
+ e && e.addEventListener($1, (t) => {
1764
1764
  const o = t;
1765
1765
  this.inputid && this.inputid === o.detail && !this.disabled && !this.readonly && this.toggle();
1766
1766
  });
1767
1767
  }
1768
1768
  toggle() {
1769
- this.checked = !this.checked, this.dispatchEvent(new CustomEvent(f4, {
1769
+ this.checked = !this.checked, this.dispatchEvent(new CustomEvent(Z4, {
1770
1770
  detail: this.checked,
1771
1771
  bubbles: !0,
1772
1772
  composed: !0
@@ -1804,7 +1804,7 @@ const f4 = "anduin-checkbox:change", V2 = class V2 extends h {
1804
1804
  `;
1805
1805
  }
1806
1806
  };
1807
- V2.styles = H`
1807
+ M2.styles = H`
1808
1808
  :host { display: inline-flex; font-family: var(--font-sans); }
1809
1809
  .checkbox { width: 16px; height: 16px; position: relative; }
1810
1810
  .checkbox--interactive { cursor: pointer; }
@@ -1827,36 +1827,36 @@ V2.styles = H`
1827
1827
  .checkbox__icon { position: absolute; inset: 0; pointer-events: none; color: var(--color-gray-4); display: flex; align-items: center; justify-content: center; }
1828
1828
  .checkbox__icon--visible { color: var(--color-gray-0); }
1829
1829
  `;
1830
- let E = V2;
1831
- v1([
1830
+ let B = M2;
1831
+ L1([
1832
1832
  r({ type: Boolean })
1833
- ], E.prototype, "checked");
1834
- v1([
1833
+ ], B.prototype, "checked");
1834
+ L1([
1835
1835
  r({ type: Boolean })
1836
- ], E.prototype, "disabled");
1837
- v1([
1836
+ ], B.prototype, "disabled");
1837
+ L1([
1838
1838
  r({ type: Boolean })
1839
- ], E.prototype, "indeterminate");
1840
- v1([
1839
+ ], B.prototype, "indeterminate");
1840
+ L1([
1841
1841
  r({ type: Boolean })
1842
- ], E.prototype, "readonly");
1843
- v1([
1842
+ ], B.prototype, "readonly");
1843
+ L1([
1844
1844
  r()
1845
- ], E.prototype, "inputid");
1846
- customElements.get("anduin-checkbox") || customElements.define("anduin-checkbox", E);
1847
- var V4 = Object.defineProperty, y = (l, e, t, o) => {
1845
+ ], B.prototype, "inputid");
1846
+ customElements.get("anduin-checkbox") || customElements.define("anduin-checkbox", B);
1847
+ var y4 = Object.defineProperty, y = (l, e, t, o) => {
1848
1848
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
1849
1849
  (n = l[i]) && (C = n(e, t, C) || C);
1850
- return C && V4(e, t, C), C;
1850
+ return C && y4(e, t, C), C;
1851
1851
  };
1852
- const J2 = "anduin-input:change", L4 = "anduin-input:clear", L2 = class L2 extends h {
1852
+ const l5 = "anduin-input:change", x4 = "anduin-input:clear", b2 = class b2 extends u {
1853
1853
  constructor() {
1854
1854
  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;
1855
1855
  }
1856
1856
  connectedCallback() {
1857
1857
  super.connectedCallback();
1858
1858
  const e = this.closest("anduin-field");
1859
- e && e.addEventListener(_1, (t) => {
1859
+ e && e.addEventListener($1, (t) => {
1860
1860
  var C;
1861
1861
  const o = t;
1862
1862
  this.inputid && this.inputid === o.detail && ((C = this.inputEl) == null || C.focus());
@@ -1866,7 +1866,7 @@ const J2 = "anduin-input:change", L4 = "anduin-input:clear", L2 = class L2 exten
1866
1866
  this.inputEl && this.inputEl.value !== this.value && (this.inputEl.value = this.value);
1867
1867
  }
1868
1868
  onInput() {
1869
- this.value = this.inputEl.value, this.dispatchEvent(new CustomEvent(J2, {
1869
+ this.value = this.inputEl.value, this.dispatchEvent(new CustomEvent(l5, {
1870
1870
  detail: this.value,
1871
1871
  bubbles: !0,
1872
1872
  composed: !0
@@ -1874,7 +1874,7 @@ const J2 = "anduin-input:change", L4 = "anduin-input:clear", L2 = class L2 exten
1874
1874
  }
1875
1875
  onClear() {
1876
1876
  var e;
1877
- this.value = "", this.inputEl && (this.inputEl.value = ""), this.dispatchEvent(new CustomEvent(J2, { detail: "", bubbles: !0, composed: !0 })), this.dispatchEvent(new CustomEvent(L4, { bubbles: !0, composed: !0 })), (e = this.inputEl) == null || e.focus();
1877
+ this.value = "", this.inputEl && (this.inputEl.value = ""), this.dispatchEvent(new CustomEvent(l5, { detail: "", bubbles: !0, composed: !0 })), this.dispatchEvent(new CustomEvent(x4, { bubbles: !0, composed: !0 })), (e = this.inputEl) == null || e.focus();
1878
1878
  }
1879
1879
  render() {
1880
1880
  const e = this.size === "small" ? "input--small" : this.size === "large" ? "input--large" : "input--default", t = this.status ? `input--${this.status}` : "", o = !!this.startIcon, C = !!this.endIcon || this.clearable && !!this.value, i = this.clearable && !!this.value && !this.disabled && !this.readonly, n = this.size === "small" ? "12" : this.size === "large" ? "20" : "16", a = this.size === "small" ? "10" : this.size === "large" ? "16" : "14";
@@ -1918,7 +1918,7 @@ const J2 = "anduin-input:change", L4 = "anduin-input:clear", L2 = class L2 exten
1918
1918
  `;
1919
1919
  }
1920
1920
  };
1921
- L2.styles = H`
1921
+ b2.styles = H`
1922
1922
  :host { display: block; font-family: var(--font-sans); }
1923
1923
 
1924
1924
  .input-wrapper { position: relative; display: flex; align-items: center; }
@@ -1972,54 +1972,54 @@ L2.styles = H`
1972
1972
  }
1973
1973
  .input__clear:hover { color: var(--color-gray-7); }
1974
1974
  `;
1975
- let g = L2;
1975
+ let L = b2;
1976
1976
  y([
1977
1977
  r()
1978
- ], g.prototype, "value");
1978
+ ], L.prototype, "value");
1979
1979
  y([
1980
1980
  r()
1981
- ], g.prototype, "size");
1981
+ ], L.prototype, "size");
1982
1982
  y([
1983
1983
  r({ type: Boolean })
1984
- ], g.prototype, "disabled");
1984
+ ], L.prototype, "disabled");
1985
1985
  y([
1986
1986
  r({ type: Boolean })
1987
- ], g.prototype, "readonly");
1987
+ ], L.prototype, "readonly");
1988
1988
  y([
1989
1989
  r()
1990
- ], g.prototype, "placeholder");
1990
+ ], L.prototype, "placeholder");
1991
1991
  y([
1992
1992
  r()
1993
- ], g.prototype, "inputid");
1993
+ ], L.prototype, "inputid");
1994
1994
  y([
1995
1995
  r()
1996
- ], g.prototype, "status");
1996
+ ], L.prototype, "status");
1997
1997
  y([
1998
1998
  r({ attribute: "start-icon" })
1999
- ], g.prototype, "startIcon");
1999
+ ], L.prototype, "startIcon");
2000
2000
  y([
2001
2001
  r({ attribute: "end-icon" })
2002
- ], g.prototype, "endIcon");
2002
+ ], L.prototype, "endIcon");
2003
2003
  y([
2004
2004
  r({ type: Boolean })
2005
- ], g.prototype, "clearable");
2005
+ ], L.prototype, "clearable");
2006
2006
  y([
2007
- N("input")
2008
- ], g.prototype, "inputEl");
2009
- customElements.get("anduin-input") || customElements.define("anduin-input", g);
2010
- var g4 = Object.defineProperty, B = (l, e, t, o) => {
2007
+ F("input")
2008
+ ], L.prototype, "inputEl");
2009
+ customElements.get("anduin-input") || customElements.define("anduin-input", L);
2010
+ var _4 = Object.defineProperty, P = (l, e, t, o) => {
2011
2011
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
2012
2012
  (n = l[i]) && (C = n(e, t, C) || C);
2013
- return C && g4(e, t, C), C;
2013
+ return C && _4(e, t, C), C;
2014
2014
  };
2015
- const M4 = "anduin-textarea:change", g2 = class g2 extends h {
2015
+ const R4 = "anduin-textarea:change", Z2 = class Z2 extends u {
2016
2016
  constructor() {
2017
2017
  super(...arguments), this.value = "", this.disabled = !1, this.readonly = !1, this.placeholder = "", this.inputid = "", this.rows = 3, this.status = "";
2018
2018
  }
2019
2019
  connectedCallback() {
2020
2020
  super.connectedCallback();
2021
2021
  const e = this.closest("anduin-field");
2022
- e && e.addEventListener(_1, (t) => {
2022
+ e && e.addEventListener($1, (t) => {
2023
2023
  var C;
2024
2024
  const o = t;
2025
2025
  this.inputid && this.inputid === o.detail && ((C = this.textareaEl) == null || C.focus());
@@ -2029,7 +2029,7 @@ const M4 = "anduin-textarea:change", g2 = class g2 extends h {
2029
2029
  this.textareaEl && this.textareaEl.value !== this.value && (this.textareaEl.value = this.value);
2030
2030
  }
2031
2031
  onInput() {
2032
- this.value = this.textareaEl.value, this.dispatchEvent(new CustomEvent(M4, {
2032
+ this.value = this.textareaEl.value, this.dispatchEvent(new CustomEvent(R4, {
2033
2033
  detail: this.value,
2034
2034
  bubbles: !0,
2035
2035
  composed: !0
@@ -2054,7 +2054,7 @@ const M4 = "anduin-textarea:change", g2 = class g2 extends h {
2054
2054
  `;
2055
2055
  }
2056
2056
  };
2057
- g2.styles = H`
2057
+ Z2.styles = H`
2058
2058
  :host { display: block; font-family: var(--font-sans); }
2059
2059
 
2060
2060
  .textarea {
@@ -2071,46 +2071,46 @@ g2.styles = H`
2071
2071
  .textarea--warning { border-color: var(--color-warning-4); }
2072
2072
  .textarea--loading { border-color: var(--color-gray-4); }
2073
2073
  `;
2074
- let Z = g2;
2075
- B([
2074
+ let Z = Z2;
2075
+ P([
2076
2076
  r()
2077
2077
  ], Z.prototype, "value");
2078
- B([
2078
+ P([
2079
2079
  r({ type: Boolean })
2080
2080
  ], Z.prototype, "disabled");
2081
- B([
2081
+ P([
2082
2082
  r({ type: Boolean })
2083
2083
  ], Z.prototype, "readonly");
2084
- B([
2084
+ P([
2085
2085
  r()
2086
2086
  ], Z.prototype, "placeholder");
2087
- B([
2087
+ P([
2088
2088
  r()
2089
2089
  ], Z.prototype, "inputid");
2090
- B([
2090
+ P([
2091
2091
  r({ type: Number })
2092
2092
  ], Z.prototype, "rows");
2093
- B([
2093
+ P([
2094
2094
  r()
2095
2095
  ], Z.prototype, "status");
2096
- B([
2097
- N("textarea")
2096
+ P([
2097
+ F("textarea")
2098
2098
  ], Z.prototype, "textareaEl");
2099
2099
  customElements.get("anduin-textarea") || customElements.define("anduin-textarea", Z);
2100
- var m4 = Object.defineProperty, M = (l, e, t, o) => {
2100
+ var w4 = Object.defineProperty, m = (l, e, t, o) => {
2101
2101
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
2102
2102
  (n = l[i]) && (C = n(e, t, C) || C);
2103
- return C && m4(e, t, C), C;
2103
+ return C && w4(e, t, C), C;
2104
2104
  };
2105
- const L5 = "anduin-tab:trigger-click", w1 = "anduin-tab:value-changed", b4 = "anduin-tab:change", M2 = class M2 extends h {
2105
+ const x5 = "anduin-tab:trigger-click", E1 = "anduin-tab:value-changed", k4 = "anduin-tab:change", y2 = class y2 extends u {
2106
2106
  constructor() {
2107
2107
  super(...arguments), this.defaultValue = "", this.value = "", this.fill = !1;
2108
2108
  }
2109
2109
  connectedCallback() {
2110
- super.connectedCallback(), this.addEventListener(L5, (e) => {
2110
+ super.connectedCallback(), this.addEventListener(x5, (e) => {
2111
2111
  e.stopPropagation();
2112
2112
  const t = e;
2113
- this.value = t.detail, this.broadcastValueChanged(t.detail), this.dispatchEvent(new CustomEvent(b4, { detail: t.detail, bubbles: !0, composed: !0 }));
2113
+ this.value = t.detail, this.broadcastValueChanged(t.detail), this.dispatchEvent(new CustomEvent(k4, { detail: t.detail, bubbles: !0, composed: !0 }));
2114
2114
  }), requestAnimationFrame(() => {
2115
2115
  const e = this.value || this.defaultValue;
2116
2116
  e && (this.value || (this.value = e), this.broadcastValueChanged(e));
@@ -2120,36 +2120,36 @@ const L5 = "anduin-tab:trigger-click", w1 = "anduin-tab:value-changed", b4 = "an
2120
2120
  e.has("value") && this.value && this.broadcastValueChanged(this.value);
2121
2121
  }
2122
2122
  broadcastValueChanged(e) {
2123
- this.dispatchEvent(new CustomEvent(w1, { detail: e, bubbles: !1, composed: !1 }));
2123
+ this.dispatchEvent(new CustomEvent(E1, { detail: e, bubbles: !1, composed: !1 }));
2124
2124
  }
2125
2125
  render() {
2126
2126
  return d`<div class="tabs" part="tabs"><slot></slot></div>`;
2127
2127
  }
2128
2128
  };
2129
- M2.styles = H`
2129
+ y2.styles = H`
2130
2130
  :host { display: flex; flex-direction: column; font-family: var(--font-sans); }
2131
2131
  :host([fill]) { flex: 1; min-height: 0; --_tab-fill-flex: 1; --_tab-fill-height: 100%; }
2132
2132
  .tabs { display: flex; flex-direction: column; width: 100%; }
2133
2133
  :host([fill]) .tabs { flex: 1; min-height: 0; }
2134
2134
  `;
2135
- let W = M2;
2136
- M([
2135
+ let K = y2;
2136
+ m([
2137
2137
  r({ attribute: "default-value" })
2138
- ], W.prototype, "defaultValue");
2139
- M([
2138
+ ], K.prototype, "defaultValue");
2139
+ m([
2140
2140
  r()
2141
- ], W.prototype, "value");
2142
- M([
2141
+ ], K.prototype, "value");
2142
+ m([
2143
2143
  r({ type: Boolean, reflect: !0 })
2144
- ], W.prototype, "fill");
2145
- const m2 = class m2 extends h {
2144
+ ], K.prototype, "fill");
2145
+ const x2 = class x2 extends u {
2146
2146
  constructor() {
2147
2147
  super(...arguments), this.alignment = "left", this.lastActiveValue = "", this.resizeObserver = null;
2148
2148
  }
2149
2149
  connectedCallback() {
2150
2150
  super.connectedCallback();
2151
2151
  const e = this.closest("anduin-tabs");
2152
- e && e.addEventListener(w1, (t) => {
2152
+ e && e.addEventListener(E1, (t) => {
2153
2153
  const o = t;
2154
2154
  this.lastActiveValue = o.detail, requestAnimationFrame(() => {
2155
2155
  this.animateIndicator(o.detail);
@@ -2185,7 +2185,7 @@ const m2 = class m2 extends h {
2185
2185
  `;
2186
2186
  }
2187
2187
  };
2188
- m2.styles = H`
2188
+ x2.styles = H`
2189
2189
  :host { display: block; font-family: var(--font-sans); }
2190
2190
  .tabs-list {
2191
2191
  display: flex; background-color: var(--color-gray-0);
@@ -2200,27 +2200,27 @@ m2.styles = H`
2200
2200
  left: 0; height: 2px; transition-duration: 200ms; transition-property: transform, width;
2201
2201
  }
2202
2202
  `;
2203
- let c1 = m2;
2204
- M([
2203
+ let h1 = x2;
2204
+ m([
2205
2205
  r()
2206
- ], c1.prototype, "alignment");
2207
- M([
2208
- N(".tabs-list__indicator")
2209
- ], c1.prototype, "indicator");
2210
- const b2 = class b2 extends h {
2206
+ ], h1.prototype, "alignment");
2207
+ m([
2208
+ F(".tabs-list__indicator")
2209
+ ], h1.prototype, "indicator");
2210
+ const _2 = class _2 extends u {
2211
2211
  constructor() {
2212
2212
  super(...arguments), this.value = "", this.startIcon = "", this.disabled = !1, this.showBadge = !1, this.badgeCount = "", this.isActive = !1;
2213
2213
  }
2214
2214
  connectedCallback() {
2215
2215
  super.connectedCallback();
2216
2216
  const e = this.closest("anduin-tabs");
2217
- e && e.addEventListener(w1, (t) => {
2217
+ e && e.addEventListener(E1, (t) => {
2218
2218
  const o = t;
2219
2219
  this.isActive = o.detail === this.value;
2220
2220
  });
2221
2221
  }
2222
2222
  onClick() {
2223
- this.dispatchEvent(new CustomEvent(L5, { detail: this.value, bubbles: !0, composed: !0 }));
2223
+ this.dispatchEvent(new CustomEvent(x5, { detail: this.value, bubbles: !0, composed: !0 }));
2224
2224
  }
2225
2225
  render() {
2226
2226
  return d`
@@ -2241,7 +2241,7 @@ const b2 = class b2 extends h {
2241
2241
  `;
2242
2242
  }
2243
2243
  };
2244
- b2.styles = H`
2244
+ _2.styles = H`
2245
2245
  :host { display: inline-block; font-family: var(--font-sans); }
2246
2246
  .tab-trigger {
2247
2247
  cursor: pointer; background: none; border: none; display: block;
@@ -2264,33 +2264,33 @@ b2.styles = H`
2264
2264
  color: var(--color-gray-7); white-space: nowrap;
2265
2265
  }
2266
2266
  `;
2267
- let _ = b2;
2268
- M([
2267
+ let w = _2;
2268
+ m([
2269
2269
  r()
2270
- ], _.prototype, "value");
2271
- M([
2270
+ ], w.prototype, "value");
2271
+ m([
2272
2272
  r({ attribute: "start-icon" })
2273
- ], _.prototype, "startIcon");
2274
- M([
2273
+ ], w.prototype, "startIcon");
2274
+ m([
2275
2275
  r({ type: Boolean })
2276
- ], _.prototype, "disabled");
2277
- M([
2276
+ ], w.prototype, "disabled");
2277
+ m([
2278
2278
  r({ type: Boolean, attribute: "show-badge" })
2279
- ], _.prototype, "showBadge");
2280
- M([
2279
+ ], w.prototype, "showBadge");
2280
+ m([
2281
2281
  r({ attribute: "badge-count" })
2282
- ], _.prototype, "badgeCount");
2283
- M([
2284
- T()
2285
- ], _.prototype, "isActive");
2286
- const Z2 = class Z2 extends h {
2282
+ ], w.prototype, "badgeCount");
2283
+ m([
2284
+ _()
2285
+ ], w.prototype, "isActive");
2286
+ const R2 = class R2 extends u {
2287
2287
  constructor() {
2288
2288
  super(...arguments), this.value = "", this.isActive = !1;
2289
2289
  }
2290
2290
  connectedCallback() {
2291
2291
  super.connectedCallback();
2292
2292
  const e = this.closest("anduin-tabs");
2293
- e && e.addEventListener(w1, (t) => {
2293
+ e && e.addEventListener(E1, (t) => {
2294
2294
  const o = t;
2295
2295
  this.isActive = o.detail === this.value;
2296
2296
  });
@@ -2306,28 +2306,28 @@ const Z2 = class Z2 extends h {
2306
2306
  `;
2307
2307
  }
2308
2308
  };
2309
- Z2.styles = H`
2309
+ R2.styles = H`
2310
2310
  :host { display: block; font-family: var(--font-sans); flex: var(--_tab-fill-flex, 0 0 auto); min-height: 0; }
2311
2311
  :host(:not([active])) { display: none; }
2312
2312
  .tab-content { width: 100%; height: var(--_tab-fill-height, auto); overflow-x: hidden; overflow-y: auto; }
2313
2313
  `;
2314
- let p1 = Z2;
2315
- M([
2314
+ let H1 = R2;
2315
+ m([
2316
2316
  r()
2317
- ], p1.prototype, "value");
2318
- M([
2319
- T()
2320
- ], p1.prototype, "isActive");
2321
- customElements.get("anduin-tabs") || customElements.define("anduin-tabs", W);
2322
- customElements.get("anduin-tabs-list") || customElements.define("anduin-tabs-list", c1);
2323
- customElements.get("anduin-tab-trigger") || customElements.define("anduin-tab-trigger", _);
2324
- customElements.get("anduin-tab-content") || customElements.define("anduin-tab-content", p1);
2325
- var Z4 = Object.defineProperty, e2 = (l, e, t, o) => {
2317
+ ], H1.prototype, "value");
2318
+ m([
2319
+ _()
2320
+ ], H1.prototype, "isActive");
2321
+ customElements.get("anduin-tabs") || customElements.define("anduin-tabs", K);
2322
+ customElements.get("anduin-tabs-list") || customElements.define("anduin-tabs-list", h1);
2323
+ customElements.get("anduin-tab-trigger") || customElements.define("anduin-tab-trigger", w);
2324
+ customElements.get("anduin-tab-content") || customElements.define("anduin-tab-content", H1);
2325
+ var $4 = Object.defineProperty, l2 = (l, e, t, o) => {
2326
2326
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
2327
2327
  (n = l[i]) && (C = n(e, t, C) || C);
2328
- return C && Z4(e, t, C), C;
2328
+ return C && $4(e, t, C), C;
2329
2329
  };
2330
- const y4 = "anduin-tag-close:click", x4 = {
2330
+ const E4 = "anduin-tag-close:click", A4 = {
2331
2331
  gray: "tag--light-gray",
2332
2332
  primary: "tag--light-primary",
2333
2333
  success: "tag--light-success",
@@ -2352,7 +2352,7 @@ const y4 = "anduin-tag-close:click", x4 = {
2352
2352
  customYellow: "tag--custom-yellow",
2353
2353
  customYellowGreen: "tag--custom-yellow-green",
2354
2354
  customYellowOrange: "tag--custom-yellow-orange"
2355
- }, R4 = {
2355
+ }, B4 = {
2356
2356
  gray: "tag__icon--light-gray",
2357
2357
  primary: "tag__icon--light-primary",
2358
2358
  success: "tag__icon--light-success",
@@ -2377,12 +2377,12 @@ const y4 = "anduin-tag-close:click", x4 = {
2377
2377
  customMagenta: "tag__icon--custom-magenta",
2378
2378
  customBlueGreen: "tag__icon--custom-blue-green",
2379
2379
  customPink: "tag__icon--custom-pink"
2380
- }, y2 = class y2 extends h {
2380
+ }, w2 = class w2 extends u {
2381
2381
  constructor() {
2382
2382
  super(...arguments), this.variant = "gray", this.icon = "", this.disabled = !1;
2383
2383
  }
2384
2384
  render() {
2385
- const e = x4[this.variant] || "tag--light-gray", t = R4[this.variant] || "tag__icon--light-gray";
2385
+ const e = A4[this.variant] || "tag--light-gray", t = B4[this.variant] || "tag__icon--light-gray";
2386
2386
  return d`
2387
2387
  <div class="tag ${e} ${this.disabled ? "tag--disabled" : ""}" part="tag">
2388
2388
  ${this.icon ? d`<anduin-icon name="${this.icon}" size="12" class="tag__icon ${t}"></anduin-icon>` : p}
@@ -2392,7 +2392,7 @@ const y4 = "anduin-tag-close:click", x4 = {
2392
2392
  `;
2393
2393
  }
2394
2394
  };
2395
- y2.styles = H`
2395
+ w2.styles = H`
2396
2396
  :host { display: inline-flex; max-width: 100%; font-family: var(--font-sans); }
2397
2397
  .tag {
2398
2398
  font-weight: 500; font-size: 11px; height: 20px; padding-left: 6px; padding-right: 6px;
@@ -2440,19 +2440,19 @@ y2.styles = H`
2440
2440
  .tag--custom-yellow-green { color: var(--color-gray-9); background-color: rgb(174,207,85); }
2441
2441
  .tag--custom-yellow-orange { color: var(--color-gray-9); background-color: rgb(255,193,107); }
2442
2442
  `;
2443
- let K = y2;
2444
- e2([
2443
+ let J = w2;
2444
+ l2([
2445
2445
  r()
2446
- ], K.prototype, "variant");
2447
- e2([
2446
+ ], J.prototype, "variant");
2447
+ l2([
2448
2448
  r()
2449
- ], K.prototype, "icon");
2450
- e2([
2449
+ ], J.prototype, "icon");
2450
+ l2([
2451
2451
  r({ type: Boolean })
2452
- ], K.prototype, "disabled");
2453
- const x2 = class x2 extends h {
2452
+ ], J.prototype, "disabled");
2453
+ const k2 = class k2 extends u {
2454
2454
  onClick() {
2455
- this.dispatchEvent(new CustomEvent(y4, { bubbles: !0, composed: !0 }));
2455
+ this.dispatchEvent(new CustomEvent(E4, { bubbles: !0, composed: !0 }));
2456
2456
  }
2457
2457
  render() {
2458
2458
  return d`
@@ -2462,7 +2462,7 @@ const x2 = class x2 extends h {
2462
2462
  `;
2463
2463
  }
2464
2464
  };
2465
- x2.styles = H`
2465
+ k2.styles = H`
2466
2466
  :host { display: inline-block; font-family: var(--font-sans); }
2467
2467
  .tag-close__button {
2468
2468
  flex: none; width: 16px; height: 16px; display: flex; align-items: center;
@@ -2472,15 +2472,15 @@ x2.styles = H`
2472
2472
  .tag-close__button:hover { opacity: 0.7; }
2473
2473
  .tag-close__button:active { opacity: 0.5; }
2474
2474
  `;
2475
- let D1 = x2;
2476
- customElements.get("anduin-tag") || customElements.define("anduin-tag", K);
2477
- customElements.get("anduin-tag-close") || customElements.define("anduin-tag-close", D1);
2478
- var _4 = Object.defineProperty, g5 = (l, e, t, o) => {
2475
+ let N1 = k2;
2476
+ customElements.get("anduin-tag") || customElements.define("anduin-tag", J);
2477
+ customElements.get("anduin-tag-close") || customElements.define("anduin-tag-close", N1);
2478
+ var z4 = Object.defineProperty, _5 = (l, e, t, o) => {
2479
2479
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
2480
2480
  (n = l[i]) && (C = n(e, t, C) || C);
2481
- return C && _4(e, t, C), C;
2481
+ return C && z4(e, t, C), C;
2482
2482
  };
2483
- const M5 = "anduin-tooltip:show", t2 = "anduin-tooltip:hide", m5 = "anduin-tooltip:trigger-mounted", b5 = "anduin-tooltip:content-popup-mounted", Z5 = "anduin-tooltip:content-popup-unmounted", y5 = "anduin-tooltip:visibility-changed", w4 = [
2483
+ const R5 = "anduin-tooltip:show", i2 = "anduin-tooltip:hide", w5 = "anduin-tooltip:trigger-mounted", k5 = "anduin-tooltip:content-popup-mounted", $5 = "anduin-tooltip:content-popup-unmounted", E5 = "anduin-tooltip:visibility-changed", F4 = [
2484
2484
  "top-start",
2485
2485
  "top-center",
2486
2486
  "top-end",
@@ -2494,7 +2494,7 @@ const M5 = "anduin-tooltip:show", t2 = "anduin-tooltip:hide", m5 = "anduin-toolt
2494
2494
  "left-center",
2495
2495
  "left-end"
2496
2496
  ];
2497
- function Q2(l, e, t, o, C) {
2497
+ function i5(l, e, t, o, C) {
2498
2498
  switch (o) {
2499
2499
  case "top-start":
2500
2500
  return { left: l.left, top: l.top - t - C };
@@ -2524,43 +2524,43 @@ function Q2(l, e, t, o, C) {
2524
2524
  return { left: 0, top: 0 };
2525
2525
  }
2526
2526
  }
2527
- function e5(l, e) {
2527
+ function n5(l, e) {
2528
2528
  return e.right >= l.left && e.left <= l.right && e.top <= l.bottom && e.bottom >= l.top;
2529
2529
  }
2530
- function t5(l, e) {
2530
+ function r5(l, e) {
2531
2531
  const t = Math.max(l.left, e.left), o = Math.max(l.top, e.top), C = Math.min(l.right, e.right), i = Math.min(l.bottom, e.bottom);
2532
2532
  return C < t || i < o ? 0 : (C - t) * (i - o);
2533
2533
  }
2534
- function k4(l, e, t, o = 8) {
2534
+ function P4(l, e, t, o = 8) {
2535
2535
  const C = window.innerWidth, i = window.innerHeight, n = { left: 0, top: 0, right: C, bottom: i }, a = e.width, s = e.height;
2536
- if (!e5(
2536
+ if (!n5(
2537
2537
  { left: l.left, top: l.top, right: l.right, bottom: l.bottom },
2538
2538
  n
2539
2539
  )) return null;
2540
- const c = Q2(l, a, s, t, o), u = w4.map((f) => ({ p: f, off: Q2(l, a, s, f, o) })).filter(({ off: f }) => e5({ left: f.left, top: f.top, right: f.left + a, bottom: f.top + s }, n));
2541
- if (u.length === 0)
2540
+ const c = i5(l, a, s, t, o), h = F4.map((f) => ({ p: f, off: i5(l, a, s, f, o) })).filter(({ off: f }) => n5({ left: f.left, top: f.top, right: f.left + a, bottom: f.top + s }, n));
2541
+ if (h.length === 0)
2542
2542
  return {
2543
2543
  placement: t,
2544
2544
  left: Math.round(Math.min(Math.max(c.left, 0), C - a)),
2545
2545
  top: Math.round(Math.min(Math.max(c.top, 0), i - s))
2546
2546
  };
2547
- u.sort((f, b) => {
2548
- const R5 = { left: f.off.left, top: f.off.top, right: f.off.left + a, bottom: f.off.top + s }, _5 = { left: b.off.left, top: b.off.top, right: b.off.left + a, bottom: b.off.top + s }, S2 = t5(R5, n), D2 = t5(_5, n);
2549
- if (D2 !== S2) return D2 - S2;
2550
- const w5 = Math.abs(f.off.left - c.left) + Math.abs(f.off.top - c.top), k5 = Math.abs(b.off.left - c.left) + Math.abs(b.off.top - c.top);
2551
- return w5 - k5;
2547
+ h.sort((f, b) => {
2548
+ const B5 = { left: f.off.left, top: f.off.top, right: f.off.left + a, bottom: f.off.top + s }, z5 = { left: b.off.left, top: b.off.top, right: b.off.left + a, bottom: b.off.top + s }, j2 = r5(B5, n), U2 = r5(z5, n);
2549
+ if (U2 !== j2) return U2 - j2;
2550
+ const F5 = Math.abs(f.off.left - c.left) + Math.abs(f.off.top - c.top), P5 = Math.abs(b.off.left - c.left) + Math.abs(b.off.top - c.top);
2551
+ return F5 - P5;
2552
2552
  });
2553
- const { p: v, off: m } = u[0];
2553
+ const { p: v, off: M } = h[0];
2554
2554
  return {
2555
2555
  placement: v,
2556
- left: Math.round(Math.min(Math.max(m.left, 0), C - a)),
2557
- top: Math.round(Math.min(Math.max(m.top, 0), i - s))
2556
+ left: Math.round(Math.min(Math.max(M.left, 0), C - a)),
2557
+ top: Math.round(Math.min(Math.max(M.top, 0), i - s))
2558
2558
  };
2559
2559
  }
2560
- function O1(l) {
2560
+ function j1(l) {
2561
2561
  return l.split("-")[0] || "top";
2562
2562
  }
2563
- function $4(l, e, t) {
2563
+ function S4(l, e, t) {
2564
2564
  let o = !1, C = t.length - 1;
2565
2565
  for (let i = 0; i < t.length; i++) {
2566
2566
  const n = t[i][0], a = t[i][1], s = t[C][0], c = t[C][1];
@@ -2568,20 +2568,20 @@ function $4(l, e, t) {
2568
2568
  }
2569
2569
  return o;
2570
2570
  }
2571
- const R2 = class R2 extends h {
2571
+ const $2 = class $2 extends u {
2572
2572
  constructor() {
2573
2573
  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;
2574
2574
  }
2575
2575
  connectedCallback() {
2576
- super.connectedCallback(), this.addEventListener(m5, (e) => {
2576
+ super.connectedCallback(), this.addEventListener(w5, (e) => {
2577
2577
  e.stopPropagation(), this.triggerElement = e.detail, this.maybeStartPositionLoop();
2578
- }), this.addEventListener(b5, (e) => {
2578
+ }), this.addEventListener(k5, (e) => {
2579
2579
  e.stopPropagation(), this.contentPopupElement = e.detail, this.computeContainingBlockOffset(this.contentPopupElement), this.maybeStartPositionLoop();
2580
- }), this.addEventListener(Z5, (e) => {
2580
+ }), this.addEventListener($5, (e) => {
2581
2581
  e.stopPropagation(), this.stopPositionLoop(), this.contentPopupElement = null;
2582
- }), this.addEventListener(M5, (e) => {
2582
+ }), this.addEventListener(R5, (e) => {
2583
2583
  e.stopPropagation(), !this.disabled && (this.isVisible = !0, this.broadcastVisibilityChanged(`show:${this.placement}`));
2584
- }), this.addEventListener(t2, (e) => {
2584
+ }), this.addEventListener(i2, (e) => {
2585
2585
  e.stopPropagation(), this.isVisible = !1, this.stopPositionLoop(), this.broadcastVisibilityChanged("hide");
2586
2586
  });
2587
2587
  }
@@ -2612,61 +2612,61 @@ const R2 = class R2 extends h {
2612
2612
  this.containingBlockLeft = C.left, this.containingBlockTop = C.top, t.style.transform = o;
2613
2613
  }
2614
2614
  positionPopup(e, t, o) {
2615
- const C = t.getBoundingClientRect(), i = e.getBoundingClientRect(), n = k4(C, i, o, 8);
2615
+ const C = t.getBoundingClientRect(), i = e.getBoundingClientRect(), n = P4(C, i, o, 8);
2616
2616
  if (n) {
2617
2617
  const a = e;
2618
2618
  a.style.transform = `translate(${n.left - this.containingBlockLeft}px, ${n.top - this.containingBlockTop}px)`;
2619
- const s = O1(n.placement), c = O1(o);
2619
+ const s = j1(n.placement), c = j1(o);
2620
2620
  if (s !== c) {
2621
- const u = e.querySelector(".tooltip-arrow");
2622
- u && (u.classList.remove(`tooltip-arrow--${c}`), u.classList.add(`tooltip-arrow--${s}`));
2621
+ const h = e.querySelector(".tooltip-arrow");
2622
+ h && (h.classList.remove(`tooltip-arrow--${c}`), h.classList.add(`tooltip-arrow--${s}`));
2623
2623
  }
2624
2624
  }
2625
2625
  }
2626
2626
  broadcastVisibilityChanged(e) {
2627
- this.dispatchEvent(new CustomEvent(y5, { detail: e, bubbles: !1, composed: !1 }));
2627
+ this.dispatchEvent(new CustomEvent(E5, { detail: e, bubbles: !1, composed: !1 }));
2628
2628
  }
2629
2629
  render() {
2630
2630
  return d`<div class="tooltip-root" part="tooltip"><slot></slot></div>`;
2631
2631
  }
2632
2632
  };
2633
- R2.styles = H`
2633
+ $2.styles = H`
2634
2634
  :host { display: inline-block; position: relative; max-width: 100%; font-family: var(--font-sans); }
2635
2635
  .tooltip-root { display: inline-block; position: relative; max-width: 100%; }
2636
2636
  `;
2637
- let u1 = R2;
2638
- g5([
2637
+ let v1 = $2;
2638
+ _5([
2639
2639
  r({ type: Boolean })
2640
- ], u1.prototype, "disabled");
2641
- g5([
2640
+ ], v1.prototype, "disabled");
2641
+ _5([
2642
2642
  r()
2643
- ], u1.prototype, "placement");
2644
- const _2 = class _2 extends h {
2643
+ ], v1.prototype, "placement");
2644
+ const E2 = class E2 extends u {
2645
2645
  firstUpdated() {
2646
2646
  requestAnimationFrame(() => {
2647
- this.dispatchEvent(new CustomEvent(m5, { detail: this, bubbles: !0, composed: !0 }));
2647
+ this.dispatchEvent(new CustomEvent(w5, { detail: this, bubbles: !0, composed: !0 }));
2648
2648
  }), this.addEventListener("pointerenter", () => {
2649
- this.dispatchEvent(new CustomEvent(M5, { bubbles: !0, composed: !0 }));
2649
+ this.dispatchEvent(new CustomEvent(R5, { bubbles: !0, composed: !0 }));
2650
2650
  }), this.addEventListener("click", () => {
2651
- this.dispatchEvent(new CustomEvent(t2, { bubbles: !0, composed: !0 }));
2651
+ this.dispatchEvent(new CustomEvent(i2, { bubbles: !0, composed: !0 }));
2652
2652
  });
2653
2653
  }
2654
2654
  render() {
2655
2655
  return d`<span class="tooltip-trigger" part="tooltip-trigger"><slot></slot></span>`;
2656
2656
  }
2657
2657
  };
2658
- _2.styles = H`
2658
+ E2.styles = H`
2659
2659
  :host { display: inline-block; max-width: 100%; font-family: var(--font-sans); }
2660
2660
  .tooltip-trigger { display: flex; align-items: center; max-width: 100%; }
2661
2661
  `;
2662
- let I1 = _2;
2663
- const w2 = class w2 extends h {
2662
+ let U1 = E2;
2663
+ const A2 = class A2 extends u {
2664
2664
  constructor() {
2665
2665
  super(...arguments), this.graceArea = null, this.triggerEl = null, this.popupEl = null, this.handlePointerMove = (e) => {
2666
2666
  var i, n;
2667
2667
  if (!this.graceArea) return;
2668
2668
  const t = e.target, o = ((i = this.triggerEl) == null ? void 0 : i.contains(t)) ?? !1, C = ((n = this.popupEl) == null ? void 0 : n.contains(t)) ?? !1;
2669
- o || C ? this.graceArea = null : $4(e.clientX, e.clientY, this.graceArea) || (this.graceArea = null, this.dispatchEvent(new CustomEvent(t2, { bubbles: !0, composed: !0 })));
2669
+ o || C ? this.graceArea = null : S4(e.clientX, e.clientY, this.graceArea) || (this.graceArea = null, this.dispatchEvent(new CustomEvent(i2, { bubbles: !0, composed: !0 })));
2670
2670
  }, this.handleTriggerLeave = (e) => {
2671
2671
  this.triggerEl && this.popupEl && this.createGraceArea(this.triggerEl, this.popupEl, e);
2672
2672
  }, this.handleContentLeave = (e) => {
@@ -2676,7 +2676,7 @@ const w2 = class w2 extends h {
2676
2676
  connectedCallback() {
2677
2677
  super.connectedCallback();
2678
2678
  const e = this.closest("anduin-tooltip");
2679
- e && e.addEventListener(y5, (t) => {
2679
+ e && e.addEventListener(E5, (t) => {
2680
2680
  const o = t.detail;
2681
2681
  o.startsWith("show:") ? this.showPopup(o.slice(5)) : this.hidePopup();
2682
2682
  });
@@ -2702,7 +2702,7 @@ const w2 = class w2 extends h {
2702
2702
  }
2703
2703
  showPopup(e) {
2704
2704
  this.hidePopup();
2705
- const t = O1(e), o = document.createElement("div");
2705
+ const t = j1(e), o = document.createElement("div");
2706
2706
  o.className = "tooltip-popup", o.setAttribute("role", "tooltip");
2707
2707
  const C = document.createElement("div");
2708
2708
  C.className = `tooltip-arrow tooltip-arrow--${t}`;
@@ -2715,16 +2715,16 @@ const w2 = class w2 extends h {
2715
2715
  const s = a.querySelector("anduin-tooltip-trigger");
2716
2716
  s && this.setupGraceAreaListeners(s, o);
2717
2717
  }
2718
- this.dispatchEvent(new CustomEvent(b5, { detail: o, bubbles: !0, composed: !0 }));
2718
+ this.dispatchEvent(new CustomEvent(k5, { detail: o, bubbles: !0, composed: !0 }));
2719
2719
  }
2720
2720
  hidePopup() {
2721
- this.popupEl && (this.popupEl.remove(), this.popupEl = null, this.dispatchEvent(new CustomEvent(Z5, { bubbles: !0, composed: !0 }))), this.cleanupGraceAreaListeners();
2721
+ this.popupEl && (this.popupEl.remove(), this.popupEl = null, this.dispatchEvent(new CustomEvent($5, { bubbles: !0, composed: !0 }))), this.cleanupGraceAreaListeners();
2722
2722
  }
2723
2723
  render() {
2724
2724
  return d`<div class="tooltip-content-wrapper"></div>`;
2725
2725
  }
2726
2726
  };
2727
- w2.styles = H`
2727
+ A2.styles = H`
2728
2728
  :host {
2729
2729
  display: contents;
2730
2730
  --tooltip-bg: var(--anduin-tooltip-content-background, var(--color-gray-9));
@@ -2748,16 +2748,16 @@ w2.styles = H`
2748
2748
  .tooltip-arrow--left { right: -4px; top: 50%; transform: translateY(-50%); border-left-color: var(--tooltip-bg); border-right: none; }
2749
2749
  .tooltip-arrow--right { left: -4px; top: 50%; transform: translateY(-50%); border-right-color: var(--tooltip-bg); border-left: none; }
2750
2750
  `;
2751
- let T1 = w2;
2752
- customElements.get("anduin-tooltip") || customElements.define("anduin-tooltip", u1);
2753
- customElements.get("anduin-tooltip-trigger") || customElements.define("anduin-tooltip-trigger", I1);
2754
- customElements.get("anduin-tooltip-content") || customElements.define("anduin-tooltip-content", T1);
2755
- var E4 = Object.defineProperty, A4 = (l, e, t, o) => {
2751
+ let q1 = A2;
2752
+ customElements.get("anduin-tooltip") || customElements.define("anduin-tooltip", v1);
2753
+ customElements.get("anduin-tooltip-trigger") || customElements.define("anduin-tooltip-trigger", U1);
2754
+ customElements.get("anduin-tooltip-content") || customElements.define("anduin-tooltip-content", q1);
2755
+ var D4 = Object.defineProperty, O4 = (l, e, t, o) => {
2756
2756
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
2757
2757
  (n = l[i]) && (C = n(e, t, C) || C);
2758
- return C && E4(e, t, C), C;
2758
+ return C && D4(e, t, C), C;
2759
2759
  };
2760
- const B4 = "anduin-well-close:click", k2 = class k2 extends h {
2760
+ const I4 = "anduin-well-close:click", B2 = class B2 extends u {
2761
2761
  constructor() {
2762
2762
  super(...arguments), this.variant = "gray";
2763
2763
  }
@@ -2776,7 +2776,7 @@ const B4 = "anduin-well-close:click", k2 = class k2 extends h {
2776
2776
  `;
2777
2777
  }
2778
2778
  };
2779
- k2.styles = H`
2779
+ B2.styles = H`
2780
2780
  :host {
2781
2781
  display: block;
2782
2782
  font-family: var(--font-sans);
@@ -2841,14 +2841,14 @@ k2.styles = H`
2841
2841
  color: var(--color-warning-4);
2842
2842
  }
2843
2843
  `;
2844
- let x1 = k2;
2845
- A4([
2844
+ let w1 = B2;
2845
+ O4([
2846
2846
  r()
2847
- ], x1.prototype, "variant");
2848
- const $2 = class $2 extends h {
2847
+ ], w1.prototype, "variant");
2848
+ const z2 = class z2 extends u {
2849
2849
  onClick() {
2850
2850
  this.dispatchEvent(
2851
- new CustomEvent(B4, { bubbles: !0, composed: !0 })
2851
+ new CustomEvent(I4, { bubbles: !0, composed: !0 })
2852
2852
  );
2853
2853
  }
2854
2854
  render() {
@@ -2863,7 +2863,7 @@ const $2 = class $2 extends h {
2863
2863
  `;
2864
2864
  }
2865
2865
  };
2866
- $2.styles = H`
2866
+ z2.styles = H`
2867
2867
  :host {
2868
2868
  display: inline-block;
2869
2869
  font-family: var(--font-sans);
@@ -2888,17 +2888,17 @@ $2.styles = H`
2888
2888
  background-color: var(--color-gray-3);
2889
2889
  }
2890
2890
  `;
2891
- let N1 = $2;
2892
- customElements.get("anduin-well") || customElements.define("anduin-well", x1);
2893
- customElements.get("anduin-well-close") || customElements.define("anduin-well-close", N1);
2894
- var F4 = Object.defineProperty, f1 = (l, e, t, o) => {
2891
+ let G1 = z2;
2892
+ customElements.get("anduin-well") || customElements.define("anduin-well", w1);
2893
+ customElements.get("anduin-well-close") || customElements.define("anduin-well-close", G1);
2894
+ var T4 = Object.defineProperty, t1 = (l, e, t, o) => {
2895
2895
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
2896
2896
  (n = l[i]) && (C = n(e, t, C) || C);
2897
- return C && F4(e, t, C), C;
2897
+ return C && T4(e, t, C), C;
2898
2898
  };
2899
- const U1 = "anduin-popover:close", E2 = class E2 extends h {
2899
+ const Y1 = "anduin-popover:close", F2 = class F2 extends u {
2900
2900
  constructor() {
2901
- super(...arguments), this.open = !1, this.placement = "bottom-start", this._visible = !1, this._closeTransitionEndHandler = null, this._onOutsideClick = (e) => {
2901
+ super(...arguments), this.open = !1, this.placement = "bottom-start", this._visible = !1, this._closing = !1, this._closeTransitionEndHandler = null, this._onOutsideClick = (e) => {
2902
2902
  var t;
2903
2903
  !this.contains(e.target) && !((t = this.shadowRoot) != null && t.contains(e.target)) && (this.open = !1);
2904
2904
  }, this._onScrollOrResize = () => {
@@ -2911,29 +2911,28 @@ const U1 = "anduin-popover:close", E2 = class E2 extends h {
2911
2911
  this.open = !this.open;
2912
2912
  }
2913
2913
  connectedCallback() {
2914
- super.connectedCallback(), document.addEventListener("click", this._onOutsideClick), window.addEventListener("scroll", this._onScrollOrResize, { passive: !0, capture: !0 }), window.addEventListener("resize", this._onScrollOrResize), this.addEventListener(U1, this._onPopoverClose);
2914
+ super.connectedCallback(), document.addEventListener("click", this._onOutsideClick), window.addEventListener("scroll", this._onScrollOrResize, { passive: !0, capture: !0 }), window.addEventListener("resize", this._onScrollOrResize), this.addEventListener(Y1, this._onPopoverClose);
2915
2915
  }
2916
2916
  disconnectedCallback() {
2917
- super.disconnectedCallback(), document.removeEventListener("click", this._onOutsideClick), window.removeEventListener("scroll", this._onScrollOrResize, { capture: !0 }), window.removeEventListener("resize", this._onScrollOrResize), this.removeEventListener(U1, this._onPopoverClose);
2917
+ super.disconnectedCallback(), document.removeEventListener("click", this._onOutsideClick), window.removeEventListener("scroll", this._onScrollOrResize, { capture: !0 }), window.removeEventListener("resize", this._onScrollOrResize), this.removeEventListener(Y1, this._onPopoverClose);
2918
2918
  }
2919
2919
  updated(e) {
2920
- e.has("open") && (this.open ? (this._cancelCloseAnimation(), this._visible = !0, requestAnimationFrame(() => this._updatePosition())) : this._startCloseAnimation());
2920
+ e.has("open") && (this.open ? (this._cancelCloseAnimation(), this._closing = !1, this._visible = !0, requestAnimationFrame(() => this._updatePosition())) : this._startCloseAnimation());
2921
2921
  }
2922
2922
  _cancelCloseAnimation() {
2923
- const e = this._panelEl;
2924
- e && (this._closeTransitionEndHandler && (e.removeEventListener("transitionend", this._closeTransitionEndHandler), this._closeTransitionEndHandler = null), e.classList.remove("popover__panel--closing"));
2923
+ this._closeTransitionEndHandler && this._panelEl && (this._panelEl.removeEventListener("transitionend", this._closeTransitionEndHandler), this._closeTransitionEndHandler = null), this._closing = !1;
2925
2924
  }
2926
2925
  _startCloseAnimation() {
2927
- const e = this._panelEl;
2928
- if (!e) {
2929
- this._visible = !1;
2930
- return;
2931
- }
2932
- this._cancelCloseAnimation(), e.classList.add("popover__panel--closing");
2933
- const t = (o) => {
2934
- o.propertyName === "opacity" && (e.classList.remove("popover__panel--closing"), e.removeEventListener("transitionend", t), this._closeTransitionEndHandler = null, this._visible = !1);
2926
+ if (!this._visible) return;
2927
+ this._closing = !0;
2928
+ const e = (t) => {
2929
+ var o;
2930
+ t.propertyName === "opacity" && ((o = this._panelEl) == null || o.removeEventListener("transitionend", e), this._closeTransitionEndHandler = null, this._closing = !1, this._visible = !1);
2935
2931
  };
2936
- this._closeTransitionEndHandler = t, e.addEventListener("transitionend", t);
2932
+ this._closeTransitionEndHandler = e, requestAnimationFrame(() => {
2933
+ var t;
2934
+ return (t = this._panelEl) == null ? void 0 : t.addEventListener("transitionend", e);
2935
+ });
2937
2936
  }
2938
2937
  _updatePosition() {
2939
2938
  const e = this._triggerEl, t = this._panelEl;
@@ -2943,35 +2942,35 @@ const U1 = "anduin-popover:close", E2 = class E2 extends h {
2943
2942
  const i = t.getBoundingClientRect();
2944
2943
  t.style.transform = C;
2945
2944
  const n = t.getBoundingClientRect(), a = 4;
2946
- let s = 0, c = 0, u = "bottom";
2945
+ let s = 0, c = 0, h = "bottom";
2947
2946
  switch (this.placement) {
2948
2947
  case "bottom-start":
2949
- s = o.left, c = o.bottom + a, u = "bottom";
2948
+ s = o.left, c = o.bottom + a, h = "bottom";
2950
2949
  break;
2951
2950
  case "bottom-end":
2952
- s = o.right - n.width, c = o.bottom + a, u = "bottom";
2951
+ s = o.right - n.width, c = o.bottom + a, h = "bottom";
2953
2952
  break;
2954
2953
  case "bottom":
2955
- s = o.left + o.width / 2 - n.width / 2, c = o.bottom + a, u = "bottom";
2954
+ s = o.left + o.width / 2 - n.width / 2, c = o.bottom + a, h = "bottom";
2956
2955
  break;
2957
2956
  case "top-start":
2958
- s = o.left, c = o.top - n.height - a, u = "top";
2957
+ s = o.left, c = o.top - n.height - a, h = "top";
2959
2958
  break;
2960
2959
  case "top-end":
2961
- s = o.right - n.width, c = o.top - n.height - a, u = "top";
2960
+ s = o.right - n.width, c = o.top - n.height - a, h = "top";
2962
2961
  break;
2963
2962
  case "top":
2964
- s = o.left + o.width / 2 - n.width / 2, c = o.top - n.height - a, u = "top";
2963
+ s = o.left + o.width / 2 - n.width / 2, c = o.top - n.height - a, h = "top";
2965
2964
  break;
2966
2965
  }
2967
- t.style.transform = `translate(${Math.round(s - i.left)}px, ${Math.round(c - i.top)}px)`, t.dataset.side = u;
2966
+ t.style.transform = `translate(${Math.round(s - i.left)}px, ${Math.round(c - i.top)}px)`, t.dataset.side = h;
2968
2967
  }
2969
2968
  render() {
2970
2969
  return d`
2971
2970
  <div class="popover__trigger" @click=${this._onTriggerClick} part="trigger">
2972
2971
  <slot name="trigger"></slot>
2973
2972
  </div>
2974
- <div class="popover__panel ${this._visible ? "popover__panel--open" : ""}" part="popover">
2973
+ <div class="popover__panel ${this._visible && !this._closing ? "popover__panel--open" : this._closing ? "popover__panel--closing" : ""}" part="popover">
2975
2974
  <div class="popover__inner">
2976
2975
  <slot></slot>
2977
2976
  </div>
@@ -2979,7 +2978,7 @@ const U1 = "anduin-popover:close", E2 = class E2 extends h {
2979
2978
  `;
2980
2979
  }
2981
2980
  };
2982
- E2.styles = H`
2981
+ F2.styles = H`
2983
2982
  :host { display: inline-block; font-family: var(--font-sans); }
2984
2983
 
2985
2984
  .popover__trigger { display: inline-block; }
@@ -3026,40 +3025,43 @@ E2.styles = H`
3026
3025
  transform: scale(1) translateY(0);
3027
3026
  }
3028
3027
  `;
3029
- let A = E2;
3030
- f1([
3028
+ let k = F2;
3029
+ t1([
3031
3030
  r({ type: Boolean, reflect: !0 })
3032
- ], A.prototype, "open");
3033
- f1([
3031
+ ], k.prototype, "open");
3032
+ t1([
3034
3033
  r()
3035
- ], A.prototype, "placement");
3036
- f1([
3037
- T()
3038
- ], A.prototype, "_visible");
3039
- f1([
3040
- N(".popover__trigger")
3041
- ], A.prototype, "_triggerEl");
3042
- f1([
3043
- N(".popover__panel")
3044
- ], A.prototype, "_panelEl");
3045
- customElements.get("anduin-popover") || customElements.define("anduin-popover", A);
3046
- const A2 = class A2 extends h {
3034
+ ], k.prototype, "placement");
3035
+ t1([
3036
+ _()
3037
+ ], k.prototype, "_visible");
3038
+ t1([
3039
+ _()
3040
+ ], k.prototype, "_closing");
3041
+ t1([
3042
+ F(".popover__trigger")
3043
+ ], k.prototype, "_triggerEl");
3044
+ t1([
3045
+ F(".popover__panel")
3046
+ ], k.prototype, "_panelEl");
3047
+ customElements.get("anduin-popover") || customElements.define("anduin-popover", k);
3048
+ const P2 = class P2 extends u {
3047
3049
  _onClick() {
3048
- this.dispatchEvent(new CustomEvent(U1, { bubbles: !0, composed: !0 }));
3050
+ this.dispatchEvent(new CustomEvent(Y1, { bubbles: !0, composed: !0 }));
3049
3051
  }
3050
3052
  render() {
3051
3053
  return d`<span @click=${this._onClick}><slot></slot></span>`;
3052
3054
  }
3053
3055
  };
3054
- A2.styles = H`:host { display: contents; }`;
3055
- let j1 = A2;
3056
- customElements.get("anduin-popover-close") || customElements.define("anduin-popover-close", j1);
3057
- var z4 = Object.defineProperty, U = (l, e, t, o) => {
3056
+ P2.styles = H`:host { display: contents; }`;
3057
+ let W1 = P2;
3058
+ customElements.get("anduin-popover-close") || customElements.define("anduin-popover-close", W1);
3059
+ var N4 = Object.defineProperty, U = (l, e, t, o) => {
3058
3060
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
3059
3061
  (n = l[i]) && (C = n(e, t, C) || C);
3060
- return C && z4(e, t, C), C;
3062
+ return C && N4(e, t, C), C;
3061
3063
  };
3062
- const q1 = "anduin-menu-item:click", B2 = class B2 extends h {
3064
+ const X1 = "anduin-menu-item:click", S2 = class S2 extends u {
3063
3065
  constructor() {
3064
3066
  super(...arguments), this.open = !1, this.placement = "bottom-start", this._onOutsideClick = (e) => {
3065
3067
  var t;
@@ -3074,10 +3076,10 @@ const q1 = "anduin-menu-item:click", B2 = class B2 extends h {
3074
3076
  this.open = !this.open;
3075
3077
  }
3076
3078
  connectedCallback() {
3077
- super.connectedCallback(), document.addEventListener("click", this._onOutsideClick), this.addEventListener(q1, this._onItemClick), window.addEventListener("scroll", this._onScrollOrResize, { passive: !0, capture: !0 }), window.addEventListener("resize", this._onScrollOrResize);
3079
+ super.connectedCallback(), document.addEventListener("click", this._onOutsideClick), this.addEventListener(X1, this._onItemClick), window.addEventListener("scroll", this._onScrollOrResize, { passive: !0, capture: !0 }), window.addEventListener("resize", this._onScrollOrResize);
3078
3080
  }
3079
3081
  disconnectedCallback() {
3080
- super.disconnectedCallback(), document.removeEventListener("click", this._onOutsideClick), this.removeEventListener(q1, this._onItemClick), window.removeEventListener("scroll", this._onScrollOrResize, { capture: !0 }), window.removeEventListener("resize", this._onScrollOrResize);
3082
+ super.disconnectedCallback(), document.removeEventListener("click", this._onOutsideClick), this.removeEventListener(X1, this._onItemClick), window.removeEventListener("scroll", this._onScrollOrResize, { capture: !0 }), window.removeEventListener("resize", this._onScrollOrResize);
3081
3083
  }
3082
3084
  updated(e) {
3083
3085
  e.has("open") && this.open && requestAnimationFrame(() => this._updatePosition());
@@ -3090,28 +3092,28 @@ const q1 = "anduin-menu-item:click", B2 = class B2 extends h {
3090
3092
  const i = t.getBoundingClientRect();
3091
3093
  t.style.transform = C;
3092
3094
  const n = t.getBoundingClientRect(), a = 4;
3093
- let s = 0, c = 0, u = "bottom";
3095
+ let s = 0, c = 0, h = "bottom";
3094
3096
  switch (this.placement) {
3095
3097
  case "bottom-start":
3096
- s = o.left, c = o.bottom + a, u = "bottom";
3098
+ s = o.left, c = o.bottom + a, h = "bottom";
3097
3099
  break;
3098
3100
  case "bottom-end":
3099
- s = o.right - n.width, c = o.bottom + a, u = "bottom";
3101
+ s = o.right - n.width, c = o.bottom + a, h = "bottom";
3100
3102
  break;
3101
3103
  case "bottom":
3102
- s = o.left + o.width / 2 - n.width / 2, c = o.bottom + a, u = "bottom";
3104
+ s = o.left + o.width / 2 - n.width / 2, c = o.bottom + a, h = "bottom";
3103
3105
  break;
3104
3106
  case "top-start":
3105
- s = o.left, c = o.top - n.height - a, u = "top";
3107
+ s = o.left, c = o.top - n.height - a, h = "top";
3106
3108
  break;
3107
3109
  case "top-end":
3108
- s = o.right - n.width, c = o.top - n.height - a, u = "top";
3110
+ s = o.right - n.width, c = o.top - n.height - a, h = "top";
3109
3111
  break;
3110
3112
  case "top":
3111
- s = o.left + o.width / 2 - n.width / 2, c = o.top - n.height - a, u = "top";
3113
+ s = o.left + o.width / 2 - n.width / 2, c = o.top - n.height - a, h = "top";
3112
3114
  break;
3113
3115
  }
3114
- t.style.transform = `translate(${Math.round(s - i.left)}px, ${Math.round(c - i.top)}px)`, t.dataset.side = u;
3116
+ t.style.transform = `translate(${Math.round(s - i.left)}px, ${Math.round(c - i.top)}px)`, t.dataset.side = h;
3115
3117
  }
3116
3118
  render() {
3117
3119
  return d`
@@ -3126,7 +3128,7 @@ const q1 = "anduin-menu-item:click", B2 = class B2 extends h {
3126
3128
  `;
3127
3129
  }
3128
3130
  };
3129
- B2.styles = H`
3131
+ S2.styles = H`
3130
3132
  :host { display: inline-block; font-family: var(--font-sans); }
3131
3133
 
3132
3134
  .menu__trigger { display: inline-block; }
@@ -3169,25 +3171,25 @@ B2.styles = H`
3169
3171
  transform: scale(1) translateY(0);
3170
3172
  }
3171
3173
  `;
3172
- let I = B2;
3174
+ let j = S2;
3173
3175
  U([
3174
3176
  r({ type: Boolean, reflect: !0 })
3175
- ], I.prototype, "open");
3177
+ ], j.prototype, "open");
3176
3178
  U([
3177
3179
  r()
3178
- ], I.prototype, "placement");
3180
+ ], j.prototype, "placement");
3179
3181
  U([
3180
- N(".menu__trigger")
3181
- ], I.prototype, "_triggerEl");
3182
+ F(".menu__trigger")
3183
+ ], j.prototype, "_triggerEl");
3182
3184
  U([
3183
- N(".menu__panel")
3184
- ], I.prototype, "_panelEl");
3185
- const F2 = class F2 extends h {
3185
+ F(".menu__panel")
3186
+ ], j.prototype, "_panelEl");
3187
+ const D2 = class D2 extends u {
3186
3188
  constructor() {
3187
3189
  super(...arguments), this.icon = "", this.variant = "default", this.disabled = !1;
3188
3190
  }
3189
3191
  _onClick() {
3190
- this.dispatchEvent(new CustomEvent(q1, { bubbles: !0, composed: !0 }));
3192
+ this.dispatchEvent(new CustomEvent(X1, { bubbles: !0, composed: !0 }));
3191
3193
  }
3192
3194
  render() {
3193
3195
  return d`
@@ -3204,7 +3206,7 @@ const F2 = class F2 extends h {
3204
3206
  `;
3205
3207
  }
3206
3208
  };
3207
- F2.styles = H`
3209
+ D2.styles = H`
3208
3210
  :host { display: block; width: 100%; font-family: var(--font-sans); }
3209
3211
  .menu-item {
3210
3212
  display: flex;
@@ -3234,33 +3236,33 @@ F2.styles = H`
3234
3236
  anduin-icon { color: var(--color-gray-7); }
3235
3237
  .menu-item--danger anduin-icon { color: var(--color-danger-4); }
3236
3238
  `;
3237
- let X = F2;
3239
+ let Q = D2;
3238
3240
  U([
3239
3241
  r()
3240
- ], X.prototype, "icon");
3242
+ ], Q.prototype, "icon");
3241
3243
  U([
3242
3244
  r()
3243
- ], X.prototype, "variant");
3245
+ ], Q.prototype, "variant");
3244
3246
  U([
3245
3247
  r({ type: Boolean })
3246
- ], X.prototype, "disabled");
3247
- customElements.get("anduin-menu") || customElements.define("anduin-menu", I);
3248
- customElements.get("anduin-menu-item") || customElements.define("anduin-menu-item", X);
3249
- var P4 = Object.defineProperty, j = (l, e, t, o) => {
3248
+ ], Q.prototype, "disabled");
3249
+ customElements.get("anduin-menu") || customElements.define("anduin-menu", j);
3250
+ customElements.get("anduin-menu-item") || customElements.define("anduin-menu-item", Q);
3251
+ var j4 = Object.defineProperty, q = (l, e, t, o) => {
3250
3252
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
3251
3253
  (n = l[i]) && (C = n(e, t, C) || C);
3252
- return C && P4(e, t, C), C;
3254
+ return C && j4(e, t, C), C;
3253
3255
  };
3254
- const B1 = 300, C5 = 200, S4 = 250;
3255
- var $;
3256
- const F = ($ = class extends h {
3256
+ const P1 = 300, a5 = 200, U4 = 250;
3257
+ var A;
3258
+ const S = (A = class extends u {
3257
3259
  constructor() {
3258
3260
  super(...arguments), this.open = !1, this.heading = "", this.hideHeader = !1, this.hideFooter = !1, this.maxWidth = "480", this.fullscreen = !1, this._leaving = !1;
3259
3261
  }
3260
3262
  updated(e) {
3261
3263
  var t;
3262
3264
  if (e.has("maxWidth")) {
3263
- const o = this.maxWidth, C = $._PRESETS.has(o) ? `${o}px` : o;
3265
+ const o = this.maxWidth, C = A._PRESETS.has(o) ? `${o}px` : o;
3264
3266
  this.style.setProperty("--_modal-width", C);
3265
3267
  }
3266
3268
  if (e.has("open")) {
@@ -3315,7 +3317,7 @@ const F = ($ = class extends h {
3315
3317
  </div>
3316
3318
  `;
3317
3319
  }
3318
- }, $.styles = H`
3320
+ }, A.styles = H`
3319
3321
  :host {
3320
3322
  display: none;
3321
3323
  font-family: var(--font-sans);
@@ -3355,10 +3357,10 @@ const F = ($ = class extends h {
3355
3357
  inset: 0;
3356
3358
  background: rgba(50, 60, 77, 0.6);
3357
3359
  cursor: default;
3358
- animation: overlayIn ${B1}ms cubic-bezier(0.2, 0, 0, 1) forwards;
3360
+ animation: overlayIn ${P1}ms cubic-bezier(0.2, 0, 0, 1) forwards;
3359
3361
  }
3360
3362
  .overlay.is-leaving {
3361
- animation: overlayOut ${S4}ms cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3363
+ animation: overlayOut ${U4}ms cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3362
3364
  }
3363
3365
  .modal-wrapper {
3364
3366
  position: absolute;
@@ -3381,10 +3383,10 @@ const F = ($ = class extends h {
3381
3383
  max-height: calc(100vh - 64px);
3382
3384
  box-shadow: 0 8px 24px 0 rgba(29, 41, 57, 0.12), 0 2px 8px 0 rgba(29, 41, 57, 0.08);
3383
3385
  flex-shrink: 0;
3384
- animation: modalIn ${B1}ms cubic-bezier(0.05, 0.7, 0.1, 1) forwards;
3386
+ animation: modalIn ${P1}ms cubic-bezier(0.05, 0.7, 0.1, 1) forwards;
3385
3387
  }
3386
3388
  .modal.is-leaving {
3387
- animation: modalOut ${C5}ms cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3389
+ animation: modalOut ${a5}ms cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3388
3390
  }
3389
3391
  .modal-wrapper--fullscreen {
3390
3392
  padding: 0;
@@ -3413,10 +3415,10 @@ const F = ($ = class extends h {
3413
3415
  max-height: 100%;
3414
3416
  height: 100%;
3415
3417
  box-shadow: none;
3416
- animation: modalFullscreenIn ${B1}ms cubic-bezier(0.05, 0.7, 0.1, 1) forwards;
3418
+ animation: modalFullscreenIn ${P1}ms cubic-bezier(0.05, 0.7, 0.1, 1) forwards;
3417
3419
  }
3418
3420
  .modal--fullscreen.is-leaving {
3419
- animation: modalFullscreenOut ${C5}ms cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3421
+ animation: modalFullscreenOut ${a5}ms cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3420
3422
  }
3421
3423
  .header {
3422
3424
  flex-shrink: 0;
@@ -3454,31 +3456,31 @@ const F = ($ = class extends h {
3454
3456
  padding: 16px 24px;
3455
3457
  border-top: 1px solid var(--color-gray-3, #e4e7ec);
3456
3458
  }
3457
- `, $._PRESETS = /* @__PURE__ */ new Set(["480", "600", "720", "960", "1160"]), $);
3458
- j([
3459
+ `, A._PRESETS = /* @__PURE__ */ new Set(["480", "600", "720", "960", "1160"]), A);
3460
+ q([
3459
3461
  r({ type: Boolean, reflect: !0 })
3460
- ], F.prototype, "open");
3461
- j([
3462
+ ], S.prototype, "open");
3463
+ q([
3462
3464
  r()
3463
- ], F.prototype, "heading");
3464
- j([
3465
+ ], S.prototype, "heading");
3466
+ q([
3465
3467
  r({ type: Boolean, attribute: "hide-header" })
3466
- ], F.prototype, "hideHeader");
3467
- j([
3468
+ ], S.prototype, "hideHeader");
3469
+ q([
3468
3470
  r({ type: Boolean, attribute: "hide-footer" })
3469
- ], F.prototype, "hideFooter");
3470
- j([
3471
+ ], S.prototype, "hideFooter");
3472
+ q([
3471
3473
  r({ attribute: "max-width" })
3472
- ], F.prototype, "maxWidth");
3473
- j([
3474
+ ], S.prototype, "maxWidth");
3475
+ q([
3474
3476
  r({ type: Boolean })
3475
- ], F.prototype, "fullscreen");
3476
- j([
3477
- T()
3478
- ], F.prototype, "_leaving");
3479
- let D4 = F;
3480
- customElements.get("anduin-modal") || customElements.define("anduin-modal", D4);
3481
- class O4 extends HTMLElement {
3477
+ ], S.prototype, "fullscreen");
3478
+ q([
3479
+ _()
3480
+ ], S.prototype, "_leaving");
3481
+ let q4 = S;
3482
+ customElements.get("anduin-modal") || customElements.define("anduin-modal", q4);
3483
+ class G4 extends HTMLElement {
3482
3484
  constructor() {
3483
3485
  super(...arguments), this._onClick = () => {
3484
3486
  this.dispatchEvent(new CustomEvent("close", { bubbles: !0, composed: !0 }));
@@ -3491,13 +3493,13 @@ class O4 extends HTMLElement {
3491
3493
  this.removeEventListener("click", this._onClick);
3492
3494
  }
3493
3495
  }
3494
- customElements.get("anduin-modal-close") || customElements.define("anduin-modal-close", O4);
3495
- var I4 = Object.defineProperty, q = (l, e, t, o) => {
3496
+ customElements.get("anduin-modal-close") || customElements.define("anduin-modal-close", G4);
3497
+ var Y4 = Object.defineProperty, G = (l, e, t, o) => {
3496
3498
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
3497
3499
  (n = l[i]) && (C = n(e, t, C) || C);
3498
- return C && I4(e, t, C), C;
3500
+ return C && Y4(e, t, C), C;
3499
3501
  };
3500
- const o5 = [
3502
+ const s5 = [
3501
3503
  { bg: "#6172F3", text: "#ffffff" },
3502
3504
  { bg: "#B692F6", text: "#ffffff" },
3503
3505
  { bg: "#F670C7", text: "#ffffff" },
@@ -3507,17 +3509,17 @@ const o5 = [
3507
3509
  { bg: "#F97066", text: "#ffffff" },
3508
3510
  { bg: "#7A5AF8", text: "#ffffff" }
3509
3511
  ];
3510
- function T4(l) {
3512
+ function W4(l) {
3511
3513
  let e = 0;
3512
3514
  for (let t = 0; t < l.length; t++) e = e * 31 + l.charCodeAt(t) >>> 0;
3513
- return o5[e % o5.length];
3515
+ return s5[e % s5.length];
3514
3516
  }
3515
- function N4(l) {
3517
+ function X4(l) {
3516
3518
  var t;
3517
3519
  const e = l.trim().split(/\s+/);
3518
3520
  return e.length === 1 ? ((t = e[0][0]) == null ? void 0 : t.toUpperCase()) ?? "" : ((e[0][0] ?? "") + (e[e.length - 1][0] ?? "")).toUpperCase();
3519
3521
  }
3520
- const z2 = class z2 extends h {
3522
+ const O2 = class O2 extends u {
3521
3523
  constructor() {
3522
3524
  super(...arguments), this.src = "", this.name = "", this.alt = "", this.icon = "", this.size = 32, this.shape = "circle", this._imgError = !1;
3523
3525
  }
@@ -3528,7 +3530,7 @@ const z2 = class z2 extends h {
3528
3530
  return this.size <= 16 ? 10 : this.size <= 20 ? 12 : this.size <= 24 ? 14 : 18;
3529
3531
  }
3530
3532
  render() {
3531
- const e = !!this.src && !this._imgError, t = this.name || this.icon ? T4(this.name || this.icon) : { bg: "#F2F4F7", text: "#667085" }, o = this.name ? N4(this.name) : "";
3533
+ const e = !!this.src && !this._imgError, t = this.name || this.icon ? W4(this.name || this.icon) : { bg: "#F2F4F7", text: "#667085" }, o = this.name ? X4(this.name) : "";
3532
3534
  return d`
3533
3535
  <div
3534
3536
  class="avatar avatar--${this.shape} avatar--${this.size}"
@@ -3546,7 +3548,7 @@ const z2 = class z2 extends h {
3546
3548
  `;
3547
3549
  }
3548
3550
  };
3549
- z2.styles = H`
3551
+ O2.styles = H`
3550
3552
  :host { display: inline-flex; }
3551
3553
 
3552
3554
  .avatar {
@@ -3575,27 +3577,27 @@ z2.styles = H`
3575
3577
  display: block;
3576
3578
  }
3577
3579
  `;
3578
- let x = z2;
3579
- q([
3580
+ let x = O2;
3581
+ G([
3580
3582
  r()
3581
3583
  ], x.prototype, "src");
3582
- q([
3584
+ G([
3583
3585
  r()
3584
3586
  ], x.prototype, "name");
3585
- q([
3587
+ G([
3586
3588
  r()
3587
3589
  ], x.prototype, "alt");
3588
- q([
3590
+ G([
3589
3591
  r()
3590
3592
  ], x.prototype, "icon");
3591
- q([
3593
+ G([
3592
3594
  r({ type: Number })
3593
3595
  ], x.prototype, "size");
3594
- q([
3596
+ G([
3595
3597
  r()
3596
3598
  ], x.prototype, "shape");
3597
- q([
3598
- T()
3599
+ G([
3600
+ _()
3599
3601
  ], x.prototype, "_imgError");
3600
3602
  customElements.get("anduin-avatar") || customElements.define("anduin-avatar", x);
3601
3603
  /**
@@ -3603,8 +3605,8 @@ customElements.get("anduin-avatar") || customElements.define("anduin-avatar", x)
3603
3605
  * Copyright 2017 Google LLC
3604
3606
  * SPDX-License-Identifier: BSD-3-Clause
3605
3607
  */
3606
- const U4 = { CHILD: 2 }, j4 = (l) => (...e) => ({ _$litDirective$: l, values: e });
3607
- class q4 {
3608
+ const K4 = { CHILD: 2 }, J4 = (l) => (...e) => ({ _$litDirective$: l, values: e });
3609
+ class Q4 {
3608
3610
  constructor(e) {
3609
3611
  }
3610
3612
  get _$AU() {
@@ -3625,13 +3627,13 @@ class q4 {
3625
3627
  * Copyright 2017 Google LLC
3626
3628
  * SPDX-License-Identifier: BSD-3-Clause
3627
3629
  */
3628
- class G1 extends q4 {
3630
+ class K1 extends Q4 {
3629
3631
  constructor(e) {
3630
- if (super(e), this.it = p, e.type !== U4.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
3632
+ if (super(e), this.it = p, e.type !== K4.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
3631
3633
  }
3632
3634
  render(e) {
3633
3635
  if (e === p || e == null) return this._t = void 0, this.it = e;
3634
- if (e === O) return e;
3636
+ if (e === N) return e;
3635
3637
  if (typeof e != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
3636
3638
  if (e === this.it) return this._t;
3637
3639
  this.it = e;
@@ -3639,16 +3641,16 @@ class G1 extends q4 {
3639
3641
  return t.raw = t, this._t = { _$litType$: this.constructor.resultType, strings: t, values: [] };
3640
3642
  }
3641
3643
  }
3642
- G1.directiveName = "unsafeHTML", G1.resultType = 1;
3644
+ K1.directiveName = "unsafeHTML", K1.resultType = 1;
3643
3645
  /**
3644
3646
  * @license
3645
3647
  * Copyright 2017 Google LLC
3646
3648
  * SPDX-License-Identifier: BSD-3-Clause
3647
3649
  */
3648
- class Y1 extends G1 {
3650
+ class J1 extends K1 {
3649
3651
  }
3650
- Y1.directiveName = "unsafeSVG", Y1.resultType = 2;
3651
- const G4 = j4(Y1), Y4 = {
3652
+ J1.directiveName = "unsafeSVG", J1.resultType = 2;
3653
+ const e3 = J4(J1), t3 = {
3652
3654
  archive: {
3653
3655
  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"/>
3654
3656
  <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"/>
@@ -3892,26 +3894,26 @@ const G4 = j4(Y1), Y4 = {
3892
3894
  <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"/>
3893
3895
  <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"/>` }
3894
3896
  }
3895
- }, W4 = [32, 24, 16];
3896
- function K4(l, e) {
3897
- const t = Y4[l];
3897
+ }, C3 = [32, 24, 16];
3898
+ function o3(l, e) {
3899
+ const t = t3[l];
3898
3900
  if (!t) return null;
3899
3901
  if (t[e]) return t[e];
3900
- for (const o of W4)
3902
+ for (const o of C3)
3901
3903
  if (t[o]) return t[o];
3902
3904
  return null;
3903
3905
  }
3904
- var X4 = Object.defineProperty, x5 = (l, e, t, o) => {
3906
+ var l3 = Object.defineProperty, A5 = (l, e, t, o) => {
3905
3907
  for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
3906
3908
  (n = l[i]) && (C = n(e, t, C) || C);
3907
- return C && X4(e, t, C), C;
3909
+ return C && l3(e, t, C), C;
3908
3910
  };
3909
- const P2 = class P2 extends h {
3911
+ const I2 = class I2 extends u {
3910
3912
  constructor() {
3911
3913
  super(...arguments), this.type = "pdf", this.size = 32;
3912
3914
  }
3913
3915
  render() {
3914
- const e = K4(this.type, this.size);
3916
+ const e = o3(this.type, this.size);
3915
3917
  return e ? d`
3916
3918
  <svg
3917
3919
  width=${this.size}
@@ -3922,87 +3924,407 @@ const P2 = class P2 extends h {
3922
3924
  aria-label="${this.type} file"
3923
3925
  role="img"
3924
3926
  >
3925
- ${G4(e.paths)}
3927
+ ${e3(e.paths)}
3926
3928
  </svg>
3927
3929
  ` : p;
3928
3930
  }
3929
3931
  };
3930
- P2.styles = H`
3932
+ I2.styles = H`
3931
3933
  :host { display: inline-flex; align-items: center; justify-content: center; }
3932
3934
  svg { display: block; }
3933
3935
  `;
3934
- let h1 = P2;
3935
- x5([
3936
+ let f1 = I2;
3937
+ A5([
3936
3938
  r()
3937
- ], h1.prototype, "type");
3938
- x5([
3939
+ ], f1.prototype, "type");
3940
+ A5([
3939
3941
  r({ type: Number })
3940
- ], h1.prototype, "size");
3941
- customElements.get("anduin-file-icon") || customElements.define("anduin-file-icon", h1);
3942
+ ], f1.prototype, "size");
3943
+ customElements.get("anduin-file-icon") || customElements.define("anduin-file-icon", f1);
3944
+ var i3 = Object.defineProperty, Y = (l, e, t, o) => {
3945
+ for (var C = void 0, i = l.length - 1, n; i >= 0; i--)
3946
+ (n = l[i]) && (C = n(e, t, C) || C);
3947
+ return C && i3(e, t, C), C;
3948
+ };
3949
+ const d5 = {
3950
+ gray: "info",
3951
+ primary: "infoCircleLine",
3952
+ success: "checkCircle",
3953
+ warning: "warning",
3954
+ danger: "error"
3955
+ }, n3 = "anduin-toast:dismiss", T2 = class T2 extends u {
3956
+ constructor() {
3957
+ super(...arguments), this.variant = "gray", this.heading = "", this.description = "", this._dismissing = !1;
3958
+ }
3959
+ dismiss() {
3960
+ var t;
3961
+ if (this._dismissing) return;
3962
+ this._dismissing = !0;
3963
+ const e = (o) => {
3964
+ var C;
3965
+ o.propertyName === "opacity" && ((C = this._toastEl) == null || C.removeEventListener("transitionend", e), this.dispatchEvent(
3966
+ new CustomEvent(n3, { bubbles: !0, composed: !0 })
3967
+ ));
3968
+ };
3969
+ (t = this._toastEl) == null || t.addEventListener("transitionend", e);
3970
+ }
3971
+ _onClose() {
3972
+ this.dismiss();
3973
+ }
3974
+ render() {
3975
+ const e = d5[this.variant] ?? d5.gray;
3976
+ return d`
3977
+ <div
3978
+ class="toast toast--${this.variant} ${this._dismissing ? "toast--dismissing" : ""}"
3979
+ part="toast"
3980
+ role="alert"
3981
+ aria-live="assertive"
3982
+ >
3983
+ <div class="toast__icon toast__icon--${this.variant}">
3984
+ <anduin-icon name=${e} size="16"></anduin-icon>
3985
+ </div>
3986
+ <div class="toast__body">
3987
+ ${this.heading ? d`<div class="toast__title">${this.heading}</div>` : ""}
3988
+ ${this.description ? d`<div class="toast__description">${this.description}</div>` : d`<div class="toast__description"><slot></slot></div>`}
3989
+ </div>
3990
+ <button
3991
+ class="toast__close"
3992
+ aria-label="Dismiss"
3993
+ @click=${this._onClose}
3994
+ >
3995
+ <anduin-icon name="cross" size="14"></anduin-icon>
3996
+ </button>
3997
+ </div>
3998
+ `;
3999
+ }
4000
+ };
4001
+ T2.styles = H`
4002
+ :host {
4003
+ display: block;
4004
+ font-family: var(--font-sans);
4005
+ pointer-events: auto;
4006
+ }
4007
+
4008
+ @keyframes toast-in {
4009
+ from {
4010
+ opacity: 0;
4011
+ transform: translateX(-12px) scale(0.97);
4012
+ }
4013
+ to {
4014
+ opacity: 1;
4015
+ transform: translateX(0) scale(1);
4016
+ }
4017
+ }
4018
+
4019
+ .toast {
4020
+ display: flex;
4021
+ align-items: flex-start;
4022
+ gap: 10px;
4023
+ padding: 12px;
4024
+ border-radius: 8px;
4025
+ box-shadow: var(
4026
+ --shadow-4,
4027
+ 0px 4px 8px rgba(29, 41, 57, 0.08),
4028
+ 0px 16px 48px rgba(29, 41, 57, 0.16)
4029
+ );
4030
+ min-width: 300px;
4031
+ max-width: 420px;
4032
+ width: max-content;
4033
+ opacity: 1;
4034
+ transform: translateX(0) scale(1);
4035
+ transition:
4036
+ opacity 200ms ease,
4037
+ transform 200ms ease;
4038
+ animation: toast-in 220ms cubic-bezier(0.16, 1, 0.3, 1);
4039
+ }
4040
+
4041
+ .toast--dismissing {
4042
+ opacity: 0;
4043
+ transform: translateX(-12px) scale(0.97);
4044
+ }
4045
+
4046
+ /* Dark gray9 background for all variants */
4047
+ .toast {
4048
+ background: var(--color-gray-9, #101828);
4049
+ border: 1px solid var(--color-gray-8, #1d2939);
4050
+ }
4051
+
4052
+ .toast__icon {
4053
+ flex-shrink: 0;
4054
+ display: flex;
4055
+ align-items: center;
4056
+ justify-content: center;
4057
+ margin-top: 2px;
4058
+ }
4059
+ .toast__icon--gray {
4060
+ color: var(--color-gray-4, #98a2b3);
4061
+ }
4062
+ .toast__icon--primary {
4063
+ color: var(--color-primary-3, #8098f9);
4064
+ }
4065
+ .toast__icon--success {
4066
+ color: var(--color-success-3, #47cd89);
4067
+ }
4068
+ .toast__icon--warning {
4069
+ color: var(--color-warning-3, #fdb022);
4070
+ }
4071
+ .toast__icon--danger {
4072
+ color: var(--color-danger-3, #f97066);
4073
+ }
4074
+
4075
+ .toast__body {
4076
+ flex: 1;
4077
+ min-width: 0;
4078
+ display: flex;
4079
+ flex-direction: column;
4080
+ gap: 2px;
4081
+ }
4082
+
4083
+ .toast__title {
4084
+ font-size: var(--text-13, 13px);
4085
+ font-weight: 600;
4086
+ color: var(--color-gray-0, #ffffff);
4087
+ line-height: 20px;
4088
+ }
4089
+
4090
+ .toast__description {
4091
+ font-size: var(--text-13, 13px);
4092
+ font-weight: 400;
4093
+ color: var(--color-gray-4, #98a2b3);
4094
+ line-height: 20px;
4095
+ }
4096
+
4097
+ .toast__close {
4098
+ flex-shrink: 0;
4099
+ display: inline-flex;
4100
+ align-items: center;
4101
+ justify-content: center;
4102
+ width: 24px;
4103
+ height: 24px;
4104
+ background: none;
4105
+ border: none;
4106
+ cursor: pointer;
4107
+ border-radius: 4px;
4108
+ padding: 0;
4109
+ color: var(--color-gray-5, #667085);
4110
+ margin-top: -2px;
4111
+ }
4112
+ .toast__close:hover {
4113
+ background: var(--color-gray-8, #1d2939);
4114
+ color: var(--color-gray-2, #eaecf0);
4115
+ }
4116
+ .toast__close:active {
4117
+ background: var(--color-gray-7, #344054);
4118
+ }
4119
+ `;
4120
+ let z = T2;
4121
+ Y([
4122
+ r()
4123
+ ], z.prototype, "variant");
4124
+ Y([
4125
+ r()
4126
+ ], z.prototype, "heading");
4127
+ Y([
4128
+ r()
4129
+ ], z.prototype, "description");
4130
+ Y([
4131
+ _()
4132
+ ], z.prototype, "_dismissing");
4133
+ Y([
4134
+ F(".toast")
4135
+ ], z.prototype, "_toastEl");
4136
+ customElements.get("anduin-toast") || customElements.define("anduin-toast", z);
4137
+ const N2 = class N2 extends u {
4138
+ constructor() {
4139
+ super(...arguments), this.position = "bottom-left", this._toasts = [], this._nextId = 0;
4140
+ }
4141
+ show(e) {
4142
+ const t = this._nextId++, o = e.position ?? this.position;
4143
+ this._toasts = [...this._toasts, { id: t, opts: { ...e, position: o } }];
4144
+ const C = e.duration ?? 4e3;
4145
+ return C > 0 && setTimeout(() => this._dismissById(t), C), t;
4146
+ }
4147
+ dismiss(e) {
4148
+ this._dismissById(e);
4149
+ }
4150
+ _dismissById(e) {
4151
+ var o;
4152
+ const t = (o = this.shadowRoot) == null ? void 0 : o.querySelector(
4153
+ `anduin-toast[data-id="${e}"]`
4154
+ );
4155
+ t ? t.dismiss() : this._removeById(e);
4156
+ }
4157
+ _removeById(e) {
4158
+ this._toasts = this._toasts.filter((t) => t.id !== e);
4159
+ }
4160
+ _onDismiss(e, t) {
4161
+ e.stopPropagation(), this._removeById(t);
4162
+ }
4163
+ render() {
4164
+ return d`
4165
+ <div class="toaster toaster--${this.position}" part="toaster">
4166
+ ${this._toasts.map(
4167
+ ({ id: e, opts: t }) => d`
4168
+ <anduin-toast
4169
+ data-id=${e}
4170
+ variant=${t.variant ?? "gray"}
4171
+ heading=${t.heading ?? ""}
4172
+ description=${t.description ?? ""}
4173
+ @anduin-toast:dismiss=${(o) => this._onDismiss(o, e)}
4174
+ ></anduin-toast>
4175
+ `
4176
+ )}
4177
+ </div>
4178
+ `;
4179
+ }
4180
+ };
4181
+ N2.styles = H`
4182
+ :host {
4183
+ display: contents;
4184
+ pointer-events: none;
4185
+ }
4186
+
4187
+ .toaster {
4188
+ position: fixed;
4189
+ z-index: 9999;
4190
+ display: flex;
4191
+ flex-direction: column;
4192
+ gap: 8px;
4193
+ pointer-events: none;
4194
+ }
4195
+
4196
+ /* Vertical positioning */
4197
+ .toaster--top-left,
4198
+ .toaster--top-center,
4199
+ .toaster--top-right {
4200
+ top: 20px;
4201
+ flex-direction: column;
4202
+ }
4203
+ .toaster--bottom-left,
4204
+ .toaster--bottom-center,
4205
+ .toaster--bottom-right {
4206
+ bottom: 20px;
4207
+ flex-direction: column-reverse;
4208
+ }
4209
+
4210
+ /* Horizontal positioning */
4211
+ .toaster--top-left,
4212
+ .toaster--bottom-left {
4213
+ left: 20px;
4214
+ align-items: flex-start;
4215
+ }
4216
+ .toaster--top-center,
4217
+ .toaster--bottom-center {
4218
+ left: 50%;
4219
+ transform: translateX(-50%);
4220
+ align-items: center;
4221
+ }
4222
+ .toaster--top-right,
4223
+ .toaster--bottom-right {
4224
+ right: 20px;
4225
+ align-items: flex-end;
4226
+ }
4227
+ `;
4228
+ let V1 = N2;
4229
+ Y([
4230
+ r()
4231
+ ], V1.prototype, "position");
4232
+ Y([
4233
+ _()
4234
+ ], V1.prototype, "_toasts");
4235
+ customElements.get("anduin-toaster") || customElements.define("anduin-toaster", V1);
4236
+ const c3 = {
4237
+ show(l) {
4238
+ return r3(l.position).show(l);
4239
+ },
4240
+ success(l, e, t) {
4241
+ return this.show({ ...t, variant: "success", heading: l, description: e });
4242
+ },
4243
+ danger(l, e, t) {
4244
+ return this.show({ ...t, variant: "danger", heading: l, description: e });
4245
+ },
4246
+ warning(l, e, t) {
4247
+ return this.show({ ...t, variant: "warning", heading: l, description: e });
4248
+ },
4249
+ primary(l, e, t) {
4250
+ return this.show({ ...t, variant: "primary", heading: l, description: e });
4251
+ },
4252
+ gray(l, e, t) {
4253
+ return this.show({ ...t, variant: "gray", heading: l, description: e });
4254
+ }
4255
+ }, S1 = /* @__PURE__ */ new Map();
4256
+ function r3(l = "bottom-left") {
4257
+ if (S1.has(l)) return S1.get(l);
4258
+ const e = document.createElement("anduin-toaster");
4259
+ return e.position = l, document.body.appendChild(e), S1.set(l, e), e;
4260
+ }
3942
4261
  if (typeof document < "u" && !document.getElementById("acl-tokens")) {
3943
4262
  const l = document.createElement("style");
3944
- l.id = "acl-tokens", l.textContent = $5, document.head.appendChild(l);
4263
+ l.id = "acl-tokens", l.textContent = S5, document.head.appendChild(l);
3945
4264
  }
3946
4265
  export {
3947
4266
  x as AnduinAvatar,
3948
- M1 as AnduinBadge,
3949
- r1 as AnduinBadgeCount,
4267
+ Z1 as AnduinBadge,
4268
+ d1 as AnduinBadgeCount,
3950
4269
  V as AnduinButton,
3951
- m1 as AnduinCallout,
3952
- E as AnduinCheckbox,
3953
- a1 as AnduinDivider,
3954
- b1 as AnduinDot,
3955
- y1 as AnduinField,
3956
- z1 as AnduinFieldDescription,
3957
- P1 as AnduinFieldError,
3958
- S1 as AnduinFieldGroup,
3959
- d1 as AnduinFieldLabel,
3960
- h1 as AnduinFileIcon,
3961
- n1 as AnduinIcon,
3962
- g as AnduinInput,
3963
- Z1 as AnduinLoadingState,
3964
- I as AnduinMenu,
3965
- X as AnduinMenuItem,
3966
- D4 as AnduinModal,
3967
- O4 as AnduinModalClose,
3968
- A as AnduinPopover,
3969
- j1 as AnduinPopoverClose,
3970
- s1 as AnduinProgress,
4270
+ y1 as AnduinCallout,
4271
+ B as AnduinCheckbox,
4272
+ c1 as AnduinDivider,
4273
+ x1 as AnduinDot,
4274
+ R1 as AnduinField,
4275
+ O1 as AnduinFieldDescription,
4276
+ I1 as AnduinFieldError,
4277
+ T1 as AnduinFieldGroup,
4278
+ u1 as AnduinFieldLabel,
4279
+ f1 as AnduinFileIcon,
4280
+ s1 as AnduinIcon,
4281
+ L as AnduinInput,
4282
+ _1 as AnduinLoadingState,
4283
+ j as AnduinMenu,
4284
+ Q as AnduinMenuItem,
4285
+ q4 as AnduinModal,
4286
+ G4 as AnduinModalClose,
4287
+ k as AnduinPopover,
4288
+ W1 as AnduinPopoverClose,
4289
+ p1 as AnduinProgress,
3971
4290
  R as AnduinSkeleton,
3972
- i1 as AnduinSpinner,
3973
- p1 as AnduinTabContent,
3974
- _ as AnduinTabTrigger,
3975
- W as AnduinTabs,
3976
- c1 as AnduinTabsList,
3977
- K as AnduinTag,
3978
- D1 as AnduinTagClose,
4291
+ a1 as AnduinSpinner,
4292
+ H1 as AnduinTabContent,
4293
+ w as AnduinTabTrigger,
4294
+ K as AnduinTabs,
4295
+ h1 as AnduinTabsList,
4296
+ J as AnduinTag,
4297
+ N1 as AnduinTagClose,
3979
4298
  Z as AnduinTextarea,
3980
- u1 as AnduinTooltip,
3981
- T1 as AnduinTooltipContent,
3982
- I1 as AnduinTooltipTrigger,
3983
- x1 as AnduinWell,
3984
- N1 as AnduinWellClose,
3985
- u5 as BADGE_STYLES,
3986
- f4 as CHECKBOX_CHANGE,
3987
- V5 as FIELD_LABEL_CLICK,
3988
- _1 as FIELD_LABEL_CLICK_COORDINATED,
3989
- Y4 as FILE_ICONS,
3990
- J2 as INPUT_CHANGE,
3991
- L4 as INPUT_CLEAR,
3992
- q1 as MENU_ITEM_CLICK,
3993
- U1 as POPOVER_CLOSE,
3994
- b4 as TAB_CHANGE,
3995
- L5 as TAB_TRIGGER_CLICK,
3996
- w1 as TAB_VALUE_CHANGED,
3997
- y4 as TAG_CLOSE_CLICK,
3998
- M4 as TEXTAREA_CHANGE,
3999
- b5 as TOOLTIP_CONTENT_POPUP_MOUNTED,
4000
- Z5 as TOOLTIP_CONTENT_POPUP_UNMOUNTED,
4001
- t2 as TOOLTIP_HIDE,
4002
- M5 as TOOLTIP_SHOW,
4003
- m5 as TOOLTIP_TRIGGER_MOUNTED,
4004
- y5 as TOOLTIP_VISIBILITY_CHANGED,
4005
- B4 as WELL_CLOSE_CLICK,
4006
- h5 as getBadgeVariantClass,
4007
- K4 as resolveFileIcon
4299
+ z as AnduinToast,
4300
+ V1 as AnduinToaster,
4301
+ v1 as AnduinTooltip,
4302
+ q1 as AnduinTooltipContent,
4303
+ U1 as AnduinTooltipTrigger,
4304
+ w1 as AnduinWell,
4305
+ G1 as AnduinWellClose,
4306
+ L5 as BADGE_STYLES,
4307
+ Z4 as CHECKBOX_CHANGE,
4308
+ y5 as FIELD_LABEL_CLICK,
4309
+ $1 as FIELD_LABEL_CLICK_COORDINATED,
4310
+ t3 as FILE_ICONS,
4311
+ l5 as INPUT_CHANGE,
4312
+ x4 as INPUT_CLEAR,
4313
+ X1 as MENU_ITEM_CLICK,
4314
+ Y1 as POPOVER_CLOSE,
4315
+ k4 as TAB_CHANGE,
4316
+ x5 as TAB_TRIGGER_CLICK,
4317
+ E1 as TAB_VALUE_CHANGED,
4318
+ E4 as TAG_CLOSE_CLICK,
4319
+ R4 as TEXTAREA_CHANGE,
4320
+ k5 as TOOLTIP_CONTENT_POPUP_MOUNTED,
4321
+ $5 as TOOLTIP_CONTENT_POPUP_UNMOUNTED,
4322
+ i2 as TOOLTIP_HIDE,
4323
+ R5 as TOOLTIP_SHOW,
4324
+ w5 as TOOLTIP_TRIGGER_MOUNTED,
4325
+ E5 as TOOLTIP_VISIBILITY_CHANGED,
4326
+ I4 as WELL_CLOSE_CLICK,
4327
+ m5 as getBadgeVariantClass,
4328
+ o3 as resolveFileIcon,
4329
+ c3 as toast
4008
4330
  };