design-system-silkhaus 4.0.1 → 4.1.0-beta.tickets.2

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,16 +1,16 @@
1
- var mo = Object.defineProperty, ho = Object.defineProperties;
2
- var po = Object.getOwnPropertyDescriptors;
1
+ var gi = Object.defineProperty, mi = Object.defineProperties;
2
+ var hi = Object.getOwnPropertyDescriptors;
3
3
  var at = Object.getOwnPropertySymbols;
4
4
  var yr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable;
5
- var xr = (e, t, r) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, P = (e, t) => {
5
+ var xr = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, L = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
7
  yr.call(t, r) && xr(e, r, t[r]);
8
8
  if (at)
9
9
  for (var r of at(t))
10
10
  wr.call(t, r) && xr(e, r, t[r]);
11
11
  return e;
12
- }, V = (e, t) => ho(e, po(t));
13
- var kt = (e) => typeof e == "symbol" ? e : e + "", me = (e, t) => {
12
+ }, V = (e, t) => mi(e, hi(t));
13
+ var zt = (e) => typeof e == "symbol" ? e : e + "", me = (e, t) => {
14
14
  var r = {};
15
15
  for (var n in e)
16
16
  yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -19,26 +19,26 @@ var kt = (e) => typeof e == "symbol" ? e : e + "", me = (e, t) => {
19
19
  t.indexOf(n) < 0 && wr.call(e, n) && (r[n] = e[n]);
20
20
  return r;
21
21
  };
22
- var he = (e, t, r) => new Promise((n, o) => {
22
+ var he = (e, t, r) => new Promise((n, i) => {
23
23
  var a = (c) => {
24
24
  try {
25
25
  l(r.next(c));
26
26
  } catch (u) {
27
- o(u);
27
+ i(u);
28
28
  }
29
- }, i = (c) => {
29
+ }, o = (c) => {
30
30
  try {
31
31
  l(r.throw(c));
32
32
  } catch (u) {
33
- o(u);
33
+ i(u);
34
34
  }
35
- }, l = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(a, i);
35
+ }, l = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(a, o);
36
36
  l((r = r.apply(e, t)).next());
37
37
  });
38
38
  import * as v from "react";
39
- import Fe, { useLayoutEffect as Kr, useEffect as Je, useRef as vo, forwardRef as Kt, useState as ue } from "react";
39
+ import Fe, { useLayoutEffect as Kr, useEffect as Je, useRef as pi, forwardRef as Kt, useState as ue } from "react";
40
40
  import * as Xr from "react-dom";
41
- import { createPortal as bo } from "react-dom";
41
+ import { createPortal as vi } from "react-dom";
42
42
  var It = { exports: {} }, Ve = {};
43
43
  /**
44
44
  * @license React
@@ -50,18 +50,18 @@ var It = { exports: {} }, Ve = {};
50
50
  * LICENSE file in the root directory of this source tree.
51
51
  */
52
52
  var Rr;
53
- function xo() {
53
+ function bi() {
54
54
  if (Rr) return Ve;
55
55
  Rr = 1;
56
- var e = Fe, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
57
- function i(l, c, u) {
56
+ var e = Fe, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
57
+ function o(l, c, u) {
58
58
  var d, g = {}, p = null, f = null;
59
59
  u !== void 0 && (p = "" + u), c.key !== void 0 && (p = "" + c.key), c.ref !== void 0 && (f = c.ref);
60
60
  for (d in c) n.call(c, d) && !a.hasOwnProperty(d) && (g[d] = c[d]);
61
61
  if (l && l.defaultProps) for (d in c = l.defaultProps, c) g[d] === void 0 && (g[d] = c[d]);
62
- return { $$typeof: t, type: l, key: p, ref: f, props: g, _owner: o.current };
62
+ return { $$typeof: t, type: l, key: p, ref: f, props: g, _owner: i.current };
63
63
  }
64
- return Ve.Fragment = r, Ve.jsx = i, Ve.jsxs = i, Ve;
64
+ return Ve.Fragment = r, Ve.jsx = o, Ve.jsxs = o, Ve;
65
65
  }
66
66
  var Ge = {};
67
67
  /**
@@ -74,9 +74,9 @@ var Ge = {};
74
74
  * LICENSE file in the root directory of this source tree.
75
75
  */
76
76
  var Er;
77
- function yo() {
77
+ function xi() {
78
78
  return Er || (Er = 1, process.env.NODE_ENV !== "production" && function() {
79
- var e = Fe, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), f = Symbol.for("react.offscreen"), m = Symbol.iterator, h = "@@iterator";
79
+ var e = Fe, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), f = Symbol.for("react.offscreen"), m = Symbol.iterator, h = "@@iterator";
80
80
  function w(s) {
81
81
  if (s === null || typeof s != "object")
82
82
  return null;
@@ -101,10 +101,10 @@ function yo() {
101
101
  K.unshift("Warning: " + b), Function.prototype.apply.call(console[s], console, K);
102
102
  }
103
103
  }
104
- var S = !1, L = !1, H = !1, N = !1, B = !1, J;
104
+ var T = !1, P = !1, H = !1, N = !1, B = !1, J;
105
105
  J = Symbol.for("react.module.reference");
106
106
  function U(s) {
107
- return !!(typeof s == "string" || typeof s == "function" || s === n || s === a || B || s === o || s === u || s === d || N || s === f || S || L || H || typeof s == "object" && s !== null && (s.$$typeof === p || s.$$typeof === g || s.$$typeof === i || s.$$typeof === l || s.$$typeof === c || // This needs to include all possible module reference object
107
+ return !!(typeof s == "string" || typeof s == "function" || s === n || s === a || B || s === i || s === u || s === d || N || s === f || T || P || H || typeof s == "object" && s !== null && (s.$$typeof === p || s.$$typeof === g || s.$$typeof === o || s.$$typeof === l || s.$$typeof === c || // This needs to include all possible module reference object
108
108
  // types supported by any Flight configuration anywhere since
109
109
  // we don't know which Flight build this will end up being used
110
110
  // with.
@@ -134,7 +134,7 @@ function yo() {
134
134
  return "Portal";
135
135
  case a:
136
136
  return "Profiler";
137
- case o:
137
+ case i:
138
138
  return "StrictMode";
139
139
  case u:
140
140
  return "Suspense";
@@ -146,7 +146,7 @@ function yo() {
146
146
  case l:
147
147
  var b = s;
148
148
  return _(b) + ".Consumer";
149
- case i:
149
+ case o:
150
150
  var C = s;
151
151
  return _(C._context) + ".Provider";
152
152
  case c:
@@ -165,18 +165,18 @@ function yo() {
165
165
  }
166
166
  return null;
167
167
  }
168
- var A = Object.assign, T = 0, k, z, M, $, W, F, xe;
169
- function Pe() {
168
+ var W = Object.assign, S = 0, z, k, M, $, A, F, xe;
169
+ function Le() {
170
170
  }
171
- Pe.__reactDisabledLog = !0;
171
+ Le.__reactDisabledLog = !0;
172
172
  function rt() {
173
173
  {
174
- if (T === 0) {
175
- k = console.log, z = console.info, M = console.warn, $ = console.error, W = console.group, F = console.groupCollapsed, xe = console.groupEnd;
174
+ if (S === 0) {
175
+ z = console.log, k = console.info, M = console.warn, $ = console.error, A = console.group, F = console.groupCollapsed, xe = console.groupEnd;
176
176
  var s = {
177
177
  configurable: !0,
178
178
  enumerable: !0,
179
- value: Pe,
179
+ value: Le,
180
180
  writable: !0
181
181
  };
182
182
  Object.defineProperties(console, {
@@ -189,42 +189,42 @@ function yo() {
189
189
  groupEnd: s
190
190
  });
191
191
  }
192
- T++;
192
+ S++;
193
193
  }
194
194
  }
195
195
  function re() {
196
196
  {
197
- if (T--, T === 0) {
197
+ if (S--, S === 0) {
198
198
  var s = {
199
199
  configurable: !0,
200
200
  enumerable: !0,
201
201
  writable: !0
202
202
  };
203
203
  Object.defineProperties(console, {
204
- log: A({}, s, {
205
- value: k
206
- }),
207
- info: A({}, s, {
204
+ log: W({}, s, {
208
205
  value: z
209
206
  }),
210
- warn: A({}, s, {
207
+ info: W({}, s, {
208
+ value: k
209
+ }),
210
+ warn: W({}, s, {
211
211
  value: M
212
212
  }),
213
- error: A({}, s, {
213
+ error: W({}, s, {
214
214
  value: $
215
215
  }),
216
- group: A({}, s, {
217
- value: W
216
+ group: W({}, s, {
217
+ value: A
218
218
  }),
219
- groupCollapsed: A({}, s, {
219
+ groupCollapsed: W({}, s, {
220
220
  value: F
221
221
  }),
222
- groupEnd: A({}, s, {
222
+ groupEnd: W({}, s, {
223
223
  value: xe
224
224
  })
225
225
  });
226
226
  }
227
- T < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
227
+ S < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
228
228
  }
229
229
  }
230
230
  var se = x.ReactCurrentDispatcher, ge;
@@ -246,7 +246,7 @@ function yo() {
246
246
  var Nn = typeof WeakMap == "function" ? WeakMap : Map;
247
247
  nt = new Nn();
248
248
  }
249
- function or(s, b) {
249
+ function ir(s, b) {
250
250
  if (!s || wt)
251
251
  return "";
252
252
  {
@@ -314,21 +314,21 @@ function yo() {
314
314
  } finally {
315
315
  wt = !1, se.current = K, re(), Error.prepareStackTrace = Y;
316
316
  }
317
- var Ae = s ? s.displayName || s.name : "", Le = Ae ? Ne(Ae) : "";
318
- return typeof s == "function" && nt.set(s, Le), Le;
317
+ var We = s ? s.displayName || s.name : "", Pe = We ? Ne(We) : "";
318
+ return typeof s == "function" && nt.set(s, Pe), Pe;
319
319
  }
320
320
  function $n(s, b, C) {
321
- return or(s, !1);
321
+ return ir(s, !1);
322
322
  }
323
323
  function Vn(s) {
324
324
  var b = s.prototype;
325
325
  return !!(b && b.isReactComponent);
326
326
  }
327
- function ot(s, b, C) {
327
+ function it(s, b, C) {
328
328
  if (s == null)
329
329
  return "";
330
330
  if (typeof s == "function")
331
- return or(s, Vn(s));
331
+ return ir(s, Vn(s));
332
332
  if (typeof s == "string")
333
333
  return Ne(s);
334
334
  switch (s) {
@@ -342,21 +342,21 @@ function yo() {
342
342
  case c:
343
343
  return $n(s.render);
344
344
  case g:
345
- return ot(s.type, b, C);
345
+ return it(s.type, b, C);
346
346
  case p: {
347
347
  var O = s, Y = O._payload, K = O._init;
348
348
  try {
349
- return ot(K(Y), b, C);
349
+ return it(K(Y), b, C);
350
350
  } catch (D) {
351
351
  }
352
352
  }
353
353
  }
354
354
  return "";
355
355
  }
356
- var $e = Object.prototype.hasOwnProperty, ir = {}, ar = x.ReactDebugCurrentFrame;
357
- function it(s) {
356
+ var $e = Object.prototype.hasOwnProperty, or = {}, ar = x.ReactDebugCurrentFrame;
357
+ function ot(s) {
358
358
  if (s) {
359
- var b = s._owner, C = ot(s.type, s._source, b ? b.type : null);
359
+ var b = s._owner, C = it(s.type, s._source, b ? b.type : null);
360
360
  ar.setExtraStackFrame(C);
361
361
  } else
362
362
  ar.setExtraStackFrame(null);
@@ -376,7 +376,7 @@ function yo() {
376
376
  } catch (Q) {
377
377
  I = Q;
378
378
  }
379
- I && !(I instanceof Error) && (it(Y), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", O || "React class", C, D, typeof I), it(null)), I instanceof Error && !(I.message in ir) && (ir[I.message] = !0, it(Y), y("Failed %s type: %s", C, I.message), it(null));
379
+ I && !(I instanceof Error) && (ot(Y), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", O || "React class", C, D, typeof I), ot(null)), I instanceof Error && !(I.message in or) && (or[I.message] = !0, ot(Y), y("Failed %s type: %s", C, I.message), ot(null));
380
380
  }
381
381
  }
382
382
  }
@@ -440,7 +440,7 @@ function yo() {
440
440
  });
441
441
  }
442
442
  }
443
- function eo(s, b) {
443
+ function ei(s, b) {
444
444
  {
445
445
  var C = function() {
446
446
  dr || (dr = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", b));
@@ -451,7 +451,7 @@ function yo() {
451
451
  });
452
452
  }
453
453
  }
454
- var to = function(s, b, C, O, Y, K, D) {
454
+ var ti = function(s, b, C, O, Y, K, D) {
455
455
  var I = {
456
456
  // This tag allows us to uniquely identify this as a React Element
457
457
  $$typeof: t,
@@ -480,7 +480,7 @@ function yo() {
480
480
  value: Y
481
481
  }), Object.freeze && (Object.freeze(I.props), Object.freeze(I)), I;
482
482
  };
483
- function ro(s, b, C, O, Y) {
483
+ function ri(s, b, C, O, Y) {
484
484
  {
485
485
  var K, D = {}, I = null, te = null;
486
486
  C !== void 0 && (sr(C), I = "" + C), Jn(b) && (sr(b.key), I = "" + b.key), Xn(b) && (te = b.ref, Zn(b, Y));
@@ -493,22 +493,22 @@ function yo() {
493
493
  }
494
494
  if (I || te) {
495
495
  var ee = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
496
- I && Qn(D, ee), te && eo(D, ee);
496
+ I && Qn(D, ee), te && ei(D, ee);
497
497
  }
498
- return to(s, I, te, Y, O, cr.current, D);
498
+ return ti(s, I, te, Y, O, cr.current, D);
499
499
  }
500
500
  }
501
501
  var Et = x.ReactCurrentOwner, fr = x.ReactDebugCurrentFrame;
502
502
  function _e(s) {
503
503
  if (s) {
504
- var b = s._owner, C = ot(s.type, s._source, b ? b.type : null);
504
+ var b = s._owner, C = it(s.type, s._source, b ? b.type : null);
505
505
  fr.setExtraStackFrame(C);
506
506
  } else
507
507
  fr.setExtraStackFrame(null);
508
508
  }
509
- var St;
510
- St = !1;
511
- function Tt(s) {
509
+ var Tt;
510
+ Tt = !1;
511
+ function St(s) {
512
512
  return typeof s == "object" && s !== null && s.$$typeof === t;
513
513
  }
514
514
  function gr() {
@@ -523,11 +523,11 @@ Check the render method of \`` + s + "`.";
523
523
  return "";
524
524
  }
525
525
  }
526
- function no(s) {
526
+ function ni(s) {
527
527
  return "";
528
528
  }
529
529
  var mr = {};
530
- function oo(s) {
530
+ function ii(s) {
531
531
  {
532
532
  var b = gr();
533
533
  if (!b) {
@@ -544,7 +544,7 @@ Check the top-level render call using <` + C + ">.");
544
544
  if (!s._store || s._store.validated || s.key != null)
545
545
  return;
546
546
  s._store.validated = !0;
547
- var C = oo(b);
547
+ var C = ii(b);
548
548
  if (mr[C])
549
549
  return;
550
550
  mr[C] = !0;
@@ -559,19 +559,19 @@ Check the top-level render call using <` + C + ">.");
559
559
  if (Rt(s))
560
560
  for (var C = 0; C < s.length; C++) {
561
561
  var O = s[C];
562
- Tt(O) && hr(O, b);
562
+ St(O) && hr(O, b);
563
563
  }
564
- else if (Tt(s))
564
+ else if (St(s))
565
565
  s._store && (s._store.validated = !0);
566
566
  else if (s) {
567
567
  var Y = w(s);
568
568
  if (typeof Y == "function" && Y !== s.entries)
569
569
  for (var K = Y.call(s), D; !(D = K.next()).done; )
570
- Tt(D.value) && hr(D.value, b);
570
+ St(D.value) && hr(D.value, b);
571
571
  }
572
572
  }
573
573
  }
574
- function io(s) {
574
+ function oi(s) {
575
575
  {
576
576
  var b = s.type;
577
577
  if (b == null || typeof b == "string")
@@ -588,15 +588,15 @@ Check the top-level render call using <` + C + ">.");
588
588
  if (C) {
589
589
  var O = q(b);
590
590
  Gn(C, s.props, "prop", O, s);
591
- } else if (b.PropTypes !== void 0 && !St) {
592
- St = !0;
591
+ } else if (b.PropTypes !== void 0 && !Tt) {
592
+ Tt = !0;
593
593
  var Y = q(b);
594
594
  y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Y || "Unknown");
595
595
  }
596
596
  typeof b.getDefaultProps == "function" && !b.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
597
597
  }
598
598
  }
599
- function ao(s) {
599
+ function ai(s) {
600
600
  {
601
601
  for (var b = Object.keys(s.props), C = 0; C < b.length; C++) {
602
602
  var O = b[C];
@@ -615,12 +615,12 @@ Check the top-level render call using <` + C + ">.");
615
615
  if (!D) {
616
616
  var I = "";
617
617
  (s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (I += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
618
- var te = no();
618
+ var te = ni();
619
619
  te ? I += te : I += gr();
620
620
  var Q;
621
621
  s === null ? Q = "null" : Rt(s) ? Q = "array" : s !== void 0 && s.$$typeof === t ? (Q = "<" + (q(s.type) || "Unknown") + " />", I = " Did you accidentally export a JSX literal instead of a component?") : Q = typeof s, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Q, I);
622
622
  }
623
- var ee = ro(s, b, C, Y, K);
623
+ var ee = ri(s, b, C, Y, K);
624
624
  if (ee == null)
625
625
  return ee;
626
626
  if (D) {
@@ -628,8 +628,8 @@ Check the top-level render call using <` + C + ">.");
628
628
  if (ce !== void 0)
629
629
  if (O)
630
630
  if (Rt(ce)) {
631
- for (var Ae = 0; Ae < ce.length; Ae++)
632
- pr(ce[Ae], s);
631
+ for (var We = 0; We < ce.length; We++)
632
+ pr(ce[We], s);
633
633
  Object.freeze && Object.freeze(ce);
634
634
  } else
635
635
  y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
@@ -637,69 +637,69 @@ Check the top-level render call using <` + C + ">.");
637
637
  pr(ce, s);
638
638
  }
639
639
  if ($e.call(b, "key")) {
640
- var Le = q(s), ne = Object.keys(b).filter(function(go) {
641
- return go !== "key";
640
+ var Pe = q(s), ne = Object.keys(b).filter(function(fi) {
641
+ return fi !== "key";
642
642
  }), Ct = ne.length > 0 ? "{key: someKey, " + ne.join(": ..., ") + ": ...}" : "{key: someKey}";
643
- if (!vr[Le + Ct]) {
644
- var fo = ne.length > 0 ? "{" + ne.join(": ..., ") + ": ...}" : "{}";
643
+ if (!vr[Pe + Ct]) {
644
+ var di = ne.length > 0 ? "{" + ne.join(": ..., ") + ": ...}" : "{}";
645
645
  y(`A props object containing a "key" prop is being spread into JSX:
646
646
  let props = %s;
647
647
  <%s {...props} />
648
648
  React keys must be passed directly to JSX without using spread:
649
649
  let props = %s;
650
- <%s key={someKey} {...props} />`, Ct, Le, fo, Le), vr[Le + Ct] = !0;
650
+ <%s key={someKey} {...props} />`, Ct, Pe, di, Pe), vr[Pe + Ct] = !0;
651
651
  }
652
652
  }
653
- return s === n ? ao(ee) : io(ee), ee;
653
+ return s === n ? ai(ee) : oi(ee), ee;
654
654
  }
655
655
  }
656
- function lo(s, b, C) {
656
+ function li(s, b, C) {
657
657
  return br(s, b, C, !0);
658
658
  }
659
- function so(s, b, C) {
659
+ function si(s, b, C) {
660
660
  return br(s, b, C, !1);
661
661
  }
662
- var co = so, uo = lo;
663
- Ge.Fragment = n, Ge.jsx = co, Ge.jsxs = uo;
662
+ var ci = si, ui = li;
663
+ Ge.Fragment = n, Ge.jsx = ci, Ge.jsxs = ui;
664
664
  }()), Ge;
665
665
  }
666
- process.env.NODE_ENV === "production" ? It.exports = xo() : It.exports = yo();
666
+ process.env.NODE_ENV === "production" ? It.exports = bi() : It.exports = xi();
667
667
  var R = It.exports;
668
- const Xt = "-", wo = (e) => {
669
- const t = Eo(e), {
668
+ const Xt = "-", yi = (e) => {
669
+ const t = Ri(e), {
670
670
  conflictingClassGroups: r,
671
671
  conflictingClassGroupModifiers: n
672
672
  } = e;
673
673
  return {
674
- getClassGroupId: (i) => {
675
- const l = i.split(Xt);
676
- return l[0] === "" && l.length !== 1 && l.shift(), Jr(l, t) || Ro(i);
674
+ getClassGroupId: (o) => {
675
+ const l = o.split(Xt);
676
+ return l[0] === "" && l.length !== 1 && l.shift(), Jr(l, t) || wi(o);
677
677
  },
678
- getConflictingClassGroupIds: (i, l) => {
679
- const c = r[i] || [];
680
- return l && n[i] ? [...c, ...n[i]] : c;
678
+ getConflictingClassGroupIds: (o, l) => {
679
+ const c = r[o] || [];
680
+ return l && n[o] ? [...c, ...n[o]] : c;
681
681
  }
682
682
  };
683
683
  }, Jr = (e, t) => {
684
- var i;
684
+ var o;
685
685
  if (e.length === 0)
686
686
  return t.classGroupId;
687
- const r = e[0], n = t.nextPart.get(r), o = n ? Jr(e.slice(1), n) : void 0;
688
- if (o)
689
- return o;
687
+ const r = e[0], n = t.nextPart.get(r), i = n ? Jr(e.slice(1), n) : void 0;
688
+ if (i)
689
+ return i;
690
690
  if (t.validators.length === 0)
691
691
  return;
692
692
  const a = e.join(Xt);
693
- return (i = t.validators.find(({
693
+ return (o = t.validators.find(({
694
694
  validator: l
695
- }) => l(a))) == null ? void 0 : i.classGroupId;
696
- }, Sr = /^\[(.+)\]$/, Ro = (e) => {
697
- if (Sr.test(e)) {
698
- const t = Sr.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
695
+ }) => l(a))) == null ? void 0 : o.classGroupId;
696
+ }, Tr = /^\[(.+)\]$/, wi = (e) => {
697
+ if (Tr.test(e)) {
698
+ const t = Tr.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
699
699
  if (r)
700
700
  return "arbitrary.." + r;
701
701
  }
702
- }, Eo = (e) => {
702
+ }, Ri = (e) => {
703
703
  const {
704
704
  theme: t,
705
705
  prefix: r
@@ -707,32 +707,32 @@ const Xt = "-", wo = (e) => {
707
707
  nextPart: /* @__PURE__ */ new Map(),
708
708
  validators: []
709
709
  };
710
- return To(Object.entries(e.classGroups), r).forEach(([a, i]) => {
711
- Bt(i, n, a, t);
710
+ return Ti(Object.entries(e.classGroups), r).forEach(([a, o]) => {
711
+ Bt(o, n, a, t);
712
712
  }), n;
713
713
  }, Bt = (e, t, r, n) => {
714
- e.forEach((o) => {
715
- if (typeof o == "string") {
716
- const a = o === "" ? t : Tr(t, o);
714
+ e.forEach((i) => {
715
+ if (typeof i == "string") {
716
+ const a = i === "" ? t : Sr(t, i);
717
717
  a.classGroupId = r;
718
718
  return;
719
719
  }
720
- if (typeof o == "function") {
721
- if (So(o)) {
722
- Bt(o(n), t, r, n);
720
+ if (typeof i == "function") {
721
+ if (Ei(i)) {
722
+ Bt(i(n), t, r, n);
723
723
  return;
724
724
  }
725
725
  t.validators.push({
726
- validator: o,
726
+ validator: i,
727
727
  classGroupId: r
728
728
  });
729
729
  return;
730
730
  }
731
- Object.entries(o).forEach(([a, i]) => {
732
- Bt(i, Tr(t, a), r, n);
731
+ Object.entries(i).forEach(([a, o]) => {
732
+ Bt(o, Sr(t, a), r, n);
733
733
  });
734
734
  });
735
- }, Tr = (e, t) => {
735
+ }, Sr = (e, t) => {
736
736
  let r = e;
737
737
  return t.split(Xt).forEach((n) => {
738
738
  r.nextPart.has(n) || r.nextPart.set(n, {
@@ -740,10 +740,10 @@ const Xt = "-", wo = (e) => {
740
740
  validators: []
741
741
  }), r = r.nextPart.get(n);
742
742
  }), r;
743
- }, So = (e) => e.isThemeGetter, To = (e, t) => t ? e.map(([r, n]) => {
744
- const o = n.map((a) => typeof a == "string" ? t + a : typeof a == "object" ? Object.fromEntries(Object.entries(a).map(([i, l]) => [t + i, l])) : a);
745
- return [r, o];
746
- }) : e, Co = (e) => {
743
+ }, Ei = (e) => e.isThemeGetter, Ti = (e, t) => t ? e.map(([r, n]) => {
744
+ const i = n.map((a) => typeof a == "string" ? t + a : typeof a == "object" ? Object.fromEntries(Object.entries(a).map(([o, l]) => [t + o, l])) : a);
745
+ return [r, i];
746
+ }) : e, Si = (e) => {
747
747
  if (e < 1)
748
748
  return {
749
749
  get: () => {
@@ -752,32 +752,32 @@ const Xt = "-", wo = (e) => {
752
752
  }
753
753
  };
754
754
  let t = 0, r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
755
- const o = (a, i) => {
756
- r.set(a, i), t++, t > e && (t = 0, n = r, r = /* @__PURE__ */ new Map());
755
+ const i = (a, o) => {
756
+ r.set(a, o), t++, t > e && (t = 0, n = r, r = /* @__PURE__ */ new Map());
757
757
  };
758
758
  return {
759
759
  get(a) {
760
- let i = r.get(a);
761
- if (i !== void 0)
762
- return i;
763
- if ((i = n.get(a)) !== void 0)
764
- return o(a, i), i;
760
+ let o = r.get(a);
761
+ if (o !== void 0)
762
+ return o;
763
+ if ((o = n.get(a)) !== void 0)
764
+ return i(a, o), o;
765
765
  },
766
- set(a, i) {
767
- r.has(a) ? r.set(a, i) : o(a, i);
766
+ set(a, o) {
767
+ r.has(a) ? r.set(a, o) : i(a, o);
768
768
  }
769
769
  };
770
- }, Zr = "!", ko = (e) => {
770
+ }, Zr = "!", Ci = (e) => {
771
771
  const {
772
772
  separator: t,
773
773
  experimentalParseClassName: r
774
- } = e, n = t.length === 1, o = t[0], a = t.length, i = (l) => {
774
+ } = e, n = t.length === 1, i = t[0], a = t.length, o = (l) => {
775
775
  const c = [];
776
776
  let u = 0, d = 0, g;
777
777
  for (let w = 0; w < l.length; w++) {
778
778
  let x = l[w];
779
779
  if (u === 0) {
780
- if (x === o && (n || l.slice(w, w + a) === t)) {
780
+ if (x === i && (n || l.slice(w, w + a) === t)) {
781
781
  c.push(l.slice(d, w)), d = w + a;
782
782
  continue;
783
783
  }
@@ -798,9 +798,9 @@ const Xt = "-", wo = (e) => {
798
798
  };
799
799
  return r ? (l) => r({
800
800
  className: l,
801
- parseClassName: i
802
- }) : i;
803
- }, zo = (e) => {
801
+ parseClassName: o
802
+ }) : o;
803
+ }, zi = (e) => {
804
804
  if (e.length <= 1)
805
805
  return e;
806
806
  const t = [];
@@ -808,18 +808,18 @@ const Xt = "-", wo = (e) => {
808
808
  return e.forEach((n) => {
809
809
  n[0] === "[" ? (t.push(...r.sort(), n), r = []) : r.push(n);
810
810
  }), t.push(...r.sort()), t;
811
- }, Po = (e) => P({
812
- cache: Co(e.cacheSize),
813
- parseClassName: ko(e)
814
- }, wo(e)), Lo = /\s+/, Mo = (e, t) => {
811
+ }, ki = (e) => L({
812
+ cache: Si(e.cacheSize),
813
+ parseClassName: Ci(e)
814
+ }, yi(e)), Li = /\s+/, Pi = (e, t) => {
815
815
  const {
816
816
  parseClassName: r,
817
817
  getClassGroupId: n,
818
- getConflictingClassGroupIds: o
819
- } = t, a = [], i = e.trim().split(Lo);
818
+ getConflictingClassGroupIds: i
819
+ } = t, a = [], o = e.trim().split(Li);
820
820
  let l = "";
821
- for (let c = i.length - 1; c >= 0; c -= 1) {
822
- const u = i[c], {
821
+ for (let c = o.length - 1; c >= 0; c -= 1) {
822
+ const u = o[c], {
823
823
  modifiers: d,
824
824
  hasImportantModifier: g,
825
825
  baseClassName: p,
@@ -837,20 +837,20 @@ const Xt = "-", wo = (e) => {
837
837
  }
838
838
  m = !1;
839
839
  }
840
- const w = zo(d).join(":"), x = g ? w + Zr : w, y = x + h;
840
+ const w = zi(d).join(":"), x = g ? w + Zr : w, y = x + h;
841
841
  if (a.includes(y))
842
842
  continue;
843
843
  a.push(y);
844
- const E = o(h, m);
845
- for (let S = 0; S < E.length; ++S) {
846
- const L = E[S];
847
- a.push(x + L);
844
+ const E = i(h, m);
845
+ for (let T = 0; T < E.length; ++T) {
846
+ const P = E[T];
847
+ a.push(x + P);
848
848
  }
849
849
  l = u + (l.length > 0 ? " " + l : l);
850
850
  }
851
851
  return l;
852
852
  };
853
- function Ho() {
853
+ function Mi() {
854
854
  let e = 0, t, r, n = "";
855
855
  for (; e < arguments.length; )
856
856
  (t = arguments[e++]) && (r = Qr(t)) && (n && (n += " "), n += r);
@@ -865,35 +865,35 @@ const Qr = (e) => {
865
865
  return r;
866
866
  };
867
867
  function Dt(e, ...t) {
868
- let r, n, o, a = i;
869
- function i(c) {
868
+ let r, n, i, a = o;
869
+ function o(c) {
870
870
  const u = t.reduce((d, g) => g(d), e());
871
- return r = Po(u), n = r.cache.get, o = r.cache.set, a = l, l(c);
871
+ return r = ki(u), n = r.cache.get, i = r.cache.set, a = l, l(c);
872
872
  }
873
873
  function l(c) {
874
874
  const u = n(c);
875
875
  if (u)
876
876
  return u;
877
- const d = Mo(c, r);
878
- return o(c, d), d;
877
+ const d = Pi(c, r);
878
+ return i(c, d), d;
879
879
  }
880
880
  return function() {
881
- return a(Ho.apply(null, arguments));
881
+ return a(Mi.apply(null, arguments));
882
882
  };
883
883
  }
884
884
  const Z = (e) => {
885
885
  const t = (r) => r[e] || [];
886
886
  return t.isThemeGetter = !0, t;
887
- }, en = /^\[(?:([a-z-]+):)?(.+)\]$/i, _o = /^\d+\/\d+$/, Ao = /* @__PURE__ */ new Set(["px", "full", "screen"]), Wo = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Oo = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, jo = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Fo = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Io = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, pe = (e) => Oe(e) || Ao.has(e) || _o.test(e), ye = (e) => Be(e, "length", qo), Oe = (e) => !!e && !Number.isNaN(Number(e)), zt = (e) => Be(e, "number", Oe), Ue = (e) => !!e && Number.isInteger(Number(e)), Bo = (e) => e.endsWith("%") && Oe(e.slice(0, -1)), j = (e) => en.test(e), we = (e) => Wo.test(e), Do = /* @__PURE__ */ new Set(["length", "size", "percentage"]), No = (e) => Be(e, Do, tn), $o = (e) => Be(e, "position", tn), Vo = /* @__PURE__ */ new Set(["image", "url"]), Go = (e) => Be(e, Vo, Ko), Uo = (e) => Be(e, "", Yo), qe = () => !0, Be = (e, t, r) => {
887
+ }, en = /^\[(?:([a-z-]+):)?(.+)\]$/i, Hi = /^\d+\/\d+$/, _i = /* @__PURE__ */ new Set(["px", "full", "screen"]), Wi = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ai = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Oi = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, ji = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Fi = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, pe = (e) => Oe(e) || _i.has(e) || Hi.test(e), ye = (e) => Be(e, "length", Ui), Oe = (e) => !!e && !Number.isNaN(Number(e)), kt = (e) => Be(e, "number", Oe), Ue = (e) => !!e && Number.isInteger(Number(e)), Ii = (e) => e.endsWith("%") && Oe(e.slice(0, -1)), j = (e) => en.test(e), we = (e) => Wi.test(e), Bi = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Di = (e) => Be(e, Bi, tn), Ni = (e) => Be(e, "position", tn), $i = /* @__PURE__ */ new Set(["image", "url"]), Vi = (e) => Be(e, $i, Yi), Gi = (e) => Be(e, "", qi), qe = () => !0, Be = (e, t, r) => {
888
888
  const n = en.exec(e);
889
889
  return n ? n[1] ? typeof t == "string" ? n[1] === t : t.has(n[1]) : r(n[2]) : !1;
890
- }, qo = (e) => (
890
+ }, Ui = (e) => (
891
891
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
892
892
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
893
893
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
894
- Oo.test(e) && !jo.test(e)
895
- ), tn = () => !1, Yo = (e) => Fo.test(e), Ko = (e) => Io.test(e), Nt = () => {
896
- const e = Z("colors"), t = Z("spacing"), r = Z("blur"), n = Z("brightness"), o = Z("borderColor"), a = Z("borderRadius"), i = Z("borderSpacing"), l = Z("borderWidth"), c = Z("contrast"), u = Z("grayscale"), d = Z("hueRotate"), g = Z("invert"), p = Z("gap"), f = Z("gradientColorStops"), m = Z("gradientColorStopPositions"), h = Z("inset"), w = Z("margin"), x = Z("opacity"), y = Z("padding"), E = Z("saturate"), S = Z("scale"), L = Z("sepia"), H = Z("skew"), N = Z("space"), B = Z("translate"), J = () => ["auto", "contain", "none"], U = () => ["auto", "hidden", "clip", "visible", "scroll"], G = () => ["auto", j, t], _ = () => [j, t], q = () => ["", pe, ye], A = () => ["auto", Oe, j], T = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], k = () => ["solid", "dashed", "dotted", "double", "none"], z = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], M = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], $ = () => ["", "0", j], W = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], F = () => [Oe, j];
894
+ Ai.test(e) && !Oi.test(e)
895
+ ), tn = () => !1, qi = (e) => ji.test(e), Yi = (e) => Fi.test(e), Nt = () => {
896
+ const e = Z("colors"), t = Z("spacing"), r = Z("blur"), n = Z("brightness"), i = Z("borderColor"), a = Z("borderRadius"), o = Z("borderSpacing"), l = Z("borderWidth"), c = Z("contrast"), u = Z("grayscale"), d = Z("hueRotate"), g = Z("invert"), p = Z("gap"), f = Z("gradientColorStops"), m = Z("gradientColorStopPositions"), h = Z("inset"), w = Z("margin"), x = Z("opacity"), y = Z("padding"), E = Z("saturate"), T = Z("scale"), P = Z("sepia"), H = Z("skew"), N = Z("space"), B = Z("translate"), J = () => ["auto", "contain", "none"], U = () => ["auto", "hidden", "clip", "visible", "scroll"], G = () => ["auto", j, t], _ = () => [j, t], q = () => ["", pe, ye], W = () => ["auto", Oe, j], S = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], z = () => ["solid", "dashed", "dotted", "double", "none"], k = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], M = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], $ = () => ["", "0", j], A = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], F = () => [Oe, j];
897
897
  return {
898
898
  cacheSize: 500,
899
899
  separator: ":",
@@ -912,7 +912,7 @@ const Z = (e) => {
912
912
  invert: $(),
913
913
  gap: _(),
914
914
  gradientColorStops: [e],
915
- gradientColorStopPositions: [Bo, ye],
915
+ gradientColorStopPositions: [Ii, ye],
916
916
  inset: G(),
917
917
  margin: G(),
918
918
  opacity: F(),
@@ -950,14 +950,14 @@ const Z = (e) => {
950
950
  * @see https://tailwindcss.com/docs/break-after
951
951
  */
952
952
  "break-after": [{
953
- "break-after": W()
953
+ "break-after": A()
954
954
  }],
955
955
  /**
956
956
  * Break Before
957
957
  * @see https://tailwindcss.com/docs/break-before
958
958
  */
959
959
  "break-before": [{
960
- "break-before": W()
960
+ "break-before": A()
961
961
  }],
962
962
  /**
963
963
  * Break Inside
@@ -1016,7 +1016,7 @@ const Z = (e) => {
1016
1016
  * @see https://tailwindcss.com/docs/object-position
1017
1017
  */
1018
1018
  "object-position": [{
1019
- object: [...T(), j]
1019
+ object: [...S(), j]
1020
1020
  }],
1021
1021
  /**
1022
1022
  * Overflow
@@ -1211,14 +1211,14 @@ const Z = (e) => {
1211
1211
  * @see https://tailwindcss.com/docs/grid-column
1212
1212
  */
1213
1213
  "col-start": [{
1214
- "col-start": A()
1214
+ "col-start": W()
1215
1215
  }],
1216
1216
  /**
1217
1217
  * Grid Column End
1218
1218
  * @see https://tailwindcss.com/docs/grid-column
1219
1219
  */
1220
1220
  "col-end": [{
1221
- "col-end": A()
1221
+ "col-end": W()
1222
1222
  }],
1223
1223
  /**
1224
1224
  * Grid Template Rows
@@ -1241,14 +1241,14 @@ const Z = (e) => {
1241
1241
  * @see https://tailwindcss.com/docs/grid-row
1242
1242
  */
1243
1243
  "row-start": [{
1244
- "row-start": A()
1244
+ "row-start": W()
1245
1245
  }],
1246
1246
  /**
1247
1247
  * Grid Row End
1248
1248
  * @see https://tailwindcss.com/docs/grid-row
1249
1249
  */
1250
1250
  "row-end": [{
1251
- "row-end": A()
1251
+ "row-end": W()
1252
1252
  }],
1253
1253
  /**
1254
1254
  * Grid Auto Flow
@@ -1581,7 +1581,7 @@ const Z = (e) => {
1581
1581
  * @see https://tailwindcss.com/docs/font-weight
1582
1582
  */
1583
1583
  "font-weight": [{
1584
- font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", zt]
1584
+ font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", kt]
1585
1585
  }],
1586
1586
  /**
1587
1587
  * Font Family
@@ -1632,7 +1632,7 @@ const Z = (e) => {
1632
1632
  * @see https://tailwindcss.com/docs/line-clamp
1633
1633
  */
1634
1634
  "line-clamp": [{
1635
- "line-clamp": ["none", Oe, zt]
1635
+ "line-clamp": ["none", Oe, kt]
1636
1636
  }],
1637
1637
  /**
1638
1638
  * Line Height
@@ -1708,7 +1708,7 @@ const Z = (e) => {
1708
1708
  * @see https://tailwindcss.com/docs/text-decoration-style
1709
1709
  */
1710
1710
  "text-decoration-style": [{
1711
- decoration: [...k(), "wavy"]
1711
+ decoration: [...z(), "wavy"]
1712
1712
  }],
1713
1713
  /**
1714
1714
  * Text Decoration Thickness
@@ -1825,7 +1825,7 @@ const Z = (e) => {
1825
1825
  * @see https://tailwindcss.com/docs/background-position
1826
1826
  */
1827
1827
  "bg-position": [{
1828
- bg: [...T(), $o]
1828
+ bg: [...S(), Ni]
1829
1829
  }],
1830
1830
  /**
1831
1831
  * Background Repeat
@@ -1841,7 +1841,7 @@ const Z = (e) => {
1841
1841
  * @see https://tailwindcss.com/docs/background-size
1842
1842
  */
1843
1843
  "bg-size": [{
1844
- bg: ["auto", "cover", "contain", No]
1844
+ bg: ["auto", "cover", "contain", Di]
1845
1845
  }],
1846
1846
  /**
1847
1847
  * Background Image
@@ -1850,7 +1850,7 @@ const Z = (e) => {
1850
1850
  "bg-image": [{
1851
1851
  bg: ["none", {
1852
1852
  "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1853
- }, Go]
1853
+ }, Vi]
1854
1854
  }],
1855
1855
  /**
1856
1856
  * Background Color
@@ -2082,7 +2082,7 @@ const Z = (e) => {
2082
2082
  * @see https://tailwindcss.com/docs/border-style
2083
2083
  */
2084
2084
  "border-style": [{
2085
- border: [...k(), "hidden"]
2085
+ border: [...z(), "hidden"]
2086
2086
  }],
2087
2087
  /**
2088
2088
  * Divide Width X
@@ -2120,84 +2120,84 @@ const Z = (e) => {
2120
2120
  * @see https://tailwindcss.com/docs/divide-style
2121
2121
  */
2122
2122
  "divide-style": [{
2123
- divide: k()
2123
+ divide: z()
2124
2124
  }],
2125
2125
  /**
2126
2126
  * Border Color
2127
2127
  * @see https://tailwindcss.com/docs/border-color
2128
2128
  */
2129
2129
  "border-color": [{
2130
- border: [o]
2130
+ border: [i]
2131
2131
  }],
2132
2132
  /**
2133
2133
  * Border Color X
2134
2134
  * @see https://tailwindcss.com/docs/border-color
2135
2135
  */
2136
2136
  "border-color-x": [{
2137
- "border-x": [o]
2137
+ "border-x": [i]
2138
2138
  }],
2139
2139
  /**
2140
2140
  * Border Color Y
2141
2141
  * @see https://tailwindcss.com/docs/border-color
2142
2142
  */
2143
2143
  "border-color-y": [{
2144
- "border-y": [o]
2144
+ "border-y": [i]
2145
2145
  }],
2146
2146
  /**
2147
2147
  * Border Color S
2148
2148
  * @see https://tailwindcss.com/docs/border-color
2149
2149
  */
2150
2150
  "border-color-s": [{
2151
- "border-s": [o]
2151
+ "border-s": [i]
2152
2152
  }],
2153
2153
  /**
2154
2154
  * Border Color E
2155
2155
  * @see https://tailwindcss.com/docs/border-color
2156
2156
  */
2157
2157
  "border-color-e": [{
2158
- "border-e": [o]
2158
+ "border-e": [i]
2159
2159
  }],
2160
2160
  /**
2161
2161
  * Border Color Top
2162
2162
  * @see https://tailwindcss.com/docs/border-color
2163
2163
  */
2164
2164
  "border-color-t": [{
2165
- "border-t": [o]
2165
+ "border-t": [i]
2166
2166
  }],
2167
2167
  /**
2168
2168
  * Border Color Right
2169
2169
  * @see https://tailwindcss.com/docs/border-color
2170
2170
  */
2171
2171
  "border-color-r": [{
2172
- "border-r": [o]
2172
+ "border-r": [i]
2173
2173
  }],
2174
2174
  /**
2175
2175
  * Border Color Bottom
2176
2176
  * @see https://tailwindcss.com/docs/border-color
2177
2177
  */
2178
2178
  "border-color-b": [{
2179
- "border-b": [o]
2179
+ "border-b": [i]
2180
2180
  }],
2181
2181
  /**
2182
2182
  * Border Color Left
2183
2183
  * @see https://tailwindcss.com/docs/border-color
2184
2184
  */
2185
2185
  "border-color-l": [{
2186
- "border-l": [o]
2186
+ "border-l": [i]
2187
2187
  }],
2188
2188
  /**
2189
2189
  * Divide Color
2190
2190
  * @see https://tailwindcss.com/docs/divide-color
2191
2191
  */
2192
2192
  "divide-color": [{
2193
- divide: [o]
2193
+ divide: [i]
2194
2194
  }],
2195
2195
  /**
2196
2196
  * Outline Style
2197
2197
  * @see https://tailwindcss.com/docs/outline-style
2198
2198
  */
2199
2199
  "outline-style": [{
2200
- outline: ["", ...k()]
2200
+ outline: ["", ...z()]
2201
2201
  }],
2202
2202
  /**
2203
2203
  * Outline Offset
@@ -2266,7 +2266,7 @@ const Z = (e) => {
2266
2266
  * @see https://tailwindcss.com/docs/box-shadow
2267
2267
  */
2268
2268
  shadow: [{
2269
- shadow: ["", "inner", "none", we, Uo]
2269
+ shadow: ["", "inner", "none", we, Gi]
2270
2270
  }],
2271
2271
  /**
2272
2272
  * Box Shadow Color
@@ -2287,14 +2287,14 @@ const Z = (e) => {
2287
2287
  * @see https://tailwindcss.com/docs/mix-blend-mode
2288
2288
  */
2289
2289
  "mix-blend": [{
2290
- "mix-blend": [...z(), "plus-lighter", "plus-darker"]
2290
+ "mix-blend": [...k(), "plus-lighter", "plus-darker"]
2291
2291
  }],
2292
2292
  /**
2293
2293
  * Background Blend Mode
2294
2294
  * @see https://tailwindcss.com/docs/background-blend-mode
2295
2295
  */
2296
2296
  "bg-blend": [{
2297
- "bg-blend": z()
2297
+ "bg-blend": k()
2298
2298
  }],
2299
2299
  // Filters
2300
2300
  /**
@@ -2366,7 +2366,7 @@ const Z = (e) => {
2366
2366
  * @see https://tailwindcss.com/docs/sepia
2367
2367
  */
2368
2368
  sepia: [{
2369
- sepia: [L]
2369
+ sepia: [P]
2370
2370
  }],
2371
2371
  /**
2372
2372
  * Backdrop Filter
@@ -2437,7 +2437,7 @@ const Z = (e) => {
2437
2437
  * @see https://tailwindcss.com/docs/backdrop-sepia
2438
2438
  */
2439
2439
  "backdrop-sepia": [{
2440
- "backdrop-sepia": [L]
2440
+ "backdrop-sepia": [P]
2441
2441
  }],
2442
2442
  // Tables
2443
2443
  /**
@@ -2452,21 +2452,21 @@ const Z = (e) => {
2452
2452
  * @see https://tailwindcss.com/docs/border-spacing
2453
2453
  */
2454
2454
  "border-spacing": [{
2455
- "border-spacing": [i]
2455
+ "border-spacing": [o]
2456
2456
  }],
2457
2457
  /**
2458
2458
  * Border Spacing X
2459
2459
  * @see https://tailwindcss.com/docs/border-spacing
2460
2460
  */
2461
2461
  "border-spacing-x": [{
2462
- "border-spacing-x": [i]
2462
+ "border-spacing-x": [o]
2463
2463
  }],
2464
2464
  /**
2465
2465
  * Border Spacing Y
2466
2466
  * @see https://tailwindcss.com/docs/border-spacing
2467
2467
  */
2468
2468
  "border-spacing-y": [{
2469
- "border-spacing-y": [i]
2469
+ "border-spacing-y": [o]
2470
2470
  }],
2471
2471
  /**
2472
2472
  * Table Layout
@@ -2531,21 +2531,21 @@ const Z = (e) => {
2531
2531
  * @see https://tailwindcss.com/docs/scale
2532
2532
  */
2533
2533
  scale: [{
2534
- scale: [S]
2534
+ scale: [T]
2535
2535
  }],
2536
2536
  /**
2537
2537
  * Scale X
2538
2538
  * @see https://tailwindcss.com/docs/scale
2539
2539
  */
2540
2540
  "scale-x": [{
2541
- "scale-x": [S]
2541
+ "scale-x": [T]
2542
2542
  }],
2543
2543
  /**
2544
2544
  * Scale Y
2545
2545
  * @see https://tailwindcss.com/docs/scale
2546
2546
  */
2547
2547
  "scale-y": [{
2548
- "scale-y": [S]
2548
+ "scale-y": [T]
2549
2549
  }],
2550
2550
  /**
2551
2551
  * Rotate
@@ -2846,7 +2846,7 @@ const Z = (e) => {
2846
2846
  * @see https://tailwindcss.com/docs/stroke-width
2847
2847
  */
2848
2848
  "stroke-w": [{
2849
- stroke: [pe, ye, zt]
2849
+ stroke: [pe, ye, kt]
2850
2850
  }],
2851
2851
  /**
2852
2852
  * Stroke
@@ -2921,33 +2921,33 @@ const Z = (e) => {
2921
2921
  "font-size": ["leading"]
2922
2922
  }
2923
2923
  };
2924
- }, Xo = (e, {
2924
+ }, Ki = (e, {
2925
2925
  cacheSize: t,
2926
2926
  prefix: r,
2927
2927
  separator: n,
2928
- experimentalParseClassName: o,
2928
+ experimentalParseClassName: i,
2929
2929
  extend: a = {},
2930
- override: i = {}
2930
+ override: o = {}
2931
2931
  }) => {
2932
- Ye(e, "cacheSize", t), Ye(e, "prefix", r), Ye(e, "separator", n), Ye(e, "experimentalParseClassName", o);
2933
- for (const l in i)
2934
- Jo(e[l], i[l]);
2932
+ Ye(e, "cacheSize", t), Ye(e, "prefix", r), Ye(e, "separator", n), Ye(e, "experimentalParseClassName", i);
2933
+ for (const l in o)
2934
+ Xi(e[l], o[l]);
2935
2935
  for (const l in a)
2936
- Zo(e[l], a[l]);
2936
+ Ji(e[l], a[l]);
2937
2937
  return e;
2938
2938
  }, Ye = (e, t, r) => {
2939
2939
  r !== void 0 && (e[t] = r);
2940
- }, Jo = (e, t) => {
2940
+ }, Xi = (e, t) => {
2941
2941
  if (t)
2942
2942
  for (const r in t)
2943
2943
  Ye(e, r, t[r]);
2944
- }, Zo = (e, t) => {
2944
+ }, Ji = (e, t) => {
2945
2945
  if (t)
2946
2946
  for (const r in t) {
2947
2947
  const n = t[r];
2948
2948
  n !== void 0 && (e[r] = (e[r] || []).concat(n));
2949
2949
  }
2950
- }, Qo = (e, ...t) => typeof e == "function" ? Dt(Nt, e, ...t) : Dt(() => Xo(Nt(), e), ...t), ct = /* @__PURE__ */ Dt(Nt), Cr = ({ children: e, size: t = "small" }) => /* @__PURE__ */ R.jsx(
2950
+ }, Zi = (e, ...t) => typeof e == "function" ? Dt(Nt, e, ...t) : Dt(() => Ki(Nt(), e), ...t), ct = /* @__PURE__ */ Dt(Nt), Cr = ({ children: e, size: t = "small" }) => /* @__PURE__ */ R.jsx(
2951
2951
  "div",
2952
2952
  {
2953
2953
  className: `ds-flex ds-items-center ds-justify-center ${t === "small" ? "ds-h-5 ds-w-5" : "ds-h-6 ds-w-6"}`,
@@ -2958,13 +2958,13 @@ function rn(e) {
2958
2958
  var t, r, n = "";
2959
2959
  if (typeof e == "string" || typeof e == "number") n += e;
2960
2960
  else if (typeof e == "object") if (Array.isArray(e)) {
2961
- var o = e.length;
2962
- for (t = 0; t < o; t++) e[t] && (r = rn(e[t])) && (n && (n += " "), n += r);
2961
+ var i = e.length;
2962
+ for (t = 0; t < i; t++) e[t] && (r = rn(e[t])) && (n && (n += " "), n += r);
2963
2963
  } else for (r in e) e[r] && (n && (n += " "), n += r);
2964
2964
  return n;
2965
2965
  }
2966
2966
  function nn() {
2967
- for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t = rn(e)) && (n && (n += " "), n += t);
2967
+ for (var e, t, r = 0, n = "", i = arguments.length; r < i; r++) (e = arguments[r]) && (t = rn(e)) && (n && (n += " "), n += t);
2968
2968
  return n;
2969
2969
  }
2970
2970
  const on = {
@@ -2982,6 +2982,20 @@ const on = {
2982
2982
  fontWeight: "var(--font-weight-semibold)"
2983
2983
  }
2984
2984
  ],
2985
+ xLargeLargeTitleRegular: [
2986
+ "var(--xLargeLarge-TitleRegular-font-size)",
2987
+ {
2988
+ lineHeight: "var(--xLargeLarge-TitleRegular-line-height)",
2989
+ fontWeight: "var(--font-weight-normal)"
2990
+ }
2991
+ ],
2992
+ xLargeLargeTitleEmphasized: [
2993
+ "var(--xLargeLarge-TitleEmphasized-font-size)",
2994
+ {
2995
+ lineHeight: "var(--xLargeLarge-TitleEmphasized-line-height)",
2996
+ fontWeight: "var(--font-weight-semibold)"
2997
+ }
2998
+ ],
2985
2999
  xLargeTitle1Regular: [
2986
3000
  "var(--xLargeTitle-1Regular-font-size)",
2987
3001
  {
@@ -3095,6 +3109,20 @@ const on = {
3095
3109
  fontWeight: "var(--font-weight-semibold)"
3096
3110
  }
3097
3111
  ],
3112
+ largeLargeTitleRegular: [
3113
+ "var(--LargeLarge-TitleRegular-font-size)",
3114
+ {
3115
+ lineHeight: "var(--LargeLarge-TitleRegular-line-height)",
3116
+ fontWeight: "var(--font-weight-normal)"
3117
+ }
3118
+ ],
3119
+ largeLargeTitleEmphasized: [
3120
+ "var(--LargeLarge-TitleEmphasized-font-size)",
3121
+ {
3122
+ lineHeight: "var(--LargeLarge-TitleEmphasized-line-height)",
3123
+ fontWeight: "var(--font-weight-semibold)"
3124
+ }
3125
+ ],
3098
3126
  largeTitle1Regular: [
3099
3127
  "var(--LargeTitle-1Regular-font-size)",
3100
3128
  {
@@ -3208,6 +3236,20 @@ const on = {
3208
3236
  fontWeight: "var(--font-weight-semibold)"
3209
3237
  }
3210
3238
  ],
3239
+ mediumLargeTitleRegular: [
3240
+ "var(--MediumLarge-TitleRegular-font-size)",
3241
+ {
3242
+ lineHeight: "var(--MediumLarge-TitleRegular-line-height)",
3243
+ fontWeight: "var(--font-weight-normal)"
3244
+ }
3245
+ ],
3246
+ mediumLargeTitleEmphasized: [
3247
+ "var(--MediumLarge-TitleEmphasized-font-size)",
3248
+ {
3249
+ lineHeight: "var(--MediumLarge-TitleEmphasized-line-height)",
3250
+ fontWeight: "var(--font-weight-semibold)"
3251
+ }
3252
+ ],
3211
3253
  mediumTitle1Regular: [
3212
3254
  "var(--MediumTitle-1Regular-font-size)",
3213
3255
  {
@@ -3397,6 +3439,20 @@ const on = {
3397
3439
  fontWeight: "var(--font-weight-semibold)"
3398
3440
  }
3399
3441
  ],
3442
+ smallLargeTitleRegular: [
3443
+ "var(--SmallLarge-TitleRegular-font-size)",
3444
+ {
3445
+ lineHeight: "var(--SmallLarge-TitleRegular-line-height)",
3446
+ fontWeight: "var(--font-weight-normal)"
3447
+ }
3448
+ ],
3449
+ smallLargeTitleEmphasized: [
3450
+ "var(--SmallLarge-TitleEmphasized-font-size)",
3451
+ {
3452
+ lineHeight: "var(--SmallLarge-TitleEmphasized-line-height)",
3453
+ fontWeight: "var(--font-weight-semibold)"
3454
+ }
3455
+ ],
3400
3456
  smallTitle1Regular: [
3401
3457
  "var(--SmallTitle-1Regular-font-size)",
3402
3458
  {
@@ -3566,6 +3622,20 @@ const on = {
3566
3622
  fontWeight: "var(--font-weight-semibold)"
3567
3623
  }
3568
3624
  ],
3625
+ xSmallLargeTitleRegular: [
3626
+ "var(--xSmallLarge-TitleRegular-font-size)",
3627
+ {
3628
+ lineHeight: "var(--xSmallLarge-TitleRegular-line-height)",
3629
+ fontWeight: "var(--font-weight-normal)"
3630
+ }
3631
+ ],
3632
+ xSmallLargeTitleEmphasized: [
3633
+ "var(--xSmallLarge-TitleEmphasized-font-size)",
3634
+ {
3635
+ lineHeight: "var(--xSmallLarge-TitleEmphasized-line-height)",
3636
+ fontWeight: "var(--font-weight-semibold)"
3637
+ }
3638
+ ],
3569
3639
  xSmallTitle1Regular: [
3570
3640
  "var(--xSmallTitle-1Regular-font-size)",
3571
3641
  {
@@ -3727,11 +3797,11 @@ const on = {
3727
3797
  fontWeight: "var(--callout-Regular-font-weight)"
3728
3798
  }
3729
3799
  ]
3730
- }, Pt = Object.keys(on).map((e) => `ds-text-${e}`);
3800
+ }, Lt = Object.keys(on).map((e) => `ds-text-${e}`);
3731
3801
  [
3732
- ...Pt,
3733
- ...Pt.map((e) => `ds-tablet:${e}`),
3734
- ...Pt.map((e) => `ds-desktop:${e}`)
3802
+ ...Lt,
3803
+ ...Lt.map((e) => `ds-tablet:${e}`),
3804
+ ...Lt.map((e) => `ds-desktop:${e}`)
3735
3805
  ];
3736
3806
  const ut = {
3737
3807
  prefix: "ds-",
@@ -3768,6 +3838,27 @@ const ut = {
3768
3838
  highlight: "var(--accent-primary-highlight)",
3769
3839
  darkened: "var(--accent-primary-darkened)"
3770
3840
  },
3841
+ accentInfo: {
3842
+ 100: "var(--accent-info-100)",
3843
+ 50: "var(--accent-info-50)",
3844
+ 25: "var(--accent-info-25)",
3845
+ 10: "var(--accent-info-10)",
3846
+ 5: "var(--accent-info-5)"
3847
+ },
3848
+ accentSuccess: {
3849
+ 100: "var(--accent--success-100)",
3850
+ 50: "var(--accent--success-50)",
3851
+ 25: "var(--accent--success-25)",
3852
+ 10: "var(--accent--success-10)",
3853
+ 5: "var(--accent--success-5)"
3854
+ },
3855
+ accentWarning: {
3856
+ 100: "var(--accent--warning-100)",
3857
+ 50: "var(--accent--warning-50)",
3858
+ 25: "var(--accent--warning-25)",
3859
+ 10: "var(--accent--warning-10)",
3860
+ 5: "var(--accent--warning-5)"
3861
+ },
3771
3862
  Fills: {
3772
3863
  black: "var(--fills-black)",
3773
3864
  // deprecated
@@ -3832,7 +3923,9 @@ const ut = {
3832
3923
  accentInfo: {
3833
3924
  100: "var(--accent-info-100)",
3834
3925
  50: "var(--accent-info-50)",
3835
- 25: "var(--accent-info-25)"
3926
+ 25: "var(--accent-info-25)",
3927
+ 10: "var(--accent-info-10)",
3928
+ 5: "var(--accent-info-5)"
3836
3929
  },
3837
3930
  accentTeal: {
3838
3931
  100: "var(--accent-teal-100)",
@@ -3845,7 +3938,9 @@ const ut = {
3845
3938
  accentSuccess: {
3846
3939
  100: "var(--accent--success-100)",
3847
3940
  50: "var(--accent--success-50)",
3848
- 25: "var(--accent--success-25)"
3941
+ 25: "var(--accent--success-25)",
3942
+ 10: "var(--accent--success-10)",
3943
+ 5: "var(--accent--success-5)"
3849
3944
  },
3850
3945
  accentCarrot: {
3851
3946
  100: "var(--accent-carrot-100)",
@@ -3858,7 +3953,9 @@ const ut = {
3858
3953
  accentWarning: {
3859
3954
  100: "var(--accent--warning-100)",
3860
3955
  50: "var(--accent--warning-50)",
3861
- 25: "var(--accent--warning-25)"
3956
+ 25: "var(--accent--warning-25)",
3957
+ 10: "var(--accent--warning-10)",
3958
+ 5: "var(--accent--warning-5)"
3862
3959
  },
3863
3960
  enabled: "var(--accent-primary-100)",
3864
3961
  hover: "var(--background-hover)",
@@ -3881,13 +3978,13 @@ const ut = {
3881
3978
  };
3882
3979
  function an(e, t = "", r = []) {
3883
3980
  const n = [];
3884
- for (const o in e) {
3885
- const a = e[o], i = [...r, o];
3886
- typeof a == "object" && a !== null && !Array.isArray(a) ? n.push(...an(a, t, i)) : n.push(`${t}-${i.join("-")}`);
3981
+ for (const i in e) {
3982
+ const a = e[i], o = [...r, i];
3983
+ typeof a == "object" && a !== null && !Array.isArray(a) ? n.push(...an(a, t, o)) : n.push(`${t}-${o.join("-")}`);
3887
3984
  }
3888
3985
  return n;
3889
3986
  }
3890
- const ei = Qo({
3987
+ const Qi = Zi({
3891
3988
  prefix: ut.prefix,
3892
3989
  extend: {
3893
3990
  classGroups: {
@@ -3896,15 +3993,15 @@ const ei = Qo({
3896
3993
  }
3897
3994
  }
3898
3995
  });
3899
- function oe(...e) {
3900
- return ei(nn(e));
3996
+ function ie(...e) {
3997
+ return Qi(nn(e));
3901
3998
  }
3902
3999
  const Qa = (e, t = "AED") => {
3903
4000
  const r = Math.round(e) === e ? Number(e) : Number(e.toFixed(2)), n = r ? r.toLocaleString(void 0, {
3904
4001
  minimumFractionDigits: Math.round(r) === r ? 0 : 2
3905
4002
  }) : "";
3906
4003
  return `${t} ${n}`;
3907
- }, kr = {
4004
+ }, zr = {
3908
4005
  primary: (
3909
4006
  // eslint-disable-next-line tailwind/no-hardcoded-colors -- TODO: use tailwind classes with design system tokens instead of hardcoded colors
3910
4007
  "ds-bg-Background-accentPrimary-100 ds-text-Text-textPrimaryInverse ds-rounded-sm hover:ds-text-Text-textPrimaryInverse hover:ds-bg-Background-accentPrimary-highlight active:ds-bg-Background-accentPrimary-darkened focus:ds-rounded-none focus:ds-bg-Background-accentPrimary-100 focus:ds-border focus:ds-border-Fills-inversePrimary focus:ds-shadow-[0px_0px_0px_1px_rgba(109,54,169,1)] disabled:focus:ds-shadow-none disabled:ds-bg-Background-accentPrimary-20"
@@ -3915,7 +4012,7 @@ const Qa = (e, t = "AED") => {
3915
4012
  small: "ds-py-1.5 ds-px-8 ds_SmallBodyEmphasized",
3916
4013
  large: "ds-py-3 ds-px-8 ds_MediumBodyEmphasized",
3917
4014
  empty: ""
3918
- }, ti = {
4015
+ }, eo = {
3919
4016
  primary: (
3920
4017
  // eslint-disable-next-line tailwind/no-hardcoded-colors -- TODO: use tailwind classes with design system tokens instead of hardcoded colors
3921
4018
  "ds-bg-Background-accentPrimary-100 ds-text-Text-textPrimaryInverse ds-rounded-none ds-border ds-border-Fills-inversePrimary ds-shadow-[0px_0px_0px_1px_rgba(109,54,169,1)]"
@@ -3931,9 +4028,9 @@ const Qa = (e, t = "AED") => {
3931
4028
  size: t = "small",
3932
4029
  disabled: r = !1,
3933
4030
  className: n,
3934
- children: o,
4031
+ children: i,
3935
4032
  startIcon: a,
3936
- selected: i,
4033
+ selected: o,
3937
4034
  endIcon: l,
3938
4035
  trackingId: c,
3939
4036
  helperText: u,
@@ -3953,17 +4050,17 @@ const Qa = (e, t = "AED") => {
3953
4050
  "helpterTextClassName",
3954
4051
  "buttonClassName"
3955
4052
  ]);
3956
- return /* @__PURE__ */ R.jsxs("div", { className: oe("ds-flex ds-flex-col ds-gap-1", n), children: [
4053
+ return /* @__PURE__ */ R.jsxs("div", { className: ie("ds-flex ds-flex-col ds-gap-1", n), children: [
3957
4054
  /* @__PURE__ */ R.jsx(
3958
4055
  "button",
3959
- V(P({
4056
+ V(L({
3960
4057
  "data-tracking-id": c,
3961
4058
  ref: f,
3962
4059
  disabled: r,
3963
4060
  className: ct(
3964
- oe(
3965
- { [ti[e]]: i, [kr[e]]: !i },
3966
- kr[t],
4061
+ ie(
4062
+ { [eo[e]]: o, [zr[e]]: !o },
4063
+ zr[t],
3967
4064
  "ds-flex ds-w-full ds-flex-1 ds-items-center ds-justify-center",
3968
4065
  g
3969
4066
  )
@@ -3971,7 +4068,7 @@ const Qa = (e, t = "AED") => {
3971
4068
  }, p), {
3972
4069
  children: /* @__PURE__ */ R.jsxs("div", { className: "ds-flex ds-items-center ds-gap-2", children: [
3973
4070
  a && /* @__PURE__ */ R.jsx(Cr, { size: t, children: a }),
3974
- o && /* @__PURE__ */ R.jsx("div", { children: o }),
4071
+ i && /* @__PURE__ */ R.jsx("div", { children: i }),
3975
4072
  l && /* @__PURE__ */ R.jsx(Cr, { size: t, children: l })
3976
4073
  ] })
3977
4074
  })
@@ -3979,7 +4076,7 @@ const Qa = (e, t = "AED") => {
3979
4076
  u && /* @__PURE__ */ R.jsx(
3980
4077
  "div",
3981
4078
  {
3982
- className: oe(
4079
+ className: ie(
3983
4080
  "ds-w-full ds-text-right ds-text-mediumFootnoteRegular",
3984
4081
  d
3985
4082
  ),
@@ -3990,7 +4087,7 @@ const Qa = (e, t = "AED") => {
3990
4087
  }
3991
4088
  );
3992
4089
  ln.displayName = "Button";
3993
- const ri = ({ className: e }) => /* @__PURE__ */ R.jsxs(
4090
+ const to = ({ className: e }) => /* @__PURE__ */ R.jsxs(
3994
4091
  "svg",
3995
4092
  {
3996
4093
  width: "100%",
@@ -4017,7 +4114,7 @@ const ri = ({ className: e }) => /* @__PURE__ */ R.jsxs(
4017
4114
  ) }) })
4018
4115
  ]
4019
4116
  }
4020
- ), ni = ({ className: e }) => /* @__PURE__ */ R.jsx(R.Fragment, { children: /* @__PURE__ */ R.jsxs(
4117
+ ), ro = ({ className: e }) => /* @__PURE__ */ R.jsx(R.Fragment, { children: /* @__PURE__ */ R.jsxs(
4021
4118
  "svg",
4022
4119
  {
4023
4120
  width: "100%",
@@ -4044,7 +4141,7 @@ const ri = ({ className: e }) => /* @__PURE__ */ R.jsxs(
4044
4141
  ) }) })
4045
4142
  ]
4046
4143
  }
4047
- ) }), oi = ({ className: e }) => /* @__PURE__ */ R.jsxs(
4144
+ ) }), no = ({ className: e }) => /* @__PURE__ */ R.jsxs(
4048
4145
  "svg",
4049
4146
  {
4050
4147
  width: "100%",
@@ -4075,7 +4172,7 @@ const ri = ({ className: e }) => /* @__PURE__ */ R.jsxs(
4075
4172
  function De(e) {
4076
4173
  return sn(e) ? (e.nodeName || "").toLowerCase() : "#document";
4077
4174
  }
4078
- function ie(e) {
4175
+ function oe(e) {
4079
4176
  var t;
4080
4177
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
4081
4178
  }
@@ -4084,27 +4181,27 @@ function be(e) {
4084
4181
  return (t = (sn(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
4085
4182
  }
4086
4183
  function sn(e) {
4087
- return e instanceof Node || e instanceof ie(e).Node;
4184
+ return e instanceof Node || e instanceof oe(e).Node;
4088
4185
  }
4089
4186
  function X(e) {
4090
- return e instanceof Element || e instanceof ie(e).Element;
4187
+ return e instanceof Element || e instanceof oe(e).Element;
4091
4188
  }
4092
4189
  function ae(e) {
4093
- return e instanceof HTMLElement || e instanceof ie(e).HTMLElement;
4190
+ return e instanceof HTMLElement || e instanceof oe(e).HTMLElement;
4094
4191
  }
4095
4192
  function $t(e) {
4096
- return typeof ShadowRoot == "undefined" ? !1 : e instanceof ShadowRoot || e instanceof ie(e).ShadowRoot;
4193
+ return typeof ShadowRoot == "undefined" ? !1 : e instanceof ShadowRoot || e instanceof oe(e).ShadowRoot;
4097
4194
  }
4098
4195
  function Ze(e) {
4099
4196
  const {
4100
4197
  overflow: t,
4101
4198
  overflowX: r,
4102
4199
  overflowY: n,
4103
- display: o
4200
+ display: i
4104
4201
  } = de(e);
4105
- return /auto|scroll|overlay|hidden|clip/.test(t + n + r) && !["inline", "contents"].includes(o);
4202
+ return /auto|scroll|overlay|hidden|clip/.test(t + n + r) && !["inline", "contents"].includes(i);
4106
4203
  }
4107
- function ii(e) {
4204
+ function io(e) {
4108
4205
  return ["table", "td", "th"].includes(De(e));
4109
4206
  }
4110
4207
  function xt(e) {
@@ -4120,7 +4217,7 @@ function Jt(e) {
4120
4217
  const t = Zt(), r = X(e) ? de(e) : e;
4121
4218
  return r.transform !== "none" || r.perspective !== "none" || (r.containerType ? r.containerType !== "normal" : !1) || !t && (r.backdropFilter ? r.backdropFilter !== "none" : !1) || !t && (r.filter ? r.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((n) => (r.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (r.contain || "").includes(n));
4122
4219
  }
4123
- function ai(e) {
4220
+ function oo(e) {
4124
4221
  let t = ve(e);
4125
4222
  for (; ae(t) && !Ce(t); ) {
4126
4223
  if (Jt(t))
@@ -4138,7 +4235,7 @@ function Ce(e) {
4138
4235
  return ["html", "body", "#document"].includes(De(e));
4139
4236
  }
4140
4237
  function de(e) {
4141
- return ie(e).getComputedStyle(e);
4238
+ return oe(e).getComputedStyle(e);
4142
4239
  }
4143
4240
  function yt(e) {
4144
4241
  return X(e) ? {
@@ -4165,11 +4262,11 @@ function cn(e) {
4165
4262
  const t = ve(e);
4166
4263
  return Ce(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : ae(t) && Ze(t) ? t : cn(t);
4167
4264
  }
4168
- function Te(e, t, r) {
4265
+ function Se(e, t, r) {
4169
4266
  var n;
4170
4267
  t === void 0 && (t = []), r === void 0 && (r = !0);
4171
- const o = cn(e), a = o === ((n = e.ownerDocument) == null ? void 0 : n.body), i = ie(o);
4172
- return a ? t.concat(i, i.visualViewport || [], Ze(o) ? o : [], i.frameElement && r ? Te(i.frameElement) : []) : t.concat(o, Te(o, [], r));
4268
+ const i = cn(e), a = i === ((n = e.ownerDocument) == null ? void 0 : n.body), o = oe(i);
4269
+ return a ? t.concat(o, o.visualViewport || [], Ze(i) ? i : [], o.frameElement && r ? Se(o.frameElement) : []) : t.concat(i, Se(i, [], r));
4173
4270
  }
4174
4271
  function Vt(e) {
4175
4272
  let t = e.activeElement;
@@ -4209,37 +4306,37 @@ function dn() {
4209
4306
  return r + "/" + n;
4210
4307
  }).join(" ") : navigator.userAgent;
4211
4308
  }
4212
- function li(e) {
4213
- return ci() ? !1 : !zr() && e.width === 0 && e.height === 0 || zr() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse" || // iOS VoiceOver returns 0.333• for width/height.
4309
+ function ao(e) {
4310
+ return so() ? !1 : !kr() && e.width === 0 && e.height === 0 || kr() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse" || // iOS VoiceOver returns 0.333• for width/height.
4214
4311
  e.width < 1 && e.height < 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "touch";
4215
4312
  }
4216
4313
  function fn() {
4217
4314
  return /apple/i.test(navigator.vendor);
4218
4315
  }
4219
- function zr() {
4316
+ function kr() {
4220
4317
  const e = /android/i;
4221
4318
  return e.test(un()) || e.test(dn());
4222
4319
  }
4223
- function si() {
4320
+ function lo() {
4224
4321
  return un().toLowerCase().startsWith("mac") && !navigator.maxTouchPoints;
4225
4322
  }
4226
- function ci() {
4323
+ function so() {
4227
4324
  return dn().includes("jsdom/");
4228
4325
  }
4229
4326
  function Ke(e, t) {
4230
4327
  const r = ["mouse", "pen"];
4231
4328
  return t || r.push("", void 0), r.includes(e);
4232
4329
  }
4233
- function ui(e) {
4330
+ function co(e) {
4234
4331
  return "nativeEvent" in e;
4235
4332
  }
4236
- function di(e) {
4333
+ function uo(e) {
4237
4334
  return e.matches("html,body");
4238
4335
  }
4239
4336
  function Ee(e) {
4240
4337
  return (e == null ? void 0 : e.ownerDocument) || document;
4241
4338
  }
4242
- function Lt(e, t) {
4339
+ function Pt(e, t) {
4243
4340
  if (t == null)
4244
4341
  return !1;
4245
4342
  if ("composedPath" in e)
@@ -4247,32 +4344,32 @@ function Lt(e, t) {
4247
4344
  const r = e;
4248
4345
  return r.target != null && t.contains(r.target);
4249
4346
  }
4250
- function We(e) {
4347
+ function Ae(e) {
4251
4348
  return "composedPath" in e ? e.composedPath()[0] : e.target;
4252
4349
  }
4253
- const fi = "input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";
4350
+ const fo = "input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";
4254
4351
  function gn(e) {
4255
- return ae(e) && e.matches(fi);
4352
+ return ae(e) && e.matches(fo);
4256
4353
  }
4257
- const Se = Math.min, le = Math.max, dt = Math.round, lt = Math.floor, ke = (e) => ({
4354
+ const Te = Math.min, le = Math.max, dt = Math.round, lt = Math.floor, ze = (e) => ({
4258
4355
  x: e,
4259
4356
  y: e
4260
- }), gi = {
4357
+ }), go = {
4261
4358
  left: "right",
4262
4359
  right: "left",
4263
4360
  bottom: "top",
4264
4361
  top: "bottom"
4265
- }, mi = {
4362
+ }, mo = {
4266
4363
  start: "end",
4267
4364
  end: "start"
4268
4365
  };
4269
- function Pr(e, t, r) {
4270
- return le(e, Se(t, r));
4366
+ function Lr(e, t, r) {
4367
+ return le(e, Te(t, r));
4271
4368
  }
4272
4369
  function Qe(e, t) {
4273
4370
  return typeof e == "function" ? e(t) : e;
4274
4371
  }
4275
- function ze(e) {
4372
+ function ke(e) {
4276
4373
  return e.split("-")[0];
4277
4374
  }
4278
4375
  function et(e) {
@@ -4285,55 +4382,55 @@ function hn(e) {
4285
4382
  return e === "y" ? "height" : "width";
4286
4383
  }
4287
4384
  function Me(e) {
4288
- return ["top", "bottom"].includes(ze(e)) ? "y" : "x";
4385
+ return ["top", "bottom"].includes(ke(e)) ? "y" : "x";
4289
4386
  }
4290
4387
  function pn(e) {
4291
4388
  return mn(Me(e));
4292
4389
  }
4293
- function hi(e, t, r) {
4390
+ function ho(e, t, r) {
4294
4391
  r === void 0 && (r = !1);
4295
- const n = et(e), o = pn(e), a = hn(o);
4296
- let i = o === "x" ? n === (r ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
4297
- return t.reference[a] > t.floating[a] && (i = ft(i)), [i, ft(i)];
4392
+ const n = et(e), i = pn(e), a = hn(i);
4393
+ let o = i === "x" ? n === (r ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
4394
+ return t.reference[a] > t.floating[a] && (o = ft(o)), [o, ft(o)];
4298
4395
  }
4299
- function pi(e) {
4396
+ function po(e) {
4300
4397
  const t = ft(e);
4301
4398
  return [Gt(e), t, Gt(t)];
4302
4399
  }
4303
4400
  function Gt(e) {
4304
- return e.replace(/start|end/g, (t) => mi[t]);
4401
+ return e.replace(/start|end/g, (t) => mo[t]);
4305
4402
  }
4306
- function vi(e, t, r) {
4307
- const n = ["left", "right"], o = ["right", "left"], a = ["top", "bottom"], i = ["bottom", "top"];
4403
+ function vo(e, t, r) {
4404
+ const n = ["left", "right"], i = ["right", "left"], a = ["top", "bottom"], o = ["bottom", "top"];
4308
4405
  switch (e) {
4309
4406
  case "top":
4310
4407
  case "bottom":
4311
- return r ? t ? o : n : t ? n : o;
4408
+ return r ? t ? i : n : t ? n : i;
4312
4409
  case "left":
4313
4410
  case "right":
4314
- return t ? a : i;
4411
+ return t ? a : o;
4315
4412
  default:
4316
4413
  return [];
4317
4414
  }
4318
4415
  }
4319
- function bi(e, t, r, n) {
4320
- const o = et(e);
4321
- let a = vi(ze(e), r === "start", n);
4322
- return o && (a = a.map((i) => i + "-" + o), t && (a = a.concat(a.map(Gt)))), a;
4416
+ function bo(e, t, r, n) {
4417
+ const i = et(e);
4418
+ let a = vo(ke(e), r === "start", n);
4419
+ return i && (a = a.map((o) => o + "-" + i), t && (a = a.concat(a.map(Gt)))), a;
4323
4420
  }
4324
4421
  function ft(e) {
4325
- return e.replace(/left|right|bottom|top/g, (t) => gi[t]);
4422
+ return e.replace(/left|right|bottom|top/g, (t) => go[t]);
4326
4423
  }
4327
- function xi(e) {
4328
- return P({
4424
+ function xo(e) {
4425
+ return L({
4329
4426
  top: 0,
4330
4427
  right: 0,
4331
4428
  bottom: 0,
4332
4429
  left: 0
4333
4430
  }, e);
4334
4431
  }
4335
- function yi(e) {
4336
- return typeof e != "number" ? xi(e) : {
4432
+ function yo(e) {
4433
+ return typeof e != "number" ? xo(e) : {
4337
4434
  top: e,
4338
4435
  right: e,
4339
4436
  bottom: e,
@@ -4345,15 +4442,15 @@ function gt(e) {
4345
4442
  x: t,
4346
4443
  y: r,
4347
4444
  width: n,
4348
- height: o
4445
+ height: i
4349
4446
  } = e;
4350
4447
  return {
4351
4448
  width: n,
4352
- height: o,
4449
+ height: i,
4353
4450
  top: r,
4354
4451
  left: t,
4355
4452
  right: t + n,
4356
- bottom: r + o,
4453
+ bottom: r + i,
4357
4454
  x: t,
4358
4455
  y: r
4359
4456
  };
@@ -4362,7 +4459,7 @@ function gt(e) {
4362
4459
  * tabbable 6.2.0
4363
4460
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
4364
4461
  */
4365
- var wi = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], Ut = /* @__PURE__ */ wi.join(","), vn = typeof Element == "undefined", Xe = vn ? function() {
4462
+ var wo = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], Ut = /* @__PURE__ */ wo.join(","), vn = typeof Element == "undefined", Xe = vn ? function() {
4366
4463
  } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, mt = !vn && Element.prototype.getRootNode ? function(e) {
4367
4464
  var t;
4368
4465
  return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);
@@ -4371,184 +4468,184 @@ var wi = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
4371
4468
  }, ht = function e(t, r) {
4372
4469
  var n;
4373
4470
  r === void 0 && (r = !0);
4374
- var o = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "inert"), a = o === "" || o === "true", i = a || r && t && e(t.parentNode);
4375
- return i;
4376
- }, Ri = function(t) {
4471
+ var i = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "inert"), a = i === "" || i === "true", o = a || r && t && e(t.parentNode);
4472
+ return o;
4473
+ }, Ro = function(t) {
4377
4474
  var r, n = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "contenteditable");
4378
4475
  return n === "" || n === "true";
4379
- }, Ei = function(t, r, n) {
4476
+ }, Eo = function(t, r, n) {
4380
4477
  if (ht(t))
4381
4478
  return [];
4382
- var o = Array.prototype.slice.apply(t.querySelectorAll(Ut));
4383
- return r && Xe.call(t, Ut) && o.unshift(t), o = o.filter(n), o;
4384
- }, Si = function e(t, r, n) {
4385
- for (var o = [], a = Array.from(t); a.length; ) {
4386
- var i = a.shift();
4387
- if (!ht(i, !1))
4388
- if (i.tagName === "SLOT") {
4389
- var l = i.assignedElements(), c = l.length ? l : i.children, u = e(c, !0, n);
4390
- n.flatten ? o.push.apply(o, u) : o.push({
4391
- scopeParent: i,
4479
+ var i = Array.prototype.slice.apply(t.querySelectorAll(Ut));
4480
+ return r && Xe.call(t, Ut) && i.unshift(t), i = i.filter(n), i;
4481
+ }, To = function e(t, r, n) {
4482
+ for (var i = [], a = Array.from(t); a.length; ) {
4483
+ var o = a.shift();
4484
+ if (!ht(o, !1))
4485
+ if (o.tagName === "SLOT") {
4486
+ var l = o.assignedElements(), c = l.length ? l : o.children, u = e(c, !0, n);
4487
+ n.flatten ? i.push.apply(i, u) : i.push({
4488
+ scopeParent: o,
4392
4489
  candidates: u
4393
4490
  });
4394
4491
  } else {
4395
- var d = Xe.call(i, Ut);
4396
- d && n.filter(i) && (r || !t.includes(i)) && o.push(i);
4397
- var g = i.shadowRoot || // check for an undisclosed shadow
4398
- typeof n.getShadowRoot == "function" && n.getShadowRoot(i), p = !ht(g, !1) && (!n.shadowRootFilter || n.shadowRootFilter(i));
4492
+ var d = Xe.call(o, Ut);
4493
+ d && n.filter(o) && (r || !t.includes(o)) && i.push(o);
4494
+ var g = o.shadowRoot || // check for an undisclosed shadow
4495
+ typeof n.getShadowRoot == "function" && n.getShadowRoot(o), p = !ht(g, !1) && (!n.shadowRootFilter || n.shadowRootFilter(o));
4399
4496
  if (g && p) {
4400
- var f = e(g === !0 ? i.children : g.children, !0, n);
4401
- n.flatten ? o.push.apply(o, f) : o.push({
4402
- scopeParent: i,
4497
+ var f = e(g === !0 ? o.children : g.children, !0, n);
4498
+ n.flatten ? i.push.apply(i, f) : i.push({
4499
+ scopeParent: o,
4403
4500
  candidates: f
4404
4501
  });
4405
4502
  } else
4406
- a.unshift.apply(a, i.children);
4503
+ a.unshift.apply(a, o.children);
4407
4504
  }
4408
4505
  }
4409
- return o;
4506
+ return i;
4410
4507
  }, bn = function(t) {
4411
4508
  return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
4412
4509
  }, xn = function(t) {
4413
4510
  if (!t)
4414
4511
  throw new Error("No node provided");
4415
- return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || Ri(t)) && !bn(t) ? 0 : t.tabIndex;
4416
- }, Ti = function(t, r) {
4512
+ return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || Ro(t)) && !bn(t) ? 0 : t.tabIndex;
4513
+ }, So = function(t, r) {
4417
4514
  var n = xn(t);
4418
4515
  return n < 0 && r && !bn(t) ? 0 : n;
4419
- }, Ci = function(t, r) {
4516
+ }, Co = function(t, r) {
4420
4517
  return t.tabIndex === r.tabIndex ? t.documentOrder - r.documentOrder : t.tabIndex - r.tabIndex;
4421
4518
  }, yn = function(t) {
4422
4519
  return t.tagName === "INPUT";
4423
- }, ki = function(t) {
4520
+ }, zo = function(t) {
4424
4521
  return yn(t) && t.type === "hidden";
4425
- }, zi = function(t) {
4522
+ }, ko = function(t) {
4426
4523
  var r = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(n) {
4427
4524
  return n.tagName === "SUMMARY";
4428
4525
  });
4429
4526
  return r;
4430
- }, Pi = function(t, r) {
4527
+ }, Lo = function(t, r) {
4431
4528
  for (var n = 0; n < t.length; n++)
4432
4529
  if (t[n].checked && t[n].form === r)
4433
4530
  return t[n];
4434
- }, Li = function(t) {
4531
+ }, Po = function(t) {
4435
4532
  if (!t.name)
4436
4533
  return !0;
4437
4534
  var r = t.form || mt(t), n = function(l) {
4438
4535
  return r.querySelectorAll('input[type="radio"][name="' + l + '"]');
4439
- }, o;
4536
+ }, i;
4440
4537
  if (typeof window != "undefined" && typeof window.CSS != "undefined" && typeof window.CSS.escape == "function")
4441
- o = n(window.CSS.escape(t.name));
4538
+ i = n(window.CSS.escape(t.name));
4442
4539
  else
4443
4540
  try {
4444
- o = n(t.name);
4445
- } catch (i) {
4446
- return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", i.message), !1;
4541
+ i = n(t.name);
4542
+ } catch (o) {
4543
+ return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", o.message), !1;
4447
4544
  }
4448
- var a = Pi(o, t.form);
4545
+ var a = Lo(i, t.form);
4449
4546
  return !a || a === t;
4450
- }, Mi = function(t) {
4547
+ }, Mo = function(t) {
4451
4548
  return yn(t) && t.type === "radio";
4452
- }, Hi = function(t) {
4453
- return Mi(t) && !Li(t);
4454
- }, _i = function(t) {
4455
- var r, n = t && mt(t), o = (r = n) === null || r === void 0 ? void 0 : r.host, a = !1;
4549
+ }, Ho = function(t) {
4550
+ return Mo(t) && !Po(t);
4551
+ }, _o = function(t) {
4552
+ var r, n = t && mt(t), i = (r = n) === null || r === void 0 ? void 0 : r.host, a = !1;
4456
4553
  if (n && n !== t) {
4457
- var i, l, c;
4458
- for (a = !!((i = o) !== null && i !== void 0 && (l = i.ownerDocument) !== null && l !== void 0 && l.contains(o) || t != null && (c = t.ownerDocument) !== null && c !== void 0 && c.contains(t)); !a && o; ) {
4554
+ var o, l, c;
4555
+ for (a = !!((o = i) !== null && o !== void 0 && (l = o.ownerDocument) !== null && l !== void 0 && l.contains(i) || t != null && (c = t.ownerDocument) !== null && c !== void 0 && c.contains(t)); !a && i; ) {
4459
4556
  var u, d, g;
4460
- n = mt(o), o = (u = n) === null || u === void 0 ? void 0 : u.host, a = !!((d = o) !== null && d !== void 0 && (g = d.ownerDocument) !== null && g !== void 0 && g.contains(o));
4557
+ n = mt(i), i = (u = n) === null || u === void 0 ? void 0 : u.host, a = !!((d = i) !== null && d !== void 0 && (g = d.ownerDocument) !== null && g !== void 0 && g.contains(i));
4461
4558
  }
4462
4559
  }
4463
4560
  return a;
4464
- }, Lr = function(t) {
4465
- var r = t.getBoundingClientRect(), n = r.width, o = r.height;
4466
- return n === 0 && o === 0;
4467
- }, Ai = function(t, r) {
4468
- var n = r.displayCheck, o = r.getShadowRoot;
4561
+ }, Pr = function(t) {
4562
+ var r = t.getBoundingClientRect(), n = r.width, i = r.height;
4563
+ return n === 0 && i === 0;
4564
+ }, Wo = function(t, r) {
4565
+ var n = r.displayCheck, i = r.getShadowRoot;
4469
4566
  if (getComputedStyle(t).visibility === "hidden")
4470
4567
  return !0;
4471
- var a = Xe.call(t, "details>summary:first-of-type"), i = a ? t.parentElement : t;
4472
- if (Xe.call(i, "details:not([open]) *"))
4568
+ var a = Xe.call(t, "details>summary:first-of-type"), o = a ? t.parentElement : t;
4569
+ if (Xe.call(o, "details:not([open]) *"))
4473
4570
  return !0;
4474
4571
  if (!n || n === "full" || n === "legacy-full") {
4475
- if (typeof o == "function") {
4572
+ if (typeof i == "function") {
4476
4573
  for (var l = t; t; ) {
4477
4574
  var c = t.parentElement, u = mt(t);
4478
- if (c && !c.shadowRoot && o(c) === !0)
4479
- return Lr(t);
4575
+ if (c && !c.shadowRoot && i(c) === !0)
4576
+ return Pr(t);
4480
4577
  t.assignedSlot ? t = t.assignedSlot : !c && u !== t.ownerDocument ? t = u.host : t = c;
4481
4578
  }
4482
4579
  t = l;
4483
4580
  }
4484
- if (_i(t))
4581
+ if (_o(t))
4485
4582
  return !t.getClientRects().length;
4486
4583
  if (n !== "legacy-full")
4487
4584
  return !0;
4488
4585
  } else if (n === "non-zero-area")
4489
- return Lr(t);
4586
+ return Pr(t);
4490
4587
  return !1;
4491
- }, Wi = function(t) {
4588
+ }, Ao = function(t) {
4492
4589
  if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
4493
4590
  for (var r = t.parentElement; r; ) {
4494
4591
  if (r.tagName === "FIELDSET" && r.disabled) {
4495
4592
  for (var n = 0; n < r.children.length; n++) {
4496
- var o = r.children.item(n);
4497
- if (o.tagName === "LEGEND")
4498
- return Xe.call(r, "fieldset[disabled] *") ? !0 : !o.contains(t);
4593
+ var i = r.children.item(n);
4594
+ if (i.tagName === "LEGEND")
4595
+ return Xe.call(r, "fieldset[disabled] *") ? !0 : !i.contains(t);
4499
4596
  }
4500
4597
  return !0;
4501
4598
  }
4502
4599
  r = r.parentElement;
4503
4600
  }
4504
4601
  return !1;
4505
- }, Oi = function(t, r) {
4602
+ }, Oo = function(t, r) {
4506
4603
  return !(r.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
4507
4604
  // because we're limited in the type of selectors we can use in JSDom (see related
4508
4605
  // note related to `candidateSelectors`)
4509
- ht(r) || ki(r) || Ai(r, t) || // For a details element with a summary, the summary element gets the focus
4510
- zi(r) || Wi(r));
4606
+ ht(r) || zo(r) || Wo(r, t) || // For a details element with a summary, the summary element gets the focus
4607
+ ko(r) || Ao(r));
4511
4608
  }, Mr = function(t, r) {
4512
- return !(Hi(r) || xn(r) < 0 || !Oi(t, r));
4513
- }, ji = function(t) {
4609
+ return !(Ho(r) || xn(r) < 0 || !Oo(t, r));
4610
+ }, jo = function(t) {
4514
4611
  var r = parseInt(t.getAttribute("tabindex"), 10);
4515
4612
  return !!(isNaN(r) || r >= 0);
4516
- }, Fi = function e(t) {
4613
+ }, Fo = function e(t) {
4517
4614
  var r = [], n = [];
4518
- return t.forEach(function(o, a) {
4519
- var i = !!o.scopeParent, l = i ? o.scopeParent : o, c = Ti(l, i), u = i ? e(o.candidates) : l;
4520
- c === 0 ? i ? r.push.apply(r, u) : r.push(l) : n.push({
4615
+ return t.forEach(function(i, a) {
4616
+ var o = !!i.scopeParent, l = o ? i.scopeParent : i, c = So(l, o), u = o ? e(i.candidates) : l;
4617
+ c === 0 ? o ? r.push.apply(r, u) : r.push(l) : n.push({
4521
4618
  documentOrder: a,
4522
4619
  tabIndex: c,
4523
- item: o,
4524
- isScope: i,
4620
+ item: i,
4621
+ isScope: o,
4525
4622
  content: u
4526
4623
  });
4527
- }), n.sort(Ci).reduce(function(o, a) {
4528
- return a.isScope ? o.push.apply(o, a.content) : o.push(a.content), o;
4624
+ }), n.sort(Co).reduce(function(i, a) {
4625
+ return a.isScope ? i.push.apply(i, a.content) : i.push(a.content), i;
4529
4626
  }, []).concat(r);
4530
4627
  }, wn = function(t, r) {
4531
4628
  r = r || {};
4532
4629
  var n;
4533
- return r.getShadowRoot ? n = Si([t], r.includeContainer, {
4630
+ return r.getShadowRoot ? n = To([t], r.includeContainer, {
4534
4631
  filter: Mr.bind(null, r),
4535
4632
  flatten: !1,
4536
4633
  getShadowRoot: r.getShadowRoot,
4537
- shadowRootFilter: ji
4538
- }) : n = Ei(t, r.includeContainer, Mr.bind(null, r)), Fi(n);
4634
+ shadowRootFilter: jo
4635
+ }) : n = Eo(t, r.includeContainer, Mr.bind(null, r)), Fo(n);
4539
4636
  };
4540
4637
  function Hr(e, t, r) {
4541
4638
  let {
4542
4639
  reference: n,
4543
- floating: o
4640
+ floating: i
4544
4641
  } = e;
4545
- const a = Me(t), i = pn(t), l = hn(i), c = ze(t), u = a === "y", d = n.x + n.width / 2 - o.width / 2, g = n.y + n.height / 2 - o.height / 2, p = n[l] / 2 - o[l] / 2;
4642
+ const a = Me(t), o = pn(t), l = hn(o), c = ke(t), u = a === "y", d = n.x + n.width / 2 - i.width / 2, g = n.y + n.height / 2 - i.height / 2, p = n[l] / 2 - i[l] / 2;
4546
4643
  let f;
4547
4644
  switch (c) {
4548
4645
  case "top":
4549
4646
  f = {
4550
4647
  x: d,
4551
- y: n.y - o.height
4648
+ y: n.y - i.height
4552
4649
  };
4553
4650
  break;
4554
4651
  case "bottom":
@@ -4565,7 +4662,7 @@ function Hr(e, t, r) {
4565
4662
  break;
4566
4663
  case "left":
4567
4664
  f = {
4568
- x: n.x - o.width,
4665
+ x: n.x - i.width,
4569
4666
  y: g
4570
4667
  };
4571
4668
  break;
@@ -4577,25 +4674,25 @@ function Hr(e, t, r) {
4577
4674
  }
4578
4675
  switch (et(t)) {
4579
4676
  case "start":
4580
- f[i] -= p * (r && u ? -1 : 1);
4677
+ f[o] -= p * (r && u ? -1 : 1);
4581
4678
  break;
4582
4679
  case "end":
4583
- f[i] += p * (r && u ? -1 : 1);
4680
+ f[o] += p * (r && u ? -1 : 1);
4584
4681
  break;
4585
4682
  }
4586
4683
  return f;
4587
4684
  }
4588
- const Ii = (e, t, r) => he(void 0, null, function* () {
4685
+ const Io = (e, t, r) => he(void 0, null, function* () {
4589
4686
  const {
4590
4687
  placement: n = "bottom",
4591
- strategy: o = "absolute",
4688
+ strategy: i = "absolute",
4592
4689
  middleware: a = [],
4593
- platform: i
4594
- } = r, l = a.filter(Boolean), c = yield i.isRTL == null ? void 0 : i.isRTL(t);
4595
- let u = yield i.getElementRects({
4690
+ platform: o
4691
+ } = r, l = a.filter(Boolean), c = yield o.isRTL == null ? void 0 : o.isRTL(t);
4692
+ let u = yield o.getElementRects({
4596
4693
  reference: e,
4597
4694
  floating: t,
4598
- strategy: o
4695
+ strategy: i
4599
4696
  }), {
4600
4697
  x: d,
4601
4698
  y: g
@@ -4607,29 +4704,29 @@ const Ii = (e, t, r) => he(void 0, null, function* () {
4607
4704
  } = l[h], {
4608
4705
  x: y,
4609
4706
  y: E,
4610
- data: S,
4611
- reset: L
4707
+ data: T,
4708
+ reset: P
4612
4709
  } = yield x({
4613
4710
  x: d,
4614
4711
  y: g,
4615
4712
  initialPlacement: n,
4616
4713
  placement: p,
4617
- strategy: o,
4714
+ strategy: i,
4618
4715
  middlewareData: f,
4619
4716
  rects: u,
4620
- platform: i,
4717
+ platform: o,
4621
4718
  elements: {
4622
4719
  reference: e,
4623
4720
  floating: t
4624
4721
  }
4625
4722
  });
4626
- d = y != null ? y : d, g = E != null ? E : g, f = V(P({}, f), {
4627
- [w]: P(P({}, f[w]), S)
4628
- }), L && m <= 50 && (m++, typeof L == "object" && (L.placement && (p = L.placement), L.rects && (u = L.rects === !0 ? yield i.getElementRects({
4723
+ d = y != null ? y : d, g = E != null ? E : g, f = V(L({}, f), {
4724
+ [w]: L(L({}, f[w]), T)
4725
+ }), P && m <= 50 && (m++, typeof P == "object" && (P.placement && (p = P.placement), P.rects && (u = P.rects === !0 ? yield o.getElementRects({
4629
4726
  reference: e,
4630
4727
  floating: t,
4631
- strategy: o
4632
- }) : L.rects), {
4728
+ strategy: i
4729
+ }) : P.rects), {
4633
4730
  x: d,
4634
4731
  y: g
4635
4732
  } = Hr(u, p, c)), h = -1);
@@ -4638,7 +4735,7 @@ const Ii = (e, t, r) => he(void 0, null, function* () {
4638
4735
  x: d,
4639
4736
  y: g,
4640
4737
  placement: p,
4641
- strategy: o,
4738
+ strategy: i,
4642
4739
  middlewareData: f
4643
4740
  };
4644
4741
  });
@@ -4648,9 +4745,9 @@ function Qt(e, t) {
4648
4745
  t === void 0 && (t = {});
4649
4746
  const {
4650
4747
  x: n,
4651
- y: o,
4748
+ y: i,
4652
4749
  platform: a,
4653
- rects: i,
4750
+ rects: o,
4654
4751
  elements: l,
4655
4752
  strategy: c
4656
4753
  } = e, {
@@ -4659,58 +4756,58 @@ function Qt(e, t) {
4659
4756
  elementContext: g = "floating",
4660
4757
  altBoundary: p = !1,
4661
4758
  padding: f = 0
4662
- } = Qe(t, e), m = yi(f), w = l[p ? g === "floating" ? "reference" : "floating" : g], x = gt(yield a.getClippingRect({
4759
+ } = Qe(t, e), m = yo(f), w = l[p ? g === "floating" ? "reference" : "floating" : g], x = gt(yield a.getClippingRect({
4663
4760
  element: (r = yield a.isElement == null ? void 0 : a.isElement(w)) == null || r ? w : w.contextElement || (yield a.getDocumentElement == null ? void 0 : a.getDocumentElement(l.floating)),
4664
4761
  boundary: u,
4665
4762
  rootBoundary: d,
4666
4763
  strategy: c
4667
4764
  })), y = g === "floating" ? {
4668
4765
  x: n,
4669
- y: o,
4670
- width: i.floating.width,
4671
- height: i.floating.height
4672
- } : i.reference, E = yield a.getOffsetParent == null ? void 0 : a.getOffsetParent(l.floating), S = (yield a.isElement == null ? void 0 : a.isElement(E)) ? (yield a.getScale == null ? void 0 : a.getScale(E)) || {
4766
+ y: i,
4767
+ width: o.floating.width,
4768
+ height: o.floating.height
4769
+ } : o.reference, E = yield a.getOffsetParent == null ? void 0 : a.getOffsetParent(l.floating), T = (yield a.isElement == null ? void 0 : a.isElement(E)) ? (yield a.getScale == null ? void 0 : a.getScale(E)) || {
4673
4770
  x: 1,
4674
4771
  y: 1
4675
4772
  } : {
4676
4773
  x: 1,
4677
4774
  y: 1
4678
- }, L = gt(a.convertOffsetParentRelativeRectToViewportRelativeRect ? yield a.convertOffsetParentRelativeRectToViewportRelativeRect({
4775
+ }, P = gt(a.convertOffsetParentRelativeRectToViewportRelativeRect ? yield a.convertOffsetParentRelativeRectToViewportRelativeRect({
4679
4776
  elements: l,
4680
4777
  rect: y,
4681
4778
  offsetParent: E,
4682
4779
  strategy: c
4683
4780
  }) : y);
4684
4781
  return {
4685
- top: (x.top - L.top + m.top) / S.y,
4686
- bottom: (L.bottom - x.bottom + m.bottom) / S.y,
4687
- left: (x.left - L.left + m.left) / S.x,
4688
- right: (L.right - x.right + m.right) / S.x
4782
+ top: (x.top - P.top + m.top) / T.y,
4783
+ bottom: (P.bottom - x.bottom + m.bottom) / T.y,
4784
+ left: (x.left - P.left + m.left) / T.x,
4785
+ right: (P.right - x.right + m.right) / T.x
4689
4786
  };
4690
4787
  });
4691
4788
  }
4692
- const Bi = function(e) {
4789
+ const Bo = function(e) {
4693
4790
  return e === void 0 && (e = {}), {
4694
4791
  name: "flip",
4695
4792
  options: e,
4696
4793
  fn(r) {
4697
4794
  return he(this, null, function* () {
4698
- var n, o;
4795
+ var n, i;
4699
4796
  const {
4700
4797
  placement: a,
4701
- middlewareData: i,
4798
+ middlewareData: o,
4702
4799
  rects: l,
4703
4800
  initialPlacement: c,
4704
4801
  platform: u,
4705
4802
  elements: d
4706
- } = r, T = Qe(e, r), {
4803
+ } = r, S = Qe(e, r), {
4707
4804
  mainAxis: g = !0,
4708
4805
  crossAxis: p = !0,
4709
4806
  fallbackPlacements: f,
4710
4807
  fallbackStrategy: m = "bestFit",
4711
4808
  fallbackAxisSideDirection: h = "none",
4712
4809
  flipAlignment: w = !0
4713
- } = T, x = me(T, [
4810
+ } = S, x = me(S, [
4714
4811
  "mainAxis",
4715
4812
  "crossAxis",
4716
4813
  "fallbackPlacements",
@@ -4718,46 +4815,46 @@ const Bi = function(e) {
4718
4815
  "fallbackAxisSideDirection",
4719
4816
  "flipAlignment"
4720
4817
  ]);
4721
- if ((n = i.arrow) != null && n.alignmentOffset)
4818
+ if ((n = o.arrow) != null && n.alignmentOffset)
4722
4819
  return {};
4723
- const y = ze(a), E = Me(c), S = ze(c) === c, L = yield u.isRTL == null ? void 0 : u.isRTL(d.floating), H = f || (S || !w ? [ft(c)] : pi(c)), N = h !== "none";
4724
- !f && N && H.push(...bi(c, w, h, L));
4820
+ const y = ke(a), E = Me(c), T = ke(c) === c, P = yield u.isRTL == null ? void 0 : u.isRTL(d.floating), H = f || (T || !w ? [ft(c)] : po(c)), N = h !== "none";
4821
+ !f && N && H.push(...bo(c, w, h, P));
4725
4822
  const B = [c, ...H], J = yield Qt(r, x), U = [];
4726
- let G = ((o = i.flip) == null ? void 0 : o.overflows) || [];
4823
+ let G = ((i = o.flip) == null ? void 0 : i.overflows) || [];
4727
4824
  if (g && U.push(J[y]), p) {
4728
- const k = hi(a, l, L);
4729
- U.push(J[k[0]], J[k[1]]);
4825
+ const z = ho(a, l, P);
4826
+ U.push(J[z[0]], J[z[1]]);
4730
4827
  }
4731
4828
  if (G = [...G, {
4732
4829
  placement: a,
4733
4830
  overflows: U
4734
- }], !U.every((k) => k <= 0)) {
4831
+ }], !U.every((z) => z <= 0)) {
4735
4832
  var _, q;
4736
- const k = (((_ = i.flip) == null ? void 0 : _.index) || 0) + 1, z = B[k];
4737
- if (z)
4833
+ const z = (((_ = o.flip) == null ? void 0 : _.index) || 0) + 1, k = B[z];
4834
+ if (k)
4738
4835
  return {
4739
4836
  data: {
4740
- index: k,
4837
+ index: z,
4741
4838
  overflows: G
4742
4839
  },
4743
4840
  reset: {
4744
- placement: z
4841
+ placement: k
4745
4842
  }
4746
4843
  };
4747
- let M = (q = G.filter(($) => $.overflows[0] <= 0).sort(($, W) => $.overflows[1] - W.overflows[1])[0]) == null ? void 0 : q.placement;
4844
+ let M = (q = G.filter(($) => $.overflows[0] <= 0).sort(($, A) => $.overflows[1] - A.overflows[1])[0]) == null ? void 0 : q.placement;
4748
4845
  if (!M)
4749
4846
  switch (m) {
4750
4847
  case "bestFit": {
4751
- var A;
4752
- const $ = (A = G.filter((W) => {
4848
+ var W;
4849
+ const $ = (W = G.filter((A) => {
4753
4850
  if (N) {
4754
- const F = Me(W.placement);
4851
+ const F = Me(A.placement);
4755
4852
  return F === E || // Create a bias to the `y` side axis due to horizontal
4756
4853
  // reading directions favoring greater width.
4757
4854
  F === "y";
4758
4855
  }
4759
4856
  return !0;
4760
- }).map((W) => [W.placement, W.overflows.filter((F) => F > 0).reduce((F, xe) => F + xe, 0)]).sort((W, F) => W[1] - F[1])[0]) == null ? void 0 : A[0];
4857
+ }).map((A) => [A.placement, A.overflows.filter((F) => F > 0).reduce((F, xe) => F + xe, 0)]).sort((A, F) => A[1] - F[1])[0]) == null ? void 0 : W[0];
4761
4858
  $ && (M = $);
4762
4859
  break;
4763
4860
  }
@@ -4777,13 +4874,13 @@ const Bi = function(e) {
4777
4874
  }
4778
4875
  };
4779
4876
  };
4780
- function Di(e, t) {
4877
+ function Do(e, t) {
4781
4878
  return he(this, null, function* () {
4782
4879
  const {
4783
4880
  placement: r,
4784
4881
  platform: n,
4785
- elements: o
4786
- } = e, a = yield n.isRTL == null ? void 0 : n.isRTL(o.floating), i = ze(r), l = et(r), c = Me(r) === "y", u = ["left", "top"].includes(i) ? -1 : 1, d = a && c ? -1 : 1, g = Qe(t, e);
4882
+ elements: i
4883
+ } = e, a = yield n.isRTL == null ? void 0 : n.isRTL(i.floating), o = ke(r), l = et(r), c = Me(r) === "y", u = ["left", "top"].includes(o) ? -1 : 1, d = a && c ? -1 : 1, g = Qe(t, e);
4787
4884
  let {
4788
4885
  mainAxis: p,
4789
4886
  crossAxis: f,
@@ -4792,7 +4889,7 @@ function Di(e, t) {
4792
4889
  mainAxis: g,
4793
4890
  crossAxis: 0,
4794
4891
  alignmentAxis: null
4795
- } : P({
4892
+ } : L({
4796
4893
  mainAxis: 0,
4797
4894
  crossAxis: 0,
4798
4895
  alignmentAxis: null
@@ -4806,30 +4903,30 @@ function Di(e, t) {
4806
4903
  };
4807
4904
  });
4808
4905
  }
4809
- const Ni = function(e) {
4906
+ const No = function(e) {
4810
4907
  return e === void 0 && (e = 0), {
4811
4908
  name: "offset",
4812
4909
  options: e,
4813
4910
  fn(r) {
4814
4911
  return he(this, null, function* () {
4815
- var n, o;
4912
+ var n, i;
4816
4913
  const {
4817
4914
  x: a,
4818
- y: i,
4915
+ y: o,
4819
4916
  placement: l,
4820
4917
  middlewareData: c
4821
- } = r, u = yield Di(r, e);
4822
- return l === ((n = c.offset) == null ? void 0 : n.placement) && (o = c.arrow) != null && o.alignmentOffset ? {} : {
4918
+ } = r, u = yield Do(r, e);
4919
+ return l === ((n = c.offset) == null ? void 0 : n.placement) && (i = c.arrow) != null && i.alignmentOffset ? {} : {
4823
4920
  x: a + u.x,
4824
- y: i + u.y,
4825
- data: V(P({}, u), {
4921
+ y: o + u.y,
4922
+ data: V(L({}, u), {
4826
4923
  placement: l
4827
4924
  })
4828
4925
  };
4829
4926
  });
4830
4927
  }
4831
4928
  };
4832
- }, $i = function(e) {
4929
+ }, $o = function(e) {
4833
4930
  return e === void 0 && (e = {}), {
4834
4931
  name: "shift",
4835
4932
  options: e,
@@ -4837,20 +4934,20 @@ const Ni = function(e) {
4837
4934
  return he(this, null, function* () {
4838
4935
  const {
4839
4936
  x: n,
4840
- y: o,
4937
+ y: i,
4841
4938
  placement: a
4842
4939
  } = r, x = Qe(e, r), {
4843
- mainAxis: i = !0,
4940
+ mainAxis: o = !0,
4844
4941
  crossAxis: l = !1,
4845
4942
  limiter: c = {
4846
4943
  fn: (y) => {
4847
4944
  let {
4848
4945
  x: E,
4849
- y: S
4946
+ y: T
4850
4947
  } = y;
4851
4948
  return {
4852
4949
  x: E,
4853
- y: S
4950
+ y: T
4854
4951
  };
4855
4952
  }
4856
4953
  }
@@ -4860,31 +4957,31 @@ const Ni = function(e) {
4860
4957
  "limiter"
4861
4958
  ]), d = {
4862
4959
  x: n,
4863
- y: o
4864
- }, g = yield Qt(r, u), p = Me(ze(a)), f = mn(p);
4960
+ y: i
4961
+ }, g = yield Qt(r, u), p = Me(ke(a)), f = mn(p);
4865
4962
  let m = d[f], h = d[p];
4866
- if (i) {
4867
- const y = f === "y" ? "top" : "left", E = f === "y" ? "bottom" : "right", S = m + g[y], L = m - g[E];
4868
- m = Pr(S, m, L);
4963
+ if (o) {
4964
+ const y = f === "y" ? "top" : "left", E = f === "y" ? "bottom" : "right", T = m + g[y], P = m - g[E];
4965
+ m = Lr(T, m, P);
4869
4966
  }
4870
4967
  if (l) {
4871
- const y = p === "y" ? "top" : "left", E = p === "y" ? "bottom" : "right", S = h + g[y], L = h - g[E];
4872
- h = Pr(S, h, L);
4968
+ const y = p === "y" ? "top" : "left", E = p === "y" ? "bottom" : "right", T = h + g[y], P = h - g[E];
4969
+ h = Lr(T, h, P);
4873
4970
  }
4874
- const w = c.fn(V(P({}, r), {
4971
+ const w = c.fn(V(L({}, r), {
4875
4972
  [f]: m,
4876
4973
  [p]: h
4877
4974
  }));
4878
- return V(P({}, w), {
4975
+ return V(L({}, w), {
4879
4976
  data: {
4880
4977
  x: w.x - n,
4881
- y: w.y - o
4978
+ y: w.y - i
4882
4979
  }
4883
4980
  });
4884
4981
  });
4885
4982
  }
4886
4983
  };
4887
- }, Vi = function(e) {
4984
+ }, Vo = function(e) {
4888
4985
  return e === void 0 && (e = {}), {
4889
4986
  name: "size",
4890
4987
  options: e,
@@ -4892,31 +4989,31 @@ const Ni = function(e) {
4892
4989
  return he(this, null, function* () {
4893
4990
  const {
4894
4991
  placement: n,
4895
- rects: o,
4992
+ rects: i,
4896
4993
  platform: a,
4897
- elements: i
4994
+ elements: o
4898
4995
  } = r, J = Qe(e, r), {
4899
4996
  apply: l = () => {
4900
4997
  }
4901
4998
  } = J, c = me(J, [
4902
4999
  "apply"
4903
- ]), u = yield Qt(r, c), d = ze(n), g = et(n), p = Me(n) === "y", {
5000
+ ]), u = yield Qt(r, c), d = ke(n), g = et(n), p = Me(n) === "y", {
4904
5001
  width: f,
4905
5002
  height: m
4906
- } = o.floating;
5003
+ } = i.floating;
4907
5004
  let h, w;
4908
- d === "top" || d === "bottom" ? (h = d, w = g === ((yield a.isRTL == null ? void 0 : a.isRTL(i.floating)) ? "start" : "end") ? "left" : "right") : (w = d, h = g === "end" ? "top" : "bottom");
4909
- const x = m - u.top - u.bottom, y = f - u.left - u.right, E = Se(m - u[h], x), S = Se(f - u[w], y), L = !r.middlewareData.shift;
4910
- let H = E, N = S;
4911
- if (p ? N = g || L ? Se(S, y) : y : H = g || L ? Se(E, x) : x, L && !g) {
5005
+ d === "top" || d === "bottom" ? (h = d, w = g === ((yield a.isRTL == null ? void 0 : a.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : (w = d, h = g === "end" ? "top" : "bottom");
5006
+ const x = m - u.top - u.bottom, y = f - u.left - u.right, E = Te(m - u[h], x), T = Te(f - u[w], y), P = !r.middlewareData.shift;
5007
+ let H = E, N = T;
5008
+ if (p ? N = g || P ? Te(T, y) : y : H = g || P ? Te(E, x) : x, P && !g) {
4912
5009
  const U = le(u.left, 0), G = le(u.right, 0), _ = le(u.top, 0), q = le(u.bottom, 0);
4913
5010
  p ? N = f - 2 * (U !== 0 || G !== 0 ? U + G : le(u.left, u.right)) : H = m - 2 * (_ !== 0 || q !== 0 ? _ + q : le(u.top, u.bottom));
4914
5011
  }
4915
- yield l(V(P({}, r), {
5012
+ yield l(V(L({}, r), {
4916
5013
  availableWidth: N,
4917
5014
  availableHeight: H
4918
5015
  }));
4919
- const B = yield a.getDimensions(i.floating);
5016
+ const B = yield a.getDimensions(o.floating);
4920
5017
  return f !== B.width || m !== B.height ? {
4921
5018
  reset: {
4922
5019
  rects: !0
@@ -4929,8 +5026,8 @@ const Ni = function(e) {
4929
5026
  function Rn(e) {
4930
5027
  const t = de(e);
4931
5028
  let r = parseFloat(t.width) || 0, n = parseFloat(t.height) || 0;
4932
- const o = ae(e), a = o ? e.offsetWidth : r, i = o ? e.offsetHeight : n, l = dt(r) !== a || dt(n) !== i;
4933
- return l && (r = a, n = i), {
5029
+ const i = ae(e), a = i ? e.offsetWidth : r, o = i ? e.offsetHeight : n, l = dt(r) !== a || dt(n) !== o;
5030
+ return l && (r = a, n = o), {
4934
5031
  width: r,
4935
5032
  height: n,
4936
5033
  $: l
@@ -4942,42 +5039,42 @@ function er(e) {
4942
5039
  function je(e) {
4943
5040
  const t = er(e);
4944
5041
  if (!ae(t))
4945
- return ke(1);
5042
+ return ze(1);
4946
5043
  const r = t.getBoundingClientRect(), {
4947
5044
  width: n,
4948
- height: o,
5045
+ height: i,
4949
5046
  $: a
4950
5047
  } = Rn(t);
4951
- let i = (a ? dt(r.width) : r.width) / n, l = (a ? dt(r.height) : r.height) / o;
4952
- return (!i || !Number.isFinite(i)) && (i = 1), (!l || !Number.isFinite(l)) && (l = 1), {
4953
- x: i,
5048
+ let o = (a ? dt(r.width) : r.width) / n, l = (a ? dt(r.height) : r.height) / i;
5049
+ return (!o || !Number.isFinite(o)) && (o = 1), (!l || !Number.isFinite(l)) && (l = 1), {
5050
+ x: o,
4954
5051
  y: l
4955
5052
  };
4956
5053
  }
4957
- const Gi = /* @__PURE__ */ ke(0);
5054
+ const Go = /* @__PURE__ */ ze(0);
4958
5055
  function En(e) {
4959
- const t = ie(e);
4960
- return !Zt() || !t.visualViewport ? Gi : {
5056
+ const t = oe(e);
5057
+ return !Zt() || !t.visualViewport ? Go : {
4961
5058
  x: t.visualViewport.offsetLeft,
4962
5059
  y: t.visualViewport.offsetTop
4963
5060
  };
4964
5061
  }
4965
- function Ui(e, t, r) {
4966
- return t === void 0 && (t = !1), !r || t && r !== ie(e) ? !1 : t;
5062
+ function Uo(e, t, r) {
5063
+ return t === void 0 && (t = !1), !r || t && r !== oe(e) ? !1 : t;
4967
5064
  }
4968
5065
  function He(e, t, r, n) {
4969
5066
  t === void 0 && (t = !1), r === void 0 && (r = !1);
4970
- const o = e.getBoundingClientRect(), a = er(e);
4971
- let i = ke(1);
4972
- t && (n ? X(n) && (i = je(n)) : i = je(e));
4973
- const l = Ui(a, r, n) ? En(a) : ke(0);
4974
- let c = (o.left + l.x) / i.x, u = (o.top + l.y) / i.y, d = o.width / i.x, g = o.height / i.y;
5067
+ const i = e.getBoundingClientRect(), a = er(e);
5068
+ let o = ze(1);
5069
+ t && (n ? X(n) && (o = je(n)) : o = je(e));
5070
+ const l = Uo(a, r, n) ? En(a) : ze(0);
5071
+ let c = (i.left + l.x) / o.x, u = (i.top + l.y) / o.y, d = i.width / o.x, g = i.height / o.y;
4975
5072
  if (a) {
4976
- const p = ie(a), f = n && X(n) ? ie(n) : n;
5073
+ const p = oe(a), f = n && X(n) ? oe(n) : n;
4977
5074
  let m = p, h = m.frameElement;
4978
5075
  for (; h && n && f !== m; ) {
4979
- const w = je(h), x = h.getBoundingClientRect(), y = de(h), E = x.left + (h.clientLeft + parseFloat(y.paddingLeft)) * w.x, S = x.top + (h.clientTop + parseFloat(y.paddingTop)) * w.y;
4980
- c *= w.x, u *= w.y, d *= w.x, g *= w.y, c += E, u += S, m = ie(h), h = m.frameElement;
5076
+ const w = je(h), x = h.getBoundingClientRect(), y = de(h), E = x.left + (h.clientLeft + parseFloat(y.paddingLeft)) * w.x, T = x.top + (h.clientTop + parseFloat(y.paddingTop)) * w.y;
5077
+ c *= w.x, u *= w.y, d *= w.x, g *= w.y, c += E, u += T, m = oe(h), h = m.frameElement;
4981
5078
  }
4982
5079
  }
4983
5080
  return gt({
@@ -4987,22 +5084,22 @@ function He(e, t, r, n) {
4987
5084
  y: u
4988
5085
  });
4989
5086
  }
4990
- function qi(e) {
5087
+ function qo(e) {
4991
5088
  let {
4992
5089
  elements: t,
4993
5090
  rect: r,
4994
5091
  offsetParent: n,
4995
- strategy: o
5092
+ strategy: i
4996
5093
  } = e;
4997
- const a = o === "fixed", i = be(n), l = t ? xt(t.floating) : !1;
4998
- if (n === i || l && a)
5094
+ const a = i === "fixed", o = be(n), l = t ? xt(t.floating) : !1;
5095
+ if (n === o || l && a)
4999
5096
  return r;
5000
5097
  let c = {
5001
5098
  scrollLeft: 0,
5002
5099
  scrollTop: 0
5003
- }, u = ke(1);
5004
- const d = ke(0), g = ae(n);
5005
- if ((g || !g && !a) && ((De(n) !== "body" || Ze(i)) && (c = yt(n)), ae(n))) {
5100
+ }, u = ze(1);
5101
+ const d = ze(0), g = ae(n);
5102
+ if ((g || !g && !a) && ((De(n) !== "body" || Ze(o)) && (c = yt(n)), ae(n))) {
5006
5103
  const p = He(n);
5007
5104
  u = je(n), d.x = p.x + n.clientLeft, d.y = p.y + n.clientTop;
5008
5105
  }
@@ -5013,42 +5110,42 @@ function qi(e) {
5013
5110
  y: r.y * u.y - c.scrollTop * u.y + d.y
5014
5111
  };
5015
5112
  }
5016
- function Yi(e) {
5113
+ function Yo(e) {
5017
5114
  return Array.from(e.getClientRects());
5018
5115
  }
5019
- function Sn(e) {
5116
+ function Tn(e) {
5020
5117
  return He(be(e)).left + yt(e).scrollLeft;
5021
5118
  }
5022
- function Ki(e) {
5023
- const t = be(e), r = yt(e), n = e.ownerDocument.body, o = le(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), a = le(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
5024
- let i = -r.scrollLeft + Sn(e);
5119
+ function Ko(e) {
5120
+ const t = be(e), r = yt(e), n = e.ownerDocument.body, i = le(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), a = le(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
5121
+ let o = -r.scrollLeft + Tn(e);
5025
5122
  const l = -r.scrollTop;
5026
- return de(n).direction === "rtl" && (i += le(t.clientWidth, n.clientWidth) - o), {
5027
- width: o,
5123
+ return de(n).direction === "rtl" && (o += le(t.clientWidth, n.clientWidth) - i), {
5124
+ width: i,
5028
5125
  height: a,
5029
- x: i,
5126
+ x: o,
5030
5127
  y: l
5031
5128
  };
5032
5129
  }
5033
- function Xi(e, t) {
5034
- const r = ie(e), n = be(e), o = r.visualViewport;
5035
- let a = n.clientWidth, i = n.clientHeight, l = 0, c = 0;
5036
- if (o) {
5037
- a = o.width, i = o.height;
5130
+ function Xo(e, t) {
5131
+ const r = oe(e), n = be(e), i = r.visualViewport;
5132
+ let a = n.clientWidth, o = n.clientHeight, l = 0, c = 0;
5133
+ if (i) {
5134
+ a = i.width, o = i.height;
5038
5135
  const u = Zt();
5039
- (!u || u && t === "fixed") && (l = o.offsetLeft, c = o.offsetTop);
5136
+ (!u || u && t === "fixed") && (l = i.offsetLeft, c = i.offsetTop);
5040
5137
  }
5041
5138
  return {
5042
5139
  width: a,
5043
- height: i,
5140
+ height: o,
5044
5141
  x: l,
5045
5142
  y: c
5046
5143
  };
5047
5144
  }
5048
- function Ji(e, t) {
5049
- const r = He(e, !0, t === "fixed"), n = r.top + e.clientTop, o = r.left + e.clientLeft, a = ae(e) ? je(e) : ke(1), i = e.clientWidth * a.x, l = e.clientHeight * a.y, c = o * a.x, u = n * a.y;
5145
+ function Jo(e, t) {
5146
+ const r = He(e, !0, t === "fixed"), n = r.top + e.clientTop, i = r.left + e.clientLeft, a = ae(e) ? je(e) : ze(1), o = e.clientWidth * a.x, l = e.clientHeight * a.y, c = i * a.x, u = n * a.y;
5050
5147
  return {
5051
- width: i,
5148
+ width: o,
5052
5149
  height: l,
5053
5150
  x: c,
5054
5151
  y: u
@@ -5057,48 +5154,48 @@ function Ji(e, t) {
5057
5154
  function _r(e, t, r) {
5058
5155
  let n;
5059
5156
  if (t === "viewport")
5060
- n = Xi(e, r);
5157
+ n = Xo(e, r);
5061
5158
  else if (t === "document")
5062
- n = Ki(be(e));
5159
+ n = Ko(be(e));
5063
5160
  else if (X(t))
5064
- n = Ji(t, r);
5161
+ n = Jo(t, r);
5065
5162
  else {
5066
- const o = En(e);
5067
- n = V(P({}, t), {
5068
- x: t.x - o.x,
5069
- y: t.y - o.y
5163
+ const i = En(e);
5164
+ n = V(L({}, t), {
5165
+ x: t.x - i.x,
5166
+ y: t.y - i.y
5070
5167
  });
5071
5168
  }
5072
5169
  return gt(n);
5073
5170
  }
5074
- function Tn(e, t) {
5171
+ function Sn(e, t) {
5075
5172
  const r = ve(e);
5076
- return r === t || !X(r) || Ce(r) ? !1 : de(r).position === "fixed" || Tn(r, t);
5173
+ return r === t || !X(r) || Ce(r) ? !1 : de(r).position === "fixed" || Sn(r, t);
5077
5174
  }
5078
- function Zi(e, t) {
5175
+ function Zo(e, t) {
5079
5176
  const r = t.get(e);
5080
5177
  if (r)
5081
5178
  return r;
5082
- let n = Te(e, [], !1).filter((l) => X(l) && De(l) !== "body"), o = null;
5179
+ let n = Se(e, [], !1).filter((l) => X(l) && De(l) !== "body"), i = null;
5083
5180
  const a = de(e).position === "fixed";
5084
- let i = a ? ve(e) : e;
5085
- for (; X(i) && !Ce(i); ) {
5086
- const l = de(i), c = Jt(i);
5087
- !c && l.position === "fixed" && (o = null), (a ? !c && !o : !c && l.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || Ze(i) && !c && Tn(e, i)) ? n = n.filter((d) => d !== i) : o = l, i = ve(i);
5181
+ let o = a ? ve(e) : e;
5182
+ for (; X(o) && !Ce(o); ) {
5183
+ const l = de(o), c = Jt(o);
5184
+ !c && l.position === "fixed" && (i = null), (a ? !c && !i : !c && l.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || Ze(o) && !c && Sn(e, o)) ? n = n.filter((d) => d !== o) : i = l, o = ve(o);
5088
5185
  }
5089
5186
  return t.set(e, n), n;
5090
5187
  }
5091
- function Qi(e) {
5188
+ function Qo(e) {
5092
5189
  let {
5093
5190
  element: t,
5094
5191
  boundary: r,
5095
5192
  rootBoundary: n,
5096
- strategy: o
5193
+ strategy: i
5097
5194
  } = e;
5098
- const i = [...r === "clippingAncestors" ? xt(t) ? [] : Zi(t, this._c) : [].concat(r), n], l = i[0], c = i.reduce((u, d) => {
5099
- const g = _r(t, d, o);
5100
- return u.top = le(g.top, u.top), u.right = Se(g.right, u.right), u.bottom = Se(g.bottom, u.bottom), u.left = le(g.left, u.left), u;
5101
- }, _r(t, l, o));
5195
+ const o = [...r === "clippingAncestors" ? xt(t) ? [] : Zo(t, this._c) : [].concat(r), n], l = o[0], c = o.reduce((u, d) => {
5196
+ const g = _r(t, d, i);
5197
+ return u.top = le(g.top, u.top), u.right = Te(g.right, u.right), u.bottom = Te(g.bottom, u.bottom), u.left = le(g.left, u.left), u;
5198
+ }, _r(t, l, i));
5102
5199
  return {
5103
5200
  width: c.right - c.left,
5104
5201
  height: c.bottom - c.top,
@@ -5117,48 +5214,48 @@ function ea(e) {
5117
5214
  };
5118
5215
  }
5119
5216
  function ta(e, t, r) {
5120
- const n = ae(t), o = be(t), a = r === "fixed", i = He(e, !0, a, t);
5217
+ const n = ae(t), i = be(t), a = r === "fixed", o = He(e, !0, a, t);
5121
5218
  let l = {
5122
5219
  scrollLeft: 0,
5123
5220
  scrollTop: 0
5124
5221
  };
5125
- const c = ke(0);
5222
+ const c = ze(0);
5126
5223
  if (n || !n && !a)
5127
- if ((De(t) !== "body" || Ze(o)) && (l = yt(t)), n) {
5224
+ if ((De(t) !== "body" || Ze(i)) && (l = yt(t)), n) {
5128
5225
  const g = He(t, !0, a, t);
5129
5226
  c.x = g.x + t.clientLeft, c.y = g.y + t.clientTop;
5130
- } else o && (c.x = Sn(o));
5131
- const u = i.left + l.scrollLeft - c.x, d = i.top + l.scrollTop - c.y;
5227
+ } else i && (c.x = Tn(i));
5228
+ const u = o.left + l.scrollLeft - c.x, d = o.top + l.scrollTop - c.y;
5132
5229
  return {
5133
5230
  x: u,
5134
5231
  y: d,
5135
- width: i.width,
5136
- height: i.height
5232
+ width: o.width,
5233
+ height: o.height
5137
5234
  };
5138
5235
  }
5139
5236
  function Mt(e) {
5140
5237
  return de(e).position === "static";
5141
5238
  }
5142
- function Ar(e, t) {
5239
+ function Wr(e, t) {
5143
5240
  return !ae(e) || de(e).position === "fixed" ? null : t ? t(e) : e.offsetParent;
5144
5241
  }
5145
5242
  function Cn(e, t) {
5146
- const r = ie(e);
5243
+ const r = oe(e);
5147
5244
  if (xt(e))
5148
5245
  return r;
5149
5246
  if (!ae(e)) {
5150
- let o = ve(e);
5151
- for (; o && !Ce(o); ) {
5152
- if (X(o) && !Mt(o))
5153
- return o;
5154
- o = ve(o);
5247
+ let i = ve(e);
5248
+ for (; i && !Ce(i); ) {
5249
+ if (X(i) && !Mt(i))
5250
+ return i;
5251
+ i = ve(i);
5155
5252
  }
5156
5253
  return r;
5157
5254
  }
5158
- let n = Ar(e, t);
5159
- for (; n && ii(n) && Mt(n); )
5160
- n = Ar(n, t);
5161
- return n && Ce(n) && Mt(n) && !Jt(n) ? r : n || ai(e) || r;
5255
+ let n = Wr(e, t);
5256
+ for (; n && io(n) && Mt(n); )
5257
+ n = Wr(n, t);
5258
+ return n && Ce(n) && Mt(n) && !Jt(n) ? r : n || oo(e) || r;
5162
5259
  }
5163
5260
  const ra = function(e) {
5164
5261
  return he(this, null, function* () {
@@ -5177,26 +5274,26 @@ const ra = function(e) {
5177
5274
  function na(e) {
5178
5275
  return de(e).direction === "rtl";
5179
5276
  }
5180
- const oa = {
5181
- convertOffsetParentRelativeRectToViewportRelativeRect: qi,
5277
+ const ia = {
5278
+ convertOffsetParentRelativeRectToViewportRelativeRect: qo,
5182
5279
  getDocumentElement: be,
5183
- getClippingRect: Qi,
5280
+ getClippingRect: Qo,
5184
5281
  getOffsetParent: Cn,
5185
5282
  getElementRects: ra,
5186
- getClientRects: Yi,
5283
+ getClientRects: Yo,
5187
5284
  getDimensions: ea,
5188
5285
  getScale: je,
5189
5286
  isElement: X,
5190
5287
  isRTL: na
5191
5288
  };
5192
- function ia(e, t) {
5289
+ function oa(e, t) {
5193
5290
  let r = null, n;
5194
- const o = be(e);
5291
+ const i = be(e);
5195
5292
  function a() {
5196
5293
  var l;
5197
5294
  clearTimeout(n), (l = r) == null || l.disconnect(), r = null;
5198
5295
  }
5199
- function i(l, c) {
5296
+ function o(l, c) {
5200
5297
  l === void 0 && (l = !1), c === void 0 && (c = 1), a();
5201
5298
  const {
5202
5299
  left: u,
@@ -5206,51 +5303,51 @@ function ia(e, t) {
5206
5303
  } = e.getBoundingClientRect();
5207
5304
  if (l || t(), !g || !p)
5208
5305
  return;
5209
- const f = lt(d), m = lt(o.clientWidth - (u + g)), h = lt(o.clientHeight - (d + p)), w = lt(u), y = {
5306
+ const f = lt(d), m = lt(i.clientWidth - (u + g)), h = lt(i.clientHeight - (d + p)), w = lt(u), y = {
5210
5307
  rootMargin: -f + "px " + -m + "px " + -h + "px " + -w + "px",
5211
- threshold: le(0, Se(1, c)) || 1
5308
+ threshold: le(0, Te(1, c)) || 1
5212
5309
  };
5213
5310
  let E = !0;
5214
- function S(L) {
5215
- const H = L[0].intersectionRatio;
5311
+ function T(P) {
5312
+ const H = P[0].intersectionRatio;
5216
5313
  if (H !== c) {
5217
5314
  if (!E)
5218
- return i();
5219
- H ? i(!1, H) : n = setTimeout(() => {
5220
- i(!1, 1e-7);
5315
+ return o();
5316
+ H ? o(!1, H) : n = setTimeout(() => {
5317
+ o(!1, 1e-7);
5221
5318
  }, 1e3);
5222
5319
  }
5223
5320
  E = !1;
5224
5321
  }
5225
5322
  try {
5226
- r = new IntersectionObserver(S, V(P({}, y), {
5323
+ r = new IntersectionObserver(T, V(L({}, y), {
5227
5324
  // Handle <iframe>s
5228
- root: o.ownerDocument
5325
+ root: i.ownerDocument
5229
5326
  }));
5230
- } catch (L) {
5231
- r = new IntersectionObserver(S, y);
5327
+ } catch (P) {
5328
+ r = new IntersectionObserver(T, y);
5232
5329
  }
5233
5330
  r.observe(e);
5234
5331
  }
5235
- return i(!0), a;
5332
+ return o(!0), a;
5236
5333
  }
5237
5334
  function aa(e, t, r, n) {
5238
5335
  n === void 0 && (n = {});
5239
5336
  const {
5240
- ancestorScroll: o = !0,
5337
+ ancestorScroll: i = !0,
5241
5338
  ancestorResize: a = !0,
5242
- elementResize: i = typeof ResizeObserver == "function",
5339
+ elementResize: o = typeof ResizeObserver == "function",
5243
5340
  layoutShift: l = typeof IntersectionObserver == "function",
5244
5341
  animationFrame: c = !1
5245
- } = n, u = er(e), d = o || a ? [...u ? Te(u) : [], ...Te(t)] : [];
5342
+ } = n, u = er(e), d = i || a ? [...u ? Se(u) : [], ...Se(t)] : [];
5246
5343
  d.forEach((x) => {
5247
- o && x.addEventListener("scroll", r, {
5344
+ i && x.addEventListener("scroll", r, {
5248
5345
  passive: !0
5249
5346
  }), a && x.addEventListener("resize", r);
5250
5347
  });
5251
- const g = u && l ? ia(u, r) : null;
5348
+ const g = u && l ? oa(u, r) : null;
5252
5349
  let p = -1, f = null;
5253
- i && (f = new ResizeObserver((x) => {
5350
+ o && (f = new ResizeObserver((x) => {
5254
5351
  let [y] = x;
5255
5352
  y && y.target === u && f && (f.unobserve(t), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
5256
5353
  var E;
@@ -5266,17 +5363,17 @@ function aa(e, t, r, n) {
5266
5363
  return r(), () => {
5267
5364
  var x;
5268
5365
  d.forEach((y) => {
5269
- o && y.removeEventListener("scroll", r), a && y.removeEventListener("resize", r);
5366
+ i && y.removeEventListener("scroll", r), a && y.removeEventListener("resize", r);
5270
5367
  }), g == null || g(), (x = f) == null || x.disconnect(), f = null, c && cancelAnimationFrame(m);
5271
5368
  };
5272
5369
  }
5273
- const la = Ni, sa = $i, ca = Bi, ua = Vi, da = (e, t, r) => {
5274
- const n = /* @__PURE__ */ new Map(), o = P({
5275
- platform: oa
5276
- }, r), a = V(P({}, o.platform), {
5370
+ const la = No, sa = $o, ca = Bo, ua = Vo, da = (e, t, r) => {
5371
+ const n = /* @__PURE__ */ new Map(), i = L({
5372
+ platform: ia
5373
+ }, r), a = V(L({}, i.platform), {
5277
5374
  _c: n
5278
5375
  });
5279
- return Ii(e, t, V(P({}, o), {
5376
+ return Io(e, t, V(L({}, i), {
5280
5377
  platform: a
5281
5378
  }));
5282
5379
  };
@@ -5288,7 +5385,7 @@ function pt(e, t) {
5288
5385
  return !1;
5289
5386
  if (typeof e == "function" && e.toString() === t.toString())
5290
5387
  return !0;
5291
- let r, n, o;
5388
+ let r, n, i;
5292
5389
  if (e && t && typeof e == "object") {
5293
5390
  if (Array.isArray(e)) {
5294
5391
  if (r = e.length, r !== t.length) return !1;
@@ -5297,13 +5394,13 @@ function pt(e, t) {
5297
5394
  return !1;
5298
5395
  return !0;
5299
5396
  }
5300
- if (o = Object.keys(e), r = o.length, r !== Object.keys(t).length)
5397
+ if (i = Object.keys(e), r = i.length, r !== Object.keys(t).length)
5301
5398
  return !1;
5302
5399
  for (n = r; n-- !== 0; )
5303
- if (!{}.hasOwnProperty.call(t, o[n]))
5400
+ if (!{}.hasOwnProperty.call(t, i[n]))
5304
5401
  return !1;
5305
5402
  for (n = r; n-- !== 0; ) {
5306
- const a = o[n];
5403
+ const a = i[n];
5307
5404
  if (!(a === "_owner" && e.$$typeof) && !pt(e[a], t[a]))
5308
5405
  return !1;
5309
5406
  }
@@ -5311,11 +5408,11 @@ function pt(e, t) {
5311
5408
  }
5312
5409
  return e !== e && t !== t;
5313
5410
  }
5314
- function kn(e) {
5411
+ function zn(e) {
5315
5412
  return typeof window == "undefined" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
5316
5413
  }
5317
- function Wr(e, t) {
5318
- const r = kn(e);
5414
+ function Ar(e, t) {
5415
+ const r = zn(e);
5319
5416
  return Math.round(t * r) / r;
5320
5417
  }
5321
5418
  function Or(e) {
@@ -5330,10 +5427,10 @@ function fa(e) {
5330
5427
  placement: t = "bottom",
5331
5428
  strategy: r = "absolute",
5332
5429
  middleware: n = [],
5333
- platform: o,
5430
+ platform: i,
5334
5431
  elements: {
5335
5432
  reference: a,
5336
- floating: i
5433
+ floating: o
5337
5434
  } = {},
5338
5435
  transform: l = !0,
5339
5436
  whileElementsMounted: c,
@@ -5347,20 +5444,20 @@ function fa(e) {
5347
5444
  isPositioned: !1
5348
5445
  }), [p, f] = v.useState(n);
5349
5446
  pt(p, n) || f(n);
5350
- const [m, h] = v.useState(null), [w, x] = v.useState(null), y = v.useCallback((z) => {
5351
- z !== H.current && (H.current = z, h(z));
5352
- }, []), E = v.useCallback((z) => {
5353
- z !== N.current && (N.current = z, x(z));
5354
- }, []), S = a || m, L = i || w, H = v.useRef(null), N = v.useRef(null), B = v.useRef(d), J = c != null, U = Or(c), G = Or(o), _ = v.useCallback(() => {
5447
+ const [m, h] = v.useState(null), [w, x] = v.useState(null), y = v.useCallback((k) => {
5448
+ k !== H.current && (H.current = k, h(k));
5449
+ }, []), E = v.useCallback((k) => {
5450
+ k !== N.current && (N.current = k, x(k));
5451
+ }, []), T = a || m, P = o || w, H = v.useRef(null), N = v.useRef(null), B = v.useRef(d), J = c != null, U = Or(c), G = Or(i), _ = v.useCallback(() => {
5355
5452
  if (!H.current || !N.current)
5356
5453
  return;
5357
- const z = {
5454
+ const k = {
5358
5455
  placement: t,
5359
5456
  strategy: r,
5360
5457
  middleware: p
5361
5458
  };
5362
- G.current && (z.platform = G.current), da(H.current, N.current, z).then((M) => {
5363
- const $ = V(P({}, M), {
5459
+ G.current && (k.platform = G.current), da(H.current, N.current, k).then((M) => {
5460
+ const $ = V(L({}, M), {
5364
5461
  isPositioned: !0
5365
5462
  });
5366
5463
  q.current && !pt(B.current, $) && (B.current = $, Xr.flushSync(() => {
@@ -5369,7 +5466,7 @@ function fa(e) {
5369
5466
  });
5370
5467
  }, [p, t, r, G]);
5371
5468
  st(() => {
5372
- u === !1 && B.current.isPositioned && (B.current.isPositioned = !1, g((z) => V(P({}, z), {
5469
+ u === !1 && B.current.isPositioned && (B.current.isPositioned = !1, g((k) => V(L({}, k), {
5373
5470
  isPositioned: !1
5374
5471
  })));
5375
5472
  }, [u]);
@@ -5377,55 +5474,55 @@ function fa(e) {
5377
5474
  st(() => (q.current = !0, () => {
5378
5475
  q.current = !1;
5379
5476
  }), []), st(() => {
5380
- if (S && (H.current = S), L && (N.current = L), S && L) {
5477
+ if (T && (H.current = T), P && (N.current = P), T && P) {
5381
5478
  if (U.current)
5382
- return U.current(S, L, _);
5479
+ return U.current(T, P, _);
5383
5480
  _();
5384
5481
  }
5385
- }, [S, L, _, U, J]);
5386
- const A = v.useMemo(() => ({
5482
+ }, [T, P, _, U, J]);
5483
+ const W = v.useMemo(() => ({
5387
5484
  reference: H,
5388
5485
  floating: N,
5389
5486
  setReference: y,
5390
5487
  setFloating: E
5391
- }), [y, E]), T = v.useMemo(() => ({
5392
- reference: S,
5393
- floating: L
5394
- }), [S, L]), k = v.useMemo(() => {
5395
- const z = {
5488
+ }), [y, E]), S = v.useMemo(() => ({
5489
+ reference: T,
5490
+ floating: P
5491
+ }), [T, P]), z = v.useMemo(() => {
5492
+ const k = {
5396
5493
  position: r,
5397
5494
  left: 0,
5398
5495
  top: 0
5399
5496
  };
5400
- if (!T.floating)
5401
- return z;
5402
- const M = Wr(T.floating, d.x), $ = Wr(T.floating, d.y);
5403
- return l ? P(V(P({}, z), {
5497
+ if (!S.floating)
5498
+ return k;
5499
+ const M = Ar(S.floating, d.x), $ = Ar(S.floating, d.y);
5500
+ return l ? L(V(L({}, k), {
5404
5501
  transform: "translate(" + M + "px, " + $ + "px)"
5405
- }), kn(T.floating) >= 1.5 && {
5502
+ }), zn(S.floating) >= 1.5 && {
5406
5503
  willChange: "transform"
5407
5504
  }) : {
5408
5505
  position: r,
5409
5506
  left: M,
5410
5507
  top: $
5411
5508
  };
5412
- }, [r, l, T.floating, d.x, d.y]);
5413
- return v.useMemo(() => V(P({}, d), {
5509
+ }, [r, l, S.floating, d.x, d.y]);
5510
+ return v.useMemo(() => V(L({}, d), {
5414
5511
  update: _,
5415
- refs: A,
5416
- elements: T,
5417
- floatingStyles: k
5418
- }), [d, _, A, T, k]);
5512
+ refs: W,
5513
+ elements: S,
5514
+ floatingStyles: z
5515
+ }), [d, _, W, S, z]);
5419
5516
  }
5420
- const ga = (e, t) => V(P({}, la(e)), {
5517
+ const ga = (e, t) => V(L({}, la(e)), {
5421
5518
  options: [e, t]
5422
- }), ma = (e, t) => V(P({}, sa(e)), {
5519
+ }), ma = (e, t) => V(L({}, sa(e)), {
5423
5520
  options: [e, t]
5424
- }), ha = (e, t) => V(P({}, ca(e)), {
5521
+ }), ha = (e, t) => V(L({}, ca(e)), {
5425
5522
  options: [e, t]
5426
- }), pa = (e, t) => V(P({}, ua(e)), {
5523
+ }), pa = (e, t) => V(L({}, ua(e)), {
5427
5524
  options: [e, t]
5428
- }), zn = P({}, v), va = zn.useInsertionEffect, ba = va || ((e) => e());
5525
+ }), kn = L({}, v), va = kn.useInsertionEffect, ba = va || ((e) => e());
5429
5526
  function Re(e) {
5430
5527
  const t = v.useRef(() => {
5431
5528
  if (process.env.NODE_ENV !== "production")
@@ -5434,8 +5531,8 @@ function Re(e) {
5434
5531
  return ba(() => {
5435
5532
  t.current = e;
5436
5533
  }), v.useCallback(function() {
5437
- for (var r = arguments.length, n = new Array(r), o = 0; o < r; o++)
5438
- n[o] = arguments[o];
5534
+ for (var r = arguments.length, n = new Array(r), i = 0; i < r; i++)
5535
+ n[i] = arguments[i];
5439
5536
  return t.current == null ? void 0 : t.current(...n);
5440
5537
  }, []);
5441
5538
  }
@@ -5464,16 +5561,16 @@ function ya() {
5464
5561
  jr = !0;
5465
5562
  }, []), e;
5466
5563
  }
5467
- const wa = zn.useId, tr = wa || ya;
5564
+ const wa = kn.useId, tr = wa || ya;
5468
5565
  let Yt;
5469
5566
  process.env.NODE_ENV !== "production" && (Yt = /* @__PURE__ */ new Set());
5470
5567
  function Ra() {
5471
5568
  for (var e, t = arguments.length, r = new Array(t), n = 0; n < t; n++)
5472
5569
  r[n] = arguments[n];
5473
- const o = "Floating UI: " + r.join(" ");
5474
- if (!((e = Yt) != null && e.has(o))) {
5570
+ const i = "Floating UI: " + r.join(" ");
5571
+ if (!((e = Yt) != null && e.has(i))) {
5475
5572
  var a;
5476
- (a = Yt) == null || a.add(o), console.error(o);
5573
+ (a = Yt) == null || a.add(i), console.error(i);
5477
5574
  }
5478
5575
  }
5479
5576
  function Ea() {
@@ -5481,26 +5578,26 @@ function Ea() {
5481
5578
  return {
5482
5579
  emit(t, r) {
5483
5580
  var n;
5484
- (n = e.get(t)) == null || n.forEach((o) => o(r));
5581
+ (n = e.get(t)) == null || n.forEach((i) => i(r));
5485
5582
  },
5486
5583
  on(t, r) {
5487
5584
  e.set(t, [...e.get(t) || [], r]);
5488
5585
  },
5489
5586
  off(t, r) {
5490
5587
  var n;
5491
- e.set(t, ((n = e.get(t)) == null ? void 0 : n.filter((o) => o !== r)) || []);
5588
+ e.set(t, ((n = e.get(t)) == null ? void 0 : n.filter((i) => i !== r)) || []);
5492
5589
  }
5493
5590
  };
5494
5591
  }
5495
- const Sa = /* @__PURE__ */ v.createContext(null), Ta = /* @__PURE__ */ v.createContext(null), rr = () => {
5592
+ const Ta = /* @__PURE__ */ v.createContext(null), Sa = /* @__PURE__ */ v.createContext(null), rr = () => {
5496
5593
  var e;
5497
- return ((e = v.useContext(Sa)) == null ? void 0 : e.id) || null;
5498
- }, nr = () => v.useContext(Ta);
5594
+ return ((e = v.useContext(Ta)) == null ? void 0 : e.id) || null;
5595
+ }, nr = () => v.useContext(Sa);
5499
5596
  function tt(e) {
5500
5597
  return "data-floating-ui-" + e;
5501
5598
  }
5502
5599
  function Ht(e) {
5503
- const t = vo(e);
5600
+ const t = pi(e);
5504
5601
  return fe(() => {
5505
5602
  t.current = e;
5506
5603
  }), t;
@@ -5514,9 +5611,9 @@ function el(e, t) {
5514
5611
  const {
5515
5612
  open: r,
5516
5613
  onOpenChange: n,
5517
- dataRef: o,
5614
+ dataRef: i,
5518
5615
  events: a,
5519
- elements: i
5616
+ elements: o
5520
5617
  } = e, {
5521
5618
  enabled: l = !0,
5522
5619
  delay: c = 0,
@@ -5524,164 +5621,164 @@ function el(e, t) {
5524
5621
  mouseOnly: d = !1,
5525
5622
  restMs: g = 0,
5526
5623
  move: p = !0
5527
- } = t, f = nr(), m = rr(), h = Ht(u), w = Ht(c), x = Ht(r), y = v.useRef(), E = v.useRef(-1), S = v.useRef(), L = v.useRef(-1), H = v.useRef(!0), N = v.useRef(!1), B = v.useRef(() => {
5624
+ } = t, f = nr(), m = rr(), h = Ht(u), w = Ht(c), x = Ht(r), y = v.useRef(), E = v.useRef(-1), T = v.useRef(), P = v.useRef(-1), H = v.useRef(!0), N = v.useRef(!1), B = v.useRef(() => {
5528
5625
  }), J = v.useCallback(() => {
5529
- var T;
5530
- const k = (T = o.current.openEvent) == null ? void 0 : T.type;
5531
- return (k == null ? void 0 : k.includes("mouse")) && k !== "mousedown";
5532
- }, [o]);
5626
+ var S;
5627
+ const z = (S = i.current.openEvent) == null ? void 0 : S.type;
5628
+ return (z == null ? void 0 : z.includes("mouse")) && z !== "mousedown";
5629
+ }, [i]);
5533
5630
  v.useEffect(() => {
5534
5631
  if (!l) return;
5535
- function T(k) {
5632
+ function S(z) {
5536
5633
  let {
5537
- open: z
5538
- } = k;
5539
- z || (clearTimeout(E.current), clearTimeout(L.current), H.current = !0);
5634
+ open: k
5635
+ } = z;
5636
+ k || (clearTimeout(E.current), clearTimeout(P.current), H.current = !0);
5540
5637
  }
5541
- return a.on("openchange", T), () => {
5542
- a.off("openchange", T);
5638
+ return a.on("openchange", S), () => {
5639
+ a.off("openchange", S);
5543
5640
  };
5544
5641
  }, [l, a]), v.useEffect(() => {
5545
5642
  if (!l || !h.current || !r) return;
5546
- function T(z) {
5547
- J() && n(!1, z, "hover");
5643
+ function S(k) {
5644
+ J() && n(!1, k, "hover");
5548
5645
  }
5549
- const k = Ee(i.floating).documentElement;
5550
- return k.addEventListener("mouseleave", T), () => {
5551
- k.removeEventListener("mouseleave", T);
5646
+ const z = Ee(o.floating).documentElement;
5647
+ return z.addEventListener("mouseleave", S), () => {
5648
+ z.removeEventListener("mouseleave", S);
5552
5649
  };
5553
- }, [i.floating, r, n, l, h, J]);
5554
- const U = v.useCallback(function(T, k, z) {
5555
- k === void 0 && (k = !0), z === void 0 && (z = "hover");
5650
+ }, [o.floating, r, n, l, h, J]);
5651
+ const U = v.useCallback(function(S, z, k) {
5652
+ z === void 0 && (z = !0), k === void 0 && (k = "hover");
5556
5653
  const M = _t(w.current, "close", y.current);
5557
- M && !S.current ? (clearTimeout(E.current), E.current = window.setTimeout(() => n(!1, T, z), M)) : k && (clearTimeout(E.current), n(!1, T, z));
5654
+ M && !T.current ? (clearTimeout(E.current), E.current = window.setTimeout(() => n(!1, S, k), M)) : z && (clearTimeout(E.current), n(!1, S, k));
5558
5655
  }, [w, n]), G = Re(() => {
5559
- B.current(), S.current = void 0;
5656
+ B.current(), T.current = void 0;
5560
5657
  }), _ = Re(() => {
5561
5658
  if (N.current) {
5562
- const T = Ee(i.floating).body;
5563
- T.style.pointerEvents = "", T.removeAttribute(Ir), N.current = !1;
5659
+ const S = Ee(o.floating).body;
5660
+ S.style.pointerEvents = "", S.removeAttribute(Ir), N.current = !1;
5564
5661
  }
5565
5662
  });
5566
5663
  v.useEffect(() => {
5567
5664
  if (!l) return;
5568
- function T() {
5569
- return o.current.openEvent ? ["click", "mousedown"].includes(o.current.openEvent.type) : !1;
5665
+ function S() {
5666
+ return i.current.openEvent ? ["click", "mousedown"].includes(i.current.openEvent.type) : !1;
5570
5667
  }
5571
- function k(W) {
5668
+ function z(A) {
5572
5669
  if (clearTimeout(E.current), H.current = !1, d && !Ke(y.current) || g > 0 && !_t(w.current, "open"))
5573
5670
  return;
5574
5671
  const F = _t(w.current, "open", y.current);
5575
5672
  F ? E.current = window.setTimeout(() => {
5576
- x.current || n(!0, W, "hover");
5577
- }, F) : n(!0, W, "hover");
5673
+ x.current || n(!0, A, "hover");
5674
+ }, F) : n(!0, A, "hover");
5578
5675
  }
5579
- function z(W) {
5580
- if (T()) return;
5676
+ function k(A) {
5677
+ if (S()) return;
5581
5678
  B.current();
5582
- const F = Ee(i.floating);
5583
- if (clearTimeout(L.current), h.current && o.current.floatingContext) {
5584
- r || clearTimeout(E.current), S.current = h.current(V(P({}, o.current.floatingContext), {
5679
+ const F = Ee(o.floating);
5680
+ if (clearTimeout(P.current), h.current && i.current.floatingContext) {
5681
+ r || clearTimeout(E.current), T.current = h.current(V(L({}, i.current.floatingContext), {
5585
5682
  tree: f,
5586
- x: W.clientX,
5587
- y: W.clientY,
5683
+ x: A.clientX,
5684
+ y: A.clientY,
5588
5685
  onClose() {
5589
- _(), G(), U(W, !0, "safe-polygon");
5686
+ _(), G(), U(A, !0, "safe-polygon");
5590
5687
  }
5591
5688
  }));
5592
- const Pe = S.current;
5593
- F.addEventListener("mousemove", Pe), B.current = () => {
5594
- F.removeEventListener("mousemove", Pe);
5689
+ const Le = T.current;
5690
+ F.addEventListener("mousemove", Le), B.current = () => {
5691
+ F.removeEventListener("mousemove", Le);
5595
5692
  };
5596
5693
  return;
5597
5694
  }
5598
- (y.current === "touch" ? !Ie(i.floating, W.relatedTarget) : !0) && U(W);
5695
+ (y.current === "touch" ? !Ie(o.floating, A.relatedTarget) : !0) && U(A);
5599
5696
  }
5600
- function M(W) {
5601
- T() || o.current.floatingContext && (h.current == null || h.current(V(P({}, o.current.floatingContext), {
5697
+ function M(A) {
5698
+ S() || i.current.floatingContext && (h.current == null || h.current(V(L({}, i.current.floatingContext), {
5602
5699
  tree: f,
5603
- x: W.clientX,
5604
- y: W.clientY,
5700
+ x: A.clientX,
5701
+ y: A.clientY,
5605
5702
  onClose() {
5606
- _(), G(), U(W);
5703
+ _(), G(), U(A);
5607
5704
  }
5608
- }))(W));
5705
+ }))(A));
5609
5706
  }
5610
- if (X(i.domReference)) {
5707
+ if (X(o.domReference)) {
5611
5708
  var $;
5612
- const W = i.domReference;
5613
- return r && W.addEventListener("mouseleave", M), ($ = i.floating) == null || $.addEventListener("mouseleave", M), p && W.addEventListener("mousemove", k, {
5709
+ const A = o.domReference;
5710
+ return r && A.addEventListener("mouseleave", M), ($ = o.floating) == null || $.addEventListener("mouseleave", M), p && A.addEventListener("mousemove", z, {
5614
5711
  once: !0
5615
- }), W.addEventListener("mouseenter", k), W.addEventListener("mouseleave", z), () => {
5712
+ }), A.addEventListener("mouseenter", z), A.addEventListener("mouseleave", k), () => {
5616
5713
  var F;
5617
- r && W.removeEventListener("mouseleave", M), (F = i.floating) == null || F.removeEventListener("mouseleave", M), p && W.removeEventListener("mousemove", k), W.removeEventListener("mouseenter", k), W.removeEventListener("mouseleave", z);
5714
+ r && A.removeEventListener("mouseleave", M), (F = o.floating) == null || F.removeEventListener("mouseleave", M), p && A.removeEventListener("mousemove", z), A.removeEventListener("mouseenter", z), A.removeEventListener("mouseleave", k);
5618
5715
  };
5619
5716
  }
5620
- }, [i, l, e, d, g, p, U, G, _, n, r, x, f, w, h, o]), fe(() => {
5621
- var T;
5622
- if (l && r && (T = h.current) != null && T.__options.blockPointerEvents && J()) {
5623
- const z = Ee(i.floating).body;
5624
- z.setAttribute(Ir, ""), z.style.pointerEvents = "none", N.current = !0;
5625
- const M = i.floating;
5626
- if (X(i.domReference) && M) {
5627
- var k;
5628
- const $ = i.domReference, W = f == null || (k = f.nodesRef.current.find((F) => F.id === m)) == null || (k = k.context) == null ? void 0 : k.elements.floating;
5629
- return W && (W.style.pointerEvents = ""), $.style.pointerEvents = "auto", M.style.pointerEvents = "auto", () => {
5717
+ }, [o, l, e, d, g, p, U, G, _, n, r, x, f, w, h, i]), fe(() => {
5718
+ var S;
5719
+ if (l && r && (S = h.current) != null && S.__options.blockPointerEvents && J()) {
5720
+ const k = Ee(o.floating).body;
5721
+ k.setAttribute(Ir, ""), k.style.pointerEvents = "none", N.current = !0;
5722
+ const M = o.floating;
5723
+ if (X(o.domReference) && M) {
5724
+ var z;
5725
+ const $ = o.domReference, A = f == null || (z = f.nodesRef.current.find((F) => F.id === m)) == null || (z = z.context) == null ? void 0 : z.elements.floating;
5726
+ return A && (A.style.pointerEvents = ""), $.style.pointerEvents = "auto", M.style.pointerEvents = "auto", () => {
5630
5727
  $.style.pointerEvents = "", M.style.pointerEvents = "";
5631
5728
  };
5632
5729
  }
5633
5730
  }
5634
- }, [l, r, m, i, f, h, J]), fe(() => {
5731
+ }, [l, r, m, o, f, h, J]), fe(() => {
5635
5732
  r || (y.current = void 0, G(), _());
5636
5733
  }, [r, G, _]), v.useEffect(() => () => {
5637
- G(), clearTimeout(E.current), clearTimeout(L.current), _();
5638
- }, [l, i.domReference, G, _]);
5734
+ G(), clearTimeout(E.current), clearTimeout(P.current), _();
5735
+ }, [l, o.domReference, G, _]);
5639
5736
  const q = v.useMemo(() => {
5640
- function T(k) {
5641
- y.current = k.pointerType;
5737
+ function S(z) {
5738
+ y.current = z.pointerType;
5642
5739
  }
5643
5740
  return {
5644
- onPointerDown: T,
5645
- onPointerEnter: T,
5646
- onMouseMove(k) {
5741
+ onPointerDown: S,
5742
+ onPointerEnter: S,
5743
+ onMouseMove(z) {
5647
5744
  const {
5648
- nativeEvent: z
5649
- } = k;
5745
+ nativeEvent: k
5746
+ } = z;
5650
5747
  function M() {
5651
- !H.current && !x.current && n(!0, z, "hover");
5748
+ !H.current && !x.current && n(!0, k, "hover");
5652
5749
  }
5653
- d && !Ke(y.current) || r || g === 0 || (clearTimeout(L.current), y.current === "touch" ? M() : L.current = window.setTimeout(M, g));
5750
+ d && !Ke(y.current) || r || g === 0 || (clearTimeout(P.current), y.current === "touch" ? M() : P.current = window.setTimeout(M, g));
5654
5751
  }
5655
5752
  };
5656
- }, [d, n, r, x, g]), A = v.useMemo(() => ({
5753
+ }, [d, n, r, x, g]), W = v.useMemo(() => ({
5657
5754
  onMouseEnter() {
5658
5755
  clearTimeout(E.current);
5659
5756
  },
5660
- onMouseLeave(T) {
5661
- U(T.nativeEvent, !1);
5757
+ onMouseLeave(S) {
5758
+ U(S.nativeEvent, !1);
5662
5759
  }
5663
5760
  }), [U]);
5664
5761
  return v.useMemo(() => l ? {
5665
5762
  reference: q,
5666
- floating: A
5667
- } : {}, [l, q, A]);
5763
+ floating: W
5764
+ } : {}, [l, q, W]);
5668
5765
  }
5669
- function At(e, t) {
5670
- let r = e.filter((o) => {
5766
+ function Wt(e, t) {
5767
+ let r = e.filter((i) => {
5671
5768
  var a;
5672
- return o.parentId === t && ((a = o.context) == null ? void 0 : a.open);
5769
+ return i.parentId === t && ((a = i.context) == null ? void 0 : a.open);
5673
5770
  }), n = r;
5674
5771
  for (; n.length; )
5675
- n = e.filter((o) => {
5772
+ n = e.filter((i) => {
5676
5773
  var a;
5677
- return (a = n) == null ? void 0 : a.some((i) => {
5774
+ return (a = n) == null ? void 0 : a.some((o) => {
5678
5775
  var l;
5679
- return o.parentId === i.id && ((l = o.context) == null ? void 0 : l.open);
5776
+ return i.parentId === o.id && ((l = i.context) == null ? void 0 : l.open);
5680
5777
  });
5681
5778
  }), r = r.concat(n);
5682
5779
  return r;
5683
5780
  }
5684
- const Pn = () => ({
5781
+ const Ln = () => ({
5685
5782
  getShadowRoot: !0,
5686
5783
  displayCheck: (
5687
5784
  // JSDOM does not support the `tabbable` library. To solve this we can
@@ -5690,28 +5787,28 @@ const Pn = () => ({
5690
5787
  typeof ResizeObserver == "function" && ResizeObserver.toString().includes("[native code]") ? "full" : "none"
5691
5788
  )
5692
5789
  });
5693
- function Ln(e, t) {
5694
- const r = wn(e, Pn());
5790
+ function Pn(e, t) {
5791
+ const r = wn(e, Ln());
5695
5792
  t === "prev" && r.reverse();
5696
5793
  const n = r.indexOf(Vt(Ee(e)));
5697
5794
  return r.slice(n + 1)[0];
5698
5795
  }
5699
5796
  function Ca() {
5700
- return Ln(document.body, "next");
5797
+ return Pn(document.body, "next");
5701
5798
  }
5702
- function ka() {
5703
- return Ln(document.body, "prev");
5799
+ function za() {
5800
+ return Pn(document.body, "prev");
5704
5801
  }
5705
- function Wt(e, t) {
5802
+ function At(e, t) {
5706
5803
  const r = t || e.currentTarget, n = e.relatedTarget;
5707
5804
  return !n || !Ie(r, n);
5708
5805
  }
5709
- function za(e) {
5710
- wn(e, Pn()).forEach((r) => {
5806
+ function ka(e) {
5807
+ wn(e, Ln()).forEach((r) => {
5711
5808
  r.dataset.tabindex = r.getAttribute("tabindex") || "", r.setAttribute("tabindex", "-1");
5712
5809
  });
5713
5810
  }
5714
- function Pa(e) {
5811
+ function La(e) {
5715
5812
  e.querySelectorAll("[data-tabindex]").forEach((r) => {
5716
5813
  const n = r.dataset.tabindex;
5717
5814
  delete r.dataset.tabindex, n ? r.setAttribute("tabindex", n) : r.removeAttribute("tabindex");
@@ -5730,13 +5827,13 @@ const Mn = {
5730
5827
  top: 0,
5731
5828
  left: 0
5732
5829
  };
5733
- let La;
5830
+ let Pa;
5734
5831
  function Br(e) {
5735
- e.key === "Tab" && (e.target, clearTimeout(La));
5832
+ e.key === "Tab" && (e.target, clearTimeout(Pa));
5736
5833
  }
5737
5834
  const Dr = /* @__PURE__ */ v.forwardRef(function(t, r) {
5738
- const [n, o] = v.useState();
5739
- fe(() => (fn() && o("button"), document.addEventListener("keydown", Br), () => {
5835
+ const [n, i] = v.useState();
5836
+ fe(() => (fn() && i("button"), document.addEventListener("keydown", Br), () => {
5740
5837
  document.removeEventListener("keydown", Br);
5741
5838
  }), []);
5742
5839
  const a = {
@@ -5755,7 +5852,7 @@ function Ma(e) {
5755
5852
  const {
5756
5853
  id: t,
5757
5854
  root: r
5758
- } = e, n = tr(), o = _a(), [a, i] = v.useState(null), l = v.useRef(null);
5855
+ } = e, n = tr(), i = _a(), [a, o] = v.useState(null), l = v.useRef(null);
5759
5856
  return fe(() => () => {
5760
5857
  a == null || a.remove(), queueMicrotask(() => {
5761
5858
  l.current = null;
@@ -5765,61 +5862,61 @@ function Ma(e) {
5765
5862
  const c = t ? document.getElementById(t) : null;
5766
5863
  if (!c) return;
5767
5864
  const u = document.createElement("div");
5768
- u.id = n, u.setAttribute(Nr, ""), c.appendChild(u), l.current = u, i(u);
5865
+ u.id = n, u.setAttribute(Nr, ""), c.appendChild(u), l.current = u, o(u);
5769
5866
  }, [t, n]), fe(() => {
5770
5867
  if (!n || l.current) return;
5771
- let c = r || (o == null ? void 0 : o.portalNode);
5868
+ let c = r || (i == null ? void 0 : i.portalNode);
5772
5869
  c && !X(c) && (c = c.current), c = c || document.body;
5773
5870
  let u = null;
5774
5871
  t && (u = document.createElement("div"), u.id = t, c.appendChild(u));
5775
5872
  const d = document.createElement("div");
5776
- d.id = n, d.setAttribute(Nr, ""), c = u || c, c.appendChild(d), l.current = d, i(d);
5777
- }, [t, r, n, o]), a;
5873
+ d.id = n, d.setAttribute(Nr, ""), c = u || c, c.appendChild(d), l.current = d, o(d);
5874
+ }, [t, r, n, i]), a;
5778
5875
  }
5779
5876
  function Ha(e) {
5780
5877
  const {
5781
5878
  children: t,
5782
5879
  id: r,
5783
5880
  root: n = null,
5784
- preserveTabOrder: o = !0
5881
+ preserveTabOrder: i = !0
5785
5882
  } = e, a = Ma({
5786
5883
  id: r,
5787
5884
  root: n
5788
- }), [i, l] = v.useState(null), c = v.useRef(null), u = v.useRef(null), d = v.useRef(null), g = v.useRef(null), p = (
5885
+ }), [o, l] = v.useState(null), c = v.useRef(null), u = v.useRef(null), d = v.useRef(null), g = v.useRef(null), p = (
5789
5886
  // The FocusManager and therefore floating element are currently open/
5790
5887
  // rendered.
5791
- !!i && // Guards are only for non-modal focus management.
5792
- !i.modal && // Don't render if unmount is transitioning.
5793
- i.open && o && !!(n || a)
5888
+ !!o && // Guards are only for non-modal focus management.
5889
+ !o.modal && // Don't render if unmount is transitioning.
5890
+ o.open && i && !!(n || a)
5794
5891
  );
5795
5892
  return v.useEffect(() => {
5796
- if (!a || !o || i != null && i.modal)
5893
+ if (!a || !i || o != null && o.modal)
5797
5894
  return;
5798
5895
  function f(m) {
5799
- a && Wt(m) && (m.type === "focusin" ? Pa : za)(a);
5896
+ a && At(m) && (m.type === "focusin" ? La : ka)(a);
5800
5897
  }
5801
5898
  return a.addEventListener("focusin", f, !0), a.addEventListener("focusout", f, !0), () => {
5802
5899
  a.removeEventListener("focusin", f, !0), a.removeEventListener("focusout", f, !0);
5803
5900
  };
5804
- }, [a, o, i == null ? void 0 : i.modal]), /* @__PURE__ */ v.createElement(Hn.Provider, {
5901
+ }, [a, i, o == null ? void 0 : o.modal]), /* @__PURE__ */ v.createElement(Hn.Provider, {
5805
5902
  value: v.useMemo(() => ({
5806
- preserveTabOrder: o,
5903
+ preserveTabOrder: i,
5807
5904
  beforeOutsideRef: c,
5808
5905
  afterOutsideRef: u,
5809
5906
  beforeInsideRef: d,
5810
5907
  afterInsideRef: g,
5811
5908
  portalNode: a,
5812
5909
  setFocusManagerState: l
5813
- }), [o, a])
5910
+ }), [i, a])
5814
5911
  }, p && a && /* @__PURE__ */ v.createElement(Dr, {
5815
5912
  "data-type": "outside",
5816
5913
  ref: c,
5817
5914
  onFocus: (f) => {
5818
- if (Wt(f, a)) {
5915
+ if (At(f, a)) {
5819
5916
  var m;
5820
5917
  (m = d.current) == null || m.focus();
5821
5918
  } else {
5822
- const h = ka() || (i == null ? void 0 : i.refs.domReference.current);
5919
+ const h = za() || (o == null ? void 0 : o.refs.domReference.current);
5823
5920
  h == null || h.focus();
5824
5921
  }
5825
5922
  }
@@ -5830,12 +5927,12 @@ function Ha(e) {
5830
5927
  "data-type": "outside",
5831
5928
  ref: u,
5832
5929
  onFocus: (f) => {
5833
- if (Wt(f, a)) {
5930
+ if (At(f, a)) {
5834
5931
  var m;
5835
5932
  (m = g.current) == null || m.focus();
5836
5933
  } else {
5837
- const h = Ca() || (i == null ? void 0 : i.refs.domReference.current);
5838
- h == null || h.focus(), i != null && i.closeOnFocusOut && (i == null || i.onOpenChange(!1, f.nativeEvent));
5934
+ const h = Ca() || (o == null ? void 0 : o.refs.domReference.current);
5935
+ h == null || h.focus(), o != null && o.closeOnFocusOut && (o == null || o.onOpenChange(!1, f.nativeEvent));
5839
5936
  }
5840
5937
  }
5841
5938
  }));
@@ -5847,17 +5944,17 @@ function $r(e) {
5847
5944
  function Vr(e) {
5848
5945
  return gn(e);
5849
5946
  }
5850
- function Aa(e, t) {
5947
+ function Wa(e, t) {
5851
5948
  t === void 0 && (t = {});
5852
5949
  const {
5853
5950
  open: r,
5854
5951
  onOpenChange: n,
5855
- dataRef: o,
5952
+ dataRef: i,
5856
5953
  elements: {
5857
5954
  domReference: a
5858
5955
  }
5859
5956
  } = e, {
5860
- enabled: i = !0,
5957
+ enabled: o = !0,
5861
5958
  event: l = "click",
5862
5959
  toggle: c = !0,
5863
5960
  ignoreMouse: u = !1,
@@ -5868,7 +5965,7 @@ function Aa(e, t) {
5868
5965
  },
5869
5966
  onMouseDown(m) {
5870
5967
  const h = g.current;
5871
- m.button === 0 && l !== "click" && (Ke(h, !0) && u || (r && c && (!o.current.openEvent || o.current.openEvent.type === "mousedown") ? n(!1, m.nativeEvent, "click") : (m.preventDefault(), n(!0, m.nativeEvent, "click"))));
5968
+ m.button === 0 && l !== "click" && (Ke(h, !0) && u || (r && c && (!i.current.openEvent || i.current.openEvent.type === "mousedown") ? n(!1, m.nativeEvent, "click") : (m.preventDefault(), n(!0, m.nativeEvent, "click"))));
5872
5969
  },
5873
5970
  onClick(m) {
5874
5971
  const h = g.current;
@@ -5876,7 +5973,7 @@ function Aa(e, t) {
5876
5973
  g.current = void 0;
5877
5974
  return;
5878
5975
  }
5879
- Ke(h, !0) && u || (r && c && (!o.current.openEvent || o.current.openEvent.type === "click") ? n(!1, m.nativeEvent, "click") : n(!0, m.nativeEvent, "click"));
5976
+ Ke(h, !0) && u || (r && c && (!i.current.openEvent || i.current.openEvent.type === "click") ? n(!1, m.nativeEvent, "click") : n(!0, m.nativeEvent, "click"));
5880
5977
  },
5881
5978
  onKeyDown(m) {
5882
5979
  g.current = void 0, !(m.defaultPrevented || !d || $r(m)) && (m.key === " " && !Vr(a) && (m.preventDefault(), p.current = !0), m.key === "Enter" && n(!(r && c), m.nativeEvent, "click"));
@@ -5884,12 +5981,12 @@ function Aa(e, t) {
5884
5981
  onKeyUp(m) {
5885
5982
  m.defaultPrevented || !d || $r(m) || Vr(a) || m.key === " " && p.current && (p.current = !1, n(!(r && c), m.nativeEvent, "click"));
5886
5983
  }
5887
- }), [o, a, l, u, d, n, r, c]);
5888
- return v.useMemo(() => i ? {
5984
+ }), [i, a, l, u, d, n, r, c]);
5985
+ return v.useMemo(() => o ? {
5889
5986
  reference: f
5890
- } : {}, [i, f]);
5987
+ } : {}, [o, f]);
5891
5988
  }
5892
- const Wa = {
5989
+ const Aa = {
5893
5990
  pointerdown: "onPointerDown",
5894
5991
  mousedown: "onMouseDown",
5895
5992
  click: "onClick"
@@ -5909,10 +6006,10 @@ function ja(e, t) {
5909
6006
  const {
5910
6007
  open: r,
5911
6008
  onOpenChange: n,
5912
- elements: o,
6009
+ elements: i,
5913
6010
  dataRef: a
5914
6011
  } = e, {
5915
- enabled: i = !0,
6012
+ enabled: o = !0,
5916
6013
  escapeKey: l = !0,
5917
6014
  outsidePress: c = !0,
5918
6015
  outsidePressEvent: u = "pointerdown",
@@ -5922,43 +6019,43 @@ function ja(e, t) {
5922
6019
  bubbles: f,
5923
6020
  capture: m
5924
6021
  } = t, h = nr(), w = Re(typeof c == "function" ? c : () => !1), x = typeof c == "function" ? w : c, y = v.useRef(!1), E = v.useRef(!1), {
5925
- escapeKey: S,
5926
- outsidePress: L
6022
+ escapeKey: T,
6023
+ outsidePress: P
5927
6024
  } = Gr(f), {
5928
6025
  escapeKey: H,
5929
6026
  outsidePress: N
5930
- } = Gr(m), B = Re((A) => {
5931
- var T;
5932
- if (!r || !i || !l || A.key !== "Escape")
6027
+ } = Gr(m), B = Re((W) => {
6028
+ var S;
6029
+ if (!r || !o || !l || W.key !== "Escape")
5933
6030
  return;
5934
- const k = (T = a.current.floatingContext) == null ? void 0 : T.nodeId, z = h ? At(h.nodesRef.current, k) : [];
5935
- if (!S && (A.stopPropagation(), z.length > 0)) {
6031
+ const z = (S = a.current.floatingContext) == null ? void 0 : S.nodeId, k = h ? Wt(h.nodesRef.current, z) : [];
6032
+ if (!T && (W.stopPropagation(), k.length > 0)) {
5936
6033
  let M = !0;
5937
- if (z.forEach(($) => {
5938
- var W;
5939
- if ((W = $.context) != null && W.open && !$.context.dataRef.current.__escapeKeyBubbles) {
6034
+ if (k.forEach(($) => {
6035
+ var A;
6036
+ if ((A = $.context) != null && A.open && !$.context.dataRef.current.__escapeKeyBubbles) {
5940
6037
  M = !1;
5941
6038
  return;
5942
6039
  }
5943
6040
  }), !M)
5944
6041
  return;
5945
6042
  }
5946
- n(!1, ui(A) ? A.nativeEvent : A, "escape-key");
5947
- }), J = Re((A) => {
5948
- var T;
5949
- const k = () => {
5950
- var z;
5951
- B(A), (z = We(A)) == null || z.removeEventListener("keydown", k);
6043
+ n(!1, co(W) ? W.nativeEvent : W, "escape-key");
6044
+ }), J = Re((W) => {
6045
+ var S;
6046
+ const z = () => {
6047
+ var k;
6048
+ B(W), (k = Ae(W)) == null || k.removeEventListener("keydown", z);
5952
6049
  };
5953
- (T = We(A)) == null || T.addEventListener("keydown", k);
5954
- }), U = Re((A) => {
5955
- var T;
5956
- const k = y.current;
6050
+ (S = Ae(W)) == null || S.addEventListener("keydown", z);
6051
+ }), U = Re((W) => {
6052
+ var S;
6053
+ const z = y.current;
5957
6054
  y.current = !1;
5958
- const z = E.current;
5959
- if (E.current = !1, u === "click" && z || k || typeof x == "function" && !x(A))
6055
+ const k = E.current;
6056
+ if (E.current = !1, u === "click" && k || z || typeof x == "function" && !x(W))
5960
6057
  return;
5961
- const M = We(A), $ = "[" + tt("inert") + "]", W = Ee(o.floating).querySelectorAll($);
6058
+ const M = Ae(W), $ = "[" + tt("inert") + "]", A = Ee(i.floating).querySelectorAll($);
5962
6059
  let F = X(M) ? M : null;
5963
6060
  for (; F && !Ce(F); ) {
5964
6061
  const re = ve(F);
@@ -5966,24 +6063,24 @@ function ja(e, t) {
5966
6063
  break;
5967
6064
  F = re;
5968
6065
  }
5969
- if (W.length && X(M) && !di(M) && // Clicked on a direct ancestor (e.g. FloatingOverlay).
5970
- !Ie(M, o.floating) && // If the target root element contains none of the markers, then the
6066
+ if (A.length && X(M) && !uo(M) && // Clicked on a direct ancestor (e.g. FloatingOverlay).
6067
+ !Ie(M, i.floating) && // If the target root element contains none of the markers, then the
5971
6068
  // element was injected after the floating element rendered.
5972
- Array.from(W).every((re) => !Ie(F, re)))
6069
+ Array.from(A).every((re) => !Ie(F, re)))
5973
6070
  return;
5974
6071
  if (ae(M) && q) {
5975
6072
  const re = M.clientWidth > 0 && M.scrollWidth > M.clientWidth, se = M.clientHeight > 0 && M.scrollHeight > M.clientHeight;
5976
- let ge = se && A.offsetX > M.clientWidth;
5977
- if (se && de(M).direction === "rtl" && (ge = A.offsetX <= M.offsetWidth - M.clientWidth), ge || re && A.offsetY > M.clientHeight)
6073
+ let ge = se && W.offsetX > M.clientWidth;
6074
+ if (se && de(M).direction === "rtl" && (ge = W.offsetX <= M.offsetWidth - M.clientWidth), ge || re && W.offsetY > M.clientHeight)
5978
6075
  return;
5979
6076
  }
5980
- const xe = (T = a.current.floatingContext) == null ? void 0 : T.nodeId, Pe = h && At(h.nodesRef.current, xe).some((re) => {
6077
+ const xe = (S = a.current.floatingContext) == null ? void 0 : S.nodeId, Le = h && Wt(h.nodesRef.current, xe).some((re) => {
5981
6078
  var se;
5982
- return Lt(A, (se = re.context) == null ? void 0 : se.elements.floating);
6079
+ return Pt(W, (se = re.context) == null ? void 0 : se.elements.floating);
5983
6080
  });
5984
- if (Lt(A, o.floating) || Lt(A, o.domReference) || Pe)
6081
+ if (Pt(W, i.floating) || Pt(W, i.domReference) || Le)
5985
6082
  return;
5986
- const rt = h ? At(h.nodesRef.current, xe) : [];
6083
+ const rt = h ? Wt(h.nodesRef.current, xe) : [];
5987
6084
  if (rt.length > 0) {
5988
6085
  let re = !0;
5989
6086
  if (rt.forEach((se) => {
@@ -5995,44 +6092,44 @@ function ja(e, t) {
5995
6092
  }), !re)
5996
6093
  return;
5997
6094
  }
5998
- n(!1, A, "outside-press");
5999
- }), G = Re((A) => {
6000
- var T;
6001
- const k = () => {
6002
- var z;
6003
- U(A), (z = We(A)) == null || z.removeEventListener(u, k);
6095
+ n(!1, W, "outside-press");
6096
+ }), G = Re((W) => {
6097
+ var S;
6098
+ const z = () => {
6099
+ var k;
6100
+ U(W), (k = Ae(W)) == null || k.removeEventListener(u, z);
6004
6101
  };
6005
- (T = We(A)) == null || T.addEventListener(u, k);
6102
+ (S = Ae(W)) == null || S.addEventListener(u, z);
6006
6103
  });
6007
6104
  v.useEffect(() => {
6008
- if (!r || !i)
6105
+ if (!r || !o)
6009
6106
  return;
6010
- a.current.__escapeKeyBubbles = S, a.current.__outsidePressBubbles = L;
6011
- function A(z) {
6012
- n(!1, z, "ancestor-scroll");
6013
- }
6014
- const T = Ee(o.floating);
6015
- l && T.addEventListener("keydown", H ? J : B, H), x && T.addEventListener(u, N ? G : U, N);
6016
- let k = [];
6017
- return p && (X(o.domReference) && (k = Te(o.domReference)), X(o.floating) && (k = k.concat(Te(o.floating))), !X(o.reference) && o.reference && o.reference.contextElement && (k = k.concat(Te(o.reference.contextElement)))), k = k.filter((z) => {
6107
+ a.current.__escapeKeyBubbles = T, a.current.__outsidePressBubbles = P;
6108
+ function W(k) {
6109
+ n(!1, k, "ancestor-scroll");
6110
+ }
6111
+ const S = Ee(i.floating);
6112
+ l && S.addEventListener("keydown", H ? J : B, H), x && S.addEventListener(u, N ? G : U, N);
6113
+ let z = [];
6114
+ return p && (X(i.domReference) && (z = Se(i.domReference)), X(i.floating) && (z = z.concat(Se(i.floating))), !X(i.reference) && i.reference && i.reference.contextElement && (z = z.concat(Se(i.reference.contextElement)))), z = z.filter((k) => {
6018
6115
  var M;
6019
- return z !== ((M = T.defaultView) == null ? void 0 : M.visualViewport);
6020
- }), k.forEach((z) => {
6021
- z.addEventListener("scroll", A, {
6116
+ return k !== ((M = S.defaultView) == null ? void 0 : M.visualViewport);
6117
+ }), z.forEach((k) => {
6118
+ k.addEventListener("scroll", W, {
6022
6119
  passive: !0
6023
6120
  });
6024
6121
  }), () => {
6025
- l && T.removeEventListener("keydown", H ? J : B, H), x && T.removeEventListener(u, N ? G : U, N), k.forEach((z) => {
6026
- z.removeEventListener("scroll", A);
6122
+ l && S.removeEventListener("keydown", H ? J : B, H), x && S.removeEventListener(u, N ? G : U, N), z.forEach((k) => {
6123
+ k.removeEventListener("scroll", W);
6027
6124
  });
6028
6125
  };
6029
- }, [a, o, l, x, u, r, n, p, i, S, L, B, H, J, U, N, G]), v.useEffect(() => {
6126
+ }, [a, i, l, x, u, r, n, p, o, T, P, B, H, J, U, N, G]), v.useEffect(() => {
6030
6127
  y.current = !1;
6031
6128
  }, [x, u]);
6032
6129
  const _ = v.useMemo(() => ({
6033
6130
  onKeyDown: B,
6034
- [Wa[g]]: (A) => {
6035
- d && n(!1, A.nativeEvent, "reference-press");
6131
+ [Aa[g]]: (W) => {
6132
+ d && n(!1, W.nativeEvent, "reference-press");
6036
6133
  }
6037
6134
  }), [B, n, d, g]), q = v.useMemo(() => ({
6038
6135
  onKeyDown: B,
@@ -6046,23 +6143,23 @@ function ja(e, t) {
6046
6143
  y.current = !0;
6047
6144
  }
6048
6145
  }), [B, u]);
6049
- return v.useMemo(() => i ? {
6146
+ return v.useMemo(() => o ? {
6050
6147
  reference: _,
6051
6148
  floating: q
6052
- } : {}, [i, _, q]);
6149
+ } : {}, [o, _, q]);
6053
6150
  }
6054
6151
  function Fa(e) {
6055
6152
  const {
6056
6153
  open: t = !1,
6057
6154
  onOpenChange: r,
6058
6155
  elements: n
6059
- } = e, o = tr(), a = v.useRef({}), [i] = v.useState(() => Ea()), l = rr() != null;
6156
+ } = e, i = tr(), a = v.useRef({}), [o] = v.useState(() => Ea()), l = rr() != null;
6060
6157
  if (process.env.NODE_ENV !== "production") {
6061
6158
  const f = n.reference;
6062
6159
  f && !X(f) && Ra("Cannot pass a virtual element to the `elements.reference` option,", "as it must be a real DOM element. Use `refs.setPositionReference()`", "instead.");
6063
6160
  }
6064
6161
  const [c, u] = v.useState(n.reference), d = Re((f, m, h) => {
6065
- a.current.openEvent = f ? m : void 0, i.emit("openchange", {
6162
+ a.current.openEvent = f ? m : void 0, o.emit("openchange", {
6066
6163
  open: f,
6067
6164
  event: m,
6068
6165
  reason: h,
@@ -6080,55 +6177,55 @@ function Fa(e) {
6080
6177
  open: t,
6081
6178
  onOpenChange: d,
6082
6179
  elements: p,
6083
- events: i,
6084
- floatingId: o,
6180
+ events: o,
6181
+ floatingId: i,
6085
6182
  refs: g
6086
- }), [t, d, p, i, o, g]);
6183
+ }), [t, d, p, o, i, g]);
6087
6184
  }
6088
6185
  function Ia(e) {
6089
6186
  e === void 0 && (e = {});
6090
6187
  const {
6091
6188
  nodeId: t
6092
- } = e, r = Fa(V(P({}, e), {
6093
- elements: P({
6189
+ } = e, r = Fa(V(L({}, e), {
6190
+ elements: L({
6094
6191
  reference: null,
6095
6192
  floating: null
6096
6193
  }, e.elements)
6097
- })), n = e.rootContext || r, o = n.elements, [a, i] = v.useState(null), [l, c] = v.useState(null), d = (o == null ? void 0 : o.reference) || a, g = v.useRef(null), p = nr();
6194
+ })), n = e.rootContext || r, i = n.elements, [a, o] = v.useState(null), [l, c] = v.useState(null), d = (i == null ? void 0 : i.reference) || a, g = v.useRef(null), p = nr();
6098
6195
  fe(() => {
6099
6196
  d && (g.current = d);
6100
6197
  }, [d]);
6101
- const f = fa(V(P({}, e), {
6102
- elements: P(P({}, o), l && {
6198
+ const f = fa(V(L({}, e), {
6199
+ elements: L(L({}, i), l && {
6103
6200
  reference: l
6104
6201
  })
6105
6202
  })), m = v.useCallback((E) => {
6106
- const S = X(E) ? {
6203
+ const T = X(E) ? {
6107
6204
  getBoundingClientRect: () => E.getBoundingClientRect(),
6108
6205
  contextElement: E
6109
6206
  } : E;
6110
- c(S), f.refs.setReference(S);
6207
+ c(T), f.refs.setReference(T);
6111
6208
  }, [f.refs]), h = v.useCallback((E) => {
6112
- (X(E) || E === null) && (g.current = E, i(E)), (X(f.refs.reference.current) || f.refs.reference.current === null || // Don't allow setting virtual elements using the old technique back to
6209
+ (X(E) || E === null) && (g.current = E, o(E)), (X(f.refs.reference.current) || f.refs.reference.current === null || // Don't allow setting virtual elements using the old technique back to
6113
6210
  // `null` to support `positionReference` + an unstable `reference`
6114
6211
  // callback ref.
6115
6212
  E !== null && !X(E)) && f.refs.setReference(E);
6116
- }, [f.refs]), w = v.useMemo(() => V(P({}, f.refs), {
6213
+ }, [f.refs]), w = v.useMemo(() => V(L({}, f.refs), {
6117
6214
  setReference: h,
6118
6215
  setPositionReference: m,
6119
6216
  domReference: g
6120
- }), [f.refs, h, m]), x = v.useMemo(() => V(P({}, f.elements), {
6217
+ }), [f.refs, h, m]), x = v.useMemo(() => V(L({}, f.elements), {
6121
6218
  domReference: d
6122
- }), [f.elements, d]), y = v.useMemo(() => V(P(P({}, f), n), {
6219
+ }), [f.elements, d]), y = v.useMemo(() => V(L(L({}, f), n), {
6123
6220
  refs: w,
6124
6221
  elements: x,
6125
6222
  nodeId: t
6126
6223
  }), [f, w, x, t, n]);
6127
6224
  return fe(() => {
6128
6225
  n.dataRef.current.floatingContext = y;
6129
- const E = p == null ? void 0 : p.nodesRef.current.find((S) => S.id === t);
6226
+ const E = p == null ? void 0 : p.nodesRef.current.find((T) => T.id === t);
6130
6227
  E && (E.context = y);
6131
- }), v.useMemo(() => V(P({}, f), {
6228
+ }), v.useMemo(() => V(L({}, f), {
6132
6229
  context: y,
6133
6230
  refs: w,
6134
6231
  elements: x
@@ -6139,18 +6236,18 @@ function Ba(e, t) {
6139
6236
  const {
6140
6237
  open: r,
6141
6238
  onOpenChange: n,
6142
- events: o,
6239
+ events: i,
6143
6240
  dataRef: a,
6144
- elements: i
6241
+ elements: o
6145
6242
  } = e, {
6146
6243
  enabled: l = !0,
6147
6244
  visibleOnly: c = !0
6148
6245
  } = t, u = v.useRef(!1), d = v.useRef(), g = v.useRef(!0);
6149
6246
  v.useEffect(() => {
6150
6247
  if (!l) return;
6151
- const f = ie(i.domReference);
6248
+ const f = oe(o.domReference);
6152
6249
  function m() {
6153
- !r && ae(i.domReference) && i.domReference === Vt(Ee(i.domReference)) && (u.current = !0);
6250
+ !r && ae(o.domReference) && o.domReference === Vt(Ee(o.domReference)) && (u.current = !0);
6154
6251
  }
6155
6252
  function h() {
6156
6253
  g.current = !0;
@@ -6158,7 +6255,7 @@ function Ba(e, t) {
6158
6255
  return f.addEventListener("blur", m), f.addEventListener("keydown", h, !0), () => {
6159
6256
  f.removeEventListener("blur", m), f.removeEventListener("keydown", h, !0);
6160
6257
  };
6161
- }, [i.domReference, r, l]), v.useEffect(() => {
6258
+ }, [o.domReference, r, l]), v.useEffect(() => {
6162
6259
  if (!l) return;
6163
6260
  function f(m) {
6164
6261
  let {
@@ -6166,25 +6263,25 @@ function Ba(e, t) {
6166
6263
  } = m;
6167
6264
  (h === "reference-press" || h === "escape-key") && (u.current = !0);
6168
6265
  }
6169
- return o.on("openchange", f), () => {
6170
- o.off("openchange", f);
6266
+ return i.on("openchange", f), () => {
6267
+ i.off("openchange", f);
6171
6268
  };
6172
- }, [o, l]), v.useEffect(() => () => {
6269
+ }, [i, l]), v.useEffect(() => () => {
6173
6270
  clearTimeout(d.current);
6174
6271
  }, []);
6175
6272
  const p = v.useMemo(() => ({
6176
6273
  onPointerDown(f) {
6177
- li(f.nativeEvent) || (g.current = !1);
6274
+ ao(f.nativeEvent) || (g.current = !1);
6178
6275
  },
6179
6276
  onMouseLeave() {
6180
6277
  u.current = !1;
6181
6278
  },
6182
6279
  onFocus(f) {
6183
6280
  if (u.current) return;
6184
- const m = We(f.nativeEvent);
6281
+ const m = Ae(f.nativeEvent);
6185
6282
  if (c && X(m))
6186
6283
  try {
6187
- if (fn() && si()) throw Error();
6284
+ if (fn() && lo()) throw Error();
6188
6285
  if (!m.matches(":focus-visible")) return;
6189
6286
  } catch (h) {
6190
6287
  if (!g.current && !gn(m))
@@ -6197,37 +6294,37 @@ function Ba(e, t) {
6197
6294
  const m = f.relatedTarget, h = f.nativeEvent, w = X(m) && m.hasAttribute(tt("focus-guard")) && m.getAttribute("data-type") === "outside";
6198
6295
  d.current = window.setTimeout(() => {
6199
6296
  var x;
6200
- const y = Vt(i.domReference ? i.domReference.ownerDocument : document);
6201
- !m && y === i.domReference || Ie((x = a.current.floatingContext) == null ? void 0 : x.refs.floating.current, y) || Ie(i.domReference, y) || w || n(!1, h, "focus");
6297
+ const y = Vt(o.domReference ? o.domReference.ownerDocument : document);
6298
+ !m && y === o.domReference || Ie((x = a.current.floatingContext) == null ? void 0 : x.refs.floating.current, y) || Ie(o.domReference, y) || w || n(!1, h, "focus");
6202
6299
  });
6203
6300
  }
6204
- }), [a, i.domReference, n, c]);
6301
+ }), [a, o.domReference, n, c]);
6205
6302
  return v.useMemo(() => l ? {
6206
6303
  reference: p
6207
6304
  } : {}, [l, p]);
6208
6305
  }
6209
6306
  const Ot = "active", jt = "selected";
6210
6307
  function Ft(e, t, r) {
6211
- const n = /* @__PURE__ */ new Map(), o = r === "item";
6308
+ const n = /* @__PURE__ */ new Map(), i = r === "item";
6212
6309
  let a = e;
6213
- if (o && e) {
6214
- const i = e, {
6310
+ if (i && e) {
6311
+ const o = e, {
6215
6312
  [Ot]: l,
6216
6313
  [jt]: c
6217
- } = i;
6218
- a = me(i, [
6219
- kt(Ot),
6220
- kt(jt)
6314
+ } = o;
6315
+ a = me(o, [
6316
+ zt(Ot),
6317
+ zt(jt)
6221
6318
  ]);
6222
6319
  }
6223
- return P(P(P({}, r === "floating" && {
6320
+ return L(L(L({}, r === "floating" && {
6224
6321
  tabIndex: -1
6225
6322
  }), a), t.map((l) => {
6226
6323
  const c = l ? l[r] : null;
6227
6324
  return typeof c == "function" ? e ? c(e) : null : c;
6228
6325
  }).concat(e).reduce((l, c) => (c && Object.entries(c).forEach((u) => {
6229
6326
  let [d, g] = u;
6230
- if (!(o && [Ot, jt].includes(d)))
6327
+ if (!(i && [Ot, jt].includes(d)))
6231
6328
  if (d.indexOf("on") === 0) {
6232
6329
  if (n.has(d) || n.set(d, []), typeof g == "function") {
6233
6330
  var p;
@@ -6243,7 +6340,7 @@ function Ft(e, t, r) {
6243
6340
  }
6244
6341
  function Da(e) {
6245
6342
  e === void 0 && (e = []);
6246
- const t = e.map((l) => l == null ? void 0 : l.reference), r = e.map((l) => l == null ? void 0 : l.floating), n = e.map((l) => l == null ? void 0 : l.item), o = v.useCallback(
6343
+ const t = e.map((l) => l == null ? void 0 : l.reference), r = e.map((l) => l == null ? void 0 : l.floating), n = e.map((l) => l == null ? void 0 : l.item), i = v.useCallback(
6247
6344
  (l) => Ft(l, e, "reference"),
6248
6345
  // eslint-disable-next-line react-hooks/exhaustive-deps
6249
6346
  t
@@ -6251,16 +6348,16 @@ function Da(e) {
6251
6348
  (l) => Ft(l, e, "floating"),
6252
6349
  // eslint-disable-next-line react-hooks/exhaustive-deps
6253
6350
  r
6254
- ), i = v.useCallback(
6351
+ ), o = v.useCallback(
6255
6352
  (l) => Ft(l, e, "item"),
6256
6353
  // eslint-disable-next-line react-hooks/exhaustive-deps
6257
6354
  n
6258
6355
  );
6259
6356
  return v.useMemo(() => ({
6260
- getReferenceProps: o,
6357
+ getReferenceProps: i,
6261
6358
  getFloatingProps: a,
6262
- getItemProps: i
6263
- }), [o, a, i]);
6359
+ getItemProps: o
6360
+ }), [i, a, o]);
6264
6361
  }
6265
6362
  const Na = /* @__PURE__ */ new Map([["select", "listbox"], ["combobox", "listbox"], ["label", !1]]);
6266
6363
  function $a(e, t) {
@@ -6268,57 +6365,57 @@ function $a(e, t) {
6268
6365
  t === void 0 && (t = {});
6269
6366
  const {
6270
6367
  open: n,
6271
- floatingId: o
6368
+ floatingId: i
6272
6369
  } = e, {
6273
6370
  enabled: a = !0,
6274
- role: i = "dialog"
6275
- } = t, l = (r = Na.get(i)) != null ? r : i, c = tr(), d = rr() != null, g = v.useMemo(() => l === "tooltip" || i === "label" ? {
6276
- ["aria-" + (i === "label" ? "labelledby" : "describedby")]: n ? o : void 0
6277
- } : P(P(P(P(P({
6371
+ role: o = "dialog"
6372
+ } = t, l = (r = Na.get(o)) != null ? r : o, c = tr(), d = rr() != null, g = v.useMemo(() => l === "tooltip" || o === "label" ? {
6373
+ ["aria-" + (o === "label" ? "labelledby" : "describedby")]: n ? i : void 0
6374
+ } : L(L(L(L(L({
6278
6375
  "aria-expanded": n ? "true" : "false",
6279
6376
  "aria-haspopup": l === "alertdialog" ? "dialog" : l,
6280
- "aria-controls": n ? o : void 0
6377
+ "aria-controls": n ? i : void 0
6281
6378
  }, l === "listbox" && {
6282
6379
  role: "combobox"
6283
6380
  }), l === "menu" && {
6284
6381
  id: c
6285
6382
  }), l === "menu" && d && {
6286
6383
  role: "menuitem"
6287
- }), i === "select" && {
6384
+ }), o === "select" && {
6288
6385
  "aria-autocomplete": "none"
6289
- }), i === "combobox" && {
6386
+ }), o === "combobox" && {
6290
6387
  "aria-autocomplete": "list"
6291
- }), [l, o, d, n, c, i]), p = v.useMemo(() => {
6292
- const m = P({
6293
- id: o
6388
+ }), [l, i, d, n, c, o]), p = v.useMemo(() => {
6389
+ const m = L({
6390
+ id: i
6294
6391
  }, l && {
6295
6392
  role: l
6296
6393
  });
6297
- return l === "tooltip" || i === "label" ? m : P(P({}, m), l === "menu" && {
6394
+ return l === "tooltip" || o === "label" ? m : L(L({}, m), l === "menu" && {
6298
6395
  "aria-labelledby": c
6299
6396
  });
6300
- }, [l, o, c, i]), f = v.useCallback((m) => {
6397
+ }, [l, i, c, o]), f = v.useCallback((m) => {
6301
6398
  let {
6302
6399
  active: h,
6303
6400
  selected: w
6304
6401
  } = m;
6305
- const x = P({
6402
+ const x = L({
6306
6403
  role: "option"
6307
6404
  }, h && {
6308
- id: o + "-option"
6405
+ id: i + "-option"
6309
6406
  });
6310
- switch (i) {
6407
+ switch (o) {
6311
6408
  case "select":
6312
- return V(P({}, x), {
6409
+ return V(L({}, x), {
6313
6410
  "aria-selected": h && w
6314
6411
  });
6315
6412
  case "combobox":
6316
- return P(P({}, x), h && {
6413
+ return L(L({}, x), h && {
6317
6414
  "aria-selected": !0
6318
6415
  });
6319
6416
  }
6320
6417
  return {};
6321
- }, [o, i]);
6418
+ }, [i, o]);
6322
6419
  return v.useMemo(() => a ? {
6323
6420
  reference: g,
6324
6421
  floating: p,
@@ -6335,9 +6432,9 @@ const Va = {
6335
6432
  const m = e, {
6336
6433
  show: r,
6337
6434
  handleClose: n,
6338
- animation: o = "slideDown",
6435
+ animation: i = "slideDown",
6339
6436
  marginTop: a,
6340
- maxWidth: i,
6437
+ maxWidth: o,
6341
6438
  children: l,
6342
6439
  className: c,
6343
6440
  contentClassName: u,
@@ -6354,7 +6451,7 @@ const Va = {
6354
6451
  "contentClassName",
6355
6452
  "isDismissible",
6356
6453
  "overlayBlur"
6357
- ]), f = Va[o];
6454
+ ]), f = Va[i];
6358
6455
  if (Je(() => {
6359
6456
  const h = document.documentElement;
6360
6457
  return r ? h.classList.add("modal-animated-open") : h.classList.remove("modal-animated-open"), () => {
@@ -6363,10 +6460,10 @@ const Va = {
6363
6460
  }, [r]), r) {
6364
6461
  const h = {
6365
6462
  marginTop: a ? `${a}` : void 0,
6366
- maxWidth: i ? `${i}` : void 0
6463
+ maxWidth: o ? `${o}` : void 0
6367
6464
  }, w = /* @__PURE__ */ R.jsxs(
6368
6465
  "div",
6369
- V(P({
6466
+ V(L({
6370
6467
  ref: t,
6371
6468
  className: ct("modal-animated", r ? "show" : "hide", c)
6372
6469
  }, p), {
@@ -6374,7 +6471,7 @@ const Va = {
6374
6471
  /* @__PURE__ */ R.jsx(
6375
6472
  "div",
6376
6473
  {
6377
- className: oe(
6474
+ className: ie(
6378
6475
  "modal-animated-backdrop",
6379
6476
  // eslint-disable-next-line tailwind/no-hardcoded-colors -- TODO: use tailwind classes with design system tokens instead of hardcoded colors
6380
6477
  g && "ds-bg-[RGBA(255,255,255,0.24)] ds-backdrop-blur-[12px]"
@@ -6387,7 +6484,7 @@ const Va = {
6387
6484
  {
6388
6485
  className: ct(
6389
6486
  "modal-animated-content",
6390
- r ? o + "Open" : f + "Close",
6487
+ r ? i + "Open" : f + "Close",
6391
6488
  u
6392
6489
  ),
6393
6490
  style: h,
@@ -6399,36 +6496,36 @@ const Va = {
6399
6496
  ]
6400
6497
  })
6401
6498
  );
6402
- return bo(w, document.body);
6499
+ return vi(w, document.body);
6403
6500
  } else
6404
6501
  return null;
6405
6502
  });
6406
6503
  _n.displayName = "AnimatedModal";
6407
- const An = Number(
6504
+ const Wn = Number(
6408
6505
  ut.theme.screens["ds-tablet"].min.replace("px", "")
6409
6506
  ), Ga = Number(
6410
6507
  ut.theme.screens["ds-desktop"].min.replace("px", "")
6411
- ), Ur = (e) => e < An ? "mobile" : e < Ga ? "tablet" : "desktop", tl = () => {
6412
- const [e, t] = ue(document.documentElement.clientWidth), [r, n] = ue(document.documentElement.clientHeight), o = Ur(document.documentElement.clientWidth), [a, i] = ue(o), [l, c] = ue(o === "mobile"), [u, d] = ue(o === "tablet"), [g, p] = ue(o === "desktop");
6508
+ ), Ur = (e) => e < Wn ? "mobile" : e < Ga ? "tablet" : "desktop", tl = () => {
6509
+ const [e, t] = ue(document.documentElement.clientWidth), [r, n] = ue(document.documentElement.clientHeight), i = Ur(document.documentElement.clientWidth), [a, o] = ue(i), [l, c] = ue(i === "mobile"), [u, d] = ue(i === "tablet"), [g, p] = ue(i === "desktop");
6413
6510
  return Je(() => {
6414
6511
  const f = () => {
6415
6512
  t(document.documentElement.clientWidth), n(document.documentElement.clientHeight);
6416
6513
  const m = Ur(document.documentElement.clientWidth);
6417
- c(m === "mobile"), d(m === "tablet"), p(m === "desktop"), i(m);
6514
+ c(m === "mobile"), d(m === "tablet"), p(m === "desktop"), o(m);
6418
6515
  };
6419
6516
  return window.addEventListener("resize", f), f(), () => {
6420
6517
  window.removeEventListener("resize", f);
6421
6518
  };
6422
6519
  }, []), { documentWidth: e, documentHeight: r, screenSize: a, isMobile: l, isTablet: u, isDesktop: g };
6423
- }, Wn = Kt(
6424
- ({ label: e, isChecked: t, onSelectionChange: r, disabled: n, className: o, labelPosition: a = "right" }, i) => /* @__PURE__ */ R.jsxs(
6520
+ }, An = Kt(
6521
+ ({ label: e, isChecked: t, onSelectionChange: r, disabled: n, className: i, labelPosition: a = "right" }, o) => /* @__PURE__ */ R.jsxs(
6425
6522
  "label",
6426
6523
  {
6427
- className: oe(
6524
+ className: ie(
6428
6525
  "ds-flex ds-cursor-pointer ds-select-none ds-items-center ds-gap-2 ds-text-xSmallSubheadRegular ds-tablet:ds-text-xSmallSubheadRegular ds-desktop:ds-text-mediumSubHeadRegular",
6429
6526
  n && "ds-cursor-default",
6430
6527
  a === "left" && "ds-flex-row-reverse",
6431
- o
6528
+ i
6432
6529
  ),
6433
6530
  children: [
6434
6531
  /* @__PURE__ */ R.jsx(
@@ -6441,14 +6538,14 @@ const An = Number(
6441
6538
  checked: t,
6442
6539
  onChange: r,
6443
6540
  disabled: n,
6444
- ref: i,
6541
+ ref: o,
6445
6542
  onClick: (l) => l.stopPropagation()
6446
6543
  }
6447
6544
  ),
6448
6545
  /* @__PURE__ */ R.jsx(
6449
6546
  "div",
6450
6547
  {
6451
- className: oe(
6548
+ className: ie(
6452
6549
  "ds-relative ds-size-5 ds-flex-shrink-0 ds-rounded ds-border ds-border-Fills-tertiary ds-bg-Text-textPrimaryInverse ds-shadow-[inset_0_2px_2px_0_var(--fills-quaternary),inset_0_0_2px_0_var(--fills-quaternary)] after:ds-absolute after:ds-left-[7px] after:ds-top-[3px] after:ds-hidden after:ds-h-[10px] after:ds-w-[5px] after:ds-rotate-45 after:ds-border-b-[2px] after:ds-border-r-[2px] after:ds-border-Fills-inversePrimary after:ds-content-['']",
6453
6550
  t && "ds-bg-accentPrimary-100 after:ds-block"
6454
6551
  )
@@ -6459,7 +6556,7 @@ const An = Number(
6459
6556
  }
6460
6557
  )
6461
6558
  );
6462
- Wn.displayName = "Checkbox";
6559
+ An.displayName = "Checkbox";
6463
6560
  const qr = ({ children: e, size: t = "small" }) => /* @__PURE__ */ R.jsx(
6464
6561
  "div",
6465
6562
  {
@@ -6491,9 +6588,9 @@ const qr = ({ children: e, size: t = "small" }) => /* @__PURE__ */ R.jsx(
6491
6588
  disabled: t = !1,
6492
6589
  className: r,
6493
6590
  children: n,
6494
- startIcon: o,
6591
+ startIcon: i,
6495
6592
  selected: a,
6496
- endIcon: i,
6593
+ endIcon: o,
6497
6594
  trackingId: l,
6498
6595
  helperText: c,
6499
6596
  helpterTextClassName: u,
@@ -6511,10 +6608,10 @@ const qr = ({ children: e, size: t = "small" }) => /* @__PURE__ */ R.jsx(
6511
6608
  "helpterTextClassName",
6512
6609
  "buttonClassName"
6513
6610
  ]);
6514
- return /* @__PURE__ */ R.jsxs("div", { className: oe("ds-flex ds-flex-col ds-gap-1", r), children: [
6611
+ return /* @__PURE__ */ R.jsxs("div", { className: ie("ds-flex ds-flex-col ds-gap-1", r), children: [
6515
6612
  /* @__PURE__ */ R.jsxs(
6516
6613
  "button",
6517
- V(P({
6614
+ V(L({
6518
6615
  "data-tracking-id": l,
6519
6616
  ref: p,
6520
6617
  disabled: t,
@@ -6528,16 +6625,16 @@ const qr = ({ children: e, size: t = "small" }) => /* @__PURE__ */ R.jsx(
6528
6625
  )
6529
6626
  }, g), {
6530
6627
  children: [
6531
- o && /* @__PURE__ */ R.jsx(qr, { children: o }),
6628
+ i && /* @__PURE__ */ R.jsx(qr, { children: i }),
6532
6629
  n && /* @__PURE__ */ R.jsx("div", { children: n }),
6533
- i && /* @__PURE__ */ R.jsx(qr, { children: i })
6630
+ o && /* @__PURE__ */ R.jsx(qr, { children: o })
6534
6631
  ]
6535
6632
  })
6536
6633
  ),
6537
6634
  c && /* @__PURE__ */ R.jsx(
6538
6635
  "div",
6539
6636
  {
6540
- className: oe(
6637
+ className: ie(
6541
6638
  "ds-w-full ds-text-right ds-text-mediumFootnoteRegular",
6542
6639
  u
6543
6640
  ),
@@ -6553,10 +6650,10 @@ const Ya = Kt(
6553
6650
  const E = e, {
6554
6651
  value: r,
6555
6652
  options: n,
6556
- onSelectionChange: o = () => {
6653
+ onSelectionChange: i = () => {
6557
6654
  },
6558
6655
  isMultiSelect: a,
6559
- noDataError: i,
6656
+ noDataError: o,
6560
6657
  buttonMinWidth: l,
6561
6658
  buttonWidth: c,
6562
6659
  minSelectionError: u,
@@ -6577,50 +6674,50 @@ const Ya = Kt(
6577
6674
  Je(() => {
6578
6675
  r && r.length ? m(r) : m([]);
6579
6676
  }, [r]);
6580
- const x = (S, L) => {
6581
- L.currentTarget.blur();
6582
- const H = [...f], N = H.findIndex((B) => B.value === S.value);
6583
- N !== -1 ? H.length > 1 ? (H.splice(N, 1), w("")) : w(u) : (H.push(S), w("")), m(H), o(H);
6584
- }, y = (S, L) => {
6585
- L.currentTarget.blur();
6586
- const H = [S];
6587
- m(H), o(H);
6677
+ const x = (T, P) => {
6678
+ P.currentTarget.blur();
6679
+ const H = [...f], N = H.findIndex((B) => B.value === T.value);
6680
+ N !== -1 ? H.length > 1 ? (H.splice(N, 1), w("")) : w(u) : (H.push(T), w("")), m(H), i(H);
6681
+ }, y = (T, P) => {
6682
+ P.currentTarget.blur();
6683
+ const H = [T];
6684
+ m(H), i(H);
6588
6685
  };
6589
6686
  return /* @__PURE__ */ R.jsxs(
6590
6687
  "div",
6591
- V(P({
6688
+ V(L({
6592
6689
  ref: t
6593
6690
  }, p), {
6594
6691
  children: [
6595
6692
  /* @__PURE__ */ R.jsx(
6596
6693
  "div",
6597
6694
  {
6598
- className: oe("ds-flex ds-flex-wrap ds-items-center ds-gap-2", d),
6599
- children: n.length > 0 ? n.map((S, L) => S.type === "separator" ? /* @__PURE__ */ R.jsx(Fe.Fragment, { children: S.component ? S.component : /* @__PURE__ */ R.jsx("div", { className: "ds-h-full ds-min-h-[30px] ds-w-[1px] ds-bg-Fills-tertiary" }) }, `separator-${L}`) : /* @__PURE__ */ R.jsx(Fe.Fragment, { children: a ? /* @__PURE__ */ R.jsx(
6695
+ className: ie("ds-flex ds-flex-wrap ds-items-center ds-gap-2", d),
6696
+ children: n.length > 0 ? n.map((T, P) => T.type === "separator" ? /* @__PURE__ */ R.jsx(Fe.Fragment, { children: T.component ? T.component : /* @__PURE__ */ R.jsx("div", { className: "ds-h-full ds-min-h-[30px] ds-w-[1px] ds-bg-Fills-tertiary" }) }, `separator-${P}`) : /* @__PURE__ */ R.jsx(Fe.Fragment, { children: a ? /* @__PURE__ */ R.jsx(
6600
6697
  vt,
6601
6698
  {
6602
- selected: f.some((H) => H.value === S.value),
6603
- onClick: (H) => x(S, H),
6699
+ selected: f.some((H) => H.value === T.value),
6700
+ onClick: (H) => x(T, H),
6604
6701
  color: "secondary",
6605
6702
  style: { minWidth: l, width: c },
6606
6703
  className: g,
6607
- startIcon: S.startIcon,
6608
- endIcon: S.endIcon,
6609
- children: S.label
6704
+ startIcon: T.startIcon,
6705
+ endIcon: T.endIcon,
6706
+ children: T.label
6610
6707
  }
6611
6708
  ) : /* @__PURE__ */ R.jsx(
6612
6709
  vt,
6613
6710
  {
6614
- selected: f.some((H) => H.value === S.value),
6615
- onClick: (H) => y(S, H),
6711
+ selected: f.some((H) => H.value === T.value),
6712
+ onClick: (H) => y(T, H),
6616
6713
  color: "secondary",
6617
6714
  style: { minWidth: l, width: c },
6618
6715
  className: g,
6619
- startIcon: S.startIcon,
6620
- endIcon: S.endIcon,
6621
- children: S.label
6716
+ startIcon: T.startIcon,
6717
+ endIcon: T.endIcon,
6718
+ children: T.label
6622
6719
  }
6623
- ) }, S.value)) : /* @__PURE__ */ R.jsx("div", { className: "ds_xSmallSubheadRegular ds-p-2 ds-text-error", children: i })
6720
+ ) }, T.value)) : /* @__PURE__ */ R.jsx("div", { className: "ds_xSmallSubheadRegular ds-p-2 ds-text-error", children: o })
6624
6721
  }
6625
6722
  ),
6626
6723
  h && /* @__PURE__ */ R.jsx("div", { className: "ds_xSmallSubheadRegular ds-p-2 ds-text-error", children: h })
@@ -6635,14 +6732,14 @@ const On = ({
6635
6732
  getSelectedValueDisplayText: t,
6636
6733
  placeholder: r,
6637
6734
  allSelectedLabel: n,
6638
- value: o
6735
+ value: i
6639
6736
  }) => {
6640
6737
  let a = !e || Array.isArray(e) && e.length === 0 ? r || "" : t(e);
6641
- return o === "select-all" && n && (a = n), /* @__PURE__ */ R.jsx(
6738
+ return i === "select-all" && n && (a = n), /* @__PURE__ */ R.jsx(
6642
6739
  vt,
6643
6740
  {
6644
6741
  color: "secondary",
6645
- endIcon: /* @__PURE__ */ R.jsx(oi, { className: "ds-size-4" }),
6742
+ endIcon: /* @__PURE__ */ R.jsx(no, { className: "ds-size-4" }),
6646
6743
  buttonClassName: "ds-justify-between",
6647
6744
  children: a
6648
6745
  }
@@ -6652,9 +6749,9 @@ const On = ({
6652
6749
  isMultiSelect: t,
6653
6750
  value: r,
6654
6751
  setValue: n,
6655
- setIsOpen: o,
6752
+ setIsOpen: i,
6656
6753
  onChange: a,
6657
- selectAllOptionLabel: i = "Select all",
6754
+ selectAllOptionLabel: o = "Select all",
6658
6755
  disableSelectAll: l
6659
6756
  }) => {
6660
6757
  const c = r === "select-all" || Array.isArray(r) && r.filter((u) => e.find((d) => d.value === u)).length === e.length;
@@ -6664,7 +6761,7 @@ const On = ({
6664
6761
  {
6665
6762
  showCheckbox: !0,
6666
6763
  option: {
6667
- label: i,
6764
+ label: o,
6668
6765
  value: "select-all"
6669
6766
  },
6670
6767
  isSelected: c,
@@ -6682,7 +6779,7 @@ const On = ({
6682
6779
  if (t && r !== "select-all") {
6683
6780
  const g = r || [];
6684
6781
  g.includes(u.value) ? d = g.filter((p) => p !== u.value) : d = [...g, u.value], d.length === e.length && (d = "select-all");
6685
- } else t && r === "select-all" ? d = e.map((g) => g.value).filter((g) => g !== u.value) : (d = u.value, o(!1));
6782
+ } else t && r === "select-all" ? d = e.map((g) => g.value).filter((g) => g !== u.value) : (d = u.value, i(!1));
6686
6783
  n(d), a && a(bt(d, e), d === "select-all");
6687
6784
  },
6688
6785
  option: u,
@@ -6701,7 +6798,7 @@ const On = ({
6701
6798
  "div",
6702
6799
  {
6703
6800
  onClick: t.disabled ? void 0 : e,
6704
- className: oe(
6801
+ className: ie(
6705
6802
  // eslint-disable-next-line tailwind/no-hardcoded-colors -- TODO: use tailwind classes with design system tokens instead of hardcoded colors
6706
6803
  "ds-group ds-flex ds-min-h-[72px] ds-cursor-pointer ds-items-center ds-gap-4 ds-rounded ds-px-4 ds-py-2 ds-text-mediumSubHeadEmphasized hover:ds-bg-[#F6F8FC] ds-tablet:ds-min-h-[auto] ds-tablet:ds-gap-2 ds-tablet:ds-px-2 ds-desktop:ds-text-mediumFootnoteEmphasized",
6707
6804
  !n && "ds-transition-[padding] ds-duration-300 hover:ds-px-4"
@@ -6718,16 +6815,16 @@ const On = ({
6718
6815
  /* @__PURE__ */ R.jsx(
6719
6816
  "div",
6720
6817
  {
6721
- className: oe(
6818
+ className: ie(
6722
6819
  "ds-flex-grow",
6723
6820
  !n && "ds-transition-[padding] ds-duration-300 group-hover:ds-pr-0 ds-tablet:ds-pr-4"
6724
6821
  ),
6725
6822
  children: t.label
6726
6823
  }
6727
6824
  ),
6728
- r && !n && /* @__PURE__ */ R.jsx(ni, { className: "ds-size-4 ds-shrink-0" }),
6825
+ r && !n && /* @__PURE__ */ R.jsx(ro, { className: "ds-size-4 ds-shrink-0" }),
6729
6826
  n && /* @__PURE__ */ R.jsx(
6730
- Wn,
6827
+ An,
6731
6828
  {
6732
6829
  isChecked: r,
6733
6830
  disabled: t.disabled
@@ -6735,16 +6832,16 @@ const On = ({
6735
6832
  )
6736
6833
  ]
6737
6834
  }
6738
- ), Ka = (e) => window.innerWidth < An ? /* @__PURE__ */ R.jsx(Bn, P({}, e)) : /* @__PURE__ */ R.jsx(In, P({}, e));
6835
+ ), Ka = (e) => window.innerWidth < Wn ? /* @__PURE__ */ R.jsx(Bn, L({}, e)) : /* @__PURE__ */ R.jsx(In, L({}, e));
6739
6836
  Ka.displayName = "Dropdown";
6740
6837
  const In = ({
6741
6838
  placement: e = "bottom-start",
6742
6839
  trigger: t,
6743
6840
  triggerContainerClassName: r,
6744
6841
  disabled: n,
6745
- onOpenChange: o,
6842
+ onOpenChange: i,
6746
6843
  adjustHeight: a = !0,
6747
- adjustWidth: i = !0,
6844
+ adjustWidth: o = !0,
6748
6845
  options: l,
6749
6846
  getSelectedValueDisplayText: c = jn,
6750
6847
  placeholder: u,
@@ -6756,10 +6853,10 @@ const In = ({
6756
6853
  disableSelectAll: h
6757
6854
  }) => {
6758
6855
  const [w, x] = ue(), y = typeof d == "undefined" ? w : d, E = typeof d == "undefined" ? x : () => {
6759
- }, [S, L] = ue(!1), { refs: H, floatingStyles: N, context: B } = Ia({
6760
- open: S,
6761
- onOpenChange: (T) => {
6762
- L(T), o && o(T);
6856
+ }, [T, P] = ue(!1), { refs: H, floatingStyles: N, context: B } = Ia({
6857
+ open: T,
6858
+ onOpenChange: (S) => {
6859
+ P(S), i && i(S);
6763
6860
  },
6764
6861
  middleware: [
6765
6862
  ga(8),
@@ -6769,14 +6866,14 @@ const In = ({
6769
6866
  }),
6770
6867
  ma({ padding: 4 }),
6771
6868
  pa({
6772
- apply({ availableWidth: T, availableHeight: k, elements: z }) {
6773
- a && (z.floating.style.maxHeight = `${k - 4}px`), i && (z.floating.style.maxWidth = `${T - 4}px`);
6869
+ apply({ availableWidth: S, availableHeight: z, elements: k }) {
6870
+ a && (k.floating.style.maxHeight = `${z - 4}px`), o && (k.floating.style.maxWidth = `${S - 4}px`);
6774
6871
  }
6775
6872
  })
6776
6873
  ],
6777
6874
  whileElementsMounted: aa,
6778
6875
  placement: e
6779
- }), J = Aa(B), U = Ba(B), G = ja(B), _ = $a(B), { getReferenceProps: q, getFloatingProps: A } = Da([J, U, G, _]);
6876
+ }), J = Wa(B), U = Ba(B), G = ja(B), _ = $a(B), { getReferenceProps: q, getFloatingProps: W } = Da([J, U, G, _]);
6780
6877
  return t || (t = /* @__PURE__ */ R.jsx(
6781
6878
  On,
6782
6879
  {
@@ -6789,23 +6886,23 @@ const In = ({
6789
6886
  )), n ? /* @__PURE__ */ R.jsx("div", { className: r, children: t }) : /* @__PURE__ */ R.jsxs(R.Fragment, { children: [
6790
6887
  /* @__PURE__ */ R.jsx(
6791
6888
  "div",
6792
- V(P({
6793
- className: oe("ds-cursor-pointer", r),
6889
+ V(L({
6890
+ className: ie("ds-cursor-pointer", r),
6794
6891
  ref: H.setReference
6795
6892
  }, q()), {
6796
6893
  children: t
6797
6894
  })
6798
6895
  ),
6799
- S && /* @__PURE__ */ R.jsx(Ha, { children: /* @__PURE__ */ R.jsx(
6896
+ T && /* @__PURE__ */ R.jsx(Ha, { children: /* @__PURE__ */ R.jsx(
6800
6897
  "div",
6801
- V(P({
6898
+ V(L({
6802
6899
  ref: H.setFloating,
6803
6900
  style: N
6804
- }, A()), {
6805
- className: oe(
6901
+ }, W()), {
6902
+ className: ie(
6806
6903
  "ds-z-[29999] ds-flex ds-min-w-[200px] ds-flex-col ds-gap-1 ds-rounded ds-bg-Background-primary ds-p-2 ds-shadow-md",
6807
6904
  a && "ds-overflow-y-auto",
6808
- i && "ds-overflow-x-auto"
6905
+ o && "ds-overflow-x-auto"
6809
6906
  ),
6810
6907
  children: /* @__PURE__ */ R.jsx(
6811
6908
  Fn,
@@ -6814,7 +6911,7 @@ const In = ({
6814
6911
  options: l,
6815
6912
  value: y,
6816
6913
  setValue: E,
6817
- setIsOpen: L,
6914
+ setIsOpen: P,
6818
6915
  onChange: p,
6819
6916
  selectAllOptionLabel: f,
6820
6917
  disableSelectAll: h
@@ -6830,9 +6927,9 @@ const Bn = ({
6830
6927
  triggerContainerClassName: t,
6831
6928
  disabled: r,
6832
6929
  onOpenChange: n,
6833
- getSelectedValueDisplayText: o = jn,
6930
+ getSelectedValueDisplayText: i = jn,
6834
6931
  placeholder: a,
6835
- value: i,
6932
+ value: o,
6836
6933
  options: l,
6837
6934
  isMultiSelect: c,
6838
6935
  onChange: u,
@@ -6841,14 +6938,14 @@ const Bn = ({
6841
6938
  allSelectedLabel: p,
6842
6939
  disableSelectAll: f
6843
6940
  }) => {
6844
- const [m, h] = ue(), w = typeof i == "undefined" ? m : i, x = typeof i == "undefined" ? h : () => {
6941
+ const [m, h] = ue(), w = typeof o == "undefined" ? m : o, x = typeof o == "undefined" ? h : () => {
6845
6942
  }, [y, E] = ue(!1);
6846
6943
  return e || (e = /* @__PURE__ */ R.jsx(
6847
6944
  On,
6848
6945
  {
6849
6946
  value: w,
6850
6947
  selectedOption: bt(w, l),
6851
- getSelectedValueDisplayText: o,
6948
+ getSelectedValueDisplayText: i,
6852
6949
  placeholder: a,
6853
6950
  allSelectedLabel: p
6854
6951
  }
@@ -6871,7 +6968,7 @@ const Bn = ({
6871
6968
  handleClose: () => {
6872
6969
  E(!1), n && n(!1);
6873
6970
  },
6874
- contentClassName: oe("ds-absolute ds-mb-0 ds-w-full"),
6971
+ contentClassName: ie("ds-absolute ds-mb-0 ds-w-full"),
6875
6972
  className: "ds-z-[29999]",
6876
6973
  children: /* @__PURE__ */ R.jsx(
6877
6974
  Dn,
@@ -6908,7 +7005,7 @@ const Dn = ({ onClose: e, closeButtonLabel: t, children: r, isMultiSelect: n })
6908
7005
  {
6909
7006
  onClick: e,
6910
7007
  className: "ds-flex ds-size-5 ds-cursor-pointer ds-items-center ds-justify-center",
6911
- children: /* @__PURE__ */ R.jsx(ri, { className: "ds-size-4" })
7008
+ children: /* @__PURE__ */ R.jsx(to, { className: "ds-size-4" })
6912
7009
  }
6913
7010
  ),
6914
7011
  /* @__PURE__ */ R.jsx("div", { className: "ds-size-5" })
@@ -6927,11 +7024,11 @@ Dn.displayName = "MobilePopoverContentWrapper";
6927
7024
  export {
6928
7025
  _n as A,
6929
7026
  vt as B,
6930
- ri as C,
7027
+ to as C,
6931
7028
  Ka as D,
6932
- Aa as E,
7029
+ Wa as E,
6933
7030
  Ha as F,
6934
- oi as G,
7031
+ no as G,
6935
7032
  Ga as H,
6936
7033
  Ur as I,
6937
7034
  Bn as M,
@@ -6941,7 +7038,7 @@ export {
6941
7038
  Yr as d,
6942
7039
  Cr as e,
6943
7040
  nn as f,
6944
- oe as g,
7041
+ ie as g,
6945
7042
  el as h,
6946
7043
  Ba as i,
6947
7044
  R as j,
@@ -6951,13 +7048,13 @@ export {
6951
7048
  aa as n,
6952
7049
  ga as o,
6953
7050
  ha as p,
6954
- ni as q,
7051
+ ro as q,
6955
7052
  ln as r,
6956
7053
  tl as s,
6957
7054
  ct as t,
6958
7055
  Ia as u,
6959
- Wn as v,
6960
- An as w,
7056
+ An as v,
7057
+ Wn as w,
6961
7058
  Qa as x,
6962
7059
  ma as y,
6963
7060
  pa as z