@scbt-ecom/ui 0.26.0 → 0.26.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ui.js CHANGED
@@ -3,16 +3,16 @@ var Am = (t) => {
3
3
  };
4
4
  var yc = (t, e, n) => e.has(t) || Am("Cannot " + n);
5
5
  var pe = (t, e, n) => (yc(t, e, "read from private field"), n ? n.call(t) : e.get(t)), lt = (t, e, n) => e.has(t) ? Am("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), He = (t, e, n, r) => (yc(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n), yt = (t, e, n) => (yc(t, e, "access private method"), n);
6
- import { j as T, c as Wo, R as GE, B as px, I as Be, e as It, f as qr, g as hx, u as An, h as _E, i as tt, k as Tu, D as zE, l as WE, m as HE, n as $E, o as Ip, p as Xi, q as XE, r as mx, s as Au, t as YE, A as ZE, H as UE, d as JE, v as Mu, w as KE, x as ca, y as qE, z as gx, E as xc, F as Cc, G as QE, J as eI, K as tI, M as nI, N as rI, O as bx, a as Ou, _ as Yi, L as iI } from "./CustomLink-CKaoTS8A.js";
6
+ import { j as T, c as Wo, R as GE, B as px, I as Be, e as It, f as qr, g as hx, u as An, h as _E, i as tt, k as Tu, D as zE, l as WE, m as HE, n as $E, o as Ip, p as Yi, q as XE, r as mx, s as Au, t as YE, A as ZE, H as UE, d as JE, v as Mu, w as KE, x as ca, y as qE, z as gx, E as xc, F as Cc, G as QE, J as eI, K as tI, M as nI, N as rI, O as bx, a as Ou, _ as Zi, L as iI } from "./CustomLink-CKaoTS8A.js";
7
7
  import { C as HZ, P as $Z, S as XZ, b as YZ } from "./CustomLink-CKaoTS8A.js";
8
8
  import * as B from "react";
9
- import oe, { forwardRef as Dt, createContext as st, useContext as _e, useState as De, useEffect as ze, useMemo as Pe, useCallback as xe, useRef as Ce, useId as Zt, useInsertionEffect as vx, Children as oI, isValidElement as yx, useLayoutEffect as Ho, Fragment as Vt, createElement as xx, Component as Cx, cloneElement as aI, useReducer as Tp, useSyncExternalStore as sI, createRef as lI, useDebugValue as wx, useImperativeHandle as uI, memo as nr } from "react";
9
+ import oe, { forwardRef as Dt, createContext as st, useContext as _e, useState as De, useEffect as ze, useMemo as Pe, useCallback as xe, useRef as Ce, useId as Zt, useInsertionEffect as vx, Children as oI, isValidElement as yx, useLayoutEffect as Ho, Fragment as Xt, createElement as xx, Component as Cx, cloneElement as aI, useReducer as Tp, useSyncExternalStore as sI, createRef as lI, useDebugValue as wx, useImperativeHandle as uI, memo as nr } from "react";
10
10
  import { c as z } from "./cn-DIfn7EPB.js";
11
11
  import { t as St, c as Rn, g as Mm, m as cI, a as Sx, b as kx, d as dI, e as fI, f as Ex, h as Ix, j as Ap, i as Mp, l as pI, k as hI, n as mI, w as gI, s as Gd, o as wc, q as ea, r as bI, u as ta, v as vI, x as yI, z as Sc, V as Om, p as Tx } from "./parse-C_80L3wX.js";
12
12
  import { u as xI } from "./useDevice-L83kSsN7.js";
13
13
  import { a as Pu, C as mn, e as Ax, b as CI, f as rr } from "./useDebounce-DyvGYvL9.js";
14
14
  import * as _d from "react-dom";
15
- import wI, { createPortal as Du, flushSync as gi } from "react-dom";
15
+ import wI, { createPortal as Du, flushSync as bi } from "react-dom";
16
16
  import { m as SI } from "./mergeRefs-qDToYXtM.js";
17
17
  import { g as kI } from "./_commonjsHelpers-C6fGbg64.js";
18
18
  function Mx(t, e, n) {
@@ -29,7 +29,7 @@ function Mx(t, e, n) {
29
29
  i
30
30
  ), r);
31
31
  }
