@dataesr/dsfr-plus 0.0.19 → 0.0.21

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.
package/dist/dsfr-plus.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import './style.css';
2
2
  import { jsx as m, jsxs as R, Fragment as Nn } from "react/jsx-runtime";
3
3
  import * as vt from "react";
4
- import Q, { createContext as In, useState as J, useEffect as G, useCallback as oe, useMemo as re, useContext as Ae, forwardRef as me, Children as Ot, isValidElement as ge, useId as ie, useRef as B, cloneElement as Te, Fragment as yn, useReducer as os, createElement as ir } from "react";
5
- import y from "classnames";
4
+ import Q, { createContext as In, useState as J, useEffect as G, useCallback as oe, useMemo as re, useContext as Ae, forwardRef as me, Children as Ot, isValidElement as $e, useId as ie, useRef as B, cloneElement as Te, Fragment as yn, useReducer as os, createElement as ir } from "react";
5
+ import x from "classnames";
6
6
  import Bn, { flushSync as is } from "react-dom";
7
7
  const eo = In({}), Qc = ({
8
8
  children: t,
@@ -15,13 +15,13 @@ const eo = In({}), Qc = ({
15
15
  const [l, s] = J(window.localStorage.getItem("locale") || o), [u, a] = J(!1);
16
16
  G(() => {
17
17
  const b = async () => {
18
- var x;
19
- (x = window == null ? void 0 : window.dsfr) != null && x.isStarted || (window.dsfr = {
18
+ var h;
19
+ (h = window == null ? void 0 : window.dsfr) != null && h.isStarted || (window.dsfr = {
20
20
  verbose: i,
21
21
  mode: "manual"
22
22
  }, await import("./dsfr.module.min-23ae5258.js"), await import("./utility-251e9615.js"), await import("./dsfr-4e49221c.js"), window.dsfr.start(), a(!0));
23
- }, d = window.matchMedia("(prefers-color-scheme: dark)"), v = d != null && d.matches ? "dark" : "light", h = window.localStorage.getItem("theme");
24
- document.documentElement.setAttribute("data-fr-scheme", h || v), b();
23
+ }, d = window.matchMedia("(prefers-color-scheme: dark)"), v = d != null && d.matches ? "dark" : "light", $ = window.localStorage.getItem("theme");
24
+ document.documentElement.setAttribute("data-fr-scheme", $ || v), b();
25
25
  }, []);
26
26
  const c = oe((b) => {
27
27
  window.localStorage.setItem("locale", b), document.documentElement.setAttribute("lang", b), s(b);
@@ -33,7 +33,7 @@ const eo = In({}), Qc = ({
33
33
  extendOptionalFieldsLabelsWith: r
34
34
  }), [e, c, l, n, r]);
35
35
  return /* @__PURE__ */ m(eo.Provider, { value: f, children: u ? t : null });
36
- }, pt = () => Ae(eo), $e = me(({
36
+ }, pt = () => Ae(eo), he = me(({
37
37
  children: t,
38
38
  className: e,
39
39
  icon: n,
@@ -49,7 +49,7 @@ const eo = In({}), Qc = ({
49
49
  {
50
50
  ref: u,
51
51
  "aria-current": r || void 0,
52
- className: y({
52
+ className: x({
53
53
  "fr-link": i,
54
54
  [`fr-link-${l}`]: l !== "md",
55
55
  [`fr-icon-${n}`]: !!n,
@@ -61,7 +61,7 @@ const eo = In({}), Qc = ({
61
61
  );
62
62
  }), ls = me, ss = ls(
63
63
  ({ as: t, className: e, noIcon: n, color: r = "blue-france", size: o, icon: i, variant: l = "primary", ...s }, u) => {
64
- const a = t === "a" ? $e : t || "p", c = y(
64
+ const a = t === "a" ? he : t || "p", c = x(
65
65
  "fr-badge",
66
66
  {
67
67
  [`fr-badge--${l}`]: l,
@@ -79,25 +79,25 @@ const eo = In({}), Qc = ({
79
79
  }
80
80
  );
81
81
  function fe(t, e) {
82
- return Ot.toArray(t).filter((r) => ge(r) && r.type === e);
82
+ return Ot.toArray(t).filter((r) => $e(r) && r.type === e);
83
83
  }
84
84
  function et(t, e) {
85
- return Ot.toArray(t).filter((n) => ge(n) && e.includes(n.type));
85
+ return Ot.toArray(t).filter((n) => $e(n) && e.includes(n.type));
86
86
  }
87
87
  function us(t, e) {
88
- return Ot.toArray(t).filter((n) => ge(n) && !e.includes(n.type));
88
+ return Ot.toArray(t).filter((n) => $e(n) && !e.includes(n.type));
89
89
  }
90
90
  const ed = ({
91
91
  children: t,
92
92
  className: e,
93
93
  ...n
94
94
  }) => {
95
- const r = ie(), o = y("fr-badges-group", e);
95
+ const r = ie(), o = x("fr-badges-group", e);
96
96
  return /* @__PURE__ */ m("ul", { className: o, ...n, children: fe(t, ss).map((i, l) => /* @__PURE__ */ m("li", { children: i }, `${r}-${l}`)) });
97
97
  };
98
98
  const as = me, ut = as(
99
99
  ({ as: t, className: e, color: n = "blue-france", icon: r, iconPosition: o = "left", size: i = "md", variant: l = "primary", children: s, ...u }, a) => {
100
- const c = t === "a" ? $e : t || "button", f = y(
100
+ const c = t === "a" ? he : t || "button", f = x(
101
101
  "fr-btn",
102
102
  {
103
103
  [`fr-btn--${i}`]: i !== "md",
@@ -124,7 +124,7 @@ const as = me, ut = as(
124
124
  ...s
125
125
  }) => {
126
126
  var d;
127
- const u = ie(), a = (v, h) => v || ge(h) && h.props.icon && h.props.children, c = fe(e, ut).reduce(a, !1), f = (d = fe(e, ut).map((v) => ge(v) && v.props.iconPosition)) == null ? void 0 : d[0], b = y("fr-btns-group", {
127
+ const u = ie(), a = (v, $) => v || $e($) && $.props.icon && $.props.children, c = fe(e, ut).reduce(a, !1), f = (d = fe(e, ut).map((v) => $e(v) && v.props.iconPosition)) == null ? void 0 : d[0], b = x("fr-btns-group", {
128
128
  [`fr-btns-group--${l}`]: l !== "md",
129
129
  [`fr-btns-group--${t}`]: t !== "left",
130
130
  [`fr-btns-group--icon-${f}`]: c,
@@ -133,7 +133,7 @@ const as = me, ut = as(
133
133
  "fr-btns-group--inline-reverse": i,
134
134
  "fr-btns-group--equisized": r
135
135
  }, n);
136
- return /* @__PURE__ */ m("ul", { className: b, ...s, children: fe(e, ut).map((v, h) => /* @__PURE__ */ m("li", { children: v }, `${u}-${h}`)) });
136
+ return /* @__PURE__ */ m("ul", { className: b, ...s, children: fe(e, ut).map((v, $) => /* @__PURE__ */ m("li", { children: v }, `${u}-${$}`)) });
137
137
  }, cs = me, nd = cs(({
138
138
  as: t = "div",
139
139
  className: e,
@@ -141,7 +141,7 @@ const as = me, ut = as(
141
141
  fluidFrom: r = "xs",
142
142
  ...o
143
143
  }, i) => {
144
- const l = y({
144
+ const l = x({
145
145
  "fr-container": !n,
146
146
  "fr-container-fluid": n || r === "xs",
147
147
  [`fr-container-${r}--fluid`]: !n && r !== "xs"
@@ -161,7 +161,7 @@ const as = me, ut = as(
161
161
  className: r,
162
162
  ...o
163
163
  }) => {
164
- const i = y("fr-grid-row", {
164
+ const i = x("fr-grid-row", {
165
165
  "fr-grid-row--gutters": t,
166
166
  [`fr-grid-row--${e}`]: e,
167
167
  [`fr-grid-row--${n}`]: n
@@ -181,7 +181,7 @@ const as = me, ut = as(
181
181
  className: c,
182
182
  ...f
183
183
  }) => {
184
- const b = y("fr-col", {
184
+ const b = x("fr-col", {
185
185
  [`fr-col-${t}`]: t,
186
186
  [`fr-col-sm-${e}`]: e,
187
187
  [`fr-col-md-${n}`]: n,
@@ -194,16 +194,16 @@ const as = me, ut = as(
194
194
  [`fr-col-offset-xl-${a}`]: a
195
195
  }, c);
196
196
  return /* @__PURE__ */ m("div", { className: b, ...f });
197
- }, ds = ({ href: t = "/", name: e, tagline: n, className: r, css: o = {}, ...i }) => /* @__PURE__ */ R("div", { className: y("fr-header__service", r), children: [
198
- /* @__PURE__ */ m("p", { className: y("fr-header__service-title", o["fr-header__service-title"]), children: /* @__PURE__ */ m($e, { href: t, ...i, children: e }) }),
199
- n && /* @__PURE__ */ m("p", { className: y("fr-header__service-tagline", o["fr-header__service-tagline"]), children: n })
197
+ }, ds = ({ href: t = "/", name: e, tagline: n, className: r, css: o = {}, ...i }) => /* @__PURE__ */ R("div", { className: x("fr-header__service", r), children: [
198
+ /* @__PURE__ */ m("p", { className: x("fr-header__service-title", o["fr-header__service-title"]), children: /* @__PURE__ */ m(he, { href: t, ...i, children: e }) }),
199
+ n && /* @__PURE__ */ m("p", { className: x("fr-header__service-tagline", o["fr-header__service-tagline"]), children: n })
200
200
  ] }), fs = ({ children: t, className: e, css: n = {}, ...r }) => {
201
201
  const o = ie(), i = r.id || o;
202
- return /* @__PURE__ */ R("div", { className: y("fr-header__tools-links", e), ...r, children: [
203
- /* @__PURE__ */ m("ul", { className: y("fr-btns-group", n["fr-btns-group"]), children: fe(t, ut).map((l, s) => /* @__PURE__ */ m("li", { children: l }, `${i}-${s}`)) }),
202
+ return /* @__PURE__ */ R("div", { className: x("fr-header__tools-links", e), ...r, children: [
203
+ /* @__PURE__ */ m("ul", { className: x("fr-btns-group", n["fr-btns-group"]), children: fe(t, ut).map((l, s) => /* @__PURE__ */ m("li", { children: l }, `${i}-${s}`)) }),
204
204
  us(t, [ut])
205
205
  ] });
206
- }, ps = ({ className: t, css: e = {}, ...n }) => /* @__PURE__ */ m("div", { className: y("fr-header__operator", t), children: /* @__PURE__ */ m("img", { className: y("fr-responsive-img", e["fr-responsive-img"]), ...n }) }), lr = ["__TYPE"];
206
+ }, ps = ({ className: t, css: e = {}, ...n }) => /* @__PURE__ */ m("div", { className: x("fr-header__operator", t), children: /* @__PURE__ */ m("img", { className: x("fr-responsive-img", e["fr-responsive-img"]), ...n }) }), lr = ["__TYPE"];
207
207
  function ze(t, e = {}) {
208
208
  const { include: n, exclude: r } = e;
209
209
  if (n)
@@ -234,14 +234,14 @@ const bs = me(({
234
234
  "div",
235
235
  {
236
236
  role: "search",
237
- className: y("fr-search-bar", { "fr-search-bar--lg": r }, t),
237
+ className: x("fr-search-bar", { "fr-search-bar--lg": r }, t),
238
238
  children: [
239
- o && /* @__PURE__ */ m("label", { className: y("fr-label", e["fr-label"]), htmlFor: f, children: o }),
239
+ o && /* @__PURE__ */ m("label", { className: x("fr-label", e["fr-label"]), htmlFor: f, children: o }),
240
240
  /* @__PURE__ */ m(
241
241
  "input",
242
242
  {
243
243
  ref: (d) => bt(d, [u, a]),
244
- className: y("fr-input", e["fr-input"]),
244
+ className: x("fr-input", e["fr-input"]),
245
245
  type: "search",
246
246
  id: f,
247
247
  onKeyDown: b,
@@ -257,7 +257,7 @@ const bs = me(({
257
257
  var d;
258
258
  return i((d = a.current) == null ? void 0 : d.value);
259
259
  },
260
- className: y("fr-btn", { "fr-btn--lg": r }, e["fr-btn"]),
260
+ className: x("fr-btn", { "fr-btn--lg": r }, e["fr-btn"]),
261
261
  title: n,
262
262
  children: n
263
263
  }
@@ -273,12 +273,12 @@ const bs = me(({
273
273
  title: o,
274
274
  ...i
275
275
  }) => {
276
- const l = ie(), s = et(t, [to, $e]);
276
+ const l = ie(), s = et(t, [to, he]);
277
277
  return /* @__PURE__ */ R(Nn, { children: [
278
278
  /* @__PURE__ */ m(
279
279
  "button",
280
280
  {
281
- className: y("fr-nav__btn", e),
281
+ className: x("fr-nav__btn", e),
282
282
  "aria-expanded": "false",
283
283
  "aria-controls": l,
284
284
  "aria-current": n || void 0,
@@ -286,7 +286,7 @@ const bs = me(({
286
286
  children: o
287
287
  }
288
288
  ),
289
- /* @__PURE__ */ m("div", { className: y("fr-collapse", "fr-menu", r["fr-menu"]), id: l, children: /* @__PURE__ */ m("ul", { className: y("fr-menu__list", r["fr-menu__list"]), children: s.map((u, a) => /* @__PURE__ */ m("li", { className: "fr-nav__item", children: ge(u) && u.type === $e ? Te(u, { className: y("fr-nav__link", u.props.className) }) : u }, `navitem-${l}-${a}`)) }) })
289
+ /* @__PURE__ */ m("div", { className: x("fr-collapse", "fr-menu", r["fr-menu"]), id: l, children: /* @__PURE__ */ m("ul", { className: x("fr-menu__list", r["fr-menu__list"]), children: s.map((u, a) => /* @__PURE__ */ m("li", { className: "fr-nav__item", children: $e(u) && u.type === he ? Te(u, { className: x("fr-nav__link", u.props.className) }) : u }, `navitem-${l}-${a}`)) }) })
290
290
  ] });
291
291
  }, ms = ({
292
292
  children: t,
@@ -295,7 +295,7 @@ const bs = me(({
295
295
  ...r
296
296
  }) => {
297
297
  const o = ie(), i = r.id || o;
298
- return /* @__PURE__ */ m("nav", { className: y("fr-nav", e), id: i, role: "navigation", ...r, children: /* @__PURE__ */ m("ul", { className: y("fr-nav__list", n["fr-nav__list"]), children: et(t, [to, $e]).map((l, s) => ge(l) && /* @__PURE__ */ m("li", { className: y("fr-nav__item", n["fr-nav__item"]), children: l.type === $e ? Te(l, { className: y("fr-nav__link", l.props.className) }) : l }, `navitem-${i}-${s}`)) }) });
298
+ return /* @__PURE__ */ m("nav", { className: x("fr-nav", e), id: i, role: "navigation", ...r, children: /* @__PURE__ */ m("ul", { className: x("fr-nav__list", n["fr-nav__list"]), children: et(t, [to, he]).map((l, s) => $e(l) && /* @__PURE__ */ m("li", { className: x("fr-nav__item", n["fr-nav__item"]), children: l.type === he ? Te(l, { className: x("fr-nav__link", l.props.className) }) : l }, `navitem-${i}-${s}`)) }) });
299
299
  }, vs = ({ text: t, splitCharacter: e = "|" }) => {
300
300
  const r = t.split(e).reduce((o, i, l) => l > 0 ? [...o, /* @__PURE__ */ m("br", {}, `br-${l}`), /* @__PURE__ */ m(yn, { children: i }, l)] : [/* @__PURE__ */ m(yn, { children: i }, l)], []);
301
301
  return /* @__PURE__ */ m("div", { className: "fr-header__logo", children: /* @__PURE__ */ m("p", { className: "fr-logo", children: r }) });
@@ -320,8 +320,8 @@ function tt(t, e, n) {
320
320
  n && (Object.is(s, b) || n(b, ...d)), l || (s = b);
321
321
  };
322
322
  typeof a == "function" ? (console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"), o((d, ...v) => {
323
- let h = a(l ? s : d, ...v);
324
- return f(h, ...c), l ? d : h;
323
+ let $ = a(l ? s : d, ...v);
324
+ return f($, ...c), l ? d : $;
325
325
  })) : (l || o(a), f(a, ...c));
326
326
  }, [
327
327
  l,
@@ -385,9 +385,9 @@ function ys(t) {
385
385
  let c = Ae($s), f = re(() => r ? Array.isArray(r) ? r.flatMap((E) => En(c[E])) : En(c[r]) : [], [
386
386
  c,
387
387
  r
388
- ]), [b, d] = J(c), [v, h] = J(!1);
389
- c !== b && (d(c), h(!1));
390
- let x = re(() => sr(v ? [] : f), [
388
+ ]), [b, d] = J(c), [v, $] = J(!1);
389
+ c !== b && (d(c), $(!1));
390
+ let h = re(() => sr(v ? [] : f), [
391
391
  v,
392
392
  f
393
393
  ]), _ = B(nt), [w, S] = J(nt), K = B(nt), g = () => {
@@ -398,17 +398,17 @@ function ys(t) {
398
398
  Jt(E, K.current) || (K.current = E, S(E));
399
399
  }, [k, O] = J(!1);
400
400
  return G(g), {
401
- realtimeValidation: u || x || a || i || nt,
402
- displayValidation: s === "native" ? u || x || w : u || x || a || i || w,
401
+ realtimeValidation: u || h || a || i || nt,
402
+ displayValidation: s === "native" ? u || h || w : u || h || a || i || w,
403
403
  updateValidation(E) {
404
404
  s === "aria" && !Jt(w, E) ? S(E) : _.current = E;
405
405
  },
406
406
  resetValidation() {
407
407
  let E = nt;
408
- Jt(E, K.current) || (K.current = E, S(E)), s === "native" && O(!1), h(!0);
408
+ Jt(E, K.current) || (K.current = E, S(E)), s === "native" && O(!1), $(!0);
409
409
  },
410
410
  commitValidation() {
411
- s === "native" && O(!0), h(!0);
411
+ s === "native" && O(!0), $(!0);
412
412
  }
413
413
  };
414
414
  }
@@ -577,7 +577,7 @@ class Es {
577
577
  e.index = c;
578
578
  let d = b.key;
579
579
  d || (d = b.element ? null : this.getKey(i, e, n, r));
580
- let h = [
580
+ let $ = [
581
581
  ...this.getFullNode({
582
582
  ...b,
583
583
  key: d,
@@ -585,12 +585,12 @@ class Es {
585
585
  wrapper: Ps(e.wrapper, b.wrapper)
586
586
  }, this.getChildState(n, b), r ? `${r}${i.key}` : i.key, o)
587
587
  ];
588
- for (let x of h) {
589
- if (x.value = b.value || e.value, x.value && this.cache.set(x.value, x), e.type && x.type !== e.type)
590
- throw new Error(`Unsupported type <${Qt(x.type)}> in <${Qt(o.type)}>. Only <${Qt(e.type)}> is supported.`);
591
- c++, yield x;
588
+ for (let h of $) {
589
+ if (h.value = b.value || e.value, h.value && this.cache.set(h.value, h), e.type && h.type !== e.type)
590
+ throw new Error(`Unsupported type <${Qt(h.type)}> in <${Qt(o.type)}>. Only <${Qt(e.type)}> is supported.`);
591
+ c++, yield h;
592
592
  }
593
- f = a.next(h);
593
+ f = a.next($);
594
594
  }
595
595
  return;
596
596
  }
@@ -734,10 +734,10 @@ function uo(t) {
734
734
  t.selectedKeys
735
735
  ]), b = re(() => dr(t.defaultSelectedKeys, new we()), [
736
736
  t.defaultSelectedKeys
737
- ]), [d, v] = tt(f, b, t.onSelectionChange), h = re(() => t.disabledKeys ? new Set(t.disabledKeys) : /* @__PURE__ */ new Set(), [
737
+ ]), [d, v] = tt(f, b, t.onSelectionChange), $ = re(() => t.disabledKeys ? new Set(t.disabledKeys) : /* @__PURE__ */ new Set(), [
738
738
  t.disabledKeys
739
- ]), [x, _] = J(o);
740
- o === "replace" && x === "toggle" && typeof d == "object" && d.size === 0 && _("replace");
739
+ ]), [h, _] = J(o);
740
+ o === "replace" && h === "toggle" && typeof d == "object" && d.size === 0 && _("replace");
741
741
  let w = B(o);
742
742
  return G(() => {
743
743
  o !== w.current && (_(o), w.current = o);
@@ -746,7 +746,7 @@ function uo(t) {
746
746
  ]), {
747
747
  selectionMode: e,
748
748
  disallowEmptySelection: n,
749
- selectionBehavior: x,
749
+ selectionBehavior: h,
750
750
  setSelectionBehavior: _,
751
751
  get isFocused() {
752
752
  return l.current;
@@ -767,7 +767,7 @@ function uo(t) {
767
767
  setSelectedKeys(S) {
768
768
  (r || !Ts(S, d)) && v(S);
769
769
  },
770
- disabledKeys: h,
770
+ disabledKeys: $,
771
771
  disabledBehavior: i
772
772
  };
773
773
  }
@@ -1112,15 +1112,15 @@ function co(t) {
1112
1112
  if (n.focusedKey != null && !l.getItem(n.focusedKey)) {
1113
1113
  const a = u.current.getItem(n.focusedKey), c = [
1114
1114
  ...u.current.getKeys()
1115
- ].map((h) => {
1116
- const x = u.current.getItem(h);
1117
- return x.type === "item" ? x : null;
1118
- }).filter((h) => h !== null), f = [
1115
+ ].map(($) => {
1116
+ const h = u.current.getItem($);
1117
+ return h.type === "item" ? h : null;
1118
+ }).filter(($) => $ !== null), f = [
1119
1119
  ...l.getKeys()
1120
- ].map((h) => {
1121
- const x = l.getItem(h);
1122
- return x.type === "item" ? x : null;
1123
- }).filter((h) => h !== null), b = c.length - f.length;
1120
+ ].map(($) => {
1121
+ const h = l.getItem($);
1122
+ return h.type === "item" ? h : null;
1123
+ }).filter(($) => $ !== null), b = c.length - f.length;
1124
1124
  let d = Math.min(b > 1 ? Math.max(a.index - b + 1, 0) : a.index, f.length - 1), v;
1125
1125
  for (; d >= 0; ) {
1126
1126
  if (!s.isDisabled(f[d].key)) {
@@ -1199,18 +1199,18 @@ function _s(t) {
1199
1199
  let { defaultFilter: r, menuTrigger: o = "input", allowsEmptyCollection: i = !1, allowsCustomValue: l, shouldCloseOnBlur: s = !0 } = t, [u, a] = J(!1), [c, f] = J(!1), [b, d] = J(null), v = (ee) => {
1200
1200
  t.onSelectionChange && t.onSelectionChange(ee), ee === w && (H(), D());
1201
1201
  };
1202
- var h;
1203
- let { collection: x, selectionManager: _, selectedKey: w, setSelectedKey: S, selectedItem: K, disabledKeys: g } = fo({
1202
+ var $;
1203
+ let { collection: h, selectionManager: _, selectedKey: w, setSelectedKey: S, selectedItem: K, disabledKeys: g } = fo({
1204
1204
  ...t,
1205
1205
  onSelectionChange: v,
1206
- items: (h = t.items) !== null && h !== void 0 ? h : t.defaultItems
1206
+ items: ($ = t.items) !== null && $ !== void 0 ? $ : t.defaultItems
1207
1207
  });
1208
1208
  var k, O;
1209
- let [p, A] = tt(t.inputValue, (O = (k = t.defaultInputValue) !== null && k !== void 0 ? k : (e = x.getItem(w)) === null || e === void 0 ? void 0 : e.textValue) !== null && O !== void 0 ? O : "", t.onInputChange), E = x, P = re(() => (
1209
+ let [p, A] = tt(t.inputValue, (O = (k = t.defaultInputValue) !== null && k !== void 0 ? k : (e = h.getItem(w)) === null || e === void 0 ? void 0 : e.textValue) !== null && O !== void 0 ? O : "", t.onInputChange), E = h, P = re(() => (
1210
1210
  // No default filter if items are controlled.
1211
- t.items != null || !r ? x : As(x, p, r)
1211
+ t.items != null || !r ? h : As(h, p, r)
1212
1212
  ), [
1213
- x,
1213
+ h,
1214
1214
  p,
1215
1215
  r,
1216
1216
  t.items
@@ -1226,14 +1226,14 @@ function _s(t) {
1226
1226
  (i || P.size > 0 || ve && E.size > 0 || t.items) && (ve && !V.isOpen && t.items === void 0 && a(!0), T.current = ce, d(ee), V.open());
1227
1227
  }, ue = (ee = null, ce) => {
1228
1228
  let ve = ce === "manual" || ce === "focus" && o === "focus";
1229
- !(i || P.size > 0 || ve && E.size > 0 || t.items) && !V.isOpen || (ve && !V.isOpen && t.items === void 0 && a(!0), V.isOpen || (T.current = ce), $(ee));
1229
+ !(i || P.size > 0 || ve && E.size > 0 || t.items) && !V.isOpen || (ve && !V.isOpen && t.items === void 0 && a(!0), V.isOpen || (T.current = ce), y(ee));
1230
1230
  }, ae = oe(() => {
1231
1231
  C(u ? E : P);
1232
1232
  }, [
1233
1233
  u,
1234
1234
  E,
1235
1235
  P
1236
- ]), $ = oe((ee = null) => {
1236
+ ]), y = oe((ee = null) => {
1237
1237
  V.isOpen && ae(), d(ee), V.toggle();
1238
1238
  }, [
1239
1239
  V,
@@ -1245,18 +1245,18 @@ function _s(t) {
1245
1245
  ae
1246
1246
  ]), [z, j] = J(p), H = () => {
1247
1247
  var ee, ce;
1248
- let ve = (ce = (ee = x.getItem(w)) === null || ee === void 0 ? void 0 : ee.textValue) !== null && ce !== void 0 ? ce : "";
1248
+ let ve = (ce = (ee = h.getItem(w)) === null || ee === void 0 ? void 0 : ee.textValue) !== null && ce !== void 0 ? ce : "";
1249
1249
  j(ve), A(ve);
1250
1250
  };
1251
1251
  var Y, U;
1252
1252
  let L = B((U = (Y = t.selectedKey) !== null && Y !== void 0 ? Y : t.defaultSelectedKey) !== null && U !== void 0 ? U : null);
1253
1253
  var N;
1254
- let X = B((N = (n = x.getItem(w)) === null || n === void 0 ? void 0 : n.textValue) !== null && N !== void 0 ? N : "");
1254
+ let X = B((N = (n = h.getItem(w)) === null || n === void 0 ? void 0 : n.textValue) !== null && N !== void 0 ? N : "");
1255
1255
  G(() => {
1256
1256
  var ee;
1257
1257
  c && (P.size > 0 || i) && !V.isOpen && p !== z && o !== "manual" && F(null, "input"), !u && !i && V.isOpen && P.size === 0 && D(), w != null && w !== L.current && D(), p !== z && (_.setFocusedKey(null), a(!1), p === "" && (t.inputValue === void 0 || t.selectedKey === void 0) && S(null)), w !== L.current && (t.inputValue === void 0 || t.selectedKey === void 0) ? H() : z !== p && j(p);
1258
1258
  var ce;
1259
- let ve = (ce = (ee = x.getItem(w)) === null || ee === void 0 ? void 0 : ee.textValue) !== null && ce !== void 0 ? ce : "";
1259
+ let ve = (ce = (ee = h.getItem(w)) === null || ee === void 0 ? void 0 : ee.textValue) !== null && ce !== void 0 ? ce : "";
1260
1260
  !c && w != null && t.inputValue === void 0 && w === L.current && X.current !== ve && (j(ve), A(ve)), L.current = w, X.current = ve;
1261
1261
  });
1262
1262
  let W = On({
@@ -1277,7 +1277,7 @@ function _s(t) {
1277
1277
  var ee;
1278
1278
  t.onSelectionChange(w);
1279
1279
  var ce;
1280
- let ve = (ce = (ee = x.getItem(w)) === null || ee === void 0 ? void 0 : ee.textValue) !== null && ce !== void 0 ? ce : "";
1280
+ let ve = (ce = (ee = h.getItem(w)) === null || ee === void 0 ? void 0 : ee.textValue) !== null && ce !== void 0 ? ce : "";
1281
1281
  j(ve), D();
1282
1282
  } else
1283
1283
  H(), D();
@@ -1285,7 +1285,7 @@ function _s(t) {
1285
1285
  const Ne = () => {
1286
1286
  if (l) {
1287
1287
  var ee, ce;
1288
- const ve = (ce = (ee = x.getItem(w)) === null || ee === void 0 ? void 0 : ee.textValue) !== null && ce !== void 0 ? ce : "";
1288
+ const ve = (ce = (ee = h.getItem(w)) === null || ee === void 0 ? void 0 : ee.textValue) !== null && ce !== void 0 ? ce : "";
1289
1289
  p === ve ? ye() : M();
1290
1290
  } else
1291
1291
  ye();
@@ -1747,17 +1747,17 @@ function id(t) {
1747
1747
  });
1748
1748
  var v;
1749
1749
  let _ = (v = f.filterText) !== null && v !== void 0 ? v : s.filterText;
1750
- var h;
1750
+ var $;
1751
1751
  let w = await b({
1752
1752
  items: s.items.slice(),
1753
1753
  selectedKeys: s.selectedKeys,
1754
- sortDescriptor: (h = f.sortDescriptor) !== null && h !== void 0 ? h : s.sortDescriptor,
1754
+ sortDescriptor: ($ = f.sortDescriptor) !== null && $ !== void 0 ? $ : s.sortDescriptor,
1755
1755
  signal: d.signal,
1756
1756
  cursor: f.type === "loadingMore" ? s.cursor : null,
1757
1757
  filterText: _
1758
1758
  });
1759
- var x;
1760
- let S = (x = w.filterText) !== null && x !== void 0 ? x : _;
1759
+ var h;
1760
+ let S = (h = w.filterText) !== null && h !== void 0 ? h : _;
1761
1761
  u({
1762
1762
  type: "success",
1763
1763
  ...w,
@@ -2568,7 +2568,7 @@ function Gt(t) {
2568
2568
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
2569
2569
  ref: f,
2570
2570
  ...b
2571
- } = Eu(t), [d, v] = J(!1), h = B({
2571
+ } = Eu(t), [d, v] = J(!1), $ = B({
2572
2572
  isPressed: !1,
2573
2573
  ignoreEmulatedMouseEvents: !1,
2574
2574
  ignoreClickAfterPress: !1,
@@ -2578,8 +2578,8 @@ function Gt(t) {
2578
2578
  target: null,
2579
2579
  isOverTarget: !1,
2580
2580
  pointerType: null
2581
- }), { addGlobalListener: x, removeAllGlobalListeners: _ } = yo(), w = xe((p, A) => {
2582
- let E = h.current;
2581
+ }), { addGlobalListener: h, removeAllGlobalListeners: _ } = yo(), w = xe((p, A) => {
2582
+ let E = $.current;
2583
2583
  if (l || E.didFirePressStart)
2584
2584
  return !1;
2585
2585
  let P = !0;
@@ -2589,7 +2589,7 @@ function Gt(t) {
2589
2589
  }
2590
2590
  return n && n(!0), E.isTriggeringEvent = !1, E.didFirePressStart = !0, v(!0), P;
2591
2591
  }), S = xe((p, A, E = !0) => {
2592
- let P = h.current;
2592
+ let P = $.current;
2593
2593
  if (!P.didFirePressStart)
2594
2594
  return !1;
2595
2595
  P.ignoreClickAfterPress = !0, P.didFirePressStart = !1, P.isTriggeringEvent = !0;
@@ -2604,7 +2604,7 @@ function Gt(t) {
2604
2604
  }
2605
2605
  return P.isTriggeringEvent = !1, I;
2606
2606
  }), K = xe((p, A) => {
2607
- let E = h.current;
2607
+ let E = $.current;
2608
2608
  if (l)
2609
2609
  return !1;
2610
2610
  if (i) {
@@ -2614,18 +2614,18 @@ function Gt(t) {
2614
2614
  }
2615
2615
  return !0;
2616
2616
  }), g = xe((p) => {
2617
- let A = h.current;
2617
+ let A = $.current;
2618
2618
  A.isPressed && A.target && (A.isOverTarget && A.pointerType != null && S(Ke(A.target, p), A.pointerType, !1), A.isPressed = !1, A.isOverTarget = !1, A.activePointerId = null, A.pointerType = null, _(), c || gt(A.target));
2619
2619
  }), k = xe((p) => {
2620
2620
  a && g(p);
2621
2621
  }), O = re(() => {
2622
- let p = h.current, A = {
2622
+ let p = $.current, A = {
2623
2623
  onKeyDown(P) {
2624
2624
  if (rn(P.nativeEvent, P.currentTarget) && P.currentTarget.contains(P.target)) {
2625
2625
  var I;
2626
2626
  Cr(P.target, P.key) && P.preventDefault();
2627
2627
  let C = !0;
2628
- !p.isPressed && !P.repeat && (p.target = P.currentTarget, p.isPressed = !0, C = w(P, "keyboard"), x(pe(P.currentTarget), "keyup", E, !1)), C && P.stopPropagation(), P.metaKey && Ie() && ((I = p.metaKeyEvents) === null || I === void 0 || I.set(P.key, P.nativeEvent));
2628
+ !p.isPressed && !P.repeat && (p.target = P.currentTarget, p.isPressed = !0, C = w(P, "keyboard"), h(pe(P.currentTarget), "keyup", E, !1)), C && P.stopPropagation(), P.metaKey && Ie() && ((I = p.metaKeyEvents) === null || I === void 0 || I.set(P.key, P.nativeEvent));
2629
2629
  } else
2630
2630
  P.key === "Meta" && (p.metaKeyEvents = /* @__PURE__ */ new Map());
2631
2631
  },
@@ -2668,7 +2668,7 @@ function Gt(t) {
2668
2668
  }
2669
2669
  on(T.currentTarget) && T.preventDefault(), p.pointerType = T.pointerType;
2670
2670
  let q = !0;
2671
- p.isPressed || (p.isPressed = !0, p.isOverTarget = !0, p.activePointerId = T.pointerId, p.target = T.currentTarget, !l && !u && Fe(T.currentTarget), c || $r(p.target), q = w(T, p.pointerType), x(pe(T.currentTarget), "pointermove", P, !1), x(pe(T.currentTarget), "pointerup", I, !1), x(pe(T.currentTarget), "pointercancel", C, !1)), q && T.stopPropagation();
2671
+ p.isPressed || (p.isPressed = !0, p.isOverTarget = !0, p.activePointerId = T.pointerId, p.target = T.currentTarget, !l && !u && Fe(T.currentTarget), c || $r(p.target), q = w(T, p.pointerType), h(pe(T.currentTarget), "pointermove", P, !1), h(pe(T.currentTarget), "pointerup", I, !1), h(pe(T.currentTarget), "pointercancel", C, !1)), q && T.stopPropagation();
2672
2672
  }, A.onMouseDown = (T) => {
2673
2673
  T.currentTarget.contains(T.target) && T.button === 0 && (on(T.currentTarget) && T.preventDefault(), T.stopPropagation());
2674
2674
  }, A.onPointerUp = (T) => {
@@ -2692,7 +2692,7 @@ function Gt(t) {
2692
2692
  C.stopPropagation();
2693
2693
  return;
2694
2694
  }
2695
- p.isPressed = !0, p.isOverTarget = !0, p.target = C.currentTarget, p.pointerType = Sn(C.nativeEvent) ? "virtual" : "mouse", !l && !u && Fe(C.currentTarget), w(C, p.pointerType) && C.stopPropagation(), x(pe(C.currentTarget), "mouseup", P, !1);
2695
+ p.isPressed = !0, p.isOverTarget = !0, p.target = C.currentTarget, p.pointerType = Sn(C.nativeEvent) ? "virtual" : "mouse", !l && !u && Fe(C.currentTarget), w(C, p.pointerType) && C.stopPropagation(), h(pe(C.currentTarget), "mouseup", P, !1);
2696
2696
  }, A.onMouseEnter = (C) => {
2697
2697
  if (!C.currentTarget.contains(C.target))
2698
2698
  return;
@@ -2721,7 +2721,7 @@ function Gt(t) {
2721
2721
  let T = Pu(C.nativeEvent);
2722
2722
  if (!T)
2723
2723
  return;
2724
- p.activePointerId = T.identifier, p.ignoreEmulatedMouseEvents = !0, p.isOverTarget = !0, p.isPressed = !0, p.target = C.currentTarget, p.pointerType = "touch", !l && !u && Fe(C.currentTarget), c || $r(p.target), w(C, p.pointerType) && C.stopPropagation(), x(at(C.currentTarget), "scroll", I, !0);
2724
+ p.activePointerId = T.identifier, p.ignoreEmulatedMouseEvents = !0, p.isOverTarget = !0, p.isPressed = !0, p.target = C.currentTarget, p.pointerType = "touch", !l && !u && Fe(C.currentTarget), c || $r(p.target), w(C, p.pointerType) && C.stopPropagation(), h(at(C.currentTarget), "scroll", I, !0);
2725
2725
  }, A.onTouchMove = (C) => {
2726
2726
  if (!C.currentTarget.contains(C.target))
2727
2727
  return;
@@ -2758,7 +2758,7 @@ function Gt(t) {
2758
2758
  }
2759
2759
  return A;
2760
2760
  }, [
2761
- x,
2761
+ h,
2762
2762
  l,
2763
2763
  u,
2764
2764
  _,
@@ -2771,7 +2771,7 @@ function Gt(t) {
2771
2771
  ]);
2772
2772
  return G(() => () => {
2773
2773
  var p;
2774
- c || gt((p = h.current.target) !== null && p !== void 0 ? p : void 0);
2774
+ c || gt((p = $.current.target) !== null && p !== void 0 ? p : void 0);
2775
2775
  }, [
2776
2776
  c
2777
2777
  ]), {
@@ -3079,20 +3079,20 @@ function _o(t) {
3079
3079
  if (s.pointerType = v, o || v === "touch" || s.isHovered || !d.currentTarget.contains(d.target))
3080
3080
  return;
3081
3081
  s.isHovered = !0;
3082
- let h = d.currentTarget;
3083
- s.target = h, e && e({
3082
+ let $ = d.currentTarget;
3083
+ s.target = $, e && e({
3084
3084
  type: "hoverstart",
3085
- target: h,
3085
+ target: $,
3086
3086
  pointerType: v
3087
3087
  }), n && n(!0), l(!0);
3088
3088
  }, f = (d, v) => {
3089
3089
  if (s.pointerType = "", s.target = null, v === "touch" || !s.isHovered)
3090
3090
  return;
3091
3091
  s.isHovered = !1;
3092
- let h = d.currentTarget;
3092
+ let $ = d.currentTarget;
3093
3093
  r && r({
3094
3094
  type: "hoverend",
3095
- target: h,
3095
+ target: $,
3096
3096
  pointerType: v
3097
3097
  }), n && n(!1), l(!1);
3098
3098
  }, b = {};
@@ -3312,17 +3312,17 @@ function Hu(t) {
3312
3312
  ]), Zu(s, r, n), qu(s, n), Qu(s, r, n), Xu(s, o), G(() => {
3313
3313
  const b = pe(s.current ? s.current[0] : void 0).activeElement;
3314
3314
  let d = null;
3315
- if (he(b, s.current)) {
3315
+ if (ge(b, s.current)) {
3316
3316
  for (let v of be.traverse())
3317
- v.scopeRef && he(b, v.scopeRef.current) && (d = v);
3317
+ v.scopeRef && ge(b, v.scopeRef.current) && (d = v);
3318
3318
  d === be.getTreeNode(s) && (le = d.scopeRef);
3319
3319
  }
3320
3320
  }, [
3321
3321
  s
3322
3322
  ]), de(() => () => {
3323
3323
  var b, d, v;
3324
- let h = (v = (d = be.getTreeNode(s)) === null || d === void 0 || (b = d.parent) === null || b === void 0 ? void 0 : b.scopeRef) !== null && v !== void 0 ? v : null;
3325
- (s === le || kt(s, le)) && (!h || be.getTreeNode(h)) && (le = h), be.removeTreeNode(s);
3324
+ let $ = (v = (d = be.getTreeNode(s)) === null || d === void 0 || (b = d.parent) === null || b === void 0 ? void 0 : b.scopeRef) !== null && v !== void 0 ? v : null;
3325
+ (s === le || kt(s, le)) && (!$ || be.getTreeNode($)) && (le = $), be.removeTreeNode(s);
3326
3326
  }, [
3327
3327
  s
3328
3328
  ]);
@@ -3352,7 +3352,7 @@ function Uu(t) {
3352
3352
  tabbable: o,
3353
3353
  accept: l
3354
3354
  }, n);
3355
- c.currentNode = he(s, n) ? s : u;
3355
+ c.currentNode = ge(s, n) ? s : u;
3356
3356
  let f = c.nextNode();
3357
3357
  return !f && i && (c.currentNode = u, f = c.nextNode()), f && Le(f, !0), f;
3358
3358
  },
@@ -3361,7 +3361,7 @@ function Uu(t) {
3361
3361
  tabbable: o,
3362
3362
  accept: l
3363
3363
  }, n);
3364
- c.currentNode = he(s, n) ? s : u;
3364
+ c.currentNode = ge(s, n) ? s : u;
3365
3365
  let f = c.previousNode();
3366
3366
  return !f && i && (c.currentNode = u, f = c.previousNode()), f && Le(f, !0), f;
3367
3367
  },
@@ -3427,7 +3427,7 @@ function qu(t, e) {
3427
3427
  if (a.key !== "Tab" || a.altKey || a.ctrlKey || a.metaKey || !lt(t))
3428
3428
  return;
3429
3429
  let c = i.activeElement, f = t.current;
3430
- if (!f || !he(c, f))
3430
+ if (!f || !ge(c, f))
3431
3431
  return;
3432
3432
  let b = Be(f), d = Me(b, {
3433
3433
  tabbable: !0
@@ -3438,7 +3438,7 @@ function qu(t, e) {
3438
3438
  let v = a.shiftKey ? d.previousNode() : d.nextNode();
3439
3439
  v || (d.currentNode = a.shiftKey ? f[f.length - 1].nextElementSibling : f[0].previousElementSibling, v = a.shiftKey ? d.previousNode() : d.nextNode()), a.preventDefault(), v && Le(v, !0);
3440
3440
  }, s = (a) => {
3441
- (!le || kt(le, t)) && he(a.target, t.current) ? (le = t, n.current = a.target) : lt(t) && !Mt(a.target, t) ? n.current ? n.current.focus() : le && le.current && Nt(le.current) : lt(t) && (n.current = a.target);
3441
+ (!le || kt(le, t)) && ge(a.target, t.current) ? (le = t, n.current = a.target) : lt(t) && !Mt(a.target, t) ? n.current ? n.current.focus() : le && le.current && Nt(le.current) : lt(t) && (n.current = a.target);
3442
3442
  }, u = (a) => {
3443
3443
  r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
3444
3444
  if (i.activeElement && lt(t) && !Mt(i.activeElement, t))
@@ -3464,14 +3464,14 @@ function qu(t, e) {
3464
3464
  function Fo(t) {
3465
3465
  return Mt(t);
3466
3466
  }
3467
- function he(t, e) {
3467
+ function ge(t, e) {
3468
3468
  return !t || !e ? !1 : e.some((n) => n.contains(t));
3469
3469
  }
3470
3470
  function Mt(t, e = null) {
3471
3471
  if (t instanceof Element && t.closest("[data-react-aria-top-layer]"))
3472
3472
  return !0;
3473
3473
  for (let { scopeRef: n } of be.traverse(be.getTreeNode(e)))
3474
- if (n && he(t, n.current))
3474
+ if (n && ge(t, n.current))
3475
3475
  return !0;
3476
3476
  return !1;
3477
3477
  }
@@ -3516,7 +3516,7 @@ function Xu(t, e) {
3516
3516
  if (n.current) {
3517
3517
  le = t;
3518
3518
  const r = pe(t.current ? t.current[0] : void 0);
3519
- !he(r.activeElement, le.current) && t.current && Nt(t.current);
3519
+ !ge(r.activeElement, le.current) && t.current && Nt(t.current);
3520
3520
  }
3521
3521
  n.current = !1;
3522
3522
  }, [
@@ -3531,7 +3531,7 @@ function Zu(t, e, n) {
3531
3531
  const o = pe(r ? r[0] : void 0);
3532
3532
  let i = (l) => {
3533
3533
  let s = l.target;
3534
- he(s, t.current) ? le = t : Fo(s) || (le = null);
3534
+ ge(s, t.current) ? le = t : Fo(s) || (le = null);
3535
3535
  };
3536
3536
  return o.addEventListener("focusin", i, !1), r == null || r.forEach((l) => l.addEventListener("focusin", i, !1)), () => {
3537
3537
  o.removeEventListener("focusin", i, !1), r == null || r.forEach((l) => l.removeEventListener("focusin", i, !1));
@@ -3559,7 +3559,7 @@ function Qu(t, e, n) {
3559
3559
  if (!e || n)
3560
3560
  return;
3561
3561
  let l = () => {
3562
- (!le || kt(le, t)) && he(i.activeElement, t.current) && (le = t);
3562
+ (!le || kt(le, t)) && ge(i.activeElement, t.current) && (le = t);
3563
3563
  };
3564
3564
  return i.addEventListener("focusin", l, !1), o == null || o.forEach((s) => s.addEventListener("focusin", l, !1)), () => {
3565
3565
  i.removeEventListener("focusin", l, !1), o == null || o.forEach((s) => s.removeEventListener("focusin", l, !1));
@@ -3575,7 +3575,7 @@ function Qu(t, e, n) {
3575
3575
  if (l.key !== "Tab" || l.altKey || l.ctrlKey || l.metaKey || !lt(t))
3576
3576
  return;
3577
3577
  let s = o.activeElement;
3578
- if (!he(s, t.current))
3578
+ if (!ge(s, t.current))
3579
3579
  return;
3580
3580
  let u = be.getTreeNode(t);
3581
3581
  if (!u)
@@ -3585,11 +3585,11 @@ function Qu(t, e, n) {
3585
3585
  });
3586
3586
  c.currentNode = s;
3587
3587
  let f = l.shiftKey ? c.previousNode() : c.nextNode();
3588
- if ((!a || !o.body.contains(a) || a === o.body) && (a = void 0, u.nodeToRestore = void 0), (!f || !he(f, t.current)) && a) {
3588
+ if ((!a || !o.body.contains(a) || a === o.body) && (a = void 0, u.nodeToRestore = void 0), (!f || !ge(f, t.current)) && a) {
3589
3589
  c.currentNode = a;
3590
3590
  do
3591
3591
  f = l.shiftKey ? c.previousNode() : c.nextNode();
3592
- while (he(f, t.current));
3592
+ while (ge(f, t.current));
3593
3593
  l.preventDefault(), l.stopPropagation(), f ? Le(f, !0) : Fo(a) ? Le(a, !0) : s.blur();
3594
3594
  }
3595
3595
  };
@@ -3613,7 +3613,7 @@ function Qu(t, e, n) {
3613
3613
  return;
3614
3614
  let u = s.nodeToRestore;
3615
3615
  if (e && u && // eslint-disable-next-line react-hooks/exhaustive-deps
3616
- (he(o.activeElement, t.current) || o.activeElement === o.body && Ju(t))) {
3616
+ (ge(o.activeElement, t.current) || o.activeElement === o.body && Ju(t))) {
3617
3617
  let a = be.clone();
3618
3618
  requestAnimationFrame(() => {
3619
3619
  if (o.activeElement === o.body) {
@@ -3646,7 +3646,7 @@ function Me(t, e, n) {
3646
3646
  let r = e != null && e.tabbable ? Gu : Wu, o = pe(t).createTreeWalker(t, NodeFilter.SHOW_ELEMENT, {
3647
3647
  acceptNode(i) {
3648
3648
  var l;
3649
- return !(e == null || (l = e.from) === null || l === void 0) && l.contains(i) ? NodeFilter.FILTER_REJECT : i.matches(r) && Do(i) && (!n || he(i, n)) && (!(e != null && e.accept) || e.accept(i)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
3649
+ return !(e == null || (l = e.from) === null || l === void 0) && l.contains(i) ? NodeFilter.FILTER_REJECT : i.matches(r) && Do(i) && (!n || ge(i, n)) && (!(e != null && e.accept) || e.accept(i)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
3650
3650
  }
3651
3651
  });
3652
3652
  return e != null && e.from && (o.currentNode = e.from), o;
@@ -3678,7 +3678,7 @@ class Gn {
3678
3678
  return;
3679
3679
  let r = n.parent;
3680
3680
  for (let i of this.traverse())
3681
- i !== n && n.nodeToRestore && i.nodeToRestore && n.scopeRef && n.scopeRef.current && he(i.nodeToRestore, n.scopeRef.current) && (i.nodeToRestore = n.nodeToRestore);
3681
+ i !== n && n.nodeToRestore && i.nodeToRestore && n.scopeRef && n.scopeRef.current && ge(i.nodeToRestore, n.scopeRef.current) && (i.nodeToRestore = n.nodeToRestore);
3682
3682
  let o = n.children;
3683
3683
  r && (r.removeChild(n), o.size > 0 && o.forEach((i) => r && r.addChild(i))), this.fastMap.delete(n.scopeRef);
3684
3684
  }
@@ -3910,17 +3910,17 @@ function ko(t, e) {
3910
3910
  href: b,
3911
3911
  target: d,
3912
3912
  rel: v,
3913
- type: h = "button"
3914
- } = t, x;
3915
- n === "button" ? x = {
3916
- type: h,
3913
+ type: $ = "button"
3914
+ } = t, h;
3915
+ n === "button" ? h = {
3916
+ type: $,
3917
3917
  disabled: r
3918
- } : x = {
3918
+ } : h = {
3919
3919
  role: "button",
3920
3920
  tabIndex: r ? void 0 : 0,
3921
3921
  href: n === "a" && r ? void 0 : b,
3922
3922
  target: n === "a" ? d : void 0,
3923
- type: n === "input" ? h : void 0,
3923
+ type: n === "input" ? $ : void 0,
3924
3924
  disabled: n === "input" ? r : void 0,
3925
3925
  "aria-disabled": !r || n === "input" ? void 0 : r,
3926
3926
  rel: n === "a" ? v : void 0
@@ -3941,7 +3941,7 @@ function ko(t, e) {
3941
3941
  }));
3942
3942
  return {
3943
3943
  isPressed: w,
3944
- buttonProps: se(x, K, {
3944
+ buttonProps: se(h, K, {
3945
3945
  "aria-haspopup": t["aria-haspopup"],
3946
3946
  "aria-expanded": t["aria-expanded"],
3947
3947
  "aria-controls": t["aria-controls"],
@@ -5041,15 +5041,15 @@ function Mr(t) {
5041
5041
  }, Ct[t];
5042
5042
  }
5043
5043
  function cn(t, e, n, r, o, i, l, s, u, a) {
5044
- let { placement: c, crossPlacement: f, axis: b, crossAxis: d, size: v, crossSize: h } = r, x = {};
5045
- x[d] = t[d], f === "center" ? x[d] += (t[h] - n[h]) / 2 : f !== d && (x[d] += t[h] - n[h]), x[d] += i;
5046
- const _ = t[d] - n[h] + u + a, w = t[d] + t[h] - u - a;
5047
- if (x[d] = xn(x[d], _, w), c === b) {
5044
+ let { placement: c, crossPlacement: f, axis: b, crossAxis: d, size: v, crossSize: $ } = r, h = {};
5045
+ h[d] = t[d], f === "center" ? h[d] += (t[$] - n[$]) / 2 : f !== d && (h[d] += t[$] - n[$]), h[d] += i;
5046
+ const _ = t[d] - n[$] + u + a, w = t[d] + t[$] - u - a;
5047
+ if (h[d] = xn(h[d], _, w), c === b) {
5048
5048
  const S = s ? l[v] : e[ga[v]];
5049
- x[It[b]] = Math.floor(S - t[b] + o);
5049
+ h[It[b]] = Math.floor(S - t[b] + o);
5050
5050
  } else
5051
- x[b] = Math.floor(t[b] + t[v] + o);
5052
- return x;
5051
+ h[b] = Math.floor(t[b] + t[v] + o);
5052
+ return h;
5053
5053
  }
5054
5054
  function xa(t, e, n, r, o, i) {
5055
5055
  return t.top != null ? Math.max(0, e.height + e.top + e.scroll.top - (n.top + t.top) - (o.top + o.bottom + i)) : Math.max(0, r.top + n.top - (e.top + e.scroll.top) - (o.top + o.bottom + i));
@@ -5058,30 +5058,30 @@ function kr(t, e, n, r, o, i) {
5058
5058
  let { placement: l, axis: s, size: u } = i;
5059
5059
  return l === s ? Math.max(0, n[s] - t[s] - t.scroll[s] + e[s] - r[s] - r[It[s]] - o) : Math.max(0, t[u] + t[s] + t.scroll[s] - e[s] - n[s] - n[u] - r[s] - r[It[s]] - o);
5060
5060
  }
5061
- function Ca(t, e, n, r, o, i, l, s, u, a, c, f, b, d, v, h) {
5062
- let x = Mr(t), { size: _, crossAxis: w, crossSize: S, placement: K, crossPlacement: g } = x, k = cn(e, s, n, x, c, f, a, b, v, h), O = c, p = kr(s, a, e, o, i + c, x);
5061
+ function Ca(t, e, n, r, o, i, l, s, u, a, c, f, b, d, v, $) {
5062
+ let h = Mr(t), { size: _, crossAxis: w, crossSize: S, placement: K, crossPlacement: g } = h, k = cn(e, s, n, h, c, f, a, b, v, $), O = c, p = kr(s, a, e, o, i + c, h);
5063
5063
  if (l && r[_] > p) {
5064
- let ue = Mr(`${It[K]} ${g}`), ae = cn(e, s, n, ue, c, f, a, b, v, h);
5065
- kr(s, a, e, o, i + c, ue) > p && (x = ue, k = ae, O = c);
5064
+ let ue = Mr(`${It[K]} ${g}`), ae = cn(e, s, n, ue, c, f, a, b, v, $);
5065
+ kr(s, a, e, o, i + c, ue) > p && (h = ue, k = ae, O = c);
5066
5066
  }
5067
5067
  let A = Lr(w, k[w], n[S], s, u, i);
5068
5068
  k[w] += A;
5069
5069
  let E = xa(k, s, a, e, o, i);
5070
- d && d < E && (E = d), n.height = Math.min(n.height, E), k = cn(e, s, n, x, O, f, a, b, v, h), A = Lr(w, k[w], n[S], s, u, i), k[w] += A;
5070
+ d && d < E && (E = d), n.height = Math.min(n.height, E), k = cn(e, s, n, h, O, f, a, b, v, $), A = Lr(w, k[w], n[S], s, u, i), k[w] += A;
5071
5071
  let P = {}, I = e[w] + 0.5 * e[S] - n[w];
5072
- const C = v / 2 + h, T = n[S] - v / 2 - h, q = e[w] - n[w] + v / 2, V = e[w] + e[S] - n[w] - v / 2, F = xn(I, q, V);
5072
+ const C = v / 2 + $, T = n[S] - v / 2 - $, q = e[w] - n[w] + v / 2, V = e[w] + e[S] - n[w] - v / 2, F = xn(I, q, V);
5073
5073
  return P[w] = xn(F, C, T), {
5074
5074
  position: k,
5075
5075
  maxHeight: E,
5076
5076
  arrowOffsetLeft: P.left,
5077
5077
  arrowOffsetTop: P.top,
5078
- placement: x.placement
5078
+ placement: h.placement
5079
5079
  };
5080
5080
  }
5081
5081
  function Ea(t) {
5082
5082
  let { placement: e, targetNode: n, overlayNode: r, scrollNode: o, padding: i, shouldFlip: l, boundaryElement: s, offset: u, crossOffset: a, maxHeight: c, arrowSize: f = 0, arrowBoundaryOffset: b = 0 } = t, d = r instanceof HTMLElement ? Pa(r) : document.documentElement, v = d === document.documentElement;
5083
- const h = window.getComputedStyle(d).position;
5084
- let x = !!h && h !== "static", _ = v ? Je(n) : Nr(n, d);
5083
+ const $ = window.getComputedStyle(d).position;
5084
+ let h = !!$ && $ !== "static", _ = v ? Je(n) : Nr(n, d);
5085
5085
  if (!v) {
5086
5086
  let { marginTop: p, marginLeft: A } = window.getComputedStyle(n);
5087
5087
  _.top += parseInt(p, 10) || 0, _.left += parseInt(A, 10) || 0;
@@ -5089,7 +5089,7 @@ function Ea(t) {
5089
5089
  let w = Je(r), S = ya(r);
5090
5090
  w.width += S.left + S.right, w.height += S.top + S.bottom;
5091
5091
  let K = $a(o), g = Fr(s), k = Fr(d), O = s.tagName === "BODY" ? Je(d) : Nr(d, s);
5092
- return Ca(e, _, w, K, S, i, l, g, k, O, u, a, x, c, f, b);
5092
+ return Ca(e, _, w, K, S, i, l, g, k, O, u, a, h, c, f, b);
5093
5093
  }
5094
5094
  function Je(t) {
5095
5095
  let { top: e, left: n, width: r, height: o } = t.getBoundingClientRect(), { scrollTop: i, scrollLeft: l, clientTop: s, clientLeft: u } = document.documentElement;
@@ -5154,7 +5154,7 @@ function wa(t) {
5154
5154
  }
5155
5155
  let Ee = typeof document < "u" && window.visualViewport;
5156
5156
  function Sa(t) {
5157
- let { direction: e } = Xt(), { arrowSize: n = 0, targetRef: r, overlayRef: o, scrollRef: i = o, placement: l = "bottom", containerPadding: s = 12, shouldFlip: u = !0, boundaryElement: a = typeof document < "u" ? document.body : null, offset: c = 0, crossOffset: f = 0, shouldUpdatePosition: b = !0, isOpen: d = !0, onClose: v, maxHeight: h, arrowBoundaryOffset: x = 0 } = t, [_, w] = J({
5157
+ let { direction: e } = Xt(), { arrowSize: n = 0, targetRef: r, overlayRef: o, scrollRef: i = o, placement: l = "bottom", containerPadding: s = 12, shouldFlip: u = !0, boundaryElement: a = typeof document < "u" ? document.body : null, offset: c = 0, crossOffset: f = 0, shouldUpdatePosition: b = !0, isOpen: d = !0, onClose: v, maxHeight: $, arrowBoundaryOffset: h = 0 } = t, [_, w] = J({
5158
5158
  position: {},
5159
5159
  arrowOffsetLeft: void 0,
5160
5160
  arrowOffsetTop: void 0,
@@ -5173,8 +5173,8 @@ function Sa(t) {
5173
5173
  f,
5174
5174
  d,
5175
5175
  e,
5176
+ $,
5176
5177
  h,
5177
- x,
5178
5178
  n
5179
5179
  ], K = oe(() => {
5180
5180
  if (b === !1 || !d || !o.current || !r.current || !i.current || !a)
@@ -5189,9 +5189,9 @@ function Sa(t) {
5189
5189
  boundaryElement: a,
5190
5190
  offset: c,
5191
5191
  crossOffset: f,
5192
- maxHeight: h,
5192
+ maxHeight: $,
5193
5193
  arrowSize: n,
5194
- arrowBoundaryOffset: x
5194
+ arrowBoundaryOffset: h
5195
5195
  });
5196
5196
  Object.keys(O.position).forEach((p) => o.current.style[p] = O.position[p] + "px"), o.current.style.maxHeight = O.maxHeight != null ? O.maxHeight + "px" : void 0, w(O);
5197
5197
  }, S);
@@ -5610,22 +5610,22 @@ function Oa(t) {
5610
5610
  return t.length === 1 || !/^[A-Z]/i.test(t) ? t : "";
5611
5611
  }
5612
5612
  function il(t) {
5613
- let { selectionManager: e, keyboardDelegate: n, ref: r, autoFocus: o = !1, shouldFocusWrap: i = !1, disallowEmptySelection: l = !1, disallowSelectAll: s = !1, selectOnFocus: u = e.selectionBehavior === "replace", disallowTypeAhead: a = !1, shouldUseVirtualFocus: c, allowsTabNavigation: f = !1, isVirtualized: b, scrollRef: d = r, linkBehavior: v = "action" } = t, { direction: h } = Xt(), x = Wt(), _ = (E) => {
5613
+ let { selectionManager: e, keyboardDelegate: n, ref: r, autoFocus: o = !1, shouldFocusWrap: i = !1, disallowEmptySelection: l = !1, disallowSelectAll: s = !1, selectOnFocus: u = e.selectionBehavior === "replace", disallowTypeAhead: a = !1, shouldUseVirtualFocus: c, allowsTabNavigation: f = !1, isVirtualized: b, scrollRef: d = r, linkBehavior: v = "action" } = t, { direction: $ } = Xt(), h = Wt(), _ = (E) => {
5614
5614
  if (E.altKey && E.key === "Tab" && E.preventDefault(), !r.current.contains(E.target))
5615
5615
  return;
5616
- const P = ($, D) => {
5617
- if ($ != null) {
5618
- if (e.isLink($) && v === "selection" && u && !Mn(E)) {
5616
+ const P = (y, D) => {
5617
+ if (y != null) {
5618
+ if (e.isLink(y) && v === "selection" && u && !Mn(E)) {
5619
5619
  is(() => {
5620
- e.setFocusedKey($, D);
5620
+ e.setFocusedKey(y, D);
5621
5621
  });
5622
- let z = d.current.querySelector(`[data-key="${CSS.escape($.toString())}"]`);
5623
- x.open(z, E);
5622
+ let z = d.current.querySelector(`[data-key="${CSS.escape(y.toString())}"]`);
5623
+ h.open(z, E);
5624
5624
  return;
5625
5625
  }
5626
- if (e.setFocusedKey($, D), e.isLink($) && v === "override")
5626
+ if (e.setFocusedKey(y, D), e.isLink(y) && v === "override")
5627
5627
  return;
5628
- E.shiftKey && e.selectionMode === "multiple" ? e.extendSelection($) : u && !Mn(E) && e.replaceSelection($);
5628
+ E.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(y) : u && !Mn(E) && e.replaceSelection(y);
5629
5629
  }
5630
5630
  };
5631
5631
  switch (E.key) {
@@ -5633,60 +5633,60 @@ function il(t) {
5633
5633
  if (n.getKeyBelow) {
5634
5634
  var I, C;
5635
5635
  E.preventDefault();
5636
- let $ = e.focusedKey != null ? n.getKeyBelow(e.focusedKey) : (I = n.getFirstKey) === null || I === void 0 ? void 0 : I.call(n);
5637
- $ == null && i && ($ = (C = n.getFirstKey) === null || C === void 0 ? void 0 : C.call(n, e.focusedKey)), P($);
5636
+ let y = e.focusedKey != null ? n.getKeyBelow(e.focusedKey) : (I = n.getFirstKey) === null || I === void 0 ? void 0 : I.call(n);
5637
+ y == null && i && (y = (C = n.getFirstKey) === null || C === void 0 ? void 0 : C.call(n, e.focusedKey)), P(y);
5638
5638
  }
5639
5639
  break;
5640
5640
  case "ArrowUp":
5641
5641
  if (n.getKeyAbove) {
5642
5642
  var T, q;
5643
5643
  E.preventDefault();
5644
- let $ = e.focusedKey != null ? n.getKeyAbove(e.focusedKey) : (T = n.getLastKey) === null || T === void 0 ? void 0 : T.call(n);
5645
- $ == null && i && ($ = (q = n.getLastKey) === null || q === void 0 ? void 0 : q.call(n, e.focusedKey)), P($);
5644
+ let y = e.focusedKey != null ? n.getKeyAbove(e.focusedKey) : (T = n.getLastKey) === null || T === void 0 ? void 0 : T.call(n);
5645
+ y == null && i && (y = (q = n.getLastKey) === null || q === void 0 ? void 0 : q.call(n, e.focusedKey)), P(y);
5646
5646
  }
5647
5647
  break;
5648
5648
  case "ArrowLeft":
5649
5649
  if (n.getKeyLeftOf) {
5650
5650
  var V, F;
5651
5651
  E.preventDefault();
5652
- let $ = n.getKeyLeftOf(e.focusedKey);
5653
- $ == null && i && ($ = h === "rtl" ? (V = n.getFirstKey) === null || V === void 0 ? void 0 : V.call(n, e.focusedKey) : (F = n.getLastKey) === null || F === void 0 ? void 0 : F.call(n, e.focusedKey)), P($, h === "rtl" ? "first" : "last");
5652
+ let y = n.getKeyLeftOf(e.focusedKey);
5653
+ y == null && i && (y = $ === "rtl" ? (V = n.getFirstKey) === null || V === void 0 ? void 0 : V.call(n, e.focusedKey) : (F = n.getLastKey) === null || F === void 0 ? void 0 : F.call(n, e.focusedKey)), P(y, $ === "rtl" ? "first" : "last");
5654
5654
  }
5655
5655
  break;
5656
5656
  case "ArrowRight":
5657
5657
  if (n.getKeyRightOf) {
5658
5658
  var ue, ae;
5659
5659
  E.preventDefault();
5660
- let $ = n.getKeyRightOf(e.focusedKey);
5661
- $ == null && i && ($ = h === "rtl" ? (ue = n.getLastKey) === null || ue === void 0 ? void 0 : ue.call(n, e.focusedKey) : (ae = n.getFirstKey) === null || ae === void 0 ? void 0 : ae.call(n, e.focusedKey)), P($, h === "rtl" ? "last" : "first");
5660
+ let y = n.getKeyRightOf(e.focusedKey);
5661
+ y == null && i && (y = $ === "rtl" ? (ue = n.getLastKey) === null || ue === void 0 ? void 0 : ue.call(n, e.focusedKey) : (ae = n.getFirstKey) === null || ae === void 0 ? void 0 : ae.call(n, e.focusedKey)), P(y, $ === "rtl" ? "last" : "first");
5662
5662
  }
5663
5663
  break;
5664
5664
  case "Home":
5665
5665
  if (n.getFirstKey) {
5666
5666
  E.preventDefault();
5667
- let $ = n.getFirstKey(e.focusedKey, Ye(E));
5668
- e.setFocusedKey($), Ye(E) && E.shiftKey && e.selectionMode === "multiple" ? e.extendSelection($) : u && e.replaceSelection($);
5667
+ let y = n.getFirstKey(e.focusedKey, Ye(E));
5668
+ e.setFocusedKey(y), Ye(E) && E.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(y) : u && e.replaceSelection(y);
5669
5669
  }
5670
5670
  break;
5671
5671
  case "End":
5672
5672
  if (n.getLastKey) {
5673
5673
  E.preventDefault();
5674
- let $ = n.getLastKey(e.focusedKey, Ye(E));
5675
- e.setFocusedKey($), Ye(E) && E.shiftKey && e.selectionMode === "multiple" ? e.extendSelection($) : u && e.replaceSelection($);
5674
+ let y = n.getLastKey(e.focusedKey, Ye(E));
5675
+ e.setFocusedKey(y), Ye(E) && E.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(y) : u && e.replaceSelection(y);
5676
5676
  }
5677
5677
  break;
5678
5678
  case "PageDown":
5679
5679
  if (n.getKeyPageBelow) {
5680
5680
  E.preventDefault();
5681
- let $ = n.getKeyPageBelow(e.focusedKey);
5682
- P($);
5681
+ let y = n.getKeyPageBelow(e.focusedKey);
5682
+ P(y);
5683
5683
  }
5684
5684
  break;
5685
5685
  case "PageUp":
5686
5686
  if (n.getKeyPageAbove) {
5687
5687
  E.preventDefault();
5688
- let $ = n.getKeyPageAbove(e.focusedKey);
5689
- P($);
5688
+ let y = n.getKeyPageAbove(e.focusedKey);
5689
+ P(y);
5690
5690
  }
5691
5691
  break;
5692
5692
  case "a":
@@ -5700,11 +5700,11 @@ function il(t) {
5700
5700
  if (E.shiftKey)
5701
5701
  r.current.focus();
5702
5702
  else {
5703
- let $ = Me(r.current, {
5703
+ let y = Me(r.current, {
5704
5704
  tabbable: !0
5705
5705
  }), D, z;
5706
5706
  do
5707
- z = $.lastChild(), z && (D = z);
5707
+ z = y.lastChild(), z && (D = z);
5708
5708
  while (z);
5709
5709
  D && !D.contains(document.activeElement) && Fe(D);
5710
5710
  }
@@ -5834,24 +5834,24 @@ function ll(t) {
5834
5834
  } : s && (d.onMouseDown = (F) => {
5835
5835
  F.preventDefault();
5836
5836
  });
5837
- let v = e.isLink(n) && c === "override", h = e.isLink(n) && c !== "selection" && c !== "none", x = !s && e.canSelectItem(n) && !v, _ = (u || h) && !s, w = _ && (e.selectionBehavior === "replace" ? !x : !x || e.isEmpty), S = _ && x && e.selectionBehavior === "replace", K = w || S, g = B(null), k = K && x, O = B(!1), p = B(!1), A = (F) => {
5838
- u && u(), h && f.open(r.current, F);
5837
+ let v = e.isLink(n) && c === "override", $ = e.isLink(n) && c !== "selection" && c !== "none", h = !s && e.canSelectItem(n) && !v, _ = (u || $) && !s, w = _ && (e.selectionBehavior === "replace" ? !h : !h || e.isEmpty), S = _ && h && e.selectionBehavior === "replace", K = w || S, g = B(null), k = K && h, O = B(!1), p = B(!1), A = (F) => {
5838
+ u && u(), $ && f.open(r.current, F);
5839
5839
  }, E = {};
5840
5840
  o ? (E.onPressStart = (F) => {
5841
5841
  g.current = F.pointerType, O.current = k, F.pointerType === "keyboard" && (!K || zr()) && b(F);
5842
5842
  }, a ? (E.onPressUp = w ? null : (F) => {
5843
- F.pointerType !== "keyboard" && x && b(F);
5843
+ F.pointerType !== "keyboard" && h && b(F);
5844
5844
  }, E.onPress = w ? A : null) : E.onPress = (F) => {
5845
5845
  if (w || S && F.pointerType !== "mouse") {
5846
5846
  if (F.pointerType === "keyboard" && !Vr())
5847
5847
  return;
5848
5848
  A(F);
5849
5849
  } else
5850
- F.pointerType !== "keyboard" && x && b(F);
5850
+ F.pointerType !== "keyboard" && h && b(F);
5851
5851
  }) : (E.onPressStart = (F) => {
5852
- g.current = F.pointerType, O.current = k, p.current = w, x && (F.pointerType === "mouse" && !w || F.pointerType === "keyboard" && (!_ || zr())) && b(F);
5852
+ g.current = F.pointerType, O.current = k, p.current = w, h && (F.pointerType === "mouse" && !w || F.pointerType === "keyboard" && (!_ || zr())) && b(F);
5853
5853
  }, E.onPress = (F) => {
5854
- (F.pointerType === "touch" || F.pointerType === "pen" || F.pointerType === "virtual" || F.pointerType === "keyboard" && K && Vr() || F.pointerType === "mouse" && p.current) && (K ? A(F) : x && b(F));
5854
+ (F.pointerType === "touch" || F.pointerType === "pen" || F.pointerType === "virtual" || F.pointerType === "keyboard" && K && Vr() || F.pointerType === "mouse" && p.current) && (K ? A(F) : h && b(F));
5855
5855
  }), d["data-key"] = n, E.preventFocusOnPress = i;
5856
5856
  let { pressProps: P, isPressed: I } = Gt(E), C = S ? (F) => {
5857
5857
  g.current === "mouse" && (F.stopPropagation(), F.preventDefault(), A(F));
@@ -5866,7 +5866,7 @@ function ll(t) {
5866
5866
  Re.isOpening || F.preventDefault();
5867
5867
  } : void 0;
5868
5868
  return {
5869
- itemProps: se(d, x || w ? P : {}, k ? T : {}, {
5869
+ itemProps: se(d, h || w ? P : {}, k ? T : {}, {
5870
5870
  onDoubleClick: C,
5871
5871
  onDragStartCapture: q,
5872
5872
  onClick: V
@@ -5875,7 +5875,7 @@ function ll(t) {
5875
5875
  isSelected: e.isSelected(n),
5876
5876
  isFocused: e.isFocused && e.focusedKey === n,
5877
5877
  isDisabled: s,
5878
- allowsSelection: x,
5878
+ allowsSelection: h,
5879
5879
  hasAction: K
5880
5880
  };
5881
5881
  }
@@ -6099,9 +6099,9 @@ function za(t, e, n) {
6099
6099
  var b;
6100
6100
  let d = (b = t.shouldFocusOnHover) !== null && b !== void 0 ? b : i == null ? void 0 : i.shouldFocusOnHover;
6101
6101
  var v;
6102
- let h = (v = t.shouldUseVirtualFocus) !== null && v !== void 0 ? v : i == null ? void 0 : i.shouldUseVirtualFocus;
6103
- var x;
6104
- let _ = (x = t.isVirtualized) !== null && x !== void 0 ? x : i == null ? void 0 : i.isVirtualized, w = Oe(), S = Oe(), K = {
6102
+ let $ = (v = t.shouldUseVirtualFocus) !== null && v !== void 0 ? v : i == null ? void 0 : i.shouldUseVirtualFocus;
6103
+ var h;
6104
+ let _ = (h = t.isVirtualized) !== null && h !== void 0 ? h : i == null ? void 0 : i.isVirtualized, w = Oe(), S = Oe(), K = {
6105
6105
  role: "option",
6106
6106
  "aria-disabled": s || void 0,
6107
6107
  "aria-selected": e.selectionManager.selectionMode !== "none" ? a : void 0
@@ -6119,7 +6119,7 @@ function za(t, e, n) {
6119
6119
  shouldSelectOnPressUp: f,
6120
6120
  allowsDifferentPressOrigin: f && d,
6121
6121
  isVirtualized: _,
6122
- shouldUseVirtualFocus: h,
6122
+ shouldUseVirtualFocus: $,
6123
6123
  isDisabled: s,
6124
6124
  onAction: i != null && i.onAction ? () => {
6125
6125
  var C;
@@ -6435,7 +6435,7 @@ function Ua(t, e, n) {
6435
6435
  }
6436
6436
  function Wa(t, e, n) {
6437
6437
  var r;
6438
- let { key: o, closeOnSelect: i, isVirtualized: l, "aria-haspopup": s, onPressStart: u, onPressUp: a, onPress: c, onPressChange: f, onPressEnd: b, onHoverStart: d, onHoverChange: v, onHoverEnd: h, onKeyDown: x, onKeyUp: _, onFocus: w, onFocusChange: S, onBlur: K } = t, g = !!s;
6438
+ let { key: o, closeOnSelect: i, isVirtualized: l, "aria-haspopup": s, onPressStart: u, onPressUp: a, onPress: c, onPressChange: f, onPressEnd: b, onHoverStart: d, onHoverChange: v, onHoverEnd: $, onKeyDown: h, onKeyUp: _, onFocus: w, onFocusChange: S, onBlur: K } = t, g = !!s;
6439
6439
  var k;
6440
6440
  let O = (k = t.isDisabled) !== null && k !== void 0 ? k : e.disabledKeys.has(o);
6441
6441
  var p;
@@ -6458,8 +6458,8 @@ function Wa(t, e, n) {
6458
6458
  "aria-expanded": t["aria-expanded"]
6459
6459
  };
6460
6460
  e.selectionManager.selectionMode !== "none" && !g && (ae["aria-checked"] = A);
6461
- let $ = e.collection.getItem(o);
6462
- l && (ae["aria-posinset"] = $ == null ? void 0 : $.index, ae["aria-setsize"] = Rn(e.collection));
6461
+ let y = e.collection.getItem(o);
6462
+ l && (ae["aria-posinset"] = y == null ? void 0 : y.index, ae["aria-setsize"] = Rn(e.collection));
6463
6463
  let D = (Z) => {
6464
6464
  Z.pointerType === "keyboard" && T(Z), u == null || u(Z);
6465
6465
  }, z = (Z) => {
@@ -6488,7 +6488,7 @@ function Wa(t, e, n) {
6488
6488
  dt() || (e.selectionManager.setFocused(!0), e.selectionManager.setFocusedKey(o)), d == null || d(Z);
6489
6489
  },
6490
6490
  onHoverChange: v,
6491
- onHoverEnd: h
6491
+ onHoverEnd: $
6492
6492
  }), { keyboardProps: N } = Ao({
6493
6493
  onKeyDown: (Z) => {
6494
6494
  if (Z.repeat) {
@@ -6503,7 +6503,7 @@ function Wa(t, e, n) {
6503
6503
  !O && i !== !1 && !g && P && P();
6504
6504
  break;
6505
6505
  default:
6506
- g || Z.continuePropagation(), x == null || x(Z);
6506
+ g || Z.continuePropagation(), h == null || h(Z);
6507
6507
  break;
6508
6508
  }
6509
6509
  },
@@ -6512,8 +6512,8 @@ function Wa(t, e, n) {
6512
6512
  onBlur: K,
6513
6513
  onFocus: w,
6514
6514
  onFocusChange: S
6515
- }), W = je($.props, {
6516
- isLink: !!(!($ == null || (r = $.props) === null || r === void 0) && r.href)
6515
+ }), W = je(y.props, {
6516
+ isLink: !!(!(y == null || (r = y.props) === null || r === void 0) && r.href)
6517
6517
  });
6518
6518
  return delete W.id, {
6519
6519
  menuItemProps: {
@@ -6562,7 +6562,7 @@ function qa(t, e) {
6562
6562
  let { inputElementType: n = "input", isDisabled: r = !1, isRequired: o = !1, isReadOnly: i = !1, type: l = "text", validationBehavior: s = "aria" } = t, [u, a] = tt(t.value, t.defaultValue || "", t.onChange), { focusableProps: c } = Lo(t, e), f = On({
6563
6563
  ...t,
6564
6564
  value: u
6565
- }), { isInvalid: b, validationErrors: d, validationDetails: v } = f.displayValidation, { labelProps: h, fieldProps: x, descriptionProps: _, errorMessageProps: w } = Oo({
6565
+ }), { isInvalid: b, validationErrors: d, validationDetails: v } = f.displayValidation, { labelProps: $, fieldProps: h, descriptionProps: _, errorMessageProps: w } = Oo({
6566
6566
  ...t,
6567
6567
  isInvalid: b,
6568
6568
  errorMessage: t.errorMessage || d
@@ -6586,7 +6586,7 @@ function qa(t, e) {
6586
6586
  }, [
6587
6587
  e
6588
6588
  ]), {
6589
- labelProps: h,
6589
+ labelProps: $,
6590
6590
  inputProps: se(S, n === "input" && K, {
6591
6591
  disabled: r,
6592
6592
  readOnly: i,
@@ -6620,7 +6620,7 @@ function qa(t, e) {
6620
6620
  onBeforeInput: t.onBeforeInput,
6621
6621
  onInput: t.onInput,
6622
6622
  ...c,
6623
- ...x
6623
+ ...h
6624
6624
  }),
6625
6625
  descriptionProps: _,
6626
6626
  errorMessageProps: w,
@@ -6691,14 +6691,14 @@ function Xa(t, e) {
6691
6691
  ref: o,
6692
6692
  // Prevent item scroll behavior from being applied here, should be handled in the user's Popover + ListBox component
6693
6693
  isVirtualized: !0
6694
- }), h = Wt(), x = (L) => {
6694
+ }), $ = Wt(), h = (L) => {
6695
6695
  switch (L.key) {
6696
6696
  case "Enter":
6697
6697
  case "Tab":
6698
6698
  if (e.isOpen && L.key === "Enter" && L.preventDefault(), e.isOpen && e.selectionManager.focusedKey != null && e.selectionManager.isLink(e.selectionManager.focusedKey)) {
6699
6699
  if (L.key === "Enter") {
6700
6700
  let N = i.current.querySelector(`[data-key="${CSS.escape(e.selectionManager.focusedKey.toString())}"]`);
6701
- N instanceof HTMLAnchorElement && h.open(N, L);
6701
+ N instanceof HTMLAnchorElement && $.open(N, L);
6702
6702
  }
6703
6703
  e.close();
6704
6704
  } else
@@ -6726,7 +6726,7 @@ function Xa(t, e) {
6726
6726
  }, { isInvalid: S, validationErrors: K, validationDetails: g } = e.displayValidation, { labelProps: k, inputProps: O, descriptionProps: p, errorMessageProps: A } = qa({
6727
6727
  ...t,
6728
6728
  onChange: e.setInputValue,
6729
- onKeyDown: u ? t.onKeyDown : Qe(e.isOpen && v.onKeyDown, x, t.onKeyDown),
6729
+ onKeyDown: u ? t.onKeyDown : Qe(e.isOpen && v.onKeyDown, h, t.onKeyDown),
6730
6730
  onBlur: _,
6731
6731
  value: e.inputValue,
6732
6732
  onFocus: w,
@@ -6758,10 +6758,10 @@ function Xa(t, e) {
6758
6758
  var F;
6759
6759
  let ue = (F = V == null ? void 0 : V.parentKey) !== null && F !== void 0 ? F : null;
6760
6760
  var ae;
6761
- let $ = (ae = e.selectionManager.focusedKey) !== null && ae !== void 0 ? ae : null, D = B(ue), z = B($);
6761
+ let y = (ae = e.selectionManager.focusedKey) !== null && ae !== void 0 ? ae : null, D = B(ue), z = B(y);
6762
6762
  G(() => {
6763
- if (wt() && V != null && $ !== z.current) {
6764
- let L = e.selectionManager.isSelected($), N = ue != null ? e.collection.getItem(ue) : null, X = (N == null ? void 0 : N["aria-label"]) || (typeof (N == null ? void 0 : N.rendered) == "string" ? N.rendered : "") || "", W = c.format("focusAnnouncement", {
6763
+ if (wt() && V != null && y !== z.current) {
6764
+ let L = e.selectionManager.isSelected(y), N = ue != null ? e.collection.getItem(ue) : null, X = (N == null ? void 0 : N["aria-label"]) || (typeof (N == null ? void 0 : N.rendered) == "string" ? N.rendered : "") || "", W = c.format("focusAnnouncement", {
6765
6765
  isGroupChange: N && ue !== D.current,
6766
6766
  groupTitle: X,
6767
6767
  groupCount: N ? [
@@ -6772,7 +6772,7 @@ function Xa(t, e) {
6772
6772
  });
6773
6773
  an(W);
6774
6774
  }
6775
- D.current = ue, z.current = $;
6775
+ D.current = ue, z.current = y;
6776
6776
  });
6777
6777
  let j = Rn(e.collection), H = B(j), Y = B(e.isOpen);
6778
6778
  G(() => {
@@ -6875,11 +6875,11 @@ function Za(t, e, n) {
6875
6875
  onTypeSelect(p) {
6876
6876
  e.setSelectedKey(p);
6877
6877
  }
6878
- }), { isInvalid: v, validationErrors: h, validationDetails: x } = e.displayValidation, { labelProps: _, fieldProps: w, descriptionProps: S, errorMessageProps: K } = Oo({
6878
+ }), { isInvalid: v, validationErrors: $, validationDetails: h } = e.displayValidation, { labelProps: _, fieldProps: w, descriptionProps: S, errorMessageProps: K } = Oo({
6879
6879
  ...t,
6880
6880
  labelElementType: "span",
6881
6881
  isInvalid: v,
6882
- errorMessage: t.errorMessage || h
6882
+ errorMessage: t.errorMessage || $
6883
6883
  });
6884
6884
  d.onKeyDown = d.onKeyDownCapture, delete d.onKeyDownCapture;
6885
6885
  let g = je(t, {
@@ -6935,8 +6935,8 @@ function Za(t, e, n) {
6935
6935
  descriptionProps: S,
6936
6936
  errorMessageProps: K,
6937
6937
  isInvalid: v,
6938
- validationErrors: h,
6939
- validationDetails: x
6938
+ validationErrors: $,
6939
+ validationDetails: h
6940
6940
  };
6941
6941
  }
6942
6942
  function Ja(t, e, n) {
@@ -7060,12 +7060,12 @@ const ec = "_focused_1af8e_1", tc = "_listbox_1af8e_10", nc = "_content_1af8e_89
7060
7060
  function Gl({ item: t, state: e }) {
7061
7061
  const n = B(null), { optionProps: r, descriptionProps: o, labelProps: i, isFocused: l, isFocusVisible: s } = za({ key: t.key }, e, n), { description: u, startContent: a, endContent: c, color: f, showDivider: b, href: d, className: v } = t.props || {};
7062
7062
  return /* @__PURE__ */ R(
7063
- d ? "a" : "li",
7063
+ d ? he : "li",
7064
7064
  {
7065
7065
  ...r,
7066
7066
  ref: n,
7067
7067
  href: d,
7068
- className: y(
7068
+ className: x(
7069
7069
  Ce["listbox-item"],
7070
7070
  v,
7071
7071
  {
@@ -7095,7 +7095,7 @@ function lc({ section: t, state: e }) {
7095
7095
  "li",
7096
7096
  {
7097
7097
  ...n,
7098
- className: y(
7098
+ className: x(
7099
7099
  Ce["listbox-section"],
7100
7100
  l,
7101
7101
  s.base,
@@ -7106,14 +7106,14 @@ function lc({ section: t, state: e }) {
7106
7106
  "span",
7107
7107
  {
7108
7108
  ...r,
7109
- className: y(
7109
+ className: x(
7110
7110
  "fr-text-mention--grey fr-text--sm fr-my-1w fr-px-1w",
7111
7111
  s.title
7112
7112
  ),
7113
7113
  children: t.rendered
7114
7114
  }
7115
7115
  ),
7116
- /* @__PURE__ */ m(u, { ...o, className: y(Ce["listbox-section-list"], s.list), children: [...t.childNodes].map((a) => /* @__PURE__ */ m(
7116
+ /* @__PURE__ */ m(u, { ...o, className: x(Ce["listbox-section-list"], s.list), children: [...t.childNodes].map((a) => /* @__PURE__ */ m(
7117
7117
  Gl,
7118
7118
  {
7119
7119
  item: a,
@@ -7126,21 +7126,21 @@ function lc({ section: t, state: e }) {
7126
7126
  );
7127
7127
  }
7128
7128
  function Qn(t) {
7129
- var d, v;
7130
- const e = B(null), { listBoxRef: n = e, state: r, className: o, css: i = {}, color: l, topContent: s, bottomContent: u, ...a } = t, { listBoxProps: c } = Va(a, r, n), { isFocusVisible: f } = qn(), b = [...r.collection].find((h) => h.props.href) ? "div" : "ul";
7131
- return /* @__PURE__ */ R("div", { className: y(Ce.listbox, o, i.base), style: { minWidth: ((v = (d = t == null ? void 0 : t.triggerRef) == null ? void 0 : d.current) == null ? void 0 : v.offsetWidth) || "auto" }, children: [
7132
- /* @__PURE__ */ m("span", { className: y(Ce["listbox-top"], i.top), children: s && s }),
7129
+ var v, $;
7130
+ const e = B(null), { listBoxRef: n = e, state: r, className: o, css: i = {}, color: l, topContent: s, bottomContent: u, ...a } = t, { listBoxProps: c } = Va(a, r, n), { isFocusVisible: f } = qn(), b = [...r.collection].find((h) => h.props.href) ? "div" : "ul", d = (($ = (v = t == null ? void 0 : t.triggerRef) == null ? void 0 : v.current) == null ? void 0 : $.offsetWidth) || 0;
7131
+ return /* @__PURE__ */ R("div", { className: x(Ce.listbox, o, i.base), style: { minWidth: d || "auto", maxWidth: d > 150 ? d : "auto" }, children: [
7132
+ /* @__PURE__ */ m("span", { className: x(Ce["listbox-top"], i.top), children: s && s }),
7133
7133
  /* @__PURE__ */ m(
7134
7134
  b,
7135
7135
  {
7136
- className: y(Ce["listbox-content"], i.list, { [Ce[`listbox--${l}`]]: l }),
7136
+ className: x(Ce["listbox-content"], i.list, { [Ce[`listbox--${l}`]]: l }),
7137
7137
  ref: n,
7138
7138
  "data-focus-visible": f,
7139
7139
  ...c,
7140
7140
  children: [...r.collection].map((h) => h.type === "section" ? /* @__PURE__ */ ir(lc, { ...h.props, key: h.key, section: h, state: r }) : /* @__PURE__ */ ir(Gl, { ...h.props, key: h.key, item: h, state: r }))
7141
7141
  }
7142
7142
  ),
7143
- /* @__PURE__ */ m("span", { className: y(Ce["listbox-bottom"], i.bottom), children: u && u })
7143
+ /* @__PURE__ */ m("span", { className: x(Ce["listbox-bottom"], i.bottom), children: u && u })
7144
7144
  ] });
7145
7145
  }
7146
7146
  const sc = "_popover_1g6m6_1", uc = {
@@ -7191,14 +7191,14 @@ function fc(t) {
7191
7191
  inputRef: r,
7192
7192
  listBoxRef: o,
7193
7193
  popoverRef: i,
7194
- onKeyUp: (h) => {
7195
- var x;
7196
- h.key === "Enter" && (h.preventDefault(), (x = t.onSubmit) == null || x.call(t, n.inputValue));
7194
+ onKeyUp: ($) => {
7195
+ var h;
7196
+ $.key === "Enter" && ($.preventDefault(), (h = t.onSubmit) == null || h.call(t, n.inputValue));
7197
7197
  }
7198
7198
  },
7199
7199
  n
7200
7200
  );
7201
- return /* @__PURE__ */ R("form", { onSubmit: () => a == null ? void 0 : a((t == null ? void 0 : t.inputValue) || ""), ref: l, className: y("fr-search-bar", { "fr-search-bar--lg": s === "lg" }), role: "search", children: [
7201
+ return /* @__PURE__ */ R("form", { onSubmit: () => a == null ? void 0 : a((t == null ? void 0 : t.inputValue) || ""), ref: l, className: x("fr-search-bar", { "fr-search-bar--lg": s === "lg" }), role: "search", children: [
7202
7202
  /* @__PURE__ */ m(
7203
7203
  "input",
7204
7204
  {
@@ -7208,7 +7208,7 @@ function fc(t) {
7208
7208
  className: "fr-input"
7209
7209
  }
7210
7210
  ),
7211
- /* @__PURE__ */ R("button", { type: "submit", style: { position: "relative" }, className: y("fr-btn", { "fr-btn--lg": s === "lg" }), children: [
7211
+ /* @__PURE__ */ R("button", { type: "submit", style: { position: "relative" }, className: x("fr-btn", { "fr-btn--lg": s === "lg" }), children: [
7212
7212
  /* @__PURE__ */ m("div", { style: { position: "absolute", left: "-40px" }, children: t.loadingState === "loading" && /* @__PURE__ */ m(dc, {}) }),
7213
7213
  "Rechercher"
7214
7214
  ] }),
@@ -7237,37 +7237,37 @@ function fc(t) {
7237
7237
  ] });
7238
7238
  }
7239
7239
  const ld = Rt, sd = ({ children: t, className: e, css: n = {}, ...r }) => {
7240
- var h, x, _, w;
7241
- const o = ie(), i = ie(), l = ie(), s = ie(), u = (h = fe(t, ds)) == null ? void 0 : h[0], a = (x = fe(t, fs)) == null ? void 0 : x[0], c = (_ = et(t, [bs, fc])) == null ? void 0 : _[0], f = (w = fe(t, ms)) == null ? void 0 : w[0], b = fe(t, vs), d = fe(t, ps), v = ge(c) ? c.props.title : "Rechercher";
7242
- return /* @__PURE__ */ R("header", { role: "banner", className: y("fr-header", e), ...r, children: [
7243
- /* @__PURE__ */ m("div", { className: y("fr-header__body", n["fr-header__body"]), children: /* @__PURE__ */ m("div", { className: "fr-container", children: /* @__PURE__ */ R("div", { className: y("fr-header__body-row", n["fr-header__body-row"]), children: [
7244
- /* @__PURE__ */ R("div", { className: y("fr-header__brand fr-enlarge-link", n["fr-header__brand"]), children: [
7245
- /* @__PURE__ */ R("div", { className: y("fr-header__brand-top", n["fr-header__brand-top"]), children: [
7240
+ var $, h, _, w;
7241
+ const o = ie(), i = ie(), l = ie(), s = ie(), u = ($ = fe(t, ds)) == null ? void 0 : $[0], a = (h = fe(t, fs)) == null ? void 0 : h[0], c = (_ = et(t, [bs, fc])) == null ? void 0 : _[0], f = (w = fe(t, ms)) == null ? void 0 : w[0], b = fe(t, vs), d = fe(t, ps), v = $e(c) ? c.props.title : "Rechercher";
7242
+ return /* @__PURE__ */ R("header", { role: "banner", className: x("fr-header", e), ...r, children: [
7243
+ /* @__PURE__ */ m("div", { className: x("fr-header__body", n["fr-header__body"]), children: /* @__PURE__ */ m("div", { className: "fr-container", children: /* @__PURE__ */ R("div", { className: x("fr-header__body-row", n["fr-header__body-row"]), children: [
7244
+ /* @__PURE__ */ R("div", { className: x("fr-header__brand fr-enlarge-link", n["fr-header__brand"]), children: [
7245
+ /* @__PURE__ */ R("div", { className: x("fr-header__brand-top", n["fr-header__brand-top"]), children: [
7246
7246
  b && b,
7247
7247
  d && d,
7248
- (a || c) && /* @__PURE__ */ R("div", { className: y("fr-header__navbar", n["fr-header__navbar"]), children: [
7249
- c && /* @__PURE__ */ m("button", { className: y("fr-btn--search fr-btn", n["fr-btn--search"]), "data-fr-opened": "false", "aria-controls": i, id: o, title: v, children: v }),
7250
- a && /* @__PURE__ */ m("button", { className: y("fr-btn--menu fr-btn", n["fr-btn--menu"]), "data-fr-opened": "false", "aria-controls": l, "aria-haspopup": "menu", id: s, title: "Menu", children: "Menu" })
7248
+ (a || c) && /* @__PURE__ */ R("div", { className: x("fr-header__navbar", n["fr-header__navbar"]), children: [
7249
+ c && /* @__PURE__ */ m("button", { className: x("fr-btn--search fr-btn", n["fr-btn--search"]), "data-fr-opened": "false", "aria-controls": i, id: o, title: v, children: v }),
7250
+ a && /* @__PURE__ */ m("button", { className: x("fr-btn--menu fr-btn", n["fr-btn--menu"]), "data-fr-opened": "false", "aria-controls": l, "aria-haspopup": "menu", id: s, title: "Menu", children: "Menu" })
7251
7251
  ] })
7252
7252
  ] }),
7253
7253
  u && u
7254
7254
  ] }),
7255
- /* @__PURE__ */ R("div", { className: y("fr-header__tools", n["fr-header__tools"]), children: [
7255
+ /* @__PURE__ */ R("div", { className: x("fr-header__tools", n["fr-header__tools"]), children: [
7256
7256
  a,
7257
- c && /* @__PURE__ */ m("div", { className: y("fr-header__search fr-modal", n["fr-header__search"]), id: i, children: /* @__PURE__ */ R("div", { className: "fr-container fr-container-lg--fluid", children: [
7257
+ c && /* @__PURE__ */ m("div", { className: x("fr-header__search fr-modal", n["fr-header__search"]), id: i, children: /* @__PURE__ */ R("div", { className: "fr-container fr-container-lg--fluid", children: [
7258
7258
  /* @__PURE__ */ m("button", { className: "fr-btn--close fr-btn", "aria-controls": i, title: "Fermer", children: "Fermer" }),
7259
7259
  c
7260
7260
  ] }) })
7261
7261
  ] })
7262
7262
  ] }) }) }),
7263
- /* @__PURE__ */ m("div", { className: y("fr-header__menu fr-modal", n["fr-header__menu"]), id: l, "aria-labelledby": s, children: /* @__PURE__ */ R("div", { className: "fr-container", children: [
7263
+ /* @__PURE__ */ m("div", { className: x("fr-header__menu fr-modal", n["fr-header__menu"]), id: l, "aria-labelledby": s, children: /* @__PURE__ */ R("div", { className: "fr-container", children: [
7264
7264
  /* @__PURE__ */ m("button", { className: "fr-btn--close fr-btn", "aria-controls": l, title: "Fermer", children: "Fermer" }),
7265
- /* @__PURE__ */ m("div", { className: y("fr-header__menu-links", n["fr-header__menu-links"]) }),
7265
+ /* @__PURE__ */ m("div", { className: x("fr-header__menu-links", n["fr-header__menu-links"]) }),
7266
7266
  f && f
7267
7267
  ] }) })
7268
7268
  ] });
7269
7269
  };
7270
- const tr = me, nr = ({ className: t, color: e, icon: n, iconPosition: r, size: o }) => y("fr-tag", t, {
7270
+ const tr = me, nr = ({ className: t, color: e, icon: n, iconPosition: r, size: o }) => x("fr-tag", t, {
7271
7271
  "fr-tag--sm": o === "sm",
7272
7272
  [`fr-icon-${n}`]: n,
7273
7273
  [`fr-tag--icon-${r}`]: n && r,
@@ -7283,7 +7283,7 @@ const tr = me, nr = ({ className: t, color: e, icon: n, iconPosition: r, size: o
7283
7283
  }, s) => {
7284
7284
  const u = nr({ className: e, color: n, icon: r, iconPosition: o, size: i });
7285
7285
  return /* @__PURE__ */ m(
7286
- t === "a" ? $e : t || "p",
7286
+ t === "a" ? he : t || "p",
7287
7287
  {
7288
7288
  ref: s,
7289
7289
  className: u,
@@ -7302,7 +7302,7 @@ const tr = me, nr = ({ className: t, color: e, icon: n, iconPosition: r, size: o
7302
7302
  }, u) => {
7303
7303
  const a = nr({ className: e, color: n, icon: r, iconPosition: o, size: i });
7304
7304
  return /* @__PURE__ */ m(
7305
- t === "a" ? $e : t || "button",
7305
+ t === "a" ? he : t || "button",
7306
7306
  {
7307
7307
  "data-fr-js-disable": "true",
7308
7308
  ref: u,
@@ -7320,9 +7320,9 @@ const tr = me, nr = ({ className: t, color: e, icon: n, iconPosition: r, size: o
7320
7320
  size: i,
7321
7321
  ...l
7322
7322
  }, s) => {
7323
- const u = y("fr-tag--dismiss", nr({ className: e, color: n, icon: r, iconPosition: o, size: i }));
7323
+ const u = x("fr-tag--dismiss", nr({ className: e, color: n, icon: r, iconPosition: o, size: i }));
7324
7324
  return /* @__PURE__ */ m(
7325
- t === "a" ? $e : t || "button",
7325
+ t === "a" ? he : t || "button",
7326
7326
  {
7327
7327
  ref: s,
7328
7328
  className: u,
@@ -7334,7 +7334,7 @@ const tr = me, nr = ({ className: t, color: e, icon: n, iconPosition: r, size: o
7334
7334
  children: e,
7335
7335
  ...n
7336
7336
  }) => {
7337
- const r = ie(), o = y("fr-tags-group", t);
7337
+ const r = ie(), o = x("fr-tags-group", t);
7338
7338
  return /* @__PURE__ */ m("ul", { className: o, ...ze(n), children: et(e, [pc, bc, mc]).map((i, l) => /* @__PURE__ */ m("li", { children: i }, `${r}-${l}`)) });
7339
7339
  }, vc = {
7340
7340
  config: { attributes: !0, childList: !1, subtree: !1 }
@@ -7364,28 +7364,28 @@ const gc = me(({
7364
7364
  }, s) => {
7365
7365
  const u = ie(), a = B(null), [c, f] = J(!!i), b = oe(
7366
7366
  (d) => {
7367
- var h;
7368
- if (d.find((x) => x.attributeName === "aria-expanded") && ((h = a == null ? void 0 : a.current) != null && h.attributes)) {
7369
- const x = a.current.attributes.getNamedItem("aria-expanded");
7370
- f(x ? x.value === "true" : !1);
7367
+ var $;
7368
+ if (d.find((h) => h.attributeName === "aria-expanded") && (($ = a == null ? void 0 : a.current) != null && $.attributes)) {
7369
+ const h = a.current.attributes.getNamedItem("aria-expanded");
7370
+ f(h ? h.value === "true" : !1);
7371
7371
  }
7372
7372
  },
7373
7373
  [a]
7374
7374
  );
7375
- return hc(a == null ? void 0 : a.current, b), /* @__PURE__ */ R("section", { className: y("fr-accordion", r), children: [
7375
+ return hc(a == null ? void 0 : a.current, b), /* @__PURE__ */ R("section", { className: x("fr-accordion", r), children: [
7376
7376
  /* @__PURE__ */ m(
7377
7377
  e,
7378
7378
  {
7379
- className: y("fr-accordion__title", o.title),
7379
+ className: x("fr-accordion__title", o.title),
7380
7380
  children: /* @__PURE__ */ m(
7381
7381
  "button",
7382
7382
  {
7383
7383
  ...l,
7384
7384
  ref: (d) => bt(d, [s, a]),
7385
- className: y("fr-accordion__btn", o.button),
7385
+ className: x("fr-accordion__btn", o.button),
7386
7386
  "aria-expanded": i,
7387
7387
  "aria-controls": u,
7388
- children: ge(t) || typeof t == "string" ? t : typeof t == "function" ? t(c) : null
7388
+ children: $e(t) || typeof t == "string" ? t : typeof t == "function" ? t(c) : null
7389
7389
  }
7390
7390
  )
7391
7391
  }
@@ -7394,7 +7394,7 @@ const gc = me(({
7394
7394
  ] });
7395
7395
  }), ad = ({ children: t, className: e, ...n }) => {
7396
7396
  const r = ie();
7397
- return /* @__PURE__ */ m("div", { className: y("fr-accordions-group", e), ...n, children: fe(t, gc).map((o, i) => /* @__PURE__ */ m(yn, { children: o }, `${r}-d${i}`)) });
7397
+ return /* @__PURE__ */ m("div", { className: x("fr-accordions-group", e), ...n, children: fe(t, gc).map((o, i) => /* @__PURE__ */ m(yn, { children: o }, `${r}-d${i}`)) });
7398
7398
  }, cd = me(({
7399
7399
  className: t,
7400
7400
  closeMode: e = "disallow",
@@ -7415,13 +7415,13 @@ const gc = me(({
7415
7415
  "div",
7416
7416
  {
7417
7417
  ref: (d) => bt(d, [c, f]),
7418
- className: y(`fr-alert fr-alert--${u}`, { "fr-alert--sm": r === "sm" }, t),
7418
+ className: x(`fr-alert fr-alert--${u}`, { "fr-alert--sm": r === "sm" }, t),
7419
7419
  ...a,
7420
7420
  children: [
7421
- i && /* @__PURE__ */ m(s, { className: y("fr-alert__title", l.title), children: i }),
7422
- n && /* @__PURE__ */ m("p", { className: y(l.description), children: n }),
7423
- e === "uncontrolled" && /* @__PURE__ */ m("button", { onClick: b, className: y("fr-btn--close fr-btn", l.button), children: "Masquer le message" }),
7424
- e === "controlled" && /* @__PURE__ */ m("button", { onClick: o, className: y("fr-link--close fr-link", l.button), children: "Masquer le message" })
7421
+ i && /* @__PURE__ */ m(s, { className: x("fr-alert__title", l.title), children: i }),
7422
+ n && /* @__PURE__ */ m("p", { className: x(l.description), children: n }),
7423
+ e === "uncontrolled" && /* @__PURE__ */ m("button", { onClick: b, className: x("fr-btn--close fr-btn", l.button), children: "Masquer le message" }),
7424
+ e === "controlled" && /* @__PURE__ */ m("button", { onClick: o, className: x("fr-link--close fr-link", l.button), children: "Masquer le message" })
7425
7425
  ]
7426
7426
  }
7427
7427
  );
@@ -7438,17 +7438,17 @@ const dd = ({
7438
7438
  const s = B(null), u = (c) => {
7439
7439
  var f;
7440
7440
  c.preventDefault(), (f = s.current) == null || f.remove(), i && i(c);
7441
- }, a = y("fr-notice", {
7441
+ }, a = x("fr-notice", {
7442
7442
  "fr-notice--info": n === "info",
7443
7443
  [`react-dsfr-notice--${n}`]: n !== "info"
7444
7444
  }, r);
7445
- return /* @__PURE__ */ m("div", { ref: s, className: a, ...l, children: /* @__PURE__ */ m("div", { className: y("fr-container", o["fr-container"]), children: /* @__PURE__ */ R("div", { className: y("fr-notice__body", o["fr-notice__body"]), children: [
7446
- /* @__PURE__ */ m("p", { className: y("fr-notice__title", o["fr-notice__title"]), children: t }),
7445
+ return /* @__PURE__ */ m("div", { ref: s, className: a, ...l, children: /* @__PURE__ */ m("div", { className: x("fr-container", o["fr-container"]), children: /* @__PURE__ */ R("div", { className: x("fr-notice__body", o["fr-notice__body"]), children: [
7446
+ /* @__PURE__ */ m("p", { className: x("fr-notice__title", o["fr-notice__title"]), children: t }),
7447
7447
  e !== "disallow" && /* @__PURE__ */ m(
7448
7448
  "button",
7449
7449
  {
7450
7450
  onClick: e === "uncontrolled" ? u : i,
7451
- className: y("fr-btn--close", "fr-btn", o["fr-btn--close"]),
7451
+ className: x("fr-btn--close", "fr-btn", o["fr-btn--close"]),
7452
7452
  children: "Masquer le message"
7453
7453
  }
7454
7454
  )
@@ -7461,7 +7461,7 @@ const dd = ({
7461
7461
  "div",
7462
7462
  {
7463
7463
  id: `${e}-panel`,
7464
- className: y("fr-tabs__panel", t),
7464
+ className: x("fr-tabs__panel", t),
7465
7465
  role: "tabpanel",
7466
7466
  "aria-labelledby": `${e}-button`,
7467
7467
  tabIndex: n["aria-selected"] ? -1 : 0,
@@ -7475,7 +7475,7 @@ const dd = ({
7475
7475
  onTabChange: o,
7476
7476
  ...i
7477
7477
  }) => {
7478
- const l = ie(), s = i.id || l, u = fe(e, $c).filter((a) => ge(a)).map(
7478
+ const l = ie(), s = i.id || l, u = fe(e, $c).filter((a) => $e(a)).map(
7479
7479
  (a, c) => Te(
7480
7480
  a,
7481
7481
  { index: `${s}-${c}` }
@@ -7485,21 +7485,21 @@ const dd = ({
7485
7485
  "div",
7486
7486
  {
7487
7487
  id: s,
7488
- className: y("fr-tabs", t),
7488
+ className: x("fr-tabs", t),
7489
7489
  ...i,
7490
7490
  children: [
7491
- /* @__PURE__ */ m("ul", { className: y("fr-tabs__list", r.ul), role: "tablist", children: u.map((a, c) => /* @__PURE__ */ m("li", { className: y(r.li), role: "presentation", children: /* @__PURE__ */ m(
7491
+ /* @__PURE__ */ m("ul", { className: x("fr-tabs__list", r.ul), role: "tablist", children: u.map((a, c) => /* @__PURE__ */ m("li", { className: x(r.li), role: "presentation", children: /* @__PURE__ */ m(
7492
7492
  "button",
7493
7493
  {
7494
7494
  onClick: (f) => {
7495
7495
  o && (o(c), f.preventDefault());
7496
7496
  },
7497
7497
  id: `${s}-${c}-button`,
7498
- className: y(
7498
+ className: x(
7499
7499
  "fr-tabs__tab",
7500
7500
  {
7501
- [`fr-icon-${a.props.icon}`]: ge(a) && a.props.icon,
7502
- "fr-tabs__tab--icon-left": ge(a) && a.props.icon
7501
+ [`fr-icon-${a.props.icon}`]: $e(a) && a.props.icon,
7502
+ "fr-tabs__tab--icon-left": $e(a) && a.props.icon
7503
7503
  },
7504
7504
  r.button
7505
7505
  ),
@@ -7507,7 +7507,7 @@ const dd = ({
7507
7507
  role: "tab",
7508
7508
  "aria-selected": n === c ? "true" : "false",
7509
7509
  "aria-controls": `${s}-${c}-panel`,
7510
- children: ge(a) && a.props.label
7510
+ children: $e(a) && a.props.label
7511
7511
  }
7512
7512
  ) }, `${s}-${c}`)) }),
7513
7513
  u
@@ -7525,25 +7525,25 @@ const pd = ({
7525
7525
  title: l,
7526
7526
  ...s
7527
7527
  }) => {
7528
- const u = ie(), a = y("fr-sidemenu", e, {
7528
+ const u = ie(), a = x("fr-sidemenu", e, {
7529
7529
  "fr-sidemenu--sticky": i && !r,
7530
7530
  "fr-sidemenu--sticky-full-height": r,
7531
7531
  "fr-sidemenu--right": o === "right"
7532
7532
  });
7533
- return /* @__PURE__ */ m("nav", { className: a, "aria-label": "Menu latéral", ...ze(s), children: /* @__PURE__ */ R("div", { className: y("fr-sidemenu__inner", n["fr-sidemenu__inner"]), children: [
7533
+ return /* @__PURE__ */ m("nav", { className: a, "aria-label": "Menu latéral", ...ze(s), children: /* @__PURE__ */ R("div", { className: x("fr-sidemenu__inner", n["fr-sidemenu__inner"]), children: [
7534
7534
  /* @__PURE__ */ m(
7535
7535
  "button",
7536
7536
  {
7537
7537
  type: "button",
7538
- className: y("fr-sidemenu__btn", n["fr-sidemenu__btn"]),
7538
+ className: x("fr-sidemenu__btn", n["fr-sidemenu__btn"]),
7539
7539
  "aria-controls": u,
7540
7540
  "aria-expanded": !1,
7541
7541
  children: l || "Dans cette rubrique"
7542
7542
  }
7543
7543
  ),
7544
7544
  /* @__PURE__ */ R("div", { className: "fr-collapse", id: u, children: [
7545
- l && /* @__PURE__ */ m("div", { className: y("fr-sidemenu__title", n["fr-sidemenu__title"]), children: l }),
7546
- /* @__PURE__ */ m("ul", { className: y("fr-sidemenu__list", n["fr-sidemenu__list"]), children: et(t, [ql, $e]).map((c, f) => ge(c) && /* @__PURE__ */ m("li", { className: y("fr-sidemenu__item", n["fr-sidemenu__item"]), children: c.type === $e ? Te(c, { className: y("fr-sidemenu__link", c.props.className) }) : c }, `navitem-${u}-${f}`)) })
7545
+ l && /* @__PURE__ */ m("div", { className: x("fr-sidemenu__title", n["fr-sidemenu__title"]), children: l }),
7546
+ /* @__PURE__ */ m("ul", { className: x("fr-sidemenu__list", n["fr-sidemenu__list"]), children: et(t, [ql, he]).map((c, f) => $e(c) && /* @__PURE__ */ m("li", { className: x("fr-sidemenu__item", n["fr-sidemenu__item"]), children: c.type === he ? Te(c, { className: x("fr-sidemenu__link", c.props.className) }) : c }, `navitem-${u}-${f}`)) })
7547
7547
  ] })
7548
7548
  ] }) });
7549
7549
  }, ql = ({
@@ -7557,12 +7557,12 @@ const pd = ({
7557
7557
  title: s,
7558
7558
  ...u
7559
7559
  }) => {
7560
- const a = ie(), c = et(t, [ql, $e]);
7560
+ const a = ie(), c = et(t, [ql, he]);
7561
7561
  return /* @__PURE__ */ R(Nn, { children: [
7562
7562
  /* @__PURE__ */ m(
7563
7563
  "button",
7564
7564
  {
7565
- className: y("fr-sidemenu__btn", e),
7565
+ className: x("fr-sidemenu__btn", e),
7566
7566
  "aria-expanded": o,
7567
7567
  "aria-controls": a,
7568
7568
  "aria-current": r || void 0,
@@ -7570,7 +7570,7 @@ const pd = ({
7570
7570
  children: /* @__PURE__ */ m("span", { className: l && `react-dsfr-sidemenu-title--icon fr-icon-${l} fr-icon--sm`, children: s })
7571
7571
  }
7572
7572
  ),
7573
- /* @__PURE__ */ m("div", { className: "fr-collapse", id: a, children: /* @__PURE__ */ m("ul", { className: y("fr-sidemenu__list", n["fr-sidemenu__list"]), children: c.map((f, b) => /* @__PURE__ */ m("li", { className: y("fr-sidemenu__item", n["fr-sidemenu__item"]), children: ge(f) && f.type === $e ? Te(f, { className: y("fr-sidemenu__link", f.props.className) }) : f }, `navitem-${a}-${b}`)) }) })
7573
+ /* @__PURE__ */ m("div", { className: "fr-collapse", id: a, children: /* @__PURE__ */ m("ul", { className: x("fr-sidemenu__list", n["fr-sidemenu__list"]), children: c.map((f, b) => /* @__PURE__ */ m("li", { className: x("fr-sidemenu__item", n["fr-sidemenu__item"]), children: $e(f) && f.type === he ? Te(f, { className: x("fr-sidemenu__link", f.props.className) }) : f }, `navitem-${a}-${b}`)) }) })
7574
7574
  ] });
7575
7575
  }, bd = ({
7576
7576
  children: t,
@@ -7579,10 +7579,10 @@ const pd = ({
7579
7579
  current: r,
7580
7580
  icon: o,
7581
7581
  ...i
7582
- }) => /* @__PURE__ */ m("li", { className: y("fr-sidemenu__item", e), children: /* @__PURE__ */ m(
7583
- $e,
7582
+ }) => /* @__PURE__ */ m("li", { className: x("fr-sidemenu__item", e), children: /* @__PURE__ */ m(
7583
+ he,
7584
7584
  {
7585
- className: y("fr-sidemenu__link", n["fr-sidemenu__link"]),
7585
+ className: x("fr-sidemenu__link", n["fr-sidemenu__link"]),
7586
7586
  "aria-current": r || void 0,
7587
7587
  ...i,
7588
7588
  children: /* @__PURE__ */ m("span", { className: o && `react-dsfr-sidemenu-title--icon fr-icon-${o} fr-icon--sm`, children: t })
@@ -7604,10 +7604,10 @@ const pd = ({
7604
7604
  ...d
7605
7605
  }, v) => {
7606
7606
  var P;
7607
- const { extendRequiredFieldsLabelsWith: h, extendOptionalFieldsLabelsWith: x } = pt(), [_, w] = J(""), S = i || ie(), K = B(null), g = s !== void 0 || u !== void 0, k = y("fr-input", {
7607
+ const { extendRequiredFieldsLabelsWith: $, extendOptionalFieldsLabelsWith: h } = pt(), [_, w] = J(""), S = i || ie(), K = B(null), g = s !== void 0 || u !== void 0, k = x("fr-input", {
7608
7608
  "fr-input--error": g ? u === "error" : _ === "error",
7609
7609
  "fr-input--valid": g ? u === "valid" : _ === "valid"
7610
- }, e["fr-input"]), O = y("fr-input-group", {
7610
+ }, e["fr-input"]), O = x("fr-input-group", {
7611
7611
  "fr-input-group--error": g ? u === "error" : _ === "error",
7612
7612
  "fr-input-group--valid": g ? u === "valid" : _ === "valid",
7613
7613
  "fr-input-group--disabled": f
@@ -7619,12 +7619,12 @@ const pd = ({
7619
7619
  !n && !g && C && _ && w(C.checkValidity() ? "valid" : "error"), c && c(I);
7620
7620
  }, E = g || n ? u && /* @__PURE__ */ m("p", { className: `fr-${u || "error"}-text`, id: `${S}-message`, children: s }) : _ === "error" && !n && /* @__PURE__ */ m("p", { className: `fr-${_ || "error"}-text`, id: `${S}-message`, children: (P = K.current) == null ? void 0 : P.validationMessage });
7621
7621
  return /* @__PURE__ */ R("div", { className: O, children: [
7622
- /* @__PURE__ */ R("label", { className: y("fr-label", e["fr-label"]), htmlFor: S, children: [
7622
+ /* @__PURE__ */ R("label", { className: x("fr-label", e["fr-label"]), htmlFor: S, children: [
7623
7623
  l,
7624
- b ? h : x,
7625
- r && /* @__PURE__ */ m("span", { className: y("fr-hint-text", e["fr-hint-text"]), children: r })
7624
+ b ? $ : h,
7625
+ r && /* @__PURE__ */ m("span", { className: x("fr-hint-text", e["fr-hint-text"]), children: r })
7626
7626
  ] }),
7627
- /* @__PURE__ */ m("div", { className: y("fr-input-wrap", { [`fr-icon-${o}`]: o }, e["fr-input-wrap"]), children: /* @__PURE__ */ m(
7627
+ /* @__PURE__ */ m("div", { className: x("fr-input-wrap", { [`fr-icon-${o}`]: o }, e["fr-input-wrap"]), children: /* @__PURE__ */ m(
7628
7628
  "input",
7629
7629
  {
7630
7630
  id: S,
@@ -7655,10 +7655,10 @@ const pd = ({
7655
7655
  ...d
7656
7656
  }, v) => {
7657
7657
  var P;
7658
- const { extendRequiredFieldsLabelsWith: h, extendOptionalFieldsLabelsWith: x } = pt(), [_, w] = J(""), S = i || ie(), K = B(null), g = s !== void 0 || u !== void 0, k = y("fr-input", {
7658
+ const { extendRequiredFieldsLabelsWith: $, extendOptionalFieldsLabelsWith: h } = pt(), [_, w] = J(""), S = i || ie(), K = B(null), g = s !== void 0 || u !== void 0, k = x("fr-input", {
7659
7659
  "fr-input--error": g ? u === "error" : _ === "error",
7660
7660
  "fr-input--valid": g ? u === "valid" : _ === "valid"
7661
- }, e["fr-input"]), O = y("fr-input-group", {
7661
+ }, e["fr-input"]), O = x("fr-input-group", {
7662
7662
  "fr-input-group--error": g ? u === "error" : _ === "error",
7663
7663
  "fr-input-group--valid": g ? u === "valid" : _ === "valid",
7664
7664
  "fr-input-group--disabled": f
@@ -7670,12 +7670,12 @@ const pd = ({
7670
7670
  !n && !g && C && _ && w(C.checkValidity() ? "valid" : "error"), c && c(I);
7671
7671
  }, E = g || n ? u && /* @__PURE__ */ m("p", { className: `fr-${u || "error"}-text`, id: `${S}-message`, children: s }) : _ === "error" && !n && /* @__PURE__ */ m("p", { className: `fr-${_ || "error"}-text`, id: `${S}-message`, children: (P = K.current) == null ? void 0 : P.validationMessage });
7672
7672
  return /* @__PURE__ */ R("div", { className: O, children: [
7673
- /* @__PURE__ */ R("label", { className: y("fr-label", e["fr-label"]), htmlFor: S, children: [
7673
+ /* @__PURE__ */ R("label", { className: x("fr-label", e["fr-label"]), htmlFor: S, children: [
7674
7674
  l,
7675
- b ? h : x,
7676
- r && /* @__PURE__ */ m("span", { className: y("fr-hint-text", e["fr-hint-text"]), children: r })
7675
+ b ? $ : h,
7676
+ r && /* @__PURE__ */ m("span", { className: x("fr-hint-text", e["fr-hint-text"]), children: r })
7677
7677
  ] }),
7678
- /* @__PURE__ */ m("div", { className: y("fr-input-wrap", { [`fr-icon-${o}`]: o }, e["fr-input-wrap"]), children: /* @__PURE__ */ m(
7678
+ /* @__PURE__ */ m("div", { className: x("fr-input-wrap", { [`fr-icon-${o}`]: o }, e["fr-input-wrap"]), children: /* @__PURE__ */ m(
7679
7679
  "textarea",
7680
7680
  {
7681
7681
  id: S,
@@ -7707,7 +7707,7 @@ function xc() {
7707
7707
  if (Hr)
7708
7708
  return te;
7709
7709
  Hr = 1;
7710
- var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, l = t ? Symbol.for("react.provider") : 60109, s = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, a = t ? Symbol.for("react.concurrent_mode") : 60111, c = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, b = t ? Symbol.for("react.suspense_list") : 60120, d = t ? Symbol.for("react.memo") : 60115, v = t ? Symbol.for("react.lazy") : 60116, h = t ? Symbol.for("react.block") : 60121, x = t ? Symbol.for("react.fundamental") : 60117, _ = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
7710
+ var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, l = t ? Symbol.for("react.provider") : 60109, s = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, a = t ? Symbol.for("react.concurrent_mode") : 60111, c = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, b = t ? Symbol.for("react.suspense_list") : 60120, d = t ? Symbol.for("react.memo") : 60115, v = t ? Symbol.for("react.lazy") : 60116, $ = t ? Symbol.for("react.block") : 60121, h = t ? Symbol.for("react.fundamental") : 60117, _ = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
7711
7711
  function S(g) {
7712
7712
  if (typeof g == "object" && g !== null) {
7713
7713
  var k = g.$$typeof;
@@ -7766,7 +7766,7 @@ function xc() {
7766
7766
  }, te.isSuspense = function(g) {
7767
7767
  return S(g) === f;
7768
7768
  }, te.isValidElementType = function(g) {
7769
- return typeof g == "string" || typeof g == "function" || g === r || g === a || g === i || g === o || g === f || g === b || typeof g == "object" && g !== null && (g.$$typeof === v || g.$$typeof === d || g.$$typeof === l || g.$$typeof === s || g.$$typeof === c || g.$$typeof === x || g.$$typeof === _ || g.$$typeof === w || g.$$typeof === h);
7769
+ return typeof g == "string" || typeof g == "function" || g === r || g === a || g === i || g === o || g === f || g === b || typeof g == "object" && g !== null && (g.$$typeof === v || g.$$typeof === d || g.$$typeof === l || g.$$typeof === s || g.$$typeof === c || g.$$typeof === h || g.$$typeof === _ || g.$$typeof === w || g.$$typeof === $);
7770
7770
  }, te.typeOf = S, te;
7771
7771
  }
7772
7772
  var ne = {};
@@ -7781,10 +7781,10 @@ var ne = {};
7781
7781
  var Ur;
7782
7782
  function Cc() {
7783
7783
  return Ur || (Ur = 1, process.env.NODE_ENV !== "production" && function() {
7784
- var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, l = t ? Symbol.for("react.provider") : 60109, s = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, a = t ? Symbol.for("react.concurrent_mode") : 60111, c = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, b = t ? Symbol.for("react.suspense_list") : 60120, d = t ? Symbol.for("react.memo") : 60115, v = t ? Symbol.for("react.lazy") : 60116, h = t ? Symbol.for("react.block") : 60121, x = t ? Symbol.for("react.fundamental") : 60117, _ = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
7784
+ var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, l = t ? Symbol.for("react.provider") : 60109, s = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, a = t ? Symbol.for("react.concurrent_mode") : 60111, c = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, b = t ? Symbol.for("react.suspense_list") : 60120, d = t ? Symbol.for("react.memo") : 60115, v = t ? Symbol.for("react.lazy") : 60116, $ = t ? Symbol.for("react.block") : 60121, h = t ? Symbol.for("react.fundamental") : 60117, _ = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
7785
7785
  function S(M) {
7786
7786
  return typeof M == "string" || typeof M == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
7787
- M === r || M === a || M === i || M === o || M === f || M === b || typeof M == "object" && M !== null && (M.$$typeof === v || M.$$typeof === d || M.$$typeof === l || M.$$typeof === s || M.$$typeof === c || M.$$typeof === x || M.$$typeof === _ || M.$$typeof === w || M.$$typeof === h);
7787
+ M === r || M === a || M === i || M === o || M === f || M === b || typeof M == "object" && M !== null && (M.$$typeof === v || M.$$typeof === d || M.$$typeof === l || M.$$typeof === s || M.$$typeof === c || M.$$typeof === h || M.$$typeof === _ || M.$$typeof === w || M.$$typeof === $);
7788
7788
  }
7789
7789
  function K(M) {
7790
7790
  if (typeof M == "object" && M !== null) {
@@ -7820,9 +7820,9 @@ function Cc() {
7820
7820
  }
7821
7821
  var g = u, k = a, O = s, p = l, A = e, E = c, P = r, I = v, C = d, T = n, q = i, V = o, F = f, ue = !1;
7822
7822
  function ae(M) {
7823
- return ue || (ue = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), $(M) || K(M) === u;
7823
+ return ue || (ue = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), y(M) || K(M) === u;
7824
7824
  }
7825
- function $(M) {
7825
+ function y(M) {
7826
7826
  return K(M) === a;
7827
7827
  }
7828
7828
  function D(M) {
@@ -7858,7 +7858,7 @@ function Cc() {
7858
7858
  function Z(M) {
7859
7859
  return K(M) === f;
7860
7860
  }
7861
- ne.AsyncMode = g, ne.ConcurrentMode = k, ne.ContextConsumer = O, ne.ContextProvider = p, ne.Element = A, ne.ForwardRef = E, ne.Fragment = P, ne.Lazy = I, ne.Memo = C, ne.Portal = T, ne.Profiler = q, ne.StrictMode = V, ne.Suspense = F, ne.isAsyncMode = ae, ne.isConcurrentMode = $, ne.isContextConsumer = D, ne.isContextProvider = z, ne.isElement = j, ne.isForwardRef = H, ne.isFragment = Y, ne.isLazy = U, ne.isMemo = L, ne.isPortal = N, ne.isProfiler = X, ne.isStrictMode = W, ne.isSuspense = Z, ne.isValidElementType = S, ne.typeOf = K;
7861
+ ne.AsyncMode = g, ne.ConcurrentMode = k, ne.ContextConsumer = O, ne.ContextProvider = p, ne.Element = A, ne.ForwardRef = E, ne.Fragment = P, ne.Lazy = I, ne.Memo = C, ne.Portal = T, ne.Profiler = q, ne.StrictMode = V, ne.Suspense = F, ne.isAsyncMode = ae, ne.isConcurrentMode = y, ne.isContextConsumer = D, ne.isContextProvider = z, ne.isElement = j, ne.isForwardRef = H, ne.isFragment = Y, ne.isLazy = U, ne.isMemo = L, ne.isPortal = N, ne.isProfiler = X, ne.isStrictMode = W, ne.isSuspense = Z, ne.isValidElementType = S, ne.typeOf = K;
7862
7862
  }()), ne;
7863
7863
  }
7864
7864
  var Wr;
@@ -7999,8 +7999,8 @@ function wc() {
7999
7999
  }
8000
8000
  return hn = function(s, u) {
8001
8001
  var a = typeof Symbol == "function" && Symbol.iterator, c = "@@iterator";
8002
- function f($) {
8003
- var D = $ && (a && $[a] || $[c]);
8002
+ function f(y) {
8003
+ var D = y && (a && y[a] || y[c]);
8004
8004
  if (typeof D == "function")
8005
8005
  return D;
8006
8006
  }
@@ -8025,14 +8025,14 @@ function wc() {
8025
8025
  shape: I,
8026
8026
  exact: C
8027
8027
  };
8028
- function v($, D) {
8029
- return $ === D ? $ !== 0 || 1 / $ === 1 / D : $ !== $ && D !== D;
8028
+ function v(y, D) {
8029
+ return y === D ? y !== 0 || 1 / y === 1 / D : y !== y && D !== D;
8030
8030
  }
8031
- function h($, D) {
8032
- this.message = $, this.data = D && typeof D == "object" ? D : {}, this.stack = "";
8031
+ function $(y, D) {
8032
+ this.message = y, this.data = D && typeof D == "object" ? D : {}, this.stack = "";
8033
8033
  }
8034
- h.prototype = Error.prototype;
8035
- function x($) {
8034
+ $.prototype = Error.prototype;
8035
+ function h(y) {
8036
8036
  if (process.env.NODE_ENV !== "production")
8037
8037
  var D = {}, z = 0;
8038
8038
  function j(Y, U, L, N, X, W, Z) {
@@ -8050,152 +8050,152 @@ function wc() {
8050
8050
  ), D[ye] = !0, z++);
8051
8051
  }
8052
8052
  }
8053
- return U[L] == null ? Y ? U[L] === null ? new h("The " + X + " `" + W + "` is marked as required " + ("in `" + N + "`, but its value is `null`.")) : new h("The " + X + " `" + W + "` is marked as required in " + ("`" + N + "`, but its value is `undefined`.")) : null : $(U, L, N, X, W);
8053
+ return U[L] == null ? Y ? U[L] === null ? new $("The " + X + " `" + W + "` is marked as required " + ("in `" + N + "`, but its value is `null`.")) : new $("The " + X + " `" + W + "` is marked as required in " + ("`" + N + "`, but its value is `undefined`.")) : null : y(U, L, N, X, W);
8054
8054
  }
8055
8055
  var H = j.bind(null, !1);
8056
8056
  return H.isRequired = j.bind(null, !0), H;
8057
8057
  }
8058
- function _($) {
8058
+ function _(y) {
8059
8059
  function D(z, j, H, Y, U, L) {
8060
8060
  var N = z[j], X = V(N);
8061
- if (X !== $) {
8061
+ if (X !== y) {
8062
8062
  var W = F(N);
8063
- return new h(
8064
- "Invalid " + Y + " `" + U + "` of type " + ("`" + W + "` supplied to `" + H + "`, expected ") + ("`" + $ + "`."),
8065
- { expectedType: $ }
8063
+ return new $(
8064
+ "Invalid " + Y + " `" + U + "` of type " + ("`" + W + "` supplied to `" + H + "`, expected ") + ("`" + y + "`."),
8065
+ { expectedType: y }
8066
8066
  );
8067
8067
  }
8068
8068
  return null;
8069
8069
  }
8070
- return x(D);
8070
+ return h(D);
8071
8071
  }
8072
8072
  function w() {
8073
- return x(l);
8073
+ return h(l);
8074
8074
  }
8075
- function S($) {
8075
+ function S(y) {
8076
8076
  function D(z, j, H, Y, U) {
8077
- if (typeof $ != "function")
8078
- return new h("Property `" + U + "` of component `" + H + "` has invalid PropType notation inside arrayOf.");
8077
+ if (typeof y != "function")
8078
+ return new $("Property `" + U + "` of component `" + H + "` has invalid PropType notation inside arrayOf.");
8079
8079
  var L = z[j];
8080
8080
  if (!Array.isArray(L)) {
8081
8081
  var N = V(L);
8082
- return new h("Invalid " + Y + " `" + U + "` of type " + ("`" + N + "` supplied to `" + H + "`, expected an array."));
8082
+ return new $("Invalid " + Y + " `" + U + "` of type " + ("`" + N + "` supplied to `" + H + "`, expected an array."));
8083
8083
  }
8084
8084
  for (var X = 0; X < L.length; X++) {
8085
- var W = $(L, X, H, Y, U + "[" + X + "]", n);
8085
+ var W = y(L, X, H, Y, U + "[" + X + "]", n);
8086
8086
  if (W instanceof Error)
8087
8087
  return W;
8088
8088
  }
8089
8089
  return null;
8090
8090
  }
8091
- return x(D);
8091
+ return h(D);
8092
8092
  }
8093
8093
  function K() {
8094
- function $(D, z, j, H, Y) {
8094
+ function y(D, z, j, H, Y) {
8095
8095
  var U = D[z];
8096
8096
  if (!s(U)) {
8097
8097
  var L = V(U);
8098
- return new h("Invalid " + H + " `" + Y + "` of type " + ("`" + L + "` supplied to `" + j + "`, expected a single ReactElement."));
8098
+ return new $("Invalid " + H + " `" + Y + "` of type " + ("`" + L + "` supplied to `" + j + "`, expected a single ReactElement."));
8099
8099
  }
8100
8100
  return null;
8101
8101
  }
8102
- return x($);
8102
+ return h(y);
8103
8103
  }
8104
8104
  function g() {
8105
- function $(D, z, j, H, Y) {
8105
+ function y(D, z, j, H, Y) {
8106
8106
  var U = D[z];
8107
8107
  if (!t.isValidElementType(U)) {
8108
8108
  var L = V(U);
8109
- return new h("Invalid " + H + " `" + Y + "` of type " + ("`" + L + "` supplied to `" + j + "`, expected a single ReactElement type."));
8109
+ return new $("Invalid " + H + " `" + Y + "` of type " + ("`" + L + "` supplied to `" + j + "`, expected a single ReactElement type."));
8110
8110
  }
8111
8111
  return null;
8112
8112
  }
8113
- return x($);
8113
+ return h(y);
8114
8114
  }
8115
- function k($) {
8115
+ function k(y) {
8116
8116
  function D(z, j, H, Y, U) {
8117
- if (!(z[j] instanceof $)) {
8118
- var L = $.name || b, N = ae(z[j]);
8119
- return new h("Invalid " + Y + " `" + U + "` of type " + ("`" + N + "` supplied to `" + H + "`, expected ") + ("instance of `" + L + "`."));
8117
+ if (!(z[j] instanceof y)) {
8118
+ var L = y.name || b, N = ae(z[j]);
8119
+ return new $("Invalid " + Y + " `" + U + "` of type " + ("`" + N + "` supplied to `" + H + "`, expected ") + ("instance of `" + L + "`."));
8120
8120
  }
8121
8121
  return null;
8122
8122
  }
8123
- return x(D);
8123
+ return h(D);
8124
8124
  }
8125
- function O($) {
8126
- if (!Array.isArray($))
8125
+ function O(y) {
8126
+ if (!Array.isArray(y))
8127
8127
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
8128
8128
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
8129
8129
  ) : i("Invalid argument supplied to oneOf, expected an array.")), l;
8130
8130
  function D(z, j, H, Y, U) {
8131
- for (var L = z[j], N = 0; N < $.length; N++)
8132
- if (v(L, $[N]))
8131
+ for (var L = z[j], N = 0; N < y.length; N++)
8132
+ if (v(L, y[N]))
8133
8133
  return null;
8134
- var X = JSON.stringify($, function(Z, M) {
8134
+ var X = JSON.stringify(y, function(Z, M) {
8135
8135
  var ye = F(M);
8136
8136
  return ye === "symbol" ? String(M) : M;
8137
8137
  });
8138
- return new h("Invalid " + Y + " `" + U + "` of value `" + String(L) + "` " + ("supplied to `" + H + "`, expected one of " + X + "."));
8138
+ return new $("Invalid " + Y + " `" + U + "` of value `" + String(L) + "` " + ("supplied to `" + H + "`, expected one of " + X + "."));
8139
8139
  }
8140
- return x(D);
8140
+ return h(D);
8141
8141
  }
8142
- function p($) {
8142
+ function p(y) {
8143
8143
  function D(z, j, H, Y, U) {
8144
- if (typeof $ != "function")
8145
- return new h("Property `" + U + "` of component `" + H + "` has invalid PropType notation inside objectOf.");
8144
+ if (typeof y != "function")
8145
+ return new $("Property `" + U + "` of component `" + H + "` has invalid PropType notation inside objectOf.");
8146
8146
  var L = z[j], N = V(L);
8147
8147
  if (N !== "object")
8148
- return new h("Invalid " + Y + " `" + U + "` of type " + ("`" + N + "` supplied to `" + H + "`, expected an object."));
8148
+ return new $("Invalid " + Y + " `" + U + "` of type " + ("`" + N + "` supplied to `" + H + "`, expected an object."));
8149
8149
  for (var X in L)
8150
8150
  if (r(L, X)) {
8151
- var W = $(L, X, H, Y, U + "." + X, n);
8151
+ var W = y(L, X, H, Y, U + "." + X, n);
8152
8152
  if (W instanceof Error)
8153
8153
  return W;
8154
8154
  }
8155
8155
  return null;
8156
8156
  }
8157
- return x(D);
8157
+ return h(D);
8158
8158
  }
8159
- function A($) {
8160
- if (!Array.isArray($))
8159
+ function A(y) {
8160
+ if (!Array.isArray(y))
8161
8161
  return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), l;
8162
- for (var D = 0; D < $.length; D++) {
8163
- var z = $[D];
8162
+ for (var D = 0; D < y.length; D++) {
8163
+ var z = y[D];
8164
8164
  if (typeof z != "function")
8165
8165
  return i(
8166
8166
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ue(z) + " at index " + D + "."
8167
8167
  ), l;
8168
8168
  }
8169
8169
  function j(H, Y, U, L, N) {
8170
- for (var X = [], W = 0; W < $.length; W++) {
8171
- var Z = $[W], M = Z(H, Y, U, L, N, n);
8170
+ for (var X = [], W = 0; W < y.length; W++) {
8171
+ var Z = y[W], M = Z(H, Y, U, L, N, n);
8172
8172
  if (M == null)
8173
8173
  return null;
8174
8174
  M.data && r(M.data, "expectedType") && X.push(M.data.expectedType);
8175
8175
  }
8176
8176
  var ye = X.length > 0 ? ", expected one of type [" + X.join(", ") + "]" : "";
8177
- return new h("Invalid " + L + " `" + N + "` supplied to " + ("`" + U + "`" + ye + "."));
8177
+ return new $("Invalid " + L + " `" + N + "` supplied to " + ("`" + U + "`" + ye + "."));
8178
8178
  }
8179
- return x(j);
8179
+ return h(j);
8180
8180
  }
8181
8181
  function E() {
8182
- function $(D, z, j, H, Y) {
8183
- return T(D[z]) ? null : new h("Invalid " + H + " `" + Y + "` supplied to " + ("`" + j + "`, expected a ReactNode."));
8182
+ function y(D, z, j, H, Y) {
8183
+ return T(D[z]) ? null : new $("Invalid " + H + " `" + Y + "` supplied to " + ("`" + j + "`, expected a ReactNode."));
8184
8184
  }
8185
- return x($);
8185
+ return h(y);
8186
8186
  }
8187
- function P($, D, z, j, H) {
8188
- return new h(
8189
- ($ || "React class") + ": " + D + " type `" + z + "." + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + H + "`."
8187
+ function P(y, D, z, j, H) {
8188
+ return new $(
8189
+ (y || "React class") + ": " + D + " type `" + z + "." + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + H + "`."
8190
8190
  );
8191
8191
  }
8192
- function I($) {
8192
+ function I(y) {
8193
8193
  function D(z, j, H, Y, U) {
8194
8194
  var L = z[j], N = V(L);
8195
8195
  if (N !== "object")
8196
- return new h("Invalid " + Y + " `" + U + "` of type `" + N + "` " + ("supplied to `" + H + "`, expected `object`."));
8197
- for (var X in $) {
8198
- var W = $[X];
8196
+ return new $("Invalid " + Y + " `" + U + "` of type `" + N + "` " + ("supplied to `" + H + "`, expected `object`."));
8197
+ for (var X in y) {
8198
+ var W = y[X];
8199
8199
  if (typeof W != "function")
8200
8200
  return P(H, Y, U, X, F(W));
8201
8201
  var Z = W(L, X, H, Y, U + "." + X, n);
@@ -8204,22 +8204,22 @@ function wc() {
8204
8204
  }
8205
8205
  return null;
8206
8206
  }
8207
- return x(D);
8207
+ return h(D);
8208
8208
  }
8209
- function C($) {
8209
+ function C(y) {
8210
8210
  function D(z, j, H, Y, U) {
8211
8211
  var L = z[j], N = V(L);
8212
8212
  if (N !== "object")
8213
- return new h("Invalid " + Y + " `" + U + "` of type `" + N + "` " + ("supplied to `" + H + "`, expected `object`."));
8214
- var X = e({}, z[j], $);
8213
+ return new $("Invalid " + Y + " `" + U + "` of type `" + N + "` " + ("supplied to `" + H + "`, expected `object`."));
8214
+ var X = e({}, z[j], y);
8215
8215
  for (var W in X) {
8216
- var Z = $[W];
8217
- if (r($, W) && typeof Z != "function")
8216
+ var Z = y[W];
8217
+ if (r(y, W) && typeof Z != "function")
8218
8218
  return P(H, Y, U, W, F(Z));
8219
8219
  if (!Z)
8220
- return new h(
8220
+ return new $(
8221
8221
  "Invalid " + Y + " `" + U + "` key `" + W + "` supplied to `" + H + "`.\nBad object: " + JSON.stringify(z[j], null, " ") + `
8222
- Valid keys: ` + JSON.stringify(Object.keys($), null, " ")
8222
+ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
8223
8223
  );
8224
8224
  var M = Z(L, W, H, Y, U + "." + W, n);
8225
8225
  if (M)
@@ -8227,25 +8227,25 @@ Valid keys: ` + JSON.stringify(Object.keys($), null, " ")
8227
8227
  }
8228
8228
  return null;
8229
8229
  }
8230
- return x(D);
8230
+ return h(D);
8231
8231
  }
8232
- function T($) {
8233
- switch (typeof $) {
8232
+ function T(y) {
8233
+ switch (typeof y) {
8234
8234
  case "number":
8235
8235
  case "string":
8236
8236
  case "undefined":
8237
8237
  return !0;
8238
8238
  case "boolean":
8239
- return !$;
8239
+ return !y;
8240
8240
  case "object":
8241
- if (Array.isArray($))
8242
- return $.every(T);
8243
- if ($ === null || s($))
8241
+ if (Array.isArray(y))
8242
+ return y.every(T);
8243
+ if (y === null || s(y))
8244
8244
  return !0;
8245
- var D = f($);
8245
+ var D = f(y);
8246
8246
  if (D) {
8247
- var z = D.call($), j;
8248
- if (D !== $.entries) {
8247
+ var z = D.call(y), j;
8248
+ if (D !== y.entries) {
8249
8249
  for (; !(j = z.next()).done; )
8250
8250
  if (!T(j.value))
8251
8251
  return !1;
@@ -8262,27 +8262,27 @@ Valid keys: ` + JSON.stringify(Object.keys($), null, " ")
8262
8262
  return !1;
8263
8263
  }
8264
8264
  }
8265
- function q($, D) {
8266
- return $ === "symbol" ? !0 : D ? D["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && D instanceof Symbol : !1;
8265
+ function q(y, D) {
8266
+ return y === "symbol" ? !0 : D ? D["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && D instanceof Symbol : !1;
8267
8267
  }
8268
- function V($) {
8269
- var D = typeof $;
8270
- return Array.isArray($) ? "array" : $ instanceof RegExp ? "object" : q(D, $) ? "symbol" : D;
8268
+ function V(y) {
8269
+ var D = typeof y;
8270
+ return Array.isArray(y) ? "array" : y instanceof RegExp ? "object" : q(D, y) ? "symbol" : D;
8271
8271
  }
8272
- function F($) {
8273
- if (typeof $ > "u" || $ === null)
8274
- return "" + $;
8275
- var D = V($);
8272
+ function F(y) {
8273
+ if (typeof y > "u" || y === null)
8274
+ return "" + y;
8275
+ var D = V(y);
8276
8276
  if (D === "object") {
8277
- if ($ instanceof Date)
8277
+ if (y instanceof Date)
8278
8278
  return "date";
8279
- if ($ instanceof RegExp)
8279
+ if (y instanceof RegExp)
8280
8280
  return "regexp";
8281
8281
  }
8282
8282
  return D;
8283
8283
  }
8284
- function ue($) {
8285
- var D = F($);
8284
+ function ue(y) {
8285
+ var D = F(y);
8286
8286
  switch (D) {
8287
8287
  case "array":
8288
8288
  case "object":
@@ -8295,8 +8295,8 @@ Valid keys: ` + JSON.stringify(Object.keys($), null, " ")
8295
8295
  return D;
8296
8296
  }
8297
8297
  }
8298
- function ae($) {
8299
- return !$.constructor || !$.constructor.name ? b : $.constructor.name;
8298
+ function ae(y) {
8299
+ return !y.constructor || !y.constructor.name ? b : y.constructor.name;
8300
8300
  }
8301
8301
  return d.checkPropTypes = o, d.resetWarningCache = o.resetWarningCache, d.PropTypes = d, d;
8302
8302
  }, hn;
@@ -8406,17 +8406,17 @@ const hd = me(({
8406
8406
  "fieldset",
8407
8407
  {
8408
8408
  ref: c,
8409
- className: y("fr-fieldset", { [`fr-fieldset--${s}`]: s }, e),
8409
+ className: x("fr-fieldset", { [`fr-fieldset--${s}`]: s }, e),
8410
8410
  ...ze(a),
8411
8411
  "aria-labelledby": l && s ? `${f}-message` : void 0,
8412
8412
  children: [
8413
- i && /* @__PURE__ */ R("legend", { className: y("fr-fieldset__legend fr-text--regular", n.legend), children: [
8413
+ i && /* @__PURE__ */ R("legend", { className: x("fr-fieldset__legend fr-text--regular", n.legend), children: [
8414
8414
  i,
8415
8415
  u ? b : d,
8416
- r && /* @__PURE__ */ m("span", { className: y("fr-hint-text", n.legendHint), children: r })
8416
+ r && /* @__PURE__ */ m("span", { className: x("fr-hint-text", n.legendHint), children: r })
8417
8417
  ] }),
8418
- Ot.toArray(t).map((v, h) => /* @__PURE__ */ m("div", { className: y("fr-fieldset__element", { "fr-fieldset__element--inline": o }, n.element), children: v }, `${f}-${h}`)),
8419
- l && s && /* @__PURE__ */ m("div", { id: `${f}-message`, className: y("fr-messages-group", n.messageDiv), children: /* @__PURE__ */ m("p", { className: y(`fr-message fr-message--${s}`, n.messageP), children: l }) })
8418
+ Ot.toArray(t).map((v, $) => /* @__PURE__ */ m("div", { className: x("fr-fieldset__element", { "fr-fieldset__element--inline": o }, n.element), children: v }, `${f}-${$}`)),
8419
+ l && s && /* @__PURE__ */ m("div", { id: `${f}-message`, className: x("fr-messages-group", n.messageDiv), children: /* @__PURE__ */ m("p", { className: x(`fr-message fr-message--${s}`, n.messageP), children: l }) })
8420
8420
  ]
8421
8421
  }
8422
8422
  );
@@ -8430,7 +8430,7 @@ const hd = me(({
8430
8430
  ...l
8431
8431
  }, s) => {
8432
8432
  const u = r || ie();
8433
- return /* @__PURE__ */ R("div", { className: y("fr-radio-group", { "fr-radio-rich": i }, t), children: [
8433
+ return /* @__PURE__ */ R("div", { className: x("fr-radio-group", { "fr-radio-rich": i }, t), children: [
8434
8434
  /* @__PURE__ */ m(
8435
8435
  "input",
8436
8436
  {
@@ -8443,15 +8443,15 @@ const hd = me(({
8443
8443
  /* @__PURE__ */ R(
8444
8444
  "label",
8445
8445
  {
8446
- className: y("fr-label"),
8446
+ className: x("fr-label"),
8447
8447
  htmlFor: u,
8448
8448
  children: [
8449
8449
  o,
8450
- n && /* @__PURE__ */ m("p", { className: y("fr-hint-text"), children: n })
8450
+ n && /* @__PURE__ */ m("p", { className: x("fr-hint-text"), children: n })
8451
8451
  ]
8452
8452
  }
8453
8453
  ),
8454
- i && /* @__PURE__ */ m("div", { className: y("fr-radio-rich__img"), children: i })
8454
+ i && /* @__PURE__ */ m("div", { className: x("fr-radio-rich__img"), children: i })
8455
8455
  ] });
8456
8456
  }), $d = me(({
8457
8457
  className: t,
@@ -8463,20 +8463,20 @@ const hd = me(({
8463
8463
  ...l
8464
8464
  }, s) => {
8465
8465
  const u = ie(), a = r || u;
8466
- return /* @__PURE__ */ R("div", { className: y("fr-checkbox-group", { "fr-checkbox-group--sm": i === "sm" }, t), children: [
8466
+ return /* @__PURE__ */ R("div", { className: x("fr-checkbox-group", { "fr-checkbox-group--sm": i === "sm" }, t), children: [
8467
8467
  /* @__PURE__ */ m(
8468
8468
  "input",
8469
8469
  {
8470
8470
  ref: s,
8471
8471
  type: "checkbox",
8472
8472
  id: a,
8473
- className: y(e.input),
8473
+ className: x(e.input),
8474
8474
  ...l
8475
8475
  }
8476
8476
  ),
8477
- /* @__PURE__ */ R("label", { className: y("fr-label", e.label), htmlFor: a, children: [
8477
+ /* @__PURE__ */ R("label", { className: x("fr-label", e.label), htmlFor: a, children: [
8478
8478
  o,
8479
- n && /* @__PURE__ */ m("span", { className: y("fr-hint-text", e.labelHint), children: n })
8479
+ n && /* @__PURE__ */ m("span", { className: x("fr-hint-text", e.labelHint), children: n })
8480
8480
  ] })
8481
8481
  ] });
8482
8482
  }), yd = ({
@@ -8487,7 +8487,7 @@ const hd = me(({
8487
8487
  steps: o,
8488
8488
  titleAs: i = "h4",
8489
8489
  ...l
8490
- }) => /* @__PURE__ */ R("div", { className: y("fr-stepper", t), ...l, children: [
8490
+ }) => /* @__PURE__ */ R("div", { className: x("fr-stepper", t), ...l, children: [
8491
8491
  /* @__PURE__ */ R(i, { className: "fr-stepper__title", children: [
8492
8492
  /* @__PURE__ */ m("span", { className: "fr-stepper__state", children: `Étape ${e} sur ${o}` }),
8493
8493
  n
@@ -8505,7 +8505,7 @@ const hd = me(({
8505
8505
  className: o,
8506
8506
  ...i
8507
8507
  }) => {
8508
- const l = y(o, {
8508
+ const l = x(o, {
8509
8509
  "fr-text--alt": e !== "lead" && n,
8510
8510
  "fr-text--heavy": r,
8511
8511
  [`fr-text--${e}`]: e && e !== "md"
@@ -8517,7 +8517,7 @@ const hd = me(({
8517
8517
  look: n,
8518
8518
  ...r
8519
8519
  }) => {
8520
- const o = n && ["xs", "sm", "md", "lg", "xl"].includes(n), i = y(e, {
8520
+ const o = n && ["xs", "sm", "md", "lg", "xl"].includes(n), i = x(e, {
8521
8521
  [`fr-${n}`]: !o && n && n !== t,
8522
8522
  [`fr-display-${n}`]: o
8523
8523
  });
@@ -8530,10 +8530,10 @@ const hd = me(({
8530
8530
  ...o
8531
8531
  }) => {
8532
8532
  const i = ie();
8533
- return /* @__PURE__ */ R("nav", { role: "navigation", "aria-label": o["aria-label"] || "vous êtes ici:", className: y("fr-breadcrumb", n), ...o, children: [
8534
- /* @__PURE__ */ m("button", { className: y("fr-breadcrumb__button", r.button), "aria-expanded": "false", "aria-controls": "breadcrumb-1", children: t || "Voir le fil d’Ariane" }),
8535
- /* @__PURE__ */ m("div", { className: "fr-collapse", id: "breadcrumb-1", children: /* @__PURE__ */ m("ol", { className: y("fr-breadcrumb__list", r.list), children: fe(e, $e).filter((l) => ge(l)).map((l, s, { length: u }) => /* @__PURE__ */ m("li", { className: y(r.item), children: Te(l, {
8536
- className: y("fr-breadcrumb__link"),
8533
+ return /* @__PURE__ */ R("nav", { role: "navigation", "aria-label": o["aria-label"] || "vous êtes ici:", className: x("fr-breadcrumb", n), ...o, children: [
8534
+ /* @__PURE__ */ m("button", { className: x("fr-breadcrumb__button", r.button), "aria-expanded": "false", "aria-controls": "breadcrumb-1", children: t || "Voir le fil d’Ariane" }),
8535
+ /* @__PURE__ */ m("div", { className: "fr-collapse", id: "breadcrumb-1", children: /* @__PURE__ */ m("ol", { className: x("fr-breadcrumb__list", r.list), children: fe(e, he).filter((l) => $e(l)).map((l, s, { length: u }) => /* @__PURE__ */ m("li", { className: x(r.item), children: Te(l, {
8536
+ className: x("fr-breadcrumb__link"),
8537
8537
  "aria-current": s + 1 === u ? "page" : void 0
8538
8538
  }) }, `${i}-${s}`)) }) })
8539
8539
  ] });
@@ -8547,8 +8547,8 @@ const hd = me(({
8547
8547
  ...l
8548
8548
  }, s) => {
8549
8549
  const u = ie(), a = t || u, { extendOptionalFieldsLabelsWith: c, extendRequiredFieldsLabelsWith: f } = pt();
8550
- return /* @__PURE__ */ R("div", { className: y("fr-upload-group", { "fr-input-group--error": r, "fr-input-group--disabled": l.disabled }, e), children: [
8551
- /* @__PURE__ */ R("label", { className: y("fr-label", n.label), htmlFor: a, children: [
8550
+ return /* @__PURE__ */ R("div", { className: x("fr-upload-group", { "fr-input-group--error": r, "fr-input-group--disabled": l.disabled }, e), children: [
8551
+ /* @__PURE__ */ R("label", { className: x("fr-label", n.label), htmlFor: a, children: [
8552
8552
  i,
8553
8553
  l.required ? f : c,
8554
8554
  o && /* @__PURE__ */ m("span", { className: "fr-hint-text", children: o })
@@ -8558,13 +8558,13 @@ const hd = me(({
8558
8558
  {
8559
8559
  ref: s,
8560
8560
  id: a,
8561
- className: y("fr-upload", n.input),
8561
+ className: x("fr-upload", n.input),
8562
8562
  type: "file",
8563
8563
  "aria-describedby": r ? `${a}-message` : void 0,
8564
8564
  ...l
8565
8565
  }
8566
8566
  ),
8567
- r && /* @__PURE__ */ m("p", { id: `${a}-message`, className: y("fr-error-text", n.errorParagraph), children: r })
8567
+ r && /* @__PURE__ */ m("p", { id: `${a}-message`, className: x("fr-error-text", n.errorParagraph), children: r })
8568
8568
  ] });
8569
8569
  }), Jl = me(({
8570
8570
  children: t,
@@ -8573,7 +8573,7 @@ const hd = me(({
8573
8573
  id: r,
8574
8574
  ...o
8575
8575
  }, i) => {
8576
- const l = y("fr-modal__title", e);
8576
+ const l = x("fr-modal__title", e);
8577
8577
  return /* @__PURE__ */ R(
8578
8578
  "h1",
8579
8579
  {
@@ -8598,7 +8598,7 @@ const hd = me(({
8598
8598
  ref: o,
8599
8599
  id: `${e}-close`,
8600
8600
  "aria-controls": e || void 0,
8601
- className: y("fr-btn--close fr-btn", t),
8601
+ className: x("fr-btn--close fr-btn", t),
8602
8602
  type: "button",
8603
8603
  ...r,
8604
8604
  children: n
@@ -8636,7 +8636,7 @@ const Nc = ({
8636
8636
  ...s
8637
8637
  }) => {
8638
8638
  var k, O, p;
8639
- const [u, a] = J(null), f = { sm: 4, lg: 8, md: 6, xl: 10 }[n], b = y("fr-modal", o), d = B(null), v = (k = fe(t, Jl)) == null ? void 0 : k[0], h = fe(t, Ql), x = (O = fe(t, es)) == null ? void 0 : O[0], _ = (p = fe(t, Bt)) == null ? void 0 : p[0], w = r || ie();
8639
+ const [u, a] = J(null), f = { sm: 4, lg: 8, md: 6, xl: 10 }[n], b = x("fr-modal", o), d = B(null), v = (k = fe(t, Jl)) == null ? void 0 : k[0], $ = fe(t, Ql), h = (O = fe(t, es)) == null ? void 0 : O[0], _ = (p = fe(t, Bt)) == null ? void 0 : p[0], w = r || ie();
8640
8640
  G(() => {
8641
8641
  var E, P;
8642
8642
  d.current && (i && (a(document.activeElement), (E = document == null ? void 0 : document.getElementById(w)) == null || E.classList.add("fr-modal--opened")), i || (P = document == null ? void 0 : document.getElementById(w)) == null || P.classList.remove("fr-modal--opened"));
@@ -8666,9 +8666,9 @@ const Nc = ({
8666
8666
  /* @__PURE__ */ m("div", { className: "fr-modal__header", children: K }),
8667
8667
  /* @__PURE__ */ R("div", { className: "fr-modal__content", children: [
8668
8668
  v && Te(v, { id: w }),
8669
- h ?? null
8669
+ $ ?? null
8670
8670
  ] }),
8671
- x
8671
+ h
8672
8672
  ] }) }) }) })
8673
8673
  }
8674
8674
  );
@@ -8683,8 +8683,8 @@ const Nc = ({
8683
8683
  className: r,
8684
8684
  ...o
8685
8685
  }) => {
8686
- var v, h, x;
8687
- const l = { sm: 4, lg: 8, md: 6, xl: 10 }[e], s = y("fr-modal", r), u = (v = fe(t, Jl)) == null ? void 0 : v[0], a = fe(t, Ql), c = (h = fe(t, es)) == null ? void 0 : h[0], f = (x = fe(t, Bt)) == null ? void 0 : x[0], b = f ? Te(f, { controls: n }) : /* @__PURE__ */ m(Bt, { controls: n }), d = /* @__PURE__ */ m(
8686
+ var v, $, h;
8687
+ const l = { sm: 4, lg: 8, md: 6, xl: 10 }[e], s = x("fr-modal", r), u = (v = fe(t, Jl)) == null ? void 0 : v[0], a = fe(t, Ql), c = ($ = fe(t, es)) == null ? void 0 : $[0], f = (h = fe(t, Bt)) == null ? void 0 : h[0], b = f ? Te(f, { controls: n }) : /* @__PURE__ */ m(Bt, { controls: n }), d = /* @__PURE__ */ m(
8688
8688
  "dialog",
8689
8689
  {
8690
8690
  "aria-labelledby": `${n}-title`,
@@ -8725,15 +8725,11 @@ const Nc = ({
8725
8725
  canClose: i,
8726
8726
  ...l
8727
8727
  }
8728
- ), Ql = me(({
8729
- className: t,
8730
- ...e
8731
- }, n) => /* @__PURE__ */ m(
8728
+ ), Ql = me(({ ...t }, e) => /* @__PURE__ */ m(
8732
8729
  "div",
8733
8730
  {
8734
- ref: n,
8735
- className: y("fr-modal__content", t),
8736
- ...e
8731
+ ref: e,
8732
+ ...t
8737
8733
  }
8738
8734
  )), es = me(({
8739
8735
  className: t,
@@ -8742,7 +8738,7 @@ const Nc = ({
8742
8738
  "div",
8743
8739
  {
8744
8740
  ref: n,
8745
- className: y("fr-modal__footer", t),
8741
+ className: x("fr-modal__footer", t),
8746
8742
  ...e
8747
8743
  }
8748
8744
  )), Bc = me(({
@@ -8754,7 +8750,7 @@ const Nc = ({
8754
8750
  hint: i,
8755
8751
  ...l
8756
8752
  }, s) => {
8757
- const u = ie(), a = l.id || u, c = y("fr-toggle", {
8753
+ const u = ie(), a = l.id || u, c = x("fr-toggle", {
8758
8754
  "fr-toggle--border-bottom": n,
8759
8755
  "fr-toggle--label-left": r
8760
8756
  }, t);
@@ -8768,7 +8764,7 @@ const Nc = ({
8768
8764
  {
8769
8765
  ref: s,
8770
8766
  type: "checkbox",
8771
- className: y("fr-toggle__input", e["fr-toggle__input"]),
8767
+ className: x("fr-toggle__input", e["fr-toggle__input"]),
8772
8768
  id: a,
8773
8769
  ...ze(l, { exclude: ["type"] })
8774
8770
  }
@@ -8776,20 +8772,20 @@ const Nc = ({
8776
8772
  /* @__PURE__ */ m(
8777
8773
  "label",
8778
8774
  {
8779
- className: y("fr-toggle__label", e["fr-toggle__label"]),
8775
+ className: x("fr-toggle__label", e["fr-toggle__label"]),
8780
8776
  htmlFor: a,
8781
8777
  "data-fr-checked-label": "Activé",
8782
8778
  "data-fr-unchecked-label": "Désactivé",
8783
8779
  children: o
8784
8780
  }
8785
8781
  ),
8786
- i && /* @__PURE__ */ m("p", { className: y("fr-hint-text", e["fr-hint-text"]), children: i })
8782
+ i && /* @__PURE__ */ m("p", { className: x("fr-hint-text", e["fr-hint-text"]), children: i })
8787
8783
  ]
8788
8784
  }
8789
8785
  );
8790
8786
  }), Sd = ({ children: t, className: e, ...n }) => {
8791
8787
  const r = ie();
8792
- return /* @__PURE__ */ m("ul", { className: y("fr-toggle__list", e), ...ze(n), children: fe(t, Bc).map((o, i) => /* @__PURE__ */ m("li", { children: o }, `${r}-${i}`)) });
8788
+ return /* @__PURE__ */ m("ul", { className: x("fr-toggle__list", e), ...ze(n), children: fe(t, Bc).map((o, i) => /* @__PURE__ */ m("li", { children: o }, `${r}-${i}`)) });
8793
8789
  }, Oc = {
8794
8790
  "fr-select-btn": "_fr-select-btn_m2sgv_1"
8795
8791
  };
@@ -8807,7 +8803,7 @@ function Td(t) {
8807
8803
  {
8808
8804
  ...f,
8809
8805
  ref: o,
8810
- className: y("fr-select", Oc["fr-select-btn"]),
8806
+ className: x("fr-select", Oc["fr-select-btn"]),
8811
8807
  "data-focus-visible": a,
8812
8808
  children: /* @__PURE__ */ m("span", { ...s, children: r.selectedItem ? r.selectedItem.rendered : e })
8813
8809
  }
@@ -8901,7 +8897,7 @@ function ts({ item: t, state: e }) {
8901
8897
  ...r,
8902
8898
  ref: n,
8903
8899
  href: b,
8904
- className: y(
8900
+ className: x(
8905
8901
  Se["listbox-item"],
8906
8902
  d,
8907
8903
  {
@@ -8931,7 +8927,7 @@ function Wc({ section: t, state: e }) {
8931
8927
  "li",
8932
8928
  {
8933
8929
  ...n,
8934
- className: y(
8930
+ className: x(
8935
8931
  Se["listbox-section"],
8936
8932
  l,
8937
8933
  s.base,
@@ -8942,14 +8938,14 @@ function Wc({ section: t, state: e }) {
8942
8938
  "span",
8943
8939
  {
8944
8940
  ...r,
8945
- className: y(
8941
+ className: x(
8946
8942
  "fr-text-mention--grey fr-text--sm fr-my-3v fr-px-1w",
8947
8943
  s.title
8948
8944
  ),
8949
8945
  children: t.rendered
8950
8946
  }
8951
8947
  ),
8952
- /* @__PURE__ */ m(u, { ...o, className: y(Se["listbox-section-list"], s.list), children: [...t.childNodes].map((a) => /* @__PURE__ */ m(
8948
+ /* @__PURE__ */ m(u, { ...o, className: x(Se["listbox-section-list"], s.list), children: [...t.childNodes].map((a) => /* @__PURE__ */ m(
8953
8949
  ts,
8954
8950
  {
8955
8951
  item: a,
@@ -8963,11 +8959,11 @@ function Wc({ section: t, state: e }) {
8963
8959
  }
8964
8960
  function Gc(t) {
8965
8961
  const e = Rs(t), n = B(null), { menuProps: r } = Ua(t, e, n);
8966
- return /* @__PURE__ */ m("ul", { ...r, ref: n, className: y(Se.listbox), style: { minWidth: "200px" }, children: [...e.collection].map((o) => o.type === "section" ? /* @__PURE__ */ m(Wc, { section: o, state: e }, o.key) : /* @__PURE__ */ m(ts, { item: o, state: e }, o.key)) });
8962
+ return /* @__PURE__ */ m("ul", { ...r, ref: n, className: x(Se.listbox), style: { minWidth: "200px" }, children: [...e.collection].map((o) => o.type === "section" ? /* @__PURE__ */ m(Wc, { section: o, state: e }, o.key) : /* @__PURE__ */ m(ts, { item: o, state: e }, o.key)) });
8967
8963
  }
8968
8964
  const qc = me(
8969
8965
  ({ className: t, color: e = "blue-france", icon: n, iconPosition: r = "left", size: o = "md", variant: i = "primary", children: l, ...s }, u) => {
8970
- const a = y(
8966
+ const a = x(
8971
8967
  "fr-btn",
8972
8968
  {
8973
8969
  [`fr-btn--${o}`]: o !== "md",
@@ -8985,12 +8981,12 @@ const qc = me(
8985
8981
  }
8986
8982
  );
8987
8983
  function Fd(t) {
8988
- const { className: e, color: n, icon: r, iconPosition: o, size: i, variant: l, placement: s = "start", ...u } = t, a = Is(u), c = B(null), { menuTriggerProps: f, menuProps: b } = Jn({}, a, c), { isFocusVisible: d, focusProps: v } = qn(), { buttonProps: h } = ko({ ...se(f, v) }, c);
8984
+ const { className: e, color: n, icon: r, iconPosition: o, size: i, variant: l, placement: s = "start", ...u } = t, a = Is(u), c = B(null), { menuTriggerProps: f, menuProps: b } = Jn({}, a, c), { isFocusVisible: d, focusProps: v } = qn(), { buttonProps: $ } = ko({ ...se(f, v) }, c);
8989
8985
  return /* @__PURE__ */ R(Nn, { children: [
8990
8986
  /* @__PURE__ */ m(
8991
8987
  qc,
8992
8988
  {
8993
- ...h,
8989
+ ...$,
8994
8990
  ref: c,
8995
8991
  className: e,
8996
8992
  color: n,
@@ -9033,7 +9029,7 @@ export {
9033
9029
  Pd as FileUpload,
9034
9030
  sd as Header,
9035
9031
  Rt as Item,
9036
- $e as Link,
9032
+ he as Link,
9037
9033
  Ad as Listbox,
9038
9034
  Kd as ListboxItem,
9039
9035
  Dd as ListboxSection,