@tsiky/components-r19 8.2.6 → 8.2.8

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/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { jsx as r, jsxs as f, Fragment as qe } from "react/jsx-runtime";
2
2
  import * as J from "react";
3
- import ce, { useState as B, useRef as G, useEffect as E, createContext as nt, useContext as Ce, useCallback as de, memo as Ve, useLayoutEffect as NC, useId as IC, useInsertionEffect as pq, useMemo as we, Children as dV, isValidElement as lV, Fragment as uq, createElement as hV, forwardRef as rr, Component as pV, useImperativeHandle as uV } from "react";
4
- import { c as a, M as F1, I as yV, a as fr, g as kV, R as yq, B as mV, C as fV, X as gV, Y as vV, T as _V, b as MV, L as xV, d as bV, P as wV, e as LV, f as SN } from "./LineChart-DwC-Q4pC.js";
5
- import { i as cwe, h as swe, S as dwe } from "./LineChart-DwC-Q4pC.js";
6
- import O, { css as $N } from "styled-components";
3
+ import ce, { useState as B, useRef as G, useEffect as O, createContext as nt, useContext as Ce, useCallback as de, memo as Ve, useLayoutEffect as NC, useId as IC, useInsertionEffect as pq, useMemo as we, Children as dV, isValidElement as lV, Fragment as uq, createElement as hV, forwardRef as rr, Component as pV, useImperativeHandle as uV } from "react";
4
+ import { c as a, M as F1, I as yV, a as fr, g as kV, R as yq, B as mV, C as fV, X as gV, Y as vV, T as _V, b as MV, L as xV, d as bV, P as wV, e as LV, f as SN } from "./LineChart-7Rq_aMiU.js";
5
+ import { i as swe, h as dwe, S as lwe } from "./LineChart-7Rq_aMiU.js";
6
+ import E, { css as $N } from "styled-components";
7
7
  import { createPortal as SC } from "react-dom";
