@mriqbox/ui-kit 4.3.0 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -3802,39 +3802,39 @@ const Eu = ne("Zap", [
3802
3802
  }
3803
3803
  );
3804
3804
  te.displayName = "MriButton";
3805
- const tx = (e = {}) => /* @__PURE__ */ l.jsxs("svg", { className: e.className, width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3805
+ const nx = (e = {}) => /* @__PURE__ */ l.jsxs("svg", { className: e.className, width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3806
3806
  /* @__PURE__ */ l.jsx("path", { d: "M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
3807
3807
  /* @__PURE__ */ l.jsx("circle", { cx: "12", cy: "9", r: "2.5", fill: "currentColor" })
3808
- ] }), rx = (e = {}) => /* @__PURE__ */ l.jsxs("svg", { className: e.className, width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3808
+ ] }), ox = (e = {}) => /* @__PURE__ */ l.jsxs("svg", { className: e.className, width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3809
3809
  /* @__PURE__ */ l.jsx("path", { d: "M21 15v4a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
3810
3810
  /* @__PURE__ */ l.jsx("path", { d: "M7 10l5-5 5 5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
3811
3811
  /* @__PURE__ */ l.jsx("path", { d: "M12 5v12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
3812
- ] }), nx = (e = {}) => /* @__PURE__ */ l.jsxs("svg", { className: e.className, width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3812
+ ] }), ax = (e = {}) => /* @__PURE__ */ l.jsxs("svg", { className: e.className, width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3813
3813
  /* @__PURE__ */ l.jsx("path", { d: "M21 12H7", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
3814
3814
  /* @__PURE__ */ l.jsx("path", { d: "M11 16l-4-4 4-4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
3815
- ] }), ox = (e = {}) => /* @__PURE__ */ l.jsxs("svg", { className: e.className, width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3815
+ ] }), sx = (e = {}) => /* @__PURE__ */ l.jsxs("svg", { className: e.className, width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3816
3816
  /* @__PURE__ */ l.jsx("path", { d: "M21 12a9 9 0 11-3-6.6", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
3817
3817
  /* @__PURE__ */ l.jsx("path", { d: "M12 8v8", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
3818
3818
  /* @__PURE__ */ l.jsx("path", { d: "M8 12h8", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
3819
- ] }), ax = (e = {}) => /* @__PURE__ */ l.jsx("svg", { className: e.className, width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ l.jsx("path", { d: "M20 6L9 17l-5-5", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round" }) }), sx = (e = {}) => /* @__PURE__ */ l.jsxs("svg", { className: e.className, width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3819
+ ] }), ix = (e = {}) => /* @__PURE__ */ l.jsx("svg", { className: e.className, width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ l.jsx("path", { d: "M20 6L9 17l-5-5", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round" }) }), lx = (e = {}) => /* @__PURE__ */ l.jsxs("svg", { className: e.className, width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3820
3820
  /* @__PURE__ */ l.jsx("rect", { x: "2", y: "7", width: "20", height: "14", rx: "2", stroke: "currentColor", strokeWidth: "1.5" }),
3821
3821
  /* @__PURE__ */ l.jsx("path", { d: "M12 11v6", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
3822
3822
  /* @__PURE__ */ l.jsx("circle", { cx: "12", cy: "10", r: "1.5", fill: "currentColor" })
3823
- ] }), ix = (e = {}) => /* @__PURE__ */ l.jsxs("svg", { className: e.className, width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3823
+ ] }), cx = (e = {}) => /* @__PURE__ */ l.jsxs("svg", { className: e.className, width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3824
3824
  /* @__PURE__ */ l.jsx("path", { d: "M16 3l3 3v11a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V6l3-3", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
3825
3825
  /* @__PURE__ */ l.jsx("path", { d: "M9 8h6", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
3826
- ] }), lx = (e = {}) => /* @__PURE__ */ l.jsxs("svg", { className: e.className, width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3826
+ ] }), dx = (e = {}) => /* @__PURE__ */ l.jsxs("svg", { className: e.className, width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3827
3827
  /* @__PURE__ */ l.jsx("path", { d: "M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12z", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
3828
3828
  /* @__PURE__ */ l.jsx("circle", { cx: "12", cy: "12", r: "3", stroke: "currentColor", strokeWidth: "1.5" })
3829
- ] }), cx = (e = {}) => /* @__PURE__ */ l.jsxs("svg", { className: e.className, width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3829
+ ] }), ux = (e = {}) => /* @__PURE__ */ l.jsxs("svg", { className: e.className, width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3830
3830
  /* @__PURE__ */ l.jsx("path", { d: "M10.29 3.86L1.82 18a2 2 0 001.71 3h16.94a2 2 0 001.71-3L13.71 3.86a2 2 0 00-3.42 0z", stroke: "currentColor", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" }),
3831
3831
  /* @__PURE__ */ l.jsx("path", { d: "M12 9v4", stroke: "currentColor", strokeWidth: "1.4", strokeLinecap: "round", strokeLinejoin: "round" }),
3832
3832
  /* @__PURE__ */ l.jsx("circle", { cx: "12", cy: "17", r: "0.8", fill: "currentColor" })
3833
- ] }), dx = (e = {}) => /* @__PURE__ */ l.jsxs("svg", { className: e.className, width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3833
+ ] }), fx = (e = {}) => /* @__PURE__ */ l.jsxs("svg", { className: e.className, width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3834
3834
  /* @__PURE__ */ l.jsx("path", { d: "M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
3835
3835
  /* @__PURE__ */ l.jsx("circle", { cx: "12", cy: "7", r: "4", stroke: "currentColor", strokeWidth: "1.5" }),
3836
3836
  /* @__PURE__ */ l.jsx("path", { d: "M15 10l-6-6", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
3837
- ] }), ux = (e = {}) => /* @__PURE__ */ l.jsxs("svg", { className: e.className, width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3837
+ ] }), hx = (e = {}) => /* @__PURE__ */ l.jsxs("svg", { className: e.className, width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
3838
3838
  /* @__PURE__ */ l.jsx("circle", { cx: "12", cy: "12", r: "9", stroke: "currentColor", strokeWidth: "1.5" }),
3839
3839
  /* @__PURE__ */ l.jsx("path", { d: "M4.93 4.93l14.14 14.14", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
3840
3840
  ] }), Oo = m.forwardRef(
@@ -4621,7 +4621,7 @@ const _i = m.forwardRef(({ className: e, orientation: t = "vertical", ...r }, n)
4621
4621
  }
4622
4622
  ));
4623
4623
  _i.displayName = Ao.displayName;
4624
- function fx({
4624
+ function mx({
4625
4625
  label: e,
4626
4626
  variant: t = "default",
4627
4627
  className: r,
@@ -4653,8 +4653,94 @@ const nf = ({ size: e = "md" }) => {
4653
4653
  className: `${t[e]} border-t-accent border-white rounded-full animate-spin`
4654
4654
  }
4655
4655
  ) });
4656
- };
4657
- function of(e) {
4656
+ }, of = m.forwardRef(
4657
+ ({ checked: e, onCheckedChange: t, disabled: r, size: n = "default", className: o, id: a, ...s }, i) => {
4658
+ const c = n === "sm" ? "w-7 h-4 after:h-3 after:w-3" : "w-9 h-5 after:h-4 after:w-4";
4659
+ return /* @__PURE__ */ l.jsxs(
4660
+ "label",
4661
+ {
4662
+ className: S(
4663
+ "relative inline-flex items-center shrink-0",
4664
+ r ? "cursor-not-allowed opacity-50" : "cursor-pointer",
4665
+ o
4666
+ ),
4667
+ children: [
4668
+ /* @__PURE__ */ l.jsx(
4669
+ "input",
4670
+ {
4671
+ ref: i,
4672
+ id: a,
4673
+ type: "checkbox",
4674
+ checked: e,
4675
+ disabled: r,
4676
+ onChange: (d) => t(d.target.checked),
4677
+ className: "sr-only peer",
4678
+ "aria-label": s["aria-label"]
4679
+ }
4680
+ ),
4681
+ /* @__PURE__ */ l.jsx(
4682
+ "div",
4683
+ {
4684
+ className: S(
4685
+ "rounded-full border border-border bg-muted transition-colors",
4686
+ "peer-checked:bg-primary peer-focus-visible:ring-2 peer-focus-visible:ring-ring peer-focus-visible:ring-offset-2 ring-offset-background",
4687
+ // Knob (after pseudo-element)
4688
+ 'after:content-[""] after:absolute after:top-[2px] after:left-[2px]',
4689
+ "after:bg-white after:rounded-full after:transition-transform",
4690
+ "peer-checked:after:translate-x-full",
4691
+ c
4692
+ )
4693
+ }
4694
+ )
4695
+ ]
4696
+ }
4697
+ );
4698
+ }
4699
+ );
4700
+ of.displayName = "MriSwitch";
4701
+ const af = m.forwardRef(
4702
+ ({ className: e, error: t, hint: r, resize: n = "vertical", onChange: o, ...a }, s) => {
4703
+ const i = !!t, c = typeof t == "string" ? t : null, d = m.useRef(null), u = m.useCallback((p) => {
4704
+ d.current = p, typeof s == "function" ? s(p) : s && (s.current = p);
4705
+ }, [s]), f = (p) => {
4706
+ n === "auto" && d.current && (d.current.style.height = "auto", d.current.style.height = `${d.current.scrollHeight}px`), o == null || o(p);
4707
+ }, h = {
4708
+ auto: "resize-none overflow-hidden",
4709
+ vertical: "resize-y",
4710
+ none: "resize-none"
4711
+ }[n];
4712
+ return /* @__PURE__ */ l.jsxs("div", { className: "w-full space-y-1", children: [
4713
+ /* @__PURE__ */ l.jsx(
4714
+ "textarea",
4715
+ {
4716
+ ...a,
4717
+ ref: u,
4718
+ onChange: f,
4719
+ className: S(
4720
+ "w-full rounded-lg border bg-background/50 text-foreground text-sm px-3 py-2",
4721
+ "focus:border-ring focus:outline-none placeholder:text-muted-foreground transition-colors",
4722
+ "disabled:opacity-50 disabled:cursor-not-allowed",
4723
+ h,
4724
+ i ? "border-destructive focus:border-destructive" : "border-input",
4725
+ e
4726
+ )
4727
+ }
4728
+ ),
4729
+ (c || r) && /* @__PURE__ */ l.jsx(
4730
+ "p",
4731
+ {
4732
+ className: S(
4733
+ "text-[10px] font-medium px-1",
4734
+ c ? "text-destructive animate-in fade-in slide-in-from-top-1" : "text-muted-foreground"
4735
+ ),
4736
+ children: c || r
4737
+ }
4738
+ )
4739
+ ] });
4740
+ }
4741
+ );
4742
+ af.displayName = "MriTextarea";
4743
+ function sf(e) {
4658
4744
  const t = e + "CollectionProvider", [r, n] = Pt(t), [o, a] = r(
4659
4745
  t,
4660
4746
  { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
@@ -4694,7 +4780,7 @@ function of(e) {
4694
4780
  n
4695
4781
  ];
4696
4782
  }
4697
- var af = m[" useInsertionEffect ".trim().toString()] || Oe;
4783
+ var lf = m[" useInsertionEffect ".trim().toString()] || Oe;
4698
4784
  function xr({
4699
4785
  prop: e,
4700
4786
  defaultProp: t,
@@ -4702,7 +4788,7 @@ function xr({
4702
4788
  },
4703
4789
  caller: n
4704
4790
  }) {
4705
- const [o, a, s] = sf({
4791
+ const [o, a, s] = cf({
4706
4792
  defaultProp: t,
4707
4793
  onChange: r
4708
4794
  }), i = e !== void 0, c = i ? e : o;
@@ -4719,7 +4805,7 @@ function xr({
4719
4805
  (u) => {
4720
4806
  var f;
4721
4807
  if (i) {
4722
- const h = lf(u) ? u(e) : u;
4808
+ const h = df(u) ? u(e) : u;
4723
4809
  h !== e && ((f = s.current) == null || f.call(s, h));
4724
4810
  } else
4725
4811
  a(u);
@@ -4728,30 +4814,30 @@ function xr({
4728
4814
  );
4729
4815
  return [c, d];
4730
4816
  }
4731
- function sf({
4817
+ function cf({
4732
4818
  defaultProp: e,
4733
4819
  onChange: t
4734
4820
  }) {
4735
4821
  const [r, n] = m.useState(e), o = m.useRef(r), a = m.useRef(t);
4736
- return af(() => {
4822
+ return lf(() => {
4737
4823
  a.current = t;
4738
4824
  }, [t]), m.useEffect(() => {
4739
4825
  var s;
4740
4826
  o.current !== r && ((s = a.current) == null || s.call(a, r), o.current = r);
4741
4827
  }, [r, o]), [r, n, a];
4742
4828
  }
4743
- function lf(e) {
4829
+ function df(e) {
4744
4830
  return typeof e == "function";
4745
4831
  }
4746
- var cf = m[" useId ".trim().toString()] || (() => {
4747
- }), df = 0;
4832
+ var uf = m[" useId ".trim().toString()] || (() => {
4833
+ }), ff = 0;
4748
4834
  function Ie(e) {
4749
- const [t, r] = m.useState(cf());
4835
+ const [t, r] = m.useState(uf());
4750
4836
  return Oe(() => {
4751
- r((n) => n ?? String(df++));
4837
+ r((n) => n ?? String(ff++));
4752
4838
  }, [e]), t ? `radix-${t}` : "";
4753
4839
  }
4754
- var hn = "Collapsible", [uf, Mi] = Pt(hn), [ff, Io] = uf(hn), Ei = m.forwardRef(
4840
+ var hn = "Collapsible", [hf, Mi] = Pt(hn), [mf, Io] = hf(hn), Ei = m.forwardRef(
4755
4841
  (e, t) => {
4756
4842
  const {
4757
4843
  __scopeCollapsible: r,
@@ -4767,7 +4853,7 @@ var hn = "Collapsible", [uf, Mi] = Pt(hn), [ff, Io] = uf(hn), Ei = m.forwardRef(
4767
4853
  caller: hn
4768
4854
  });
4769
4855
  return /* @__PURE__ */ l.jsx(
4770
- ff,
4856
+ mf,
4771
4857
  {
4772
4858
  scope: r,
4773
4859
  disabled: a,
@@ -4811,11 +4897,11 @@ Ri.displayName = Pi;
4811
4897
  var Wo = "CollapsibleContent", Oi = m.forwardRef(
4812
4898
  (e, t) => {
4813
4899
  const { forceMount: r, ...n } = e, o = Io(Wo, e.__scopeCollapsible);
4814
- return /* @__PURE__ */ l.jsx(Ye, { present: r || o.open, children: ({ present: a }) => /* @__PURE__ */ l.jsx(hf, { ...n, ref: t, present: a }) });
4900
+ return /* @__PURE__ */ l.jsx(Ye, { present: r || o.open, children: ({ present: a }) => /* @__PURE__ */ l.jsx(pf, { ...n, ref: t, present: a }) });
4815
4901
  }
4816
4902
  );
4817
4903
  Oi.displayName = Wo;
4818
- var hf = m.forwardRef((e, t) => {
4904
+ var pf = m.forwardRef((e, t) => {
4819
4905
  const { __scopeCollapsible: r, present: n, children: o, ...a } = e, s = Io(Wo, r), [i, c] = m.useState(n), d = m.useRef(null), u = ve(t, d), f = m.useRef(0), h = f.current, p = m.useRef(0), g = p.current, v = s.open || i, b = m.useRef(v), x = m.useRef(void 0);
4820
4906
  return m.useEffect(() => {
4821
4907
  const y = requestAnimationFrame(() => b.current = !1);
@@ -4851,20 +4937,20 @@ var hf = m.forwardRef((e, t) => {
4851
4937
  function Fo(e) {
4852
4938
  return e ? "open" : "closed";
4853
4939
  }
4854
- var mf = Ei, pf = Ri, vf = Oi, Ve = "Accordion", gf = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [$o, bf, xf] = of(Ve), [mn] = Pt(Ve, [
4855
- xf,
4940
+ var vf = Ei, gf = Ri, bf = Oi, Ve = "Accordion", xf = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [$o, yf, wf] = sf(Ve), [mn] = Pt(Ve, [
4941
+ wf,
4856
4942
  Mi
4857
4943
  ]), Bo = Mi(), Di = q.forwardRef(
4858
4944
  (e, t) => {
4859
4945
  const { type: r, ...n } = e, o = n, a = n;
4860
- return /* @__PURE__ */ l.jsx($o.Provider, { scope: e.__scopeAccordion, children: r === "multiple" ? /* @__PURE__ */ l.jsx(Cf, { ...a, ref: t }) : /* @__PURE__ */ l.jsx(Nf, { ...o, ref: t }) });
4946
+ return /* @__PURE__ */ l.jsx($o.Provider, { scope: e.__scopeAccordion, children: r === "multiple" ? /* @__PURE__ */ l.jsx(Sf, { ...a, ref: t }) : /* @__PURE__ */ l.jsx(jf, { ...o, ref: t }) });
4861
4947
  }
4862
4948
  );
4863
4949
  Di.displayName = Ve;
4864
- var [Ai, yf] = mn(Ve), [Ti, wf] = mn(
4950
+ var [Ai, Nf] = mn(Ve), [Ti, Cf] = mn(
4865
4951
  Ve,
4866
4952
  { collapsible: !1 }
4867
- ), Nf = q.forwardRef(
4953
+ ), jf = q.forwardRef(
4868
4954
  (e, t) => {
4869
4955
  const {
4870
4956
  value: r,
@@ -4890,7 +4976,7 @@ var [Ai, yf] = mn(Ve), [Ti, wf] = mn(
4890
4976
  }
4891
4977
  );
4892
4978
  }
4893
- ), Cf = q.forwardRef((e, t) => {
4979
+ ), Sf = q.forwardRef((e, t) => {
4894
4980
  const {
4895
4981
  value: r,
4896
4982
  defaultValue: n,
@@ -4919,11 +5005,11 @@ var [Ai, yf] = mn(Ve), [Ti, wf] = mn(
4919
5005
  children: /* @__PURE__ */ l.jsx(Ti, { scope: e.__scopeAccordion, collapsible: !0, children: /* @__PURE__ */ l.jsx(Li, { ...a, ref: t }) })
4920
5006
  }
4921
5007
  );
4922
- }), [jf, pn] = mn(Ve), Li = q.forwardRef(
5008
+ }), [kf, pn] = mn(Ve), Li = q.forwardRef(
4923
5009
  (e, t) => {
4924
- const { __scopeAccordion: r, disabled: n, dir: o, orientation: a = "vertical", ...s } = e, i = q.useRef(null), c = ve(i, t), d = bf(r), f = hi(o) === "ltr", h = he(e.onKeyDown, (p) => {
5010
+ const { __scopeAccordion: r, disabled: n, dir: o, orientation: a = "vertical", ...s } = e, i = q.useRef(null), c = ve(i, t), d = yf(r), f = hi(o) === "ltr", h = he(e.onKeyDown, (p) => {
4925
5011
  var F;
4926
- if (!gf.includes(p.key)) return;
5012
+ if (!xf.includes(p.key)) return;
4927
5013
  const g = p.target, v = d().filter((A) => {
4928
5014
  var I;
4929
5015
  return !((I = A.ref.current) != null && I.disabled);
@@ -4960,7 +5046,7 @@ var [Ai, yf] = mn(Ve), [Ti, wf] = mn(
4960
5046
  (F = v[k].ref.current) == null || F.focus();
4961
5047
  });
4962
5048
  return /* @__PURE__ */ l.jsx(
4963
- jf,
5049
+ kf,
4964
5050
  {
4965
5051
  scope: r,
4966
5052
  disabled: n,
@@ -4978,18 +5064,18 @@ var [Ai, yf] = mn(Ve), [Ti, wf] = mn(
4978
5064
  }
4979
5065
  );
4980
5066
  }
4981
- ), en = "AccordionItem", [Sf, zo] = mn(en), Ii = q.forwardRef(
5067
+ ), en = "AccordionItem", [_f, zo] = mn(en), Ii = q.forwardRef(
4982
5068
  (e, t) => {
4983
- const { __scopeAccordion: r, value: n, ...o } = e, a = pn(en, r), s = yf(en, r), i = Bo(r), c = Ie(), d = n && s.value.includes(n) || !1, u = a.disabled || e.disabled;
5069
+ const { __scopeAccordion: r, value: n, ...o } = e, a = pn(en, r), s = Nf(en, r), i = Bo(r), c = Ie(), d = n && s.value.includes(n) || !1, u = a.disabled || e.disabled;
4984
5070
  return /* @__PURE__ */ l.jsx(
4985
- Sf,
5071
+ _f,
4986
5072
  {
4987
5073
  scope: r,
4988
5074
  open: d,
4989
5075
  disabled: u,
4990
5076
  triggerId: c,
4991
5077
  children: /* @__PURE__ */ l.jsx(
4992
- mf,
5078
+ vf,
4993
5079
  {
4994
5080
  "data-orientation": a.orientation,
4995
5081
  "data-state": Hi(d),
@@ -5026,9 +5112,9 @@ var Wi = "AccordionHeader", Fi = q.forwardRef(
5026
5112
  Fi.displayName = Wi;
5027
5113
  var co = "AccordionTrigger", $i = q.forwardRef(
5028
5114
  (e, t) => {
5029
- const { __scopeAccordion: r, ...n } = e, o = pn(Ve, r), a = zo(co, r), s = wf(co, r), i = Bo(r);
5115
+ const { __scopeAccordion: r, ...n } = e, o = pn(Ve, r), a = zo(co, r), s = Cf(co, r), i = Bo(r);
5030
5116
  return /* @__PURE__ */ l.jsx($o.ItemSlot, { scope: r, children: /* @__PURE__ */ l.jsx(
5031
- pf,
5117
+ gf,
5032
5118
  {
5033
5119
  "aria-disabled": a.open && !s.collapsible || void 0,
5034
5120
  "data-orientation": o.orientation,
@@ -5045,7 +5131,7 @@ var Bi = "AccordionContent", zi = q.forwardRef(
5045
5131
  (e, t) => {
5046
5132
  const { __scopeAccordion: r, ...n } = e, o = pn(Ve, r), a = zo(Bi, r), s = Bo(r);
5047
5133
  return /* @__PURE__ */ l.jsx(
5048
- vf,
5134
+ bf,
5049
5135
  {
5050
5136
  role: "region",
5051
5137
  "aria-labelledby": a.triggerId,
@@ -5066,17 +5152,17 @@ zi.displayName = Bi;
5066
5152
  function Hi(e) {
5067
5153
  return e ? "open" : "closed";
5068
5154
  }
5069
- var kf = Di, _f = Ii, Mf = Fi, Yi = $i, Vi = zi;
5070
- const hx = kf, Ef = m.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
5071
- _f,
5155
+ var Mf = Di, Ef = Ii, Pf = Fi, Yi = $i, Vi = zi;
5156
+ const px = Mf, Rf = m.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
5157
+ Ef,
5072
5158
  {
5073
5159
  ref: r,
5074
5160
  className: S("border-b border-border_primary", e),
5075
5161
  ...t
5076
5162
  }
5077
5163
  ));
5078
- Ef.displayName = "MriAccordionItem";
5079
- const Pf = m.forwardRef(({ className: e, children: t, ...r }, n) => /* @__PURE__ */ l.jsx(Mf, { className: "flex", children: /* @__PURE__ */ l.jsxs(
5164
+ Rf.displayName = "MriAccordionItem";
5165
+ const Of = m.forwardRef(({ className: e, children: t, ...r }, n) => /* @__PURE__ */ l.jsx(Pf, { className: "flex", children: /* @__PURE__ */ l.jsxs(
5080
5166
  Yi,
5081
5167
  {
5082
5168
  ref: n,
@@ -5091,8 +5177,8 @@ const Pf = m.forwardRef(({ className: e, children: t, ...r }, n) => /* @__PURE__
5091
5177
  ]
5092
5178
  }
5093
5179
  ) }));
5094
- Pf.displayName = Yi.displayName;
5095
- const Rf = m.forwardRef(({ className: e, children: t, ...r }, n) => /* @__PURE__ */ l.jsx(
5180
+ Of.displayName = Yi.displayName;
5181
+ const Df = m.forwardRef(({ className: e, children: t, ...r }, n) => /* @__PURE__ */ l.jsx(
5096
5182
  Vi,
5097
5183
  {
5098
5184
  ref: n,
@@ -5101,8 +5187,8 @@ const Rf = m.forwardRef(({ className: e, children: t, ...r }, n) => /* @__PURE__
5101
5187
  children: /* @__PURE__ */ l.jsx("div", { className: S("pb-4 pt-0", e), children: t })
5102
5188
  }
5103
5189
  ));
5104
- Rf.displayName = Vi.displayName;
5105
- const Of = m.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
5190
+ Df.displayName = Vi.displayName;
5191
+ const Af = m.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
5106
5192
  "div",
5107
5193
  {
5108
5194
  ref: r,
@@ -5113,8 +5199,8 @@ const Of = m.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
5113
5199
  ...t
5114
5200
  }
5115
5201
  ));
5116
- Of.displayName = "MriCard";
5117
- const Df = m.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
5202
+ Af.displayName = "MriCard";
5203
+ const Tf = m.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
5118
5204
  "div",
5119
5205
  {
5120
5206
  ref: r,
@@ -5122,8 +5208,8 @@ const Df = m.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
5122
5208
  ...t
5123
5209
  }
5124
5210
  ));
5125
- Df.displayName = "MriCardHeader";
5126
- const Af = m.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
5211
+ Tf.displayName = "MriCardHeader";
5212
+ const Lf = m.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
5127
5213
  "div",
5128
5214
  {
5129
5215
  ref: r,
@@ -5131,8 +5217,8 @@ const Af = m.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
5131
5217
  ...t
5132
5218
  }
5133
5219
  ));
5134
- Af.displayName = "MriCardTitle";
5135
- const Tf = m.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
5220
+ Lf.displayName = "MriCardTitle";
5221
+ const If = m.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
5136
5222
  "div",
5137
5223
  {
5138
5224
  ref: r,
@@ -5140,10 +5226,10 @@ const Tf = m.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
5140
5226
  ...t
5141
5227
  }
5142
5228
  ));
5143
- Tf.displayName = "MriCardDescription";
5144
- const Lf = m.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx("div", { ref: r, className: S("p-6 pt-0", e), ...t }));
5145
- Lf.displayName = "MriCardContent";
5146
- const If = m.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
5229
+ If.displayName = "MriCardDescription";
5230
+ const Wf = m.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx("div", { ref: r, className: S("p-6 pt-0", e), ...t }));
5231
+ Wf.displayName = "MriCardContent";
5232
+ const Ff = m.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
5147
5233
  "div",
5148
5234
  {
5149
5235
  ref: r,
@@ -5151,8 +5237,8 @@ const If = m.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
5151
5237
  ...t
5152
5238
  }
5153
5239
  ));
5154
- If.displayName = "MriCardFooter";
5155
- function Wf(e, t = globalThis == null ? void 0 : globalThis.document) {
5240
+ Ff.displayName = "MriCardFooter";
5241
+ function $f(e, t = globalThis == null ? void 0 : globalThis.document) {
5156
5242
  const r = _e(e);
5157
5243
  m.useEffect(() => {
5158
5244
  const n = (o) => {
@@ -5161,7 +5247,7 @@ function Wf(e, t = globalThis == null ? void 0 : globalThis.document) {
5161
5247
  return t.addEventListener("keydown", n, { capture: !0 }), () => t.removeEventListener("keydown", n, { capture: !0 });
5162
5248
  }, [r, t]);
5163
5249
  }
5164
- var Ff = "DismissableLayer", uo = "dismissableLayer.update", $f = "dismissableLayer.pointerDownOutside", Bf = "dismissableLayer.focusOutside", qa, Ui = m.createContext({
5250
+ var Bf = "DismissableLayer", uo = "dismissableLayer.update", zf = "dismissableLayer.pointerDownOutside", Hf = "dismissableLayer.focusOutside", qa, Ui = m.createContext({
5165
5251
  layers: /* @__PURE__ */ new Set(),
5166
5252
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
5167
5253
  branches: /* @__PURE__ */ new Set()
@@ -5175,14 +5261,14 @@ var Ff = "DismissableLayer", uo = "dismissableLayer.update", $f = "dismissableLa
5175
5261
  onInteractOutside: s,
5176
5262
  onDismiss: i,
5177
5263
  ...c
5178
- } = e, d = m.useContext(Ui), [u, f] = m.useState(null), h = (u == null ? void 0 : u.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, p] = m.useState({}), g = ve(t, (k) => f(k)), v = Array.from(d.layers), [b] = [...d.layersWithOutsidePointerEventsDisabled].slice(-1), x = v.indexOf(b), y = u ? v.indexOf(u) : -1, N = d.layersWithOutsidePointerEventsDisabled.size > 0, C = y >= x, j = Yf((k) => {
5264
+ } = e, d = m.useContext(Ui), [u, f] = m.useState(null), h = (u == null ? void 0 : u.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, p] = m.useState({}), g = ve(t, (k) => f(k)), v = Array.from(d.layers), [b] = [...d.layersWithOutsidePointerEventsDisabled].slice(-1), x = v.indexOf(b), y = u ? v.indexOf(u) : -1, N = d.layersWithOutsidePointerEventsDisabled.size > 0, C = y >= x, j = Uf((k) => {
5179
5265
  const F = k.target, A = [...d.branches].some((I) => I.contains(F));
5180
5266
  !C || A || (o == null || o(k), s == null || s(k), k.defaultPrevented || i == null || i());
5181
- }, h), _ = Vf((k) => {
5267
+ }, h), _ = qf((k) => {
5182
5268
  const F = k.target;
5183
5269
  [...d.branches].some((I) => I.contains(F)) || (a == null || a(k), s == null || s(k), k.defaultPrevented || i == null || i());
5184
5270
  }, h);
5185
- return Wf((k) => {
5271
+ return $f((k) => {
5186
5272
  y === d.layers.size - 1 && (n == null || n(k), !k.defaultPrevented && i && (k.preventDefault(), i()));
5187
5273
  }, h), m.useEffect(() => {
5188
5274
  if (u)
@@ -5213,8 +5299,8 @@ var Ff = "DismissableLayer", uo = "dismissableLayer.update", $f = "dismissableLa
5213
5299
  );
5214
5300
  }
5215
5301
  );
5216
- Ho.displayName = Ff;
5217
- var zf = "DismissableLayerBranch", Hf = m.forwardRef((e, t) => {
5302
+ Ho.displayName = Bf;
5303
+ var Yf = "DismissableLayerBranch", Vf = m.forwardRef((e, t) => {
5218
5304
  const r = m.useContext(Ui), n = m.useRef(null), o = ve(t, n);
5219
5305
  return m.useEffect(() => {
5220
5306
  const a = n.current;
@@ -5224,8 +5310,8 @@ var zf = "DismissableLayerBranch", Hf = m.forwardRef((e, t) => {
5224
5310
  };
5225
5311
  }, [r.branches]), /* @__PURE__ */ l.jsx(ce.div, { ...e, ref: o });
5226
5312
  });
5227
- Hf.displayName = zf;
5228
- function Yf(e, t = globalThis == null ? void 0 : globalThis.document) {
5313
+ Vf.displayName = Yf;
5314
+ function Uf(e, t = globalThis == null ? void 0 : globalThis.document) {
5229
5315
  const r = _e(e), n = m.useRef(!1), o = m.useRef(() => {
5230
5316
  });
5231
5317
  return m.useEffect(() => {
@@ -5233,7 +5319,7 @@ function Yf(e, t = globalThis == null ? void 0 : globalThis.document) {
5233
5319
  if (i.target && !n.current) {
5234
5320
  let c = function() {
5235
5321
  qi(
5236
- $f,
5322
+ zf,
5237
5323
  r,
5238
5324
  d,
5239
5325
  { discrete: !0 }
@@ -5255,11 +5341,11 @@ function Yf(e, t = globalThis == null ? void 0 : globalThis.document) {
5255
5341
  onPointerDownCapture: () => n.current = !0
5256
5342
  };
5257
5343
  }
5258
- function Vf(e, t = globalThis == null ? void 0 : globalThis.document) {
5344
+ function qf(e, t = globalThis == null ? void 0 : globalThis.document) {
5259
5345
  const r = _e(e), n = m.useRef(!1);
5260
5346
  return m.useEffect(() => {
5261
5347
  const o = (a) => {
5262
- a.target && !n.current && qi(Bf, r, { originalEvent: a }, {
5348
+ a.target && !n.current && qi(Hf, r, { originalEvent: a }, {
5263
5349
  discrete: !1
5264
5350
  });
5265
5351
  };
@@ -5290,7 +5376,7 @@ function Xa() {
5290
5376
  const e = document.createElement("span");
5291
5377
  return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
5292
5378
  }
5293
- var In = "focusScope.autoFocusOnMount", Wn = "focusScope.autoFocusOnUnmount", Ka = { bubbles: !1, cancelable: !0 }, Uf = "FocusScope", Yo = m.forwardRef((e, t) => {
5379
+ var In = "focusScope.autoFocusOnMount", Wn = "focusScope.autoFocusOnUnmount", Ka = { bubbles: !1, cancelable: !0 }, Gf = "FocusScope", Yo = m.forwardRef((e, t) => {
5294
5380
  const {
5295
5381
  loop: r = !1,
5296
5382
  trapped: n = !1,
@@ -5333,7 +5419,7 @@ var In = "focusScope.autoFocusOnMount", Wn = "focusScope.autoFocusOnUnmount", Ka
5333
5419
  const v = document.activeElement;
5334
5420
  if (!i.contains(v)) {
5335
5421
  const x = new CustomEvent(In, Ka);
5336
- i.addEventListener(In, d), i.dispatchEvent(x), x.defaultPrevented || (qf(Zf(Xi(i)), { select: !0 }), document.activeElement === v && ht(i));
5422
+ i.addEventListener(In, d), i.dispatchEvent(x), x.defaultPrevented || (Xf(eh(Xi(i)), { select: !0 }), document.activeElement === v && ht(i));
5337
5423
  }
5338
5424
  return () => {
5339
5425
  i.removeEventListener(In, d), setTimeout(() => {
@@ -5348,7 +5434,7 @@ var In = "focusScope.autoFocusOnMount", Wn = "focusScope.autoFocusOnUnmount", Ka
5348
5434
  if (!r && !n || p.paused) return;
5349
5435
  const b = v.key === "Tab" && !v.altKey && !v.ctrlKey && !v.metaKey, x = document.activeElement;
5350
5436
  if (b && x) {
5351
- const y = v.currentTarget, [N, C] = Gf(y);
5437
+ const y = v.currentTarget, [N, C] = Kf(y);
5352
5438
  N && C ? !v.shiftKey && x === C ? (v.preventDefault(), r && ht(N, { select: !0 })) : v.shiftKey && x === N && (v.preventDefault(), r && ht(C, { select: !0 })) : x === y && v.preventDefault();
5353
5439
  }
5354
5440
  },
@@ -5356,13 +5442,13 @@ var In = "focusScope.autoFocusOnMount", Wn = "focusScope.autoFocusOnUnmount", Ka
5356
5442
  );
5357
5443
  return /* @__PURE__ */ l.jsx(ce.div, { tabIndex: -1, ...s, ref: h, onKeyDown: g });
5358
5444
  });
5359
- Yo.displayName = Uf;
5360
- function qf(e, { select: t = !1 } = {}) {
5445
+ Yo.displayName = Gf;
5446
+ function Xf(e, { select: t = !1 } = {}) {
5361
5447
  const r = document.activeElement;
5362
5448
  for (const n of e)
5363
5449
  if (ht(n, { select: t }), document.activeElement !== r) return;
5364
5450
  }
5365
- function Gf(e) {
5451
+ function Kf(e) {
5366
5452
  const t = Xi(e), r = Qa(t, e), n = Qa(t.reverse(), e);
5367
5453
  return [r, n];
5368
5454
  }
@@ -5378,9 +5464,9 @@ function Xi(e) {
5378
5464
  }
5379
5465
  function Qa(e, t) {
5380
5466
  for (const r of e)
5381
- if (!Xf(r, { upTo: t })) return r;
5467
+ if (!Qf(r, { upTo: t })) return r;
5382
5468
  }
5383
- function Xf(e, { upTo: t }) {
5469
+ function Qf(e, { upTo: t }) {
5384
5470
  if (getComputedStyle(e).visibility === "hidden") return !0;
5385
5471
  for (; e; ) {
5386
5472
  if (t !== void 0 && e === t) return !1;
@@ -5389,17 +5475,17 @@ function Xf(e, { upTo: t }) {
5389
5475
  }
5390
5476
  return !1;
5391
5477
  }
5392
- function Kf(e) {
5478
+ function Zf(e) {
5393
5479
  return e instanceof HTMLInputElement && "select" in e;
5394
5480
  }
5395
5481
  function ht(e, { select: t = !1 } = {}) {
5396
5482
  if (e && e.focus) {
5397
5483
  const r = document.activeElement;
5398
- e.focus({ preventScroll: !0 }), e !== r && Kf(e) && t && e.select();
5484
+ e.focus({ preventScroll: !0 }), e !== r && Zf(e) && t && e.select();
5399
5485
  }
5400
5486
  }
5401
- var Za = Qf();
5402
- function Qf() {
5487
+ var Za = Jf();
5488
+ function Jf() {
5403
5489
  let e = [];
5404
5490
  return {
5405
5491
  add(t) {
@@ -5416,18 +5502,18 @@ function Ja(e, t) {
5416
5502
  const r = [...e], n = r.indexOf(t);
5417
5503
  return n !== -1 && r.splice(n, 1), r;
5418
5504
  }
5419
- function Zf(e) {
5505
+ function eh(e) {
5420
5506
  return e.filter((t) => t.tagName !== "A");
5421
5507
  }
5422
- const Jf = ["top", "right", "bottom", "left"], pt = Math.min, Pe = Math.max, tn = Math.round, Lr = Math.floor, Ze = (e) => ({
5508
+ const th = ["top", "right", "bottom", "left"], pt = Math.min, Pe = Math.max, tn = Math.round, Lr = Math.floor, Ze = (e) => ({
5423
5509
  x: e,
5424
5510
  y: e
5425
- }), eh = {
5511
+ }), rh = {
5426
5512
  left: "right",
5427
5513
  right: "left",
5428
5514
  bottom: "top",
5429
5515
  top: "bottom"
5430
- }, th = {
5516
+ }, nh = {
5431
5517
  start: "end",
5432
5518
  end: "start"
5433
5519
  };
@@ -5449,48 +5535,48 @@ function Vo(e) {
5449
5535
  function Uo(e) {
5450
5536
  return e === "y" ? "height" : "width";
5451
5537
  }
5452
- const rh = /* @__PURE__ */ new Set(["top", "bottom"]);
5538
+ const oh = /* @__PURE__ */ new Set(["top", "bottom"]);
5453
5539
  function Ke(e) {
5454
- return rh.has(lt(e)) ? "y" : "x";
5540
+ return oh.has(lt(e)) ? "y" : "x";
5455
5541
  }
5456
5542
  function qo(e) {
5457
5543
  return Vo(Ke(e));
5458
5544
  }
5459
- function nh(e, t, r) {
5545
+ function ah(e, t, r) {
5460
5546
  r === void 0 && (r = !1);
5461
5547
  const n = Qt(e), o = qo(e), a = Uo(o);
5462
5548
  let s = o === "x" ? n === (r ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
5463
5549
  return t.reference[a] > t.floating[a] && (s = rn(s)), [s, rn(s)];
5464
5550
  }
5465
- function oh(e) {
5551
+ function sh(e) {
5466
5552
  const t = rn(e);
5467
5553
  return [ho(e), t, ho(t)];
5468
5554
  }
5469
5555
  function ho(e) {
5470
- return e.replace(/start|end/g, (t) => th[t]);
5556
+ return e.replace(/start|end/g, (t) => nh[t]);
5471
5557
  }
5472
- const es = ["left", "right"], ts = ["right", "left"], ah = ["top", "bottom"], sh = ["bottom", "top"];
5473
- function ih(e, t, r) {
5558
+ const es = ["left", "right"], ts = ["right", "left"], ih = ["top", "bottom"], lh = ["bottom", "top"];
5559
+ function ch(e, t, r) {
5474
5560
  switch (e) {
5475
5561
  case "top":
5476
5562
  case "bottom":
5477
5563
  return r ? t ? ts : es : t ? es : ts;
5478
5564
  case "left":
5479
5565
  case "right":
5480
- return t ? ah : sh;
5566
+ return t ? ih : lh;
5481
5567
  default:
5482
5568
  return [];
5483
5569
  }
5484
5570
  }
5485
- function lh(e, t, r, n) {
5571
+ function dh(e, t, r, n) {
5486
5572
  const o = Qt(e);
5487
- let a = ih(lt(e), r === "start", n);
5573
+ let a = ch(lt(e), r === "start", n);
5488
5574
  return o && (a = a.map((s) => s + "-" + o), t && (a = a.concat(a.map(ho)))), a;
5489
5575
  }
5490
5576
  function rn(e) {
5491
- return e.replace(/left|right|bottom|top/g, (t) => eh[t]);
5577
+ return e.replace(/left|right|bottom|top/g, (t) => rh[t]);
5492
5578
  }
5493
- function ch(e) {
5579
+ function uh(e) {
5494
5580
  return {
5495
5581
  top: 0,
5496
5582
  right: 0,
@@ -5500,7 +5586,7 @@ function ch(e) {
5500
5586
  };
5501
5587
  }
5502
5588
  function Ki(e) {
5503
- return typeof e != "number" ? ch(e) : {
5589
+ return typeof e != "number" ? uh(e) : {
5504
5590
  top: e,
5505
5591
  right: e,
5506
5592
  bottom: e,
@@ -5573,7 +5659,7 @@ function rs(e, t, r) {
5573
5659
  }
5574
5660
  return p;
5575
5661
  }
5576
- const dh = async (e, t, r) => {
5662
+ const fh = async (e, t, r) => {
5577
5663
  const {
5578
5664
  placement: n = "bottom",
5579
5665
  strategy: o = "absolute",
@@ -5679,7 +5765,7 @@ async function hr(e, t) {
5679
5765
  right: (j.right - x.right + g.right) / C.x
5680
5766
  };
5681
5767
  }
5682
- const uh = (e) => ({
5768
+ const hh = (e) => ({
5683
5769
  name: "arrow",
5684
5770
  options: e,
5685
5771
  async fn(t) {
@@ -5716,7 +5802,7 @@ const uh = (e) => ({
5716
5802
  reset: U
5717
5803
  };
5718
5804
  }
5719
- }), fh = function(e) {
5805
+ }), mh = function(e) {
5720
5806
  return e === void 0 && (e = {}), {
5721
5807
  name: "flip",
5722
5808
  options: e,
@@ -5740,12 +5826,12 @@ const uh = (e) => ({
5740
5826
  } = it(e, t);
5741
5827
  if ((r = a.arrow) != null && r.alignmentOffset)
5742
5828
  return {};
5743
- const x = lt(o), y = Ke(i), N = lt(i) === i, C = await (c.isRTL == null ? void 0 : c.isRTL(d.floating)), j = h || (N || !v ? [rn(i)] : oh(i)), _ = g !== "none";
5744
- !h && _ && j.push(...lh(i, v, g, C));
5829
+ const x = lt(o), y = Ke(i), N = lt(i) === i, C = await (c.isRTL == null ? void 0 : c.isRTL(d.floating)), j = h || (N || !v ? [rn(i)] : sh(i)), _ = g !== "none";
5830
+ !h && _ && j.push(...dh(i, v, g, C));
5745
5831
  const k = [i, ...j], F = await hr(t, b), A = [];
5746
5832
  let I = ((n = a.flip) == null ? void 0 : n.overflows) || [];
5747
5833
  if (u && A.push(F[x]), f) {
5748
- const L = nh(o, s, C);
5834
+ const L = ah(o, s, C);
5749
5835
  A.push(F[L[0]], F[L[1]]);
5750
5836
  }
5751
5837
  if (I = [...I, {
@@ -5807,9 +5893,9 @@ function ns(e, t) {
5807
5893
  };
5808
5894
  }
5809
5895
  function os(e) {
5810
- return Jf.some((t) => e[t] >= 0);
5896
+ return th.some((t) => e[t] >= 0);
5811
5897
  }
5812
- const hh = function(e) {
5898
+ const ph = function(e) {
5813
5899
  return e === void 0 && (e = {}), {
5814
5900
  name: "hide",
5815
5901
  options: e,
@@ -5851,7 +5937,7 @@ const hh = function(e) {
5851
5937
  }
5852
5938
  };
5853
5939
  }, Qi = /* @__PURE__ */ new Set(["left", "top"]);
5854
- async function mh(e, t) {
5940
+ async function vh(e, t) {
5855
5941
  const {
5856
5942
  placement: r,
5857
5943
  platform: n,
@@ -5878,7 +5964,7 @@ async function mh(e, t) {
5878
5964
  y: p * u
5879
5965
  };
5880
5966
  }
5881
- const ph = function(e) {
5967
+ const gh = function(e) {
5882
5968
  return e === void 0 && (e = 0), {
5883
5969
  name: "offset",
5884
5970
  options: e,
@@ -5889,7 +5975,7 @@ const ph = function(e) {
5889
5975
  y: a,
5890
5976
  placement: s,
5891
5977
  middlewareData: i
5892
- } = t, c = await mh(t, e);
5978
+ } = t, c = await vh(t, e);
5893
5979
  return s === ((r = i.offset) == null ? void 0 : r.placement) && (n = i.arrow) != null && n.alignmentOffset ? {} : {
5894
5980
  x: o + c.x,
5895
5981
  y: a + c.y,
@@ -5900,7 +5986,7 @@ const ph = function(e) {
5900
5986
  };
5901
5987
  }
5902
5988
  };
5903
- }, vh = function(e) {
5989
+ }, bh = function(e) {
5904
5990
  return e === void 0 && (e = {}), {
5905
5991
  name: "shift",
5906
5992
  options: e,
@@ -5956,7 +6042,7 @@ const ph = function(e) {
5956
6042
  };
5957
6043
  }
5958
6044
  };
5959
- }, gh = function(e) {
6045
+ }, xh = function(e) {
5960
6046
  return e === void 0 && (e = {}), {
5961
6047
  options: e,
5962
6048
  fn(t) {
@@ -5998,7 +6084,7 @@ const ph = function(e) {
5998
6084
  };
5999
6085
  }
6000
6086
  };
6001
- }, bh = function(e) {
6087
+ }, yh = function(e) {
6002
6088
  return e === void 0 && (e = {}), {
6003
6089
  name: "size",
6004
6090
  options: e,
@@ -6065,7 +6151,7 @@ function Je(e) {
6065
6151
  function as(e) {
6066
6152
  return !vn() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Re(e).ShadowRoot;
6067
6153
  }
6068
- const xh = /* @__PURE__ */ new Set(["inline", "contents"]);
6154
+ const wh = /* @__PURE__ */ new Set(["inline", "contents"]);
6069
6155
  function yr(e) {
6070
6156
  const {
6071
6157
  overflow: t,
@@ -6073,15 +6159,15 @@ function yr(e) {
6073
6159
  overflowY: n,
6074
6160
  display: o
6075
6161
  } = $e(e);
6076
- return /auto|scroll|overlay|hidden|clip/.test(t + n + r) && !xh.has(o);
6162
+ return /auto|scroll|overlay|hidden|clip/.test(t + n + r) && !wh.has(o);
6077
6163
  }
6078
- const yh = /* @__PURE__ */ new Set(["table", "td", "th"]);
6079
- function wh(e) {
6080
- return yh.has(Zt(e));
6164
+ const Nh = /* @__PURE__ */ new Set(["table", "td", "th"]);
6165
+ function Ch(e) {
6166
+ return Nh.has(Zt(e));
6081
6167
  }
6082
- const Nh = [":popover-open", ":modal"];
6168
+ const jh = [":popover-open", ":modal"];
6083
6169
  function gn(e) {
6084
- return Nh.some((t) => {
6170
+ return jh.some((t) => {
6085
6171
  try {
6086
6172
  return e.matches(t);
6087
6173
  } catch {
@@ -6089,12 +6175,12 @@ function gn(e) {
6089
6175
  }
6090
6176
  });
6091
6177
  }
6092
- const Ch = ["transform", "translate", "scale", "rotate", "perspective"], jh = ["transform", "translate", "scale", "rotate", "perspective", "filter"], Sh = ["paint", "layout", "strict", "content"];
6178
+ const Sh = ["transform", "translate", "scale", "rotate", "perspective"], kh = ["transform", "translate", "scale", "rotate", "perspective", "filter"], _h = ["paint", "layout", "strict", "content"];
6093
6179
  function Go(e) {
6094
6180
  const t = Xo(), r = Fe(e) ? $e(e) : e;
6095
- return Ch.some((n) => r[n] ? r[n] !== "none" : !1) || (r.containerType ? r.containerType !== "normal" : !1) || !t && (r.backdropFilter ? r.backdropFilter !== "none" : !1) || !t && (r.filter ? r.filter !== "none" : !1) || jh.some((n) => (r.willChange || "").includes(n)) || Sh.some((n) => (r.contain || "").includes(n));
6181
+ return Sh.some((n) => r[n] ? r[n] !== "none" : !1) || (r.containerType ? r.containerType !== "normal" : !1) || !t && (r.backdropFilter ? r.backdropFilter !== "none" : !1) || !t && (r.filter ? r.filter !== "none" : !1) || kh.some((n) => (r.willChange || "").includes(n)) || _h.some((n) => (r.contain || "").includes(n));
6096
6182
  }
6097
- function kh(e) {
6183
+ function Mh(e) {
6098
6184
  let t = vt(e);
6099
6185
  for (; Je(t) && !Ut(t); ) {
6100
6186
  if (Go(t))
@@ -6108,9 +6194,9 @@ function kh(e) {
6108
6194
  function Xo() {
6109
6195
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
6110
6196
  }
6111
- const _h = /* @__PURE__ */ new Set(["html", "body", "#document"]);
6197
+ const Eh = /* @__PURE__ */ new Set(["html", "body", "#document"]);
6112
6198
  function Ut(e) {
6113
- return _h.has(Zt(e));
6199
+ return Eh.has(Zt(e));
6114
6200
  }
6115
6201
  function $e(e) {
6116
6202
  return Re(e).getComputedStyle(e);
@@ -6181,15 +6267,15 @@ function zt(e) {
6181
6267
  y: i
6182
6268
  };
6183
6269
  }
6184
- const Mh = /* @__PURE__ */ Ze(0);
6270
+ const Ph = /* @__PURE__ */ Ze(0);
6185
6271
  function tl(e) {
6186
6272
  const t = Re(e);
6187
- return !Xo() || !t.visualViewport ? Mh : {
6273
+ return !Xo() || !t.visualViewport ? Ph : {
6188
6274
  x: t.visualViewport.offsetLeft,
6189
6275
  y: t.visualViewport.offsetTop
6190
6276
  };
6191
6277
  }
6192
- function Eh(e, t, r) {
6278
+ function Rh(e, t, r) {
6193
6279
  return t === void 0 && (t = !1), !r || t && r !== Re(e) ? !1 : t;
6194
6280
  }
6195
6281
  function jt(e, t, r, n) {
@@ -6197,7 +6283,7 @@ function jt(e, t, r, n) {
6197
6283
  const o = e.getBoundingClientRect(), a = Ko(e);
6198
6284
  let s = Ze(1);
6199
6285
  t && (n ? Fe(n) && (s = zt(n)) : s = zt(e));
6200
- const i = Eh(a, r, n) ? tl(a) : Ze(0);
6286
+ const i = Rh(a, r, n) ? tl(a) : Ze(0);
6201
6287
  let c = (o.left + i.x) / s.x, d = (o.top + i.y) / s.y, u = o.width / s.x, f = o.height / s.y;
6202
6288
  if (a) {
6203
6289
  const h = Re(a), p = n && Fe(n) ? Re(n) : n;
@@ -6225,7 +6311,7 @@ function rl(e, t) {
6225
6311
  y: o
6226
6312
  };
6227
6313
  }
6228
- function Ph(e) {
6314
+ function Oh(e) {
6229
6315
  let {
6230
6316
  elements: t,
6231
6317
  rect: r,
@@ -6252,10 +6338,10 @@ function Ph(e) {
6252
6338
  y: r.y * d.y - c.scrollTop * d.y + u.y + h.y
6253
6339
  };
6254
6340
  }
6255
- function Rh(e) {
6341
+ function Dh(e) {
6256
6342
  return Array.from(e.getClientRects());
6257
6343
  }
6258
- function Oh(e) {
6344
+ function Ah(e) {
6259
6345
  const t = rt(e), r = bn(e), n = e.ownerDocument.body, o = Pe(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), a = Pe(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
6260
6346
  let s = -r.scrollLeft + xn(e);
6261
6347
  const i = -r.scrollTop;
@@ -6267,7 +6353,7 @@ function Oh(e) {
6267
6353
  };
6268
6354
  }
6269
6355
  const ss = 25;
6270
- function Dh(e, t) {
6356
+ function Th(e, t) {
6271
6357
  const r = Re(e), n = rt(e), o = r.visualViewport;
6272
6358
  let a = n.clientWidth, s = n.clientHeight, i = 0, c = 0;
6273
6359
  if (o) {
@@ -6287,8 +6373,8 @@ function Dh(e, t) {
6287
6373
  y: c
6288
6374
  };
6289
6375
  }
6290
- const Ah = /* @__PURE__ */ new Set(["absolute", "fixed"]);
6291
- function Th(e, t) {
6376
+ const Lh = /* @__PURE__ */ new Set(["absolute", "fixed"]);
6377
+ function Ih(e, t) {
6292
6378
  const r = jt(e, !0, t === "fixed"), n = r.top + e.clientTop, o = r.left + e.clientLeft, a = Je(e) ? zt(e) : Ze(1), s = e.clientWidth * a.x, i = e.clientHeight * a.y, c = o * a.x, d = n * a.y;
6293
6379
  return {
6294
6380
  width: s,
@@ -6300,11 +6386,11 @@ function Th(e, t) {
6300
6386
  function is(e, t, r) {
6301
6387
  let n;
6302
6388
  if (t === "viewport")
6303
- n = Dh(e, r);
6389
+ n = Th(e, r);
6304
6390
  else if (t === "document")
6305
- n = Oh(rt(e));
6391
+ n = Ah(rt(e));
6306
6392
  else if (Fe(t))
6307
- n = Th(t, r);
6393
+ n = Ih(t, r);
6308
6394
  else {
6309
6395
  const o = tl(e);
6310
6396
  n = {
@@ -6320,7 +6406,7 @@ function nl(e, t) {
6320
6406
  const r = vt(e);
6321
6407
  return r === t || !Fe(r) || Ut(r) ? !1 : $e(r).position === "fixed" || nl(r, t);
6322
6408
  }
6323
- function Lh(e, t) {
6409
+ function Wh(e, t) {
6324
6410
  const r = t.get(e);
6325
6411
  if (r)
6326
6412
  return r;
@@ -6329,18 +6415,18 @@ function Lh(e, t) {
6329
6415
  let s = a ? vt(e) : e;
6330
6416
  for (; Fe(s) && !Ut(s); ) {
6331
6417
  const i = $e(s), c = Go(s);
6332
- !c && i.position === "fixed" && (o = null), (a ? !c && !o : !c && i.position === "static" && !!o && Ah.has(o.position) || yr(s) && !c && nl(e, s)) ? n = n.filter((u) => u !== s) : o = i, s = vt(s);
6418
+ !c && i.position === "fixed" && (o = null), (a ? !c && !o : !c && i.position === "static" && !!o && Lh.has(o.position) || yr(s) && !c && nl(e, s)) ? n = n.filter((u) => u !== s) : o = i, s = vt(s);
6333
6419
  }
6334
6420
  return t.set(e, n), n;
6335
6421
  }
6336
- function Ih(e) {
6422
+ function Fh(e) {
6337
6423
  let {
6338
6424
  element: t,
6339
6425
  boundary: r,
6340
6426
  rootBoundary: n,
6341
6427
  strategy: o
6342
6428
  } = e;
6343
- const s = [...r === "clippingAncestors" ? gn(t) ? [] : Lh(t, this._c) : [].concat(r), n], i = s[0], c = s.reduce((d, u) => {
6429
+ const s = [...r === "clippingAncestors" ? gn(t) ? [] : Wh(t, this._c) : [].concat(r), n], i = s[0], c = s.reduce((d, u) => {
6344
6430
  const f = is(t, u, o);
6345
6431
  return d.top = Pe(f.top, d.top), d.right = pt(f.right, d.right), d.bottom = pt(f.bottom, d.bottom), d.left = Pe(f.left, d.left), d;
6346
6432
  }, is(t, i, o));
@@ -6351,7 +6437,7 @@ function Ih(e) {
6351
6437
  y: c.top
6352
6438
  };
6353
6439
  }
6354
- function Wh(e) {
6440
+ function $h(e) {
6355
6441
  const {
6356
6442
  width: t,
6357
6443
  height: r
@@ -6361,7 +6447,7 @@ function Wh(e) {
6361
6447
  height: r
6362
6448
  };
6363
6449
  }
6364
- function Fh(e, t, r) {
6450
+ function Bh(e, t, r) {
6365
6451
  const n = Je(t), o = rt(t), a = r === "fixed", s = jt(e, !0, a, t);
6366
6452
  let i = {
6367
6453
  scrollLeft: 0,
@@ -6410,14 +6496,14 @@ function ol(e, t) {
6410
6496
  return r;
6411
6497
  }
6412
6498
  let n = ls(e, t);
6413
- for (; n && wh(n) && Fn(n); )
6499
+ for (; n && Ch(n) && Fn(n); )
6414
6500
  n = ls(n, t);
6415
- return n && Ut(n) && Fn(n) && !Go(n) ? r : n || kh(e) || r;
6501
+ return n && Ut(n) && Fn(n) && !Go(n) ? r : n || Mh(e) || r;
6416
6502
  }
6417
- const $h = async function(e) {
6503
+ const zh = async function(e) {
6418
6504
  const t = this.getOffsetParent || ol, r = this.getDimensions, n = await r(e.floating);
6419
6505
  return {
6420
- reference: Fh(e.reference, await t(e.floating), e.strategy),
6506
+ reference: Bh(e.reference, await t(e.floating), e.strategy),
6421
6507
  floating: {
6422
6508
  x: 0,
6423
6509
  y: 0,
@@ -6426,25 +6512,25 @@ const $h = async function(e) {
6426
6512
  }
6427
6513
  };
6428
6514
  };
6429
- function Bh(e) {
6515
+ function Hh(e) {
6430
6516
  return $e(e).direction === "rtl";
6431
6517
  }
6432
- const zh = {
6433
- convertOffsetParentRelativeRectToViewportRelativeRect: Ph,
6518
+ const Yh = {
6519
+ convertOffsetParentRelativeRectToViewportRelativeRect: Oh,
6434
6520
  getDocumentElement: rt,
6435
- getClippingRect: Ih,
6521
+ getClippingRect: Fh,
6436
6522
  getOffsetParent: ol,
6437
- getElementRects: $h,
6438
- getClientRects: Rh,
6439
- getDimensions: Wh,
6523
+ getElementRects: zh,
6524
+ getClientRects: Dh,
6525
+ getDimensions: $h,
6440
6526
  getScale: zt,
6441
6527
  isElement: Fe,
6442
- isRTL: Bh
6528
+ isRTL: Hh
6443
6529
  };
6444
6530
  function al(e, t) {
6445
6531
  return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
6446
6532
  }
6447
- function Hh(e, t) {
6533
+ function Vh(e, t) {
6448
6534
  let r = null, n;
6449
6535
  const o = rt(e);
6450
6536
  function a() {
@@ -6490,7 +6576,7 @@ function Hh(e, t) {
6490
6576
  }
6491
6577
  return s(!0), a;
6492
6578
  }
6493
- function Yh(e, t, r, n) {
6579
+ function Uh(e, t, r, n) {
6494
6580
  n === void 0 && (n = {});
6495
6581
  const {
6496
6582
  ancestorScroll: o = !0,
@@ -6504,7 +6590,7 @@ function Yh(e, t, r, n) {
6504
6590
  passive: !0
6505
6591
  }), a && x.addEventListener("resize", r);
6506
6592
  });
6507
- const f = d && i ? Hh(d, r) : null;
6593
+ const f = d && i ? Vh(d, r) : null;
6508
6594
  let h = -1, p = null;
6509
6595
  s && (p = new ResizeObserver((x) => {
6510
6596
  let [y] = x;
@@ -6526,21 +6612,21 @@ function Yh(e, t, r, n) {
6526
6612
  }), f == null || f(), (x = p) == null || x.disconnect(), p = null, c && cancelAnimationFrame(g);
6527
6613
  };
6528
6614
  }
6529
- const Vh = ph, Uh = vh, qh = fh, Gh = bh, Xh = hh, cs = uh, Kh = gh, Qh = (e, t, r) => {
6615
+ const qh = gh, Gh = bh, Xh = mh, Kh = yh, Qh = ph, cs = hh, Zh = xh, Jh = (e, t, r) => {
6530
6616
  const n = /* @__PURE__ */ new Map(), o = {
6531
- platform: zh,
6617
+ platform: Yh,
6532
6618
  ...r
6533
6619
  }, a = {
6534
6620
  ...o.platform,
6535
6621
  _c: n
6536
6622
  };
6537
- return dh(e, t, {
6623
+ return fh(e, t, {
6538
6624
  ...o,
6539
6625
  platform: a
6540
6626
  });
6541
6627
  };
6542
- var Zh = typeof document < "u", Jh = function() {
6543
- }, Yr = Zh ? ko : Jh;
6628
+ var em = typeof document < "u", tm = function() {
6629
+ }, Yr = em ? ko : tm;
6544
6630
  function on(e, t) {
6545
6631
  if (e === t)
6546
6632
  return !0;
@@ -6584,7 +6670,7 @@ function $n(e) {
6584
6670
  t.current = e;
6585
6671
  }), t;
6586
6672
  }
6587
- function em(e) {
6673
+ function rm(e) {
6588
6674
  e === void 0 && (e = {});
6589
6675
  const {
6590
6676
  placement: t = "bottom",
@@ -6619,7 +6705,7 @@ function em(e) {
6619
6705
  strategy: r,
6620
6706
  middleware: h
6621
6707
  };
6622
- B.current && (M.platform = B.current), Qh(_.current, k.current, M).then((G) => {
6708
+ B.current && (M.platform = B.current), Jh(_.current, k.current, M).then((G) => {
6623
6709
  const de = {
6624
6710
  ...G,
6625
6711
  // The floating element's position may be recomputed while it's closed
@@ -6686,7 +6772,7 @@ function em(e) {
6686
6772
  floatingStyles: R
6687
6773
  }), [u, $, T, U, R]);
6688
6774
  }
6689
- const tm = (e) => {
6775
+ const nm = (e) => {
6690
6776
  function t(r) {
6691
6777
  return {}.hasOwnProperty.call(r, "current");
6692
6778
  }
@@ -6707,29 +6793,29 @@ const tm = (e) => {
6707
6793
  }).fn(r) : {};
6708
6794
  }
6709
6795
  };
6710
- }, rm = (e, t) => ({
6711
- ...Vh(e),
6712
- options: [e, t]
6713
- }), nm = (e, t) => ({
6714
- ...Uh(e),
6715
- options: [e, t]
6716
- }), om = (e, t) => ({
6717
- ...Kh(e),
6796
+ }, om = (e, t) => ({
6797
+ ...qh(e),
6718
6798
  options: [e, t]
6719
6799
  }), am = (e, t) => ({
6720
- ...qh(e),
6800
+ ...Gh(e),
6721
6801
  options: [e, t]
6722
6802
  }), sm = (e, t) => ({
6723
- ...Gh(e),
6803
+ ...Zh(e),
6724
6804
  options: [e, t]
6725
6805
  }), im = (e, t) => ({
6726
6806
  ...Xh(e),
6727
6807
  options: [e, t]
6728
6808
  }), lm = (e, t) => ({
6729
- ...tm(e),
6809
+ ...Kh(e),
6810
+ options: [e, t]
6811
+ }), cm = (e, t) => ({
6812
+ ...Qh(e),
6813
+ options: [e, t]
6814
+ }), dm = (e, t) => ({
6815
+ ...nm(e),
6730
6816
  options: [e, t]
6731
6817
  });
6732
- var cm = "Arrow", il = m.forwardRef((e, t) => {
6818
+ var um = "Arrow", il = m.forwardRef((e, t) => {
6733
6819
  const { children: r, width: n = 10, height: o = 5, ...a } = e;
6734
6820
  return /* @__PURE__ */ l.jsx(
6735
6821
  ce.svg,
@@ -6744,9 +6830,9 @@ var cm = "Arrow", il = m.forwardRef((e, t) => {
6744
6830
  }
6745
6831
  );
6746
6832
  });
6747
- il.displayName = cm;
6748
- var dm = il;
6749
- function um(e) {
6833
+ il.displayName = um;
6834
+ var fm = il;
6835
+ function hm(e) {
6750
6836
  const [t, r] = m.useState(void 0);
6751
6837
  return Oe(() => {
6752
6838
  if (e) {
@@ -6768,9 +6854,9 @@ function um(e) {
6768
6854
  r(void 0);
6769
6855
  }, [e]), t;
6770
6856
  }
6771
- var Qo = "Popper", [ll, cl] = Pt(Qo), [fm, dl] = ll(Qo), ul = (e) => {
6857
+ var Qo = "Popper", [ll, cl] = Pt(Qo), [mm, dl] = ll(Qo), ul = (e) => {
6772
6858
  const { __scopePopper: t, children: r } = e, [n, o] = m.useState(null);
6773
- return /* @__PURE__ */ l.jsx(fm, { scope: t, anchor: n, onAnchorChange: o, children: r });
6859
+ return /* @__PURE__ */ l.jsx(mm, { scope: t, anchor: n, onAnchorChange: o, children: r });
6774
6860
  };
6775
6861
  ul.displayName = Qo;
6776
6862
  var fl = "PopperAnchor", hl = m.forwardRef(
@@ -6783,7 +6869,7 @@ var fl = "PopperAnchor", hl = m.forwardRef(
6783
6869
  }
6784
6870
  );
6785
6871
  hl.displayName = fl;
6786
- var Zo = "PopperContent", [hm, mm] = ll(Zo), ml = m.forwardRef(
6872
+ var Zo = "PopperContent", [pm, vm] = ll(Zo), ml = m.forwardRef(
6787
6873
  (e, t) => {
6788
6874
  var J, me, ue, De, Rr, rr;
6789
6875
  const {
@@ -6801,40 +6887,40 @@ var Zo = "PopperContent", [hm, mm] = ll(Zo), ml = m.forwardRef(
6801
6887
  updatePositionStrategy: p = "optimized",
6802
6888
  onPlaced: g,
6803
6889
  ...v
6804
- } = e, b = dl(Zo, r), [x, y] = m.useState(null), N = ve(t, (xt) => y(xt)), [C, j] = m.useState(null), _ = um(C), k = (_ == null ? void 0 : _.width) ?? 0, F = (_ == null ? void 0 : _.height) ?? 0, A = n + (a !== "center" ? "-" + a : ""), I = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, B = Array.isArray(d) ? d : [d], O = B.length > 0, $ = {
6890
+ } = e, b = dl(Zo, r), [x, y] = m.useState(null), N = ve(t, (xt) => y(xt)), [C, j] = m.useState(null), _ = hm(C), k = (_ == null ? void 0 : _.width) ?? 0, F = (_ == null ? void 0 : _.height) ?? 0, A = n + (a !== "center" ? "-" + a : ""), I = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, B = Array.isArray(d) ? d : [d], O = B.length > 0, $ = {
6805
6891
  padding: I,
6806
- boundary: B.filter(vm),
6892
+ boundary: B.filter(bm),
6807
6893
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
6808
6894
  altBoundary: O
6809
- }, { refs: L, floatingStyles: T, placement: U, isPositioned: R, middlewareData: M } = em({
6895
+ }, { refs: L, floatingStyles: T, placement: U, isPositioned: R, middlewareData: M } = rm({
6810
6896
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
6811
6897
  strategy: "fixed",
6812
6898
  placement: A,
6813
- whileElementsMounted: (...xt) => Yh(...xt, {
6899
+ whileElementsMounted: (...xt) => Uh(...xt, {
6814
6900
  animationFrame: p === "always"
6815
6901
  }),
6816
6902
  elements: {
6817
6903
  reference: b.anchor
6818
6904
  },
6819
6905
  middleware: [
6820
- rm({ mainAxis: o + F, alignmentAxis: s }),
6821
- c && nm({
6906
+ om({ mainAxis: o + F, alignmentAxis: s }),
6907
+ c && am({
6822
6908
  mainAxis: !0,
6823
6909
  crossAxis: !1,
6824
- limiter: f === "partial" ? om() : void 0,
6910
+ limiter: f === "partial" ? sm() : void 0,
6825
6911
  ...$
6826
6912
  }),
6827
- c && am({ ...$ }),
6828
- sm({
6913
+ c && im({ ...$ }),
6914
+ lm({
6829
6915
  ...$,
6830
6916
  apply: ({ elements: xt, rects: Or, availableWidth: Ot, availableHeight: yt }) => {
6831
6917
  const { width: Dr, height: Ar } = Or.reference, nt = xt.floating.style;
6832
6918
  nt.setProperty("--radix-popper-available-width", `${Ot}px`), nt.setProperty("--radix-popper-available-height", `${yt}px`), nt.setProperty("--radix-popper-anchor-width", `${Dr}px`), nt.setProperty("--radix-popper-anchor-height", `${Ar}px`);
6833
6919
  }
6834
6920
  }),
6835
- C && lm({ element: C, padding: i }),
6836
- gm({ arrowWidth: k, arrowHeight: F }),
6837
- h && im({ strategy: "referenceHidden", ...$ })
6921
+ C && dm({ element: C, padding: i }),
6922
+ xm({ arrowWidth: k, arrowHeight: F }),
6923
+ h && cm({ strategy: "referenceHidden", ...$ })
6838
6924
  ]
6839
6925
  }), [G, de] = gl(U), le = _e(g);
6840
6926
  Oe(() => {
@@ -6868,7 +6954,7 @@ var Zo = "PopperContent", [hm, mm] = ll(Zo), ml = m.forwardRef(
6868
6954
  },
6869
6955
  dir: e.dir,
6870
6956
  children: /* @__PURE__ */ l.jsx(
6871
- hm,
6957
+ pm,
6872
6958
  {
6873
6959
  scope: r,
6874
6960
  placedSide: G,
@@ -6898,13 +6984,13 @@ var Zo = "PopperContent", [hm, mm] = ll(Zo), ml = m.forwardRef(
6898
6984
  }
6899
6985
  );
6900
6986
  ml.displayName = Zo;
6901
- var pl = "PopperArrow", pm = {
6987
+ var pl = "PopperArrow", gm = {
6902
6988
  top: "bottom",
6903
6989
  right: "left",
6904
6990
  bottom: "top",
6905
6991
  left: "right"
6906
6992
  }, vl = m.forwardRef(function(t, r) {
6907
- const { __scopePopper: n, ...o } = t, a = mm(pl, n), s = pm[a.placedSide];
6993
+ const { __scopePopper: n, ...o } = t, a = vm(pl, n), s = gm[a.placedSide];
6908
6994
  return (
6909
6995
  // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
6910
6996
  // doesn't report size as we'd expect on SVG elements.
@@ -6933,7 +7019,7 @@ var pl = "PopperArrow", pm = {
6933
7019
  visibility: a.shouldHideArrow ? "hidden" : void 0
6934
7020
  },
6935
7021
  children: /* @__PURE__ */ l.jsx(
6936
- dm,
7022
+ fm,
6937
7023
  {
6938
7024
  ...o,
6939
7025
  ref: r,
@@ -6949,10 +7035,10 @@ var pl = "PopperArrow", pm = {
6949
7035
  );
6950
7036
  });
6951
7037
  vl.displayName = pl;
6952
- function vm(e) {
7038
+ function bm(e) {
6953
7039
  return e !== null;
6954
7040
  }
6955
- var gm = (e) => ({
7041
+ var xm = (e) => ({
6956
7042
  name: "transformOrigin",
6957
7043
  options: e,
6958
7044
  fn(t) {
@@ -6966,22 +7052,22 @@ function gl(e) {
6966
7052
  const [t, r = "center"] = e.split("-");
6967
7053
  return [t, r];
6968
7054
  }
6969
- var bm = ul, bl = hl, xm = ml, ym = vl, wm = "Portal", Jo = m.forwardRef((e, t) => {
7055
+ var ym = ul, bl = hl, wm = ml, Nm = vl, Cm = "Portal", Jo = m.forwardRef((e, t) => {
6970
7056
  var i;
6971
7057
  const { container: r, ...n } = e, [o, a] = m.useState(!1);
6972
7058
  Oe(() => a(!0), []);
6973
7059
  const s = r || o && ((i = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : i.body);
6974
7060
  return s ? cd.createPortal(/* @__PURE__ */ l.jsx(ce.div, { ...n, ref: t }), s) : null;
6975
7061
  });
6976
- Jo.displayName = wm;
6977
- var Nm = function(e) {
7062
+ Jo.displayName = Cm;
7063
+ var jm = function(e) {
6978
7064
  if (typeof document > "u")
6979
7065
  return null;
6980
7066
  var t = Array.isArray(e) ? e[0] : e;
6981
7067
  return t.ownerDocument.body;
6982
7068
  }, Tt = /* @__PURE__ */ new WeakMap(), Ir = /* @__PURE__ */ new WeakMap(), Wr = {}, Bn = 0, xl = function(e) {
6983
7069
  return e && (e.host || xl(e.parentNode));
6984
- }, Cm = function(e, t) {
7070
+ }, Sm = function(e, t) {
6985
7071
  return t.map(function(r) {
6986
7072
  if (e.contains(r))
6987
7073
  return r;
@@ -6990,8 +7076,8 @@ var Nm = function(e) {
6990
7076
  }).filter(function(r) {
6991
7077
  return !!r;
6992
7078
  });
6993
- }, jm = function(e, t, r, n) {
6994
- var o = Cm(t, Array.isArray(e) ? e : [e]);
7079
+ }, km = function(e, t, r, n) {
7080
+ var o = Sm(t, Array.isArray(e) ? e : [e]);
6995
7081
  Wr[r] || (Wr[r] = /* @__PURE__ */ new WeakMap());
6996
7082
  var a = Wr[r], s = [], i = /* @__PURE__ */ new Set(), c = new Set(o), d = function(f) {
6997
7083
  !f || i.has(f) || (i.add(f), d(f.parentNode));
@@ -7018,8 +7104,8 @@ var Nm = function(e) {
7018
7104
  };
7019
7105
  }, yl = function(e, t, r) {
7020
7106
  r === void 0 && (r = "data-aria-hidden");
7021
- var n = Array.from(Array.isArray(e) ? e : [e]), o = Nm(e);
7022
- return o ? (n.push.apply(n, Array.from(o.querySelectorAll("[aria-live], script"))), jm(n, o, r, "aria-hidden")) : function() {
7107
+ var n = Array.from(Array.isArray(e) ? e : [e]), o = jm(e);
7108
+ return o ? (n.push.apply(n, Array.from(o.querySelectorAll("[aria-live], script"))), km(n, o, r, "aria-hidden")) : function() {
7023
7109
  return null;
7024
7110
  };
7025
7111
  }, qe = function() {
@@ -7039,16 +7125,16 @@ function wl(e, t) {
7039
7125
  t.indexOf(n[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[o]) && (r[n[o]] = e[n[o]]);
7040
7126
  return r;
7041
7127
  }
7042
- function Sm(e, t, r) {
7128
+ function _m(e, t, r) {
7043
7129
  if (r || arguments.length === 2) for (var n = 0, o = t.length, a; n < o; n++)
7044
7130
  (a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
7045
7131
  return e.concat(a || Array.prototype.slice.call(t));
7046
7132
  }
7047
- var Vr = "right-scroll-bar-position", Ur = "width-before-scroll-bar", km = "with-scroll-bars-hidden", _m = "--removed-body-scroll-bar-size";
7133
+ var Vr = "right-scroll-bar-position", Ur = "width-before-scroll-bar", Mm = "with-scroll-bars-hidden", Em = "--removed-body-scroll-bar-size";
7048
7134
  function zn(e, t) {
7049
7135
  return typeof e == "function" ? e(t) : e && (e.current = t), e;
7050
7136
  }
7051
- function Mm(e, t) {
7137
+ function Pm(e, t) {
7052
7138
  var r = fe(function() {
7053
7139
  return {
7054
7140
  // value
@@ -7069,14 +7155,14 @@ function Mm(e, t) {
7069
7155
  })[0];
7070
7156
  return r.callback = t, r.facade;
7071
7157
  }
7072
- var Em = typeof window < "u" ? m.useLayoutEffect : m.useEffect, us = /* @__PURE__ */ new WeakMap();
7073
- function Pm(e, t) {
7074
- var r = Mm(null, function(n) {
7158
+ var Rm = typeof window < "u" ? m.useLayoutEffect : m.useEffect, us = /* @__PURE__ */ new WeakMap();
7159
+ function Om(e, t) {
7160
+ var r = Pm(null, function(n) {
7075
7161
  return e.forEach(function(o) {
7076
7162
  return zn(o, n);
7077
7163
  });
7078
7164
  });
7079
- return Em(function() {
7165
+ return Rm(function() {
7080
7166
  var n = us.get(r);
7081
7167
  if (n) {
7082
7168
  var o = new Set(n), a = new Set(e), s = r.current;
@@ -7089,11 +7175,11 @@ function Pm(e, t) {
7089
7175
  us.set(r, e);
7090
7176
  }, [e]), r;
7091
7177
  }
7092
- function Rm(e) {
7178
+ function Dm(e) {
7093
7179
  return e;
7094
7180
  }
7095
- function Om(e, t) {
7096
- t === void 0 && (t = Rm);
7181
+ function Am(e, t) {
7182
+ t === void 0 && (t = Dm);
7097
7183
  var r = [], n = !1, o = {
7098
7184
  read: function() {
7099
7185
  if (n)
@@ -7147,9 +7233,9 @@ function Om(e, t) {
7147
7233
  };
7148
7234
  return o;
7149
7235
  }
7150
- function Dm(e) {
7236
+ function Tm(e) {
7151
7237
  e === void 0 && (e = {});
7152
- var t = Om(null);
7238
+ var t = Am(null);
7153
7239
  return t.options = qe({ async: !0, ssr: !1 }, e), t;
7154
7240
  }
7155
7241
  var Nl = function(e) {
@@ -7162,16 +7248,16 @@ var Nl = function(e) {
7162
7248
  return m.createElement(n, qe({}, r));
7163
7249
  };
7164
7250
  Nl.isSideCarExport = !0;
7165
- function Am(e, t) {
7251
+ function Lm(e, t) {
7166
7252
  return e.useMedium(t), Nl;
7167
7253
  }
7168
- var Cl = Dm(), Hn = function() {
7254
+ var Cl = Tm(), Hn = function() {
7169
7255
  }, yn = m.forwardRef(function(e, t) {
7170
7256
  var r = m.useRef(null), n = m.useState({
7171
7257
  onScrollCapture: Hn,
7172
7258
  onWheelCapture: Hn,
7173
7259
  onTouchMoveCapture: Hn
7174
- }), o = n[0], a = n[1], s = e.forwardProps, i = e.children, c = e.className, d = e.removeScrollBar, u = e.enabled, f = e.shards, h = e.sideCar, p = e.noRelative, g = e.noIsolation, v = e.inert, b = e.allowPinchZoom, x = e.as, y = x === void 0 ? "div" : x, N = e.gapMode, C = wl(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), j = h, _ = Pm([r, t]), k = qe(qe({}, C), o);
7260
+ }), o = n[0], a = n[1], s = e.forwardProps, i = e.children, c = e.className, d = e.removeScrollBar, u = e.enabled, f = e.shards, h = e.sideCar, p = e.noRelative, g = e.noIsolation, v = e.inert, b = e.allowPinchZoom, x = e.as, y = x === void 0 ? "div" : x, N = e.gapMode, C = wl(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), j = h, _ = Om([r, t]), k = qe(qe({}, C), o);
7175
7261
  return m.createElement(
7176
7262
  m.Fragment,
7177
7263
  null,
@@ -7188,37 +7274,37 @@ yn.classNames = {
7188
7274
  fullWidth: Ur,
7189
7275
  zeroRight: Vr
7190
7276
  };
7191
- var Tm = function() {
7277
+ var Im = function() {
7192
7278
  if (typeof __webpack_nonce__ < "u")
7193
7279
  return __webpack_nonce__;
7194
7280
  };
7195
- function Lm() {
7281
+ function Wm() {
7196
7282
  if (!document)
7197
7283
  return null;
7198
7284
  var e = document.createElement("style");
7199
7285
  e.type = "text/css";
7200
- var t = Tm();
7286
+ var t = Im();
7201
7287
  return t && e.setAttribute("nonce", t), e;
7202
7288
  }
7203
- function Im(e, t) {
7289
+ function Fm(e, t) {
7204
7290
  e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
7205
7291
  }
7206
- function Wm(e) {
7292
+ function $m(e) {
7207
7293
  var t = document.head || document.getElementsByTagName("head")[0];
7208
7294
  t.appendChild(e);
7209
7295
  }
7210
- var Fm = function() {
7296
+ var Bm = function() {
7211
7297
  var e = 0, t = null;
7212
7298
  return {
7213
7299
  add: function(r) {
7214
- e == 0 && (t = Lm()) && (Im(t, r), Wm(t)), e++;
7300
+ e == 0 && (t = Wm()) && (Fm(t, r), $m(t)), e++;
7215
7301
  },
7216
7302
  remove: function() {
7217
7303
  e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
7218
7304
  }
7219
7305
  };
7220
- }, $m = function() {
7221
- var e = Fm();
7306
+ }, zm = function() {
7307
+ var e = Bm();
7222
7308
  return function(t, r) {
7223
7309
  m.useEffect(function() {
7224
7310
  return e.add(t), function() {
@@ -7227,35 +7313,35 @@ var Fm = function() {
7227
7313
  }, [t && r]);
7228
7314
  };
7229
7315
  }, jl = function() {
7230
- var e = $m(), t = function(r) {
7316
+ var e = zm(), t = function(r) {
7231
7317
  var n = r.styles, o = r.dynamic;
7232
7318
  return e(n, o), null;
7233
7319
  };
7234
7320
  return t;
7235
- }, Bm = {
7321
+ }, Hm = {
7236
7322
  left: 0,
7237
7323
  top: 0,
7238
7324
  right: 0,
7239
7325
  gap: 0
7240
7326
  }, Yn = function(e) {
7241
7327
  return parseInt(e || "", 10) || 0;
7242
- }, zm = function(e) {
7328
+ }, Ym = function(e) {
7243
7329
  var t = window.getComputedStyle(document.body), r = t[e === "padding" ? "paddingLeft" : "marginLeft"], n = t[e === "padding" ? "paddingTop" : "marginTop"], o = t[e === "padding" ? "paddingRight" : "marginRight"];
7244
7330
  return [Yn(r), Yn(n), Yn(o)];
7245
- }, Hm = function(e) {
7331
+ }, Vm = function(e) {
7246
7332
  if (e === void 0 && (e = "margin"), typeof window > "u")
7247
- return Bm;
7248
- var t = zm(e), r = document.documentElement.clientWidth, n = window.innerWidth;
7333
+ return Hm;
7334
+ var t = Ym(e), r = document.documentElement.clientWidth, n = window.innerWidth;
7249
7335
  return {
7250
7336
  left: t[0],
7251
7337
  top: t[1],
7252
7338
  right: t[2],
7253
7339
  gap: Math.max(0, n - r + t[2] - t[0])
7254
7340
  };
7255
- }, Ym = jl(), Ht = "data-scroll-locked", Vm = function(e, t, r, n) {
7341
+ }, Um = jl(), Ht = "data-scroll-locked", qm = function(e, t, r, n) {
7256
7342
  var o = e.left, a = e.top, s = e.right, i = e.gap;
7257
7343
  return r === void 0 && (r = "margin"), `
7258
- .`.concat(km, ` {
7344
+ .`.concat(Mm, ` {
7259
7345
  overflow: hidden `).concat(n, `;
7260
7346
  padding-right: `).concat(i, "px ").concat(n, `;
7261
7347
  }
@@ -7293,26 +7379,26 @@ var Fm = function() {
7293
7379
  }
7294
7380
 
7295
7381
  body[`).concat(Ht, `] {
7296
- `).concat(_m, ": ").concat(i, `px;
7382
+ `).concat(Em, ": ").concat(i, `px;
7297
7383
  }
7298
7384
  `);
7299
7385
  }, fs = function() {
7300
7386
  var e = parseInt(document.body.getAttribute(Ht) || "0", 10);
7301
7387
  return isFinite(e) ? e : 0;
7302
- }, Um = function() {
7388
+ }, Gm = function() {
7303
7389
  m.useEffect(function() {
7304
7390
  return document.body.setAttribute(Ht, (fs() + 1).toString()), function() {
7305
7391
  var e = fs() - 1;
7306
7392
  e <= 0 ? document.body.removeAttribute(Ht) : document.body.setAttribute(Ht, e.toString());
7307
7393
  };
7308
7394
  }, []);
7309
- }, qm = function(e) {
7395
+ }, Xm = function(e) {
7310
7396
  var t = e.noRelative, r = e.noImportant, n = e.gapMode, o = n === void 0 ? "margin" : n;
7311
- Um();
7397
+ Gm();
7312
7398
  var a = m.useMemo(function() {
7313
- return Hm(o);
7399
+ return Vm(o);
7314
7400
  }, [o]);
7315
- return m.createElement(Ym, { styles: Vm(a, !t, o, r ? "" : "!important") });
7401
+ return m.createElement(Um, { styles: qm(a, !t, o, r ? "" : "!important") });
7316
7402
  }, po = !1;
7317
7403
  if (typeof window < "u")
7318
7404
  try {
@@ -7325,7 +7411,7 @@ if (typeof window < "u")
7325
7411
  } catch {
7326
7412
  po = !1;
7327
7413
  }
7328
- var Lt = po ? { passive: !1 } : !1, Gm = function(e) {
7414
+ var Lt = po ? { passive: !1 } : !1, Km = function(e) {
7329
7415
  return e.tagName === "TEXTAREA";
7330
7416
  }, Sl = function(e, t) {
7331
7417
  if (!(e instanceof Element))
@@ -7334,11 +7420,11 @@ var Lt = po ? { passive: !1 } : !1, Gm = function(e) {
7334
7420
  return (
7335
7421
  // not-not-scrollable
7336
7422
  r[t] !== "hidden" && // contains scroll inside self
7337
- !(r.overflowY === r.overflowX && !Gm(e) && r[t] === "visible")
7423
+ !(r.overflowY === r.overflowX && !Km(e) && r[t] === "visible")
7338
7424
  );
7339
- }, Xm = function(e) {
7425
+ }, Qm = function(e) {
7340
7426
  return Sl(e, "overflowY");
7341
- }, Km = function(e) {
7427
+ }, Zm = function(e) {
7342
7428
  return Sl(e, "overflowX");
7343
7429
  }, hs = function(e, t) {
7344
7430
  var r = t.ownerDocument, n = t;
@@ -7353,14 +7439,14 @@ var Lt = po ? { passive: !1 } : !1, Gm = function(e) {
7353
7439
  n = n.parentNode;
7354
7440
  } while (n && n !== r.body);
7355
7441
  return !1;
7356
- }, Qm = function(e) {
7442
+ }, Jm = function(e) {
7357
7443
  var t = e.scrollTop, r = e.scrollHeight, n = e.clientHeight;
7358
7444
  return [
7359
7445
  t,
7360
7446
  r,
7361
7447
  n
7362
7448
  ];
7363
- }, Zm = function(e) {
7449
+ }, ep = function(e) {
7364
7450
  var t = e.scrollLeft, r = e.scrollWidth, n = e.clientWidth;
7365
7451
  return [
7366
7452
  t,
@@ -7368,13 +7454,13 @@ var Lt = po ? { passive: !1 } : !1, Gm = function(e) {
7368
7454
  n
7369
7455
  ];
7370
7456
  }, kl = function(e, t) {
7371
- return e === "v" ? Xm(t) : Km(t);
7372
- }, _l = function(e, t) {
7373
7457
  return e === "v" ? Qm(t) : Zm(t);
7374
- }, Jm = function(e, t) {
7458
+ }, _l = function(e, t) {
7459
+ return e === "v" ? Jm(t) : ep(t);
7460
+ }, tp = function(e, t) {
7375
7461
  return e === "h" && t === "rtl" ? -1 : 1;
7376
- }, ep = function(e, t, r, n, o) {
7377
- var a = Jm(e, window.getComputedStyle(t).direction), s = a * n, i = r.target, c = t.contains(i), d = !1, u = s > 0, f = 0, h = 0;
7462
+ }, rp = function(e, t, r, n, o) {
7463
+ var a = tp(e, window.getComputedStyle(t).direction), s = a * n, i = r.target, c = t.contains(i), d = !1, u = s > 0, f = 0, h = 0;
7378
7464
  do {
7379
7465
  if (!i)
7380
7466
  break;
@@ -7394,22 +7480,22 @@ var Lt = po ? { passive: !1 } : !1, Gm = function(e) {
7394
7480
  return [e.deltaX, e.deltaY];
7395
7481
  }, ps = function(e) {
7396
7482
  return e && "current" in e ? e.current : e;
7397
- }, tp = function(e, t) {
7483
+ }, np = function(e, t) {
7398
7484
  return e[0] === t[0] && e[1] === t[1];
7399
- }, rp = function(e) {
7485
+ }, op = function(e) {
7400
7486
  return `
7401
7487
  .block-interactivity-`.concat(e, ` {pointer-events: none;}
7402
7488
  .allow-interactivity-`).concat(e, ` {pointer-events: all;}
7403
7489
  `);
7404
- }, np = 0, It = [];
7405
- function op(e) {
7406
- var t = m.useRef([]), r = m.useRef([0, 0]), n = m.useRef(), o = m.useState(np++)[0], a = m.useState(jl)[0], s = m.useRef(e);
7490
+ }, ap = 0, It = [];
7491
+ function sp(e) {
7492
+ var t = m.useRef([]), r = m.useRef([0, 0]), n = m.useRef(), o = m.useState(ap++)[0], a = m.useState(jl)[0], s = m.useRef(e);
7407
7493
  m.useEffect(function() {
7408
7494
  s.current = e;
7409
7495
  }, [e]), m.useEffect(function() {
7410
7496
  if (e.inert) {
7411
7497
  document.body.classList.add("block-interactivity-".concat(o));
7412
- var v = Sm([e.lockRef.current], (e.shards || []).map(ps), !0).filter(Boolean);
7498
+ var v = _m([e.lockRef.current], (e.shards || []).map(ps), !0).filter(Boolean);
7413
7499
  return v.forEach(function(b) {
7414
7500
  return b.classList.add("allow-interactivity-".concat(o));
7415
7501
  }), function() {
@@ -7436,12 +7522,12 @@ function op(e) {
7436
7522
  if (!n.current && "changedTouches" in v && (N || C) && (n.current = j), !j)
7437
7523
  return !0;
7438
7524
  var O = n.current || j;
7439
- return ep(O, b, v, O === "h" ? N : C);
7525
+ return rp(O, b, v, O === "h" ? N : C);
7440
7526
  }, []), c = m.useCallback(function(v) {
7441
7527
  var b = v;
7442
7528
  if (!(!It.length || It[It.length - 1] !== a)) {
7443
7529
  var x = "deltaY" in b ? ms(b) : $r(b), y = t.current.filter(function(j) {
7444
- return j.name === b.type && (j.target === b.target || b.target === j.shadowParent) && tp(j.delta, x);
7530
+ return j.name === b.type && (j.target === b.target || b.target === j.shadowParent) && np(j.delta, x);
7445
7531
  })[0];
7446
7532
  if (y && y.should) {
7447
7533
  b.cancelable && b.preventDefault();
@@ -7455,7 +7541,7 @@ function op(e) {
7455
7541
  }
7456
7542
  }
7457
7543
  }, []), d = m.useCallback(function(v, b, x, y) {
7458
- var N = { name: v, delta: b, target: x, should: y, shadowParent: ap(x) };
7544
+ var N = { name: v, delta: b, target: x, should: y, shadowParent: ip(x) };
7459
7545
  t.current.push(N), setTimeout(function() {
7460
7546
  t.current = t.current.filter(function(C) {
7461
7547
  return C !== N;
@@ -7483,23 +7569,23 @@ function op(e) {
7483
7569
  return m.createElement(
7484
7570
  m.Fragment,
7485
7571
  null,
7486
- g ? m.createElement(a, { styles: rp(o) }) : null,
7487
- p ? m.createElement(qm, { noRelative: e.noRelative, gapMode: e.gapMode }) : null
7572
+ g ? m.createElement(a, { styles: op(o) }) : null,
7573
+ p ? m.createElement(Xm, { noRelative: e.noRelative, gapMode: e.gapMode }) : null
7488
7574
  );
7489
7575
  }
7490
- function ap(e) {
7576
+ function ip(e) {
7491
7577
  for (var t = null; e !== null; )
7492
7578
  e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
7493
7579
  return t;
7494
7580
  }
7495
- const sp = Am(Cl, op);
7581
+ const lp = Lm(Cl, sp);
7496
7582
  var ea = m.forwardRef(function(e, t) {
7497
- return m.createElement(yn, qe({}, e, { ref: t, sideCar: sp }));
7583
+ return m.createElement(yn, qe({}, e, { ref: t, sideCar: lp }));
7498
7584
  });
7499
7585
  ea.classNames = yn.classNames;
7500
7586
  var wn = "Popover", [Ml] = Pt(wn, [
7501
7587
  cl
7502
- ]), wr = cl(), [ip, bt] = Ml(wn), El = (e) => {
7588
+ ]), wr = cl(), [cp, bt] = Ml(wn), El = (e) => {
7503
7589
  const {
7504
7590
  __scopePopover: t,
7505
7591
  children: r,
@@ -7513,8 +7599,8 @@ var wn = "Popover", [Ml] = Pt(wn, [
7513
7599
  onChange: a,
7514
7600
  caller: wn
7515
7601
  });
7516
- return /* @__PURE__ */ l.jsx(bm, { ...i, children: /* @__PURE__ */ l.jsx(
7517
- ip,
7602
+ return /* @__PURE__ */ l.jsx(ym, { ...i, children: /* @__PURE__ */ l.jsx(
7603
+ cp,
7518
7604
  {
7519
7605
  scope: t,
7520
7606
  contentId: Ie(),
@@ -7531,13 +7617,13 @@ var wn = "Popover", [Ml] = Pt(wn, [
7531
7617
  ) });
7532
7618
  };
7533
7619
  El.displayName = wn;
7534
- var Pl = "PopoverAnchor", lp = m.forwardRef(
7620
+ var Pl = "PopoverAnchor", dp = m.forwardRef(
7535
7621
  (e, t) => {
7536
7622
  const { __scopePopover: r, ...n } = e, o = bt(Pl, r), a = wr(r), { onCustomAnchorAdd: s, onCustomAnchorRemove: i } = o;
7537
7623
  return m.useEffect(() => (s(), () => i()), [s, i]), /* @__PURE__ */ l.jsx(bl, { ...a, ...n, ref: t });
7538
7624
  }
7539
7625
  );
7540
- lp.displayName = Pl;
7626
+ dp.displayName = Pl;
7541
7627
  var Rl = "PopoverTrigger", Ol = m.forwardRef(
7542
7628
  (e, t) => {
7543
7629
  const { __scopePopover: r, ...n } = e, o = bt(Rl, r), a = wr(r), s = ve(t, o.triggerRef), i = /* @__PURE__ */ l.jsx(
@@ -7557,27 +7643,27 @@ var Rl = "PopoverTrigger", Ol = m.forwardRef(
7557
7643
  }
7558
7644
  );
7559
7645
  Ol.displayName = Rl;
7560
- var ta = "PopoverPortal", [cp, dp] = Ml(ta, {
7646
+ var ta = "PopoverPortal", [up, fp] = Ml(ta, {
7561
7647
  forceMount: void 0
7562
7648
  }), Dl = (e) => {
7563
7649
  const { __scopePopover: t, forceMount: r, children: n, container: o } = e, a = bt(ta, t);
7564
- return /* @__PURE__ */ l.jsx(cp, { scope: t, forceMount: r, children: /* @__PURE__ */ l.jsx(Ye, { present: r || a.open, children: /* @__PURE__ */ l.jsx(Jo, { asChild: !0, container: o, children: n }) }) });
7650
+ return /* @__PURE__ */ l.jsx(up, { scope: t, forceMount: r, children: /* @__PURE__ */ l.jsx(Ye, { present: r || a.open, children: /* @__PURE__ */ l.jsx(Jo, { asChild: !0, container: o, children: n }) }) });
7565
7651
  };
7566
7652
  Dl.displayName = ta;
7567
7653
  var qt = "PopoverContent", Al = m.forwardRef(
7568
7654
  (e, t) => {
7569
- const r = dp(qt, e.__scopePopover), { forceMount: n = r.forceMount, ...o } = e, a = bt(qt, e.__scopePopover);
7570
- return /* @__PURE__ */ l.jsx(Ye, { present: n || a.open, children: a.modal ? /* @__PURE__ */ l.jsx(fp, { ...o, ref: t }) : /* @__PURE__ */ l.jsx(hp, { ...o, ref: t }) });
7655
+ const r = fp(qt, e.__scopePopover), { forceMount: n = r.forceMount, ...o } = e, a = bt(qt, e.__scopePopover);
7656
+ return /* @__PURE__ */ l.jsx(Ye, { present: n || a.open, children: a.modal ? /* @__PURE__ */ l.jsx(mp, { ...o, ref: t }) : /* @__PURE__ */ l.jsx(pp, { ...o, ref: t }) });
7571
7657
  }
7572
7658
  );
7573
7659
  Al.displayName = qt;
7574
- var up = /* @__PURE__ */ fr("PopoverContent.RemoveScroll"), fp = m.forwardRef(
7660
+ var hp = /* @__PURE__ */ fr("PopoverContent.RemoveScroll"), mp = m.forwardRef(
7575
7661
  (e, t) => {
7576
7662
  const r = bt(qt, e.__scopePopover), n = m.useRef(null), o = ve(t, n), a = m.useRef(!1);
7577
7663
  return m.useEffect(() => {
7578
7664
  const s = n.current;
7579
7665
  if (s) return yl(s);
7580
- }, []), /* @__PURE__ */ l.jsx(ea, { as: up, allowPinchZoom: !0, children: /* @__PURE__ */ l.jsx(
7666
+ }, []), /* @__PURE__ */ l.jsx(ea, { as: hp, allowPinchZoom: !0, children: /* @__PURE__ */ l.jsx(
7581
7667
  Tl,
7582
7668
  {
7583
7669
  ...e,
@@ -7604,7 +7690,7 @@ var up = /* @__PURE__ */ fr("PopoverContent.RemoveScroll"), fp = m.forwardRef(
7604
7690
  }
7605
7691
  ) });
7606
7692
  }
7607
- ), hp = m.forwardRef(
7693
+ ), pp = m.forwardRef(
7608
7694
  (e, t) => {
7609
7695
  const r = bt(qt, e.__scopePopover), n = m.useRef(!1), o = m.useRef(!1);
7610
7696
  return /* @__PURE__ */ l.jsx(
@@ -7660,7 +7746,7 @@ var up = /* @__PURE__ */ fr("PopoverContent.RemoveScroll"), fp = m.forwardRef(
7660
7746
  onFocusOutside: d,
7661
7747
  onDismiss: () => h.onOpenChange(!1),
7662
7748
  children: /* @__PURE__ */ l.jsx(
7663
- xm,
7749
+ wm,
7664
7750
  {
7665
7751
  "data-state": Il(h.open),
7666
7752
  role: "dialog",
@@ -7683,7 +7769,7 @@ var up = /* @__PURE__ */ fr("PopoverContent.RemoveScroll"), fp = m.forwardRef(
7683
7769
  }
7684
7770
  );
7685
7771
  }
7686
- ), Ll = "PopoverClose", mp = m.forwardRef(
7772
+ ), Ll = "PopoverClose", vp = m.forwardRef(
7687
7773
  (e, t) => {
7688
7774
  const { __scopePopover: r, ...n } = e, o = bt(Ll, r);
7689
7775
  return /* @__PURE__ */ l.jsx(
@@ -7697,14 +7783,14 @@ var up = /* @__PURE__ */ fr("PopoverContent.RemoveScroll"), fp = m.forwardRef(
7697
7783
  );
7698
7784
  }
7699
7785
  );
7700
- mp.displayName = Ll;
7701
- var pp = "PopoverArrow", vp = m.forwardRef(
7786
+ vp.displayName = Ll;
7787
+ var gp = "PopoverArrow", bp = m.forwardRef(
7702
7788
  (e, t) => {
7703
7789
  const { __scopePopover: r, ...n } = e, o = wr(r);
7704
- return /* @__PURE__ */ l.jsx(ym, { ...o, ...n, ref: t });
7790
+ return /* @__PURE__ */ l.jsx(Nm, { ...o, ...n, ref: t });
7705
7791
  }
7706
7792
  );
7707
- vp.displayName = pp;
7793
+ bp.displayName = gp;
7708
7794
  function Il(e) {
7709
7795
  return e ? "open" : "closed";
7710
7796
  }
@@ -7726,21 +7812,21 @@ const Jt = Wl, er = Fl, Rt = m.forwardRef(({ className: e, align: t = "center",
7726
7812
  return n ? /* @__PURE__ */ l.jsx($l, { children: s }) : s;
7727
7813
  });
7728
7814
  Rt.displayName = ra.displayName;
7729
- var vs = 1, gp = 0.9, bp = 0.8, xp = 0.17, Vn = 0.1, Un = 0.999, yp = 0.9999, wp = 0.99, Np = /[\\\/_+.#"@\[\(\{&]/, Cp = /[\\\/_+.#"@\[\(\{&]/g, jp = /[\s-]/, Bl = /[\s-]/g;
7815
+ var vs = 1, xp = 0.9, yp = 0.8, wp = 0.17, Vn = 0.1, Un = 0.999, Np = 0.9999, Cp = 0.99, jp = /[\\\/_+.#"@\[\(\{&]/, Sp = /[\\\/_+.#"@\[\(\{&]/g, kp = /[\s-]/, Bl = /[\s-]/g;
7730
7816
  function vo(e, t, r, n, o, a, s) {
7731
- if (a === t.length) return o === e.length ? vs : wp;
7817
+ if (a === t.length) return o === e.length ? vs : Cp;
7732
7818
  var i = `${o},${a}`;
7733
7819
  if (s[i] !== void 0) return s[i];
7734
- for (var c = n.charAt(a), d = r.indexOf(c, o), u = 0, f, h, p, g; d >= 0; ) f = vo(e, t, r, n, d + 1, a + 1, s), f > u && (d === o ? f *= vs : Np.test(e.charAt(d - 1)) ? (f *= bp, p = e.slice(o, d - 1).match(Cp), p && o > 0 && (f *= Math.pow(Un, p.length))) : jp.test(e.charAt(d - 1)) ? (f *= gp, g = e.slice(o, d - 1).match(Bl), g && o > 0 && (f *= Math.pow(Un, g.length))) : (f *= xp, o > 0 && (f *= Math.pow(Un, d - o))), e.charAt(d) !== t.charAt(a) && (f *= yp)), (f < Vn && r.charAt(d - 1) === n.charAt(a + 1) || n.charAt(a + 1) === n.charAt(a) && r.charAt(d - 1) !== n.charAt(a)) && (h = vo(e, t, r, n, d + 1, a + 2, s), h * Vn > f && (f = h * Vn)), f > u && (u = f), d = r.indexOf(c, d + 1);
7820
+ for (var c = n.charAt(a), d = r.indexOf(c, o), u = 0, f, h, p, g; d >= 0; ) f = vo(e, t, r, n, d + 1, a + 1, s), f > u && (d === o ? f *= vs : jp.test(e.charAt(d - 1)) ? (f *= yp, p = e.slice(o, d - 1).match(Sp), p && o > 0 && (f *= Math.pow(Un, p.length))) : kp.test(e.charAt(d - 1)) ? (f *= xp, g = e.slice(o, d - 1).match(Bl), g && o > 0 && (f *= Math.pow(Un, g.length))) : (f *= wp, o > 0 && (f *= Math.pow(Un, d - o))), e.charAt(d) !== t.charAt(a) && (f *= Np)), (f < Vn && r.charAt(d - 1) === n.charAt(a + 1) || n.charAt(a + 1) === n.charAt(a) && r.charAt(d - 1) !== n.charAt(a)) && (h = vo(e, t, r, n, d + 1, a + 2, s), h * Vn > f && (f = h * Vn)), f > u && (u = f), d = r.indexOf(c, d + 1);
7735
7821
  return s[i] = u, u;
7736
7822
  }
7737
7823
  function gs(e) {
7738
7824
  return e.toLowerCase().replace(Bl, " ");
7739
7825
  }
7740
- function Sp(e, t, r) {
7826
+ function _p(e, t, r) {
7741
7827
  return e = r && r.length > 0 ? `${e + " " + r.join(" ")}` : e, vo(e, t, gs(e), gs(t), 0, 0, {});
7742
7828
  }
7743
- var Nn = "Dialog", [zl] = Pt(Nn), [kp, Ue] = zl(Nn), Hl = (e) => {
7829
+ var Nn = "Dialog", [zl] = Pt(Nn), [Mp, Ue] = zl(Nn), Hl = (e) => {
7744
7830
  const {
7745
7831
  __scopeDialog: t,
7746
7832
  children: r,
@@ -7755,7 +7841,7 @@ var Nn = "Dialog", [zl] = Pt(Nn), [kp, Ue] = zl(Nn), Hl = (e) => {
7755
7841
  caller: Nn
7756
7842
  });
7757
7843
  return /* @__PURE__ */ l.jsx(
7758
- kp,
7844
+ Mp,
7759
7845
  {
7760
7846
  scope: t,
7761
7847
  triggerRef: i,
@@ -7772,7 +7858,7 @@ var Nn = "Dialog", [zl] = Pt(Nn), [kp, Ue] = zl(Nn), Hl = (e) => {
7772
7858
  );
7773
7859
  };
7774
7860
  Hl.displayName = Nn;
7775
- var Yl = "DialogTrigger", _p = m.forwardRef(
7861
+ var Yl = "DialogTrigger", Ep = m.forwardRef(
7776
7862
  (e, t) => {
7777
7863
  const { __scopeDialog: r, ...n } = e, o = Ue(Yl, r), a = ve(t, o.triggerRef);
7778
7864
  return /* @__PURE__ */ l.jsx(
@@ -7790,28 +7876,28 @@ var Yl = "DialogTrigger", _p = m.forwardRef(
7790
7876
  );
7791
7877
  }
7792
7878
  );
7793
- _p.displayName = Yl;
7794
- var na = "DialogPortal", [Mp, Vl] = zl(na, {
7879
+ Ep.displayName = Yl;
7880
+ var na = "DialogPortal", [Pp, Vl] = zl(na, {
7795
7881
  forceMount: void 0
7796
7882
  }), Ul = (e) => {
7797
7883
  const { __scopeDialog: t, forceMount: r, children: n, container: o } = e, a = Ue(na, t);
7798
- return /* @__PURE__ */ l.jsx(Mp, { scope: t, forceMount: r, children: m.Children.map(n, (s) => /* @__PURE__ */ l.jsx(Ye, { present: r || a.open, children: /* @__PURE__ */ l.jsx(Jo, { asChild: !0, container: o, children: s }) })) });
7884
+ return /* @__PURE__ */ l.jsx(Pp, { scope: t, forceMount: r, children: m.Children.map(n, (s) => /* @__PURE__ */ l.jsx(Ye, { present: r || a.open, children: /* @__PURE__ */ l.jsx(Jo, { asChild: !0, container: o, children: s }) })) });
7799
7885
  };
7800
7886
  Ul.displayName = na;
7801
7887
  var an = "DialogOverlay", ql = m.forwardRef(
7802
7888
  (e, t) => {
7803
7889
  const r = Vl(an, e.__scopeDialog), { forceMount: n = r.forceMount, ...o } = e, a = Ue(an, e.__scopeDialog);
7804
- return a.modal ? /* @__PURE__ */ l.jsx(Ye, { present: n || a.open, children: /* @__PURE__ */ l.jsx(Pp, { ...o, ref: t }) }) : null;
7890
+ return a.modal ? /* @__PURE__ */ l.jsx(Ye, { present: n || a.open, children: /* @__PURE__ */ l.jsx(Op, { ...o, ref: t }) }) : null;
7805
7891
  }
7806
7892
  );
7807
7893
  ql.displayName = an;
7808
- var Ep = /* @__PURE__ */ fr("DialogOverlay.RemoveScroll"), Pp = m.forwardRef(
7894
+ var Rp = /* @__PURE__ */ fr("DialogOverlay.RemoveScroll"), Op = m.forwardRef(
7809
7895
  (e, t) => {
7810
7896
  const { __scopeDialog: r, ...n } = e, o = Ue(an, r);
7811
7897
  return (
7812
7898
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
7813
7899
  // ie. when `Overlay` and `Content` are siblings
7814
- /* @__PURE__ */ l.jsx(ea, { as: Ep, allowPinchZoom: !0, shards: [o.contentRef], children: /* @__PURE__ */ l.jsx(
7900
+ /* @__PURE__ */ l.jsx(ea, { as: Rp, allowPinchZoom: !0, shards: [o.contentRef], children: /* @__PURE__ */ l.jsx(
7815
7901
  ce.div,
7816
7902
  {
7817
7903
  "data-state": aa(o.open),
@@ -7825,11 +7911,11 @@ var Ep = /* @__PURE__ */ fr("DialogOverlay.RemoveScroll"), Pp = m.forwardRef(
7825
7911
  ), St = "DialogContent", Gl = m.forwardRef(
7826
7912
  (e, t) => {
7827
7913
  const r = Vl(St, e.__scopeDialog), { forceMount: n = r.forceMount, ...o } = e, a = Ue(St, e.__scopeDialog);
7828
- return /* @__PURE__ */ l.jsx(Ye, { present: n || a.open, children: a.modal ? /* @__PURE__ */ l.jsx(Rp, { ...o, ref: t }) : /* @__PURE__ */ l.jsx(Op, { ...o, ref: t }) });
7914
+ return /* @__PURE__ */ l.jsx(Ye, { present: n || a.open, children: a.modal ? /* @__PURE__ */ l.jsx(Dp, { ...o, ref: t }) : /* @__PURE__ */ l.jsx(Ap, { ...o, ref: t }) });
7829
7915
  }
7830
7916
  );
7831
7917
  Gl.displayName = St;
7832
- var Rp = m.forwardRef(
7918
+ var Dp = m.forwardRef(
7833
7919
  (e, t) => {
7834
7920
  const r = Ue(St, e.__scopeDialog), n = m.useRef(null), o = ve(t, r.contentRef, n);
7835
7921
  return m.useEffect(() => {
@@ -7857,7 +7943,7 @@ var Rp = m.forwardRef(
7857
7943
  }
7858
7944
  );
7859
7945
  }
7860
- ), Op = m.forwardRef(
7946
+ ), Ap = m.forwardRef(
7861
7947
  (e, t) => {
7862
7948
  const r = Ue(St, e.__scopeDialog), n = m.useRef(!1), o = m.useRef(!1);
7863
7949
  return /* @__PURE__ */ l.jsx(
@@ -7908,8 +7994,8 @@ var Rp = m.forwardRef(
7908
7994
  }
7909
7995
  ),
7910
7996
  /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
7911
- /* @__PURE__ */ l.jsx(Ap, { titleId: i.titleId }),
7912
- /* @__PURE__ */ l.jsx(Lp, { contentRef: c, descriptionId: i.descriptionId })
7997
+ /* @__PURE__ */ l.jsx(Lp, { titleId: i.titleId }),
7998
+ /* @__PURE__ */ l.jsx(Wp, { contentRef: c, descriptionId: i.descriptionId })
7913
7999
  ] })
7914
8000
  ] });
7915
8001
  }
@@ -7927,7 +8013,7 @@ var Ql = "DialogDescription", Zl = m.forwardRef(
7927
8013
  }
7928
8014
  );
7929
8015
  Zl.displayName = Ql;
7930
- var Jl = "DialogClose", Dp = m.forwardRef(
8016
+ var Jl = "DialogClose", Tp = m.forwardRef(
7931
8017
  (e, t) => {
7932
8018
  const { __scopeDialog: r, ...n } = e, o = Ue(Jl, r);
7933
8019
  return /* @__PURE__ */ l.jsx(
@@ -7941,15 +8027,15 @@ var Jl = "DialogClose", Dp = m.forwardRef(
7941
8027
  );
7942
8028
  }
7943
8029
  );
7944
- Dp.displayName = Jl;
8030
+ Tp.displayName = Jl;
7945
8031
  function aa(e) {
7946
8032
  return e ? "open" : "closed";
7947
8033
  }
7948
- var ec = "DialogTitleWarning", [mx, tc] = $u(ec, {
8034
+ var ec = "DialogTitleWarning", [vx, tc] = $u(ec, {
7949
8035
  contentName: St,
7950
8036
  titleName: oa,
7951
8037
  docsSlug: "dialog"
7952
- }), Ap = ({ titleId: e }) => {
8038
+ }), Lp = ({ titleId: e }) => {
7953
8039
  const t = tc(ec), r = `\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
7954
8040
 
7955
8041
  If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
@@ -7958,18 +8044,18 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
7958
8044
  return m.useEffect(() => {
7959
8045
  e && (document.getElementById(e) || console.error(r));
7960
8046
  }, [r, e]), null;
7961
- }, Tp = "DialogDescriptionWarning", Lp = ({ contentRef: e, descriptionId: t }) => {
7962
- const n = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${tc(Tp).contentName}}.`;
8047
+ }, Ip = "DialogDescriptionWarning", Wp = ({ contentRef: e, descriptionId: t }) => {
8048
+ const n = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${tc(Ip).contentName}}.`;
7963
8049
  return m.useEffect(() => {
7964
8050
  var a;
7965
8051
  const o = (a = e.current) == null ? void 0 : a.getAttribute("aria-describedby");
7966
8052
  t && o && (document.getElementById(t) || console.warn(n));
7967
8053
  }, [n, e, t]), null;
7968
- }, rc = Hl, nc = Ul, oc = ql, ac = Gl, Ip = Kl, Wp = Zl, ir = '[cmdk-group=""]', qn = '[cmdk-group-items=""]', Fp = '[cmdk-group-heading=""]', sc = '[cmdk-item=""]', bs = `${sc}:not([aria-disabled="true"])`, go = "cmdk-item-select", Ft = "data-value", $p = (e, t, r) => Sp(e, t, r), ic = m.createContext(void 0), Nr = () => m.useContext(ic), lc = m.createContext(void 0), sa = () => m.useContext(lc), cc = m.createContext(void 0), dc = m.forwardRef((e, t) => {
8054
+ }, rc = Hl, nc = Ul, oc = ql, ac = Gl, Fp = Kl, $p = Zl, ir = '[cmdk-group=""]', qn = '[cmdk-group-items=""]', Bp = '[cmdk-group-heading=""]', sc = '[cmdk-item=""]', bs = `${sc}:not([aria-disabled="true"])`, go = "cmdk-item-select", Ft = "data-value", zp = (e, t, r) => _p(e, t, r), ic = m.createContext(void 0), Nr = () => m.useContext(ic), lc = m.createContext(void 0), sa = () => m.useContext(lc), cc = m.createContext(void 0), dc = m.forwardRef((e, t) => {
7969
8055
  let r = $t(() => {
7970
8056
  var P, H;
7971
8057
  return { search: "", value: (H = (P = e.value) != null ? P : e.defaultValue) != null ? H : "", selectedItemId: void 0, filtered: { count: 0, items: /* @__PURE__ */ new Map(), groups: /* @__PURE__ */ new Set() } };
7972
- }), n = $t(() => /* @__PURE__ */ new Set()), o = $t(() => /* @__PURE__ */ new Map()), a = $t(() => /* @__PURE__ */ new Map()), s = $t(() => /* @__PURE__ */ new Set()), i = uc(e), { label: c, children: d, value: u, onValueChange: f, filter: h, shouldFilter: p, loop: g, disablePointerSelection: v = !1, vimBindings: b = !0, ...x } = e, y = Ie(), N = Ie(), C = Ie(), j = m.useRef(null), _ = Qp();
8058
+ }), n = $t(() => /* @__PURE__ */ new Set()), o = $t(() => /* @__PURE__ */ new Map()), a = $t(() => /* @__PURE__ */ new Map()), s = $t(() => /* @__PURE__ */ new Set()), i = uc(e), { label: c, children: d, value: u, onValueChange: f, filter: h, shouldFilter: p, loop: g, disablePointerSelection: v = !1, vimBindings: b = !0, ...x } = e, y = Ie(), N = Ie(), C = Ie(), j = m.useRef(null), _ = Jp();
7973
8059
  kt(() => {
7974
8060
  if (u !== void 0) {
7975
8061
  let P = u.trim();
@@ -8018,7 +8104,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
8018
8104
  }), filter: () => i.current.shouldFilter, label: c || e["aria-label"], getDisablePointerSelection: () => i.current.disablePointerSelection, listId: y, inputId: C, labelId: N, listInnerRef: j }), []);
8019
8105
  function A(P, H) {
8020
8106
  var X, W;
8021
- let Z = (W = (X = i.current) == null ? void 0 : X.filter) != null ? W : $p;
8107
+ let Z = (W = (X = i.current) == null ? void 0 : X.filter) != null ? W : zp;
8022
8108
  return P ? Z(P, r.current.search, H) : 0;
8023
8109
  }
8024
8110
  function I() {
@@ -8070,7 +8156,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
8070
8156
  function $() {
8071
8157
  var P, H, X;
8072
8158
  let W = L();
8073
- W && (((P = W.parentElement) == null ? void 0 : P.firstChild) === W && ((X = (H = W.closest(ir)) == null ? void 0 : H.querySelector(Fp)) == null || X.scrollIntoView({ block: "nearest" })), W.scrollIntoView({ block: "nearest" }));
8159
+ W && (((P = W.parentElement) == null ? void 0 : P.firstChild) === W && ((X = (H = W.closest(ir)) == null ? void 0 : H.querySelector(Bp)) == null || X.scrollIntoView({ block: "nearest" })), W.scrollIntoView({ block: "nearest" }));
8074
8160
  }
8075
8161
  function L() {
8076
8162
  var P;
@@ -8091,7 +8177,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
8091
8177
  }
8092
8178
  function M(P) {
8093
8179
  let H = L(), X = H == null ? void 0 : H.closest(ir), W;
8094
- for (; X && !W; ) X = P > 0 ? Xp(X, ir) : Kp(X, ir), W = X == null ? void 0 : X.querySelector(bs);
8180
+ for (; X && !W; ) X = P > 0 ? Qp(X, ir) : Zp(X, ir), W = X == null ? void 0 : X.querySelector(bs);
8095
8181
  W ? k.setState("value", W.getAttribute(Ft)) : R(P);
8096
8182
  }
8097
8183
  let G = () => U(T().length - 1), de = (P) => {
@@ -8139,8 +8225,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
8139
8225
  }
8140
8226
  }
8141
8227
  }
8142
- } }, m.createElement("label", { "cmdk-label": "", htmlFor: F.inputId, id: F.labelId, style: Jp }, c), Cn(e, (P) => m.createElement(lc.Provider, { value: k }, m.createElement(ic.Provider, { value: F }, P))));
8143
- }), Bp = m.forwardRef((e, t) => {
8228
+ } }, m.createElement("label", { "cmdk-label": "", htmlFor: F.inputId, id: F.labelId, style: tv }, c), Cn(e, (P) => m.createElement(lc.Provider, { value: k }, m.createElement(ic.Provider, { value: F }, P))));
8229
+ }), Hp = m.forwardRef((e, t) => {
8144
8230
  var r, n;
8145
8231
  let o = Ie(), a = m.useRef(null), s = m.useContext(cc), i = Nr(), c = uc(e), d = (n = (r = c.current) == null ? void 0 : r.forceMount) != null ? n : s == null ? void 0 : s.forceMount;
8146
8232
  kt(() => {
@@ -8161,22 +8247,22 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
8161
8247
  if (!p) return null;
8162
8248
  let { disabled: b, value: x, onSelect: y, forceMount: N, keywords: C, ...j } = e;
8163
8249
  return m.createElement(He.div, { ref: mt(a, t), ...j, id: o, "cmdk-item": "", role: "option", "aria-disabled": !!b, "aria-selected": !!h, "data-disabled": !!b, "data-selected": !!h, onPointerMove: b || i.getDisablePointerSelection() ? void 0 : v, onClick: b ? void 0 : g }, e.children);
8164
- }), zp = m.forwardRef((e, t) => {
8250
+ }), Yp = m.forwardRef((e, t) => {
8165
8251
  let { heading: r, children: n, forceMount: o, ...a } = e, s = Ie(), i = m.useRef(null), c = m.useRef(null), d = Ie(), u = Nr(), f = gt((p) => o || u.filter() === !1 ? !0 : p.search ? p.filtered.groups.has(s) : !0);
8166
8252
  kt(() => u.group(s), []), fc(s, i, [e.value, e.heading, c]);
8167
8253
  let h = m.useMemo(() => ({ id: s, forceMount: o }), [o]);
8168
8254
  return m.createElement(He.div, { ref: mt(i, t), ...a, "cmdk-group": "", role: "presentation", hidden: f ? void 0 : !0 }, r && m.createElement("div", { ref: c, "cmdk-group-heading": "", "aria-hidden": !0, id: d }, r), Cn(e, (p) => m.createElement("div", { "cmdk-group-items": "", role: "group", "aria-labelledby": r ? d : void 0 }, m.createElement(cc.Provider, { value: h }, p))));
8169
- }), Hp = m.forwardRef((e, t) => {
8255
+ }), Vp = m.forwardRef((e, t) => {
8170
8256
  let { alwaysRender: r, ...n } = e, o = m.useRef(null), a = gt((s) => !s.search);
8171
8257
  return !r && !a ? null : m.createElement(He.div, { ref: mt(o, t), ...n, "cmdk-separator": "", role: "separator" });
8172
- }), Yp = m.forwardRef((e, t) => {
8258
+ }), Up = m.forwardRef((e, t) => {
8173
8259
  let { onValueChange: r, ...n } = e, o = e.value != null, a = sa(), s = gt((d) => d.search), i = gt((d) => d.selectedItemId), c = Nr();
8174
8260
  return m.useEffect(() => {
8175
8261
  e.value != null && a.setState("search", e.value);
8176
8262
  }, [e.value]), m.createElement(He.input, { ref: t, ...n, "cmdk-input": "", autoComplete: "off", autoCorrect: "off", spellCheck: !1, "aria-autocomplete": "list", role: "combobox", "aria-expanded": !0, "aria-controls": c.listId, "aria-labelledby": c.labelId, "aria-activedescendant": i, id: c.inputId, type: "text", value: o ? e.value : s, onChange: (d) => {
8177
8263
  o || a.setState("search", d.target.value), r == null || r(d.target.value);
8178
8264
  } });
8179
- }), Vp = m.forwardRef((e, t) => {
8265
+ }), qp = m.forwardRef((e, t) => {
8180
8266
  let { children: r, label: n = "Suggestions", ...o } = e, a = m.useRef(null), s = m.useRef(null), i = gt((d) => d.selectedItemId), c = Nr();
8181
8267
  return m.useEffect(() => {
8182
8268
  if (s.current && a.current) {
@@ -8191,21 +8277,21 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
8191
8277
  };
8192
8278
  }
8193
8279
  }, []), m.createElement(He.div, { ref: mt(a, t), ...o, "cmdk-list": "", role: "listbox", tabIndex: -1, "aria-activedescendant": i, "aria-label": n, id: c.listId }, Cn(e, (d) => m.createElement("div", { ref: mt(s, c.listInnerRef), "cmdk-list-sizer": "" }, d)));
8194
- }), Up = m.forwardRef((e, t) => {
8280
+ }), Gp = m.forwardRef((e, t) => {
8195
8281
  let { open: r, onOpenChange: n, overlayClassName: o, contentClassName: a, container: s, ...i } = e;
8196
8282
  return m.createElement(rc, { open: r, onOpenChange: n }, m.createElement(nc, { container: s }, m.createElement(oc, { "cmdk-overlay": "", className: o }), m.createElement(ac, { "aria-label": e.label, "cmdk-dialog": "", className: a }, m.createElement(dc, { ref: t, ...i }))));
8197
- }), qp = m.forwardRef((e, t) => gt((r) => r.filtered.count === 0) ? m.createElement(He.div, { ref: t, ...e, "cmdk-empty": "", role: "presentation" }) : null), Gp = m.forwardRef((e, t) => {
8283
+ }), Xp = m.forwardRef((e, t) => gt((r) => r.filtered.count === 0) ? m.createElement(He.div, { ref: t, ...e, "cmdk-empty": "", role: "presentation" }) : null), Kp = m.forwardRef((e, t) => {
8198
8284
  let { progress: r, children: n, label: o = "Loading...", ...a } = e;
8199
8285
  return m.createElement(He.div, { ref: t, ...a, "cmdk-loading": "", role: "progressbar", "aria-valuenow": r, "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": o }, Cn(e, (s) => m.createElement("div", { "aria-hidden": !0 }, s)));
8200
- }), Ee = Object.assign(dc, { List: Vp, Item: Bp, Input: Yp, Group: zp, Separator: Hp, Dialog: Up, Empty: qp, Loading: Gp });
8201
- function Xp(e, t) {
8286
+ }), Ee = Object.assign(dc, { List: qp, Item: Hp, Input: Up, Group: Yp, Separator: Vp, Dialog: Gp, Empty: Xp, Loading: Kp });
8287
+ function Qp(e, t) {
8202
8288
  let r = e.nextElementSibling;
8203
8289
  for (; r; ) {
8204
8290
  if (r.matches(t)) return r;
8205
8291
  r = r.nextElementSibling;
8206
8292
  }
8207
8293
  }
8208
- function Kp(e, t) {
8294
+ function Zp(e, t) {
8209
8295
  let r = e.previousElementSibling;
8210
8296
  for (; r; ) {
8211
8297
  if (r.matches(t)) return r;
@@ -8241,7 +8327,7 @@ function fc(e, t, r, n = []) {
8241
8327
  a.value(e, i, c), (s = t.current) == null || s.setAttribute(Ft, i), o.current = i;
8242
8328
  }), o;
8243
8329
  }
8244
- var Qp = () => {
8330
+ var Jp = () => {
8245
8331
  let [e, t] = m.useState(), r = $t(() => /* @__PURE__ */ new Map());
8246
8332
  return kt(() => {
8247
8333
  r.current.forEach((n) => n()), r.current = /* @__PURE__ */ new Map();
@@ -8249,14 +8335,14 @@ var Qp = () => {
8249
8335
  r.current.set(n, o), t({});
8250
8336
  };
8251
8337
  };
8252
- function Zp(e) {
8338
+ function ev(e) {
8253
8339
  let t = e.type;
8254
8340
  return typeof t == "function" ? t(e.props) : "render" in t ? t.render(e.props) : e;
8255
8341
  }
8256
8342
  function Cn({ asChild: e, children: t }, r) {
8257
- return e && m.isValidElement(t) ? m.cloneElement(Zp(t), { ref: t.ref }, r(t.props.children)) : r(t);
8343
+ return e && m.isValidElement(t) ? m.cloneElement(ev(t), { ref: t.ref }, r(t.props.children)) : r(t);
8258
8344
  }
8259
- var Jp = { position: "absolute", width: "1px", height: "1px", padding: "0", margin: "-1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0" };
8345
+ var tv = { position: "absolute", width: "1px", height: "1px", padding: "0", margin: "-1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0" };
8260
8346
  const Cr = m.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
8261
8347
  Ee,
8262
8348
  {
@@ -8314,7 +8400,7 @@ const kr = m.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
8314
8400
  }
8315
8401
  ));
8316
8402
  kr.displayName = Ee.Group.displayName;
8317
- const ev = m.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
8403
+ const rv = m.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
8318
8404
  Ee.Separator,
8319
8405
  {
8320
8406
  ref: r,
@@ -8322,7 +8408,7 @@ const ev = m.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
8322
8408
  ...t
8323
8409
  }
8324
8410
  ));
8325
- ev.displayName = Ee.Separator.displayName;
8411
+ rv.displayName = Ee.Separator.displayName;
8326
8412
  const Gt = m.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
8327
8413
  Ee.Item,
8328
8414
  {
@@ -8335,7 +8421,7 @@ const Gt = m.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
8335
8421
  }
8336
8422
  ));
8337
8423
  Gt.displayName = Ee.Item.displayName;
8338
- const tv = ({
8424
+ const nv = ({
8339
8425
  className: e,
8340
8426
  ...t
8341
8427
  }) => /* @__PURE__ */ l.jsx(
@@ -8348,8 +8434,8 @@ const tv = ({
8348
8434
  ...t
8349
8435
  }
8350
8436
  );
8351
- tv.displayName = "MriCommandShortcut";
8352
- function px({
8437
+ nv.displayName = "MriCommandShortcut";
8438
+ function gx({
8353
8439
  options: e,
8354
8440
  value: t,
8355
8441
  onChange: r,
@@ -8470,15 +8556,15 @@ function ia({
8470
8556
  r
8471
8557
  ),
8472
8558
  children: [
8473
- /* @__PURE__ */ l.jsx(Ip, { className: "sr-only", children: "Modal" }),
8474
- /* @__PURE__ */ l.jsx(Wp, { className: "sr-only", children: "Modal content" }),
8559
+ /* @__PURE__ */ l.jsx(Fp, { className: "sr-only", children: "Modal" }),
8560
+ /* @__PURE__ */ l.jsx($p, { className: "sr-only", children: "Modal content" }),
8475
8561
  e
8476
8562
  ]
8477
8563
  }
8478
8564
  )
8479
8565
  ] }) });
8480
8566
  }
8481
- function vx({ title: e, children: t, onClose: r, className: n }) {
8567
+ function bx({ title: e, children: t, onClose: r, className: n }) {
8482
8568
  return /* @__PURE__ */ l.jsxs(ia, { onClose: r, className: n, children: [
8483
8569
  /* @__PURE__ */ l.jsxs("div", { className: "flex items-center justify-between mb-6", children: [
8484
8570
  /* @__PURE__ */ l.jsx("h3", { className: "text-xl font-bold tracking-tight text-foreground", children: e }),
@@ -8487,7 +8573,7 @@ function vx({ title: e, children: t, onClose: r, className: n }) {
8487
8573
  /* @__PURE__ */ l.jsx("div", { children: t })
8488
8574
  ] });
8489
8575
  }
8490
- function rv({
8576
+ function ov({
8491
8577
  options: e,
8492
8578
  value: t,
8493
8579
  onChange: r,
@@ -8610,7 +8696,7 @@ function rv({
8610
8696
  ] }) })
8611
8697
  ] });
8612
8698
  }
8613
- function nv({
8699
+ function av({
8614
8700
  options: e,
8615
8701
  value: t,
8616
8702
  onChange: r,
@@ -8709,10 +8795,10 @@ function nv({
8709
8795
  ] }) })
8710
8796
  ] });
8711
8797
  }
8712
- function gx(e) {
8713
- return e.multiple === !0 ? /* @__PURE__ */ l.jsx(nv, { ...e }) : /* @__PURE__ */ l.jsx(rv, { ...e });
8798
+ function xx(e) {
8799
+ return e.multiple === !0 ? /* @__PURE__ */ l.jsx(av, { ...e }) : /* @__PURE__ */ l.jsx(ov, { ...e });
8714
8800
  }
8715
- var ov = (e, t, r, n, o, a, s, i) => {
8801
+ var sv = (e, t, r, n, o, a, s, i) => {
8716
8802
  let c = document.documentElement, d = ["light", "dark"];
8717
8803
  function u(p) {
8718
8804
  (Array.isArray(e) ? e : [e]).forEach((g) => {
@@ -8732,17 +8818,17 @@ var ov = (e, t, r, n, o, a, s, i) => {
8732
8818
  u(g);
8733
8819
  } catch {
8734
8820
  }
8735
- }, av = m.createContext(void 0), sv = { setTheme: (e) => {
8736
- }, themes: [] }, iv = () => {
8821
+ }, iv = m.createContext(void 0), lv = { setTheme: (e) => {
8822
+ }, themes: [] }, cv = () => {
8737
8823
  var e;
8738
- return (e = m.useContext(av)) != null ? e : sv;
8824
+ return (e = m.useContext(iv)) != null ? e : lv;
8739
8825
  };
8740
8826
  m.memo(({ forcedTheme: e, storageKey: t, attribute: r, enableSystem: n, enableColorScheme: o, defaultTheme: a, value: s, themes: i, nonce: c, scriptProps: d }) => {
8741
8827
  let u = JSON.stringify([r, t, a, e, i, s, n, o]).slice(1, -1);
8742
- return m.createElement("script", { ...d, suppressHydrationWarning: !0, nonce: typeof window > "u" ? c : "", dangerouslySetInnerHTML: { __html: `(${ov.toString()})(${u})` } });
8828
+ return m.createElement("script", { ...d, suppressHydrationWarning: !0, nonce: typeof window > "u" ? c : "", dangerouslySetInnerHTML: { __html: `(${sv.toString()})(${u})` } });
8743
8829
  });
8744
- const bx = ({ themeLabel: e = "Tema", themeIconLabel: t = "Alterar tema", lightLabel: r = "Claro", darkLabel: n = "Escuro", systemLabel: o = "Sistema" }) => {
8745
- const { theme: a, setTheme: s } = iv(), [i, c] = fe(!1), d = Le(null);
8830
+ const yx = ({ themeLabel: e = "Tema", themeIconLabel: t = "Alterar tema", lightLabel: r = "Claro", darkLabel: n = "Escuro", systemLabel: o = "Sistema" }) => {
8831
+ const { theme: a, setTheme: s } = cv(), [i, c] = fe(!1), d = Le(null);
8746
8832
  we(() => {
8747
8833
  const f = (h) => {
8748
8834
  d.current && !d.current.contains(h.target) && c(!1);
@@ -8790,7 +8876,7 @@ const bx = ({ themeLabel: e = "Tema", themeIconLabel: t = "Alterar tema", lightL
8790
8876
  }
8791
8877
  );
8792
8878
  };
8793
- function xx({
8879
+ function wx({
8794
8880
  items: e,
8795
8881
  activeRoute: t,
8796
8882
  onNavigate: r,
@@ -8836,7 +8922,7 @@ function xx({
8836
8922
  }
8837
8923
  );
8838
8924
  }
8839
- const lv = Array.from({ length: 24 }, (e, t) => t), cv = Array.from({ length: 60 }, (e, t) => t), Gn = (e) => {
8925
+ const dv = Array.from({ length: 24 }, (e, t) => t), uv = Array.from({ length: 60 }, (e, t) => t), Gn = (e) => {
8840
8926
  if (!e)
8841
8927
  return [0, 0];
8842
8928
  const t = e.split(":");
@@ -8845,11 +8931,11 @@ const lv = Array.from({ length: 24 }, (e, t) => t), cv = Array.from({ length: 60
8845
8931
  const [r, n] = t, o = Number(r), a = Number(n);
8846
8932
  return !Number.isFinite(o) || !Number.isFinite(a) || o < 0 || o > 23 || a < 0 || a > 59 ? [0, 0] : [o, a];
8847
8933
  };
8848
- function yx({ value: e, onChange: t, disabled: r, hourLabel: n = "Hora", minuteLabel: o = "Minuto", size: a = "default", error: s, minTime: i, maxTime: c }) {
8849
- const [d, u] = m.useState(!1), [f, h] = Gn(e), [p, g] = Gn(i), [v, b] = c ? Gn(c) : [23, 59], x = lv.map((C) => ({
8934
+ function Nx({ value: e, onChange: t, disabled: r, hourLabel: n = "Hora", minuteLabel: o = "Minuto", size: a = "default", error: s, minTime: i, maxTime: c }) {
8935
+ const [d, u] = m.useState(!1), [f, h] = Gn(e), [p, g] = Gn(i), [v, b] = c ? Gn(c) : [23, 59], x = dv.map((C) => ({
8850
8936
  value: C,
8851
8937
  disabled: C < p || C > v
8852
- })), y = cv.map((C) => {
8938
+ })), y = uv.map((C) => {
8853
8939
  let j = !1;
8854
8940
  return f === p && C < g && (j = !0), f === v && C > b && (j = !0), { value: C, disabled: j };
8855
8941
  }), N = (C, j) => {
@@ -8919,7 +9005,7 @@ function yx({ value: e, onChange: t, disabled: r, hourLabel: n = "Hora", minuteL
8919
9005
  ] }) })
8920
9006
  ] });
8921
9007
  }
8922
- function wx({
9008
+ function Cx({
8923
9009
  text: e,
8924
9010
  className: t,
8925
9011
  iconSize: r = 4,
@@ -8940,7 +9026,7 @@ function wx({
8940
9026
  }
8941
9027
  );
8942
9028
  }
8943
- function Nx({
9029
+ function jx({
8944
9030
  label: e,
8945
9031
  amount: t,
8946
9032
  amountColorClass: r = "text-foreground",
@@ -8994,7 +9080,7 @@ function Nx({
8994
9080
  ] })
8995
9081
  ] });
8996
9082
  }
8997
- const Cx = ({
9083
+ const Sx = ({
8998
9084
  id: e = "",
8999
9085
  label: t,
9000
9086
  icon: r = Eu,
@@ -9171,7 +9257,7 @@ const Cx = ({
9171
9257
  ]
9172
9258
  }
9173
9259
  );
9174
- }, jx = ({
9260
+ }, kx = ({
9175
9261
  title: e,
9176
9262
  icon: t,
9177
9263
  variant: r = "default",
@@ -9233,7 +9319,7 @@ const Cx = ({
9233
9319
  }
9234
9320
  );
9235
9321
  };
9236
- function Sx({
9322
+ function _x({
9237
9323
  icon: e,
9238
9324
  label: t,
9239
9325
  onClick: r,
@@ -9262,7 +9348,7 @@ function Sx({
9262
9348
  }
9263
9349
  );
9264
9350
  }
9265
- function kx({
9351
+ function Mx({
9266
9352
  value: e,
9267
9353
  onChange: t,
9268
9354
  placeholder: r,
@@ -9286,14 +9372,14 @@ function kx({
9286
9372
  )
9287
9373
  ] });
9288
9374
  }
9289
- function _x({ icon: e, title: t, className: r }) {
9375
+ function Ex({ icon: e, title: t, className: r }) {
9290
9376
  return /* @__PURE__ */ l.jsxs("h3", { className: S("text-muted-foreground text-xs font-bold uppercase tracking-widest mb-3 flex items-center gap-2", r), children: [
9291
9377
  /* @__PURE__ */ l.jsx(e, { className: "w-3.5 h-3.5" }),
9292
9378
  " ",
9293
9379
  t
9294
9380
  ] });
9295
9381
  }
9296
- const la = 6048e5, dv = 864e5, xs = Symbol.for("constructDateFrom");
9382
+ const la = 6048e5, fv = 864e5, xs = Symbol.for("constructDateFrom");
9297
9383
  function ye(e, t) {
9298
9384
  return typeof e == "function" ? e(t) : e && typeof e == "object" && xs in e ? e[xs](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
9299
9385
  }
@@ -9318,9 +9404,9 @@ function Be(e, t, r) {
9318
9404
  o
9319
9405
  ), n);
9320
9406
  }
9321
- let uv = {};
9407
+ let hv = {};
9322
9408
  function _r() {
9323
- return uv;
9409
+ return hv;
9324
9410
  }
9325
9411
  function et(e, t) {
9326
9412
  var i, c, d, u;
@@ -9369,9 +9455,9 @@ function Qe(e, t, r) {
9369
9455
  e,
9370
9456
  t
9371
9457
  ), a = Xt(n), s = Xt(o), i = +a - sn(a), c = +s - sn(s);
9372
- return Math.round((i - c) / dv);
9458
+ return Math.round((i - c) / fv);
9373
9459
  }
9374
- function fv(e, t) {
9460
+ function mv(e, t) {
9375
9461
  const r = hc(e, t), n = ye(e, 0);
9376
9462
  return n.setFullYear(r, 0, 4), n.setHours(0, 0, 0, 0), _t(n);
9377
9463
  }
@@ -9381,7 +9467,7 @@ function bo(e, t, r) {
9381
9467
  function lr(e, t, r) {
9382
9468
  return Be(e, t * 12, r);
9383
9469
  }
9384
- function hv(e, t) {
9470
+ function pv(e, t) {
9385
9471
  let r, n = t == null ? void 0 : t.in;
9386
9472
  return e.forEach((o) => {
9387
9473
  !n && typeof o == "object" && (n = ye.bind(null, o));
@@ -9389,7 +9475,7 @@ function hv(e, t) {
9389
9475
  (!r || r < a || isNaN(+a)) && (r = a);
9390
9476
  }), ye(n, r || NaN);
9391
9477
  }
9392
- function mv(e, t) {
9478
+ function vv(e, t) {
9393
9479
  let r, n = t == null ? void 0 : t.in;
9394
9480
  return e.forEach((o) => {
9395
9481
  !n && typeof o == "object" && (n = ye.bind(null, o));
@@ -9408,7 +9494,7 @@ function Me(e, t, r) {
9408
9494
  function ca(e) {
9409
9495
  return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
9410
9496
  }
9411
- function pv(e) {
9497
+ function gv(e) {
9412
9498
  return !(!ca(e) && typeof e != "number" || isNaN(+re(e)));
9413
9499
  }
9414
9500
  function pr(e, t, r) {
@@ -9419,7 +9505,7 @@ function pr(e, t, r) {
9419
9505
  ), a = n.getFullYear() - o.getFullYear(), s = n.getMonth() - o.getMonth();
9420
9506
  return a * 12 + s;
9421
9507
  }
9422
- function vv(e, t, r) {
9508
+ function bv(e, t, r) {
9423
9509
  const [n, o] = tr(
9424
9510
  r == null ? void 0 : r.in,
9425
9511
  e,
@@ -9435,7 +9521,7 @@ function Se(e, t) {
9435
9521
  const r = re(e, t == null ? void 0 : t.in);
9436
9522
  return r.setDate(1), r.setHours(0, 0, 0, 0), r;
9437
9523
  }
9438
- function gv(e, t) {
9524
+ function xv(e, t) {
9439
9525
  const r = re(e, t == null ? void 0 : t.in), n = r.getFullYear();
9440
9526
  return r.setFullYear(n + 1, 0, 0), r.setHours(23, 59, 59, 999), r;
9441
9527
  }
@@ -9451,7 +9537,7 @@ function ua(e, t) {
9451
9537
  function mc(e, t) {
9452
9538
  return ua(e, { ...t, weekStartsOn: 1 });
9453
9539
  }
9454
- const bv = {
9540
+ const yv = {
9455
9541
  lessThanXSeconds: {
9456
9542
  one: "less than a second",
9457
9543
  other: "less than {{count}} seconds"
@@ -9513,9 +9599,9 @@ const bv = {
9513
9599
  one: "almost 1 year",
9514
9600
  other: "almost {{count}} years"
9515
9601
  }
9516
- }, xv = (e, t, r) => {
9602
+ }, wv = (e, t, r) => {
9517
9603
  let n;
9518
- const o = bv[e];
9604
+ const o = yv[e];
9519
9605
  return typeof o == "string" ? n = o : t === 1 ? n = o.one : n = o.other.replace("{{count}}", t.toString()), r != null && r.addSuffix ? r.comparison && r.comparison > 0 ? "in " + n : n + " ago" : n;
9520
9606
  };
9521
9607
  function Yt(e) {
@@ -9524,42 +9610,42 @@ function Yt(e) {
9524
9610
  return e.formats[r] || e.formats[e.defaultWidth];
9525
9611
  };
9526
9612
  }
9527
- const yv = {
9613
+ const Nv = {
9528
9614
  full: "EEEE, MMMM do, y",
9529
9615
  long: "MMMM do, y",
9530
9616
  medium: "MMM d, y",
9531
9617
  short: "MM/dd/yyyy"
9532
- }, wv = {
9618
+ }, Cv = {
9533
9619
  full: "h:mm:ss a zzzz",
9534
9620
  long: "h:mm:ss a z",
9535
9621
  medium: "h:mm:ss a",
9536
9622
  short: "h:mm a"
9537
- }, Nv = {
9623
+ }, jv = {
9538
9624
  full: "{{date}} 'at' {{time}}",
9539
9625
  long: "{{date}} 'at' {{time}}",
9540
9626
  medium: "{{date}}, {{time}}",
9541
9627
  short: "{{date}}, {{time}}"
9542
- }, Cv = {
9628
+ }, Sv = {
9543
9629
  date: Yt({
9544
- formats: yv,
9630
+ formats: Nv,
9545
9631
  defaultWidth: "full"
9546
9632
  }),
9547
9633
  time: Yt({
9548
- formats: wv,
9634
+ formats: Cv,
9549
9635
  defaultWidth: "full"
9550
9636
  }),
9551
9637
  dateTime: Yt({
9552
- formats: Nv,
9638
+ formats: jv,
9553
9639
  defaultWidth: "full"
9554
9640
  })
9555
- }, jv = {
9641
+ }, kv = {
9556
9642
  lastWeek: "'last' eeee 'at' p",
9557
9643
  yesterday: "'yesterday at' p",
9558
9644
  today: "'today at' p",
9559
9645
  tomorrow: "'tomorrow at' p",
9560
9646
  nextWeek: "eeee 'at' p",
9561
9647
  other: "P"
9562
- }, Sv = (e, t, r, n) => jv[e];
9648
+ }, _v = (e, t, r, n) => kv[e];
9563
9649
  function Ge(e) {
9564
9650
  return (t, r) => {
9565
9651
  const n = r != null && r.context ? String(r.context) : "standalone";
@@ -9575,15 +9661,15 @@ function Ge(e) {
9575
9661
  return o[a];
9576
9662
  };
9577
9663
  }
9578
- const kv = {
9664
+ const Mv = {
9579
9665
  narrow: ["B", "A"],
9580
9666
  abbreviated: ["BC", "AD"],
9581
9667
  wide: ["Before Christ", "Anno Domini"]
9582
- }, _v = {
9668
+ }, Ev = {
9583
9669
  narrow: ["1", "2", "3", "4"],
9584
9670
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
9585
9671
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
9586
- }, Mv = {
9672
+ }, Pv = {
9587
9673
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
9588
9674
  abbreviated: [
9589
9675
  "Jan",
@@ -9613,7 +9699,7 @@ const kv = {
9613
9699
  "November",
9614
9700
  "December"
9615
9701
  ]
9616
- }, Ev = {
9702
+ }, Rv = {
9617
9703
  narrow: ["S", "M", "T", "W", "T", "F", "S"],
9618
9704
  short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
9619
9705
  abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
@@ -9626,7 +9712,7 @@ const kv = {
9626
9712
  "Friday",
9627
9713
  "Saturday"
9628
9714
  ]
9629
- }, Pv = {
9715
+ }, Ov = {
9630
9716
  narrow: {
9631
9717
  am: "a",
9632
9718
  pm: "p",
@@ -9657,7 +9743,7 @@ const kv = {
9657
9743
  evening: "evening",
9658
9744
  night: "night"
9659
9745
  }
9660
- }, Rv = {
9746
+ }, Dv = {
9661
9747
  narrow: {
9662
9748
  am: "a",
9663
9749
  pm: "p",
@@ -9688,7 +9774,7 @@ const kv = {
9688
9774
  evening: "in the evening",
9689
9775
  night: "at night"
9690
9776
  }
9691
- }, Ov = (e, t) => {
9777
+ }, Av = (e, t) => {
9692
9778
  const r = Number(e), n = r % 100;
9693
9779
  if (n > 20 || n < 10)
9694
9780
  switch (n % 10) {
@@ -9700,29 +9786,29 @@ const kv = {
9700
9786
  return r + "rd";
9701
9787
  }
9702
9788
  return r + "th";
9703
- }, Dv = {
9704
- ordinalNumber: Ov,
9789
+ }, Tv = {
9790
+ ordinalNumber: Av,
9705
9791
  era: Ge({
9706
- values: kv,
9792
+ values: Mv,
9707
9793
  defaultWidth: "wide"
9708
9794
  }),
9709
9795
  quarter: Ge({
9710
- values: _v,
9796
+ values: Ev,
9711
9797
  defaultWidth: "wide",
9712
9798
  argumentCallback: (e) => e - 1
9713
9799
  }),
9714
9800
  month: Ge({
9715
- values: Mv,
9801
+ values: Pv,
9716
9802
  defaultWidth: "wide"
9717
9803
  }),
9718
9804
  day: Ge({
9719
- values: Ev,
9805
+ values: Rv,
9720
9806
  defaultWidth: "wide"
9721
9807
  }),
9722
9808
  dayPeriod: Ge({
9723
- values: Pv,
9809
+ values: Ov,
9724
9810
  defaultWidth: "wide",
9725
- formattingValues: Rv,
9811
+ formattingValues: Dv,
9726
9812
  defaultFormattingWidth: "wide"
9727
9813
  })
9728
9814
  };
@@ -9731,9 +9817,9 @@ function Xe(e) {
9731
9817
  const n = r.width, o = n && e.matchPatterns[n] || e.matchPatterns[e.defaultMatchWidth], a = t.match(o);
9732
9818
  if (!a)
9733
9819
  return null;
9734
- const s = a[0], i = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], c = Array.isArray(i) ? Tv(i, (f) => f.test(s)) : (
9820
+ const s = a[0], i = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], c = Array.isArray(i) ? Iv(i, (f) => f.test(s)) : (
9735
9821
  // [TODO] -- I challenge you to fix the type
9736
- Av(i, (f) => f.test(s))
9822
+ Lv(i, (f) => f.test(s))
9737
9823
  );
9738
9824
  let d;
9739
9825
  d = e.valueCallback ? e.valueCallback(c) : c, d = r.valueCallback ? (
@@ -9744,12 +9830,12 @@ function Xe(e) {
9744
9830
  return { value: d, rest: u };
9745
9831
  };
9746
9832
  }
9747
- function Av(e, t) {
9833
+ function Lv(e, t) {
9748
9834
  for (const r in e)
9749
9835
  if (Object.prototype.hasOwnProperty.call(e, r) && t(e[r]))
9750
9836
  return r;
9751
9837
  }
9752
- function Tv(e, t) {
9838
+ function Iv(e, t) {
9753
9839
  for (let r = 0; r < e.length; r++)
9754
9840
  if (t(e[r]))
9755
9841
  return r;
@@ -9766,23 +9852,23 @@ function pc(e) {
9766
9852
  return { value: s, rest: i };
9767
9853
  };
9768
9854
  }
9769
- const Lv = /^(\d+)(th|st|nd|rd)?/i, Iv = /\d+/i, Wv = {
9855
+ const Wv = /^(\d+)(th|st|nd|rd)?/i, Fv = /\d+/i, $v = {
9770
9856
  narrow: /^(b|a)/i,
9771
9857
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
9772
9858
  wide: /^(before christ|before common era|anno domini|common era)/i
9773
- }, Fv = {
9859
+ }, Bv = {
9774
9860
  any: [/^b/i, /^(a|c)/i]
9775
- }, $v = {
9861
+ }, zv = {
9776
9862
  narrow: /^[1234]/i,
9777
9863
  abbreviated: /^q[1234]/i,
9778
9864
  wide: /^[1234](th|st|nd|rd)? quarter/i
9779
- }, Bv = {
9865
+ }, Hv = {
9780
9866
  any: [/1/i, /2/i, /3/i, /4/i]
9781
- }, zv = {
9867
+ }, Yv = {
9782
9868
  narrow: /^[jfmasond]/i,
9783
9869
  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
9784
9870
  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
9785
- }, Hv = {
9871
+ }, Vv = {
9786
9872
  narrow: [
9787
9873
  /^j/i,
9788
9874
  /^f/i,
@@ -9811,18 +9897,18 @@ const Lv = /^(\d+)(th|st|nd|rd)?/i, Iv = /\d+/i, Wv = {
9811
9897
  /^n/i,
9812
9898
  /^d/i
9813
9899
  ]
9814
- }, Yv = {
9900
+ }, Uv = {
9815
9901
  narrow: /^[smtwf]/i,
9816
9902
  short: /^(su|mo|tu|we|th|fr|sa)/i,
9817
9903
  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
9818
9904
  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
9819
- }, Vv = {
9905
+ }, qv = {
9820
9906
  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
9821
9907
  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
9822
- }, Uv = {
9908
+ }, Gv = {
9823
9909
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
9824
9910
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
9825
- }, qv = {
9911
+ }, Xv = {
9826
9912
  any: {
9827
9913
  am: /^a/i,
9828
9914
  pm: /^p/i,
@@ -9833,61 +9919,61 @@ const Lv = /^(\d+)(th|st|nd|rd)?/i, Iv = /\d+/i, Wv = {
9833
9919
  evening: /evening/i,
9834
9920
  night: /night/i
9835
9921
  }
9836
- }, Gv = {
9922
+ }, Kv = {
9837
9923
  ordinalNumber: pc({
9838
- matchPattern: Lv,
9839
- parsePattern: Iv,
9924
+ matchPattern: Wv,
9925
+ parsePattern: Fv,
9840
9926
  valueCallback: (e) => parseInt(e, 10)
9841
9927
  }),
9842
9928
  era: Xe({
9843
- matchPatterns: Wv,
9929
+ matchPatterns: $v,
9844
9930
  defaultMatchWidth: "wide",
9845
- parsePatterns: Fv,
9931
+ parsePatterns: Bv,
9846
9932
  defaultParseWidth: "any"
9847
9933
  }),
9848
9934
  quarter: Xe({
9849
- matchPatterns: $v,
9935
+ matchPatterns: zv,
9850
9936
  defaultMatchWidth: "wide",
9851
- parsePatterns: Bv,
9937
+ parsePatterns: Hv,
9852
9938
  defaultParseWidth: "any",
9853
9939
  valueCallback: (e) => e + 1
9854
9940
  }),
9855
9941
  month: Xe({
9856
- matchPatterns: zv,
9942
+ matchPatterns: Yv,
9857
9943
  defaultMatchWidth: "wide",
9858
- parsePatterns: Hv,
9944
+ parsePatterns: Vv,
9859
9945
  defaultParseWidth: "any"
9860
9946
  }),
9861
9947
  day: Xe({
9862
- matchPatterns: Yv,
9948
+ matchPatterns: Uv,
9863
9949
  defaultMatchWidth: "wide",
9864
- parsePatterns: Vv,
9950
+ parsePatterns: qv,
9865
9951
  defaultParseWidth: "any"
9866
9952
  }),
9867
9953
  dayPeriod: Xe({
9868
- matchPatterns: Uv,
9954
+ matchPatterns: Gv,
9869
9955
  defaultMatchWidth: "any",
9870
- parsePatterns: qv,
9956
+ parsePatterns: Xv,
9871
9957
  defaultParseWidth: "any"
9872
9958
  })
9873
9959
  }, vc = {
9874
9960
  code: "en-US",
9875
- formatDistance: xv,
9876
- formatLong: Cv,
9877
- formatRelative: Sv,
9878
- localize: Dv,
9879
- match: Gv,
9961
+ formatDistance: wv,
9962
+ formatLong: Sv,
9963
+ formatRelative: _v,
9964
+ localize: Tv,
9965
+ match: Kv,
9880
9966
  options: {
9881
9967
  weekStartsOn: 0,
9882
9968
  firstWeekContainsDate: 1
9883
9969
  }
9884
9970
  };
9885
- function Xv(e, t) {
9971
+ function Qv(e, t) {
9886
9972
  const r = re(e, t == null ? void 0 : t.in);
9887
9973
  return Qe(r, da(r)) + 1;
9888
9974
  }
9889
9975
  function gc(e, t) {
9890
- const r = re(e, t == null ? void 0 : t.in), n = +_t(r) - +fv(r);
9976
+ const r = re(e, t == null ? void 0 : t.in), n = +_t(r) - +mv(r);
9891
9977
  return Math.round(n / la) + 1;
9892
9978
  }
9893
9979
  function bc(e, t) {
@@ -9899,13 +9985,13 @@ function bc(e, t) {
9899
9985
  const d = et(c, t);
9900
9986
  return +r >= +i ? n + 1 : +r >= +d ? n : n - 1;
9901
9987
  }
9902
- function Kv(e, t) {
9988
+ function Zv(e, t) {
9903
9989
  var i, c, d, u;
9904
9990
  const r = _r(), n = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((c = (i = t == null ? void 0 : t.locale) == null ? void 0 : i.options) == null ? void 0 : c.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((u = (d = r.locale) == null ? void 0 : d.options) == null ? void 0 : u.firstWeekContainsDate) ?? 1, o = bc(e, t), a = ye((t == null ? void 0 : t.in) || e, 0);
9905
9991
  return a.setFullYear(o, 0, n), a.setHours(0, 0, 0, 0), et(a, t);
9906
9992
  }
9907
9993
  function xc(e, t) {
9908
- const r = re(e, t == null ? void 0 : t.in), n = +et(r, t) - +Kv(r, t);
9994
+ const r = re(e, t == null ? void 0 : t.in), n = +et(r, t) - +Zv(r, t);
9909
9995
  return Math.round(n / la) + 1;
9910
9996
  }
9911
9997
  function oe(e, t) {
@@ -10145,7 +10231,7 @@ const ft = {
10145
10231
  },
10146
10232
  // Day of year
10147
10233
  D: function(e, t, r) {
10148
- const n = Xv(e);
10234
+ const n = Qv(e);
10149
10235
  return t === "Do" ? r.ordinalNumber(n, { unit: "dayOfYear" }) : oe(n, t.length);
10150
10236
  },
10151
10237
  // Day of week
@@ -10495,7 +10581,7 @@ const Cs = (e, t) => {
10495
10581
  default:
10496
10582
  return t.time({ width: "full" });
10497
10583
  }
10498
- }, Qv = (e, t) => {
10584
+ }, Jv = (e, t) => {
10499
10585
  const r = e.match(/(P+)(p+)?/) || [], n = r[1], o = r[2];
10500
10586
  if (!o)
10501
10587
  return Cs(e, t);
@@ -10516,46 +10602,46 @@ const Cs = (e, t) => {
10516
10602
  break;
10517
10603
  }
10518
10604
  return a.replace("{{date}}", Cs(n, t)).replace("{{time}}", yc(o, t));
10519
- }, Zv = {
10605
+ }, eg = {
10520
10606
  p: yc,
10521
- P: Qv
10522
- }, Jv = /^D+$/, eg = /^Y+$/, tg = ["D", "DD", "YY", "YYYY"];
10523
- function rg(e) {
10524
- return Jv.test(e);
10607
+ P: Jv
10608
+ }, tg = /^D+$/, rg = /^Y+$/, ng = ["D", "DD", "YY", "YYYY"];
10609
+ function og(e) {
10610
+ return tg.test(e);
10525
10611
  }
10526
- function ng(e) {
10527
- return eg.test(e);
10612
+ function ag(e) {
10613
+ return rg.test(e);
10528
10614
  }
10529
- function og(e, t, r) {
10530
- const n = ag(e, t, r);
10531
- if (console.warn(n), tg.includes(e)) throw new RangeError(n);
10615
+ function sg(e, t, r) {
10616
+ const n = ig(e, t, r);
10617
+ if (console.warn(n), ng.includes(e)) throw new RangeError(n);
10532
10618
  }
10533
- function ag(e, t, r) {
10619
+ function ig(e, t, r) {
10534
10620
  const n = e[0] === "Y" ? "years" : "days of the month";
10535
10621
  return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
10536
10622
  }
10537
- const sg = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, ig = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, lg = /^'([^]*?)'?$/, cg = /''/g, dg = /[a-zA-Z]/;
10623
+ const lg = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, cg = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, dg = /^'([^]*?)'?$/, ug = /''/g, fg = /[a-zA-Z]/;
10538
10624
  function ct(e, t, r) {
10539
10625
  var u, f, h, p, g, v, b, x;
10540
10626
  const n = _r(), o = (r == null ? void 0 : r.locale) ?? n.locale ?? vc, a = (r == null ? void 0 : r.firstWeekContainsDate) ?? ((f = (u = r == null ? void 0 : r.locale) == null ? void 0 : u.options) == null ? void 0 : f.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((p = (h = n.locale) == null ? void 0 : h.options) == null ? void 0 : p.firstWeekContainsDate) ?? 1, s = (r == null ? void 0 : r.weekStartsOn) ?? ((v = (g = r == null ? void 0 : r.locale) == null ? void 0 : g.options) == null ? void 0 : v.weekStartsOn) ?? n.weekStartsOn ?? ((x = (b = n.locale) == null ? void 0 : b.options) == null ? void 0 : x.weekStartsOn) ?? 0, i = re(e, r == null ? void 0 : r.in);
10541
- if (!pv(i))
10627
+ if (!gv(i))
10542
10628
  throw new RangeError("Invalid time value");
10543
- let c = t.match(ig).map((y) => {
10629
+ let c = t.match(cg).map((y) => {
10544
10630
  const N = y[0];
10545
10631
  if (N === "p" || N === "P") {
10546
- const C = Zv[N];
10632
+ const C = eg[N];
10547
10633
  return C(y, o.formatLong);
10548
10634
  }
10549
10635
  return y;
10550
- }).join("").match(sg).map((y) => {
10636
+ }).join("").match(lg).map((y) => {
10551
10637
  if (y === "''")
10552
10638
  return { isToken: !1, value: "'" };
10553
10639
  const N = y[0];
10554
10640
  if (N === "'")
10555
- return { isToken: !1, value: ug(y) };
10641
+ return { isToken: !1, value: hg(y) };
10556
10642
  if (ys[N])
10557
10643
  return { isToken: !0, value: y };
10558
- if (N.match(dg))
10644
+ if (N.match(fg))
10559
10645
  throw new RangeError(
10560
10646
  "Format string contains an unescaped latin alphabet character `" + N + "`"
10561
10647
  );
@@ -10570,30 +10656,30 @@ function ct(e, t, r) {
10570
10656
  return c.map((y) => {
10571
10657
  if (!y.isToken) return y.value;
10572
10658
  const N = y.value;
10573
- (!(r != null && r.useAdditionalWeekYearTokens) && ng(N) || !(r != null && r.useAdditionalDayOfYearTokens) && rg(N)) && og(N, t, String(e));
10659
+ (!(r != null && r.useAdditionalWeekYearTokens) && ag(N) || !(r != null && r.useAdditionalDayOfYearTokens) && og(N)) && sg(N, t, String(e));
10574
10660
  const C = ys[N[0]];
10575
10661
  return C(i, N, o.localize, d);
10576
10662
  }).join("");
10577
10663
  }
10578
- function ug(e) {
10579
- const t = e.match(lg);
10580
- return t ? t[1].replace(cg, "'") : e;
10664
+ function hg(e) {
10665
+ const t = e.match(dg);
10666
+ return t ? t[1].replace(ug, "'") : e;
10581
10667
  }
10582
- function fg(e, t) {
10668
+ function mg(e, t) {
10583
10669
  const r = re(e, t == null ? void 0 : t.in), n = r.getFullYear(), o = r.getMonth(), a = ye(r, 0);
10584
10670
  return a.setFullYear(n, o + 1, 0), a.setHours(0, 0, 0, 0), a.getDate();
10585
10671
  }
10586
- function hg(e) {
10672
+ function pg(e) {
10587
10673
  return Math.trunc(+re(e) / 1e3);
10588
10674
  }
10589
- function mg(e, t) {
10675
+ function vg(e, t) {
10590
10676
  const r = re(e, t == null ? void 0 : t.in), n = r.getMonth();
10591
10677
  return r.setFullYear(r.getFullYear(), n + 1, 0), r.setHours(0, 0, 0, 0), re(r, t == null ? void 0 : t.in);
10592
10678
  }
10593
- function pg(e, t) {
10679
+ function gg(e, t) {
10594
10680
  const r = re(e, t == null ? void 0 : t.in);
10595
- return vv(
10596
- mg(r, t),
10681
+ return bv(
10682
+ vg(r, t),
10597
10683
  Se(r, t),
10598
10684
  t
10599
10685
  ) + 1;
@@ -10612,7 +10698,7 @@ function fa(e, t, r) {
10612
10698
  );
10613
10699
  return n.getFullYear() === o.getFullYear() && n.getMonth() === o.getMonth();
10614
10700
  }
10615
- function vg(e, t, r) {
10701
+ function bg(e, t, r) {
10616
10702
  const [n, o] = tr(
10617
10703
  r == null ? void 0 : r.in,
10618
10704
  e,
@@ -10626,14 +10712,14 @@ function Xn(e, t, r) {
10626
10712
  function qr(e, t, r) {
10627
10713
  const n = re(e, r == null ? void 0 : r.in), o = n.getFullYear(), a = n.getDate(), s = ye(e, 0);
10628
10714
  s.setFullYear(o, t, 15), s.setHours(0, 0, 0, 0);
10629
- const i = fg(s);
10715
+ const i = mg(s);
10630
10716
  return n.setMonth(t, Math.min(a, i)), n;
10631
10717
  }
10632
10718
  function xo(e, t, r) {
10633
10719
  const n = re(e, r == null ? void 0 : r.in);
10634
10720
  return isNaN(+n) ? ye(e, NaN) : (n.setFullYear(t), n);
10635
10721
  }
10636
- const gg = {
10722
+ const xg = {
10637
10723
  lessThanXSeconds: {
10638
10724
  one: "menos de um segundo",
10639
10725
  other: "menos de {{count}} segundos"
@@ -10695,39 +10781,39 @@ const gg = {
10695
10781
  one: "quase 1 ano",
10696
10782
  other: "quase {{count}} anos"
10697
10783
  }
10698
- }, bg = (e, t, r) => {
10784
+ }, yg = (e, t, r) => {
10699
10785
  let n;
10700
- const o = gg[e];
10786
+ const o = xg[e];
10701
10787
  return typeof o == "string" ? n = o : t === 1 ? n = o.one : n = o.other.replace("{{count}}", String(t)), r != null && r.addSuffix ? r.comparison && r.comparison > 0 ? "em " + n : "há " + n : n;
10702
- }, xg = {
10788
+ }, wg = {
10703
10789
  full: "EEEE, d 'de' MMMM 'de' y",
10704
10790
  long: "d 'de' MMMM 'de' y",
10705
10791
  medium: "d MMM y",
10706
10792
  short: "dd/MM/yyyy"
10707
- }, yg = {
10793
+ }, Ng = {
10708
10794
  full: "HH:mm:ss zzzz",
10709
10795
  long: "HH:mm:ss z",
10710
10796
  medium: "HH:mm:ss",
10711
10797
  short: "HH:mm"
10712
- }, wg = {
10798
+ }, Cg = {
10713
10799
  full: "{{date}} 'às' {{time}}",
10714
10800
  long: "{{date}} 'às' {{time}}",
10715
10801
  medium: "{{date}}, {{time}}",
10716
10802
  short: "{{date}}, {{time}}"
10717
- }, Ng = {
10803
+ }, jg = {
10718
10804
  date: Yt({
10719
- formats: xg,
10805
+ formats: wg,
10720
10806
  defaultWidth: "full"
10721
10807
  }),
10722
10808
  time: Yt({
10723
- formats: yg,
10809
+ formats: Ng,
10724
10810
  defaultWidth: "full"
10725
10811
  }),
10726
10812
  dateTime: Yt({
10727
- formats: wg,
10813
+ formats: Cg,
10728
10814
  defaultWidth: "full"
10729
10815
  })
10730
- }, Cg = {
10816
+ }, Sg = {
10731
10817
  lastWeek: (e) => {
10732
10818
  const t = e.getDay();
10733
10819
  return "'" + (t === 0 || t === 6 ? "último" : "última") + "' eeee 'às' p";
@@ -10737,18 +10823,18 @@ const gg = {
10737
10823
  tomorrow: "'amanhã às' p",
10738
10824
  nextWeek: "eeee 'às' p",
10739
10825
  other: "P"
10740
- }, jg = (e, t, r, n) => {
10741
- const o = Cg[e];
10826
+ }, kg = (e, t, r, n) => {
10827
+ const o = Sg[e];
10742
10828
  return typeof o == "function" ? o(t) : o;
10743
- }, Sg = {
10829
+ }, _g = {
10744
10830
  narrow: ["AC", "DC"],
10745
10831
  abbreviated: ["AC", "DC"],
10746
10832
  wide: ["antes de cristo", "depois de cristo"]
10747
- }, kg = {
10833
+ }, Mg = {
10748
10834
  narrow: ["1", "2", "3", "4"],
10749
10835
  abbreviated: ["T1", "T2", "T3", "T4"],
10750
10836
  wide: ["1º trimestre", "2º trimestre", "3º trimestre", "4º trimestre"]
10751
- }, _g = {
10837
+ }, Eg = {
10752
10838
  narrow: ["j", "f", "m", "a", "m", "j", "j", "a", "s", "o", "n", "d"],
10753
10839
  abbreviated: [
10754
10840
  "jan",
@@ -10778,7 +10864,7 @@ const gg = {
10778
10864
  "novembro",
10779
10865
  "dezembro"
10780
10866
  ]
10781
- }, Mg = {
10867
+ }, Pg = {
10782
10868
  narrow: ["D", "S", "T", "Q", "Q", "S", "S"],
10783
10869
  short: ["dom", "seg", "ter", "qua", "qui", "sex", "sab"],
10784
10870
  abbreviated: [
@@ -10799,7 +10885,7 @@ const gg = {
10799
10885
  "sexta-feira",
10800
10886
  "sábado"
10801
10887
  ]
10802
- }, Eg = {
10888
+ }, Rg = {
10803
10889
  narrow: {
10804
10890
  am: "a",
10805
10891
  pm: "p",
@@ -10830,7 +10916,7 @@ const gg = {
10830
10916
  evening: "tarde",
10831
10917
  night: "noite"
10832
10918
  }
10833
- }, Pg = {
10919
+ }, Og = {
10834
10920
  narrow: {
10835
10921
  am: "a",
10836
10922
  pm: "p",
@@ -10861,52 +10947,52 @@ const gg = {
10861
10947
  evening: "da tarde",
10862
10948
  night: "da noite"
10863
10949
  }
10864
- }, Rg = (e, t) => {
10950
+ }, Dg = (e, t) => {
10865
10951
  const r = Number(e);
10866
10952
  return (t == null ? void 0 : t.unit) === "week" ? r + "ª" : r + "º";
10867
- }, Og = {
10868
- ordinalNumber: Rg,
10953
+ }, Ag = {
10954
+ ordinalNumber: Dg,
10869
10955
  era: Ge({
10870
- values: Sg,
10956
+ values: _g,
10871
10957
  defaultWidth: "wide"
10872
10958
  }),
10873
10959
  quarter: Ge({
10874
- values: kg,
10960
+ values: Mg,
10875
10961
  defaultWidth: "wide",
10876
10962
  argumentCallback: (e) => e - 1
10877
10963
  }),
10878
10964
  month: Ge({
10879
- values: _g,
10965
+ values: Eg,
10880
10966
  defaultWidth: "wide"
10881
10967
  }),
10882
10968
  day: Ge({
10883
- values: Mg,
10969
+ values: Pg,
10884
10970
  defaultWidth: "wide"
10885
10971
  }),
10886
10972
  dayPeriod: Ge({
10887
- values: Eg,
10973
+ values: Rg,
10888
10974
  defaultWidth: "wide",
10889
- formattingValues: Pg,
10975
+ formattingValues: Og,
10890
10976
  defaultFormattingWidth: "wide"
10891
10977
  })
10892
- }, Dg = /^(\d+)[ºªo]?/i, Ag = /\d+/i, Tg = {
10978
+ }, Tg = /^(\d+)[ºªo]?/i, Lg = /\d+/i, Ig = {
10893
10979
  narrow: /^(ac|dc|a|d)/i,
10894
10980
  abbreviated: /^(a\.?\s?c\.?|d\.?\s?c\.?)/i,
10895
10981
  wide: /^(antes de cristo|depois de cristo)/i
10896
- }, Lg = {
10982
+ }, Wg = {
10897
10983
  any: [/^ac/i, /^dc/i],
10898
10984
  wide: [/^antes de cristo/i, /^depois de cristo/i]
10899
- }, Ig = {
10985
+ }, Fg = {
10900
10986
  narrow: /^[1234]/i,
10901
10987
  abbreviated: /^T[1234]/i,
10902
10988
  wide: /^[1234](º)? trimestre/i
10903
- }, Wg = {
10989
+ }, $g = {
10904
10990
  any: [/1/i, /2/i, /3/i, /4/i]
10905
- }, Fg = {
10991
+ }, Bg = {
10906
10992
  narrow: /^[jfmajsond]/i,
10907
10993
  abbreviated: /^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,
10908
10994
  wide: /^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i
10909
- }, $g = {
10995
+ }, zg = {
10910
10996
  narrow: [
10911
10997
  /^j/i,
10912
10998
  /^f/i,
@@ -10935,19 +11021,19 @@ const gg = {
10935
11021
  /^nov/i,
10936
11022
  /^dez/i
10937
11023
  ]
10938
- }, Bg = {
11024
+ }, Hg = {
10939
11025
  narrow: /^(dom|[23456]ª?|s[aá]b)/i,
10940
11026
  short: /^(dom|[23456]ª?|s[aá]b)/i,
10941
11027
  abbreviated: /^(dom|seg|ter|qua|qui|sex|s[aá]b)/i,
10942
11028
  wide: /^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i
10943
- }, zg = {
11029
+ }, Yg = {
10944
11030
  short: [/^d/i, /^2/i, /^3/i, /^4/i, /^5/i, /^6/i, /^s[aá]/i],
10945
11031
  narrow: [/^d/i, /^2/i, /^3/i, /^4/i, /^5/i, /^6/i, /^s[aá]/i],
10946
11032
  any: [/^d/i, /^seg/i, /^t/i, /^qua/i, /^qui/i, /^sex/i, /^s[aá]b/i]
10947
- }, Hg = {
11033
+ }, Vg = {
10948
11034
  narrow: /^(a|p|mn|md|(da) (manhã|tarde|noite))/i,
10949
11035
  any: /^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(da) (manhã|tarde|noite))/i
10950
- }, Yg = {
11036
+ }, Ug = {
10951
11037
  any: {
10952
11038
  am: /^a/i,
10953
11039
  pm: /^p/i,
@@ -10958,50 +11044,50 @@ const gg = {
10958
11044
  evening: /tarde/i,
10959
11045
  night: /noite/i
10960
11046
  }
10961
- }, Vg = {
11047
+ }, qg = {
10962
11048
  ordinalNumber: pc({
10963
- matchPattern: Dg,
10964
- parsePattern: Ag,
11049
+ matchPattern: Tg,
11050
+ parsePattern: Lg,
10965
11051
  valueCallback: (e) => parseInt(e, 10)
10966
11052
  }),
10967
11053
  era: Xe({
10968
- matchPatterns: Tg,
11054
+ matchPatterns: Ig,
10969
11055
  defaultMatchWidth: "wide",
10970
- parsePatterns: Lg,
11056
+ parsePatterns: Wg,
10971
11057
  defaultParseWidth: "any"
10972
11058
  }),
10973
11059
  quarter: Xe({
10974
- matchPatterns: Ig,
11060
+ matchPatterns: Fg,
10975
11061
  defaultMatchWidth: "wide",
10976
- parsePatterns: Wg,
11062
+ parsePatterns: $g,
10977
11063
  defaultParseWidth: "any",
10978
11064
  valueCallback: (e) => e + 1
10979
11065
  }),
10980
11066
  month: Xe({
10981
- matchPatterns: Fg,
11067
+ matchPatterns: Bg,
10982
11068
  defaultMatchWidth: "wide",
10983
- parsePatterns: $g,
11069
+ parsePatterns: zg,
10984
11070
  defaultParseWidth: "any"
10985
11071
  }),
10986
11072
  day: Xe({
10987
- matchPatterns: Bg,
11073
+ matchPatterns: Hg,
10988
11074
  defaultMatchWidth: "wide",
10989
- parsePatterns: zg,
11075
+ parsePatterns: Yg,
10990
11076
  defaultParseWidth: "any"
10991
11077
  }),
10992
11078
  dayPeriod: Xe({
10993
- matchPatterns: Hg,
11079
+ matchPatterns: Vg,
10994
11080
  defaultMatchWidth: "any",
10995
- parsePatterns: Yg,
11081
+ parsePatterns: Ug,
10996
11082
  defaultParseWidth: "any"
10997
11083
  })
10998
11084
  }, wc = {
10999
11085
  code: "pt-BR",
11000
- formatDistance: bg,
11001
- formatLong: Ng,
11002
- formatRelative: jg,
11003
- localize: Og,
11004
- match: Vg,
11086
+ formatDistance: yg,
11087
+ formatLong: jg,
11088
+ formatRelative: kg,
11089
+ localize: Ag,
11090
+ match: qg,
11005
11091
  options: {
11006
11092
  weekStartsOn: 0,
11007
11093
  firstWeekContainsDate: 1
@@ -11016,7 +11102,7 @@ var z = function() {
11016
11102
  return t;
11017
11103
  }, z.apply(this, arguments);
11018
11104
  };
11019
- function Ug(e, t) {
11105
+ function Gg(e, t) {
11020
11106
  var r = {};
11021
11107
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
11022
11108
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -11038,7 +11124,7 @@ function Er(e) {
11038
11124
  function kn(e) {
11039
11125
  return e.mode === "single";
11040
11126
  }
11041
- var qg = {
11127
+ var Xg = {
11042
11128
  root: "rdp",
11043
11129
  multiple_months: "rdp-multiple_months",
11044
11130
  with_weeknumber: "rdp-with_weeknumber",
@@ -11081,63 +11167,63 @@ var qg = {
11081
11167
  day_range_end: "rdp-day_range_end",
11082
11168
  day_range_middle: "rdp-day_range_middle"
11083
11169
  };
11084
- function Gg(e, t) {
11170
+ function Kg(e, t) {
11085
11171
  return ct(e, "LLLL y", t);
11086
11172
  }
11087
- function Xg(e, t) {
11173
+ function Qg(e, t) {
11088
11174
  return ct(e, "d", t);
11089
11175
  }
11090
- function Kg(e, t) {
11176
+ function Zg(e, t) {
11091
11177
  return ct(e, "LLLL", t);
11092
11178
  }
11093
- function Qg(e) {
11179
+ function Jg(e) {
11094
11180
  return "".concat(e);
11095
11181
  }
11096
- function Zg(e, t) {
11182
+ function eb(e, t) {
11097
11183
  return ct(e, "cccccc", t);
11098
11184
  }
11099
- function Jg(e, t) {
11185
+ function tb(e, t) {
11100
11186
  return ct(e, "yyyy", t);
11101
11187
  }
11102
- var eb = /* @__PURE__ */ Object.freeze({
11188
+ var rb = /* @__PURE__ */ Object.freeze({
11103
11189
  __proto__: null,
11104
- formatCaption: Gg,
11105
- formatDay: Xg,
11106
- formatMonthCaption: Kg,
11107
- formatWeekNumber: Qg,
11108
- formatWeekdayName: Zg,
11109
- formatYearCaption: Jg
11110
- }), tb = function(e, t, r) {
11190
+ formatCaption: Kg,
11191
+ formatDay: Qg,
11192
+ formatMonthCaption: Zg,
11193
+ formatWeekNumber: Jg,
11194
+ formatWeekdayName: eb,
11195
+ formatYearCaption: tb
11196
+ }), nb = function(e, t, r) {
11111
11197
  return ct(e, "do MMMM (EEEE)", r);
11112
- }, rb = function() {
11198
+ }, ob = function() {
11113
11199
  return "Month: ";
11114
- }, nb = function() {
11200
+ }, ab = function() {
11115
11201
  return "Go to next month";
11116
- }, ob = function() {
11202
+ }, sb = function() {
11117
11203
  return "Go to previous month";
11118
- }, ab = function(e, t) {
11204
+ }, ib = function(e, t) {
11119
11205
  return ct(e, "cccc", t);
11120
- }, sb = function(e) {
11206
+ }, lb = function(e) {
11121
11207
  return "Week n. ".concat(e);
11122
- }, ib = function() {
11208
+ }, cb = function() {
11123
11209
  return "Year: ";
11124
- }, lb = /* @__PURE__ */ Object.freeze({
11210
+ }, db = /* @__PURE__ */ Object.freeze({
11125
11211
  __proto__: null,
11126
- labelDay: tb,
11127
- labelMonthDropdown: rb,
11128
- labelNext: nb,
11129
- labelPrevious: ob,
11130
- labelWeekNumber: sb,
11131
- labelWeekday: ab,
11132
- labelYearDropdown: ib
11212
+ labelDay: nb,
11213
+ labelMonthDropdown: ob,
11214
+ labelNext: ab,
11215
+ labelPrevious: sb,
11216
+ labelWeekNumber: lb,
11217
+ labelWeekday: ib,
11218
+ labelYearDropdown: cb
11133
11219
  });
11134
- function cb() {
11135
- var e = "buttons", t = qg, r = vc, n = {}, o = {}, a = 1, s = {}, i = /* @__PURE__ */ new Date();
11220
+ function ub() {
11221
+ var e = "buttons", t = Xg, r = vc, n = {}, o = {}, a = 1, s = {}, i = /* @__PURE__ */ new Date();
11136
11222
  return {
11137
11223
  captionLayout: e,
11138
11224
  classNames: t,
11139
- formatters: eb,
11140
- labels: lb,
11225
+ formatters: rb,
11226
+ labels: db,
11141
11227
  locale: r,
11142
11228
  modifiersClassNames: n,
11143
11229
  modifiers: o,
@@ -11147,7 +11233,7 @@ function cb() {
11147
11233
  mode: "default"
11148
11234
  };
11149
11235
  }
11150
- function db(e) {
11236
+ function fb(e) {
11151
11237
  var t = e.fromYear, r = e.toYear, n = e.fromMonth, o = e.toMonth, a = e.fromDate, s = e.toDate;
11152
11238
  return n ? a = Se(n) : t && (a = new Date(t, 0, 1)), o ? s = Sn(o) : r && (s = new Date(r, 11, 31)), {
11153
11239
  fromDate: a ? Xt(a) : void 0,
@@ -11155,8 +11241,8 @@ function db(e) {
11155
11241
  };
11156
11242
  }
11157
11243
  var Cc = Mt(void 0);
11158
- function ub(e) {
11159
- var t, r = e.initialProps, n = cb(), o = db(r), a = o.fromDate, s = o.toDate, i = (t = r.captionLayout) !== null && t !== void 0 ? t : n.captionLayout;
11244
+ function hb(e) {
11245
+ var t, r = e.initialProps, n = ub(), o = fb(r), a = o.fromDate, s = o.toDate, i = (t = r.captionLayout) !== null && t !== void 0 ? t : n.captionLayout;
11160
11246
  i !== "buttons" && (!a || !s) && (i = "buttons");
11161
11247
  var c;
11162
11248
  (kn(r) || Mr(r) || Er(r)) && (c = r.onSelect);
@@ -11173,21 +11259,21 @@ function jc(e) {
11173
11259
  var t = se(), r = t.locale, n = t.classNames, o = t.styles, a = t.formatters.formatCaption;
11174
11260
  return l.jsx("div", { className: n.caption_label, style: o.caption_label, "aria-live": "polite", role: "presentation", id: e.id, children: a(e.displayMonth, { locale: r }) });
11175
11261
  }
11176
- function fb(e) {
11262
+ function mb(e) {
11177
11263
  return l.jsx("svg", z({ width: "8px", height: "8px", viewBox: "0 0 120 120", "data-testid": "iconDropdown" }, e, { children: l.jsx("path", { d: "M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.778175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z", fill: "currentColor", fillRule: "nonzero" }) }));
11178
11264
  }
11179
11265
  function Sc(e) {
11180
- var t, r, n = e.onChange, o = e.value, a = e.children, s = e.caption, i = e.className, c = e.style, d = se(), u = (r = (t = d.components) === null || t === void 0 ? void 0 : t.IconDropdown) !== null && r !== void 0 ? r : fb;
11266
+ var t, r, n = e.onChange, o = e.value, a = e.children, s = e.caption, i = e.className, c = e.style, d = se(), u = (r = (t = d.components) === null || t === void 0 ? void 0 : t.IconDropdown) !== null && r !== void 0 ? r : mb;
11181
11267
  return l.jsxs("div", { className: i, style: c, children: [l.jsx("span", { className: d.classNames.vhidden, children: e["aria-label"] }), l.jsx("select", { name: e.name, "aria-label": e["aria-label"], className: d.classNames.dropdown, style: d.styles.dropdown, value: o, onChange: n, children: a }), l.jsxs("div", { className: d.classNames.caption_label, style: d.styles.caption_label, "aria-hidden": "true", children: [s, l.jsx(u, { className: d.classNames.dropdown_icon, style: d.styles.dropdown_icon })] })] });
11182
11268
  }
11183
- function hb(e) {
11269
+ function pb(e) {
11184
11270
  var t, r = se(), n = r.fromDate, o = r.toDate, a = r.styles, s = r.locale, i = r.formatters.formatMonthCaption, c = r.classNames, d = r.components, u = r.labels.labelMonthDropdown;
11185
11271
  if (!n)
11186
11272
  return l.jsx(l.Fragment, {});
11187
11273
  if (!o)
11188
11274
  return l.jsx(l.Fragment, {});
11189
11275
  var f = [];
11190
- if (vg(n, o))
11276
+ if (bg(n, o))
11191
11277
  for (var h = Se(n), p = n.getMonth(); p <= o.getMonth(); p++)
11192
11278
  f.push(qr(h, p));
11193
11279
  else
@@ -11201,7 +11287,7 @@ function hb(e) {
11201
11287
  return l.jsx("option", { value: b.getMonth(), children: i(b, { locale: s }) }, b.getMonth());
11202
11288
  }) });
11203
11289
  }
11204
- function mb(e) {
11290
+ function vb(e) {
11205
11291
  var t, r = e.displayMonth, n = se(), o = n.fromDate, a = n.toDate, s = n.locale, i = n.styles, c = n.classNames, d = n.components, u = n.formatters.formatYearCaption, f = n.labels.labelYearDropdown, h = [];
11206
11292
  if (!o)
11207
11293
  return l.jsx(l.Fragment, {});
@@ -11217,11 +11303,11 @@ function mb(e) {
11217
11303
  return l.jsx("option", { value: y.getFullYear(), children: u(y, { locale: s }) }, y.getFullYear());
11218
11304
  }) });
11219
11305
  }
11220
- function pb(e, t) {
11306
+ function gb(e, t) {
11221
11307
  var r = fe(e), n = r[0], o = r[1], a = t === void 0 ? n : t;
11222
11308
  return [a, o];
11223
11309
  }
11224
- function vb(e) {
11310
+ function bb(e) {
11225
11311
  var t = e.month, r = e.defaultMonth, n = e.today, o = t || r || n || /* @__PURE__ */ new Date(), a = e.toDate, s = e.fromDate, i = e.numberOfMonths, c = i === void 0 ? 1 : i;
11226
11312
  if (a && pr(a, o) < 0) {
11227
11313
  var d = -1 * (c - 1);
@@ -11229,8 +11315,8 @@ function vb(e) {
11229
11315
  }
11230
11316
  return s && pr(o, s) < 0 && (o = s), Se(o);
11231
11317
  }
11232
- function gb() {
11233
- var e = se(), t = vb(e), r = pb(t, e.month), n = r[0], o = r[1], a = function(s) {
11318
+ function xb() {
11319
+ var e = se(), t = bb(e), r = gb(t, e.month), n = r[0], o = r[1], a = function(s) {
11234
11320
  var i;
11235
11321
  if (!e.disableNavigation) {
11236
11322
  var c = Se(s);
@@ -11239,14 +11325,14 @@ function gb() {
11239
11325
  };
11240
11326
  return [n, a];
11241
11327
  }
11242
- function bb(e, t) {
11328
+ function yb(e, t) {
11243
11329
  for (var r = t.reverseMonths, n = t.numberOfMonths, o = Se(e), a = Se(Be(o, n)), s = pr(a, o), i = [], c = 0; c < s; c++) {
11244
11330
  var d = Be(o, c);
11245
11331
  i.push(d);
11246
11332
  }
11247
11333
  return r && (i = i.reverse()), i;
11248
11334
  }
11249
- function xb(e, t) {
11335
+ function wb(e, t) {
11250
11336
  if (!t.disableNavigation) {
11251
11337
  var r = t.toDate, n = t.pagedNavigation, o = t.numberOfMonths, a = o === void 0 ? 1 : o, s = n ? a : 1, i = Se(e);
11252
11338
  if (!r)
@@ -11256,7 +11342,7 @@ function xb(e, t) {
11256
11342
  return Be(i, s);
11257
11343
  }
11258
11344
  }
11259
- function yb(e, t) {
11345
+ function Nb(e, t) {
11260
11346
  if (!t.disableNavigation) {
11261
11347
  var r = t.fromDate, n = t.pagedNavigation, o = t.numberOfMonths, a = o === void 0 ? 1 : o, s = n ? a : 1, i = Se(e);
11262
11348
  if (!r)
@@ -11267,8 +11353,8 @@ function yb(e, t) {
11267
11353
  }
11268
11354
  }
11269
11355
  var kc = Mt(void 0);
11270
- function wb(e) {
11271
- var t = se(), r = gb(), n = r[0], o = r[1], a = bb(n, t), s = xb(n, t), i = yb(n, t), c = function(f) {
11356
+ function Cb(e) {
11357
+ var t = se(), r = xb(), n = r[0], o = r[1], a = yb(n, t), s = wb(n, t), i = Nb(n, t), c = function(f) {
11272
11358
  return a.some(function(h) {
11273
11359
  return fa(f, h);
11274
11360
  });
@@ -11295,12 +11381,12 @@ function js(e) {
11295
11381
  var t, r = se(), n = r.classNames, o = r.styles, a = r.components, s = Pr().goToMonth, i = function(u) {
11296
11382
  s(Be(u, e.displayIndex ? -e.displayIndex : 0));
11297
11383
  }, c = (t = a == null ? void 0 : a.CaptionLabel) !== null && t !== void 0 ? t : jc, d = l.jsx(c, { id: e.id, displayMonth: e.displayMonth });
11298
- return l.jsxs("div", { className: n.caption_dropdowns, style: o.caption_dropdowns, children: [l.jsx("div", { className: n.vhidden, children: d }), l.jsx(hb, { onChange: i, displayMonth: e.displayMonth }), l.jsx(mb, { onChange: i, displayMonth: e.displayMonth })] });
11384
+ return l.jsxs("div", { className: n.caption_dropdowns, style: o.caption_dropdowns, children: [l.jsx("div", { className: n.vhidden, children: d }), l.jsx(pb, { onChange: i, displayMonth: e.displayMonth }), l.jsx(vb, { onChange: i, displayMonth: e.displayMonth })] });
11299
11385
  }
11300
- function Nb(e) {
11386
+ function jb(e) {
11301
11387
  return l.jsx("svg", z({ width: "16px", height: "16px", viewBox: "0 0 120 120" }, e, { children: l.jsx("path", { d: "M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z", fill: "currentColor", fillRule: "nonzero" }) }));
11302
11388
  }
11303
- function Cb(e) {
11389
+ function Sb(e) {
11304
11390
  return l.jsx("svg", z({ width: "16px", height: "16px", viewBox: "0 0 120 120" }, e, { children: l.jsx("path", { d: "M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z", fill: "currentColor" }) }));
11305
11391
  }
11306
11392
  var cn = Fs(function(e, t) {
@@ -11309,7 +11395,7 @@ var cn = Fs(function(e, t) {
11309
11395
  var s = a.join(" "), i = z(z({}, o.button_reset), o.button);
11310
11396
  return e.style && Object.assign(i, e.style), l.jsx("button", z({}, e, { ref: t, type: "button", className: s, style: i }));
11311
11397
  });
11312
- function jb(e) {
11398
+ function kb(e) {
11313
11399
  var t, r, n = se(), o = n.dir, a = n.locale, s = n.classNames, i = n.styles, c = n.labels, d = c.labelPrevious, u = c.labelNext, f = n.components;
11314
11400
  if (!e.nextMonth && !e.previousMonth)
11315
11401
  return l.jsx(l.Fragment, {});
@@ -11319,7 +11405,7 @@ function jb(e) {
11319
11405
  ].join(" "), g = u(e.nextMonth, { locale: a }), v = [
11320
11406
  s.nav_button,
11321
11407
  s.nav_button_next
11322
- ].join(" "), b = (t = f == null ? void 0 : f.IconRight) !== null && t !== void 0 ? t : Cb, x = (r = f == null ? void 0 : f.IconLeft) !== null && r !== void 0 ? r : Nb;
11408
+ ].join(" "), b = (t = f == null ? void 0 : f.IconRight) !== null && t !== void 0 ? t : Sb, x = (r = f == null ? void 0 : f.IconLeft) !== null && r !== void 0 ? r : jb;
11323
11409
  return l.jsxs("div", { className: s.nav, style: i.nav, children: [!e.hidePrevious && l.jsx(cn, { name: "previous-month", "aria-label": h, className: p, style: i.nav_button_previous, disabled: !e.previousMonth, onClick: e.onPreviousClick, children: o === "rtl" ? l.jsx(b, { className: s.nav_icon, style: i.nav_icon }) : l.jsx(x, { className: s.nav_icon, style: i.nav_icon }) }), !e.hideNext && l.jsx(cn, { name: "next-month", "aria-label": g, className: v, style: i.nav_button_next, disabled: !e.nextMonth, onClick: e.onNextClick, children: o === "rtl" ? l.jsx(x, { className: s.nav_icon, style: i.nav_icon }) : l.jsx(b, { className: s.nav_icon, style: i.nav_icon }) })] });
11324
11410
  }
11325
11411
  function Ss(e) {
@@ -11330,39 +11416,39 @@ function Ss(e) {
11330
11416
  }, p = function() {
11331
11417
  o && a(o);
11332
11418
  };
11333
- return l.jsx(jb, { displayMonth: e.displayMonth, hideNext: u, hidePrevious: f, nextMonth: o, previousMonth: n, onPreviousClick: h, onNextClick: p });
11419
+ return l.jsx(kb, { displayMonth: e.displayMonth, hideNext: u, hidePrevious: f, nextMonth: o, previousMonth: n, onPreviousClick: h, onNextClick: p });
11334
11420
  }
11335
- function Sb(e) {
11421
+ function _b(e) {
11336
11422
  var t, r = se(), n = r.classNames, o = r.disableNavigation, a = r.styles, s = r.captionLayout, i = r.components, c = (t = i == null ? void 0 : i.CaptionLabel) !== null && t !== void 0 ? t : jc, d;
11337
11423
  return o ? d = l.jsx(c, { id: e.id, displayMonth: e.displayMonth }) : s === "dropdown" ? d = l.jsx(js, { displayMonth: e.displayMonth, id: e.id }) : s === "dropdown-buttons" ? d = l.jsxs(l.Fragment, { children: [l.jsx(js, { displayMonth: e.displayMonth, displayIndex: e.displayIndex, id: e.id }), l.jsx(Ss, { displayMonth: e.displayMonth, displayIndex: e.displayIndex, id: e.id })] }) : d = l.jsxs(l.Fragment, { children: [l.jsx(c, { id: e.id, displayMonth: e.displayMonth, displayIndex: e.displayIndex }), l.jsx(Ss, { displayMonth: e.displayMonth, id: e.id })] }), l.jsx("div", { className: n.caption, style: a.caption, children: d });
11338
11424
  }
11339
- function kb(e) {
11425
+ function Mb(e) {
11340
11426
  var t = se(), r = t.footer, n = t.styles, o = t.classNames.tfoot;
11341
11427
  return r ? l.jsx("tfoot", { className: o, style: n.tfoot, children: l.jsx("tr", { children: l.jsx("td", { colSpan: 8, children: r }) }) }) : l.jsx(l.Fragment, {});
11342
11428
  }
11343
- function _b(e, t, r) {
11429
+ function Eb(e, t, r) {
11344
11430
  for (var n = r ? _t(/* @__PURE__ */ new Date()) : et(/* @__PURE__ */ new Date(), { locale: e, weekStartsOn: t }), o = [], a = 0; a < 7; a++) {
11345
11431
  var s = je(n, a);
11346
11432
  o.push(s);
11347
11433
  }
11348
11434
  return o;
11349
11435
  }
11350
- function Mb() {
11351
- var e = se(), t = e.classNames, r = e.styles, n = e.showWeekNumber, o = e.locale, a = e.weekStartsOn, s = e.ISOWeek, i = e.formatters.formatWeekdayName, c = e.labels.labelWeekday, d = _b(o, a, s);
11436
+ function Pb() {
11437
+ var e = se(), t = e.classNames, r = e.styles, n = e.showWeekNumber, o = e.locale, a = e.weekStartsOn, s = e.ISOWeek, i = e.formatters.formatWeekdayName, c = e.labels.labelWeekday, d = Eb(o, a, s);
11352
11438
  return l.jsxs("tr", { style: r.head_row, className: t.head_row, children: [n && l.jsx("td", { style: r.head_cell, className: t.head_cell }), d.map(function(u, f) {
11353
11439
  return l.jsx("th", { scope: "col", className: t.head_cell, style: r.head_cell, "aria-label": c(u, { locale: o }), children: i(u, { locale: o }) }, f);
11354
11440
  })] });
11355
11441
  }
11356
- function Eb() {
11357
- var e, t = se(), r = t.classNames, n = t.styles, o = t.components, a = (e = o == null ? void 0 : o.HeadRow) !== null && e !== void 0 ? e : Mb;
11442
+ function Rb() {
11443
+ var e, t = se(), r = t.classNames, n = t.styles, o = t.components, a = (e = o == null ? void 0 : o.HeadRow) !== null && e !== void 0 ? e : Pb;
11358
11444
  return l.jsx("thead", { style: n.head, className: r.head, children: l.jsx(a, {}) });
11359
11445
  }
11360
- function Pb(e) {
11446
+ function Ob(e) {
11361
11447
  var t = se(), r = t.locale, n = t.formatters.formatDay;
11362
11448
  return l.jsx(l.Fragment, { children: n(e.date, { locale: r }) });
11363
11449
  }
11364
11450
  var ha = Mt(void 0);
11365
- function Rb(e) {
11451
+ function Db(e) {
11366
11452
  if (!Mr(e.initialProps)) {
11367
11453
  var t = {
11368
11454
  selected: void 0,
@@ -11372,9 +11458,9 @@ function Rb(e) {
11372
11458
  };
11373
11459
  return l.jsx(ha.Provider, { value: t, children: e.children });
11374
11460
  }
11375
- return l.jsx(Ob, { initialProps: e.initialProps, children: e.children });
11461
+ return l.jsx(Ab, { initialProps: e.initialProps, children: e.children });
11376
11462
  }
11377
- function Ob(e) {
11463
+ function Ab(e) {
11378
11464
  var t = e.initialProps, r = e.children, n = t.selected, o = t.min, a = t.max, s = function(d, u, f) {
11379
11465
  var h, p;
11380
11466
  (h = t.onDayClick) === null || h === void 0 || h.call(t, d, u, f);
@@ -11415,12 +11501,12 @@ function ma() {
11415
11501
  throw new Error("useSelectMultiple must be used within a SelectMultipleProvider");
11416
11502
  return e;
11417
11503
  }
11418
- function Db(e, t) {
11504
+ function Tb(e, t) {
11419
11505
  var r = t || {}, n = r.from, o = r.to;
11420
11506
  return n && o ? Me(o, e) && Me(n, e) ? void 0 : Me(o, e) ? { from: o, to: void 0 } : Me(n, e) ? void 0 : vr(n, e) ? { from: e, to: o } : { from: n, to: e } : o ? vr(e, o) ? { from: o, to: e } : { from: e, to: o } : n ? ln(e, n) ? { from: e, to: n } : { from: n, to: e } : { from: e, to: void 0 };
11421
11507
  }
11422
11508
  var pa = Mt(void 0);
11423
- function Ab(e) {
11509
+ function Lb(e) {
11424
11510
  if (!Er(e.initialProps)) {
11425
11511
  var t = {
11426
11512
  selected: void 0,
@@ -11433,13 +11519,13 @@ function Ab(e) {
11433
11519
  };
11434
11520
  return l.jsx(pa.Provider, { value: t, children: e.children });
11435
11521
  }
11436
- return l.jsx(Tb, { initialProps: e.initialProps, children: e.children });
11522
+ return l.jsx(Ib, { initialProps: e.initialProps, children: e.children });
11437
11523
  }
11438
- function Tb(e) {
11524
+ function Ib(e) {
11439
11525
  var t = e.initialProps, r = e.children, n = t.selected, o = n || {}, a = o.from, s = o.to, i = t.min, c = t.max, d = function(p, g, v) {
11440
11526
  var b, x;
11441
11527
  (b = t.onDayClick) === null || b === void 0 || b.call(t, p, g, v);
11442
- var y = Db(p, n);
11528
+ var y = Tb(p, n);
11443
11529
  (x = t.onSelect) === null || x === void 0 || x.call(t, y, p, g, v);
11444
11530
  }, u = {
11445
11531
  range_start: [],
@@ -11491,7 +11577,7 @@ function va() {
11491
11577
  function Gr(e) {
11492
11578
  return Array.isArray(e) ? Nc([], e) : e !== void 0 ? [e] : [];
11493
11579
  }
11494
- function Lb(e) {
11580
+ function Wb(e) {
11495
11581
  var t = {};
11496
11582
  return Object.entries(e).forEach(function(r) {
11497
11583
  var n = r[0], o = r[1];
@@ -11502,14 +11588,14 @@ var ze;
11502
11588
  (function(e) {
11503
11589
  e.Outside = "outside", e.Disabled = "disabled", e.Selected = "selected", e.Hidden = "hidden", e.Today = "today", e.RangeStart = "range_start", e.RangeEnd = "range_end", e.RangeMiddle = "range_middle";
11504
11590
  })(ze || (ze = {}));
11505
- var Ib = ze.Selected, at = ze.Disabled, Wb = ze.Hidden, Fb = ze.Today, Kn = ze.RangeEnd, Qn = ze.RangeMiddle, Zn = ze.RangeStart, $b = ze.Outside;
11506
- function Bb(e, t, r) {
11507
- var n, o = (n = {}, n[Ib] = Gr(e.selected), n[at] = Gr(e.disabled), n[Wb] = Gr(e.hidden), n[Fb] = [e.today], n[Kn] = [], n[Qn] = [], n[Zn] = [], n[$b] = [], n);
11591
+ var Fb = ze.Selected, at = ze.Disabled, $b = ze.Hidden, Bb = ze.Today, Kn = ze.RangeEnd, Qn = ze.RangeMiddle, Zn = ze.RangeStart, zb = ze.Outside;
11592
+ function Hb(e, t, r) {
11593
+ var n, o = (n = {}, n[Fb] = Gr(e.selected), n[at] = Gr(e.disabled), n[$b] = Gr(e.hidden), n[Bb] = [e.today], n[Kn] = [], n[Qn] = [], n[Zn] = [], n[zb] = [], n);
11508
11594
  return e.fromDate && o[at].push({ before: e.fromDate }), e.toDate && o[at].push({ after: e.toDate }), Mr(e) ? o[at] = o[at].concat(t.modifiers[at]) : Er(e) && (o[at] = o[at].concat(r.modifiers[at]), o[Zn] = r.modifiers[Zn], o[Qn] = r.modifiers[Qn], o[Kn] = r.modifiers[Kn]), o;
11509
11595
  }
11510
11596
  var _c = Mt(void 0);
11511
- function zb(e) {
11512
- var t = se(), r = ma(), n = va(), o = Bb(t, r, n), a = Lb(t.modifiers), s = z(z({}, o), a);
11597
+ function Yb(e) {
11598
+ var t = se(), r = ma(), n = va(), o = Hb(t, r, n), a = Wb(t.modifiers), s = z(z({}, o), a);
11513
11599
  return l.jsx(_c.Provider, { value: s, children: e.children });
11514
11600
  }
11515
11601
  function Mc() {
@@ -11518,22 +11604,22 @@ function Mc() {
11518
11604
  throw new Error("useModifiers must be used within a ModifiersProvider");
11519
11605
  return e;
11520
11606
  }
11521
- function Hb(e) {
11607
+ function Vb(e) {
11522
11608
  return !!(e && typeof e == "object" && "before" in e && "after" in e);
11523
11609
  }
11524
- function Yb(e) {
11610
+ function Ub(e) {
11525
11611
  return !!(e && typeof e == "object" && "from" in e);
11526
11612
  }
11527
- function Vb(e) {
11613
+ function qb(e) {
11528
11614
  return !!(e && typeof e == "object" && "after" in e);
11529
11615
  }
11530
- function Ub(e) {
11616
+ function Gb(e) {
11531
11617
  return !!(e && typeof e == "object" && "before" in e);
11532
11618
  }
11533
- function qb(e) {
11619
+ function Xb(e) {
11534
11620
  return !!(e && typeof e == "object" && "dayOfWeek" in e);
11535
11621
  }
11536
- function Gb(e, t) {
11622
+ function Kb(e, t) {
11537
11623
  var r, n = t.from, o = t.to;
11538
11624
  if (n && o) {
11539
11625
  var a = Qe(o, n) < 0;
@@ -11543,41 +11629,41 @@ function Gb(e, t) {
11543
11629
  }
11544
11630
  return o ? Me(o, e) : n ? Me(n, e) : !1;
11545
11631
  }
11546
- function Xb(e) {
11632
+ function Qb(e) {
11547
11633
  return ca(e);
11548
11634
  }
11549
- function Kb(e) {
11635
+ function Zb(e) {
11550
11636
  return Array.isArray(e) && e.every(ca);
11551
11637
  }
11552
- function Qb(e, t) {
11638
+ function Jb(e, t) {
11553
11639
  return t.some(function(r) {
11554
11640
  if (typeof r == "boolean")
11555
11641
  return r;
11556
- if (Xb(r))
11642
+ if (Qb(r))
11557
11643
  return Me(e, r);
11558
- if (Kb(r))
11644
+ if (Zb(r))
11559
11645
  return r.includes(e);
11560
- if (Yb(r))
11561
- return Gb(e, r);
11562
- if (qb(r))
11646
+ if (Ub(r))
11647
+ return Kb(e, r);
11648
+ if (Xb(r))
11563
11649
  return r.dayOfWeek.includes(e.getDay());
11564
- if (Hb(r)) {
11650
+ if (Vb(r)) {
11565
11651
  var n = Qe(r.before, e), o = Qe(r.after, e), a = n > 0, s = o < 0, i = vr(r.before, r.after);
11566
11652
  return i ? s && a : a || s;
11567
11653
  }
11568
- return Vb(r) ? Qe(e, r.after) > 0 : Ub(r) ? Qe(r.before, e) > 0 : typeof r == "function" ? r(e) : !1;
11654
+ return qb(r) ? Qe(e, r.after) > 0 : Gb(r) ? Qe(r.before, e) > 0 : typeof r == "function" ? r(e) : !1;
11569
11655
  });
11570
11656
  }
11571
11657
  function ga(e, t, r) {
11572
11658
  var n = Object.keys(t).reduce(function(a, s) {
11573
11659
  var i = t[s];
11574
- return Qb(e, i) && a.push(s), a;
11660
+ return Jb(e, i) && a.push(s), a;
11575
11661
  }, []), o = {};
11576
11662
  return n.forEach(function(a) {
11577
11663
  return o[a] = !0;
11578
11664
  }), r && !fa(e, r) && (o.outside = !0), o;
11579
11665
  }
11580
- function Zb(e, t) {
11666
+ function e0(e, t) {
11581
11667
  for (var r = Se(e[0]), n = Sn(e[e.length - 1]), o, a, s = r; s <= n; ) {
11582
11668
  var i = ga(s, t), c = !i.disabled && !i.hidden;
11583
11669
  if (!c) {
@@ -11590,7 +11676,7 @@ function Zb(e, t) {
11590
11676
  }
11591
11677
  return a || o;
11592
11678
  }
11593
- var Jb = 365;
11679
+ var t0 = 365;
11594
11680
  function Ec(e, t) {
11595
11681
  var r = t.moveBy, n = t.direction, o = t.context, a = t.modifiers, s = t.retry, i = s === void 0 ? { count: 0, lastFocused: e } : s, c = o.weekStartsOn, d = o.fromDate, u = o.toDate, f = o.locale, h = {
11596
11682
  day: je,
@@ -11604,13 +11690,13 @@ function Ec(e, t) {
11604
11690
  return o.ISOWeek ? mc(b) : ua(b, { locale: f, weekStartsOn: c });
11605
11691
  }
11606
11692
  }, p = h[r](e, n === "after" ? 1 : -1);
11607
- n === "before" && d ? p = hv([d, p]) : n === "after" && u && (p = mv([u, p]));
11693
+ n === "before" && d ? p = pv([d, p]) : n === "after" && u && (p = vv([u, p]));
11608
11694
  var g = !0;
11609
11695
  if (a) {
11610
11696
  var v = ga(p, a);
11611
11697
  g = !v.disabled && !v.hidden;
11612
11698
  }
11613
- return g ? p : i.count > Jb ? i.lastFocused : Ec(p, {
11699
+ return g ? p : i.count > t0 ? i.lastFocused : Ec(p, {
11614
11700
  moveBy: r,
11615
11701
  direction: n,
11616
11702
  context: o,
@@ -11619,8 +11705,8 @@ function Ec(e, t) {
11619
11705
  });
11620
11706
  }
11621
11707
  var Pc = Mt(void 0);
11622
- function e0(e) {
11623
- var t = Pr(), r = Mc(), n = fe(), o = n[0], a = n[1], s = fe(), i = s[0], c = s[1], d = Zb(t.displayMonths, r), u = o ?? (i && t.isDateDisplayed(i)) ? i : d, f = function() {
11708
+ function r0(e) {
11709
+ var t = Pr(), r = Mc(), n = fe(), o = n[0], a = n[1], s = fe(), i = s[0], c = s[1], d = e0(t.displayMonths, r), u = o ?? (i && t.isDateDisplayed(i)) ? i : d, f = function() {
11624
11710
  c(o), a(void 0);
11625
11711
  }, h = function(b) {
11626
11712
  a(b);
@@ -11678,21 +11764,21 @@ function ba() {
11678
11764
  throw new Error("useFocusContext must be used within a FocusProvider");
11679
11765
  return e;
11680
11766
  }
11681
- function t0(e, t) {
11767
+ function n0(e, t) {
11682
11768
  var r = Mc(), n = ga(e, r, t);
11683
11769
  return n;
11684
11770
  }
11685
11771
  var xa = Mt(void 0);
11686
- function r0(e) {
11772
+ function o0(e) {
11687
11773
  if (!kn(e.initialProps)) {
11688
11774
  var t = {
11689
11775
  selected: void 0
11690
11776
  };
11691
11777
  return l.jsx(xa.Provider, { value: t, children: e.children });
11692
11778
  }
11693
- return l.jsx(n0, { initialProps: e.initialProps, children: e.children });
11779
+ return l.jsx(a0, { initialProps: e.initialProps, children: e.children });
11694
11780
  }
11695
- function n0(e) {
11781
+ function a0(e) {
11696
11782
  var t = e.initialProps, r = e.children, n = function(a, s, i) {
11697
11783
  var c, d, u;
11698
11784
  if ((c = t.onDayClick) === null || c === void 0 || c.call(t, a, s, i), s.selected && !t.required) {
@@ -11712,7 +11798,7 @@ function Rc() {
11712
11798
  throw new Error("useSelectSingle must be used within a SelectSingleProvider");
11713
11799
  return e;
11714
11800
  }
11715
- function o0(e, t) {
11801
+ function s0(e, t) {
11716
11802
  var r = se(), n = Rc(), o = ma(), a = va(), s = ba(), i = s.focusDayAfter, c = s.focusDayBefore, d = s.focusWeekAfter, u = s.focusWeekBefore, f = s.blur, h = s.focus, p = s.focusMonthBefore, g = s.focusMonthAfter, v = s.focusYearBefore, b = s.focusYearAfter, x = s.focusStartOfWeek, y = s.focusEndOfWeek, N = function(R) {
11717
11803
  var M, G, de, le;
11718
11804
  kn(r) ? (M = n.onDayClick) === null || M === void 0 || M.call(n, e, t, R) : Mr(r) ? (G = o.onDayClick) === null || G === void 0 || G.call(o, e, t, R) : Er(r) ? (de = a.onDayClick) === null || de === void 0 || de.call(a, e, t, R) : (le = r.onDayClick) === null || le === void 0 || le.call(r, e, t, R);
@@ -11795,34 +11881,34 @@ function o0(e, t) {
11795
11881
  };
11796
11882
  return U;
11797
11883
  }
11798
- function a0() {
11884
+ function i0() {
11799
11885
  var e = se(), t = Rc(), r = ma(), n = va(), o = kn(e) ? t.selected : Mr(e) ? r.selected : Er(e) ? n.selected : void 0;
11800
11886
  return o;
11801
11887
  }
11802
- function s0(e) {
11888
+ function l0(e) {
11803
11889
  return Object.values(ze).includes(e);
11804
11890
  }
11805
- function i0(e, t) {
11891
+ function c0(e, t) {
11806
11892
  var r = [e.classNames.day];
11807
11893
  return Object.keys(t).forEach(function(n) {
11808
11894
  var o = e.modifiersClassNames[n];
11809
11895
  if (o)
11810
11896
  r.push(o);
11811
- else if (s0(n)) {
11897
+ else if (l0(n)) {
11812
11898
  var a = e.classNames["day_".concat(n)];
11813
11899
  a && r.push(a);
11814
11900
  }
11815
11901
  }), r;
11816
11902
  }
11817
- function l0(e, t) {
11903
+ function d0(e, t) {
11818
11904
  var r = z({}, e.styles.day);
11819
11905
  return Object.keys(t).forEach(function(n) {
11820
11906
  var o;
11821
11907
  r = z(z({}, r), (o = e.modifiersStyles) === null || o === void 0 ? void 0 : o[n]);
11822
11908
  }), r;
11823
11909
  }
11824
- function c0(e, t, r) {
11825
- var n, o, a, s = se(), i = ba(), c = t0(e, t), d = o0(e, c), u = a0(), f = !!(s.onDayClick || s.mode !== "default");
11910
+ function u0(e, t, r) {
11911
+ var n, o, a, s = se(), i = ba(), c = n0(e, t), d = s0(e, c), u = i0(), f = !!(s.onDayClick || s.mode !== "default");
11826
11912
  we(function() {
11827
11913
  var _;
11828
11914
  c.outside || i.focusedDay && f && Me(i.focusedDay, e) && ((_ = r.current) === null || _ === void 0 || _.focus());
@@ -11833,7 +11919,7 @@ function c0(e, t, r) {
11833
11919
  f,
11834
11920
  c.outside
11835
11921
  ]);
11836
- var h = i0(s, c).join(" "), p = l0(s, c), g = !!(c.outside && !s.showOutsideDays || c.hidden), v = (a = (o = s.components) === null || o === void 0 ? void 0 : o.DayContent) !== null && a !== void 0 ? a : Pb, b = l.jsx(v, { date: e, displayMonth: t, activeModifiers: c }), x = {
11922
+ var h = c0(s, c).join(" "), p = d0(s, c), g = !!(c.outside && !s.showOutsideDays || c.hidden), v = (a = (o = s.components) === null || o === void 0 ? void 0 : o.DayContent) !== null && a !== void 0 ? a : Ob, b = l.jsx(v, { date: e, displayMonth: t, activeModifiers: c }), x = {
11837
11923
  style: p,
11838
11924
  className: h,
11839
11925
  children: b,
@@ -11848,11 +11934,11 @@ function c0(e, t, r) {
11848
11934
  };
11849
11935
  return j;
11850
11936
  }
11851
- function d0(e) {
11852
- var t = Le(null), r = c0(e.date, e.displayMonth, t);
11937
+ function f0(e) {
11938
+ var t = Le(null), r = u0(e.date, e.displayMonth, t);
11853
11939
  return r.isHidden ? l.jsx("div", { role: "gridcell" }) : r.isButton ? l.jsx(cn, z({ name: "day", ref: t }, r.buttonProps)) : l.jsx("div", z({}, r.divProps));
11854
11940
  }
11855
- function u0(e) {
11941
+ function h0(e) {
11856
11942
  var t = e.number, r = e.dates, n = se(), o = n.onWeekNumberClick, a = n.styles, s = n.classNames, i = n.locale, c = n.labels.labelWeekNumber, d = n.formatters.formatWeekNumber, u = d(Number(t), { locale: i });
11857
11943
  if (!o)
11858
11944
  return l.jsx("span", { className: s.weeknumber, style: a.weeknumber, children: u });
@@ -11861,10 +11947,10 @@ function u0(e) {
11861
11947
  };
11862
11948
  return l.jsx(cn, { name: "week-number", "aria-label": f, className: s.weeknumber, style: a.weeknumber, onClick: h, children: u });
11863
11949
  }
11864
- function f0(e) {
11865
- var t, r, n = se(), o = n.styles, a = n.classNames, s = n.showWeekNumber, i = n.components, c = (t = i == null ? void 0 : i.Day) !== null && t !== void 0 ? t : d0, d = (r = i == null ? void 0 : i.WeekNumber) !== null && r !== void 0 ? r : u0, u;
11950
+ function m0(e) {
11951
+ var t, r, n = se(), o = n.styles, a = n.classNames, s = n.showWeekNumber, i = n.components, c = (t = i == null ? void 0 : i.Day) !== null && t !== void 0 ? t : f0, d = (r = i == null ? void 0 : i.WeekNumber) !== null && r !== void 0 ? r : h0, u;
11866
11952
  return s && (u = l.jsx("td", { className: a.cell, style: o.cell, children: l.jsx(d, { number: e.weekNumber, dates: e.dates }) })), l.jsxs("tr", { className: a.row, style: o.row, children: [u, e.dates.map(function(f) {
11867
- return l.jsx("td", { className: a.cell, style: o.cell, role: "presentation", children: l.jsx(c, { displayMonth: e.displayMonth, date: f }) }, hg(f));
11953
+ return l.jsx("td", { className: a.cell, style: o.cell, role: "presentation", children: l.jsx(c, { displayMonth: e.displayMonth, date: f }) }, pg(f));
11868
11954
  })] });
11869
11955
  }
11870
11956
  function ks(e, t, r) {
@@ -11881,10 +11967,10 @@ function ks(e, t, r) {
11881
11967
  }, []);
11882
11968
  return c;
11883
11969
  }
11884
- function h0(e, t) {
11970
+ function p0(e, t) {
11885
11971
  var r = ks(Se(e), Sn(e), t);
11886
11972
  if (t != null && t.useFixedWeeks) {
11887
- var n = pg(e, t);
11973
+ var n = gg(e, t);
11888
11974
  if (n < 6) {
11889
11975
  var o = r[r.length - 1], a = o.dates[o.dates.length - 1], s = bo(a, 6 - n), i = ks(bo(a, 1), s, t);
11890
11976
  r.push.apply(r, i);
@@ -11892,44 +11978,44 @@ function h0(e, t) {
11892
11978
  }
11893
11979
  return r;
11894
11980
  }
11895
- function m0(e) {
11896
- var t, r, n, o = se(), a = o.locale, s = o.classNames, i = o.styles, c = o.hideHead, d = o.fixedWeeks, u = o.components, f = o.weekStartsOn, h = o.firstWeekContainsDate, p = o.ISOWeek, g = h0(e.displayMonth, {
11981
+ function v0(e) {
11982
+ var t, r, n, o = se(), a = o.locale, s = o.classNames, i = o.styles, c = o.hideHead, d = o.fixedWeeks, u = o.components, f = o.weekStartsOn, h = o.firstWeekContainsDate, p = o.ISOWeek, g = p0(e.displayMonth, {
11897
11983
  useFixedWeeks: !!d,
11898
11984
  ISOWeek: p,
11899
11985
  locale: a,
11900
11986
  weekStartsOn: f,
11901
11987
  firstWeekContainsDate: h
11902
- }), v = (t = u == null ? void 0 : u.Head) !== null && t !== void 0 ? t : Eb, b = (r = u == null ? void 0 : u.Row) !== null && r !== void 0 ? r : f0, x = (n = u == null ? void 0 : u.Footer) !== null && n !== void 0 ? n : kb;
11988
+ }), v = (t = u == null ? void 0 : u.Head) !== null && t !== void 0 ? t : Rb, b = (r = u == null ? void 0 : u.Row) !== null && r !== void 0 ? r : m0, x = (n = u == null ? void 0 : u.Footer) !== null && n !== void 0 ? n : Mb;
11903
11989
  return l.jsxs("table", { id: e.id, className: s.table, style: i.table, role: "grid", "aria-labelledby": e["aria-labelledby"], children: [!c && l.jsx(v, {}), l.jsx("tbody", { className: s.tbody, style: i.tbody, children: g.map(function(y) {
11904
11990
  return l.jsx(b, { displayMonth: e.displayMonth, dates: y.dates, weekNumber: y.weekNumber }, y.weekNumber);
11905
11991
  }) }), l.jsx(x, { displayMonth: e.displayMonth })] });
11906
11992
  }
11907
- function p0() {
11993
+ function g0() {
11908
11994
  return !!(typeof window < "u" && window.document && window.document.createElement);
11909
11995
  }
11910
- var v0 = p0() ? ko : we, Jn = !1, g0 = 0;
11996
+ var b0 = g0() ? ko : we, Jn = !1, x0 = 0;
11911
11997
  function _s() {
11912
- return "react-day-picker-".concat(++g0);
11998
+ return "react-day-picker-".concat(++x0);
11913
11999
  }
11914
- function b0(e) {
12000
+ function y0(e) {
11915
12001
  var t, r = e ?? (Jn ? _s() : null), n = fe(r), o = n[0], a = n[1];
11916
- return v0(function() {
12002
+ return b0(function() {
11917
12003
  o === null && a(_s());
11918
12004
  }, []), we(function() {
11919
12005
  Jn === !1 && (Jn = !0);
11920
12006
  }, []), (t = e ?? o) !== null && t !== void 0 ? t : void 0;
11921
12007
  }
11922
- function x0(e) {
11923
- var t, r, n = se(), o = n.dir, a = n.classNames, s = n.styles, i = n.components, c = Pr().displayMonths, d = b0(n.id ? "".concat(n.id, "-").concat(e.displayIndex) : void 0), u = n.id ? "".concat(n.id, "-grid-").concat(e.displayIndex) : void 0, f = [a.month], h = s.month, p = e.displayIndex === 0, g = e.displayIndex === c.length - 1, v = !p && !g;
12008
+ function w0(e) {
12009
+ var t, r, n = se(), o = n.dir, a = n.classNames, s = n.styles, i = n.components, c = Pr().displayMonths, d = y0(n.id ? "".concat(n.id, "-").concat(e.displayIndex) : void 0), u = n.id ? "".concat(n.id, "-grid-").concat(e.displayIndex) : void 0, f = [a.month], h = s.month, p = e.displayIndex === 0, g = e.displayIndex === c.length - 1, v = !p && !g;
11924
12010
  o === "rtl" && (t = [p, g], g = t[0], p = t[1]), p && (f.push(a.caption_start), h = z(z({}, h), s.caption_start)), g && (f.push(a.caption_end), h = z(z({}, h), s.caption_end)), v && (f.push(a.caption_between), h = z(z({}, h), s.caption_between));
11925
- var b = (r = i == null ? void 0 : i.Caption) !== null && r !== void 0 ? r : Sb;
11926
- return l.jsxs("div", { className: f.join(" "), style: h, children: [l.jsx(b, { id: d, displayMonth: e.displayMonth, displayIndex: e.displayIndex }), l.jsx(m0, { id: u, "aria-labelledby": d, displayMonth: e.displayMonth })] }, e.displayIndex);
12011
+ var b = (r = i == null ? void 0 : i.Caption) !== null && r !== void 0 ? r : _b;
12012
+ return l.jsxs("div", { className: f.join(" "), style: h, children: [l.jsx(b, { id: d, displayMonth: e.displayMonth, displayIndex: e.displayIndex }), l.jsx(v0, { id: u, "aria-labelledby": d, displayMonth: e.displayMonth })] }, e.displayIndex);
11927
12013
  }
11928
- function y0(e) {
12014
+ function N0(e) {
11929
12015
  var t = se(), r = t.classNames, n = t.styles;
11930
12016
  return l.jsx("div", { className: r.months, style: n.months, children: e.children });
11931
12017
  }
11932
- function w0(e) {
12018
+ function C0(e) {
11933
12019
  var t, r, n = e.initialProps, o = se(), a = ba(), s = Pr(), i = fe(!1), c = i[0], d = i[1];
11934
12020
  we(function() {
11935
12021
  o.initialFocus && a.focusTarget && (c || (a.focus(a.focusTarget), d(!0)));
@@ -11947,17 +12033,17 @@ function w0(e) {
11947
12033
  }).reduce(function(g, v) {
11948
12034
  var b;
11949
12035
  return z(z({}, g), (b = {}, b[v] = n[v], b));
11950
- }, {}), p = (r = (t = n.components) === null || t === void 0 ? void 0 : t.Months) !== null && r !== void 0 ? r : y0;
12036
+ }, {}), p = (r = (t = n.components) === null || t === void 0 ? void 0 : t.Months) !== null && r !== void 0 ? r : N0;
11951
12037
  return l.jsx("div", z({ className: u.join(" "), style: f, dir: o.dir, id: o.id, nonce: n.nonce, title: n.title, lang: n.lang }, h, { children: l.jsx(p, { children: s.displayMonths.map(function(g, v) {
11952
- return l.jsx(x0, { displayIndex: v, displayMonth: g }, v);
12038
+ return l.jsx(w0, { displayIndex: v, displayMonth: g }, v);
11953
12039
  }) }) }));
11954
12040
  }
11955
- function N0(e) {
11956
- var t = e.children, r = Ug(e, ["children"]);
11957
- return l.jsx(ub, { initialProps: r, children: l.jsx(wb, { children: l.jsx(r0, { initialProps: r, children: l.jsx(Rb, { initialProps: r, children: l.jsx(Ab, { initialProps: r, children: l.jsx(zb, { children: l.jsx(e0, { children: t }) }) }) }) }) }) });
12041
+ function j0(e) {
12042
+ var t = e.children, r = Gg(e, ["children"]);
12043
+ return l.jsx(hb, { initialProps: r, children: l.jsx(Cb, { children: l.jsx(o0, { initialProps: r, children: l.jsx(Db, { initialProps: r, children: l.jsx(Lb, { initialProps: r, children: l.jsx(Yb, { children: l.jsx(r0, { children: t }) }) }) }) }) }) });
11958
12044
  }
11959
- function C0(e) {
11960
- return l.jsx(N0, z({}, e, { children: l.jsx(w0, { initialProps: e }) }));
12045
+ function S0(e) {
12046
+ return l.jsx(j0, z({}, e, { children: l.jsx(C0, { initialProps: e }) }));
11961
12047
  }
11962
12048
  function Oc({
11963
12049
  className: e,
@@ -12012,7 +12098,7 @@ function Oc({
12012
12098
  return /* @__PURE__ */ l.jsx(Jr, { className: "h-[200px] p-3", children: /* @__PURE__ */ l.jsx("div", { className: "grid grid-cols-3 gap-2", children: g.map((v) => {
12013
12099
  const b = xo(s, v), x = h === v;
12014
12100
  let y = !1;
12015
- return n.fromDate && (y = ln(gv(b), n.fromDate)), n.toDate && (y = y || vr(da(b), n.toDate)), /* @__PURE__ */ l.jsx(
12101
+ return n.fromDate && (y = ln(xv(b), n.fromDate)), n.toDate && (y = y || vr(da(b), n.toDate)), /* @__PURE__ */ l.jsx(
12016
12102
  te,
12017
12103
  {
12018
12104
  variant: "ghost",
@@ -12097,7 +12183,7 @@ function Oc({
12097
12183
  ] }),
12098
12184
  u()
12099
12185
  ] }) : /* @__PURE__ */ l.jsx(
12100
- C0,
12186
+ S0,
12101
12187
  {
12102
12188
  showOutsideDays: r,
12103
12189
  className: S("p-3", e),
@@ -12145,7 +12231,7 @@ function Oc({
12145
12231
  );
12146
12232
  }
12147
12233
  Oc.displayName = "MriCalendar";
12148
- function Mx({ value: e, onChange: t, placeholder: r = "Selecione", disabled: n, locale: o = wc, size: a = "default", error: s, fromDate: i, toDate: c }) {
12234
+ function Px({ value: e, onChange: t, placeholder: r = "Selecione", disabled: n, locale: o = wc, size: a = "default", error: s, fromDate: i, toDate: c }) {
12149
12235
  return /* @__PURE__ */ l.jsxs(Jt, { children: [
12150
12236
  /* @__PURE__ */ l.jsx(er, { asChild: !0, children: /* @__PURE__ */ l.jsxs("div", { className: "w-full space-y-1", children: [
12151
12237
  /* @__PURE__ */ l.jsxs(
@@ -12254,19 +12340,19 @@ var gr = function(e, t, r) {
12254
12340
  return q.createElement("div", { className: a, style: { top: 100 * o + "%", left: 100 * r + "%" } }, q.createElement("div", { className: "react-colorful__pointer-fill", style: { backgroundColor: t } }));
12255
12341
  }, Ne = function(e, t, r) {
12256
12342
  return t === void 0 && (t = 0), r === void 0 && (r = Math.pow(10, t)), Math.round(r * e) / r;
12257
- }, j0 = function(e) {
12258
- return E0(No(e));
12343
+ }, k0 = function(e) {
12344
+ return R0(No(e));
12259
12345
  }, No = function(e) {
12260
12346
  return e[0] === "#" && (e = e.substring(1)), e.length < 6 ? { r: parseInt(e[0] + e[0], 16), g: parseInt(e[1] + e[1], 16), b: parseInt(e[2] + e[2], 16), a: e.length === 4 ? Ne(parseInt(e[3] + e[3], 16) / 255, 2) : 1 } : { r: parseInt(e.substring(0, 2), 16), g: parseInt(e.substring(2, 4), 16), b: parseInt(e.substring(4, 6), 16), a: e.length === 8 ? Ne(parseInt(e.substring(6, 8), 16) / 255, 2) : 1 };
12261
- }, S0 = function(e) {
12262
- return M0(_0(e));
12263
- }, k0 = function(e) {
12347
+ }, _0 = function(e) {
12348
+ return P0(E0(e));
12349
+ }, M0 = function(e) {
12264
12350
  var t = e.s, r = e.v, n = e.a, o = (200 - t) * r / 100;
12265
12351
  return { h: Ne(e.h), s: Ne(o > 0 && o < 200 ? t * r / 100 / (o <= 100 ? o : 200 - o) * 100 : 0), l: Ne(o / 2), a: Ne(n, 2) };
12266
12352
  }, Co = function(e) {
12267
- var t = k0(e);
12353
+ var t = M0(e);
12268
12354
  return "hsl(" + t.h + ", " + t.s + "%, " + t.l + "%)";
12269
- }, _0 = function(e) {
12355
+ }, E0 = function(e) {
12270
12356
  var t = e.h, r = e.s, n = e.v, o = e.a;
12271
12357
  t = t / 360 * 6, r /= 100, n /= 100;
12272
12358
  var a = Math.floor(t), s = n * (1 - r), i = n * (1 - (t - a) * r), c = n * (1 - (1 - t + a) * r), d = a % 6;
@@ -12274,20 +12360,20 @@ var gr = function(e, t, r) {
12274
12360
  }, Br = function(e) {
12275
12361
  var t = e.toString(16);
12276
12362
  return t.length < 2 ? "0" + t : t;
12277
- }, M0 = function(e) {
12363
+ }, P0 = function(e) {
12278
12364
  var t = e.r, r = e.g, n = e.b, o = e.a, a = o < 1 ? Br(Ne(255 * o)) : "";
12279
12365
  return "#" + Br(t) + Br(r) + Br(n) + a;
12280
- }, E0 = function(e) {
12366
+ }, R0 = function(e) {
12281
12367
  var t = e.r, r = e.g, n = e.b, o = e.a, a = Math.max(t, r, n), s = a - Math.min(t, r, n), i = s ? a === t ? (r - n) / s : a === r ? 2 + (n - t) / s : 4 + (t - r) / s : 0;
12282
12368
  return { h: Ne(60 * (i < 0 ? i + 6 : i)), s: Ne(a ? s / a * 100 : 0), v: Ne(a / 255 * 100), a: o };
12283
- }, P0 = q.memo(function(e) {
12369
+ }, O0 = q.memo(function(e) {
12284
12370
  var t = e.hue, r = e.onChange, n = ya(["react-colorful__hue", e.className]);
12285
12371
  return q.createElement("div", { className: n }, q.createElement(Ac, { onMove: function(o) {
12286
12372
  r({ h: 360 * o.left });
12287
12373
  }, onKey: function(o) {
12288
12374
  r({ h: gr(t + 360 * o.left, 0, 360) });
12289
12375
  }, "aria-label": "Hue", "aria-valuenow": Ne(t), "aria-valuemax": "360", "aria-valuemin": "0" }, q.createElement(Tc, { className: "react-colorful__hue-pointer", left: t / 360, color: Co({ h: t, s: 100, v: 100, a: 1 }) })));
12290
- }), R0 = q.memo(function(e) {
12376
+ }), D0 = q.memo(function(e) {
12291
12377
  var t = e.hsva, r = e.onChange, n = { backgroundColor: Co({ h: t.h, s: 100, v: 100, a: 1 }) };
12292
12378
  return q.createElement("div", { className: "react-colorful__saturation", style: n }, q.createElement(Ac, { onMove: function(o) {
12293
12379
  r({ s: 100 * o.left, v: 100 - 100 * o.top });
@@ -12298,10 +12384,10 @@ var gr = function(e, t, r) {
12298
12384
  if (e === t) return !0;
12299
12385
  for (var r in e) if (e[r] !== t[r]) return !1;
12300
12386
  return !0;
12301
- }, O0 = function(e, t) {
12387
+ }, A0 = function(e, t) {
12302
12388
  return e.toLowerCase() === t.toLowerCase() || Lc(No(e), No(t));
12303
12389
  };
12304
- function D0(e, t, r) {
12390
+ function T0(e, t, r) {
12305
12391
  var n = yo(r), o = fe(function() {
12306
12392
  return e.toHsva(t);
12307
12393
  }), a = o[0], s = o[1], i = Le({ color: t, hsva: a });
@@ -12321,28 +12407,28 @@ function D0(e, t, r) {
12321
12407
  }, []);
12322
12408
  return [a, c];
12323
12409
  }
12324
- var A0 = typeof window < "u" ? ko : we, T0 = function() {
12410
+ var L0 = typeof window < "u" ? ko : we, I0 = function() {
12325
12411
  return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : void 0;
12326
- }, Ps = /* @__PURE__ */ new Map(), L0 = function(e) {
12327
- A0(function() {
12412
+ }, Ps = /* @__PURE__ */ new Map(), W0 = function(e) {
12413
+ L0(function() {
12328
12414
  var t = e.current ? e.current.ownerDocument : document;
12329
12415
  if (t !== void 0 && !Ps.has(t)) {
12330
12416
  var r = t.createElement("style");
12331
12417
  r.innerHTML = `.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`, Ps.set(t, r);
12332
- var n = T0();
12418
+ var n = I0();
12333
12419
  n && r.setAttribute("nonce", n), t.head.appendChild(r);
12334
12420
  }
12335
12421
  }, []);
12336
- }, I0 = function(e) {
12422
+ }, F0 = function(e) {
12337
12423
  var t = e.className, r = e.colorModel, n = e.color, o = n === void 0 ? r.defaultColor : n, a = e.onChange, s = Dc(e, ["className", "colorModel", "color", "onChange"]), i = Le(null);
12338
- L0(i);
12339
- var c = D0(r, o, a), d = c[0], u = c[1], f = ya(["react-colorful", t]);
12340
- return q.createElement("div", _n({}, s, { ref: i, className: f }), q.createElement(R0, { hsva: d, onChange: u }), q.createElement(P0, { hue: d.h, onChange: u, className: "react-colorful__last-control" }));
12341
- }, W0 = { defaultColor: "000", toHsva: j0, fromHsva: function(e) {
12342
- return S0({ h: e.h, s: e.s, v: e.v, a: 1 });
12343
- }, equal: O0 }, F0 = function(e) {
12344
- return q.createElement(I0, _n({}, e, { colorModel: W0 }));
12345
- }, $0 = { grad: 0.9, turn: 360, rad: 360 / (2 * Math.PI) }, st = function(e) {
12424
+ W0(i);
12425
+ var c = T0(r, o, a), d = c[0], u = c[1], f = ya(["react-colorful", t]);
12426
+ return q.createElement("div", _n({}, s, { ref: i, className: f }), q.createElement(D0, { hsva: d, onChange: u }), q.createElement(O0, { hue: d.h, onChange: u, className: "react-colorful__last-control" }));
12427
+ }, $0 = { defaultColor: "000", toHsva: k0, fromHsva: function(e) {
12428
+ return _0({ h: e.h, s: e.s, v: e.v, a: 1 });
12429
+ }, equal: A0 }, B0 = function(e) {
12430
+ return q.createElement(F0, _n({}, e, { colorModel: $0 }));
12431
+ }, z0 = { grad: 0.9, turn: 360, rad: 360 / (2 * Math.PI) }, st = function(e) {
12346
12432
  return typeof e == "string" ? e.length > 0 : typeof e == "number";
12347
12433
  }, xe = function(e, t, r) {
12348
12434
  return t === void 0 && (t = 0), r === void 0 && (r = Math.pow(10, t)), Math.round(r * e) / r + 0;
@@ -12354,7 +12440,7 @@ var A0 = typeof window < "u" ? ko : we, T0 = function() {
12354
12440
  return { r: Te(e.r, 0, 255), g: Te(e.g, 0, 255), b: Te(e.b, 0, 255), a: Te(e.a) };
12355
12441
  }, eo = function(e) {
12356
12442
  return { r: xe(e.r), g: xe(e.g), b: xe(e.b), a: xe(e.a, 3) };
12357
- }, B0 = /^#([0-9a-f]{3,8})$/i, zr = function(e) {
12443
+ }, H0 = /^#([0-9a-f]{3,8})$/i, zr = function(e) {
12358
12444
  var t = e.toString(16);
12359
12445
  return t.length < 2 ? "0" + t : t;
12360
12446
  }, Wc = function(e) {
@@ -12375,16 +12461,16 @@ var A0 = typeof window < "u" ? ko : we, T0 = function() {
12375
12461
  }, ur = function(e) {
12376
12462
  return { h: (t = Wc(e)).h, s: (o = (200 - (r = t.s)) * (n = t.v) / 100) > 0 && o < 200 ? r * n / 100 / (o <= 100 ? o : 200 - o) * 100 : 0, l: o / 2, a: t.a };
12377
12463
  var t, r, n, o;
12378
- }, z0 = /^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, H0 = /^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, Y0 = /^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, V0 = /^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, jo = { string: [[function(e) {
12379
- var t = B0.exec(e);
12464
+ }, Y0 = /^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, V0 = /^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, U0 = /^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, q0 = /^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, jo = { string: [[function(e) {
12465
+ var t = H0.exec(e);
12380
12466
  return t ? (e = t[1]).length <= 4 ? { r: parseInt(e[0] + e[0], 16), g: parseInt(e[1] + e[1], 16), b: parseInt(e[2] + e[2], 16), a: e.length === 4 ? xe(parseInt(e[3] + e[3], 16) / 255, 2) : 1 } : e.length === 6 || e.length === 8 ? { r: parseInt(e.substr(0, 2), 16), g: parseInt(e.substr(2, 2), 16), b: parseInt(e.substr(4, 2), 16), a: e.length === 8 ? xe(parseInt(e.substr(6, 2), 16) / 255, 2) : 1 } : null : null;
12381
12467
  }, "hex"], [function(e) {
12382
- var t = Y0.exec(e) || V0.exec(e);
12468
+ var t = U0.exec(e) || q0.exec(e);
12383
12469
  return t ? t[2] !== t[4] || t[4] !== t[6] ? null : Rs({ r: Number(t[1]) / (t[2] ? 100 / 255 : 1), g: Number(t[3]) / (t[4] ? 100 / 255 : 1), b: Number(t[5]) / (t[6] ? 100 / 255 : 1), a: t[7] === void 0 ? 1 : Number(t[7]) / (t[8] ? 100 : 1) }) : null;
12384
12470
  }, "rgb"], [function(e) {
12385
- var t = z0.exec(e) || H0.exec(e);
12471
+ var t = Y0.exec(e) || V0.exec(e);
12386
12472
  if (!t) return null;
12387
- var r, n, o = Os({ h: (r = t[1], n = t[2], n === void 0 && (n = "deg"), Number(r) * ($0[n] || 1)), s: Number(t[3]), l: Number(t[4]), a: t[5] === void 0 ? 1 : Number(t[5]) / (t[6] ? 100 : 1) });
12473
+ var r, n, o = Os({ h: (r = t[1], n = t[2], n === void 0 && (n = "deg"), Number(r) * (z0[n] || 1)), s: Number(t[3]), l: Number(t[4]), a: t[5] === void 0 ? 1 : Number(t[5]) / (t[6] ? 100 : 1) });
12388
12474
  return As(o);
12389
12475
  }, "hsl"]], object: [[function(e) {
12390
12476
  var t = e.r, r = e.g, n = e.b, o = e.a, a = o === void 0 ? 1 : o;
@@ -12407,7 +12493,7 @@ var A0 = typeof window < "u" ? ko : we, T0 = function() {
12407
12493
  if (n) return [n, t[r][1]];
12408
12494
  }
12409
12495
  return [null, void 0];
12410
- }, U0 = function(e) {
12496
+ }, G0 = function(e) {
12411
12497
  return typeof e == "string" ? Ts(e.trim(), jo.string) : typeof e == "object" && e !== null ? Ts(e, jo.object) : [null, void 0];
12412
12498
  }, to = function(e, t) {
12413
12499
  var r = ur(e);
@@ -12419,7 +12505,7 @@ var A0 = typeof window < "u" ? ko : we, T0 = function() {
12419
12505
  return { h: r.h, s: r.s, l: Te(r.l + 100 * t, 0, 100), a: r.a };
12420
12506
  }, So = function() {
12421
12507
  function e(t) {
12422
- this.parsed = U0(t)[0], this.rgba = this.parsed || { r: 0, g: 0, b: 0, a: 1 };
12508
+ this.parsed = G0(t)[0], this.rgba = this.parsed || { r: 0, g: 0, b: 0, a: 1 };
12423
12509
  }
12424
12510
  return e.prototype.isValid = function() {
12425
12511
  return this.parsed !== null;
@@ -12471,12 +12557,12 @@ var A0 = typeof window < "u" ? ko : we, T0 = function() {
12471
12557
  }, e;
12472
12558
  }(), be = function(e) {
12473
12559
  return e instanceof So ? e : new So(e);
12474
- }, Is = [], q0 = function(e) {
12560
+ }, Is = [], X0 = function(e) {
12475
12561
  e.forEach(function(t) {
12476
12562
  Is.indexOf(t) < 0 && (t(So, jo), Is.push(t));
12477
12563
  });
12478
12564
  };
12479
- function G0(e, t) {
12565
+ function K0(e, t) {
12480
12566
  var r = { white: "#ffffff", bisque: "#ffe4c4", blue: "#0000ff", cadetblue: "#5f9ea0", chartreuse: "#7fff00", chocolate: "#d2691e", coral: "#ff7f50", antiquewhite: "#faebd7", aqua: "#00ffff", azure: "#f0ffff", whitesmoke: "#f5f5f5", papayawhip: "#ffefd5", plum: "#dda0dd", blanchedalmond: "#ffebcd", black: "#000000", gold: "#ffd700", goldenrod: "#daa520", gainsboro: "#dcdcdc", cornsilk: "#fff8dc", cornflowerblue: "#6495ed", burlywood: "#deb887", aquamarine: "#7fffd4", beige: "#f5f5dc", crimson: "#dc143c", cyan: "#00ffff", darkblue: "#00008b", darkcyan: "#008b8b", darkgoldenrod: "#b8860b", darkkhaki: "#bdb76b", darkgray: "#a9a9a9", darkgreen: "#006400", darkgrey: "#a9a9a9", peachpuff: "#ffdab9", darkmagenta: "#8b008b", darkred: "#8b0000", darkorchid: "#9932cc", darkorange: "#ff8c00", darkslateblue: "#483d8b", gray: "#808080", darkslategray: "#2f4f4f", darkslategrey: "#2f4f4f", deeppink: "#ff1493", deepskyblue: "#00bfff", wheat: "#f5deb3", firebrick: "#b22222", floralwhite: "#fffaf0", ghostwhite: "#f8f8ff", darkviolet: "#9400d3", magenta: "#ff00ff", green: "#008000", dodgerblue: "#1e90ff", grey: "#808080", honeydew: "#f0fff0", hotpink: "#ff69b4", blueviolet: "#8a2be2", forestgreen: "#228b22", lawngreen: "#7cfc00", indianred: "#cd5c5c", indigo: "#4b0082", fuchsia: "#ff00ff", brown: "#a52a2a", maroon: "#800000", mediumblue: "#0000cd", lightcoral: "#f08080", darkturquoise: "#00ced1", lightcyan: "#e0ffff", ivory: "#fffff0", lightyellow: "#ffffe0", lightsalmon: "#ffa07a", lightseagreen: "#20b2aa", linen: "#faf0e6", mediumaquamarine: "#66cdaa", lemonchiffon: "#fffacd", lime: "#00ff00", khaki: "#f0e68c", mediumseagreen: "#3cb371", limegreen: "#32cd32", mediumspringgreen: "#00fa9a", lightskyblue: "#87cefa", lightblue: "#add8e6", midnightblue: "#191970", lightpink: "#ffb6c1", mistyrose: "#ffe4e1", moccasin: "#ffe4b5", mintcream: "#f5fffa", lightslategray: "#778899", lightslategrey: "#778899", navajowhite: "#ffdead", navy: "#000080", mediumvioletred: "#c71585", powderblue: "#b0e0e6", palegoldenrod: "#eee8aa", oldlace: "#fdf5e6", paleturquoise: "#afeeee", mediumturquoise: "#48d1cc", mediumorchid: "#ba55d3", rebeccapurple: "#663399", lightsteelblue: "#b0c4de", mediumslateblue: "#7b68ee", thistle: "#d8bfd8", tan: "#d2b48c", orchid: "#da70d6", mediumpurple: "#9370db", purple: "#800080", pink: "#ffc0cb", skyblue: "#87ceeb", springgreen: "#00ff7f", palegreen: "#98fb98", red: "#ff0000", yellow: "#ffff00", slateblue: "#6a5acd", lavenderblush: "#fff0f5", peru: "#cd853f", palevioletred: "#db7093", violet: "#ee82ee", teal: "#008080", slategray: "#708090", slategrey: "#708090", aliceblue: "#f0f8ff", darkseagreen: "#8fbc8f", darkolivegreen: "#556b2f", greenyellow: "#adff2f", seagreen: "#2e8b57", seashell: "#fff5ee", tomato: "#ff6347", silver: "#c0c0c0", sienna: "#a0522d", lavender: "#e6e6fa", lightgreen: "#90ee90", orange: "#ffa500", orangered: "#ff4500", steelblue: "#4682b4", royalblue: "#4169e1", turquoise: "#40e0d0", yellowgreen: "#9acd32", salmon: "#fa8072", saddlebrown: "#8b4513", sandybrown: "#f4a460", rosybrown: "#bc8f8f", darksalmon: "#e9967a", lightgoldenrodyellow: "#fafad2", snow: "#fffafa", lightgrey: "#d3d3d3", lightgray: "#d3d3d3", dimgray: "#696969", dimgrey: "#696969", olivedrab: "#6b8e23", olive: "#808000" }, n = {};
12481
12567
  for (var o in r) n[r[o]] = o;
12482
12568
  var a = {};
@@ -12498,8 +12584,8 @@ function G0(e, t) {
12498
12584
  return c ? new e(c).toRgb() : null;
12499
12585
  }, "name"]);
12500
12586
  }
12501
- q0([G0]);
12502
- const Ex = ({ color: e, onChange: t, active: r, format: n = "hsl-string" }) => {
12587
+ X0([K0]);
12588
+ const Rx = ({ color: e, onChange: t, active: r, format: n = "hsl-string" }) => {
12503
12589
  const o = (g) => /^\d+(\.\d+)?\s+\d+(\.\d+)?%\s+\d+(\.\d+)?%$/.test(g) ? be(`hsl(${g})`).toHex() : be(g).toHex(), [a, s] = fe(o(e)), [i, c] = fe("hex"), d = be(a), [u, f] = fe({
12504
12590
  hex: a,
12505
12591
  rgb: d.toRgb(),
@@ -12563,7 +12649,7 @@ const Ex = ({ color: e, onChange: t, active: r, format: n = "hsl-string" }) => {
12563
12649
  {
12564
12650
  style: { touchAction: "none" },
12565
12651
  onPointerDown: (g) => g.stopPropagation(),
12566
- children: /* @__PURE__ */ l.jsx(F0, { color: a, onChange: h, className: "!w-full !h-[120px] !rounded-lg" })
12652
+ children: /* @__PURE__ */ l.jsx(B0, { color: a, onChange: h, className: "!w-full !h-[120px] !rounded-lg" })
12567
12653
  }
12568
12654
  ),
12569
12655
  /* @__PURE__ */ l.jsxs("div", { className: "space-y-3", children: [
@@ -12669,7 +12755,7 @@ const Ex = ({ color: e, onChange: t, active: r, format: n = "hsl-string" }) => {
12669
12755
  /* @__PURE__ */ l.jsx(Su, { className: "w-6 h-6 text-red-500/80" }),
12670
12756
  /* @__PURE__ */ l.jsx("span", { className: "text-[10px] font-black uppercase tracking-widest text-red-500/80", children: e })
12671
12757
  ] });
12672
- function Px({ vitals: e, size: t = "compact", onAction: r, onIconClick: n, className: o, labels: a, disabledVitals: s = [] }) {
12758
+ function Ox({ vitals: e, size: t = "compact", onAction: r, onIconClick: n, className: o, labels: a, disabledVitals: s = [] }) {
12673
12759
  var f;
12674
12760
  const i = ((f = e == null ? void 0 : e.metadata) == null ? void 0 : f.isdead) ?? !1, c = (a == null ? void 0 : a.dead) ?? "Dead", d = (h) => {
12675
12761
  var g;
@@ -12779,14 +12865,14 @@ function Px({ vitals: e, size: t = "compact", onAction: r, onIconClick: n, class
12779
12865
  })
12780
12866
  ] });
12781
12867
  }
12782
- const X0 = {
12868
+ const Q0 = {
12783
12869
  health: { icon: di, color: "text-red-500", bgColor: "bg-red-500", hex: "#ef4444", label: "health", max: 100 },
12784
12870
  armor: { icon: fi, color: "text-blue-500", bgColor: "bg-blue-500", hex: "#3b82f6", label: "armor", max: 100 },
12785
12871
  hunger: { icon: si, color: "text-orange-500", bgColor: "bg-orange-500", hex: "#f59e0b", label: "hunger", max: 100 },
12786
12872
  thirst: { icon: ci, color: "text-cyan-500", bgColor: "bg-cyan-500", hex: "#06b6d4", label: "thirst", max: 100 },
12787
12873
  stress: { icon: ii, color: "text-purple-500", bgColor: "bg-purple-500", hex: "#a855f7", label: "stress", max: 100 }
12788
12874
  };
12789
- function Rx({
12875
+ function Dx({
12790
12876
  isOpen: e,
12791
12877
  onClose: t,
12792
12878
  onSubmit: r,
@@ -12809,7 +12895,7 @@ function Rx({
12809
12895
  if (we(() => {
12810
12896
  y(o);
12811
12897
  }, [o]), !e) return null;
12812
- const N = X0[n], C = i || N.icon, j = (B, O) => (s == null ? void 0 : s[B]) || O, _ = d || j(N.label, N.label.charAt(0).toUpperCase() + N.label.slice(1)), k = u || j("playerNameLabel", a), F = f || j("confirm", "Confirm"), A = h || j("cancel", "Cancel"), I = p || j("newValue", "New Value");
12898
+ const N = Q0[n], C = i || N.icon, j = (B, O) => (s == null ? void 0 : s[B]) || O, _ = d || j(N.label, N.label.charAt(0).toUpperCase() + N.label.slice(1)), k = u || j("playerNameLabel", a), F = f || j("confirm", "Confirm"), A = h || j("cancel", "Cancel"), I = p || j("newValue", "New Value");
12813
12899
  return /* @__PURE__ */ l.jsxs(ia, { hideBlur: g, hideOverlay: v, onClose: t, className: "w-[420px] p-0 bg-card/95 border-primary/10 backdrop-blur-xl shadow-2xl overflow-hidden animate-in zoom-in-95 duration-200", children: [
12814
12900
  /* @__PURE__ */ l.jsxs("div", { className: "p-6 pb-4 border-b border-border/40 relative overflow-hidden", children: [
12815
12901
  /* @__PURE__ */ l.jsx("div", { className: `absolute top-0 right-0 w-32 h-32 ${N.bgColor}/5 blur-3xl rounded-full -mr-16 -mt-16` }),
@@ -12935,7 +13021,7 @@ function Rx({
12935
13021
  ` })
12936
13022
  ] });
12937
13023
  }
12938
- function Ox({ title: e, icon: t, count: r, countLabel: n, children: o, className: a, ...s }) {
13024
+ function Ax({ title: e, icon: t, count: r, countLabel: n, children: o, className: a, ...s }) {
12939
13025
  return /* @__PURE__ */ l.jsxs("div", { className: S("w-full h-auto min-h-[5rem] border-b border-border flex items-center justify-between py-4 px-6 bg-card/30 shrink-0", a), ...s, children: [
12940
13026
  /* @__PURE__ */ l.jsxs("div", { className: "flex items-center gap-4", children: [
12941
13027
  /* @__PURE__ */ l.jsxs("div", { className: "flex items-center gap-3", children: [
@@ -12951,7 +13037,7 @@ function Ox({ title: e, icon: t, count: r, countLabel: n, children: o, className
12951
13037
  /* @__PURE__ */ l.jsx("div", { className: "flex items-center gap-3", children: o })
12952
13038
  ] });
12953
13039
  }
12954
- function Dx({
13040
+ function Tx({
12955
13041
  items: e,
12956
13042
  activeRoute: t,
12957
13043
  onNavigate: r,
@@ -13007,7 +13093,7 @@ function Dx({
13007
13093
  ] })
13008
13094
  ] });
13009
13095
  }
13010
- function Ax({
13096
+ function Lx({
13011
13097
  items: e,
13012
13098
  activeRoute: t,
13013
13099
  onNavigate: r,
@@ -13059,7 +13145,7 @@ const Nt = ({ label: e, className: t, style: r, active: n }) => /* @__PURE__ */
13059
13145
  ),
13060
13146
  children: e
13061
13147
  }
13062
- ), K0 = ({ pressedKeys: e, className: t }) => {
13148
+ ), Z0 = ({ pressedKeys: e, className: t }) => {
13063
13149
  const r = (o) => e.includes(o.toUpperCase()), n = (o, a, s, i) => /* @__PURE__ */ l.jsx(
13064
13150
  Nt,
13065
13151
  {
@@ -13199,10 +13285,10 @@ const Nt = ({ label: e, className: t, style: r, active: n }) => /* @__PURE__ */
13199
13285
  /* @__PURE__ */ l.jsx("div", { className: "h-20 border border-white/10 rounded-b-[2.5rem] bg-black/20" })
13200
13286
  ] })
13201
13287
  ] });
13202
- }, Q0 = {
13288
+ }, J0 = {
13203
13289
  iceServers: [{ urls: "stun:stun.l.google.com:19302" }]
13204
13290
  };
13205
- function Tx({
13291
+ function Ix({
13206
13292
  playerId: e,
13207
13293
  // playerName is not used in this component but kept for API consistency if needed
13208
13294
  className: t,
@@ -13293,7 +13379,7 @@ function Tx({
13293
13379
  return;
13294
13380
  }
13295
13381
  if (!e || !h || !d) return;
13296
- const F = (f == null ? void 0 : f.provider) || "websocket", A = (f == null ? void 0 : f.iceServers) || Q0.iceServers;
13382
+ const F = (f == null ? void 0 : f.provider) || "websocket", A = (f == null ? void 0 : f.iceServers) || J0.iceServers;
13297
13383
  if (F === "cloudflare-sfu" && u) {
13298
13384
  const $ = d.onMessage(async (L) => {
13299
13385
  const T = L;
@@ -13421,7 +13507,7 @@ function Tx({
13421
13507
  ] })
13422
13508
  ] }),
13423
13509
  s && /* @__PURE__ */ l.jsx("div", { className: "absolute bottom-4 left-1/2 -translate-x-1/2 w-full max-w-[900px] px-4 pointer-events-none z-20 animate-in fade-in slide-in-from-bottom-6 duration-700 cubic-bezier(0.16, 1, 0.3, 1)", children: /* @__PURE__ */ l.jsx(
13424
- K0,
13510
+ Z0,
13425
13511
  {
13426
13512
  pressedKeys: j,
13427
13513
  className: "scale-[0.55] lg:scale-[0.65] origin-bottom shadow-[0_20px_50px_rgba(0,0,0,0.5)] pointer-events-auto backdrop-blur-sm"
@@ -13430,7 +13516,7 @@ function Tx({
13430
13516
  /* @__PURE__ */ l.jsx("div", { className: "absolute inset-0 pointer-events-none shadow-[inset_0_0_100px_rgba(0,0,0,0.5)] opacity-40" })
13431
13517
  ] });
13432
13518
  }
13433
- function Lx({
13519
+ function Wx({
13434
13520
  sidebar: e,
13435
13521
  topbar: t,
13436
13522
  header: r,
@@ -13459,13 +13545,13 @@ function Lx({
13459
13545
  p
13460
13546
  ] });
13461
13547
  }
13462
- const Z0 = {
13548
+ const ex = {
13463
13549
  sm: "w-[80%] h-[80%] max-w-[1100px] max-h-[700px] min-w-[900px] min-h-[550px]",
13464
13550
  md: "w-[85%] h-[85%] max-w-[1400px] max-h-[900px] min-w-[1000px] min-h-[600px]",
13465
13551
  lg: "w-[90%] h-[90%] max-w-[1700px] max-h-[1080px] min-w-[1100px] min-h-[700px]",
13466
13552
  fullscreen: "w-full h-full"
13467
13553
  };
13468
- function Ix({
13554
+ function Fx({
13469
13555
  children: e,
13470
13556
  visible: t = !0,
13471
13557
  scale: r = 100,
@@ -13480,7 +13566,7 @@ function Ix({
13480
13566
  "fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2",
13481
13567
  "bg-background text-foreground overflow-hidden",
13482
13568
  !a && "border border-border rounded-xl shadow-2xl",
13483
- Z0[n],
13569
+ ex[n],
13484
13570
  o
13485
13571
  ),
13486
13572
  style: {
@@ -13493,74 +13579,76 @@ function Ix({
13493
13579
  );
13494
13580
  }
13495
13581
  export {
13496
- hx as MriAccordion,
13497
- Rf as MriAccordionContent,
13498
- Ef as MriAccordionItem,
13499
- Pf as MriAccordionTrigger,
13500
- Cx as MriActionCard,
13501
- jx as MriActionModal,
13582
+ px as MriAccordion,
13583
+ Df as MriAccordionContent,
13584
+ Rf as MriAccordionItem,
13585
+ Of as MriAccordionTrigger,
13586
+ Sx as MriActionCard,
13587
+ kx as MriActionModal,
13502
13588
  cu as MriAvatar,
13503
13589
  uu as MriAvatarFallback,
13504
13590
  du as MriAvatarImage,
13505
13591
  Ya as MriBadge,
13506
- ux as MriBanIcon,
13507
- rx as MriBringIcon,
13592
+ hx as MriBanIcon,
13593
+ ox as MriBringIcon,
13508
13594
  te as MriButton,
13509
13595
  Oc as MriCalendar,
13510
- Of as MriCard,
13511
- Lf as MriCardContent,
13512
- Tf as MriCardDescription,
13513
- If as MriCardFooter,
13514
- Df as MriCardHeader,
13515
- Af as MriCardTitle,
13516
- ix as MriClothingIcon,
13517
- Ex as MriColorPicker,
13596
+ Af as MriCard,
13597
+ Wf as MriCardContent,
13598
+ If as MriCardDescription,
13599
+ Ff as MriCardFooter,
13600
+ Tf as MriCardHeader,
13601
+ Lf as MriCardTitle,
13602
+ cx as MriClothingIcon,
13603
+ Rx as MriColorPicker,
13518
13604
  Cr as MriCommand,
13519
13605
  Sr as MriCommandEmpty,
13520
13606
  kr as MriCommandGroup,
13521
13607
  jr as MriCommandInput,
13522
13608
  Gt as MriCommandItem,
13523
13609
  jn as MriCommandList,
13524
- ev as MriCommandSeparator,
13525
- tv as MriCommandShortcut,
13526
- px as MriCompactSearch,
13527
- wx as MriCopyButton,
13528
- Lx as MriDashboardLayout,
13529
- Mx as MriDatePicker,
13530
- vx as MriDialog,
13531
- Nx as MriEconomyCard,
13532
- lx as MriEyeIcon,
13533
- Sx as MriGridActionButton,
13610
+ rv as MriCommandSeparator,
13611
+ nv as MriCommandShortcut,
13612
+ gx as MriCompactSearch,
13613
+ Cx as MriCopyButton,
13614
+ Wx as MriDashboardLayout,
13615
+ Px as MriDatePicker,
13616
+ bx as MriDialog,
13617
+ jx as MriEconomyCard,
13618
+ dx as MriEyeIcon,
13619
+ _x as MriGridActionButton,
13534
13620
  Oo as MriInput,
13535
- K0 as MriKeyboardVisualizer,
13536
- dx as MriKickIcon,
13621
+ Z0 as MriKeyboardVisualizer,
13622
+ fx as MriKickIcon,
13537
13623
  ia as MriModal,
13538
- sx as MriMoneyIcon,
13539
- Ox as MriPageHeader,
13540
- Tx as MriPlayerScreenStream,
13541
- Px as MriPlayerVitals,
13624
+ lx as MriMoneyIcon,
13625
+ Ax as MriPageHeader,
13626
+ Ix as MriPlayerScreenStream,
13627
+ Ox as MriPlayerVitals,
13542
13628
  Jt as MriPopover,
13543
13629
  Rt as MriPopoverContent,
13544
13630
  er as MriPopoverTrigger,
13545
- ox as MriReviveIcon,
13631
+ sx as MriReviveIcon,
13546
13632
  Jr as MriScrollArea,
13547
13633
  _i as MriScrollBar,
13548
- kx as MriSearchInput,
13549
- _x as MriSectionHeader,
13550
- gx as MriSelect,
13551
- nx as MriSendBackIcon,
13552
- Dx as MriSidebar,
13634
+ Mx as MriSearchInput,
13635
+ Ex as MriSectionHeader,
13636
+ xx as MriSelect,
13637
+ ax as MriSendBackIcon,
13638
+ Tx as MriSidebar,
13553
13639
  nf as MriSpinner,
13554
- fx as MriStatusBadge,
13555
- Ix as MriTabletFrame,
13556
- xx as MriTabs,
13557
- tx as MriTeleportIcon,
13558
- bx as MriThemeToggle,
13559
- yx as MriTimePicker,
13560
- Ax as MriTopbar,
13561
- ax as MriVerifyIcon,
13562
- Rx as MriVitalAdjustModal,
13563
- cx as MriWarnIcon,
13640
+ mx as MriStatusBadge,
13641
+ of as MriSwitch,
13642
+ Fx as MriTabletFrame,
13643
+ wx as MriTabs,
13644
+ nx as MriTeleportIcon,
13645
+ af as MriTextarea,
13646
+ yx as MriThemeToggle,
13647
+ Nx as MriTimePicker,
13648
+ Lx as MriTopbar,
13649
+ ix as MriVerifyIcon,
13650
+ Dx as MriVitalAdjustModal,
13651
+ ux as MriWarnIcon,
13564
13652
  S as cn,
13565
13653
  fu as mriBadgeVariants,
13566
13654
  lo as mriButtonVariants