design-system-silkhaus 3.12.0-beta.month-range-picker.3 → 3.12.0

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.
@@ -10,7 +10,7 @@ var xr = (e, t, r) => t in e ? go(e, t, { enumerable: !0, configurable: !0, writ
10
10
  wr.call(t, r) && xr(e, r, t[r]);
11
11
  return e;
12
12
  }, $ = (e, t) => ho(e, mo(t));
13
- var Tt = (e) => typeof e == "symbol" ? e : e + "", ge = (e, t) => {
13
+ var Tt = (e) => typeof e == "symbol" ? e : e + "", he = (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,7 +19,7 @@ var Tt = (e) => typeof e == "symbol" ? e : e + "", ge = (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 me = (e, t, r) => new Promise((n, o) => {
23
23
  var a = (c) => {
24
24
  try {
25
25
  l(r.next(c));
@@ -36,7 +36,7 @@ var he = (e, t, r) => new Promise((n, o) => {
36
36
  l((r = r.apply(e, t)).next());
37
37
  });
38
38
  import * as v from "react";
39
- import Fe, { useLayoutEffect as Yr, useEffect as Je, useRef as po, forwardRef as Yt, useState as pe } from "react";
39
+ import Fe, { useLayoutEffect as Yr, useEffect as Je, useRef as po, forwardRef as Yt, useState as ue } from "react";
40
40
  import * as Kr from "react-dom";
41
41
  import { createPortal as vo } from "react-dom";
42
42
  var Ft = { exports: {} }, Ve = {};
@@ -55,11 +55,11 @@ function bo() {
55
55
  Rr = 1;
56
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
57
  function i(l, c, u) {
58
- var d, g = {}, p = null, f = null;
59
- u !== void 0 && (p = "" + u), c.key !== void 0 && (p = "" + c.key), c.ref !== void 0 && (f = c.ref);
60
- for (d in c) n.call(c, d) && !a.hasOwnProperty(d) && (g[d] = c[d]);
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 };
58
+ var f, h = {}, p = null, d = null;
59
+ u !== void 0 && (p = "" + u), c.key !== void 0 && (p = "" + c.key), c.ref !== void 0 && (d = c.ref);
60
+ for (f in c) n.call(c, f) && !a.hasOwnProperty(f) && (h[f] = c[f]);
61
+ if (l && l.defaultProps) for (f in c = l.defaultProps, c) h[f] === void 0 && (h[f] = c[f]);
62
+ return { $$typeof: t, type: l, key: p, ref: d, props: h, _owner: o.current };
63
63
  }
64
64
  return Ve.Fragment = r, Ve.jsx = i, Ve.jsxs = i, Ve;
65
65
  }
@@ -76,11 +76,11 @@ var Ge = {};
76
76
  var Er;
77
77
  function xo() {
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"), h = Symbol.iterator, m = "@@iterator";
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"), f = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), d = Symbol.for("react.offscreen"), g = Symbol.iterator, m = "@@iterator";
80
80
  function y(s) {
81
81
  if (s === null || typeof s != "object")
82
82
  return null;
83
- var b = h && s[h] || s[m];
83
+ var b = g && s[g] || s[m];
84
84
  return typeof b == "function" ? b : null;
85
85
  }
86
86
  var x = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -104,7 +104,7 @@ function xo() {
104
104
  var E = !1, z = !1, H = !1, N = !1, G = !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 || G || s === o || s === u || s === d || N || s === f || E || z || 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 || G || s === o || s === u || s === f || N || s === d || E || z || H || typeof s == "object" && s !== null && (s.$$typeof === p || s.$$typeof === h || s.$$typeof === i || 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.
@@ -138,7 +138,7 @@ function xo() {
138
138
  return "StrictMode";
139
139
  case u:
140
140
  return "Suspense";
141
- case d:
141
+ case f:
142
142
  return "SuspenseList";
143
143
  }
144
144
  if (typeof s == "object")
@@ -151,7 +151,7 @@ function xo() {
151
151
  return _(C._context) + ".Provider";
152
152
  case c:
153
153
  return V(s, s.render, "ForwardRef");
154
- case g:
154
+ case h:
155
155
  var O = s.displayName || null;
156
156
  return O !== null ? O : q(s.type) || "Memo";
157
157
  case p: {
@@ -227,18 +227,18 @@ function xo() {
227
227
  k < 0 && w("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
228
228
  }
229
229
  }
230
- var se = x.ReactCurrentDispatcher, fe;
230
+ var se = x.ReactCurrentDispatcher, ge;
231
231
  function Ie(s, b, C) {
232
232
  {
233
- if (fe === void 0)
233
+ if (ge === void 0)
234
234
  try {
235
235
  throw Error();
236
236
  } catch (Y) {
237
237
  var O = Y.stack.trim().match(/\n( *(at )?)/);
238
- fe = O && O[1] || "";
238
+ ge = O && O[1] || "";
239
239
  }
240
240
  return `
241
- ` + fe + s;
241
+ ` + ge + s;
242
242
  }
243
243
  }
244
244
  var yt = !1, nt;
@@ -334,14 +334,14 @@ function xo() {
334
334
  switch (s) {
335
335
  case u:
336
336
  return Ie("Suspense");
337
- case d:
337
+ case f:
338
338
  return Ie("SuspenseList");
339
339
  }
340
340
  if (typeof s == "object")
341
341
  switch (s.$$typeof) {
342
342
  case c:
343
343
  return In(s.render);
344
- case g:
344
+ case h:
345
345
  return ot(s.type, b, C);
346
346
  case p: {
347
347
  var O = s, Y = O._payload, K = O._init;
@@ -581,7 +581,7 @@ Check the top-level render call using <` + C + ">.");
581
581
  C = b.propTypes;
582
582
  else if (typeof b == "object" && (b.$$typeof === c || // Note: Memo only checks outer props here.
583
583
  // Inner props are checked in the reconciler.
584
- b.$$typeof === g))
584
+ b.$$typeof === h))
585
585
  C = b.propTypes;
586
586
  else
587
587
  return;
@@ -773,26 +773,26 @@ const Kt = "-", yo = (e) => {
773
773
  experimentalParseClassName: r
774
774
  } = e, n = t.length === 1, o = t[0], a = t.length, i = (l) => {
775
775
  const c = [];
776
- let u = 0, d = 0, g;
776
+ let u = 0, f = 0, h;
777
777
  for (let y = 0; y < l.length; y++) {
778
778
  let x = l[y];
779
779
  if (u === 0) {
780
780
  if (x === o && (n || l.slice(y, y + a) === t)) {
781
- c.push(l.slice(d, y)), d = y + a;
781
+ c.push(l.slice(f, y)), f = y + a;
782
782
  continue;
783
783
  }
784
784
  if (x === "/") {
785
- g = y;
785
+ h = y;
786
786
  continue;
787
787
  }
788
788
  }
789
789
  x === "[" ? u++ : x === "]" && u--;
790
790
  }
791
- const p = c.length === 0 ? l : l.substring(d), f = p.startsWith(Jr), h = f ? p.substring(1) : p, m = g && g > d ? g - d : void 0;
791
+ const p = c.length === 0 ? l : l.substring(f), d = p.startsWith(Jr), g = d ? p.substring(1) : p, m = h && h > f ? h - f : void 0;
792
792
  return {
793
793
  modifiers: c,
794
- hasImportantModifier: f,
795
- baseClassName: h,
794
+ hasImportantModifier: d,
795
+ baseClassName: g,
796
796
  maybePostfixModifierPosition: m
797
797
  };
798
798
  };
@@ -820,14 +820,14 @@ const Kt = "-", yo = (e) => {
820
820
  let l = "";
821
821
  for (let c = i.length - 1; c >= 0; c -= 1) {
822
822
  const u = i[c], {
823
- modifiers: d,
824
- hasImportantModifier: g,
823
+ modifiers: f,
824
+ hasImportantModifier: h,
825
825
  baseClassName: p,
826
- maybePostfixModifierPosition: f
826
+ maybePostfixModifierPosition: d
827
827
  } = r(u);
828
- let h = !!f, m = n(h ? p.substring(0, f) : p);
828
+ let g = !!d, m = n(g ? p.substring(0, d) : p);
829
829
  if (!m) {
830
- if (!h) {
830
+ if (!g) {
831
831
  l = u + (l.length > 0 ? " " + l : l);
832
832
  continue;
833
833
  }
@@ -835,13 +835,13 @@ const Kt = "-", yo = (e) => {
835
835
  l = u + (l.length > 0 ? " " + l : l);
836
836
  continue;
837
837
  }
838
- h = !1;
838
+ g = !1;
839
839
  }
840
- const y = ko(d).join(":"), x = g ? y + Jr : y, w = x + m;
840
+ const y = ko(f).join(":"), x = h ? y + Jr : y, w = x + m;
841
841
  if (a.includes(w))
842
842
  continue;
843
843
  a.push(w);
844
- const S = o(m, h);
844
+ const S = o(m, g);
845
845
  for (let E = 0; E < S.length; ++E) {
846
846
  const z = S[E];
847
847
  a.push(x + z);
@@ -867,15 +867,15 @@ const Zr = (e) => {
867
867
  function Bt(e, ...t) {
868
868
  let r, n, o, a = i;
869
869
  function i(c) {
870
- const u = t.reduce((d, g) => g(d), e());
870
+ const u = t.reduce((f, h) => h(f), e());
871
871
  return r = zo(u), n = r.cache.get, o = 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 f = Mo(c, r);
878
+ return o(c, f), f;
879
879
  }
880
880
  return function() {
881
881
  return a(Po.apply(null, arguments));
@@ -884,7 +884,7 @@ function Bt(e, ...t) {
884
884
  const Z = (e) => {
885
885
  const t = (r) => r[e] || [];
886
886
  return t.isThemeGetter = !0, t;
887
- }, Qr = /^\[(?:([a-z-]+):)?(.+)\]$/i, _o = /^\d+\/\d+$/, Ao = /* @__PURE__ */ new Set(["px", "full", "screen"]), Ho = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Wo = /\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$/, Oo = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, jo = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Fo = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, me = (e) => Oe(e) || Ao.has(e) || _o.test(e), ye = (e) => Be(e, "length", Uo), Oe = (e) => !!e && !Number.isNaN(Number(e)), kt = (e) => Be(e, "number", Oe), Ue = (e) => !!e && Number.isInteger(Number(e)), Do = (e) => e.endsWith("%") && Oe(e.slice(0, -1)), j = (e) => Qr.test(e), we = (e) => Ho.test(e), Bo = /* @__PURE__ */ new Set(["length", "size", "percentage"]), No = (e) => Be(e, Bo, en), Io = (e) => Be(e, "position", en), $o = /* @__PURE__ */ new Set(["image", "url"]), Vo = (e) => Be(e, $o, Yo), Go = (e) => Be(e, "", qo), qe = () => !0, Be = (e, t, r) => {
887
+ }, Qr = /^\[(?:([a-z-]+):)?(.+)\]$/i, _o = /^\d+\/\d+$/, Ao = /* @__PURE__ */ new Set(["px", "full", "screen"]), Ho = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Wo = /\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$/, Oo = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, jo = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Fo = /^(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", Uo), Oe = (e) => !!e && !Number.isNaN(Number(e)), kt = (e) => Be(e, "number", Oe), Ue = (e) => !!e && Number.isInteger(Number(e)), Do = (e) => e.endsWith("%") && Oe(e.slice(0, -1)), j = (e) => Qr.test(e), we = (e) => Ho.test(e), Bo = /* @__PURE__ */ new Set(["length", "size", "percentage"]), No = (e) => Be(e, Bo, en), Io = (e) => Be(e, "position", en), $o = /* @__PURE__ */ new Set(["image", "url"]), Vo = (e) => Be(e, $o, Yo), Go = (e) => Be(e, "", qo), qe = () => !0, Be = (e, t, r) => {
888
888
  const n = Qr.exec(e);
889
889
  return n ? n[1] ? typeof t == "string" ? n[1] === t : t.has(n[1]) : r(n[2]) : !1;
890
890
  }, Uo = (e) => (
@@ -893,13 +893,13 @@ const Z = (e) => {
893
893
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
894
894
  Wo.test(e) && !Oo.test(e)
895
895
  ), en = () => !1, qo = (e) => jo.test(e), Yo = (e) => Fo.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"), h = Z("gradientColorStopPositions"), m = Z("inset"), y = Z("margin"), x = Z("opacity"), w = Z("padding"), S = Z("saturate"), E = Z("scale"), z = Z("sepia"), H = Z("skew"), N = Z("space"), G = Z("translate"), J = () => ["auto", "contain", "none"], U = () => ["auto", "hidden", "clip", "visible", "scroll"], V = () => ["auto", j, t], _ = () => [j, t], q = () => ["", me, ye], A = () => ["auto", Oe, j], k = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], T = () => ["solid", "dashed", "dotted", "double", "none"], M = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], P = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], I = () => ["", "0", j], W = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], F = () => [Oe, j];
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"), f = Z("hueRotate"), h = Z("invert"), p = Z("gap"), d = Z("gradientColorStops"), g = Z("gradientColorStopPositions"), m = Z("inset"), y = Z("margin"), x = Z("opacity"), w = Z("padding"), S = Z("saturate"), E = Z("scale"), z = Z("sepia"), H = Z("skew"), N = Z("space"), G = Z("translate"), J = () => ["auto", "contain", "none"], U = () => ["auto", "hidden", "clip", "visible", "scroll"], V = () => ["auto", j, t], _ = () => [j, t], q = () => ["", pe, ye], A = () => ["auto", Oe, j], k = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], T = () => ["solid", "dashed", "dotted", "double", "none"], M = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], P = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], I = () => ["", "0", j], W = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], F = () => [Oe, j];
897
897
  return {
898
898
  cacheSize: 500,
899
899
  separator: ":",
900
900
  theme: {
901
901
  colors: [qe],
902
- spacing: [me, ye],
902
+ spacing: [pe, ye],
903
903
  blur: ["none", "", we, j],
904
904
  brightness: F(),
905
905
  borderColor: [e],
@@ -1639,7 +1639,7 @@ const Z = (e) => {
1639
1639
  * @see https://tailwindcss.com/docs/line-height
1640
1640
  */
1641
1641
  leading: [{
1642
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose", me, j]
1642
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", pe, j]
1643
1643
  }],
1644
1644
  /**
1645
1645
  * List Style Image
@@ -1715,14 +1715,14 @@ const Z = (e) => {
1715
1715
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1716
1716
  */
1717
1717
  "text-decoration-thickness": [{
1718
- decoration: ["auto", "from-font", me, ye]
1718
+ decoration: ["auto", "from-font", pe, ye]
1719
1719
  }],
1720
1720
  /**
1721
1721
  * Text Underline Offset
1722
1722
  * @see https://tailwindcss.com/docs/text-underline-offset
1723
1723
  */
1724
1724
  "underline-offset": [{
1725
- "underline-offset": ["auto", me, j]
1725
+ "underline-offset": ["auto", pe, j]
1726
1726
  }],
1727
1727
  /**
1728
1728
  * Text Decoration Color
@@ -1864,42 +1864,42 @@ const Z = (e) => {
1864
1864
  * @see https://tailwindcss.com/docs/gradient-color-stops
1865
1865
  */
1866
1866
  "gradient-from-pos": [{
1867
- from: [h]
1867
+ from: [g]
1868
1868
  }],
1869
1869
  /**
1870
1870
  * Gradient Color Stops Via Position
1871
1871
  * @see https://tailwindcss.com/docs/gradient-color-stops
1872
1872
  */
1873
1873
  "gradient-via-pos": [{
1874
- via: [h]
1874
+ via: [g]
1875
1875
  }],
1876
1876
  /**
1877
1877
  * Gradient Color Stops To Position
1878
1878
  * @see https://tailwindcss.com/docs/gradient-color-stops
1879
1879
  */
1880
1880
  "gradient-to-pos": [{
1881
- to: [h]
1881
+ to: [g]
1882
1882
  }],
1883
1883
  /**
1884
1884
  * Gradient Color Stops From
1885
1885
  * @see https://tailwindcss.com/docs/gradient-color-stops
1886
1886
  */
1887
1887
  "gradient-from": [{
1888
- from: [f]
1888
+ from: [d]
1889
1889
  }],
1890
1890
  /**
1891
1891
  * Gradient Color Stops Via
1892
1892
  * @see https://tailwindcss.com/docs/gradient-color-stops
1893
1893
  */
1894
1894
  "gradient-via": [{
1895
- via: [f]
1895
+ via: [d]
1896
1896
  }],
1897
1897
  /**
1898
1898
  * Gradient Color Stops To
1899
1899
  * @see https://tailwindcss.com/docs/gradient-color-stops
1900
1900
  */
1901
1901
  "gradient-to": [{
1902
- to: [f]
1902
+ to: [d]
1903
1903
  }],
1904
1904
  // Borders
1905
1905
  /**
@@ -2204,14 +2204,14 @@ const Z = (e) => {
2204
2204
  * @see https://tailwindcss.com/docs/outline-offset
2205
2205
  */
2206
2206
  "outline-offset": [{
2207
- "outline-offset": [me, j]
2207
+ "outline-offset": [pe, j]
2208
2208
  }],
2209
2209
  /**
2210
2210
  * Outline Width
2211
2211
  * @see https://tailwindcss.com/docs/outline-width
2212
2212
  */
2213
2213
  "outline-w": [{
2214
- outline: [me, ye]
2214
+ outline: [pe, ye]
2215
2215
  }],
2216
2216
  /**
2217
2217
  * Outline Color
@@ -2251,7 +2251,7 @@ const Z = (e) => {
2251
2251
  * @see https://tailwindcss.com/docs/ring-offset-width
2252
2252
  */
2253
2253
  "ring-offset-w": [{
2254
- "ring-offset": [me, ye]
2254
+ "ring-offset": [pe, ye]
2255
2255
  }],
2256
2256
  /**
2257
2257
  * Ring Offset Color
@@ -2345,14 +2345,14 @@ const Z = (e) => {
2345
2345
  * @see https://tailwindcss.com/docs/hue-rotate
2346
2346
  */
2347
2347
  "hue-rotate": [{
2348
- "hue-rotate": [d]
2348
+ "hue-rotate": [f]
2349
2349
  }],
2350
2350
  /**
2351
2351
  * Invert
2352
2352
  * @see https://tailwindcss.com/docs/invert
2353
2353
  */
2354
2354
  invert: [{
2355
- invert: [g]
2355
+ invert: [h]
2356
2356
  }],
2357
2357
  /**
2358
2358
  * Saturate
@@ -2409,14 +2409,14 @@ const Z = (e) => {
2409
2409
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2410
2410
  */
2411
2411
  "backdrop-hue-rotate": [{
2412
- "backdrop-hue-rotate": [d]
2412
+ "backdrop-hue-rotate": [f]
2413
2413
  }],
2414
2414
  /**
2415
2415
  * Backdrop Invert
2416
2416
  * @see https://tailwindcss.com/docs/backdrop-invert
2417
2417
  */
2418
2418
  "backdrop-invert": [{
2419
- "backdrop-invert": [g]
2419
+ "backdrop-invert": [h]
2420
2420
  }],
2421
2421
  /**
2422
2422
  * Backdrop Opacity
@@ -2846,7 +2846,7 @@ const Z = (e) => {
2846
2846
  * @see https://tailwindcss.com/docs/stroke-width
2847
2847
  */
2848
2848
  "stroke-w": [{
2849
- stroke: [me, ye, kt]
2849
+ stroke: [pe, ye, kt]
2850
2850
  }],
2851
2851
  /**
2852
2852
  * Stroke
@@ -3811,8 +3811,8 @@ const Qa = (e, t = "AED") => {
3811
3811
  quaternary: "ds-rounded-sm ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark",
3812
3812
  empty: "ds-rounded-sm ds-bg-none"
3813
3813
  }, an = Fe.forwardRef(
3814
- (h, f) => {
3815
- var m = h, {
3814
+ (g, d) => {
3815
+ var m = g, {
3816
3816
  color: e = "primary",
3817
3817
  size: t = "small",
3818
3818
  disabled: r = !1,
@@ -3823,9 +3823,9 @@ const Qa = (e, t = "AED") => {
3823
3823
  endIcon: l,
3824
3824
  trackingId: c,
3825
3825
  helperText: u,
3826
- helpterTextClassName: d,
3827
- buttonClassName: g
3828
- } = m, p = ge(m, [
3826
+ helpterTextClassName: f,
3827
+ buttonClassName: h
3828
+ } = m, p = he(m, [
3829
3829
  "color",
3830
3830
  "size",
3831
3831
  "disabled",
@@ -3844,14 +3844,14 @@ const Qa = (e, t = "AED") => {
3844
3844
  "button",
3845
3845
  $(L({
3846
3846
  "data-tracking-id": c,
3847
- ref: f,
3847
+ ref: d,
3848
3848
  disabled: r,
3849
3849
  className: ct(
3850
3850
  oe(
3851
3851
  { [ei[e]]: i, [kr[e]]: !i },
3852
3852
  kr[t],
3853
3853
  "ds-flex ds-w-full ds-flex-1 ds-items-center ds-justify-center",
3854
- g
3854
+ h
3855
3855
  )
3856
3856
  )
3857
3857
  }, p), {
@@ -3867,7 +3867,7 @@ const Qa = (e, t = "AED") => {
3867
3867
  {
3868
3868
  className: oe(
3869
3869
  "ds-w-full ds-text-right ds-text-mediumFootnoteRegular",
3870
- d
3870
+ f
3871
3871
  ),
3872
3872
  children: u
3873
3873
  }
@@ -3987,7 +3987,7 @@ function Ze(e) {
3987
3987
  overflowX: r,
3988
3988
  overflowY: n,
3989
3989
  display: o
3990
- } = ue(e);
3990
+ } = de(e);
3991
3991
  return /auto|scroll|overlay|hidden|clip/.test(t + n + r) && !["inline", "contents"].includes(o);
3992
3992
  }
3993
3993
  function oi(e) {
@@ -4003,7 +4003,7 @@ function bt(e) {
4003
4003
  });
4004
4004
  }
4005
4005
  function Xt(e) {
4006
- const t = Jt(), r = X(e) ? ue(e) : e;
4006
+ const t = Jt(), r = X(e) ? de(e) : e;
4007
4007
  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));
4008
4008
  }
4009
4009
  function ii(e) {
@@ -4023,7 +4023,7 @@ function Jt() {
4023
4023
  function Te(e) {
4024
4024
  return ["html", "body", "#document"].includes(Ne(e));
4025
4025
  }
4026
- function ue(e) {
4026
+ function de(e) {
4027
4027
  return ie(e).getComputedStyle(e);
4028
4028
  }
4029
4029
  function xt(e) {
@@ -4278,15 +4278,15 @@ var yi = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
4278
4278
  candidates: u
4279
4279
  });
4280
4280
  } else {
4281
- var d = Xe.call(i, Gt);
4282
- d && n.filter(i) && (r || !t.includes(i)) && o.push(i);
4283
- var g = i.shadowRoot || // check for an undisclosed shadow
4284
- typeof n.getShadowRoot == "function" && n.getShadowRoot(i), p = !mt(g, !1) && (!n.shadowRootFilter || n.shadowRootFilter(i));
4285
- if (g && p) {
4286
- var f = e(g === !0 ? i.children : g.children, !0, n);
4287
- n.flatten ? o.push.apply(o, f) : o.push({
4281
+ var f = Xe.call(i, Gt);
4282
+ f && n.filter(i) && (r || !t.includes(i)) && o.push(i);
4283
+ var h = i.shadowRoot || // check for an undisclosed shadow
4284
+ typeof n.getShadowRoot == "function" && n.getShadowRoot(i), p = !mt(h, !1) && (!n.shadowRootFilter || n.shadowRootFilter(i));
4285
+ if (h && p) {
4286
+ var d = e(h === !0 ? i.children : h.children, !0, n);
4287
+ n.flatten ? o.push.apply(o, d) : o.push({
4288
4288
  scopeParent: i,
4289
- candidates: f
4289
+ candidates: d
4290
4290
  });
4291
4291
  } else
4292
4292
  a.unshift.apply(a, i.children);
@@ -4342,8 +4342,8 @@ var yi = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
4342
4342
  if (n && n !== t) {
4343
4343
  var i, l, c;
4344
4344
  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; ) {
4345
- var u, d, g;
4346
- n = ht(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));
4345
+ var u, f, h;
4346
+ n = ht(o), o = (u = n) === null || u === void 0 ? void 0 : u.host, a = !!((f = o) !== null && f !== void 0 && (h = f.ownerDocument) !== null && h !== void 0 && h.contains(o));
4347
4347
  }
4348
4348
  }
4349
4349
  return a;
@@ -4428,50 +4428,50 @@ function _r(e, t, r) {
4428
4428
  reference: n,
4429
4429
  floating: o
4430
4430
  } = e;
4431
- const a = Pe(t), i = mn(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;
4432
- let f;
4431
+ const a = Pe(t), i = mn(t), l = hn(i), c = ze(t), u = a === "y", f = n.x + n.width / 2 - o.width / 2, h = n.y + n.height / 2 - o.height / 2, p = n[l] / 2 - o[l] / 2;
4432
+ let d;
4433
4433
  switch (c) {
4434
4434
  case "top":
4435
- f = {
4436
- x: d,
4435
+ d = {
4436
+ x: f,
4437
4437
  y: n.y - o.height
4438
4438
  };
4439
4439
  break;
4440
4440
  case "bottom":
4441
- f = {
4442
- x: d,
4441
+ d = {
4442
+ x: f,
4443
4443
  y: n.y + n.height
4444
4444
  };
4445
4445
  break;
4446
4446
  case "right":
4447
- f = {
4447
+ d = {
4448
4448
  x: n.x + n.width,
4449
- y: g
4449
+ y: h
4450
4450
  };
4451
4451
  break;
4452
4452
  case "left":
4453
- f = {
4453
+ d = {
4454
4454
  x: n.x - o.width,
4455
- y: g
4455
+ y: h
4456
4456
  };
4457
4457
  break;
4458
4458
  default:
4459
- f = {
4459
+ d = {
4460
4460
  x: n.x,
4461
4461
  y: n.y
4462
4462
  };
4463
4463
  }
4464
4464
  switch (et(t)) {
4465
4465
  case "start":
4466
- f[i] -= p * (r && u ? -1 : 1);
4466
+ d[i] -= p * (r && u ? -1 : 1);
4467
4467
  break;
4468
4468
  case "end":
4469
- f[i] += p * (r && u ? -1 : 1);
4469
+ d[i] += p * (r && u ? -1 : 1);
4470
4470
  break;
4471
4471
  }
4472
- return f;
4472
+ return d;
4473
4473
  }
4474
- const Fi = (e, t, r) => he(void 0, null, function* () {
4474
+ const Fi = (e, t, r) => me(void 0, null, function* () {
4475
4475
  const {
4476
4476
  placement: n = "bottom",
4477
4477
  strategy: o = "absolute",
@@ -4483,9 +4483,9 @@ const Fi = (e, t, r) => he(void 0, null, function* () {
4483
4483
  floating: t,
4484
4484
  strategy: o
4485
4485
  }), {
4486
- x: d,
4487
- y: g
4488
- } = _r(u, n, c), p = n, f = {}, h = 0;
4486
+ x: f,
4487
+ y: h
4488
+ } = _r(u, n, c), p = n, d = {}, g = 0;
4489
4489
  for (let m = 0; m < l.length; m++) {
4490
4490
  const {
4491
4491
  name: y,
@@ -4496,12 +4496,12 @@ const Fi = (e, t, r) => he(void 0, null, function* () {
4496
4496
  data: E,
4497
4497
  reset: z
4498
4498
  } = yield x({
4499
- x: d,
4500
- y: g,
4499
+ x: f,
4500
+ y: h,
4501
4501
  initialPlacement: n,
4502
4502
  placement: p,
4503
4503
  strategy: o,
4504
- middlewareData: f,
4504
+ middlewareData: d,
4505
4505
  rects: u,
4506
4506
  platform: i,
4507
4507
  elements: {
@@ -4509,27 +4509,27 @@ const Fi = (e, t, r) => he(void 0, null, function* () {
4509
4509
  floating: t
4510
4510
  }
4511
4511
  });
4512
- d = w != null ? w : d, g = S != null ? S : g, f = $(L({}, f), {
4513
- [y]: L(L({}, f[y]), E)
4514
- }), z && h <= 50 && (h++, typeof z == "object" && (z.placement && (p = z.placement), z.rects && (u = z.rects === !0 ? yield i.getElementRects({
4512
+ f = w != null ? w : f, h = S != null ? S : h, d = $(L({}, d), {
4513
+ [y]: L(L({}, d[y]), E)
4514
+ }), z && g <= 50 && (g++, typeof z == "object" && (z.placement && (p = z.placement), z.rects && (u = z.rects === !0 ? yield i.getElementRects({
4515
4515
  reference: e,
4516
4516
  floating: t,
4517
4517
  strategy: o
4518
4518
  }) : z.rects), {
4519
- x: d,
4520
- y: g
4519
+ x: f,
4520
+ y: h
4521
4521
  } = _r(u, p, c)), m = -1);
4522
4522
  }
4523
4523
  return {
4524
- x: d,
4525
- y: g,
4524
+ x: f,
4525
+ y: h,
4526
4526
  placement: p,
4527
4527
  strategy: o,
4528
- middlewareData: f
4528
+ middlewareData: d
4529
4529
  };
4530
4530
  });
4531
4531
  function Zt(e, t) {
4532
- return he(this, null, function* () {
4532
+ return me(this, null, function* () {
4533
4533
  var r;
4534
4534
  t === void 0 && (t = {});
4535
4535
  const {
@@ -4541,16 +4541,16 @@ function Zt(e, t) {
4541
4541
  strategy: c
4542
4542
  } = e, {
4543
4543
  boundary: u = "clippingAncestors",
4544
- rootBoundary: d = "viewport",
4545
- elementContext: g = "floating",
4544
+ rootBoundary: f = "viewport",
4545
+ elementContext: h = "floating",
4546
4546
  altBoundary: p = !1,
4547
- padding: f = 0
4548
- } = Qe(t, e), h = xi(f), y = l[p ? g === "floating" ? "reference" : "floating" : g], x = gt(yield a.getClippingRect({
4547
+ padding: d = 0
4548
+ } = Qe(t, e), g = xi(d), y = l[p ? h === "floating" ? "reference" : "floating" : h], x = gt(yield a.getClippingRect({
4549
4549
  element: (r = yield a.isElement == null ? void 0 : a.isElement(y)) == null || r ? y : y.contextElement || (yield a.getDocumentElement == null ? void 0 : a.getDocumentElement(l.floating)),
4550
4550
  boundary: u,
4551
- rootBoundary: d,
4551
+ rootBoundary: f,
4552
4552
  strategy: c
4553
- })), w = g === "floating" ? {
4553
+ })), w = h === "floating" ? {
4554
4554
  x: n,
4555
4555
  y: o,
4556
4556
  width: i.floating.width,
@@ -4568,10 +4568,10 @@ function Zt(e, t) {
4568
4568
  strategy: c
4569
4569
  }) : w);
4570
4570
  return {
4571
- top: (x.top - z.top + h.top) / E.y,
4572
- bottom: (z.bottom - x.bottom + h.bottom) / E.y,
4573
- left: (x.left - z.left + h.left) / E.x,
4574
- right: (z.right - x.right + h.right) / E.x
4571
+ top: (x.top - z.top + g.top) / E.y,
4572
+ bottom: (z.bottom - x.bottom + g.bottom) / E.y,
4573
+ left: (x.left - z.left + g.left) / E.x,
4574
+ right: (z.right - x.right + g.right) / E.x
4575
4575
  };
4576
4576
  });
4577
4577
  }
@@ -4580,7 +4580,7 @@ const Di = function(e) {
4580
4580
  name: "flip",
4581
4581
  options: e,
4582
4582
  fn(r) {
4583
- return he(this, null, function* () {
4583
+ return me(this, null, function* () {
4584
4584
  var n, o;
4585
4585
  const {
4586
4586
  placement: a,
@@ -4588,15 +4588,15 @@ const Di = function(e) {
4588
4588
  rects: l,
4589
4589
  initialPlacement: c,
4590
4590
  platform: u,
4591
- elements: d
4591
+ elements: f
4592
4592
  } = r, k = Qe(e, r), {
4593
- mainAxis: g = !0,
4593
+ mainAxis: h = !0,
4594
4594
  crossAxis: p = !0,
4595
- fallbackPlacements: f,
4596
- fallbackStrategy: h = "bestFit",
4595
+ fallbackPlacements: d,
4596
+ fallbackStrategy: g = "bestFit",
4597
4597
  fallbackAxisSideDirection: m = "none",
4598
4598
  flipAlignment: y = !0
4599
- } = k, x = ge(k, [
4599
+ } = k, x = he(k, [
4600
4600
  "mainAxis",
4601
4601
  "crossAxis",
4602
4602
  "fallbackPlacements",
@@ -4606,11 +4606,11 @@ const Di = function(e) {
4606
4606
  ]);
4607
4607
  if ((n = i.arrow) != null && n.alignmentOffset)
4608
4608
  return {};
4609
- const w = ze(a), S = Pe(c), E = ze(c) === c, z = yield u.isRTL == null ? void 0 : u.isRTL(d.floating), H = f || (E || !y ? [ft(c)] : mi(c)), N = m !== "none";
4610
- !f && N && H.push(...vi(c, y, m, z));
4609
+ const w = ze(a), S = Pe(c), E = ze(c) === c, z = yield u.isRTL == null ? void 0 : u.isRTL(f.floating), H = d || (E || !y ? [ft(c)] : mi(c)), N = m !== "none";
4610
+ !d && N && H.push(...vi(c, y, m, z));
4611
4611
  const G = [c, ...H], J = yield Zt(r, x), U = [];
4612
4612
  let V = ((o = i.flip) == null ? void 0 : o.overflows) || [];
4613
- if (g && U.push(J[w]), p) {
4613
+ if (h && U.push(J[w]), p) {
4614
4614
  const T = hi(a, l, z);
4615
4615
  U.push(J[T[0]], J[T[1]]);
4616
4616
  }
@@ -4632,7 +4632,7 @@ const Di = function(e) {
4632
4632
  };
4633
4633
  let P = (q = V.filter((I) => I.overflows[0] <= 0).sort((I, W) => I.overflows[1] - W.overflows[1])[0]) == null ? void 0 : q.placement;
4634
4634
  if (!P)
4635
- switch (h) {
4635
+ switch (g) {
4636
4636
  case "bestFit": {
4637
4637
  var A;
4638
4638
  const I = (A = V.filter((W) => {
@@ -4664,31 +4664,31 @@ const Di = function(e) {
4664
4664
  };
4665
4665
  };
4666
4666
  function Bi(e, t) {
4667
- return he(this, null, function* () {
4667
+ return me(this, null, function* () {
4668
4668
  const {
4669
4669
  placement: r,
4670
4670
  platform: n,
4671
4671
  elements: o
4672
- } = e, a = yield n.isRTL == null ? void 0 : n.isRTL(o.floating), i = ze(r), l = et(r), c = Pe(r) === "y", u = ["left", "top"].includes(i) ? -1 : 1, d = a && c ? -1 : 1, g = Qe(t, e);
4672
+ } = e, a = yield n.isRTL == null ? void 0 : n.isRTL(o.floating), i = ze(r), l = et(r), c = Pe(r) === "y", u = ["left", "top"].includes(i) ? -1 : 1, f = a && c ? -1 : 1, h = Qe(t, e);
4673
4673
  let {
4674
4674
  mainAxis: p,
4675
- crossAxis: f,
4676
- alignmentAxis: h
4677
- } = typeof g == "number" ? {
4678
- mainAxis: g,
4675
+ crossAxis: d,
4676
+ alignmentAxis: g
4677
+ } = typeof h == "number" ? {
4678
+ mainAxis: h,
4679
4679
  crossAxis: 0,
4680
4680
  alignmentAxis: null
4681
4681
  } : L({
4682
4682
  mainAxis: 0,
4683
4683
  crossAxis: 0,
4684
4684
  alignmentAxis: null
4685
- }, g);
4686
- return l && typeof h == "number" && (f = l === "end" ? h * -1 : h), c ? {
4687
- x: f * d,
4685
+ }, h);
4686
+ return l && typeof g == "number" && (d = l === "end" ? g * -1 : g), c ? {
4687
+ x: d * f,
4688
4688
  y: p * u
4689
4689
  } : {
4690
4690
  x: p * u,
4691
- y: f * d
4691
+ y: d * f
4692
4692
  };
4693
4693
  });
4694
4694
  }
@@ -4697,7 +4697,7 @@ const Ni = function(e) {
4697
4697
  name: "offset",
4698
4698
  options: e,
4699
4699
  fn(r) {
4700
- return he(this, null, function* () {
4700
+ return me(this, null, function* () {
4701
4701
  var n, o;
4702
4702
  const {
4703
4703
  x: a,
@@ -4720,7 +4720,7 @@ const Ni = function(e) {
4720
4720
  name: "shift",
4721
4721
  options: e,
4722
4722
  fn(r) {
4723
- return he(this, null, function* () {
4723
+ return me(this, null, function* () {
4724
4724
  const {
4725
4725
  x: n,
4726
4726
  y: o,
@@ -4740,25 +4740,25 @@ const Ni = function(e) {
4740
4740
  };
4741
4741
  }
4742
4742
  }
4743
- } = x, u = ge(x, [
4743
+ } = x, u = he(x, [
4744
4744
  "mainAxis",
4745
4745
  "crossAxis",
4746
4746
  "limiter"
4747
- ]), d = {
4747
+ ]), f = {
4748
4748
  x: n,
4749
4749
  y: o
4750
- }, g = yield Zt(r, u), p = Pe(ze(a)), f = gn(p);
4751
- let h = d[f], m = d[p];
4750
+ }, h = yield Zt(r, u), p = Pe(ze(a)), d = gn(p);
4751
+ let g = f[d], m = f[p];
4752
4752
  if (i) {
4753
- const w = f === "y" ? "top" : "left", S = f === "y" ? "bottom" : "right", E = h + g[w], z = h - g[S];
4754
- h = Lr(E, h, z);
4753
+ const w = d === "y" ? "top" : "left", S = d === "y" ? "bottom" : "right", E = g + h[w], z = g - h[S];
4754
+ g = Lr(E, g, z);
4755
4755
  }
4756
4756
  if (l) {
4757
- const w = p === "y" ? "top" : "left", S = p === "y" ? "bottom" : "right", E = m + g[w], z = m - g[S];
4757
+ const w = p === "y" ? "top" : "left", S = p === "y" ? "bottom" : "right", E = m + h[w], z = m - h[S];
4758
4758
  m = Lr(E, m, z);
4759
4759
  }
4760
4760
  const y = c.fn($(L({}, r), {
4761
- [f]: h,
4761
+ [d]: g,
4762
4762
  [p]: m
4763
4763
  }));
4764
4764
  return $(L({}, y), {
@@ -4775,7 +4775,7 @@ const Ni = function(e) {
4775
4775
  name: "size",
4776
4776
  options: e,
4777
4777
  fn(r) {
4778
- return he(this, null, function* () {
4778
+ return me(this, null, function* () {
4779
4779
  const {
4780
4780
  placement: n,
4781
4781
  rects: o,
@@ -4784,26 +4784,26 @@ const Ni = function(e) {
4784
4784
  } = r, J = Qe(e, r), {
4785
4785
  apply: l = () => {
4786
4786
  }
4787
- } = J, c = ge(J, [
4787
+ } = J, c = he(J, [
4788
4788
  "apply"
4789
- ]), u = yield Zt(r, c), d = ze(n), g = et(n), p = Pe(n) === "y", {
4790
- width: f,
4791
- height: h
4789
+ ]), u = yield Zt(r, c), f = ze(n), h = et(n), p = Pe(n) === "y", {
4790
+ width: d,
4791
+ height: g
4792
4792
  } = o.floating;
4793
4793
  let m, y;
4794
- d === "top" || d === "bottom" ? (m = d, y = g === ((yield a.isRTL == null ? void 0 : a.isRTL(i.floating)) ? "start" : "end") ? "left" : "right") : (y = d, m = g === "end" ? "top" : "bottom");
4795
- const x = h - u.top - u.bottom, w = f - u.left - u.right, S = Se(h - u[m], x), E = Se(f - u[y], w), z = !r.middlewareData.shift;
4794
+ f === "top" || f === "bottom" ? (m = f, y = h === ((yield a.isRTL == null ? void 0 : a.isRTL(i.floating)) ? "start" : "end") ? "left" : "right") : (y = f, m = h === "end" ? "top" : "bottom");
4795
+ const x = g - u.top - u.bottom, w = d - u.left - u.right, S = Se(g - u[m], x), E = Se(d - u[y], w), z = !r.middlewareData.shift;
4796
4796
  let H = S, N = E;
4797
- if (p ? N = g || z ? Se(E, w) : w : H = g || z ? Se(S, x) : x, z && !g) {
4797
+ if (p ? N = h || z ? Se(E, w) : w : H = h || z ? Se(S, x) : x, z && !h) {
4798
4798
  const U = le(u.left, 0), V = le(u.right, 0), _ = le(u.top, 0), q = le(u.bottom, 0);
4799
- p ? N = f - 2 * (U !== 0 || V !== 0 ? U + V : le(u.left, u.right)) : H = h - 2 * (_ !== 0 || q !== 0 ? _ + q : le(u.top, u.bottom));
4799
+ p ? N = d - 2 * (U !== 0 || V !== 0 ? U + V : le(u.left, u.right)) : H = g - 2 * (_ !== 0 || q !== 0 ? _ + q : le(u.top, u.bottom));
4800
4800
  }
4801
4801
  yield l($(L({}, r), {
4802
4802
  availableWidth: N,
4803
4803
  availableHeight: H
4804
4804
  }));
4805
4805
  const G = yield a.getDimensions(i.floating);
4806
- return f !== G.width || h !== G.height ? {
4806
+ return d !== G.width || g !== G.height ? {
4807
4807
  reset: {
4808
4808
  rects: !0
4809
4809
  }
@@ -4813,7 +4813,7 @@ const Ni = function(e) {
4813
4813
  };
4814
4814
  };
4815
4815
  function wn(e) {
4816
- const t = ue(e);
4816
+ const t = de(e);
4817
4817
  let r = parseFloat(t.width) || 0, n = parseFloat(t.height) || 0;
4818
4818
  const o = ae(e), a = o ? e.offsetWidth : r, i = o ? e.offsetHeight : n, l = dt(r) !== a || dt(n) !== i;
4819
4819
  return l && (r = a, n = i), {
@@ -4857,18 +4857,18 @@ function _e(e, t, r, n) {
4857
4857
  let i = ke(1);
4858
4858
  t && (n ? X(n) && (i = je(n)) : i = je(e));
4859
4859
  const l = Gi(a, r, n) ? Rn(a) : ke(0);
4860
- 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;
4860
+ let c = (o.left + l.x) / i.x, u = (o.top + l.y) / i.y, f = o.width / i.x, h = o.height / i.y;
4861
4861
  if (a) {
4862
- const p = ie(a), f = n && X(n) ? ie(n) : n;
4863
- let h = p, m = h.frameElement;
4864
- for (; m && n && f !== h; ) {
4865
- const y = je(m), x = m.getBoundingClientRect(), w = ue(m), S = x.left + (m.clientLeft + parseFloat(w.paddingLeft)) * y.x, E = x.top + (m.clientTop + parseFloat(w.paddingTop)) * y.y;
4866
- c *= y.x, u *= y.y, d *= y.x, g *= y.y, c += S, u += E, h = ie(m), m = h.frameElement;
4862
+ const p = ie(a), d = n && X(n) ? ie(n) : n;
4863
+ let g = p, m = g.frameElement;
4864
+ for (; m && n && d !== g; ) {
4865
+ const y = je(m), x = m.getBoundingClientRect(), w = de(m), S = x.left + (m.clientLeft + parseFloat(w.paddingLeft)) * y.x, E = x.top + (m.clientTop + parseFloat(w.paddingTop)) * y.y;
4866
+ c *= y.x, u *= y.y, f *= y.x, h *= y.y, c += S, u += E, g = ie(m), m = g.frameElement;
4867
4867
  }
4868
4868
  }
4869
4869
  return gt({
4870
- width: d,
4871
- height: g,
4870
+ width: f,
4871
+ height: h,
4872
4872
  x: c,
4873
4873
  y: u
4874
4874
  });
@@ -4887,16 +4887,16 @@ function Ui(e) {
4887
4887
  scrollLeft: 0,
4888
4888
  scrollTop: 0
4889
4889
  }, u = ke(1);
4890
- const d = ke(0), g = ae(n);
4891
- if ((g || !g && !a) && ((Ne(n) !== "body" || Ze(i)) && (c = xt(n)), ae(n))) {
4890
+ const f = ke(0), h = ae(n);
4891
+ if ((h || !h && !a) && ((Ne(n) !== "body" || Ze(i)) && (c = xt(n)), ae(n))) {
4892
4892
  const p = _e(n);
4893
- u = je(n), d.x = p.x + n.clientLeft, d.y = p.y + n.clientTop;
4893
+ u = je(n), f.x = p.x + n.clientLeft, f.y = p.y + n.clientTop;
4894
4894
  }
4895
4895
  return {
4896
4896
  width: r.width * u.x,
4897
4897
  height: r.height * u.y,
4898
- x: r.x * u.x - c.scrollLeft * u.x + d.x,
4899
- y: r.y * u.y - c.scrollTop * u.y + d.y
4898
+ x: r.x * u.x - c.scrollLeft * u.x + f.x,
4899
+ y: r.y * u.y - c.scrollTop * u.y + f.y
4900
4900
  };
4901
4901
  }
4902
4902
  function qi(e) {
@@ -4909,7 +4909,7 @@ function Yi(e) {
4909
4909
  const t = be(e), r = xt(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);
4910
4910
  let i = -r.scrollLeft + En(e);
4911
4911
  const l = -r.scrollTop;
4912
- return ue(n).direction === "rtl" && (i += le(t.clientWidth, n.clientWidth) - o), {
4912
+ return de(n).direction === "rtl" && (i += le(t.clientWidth, n.clientWidth) - o), {
4913
4913
  width: o,
4914
4914
  height: a,
4915
4915
  x: i,
@@ -4959,18 +4959,18 @@ function Ar(e, t, r) {
4959
4959
  }
4960
4960
  function Sn(e, t) {
4961
4961
  const r = ve(e);
4962
- return r === t || !X(r) || Te(r) ? !1 : ue(r).position === "fixed" || Sn(r, t);
4962
+ return r === t || !X(r) || Te(r) ? !1 : de(r).position === "fixed" || Sn(r, t);
4963
4963
  }
4964
4964
  function Ji(e, t) {
4965
4965
  const r = t.get(e);
4966
4966
  if (r)
4967
4967
  return r;
4968
4968
  let n = Ce(e, [], !1).filter((l) => X(l) && Ne(l) !== "body"), o = null;
4969
- const a = ue(e).position === "fixed";
4969
+ const a = de(e).position === "fixed";
4970
4970
  let i = a ? ve(e) : e;
4971
4971
  for (; X(i) && !Te(i); ) {
4972
- const l = ue(i), c = Xt(i);
4973
- !c && l.position === "fixed" && (o = null), (a ? !c && !o : !c && l.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || Ze(i) && !c && Sn(e, i)) ? n = n.filter((d) => d !== i) : o = l, i = ve(i);
4972
+ const l = de(i), c = Xt(i);
4973
+ !c && l.position === "fixed" && (o = null), (a ? !c && !o : !c && l.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || Ze(i) && !c && Sn(e, i)) ? n = n.filter((f) => f !== i) : o = l, i = ve(i);
4974
4974
  }
4975
4975
  return t.set(e, n), n;
4976
4976
  }
@@ -4981,9 +4981,9 @@ function Zi(e) {
4981
4981
  rootBoundary: n,
4982
4982
  strategy: o
4983
4983
  } = e;
4984
- const i = [...r === "clippingAncestors" ? bt(t) ? [] : Ji(t, this._c) : [].concat(r), n], l = i[0], c = i.reduce((u, d) => {
4985
- const g = Ar(t, d, o);
4986
- 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;
4984
+ const i = [...r === "clippingAncestors" ? bt(t) ? [] : Ji(t, this._c) : [].concat(r), n], l = i[0], c = i.reduce((u, f) => {
4985
+ const h = Ar(t, f, o);
4986
+ return u.top = le(h.top, u.top), u.right = Se(h.right, u.right), u.bottom = Se(h.bottom, u.bottom), u.left = le(h.left, u.left), u;
4987
4987
  }, Ar(t, l, o));
4988
4988
  return {
4989
4989
  width: c.right - c.left,
@@ -5011,22 +5011,22 @@ function ea(e, t, r) {
5011
5011
  const c = ke(0);
5012
5012
  if (n || !n && !a)
5013
5013
  if ((Ne(t) !== "body" || Ze(o)) && (l = xt(t)), n) {
5014
- const g = _e(t, !0, a, t);
5015
- c.x = g.x + t.clientLeft, c.y = g.y + t.clientTop;
5014
+ const h = _e(t, !0, a, t);
5015
+ c.x = h.x + t.clientLeft, c.y = h.y + t.clientTop;
5016
5016
  } else o && (c.x = En(o));
5017
- const u = i.left + l.scrollLeft - c.x, d = i.top + l.scrollTop - c.y;
5017
+ const u = i.left + l.scrollLeft - c.x, f = i.top + l.scrollTop - c.y;
5018
5018
  return {
5019
5019
  x: u,
5020
- y: d,
5020
+ y: f,
5021
5021
  width: i.width,
5022
5022
  height: i.height
5023
5023
  };
5024
5024
  }
5025
5025
  function Mt(e) {
5026
- return ue(e).position === "static";
5026
+ return de(e).position === "static";
5027
5027
  }
5028
5028
  function Hr(e, t) {
5029
- return !ae(e) || ue(e).position === "fixed" ? null : t ? t(e) : e.offsetParent;
5029
+ return !ae(e) || de(e).position === "fixed" ? null : t ? t(e) : e.offsetParent;
5030
5030
  }
5031
5031
  function Cn(e, t) {
5032
5032
  const r = ie(e);
@@ -5047,7 +5047,7 @@ function Cn(e, t) {
5047
5047
  return n && Te(n) && Mt(n) && !Xt(n) ? r : n || ii(e) || r;
5048
5048
  }
5049
5049
  const ta = function(e) {
5050
- return he(this, null, function* () {
5050
+ return me(this, null, function* () {
5051
5051
  const t = this.getOffsetParent || Cn, r = this.getDimensions, n = yield r(e.floating);
5052
5052
  return {
5053
5053
  reference: ea(e.reference, yield t(e.floating), e.strategy),
@@ -5061,7 +5061,7 @@ const ta = function(e) {
5061
5061
  });
5062
5062
  };
5063
5063
  function ra(e) {
5064
- return ue(e).direction === "rtl";
5064
+ return de(e).direction === "rtl";
5065
5065
  }
5066
5066
  const na = {
5067
5067
  convertOffsetParentRelativeRectToViewportRelativeRect: Ui,
@@ -5086,14 +5086,14 @@ function oa(e, t) {
5086
5086
  l === void 0 && (l = !1), c === void 0 && (c = 1), a();
5087
5087
  const {
5088
5088
  left: u,
5089
- top: d,
5090
- width: g,
5089
+ top: f,
5090
+ width: h,
5091
5091
  height: p
5092
5092
  } = e.getBoundingClientRect();
5093
- if (l || t(), !g || !p)
5093
+ if (l || t(), !h || !p)
5094
5094
  return;
5095
- const f = lt(d), h = lt(o.clientWidth - (u + g)), m = lt(o.clientHeight - (d + p)), y = lt(u), w = {
5096
- rootMargin: -f + "px " + -h + "px " + -m + "px " + -y + "px",
5095
+ const d = lt(f), g = lt(o.clientWidth - (u + h)), m = lt(o.clientHeight - (f + p)), y = lt(u), w = {
5096
+ rootMargin: -d + "px " + -g + "px " + -m + "px " + -y + "px",
5097
5097
  threshold: le(0, Se(1, c)) || 1
5098
5098
  };
5099
5099
  let S = !0;
@@ -5128,32 +5128,32 @@ function ia(e, t, r, n) {
5128
5128
  elementResize: i = typeof ResizeObserver == "function",
5129
5129
  layoutShift: l = typeof IntersectionObserver == "function",
5130
5130
  animationFrame: c = !1
5131
- } = n, u = Qt(e), d = o || a ? [...u ? Ce(u) : [], ...Ce(t)] : [];
5132
- d.forEach((x) => {
5131
+ } = n, u = Qt(e), f = o || a ? [...u ? Ce(u) : [], ...Ce(t)] : [];
5132
+ f.forEach((x) => {
5133
5133
  o && x.addEventListener("scroll", r, {
5134
5134
  passive: !0
5135
5135
  }), a && x.addEventListener("resize", r);
5136
5136
  });
5137
- const g = u && l ? oa(u, r) : null;
5138
- let p = -1, f = null;
5139
- i && (f = new ResizeObserver((x) => {
5137
+ const h = u && l ? oa(u, r) : null;
5138
+ let p = -1, d = null;
5139
+ i && (d = new ResizeObserver((x) => {
5140
5140
  let [w] = x;
5141
- w && w.target === u && f && (f.unobserve(t), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
5141
+ w && w.target === u && d && (d.unobserve(t), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
5142
5142
  var S;
5143
- (S = f) == null || S.observe(t);
5143
+ (S = d) == null || S.observe(t);
5144
5144
  })), r();
5145
- }), u && !c && f.observe(u), f.observe(t));
5146
- let h, m = c ? _e(e) : null;
5145
+ }), u && !c && d.observe(u), d.observe(t));
5146
+ let g, m = c ? _e(e) : null;
5147
5147
  c && y();
5148
5148
  function y() {
5149
5149
  const x = _e(e);
5150
- m && (x.x !== m.x || x.y !== m.y || x.width !== m.width || x.height !== m.height) && r(), m = x, h = requestAnimationFrame(y);
5150
+ m && (x.x !== m.x || x.y !== m.y || x.width !== m.width || x.height !== m.height) && r(), m = x, g = requestAnimationFrame(y);
5151
5151
  }
5152
5152
  return r(), () => {
5153
5153
  var x;
5154
- d.forEach((w) => {
5154
+ f.forEach((w) => {
5155
5155
  o && w.removeEventListener("scroll", r), a && w.removeEventListener("resize", r);
5156
- }), g == null || g(), (x = f) == null || x.disconnect(), f = null, c && cancelAnimationFrame(h);
5156
+ }), h == null || h(), (x = d) == null || x.disconnect(), d = null, c && cancelAnimationFrame(g);
5157
5157
  };
5158
5158
  }
5159
5159
  const aa = Ni, la = Ii, sa = Di, ca = $i, ua = (e, t, r) => {
@@ -5224,20 +5224,20 @@ function da(e) {
5224
5224
  transform: l = !0,
5225
5225
  whileElementsMounted: c,
5226
5226
  open: u
5227
- } = e, [d, g] = v.useState({
5227
+ } = e, [f, h] = v.useState({
5228
5228
  x: 0,
5229
5229
  y: 0,
5230
5230
  strategy: r,
5231
5231
  placement: t,
5232
5232
  middlewareData: {},
5233
5233
  isPositioned: !1
5234
- }), [p, f] = v.useState(n);
5235
- pt(p, n) || f(n);
5236
- const [h, m] = v.useState(null), [y, x] = v.useState(null), w = v.useCallback((M) => {
5234
+ }), [p, d] = v.useState(n);
5235
+ pt(p, n) || d(n);
5236
+ const [g, m] = v.useState(null), [y, x] = v.useState(null), w = v.useCallback((M) => {
5237
5237
  M !== H.current && (H.current = M, m(M));
5238
5238
  }, []), S = v.useCallback((M) => {
5239
5239
  M !== N.current && (N.current = M, x(M));
5240
- }, []), E = a || h, z = i || y, H = v.useRef(null), N = v.useRef(null), G = v.useRef(d), J = c != null, U = Or(c), V = Or(o), _ = v.useCallback(() => {
5240
+ }, []), E = a || g, z = i || y, H = v.useRef(null), N = v.useRef(null), G = v.useRef(f), J = c != null, U = Or(c), V = Or(o), _ = v.useCallback(() => {
5241
5241
  if (!H.current || !N.current)
5242
5242
  return;
5243
5243
  const M = {
@@ -5250,12 +5250,12 @@ function da(e) {
5250
5250
  isPositioned: !0
5251
5251
  });
5252
5252
  q.current && !pt(G.current, I) && (G.current = I, Kr.flushSync(() => {
5253
- g(I);
5253
+ h(I);
5254
5254
  }));
5255
5255
  });
5256
5256
  }, [p, t, r, V]);
5257
5257
  st(() => {
5258
- u === !1 && G.current.isPositioned && (G.current.isPositioned = !1, g((M) => $(L({}, M), {
5258
+ u === !1 && G.current.isPositioned && (G.current.isPositioned = !1, h((M) => $(L({}, M), {
5259
5259
  isPositioned: !1
5260
5260
  })));
5261
5261
  }, [u]);
@@ -5285,7 +5285,7 @@ function da(e) {
5285
5285
  };
5286
5286
  if (!k.floating)
5287
5287
  return M;
5288
- const P = Wr(k.floating, d.x), I = Wr(k.floating, d.y);
5288
+ const P = Wr(k.floating, f.x), I = Wr(k.floating, f.y);
5289
5289
  return l ? L($(L({}, M), {
5290
5290
  transform: "translate(" + P + "px, " + I + "px)"
5291
5291
  }), Tn(k.floating) >= 1.5 && {
@@ -5295,13 +5295,13 @@ function da(e) {
5295
5295
  left: P,
5296
5296
  top: I
5297
5297
  };
5298
- }, [r, l, k.floating, d.x, d.y]);
5299
- return v.useMemo(() => $(L({}, d), {
5298
+ }, [r, l, k.floating, f.x, f.y]);
5299
+ return v.useMemo(() => $(L({}, f), {
5300
5300
  update: _,
5301
5301
  refs: A,
5302
5302
  elements: k,
5303
5303
  floatingStyles: T
5304
- }), [d, _, A, k, T]);
5304
+ }), [f, _, A, k, T]);
5305
5305
  }
5306
5306
  const fa = (e, t) => $(L({}, aa(e)), {
5307
5307
  options: [e, t]
@@ -5325,7 +5325,7 @@ function Re(e) {
5325
5325
  return t.current == null ? void 0 : t.current(...n);
5326
5326
  }, []);
5327
5327
  }
5328
- var de = typeof document != "undefined" ? Yr : Je;
5328
+ var fe = typeof document != "undefined" ? Yr : Je;
5329
5329
  function Ut() {
5330
5330
  return Ut = Object.assign ? Object.assign.bind() : function(e) {
5331
5331
  for (var t = 1; t < arguments.length; t++) {
@@ -5344,7 +5344,7 @@ const Fr = () => (
5344
5344
  );
5345
5345
  function xa() {
5346
5346
  const [e, t] = v.useState(() => jr ? Fr() : void 0);
5347
- return de(() => {
5347
+ return fe(() => {
5348
5348
  e == null && t(Fr());
5349
5349
  }, []), v.useEffect(() => {
5350
5350
  jr = !0;
@@ -5387,7 +5387,7 @@ function tt(e) {
5387
5387
  }
5388
5388
  function Pt(e) {
5389
5389
  const t = po(e);
5390
- return de(() => {
5390
+ return fe(() => {
5391
5391
  t.current = e;
5392
5392
  }), t;
5393
5393
  }
@@ -5407,10 +5407,10 @@ function el(e, t) {
5407
5407
  enabled: l = !0,
5408
5408
  delay: c = 0,
5409
5409
  handleClose: u = null,
5410
- mouseOnly: d = !1,
5411
- restMs: g = 0,
5410
+ mouseOnly: f = !1,
5411
+ restMs: h = 0,
5412
5412
  move: p = !0
5413
- } = t, f = rr(), h = tr(), m = Pt(u), y = Pt(c), x = Pt(r), w = v.useRef(), S = v.useRef(-1), E = v.useRef(), z = v.useRef(-1), H = v.useRef(!0), N = v.useRef(!1), G = v.useRef(() => {
5413
+ } = t, d = rr(), g = tr(), m = Pt(u), y = Pt(c), x = Pt(r), w = v.useRef(), S = v.useRef(-1), E = v.useRef(), z = v.useRef(-1), H = v.useRef(!0), N = v.useRef(!1), G = v.useRef(() => {
5414
5414
  }), J = v.useCallback(() => {
5415
5415
  var k;
5416
5416
  const T = (k = o.current.openEvent) == null ? void 0 : k.type;
@@ -5455,7 +5455,7 @@ function el(e, t) {
5455
5455
  return o.current.openEvent ? ["click", "mousedown"].includes(o.current.openEvent.type) : !1;
5456
5456
  }
5457
5457
  function T(W) {
5458
- if (clearTimeout(S.current), H.current = !1, d && !Ke(w.current) || g > 0 && !_t(y.current, "open"))
5458
+ if (clearTimeout(S.current), H.current = !1, f && !Ke(w.current) || h > 0 && !_t(y.current, "open"))
5459
5459
  return;
5460
5460
  const F = _t(y.current, "open", w.current);
5461
5461
  F ? S.current = window.setTimeout(() => {
@@ -5468,7 +5468,7 @@ function el(e, t) {
5468
5468
  const F = Ee(i.floating);
5469
5469
  if (clearTimeout(z.current), m.current && o.current.floatingContext) {
5470
5470
  r || clearTimeout(S.current), E.current = m.current($(L({}, o.current.floatingContext), {
5471
- tree: f,
5471
+ tree: d,
5472
5472
  x: W.clientX,
5473
5473
  y: W.clientY,
5474
5474
  onClose() {
@@ -5485,7 +5485,7 @@ function el(e, t) {
5485
5485
  }
5486
5486
  function P(W) {
5487
5487
  k() || o.current.floatingContext && (m.current == null || m.current($(L({}, o.current.floatingContext), {
5488
- tree: f,
5488
+ tree: d,
5489
5489
  x: W.clientX,
5490
5490
  y: W.clientY,
5491
5491
  onClose() {
@@ -5503,7 +5503,7 @@ function el(e, t) {
5503
5503
  r && W.removeEventListener("mouseleave", P), (F = i.floating) == null || F.removeEventListener("mouseleave", P), p && W.removeEventListener("mousemove", T), W.removeEventListener("mouseenter", T), W.removeEventListener("mouseleave", M);
5504
5504
  };
5505
5505
  }
5506
- }, [i, l, e, d, g, p, U, V, _, n, r, x, f, y, m, o]), de(() => {
5506
+ }, [i, l, e, f, h, p, U, V, _, n, r, x, d, y, m, o]), fe(() => {
5507
5507
  var k;
5508
5508
  if (l && r && (k = m.current) != null && k.__options.blockPointerEvents && J()) {
5509
5509
  const M = Ee(i.floating).body;
@@ -5511,13 +5511,13 @@ function el(e, t) {
5511
5511
  const P = i.floating;
5512
5512
  if (X(i.domReference) && P) {
5513
5513
  var T;
5514
- const I = i.domReference, W = f == null || (T = f.nodesRef.current.find((F) => F.id === h)) == null || (T = T.context) == null ? void 0 : T.elements.floating;
5514
+ const I = i.domReference, W = d == null || (T = d.nodesRef.current.find((F) => F.id === g)) == null || (T = T.context) == null ? void 0 : T.elements.floating;
5515
5515
  return W && (W.style.pointerEvents = ""), I.style.pointerEvents = "auto", P.style.pointerEvents = "auto", () => {
5516
5516
  I.style.pointerEvents = "", P.style.pointerEvents = "";
5517
5517
  };
5518
5518
  }
5519
5519
  }
5520
- }, [l, r, h, i, f, m, J]), de(() => {
5520
+ }, [l, r, g, i, d, m, J]), fe(() => {
5521
5521
  r || (w.current = void 0, V(), _());
5522
5522
  }, [r, V, _]), v.useEffect(() => () => {
5523
5523
  V(), clearTimeout(S.current), clearTimeout(z.current), _();
@@ -5536,10 +5536,10 @@ function el(e, t) {
5536
5536
  function P() {
5537
5537
  !H.current && !x.current && n(!0, M, "hover");
5538
5538
  }
5539
- d && !Ke(w.current) || r || g === 0 || (clearTimeout(z.current), w.current === "touch" ? P() : z.current = window.setTimeout(P, g));
5539
+ f && !Ke(w.current) || r || h === 0 || (clearTimeout(z.current), w.current === "touch" ? P() : z.current = window.setTimeout(P, h));
5540
5540
  }
5541
5541
  };
5542
- }, [d, n, r, x, g]), A = v.useMemo(() => ({
5542
+ }, [f, n, r, x, h]), A = v.useMemo(() => ({
5543
5543
  onMouseEnter() {
5544
5544
  clearTimeout(S.current);
5545
5545
  },
@@ -5622,7 +5622,7 @@ function Br(e) {
5622
5622
  }
5623
5623
  const Nr = /* @__PURE__ */ v.forwardRef(function(t, r) {
5624
5624
  const [n, o] = v.useState();
5625
- de(() => (dn() && o("button"), document.addEventListener("keydown", Br), () => {
5625
+ fe(() => (dn() && o("button"), document.addEventListener("keydown", Br), () => {
5626
5626
  document.removeEventListener("keydown", Br);
5627
5627
  }), []);
5628
5628
  const a = {
@@ -5642,24 +5642,24 @@ function Ma(e) {
5642
5642
  id: t,
5643
5643
  root: r
5644
5644
  } = e, n = er(), o = _a(), [a, i] = v.useState(null), l = v.useRef(null);
5645
- return de(() => () => {
5645
+ return fe(() => () => {
5646
5646
  a == null || a.remove(), queueMicrotask(() => {
5647
5647
  l.current = null;
5648
5648
  });
5649
- }, [a]), de(() => {
5649
+ }, [a]), fe(() => {
5650
5650
  if (!n || l.current) return;
5651
5651
  const c = t ? document.getElementById(t) : null;
5652
5652
  if (!c) return;
5653
5653
  const u = document.createElement("div");
5654
5654
  u.id = n, u.setAttribute(Ir, ""), c.appendChild(u), l.current = u, i(u);
5655
- }, [t, n]), de(() => {
5655
+ }, [t, n]), fe(() => {
5656
5656
  if (!n || l.current) return;
5657
5657
  let c = r || (o == null ? void 0 : o.portalNode);
5658
5658
  c && !X(c) && (c = c.current), c = c || document.body;
5659
5659
  let u = null;
5660
5660
  t && (u = document.createElement("div"), u.id = t, c.appendChild(u));
5661
- const d = document.createElement("div");
5662
- d.id = n, d.setAttribute(Ir, ""), c = u || c, c.appendChild(d), l.current = d, i(d);
5661
+ const f = document.createElement("div");
5662
+ f.id = n, f.setAttribute(Ir, ""), c = u || c, c.appendChild(f), l.current = f, i(f);
5663
5663
  }, [t, r, n, o]), a;
5664
5664
  }
5665
5665
  function Pa(e) {
@@ -5671,7 +5671,7 @@ function Pa(e) {
5671
5671
  } = e, a = Ma({
5672
5672
  id: r,
5673
5673
  root: n
5674
- }), [i, l] = v.useState(null), c = v.useRef(null), u = v.useRef(null), d = v.useRef(null), g = v.useRef(null), p = (
5674
+ }), [i, l] = v.useState(null), c = v.useRef(null), u = v.useRef(null), f = v.useRef(null), h = v.useRef(null), p = (
5675
5675
  // The FocusManager and therefore floating element are currently open/
5676
5676
  // rendered.
5677
5677
  !!i && // Guards are only for non-modal focus management.
@@ -5681,29 +5681,29 @@ function Pa(e) {
5681
5681
  return v.useEffect(() => {
5682
5682
  if (!a || !o || i != null && i.modal)
5683
5683
  return;
5684
- function f(h) {
5685
- a && Ht(h) && (h.type === "focusin" ? za : ka)(a);
5684
+ function d(g) {
5685
+ a && Ht(g) && (g.type === "focusin" ? za : ka)(a);
5686
5686
  }
5687
- return a.addEventListener("focusin", f, !0), a.addEventListener("focusout", f, !0), () => {
5688
- a.removeEventListener("focusin", f, !0), a.removeEventListener("focusout", f, !0);
5687
+ return a.addEventListener("focusin", d, !0), a.addEventListener("focusout", d, !0), () => {
5688
+ a.removeEventListener("focusin", d, !0), a.removeEventListener("focusout", d, !0);
5689
5689
  };
5690
5690
  }, [a, o, i == null ? void 0 : i.modal]), /* @__PURE__ */ v.createElement(Pn.Provider, {
5691
5691
  value: v.useMemo(() => ({
5692
5692
  preserveTabOrder: o,
5693
5693
  beforeOutsideRef: c,
5694
5694
  afterOutsideRef: u,
5695
- beforeInsideRef: d,
5696
- afterInsideRef: g,
5695
+ beforeInsideRef: f,
5696
+ afterInsideRef: h,
5697
5697
  portalNode: a,
5698
5698
  setFocusManagerState: l
5699
5699
  }), [o, a])
5700
5700
  }, p && a && /* @__PURE__ */ v.createElement(Nr, {
5701
5701
  "data-type": "outside",
5702
5702
  ref: c,
5703
- onFocus: (f) => {
5704
- if (Ht(f, a)) {
5705
- var h;
5706
- (h = d.current) == null || h.focus();
5703
+ onFocus: (d) => {
5704
+ if (Ht(d, a)) {
5705
+ var g;
5706
+ (g = f.current) == null || g.focus();
5707
5707
  } else {
5708
5708
  const m = Ta() || (i == null ? void 0 : i.refs.domReference.current);
5709
5709
  m == null || m.focus();
@@ -5715,13 +5715,13 @@ function Pa(e) {
5715
5715
  }), a && /* @__PURE__ */ Kr.createPortal(t, a), p && a && /* @__PURE__ */ v.createElement(Nr, {
5716
5716
  "data-type": "outside",
5717
5717
  ref: u,
5718
- onFocus: (f) => {
5719
- if (Ht(f, a)) {
5720
- var h;
5721
- (h = g.current) == null || h.focus();
5718
+ onFocus: (d) => {
5719
+ if (Ht(d, a)) {
5720
+ var g;
5721
+ (g = h.current) == null || g.focus();
5722
5722
  } else {
5723
5723
  const m = Ca() || (i == null ? void 0 : i.refs.domReference.current);
5724
- m == null || m.focus(), i != null && i.closeOnFocusOut && (i == null || i.onOpenChange(!1, f.nativeEvent));
5724
+ m == null || m.focus(), i != null && i.closeOnFocusOut && (i == null || i.onOpenChange(!1, d.nativeEvent));
5725
5725
  }
5726
5726
  }
5727
5727
  }));
@@ -5747,33 +5747,33 @@ function Aa(e, t) {
5747
5747
  event: l = "click",
5748
5748
  toggle: c = !0,
5749
5749
  ignoreMouse: u = !1,
5750
- keyboardHandlers: d = !0
5751
- } = t, g = v.useRef(), p = v.useRef(!1), f = v.useMemo(() => ({
5752
- onPointerDown(h) {
5753
- g.current = h.pointerType;
5750
+ keyboardHandlers: f = !0
5751
+ } = t, h = v.useRef(), p = v.useRef(!1), d = v.useMemo(() => ({
5752
+ onPointerDown(g) {
5753
+ h.current = g.pointerType;
5754
5754
  },
5755
- onMouseDown(h) {
5756
- const m = g.current;
5757
- h.button === 0 && l !== "click" && (Ke(m, !0) && u || (r && c && (!o.current.openEvent || o.current.openEvent.type === "mousedown") ? n(!1, h.nativeEvent, "click") : (h.preventDefault(), n(!0, h.nativeEvent, "click"))));
5755
+ onMouseDown(g) {
5756
+ const m = h.current;
5757
+ g.button === 0 && l !== "click" && (Ke(m, !0) && u || (r && c && (!o.current.openEvent || o.current.openEvent.type === "mousedown") ? n(!1, g.nativeEvent, "click") : (g.preventDefault(), n(!0, g.nativeEvent, "click"))));
5758
5758
  },
5759
- onClick(h) {
5760
- const m = g.current;
5761
- if (l === "mousedown" && g.current) {
5762
- g.current = void 0;
5759
+ onClick(g) {
5760
+ const m = h.current;
5761
+ if (l === "mousedown" && h.current) {
5762
+ h.current = void 0;
5763
5763
  return;
5764
5764
  }
5765
- Ke(m, !0) && u || (r && c && (!o.current.openEvent || o.current.openEvent.type === "click") ? n(!1, h.nativeEvent, "click") : n(!0, h.nativeEvent, "click"));
5765
+ Ke(m, !0) && u || (r && c && (!o.current.openEvent || o.current.openEvent.type === "click") ? n(!1, g.nativeEvent, "click") : n(!0, g.nativeEvent, "click"));
5766
5766
  },
5767
- onKeyDown(h) {
5768
- g.current = void 0, !(h.defaultPrevented || !d || $r(h)) && (h.key === " " && !Vr(a) && (h.preventDefault(), p.current = !0), h.key === "Enter" && n(!(r && c), h.nativeEvent, "click"));
5767
+ onKeyDown(g) {
5768
+ h.current = void 0, !(g.defaultPrevented || !f || $r(g)) && (g.key === " " && !Vr(a) && (g.preventDefault(), p.current = !0), g.key === "Enter" && n(!(r && c), g.nativeEvent, "click"));
5769
5769
  },
5770
- onKeyUp(h) {
5771
- h.defaultPrevented || !d || $r(h) || Vr(a) || h.key === " " && p.current && (p.current = !1, n(!(r && c), h.nativeEvent, "click"));
5770
+ onKeyUp(g) {
5771
+ g.defaultPrevented || !f || $r(g) || Vr(a) || g.key === " " && p.current && (p.current = !1, n(!(r && c), g.nativeEvent, "click"));
5772
5772
  }
5773
- }), [o, a, l, u, d, n, r, c]);
5773
+ }), [o, a, l, u, f, n, r, c]);
5774
5774
  return v.useMemo(() => i ? {
5775
- reference: f
5776
- } : {}, [i, f]);
5775
+ reference: d
5776
+ } : {}, [i, d]);
5777
5777
  }
5778
5778
  const Ha = {
5779
5779
  pointerdown: "onPointerDown",
@@ -5802,18 +5802,18 @@ function Oa(e, t) {
5802
5802
  escapeKey: l = !0,
5803
5803
  outsidePress: c = !0,
5804
5804
  outsidePressEvent: u = "pointerdown",
5805
- referencePress: d = !1,
5806
- referencePressEvent: g = "pointerdown",
5805
+ referencePress: f = !1,
5806
+ referencePressEvent: h = "pointerdown",
5807
5807
  ancestorScroll: p = !1,
5808
- bubbles: f,
5809
- capture: h
5808
+ bubbles: d,
5809
+ capture: g
5810
5810
  } = t, m = rr(), y = Re(typeof c == "function" ? c : () => !1), x = typeof c == "function" ? y : c, w = v.useRef(!1), S = v.useRef(!1), {
5811
5811
  escapeKey: E,
5812
5812
  outsidePress: z
5813
- } = Gr(f), {
5813
+ } = Gr(d), {
5814
5814
  escapeKey: H,
5815
5815
  outsidePress: N
5816
- } = Gr(h), G = Re((A) => {
5816
+ } = Gr(g), G = Re((A) => {
5817
5817
  var k;
5818
5818
  if (!r || !i || !l || A.key !== "Escape")
5819
5819
  return;
@@ -5859,8 +5859,8 @@ function Oa(e, t) {
5859
5859
  return;
5860
5860
  if (ae(P) && q) {
5861
5861
  const re = P.clientWidth > 0 && P.scrollWidth > P.clientWidth, se = P.clientHeight > 0 && P.scrollHeight > P.clientHeight;
5862
- let fe = se && A.offsetX > P.clientWidth;
5863
- if (se && ue(P).direction === "rtl" && (fe = A.offsetX <= P.offsetWidth - P.clientWidth), fe || re && A.offsetY > P.clientHeight)
5862
+ let ge = se && A.offsetX > P.clientWidth;
5863
+ if (se && de(P).direction === "rtl" && (ge = A.offsetX <= P.offsetWidth - P.clientWidth), ge || re && A.offsetY > P.clientHeight)
5864
5864
  return;
5865
5865
  }
5866
5866
  const xe = (k = a.current.floatingContext) == null ? void 0 : k.nodeId, Le = m && At(m.nodesRef.current, xe).some((re) => {
@@ -5873,8 +5873,8 @@ function Oa(e, t) {
5873
5873
  if (rt.length > 0) {
5874
5874
  let re = !0;
5875
5875
  if (rt.forEach((se) => {
5876
- var fe;
5877
- if ((fe = se.context) != null && fe.open && !se.context.dataRef.current.__outsidePressBubbles) {
5876
+ var ge;
5877
+ if ((ge = se.context) != null && ge.open && !se.context.dataRef.current.__outsidePressBubbles) {
5878
5878
  re = !1;
5879
5879
  return;
5880
5880
  }
@@ -5917,10 +5917,10 @@ function Oa(e, t) {
5917
5917
  }, [x, u]);
5918
5918
  const _ = v.useMemo(() => ({
5919
5919
  onKeyDown: G,
5920
- [Ha[g]]: (A) => {
5921
- d && n(!1, A.nativeEvent, "reference-press");
5920
+ [Ha[h]]: (A) => {
5921
+ f && n(!1, A.nativeEvent, "reference-press");
5922
5922
  }
5923
- }), [G, n, d, g]), q = v.useMemo(() => ({
5923
+ }), [G, n, f, h]), q = v.useMemo(() => ({
5924
5924
  onKeyDown: G,
5925
5925
  onMouseDown() {
5926
5926
  S.current = !0;
@@ -5944,17 +5944,17 @@ function ja(e) {
5944
5944
  elements: n
5945
5945
  } = e, o = er(), a = v.useRef({}), [i] = v.useState(() => Ra()), l = tr() != null;
5946
5946
  if (process.env.NODE_ENV !== "production") {
5947
- const f = n.reference;
5948
- f && !X(f) && wa("Cannot pass a virtual element to the `elements.reference` option,", "as it must be a real DOM element. Use `refs.setPositionReference()`", "instead.");
5947
+ const d = n.reference;
5948
+ d && !X(d) && wa("Cannot pass a virtual element to the `elements.reference` option,", "as it must be a real DOM element. Use `refs.setPositionReference()`", "instead.");
5949
5949
  }
5950
- const [c, u] = v.useState(n.reference), d = Re((f, h, m) => {
5951
- a.current.openEvent = f ? h : void 0, i.emit("openchange", {
5952
- open: f,
5953
- event: h,
5950
+ const [c, u] = v.useState(n.reference), f = Re((d, g, m) => {
5951
+ a.current.openEvent = d ? g : void 0, i.emit("openchange", {
5952
+ open: d,
5953
+ event: g,
5954
5954
  reason: m,
5955
5955
  nested: l
5956
- }), r == null || r(f, h, m);
5957
- }), g = v.useMemo(() => ({
5956
+ }), r == null || r(d, g, m);
5957
+ }), h = v.useMemo(() => ({
5958
5958
  setPositionReference: u
5959
5959
  }), []), p = v.useMemo(() => ({
5960
5960
  reference: c || n.reference || null,
@@ -5964,12 +5964,12 @@ function ja(e) {
5964
5964
  return v.useMemo(() => ({
5965
5965
  dataRef: a,
5966
5966
  open: t,
5967
- onOpenChange: d,
5967
+ onOpenChange: f,
5968
5968
  elements: p,
5969
5969
  events: i,
5970
5970
  floatingId: o,
5971
- refs: g
5972
- }), [t, d, p, i, o, g]);
5971
+ refs: h
5972
+ }), [t, f, p, i, o, h]);
5973
5973
  }
5974
5974
  function Fa(e) {
5975
5975
  e === void 0 && (e = {});
@@ -5980,45 +5980,45 @@ function Fa(e) {
5980
5980
  reference: null,
5981
5981
  floating: null
5982
5982
  }, e.elements)
5983
- })), 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 = rr();
5984
- de(() => {
5985
- d && (g.current = d);
5986
- }, [d]);
5987
- const f = da($(L({}, e), {
5983
+ })), n = e.rootContext || r, o = n.elements, [a, i] = v.useState(null), [l, c] = v.useState(null), f = (o == null ? void 0 : o.reference) || a, h = v.useRef(null), p = rr();
5984
+ fe(() => {
5985
+ f && (h.current = f);
5986
+ }, [f]);
5987
+ const d = da($(L({}, e), {
5988
5988
  elements: L(L({}, o), l && {
5989
5989
  reference: l
5990
5990
  })
5991
- })), h = v.useCallback((S) => {
5991
+ })), g = v.useCallback((S) => {
5992
5992
  const E = X(S) ? {
5993
5993
  getBoundingClientRect: () => S.getBoundingClientRect(),
5994
5994
  contextElement: S
5995
5995
  } : S;
5996
- c(E), f.refs.setReference(E);
5997
- }, [f.refs]), m = v.useCallback((S) => {
5998
- (X(S) || S === null) && (g.current = S, i(S)), (X(f.refs.reference.current) || f.refs.reference.current === null || // Don't allow setting virtual elements using the old technique back to
5996
+ c(E), d.refs.setReference(E);
5997
+ }, [d.refs]), m = v.useCallback((S) => {
5998
+ (X(S) || S === null) && (h.current = S, i(S)), (X(d.refs.reference.current) || d.refs.reference.current === null || // Don't allow setting virtual elements using the old technique back to
5999
5999
  // `null` to support `positionReference` + an unstable `reference`
6000
6000
  // callback ref.
6001
- S !== null && !X(S)) && f.refs.setReference(S);
6002
- }, [f.refs]), y = v.useMemo(() => $(L({}, f.refs), {
6001
+ S !== null && !X(S)) && d.refs.setReference(S);
6002
+ }, [d.refs]), y = v.useMemo(() => $(L({}, d.refs), {
6003
6003
  setReference: m,
6004
- setPositionReference: h,
6005
- domReference: g
6006
- }), [f.refs, m, h]), x = v.useMemo(() => $(L({}, f.elements), {
6007
- domReference: d
6008
- }), [f.elements, d]), w = v.useMemo(() => $(L(L({}, f), n), {
6004
+ setPositionReference: g,
6005
+ domReference: h
6006
+ }), [d.refs, m, g]), x = v.useMemo(() => $(L({}, d.elements), {
6007
+ domReference: f
6008
+ }), [d.elements, f]), w = v.useMemo(() => $(L(L({}, d), n), {
6009
6009
  refs: y,
6010
6010
  elements: x,
6011
6011
  nodeId: t
6012
- }), [f, y, x, t, n]);
6013
- return de(() => {
6012
+ }), [d, y, x, t, n]);
6013
+ return fe(() => {
6014
6014
  n.dataRef.current.floatingContext = w;
6015
6015
  const S = p == null ? void 0 : p.nodesRef.current.find((E) => E.id === t);
6016
6016
  S && (S.context = w);
6017
- }), v.useMemo(() => $(L({}, f), {
6017
+ }), v.useMemo(() => $(L({}, d), {
6018
6018
  context: w,
6019
6019
  refs: y,
6020
6020
  elements: x
6021
- }), [f, y, x, w]);
6021
+ }), [d, y, x, w]);
6022
6022
  }
6023
6023
  function Da(e, t) {
6024
6024
  t === void 0 && (t = {});
@@ -6031,60 +6031,60 @@ function Da(e, t) {
6031
6031
  } = e, {
6032
6032
  enabled: l = !0,
6033
6033
  visibleOnly: c = !0
6034
- } = t, u = v.useRef(!1), d = v.useRef(), g = v.useRef(!0);
6034
+ } = t, u = v.useRef(!1), f = v.useRef(), h = v.useRef(!0);
6035
6035
  v.useEffect(() => {
6036
6036
  if (!l) return;
6037
- const f = ie(i.domReference);
6038
- function h() {
6037
+ const d = ie(i.domReference);
6038
+ function g() {
6039
6039
  !r && ae(i.domReference) && i.domReference === $t(Ee(i.domReference)) && (u.current = !0);
6040
6040
  }
6041
6041
  function m() {
6042
- g.current = !0;
6042
+ h.current = !0;
6043
6043
  }
6044
- return f.addEventListener("blur", h), f.addEventListener("keydown", m, !0), () => {
6045
- f.removeEventListener("blur", h), f.removeEventListener("keydown", m, !0);
6044
+ return d.addEventListener("blur", g), d.addEventListener("keydown", m, !0), () => {
6045
+ d.removeEventListener("blur", g), d.removeEventListener("keydown", m, !0);
6046
6046
  };
6047
6047
  }, [i.domReference, r, l]), v.useEffect(() => {
6048
6048
  if (!l) return;
6049
- function f(h) {
6049
+ function d(g) {
6050
6050
  let {
6051
6051
  reason: m
6052
- } = h;
6052
+ } = g;
6053
6053
  (m === "reference-press" || m === "escape-key") && (u.current = !0);
6054
6054
  }
6055
- return o.on("openchange", f), () => {
6056
- o.off("openchange", f);
6055
+ return o.on("openchange", d), () => {
6056
+ o.off("openchange", d);
6057
6057
  };
6058
6058
  }, [o, l]), v.useEffect(() => () => {
6059
- clearTimeout(d.current);
6059
+ clearTimeout(f.current);
6060
6060
  }, []);
6061
6061
  const p = v.useMemo(() => ({
6062
- onPointerDown(f) {
6063
- ai(f.nativeEvent) || (g.current = !1);
6062
+ onPointerDown(d) {
6063
+ ai(d.nativeEvent) || (h.current = !1);
6064
6064
  },
6065
6065
  onMouseLeave() {
6066
6066
  u.current = !1;
6067
6067
  },
6068
- onFocus(f) {
6068
+ onFocus(d) {
6069
6069
  if (u.current) return;
6070
- const h = We(f.nativeEvent);
6071
- if (c && X(h))
6070
+ const g = We(d.nativeEvent);
6071
+ if (c && X(g))
6072
6072
  try {
6073
6073
  if (dn() && li()) throw Error();
6074
- if (!h.matches(":focus-visible")) return;
6074
+ if (!g.matches(":focus-visible")) return;
6075
6075
  } catch (m) {
6076
- if (!g.current && !fn(h))
6076
+ if (!h.current && !fn(g))
6077
6077
  return;
6078
6078
  }
6079
- n(!0, f.nativeEvent, "focus");
6079
+ n(!0, d.nativeEvent, "focus");
6080
6080
  },
6081
- onBlur(f) {
6081
+ onBlur(d) {
6082
6082
  u.current = !1;
6083
- const h = f.relatedTarget, m = f.nativeEvent, y = X(h) && h.hasAttribute(tt("focus-guard")) && h.getAttribute("data-type") === "outside";
6084
- d.current = window.setTimeout(() => {
6083
+ const g = d.relatedTarget, m = d.nativeEvent, y = X(g) && g.hasAttribute(tt("focus-guard")) && g.getAttribute("data-type") === "outside";
6084
+ f.current = window.setTimeout(() => {
6085
6085
  var x;
6086
6086
  const w = $t(i.domReference ? i.domReference.ownerDocument : document);
6087
- !h && w === i.domReference || De((x = a.current.floatingContext) == null ? void 0 : x.refs.floating.current, w) || De(i.domReference, w) || y || n(!1, m, "focus");
6087
+ !g && w === i.domReference || De((x = a.current.floatingContext) == null ? void 0 : x.refs.floating.current, w) || De(i.domReference, w) || y || n(!1, m, "focus");
6088
6088
  });
6089
6089
  }
6090
6090
  }), [a, i.domReference, n, c]);
@@ -6101,7 +6101,7 @@ function jt(e, t, r) {
6101
6101
  [Wt]: l,
6102
6102
  [Ot]: c
6103
6103
  } = i;
6104
- a = ge(i, [
6104
+ a = he(i, [
6105
6105
  Tt(Wt),
6106
6106
  Tt(Ot)
6107
6107
  ]);
@@ -6112,19 +6112,19 @@ function jt(e, t, r) {
6112
6112
  const c = l ? l[r] : null;
6113
6113
  return typeof c == "function" ? e ? c(e) : null : c;
6114
6114
  }).concat(e).reduce((l, c) => (c && Object.entries(c).forEach((u) => {
6115
- let [d, g] = u;
6116
- if (!(o && [Wt, Ot].includes(d)))
6117
- if (d.indexOf("on") === 0) {
6118
- if (n.has(d) || n.set(d, []), typeof g == "function") {
6115
+ let [f, h] = u;
6116
+ if (!(o && [Wt, Ot].includes(f)))
6117
+ if (f.indexOf("on") === 0) {
6118
+ if (n.has(f) || n.set(f, []), typeof h == "function") {
6119
6119
  var p;
6120
- (p = n.get(d)) == null || p.push(g), l[d] = function() {
6121
- for (var f, h = arguments.length, m = new Array(h), y = 0; y < h; y++)
6120
+ (p = n.get(f)) == null || p.push(h), l[f] = function() {
6121
+ for (var d, g = arguments.length, m = new Array(g), y = 0; y < g; y++)
6122
6122
  m[y] = arguments[y];
6123
- return (f = n.get(d)) == null ? void 0 : f.map((x) => x(...m)).find((x) => x !== void 0);
6123
+ return (d = n.get(f)) == null ? void 0 : d.map((x) => x(...m)).find((x) => x !== void 0);
6124
6124
  };
6125
6125
  }
6126
6126
  } else
6127
- l[d] = g;
6127
+ l[f] = h;
6128
6128
  }), l), {}));
6129
6129
  }
6130
6130
  function Ba(e) {
@@ -6158,7 +6158,7 @@ function Ia(e, t) {
6158
6158
  } = e, {
6159
6159
  enabled: a = !0,
6160
6160
  role: i = "dialog"
6161
- } = t, l = (r = Na.get(i)) != null ? r : i, c = er(), d = tr() != null, g = v.useMemo(() => l === "tooltip" || i === "label" ? {
6161
+ } = t, l = (r = Na.get(i)) != null ? r : i, c = er(), f = tr() != null, h = v.useMemo(() => l === "tooltip" || i === "label" ? {
6162
6162
  ["aria-" + (i === "label" ? "labelledby" : "describedby")]: n ? o : void 0
6163
6163
  } : L(L(L(L(L({
6164
6164
  "aria-expanded": n ? "true" : "false",
@@ -6168,26 +6168,26 @@ function Ia(e, t) {
6168
6168
  role: "combobox"
6169
6169
  }), l === "menu" && {
6170
6170
  id: c
6171
- }), l === "menu" && d && {
6171
+ }), l === "menu" && f && {
6172
6172
  role: "menuitem"
6173
6173
  }), i === "select" && {
6174
6174
  "aria-autocomplete": "none"
6175
6175
  }), i === "combobox" && {
6176
6176
  "aria-autocomplete": "list"
6177
- }), [l, o, d, n, c, i]), p = v.useMemo(() => {
6178
- const h = L({
6177
+ }), [l, o, f, n, c, i]), p = v.useMemo(() => {
6178
+ const g = L({
6179
6179
  id: o
6180
6180
  }, l && {
6181
6181
  role: l
6182
6182
  });
6183
- return l === "tooltip" || i === "label" ? h : L(L({}, h), l === "menu" && {
6183
+ return l === "tooltip" || i === "label" ? g : L(L({}, g), l === "menu" && {
6184
6184
  "aria-labelledby": c
6185
6185
  });
6186
- }, [l, o, c, i]), f = v.useCallback((h) => {
6186
+ }, [l, o, c, i]), d = v.useCallback((g) => {
6187
6187
  let {
6188
6188
  active: m,
6189
6189
  selected: y
6190
- } = h;
6190
+ } = g;
6191
6191
  const x = L({
6192
6192
  role: "option"
6193
6193
  }, m && {
@@ -6206,10 +6206,10 @@ function Ia(e, t) {
6206
6206
  return {};
6207
6207
  }, [o, i]);
6208
6208
  return v.useMemo(() => a ? {
6209
- reference: g,
6209
+ reference: h,
6210
6210
  floating: p,
6211
- item: f
6212
- } : {}, [a, g, p, f]);
6211
+ item: d
6212
+ } : {}, [a, h, p, d]);
6213
6213
  }
6214
6214
  const $a = {
6215
6215
  slideUp: "slideDown",
@@ -6218,7 +6218,7 @@ const $a = {
6218
6218
  slideRight: "slideLeft",
6219
6219
  fadeIn: "fadeOut"
6220
6220
  }, _n = Yt((e, t) => {
6221
- const h = e, {
6221
+ const g = e, {
6222
6222
  show: r,
6223
6223
  handleClose: n,
6224
6224
  animation: o = "slideDown",
@@ -6227,9 +6227,9 @@ const $a = {
6227
6227
  children: l,
6228
6228
  className: c,
6229
6229
  contentClassName: u,
6230
- isDismissible: d = !0,
6231
- overlayBlur: g = !1
6232
- } = h, p = ge(h, [
6230
+ isDismissible: f = !0,
6231
+ overlayBlur: h = !1
6232
+ } = g, p = he(g, [
6233
6233
  "show",
6234
6234
  "handleClose",
6235
6235
  "animation",
@@ -6240,7 +6240,7 @@ const $a = {
6240
6240
  "contentClassName",
6241
6241
  "isDismissible",
6242
6242
  "overlayBlur"
6243
- ]), f = $a[o];
6243
+ ]), d = $a[o];
6244
6244
  if (Je(() => {
6245
6245
  const m = document.documentElement;
6246
6246
  return r ? m.classList.add("modal-animated-open") : m.classList.remove("modal-animated-open"), () => {
@@ -6262,9 +6262,9 @@ const $a = {
6262
6262
  {
6263
6263
  className: oe(
6264
6264
  "modal-animated-backdrop",
6265
- g && "ds-bg-[rgba(255,255,255,0.24)] ds-backdrop-blur-[12px]"
6265
+ h && "ds-bg-[rgba(255,255,255,0.24)] ds-backdrop-blur-[12px]"
6266
6266
  ),
6267
- onClick: d ? n : void 0
6267
+ onClick: f ? n : void 0
6268
6268
  }
6269
6269
  ),
6270
6270
  /* @__PURE__ */ R.jsx(
@@ -6272,11 +6272,12 @@ const $a = {
6272
6272
  {
6273
6273
  className: ct(
6274
6274
  "modal-animated-content",
6275
- r ? o + "Open" : f + "Close",
6275
+ r ? o + "Open" : d + "Close",
6276
6276
  u
6277
6277
  ),
6278
6278
  style: m,
6279
6279
  onClick: (x) => x.stopPropagation(),
6280
+ role: "dialog",
6280
6281
  children: l
6281
6282
  }
6282
6283
  )
@@ -6293,15 +6294,17 @@ const An = Number(
6293
6294
  ), Va = Number(
6294
6295
  ut.theme.screens["ds-desktop"].min.replace("px", "")
6295
6296
  ), Ur = (e) => e < An ? "mobile" : e < Va ? "tablet" : "desktop", tl = () => {
6296
- const [e, t] = pe(document.documentElement.clientWidth), [r, n] = pe(document.documentElement.clientHeight), [o, a] = pe(Ur(document.documentElement.clientWidth));
6297
+ 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, f] = ue(o === "tablet"), [h, p] = ue(o === "desktop");
6297
6298
  return Je(() => {
6298
- const i = () => {
6299
- t(document.documentElement.clientWidth), n(document.documentElement.clientHeight), a(Ur(document.documentElement.clientWidth));
6299
+ const d = () => {
6300
+ t(document.documentElement.clientWidth), n(document.documentElement.clientHeight);
6301
+ const g = Ur(document.documentElement.clientWidth);
6302
+ c(g === "mobile"), f(g === "tablet"), p(g === "desktop"), i(g);
6300
6303
  };
6301
- return window.addEventListener("resize", i), i(), () => {
6302
- window.removeEventListener("resize", i);
6304
+ return window.addEventListener("resize", d), d(), () => {
6305
+ window.removeEventListener("resize", d);
6303
6306
  };
6304
- }, []), { documentWidth: e, documentHeight: r, screenSize: o };
6307
+ }, []), { documentWidth: e, documentHeight: r, screenSize: a, isMobile: l, isTablet: u, isDesktop: h };
6305
6308
  }, Hn = Yt(
6306
6309
  ({ label: e, isChecked: t, onSelectionChange: r, disabled: n, className: o, labelPosition: a = "right" }, i) => /* @__PURE__ */ R.jsxs(
6307
6310
  "label",
@@ -6355,8 +6358,8 @@ const qr = ({ children: e, size: t = "small" }) => /* @__PURE__ */ R.jsx(
6355
6358
  primary: "ds-rounded-sm ds-border ds-text-black ds-border-Fills-terciary ds-bg-[#F6F8FC] ds-shadow-[0px_1px_4px_0px_rgba(0,0,0,0.16)] ds-text-mediumFootnoteEmphasized",
6356
6359
  secondary: "ds-rounded-sm ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark ds-shadow-[0px_1px_4px_0px_rgba(0,0,0,0.16)] ds-text-mediumFootnoteEmphasized"
6357
6360
  }, vt = Fe.forwardRef(
6358
- (f, p) => {
6359
- var h = f, {
6361
+ (d, p) => {
6362
+ var g = d, {
6360
6363
  color: e = "primary",
6361
6364
  disabled: t = !1,
6362
6365
  className: r,
@@ -6367,8 +6370,8 @@ const qr = ({ children: e, size: t = "small" }) => /* @__PURE__ */ R.jsx(
6367
6370
  trackingId: l,
6368
6371
  helperText: c,
6369
6372
  helpterTextClassName: u,
6370
- buttonClassName: d
6371
- } = h, g = ge(h, [
6373
+ buttonClassName: f
6374
+ } = g, h = he(g, [
6372
6375
  "color",
6373
6376
  "disabled",
6374
6377
  "className",
@@ -6393,10 +6396,10 @@ const qr = ({ children: e, size: t = "small" }) => /* @__PURE__ */ R.jsx(
6393
6396
  { [Ua[e]]: a, [Ga[e]]: !a },
6394
6397
  "ds-px-2 ds-py-1",
6395
6398
  "ds-flex ds-w-full ds-flex-1 ds-items-center ds-justify-center ds-gap-1",
6396
- d
6399
+ f
6397
6400
  )
6398
6401
  )
6399
- }, g), {
6402
+ }, h), {
6400
6403
  children: [
6401
6404
  o && /* @__PURE__ */ R.jsx(qr, { children: o }),
6402
6405
  n && /* @__PURE__ */ R.jsx("div", { children: n }),
@@ -6430,9 +6433,9 @@ const qa = Yt(
6430
6433
  buttonMinWidth: l,
6431
6434
  buttonWidth: c,
6432
6435
  minSelectionError: u,
6433
- buttonsContainerClassName: d,
6434
- buttonClassName: g
6435
- } = S, p = ge(S, [
6436
+ buttonsContainerClassName: f,
6437
+ buttonClassName: h
6438
+ } = S, p = he(S, [
6436
6439
  "value",
6437
6440
  "options",
6438
6441
  "onSelectionChange",
@@ -6443,18 +6446,18 @@ const qa = Yt(
6443
6446
  "minSelectionError",
6444
6447
  "buttonsContainerClassName",
6445
6448
  "buttonClassName"
6446
- ]), [f, h] = pe([]), [m, y] = pe("");
6449
+ ]), [d, g] = ue([]), [m, y] = ue("");
6447
6450
  Je(() => {
6448
- r && r.length ? h(r) : h([]);
6451
+ r && r.length ? g(r) : g([]);
6449
6452
  }, [r]);
6450
6453
  const x = (E, z) => {
6451
6454
  z.currentTarget.blur();
6452
- const H = [...f], N = H.findIndex((G) => G.value === E.value);
6453
- N !== -1 ? H.length > 1 ? (H.splice(N, 1), y("")) : y(u) : (H.push(E), y("")), h(H), o(H);
6455
+ const H = [...d], N = H.findIndex((G) => G.value === E.value);
6456
+ N !== -1 ? H.length > 1 ? (H.splice(N, 1), y("")) : y(u) : (H.push(E), y("")), g(H), o(H);
6454
6457
  }, w = (E, z) => {
6455
6458
  z.currentTarget.blur();
6456
6459
  const H = [E];
6457
- h(H), o(H);
6460
+ g(H), o(H);
6458
6461
  };
6459
6462
  return /* @__PURE__ */ R.jsxs(
6460
6463
  "div",
@@ -6465,15 +6468,15 @@ const qa = Yt(
6465
6468
  /* @__PURE__ */ R.jsx(
6466
6469
  "div",
6467
6470
  {
6468
- className: oe("ds-flex ds-flex-wrap ds-items-center ds-gap-2", d),
6471
+ className: oe("ds-flex ds-flex-wrap ds-items-center ds-gap-2", f),
6469
6472
  children: n.length > 0 ? n.map((E, z) => E.type === "separator" ? /* @__PURE__ */ R.jsx(Fe.Fragment, { children: E.component ? E.component : /* @__PURE__ */ R.jsx("div", { className: "ds-h-full ds-min-h-[30px] ds-w-[1px] ds-bg-Fills-terciary" }) }, `separator-${z}`) : /* @__PURE__ */ R.jsx(Fe.Fragment, { children: a ? /* @__PURE__ */ R.jsx(
6470
6473
  vt,
6471
6474
  {
6472
- selected: f.some((H) => H.value === E.value),
6475
+ selected: d.some((H) => H.value === E.value),
6473
6476
  onClick: (H) => x(E, H),
6474
6477
  color: "secondary",
6475
6478
  style: { minWidth: l, width: c },
6476
- className: g,
6479
+ className: h,
6477
6480
  startIcon: E.startIcon,
6478
6481
  endIcon: E.endIcon,
6479
6482
  children: E.label
@@ -6481,11 +6484,11 @@ const qa = Yt(
6481
6484
  ) : /* @__PURE__ */ R.jsx(
6482
6485
  vt,
6483
6486
  {
6484
- selected: f.some((H) => H.value === E.value),
6487
+ selected: d.some((H) => H.value === E.value),
6485
6488
  onClick: (H) => w(E, H),
6486
6489
  color: "secondary",
6487
6490
  style: { minWidth: l, width: c },
6488
- className: g,
6491
+ className: h,
6489
6492
  startIcon: E.startIcon,
6490
6493
  endIcon: E.endIcon,
6491
6494
  children: E.label
@@ -6513,12 +6516,12 @@ const Wn = ({
6513
6516
  options: l,
6514
6517
  getSelectedValueDisplayText: c = Bn,
6515
6518
  placeholder: u,
6516
- value: d,
6517
- isMultiSelect: g,
6519
+ value: f,
6520
+ isMultiSelect: h,
6518
6521
  onChange: p
6519
6522
  }) => {
6520
- const [f, h] = pe(), m = typeof d == "undefined" ? f : d, y = typeof d == "undefined" ? h : () => {
6521
- }, [x, w] = pe(!1), { refs: S, floatingStyles: E, context: z } = Fa({
6523
+ const [d, g] = ue(), m = typeof f == "undefined" ? d : f, y = typeof f == "undefined" ? g : () => {
6524
+ }, [x, w] = ue(!1), { refs: S, floatingStyles: E, context: z } = Fa({
6522
6525
  open: x,
6523
6526
  onOpenChange: (_) => {
6524
6527
  w(_), o && o(_);
@@ -6570,7 +6573,7 @@ const Wn = ({
6570
6573
  children: /* @__PURE__ */ R.jsx(
6571
6574
  Dn,
6572
6575
  {
6573
- isMultiSelect: g,
6576
+ isMultiSelect: h,
6574
6577
  options: l,
6575
6578
  value: m,
6576
6579
  setValue: y,
@@ -6594,14 +6597,14 @@ const On = ({
6594
6597
  options: l,
6595
6598
  isMultiSelect: c,
6596
6599
  onChange: u,
6597
- closeButtonLabel: d = "Close"
6600
+ closeButtonLabel: f = "Close"
6598
6601
  }) => {
6599
- const [g, p] = pe(), f = typeof i == "undefined" ? g : i, h = typeof i == "undefined" ? p : () => {
6600
- }, [m, y] = pe(!1);
6602
+ const [h, p] = ue(), d = typeof i == "undefined" ? h : i, g = typeof i == "undefined" ? p : () => {
6603
+ }, [m, y] = ue(!1);
6601
6604
  return e || (e = /* @__PURE__ */ R.jsx(
6602
6605
  Fn,
6603
6606
  {
6604
- selectedOption: nr(f, l),
6607
+ selectedOption: nr(d, l),
6605
6608
  getSelectedValueDisplayText: o,
6606
6609
  placeholder: a
6607
6610
  }
@@ -6632,14 +6635,15 @@ const On = ({
6632
6635
  onClose: () => {
6633
6636
  y(!1), n && n(!1);
6634
6637
  },
6635
- closeButtonLabel: d,
6638
+ closeButtonLabel: f,
6639
+ isMultiSelect: c,
6636
6640
  children: /* @__PURE__ */ R.jsx(
6637
6641
  Dn,
6638
6642
  {
6639
6643
  isMultiSelect: c,
6640
6644
  options: l,
6641
- value: f,
6642
- setValue: h,
6645
+ value: d,
6646
+ setValue: g,
6643
6647
  setIsOpen: y,
6644
6648
  onChange: u
6645
6649
  }
@@ -6651,7 +6655,7 @@ const On = ({
6651
6655
  ] });
6652
6656
  };
6653
6657
  On.displayName = "MobileDropdown";
6654
- const jn = ({ onClose: e, closeButtonLabel: t, children: r }) => /* @__PURE__ */ R.jsxs("div", { className: "ds-mb-0 ds-flex ds-max-h-dvh ds-w-full ds-flex-col ds-bg-white", children: [
6658
+ const jn = ({ onClose: e, closeButtonLabel: t, children: r, isMultiSelect: n }) => /* @__PURE__ */ R.jsxs("div", { className: "ds-mb-0 ds-flex ds-max-h-dvh ds-w-full ds-flex-col ds-bg-white", children: [
6655
6659
  /* @__PURE__ */ R.jsxs("div", { className: "ds-flex ds-shrink-0 ds-items-center ds-justify-between ds-px-8 ds-py-4", children: [
6656
6660
  /* @__PURE__ */ R.jsx(
6657
6661
  "div",
@@ -6664,7 +6668,7 @@ const jn = ({ onClose: e, closeButtonLabel: t, children: r }) => /* @__PURE__ */
6664
6668
  /* @__PURE__ */ R.jsx("div", { className: "ds-size-5" })
6665
6669
  ] }),
6666
6670
  /* @__PURE__ */ R.jsx("div", { className: "ds-grow ds-overflow-y-auto ds-p-4 ds-text-xSmallCalloutRegular", children: r }),
6667
- /* @__PURE__ */ R.jsx("div", { className: "ds-px-8 ds-py-4", children: /* @__PURE__ */ R.jsx(
6671
+ n && /* @__PURE__ */ R.jsx("div", { className: "ds-px-8 ds-py-4", children: /* @__PURE__ */ R.jsx(
6668
6672
  an,
6669
6673
  {
6670
6674
  buttonClassName: "ds-py-3",