design-system-silkhaus 3.9.0 → 3.9.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.
@@ -117,7 +117,7 @@ function ao() {
117
117
  var G = b.displayName || b.name || "";
118
118
  return G !== "" ? S + "(" + G + ")" : S;
119
119
  }
120
- function A(s) {
120
+ function H(s) {
121
121
  return s.displayName || "Context";
122
122
  }
123
123
  function Y(s) {
@@ -145,10 +145,10 @@ function ao() {
145
145
  switch (s.$$typeof) {
146
146
  case l:
147
147
  var b = s;
148
- return A(b) + ".Consumer";
148
+ return H(b) + ".Consumer";
149
149
  case i:
150
150
  var S = s;
151
- return A(S._context) + ".Provider";
151
+ return H(S._context) + ".Provider";
152
152
  case c:
153
153
  return V(s, s.render, "ForwardRef");
154
154
  case g:
@@ -165,7 +165,7 @@ function ao() {
165
165
  }
166
166
  return null;
167
167
  }
168
- var H = Object.assign, T = 0, C, k, M, j, O, D, be;
168
+ var A = Object.assign, T = 0, C, k, M, j, O, D, be;
169
169
  function Le() {
170
170
  }
171
171
  Le.__reactDisabledLog = !0;
@@ -201,25 +201,25 @@ function ao() {
201
201
  writable: !0
202
202
  };
203
203
  Object.defineProperties(console, {
204
- log: H({}, s, {
204
+ log: A({}, s, {
205
205
  value: C
206
206
  }),
207
- info: H({}, s, {
207
+ info: A({}, s, {
208
208
  value: k
209
209
  }),
210
- warn: H({}, s, {
210
+ warn: A({}, s, {
211
211
  value: M
212
212
  }),
213
- error: H({}, s, {
213
+ error: A({}, s, {
214
214
  value: j
215
215
  }),
216
- group: H({}, s, {
216
+ group: A({}, s, {
217
217
  value: O
218
218
  }),
219
- groupCollapsed: H({}, s, {
219
+ groupCollapsed: A({}, s, {
220
220
  value: D
221
221
  }),
222
- groupEnd: H({}, s, {
222
+ groupEnd: A({}, s, {
223
223
  value: be
224
224
  })
225
225
  });
@@ -314,7 +314,7 @@ function ao() {
314
314
  } finally {
315
315
  bt = !1, le.current = K, re(), Error.prepareStackTrace = G;
316
316
  }
317
- var Ae = s ? s.displayName || s.name : "", ze = Ae ? je(Ae) : "";
317
+ var He = s ? s.displayName || s.name : "", ze = He ? je(He) : "";
318
318
  return typeof s == "function" && nt.set(s, ze), ze;
319
319
  }
320
320
  function Mn(s, b, S) {
@@ -380,11 +380,11 @@ function ao() {
380
380
  }
381
381
  }
382
382
  }
383
- var An = Array.isArray;
383
+ var Hn = Array.isArray;
384
384
  function xt(s) {
385
- return An(s);
385
+ return Hn(s);
386
386
  }
387
- function Hn(s) {
387
+ function An(s) {
388
388
  {
389
389
  var b = typeof Symbol == "function" && Symbol.toStringTag, S = b && s[Symbol.toStringTag] || s.constructor.name || "Object";
390
390
  return S;
@@ -402,7 +402,7 @@ function ao() {
402
402
  }
403
403
  function lr(s) {
404
404
  if (On(s))
405
- return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Hn(s)), ar(s);
405
+ return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", An(s)), ar(s);
406
406
  }
407
407
  var sr = x.ReactCurrentOwner, Wn = {
408
408
  key: !0,
@@ -628,8 +628,8 @@ Check the top-level render call using <` + S + ">.");
628
628
  if (se !== void 0)
629
629
  if (W)
630
630
  if (xt(se)) {
631
- for (var Ae = 0; Ae < se.length; Ae++)
632
- mr(se[Ae], s);
631
+ for (var He = 0; He < se.length; He++)
632
+ mr(se[He], s);
633
633
  Object.freeze && Object.freeze(se);
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.");
@@ -884,16 +884,16 @@ function Dt(e, ...t) {
884
884
  const J = (e) => {
885
885
  const t = (r) => r[e] || [];
886
886
  return t.isThemeGetter = !0, t;
887
- }, Zr = /^\[(?:([a-z-]+):)?(.+)\]$/i, yo = /^\d+\/\d+$/, wo = /* @__PURE__ */ new Set(["px", "full", "screen"]), Ro = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Eo = /\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$/, So = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Co = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, To = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, he = (e) => Oe(e) || wo.has(e) || yo.test(e), xe = (e) => Be(e, "length", Ho), Oe = (e) => !!e && !Number.isNaN(Number(e)), Ct = (e) => Be(e, "number", Oe), Ge = (e) => !!e && Number.isInteger(Number(e)), ko = (e) => e.endsWith("%") && Oe(e.slice(0, -1)), F = (e) => Zr.test(e), ye = (e) => Ro.test(e), Lo = /* @__PURE__ */ new Set(["length", "size", "percentage"]), zo = (e) => Be(e, Lo, Qr), Mo = (e) => Be(e, "position", Qr), Po = /* @__PURE__ */ new Set(["image", "url"]), _o = (e) => Be(e, Po, Wo), Ao = (e) => Be(e, "", Oo), Ue = () => !0, Be = (e, t, r) => {
887
+ }, Zr = /^\[(?:([a-z-]+):)?(.+)\]$/i, yo = /^\d+\/\d+$/, wo = /* @__PURE__ */ new Set(["px", "full", "screen"]), Ro = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Eo = /\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$/, So = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Co = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, To = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, he = (e) => Oe(e) || wo.has(e) || yo.test(e), xe = (e) => Be(e, "length", Ao), Oe = (e) => !!e && !Number.isNaN(Number(e)), Ct = (e) => Be(e, "number", Oe), Ge = (e) => !!e && Number.isInteger(Number(e)), ko = (e) => e.endsWith("%") && Oe(e.slice(0, -1)), F = (e) => Zr.test(e), ye = (e) => Ro.test(e), Lo = /* @__PURE__ */ new Set(["length", "size", "percentage"]), zo = (e) => Be(e, Lo, Qr), Mo = (e) => Be(e, "position", Qr), Po = /* @__PURE__ */ new Set(["image", "url"]), _o = (e) => Be(e, Po, Wo), Ho = (e) => Be(e, "", Oo), Ue = () => !0, Be = (e, t, r) => {
888
888
  const n = Zr.exec(e);
889
889
  return n ? n[1] ? typeof t == "string" ? n[1] === t : t.has(n[1]) : r(n[2]) : !1;
890
- }, Ho = (e) => (
890
+ }, Ao = (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
894
  Eo.test(e) && !So.test(e)
895
895
  ), Qr = () => !1, Oo = (e) => Co.test(e), Wo = (e) => To.test(e), Bt = () => {
896
- const e = J("colors"), t = J("spacing"), r = J("blur"), n = J("brightness"), o = J("borderColor"), a = J("borderRadius"), i = J("borderSpacing"), l = J("borderWidth"), c = J("contrast"), u = J("grayscale"), f = J("hueRotate"), g = J("invert"), v = J("gap"), d = J("gradientColorStops"), h = J("gradientColorStopPositions"), m = J("inset"), w = J("margin"), x = J("opacity"), y = J("padding"), E = J("saturate"), R = J("scale"), z = J("sepia"), _ = J("skew"), N = J("space"), U = J("translate"), Z = () => ["auto", "contain", "none"], q = () => ["auto", "hidden", "clip", "visible", "scroll"], V = () => ["auto", F, t], A = () => [F, t], Y = () => ["", he, xe], H = () => ["auto", Oe, F], T = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], C = () => ["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"], j = () => ["", "0", F], O = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], D = () => [Oe, F];
896
+ const e = J("colors"), t = J("spacing"), r = J("blur"), n = J("brightness"), o = J("borderColor"), a = J("borderRadius"), i = J("borderSpacing"), l = J("borderWidth"), c = J("contrast"), u = J("grayscale"), f = J("hueRotate"), g = J("invert"), v = J("gap"), d = J("gradientColorStops"), h = J("gradientColorStopPositions"), m = J("inset"), w = J("margin"), x = J("opacity"), y = J("padding"), E = J("saturate"), R = J("scale"), z = J("sepia"), _ = J("skew"), N = J("space"), U = J("translate"), Z = () => ["auto", "contain", "none"], q = () => ["auto", "hidden", "clip", "visible", "scroll"], V = () => ["auto", F, t], H = () => [F, t], Y = () => ["", he, xe], A = () => ["auto", Oe, F], T = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], C = () => ["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"], j = () => ["", "0", F], O = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], D = () => [Oe, F];
897
897
  return {
898
898
  cacheSize: 500,
899
899
  separator: ":",
@@ -904,25 +904,25 @@ const J = (e) => {
904
904
  brightness: D(),
905
905
  borderColor: [e],
906
906
  borderRadius: ["none", "", "full", ye, F],
907
- borderSpacing: A(),
907
+ borderSpacing: H(),
908
908
  borderWidth: Y(),
909
909
  contrast: D(),
910
910
  grayscale: j(),
911
911
  hueRotate: D(),
912
912
  invert: j(),
913
- gap: A(),
913
+ gap: H(),
914
914
  gradientColorStops: [e],
915
915
  gradientColorStopPositions: [ko, xe],
916
916
  inset: V(),
917
917
  margin: V(),
918
918
  opacity: D(),
919
- padding: A(),
919
+ padding: H(),
920
920
  saturate: D(),
921
921
  scale: D(),
922
922
  sepia: j(),
923
923
  skew: D(),
924
- space: A(),
925
- translate: A()
924
+ space: H(),
925
+ translate: H()
926
926
  },
927
927
  classGroups: {
928
928
  // Layout
@@ -1211,14 +1211,14 @@ const J = (e) => {
1211
1211
  * @see https://tailwindcss.com/docs/grid-column
1212
1212
  */
1213
1213
  "col-start": [{
1214
- "col-start": H()
1214
+ "col-start": A()
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": H()
1221
+ "col-end": A()
1222
1222
  }],
1223
1223
  /**
1224
1224
  * Grid Template Rows
@@ -1241,14 +1241,14 @@ const J = (e) => {
1241
1241
  * @see https://tailwindcss.com/docs/grid-row
1242
1242
  */
1243
1243
  "row-start": [{
1244
- "row-start": H()
1244
+ "row-start": A()
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": H()
1251
+ "row-end": A()
1252
1252
  }],
1253
1253
  /**
1254
1254
  * Grid Auto Flow
@@ -1753,7 +1753,7 @@ const J = (e) => {
1753
1753
  * @see https://tailwindcss.com/docs/text-indent
1754
1754
  */
1755
1755
  indent: [{
1756
- indent: A()
1756
+ indent: H()
1757
1757
  }],
1758
1758
  /**
1759
1759
  * Vertical Alignment
@@ -2266,7 +2266,7 @@ const J = (e) => {
2266
2266
  * @see https://tailwindcss.com/docs/box-shadow
2267
2267
  */
2268
2268
  shadow: [{
2269
- shadow: ["", "inner", "none", ye, Ao]
2269
+ shadow: ["", "inner", "none", ye, Ho]
2270
2270
  }],
2271
2271
  /**
2272
2272
  * Box Shadow Color
@@ -2644,126 +2644,126 @@ const J = (e) => {
2644
2644
  * @see https://tailwindcss.com/docs/scroll-margin
2645
2645
  */
2646
2646
  "scroll-m": [{
2647
- "scroll-m": A()
2647
+ "scroll-m": H()
2648
2648
  }],
2649
2649
  /**
2650
2650
  * Scroll Margin X
2651
2651
  * @see https://tailwindcss.com/docs/scroll-margin
2652
2652
  */
2653
2653
  "scroll-mx": [{
2654
- "scroll-mx": A()
2654
+ "scroll-mx": H()
2655
2655
  }],
2656
2656
  /**
2657
2657
  * Scroll Margin Y
2658
2658
  * @see https://tailwindcss.com/docs/scroll-margin
2659
2659
  */
2660
2660
  "scroll-my": [{
2661
- "scroll-my": A()
2661
+ "scroll-my": H()
2662
2662
  }],
2663
2663
  /**
2664
2664
  * Scroll Margin Start
2665
2665
  * @see https://tailwindcss.com/docs/scroll-margin
2666
2666
  */
2667
2667
  "scroll-ms": [{
2668
- "scroll-ms": A()
2668
+ "scroll-ms": H()
2669
2669
  }],
2670
2670
  /**
2671
2671
  * Scroll Margin End
2672
2672
  * @see https://tailwindcss.com/docs/scroll-margin
2673
2673
  */
2674
2674
  "scroll-me": [{
2675
- "scroll-me": A()
2675
+ "scroll-me": H()
2676
2676
  }],
2677
2677
  /**
2678
2678
  * Scroll Margin Top
2679
2679
  * @see https://tailwindcss.com/docs/scroll-margin
2680
2680
  */
2681
2681
  "scroll-mt": [{
2682
- "scroll-mt": A()
2682
+ "scroll-mt": H()
2683
2683
  }],
2684
2684
  /**
2685
2685
  * Scroll Margin Right
2686
2686
  * @see https://tailwindcss.com/docs/scroll-margin
2687
2687
  */
2688
2688
  "scroll-mr": [{
2689
- "scroll-mr": A()
2689
+ "scroll-mr": H()
2690
2690
  }],
2691
2691
  /**
2692
2692
  * Scroll Margin Bottom
2693
2693
  * @see https://tailwindcss.com/docs/scroll-margin
2694
2694
  */
2695
2695
  "scroll-mb": [{
2696
- "scroll-mb": A()
2696
+ "scroll-mb": H()
2697
2697
  }],
2698
2698
  /**
2699
2699
  * Scroll Margin Left
2700
2700
  * @see https://tailwindcss.com/docs/scroll-margin
2701
2701
  */
2702
2702
  "scroll-ml": [{
2703
- "scroll-ml": A()
2703
+ "scroll-ml": H()
2704
2704
  }],
2705
2705
  /**
2706
2706
  * Scroll Padding
2707
2707
  * @see https://tailwindcss.com/docs/scroll-padding
2708
2708
  */
2709
2709
  "scroll-p": [{
2710
- "scroll-p": A()
2710
+ "scroll-p": H()
2711
2711
  }],
2712
2712
  /**
2713
2713
  * Scroll Padding X
2714
2714
  * @see https://tailwindcss.com/docs/scroll-padding
2715
2715
  */
2716
2716
  "scroll-px": [{
2717
- "scroll-px": A()
2717
+ "scroll-px": H()
2718
2718
  }],
2719
2719
  /**
2720
2720
  * Scroll Padding Y
2721
2721
  * @see https://tailwindcss.com/docs/scroll-padding
2722
2722
  */
2723
2723
  "scroll-py": [{
2724
- "scroll-py": A()
2724
+ "scroll-py": H()
2725
2725
  }],
2726
2726
  /**
2727
2727
  * Scroll Padding Start
2728
2728
  * @see https://tailwindcss.com/docs/scroll-padding
2729
2729
  */
2730
2730
  "scroll-ps": [{
2731
- "scroll-ps": A()
2731
+ "scroll-ps": H()
2732
2732
  }],
2733
2733
  /**
2734
2734
  * Scroll Padding End
2735
2735
  * @see https://tailwindcss.com/docs/scroll-padding
2736
2736
  */
2737
2737
  "scroll-pe": [{
2738
- "scroll-pe": A()
2738
+ "scroll-pe": H()
2739
2739
  }],
2740
2740
  /**
2741
2741
  * Scroll Padding Top
2742
2742
  * @see https://tailwindcss.com/docs/scroll-padding
2743
2743
  */
2744
2744
  "scroll-pt": [{
2745
- "scroll-pt": A()
2745
+ "scroll-pt": H()
2746
2746
  }],
2747
2747
  /**
2748
2748
  * Scroll Padding Right
2749
2749
  * @see https://tailwindcss.com/docs/scroll-padding
2750
2750
  */
2751
2751
  "scroll-pr": [{
2752
- "scroll-pr": A()
2752
+ "scroll-pr": H()
2753
2753
  }],
2754
2754
  /**
2755
2755
  * Scroll Padding Bottom
2756
2756
  * @see https://tailwindcss.com/docs/scroll-padding
2757
2757
  */
2758
2758
  "scroll-pb": [{
2759
- "scroll-pb": A()
2759
+ "scroll-pb": H()
2760
2760
  }],
2761
2761
  /**
2762
2762
  * Scroll Padding Left
2763
2763
  * @see https://tailwindcss.com/docs/scroll-padding
2764
2764
  */
2765
2765
  "scroll-pl": [{
2766
- "scroll-pl": A()
2766
+ "scroll-pl": H()
2767
2767
  }],
2768
2768
  /**
2769
2769
  * Scroll Snap Align
@@ -3271,6 +3271,9 @@ const rn = {
3271
3271
  fontWeight: "var(--font-weight-bold)"
3272
3272
  }
3273
3273
  ],
3274
+ /**
3275
+ * @deprecated use `mediumSubheadRegular` instead
3276
+ */
3274
3277
  mediumSubHeadRegular: [
3275
3278
  "var(--MediumSubHead-Regular-font-size)",
3276
3279
  {
@@ -3278,6 +3281,9 @@ const rn = {
3278
3281
  fontWeight: "var(--font-weight-normal)"
3279
3282
  }
3280
3283
  ],
3284
+ /**
3285
+ * @deprecated use `mediumSubheadEmphasized` instead
3286
+ */
3281
3287
  mediumSubHeadEmphasized: [
3282
3288
  "var(--MediumSubHead-Regular-font-size)",
3283
3289
  {
@@ -3285,6 +3291,20 @@ const rn = {
3285
3291
  fontWeight: "var(--font-weight-semibold)"
3286
3292
  }
3287
3293
  ],
3294
+ mediumSubheadRegular: [
3295
+ "var(--MediumSubHead-Regular-font-size)",
3296
+ {
3297
+ lineHeight: "var(--MediumSubHead-Regular-line-height)",
3298
+ fontWeight: "var(--font-weight-normal)"
3299
+ }
3300
+ ],
3301
+ mediumSubheadEmphasized: [
3302
+ "var(--MediumSubHead-Regular-font-size)",
3303
+ {
3304
+ lineHeight: "var(--MediumSubHead-Regular-line-height)",
3305
+ fontWeight: "var(--font-weight-semibold)"
3306
+ }
3307
+ ],
3288
3308
  mediumCaption1Regular: [
3289
3309
  "var(--MediumCaption-1Regular-font-size)",
3290
3310
  {
@@ -4102,7 +4122,7 @@ function kt(e, t) {
4102
4122
  const r = e;
4103
4123
  return r.target != null && t.contains(r.target);
4104
4124
  }
4105
- function He(e) {
4125
+ function Ae(e) {
4106
4126
  return "composedPath" in e ? e.composedPath()[0] : e.target;
4107
4127
  }
4108
4128
  const Zo = "input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";
@@ -4587,8 +4607,8 @@ const Ti = function(e) {
4587
4607
  placement: a,
4588
4608
  overflows: q
4589
4609
  }], !q.every((C) => C <= 0)) {
4590
- var A, Y;
4591
- const C = (((A = i.flip) == null ? void 0 : A.index) || 0) + 1, k = U[C];
4610
+ var H, Y;
4611
+ const C = (((H = i.flip) == null ? void 0 : H.index) || 0) + 1, k = U[C];
4592
4612
  if (k)
4593
4613
  return {
4594
4614
  data: {
@@ -4603,8 +4623,8 @@ const Ti = function(e) {
4603
4623
  if (!M)
4604
4624
  switch (h) {
4605
4625
  case "bestFit": {
4606
- var H;
4607
- const j = (H = V.filter((O) => {
4626
+ var A;
4627
+ const j = (A = V.filter((O) => {
4608
4628
  if (N) {
4609
4629
  const D = Me(O.placement);
4610
4630
  return D === E || // Create a bias to the `y` side axis due to horizontal
@@ -4612,7 +4632,7 @@ const Ti = function(e) {
4612
4632
  D === "y";
4613
4633
  }
4614
4634
  return !0;
4615
- }).map((O) => [O.placement, O.overflows.filter((D) => D > 0).reduce((D, be) => D + be, 0)]).sort((O, D) => O[1] - D[1])[0]) == null ? void 0 : H[0];
4635
+ }).map((O) => [O.placement, O.overflows.filter((D) => D > 0).reduce((D, be) => D + be, 0)]).sort((O, D) => O[1] - D[1])[0]) == null ? void 0 : A[0];
4616
4636
  j && (M = j);
4617
4637
  break;
4618
4638
  }
@@ -4764,8 +4784,8 @@ const Li = function(e) {
4764
4784
  const x = h - u.top - u.bottom, y = d - u.left - u.right, E = Ee(h - u[m], x), R = Ee(d - u[w], y), z = !r.middlewareData.shift;
4765
4785
  let _ = E, N = R;
4766
4786
  if (v ? N = g || z ? Ee(R, y) : y : _ = g || z ? Ee(E, x) : x, z && !g) {
4767
- const q = ae(u.left, 0), V = ae(u.right, 0), A = ae(u.top, 0), Y = ae(u.bottom, 0);
4768
- v ? N = d - 2 * (q !== 0 || V !== 0 ? q + V : ae(u.left, u.right)) : _ = h - 2 * (A !== 0 || Y !== 0 ? A + Y : ae(u.top, u.bottom));
4787
+ const q = ae(u.left, 0), V = ae(u.right, 0), H = ae(u.top, 0), Y = ae(u.bottom, 0);
4788
+ v ? N = d - 2 * (q !== 0 || V !== 0 ? q + V : ae(u.left, u.right)) : _ = h - 2 * (H !== 0 || Y !== 0 ? H + Y : ae(u.top, u.bottom));
4769
4789
  }
4770
4790
  yield l($(L({}, r), {
4771
4791
  availableWidth: N,
@@ -4842,7 +4862,7 @@ function Pe(e, t, r, n) {
4842
4862
  y: u
4843
4863
  });
4844
4864
  }
4845
- function Ai(e) {
4865
+ function Hi(e) {
4846
4866
  let {
4847
4867
  elements: t,
4848
4868
  rect: r,
@@ -4868,7 +4888,7 @@ function Ai(e) {
4868
4888
  y: r.y * u.y - c.scrollTop * u.y + f.y
4869
4889
  };
4870
4890
  }
4871
- function Hi(e) {
4891
+ function Ai(e) {
4872
4892
  return Array.from(e.getClientRects());
4873
4893
  }
4874
4894
  function yn(e) {
@@ -4994,7 +5014,7 @@ function ji(e, t, r) {
4994
5014
  function Lt(e) {
4995
5015
  return ce(e).position === "static";
4996
5016
  }
4997
- function Ar(e, t) {
5017
+ function Hr(e, t) {
4998
5018
  return !ie(e) || ce(e).position === "fixed" ? null : t ? t(e) : e.offsetParent;
4999
5019
  }
5000
5020
  function Rn(e, t) {
@@ -5010,9 +5030,9 @@ function Rn(e, t) {
5010
5030
  }
5011
5031
  return r;
5012
5032
  }
5013
- let n = Ar(e, t);
5033
+ let n = Hr(e, t);
5014
5034
  for (; n && Go(n) && Lt(n); )
5015
- n = Ar(n, t);
5035
+ n = Hr(n, t);
5016
5036
  return n && Ce(n) && Lt(n) && !Xt(n) ? r : n || Uo(e) || r;
5017
5037
  }
5018
5038
  const Ni = function(e) {
@@ -5033,12 +5053,12 @@ function $i(e) {
5033
5053
  return ce(e).direction === "rtl";
5034
5054
  }
5035
5055
  const Vi = {
5036
- convertOffsetParentRelativeRectToViewportRelativeRect: Ai,
5056
+ convertOffsetParentRelativeRectToViewportRelativeRect: Hi,
5037
5057
  getDocumentElement: ve,
5038
5058
  getClippingRect: Bi,
5039
5059
  getOffsetParent: Rn,
5040
5060
  getElementRects: Ni,
5041
- getClientRects: Hi,
5061
+ getClientRects: Ai,
5042
5062
  getDimensions: Ii,
5043
5063
  getScale: We,
5044
5064
  isElement: X,
@@ -5089,7 +5109,7 @@ function Gi(e, t) {
5089
5109
  }
5090
5110
  return i(!0), a;
5091
5111
  }
5092
- function Aa(e, t, r, n) {
5112
+ function Ha(e, t, r, n) {
5093
5113
  n === void 0 && (n = {});
5094
5114
  const {
5095
5115
  ancestorScroll: o = !0,
@@ -5169,7 +5189,7 @@ function mt(e, t) {
5169
5189
  function En(e) {
5170
5190
  return typeof window == "undefined" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
5171
5191
  }
5172
- function Hr(e, t) {
5192
+ function Ar(e, t) {
5173
5193
  const r = En(e);
5174
5194
  return Math.round(t * r) / r;
5175
5195
  }
@@ -5206,7 +5226,7 @@ function Ji(e) {
5206
5226
  k !== _.current && (_.current = k, m(k));
5207
5227
  }, []), E = p.useCallback((k) => {
5208
5228
  k !== N.current && (N.current = k, x(k));
5209
- }, []), R = a || h, z = i || w, _ = p.useRef(null), N = p.useRef(null), U = p.useRef(f), Z = c != null, q = Or(c), V = Or(o), A = p.useCallback(() => {
5229
+ }, []), R = a || h, z = i || w, _ = p.useRef(null), N = p.useRef(null), U = p.useRef(f), Z = c != null, q = Or(c), V = Or(o), H = p.useCallback(() => {
5210
5230
  if (!_.current || !N.current)
5211
5231
  return;
5212
5232
  const k = {
@@ -5234,11 +5254,11 @@ function Ji(e) {
5234
5254
  }), []), st(() => {
5235
5255
  if (R && (_.current = R), z && (N.current = z), R && z) {
5236
5256
  if (q.current)
5237
- return q.current(R, z, A);
5238
- A();
5257
+ return q.current(R, z, H);
5258
+ H();
5239
5259
  }
5240
- }, [R, z, A, q, Z]);
5241
- const H = p.useMemo(() => ({
5260
+ }, [R, z, H, q, Z]);
5261
+ const A = p.useMemo(() => ({
5242
5262
  reference: _,
5243
5263
  floating: N,
5244
5264
  setReference: y,
@@ -5254,7 +5274,7 @@ function Ji(e) {
5254
5274
  };
5255
5275
  if (!T.floating)
5256
5276
  return k;
5257
- const M = Hr(T.floating, f.x), j = Hr(T.floating, f.y);
5277
+ const M = Ar(T.floating, f.x), j = Ar(T.floating, f.y);
5258
5278
  return l ? L($(L({}, k), {
5259
5279
  transform: "translate(" + M + "px, " + j + "px)"
5260
5280
  }), En(T.floating) >= 1.5 && {
@@ -5266,13 +5286,13 @@ function Ji(e) {
5266
5286
  };
5267
5287
  }, [r, l, T.floating, f.x, f.y]);
5268
5288
  return p.useMemo(() => $(L({}, f), {
5269
- update: A,
5270
- refs: H,
5289
+ update: H,
5290
+ refs: A,
5271
5291
  elements: T,
5272
5292
  floatingStyles: C
5273
- }), [f, A, H, T, C]);
5293
+ }), [f, H, A, T, C]);
5274
5294
  }
5275
- const Ha = (e, t) => $(L({}, Ui(e)), {
5295
+ const Aa = (e, t) => $(L({}, Ui(e)), {
5276
5296
  options: [e, t]
5277
5297
  }), Oa = (e, t) => $(L({}, qi(e)), {
5278
5298
  options: [e, t]
@@ -5412,7 +5432,7 @@ function Da(e, t) {
5412
5432
  M && !R.current ? (clearTimeout(E.current), E.current = window.setTimeout(() => n(!1, T, k), M)) : C && (clearTimeout(E.current), n(!1, T, k));
5413
5433
  }, [w, n]), V = we(() => {
5414
5434
  U.current(), R.current = void 0;
5415
- }), A = we(() => {
5435
+ }), H = we(() => {
5416
5436
  if (N.current) {
5417
5437
  const T = Re(i.floating).body;
5418
5438
  T.style.pointerEvents = "", T.removeAttribute(Dr), N.current = !1;
@@ -5441,7 +5461,7 @@ function Da(e, t) {
5441
5461
  x: O.clientX,
5442
5462
  y: O.clientY,
5443
5463
  onClose() {
5444
- A(), V(), q(O, !0, "safe-polygon");
5464
+ H(), V(), q(O, !0, "safe-polygon");
5445
5465
  }
5446
5466
  }));
5447
5467
  const Le = R.current;
@@ -5458,7 +5478,7 @@ function Da(e, t) {
5458
5478
  x: O.clientX,
5459
5479
  y: O.clientY,
5460
5480
  onClose() {
5461
- A(), V(), q(O);
5481
+ H(), V(), q(O);
5462
5482
  }
5463
5483
  }))(O));
5464
5484
  }
@@ -5472,7 +5492,7 @@ function Da(e, t) {
5472
5492
  r && O.removeEventListener("mouseleave", M), (D = i.floating) == null || D.removeEventListener("mouseleave", M), v && O.removeEventListener("mousemove", C), O.removeEventListener("mouseenter", C), O.removeEventListener("mouseleave", k);
5473
5493
  };
5474
5494
  }
5475
- }, [i, l, e, f, g, v, q, V, A, n, r, x, d, w, m, o]), ue(() => {
5495
+ }, [i, l, e, f, g, v, q, V, H, n, r, x, d, w, m, o]), ue(() => {
5476
5496
  var T;
5477
5497
  if (l && r && (T = m.current) != null && T.__options.blockPointerEvents && Z()) {
5478
5498
  const k = Re(i.floating).body;
@@ -5487,10 +5507,10 @@ function Da(e, t) {
5487
5507
  }
5488
5508
  }
5489
5509
  }, [l, r, h, i, d, m, Z]), ue(() => {
5490
- r || (y.current = void 0, V(), A());
5491
- }, [r, V, A]), p.useEffect(() => () => {
5492
- V(), clearTimeout(E.current), clearTimeout(z.current), A();
5493
- }, [l, i.domReference, V, A]);
5510
+ r || (y.current = void 0, V(), H());
5511
+ }, [r, V, H]), p.useEffect(() => () => {
5512
+ V(), clearTimeout(E.current), clearTimeout(z.current), H();
5513
+ }, [l, i.domReference, V, H]);
5494
5514
  const Y = p.useMemo(() => {
5495
5515
  function T(C) {
5496
5516
  y.current = C.pointerType;
@@ -5508,7 +5528,7 @@ function Da(e, t) {
5508
5528
  f && !Ke(y.current) || r || g === 0 || (clearTimeout(z.current), y.current === "touch" ? M() : z.current = window.setTimeout(M, g));
5509
5529
  }
5510
5530
  };
5511
- }, [f, n, r, x, g]), H = p.useMemo(() => ({
5531
+ }, [f, n, r, x, g]), A = p.useMemo(() => ({
5512
5532
  onMouseEnter() {
5513
5533
  clearTimeout(E.current);
5514
5534
  },
@@ -5518,8 +5538,8 @@ function Da(e, t) {
5518
5538
  }), [q]);
5519
5539
  return p.useMemo(() => l ? {
5520
5540
  reference: Y,
5521
- floating: H
5522
- } : {}, [l, Y, H]);
5541
+ floating: A
5542
+ } : {}, [l, Y, A]);
5523
5543
  }
5524
5544
  function Pt(e, t) {
5525
5545
  let r = e.filter((o) => {
@@ -5782,12 +5802,12 @@ function ja(e, t) {
5782
5802
  } = Vr(d), {
5783
5803
  escapeKey: _,
5784
5804
  outsidePress: N
5785
- } = Vr(h), U = we((H) => {
5805
+ } = Vr(h), U = we((A) => {
5786
5806
  var T;
5787
- if (!r || !i || !l || H.key !== "Escape")
5807
+ if (!r || !i || !l || A.key !== "Escape")
5788
5808
  return;
5789
5809
  const C = (T = a.current.floatingContext) == null ? void 0 : T.nodeId, k = m ? Pt(m.nodesRef.current, C) : [];
5790
- if (!R && (H.stopPropagation(), k.length > 0)) {
5810
+ if (!R && (A.stopPropagation(), k.length > 0)) {
5791
5811
  let M = !0;
5792
5812
  if (k.forEach((j) => {
5793
5813
  var O;
@@ -5798,22 +5818,22 @@ function ja(e, t) {
5798
5818
  }), !M)
5799
5819
  return;
5800
5820
  }
5801
- n(!1, Xo(H) ? H.nativeEvent : H, "escape-key");
5802
- }), Z = we((H) => {
5821
+ n(!1, Xo(A) ? A.nativeEvent : A, "escape-key");
5822
+ }), Z = we((A) => {
5803
5823
  var T;
5804
5824
  const C = () => {
5805
5825
  var k;
5806
- U(H), (k = He(H)) == null || k.removeEventListener("keydown", C);
5826
+ U(A), (k = Ae(A)) == null || k.removeEventListener("keydown", C);
5807
5827
  };
5808
- (T = He(H)) == null || T.addEventListener("keydown", C);
5809
- }), q = we((H) => {
5828
+ (T = Ae(A)) == null || T.addEventListener("keydown", C);
5829
+ }), q = we((A) => {
5810
5830
  var T;
5811
5831
  const C = y.current;
5812
5832
  y.current = !1;
5813
5833
  const k = E.current;
5814
- if (E.current = !1, u === "click" && k || C || typeof x == "function" && !x(H))
5834
+ if (E.current = !1, u === "click" && k || C || typeof x == "function" && !x(A))
5815
5835
  return;
5816
- const M = He(H), j = "[" + tt("inert") + "]", O = Re(o.floating).querySelectorAll(j);
5836
+ const M = Ae(A), j = "[" + tt("inert") + "]", O = Re(o.floating).querySelectorAll(j);
5817
5837
  let D = X(M) ? M : null;
5818
5838
  for (; D && !Ce(D); ) {
5819
5839
  const re = pe(D);
@@ -5828,15 +5848,15 @@ function ja(e, t) {
5828
5848
  return;
5829
5849
  if (ie(M) && Y) {
5830
5850
  const re = M.clientWidth > 0 && M.scrollWidth > M.clientWidth, le = M.clientHeight > 0 && M.scrollHeight > M.clientHeight;
5831
- let de = le && H.offsetX > M.clientWidth;
5832
- if (le && ce(M).direction === "rtl" && (de = H.offsetX <= M.offsetWidth - M.clientWidth), de || re && H.offsetY > M.clientHeight)
5851
+ let de = le && A.offsetX > M.clientWidth;
5852
+ if (le && ce(M).direction === "rtl" && (de = A.offsetX <= M.offsetWidth - M.clientWidth), de || re && A.offsetY > M.clientHeight)
5833
5853
  return;
5834
5854
  }
5835
5855
  const be = (T = a.current.floatingContext) == null ? void 0 : T.nodeId, Le = m && Pt(m.nodesRef.current, be).some((re) => {
5836
5856
  var le;
5837
- return kt(H, (le = re.context) == null ? void 0 : le.elements.floating);
5857
+ return kt(A, (le = re.context) == null ? void 0 : le.elements.floating);
5838
5858
  });
5839
- if (kt(H, o.floating) || kt(H, o.domReference) || Le)
5859
+ if (kt(A, o.floating) || kt(A, o.domReference) || Le)
5840
5860
  return;
5841
5861
  const rt = m ? Pt(m.nodesRef.current, be) : [];
5842
5862
  if (rt.length > 0) {
@@ -5850,20 +5870,20 @@ function ja(e, t) {
5850
5870
  }), !re)
5851
5871
  return;
5852
5872
  }
5853
- n(!1, H, "outside-press");
5854
- }), V = we((H) => {
5873
+ n(!1, A, "outside-press");
5874
+ }), V = we((A) => {
5855
5875
  var T;
5856
5876
  const C = () => {
5857
5877
  var k;
5858
- q(H), (k = He(H)) == null || k.removeEventListener(u, C);
5878
+ q(A), (k = Ae(A)) == null || k.removeEventListener(u, C);
5859
5879
  };
5860
- (T = He(H)) == null || T.addEventListener(u, C);
5880
+ (T = Ae(A)) == null || T.addEventListener(u, C);
5861
5881
  });
5862
5882
  p.useEffect(() => {
5863
5883
  if (!r || !i)
5864
5884
  return;
5865
5885
  a.current.__escapeKeyBubbles = R, a.current.__outsidePressBubbles = z;
5866
- function H(k) {
5886
+ function A(k) {
5867
5887
  n(!1, k, "ancestor-scroll");
5868
5888
  }
5869
5889
  const T = Re(o.floating);
@@ -5873,21 +5893,21 @@ function ja(e, t) {
5873
5893
  var M;
5874
5894
  return k !== ((M = T.defaultView) == null ? void 0 : M.visualViewport);
5875
5895
  }), C.forEach((k) => {
5876
- k.addEventListener("scroll", H, {
5896
+ k.addEventListener("scroll", A, {
5877
5897
  passive: !0
5878
5898
  });
5879
5899
  }), () => {
5880
5900
  l && T.removeEventListener("keydown", _ ? Z : U, _), x && T.removeEventListener(u, N ? V : q, N), C.forEach((k) => {
5881
- k.removeEventListener("scroll", H);
5901
+ k.removeEventListener("scroll", A);
5882
5902
  });
5883
5903
  };
5884
5904
  }, [a, o, l, x, u, r, n, v, i, R, z, U, _, Z, q, N, V]), p.useEffect(() => {
5885
5905
  y.current = !1;
5886
5906
  }, [x, u]);
5887
- const A = p.useMemo(() => ({
5907
+ const H = p.useMemo(() => ({
5888
5908
  onKeyDown: U,
5889
- [ha[g]]: (H) => {
5890
- f && n(!1, H.nativeEvent, "reference-press");
5909
+ [ha[g]]: (A) => {
5910
+ f && n(!1, A.nativeEvent, "reference-press");
5891
5911
  }
5892
5912
  }), [U, n, f, g]), Y = p.useMemo(() => ({
5893
5913
  onKeyDown: U,
@@ -5902,9 +5922,9 @@ function ja(e, t) {
5902
5922
  }
5903
5923
  }), [U, u]);
5904
5924
  return p.useMemo(() => i ? {
5905
- reference: A,
5925
+ reference: H,
5906
5926
  floating: Y
5907
- } : {}, [i, A, Y]);
5927
+ } : {}, [i, H, Y]);
5908
5928
  }
5909
5929
  function pa(e) {
5910
5930
  const {
@@ -6036,7 +6056,7 @@ function $a(e, t) {
6036
6056
  },
6037
6057
  onFocus(d) {
6038
6058
  if (u.current) return;
6039
- const h = He(d.nativeEvent);
6059
+ const h = Ae(d.nativeEvent);
6040
6060
  if (c && X(h))
6041
6061
  try {
6042
6062
  if (sn() && Yo()) throw Error();
@@ -6061,18 +6081,18 @@ function $a(e, t) {
6061
6081
  reference: v
6062
6082
  } : {}, [l, v]);
6063
6083
  }
6064
- const At = "active", Ht = "selected";
6084
+ const Ht = "active", At = "selected";
6065
6085
  function Ot(e, t, r) {
6066
6086
  const n = /* @__PURE__ */ new Map(), o = r === "item";
6067
6087
  let a = e;
6068
6088
  if (o && e) {
6069
6089
  const i = e, {
6070
- [At]: l,
6071
- [Ht]: c
6090
+ [Ht]: l,
6091
+ [At]: c
6072
6092
  } = i;
6073
6093
  a = fe(i, [
6074
- St(At),
6075
- St(Ht)
6094
+ St(Ht),
6095
+ St(At)
6076
6096
  ]);
6077
6097
  }
6078
6098
  return L(L(L({}, r === "floating" && {
@@ -6082,7 +6102,7 @@ function Ot(e, t, r) {
6082
6102
  return typeof c == "function" ? e ? c(e) : null : c;
6083
6103
  }).concat(e).reduce((l, c) => (c && Object.entries(c).forEach((u) => {
6084
6104
  let [f, g] = u;
6085
- if (!(o && [At, Ht].includes(f)))
6105
+ if (!(o && [Ht, At].includes(f)))
6086
6106
  if (f.indexOf("on") === 0) {
6087
6107
  if (n.has(f) || n.set(f, []), typeof g == "function") {
6088
6108
  var v;
@@ -6482,14 +6502,14 @@ export {
6482
6502
  ja as e,
6483
6503
  Ga as f,
6484
6504
  Va as g,
6485
- Aa as h,
6505
+ Ha as h,
6486
6506
  Wa as i,
6487
6507
  P as j,
6488
6508
  Pa as k,
6489
6509
  Vo as l,
6490
6510
  Ua as m,
6491
6511
  Ra as n,
6492
- Ha as o,
6512
+ Aa as o,
6493
6513
  ya as p,
6494
6514
  za as q,
6495
6515
  Fa as r,