32
- function Zi(t, ...e) {
32
+ function Ui(t, ...e) {
33
33
  const n = Rn.bind(
34
34
  null,
35
35
  t || e.find((r) => typeof r == "object")
@@ -41,7 +41,7 @@ function Ga(t, e) {
41
41
  return n.setHours(0, 0, 0, 0), n;
42
42
  }
43
43
  function Ox(t, e, n) {
44
- const [r, i] = Zi(
44
+ const [r, i] = Ui(
45
45
  n == null ? void 0 : n.in,
46
46
  t,
47
47
  e
@@ -71,7 +71,7 @@ function AI(t, e) {
71
71
  }), Rn(r, n || NaN);
72
72
  }
73
73
  function MI(t, e, n) {
74
- const [r, i] = Zi(
74
+ const [r, i] = Ui(
75
75
  n == null ? void 0 : n.in,
76
76
  t,
77
77
  e
@@ -79,7 +79,7 @@ function MI(t, e, n) {
79
79
  return +Ga(r) == +Ga(i);
80
80
  }
81
81
  function OI(t, e, n) {
82
- const [r, i] = Zi(
82
+ const [r, i] = Ui(
83
83
  n == null ? void 0 : n.in,
84
84
  t,
85
85
  e
@@ -91,7 +91,7 @@ function PI(t, e) {
91
91
  return n.setFullYear(n.getFullYear(), r + 1, 0), n.setHours(23, 59, 59, 999), n;
92
92
  }
93
93
  function DI(t, e) {
94
- const [n, r] = Zi(t, e.start, e.end);
94
+ const [n, r] = Ui(t, e.start, e.end);
95
95
  return { start: n, end: r };
96
96
  }
97
97
  function RI(t, e) {
@@ -187,7 +187,7 @@ const kr = {
187
187
  );
188
188
  return Qe(i, e.length);
189
189
  }
190
- }, no = {
190
+ }, ro = {
191
191
  am: "am",
192
192
  pm: "pm",
193
193
  midnight: "midnight",
@@ -579,7 +579,7 @@ const kr = {
579
579
  b: function(t, e, n) {
580
580
  const r = t.getHours();
581
581
  let i;
582
- switch (r === 12 ? i = no.noon : r === 0 ? i = no.midnight : i = r / 12 >= 1 ? "pm" : "am", e) {
582
+ switch (r === 12 ? i = ro.noon : r === 0 ? i = ro.midnight : i = r / 12 >= 1 ? "pm" : "am", e) {
583
583
  case "b":
584
584
  case "bb":
585
585
  return n.dayPeriod(i, {
@@ -608,7 +608,7 @@ const kr = {
608
608
  B: function(t, e, n) {
609
609
  const r = t.getHours();
610
610
  let i;
611
- switch (r >= 17 ? i = no.evening : r >= 12 ? i = no.afternoon : r >= 4 ? i = no.morning : i = no.night, e) {
611
+ switch (r >= 17 ? i = ro.evening : r >= 12 ? i = ro.afternoon : r >= 4 ? i = ro.morning : i = ro.night, e) {
612
612
  case "B":
613
613
  case "BB":
614
614
  case "BBB":
@@ -677,7 +677,7 @@ const kr = {
677
677
  // so this token always has the same output as `XX`
678
678
  case "XXXX":
679
679
  case "XX":
680
- return li(r);
680
+ return ui(r);
681
681
  // Hours, minutes and optional seconds with `:` delimiter
682
682
  // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
683
683
  // so this token always has the same output as `XXX`
@@ -685,7 +685,7 @@ const kr = {
685
685
  case "XXX":
686
686
  // Hours and minutes with `:` delimiter
687
687
  default:
688
- return li(r, ":");
688
+ return ui(r, ":");
689
689
  }
690
690
  },
691
691
  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
@@ -700,7 +700,7 @@ const kr = {
700
700
  // so this token always has the same output as `xx`
701
701
  case "xxxx":
702
702
  case "xx":
703
- return li(r);
703
+ return ui(r);
704
704
  // Hours, minutes and optional seconds with `:` delimiter
705
705
  // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
706
706
  // so this token always has the same output as `xxx`
@@ -708,7 +708,7 @@ const kr = {
708
708
  case "xxx":
709
709
  // Hours and minutes with `:` delimiter
710
710
  default:
711
- return li(r, ":");
711
+ return ui(r, ":");
712
712
  }
713
713
  },
714
714
  // Timezone (GMT)
@@ -723,7 +723,7 @@ const kr = {
723
723
  // Long
724
724
  case "OOOO":
725
725
  default:
726
- return "GMT" + li(r, ":");
726
+ return "GMT" + ui(r, ":");
727
727
  }
728
728
  },
729
729
  // Timezone (specific non-location)
@@ -738,7 +738,7 @@ const kr = {
738
738
  // Long
739
739
  case "zzzz":
740
740
  default:
741
- return "GMT" + li(r, ":");
741
+ return "GMT" + ui(r, ":");
742
742
  }
743
743
  },
744
744
  // Seconds timestamp
@@ -756,9 +756,9 @@ function Dm(t, e = "") {
756
756
  return o === 0 ? n + String(i) : n + String(i) + e + Qe(o, 2);
757
757
  }
758
758
  function Rm(t, e) {
759
- return t % 60 === 0 ? (t > 0 ? "-" : "+") + Qe(Math.abs(t) / 60, 2) : li(t, e);
759
+ return t % 60 === 0 ? (t > 0 ? "-" : "+") + Qe(Math.abs(t) / 60, 2) : ui(t, e);
760
760
  }
761
- function li(t, e = "") {
761
+ function ui(t, e = "") {
762
762
  const n = t > 0 ? "-" : "+", r = Math.abs(t), i = Qe(Math.trunc(r / 60), 2), o = Qe(r % 60, 2);
763
763
  return n + i + e + o;
764
764
  }
@@ -824,7 +824,7 @@ function ZI(t, e) {
824
824
  return +St(t) < +St(e);
825
825
  }
826
826
  function Nm(t, e, n) {
827
- const [r, i] = Zi(
827
+ const [r, i] = Ui(
828
828
  n == null ? void 0 : n.in,
829
829
  t,
830
830
  e
@@ -832,7 +832,7 @@ function Nm(t, e, n) {
832
832
  return +Gd(r, n) == +Gd(i, n);
833
833
  }
834
834
  function UI(t, e, n) {
835
- const [r, i] = Zi(
835
+ const [r, i] = Ui(
836
836
  n == null ? void 0 : n.in,
837
837
  t,
838
838
  e
@@ -840,7 +840,7 @@ function UI(t, e, n) {
840
840
  return r.getFullYear() === i.getFullYear() && r.getMonth() === i.getMonth();
841
841
  }
842
842
  function JI(t, e, n) {
843
- const [r, i] = Zi(
843
+ const [r, i] = Ui(
844
844
  n == null ? void 0 : n.in,
845
845
  t,
846
846
  e
@@ -1013,10 +1013,10 @@ function Rx(t) {
1013
1013
  h && (t.internal.setUTCMinutes(t.internal.getUTCMinutes() + h), Date.prototype.setUTCMinutes.call(t, Date.prototype.getUTCMinutes.call(t) + h));
1014
1014
  }
1015
1015
  }
1016
- class bi extends Yn {
1016
+ class vi extends Yn {
1017
1017
  //#region static
1018
1018
  static tz(e, ...n) {
1019
- return n.length ? new bi(...n, e) : new bi(Date.now(), e);
1019
+ return n.length ? new vi(...n, e) : new vi(Date.now(), e);
1020
1020
  }
1021
1021
  //#endregion
1022
1022
  //#region representation
@@ -1061,11 +1061,11 @@ class bi extends Yn {
1061
1061
  }
1062
1062
  //#endregion
1063
1063
  withTimeZone(e) {
1064
- return new bi(+this, e);
1064
+ return new vi(+this, e);
1065
1065
  }
1066
1066
  //#region date-fns integration
1067
1067
  [Symbol.for("constructDateFrom")](e) {
1068
- return new bi(+new Date(e), this.timeZone);
1068
+ return new vi(+new Date(e), this.timeZone);
1069
1069
  }
1070
1070
  //#endregion
1071
1071
  }
@@ -1652,10 +1652,10 @@ class xr {
1652
1652
  constructor(e, n) {
1653
1653
  this.Date = Date, this.today = () => {
1654
1654
  var r;
1655
- return (r = this.overrides) != null && r.today ? this.overrides.today() : this.options.timeZone ? bi.tz(this.options.timeZone) : new this.Date();
1655
+ return (r = this.overrides) != null && r.today ? this.overrides.today() : this.options.timeZone ? vi.tz(this.options.timeZone) : new this.Date();
1656
1656
  }, this.newDate = (r, i, o) => {
1657
1657
  var a;
1658
- return (a = this.overrides) != null && a.newDate ? this.overrides.newDate(r, i, o) : this.options.timeZone ? new bi(r, i, o, this.options.timeZone) : new Date(r, i, o);
1658
+ return (a = this.overrides) != null && a.newDate ? this.overrides.newDate(r, i, o) : this.options.timeZone ? new vi(r, i, o, this.options.timeZone) : new Date(r, i, o);
1659
1659
  }, this.addDays = (r, i) => {
1660
1660
  var o;
1661
1661
  return (o = this.overrides) != null && o.addDays ? this.overrides.addDays(r, i) : Sx(r, i);
@@ -1858,18 +1858,18 @@ function KT(t) {
1858
1858
  return oe.createElement("div", { ...t });
1859
1859
  }
1860
1860
  const Fx = st(void 0);
1861
- function Ui() {
1861
+ function Ji() {
1862
1862
  const t = _e(Fx);
1863
1863
  if (t === void 0)
1864
1864
  throw new Error("useDayPicker() must be used within a custom component.");
1865
1865
  return t;
1866
1866
  }
1867
1867
  function qT(t) {
1868
- const { components: e } = Ui();
1868
+ const { components: e } = Ji();
1869
1869
  return oe.createElement(e.Dropdown, { ...t });
1870
1870
  }
1871
1871
  function QT(t) {
1872
- const { onPreviousClick: e, onNextClick: n, previousMonth: r, nextMonth: i, ...o } = t, { components: a, classNames: s, labels: { labelPrevious: l, labelNext: u } } = Ui();
1872
+ const { onPreviousClick: e, onNextClick: n, previousMonth: r, nextMonth: i, ...o } = t, { components: a, classNames: s, labels: { labelPrevious: l, labelNext: u } } = Ji();
1873
1873
  return oe.createElement(
1874
1874
  "nav",
1875
1875
  { ...o },
@@ -1886,14 +1886,14 @@ function QT(t) {
1886
1886
  );
1887
1887
  }
1888
1888
  function eA(t) {
1889
- const { components: e } = Ui();
1889
+ const { components: e } = Ji();
1890
1890
  return oe.createElement(e.Button, { ...t });
1891
1891
  }
1892
1892
  function tA(t) {
1893
1893
  return oe.createElement("option", { ...t });
1894
1894
  }
1895
1895
  function nA(t) {
1896
- const { components: e } = Ui();
1896
+ const { components: e } = Ji();
1897
1897
  return oe.createElement(e.Button, { ...t });
1898
1898
  }
1899
1899
  function rA(t) {
@@ -1927,7 +1927,7 @@ function cA(t) {
1927
1927
  return oe.createElement("tbody", { ...t });
1928
1928
  }
1929
1929
  function dA(t) {
1930
- const { components: e } = Ui();
1930
+ const { components: e } = Ji();
1931
1931
  return oe.createElement(e.Dropdown, { ...t });
1932
1932
  }
1933
1933
  const fA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -2562,7 +2562,7 @@ function uM(t) {
2562
2562
  }, [d, Z]), U = xe((be, We) => (Le) => {
2563
2563
  L(), u == null || u(be.date, We, Le);
2564
2564
  }, [L, u]), ee = xe((be, We) => (Le) => {
2565
- const Gt = {
2565
+ const Lt = {
2566
2566
  ArrowLeft: ["day", t.dir === "rtl" ? "after" : "before"],
2567
2567
  ArrowRight: ["day", t.dir === "rtl" ? "before" : "after"],
2568
2568
  ArrowDown: ["week", "after"],
@@ -2572,9 +2572,9 @@ function uM(t) {
2572
2572
  Home: ["startOfWeek", "before"],
2573
2573
  End: ["endOfWeek", "after"]
2574
2574
  };
2575
- if (Gt[Le.key]) {
2575
+ if (Lt[Le.key]) {
2576
2576
  Le.preventDefault(), Le.stopPropagation();
2577
- const [Tt, dn] = Gt[Le.key];
2577
+ const [Tt, dn] = Lt[Le.key];
2578
2578
  X(Tt, dn);
2579
2579
  }
2580
2580
  f == null || f(be.date, We, Le);
@@ -2583,11 +2583,11 @@ function uM(t) {
2583
2583
  }, [p]), Q = xe((be, We) => (Le) => {
2584
2584
  h == null || h(be.date, We, Le);
2585
2585
  }, [h]), ce = xe((be) => (We) => {
2586
- const Le = Number(We.target.value), Gt = i.setMonth(i.startOfMonth(be), Le);
2587
- F(Gt);
2586
+ const Le = Number(We.target.value), Lt = i.setMonth(i.startOfMonth(be), Le);
2587
+ F(Lt);
2588
2588
  }, [i, F]), ge = xe((be) => (We) => {
2589
- const Le = Number(We.target.value), Gt = i.setYear(i.startOfMonth(be), Le);
2590
- F(Gt);
2589
+ const Le = Number(We.target.value), Lt = i.setYear(i.startOfMonth(be), Le);
2590
+ F(Lt);
2591
2591
  }, [i, F]), { className: ve, style: Ie } = Pe(() => ({
2592
2592
  className: [a[Ae.Root], t.className].filter(Boolean).join(" "),
2593
2593
  style: { ...x == null ? void 0 : x[Ae.Root], ...t.style }
@@ -2618,7 +2618,7 @@ function uM(t) {
2618
2618
  { className: a[Ae.Months], style: x == null ? void 0 : x[Ae.Months] },
2619
2619
  !t.hideNavigation && oe.createElement(e.Nav, { className: a[Ae.Nav], style: x == null ? void 0 : x[Ae.Nav], "aria-label": te(), onPreviousClick: le, onNextClick: de, previousMonth: V, nextMonth: j }),
2620
2620
  O.map((be, We) => {
2621
- const Le = EA(be.date, P, R, n, i), Gt = AA(P, R, n, i);
2621
+ const Le = EA(be.date, P, R, n, i), Lt = AA(P, R, n, i);
2622
2622
  return oe.createElement(
2623
2623
  e.Month,
2624
2624
  { className: a[Ae.Month], style: x == null ? void 0 : x[Ae.Month], key: We, displayIndex: We, calendarMonth: be },
@@ -2626,7 +2626,7 @@ function uM(t) {
2626
2626
  e.DropdownNav,
2627
2627
  { className: a[Ae.Dropdowns], style: x == null ? void 0 : x[Ae.Dropdowns] },
2628
2628
  s === "dropdown" || s === "dropdown-months" ? oe.createElement(e.MonthsDropdown, { className: a[Ae.MonthsDropdown], "aria-label": ie(), classNames: a, components: e, disabled: !!t.disableNavigation, onChange: ce(be.date), options: Le, style: x == null ? void 0 : x[Ae.Dropdown], value: i.getMonth(be.date) }) : oe.createElement("span", { role: "status", "aria-live": "polite" }, y(be.date, i)),
2629
- s === "dropdown" || s === "dropdown-years" ? oe.createElement(e.YearsDropdown, { className: a[Ae.YearsDropdown], "aria-label": ne(i.options), classNames: a, components: e, disabled: !!t.disableNavigation, onChange: ge(be.date), options: Gt, style: x == null ? void 0 : x[Ae.Dropdown], value: i.getYear(be.date) }) : oe.createElement("span", { role: "status", "aria-live": "polite" }, k(be.date, i))
2629
+ s === "dropdown" || s === "dropdown-years" ? oe.createElement(e.YearsDropdown, { className: a[Ae.YearsDropdown], "aria-label": ne(i.options), classNames: a, components: e, disabled: !!t.disableNavigation, onChange: ge(be.date), options: Lt, style: x == null ? void 0 : x[Ae.Dropdown], value: i.getYear(be.date) }) : oe.createElement("span", { role: "status", "aria-live": "polite" }, k(be.date, i))
2630
2630
  ) : oe.createElement(e.CaptionLabel, { className: a[Ae.CaptionLabel], role: "status", "aria-live": "polite" }, w(be.date, i.options, i))),
2631
2631
  oe.createElement(
2632
2632
  e.MonthGrid,
@@ -2644,13 +2644,13 @@ function uM(t) {
2644
2644
  locale: o
2645
2645
  }), className: a[Ae.WeekNumber], scope: "row", role: "rowheader" }, C(Tt.weekNumber)),
2646
2646
  Tt.days.map((rt) => {
2647
- const { date: _t } = rt, Te = _(rt);
2648
- if (Te[it.focused] = !Te.hidden && !!(N != null && N.isEqualTo(rt)), Te[Dn.selected] = !Te.disabled && ((H == null ? void 0 : H(_t)) || Te.selected), Dp(D)) {
2647
+ const { date: Gt } = rt, Te = _(rt);
2648
+ if (Te[it.focused] = !Te.hidden && !!(N != null && N.isEqualTo(rt)), Te[Dn.selected] = !Te.disabled && ((H == null ? void 0 : H(Gt)) || Te.selected), Dp(D)) {
2649
2649
  const { from: Mn, to: oi } = D;
2650
- Te[Dn.range_start] = !!(Mn && oi && i.isSameDay(_t, Mn)), Te[Dn.range_end] = !!(Mn && oi && i.isSameDay(_t, oi)), Te[Dn.range_middle] = dr(D, _t, !0, i);
2650
+ Te[Dn.range_start] = !!(Mn && oi && i.isSameDay(Gt, Mn)), Te[Dn.range_end] = !!(Mn && oi && i.isSameDay(Gt, oi)), Te[Dn.range_middle] = dr(D, Gt, !0, i);
2651
2651
  }
2652
- const to = IA(Te, x, t.modifiersStyles), Qo = LT(Te, a, t.modifiersClassNames), Jt = !re && !Te.hidden ? $(_t, Te, i.options, i) : void 0;
2653
- return oe.createElement(e.Day, { key: `${i.format(_t, "yyyy-MM-dd")}_${i.format(rt.displayMonth, "yyyy-MM")}`, day: rt, modifiers: Te, className: Qo.join(" "), style: to, role: "gridcell", "aria-selected": Te.selected || void 0, "aria-label": Jt, "data-day": i.format(_t, "yyyy-MM-dd"), "data-month": rt.outside ? i.format(_t, "yyyy-MM") : void 0, "data-selected": Te.selected || void 0, "data-disabled": Te.disabled || void 0, "data-hidden": Te.hidden || void 0, "data-outside": rt.outside || void 0, "data-focused": Te.focused || void 0, "data-today": Te.today || void 0 }, !Te.hidden && re ? oe.createElement(e.DayButton, { className: a[Ae.DayButton], style: x == null ? void 0 : x[Ae.DayButton], type: "button", day: rt, modifiers: Te, disabled: Te.disabled || void 0, tabIndex: W(rt) ? 0 : -1, "aria-label": q(_t, Te, i.options, i), onClick: we(rt, Te), onBlur: U(rt, Te), onFocus: ae(rt, Te), onKeyDown: ee(rt, Te), onMouseEnter: K(rt, Te), onMouseLeave: Q(rt, Te) }, v(_t, i.options, i)) : !Te.hidden && v(rt.date, i.options, i));
2652
+ const no = IA(Te, x, t.modifiersStyles), Qo = LT(Te, a, t.modifiersClassNames), Jt = !re && !Te.hidden ? $(Gt, Te, i.options, i) : void 0;
2653
+ return oe.createElement(e.Day, { key: `${i.format(Gt, "yyyy-MM-dd")}_${i.format(rt.displayMonth, "yyyy-MM")}`, day: rt, modifiers: Te, className: Qo.join(" "), style: no, role: "gridcell", "aria-selected": Te.selected || void 0, "aria-label": Jt, "data-day": i.format(Gt, "yyyy-MM-dd"), "data-month": rt.outside ? i.format(Gt, "yyyy-MM") : void 0, "data-selected": Te.selected || void 0, "data-disabled": Te.disabled || void 0, "data-hidden": Te.hidden || void 0, "data-outside": rt.outside || void 0, "data-focused": Te.focused || void 0, "data-today": Te.today || void 0 }, !Te.hidden && re ? oe.createElement(e.DayButton, { className: a[Ae.DayButton], style: x == null ? void 0 : x[Ae.DayButton], type: "button", day: rt, modifiers: Te, disabled: Te.disabled || void 0, tabIndex: W(rt) ? 0 : -1, "aria-label": q(Gt, Te, i.options, i), onClick: we(rt, Te), onBlur: U(rt, Te), onFocus: ae(rt, Te), onKeyDown: ee(rt, Te), onMouseEnter: K(rt, Te), onMouseLeave: Q(rt, Te) }, v(Gt, i.options, i)) : !Te.hidden && v(rt.date, i.options, i));
2654
2654
  })
2655
2655
  )))
2656
2656
  )
@@ -3202,9 +3202,9 @@ function Wp(t, e, n, r) {
3202
3202
  }
3203
3203
  return e;
3204
3204
  }
3205
- const Wd = (t) => Array.isArray(t), NM = (t) => !!(t && typeof t == "object" && t.mix && t.toValue), FM = (t) => Wd(t) ? t[t.length - 1] || 0 : t, $t = (t) => !!(t && t.getVelocity);
3205
+ const Wd = (t) => Array.isArray(t), NM = (t) => !!(t && typeof t == "object" && t.mix && t.toValue), FM = (t) => Wd(t) ? t[t.length - 1] || 0 : t, Ht = (t) => !!(t && t.getVelocity);
3206
3206
  function nl(t) {
3207
- const e = $t(t) ? t.get() : t;
3207
+ const e = Ht(t) ? t.get() : t;
3208
3208
  return NM(e) ? e.toValue() : e;
3209
3209
  }
3210
3210
  function jM({ scrapeMotionValuesFromProps: t, createRenderState: e, onUpdate: n }, r, i, o) {
@@ -3267,7 +3267,7 @@ const Xo = [
3267
3267
  "skew",
3268
3268
  "skewX",
3269
3269
  "skewY"
3270
- ], Ji = new Set(Xo), r0 = (t) => (e) => typeof e == "string" && e.startsWith(t), i0 = /* @__PURE__ */ r0("--"), VM = /* @__PURE__ */ r0("var(--"), Hp = (t) => VM(t) ? LM.test(t.split("/*")[0].trim()) : !1, LM = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu, o0 = (t, e) => e && typeof t == "number" ? e.transform(t) : t, vr = (t, e, n) => n > e ? e : n < t ? t : n, Yo = {
3270
+ ], Ki = new Set(Xo), r0 = (t) => (e) => typeof e == "string" && e.startsWith(t), i0 = /* @__PURE__ */ r0("--"), VM = /* @__PURE__ */ r0("var(--"), Hp = (t) => VM(t) ? LM.test(t.split("/*")[0].trim()) : !1, LM = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu, o0 = (t, e) => e && typeof t == "number" ? e.transform(t) : t, vr = (t, e, n) => n > e ? e : n < t ? t : n, Yo = {
3271
3271
  test: (t) => typeof t == "number",
3272
3272
  parse: parseFloat,
3273
3273
  transform: (t) => t
@@ -3388,7 +3388,7 @@ function Xp(t, e, n) {
3388
3388
  let a = !1, s = !1;
3389
3389
  for (const l in e) {
3390
3390
  const u = e[l];
3391
- if (Ji.has(l)) {
3391
+ if (Ki.has(l)) {
3392
3392
  a = !0;
3393
3393
  continue;
3394
3394
  } else if (i0(l)) {
@@ -3494,19 +3494,19 @@ function KM(t) {
3494
3494
  Object.assign(Cl, t);
3495
3495
  }
3496
3496
  function c0(t, { layout: e, layoutId: n }) {
3497
- return Ji.has(t) || t.startsWith("origin") || (e || n !== void 0) && (!!Cl[t] || t === "opacity");
3497
+ return Ki.has(t) || t.startsWith("origin") || (e || n !== void 0) && (!!Cl[t] || t === "opacity");
3498
3498
  }
3499
3499
  function Jp(t, e, n) {
3500
3500
  var r;
3501
3501
  const { style: i } = t, o = {};
3502
3502
  for (const a in i)
3503
- ($t(i[a]) || e.style && $t(e.style[a]) || c0(a, t) || ((r = n == null ? void 0 : n.getValue(a)) === null || r === void 0 ? void 0 : r.liveStyle) !== void 0) && (o[a] = i[a]);
3503
+ (Ht(i[a]) || e.style && Ht(e.style[a]) || c0(a, t) || ((r = n == null ? void 0 : n.getValue(a)) === null || r === void 0 ? void 0 : r.liveStyle) !== void 0) && (o[a] = i[a]);
3504
3504
  return o;
3505
3505
  }
3506
3506
  function d0(t, e, n) {
3507
3507
  const r = Jp(t, e, n);
3508
3508
  for (const i in t)
3509
- if ($t(t[i]) || $t(e[i])) {
3509
+ if (Ht(t[i]) || Ht(e[i])) {
3510
3510
  const o = Xo.indexOf(i) !== -1 ? "attr" + i.charAt(0).toUpperCase() + i.substring(1) : i;
3511
3511
  r[o] = t[i];
3512
3512
  }
@@ -3534,7 +3534,7 @@ const Um = ["x", "y", "width", "height", "cx", "cy", "r"], QM = {
3534
3534
  let o = !!t.drag;
3535
3535
  if (!o) {
3536
3536
  for (const s in i)
3537
- if (Ji.has(s)) {
3537
+ if (Ki.has(s)) {
3538
3538
  o = !0;
3539
3539
  break;
3540
3540
  }
@@ -3560,7 +3560,7 @@ const Um = ["x", "y", "width", "height", "cx", "cy", "r"], QM = {
3560
3560
  };
3561
3561
  function f0(t, e, n) {
3562
3562
  for (const r in e)
3563
- !$t(e[r]) && !c0(r, n) && (t[r] = e[r]);
3563
+ !Ht(e[r]) && !c0(r, n) && (t[r] = e[r]);
3564
3564
  }
3565
3565
  function tO({ transformTemplate: t }, e) {
3566
3566
  return Pe(() => {
@@ -3592,7 +3592,7 @@ function iO(t, e, n, r) {
3592
3592
  }
3593
3593
  function oO(t = !1) {
3594
3594
  return (n, r, i, { latestValues: o }, a) => {
3595
- const l = (zp(n) ? iO : rO)(r, o, a, n), u = xM(r, typeof n == "string", t), c = n !== Vt ? { ...u, ...l, ref: i } : {}, { children: d } = r, f = Pe(() => $t(d) ? d.get() : d, [d]);
3595
+ const l = (zp(n) ? iO : rO)(r, o, a, n), u = xM(r, typeof n == "string", t), c = n !== Xt ? { ...u, ...l, ref: i } : {}, { children: d } = r, f = Pe(() => Ht(d) ? d.get() : d, [d]);
3596
3596
  return xx(n, {
3597
3597
  ...c,
3598
3598
  children: f
@@ -4135,7 +4135,7 @@ function SO(t, e) {
4135
4135
  }
4136
4136
  }
4137
4137
  function kO(t) {
4138
- return !!($t(t) && t.add);
4138
+ return !!(Ht(t) && t.add);
4139
4139
  }
4140
4140
  function Xd(t, e) {
4141
4141
  const n = t.getValue("willChange");
@@ -4180,7 +4180,7 @@ const OO = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s
4180
4180
  }, PO = (t) => vr(0, 255, t), Tc = {
4181
4181
  ...Yo,
4182
4182
  transform: (t) => Math.round(PO(t))
4183
- }, vi = {
4183
+ }, yi = {
4184
4184
  test: /* @__PURE__ */ sh("rgb", "red"),
4185
4185
  parse: /* @__PURE__ */ R0("red", "green", "blue"),
4186
4186
  transform: ({ red: t, green: e, blue: n, alpha: r = 1 }) => "rgba(" + Tc.transform(t) + ", " + Tc.transform(e) + ", " + Tc.transform(n) + ", " + Sa(za.transform(r)) + ")"
@@ -4197,15 +4197,15 @@ function DO(t) {
4197
4197
  const Yd = {
4198
4198
  test: /* @__PURE__ */ sh("#"),
4199
4199
  parse: DO,
4200
- transform: vi.transform
4200
+ transform: yi.transform
4201
4201
  }, po = {
4202
4202
  test: /* @__PURE__ */ sh("hsl", "hue"),
4203
4203
  parse: /* @__PURE__ */ R0("hue", "saturation", "lightness"),
4204
4204
  transform: ({ hue: t, saturation: e, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(t) + ", " + Jn.transform(Sa(e)) + ", " + Jn.transform(Sa(n)) + ", " + Sa(za.transform(r)) + ")"
4205
- }, Wt = {
4206
- test: (t) => vi.test(t) || Yd.test(t) || po.test(t),
4207
- parse: (t) => vi.test(t) ? vi.parse(t) : po.test(t) ? po.parse(t) : Yd.parse(t),
4208
- transform: (t) => typeof t == "string" ? t : t.hasOwnProperty("red") ? vi.transform(t) : po.transform(t)
4205
+ }, zt = {
4206
+ test: (t) => yi.test(t) || Yd.test(t) || po.test(t),
4207
+ parse: (t) => yi.test(t) ? yi.parse(t) : po.test(t) ? po.parse(t) : Yd.parse(t),
4208
+ transform: (t) => typeof t == "string" ? t : t.hasOwnProperty("red") ? yi.transform(t) : po.transform(t)
4209
4209
  }, RO = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
4210
4210
  function NO(t) {
4211
4211
  var e, n;
@@ -4219,7 +4219,7 @@ function Ha(t) {
4219
4219
  var: []
4220
4220
  }, i = [];
4221
4221
  let o = 0;
4222
- const s = e.replace(BO, (l) => (Wt.test(l) ? (r.color.push(o), i.push(F0), n.push(Wt.parse(l))) : l.startsWith(jO) ? (r.var.push(o), i.push(FO), n.push(l)) : (r.number.push(o), i.push(N0), n.push(parseFloat(l))), ++o, tg)).split(tg);
4222
+ const s = e.replace(BO, (l) => (zt.test(l) ? (r.color.push(o), i.push(F0), n.push(zt.parse(l))) : l.startsWith(jO) ? (r.var.push(o), i.push(FO), n.push(l)) : (r.number.push(o), i.push(N0), n.push(parseFloat(l))), ++o, tg)).split(tg);
4223
4223
  return { values: n, split: s, indexes: r, types: i };
4224
4224
  }
4225
4225
  function j0(t) {
@@ -4232,7 +4232,7 @@ function B0(t) {
4232
4232
  for (let a = 0; a < r; a++)
4233
4233
  if (o += e[a], i[a] !== void 0) {
4234
4234
  const s = n[a];
4235
- s === N0 ? o += Sa(i[a]) : s === F0 ? o += Wt.transform(i[a]) : o += i[a];
4235
+ s === N0 ? o += Sa(i[a]) : s === F0 ? o += zt.transform(i[a]) : o += i[a];
4236
4236
  }
4237
4237
  return o;
4238
4238
  };
@@ -4268,17 +4268,17 @@ const zO = /\b([a-z-]*)\(.*?\)/gu, Zd = {
4268
4268
  }, WO = {
4269
4269
  ...$p,
4270
4270
  // Color props
4271
- color: Wt,
4272
- backgroundColor: Wt,
4273
- outlineColor: Wt,
4274
- fill: Wt,
4275
- stroke: Wt,
4271
+ color: zt,
4272
+ backgroundColor: zt,
4273
+ outlineColor: zt,
4274
+ fill: zt,
4275
+ stroke: zt,
4276
4276
  // Border props
4277
- borderColor: Wt,
4278
- borderTopColor: Wt,
4279
- borderRightColor: Wt,
4280
- borderBottomColor: Wt,
4281
- borderLeftColor: Wt,
4277
+ borderColor: zt,
4278
+ borderTopColor: zt,
4279
+ borderRightColor: zt,
4280
+ borderBottomColor: zt,
4281
+ borderLeftColor: zt,
4282
4282
  filter: Zd,
4283
4283
  WebkitFilter: Zd
4284
4284
  }, lh = (t) => WO[t];
@@ -4329,11 +4329,11 @@ const Ro = {
4329
4329
  };
4330
4330
  Ro.translateX = Ro.x;
4331
4331
  Ro.translateY = Ro.y;
4332
- const Mi = /* @__PURE__ */ new Set();
4332
+ const Oi = /* @__PURE__ */ new Set();
4333
4333
  let Ud = !1, Jd = !1;
4334
4334
  function L0() {
4335
4335
  if (Jd) {
4336
- const t = Array.from(Mi).filter((r) => r.needsMeasurement), e = new Set(t.map((r) => r.element)), n = /* @__PURE__ */ new Map();
4336
+ const t = Array.from(Oi).filter((r) => r.needsMeasurement), e = new Set(t.map((r) => r.element)), n = /* @__PURE__ */ new Map();
4337
4337
  e.forEach((r) => {
4338
4338
  const i = ZO(r);
4339
4339
  i.length && (n.set(r, i), r.render());
@@ -4348,10 +4348,10 @@ function L0() {
4348
4348
  r.suspendedScrollY !== void 0 && window.scrollTo(0, r.suspendedScrollY);
4349
4349
  });
4350
4350
  }
4351
- Jd = !1, Ud = !1, Mi.forEach((t) => t.complete()), Mi.clear();
4351
+ Jd = !1, Ud = !1, Oi.forEach((t) => t.complete()), Oi.clear();
4352
4352
  }
4353
4353
  function G0() {
4354
- Mi.forEach((t) => {
4354
+ Oi.forEach((t) => {
4355
4355
  t.readKeyframes(), t.needsMeasurement && (Jd = !0);
4356
4356
  });
4357
4357
  }
@@ -4363,7 +4363,7 @@ class uh {
4363
4363
  this.isComplete = !1, this.isAsync = !1, this.needsMeasurement = !1, this.isScheduled = !1, this.unresolvedKeyframes = [...e], this.onComplete = n, this.name = r, this.motionValue = i, this.element = o, this.isAsync = a;
4364
4364
  }
4365
4365
  scheduleResolve() {
4366
- this.isScheduled = !0, this.isAsync ? (Mi.add(this), Ud || (Ud = !0, at.read(G0), at.resolveKeyframes(L0))) : (this.readKeyframes(), this.complete());
4366
+ this.isScheduled = !0, this.isAsync ? (Oi.add(this), Ud || (Ud = !0, at.read(G0), at.resolveKeyframes(L0))) : (this.readKeyframes(), this.complete());
4367
4367
  }
4368
4368
  readKeyframes() {
4369
4369
  const { unresolvedKeyframes: e, name: n, element: r, motionValue: i } = this;
@@ -4390,10 +4390,10 @@ class uh {
4390
4390
  measureEndState() {
4391
4391
  }
4392
4392
  complete() {
4393
- this.isComplete = !0, this.onComplete(this.unresolvedKeyframes, this.finalKeyframe), Mi.delete(this);
4393
+ this.isComplete = !0, this.onComplete(this.unresolvedKeyframes, this.finalKeyframe), Oi.delete(this);
4394
4394
  }
4395
4395
  cancel() {
4396
- this.isComplete || (this.isScheduled = !1, Mi.delete(this));
4396
+ this.isComplete || (this.isScheduled = !1, Oi.delete(this));
4397
4397
  }
4398
4398
  resume() {
4399
4399
  this.isComplete || this.scheduleResolve();
@@ -4608,7 +4608,7 @@ function Sl(t, e) {
4608
4608
  const Mc = (t, e, n) => {
4609
4609
  const r = t * t, i = n * (e * e - r) + r;
4610
4610
  return i < 0 ? 0 : Math.sqrt(i);
4611
- }, oP = [Yd, vi, po], aP = (t) => oP.find((e) => e.test(t));
4611
+ }, oP = [Yd, yi, po], aP = (t) => oP.find((e) => e.test(t));
4612
4612
  function sg(t) {
4613
4613
  const e = aP(t);
4614
4614
  if ($o(!!e, `'${t}' is not an animatable color. Use the equivalent color code instead.`), !e)
@@ -4621,7 +4621,7 @@ const lg = (t, e) => {
4621
4621
  if (!n || !r)
4622
4622
  return Sl(t, e);
4623
4623
  const i = { ...n };
4624
- return (o) => (i.red = Mc(n.red, r.red, o), i.green = Mc(n.green, r.green, o), i.blue = Mc(n.blue, r.blue, o), i.alpha = dt(n.alpha, r.alpha, o), vi.transform(i));
4624
+ return (o) => (i.red = Mc(n.red, r.red, o), i.green = Mc(n.green, r.green, o), i.blue = Mc(n.blue, r.blue, o), i.alpha = dt(n.alpha, r.alpha, o), yi.transform(i));
4625
4625
  }, sP = (t, e) => (n) => e(t(n)), bs = (...t) => t.reduce(sP), Kd = /* @__PURE__ */ new Set(["none", "hidden"]);
4626
4626
  function lP(t, e) {
4627
4627
  return Kd.has(t) ? (n) => n <= 0 ? t : e : (n) => n >= 1 ? e : t;
@@ -4630,7 +4630,7 @@ function uP(t, e) {
4630
4630
  return (n) => dt(t, e, n);
4631
4631
  }
4632
4632
  function ch(t) {
4633
- return typeof t == "number" ? uP : typeof t == "string" ? Hp(t) ? Sl : Wt.test(t) ? lg : fP : Array.isArray(t) ? Y0 : typeof t == "object" ? Wt.test(t) ? lg : cP : Sl;
4633
+ return typeof t == "number" ? uP : typeof t == "string" ? Hp(t) ? Sl : zt.test(t) ? lg : fP : Array.isArray(t) ? Y0 : typeof t == "object" ? zt.test(t) ? lg : cP : Sl;
4634
4634
  }
4635
4635
  function Y0(t, e) {
4636
4636
  const n = [...t], r = n.length, i = t.map((o, a) => ch(o)(o, e[a]));
@@ -5306,7 +5306,7 @@ const LP = {
5306
5306
  type: "keyframes",
5307
5307
  ease: [0.25, 0.1, 0.35, 1],
5308
5308
  duration: 0.3
5309
- }, WP = (t, { keyframes: e }) => e.length > 2 ? _P : Ji.has(t) ? t.startsWith("scale") ? GP(e[1]) : LP : zP;
5309
+ }, WP = (t, { keyframes: e }) => e.length > 2 ? _P : Ki.has(t) ? t.startsWith("scale") ? GP(e[1]) : LP : zP;
5310
5310
  function HP({ when: t, delay: e, delayChildren: n, staggerChildren: r, staggerDirection: i, repeat: o, repeatType: a, repeatDelay: s, from: l, elapsed: u, ...c }) {
5311
5311
  return !!Object.keys(c).length;
5312
5312
  }
@@ -5823,7 +5823,7 @@ function Dc(t) {
5823
5823
  function tf({ scale: t, scaleX: e, scaleY: n }) {
5824
5824
  return !Dc(t) || !Dc(e) || !Dc(n);
5825
5825
  }
5826
- function ui(t) {
5826
+ function ci(t) {
5827
5827
  return tf(t) || a1(t) || t.z || t.rotate || t.rotateX || t.rotateY || t.skewX || t.skewY;
5828
5828
  }
5829
5829
  function a1(t) {
@@ -5858,7 +5858,7 @@ function SD(t, e, n, r = !1) {
5858
5858
  l && l.props.style && l.props.style.display === "contents" || (r && o.options.layoutScroll && o.scroll && o !== o.root && go(t, {
5859
5859
  x: -o.scroll.offset.x,
5860
5860
  y: -o.scroll.offset.y
5861
- }), a && (e.x *= a.x.scale, e.y *= a.y.scale, s1(t, a)), r && ui(o.latestValues) && go(t, o.latestValues));
5861
+ }), a && (e.x *= a.x.scale, e.y *= a.y.scale, s1(t, a)), r && ci(o.latestValues) && go(t, o.latestValues));
5862
5862
  }
5863
5863
  e.x < Og && e.x > Mg && (e.x = 1), e.y < Og && e.y > Mg && (e.y = 1);
5864
5864
  }
@@ -6257,7 +6257,7 @@ const DD = {
6257
6257
  boxShadow: OD
6258
6258
  };
6259
6259
  function RD(t, e, n) {
6260
- const r = $t(t) ? t : Wa(t);
6260
+ const r = Ht(t) ? t : Wa(t);
6261
6261
  return r.start(fh("", r, e, n)), r.animation;
6262
6262
  }
6263
6263
  function ND(t) {
@@ -6422,7 +6422,7 @@ function YD(t, e, n) {
6422
6422
  const s = t.x.scale * e.x, l = t.y.scale * e.y;
6423
6423
  return (s !== 1 || l !== 1) && (r += `scale(${s}, ${l})`), r || "none";
6424
6424
  }
6425
- const ci = {
6425
+ const di = {
6426
6426
  type: "projectionFrame",
6427
6427
  totalNodes: 0,
6428
6428
  resolvedTargetDeltas: 0,
@@ -6453,7 +6453,7 @@ function g1({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6453
6453
  this.id = UD++, this.animationId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = { x: 1, y: 1 }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
6454
6454
  this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
6455
6455
  }, this.updateProjection = () => {
6456
- this.projectionUpdateScheduled = !1, ha && (ci.totalNodes = ci.resolvedTargetDeltas = ci.recalculatedProjection = 0), this.nodes.forEach(qD), this.nodes.forEach(rR), this.nodes.forEach(iR), this.nodes.forEach(QD), ha && window.MotionDebug.record(ci);
6456
+ this.projectionUpdateScheduled = !1, ha && (di.totalNodes = di.resolvedTargetDeltas = di.recalculatedProjection = 0), this.nodes.forEach(qD), this.nodes.forEach(rR), this.nodes.forEach(iR), this.nodes.forEach(QD), ha && window.MotionDebug.record(di);
6457
6457
  }, this.resolvedRelativeTargetAt = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = a, this.root = s ? s.root || s : this, this.path = s ? [...s.path, s] : [], this.parent = s, this.depth = s ? s.depth + 1 : 0;
6458
6458
  for (let l = 0; l < this.path.length; l++)
6459
6459
  this.path[l].shouldResetTransform = !0;
@@ -6604,7 +6604,7 @@ function g1({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6604
6604
  if (!i)
6605
6605
  return;
6606
6606
  const a = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, s = this.projectionDelta && !p1(this.projectionDelta), l = this.getTransformTemplate(), u = l ? l(this.latestValues, "") : void 0, c = u !== this.prevTransformTemplateValue;
6607
- a && (s || ui(this.latestValues) || c) && (i(this.instance, u), this.shouldResetTransform = !1, this.scheduleRender());
6607
+ a && (s || ci(this.latestValues) || c) && (i(this.instance, u), this.shouldResetTransform = !1, this.scheduleRender());
6608
6608
  }
6609
6609
  measure(a = !0) {
6610
6610
  const s = this.measurePageBox();
@@ -6648,22 +6648,22 @@ function g1({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6648
6648
  !s && c.options.layoutScroll && c.scroll && c !== c.root && go(l, {
6649
6649
  x: -c.scroll.offset.x,
6650
6650
  y: -c.scroll.offset.y
6651
- }), ui(c.latestValues) && go(l, c.latestValues);
6651
+ }), ci(c.latestValues) && go(l, c.latestValues);
6652
6652
  }
6653
- return ui(this.latestValues) && go(l, this.latestValues), l;
6653
+ return ci(this.latestValues) && go(l, this.latestValues), l;
6654
6654
  }
6655
6655
  removeTransform(a) {
6656
6656
  const s = bt();
6657
6657
  vn(s, a);
6658
6658
  for (let l = 0; l < this.path.length; l++) {
6659
6659
  const u = this.path[l];
6660
- if (!u.instance || !ui(u.latestValues))
6660
+ if (!u.instance || !ci(u.latestValues))
6661
6661
  continue;
6662
6662
  tf(u.latestValues) && u.updateSnapshot();
6663
6663
  const c = bt(), d = u.measurePageBox();
6664
6664
  vn(c, d), _g(s, u.latestValues, u.snapshot ? u.snapshot.layoutBox : void 0, c);
6665
6665
  }
6666
- return ui(this.latestValues) && _g(s, this.latestValues), s;
6666
+ return ci(this.latestValues) && _g(s, this.latestValues), s;
6667
6667
  }
6668
6668
  setTargetDelta(a) {
6669
6669
  this.targetDelta = a, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
@@ -6700,7 +6700,7 @@ function g1({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6700
6700
  const p = this.getClosestProjectingParent();
6701
6701
  p && !!p.resumingFrom == !!this.resumingFrom && !p.options.layoutScroll && p.target && this.animationProgress !== 1 ? (this.relativeParent = p, this.forceRelativeParentToResolveTarget(), this.relativeTarget = bt(), this.relativeTargetOrigin = bt(), Ia(this.relativeTargetOrigin, this.target, p.target), vn(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
6702
6702
  }
6703
- ha && ci.resolvedTargetDeltas++;
6703
+ ha && di.resolvedTargetDeltas++;
6704
6704
  }
6705
6705
  }
6706
6706
  }
@@ -6728,7 +6728,7 @@ function g1({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6728
6728
  this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
6729
6729
  return;
6730
6730
  }
6731
- !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Vg(this.prevProjectionDelta.x, this.projectionDelta.x), Vg(this.prevProjectionDelta.y, this.projectionDelta.y)), Ea(this.projectionDelta, this.layoutCorrected, h, this.latestValues), (this.treeScale.x !== f || this.treeScale.y !== p || !Xg(this.projectionDelta.x, this.prevProjectionDelta.x) || !Xg(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", h)), ha && ci.recalculatedProjection++;
6731
+ !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Vg(this.prevProjectionDelta.x, this.projectionDelta.x), Vg(this.prevProjectionDelta.y, this.projectionDelta.y)), Ea(this.projectionDelta, this.layoutCorrected, h, this.latestValues), (this.treeScale.x !== f || this.treeScale.y !== p || !Xg(this.projectionDelta.x, this.prevProjectionDelta.x) || !Xg(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", h)), ha && di.recalculatedProjection++;
6732
6732
  }
6733
6733
  hide() {
6734
6734
  this.isVisible = !1;
@@ -6859,7 +6859,7 @@ function g1({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6859
6859
  const d = this.getLead();
6860
6860
  if (!this.projectionDelta || !this.layout || !d.target) {
6861
6861
  const m = {};
6862
- return this.options.layoutId && (m.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, m.pointerEvents = nl(a == null ? void 0 : a.pointerEvents) || ""), this.hasProjected && !ui(this.latestValues) && (m.transform = c ? c({}, "") : "none", this.hasProjected = !1), m;
6862
+ return this.options.layoutId && (m.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, m.pointerEvents = nl(a == null ? void 0 : a.pointerEvents) || ""), this.hasProjected && !ci(this.latestValues) && (m.transform = c ? c({}, "") : "none", this.hasProjected = !1), m;
6863
6863
  }
6864
6864
  const f = d.animationValues || d.latestValues;
6865
6865
  this.applyTransformsToTarget(), u.transform = YD(this.projectionDeltaWithTransform, this.treeScale, f), c && (u.transform = c(f, u.transform));
@@ -6938,7 +6938,7 @@ function KD(t) {
6938
6938
  t.options.transition = void 0;
6939
6939
  }
6940
6940
  function qD(t) {
6941
- ha && ci.totalNodes++, t.parent && (t.isProjecting() || (t.isProjectionDirty = t.parent.isProjectionDirty), t.isSharedProjectionDirty || (t.isSharedProjectionDirty = !!(t.isProjectionDirty || t.parent.isProjectionDirty || t.parent.isSharedProjectionDirty)), t.isTransformDirty || (t.isTransformDirty = t.parent.isTransformDirty));
6941
+ ha && di.totalNodes++, t.parent && (t.isProjecting() || (t.isProjectionDirty = t.parent.isProjectionDirty), t.isSharedProjectionDirty || (t.isSharedProjectionDirty = !!(t.isProjectionDirty || t.parent.isProjectionDirty || t.parent.isSharedProjectionDirty)), t.isTransformDirty || (t.isTransformDirty = t.parent.isTransformDirty));
6942
6942
  }
6943
6943
  function QD(t) {
6944
6944
  t.isProjectionDirty = t.isSharedProjectionDirty = t.isTransformDirty = !1;
@@ -7169,13 +7169,13 @@ function IR() {
7169
7169
  } else
7170
7170
  of.current = !1;
7171
7171
  }
7172
- const TR = [...H0, Wt, Jr], AR = (t) => TR.find(W0(t)), rb = /* @__PURE__ */ new WeakMap();
7172
+ const TR = [...H0, zt, Jr], AR = (t) => TR.find(W0(t)), rb = /* @__PURE__ */ new WeakMap();
7173
7173
  function MR(t, e, n) {
7174
7174
  for (const r in e) {
7175
7175
  const i = e[r], o = n[r];
7176
- if ($t(i))
7176
+ if (Ht(i))
7177
7177
  t.addValue(r, i), process.env.NODE_ENV === "development" && Fu(i.version === "11.18.0", `Attempting to mix Motion versions ${i.version} with 11.18.0 may not work as expected.`);
7178
- else if ($t(o))
7178
+ else if (Ht(o))
7179
7179
  t.addValue(r, Wa(i, { owner: t }));
7180
7180
  else if (o !== i)
7181
7181
  if (t.hasValue(r)) {
@@ -7222,7 +7222,7 @@ class OR {
7222
7222
  const { willChange: d, ...f } = this.scrapeMotionValuesFromProps(n, {}, this);
7223
7223
  for (const p in f) {
7224
7224
  const h = f[p];
7225
- l[p] !== void 0 && $t(h) && h.set(l[p], !1);
7225
+ l[p] !== void 0 && Ht(h) && h.set(l[p], !1);
7226
7226
  }
7227
7227
  }
7228
7228
  mount(e) {
@@ -7240,7 +7240,7 @@ class OR {
7240
7240
  }
7241
7241
  bindToMotionValue(e, n) {
7242
7242
  this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)();
7243
- const r = Ji.has(e), i = n.on("change", (s) => {
7243
+ const r = Ki.has(e), i = n.on("change", (s) => {
7244
7244
  this.latestValues[e] = s, this.props.onUpdate && at.preRender(this.notifyUpdate), r && this.projection && (this.projection.isTransformDirty = !0);
7245
7245
  }), o = n.on("renderRequest", this.scheduleRender);
7246
7246
  let a;
@@ -7359,7 +7359,7 @@ class OR {
7359
7359
  readValue(e, n) {
7360
7360
  var r;
7361
7361
  let i = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : (r = this.getBaseTargetFromProps(this.props, e)) !== null && r !== void 0 ? r : this.readValueFromInstance(this.current, e, this.options);
7362
- return i != null && (typeof i == "string" && (_0(i) || D0(i)) ? i = parseFloat(i) : !AR(i) && Jr.test(n) && (i = V0(e, n)), this.setBaseTarget(e, $t(i) ? i.get() : i)), $t(i) ? i.get() : i;
7362
+ return i != null && (typeof i == "string" && (_0(i) || D0(i)) ? i = parseFloat(i) : !AR(i) && Jr.test(n) && (i = V0(e, n)), this.setBaseTarget(e, Ht(i) ? i.get() : i)), Ht(i) ? i.get() : i;
7363
7363
  }
7364
7364
  /**
7365
7365
  * Set the base target to later animate back to. This is currently
@@ -7383,7 +7383,7 @@ class OR {
7383
7383
  if (r && i !== void 0)
7384
7384
  return i;
7385
7385
  const o = this.getBaseTargetFromProps(this.props, e);
7386
- return o !== void 0 && !$t(o) ? o : this.initialValues[e] !== void 0 && i === void 0 ? void 0 : this.baseTarget[e];
7386
+ return o !== void 0 && !Ht(o) ? o : this.initialValues[e] !== void 0 && i === void 0 ? void 0 : this.baseTarget[e];
7387
7387
  }
7388
7388
  on(e, n) {
7389
7389
  return this.events[e] || (this.events[e] = new rh()), this.events[e].add(n);
@@ -7408,7 +7408,7 @@ class x1 extends OR {
7408
7408
  handleChildMotionValue() {
7409
7409
  this.childSubscription && (this.childSubscription(), delete this.childSubscription);
7410
7410
  const { children: e } = this.props;
7411
- $t(e) && (this.childSubscription = e.on("change", (n) => {
7411
+ Ht(e) && (this.childSubscription = e.on("change", (n) => {
7412
7412
  this.current && (this.current.textContent = `${n}`);
7413
7413
  }));
7414
7414
  }
@@ -7421,7 +7421,7 @@ class DR extends x1 {
7421
7421
  super(...arguments), this.type = "html", this.renderInstance = s0;
7422
7422
  }
7423
7423
  readValueFromInstance(e, n) {
7424
- if (Ji.has(n)) {
7424
+ if (Ki.has(n)) {
7425
7425
  const r = lh(n);
7426
7426
  return r && r.default || 0;
7427
7427
  } else {
@@ -7447,7 +7447,7 @@ class RR extends x1 {
7447
7447
  return e[n];
7448
7448
  }
7449
7449
  readValueFromInstance(e, n) {
7450
- if (Ji.has(n)) {
7450
+ if (Ki.has(n)) {
7451
7451
  const r = lh(n);
7452
7452
  return r && r.default || 0;
7453
7453
  }
@@ -7467,13 +7467,13 @@ class RR extends x1 {
7467
7467
  }
7468
7468
  }
7469
7469
  const NR = (t, e) => zp(t) ? new RR(e) : new DR(e, {
7470
- allowProjection: t !== Vt
7470
+ allowProjection: t !== Xt
7471
7471
  }), FR = /* @__PURE__ */ aO({
7472
7472
  ...iD,
7473
7473
  ...kR,
7474
7474
  ...pR,
7475
7475
  ...ER
7476
- }, NR), Bi = /* @__PURE__ */ CM(FR), Ta = "dd.MM.yyyy", Bc = (t, e = "ru-RU") => new Intl.DateTimeFormat(e, {
7476
+ }, NR), Vi = /* @__PURE__ */ CM(FR), Ta = "dd.MM.yyyy", Bc = (t, e = "ru-RU") => new Intl.DateTimeFormat(e, {
7477
7477
  day: "2-digit",
7478
7478
  month: "2-digit",
7479
7479
  year: "numeric"
@@ -7481,7 +7481,7 @@ const NR = (t, e) => zp(t) ? new RR(e) : new DR(e, {
7481
7481
  year: "numeric"
7482
7482
  }).format(t), w1 = (t, e = "ru-RU") => new Intl.DateTimeFormat(e, {
7483
7483
  month: "long"
7484
- }).format(t), ro = {
7484
+ }).format(t), si = {
7485
7485
  today: z("text-color-primary-default"),
7486
7486
  outside: "text-color-tetriary",
7487
7487
  selected: "bg-color-primary-default text-color-white",
@@ -7494,7 +7494,8 @@ const NR = (t, e) => zp(t) ? new RR(e) : new DR(e, {
7494
7494
  "before:w-full before:h-[4px] before:bg-color-white before:z-0",
7495
7495
  "hover:after:bg-color-transparent hover:before:bg-color-transparent",
7496
7496
  "before:pointer-events-none before:pointer-events-none"
7497
- )
7497
+ ),
7498
+ day: "text-center"
7498
7499
  }, jR = ({ className: t, ...e }) => /* @__PURE__ */ T.jsx(
7499
7500
  "button",
7500
7501
  {
@@ -7589,7 +7590,7 @@ const NR = (t, e) => zp(t) ? new RR(e) : new DR(e, {
7589
7590
  }
7590
7591
  );
7591
7592
  }, zR = ({ render: t, ...e }) => /* @__PURE__ */ T.jsx("div", { className: "flex justify-end border-t-[1px] border-warm-grey-200 pt-2", children: t(e) }), WR = ({ className: t, ...e }) => {
7592
- const { previousMonth: n, nextMonth: r, goToMonth: i } = Ui(), o = () => {
7593
+ const { previousMonth: n, nextMonth: r, goToMonth: i } = Ji(), o = () => {
7593
7594
  n && i(n);
7594
7595
  }, a = () => {
7595
7596
  r && i(r);
@@ -7654,7 +7655,7 @@ const NR = (t, e) => zp(t) ? new RR(e) : new DR(e, {
7654
7655
  }
7655
7656
  );
7656
7657
  }, $R = ({ dates: t, selected: e, onSelect: n, className: r, mode: i, ...o }) => /* @__PURE__ */ T.jsx(
7657
- Bi.ul,
7658
+ Vi.ul,
7658
7659
  {
7659
7660
  ...o,
7660
7661
  layout: !0,
@@ -7669,7 +7670,7 @@ const NR = (t, e) => zp(t) ? new RR(e) : new DR(e, {
7669
7670
  const l = /* @__PURE__ */ new Date();
7670
7671
  i === "year" ? l.setFullYear(a) : l.setMonth(a);
7671
7672
  const u = i === "year" ? C1(l) : w1(l);
7672
- return /* @__PURE__ */ T.jsx(Bi.li, { initial: { opacity: 0 }, animate: { opacity: 1 }, transition: { delay: s / 22 }, children: /* @__PURE__ */ T.jsx(
7673
+ return /* @__PURE__ */ T.jsx(Vi.li, { initial: { opacity: 0 }, animate: { opacity: 1 }, transition: { delay: s / 22 }, children: /* @__PURE__ */ T.jsx(
7673
7674
  "button",
7674
7675
  {
7675
7676
  type: "button",
@@ -7718,7 +7719,7 @@ const NR = (t, e) => zp(t) ? new RR(e) : new DR(e, {
7718
7719
  }) => {
7719
7720
  const [o, a] = De(null), s = (d) => {
7720
7721
  a((f) => f === d ? null : d);
7721
- }, { goToMonth: l } = Ui(), u = r && r.month !== void 0 ? r.month : ob.month, c = r && r.year !== void 0 ? r.year : ob.year;
7722
+ }, { goToMonth: l } = Ji(), u = r && r.month !== void 0 ? r.month : ob.month, c = r && r.year !== void 0 ? r.year : ob.year;
7722
7723
  return /* @__PURE__ */ T.jsxs(
7723
7724
  "div",
7724
7725
  {
@@ -7767,19 +7768,20 @@ const NR = (t, e) => zp(t) ? new RR(e) : new DR(e, {
7767
7768
  }) => {
7768
7769
  const l = Pe(
7769
7770
  () => ({
7770
- today: z(ro.today, t == null ? void 0 : t.today),
7771
- outside: z(ro.outside, t == null ? void 0 : t.outside),
7772
- selected: z(ro.selected, t == null ? void 0 : t.selected),
7773
- range_start: z(ro.range_outer, t == null ? void 0 : t.range_start),
7774
- range_middle: z(ro.range_middle, t == null ? void 0 : t.range_middle),
7775
- range_end: z(ro.range_outer, t == null ? void 0 : t.range_end),
7771
+ today: z(si.today, t == null ? void 0 : t.today),
7772
+ outside: z(si.outside, t == null ? void 0 : t.outside),
7773
+ selected: z(si.selected, t == null ? void 0 : t.selected),
7774
+ range_start: z(si.range_outer, t == null ? void 0 : t.range_start),
7775
+ range_middle: z(si.range_middle, t == null ? void 0 : t.range_middle),
7776
+ range_end: z(si.range_outer, t == null ? void 0 : t.range_end),
7776
7777
  month_grid: "h-[280px]",
7778
+ day: z(si.day, t == null ? void 0 : t.day),
7777
7779
  ...t
7778
7780
  }),
7779
7781
  [t]
7780
7782
  );
7781
7783
  return /* @__PURE__ */ T.jsxs(
7782
- Bi.div,
7784
+ Vi.div,
7783
7785
  {
7784
7786
  layout: !0,
7785
7787
  initial: { opacity: 0 },
@@ -7885,7 +7887,7 @@ var Wu = "Tooltip", [KR, Hu] = _u(Wu), T1 = (t) => {
7885
7887
  onOpenChange: o,
7886
7888
  disableHoverableContent: a,
7887
7889
  delayDuration: s
7888
- } = t, l = ph(Wu, t.__scopeTooltip), u = zu(e), [c, d] = B.useState(null), f = Ip(), p = B.useRef(0), h = a ?? l.disableHoverableContent, m = s ?? l.delayDuration, g = B.useRef(!1), [b = !1, x] = Xi({
7890
+ } = t, l = ph(Wu, t.__scopeTooltip), u = zu(e), [c, d] = B.useState(null), f = Ip(), p = B.useRef(0), h = a ?? l.disableHoverableContent, m = s ?? l.delayDuration, g = B.useRef(!1), [b = !1, x] = Yi({
7889
7891
  prop: r,
7890
7892
  defaultProp: i,
7891
7893
  onChange: (E) => {
@@ -8219,7 +8221,7 @@ var yN = B.forwardRef((t, e) => {
8219
8221
  onEntryFocus: u,
8220
8222
  preventScrollOnEntryFocus: c = !1,
8221
8223
  ...d
8222
- } = t, f = B.useRef(null), p = An(e, f), h = Au(o), [m = null, g] = Xi({
8224
+ } = t, f = B.useRef(null), p = An(e, f), h = Au(o), [m = null, g] = Yi({
8223
8225
  prop: a,
8224
8226
  defaultProp: s,
8225
8227
  onChange: l
@@ -8374,7 +8376,7 @@ var L1 = F1, G1 = B1, hh = "Tabs", [kN, fZ] = qr(hh, [
8374
8376
  dir: s,
8375
8377
  activationMode: l = "automatic",
8376
8378
  ...u
8377
- } = t, c = Au(s), [d, f] = Xi({
8379
+ } = t, c = Au(s), [d, f] = Yi({
8378
8380
  prop: r,
8379
8381
  onChange: i,
8380
8382
  defaultProp: o
@@ -8559,7 +8561,7 @@ const MN = ({ classes: t, contents: e }) => /* @__PURE__ */ T.jsx("div", { class
8559
8561
  classes: a
8560
8562
  }) => {
8561
8563
  const l = /* @__PURE__ */ T.jsx(Zx, { children: n && /* @__PURE__ */ T.jsx(
8562
- Bi.div,
8564
+ Vi.div,
8563
8565
  {
8564
8566
  tabIndex: -1,
8565
8567
  onClick: o,
@@ -8573,7 +8575,7 @@ const MN = ({ classes: t, contents: e }) => /* @__PURE__ */ T.jsx("div", { class
8573
8575
  },
8574
8576
  ...ON,
8575
8577
  children: /* @__PURE__ */ T.jsxs(
8576
- Bi.div,
8578
+ Vi.div,
8577
8579
  {
8578
8580
  onClick: (u) => u.stopPropagation(),
8579
8581
  className: z(
@@ -8686,7 +8688,7 @@ var GN = (t) => typeof t == "function", Tl = (t, e) => GN(t) ? t(e) : t, _N = /*
8686
8688
  let i = e.time - (t.pausedAt || 0);
8687
8689
  return { ...t, pausedAt: void 0, toasts: t.toasts.map((o) => ({ ...o, pauseDuration: o.pauseDuration + i })) };
8688
8690
  }
8689
- }, ol = [], al = { toasts: [], pausedAt: void 0 }, Ki = (t) => {
8691
+ }, ol = [], al = { toasts: [], pausedAt: void 0 }, qi = (t) => {
8690
8692
  al = eC(al, t), ol.forEach((e) => {
8691
8693
  e(al);
8692
8694
  });
@@ -8703,16 +8705,16 @@ var GN = (t) => typeof t == "function", Tl = (t, e) => GN(t) ? t(e) : t, _N = /*
8703
8705
  return { ...e, toasts: r };
8704
8706
  }, HN = (t, e = "blank", n) => ({ createdAt: Date.now(), visible: !0, dismissed: !1, type: e, ariaProps: { role: "status", "aria-live": "polite" }, message: t, pauseDuration: 0, ...n, id: (n == null ? void 0 : n.id) || _N() }), ys = (t) => (e, n) => {
8705
8707
  let r = HN(e, t, n);
8706
- return Ki({ type: 2, toast: r }), r.id;
8708
+ return qi({ type: 2, toast: r }), r.id;
8707
8709
  }, en = (t, e) => ys("blank")(t, e);
8708
8710
  en.error = ys("error");
8709
8711
  en.success = ys("success");
8710
8712
  en.loading = ys("loading");
8711
8713
  en.custom = ys("custom");
8712
8714
  en.dismiss = (t) => {
8713
- Ki({ type: 3, toastId: t });
8715
+ qi({ type: 3, toastId: t });
8714
8716
  };
8715
- en.remove = (t) => Ki({ type: 4, toastId: t });
8717
+ en.remove = (t) => qi({ type: 4, toastId: t });
8716
8718
  en.promise = (t, e, n) => {
8717
8719
  let r = en.loading(e.loading, { ...n, ...n == null ? void 0 : n.loading });
8718
8720
  return typeof t == "function" && (t = t()), t.then((i) => {
@@ -8724,13 +8726,13 @@ en.promise = (t, e, n) => {
8724
8726
  }), t;
8725
8727
  };
8726
8728
  var $N = (t, e) => {
8727
- Ki({ type: 1, toast: { id: t, height: e } });
8729
+ qi({ type: 1, toast: { id: t, height: e } });
8728
8730
  }, XN = () => {
8729
- Ki({ type: 5, time: Date.now() });
8731
+ qi({ type: 5, time: Date.now() });
8730
8732
  }, Aa = /* @__PURE__ */ new Map(), YN = 1e3, ZN = (t, e = YN) => {
8731
8733
  if (Aa.has(t)) return;
8732
8734
  let n = setTimeout(() => {
8733
- Aa.delete(t), Ki({ type: 4, toastId: t });
8735
+ Aa.delete(t), qi({ type: 4, toastId: t });
8734
8736
  }, e);
8735
8737
  Aa.set(t, n);
8736
8738
  }, UN = (t) => {
@@ -8751,7 +8753,7 @@ var $N = (t, e) => {
8751
8753
  };
8752
8754
  }, [e, n]);
8753
8755
  let r = xe(() => {
8754
- n && Ki({ type: 6, time: Date.now() });
8756
+ n && qi({ type: 6, time: Date.now() });
8755
8757
  }, [n]), i = xe((o, a) => {
8756
8758
  let { reverseOrder: s = !1, gutter: l = 8, defaultPosition: u } = a || {}, c = e.filter((p) => (p.position || u) === (o.position || u) && p.height), d = c.findIndex((p) => p.id === o.id), f = c.filter((p, h) => h < d && p.visible).length;
8757
8759
  return c.filter((p) => p.visible).slice(...s ? [f + 1] : [0, f]).reduce((p, h) => p + (h.height || 0) + l, 0);
@@ -9311,17 +9313,17 @@ function P2(t) {
9311
9313
  }) || (e = r, n = t.apply(void 0, r)), n;
9312
9314
  };
9313
9315
  }
9314
- function Vi(t) {
9316
+ function Li(t) {
9315
9317
  return !!(t || "").match(/\d/);
9316
9318
  }
9317
- function Oi(t) {
9319
+ function Pi(t) {
9318
9320
  return t == null;
9319
9321
  }
9320
9322
  function D2(t) {
9321
9323
  return typeof t == "number" && isNaN(t);
9322
9324
  }
9323
9325
  function nC(t) {
9324
- return Oi(t) || D2(t) || typeof t == "number" && !isFinite(t);
9326
+ return Pi(t) || D2(t) || typeof t == "number" && !isFinite(t);
9325
9327
  }
9326
9328
  function rC(t) {
9327
9329
  return t.replace(/[-[\]/{}()*+?.\\^$|]/g, "\\$&");
@@ -9499,7 +9501,7 @@ function z2(t) {
9499
9501
  for (var e = Array.from({ length: t.length + 1 }).map(function() {
9500
9502
  return !0;
9501
9503
  }), n = 0, r = e.length; n < r; n++)
9502
- e[n] = !!(Vi(t[n]) || Vi(t[n - 1]));
9504
+ e[n] = !!(Li(t[n]) || Li(t[n - 1]));
9503
9505
  return e;
9504
9506
  }
9505
9507
  function uC(t, e, n, r, i, o) {
@@ -9508,14 +9510,14 @@ function uC(t, e, n, r, i, o) {
9508
9510
  var g, b;
9509
9511
  return nC(h) ? (b = "", g = "") : typeof h == "number" || m ? (b = typeof h == "number" ? oC(h) : h, g = r(b)) : (b = i(h, void 0), g = r(b)), { formattedValue: g, numAsString: b };
9510
9512
  }), s = De(function() {
9511
- return a(Oi(t) ? e : t, n);
9513
+ return a(Pi(t) ? e : t, n);
9512
9514
  }), l = s[0], u = s[1], c = function(h, m) {
9513
9515
  h.formattedValue !== l.formattedValue && u({
9514
9516
  formattedValue: h.formattedValue,
9515
9517
  numAsString: h.value
9516
9518
  }), o(h, m);
9517
9519
  }, d = t, f = n;
9518
- Oi(t) && (d = l.numAsString, f = !0);
9520
+ Pi(t) && (d = l.numAsString, f = !0);
9519
9521
  var p = a(d, f);
9520
9522
  return Pe(function() {
9521
9523
  u(p);
@@ -9549,7 +9551,7 @@ function cC(t) {
9549
9551
  var b = t.value, x = t.getCaretBoundary;
9550
9552
  x === void 0 && (x = z2);
9551
9553
  var w = t.isValidInputCharacter;
9552
- w === void 0 && (w = Vi);
9554
+ w === void 0 && (w = Li);
9553
9555
  var v = t.isCharacterSame, y = bh(t, ["type", "displayType", "customInput", "renderText", "getInputRef", "format", "removeFormatting", "defaultValue", "valueIsNumericString", "onValueChange", "isAllowed", "onChange", "onKeyDown", "onMouseUp", "onFocus", "onBlur", "value", "getCaretBoundary", "isValidInputCharacter", "isCharacterSame"]), C = uC(b, l, !!u, a, s, c), E = C[0], S = E.formattedValue, k = E.numAsString, I = C[1], A = Ce(), O = Ce({ formattedValue: S, numAsString: k }), P = function(re, le) {
9554
9556
  O.current = { formattedValue: re.formattedValue, numAsString: re.value }, I(re, le);
9555
9557
  }, R = De(!1), V = R[0], j = R[1], F = Ce(null), _ = Ce({
@@ -9720,7 +9722,7 @@ function Z2(t, e, n) {
9720
9722
  var a = n.suffix;
9721
9723
  a === void 0 && (a = "");
9722
9724
  var s = n.decimalScale, l = e.from, u = e.to, c = u.start, d = u.end, f = Zu(n), p = f.allowedDecimalSeparators, h = f.decimalSeparator, m = t[d] === h;
9723
- if (Vi(t) && (t === o || t === a) && e.lastValue === "")
9725
+ if (Li(t) && (t === o || t === a) && e.lastValue === "")
9724
9726
  return t;
9725
9727
  if (d - c === 1 && p.indexOf(t[c]) !== -1) {
9726
9728
  var g = s === 0 ? "" : h;
@@ -9786,8 +9788,8 @@ function K2(t) {
9786
9788
  return fb(j, t);
9787
9789
  }, w = function(j, F) {
9788
9790
  return Z2(j, F, t);
9789
- }, v = Oi(d) ? c : d, y = f ?? Y2(v, u, e);
9790
- Oi(d) ? Oi(c) || (y = y || typeof c == "number") : y = y || typeof d == "number";
9791
+ }, v = Pi(d) ? c : d, y = f ?? Y2(v, u, e);
9792
+ Pi(d) ? Pi(c) || (y = y || typeof c == "number") : y = y || typeof d == "number";
9791
9793
  var C = function(j) {
9792
9794
  return nC(j) ? j : (typeof j == "number" && (j = oC(j)), y && typeof s == "number" ? db(j, s, !!l) : j);
9793
9795
  }, E = uC(C(d), C(c), !!y, x, w, p), S = E[0], k = S.numAsString, I = S.formattedValue, A = E[1], O = function(j) {
@@ -9818,7 +9820,7 @@ function K2(t) {
9818
9820
  }
9819
9821
  o(j);
9820
9822
  }, R = function(j) {
9821
- return j === g ? !0 : Vi(j);
9823
+ return j === g ? !0 : Li(j);
9822
9824
  }, V = function(j) {
9823
9825
  var F = j.currentValue, _ = j.lastValue, H = j.formattedValue, M = j.currentValueIndex, D = j.formattedValueIndex, L = F[M], N = H[D], W = aC(_, F), X = W.to, Z = function(q) {
9824
9826
  return w(q).indexOf(".") + u.length;
@@ -9862,7 +9864,7 @@ function Q2(t, e, n) {
9862
9864
  return r[g] === i;
9863
9865
  }, u = function(g, b) {
9864
9866
  for (var x = "", w = 0; w < g.length; w++)
9865
- l(b + w) && Vi(g[w]) && (x += g[w]);
9867
+ l(b + w) && Li(g[w]) && (x += g[w]);
9866
9868
  return x;
9867
9869
  }, c = function(g) {
9868
9870
  return g.replace(/[^0-9]/g, "");
@@ -9872,7 +9874,7 @@ function Q2(t, e, n) {
9872
9874
  if ((s === "" || o.end - o.start === s.length) && t.length === r.length) {
9873
9875
  for (var d = "", f = 0; f < t.length; f++)
9874
9876
  if (l(f))
9875
- Vi(t[f]) && (d += t[f]);
9877
+ Li(t[f]) && (d += t[f]);
9876
9878
  else if (t[f] !== r[f])
9877
9879
  return c(t);
9878
9880
  return d;
@@ -9940,7 +9942,7 @@ function rF(t) {
9940
9942
  v = Ml(w, v, u(w), y);
9941
9943
  } else e[v] !== i && m !== "ArrowLeft" && m !== "ArrowRight" && (v = Ml(w, v + 1, u(w), "right"));
9942
9944
  v !== b && Dr(g, v), r(h);
9943
- }, d = Oi(o) ? a : o, f = s ?? nF(d, e), p = Object.assign(Object.assign({}, t), { valueIsNumericString: f });
9945
+ }, d = Pi(o) ? a : o, f = s ?? nF(d, e), p = Object.assign(Object.assign({}, t), { valueIsNumericString: f });
9944
9946
  return Object.assign(Object.assign({}, l), {
9945
9947
  value: o,
9946
9948
  defaultValue: a,
@@ -10082,7 +10084,7 @@ var yh = "Checkbox", [aF, xZ] = qr(yh), [sF, lF] = aF(yh), fC = B.forwardRef(
10082
10084
  onCheckedChange: u,
10083
10085
  form: c,
10084
10086
  ...d
10085
- } = t, [f, p] = B.useState(null), h = An(e, (v) => p(v)), m = B.useRef(!1), g = f ? c || !!f.closest("form") : !0, [b = !1, x] = Xi({
10087
+ } = t, [f, p] = B.useState(null), h = An(e, (v) => p(v)), m = B.useRef(!1), g = f ? c || !!f.closest("form") : !0, [b = !1, x] = Yi({
10086
10088
  prop: i,
10087
10089
  defaultProp: o,
10088
10090
  onChange: u
@@ -10277,7 +10279,7 @@ var xh = "Switch", [cF, wZ] = qr(xh), [dF, fF] = cF(xh), vC = B.forwardRef(
10277
10279
  onCheckedChange: u,
10278
10280
  form: c,
10279
10281
  ...d
10280
- } = t, [f, p] = B.useState(null), h = An(e, (w) => p(w)), m = B.useRef(!1), g = f ? c || !!f.closest("form") : !0, [b = !1, x] = Xi({
10282
+ } = t, [f, p] = B.useState(null), h = An(e, (w) => p(w)), m = B.useRef(!1), g = f ? c || !!f.closest("form") : !0, [b = !1, x] = Yi({
10281
10283
  prop: i,
10282
10284
  defaultProp: o,
10283
10285
  onChange: u
@@ -10535,7 +10537,7 @@ function hF(t) {
10535
10537
  const Cs = (t) => {
10536
10538
  var e;
10537
10539
  return (e = t == null ? void 0 : t.ownerDocument) !== null && e !== void 0 ? e : document;
10538
- }, yi = (t) => t && "window" in t && t.window === t ? t : Cs(t).defaultView || window;
10540
+ }, xi = (t) => t && "window" in t && t.window === t ? t : Cs(t).defaultView || window;
10539
10541
  function mF(t) {
10540
10542
  var e;
10541
10543
  return typeof window > "u" || window.navigator == null ? !1 : ((e = window.navigator.userAgentData) === null || e === void 0 ? void 0 : e.brands.some((n) => t.test(n.brand))) || t.test(window.navigator.userAgent);
@@ -10643,7 +10645,7 @@ function CF(t) {
10643
10645
  }
10644
10646
  };
10645
10647
  }
10646
- let ws = null, df = /* @__PURE__ */ new Set(), Ma = /* @__PURE__ */ new Map(), Li = !1, ff = !1;
10648
+ let ws = null, df = /* @__PURE__ */ new Set(), Ma = /* @__PURE__ */ new Map(), Gi = !1, ff = !1;
10647
10649
  const wF = {
10648
10650
  Tab: !0,
10649
10651
  Escape: !0
@@ -10655,26 +10657,26 @@ function SF(t) {
10655
10657
  return !(t.metaKey || !bF() && t.altKey || t.ctrlKey || t.key === "Control" || t.key === "Shift" || t.key === "Meta");
10656
10658
  }
10657
10659
  function Ol(t) {
10658
- Li = !0, SF(t) && (ws = "keyboard", Ch("keyboard", t));
10660
+ Gi = !0, SF(t) && (ws = "keyboard", Ch("keyboard", t));
10659
10661
  }
10660
10662
  function Sn(t) {
10661
- ws = "pointer", (t.type === "mousedown" || t.type === "pointerdown") && (Li = !0, Ch("pointer", t));
10663
+ ws = "pointer", (t.type === "mousedown" || t.type === "pointerdown") && (Gi = !0, Ch("pointer", t));
10662
10664
  }
10663
10665
  function TC(t) {
10664
- yF(t) && (Li = !0, ws = "virtual");
10666
+ yF(t) && (Gi = !0, ws = "virtual");
10665
10667
  }
10666
10668
  function AC(t) {
10667
- t.target === window || t.target === document || (!Li && !ff && (ws = "virtual", Ch("virtual", t)), Li = !1, ff = !1);
10669
+ t.target === window || t.target === document || (!Gi && !ff && (ws = "virtual", Ch("virtual", t)), Gi = !1, ff = !1);
10668
10670
  }
10669
10671
  function MC() {
10670
- Li = !1, ff = !0;
10672
+ Gi = !1, ff = !0;
10671
10673
  }
10672
10674
  function pf(t) {
10673
- if (typeof window > "u" || Ma.get(yi(t))) return;
10674
- const e = yi(t), n = Cs(t);
10675
+ if (typeof window > "u" || Ma.get(xi(t))) return;
10676
+ const e = xi(t), n = Cs(t);
10675
10677
  let r = e.HTMLElement.prototype.focus;
10676
10678
  e.HTMLElement.prototype.focus = function() {
10677
- Li = !0, r.apply(this, arguments);
10679
+ Gi = !0, r.apply(this, arguments);
10678
10680
  }, n.addEventListener("keydown", Ol, !0), n.addEventListener("keyup", Ol, !0), n.addEventListener("click", TC, !0), e.addEventListener("focus", AC, !0), e.addEventListener("blur", MC, !1), typeof PointerEvent < "u" ? (n.addEventListener("pointerdown", Sn, !0), n.addEventListener("pointermove", Sn, !0), n.addEventListener("pointerup", Sn, !0)) : (n.addEventListener("mousedown", Sn, !0), n.addEventListener("mousemove", Sn, !0), n.addEventListener("mouseup", Sn, !0)), e.addEventListener("beforeunload", () => {
10679
10681
  OC(t);
10680
10682
  }, {
@@ -10684,7 +10686,7 @@ function pf(t) {
10684
10686
  });
10685
10687
  }
10686
10688
  const OC = (t, e) => {
10687
- const n = yi(t), r = Cs(t);
10689
+ const n = xi(t), r = Cs(t);
10688
10690
  e && r.removeEventListener("DOMContentLoaded", e), Ma.has(n) && (n.HTMLElement.prototype.focus = Ma.get(n).focus, r.removeEventListener("keydown", Ol, !0), r.removeEventListener("keyup", Ol, !0), r.removeEventListener("click", TC, !0), n.removeEventListener("focus", AC, !0), n.removeEventListener("blur", MC, !1), typeof PointerEvent < "u" ? (r.removeEventListener("pointerdown", Sn, !0), r.removeEventListener("pointermove", Sn, !0), r.removeEventListener("pointerup", Sn, !0)) : (r.removeEventListener("mousedown", Sn, !0), r.removeEventListener("mousemove", Sn, !0), r.removeEventListener("mouseup", Sn, !0)), Ma.delete(n));
10689
10691
  };
10690
10692
  function kF(t) {
@@ -10711,7 +10713,7 @@ const EF = /* @__PURE__ */ new Set([
10711
10713
  ]);
10712
10714
  function IF(t, e, n) {
10713
10715
  var r;
10714
- const i = typeof window < "u" ? yi(n == null ? void 0 : n.target).HTMLInputElement : HTMLInputElement, o = typeof window < "u" ? yi(n == null ? void 0 : n.target).HTMLTextAreaElement : HTMLTextAreaElement, a = typeof window < "u" ? yi(n == null ? void 0 : n.target).HTMLElement : HTMLElement, s = typeof window < "u" ? yi(n == null ? void 0 : n.target).KeyboardEvent : KeyboardEvent;
10716
+ const i = typeof window < "u" ? xi(n == null ? void 0 : n.target).HTMLInputElement : HTMLInputElement, o = typeof window < "u" ? xi(n == null ? void 0 : n.target).HTMLTextAreaElement : HTMLTextAreaElement, a = typeof window < "u" ? xi(n == null ? void 0 : n.target).HTMLElement : HTMLElement, s = typeof window < "u" ? xi(n == null ? void 0 : n.target).KeyboardEvent : KeyboardEvent;
10715
10717
  return t = t || (n == null ? void 0 : n.target) instanceof i && !EF.has(n == null || (r = n.target) === null || r === void 0 ? void 0 : r.type) || (n == null ? void 0 : n.target) instanceof o || (n == null ? void 0 : n.target) instanceof a && (n == null ? void 0 : n.target.isContentEditable), !(t && e === "keyboard" && n instanceof s && !wF[n.key]);
10716
10718
  }
10717
10719
  function TF(t, e, n) {
@@ -10884,9 +10886,9 @@ let DF = class {
10884
10886
  get isHandoffComplete() {
10885
10887
  return this.handoffState === "complete";
10886
10888
  }
10887
- }, Pi = new DF();
10889
+ }, Di = new DF();
10888
10890
  function Ss(t) {
10889
- return Pi.isServer ? null : t instanceof Node ? t.ownerDocument : t != null && t.hasOwnProperty("current") && t.current instanceof Node ? t.current.ownerDocument : document;
10891
+ return Di.isServer ? null : t instanceof Node ? t.ownerDocument : t != null && t.hasOwnProperty("current") && t.current instanceof Node ? t.current.ownerDocument : document;
10890
10892
  }
10891
10893
  function NC(t) {
10892
10894
  typeof queueMicrotask == "function" ? queueMicrotask(t) : Promise.resolve().then(t).catch((e) => setTimeout(() => {
@@ -10934,16 +10936,16 @@ function ks() {
10934
10936
  return ze(() => () => t.dispose(), [t]), t;
10935
10937
  }
10936
10938
  let ft = (t, e) => {
10937
- Pi.isServer ? ze(t, e) : Ho(t, e);
10939
+ Di.isServer ? ze(t, e) : Ho(t, e);
10938
10940
  };
10939
- function qi(t) {
10941
+ function Qi(t) {
10940
10942
  let e = Ce(t);
10941
10943
  return ft(() => {
10942
10944
  e.current = t;
10943
10945
  }, [t]), e;
10944
10946
  }
10945
10947
  let Ne = function(t) {
10946
- let e = qi(t);
10948
+ let e = Qi(t);
10947
10949
  return oe.useCallback((...n) => e.current(...n), [e]);
10948
10950
  };
10949
10951
  function RF(t) {
@@ -11023,17 +11025,17 @@ function Ls(t, e = {}, n, r, i) {
11023
11025
  for (let h of p) d[`data-${h}`] = "";
11024
11026
  }
11025
11027
  }
11026
- if (o === Vt && (Object.keys(di(l)).length > 0 || Object.keys(di(d)).length > 0)) if (!yx(c) || Array.isArray(c) && c.length > 1) {
11027
- if (Object.keys(di(l)).length > 0) throw new Error(['Passing props on "Fragment"!', "", `The current component <${r} /> is rendering a "Fragment".`, "However we need to passthrough the following props:", Object.keys(di(l)).concat(Object.keys(di(d))).map((f) => ` - ${f}`).join(`
11028
+ if (o === Xt && (Object.keys(fi(l)).length > 0 || Object.keys(fi(d)).length > 0)) if (!yx(c) || Array.isArray(c) && c.length > 1) {
11029
+ if (Object.keys(fi(l)).length > 0) throw new Error(['Passing props on "Fragment"!', "", `The current component <${r} /> is rendering a "Fragment".`, "However we need to passthrough the following props:", Object.keys(fi(l)).concat(Object.keys(fi(d))).map((f) => ` - ${f}`).join(`
11028
11030
  `), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".', "Render a single element as the child so that we can forward the props onto that element."].map((f) => ` - ${f}`).join(`
11029
11031
  `)].join(`
11030
11032
  `));
11031
11033
  } else {
11032
- let f = c.props, p = f == null ? void 0 : f.className, h = typeof p == "function" ? (...b) => hb(p(...b), l.className) : hb(p, l.className), m = h ? { className: h } : {}, g = FC(c.props, di(Wc(l, ["ref"])));
11034
+ let f = c.props, p = f == null ? void 0 : f.className, h = typeof p == "function" ? (...b) => hb(p(...b), l.className) : hb(p, l.className), m = h ? { className: h } : {}, g = FC(c.props, fi(Wc(l, ["ref"])));
11033
11035
  for (let b in d) b in g && delete d[b];
11034
11036
  return aI(c, Object.assign({}, g, d, u, { ref: i(_F(c), u.ref) }, m));
11035
11037
  }
11036
- return xx(o, Object.assign({}, Wc(l, ["ref"]), o !== Vt && u, o !== Vt && d), c);
11038
+ return xx(o, Object.assign({}, Wc(l, ["ref"]), o !== Xt && u, o !== Xt && d), c);
11037
11039
  }
11038
11040
  function LF() {
11039
11041
  let t = Ce([]), e = xe((n) => {
@@ -11081,7 +11083,7 @@ function Bn(t) {
11081
11083
  var e;
11082
11084
  return Object.assign(Dt(t), { displayName: (e = t.displayName) != null ? e : t.name });
11083
11085
  }
11084
- function di(t) {
11086
+ function fi(t) {
11085
11087
  let e = Object.assign({}, t);
11086
11088
  for (let n in e) e[n] === void 0 && delete e[n];
11087
11089
  return e;
@@ -11131,7 +11133,7 @@ function ZF({ data: t, form: e, disabled: n, onReset: r, overrides: i }) {
11131
11133
  let [o, a] = De(null), s = ks();
11132
11134
  return ze(() => {
11133
11135
  if (r && o) return s.addEventListener(o, "reset", r);
11134
- }, [o, e, r]), oe.createElement(YF, null, oe.createElement(UF, { setForm: a, formId: e }), jC(t).map(([l, u]) => oe.createElement(LC, { features: kh.Hidden, ...di({ key: l, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: e, disabled: n, name: l, value: u, ...i }) })));
11136
+ }, [o, e, r]), oe.createElement(YF, null, oe.createElement(UF, { setForm: a, formId: e }), jC(t).map(([l, u]) => oe.createElement(LC, { features: kh.Hidden, ...fi({ key: l, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: e, disabled: n, name: l, value: u, ...i }) })));
11135
11137
  }
11136
11138
  function UF({ setForm: t, formId: e }) {
11137
11139
  return ze(() => {
@@ -11731,7 +11733,7 @@ function xj(t) {
11731
11733
  ...t,
11732
11734
  onChange: (i, o) => {
11733
11735
  var a;
11734
- o ? gi(e) : e(), (a = t.onChange) == null || a.call(t, i, o);
11736
+ o ? bi(e) : e(), (a = t.onChange) == null || a.call(t, i, o);
11735
11737
  }
11736
11738
  }, [r] = B.useState(
11737
11739
  () => new vj(n)
@@ -11847,7 +11849,7 @@ function Tj(t, { allowed: e, disallowed: n } = {}) {
11847
11849
  }, [r, e, n]);
11848
11850
  }
11849
11851
  function Aj(t, e, n) {
11850
- let r = qi((i) => {
11852
+ let r = Qi((i) => {
11851
11853
  let o = i.getBoundingClientRect();
11852
11854
  o.x === 0 && o.y === 0 && o.width === 0 && o.height === 0 && n();
11853
11855
  });
@@ -11906,7 +11908,7 @@ function UC() {
11906
11908
  return ZC() || Fj();
11907
11909
  }
11908
11910
  function ia(t, e, n, r) {
11909
- let i = qi(n);
11911
+ let i = Qi(n);
11910
11912
  ze(() => {
11911
11913
  if (!t) return;
11912
11914
  function o(a) {
@@ -11916,7 +11918,7 @@ function ia(t, e, n, r) {
11916
11918
  }, [t, e, r]);
11917
11919
  }
11918
11920
  function jj(t, e, n, r) {
11919
- let i = qi(n);
11921
+ let i = Qi(n);
11920
11922
  ze(() => {
11921
11923
  if (!t) return;
11922
11924
  function o(a) {
@@ -11927,7 +11929,7 @@ function jj(t, e, n, r) {
11927
11929
  }
11928
11930
  const xb = 30;
11929
11931
  function Bj(t, e, n) {
11930
- let r = Ih(t, "outside-click"), i = qi(n), o = xe(function(l, u) {
11932
+ let r = Ih(t, "outside-click"), i = Qi(n), o = xe(function(l, u) {
11931
11933
  if (l.defaultPrevented) return;
11932
11934
  let c = u(l);
11933
11935
  if (c === null || !c.getRootNode().contains(c) || !c.isConnected) return;
@@ -11958,7 +11960,7 @@ function qu(...t) {
11958
11960
  return Pe(() => Ss(...t), [...t]);
11959
11961
  }
11960
11962
  function Vj(t, e, n, r) {
11961
- let i = qi(n);
11963
+ let i = Qi(n);
11962
11964
  ze(() => {
11963
11965
  t = t ?? window;
11964
11966
  function o(a) {
@@ -12055,7 +12057,7 @@ function Wj(t) {
12055
12057
  for (let n of t) Object.assign(e, n(e));
12056
12058
  return e;
12057
12059
  }
12058
- let xi = $C(() => /* @__PURE__ */ new Map(), { PUSH(t, e) {
12060
+ let Ci = $C(() => /* @__PURE__ */ new Map(), { PUSH(t, e) {
12059
12061
  var n;
12060
12062
  let r = (n = this.get(t)) != null ? n : { doc: t, count: 0, d: Qn(), meta: /* @__PURE__ */ new Set() };
12061
12063
  return r.count++, r.meta.add(e), this.set(t, r), this;
@@ -12070,18 +12072,18 @@ let xi = $C(() => /* @__PURE__ */ new Map(), { PUSH(t, e) {
12070
12072
  }, TEARDOWN({ doc: t }) {
12071
12073
  this.delete(t);
12072
12074
  } });
12073
- xi.subscribe(() => {
12074
- let t = xi.getSnapshot(), e = /* @__PURE__ */ new Map();
12075
+ Ci.subscribe(() => {
12076
+ let t = Ci.getSnapshot(), e = /* @__PURE__ */ new Map();
12075
12077
  for (let [n] of t) e.set(n, n.documentElement.style.overflow);
12076
12078
  for (let n of t.values()) {
12077
12079
  let r = e.get(n.doc) === "hidden", i = n.count !== 0;
12078
- (i && !r || !i && r) && xi.dispatch(n.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", n), n.count === 0 && xi.dispatch("TEARDOWN", n);
12080
+ (i && !r || !i && r) && Ci.dispatch(n.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", n), n.count === 0 && Ci.dispatch("TEARDOWN", n);
12079
12081
  }
12080
12082
  });
12081
12083
  function Hj(t, e, n = () => ({ containers: [] })) {
12082
- let r = XC(xi), i = e ? r.get(e) : void 0, o = i ? i.count > 0 : !1;
12084
+ let r = XC(Ci), i = e ? r.get(e) : void 0, o = i ? i.count > 0 : !1;
12083
12085
  return ft(() => {
12084
- if (!(!e || !t)) return xi.dispatch("PUSH", e, n), () => xi.dispatch("POP", e, n);
12086
+ if (!(!e || !t)) return Ci.dispatch("PUSH", e, n), () => Ci.dispatch("POP", e, n);
12085
12087
  }, [t, e]), o;
12086
12088
  }
12087
12089
  function $j(t, e, n = () => [document.body]) {
@@ -12691,12 +12693,12 @@ function PB(t) {
12691
12693
  }
12692
12694
  typeof window < "u" && typeof document < "u" && (document.addEventListener("DOMContentLoaded", e), e());
12693
12695
  }
12694
- let fi = [];
12696
+ let pi = [];
12695
12697
  PB(() => {
12696
12698
  function t(e) {
12697
- if (!(e.target instanceof HTMLElement) || e.target === document.body || fi[0] === e.target) return;
12699
+ if (!(e.target instanceof HTMLElement) || e.target === document.body || pi[0] === e.target) return;
12698
12700
  let n = e.target;
12699
- n = n.closest(bf), fi.unshift(n ?? e.target), fi = fi.filter((r) => r != null && r.isConnected), fi.splice(10);
12701
+ n = n.closest(bf), pi.unshift(n ?? e.target), pi = pi.filter((r) => r != null && r.isConnected), pi.splice(10);
12700
12702
  }
12701
12703
  window.addEventListener("click", t, { capture: !0 }), window.addEventListener("mousedown", t, { capture: !0 }), window.addEventListener("focus", t, { capture: !0 }), document.body.addEventListener("click", t, { capture: !0 }), document.body.addEventListener("mousedown", t, { capture: !0 }), document.body.addEventListener("focus", t, { capture: !0 });
12702
12704
  });
@@ -12751,10 +12753,10 @@ function NB() {
12751
12753
  }, () => !1, () => !t) : !1;
12752
12754
  }
12753
12755
  function FB() {
12754
- let t = NB(), [e, n] = B.useState(Pi.isHandoffComplete);
12755
- return e && Pi.isHandoffComplete === !1 && n(!1), B.useEffect(() => {
12756
+ let t = NB(), [e, n] = B.useState(Di.isHandoffComplete);
12757
+ return e && Di.isHandoffComplete === !1 && n(!1), B.useEffect(() => {
12756
12758
  e !== !0 && n(!0);
12757
- }, [e]), B.useEffect(() => Pi.handoff(), []), t ? !1 : e;
12759
+ }, [e]), B.useEffect(() => Di.handoff(), []), t ? !1 : e;
12758
12760
  }
12759
12761
  let jB = st(!1);
12760
12762
  function BB() {
@@ -12764,7 +12766,7 @@ function VB(t) {
12764
12766
  let e = BB(), n = _e(tw), r = qu(t), [i, o] = De(() => {
12765
12767
  var a;
12766
12768
  if (!e && n !== null) return (a = n.current) != null ? a : null;
12767
- if (Pi.isServer) return null;
12769
+ if (Di.isServer) return null;
12768
12770
  let s = r == null ? void 0 : r.getElementById("headlessui-portal-root");
12769
12771
  if (s) return s;
12770
12772
  if (r === null) return null;
@@ -12777,12 +12779,12 @@ function VB(t) {
12777
12779
  e || n !== null && o(n.current);
12778
12780
  }, [n, o, e]), i;
12779
12781
  }
12780
- let ew = Vt, LB = Bn(function(t, e) {
12782
+ let ew = Xt, LB = Bn(function(t, e) {
12781
12783
  let n = t, r = Ce(null), i = wr(QF((d) => {
12782
12784
  r.current = d;
12783
12785
  }), e), o = qu(r), a = VB(r), [s] = De(() => {
12784
12786
  var d;
12785
- return Pi.isServer ? null : (d = o == null ? void 0 : o.createElement("div")) != null ? d : null;
12787
+ return Di.isServer ? null : (d = o == null ? void 0 : o.createElement("div")) != null ? d : null;
12786
12788
  }), l = _e(WB), u = FB();
12787
12789
  ft(() => {
12788
12790
  !a || !s || a.contains(s) || (s.setAttribute("data-headlessui-portal", ""), a.appendChild(s));
@@ -12799,7 +12801,7 @@ function GB(t, e) {
12799
12801
  let n = wr(e), { enabled: r = !0, ...i } = t, o = jn();
12800
12802
  return r ? oe.createElement(LB, { ...i, ref: n }) : o({ ourProps: { ref: n }, theirProps: i, slot: {}, defaultTag: ew, name: "Portal" });
12801
12803
  }
12802
- let _B = Vt, tw = st(null);
12804
+ let _B = Xt, tw = st(null);
12803
12805
  function zB(t, e) {
12804
12806
  let { target: n, ...r } = t, i = { ref: wr(e) }, o = jn();
12805
12807
  return oe.createElement(tw.Provider, { value: n }, o({ ourProps: i, theirProps: r, defaultTag: _B, name: "Popover.Group" }));
@@ -12897,7 +12899,7 @@ function qB(t) {
12897
12899
  u && e.activationTrigger !== 0 && e.activeOptionIndex !== null && n.length > e.activeOptionIndex && o.scrollToIndex(e.activeOptionIndex);
12898
12900
  } }, l.map((u) => {
12899
12901
  var c;
12900
- return oe.createElement(Vt, { key: u.key }, oe.cloneElement((c = t.children) == null ? void 0 : c.call(t, { ...t.slot, option: n[u.index] }), { key: `${a}-${u.key}`, "data-index": u.index, "aria-setsize": n.length, "aria-posinset": u.index + 1, style: { position: "absolute", top: 0, left: 0, transform: `translateY(${u.start}px)`, overflowAnchor: "none" } }));
12902
+ return oe.createElement(Xt, { key: u.key }, oe.cloneElement((c = t.children) == null ? void 0 : c.call(t, { ...t.slot, option: n[u.index] }), { key: `${a}-${u.key}`, "data-index": u.index, "aria-setsize": n.length, "aria-posinset": u.index + 1, style: { position: "absolute", top: 0, left: 0, transform: `translateY(${u.start}px)`, overflowAnchor: "none" } }));
12901
12903
  })));
12902
12904
  }
12903
12905
  let Ua = st(null);
@@ -12913,7 +12915,7 @@ function Zo(t) {
12913
12915
  function QB(t, e) {
12914
12916
  return mr(e.type, KB, t, e);
12915
12917
  }
12916
- let eV = Vt;
12918
+ let eV = Xt;
12917
12919
  function tV(t, e) {
12918
12920
  var n, r;
12919
12921
  let i = wh(), { value: o, defaultValue: a, onChange: s, form: l, name: u, by: c, disabled: d = i || !1, onClose: f, __demoMode: p = !1, multiple: h = !1, immediate: m = !1, virtual: g = null, nullable: b, ...x } = t, w = WF(a), [v = h ? [] : void 0, y] = zF(o, s, w), [C, E] = Tp(QB, { dataRef: lI(), comboboxState: p ? 0 : 1, isTyping: !1, options: [], virtual: g ? { options: g.options, disabled: (n = g.disabled) != null ? n : () => !1 } : null, activeOptionIndex: null, activationTrigger: 2, inputElement: null, buttonElement: null, optionsElement: null, __demoMode: p }), S = Ce(!1), k = Ce({ static: !1, hold: !1 }), I = Sj(c), A = Ne((Y) => g ? c === null ? g.options.indexOf(Y) : g.options.findIndex((ne) => I(ne, Y)) : C.options.findIndex((ne) => I(ne.dataRef.current.value, Y))), O = xe((Y) => mr(R.mode, { 1: () => v.some((ne) => I(ne, Y)), 0: () => I(v, Y) }), [v]), P = Ne((Y) => C.activeOptionIndex === A(Y)), R = Pe(() => ({ ...C, immediate: m, optionsPropsRef: k, value: v, defaultValue: w, disabled: d, mode: h ? 1 : 0, virtual: g ? C.virtual : null, get activeOptionIndex() {
@@ -13022,7 +13024,7 @@ function rV(t, e) {
13022
13024
  return N.preventDefault(), N.stopPropagation(), mr(s.comboboxState, { 0: () => l.goToOption(xt.Next), 1: () => l.openCombobox() });
13023
13025
  case Qt.ArrowUp:
13024
13026
  return N.preventDefault(), N.stopPropagation(), mr(s.comboboxState, { 0: () => l.goToOption(xt.Previous), 1: () => {
13025
- gi(() => l.openCombobox()), s.value || l.goToOption(xt.Last);
13027
+ bi(() => l.openCombobox()), s.value || l.goToOption(xt.Last);
13026
13028
  } });
13027
13029
  case Qt.Home:
13028
13030
  if (N.shiftKey) break;
@@ -13045,13 +13047,13 @@ function rV(t, e) {
13045
13047
  f == null || f(N), s.mode === 0 && N.target.value === "" && C(), l.openCombobox();
13046
13048
  }), P = Ne((N) => {
13047
13049
  var W, X, Z;
13048
- let q = (W = N.relatedTarget) != null ? W : fi.find(($) => $ !== N.currentTarget);
13050
+ let q = (W = N.relatedTarget) != null ? W : pi.find(($) => $ !== N.currentTarget);
13049
13051
  if (!((X = s.optionsElement) != null && X.contains(q)) && !((Z = s.buttonElement) != null && Z.contains(q)) && s.comboboxState === 0) return N.preventDefault(), s.mode === 0 && s.value === null && C(), l.closeCombobox();
13050
13052
  }), R = Ne((N) => {
13051
13053
  var W, X, Z;
13052
- let q = (W = N.relatedTarget) != null ? W : fi.find(($) => $ !== N.currentTarget);
13054
+ let q = (W = N.relatedTarget) != null ? W : pi.find(($) => $ !== N.currentTarget);
13053
13055
  (X = s.buttonElement) != null && X.contains(q) || (Z = s.optionsElement) != null && Z.contains(q) || s.disabled || s.immediate && s.comboboxState !== 0 && y.microTask(() => {
13054
- gi(() => l.openCombobox()), l.setActivationTrigger(1);
13056
+ bi(() => l.openCombobox()), l.setActivationTrigger(1);
13055
13057
  });
13056
13058
  }), V = Ku(), j = ej(), { isFocused: F, focusProps: _ } = RC({ autoFocus: m }), { isHovered: H, hoverProps: M } = DC({ isDisabled: h }), D = Pe(() => ({ open: s.comboboxState === 0, disabled: h, hover: H, focus: F, autofocus: m }), [s, H, F, m, h]), L = Sh({ ref: w, id: d, role: "combobox", type: g, "aria-controls": (n = s.optionsElement) == null ? void 0 : n.id, "aria-expanded": s.comboboxState === 0, "aria-activedescendant": s.activeOptionIndex === null ? void 0 : s.virtual ? (r = s.options.find((N) => !N.dataRef.current.disabled && s.compare(N.dataRef.current.value, s.virtual.options[s.activeOptionIndex]))) == null ? void 0 : r.id : (i = s.options[s.activeOptionIndex]) == null ? void 0 : i.id, "aria-labelledby": V, "aria-describedby": j, "aria-autocomplete": "list", defaultValue: (a = (o = t.defaultValue) != null ? o : s.defaultValue !== void 0 ? p == null ? void 0 : p(s.defaultValue) : null) != null ? a : s.defaultValue, disabled: h || void 0, autoFocus: m, onCompositionStart: k, onCompositionEnd: I, onKeyDown: A, onChange: O, onFocus: R, onBlur: P }, _, M);
13057
13059
  return jn()({ ourProps: L, theirProps: b, slot: D, defaultTag: nV, name: "Combobox.Input" });
@@ -13063,17 +13065,17 @@ function oV(t, e) {
13063
13065
  switch (E.key) {
13064
13066
  case Qt.Space:
13065
13067
  case Qt.Enter:
13066
- E.preventDefault(), E.stopPropagation(), r.comboboxState === 1 && gi(() => i.openCombobox()), d();
13068
+ E.preventDefault(), E.stopPropagation(), r.comboboxState === 1 && bi(() => i.openCombobox()), d();
13067
13069
  return;
13068
13070
  case Qt.ArrowDown:
13069
- E.preventDefault(), E.stopPropagation(), r.comboboxState === 1 && (gi(() => i.openCombobox()), r.value || i.goToOption(xt.First)), d();
13071
+ E.preventDefault(), E.stopPropagation(), r.comboboxState === 1 && (bi(() => i.openCombobox()), r.value || i.goToOption(xt.First)), d();
13070
13072
  return;
13071
13073
  case Qt.ArrowUp:
13072
- E.preventDefault(), E.stopPropagation(), r.comboboxState === 1 && (gi(() => i.openCombobox()), r.value || i.goToOption(xt.Last)), d();
13074
+ E.preventDefault(), E.stopPropagation(), r.comboboxState === 1 && (bi(() => i.openCombobox()), r.value || i.goToOption(xt.Last)), d();
13073
13075
  return;
13074
13076
  case Qt.Escape:
13075
13077
  if (r.comboboxState !== 0) return;
13076
- E.preventDefault(), r.optionsElement && !r.optionsPropsRef.current.static && E.stopPropagation(), gi(() => i.closeCombobox()), d();
13078
+ E.preventDefault(), r.optionsElement && !r.optionsPropsRef.current.static && E.stopPropagation(), bi(() => i.closeCombobox()), d();
13077
13079
  return;
13078
13080
  default:
13079
13081
  return;
@@ -13118,7 +13120,7 @@ function lV(t, e) {
13118
13120
  let uV = "div";
13119
13121
  function cV(t, e) {
13120
13122
  var n, r, i, o;
13121
- let a = Zo("Combobox.Option"), s = Is("Combobox.Option"), l = Zt(), { id: u = `headlessui-combobox-option-${l}`, value: c, disabled: d = (i = (r = (n = a.virtual) == null ? void 0 : n.disabled) == null ? void 0 : r.call(n, c)) != null ? i : !1, order: f = null, ...p } = t, h = JC(a.inputElement), m = a.virtual ? a.activeOptionIndex === a.calculateIndex(c) : a.activeOptionIndex === null ? !1 : ((o = a.options[a.activeOptionIndex]) == null ? void 0 : o.id) === u, g = a.isSelected(c), b = Ce(null), x = qi({ disabled: d, value: c, domRef: b, order: f }), w = _e(nw), v = wr(e, b, w ? w.measureElement : null), y = Ne(() => {
13123
+ let a = Zo("Combobox.Option"), s = Is("Combobox.Option"), l = Zt(), { id: u = `headlessui-combobox-option-${l}`, value: c, disabled: d = (i = (r = (n = a.virtual) == null ? void 0 : n.disabled) == null ? void 0 : r.call(n, c)) != null ? i : !1, order: f = null, ...p } = t, h = JC(a.inputElement), m = a.virtual ? a.activeOptionIndex === a.calculateIndex(c) : a.activeOptionIndex === null ? !1 : ((o = a.options[a.activeOptionIndex]) == null ? void 0 : o.id) === u, g = a.isSelected(c), b = Ce(null), x = Qi({ disabled: d, value: c, domRef: b, order: f }), w = _e(nw), v = wr(e, b, w ? w.measureElement : null), y = Ne(() => {
13122
13124
  s.setIsTyping(!1), s.onChange(c);
13123
13125
  });
13124
13126
  ft(() => s.registerOption(u, x), [x, u]);
@@ -13237,10 +13239,10 @@ function Bb(t, e, n) {
13237
13239
  function mV(t) {
13238
13240
  return t;
13239
13241
  }
13240
- var Ei, Fr, ko, cx, gV = (cx = class extends Nh {
13242
+ var Ii, Fr, ko, cx, gV = (cx = class extends Nh {
13241
13243
  constructor() {
13242
13244
  super();
13243
- lt(this, Ei);
13245
+ lt(this, Ii);
13244
13246
  lt(this, Fr);
13245
13247
  lt(this, ko);
13246
13248
  He(this, ko, (e) => {
@@ -13266,7 +13268,7 @@ var Ei, Fr, ko, cx, gV = (cx = class extends Nh {
13266
13268
  }));
13267
13269
  }
13268
13270
  setFocused(e) {
13269
- pe(this, Ei) !== e && (He(this, Ei, e), this.onFocus());
13271
+ pe(this, Ii) !== e && (He(this, Ii, e), this.onFocus());
13270
13272
  }
13271
13273
  onFocus() {
13272
13274
  const e = this.isFocused();
@@ -13276,9 +13278,9 @@ var Ei, Fr, ko, cx, gV = (cx = class extends Nh {
13276
13278
  }
13277
13279
  isFocused() {
13278
13280
  var e;
13279
- return typeof pe(this, Ei) == "boolean" ? pe(this, Ei) : ((e = globalThis.document) == null ? void 0 : e.visibilityState) !== "hidden";
13281
+ return typeof pe(this, Ii) == "boolean" ? pe(this, Ii) : ((e = globalThis.document) == null ? void 0 : e.visibilityState) !== "hidden";
13280
13282
  }
13281
- }, Ei = new WeakMap(), Fr = new WeakMap(), ko = new WeakMap(), cx), bV = new gV(), Eo, jr, Io, dx, vV = (dx = class extends Nh {
13283
+ }, Ii = new WeakMap(), Fr = new WeakMap(), ko = new WeakMap(), cx), bV = new gV(), Eo, jr, Io, dx, vV = (dx = class extends Nh {
13282
13284
  constructor() {
13283
13285
  super();
13284
13286
  lt(this, Eo, !0);
@@ -13409,7 +13411,7 @@ function wV(t, e) {
13409
13411
  }
13410
13412
  };
13411
13413
  }
13412
- var on, $e, ps, qt, Ii, To, Br, Wn, hs, Ao, Mo, Ti, Ai, Vr, Oo, qe, ma, Sf, kf, Ef, If, Tf, Af, Mf, ow, fx, SV = (fx = class extends Nh {
13414
+ var on, $e, ps, qt, Ti, To, Br, Wn, hs, Ao, Mo, Ai, Mi, Vr, Oo, qe, ma, Sf, kf, Ef, If, Tf, Af, Mf, ow, fx, SV = (fx = class extends Nh {
13413
13415
  constructor(e, n) {
13414
13416
  super();
13415
13417
  lt(this, qe);
@@ -13417,7 +13419,7 @@ var on, $e, ps, qt, Ii, To, Br, Wn, hs, Ao, Mo, Ti, Ai, Vr, Oo, qe, ma, Sf, kf,
13417
13419
  lt(this, $e);
13418
13420
  lt(this, ps);
13419
13421
  lt(this, qt);
13420
- lt(this, Ii);
13422
+ lt(this, Ti);
13421
13423
  lt(this, To);
13422
13424
  lt(this, Br);
13423
13425
  lt(this, Wn);
@@ -13426,8 +13428,8 @@ var on, $e, ps, qt, Ii, To, Br, Wn, hs, Ao, Mo, Ti, Ai, Vr, Oo, qe, ma, Sf, kf,
13426
13428
  // This property keeps track of the last query with defined data.
13427
13429
  // It will be used to pass the previous data and query to the placeholder function between renders.
13428
13430
  lt(this, Mo);
13429
- lt(this, Ti);
13430
13431
  lt(this, Ai);
13432
+ lt(this, Mi);
13431
13433
  lt(this, Vr);
13432
13434
  lt(this, Oo, /* @__PURE__ */ new Set());
13433
13435
  this.options = n, He(this, on, e), He(this, Wn, null), He(this, Br, Vb()), this.options.experimental_prefetchInRender || pe(this, Br).reject(
@@ -13483,7 +13485,7 @@ var on, $e, ps, qt, Ii, To, Br, Wn, hs, Ao, Mo, Ti, Ai, Vr, Oo, qe, ma, Sf, kf,
13483
13485
  }
13484
13486
  getOptimisticResult(e) {
13485
13487
  const n = pe(this, on).getQueryCache().build(pe(this, on), e), r = this.createResult(n, e);
13486
- return EV(this, r) && (He(this, qt, r), He(this, To, this.options), He(this, Ii, pe(this, $e).state)), r;
13488
+ return EV(this, r) && (He(this, qt, r), He(this, To, this.options), He(this, Ti, pe(this, $e).state)), r;
13487
13489
  }
13488
13490
  getCurrentResult() {
13489
13491
  return pe(this, qt);
@@ -13521,7 +13523,7 @@ var on, $e, ps, qt, Ii, To, Br, Wn, hs, Ao, Mo, Ti, Ai, Vr, Oo, qe, ma, Sf, kf,
13521
13523
  }
13522
13524
  createResult(e, n) {
13523
13525
  var S;
13524
- const r = pe(this, $e), i = this.options, o = pe(this, qt), a = pe(this, Ii), s = pe(this, To), u = e !== r ? e.state : pe(this, ps), { state: c } = e;
13526
+ const r = pe(this, $e), i = this.options, o = pe(this, qt), a = pe(this, Ti), s = pe(this, To), u = e !== r ? e.state : pe(this, ps), { state: c } = e;
13525
13527
  let d = { ...c }, f = !1, p;
13526
13528
  if (n._optimisticResults) {
13527
13529
  const k = this.hasListeners(), I = !k && Lb(e, n), A = k && Gb(e, r, n, i);
@@ -13612,7 +13614,7 @@ var on, $e, ps, qt, Ii, To, Br, Wn, hs, Ao, Mo, Ti, Ai, Vr, Oo, qe, ma, Sf, kf,
13612
13614
  }
13613
13615
  updateResult(e) {
13614
13616
  const n = pe(this, qt), r = this.createResult(pe(this, $e), this.options);
13615
- if (He(this, Ii, pe(this, $e).state), He(this, To, this.options), pe(this, Ii).data !== void 0 && He(this, Mo, pe(this, $e)), wf(r, n))
13617
+ if (He(this, Ti, pe(this, $e).state), He(this, To, this.options), pe(this, Ti).data !== void 0 && He(this, Mo, pe(this, $e)), wf(r, n))
13616
13618
  return;
13617
13619
  He(this, qt, r);
13618
13620
  const i = {}, o = () => {
@@ -13634,7 +13636,7 @@ var on, $e, ps, qt, Ii, To, Br, Wn, hs, Ao, Mo, Ti, Ai, Vr, Oo, qe, ma, Sf, kf,
13634
13636
  onQueryUpdate() {
13635
13637
  this.updateResult(), this.hasListeners() && yt(this, qe, If).call(this);
13636
13638
  }
13637
- }, on = new WeakMap(), $e = new WeakMap(), ps = new WeakMap(), qt = new WeakMap(), Ii = new WeakMap(), To = new WeakMap(), Br = new WeakMap(), Wn = new WeakMap(), hs = new WeakMap(), Ao = new WeakMap(), Mo = new WeakMap(), Ti = new WeakMap(), Ai = new WeakMap(), Vr = new WeakMap(), Oo = new WeakMap(), qe = new WeakSet(), ma = function(e) {
13639
+ }, on = new WeakMap(), $e = new WeakMap(), ps = new WeakMap(), qt = new WeakMap(), Ti = new WeakMap(), To = new WeakMap(), Br = new WeakMap(), Wn = new WeakMap(), hs = new WeakMap(), Ao = new WeakMap(), Mo = new WeakMap(), Ai = new WeakMap(), Mi = new WeakMap(), Vr = new WeakMap(), Oo = new WeakMap(), qe = new WeakSet(), ma = function(e) {
13638
13640
  yt(this, qe, Mf).call(this);
13639
13641
  let n = pe(this, $e).fetch(
13640
13642
  this.options,
@@ -13650,21 +13652,21 @@ var on, $e, ps, qt, Ii, To, Br, Wn, hs, Ao, Mo, Ti, Ai, Vr, Oo, qe, ma, Sf, kf,
13650
13652
  if (Ja || pe(this, qt).isStale || !Rb(e))
13651
13653
  return;
13652
13654
  const r = hV(pe(this, qt).dataUpdatedAt, e) + 1;
13653
- He(this, Ti, setTimeout(() => {
13655
+ He(this, Ai, setTimeout(() => {
13654
13656
  pe(this, qt).isStale || this.updateResult();
13655
13657
  }, r));
13656
13658
  }, kf = function() {
13657
13659
  return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(pe(this, $e)) : this.options.refetchInterval) ?? !1;
13658
13660
  }, Ef = function(e) {
13659
- yt(this, qe, Af).call(this), He(this, Vr, e), !(Ja || Hn(this.options.enabled, pe(this, $e)) === !1 || !Rb(pe(this, Vr)) || pe(this, Vr) === 0) && He(this, Ai, setInterval(() => {
13661
+ yt(this, qe, Af).call(this), He(this, Vr, e), !(Ja || Hn(this.options.enabled, pe(this, $e)) === !1 || !Rb(pe(this, Vr)) || pe(this, Vr) === 0) && He(this, Mi, setInterval(() => {
13660
13662
  (this.options.refetchIntervalInBackground || bV.isFocused()) && yt(this, qe, ma).call(this);
13661
13663
  }, pe(this, Vr)));
13662
13664
  }, If = function() {
13663
13665
  yt(this, qe, Sf).call(this), yt(this, qe, Ef).call(this, yt(this, qe, kf).call(this));
13664
13666
  }, Tf = function() {
13665
- pe(this, Ti) && (clearTimeout(pe(this, Ti)), He(this, Ti, void 0));
13667
+ pe(this, Ai) && (clearTimeout(pe(this, Ai)), He(this, Ai, void 0));
13666
13668
  }, Af = function() {
13667
- pe(this, Ai) && (clearInterval(pe(this, Ai)), He(this, Ai, void 0));
13669
+ pe(this, Mi) && (clearInterval(pe(this, Mi)), He(this, Mi, void 0));
13668
13670
  }, Mf = function() {
13669
13671
  const e = pe(this, on).getQueryCache().build(pe(this, on), this.options);
13670
13672
  if (e === pe(this, $e))
@@ -13998,27 +14000,27 @@ const GV = (t, e) => {
13998
14000
  }
13999
14001
  );
14000
14002
  }, TZ = ({ ...t }) => /* @__PURE__ */ T.jsx(Ts, { dadataType: "fio", ...t }), AZ = ({ ...t }) => /* @__PURE__ */ T.jsx(Ts, { dadataType: "auto", ...t }), MZ = ({ ...t }) => /* @__PURE__ */ T.jsx(Ts, { dadataType: "country", ...t }), OZ = ({ ...t }) => /* @__PURE__ */ T.jsx(Ts, { dadataType: "address", ...t }), PZ = ({ ...t }) => /* @__PURE__ */ T.jsx(Ts, { dadataType: "party", ...t });
14001
- function Gi(t) {
14003
+ function _i(t) {
14002
14004
  "@babel/helpers - typeof";
14003
- return Gi = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
14005
+ return _i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
14004
14006
  return typeof e;
14005
14007
  } : function(e) {
14006
14008
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
14007
- }, Gi(t);
14009
+ }, _i(t);
14008
14010
  }
14009
14011
  function $V(t, e) {
14010
- if (Gi(t) != "object" || !t) return t;
14012
+ if (_i(t) != "object" || !t) return t;
14011
14013
  var n = t[Symbol.toPrimitive];
14012
14014
  if (n !== void 0) {
14013
14015
  var r = n.call(t, e || "default");
14014
- if (Gi(r) != "object") return r;
14016
+ if (_i(r) != "object") return r;
14015
14017
  throw new TypeError("@@toPrimitive must return a primitive value.");
14016
14018
  }
14017
14019
  return (e === "string" ? String : Number)(t);
14018
14020
  }
14019
14021
  function sw(t) {
14020
14022
  var e = $V(t, "string");
14021
- return Gi(e) == "symbol" ? e : e + "";
14023
+ return _i(e) == "symbol" ? e : e + "";
14022
14024
  }
14023
14025
  function ga(t, e, n) {
14024
14026
  return (e = sw(e)) in t ? Object.defineProperty(t, e, {
@@ -14192,7 +14194,7 @@ function tL(t) {
14192
14194
  return t;
14193
14195
  }
14194
14196
  function nL(t, e) {
14195
- if (e && (Gi(e) == "object" || typeof e == "function")) return e;
14197
+ if (e && (_i(e) == "object" || typeof e == "function")) return e;
14196
14198
  if (e !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
14197
14199
  return tL(t);
14198
14200
  }
@@ -14260,7 +14262,7 @@ var uL = /* @__PURE__ */ function() {
14260
14262
  return (i = r.parentNode) == null ? void 0 : i.removeChild(r);
14261
14263
  }), this.tags = [], this.ctr = 0;
14262
14264
  }, t;
14263
- }(), zt = "-ms-", Rl = "-moz-", Xe = "-webkit-", cw = "comm", Bh = "rule", Vh = "decl", cL = "@import", dw = "@keyframes", dL = "@layer", fL = Math.abs, Qu = String.fromCharCode, pL = Object.assign;
14265
+ }(), _t = "-ms-", Rl = "-moz-", Xe = "-webkit-", cw = "comm", Bh = "rule", Vh = "decl", cL = "@import", dw = "@keyframes", dL = "@layer", fL = Math.abs, Qu = String.fromCharCode, pL = Object.assign;
14264
14266
  function hL(t, e) {
14265
14267
  return Ft(t, 0) ^ 45 ? (((e << 2 ^ Ft(t, 0)) << 2 ^ Ft(t, 1)) << 2 ^ Ft(t, 2)) << 2 ^ Ft(t, 3) : 0;
14266
14268
  }
@@ -14659,32 +14661,32 @@ function gw(t, e) {
14659
14661
  case 4810:
14660
14662
  case 6968:
14661
14663
  case 2756:
14662
- return Xe + t + Rl + t + zt + t + t;
14664
+ return Xe + t + Rl + t + _t + t + t;
14663
14665
  // flex, flex-direction
14664
14666
  case 6828:
14665
14667
  case 4268:
14666
- return Xe + t + zt + t + t;
14668
+ return Xe + t + _t + t + t;
14667
14669
  // order
14668
14670
  case 6165:
14669
- return Xe + t + zt + "flex-" + t + t;
14671
+ return Xe + t + _t + "flex-" + t + t;
14670
14672
  // align-items
14671
14673
  case 5187:
14672
- return Xe + t + Ye(t, /(\w+).+(:[^]+)/, Xe + "box-$1$2" + zt + "flex-$1$2") + t;
14674
+ return Xe + t + Ye(t, /(\w+).+(:[^]+)/, Xe + "box-$1$2" + _t + "flex-$1$2") + t;
14673
14675
  // align-self
14674
14676
  case 5443:
14675
- return Xe + t + zt + "flex-item-" + Ye(t, /flex-|-self/, "") + t;
14677
+ return Xe + t + _t + "flex-item-" + Ye(t, /flex-|-self/, "") + t;
14676
14678
  // align-content
14677
14679
  case 4675:
14678
- return Xe + t + zt + "flex-line-pack" + Ye(t, /align-content|flex-|-self/, "") + t;
14680
+ return Xe + t + _t + "flex-line-pack" + Ye(t, /align-content|flex-|-self/, "") + t;
14679
14681
  // flex-shrink
14680
14682
  case 5548:
14681
- return Xe + t + zt + Ye(t, "shrink", "negative") + t;
14683
+ return Xe + t + _t + Ye(t, "shrink", "negative") + t;
14682
14684
  // flex-basis
14683
14685
  case 5292:
14684
- return Xe + t + zt + Ye(t, "basis", "preferred-size") + t;
14686
+ return Xe + t + _t + Ye(t, "basis", "preferred-size") + t;
14685
14687
  // flex-grow
14686
14688
  case 6060:
14687
- return Xe + "box-" + Ye(t, "-grow", "") + Xe + t + zt + Ye(t, "grow", "positive") + t;
14689
+ return Xe + "box-" + Ye(t, "-grow", "") + Xe + t + _t + Ye(t, "grow", "positive") + t;
14688
14690
  // transition
14689
14691
  case 4554:
14690
14692
  return Xe + Ye(t, /([^-])(transform)/g, "$1" + Xe + "$2") + t;
@@ -14697,7 +14699,7 @@ function gw(t, e) {
14697
14699
  return Ye(t, /(image-set\([^]*)/, Xe + "$1$`$1");
14698
14700
  // justify-content
14699
14701
  case 4968:
14700
- return Ye(Ye(t, /(.+:)(flex-)?(.*)/, Xe + "box-pack:$3" + zt + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + Xe + t + t;
14702
+ return Ye(Ye(t, /(.+:)(flex-)?(.*)/, Xe + "box-pack:$3" + _t + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + Xe + t + t;
14701
14703
  // (margin|padding)-inline-(start|end)
14702
14704
  case 4095:
14703
14705
  case 3583:
@@ -14740,7 +14742,7 @@ function gw(t, e) {
14740
14742
  return Ye(t, ":", ":" + Xe) + t;
14741
14743
  // (inline-)?fl(e)x
14742
14744
  case 101:
14743
- return Ye(t, /(.+:)([^;!]+)(;|!.+)?/, "$1" + Xe + (Ft(t, 14) === 45 ? "inline-" : "") + "box$3$1" + Xe + "$2$3$1" + zt + "$2box$3") + t;
14745
+ return Ye(t, /(.+:)([^;!]+)(;|!.+)?/, "$1" + Xe + (Ft(t, 14) === 45 ? "inline-" : "") + "box$3$1" + Xe + "$2$3$1" + _t + "$2box$3") + t;
14744
14746
  }
14745
14747
  break;
14746
14748
  // writing-mode
@@ -14748,15 +14750,15 @@ function gw(t, e) {
14748
14750
  switch (Ft(t, e + 11)) {
14749
14751
  // vertical-l(r)
14750
14752
  case 114:
14751
- return Xe + t + zt + Ye(t, /[svh]\w+-[tblr]{2}/, "tb") + t;
14753
+ return Xe + t + _t + Ye(t, /[svh]\w+-[tblr]{2}/, "tb") + t;
14752
14754
  // vertical-r(l)
14753
14755
  case 108:
14754
- return Xe + t + zt + Ye(t, /[svh]\w+-[tblr]{2}/, "tb-rl") + t;
14756
+ return Xe + t + _t + Ye(t, /[svh]\w+-[tblr]{2}/, "tb-rl") + t;
14755
14757
  // horizontal(-)tb
14756
14758
  case 45:
14757
- return Xe + t + zt + Ye(t, /[svh]\w+-[tblr]{2}/, "lr") + t;
14759
+ return Xe + t + _t + Ye(t, /[svh]\w+-[tblr]{2}/, "lr") + t;
14758
14760
  }
14759
- return Xe + t + zt + t + t;
14761
+ return Xe + t + _t + t + t;
14760
14762
  }
14761
14763
  return t;
14762
14764
  }
@@ -14785,7 +14787,7 @@ var NL = function(e, n, r, i) {
14785
14787
  }), oa(e, {
14786
14788
  props: [Ye(o, /:(plac\w+)/, ":" + Rl + "$1")]
14787
14789
  }), oa(e, {
14788
- props: [Ye(o, /:(plac\w+)/, zt + "input-$1")]
14790
+ props: [Ye(o, /:(plac\w+)/, _t + "input-$1")]
14789
14791
  })], i);
14790
14792
  }
14791
14793
  return "";
@@ -15340,7 +15342,7 @@ function u3(t, e) {
15340
15342
  }).join(" ");
15341
15343
  }
15342
15344
  var Qb = function(e) {
15343
- return v3(e) ? e.filter(Boolean) : Gi(e) === "object" && e !== null ? [e] : [];
15345
+ return v3(e) ? e.filter(Boolean) : _i(e) === "object" && e !== null ? [e] : [];
15344
15346
  }, Sw = function(e) {
15345
15347
  e.className, e.clearValue, e.cx, e.getStyles, e.getClassNames, e.getValue, e.hasValue, e.isMulti, e.isRtl, e.options, e.selectOption, e.selectProps, e.setValue, e.theme;
15346
15348
  var n = Sr(e, s3);
@@ -16101,7 +16103,7 @@ var w4 = function(e) {
16101
16103
  "single-value": !0,
16102
16104
  "single-value--is-disabled": r
16103
16105
  }), i), n);
16104
- }, D4 = P4, Qi = {
16106
+ }, D4 = P4, eo = {
16105
16107
  ClearIndicator: U3,
16106
16108
  Control: r4,
16107
16109
  DropdownIndicator: Y3,
@@ -16128,7 +16130,7 @@ var w4 = function(e) {
16128
16130
  SingleValue: D4,
16129
16131
  ValueContainer: L3
16130
16132
  }, R4 = function(e) {
16131
- return ke(ke({}, Qi), e.components);
16133
+ return ke(ke({}, eo), e.components);
16132
16134
  }, rv = Number.isNaN || function(e) {
16133
16135
  return typeof e == "number" && e !== e;
16134
16136
  };
@@ -16285,7 +16287,7 @@ var V4 = process.env.NODE_ENV === "production" ? {
16285
16287
  });
16286
16288
  }
16287
16289
  return V;
16288
- }, [C, r, i, h, m, g, b, S, s, v, O]), R = Se(Vt, null, Se("span", {
16290
+ }, [C, r, i, h, m, g, b, S, s, v, O]), R = Se(Xt, null, Se("span", {
16289
16291
  id: "aria-selection"
16290
16292
  }, k), Se("span", {
16291
16293
  id: "aria-focused"
@@ -16294,7 +16296,7 @@ var V4 = process.env.NODE_ENV === "production" ? {
16294
16296
  }, A), Se("span", {
16295
16297
  id: "aria-guidance"
16296
16298
  }, P));
16297
- return Se(Vt, null, Se(iv, {
16299
+ return Se(Xt, null, Se(iv, {
16298
16300
  id: u
16299
16301
  }, O && R), Se(iv, {
16300
16302
  "aria-live": E,
@@ -16733,7 +16735,7 @@ function tG(t) {
16733
16735
  }), d = function(p) {
16734
16736
  u(p), c(p);
16735
16737
  };
16736
- return Se(Vt, null, n && Se("div", {
16738
+ return Se(Xt, null, n && Se("div", {
16737
16739
  onClick: Q4,
16738
16740
  css: eG
16739
16741
  }), e(d));
@@ -17966,9 +17968,9 @@ const IG = (t, e, n) => ({
17966
17968
  )
17967
17969
  }
17968
17970
  ),
17969
- /* @__PURE__ */ T.jsx(Qi.Option, { isSelected: t, ...n })
17971
+ /* @__PURE__ */ T.jsx(eo.Option, { isSelected: t, ...n })
17970
17972
  ] });
17971
- }, AG = ({ classes: t, ...e }) => /* @__PURE__ */ T.jsx(Qi.DropdownIndicator, { ...e, children: /* @__PURE__ */ T.jsx(
17973
+ }, AG = ({ classes: t, ...e }) => /* @__PURE__ */ T.jsx(eo.DropdownIndicator, { ...e, children: /* @__PURE__ */ T.jsx(
17972
17974
  Be,
17973
17975
  {
17974
17976
  name: "arrows/arrowRight",
@@ -17978,7 +17980,7 @@ const IG = (t, e, n) => ({
17978
17980
  t == null ? void 0 : t.indicatorIcon
17979
17981
  )
17980
17982
  }
17981
- ) }), MG = ({ classes: t, ...e }) => /* @__PURE__ */ T.jsx(Qi.MultiValueRemove, { ...e, children: /* @__PURE__ */ T.jsx(Be, { name: "general/close", className: z("size-4 text-icon-blue-grey-800", t == null ? void 0 : t.multiRemoveIcon) }) }), DZ = ({
17983
+ ) }), MG = ({ classes: t, ...e }) => /* @__PURE__ */ T.jsx(eo.MultiValueRemove, { ...e, children: /* @__PURE__ */ T.jsx(Be, { name: "general/close", className: z("size-4 text-icon-blue-grey-800", t == null ? void 0 : t.multiRemoveIcon) }) }), DZ = ({
17982
17984
  options: t,
17983
17985
  control: e,
17984
17986
  defaultValue: n,
@@ -18116,7 +18118,7 @@ var Yw = ["PageUp", "PageDown"], Zw = ["ArrowUp", "ArrowDown", "ArrowLeft", "Arr
18116
18118
  inverted: p = !1,
18117
18119
  form: h,
18118
18120
  ...m
18119
- } = t, g = B.useRef(/* @__PURE__ */ new Set()), b = B.useRef(0), w = a === "horizontal" ? BG : VG, [v = [], y] = Xi({
18121
+ } = t, g = B.useRef(/* @__PURE__ */ new Set()), b = B.useRef(0), w = a === "horizontal" ? BG : VG, [v = [], y] = Yi({
18120
18122
  prop: c,
18121
18123
  defaultProp: u,
18122
18124
  onChange: (A) => {
@@ -19309,12 +19311,12 @@ function cS(t, e, n, r) {
19309
19311
  } else if (n.content.size)
19310
19312
  if (!n.openStart && !n.openEnd && t.depth == r && e.depth == r) {
19311
19313
  let a = t.parent, s = a.content;
19312
- return Ri(a, s.cut(0, t.parentOffset).append(n.content).append(s.cut(e.parentOffset)));
19314
+ return Ni(a, s.cut(0, t.parentOffset).append(n.content).append(s.cut(e.parentOffset)));
19313
19315
  } else {
19314
19316
  let { start: a, end: s } = e_(n, t);
19315
- return Ri(o, fS(t, a, s, e, r));
19317
+ return Ni(o, fS(t, a, s, e, r));
19316
19318
  }
19317
- else return Ri(o, Ll(t, e, r));
19319
+ else return Ni(o, Ll(t, e, r));
19318
19320
  }
19319
19321
  function dS(t, e) {
19320
19322
  if (!e.type.compatibleContent(t.type))
@@ -19324,29 +19326,29 @@ function Wf(t, e, n) {
19324
19326
  let r = t.node(n);
19325
19327
  return dS(r, e.node(n)), r;
19326
19328
  }
19327
- function Di(t, e) {
19329
+ function Ri(t, e) {
19328
19330
  let n = e.length - 1;
19329
19331
  n >= 0 && t.isText && t.sameMarkup(e[n]) ? e[n] = t.withText(e[n].text + t.text) : e.push(t);
19330
19332
  }
19331
19333
  function Pa(t, e, n, r) {
19332
19334
  let i = (e || t).node(n), o = 0, a = e ? e.index(n) : i.childCount;
19333
- t && (o = t.index(n), t.depth > n ? o++ : t.textOffset && (Di(t.nodeAfter, r), o++));
19335
+ t && (o = t.index(n), t.depth > n ? o++ : t.textOffset && (Ri(t.nodeAfter, r), o++));
19334
19336
  for (let s = o; s < a; s++)
19335
- Di(i.child(s), r);
19336
- e && e.depth == n && e.textOffset && Di(e.nodeBefore, r);
19337
+ Ri(i.child(s), r);
19338
+ e && e.depth == n && e.textOffset && Ri(e.nodeBefore, r);
19337
19339
  }
19338
- function Ri(t, e) {
19340
+ function Ni(t, e) {
19339
19341
  return t.type.checkContent(e), t.copy(e);
19340
19342
  }
19341
19343
  function fS(t, e, n, r, i) {
19342
19344
  let o = t.depth > i && Wf(t, e, i + 1), a = r.depth > i && Wf(n, r, i + 1), s = [];
19343
- return Pa(null, t, i, s), o && a && e.index(i) == n.index(i) ? (dS(o, a), Di(Ri(o, fS(t, e, n, r, i + 1)), s)) : (o && Di(Ri(o, Ll(t, e, i + 1)), s), Pa(e, n, i, s), a && Di(Ri(a, Ll(n, r, i + 1)), s)), Pa(r, null, i, s), new se(s);
19345
+ return Pa(null, t, i, s), o && a && e.index(i) == n.index(i) ? (dS(o, a), Ri(Ni(o, fS(t, e, n, r, i + 1)), s)) : (o && Ri(Ni(o, Ll(t, e, i + 1)), s), Pa(e, n, i, s), a && Ri(Ni(a, Ll(n, r, i + 1)), s)), Pa(r, null, i, s), new se(s);
19344
19346
  }
19345
19347
  function Ll(t, e, n) {
19346
19348
  let r = [];
19347
19349
  if (Pa(null, t, n, r), t.depth > n) {
19348
19350
  let i = Wf(t, e, n + 1);
19349
- Di(Ri(i, Ll(t, e, n + 1)), r);
19351
+ Ri(Ni(i, Ll(t, e, n + 1)), r);
19350
19352
  }
19351
19353
  return Pa(e, null, n, r), new se(r);
19352
19354
  }
@@ -20066,7 +20068,7 @@ function pS(t, e) {
20066
20068
  e = t[n].type.name + "(" + e + ")";
20067
20069
  return e;
20068
20070
  }
20069
- class _i {
20071
+ class zi {
20070
20072
  /**
20071
20073
  @internal
20072
20074
  */
@@ -20079,7 +20081,7 @@ class _i {
20079
20081
  static parse(e, n) {
20080
20082
  let r = new i_(e, n);
20081
20083
  if (r.next == null)
20082
- return _i.empty;
20084
+ return zi.empty;
20083
20085
  let i = hS(r);
20084
20086
  r.next && r.err("Unexpected trailing text");
20085
20087
  let o = d_(c_(i));
@@ -20228,7 +20230,7 @@ class _i {
20228
20230
  `);
20229
20231
  }
20230
20232
  }
20231
- _i.empty = new _i(!0);
20233
+ zi.empty = new zi(!0);
20232
20234
  class i_ {
20233
20235
  constructor(e, n) {
20234
20236
  this.string = e, this.nodeTypes = n, this.inline = null, this.pos = 0, this.tokens = e.split(/\s*(?=\b|\W|$)/), this.tokens[this.tokens.length - 1] == "" && this.tokens.pop(), this.tokens[0] == "" && this.tokens.shift();
@@ -20391,7 +20393,7 @@ function d_(t) {
20391
20393
  });
20392
20394
  });
20393
20395
  });
20394
- let o = e[r.join(",")] = new _i(r.indexOf(t.length - 1) > -1);
20396
+ let o = e[r.join(",")] = new zi(r.indexOf(t.length - 1) > -1);
20395
20397
  for (let a = 0; a < i.length; a++) {
20396
20398
  let s = i[a][1].sort(mS);
20397
20399
  o.next.push({ type: i[a][0], next: e[s.join(",")] || n(s) });
@@ -20474,7 +20476,7 @@ let yv = class xS {
20474
20476
  True for node types that allow no content.
20475
20477
  */
20476
20478
  get isLeaf() {
20477
- return this.contentMatch == _i.empty;
20479
+ return this.contentMatch == zi.empty;
20478
20480
  }
20479
20481
  /**
20480
20482
  True when this node is an atom, i.e. when it does not have
@@ -20715,7 +20717,7 @@ class CS {
20715
20717
  if (i in this.marks)
20716
20718
  throw new RangeError(i + " can not be both a node and a mark");
20717
20719
  let o = this.nodes[i], a = o.spec.content || "", s = o.spec.marks;
20718
- if (o.contentMatch = r[a] || (r[a] = _i.parse(a, this.nodes)), o.inlineContent = o.contentMatch.inlineContent, o.spec.linebreakReplacement) {
20720
+ if (o.contentMatch = r[a] || (r[a] = zi.parse(a, this.nodes)), o.inlineContent = o.contentMatch.inlineContent, o.spec.linebreakReplacement) {
20719
20721
  if (this.linebreakReplacement)
20720
20722
  throw new RangeError("Multiple linebreak nodes defined");
20721
20723
  if (!o.isInline || !o.isLeaf)
@@ -21299,7 +21301,7 @@ function kv(t, e) {
21299
21301
  return !0;
21300
21302
  }
21301
21303
  }
21302
- class eo {
21304
+ class to {
21303
21305
  /**
21304
21306
  Create a serializer. `nodes` should map node names to functions
21305
21307
  that take a node and return a description of the corresponding
@@ -21386,7 +21388,7 @@ class eo {
21386
21388
  properties in a schema's node and mark specs.
21387
21389
  */
21388
21390
  static fromSchema(e) {
21389
- return e.cached.domSerializer || (e.cached.domSerializer = new eo(this.nodesFromSchema(e), this.marksFromSchema(e)));
21391
+ return e.cached.domSerializer || (e.cached.domSerializer = new to(this.nodesFromSchema(e), this.marksFromSchema(e)));
21390
21392
  }
21391
21393
  /**
21392
21394
  Gather the serializers in a schema's node specs into an object.
@@ -23733,7 +23735,7 @@ function VS(t, e, n) {
23733
23735
  }
23734
23736
  return n;
23735
23737
  }
23736
- class Lt {
23738
+ class Vt {
23737
23739
  /**
23738
23740
  Create a plugin.
23739
23741
  */
@@ -23786,7 +23788,7 @@ const ur = function(t, e, n) {
23786
23788
  return r.setEnd(t, n ?? t.nodeValue.length), r.setStart(t, e || 0), r;
23787
23789
  }, Z_ = function() {
23788
23790
  Zf = null;
23789
- }, zi = function(t, e, n, r) {
23791
+ }, Wi = function(t, e, n, r) {
23790
23792
  return n && (jv(t, e, n, r, -1) || jv(t, e, n, r, 1));
23791
23793
  }, U_ = /^(img|br|input|textarea|hr)$/i;
23792
23794
  function jv(t, e, n, r, i) {
@@ -23854,9 +23856,9 @@ function Ms(t) {
23854
23856
  return e && e.node && e.node.isBlock && (e.dom == t || e.contentDOM == t);
23855
23857
  }
23856
23858
  const lc = function(t) {
23857
- return t.focusNode && zi(t.focusNode, t.focusOffset, t.anchorNode, t.anchorOffset);
23859
+ return t.focusNode && Wi(t.focusNode, t.focusOffset, t.anchorNode, t.anchorOffset);
23858
23860
  };
23859
- function pi(t, e) {
23861
+ function hi(t, e) {
23860
23862
  let n = document.createEvent("Event");
23861
23863
  return n.initEvent("keydown", !0, !0), n.keyCode = t, n.key = n.code = e, n;
23862
23864
  }
@@ -23882,7 +23884,7 @@ function ez(t, e, n) {
23882
23884
  }
23883
23885
  const er = typeof navigator < "u" ? navigator : null, Bv = typeof document < "u" ? document : null, ri = er && er.userAgent || "", Uf = /Edge\/(\d+)/.exec(ri), GS = /MSIE \d/.exec(ri), Jf = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(ri), ln = !!(GS || Jf || Uf), $r = GS ? document.documentMode : Jf ? +Jf[1] : Uf ? +Uf[1] : 0, Nn = !ln && /gecko\/(\d+)/i.test(ri);
23884
23886
  Nn && +(/Firefox\/(\d+)/.exec(ri) || [0, 0])[1];
23885
- const Kf = !ln && /Chrome\/(\d+)/.exec(ri), Xt = !!Kf, _S = Kf ? +Kf[1] : 0, tn = !ln && !!er && /Apple Computer/.test(er.vendor), Vo = tn && (/Mobile\/\w+/.test(ri) || !!er && er.maxTouchPoints > 2), wn = Vo || (er ? /Mac/.test(er.platform) : !1), tz = er ? /Win/.test(er.platform) : !1, pr = /Android \d/.test(ri), Os = !!Bv && "webkitFontSmoothing" in Bv.documentElement.style, nz = Os ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
23887
+ const Kf = !ln && /Chrome\/(\d+)/.exec(ri), $t = !!Kf, _S = Kf ? +Kf[1] : 0, tn = !ln && !!er && /Apple Computer/.test(er.vendor), Vo = tn && (/Mobile\/\w+/.test(ri) || !!er && er.maxTouchPoints > 2), wn = Vo || (er ? /Mac/.test(er.platform) : !1), tz = er ? /Win/.test(er.platform) : !1, pr = /Android \d/.test(ri), Os = !!Bv && "webkitFontSmoothing" in Bv.documentElement.style, nz = Os ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
23886
23888
  function rz(t) {
23887
23889
  let e = t.defaultView && t.defaultView.visualViewport;
23888
23890
  return e ? {
@@ -24212,7 +24214,7 @@ let Gv = null, _v = null, zv = !1;
24212
24214
  function bz(t, e, n) {
24213
24215
  return Gv == e && _v == n ? zv : (Gv = e, _v = n, zv = n == "up" || n == "down" ? hz(t, e, n) : gz(t, e, n));
24214
24216
  }
24215
- const Tn = 0, Wv = 1, Ci = 2, tr = 3;
24217
+ const Tn = 0, Wv = 1, wi = 2, tr = 3;
24216
24218
  class Ps {
24217
24219
  constructor(e, n, r, i) {
24218
24220
  this.parent = e, this.children = n, this.dom = r, this.contentDOM = i, this.dirty = Tn, r.pmViewDesc = this;
@@ -24489,7 +24491,7 @@ class Ps {
24489
24491
  let p = c.focusNode.childNodes[c.focusOffset];
24490
24492
  p && p.contentEditable == "false" && (i = !0);
24491
24493
  }
24492
- if (!(i || d && tn) && zi(s.node, s.offset, c.anchorNode, c.anchorOffset) && zi(l.node, l.offset, c.focusNode, c.focusOffset))
24494
+ if (!(i || d && tn) && Wi(s.node, s.offset, c.anchorNode, c.anchorOffset) && Wi(l.node, l.offset, c.focusNode, c.focusOffset))
24493
24495
  return;
24494
24496
  let f = !1;
24495
24497
  if ((u.extend || e == n) && !d) {
@@ -24522,19 +24524,19 @@ class Ps {
24522
24524
  if (r == a ? e <= a && n >= r : e < a && n > r) {
24523
24525
  let s = r + o.border, l = a - o.border;
24524
24526
  if (e >= s && n <= l) {
24525
- this.dirty = e == r || n == a ? Ci : Wv, e == s && n == l && (o.contentLost || o.dom.parentNode != this.contentDOM) ? o.dirty = tr : o.markDirty(e - s, n - s);
24527
+ this.dirty = e == r || n == a ? wi : Wv, e == s && n == l && (o.contentLost || o.dom.parentNode != this.contentDOM) ? o.dirty = tr : o.markDirty(e - s, n - s);
24526
24528
  return;
24527
24529
  } else
24528
- o.dirty = o.dom == o.contentDOM && o.dom.parentNode == this.contentDOM && !o.children.length ? Ci : tr;
24530
+ o.dirty = o.dom == o.contentDOM && o.dom.parentNode == this.contentDOM && !o.children.length ? wi : tr;
24529
24531
  }
24530
24532
  r = a;
24531
24533
  }
24532
- this.dirty = Ci;
24534
+ this.dirty = wi;
24533
24535
  }
24534
24536
  markParentsDirty() {
24535
24537
  let e = 1;
24536
24538
  for (let n = this.parent; n; n = n.parent, e++) {
24537
- let r = e == 1 ? Ci : Wv;
24539
+ let r = e == 1 ? wi : Wv;
24538
24540
  n.dirty < r && (n.dirty = r);
24539
24541
  }
24540
24542
  }
@@ -24605,13 +24607,13 @@ class vz extends Ps {
24605
24607
  return e.type === "characterData" && e.target.nodeValue == e.oldValue;
24606
24608
  }
24607
24609
  }
24608
- class Wi extends Ps {
24610
+ class Hi extends Ps {
24609
24611
  constructor(e, n, r, i, o) {
24610
24612
  super(e, [], r, i), this.mark = n, this.spec = o;
24611
24613
  }
24612
24614
  static create(e, n, r, i) {
24613
24615
  let o = i.nodeViews[n.type.name], a = o && o(n, i, r);
24614
- return (!a || !a.dom) && (a = eo.renderSpec(document, n.type.spec.toDOM(n, r), null, n.attrs)), new Wi(e, n, a.dom, a.contentDOM || a.dom, a);
24616
+ return (!a || !a.dom) && (a = to.renderSpec(document, n.type.spec.toDOM(n, r), null, n.attrs)), new Hi(e, n, a.dom, a.contentDOM || a.dom, a);
24615
24617
  }
24616
24618
  parseRule() {
24617
24619
  return this.dirty & tr || this.mark.type.spec.reparseInView ? null : { mark: this.mark.type.name, attrs: this.mark.attrs, contentElement: this.contentDOM };
@@ -24628,7 +24630,7 @@ class Wi extends Ps {
24628
24630
  }
24629
24631
  }
24630
24632
  slice(e, n, r) {
24631
- let i = Wi.create(this.parent, this.mark, !0, r), o = this.children, a = this.size;
24633
+ let i = Hi.create(this.parent, this.mark, !0, r), o = this.children, a = this.size;
24632
24634
  n < a && (o = Qf(o, n, a, r)), e > 0 && (o = Qf(o, 0, e, r));
24633
24635
  for (let s = 0; s < o.length; s++)
24634
24636
  o[s].parent = i;
@@ -24666,7 +24668,7 @@ class Xr extends Ps {
24666
24668
  c = document.createTextNode(n.text);
24667
24669
  else if (c.nodeType != 3)
24668
24670
  throw new RangeError("Text must be rendered as a DOM text node");
24669
- } else c || ({ dom: c, contentDOM: d } = eo.renderSpec(document, n.type.spec.toDOM(n), null, n.attrs));
24671
+ } else c || ({ dom: c, contentDOM: d } = to.renderSpec(document, n.type.spec.toDOM(n), null, n.attrs));
24670
24672
  !d && !n.isText && c.nodeName != "BR" && (c.hasAttribute("contenteditable") || (c.contentEditable = "false"), n.type.spec.draggable && (c.draggable = !0));
24671
24673
  let f = c;
24672
24674
  return c = qS(c, r, n), u ? l = new yz(e, n, r, i, c, d || null, f, u, o, a + 1) : n.isText ? new uc(e, n, r, i, c, f, o) : new Xr(e, n, r, i, c, d || null, f, o, a + 1);
@@ -24712,7 +24714,7 @@ class Xr extends Ps {
24712
24714
  l.syncToMarks(u.marks, r, e);
24713
24715
  let p;
24714
24716
  l.findNodeMatch(u, c, d, f) || s && e.state.selection.from > i && e.state.selection.to < i + u.nodeSize && (p = l.findIndexWithChild(o.node)) > -1 && l.updateNodeAt(u, c, d, p, e) || l.updateNextNode(u, c, d, e, f, i) || l.addNode(u, c, d, e, i), i += u.nodeSize;
24715
- }), l.syncToMarks([], r, e), this.node.isTextblock && l.addTextblockHacks(), l.destroyRest(), (l.changed || this.dirty == Ci) && (a && this.protectLocalComposition(e, a), JS(this.contentDOM, this.children, e), Vo && Ez(this.dom));
24717
+ }), l.syncToMarks([], r, e), this.node.isTextblock && l.addTextblockHacks(), l.destroyRest(), (l.changed || this.dirty == wi) && (a && this.protectLocalComposition(e, a), JS(this.contentDOM, this.children, e), Vo && Ez(this.dom));
24716
24718
  }
24717
24719
  localCompositionInfo(e, n) {
24718
24720
  let { from: r, to: i } = e.state.selection;
@@ -24873,7 +24875,7 @@ function JS(t, e, n) {
24873
24875
  r = r.nextSibling;
24874
24876
  } else
24875
24877
  i = !0, t.insertBefore(s, r);
24876
- if (a instanceof Wi) {
24878
+ if (a instanceof Hi) {
24877
24879
  let l = r ? r.previousSibling : t.lastChild;
24878
24880
  JS(a.contentDOM, a.children, n), r = l ? l.nextSibling : t.firstChild;
24879
24881
  }
@@ -24886,11 +24888,11 @@ const Da = function(t) {
24886
24888
  t && (this.nodeName = t);
24887
24889
  };
24888
24890
  Da.prototype = /* @__PURE__ */ Object.create(null);
24889
- const wi = [new Da()];
24891
+ const Si = [new Da()];
24890
24892
  function qf(t, e, n) {
24891
24893
  if (t.length == 0)
24892
- return wi;
24893
- let r = n ? wi[0] : new Da(), i = [r];
24894
+ return Si;
24895
+ let r = n ? Si[0] : new Da(), i = [r];
24894
24896
  for (let o = 0; o < t.length; o++) {
24895
24897
  let a = t[o].type.attrs;
24896
24898
  if (a) {
@@ -24904,16 +24906,16 @@ function qf(t, e, n) {
24904
24906
  return i;
24905
24907
  }
24906
24908
  function KS(t, e, n, r) {
24907
- if (n == wi && r == wi)
24909
+ if (n == Si && r == Si)
24908
24910
  return e;
24909
24911
  let i = e;
24910
24912
  for (let o = 0; o < r.length; o++) {
24911
24913
  let a = r[o], s = n[o];
24912
24914
  if (o) {
24913
24915
  let l;
24914
- s && s.nodeName == a.nodeName && i != t && (l = i.parentNode) && l.nodeName.toLowerCase() == a.nodeName || (l = document.createElement(a.nodeName), l.pmIsDeco = !0, l.appendChild(i), s = wi[0]), i = l;
24916
+ s && s.nodeName == a.nodeName && i != t && (l = i.parentNode) && l.nodeName.toLowerCase() == a.nodeName || (l = document.createElement(a.nodeName), l.pmIsDeco = !0, l.appendChild(i), s = Si[0]), i = l;
24915
24917
  }
24916
- xz(i, s || wi[0], a);
24918
+ xz(i, s || Si[0], a);
24917
24919
  }
24918
24920
  return i;
24919
24921
  }
@@ -24940,7 +24942,7 @@ function xz(t, e, n) {
24940
24942
  }
24941
24943
  }
24942
24944
  function qS(t, e, n) {
24943
- return KS(t, t, wi, qf(e, n, t.nodeType != 1));
24945
+ return KS(t, t, Si, qf(e, n, t.nodeType != 1));
24944
24946
  }
24945
24947
  function zl(t, e) {
24946
24948
  if (t.length != e.length)
@@ -24992,7 +24994,7 @@ class Cz {
24992
24994
  if (s > -1)
24993
24995
  s > this.index && (this.changed = !0, this.destroyBetween(this.index, s)), this.top = this.top.children[this.index];
24994
24996
  else {
24995
- let l = Wi.create(this.top, e[o], n, r);
24997
+ let l = Hi.create(this.top, e[o], n, r);
24996
24998
  this.top.children.splice(this.index, 0, l), this.top = l, this.changed = !0;
24997
24999
  }
24998
25000
  this.index = 0, o++;
@@ -25016,7 +25018,7 @@ class Cz {
25016
25018
  }
25017
25019
  updateNodeAt(e, n, r, i, o) {
25018
25020
  let a = this.top.children[i];
25019
- return a.dirty == tr && a.dom == a.contentDOM && (a.dirty = Ci), a.update(e, n, r, o) ? (this.destroyBetween(this.index, i), this.index++, !0) : !1;
25021
+ return a.dirty == tr && a.dom == a.contentDOM && (a.dirty = wi), a.update(e, n, r, o) ? (this.destroyBetween(this.index, i), this.index++, !0) : !1;
25020
25022
  }
25021
25023
  findIndexWithChild(e) {
25022
25024
  for (; ; ) {
@@ -25048,7 +25050,7 @@ class Cz {
25048
25050
  if (!f && l.update(e, n, r, i))
25049
25051
  return this.destroyBetween(this.index, s), l.dom != c && (this.changed = !0), this.index++, !0;
25050
25052
  if (!f && (d = this.recreateWrapper(l, e, n, r, i, a)))
25051
- return this.destroyBetween(this.index, s), this.top.children[this.index] = d, d.contentDOM && (d.dirty = Ci, d.updateChildren(i, a + 1), d.dirty = Tn), this.changed = !0, this.index++, !0;
25053
+ return this.destroyBetween(this.index, s), this.top.children[this.index] = d, d.contentDOM && (d.dirty = wi, d.updateChildren(i, a + 1), d.dirty = Tn), this.changed = !0, this.index++, !0;
25052
25054
  break;
25053
25055
  }
25054
25056
  }
@@ -25085,10 +25087,10 @@ class Cz {
25085
25087
  // contentEditable.
25086
25088
  addTextblockHacks() {
25087
25089
  let e = this.top.children[this.index - 1], n = this.top;
25088
- for (; e instanceof Wi; )
25090
+ for (; e instanceof Hi; )
25089
25091
  n = e, e = n.children[n.children.length - 1];
25090
25092
  (!e || // Empty textblock
25091
- !(e instanceof uc) || /\n$/.test(e.node.text) || this.view.requiresGeckoHackNode && /\s$/.test(e.node.text)) && ((tn || Xt) && e && e.dom.contentEditable == "false" && this.addHackNode("IMG", n), this.addHackNode("BR", this.top));
25093
+ !(e instanceof uc) || /\n$/.test(e.node.text) || this.view.requiresGeckoHackNode && /\s$/.test(e.node.text)) && ((tn || $t) && e && e.dom.contentEditable == "false" && this.addHackNode("IMG", n), this.addHackNode("BR", this.top));
25092
25094
  }
25093
25095
  addHackNode(e, n) {
25094
25096
  if (n == this.top && this.index < n.children.length && n.children[this.index].matchesHack(e))
@@ -25111,7 +25113,7 @@ function wz(t, e) {
25111
25113
  for (; ; )
25112
25114
  if (r) {
25113
25115
  let u = n.children[r - 1];
25114
- if (u instanceof Wi)
25116
+ if (u instanceof Hi)
25115
25117
  n = u, r = u.children.length;
25116
25118
  else {
25117
25119
  s = u, r--;
@@ -25264,9 +25266,9 @@ function QS(t) {
25264
25266
  function br(t, e = !1) {
25265
25267
  let n = t.state.selection;
25266
25268
  if (ek(t, n), !!QS(t)) {
25267
- if (!e && t.input.mouseDown && t.input.mouseDown.allowDefault && Xt) {
25269
+ if (!e && t.input.mouseDown && t.input.mouseDown.allowDefault && $t) {
25268
25270
  let r = t.domSelectionRange(), i = t.domObserver.currentSelection;
25269
- if (r.anchorNode && i.anchorNode && zi(r.anchorNode, r.anchorOffset, i.anchorNode, i.anchorOffset)) {
25271
+ if (r.anchorNode && i.anchorNode && Wi(r.anchorNode, r.anchorOffset, i.anchorNode, i.anchorOffset)) {
25270
25272
  t.input.mouseDown.delayedSelectionSync = !0, t.domObserver.setCurSelection();
25271
25273
  return;
25272
25274
  }
@@ -25280,7 +25282,7 @@ function br(t, e = !1) {
25280
25282
  t.domObserver.setCurSelection(), t.domObserver.connectSelection();
25281
25283
  }
25282
25284
  }
25283
- const Xv = tn || Xt && _S < 63;
25285
+ const Xv = tn || $t && _S < 63;
25284
25286
  function Yv(t, e) {
25285
25287
  let { node: n, offset: r } = t.docView.domFromPos(e, 0), i = r < n.childNodes.length ? n.childNodes[r] : null, o = r ? n.childNodes[r - 1] : null;
25286
25288
  if (tn && i && i.contentEditable == "false")
@@ -25343,7 +25345,7 @@ function tk(t) {
25343
25345
  }
25344
25346
  function Mz(t) {
25345
25347
  let e = t.docView.domFromPos(t.state.selection.anchor, 0), n = t.domSelectionRange();
25346
- return zi(e.node, e.offset, n.anchorNode, n.anchorOffset);
25348
+ return Wi(e.node, e.offset, n.anchorNode, n.anchorOffset);
25347
25349
  }
25348
25350
  function ep(t, e) {
25349
25351
  let { $anchor: n, $head: r } = t.selection, i = e > 0 ? n.max(r) : n.min(r), o = i.parent.inlineContent ? i.depth ? t.doc.resolve(e > 0 ? i.after() : i.before()) : null : i;
@@ -25508,7 +25510,7 @@ function tp(t, e, n) {
25508
25510
  }
25509
25511
  function qv(t, e) {
25510
25512
  let n = t.state.doc.resolve(e);
25511
- if (!(Xt || tz) && n.parent.inlineContent) {
25513
+ if (!($t || tz) && n.parent.inlineContent) {
25512
25514
  let i = t.coordsAtPos(e);
25513
25515
  if (e > n.start()) {
25514
25516
  let o = t.coordsAtPos(e - 1), a = (o.top + o.bottom) / 2;
@@ -25607,7 +25609,7 @@ function rk(t, e) {
25607
25609
  let p = r.firstChild;
25608
25610
  n.push(p.type.name, p.attrs != p.type.defaultAttrs ? p.attrs : null), r = p.content;
25609
25611
  }
25610
- let a = t.someProp("clipboardSerializer") || eo.fromSchema(t.state.schema), s = uk(), l = s.createElement("div");
25612
+ let a = t.someProp("clipboardSerializer") || to.fromSchema(t.state.schema), s = uk(), l = s.createElement("div");
25611
25613
  l.appendChild(a.serializeFragment(r, { document: s }));
25612
25614
  let u = l.firstChild, c, d = 0;
25613
25615
  for (; u && u.nodeType == 1 && (c = lk[u.nodeName.toLowerCase()]); ) {
@@ -25640,7 +25642,7 @@ function ik(t, e, n, r, i) {
25640
25642
  if (d)
25641
25643
  s = d;
25642
25644
  else {
25643
- let f = i.marks(), { schema: p } = t.state, h = eo.fromSchema(p);
25645
+ let f = i.marks(), { schema: p } = t.state, h = to.fromSchema(p);
25644
25646
  a = document.createElement("div"), e.split(/(?:\r\n?|\n)+/).forEach((m) => {
25645
25647
  let g = a.appendChild(document.createElement("p"));
25646
25648
  m && g.appendChild(h.serializeNode(p.text(m, f)));
@@ -25761,7 +25763,7 @@ function Gz(t) {
25761
25763
  return n;
25762
25764
  }
25763
25765
  function _z(t) {
25764
- let e = t.querySelectorAll(Xt ? "span:not([class]):not([style])" : "span.Apple-converted-space");
25766
+ let e = t.querySelectorAll($t ? "span:not([class]):not([style])" : "span.Apple-converted-space");
25765
25767
  for (let n = 0; n < e.length; n++) {
25766
25768
  let r = e[n];
25767
25769
  r.childNodes.length == 1 && r.textContent == " " && r.parentNode && r.parentNode.replaceChild(t.ownerDocument.createTextNode(" "), r);
@@ -25836,11 +25838,11 @@ function Zz(t, e) {
25836
25838
  }
25837
25839
  rn.keydown = (t, e) => {
25838
25840
  let n = e;
25839
- if (t.input.shiftKey = n.keyCode == 16 || n.shiftKey, !dk(t, n) && (t.input.lastKeyCode = n.keyCode, t.input.lastKeyCodeTime = Date.now(), !(pr && Xt && n.keyCode == 13)))
25841
+ if (t.input.shiftKey = n.keyCode == 16 || n.shiftKey, !dk(t, n) && (t.input.lastKeyCode = n.keyCode, t.input.lastKeyCodeTime = Date.now(), !(pr && $t && n.keyCode == 13)))
25840
25842
  if (n.keyCode != 229 && t.domObserver.forceFlush(), Vo && n.keyCode == 13 && !n.ctrlKey && !n.altKey && !n.metaKey) {
25841
25843
  let r = Date.now();
25842
25844
  t.input.lastIOSEnter = r, t.input.lastIOSEnterFallbackTimeout = setTimeout(() => {
25843
- t.input.lastIOSEnter == r && (t.someProp("handleKeyDown", (i) => i(t, pi(13, "Enter"))), t.input.lastIOSEnter = 0);
25845
+ t.input.lastIOSEnter == r && (t.someProp("handleKeyDown", (i) => i(t, hi(13, "Enter"))), t.input.lastIOSEnter = 0);
25844
25846
  }, 200);
25845
25847
  } else t.someProp("handleKeyDown", (r) => r(t, n)) || jz(t, n) ? n.preventDefault() : _r(t, "key");
25846
25848
  };
@@ -25980,7 +25982,7 @@ class nW {
25980
25982
  // (hidden) cursor is doesn't change the selection, and
25981
25983
  // thus doesn't get a reaction from ProseMirror. This
25982
25984
  // works around that.
25983
- Xt && !this.view.state.selection.visible && Math.min(Math.abs(n.pos - this.view.state.selection.from), Math.abs(n.pos - this.view.state.selection.to)) <= 2) ? (So(this.view, Fe.near(this.view.state.doc.resolve(n.pos))), e.preventDefault()) : _r(this.view, "pointer");
25985
+ $t && !this.view.state.selection.visible && Math.min(Math.abs(n.pos - this.view.state.selection.from), Math.abs(n.pos - this.view.state.selection.to)) <= 2) ? (So(this.view, Fe.near(this.view.state.doc.resolve(n.pos))), e.preventDefault()) : _r(this.view, "pointer");
25984
25986
  }
25985
25987
  move(e) {
25986
25988
  this.updateAllowDefault(e), _r(this.view, "pointer"), e.buttons == 0 && this.done();
@@ -26140,7 +26142,7 @@ nn.dragstart = (t, e) => {
26140
26142
  }
26141
26143
  }
26142
26144
  let s = (a || t.state.selection).content(), { dom: l, text: u, slice: c } = rk(t, s);
26143
- (!n.dataTransfer.files.length || !Xt || _S > 120) && n.dataTransfer.clearData(), n.dataTransfer.setData(is ? "Text" : "text/html", l.innerHTML), n.dataTransfer.effectAllowed = "copyMove", is || n.dataTransfer.setData("text/plain", u), t.dragging = new mk(c, !n[gk], a);
26145
+ (!n.dataTransfer.files.length || !$t || _S > 120) && n.dataTransfer.clearData(), n.dataTransfer.setData(is ? "Text" : "text/html", l.innerHTML), n.dataTransfer.effectAllowed = "copyMove", is || n.dataTransfer.setData("text/plain", u), t.dragging = new mk(c, !n[gk], a);
26144
26146
  };
26145
26147
  nn.dragend = (t) => {
26146
26148
  let e = t.dragging;
@@ -26197,11 +26199,11 @@ nn.blur = (t, e) => {
26197
26199
  t.focused && (t.domObserver.stop(), t.dom.classList.remove("ProseMirror-focused"), t.domObserver.start(), n.relatedTarget && t.dom.contains(n.relatedTarget) && t.domObserver.currentSelection.clear(), t.focused = !1);
26198
26200
  };
26199
26201
  nn.beforeinput = (t, e) => {
26200
- if (Xt && pr && e.inputType == "deleteContentBackward") {
26202
+ if ($t && pr && e.inputType == "deleteContentBackward") {
26201
26203
  t.domObserver.flushSoon();
26202
26204
  let { domChangeCount: r } = t.input;
26203
26205
  setTimeout(() => {
26204
- if (t.input.domChangeCount != r || (t.dom.blur(), t.focus(), t.someProp("handleKeyDown", (o) => o(t, pi(8, "Backspace")))))
26206
+ if (t.input.domChangeCount != r || (t.dom.blur(), t.focus(), t.someProp("handleKeyDown", (o) => o(t, hi(8, "Backspace")))))
26205
26207
  return;
26206
26208
  let { $cursor: i } = t.state.selection;
26207
26209
  i && i.pos > 0 && t.dispatch(t.state.tr.delete(i.pos - 1, i.pos).scrollIntoView());
@@ -26223,7 +26225,7 @@ function ss(t, e) {
26223
26225
  }
26224
26226
  class $l {
26225
26227
  constructor(e, n) {
26226
- this.toDOM = e, this.spec = n || Ni, this.side = this.spec.side || 0;
26228
+ this.toDOM = e, this.spec = n || Fi, this.side = this.spec.side || 0;
26227
26229
  }
26228
26230
  map(e, n, r, i) {
26229
26231
  let { pos: o, deleted: a } = e.mapResult(n.from + i, this.side < 0 ? -1 : 1);
@@ -26241,7 +26243,7 @@ class $l {
26241
26243
  }
26242
26244
  class Yr {
26243
26245
  constructor(e, n) {
26244
- this.attrs = e, this.spec = n || Ni;
26246
+ this.attrs = e, this.spec = n || Fi;
26245
26247
  }
26246
26248
  map(e, n, r, i) {
26247
26249
  let o = e.map(n.from + i, this.spec.inclusiveStart ? -1 : 1) - r, a = e.map(n.to + i, this.spec.inclusiveEnd ? 1 : -1) - r;
@@ -26261,7 +26263,7 @@ class Yr {
26261
26263
  }
26262
26264
  class nm {
26263
26265
  constructor(e, n) {
26264
- this.attrs = e, this.spec = n || Ni;
26266
+ this.attrs = e, this.spec = n || Fi;
26265
26267
  }
26266
26268
  map(e, n, r, i) {
26267
26269
  let o = e.mapResult(n.from + i, 1);
@@ -26351,7 +26353,7 @@ class En {
26351
26353
  return this.type instanceof $l;
26352
26354
  }
26353
26355
  }
26354
- const uo = [], Ni = {};
26356
+ const uo = [], Fi = {};
26355
26357
  class Et {
26356
26358
  /**
26357
26359
  @internal
@@ -26365,7 +26367,7 @@ class Et {
26365
26367
  you must make a copy if you want need to preserve that.
26366
26368
  */
26367
26369
  static create(e, n) {
26368
- return n.length ? Xl(n, e, 0, Ni) : Ht;
26370
+ return n.length ? Xl(n, e, 0, Fi) : Wt;
26369
26371
  }
26370
26372
  /**
26371
26373
  Find all decorations in this set which touch the given range
@@ -26395,7 +26397,7 @@ class Et {
26395
26397
  document.
26396
26398
  */
26397
26399
  map(e, n, r) {
26398
- return this == Ht || e.maps.length == 0 ? this : this.mapInner(e, n, 0, 0, r || Ni);
26400
+ return this == Wt || e.maps.length == 0 ? this : this.mapInner(e, n, 0, 0, r || Fi);
26399
26401
  }
26400
26402
  /**
26401
26403
  @internal
@@ -26406,7 +26408,7 @@ class Et {
26406
26408
  let l = this.local[s].map(e, r, i);
26407
26409
  l && l.type.valid(n, l) ? (a || (a = [])).push(l) : o.onRemove && o.onRemove(this.local[s].spec);
26408
26410
  }
26409
- return this.children.length ? uW(this.children, a || [], e, n, r, i, o) : a ? new Et(a.sort(Fi), uo) : Ht;
26411
+ return this.children.length ? uW(this.children, a || [], e, n, r, i, o) : a ? new Et(a.sort(ji), uo) : Wt;
26410
26412
  }
26411
26413
  /**
26412
26414
  Add the given array of decorations to the ones in the set,
@@ -26415,7 +26417,7 @@ class Et {
26415
26417
  structure.
26416
26418
  */
26417
26419
  add(e, n) {
26418
- return n.length ? this == Ht ? Et.create(e, n) : this.addInner(e, n, 0) : this;
26420
+ return n.length ? this == Wt ? Et.create(e, n) : this.addInner(e, n, 0) : this;
26419
26421
  }
26420
26422
  addInner(e, n, r) {
26421
26423
  let i, o = 0;
@@ -26424,20 +26426,20 @@ class Et {
26424
26426
  if (c = vk(n, s, u)) {
26425
26427
  for (i || (i = this.children.slice()); o < i.length && i[o] < l; )
26426
26428
  o += 3;
26427
- i[o] == l ? i[o + 2] = i[o + 2].addInner(s, c, u + 1) : i.splice(o, 0, l, l + s.nodeSize, Xl(c, s, u + 1, Ni)), o += 3;
26429
+ i[o] == l ? i[o + 2] = i[o + 2].addInner(s, c, u + 1) : i.splice(o, 0, l, l + s.nodeSize, Xl(c, s, u + 1, Fi)), o += 3;
26428
26430
  }
26429
26431
  });
26430
26432
  let a = bk(o ? yk(n) : n, -r);
26431
26433
  for (let s = 0; s < a.length; s++)
26432
26434
  a[s].type.valid(e, a[s]) || a.splice(s--, 1);
26433
- return new Et(a.length ? this.local.concat(a).sort(Fi) : this.local, i || this.children);
26435
+ return new Et(a.length ? this.local.concat(a).sort(ji) : this.local, i || this.children);
26434
26436
  }
26435
26437
  /**
26436
26438
  Create a new set that contains the decorations in this set, minus
26437
26439
  the ones in the given array.
26438
26440
  */
26439
26441
  remove(e) {
26440
- return e.length == 0 || this == Ht ? this : this.removeInner(e, 0);
26442
+ return e.length == 0 || this == Wt ? this : this.removeInner(e, 0);
26441
26443
  }
26442
26444
  removeInner(e, n) {
26443
26445
  let r = this.children, i = this.local;
@@ -26449,7 +26451,7 @@ class Et {
26449
26451
  continue;
26450
26452
  r == this.children && (r = this.children.slice());
26451
26453
  let u = r[o + 2].removeInner(a, s + 1);
26452
- u != Ht ? r[o + 2] = u : (r.splice(o, 3), o -= 3);
26454
+ u != Wt ? r[o + 2] = u : (r.splice(o, 3), o -= 3);
26453
26455
  }
26454
26456
  if (i.length) {
26455
26457
  for (let o = 0, a; o < e.length; o++)
@@ -26457,10 +26459,10 @@ class Et {
26457
26459
  for (let s = 0; s < i.length; s++)
26458
26460
  i[s].eq(a, n) && (i == this.local && (i = this.local.slice()), i.splice(s--, 1));
26459
26461
  }
26460
- return r == this.children && i == this.local ? this : i.length || r.length ? new Et(i, r) : Ht;
26462
+ return r == this.children && i == this.local ? this : i.length || r.length ? new Et(i, r) : Wt;
26461
26463
  }
26462
26464
  forChild(e, n) {
26463
- if (this == Ht)
26465
+ if (this == Wt)
26464
26466
  return this;
26465
26467
  if (n.isLeaf)
26466
26468
  return Et.empty;
@@ -26479,10 +26481,10 @@ class Et {
26479
26481
  }
26480
26482
  }
26481
26483
  if (i) {
26482
- let s = new Et(i.sort(Fi), uo);
26484
+ let s = new Et(i.sort(ji), uo);
26483
26485
  return r ? new Rr([s, r]) : s;
26484
26486
  }
26485
- return r || Ht;
26487
+ return r || Wt;
26486
26488
  }
26487
26489
  /**
26488
26490
  @internal
@@ -26510,7 +26512,7 @@ class Et {
26510
26512
  @internal
26511
26513
  */
26512
26514
  localsInner(e) {
26513
- if (this == Ht)
26515
+ if (this == Wt)
26514
26516
  return uo;
26515
26517
  if (e.inlineContent || !this.local.some(Yr.is))
26516
26518
  return this.local;
@@ -26525,13 +26527,13 @@ class Et {
26525
26527
  }
26526
26528
  Et.empty = new Et([], []);
26527
26529
  Et.removeOverlap = rm;
26528
- const Ht = Et.empty;
26530
+ const Wt = Et.empty;
26529
26531
  class Rr {
26530
26532
  constructor(e) {
26531
26533
  this.members = e;
26532
26534
  }
26533
26535
  map(e, n) {
26534
- const r = this.members.map((i) => i.map(e, n, Ni));
26536
+ const r = this.members.map((i) => i.map(e, n, Fi));
26535
26537
  return Rr.from(r);
26536
26538
  }
26537
26539
  forChild(e, n) {
@@ -26540,7 +26542,7 @@ class Rr {
26540
26542
  let r = [];
26541
26543
  for (let i = 0; i < this.members.length; i++) {
26542
26544
  let o = this.members[i].forChild(e, n);
26543
- o != Ht && (o instanceof Rr ? r = r.concat(o.members) : r.push(o));
26545
+ o != Wt && (o instanceof Rr ? r = r.concat(o.members) : r.push(o));
26544
26546
  }
26545
26547
  return Rr.from(r);
26546
26548
  }
@@ -26565,14 +26567,14 @@ class Rr {
26565
26567
  n.push(o[a]);
26566
26568
  }
26567
26569
  }
26568
- return n ? rm(r ? n : n.sort(Fi)) : uo;
26570
+ return n ? rm(r ? n : n.sort(ji)) : uo;
26569
26571
  }
26570
26572
  // Create a group for the given array of decoration sets, or return
26571
26573
  // a single set when possible.
26572
26574
  static from(e) {
26573
26575
  switch (e.length) {
26574
26576
  case 0:
26575
- return Ht;
26577
+ return Wt;
26576
26578
  case 1:
26577
26579
  return e[0];
26578
26580
  default:
@@ -26615,7 +26617,7 @@ function uW(t, e, n, r, i, o, a) {
26615
26617
  let f = n.map(t[u + 1] + o, -1), p = f - i, { index: h, offset: m } = r.content.findIndex(d), g = r.maybeChild(h);
26616
26618
  if (g && m == d && m + g.nodeSize == p) {
26617
26619
  let b = s[u + 2].mapInner(n, g, c + 1, t[u] + o + 1, a);
26618
- b != Ht ? (s[u] = d, s[u + 1] = p, s[u + 2] = b) : (s[u + 1] = -2, l = !0);
26620
+ b != Wt ? (s[u] = d, s[u + 1] = p, s[u + 2] = b) : (s[u + 1] = -2, l = !0);
26619
26621
  } else
26620
26622
  l = !0;
26621
26623
  }
@@ -26631,7 +26633,7 @@ function uW(t, e, n, r, i, o, a) {
26631
26633
  s.splice(f, 0, c.children[d], c.children[d + 1], c.children[d + 2]);
26632
26634
  }
26633
26635
  }
26634
- return new Et(e.sort(Fi), s);
26636
+ return new Et(e.sort(ji), s);
26635
26637
  }
26636
26638
  function bk(t, e) {
26637
26639
  if (!e || !t.length)
@@ -26677,15 +26679,15 @@ function Xl(t, e, n, r) {
26677
26679
  if (u) {
26678
26680
  o = !0;
26679
26681
  let c = Xl(u, s, n + l + 1, r);
26680
- c != Ht && i.push(l, l + s.nodeSize, c);
26682
+ c != Wt && i.push(l, l + s.nodeSize, c);
26681
26683
  }
26682
26684
  });
26683
- let a = bk(o ? yk(t) : t, -n).sort(Fi);
26685
+ let a = bk(o ? yk(t) : t, -n).sort(ji);
26684
26686
  for (let s = 0; s < a.length; s++)
26685
26687
  a[s].type.valid(e, a[s]) || (r.onRemove && r.onRemove(a[s].spec), a.splice(s--, 1));
26686
- return a.length || i.length ? new Et(a, i) : Ht;
26688
+ return a.length || i.length ? new Et(a, i) : Wt;
26687
26689
  }
26688
- function Fi(t, e) {
26690
+ function ji(t, e) {
26689
26691
  return t.from - e.from || t.to - e.to;
26690
26692
  }
26691
26693
  function rm(t) {
@@ -26707,7 +26709,7 @@ function rm(t) {
26707
26709
  return e;
26708
26710
  }
26709
26711
  function iy(t, e, n) {
26710
- for (; e < t.length && Fi(n, t[e]) > 0; )
26712
+ for (; e < t.length && ji(n, t[e]) > 0; )
26711
26713
  e++;
26712
26714
  t.splice(e, 0, n);
26713
26715
  }
@@ -26715,7 +26717,7 @@ function fd(t) {
26715
26717
  let e = [];
26716
26718
  return t.someProp("decorations", (n) => {
26717
26719
  let r = n(t.state);
26718
- r && r != Ht && e.push(r);
26720
+ r && r != Wt && e.push(r);
26719
26721
  }), t.cursorWrapper && e.push(Et.create(t.state.doc, [t.cursorWrapper.deco])), Rr.from(e);
26720
26722
  }
26721
26723
  const dW = {
@@ -26788,7 +26790,7 @@ class hW {
26788
26790
  return br(this.view);
26789
26791
  if (ln && $r <= 11 && !this.view.state.selection.empty) {
26790
26792
  let e = this.view.domSelectionRange();
26791
- if (e.focusNode && zi(e.focusNode, e.focusOffset, e.anchorNode, e.anchorOffset))
26793
+ if (e.focusNode && Wi(e.focusNode, e.focusOffset, e.anchorNode, e.anchorOffset))
26792
26794
  return this.flushSoon();
26793
26795
  }
26794
26796
  this.flush();
@@ -26892,7 +26894,7 @@ function mW(t) {
26892
26894
  }
26893
26895
  function sy(t, e) {
26894
26896
  let n = e.startContainer, r = e.startOffset, i = e.endContainer, o = e.endOffset, a = t.domAtPos(t.state.selection.anchor);
26895
- return zi(a.node, a.offset, i, o) && ([n, r, i, o] = [i, o, n, r]), { anchorNode: n, anchorOffset: r, focusNode: i, focusOffset: o };
26897
+ return Wi(a.node, a.offset, i, o) && ([n, r, i, o] = [i, o, n, r]), { anchorNode: n, anchorOffset: r, focusNode: i, focusOffset: o };
26896
26898
  }
26897
26899
  function gW(t, e) {
26898
26900
  if (e.getComposedRanges) {
@@ -26916,7 +26918,7 @@ function bW(t, e) {
26916
26918
  }
26917
26919
  function vW(t, e, n) {
26918
26920
  let { node: r, fromOffset: i, toOffset: o, from: a, to: s } = t.docView.parseRange(e, n), l = t.domSelectionRange(), u, c = l.anchorNode;
26919
- if (c && t.dom.contains(c.nodeType == 1 ? c : c.parentNode) && (u = [{ node: c, offset: l.anchorOffset }], lc(l) || u.push({ node: l.focusNode, offset: l.focusOffset })), Xt && t.input.lastKeyCode === 8)
26921
+ if (c && t.dom.contains(c.nodeType == 1 ? c : c.parentNode) && (u = [{ node: c, offset: l.anchorOffset }], lc(l) || u.push({ node: l.focusNode, offset: l.focusOffset })), $t && t.input.lastKeyCode === 8)
26920
26922
  for (let g = o; g > i; g--) {
26921
26923
  let b = r.childNodes[g - 1], x = b.pmViewDesc;
26922
26924
  if (b.nodeName == "BR" && !x) {
@@ -26963,7 +26965,7 @@ function CW(t, e, n, r, i) {
26963
26965
  if (t.input.compositionPendingChanges = 0, e < 0) {
26964
26966
  let k = t.input.lastSelectionTime > Date.now() - 50 ? t.input.lastSelectionOrigin : null, I = Kh(t, k);
26965
26967
  if (I && !t.state.selection.eq(I)) {
26966
- if (Xt && pr && t.input.lastKeyCode === 13 && Date.now() - 100 < t.input.lastKeyCodeTime && t.someProp("handleKeyDown", (O) => O(t, pi(13, "Enter"))))
26968
+ if ($t && pr && t.input.lastKeyCode === 13 && Date.now() - 100 < t.input.lastKeyCodeTime && t.someProp("handleKeyDown", (O) => O(t, hi(13, "Enter"))))
26967
26969
  return;
26968
26970
  let A = t.state.tr.setSelection(I);
26969
26971
  k == "pointer" ? A.setMeta("pointer", !0) : k == "key" && A.scrollIntoView(), o && A.setMeta("composition", o), t.dispatch(A);
@@ -26975,7 +26977,7 @@ function CW(t, e, n, r, i) {
26975
26977
  let l = t.state.selection, u = vW(t, e, n), c = t.state.doc, d = c.slice(u.from, u.to), f, p;
26976
26978
  t.input.lastKeyCode === 8 && Date.now() - 100 < t.input.lastKeyCodeTime ? (f = t.state.selection.to, p = "end") : (f = t.state.selection.from, p = "start"), t.input.lastKeyCode = null;
26977
26979
  let h = kW(d.content, u.doc.content, u.from, f, p);
26978
- if (h && t.input.domChangeCount++, (Vo && t.input.lastIOSEnter > Date.now() - 225 || pr) && i.some((k) => k.nodeType == 1 && !xW.test(k.nodeName)) && (!h || h.endA >= h.endB) && t.someProp("handleKeyDown", (k) => k(t, pi(13, "Enter")))) {
26980
+ if (h && t.input.domChangeCount++, (Vo && t.input.lastIOSEnter > Date.now() - 225 || pr) && i.some((k) => k.nodeType == 1 && !xW.test(k.nodeName)) && (!h || h.endA >= h.endB) && t.someProp("handleKeyDown", (k) => k(t, hi(13, "Enter")))) {
26979
26981
  t.input.lastIOSEnter = 0;
26980
26982
  return;
26981
26983
  }
@@ -26994,17 +26996,17 @@ function CW(t, e, n, r, i) {
26994
26996
  }
26995
26997
  t.state.selection.from < t.state.selection.to && h.start == h.endB && t.state.selection instanceof Re && (h.start > t.state.selection.from && h.start <= t.state.selection.from + 2 && t.state.selection.from >= u.from ? h.start = t.state.selection.from : h.endA < t.state.selection.to && h.endA >= t.state.selection.to - 2 && t.state.selection.to <= u.to && (h.endB += t.state.selection.to - h.endA, h.endA = t.state.selection.to)), ln && $r <= 11 && h.endB == h.start + 1 && h.endA == h.start && h.start > u.from && u.doc.textBetween(h.start - u.from - 1, h.start - u.from + 1) == "  " && (h.start--, h.endA--, h.endB--);
26996
26998
  let m = u.doc.resolveNoCache(h.start - u.from), g = u.doc.resolveNoCache(h.endB - u.from), b = c.resolve(h.start), x = m.sameParent(g) && m.parent.inlineContent && b.end() >= h.endA, w;
26997
- if ((Vo && t.input.lastIOSEnter > Date.now() - 225 && (!x || i.some((k) => k.nodeName == "DIV" || k.nodeName == "P")) || !x && m.pos < u.doc.content.size && !m.sameParent(g) && (w = Fe.findFrom(u.doc.resolve(m.pos + 1), 1, !0)) && w.head == g.pos) && t.someProp("handleKeyDown", (k) => k(t, pi(13, "Enter")))) {
26999
+ if ((Vo && t.input.lastIOSEnter > Date.now() - 225 && (!x || i.some((k) => k.nodeName == "DIV" || k.nodeName == "P")) || !x && m.pos < u.doc.content.size && !m.sameParent(g) && (w = Fe.findFrom(u.doc.resolve(m.pos + 1), 1, !0)) && w.head == g.pos) && t.someProp("handleKeyDown", (k) => k(t, hi(13, "Enter")))) {
26998
27000
  t.input.lastIOSEnter = 0;
26999
27001
  return;
27000
27002
  }
27001
- if (t.state.selection.anchor > h.start && SW(c, h.start, h.endA, m, g) && t.someProp("handleKeyDown", (k) => k(t, pi(8, "Backspace")))) {
27002
- pr && Xt && t.domObserver.suppressSelectionUpdates();
27003
+ if (t.state.selection.anchor > h.start && SW(c, h.start, h.endA, m, g) && t.someProp("handleKeyDown", (k) => k(t, hi(8, "Backspace")))) {
27004
+ pr && $t && t.domObserver.suppressSelectionUpdates();
27003
27005
  return;
27004
27006
  }
27005
- Xt && h.endB == h.start && (t.input.lastChromeDelete = Date.now()), pr && !x && m.start() != g.start() && g.parentOffset == 0 && m.depth == g.depth && u.sel && u.sel.anchor == u.sel.head && u.sel.head == h.endA && (h.endB -= 2, g = u.doc.resolveNoCache(h.endB - u.from), setTimeout(() => {
27007
+ $t && h.endB == h.start && (t.input.lastChromeDelete = Date.now()), pr && !x && m.start() != g.start() && g.parentOffset == 0 && m.depth == g.depth && u.sel && u.sel.anchor == u.sel.head && u.sel.head == h.endA && (h.endB -= 2, g = u.doc.resolveNoCache(h.endB - u.from), setTimeout(() => {
27006
27008
  t.someProp("handleKeyDown", function(k) {
27007
- return k(t, pi(13, "Enter"));
27009
+ return k(t, hi(13, "Enter"));
27008
27010
  });
27009
27011
  }, 20));
27010
27012
  let v = h.start, y = h.endA, C, E, S;
@@ -27025,7 +27027,7 @@ function CW(t, e, n, r, i) {
27025
27027
  }
27026
27028
  if (C || (C = t.state.tr.replace(v, y, u.doc.slice(h.start - u.from, h.endB - u.from))), u.sel) {
27027
27029
  let k = ly(t, C.doc, u.sel);
27028
- k && !(Xt && t.composing && k.empty && (h.start != h.endB || t.input.lastChromeDelete < Date.now() - 100) && (k.head == v || k.head == C.mapping.map(y) - 1) || ln && k.empty && k.head == v) && C.setSelection(k);
27030
+ k && !($t && t.composing && k.empty && (h.start != h.endB || t.input.lastChromeDelete < Date.now() - 100) && (k.head == v || k.head == C.mapping.map(y) - 1) || ln && k.empty && k.head == v) && C.setSelection(k);
27029
27031
  }
27030
27032
  E && C.ensureMarks(E), o && C.setMeta("composition", o), t.dispatch(C.scrollIntoView());
27031
27033
  }
@@ -27179,9 +27181,9 @@ class EW {
27179
27181
  let f = c == "preserve" && a && this.dom.style.overflowAnchor == null && oz(this);
27180
27182
  if (a) {
27181
27183
  this.domObserver.stop();
27182
- let p = d && (ln || Xt) && !this.composing && !i.selection.empty && !e.selection.empty && IW(i.selection, e.selection);
27184
+ let p = d && (ln || $t) && !this.composing && !i.selection.empty && !e.selection.empty && IW(i.selection, e.selection);
27183
27185
  if (d) {
27184
- let h = Xt ? this.trackWrites = this.domSelectionRange().focusNode : null;
27186
+ let h = $t ? this.trackWrites = this.domSelectionRange().focusNode : null;
27185
27187
  this.composing && (this.input.compositionNode = iW(this)), (o || !this.docView.update(e.doc, u, l, this)) && (this.docView.updateOuterDeco(u), this.docView.destroy(), this.docView = Hv(e.doc, u, l, this.dom, this)), h && !this.trackWrites && (p = !0);
27186
27188
  }
27187
27189
  p || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && Mz(this)) ? br(this, p) : (ek(this, e.selection), this.domObserver.setCurSelection()), this.domObserver.start();
@@ -27599,7 +27601,7 @@ function md(t, e, n = !0) {
27599
27601
  return e.altKey && (t = "Alt-" + t), e.ctrlKey && (t = "Ctrl-" + t), e.metaKey && (t = "Meta-" + t), n && e.shiftKey && (t = "Shift-" + t), t;
27600
27602
  }
27601
27603
  function NW(t) {
27602
- return new Lt({ props: { handleKeyDown: xk(t) } });
27604
+ return new Vt({ props: { handleKeyDown: xk(t) } });
27603
27605
  }
27604
27606
  function xk(t) {
27605
27607
  let e = RW(t);
@@ -28359,7 +28361,7 @@ function vy(t, e) {
28359
28361
  return Array.isArray(e) ? e.some((n) => (typeof n == "string" ? n : n.name) === t.name) : e;
28360
28362
  }
28361
28363
  function am(t, e) {
28362
- const n = eo.fromSchema(e).serializeFragment(t), i = document.implementation.createHTMLDocument().createElement("div");
28364
+ const n = to.fromSchema(e).serializeFragment(t), i = document.implementation.createHTMLDocument().createElement("div");
28363
28365
  return i.appendChild(n), i.innerHTML;
28364
28366
  }
28365
28367
  const d9 = (t, e = 500) => {
@@ -28438,7 +28440,7 @@ function Xs(t) {
28438
28440
  }), c;
28439
28441
  }
28440
28442
  function p9(t) {
28441
- const { editor: e, rules: n } = t, r = new Lt({
28443
+ const { editor: e, rules: n } = t, r = new Vt({
28442
28444
  state: {
28443
28445
  init() {
28444
28446
  return null;
@@ -28651,7 +28653,7 @@ function x9(t) {
28651
28653
  return a = typeof ClipboardEvent < "u" ? new ClipboardEvent("paste") : null, m;
28652
28654
  }
28653
28655
  };
28654
- return n.map((c) => new Lt({
28656
+ return n.map((c) => new Vt({
28655
28657
  // we register a global drag handler to track the current drag source element
28656
28658
  view(d) {
28657
28659
  const f = (h) => {
@@ -28948,7 +28950,7 @@ const w9 = Yt.create({
28948
28950
  },
28949
28951
  addProseMirrorPlugins() {
28950
28952
  return [
28951
- new Lt({
28953
+ new Vt({
28952
28954
  key: new gn("clipboardTextSerializer"),
28953
28955
  props: {
28954
28956
  clipboardTextSerializer: () => {
@@ -29075,7 +29077,7 @@ const F9 = (t, e = {}) => ({ tr: n, state: r, dispatch: i }) => {
29075
29077
  function Dk(t) {
29076
29078
  return t instanceof Re;
29077
29079
  }
29078
- function Si(t = 0, e = 0, n = 0) {
29080
+ function ki(t = 0, e = 0, n = 0) {
29079
29081
  return Math.min(Math.max(t, e), n);
29080
29082
  }
29081
29083
  function Rk(t, e = null) {
@@ -29087,7 +29089,7 @@ function Rk(t, e = null) {
29087
29089
  if (e === "end")
29088
29090
  return r;
29089
29091
  const i = n.from, o = r.to;
29090
- return e === "all" ? Re.create(t, Si(0, i, o), Si(t.content.size, i, o)) : Re.create(t, Si(e, i, o), Si(e, i, o));
29092
+ return e === "all" ? Re.create(t, ki(0, i, o), ki(t.content.size, i, o)) : Re.create(t, ki(e, i, o), ki(e, i, o));
29091
29093
  }
29092
29094
  const B9 = (t = null, e = {}) => ({ editor: n, view: r, tr: i, dispatch: o }) => {
29093
29095
  e = {
@@ -29609,13 +29611,13 @@ const kH = (t, e = {}) => ({ tr: n, state: r, dispatch: i }) => {
29609
29611
  return n.selection.$anchor.sameParent(n.selection.$head) && (a = n.selection.$anchor.parent.attrs), o.isTextblock ? i().command(({ commands: s }) => my(o, { ...a, ...e })(n) ? !0 : s.clearNodes()).command(({ state: s }) => my(o, { ...a, ...e })(s, r)).run() : (console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'), !1);
29610
29612
  }, TH = (t) => ({ tr: e, dispatch: n }) => {
29611
29613
  if (n) {
29612
- const { doc: r } = e, i = Si(t, 0, r.content.size), o = Ee.create(r, i);
29614
+ const { doc: r } = e, i = ki(t, 0, r.content.size), o = Ee.create(r, i);
29613
29615
  e.setSelection(o);
29614
29616
  }
29615
29617
  return !0;
29616
29618
  }, AH = (t) => ({ tr: e, dispatch: n }) => {
29617
29619
  if (n) {
29618
- const { doc: r } = e, { from: i, to: o } = typeof t == "number" ? { from: t, to: t } : t, a = Re.atStart(r).from, s = Re.atEnd(r).to, l = Si(i, a, s), u = Si(o, a, s), c = Re.create(r, l, u);
29620
+ const { doc: r } = e, { from: i, to: o } = typeof t == "number" ? { from: t, to: t } : t, a = Re.atStart(r).from, s = Re.atEnd(r).to, l = ki(i, a, s), u = ki(o, a, s), c = Re.create(r, l, u);
29619
29621
  e.setSelection(c);
29620
29622
  }
29621
29623
  return !0;
@@ -29903,7 +29905,7 @@ const WH = Yt.create({
29903
29905
  name: "drop",
29904
29906
  addProseMirrorPlugins() {
29905
29907
  return [
29906
- new Lt({
29908
+ new Vt({
29907
29909
  key: new gn("tiptapDrop"),
29908
29910
  props: {
29909
29911
  handleDrop: (t, e, n, r) => {
@@ -29922,7 +29924,7 @@ const WH = Yt.create({
29922
29924
  name: "editable",
29923
29925
  addProseMirrorPlugins() {
29924
29926
  return [
29925
- new Lt({
29927
+ new Vt({
29926
29928
  key: new gn("editable"),
29927
29929
  props: {
29928
29930
  editable: () => this.editor.options.editable
@@ -29935,7 +29937,7 @@ const WH = Yt.create({
29935
29937
  addProseMirrorPlugins() {
29936
29938
  const { editor: t } = this;
29937
29939
  return [
29938
- new Lt({
29940
+ new Vt({
29939
29941
  key: new gn("focusEvents"),
29940
29942
  props: {
29941
29943
  handleDOMEvents: {
@@ -30008,7 +30010,7 @@ const WH = Yt.create({
30008
30010
  // to a paragraph if necessary.
30009
30011
  // This is an alternative to ProseMirror's `AllSelection`, which doesn’t work well
30010
30012
  // with many other commands.
30011
- new Lt({
30013
+ new Vt({
30012
30014
  key: new gn("clearDocument"),
30013
30015
  appendTransaction: (t, e, n) => {
30014
30016
  const r = t.some((m) => m.docChanged) && !e.doc.eq(n.doc), i = t.some((m) => m.getMeta("preventClearDocument"));
@@ -30034,7 +30036,7 @@ const WH = Yt.create({
30034
30036
  name: "paste",
30035
30037
  addProseMirrorPlugins() {
30036
30038
  return [
30037
- new Lt({
30039
+ new Vt({
30038
30040
  key: new gn("tiptapPaste"),
30039
30041
  props: {
30040
30042
  handlePaste: (t, e, n) => {
@@ -30052,7 +30054,7 @@ const WH = Yt.create({
30052
30054
  name: "tabindex",
30053
30055
  addProseMirrorPlugins() {
30054
30056
  return [
30055
- new Lt({
30057
+ new Vt({
30056
30058
  key: new gn("tabindex"),
30057
30059
  props: {
30058
30060
  attributes: () => this.editor.isEditable ? { tabindex: "0" } : {}
@@ -30061,7 +30063,7 @@ const WH = Yt.create({
30061
30063
  ];
30062
30064
  }
30063
30065
  });
30064
- class hi {
30066
+ class mi {
30065
30067
  get name() {
30066
30068
  return this.node.type.name;
30067
30069
  }
@@ -30120,15 +30122,15 @@ class hi {
30120
30122
  if (this.depth === 0)
30121
30123
  return null;
30122
30124
  const e = this.resolvedPos.start(this.resolvedPos.depth - 1), n = this.resolvedPos.doc.resolve(e);
30123
- return new hi(n, this.editor);
30125
+ return new mi(n, this.editor);
30124
30126
  }
30125
30127
  get before() {
30126
30128
  let e = this.resolvedPos.doc.resolve(this.from - (this.isBlock ? 1 : 2));
30127
- return e.depth !== this.depth && (e = this.resolvedPos.doc.resolve(this.from - 3)), new hi(e, this.editor);
30129
+ return e.depth !== this.depth && (e = this.resolvedPos.doc.resolve(this.from - 3)), new mi(e, this.editor);
30128
30130
  }
30129
30131
  get after() {
30130
30132
  let e = this.resolvedPos.doc.resolve(this.to + (this.isBlock ? 2 : 1));
30131
- return e.depth !== this.depth && (e = this.resolvedPos.doc.resolve(this.to + 3)), new hi(e, this.editor);
30133
+ return e.depth !== this.depth && (e = this.resolvedPos.doc.resolve(this.to + 3)), new mi(e, this.editor);
30132
30134
  }
30133
30135
  get children() {
30134
30136
  const e = [];
@@ -30136,8 +30138,8 @@ class hi {
30136
30138
  const i = n.isBlock && !n.isTextblock, o = n.isAtom && !n.isText, a = this.pos + r + (o ? 0 : 1), s = this.resolvedPos.doc.resolve(a);
30137
30139
  if (!i && s.depth <= this.depth)
30138
30140
  return;
30139
- const l = new hi(s, this.editor, i, i ? n : null);
30140
- i && (l.actualDepth = this.depth + 1), e.push(new hi(s, this.editor, i, i ? n : null));
30141
+ const l = new mi(s, this.editor, i, i ? n : null);
30142
+ i && (l.actualDepth = this.depth + 1), e.push(new mi(s, this.editor, i, i ? n : null));
30141
30143
  }), e;
30142
30144
  }
30143
30145
  get firstChild() {
@@ -30606,7 +30608,7 @@ let qH = class extends s9 {
30606
30608
  }
30607
30609
  $pos(e) {
30608
30610
  const n = this.state.doc.resolve(e);
30609
- return new hi(n, this);
30611
+ return new mi(n, this);
30610
30612
  }
30611
30613
  get $doc() {
30612
30614
  return this.$pos(0);
@@ -30721,7 +30723,7 @@ let Vn = class lp {
30721
30723
  })), n;
30722
30724
  }
30723
30725
  };
30724
- function Hi(t) {
30726
+ function $i(t) {
30725
30727
  return new g9({
30726
30728
  find: t.find,
30727
30729
  handler: ({ state: e, range: n, match: r, pasteEvent: i }) => {
@@ -31507,7 +31509,7 @@ const S5 = (t) => {
31507
31509
  function O5(t, e) {
31508
31510
  return t in e || (e[t] = []), e[t];
31509
31511
  }
31510
- function ki(t, e, n) {
31512
+ function Ei(t, e, n) {
31511
31513
  e[fp] && (e[Na] = !0, e[xa] = !0), e[pp] && (e[Na] = !0, e[hp] = !0), e[Na] && (e[xa] = !0), e[hp] && (e[xa] = !0), e[xa] && (e[mp] = !0), e[_k] && (e[mp] = !0);
31512
31514
  for (const r in e) {
31513
31515
  const i = O5(r, n);
@@ -31579,7 +31581,7 @@ an.prototype = {
31579
31581
  tr(t, e, n, r) {
31580
31582
  r = r || an.groups;
31581
31583
  let i;
31582
- return e && e.j ? i = e : (i = new an(e), n && r && ki(e, n, r)), this.jr.push([t, i]), i;
31584
+ return e && e.j ? i = e : (i = new an(e), n && r && Ei(e, n, r)), this.jr.push([t, i]), i;
31583
31585
  },
31584
31586
  /**
31585
31587
  * Short for "take transitions", will take as many sequential transitions as
@@ -31637,8 +31639,8 @@ an.prototype = {
31637
31639
  if (r)
31638
31640
  if (a.t && typeof a.t == "string") {
31639
31641
  const l = _o(P5(a.t, r), n);
31640
- ki(o, l, r);
31641
- } else n && ki(o, n, r);
31642
+ Ei(o, l, r);
31643
+ } else n && Ei(o, n, r);
31642
31644
  a.t = o;
31643
31645
  }
31644
31646
  return i.j[t] = a, a;
@@ -31746,16 +31748,16 @@ function N5(t = []) {
31746
31748
  Er(n, Js[m], bp, lr, p);
31747
31749
  for (let m = 0; m < Ks.length; m++)
31748
31750
  Er(n, Ks[m], vp, gp, h);
31749
- ki(bp, {
31751
+ Ei(bp, {
31750
31752
  tld: !0,
31751
31753
  ascii: !0
31752
- }, e), ki(vp, {
31754
+ }, e), Ei(vp, {
31753
31755
  utld: !0,
31754
31756
  alpha: !0
31755
- }, e), Er(n, "file", gl, lr, p), Er(n, "mailto", gl, lr, p), Er(n, "http", co, lr, p), Er(n, "https", co, lr, p), Er(n, "ftp", co, lr, p), Er(n, "ftps", co, lr, p), ki(gl, {
31757
+ }, e), Er(n, "file", gl, lr, p), Er(n, "mailto", gl, lr, p), Er(n, "http", co, lr, p), Er(n, "https", co, lr, p), Er(n, "ftp", co, lr, p), Er(n, "ftps", co, lr, p), Ei(gl, {
31756
31758
  scheme: !0,
31757
31759
  ascii: !0
31758
- }, e), ki(co, {
31760
+ }, e), Ei(co, {
31759
31761
  slashscheme: !0,
31760
31762
  ascii: !0
31761
31763
  }, e), t = t.sort((m, g) => m[0] > g[0] ? 1 : -1);
@@ -32202,7 +32204,7 @@ function W5(t) {
32202
32204
  return t.length === 1 ? t[0].isLink : t.length === 3 && t[1].isLink ? ["()", "[]"].includes(t[0].value + t[2].value) : !1;
32203
32205
  }
32204
32206
  function H5(t) {
32205
- return new Lt({
32207
+ return new Vt({
32206
32208
  key: new gn("autolink"),
32207
32209
  appendTransaction: (e, n, r) => {
32208
32210
  const i = e.some((u) => u.docChanged) && !n.doc.eq(r.doc), o = e.some((u) => u.getMeta("preventAutolink"));
@@ -32238,7 +32240,7 @@ function H5(t) {
32238
32240
  });
32239
32241
  }
32240
32242
  function $5(t) {
32241
- return new Lt({
32243
+ return new Vt({
32242
32244
  key: new gn("handleClickLink"),
32243
32245
  props: {
32244
32246
  handleClick: (e, n, r) => {
@@ -32258,7 +32260,7 @@ function $5(t) {
32258
32260
  });
32259
32261
  }
32260
32262
  function X5(t) {
32261
- return new Lt({
32263
+ return new Vt({
32262
32264
  key: new gn("handlePasteLink"),
32263
32265
  props: {
32264
32266
  handlePaste: (e, n, r) => {
@@ -32278,7 +32280,7 @@ function X5(t) {
32278
32280
  });
32279
32281
  }
32280
32282
  const Y5 = /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g;
32281
- function si(t, e) {
32283
+ function li(t, e) {
32282
32284
  const n = [
32283
32285
  "http",
32284
32286
  "https",
@@ -32332,7 +32334,7 @@ const Z5 = Fn.create({
32332
32334
  rel: "noopener noreferrer nofollow",
32333
32335
  class: null
32334
32336
  },
32335
- isAllowedUri: (t, e) => !!si(t, e.protocols),
32337
+ isAllowedUri: (t, e) => !!li(t, e.protocols),
32336
32338
  validate: (t) => !!t,
32337
32339
  shouldAutoLink: (t) => !!t
32338
32340
  };
@@ -32363,7 +32365,7 @@ const Z5 = Fn.create({
32363
32365
  getAttrs: (t) => {
32364
32366
  const e = t.getAttribute("href");
32365
32367
  return !e || !this.options.isAllowedUri(e, {
32366
- defaultValidate: (n) => !!si(n, this.options.protocols),
32368
+ defaultValidate: (n) => !!li(n, this.options.protocols),
32367
32369
  protocols: this.options.protocols,
32368
32370
  defaultProtocol: this.options.defaultProtocol
32369
32371
  }) ? !1 : null;
@@ -32373,7 +32375,7 @@ const Z5 = Fn.create({
32373
32375
  },
32374
32376
  renderHTML({ HTMLAttributes: t }) {
32375
32377
  return this.options.isAllowedUri(t.href, {
32376
- defaultValidate: (e) => !!si(e, this.options.protocols),
32378
+ defaultValidate: (e) => !!li(e, this.options.protocols),
32377
32379
  protocols: this.options.protocols,
32378
32380
  defaultProtocol: this.options.defaultProtocol
32379
32381
  }) ? ["a", vt(this.options.HTMLAttributes, t), 0] : [
@@ -32387,7 +32389,7 @@ const Z5 = Fn.create({
32387
32389
  setLink: (t) => ({ chain: e }) => {
32388
32390
  const { href: n } = t;
32389
32391
  return this.options.isAllowedUri(n, {
32390
- defaultValidate: (r) => !!si(r, this.options.protocols),
32392
+ defaultValidate: (r) => !!li(r, this.options.protocols),
32391
32393
  protocols: this.options.protocols,
32392
32394
  defaultProtocol: this.options.defaultProtocol
32393
32395
  }) ? e().setMark(this.name, t).setMeta("preventAutolink", !0).run() : !1;
@@ -32395,7 +32397,7 @@ const Z5 = Fn.create({
32395
32397
  toggleLink: (t) => ({ chain: e }) => {
32396
32398
  const { href: n } = t;
32397
32399
  return this.options.isAllowedUri(n, {
32398
- defaultValidate: (r) => !!si(r, this.options.protocols),
32400
+ defaultValidate: (r) => !!li(r, this.options.protocols),
32399
32401
  protocols: this.options.protocols,
32400
32402
  defaultProtocol: this.options.defaultProtocol
32401
32403
  }) ? e().toggleMark(this.name, t, { extendEmptyMarkRange: !0 }).setMeta("preventAutolink", !0).run() : !1;
@@ -32405,12 +32407,12 @@ const Z5 = Fn.create({
32405
32407
  },
32406
32408
  addPasteRules() {
32407
32409
  return [
32408
- Hi({
32410
+ $i({
32409
32411
  find: (t) => {
32410
32412
  const e = [];
32411
32413
  if (t) {
32412
32414
  const { protocols: n, defaultProtocol: r } = this.options, i = Uk(t).filter((o) => o.isLink && this.options.isAllowedUri(o.value, {
32413
- defaultValidate: (a) => !!si(a, n),
32415
+ defaultValidate: (a) => !!li(a, n),
32414
32416
  protocols: n,
32415
32417
  defaultProtocol: r
32416
32418
  }));
@@ -32440,7 +32442,7 @@ const Z5 = Fn.create({
32440
32442
  type: this.type,
32441
32443
  defaultProtocol: this.options.defaultProtocol,
32442
32444
  validate: (r) => this.options.isAllowedUri(r, {
32443
- defaultValidate: (i) => !!si(i, e),
32445
+ defaultValidate: (i) => !!li(i, e),
32444
32446
  protocols: e,
32445
32447
  defaultProtocol: n
32446
32448
  }),
@@ -32582,11 +32584,11 @@ const Z5 = Fn.create({
32582
32584
  },
32583
32585
  addPasteRules() {
32584
32586
  return [
32585
- Hi({
32587
+ $i({
32586
32588
  find: Q5,
32587
32589
  type: this.type
32588
32590
  }),
32589
- Hi({
32591
+ $i({
32590
32592
  find: t$,
32591
32593
  type: this.type
32592
32594
  })
@@ -32680,7 +32682,7 @@ const Z5 = Fn.create({
32680
32682
  },
32681
32683
  addPasteRules() {
32682
32684
  return [
32683
- Hi({
32685
+ $i({
32684
32686
  find: a$,
32685
32687
  type: this.type
32686
32688
  })
@@ -32796,7 +32798,7 @@ const Z5 = Fn.create({
32796
32798
  return [
32797
32799
  // this plugin creates a code block for pasted content from VS Code
32798
32800
  // we can also detect the copied code language
32799
- new Lt({
32801
+ new Vt({
32800
32802
  key: new gn("codeBlockVSCodeHandler"),
32801
32803
  props: {
32802
32804
  handlePaste: (t, e) => {
@@ -32819,7 +32821,7 @@ const Z5 = Fn.create({
32819
32821
  content: "block+"
32820
32822
  });
32821
32823
  function f$(t = {}) {
32822
- return new Lt({
32824
+ return new Vt({
32823
32825
  view(e) {
32824
32826
  return new p$(e, t);
32825
32827
  }
@@ -33047,7 +33049,7 @@ function g$(t) {
33047
33049
  return !0;
33048
33050
  }
33049
33051
  function b$() {
33050
- return new Lt({
33052
+ return new Vt({
33051
33053
  props: {
33052
33054
  decorations: C$,
33053
33055
  createSelectionBetween(t, e, n) {
@@ -33361,15 +33363,15 @@ class Or {
33361
33363
  }
33362
33364
  const I$ = 20;
33363
33365
  function T$(t, e, n, r) {
33364
- let i = n.getMeta(ji), o;
33366
+ let i = n.getMeta(Bi), o;
33365
33367
  if (i)
33366
33368
  return i.historyState;
33367
33369
  n.getMeta(O$) && (t = new Or(t.done, t.undone, null, 0, -1));
33368
33370
  let a = n.getMeta("appendedTransaction");
33369
33371
  if (n.steps.length == 0)
33370
33372
  return t;
33371
- if (a && a.getMeta(ji))
33372
- return a.getMeta(ji).redo ? new Or(t.done.addTransform(n, void 0, r, bl(e)), t.undone, By(n.mapping.maps), t.prevTime, t.prevComposition) : new Or(t.done, t.undone.addTransform(n, void 0, r, bl(e)), null, t.prevTime, t.prevComposition);
33373
+ if (a && a.getMeta(Bi))
33374
+ return a.getMeta(Bi).redo ? new Or(t.done.addTransform(n, void 0, r, bl(e)), t.undone, By(n.mapping.maps), t.prevTime, t.prevComposition) : new Or(t.done, t.undone.addTransform(n, void 0, r, bl(e)), null, t.prevTime, t.prevComposition);
33373
33375
  if (n.getMeta("addToHistory") !== !1 && !(a && a.getMeta("addToHistory") === !1)) {
33374
33376
  let s = n.getMeta("composition"), l = t.prevTime == 0 || !a && t.prevComposition != s && (t.prevTime < (n.time || 0) - r.newGroupDelay || !A$(n, t.prevRanges)), u = a ? Md(t.prevRanges, n.mapping) : By(n.mapping.maps);
33375
33377
  return new Or(t.done.addTransform(n, l ? e.selection.getBookmark() : void 0, r, bl(e)), Pn.empty, u, n.time, s ?? t.prevComposition);
@@ -33403,11 +33405,11 @@ function Md(t, e) {
33403
33405
  return n;
33404
33406
  }
33405
33407
  function M$(t, e, n) {
33406
- let r = bl(e), i = ji.get(e).spec.config, o = (n ? t.undone : t.done).popEvent(e, r);
33408
+ let r = bl(e), i = Bi.get(e).spec.config, o = (n ? t.undone : t.done).popEvent(e, r);
33407
33409
  if (!o)
33408
33410
  return null;
33409
33411
  let a = o.selection.resolve(o.transform.doc), s = (n ? t.done : t.undone).addTransform(o.transform, e.selection.getBookmark(), i, r), l = new Or(n ? s : o.remaining, n ? o.remaining : s, null, 0, -1);
33410
- return o.transform.setSelection(a).setMeta(ji, { redo: n, historyState: l });
33412
+ return o.transform.setSelection(a).setMeta(Bi, { redo: n, historyState: l });
33411
33413
  }
33412
33414
  let Od = !1, Vy = null;
33413
33415
  function bl(t) {
@@ -33422,13 +33424,13 @@ function bl(t) {
33422
33424
  }
33423
33425
  return Od;
33424
33426
  }
33425
- const ji = new gn("history"), O$ = new gn("closeHistory");
33427
+ const Bi = new gn("history"), O$ = new gn("closeHistory");
33426
33428
  function P$(t = {}) {
33427
33429
  return t = {
33428
33430
  depth: t.depth || 100,
33429
33431
  newGroupDelay: t.newGroupDelay || 500
33430
- }, new Lt({
33431
- key: ji,
33432
+ }, new Vt({
33433
+ key: Bi,
33432
33434
  state: {
33433
33435
  init() {
33434
33436
  return new Or(Pn.empty, Pn.empty, null, 0, -1);
@@ -33450,7 +33452,7 @@ function P$(t = {}) {
33450
33452
  }
33451
33453
  function Kk(t, e) {
33452
33454
  return (n, r) => {
33453
- let i = ji.getState(n);
33455
+ let i = Bi.getState(n);
33454
33456
  if (!i || (t ? i.undone : i.done).eventCount == 0)
33455
33457
  return !1;
33456
33458
  if (r) {
@@ -33594,11 +33596,11 @@ const qk = Kk(!1, !0), Qk = Kk(!0, !0), D$ = Yt.create({
33594
33596
  },
33595
33597
  addPasteRules() {
33596
33598
  return [
33597
- Hi({
33599
+ $i({
33598
33600
  find: F$,
33599
33601
  type: this.type
33600
33602
  }),
33601
- Hi({
33603
+ $i({
33602
33604
  find: B$,
33603
33605
  type: this.type
33604
33606
  })
@@ -33776,7 +33778,7 @@ const qk = Kk(!1, !0), Qk = Kk(!0, !0), D$ = Yt.create({
33776
33778
  },
33777
33779
  addPasteRules() {
33778
33780
  return [
33779
- Hi({
33781
+ $i({
33780
33782
  find: H$,
33781
33783
  type: this.type
33782
33784
  })
@@ -34038,8 +34040,8 @@ const qk = Kk(!1, !0), Qk = Kk(!0, !0), D$ = Yt.create({
34038
34040
  }
34039
34041
  ),
34040
34042
  children: /* @__PURE__ */ T.jsx("div", { className: "flex flex-1", children: /* @__PURE__ */ T.jsxs("form", { className: "flex flex-1 flex-col gap-4", onSubmit: n(r), children: [
34041
- /* @__PURE__ */ T.jsx($i.InputControl, { control: e, name: "href", label: "Введите ссылку" }),
34042
- /* @__PURE__ */ T.jsx($i.SwitchControl, { control: e, name: "underline", children: "С подчеркиванием" }),
34043
+ /* @__PURE__ */ T.jsx(Xi.InputControl, { control: e, name: "href", label: "Введите ссылку" }),
34044
+ /* @__PURE__ */ T.jsx(Xi.SwitchControl, { control: e, name: "underline", children: "С подчеркиванием" }),
34043
34045
  /* @__PURE__ */ T.jsx(px, { size: "sm", type: "submit", children: "Сохранить" })
34044
34046
  ] }) })
34045
34047
  }
@@ -36059,7 +36061,7 @@ const vX = [
36059
36061
  // Windows
36060
36062
  ];
36061
36063
  function yX(t) {
36062
- return Yi(this, void 0, void 0, function* () {
36064
+ return Zi(this, void 0, void 0, function* () {
36063
36065
  return Su(t) && xX(t.dataTransfer) ? kX(t.dataTransfer, t.type) : CX(t) ? wX(t) : Array.isArray(t) && t.every((e) => "getFile" in e && typeof e.getFile == "function") ? SX(t) : [];
36064
36066
  });
36065
36067
  }
@@ -36076,12 +36078,12 @@ function wX(t) {
36076
36078
  return Cp(t.target.files).map((e) => zo(e));
36077
36079
  }
36078
36080
  function SX(t) {
36079
- return Yi(this, void 0, void 0, function* () {
36081
+ return Zi(this, void 0, void 0, function* () {
36080
36082
  return (yield Promise.all(t.map((n) => n.getFile()))).map((n) => zo(n));
36081
36083
  });
36082
36084
  }
36083
36085
  function kX(t, e) {
36084
- return Yi(this, void 0, void 0, function* () {
36086
+ return Zi(this, void 0, void 0, function* () {
36085
36087
  if (t.items) {
36086
36088
  const n = Cp(t.items).filter((i) => i.kind === "file");
36087
36089
  if (e !== "drop")
@@ -36118,7 +36120,7 @@ function rE(t) {
36118
36120
  ], []);
36119
36121
  }
36120
36122
  function qy(t, e) {
36121
- return Yi(this, void 0, void 0, function* () {
36123
+ return Zi(this, void 0, void 0, function* () {
36122
36124
  var n;
36123
36125
  if (globalThis.isSecureContext && typeof t.getAsFileSystemHandle == "function") {
36124
36126
  const o = yield t.getAsFileSystemHandle();
@@ -36136,7 +36138,7 @@ function qy(t, e) {
36136
36138
  });
36137
36139
  }
36138
36140
  function IX(t) {
36139
- return Yi(this, void 0, void 0, function* () {
36141
+ return Zi(this, void 0, void 0, function* () {
36140
36142
  return t.isDirectory ? iE(t) : TX(t);
36141
36143
  });
36142
36144
  }
@@ -36145,7 +36147,7 @@ function iE(t) {
36145
36147
  return new Promise((n, r) => {
36146
36148
  const i = [];
36147
36149
  function o() {
36148
- e.readEntries((a) => Yi(this, void 0, void 0, function* () {
36150
+ e.readEntries((a) => Zi(this, void 0, void 0, function* () {
36149
36151
  if (a.length) {
36150
36152
  const s = Promise.all(a.map(IX));
36151
36153
  i.push(s), o();
@@ -36164,7 +36166,7 @@ function iE(t) {
36164
36166
  });
36165
36167
  }
36166
36168
  function TX(t) {
36167
- return Yi(this, void 0, void 0, function* () {
36169
+ return Zi(this, void 0, void 0, function* () {
36168
36170
  return new Promise((e, n) => {
36169
36171
  t.file((r) => {
36170
36172
  const i = zo(r, t.fullPath);
@@ -36293,17 +36295,17 @@ function sE(t, e) {
36293
36295
  return [n, n ? null : LX(e)];
36294
36296
  }
36295
36297
  function lE(t, e, n) {
36296
- if (mi(t.size))
36297
- if (mi(e) && mi(n)) {
36298
+ if (gi(t.size))
36299
+ if (gi(e) && gi(n)) {
36298
36300
  if (t.size > n) return [!1, nx(n)];
36299
36301
  if (t.size < e) return [!1, rx(e)];
36300
36302
  } else {
36301
- if (mi(e) && t.size < e) return [!1, rx(e)];
36302
- if (mi(n) && t.size > n) return [!1, nx(n)];
36303
+ if (gi(e) && t.size < e) return [!1, rx(e)];
36304
+ if (gi(n) && t.size > n) return [!1, nx(n)];
36303
36305
  }
36304
36306
  return [!0, null];
36305
36307
  }
36306
- function mi(t) {
36308
+ function gi(t) {
36307
36309
  return t != null;
36308
36310
  }
36309
36311
  function _X(t) {
@@ -36349,7 +36351,7 @@ function $X() {
36349
36351
  return "showOpenFilePicker" in window;
36350
36352
  }
36351
36353
  function XX(t) {
36352
- if (mi(t)) {
36354
+ if (gi(t)) {
36353
36355
  var e = Object.entries(t).filter(function(n) {
36354
36356
  var r = fs(n, 2), i = r[0], o = r[1], a = !0;
36355
36357
  return uE(i) || (console.warn('Skipped "'.concat(i, '" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')), a = !1), (!Array.isArray(o) || !o.every(cE)) && (console.warn('Skipped "'.concat(i, '" because an invalid file extension was provided.')), a = !1), a;
@@ -36366,7 +36368,7 @@ function XX(t) {
36366
36368
  return t;
36367
36369
  }
36368
36370
  function YX(t) {
36369
- if (mi(t))
36371
+ if (gi(t))
36370
36372
  return Object.entries(t).reduce(function(e, n) {
36371
36373
  var r = fs(n, 2), i = r[0], o = r[1];
36372
36374
  return [].concat(Qy(e), [i], Qy(o));
@@ -36490,7 +36492,7 @@ var Sm = /* @__PURE__ */ Dt(function(t, e) {
36490
36492
  return {
36491
36493
  open: o
36492
36494
  };
36493
- }, [o]), /* @__PURE__ */ oe.createElement(Vt, null, n(ut(ut({}, a), {}, {
36495
+ }, [o]), /* @__PURE__ */ oe.createElement(Xt, null, n(ut(ut({}, a), {}, {
36494
36496
  open: o
36495
36497
  })));
36496
36498
  });
@@ -36771,15 +36773,15 @@ function pE() {
36771
36773
  }, [R, c, E]), ie = xe(function(K, Q) {
36772
36774
  var ce = [], ge = [];
36773
36775
  K.forEach(function(ve) {
36774
- var Ie = sE(ve, I), Ve = Ld(Ie, 2), kt = Ve[0], be = Ve[1], We = lE(ve, a, o), Le = Ld(We, 2), Gt = Le[0], Tt = Le[1], dn = k ? k(ve) : null;
36775
- if (kt && Gt && !dn)
36776
+ var Ie = sE(ve, I), Ve = Ld(Ie, 2), kt = Ve[0], be = Ve[1], We = lE(ve, a, o), Le = Ld(We, 2), Lt = Le[0], Tt = Le[1], dn = k ? k(ve) : null;
36777
+ if (kt && Lt && !dn)
36776
36778
  ce.push(ve);
36777
36779
  else {
36778
36780
  var rt = [be, Tt];
36779
36781
  dn && (rt = rt.concat(dn)), ge.push({
36780
36782
  file: ve,
36781
- errors: rt.filter(function(_t) {
36782
- return _t;
36783
+ errors: rt.filter(function(Gt) {
36784
+ return Gt;
36783
36785
  })
36784
36786
  });
36785
36787
  }
@@ -36849,7 +36851,7 @@ function pE() {
36849
36851
  E && Q.stopPropagation();
36850
36852
  }, ae = Pe(function() {
36851
36853
  return function() {
36852
- var K = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, Q = K.refKey, ce = Q === void 0 ? "ref" : Q, ge = K.role, ve = K.onKeyDown, Ie = K.onFocus, Ve = K.onBlur, kt = K.onClick, be = K.onDragEnter, We = K.onDragOver, Le = K.onDragLeave, Gt = K.onDrop, Tt = Eu(K, qX);
36854
+ var K = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, Q = K.refKey, ce = Q === void 0 ? "ref" : Q, ge = K.role, ve = K.onKeyDown, Ie = K.onFocus, Ve = K.onBlur, kt = K.onClick, be = K.onDragEnter, We = K.onDragOver, Le = K.onDragLeave, Lt = K.onDrop, Tt = Eu(K, qX);
36853
36855
  return ut(ut(kp({
36854
36856
  onKeyDown: le(Ln(ve, ue)),
36855
36857
  onFocus: le(Ln(Ie, Y)),
@@ -36858,7 +36860,7 @@ function pE() {
36858
36860
  onDragEnter: de(Ln(be, q)),
36859
36861
  onDragOver: de(Ln(We, $)),
36860
36862
  onDragLeave: de(Ln(Le, J)),
36861
- onDrop: de(Ln(Gt, te)),
36863
+ onDrop: de(Ln(Lt, te)),
36862
36864
  role: typeof ge == "string" && ge !== "" ? ge : "presentation"
36863
36865
  }, ce, R), !r && !y ? {
36864
36866
  tabIndex: 0
@@ -37172,7 +37174,7 @@ var vY = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], Em = "RadioGroup",
37172
37174
  loop: c = !0,
37173
37175
  onValueChange: d,
37174
37176
  ...f
37175
- } = t, p = yE(n), h = Au(u), [m, g] = Xi({
37177
+ } = t, p = yE(n), h = Au(u), [m, g] = Yi({
37176
37178
  prop: o,
37177
37179
  defaultProp: i,
37178
37180
  onChange: d
@@ -37594,8 +37596,8 @@ var PE = B.createContext({}), DE = B.forwardRef((t, e) => {
37594
37596
  let Le = 0;
37595
37597
  if (K[0] !== null && K[1] !== null) {
37596
37598
  ge = We < K[1] ? "backward" : "forward";
37597
- let Gt = K[0] === K[1] && K[0] < U;
37598
- ge === "backward" && !Gt && (Le = -1);
37599
+ let Lt = K[0] === K[1] && K[0] < U;
37600
+ ge === "backward" && !Lt && (Le = -1);
37599
37601
  }
37600
37602
  Q = Le + We, ce = Le + We + 1;
37601
37603
  }
@@ -40978,7 +40980,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
40978
40980
  if (typeof ve == "string") be = ve.split(",");
40979
40981
  else for (Ie = 0; Ie < K.matches.length; Ie++) be.push(Ie.toString());
40980
40982
  if (O.excludes[y] !== void 0) {
40981
- for (var We = be.slice(), Le = 0, Gt = O.excludes[y].length; Le < Gt; Le++) {
40983
+ for (var We = be.slice(), Le = 0, Lt = O.excludes[y].length; Le < Lt; Le++) {
40982
40984
  var Tt = O.excludes[y][Le].toString().split(":");
40983
40985
  ne.length == Tt[1] && be.splice(be.indexOf(Tt[0]), 1);
40984
40986
  }
@@ -40991,18 +40993,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
40991
40993
  if (rt && te(rt, [Ie].concat(ne), he)) Y = !0;
40992
40994
  else if (dn === 0 && (D = U(K)), rt && rt.matches && rt.matches.length > K.matches[0].matches.length) break;
40993
40995
  ee = _.slice(), j = Ve, _ = [];
40994
- for (var _t = 0; _t < ee.length; _t++) {
40995
- var Te = ee[_t], to = !1;
40996
+ for (var Gt = 0; Gt < ee.length; Gt++) {
40997
+ var Te = ee[Gt], no = !1;
40996
40998
  Te.alternation = Te.alternation || ge, we(Te);
40997
40999
  for (var Qo = 0; Qo < Q.length; Qo++) {
40998
41000
  var Jt = Q[Qo];
40999
41001
  if (typeof ve != "string" || Te.alternation !== void 0 && be.includes(Te.locator[Te.alternation].toString())) {
41000
41002
  if (Te.match.nativeDef === Jt.match.nativeDef) {
41001
- to = !0, we(Jt, Te);
41003
+ no = !0, we(Jt, Te);
41002
41004
  break;
41003
41005
  }
41004
41006
  if (w(Te, Jt, P)) {
41005
- we(Te, Jt) && (to = !0, Q.splice(Q.indexOf(Jt), 0, Te));
41007
+ we(Te, Jt) && (no = !0, Q.splice(Q.indexOf(Jt), 0, Te));
41006
41008
  break;
41007
41009
  }
41008
41010
  if (w(Jt, Te, P)) {
@@ -41010,7 +41012,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
41010
41012
  break;
41011
41013
  }
41012
41014
  if (de(Te, Jt)) {
41013
- ae(Te, Jt) || R.inputmask.userOptions.keepStatic !== void 0 ? we(Te, Jt) && (to = !0, Q.splice(Q.indexOf(Jt), 0, Te)) : P.keepStatic = !0;
41015
+ ae(Te, Jt) || R.inputmask.userOptions.keepStatic !== void 0 ? we(Te, Jt) && (no = !0, Q.splice(Q.indexOf(Jt), 0, Te)) : P.keepStatic = !0;
41014
41016
  break;
41015
41017
  }
41016
41018
  if (de(Jt, Te)) {
@@ -41019,7 +41021,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
41019
41021
  }
41020
41022
  }
41021
41023
  }
41022
- to || Q.push(Te);
41024
+ no || Q.push(Te);
41023
41025
  }
41024
41026
  }
41025
41027
  _ = ce.concat(Q), j = y, H = _.length > 0 && D, Y = Q.length > 0 && !D, D && H && !Y && _.forEach(function(Mn, oi) {
@@ -41525,9 +41527,9 @@ const KY = ({
41525
41527
  return Array.isArray(g) ? g.map((b) => c(b)).join(", ") : c(g);
41526
41528
  } };
41527
41529
  }, qY = ({ option: t, classes: e, displayValue: n, isMulti: r, motionProps: i, ...o }) => {
41528
- const a = n ? n(t) : t.label, { item: s, helperText: l } = e || {}, u = r || t.attachment || t.helperText ? "div" : Vt;
41529
- return /* @__PURE__ */ T.jsx(Rh, { ...o, as: Vt, disabled: t.disabled, value: t, children: ({ disabled: c, selected: d, focus: f }) => /* @__PURE__ */ T.jsxs(
41530
- Bi.li,
41530
+ const a = n ? n(t) : t.label, { item: s, helperText: l } = e || {}, u = r || t.attachment || t.helperText ? "div" : Xt;
41531
+ return /* @__PURE__ */ T.jsx(Rh, { ...o, as: Xt, disabled: t.disabled, value: t, children: ({ disabled: c, selected: d, focus: f }) => /* @__PURE__ */ T.jsxs(
41532
+ Vi.li,
41531
41533
  {
41532
41534
  ...i,
41533
41535
  className: z(
@@ -41566,7 +41568,7 @@ const KY = ({
41566
41568
  ({
41567
41569
  label: t,
41568
41570
  invalid: e,
41569
- isMulti: n,
41571
+ isMulti: n = !1,
41570
41572
  isSearchable: r,
41571
41573
  options: i,
41572
41574
  classes: o,
@@ -41590,7 +41592,7 @@ const KY = ({
41590
41592
  externalInputValue: d,
41591
41593
  externalOnInputChange: f,
41592
41594
  externalHandlers: p
41593
- }), S = r ? Vt : xf, k = r ? xf : Vt;
41595
+ });
41594
41596
  return /* @__PURE__ */ T.jsx(
41595
41597
  rw,
41596
41598
  {
@@ -41602,33 +41604,33 @@ const KY = ({
41602
41604
  value: s ?? null,
41603
41605
  onChange: y,
41604
41606
  multiple: n,
41605
- children: ({ disabled: I, open: A, value: O }) => {
41606
- const P = () => n && r ? E(O) : r ? v : E(O);
41607
+ children: ({ disabled: S, open: k, value: I }) => {
41608
+ const A = () => n && r ? E(I) : r ? v : E(I);
41607
41609
  return /* @__PURE__ */ T.jsxs("div", { className: z("relative w-full", g), children: [
41608
- /* @__PURE__ */ T.jsx(S, { children: /* @__PURE__ */ T.jsx(
41610
+ /* @__PURE__ */ T.jsx(xf, { as: Xt, children: /* @__PURE__ */ T.jsx(
41609
41611
  Ph,
41610
41612
  {
41611
41613
  as: bn.InputBase,
41612
41614
  label: t,
41613
- disabled: I,
41615
+ disabled: S,
41614
41616
  readOnly: !r,
41615
- value: (d || P()) ?? "",
41617
+ value: (d || A()) ?? "",
41616
41618
  autoComplete: "off",
41617
- onChange: (R) => {
41618
- const { value: V } = R.target;
41619
- r && (f && f(V), p != null && p.onInputChange && p.onInputChange(V), C && C(R));
41619
+ onChange: (O) => {
41620
+ const { value: P } = O.target;
41621
+ r && (f && f(P), p != null && p.onInputChange && p.onInputChange(P), C && C(O));
41620
41622
  },
41621
41623
  invalid: e,
41622
41624
  classes: {
41623
41625
  input: n || !r ? "cursor-pointer" : void 0
41624
41626
  },
41625
41627
  attachmentProps: {
41626
- icon: /* @__PURE__ */ T.jsx(k, { children: /* @__PURE__ */ T.jsx(
41628
+ icon: /* @__PURE__ */ T.jsx(xf, { as: "span", children: /* @__PURE__ */ T.jsx(
41627
41629
  Be,
41628
41630
  {
41629
41631
  name: "arrows/arrowRight",
41630
41632
  className: z("size-6 rotate-90 text-color-blue-grey-600 duration-100", {
41631
- "-rotate-90": A
41633
+ "-rotate-90": k
41632
41634
  })
41633
41635
  }
41634
41636
  ) }),
@@ -41639,7 +41641,7 @@ const KY = ({
41639
41641
  /* @__PURE__ */ T.jsx(
41640
41642
  Dh,
41641
41643
  {
41642
- as: Bi.ul,
41644
+ as: Vi.ul,
41643
41645
  className: z(
41644
41646
  "customScrollbar-y absolute left-0 top-full z-10 mt-1",
41645
41647
  "max-h-[264px] w-full overflow-y-auto bg-color-white",
@@ -41649,20 +41651,20 @@ const KY = ({
41649
41651
  initial: { opacity: 0, translateY: 10 },
41650
41652
  animate: { opacity: 1, translateY: 0 },
41651
41653
  exit: { opacity: 0, translateY: 10 },
41652
- children: w.length ? w.map((R, V) => /* @__PURE__ */ T.jsx(
41654
+ children: w.length ? w.map((O, P) => /* @__PURE__ */ T.jsx(
41653
41655
  qY,
41654
41656
  {
41655
- option: R,
41657
+ option: O,
41656
41658
  isMulti: n,
41657
41659
  classes: x,
41658
41660
  displayValue: a,
41659
41661
  motionProps: {
41660
41662
  initial: { opacity: 0 },
41661
41663
  animate: { opacity: 1 },
41662
- transition: { delay: V / 25 }
41664
+ transition: { delay: P / 25 }
41663
41665
  }
41664
41666
  },
41665
- R.value
41667
+ O.value
41666
41668
  )) : /* @__PURE__ */ T.jsx("p", { className: "py-4 text-center align-middle", children: "Ничего не найдено" })
41667
41669
  }
41668
41670
  )
@@ -42102,9 +42104,9 @@ const bn = {
42102
42104
  )
42103
42105
  }
42104
42106
  ),
42105
- /* @__PURE__ */ T.jsx(Qi.Option, { isSelected: t, ...n })
42107
+ /* @__PURE__ */ T.jsx(eo.Option, { isSelected: t, ...n })
42106
42108
  ] });
42107
- }, u6 = ({ classes: t, ...e }) => /* @__PURE__ */ T.jsx(Qi.DropdownIndicator, { ...e, children: /* @__PURE__ */ T.jsx(
42109
+ }, u6 = ({ classes: t, ...e }) => /* @__PURE__ */ T.jsx(eo.DropdownIndicator, { ...e, children: /* @__PURE__ */ T.jsx(
42108
42110
  Be,
42109
42111
  {
42110
42112
  name: "arrows/arrowRight",
@@ -42114,7 +42116,7 @@ const bn = {
42114
42116
  t == null ? void 0 : t.indicatorIcon
42115
42117
  )
42116
42118
  }
42117
- ) }), c6 = ({ classes: t, ...e }) => /* @__PURE__ */ T.jsx(Qi.MultiValueRemove, { ...e, children: /* @__PURE__ */ T.jsx(Be, { name: "general/close", className: z("size-4 text-icon-blue-grey-800", t == null ? void 0 : t.multiRemoveIcon) }) }), d6 = ({
42119
+ ) }), c6 = ({ classes: t, ...e }) => /* @__PURE__ */ T.jsx(eo.MultiValueRemove, { ...e, children: /* @__PURE__ */ T.jsx(Be, { name: "general/close", className: z("size-4 text-icon-blue-grey-800", t == null ? void 0 : t.multiRemoveIcon) }) }), d6 = ({
42118
42120
  options: t,
42119
42121
  control: e,
42120
42122
  defaultValue: n,
@@ -42227,7 +42229,7 @@ const bn = {
42227
42229
  ...n
42228
42230
  }) => {
42229
42231
  const r = f6;
42230
- return /* @__PURE__ */ T.jsx($i.AutocompleteControl, { query: (i) => r(i, e), formatter: t, ...n });
42232
+ return /* @__PURE__ */ T.jsx(Xi.AutocompleteControl, { query: (i) => r(i, e), formatter: t, ...n });
42231
42233
  }, m6 = (t, e, n) => Uo({
42232
42234
  queryKey: ["address", t],
42233
42235
  queryFn: async () => {
@@ -42254,7 +42256,7 @@ const bn = {
42254
42256
  ...n
42255
42257
  }) => {
42256
42258
  const r = m6;
42257
- return /* @__PURE__ */ T.jsx($i.AutocompleteControl, { query: (i) => r(i, e), formatter: t, ...n });
42259
+ return /* @__PURE__ */ T.jsx(Xi.AutocompleteControl, { query: (i) => r(i, e), formatter: t, ...n });
42258
42260
  }, v6 = (t, e, n) => Uo({
42259
42261
  queryKey: ["auto", t],
42260
42262
  queryFn: async () => {
@@ -42281,7 +42283,7 @@ const bn = {
42281
42283
  ...n
42282
42284
  }) => {
42283
42285
  const r = v6;
42284
- return /* @__PURE__ */ T.jsx($i.AutocompleteControl, { query: (i) => r(i, e), formatter: t, ...n });
42286
+ return /* @__PURE__ */ T.jsx(Xi.AutocompleteControl, { query: (i) => r(i, e), formatter: t, ...n });
42285
42287
  }, C6 = (t, e, n) => Uo({
42286
42288
  queryKey: ["country", t],
42287
42289
  queryFn: async () => {
@@ -42308,7 +42310,7 @@ const bn = {
42308
42310
  ...n
42309
42311
  }) => {
42310
42312
  const r = C6;
42311
- return /* @__PURE__ */ T.jsx($i.AutocompleteControl, { query: (i) => r(i, e), formatter: t, ...n });
42313
+ return /* @__PURE__ */ T.jsx(Xi.AutocompleteControl, { query: (i) => r(i, e), formatter: t, ...n });
42312
42314
  }, k6 = (t, e, n) => Uo({
42313
42315
  queryKey: ["fio", t],
42314
42316
  queryFn: async () => {
@@ -42335,7 +42337,7 @@ const bn = {
42335
42337
  ...n
42336
42338
  }) => {
42337
42339
  const r = k6;
42338
- return /* @__PURE__ */ T.jsx($i.AutocompleteControl, { query: (i) => r(i, e), formatter: t, ...n });
42340
+ return /* @__PURE__ */ T.jsx(Xi.AutocompleteControl, { query: (i) => r(i, e), formatter: t, ...n });
42339
42341
  }, T6 = "##.##.####", A6 = /^(\d{2})\.(\d{2})\.(\d{4})$/;
42340
42342
  function M6(t, e) {
42341
42343
  switch (t) {
@@ -42788,7 +42790,7 @@ const _6 = ({
42788
42790
  }
42789
42791
  )
42790
42792
  ] });
42791
- }, X6 = nr($6), $i = {
42793
+ }, X6 = nr($6), Xi = {
42792
42794
  InputControl: F6,
42793
42795
  MaskInputControl: B6,
42794
42796
  DayPickerControl: R6,
@@ -42814,7 +42816,7 @@ export {
42814
42816
  S1 as Calendar,
42815
42817
  CZ as CheckboxControl,
42816
42818
  DZ as ComboboxControl,
42817
- $i as Controlled,
42819
+ Xi as Controlled,
42818
42820
  HZ as CustomLink,
42819
42821
  Ta as DATE_VISIBLE_PATTERN,
42820
42822
  OZ as DadataAddress,
@@ -42852,7 +42854,7 @@ export {
42852
42854
  bn as Uncontrolled,
42853
42855
  BZ as UploaderControl,
42854
42856
  YZ as brandLogos,
42855
- ro as defaultClassNames,
42857
+ si as defaultClassNames,
42856
42858
  Bc as formatDateToLocaleString,
42857
42859
  w1 as formatDateToMonthString,
42858
42860
  C1 as formatDateToYearString