@stokelp/ui 2.89.3 → 2.89.4

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/ui.js CHANGED
@@ -77,12 +77,12 @@ const t0 = (...c) => c.filter(Boolean).join(" "), e1 = (c, u) => {
77
77
  fill: "white"
78
78
  }
79
79
  ) }), Ea = C1((c, u) => {
80
- const [n, v] = J7.splitVariantProps(c), [R, x] = i2(v), { children: H, className: V, ...y } = x, P = J7(n);
80
+ const [n, v] = J7.splitVariantProps(c), [w, x] = i2(v), { children: H, className: V, ...y } = x, P = J7(n);
81
81
  return /* @__PURE__ */ r(
82
82
  K1.Root,
83
83
  {
84
84
  ref: u,
85
- className: t2(P.root, L5(R), V),
85
+ className: t2(P.root, L5(w), V),
86
86
  ...y,
87
87
  value: y.value,
88
88
  children: [
@@ -122,9 +122,9 @@ const yL = W5(dC, "header"), FL = W5(s(b1.Title), "title"), PL = W5(s(b1.Trigger
122
122
  ({ children: c, ...u }, n) => {
123
123
  const v = tC(`(max-width: ${L9("breakpoints.md")})`, {
124
124
  defaultValue: !1
125
- }), { open: R, getContentProps: x } = q0();
125
+ }), { open: w, getContentProps: x } = q0();
126
126
  return q2(() => {
127
- if (!R) return;
127
+ if (!w) return;
128
128
  const { id: H } = x();
129
129
  if (!H) return;
130
130
  const V = document.getElementById(H);
@@ -132,7 +132,7 @@ const yL = W5(dC, "header"), FL = W5(s(b1.Title), "title"), PL = W5(s(b1.Trigger
132
132
  const y = V.querySelector("footer");
133
133
  y && (v ? V.style.setProperty("--footer-height", `${Math.ceil(y.clientHeight)}px`) : V.style.setProperty("--footer-height", "70px"));
134
134
  }
135
- }, [R, v]), /* @__PURE__ */ r(f5, { children: [
135
+ }, [w, v]), /* @__PURE__ */ r(f5, { children: [
136
136
  /* @__PURE__ */ C($a, {}),
137
137
  /* @__PURE__ */ C(Oa, { children: /* @__PURE__ */ C(b1.Content, { ref: n, ...u, children: c }) })
138
138
  ] });
@@ -163,10 +163,10 @@ const AL = W5(s(aC), "content"), BL = b1.Context, Ga = s("div", kd, {
163
163
  children: u,
164
164
  withArrow: n = !0,
165
165
  displayOnTruncate: v = !1,
166
- ...R
166
+ ...w
167
167
  }) => {
168
168
  var z;
169
- const [x, H] = i2(R), V = j2(null), [y, P] = E5(!1), q = ya(u) && v ? Z2(u, { ref: V }) : u, A = () => {
169
+ const [x, H] = i2(w), V = j2(null), [y, P] = E5(!1), q = ya(u) && v ? Z2(u, { ref: V }) : u, A = () => {
170
170
  const X = V.current;
171
171
  X && P(X.scrollWidth > X.clientWidth || X.scrollHeight > X.clientHeight);
172
172
  };
@@ -183,7 +183,7 @@ const AL = W5(s(aC), "content"), BL = b1.Context, Ga = s("div", kd, {
183
183
  ] }) }) })
184
184
  ] });
185
185
  }, Ja = s("label", a9), IL = (c) => {
186
- const [u, n] = a9.splitVariantProps(c), [v, R] = i2(n), { children: x, className: H, addon: V, tooltipInformation: y, ...P } = R, q = a9(u);
186
+ const [u, n] = a9.splitVariantProps(c), [v, w] = i2(n), { children: x, className: H, addon: V, tooltipInformation: y, ...P } = w, q = a9(u);
187
187
  return /* @__PURE__ */ r(Ja, { className: t2(q.root, L5(v), H), ...P, children: [
188
188
  x,
189
189
  V ? /* @__PURE__ */ C("span", { className: q.addon, children: V }) : null,
@@ -212,8 +212,8 @@ const AL = W5(s(aC), "content"), BL = b1.Context, Ga = s("div", kd, {
212
212
  const { as: u = "h2", ...n } = c, v = $2(() => s(u, Wd), [u]);
213
213
  return /* @__PURE__ */ C(v, { size: u, ...n });
214
214
  }, Cc = C1((c, u) => {
215
- const [n, v] = C0.splitVariantProps(c), [R, x] = i2(v), { children: H, className: V, ...y } = x, P = C0(n);
216
- return /* @__PURE__ */ r(Z5.Root, { ref: u, className: t2(P.root, L5(R), V), ...y, children: [
215
+ const [n, v] = C0.splitVariantProps(c), [w, x] = i2(v), { children: H, className: V, ...y } = x, P = C0(n);
216
+ return /* @__PURE__ */ r(Z5.Root, { ref: u, className: t2(P.root, L5(w), V), ...y, children: [
217
217
  /* @__PURE__ */ C(Z5.Control, { className: P.control, children: /* @__PURE__ */ C(Z5.Thumb, { className: P.thumb }) }),
218
218
  H ? /* @__PURE__ */ C(Z5.Label, { className: P.label, children: H }) : null,
219
219
  /* @__PURE__ */ C(Z5.HiddenInput, {})
@@ -254,19 +254,19 @@ const WL = I3(s(cC), "list"), N5 = ({ children: c, when: u, wrapper: n }) => u ?
254
254
  )
255
255
  ] });
256
256
  function fc({ placeholder: c, allSelectedLabel: u }) {
257
- const n = F3(), v = n.collection.items, R = n.selectedItems;
258
- return n.multiple && R.filter((x) => !x.disabled).length >= v.filter((x) => !x.disabled).length && u ? /* @__PURE__ */ C(V4, { className: "custom", truncate: !0, children: u }) : /* @__PURE__ */ C(V4, { truncate: !0, placeholder: c });
257
+ const n = F3(), v = n.collection.items, w = n.selectedItems;
258
+ return n.multiple && w.filter((x) => !x.disabled).length >= v.filter((x) => !x.disabled).length && u ? /* @__PURE__ */ C(V4, { className: "custom", truncate: !0, children: u }) : /* @__PURE__ */ C(V4, { truncate: !0, placeholder: c });
259
259
  }
260
260
  function Lc({
261
261
  renderTrigger: c,
262
262
  placeholder: u,
263
263
  allSelectedLabel: n
264
264
  }) {
265
- const v = F3(), R = v.value && v.value.length > 0 ? v.collection.findMany(v.value) : [];
266
- if (R.length === 0)
265
+ const v = F3(), w = v.value && v.value.length > 0 ? v.collection.findMany(v.value) : [];
266
+ if (w.length === 0)
267
267
  return /* @__PURE__ */ C(V4, { className: "custom", truncate: !0, placeholder: u });
268
268
  const x = v.selectedItems;
269
- return v.multiple && x.filter((H) => !H.disabled).length >= v.collection.items.filter((H) => !H.disabled).length && n ? /* @__PURE__ */ C(V4, { className: "custom", truncate: !0, children: n }) : /* @__PURE__ */ C(V4, { className: "custom", placeholder: u, children: R.map((H) => /* @__PURE__ */ C("span", { children: c(H) }, H.value)) });
269
+ return v.multiple && x.filter((H) => !H.disabled).length >= v.collection.items.filter((H) => !H.disabled).length && n ? /* @__PURE__ */ C(V4, { className: "custom", truncate: !0, children: n }) : /* @__PURE__ */ C(V4, { className: "custom", placeholder: u, children: w.map((H) => /* @__PURE__ */ C("span", { children: c(H) }, H.value)) });
270
270
  }
271
271
  function r0({ item: c, isMultiple: u, renderItem: n }) {
272
272
  const v = gd();
@@ -280,7 +280,7 @@ function OL({
280
280
  placeholder: u,
281
281
  emptyLabel: n,
282
282
  usePortal: v = !0,
283
- positioning: R,
283
+ positioning: w,
284
284
  renderItem: x,
285
285
  renderTrigger: H,
286
286
  virtualized: V,
@@ -296,7 +296,7 @@ function OL({
296
296
  lazyMount: !0,
297
297
  unmountOnExit: !0,
298
298
  collection: q,
299
- positioning: { sameWidth: !0, gutter: 0, ...R },
299
+ positioning: { sameWidth: !0, gutter: 0, ...w },
300
300
  "data-recipe": "select",
301
301
  ...P,
302
302
  ref: (z) => {
@@ -407,7 +407,7 @@ const { withProvider: Mc, withContext: H2 } = e1(qd), vc = Mc(s(O.Root), "root",
407
407
  variant: n = "default",
408
408
  ...v
409
409
  }) => {
410
- const R = P4({
410
+ const w = P4({
411
411
  items: n0
412
412
  });
413
413
  return /* @__PURE__ */ r(
@@ -416,7 +416,7 @@ const { withProvider: Mc, withContext: H2 } = e1(qd), vc = Mc(s(O.Root), "root",
416
416
  lazyMount: !0,
417
417
  unmountOnExit: !0,
418
418
  multiple: !1,
419
- collection: R,
419
+ collection: w,
420
420
  positioning: { sameWidth: !0, gutter: 0, ...u },
421
421
  "data-recipe": "select-language",
422
422
  defaultValue: ["en"],
@@ -453,13 +453,13 @@ const { withProvider: Mc, withContext: H2 } = e1(qd), vc = Mc(s(O.Root), "root",
453
453
  }), d0 = s("div", Qd, {
454
454
  dataAttr: !0
455
455
  }), _c = s(Ad, Kd, { dataAttr: !0 }), GL = C1((c, u) => {
456
- const [n, v] = E5(), [R, x] = E5();
456
+ const [n, v] = E5(), [w, x] = E5();
457
457
  return /* @__PURE__ */ C(
458
458
  _c,
459
459
  {
460
460
  international: !0,
461
461
  defaultCountry: "FR",
462
- value: R,
462
+ value: w,
463
463
  onChange: x,
464
464
  country: n,
465
465
  onCountryChange: v,
@@ -510,17 +510,17 @@ const { withProvider: Mc, withContext: H2 } = e1(qd), vc = Mc(s(O.Root), "root",
510
510
  preflightClassName: u,
511
511
  selectionMode: n,
512
512
  clearValueWhenEmpty: v = !0,
513
- ...R
513
+ ...w
514
514
  }) => {
515
515
  const x = n === "range";
516
516
  return /* @__PURE__ */ r(
517
517
  yc,
518
518
  {
519
- ...R,
519
+ ...w,
520
520
  selectionMode: n,
521
521
  onValueChange: (H) => {
522
522
  var V;
523
- return (V = R.onValueChange) == null ? void 0 : V.call(R, { ...H, valueAsString: H.value.length ? [H.value.toString()] : [] });
523
+ return (V = w.onValueChange) == null ? void 0 : V.call(w, { ...H, valueAsString: H.value.length ? [H.value.toString()] : [] });
524
524
  },
525
525
  children: [
526
526
  /* @__PURE__ */ C(u1.Context, { children: (H) => /* @__PURE__ */ r(Pc, { children: [
@@ -587,8 +587,8 @@ const { withProvider: Mc, withContext: H2 } = e1(qd), vc = Mc(s(O.Root), "root",
587
587
  }
588
588
  );
589
589
  }, Yc = C1((c, u) => {
590
- const [n, v] = e0.splitVariantProps(c), [R, x] = i2(v), { children: H, className: V, ...y } = x, P = e0(n);
591
- return /* @__PURE__ */ r(T.div, { ref: u, className: t2(P.root, L5(R), V), ...y, children: [
590
+ const [n, v] = e0.splitVariantProps(c), [w, x] = i2(v), { children: H, className: V, ...y } = x, P = e0(n);
591
+ return /* @__PURE__ */ r(T.div, { ref: u, className: t2(P.root, L5(w), V), ...y, children: [
592
592
  H,
593
593
  /* @__PURE__ */ C(Bd, { className: t2(P.badge), borderRadius: "full" })
594
594
  ] });
@@ -689,9 +689,9 @@ const { withProvider: Mc, withContext: H2 } = e1(qd), vc = Mc(s(O.Root), "root",
689
689
  ) });
690
690
  }
691
691
  }, oM = C1(
692
- ({ title: c, description: u, showDismissTrigger: n, onDismiss: v, severity: R, showIcon: x = !0, icon: H, ...V }, y) => /* @__PURE__ */ r(nh, { ref: y, severity: R, ...V, children: [
692
+ ({ title: c, description: u, showDismissTrigger: n, onDismiss: v, severity: w, showIcon: x = !0, icon: H, ...V }, y) => /* @__PURE__ */ r(nh, { ref: y, severity: w, ...V, children: [
693
693
  /* @__PURE__ */ r(dh, { children: [
694
- x ? /* @__PURE__ */ C(oh, { asChild: !0, children: H || ch(R) }) : null,
694
+ x ? /* @__PURE__ */ C(oh, { asChild: !0, children: H || ch(w) }) : null,
695
695
  c,
696
696
  n ? /* @__PURE__ */ C(w2, { ml: "auto", onClick: v, size: "sm", variant: "tertiary", "aria-label": "dismiss", children: /* @__PURE__ */ C("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ C(
697
697
  "path",
@@ -726,7 +726,7 @@ const { withProvider: Mc, withContext: H2 } = e1(qd), vc = Mc(s(O.Root), "root",
726
726
  throw new Error("useTable must be used within a <TableProvider/>");
727
727
  return c;
728
728
  }, ph = ({ children: c, onSortChange: u, descriptor: n }) => {
729
- const [v, R] = Fa(hh, {
729
+ const [v, w] = Fa(hh, {
730
730
  sortDescriptor: n ?? null
731
731
  });
732
732
  f9(() => {
@@ -734,21 +734,21 @@ const { withProvider: Mc, withContext: H2 } = e1(qd), vc = Mc(s(O.Root), "root",
734
734
  }, [JSON.stringify(v.sortDescriptor)]);
735
735
  const x = {
736
736
  ...v,
737
- dispatch: R
737
+ dispatch: w
738
738
  };
739
739
  return /* @__PURE__ */ C(hC.Provider, { value: x, children: c });
740
740
  }, { withProvider: sh, withContext: m2 } = e1(ra), dM = s("div", na), fh = sh(s("table"), "root"), Lh = C1(
741
- ({ children: c, onSortChange: u, descriptor: n, ...v }, R) => /* @__PURE__ */ C(ph, { descriptor: n, onSortChange: u, children: /* @__PURE__ */ C(fh, { ref: R, ...v, children: c }) })
741
+ ({ children: c, onSortChange: u, descriptor: n, ...v }, w) => /* @__PURE__ */ C(ph, { descriptor: n, onSortChange: u, children: /* @__PURE__ */ C(fh, { ref: w, ...v, children: c }) })
742
742
  );
743
743
  Lh.displayName = "Table";
744
744
  const aM = m2(s("thead"), "thead"), s0 = m2(s("div"), "sortIndicatorRoot"), x3 = m2(s("svg"), "sortIndicator"), cM = m2(s("tbody"), "tbody"), hM = m2(s("tr"), "tr"), Mh = m2(s("th"), "th"), vh = C1(
745
- ({ children: c, addon: u, sortKey: n, onClick: v, ...R }, x) => {
745
+ ({ children: c, addon: u, sortKey: n, onClick: v, ...w }, x) => {
746
746
  const { dispatch: H, sortDescriptor: V } = uh();
747
747
  return /* @__PURE__ */ r(
748
748
  Mh,
749
749
  {
750
750
  ref: x,
751
- ...R,
751
+ ...w,
752
752
  ...n ? { "data-sortable": !0 } : {},
753
753
  role: "group",
754
754
  onClick: (P) => {
@@ -814,9 +814,9 @@ vh.displayName = "Th";
814
814
  const uM = m2(s("td"), "td"), gh = s("td", oa), Zh = C1((c, u) => {
815
815
  const n = j2(null);
816
816
  return q2(() => {
817
- var v, R;
817
+ var v, w;
818
818
  if (n.current) {
819
- const x = (R = (v = n.current) == null ? void 0 : v.closest("table")) == null ? void 0 : R.querySelector("thead > tr");
819
+ const x = (w = (v = n.current) == null ? void 0 : v.closest("table")) == null ? void 0 : w.querySelector("thead > tr");
820
820
  x && n.current.setAttribute("colspan", x.children.length.toString());
821
821
  }
822
822
  }, []), /* @__PURE__ */ C("tr", { ref: u, className: "table_tr__group__title", children: /* @__PURE__ */ C(gh, { ref: n, ...c }) });
@@ -825,9 +825,9 @@ Zh.displayName = "TableGroupTitle";
825
825
  const wh = s("td", da), Rh = C1((c, u) => {
826
826
  const n = j2(null);
827
827
  return q2(() => {
828
- var v, R;
828
+ var v, w;
829
829
  if (n.current) {
830
- const x = (R = (v = n.current) == null ? void 0 : v.closest("table")) == null ? void 0 : R.querySelector("thead > tr");
830
+ const x = (w = (v = n.current) == null ? void 0 : v.closest("table")) == null ? void 0 : w.querySelector("thead > tr");
831
831
  x && n.current.setAttribute("colspan", x.children.length.toString());
832
832
  }
833
833
  }, []), /* @__PURE__ */ C("tr", { ref: u, className: "table_tr__empty", children: /* @__PURE__ */ C(wh, { ref: n, ...c }) });
@@ -843,12 +843,12 @@ const { withProvider: Hh, withContext: Z9 } = e1(aa), mh = Hh(s("nav"), "root"),
843
843
  }
844
844
  ) }), fM = C1(
845
845
  ({ children: c, separator: u = xh, ...n }, v) => {
846
- const R = u9.toArray(
846
+ const w = u9.toArray(
847
847
  Aa.isFragment(c) ? void 0 : c
848
848
  );
849
- return /* @__PURE__ */ C(mh, { ...n, "aria-label": n["aria-label"] ?? "breadcrumb", ref: v, children: /* @__PURE__ */ C(Vh, { children: R.map((x, H) => Z2(x, {
850
- "aria-current": H === R.length - 1 ? "page" : void 0,
851
- children: H === R.length - 1 ? x.props.children : /* @__PURE__ */ r(f5, { children: [
849
+ return /* @__PURE__ */ C(mh, { ...n, "aria-label": n["aria-label"] ?? "breadcrumb", ref: v, children: /* @__PURE__ */ C(Vh, { children: w.map((x, H) => Z2(x, {
850
+ "aria-current": H === w.length - 1 ? "page" : void 0,
851
+ children: H === w.length - 1 ? x.props.children : /* @__PURE__ */ r(f5, { children: [
852
852
  x.props.children,
853
853
  u ? /* @__PURE__ */ C(f5, { children: typeof u == "object" ? Z2(u) : /* @__PURE__ */ C("span", { role: "presentation", children: u }) }) : null
854
854
  ] })
@@ -872,28 +872,28 @@ function yh({
872
872
  onChange: v = () => {
873
873
  }
874
874
  }) {
875
- const [R, x] = E5(u !== void 0 ? u : n), H = (V, ...y) => {
875
+ const [w, x] = E5(u !== void 0 ? u : n), H = (V, ...y) => {
876
876
  x(V), v == null || v(V, ...y);
877
877
  };
878
- return c !== void 0 ? [c, v, !0] : [R, H, !1];
878
+ return c !== void 0 ? [c, v, !0] : [w, H, !1];
879
879
  }
880
880
  function e2(c, u) {
881
881
  const n = u - c + 1;
882
- return Array.from({ length: n }, (v, R) => R + c);
882
+ return Array.from({ length: n }, (v, w) => w + c);
883
883
  }
884
884
  const H4 = Symbol("dots"), Fh = ({
885
885
  total: c,
886
886
  siblings: u = 1,
887
887
  boundaries: n = 1,
888
888
  page: v,
889
- initialPage: R = 1,
889
+ initialPage: w = 1,
890
890
  onChange: x
891
891
  }) => {
892
892
  const H = Math.max(Math.trunc(c), 0), [V, y] = yh({
893
893
  value: v,
894
894
  onChange: x,
895
- defaultValue: R,
896
- finalValue: R
895
+ defaultValue: w,
896
+ finalValue: w
897
897
  }), P = (p1) => {
898
898
  p1 <= 0 ? y(1) : p1 > H ? y(H) : y(p1);
899
899
  }, q = () => P(V + 1), A = () => P(V - 1), z = () => P(1), X = () => P(H);
@@ -932,7 +932,7 @@ const H4 = Symbol("dots"), Fh = ({
932
932
  value: u,
933
933
  defaultValue: n,
934
934
  onChange: v,
935
- disabled: R,
935
+ disabled: w,
936
936
  onNextPage: x,
937
937
  onPrevPage: H,
938
938
  siblings: V = 2,
@@ -954,7 +954,7 @@ const H4 = Symbol("dots"), Fh = ({
954
954
  size: "md",
955
955
  variant: "tertiary",
956
956
  "aria-label": "Previous",
957
- disabled: R || o1 === 1,
957
+ disabled: w || o1 === 1,
958
958
  onClick: a1,
959
959
  children: /* @__PURE__ */ C("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ C(
960
960
  "path",
@@ -967,10 +967,10 @@ const H4 = Symbol("dots"), Fh = ({
967
967
  ) })
968
968
  }
969
969
  ),
970
- q.map((c1, S1) => c1 === H4 ? /* @__PURE__ */ lC(Sh, { ...R ? { "data-disabled": !0 } : {}, key: S1 }, "...") : /* @__PURE__ */ C(
970
+ q.map((c1, S1) => c1 === H4 ? /* @__PURE__ */ lC(Sh, { ...w ? { "data-disabled": !0 } : {}, key: S1 }, "...") : /* @__PURE__ */ C(
971
971
  Bh,
972
972
  {
973
- disabled: R,
973
+ disabled: w,
974
974
  ...c1 === o1 ? {
975
975
  "data-selected": !0
976
976
  } : {},
@@ -985,7 +985,7 @@ const H4 = Symbol("dots"), Fh = ({
985
985
  size: "md",
986
986
  variant: "tertiary",
987
987
  "aria-label": "Previous",
988
- disabled: R || o1 === c,
988
+ disabled: w || o1 === c,
989
989
  onClick: p1,
990
990
  children: /* @__PURE__ */ C("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ C(
991
991
  "path",
@@ -9920,7 +9920,7 @@ const H4 = Symbol("dots"), Fh = ({
9920
9920
  lazyMount: u = !0,
9921
9921
  usePortal: n = !0,
9922
9922
  unmountOnExit: v = !0,
9923
- positioning: R,
9923
+ positioning: w,
9924
9924
  onValueChange: x,
9925
9925
  severity: H,
9926
9926
  size: V,
@@ -9972,7 +9972,7 @@ const H4 = Symbol("dots"), Fh = ({
9972
9972
  unmountOnExit: v,
9973
9973
  collection: N3,
9974
9974
  defaultValue: K,
9975
- positioning: { sameWidth: !0, gutter: 0, ...R },
9975
+ positioning: { sameWidth: !0, gutter: 0, ...w },
9976
9976
  onValueChange: I1 ? J2 : x,
9977
9977
  severity: I1 ? v1 : H,
9978
9978
  size: V,
@@ -10018,8 +10018,8 @@ const H4 = Symbol("dots"), Fh = ({
10018
10018
  }, { withProvider: Cu, withContext: k3 } = e1(c9, {
10019
10019
  dataAttr: !0
10020
10020
  }), eu = Cu(s(Z5.Root)), lu = k3(s(Z5.Label), "title"), tu = k3(s("div"), "content"), iu = k3(s("p"), "description"), ru = k3(s(T.img), "image"), sC = C1((c, u) => {
10021
- const [n, v] = c9.splitVariantProps(c), [R, x] = i2(v), { children: H, className: V, ...y } = x, P = c9(n);
10022
- return /* @__PURE__ */ r(eu, { ref: u, className: t2(P.root, L5(R), V), ...y, children: [
10021
+ const [n, v] = c9.splitVariantProps(c), [w, x] = i2(v), { children: H, className: V, ...y } = x, P = c9(n);
10022
+ return /* @__PURE__ */ r(eu, { ref: u, className: t2(P.root, L5(w), V), ...y, children: [
10023
10023
  H,
10024
10024
  /* @__PURE__ */ C(Z5.Control, { className: P.control, children: /* @__PURE__ */ C(Z5.Thumb, { className: P.thumb }) }),
10025
10025
  /* @__PURE__ */ C(Z5.HiddenInput, {})
@@ -10050,12 +10050,12 @@ const VM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10050
10050
  }, Symbol.toStringTag, { value: "Module" })), { withProvider: fu, withContext: E3 } = e1(h9, {
10051
10051
  dataAttr: !0
10052
10052
  }), Lu = fu(s(K1.Root)), Mu = E3(s(K1.Label), "title"), vu = E3(s("div"), "content"), gu = E3(s("p"), "description"), Zu = E3(s(T.img), "image"), fC = C1((c, u) => {
10053
- const [n, v] = h9.splitVariantProps(c), [R, x] = i2(v), { children: H, className: V, ...y } = x, P = h9(n);
10053
+ const [n, v] = h9.splitVariantProps(c), [w, x] = i2(v), { children: H, className: V, ...y } = x, P = h9(n);
10054
10054
  return /* @__PURE__ */ r(
10055
10055
  Lu,
10056
10056
  {
10057
10057
  ref: u,
10058
- className: t2(P.root, L5(R), V),
10058
+ className: t2(P.root, L5(w), V),
10059
10059
  ...y,
10060
10060
  value: y.value,
10061
10061
  children: [
@@ -10094,7 +10094,7 @@ var y3 = { exports: {} };
10094
10094
  y3.exports;
10095
10095
  (function(c, u) {
10096
10096
  (function() {
10097
- var n, v = "4.17.21", R = 200, x = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", H = "Expected a function", V = "Invalid `variable` option passed into `_.template`", y = "__lodash_hash_undefined__", P = 500, q = "__lodash_placeholder__", A = 1, z = 2, X = 4, o1 = 1, p1 = 2, a1 = 1, c1 = 2, S1 = 4, M1 = 8, $1 = 16, m1 = 32, x5 = 64, k1 = 128, _5 = 256, a2 = 512, c2 = 30, b5 = "...", F1 = 800, Q2 = 16, x2 = 1, K2 = 2, _2 = 3, y5 = 1 / 0, I1 = 9007199254740991, K = 17976931348623157e292, v1 = NaN, s1 = 4294967295, J2 = s1 - 1, N3 = s1 >>> 1, R1 = [
10097
+ var n, v = "4.17.21", w = 200, x = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", H = "Expected a function", V = "Invalid `variable` option passed into `_.template`", y = "__lodash_hash_undefined__", P = 500, q = "__lodash_placeholder__", A = 1, z = 2, X = 4, o1 = 1, p1 = 2, a1 = 1, c1 = 2, S1 = 4, M1 = 8, $1 = 16, m1 = 32, x5 = 64, k1 = 128, _5 = 256, a2 = 512, c2 = 30, b5 = "...", F1 = 800, Q2 = 16, x2 = 1, K2 = 2, _2 = 3, y5 = 1 / 0, I1 = 9007199254740991, K = 17976931348623157e292, v1 = NaN, s1 = 4294967295, J2 = s1 - 1, N3 = s1 >>> 1, R1 = [
10098
10098
  ["ary", k1],
10099
10099
  ["bind", a1],
10100
10100
  ["bindKey", c1],
@@ -10738,7 +10738,7 @@ y3.exports;
10738
10738
  return e;
10739
10739
  }
10740
10740
  function Al() {
10741
- var e = this.__wrapped__.value(), l = this.__dir__, t = k(e), i = l < 0, o = t ? e.length : 0, a = $t(0, o, this.__views__), h = a.start, p = a.end, L = p - h, Z = i ? p : h - 1, w = this.__iteratees__, m = w.length, _ = 0, F = P1(L, this.__takeCount__);
10741
+ var e = this.__wrapped__.value(), l = this.__dir__, t = k(e), i = l < 0, o = t ? e.length : 0, a = $t(0, o, this.__views__), h = a.start, p = a.end, L = p - h, Z = i ? p : h - 1, R = this.__iteratees__, m = R.length, _ = 0, F = P1(L, this.__takeCount__);
10742
10742
  if (!t || !i && o == L && F == L)
10743
10743
  return N8(e, this.__actions__);
10744
10744
  var S = [];
@@ -10746,7 +10746,7 @@ y3.exports;
10746
10746
  for (; L-- && _ < F; ) {
10747
10747
  Z += l;
10748
10748
  for (var N = -1, I = e[Z]; ++N < m; ) {
10749
- var $ = w[N], U = $.iteratee, j1 = $.type, z1 = U(I);
10749
+ var $ = R[N], U = $.iteratee, j1 = $.type, z1 = U(I);
10750
10750
  if (j1 == K2)
10751
10751
  I = z1;
10752
10752
  else if (!z1) {
@@ -10882,7 +10882,7 @@ y3.exports;
10882
10882
  var t = this.__data__;
10883
10883
  if (t instanceof P5) {
10884
10884
  var i = t.__data__;
10885
- if (!a4 || i.length < R - 1)
10885
+ if (!a4 || i.length < w - 1)
10886
10886
  return i.push([e, l]), this.size = ++t.size, this;
10887
10887
  t = this.__data__ = new A5(i);
10888
10888
  }
@@ -10955,8 +10955,8 @@ y3.exports;
10955
10955
  return h;
10956
10956
  if (!d1(e))
10957
10957
  return e;
10958
- var w = k(e);
10959
- if (w) {
10958
+ var R = k(e);
10959
+ if (R) {
10960
10960
  if (h = Ut(e), !p)
10961
10961
  return E1(e, h);
10962
10962
  } else {
@@ -10981,7 +10981,7 @@ y3.exports;
10981
10981
  }) : T7(e) && e.forEach(function(I, $) {
10982
10982
  h.set($, t5(I, l, t, $, e, a));
10983
10983
  });
10984
- var S = Z ? L ? E6 : k6 : L ? W1 : H1, N = w ? n : S(e);
10984
+ var S = Z ? L ? E6 : k6 : L ? W1 : H1, N = R ? n : S(e);
10985
10985
  return C5(N || e, function(I, $) {
10986
10986
  N && ($ = I, I = e[$]), p4(h, $, t5(I, l, t, $, e, a));
10987
10987
  }), h;
@@ -11014,16 +11014,16 @@ y3.exports;
11014
11014
  var o = -1, a = N4, h = !0, p = e.length, L = [], Z = l.length;
11015
11015
  if (!p)
11016
11016
  return L;
11017
- t && (l = r1(l, U1(t))), i ? (a = n6, h = !1) : l.length >= R && (a = o4, h = !1, l = new s2(l));
11017
+ t && (l = r1(l, U1(t))), i ? (a = n6, h = !1) : l.length >= w && (a = o4, h = !1, l = new s2(l));
11018
11018
  C:
11019
11019
  for (; ++o < p; ) {
11020
- var w = e[o], m = t == null ? w : t(w);
11021
- if (w = i || w !== 0 ? w : 0, h && m === m) {
11020
+ var R = e[o], m = t == null ? R : t(R);
11021
+ if (R = i || R !== 0 ? R : 0, h && m === m) {
11022
11022
  for (var _ = Z; _--; )
11023
11023
  if (l[_] === m)
11024
11024
  continue C;
11025
- L.push(w);
11026
- } else a(l, m, i) || L.push(w);
11025
+ L.push(R);
11026
+ } else a(l, m, i) || L.push(R);
11027
11027
  }
11028
11028
  return L;
11029
11029
  }
@@ -11101,14 +11101,14 @@ y3.exports;
11101
11101
  }
11102
11102
  function m6(e, l, t) {
11103
11103
  for (var i = t ? n6 : N4, o = e[0].length, a = e.length, h = a, p = M(a), L = 1 / 0, Z = []; h--; ) {
11104
- var w = e[h];
11105
- h && l && (w = r1(w, U1(l))), L = P1(w.length, L), p[h] = !t && (l || o >= 120 && w.length >= 120) ? new s2(h && w) : n;
11104
+ var R = e[h];
11105
+ h && l && (R = r1(R, U1(l))), L = P1(R.length, L), p[h] = !t && (l || o >= 120 && R.length >= 120) ? new s2(h && R) : n;
11106
11106
  }
11107
- w = e[0];
11107
+ R = e[0];
11108
11108
  var m = -1, _ = p[0];
11109
11109
  C:
11110
11110
  for (; ++m < o && Z.length < L; ) {
11111
- var F = w[m], S = l ? l(F) : F;
11111
+ var F = R[m], S = l ? l(F) : F;
11112
11112
  if (F = t || F !== 0 ? F : 0, !(_ ? o4(_, S) : i(Z, S, t))) {
11113
11113
  for (h = a; --h; ) {
11114
11114
  var N = p[h];
@@ -11145,16 +11145,16 @@ y3.exports;
11145
11145
  function st(e, l, t, i, o, a) {
11146
11146
  var h = k(e), p = k(l), L = h ? S4 : A1(e), Z = p ? S4 : A1(l);
11147
11147
  L = L == G5 ? F5 : L, Z = Z == G5 ? F5 : Z;
11148
- var w = L == F5, m = Z == F5, _ = L == Z;
11148
+ var R = L == F5, m = Z == F5, _ = L == Z;
11149
11149
  if (_ && C2(e)) {
11150
11150
  if (!C2(l))
11151
11151
  return !1;
11152
- h = !0, w = !1;
11152
+ h = !0, R = !1;
11153
11153
  }
11154
- if (_ && !w)
11154
+ if (_ && !R)
11155
11155
  return a || (a = new u5()), h || N2(e) ? n7(e, l, t, i, o, a) : Nt(e, l, L, t, i, o, a);
11156
11156
  if (!(t & o1)) {
11157
- var F = w && J.call(e, "__wrapped__"), S = m && J.call(l, "__wrapped__");
11157
+ var F = R && J.call(e, "__wrapped__"), S = m && J.call(l, "__wrapped__");
11158
11158
  if (F || S) {
11159
11159
  var N = F ? e.value() : e, I = S ? l.value() : l;
11160
11160
  return a || (a = new u5()), o(N, I, t, i, a);
@@ -11176,15 +11176,15 @@ y3.exports;
11176
11176
  }
11177
11177
  for (; ++o < a; ) {
11178
11178
  p = t[o];
11179
- var L = p[0], Z = e[L], w = p[1];
11179
+ var L = p[0], Z = e[L], R = p[1];
11180
11180
  if (h && p[2]) {
11181
11181
  if (Z === n && !(L in e))
11182
11182
  return !1;
11183
11183
  } else {
11184
11184
  var m = new u5();
11185
11185
  if (i)
11186
- var _ = i(Z, w, L, e, l, m);
11187
- if (!(_ === n ? L4(w, Z, o1 | p1, i, m) : _))
11186
+ var _ = i(Z, R, L, e, l, m);
11187
+ if (!(_ === n ? L4(R, Z, o1 | p1, i, m) : _))
11188
11188
  return !1;
11189
11189
  }
11190
11190
  }
@@ -11261,12 +11261,12 @@ y3.exports;
11261
11261
  g6(e, t, Z);
11262
11262
  return;
11263
11263
  }
11264
- var w = a ? a(p, L, t + "", e, l, h) : n, m = w === n;
11264
+ var R = a ? a(p, L, t + "", e, l, h) : n, m = R === n;
11265
11265
  if (m) {
11266
11266
  var _ = k(L), F = !_ && C2(L), S = !_ && !F && N2(L);
11267
- w = L, _ || F || S ? k(p) ? w = p : f1(p) ? w = E1(p) : F ? (m = !1, w = $8(L, !0)) : S ? (m = !1, w = G8(L, !0)) : w = [] : w4(L) || g2(L) ? (w = p, g2(p) ? w = N7(p) : (!d1(p) || D5(p)) && (w = a7(L))) : m = !1;
11267
+ R = L, _ || F || S ? k(p) ? R = p : f1(p) ? R = E1(p) : F ? (m = !1, R = $8(L, !0)) : S ? (m = !1, R = G8(L, !0)) : R = [] : w4(L) || g2(L) ? (R = p, g2(p) ? R = N7(p) : (!d1(p) || D5(p)) && (R = a7(L))) : m = !1;
11268
11268
  }
11269
- m && (h.set(L, w), o(w, L, i, a, h), h.delete(L)), g6(e, t, w);
11269
+ m && (h.set(L, R), o(R, L, i, a, h), h.delete(L)), g6(e, t, R);
11270
11270
  }
11271
11271
  function B8(e, l) {
11272
11272
  var t = e.length;
@@ -11311,7 +11311,7 @@ y3.exports;
11311
11311
  function b6(e, l, t, i) {
11312
11312
  var o = i ? Ue : F2, a = -1, h = l.length, p = e;
11313
11313
  for (e === l && (l = E1(l)), t && (p = r1(e, U1(t))); ++a < h; )
11314
- for (var L = 0, Z = l[a], w = t ? t(Z) : Z; (L = o(p, w, L, i)) > -1; )
11314
+ for (var L = 0, Z = l[a], R = t ? t(Z) : Z; (L = o(p, R, L, i)) > -1; )
11315
11315
  p !== e && Q4.call(p, L, 1), Q4.call(e, L, 1);
11316
11316
  return e;
11317
11317
  }
@@ -11361,8 +11361,8 @@ y3.exports;
11361
11361
  if (L === "__proto__" || L === "constructor" || L === "prototype")
11362
11362
  return e;
11363
11363
  if (o != h) {
11364
- var w = p[L];
11365
- Z = i ? i(w, L, p) : n, Z === n && (Z = d1(w) ? w : T5(l[o + 1]) ? [] : {});
11364
+ var R = p[L];
11365
+ Z = i ? i(R, L, p) : n, Z === n && (Z = d1(R) ? R : T5(l[o + 1]) ? [] : {});
11366
11366
  }
11367
11367
  p4(p, L, Z), p = p[L];
11368
11368
  }
@@ -11411,11 +11411,11 @@ y3.exports;
11411
11411
  return 0;
11412
11412
  l = t(l);
11413
11413
  for (var h = l !== l, p = l === null, L = q1(l), Z = l === n; o < a; ) {
11414
- var w = C3((o + a) / 2), m = t(e[w]), _ = m !== n, F = m === null, S = m === m, N = q1(m);
11414
+ var R = C3((o + a) / 2), m = t(e[R]), _ = m !== n, F = m === null, S = m === m, N = q1(m);
11415
11415
  if (h)
11416
11416
  var I = i || S;
11417
11417
  else Z ? I = S && (i || _) : p ? I = S && _ && (i || !F) : L ? I = S && _ && !F && (i || !N) : F || N ? I = !1 : I = i ? m <= l : m < l;
11418
- I ? o = w + 1 : a = w;
11418
+ I ? o = R + 1 : a = R;
11419
11419
  }
11420
11420
  return P1(a, J2);
11421
11421
  }
@@ -11446,7 +11446,7 @@ y3.exports;
11446
11446
  var i = -1, o = N4, a = e.length, h = !0, p = [], L = p;
11447
11447
  if (t)
11448
11448
  h = !1, o = n6;
11449
- else if (a >= R) {
11449
+ else if (a >= w) {
11450
11450
  var Z = l ? null : kt(e);
11451
11451
  if (Z)
11452
11452
  return O4(Z);
@@ -11455,13 +11455,13 @@ y3.exports;
11455
11455
  L = l ? [] : p;
11456
11456
  C:
11457
11457
  for (; ++i < a; ) {
11458
- var w = e[i], m = l ? l(w) : w;
11459
- if (w = t || w !== 0 ? w : 0, h && m === m) {
11458
+ var R = e[i], m = l ? l(R) : R;
11459
+ if (R = t || R !== 0 ? R : 0, h && m === m) {
11460
11460
  for (var _ = L.length; _--; )
11461
11461
  if (L[_] === m)
11462
11462
  continue C;
11463
- l && L.push(m), p.push(w);
11464
- } else o(L, m, t) || (L !== p && L.push(m), p.push(w));
11463
+ l && L.push(m), p.push(R);
11464
+ } else o(L, m, t) || (L !== p && L.push(m), p.push(R));
11465
11465
  }
11466
11466
  return p;
11467
11467
  }
@@ -11563,16 +11563,16 @@ y3.exports;
11563
11563
  return e.index - l.index;
11564
11564
  }
11565
11565
  function Y8(e, l, t, i) {
11566
- for (var o = -1, a = e.length, h = t.length, p = -1, L = l.length, Z = Z1(a - h, 0), w = M(L + Z), m = !i; ++p < L; )
11567
- w[p] = l[p];
11566
+ for (var o = -1, a = e.length, h = t.length, p = -1, L = l.length, Z = Z1(a - h, 0), R = M(L + Z), m = !i; ++p < L; )
11567
+ R[p] = l[p];
11568
11568
  for (; ++o < h; )
11569
- (m || o < a) && (w[t[o]] = e[o]);
11569
+ (m || o < a) && (R[t[o]] = e[o]);
11570
11570
  for (; Z--; )
11571
- w[p++] = e[o++];
11572
- return w;
11571
+ R[p++] = e[o++];
11572
+ return R;
11573
11573
  }
11574
11574
  function q8(e, l, t, i) {
11575
- for (var o = -1, a = e.length, h = -1, p = t.length, L = -1, Z = l.length, w = Z1(a - p, 0), m = M(w + Z), _ = !i; ++o < w; )
11575
+ for (var o = -1, a = e.length, h = -1, p = t.length, L = -1, Z = l.length, R = Z1(a - p, 0), m = M(R + Z), _ = !i; ++o < R; )
11576
11576
  m[o] = e[o];
11577
11577
  for (var F = o; ++L < Z; )
11578
11578
  m[F + L] = l[L];
@@ -11702,8 +11702,8 @@ y3.exports;
11702
11702
  n,
11703
11703
  t - a
11704
11704
  );
11705
- var w = this && this !== V1 && this instanceof o ? i : e;
11706
- return G1(w, this, h);
11705
+ var R = this && this !== V1 && this instanceof o ? i : e;
11706
+ return G1(R, this, h);
11707
11707
  }
11708
11708
  return o;
11709
11709
  }
@@ -11736,17 +11736,17 @@ y3.exports;
11736
11736
  L && G6(L[0]) && L[1] == (k1 | M1 | m1 | _5) && !L[4].length && L[9] == 1 ? h = h[f3(L[0])].apply(h, L[3]) : h = a.length == 1 && G6(a) ? h[p]() : h.thru(a);
11737
11737
  }
11738
11738
  return function() {
11739
- var Z = arguments, w = Z[0];
11740
- if (h && Z.length == 1 && k(w))
11741
- return h.plant(w).value();
11742
- for (var m = 0, _ = t ? l[m].apply(this, Z) : w; ++m < t; )
11739
+ var Z = arguments, R = Z[0];
11740
+ if (h && Z.length == 1 && k(R))
11741
+ return h.plant(R).value();
11742
+ for (var m = 0, _ = t ? l[m].apply(this, Z) : R; ++m < t; )
11743
11743
  _ = l[m].call(this, _);
11744
11744
  return _;
11745
11745
  };
11746
11746
  });
11747
11747
  }
11748
11748
  function h3(e, l, t, i, o, a, h, p, L, Z) {
11749
- var w = l & k1, m = l & a1, _ = l & c1, F = l & (M1 | $1), S = l & a2, N = _ ? n : v4(e);
11749
+ var R = l & k1, m = l & a1, _ = l & c1, F = l & (M1 | $1), S = l & a2, N = _ ? n : v4(e);
11750
11750
  function I() {
11751
11751
  for (var $ = arguments.length, U = M($), j1 = $; j1--; )
11752
11752
  U[j1] = arguments[j1];
@@ -11768,7 +11768,7 @@ y3.exports;
11768
11768
  );
11769
11769
  }
11770
11770
  var s5 = m ? t : this, k5 = _ ? s5[e] : e;
11771
- return $ = U.length, p ? U = ti(U, p) : S && $ > 1 && U.reverse(), w && L < $ && (U.length = L), this && this !== V1 && this instanceof I && (k5 = N || v4(k5)), k5.apply(s5, U);
11771
+ return $ = U.length, p ? U = ti(U, p) : S && $ > 1 && U.reverse(), R && L < $ && (U.length = L), this && this !== V1 && this instanceof I && (k5 = N || v4(k5)), k5.apply(s5, U);
11772
11772
  }
11773
11773
  return I;
11774
11774
  }
@@ -11811,7 +11811,7 @@ y3.exports;
11811
11811
  function zt(e, l, t, i) {
11812
11812
  var o = l & a1, a = v4(e);
11813
11813
  function h() {
11814
- for (var p = -1, L = arguments.length, Z = -1, w = i.length, m = M(w + L), _ = this && this !== V1 && this instanceof h ? a : e; ++Z < w; )
11814
+ for (var p = -1, L = arguments.length, Z = -1, R = i.length, m = M(R + L), _ = this && this !== V1 && this instanceof h ? a : e; ++Z < R; )
11815
11815
  m[Z] = i[Z];
11816
11816
  for (; L--; )
11817
11817
  m[Z++] = arguments[++p];
@@ -11830,8 +11830,8 @@ y3.exports;
11830
11830
  };
11831
11831
  }
11832
11832
  function l7(e, l, t, i, o, a, h, p, L, Z) {
11833
- var w = l & M1, m = w ? h : n, _ = w ? n : h, F = w ? a : n, S = w ? n : a;
11834
- l |= w ? m1 : x5, l &= ~(w ? x5 : m1), l & S1 || (l &= -4);
11833
+ var R = l & M1, m = R ? h : n, _ = R ? n : h, F = R ? a : n, S = R ? n : a;
11834
+ l |= R ? m1 : x5, l &= ~(R ? x5 : m1), l & S1 || (l &= -4);
11835
11835
  var N = [
11836
11836
  e,
11837
11837
  l,
@@ -11871,7 +11871,7 @@ y3.exports;
11871
11871
  throw new e5(H);
11872
11872
  var Z = i ? i.length : 0;
11873
11873
  if (Z || (l &= -97, i = o = n), h = h === n ? h : Z1(E(h), 0), p = p === n ? p : E(p), Z -= o ? o.length : 0, l & x5) {
11874
- var w = i, m = o;
11874
+ var R = i, m = o;
11875
11875
  i = o = n;
11876
11876
  }
11877
11877
  var _ = L ? n : N6(e), F = [
@@ -11880,7 +11880,7 @@ y3.exports;
11880
11880
  t,
11881
11881
  i,
11882
11882
  o,
11883
- w,
11883
+ R,
11884
11884
  m,
11885
11885
  a,
11886
11886
  h,
@@ -11905,9 +11905,9 @@ y3.exports;
11905
11905
  var h = t & o1, p = e.length, L = l.length;
11906
11906
  if (p != L && !(h && L > p))
11907
11907
  return !1;
11908
- var Z = a.get(e), w = a.get(l);
11909
- if (Z && w)
11910
- return Z == l && w == e;
11908
+ var Z = a.get(e), R = a.get(l);
11909
+ if (Z && R)
11910
+ return Z == l && R == e;
11911
11911
  var m = -1, _ = !0, F = t & p1 ? new s2() : n;
11912
11912
  for (a.set(e, l), a.set(l, e); ++m < p; ) {
11913
11913
  var S = e[m], N = l[m];
@@ -11961,8 +11961,8 @@ y3.exports;
11961
11961
  if (Z)
11962
11962
  return Z == l;
11963
11963
  i |= p1, h.set(e, l);
11964
- var w = n7(p(e), p(l), i, o, a, h);
11965
- return h.delete(e), w;
11964
+ var R = n7(p(e), p(l), i, o, a, h);
11965
+ return h.delete(e), R;
11966
11966
  case D4:
11967
11967
  if (u4)
11968
11968
  return u4.call(e) == u4.call(l);
@@ -11970,8 +11970,8 @@ y3.exports;
11970
11970
  return !1;
11971
11971
  }
11972
11972
  function Wt(e, l, t, i, o, a) {
11973
- var h = t & o1, p = k6(e), L = p.length, Z = k6(l), w = Z.length;
11974
- if (L != w && !h)
11973
+ var h = t & o1, p = k6(e), L = p.length, Z = k6(l), R = Z.length;
11974
+ if (L != R && !h)
11975
11975
  return !1;
11976
11976
  for (var m = L; m--; ) {
11977
11977
  var _ = p[m];
@@ -12803,16 +12803,16 @@ y3.exports;
12803
12803
  return i.placeholder = A7.placeholder, i;
12804
12804
  }
12805
12805
  function B7(e, l, t) {
12806
- var i, o, a, h, p, L, Z = 0, w = !1, m = !1, _ = !0;
12806
+ var i, o, a, h, p, L, Z = 0, R = !1, m = !1, _ = !0;
12807
12807
  if (typeof e != "function")
12808
12808
  throw new e5(H);
12809
- l = n5(l) || 0, d1(t) && (w = !!t.leading, m = "maxWait" in t, a = m ? Z1(n5(t.maxWait) || 0, l) : a, _ = "trailing" in t ? !!t.trailing : _);
12809
+ l = n5(l) || 0, d1(t) && (R = !!t.leading, m = "maxWait" in t, a = m ? Z1(n5(t.maxWait) || 0, l) : a, _ = "trailing" in t ? !!t.trailing : _);
12810
12810
  function F(L1) {
12811
12811
  var s5 = i, k5 = o;
12812
12812
  return i = o = n, Z = L1, h = e.apply(k5, s5), h;
12813
12813
  }
12814
12814
  function S(L1) {
12815
- return Z = L1, p = Z4($, l), w ? F(L1) : h;
12815
+ return Z = L1, p = Z4($, l), R ? F(L1) : h;
12816
12816
  }
12817
12817
  function N(L1) {
12818
12818
  var s5 = L1 - L, k5 = L1 - Z, K7 = l - s5;
@@ -13162,8 +13162,8 @@ y3.exports;
13162
13162
  var t = -1, i = l.length, o = i > 2 ? l[2] : n;
13163
13163
  for (o && D1(l[0], l[1], o) && (i = 1); ++t < i; )
13164
13164
  for (var a = l[t], h = W1(a), p = -1, L = h.length; ++p < L; ) {
13165
- var Z = h[p], w = e[Z];
13166
- (w === n || p5(w, S2[Z]) && !J.call(e, Z)) && (e[Z] = a[Z]);
13165
+ var Z = h[p], R = e[Z];
13166
+ (R === n || p5(R, S2[Z]) && !J.call(e, Z)) && (e[Z] = a[Z]);
13167
13167
  }
13168
13168
  return e;
13169
13169
  }), Pn = W(function(e) {
@@ -13386,8 +13386,8 @@ y3.exports;
13386
13386
  function Vo(e, l, t) {
13387
13387
  var i = d.templateSettings;
13388
13388
  t && D1(e, l, t) && (l = n), e = Q(e), l = V3({}, l, i, i7);
13389
- var o = V3({}, l.imports, i.imports, i7), a = H1(o), h = p6(o, a), p, L, Z = 0, w = l.interpolate || z4, m = "__p += '", _ = f6(
13390
- (l.escape || z4).source + "|" + w.source + "|" + (w === x9 ? le : z4).source + "|" + (l.evaluate || z4).source + "|$",
13389
+ var o = V3({}, l.imports, i.imports, i7), a = H1(o), h = p6(o, a), p, L, Z = 0, R = l.interpolate || z4, m = "__p += '", _ = f6(
13390
+ (l.escape || z4).source + "|" + R.source + "|" + (R === x9 ? le : z4).source + "|" + (l.evaluate || z4).source + "|$",
13391
13391
  "g"
13392
13392
  ), F = "//# sourceURL=" + (J.call(l, "sourceURL") ? (l.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++Ae + "]") + `
13393
13393
  `;
@@ -13475,8 +13475,8 @@ function print() { __p += __j.call(arguments, '') }
13475
13475
  return L + i;
13476
13476
  if (h && (p += L.length - p), J6(o)) {
13477
13477
  if (e.slice(p).search(o)) {
13478
- var Z, w = L;
13479
- for (o.global || (o = f6(o.source, Q(_9.exec(o)) + "g")), o.lastIndex = 0; Z = o.exec(w); )
13478
+ var Z, R = L;
13479
+ for (o.global || (o = f6(o.source, Q(_9.exec(o)) + "g")), o.lastIndex = 0; Z = o.exec(R); )
13480
13480
  var m = Z.index;
13481
13481
  L = L.slice(0, m === n ? p : m);
13482
13482
  }
@@ -13562,8 +13562,8 @@ function print() { __p += __j.call(arguments, '') }
13562
13562
  e[p] = L, h && (e.prototype[p] = function() {
13563
13563
  var Z = this.__chain__;
13564
13564
  if (a || Z) {
13565
- var w = e(this.__wrapped__), m = w.__actions__ = E1(this.__actions__);
13566
- return m.push({ func: L, args: arguments, thisArg: e }), w.__chain__ = Z, w;
13565
+ var R = e(this.__wrapped__), m = R.__actions__ = E1(this.__actions__);
13566
+ return m.push({ func: L, args: arguments, thisArg: e }), R.__chain__ = Z, R;
13567
13567
  }
13568
13568
  return L.apply(e, Y5([this.value()], arguments));
13569
13569
  });
@@ -13714,13 +13714,13 @@ function print() { __p += __j.call(arguments, '') }
13714
13714
  }, M5(G.prototype, function(e, l) {
13715
13715
  var t = /^(?:filter|find|map|reject)|While$/.test(l), i = /^(?:head|last)$/.test(l), o = d[i ? "take" + (l == "last" ? "Right" : "") : l], a = i || /^find/.test(l);
13716
13716
  o && (d.prototype[l] = function() {
13717
- var h = this.__wrapped__, p = i ? [1] : arguments, L = h instanceof G, Z = p[0], w = L || k(h), m = function($) {
13717
+ var h = this.__wrapped__, p = i ? [1] : arguments, L = h instanceof G, Z = p[0], R = L || k(h), m = function($) {
13718
13718
  var U = o.apply(d, Y5([$], p));
13719
13719
  return i && _ ? U[0] : U;
13720
13720
  };
13721
- w && t && typeof Z == "function" && Z.length != 1 && (L = w = !1);
13721
+ R && t && typeof Z == "function" && Z.length != 1 && (L = R = !1);
13722
13722
  var _ = this.__chain__, F = !!this.__actions__.length, S = a && !_, N = L && !F;
13723
- if (!a && w) {
13723
+ if (!a && R) {
13724
13724
  h = N ? h : new G(this);
13725
13725
  var I = e.apply(h, p);
13726
13726
  return I.__actions__.push({ func: v3, args: [m], thisArg: n }), new l5(I, _);
@@ -13785,7 +13785,7 @@ const bM = ({
13785
13785
  initialItems: u,
13786
13786
  debounceMs: n = 0,
13787
13787
  placeholder: v,
13788
- emptyLabel: R,
13788
+ emptyLabel: w,
13789
13789
  loadingLabel: x,
13790
13790
  usePortal: H = !0,
13791
13791
  withAutoFilter: V = !0,
@@ -13833,7 +13833,7 @@ const bM = ({
13833
13833
  f9(() => {
13834
13834
  !V && !b5 && m1(c);
13835
13835
  }, [c, V, b5]);
13836
- const x2 = $2(() => P4({ items: F1 }), [F1]), K2 = z ?? x5, _2 = x ?? /* @__PURE__ */ C(_4, { p: "space-8", textAlign: "center", children: "Chargement..." }), y5 = R ?? /* @__PURE__ */ C(_4, { p: "space-8", textAlign: "center", children: "Aucun résultat" }), I1 = !1;
13836
+ const x2 = $2(() => P4({ items: F1 }), [F1]), K2 = z ?? x5, _2 = x ?? /* @__PURE__ */ C(_4, { p: "space-8", textAlign: "center", children: "Chargement..." }), y5 = w ?? /* @__PURE__ */ C(_4, { p: "space-8", textAlign: "center", children: "Aucun résultat" }), I1 = !1;
13837
13837
  return /* @__PURE__ */ r(
13838
13838
  mu,
13839
13839
  {
@@ -13928,9 +13928,9 @@ const { withProvider: Iu, withContext: LC } = e1(va), Tu = Iu(s(s9.Root), "root"
13928
13928
  }), MC = $5(s(b1.Backdrop), "backdrop"), Nu = $5(s(b1.CloseTrigger), "closeTrigger"), vC = C1(({ children: c, ...u }, n) => {
13929
13929
  const v = tC(`(max-width: ${L9("breakpoints.md")})`, {
13930
13930
  defaultValue: !1
13931
- }), { open: R, getContentProps: x } = q0();
13931
+ }), { open: w, getContentProps: x } = q0();
13932
13932
  return q2(() => {
13933
- if (!R) return;
13933
+ if (!w) return;
13934
13934
  const { id: H } = x();
13935
13935
  H && setTimeout(() => {
13936
13936
  const V = document.getElementById(H);
@@ -13939,7 +13939,7 @@ const { withProvider: Iu, withContext: LC } = e1(va), Tu = Iu(s(s9.Root), "root"
13939
13939
  y && (v ? V.style.setProperty("--footer-height", `${Math.ceil(y.clientHeight)}px`) : V.style.setProperty("--footer-height", "70px"));
13940
13940
  }
13941
13941
  }, 0);
13942
- }, [R, v]), /* @__PURE__ */ r(w5, { children: [
13942
+ }, [w, v]), /* @__PURE__ */ r(w5, { children: [
13943
13943
  /* @__PURE__ */ C(MC, {}),
13944
13944
  /* @__PURE__ */ C(ZC, { children: /* @__PURE__ */ C(b1.Content, { ref: n, ...u, children: c }) })
13945
13945
  ] });
@@ -13979,9 +13979,9 @@ const { withProvider: Xu, withContext: wC } = e1(K0), Qu = s(T.div, Za), Ku = (c
13979
13979
  const n = c.slice(0, u), v = c.slice(u);
13980
13980
  return [n, v];
13981
13981
  }, Ju = C1(
13982
- ({ children: c, size: u, max: n = 4, overflowContent: v, ...R }, x) => {
13982
+ ({ children: c, size: u, max: n = 4, overflowContent: v, ...w }, x) => {
13983
13983
  const [H, V] = Ku(u9.toArray(c), n);
13984
- return /* @__PURE__ */ r(Qu, { ref: x, size: u, ...R, children: [
13984
+ return /* @__PURE__ */ r(Qu, { ref: x, size: u, ...w, children: [
13985
13985
  u9.map(H, (y) => Z2(y, K0.raw({ size: u }))),
13986
13986
  v && V.length > 0 ? Z2(qu(v, V.length), { "data-overflow": "" }) : null
13987
13987
  ] });
@@ -17751,8 +17751,8 @@ const ip = o2(s(VC), "content"), rp = o2(s(H5.Item), "item"), np = o2(s(H5.ItemG
17751
17751
  /* @__PURE__ */ C("defs", { children: /* @__PURE__ */ C("clipPath", { id: "clip0_1401_5855", children: /* @__PURE__ */ C("rect", { width: "21", height: "15", fill: "white" }) }) })
17752
17752
  ] })
17753
17753
  }, hp = s(T.svg, J0), BM = Object.keys(xC), SM = C1((c, u) => {
17754
- const [n, v] = J0.splitVariantProps(c), { countryCode: R, ...x } = v;
17755
- return /* @__PURE__ */ C(hp, { ref: u, ...x, ...n, asChild: !0, children: Z2(xC[R]) });
17754
+ const [n, v] = J0.splitVariantProps(c), { countryCode: w, ...x } = v;
17755
+ return /* @__PURE__ */ C(hp, { ref: u, ...x, ...n, asChild: !0, children: Z2(xC[w]) });
17756
17756
  }), up = s(T.div, Ra);
17757
17757
  function pp({
17758
17758
  title: c,
@@ -17833,8 +17833,8 @@ const vp = /* @__PURE__ */ d5.forwardRef(Mp), gp = s(B3, Ha), Zp = ({
17833
17833
  }) => /* @__PURE__ */ r(
17834
17834
  gp,
17835
17835
  {
17836
- onClick: (R) => {
17837
- n && n(R, c);
17836
+ onClick: (w) => {
17837
+ n && n(w, c);
17838
17838
  },
17839
17839
  ...v,
17840
17840
  children: [
@@ -17887,7 +17887,7 @@ const vp = /* @__PURE__ */ d5.forwardRef(Mp), gp = s(B3, Ha), Zp = ({
17887
17887
  maxRows: u = 6,
17888
17888
  onSend: n,
17889
17889
  onChange: v,
17890
- ...R
17890
+ ...w
17891
17891
  }) => {
17892
17892
  const x = j2(null), [H, V] = E5(""), y = () => {
17893
17893
  const A = x.current;
@@ -17906,7 +17906,7 @@ const vp = /* @__PURE__ */ d5.forwardRef(Mp), gp = s(B3, Ha), Zp = ({
17906
17906
  ref: x,
17907
17907
  value: H,
17908
17908
  onChange: (A) => {
17909
- V(A.target.value), v == null || v(A);
17909
+ (!(w != null && w.maxLength) || A.target.value.length < (w == null ? void 0 : w.maxLength)) && (V(A.target.value), v == null || v(A));
17910
17910
  },
17911
17911
  onKeyDown: (A) => {
17912
17912
  if (A.key === "Enter" && !A.shiftKey) {
@@ -17921,17 +17921,17 @@ const vp = /* @__PURE__ */ d5.forwardRef(Mp), gp = s(B3, Ha), Zp = ({
17921
17921
  });
17922
17922
  }
17923
17923
  },
17924
+ css: bp,
17924
17925
  rows: c,
17925
- resize: "none!important",
17926
17926
  overflowAnchor: "none",
17927
17927
  boxSizing: "border-box",
17928
- css: bp,
17929
- ...R
17928
+ resize: "none",
17929
+ ...w
17930
17930
  }
17931
17931
  );
17932
17932
  }, yp = C1((c, u) => {
17933
- const [n, v] = l0.splitVariantProps(c), [R, x] = i2(v), { className: H, unit: V, price: y, ...P } = x, q = l0(n), A = !!V;
17934
- return /* @__PURE__ */ r("span", { ref: u, className: t2("price-tag", q.root, L5(R), H), ...P, children: [
17933
+ const [n, v] = l0.splitVariantProps(c), [w, x] = i2(v), { className: H, unit: V, price: y, ...P } = x, q = l0(n), A = !!V;
17934
+ return /* @__PURE__ */ r("span", { ref: u, className: t2("price-tag", q.root, L5(w), H), ...P, children: [
17935
17935
  /* @__PURE__ */ C("span", { className: q.price, children: y }),
17936
17936
  A ? /* @__PURE__ */ r("span", { className: q.unit, children: [
17937
17937
  "/ ",
@@ -18096,7 +18096,7 @@ const { withProvider: Fp, withContext: m5 } = e1(xa, {
18096
18096
  }
18097
18097
  ) }) })
18098
18098
  ] }) }),
18099
- /* @__PURE__ */ C(N5, { when: c, wrapper: (R) => /* @__PURE__ */ C(w5, { children: R }), children: /* @__PURE__ */ C(os, { children: /* @__PURE__ */ C(ls, { children: v0.map((R) => /* @__PURE__ */ C(rs, { item: R, children: /* @__PURE__ */ C(ns, { truncate: !0, children: R.label }) }, R.value)) }) }) }),
18099
+ /* @__PURE__ */ C(N5, { when: c, wrapper: (w) => /* @__PURE__ */ C(w5, { children: w }), children: /* @__PURE__ */ C(os, { children: /* @__PURE__ */ C(ls, { children: v0.map((w) => /* @__PURE__ */ C(rs, { item: w, children: /* @__PURE__ */ C(ns, { truncate: !0, children: w.label }) }, w.value)) }) }) }),
18100
18100
  /* @__PURE__ */ C(O.HiddenSelect, {})
18101
18101
  ]
18102
18102
  }
@@ -20513,22 +20513,22 @@ function Os(c, u) {
20513
20513
  }
20514
20514
  function $s(c, u, n) {
20515
20515
  var v = {};
20516
- return n.isMergeableObject(c) && Z0(c).forEach(function(R) {
20517
- v[R] = y4(c[R], n);
20518
- }), Z0(u).forEach(function(R) {
20519
- Os(c, R) || (yC(c, R) && n.isMergeableObject(u[R]) ? v[R] = Ns(R, n)(c[R], u[R], n) : v[R] = y4(u[R], n));
20516
+ return n.isMergeableObject(c) && Z0(c).forEach(function(w) {
20517
+ v[w] = y4(c[w], n);
20518
+ }), Z0(u).forEach(function(w) {
20519
+ Os(c, w) || (yC(c, w) && n.isMergeableObject(u[w]) ? v[w] = Ns(w, n)(c[w], u[w], n) : v[w] = y4(u[w], n));
20520
20520
  }), v;
20521
20521
  }
20522
20522
  function G2(c, u, n) {
20523
20523
  n = n || {}, n.arrayMerge = n.arrayMerge || Es, n.isMergeableObject = n.isMergeableObject || Bs, n.cloneUnlessOtherwiseSpecified = y4;
20524
- var v = Array.isArray(u), R = Array.isArray(c), x = v === R;
20524
+ var v = Array.isArray(u), w = Array.isArray(c), x = v === w;
20525
20525
  return x ? v ? n.arrayMerge(c, u, n) : $s(c, u, n) : y4(u, n);
20526
20526
  }
20527
20527
  G2.all = function(u, n) {
20528
20528
  if (!Array.isArray(u))
20529
20529
  throw new Error("first argument should be an array");
20530
- return u.reduce(function(v, R) {
20531
- return G2(v, R, n);
20530
+ return u.reduce(function(v, w) {
20531
+ return G2(v, w, n);
20532
20532
  }, {});
20533
20533
  };
20534
20534
  var Gs = G2, Us = Gs;