8
8
  const CV = "_button_1kuwt_2", NV = "_primary_1kuwt_21", IV = "_secondary_1kuwt_26", SV = "_accent_1kuwt_31", $V = "_outline_1kuwt_36", qV = "_success_1kuwt_41", AV = "_danger_1kuwt_46", zV = "_warning_1kuwt_51", VV = "_info_1kuwt_56", PV = "_sm_1kuwt_62", TV = "_md_1kuwt_67", HV = "_lg_1kuwt_72", it = {
9
9
  button: CV,
@@ -95,7 +95,7 @@ const eC = ({
95
95
  t || (t = 150);
96
96
  const m = n || t * 0.1;
97
97
  t += m;
98
- const g = Math.min(5, Math.max(0, Math.floor(e))), k = t / 2, _ = (t - m) / 2, M = 2 * Math.PI * _, b = M / 5 * (1 - 0.1), L = M - b;
98
+ const g = Math.min(5, Math.max(0, Math.floor(e))), k = t / 2, _ = (t - m) / 2, M = 2 * Math.PI * _, w = M / 5 * (1 - 0.1), L = M - w;
99
99
  return /* @__PURE__ */ f("div", { className: `circular-progress-container ${y}`, children: [
100
100
  /* @__PURE__ */ f("div", { className: "circular-progress", style: { width: t, height: t }, children: [
101
101
  /* @__PURE__ */ f("svg", { width: t, height: t, children: [
@@ -122,7 +122,7 @@ const eC = ({
122
122
  stroke: o,
123
123
  strokeWidth: m,
124
124
  strokeLinecap: "butt",
125
- strokeDasharray: `${b} ${L}`,
125
+ strokeDasharray: `${w} ${L}`,
126
126
  strokeDashoffset: 0,
127
127
  transform: `rotate(${x} ${k} ${k})`,
128
128
  style: { transition: "stroke 0.3s ease" }
@@ -191,12 +191,12 @@ function OV({
191
191
  gap: l = 0
192
192
  }) {
193
193
  const [h, p] = B(!1), [u, y] = B(null), m = G(null);
194
- E(() => {
194
+ O(() => {
195
195
  function M(v) {
196
196
  v.key === "Escape" && p(!1);
197
197
  }
198
198
  return h && document.addEventListener("keydown", M), () => document.removeEventListener("keydown", M);
199
- }, [h]), E(() => {
199
+ }, [h]), O(() => {
200
200
  function M(v) {
201
201
  m.current && !m.current.contains(v.target) && p(!1);
202
202
  }
@@ -31315,7 +31315,7 @@ const $t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31315
31315
  ZoomOutIcon: Mb,
31316
31316
  createLucideIcon: a,
31317
31317
  icons: t0e
31318
- }, Symbol.toStringTag, { value: "Module" })), Bxe = ({
31318
+ }, Symbol.toStringTag, { value: "Module" })), jxe = ({
31319
31319
  size: e = 250,
31320
31320
  background: t = "#fff",
31321
31321
  headerTop: n,
@@ -31369,7 +31369,7 @@ const $t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31369
31369
  const e = Ce(kq);
31370
31370
  if (!e) throw new Error("useNavigation must be used within a NavProvider");
31371
31371
  return e;
31372
- }, jxe = ({
31372
+ }, Rxe = ({
31373
31373
  children: e,
31374
31374
  defaultActive: t = ""
31375
31375
  }) => {
@@ -31407,13 +31407,13 @@ const $t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31407
31407
  topContent: s
31408
31408
  }) => {
31409
31409
  const [d, l] = B(!1), [h, p] = B("right"), u = G(null), y = G(null), { activeNav: m, activeSubNav: g } = Vt();
31410
- E(() => {
31410
+ O(() => {
31411
31411
  if (!i) return;
31412
31412
  const M = (v) => {
31413
31413
  u.current && !u.current.contains(v.target) && l(!1);
31414
31414
  };
31415
31415
  return document.addEventListener("mousedown", M), () => document.removeEventListener("mousedown", M);
31416
- }, [i]), E(() => {
31416
+ }, [i]), O(() => {
31417
31417
  if (d && o === "auto" && y.current) {
31418
31418
  const M = y.current.getBoundingClientRect(), v = window.innerWidth / 2;
31419
31419
  p(M.left < v ? "left" : "right");
@@ -31440,9 +31440,9 @@ const $t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31440
31440
  s && /* @__PURE__ */ r("div", { className: "dropdown-top-content", children: s }),
31441
31441
  e?.map((M, v) => /* @__PURE__ */ f("div", { className: "dropdown-category", children: [
31442
31442
  M.title && /* @__PURE__ */ r("div", { className: "category-title", children: M.title }),
31443
- /* @__PURE__ */ r("div", { className: "category-items", children: M.items.map((b, L) => {
31444
- const N = b.id ?? b.label, I = m === N || g === N, x = b.select ?? c;
31445
- if (b.id === "language") {
31443
+ /* @__PURE__ */ r("div", { className: "category-items", children: M.items.map((w, L) => {
31444
+ const N = w.id ?? w.label, I = m === N || g === N, x = w.select ?? c;
31445
+ if (w.id === "language") {
31446
31446
  if (!x || !Array.isArray(x.options) || !x.onChange)
31447
31447
  return /* @__PURE__ */ r("div", { className: "dropdown-language" }, L);
31448
31448
  const $ = Array.isArray(x.options) ? x.options : [], S = $.some((q) => q.code === x.value) ? $ : [
@@ -31470,14 +31470,14 @@ const $t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31470
31470
  }
31471
31471
  ) }, L);
31472
31472
  }
31473
- const w = {
31473
+ const b = {
31474
31474
  className: `dropdown-item ${I ? "active" : ""}`,
31475
31475
  onClick: () => {
31476
- b.onClick?.(), l(!1);
31476
+ w.onClick?.(), l(!1);
31477
31477
  },
31478
- role: b.type === "button" || !b.href ? "button" : void 0
31478
+ role: w.type === "button" || !w.href ? "button" : void 0
31479
31479
  };
31480
- return b.type === "button" || !b.href ? /* @__PURE__ */ r("button", { type: "button", ...w, children: b.label }, L) : /* @__PURE__ */ r("a", { ...w, href: b.href, children: b.label }, L);
31480
+ return w.type === "button" || !w.href ? /* @__PURE__ */ r("button", { type: "button", ...b, children: w.label }, L) : /* @__PURE__ */ r("a", { ...b, href: w.href, children: w.label }, L);
31481
31481
  }) })
31482
31482
  ] }, v))
31483
31483
  ] })
@@ -31502,14 +31502,14 @@ const $t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31502
31502
  draggable: _ = !1,
31503
31503
  displayNone: M = !1
31504
31504
  }) => {
31505
- const [v, b] = B([]);
31506
- E(() => {
31507
- const w = (q) => {
31505
+ const [v, w] = B([]);
31506
+ O(() => {
31507
+ const b = (q) => {
31508
31508
  const z = [];
31509
31509
  return ce.Children.forEach(q, (D) => {
31510
- Array.isArray(D) ? z.push(...w(D)) : ce.isValidElement(D) && z.push(D);
31510
+ Array.isArray(D) ? z.push(...b(D)) : ce.isValidElement(D) && z.push(D);
31511
31511
  }), z;
31512
- }, C = w(e).filter((q) => ce.isValidElement(q)).map((q) => {
31512
+ }, C = b(e).filter((q) => ce.isValidElement(q)).map((q) => {
31513
31513
  let z = "";
31514
31514
  const D = q.props;
31515
31515
  return z = [
@@ -31525,15 +31525,15 @@ const $t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31525
31525
  g && g.length > 0 && (S = C.map((q, z) => ({
31526
31526
  ...q,
31527
31527
  node: C[g[z]]?.node ?? q.node
31528
- }))), b(S);
31528
+ }))), w(S);
31529
31529
  }, [e]);
31530
- const L = (w, $) => {
31531
- w.stopPropagation(), w.dataTransfer.setData("dragIndex", $.toString()), w.dataTransfer.setData("parentKey", u.toString());
31532
- }, N = (w) => {
31533
- w.preventDefault(), w.stopPropagation();
31534
- }, I = (w, $) => {
31535
- w.preventDefault();
31536
- const C = Number(w.dataTransfer.getData("dragIndex")), S = Number(w.dataTransfer.getData("parentKey"));
31530
+ const L = (b, $) => {
31531
+ b.stopPropagation(), b.dataTransfer.setData("dragIndex", $.toString()), b.dataTransfer.setData("parentKey", u.toString());
31532
+ }, N = (b) => {
31533
+ b.preventDefault(), b.stopPropagation();
31534
+ }, I = (b, $) => {
31535
+ b.preventDefault();
31536
+ const C = Number(b.dataTransfer.getData("dragIndex")), S = Number(b.dataTransfer.getData("parentKey"));
31537
31537
  if (t && S !== u)
31538
31538
  return;
31539
31539
  const q = [...v];
@@ -31552,7 +31552,7 @@ const $t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31552
31552
  }, q[z] = {
31553
31553
  ...q[z],
31554
31554
  node: T
31555
- }, b(q), typeof k == "function" && k(D, z);
31555
+ }, w(q), typeof k == "function" && k(D, z);
31556
31556
  }, x = o ? [
31557
31557
  i ? `grid-xs-${i}` : "",
31558
31558
  c ? `grid-sm-${c}` : "",
@@ -31569,26 +31569,26 @@ const $t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31569
31569
  ...y
31570
31570
  },
31571
31571
  children: v.map(
31572
- (w) => w.node.type?.displayName === "Grid" ? _ && w.node?.props?.draggable !== !1 ? /* @__PURE__ */ r(
31572
+ (b) => b.node.type?.displayName === "Grid" ? _ && b.node?.props?.draggable !== !1 ? /* @__PURE__ */ r(
31573
31573
  "div",
31574
31574
  {
31575
31575
  draggable: !0,
31576
- onDragStart: ($) => L($, w.node?.props?.uniqueKey),
31576
+ onDragStart: ($) => L($, b.node?.props?.uniqueKey),
31577
31577
  onDragOver: ($) => N($),
31578
- onDrop: ($) => I($, w.node?.props?.uniqueKey),
31579
- className: `grid-item grid-item-grabbing ${w.classes} ${w.node?.props?.displayNone ? "grid-display-none" : ""}`,
31578
+ onDrop: ($) => I($, b.node?.props?.uniqueKey),
31579
+ className: `grid-item grid-item-grabbing ${b.classes} ${b.node?.props?.displayNone ? "grid-display-none" : ""}`,
31580
31580
  style: { cursor: "grab" },
31581
- children: w.node
31581
+ children: b.node
31582
31582
  },
31583
- w.node?.props?.uniqueKey
31583
+ b.node?.props?.uniqueKey
31584
31584
  ) : /* @__PURE__ */ r(
31585
31585
  "div",
31586
31586
  {
31587
- className: `grid-item ${w.classes} ${w.node?.props?.displayNone ? "grid-display-none" : ""}`,
31588
- children: w.node
31587
+ className: `grid-item ${b.classes} ${b.node?.props?.displayNone ? "grid-display-none" : ""}`,
31588
+ children: b.node
31589
31589
  },
31590
- w.node?.props?.uniqueKey
31591
- ) : w.node
31590
+ b.node?.props?.uniqueKey
31591
+ ) : b.node
31592
31592
  )
31593
31593
  }
31594
31594
  ) : n ? /* @__PURE__ */ r(
@@ -31652,23 +31652,23 @@ const $C = ({ imagePath: e, ...t }) => {
31652
31652
  dropdownPosition: i = "auto"
31653
31653
  }) => {
31654
31654
  const { activeNav: c } = Vt(), [s, d] = B(!0), [l, h] = B(!1), [p, u] = B("left"), y = G(null), m = G(null), g = G(null);
31655
- E(() => {
31655
+ O(() => {
31656
31656
  const v = () => {
31657
31657
  if (y.current && y.current.parentElement) {
31658
- const b = y.current.parentNode?.parentElement?.offsetWidth || 0;
31659
- d(b * 0.8 < y.current.offsetWidth || b < 1100);
31658
+ const w = y.current.parentNode?.parentElement?.offsetWidth || 0;
31659
+ d(w * 0.8 < y.current.offsetWidth || w < 1100);
31660
31660
  }
31661
31661
  };
31662
31662
  return v(), window.addEventListener("resize", v), () => window.removeEventListener("resize", v);
31663
- }, []), E(() => {
31663
+ }, []), O(() => {
31664
31664
  if (l && i === "auto" && m.current) {
31665
- const v = m.current.getBoundingClientRect(), b = window.innerWidth / 2;
31666
- u(v.left < b ? "left" : "right");
31665
+ const v = m.current.getBoundingClientRect(), w = window.innerWidth / 2;
31666
+ u(v.left < w ? "left" : "right");
31667
31667
  }
31668
- }, [l, i]), E(() => {
31668
+ }, [l, i]), O(() => {
31669
31669
  if (!l) return;
31670
- const v = (b) => {
31671
- g.current && !g.current.contains(b.target) && m.current && !m.current.contains(b.target) && h(!1);
31670
+ const v = (w) => {
31671
+ g.current && !g.current.contains(w.target) && m.current && !m.current.contains(w.target) && h(!1);
31672
31672
  };
31673
31673
  return document.addEventListener("mousedown", v), () => document.removeEventListener("mousedown", v);
31674
31674
  }, [l]);
@@ -31715,7 +31715,7 @@ const $C = ({ imagePath: e, ...t }) => {
31715
31715
  },
31716
31716
  v.id
31717
31717
  )) }) });
31718
- }, fq = nt(void 0), Rxe = ({ children: e, initialTheme: t }) => {
31718
+ }, fq = nt(void 0), Fxe = ({ children: e, initialTheme: t }) => {
31719
31719
  const [n, o] = B(() => {
31720
31720
  if (typeof window < "u")
31721
31721
  try {
@@ -31725,7 +31725,7 @@ const $C = ({ imagePath: e, ...t }) => {
31725
31725
  }
31726
31726
  return t;
31727
31727
  });
31728
- E(() => {
31728
+ O(() => {
31729
31729
  const c = document.documentElement;
31730
31730
  if (c.removeAttribute("data-theme"), n && n !== "default" && c.setAttribute("data-theme", n), typeof window < "u")
31731
31731
  try {
@@ -31814,7 +31814,7 @@ const $C = ({ imagePath: e, ...t }) => {
31814
31814
  a11yConfig: s
31815
31815
  }) => {
31816
31816
  const { currentTheme: d, switchTheme: l } = qC(), [h, p] = B(!1);
31817
- return E(() => {
31817
+ return O(() => {
31818
31818
  p(!0);
31819
31819
  }, []), h ? /* @__PURE__ */ r(
31820
31820
  zb,
@@ -31830,12 +31830,12 @@ const $C = ({ imagePath: e, ...t }) => {
31830
31830
  a11yConfig: s
31831
31831
  }
31832
31832
  ) : null;
31833
- }, i0e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M480-80 317-243l44-44 89 89v-252H198l84 84-44 44L80-480l159-159 44 44-85 85h252v-252l-84 84-44-44 158-158 158 158-44 44-84-84v252h252l-84-84 44-44 158 158-158 158-44-44 84-84H510v252l89-89 44 44z" })), VN = Ve(i0e), gq = nt(void 0), Fxe = ({ children: e }) => {
31833
+ }, i0e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M480-80 317-243l44-44 89 89v-252H198l84 84-44 44L80-480l159-159 44 44-85 85h252v-252l-84 84-44-44 158-158 158 158-44 44-84-84v252h252l-84-84 44-44 158 158-158 158-44-44 84-84H510v252l89-89 44 44z" })), VN = Ve(i0e), gq = nt(void 0), Exe = ({ children: e }) => {
31834
31834
  const [t, n] = B(!1);
31835
- E(() => {
31835
+ O(() => {
31836
31836
  const i = localStorage.getItem("isDraggable");
31837
31837
  i !== null && n(i === "true");
31838
- }, []), E(() => {
31838
+ }, []), O(() => {
31839
31839
  localStorage.setItem("isDraggable", String(t));
31840
31840
  }, [t]);
31841
31841
  const o = (i) => {
@@ -31862,7 +31862,7 @@ const $C = ({ imagePath: e, ...t }) => {
31862
31862
  a11yConfig: i
31863
31863
  }) => {
31864
31864
  const { isDraggable: c, switchDraggable: s } = r0e(), [d, l] = B(!1);
31865
- if (E(() => {
31865
+ if (O(() => {
31866
31866
  l(!0);
31867
31867
  }, []), !d) return null;
31868
31868
  const h = (p) => {
@@ -31880,12 +31880,12 @@ const $C = ({ imagePath: e, ...t }) => {
31880
31880
  a11yConfig: i
31881
31881
  }
31882
31882
  );
31883
- }, c0e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M400.06-300Q508-300 584.5-376.13 661-452.25 661-561q0-107.92-76.5-183.46T400.06-820t-183.5 75.54T141-561q0 108.75 75.56 184.87Q292.12-300 400.06-300M371-448v-267h60v267zm-145 0v-184h60v184zm290 0v-143h60v143zM838-80 605-314q-42 35-94.24 54.5Q458.51-240 400-240q-133 0-226-93.5T81-560.7q0-133.71 92.8-226.5Q266.59-880 400.3-880q133.7 0 227.2 93T721-561q0 58.51-19.5 110.76Q682-398 647-356l233 233z" })), PN = Ve(c0e), vq = nt(void 0), Exe = ({ children: e }) => {
31883
+ }, c0e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M400.06-300Q508-300 584.5-376.13 661-452.25 661-561q0-107.92-76.5-183.46T400.06-820t-183.5 75.54T141-561q0 108.75 75.56 184.87Q292.12-300 400.06-300M371-448v-267h60v267zm-145 0v-184h60v184zm290 0v-143h60v143zM838-80 605-314q-42 35-94.24 54.5Q458.51-240 400-240q-133 0-226-93.5T81-560.7q0-133.71 92.8-226.5Q266.59-880 400.3-880q133.7 0 227.2 93T721-561q0 58.51-19.5 110.76Q682-398 647-356l233 233z" })), PN = Ve(c0e), vq = nt(void 0), Oxe = ({ children: e }) => {
31884
31884
  const [t, n] = B(!1);
31885
- E(() => {
31885
+ O(() => {
31886
31886
  const i = localStorage.getItem("disableLegendFilter");
31887
31887
  i !== null && n(i === "true");
31888
- }, []), E(() => {
31888
+ }, []), O(() => {
31889
31889
  localStorage.setItem("disableLegendFilter", String(t));
31890
31890
  }, [t]);
31891
31891
  const o = (i) => {
@@ -31912,7 +31912,7 @@ const $C = ({ imagePath: e, ...t }) => {
31912
31912
  a11yConfig: i
31913
31913
  }) => {
31914
31914
  const { disableLegendFilter: c, switchDisableLegendFilter: s } = s0e(), [d, l] = B(!1);
31915
- if (E(() => {
31915
+ if (O(() => {
31916
31916
  l(!0);
31917
31917
  }, []), !d) return null;
31918
31918
  const h = (p) => {
@@ -31930,12 +31930,12 @@ const $C = ({ imagePath: e, ...t }) => {
31930
31930
  a11yConfig: i
31931
31931
  }
31932
31932
  );
31933
- }, _q = nt(void 0), Oxe = ({ children: e }) => {
31933
+ }, _q = nt(void 0), Uxe = ({ children: e }) => {
31934
31934
  const [t, n] = B(!1);
31935
- E(() => {
31935
+ O(() => {
31936
31936
  const i = localStorage.getItem("showData");
31937
31937
  i !== null && n(i === "true");
31938
- }, []), E(() => {
31938
+ }, []), O(() => {
31939
31939
  localStorage.setItem("showData", String(t));
31940
31940
  }, [t]);
31941
31941
  const o = (i) => {
@@ -31960,7 +31960,7 @@ const $C = ({ imagePath: e, ...t }) => {
31960
31960
  a11yConfig: n
31961
31961
  }) => {
31962
31962
  const { showData: o, switchShowData: i } = d0e(), [c, s] = B(!1);
31963
- return E(() => {
31963
+ return O(() => {
31964
31964
  s(!0);
31965
31965
  }, []), c ? /* @__PURE__ */ r(
31966
31966
  zb,
@@ -31985,7 +31985,7 @@ function HN({
31985
31985
  buttonTitle: s
31986
31986
  }) {
31987
31987
  const [d, l] = B(!1), [h, p] = B(e);
31988
- E(() => {
31988
+ O(() => {
31989
31989
  p(e);
31990
31990
  }, [e]);
31991
31991
  const u = (m, g) => {
@@ -32078,7 +32078,7 @@ function HN({
32078
32078
  )
32079
32079
  ] });
32080
32080
  }
32081
- const Uxe = ({
32081
+ const Wxe = ({
32082
32082
  logoPath: e,
32083
32083
  navItems: t,
32084
32084
  onNavClick: n,
@@ -32179,7 +32179,7 @@ const Uxe = ({
32179
32179
  ]
32180
32180
  }
32181
32181
  );
32182
- }, W1 = (e) => typeof e == "number" ? `${e}px` : e, Wxe = ({
32182
+ }, W1 = (e) => typeof e == "number" ? `${e}px` : e, Gxe = ({
32183
32183
  title: e,
32184
32184
  titleColor: t = "#1c1b1f",
32185
32185
  headerColor: n = "#ECEEF0",
@@ -32199,18 +32199,18 @@ const Uxe = ({
32199
32199
  titleMinHeight: _,
32200
32200
  backgroundColor: M = "#ffffff",
32201
32201
  borderColor: v = "#D2D6D8",
32202
- width: b,
32202
+ width: w,
32203
32203
  className: L,
32204
32204
  onClick: N,
32205
32205
  ariaLabel: I,
32206
32206
  a11yConfig: x,
32207
- titleA11yConfig: w,
32207
+ titleA11yConfig: b,
32208
32208
  entryLabelA11yConfig: $,
32209
32209
  exitLabelA11yConfig: C
32210
32210
  }) => {
32211
32211
  const S = te(x), q = te(
32212
- w,
32213
- w?.titleKey ? void 0 : e
32212
+ b,
32213
+ b?.titleKey ? void 0 : e
32214
32214
  ), z = te(
32215
32215
  $,
32216
32216
  $?.titleKey ? void 0 : o
@@ -32221,7 +32221,7 @@ const Uxe = ({
32221
32221
  return /* @__PURE__ */ f(
32222
32222
  u0e,
32223
32223
  {
32224
- $width: b,
32224
+ $width: w,
32225
32225
  $borderColor: v,
32226
32226
  className: L,
32227
32227
  onClick: N,
@@ -32291,14 +32291,14 @@ const Uxe = ({
32291
32291
  ]
32292
32292
  }
32293
32293
  );
32294
- }, u0e = O.div`
32294
+ }, u0e = E.div`
32295
32295
  display: flex;
32296
32296
  flex-direction: column;
32297
32297
  width: ${(e) => e.$width === void 0 ? "300px" : typeof e.$width == "number" ? `${e.$width}px` : e.$width};
32298
32298
  border-radius: 0.25rem;
32299
32299
  box-sizing: border-box;
32300
32300
  border: 1px solid ${(e) => e.$borderColor};
32301
- `, y0e = O.div`
32301
+ `, y0e = E.div`
32302
32302
  position: relative;
32303
32303
  background-color: ${(e) => e.$bgColor};
32304
32304
  border-radius: 0.175rem 0.175rem 0 0;
@@ -32310,7 +32310,7 @@ const Uxe = ({
32310
32310
  display: flex;
32311
32311
  flex-direction: column;
32312
32312
  gap: 1.5rem;
32313
- `, k0e = O.span`
32313
+ `, k0e = E.span`
32314
32314
  position: absolute;
32315
32315
  top: 50%;
32316
32316
  right: -1.125rem;
@@ -32320,30 +32320,30 @@ const Uxe = ({
32320
32320
  border-top: 1.375rem solid transparent;
32321
32321
  border-bottom: 1.375rem solid transparent;
32322
32322
  border-left: 1.25rem solid ${(e) => e.$bgColor};
32323
- `, m0e = O.h3`
32323
+ `, m0e = E.h3`
32324
32324
  margin: 0;
32325
32325
  font-size: ${(e) => W1(e.$fontSize)};
32326
32326
  font-weight: ${(e) => e.$fontWeight};
32327
32327
  color: ${(e) => e.$color};
32328
32328
  line-height: ${(e) => W1(e.$lineHeight)};
32329
32329
  min-height: ${(e) => e.$minHeight !== void 0 ? W1(e.$minHeight) : "auto"};
32330
- `, f0e = O.div`
32330
+ `, f0e = E.div`
32331
32331
  display: flex;
32332
32332
  gap: 1rem;
32333
- `, DN = O.div`
32333
+ `, DN = E.div`
32334
32334
  display: flex;
32335
32335
  flex-direction: column;
32336
32336
  gap: 0.15rem;
32337
- `, BN = O.span`
32337
+ `, BN = E.span`
32338
32338
  font-size: ${(e) => W1(e.$fontSize)};
32339
32339
  font-weight: ${(e) => e.$fontWeight};
32340
32340
  color: ${(e) => e.$color};
32341
32341
  line-height: ${(e) => W1(e.$lineHeight)};
32342
- `, jN = O.span`
32342
+ `, jN = E.span`
32343
32343
  font-size: 0.8rem;
32344
32344
  font-weight: 700;
32345
32345
  color: ${(e) => e.$color};
32346
- `, g0e = O.div`
32346
+ `, g0e = E.div`
32347
32347
  background-color: ${(e) => e.$bgColor};
32348
32348
  border-radius: 0 0 0.19rem 0.19rem;
32349
32349
  padding: 0.5rem;
@@ -32351,16 +32351,16 @@ const Uxe = ({
32351
32351
  flex-direction: column;
32352
32352
  gap: 1rem;
32353
32353
  height: 100%;
32354
- `, v0e = O.div`
32354
+ `, v0e = E.div`
32355
32355
  display: flex;
32356
32356
  align-items: center;
32357
32357
  gap: 0.75rem;
32358
- `, _0e = O.span`
32358
+ `, _0e = E.span`
32359
32359
  flex-shrink: 0;
32360
32360
  display: flex;
32361
32361
  align-items: center;
32362
32362
  justify-content: center;
32363
- `, M0e = O.span`
32363
+ `, M0e = E.span`
32364
32364
  font-size: ${(e) => W1(e.$fontSize)};
32365
32365
  font-weight: ${(e) => e.$fontWeight};
32366
32366
  color: #1c1b1f;
@@ -32373,7 +32373,7 @@ const Uxe = ({
32373
32373
  }) => /* @__PURE__ */ f("div", { className: `scrollable-horizontale ${t}`, style: n, children: [
32374
32374
  /* @__PURE__ */ r("div", { className: "scrollable", children: e }),
32375
32375
  /* @__PURE__ */ r("div", { className: "scrollable-dropdown", children: /* @__PURE__ */ r(mq, { logo: "BarChart", position: "right", categories: o }) })
32376
- ] }), Gxe = ({
32376
+ ] }), Kxe = ({
32377
32377
  icon: e,
32378
32378
  text: t,
32379
32379
  textColor: n = "#12351F",
@@ -32423,7 +32423,7 @@ const Uxe = ({
32423
32423
  ]
32424
32424
  }
32425
32425
  );
32426
- }, Cb = (e) => typeof e == "number" ? `${e}px` : e, b0e = O.div`
32426
+ }, Cb = (e) => typeof e == "number" ? `${e}px` : e, b0e = E.div`
32427
32427
  position: relative;
32428
32428
  display: flex;
32429
32429
  flex-direction: column;
@@ -32435,24 +32435,24 @@ const Uxe = ({
32435
32435
  padding: 0.5rem;
32436
32436
  box-sizing: border-box;
32437
32437
  cursor: ${(e) => e.$isClickable ? "pointer" : "default"};
32438
- `, w0e = O.div`
32438
+ `, w0e = E.div`
32439
32439
  display: flex;
32440
32440
  flex-direction: column;
32441
32441
  align-items: flex-start;
32442
32442
  gap: 0.75rem;
32443
- `, L0e = O.span`
32443
+ `, L0e = E.span`
32444
32444
  display: inline-flex;
32445
32445
  align-items: center;
32446
32446
  justify-content: center;
32447
- `, C0e = O.span`
32447
+ `, C0e = E.span`
32448
32448
  font-size: ${(e) => Cb(e.$fontSize)};
32449
32449
  font-weight: ${(e) => e.$fontWeight};
32450
32450
  color: ${(e) => e.$color};
32451
- `, N0e = O.span`
32451
+ `, N0e = E.span`
32452
32452
  font-size: ${(e) => Cb(e.$fontSize)};
32453
32453
  font-weight: ${(e) => e.$fontWeight};
32454
32454
  color: ${(e) => e.$color};
32455
- `, Kxe = ({
32455
+ `, Zxe = ({
32456
32456
  subNavItems: e,
32457
32457
  highlightColor: t = "#1387C8",
32458
32458
  style: n,
@@ -32502,7 +32502,7 @@ function Zt(e) {
32502
32502
  const t = G(null);
32503
32503
  return t.current === null && (t.current = e()), t.current;
32504
32504
  }
32505
- const zC = typeof window < "u", VC = zC ? NC : E, Vb = /* @__PURE__ */ nt(null);
32505
+ const zC = typeof window < "u", VC = zC ? NC : O, Vb = /* @__PURE__ */ nt(null);
32506
32506
  function PC(e, t) {
32507
32507
  e.indexOf(t) === -1 && e.push(t);
32508
32508
  }
@@ -32675,18 +32675,18 @@ function Tq(e, t) {
32675
32675
  delta: 0,
32676
32676
  timestamp: 0,
32677
32677
  isProcessing: !1
32678
- }, c = () => n = !0, s = gr.reduce((b, L) => (b[L] = D0e(c), b), {}), { setup: d, read: l, resolveKeyframes: h, preUpdate: p, update: u, preRender: y, render: m, postRender: g } = s, k = () => {
32679
- const b = At.useManualTiming ? i.timestamp : performance.now();
32680
- n = !1, At.useManualTiming || (i.delta = o ? 1e3 / 60 : Math.max(Math.min(b - i.timestamp, B0e), 1)), i.timestamp = b, i.isProcessing = !0, d.process(i), l.process(i), h.process(i), p.process(i), u.process(i), y.process(i), m.process(i), g.process(i), i.isProcessing = !1, n && t && (o = !1, e(k));
32678
+ }, c = () => n = !0, s = gr.reduce((w, L) => (w[L] = D0e(c), w), {}), { setup: d, read: l, resolveKeyframes: h, preUpdate: p, update: u, preRender: y, render: m, postRender: g } = s, k = () => {
32679
+ const w = At.useManualTiming ? i.timestamp : performance.now();
32680
+ n = !1, At.useManualTiming || (i.delta = o ? 1e3 / 60 : Math.max(Math.min(w - i.timestamp, B0e), 1)), i.timestamp = w, i.isProcessing = !0, d.process(i), l.process(i), h.process(i), p.process(i), u.process(i), y.process(i), m.process(i), g.process(i), i.isProcessing = !1, n && t && (o = !1, e(k));
32681
32681
  }, _ = () => {
32682
32682
  n = !0, o = !0, i.isProcessing || e(k);
32683
32683
  };
32684
- return { schedule: gr.reduce((b, L) => {
32684
+ return { schedule: gr.reduce((w, L) => {
32685
32685
  const N = s[L];
32686
- return b[L] = (I, x = !1, w = !1) => (n || _(), N.schedule(I, x, w)), b;
32687
- }, {}), cancel: (b) => {
32686
+ return w[L] = (I, x = !1, b = !1) => (n || _(), N.schedule(I, x, b)), w;
32687
+ }, {}), cancel: (w) => {
32688
32688
  for (let L = 0; L < gr.length; L++)
32689
- s[gr[L]].cancel(b);
32689
+ s[gr[L]].cancel(w);
32690
32690
  }, state: i, steps: s };
32691
32691
  }
32692
32692
  const { schedule: be, cancel: zt, state: Fe, steps: aw } = /* @__PURE__ */ Tq(typeof requestAnimationFrame < "u" ? requestAnimationFrame : ut, !0);
@@ -33042,33 +33042,33 @@ function Sb(e = $e.visualDuration, t = $e.bounce) {
33042
33042
  velocity: -/* @__PURE__ */ ht(n.velocity || 0)
33043
33043
  }), g = y || 0, k = h / (2 * Math.sqrt(l * p)), _ = s - c, M = /* @__PURE__ */ ht(Math.sqrt(l / p)), v = Math.abs(_) < 5;
33044
33044
  o || (o = v ? $e.restSpeed.granular : $e.restSpeed.default), i || (i = v ? $e.restDelta.granular : $e.restDelta.default);
33045
- let b;
33045
+ let w;
33046
33046
  if (k < 1) {
33047
33047
  const N = cC(M, k);
33048
- b = (I) => {
33048
+ w = (I) => {
33049
33049
  const x = Math.exp(-k * M * I);
33050
33050
  return s - x * ((g + k * M * _) / N * Math.sin(N * I) + _ * Math.cos(N * I));
33051
33051
  };
33052
33052
  } else if (k === 1)
33053
- b = (N) => s - Math.exp(-M * N) * (_ + (g + M * _) * N);
33053
+ w = (N) => s - Math.exp(-M * N) * (_ + (g + M * _) * N);
33054
33054
  else {
33055
33055
  const N = M * Math.sqrt(k * k - 1);
33056
- b = (I) => {
33057
- const x = Math.exp(-k * M * I), w = Math.min(N * I, 300);
33058
- return s - x * ((g + k * M * _) * Math.sinh(w) + N * _ * Math.cosh(w)) / N;
33056
+ w = (I) => {
33057
+ const x = Math.exp(-k * M * I), b = Math.min(N * I, 300);
33058
+ return s - x * ((g + k * M * _) * Math.sinh(b) + N * _ * Math.cosh(b)) / N;
33059
33059
  };
33060
33060
  }
33061
33061
  const L = {
33062
33062
  calculatedDuration: m && u || null,
33063
33063
  next: (N) => {
33064
- const I = b(N);
33064
+ const I = w(N);
33065
33065
  if (m)
33066
33066
  d.done = N >= u;
33067
33067
  else {
33068
33068
  let x = N === 0 ? g : 0;
33069
- k < 1 && (x = N === 0 ? /* @__PURE__ */ ft(g) : Wq(b, N, I));
33070
- const w = Math.abs(x) <= o, $ = Math.abs(s - I) <= i;
33071
- d.done = w && $;
33069
+ k < 1 && (x = N === 0 ? /* @__PURE__ */ ft(g) : Wq(w, N, I));
33070
+ const b = Math.abs(x) <= o, $ = Math.abs(s - I) <= i;
33071
+ d.done = b && $;
33072
33072
  }
33073
33073
  return d.value = d.done ? s : I, d;
33074
33074
  },
@@ -33089,19 +33089,19 @@ function sC({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: o = 3
33089
33089
  const u = e[0], y = {
33090
33090
  done: !1,
33091
33091
  value: u
33092
- }, m = (w) => d !== void 0 && w < d || l !== void 0 && w > l, g = (w) => d === void 0 ? l : l === void 0 || Math.abs(d - w) < Math.abs(l - w) ? d : l;
33092
+ }, m = (b) => d !== void 0 && b < d || l !== void 0 && b > l, g = (b) => d === void 0 ? l : l === void 0 || Math.abs(d - b) < Math.abs(l - b) ? d : l;
33093
33093
  let k = n * t;
33094
33094
  const _ = u + k, M = s === void 0 ? _ : s(_);
33095
33095
  M !== _ && (k = M - u);
33096
- const v = (w) => -k * Math.exp(-w / o), b = (w) => M + v(w), L = (w) => {
33097
- const $ = v(w), C = b(w);
33096
+ const v = (b) => -k * Math.exp(-b / o), w = (b) => M + v(b), L = (b) => {
33097
+ const $ = v(b), C = w(b);
33098
33098
  y.done = Math.abs($) <= h, y.value = y.done ? M : C;
33099
33099
  };
33100
33100
  let N, I;
33101
- const x = (w) => {
33102
- m(y.value) && (N = w, I = Sb({
33101
+ const x = (b) => {
33102
+ m(y.value) && (N = b, I = Sb({
33103
33103
  keyframes: [y.value, g(y.value)],
33104
- velocity: Wq(b, w, y.value),
33104
+ velocity: Wq(w, b, y.value),
33105
33105
  // TODO: This should be passing * 1000
33106
33106
  damping: i,
33107
33107
  stiffness: c,
@@ -33111,9 +33111,9 @@ function sC({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: o = 3
33111
33111
  };
33112
33112
  return x(0), {
33113
33113
  calculatedDuration: null,
33114
- next: (w) => {
33114
+ next: (b) => {
33115
33115
  let $ = !1;
33116
- return !I && N === void 0 && ($ = !0, L(w), x(w)), N !== void 0 && w >= N ? I.next(w - N) : (!$ && L(w), y);
33116
+ return !I && N === void 0 && ($ = !0, L(b), x(b)), N !== void 0 && b >= N ? I.next(b - N) : (!$ && L(b), y);
33117
33117
  }
33118
33118
  };
33119
33119
  }
@@ -33258,13 +33258,13 @@ class XC extends ZC {
33258
33258
  this.speed > 0 ? this.startTime = Math.min(this.startTime, t) : this.speed < 0 && (this.startTime = Math.min(t - i / this.speed, this.startTime)), n ? this.currentTime = t : this.updateTime(t);
33259
33259
  const M = this.currentTime - h * (this.playbackSpeed >= 0 ? 1 : -1), v = this.playbackSpeed >= 0 ? M < 0 : M > i;
33260
33260
  this.currentTime = Math.max(M, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = i);
33261
- let b = this.currentTime, L = o;
33261
+ let w = this.currentTime, L = o;
33262
33262
  if (u) {
33263
- const w = Math.min(this.currentTime, i) / d;
33264
- let $ = Math.floor(w), C = w % 1;
33265
- !C && w >= 1 && (C = 1), C === 1 && $--, $ = Math.min($, u + 1), !!($ % 2) && (y === "reverse" ? (C = 1 - C, m && (C -= m / d)) : y === "mirror" && (L = s)), b = qt(0, 1, C) * d;
33263
+ const b = Math.min(this.currentTime, i) / d;
33264
+ let $ = Math.floor(b), C = b % 1;
33265
+ !C && b >= 1 && (C = 1), C === 1 && $--, $ = Math.min($, u + 1), !!($ % 2) && (y === "reverse" ? (C = 1 - C, m && (C -= m / d)) : y === "mirror" && (L = s)), w = qt(0, 1, C) * d;
33266
33266
  }
33267
- const N = v ? { done: !1, value: p[0] } : L.next(b);
33267
+ const N = v ? { done: !1, value: p[0] } : L.next(w);
33268
33268
  c && (N.value = c(N.value));
33269
33269
  let { done: I } = N;
33270
33270
  !v && l !== null && (I = this.playbackSpeed >= 0 ? this.currentTime >= i : this.currentTime <= 0);
@@ -34464,7 +34464,7 @@ function uA(e = !0) {
34464
34464
  if (t === null)
34465
34465
  return [!0, null];
34466
34466
  const { isPresent: n, onExitComplete: o, register: i } = t, c = IC();
34467
- E(() => {
34467
+ O(() => {
34468
34468
  if (e)
34469
34469
  return i(c);
34470
34470
  }, [e]);
@@ -34479,7 +34479,7 @@ function dI(e) {
34479
34479
  }), t;
34480
34480
  }
34481
34481
  const Ale = ({ children: e, custom: t, initial: n = !0, onExitComplete: o, presenceAffectsLayout: i = !0, mode: c = "sync", propagate: s = !1, anchorX: d = "left", root: l }) => {
34482
- const [h, p] = uA(s), u = we(() => dI(e), [e]), y = s && !h ? [] : u.map(_r), m = G(!0), g = G(u), k = Zt(() => /* @__PURE__ */ new Map()), [_, M] = B(u), [v, b] = B(u);
34482
+ const [h, p] = uA(s), u = we(() => dI(e), [e]), y = s && !h ? [] : u.map(_r), m = G(!0), g = G(u), k = Zt(() => /* @__PURE__ */ new Map()), [_, M] = B(u), [v, w] = B(u);
34483
34483
  VC(() => {
34484
34484
  m.current = !1, g.current = u;
34485
34485
  for (let I = 0; I < v.length; I++) {
@@ -34491,15 +34491,15 @@ const Ale = ({ children: e, custom: t, initial: n = !0, onExitComplete: o, prese
34491
34491
  if (u !== _) {
34492
34492
  let I = [...u];
34493
34493
  for (let x = 0; x < v.length; x++) {
34494
- const w = v[x], $ = _r(w);
34495
- y.includes($) || (I.splice(x, 0, w), L.push(w));
34494
+ const b = v[x], $ = _r(b);
34495
+ y.includes($) || (I.splice(x, 0, b), L.push(b));
34496
34496
  }
34497
- return c === "wait" && L.length && (I = L), b(dI(I)), M(u), null;
34497
+ return c === "wait" && L.length && (I = L), w(dI(I)), M(u), null;
34498
34498
  }
34499
34499
  process.env.NODE_ENV !== "production" && c === "wait" && v.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
34500
34500
  const { forceRender: N } = Ce(AC);
34501
34501
  return r(qe, { children: v.map((I) => {
34502
- const x = _r(I), w = s && !h ? !1 : u === v || y.includes(x), $ = () => {
34502
+ const x = _r(I), b = s && !h ? !1 : u === v || y.includes(x), $ = () => {
34503
34503
  if (k.has(x))
34504
34504
  k.set(x, !0);
34505
34505
  else
@@ -34507,9 +34507,9 @@ const Ale = ({ children: e, custom: t, initial: n = !0, onExitComplete: o, prese
34507
34507
  let C = !0;
34508
34508
  k.forEach((S) => {
34509
34509
  S || (C = !1);
34510
- }), C && (N?.(), b(g.current), s && p?.(), o && o());
34510
+ }), C && (N?.(), w(g.current), s && p?.(), o && o());
34511
34511
  };
34512
- return r($le, { isPresent: w, initial: !m.current || n ? void 0 : !1, custom: t, presenceAffectsLayout: i, mode: c, root: l, onExitComplete: w ? void 0 : $, anchorX: d, children: I }, x);
34512
+ return r($le, { isPresent: b, initial: !m.current || n ? void 0 : !1, custom: t, presenceAffectsLayout: i, mode: c, root: l, onExitComplete: b ? void 0 : $, anchorX: d, children: I }, x);
34513
34513
  }) });
34514
34514
  }, yA = nt({ strict: !1 }), lI = {
34515
34515
  animation: [
@@ -34856,12 +34856,12 @@ function Qle(e, t, n, o) {
34856
34856
  if (g) {
34857
34857
  const { transitionEnd: k, transition: _, ...M } = g;
34858
34858
  for (const v in M) {
34859
- let b = M[v];
34860
- if (Array.isArray(b)) {
34861
- const L = p ? b.length - 1 : 0;
34862
- b = b[L];
34859
+ let w = M[v];
34860
+ if (Array.isArray(w)) {
34861
+ const L = p ? w.length - 1 : 0;
34862
+ w = w[L];
34863
34863
  }
34864
- b !== null && (i[v] = b);
34864
+ w !== null && (i[v] = w);
34865
34865
  }
34866
34866
  for (const v in k)
34867
34867
  i[v] = k[v];
@@ -34932,7 +34932,7 @@ function ihe(e, t, n, o, i) {
34932
34932
  const m = n[wA], g = G(!!m && !window.MotionHandoffIsComplete?.(m) && window.MotionHasOptimisedAnimation?.(m));
34933
34933
  return VC(() => {
34934
34934
  p && (y.current = !0, window.MotionIsMounted = !0, p.updateFeatures(), p.scheduleRenderMicrotask(), g.current && p.animationState && p.animationState.animateChanges());
34935
- }), E(() => {
34935
+ }), O(() => {
34936
34936
  p && (!g.current && p.animationState && p.animationState.animateChanges(), g.current && (queueMicrotask(() => {
34937
34937
  window.MotionHandoffMarkAsComplete?.(m);
34938
34938
  }), g.current = !1), p.enteringChildren = void 0);
@@ -35687,26 +35687,26 @@ function Ehe(e) {
35687
35687
  const { props: h } = e, p = BA(e.parent) || {}, u = [], y = /* @__PURE__ */ new Set();
35688
35688
  let m = {}, g = 1 / 0;
35689
35689
  for (let _ = 0; _ < Rhe; _++) {
35690
- const M = jhe[_], v = n[M], b = h[M] !== void 0 ? h[M] : p[M], L = nr(b), N = M === l ? v.isActive : null;
35690
+ const M = jhe[_], v = n[M], w = h[M] !== void 0 ? h[M] : p[M], L = nr(w), N = M === l ? v.isActive : null;
35691
35691
  N === !1 && (g = _);
35692
- let I = b === p[M] && b !== h[M] && L;
35692
+ let I = w === p[M] && w !== h[M] && L;
35693
35693
  if (I && o && e.manuallyAnimateOnMount && (I = !1), v.protectedKeys = { ...m }, // If it isn't active and hasn't *just* been set as inactive
35694
35694
  !v.isActive && N === null || // If we didn't and don't have any defined prop for this animation type
35695
- !b && !v.prevProp || // Or if the prop doesn't define an animation
35696
- Hb(b) || typeof b == "boolean")
35695
+ !w && !v.prevProp || // Or if the prop doesn't define an animation
35696
+ Hb(w) || typeof w == "boolean")
35697
35697
  continue;
35698
- const x = Ohe(v.prevProp, b);
35699
- let w = x || // If we're making this variant active, we want to always make it active
35698
+ const x = Ohe(v.prevProp, w);
35699
+ let b = x || // If we're making this variant active, we want to always make it active
35700
35700
  M === l && v.isActive && !I && L || // If we removed a higher-priority variant (i is in reverse order)
35701
35701
  _ > g && L, $ = !1;
35702
- const C = Array.isArray(b) ? b : [b];
35702
+ const C = Array.isArray(w) ? w : [w];
35703
35703
  let S = C.reduce(i(M), {});
35704
35704
  N === !1 && (S = {});
35705
35705
  const { prevResolvedValues: q = {} } = v, z = {
35706
35706
  ...q,
35707
35707
  ...S
35708
35708
  }, D = (A) => {
35709
- w = !0, y.has(A) && ($ = !0, y.delete(A)), v.needsAnimating[A] = !0;
35709
+ b = !0, y.has(A) && ($ = !0, y.delete(A)), v.needsAnimating[A] = !0;
35710
35710
  const V = e.getValue(A);
35711
35711
  V && (V.liveStyle = !1);
35712
35712
  };
@@ -35717,9 +35717,9 @@ function Ehe(e) {
35717
35717
  let H = !1;
35718
35718
  MC(V) && MC(F) ? H = !DA(V, F) : H = V !== F, H ? V != null ? D(A) : y.add(A) : V !== void 0 && y.has(A) ? D(A) : v.protectedKeys[A] = !0;
35719
35719
  }
35720
- v.prevProp = b, v.prevResolvedValues = S, v.isActive && (m = { ...m, ...S }), o && e.blockInitialAnimation && (w = !1);
35720
+ v.prevProp = w, v.prevResolvedValues = S, v.isActive && (m = { ...m, ...S }), o && e.blockInitialAnimation && (b = !1);
35721
35721
  const T = I && x;
35722
- w && (!T || $) && u.push(...C.map((A) => {
35722
+ b && (!T || $) && u.push(...C.map((A) => {
35723
35723
  const V = { type: M };
35724
35724
  if (typeof A == "string" && o && !T && e.manuallyAnimateOnMount && e.parent) {
35725
35725
  const { parent: F } = e, H = ki(F, A);
@@ -35741,8 +35741,8 @@ function Ehe(e) {
35741
35741
  M && M.transition && (_.transition = M.transition);
35742
35742
  }
35743
35743
  y.forEach((M) => {
35744
- const v = e.getBaseTarget(M), b = e.getValue(M);
35745
- b && (b.liveStyle = !0), _[M] = v ?? null;
35744
+ const v = e.getBaseTarget(M), w = e.getValue(M);
35745
+ w && (w.liveStyle = !0), _[M] = v ?? null;
35746
35746
  }), u.push({ animation: _ });
35747
35747
  }
35748
35748
  let k = !!u.length;
@@ -36045,9 +36045,9 @@ class ppe {
36045
36045
  this.latestPointerEvent = u, this.latestPanInfo = y, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), lt((M) => {
36046
36046
  let v = this.getAxisMotionValue(M).get() || 0;
36047
36047
  if (Ct.test(v)) {
36048
- const { projection: b } = this.visualElement;
36049
- if (b && b.layout) {
36050
- const L = b.layout.layoutBox[M];
36048
+ const { projection: w } = this.visualElement;
36049
+ if (w && w.layout) {
36050
+ const L = w.layout.layoutBox[M];
36051
36051
  L && (v = Ze(L) * (parseFloat(v) / 100));
36052
36052
  }
36053
36053
  }
@@ -36632,12 +36632,12 @@ function YA({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
36632
36632
  const g = this.options.transition || h.getDefaultTransition() || Gpe, { onLayoutAnimationStart: k, onLayoutAnimationComplete: _ } = h.getProps(), M = !this.targetLayout || !ZA(this.targetLayout, m), v = !u && y;
36633
36633
  if (this.options.layoutRoot || this.resumeFrom || v || u && (M || !this.currentAnimation)) {
36634
36634
  this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
36635
- const b = {
36635
+ const w = {
36636
36636
  ...JC(g, "layout"),
36637
36637
  onPlay: k,
36638
36638
  onComplete: _
36639
36639
  };
36640
- (h.shouldReduceMotion || this.options.layoutRoot) && (b.delay = 0, b.type = !1), this.startAnimation(b), this.setAnimationOrigin(p, v);
36640
+ (h.shouldReduceMotion || this.options.layoutRoot) && (w.delay = 0, w.type = !1), this.startAnimation(w), this.setAnimationOrigin(p, v);
36641
36641
  } else
36642
36642
  u || KI(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
36643
36643
  this.targetLayout = m;
@@ -36888,10 +36888,10 @@ function YA({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
36888
36888
  (!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !d;
36889
36889
  const y = ze(), m = l ? l.source : void 0, g = this.layout ? this.layout.source : void 0, k = m !== g, _ = this.getStack(), M = !_ || _.members.length <= 1, v = !!(k && !M && this.options.crossfade === !0 && !this.path.some(Wpe));
36890
36890
  this.animationProgress = 0;
36891
- let b;
36891
+ let w;
36892
36892
  this.mixTargetDelta = (L) => {
36893
36893
  const N = L / 1e3;
36894
- ZI(u.x, s.x, N), ZI(u.y, s.y, N), this.setTargetDelta(u), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Ji(y, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Upe(this.relativeTarget, this.relativeTargetOrigin, y, N), b && $pe(this.relativeTarget, b) && (this.isProjectionDirty = !1), b || (b = ze()), rt(b, this.relativeTarget)), k && (this.animationValues = p, wpe(p, h, this.latestValues, N, v, M)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = N;
36894
+ ZI(u.x, s.x, N), ZI(u.y, s.y, N), this.setTargetDelta(u), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Ji(y, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Upe(this.relativeTarget, this.relativeTargetOrigin, y, N), w && $pe(this.relativeTarget, w) && (this.isProjectionDirty = !1), w || (w = ze()), rt(w, this.relativeTarget)), k && (this.animationValues = p, wpe(p, h, this.latestValues, N, v, M)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = N;
36895
36895
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
36896
36896
  }
36897
36897
  startAnimation(s) {
@@ -37012,8 +37012,8 @@ function YA({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
37012
37012
  continue;
37013
37013
  const { correct: k, applyTo: _, isCSSVariable: M } = or[g], v = u === "none" ? p[g] : k(p[g], h);
37014
37014
  if (_) {
37015
- const b = _.length;
37016
- for (let L = 0; L < b; L++)
37015
+ const w = _.length;
37016
+ for (let L = 0; L < w; L++)
37017
37017
  s[_[L]] = v;
37018
37018
  } else
37019
37019
  M ? this.options.visualElement.renderState.vars[g] = v : s[g] = v;
@@ -37309,7 +37309,7 @@ function ez(e) {
37309
37309
  const t = Zt(() => Z1(e)), { isStatic: n } = Ce(Pb);
37310
37310
  if (n) {
37311
37311
  const [, o] = B(e);
37312
- E(() => t.on("change", o), []);
37312
+ O(() => t.on("change", o), []);
37313
37313
  }
37314
37314
  return t;
37315
37315
  }
@@ -37437,7 +37437,7 @@ function fue({ children: e, as: t = "ul", axis: n = "y", onReorder: o, values: i
37437
37437
  l !== g && (h.current = !0, o(g.map(vue).filter((k) => i.indexOf(k) !== -1)));
37438
37438
  }
37439
37439
  };
37440
- return E(() => {
37440
+ return O(() => {
37441
37441
  h.current = !1;
37442
37442
  }), r(d, { ...c, ref: s, ignoreStrict: !0, children: r(az.Provider, { value: p, children: e }) });
37443
37443
  }
@@ -37470,7 +37470,7 @@ const xue = /* @__PURE__ */ rr(Mue), Ab = [
37470
37470
  /* @__PURE__ */ r(Ot, { size: 18 }),
37471
37471
  /* @__PURE__ */ r(Ti, { size: 18 }),
37472
37472
  /* @__PURE__ */ r(Pi, { size: 18 })
37473
- ], Xxe = ({
37473
+ ], Yxe = ({
37474
37474
  items: e,
37475
37475
  onReorder: t,
37476
37476
  draggable: n = !1,
@@ -37480,7 +37480,7 @@ const xue = /* @__PURE__ */ rr(Mue), Ab = [
37480
37480
  itemsDraggable: s = !0
37481
37481
  }) => {
37482
37482
  const [d, l] = B(e ?? []);
37483
- return E(() => {
37483
+ return O(() => {
37484
37484
  e && Array.isArray(e) ? (e.forEach((h, p) => {
37485
37485
  if (h.icon == null && (h.icon = Ab[p % Ab.length]), typeof h.text == "string" && h.text.includes("/")) {
37486
37486
  const u = String(h.text).split("/"), y = u[0].trim(), g = u.slice(1).join("/").trim().match(/^(\d+)(.*)$/);
@@ -37950,11 +37950,11 @@ const zue = "_formContainer_14ads_1", Vue = "_headerLine_14ads_17", Pue = "_form
37950
37950
  const M = Array.from(t);
37951
37951
  M.splice(_, 1);
37952
37952
  const v = new DataTransfer();
37953
- M.forEach((b) => v.items.add(b)), n(v.files);
37953
+ M.forEach((w) => v.items.add(w)), n(v.files);
37954
37954
  }, k = (_) => {
37955
37955
  if (_ === 0) return "0 Bytes";
37956
- const M = 1024, v = ["Bytes", "KB", "MB", "GB"], b = Math.floor(Math.log(_) / Math.log(M));
37957
- return parseFloat((_ / Math.pow(M, b)).toFixed(2)) + " " + v[b];
37956
+ const M = 1024, v = ["Bytes", "KB", "MB", "GB"], w = Math.floor(Math.log(_) / Math.log(M));
37957
+ return parseFloat((_ / Math.pow(M, w)).toFixed(2)) + " " + v[w];
37958
37958
  };
37959
37959
  return /* @__PURE__ */ f("div", { className: `${Ue.fileInputContainer} ${c && i ? Ue.hasError : ""}`, children: [
37960
37960
  /* @__PURE__ */ f("label", { htmlFor: e.name, className: "form-label", children: [
@@ -38839,7 +38839,7 @@ function lz() {
38839
38839
  var k = u.get(s), _ = u.get(d);
38840
38840
  if (k && _)
38841
38841
  return k == d && _ == s;
38842
- var M = -1, v = !0, b = l & i ? new e() : void 0;
38842
+ var M = -1, v = !0, w = l & i ? new e() : void 0;
38843
38843
  for (u.set(s, d), u.set(d, s); ++M < m; ) {
38844
38844
  var L = s[M], N = d[M];
38845
38845
  if (h)
@@ -38850,10 +38850,10 @@ function lz() {
38850
38850
  v = !1;
38851
38851
  break;
38852
38852
  }
38853
- if (b) {
38854
- if (!t(d, function(x, w) {
38855
- if (!n(b, w) && (L === x || p(L, x, l, h, u)))
38856
- return b.push(w);
38853
+ if (w) {
38854
+ if (!t(d, function(x, b) {
38855
+ if (!n(w, b) && (L === x || p(L, x, l, h, u)))
38856
+ return w.push(b);
38857
38857
  })) {
38858
38858
  v = !1;
38859
38859
  break;
@@ -38902,9 +38902,9 @@ var fL, n$;
38902
38902
  function R4e() {
38903
38903
  if (n$) return fL;
38904
38904
  n$ = 1;
38905
- var e = uN(), t = D4e(), n = oz(), o = lz(), i = B4e(), c = j4e(), s = 1, d = 2, l = "[object Boolean]", h = "[object Date]", p = "[object Error]", u = "[object Map]", y = "[object Number]", m = "[object RegExp]", g = "[object Set]", k = "[object String]", _ = "[object Symbol]", M = "[object ArrayBuffer]", v = "[object DataView]", b = e ? e.prototype : void 0, L = b ? b.valueOf : void 0;
38906
- function N(I, x, w, $, C, S, q) {
38907
- switch (w) {
38905
+ var e = uN(), t = D4e(), n = oz(), o = lz(), i = B4e(), c = j4e(), s = 1, d = 2, l = "[object Boolean]", h = "[object Date]", p = "[object Error]", u = "[object Map]", y = "[object Number]", m = "[object RegExp]", g = "[object Set]", k = "[object String]", _ = "[object Symbol]", M = "[object ArrayBuffer]", v = "[object DataView]", w = e ? e.prototype : void 0, L = w ? w.valueOf : void 0;
38906
+ function N(I, x, b, $, C, S, q) {
38907
+ switch (b) {
38908
38908
  case v:
38909
38909
  if (I.byteLength != x.byteLength || I.byteOffset != x.byteOffset)
38910
38910
  return !1;
@@ -39085,8 +39085,8 @@ var qL, g$;
39085
39085
  function J4e() {
39086
39086
  if (g$) return qL;
39087
39087
  g$ = 1;
39088
- var e = Rb(), t = pz(), n = Ob(), o = "[object Arguments]", i = "[object Array]", c = "[object Boolean]", s = "[object Date]", d = "[object Error]", l = "[object Function]", h = "[object Map]", p = "[object Number]", u = "[object Object]", y = "[object RegExp]", m = "[object Set]", g = "[object String]", k = "[object WeakMap]", _ = "[object ArrayBuffer]", M = "[object DataView]", v = "[object Float32Array]", b = "[object Float64Array]", L = "[object Int8Array]", N = "[object Int16Array]", I = "[object Int32Array]", x = "[object Uint8Array]", w = "[object Uint8ClampedArray]", $ = "[object Uint16Array]", C = "[object Uint32Array]", S = {};
39089
- S[v] = S[b] = S[L] = S[N] = S[I] = S[x] = S[w] = S[$] = S[C] = !0, S[o] = S[i] = S[_] = S[c] = S[M] = S[s] = S[d] = S[l] = S[h] = S[p] = S[u] = S[y] = S[m] = S[g] = S[k] = !1;
39088
+ var e = Rb(), t = pz(), n = Ob(), o = "[object Arguments]", i = "[object Array]", c = "[object Boolean]", s = "[object Date]", d = "[object Error]", l = "[object Function]", h = "[object Map]", p = "[object Number]", u = "[object Object]", y = "[object RegExp]", m = "[object Set]", g = "[object String]", k = "[object WeakMap]", _ = "[object ArrayBuffer]", M = "[object DataView]", v = "[object Float32Array]", w = "[object Float64Array]", L = "[object Int8Array]", N = "[object Int16Array]", I = "[object Int32Array]", x = "[object Uint8Array]", b = "[object Uint8ClampedArray]", $ = "[object Uint16Array]", C = "[object Uint32Array]", S = {};
39089
+ S[v] = S[w] = S[L] = S[N] = S[I] = S[x] = S[b] = S[$] = S[C] = !0, S[o] = S[i] = S[_] = S[c] = S[M] = S[s] = S[d] = S[l] = S[h] = S[p] = S[u] = S[y] = S[m] = S[g] = S[k] = !1;
39090
39090
  function q(z) {
39091
39091
  return n(z) && t(z.length) && !!S[e(z)];
39092
39092
  }
@@ -39230,17 +39230,17 @@ function d5e() {
39230
39230
  if (!(u ? M in s : o.call(s, M)))
39231
39231
  return !1;
39232
39232
  }
39233
- var v = p.get(c), b = p.get(s);
39234
- if (v && b)
39235
- return v == s && b == c;
39233
+ var v = p.get(c), w = p.get(s);
39234
+ if (v && w)
39235
+ return v == s && w == c;
39236
39236
  var L = !0;
39237
39237
  p.set(c, s), p.set(s, c);
39238
39238
  for (var N = u; ++_ < m; ) {
39239
39239
  M = y[_];
39240
39240
  var I = c[M], x = s[M];
39241
39241
  if (l)
39242
- var w = u ? l(x, I, M, s, c, p) : l(I, x, M, c, s, p);
39243
- if (!(w === void 0 ? I === x || h(I, x, d, l, p) : w)) {
39242
+ var b = u ? l(x, I, M, s, c, p) : l(I, x, M, c, s, p);
39243
+ if (!(b === void 0 ? I === x || h(I, x, d, l, p) : b)) {
39244
39244
  L = !1;
39245
39245
  break;
39246
39246
  }
@@ -39287,8 +39287,8 @@ function y5e() {
39287
39287
  if (P$) return GL;
39288
39288
  P$ = 1;
39289
39289
  var e = l5e(), t = yN(), n = h5e(), o = p5e(), i = u5e(), c = Rb(), s = sz(), d = "[object Map]", l = "[object Object]", h = "[object Promise]", p = "[object Set]", u = "[object WeakMap]", y = "[object DataView]", m = s(e), g = s(t), k = s(n), _ = s(o), M = s(i), v = c;
39290
- return (e && v(new e(new ArrayBuffer(1))) != y || t && v(new t()) != d || n && v(n.resolve()) != h || o && v(new o()) != p || i && v(new i()) != u) && (v = function(b) {
39291
- var L = c(b), N = L == l ? b.constructor : void 0, I = N ? s(N) : "";
39290
+ return (e && v(new e(new ArrayBuffer(1))) != y || t && v(new t()) != d || n && v(n.resolve()) != h || o && v(new o()) != p || i && v(new i()) != u) && (v = function(w) {
39291
+ var L = c(w), N = L == l ? w.constructor : void 0, I = N ? s(N) : "";
39292
39292
  if (I)
39293
39293
  switch (I) {
39294
39294
  case m:
@@ -39310,25 +39310,25 @@ function k5e() {
39310
39310
  if (T$) return KL;
39311
39311
  T$ = 1;
39312
39312
  var e = A4e(), t = lz(), n = R4e(), o = d5e(), i = y5e(), c = kN(), s = hz(), d = uz(), l = 1, h = "[object Arguments]", p = "[object Array]", u = "[object Object]", y = Object.prototype, m = y.hasOwnProperty;
39313
- function g(k, _, M, v, b, L) {
39314
- var N = c(k), I = c(_), x = N ? p : i(k), w = I ? p : i(_);
39315
- x = x == h ? u : x, w = w == h ? u : w;
39316
- var $ = x == u, C = w == u, S = x == w;
39313
+ function g(k, _, M, v, w, L) {
39314
+ var N = c(k), I = c(_), x = N ? p : i(k), b = I ? p : i(_);
39315
+ x = x == h ? u : x, b = b == h ? u : b;
39316
+ var $ = x == u, C = b == u, S = x == b;
39317
39317
  if (S && s(k)) {
39318
39318
  if (!s(_))
39319
39319
  return !1;
39320
39320
  N = !0, $ = !1;
39321
39321
  }
39322
39322
  if (S && !$)
39323
- return L || (L = new e()), N || d(k) ? t(k, _, M, v, b, L) : n(k, _, x, M, v, b, L);
39323
+ return L || (L = new e()), N || d(k) ? t(k, _, M, v, w, L) : n(k, _, x, M, v, w, L);
39324
39324
  if (!(M & l)) {
39325
39325
  var q = $ && m.call(k, "__wrapped__"), z = C && m.call(_, "__wrapped__");
39326
39326
  if (q || z) {
39327
39327
  var D = q ? k.value() : k, T = z ? _.value() : _;
39328
- return L || (L = new e()), b(D, T, M, v, L);
39328
+ return L || (L = new e()), w(D, T, M, v, L);
39329
39329
  }
39330
39330
  }
39331
- return S ? (L || (L = new e()), o(k, _, M, v, b, L)) : !1;
39331
+ return S ? (L || (L = new e()), o(k, _, M, v, w, L)) : !1;
39332
39332
  }
39333
39333
  return KL = g, KL;
39334
39334
  }
@@ -39353,7 +39353,7 @@ function f5e() {
39353
39353
  return XL = t, XL;
39354
39354
  }
39355
39355
  var g5e = f5e();
39356
- const v5e = /* @__PURE__ */ kV(g5e), Yxe = ({
39356
+ const v5e = /* @__PURE__ */ kV(g5e), Jxe = ({
39357
39357
  schema: e,
39358
39358
  initialData: t = {},
39359
39359
  onSubmit: n,
@@ -39365,35 +39365,35 @@ const v5e = /* @__PURE__ */ kV(g5e), Yxe = ({
39365
39365
  cancelIcon: l
39366
39366
  }) => {
39367
39367
  const [h, p] = B(t), [u, y] = B({}), [m, g] = B({}), [k, _] = B(!1), M = G(t);
39368
- E(() => {
39368
+ O(() => {
39369
39369
  v5e(M.current, t) || (p(t), M.current = t);
39370
39370
  }, [t]);
39371
- const v = (w, $) => {
39372
- const C = { ...h, [w]: $ };
39373
- if (p(C), m[w]) {
39374
- const S = e.fields.find((q) => q.name === w);
39371
+ const v = (b, $) => {
39372
+ const C = { ...h, [b]: $ };
39373
+ if (p(C), m[b]) {
39374
+ const S = e.fields.find((q) => q.name === b);
39375
39375
  if (S) {
39376
39376
  const q = CC($, S);
39377
39377
  y((z) => ({
39378
39378
  ...z,
39379
- [w]: q.isValid ? "" : q.error
39379
+ [b]: q.isValid ? "" : q.error
39380
39380
  }));
39381
39381
  }
39382
39382
  }
39383
- }, b = (w) => {
39384
- if (!m[w]) {
39385
- g((C) => ({ ...C, [w]: !0 }));
39386
- const $ = e.fields.find((C) => C.name === w);
39383
+ }, w = (b) => {
39384
+ if (!m[b]) {
39385
+ g((C) => ({ ...C, [b]: !0 }));
39386
+ const $ = e.fields.find((C) => C.name === b);
39387
39387
  if ($) {
39388
- const C = CC(h[w], $);
39388
+ const C = CC(h[b], $);
39389
39389
  y((S) => ({
39390
39390
  ...S,
39391
- [w]: C.isValid ? "" : C.error
39391
+ [b]: C.isValid ? "" : C.error
39392
39392
  }));
39393
39393
  }
39394
39394
  }
39395
- }, L = async (w) => {
39396
- w.preventDefault(), _(!0);
39395
+ }, L = async (b) => {
39396
+ b.preventDefault(), _(!0);
39397
39397
  const $ = e.fields.reduce(
39398
39398
  (S, q) => (q.type !== "section" && (S[q.name] = !0), S),
39399
39399
  {}
@@ -39428,27 +39428,27 @@ const v5e = /* @__PURE__ */ kV(g5e), Yxe = ({
39428
39428
  {
39429
39429
  className: _e.gridContainer,
39430
39430
  style: { gridTemplateColumns: `repeat(${x}, minmax(0, 1fr))` },
39431
- children: e.fields.map((w) => {
39432
- if (w.type === "section")
39431
+ children: e.fields.map((b) => {
39432
+ if (b.type === "section")
39433
39433
  return /* @__PURE__ */ f("div", { className: _e.sectionFull, children: [
39434
- /* @__PURE__ */ r("h5", { className: _e.sectionTitle, children: w.label }),
39435
- w.help && /* @__PURE__ */ r("p", { className: _e.sectionHelp, children: w.help })
39436
- ] }, w.name);
39437
- const C = { gridColumn: `span ${Math.max(1, Math.min(x, w.gridCol ?? x))}` };
39434
+ /* @__PURE__ */ r("h5", { className: _e.sectionTitle, children: b.label }),
39435
+ b.help && /* @__PURE__ */ r("p", { className: _e.sectionHelp, children: b.help })
39436
+ ] }, b.name);
39437
+ const C = { gridColumn: `span ${Math.max(1, Math.min(x, b.gridCol ?? x))}` };
39438
39438
  return /* @__PURE__ */ f("div", { className: _e.fieldGridItem, style: C, children: [
39439
39439
  /* @__PURE__ */ r(
39440
39440
  n4e,
39441
39441
  {
39442
- field: w,
39443
- value: h[w.name],
39444
- onChange: (S) => v(w.name, S),
39445
- onBlur: () => b(w.name),
39446
- error: u[w.name],
39447
- touched: m[w.name]
39442
+ field: b,
39443
+ value: h[b.name],
39444
+ onChange: (S) => v(b.name, S),
39445
+ onBlur: () => w(b.name),
39446
+ error: u[b.name],
39447
+ touched: m[b.name]
39448
39448
  }
39449
39449
  ),
39450
- w.help && /* @__PURE__ */ r("small", { className: _e.fieldHelp, children: w.help })
39451
- ] }, w.name);
39450
+ b.help && /* @__PURE__ */ r("small", { className: _e.fieldHelp, children: b.help })
39451
+ ] }, b.name);
39452
39452
  })
39453
39453
  }
39454
39454
  ),
@@ -39480,7 +39480,7 @@ const v5e = /* @__PURE__ */ kV(g5e), Yxe = ({
39480
39480
  ] })
39481
39481
  ] });
39482
39482
  };
39483
- function Jxe(e) {
39483
+ function Qxe(e) {
39484
39484
  return {
39485
39485
  title: e._formTitle || "Formulaire",
39486
39486
  description: e._formDescription,
@@ -39497,7 +39497,7 @@ const B$ = /* @__PURE__ */ new Map(), j$ = ({
39497
39497
  onClick: c
39498
39498
  }) => {
39499
39499
  const s = /^https?:\/\//.test(e), [d, l] = B("");
39500
- if (E(() => {
39500
+ if (O(() => {
39501
39501
  if (s) return;
39502
39502
  e && (async () => {
39503
39503
  try {
@@ -39651,7 +39651,7 @@ const B$ = /* @__PURE__ */ new Map(), j$ = ({
39651
39651
  disabled: o
39652
39652
  }) => {
39653
39653
  const [i, c] = B([]);
39654
- E(() => {
39654
+ O(() => {
39655
39655
  (async () => {
39656
39656
  if (e.asyncOptions)
39657
39657
  try {
@@ -39702,7 +39702,7 @@ const B$ = /* @__PURE__ */ new Map(), j$ = ({
39702
39702
  disabled: o = !1
39703
39703
  }) => {
39704
39704
  const [i, c] = B([]), [s, d] = B(!1);
39705
- E(() => {
39705
+ O(() => {
39706
39706
  (async () => {
39707
39707
  if (e.asyncOptions) {
39708
39708
  d(!0);
@@ -39737,7 +39737,7 @@ const B$ = /* @__PURE__ */ new Map(), j$ = ({
39737
39737
  );
39738
39738
  }, Oke = ({ config: e, value: t, onChange: n, disabled: o = !1 }) => {
39739
39739
  const [i, c] = B("");
39740
- return E(() => {
39740
+ return O(() => {
39741
39741
  c(typeof t == "string" ? t : String(t || ""));
39742
39742
  }, [t]), /* @__PURE__ */ r(
39743
39743
  "input",
@@ -39760,7 +39760,7 @@ const B$ = /* @__PURE__ */ new Map(), j$ = ({
39760
39760
  disabled: o = !1
39761
39761
  }) => {
39762
39762
  const [i, c] = B(t?.operator || ""), [s, d] = B(t?.value || "");
39763
- E(() => {
39763
+ O(() => {
39764
39764
  i && s && n({ operator: i, value: s });
39765
39765
  }, [i, s, n]);
39766
39766
  const l = (p) => {
@@ -39935,7 +39935,7 @@ const B$ = /* @__PURE__ */ new Map(), j$ = ({
39935
39935
  k.type === "daterange" ? g[k.id] = { start: "", end: "" } : g[k.id] = k.defaultValue ?? "";
39936
39936
  }), g;
39937
39937
  });
39938
- E(() => {
39938
+ O(() => {
39939
39939
  if (!i) return;
39940
39940
  const g = { ...d ?? {} };
39941
39941
  e.forEach((k) => {
@@ -39955,21 +39955,21 @@ const B$ = /* @__PURE__ */ new Map(), j$ = ({
39955
39955
  for (const [_, M] of Object.entries(k)) {
39956
39956
  const v = e.find((N) => N.id === _);
39957
39957
  if (!v) continue;
39958
- let b = M;
39958
+ let w = M;
39959
39959
  try {
39960
- typeof M == "function" && (b = await M(k)), typeof v.executeOnApply == "function" && (b = await v.executeOnApply(b, k));
39960
+ typeof M == "function" && (w = await M(k)), typeof v.executeOnApply == "function" && (w = await v.executeOnApply(w, k));
39961
39961
  } catch {
39962
39962
  continue;
39963
39963
  }
39964
39964
  if (v.type === "daterange") {
39965
- const N = b?.start ?? "", I = b?.end ?? "", x = typeof N == "string" ? N.trim() === "" : !N, w = typeof I == "string" ? I.trim() === "" : !I;
39966
- if (x && w)
39965
+ const N = w?.start ?? "", I = w?.end ?? "", x = typeof N == "string" ? N.trim() === "" : !N, b = typeof I == "string" ? I.trim() === "" : !I;
39966
+ if (x && b)
39967
39967
  continue;
39968
39968
  }
39969
- b == null || typeof b == "string" && b.trim() === "" || Array.isArray(b) && b.length === 0 || typeof b == "object" && !Array.isArray(b) && Object.keys(b).length === 0 || g.push({
39969
+ w == null || typeof w == "string" && w.trim() === "" || Array.isArray(w) && w.length === 0 || typeof w == "object" && !Array.isArray(w) && Object.keys(w).length === 0 || g.push({
39970
39970
  id: _,
39971
39971
  type: v.type,
39972
- value: b,
39972
+ value: w,
39973
39973
  label: v.label
39974
39974
  });
39975
39975
  }
@@ -40075,16 +40075,16 @@ function Xke(e, t, n = "", o = { key: null, direction: "asc" }, i = 1, c = 10, s
40075
40075
  if (!o?.key) return h;
40076
40076
  const k = o.key;
40077
40077
  return [...h].sort((_, M) => {
40078
- const v = _.data[k], b = M.data[k];
40078
+ const v = _.data[k], w = M.data[k];
40079
40079
  if (v == null) return 1;
40080
- if (b == null) return -1;
40081
- if (typeof v == "number" && typeof b == "number")
40082
- return o.direction === "desc" ? b - v : v - b;
40083
- if (v instanceof Date && b instanceof Date) {
40084
- const N = v.getTime() - b.getTime();
40080
+ if (w == null) return -1;
40081
+ if (typeof v == "number" && typeof w == "number")
40082
+ return o.direction === "desc" ? w - v : v - w;
40083
+ if (v instanceof Date && w instanceof Date) {
40084
+ const N = v.getTime() - w.getTime();
40085
40085
  return o.direction === "desc" ? -N : N;
40086
40086
  }
40087
- const L = String(v).localeCompare(String(b), void 0, {
40087
+ const L = String(v).localeCompare(String(w), void 0, {
40088
40088
  numeric: !0,
40089
40089
  sensitivity: "base"
40090
40090
  });
@@ -40164,7 +40164,7 @@ const Yke = ({ value: e }) => e, Jke = ({ value: e }) => ce.createElement(
40164
40164
  sortDesc: ce.createElement(Gt, { className: "sort-icon active", size: 14 }),
40165
40165
  sortDefault: ce.createElement(pi, { className: "sort-icon", size: 14 })
40166
40166
  }
40167
- }, Qxe = (e, t) => {
40167
+ }, ebe = (e, t) => {
40168
40168
  F$.renderers[e] && console.warn(`Le renderer "${e}" existe déjà et sera écrasé.`), F$.renderers[e] = t;
40169
40169
  }, i3e = ({
40170
40170
  filters: e,
@@ -40184,16 +40184,16 @@ const Yke = ({ value: e }) => e, Jke = ({ value: e }) => ce.createElement(
40184
40184
  applyDisabled: g = !1,
40185
40185
  loading: k = !1
40186
40186
  }) => {
40187
- const [_, M] = B(!1), v = typeof s == "boolean" ? s : _, { appliedFilters: b, tempFilters: L, updateFilter: N, applyFilters: I, clearAllFilters: x } = Kke({
40187
+ const [_, M] = B(!1), v = typeof s == "boolean" ? s : _, { appliedFilters: w, tempFilters: L, updateFilter: N, applyFilters: I, clearAllFilters: x } = Kke({
40188
40188
  filters: e,
40189
40189
  externalFilters: t,
40190
40190
  onFiltersChange: n,
40191
40191
  onApply: o,
40192
40192
  isControlled: i
40193
- }), w = G(null), $ = G(null);
40194
- E(() => {
40195
- if (v && w.current) {
40196
- const T = w.current.getBoundingClientRect().height;
40193
+ }), b = G(null), $ = G(null);
40194
+ O(() => {
40195
+ if (v && b.current) {
40196
+ const T = b.current.getBoundingClientRect().height;
40197
40197
  h?.(T);
40198
40198
  } else
40199
40199
  h?.(0);
@@ -40214,13 +40214,13 @@ const Yke = ({ value: e }) => e, Jke = ({ value: e }) => ce.createElement(
40214
40214
  T = void 0;
40215
40215
  }
40216
40216
  let P = [];
40217
- T && Array.isArray(T) && T.length > 0 ? P = T : b && b.length > 0 ? P = b : P = S(), n?.(P), o?.(P);
40217
+ T && Array.isArray(T) && T.length > 0 ? P = T : w && w.length > 0 ? P = w : P = S(), n?.(P), o?.(P);
40218
40218
  }, z = () => {
40219
40219
  d?.(!1), typeof s != "boolean" && M(!1);
40220
40220
  }, D = () => {
40221
40221
  x(), n?.([]), o?.([]);
40222
40222
  };
40223
- return E(() => {
40223
+ return O(() => {
40224
40224
  const T = (A) => {
40225
40225
  v && $.current && ($.current.contains(A.target) || (d?.(!1), typeof s != "boolean" && M(!1)));
40226
40226
  }, P = (A) => {
@@ -40233,7 +40233,7 @@ const Yke = ({ value: e }) => e, Jke = ({ value: e }) => ce.createElement(
40233
40233
  /* @__PURE__ */ f(
40234
40234
  "button",
40235
40235
  {
40236
- className: `${R.toggleFiltersButton} ${b.length > 0 ? R.active : ""} ${v ? R.toggleFiltersButtonOpen : ""} ${k ? R.loadingButton : ""}`,
40236
+ className: `${R.toggleFiltersButton} ${w.length > 0 ? R.active : ""} ${v ? R.toggleFiltersButtonOpen : ""} ${k ? R.loadingButton : ""}`,
40237
40237
  onClick: C,
40238
40238
  "aria-expanded": v,
40239
40239
  "aria-controls": "advanced-filters-panel",
@@ -40242,7 +40242,7 @@ const Yke = ({ value: e }) => e, Jke = ({ value: e }) => ce.createElement(
40242
40242
  children: [
40243
40243
  k ? /* @__PURE__ */ r("span", { className: R.loaderSpinnerSmall }) : /* @__PURE__ */ r(Ft, { size: 14 }),
40244
40244
  /* @__PURE__ */ r("span", { className: R.buttonTextCompact, children: p }),
40245
- b.length > 0 && !k && /* @__PURE__ */ r("span", { className: R.filterCountBadge, "aria-hidden": !0, children: b.length }),
40245
+ w.length > 0 && !k && /* @__PURE__ */ r("span", { className: R.filterCountBadge, "aria-hidden": !0, children: w.length }),
40246
40246
  k && /* @__PURE__ */ r("span", { className: R.loadingIndicator, "aria-hidden": !0, children: "Chargement..." })
40247
40247
  ]
40248
40248
  }
@@ -40251,7 +40251,7 @@ const Yke = ({ value: e }) => e, Jke = ({ value: e }) => ce.createElement(
40251
40251
  "div",
40252
40252
  {
40253
40253
  id: "advanced-filters-panel",
40254
- ref: w,
40254
+ ref: b,
40255
40255
  className: `${R.filtersPanel} ${l === "top" ? `${R.filtersPanelInline} ${R.filtersPanelHorizontal}` : ""}`,
40256
40256
  role: "region",
40257
40257
  "aria-label": "Panneau de filtres avancés",
@@ -40272,9 +40272,9 @@ const Yke = ({ value: e }) => e, Jke = ({ value: e }) => ce.createElement(
40272
40272
  )
40273
40273
  ] }, T.id)) }),
40274
40274
  /* @__PURE__ */ f("div", { className: R.filtersActionsHorizontal, children: [
40275
- /* @__PURE__ */ r("div", { className: R.activeFiltersSection, children: b.length > 0 && /* @__PURE__ */ f("div", { className: R.activeFiltersRow, children: [
40275
+ /* @__PURE__ */ r("div", { className: R.activeFiltersSection, children: w.length > 0 && /* @__PURE__ */ f("div", { className: R.activeFiltersRow, children: [
40276
40276
  /* @__PURE__ */ r("span", { className: R.activeLabelCompact, children: "Actifs :" }),
40277
- /* @__PURE__ */ r("div", { className: R.activeFiltersList, children: b.map((T) => /* @__PURE__ */ f("div", { className: R.activeFilterTag, children: [
40277
+ /* @__PURE__ */ r("div", { className: R.activeFiltersList, children: w.map((T) => /* @__PURE__ */ f("div", { className: R.activeFilterTag, children: [
40278
40278
  T.label ?? T.id,
40279
40279
  /* @__PURE__ */ r(
40280
40280
  "button",
@@ -40341,7 +40341,7 @@ const Yke = ({ value: e }) => e, Jke = ({ value: e }) => ce.createElement(
40341
40341
  }, y = () => s((g) => !g), m = () => {
40342
40342
  s(!1);
40343
40343
  };
40344
- return E(() => {
40344
+ return O(() => {
40345
40345
  if (!c) return;
40346
40346
  const g = (_) => {
40347
40347
  if (!l.current) return;
@@ -40353,7 +40353,7 @@ const Yke = ({ value: e }) => e, Jke = ({ value: e }) => ce.createElement(
40353
40353
  return document.addEventListener("pointerdown", g), document.addEventListener("keydown", k), () => {
40354
40354
  document.removeEventListener("pointerdown", g), document.removeEventListener("keydown", k);
40355
40355
  };
40356
- }, [c]), E(() => {
40356
+ }, [c]), O(() => {
40357
40357
  const g = document.querySelector("[data-table-wrapper]");
40358
40358
  if (!g) return;
40359
40359
  const k = g.style.overflow ?? "";
@@ -40480,7 +40480,7 @@ const Yke = ({ value: e }) => e, Jke = ({ value: e }) => ce.createElement(
40480
40480
  const k = [];
40481
40481
  let M = Math.max(1, h - Math.floor(2.5)), v = M + 5 - 1;
40482
40482
  v > l && (v = l, M = Math.max(1, v - 5 + 1));
40483
- for (let b = M; b <= v; b++) k.push(b);
40483
+ for (let w = M; w <= v; w++) k.push(w);
40484
40484
  return k;
40485
40485
  };
40486
40486
  return /* @__PURE__ */ f("div", { className: R.paginationContainer, role: "navigation", "aria-label": "Pagination", children: [
@@ -40635,19 +40635,19 @@ const Yke = ({ value: e }) => e, Jke = ({ value: e }) => ce.createElement(
40635
40635
  onPageChange: _,
40636
40636
  itemLabel: M = "items",
40637
40637
  advancedFiltersLabel: v = "Advanced-Filters",
40638
- advancedFiltersActiveLabel: b,
40638
+ advancedFiltersActiveLabel: w,
40639
40639
  sortLabel: L = "Sort",
40640
40640
  applyLabel: N = "Apply",
40641
40641
  cancelLabel: I = "Cancel",
40642
40642
  clearLabel: x = "Clear",
40643
- applyDisabled: w = !1,
40643
+ applyDisabled: b = !1,
40644
40644
  paginationLoading: $ = !1,
40645
40645
  filtersLoading: C = !1,
40646
40646
  sortLoading: S = !1,
40647
40647
  totalCount: q = null
40648
40648
  }) => {
40649
40649
  const [z, D] = B({ key: null, direction: "asc" }), [T, P] = B(n.currentPage ?? 1), [A, V] = B(n.pageSize ?? 10), [F, H] = B(!1), W = G(null), [ae, U] = B([]), K = u ? d : ae, he = u ? [] : ae;
40650
- E(() => {
40650
+ O(() => {
40651
40651
  const se = n.currentPage ?? 1, Pe = n.pageSize ?? 10;
40652
40652
  se !== T && P(se), Pe !== A && V(Pe);
40653
40653
  }, [n.currentPage, n.pageSize]);
@@ -40663,7 +40663,7 @@ const Yke = ({ value: e }) => e, Jke = ({ value: e }) => ce.createElement(
40663
40663
  let ge = pe;
40664
40664
  typeof q == "number" && q >= 0 && (ge = Math.max(1, Math.ceil(q / A)));
40665
40665
  const Me = re > 10;
40666
- E(() => {
40666
+ O(() => {
40667
40667
  const se = Math.max(1, Math.floor(ge));
40668
40668
  T > se && P(se), T < 1 && P(1);
40669
40669
  }, [ge]);
@@ -40682,12 +40682,12 @@ const Yke = ({ value: e }) => e, Jke = ({ value: e }) => ce.createElement(
40682
40682
  }, Be = (se) => {
40683
40683
  H(se), !se && W.current && W.current.style.setProperty("--filters-panel-height", "0px");
40684
40684
  };
40685
- E(() => {
40685
+ O(() => {
40686
40686
  (K?.length ?? 0) > 0 && H(!0);
40687
- }, [K]), E(() => {
40687
+ }, [K]), O(() => {
40688
40688
  s.length > 0 && K.length > 0 && H(!0);
40689
40689
  }, [s.length, K.length]);
40690
- const bi = (K?.length ?? 0) > 0 && b ? b : v;
40690
+ const bi = (K?.length ?? 0) > 0 && w ? w : v;
40691
40691
  return /* @__PURE__ */ f(
40692
40692
  "div",
40693
40693
  {
@@ -40727,7 +40727,7 @@ const Yke = ({ value: e }) => e, Jke = ({ value: e }) => ce.createElement(
40727
40727
  applyLabel: N,
40728
40728
  cancelLabel: I,
40729
40729
  clearLabel: x,
40730
- applyDisabled: w,
40730
+ applyDisabled: b,
40731
40731
  loading: C
40732
40732
  }
40733
40733
  )
@@ -40770,7 +40770,7 @@ const Yke = ({ value: e }) => e, Jke = ({ value: e }) => ce.createElement(
40770
40770
  }
40771
40771
  );
40772
40772
  };
40773
- function ebe(e) {
40773
+ function tbe(e) {
40774
40774
  const { pagination: t, totalCount: n, onPageChange: o, ...i } = e, c = t?.pageSize ?? 20, s = t?.currentPage ?? 1, d = we(() => {
40775
40775
  if (n === null || typeof n > "u") return null;
40776
40776
  const u = Number(n);
@@ -40790,7 +40790,7 @@ function ebe(e) {
40790
40790
  }
40791
40791
  );
40792
40792
  }
40793
- const tbe = ({
40793
+ const abe = ({
40794
40794
  page: e,
40795
40795
  pageSize: t,
40796
40796
  total: n,
@@ -40851,7 +40851,7 @@ const tbe = ({
40851
40851
  )
40852
40852
  ] })
40853
40853
  ] });
40854
- }, k3e = O.div`
40854
+ }, k3e = E.div`
40855
40855
  display: flex;
40856
40856
  align-items: center;
40857
40857
  justify-content: space-between;
@@ -40860,18 +40860,18 @@ const tbe = ({
40860
40860
  background-color: transparent;
40861
40861
  flex-wrap: nowrap;
40862
40862
  gap: 12px;
40863
- `, m3e = O.span`
40863
+ `, m3e = E.span`
40864
40864
  font-size: 13px;
40865
40865
  color: var(--color-text);
40866
40866
  white-space: nowrap;
40867
40867
  font-weight: 600;
40868
- `, f3e = O.div`
40868
+ `, f3e = E.div`
40869
40869
  flex: 1;
40870
- `, g3e = O.div`
40870
+ `, g3e = E.div`
40871
40871
  display: flex;
40872
40872
  gap: 4px;
40873
40873
  align-items: center;
40874
- `, xr = O.button`
40874
+ `, xr = E.button`
40875
40875
  display: flex;
40876
40876
  align-items: center;
40877
40877
  justify-content: center;
@@ -40894,7 +40894,7 @@ const tbe = ({
40894
40894
  opacity: 0.3;
40895
40895
  cursor: not-allowed;
40896
40896
  }
40897
- `, v3e = O.button`
40897
+ `, v3e = E.button`
40898
40898
  display: flex;
40899
40899
  align-items: center;
40900
40900
  justify-content: center;
@@ -41366,12 +41366,12 @@ const tbe = ({
41366
41366
  preset: M,
41367
41367
  background: v
41368
41368
  } = e, {
41369
- itemsContainerStyle: b,
41369
+ itemsContainerStyle: w,
41370
41370
  itemsContainerClassName: L,
41371
41371
  summaryGridColumns: N,
41372
41372
  compactItemWidth: I,
41373
41373
  compactItemHeight: x,
41374
- compactItemStyle: w,
41374
+ compactItemStyle: b,
41375
41375
  summaryCardWidth: $,
41376
41376
  summaryCardHeight: C,
41377
41377
  summaryCardStyle: S
@@ -41394,7 +41394,7 @@ const tbe = ({
41394
41394
  gap: 18,
41395
41395
  alignItems: "stretch",
41396
41396
  width: "100%"
41397
- } : void 0) ?? {}, ...b ?? {} };
41397
+ } : void 0) ?? {}, ...w ?? {} };
41398
41398
  return /* @__PURE__ */ f("div", { className: D, style: z, "aria-busy": p, children: [
41399
41399
  d && /* @__PURE__ */ r(O$, { title: d }),
41400
41400
  /* @__PURE__ */ r("div", { className: oe.mpSummaryInner, children: /* @__PURE__ */ r(
@@ -41438,12 +41438,12 @@ const tbe = ({
41438
41438
  }
41439
41439
  return /* @__PURE__ */ f("div", { className: D, style: z, "aria-busy": p, children: [
41440
41440
  d && /* @__PURE__ */ r(O$, { title: d }),
41441
- /* @__PURE__ */ r("div", { className: oe.mpList, style: b, children: p ? /* @__PURE__ */ r("div", { className: oe.mpEmpty, children: "Chargement…" }) : t.length === 0 ? /* @__PURE__ */ r("div", { className: oe.mpEmpty, children: u }) : t.map((P) => {
41441
+ /* @__PURE__ */ r("div", { className: oe.mpList, style: w, children: p ? /* @__PURE__ */ r("div", { className: oe.mpEmpty, children: "Chargement…" }) : t.length === 0 ? /* @__PURE__ */ r("div", { className: oe.mpEmpty, children: u }) : t.map((P) => {
41442
41442
  const A = s ? {
41443
41443
  width: I ?? void 0,
41444
41444
  height: x ?? void 0,
41445
41445
  boxSizing: "border-box",
41446
- ...w ?? {}
41446
+ ...b ?? {}
41447
41447
  } : void 0;
41448
41448
  return /* @__PURE__ */ r(
41449
41449
  "div",
@@ -41467,7 +41467,7 @@ const tbe = ({
41467
41467
  ] });
41468
41468
  };
41469
41469
  ce.memo(yme);
41470
- const abe = ({
41470
+ const nbe = ({
41471
41471
  a11yConfig: e,
41472
41472
  width: t,
41473
41473
  height: n,
@@ -41483,7 +41483,7 @@ const abe = ({
41483
41483
  titleKey: y,
41484
41484
  leftTitleKey: m
41485
41485
  }) => {
41486
- const g = t ? typeof t == "number" ? `${t}px` : t : void 0, k = n ? typeof n == "number" ? `${n}px` : n : void 0, _ = c && typeof c == "object" && !ce.isValidElement(c) && ("text" in c || "subtext" in c || "icon" in c || "background" in c || "iconSize" in c), M = _ ? c : void 0, v = M?.icon ? $t[M.icon] : void 0, b = 28, L = M?.iconSize ?? b, N = [
41486
+ const g = t ? typeof t == "number" ? `${t}px` : t : void 0, k = n ? typeof n == "number" ? `${n}px` : n : void 0, _ = c && typeof c == "object" && !ce.isValidElement(c) && ("text" in c || "subtext" in c || "icon" in c || "background" in c || "iconSize" in c), M = _ ? c : void 0, v = M?.icon ? $t[M.icon] : void 0, w = 28, L = M?.iconSize ?? w, N = [
41487
41487
  "chart-container",
41488
41488
  `variant-${p}`,
41489
41489
  u ? "with-border" : "",
@@ -41543,7 +41543,7 @@ const abe = ({
41543
41543
  v,
41544
41544
  {
41545
41545
  color: M.iconColor ?? "currentColor",
41546
- size: typeof L == "number" ? L : parseInt(String(L), 10) || b
41546
+ size: typeof L == "number" ? L : parseInt(String(L), 10) || w
41547
41547
  }
41548
41548
  )
41549
41549
  }
@@ -41575,7 +41575,7 @@ const abe = ({
41575
41575
  a11yConfig: k,
41576
41576
  titleKey: _
41577
41577
  }) => {
41578
- const M = o || y?.icon, v = typeof M == "string", b = v ? $t[M] : null, L = v ? null : M;
41578
+ const M = o || y?.icon, v = typeof M == "string", w = v ? $t[M] : null, L = v ? null : M;
41579
41579
  return /* @__PURE__ */ f(
41580
41580
  "div",
41581
41581
  {
@@ -41592,8 +41592,8 @@ const abe = ({
41592
41592
  onClick: d,
41593
41593
  title: te(k, _),
41594
41594
  children: [
41595
- b && /* @__PURE__ */ r(
41596
- b,
41595
+ w && /* @__PURE__ */ r(
41596
+ w,
41597
41597
  {
41598
41598
  className: "alert-icon",
41599
41599
  size: 20,
@@ -41632,7 +41632,7 @@ const abe = ({
41632
41632
  ]
41633
41633
  }
41634
41634
  );
41635
- }, kz = nt(null), kme = (e = "alert") => `${e}_${Math.random().toString(36).slice(2, 9)}`, nbe = ({
41635
+ }, kz = nt(null), kme = (e = "alert") => `${e}_${Math.random().toString(36).slice(2, 9)}`, obe = ({
41636
41636
  children: e,
41637
41637
  defaultDuration: t = 4e3,
41638
41638
  maxAlerts: n,
@@ -41640,11 +41640,11 @@ const abe = ({
41640
41640
  containerStyle: i
41641
41641
  }) => {
41642
41642
  const [c, s] = B([]), d = G(/* @__PURE__ */ new Map()), l = G(null), [h, p] = B(null), [u, y] = B(void 0), m = G(n), g = G(c), k = G(t);
41643
- E(() => {
41643
+ O(() => {
41644
41644
  g.current = c;
41645
- }, [c]), E(() => {
41645
+ }, [c]), O(() => {
41646
41646
  k.current = t;
41647
- }, [t]), E(() => {
41647
+ }, [t]), O(() => {
41648
41648
  const z = d.current;
41649
41649
  return () => {
41650
41650
  z.forEach((D) => window.clearTimeout(D)), z.clear();
@@ -41668,7 +41668,7 @@ const abe = ({
41668
41668
  d.current.set(z, P);
41669
41669
  },
41670
41670
  [M]
41671
- ), b = de(
41671
+ ), w = de(
41672
41672
  (z) => {
41673
41673
  const D = kme(), T = { ...z, id: D, createdAt: Date.now() };
41674
41674
  return s((P) => {
@@ -41686,16 +41686,16 @@ const abe = ({
41686
41686
  z && window.getComputedStyle(z).position === "static" && (z.style.position = "relative"), p((T) => T === z ? T : z), y(D);
41687
41687
  },
41688
41688
  []
41689
- ), x = de(() => g.current.slice(), []), w = we(
41689
+ ), x = de(() => g.current.slice(), []), b = we(
41690
41690
  () => ({
41691
- showAlert: b,
41691
+ showAlert: w,
41692
41692
  dismissAlert: M,
41693
41693
  updateAlert: L,
41694
41694
  clearAlerts: N,
41695
41695
  setContainerRef: I,
41696
41696
  getAlertsSnapshot: x
41697
41697
  }),
41698
- [b, M, L, N, I, x]
41698
+ [w, M, L, N, I, x]
41699
41699
  ), $ = h, C = $ ? !!u : !1, S = /* @__PURE__ */ r(
41700
41700
  "div",
41701
41701
  {
@@ -41770,15 +41770,15 @@ const abe = ({
41770
41770
  children: S
41771
41771
  }
41772
41772
  );
41773
- return /* @__PURE__ */ f(kz.Provider, { value: w, children: [
41773
+ return /* @__PURE__ */ f(kz.Provider, { value: b, children: [
41774
41774
  $ ? SC(S, $) : q,
41775
41775
  e
41776
41776
  ] });
41777
- }, obe = () => {
41777
+ }, ibe = () => {
41778
41778
  const e = Ce(kz);
41779
41779
  if (!e) throw new Error("useAlerts must be used inside an AlertsProvider");
41780
41780
  return e;
41781
- }, ibe = {
41781
+ }, rbe = {
41782
41782
  default: {
41783
41783
  background: "#f3f4f6",
41784
41784
  icon: "Info",
@@ -41813,7 +41813,7 @@ const abe = ({
41813
41813
  container: mme,
41814
41814
  icon: fme,
41815
41815
  selectWrapper: gme
41816
- }, rbe = ({
41816
+ }, cbe = ({
41817
41817
  options: e,
41818
41818
  defaultValue: t,
41819
41819
  onChange: n,
@@ -41838,7 +41838,7 @@ const abe = ({
41838
41838
  }
41839
41839
  ) })
41840
41840
  ] });
41841
- }, vme = 250, cbe = rr(
41841
+ }, vme = 250, sbe = rr(
41842
41842
  ({
41843
41843
  title: e,
41844
41844
  subtitle: t,
@@ -41853,15 +41853,15 @@ const abe = ({
41853
41853
  closeOnOverlayClick: p = !0,
41854
41854
  showCloseButton: u = !0
41855
41855
  }, y) => {
41856
- const [m, g] = B(!1), [k, _] = B(!1), M = G(null), v = G(null), b = G(null), L = G(null);
41857
- E(() => {
41856
+ const [m, g] = B(!1), [k, _] = B(!1), M = G(null), v = G(null), w = G(null), L = G(null);
41857
+ O(() => {
41858
41858
  const x = M.current;
41859
41859
  if (!x) return;
41860
- const w = x.parentElement;
41861
- return w ? (window.getComputedStyle(w).position === "static" && (w.setAttribute("data-scp-prev-position", w.style.position ?? ""), w.style.position = "relative", w.setAttribute("data-scp-position-changed", "true")), () => {
41862
- if (w.getAttribute("data-scp-position-changed") === "true") {
41863
- const C = w.getAttribute("data-scp-prev-position") ?? "";
41864
- w.style.position = C, w.removeAttribute("data-scp-position-changed"), w.removeAttribute("data-scp-prev-position");
41860
+ const b = x.parentElement;
41861
+ return b ? (window.getComputedStyle(b).position === "static" && (b.setAttribute("data-scp-prev-position", b.style.position ?? ""), b.style.position = "relative", b.setAttribute("data-scp-position-changed", "true")), () => {
41862
+ if (b.getAttribute("data-scp-position-changed") === "true") {
41863
+ const C = b.getAttribute("data-scp-prev-position") ?? "";
41864
+ b.style.position = C, b.removeAttribute("data-scp-position-changed"), b.removeAttribute("data-scp-prev-position");
41865
41865
  }
41866
41866
  }) : void 0;
41867
41867
  }, []), uV(
@@ -41878,10 +41878,10 @@ const abe = ({
41878
41878
  }
41879
41879
  }),
41880
41880
  [m, o, c]
41881
- ), E(() => {
41881
+ ), O(() => {
41882
41882
  const x = v.current;
41883
41883
  L.current && (window.clearTimeout(L.current), L.current = null);
41884
- const w = ($) => {
41884
+ const b = ($) => {
41885
41885
  if ($.target === x && !($.propertyName !== "transform" && $.propertyName !== "opacity"))
41886
41886
  if (m) {
41887
41887
  _(!0), i?.();
@@ -41892,12 +41892,12 @@ const abe = ({
41892
41892
  } else {
41893
41893
  s?.();
41894
41894
  try {
41895
- b.current?.focus();
41895
+ w.current?.focus();
41896
41896
  } catch {
41897
41897
  }
41898
41898
  }
41899
41899
  };
41900
- return x && (x.addEventListener("transitionend", w), L.current = window.setTimeout(() => {
41900
+ return x && (x.addEventListener("transitionend", b), L.current = window.setTimeout(() => {
41901
41901
  if (m) {
41902
41902
  _(!0), i?.();
41903
41903
  try {
@@ -41907,16 +41907,16 @@ const abe = ({
41907
41907
  } else {
41908
41908
  s?.();
41909
41909
  try {
41910
- b.current?.focus();
41910
+ w.current?.focus();
41911
41911
  } catch {
41912
41912
  }
41913
41913
  }
41914
- }, vme + 60)), m && (b.current = document.activeElement), () => {
41915
- x && x.removeEventListener("transitionend", w), L.current && (window.clearTimeout(L.current), L.current = null);
41914
+ }, vme + 60)), m && (w.current = document.activeElement), () => {
41915
+ x && x.removeEventListener("transitionend", b), L.current && (window.clearTimeout(L.current), L.current = null);
41916
41916
  };
41917
- }, [m, i, s]), E(() => {
41918
- const x = (w) => {
41919
- w.key === "Escape" && m && (c?.(), _(!1), g(!1));
41917
+ }, [m, i, s]), O(() => {
41918
+ const x = (b) => {
41919
+ b.key === "Escape" && m && (c?.(), _(!1), g(!1));
41920
41920
  };
41921
41921
  return window.addEventListener("keydown", x), () => window.removeEventListener("keydown", x);
41922
41922
  }, [m, c]);
@@ -41966,9 +41966,9 @@ const abe = ({
41966
41966
  ] });
41967
41967
  }
41968
41968
  );
41969
- function sbe(e) {
41969
+ function dbe(e) {
41970
41970
  const t = G("");
41971
- E(() => {
41971
+ O(() => {
41972
41972
  if (e) {
41973
41973
  t.current = document.body.style.overflow, document.body.style.overflow = "hidden";
41974
41974
  return;
@@ -41979,7 +41979,7 @@ function sbe(e) {
41979
41979
  const _me = "_container_1pfsp_1", Mme = "_title_1pfsp_8", Z$ = {
41980
41980
  container: _me,
41981
41981
  title: Mme
41982
- }, dbe = ({
41982
+ }, lbe = ({
41983
41983
  title: e,
41984
41984
  fontSize: t,
41985
41985
  barColor: n,
@@ -42017,28 +42017,28 @@ const _me = "_container_1pfsp_1", Mme = "_title_1pfsp_8", Z$ = {
42017
42017
  cancelText: p = "Annuler"
42018
42018
  }) => {
42019
42019
  const [u, y] = B({}), m = G(null), [g, k] = B(!1), [_, M] = B(!1), v = G(null);
42020
- if (E(() => {
42020
+ if (O(() => {
42021
42021
  if (!e) return;
42022
42022
  const x = {};
42023
- for (const w of i)
42024
- x[w.name] = Object.prototype.hasOwnProperty.call(c, w.name) ? c[w.name] : "";
42023
+ for (const b of i)
42024
+ x[b.name] = Object.prototype.hasOwnProperty.call(c, b.name) ? c[b.name] : "";
42025
42025
  return y(x), requestAnimationFrame(() => {
42026
42026
  m.current?.focus();
42027
- const w = m.current;
42028
- if (w && typeof w.selectionStart == "number") {
42029
- const $ = String(w.value ?? "").length;
42030
- w.setSelectionRange($, $);
42027
+ const b = m.current;
42028
+ if (b && typeof b.selectionStart == "number") {
42029
+ const $ = String(b.value ?? "").length;
42030
+ b.setSelectionRange($, $);
42031
42031
  }
42032
42032
  }), () => {
42033
42033
  v.current && (window.clearTimeout(v.current), v.current = null);
42034
42034
  };
42035
- }, [e]), E(() => {
42035
+ }, [e]), O(() => {
42036
42036
  s && e ? (M(!0), v.current && (window.clearTimeout(v.current), v.current = null), v.current = window.setTimeout(() => {
42037
42037
  M(!1), v.current = null;
42038
42038
  }, 3e3)) : (M(!1), v.current && (window.clearTimeout(v.current), v.current = null));
42039
42039
  }, [s, e]), !e) return null;
42040
- const b = (x, w) => {
42041
- y(($) => ({ ...$, [x]: w })), l && l(x, w);
42040
+ const w = (x, b) => {
42041
+ y(($) => ({ ...$, [x]: b })), l && l(x, b);
42042
42042
  }, L = async () => {
42043
42043
  if (!Object.values(u).some((x) => x === "" || x === void 0))
42044
42044
  try {
@@ -42064,21 +42064,21 @@ const _me = "_container_1pfsp_1", Mme = "_title_1pfsp_8", Z$ = {
42064
42064
  "aria-modal": "true",
42065
42065
  children: /* @__PURE__ */ f("div", { className: kt.modalContainer, onMouseDown: I, onClick: I, children: [
42066
42066
  /* @__PURE__ */ r("h2", { className: kt.modalTitle, children: o }),
42067
- i.map((x, w) => {
42068
- const $ = u[x.name] ?? "", C = w === 0 && !!s, S = {
42067
+ i.map((x, b) => {
42068
+ const $ = u[x.name] ?? "", C = b === 0 && !!s, S = {
42069
42069
  name: x.name,
42070
42070
  placeholder: x.placeholder || x.label,
42071
42071
  value: String($),
42072
- onChange: (q) => b(x.name, q.target.value),
42072
+ onChange: (q) => w(x.name, q.target.value),
42073
42073
  className: x.type === "textarea" ? `${kt.modalTextarea} ${C ? kt.inputError : ""}` : `${kt.modalInput} ${C ? kt.inputError : ""}`,
42074
42074
  tabIndex: 0,
42075
42075
  disabled: g
42076
42076
  };
42077
- return w === 0 && (S.ref = (q) => {
42077
+ return b === 0 && (S.ref = (q) => {
42078
42078
  m.current = q;
42079
42079
  }), /* @__PURE__ */ f("div", { style: { marginBottom: 8 }, children: [
42080
42080
  x.type === "textarea" ? /* @__PURE__ */ r("textarea", { rows: x.rows || 4, ...S }) : /* @__PURE__ */ r("input", { type: x.type || "text", ...S }),
42081
- w === 0 && _ && s && /* @__PURE__ */ r("div", { style: { marginTop: 8 }, children: /* @__PURE__ */ r(
42081
+ b === 0 && _ && s && /* @__PURE__ */ r("div", { style: { marginTop: 8 }, children: /* @__PURE__ */ r(
42082
42082
  yz,
42083
42083
  {
42084
42084
  text: s,
@@ -42115,7 +42115,7 @@ const _me = "_container_1pfsp_1", Mme = "_title_1pfsp_8", Z$ = {
42115
42115
  ] })
42116
42116
  }
42117
42117
  );
42118
- }, lbe = ({
42118
+ }, hbe = ({
42119
42119
  title: e,
42120
42120
  keyCount: t,
42121
42121
  onAddKey: n,
@@ -42148,7 +42148,7 @@ const _me = "_container_1pfsp_1", Mme = "_title_1pfsp_8", Z$ = {
42148
42148
  }
42149
42149
  )
42150
42150
  ] });
42151
- }, hbe = ({
42151
+ }, pbe = ({
42152
42152
  modules: e,
42153
42153
  onEdit: t,
42154
42154
  onDelete: n,
@@ -42159,7 +42159,7 @@ const _me = "_container_1pfsp_1", Mme = "_title_1pfsp_8", Z$ = {
42159
42159
  }) => {
42160
42160
  const [d, l] = B(!1), [h, p] = B(null), [u, y] = B(null), [m, g] = B(!1), k = () => l(!0), _ = () => l(!1), M = (x) => {
42161
42161
  if (o) {
42162
- const w = x.code?.trim() || x.id?.trim(), $ = x.title?.trim(), C = w || $ || String(Date.now()), S = $ || w || `Module ${C}`;
42162
+ const b = x.code?.trim() || x.id?.trim(), $ = x.title?.trim(), C = b || $ || String(Date.now()), S = $ || b || `Module ${C}`;
42163
42163
  o({
42164
42164
  id: C,
42165
42165
  title: S,
@@ -42168,21 +42168,21 @@ const _me = "_container_1pfsp_1", Mme = "_title_1pfsp_8", Z$ = {
42168
42168
  });
42169
42169
  }
42170
42170
  _();
42171
- }, v = (x, w) => {
42172
- x.stopPropagation(), p(w);
42173
- }, b = () => p(null), L = (x) => {
42171
+ }, v = (x, b) => {
42172
+ x.stopPropagation(), p(b);
42173
+ }, w = () => p(null), L = (x) => {
42174
42174
  if (!h) {
42175
- b();
42175
+ w();
42176
42176
  return;
42177
42177
  }
42178
- const w = {
42178
+ const b = {
42179
42179
  ...h,
42180
42180
  title: x.title || h.title,
42181
42181
  subtitle: ""
42182
42182
  };
42183
- t && t(w), b();
42184
- }, N = (x, w) => {
42185
- x.stopPropagation(), n && n(w);
42183
+ t && t(b), w();
42184
+ }, N = (x, b) => {
42185
+ x.stopPropagation(), n && n(b);
42186
42186
  }, I = (x) => {
42187
42187
  y(x.id), i && i(x);
42188
42188
  };
@@ -42200,7 +42200,7 @@ const _me = "_container_1pfsp_1", Mme = "_title_1pfsp_8", Z$ = {
42200
42200
  ] }),
42201
42201
  /* @__PURE__ */ r("hr", { className: "divider" }),
42202
42202
  /* @__PURE__ */ r("div", { className: "module-list", children: e.map((x) => {
42203
- const w = Object.keys(x.translations || {}).length, $ = w > 0 || x.id === u;
42203
+ const b = Object.keys(x.translations || {}).length, $ = b > 0 || x.id === u;
42204
42204
  return /* @__PURE__ */ f(
42205
42205
  "div",
42206
42206
  {
@@ -42219,7 +42219,7 @@ const _me = "_container_1pfsp_1", Mme = "_title_1pfsp_8", Z$ = {
42219
42219
  x.title,
42220
42220
  $ && /* @__PURE__ */ f("span", { className: "count", children: [
42221
42221
  " ",
42222
- w,
42222
+ b,
42223
42223
  " "
42224
42224
  ] })
42225
42225
  ] }),
@@ -42255,7 +42255,7 @@ const _me = "_container_1pfsp_1", Mme = "_title_1pfsp_8", Z$ = {
42255
42255
  fi,
42256
42256
  {
42257
42257
  isOpen: !!h,
42258
- onClose: b,
42258
+ onClose: w,
42259
42259
  onSave: L,
42260
42260
  title: "Éditer le module",
42261
42261
  initialValues: { title: h.title },
@@ -42290,7 +42290,7 @@ const _me = "_container_1pfsp_1", Mme = "_title_1pfsp_8", Z$ = {
42290
42290
  )
42291
42291
  ]
42292
42292
  }
42293
- ), pbe = ({
42293
+ ), ube = ({
42294
42294
  keyName: e,
42295
42295
  translations: t,
42296
42296
  availableLanguages: n,
@@ -42302,8 +42302,8 @@ const _me = "_container_1pfsp_1", Mme = "_title_1pfsp_8", Z$ = {
42302
42302
  draggable: l = !1,
42303
42303
  checkDuplicateLocal: h
42304
42304
  }) => {
42305
- const [p, u] = B(!1), [y, m] = B(""), [g, k] = B(null), [_, M] = B(""), [v, b] = B(""), [L, N] = B(!1), [I, x] = B(!1), [w, $] = B(null), [C, S] = B(!1), q = t.map((H) => H.language), z = n.filter((H) => !q.includes(H.code)), D = () => {
42306
- y && v.trim() && (d?.(e, y, v.trim()), m(""), b(""), u(!1));
42305
+ const [p, u] = B(!1), [y, m] = B(""), [g, k] = B(null), [_, M] = B(""), [v, w] = B(""), [L, N] = B(!1), [I, x] = B(!1), [b, $] = B(null), [C, S] = B(!1), q = t.map((H) => H.language), z = n.filter((H) => !q.includes(H.code)), D = () => {
42306
+ y && v.trim() && (d?.(e, y, v.trim()), m(""), w(""), u(!1));
42307
42307
  }, T = (H, W) => {
42308
42308
  k(H), M(W);
42309
42309
  }, P = (H) => {
@@ -42452,11 +42452,11 @@ const _me = "_container_1pfsp_1", Mme = "_title_1pfsp_8", Z$ = {
42452
42452
  {
42453
42453
  type: "text",
42454
42454
  value: v,
42455
- onChange: (H) => b(H.target.value),
42455
+ onChange: (H) => w(H.target.value),
42456
42456
  placeholder: "Entrez la traduction...",
42457
42457
  className: "translation-input",
42458
42458
  onKeyDown: (H) => {
42459
- H.key === "Enter" && D(), H.key === "Escape" && (u(!1), m(""), b(""));
42459
+ H.key === "Enter" && D(), H.key === "Escape" && (u(!1), m(""), w(""));
42460
42460
  }
42461
42461
  }
42462
42462
  ),
@@ -42473,7 +42473,7 @@ const _me = "_container_1pfsp_1", Mme = "_title_1pfsp_8", Z$ = {
42473
42473
  "button",
42474
42474
  {
42475
42475
  onClick: () => {
42476
- u(!1), m(""), b("");
42476
+ u(!1), m(""), w("");
42477
42477
  },
42478
42478
  className: "cancel-button",
42479
42479
  children: /* @__PURE__ */ r(pt, { className: "action-icon" })
@@ -42509,7 +42509,7 @@ const _me = "_container_1pfsp_1", Mme = "_title_1pfsp_8", Z$ = {
42509
42509
  title: "Renommer la clé",
42510
42510
  initialValues: { name: e },
42511
42511
  fields: [{ name: "name", label: "Nom de la clé", placeholder: "Nom de la clé" }],
42512
- errorMessage: w || "",
42512
+ errorMessage: b || "",
42513
42513
  disableSave: C
42514
42514
  }
42515
42515
  )
@@ -42532,15 +42532,15 @@ const _me = "_container_1pfsp_1", Mme = "_title_1pfsp_8", Z$ = {
42532
42532
  searchInput: Ume,
42533
42533
  searchIcon: Wme
42534
42534
  };
42535
- function ube({ onDateChange: e, onSearch: t, initialDate: n }) {
42535
+ function ybe({ onDateChange: e, onSearch: t, initialDate: n }) {
42536
42536
  const [o, i] = B(!1), [c, s] = B(n ?? ""), d = G(null);
42537
- E(() => {
42537
+ O(() => {
42538
42538
  function u(y) {
42539
42539
  const m = y.target;
42540
42540
  d.current && m && !d.current.contains(m) && i(!1);
42541
42541
  }
42542
42542
  return document.addEventListener("mousedown", u), () => document.removeEventListener("mousedown", u);
42543
- }, []), E(() => {
42543
+ }, []), O(() => {
42544
42544
  n && s(n);
42545
42545
  }, [n]);
42546
42546
  const l = () => i((u) => !u), h = (u) => {
@@ -42632,7 +42632,7 @@ function ube({ onDateChange: e, onSearch: t, initialDate: n }) {
42632
42632
  ] }) })
42633
42633
  ] });
42634
42634
  }
42635
- const ybe = ({
42635
+ const kbe = ({
42636
42636
  className: e = "",
42637
42637
  style: t = {},
42638
42638
  title: n,
@@ -42648,7 +42648,7 @@ const ybe = ({
42648
42648
  emptyContent: y,
42649
42649
  colGap: m = "1rem"
42650
42650
  }) => {
42651
- const g = Array.isArray(c) ? c : [], k = g.length === 0, _ = g.every((L) => typeof L == "string"), M = g.some((L) => Array.isArray(L)), v = (L, N, I) => d ? d(L, N, I) : /* @__PURE__ */ r("span", { className: "slb-cell-text", children: L }), b = m ? { "--col-gap": m } : void 0;
42651
+ const g = Array.isArray(c) ? c : [], k = g.length === 0, _ = g.every((L) => typeof L == "string"), M = g.some((L) => Array.isArray(L)), v = (L, N, I) => d ? d(L, N, I) : /* @__PURE__ */ r("span", { className: "slb-cell-text", children: L }), w = m ? { "--col-gap": m } : void 0;
42652
42652
  return k ? /* @__PURE__ */ f("div", { className: `slb-root ${e}`, style: { ...t, background: l ?? void 0 }, children: [
42653
42653
  n && /* @__PURE__ */ r(
42654
42654
  "div",
@@ -42690,10 +42690,10 @@ const ybe = ({
42690
42690
  children: n
42691
42691
  }
42692
42692
  ),
42693
- /* @__PURE__ */ r("div", { className: "slb-grid", style: b, children: g.map((L, N) => {
42693
+ /* @__PURE__ */ r("div", { className: "slb-grid", style: w, children: g.map((L, N) => {
42694
42694
  const I = s[N] || "";
42695
42695
  if (Array.isArray(L)) {
42696
- const [x, w] = L;
42696
+ const [x, b] = L;
42697
42697
  return /* @__PURE__ */ f(
42698
42698
  "div",
42699
42699
  {
@@ -42701,7 +42701,7 @@ const ybe = ({
42701
42701
  style: { background: u ?? void 0 },
42702
42702
  children: [
42703
42703
  /* @__PURE__ */ r("div", { className: "slb-grid-left", children: v(x, N, 0) }),
42704
- /* @__PURE__ */ r("div", { className: "slb-grid-right", children: v(w, N, 1) })
42704
+ /* @__PURE__ */ r("div", { className: "slb-grid-right", children: v(b, N, 1) })
42705
42705
  ]
42706
42706
  },
42707
42707
  N
@@ -42721,7 +42721,7 @@ const ybe = ({
42721
42721
  );
42722
42722
  }) })
42723
42723
  ] });
42724
- }, kbe = ({
42724
+ }, mbe = ({
42725
42725
  className: e = "",
42726
42726
  style: t = {},
42727
42727
  title: n,
@@ -42741,7 +42741,7 @@ const ybe = ({
42741
42741
  /* @__PURE__ */ r("div", { className: "clb-grid", style: m, children: i.map((g, k) => {
42742
42742
  const _ = p[k] || "";
42743
42743
  if (Array.isArray(g)) {
42744
- const [M, v] = g, b = s[k] || c;
42744
+ const [M, v] = g, w = s[k] || c;
42745
42745
  return /* @__PURE__ */ f(
42746
42746
  "div",
42747
42747
  {
@@ -42753,7 +42753,7 @@ const ybe = ({
42753
42753
  {
42754
42754
  className: "counter-badge",
42755
42755
  style: {
42756
- background: b,
42756
+ background: w,
42757
42757
  padding: d,
42758
42758
  width: l,
42759
42759
  minWidth: l
@@ -42789,7 +42789,7 @@ const ybe = ({
42789
42789
  );
42790
42790
  }) })
42791
42791
  ] });
42792
- }, mbe = ({
42792
+ }, fbe = ({
42793
42793
  className: e = "",
42794
42794
  style: t = {},
42795
42795
  title: n,
@@ -42842,12 +42842,12 @@ const ybe = ({
42842
42842
  );
42843
42843
  }) })
42844
42844
  ] });
42845
- }, fbe = ({
42845
+ }, gbe = ({
42846
42846
  className: e = "",
42847
42847
  style: t = {},
42848
42848
  children: n,
42849
42849
  gap: o = "1rem"
42850
- }) => /* @__PURE__ */ r("div", { className: `frc-root ${e}`, style: { ...t, "--frc-gap": o }, children: ce.Children.map(n, (i) => /* @__PURE__ */ r("div", { className: "frc-item", children: i })) }), gbe = ({
42850
+ }) => /* @__PURE__ */ r("div", { className: `frc-root ${e}`, style: { ...t, "--frc-gap": o }, children: ce.Children.map(n, (i) => /* @__PURE__ */ r("div", { className: "frc-item", children: i })) }), vbe = ({
42851
42851
  className: e = "",
42852
42852
  style: t = {},
42853
42853
  children: n,
@@ -42877,7 +42877,7 @@ const ybe = ({
42877
42877
  warning: a6e,
42878
42878
  danger: n6e,
42879
42879
  info: o6e
42880
- }, vbe = ({
42880
+ }, _be = ({
42881
42881
  isOpen: e,
42882
42882
  title: t,
42883
42883
  message: n,
@@ -42912,7 +42912,7 @@ const ybe = ({
42912
42912
  ] })
42913
42913
  }
42914
42914
  );
42915
- }, _be = () => {
42915
+ }, Mbe = () => {
42916
42916
  const [e, t] = B({
42917
42917
  isOpen: !1,
42918
42918
  title: "",
@@ -42979,7 +42979,7 @@ const ybe = ({
42979
42979
  width64: H6e,
42980
42980
  width80: D6e,
42981
42981
  width96: B6e
42982
- }, br = 4, X$ = 8, Mbe = ({
42982
+ }, br = 4, X$ = 8, xbe = ({
42983
42983
  options: e,
42984
42984
  value: t,
42985
42985
  onChange: n,
@@ -42993,35 +42993,35 @@ const ybe = ({
42993
42993
  width: p = "w-full",
42994
42994
  dropdownPosition: u = "auto"
42995
42995
  }) => {
42996
- const [y, m] = B(!1), [g, k] = B(""), [_, M] = B(0), [v, b] = B({ top: 0, left: 0, width: 0 }), [L, N] = B("bottom"), [I, x] = B(null), w = G(null), $ = G(null), C = G(null), S = we(() => g ? e.filter(
42996
+ const [y, m] = B(!1), [g, k] = B(""), [_, M] = B(0), [v, w] = B({ top: 0, left: 0, width: 0 }), [L, N] = B("bottom"), [I, x] = B(null), b = G(null), $ = G(null), C = G(null), S = we(() => g ? e.filter(
42997
42997
  (U) => U.label.toLowerCase().includes(g.toLowerCase())
42998
42998
  ) : e, [e, g]), q = e.find((U) => U.value === t), z = de(() => {
42999
- if (w.current) {
43000
- const U = w.current.getBoundingClientRect();
43001
- b({
42999
+ if (b.current) {
43000
+ const U = b.current.getBoundingClientRect();
43001
+ w({
43002
43002
  top: U.top,
43003
43003
  left: U.left,
43004
43004
  width: U.width
43005
43005
  });
43006
43006
  }
43007
43007
  }, []), D = de(() => {
43008
- if (!w.current) return;
43009
- const U = w.current.getBoundingClientRect(), K = U.top - br - X$, he = window.innerHeight - U.bottom - br - X$;
43008
+ if (!b.current) return;
43009
+ const U = b.current.getBoundingClientRect(), K = U.top - br - X$, he = window.innerHeight - U.bottom - br - X$;
43010
43010
  let le;
43011
43011
  u !== "auto" ? le = u : le = ($.current?.scrollHeight ?? 0) <= he ? "bottom" : K > he ? "top" : "bottom", N((Ie) => Ie === le ? Ie : le), x(Math.max(le === "bottom" ? he : K, 0));
43012
43012
  }, [u]), T = de(() => {
43013
43013
  z(), D();
43014
43014
  }, [z, D]);
43015
- E(() => (y && (T(), window.addEventListener("scroll", T, !0), window.addEventListener("resize", T)), () => {
43015
+ O(() => (y && (T(), window.addEventListener("scroll", T, !0), window.addEventListener("resize", T)), () => {
43016
43016
  window.removeEventListener("scroll", T, !0), window.removeEventListener("resize", T);
43017
43017
  }), [y, T]), NC(() => {
43018
43018
  y && D();
43019
- }, [y, D]), E(() => {
43019
+ }, [y, D]), O(() => {
43020
43020
  const U = (K) => {
43021
- w.current && !w.current.contains(K.target) && $.current && !$.current.contains(K.target) && (m(!1), k(""));
43021
+ b.current && !b.current.contains(K.target) && $.current && !$.current.contains(K.target) && (m(!1), k(""));
43022
43022
  };
43023
43023
  return document.addEventListener("mousedown", U), () => document.removeEventListener("mousedown", U);
43024
- }, []), E(() => {
43024
+ }, []), O(() => {
43025
43025
  M(0);
43026
43026
  }, [S]);
43027
43027
  const P = (U) => {
@@ -43072,7 +43072,7 @@ const ybe = ({
43072
43072
  U.disabled ? me.optionDisabled : ""
43073
43073
  ].filter(Boolean).join(" "), ae = {
43074
43074
  position: "fixed",
43075
- top: L === "bottom" ? v.top + (w.current?.offsetHeight || 0) + br : "auto",
43075
+ top: L === "bottom" ? v.top + (b.current?.offsetHeight || 0) + br : "auto",
43076
43076
  bottom: L === "top" ? window.innerHeight - v.top + br : "auto",
43077
43077
  left: v.left,
43078
43078
  width: v.width,
@@ -43083,7 +43083,7 @@ const ybe = ({
43083
43083
  /* @__PURE__ */ r(
43084
43084
  "button",
43085
43085
  {
43086
- ref: w,
43086
+ ref: b,
43087
43087
  className: F(),
43088
43088
  onClick: () => !i && m(!y),
43089
43089
  onKeyDown: V,
@@ -43195,7 +43195,7 @@ const ybe = ({
43195
43195
  subValue: O6e,
43196
43196
  subValueWrapper: U6e,
43197
43197
  subSeparator: W6e
43198
- }, xbe = ({
43198
+ }, bbe = ({
43199
43199
  dms: e,
43200
43200
  stats: t = [],
43201
43201
  itemWidth: n = "120px",
@@ -43282,7 +43282,7 @@ function ofe() {
43282
43282
  /* @__PURE__ */ r("path", { d: "M8 12h8", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round" })
43283
43283
  ] });
43284
43284
  }
43285
- function bbe(e) {
43285
+ function wbe(e) {
43286
43286
  const {
43287
43287
  title: t,
43288
43288
  titleColor: n,
@@ -43302,7 +43302,7 @@ function bbe(e) {
43302
43302
  gap: _,
43303
43303
  className: M,
43304
43304
  ariaLabel: v
43305
- } = e, b = c ? $t[c] : void 0, L = {
43305
+ } = e, w = c ? $t[c] : void 0, L = {
43306
43306
  background: g,
43307
43307
  width: R1(k),
43308
43308
  ...m
@@ -43317,7 +43317,7 @@ function bbe(e) {
43317
43317
  "aria-label": v ?? t,
43318
43318
  children: [
43319
43319
  /* @__PURE__ */ f("div", { className: _t.header, children: [
43320
- /* @__PURE__ */ r("div", { className: _t.iconWrap, "aria-hidden": !0, style: I, children: b ? /* @__PURE__ */ r(b, { size: typeof s == "number" ? s : void 0 }) : /* @__PURE__ */ r(ofe, {}) }),
43320
+ /* @__PURE__ */ r("div", { className: _t.iconWrap, "aria-hidden": !0, style: I, children: w ? /* @__PURE__ */ r(w, { size: typeof s == "number" ? s : void 0 }) : /* @__PURE__ */ r(ofe, {}) }),
43321
43321
  /* @__PURE__ */ r("div", { className: _t.title, style: N, children: t })
43322
43322
  ] }),
43323
43323
  /* @__PURE__ */ r(
@@ -43326,7 +43326,7 @@ function bbe(e) {
43326
43326
  className: `${_t.items} ${_ === void 0 ? _t.spaceEvenly : ""}`,
43327
43327
  role: "list",
43328
43328
  style: _ !== void 0 ? { gap: `${_}px` } : {},
43329
- children: y.map((x, w) => {
43329
+ children: y.map((x, b) => {
43330
43330
  const { valueStyle: $, labelStyle: C } = nfe(x, {
43331
43331
  defaultValueFontSize: l,
43332
43332
  defaultValueFontWeight: h,
@@ -43347,7 +43347,7 @@ function bbe(e) {
43347
43347
  x.label && /* @__PURE__ */ r("div", { className: _t.label, style: C, children: x.label })
43348
43348
  ] })
43349
43349
  },
43350
- `${String(x.label ?? x.value)}-${w}`
43350
+ `${String(x.label ?? x.value)}-${b}`
43351
43351
  );
43352
43352
  })
43353
43353
  }
@@ -43356,7 +43356,7 @@ function bbe(e) {
43356
43356
  }
43357
43357
  );
43358
43358
  }
43359
- const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M480-360 280-559h400z" })), mz = Ve(ife), rfe = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "m280-400 200-201 200 201z" })), cfe = Ve(rfe), sfe = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 16 16", ...e }, /* @__PURE__ */ J.createElement("path", { fill: "#0087BD", d: "M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm3.983-3.55q.1 0 .192-.033a.36.36 0 0 0 .158-.117l4.117-4.133q.15-.15.15-.35a.54.54 0 0 0-.15-.367.52.52 0 0 0-.358-.133.5.5 0 0 0-.359.15l-3.75 3.75L5.35 7.583a.48.48 0 0 0-.7 0q-.15.15-.15.367 0 .216.15.35l1.983 2a.48.48 0 0 0 .35.15" })), dfe = Ve(sfe), lfe = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 16 16", ...e }, /* @__PURE__ */ J.createElement("path", { fill: "#1E2122", d: "M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm0-1h10V3H3z" })), hfe = Ve(lfe), wbe = ({
43359
+ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M480-360 280-559h400z" })), mz = Ve(ife), rfe = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "m280-400 200-201 200 201z" })), cfe = Ve(rfe), sfe = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 16 16", ...e }, /* @__PURE__ */ J.createElement("path", { fill: "#0087BD", d: "M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm3.983-3.55q.1 0 .192-.033a.36.36 0 0 0 .158-.117l4.117-4.133q.15-.15.15-.35a.54.54 0 0 0-.15-.367.52.52 0 0 0-.358-.133.5.5 0 0 0-.359.15l-3.75 3.75L5.35 7.583a.48.48 0 0 0-.7 0q-.15.15-.15.367 0 .216.15.35l1.983 2a.48.48 0 0 0 .35.15" })), dfe = Ve(sfe), lfe = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 16 16", ...e }, /* @__PURE__ */ J.createElement("path", { fill: "#1E2122", d: "M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm0-1h10V3H3z" })), hfe = Ve(lfe), Lbe = ({
43360
43360
  items: e,
43361
43361
  onSave: t,
43362
43362
  loading: n,
@@ -43376,9 +43376,9 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43376
43376
  a11yConfig: p
43377
43377
  }) => {
43378
43378
  const [u, y] = B(!1), [m, g] = B(e), [k, _] = B(!1);
43379
- if (E(() => {
43379
+ if (O(() => {
43380
43380
  _(!0);
43381
- }, []), E(() => {
43381
+ }, []), O(() => {
43382
43382
  g(e);
43383
43383
  }, [e]), !k) return null;
43384
43384
  const M = (L, N) => {
@@ -43387,7 +43387,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43387
43387
  );
43388
43388
  }, v = () => {
43389
43389
  t(m), y(!1);
43390
- }, b = te(p, s);
43390
+ }, w = te(p, s);
43391
43391
  return /* @__PURE__ */ f("div", { style: { position: "relative", display: "inline-block", ...h }, children: [
43392
43392
  /* @__PURE__ */ f(
43393
43393
  "div",
@@ -43402,7 +43402,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43402
43402
  borderRadius: 4,
43403
43403
  transition: "background 0.2s"
43404
43404
  },
43405
- title: b,
43405
+ title: w,
43406
43406
  children: [
43407
43407
  /* @__PURE__ */ r(
43408
43408
  Mq,
@@ -43589,12 +43589,12 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43589
43589
  titleFontWeight: _,
43590
43590
  valueFontSize: M,
43591
43591
  valueFontWeight: v,
43592
- barColor: b,
43592
+ barColor: w,
43593
43593
  justifyContent: L = "space-between",
43594
43594
  alignItems: N = "flex-start",
43595
43595
  cardGap: I = "",
43596
43596
  onClick: x,
43597
- iconColor: w,
43597
+ iconColor: b,
43598
43598
  titleKey: $,
43599
43599
  predictionValue: C,
43600
43600
  predictionLabel: S
@@ -43612,7 +43612,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43612
43612
  onClick: x,
43613
43613
  style: l !== void 0 ? { ...P, "--ds-value-scale": l } : P,
43614
43614
  children: [
43615
- b && /* @__PURE__ */ r("div", { className: We.sideBar, style: { backgroundColor: b } }),
43615
+ w && /* @__PURE__ */ r("div", { className: We.sideBar, style: { backgroundColor: w } }),
43616
43616
  /* @__PURE__ */ f("div", { className: We.boardContent, style: { padding: D, gap: I }, children: [
43617
43617
  /* @__PURE__ */ f(
43618
43618
  "div",
@@ -43620,7 +43620,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43620
43620
  className: We.headerRow,
43621
43621
  style: { justifyContent: L, alignItems: N },
43622
43622
  children: [
43623
- t && /* @__PURE__ */ r("div", { className: We.iconWrapper, style: { color: w }, children: t }),
43623
+ t && /* @__PURE__ */ r("div", { className: We.iconWrapper, style: { color: b }, children: t }),
43624
43624
  /* @__PURE__ */ r("div", { className: `${We.headerTitle} header-title-data-board`, children: /* @__PURE__ */ r(
43625
43625
  "span",
43626
43626
  {
@@ -43800,7 +43800,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43800
43800
  h.id ?? `${h.label}-${p}`
43801
43801
  )) })
43802
43802
  ] });
43803
- }, Lbe = ({
43803
+ }, Cbe = ({
43804
43804
  items: e,
43805
43805
  footerLabel: t,
43806
43806
  width: n,
@@ -43873,7 +43873,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43873
43873
  titleKey: _.titleKey,
43874
43874
  onClick: (v) => m?.(1, v)
43875
43875
  },
43876
- right: M.map((v, b) => ({
43876
+ right: M.map((v, w) => ({
43877
43877
  a11yConfig: v.a11yConfig,
43878
43878
  id: v.id,
43879
43879
  label: v.label,
@@ -43889,7 +43889,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43889
43889
  valueFontSize: v.valueFontSize ?? p,
43890
43890
  valueFontWeight: v.valueFontWeight ?? u,
43891
43891
  titleKey: v.titleKey,
43892
- onClick: (L) => m?.(2 + b, L)
43892
+ onClick: (L) => m?.(2 + w, L)
43893
43893
  }))
43894
43894
  }
43895
43895
  ) : _ && M.length === 0 ? /* @__PURE__ */ r(
@@ -43949,7 +43949,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43949
43949
  }
43950
43950
  )
43951
43951
  }
43952
- ) }) }), Cbe = ({
43952
+ ) }) }), Nbe = ({
43953
43953
  data: e,
43954
43954
  height: t = 360,
43955
43955
  barColor: n = "#0284C7",
@@ -43962,93 +43962,133 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43962
43962
  fontWeight: h = "400",
43963
43963
  domain: p,
43964
43964
  xAxisLabel: u,
43965
- margin: y = { top: 20, right: 60, bottom: 40, left: 0 },
43966
- valueFormatter: m,
43967
- tickFormatter: g,
43968
- labelDataKey: k = "percentage",
43969
- isAnimationActive: _ = !0
43965
+ yAxisLabel: y,
43966
+ margin: m = { top: 20, right: 60, bottom: 40, left: 0 },
43967
+ valueFormatter: g,
43968
+ tickFormatter: k,
43969
+ labelDataKey: _ = "percentage",
43970
+ isAnimationActive: M = !0
43970
43971
  }) => {
43971
- const M = (y.top ?? 20) + (y.bottom ?? 40) + e.length * (s + 20), v = Math.max(M, t), b = ce.useMemo(() => {
43972
+ const v = (m.top ?? 20) + (m.bottom ?? 40) + e.length * (s + 20), w = Math.max(v, t), L = ce.useMemo(() => {
43972
43973
  if (!e || e.length === 0) return d;
43973
- const w = (parseFloat(l) || 12) * 0.7, C = Math.max(...e.map((S) => (S.label || "").length)) * w + 16;
43974
- return Math.min(Math.max(C, 40), d);
43975
- }, [e, l, d]);
43976
- return /* @__PURE__ */ r("div", { style: { backgroundColor: i, width: "100%" }, children: /* @__PURE__ */ r(yq, { width: "100%", height: v, children: /* @__PURE__ */ f(mV, { data: e, layout: "vertical", margin: y, children: [
43977
- /* @__PURE__ */ r(fV, { opacity: 0.4, stroke: "#E5E7EB", vertical: !1, horizontal: !0 }),
43978
- /* @__PURE__ */ r(
43979
- gV,
43980
- {
43981
- type: "number",
43982
- domain: p || [0, "auto"],
43983
- axisLine: !1,
43984
- tickLine: !1,
43985
- fontSize: l,
43986
- fontWeight: h,
43987
- stroke: c,
43988
- tickFormatter: (x) => g ? g(x) : x?.toString() || "",
43989
- label: u ? {
43990
- value: u,
43991
- position: "insideBottom",
43992
- offset: -10,
43993
- style: {
43994
- textAnchor: "middle",
43995
- fill: c,
43996
- fontSize: 12,
43997
- fontWeight: "500"
43998
- }
43999
- } : void 0
44000
- }
44001
- ),
44002
- /* @__PURE__ */ r(
44003
- vV,
44004
- {
44005
- type: "category",
44006
- dataKey: "label",
44007
- stroke: c,
44008
- axisLine: !1,
44009
- tickLine: !1,
44010
- width: b,
44011
- interval: 0,
44012
- fontSize: l,
44013
- fontWeight: h,
44014
- tick: /* @__PURE__ */ r(
44015
- s8e,
43974
+ const $ = (parseFloat(l) || 12) * 0.7, S = Math.max(...e.map((q) => (q.label || "").length)) * $ + 16;
43975
+ return Math.min(Math.max(S, 40), d);
43976
+ }, [e, l, d]), N = (b) => k ? k(b) : b?.toString() || "", I = (b) => g && _ === "value" ? g(b) : b == null || b === "" ? "" : _ === "percentage" ? `${b}%` : b.toString(), x = (b, $, C) => {
43977
+ if (typeof b != "number") return b;
43978
+ const S = g ? g(b) : b.toString(), q = C?.payload?.percentage;
43979
+ return typeof q == "number" && Number.isFinite(q) && _ === "percentage" ? `${S} (${q.toFixed(1)}%)` : S;
43980
+ };
43981
+ return /* @__PURE__ */ f(
43982
+ "div",
43983
+ {
43984
+ style: {
43985
+ backgroundColor: i,
43986
+ width: "100%",
43987
+ height: w,
43988
+ position: "relative"
43989
+ },
43990
+ children: [
43991
+ y && /* @__PURE__ */ r(
43992
+ "div",
44016
43993
  {
44017
- fontSize: l,
44018
- fontWeight: h,
44019
- stroke: c
43994
+ style: {
43995
+ position: "absolute",
43996
+ left: 18,
43997
+ top: "50%",
43998
+ transform: "translate(-50%, -50%) rotate(-90deg)",
43999
+ whiteSpace: "nowrap",
44000
+ color: c,
44001
+ fontSize: 12,
44002
+ fontWeight: 500,
44003
+ pointerEvents: "none",
44004
+ zIndex: 1
44005
+ },
44006
+ children: y
44020
44007
  }
44021
- )
44022
- }
44023
- ),
44024
- o && /* @__PURE__ */ r(_V, { formatter: (x, w, $) => {
44025
- if (typeof x != "number") return x;
44026
- const C = m ? m(x) : x.toString(), S = $?.payload?.percentage;
44027
- return typeof S == "number" && Number.isFinite(S) && k === "percentage" ? `${C} (${S.toFixed(1)}%)` : C;
44028
- }, labelStyle: { color: "var(--color-text)" } }),
44029
- /* @__PURE__ */ r(
44030
- MV,
44031
- {
44032
- dataKey: "value",
44033
- fill: n,
44034
- radius: 0,
44035
- barSize: s,
44036
- isAnimationActive: _,
44037
- children: /* @__PURE__ */ r(
44038
- xV,
44008
+ ),
44009
+ /* @__PURE__ */ r(yq, { width: "100%", height: w, children: /* @__PURE__ */ f(
44010
+ mV,
44039
44011
  {
44040
- dataKey: k,
44041
- position: "right",
44042
- offset: 10,
44043
- formatter: (x) => m && k === "value" ? m(x) : x == null || x === "" ? "" : k === "percentage" ? `${x}%` : x.toString(),
44044
- fill: c,
44045
- fontSize: l,
44046
- fontWeight: h
44012
+ data: e,
44013
+ layout: "vertical",
44014
+ margin: { ...m, left: y ? Math.max(m.left ?? 0, 40) : m.left },
44015
+ children: [
44016
+ /* @__PURE__ */ r(fV, { opacity: 0.4, stroke: "#E5E7EB", vertical: !1, horizontal: !0 }),
44017
+ /* @__PURE__ */ r(
44018
+ gV,
44019
+ {
44020
+ type: "number",
44021
+ domain: p || [0, "auto"],
44022
+ axisLine: !1,
44023
+ tickLine: !1,
44024
+ fontSize: l,
44025
+ fontWeight: h,
44026
+ stroke: c,
44027
+ tickFormatter: N,
44028
+ label: u ? {
44029
+ value: u,
44030
+ position: "insideBottom",
44031
+ offset: -10,
44032
+ style: {
44033
+ textAnchor: "middle",
44034
+ fill: c,
44035
+ fontSize: 12,
44036
+ fontWeight: "500"
44037
+ }
44038
+ } : void 0
44039
+ }
44040
+ ),
44041
+ /* @__PURE__ */ r(
44042
+ vV,
44043
+ {
44044
+ type: "category",
44045
+ dataKey: "label",
44046
+ stroke: c,
44047
+ axisLine: !1,
44048
+ tickLine: !1,
44049
+ width: L,
44050
+ interval: 0,
44051
+ fontSize: l,
44052
+ fontWeight: h,
44053
+ tick: /* @__PURE__ */ r(
44054
+ s8e,
44055
+ {
44056
+ fontSize: l,
44057
+ fontWeight: h,
44058
+ stroke: c
44059
+ }
44060
+ )
44061
+ }
44062
+ ),
44063
+ o && /* @__PURE__ */ r(_V, { formatter: x, labelStyle: { color: "var(--color-text)" } }),
44064
+ /* @__PURE__ */ r(
44065
+ MV,
44066
+ {
44067
+ dataKey: "value",
44068
+ fill: n,
44069
+ radius: 0,
44070
+ barSize: s,
44071
+ isAnimationActive: M,
44072
+ children: /* @__PURE__ */ r(
44073
+ xV,
44074
+ {
44075
+ dataKey: _,
44076
+ position: "right",
44077
+ offset: 10,
44078
+ formatter: I,
44079
+ fill: c,
44080
+ fontSize: l,
44081
+ fontWeight: h
44082
+ }
44083
+ )
44084
+ }
44085
+ )
44086
+ ]
44047
44087
  }
44048
- )
44049
- }
44050
- )
44051
- ] }) }) });
44088
+ ) })
44089
+ ]
44090
+ }
44091
+ );
44052
44092
  }, d8e = "_menu_9anig_1", l8e = "_menuRow_9anig_18", h8e = "_separator_9anig_34", p8e = "_rowLabel_9anig_40", u8e = "_rowLeadingIcon_9anig_48", y8e = "_rowIcon_9anig_55", ni = {
44053
44093
  menu: d8e,
44054
44094
  menuRow: l8e,
@@ -44059,7 +44099,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44059
44099
  }, k8e = rr(
44060
44100
  function({ isVisible: t, onClose: n, items: o, style: i, position: c, bg: s }, d) {
44061
44101
  const l = G(null), h = d || l;
44062
- if (E(() => {
44102
+ if (O(() => {
44063
44103
  if (!t) return;
44064
44104
  const y = (m) => {
44065
44105
  h.current && !h.current.contains(m.target) && n?.();
@@ -44121,12 +44161,12 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44121
44161
  avatarColor: _ = "#5b8fb9",
44122
44162
  backgroundColorAvatar: M = "#f1f4f5",
44123
44163
  dropdownMenuItems: v,
44124
- dropdownMenuStyle: b,
44164
+ dropdownMenuStyle: w,
44125
44165
  dropdownMenuOffset: L,
44126
44166
  statusDotColor: N,
44127
44167
  a11yConfig: I,
44128
44168
  style: x,
44129
- className: w = ""
44169
+ className: b = ""
44130
44170
  }) => {
44131
44171
  const { user: $ } = Vt(), C = e || $, { currentTheme: S, switchTheme: q } = qC(), z = G(null), D = G(null), [T, P] = B(!1), [A, V] = B({}), F = we(() => {
44132
44172
  const ie = [], re = ({ variant: ge }) => ge === "sun" ? /* @__PURE__ */ r(
@@ -44208,7 +44248,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44208
44248
  }
44209
44249
  P((ie) => !ie);
44210
44250
  };
44211
- if (E(() => {
44251
+ if (O(() => {
44212
44252
  if (!T || !z.current) return;
44213
44253
  const ie = () => {
44214
44254
  const re = z.current.getBoundingClientRect(), ke = window.innerWidth, ge = window.innerHeight, Me = 200, Z = 200, ee = 4, ue = L?.x ?? 0, je = L?.y ?? 0, Le = ke - re.right >= Me + ee;
@@ -44223,7 +44263,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44223
44263
  return window.addEventListener("resize", ie), window.addEventListener("orientationchange", ie), () => {
44224
44264
  window.removeEventListener("resize", ie), window.removeEventListener("orientationchange", ie);
44225
44265
  };
44226
- }, [T, L]), E(() => {
44266
+ }, [T, L]), O(() => {
44227
44267
  if (!T || !z.current || !D.current) return;
44228
44268
  const ie = () => {
44229
44269
  const ke = z.current.getBoundingClientRect(), ge = D.current.getBoundingClientRect(), Me = L?.x ?? 0, Z = L?.y ?? 0;
@@ -44358,7 +44398,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44358
44398
  "div",
44359
44399
  {
44360
44400
  ref: z,
44361
- className: `user-info ${w}`,
44401
+ className: `user-info ${b}`,
44362
44402
  style: {
44363
44403
  display: "flex",
44364
44404
  alignItems: "center",
@@ -44387,7 +44427,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44387
44427
  isVisible: T,
44388
44428
  onClose: () => P(!1),
44389
44429
  items: H,
44390
- style: b,
44430
+ style: w,
44391
44431
  position: A
44392
44432
  }
44393
44433
  )
@@ -44416,7 +44456,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44416
44456
  borderWidth: _ = "4px",
44417
44457
  iconGap: M = "12px",
44418
44458
  disabled: v = !1,
44419
- disabledColor: b,
44459
+ disabledColor: w,
44420
44460
  a11yConfig: L
44421
44461
  }) => {
44422
44462
  const N = () => {
@@ -44444,12 +44484,12 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44444
44484
  return `rgba(${C[0]}, ${C[1]}, ${C[2]}, 0.08)`;
44445
44485
  }
44446
44486
  return u;
44447
- }, w = {
44487
+ }, b = {
44448
44488
  onClick: N,
44449
44489
  className: `${Ii.navItem} ${i ? Ii.active : ""} ${d} ${v ? Ii.disabled : ""}`,
44450
44490
  style: {
44451
44491
  padding: k,
44452
- color: i ? p : v ? b || "#999" : h,
44492
+ color: i ? p : v ? w || "#999" : h,
44453
44493
  borderLeft: i ? `${_} solid ${l}` : `${_} solid transparent`,
44454
44494
  backgroundColor: x(),
44455
44495
  fontSize: y,
@@ -44460,10 +44500,10 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44460
44500
  },
44461
44501
  "aria-disabled": v
44462
44502
  };
44463
- return o && !n && !v ? /* @__PURE__ */ r("a", { href: o, ...w, title: te(L, t), children: I }) : /* @__PURE__ */ r(
44503
+ return o && !n && !v ? /* @__PURE__ */ r("a", { href: o, ...b, title: te(L, t), children: I }) : /* @__PURE__ */ r(
44464
44504
  "div",
44465
44505
  {
44466
- ...w,
44506
+ ...b,
44467
44507
  role: n ? "button" : void 0,
44468
44508
  tabIndex: n && !v ? 0 : void 0,
44469
44509
  title: te(L, t),
@@ -44482,7 +44522,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44482
44522
  sectionItems: I8e,
44483
44523
  bottomSection: S8e,
44484
44524
  versionContainer: $8e
44485
- }, Nbe = ({
44525
+ }, Ibe = ({
44486
44526
  logoProps: e,
44487
44527
  logoSpacing: t,
44488
44528
  navItems: n,
@@ -44503,13 +44543,13 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44503
44543
  navItemFontWeight: _ = "500",
44504
44544
  navItemColor: M,
44505
44545
  sectionTitlePadding: v = "16px",
44506
- sectionTitleFontSize: b = "11px",
44546
+ sectionTitleFontSize: w = "11px",
44507
44547
  sectionTitleColor: L = "#999",
44508
44548
  sectionTitleWeight: N = "500",
44509
44549
  versionFontSize: I = "12px",
44510
44550
  versionFontWeight: x = "400",
44511
44551
  // Add default value
44512
- versionColor: w = "#999",
44552
+ versionColor: b = "#999",
44513
44553
  userInfoProps: $,
44514
44554
  style: C,
44515
44555
  className: S = "",
@@ -44573,7 +44613,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44573
44613
  className: dt.sectionTitle,
44574
44614
  title: te(le.a11yConfig, le.titleKey),
44575
44615
  style: {
44576
- fontSize: b,
44616
+ fontSize: w,
44577
44617
  color: L,
44578
44618
  padding: v,
44579
44619
  fontWeight: N,
@@ -44616,7 +44656,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44616
44656
  style: {
44617
44657
  fontSize: I,
44618
44658
  fontWeight: x,
44619
- color: w
44659
+ color: b
44620
44660
  },
44621
44661
  children: h
44622
44662
  }
@@ -44631,7 +44671,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44631
44671
  title: z8e,
44632
44672
  inlineToggleContainer: V8e,
44633
44673
  rightContentContainer: P8e
44634
- }, Ibe = ({
44674
+ }, Sbe = ({
44635
44675
  className: e = "",
44636
44676
  style: t,
44637
44677
  fontSize: n = "20px",
@@ -44650,8 +44690,8 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44650
44690
  rightContent: k,
44651
44691
  inlineToggle: _
44652
44692
  }) => {
44653
- const { activeNav: M } = Vt(), v = y.find((L) => L.id === M) || m?.find((L) => L.id === M), b = v ? g(v.label) : M || "";
44654
- return b ? /* @__PURE__ */ f(
44693
+ const { activeNav: M } = Vt(), v = y.find((L) => L.id === M) || m?.find((L) => L.id === M), w = v ? g(v.label) : M || "";
44694
+ return w ? /* @__PURE__ */ f(
44655
44695
  "div",
44656
44696
  {
44657
44697
  className: `${Si.container} ${e}`,
@@ -44676,7 +44716,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44676
44716
  fontWeight: o,
44677
44717
  color: i
44678
44718
  },
44679
- children: b
44719
+ children: w
44680
44720
  }
44681
44721
  ),
44682
44722
  _ && /* @__PURE__ */ r("div", { className: Si.inlineToggleContainer, children: _ })
@@ -44712,12 +44752,12 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44712
44752
  countFontWeight: _ = "500",
44713
44753
  indicatorColor: M = "#00aec7",
44714
44754
  indicatorHeight: v = "3px",
44715
- padding: b = "8px 4px",
44755
+ padding: w = "8px 4px",
44716
44756
  fontSize: L = "14px",
44717
44757
  fontWeight: N = "500",
44718
44758
  gap: I = "8px",
44719
44759
  style: x,
44720
- className: w = "",
44760
+ className: b = "",
44721
44761
  disabled: $ = !1,
44722
44762
  onNavigate: C
44723
44763
  }) => {
@@ -44727,12 +44767,12 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44727
44767
  return /* @__PURE__ */ f(
44728
44768
  "div",
44729
44769
  {
44730
- className: `${$i.navItem} ${w}`,
44770
+ className: `${$i.navItem} ${b}`,
44731
44771
  onClick: S,
44732
44772
  title: te(e, c),
44733
44773
  style: {
44734
44774
  gap: I,
44735
- padding: b,
44775
+ padding: w,
44736
44776
  color: n ? l : h,
44737
44777
  backgroundColor: n ? p : "transparent",
44738
44778
  fontSize: L,
@@ -44800,16 +44840,16 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44800
44840
  itemDividerColor: _ = "var(--color-border)",
44801
44841
  iconColor: M = "#555555",
44802
44842
  activeIconColor: v = "var(--color-primary)",
44803
- headerIconColor: b = "var(--color-text)",
44843
+ headerIconColor: w = "var(--color-text)",
44804
44844
  chevronColor: L = "var(--color-text)",
44805
44845
  iconSize: N = 22,
44806
44846
  headerPadding: I = "14px 20px",
44807
44847
  itemPadding: x = "14px 20px",
44808
- iconGap: w = 14,
44848
+ iconGap: b = 14,
44809
44849
  borderRadius: $ = 0
44810
44850
  }) => {
44811
44851
  const [C, S] = B(""), q = G(null);
44812
- E(() => {
44852
+ O(() => {
44813
44853
  const D = (T) => {
44814
44854
  q.current && !q.current.contains(T.target) && S("");
44815
44855
  };
@@ -44833,7 +44873,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44833
44873
  color: l,
44834
44874
  padding: I,
44835
44875
  borderBottom: `1px solid ${h}`,
44836
- gap: w
44876
+ gap: b
44837
44877
  }, A = {
44838
44878
  backgroundColor: p
44839
44879
  };
@@ -44847,12 +44887,12 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44847
44887
  role: "button",
44848
44888
  "aria-expanded": T,
44849
44889
  children: [
44850
- /* @__PURE__ */ f("div", { className: Nt.groupHeaderLeft, style: { gap: w }, children: [
44890
+ /* @__PURE__ */ f("div", { className: Nt.groupHeaderLeft, style: { gap: b }, children: [
44851
44891
  D.icon && /* @__PURE__ */ r(
44852
44892
  "span",
44853
44893
  {
44854
44894
  className: Nt.groupIcon,
44855
- style: { color: b, width: N, height: N },
44895
+ style: { color: w, width: N, height: N },
44856
44896
  children: D.icon
44857
44897
  }
44858
44898
  ),
@@ -44872,7 +44912,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44872
44912
  T && /* @__PURE__ */ r("div", { className: Nt.dropdown, style: A, children: D.items.map((V) => {
44873
44913
  const F = V.id === t, H = {
44874
44914
  padding: x,
44875
- gap: w,
44915
+ gap: b,
44876
44916
  color: F ? g : m,
44877
44917
  backgroundColor: u,
44878
44918
  /* Custom variables for the pseudo-element border */
@@ -44918,7 +44958,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44918
44958
  subheaderContent: Q8e,
44919
44959
  navContainer: ege,
44920
44960
  rightContent: tge
44921
- }, Sbe = ({
44961
+ }, $be = ({
44922
44962
  subNavItems: e,
44923
44963
  backgroundColor: t = "transparent",
44924
44964
  // Default transparent assuming wrapper handles bg, or user can set
@@ -44940,12 +44980,12 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44940
44980
  showDraggable: _ = !1,
44941
44981
  showLegend: M = !1,
44942
44982
  showData: v = !1,
44943
- className: b = "",
44983
+ className: w = "",
44944
44984
  style: L,
44945
44985
  countBackgroundColor: N,
44946
44986
  countColor: I,
44947
44987
  countBorderRadius: x,
44948
- countPadding: w,
44988
+ countPadding: b,
44949
44989
  countFontSize: $,
44950
44990
  countFontWeight: C,
44951
44991
  navContainerClassName: S,
@@ -44972,7 +45012,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44972
45012
  }))
44973
45013
  }
44974
45014
  ];
44975
- return /* @__PURE__ */ r("div", { className: b, style: L, children: /* @__PURE__ */ r(
45015
+ return /* @__PURE__ */ r("div", { className: w, style: L, children: /* @__PURE__ */ r(
44976
45016
  J8e,
44977
45017
  {
44978
45018
  groups: he,
@@ -44988,7 +45028,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44988
45028
  return /* @__PURE__ */ f(
44989
45029
  "div",
44990
45030
  {
44991
- className: `${JL.subheaderContent} ${b}`,
45031
+ className: `${JL.subheaderContent} ${w}`,
44992
45032
  style: {
44993
45033
  backgroundColor: t,
44994
45034
  padding: n,
@@ -45022,7 +45062,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45022
45062
  countBackgroundColor: N,
45023
45063
  countColor: I,
45024
45064
  countBorderRadius: x,
45025
- countPadding: w,
45065
+ countPadding: b,
45026
45066
  countFontSize: $,
45027
45067
  countFontWeight: C,
45028
45068
  indicatorColor: m,
@@ -45087,7 +45127,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45087
45127
  ]
45088
45128
  }
45089
45129
  );
45090
- }, $be = ({
45130
+ }, qbe = ({
45091
45131
  onSwitch: e,
45092
45132
  size: t = "20px",
45093
45133
  lightIconColor: n = "#666",
@@ -45294,17 +45334,17 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45294
45334
  }, M = we(() => {
45295
45335
  if (y <= 6)
45296
45336
  return Array.from({ length: y }, (q, z) => z + 1);
45297
- const I = Math.max(m - 1, 1), x = Math.min(m + 1, y), w = I > 2, $ = x < y - 2, C = 1, S = y;
45298
- if (!w && $)
45337
+ const I = Math.max(m - 1, 1), x = Math.min(m + 1, y), b = I > 2, $ = x < y - 2, C = 1, S = y;
45338
+ if (!b && $)
45299
45339
  return [...Array.from({ length: 5 }, (D, T) => T + 1), "...", y];
45300
- if (w && !$) {
45340
+ if (b && !$) {
45301
45341
  const z = Array.from(
45302
45342
  { length: 5 },
45303
45343
  (D, T) => y - 5 + T + 1
45304
45344
  );
45305
45345
  return [C, "...", ...z];
45306
45346
  }
45307
- if (w && $) {
45347
+ if (b && $) {
45308
45348
  const q = Array.from(
45309
45349
  { length: x - I + 1 },
45310
45350
  (z, D) => I + D
@@ -45312,7 +45352,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45312
45352
  return [C, "...", ...q, "...", S];
45313
45353
  }
45314
45354
  return [];
45315
- }, [m, y]), v = !!(d && d.length > 0), b = !o && h !== -1 && y > 1 && /* @__PURE__ */ f("div", { className: "pagination-controls", children: [
45355
+ }, [m, y]), v = !!(d && d.length > 0), w = !o && h !== -1 && y > 1 && /* @__PURE__ */ f("div", { className: "pagination-controls", children: [
45316
45356
  /* @__PURE__ */ r(
45317
45357
  "button",
45318
45358
  {
@@ -45378,7 +45418,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45378
45418
  c?.items || "éléments"
45379
45419
  ] }) }) : /* @__PURE__ */ r("span", { children: c?.noResults || "0 résultats" }) }),
45380
45420
  v ? /* @__PURE__ */ f(qe, { children: [
45381
- /* @__PURE__ */ r("div", { className: "pagination-center", children: b }),
45421
+ /* @__PURE__ */ r("div", { className: "pagination-center", children: w }),
45382
45422
  /* @__PURE__ */ f("div", { className: "pagination-pagesize", children: [
45383
45423
  /* @__PURE__ */ r("label", { htmlFor: "table-pagination-pagesize", children: c?.perPage || "Par page" }),
45384
45424
  /* @__PURE__ */ r(
@@ -45393,7 +45433,7 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45393
45433
  ] })
45394
45434
  ] }) : /* @__PURE__ */ f(qe, { children: [
45395
45435
  /* @__PURE__ */ r("div", { className: "pagination-spacer" }),
45396
- b
45436
+ w
45397
45437
  ] }),
45398
45438
  !o && n && i && /* @__PURE__ */ r("div", { className: "pagination-load-more", children: /* @__PURE__ */ r(
45399
45439
  "button",
@@ -45434,12 +45474,12 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45434
45474
  className: _,
45435
45475
  style: M,
45436
45476
  rowStyle: v,
45437
- onRowClick: b,
45477
+ onRowClick: w,
45438
45478
  rowClassName: L,
45439
45479
  titleKey: N,
45440
45480
  removeLabelSpan: I = !1,
45441
45481
  a11yConfig: x,
45442
- renderSeparator: w,
45482
+ renderSeparator: b,
45443
45483
  pageSizeOptions: $
45444
45484
  }) => {
45445
45485
  const C = ce.useMemo(
@@ -45515,12 +45555,12 @@ const ife = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45515
45555
  render: A.render ? (V) => A.render(V, {}) : void 0
45516
45556
  })),
45517
45557
  rowKey: s,
45518
- onRowClick: b,
45558
+ onRowClick: w,
45519
45559
  isLoading: n,
45520
45560
  text: C,
45521
45561
  rowStyle: typeof v == "function" ? v : v ? () => v : void 0,
45522
45562
  rowClassName: L,
45523
- renderSeparator: w
45563
+ renderSeparator: b
45524
45564
  }
45525
45565
  )
45526
45566
  ] }),
@@ -45552,7 +45592,7 @@ function gz(e, t, n, o, i, c, s) {
45552
45592
  c.set(l, { level: i, hasChildren: p, isExpanded: u }), s.push(d), p && u && gz(h, t, n, o, i + 1, c, s);
45553
45593
  });
45554
45594
  }
45555
- const qbe = ({
45595
+ const Abe = ({
45556
45596
  data: e,
45557
45597
  columns: t,
45558
45598
  rowKey: n,
@@ -45574,7 +45614,7 @@ const qbe = ({
45574
45614
  ), M = s !== void 0, v = ce.useMemo(
45575
45615
  () => M ? new Set(s) : k,
45576
45616
  [M, s, k]
45577
- ), b = (C) => {
45617
+ ), w = (C) => {
45578
45618
  const S = new Set(v);
45579
45619
  S.has(C) ? S.delete(C) : S.add(C), M ? d?.(Array.from(S)) : _(S);
45580
45620
  }, L = ce.useMemo(() => {
@@ -45590,7 +45630,7 @@ const qbe = ({
45590
45630
  return C + (Number.isFinite(q) ? q : 140);
45591
45631
  }, 0),
45592
45632
  [t]
45593
- ), w = ce.useMemo(
45633
+ ), b = ce.useMemo(
45594
45634
  () => t.map((C) => C.key !== i ? C : {
45595
45635
  ...C,
45596
45636
  render: (S) => {
@@ -45606,7 +45646,7 @@ const qbe = ({
45606
45646
  type: "button",
45607
45647
  className: "htl-toggle",
45608
45648
  onClick: (A) => {
45609
- A.stopPropagation(), b(q);
45649
+ A.stopPropagation(), w(q);
45610
45650
  },
45611
45651
  children: /* @__PURE__ */ r(
45612
45652
  mz,
@@ -45652,7 +45692,7 @@ const qbe = ({
45652
45692
  {
45653
45693
  ...g,
45654
45694
  data: N,
45655
- columns: w,
45695
+ columns: b,
45656
45696
  rowKey: n,
45657
45697
  rowClassName: $,
45658
45698
  pagination: p ?? { page: 1, pageSize: N.length || 1, total: N.length },
@@ -45739,12 +45779,12 @@ const qbe = ({
45739
45779
  itemPadding: _ = "0.5rem 0.75rem",
45740
45780
  fontWeight: M = "400",
45741
45781
  buttonBgColor: v,
45742
- buttonBorderColor: b,
45782
+ buttonBorderColor: w,
45743
45783
  buttonTextColor: L,
45744
45784
  dropdownBgColor: N = "var(--color-card-background, #ffffff)",
45745
45785
  itemHoverColor: I,
45746
45786
  selectedItemBgColor: x,
45747
- iconColor: w,
45787
+ iconColor: b,
45748
45788
  errorColor: $,
45749
45789
  labelColor: C,
45750
45790
  placeholderColor: S,
@@ -45804,7 +45844,7 @@ const qbe = ({
45804
45844
  }
45805
45845
  return null;
45806
45846
  }, [ot, Yt] = B(!1), [wi, zz] = B({ top: 0, left: 0, width: 0 }), [mN, Vz] = B("bottom"), [fN, Pz] = B(null), [fe, Li] = B(Ht(e) || /* @__PURE__ */ new Date()), [Ci, Wb] = B(Ht(e)), [hr, Gb] = B(Ht(e)?.getHours() ?? 0), [pr, Kb] = B(Ht(e)?.getMinutes() ?? 0), [Zb, Y1] = B(!1), [Xb, J1] = B(!1), Yb = G(null), Q1 = G(null), gN = G(null), Jb = G(null), Qb = G(null), vN = G(Ht(e)?.getTime());
45807
- E(() => {
45847
+ O(() => {
45808
45848
  const j = Ht(e), Y = j?.getTime();
45809
45849
  Y !== vN.current && (vN.current = Y, Wb(j), j && (Li(j), Gb(j.getHours()), Kb(j.getMinutes())));
45810
45850
  }, [e]);
@@ -45831,11 +45871,11 @@ const qbe = ({
45831
45871
  }, [Z, k]), ei = de(() => {
45832
45872
  _N(), ur();
45833
45873
  }, [_N, ur]);
45834
- E(() => (ot && (ei(), window.addEventListener("scroll", ei, !0), window.addEventListener("resize", ei)), () => {
45874
+ O(() => (ot && (ei(), window.addEventListener("scroll", ei, !0), window.addEventListener("resize", ei)), () => {
45835
45875
  window.removeEventListener("scroll", ei, !0), window.removeEventListener("resize", ei);
45836
45876
  }), [ot, ei]), NC(() => {
45837
45877
  ot && ur();
45838
- }, [ot, ur]), E(() => {
45878
+ }, [ot, ur]), O(() => {
45839
45879
  const j = (Y) => {
45840
45880
  if (Yb.current && !Yb.current.contains(Y.target)) {
45841
45881
  const Se = document.getElementById("datepicker-dropdown");
@@ -45919,7 +45959,7 @@ const qbe = ({
45919
45959
  padding: h,
45920
45960
  backgroundColor: v || "var(--color-card-background, #ffffff)",
45921
45961
  border: je ? void 0 : "none",
45922
- borderColor: d ? $ || "#dc3545" : b || "var(--color-border, #dee2e6)",
45962
+ borderColor: d ? $ || "#dc3545" : w || "var(--color-border, #dee2e6)",
45923
45963
  color: L || "var(--color-text, #212529)",
45924
45964
  borderRadius: q,
45925
45965
  borderWidth: z,
@@ -45958,7 +45998,7 @@ const qbe = ({
45958
45998
  }, LN = {
45959
45999
  width: y,
45960
46000
  height: y,
45961
- color: w || "var(--color-text, #6c757d)",
46001
+ color: b || "var(--color-text, #6c757d)",
45962
46002
  "--icon-rotation": $z && ot ? "rotate(180deg)" : "rotate(0deg)"
45963
46003
  }, aV = {
45964
46004
  color: C || "var(--color-text, #212529)",
@@ -45972,7 +46012,7 @@ const qbe = ({
45972
46012
  }, iV = Hz(), yt = Ht(e), CN = (j) => `${j.getDate().toString().padStart(2, "0")}/${(j.getMonth() + 1).toString().padStart(2, "0")}/${j.getFullYear()}`, NN = yt ? Le === "minutes" ? `${CN(yt)} ${yt.getHours().toString().padStart(2, "0")}:${yt.getMinutes().toString().padStart(2, "0")}` : CN(yt) : "", IN = !!ke && (ge === "icon" || ge === "auto" && !yt), rV = qz && !IN && !!yt && !s, cV = {
45973
46013
  width: "0.875rem",
45974
46014
  height: "0.875rem",
45975
- color: w || "var(--color-text, #6c757d)"
46015
+ color: b || "var(--color-text, #6c757d)"
45976
46016
  }, sV = Me || (yt ? `${Sz}${NN}` : Iz);
45977
46017
  return /* @__PURE__ */ f(
45978
46018
  "div",
@@ -46349,13 +46389,13 @@ const qbe = ({
46349
46389
  errorMarginTop: _ = "var(--select-error-margin-top, 0.25rem)",
46350
46390
  dropdownMarginTop: M = "var(--select-dropdown-margin-top, 0.25rem)",
46351
46391
  itemPadding: v = "var(--select-item-padding, 0.5rem 0.75rem)",
46352
- gap: b = "var(--select-gap, 0.5rem)",
46392
+ gap: w = "var(--select-gap, 0.5rem)",
46353
46393
  // Couleurs
46354
46394
  buttonBgColor: L,
46355
46395
  buttonBorderColor: N,
46356
46396
  buttonTextColor: I,
46357
46397
  dropdownBgColor: x,
46358
- itemHoverColor: w,
46398
+ itemHoverColor: b,
46359
46399
  selectedItemBgColor: $,
46360
46400
  iconColor: C,
46361
46401
  errorColor: S,
@@ -46382,7 +46422,7 @@ const qbe = ({
46382
46422
  titleKey: ie
46383
46423
  }) => {
46384
46424
  const [re, ke] = B(!1), ge = G(null), Me = e.find((Ae) => Ae.value === t);
46385
- E(() => {
46425
+ O(() => {
46386
46426
  const Ae = (Tt) => {
46387
46427
  ge.current && !ge.current.contains(Tt.target) && ke(!1);
46388
46428
  };
@@ -46453,7 +46493,7 @@ const qbe = ({
46453
46493
  transition: `background-color ${V} ${F}`,
46454
46494
  fontWeight: m
46455
46495
  }, Pe = {
46456
- gap: b
46496
+ gap: w
46457
46497
  }, Ub = {
46458
46498
  "--scrollbar-width": H,
46459
46499
  "--scrollbar-track-color": W,
@@ -46532,10 +46572,10 @@ const qbe = ({
46532
46572
  backgroundColor: t === Ae.value ? $ || "#F0F4F6" : "transparent"
46533
46573
  },
46534
46574
  onMouseEnter: (Tt) => {
46535
- w && (Tt.currentTarget.style.backgroundColor = w);
46575
+ b && (Tt.currentTarget.style.backgroundColor = b);
46536
46576
  },
46537
46577
  onMouseLeave: (Tt) => {
46538
- w && (Tt.currentTarget.style.backgroundColor = t === Ae.value ? $ || "#F0F4F6" : "transparent");
46578
+ b && (Tt.currentTarget.style.backgroundColor = t === Ae.value ? $ || "#F0F4F6" : "transparent");
46539
46579
  },
46540
46580
  role: "option",
46541
46581
  "aria-selected": t === Ae.value,
@@ -46554,7 +46594,7 @@ const qbe = ({
46554
46594
  }, x7e = "_filterBar_1hlqe_3", b7e = "_label_1hlqe_11", Q$ = {
46555
46595
  filterBar: x7e,
46556
46596
  label: b7e
46557
- }, Abe = ({
46597
+ }, zbe = ({
46558
46598
  label: e = "Filtres",
46559
46599
  startDate: t,
46560
46600
  endDate: n,
@@ -46574,12 +46614,12 @@ const qbe = ({
46574
46614
  labelColor: _ = "#212529",
46575
46615
  labelMarginRight: M = "1rem",
46576
46616
  startDateWidth: v,
46577
- endDateWidth: b,
46617
+ endDateWidth: w,
46578
46618
  selectWidth: L,
46579
46619
  datePickerProps: N = {},
46580
46620
  selectProps: I = {},
46581
46621
  rightContent: x,
46582
- extraContent: w
46622
+ extraContent: b
46583
46623
  }) => {
46584
46624
  const $ = {
46585
46625
  fontSize: g,
@@ -46613,7 +46653,7 @@ const qbe = ({
46613
46653
  fullWidth: !1,
46614
46654
  disabled: y,
46615
46655
  label: void 0,
46616
- width: b,
46656
+ width: w,
46617
46657
  ...N
46618
46658
  }
46619
46659
  ),
@@ -46631,7 +46671,7 @@ const qbe = ({
46631
46671
  ...I
46632
46672
  }
46633
46673
  ),
46634
- w,
46674
+ b,
46635
46675
  x && /* @__PURE__ */ r("div", { style: { marginLeft: "auto" }, children: x })
46636
46676
  ] });
46637
46677
  }, w7e = "_container_1x6mq_16", L7e = "_disabled_1x6mq_26", C7e = "_predStyle_1x6mq_32", N7e = "_realStyle_1x6mq_36", I7e = "_predGap_1x6mq_40", S7e = "_realGap_1x6mq_44", $7e = "_big_1x6mq_49", q7e = "_medium_1x6mq_53", A7e = "_iconWrapper_1x6mq_58", z7e = "_predRelative_1x6mq_68", V7e = "_realRelative_1x6mq_72", P7e = "_iconImg_1x6mq_76", T7e = "_content_1x6mq_84", H7e = "_header_1x6mq_93", D7e = "_predJustify_1x6mq_99", B7e = "_realJustify_1x6mq_103", j7e = "_predHeaderLineHeight_1x6mq_116", R7e = "_realHeaderLineHeight_1x6mq_120", F7e = "_title_1x6mq_129", E7e = "_titleBlack_1x6mq_144", O7e = "_titleWhite_1x6mq_148", U7e = "_subtitle_1x6mq_153", W7e = "_valueRowHorizontal_1x6mq_163", G7e = "_valueRowVertical_1x6mq_171", K7e = "_singleValue_1x6mq_180", Z7e = "_primaryRow_1x6mq_184", X7e = "_maxBadge_1x6mq_191", Y7e = "_valuePrimary_1x6mq_203", J7e = "_valuePrimaryBlack_1x6mq_210", Q7e = "_valuePrimaryWhite_1x6mq_214", eve = "_valueSlash_1x6mq_219", tve = "_valueSecondary_1x6mq_226", ave = "_valueSecondaryBlue_1x6mq_232", nve = "_valueSecondaryWhite_1x6mq_236", ove = "_valueSecondaryBlack_1x6mq_240", ive = "_valueStacked_1x6mq_245", rve = "_stackedTop_1x6mq_254", cve = "_stackedBottom_1x6mq_255", ve = {
@@ -46673,7 +46713,7 @@ const qbe = ({
46673
46713
  valueStacked: ive,
46674
46714
  stackedTop: rve,
46675
46715
  stackedBottom: cve
46676
- }, zbe = ({
46716
+ }, Vbe = ({
46677
46717
  a11yConfig: e,
46678
46718
  iconName: t,
46679
46719
  title: n,
@@ -46693,12 +46733,12 @@ const qbe = ({
46693
46733
  titleFontSize: _,
46694
46734
  titleFontWeight: M,
46695
46735
  subtitleFontSize: v,
46696
- subtitleFontWeight: b,
46736
+ subtitleFontWeight: w,
46697
46737
  primaryFontSize: L,
46698
46738
  primaryFontWeight: N,
46699
46739
  secondaryFontSize: I,
46700
46740
  secondaryFontWeight: x,
46701
- backgroundColor: w = "#f2f9fc",
46741
+ backgroundColor: b = "#f2f9fc",
46702
46742
  gap: $ = "",
46703
46743
  disabled: C = !1,
46704
46744
  positionRelative: S = "",
@@ -46717,7 +46757,7 @@ const qbe = ({
46717
46757
  realisedA11yKey: K
46718
46758
  }) => {
46719
46759
  const he = i !== void 0 ? i : !!o, le = `${ve.container} ${ve[d]} ${ve[m]} ${C ? ve.disabled : ""}`, Ie = h === "white" ? ve.valuePrimaryWhite : ve.valuePrimaryBlack, pe = h === "blue" ? ve.valueSecondaryBlue : h === "white" ? ve.valueSecondaryWhite : ve.valueSecondaryBlack, ie = (Z) => Z === void 0 ? void 0 : typeof Z == "number" ? `${Z}px` : Z, re = (Z) => Z === void 0 ? void 0 : Z, ke = g === "vertical", ge = s != null && s !== "" && s !== "-" && s !== "—", Me = ke ? ve.valueRowVertical : ve.valueRowHorizontal;
46720
- return /* @__PURE__ */ f("div", { className: `${le} ${y}`, style: { backgroundColor: w }, children: [
46760
+ return /* @__PURE__ */ f("div", { className: `${le} ${y}`, style: { backgroundColor: b }, children: [
46721
46761
  t && /* @__PURE__ */ r("div", { className: `${ve.iconWrapper} ${ve[S]}`, children: t }),
46722
46762
  /* @__PURE__ */ f(
46723
46763
  "div",
@@ -46751,7 +46791,7 @@ const qbe = ({
46751
46791
  className: ve.subtitle,
46752
46792
  style: {
46753
46793
  fontSize: ie(v),
46754
- fontWeight: re(b)
46794
+ fontWeight: re(w)
46755
46795
  },
46756
46796
  title: te(e, A, V),
46757
46797
  children: o
@@ -46835,7 +46875,7 @@ const qbe = ({
46835
46875
  maskType: "alpha"
46836
46876
  } }, /* @__PURE__ */ J.createElement("path", { fill: "#D9D9D9", d: "M0 0h20v20H0z" })), /* @__PURE__ */ J.createElement("g", { mask: "url(#a)" }, /* @__PURE__ */ J.createElement("path", { fill: "#1C1B1F", d: "M9.25 17v-1.5h-1.5V14h1.5v-1.583a4.24 4.24 0 0 1-2.51-1.46 4.06 4.06 0 0 1-.99-2.707q0-1.774 1.24-3.012T10 4t3.01 1.238 1.24 3.012q0 1.539-.99 2.707a4.24 4.24 0 0 1-2.51 1.46v1.579h1.5V15.5h-1.5V17zm2.698-6.807a2.66 2.66 0 0 0 .802-1.948q0-1.14-.807-1.943A2.66 2.66 0 0 0 9.995 5.5a2.64 2.64 0 0 0-1.943.807 2.66 2.66 0 0 0-.802 1.948q0 1.14.807 1.943a2.66 2.66 0 0 0 1.948.802q1.14 0 1.943-.807" }))), wve = Ve(bve), Lve = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 20 20", ...e }, /* @__PURE__ */ J.createElement("mask", { id: "a", width: 20, height: 20, x: 0, y: 0, maskUnits: "userSpaceOnUse", style: {
46837
46877
  maskType: "alpha"
46838
- } }, /* @__PURE__ */ J.createElement("path", { fill: "#D9D9D9", d: "M0 0h20v20H0z" })), /* @__PURE__ */ J.createElement("g", { mask: "url(#a)" }, /* @__PURE__ */ J.createElement("path", { fill: "#1C1B1F", d: "M16 4v4.5h-1.5V6.563l-2.75 2.75q.366.545.558 1.157.192.614.192 1.271 0 1.781-1.235 3.02T8.255 16 5.24 14.765 4 11.755 5.236 8.74Q6.474 7.5 8.25 7.5q.667 0 1.281.177.615.178 1.156.573l2.75-2.75H11.5V4zM6.302 9.807a2.66 2.66 0 0 0-.802 1.948q0 1.14.807 1.943a2.66 2.66 0 0 0 1.948.802q1.14 0 1.943-.807A2.66 2.66 0 0 0 11 11.745q0-1.14-.807-1.943A2.66 2.66 0 0 0 8.245 9a2.64 2.64 0 0 0-1.943.807" }))), Cve = Ve(Lve), Vbe = ({
46878
+ } }, /* @__PURE__ */ J.createElement("path", { fill: "#D9D9D9", d: "M0 0h20v20H0z" })), /* @__PURE__ */ J.createElement("g", { mask: "url(#a)" }, /* @__PURE__ */ J.createElement("path", { fill: "#1C1B1F", d: "M16 4v4.5h-1.5V6.563l-2.75 2.75q.366.545.558 1.157.192.614.192 1.271 0 1.781-1.235 3.02T8.255 16 5.24 14.765 4 11.755 5.236 8.74Q6.474 7.5 8.25 7.5q.667 0 1.281.177.615.178 1.156.573l2.75-2.75H11.5V4zM6.302 9.807a2.66 2.66 0 0 0-.802 1.948q0 1.14.807 1.943a2.66 2.66 0 0 0 1.948.802q1.14 0 1.943-.807A2.66 2.66 0 0 0 11 11.745q0-1.14-.807-1.943A2.66 2.66 0 0 0 8.245 9a2.64 2.64 0 0 0-1.943.807" }))), Cve = Ve(Lve), Pbe = ({
46839
46879
  patient: e,
46840
46880
  genre: t,
46841
46881
  gravite: n,
@@ -46856,7 +46896,7 @@ const qbe = ({
46856
46896
  warnMessage: M,
46857
46897
  warnColor: v = "#F94134"
46858
46898
  }) => {
46859
- const b = (t ?? "").trim().toUpperCase();
46899
+ const w = (t ?? "").trim().toUpperCase();
46860
46900
  return /* @__PURE__ */ f("div", { className: Qe.banner, style: { backgroundColor: l, ...k }, children: [
46861
46901
  /* @__PURE__ */ f("div", { className: Qe.iep, children: [
46862
46902
  /* @__PURE__ */ r("div", { style: { color: p }, children: e.iep ?? "--" }),
@@ -46877,8 +46917,8 @@ const qbe = ({
46877
46917
  className: `${Qe.genre} genre-info-banner`,
46878
46918
  style: { color: "#ffffff", background: m, fontSize: g },
46879
46919
  role: "img",
46880
- "aria-label": b === "F" ? "Female" : b === "M" ? "Male" : t || "Unknown gender",
46881
- children: b === "F" ? /* @__PURE__ */ r(wve, { width: 20, height: 20, "aria-hidden": "true" }) : b === "M" ? /* @__PURE__ */ r(Cve, { width: 20, height: 20, "aria-hidden": "true" }) : t || "--"
46920
+ "aria-label": w === "F" ? "Female" : w === "M" ? "Male" : t || "Unknown gender",
46921
+ children: w === "F" ? /* @__PURE__ */ r(wve, { width: 20, height: 20, "aria-hidden": "true" }) : w === "M" ? /* @__PURE__ */ r(Cve, { width: 20, height: 20, "aria-hidden": "true" }) : t || "--"
46882
46922
  }
46883
46923
  ),
46884
46924
  /* @__PURE__ */ r("span", { className: `${Qe.gravite} gravite-info-banner`, children: n ?? "--" })
@@ -46941,7 +46981,7 @@ const qbe = ({
46941
46981
  baseButton: Ove,
46942
46982
  noOverlay: Uve,
46943
46983
  contained: Wve
46944
- }, Pbe = ({
46984
+ }, Tbe = ({
46945
46985
  headerText: e,
46946
46986
  headerTextColor: t = "var(--color-text)",
46947
46987
  backgroundColor: n = "var(--color-background)",
@@ -46961,12 +47001,12 @@ const qbe = ({
46961
47001
  onDelete: _,
46962
47002
  deleteLabel: M = "Supprimer",
46963
47003
  width: v = "75%",
46964
- maxWidth: b = "none",
47004
+ maxWidth: w = "none",
46965
47005
  height: L = "85%",
46966
47006
  maxHeight: N = "85%",
46967
47007
  borderRadius: I = "0.5rem",
46968
47008
  childrenPadding: x = "1rem",
46969
- overflow: w = "auto",
47009
+ overflow: b = "auto",
46970
47010
  contentHeaderAction: $,
46971
47011
  contentFooterAction: C,
46972
47012
  footerOverride: S,
@@ -46976,7 +47016,7 @@ const qbe = ({
46976
47016
  a11yConfig: T
46977
47017
  }) => {
46978
47018
  const [P, A] = B(!1), V = G(null);
46979
- if (E(() => {
47019
+ if (O(() => {
46980
47020
  if (!c || !z) return;
46981
47021
  const H = (W) => {
46982
47022
  (W.type === "scroll" || W.type === "wheel" || W.type === "touchmove" || V.current && !V.current.contains(W.target)) && s();
@@ -47011,11 +47051,11 @@ const qbe = ({
47011
47051
  onClick: (H) => H.stopPropagation(),
47012
47052
  style: {
47013
47053
  width: P ? "100%" : v,
47014
- maxWidth: P ? "none" : b,
47054
+ maxWidth: P ? "none" : w,
47015
47055
  height: P ? "100%" : L,
47016
47056
  maxHeight: P ? "100%" : N,
47017
47057
  borderRadius: P ? "0" : I,
47018
- overflow: w,
47058
+ overflow: b,
47019
47059
  ...D || {}
47020
47060
  },
47021
47061
  children: [
@@ -47045,19 +47085,19 @@ const qbe = ({
47045
47085
  /* @__PURE__ */ r("button", { onClick: s, className: Re.iconButton, title: "Fermer", children: /* @__PURE__ */ r(vz, { width: 22, height: 22, fill: t }) })
47046
47086
  ] })
47047
47087
  ] }),
47048
- /* @__PURE__ */ f("div", { className: Re.body, style: { overflow: w }, children: [
47088
+ /* @__PURE__ */ f("div", { className: Re.body, style: { overflow: b }, children: [
47049
47089
  y && !k && /* @__PURE__ */ r("aside", { className: Re.sidebar, children: y }),
47050
47090
  /* @__PURE__ */ f(
47051
47091
  "main",
47052
47092
  {
47053
47093
  className: Re.content,
47054
- style: { backgroundColor: u, overflow: w },
47094
+ style: { backgroundColor: u, overflow: b },
47055
47095
  children: [
47056
47096
  p && /* @__PURE__ */ f("header", { className: Re.contentHeader, style: { backgroundColor: n }, children: [
47057
47097
  /* @__PURE__ */ r("span", { style: { color: t }, children: p }),
47058
47098
  $
47059
47099
  ] }),
47060
- /* @__PURE__ */ r("div", { className: Re.childrenWrapper, style: { padding: x, overflow: w }, children: h })
47100
+ /* @__PURE__ */ r("div", { className: Re.childrenWrapper, style: { padding: x, overflow: b }, children: h })
47061
47101
  ]
47062
47102
  }
47063
47103
  )
@@ -47088,7 +47128,7 @@ const qbe = ({
47088
47128
  container: Gve,
47089
47129
  searchWrapper: Kve,
47090
47130
  navItems: Zve
47091
- }, Tbe = ({
47131
+ }, Hbe = ({
47092
47132
  items: e,
47093
47133
  activeId: t,
47094
47134
  activeColor: n = "#00aec7",
@@ -47135,7 +47175,7 @@ const qbe = ({
47135
47175
  )) })
47136
47176
  ]
47137
47177
  }
47138
- ), Hbe = ({
47178
+ ), Dbe = ({
47139
47179
  modules: e,
47140
47180
  selectedModuleId: t,
47141
47181
  onSelectModule: n,
@@ -47155,16 +47195,16 @@ const qbe = ({
47155
47195
  confirmText: _ = "Valider",
47156
47196
  cancelText: M = "Annuler",
47157
47197
  headerLabel: v,
47158
- headerLabelKey: b,
47198
+ headerLabelKey: w,
47159
47199
  showAddIcon: L = !0,
47160
47200
  showCount: N = !0,
47161
47201
  showToggle: I = !1,
47162
47202
  showActions: x = !0,
47163
- onToggle: w,
47203
+ onToggle: b,
47164
47204
  a11yConfig: $
47165
47205
  }) => {
47166
47206
  const [C, S] = B(!1), [q, z] = B(null), [D, T] = B(null), [P, A] = B(null), [V, F] = B(null), H = () => {
47167
- F((Z) => Z === null ? "asc" : Z === "asc" ? "desc" : null), w && w();
47207
+ F((Z) => Z === null ? "asc" : Z === "asc" ? "desc" : null), b && b();
47168
47208
  }, W = we(() => V ? [...e].sort((Z, ee) => {
47169
47209
  const ue = Z.title.toLowerCase(), je = ee.title.toLowerCase();
47170
47210
  return V === "asc" ? ue.localeCompare(je) : je.localeCompare(ue);
@@ -47194,7 +47234,7 @@ const qbe = ({
47194
47234
  return /* @__PURE__ */ f("div", { className: "module-sidebar-v2", children: [
47195
47235
  /* @__PURE__ */ r("div", { className: "sidebar-header", children: v ? /* @__PURE__ */ f(qe, { children: [
47196
47236
  /* @__PURE__ */ f("div", { className: "header-label-container", onClick: H, children: [
47197
- /* @__PURE__ */ r("div", { className: "header-label", title: te($, b), children: v }),
47237
+ /* @__PURE__ */ r("div", { className: "header-label", title: te($, w), children: v }),
47198
47238
  V === "asc" ? /* @__PURE__ */ r(hi, { size: 12, className: "header-toggle-icon", strokeWidth: 3 }) : /* @__PURE__ */ r(li, { size: 12, className: "header-toggle-icon", strokeWidth: 3 })
47199
47239
  ] }),
47200
47240
  L && /* @__PURE__ */ r(O1, { size: 18, className: "add-view-icon", onClick: ae })
@@ -47320,7 +47360,7 @@ const qbe = ({
47320
47360
  ] })
47321
47361
  ]
47322
47362
  }
47323
- ), Dbe = ({
47363
+ ), Bbe = ({
47324
47364
  modules: e,
47325
47365
  selectedModuleId: t,
47326
47366
  onSelectModule: n,
@@ -47341,10 +47381,10 @@ const qbe = ({
47341
47381
  hoverBackgroundColor: M,
47342
47382
  selectedBackgroundColor: v
47343
47383
  }) => {
47344
- const [b, L] = B(d ?? ""), N = G(null);
47345
- E(() => {
47384
+ const [w, L] = B(d ?? ""), N = G(null);
47385
+ O(() => {
47346
47386
  d !== void 0 && L(d);
47347
- }, [d]), E(() => () => {
47387
+ }, [d]), O(() => () => {
47348
47388
  N.current && clearTimeout(N.current);
47349
47389
  }, []);
47350
47390
  const I = ($) => {
@@ -47353,7 +47393,7 @@ const qbe = ({
47353
47393
  h?.(C);
47354
47394
  }, u);
47355
47395
  }, x = ($) => {
47356
- $.key === "Enter" && p?.(b);
47396
+ $.key === "Enter" && p?.(w);
47357
47397
  };
47358
47398
  return /* @__PURE__ */ f("div", { className: "searchable-module-sidebar", style: {
47359
47399
  "--smsb-border-color": _ ?? "var(--color-border, #efefef)",
@@ -47370,7 +47410,7 @@ const qbe = ({
47370
47410
  {
47371
47411
  type: "text",
47372
47412
  className: "search-input",
47373
- value: b,
47413
+ value: w,
47374
47414
  placeholder: l,
47375
47415
  onChange: I,
47376
47416
  onKeyDown: x
@@ -47388,7 +47428,7 @@ const qbe = ({
47388
47428
  $.id
47389
47429
  )) })
47390
47430
  ] });
47391
- }, Bbe = ({
47431
+ }, jbe = ({
47392
47432
  keyName: e,
47393
47433
  translations: t,
47394
47434
  availableLanguages: n,
@@ -47397,14 +47437,14 @@ const qbe = ({
47397
47437
  onDelete: c,
47398
47438
  a11yConfig: s
47399
47439
  }) => {
47400
- const [d, l] = B(!1), [h, p] = B(e), [u, y] = B(null), [m, g] = B(""), [k, _] = B(!1), [M, v] = B(""), [b, L] = B(""), N = ce.useMemo(() => {
47440
+ const [d, l] = B(!1), [h, p] = B(e), [u, y] = B(null), [m, g] = B(""), [k, _] = B(!1), [M, v] = B(""), [w, L] = B(""), N = ce.useMemo(() => {
47401
47441
  const P = {};
47402
47442
  return Array.isArray(t) && t.forEach((A) => {
47403
47443
  A && A.language && (P[A.language.toUpperCase()] = A.value);
47404
47444
  }), P;
47405
47445
  }, [t]), I = ce.useMemo(() => n, [n]), x = () => {
47406
47446
  l(!1), h !== e && h.trim() !== "" ? i && i(h.trim()) : p(e);
47407
- }, w = (P) => {
47447
+ }, b = (P) => {
47408
47448
  P.key === "Enter" ? x() : P.key === "Escape" && (p(e), l(!1));
47409
47449
  }, $ = (P) => {
47410
47450
  const A = P.toUpperCase();
@@ -47416,7 +47456,7 @@ const qbe = ({
47416
47456
  }, q = () => {
47417
47457
  _(!0), I.length > 0 && v(I[0].toUpperCase()), L("");
47418
47458
  }, z = () => {
47419
- M && b.trim() && (o(M, b.trim()), _(!1), v(""), L(""));
47459
+ M && w.trim() && (o(M, w.trim()), _(!1), v(""), L(""));
47420
47460
  }, D = () => {
47421
47461
  _(!1), v(""), L("");
47422
47462
  }, T = (P) => {
@@ -47431,7 +47471,7 @@ const qbe = ({
47431
47471
  value: h,
47432
47472
  onChange: (P) => p(P.target.value),
47433
47473
  onBlur: x,
47434
- onKeyDown: w,
47474
+ onKeyDown: b,
47435
47475
  autoFocus: !0
47436
47476
  }
47437
47477
  ) : /* @__PURE__ */ r("h3", { className: "header-title", title: te(s, e), children: e }),
@@ -47481,7 +47521,7 @@ const qbe = ({
47481
47521
  "input",
47482
47522
  {
47483
47523
  className: "translation-input editing",
47484
- value: b,
47524
+ value: w,
47485
47525
  onChange: (P) => L(P.target.value),
47486
47526
  onKeyDown: T,
47487
47527
  placeholder: "Mot",
@@ -47506,7 +47546,7 @@ const qbe = ({
47506
47546
  confirmButton: t9e,
47507
47547
  danger: a9e,
47508
47548
  cancelButton: n9e
47509
- }, jbe = ({
47549
+ }, Rbe = ({
47510
47550
  isOpen: e,
47511
47551
  message: t,
47512
47552
  children: n,
@@ -47526,7 +47566,7 @@ const qbe = ({
47526
47566
  overlayStyle: _,
47527
47567
  modalClassName: M,
47528
47568
  bodyClassName: v,
47529
- footerClassName: b,
47569
+ footerClassName: w,
47530
47570
  overlayClassName: L
47531
47571
  }) => {
47532
47572
  if (!e) return null;
@@ -47545,7 +47585,7 @@ const qbe = ({
47545
47585
  style: u,
47546
47586
  children: [
47547
47587
  /* @__PURE__ */ r("div", { className: `${Bt.body} ${v || ""}`.trim(), style: y, children: typeof N == "string" ? /* @__PURE__ */ r("p", { children: N }) : N }),
47548
- !l && /* @__PURE__ */ f("div", { className: `${Bt.footer} ${b || ""}`.trim(), style: m, children: [
47588
+ !l && /* @__PURE__ */ f("div", { className: `${Bt.footer} ${w || ""}`.trim(), style: m, children: [
47549
47589
  s && /* @__PURE__ */ r("button", { className: Bt.cancelButton, onClick: i, style: g, children: s }),
47550
47590
  h && p && /* @__PURE__ */ r("button", { className: Bt.confirmButton, onClick: p, children: h }),
47551
47591
  c && /* @__PURE__ */ r(
@@ -47569,7 +47609,7 @@ const qbe = ({
47569
47609
  title: r9e,
47570
47610
  text: c9e,
47571
47611
  bottomIcon: s9e
47572
- }, Rbe = ({
47612
+ }, Fbe = ({
47573
47613
  topIcon: e,
47574
47614
  title: t,
47575
47615
  text: n,
@@ -47625,7 +47665,7 @@ const qbe = ({
47625
47665
  overflowDropdownItem: V9e,
47626
47666
  overflowDropdownItemLabel: P9e,
47627
47667
  overflowDropdownItemRemove: T9e
47628
- }, Fbe = ({
47668
+ }, Ebe = ({
47629
47669
  options: e,
47630
47670
  noOptionsMessage: t = "",
47631
47671
  value: n,
@@ -47636,28 +47676,28 @@ const qbe = ({
47636
47676
  disabled: d = !1,
47637
47677
  allowWrap: l = !1
47638
47678
  }) => {
47639
- const [h, p] = B(!1), [u, y] = B(""), m = G(null), g = G(null), k = G(null), _ = G(null), [M, v] = B(null), [b, L] = B(!1), N = G([]), I = G(null), x = we(() => {
47679
+ const [h, p] = B(!1), [u, y] = B(""), m = G(null), g = G(null), k = G(null), _ = G(null), [M, v] = B(null), [w, L] = B(!1), N = G([]), I = G(null), x = we(() => {
47640
47680
  const A = new Map(e.map((V) => [V.value, V]));
47641
47681
  return n.map((V) => A.get(V)).filter((V) => V !== void 0);
47642
- }, [e, n]), w = we(
47682
+ }, [e, n]), b = we(
47643
47683
  () => e.filter((A) => !n.includes(A.value)),
47644
47684
  [e, n]
47645
47685
  ), $ = we(() => {
47646
- let A = w;
47686
+ let A = b;
47647
47687
  return u && (A = A.filter((V) => V.label.toLowerCase().includes(u.toLowerCase()))), A.filter((V, F) => {
47648
47688
  if (!V.isHeader) return !0;
47649
47689
  for (let H = F + 1; H < A.length && !A[H].isHeader; H++)
47650
47690
  return !0;
47651
47691
  return !1;
47652
47692
  });
47653
- }, [w, u]);
47654
- E(() => {
47693
+ }, [b, u]);
47694
+ O(() => {
47655
47695
  const A = (V) => {
47656
47696
  const F = V.target;
47657
47697
  m.current && !m.current.contains(F) && (p(!1), y(""), v(null), L(!1));
47658
47698
  };
47659
47699
  return document.addEventListener("mousedown", A), () => document.removeEventListener("mousedown", A);
47660
- }, []), E(() => {
47700
+ }, []), O(() => {
47661
47701
  if (l) return;
47662
47702
  if (x.length === 0) {
47663
47703
  v(null), N.current = [];
@@ -47822,7 +47862,7 @@ const qbe = ({
47822
47862
  children: z.length
47823
47863
  }
47824
47864
  ),
47825
- b && z.length > 0 && /* @__PURE__ */ r("div", { className: ye.overflowDropdown, role: "list", "aria-label": "Éléments cachés", children: z.map((A, V) => /* @__PURE__ */ f("div", { className: ye.overflowDropdownItem, children: [
47865
+ w && z.length > 0 && /* @__PURE__ */ r("div", { className: ye.overflowDropdown, role: "list", "aria-label": "Éléments cachés", children: z.map((A, V) => /* @__PURE__ */ f("div", { className: ye.overflowDropdownItem, children: [
47826
47866
  /* @__PURE__ */ r("span", { className: ye.overflowDropdownItemLabel, children: A.label }),
47827
47867
  /* @__PURE__ */ r(
47828
47868
  "button",
@@ -47901,7 +47941,7 @@ const qbe = ({
47901
47941
  );
47902
47942
  }, H9e = "_container_h7jek_1", tq = {
47903
47943
  container: H9e
47904
- }, Ebe = ({
47944
+ }, Obe = ({
47905
47945
  a11yConfigs: e = [],
47906
47946
  titleKeys: t = [],
47907
47947
  labels: n = [],
@@ -48148,7 +48188,7 @@ const qbe = ({
48148
48188
  value2: Z9e,
48149
48189
  statusIndicator: X9e,
48150
48190
  inactive: Y9e
48151
- }, aq = Math.PI / 180, Obe = ({
48191
+ }, aq = Math.PI / 180, Ube = ({
48152
48192
  data: e,
48153
48193
  height: t = 400,
48154
48194
  bg: n,
@@ -48168,9 +48208,9 @@ const qbe = ({
48168
48208
  hideDonut: _ = !0,
48169
48209
  hideColorIndicator: M = !1
48170
48210
  }) => {
48171
- const [v, b] = B(new Set(e.map((C) => C.nom))), L = (C) => {
48211
+ const [v, w] = B(new Set(e.map((C) => C.nom))), L = (C) => {
48172
48212
  const S = new Set(v);
48173
- S.has(C) ? S.size > 1 && S.delete(C) : S.add(C), b(S);
48213
+ S.has(C) ? S.size > 1 && S.delete(C) : S.add(C), w(S);
48174
48214
  }, N = {
48175
48215
  ...u,
48176
48216
  "--bg-color": n || o || "transparent",
@@ -48187,10 +48227,10 @@ const qbe = ({
48187
48227
  }, I = we(() => e.map((C) => ({
48188
48228
  ...C,
48189
48229
  displayValue: v.has(C.nom) ? C.value : 0
48190
- })), [e, v]), x = we(() => e.every((C) => C.value === 0), [e]), w = we(() => x ? 1 : I.reduce((C, S) => C + S.displayValue, 0) || 1, [x, I]), $ = ce.useCallback(
48230
+ })), [e, v]), x = we(() => e.every((C) => C.value === 0), [e]), b = we(() => x ? 1 : I.reduce((C, S) => C + S.displayValue, 0) || 1, [x, I]), $ = ce.useCallback(
48191
48231
  ({ cx: C, cy: S, midAngle: q, innerRadius: z, outerRadius: D, value: T }) => {
48192
48232
  if (T === 0 || x) return null;
48193
- const P = z + (D - z) * 0.5, A = C + P * Math.cos(-q * aq), V = S + P * Math.sin(-q * aq), F = Math.round(T / w * 100);
48233
+ const P = z + (D - z) * 0.5, A = C + P * Math.cos(-q * aq), V = S + P * Math.sin(-q * aq), F = Math.round(T / b * 100);
48194
48234
  return /* @__PURE__ */ r(
48195
48235
  bV,
48196
48236
  {
@@ -48205,7 +48245,7 @@ const qbe = ({
48205
48245
  }
48206
48246
  );
48207
48247
  },
48208
- [w, x]
48248
+ [b, x]
48209
48249
  );
48210
48250
  return /* @__PURE__ */ f("div", { className: `${et.container} ${p}`, style: N, children: [
48211
48251
  !_ && /* @__PURE__ */ r("div", { className: et.chartContainer, style: { height: t / 2 + 100 }, children: /* @__PURE__ */ r(yq, { width: "100%", height: "100%", children: /* @__PURE__ */ r(wV, { children: /* @__PURE__ */ r(
@@ -48281,7 +48321,7 @@ const qbe = ({
48281
48321
  container: J9e,
48282
48322
  leftGroup: Q9e,
48283
48323
  iconBtn: e_e
48284
- }, t_e = (e) => /* @__PURE__ */ J.createElement("svg", { width: "1em", height: "1em", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, viewBox: "0 0 24 24", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M3 12h18M3 6h18M3 18h18" })), a_e = Ve(t_e), n_e = (e) => /* @__PURE__ */ J.createElement("svg", { width: "1em", height: "1em", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, viewBox: "0 0 24 24", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8m-4-6-4-4-4 4m4-4v13" })), _z = Ve(n_e), Ube = ({
48324
+ }, t_e = (e) => /* @__PURE__ */ J.createElement("svg", { width: "1em", height: "1em", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, viewBox: "0 0 24 24", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M3 12h18M3 6h18M3 18h18" })), a_e = Ve(t_e), n_e = (e) => /* @__PURE__ */ J.createElement("svg", { width: "1em", height: "1em", fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, viewBox: "0 0 24 24", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8m-4-6-4-4-4 4m4-4v13" })), _z = Ve(n_e), Wbe = ({
48285
48325
  menuIcon: e,
48286
48326
  logoProps: t,
48287
48327
  actionIcon: n,
@@ -48331,7 +48371,7 @@ const qbe = ({
48331
48371
  container: o_e,
48332
48372
  iconBtn: i_e,
48333
48373
  title: r_e
48334
- }, Wbe = ({
48374
+ }, Gbe = ({
48335
48375
  title: e = "Menu",
48336
48376
  closeIcon: t,
48337
48377
  actionIcon: n,
@@ -48387,7 +48427,7 @@ const qbe = ({
48387
48427
  function Mz(e) {
48388
48428
  return e.state ? e.state : e.active ? "active" : "available";
48389
48429
  }
48390
- const Gbe = ({
48430
+ const Kbe = ({
48391
48431
  title: e,
48392
48432
  countLabel: t = "UF",
48393
48433
  actionIcon: n = /* @__PURE__ */ r(Lt, { size: 16 }),
@@ -48427,7 +48467,7 @@ const Gbe = ({
48427
48467
  )) }) }),
48428
48468
  l && /* @__PURE__ */ r(f_e, { children: l })
48429
48469
  ] });
48430
- }, c_e = O.div`
48470
+ }, c_e = E.div`
48431
48471
  background: var(--color-card-background, white);
48432
48472
  border: 1px solid var(--color-border, #ddd);
48433
48473
  border-radius: 4px;
@@ -48438,7 +48478,7 @@ const Gbe = ({
48438
48478
  display: flex;
48439
48479
  flex-direction: column;
48440
48480
  color: var(--color-text, inherit);
48441
- `, s_e = O.div`
48481
+ `, s_e = E.div`
48442
48482
  display: flex;
48443
48483
  justify-content: space-between;
48444
48484
  align-items: center;
@@ -48447,20 +48487,20 @@ const Gbe = ({
48447
48487
  height: 3rem;
48448
48488
  box-sizing: border-box;
48449
48489
  border-bottom: 1px solid var(--color-border, #efefef);
48450
- `, d_e = O.div`
48490
+ `, d_e = E.div`
48451
48491
  display: flex;
48452
48492
  align-items: baseline;
48453
48493
  gap: 8px;
48454
- `, l_e = O.h2`
48494
+ `, l_e = E.h2`
48455
48495
  margin: 0;
48456
48496
  font-size: 1rem;
48457
48497
  font-weight: 800;
48458
48498
  color: var(--color-text, #1a1a1a);
48459
- `, h_e = O.span`
48499
+ `, h_e = E.span`
48460
48500
  font-size: 0.9rem;
48461
48501
  font-weight: 500;
48462
48502
  color: var(--color-text-secondary, #718096);
48463
- `, p_e = O.button`
48503
+ `, p_e = E.button`
48464
48504
  background: transparent;
48465
48505
  border: none;
48466
48506
  cursor: pointer;
@@ -48473,14 +48513,14 @@ const Gbe = ({
48473
48513
  &:hover {
48474
48514
  opacity: 0.7;
48475
48515
  }
48476
- `, u_e = O.div`
48516
+ `, u_e = E.div`
48477
48517
  padding: 15px;
48478
- `, y_e = O.div`
48518
+ `, y_e = E.div`
48479
48519
  display: flex;
48480
48520
  flex-wrap: wrap;
48481
48521
  gap: 8px;
48482
48522
  justify-content: flex-start;
48483
- `, nq = "#BEC3C4", k_e = O.div`
48523
+ `, nq = "#BEC3C4", k_e = E.div`
48484
48524
  padding: 0.5rem;
48485
48525
  display: flex;
48486
48526
  width: 4rem;
@@ -48514,7 +48554,7 @@ const Gbe = ({
48514
48554
  children: e.label
48515
48555
  }
48516
48556
  )
48517
- ), f_e = O.div`
48557
+ ), f_e = E.div`
48518
48558
  padding: 0 15px 15px 15px;
48519
48559
  display: flex;
48520
48560
  justify-content: flex-end;
@@ -48531,7 +48571,7 @@ const Gbe = ({
48531
48571
  strokeLinecap: "round",
48532
48572
  strokeLinejoin: "round"
48533
48573
  }
48534
- ) }), Kbe = ({
48574
+ ) }), Zbe = ({
48535
48575
  title: e = "LITS DISPONIBLES",
48536
48576
  criteriaLabel: t = "CRITÈRES / HÔPITAUX",
48537
48577
  summary: n,
@@ -48551,16 +48591,16 @@ const Gbe = ({
48551
48591
  backgroundColor: _ = "#ffffff",
48552
48592
  textColor: M = "#1a1a1a",
48553
48593
  activeBackgroundColor: v = "#cce7f2",
48554
- hoverBackgroundColor: b = "#f5f8fa"
48594
+ hoverBackgroundColor: w = "#f5f8fa"
48555
48595
  }) => {
48556
48596
  const [L, N] = B(
48557
48597
  c ?? ""
48558
- ), I = s ?? L, x = G(null), w = G({}), $ = (C) => {
48598
+ ), I = s ?? L, x = G(null), b = G({}), $ = (C) => {
48559
48599
  const S = I === C ? "" : C;
48560
48600
  N(S), d?.(S);
48561
48601
  };
48562
- return E(() => {
48563
- const C = x.current, S = I ? w.current[I] : null;
48602
+ return O(() => {
48603
+ const C = x.current, S = I ? b.current[I] : null;
48564
48604
  if (!C || !S) return;
48565
48605
  const q = C.getBoundingClientRect(), z = S.getBoundingClientRect();
48566
48606
  z.bottom > q.bottom && C.scrollBy({
@@ -48608,7 +48648,7 @@ const Gbe = ({
48608
48648
  "div",
48609
48649
  {
48610
48650
  ref: (q) => {
48611
- w.current[C.id] = q;
48651
+ b.current[C.id] = q;
48612
48652
  },
48613
48653
  children: [
48614
48654
  /* @__PURE__ */ r(
@@ -48628,10 +48668,11 @@ const Gbe = ({
48628
48668
  {
48629
48669
  type: "button",
48630
48670
  $textColor: M,
48631
- $hoverBackgroundColor: b,
48671
+ $hoverBackgroundColor: w,
48632
48672
  onClick: () => l?.(q.id),
48633
48673
  children: [
48634
48674
  /* @__PURE__ */ r($_e, { title: q.title ?? q.name, children: q.name }),
48675
+ q.distanceLabel && /* @__PURE__ */ r(q_e, { children: q.distanceLabel }),
48635
48676
  !C.hideItemBadge && /* @__PURE__ */ r(Nr, { $bg: q.color ?? i[q.level], children: q.available })
48636
48677
  ]
48637
48678
  },
@@ -48645,7 +48686,7 @@ const Gbe = ({
48645
48686
  ]
48646
48687
  }
48647
48688
  );
48648
- }, __e = O.aside`
48689
+ }, __e = E.aside`
48649
48690
  width: ${(e) => v_e(e.$width)};
48650
48691
  flex-shrink: 0;
48651
48692
  align-self: flex-start;
@@ -48667,7 +48708,7 @@ const Gbe = ({
48667
48708
  &::-webkit-scrollbar {
48668
48709
  display: none; /* Chrome/Safari/Edge Chromium */
48669
48710
  }
48670
- `, M_e = O.div`
48711
+ `, M_e = E.div`
48671
48712
  display: flex;
48672
48713
  align-items: center;
48673
48714
  justify-content: space-between;
@@ -48675,19 +48716,19 @@ const Gbe = ({
48675
48716
  padding: 0.875rem;
48676
48717
  border-bottom: 1px solid #eceef1;
48677
48718
  flex-wrap: nowrap;
48678
- `, x_e = O.span`
48719
+ `, x_e = E.span`
48679
48720
  flex-shrink: 0;
48680
48721
  white-space: nowrap;
48681
48722
  font-size: 0.68rem;
48682
48723
  font-weight: 400;
48683
48724
  color: #7c8082;
48684
48725
  text-transform: uppercase;
48685
- `, b_e = O.div`
48726
+ `, b_e = E.div`
48686
48727
  display: flex;
48687
48728
  align-items: center;
48688
48729
  gap: 0.3125rem;
48689
48730
  flex-shrink: 0;
48690
- `, Nr = O.span`
48731
+ `, Nr = E.span`
48691
48732
  box-sizing: border-box;
48692
48733
  flex-shrink: 0;
48693
48734
  display: block;
@@ -48701,7 +48742,7 @@ const Gbe = ({
48701
48742
  font-weight: 700;
48702
48743
  line-height: 1.625rem;
48703
48744
  text-align: center;
48704
- `, iq = O.button`
48745
+ `, iq = E.button`
48705
48746
  display: inline-flex;
48706
48747
  flex-shrink: 0;
48707
48748
  align-items: center;
@@ -48712,7 +48753,7 @@ const Gbe = ({
48712
48753
  color: #8a94a6;
48713
48754
  line-height: 1;
48714
48755
  cursor: pointer;
48715
- `, w_e = O.div`
48756
+ `, w_e = E.div`
48716
48757
  display: flex;
48717
48758
  align-items: center;
48718
48759
  justify-content: space-between;
@@ -48720,17 +48761,17 @@ const Gbe = ({
48720
48761
  width: 100%;
48721
48762
  padding: 0.625rem 0.875rem;
48722
48763
  border-bottom: 1px solid #eceef1;
48723
- `, L_e = O.span`
48764
+ `, L_e = E.span`
48724
48765
  color: #7c8082;
48725
48766
  font-size: 0.62rem;
48726
48767
  font-weight: 400;
48727
48768
  letter-spacing: 0.02em;
48728
- `, C_e = O.div`
48769
+ `, C_e = E.div`
48729
48770
  display: flex;
48730
48771
  flex-direction: column;
48731
- `, N_e = O.div`
48772
+ `, N_e = E.div`
48732
48773
  padding-left: 0;
48733
- `, I_e = O.button`
48774
+ `, I_e = E.button`
48734
48775
  width: 100%;
48735
48776
  text-align: left;
48736
48777
  padding: 0.6875rem 0.875rem;
@@ -48741,7 +48782,7 @@ const Gbe = ({
48741
48782
  font-size: 0.78rem;
48742
48783
  color: ${(e) => e.$textColor};
48743
48784
  cursor: pointer;
48744
- `, S_e = O.button`
48785
+ `, S_e = E.button`
48745
48786
  display: flex;
48746
48787
  align-items: center;
48747
48788
  justify-content: space-between;
@@ -48759,14 +48800,21 @@ const Gbe = ({
48759
48800
  &:hover {
48760
48801
  background: ${(e) => e.$hoverBackgroundColor};
48761
48802
  }
48762
- `, $_e = O.span`
48803
+ `, $_e = E.span`
48763
48804
  flex: 1;
48764
48805
  min-width: 0;
48765
48806
  line-height: 1.625rem;
48766
48807
  overflow: hidden;
48767
48808
  text-overflow: ellipsis;
48768
48809
  white-space: nowrap;
48769
- `, Zbe = ({
48810
+ `, q_e = E.span`
48811
+ flex-shrink: 0;
48812
+ font-size: var(--p);
48813
+ color: var(--color-text-secondary);
48814
+ white-space: nowrap;
48815
+ padding: 0 0.3rem;
48816
+ line-height: 1.625rem;
48817
+ `, Xbe = ({
48770
48818
  value: e,
48771
48819
  min: t = 0,
48772
48820
  max: n = 100,
@@ -48787,13 +48835,13 @@ const Gbe = ({
48787
48835
  ariaLabelledBy: M,
48788
48836
  a11yConfig: v
48789
48837
  }) => {
48790
- const b = n !== t ? (e - t) / (n - t) * 100 : 0, L = (I) => {
48838
+ const w = n !== t ? (e - t) / (n - t) * 100 : 0, L = (I) => {
48791
48839
  i(Number(I.target.value));
48792
48840
  }, N = te(v, c);
48793
- return /* @__PURE__ */ f(q_e, { className: s, title: N, $fullWidth: l, children: [
48794
- c && /* @__PURE__ */ r(A_e, { id: M ? void 0 : `${c}-label`, children: c }),
48841
+ return /* @__PURE__ */ f(A_e, { className: s, title: N, $fullWidth: l, children: [
48842
+ c && /* @__PURE__ */ r(z_e, { id: M ? void 0 : `${c}-label`, children: c }),
48795
48843
  /* @__PURE__ */ r(
48796
- z_e,
48844
+ V_e,
48797
48845
  {
48798
48846
  type: "range",
48799
48847
  min: t,
@@ -48807,7 +48855,7 @@ const Gbe = ({
48807
48855
  "aria-valuemin": t,
48808
48856
  "aria-valuemax": n,
48809
48857
  "aria-valuenow": e,
48810
- $percentage: b,
48858
+ $percentage: w,
48811
48859
  $trackHeight: h,
48812
48860
  $trackColor: p,
48813
48861
  $trackFillColor: u,
@@ -48818,17 +48866,17 @@ const Gbe = ({
48818
48866
  }
48819
48867
  )
48820
48868
  ] });
48821
- }, q_e = O.div`
48869
+ }, A_e = E.div`
48822
48870
  display: flex;
48823
48871
  flex-direction: column;
48824
48872
  gap: 0.5rem;
48825
48873
  font-family: inherit;
48826
48874
  width: ${({ $fullWidth: e }) => e ? "100%" : "auto"};
48827
- `, A_e = O.label`
48875
+ `, z_e = E.label`
48828
48876
  font-size: 0.875rem;
48829
48877
  font-weight: 500;
48830
48878
  color: var(--color-text, #212529);
48831
- `, z_e = O.input`
48879
+ `, V_e = E.input`
48832
48880
  -webkit-appearance: none;
48833
48881
  appearance: none;
48834
48882
  width: 100%;
@@ -48929,9 +48977,9 @@ const Gbe = ({
48929
48977
  &:focus::-webkit-slider-runnable-track {
48930
48978
  outline: none;
48931
48979
  }
48932
- `, V_e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 20 20", ...e }, /* @__PURE__ */ J.createElement("mask", { id: "a", width: 20, height: 20, x: 0, y: 0, maskUnits: "userSpaceOnUse", style: {
48980
+ `, P_e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 20 20", ...e }, /* @__PURE__ */ J.createElement("mask", { id: "a", width: 20, height: 20, x: 0, y: 0, maskUnits: "userSpaceOnUse", style: {
48933
48981
  maskType: "alpha"
48934
- } }, /* @__PURE__ */ J.createElement("path", { fill: "#D9D9D9", d: "M0 0h20v20H0z" })), /* @__PURE__ */ J.createElement("g", { mask: "url(#a)" }, /* @__PURE__ */ J.createElement("path", { fill: "#1C1B1F", d: "M10.75 10.375V7.748a.73.73 0 0 0-.214-.53.7.7 0 0 0-.531-.218.74.74 0 0 0-.536.214.7.7 0 0 0-.218.53v2.954q0 .149.062.288.063.139.174.25l2.076 2.076q.23.23.531.22a.77.77 0 0 0 .532-.24.73.73 0 0 0 0-1.063zM10 18a6.8 6.8 0 0 1-2.731-.554 7.1 7.1 0 0 1-2.217-1.498 7.1 7.1 0 0 1-1.497-2.216A6.8 6.8 0 0 1 3 11q0-1.458.554-2.732t1.497-2.217A7.1 7.1 0 0 1 7.27 4.554 6.8 6.8 0 0 1 10 4q1.458 0 2.732.554 1.274.555 2.216 1.497a7.1 7.1 0 0 1 1.498 2.217Q17 9.542 17 11t-.555 2.732a7.1 7.1 0 0 1-1.497 2.217 7.1 7.1 0 0 1-2.216 1.497A6.8 6.8 0 0 1 10 18M1.939 6.458a.73.73 0 0 1 0-1.062l2.48-2.48a.73.73 0 0 1 1.062 0 .73.73 0 0 1 0 1.063l-2.5 2.5a.68.68 0 0 1-.521.219.76.76 0 0 1-.52-.24m16.146 0a.73.73 0 0 1-1.062 0l-2.48-2.479a.73.73 0 0 1 0-1.062.73.73 0 0 1 1.063 0l2.479 2.5q.23.228.23.52a.72.72 0 0 1-.23.521M9.996 16.5q2.296 0 3.9-1.6t1.605-3.895-1.6-3.9T10.005 5.5t-3.9 1.6T4.5 10.995t1.6 3.9T9.995 16.5" }))), P_e = Ve(V_e), Xbe = ({
48982
+ } }, /* @__PURE__ */ J.createElement("path", { fill: "#D9D9D9", d: "M0 0h20v20H0z" })), /* @__PURE__ */ J.createElement("g", { mask: "url(#a)" }, /* @__PURE__ */ J.createElement("path", { fill: "#1C1B1F", d: "M10.75 10.375V7.748a.73.73 0 0 0-.214-.53.7.7 0 0 0-.531-.218.74.74 0 0 0-.536.214.7.7 0 0 0-.218.53v2.954q0 .149.062.288.063.139.174.25l2.076 2.076q.23.23.531.22a.77.77 0 0 0 .532-.24.73.73 0 0 0 0-1.063zM10 18a6.8 6.8 0 0 1-2.731-.554 7.1 7.1 0 0 1-2.217-1.498 7.1 7.1 0 0 1-1.497-2.216A6.8 6.8 0 0 1 3 11q0-1.458.554-2.732t1.497-2.217A7.1 7.1 0 0 1 7.27 4.554 6.8 6.8 0 0 1 10 4q1.458 0 2.732.554 1.274.555 2.216 1.497a7.1 7.1 0 0 1 1.498 2.217Q17 9.542 17 11t-.555 2.732a7.1 7.1 0 0 1-1.497 2.217 7.1 7.1 0 0 1-2.216 1.497A6.8 6.8 0 0 1 10 18M1.939 6.458a.73.73 0 0 1 0-1.062l2.48-2.48a.73.73 0 0 1 1.062 0 .73.73 0 0 1 0 1.063l-2.5 2.5a.68.68 0 0 1-.521.219.76.76 0 0 1-.52-.24m16.146 0a.73.73 0 0 1-1.062 0l-2.48-2.479a.73.73 0 0 1 0-1.062.73.73 0 0 1 1.063 0l2.479 2.5q.23.228.23.52a.72.72 0 0 1-.23.521M9.996 16.5q2.296 0 3.9-1.6t1.605-3.895-1.6-3.9T10.005 5.5t-3.9 1.6T4.5 10.995t1.6 3.9T9.995 16.5" }))), T_e = Ve(P_e), Ybe = ({
48935
48983
  value: e,
48936
48984
  onChange: t,
48937
48985
  label: n,
@@ -48962,24 +49010,24 @@ const Gbe = ({
48962
49010
  };
48963
49011
  }
48964
49012
  return { h: "00", m: "00" };
48965
- }, [b, L] = B("00"), [N, I] = B("00");
48966
- E(() => {
49013
+ }, [w, L] = B("00"), [N, I] = B("00");
49014
+ O(() => {
48967
49015
  const C = v(e);
48968
49016
  L(C.h), I(C.m);
48969
- }, [e, k]), E(() => {
49017
+ }, [e, k]), O(() => {
48970
49018
  const C = (S) => {
48971
49019
  M.current && !M.current.contains(S.target) && _(!1);
48972
49020
  };
48973
49021
  return document.addEventListener("mousedown", C), () => document.removeEventListener("mousedown", C);
48974
49022
  }, []);
48975
49023
  const x = () => {
48976
- const C = parseInt(b) || 0, S = parseInt(N) || 0, q = Math.min(u, Math.max(0, C)).toString().padStart(2, "0"), z = Math.min(59, Math.max(0, S)).toString().padStart(2, "0");
49024
+ const C = parseInt(w) || 0, S = parseInt(N) || 0, q = Math.min(u, Math.max(0, C)).toString().padStart(2, "0"), z = Math.min(59, Math.max(0, S)).toString().padStart(2, "0");
48977
49025
  t(`${q}:${z}`), _(!1);
48978
- }, w = e ? typeof e == "string" ? e : `${e.getHours().toString().padStart(2, "0")}:${e.getMinutes().toString().padStart(2, "0")}` : "", $ = te(g, n);
48979
- return /* @__PURE__ */ f(T_e, { ref: M, $fullWidth: c, title: $, children: [
48980
- n && /* @__PURE__ */ r(H_e, { id: m ? void 0 : `${n}-label`, children: n }),
49026
+ }, b = e ? typeof e == "string" ? e : `${e.getHours().toString().padStart(2, "0")}:${e.getMinutes().toString().padStart(2, "0")}` : "", $ = te(g, n);
49027
+ return /* @__PURE__ */ f(H_e, { ref: M, $fullWidth: c, title: $, children: [
49028
+ n && /* @__PURE__ */ r(D_e, { id: m ? void 0 : `${n}-label`, children: n }),
48981
49029
  /* @__PURE__ */ r(
48982
- D_e,
49030
+ B_e,
48983
49031
  {
48984
49032
  type: "button",
48985
49033
  $isOpen: k,
@@ -48990,14 +49038,14 @@ const Gbe = ({
48990
49038
  "aria-labelledby": m || (n ? `${n}-label` : void 0),
48991
49039
  "aria-expanded": k,
48992
49040
  "aria-haspopup": "listbox",
48993
- children: /* @__PURE__ */ f(B_e, { children: [
48994
- /* @__PURE__ */ r(j_e, { $isPlaceholder: !w, children: w || o }),
48995
- /* @__PURE__ */ r(R_e, {})
49041
+ children: /* @__PURE__ */ f(j_e, { children: [
49042
+ /* @__PURE__ */ r(R_e, { $isPlaceholder: !b, children: b || o }),
49043
+ /* @__PURE__ */ r(F_e, {})
48996
49044
  ] })
48997
49045
  }
48998
49046
  ),
48999
- k && /* @__PURE__ */ f(F_e, { $alignment: p, children: [
49000
- /* @__PURE__ */ f(E_e, { children: [
49047
+ k && /* @__PURE__ */ f(E_e, { $alignment: p, children: [
49048
+ /* @__PURE__ */ f(O_e, { children: [
49001
49049
  /* @__PURE__ */ f(rq, { children: [
49002
49050
  /* @__PURE__ */ r(cq, { children: l }),
49003
49051
  /* @__PURE__ */ r(sq, { children: /* @__PURE__ */ r(
@@ -49007,7 +49055,7 @@ const Gbe = ({
49007
49055
  min: "0",
49008
49056
  max: u.toString(),
49009
49057
  $wide: u > 99,
49010
- value: b,
49058
+ value: w,
49011
49059
  onChange: (C) => {
49012
49060
  const S = C.target.value;
49013
49061
  if (S === "") {
@@ -49021,7 +49069,7 @@ const Gbe = ({
49021
49069
  }
49022
49070
  ) })
49023
49071
  ] }),
49024
- /* @__PURE__ */ r(O_e, { children: ":" }),
49072
+ /* @__PURE__ */ r(U_e, { children: ":" }),
49025
49073
  /* @__PURE__ */ f(rq, { children: [
49026
49074
  /* @__PURE__ */ r(cq, { children: h }),
49027
49075
  /* @__PURE__ */ r(sq, { children: /* @__PURE__ */ r(
@@ -49044,24 +49092,24 @@ const Gbe = ({
49044
49092
  ) })
49045
49093
  ] })
49046
49094
  ] }),
49047
- /* @__PURE__ */ f(U_e, { children: [
49095
+ /* @__PURE__ */ f(W_e, { children: [
49048
49096
  /* @__PURE__ */ r(lq, { className: "cancel", onClick: () => _(!1), children: s }),
49049
49097
  /* @__PURE__ */ r(lq, { className: "apply", onClick: x, children: d })
49050
49098
  ] })
49051
49099
  ] })
49052
49100
  ] });
49053
- }, T_e = O.div`
49101
+ }, H_e = E.div`
49054
49102
  position: relative;
49055
49103
  display: inline-block;
49056
49104
  max-width: 100%;
49057
49105
  ${({ $fullWidth: e }) => e && "width: 100%; display: block;"}
49058
- `, H_e = O.label`
49106
+ `, D_e = E.label`
49059
49107
  display: block;
49060
49108
  font-size: 0.875rem;
49061
49109
  font-weight: 500;
49062
49110
  margin-bottom: 0.5rem;
49063
49111
  color: var(--color-text, #212529);
49064
- `, D_e = O.button`
49112
+ `, B_e = E.button`
49065
49113
  width: 100%;
49066
49114
  display: flex;
49067
49115
  align-items: center;
@@ -49083,18 +49131,18 @@ const Gbe = ({
49083
49131
  &:hover {
49084
49132
  ${({ $disabled: e }) => !e && "border-color: var(--color-primary, #86b7fe);"}
49085
49133
  }
49086
- `, B_e = O.div`
49134
+ `, j_e = E.div`
49087
49135
  display: flex;
49088
49136
  align-items: center;
49089
49137
  justify-content: space-between;
49090
49138
  width: 100%;
49091
49139
  gap: 0.5rem;
49092
- `, j_e = O.span`
49140
+ `, R_e = E.span`
49093
49141
  color: ${({ $isPlaceholder: e }) => e ? "var(--color-text-secondary, #adb5bd)" : "inherit"};
49094
- `, R_e = O(P_e)`
49142
+ `, F_e = E(T_e)`
49095
49143
  color: var(--color-text-secondary, #6c757d);
49096
49144
  flex-shrink: 0;
49097
- `, F_e = O.div`
49145
+ `, E_e = E.div`
49098
49146
  position: absolute;
49099
49147
  top: 100%;
49100
49148
  ${({ $alignment: e }) => e === "right" ? "right: 0;" : "left: 0;"}
@@ -49109,28 +49157,28 @@ const Gbe = ({
49109
49157
  flex-direction: column;
49110
49158
  gap: 1rem;
49111
49159
  min-width: 160px;
49112
- `, E_e = O.div`
49160
+ `, O_e = E.div`
49113
49161
  display: flex;
49114
49162
  align-items: center;
49115
49163
  justify-content: center;
49116
49164
  gap: 0.5rem;
49117
- `, rq = O.div`
49165
+ `, rq = E.div`
49118
49166
  display: flex;
49119
49167
  flex-direction: column;
49120
49168
  align-items: center;
49121
49169
  gap: 0.25rem;
49122
- `, cq = O.span`
49170
+ `, cq = E.span`
49123
49171
  font-size: 0.75rem;
49124
49172
  color: var(--color-text-secondary, #6c757d);
49125
49173
  font-weight: 500;
49126
- `, sq = O.div`
49174
+ `, sq = E.div`
49127
49175
  background-color: var(--color-content-background, #f8f9fa);
49128
49176
  border: 1px solid var(--color-border, #dee2e6);
49129
49177
  border-radius: 6px;
49130
49178
  padding: 0.25rem 0.5rem;
49131
49179
  display: flex;
49132
49180
  align-items: center;
49133
- `, dq = O.input`
49181
+ `, dq = E.input`
49134
49182
  width: ${({ $wide: e }) => e ? "3rem" : "2.2rem"};
49135
49183
  border: none;
49136
49184
  background: none;
@@ -49153,16 +49201,16 @@ const Gbe = ({
49153
49201
  -webkit-appearance: none;
49154
49202
  margin: 0;
49155
49203
  }
49156
- `, O_e = O.span`
49204
+ `, U_e = E.span`
49157
49205
  font-size: 1.25rem;
49158
49206
  font-weight: 600;
49159
49207
  color: var(--color-text-secondary, #adb5bd);
49160
49208
  margin-top: 1rem;
49161
- `, U_e = O.div`
49209
+ `, W_e = E.div`
49162
49210
  display: flex;
49163
49211
  gap: 0.5rem;
49164
49212
  margin-top: 0.5rem;
49165
- `, lq = O.button`
49213
+ `, lq = E.button`
49166
49214
  flex: 1;
49167
49215
  border: none;
49168
49216
  padding: 0.5rem;
@@ -49185,7 +49233,7 @@ const Gbe = ({
49185
49233
  background-color: var(--color-primary, #00a6d9);
49186
49234
  color: #ffffff;
49187
49235
  }
49188
- `, Ybe = ({
49236
+ `, Jbe = ({
49189
49237
  title: e = "Liste d'attente",
49190
49238
  onClose: t,
49191
49239
  onBack: n,
@@ -49197,7 +49245,7 @@ const Gbe = ({
49197
49245
  }) => {
49198
49246
  const l = te(s, e);
49199
49247
  return /* @__PURE__ */ f(
49200
- W_e,
49248
+ G_e,
49201
49249
  {
49202
49250
  className: c,
49203
49251
  title: l,
@@ -49238,7 +49286,7 @@ const Gbe = ({
49238
49286
  ]
49239
49287
  }
49240
49288
  );
49241
- }, W_e = O.div`
49289
+ }, G_e = E.div`
49242
49290
  width: 100%;
49243
49291
  height: 100%;
49244
49292
  display: flex;
@@ -49287,7 +49335,7 @@ const Gbe = ({
49287
49335
  border-bottom-left-radius: 0.5rem;
49288
49336
  border-bottom-right-radius: 0.5rem;
49289
49337
  }
49290
- `, Jbe = ({
49338
+ `, Qbe = ({
49291
49339
  items: e,
49292
49340
  title: t,
49293
49341
  backgroundColor: n,
@@ -49306,7 +49354,7 @@ const Gbe = ({
49306
49354
  !p?.titleKey && typeof t == "string" ? t : void 0
49307
49355
  );
49308
49356
  return /* @__PURE__ */ f(
49309
- K_e,
49357
+ Z_e,
49310
49358
  {
49311
49359
  $bgColor: n,
49312
49360
  $textColor: o,
@@ -49319,25 +49367,25 @@ const Gbe = ({
49319
49367
  tabIndex: d ? 0 : void 0,
49320
49368
  onKeyDown: (m) => d && m.key === "Enter" && d(),
49321
49369
  children: [
49322
- /* @__PURE__ */ f(Z_e, { className: "patient-info-content", children: [
49323
- t && /* @__PURE__ */ r(G_e, { className: "patient-info-title", children: t }),
49324
- /* @__PURE__ */ r(J_e, { $columns: i, $vertical: c, className: "patient-info-grid", children: e.map((m, g) => /* @__PURE__ */ f(
49325
- Q_e,
49370
+ /* @__PURE__ */ f(X_e, { className: "patient-info-content", children: [
49371
+ t && /* @__PURE__ */ r(K_e, { className: "patient-info-title", children: t }),
49372
+ /* @__PURE__ */ r(Q_e, { $columns: i, $vertical: c, className: "patient-info-grid", children: e.map((m, g) => /* @__PURE__ */ f(
49373
+ eMe,
49326
49374
  {
49327
49375
  $columns: i,
49328
49376
  $vertical: c,
49329
49377
  className: "patient-info-item",
49330
49378
  children: [
49331
- m.label && /* @__PURE__ */ r(eMe, { className: "patient-info-label", title: te(m.a11yConfig), children: m.label }),
49332
- /* @__PURE__ */ r(tMe, { className: "patient-info-value", $spanFull: !m.label, children: m.value })
49379
+ m.label && /* @__PURE__ */ r(tMe, { className: "patient-info-label", title: te(m.a11yConfig), children: m.label }),
49380
+ /* @__PURE__ */ r(aMe, { className: "patient-info-value", $spanFull: !m.label, children: m.value })
49333
49381
  ]
49334
49382
  },
49335
49383
  g
49336
49384
  )) })
49337
49385
  ] }),
49338
- (s || l) && /* @__PURE__ */ f(X_e, { children: [
49386
+ (s || l) && /* @__PURE__ */ f(Y_e, { children: [
49339
49387
  s && /* @__PURE__ */ r(
49340
- aMe,
49388
+ nMe,
49341
49389
  {
49342
49390
  onClick: (m) => {
49343
49391
  m.stopPropagation(), s();
@@ -49346,17 +49394,17 @@ const Gbe = ({
49346
49394
  children: /* @__PURE__ */ r(yi, { size: 20 })
49347
49395
  }
49348
49396
  ),
49349
- l && /* @__PURE__ */ r(Y_e, { children: l })
49397
+ l && /* @__PURE__ */ r(J_e, { children: l })
49350
49398
  ] })
49351
49399
  ]
49352
49400
  }
49353
49401
  );
49354
- }, G_e = O.div`
49402
+ }, K_e = E.div`
49355
49403
  font-size: 1rem;
49356
49404
  font-weight: 600;
49357
49405
  border-bottom: 1px solid #d2d6d8;
49358
49406
  padding-bottom: 0.5rem;
49359
- `, K_e = O.div`
49407
+ `, Z_e = E.div`
49360
49408
  background-color: ${(e) => e.$bgColor || "#ffffff"};
49361
49409
  color: ${(e) => e.$textColor || "#1c1b1f"};
49362
49410
  border-radius: 0.5rem;
@@ -49366,28 +49414,28 @@ const Gbe = ({
49366
49414
  width: 100%;
49367
49415
  box-sizing: border-box;
49368
49416
  cursor: ${(e) => e.$isClickable ? "pointer" : "default"};
49369
- `, Z_e = O.div`
49417
+ `, X_e = E.div`
49370
49418
  flex: 1;
49371
49419
  display: flex;
49372
49420
  flex-direction: column;
49373
49421
  gap: 0.75rem;
49374
- `, X_e = O.div`
49422
+ `, Y_e = E.div`
49375
49423
  display: flex;
49376
49424
  flex-direction: column;
49377
49425
  justify-content: space-between;
49378
49426
  align-items: flex-end;
49379
49427
  flex-shrink: 0;
49380
49428
  align-self: stretch;
49381
- `, Y_e = O.div`
49429
+ `, J_e = E.div`
49382
49430
  display: flex;
49383
49431
  align-items: center;
49384
49432
  justify-content: center;
49385
49433
  flex-shrink: 0;
49386
- `, J_e = O.div`
49434
+ `, Q_e = E.div`
49387
49435
  display: grid;
49388
49436
  grid-template-columns: ${(e) => e.$columns === 3 ? "repeat(3, 1fr)" : e.$columns === 2 ? "repeat(2, 1fr)" : e.$vertical ? "1fr" : "minmax(max-content, 35%) minmax(min-content, 1fr)"};
49389
49437
  gap: ${(e) => e.$columns === 3 ? "var(--space-2) var(--space-3)" : e.$columns === 2 ? "0.5rem 1rem" : e.$vertical ? "0.5rem" : "0.5rem 0.75rem"};
49390
- `, Q_e = O.div`
49438
+ `, eMe = E.div`
49391
49439
  font-size: 0.75rem;
49392
49440
  line-height: 1.3;
49393
49441
  min-width: 0;
@@ -49398,19 +49446,19 @@ const Gbe = ({
49398
49446
  ` : $N`
49399
49447
  display: contents;
49400
49448
  `}
49401
- `, eMe = O.div`
49449
+ `, tMe = E.div`
49402
49450
  text-align: left;
49403
49451
  color: inherit;
49404
49452
  font-weight: 600;
49405
49453
  min-width: 0;
49406
49454
  overflow-wrap: break-word;
49407
- `, tMe = O.div`
49455
+ `, aMe = E.div`
49408
49456
  font-weight: 400;
49409
49457
  white-space: pre-wrap;
49410
49458
  overflow-wrap: break-word;
49411
49459
  min-width: 0;
49412
49460
  ${(e) => e.$spanFull && "grid-column: 1 / -1;"}
49413
- `, aMe = O.button`
49461
+ `, nMe = E.button`
49414
49462
  flex-shrink: 0;
49415
49463
  background: none;
49416
49464
  border: none;
@@ -49427,54 +49475,54 @@ const Gbe = ({
49427
49475
  &:hover {
49428
49476
  opacity: 1;
49429
49477
  }
49430
- `, nMe = "_patientCard_r0eh1_1", oMe = "_notAllowedCursor_r0eh1_18", iMe = "_innerPadding_r0eh1_28", rMe = "_noFooterMargin_r0eh1_35", cMe = "_topArea_r0eh1_39", sMe = "_small_r0eh1_49", dMe = "_header_r0eh1_62", lMe = "_headerLeft_r0eh1_69", hMe = "_headerRight_r0eh1_75", pMe = "_uf_r0eh1_80", uMe = "_rmBadge_r0eh1_88", yMe = "_roomBed_r0eh1_103", kMe = "_content_r0eh1_110", mMe = "_body_r0eh1_122", fMe = "_upperBodyContent_r0eh1_140", gMe = "_patientInfo_r0eh1_150", vMe = "_iep_r0eh1_155", _Me = "_name_r0eh1_160", MMe = "_birthName_r0eh1_167", xMe = "_firstNames_r0eh1_172", bMe = "_dobAge_r0eh1_177", wMe = "_duration_r0eh1_182", LMe = "_comment_r0eh1_188", CMe = "_timeline_r0eh1_195", NMe = "_destination_r0eh1_199", IMe = "_todayReservation_r0eh1_209", SMe = "_arrow_r0eh1_230", $Me = "_progressBar_r0eh1_235", qMe = "_progressFill_r0eh1_245", AMe = "_progressDate_r0eh1_255", zMe = "_footer_r0eh1_266", VMe = "_iconWrap_r0eh1_275", PMe = "_centerLabelHuge_r0eh1_294", TMe = "_labelYellow_r0eh1_301", HMe = "_expectedBottom_r0eh1_320", DMe = "_expectedPrefix_r0eh1_328", BMe = "_expectedDate_r0eh1_334", jMe = "_notesView_r0eh1_355", RMe = "_notesHeader_r0eh1_363", FMe = "_notesTitle_r0eh1_369", EMe = "_notesList_r0eh1_376", OMe = "_noteItem_r0eh1_382", UMe = "_reservationView_r0eh1_387", WMe = "_reservationNote_r0eh1_399", GMe = "_bottomArea_r0eh1_404", KMe = "_bottomLeftSymbol_r0eh1_412", X = {
49431
- patientCard: nMe,
49432
- notAllowedCursor: oMe,
49433
- innerPadding: iMe,
49434
- noFooterMargin: rMe,
49435
- topArea: cMe,
49436
- small: sMe,
49437
- header: dMe,
49438
- headerLeft: lMe,
49439
- headerRight: hMe,
49440
- uf: pMe,
49441
- rmBadge: uMe,
49442
- roomBed: yMe,
49443
- content: kMe,
49444
- body: mMe,
49445
- upperBodyContent: fMe,
49446
- patientInfo: gMe,
49447
- iep: vMe,
49448
- name: _Me,
49449
- birthName: MMe,
49450
- firstNames: xMe,
49451
- dobAge: bMe,
49452
- duration: wMe,
49453
- comment: LMe,
49454
- timeline: CMe,
49455
- destination: NMe,
49456
- todayReservation: IMe,
49457
- arrow: SMe,
49458
- progressBar: $Me,
49459
- progressFill: qMe,
49460
- progressDate: AMe,
49461
- footer: zMe,
49462
- iconWrap: VMe,
49463
- centerLabelHuge: PMe,
49464
- labelYellow: TMe,
49465
- expectedBottom: HMe,
49466
- expectedPrefix: DMe,
49467
- expectedDate: BMe,
49468
- notesView: jMe,
49469
- notesHeader: RMe,
49470
- notesTitle: FMe,
49471
- notesList: EMe,
49472
- noteItem: OMe,
49473
- reservationView: UMe,
49474
- reservationNote: WMe,
49475
- bottomArea: GMe,
49476
- bottomLeftSymbol: KMe
49477
- }, Qbe = ({
49478
+ `, oMe = "_patientCard_r0eh1_1", iMe = "_notAllowedCursor_r0eh1_18", rMe = "_innerPadding_r0eh1_28", cMe = "_noFooterMargin_r0eh1_35", sMe = "_topArea_r0eh1_39", dMe = "_small_r0eh1_49", lMe = "_header_r0eh1_62", hMe = "_headerLeft_r0eh1_69", pMe = "_headerRight_r0eh1_75", uMe = "_uf_r0eh1_80", yMe = "_rmBadge_r0eh1_88", kMe = "_roomBed_r0eh1_103", mMe = "_content_r0eh1_110", fMe = "_body_r0eh1_122", gMe = "_upperBodyContent_r0eh1_140", vMe = "_patientInfo_r0eh1_150", _Me = "_iep_r0eh1_155", MMe = "_name_r0eh1_160", xMe = "_birthName_r0eh1_167", bMe = "_firstNames_r0eh1_172", wMe = "_dobAge_r0eh1_177", LMe = "_duration_r0eh1_182", CMe = "_comment_r0eh1_188", NMe = "_timeline_r0eh1_195", IMe = "_destination_r0eh1_199", SMe = "_todayReservation_r0eh1_209", $Me = "_arrow_r0eh1_230", qMe = "_progressBar_r0eh1_235", AMe = "_progressFill_r0eh1_245", zMe = "_progressDate_r0eh1_255", VMe = "_footer_r0eh1_266", PMe = "_iconWrap_r0eh1_275", TMe = "_centerLabelHuge_r0eh1_294", HMe = "_labelYellow_r0eh1_301", DMe = "_expectedBottom_r0eh1_320", BMe = "_expectedPrefix_r0eh1_328", jMe = "_expectedDate_r0eh1_334", RMe = "_notesView_r0eh1_355", FMe = "_notesHeader_r0eh1_363", EMe = "_notesTitle_r0eh1_369", OMe = "_notesList_r0eh1_376", UMe = "_noteItem_r0eh1_382", WMe = "_reservationView_r0eh1_387", GMe = "_reservationNote_r0eh1_399", KMe = "_bottomArea_r0eh1_404", ZMe = "_bottomLeftSymbol_r0eh1_412", X = {
49479
+ patientCard: oMe,
49480
+ notAllowedCursor: iMe,
49481
+ innerPadding: rMe,
49482
+ noFooterMargin: cMe,
49483
+ topArea: sMe,
49484
+ small: dMe,
49485
+ header: lMe,
49486
+ headerLeft: hMe,
49487
+ headerRight: pMe,
49488
+ uf: uMe,
49489
+ rmBadge: yMe,
49490
+ roomBed: kMe,
49491
+ content: mMe,
49492
+ body: fMe,
49493
+ upperBodyContent: gMe,
49494
+ patientInfo: vMe,
49495
+ iep: _Me,
49496
+ name: MMe,
49497
+ birthName: xMe,
49498
+ firstNames: bMe,
49499
+ dobAge: wMe,
49500
+ duration: LMe,
49501
+ comment: CMe,
49502
+ timeline: NMe,
49503
+ destination: IMe,
49504
+ todayReservation: SMe,
49505
+ arrow: $Me,
49506
+ progressBar: qMe,
49507
+ progressFill: AMe,
49508
+ progressDate: zMe,
49509
+ footer: VMe,
49510
+ iconWrap: PMe,
49511
+ centerLabelHuge: TMe,
49512
+ labelYellow: HMe,
49513
+ expectedBottom: DMe,
49514
+ expectedPrefix: BMe,
49515
+ expectedDate: jMe,
49516
+ notesView: RMe,
49517
+ notesHeader: FMe,
49518
+ notesTitle: EMe,
49519
+ notesList: OMe,
49520
+ noteItem: UMe,
49521
+ reservationView: WMe,
49522
+ reservationNote: GMe,
49523
+ bottomArea: KMe,
49524
+ bottomLeftSymbol: ZMe
49525
+ }, ewe = ({
49478
49526
  size: e = "large",
49479
49527
  className: t = "",
49480
49528
  customStyle: n,
@@ -49494,12 +49542,12 @@ const Gbe = ({
49494
49542
  expectedDatePrefix: _,
49495
49543
  showTimeline: M = !1,
49496
49544
  destination: v,
49497
- progress: b = 0,
49545
+ progress: w = 0,
49498
49546
  progressTrackColor: L,
49499
49547
  progressFillColor: N,
49500
49548
  progressLabel: I,
49501
49549
  progressTitle: x,
49502
- showFooter: w = !1,
49550
+ showFooter: b = !1,
49503
49551
  leftIcons: $ = [],
49504
49552
  rightIcons: C = [],
49505
49553
  activeView: S = "default",
@@ -49524,7 +49572,7 @@ const Gbe = ({
49524
49572
  /* @__PURE__ */ f(
49525
49573
  "div",
49526
49574
  {
49527
- className: `${X.topArea} ${w ? "" : X.noFooterMargin}`,
49575
+ className: `${X.topArea} ${b ? "" : X.noFooterMargin}`,
49528
49576
  style: o,
49529
49577
  children: [
49530
49578
  /* @__PURE__ */ r("div", { className: X.header, children: H ? /* @__PURE__ */ f(qe, { children: [
@@ -49622,7 +49670,7 @@ const Gbe = ({
49622
49670
  {
49623
49671
  className: X.progressFill,
49624
49672
  style: {
49625
- width: `${b}%`,
49673
+ width: `${w}%`,
49626
49674
  backgroundColor: N
49627
49675
  }
49628
49676
  }
@@ -49636,42 +49684,42 @@ const Gbe = ({
49636
49684
  ]
49637
49685
  }
49638
49686
  ),
49639
- w && /* @__PURE__ */ f("div", { className: X.footer, children: [
49687
+ b && /* @__PURE__ */ f("div", { className: X.footer, children: [
49640
49688
  $.map((K, he) => /* @__PURE__ */ r("div", { className: X.iconWrap, children: K }, `left-${he}`)),
49641
49689
  C.map((K, he) => /* @__PURE__ */ r("div", { className: X.iconWrap, children: K }, `right-${he}`))
49642
49690
  ] })
49643
49691
  ] }) });
49644
- }, ZMe = "_panel_1viix_1", XMe = "_header_1viix_13", YMe = "_headerLeft_1viix_23", JMe = "_title_1viix_30", QMe = "_closeButton_1viix_40", exe = "_paginationLoader_1viix_63", txe = "_messageList_1viix_71", axe = "_listLoading_1viix_86", nxe = "_empty_1viix_94", oxe = "_daySeparator_1viix_105", ixe = "_messageRow_1viix_118", rxe = "_fadeIn_1viix_1", cxe = "_incoming_1viix_138", sxe = "_outgoing_1viix_146", dxe = "_avatar_1viix_154", lxe = "_messageMeta_1viix_170", hxe = "_senderName_1viix_180", pxe = "_bubble_1viix_185", uxe = "_unread_1viix_209", yxe = "_scrollToBottomButton_1viix_243", kxe = "_scrollBtnVisible_1viix_263", mxe = "_scrollBtnIn_1viix_1", fxe = "_scrollBtnHiding_1viix_267", gxe = "_scrollBtnOut_1viix_1", vxe = "_composer_1viix_272", _xe = "_messageInput_1viix_281", Mxe = "_sendButton_1viix_315", xxe = "_messageListWrapper_1viix_340", xe = {
49645
- panel: ZMe,
49646
- header: XMe,
49647
- headerLeft: YMe,
49648
- title: JMe,
49649
- closeButton: QMe,
49650
- paginationLoader: exe,
49651
- messageList: txe,
49652
- listLoading: axe,
49653
- empty: nxe,
49654
- daySeparator: oxe,
49655
- messageRow: ixe,
49656
- fadeIn: rxe,
49657
- incoming: cxe,
49658
- outgoing: sxe,
49659
- avatar: dxe,
49660
- messageMeta: lxe,
49661
- senderName: hxe,
49662
- bubble: pxe,
49663
- unread: uxe,
49664
- scrollToBottomButton: yxe,
49665
- scrollBtnVisible: kxe,
49666
- scrollBtnIn: mxe,
49667
- scrollBtnHiding: fxe,
49668
- scrollBtnOut: gxe,
49669
- composer: vxe,
49670
- messageInput: _xe,
49671
- sendButton: Mxe,
49672
- messageListWrapper: xxe
49692
+ }, XMe = "_panel_1viix_1", YMe = "_header_1viix_13", JMe = "_headerLeft_1viix_23", QMe = "_title_1viix_30", exe = "_closeButton_1viix_40", txe = "_paginationLoader_1viix_63", axe = "_messageList_1viix_71", nxe = "_listLoading_1viix_86", oxe = "_empty_1viix_94", ixe = "_daySeparator_1viix_105", rxe = "_messageRow_1viix_118", cxe = "_fadeIn_1viix_1", sxe = "_incoming_1viix_138", dxe = "_outgoing_1viix_146", lxe = "_avatar_1viix_154", hxe = "_messageMeta_1viix_170", pxe = "_senderName_1viix_180", uxe = "_bubble_1viix_185", yxe = "_unread_1viix_209", kxe = "_scrollToBottomButton_1viix_243", mxe = "_scrollBtnVisible_1viix_263", fxe = "_scrollBtnIn_1viix_1", gxe = "_scrollBtnHiding_1viix_267", vxe = "_scrollBtnOut_1viix_1", _xe = "_composer_1viix_272", Mxe = "_messageInput_1viix_281", xxe = "_sendButton_1viix_315", bxe = "_messageListWrapper_1viix_340", xe = {
49693
+ panel: XMe,
49694
+ header: YMe,
49695
+ headerLeft: JMe,
49696
+ title: QMe,
49697
+ closeButton: exe,
49698
+ paginationLoader: txe,
49699
+ messageList: axe,
49700
+ listLoading: nxe,
49701
+ empty: oxe,
49702
+ daySeparator: ixe,
49703
+ messageRow: rxe,
49704
+ fadeIn: cxe,
49705
+ incoming: sxe,
49706
+ outgoing: dxe,
49707
+ avatar: lxe,
49708
+ messageMeta: hxe,
49709
+ senderName: pxe,
49710
+ bubble: uxe,
49711
+ unread: yxe,
49712
+ scrollToBottomButton: kxe,
49713
+ scrollBtnVisible: mxe,
49714
+ scrollBtnIn: fxe,
49715
+ scrollBtnHiding: gxe,
49716
+ scrollBtnOut: vxe,
49717
+ composer: _xe,
49718
+ messageInput: Mxe,
49719
+ sendButton: xxe,
49720
+ messageListWrapper: bxe
49673
49721
  };
49674
- function bxe(e, t = "fr") {
49722
+ function wxe(e, t = "fr") {
49675
49723
  return [...e].sort((n, o) => new Date(n.sentAt).getTime() - new Date(o.sentAt).getTime()).reduce((n, o) => {
49676
49724
  const i = new Date(o.sentAt), c = i.toLocaleDateString(t, {
49677
49725
  year: "numeric",
@@ -49684,7 +49732,7 @@ function bxe(e, t = "fr") {
49684
49732
  ] : [...n, { dayKey: c, date: i, messages: [o] }];
49685
49733
  }, []);
49686
49734
  }
49687
- function wxe(e, t = "fr") {
49735
+ function Lxe(e, t = "fr") {
49688
49736
  return new Intl.DateTimeFormat(t, {
49689
49737
  weekday: "short",
49690
49738
  day: "2-digit",
@@ -49692,18 +49740,18 @@ function wxe(e, t = "fr") {
49692
49740
  year: "numeric"
49693
49741
  }).format(e);
49694
49742
  }
49695
- function Lxe(e, t = "fr") {
49743
+ function Cxe(e, t = "fr") {
49696
49744
  return new Intl.DateTimeFormat(t, {
49697
49745
  hour: "2-digit",
49698
49746
  minute: "2-digit",
49699
49747
  hour12: !1
49700
49748
  }).format(new Date(e));
49701
49749
  }
49702
- function Cxe(e, t) {
49750
+ function Nxe(e, t) {
49703
49751
  return e.sender.id === t ? "outgoing" : e.isRead === !1 ? "unread" : "incoming";
49704
49752
  }
49705
- const Nxe = 300, Ixe = 220, Sxe = 60;
49706
- function $xe({
49753
+ const Ixe = 300, Sxe = 220, $xe = 60;
49754
+ function qxe({
49707
49755
  messages: e,
49708
49756
  currentSenderId: t,
49709
49757
  onSend: n,
@@ -49712,26 +49760,26 @@ function $xe({
49712
49760
  locale: c = "fr"
49713
49761
  }) {
49714
49762
  const s = G(null), d = G(null), l = G(null), [h, p] = B(""), [u, y] = B(!1), m = h.trim().length > 0 && !u;
49715
- E(() => {
49763
+ O(() => {
49716
49764
  const V = l.current;
49717
49765
  V && ((typeof CSS > "u" || !CSS.supports || !CSS.supports("field-sizing", "content")) && (V.style.height = "auto", V.style.height = `${Math.min(Math.max(V.scrollHeight, 60), 140)}px`), V.scrollTop = V.scrollHeight);
49718
49766
  }, [h]);
49719
- const [g, k] = B(!1), _ = G(!1), [M, v] = B("hidden"), b = G("hidden"), L = G(null), N = G(!1), I = de((V) => {
49720
- b.current = V, v(V);
49767
+ const [g, k] = B(!1), _ = G(!1), [M, v] = B("hidden"), w = G("hidden"), L = G(null), N = G(!1), I = de((V) => {
49768
+ w.current = V, v(V);
49721
49769
  }, []), x = de(() => {
49722
- L.current && clearTimeout(L.current), I("hiding"), L.current = setTimeout(() => I("hidden"), Ixe);
49770
+ L.current && clearTimeout(L.current), I("hiding"), L.current = setTimeout(() => I("hidden"), Sxe);
49723
49771
  }, [I]);
49724
- E(() => {
49772
+ O(() => {
49725
49773
  d.current?.scrollIntoView({ behavior: "instant" });
49726
- }, []), E(() => {
49774
+ }, []), O(() => {
49727
49775
  !N.current && !_.current && d.current?.scrollIntoView({ behavior: "smooth" });
49728
49776
  }, [e.length]);
49729
- const w = de(async () => {
49777
+ const b = de(async () => {
49730
49778
  const V = h.trim();
49731
49779
  if (!(!V || u)) {
49732
49780
  y(!0);
49733
49781
  try {
49734
- await n(V), p(""), N.current = !1, b.current !== "hidden" && x(), requestAnimationFrame(() => {
49782
+ await n(V), p(""), N.current = !1, w.current !== "hidden" && x(), requestAnimationFrame(() => {
49735
49783
  d.current?.scrollIntoView({ behavior: "smooth" });
49736
49784
  });
49737
49785
  } finally {
@@ -49740,16 +49788,16 @@ function $xe({
49740
49788
  }
49741
49789
  }, [h, u, n, x]), $ = de(
49742
49790
  (V) => {
49743
- V.preventDefault(), w().catch(() => {
49791
+ V.preventDefault(), b().catch(() => {
49744
49792
  });
49745
49793
  },
49746
- [w]
49794
+ [b]
49747
49795
  ), C = de(
49748
49796
  (V) => {
49749
- V.key === "Enter" && !V.shiftKey && !V.nativeEvent.isComposing && (V.preventDefault(), w().catch(() => {
49797
+ V.key === "Enter" && !V.shiftKey && !V.nativeEvent.isComposing && (V.preventDefault(), b().catch(() => {
49750
49798
  }));
49751
49799
  },
49752
- [w]
49800
+ [b]
49753
49801
  ), S = de(() => {
49754
49802
  d.current?.scrollIntoView({ behavior: "smooth" });
49755
49803
  }, []), q = de(async () => {
@@ -49764,19 +49812,19 @@ function $xe({
49764
49812
  }, [i]), z = de(() => {
49765
49813
  const V = s.current;
49766
49814
  if (!V) return;
49767
- const H = V.scrollHeight - V.scrollTop - V.clientHeight > Nxe;
49815
+ const H = V.scrollHeight - V.scrollTop - V.clientHeight > Ixe;
49768
49816
  N.current = H;
49769
- const W = b.current;
49770
- H ? (W === "hidden" || W === "hiding") && (L.current && clearTimeout(L.current), I("visible")) : W === "visible" && x(), V.scrollTop < Sxe && o && !_.current && q().catch(() => {
49817
+ const W = w.current;
49818
+ H ? (W === "hidden" || W === "hiding") && (L.current && clearTimeout(L.current), I("visible")) : W === "visible" && x(), V.scrollTop < $xe && o && !_.current && q().catch(() => {
49771
49819
  });
49772
- }, [o, q, I, x]), D = bxe(e, c), T = de(
49773
- (V, F) => Cxe(V, F ?? t),
49820
+ }, [o, q, I, x]), D = wxe(e, c), T = de(
49821
+ (V, F) => Nxe(V, F ?? t),
49774
49822
  [t]
49775
49823
  ), P = de(
49776
- (V, F) => wxe(V, F ?? c),
49824
+ (V, F) => Lxe(V, F ?? c),
49777
49825
  [c]
49778
49826
  ), A = de(
49779
- (V, F) => Lxe(V, F ?? c),
49827
+ (V, F) => Cxe(V, F ?? c),
49780
49828
  [c]
49781
49829
  );
49782
49830
  return {
@@ -49816,7 +49864,7 @@ const hq = () => /* @__PURE__ */ f(
49816
49864
  /* @__PURE__ */ r("path", { d: "M12 2v4M12 18v4M4.93 4.93l2.83 2.83M16.24 16.24l2.83 2.83M2 12h4M18 12h4M4.93 19.07l2.83-2.83M16.24 7.76l2.83-2.83" })
49817
49865
  ]
49818
49866
  }
49819
- ), ewe = ({
49867
+ ), twe = ({
49820
49868
  messages: e,
49821
49869
  currentSenderId: t,
49822
49870
  onSend: n,
@@ -49838,12 +49886,12 @@ const hq = () => /* @__PURE__ */ f(
49838
49886
  }) => {
49839
49887
  const {
49840
49888
  listRef: v,
49841
- bottomAnchorRef: b,
49889
+ bottomAnchorRef: w,
49842
49890
  textareaRef: L,
49843
49891
  draft: N,
49844
49892
  setDraft: I,
49845
49893
  canSend: x,
49846
- sending: w,
49894
+ sending: b,
49847
49895
  handleFormSubmit: $,
49848
49896
  handleKeyDown: C,
49849
49897
  scrollBtnState: S,
@@ -49854,7 +49902,7 @@ const hq = () => /* @__PURE__ */ f(
49854
49902
  getBubbleVariant: P,
49855
49903
  formatDayLabel: A,
49856
49904
  formatHour: V
49857
- } = $xe({ messages: e, currentSenderId: t, onSend: n, hasMore: i, onLoadMore: c, locale: m });
49905
+ } = qxe({ messages: e, currentSenderId: t, onSend: n, hasMore: i, onLoadMore: c, locale: m });
49858
49906
  return /* @__PURE__ */ f("div", { className: `${xe.panel} ${k}`, children: [
49859
49907
  /* @__PURE__ */ f("div", { className: xe.header, children: [
49860
49908
  /* @__PURE__ */ f("div", { className: xe.headerLeft, children: [
@@ -49923,7 +49971,7 @@ const hq = () => /* @__PURE__ */ f(
49923
49971
  );
49924
49972
  })
49925
49973
  ] }, F.dayKey)),
49926
- /* @__PURE__ */ r("div", { ref: b, "aria-hidden": "true" })
49974
+ /* @__PURE__ */ r("div", { ref: w, "aria-hidden": "true" })
49927
49975
  ]
49928
49976
  }
49929
49977
  ),
@@ -49950,13 +49998,13 @@ const hq = () => /* @__PURE__ */ f(
49950
49998
  placeholder: p,
49951
49999
  "aria-label": p,
49952
50000
  rows: 1,
49953
- disabled: w
50001
+ disabled: b
49954
50002
  }
49955
50003
  ),
49956
50004
  /* @__PURE__ */ r("button", { type: "submit", className: xe.sendButton, disabled: !x, children: u })
49957
50005
  ] })
49958
50006
  ] });
49959
- }, twe = ({
50007
+ }, awe = ({
49960
50008
  title: e,
49961
50009
  titleBold: t,
49962
50010
  titleKey: n,
@@ -50005,7 +50053,7 @@ const hq = () => /* @__PURE__ */ f(
50005
50053
  g.id
50006
50054
  )) })
50007
50055
  ] });
50008
- }, awe = ({
50056
+ }, nwe = ({
50009
50057
  id: e,
50010
50058
  data: t,
50011
50059
  children: n,
@@ -50026,7 +50074,7 @@ const hq = () => /* @__PURE__ */ f(
50026
50074
  className: o,
50027
50075
  children: n
50028
50076
  }
50029
- ), nwe = ({
50077
+ ), owe = ({
50030
50078
  id: e,
50031
50079
  onDrop: t,
50032
50080
  children: n,
@@ -50063,7 +50111,7 @@ const hq = () => /* @__PURE__ */ f(
50063
50111
  children: n
50064
50112
  }
50065
50113
  );
50066
- }, owe = (e) => /* @__PURE__ */ r(qxe, { ...e }), qxe = O.textarea`
50114
+ }, iwe = (e) => /* @__PURE__ */ r(Axe, { ...e }), Axe = E.textarea`
50067
50115
  padding: 0.5rem 0.875rem;
50068
50116
  border: 0.0625rem solid var(--color-border, #dee2e6);
50069
50117
  border-radius: var(--radius-content, 0.5rem);
@@ -50078,147 +50126,147 @@ const hq = () => /* @__PURE__ */ f(
50078
50126
  }
50079
50127
  `;
50080
50128
  export {
50081
- Rbe as ActionCard,
50129
+ Fbe as ActionCard,
50082
50130
  fi as AddItemModal,
50083
50131
  yz as Alert,
50084
- nbe as AlertsProvider,
50085
- Kbe as AvailabilitySummaryPanel,
50132
+ obe as AlertsProvider,
50133
+ Zbe as AvailabilitySummaryPanel,
50086
50134
  OV as BadgeList,
50087
50135
  e3e as BadgeRenderer,
50088
50136
  eC as Button,
50089
- abe as ChartContainer,
50137
+ nbe as ChartContainer,
50090
50138
  Lye as CheckboxInput,
50091
50139
  qN as CircularProgress,
50092
50140
  a4e as ColorInput,
50093
50141
  HN as ComponentVisibilityManager,
50094
- wbe as ComponentVisibilityToggle,
50095
- jbe as ConfirmationModal,
50096
- vbe as ConfirmationPopup,
50097
- kbe as CounterListBox,
50142
+ Lbe as ComponentVisibilityToggle,
50143
+ Rbe as ConfirmationModal,
50144
+ _be as ConfirmationPopup,
50145
+ mbe as CounterListBox,
50098
50146
  n3e as CurrencyRenderer,
50099
50147
  g_e as DEFAULT_BED_LEVEL_COLORS,
50100
- xbe as DashboardSummary,
50148
+ bbe as DashboardSummary,
50101
50149
  Ut as DataBoard,
50102
50150
  c8e as DataFourBoards,
50103
- twe as DataListV2,
50151
+ awe as DataListV2,
50104
50152
  Zye as DateInput,
50105
50153
  J$ as DatePicker,
50106
50154
  t3e as DateRenderer,
50107
- Bxe as DayStatCard,
50108
- Lbe as DayStatCardV2,
50109
- Obe as DonutChartRatio,
50110
- awe as Draggable,
50111
- Fxe as DraggableProvider,
50155
+ jxe as DayStatCard,
50156
+ Cbe as DayStatCardV2,
50157
+ Ube as DonutChartRatio,
50158
+ nwe as Draggable,
50159
+ Exe as DraggableProvider,
50112
50160
  tC as DraggableSwitcherButton,
50113
- nwe as Droppable,
50114
- Yxe as DynamicForm,
50161
+ owe as Droppable,
50162
+ Jxe as DynamicForm,
50115
50163
  j$ as DynamicIcon,
50116
50164
  n4e as DynamicInput,
50117
50165
  Jke as EmailRenderer,
50118
- bbe as Encours,
50119
- ube as EntryControl,
50166
+ wbe as Encours,
50167
+ ybe as EntryControl,
50120
50168
  Fye as FileInput,
50121
- Abe as FilterBar,
50122
- Fbe as FiltreEtiquette,
50123
- fbe as FlexRowContainer,
50169
+ zbe as FilterBar,
50170
+ Ebe as FiltreEtiquette,
50171
+ gbe as FlexRowContainer,
50124
50172
  a0e as Grid,
50125
- Uxe as Header,
50126
- qbe as HierarchicalTableLayout,
50127
- Cbe as HorizontalBarChart,
50173
+ Wxe as Header,
50174
+ Abe as HierarchicalTableLayout,
50175
+ Nbe as HorizontalBarChart,
50128
50176
  p0e as IconText,
50129
50177
  o3e as ImageRenderer,
50130
- zbe as IndicatorItemV2,
50131
- Vbe as InfoBanner,
50178
+ Vbe as IndicatorItemV2,
50179
+ Pbe as InfoBanner,
50132
50180
  pN as InputWrapper,
50133
- Exe as LegendFilterProvider,
50181
+ Oxe as LegendFilterProvider,
50134
50182
  aC as LegendFilterSwitcherButton,
50135
- cwe as LineChart,
50183
+ swe as LineChart,
50136
50184
  Qke as LinkRenderer,
50137
- gbe as ListContentContainer,
50185
+ vbe as ListContentContainer,
50138
50186
  $C as Logo,
50139
- ewe as MessageThread,
50140
- ewe as MessageThreadComponent,
50187
+ twe as MessageThread,
50188
+ twe as MessageThreadComponent,
50141
50189
  yme as MetricsPanel,
50142
- Wbe as MobileMenuHeader,
50190
+ Gbe as MobileMenuHeader,
50143
50191
  J8e as MobileNavMenu,
50144
- Ube as MobileTopBar,
50145
- lbe as ModuleHeader,
50146
- hbe as ModuleSideBar,
50147
- Hbe as ModuleSideBarV2,
50148
- Wxe as MovementCard,
50192
+ Wbe as MobileTopBar,
50193
+ hbe as ModuleHeader,
50194
+ pbe as ModuleSideBar,
50195
+ Dbe as ModuleSideBarV2,
50196
+ Gxe as MovementCard,
50149
50197
  n0e as NavBar,
50150
- Nbe as NavBarV2,
50198
+ Ibe as NavBarV2,
50151
50199
  AN as NavItem,
50152
50200
  fz as NavItemV2,
50153
- jxe as NavProvider,
50201
+ Rxe as NavProvider,
50154
50202
  a3e as NumberRenderer,
50155
- tbe as PaginationBar,
50156
- Qbe as PatientCard,
50157
- Ybe as PatientDetailsPanel,
50158
- Jbe as PatientInfoCard,
50159
- swe as PeriodRange,
50160
- rbe as PeriodSelect,
50161
- Pbe as PopUp,
50203
+ abe as PaginationBar,
50204
+ ewe as PatientCard,
50205
+ Jbe as PatientDetailsPanel,
50206
+ Qbe as PatientInfoCard,
50207
+ dwe as PeriodRange,
50208
+ cbe as PeriodSelect,
50209
+ Tbe as PopUp,
50162
50210
  Cye as RadioInput,
50163
50211
  Jye as RangeInput,
50164
50212
  x0e as ScrollableHorizontale,
50165
50213
  Ame as SearchBar,
50166
- Dbe as SearchableModuleSideBar,
50214
+ Bbe as SearchableModuleSideBar,
50167
50215
  M7e as Select,
50168
- Mbe as SelectFilter,
50216
+ xbe as SelectFilter,
50169
50217
  nz as SelectInput,
50170
- Tbe as SettingNavBar,
50171
- Oxe as ShowDataProvider,
50218
+ Hbe as SettingNavBar,
50219
+ Uxe as ShowDataProvider,
50172
50220
  nC as ShowDataSwitcherButton,
50173
- cbe as SideComponent,
50174
- dwe as SimpleBarChart,
50175
- ybe as SimpleListBox,
50176
- Zbe as Slider,
50177
- Gxe as StatusTile,
50178
- Sbe as SubHeaderContent,
50221
+ sbe as SideComponent,
50222
+ lwe as SimpleBarChart,
50223
+ kbe as SimpleListBox,
50224
+ Xbe as Slider,
50225
+ Kxe as StatusTile,
50226
+ $be as SubHeaderContent,
50179
50227
  R8e as SubHeaderNavItem,
50180
- Ibe as SubHeaderTitle,
50181
- Kxe as SubNavBar,
50182
- Ebe as SummaryAvailable,
50228
+ Sbe as SubHeaderTitle,
50229
+ Zxe as SubNavBar,
50230
+ Obe as SummaryAvailable,
50183
50231
  dme as SummaryCard,
50184
50232
  zb as Switcher,
50185
50233
  lge as TableLayout,
50186
50234
  y3e as TableauDynamique,
50187
- ebe as TableauDynamiqueSafePagination,
50235
+ tbe as TableauDynamiqueSafePagination,
50188
50236
  lge as TableauxComponent,
50189
50237
  oye as TextInput,
50190
50238
  Yke as TextRenderer,
50191
- owe as Textarea,
50239
+ iwe as Textarea,
50192
50240
  uye as TextareaInput,
50193
- Rxe as ThemeProvider,
50194
- $be as ThemeSwitcher,
50241
+ Fxe as ThemeProvider,
50242
+ qbe as ThemeSwitcher,
50195
50243
  zN as ThemeSwitcherButton,
50196
- Xbe as TimePicker,
50197
- dbe as Title,
50198
- pbe as TranslationKey,
50199
- Bbe as TranslationKeyV2,
50244
+ Ybe as TimePicker,
50245
+ lbe as Title,
50246
+ ube as TranslationKey,
50247
+ jbe as TranslationKeyV2,
50200
50248
  I0e as TrendItem,
50201
- Xxe as TrendList,
50202
- mbe as TrendListBox,
50203
- Gbe as UnitGrid,
50249
+ Yxe as TrendList,
50250
+ fbe as TrendListBox,
50251
+ Kbe as UnitGrid,
50204
50252
  m8e as UserInfo,
50205
- ibe as alertModels,
50206
- wxe as formatDayLabel,
50207
- Lxe as formatHour,
50253
+ rbe as alertModels,
50254
+ Lxe as formatDayLabel,
50255
+ Cxe as formatHour,
50208
50256
  te as getA11yTooltip,
50209
- Cxe as getBubbleVariant,
50210
- Jxe as getFormSchema,
50211
- bxe as groupByDay,
50257
+ Nxe as getBubbleVariant,
50258
+ Qxe as getFormSchema,
50259
+ wxe as groupByDay,
50212
50260
  j1 as hexToRgba,
50213
- Qxe as registerRenderer,
50261
+ ebe as registerRenderer,
50214
50262
  F$ as tableConfig,
50215
- obe as useAlerts,
50216
- sbe as useBodyScrollLock,
50217
- _be as useConfirmationPopup,
50263
+ ibe as useAlerts,
50264
+ dbe as useBodyScrollLock,
50265
+ Mbe as useConfirmationPopup,
50218
50266
  r0e as useDraggableSwitcher,
50219
50267
  Kke as useFilters,
50220
50268
  s0e as useLegendFilterSwitcher,
50221
- $xe as useMessageThread,
50269
+ qxe as useMessageThread,
50222
50270
  Vt as useNavigation,
50223
50271
  d0e as useShowDataSwitcher,
50224
50272
  Xke as useTableData,